{"version":3,"sources":["vendor/ember-cli/vendor-prefix.js","vendor/loader/loader.js","vendor/jquery/jquery.js","license.js","loader.js","@ember/-internals/bootstrap/index.js","@ember/-internals/browser-environment/index.js","@ember/-internals/console/index.js","@ember/-internals/container/index.js","@ember/-internals/environment/index.js","@ember/-internals/error-handling/index.js","@ember/-internals/extension-support/index.js","@ember/-internals/extension-support/lib/container_debug_adapter.js","@ember/-internals/extension-support/lib/data_adapter.js","@ember/-internals/glimmer/index.js","@ember/-internals/meta/index.js","@ember/-internals/meta/lib/meta.js","@ember/-internals/metal/index.js","@ember/-internals/overrides/index.js","@ember/-internals/owner/index.js","@ember/-internals/routing/index.js","@ember/-internals/routing/lib/ext/controller.js","@ember/-internals/routing/lib/location/api.js","@ember/-internals/routing/lib/location/auto_location.js","@ember/-internals/routing/lib/location/hash_location.js","@ember/-internals/routing/lib/location/history_location.js","@ember/-internals/routing/lib/location/none_location.js","@ember/-internals/routing/lib/location/util.js","@ember/-internals/routing/lib/services/router.js","@ember/-internals/routing/lib/services/routing.js","@ember/-internals/routing/lib/system/cache.js","@ember/-internals/routing/lib/system/controller_for.js","@ember/-internals/routing/lib/system/dsl.js","@ember/-internals/routing/lib/system/engines.js","@ember/-internals/routing/lib/system/generate_controller.js","@ember/-internals/routing/lib/system/query_params.js","@ember/-internals/routing/lib/system/route-info.js","@ember/-internals/routing/lib/system/route.js","@ember/-internals/routing/lib/system/router.js","@ember/-internals/routing/lib/system/router_state.js","@ember/-internals/routing/lib/system/transition.js","@ember/-internals/routing/lib/utils.js","@ember/-internals/runtime/index.js","@ember/-internals/runtime/lib/compare.js","@ember/-internals/runtime/lib/copy.js","@ember/-internals/runtime/lib/ext/function.js","@ember/-internals/runtime/lib/ext/rsvp.js","@ember/-internals/runtime/lib/is-equal.js","@ember/-internals/runtime/lib/mixins/-proxy.js","@ember/-internals/runtime/lib/mixins/action_handler.js","@ember/-internals/runtime/lib/mixins/array.js","@ember/-internals/runtime/lib/mixins/comparable.js","@ember/-internals/runtime/lib/mixins/container_proxy.js","@ember/-internals/runtime/lib/mixins/copyable.js","@ember/-internals/runtime/lib/mixins/enumerable.js","@ember/-internals/runtime/lib/mixins/evented.js","@ember/-internals/runtime/lib/mixins/mutable_enumerable.js","@ember/-internals/runtime/lib/mixins/observable.js","@ember/-internals/runtime/lib/mixins/promise_proxy.js","@ember/-internals/runtime/lib/mixins/registry_proxy.js","@ember/-internals/runtime/lib/mixins/target_action_support.js","@ember/-internals/runtime/lib/system/array_proxy.js","@ember/-internals/runtime/lib/system/core_object.js","@ember/-internals/runtime/lib/system/namespace.js","@ember/-internals/runtime/lib/system/object.js","@ember/-internals/runtime/lib/system/object_proxy.js","@ember/-internals/runtime/lib/type-of.js","@ember/-internals/utils/index.js","@ember/-internals/views/index.js","@ember/-internals/views/lib/compat/attrs.js","@ember/-internals/views/lib/compat/fallback-view-registry.js","@ember/-internals/views/lib/component_lookup.js","@ember/-internals/views/lib/mixins/action_support.js","@ember/-internals/views/lib/mixins/child_views_support.js","@ember/-internals/views/lib/mixins/class_names_support.js","@ember/-internals/views/lib/mixins/text_support.js","@ember/-internals/views/lib/mixins/view_state_support.js","@ember/-internals/views/lib/mixins/view_support.js","@ember/-internals/views/lib/system/action_manager.js","@ember/-internals/views/lib/system/event_dispatcher.js","@ember/-internals/views/lib/system/jquery.js","@ember/-internals/views/lib/system/jquery_event_deprecation.js","@ember/-internals/views/lib/system/utils.js","@ember/-internals/views/lib/views/core_view.js","@ember/-internals/views/lib/views/states.js","@ember/-internals/views/lib/views/states/default.js","@ember/-internals/views/lib/views/states/destroying.js","@ember/-internals/views/lib/views/states/has_element.js","@ember/-internals/views/lib/views/states/in_dom.js","@ember/-internals/views/lib/views/states/pre_render.js","@ember/application/deprecations.js","@ember/application/globals-resolver.js","@ember/application/index.js","@ember/application/instance.js","@ember/application/lib/application.js","@ember/application/lib/lazy_load.js","@ember/application/namespace.js","@ember/application/resolver.js","@ember/array/index.js","@ember/array/mutable.js","@ember/array/proxy.js","@ember/canary-features/index.js","@ember/component/checkbox.js","@ember/component/helper.js","@ember/component/index.js","@ember/component/template-only.js","@ember/component/text-area.js","@ember/component/text-field.js","@ember/controller/index.js","@ember/controller/lib/controller_mixin.js","@ember/debug/container-debug-adapter.js","@ember/debug/data-adapter.js","@ember/debug/index.js","@ember/debug/lib/capture-render-tree.js","@ember/debug/lib/deprecate.js","@ember/debug/lib/handlers.js","@ember/debug/lib/testing.js","@ember/debug/lib/warn.js","@ember/deprecated-features/index.js","@ember/destroyable/index.js","@ember/engine/index.js","@ember/engine/instance.js","@ember/engine/lib/engine-parent.js","@ember/enumerable/index.js","@ember/error/index.js","@ember/helper/index.js","@ember/instrumentation/index.js","@ember/modifier/index.js","@ember/object/compat.js","@ember/object/computed.js","@ember/object/core.js","@ember/object/evented.js","@ember/object/events.js","@ember/object/index.js","@ember/object/internals.js","@ember/object/lib/computed/computed_macros.js","@ember/object/lib/computed/reduce_computed_macros.js","@ember/object/mixin.js","@ember/object/observable.js","@ember/object/observers.js","@ember/object/promise-proxy-mixin.js","@ember/object/proxy.js","@ember/polyfills/index.js","@ember/polyfills/lib/assign.js","@ember/polyfills/lib/merge.js","@ember/routing/auto-location.js","@ember/routing/hash-location.js","@ember/routing/history-location.js","@ember/routing/index.js","@ember/routing/link-component.js","@ember/routing/location.js","@ember/routing/none-location.js","@ember/routing/route.js","@ember/routing/router.js","@ember/runloop/index.js","@ember/service/index.js","@ember/string/index.js","@ember/string/lib/string_registry.js","@ember/template-compilation/index.js","@ember/template-factory/index.js","@ember/template/index.js","@ember/test/adapter.js","@ember/test/index.js","@ember/utils/index.js","@ember/version/index.js","@glimmer/destroyable.js","@glimmer/encoder.js","@glimmer/env.js","@glimmer/global-context.js","@glimmer/low-level.js","@glimmer/manager.js","@glimmer/node.js","@glimmer/opcode-compiler.js","@glimmer/owner.js","@glimmer/program.js","@glimmer/reference.js","@glimmer/runtime.js","@glimmer/tracking/index.js","@glimmer/tracking/primitives/cache.js","@glimmer/util.js","@glimmer/validator.js","@glimmer/vm.js","@glimmer/wire-format.js","@simple-dom/document.js","backburner.js","dag-map.js","ember-babel.js","ember-testing/index.js","ember-testing/lib/adapters/adapter.js","ember-testing/lib/adapters/qunit.js","ember-testing/lib/events.js","ember-testing/lib/ext/application.js","ember-testing/lib/ext/rsvp.js","ember-testing/lib/helpers.js","ember-testing/lib/helpers/-is-form-control.js","ember-testing/lib/helpers/and_then.js","ember-testing/lib/helpers/click.js","ember-testing/lib/helpers/current_path.js","ember-testing/lib/helpers/current_route_name.js","ember-testing/lib/helpers/current_url.js","ember-testing/lib/helpers/fill_in.js","ember-testing/lib/helpers/find.js","ember-testing/lib/helpers/find_with_assert.js","ember-testing/lib/helpers/key_event.js","ember-testing/lib/helpers/pause_test.js","ember-testing/lib/helpers/trigger_event.js","ember-testing/lib/helpers/visit.js","ember-testing/lib/helpers/wait.js","ember-testing/lib/initializers.js","ember-testing/lib/setup_for_testing.js","ember-testing/lib/support.js","ember-testing/lib/test.js","ember-testing/lib/test/adapter.js","ember-testing/lib/test/helpers.js","ember-testing/lib/test/on_inject_helpers.js","ember-testing/lib/test/pending_requests.js","ember-testing/lib/test/promise.js","ember-testing/lib/test/run.js","ember-testing/lib/test/waiters.js","ember/index.js","ember/version.js","jquery/index.js","route-recognizer.js","router_js.js","rsvp.js","vendor/shims/jquery.js","vendor/jquery/component.dollar.js","vendor/chart.js/Chart.js","vendor/ember-fetch.js","node_modules/froala-editor/js/froala_editor.min.js","vendor/shims/froala-editor.js","node_modules/froala-editor/js/plugins/align.min.js","node_modules/froala-editor/js/plugins/char_counter.min.js","node_modules/froala-editor/js/plugins/code_beautifier.min.js","node_modules/froala-editor/js/plugins/code_view.min.js","node_modules/froala-editor/js/plugins/colors.min.js","node_modules/froala-editor/js/plugins/draggable.min.js","node_modules/froala-editor/js/plugins/edit_in_popup.min.js","node_modules/froala-editor/js/plugins/emoticons.min.js","node_modules/froala-editor/js/plugins/entities.min.js","node_modules/froala-editor/js/plugins/file.min.js","node_modules/froala-editor/js/plugins/font_family.min.js","node_modules/froala-editor/js/plugins/font_size.min.js","node_modules/froala-editor/js/plugins/forms.min.js","node_modules/froala-editor/js/plugins/fullscreen.min.js","node_modules/froala-editor/js/plugins/help.min.js","node_modules/froala-editor/js/plugins/image.min.js","node_modules/froala-editor/js/plugins/image_manager.min.js","node_modules/froala-editor/js/plugins/inline_class.min.js","node_modules/froala-editor/js/plugins/inline_style.min.js","node_modules/froala-editor/js/plugins/line_breaker.min.js","node_modules/froala-editor/js/plugins/line_height.min.js","node_modules/froala-editor/js/plugins/link.min.js","node_modules/froala-editor/js/plugins/lists.min.js","node_modules/froala-editor/js/plugins/paragraph_format.min.js","node_modules/froala-editor/js/plugins/paragraph_style.min.js","node_modules/froala-editor/js/plugins/print.min.js","node_modules/froala-editor/js/plugins/quick_insert.min.js","node_modules/froala-editor/js/plugins/quote.min.js","node_modules/froala-editor/js/plugins/save.min.js","node_modules/froala-editor/js/plugins/special_characters.min.js","node_modules/froala-editor/js/plugins/table.min.js","node_modules/froala-editor/js/plugins/url.min.js","node_modules/froala-editor/js/plugins/video.min.js","node_modules/froala-editor/js/plugins/word_paste.min.js","node_modules/froala-editor/js/third_party/embedly.min.js","node_modules/froala-editor/js/languages/zh_tw.js","vendor/lodash/fp.js","node_modules/moment/moment.js","../../engine.io-parser/build/esm/commons.js","../../engine.io-parser/build/esm/encodePacket.browser.js","../../engine.io-parser/build/esm/contrib/base64-arraybuffer.js","../../engine.io-parser/build/esm/decodePacket.browser.js","../../engine.io-parser/build/esm/index.js","../../socket.io-component-emitter/lib/esm/index.js","../../engine.io-client/build/esm/globals.js","../../engine.io-client/build/esm/util.js","../../engine.io-client/build/esm/contrib/parseqs.js","../../engine.io-client/build/esm/transport.js","../../engine.io-client/build/esm/transports/polling.js","../../engine.io-client/build/esm/contrib/has-cors.js","../../engine.io-client/build/esm/transports/polling-xhr.js","../../engine.io-client/build/esm/transports/websocket.js","../../engine.io-client/build/esm/transports/webtransport.js","../../engine.io-client/build/esm/transports/index.js","../../engine.io-client/build/esm/contrib/parseuri.js","../../engine.io-client/build/esm/socket.js","../../engine.io-client/build/esm/index.js","../../../node_modules/ms/index.js","../node_modules/debug/src/common.js","../node_modules/debug/src/browser.js","../build/esm-debug/url.js","../../socket.io-parser/build/esm/is-binary.js","../../socket.io-parser/build/esm/binary.js","../../socket.io-parser/build/esm/index.js","../build/esm-debug/on.js","../build/esm-debug/socket.js","../build/esm-debug/contrib/backo2.js","../build/esm-debug/manager.js","../build/esm-debug/index.js","node_modules/moment-timezone/moment-timezone.js","node_modules/store2/dist/store2.js","node_modules/jwt-decode/build/jwt-decode.min.js","node_modules/big.js/big.js","node_modules/pikaday/pikaday.js","node_modules/uploadcare-widget/uploadcare.js","node_modules/xlsx/dist/xlsx.full.min.js","../src/FileSaver.js","node_modules/expr-eval/dist/bundle.min.js","vendor/color-picker.min.js","webpack://grapesjs/webpack/universalModuleDefinition","webpack://grapesjs/./node_modules/@babel/runtime/regenerator/index.js","webpack://grapesjs/./node_modules/backbone-undo/Backbone.Undo.js","webpack://grapesjs/./node_modules/backbone/backbone.js","webpack://grapesjs/./node_modules/codemirror-formatting/formatting.js","webpack://grapesjs/./node_modules/codemirror/lib/codemirror.js","webpack://grapesjs/./node_modules/codemirror/mode/css/css.js","webpack://grapesjs/./node_modules/codemirror/mode/htmlmixed/htmlmixed.js","webpack://grapesjs/./node_modules/codemirror/mode/javascript/javascript.js","webpack://grapesjs/./node_modules/codemirror/mode/xml/xml.js","webpack://grapesjs/./src/asset_manager/config/config.js","webpack://grapesjs/./src/asset_manager/model/Asset.js","webpack://grapesjs/./src/asset_manager/model/AssetImage.js","webpack://grapesjs/./src/asset_manager/view/AssetView.js","webpack://grapesjs/./src/asset_manager/view/AssetImageView.js","webpack://grapesjs/./src/asset_manager/model/Assets.js","webpack://grapesjs/./src/asset_manager/view/AssetsView.js","webpack://grapesjs/./src/asset_manager/view/FileUploader.js","webpack://grapesjs/./src/asset_manager/index.js","webpack://grapesjs/./src/block_manager/config/config.js","webpack://grapesjs/./src/block_manager/model/Block.js","webpack://grapesjs/./src/block_manager/model/Blocks.js","webpack://grapesjs/./src/block_manager/model/Category.js","webpack://grapesjs/./src/block_manager/model/Categories.js","webpack://grapesjs/./src/block_manager/view/BlockView.js","webpack://grapesjs/./src/block_manager/view/CategoryView.js","webpack://grapesjs/./src/block_manager/view/BlocksView.js","webpack://grapesjs/./src/block_manager/index.js","webpack://grapesjs/./src/canvas/config/config.js","webpack://grapesjs/./src/canvas/model/Canvas.js","webpack://grapesjs/./src/utils/Droppable.js","webpack://grapesjs/./src/canvas/view/FrameView.js","webpack://grapesjs/./src/canvas/view/FrameWrapView.js","webpack://grapesjs/./src/canvas/view/FramesView.js","webpack://grapesjs/./src/canvas/view/CanvasView.js","webpack://grapesjs/./src/canvas/index.js","webpack://grapesjs/./src/canvas/model/Frame.js","webpack://grapesjs/./src/canvas/model/Frames.js","webpack://grapesjs/./src/code_manager/config/config.js","webpack://grapesjs/./src/code_manager/model/HtmlGenerator.js","webpack://grapesjs/./src/code_manager/model/JsonGenerator.js","webpack://grapesjs/./src/code_manager/model/JsGenerator.js","webpack://grapesjs/./src/code_manager/model/CodeMirrorEditor.js","webpack://grapesjs/./src/code_manager/view/EditorView.js","webpack://grapesjs/./src/code_manager/index.js","webpack://grapesjs/./src/code_manager/model/CssGenerator.js","webpack://grapesjs/./src/commands/config/config.js","webpack://grapesjs/./src/commands/index.js","webpack://grapesjs/./src/commands/view/CanvasClear.js","webpack://grapesjs/./src/commands/view/CanvasMove.js","webpack://grapesjs/./src/commands/view/CommandAbstract.js","webpack://grapesjs/./src/commands/view/ComponentDelete.js","webpack://grapesjs/./src/commands/view/ComponentDrag.js","webpack://grapesjs/./src/commands/view/ComponentEnter.js","webpack://grapesjs/./src/commands/view/ComponentExit.js","webpack://grapesjs/./src/commands/view/ComponentNext.js","webpack://grapesjs/./src/commands/view/ComponentPrev.js","webpack://grapesjs/./src/commands/view/ComponentStyleClear.js","webpack://grapesjs/./src/commands/view/CopyComponent.js","webpack://grapesjs/./src/commands/view/DeleteComponent.js","webpack://grapesjs/./src/commands/view/ExportTemplate.js","webpack://grapesjs/./src/commands/view/Fullscreen.js","webpack://grapesjs/./src/commands/view/MoveComponent.js","webpack://grapesjs/./src/commands/view/OpenAssets.js","webpack://grapesjs/./src/commands/view/OpenBlocks.js","webpack://grapesjs/./src/commands/view/OpenLayers.js","webpack://grapesjs/./src/commands/view/OpenStyleManager.js","webpack://grapesjs/./src/commands/view/OpenTraitManager.js","webpack://grapesjs/./src/commands/view/PasteComponent.js","webpack://grapesjs/./src/commands/view/Preview.js","webpack://grapesjs/./src/commands/view/Resize.js","webpack://grapesjs/./src/dom_components/view/ToolbarButtonView.js","webpack://grapesjs/./src/dom_components/view/ToolbarView.js","webpack://grapesjs/./src/dom_components/model/ToolbarButton.js","webpack://grapesjs/./src/dom_components/model/Toolbar.js","webpack://grapesjs/./src/commands/view/SelectComponent.js","webpack://grapesjs/./src/commands/view/SelectPosition.js","webpack://grapesjs/./src/commands/view/ShowOffset.js","webpack://grapesjs/./src/commands/view/SwitchVisibility.js","webpack://grapesjs/./src/common/module.js","webpack://grapesjs/./src/css_composer/config/config.js","webpack://grapesjs/./src/css_composer/model/CssRule.js","webpack://grapesjs/./src/css_composer/model/CssRules.js","webpack://grapesjs/./src/css_composer/index.js","webpack://grapesjs/./src/css_composer/view/CssRuleView.js","webpack://grapesjs/./src/css_composer/view/CssGroupRuleView.js","webpack://grapesjs/./src/css_composer/view/CssRulesView.js","webpack://grapesjs/./src/device_manager/config/config.js","webpack://grapesjs/./src/device_manager/model/Device.js","webpack://grapesjs/./src/device_manager/model/Devices.js","webpack://grapesjs/./src/device_manager/view/DevicesView.js","webpack://grapesjs/./src/device_manager/index.js","webpack://grapesjs/./src/dom_components/config/config.js","webpack://grapesjs/./src/dom_components/view/ComponentWrapperView.js","webpack://grapesjs/./src/dom_components/model/ComponentTableCell.js","webpack://grapesjs/./src/dom_components/view/ComponentTableCellView.js","webpack://grapesjs/./src/dom_components/model/ComponentTableRow.js","webpack://grapesjs/./src/dom_components/view/ComponentTableRowView.js","webpack://grapesjs/./src/dom_components/model/ComponentTable.js","webpack://grapesjs/./src/dom_components/view/ComponentTableView.js","webpack://grapesjs/./src/dom_components/model/ComponentTableBody.js","webpack://grapesjs/./src/dom_components/model/ComponentTableHead.js","webpack://grapesjs/./src/dom_components/view/ComponentTableHeadView.js","webpack://grapesjs/./src/dom_components/view/ComponentTableBodyView.js","webpack://grapesjs/./src/dom_components/model/ComponentTableFoot.js","webpack://grapesjs/./src/dom_components/view/ComponentTableFootView.js","webpack://grapesjs/./src/dom_components/model/ComponentImage.js","webpack://grapesjs/./src/dom_components/model/ComponentMap.js","webpack://grapesjs/./src/dom_components/view/ComponentImageView.js","webpack://grapesjs/./src/dom_components/view/ComponentMapView.js","webpack://grapesjs/./src/dom_components/model/ComponentText.js","webpack://grapesjs/./src/dom_components/model/ComponentLink.js","webpack://grapesjs/./src/dom_components/view/ComponentTextView.js","webpack://grapesjs/./src/dom_components/view/ComponentLinkView.js","webpack://grapesjs/./src/dom_components/model/ComponentLabel.js","webpack://grapesjs/./src/dom_components/view/ComponentLabelView.js","webpack://grapesjs/./src/dom_components/model/ComponentVideo.js","webpack://grapesjs/./src/dom_components/view/ComponentVideoView.js","webpack://grapesjs/./src/dom_components/model/ComponentScript.js","webpack://grapesjs/./src/dom_components/view/ComponentScriptView.js","webpack://grapesjs/./src/dom_components/model/ComponentSvg.js","webpack://grapesjs/./src/dom_components/model/ComponentSvgIn.js","webpack://grapesjs/./src/dom_components/view/ComponentSvgView.js","webpack://grapesjs/./src/dom_components/model/ComponentTextNode.js","webpack://grapesjs/./src/dom_components/model/ComponentComment.js","webpack://grapesjs/./src/dom_components/view/ComponentTextNodeView.js","webpack://grapesjs/./src/dom_components/view/ComponentCommentView.js","webpack://grapesjs/./src/dom_components/model/ComponentWrapper.js","webpack://grapesjs/./src/dom_components/model/ComponentFrame.js","webpack://grapesjs/./src/dom_components/view/ComponentFrameView.js","webpack://grapesjs/./src/dom_components/index.js","webpack://grapesjs/./src/trait_manager/model/Trait.js","webpack://grapesjs/./src/trait_manager/model/Traits.js","webpack://grapesjs/./src/trait_manager/model/TraitFactory.js","webpack://grapesjs/./src/dom_components/model/Component.js","webpack://grapesjs/./src/dom_components/model/Components.js","webpack://grapesjs/./src/dom_components/view/ComponentView.js","webpack://grapesjs/./src/dom_components/view/ComponentsView.js","webpack://grapesjs/./src/domain_abstract/model/Styleable.js","webpack://grapesjs/./src/domain_abstract/model/TypeableCollection.js","webpack://grapesjs/./src/domain_abstract/ui/Input.js","webpack://grapesjs/./src/domain_abstract/ui/InputColor.js","webpack://grapesjs/./src/utils/ColorPicker.js","webpack://grapesjs/./src/domain_abstract/ui/InputNumber.js","webpack://grapesjs/./src/domain_abstract/view/DomainViews.js","webpack://grapesjs/./src/i18n/locale/en.js","webpack://grapesjs/./src/i18n/config.js","webpack://grapesjs/./src/i18n/index.js","webpack://grapesjs/./src/utils/keymaster.js","webpack://grapesjs/./src/keymaps/index.js","webpack://grapesjs/./src/modal_dialog/config/config.js","webpack://grapesjs/./src/modal_dialog/model/Modal.js","webpack://grapesjs/./src/modal_dialog/view/ModalView.js","webpack://grapesjs/./src/modal_dialog/index.js","webpack://grapesjs/./src/navigator/config/config.js","webpack://grapesjs/./src/navigator/view/ItemView.js","webpack://grapesjs/./src/navigator/index.js","webpack://grapesjs/./src/navigator/view/ItemsView.js","webpack://grapesjs/./src/pages/model/Page.js","webpack://grapesjs/./src/pages/model/Pages.js","webpack://grapesjs/./src/pages/index.js","webpack://grapesjs/./src/panels/config/config.js","webpack://grapesjs/./src/panels/model/Panel.js","webpack://grapesjs/./src/panels/model/Panels.js","webpack://grapesjs/./src/panels/view/ButtonView.js","webpack://grapesjs/./src/panels/view/ButtonsView.js","webpack://grapesjs/./src/panels/view/PanelView.js","webpack://grapesjs/./src/panels/view/PanelsView.js","webpack://grapesjs/./src/panels/index.js","webpack://grapesjs/./src/panels/model/Button.js","webpack://grapesjs/./src/panels/model/Buttons.js","webpack://grapesjs/./src/parser/config/config.js","webpack://grapesjs/./src/parser/model/BrowserParserCss.js","webpack://grapesjs/./src/parser/model/ParserCss.js","webpack://grapesjs/./src/parser/index.js","webpack://grapesjs/./src/parser/model/BrowserParserHtml.js","webpack://grapesjs/./src/parser/model/ParserHtml.js","webpack://grapesjs/./src/rich_text_editor/model/RichTextEditor.js","webpack://grapesjs/./src/rich_text_editor/config/config.js","webpack://grapesjs/./src/rich_text_editor/index.js","webpack://grapesjs/./src/selector_manager/config/config.js","webpack://grapesjs/./src/selector_manager/model/State.js","webpack://grapesjs/./src/selector_manager/view/ClassTagView.js","webpack://grapesjs/./src/selector_manager/view/ClassTagsView.js","webpack://grapesjs/./src/selector_manager/index.js","webpack://grapesjs/./src/selector_manager/model/Selector.js","webpack://grapesjs/./src/selector_manager/model/Selectors.js","webpack://grapesjs/./src/storage_manager/config/config.js","webpack://grapesjs/./src/storage_manager/model/LocalStorage.js","webpack://grapesjs/./src/storage_manager/model/RemoteStorage.js","webpack://grapesjs/./src/storage_manager/index.js","webpack://grapesjs/./src/style_manager/config/config.js","webpack://grapesjs/./src/style_manager/model/Property.js","webpack://grapesjs/./src/style_manager/model/PropertyComposite.js","webpack://grapesjs/./src/style_manager/model/Layer.js","webpack://grapesjs/./src/style_manager/model/Layers.js","webpack://grapesjs/./src/style_manager/model/PropertyStack.js","webpack://grapesjs/./src/style_manager/view/PropertyView.js","webpack://grapesjs/./src/style_manager/view/PropertiesView.js","webpack://grapesjs/./src/style_manager/view/PropertyCompositeView.js","webpack://grapesjs/./src/style_manager/view/LayerView.js","webpack://grapesjs/./src/style_manager/view/LayersView.js","webpack://grapesjs/./src/style_manager/view/PropertyStackView.js","webpack://grapesjs/./src/style_manager/view/PropertyFileView.js","webpack://grapesjs/./src/style_manager/view/PropertyNumberView.js","webpack://grapesjs/./src/style_manager/view/PropertyColorView.js","webpack://grapesjs/./src/style_manager/model/PropertySelect.js","webpack://grapesjs/./src/style_manager/view/PropertySelectView.js","webpack://grapesjs/./src/style_manager/model/PropertyRadio.js","webpack://grapesjs/./src/style_manager/view/PropertyRadioView.js","webpack://grapesjs/./src/style_manager/model/PropertyNumber.js","webpack://grapesjs/./src/style_manager/model/PropertySlider.js","webpack://grapesjs/./src/style_manager/view/PropertySliderView.js","webpack://grapesjs/./src/style_manager/model/Properties.js","webpack://grapesjs/./src/style_manager/model/Sector.js","webpack://grapesjs/./src/style_manager/model/Sectors.js","webpack://grapesjs/./src/style_manager/model/PropertyFactory.js","webpack://grapesjs/./src/style_manager/view/SectorView.js","webpack://grapesjs/./src/style_manager/view/SectorsView.js","webpack://grapesjs/./src/style_manager/index.js","webpack://grapesjs/./src/trait_manager/config/config.js","webpack://grapesjs/./src/trait_manager/view/TraitView.js","webpack://grapesjs/./src/trait_manager/view/TraitsView.js","webpack://grapesjs/./src/trait_manager/view/TraitSelectView.js","webpack://grapesjs/./src/trait_manager/view/TraitCheckboxView.js","webpack://grapesjs/./src/trait_manager/view/TraitNumberView.js","webpack://grapesjs/./src/trait_manager/view/TraitColorView.js","webpack://grapesjs/./src/trait_manager/view/TraitButtonView.js","webpack://grapesjs/./src/trait_manager/index.js","webpack://grapesjs/./src/undo_manager/index.js","webpack://grapesjs/./src/utils/Dragger.js","webpack://grapesjs/./src/utils/cash-dom.js","webpack://grapesjs/./src/utils/dom.js","webpack://grapesjs/./node_modules/promise-polyfill/src/finally.js","webpack://grapesjs/./node_modules/promise-polyfill/src/allSettled.js","webpack://grapesjs/./node_modules/promise-polyfill/src/index.js","webpack://grapesjs/./src/utils/fetch.js","webpack://grapesjs/./src/utils/html.js","webpack://grapesjs/./src/utils/Sorter.js","webpack://grapesjs/./src/utils/Resizer.js","webpack://grapesjs/./src/utils/index.js","webpack://grapesjs/./src/utils/mixins.js","webpack://grapesjs/./node_modules/regenerator-runtime/runtime.js","webpack://grapesjs//Users/artur/Sites/grapes/src/commands/view|sync|/^\\.\\/.*$/","webpack://grapesjs/./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js","webpack://grapesjs/./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js","webpack://grapesjs/./node_modules/@babel/runtime/helpers/esm/classCallCheck.js","webpack://grapesjs/./node_modules/@babel/runtime/helpers/esm/createClass.js","webpack://grapesjs/./node_modules/@babel/runtime/helpers/esm/defineProperty.js","webpack://grapesjs/./node_modules/@babel/runtime/helpers/esm/getPrototypeOf.js","webpack://grapesjs/./node_modules/@babel/runtime/helpers/esm/setPrototypeOf.js","webpack://grapesjs/./node_modules/@babel/runtime/helpers/esm/inherits.js","webpack://grapesjs/./node_modules/@babel/runtime/helpers/esm/objectWithoutProperties.js","webpack://grapesjs/./node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","webpack://grapesjs/./node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn.js","webpack://grapesjs/./node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","webpack://grapesjs/./node_modules/@babel/runtime/helpers/esm/slicedToArray.js","webpack://grapesjs/./node_modules/@babel/runtime/helpers/esm/arrayWithHoles.js","webpack://grapesjs/./node_modules/@babel/runtime/helpers/esm/iterableToArrayLimit.js","webpack://grapesjs/./node_modules/@babel/runtime/helpers/esm/nonIterableRest.js","webpack://grapesjs/./node_modules/@babel/runtime/helpers/esm/taggedTemplateLiteral.js","webpack://grapesjs/./node_modules/@babel/runtime/helpers/esm/toConsumableArray.js","webpack://grapesjs/./node_modules/@babel/runtime/helpers/esm/arrayWithoutHoles.js","webpack://grapesjs/./node_modules/@babel/runtime/helpers/esm/iterableToArray.js","webpack://grapesjs/./node_modules/@babel/runtime/helpers/esm/nonIterableSpread.js","webpack://grapesjs/./node_modules/@babel/runtime/helpers/esm/typeof.js","webpack://grapesjs/./node_modules/@babel/runtime/helpers/esm/unsupportedIterableToArray.js","webpack://grapesjs/./node_modules/underscore/modules/_setup.js","webpack://grapesjs/./node_modules/underscore/modules/restArguments.js","webpack://grapesjs/./node_modules/underscore/modules/isObject.js","webpack://grapesjs/./node_modules/underscore/modules/isNull.js","webpack://grapesjs/./node_modules/underscore/modules/isUndefined.js","webpack://grapesjs/./node_modules/underscore/modules/isBoolean.js","webpack://grapesjs/./node_modules/underscore/modules/isElement.js","webpack://grapesjs/./node_modules/underscore/modules/_tagTester.js","webpack://grapesjs/./node_modules/underscore/modules/isString.js","webpack://grapesjs/./node_modules/underscore/modules/isNumber.js","webpack://grapesjs/./node_modules/underscore/modules/isDate.js","webpack://grapesjs/./node_modules/underscore/modules/isRegExp.js","webpack://grapesjs/./node_modules/underscore/modules/isError.js","webpack://grapesjs/./node_modules/underscore/modules/isSymbol.js","webpack://grapesjs/./node_modules/underscore/modules/isArrayBuffer.js","webpack://grapesjs/./node_modules/underscore/modules/isFunction.js","webpack://grapesjs/./node_modules/underscore/modules/_hasObjectTag.js","webpack://grapesjs/./node_modules/underscore/modules/_stringTagBug.js","webpack://grapesjs/./node_modules/underscore/modules/isDataView.js","webpack://grapesjs/./node_modules/underscore/modules/isArray.js","webpack://grapesjs/./node_modules/underscore/modules/_has.js","webpack://grapesjs/./node_modules/underscore/modules/isArguments.js","webpack://grapesjs/./node_modules/underscore/modules/isFinite.js","webpack://grapesjs/./node_modules/underscore/modules/isNaN.js","webpack://grapesjs/./node_modules/underscore/modules/constant.js","webpack://grapesjs/./node_modules/underscore/modules/_createSizePropertyCheck.js","webpack://grapesjs/./node_modules/underscore/modules/_shallowProperty.js","webpack://grapesjs/./node_modules/underscore/modules/_getByteLength.js","webpack://grapesjs/./node_modules/underscore/modules/_isBufferLike.js","webpack://grapesjs/./node_modules/underscore/modules/isTypedArray.js","webpack://grapesjs/./node_modules/underscore/modules/_getLength.js","webpack://grapesjs/./node_modules/underscore/modules/_collectNonEnumProps.js","webpack://grapesjs/./node_modules/underscore/modules/keys.js","webpack://grapesjs/./node_modules/underscore/modules/isEmpty.js","webpack://grapesjs/./node_modules/underscore/modules/isMatch.js","webpack://grapesjs/./node_modules/underscore/modules/underscore.js","webpack://grapesjs/./node_modules/underscore/modules/_toBufferView.js","webpack://grapesjs/./node_modules/underscore/modules/isEqual.js","webpack://grapesjs/./node_modules/underscore/modules/allKeys.js","webpack://grapesjs/./node_modules/underscore/modules/_methodFingerprint.js","webpack://grapesjs/./node_modules/underscore/modules/isMap.js","webpack://grapesjs/./node_modules/underscore/modules/isWeakMap.js","webpack://grapesjs/./node_modules/underscore/modules/isSet.js","webpack://grapesjs/./node_modules/underscore/modules/isWeakSet.js","webpack://grapesjs/./node_modules/underscore/modules/values.js","webpack://grapesjs/./node_modules/underscore/modules/pairs.js","webpack://grapesjs/./node_modules/underscore/modules/invert.js","webpack://grapesjs/./node_modules/underscore/modules/functions.js","webpack://grapesjs/./node_modules/underscore/modules/_createAssigner.js","webpack://grapesjs/./node_modules/underscore/modules/extend.js","webpack://grapesjs/./node_modules/underscore/modules/extendOwn.js","webpack://grapesjs/./node_modules/underscore/modules/defaults.js","webpack://grapesjs/./node_modules/underscore/modules/_baseCreate.js","webpack://grapesjs/./node_modules/underscore/modules/create.js","webpack://grapesjs/./node_modules/underscore/modules/clone.js","webpack://grapesjs/./node_modules/underscore/modules/tap.js","webpack://grapesjs/./node_modules/underscore/modules/toPath.js","webpack://grapesjs/./node_modules/underscore/modules/_toPath.js","webpack://grapesjs/./node_modules/underscore/modules/_deepGet.js","webpack://grapesjs/./node_modules/underscore/modules/get.js","webpack://grapesjs/./node_modules/underscore/modules/has.js","webpack://grapesjs/./node_modules/underscore/modules/identity.js","webpack://grapesjs/./node_modules/underscore/modules/matcher.js","webpack://grapesjs/./node_modules/underscore/modules/property.js","webpack://grapesjs/./node_modules/underscore/modules/_optimizeCb.js","webpack://grapesjs/./node_modules/underscore/modules/_baseIteratee.js","webpack://grapesjs/./node_modules/underscore/modules/iteratee.js","webpack://grapesjs/./node_modules/underscore/modules/_cb.js","webpack://grapesjs/./node_modules/underscore/modules/mapObject.js","webpack://grapesjs/./node_modules/underscore/modules/noop.js","webpack://grapesjs/./node_modules/underscore/modules/propertyOf.js","webpack://grapesjs/./node_modules/underscore/modules/times.js","webpack://grapesjs/./node_modules/underscore/modules/random.js","webpack://grapesjs/./node_modules/underscore/modules/now.js","webpack://grapesjs/./node_modules/underscore/modules/_createEscaper.js","webpack://grapesjs/./node_modules/underscore/modules/_escapeMap.js","webpack://grapesjs/./node_modules/underscore/modules/escape.js","webpack://grapesjs/./node_modules/underscore/modules/unescape.js","webpack://grapesjs/./node_modules/underscore/modules/_unescapeMap.js","webpack://grapesjs/./node_modules/underscore/modules/templateSettings.js","webpack://grapesjs/./node_modules/underscore/modules/template.js","webpack://grapesjs/./node_modules/underscore/modules/result.js","webpack://grapesjs/./node_modules/underscore/modules/uniqueId.js","webpack://grapesjs/./node_modules/underscore/modules/chain.js","webpack://grapesjs/./node_modules/underscore/modules/_executeBound.js","webpack://grapesjs/./node_modules/underscore/modules/partial.js","webpack://grapesjs/./node_modules/underscore/modules/bind.js","webpack://grapesjs/./node_modules/underscore/modules/_isArrayLike.js","webpack://grapesjs/./node_modules/underscore/modules/_flatten.js","webpack://grapesjs/./node_modules/underscore/modules/bindAll.js","webpack://grapesjs/./node_modules/underscore/modules/memoize.js","webpack://grapesjs/./node_modules/underscore/modules/delay.js","webpack://grapesjs/./node_modules/underscore/modules/defer.js","webpack://grapesjs/./node_modules/underscore/modules/throttle.js","webpack://grapesjs/./node_modules/underscore/modules/debounce.js","webpack://grapesjs/./node_modules/underscore/modules/wrap.js","webpack://grapesjs/./node_modules/underscore/modules/negate.js","webpack://grapesjs/./node_modules/underscore/modules/compose.js","webpack://grapesjs/./node_modules/underscore/modules/after.js","webpack://grapesjs/./node_modules/underscore/modules/before.js","webpack://grapesjs/./node_modules/underscore/modules/once.js","webpack://grapesjs/./node_modules/underscore/modules/findKey.js","webpack://grapesjs/./node_modules/underscore/modules/_createPredicateIndexFinder.js","webpack://grapesjs/./node_modules/underscore/modules/findIndex.js","webpack://grapesjs/./node_modules/underscore/modules/findLastIndex.js","webpack://grapesjs/./node_modules/underscore/modules/sortedIndex.js","webpack://grapesjs/./node_modules/underscore/modules/_createIndexFinder.js","webpack://grapesjs/./node_modules/underscore/modules/indexOf.js","webpack://grapesjs/./node_modules/underscore/modules/lastIndexOf.js","webpack://grapesjs/./node_modules/underscore/modules/find.js","webpack://grapesjs/./node_modules/underscore/modules/findWhere.js","webpack://grapesjs/./node_modules/underscore/modules/each.js","webpack://grapesjs/./node_modules/underscore/modules/map.js","webpack://grapesjs/./node_modules/underscore/modules/_createReduce.js","webpack://grapesjs/./node_modules/underscore/modules/reduce.js","webpack://grapesjs/./node_modules/underscore/modules/reduceRight.js","webpack://grapesjs/./node_modules/underscore/modules/filter.js","webpack://grapesjs/./node_modules/underscore/modules/reject.js","webpack://grapesjs/./node_modules/underscore/modules/every.js","webpack://grapesjs/./node_modules/underscore/modules/some.js","webpack://grapesjs/./node_modules/underscore/modules/contains.js","webpack://grapesjs/./node_modules/underscore/modules/invoke.js","webpack://grapesjs/./node_modules/underscore/modules/pluck.js","webpack://grapesjs/./node_modules/underscore/modules/where.js","webpack://grapesjs/./node_modules/underscore/modules/max.js","webpack://grapesjs/./node_modules/underscore/modules/min.js","webpack://grapesjs/./node_modules/underscore/modules/sample.js","webpack://grapesjs/./node_modules/underscore/modules/shuffle.js","webpack://grapesjs/./node_modules/underscore/modules/sortBy.js","webpack://grapesjs/./node_modules/underscore/modules/_group.js","webpack://grapesjs/./node_modules/underscore/modules/groupBy.js","webpack://grapesjs/./node_modules/underscore/modules/indexBy.js","webpack://grapesjs/./node_modules/underscore/modules/countBy.js","webpack://grapesjs/./node_modules/underscore/modules/partition.js","webpack://grapesjs/./node_modules/underscore/modules/toArray.js","webpack://grapesjs/./node_modules/underscore/modules/size.js","webpack://grapesjs/./node_modules/underscore/modules/_keyInObj.js","webpack://grapesjs/./node_modules/underscore/modules/pick.js","webpack://grapesjs/./node_modules/underscore/modules/omit.js","webpack://grapesjs/./node_modules/underscore/modules/initial.js","webpack://grapesjs/./node_modules/underscore/modules/first.js","webpack://grapesjs/./node_modules/underscore/modules/rest.js","webpack://grapesjs/./node_modules/underscore/modules/last.js","webpack://grapesjs/./node_modules/underscore/modules/compact.js","webpack://grapesjs/./node_modules/underscore/modules/flatten.js","webpack://grapesjs/./node_modules/underscore/modules/difference.js","webpack://grapesjs/./node_modules/underscore/modules/without.js","webpack://grapesjs/./node_modules/underscore/modules/uniq.js","webpack://grapesjs/./node_modules/underscore/modules/union.js","webpack://grapesjs/./node_modules/underscore/modules/intersection.js","webpack://grapesjs/./node_modules/underscore/modules/unzip.js","webpack://grapesjs/./node_modules/underscore/modules/zip.js","webpack://grapesjs/./node_modules/underscore/modules/object.js","webpack://grapesjs/./node_modules/underscore/modules/range.js","webpack://grapesjs/./node_modules/underscore/modules/chunk.js","webpack://grapesjs/./node_modules/underscore/modules/_chainResult.js","webpack://grapesjs/./node_modules/underscore/modules/mixin.js","webpack://grapesjs/./node_modules/underscore/modules/underscore-array-methods.js","webpack://grapesjs/./node_modules/underscore/modules/index-default.js","webpack://grapesjs/webpack/bootstrap","webpack://grapesjs/webpack/runtime/compat get default export","webpack://grapesjs/webpack/runtime/define property getters","webpack://grapesjs/webpack/runtime/global","webpack://grapesjs/webpack/runtime/hasOwnProperty shorthand","webpack://grapesjs/webpack/runtime/make namespace object","webpack://grapesjs/./src/editor/config/config.js","webpack://grapesjs/./src/editor/model/Selected.js","webpack://grapesjs/./src/editor/model/Editor.js","webpack://grapesjs/./src/utils/extender.js","webpack://grapesjs/./src/editor/view/EditorView.js","webpack://grapesjs/./src/editor/index.js","webpack://grapesjs/./src/plugin_manager/config/config.js","webpack://grapesjs/./src/utils/polyfills.js","webpack://grapesjs/./src/index.js","webpack://grapesjs/./src/plugin_manager/index.js","node_modules/bigordr-grapesjs-preset-webpage/dist/bigordr-grapesjs-preset-webpage.min.js","node_modules/grapesjs-lory-slider/dist/grapesjs-lory-slider.min.js","webpack://grapesjs-custom-code/webpack/universalModuleDefinition","webpack://grapesjs-custom-code/webpack/bootstrap","webpack://grapesjs-custom-code/./src/config.js","webpack://grapesjs-custom-code/./src/index.js","webpack://grapesjs-custom-code/./src/components.js","webpack://grapesjs-custom-code/./src/blocks.js","webpack://grapesjs-custom-code/./src/commands.js","node_modules/codemirror/lib/codemirror.js","node_modules/codemirror/mode/xml/xml.js","node_modules/ramda/dist/ramda.min.js","node_modules/ramda-adjunct/dist/RA.web.min.js","node_modules/ramda-extension/dist/ramda-extension.min.js","node_modules/tiny-slider/dist/tiny-slider.js","node_modules/handlebars/dist/handlebars.js","node_modules/qrjs2/js/qrjs2.js","node_modules/jsbarcode/dist/JsBarcode.all.js","node_modules/lite-youtube-embed/src/lite-yt-embed.js","addon-tree-output/@ember-data/adapter/-private.js","addon-tree-output/@ember-data/adapter/error.js","addon-tree-output/@ember-data/adapter/index.js","addon-tree-output/@ember-data/adapter/json-api.js","addon-tree-output/@ember-data/adapter/rest.js","addon-tree-output/@ember-data/canary-features/default-features.js","addon-tree-output/@ember-data/canary-features/index.js","addon-tree-output/@ember-data/debug/index.js","addon-tree-output/@ember-data/debug/setup.js","addon-tree-output/@ember-data/model/-private.js","addon-tree-output/@ember-data/model/index.js","addon-tree-output/@ember-data/private-build-infra/available-packages.js","addon-tree-output/@ember-data/private-build-infra/current-deprecations.js","addon-tree-output/@ember-data/private-build-infra/deprecations.js","addon-tree-output/@ember-data/private-build-infra/index.js","addon-tree-output/@ember-data/record-data/-private.js","addon-tree-output/@ember-data/serializer/-private.js","addon-tree-output/@ember-data/serializer/index.js","addon-tree-output/@ember-data/serializer/json-api.js","addon-tree-output/@ember-data/serializer/json.js","addon-tree-output/@ember-data/serializer/rest.js","addon-tree-output/@ember-data/serializer/transform.js","addon-tree-output/@ember-data/store/-debug/index.js","addon-tree-output/@ember-data/store/-private.js","addon-tree-output/@ember-data/store/index.js","addon-tree-output/@ember-decorators/utils/-private/class-field-descriptor.js","addon-tree-output/@ember-decorators/utils/collapse-proto.js","addon-tree-output/@ember-decorators/utils/decorator.js","addon-tree-output/@ember/render-modifiers/modifiers/did-insert.js","addon-tree-output/@ember/render-modifiers/modifiers/did-update.js","addon-tree-output/@ember/render-modifiers/modifiers/will-destroy.js","addon-tree-output/@ember/string/cache.js","addon-tree-output/@ember/string/index.js","addon-tree-output/@embroider/macros/es-compat2.js","addon-tree-output/@embroider/macros/runtime.js","addon-tree-output/@glimmer/component/-private/base-component-manager.js","addon-tree-output/@glimmer/component/-private/component.js","addon-tree-output/@glimmer/component/-private/destroyables.js","addon-tree-output/@glimmer/component/-private/ember-component-manager.js","addon-tree-output/@glimmer/component/-private/owner.js","addon-tree-output/@glimmer/component/index.js","addon-tree-output/@sentry/ember/index.js","addon-tree-output/@sentry/ember/instance-initializers/sentry-performance.js","addon-tree-output/@sentry/ember/types.js","addon-tree-output/ember-cached-decorator-polyfill/index.js","addon-tree-output/ember-cli-app-version/initializer-factory.js","addon-tree-output/ember-cli-app-version/utils/regexp.js","addon-tree-output/ember-cli-chart/components/ember-chart.js","addon-tree-output/ember-concurrency-decorators/index.js","addon-tree-output/ember-concurrency-decorators/last-value.js","addon-tree-output/ember-concurrency/-buffer-policy.js","addon-tree-output/ember-concurrency/-cancelable-promise-helpers.js","addon-tree-output/ember-concurrency/-encapsulated-task.js","addon-tree-output/ember-concurrency/-helpers.js","addon-tree-output/ember-concurrency/-property-modifiers-mixin.js","addon-tree-output/ember-concurrency/-scheduler.js","addon-tree-output/ember-concurrency/-task-group.js","addon-tree-output/ember-concurrency/-task-instance.js","addon-tree-output/ember-concurrency/-task-property.js","addon-tree-output/ember-concurrency/-task-state-mixin.js","addon-tree-output/ember-concurrency/-wait-for.js","addon-tree-output/ember-concurrency/helpers/cancel-all.js","addon-tree-output/ember-concurrency/helpers/perform.js","addon-tree-output/ember-concurrency/helpers/task.js","addon-tree-output/ember-concurrency/index.js","addon-tree-output/ember-concurrency/initializers/ember-concurrency.js","addon-tree-output/ember-concurrency/utils.js","addon-tree-output/ember-data/-private.js","addon-tree-output/ember-data/adapter.js","addon-tree-output/ember-data/adapters/errors.js","addon-tree-output/ember-data/adapters/json-api.js","addon-tree-output/ember-data/adapters/rest.js","addon-tree-output/ember-data/attr.js","addon-tree-output/ember-data/index.js","addon-tree-output/ember-data/model.js","addon-tree-output/ember-data/relationships.js","addon-tree-output/ember-data/serializer.js","addon-tree-output/ember-data/serializers/embedded-records-mixin.js","addon-tree-output/ember-data/serializers/json-api.js","addon-tree-output/ember-data/serializers/json.js","addon-tree-output/ember-data/serializers/rest.js","addon-tree-output/ember-data/setup-container.js","addon-tree-output/ember-data/store.js","addon-tree-output/ember-data/transform.js","addon-tree-output/ember-data/version.js","addon-tree-output/ember-fetch/errors.js","addon-tree-output/ember-fetch/types.js","addon-tree-output/ember-fetch/utils/determine-body-promise.js","addon-tree-output/ember-fetch/utils/mung-options-for-fetch.js","addon-tree-output/ember-fetch/utils/serialize-query-params.js","addon-tree-output/ember-froala-editor/components/froala-content.js","addon-tree-output/ember-froala-editor/components/froala-editor.js","addon-tree-output/ember-froala-editor/helpers/froala-arg.js","addon-tree-output/ember-froala-editor/helpers/froala-html.js","addon-tree-output/ember-froala-editor/helpers/froala-method.js","addon-tree-output/ember-froala-editor/helpers/html-safe.js","addon-tree-output/ember-froala-editor/helpers/merged-hash.js","addon-tree-output/ember-froala-editor/helpers/to-string.js","addon-tree-output/ember-in-viewport/-private/observer-admin.js","addon-tree-output/ember-in-viewport/-private/raf-admin.js","addon-tree-output/ember-in-viewport/breakpoints.js","addon-tree-output/ember-in-viewport/index.js","addon-tree-output/ember-in-viewport/initializers/viewport-config.js","addon-tree-output/ember-in-viewport/mixins/in-viewport.js","addon-tree-output/ember-in-viewport/modifiers/in-viewport.js","addon-tree-output/ember-in-viewport/services/-in-viewport.js","addon-tree-output/ember-in-viewport/services/in-viewport.js","addon-tree-output/ember-in-viewport/utils/can-use-dom.js","addon-tree-output/ember-in-viewport/utils/can-use-intersection-observer.js","addon-tree-output/ember-in-viewport/utils/can-use-raf.js","addon-tree-output/ember-in-viewport/utils/check-scroll-direction.js","addon-tree-output/ember-in-viewport/utils/find-elem.js","addon-tree-output/ember-in-viewport/utils/is-in-viewport.js","addon-tree-output/ember-inflector/index.js","addon-tree-output/ember-inflector/lib/helpers/pluralize.js","addon-tree-output/ember-inflector/lib/helpers/singularize.js","addon-tree-output/ember-inflector/lib/system.js","addon-tree-output/ember-inflector/lib/system/inflections.js","addon-tree-output/ember-inflector/lib/system/inflector.js","addon-tree-output/ember-inflector/lib/system/string.js","addon-tree-output/ember-inflector/lib/utils/make-helper.js","addon-tree-output/ember-intl/-private/empty-object.js","addon-tree-output/ember-intl/-private/formatters/-base.js","addon-tree-output/ember-intl/-private/formatters/format-date.js","addon-tree-output/ember-intl/-private/formatters/format-message.js","addon-tree-output/ember-intl/-private/formatters/format-number.js","addon-tree-output/ember-intl/-private/formatters/format-relative.js","addon-tree-output/ember-intl/-private/formatters/format-time.js","addon-tree-output/ember-intl/-private/formatters/index.js","addon-tree-output/ember-intl/-private/is-array-equal.js","addon-tree-output/ember-intl/-private/normalize-locale.js","addon-tree-output/ember-intl/adapters/default.js","addon-tree-output/ember-intl/helpers/-format-base.js","addon-tree-output/ember-intl/helpers/format-date.js","addon-tree-output/ember-intl/helpers/format-message.js","addon-tree-output/ember-intl/helpers/format-number.js","addon-tree-output/ember-intl/helpers/format-relative.js","addon-tree-output/ember-intl/helpers/format-time.js","addon-tree-output/ember-intl/helpers/t.js","addon-tree-output/ember-intl/hydrate.js","addon-tree-output/ember-intl/index.js","addon-tree-output/ember-intl/macros/index.js","addon-tree-output/ember-intl/macros/intl.js","addon-tree-output/ember-intl/macros/t.js","addon-tree-output/ember-intl/models/translation.js","addon-tree-output/ember-intl/services/intl.js","addon-tree-output/ember-intl/utils/get-dom.js","addon-tree-output/ember-intl/utils/links.js","addon-tree-output/ember-intl/utils/missing-message.js","addon-tree-output/ember-load-initializers/index.js","addon-tree-output/ember-modifier/-private/class/modifier-manager.js","addon-tree-output/ember-modifier/-private/class/modifier.js","addon-tree-output/ember-modifier/-private/compat.js","addon-tree-output/ember-modifier/-private/functional/modifier-manager.js","addon-tree-output/ember-modifier/-private/functional/modifier.js","addon-tree-output/ember-modifier/-private/interfaces.js","addon-tree-output/ember-modifier/-private/utils/symbol.js","addon-tree-output/ember-modifier/index.js","addon-tree-output/ember-on-resize-modifier/modifiers/on-resize.js","addon-tree-output/ember-require-module/index.js","addon-tree-output/ember-resize-observer-service/services/resize-observer.js","addon-tree-output/ember-resize-observer-service/utils/ignore-ro-error.js","addon-tree-output/ember-resolver/features.js","addon-tree-output/ember-resolver/index.js","addon-tree-output/ember-resolver/resolver.js","addon-tree-output/ember-resolver/resolvers/classic/container-debug-adapter.js","addon-tree-output/ember-resolver/resolvers/classic/index.js","addon-tree-output/ember-resolver/utils/class-factory.js","addon-tree-output/ember-sticky-element/components/sticky-element.js","addon-tree-output/ember-sticky-element/components/sticky-element/trigger.js","addon-tree-output/ember-sticky-element/templates/components/sticky-element.js","addon-tree-output/ember-test-waiters/build-waiter.js","addon-tree-output/ember-test-waiters/index.js","addon-tree-output/ember-test-waiters/noop-test-waiter.js","addon-tree-output/ember-test-waiters/test-waiter.js","addon-tree-output/ember-test-waiters/types/index.js","addon-tree-output/ember-test-waiters/wait-for-promise.js","addon-tree-output/ember-test-waiters/waiter-manager.js","addon-tree-output/ember-truth-helpers/helpers/and.js","addon-tree-output/ember-truth-helpers/helpers/equal.js","addon-tree-output/ember-truth-helpers/helpers/gt.js","addon-tree-output/ember-truth-helpers/helpers/gte.js","addon-tree-output/ember-truth-helpers/helpers/is-array.js","addon-tree-output/ember-truth-helpers/helpers/is-empty.js","addon-tree-output/ember-truth-helpers/helpers/is-equal.js","addon-tree-output/ember-truth-helpers/helpers/lt.js","addon-tree-output/ember-truth-helpers/helpers/lte.js","addon-tree-output/ember-truth-helpers/helpers/not-equal.js","addon-tree-output/ember-truth-helpers/helpers/not.js","addon-tree-output/ember-truth-helpers/helpers/or.js","addon-tree-output/ember-truth-helpers/helpers/xor.js","addon-tree-output/ember-truth-helpers/utils/truth-convert.js","addon-tree-output/ember-welcome-page/components/welcome-page.js","addon-tree-output/ember-welcome-page/templates/components/welcome-page.js","vendor/ember-cli/vendor-suffix.js"],"sourcesContent":["window.EmberENV = (function(EmberENV, extra) {\n  for (var key in extra) {\n    EmberENV[key] = extra[key];\n  }\n\n  return EmberENV;\n})(window.EmberENV || {}, {\"FEATURES\":{},\"EXTEND_PROTOTYPES\":{\"Date\":false},\"_APPLICATION_TEMPLATE_WRAPPER\":false,\"_DEFAULT_ASYNC_OBSERVERS\":true,\"_JQUERY_INTEGRATION\":true,\"_TEMPLATE_ONLY_GLIMMER_COMPONENTS\":true});\n\nvar runningTests = false;\n\n\n","var loader, define, requireModule, require, requirejs;\n\n(function (global) {\n  'use strict';\n\n  function dict() {\n    var obj = Object.create(null);\n    obj['__'] = undefined;\n    delete obj['__'];\n    return obj;\n  }\n\n  // Save off the original values of these globals, so we can restore them if someone asks us to\n  var oldGlobals = {\n    loader: loader,\n    define: define,\n    requireModule: requireModule,\n    require: require,\n    requirejs: requirejs\n  };\n\n  requirejs = require = requireModule = function (id) {\n    var pending = [];\n    var mod = findModule(id, '(require)', pending);\n\n    for (var i = pending.length - 1; i >= 0; i--) {\n      pending[i].exports();\n    }\n\n    return mod.module.exports;\n  };\n\n  loader = {\n    noConflict: function (aliases) {\n      var oldName, newName;\n\n      for (oldName in aliases) {\n        if (aliases.hasOwnProperty(oldName)) {\n          if (oldGlobals.hasOwnProperty(oldName)) {\n            newName = aliases[oldName];\n\n            global[newName] = global[oldName];\n            global[oldName] = oldGlobals[oldName];\n          }\n        }\n      }\n    },\n    // Option to enable or disable the generation of default exports\n    makeDefaultExport: true\n  };\n\n  var registry = dict();\n  var seen = dict();\n\n  var uuid = 0;\n\n  function unsupportedModule(length) {\n    throw new Error('an unsupported module was defined, expected `define(id, deps, module)` instead got: `' + length + '` arguments to define`');\n  }\n\n  var defaultDeps = ['require', 'exports', 'module'];\n\n  function Module(id, deps, callback, alias) {\n    this.uuid = uuid++;\n    this.id = id;\n    this.deps = !deps.length && callback.length ? defaultDeps : deps;\n    this.module = { exports: {} };\n    this.callback = callback;\n    this.hasExportsAsDep = false;\n    this.isAlias = alias;\n    this.reified = new Array(deps.length);\n\n    /*\n       Each module normally passes through these states, in order:\n         new       : initial state\n         pending   : this module is scheduled to be executed\n         reifying  : this module's dependencies are being executed\n         reified   : this module's dependencies finished executing successfully\n         errored   : this module's dependencies failed to execute\n         finalized : this module executed successfully\n     */\n    this.state = 'new';\n  }\n\n  Module.prototype.makeDefaultExport = function () {\n    var exports = this.module.exports;\n    if (exports !== null && (typeof exports === 'object' || typeof exports === 'function') && exports['default'] === undefined && Object.isExtensible(exports)) {\n      exports['default'] = exports;\n    }\n  };\n\n  Module.prototype.exports = function () {\n    // if finalized, there is no work to do. If reifying, there is a\n    // circular dependency so we must return our (partial) exports.\n    if (this.state === 'finalized' || this.state === 'reifying') {\n      return this.module.exports;\n    }\n\n\n    if (loader.wrapModules) {\n      this.callback = loader.wrapModules(this.id, this.callback);\n    }\n\n    this.reify();\n\n    var result = this.callback.apply(this, this.reified);\n    this.reified.length = 0;\n    this.state = 'finalized';\n\n    if (!(this.hasExportsAsDep && result === undefined)) {\n      this.module.exports = result;\n    }\n    if (loader.makeDefaultExport) {\n      this.makeDefaultExport();\n    }\n    return this.module.exports;\n  };\n\n  Module.prototype.unsee = function () {\n    this.state = 'new';\n    this.module = { exports: {} };\n  };\n\n  Module.prototype.reify = function () {\n    if (this.state === 'reified') {\n      return;\n    }\n    this.state = 'reifying';\n    try {\n      this.reified = this._reify();\n      this.state = 'reified';\n    } finally {\n      if (this.state === 'reifying') {\n        this.state = 'errored';\n      }\n    }\n  };\n\n  Module.prototype._reify = function () {\n    var reified = this.reified.slice();\n    for (var i = 0; i < reified.length; i++) {\n      var mod = reified[i];\n      reified[i] = mod.exports ? mod.exports : mod.module.exports();\n    }\n    return reified;\n  };\n\n  Module.prototype.findDeps = function (pending) {\n    if (this.state !== 'new') {\n      return;\n    }\n\n    this.state = 'pending';\n\n    var deps = this.deps;\n\n    for (var i = 0; i < deps.length; i++) {\n      var dep = deps[i];\n      var entry = this.reified[i] = { exports: undefined, module: undefined };\n      if (dep === 'exports') {\n        this.hasExportsAsDep = true;\n        entry.exports = this.module.exports;\n      } else if (dep === 'require') {\n        entry.exports = this.makeRequire();\n      } else if (dep === 'module') {\n        entry.exports = this.module;\n      } else {\n        entry.module = findModule(resolve(dep, this.id), this.id, pending);\n      }\n    }\n  };\n\n  Module.prototype.makeRequire = function () {\n    var id = this.id;\n    var r = function (dep) {\n      return require(resolve(dep, id));\n    };\n    r['default'] = r;\n    r.moduleId = id;\n    r.has = function (dep) {\n      return has(resolve(dep, id));\n    };\n    return r;\n  };\n\n  define = function (id, deps, callback) {\n    var module = registry[id];\n\n    // If a module for this id has already been defined and is in any state\n    // other than `new` (meaning it has been or is currently being required),\n    // then we return early to avoid redefinition.\n    if (module && module.state !== 'new') {\n      return;\n    }\n\n    if (arguments.length < 2) {\n      unsupportedModule(arguments.length);\n    }\n\n    if (!Array.isArray(deps)) {\n      callback = deps;\n      deps = [];\n    }\n\n    if (callback instanceof Alias) {\n      registry[id] = new Module(callback.id, deps, callback, true);\n    } else {\n      registry[id] = new Module(id, deps, callback, false);\n    }\n  };\n\n  define.exports = function (name, defaultExport) {\n    var module = registry[name];\n\n    // If a module for this name has already been defined and is in any state\n    // other than `new` (meaning it has been or is currently being required),\n    // then we return early to avoid redefinition.\n    if (module && module.state !== 'new') {\n      return;\n    }\n\n    module = new Module(name, [], noop, null);\n    module.module.exports = defaultExport;\n    module.state = 'finalized';\n    registry[name] = module;\n\n    return module;\n  };\n\n  function noop() {}\n  // we don't support all of AMD\n  // define.amd = {};\n\n  function Alias(id) {\n    this.id = id;\n  }\n\n  define.alias = function (id, target) {\n    if (arguments.length === 2) {\n      return define(target, new Alias(id));\n    }\n\n    return new Alias(id);\n  };\n\n  function missingModule(id, referrer) {\n    throw new Error('Could not find module `' + id + '` imported from `' + referrer + '`');\n  }\n\n  function findModule(id, referrer, pending) {\n    var mod = registry[id] || registry[id + '/index'];\n\n    while (mod && mod.isAlias) {\n      mod = registry[mod.id] || registry[mod.id + '/index'];\n    }\n\n    if (!mod) {\n      missingModule(id, referrer);\n    }\n\n    if (pending && mod.state !== 'pending' && mod.state !== 'finalized') {\n      mod.findDeps(pending);\n      pending.push(mod);\n    }\n    return mod;\n  }\n\n  function resolve(child, id) {\n    if (child.charAt(0) !== '.') {\n      return child;\n    }\n\n\n    var parts = child.split('/');\n    var nameParts = id.split('/');\n    var parentBase = nameParts.slice(0, -1);\n\n    for (var i = 0, l = parts.length; i < l; i++) {\n      var part = parts[i];\n\n      if (part === '..') {\n        if (parentBase.length === 0) {\n          throw new Error('Cannot access parent module of root');\n        }\n        parentBase.pop();\n      } else if (part === '.') {\n        continue;\n      } else {\n        parentBase.push(part);\n      }\n    }\n\n    return parentBase.join('/');\n  }\n\n  function has(id) {\n    return !!(registry[id] || registry[id + '/index']);\n  }\n\n  requirejs.entries = requirejs._eak_seen = registry;\n  requirejs.has = has;\n  requirejs.unsee = function (id) {\n    findModule(id, '(unsee)', false).unsee();\n  };\n\n  requirejs.clear = function () {\n    requirejs.entries = requirejs._eak_seen = registry = dict();\n    seen = dict();\n  };\n\n  // This code primes the JS engine for good performance by warming the\n  // JIT compiler for these functions.\n  define('foo', function () {});\n  define('foo/bar', [], function () {});\n  define('foo/asdf', ['module', 'exports', 'require'], function (module, exports, require) {\n    if (require.has('foo/bar')) {\n      require('foo/bar');\n    }\n  });\n  define('foo/baz', [], define.alias('foo'));\n  define('foo/quz', define.alias('foo'));\n  define.alias('foo', 'foo/qux');\n  define('foo/bar', ['foo', './quz', './baz', './asdf', './bar', '../foo'], function () {});\n  define('foo/main', ['foo/bar'], function () {});\n  define.exports('foo/exports', {});\n\n  require('foo/exports');\n  require('foo/main');\n  require.unsee('foo/bar');\n\n  requirejs.clear();\n\n  if (typeof exports === 'object' && typeof module === 'object' && module.exports) {\n    module.exports = { require: require, define: define };\n  }\n})(this);","/*!\n * jQuery JavaScript Library v3.7.1\n * https://jquery.com/\n *\n * Copyright OpenJS Foundation and other contributors\n * Released under the MIT license\n * https://jquery.org/license\n *\n * Date: 2023-08-28T13:37Z\n */\n( function( global, factory ) {\n\n\t\"use strict\";\n\n\tif ( typeof module === \"object\" && typeof module.exports === \"object\" ) {\n\n\t\t// For CommonJS and CommonJS-like environments where a proper `window`\n\t\t// is present, execute the factory and get jQuery.\n\t\t// For environments that do not have a `window` with a `document`\n\t\t// (such as Node.js), expose a factory as module.exports.\n\t\t// This accentuates the need for the creation of a real `window`.\n\t\t// e.g. var jQuery = require(\"jquery\")(window);\n\t\t// See ticket trac-14549 for more info.\n\t\tmodule.exports = global.document ?\n\t\t\tfactory( global, true ) :\n\t\t\tfunction( w ) {\n\t\t\t\tif ( !w.document ) {\n\t\t\t\t\tthrow new Error( \"jQuery requires a window with a document\" );\n\t\t\t\t}\n\t\t\t\treturn factory( w );\n\t\t\t};\n\t} else {\n\t\tfactory( global );\n\t}\n\n// Pass this if window is not defined yet\n} )( typeof window !== \"undefined\" ? window : this, function( window, noGlobal ) {\n\n// Edge <= 12 - 13+, Firefox <=18 - 45+, IE 10 - 11, Safari 5.1 - 9+, iOS 6 - 9.1\n// throw exceptions when non-strict code (e.g., ASP.NET 4.5) accesses strict mode\n// arguments.callee.caller (trac-13335). But as of jQuery 3.0 (2016), strict mode should be common\n// enough that all such attempts are guarded in a try block.\n\"use strict\";\n\nvar arr = [];\n\nvar getProto = Object.getPrototypeOf;\n\nvar slice = arr.slice;\n\nvar flat = arr.flat ? function( array ) {\n\treturn arr.flat.call( array );\n} : function( array ) {\n\treturn arr.concat.apply( [], array );\n};\n\n\nvar push = arr.push;\n\nvar indexOf = arr.indexOf;\n\nvar class2type = {};\n\nvar toString = class2type.toString;\n\nvar hasOwn = class2type.hasOwnProperty;\n\nvar fnToString = hasOwn.toString;\n\nvar ObjectFunctionString = fnToString.call( Object );\n\nvar support = {};\n\nvar isFunction = function isFunction( obj ) {\n\n\t\t// Support: Chrome <=57, Firefox <=52\n\t\t// In some browsers, typeof returns \"function\" for HTML <object> elements\n\t\t// (i.e., `typeof document.createElement( \"object\" ) === \"function\"`).\n\t\t// We don't want to classify *any* DOM node as a function.\n\t\t// Support: QtWeb <=3.8.5, WebKit <=534.34, wkhtmltopdf tool <=0.12.5\n\t\t// Plus for old WebKit, typeof returns \"function\" for HTML collections\n\t\t// (e.g., `typeof document.getElementsByTagName(\"div\") === \"function\"`). (gh-4756)\n\t\treturn typeof obj === \"function\" && typeof obj.nodeType !== \"number\" &&\n\t\t\ttypeof obj.item !== \"function\";\n\t};\n\n\nvar isWindow = function isWindow( obj ) {\n\t\treturn obj != null && obj === obj.window;\n\t};\n\n\nvar document = window.document;\n\n\n\n\tvar preservedScriptAttributes = {\n\t\ttype: true,\n\t\tsrc: true,\n\t\tnonce: true,\n\t\tnoModule: true\n\t};\n\n\tfunction DOMEval( code, node, doc ) {\n\t\tdoc = doc || document;\n\n\t\tvar i, val,\n\t\t\tscript = doc.createElement( \"script\" );\n\n\t\tscript.text = code;\n\t\tif ( node ) {\n\t\t\tfor ( i in preservedScriptAttributes ) {\n\n\t\t\t\t// Support: Firefox 64+, Edge 18+\n\t\t\t\t// Some browsers don't support the \"nonce\" property on scripts.\n\t\t\t\t// On the other hand, just using `getAttribute` is not enough as\n\t\t\t\t// the `nonce` attribute is reset to an empty string whenever it\n\t\t\t\t// becomes browsing-context connected.\n\t\t\t\t// See https://github.com/whatwg/html/issues/2369\n\t\t\t\t// See https://html.spec.whatwg.org/#nonce-attributes\n\t\t\t\t// The `node.getAttribute` check was added for the sake of\n\t\t\t\t// `jQuery.globalEval` so that it can fake a nonce-containing node\n\t\t\t\t// via an object.\n\t\t\t\tval = node[ i ] || node.getAttribute && node.getAttribute( i );\n\t\t\t\tif ( val ) {\n\t\t\t\t\tscript.setAttribute( i, val );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tdoc.head.appendChild( script ).parentNode.removeChild( script );\n\t}\n\n\nfunction toType( obj ) {\n\tif ( obj == null ) {\n\t\treturn obj + \"\";\n\t}\n\n\t// Support: Android <=2.3 only (functionish RegExp)\n\treturn typeof obj === \"object\" || typeof obj === \"function\" ?\n\t\tclass2type[ toString.call( obj ) ] || \"object\" :\n\t\ttypeof obj;\n}\n/* global Symbol */\n// Defining this global in .eslintrc.json would create a danger of using the global\n// unguarded in another place, it seems safer to define global only for this module\n\n\n\nvar version = \"3.7.1\",\n\n\trhtmlSuffix = /HTML$/i,\n\n\t// Define a local copy of jQuery\n\tjQuery = function( selector, context ) {\n\n\t\t// The jQuery object is actually just the init constructor 'enhanced'\n\t\t// Need init if jQuery is called (just allow error to be thrown if not included)\n\t\treturn new jQuery.fn.init( selector, context );\n\t};\n\njQuery.fn = jQuery.prototype = {\n\n\t// The current version of jQuery being used\n\tjquery: version,\n\n\tconstructor: jQuery,\n\n\t// The default length of a jQuery object is 0\n\tlength: 0,\n\n\ttoArray: function() {\n\t\treturn slice.call( this );\n\t},\n\n\t// Get the Nth element in the matched element set OR\n\t// Get the whole matched element set as a clean array\n\tget: function( num ) {\n\n\t\t// Return all the elements in a clean array\n\t\tif ( num == null ) {\n\t\t\treturn slice.call( this );\n\t\t}\n\n\t\t// Return just the one element from the set\n\t\treturn num < 0 ? this[ num + this.length ] : this[ num ];\n\t},\n\n\t// Take an array of elements and push it onto the stack\n\t// (returning the new matched element set)\n\tpushStack: function( elems ) {\n\n\t\t// Build a new jQuery matched element set\n\t\tvar ret = jQuery.merge( this.constructor(), elems );\n\n\t\t// Add the old object onto the stack (as a reference)\n\t\tret.prevObject = this;\n\n\t\t// Return the newly-formed element set\n\t\treturn ret;\n\t},\n\n\t// Execute a callback for every element in the matched set.\n\teach: function( callback ) {\n\t\treturn jQuery.each( this, callback );\n\t},\n\n\tmap: function( callback ) {\n\t\treturn this.pushStack( jQuery.map( this, function( elem, i ) {\n\t\t\treturn callback.call( elem, i, elem );\n\t\t} ) );\n\t},\n\n\tslice: function() {\n\t\treturn this.pushStack( slice.apply( this, arguments ) );\n\t},\n\n\tfirst: function() {\n\t\treturn this.eq( 0 );\n\t},\n\n\tlast: function() {\n\t\treturn this.eq( -1 );\n\t},\n\n\teven: function() {\n\t\treturn this.pushStack( jQuery.grep( this, function( _elem, i ) {\n\t\t\treturn ( i + 1 ) % 2;\n\t\t} ) );\n\t},\n\n\todd: function() {\n\t\treturn this.pushStack( jQuery.grep( this, function( _elem, i ) {\n\t\t\treturn i % 2;\n\t\t} ) );\n\t},\n\n\teq: function( i ) {\n\t\tvar len = this.length,\n\t\t\tj = +i + ( i < 0 ? len : 0 );\n\t\treturn this.pushStack( j >= 0 && j < len ? [ this[ j ] ] : [] );\n\t},\n\n\tend: function() {\n\t\treturn this.prevObject || this.constructor();\n\t},\n\n\t// For internal use only.\n\t// Behaves like an Array's method, not like a jQuery method.\n\tpush: push,\n\tsort: arr.sort,\n\tsplice: arr.splice\n};\n\njQuery.extend = jQuery.fn.extend = function() {\n\tvar options, name, src, copy, copyIsArray, clone,\n\t\ttarget = arguments[ 0 ] || {},\n\t\ti = 1,\n\t\tlength = arguments.length,\n\t\tdeep = false;\n\n\t// Handle a deep copy situation\n\tif ( typeof target === \"boolean\" ) {\n\t\tdeep = target;\n\n\t\t// Skip the boolean and the target\n\t\ttarget = arguments[ i ] || {};\n\t\ti++;\n\t}\n\n\t// Handle case when target is a string or something (possible in deep copy)\n\tif ( typeof target !== \"object\" && !isFunction( target ) ) {\n\t\ttarget = {};\n\t}\n\n\t// Extend jQuery itself if only one argument is passed\n\tif ( i === length ) {\n\t\ttarget = this;\n\t\ti--;\n\t}\n\n\tfor ( ; i < length; i++ ) {\n\n\t\t// Only deal with non-null/undefined values\n\t\tif ( ( options = arguments[ i ] ) != null ) {\n\n\t\t\t// Extend the base object\n\t\t\tfor ( name in options ) {\n\t\t\t\tcopy = options[ name ];\n\n\t\t\t\t// Prevent Object.prototype pollution\n\t\t\t\t// Prevent never-ending loop\n\t\t\t\tif ( name === \"__proto__\" || target === copy ) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\t// Recurse if we're merging plain objects or arrays\n\t\t\t\tif ( deep && copy && ( jQuery.isPlainObject( copy ) ||\n\t\t\t\t\t( copyIsArray = Array.isArray( copy ) ) ) ) {\n\t\t\t\t\tsrc = target[ name ];\n\n\t\t\t\t\t// Ensure proper type for the source value\n\t\t\t\t\tif ( copyIsArray && !Array.isArray( src ) ) {\n\t\t\t\t\t\tclone = [];\n\t\t\t\t\t} else if ( !copyIsArray && !jQuery.isPlainObject( src ) ) {\n\t\t\t\t\t\tclone = {};\n\t\t\t\t\t} else {\n\t\t\t\t\t\tclone = src;\n\t\t\t\t\t}\n\t\t\t\t\tcopyIsArray = false;\n\n\t\t\t\t\t// Never move original objects, clone them\n\t\t\t\t\ttarget[ name ] = jQuery.extend( deep, clone, copy );\n\n\t\t\t\t// Don't bring in undefined values\n\t\t\t\t} else if ( copy !== undefined ) {\n\t\t\t\t\ttarget[ name ] = copy;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// Return the modified object\n\treturn target;\n};\n\njQuery.extend( {\n\n\t// Unique for each copy of jQuery on the page\n\texpando: \"jQuery\" + ( version + Math.random() ).replace( /\\D/g, \"\" ),\n\n\t// Assume jQuery is ready without the ready module\n\tisReady: true,\n\n\terror: function( msg ) {\n\t\tthrow new Error( msg );\n\t},\n\n\tnoop: function() {},\n\n\tisPlainObject: function( obj ) {\n\t\tvar proto, Ctor;\n\n\t\t// Detect obvious negatives\n\t\t// Use toString instead of jQuery.type to catch host objects\n\t\tif ( !obj || toString.call( obj ) !== \"[object Object]\" ) {\n\t\t\treturn false;\n\t\t}\n\n\t\tproto = getProto( obj );\n\n\t\t// Objects with no prototype (e.g., `Object.create( null )`) are plain\n\t\tif ( !proto ) {\n\t\t\treturn true;\n\t\t}\n\n\t\t// Objects with prototype are plain iff they were constructed by a global Object function\n\t\tCtor = hasOwn.call( proto, \"constructor\" ) && proto.constructor;\n\t\treturn typeof Ctor === \"function\" && fnToString.call( Ctor ) === ObjectFunctionString;\n\t},\n\n\tisEmptyObject: function( obj ) {\n\t\tvar name;\n\n\t\tfor ( name in obj ) {\n\t\t\treturn false;\n\t\t}\n\t\treturn true;\n\t},\n\n\t// Evaluates a script in a provided context; falls back to the global one\n\t// if not specified.\n\tglobalEval: function( code, options, doc ) {\n\t\tDOMEval( code, { nonce: options && options.nonce }, doc );\n\t},\n\n\teach: function( obj, callback ) {\n\t\tvar length, i = 0;\n\n\t\tif ( isArrayLike( obj ) ) {\n\t\t\tlength = obj.length;\n\t\t\tfor ( ; i < length; i++ ) {\n\t\t\t\tif ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tfor ( i in obj ) {\n\t\t\t\tif ( callback.call( obj[ i ], i, obj[ i ] ) === false ) {\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn obj;\n\t},\n\n\n\t// Retrieve the text value of an array of DOM nodes\n\ttext: function( elem ) {\n\t\tvar node,\n\t\t\tret = \"\",\n\t\t\ti = 0,\n\t\t\tnodeType = elem.nodeType;\n\n\t\tif ( !nodeType ) {\n\n\t\t\t// If no nodeType, this is expected to be an array\n\t\t\twhile ( ( node = elem[ i++ ] ) ) {\n\n\t\t\t\t// Do not traverse comment nodes\n\t\t\t\tret += jQuery.text( node );\n\t\t\t}\n\t\t}\n\t\tif ( nodeType === 1 || nodeType === 11 ) {\n\t\t\treturn elem.textContent;\n\t\t}\n\t\tif ( nodeType === 9 ) {\n\t\t\treturn elem.documentElement.textContent;\n\t\t}\n\t\tif ( nodeType === 3 || nodeType === 4 ) {\n\t\t\treturn elem.nodeValue;\n\t\t}\n\n\t\t// Do not include comment or processing instruction nodes\n\n\t\treturn ret;\n\t},\n\n\t// results is for internal usage only\n\tmakeArray: function( arr, results ) {\n\t\tvar ret = results || [];\n\n\t\tif ( arr != null ) {\n\t\t\tif ( isArrayLike( Object( arr ) ) ) {\n\t\t\t\tjQuery.merge( ret,\n\t\t\t\t\ttypeof arr === \"string\" ?\n\t\t\t\t\t\t[ arr ] : arr\n\t\t\t\t);\n\t\t\t} else {\n\t\t\t\tpush.call( ret, arr );\n\t\t\t}\n\t\t}\n\n\t\treturn ret;\n\t},\n\n\tinArray: function( elem, arr, i ) {\n\t\treturn arr == null ? -1 : indexOf.call( arr, elem, i );\n\t},\n\n\tisXMLDoc: function( elem ) {\n\t\tvar namespace = elem && elem.namespaceURI,\n\t\t\tdocElem = elem && ( elem.ownerDocument || elem ).documentElement;\n\n\t\t// Assume HTML when documentElement doesn't yet exist, such as inside\n\t\t// document fragments.\n\t\treturn !rhtmlSuffix.test( namespace || docElem && docElem.nodeName || \"HTML\" );\n\t},\n\n\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t// push.apply(_, arraylike) throws on ancient WebKit\n\tmerge: function( first, second ) {\n\t\tvar len = +second.length,\n\t\t\tj = 0,\n\t\t\ti = first.length;\n\n\t\tfor ( ; j < len; j++ ) {\n\t\t\tfirst[ i++ ] = second[ j ];\n\t\t}\n\n\t\tfirst.length = i;\n\n\t\treturn first;\n\t},\n\n\tgrep: function( elems, callback, invert ) {\n\t\tvar callbackInverse,\n\t\t\tmatches = [],\n\t\t\ti = 0,\n\t\t\tlength = elems.length,\n\t\t\tcallbackExpect = !invert;\n\n\t\t// Go through the array, only saving the items\n\t\t// that pass the validator function\n\t\tfor ( ; i < length; i++ ) {\n\t\t\tcallbackInverse = !callback( elems[ i ], i );\n\t\t\tif ( callbackInverse !== callbackExpect ) {\n\t\t\t\tmatches.push( elems[ i ] );\n\t\t\t}\n\t\t}\n\n\t\treturn matches;\n\t},\n\n\t// arg is for internal usage only\n\tmap: function( elems, callback, arg ) {\n\t\tvar length, value,\n\t\t\ti = 0,\n\t\t\tret = [];\n\n\t\t// Go through the array, translating each of the items to their new values\n\t\tif ( isArrayLike( elems ) ) {\n\t\t\tlength = elems.length;\n\t\t\tfor ( ; i < length; i++ ) {\n\t\t\t\tvalue = callback( elems[ i ], i, arg );\n\n\t\t\t\tif ( value != null ) {\n\t\t\t\t\tret.push( value );\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Go through every key on the object,\n\t\t} else {\n\t\t\tfor ( i in elems ) {\n\t\t\t\tvalue = callback( elems[ i ], i, arg );\n\n\t\t\t\tif ( value != null ) {\n\t\t\t\t\tret.push( value );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Flatten any nested arrays\n\t\treturn flat( ret );\n\t},\n\n\t// A global GUID counter for objects\n\tguid: 1,\n\n\t// jQuery.support is not used in Core but other projects attach their\n\t// properties to it so it needs to exist.\n\tsupport: support\n} );\n\nif ( typeof Symbol === \"function\" ) {\n\tjQuery.fn[ Symbol.iterator ] = arr[ Symbol.iterator ];\n}\n\n// Populate the class2type map\njQuery.each( \"Boolean Number String Function Array Date RegExp Object Error Symbol\".split( \" \" ),\n\tfunction( _i, name ) {\n\t\tclass2type[ \"[object \" + name + \"]\" ] = name.toLowerCase();\n\t} );\n\nfunction isArrayLike( obj ) {\n\n\t// Support: real iOS 8.2 only (not reproducible in simulator)\n\t// `in` check used to prevent JIT error (gh-2145)\n\t// hasOwn isn't used here due to false negatives\n\t// regarding Nodelist length in IE\n\tvar length = !!obj && \"length\" in obj && obj.length,\n\t\ttype = toType( obj );\n\n\tif ( isFunction( obj ) || isWindow( obj ) ) {\n\t\treturn false;\n\t}\n\n\treturn type === \"array\" || length === 0 ||\n\t\ttypeof length === \"number\" && length > 0 && ( length - 1 ) in obj;\n}\n\n\nfunction nodeName( elem, name ) {\n\n\treturn elem.nodeName && elem.nodeName.toLowerCase() === name.toLowerCase();\n\n}\nvar pop = arr.pop;\n\n\nvar sort = arr.sort;\n\n\nvar splice = arr.splice;\n\n\nvar whitespace = \"[\\\\x20\\\\t\\\\r\\\\n\\\\f]\";\n\n\nvar rtrimCSS = new RegExp(\n\t\"^\" + whitespace + \"+|((?:^|[^\\\\\\\\])(?:\\\\\\\\.)*)\" + whitespace + \"+$\",\n\t\"g\"\n);\n\n\n\n\n// Note: an element does not contain itself\njQuery.contains = function( a, b ) {\n\tvar bup = b && b.parentNode;\n\n\treturn a === bup || !!( bup && bup.nodeType === 1 && (\n\n\t\t// Support: IE 9 - 11+\n\t\t// IE doesn't have `contains` on SVG.\n\t\ta.contains ?\n\t\t\ta.contains( bup ) :\n\t\t\ta.compareDocumentPosition && a.compareDocumentPosition( bup ) & 16\n\t) );\n};\n\n\n\n\n// CSS string/identifier serialization\n// https://drafts.csswg.org/cssom/#common-serializing-idioms\nvar rcssescape = /([\\0-\\x1f\\x7f]|^-?\\d)|^-$|[^\\x80-\\uFFFF\\w-]/g;\n\nfunction fcssescape( ch, asCodePoint ) {\n\tif ( asCodePoint ) {\n\n\t\t// U+0000 NULL becomes U+FFFD REPLACEMENT CHARACTER\n\t\tif ( ch === \"\\0\" ) {\n\t\t\treturn \"\\uFFFD\";\n\t\t}\n\n\t\t// Control characters and (dependent upon position) numbers get escaped as code points\n\t\treturn ch.slice( 0, -1 ) + \"\\\\\" + ch.charCodeAt( ch.length - 1 ).toString( 16 ) + \" \";\n\t}\n\n\t// Other potentially-special ASCII characters get backslash-escaped\n\treturn \"\\\\\" + ch;\n}\n\njQuery.escapeSelector = function( sel ) {\n\treturn ( sel + \"\" ).replace( rcssescape, fcssescape );\n};\n\n\n\n\nvar preferredDoc = document,\n\tpushNative = push;\n\n( function() {\n\nvar i,\n\tExpr,\n\toutermostContext,\n\tsortInput,\n\thasDuplicate,\n\tpush = pushNative,\n\n\t// Local document vars\n\tdocument,\n\tdocumentElement,\n\tdocumentIsHTML,\n\trbuggyQSA,\n\tmatches,\n\n\t// Instance-specific data\n\texpando = jQuery.expando,\n\tdirruns = 0,\n\tdone = 0,\n\tclassCache = createCache(),\n\ttokenCache = createCache(),\n\tcompilerCache = createCache(),\n\tnonnativeSelectorCache = createCache(),\n\tsortOrder = function( a, b ) {\n\t\tif ( a === b ) {\n\t\t\thasDuplicate = true;\n\t\t}\n\t\treturn 0;\n\t},\n\n\tbooleans = \"checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|\" +\n\t\t\"loop|multiple|open|readonly|required|scoped\",\n\n\t// Regular expressions\n\n\t// https://www.w3.org/TR/css-syntax-3/#ident-token-diagram\n\tidentifier = \"(?:\\\\\\\\[\\\\da-fA-F]{1,6}\" + whitespace +\n\t\t\"?|\\\\\\\\[^\\\\r\\\\n\\\\f]|[\\\\w-]|[^\\0-\\\\x7f])+\",\n\n\t// Attribute selectors: https://www.w3.org/TR/selectors/#attribute-selectors\n\tattributes = \"\\\\[\" + whitespace + \"*(\" + identifier + \")(?:\" + whitespace +\n\n\t\t// Operator (capture 2)\n\t\t\"*([*^$|!~]?=)\" + whitespace +\n\n\t\t// \"Attribute values must be CSS identifiers [capture 5] or strings [capture 3 or capture 4]\"\n\t\t\"*(?:'((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\"|(\" + identifier + \"))|)\" +\n\t\twhitespace + \"*\\\\]\",\n\n\tpseudos = \":(\" + identifier + \")(?:\\\\((\" +\n\n\t\t// To reduce the number of selectors needing tokenize in the preFilter, prefer arguments:\n\t\t// 1. quoted (capture 3; capture 4 or capture 5)\n\t\t\"('((?:\\\\\\\\.|[^\\\\\\\\'])*)'|\\\"((?:\\\\\\\\.|[^\\\\\\\\\\\"])*)\\\")|\" +\n\n\t\t// 2. simple (capture 6)\n\t\t\"((?:\\\\\\\\.|[^\\\\\\\\()[\\\\]]|\" + attributes + \")*)|\" +\n\n\t\t// 3. anything else (capture 2)\n\t\t\".*\" +\n\t\t\")\\\\)|)\",\n\n\t// Leading and non-escaped trailing whitespace, capturing some non-whitespace characters preceding the latter\n\trwhitespace = new RegExp( whitespace + \"+\", \"g\" ),\n\n\trcomma = new RegExp( \"^\" + whitespace + \"*,\" + whitespace + \"*\" ),\n\trleadingCombinator = new RegExp( \"^\" + whitespace + \"*([>+~]|\" + whitespace + \")\" +\n\t\twhitespace + \"*\" ),\n\trdescend = new RegExp( whitespace + \"|>\" ),\n\n\trpseudo = new RegExp( pseudos ),\n\tridentifier = new RegExp( \"^\" + identifier + \"$\" ),\n\n\tmatchExpr = {\n\t\tID: new RegExp( \"^#(\" + identifier + \")\" ),\n\t\tCLASS: new RegExp( \"^\\\\.(\" + identifier + \")\" ),\n\t\tTAG: new RegExp( \"^(\" + identifier + \"|[*])\" ),\n\t\tATTR: new RegExp( \"^\" + attributes ),\n\t\tPSEUDO: new RegExp( \"^\" + pseudos ),\n\t\tCHILD: new RegExp(\n\t\t\t\"^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\\\(\" +\n\t\t\t\twhitespace + \"*(even|odd|(([+-]|)(\\\\d*)n|)\" + whitespace + \"*(?:([+-]|)\" +\n\t\t\t\twhitespace + \"*(\\\\d+)|))\" + whitespace + \"*\\\\)|)\", \"i\" ),\n\t\tbool: new RegExp( \"^(?:\" + booleans + \")$\", \"i\" ),\n\n\t\t// For use in libraries implementing .is()\n\t\t// We use this for POS matching in `select`\n\t\tneedsContext: new RegExp( \"^\" + whitespace +\n\t\t\t\"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\\\(\" + whitespace +\n\t\t\t\"*((?:-\\\\d)?\\\\d*)\" + whitespace + \"*\\\\)|)(?=[^-]|$)\", \"i\" )\n\t},\n\n\trinputs = /^(?:input|select|textarea|button)$/i,\n\trheader = /^h\\d$/i,\n\n\t// Easily-parseable/retrievable ID or TAG or CLASS selectors\n\trquickExpr = /^(?:#([\\w-]+)|(\\w+)|\\.([\\w-]+))$/,\n\n\trsibling = /[+~]/,\n\n\t// CSS escapes\n\t// https://www.w3.org/TR/CSS21/syndata.html#escaped-characters\n\trunescape = new RegExp( \"\\\\\\\\[\\\\da-fA-F]{1,6}\" + whitespace +\n\t\t\"?|\\\\\\\\([^\\\\r\\\\n\\\\f])\", \"g\" ),\n\tfunescape = function( escape, nonHex ) {\n\t\tvar high = \"0x\" + escape.slice( 1 ) - 0x10000;\n\n\t\tif ( nonHex ) {\n\n\t\t\t// Strip the backslash prefix from a non-hex escape sequence\n\t\t\treturn nonHex;\n\t\t}\n\n\t\t// Replace a hexadecimal escape sequence with the encoded Unicode code point\n\t\t// Support: IE <=11+\n\t\t// For values outside the Basic Multilingual Plane (BMP), manually construct a\n\t\t// surrogate pair\n\t\treturn high < 0 ?\n\t\t\tString.fromCharCode( high + 0x10000 ) :\n\t\t\tString.fromCharCode( high >> 10 | 0xD800, high & 0x3FF | 0xDC00 );\n\t},\n\n\t// Used for iframes; see `setDocument`.\n\t// Support: IE 9 - 11+, Edge 12 - 18+\n\t// Removing the function wrapper causes a \"Permission Denied\"\n\t// error in IE/Edge.\n\tunloadHandler = function() {\n\t\tsetDocument();\n\t},\n\n\tinDisabledFieldset = addCombinator(\n\t\tfunction( elem ) {\n\t\t\treturn elem.disabled === true && nodeName( elem, \"fieldset\" );\n\t\t},\n\t\t{ dir: \"parentNode\", next: \"legend\" }\n\t);\n\n// Support: IE <=9 only\n// Accessing document.activeElement can throw unexpectedly\n// https://bugs.jquery.com/ticket/13393\nfunction safeActiveElement() {\n\ttry {\n\t\treturn document.activeElement;\n\t} catch ( err ) { }\n}\n\n// Optimize for push.apply( _, NodeList )\ntry {\n\tpush.apply(\n\t\t( arr = slice.call( preferredDoc.childNodes ) ),\n\t\tpreferredDoc.childNodes\n\t);\n\n\t// Support: Android <=4.0\n\t// Detect silently failing push.apply\n\t// eslint-disable-next-line no-unused-expressions\n\tarr[ preferredDoc.childNodes.length ].nodeType;\n} catch ( e ) {\n\tpush = {\n\t\tapply: function( target, els ) {\n\t\t\tpushNative.apply( target, slice.call( els ) );\n\t\t},\n\t\tcall: function( target ) {\n\t\t\tpushNative.apply( target, slice.call( arguments, 1 ) );\n\t\t}\n\t};\n}\n\nfunction find( selector, context, results, seed ) {\n\tvar m, i, elem, nid, match, groups, newSelector,\n\t\tnewContext = context && context.ownerDocument,\n\n\t\t// nodeType defaults to 9, since context defaults to document\n\t\tnodeType = context ? context.nodeType : 9;\n\n\tresults = results || [];\n\n\t// Return early from calls with invalid selector or context\n\tif ( typeof selector !== \"string\" || !selector ||\n\t\tnodeType !== 1 && nodeType !== 9 && nodeType !== 11 ) {\n\n\t\treturn results;\n\t}\n\n\t// Try to shortcut find operations (as opposed to filters) in HTML documents\n\tif ( !seed ) {\n\t\tsetDocument( context );\n\t\tcontext = context || document;\n\n\t\tif ( documentIsHTML ) {\n\n\t\t\t// If the selector is sufficiently simple, try using a \"get*By*\" DOM method\n\t\t\t// (excepting DocumentFragment context, where the methods don't exist)\n\t\t\tif ( nodeType !== 11 && ( match = rquickExpr.exec( selector ) ) ) {\n\n\t\t\t\t// ID selector\n\t\t\t\tif ( ( m = match[ 1 ] ) ) {\n\n\t\t\t\t\t// Document context\n\t\t\t\t\tif ( nodeType === 9 ) {\n\t\t\t\t\t\tif ( ( elem = context.getElementById( m ) ) ) {\n\n\t\t\t\t\t\t\t// Support: IE 9 only\n\t\t\t\t\t\t\t// getElementById can match elements by name instead of ID\n\t\t\t\t\t\t\tif ( elem.id === m ) {\n\t\t\t\t\t\t\t\tpush.call( results, elem );\n\t\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t// Element context\n\t\t\t\t\t} else {\n\n\t\t\t\t\t\t// Support: IE 9 only\n\t\t\t\t\t\t// getElementById can match elements by name instead of ID\n\t\t\t\t\t\tif ( newContext && ( elem = newContext.getElementById( m ) ) &&\n\t\t\t\t\t\t\tfind.contains( context, elem ) &&\n\t\t\t\t\t\t\telem.id === m ) {\n\n\t\t\t\t\t\t\tpush.call( results, elem );\n\t\t\t\t\t\t\treturn results;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t// Type selector\n\t\t\t\t} else if ( match[ 2 ] ) {\n\t\t\t\t\tpush.apply( results, context.getElementsByTagName( selector ) );\n\t\t\t\t\treturn results;\n\n\t\t\t\t// Class selector\n\t\t\t\t} else if ( ( m = match[ 3 ] ) && context.getElementsByClassName ) {\n\t\t\t\t\tpush.apply( results, context.getElementsByClassName( m ) );\n\t\t\t\t\treturn results;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Take advantage of querySelectorAll\n\t\t\tif ( !nonnativeSelectorCache[ selector + \" \" ] &&\n\t\t\t\t( !rbuggyQSA || !rbuggyQSA.test( selector ) ) ) {\n\n\t\t\t\tnewSelector = selector;\n\t\t\t\tnewContext = context;\n\n\t\t\t\t// qSA considers elements outside a scoping root when evaluating child or\n\t\t\t\t// descendant combinators, which is not what we want.\n\t\t\t\t// In such cases, we work around the behavior by prefixing every selector in the\n\t\t\t\t// list with an ID selector referencing the scope context.\n\t\t\t\t// The technique has to be used as well when a leading combinator is used\n\t\t\t\t// as such selectors are not recognized by querySelectorAll.\n\t\t\t\t// Thanks to Andrew Dupont for this technique.\n\t\t\t\tif ( nodeType === 1 &&\n\t\t\t\t\t( rdescend.test( selector ) || rleadingCombinator.test( selector ) ) ) {\n\n\t\t\t\t\t// Expand context for sibling selectors\n\t\t\t\t\tnewContext = rsibling.test( selector ) && testContext( context.parentNode ) ||\n\t\t\t\t\t\tcontext;\n\n\t\t\t\t\t// We can use :scope instead of the ID hack if the browser\n\t\t\t\t\t// supports it & if we're not changing the context.\n\t\t\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when\n\t\t\t\t\t// strict-comparing two documents; shallow comparisons work.\n\t\t\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\t\t\tif ( newContext != context || !support.scope ) {\n\n\t\t\t\t\t\t// Capture the context ID, setting it first if necessary\n\t\t\t\t\t\tif ( ( nid = context.getAttribute( \"id\" ) ) ) {\n\t\t\t\t\t\t\tnid = jQuery.escapeSelector( nid );\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tcontext.setAttribute( \"id\", ( nid = expando ) );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Prefix every selector in the list\n\t\t\t\t\tgroups = tokenize( selector );\n\t\t\t\t\ti = groups.length;\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tgroups[ i ] = ( nid ? \"#\" + nid : \":scope\" ) + \" \" +\n\t\t\t\t\t\t\ttoSelector( groups[ i ] );\n\t\t\t\t\t}\n\t\t\t\t\tnewSelector = groups.join( \",\" );\n\t\t\t\t}\n\n\t\t\t\ttry {\n\t\t\t\t\tpush.apply( results,\n\t\t\t\t\t\tnewContext.querySelectorAll( newSelector )\n\t\t\t\t\t);\n\t\t\t\t\treturn results;\n\t\t\t\t} catch ( qsaError ) {\n\t\t\t\t\tnonnativeSelectorCache( selector, true );\n\t\t\t\t} finally {\n\t\t\t\t\tif ( nid === expando ) {\n\t\t\t\t\t\tcontext.removeAttribute( \"id\" );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// All others\n\treturn select( selector.replace( rtrimCSS, \"$1\" ), context, results, seed );\n}\n\n/**\n * Create key-value caches of limited size\n * @returns {function(string, object)} Returns the Object data after storing it on itself with\n *\tproperty name the (space-suffixed) string and (if the cache is larger than Expr.cacheLength)\n *\tdeleting the oldest entry\n */\nfunction createCache() {\n\tvar keys = [];\n\n\tfunction cache( key, value ) {\n\n\t\t// Use (key + \" \") to avoid collision with native prototype properties\n\t\t// (see https://github.com/jquery/sizzle/issues/157)\n\t\tif ( keys.push( key + \" \" ) > Expr.cacheLength ) {\n\n\t\t\t// Only keep the most recent entries\n\t\t\tdelete cache[ keys.shift() ];\n\t\t}\n\t\treturn ( cache[ key + \" \" ] = value );\n\t}\n\treturn cache;\n}\n\n/**\n * Mark a function for special use by jQuery selector module\n * @param {Function} fn The function to mark\n */\nfunction markFunction( fn ) {\n\tfn[ expando ] = true;\n\treturn fn;\n}\n\n/**\n * Support testing using an element\n * @param {Function} fn Passed the created element and returns a boolean result\n */\nfunction assert( fn ) {\n\tvar el = document.createElement( \"fieldset\" );\n\n\ttry {\n\t\treturn !!fn( el );\n\t} catch ( e ) {\n\t\treturn false;\n\t} finally {\n\n\t\t// Remove from its parent by default\n\t\tif ( el.parentNode ) {\n\t\t\tel.parentNode.removeChild( el );\n\t\t}\n\n\t\t// release memory in IE\n\t\tel = null;\n\t}\n}\n\n/**\n * Returns a function to use in pseudos for input types\n * @param {String} type\n */\nfunction createInputPseudo( type ) {\n\treturn function( elem ) {\n\t\treturn nodeName( elem, \"input\" ) && elem.type === type;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for buttons\n * @param {String} type\n */\nfunction createButtonPseudo( type ) {\n\treturn function( elem ) {\n\t\treturn ( nodeName( elem, \"input\" ) || nodeName( elem, \"button\" ) ) &&\n\t\t\telem.type === type;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for :enabled/:disabled\n * @param {Boolean} disabled true for :disabled; false for :enabled\n */\nfunction createDisabledPseudo( disabled ) {\n\n\t// Known :disabled false positives: fieldset[disabled] > legend:nth-of-type(n+2) :can-disable\n\treturn function( elem ) {\n\n\t\t// Only certain elements can match :enabled or :disabled\n\t\t// https://html.spec.whatwg.org/multipage/scripting.html#selector-enabled\n\t\t// https://html.spec.whatwg.org/multipage/scripting.html#selector-disabled\n\t\tif ( \"form\" in elem ) {\n\n\t\t\t// Check for inherited disabledness on relevant non-disabled elements:\n\t\t\t// * listed form-associated elements in a disabled fieldset\n\t\t\t//   https://html.spec.whatwg.org/multipage/forms.html#category-listed\n\t\t\t//   https://html.spec.whatwg.org/multipage/forms.html#concept-fe-disabled\n\t\t\t// * option elements in a disabled optgroup\n\t\t\t//   https://html.spec.whatwg.org/multipage/forms.html#concept-option-disabled\n\t\t\t// All such elements have a \"form\" property.\n\t\t\tif ( elem.parentNode && elem.disabled === false ) {\n\n\t\t\t\t// Option elements defer to a parent optgroup if present\n\t\t\t\tif ( \"label\" in elem ) {\n\t\t\t\t\tif ( \"label\" in elem.parentNode ) {\n\t\t\t\t\t\treturn elem.parentNode.disabled === disabled;\n\t\t\t\t\t} else {\n\t\t\t\t\t\treturn elem.disabled === disabled;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Support: IE 6 - 11+\n\t\t\t\t// Use the isDisabled shortcut property to check for disabled fieldset ancestors\n\t\t\t\treturn elem.isDisabled === disabled ||\n\n\t\t\t\t\t// Where there is no isDisabled, check manually\n\t\t\t\t\telem.isDisabled !== !disabled &&\n\t\t\t\t\t\tinDisabledFieldset( elem ) === disabled;\n\t\t\t}\n\n\t\t\treturn elem.disabled === disabled;\n\n\t\t// Try to winnow out elements that can't be disabled before trusting the disabled property.\n\t\t// Some victims get caught in our net (label, legend, menu, track), but it shouldn't\n\t\t// even exist on them, let alone have a boolean value.\n\t\t} else if ( \"label\" in elem ) {\n\t\t\treturn elem.disabled === disabled;\n\t\t}\n\n\t\t// Remaining elements are neither :enabled nor :disabled\n\t\treturn false;\n\t};\n}\n\n/**\n * Returns a function to use in pseudos for positionals\n * @param {Function} fn\n */\nfunction createPositionalPseudo( fn ) {\n\treturn markFunction( function( argument ) {\n\t\targument = +argument;\n\t\treturn markFunction( function( seed, matches ) {\n\t\t\tvar j,\n\t\t\t\tmatchIndexes = fn( [], seed.length, argument ),\n\t\t\t\ti = matchIndexes.length;\n\n\t\t\t// Match elements found at the specified indexes\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( seed[ ( j = matchIndexes[ i ] ) ] ) {\n\t\t\t\t\tseed[ j ] = !( matches[ j ] = seed[ j ] );\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t} );\n}\n\n/**\n * Checks a node for validity as a jQuery selector context\n * @param {Element|Object=} context\n * @returns {Element|Object|Boolean} The input node if acceptable, otherwise a falsy value\n */\nfunction testContext( context ) {\n\treturn context && typeof context.getElementsByTagName !== \"undefined\" && context;\n}\n\n/**\n * Sets document-related variables once based on the current document\n * @param {Element|Object} [node] An element or document object to use to set the document\n * @returns {Object} Returns the current document\n */\nfunction setDocument( node ) {\n\tvar subWindow,\n\t\tdoc = node ? node.ownerDocument || node : preferredDoc;\n\n\t// Return early if doc is invalid or already selected\n\t// Support: IE 11+, Edge 17 - 18+\n\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t// two documents; shallow comparisons work.\n\t// eslint-disable-next-line eqeqeq\n\tif ( doc == document || doc.nodeType !== 9 || !doc.documentElement ) {\n\t\treturn document;\n\t}\n\n\t// Update global variables\n\tdocument = doc;\n\tdocumentElement = document.documentElement;\n\tdocumentIsHTML = !jQuery.isXMLDoc( document );\n\n\t// Support: iOS 7 only, IE 9 - 11+\n\t// Older browsers didn't support unprefixed `matches`.\n\tmatches = documentElement.matches ||\n\t\tdocumentElement.webkitMatchesSelector ||\n\t\tdocumentElement.msMatchesSelector;\n\n\t// Support: IE 9 - 11+, Edge 12 - 18+\n\t// Accessing iframe documents after unload throws \"permission denied\" errors\n\t// (see trac-13936).\n\t// Limit the fix to IE & Edge Legacy; despite Edge 15+ implementing `matches`,\n\t// all IE 9+ and Edge Legacy versions implement `msMatchesSelector` as well.\n\tif ( documentElement.msMatchesSelector &&\n\n\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t// two documents; shallow comparisons work.\n\t\t// eslint-disable-next-line eqeqeq\n\t\tpreferredDoc != document &&\n\t\t( subWindow = document.defaultView ) && subWindow.top !== subWindow ) {\n\n\t\t// Support: IE 9 - 11+, Edge 12 - 18+\n\t\tsubWindow.addEventListener( \"unload\", unloadHandler );\n\t}\n\n\t// Support: IE <10\n\t// Check if getElementById returns elements by name\n\t// The broken getElementById methods don't pick up programmatically-set names,\n\t// so use a roundabout getElementsByName test\n\tsupport.getById = assert( function( el ) {\n\t\tdocumentElement.appendChild( el ).id = jQuery.expando;\n\t\treturn !document.getElementsByName ||\n\t\t\t!document.getElementsByName( jQuery.expando ).length;\n\t} );\n\n\t// Support: IE 9 only\n\t// Check to see if it's possible to do matchesSelector\n\t// on a disconnected node.\n\tsupport.disconnectedMatch = assert( function( el ) {\n\t\treturn matches.call( el, \"*\" );\n\t} );\n\n\t// Support: IE 9 - 11+, Edge 12 - 18+\n\t// IE/Edge don't support the :scope pseudo-class.\n\tsupport.scope = assert( function() {\n\t\treturn document.querySelectorAll( \":scope\" );\n\t} );\n\n\t// Support: Chrome 105 - 111 only, Safari 15.4 - 16.3 only\n\t// Make sure the `:has()` argument is parsed unforgivingly.\n\t// We include `*` in the test to detect buggy implementations that are\n\t// _selectively_ forgiving (specifically when the list includes at least\n\t// one valid selector).\n\t// Note that we treat complete lack of support for `:has()` as if it were\n\t// spec-compliant support, which is fine because use of `:has()` in such\n\t// environments will fail in the qSA path and fall back to jQuery traversal\n\t// anyway.\n\tsupport.cssHas = assert( function() {\n\t\ttry {\n\t\t\tdocument.querySelector( \":has(*,:jqfake)\" );\n\t\t\treturn false;\n\t\t} catch ( e ) {\n\t\t\treturn true;\n\t\t}\n\t} );\n\n\t// ID filter and find\n\tif ( support.getById ) {\n\t\tExpr.filter.ID = function( id ) {\n\t\t\tvar attrId = id.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\treturn elem.getAttribute( \"id\" ) === attrId;\n\t\t\t};\n\t\t};\n\t\tExpr.find.ID = function( id, context ) {\n\t\t\tif ( typeof context.getElementById !== \"undefined\" && documentIsHTML ) {\n\t\t\t\tvar elem = context.getElementById( id );\n\t\t\t\treturn elem ? [ elem ] : [];\n\t\t\t}\n\t\t};\n\t} else {\n\t\tExpr.filter.ID =  function( id ) {\n\t\t\tvar attrId = id.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\tvar node = typeof elem.getAttributeNode !== \"undefined\" &&\n\t\t\t\t\telem.getAttributeNode( \"id\" );\n\t\t\t\treturn node && node.value === attrId;\n\t\t\t};\n\t\t};\n\n\t\t// Support: IE 6 - 7 only\n\t\t// getElementById is not reliable as a find shortcut\n\t\tExpr.find.ID = function( id, context ) {\n\t\t\tif ( typeof context.getElementById !== \"undefined\" && documentIsHTML ) {\n\t\t\t\tvar node, i, elems,\n\t\t\t\t\telem = context.getElementById( id );\n\n\t\t\t\tif ( elem ) {\n\n\t\t\t\t\t// Verify the id attribute\n\t\t\t\t\tnode = elem.getAttributeNode( \"id\" );\n\t\t\t\t\tif ( node && node.value === id ) {\n\t\t\t\t\t\treturn [ elem ];\n\t\t\t\t\t}\n\n\t\t\t\t\t// Fall back on getElementsByName\n\t\t\t\t\telems = context.getElementsByName( id );\n\t\t\t\t\ti = 0;\n\t\t\t\t\twhile ( ( elem = elems[ i++ ] ) ) {\n\t\t\t\t\t\tnode = elem.getAttributeNode( \"id\" );\n\t\t\t\t\t\tif ( node && node.value === id ) {\n\t\t\t\t\t\t\treturn [ elem ];\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn [];\n\t\t\t}\n\t\t};\n\t}\n\n\t// Tag\n\tExpr.find.TAG = function( tag, context ) {\n\t\tif ( typeof context.getElementsByTagName !== \"undefined\" ) {\n\t\t\treturn context.getElementsByTagName( tag );\n\n\t\t// DocumentFragment nodes don't have gEBTN\n\t\t} else {\n\t\t\treturn context.querySelectorAll( tag );\n\t\t}\n\t};\n\n\t// Class\n\tExpr.find.CLASS = function( className, context ) {\n\t\tif ( typeof context.getElementsByClassName !== \"undefined\" && documentIsHTML ) {\n\t\t\treturn context.getElementsByClassName( className );\n\t\t}\n\t};\n\n\t/* QSA/matchesSelector\n\t---------------------------------------------------------------------- */\n\n\t// QSA and matchesSelector support\n\n\trbuggyQSA = [];\n\n\t// Build QSA regex\n\t// Regex strategy adopted from Diego Perini\n\tassert( function( el ) {\n\n\t\tvar input;\n\n\t\tdocumentElement.appendChild( el ).innerHTML =\n\t\t\t\"<a id='\" + expando + \"' href='' disabled='disabled'></a>\" +\n\t\t\t\"<select id='\" + expando + \"-\\r\\\\' disabled='disabled'>\" +\n\t\t\t\"<option selected=''></option></select>\";\n\n\t\t// Support: iOS <=7 - 8 only\n\t\t// Boolean attributes and \"value\" are not treated correctly in some XML documents\n\t\tif ( !el.querySelectorAll( \"[selected]\" ).length ) {\n\t\t\trbuggyQSA.push( \"\\\\[\" + whitespace + \"*(?:value|\" + booleans + \")\" );\n\t\t}\n\n\t\t// Support: iOS <=7 - 8 only\n\t\tif ( !el.querySelectorAll( \"[id~=\" + expando + \"-]\" ).length ) {\n\t\t\trbuggyQSA.push( \"~=\" );\n\t\t}\n\n\t\t// Support: iOS 8 only\n\t\t// https://bugs.webkit.org/show_bug.cgi?id=136851\n\t\t// In-page `selector#id sibling-combinator selector` fails\n\t\tif ( !el.querySelectorAll( \"a#\" + expando + \"+*\" ).length ) {\n\t\t\trbuggyQSA.push( \".#.+[+~]\" );\n\t\t}\n\n\t\t// Support: Chrome <=105+, Firefox <=104+, Safari <=15.4+\n\t\t// In some of the document kinds, these selectors wouldn't work natively.\n\t\t// This is probably OK but for backwards compatibility we want to maintain\n\t\t// handling them through jQuery traversal in jQuery 3.x.\n\t\tif ( !el.querySelectorAll( \":checked\" ).length ) {\n\t\t\trbuggyQSA.push( \":checked\" );\n\t\t}\n\n\t\t// Support: Windows 8 Native Apps\n\t\t// The type and name attributes are restricted during .innerHTML assignment\n\t\tinput = document.createElement( \"input\" );\n\t\tinput.setAttribute( \"type\", \"hidden\" );\n\t\tel.appendChild( input ).setAttribute( \"name\", \"D\" );\n\n\t\t// Support: IE 9 - 11+\n\t\t// IE's :disabled selector does not pick up the children of disabled fieldsets\n\t\t// Support: Chrome <=105+, Firefox <=104+, Safari <=15.4+\n\t\t// In some of the document kinds, these selectors wouldn't work natively.\n\t\t// This is probably OK but for backwards compatibility we want to maintain\n\t\t// handling them through jQuery traversal in jQuery 3.x.\n\t\tdocumentElement.appendChild( el ).disabled = true;\n\t\tif ( el.querySelectorAll( \":disabled\" ).length !== 2 ) {\n\t\t\trbuggyQSA.push( \":enabled\", \":disabled\" );\n\t\t}\n\n\t\t// Support: IE 11+, Edge 15 - 18+\n\t\t// IE 11/Edge don't find elements on a `[name='']` query in some cases.\n\t\t// Adding a temporary attribute to the document before the selection works\n\t\t// around the issue.\n\t\t// Interestingly, IE 10 & older don't seem to have the issue.\n\t\tinput = document.createElement( \"input\" );\n\t\tinput.setAttribute( \"name\", \"\" );\n\t\tel.appendChild( input );\n\t\tif ( !el.querySelectorAll( \"[name='']\" ).length ) {\n\t\t\trbuggyQSA.push( \"\\\\[\" + whitespace + \"*name\" + whitespace + \"*=\" +\n\t\t\t\twhitespace + \"*(?:''|\\\"\\\")\" );\n\t\t}\n\t} );\n\n\tif ( !support.cssHas ) {\n\n\t\t// Support: Chrome 105 - 110+, Safari 15.4 - 16.3+\n\t\t// Our regular `try-catch` mechanism fails to detect natively-unsupported\n\t\t// pseudo-classes inside `:has()` (such as `:has(:contains(\"Foo\"))`)\n\t\t// in browsers that parse the `:has()` argument as a forgiving selector list.\n\t\t// https://drafts.csswg.org/selectors/#relational now requires the argument\n\t\t// to be parsed unforgivingly, but browsers have not yet fully adjusted.\n\t\trbuggyQSA.push( \":has\" );\n\t}\n\n\trbuggyQSA = rbuggyQSA.length && new RegExp( rbuggyQSA.join( \"|\" ) );\n\n\t/* Sorting\n\t---------------------------------------------------------------------- */\n\n\t// Document order sorting\n\tsortOrder = function( a, b ) {\n\n\t\t// Flag for duplicate removal\n\t\tif ( a === b ) {\n\t\t\thasDuplicate = true;\n\t\t\treturn 0;\n\t\t}\n\n\t\t// Sort on method existence if only one input has compareDocumentPosition\n\t\tvar compare = !a.compareDocumentPosition - !b.compareDocumentPosition;\n\t\tif ( compare ) {\n\t\t\treturn compare;\n\t\t}\n\n\t\t// Calculate position if both inputs belong to the same document\n\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t// two documents; shallow comparisons work.\n\t\t// eslint-disable-next-line eqeqeq\n\t\tcompare = ( a.ownerDocument || a ) == ( b.ownerDocument || b ) ?\n\t\t\ta.compareDocumentPosition( b ) :\n\n\t\t\t// Otherwise we know they are disconnected\n\t\t\t1;\n\n\t\t// Disconnected nodes\n\t\tif ( compare & 1 ||\n\t\t\t( !support.sortDetached && b.compareDocumentPosition( a ) === compare ) ) {\n\n\t\t\t// Choose the first element that is related to our preferred document\n\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t// two documents; shallow comparisons work.\n\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\tif ( a === document || a.ownerDocument == preferredDoc &&\n\t\t\t\tfind.contains( preferredDoc, a ) ) {\n\t\t\t\treturn -1;\n\t\t\t}\n\n\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t// two documents; shallow comparisons work.\n\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\tif ( b === document || b.ownerDocument == preferredDoc &&\n\t\t\t\tfind.contains( preferredDoc, b ) ) {\n\t\t\t\treturn 1;\n\t\t\t}\n\n\t\t\t// Maintain original order\n\t\t\treturn sortInput ?\n\t\t\t\t( indexOf.call( sortInput, a ) - indexOf.call( sortInput, b ) ) :\n\t\t\t\t0;\n\t\t}\n\n\t\treturn compare & 4 ? -1 : 1;\n\t};\n\n\treturn document;\n}\n\nfind.matches = function( expr, elements ) {\n\treturn find( expr, null, null, elements );\n};\n\nfind.matchesSelector = function( elem, expr ) {\n\tsetDocument( elem );\n\n\tif ( documentIsHTML &&\n\t\t!nonnativeSelectorCache[ expr + \" \" ] &&\n\t\t( !rbuggyQSA || !rbuggyQSA.test( expr ) ) ) {\n\n\t\ttry {\n\t\t\tvar ret = matches.call( elem, expr );\n\n\t\t\t// IE 9's matchesSelector returns false on disconnected nodes\n\t\t\tif ( ret || support.disconnectedMatch ||\n\n\t\t\t\t\t// As well, disconnected nodes are said to be in a document\n\t\t\t\t\t// fragment in IE 9\n\t\t\t\t\telem.document && elem.document.nodeType !== 11 ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\t\t} catch ( e ) {\n\t\t\tnonnativeSelectorCache( expr, true );\n\t\t}\n\t}\n\n\treturn find( expr, document, null, [ elem ] ).length > 0;\n};\n\nfind.contains = function( context, elem ) {\n\n\t// Set document vars if needed\n\t// Support: IE 11+, Edge 17 - 18+\n\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t// two documents; shallow comparisons work.\n\t// eslint-disable-next-line eqeqeq\n\tif ( ( context.ownerDocument || context ) != document ) {\n\t\tsetDocument( context );\n\t}\n\treturn jQuery.contains( context, elem );\n};\n\n\nfind.attr = function( elem, name ) {\n\n\t// Set document vars if needed\n\t// Support: IE 11+, Edge 17 - 18+\n\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t// two documents; shallow comparisons work.\n\t// eslint-disable-next-line eqeqeq\n\tif ( ( elem.ownerDocument || elem ) != document ) {\n\t\tsetDocument( elem );\n\t}\n\n\tvar fn = Expr.attrHandle[ name.toLowerCase() ],\n\n\t\t// Don't get fooled by Object.prototype properties (see trac-13807)\n\t\tval = fn && hasOwn.call( Expr.attrHandle, name.toLowerCase() ) ?\n\t\t\tfn( elem, name, !documentIsHTML ) :\n\t\t\tundefined;\n\n\tif ( val !== undefined ) {\n\t\treturn val;\n\t}\n\n\treturn elem.getAttribute( name );\n};\n\nfind.error = function( msg ) {\n\tthrow new Error( \"Syntax error, unrecognized expression: \" + msg );\n};\n\n/**\n * Document sorting and removing duplicates\n * @param {ArrayLike} results\n */\njQuery.uniqueSort = function( results ) {\n\tvar elem,\n\t\tduplicates = [],\n\t\tj = 0,\n\t\ti = 0;\n\n\t// Unless we *know* we can detect duplicates, assume their presence\n\t//\n\t// Support: Android <=4.0+\n\t// Testing for detecting duplicates is unpredictable so instead assume we can't\n\t// depend on duplicate detection in all browsers without a stable sort.\n\thasDuplicate = !support.sortStable;\n\tsortInput = !support.sortStable && slice.call( results, 0 );\n\tsort.call( results, sortOrder );\n\n\tif ( hasDuplicate ) {\n\t\twhile ( ( elem = results[ i++ ] ) ) {\n\t\t\tif ( elem === results[ i ] ) {\n\t\t\t\tj = duplicates.push( i );\n\t\t\t}\n\t\t}\n\t\twhile ( j-- ) {\n\t\t\tsplice.call( results, duplicates[ j ], 1 );\n\t\t}\n\t}\n\n\t// Clear input after sorting to release objects\n\t// See https://github.com/jquery/sizzle/pull/225\n\tsortInput = null;\n\n\treturn results;\n};\n\njQuery.fn.uniqueSort = function() {\n\treturn this.pushStack( jQuery.uniqueSort( slice.apply( this ) ) );\n};\n\nExpr = jQuery.expr = {\n\n\t// Can be adjusted by the user\n\tcacheLength: 50,\n\n\tcreatePseudo: markFunction,\n\n\tmatch: matchExpr,\n\n\tattrHandle: {},\n\n\tfind: {},\n\n\trelative: {\n\t\t\">\": { dir: \"parentNode\", first: true },\n\t\t\" \": { dir: \"parentNode\" },\n\t\t\"+\": { dir: \"previousSibling\", first: true },\n\t\t\"~\": { dir: \"previousSibling\" }\n\t},\n\n\tpreFilter: {\n\t\tATTR: function( match ) {\n\t\t\tmatch[ 1 ] = match[ 1 ].replace( runescape, funescape );\n\n\t\t\t// Move the given value to match[3] whether quoted or unquoted\n\t\t\tmatch[ 3 ] = ( match[ 3 ] || match[ 4 ] || match[ 5 ] || \"\" )\n\t\t\t\t.replace( runescape, funescape );\n\n\t\t\tif ( match[ 2 ] === \"~=\" ) {\n\t\t\t\tmatch[ 3 ] = \" \" + match[ 3 ] + \" \";\n\t\t\t}\n\n\t\t\treturn match.slice( 0, 4 );\n\t\t},\n\n\t\tCHILD: function( match ) {\n\n\t\t\t/* matches from matchExpr[\"CHILD\"]\n\t\t\t\t1 type (only|nth|...)\n\t\t\t\t2 what (child|of-type)\n\t\t\t\t3 argument (even|odd|\\d*|\\d*n([+-]\\d+)?|...)\n\t\t\t\t4 xn-component of xn+y argument ([+-]?\\d*n|)\n\t\t\t\t5 sign of xn-component\n\t\t\t\t6 x of xn-component\n\t\t\t\t7 sign of y-component\n\t\t\t\t8 y of y-component\n\t\t\t*/\n\t\t\tmatch[ 1 ] = match[ 1 ].toLowerCase();\n\n\t\t\tif ( match[ 1 ].slice( 0, 3 ) === \"nth\" ) {\n\n\t\t\t\t// nth-* requires argument\n\t\t\t\tif ( !match[ 3 ] ) {\n\t\t\t\t\tfind.error( match[ 0 ] );\n\t\t\t\t}\n\n\t\t\t\t// numeric x and y parameters for Expr.filter.CHILD\n\t\t\t\t// remember that false/true cast respectively to 0/1\n\t\t\t\tmatch[ 4 ] = +( match[ 4 ] ?\n\t\t\t\t\tmatch[ 5 ] + ( match[ 6 ] || 1 ) :\n\t\t\t\t\t2 * ( match[ 3 ] === \"even\" || match[ 3 ] === \"odd\" )\n\t\t\t\t);\n\t\t\t\tmatch[ 5 ] = +( ( match[ 7 ] + match[ 8 ] ) || match[ 3 ] === \"odd\" );\n\n\t\t\t// other types prohibit arguments\n\t\t\t} else if ( match[ 3 ] ) {\n\t\t\t\tfind.error( match[ 0 ] );\n\t\t\t}\n\n\t\t\treturn match;\n\t\t},\n\n\t\tPSEUDO: function( match ) {\n\t\t\tvar excess,\n\t\t\t\tunquoted = !match[ 6 ] && match[ 2 ];\n\n\t\t\tif ( matchExpr.CHILD.test( match[ 0 ] ) ) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\t// Accept quoted arguments as-is\n\t\t\tif ( match[ 3 ] ) {\n\t\t\t\tmatch[ 2 ] = match[ 4 ] || match[ 5 ] || \"\";\n\n\t\t\t// Strip excess characters from unquoted arguments\n\t\t\t} else if ( unquoted && rpseudo.test( unquoted ) &&\n\n\t\t\t\t// Get excess from tokenize (recursively)\n\t\t\t\t( excess = tokenize( unquoted, true ) ) &&\n\n\t\t\t\t// advance to the next closing parenthesis\n\t\t\t\t( excess = unquoted.indexOf( \")\", unquoted.length - excess ) - unquoted.length ) ) {\n\n\t\t\t\t// excess is a negative index\n\t\t\t\tmatch[ 0 ] = match[ 0 ].slice( 0, excess );\n\t\t\t\tmatch[ 2 ] = unquoted.slice( 0, excess );\n\t\t\t}\n\n\t\t\t// Return only captures needed by the pseudo filter method (type and argument)\n\t\t\treturn match.slice( 0, 3 );\n\t\t}\n\t},\n\n\tfilter: {\n\n\t\tTAG: function( nodeNameSelector ) {\n\t\t\tvar expectedNodeName = nodeNameSelector.replace( runescape, funescape ).toLowerCase();\n\t\t\treturn nodeNameSelector === \"*\" ?\n\t\t\t\tfunction() {\n\t\t\t\t\treturn true;\n\t\t\t\t} :\n\t\t\t\tfunction( elem ) {\n\t\t\t\t\treturn nodeName( elem, expectedNodeName );\n\t\t\t\t};\n\t\t},\n\n\t\tCLASS: function( className ) {\n\t\t\tvar pattern = classCache[ className + \" \" ];\n\n\t\t\treturn pattern ||\n\t\t\t\t( pattern = new RegExp( \"(^|\" + whitespace + \")\" + className +\n\t\t\t\t\t\"(\" + whitespace + \"|$)\" ) ) &&\n\t\t\t\tclassCache( className, function( elem ) {\n\t\t\t\t\treturn pattern.test(\n\t\t\t\t\t\ttypeof elem.className === \"string\" && elem.className ||\n\t\t\t\t\t\t\ttypeof elem.getAttribute !== \"undefined\" &&\n\t\t\t\t\t\t\t\telem.getAttribute( \"class\" ) ||\n\t\t\t\t\t\t\t\"\"\n\t\t\t\t\t);\n\t\t\t\t} );\n\t\t},\n\n\t\tATTR: function( name, operator, check ) {\n\t\t\treturn function( elem ) {\n\t\t\t\tvar result = find.attr( elem, name );\n\n\t\t\t\tif ( result == null ) {\n\t\t\t\t\treturn operator === \"!=\";\n\t\t\t\t}\n\t\t\t\tif ( !operator ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\n\t\t\t\tresult += \"\";\n\n\t\t\t\tif ( operator === \"=\" ) {\n\t\t\t\t\treturn result === check;\n\t\t\t\t}\n\t\t\t\tif ( operator === \"!=\" ) {\n\t\t\t\t\treturn result !== check;\n\t\t\t\t}\n\t\t\t\tif ( operator === \"^=\" ) {\n\t\t\t\t\treturn check && result.indexOf( check ) === 0;\n\t\t\t\t}\n\t\t\t\tif ( operator === \"*=\" ) {\n\t\t\t\t\treturn check && result.indexOf( check ) > -1;\n\t\t\t\t}\n\t\t\t\tif ( operator === \"$=\" ) {\n\t\t\t\t\treturn check && result.slice( -check.length ) === check;\n\t\t\t\t}\n\t\t\t\tif ( operator === \"~=\" ) {\n\t\t\t\t\treturn ( \" \" + result.replace( rwhitespace, \" \" ) + \" \" )\n\t\t\t\t\t\t.indexOf( check ) > -1;\n\t\t\t\t}\n\t\t\t\tif ( operator === \"|=\" ) {\n\t\t\t\t\treturn result === check || result.slice( 0, check.length + 1 ) === check + \"-\";\n\t\t\t\t}\n\n\t\t\t\treturn false;\n\t\t\t};\n\t\t},\n\n\t\tCHILD: function( type, what, _argument, first, last ) {\n\t\t\tvar simple = type.slice( 0, 3 ) !== \"nth\",\n\t\t\t\tforward = type.slice( -4 ) !== \"last\",\n\t\t\t\tofType = what === \"of-type\";\n\n\t\t\treturn first === 1 && last === 0 ?\n\n\t\t\t\t// Shortcut for :nth-*(n)\n\t\t\t\tfunction( elem ) {\n\t\t\t\t\treturn !!elem.parentNode;\n\t\t\t\t} :\n\n\t\t\t\tfunction( elem, _context, xml ) {\n\t\t\t\t\tvar cache, outerCache, node, nodeIndex, start,\n\t\t\t\t\t\tdir = simple !== forward ? \"nextSibling\" : \"previousSibling\",\n\t\t\t\t\t\tparent = elem.parentNode,\n\t\t\t\t\t\tname = ofType && elem.nodeName.toLowerCase(),\n\t\t\t\t\t\tuseCache = !xml && !ofType,\n\t\t\t\t\t\tdiff = false;\n\n\t\t\t\t\tif ( parent ) {\n\n\t\t\t\t\t\t// :(first|last|only)-(child|of-type)\n\t\t\t\t\t\tif ( simple ) {\n\t\t\t\t\t\t\twhile ( dir ) {\n\t\t\t\t\t\t\t\tnode = elem;\n\t\t\t\t\t\t\t\twhile ( ( node = node[ dir ] ) ) {\n\t\t\t\t\t\t\t\t\tif ( ofType ?\n\t\t\t\t\t\t\t\t\t\tnodeName( node, name ) :\n\t\t\t\t\t\t\t\t\t\tnode.nodeType === 1 ) {\n\n\t\t\t\t\t\t\t\t\t\treturn false;\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t// Reverse direction for :only-* (if we haven't yet done so)\n\t\t\t\t\t\t\t\tstart = dir = type === \"only\" && !start && \"nextSibling\";\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\tstart = [ forward ? parent.firstChild : parent.lastChild ];\n\n\t\t\t\t\t\t// non-xml :nth-child(...) stores cache data on `parent`\n\t\t\t\t\t\tif ( forward && useCache ) {\n\n\t\t\t\t\t\t\t// Seek `elem` from a previously-cached index\n\t\t\t\t\t\t\touterCache = parent[ expando ] || ( parent[ expando ] = {} );\n\t\t\t\t\t\t\tcache = outerCache[ type ] || [];\n\t\t\t\t\t\t\tnodeIndex = cache[ 0 ] === dirruns && cache[ 1 ];\n\t\t\t\t\t\t\tdiff = nodeIndex && cache[ 2 ];\n\t\t\t\t\t\t\tnode = nodeIndex && parent.childNodes[ nodeIndex ];\n\n\t\t\t\t\t\t\twhile ( ( node = ++nodeIndex && node && node[ dir ] ||\n\n\t\t\t\t\t\t\t\t// Fallback to seeking `elem` from the start\n\t\t\t\t\t\t\t\t( diff = nodeIndex = 0 ) || start.pop() ) ) {\n\n\t\t\t\t\t\t\t\t// When found, cache indexes on `parent` and break\n\t\t\t\t\t\t\t\tif ( node.nodeType === 1 && ++diff && node === elem ) {\n\t\t\t\t\t\t\t\t\touterCache[ type ] = [ dirruns, nodeIndex, diff ];\n\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t// Use previously-cached element index if available\n\t\t\t\t\t\t\tif ( useCache ) {\n\t\t\t\t\t\t\t\touterCache = elem[ expando ] || ( elem[ expando ] = {} );\n\t\t\t\t\t\t\t\tcache = outerCache[ type ] || [];\n\t\t\t\t\t\t\t\tnodeIndex = cache[ 0 ] === dirruns && cache[ 1 ];\n\t\t\t\t\t\t\t\tdiff = nodeIndex;\n\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t// xml :nth-child(...)\n\t\t\t\t\t\t\t// or :nth-last-child(...) or :nth(-last)?-of-type(...)\n\t\t\t\t\t\t\tif ( diff === false ) {\n\n\t\t\t\t\t\t\t\t// Use the same loop as above to seek `elem` from the start\n\t\t\t\t\t\t\t\twhile ( ( node = ++nodeIndex && node && node[ dir ] ||\n\t\t\t\t\t\t\t\t\t( diff = nodeIndex = 0 ) || start.pop() ) ) {\n\n\t\t\t\t\t\t\t\t\tif ( ( ofType ?\n\t\t\t\t\t\t\t\t\t\tnodeName( node, name ) :\n\t\t\t\t\t\t\t\t\t\tnode.nodeType === 1 ) &&\n\t\t\t\t\t\t\t\t\t\t++diff ) {\n\n\t\t\t\t\t\t\t\t\t\t// Cache the index of each encountered element\n\t\t\t\t\t\t\t\t\t\tif ( useCache ) {\n\t\t\t\t\t\t\t\t\t\t\touterCache = node[ expando ] ||\n\t\t\t\t\t\t\t\t\t\t\t\t( node[ expando ] = {} );\n\t\t\t\t\t\t\t\t\t\t\touterCache[ type ] = [ dirruns, diff ];\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\tif ( node === elem ) {\n\t\t\t\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Incorporate the offset, then check against cycle size\n\t\t\t\t\t\tdiff -= last;\n\t\t\t\t\t\treturn diff === first || ( diff % first === 0 && diff / first >= 0 );\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t},\n\n\t\tPSEUDO: function( pseudo, argument ) {\n\n\t\t\t// pseudo-class names are case-insensitive\n\t\t\t// https://www.w3.org/TR/selectors/#pseudo-classes\n\t\t\t// Prioritize by case sensitivity in case custom pseudos are added with uppercase letters\n\t\t\t// Remember that setFilters inherits from pseudos\n\t\t\tvar args,\n\t\t\t\tfn = Expr.pseudos[ pseudo ] || Expr.setFilters[ pseudo.toLowerCase() ] ||\n\t\t\t\t\tfind.error( \"unsupported pseudo: \" + pseudo );\n\n\t\t\t// The user may use createPseudo to indicate that\n\t\t\t// arguments are needed to create the filter function\n\t\t\t// just as jQuery does\n\t\t\tif ( fn[ expando ] ) {\n\t\t\t\treturn fn( argument );\n\t\t\t}\n\n\t\t\t// But maintain support for old signatures\n\t\t\tif ( fn.length > 1 ) {\n\t\t\t\targs = [ pseudo, pseudo, \"\", argument ];\n\t\t\t\treturn Expr.setFilters.hasOwnProperty( pseudo.toLowerCase() ) ?\n\t\t\t\t\tmarkFunction( function( seed, matches ) {\n\t\t\t\t\t\tvar idx,\n\t\t\t\t\t\t\tmatched = fn( seed, argument ),\n\t\t\t\t\t\t\ti = matched.length;\n\t\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\t\tidx = indexOf.call( seed, matched[ i ] );\n\t\t\t\t\t\t\tseed[ idx ] = !( matches[ idx ] = matched[ i ] );\n\t\t\t\t\t\t}\n\t\t\t\t\t} ) :\n\t\t\t\t\tfunction( elem ) {\n\t\t\t\t\t\treturn fn( elem, 0, args );\n\t\t\t\t\t};\n\t\t\t}\n\n\t\t\treturn fn;\n\t\t}\n\t},\n\n\tpseudos: {\n\n\t\t// Potentially complex pseudos\n\t\tnot: markFunction( function( selector ) {\n\n\t\t\t// Trim the selector passed to compile\n\t\t\t// to avoid treating leading and trailing\n\t\t\t// spaces as combinators\n\t\t\tvar input = [],\n\t\t\t\tresults = [],\n\t\t\t\tmatcher = compile( selector.replace( rtrimCSS, \"$1\" ) );\n\n\t\t\treturn matcher[ expando ] ?\n\t\t\t\tmarkFunction( function( seed, matches, _context, xml ) {\n\t\t\t\t\tvar elem,\n\t\t\t\t\t\tunmatched = matcher( seed, null, xml, [] ),\n\t\t\t\t\t\ti = seed.length;\n\n\t\t\t\t\t// Match elements unmatched by `matcher`\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tif ( ( elem = unmatched[ i ] ) ) {\n\t\t\t\t\t\t\tseed[ i ] = !( matches[ i ] = elem );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} ) :\n\t\t\t\tfunction( elem, _context, xml ) {\n\t\t\t\t\tinput[ 0 ] = elem;\n\t\t\t\t\tmatcher( input, null, xml, results );\n\n\t\t\t\t\t// Don't keep the element\n\t\t\t\t\t// (see https://github.com/jquery/sizzle/issues/299)\n\t\t\t\t\tinput[ 0 ] = null;\n\t\t\t\t\treturn !results.pop();\n\t\t\t\t};\n\t\t} ),\n\n\t\thas: markFunction( function( selector ) {\n\t\t\treturn function( elem ) {\n\t\t\t\treturn find( selector, elem ).length > 0;\n\t\t\t};\n\t\t} ),\n\n\t\tcontains: markFunction( function( text ) {\n\t\t\ttext = text.replace( runescape, funescape );\n\t\t\treturn function( elem ) {\n\t\t\t\treturn ( elem.textContent || jQuery.text( elem ) ).indexOf( text ) > -1;\n\t\t\t};\n\t\t} ),\n\n\t\t// \"Whether an element is represented by a :lang() selector\n\t\t// is based solely on the element's language value\n\t\t// being equal to the identifier C,\n\t\t// or beginning with the identifier C immediately followed by \"-\".\n\t\t// The matching of C against the element's language value is performed case-insensitively.\n\t\t// The identifier C does not have to be a valid language name.\"\n\t\t// https://www.w3.org/TR/selectors/#lang-pseudo\n\t\tlang: markFunction( function( lang ) {\n\n\t\t\t// lang value must be a valid identifier\n\t\t\tif ( !ridentifier.test( lang || \"\" ) ) {\n\t\t\t\tfind.error( \"unsupported lang: \" + lang );\n\t\t\t}\n\t\t\tlang = lang.replace( runescape, funescape ).toLowerCase();\n\t\t\treturn function( elem ) {\n\t\t\t\tvar elemLang;\n\t\t\t\tdo {\n\t\t\t\t\tif ( ( elemLang = documentIsHTML ?\n\t\t\t\t\t\telem.lang :\n\t\t\t\t\t\telem.getAttribute( \"xml:lang\" ) || elem.getAttribute( \"lang\" ) ) ) {\n\n\t\t\t\t\t\telemLang = elemLang.toLowerCase();\n\t\t\t\t\t\treturn elemLang === lang || elemLang.indexOf( lang + \"-\" ) === 0;\n\t\t\t\t\t}\n\t\t\t\t} while ( ( elem = elem.parentNode ) && elem.nodeType === 1 );\n\t\t\t\treturn false;\n\t\t\t};\n\t\t} ),\n\n\t\t// Miscellaneous\n\t\ttarget: function( elem ) {\n\t\t\tvar hash = window.location && window.location.hash;\n\t\t\treturn hash && hash.slice( 1 ) === elem.id;\n\t\t},\n\n\t\troot: function( elem ) {\n\t\t\treturn elem === documentElement;\n\t\t},\n\n\t\tfocus: function( elem ) {\n\t\t\treturn elem === safeActiveElement() &&\n\t\t\t\tdocument.hasFocus() &&\n\t\t\t\t!!( elem.type || elem.href || ~elem.tabIndex );\n\t\t},\n\n\t\t// Boolean properties\n\t\tenabled: createDisabledPseudo( false ),\n\t\tdisabled: createDisabledPseudo( true ),\n\n\t\tchecked: function( elem ) {\n\n\t\t\t// In CSS3, :checked should return both checked and selected elements\n\t\t\t// https://www.w3.org/TR/2011/REC-css3-selectors-20110929/#checked\n\t\t\treturn ( nodeName( elem, \"input\" ) && !!elem.checked ) ||\n\t\t\t\t( nodeName( elem, \"option\" ) && !!elem.selected );\n\t\t},\n\n\t\tselected: function( elem ) {\n\n\t\t\t// Support: IE <=11+\n\t\t\t// Accessing the selectedIndex property\n\t\t\t// forces the browser to treat the default option as\n\t\t\t// selected when in an optgroup.\n\t\t\tif ( elem.parentNode ) {\n\t\t\t\t// eslint-disable-next-line no-unused-expressions\n\t\t\t\telem.parentNode.selectedIndex;\n\t\t\t}\n\n\t\t\treturn elem.selected === true;\n\t\t},\n\n\t\t// Contents\n\t\tempty: function( elem ) {\n\n\t\t\t// https://www.w3.org/TR/selectors/#empty-pseudo\n\t\t\t// :empty is negated by element (1) or content nodes (text: 3; cdata: 4; entity ref: 5),\n\t\t\t//   but not by others (comment: 8; processing instruction: 7; etc.)\n\t\t\t// nodeType < 6 works because attributes (2) do not appear as children\n\t\t\tfor ( elem = elem.firstChild; elem; elem = elem.nextSibling ) {\n\t\t\t\tif ( elem.nodeType < 6 ) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t},\n\n\t\tparent: function( elem ) {\n\t\t\treturn !Expr.pseudos.empty( elem );\n\t\t},\n\n\t\t// Element/input types\n\t\theader: function( elem ) {\n\t\t\treturn rheader.test( elem.nodeName );\n\t\t},\n\n\t\tinput: function( elem ) {\n\t\t\treturn rinputs.test( elem.nodeName );\n\t\t},\n\n\t\tbutton: function( elem ) {\n\t\t\treturn nodeName( elem, \"input\" ) && elem.type === \"button\" ||\n\t\t\t\tnodeName( elem, \"button\" );\n\t\t},\n\n\t\ttext: function( elem ) {\n\t\t\tvar attr;\n\t\t\treturn nodeName( elem, \"input\" ) && elem.type === \"text\" &&\n\n\t\t\t\t// Support: IE <10 only\n\t\t\t\t// New HTML5 attribute values (e.g., \"search\") appear\n\t\t\t\t// with elem.type === \"text\"\n\t\t\t\t( ( attr = elem.getAttribute( \"type\" ) ) == null ||\n\t\t\t\t\tattr.toLowerCase() === \"text\" );\n\t\t},\n\n\t\t// Position-in-collection\n\t\tfirst: createPositionalPseudo( function() {\n\t\t\treturn [ 0 ];\n\t\t} ),\n\n\t\tlast: createPositionalPseudo( function( _matchIndexes, length ) {\n\t\t\treturn [ length - 1 ];\n\t\t} ),\n\n\t\teq: createPositionalPseudo( function( _matchIndexes, length, argument ) {\n\t\t\treturn [ argument < 0 ? argument + length : argument ];\n\t\t} ),\n\n\t\teven: createPositionalPseudo( function( matchIndexes, length ) {\n\t\t\tvar i = 0;\n\t\t\tfor ( ; i < length; i += 2 ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t} ),\n\n\t\todd: createPositionalPseudo( function( matchIndexes, length ) {\n\t\t\tvar i = 1;\n\t\t\tfor ( ; i < length; i += 2 ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t} ),\n\n\t\tlt: createPositionalPseudo( function( matchIndexes, length, argument ) {\n\t\t\tvar i;\n\n\t\t\tif ( argument < 0 ) {\n\t\t\t\ti = argument + length;\n\t\t\t} else if ( argument > length ) {\n\t\t\t\ti = length;\n\t\t\t} else {\n\t\t\t\ti = argument;\n\t\t\t}\n\n\t\t\tfor ( ; --i >= 0; ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t} ),\n\n\t\tgt: createPositionalPseudo( function( matchIndexes, length, argument ) {\n\t\t\tvar i = argument < 0 ? argument + length : argument;\n\t\t\tfor ( ; ++i < length; ) {\n\t\t\t\tmatchIndexes.push( i );\n\t\t\t}\n\t\t\treturn matchIndexes;\n\t\t} )\n\t}\n};\n\nExpr.pseudos.nth = Expr.pseudos.eq;\n\n// Add button/input type pseudos\nfor ( i in { radio: true, checkbox: true, file: true, password: true, image: true } ) {\n\tExpr.pseudos[ i ] = createInputPseudo( i );\n}\nfor ( i in { submit: true, reset: true } ) {\n\tExpr.pseudos[ i ] = createButtonPseudo( i );\n}\n\n// Easy API for creating new setFilters\nfunction setFilters() {}\nsetFilters.prototype = Expr.filters = Expr.pseudos;\nExpr.setFilters = new setFilters();\n\nfunction tokenize( selector, parseOnly ) {\n\tvar matched, match, tokens, type,\n\t\tsoFar, groups, preFilters,\n\t\tcached = tokenCache[ selector + \" \" ];\n\n\tif ( cached ) {\n\t\treturn parseOnly ? 0 : cached.slice( 0 );\n\t}\n\n\tsoFar = selector;\n\tgroups = [];\n\tpreFilters = Expr.preFilter;\n\n\twhile ( soFar ) {\n\n\t\t// Comma and first run\n\t\tif ( !matched || ( match = rcomma.exec( soFar ) ) ) {\n\t\t\tif ( match ) {\n\n\t\t\t\t// Don't consume trailing commas as valid\n\t\t\t\tsoFar = soFar.slice( match[ 0 ].length ) || soFar;\n\t\t\t}\n\t\t\tgroups.push( ( tokens = [] ) );\n\t\t}\n\n\t\tmatched = false;\n\n\t\t// Combinators\n\t\tif ( ( match = rleadingCombinator.exec( soFar ) ) ) {\n\t\t\tmatched = match.shift();\n\t\t\ttokens.push( {\n\t\t\t\tvalue: matched,\n\n\t\t\t\t// Cast descendant combinators to space\n\t\t\t\ttype: match[ 0 ].replace( rtrimCSS, \" \" )\n\t\t\t} );\n\t\t\tsoFar = soFar.slice( matched.length );\n\t\t}\n\n\t\t// Filters\n\t\tfor ( type in Expr.filter ) {\n\t\t\tif ( ( match = matchExpr[ type ].exec( soFar ) ) && ( !preFilters[ type ] ||\n\t\t\t\t( match = preFilters[ type ]( match ) ) ) ) {\n\t\t\t\tmatched = match.shift();\n\t\t\t\ttokens.push( {\n\t\t\t\t\tvalue: matched,\n\t\t\t\t\ttype: type,\n\t\t\t\t\tmatches: match\n\t\t\t\t} );\n\t\t\t\tsoFar = soFar.slice( matched.length );\n\t\t\t}\n\t\t}\n\n\t\tif ( !matched ) {\n\t\t\tbreak;\n\t\t}\n\t}\n\n\t// Return the length of the invalid excess\n\t// if we're just parsing\n\t// Otherwise, throw an error or return tokens\n\tif ( parseOnly ) {\n\t\treturn soFar.length;\n\t}\n\n\treturn soFar ?\n\t\tfind.error( selector ) :\n\n\t\t// Cache the tokens\n\t\ttokenCache( selector, groups ).slice( 0 );\n}\n\nfunction toSelector( tokens ) {\n\tvar i = 0,\n\t\tlen = tokens.length,\n\t\tselector = \"\";\n\tfor ( ; i < len; i++ ) {\n\t\tselector += tokens[ i ].value;\n\t}\n\treturn selector;\n}\n\nfunction addCombinator( matcher, combinator, base ) {\n\tvar dir = combinator.dir,\n\t\tskip = combinator.next,\n\t\tkey = skip || dir,\n\t\tcheckNonElements = base && key === \"parentNode\",\n\t\tdoneName = done++;\n\n\treturn combinator.first ?\n\n\t\t// Check against closest ancestor/preceding element\n\t\tfunction( elem, context, xml ) {\n\t\t\twhile ( ( elem = elem[ dir ] ) ) {\n\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\treturn matcher( elem, context, xml );\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t} :\n\n\t\t// Check against all ancestor/preceding elements\n\t\tfunction( elem, context, xml ) {\n\t\t\tvar oldCache, outerCache,\n\t\t\t\tnewCache = [ dirruns, doneName ];\n\n\t\t\t// We can't set arbitrary data on XML nodes, so they don't benefit from combinator caching\n\t\t\tif ( xml ) {\n\t\t\t\twhile ( ( elem = elem[ dir ] ) ) {\n\t\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\t\tif ( matcher( elem, context, xml ) ) {\n\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\twhile ( ( elem = elem[ dir ] ) ) {\n\t\t\t\t\tif ( elem.nodeType === 1 || checkNonElements ) {\n\t\t\t\t\t\touterCache = elem[ expando ] || ( elem[ expando ] = {} );\n\n\t\t\t\t\t\tif ( skip && nodeName( elem, skip ) ) {\n\t\t\t\t\t\t\telem = elem[ dir ] || elem;\n\t\t\t\t\t\t} else if ( ( oldCache = outerCache[ key ] ) &&\n\t\t\t\t\t\t\toldCache[ 0 ] === dirruns && oldCache[ 1 ] === doneName ) {\n\n\t\t\t\t\t\t\t// Assign to newCache so results back-propagate to previous elements\n\t\t\t\t\t\t\treturn ( newCache[ 2 ] = oldCache[ 2 ] );\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t// Reuse newcache so results back-propagate to previous elements\n\t\t\t\t\t\t\touterCache[ key ] = newCache;\n\n\t\t\t\t\t\t\t// A match means we're done; a fail means we have to keep checking\n\t\t\t\t\t\t\tif ( ( newCache[ 2 ] = matcher( elem, context, xml ) ) ) {\n\t\t\t\t\t\t\t\treturn true;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn false;\n\t\t};\n}\n\nfunction elementMatcher( matchers ) {\n\treturn matchers.length > 1 ?\n\t\tfunction( elem, context, xml ) {\n\t\t\tvar i = matchers.length;\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( !matchers[ i ]( elem, context, xml ) ) {\n\t\t\t\t\treturn false;\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn true;\n\t\t} :\n\t\tmatchers[ 0 ];\n}\n\nfunction multipleContexts( selector, contexts, results ) {\n\tvar i = 0,\n\t\tlen = contexts.length;\n\tfor ( ; i < len; i++ ) {\n\t\tfind( selector, contexts[ i ], results );\n\t}\n\treturn results;\n}\n\nfunction condense( unmatched, map, filter, context, xml ) {\n\tvar elem,\n\t\tnewUnmatched = [],\n\t\ti = 0,\n\t\tlen = unmatched.length,\n\t\tmapped = map != null;\n\n\tfor ( ; i < len; i++ ) {\n\t\tif ( ( elem = unmatched[ i ] ) ) {\n\t\t\tif ( !filter || filter( elem, context, xml ) ) {\n\t\t\t\tnewUnmatched.push( elem );\n\t\t\t\tif ( mapped ) {\n\t\t\t\t\tmap.push( i );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn newUnmatched;\n}\n\nfunction setMatcher( preFilter, selector, matcher, postFilter, postFinder, postSelector ) {\n\tif ( postFilter && !postFilter[ expando ] ) {\n\t\tpostFilter = setMatcher( postFilter );\n\t}\n\tif ( postFinder && !postFinder[ expando ] ) {\n\t\tpostFinder = setMatcher( postFinder, postSelector );\n\t}\n\treturn markFunction( function( seed, results, context, xml ) {\n\t\tvar temp, i, elem, matcherOut,\n\t\t\tpreMap = [],\n\t\t\tpostMap = [],\n\t\t\tpreexisting = results.length,\n\n\t\t\t// Get initial elements from seed or context\n\t\t\telems = seed ||\n\t\t\t\tmultipleContexts( selector || \"*\",\n\t\t\t\t\tcontext.nodeType ? [ context ] : context, [] ),\n\n\t\t\t// Prefilter to get matcher input, preserving a map for seed-results synchronization\n\t\t\tmatcherIn = preFilter && ( seed || !selector ) ?\n\t\t\t\tcondense( elems, preMap, preFilter, context, xml ) :\n\t\t\t\telems;\n\n\t\tif ( matcher ) {\n\n\t\t\t// If we have a postFinder, or filtered seed, or non-seed postFilter\n\t\t\t// or preexisting results,\n\t\t\tmatcherOut = postFinder || ( seed ? preFilter : preexisting || postFilter ) ?\n\n\t\t\t\t// ...intermediate processing is necessary\n\t\t\t\t[] :\n\n\t\t\t\t// ...otherwise use results directly\n\t\t\t\tresults;\n\n\t\t\t// Find primary matches\n\t\t\tmatcher( matcherIn, matcherOut, context, xml );\n\t\t} else {\n\t\t\tmatcherOut = matcherIn;\n\t\t}\n\n\t\t// Apply postFilter\n\t\tif ( postFilter ) {\n\t\t\ttemp = condense( matcherOut, postMap );\n\t\t\tpostFilter( temp, [], context, xml );\n\n\t\t\t// Un-match failing elements by moving them back to matcherIn\n\t\t\ti = temp.length;\n\t\t\twhile ( i-- ) {\n\t\t\t\tif ( ( elem = temp[ i ] ) ) {\n\t\t\t\t\tmatcherOut[ postMap[ i ] ] = !( matcherIn[ postMap[ i ] ] = elem );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tif ( seed ) {\n\t\t\tif ( postFinder || preFilter ) {\n\t\t\t\tif ( postFinder ) {\n\n\t\t\t\t\t// Get the final matcherOut by condensing this intermediate into postFinder contexts\n\t\t\t\t\ttemp = [];\n\t\t\t\t\ti = matcherOut.length;\n\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\tif ( ( elem = matcherOut[ i ] ) ) {\n\n\t\t\t\t\t\t\t// Restore matcherIn since elem is not yet a final match\n\t\t\t\t\t\t\ttemp.push( ( matcherIn[ i ] = elem ) );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tpostFinder( null, ( matcherOut = [] ), temp, xml );\n\t\t\t\t}\n\n\t\t\t\t// Move matched elements from seed to results to keep them synchronized\n\t\t\t\ti = matcherOut.length;\n\t\t\t\twhile ( i-- ) {\n\t\t\t\t\tif ( ( elem = matcherOut[ i ] ) &&\n\t\t\t\t\t\t( temp = postFinder ? indexOf.call( seed, elem ) : preMap[ i ] ) > -1 ) {\n\n\t\t\t\t\t\tseed[ temp ] = !( results[ temp ] = elem );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Add elements to results, through postFinder if defined\n\t\t} else {\n\t\t\tmatcherOut = condense(\n\t\t\t\tmatcherOut === results ?\n\t\t\t\t\tmatcherOut.splice( preexisting, matcherOut.length ) :\n\t\t\t\t\tmatcherOut\n\t\t\t);\n\t\t\tif ( postFinder ) {\n\t\t\t\tpostFinder( null, results, matcherOut, xml );\n\t\t\t} else {\n\t\t\t\tpush.apply( results, matcherOut );\n\t\t\t}\n\t\t}\n\t} );\n}\n\nfunction matcherFromTokens( tokens ) {\n\tvar checkContext, matcher, j,\n\t\tlen = tokens.length,\n\t\tleadingRelative = Expr.relative[ tokens[ 0 ].type ],\n\t\timplicitRelative = leadingRelative || Expr.relative[ \" \" ],\n\t\ti = leadingRelative ? 1 : 0,\n\n\t\t// The foundational matcher ensures that elements are reachable from top-level context(s)\n\t\tmatchContext = addCombinator( function( elem ) {\n\t\t\treturn elem === checkContext;\n\t\t}, implicitRelative, true ),\n\t\tmatchAnyContext = addCombinator( function( elem ) {\n\t\t\treturn indexOf.call( checkContext, elem ) > -1;\n\t\t}, implicitRelative, true ),\n\t\tmatchers = [ function( elem, context, xml ) {\n\n\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t// two documents; shallow comparisons work.\n\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\tvar ret = ( !leadingRelative && ( xml || context != outermostContext ) ) || (\n\t\t\t\t( checkContext = context ).nodeType ?\n\t\t\t\t\tmatchContext( elem, context, xml ) :\n\t\t\t\t\tmatchAnyContext( elem, context, xml ) );\n\n\t\t\t// Avoid hanging onto element\n\t\t\t// (see https://github.com/jquery/sizzle/issues/299)\n\t\t\tcheckContext = null;\n\t\t\treturn ret;\n\t\t} ];\n\n\tfor ( ; i < len; i++ ) {\n\t\tif ( ( matcher = Expr.relative[ tokens[ i ].type ] ) ) {\n\t\t\tmatchers = [ addCombinator( elementMatcher( matchers ), matcher ) ];\n\t\t} else {\n\t\t\tmatcher = Expr.filter[ tokens[ i ].type ].apply( null, tokens[ i ].matches );\n\n\t\t\t// Return special upon seeing a positional matcher\n\t\t\tif ( matcher[ expando ] ) {\n\n\t\t\t\t// Find the next relative operator (if any) for proper handling\n\t\t\t\tj = ++i;\n\t\t\t\tfor ( ; j < len; j++ ) {\n\t\t\t\t\tif ( Expr.relative[ tokens[ j ].type ] ) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn setMatcher(\n\t\t\t\t\ti > 1 && elementMatcher( matchers ),\n\t\t\t\t\ti > 1 && toSelector(\n\n\t\t\t\t\t\t// If the preceding token was a descendant combinator, insert an implicit any-element `*`\n\t\t\t\t\t\ttokens.slice( 0, i - 1 )\n\t\t\t\t\t\t\t.concat( { value: tokens[ i - 2 ].type === \" \" ? \"*\" : \"\" } )\n\t\t\t\t\t).replace( rtrimCSS, \"$1\" ),\n\t\t\t\t\tmatcher,\n\t\t\t\t\ti < j && matcherFromTokens( tokens.slice( i, j ) ),\n\t\t\t\t\tj < len && matcherFromTokens( ( tokens = tokens.slice( j ) ) ),\n\t\t\t\t\tj < len && toSelector( tokens )\n\t\t\t\t);\n\t\t\t}\n\t\t\tmatchers.push( matcher );\n\t\t}\n\t}\n\n\treturn elementMatcher( matchers );\n}\n\nfunction matcherFromGroupMatchers( elementMatchers, setMatchers ) {\n\tvar bySet = setMatchers.length > 0,\n\t\tbyElement = elementMatchers.length > 0,\n\t\tsuperMatcher = function( seed, context, xml, results, outermost ) {\n\t\t\tvar elem, j, matcher,\n\t\t\t\tmatchedCount = 0,\n\t\t\t\ti = \"0\",\n\t\t\t\tunmatched = seed && [],\n\t\t\t\tsetMatched = [],\n\t\t\t\tcontextBackup = outermostContext,\n\n\t\t\t\t// We must always have either seed elements or outermost context\n\t\t\t\telems = seed || byElement && Expr.find.TAG( \"*\", outermost ),\n\n\t\t\t\t// Use integer dirruns iff this is the outermost matcher\n\t\t\t\tdirrunsUnique = ( dirruns += contextBackup == null ? 1 : Math.random() || 0.1 ),\n\t\t\t\tlen = elems.length;\n\n\t\t\tif ( outermost ) {\n\n\t\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t\t// two documents; shallow comparisons work.\n\t\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\t\toutermostContext = context == document || context || outermost;\n\t\t\t}\n\n\t\t\t// Add elements passing elementMatchers directly to results\n\t\t\t// Support: iOS <=7 - 9 only\n\t\t\t// Tolerate NodeList properties (IE: \"length\"; Safari: <number>) matching\n\t\t\t// elements by id. (see trac-14142)\n\t\t\tfor ( ; i !== len && ( elem = elems[ i ] ) != null; i++ ) {\n\t\t\t\tif ( byElement && elem ) {\n\t\t\t\t\tj = 0;\n\n\t\t\t\t\t// Support: IE 11+, Edge 17 - 18+\n\t\t\t\t\t// IE/Edge sometimes throw a \"Permission denied\" error when strict-comparing\n\t\t\t\t\t// two documents; shallow comparisons work.\n\t\t\t\t\t// eslint-disable-next-line eqeqeq\n\t\t\t\t\tif ( !context && elem.ownerDocument != document ) {\n\t\t\t\t\t\tsetDocument( elem );\n\t\t\t\t\t\txml = !documentIsHTML;\n\t\t\t\t\t}\n\t\t\t\t\twhile ( ( matcher = elementMatchers[ j++ ] ) ) {\n\t\t\t\t\t\tif ( matcher( elem, context || document, xml ) ) {\n\t\t\t\t\t\t\tpush.call( results, elem );\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif ( outermost ) {\n\t\t\t\t\t\tdirruns = dirrunsUnique;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Track unmatched elements for set filters\n\t\t\t\tif ( bySet ) {\n\n\t\t\t\t\t// They will have gone through all possible matchers\n\t\t\t\t\tif ( ( elem = !matcher && elem ) ) {\n\t\t\t\t\t\tmatchedCount--;\n\t\t\t\t\t}\n\n\t\t\t\t\t// Lengthen the array for every element, matched or not\n\t\t\t\t\tif ( seed ) {\n\t\t\t\t\t\tunmatched.push( elem );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// `i` is now the count of elements visited above, and adding it to `matchedCount`\n\t\t\t// makes the latter nonnegative.\n\t\t\tmatchedCount += i;\n\n\t\t\t// Apply set filters to unmatched elements\n\t\t\t// NOTE: This can be skipped if there are no unmatched elements (i.e., `matchedCount`\n\t\t\t// equals `i`), unless we didn't visit _any_ elements in the above loop because we have\n\t\t\t// no element matchers and no seed.\n\t\t\t// Incrementing an initially-string \"0\" `i` allows `i` to remain a string only in that\n\t\t\t// case, which will result in a \"00\" `matchedCount` that differs from `i` but is also\n\t\t\t// numerically zero.\n\t\t\tif ( bySet && i !== matchedCount ) {\n\t\t\t\tj = 0;\n\t\t\t\twhile ( ( matcher = setMatchers[ j++ ] ) ) {\n\t\t\t\t\tmatcher( unmatched, setMatched, context, xml );\n\t\t\t\t}\n\n\t\t\t\tif ( seed ) {\n\n\t\t\t\t\t// Reintegrate element matches to eliminate the need for sorting\n\t\t\t\t\tif ( matchedCount > 0 ) {\n\t\t\t\t\t\twhile ( i-- ) {\n\t\t\t\t\t\t\tif ( !( unmatched[ i ] || setMatched[ i ] ) ) {\n\t\t\t\t\t\t\t\tsetMatched[ i ] = pop.call( results );\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\t// Discard index placeholder values to get only actual matches\n\t\t\t\t\tsetMatched = condense( setMatched );\n\t\t\t\t}\n\n\t\t\t\t// Add matches to results\n\t\t\t\tpush.apply( results, setMatched );\n\n\t\t\t\t// Seedless set matches succeeding multiple successful matchers stipulate sorting\n\t\t\t\tif ( outermost && !seed && setMatched.length > 0 &&\n\t\t\t\t\t( matchedCount + setMatchers.length ) > 1 ) {\n\n\t\t\t\t\tjQuery.uniqueSort( results );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Override manipulation of globals by nested matchers\n\t\t\tif ( outermost ) {\n\t\t\t\tdirruns = dirrunsUnique;\n\t\t\t\toutermostContext = contextBackup;\n\t\t\t}\n\n\t\t\treturn unmatched;\n\t\t};\n\n\treturn bySet ?\n\t\tmarkFunction( superMatcher ) :\n\t\tsuperMatcher;\n}\n\nfunction compile( selector, match /* Internal Use Only */ ) {\n\tvar i,\n\t\tsetMatchers = [],\n\t\telementMatchers = [],\n\t\tcached = compilerCache[ selector + \" \" ];\n\n\tif ( !cached ) {\n\n\t\t// Generate a function of recursive functions that can be used to check each element\n\t\tif ( !match ) {\n\t\t\tmatch = tokenize( selector );\n\t\t}\n\t\ti = match.length;\n\t\twhile ( i-- ) {\n\t\t\tcached = matcherFromTokens( match[ i ] );\n\t\t\tif ( cached[ expando ] ) {\n\t\t\t\tsetMatchers.push( cached );\n\t\t\t} else {\n\t\t\t\telementMatchers.push( cached );\n\t\t\t}\n\t\t}\n\n\t\t// Cache the compiled function\n\t\tcached = compilerCache( selector,\n\t\t\tmatcherFromGroupMatchers( elementMatchers, setMatchers ) );\n\n\t\t// Save selector and tokenization\n\t\tcached.selector = selector;\n\t}\n\treturn cached;\n}\n\n/**\n * A low-level selection function that works with jQuery's compiled\n *  selector functions\n * @param {String|Function} selector A selector or a pre-compiled\n *  selector function built with jQuery selector compile\n * @param {Element} context\n * @param {Array} [results]\n * @param {Array} [seed] A set of elements to match against\n */\nfunction select( selector, context, results, seed ) {\n\tvar i, tokens, token, type, find,\n\t\tcompiled = typeof selector === \"function\" && selector,\n\t\tmatch = !seed && tokenize( ( selector = compiled.selector || selector ) );\n\n\tresults = results || [];\n\n\t// Try to minimize operations if there is only one selector in the list and no seed\n\t// (the latter of which guarantees us context)\n\tif ( match.length === 1 ) {\n\n\t\t// Reduce context if the leading compound selector is an ID\n\t\ttokens = match[ 0 ] = match[ 0 ].slice( 0 );\n\t\tif ( tokens.length > 2 && ( token = tokens[ 0 ] ).type === \"ID\" &&\n\t\t\t\tcontext.nodeType === 9 && documentIsHTML && Expr.relative[ tokens[ 1 ].type ] ) {\n\n\t\t\tcontext = ( Expr.find.ID(\n\t\t\t\ttoken.matches[ 0 ].replace( runescape, funescape ),\n\t\t\t\tcontext\n\t\t\t) || [] )[ 0 ];\n\t\t\tif ( !context ) {\n\t\t\t\treturn results;\n\n\t\t\t// Precompiled matchers will still verify ancestry, so step up a level\n\t\t\t} else if ( compiled ) {\n\t\t\t\tcontext = context.parentNode;\n\t\t\t}\n\n\t\t\tselector = selector.slice( tokens.shift().value.length );\n\t\t}\n\n\t\t// Fetch a seed set for right-to-left matching\n\t\ti = matchExpr.needsContext.test( selector ) ? 0 : tokens.length;\n\t\twhile ( i-- ) {\n\t\t\ttoken = tokens[ i ];\n\n\t\t\t// Abort if we hit a combinator\n\t\t\tif ( Expr.relative[ ( type = token.type ) ] ) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif ( ( find = Expr.find[ type ] ) ) {\n\n\t\t\t\t// Search, expanding context for leading sibling combinators\n\t\t\t\tif ( ( seed = find(\n\t\t\t\t\ttoken.matches[ 0 ].replace( runescape, funescape ),\n\t\t\t\t\trsibling.test( tokens[ 0 ].type ) &&\n\t\t\t\t\t\ttestContext( context.parentNode ) || context\n\t\t\t\t) ) ) {\n\n\t\t\t\t\t// If seed is empty or no tokens remain, we can return early\n\t\t\t\t\ttokens.splice( i, 1 );\n\t\t\t\t\tselector = seed.length && toSelector( tokens );\n\t\t\t\t\tif ( !selector ) {\n\t\t\t\t\t\tpush.apply( results, seed );\n\t\t\t\t\t\treturn results;\n\t\t\t\t\t}\n\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// Compile and execute a filtering function if one is not provided\n\t// Provide `match` to avoid retokenization if we modified the selector above\n\t( compiled || compile( selector, match ) )(\n\t\tseed,\n\t\tcontext,\n\t\t!documentIsHTML,\n\t\tresults,\n\t\t!context || rsibling.test( selector ) && testContext( context.parentNode ) || context\n\t);\n\treturn results;\n}\n\n// One-time assignments\n\n// Support: Android <=4.0 - 4.1+\n// Sort stability\nsupport.sortStable = expando.split( \"\" ).sort( sortOrder ).join( \"\" ) === expando;\n\n// Initialize against the default document\nsetDocument();\n\n// Support: Android <=4.0 - 4.1+\n// Detached nodes confoundingly follow *each other*\nsupport.sortDetached = assert( function( el ) {\n\n\t// Should return 1, but returns 4 (following)\n\treturn el.compareDocumentPosition( document.createElement( \"fieldset\" ) ) & 1;\n} );\n\njQuery.find = find;\n\n// Deprecated\njQuery.expr[ \":\" ] = jQuery.expr.pseudos;\njQuery.unique = jQuery.uniqueSort;\n\n// These have always been private, but they used to be documented as part of\n// Sizzle so let's maintain them for now for backwards compatibility purposes.\nfind.compile = compile;\nfind.select = select;\nfind.setDocument = setDocument;\nfind.tokenize = tokenize;\n\nfind.escape = jQuery.escapeSelector;\nfind.getText = jQuery.text;\nfind.isXML = jQuery.isXMLDoc;\nfind.selectors = jQuery.expr;\nfind.support = jQuery.support;\nfind.uniqueSort = jQuery.uniqueSort;\n\n\t/* eslint-enable */\n\n} )();\n\n\nvar dir = function( elem, dir, until ) {\n\tvar matched = [],\n\t\ttruncate = until !== undefined;\n\n\twhile ( ( elem = elem[ dir ] ) && elem.nodeType !== 9 ) {\n\t\tif ( elem.nodeType === 1 ) {\n\t\t\tif ( truncate && jQuery( elem ).is( until ) ) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tmatched.push( elem );\n\t\t}\n\t}\n\treturn matched;\n};\n\n\nvar siblings = function( n, elem ) {\n\tvar matched = [];\n\n\tfor ( ; n; n = n.nextSibling ) {\n\t\tif ( n.nodeType === 1 && n !== elem ) {\n\t\t\tmatched.push( n );\n\t\t}\n\t}\n\n\treturn matched;\n};\n\n\nvar rneedsContext = jQuery.expr.match.needsContext;\n\nvar rsingleTag = ( /^<([a-z][^\\/\\0>:\\x20\\t\\r\\n\\f]*)[\\x20\\t\\r\\n\\f]*\\/?>(?:<\\/\\1>|)$/i );\n\n\n\n// Implement the identical functionality for filter and not\nfunction winnow( elements, qualifier, not ) {\n\tif ( isFunction( qualifier ) ) {\n\t\treturn jQuery.grep( elements, function( elem, i ) {\n\t\t\treturn !!qualifier.call( elem, i, elem ) !== not;\n\t\t} );\n\t}\n\n\t// Single element\n\tif ( qualifier.nodeType ) {\n\t\treturn jQuery.grep( elements, function( elem ) {\n\t\t\treturn ( elem === qualifier ) !== not;\n\t\t} );\n\t}\n\n\t// Arraylike of elements (jQuery, arguments, Array)\n\tif ( typeof qualifier !== \"string\" ) {\n\t\treturn jQuery.grep( elements, function( elem ) {\n\t\t\treturn ( indexOf.call( qualifier, elem ) > -1 ) !== not;\n\t\t} );\n\t}\n\n\t// Filtered directly for both simple and complex selectors\n\treturn jQuery.filter( qualifier, elements, not );\n}\n\njQuery.filter = function( expr, elems, not ) {\n\tvar elem = elems[ 0 ];\n\n\tif ( not ) {\n\t\texpr = \":not(\" + expr + \")\";\n\t}\n\n\tif ( elems.length === 1 && elem.nodeType === 1 ) {\n\t\treturn jQuery.find.matchesSelector( elem, expr ) ? [ elem ] : [];\n\t}\n\n\treturn jQuery.find.matches( expr, jQuery.grep( elems, function( elem ) {\n\t\treturn elem.nodeType === 1;\n\t} ) );\n};\n\njQuery.fn.extend( {\n\tfind: function( selector ) {\n\t\tvar i, ret,\n\t\t\tlen = this.length,\n\t\t\tself = this;\n\n\t\tif ( typeof selector !== \"string\" ) {\n\t\t\treturn this.pushStack( jQuery( selector ).filter( function() {\n\t\t\t\tfor ( i = 0; i < len; i++ ) {\n\t\t\t\t\tif ( jQuery.contains( self[ i ], this ) ) {\n\t\t\t\t\t\treturn true;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} ) );\n\t\t}\n\n\t\tret = this.pushStack( [] );\n\n\t\tfor ( i = 0; i < len; i++ ) {\n\t\t\tjQuery.find( selector, self[ i ], ret );\n\t\t}\n\n\t\treturn len > 1 ? jQuery.uniqueSort( ret ) : ret;\n\t},\n\tfilter: function( selector ) {\n\t\treturn this.pushStack( winnow( this, selector || [], false ) );\n\t},\n\tnot: function( selector ) {\n\t\treturn this.pushStack( winnow( this, selector || [], true ) );\n\t},\n\tis: function( selector ) {\n\t\treturn !!winnow(\n\t\t\tthis,\n\n\t\t\t// If this is a positional/relative selector, check membership in the returned set\n\t\t\t// so $(\"p:first\").is(\"p:last\") won't return true for a doc with two \"p\".\n\t\t\ttypeof selector === \"string\" && rneedsContext.test( selector ) ?\n\t\t\t\tjQuery( selector ) :\n\t\t\t\tselector || [],\n\t\t\tfalse\n\t\t).length;\n\t}\n} );\n\n\n// Initialize a jQuery object\n\n\n// A central reference to the root jQuery(document)\nvar rootjQuery,\n\n\t// A simple way to check for HTML strings\n\t// Prioritize #id over <tag> to avoid XSS via location.hash (trac-9521)\n\t// Strict HTML recognition (trac-11290: must start with <)\n\t// Shortcut simple #id case for speed\n\trquickExpr = /^(?:\\s*(<[\\w\\W]+>)[^>]*|#([\\w-]+))$/,\n\n\tinit = jQuery.fn.init = function( selector, context, root ) {\n\t\tvar match, elem;\n\n\t\t// HANDLE: $(\"\"), $(null), $(undefined), $(false)\n\t\tif ( !selector ) {\n\t\t\treturn this;\n\t\t}\n\n\t\t// Method init() accepts an alternate rootjQuery\n\t\t// so migrate can support jQuery.sub (gh-2101)\n\t\troot = root || rootjQuery;\n\n\t\t// Handle HTML strings\n\t\tif ( typeof selector === \"string\" ) {\n\t\t\tif ( selector[ 0 ] === \"<\" &&\n\t\t\t\tselector[ selector.length - 1 ] === \">\" &&\n\t\t\t\tselector.length >= 3 ) {\n\n\t\t\t\t// Assume that strings that start and end with <> are HTML and skip the regex check\n\t\t\t\tmatch = [ null, selector, null ];\n\n\t\t\t} else {\n\t\t\t\tmatch = rquickExpr.exec( selector );\n\t\t\t}\n\n\t\t\t// Match html or make sure no context is specified for #id\n\t\t\tif ( match && ( match[ 1 ] || !context ) ) {\n\n\t\t\t\t// HANDLE: $(html) -> $(array)\n\t\t\t\tif ( match[ 1 ] ) {\n\t\t\t\t\tcontext = context instanceof jQuery ? context[ 0 ] : context;\n\n\t\t\t\t\t// Option to run scripts is true for back-compat\n\t\t\t\t\t// Intentionally let the error be thrown if parseHTML is not present\n\t\t\t\t\tjQuery.merge( this, jQuery.parseHTML(\n\t\t\t\t\t\tmatch[ 1 ],\n\t\t\t\t\t\tcontext && context.nodeType ? context.ownerDocument || context : document,\n\t\t\t\t\t\ttrue\n\t\t\t\t\t) );\n\n\t\t\t\t\t// HANDLE: $(html, props)\n\t\t\t\t\tif ( rsingleTag.test( match[ 1 ] ) && jQuery.isPlainObject( context ) ) {\n\t\t\t\t\t\tfor ( match in context ) {\n\n\t\t\t\t\t\t\t// Properties of context are called as methods if possible\n\t\t\t\t\t\t\tif ( isFunction( this[ match ] ) ) {\n\t\t\t\t\t\t\t\tthis[ match ]( context[ match ] );\n\n\t\t\t\t\t\t\t// ...and otherwise set as attributes\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tthis.attr( match, context[ match ] );\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\treturn this;\n\n\t\t\t\t// HANDLE: $(#id)\n\t\t\t\t} else {\n\t\t\t\t\telem = document.getElementById( match[ 2 ] );\n\n\t\t\t\t\tif ( elem ) {\n\n\t\t\t\t\t\t// Inject the element directly into the jQuery object\n\t\t\t\t\t\tthis[ 0 ] = elem;\n\t\t\t\t\t\tthis.length = 1;\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\n\t\t\t// HANDLE: $(expr, $(...))\n\t\t\t} else if ( !context || context.jquery ) {\n\t\t\t\treturn ( context || root ).find( selector );\n\n\t\t\t// HANDLE: $(expr, context)\n\t\t\t// (which is just equivalent to: $(context).find(expr)\n\t\t\t} else {\n\t\t\t\treturn this.constructor( context ).find( selector );\n\t\t\t}\n\n\t\t// HANDLE: $(DOMElement)\n\t\t} else if ( selector.nodeType ) {\n\t\t\tthis[ 0 ] = selector;\n\t\t\tthis.length = 1;\n\t\t\treturn this;\n\n\t\t// HANDLE: $(function)\n\t\t// Shortcut for document ready\n\t\t} else if ( isFunction( selector ) ) {\n\t\t\treturn root.ready !== undefined ?\n\t\t\t\troot.ready( selector ) :\n\n\t\t\t\t// Execute immediately if ready is not present\n\t\t\t\tselector( jQuery );\n\t\t}\n\n\t\treturn jQuery.makeArray( selector, this );\n\t};\n\n// Give the init function the jQuery prototype for later instantiation\ninit.prototype = jQuery.fn;\n\n// Initialize central reference\nrootjQuery = jQuery( document );\n\n\nvar rparentsprev = /^(?:parents|prev(?:Until|All))/,\n\n\t// Methods guaranteed to produce a unique set when starting from a unique set\n\tguaranteedUnique = {\n\t\tchildren: true,\n\t\tcontents: true,\n\t\tnext: true,\n\t\tprev: true\n\t};\n\njQuery.fn.extend( {\n\thas: function( target ) {\n\t\tvar targets = jQuery( target, this ),\n\t\t\tl = targets.length;\n\n\t\treturn this.filter( function() {\n\t\t\tvar i = 0;\n\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\tif ( jQuery.contains( this, targets[ i ] ) ) {\n\t\t\t\t\treturn true;\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t},\n\n\tclosest: function( selectors, context ) {\n\t\tvar cur,\n\t\t\ti = 0,\n\t\t\tl = this.length,\n\t\t\tmatched = [],\n\t\t\ttargets = typeof selectors !== \"string\" && jQuery( selectors );\n\n\t\t// Positional selectors never match, since there's no _selection_ context\n\t\tif ( !rneedsContext.test( selectors ) ) {\n\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\tfor ( cur = this[ i ]; cur && cur !== context; cur = cur.parentNode ) {\n\n\t\t\t\t\t// Always skip document fragments\n\t\t\t\t\tif ( cur.nodeType < 11 && ( targets ?\n\t\t\t\t\t\ttargets.index( cur ) > -1 :\n\n\t\t\t\t\t\t// Don't pass non-elements to jQuery#find\n\t\t\t\t\t\tcur.nodeType === 1 &&\n\t\t\t\t\t\t\tjQuery.find.matchesSelector( cur, selectors ) ) ) {\n\n\t\t\t\t\t\tmatched.push( cur );\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn this.pushStack( matched.length > 1 ? jQuery.uniqueSort( matched ) : matched );\n\t},\n\n\t// Determine the position of an element within the set\n\tindex: function( elem ) {\n\n\t\t// No argument, return index in parent\n\t\tif ( !elem ) {\n\t\t\treturn ( this[ 0 ] && this[ 0 ].parentNode ) ? this.first().prevAll().length : -1;\n\t\t}\n\n\t\t// Index in selector\n\t\tif ( typeof elem === \"string\" ) {\n\t\t\treturn indexOf.call( jQuery( elem ), this[ 0 ] );\n\t\t}\n\n\t\t// Locate the position of the desired element\n\t\treturn indexOf.call( this,\n\n\t\t\t// If it receives a jQuery object, the first element is used\n\t\t\telem.jquery ? elem[ 0 ] : elem\n\t\t);\n\t},\n\n\tadd: function( selector, context ) {\n\t\treturn this.pushStack(\n\t\t\tjQuery.uniqueSort(\n\t\t\t\tjQuery.merge( this.get(), jQuery( selector, context ) )\n\t\t\t)\n\t\t);\n\t},\n\n\taddBack: function( selector ) {\n\t\treturn this.add( selector == null ?\n\t\t\tthis.prevObject : this.prevObject.filter( selector )\n\t\t);\n\t}\n} );\n\nfunction sibling( cur, dir ) {\n\twhile ( ( cur = cur[ dir ] ) && cur.nodeType !== 1 ) {}\n\treturn cur;\n}\n\njQuery.each( {\n\tparent: function( elem ) {\n\t\tvar parent = elem.parentNode;\n\t\treturn parent && parent.nodeType !== 11 ? parent : null;\n\t},\n\tparents: function( elem ) {\n\t\treturn dir( elem, \"parentNode\" );\n\t},\n\tparentsUntil: function( elem, _i, until ) {\n\t\treturn dir( elem, \"parentNode\", until );\n\t},\n\tnext: function( elem ) {\n\t\treturn sibling( elem, \"nextSibling\" );\n\t},\n\tprev: function( elem ) {\n\t\treturn sibling( elem, \"previousSibling\" );\n\t},\n\tnextAll: function( elem ) {\n\t\treturn dir( elem, \"nextSibling\" );\n\t},\n\tprevAll: function( elem ) {\n\t\treturn dir( elem, \"previousSibling\" );\n\t},\n\tnextUntil: function( elem, _i, until ) {\n\t\treturn dir( elem, \"nextSibling\", until );\n\t},\n\tprevUntil: function( elem, _i, until ) {\n\t\treturn dir( elem, \"previousSibling\", until );\n\t},\n\tsiblings: function( elem ) {\n\t\treturn siblings( ( elem.parentNode || {} ).firstChild, elem );\n\t},\n\tchildren: function( elem ) {\n\t\treturn siblings( elem.firstChild );\n\t},\n\tcontents: function( elem ) {\n\t\tif ( elem.contentDocument != null &&\n\n\t\t\t// Support: IE 11+\n\t\t\t// <object> elements with no `data` attribute has an object\n\t\t\t// `contentDocument` with a `null` prototype.\n\t\t\tgetProto( elem.contentDocument ) ) {\n\n\t\t\treturn elem.contentDocument;\n\t\t}\n\n\t\t// Support: IE 9 - 11 only, iOS 7 only, Android Browser <=4.3 only\n\t\t// Treat the template element as a regular one in browsers that\n\t\t// don't support it.\n\t\tif ( nodeName( elem, \"template\" ) ) {\n\t\t\telem = elem.content || elem;\n\t\t}\n\n\t\treturn jQuery.merge( [], elem.childNodes );\n\t}\n}, function( name, fn ) {\n\tjQuery.fn[ name ] = function( until, selector ) {\n\t\tvar matched = jQuery.map( this, fn, until );\n\n\t\tif ( name.slice( -5 ) !== \"Until\" ) {\n\t\t\tselector = until;\n\t\t}\n\n\t\tif ( selector && typeof selector === \"string\" ) {\n\t\t\tmatched = jQuery.filter( selector, matched );\n\t\t}\n\n\t\tif ( this.length > 1 ) {\n\n\t\t\t// Remove duplicates\n\t\t\tif ( !guaranteedUnique[ name ] ) {\n\t\t\t\tjQuery.uniqueSort( matched );\n\t\t\t}\n\n\t\t\t// Reverse order for parents* and prev-derivatives\n\t\t\tif ( rparentsprev.test( name ) ) {\n\t\t\t\tmatched.reverse();\n\t\t\t}\n\t\t}\n\n\t\treturn this.pushStack( matched );\n\t};\n} );\nvar rnothtmlwhite = ( /[^\\x20\\t\\r\\n\\f]+/g );\n\n\n\n// Convert String-formatted options into Object-formatted ones\nfunction createOptions( options ) {\n\tvar object = {};\n\tjQuery.each( options.match( rnothtmlwhite ) || [], function( _, flag ) {\n\t\tobject[ flag ] = true;\n\t} );\n\treturn object;\n}\n\n/*\n * Create a callback list using the following parameters:\n *\n *\toptions: an optional list of space-separated options that will change how\n *\t\t\tthe callback list behaves or a more traditional option object\n *\n * By default a callback list will act like an event callback list and can be\n * \"fired\" multiple times.\n *\n * Possible options:\n *\n *\tonce:\t\t\twill ensure the callback list can only be fired once (like a Deferred)\n *\n *\tmemory:\t\t\twill keep track of previous values and will call any callback added\n *\t\t\t\t\tafter the list has been fired right away with the latest \"memorized\"\n *\t\t\t\t\tvalues (like a Deferred)\n *\n *\tunique:\t\t\twill ensure a callback can only be added once (no duplicate in the list)\n *\n *\tstopOnFalse:\tinterrupt callings when a callback returns false\n *\n */\njQuery.Callbacks = function( options ) {\n\n\t// Convert options from String-formatted to Object-formatted if needed\n\t// (we check in cache first)\n\toptions = typeof options === \"string\" ?\n\t\tcreateOptions( options ) :\n\t\tjQuery.extend( {}, options );\n\n\tvar // Flag to know if list is currently firing\n\t\tfiring,\n\n\t\t// Last fire value for non-forgettable lists\n\t\tmemory,\n\n\t\t// Flag to know if list was already fired\n\t\tfired,\n\n\t\t// Flag to prevent firing\n\t\tlocked,\n\n\t\t// Actual callback list\n\t\tlist = [],\n\n\t\t// Queue of execution data for repeatable lists\n\t\tqueue = [],\n\n\t\t// Index of currently firing callback (modified by add/remove as needed)\n\t\tfiringIndex = -1,\n\n\t\t// Fire callbacks\n\t\tfire = function() {\n\n\t\t\t// Enforce single-firing\n\t\t\tlocked = locked || options.once;\n\n\t\t\t// Execute callbacks for all pending executions,\n\t\t\t// respecting firingIndex overrides and runtime changes\n\t\t\tfired = firing = true;\n\t\t\tfor ( ; queue.length; firingIndex = -1 ) {\n\t\t\t\tmemory = queue.shift();\n\t\t\t\twhile ( ++firingIndex < list.length ) {\n\n\t\t\t\t\t// Run callback and check for early termination\n\t\t\t\t\tif ( list[ firingIndex ].apply( memory[ 0 ], memory[ 1 ] ) === false &&\n\t\t\t\t\t\toptions.stopOnFalse ) {\n\n\t\t\t\t\t\t// Jump to end and forget the data so .add doesn't re-fire\n\t\t\t\t\t\tfiringIndex = list.length;\n\t\t\t\t\t\tmemory = false;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Forget the data if we're done with it\n\t\t\tif ( !options.memory ) {\n\t\t\t\tmemory = false;\n\t\t\t}\n\n\t\t\tfiring = false;\n\n\t\t\t// Clean up if we're done firing for good\n\t\t\tif ( locked ) {\n\n\t\t\t\t// Keep an empty list if we have data for future add calls\n\t\t\t\tif ( memory ) {\n\t\t\t\t\tlist = [];\n\n\t\t\t\t// Otherwise, this object is spent\n\t\t\t\t} else {\n\t\t\t\t\tlist = \"\";\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\n\t\t// Actual Callbacks object\n\t\tself = {\n\n\t\t\t// Add a callback or a collection of callbacks to the list\n\t\t\tadd: function() {\n\t\t\t\tif ( list ) {\n\n\t\t\t\t\t// If we have memory from a past run, we should fire after adding\n\t\t\t\t\tif ( memory && !firing ) {\n\t\t\t\t\t\tfiringIndex = list.length - 1;\n\t\t\t\t\t\tqueue.push( memory );\n\t\t\t\t\t}\n\n\t\t\t\t\t( function add( args ) {\n\t\t\t\t\t\tjQuery.each( args, function( _, arg ) {\n\t\t\t\t\t\t\tif ( isFunction( arg ) ) {\n\t\t\t\t\t\t\t\tif ( !options.unique || !self.has( arg ) ) {\n\t\t\t\t\t\t\t\t\tlist.push( arg );\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else if ( arg && arg.length && toType( arg ) !== \"string\" ) {\n\n\t\t\t\t\t\t\t\t// Inspect recursively\n\t\t\t\t\t\t\t\tadd( arg );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} );\n\t\t\t\t\t} )( arguments );\n\n\t\t\t\t\tif ( memory && !firing ) {\n\t\t\t\t\t\tfire();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Remove a callback from the list\n\t\t\tremove: function() {\n\t\t\t\tjQuery.each( arguments, function( _, arg ) {\n\t\t\t\t\tvar index;\n\t\t\t\t\twhile ( ( index = jQuery.inArray( arg, list, index ) ) > -1 ) {\n\t\t\t\t\t\tlist.splice( index, 1 );\n\n\t\t\t\t\t\t// Handle firing indexes\n\t\t\t\t\t\tif ( index <= firingIndex ) {\n\t\t\t\t\t\t\tfiringIndex--;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Check if a given callback is in the list.\n\t\t\t// If no argument is given, return whether or not list has callbacks attached.\n\t\t\thas: function( fn ) {\n\t\t\t\treturn fn ?\n\t\t\t\t\tjQuery.inArray( fn, list ) > -1 :\n\t\t\t\t\tlist.length > 0;\n\t\t\t},\n\n\t\t\t// Remove all callbacks from the list\n\t\t\tempty: function() {\n\t\t\t\tif ( list ) {\n\t\t\t\t\tlist = [];\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Disable .fire and .add\n\t\t\t// Abort any current/pending executions\n\t\t\t// Clear all callbacks and values\n\t\t\tdisable: function() {\n\t\t\t\tlocked = queue = [];\n\t\t\t\tlist = memory = \"\";\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\tdisabled: function() {\n\t\t\t\treturn !list;\n\t\t\t},\n\n\t\t\t// Disable .fire\n\t\t\t// Also disable .add unless we have memory (since it would have no effect)\n\t\t\t// Abort any pending executions\n\t\t\tlock: function() {\n\t\t\t\tlocked = queue = [];\n\t\t\t\tif ( !memory && !firing ) {\n\t\t\t\t\tlist = memory = \"\";\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\t\t\tlocked: function() {\n\t\t\t\treturn !!locked;\n\t\t\t},\n\n\t\t\t// Call all callbacks with the given context and arguments\n\t\t\tfireWith: function( context, args ) {\n\t\t\t\tif ( !locked ) {\n\t\t\t\t\targs = args || [];\n\t\t\t\t\targs = [ context, args.slice ? args.slice() : args ];\n\t\t\t\t\tqueue.push( args );\n\t\t\t\t\tif ( !firing ) {\n\t\t\t\t\t\tfire();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// Call all the callbacks with the given arguments\n\t\t\tfire: function() {\n\t\t\t\tself.fireWith( this, arguments );\n\t\t\t\treturn this;\n\t\t\t},\n\n\t\t\t// To know if the callbacks have already been called at least once\n\t\t\tfired: function() {\n\t\t\t\treturn !!fired;\n\t\t\t}\n\t\t};\n\n\treturn self;\n};\n\n\nfunction Identity( v ) {\n\treturn v;\n}\nfunction Thrower( ex ) {\n\tthrow ex;\n}\n\nfunction adoptValue( value, resolve, reject, noValue ) {\n\tvar method;\n\n\ttry {\n\n\t\t// Check for promise aspect first to privilege synchronous behavior\n\t\tif ( value && isFunction( ( method = value.promise ) ) ) {\n\t\t\tmethod.call( value ).done( resolve ).fail( reject );\n\n\t\t// Other thenables\n\t\t} else if ( value && isFunction( ( method = value.then ) ) ) {\n\t\t\tmethod.call( value, resolve, reject );\n\n\t\t// Other non-thenables\n\t\t} else {\n\n\t\t\t// Control `resolve` arguments by letting Array#slice cast boolean `noValue` to integer:\n\t\t\t// * false: [ value ].slice( 0 ) => resolve( value )\n\t\t\t// * true: [ value ].slice( 1 ) => resolve()\n\t\t\tresolve.apply( undefined, [ value ].slice( noValue ) );\n\t\t}\n\n\t// For Promises/A+, convert exceptions into rejections\n\t// Since jQuery.when doesn't unwrap thenables, we can skip the extra checks appearing in\n\t// Deferred#then to conditionally suppress rejection.\n\t} catch ( value ) {\n\n\t\t// Support: Android 4.0 only\n\t\t// Strict mode functions invoked without .call/.apply get global-object context\n\t\treject.apply( undefined, [ value ] );\n\t}\n}\n\njQuery.extend( {\n\n\tDeferred: function( func ) {\n\t\tvar tuples = [\n\n\t\t\t\t// action, add listener, callbacks,\n\t\t\t\t// ... .then handlers, argument index, [final state]\n\t\t\t\t[ \"notify\", \"progress\", jQuery.Callbacks( \"memory\" ),\n\t\t\t\t\tjQuery.Callbacks( \"memory\" ), 2 ],\n\t\t\t\t[ \"resolve\", \"done\", jQuery.Callbacks( \"once memory\" ),\n\t\t\t\t\tjQuery.Callbacks( \"once memory\" ), 0, \"resolved\" ],\n\t\t\t\t[ \"reject\", \"fail\", jQuery.Callbacks( \"once memory\" ),\n\t\t\t\t\tjQuery.Callbacks( \"once memory\" ), 1, \"rejected\" ]\n\t\t\t],\n\t\t\tstate = \"pending\",\n\t\t\tpromise = {\n\t\t\t\tstate: function() {\n\t\t\t\t\treturn state;\n\t\t\t\t},\n\t\t\t\talways: function() {\n\t\t\t\t\tdeferred.done( arguments ).fail( arguments );\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\t\t\t\t\"catch\": function( fn ) {\n\t\t\t\t\treturn promise.then( null, fn );\n\t\t\t\t},\n\n\t\t\t\t// Keep pipe for back-compat\n\t\t\t\tpipe: function( /* fnDone, fnFail, fnProgress */ ) {\n\t\t\t\t\tvar fns = arguments;\n\n\t\t\t\t\treturn jQuery.Deferred( function( newDefer ) {\n\t\t\t\t\t\tjQuery.each( tuples, function( _i, tuple ) {\n\n\t\t\t\t\t\t\t// Map tuples (progress, done, fail) to arguments (done, fail, progress)\n\t\t\t\t\t\t\tvar fn = isFunction( fns[ tuple[ 4 ] ] ) && fns[ tuple[ 4 ] ];\n\n\t\t\t\t\t\t\t// deferred.progress(function() { bind to newDefer or newDefer.notify })\n\t\t\t\t\t\t\t// deferred.done(function() { bind to newDefer or newDefer.resolve })\n\t\t\t\t\t\t\t// deferred.fail(function() { bind to newDefer or newDefer.reject })\n\t\t\t\t\t\t\tdeferred[ tuple[ 1 ] ]( function() {\n\t\t\t\t\t\t\t\tvar returned = fn && fn.apply( this, arguments );\n\t\t\t\t\t\t\t\tif ( returned && isFunction( returned.promise ) ) {\n\t\t\t\t\t\t\t\t\treturned.promise()\n\t\t\t\t\t\t\t\t\t\t.progress( newDefer.notify )\n\t\t\t\t\t\t\t\t\t\t.done( newDefer.resolve )\n\t\t\t\t\t\t\t\t\t\t.fail( newDefer.reject );\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tnewDefer[ tuple[ 0 ] + \"With\" ](\n\t\t\t\t\t\t\t\t\t\tthis,\n\t\t\t\t\t\t\t\t\t\tfn ? [ returned ] : arguments\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t} );\n\t\t\t\t\t\tfns = null;\n\t\t\t\t\t} ).promise();\n\t\t\t\t},\n\t\t\t\tthen: function( onFulfilled, onRejected, onProgress ) {\n\t\t\t\t\tvar maxDepth = 0;\n\t\t\t\t\tfunction resolve( depth, deferred, handler, special ) {\n\t\t\t\t\t\treturn function() {\n\t\t\t\t\t\t\tvar that = this,\n\t\t\t\t\t\t\t\targs = arguments,\n\t\t\t\t\t\t\t\tmightThrow = function() {\n\t\t\t\t\t\t\t\t\tvar returned, then;\n\n\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.3.3.3\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-59\n\t\t\t\t\t\t\t\t\t// Ignore double-resolution attempts\n\t\t\t\t\t\t\t\t\tif ( depth < maxDepth ) {\n\t\t\t\t\t\t\t\t\t\treturn;\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\treturned = handler.apply( that, args );\n\n\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.1\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-48\n\t\t\t\t\t\t\t\t\tif ( returned === deferred.promise() ) {\n\t\t\t\t\t\t\t\t\t\tthrow new TypeError( \"Thenable self-resolution\" );\n\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t// Support: Promises/A+ sections 2.3.3.1, 3.5\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-54\n\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-75\n\t\t\t\t\t\t\t\t\t// Retrieve `then` only once\n\t\t\t\t\t\t\t\t\tthen = returned &&\n\n\t\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.4\n\t\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-64\n\t\t\t\t\t\t\t\t\t\t// Only check objects and functions for thenability\n\t\t\t\t\t\t\t\t\t\t( typeof returned === \"object\" ||\n\t\t\t\t\t\t\t\t\t\t\ttypeof returned === \"function\" ) &&\n\t\t\t\t\t\t\t\t\t\treturned.then;\n\n\t\t\t\t\t\t\t\t\t// Handle a returned thenable\n\t\t\t\t\t\t\t\t\tif ( isFunction( then ) ) {\n\n\t\t\t\t\t\t\t\t\t\t// Special processors (notify) just wait for resolution\n\t\t\t\t\t\t\t\t\t\tif ( special ) {\n\t\t\t\t\t\t\t\t\t\t\tthen.call(\n\t\t\t\t\t\t\t\t\t\t\t\treturned,\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Identity, special ),\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Thrower, special )\n\t\t\t\t\t\t\t\t\t\t\t);\n\n\t\t\t\t\t\t\t\t\t\t// Normal processors (resolve) also hook into progress\n\t\t\t\t\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t\t\t\t\t// ...and disregard older resolution values\n\t\t\t\t\t\t\t\t\t\t\tmaxDepth++;\n\n\t\t\t\t\t\t\t\t\t\t\tthen.call(\n\t\t\t\t\t\t\t\t\t\t\t\treturned,\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Identity, special ),\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Thrower, special ),\n\t\t\t\t\t\t\t\t\t\t\t\tresolve( maxDepth, deferred, Identity,\n\t\t\t\t\t\t\t\t\t\t\t\t\tdeferred.notifyWith )\n\t\t\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t// Handle all other returned values\n\t\t\t\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t\t\t\t// Only substitute handlers pass on context\n\t\t\t\t\t\t\t\t\t\t// and multiple values (non-spec behavior)\n\t\t\t\t\t\t\t\t\t\tif ( handler !== Identity ) {\n\t\t\t\t\t\t\t\t\t\t\tthat = undefined;\n\t\t\t\t\t\t\t\t\t\t\targs = [ returned ];\n\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t// Process the value(s)\n\t\t\t\t\t\t\t\t\t\t// Default process is resolve\n\t\t\t\t\t\t\t\t\t\t( special || deferred.resolveWith )( that, args );\n\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t},\n\n\t\t\t\t\t\t\t\t// Only normal processors (resolve) catch and reject exceptions\n\t\t\t\t\t\t\t\tprocess = special ?\n\t\t\t\t\t\t\t\t\tmightThrow :\n\t\t\t\t\t\t\t\t\tfunction() {\n\t\t\t\t\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\t\t\t\t\tmightThrow();\n\t\t\t\t\t\t\t\t\t\t} catch ( e ) {\n\n\t\t\t\t\t\t\t\t\t\t\tif ( jQuery.Deferred.exceptionHook ) {\n\t\t\t\t\t\t\t\t\t\t\t\tjQuery.Deferred.exceptionHook( e,\n\t\t\t\t\t\t\t\t\t\t\t\t\tprocess.error );\n\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.3.3.4.1\n\t\t\t\t\t\t\t\t\t\t\t// https://promisesaplus.com/#point-61\n\t\t\t\t\t\t\t\t\t\t\t// Ignore post-resolution exceptions\n\t\t\t\t\t\t\t\t\t\t\tif ( depth + 1 >= maxDepth ) {\n\n\t\t\t\t\t\t\t\t\t\t\t\t// Only substitute handlers pass on context\n\t\t\t\t\t\t\t\t\t\t\t\t// and multiple values (non-spec behavior)\n\t\t\t\t\t\t\t\t\t\t\t\tif ( handler !== Thrower ) {\n\t\t\t\t\t\t\t\t\t\t\t\t\tthat = undefined;\n\t\t\t\t\t\t\t\t\t\t\t\t\targs = [ e ];\n\t\t\t\t\t\t\t\t\t\t\t\t}\n\n\t\t\t\t\t\t\t\t\t\t\t\tdeferred.rejectWith( that, args );\n\t\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\t\t};\n\n\t\t\t\t\t\t\t// Support: Promises/A+ section 2.3.3.3.1\n\t\t\t\t\t\t\t// https://promisesaplus.com/#point-57\n\t\t\t\t\t\t\t// Re-resolve promises immediately to dodge false rejection from\n\t\t\t\t\t\t\t// subsequent errors\n\t\t\t\t\t\t\tif ( depth ) {\n\t\t\t\t\t\t\t\tprocess();\n\t\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t\t// Call an optional hook to record the error, in case of exception\n\t\t\t\t\t\t\t\t// since it's otherwise lost when execution goes async\n\t\t\t\t\t\t\t\tif ( jQuery.Deferred.getErrorHook ) {\n\t\t\t\t\t\t\t\t\tprocess.error = jQuery.Deferred.getErrorHook();\n\n\t\t\t\t\t\t\t\t// The deprecated alias of the above. While the name suggests\n\t\t\t\t\t\t\t\t// returning the stack, not an error instance, jQuery just passes\n\t\t\t\t\t\t\t\t// it directly to `console.warn` so both will work; an instance\n\t\t\t\t\t\t\t\t// just better cooperates with source maps.\n\t\t\t\t\t\t\t\t} else if ( jQuery.Deferred.getStackHook ) {\n\t\t\t\t\t\t\t\t\tprocess.error = jQuery.Deferred.getStackHook();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\twindow.setTimeout( process );\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\treturn jQuery.Deferred( function( newDefer ) {\n\n\t\t\t\t\t\t// progress_handlers.add( ... )\n\t\t\t\t\t\ttuples[ 0 ][ 3 ].add(\n\t\t\t\t\t\t\tresolve(\n\t\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\t\tnewDefer,\n\t\t\t\t\t\t\t\tisFunction( onProgress ) ?\n\t\t\t\t\t\t\t\t\tonProgress :\n\t\t\t\t\t\t\t\t\tIdentity,\n\t\t\t\t\t\t\t\tnewDefer.notifyWith\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\t// fulfilled_handlers.add( ... )\n\t\t\t\t\t\ttuples[ 1 ][ 3 ].add(\n\t\t\t\t\t\t\tresolve(\n\t\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\t\tnewDefer,\n\t\t\t\t\t\t\t\tisFunction( onFulfilled ) ?\n\t\t\t\t\t\t\t\t\tonFulfilled :\n\t\t\t\t\t\t\t\t\tIdentity\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\n\t\t\t\t\t\t// rejected_handlers.add( ... )\n\t\t\t\t\t\ttuples[ 2 ][ 3 ].add(\n\t\t\t\t\t\t\tresolve(\n\t\t\t\t\t\t\t\t0,\n\t\t\t\t\t\t\t\tnewDefer,\n\t\t\t\t\t\t\t\tisFunction( onRejected ) ?\n\t\t\t\t\t\t\t\t\tonRejected :\n\t\t\t\t\t\t\t\t\tThrower\n\t\t\t\t\t\t\t)\n\t\t\t\t\t\t);\n\t\t\t\t\t} ).promise();\n\t\t\t\t},\n\n\t\t\t\t// Get a promise for this deferred\n\t\t\t\t// If obj is provided, the promise aspect is added to the object\n\t\t\t\tpromise: function( obj ) {\n\t\t\t\t\treturn obj != null ? jQuery.extend( obj, promise ) : promise;\n\t\t\t\t}\n\t\t\t},\n\t\t\tdeferred = {};\n\n\t\t// Add list-specific methods\n\t\tjQuery.each( tuples, function( i, tuple ) {\n\t\t\tvar list = tuple[ 2 ],\n\t\t\t\tstateString = tuple[ 5 ];\n\n\t\t\t// promise.progress = list.add\n\t\t\t// promise.done = list.add\n\t\t\t// promise.fail = list.add\n\t\t\tpromise[ tuple[ 1 ] ] = list.add;\n\n\t\t\t// Handle state\n\t\t\tif ( stateString ) {\n\t\t\t\tlist.add(\n\t\t\t\t\tfunction() {\n\n\t\t\t\t\t\t// state = \"resolved\" (i.e., fulfilled)\n\t\t\t\t\t\t// state = \"rejected\"\n\t\t\t\t\t\tstate = stateString;\n\t\t\t\t\t},\n\n\t\t\t\t\t// rejected_callbacks.disable\n\t\t\t\t\t// fulfilled_callbacks.disable\n\t\t\t\t\ttuples[ 3 - i ][ 2 ].disable,\n\n\t\t\t\t\t// rejected_handlers.disable\n\t\t\t\t\t// fulfilled_handlers.disable\n\t\t\t\t\ttuples[ 3 - i ][ 3 ].disable,\n\n\t\t\t\t\t// progress_callbacks.lock\n\t\t\t\t\ttuples[ 0 ][ 2 ].lock,\n\n\t\t\t\t\t// progress_handlers.lock\n\t\t\t\t\ttuples[ 0 ][ 3 ].lock\n\t\t\t\t);\n\t\t\t}\n\n\t\t\t// progress_handlers.fire\n\t\t\t// fulfilled_handlers.fire\n\t\t\t// rejected_handlers.fire\n\t\t\tlist.add( tuple[ 3 ].fire );\n\n\t\t\t// deferred.notify = function() { deferred.notifyWith(...) }\n\t\t\t// deferred.resolve = function() { deferred.resolveWith(...) }\n\t\t\t// deferred.reject = function() { deferred.rejectWith(...) }\n\t\t\tdeferred[ tuple[ 0 ] ] = function() {\n\t\t\t\tdeferred[ tuple[ 0 ] + \"With\" ]( this === deferred ? undefined : this, arguments );\n\t\t\t\treturn this;\n\t\t\t};\n\n\t\t\t// deferred.notifyWith = list.fireWith\n\t\t\t// deferred.resolveWith = list.fireWith\n\t\t\t// deferred.rejectWith = list.fireWith\n\t\t\tdeferred[ tuple[ 0 ] + \"With\" ] = list.fireWith;\n\t\t} );\n\n\t\t// Make the deferred a promise\n\t\tpromise.promise( deferred );\n\n\t\t// Call given func if any\n\t\tif ( func ) {\n\t\t\tfunc.call( deferred, deferred );\n\t\t}\n\n\t\t// All done!\n\t\treturn deferred;\n\t},\n\n\t// Deferred helper\n\twhen: function( singleValue ) {\n\t\tvar\n\n\t\t\t// count of uncompleted subordinates\n\t\t\tremaining = arguments.length,\n\n\t\t\t// count of unprocessed arguments\n\t\t\ti = remaining,\n\n\t\t\t// subordinate fulfillment data\n\t\t\tresolveContexts = Array( i ),\n\t\t\tresolveValues = slice.call( arguments ),\n\n\t\t\t// the primary Deferred\n\t\t\tprimary = jQuery.Deferred(),\n\n\t\t\t// subordinate callback factory\n\t\t\tupdateFunc = function( i ) {\n\t\t\t\treturn function( value ) {\n\t\t\t\t\tresolveContexts[ i ] = this;\n\t\t\t\t\tresolveValues[ i ] = arguments.length > 1 ? slice.call( arguments ) : value;\n\t\t\t\t\tif ( !( --remaining ) ) {\n\t\t\t\t\t\tprimary.resolveWith( resolveContexts, resolveValues );\n\t\t\t\t\t}\n\t\t\t\t};\n\t\t\t};\n\n\t\t// Single- and empty arguments are adopted like Promise.resolve\n\t\tif ( remaining <= 1 ) {\n\t\t\tadoptValue( singleValue, primary.done( updateFunc( i ) ).resolve, primary.reject,\n\t\t\t\t!remaining );\n\n\t\t\t// Use .then() to unwrap secondary thenables (cf. gh-3000)\n\t\t\tif ( primary.state() === \"pending\" ||\n\t\t\t\tisFunction( resolveValues[ i ] && resolveValues[ i ].then ) ) {\n\n\t\t\t\treturn primary.then();\n\t\t\t}\n\t\t}\n\n\t\t// Multiple arguments are aggregated like Promise.all array elements\n\t\twhile ( i-- ) {\n\t\t\tadoptValue( resolveValues[ i ], updateFunc( i ), primary.reject );\n\t\t}\n\n\t\treturn primary.promise();\n\t}\n} );\n\n\n// These usually indicate a programmer mistake during development,\n// warn about them ASAP rather than swallowing them by default.\nvar rerrorNames = /^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;\n\n// If `jQuery.Deferred.getErrorHook` is defined, `asyncError` is an error\n// captured before the async barrier to get the original error cause\n// which may otherwise be hidden.\njQuery.Deferred.exceptionHook = function( error, asyncError ) {\n\n\t// Support: IE 8 - 9 only\n\t// Console exists when dev tools are open, which can happen at any time\n\tif ( window.console && window.console.warn && error && rerrorNames.test( error.name ) ) {\n\t\twindow.console.warn( \"jQuery.Deferred exception: \" + error.message,\n\t\t\terror.stack, asyncError );\n\t}\n};\n\n\n\n\njQuery.readyException = function( error ) {\n\twindow.setTimeout( function() {\n\t\tthrow error;\n\t} );\n};\n\n\n\n\n// The deferred used on DOM ready\nvar readyList = jQuery.Deferred();\n\njQuery.fn.ready = function( fn ) {\n\n\treadyList\n\t\t.then( fn )\n\n\t\t// Wrap jQuery.readyException in a function so that the lookup\n\t\t// happens at the time of error handling instead of callback\n\t\t// registration.\n\t\t.catch( function( error ) {\n\t\t\tjQuery.readyException( error );\n\t\t} );\n\n\treturn this;\n};\n\njQuery.extend( {\n\n\t// Is the DOM ready to be used? Set to true once it occurs.\n\tisReady: false,\n\n\t// A counter to track how many items to wait for before\n\t// the ready event fires. See trac-6781\n\treadyWait: 1,\n\n\t// Handle when the DOM is ready\n\tready: function( wait ) {\n\n\t\t// Abort if there are pending holds or we're already ready\n\t\tif ( wait === true ? --jQuery.readyWait : jQuery.isReady ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Remember that the DOM is ready\n\t\tjQuery.isReady = true;\n\n\t\t// If a normal DOM Ready event fired, decrement, and wait if need be\n\t\tif ( wait !== true && --jQuery.readyWait > 0 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// If there are functions bound, to execute\n\t\treadyList.resolveWith( document, [ jQuery ] );\n\t}\n} );\n\njQuery.ready.then = readyList.then;\n\n// The ready event handler and self cleanup method\nfunction completed() {\n\tdocument.removeEventListener( \"DOMContentLoaded\", completed );\n\twindow.removeEventListener( \"load\", completed );\n\tjQuery.ready();\n}\n\n// Catch cases where $(document).ready() is called\n// after the browser event has already occurred.\n// Support: IE <=9 - 10 only\n// Older IE sometimes signals \"interactive\" too soon\nif ( document.readyState === \"complete\" ||\n\t( document.readyState !== \"loading\" && !document.documentElement.doScroll ) ) {\n\n\t// Handle it asynchronously to allow scripts the opportunity to delay ready\n\twindow.setTimeout( jQuery.ready );\n\n} else {\n\n\t// Use the handy event callback\n\tdocument.addEventListener( \"DOMContentLoaded\", completed );\n\n\t// A fallback to window.onload, that will always work\n\twindow.addEventListener( \"load\", completed );\n}\n\n\n\n\n// Multifunctional method to get and set values of a collection\n// The value/s can optionally be executed if it's a function\nvar access = function( elems, fn, key, value, chainable, emptyGet, raw ) {\n\tvar i = 0,\n\t\tlen = elems.length,\n\t\tbulk = key == null;\n\n\t// Sets many values\n\tif ( toType( key ) === \"object\" ) {\n\t\tchainable = true;\n\t\tfor ( i in key ) {\n\t\t\taccess( elems, fn, i, key[ i ], true, emptyGet, raw );\n\t\t}\n\n\t// Sets one value\n\t} else if ( value !== undefined ) {\n\t\tchainable = true;\n\n\t\tif ( !isFunction( value ) ) {\n\t\t\traw = true;\n\t\t}\n\n\t\tif ( bulk ) {\n\n\t\t\t// Bulk operations run against the entire set\n\t\t\tif ( raw ) {\n\t\t\t\tfn.call( elems, value );\n\t\t\t\tfn = null;\n\n\t\t\t// ...except when executing function values\n\t\t\t} else {\n\t\t\t\tbulk = fn;\n\t\t\t\tfn = function( elem, _key, value ) {\n\t\t\t\t\treturn bulk.call( jQuery( elem ), value );\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\n\t\tif ( fn ) {\n\t\t\tfor ( ; i < len; i++ ) {\n\t\t\t\tfn(\n\t\t\t\t\telems[ i ], key, raw ?\n\t\t\t\t\t\tvalue :\n\t\t\t\t\t\tvalue.call( elems[ i ], i, fn( elems[ i ], key ) )\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t}\n\n\tif ( chainable ) {\n\t\treturn elems;\n\t}\n\n\t// Gets\n\tif ( bulk ) {\n\t\treturn fn.call( elems );\n\t}\n\n\treturn len ? fn( elems[ 0 ], key ) : emptyGet;\n};\n\n\n// Matches dashed string for camelizing\nvar rmsPrefix = /^-ms-/,\n\trdashAlpha = /-([a-z])/g;\n\n// Used by camelCase as callback to replace()\nfunction fcamelCase( _all, letter ) {\n\treturn letter.toUpperCase();\n}\n\n// Convert dashed to camelCase; used by the css and data modules\n// Support: IE <=9 - 11, Edge 12 - 15\n// Microsoft forgot to hump their vendor prefix (trac-9572)\nfunction camelCase( string ) {\n\treturn string.replace( rmsPrefix, \"ms-\" ).replace( rdashAlpha, fcamelCase );\n}\nvar acceptData = function( owner ) {\n\n\t// Accepts only:\n\t//  - Node\n\t//    - Node.ELEMENT_NODE\n\t//    - Node.DOCUMENT_NODE\n\t//  - Object\n\t//    - Any\n\treturn owner.nodeType === 1 || owner.nodeType === 9 || !( +owner.nodeType );\n};\n\n\n\n\nfunction Data() {\n\tthis.expando = jQuery.expando + Data.uid++;\n}\n\nData.uid = 1;\n\nData.prototype = {\n\n\tcache: function( owner ) {\n\n\t\t// Check if the owner object already has a cache\n\t\tvar value = owner[ this.expando ];\n\n\t\t// If not, create one\n\t\tif ( !value ) {\n\t\t\tvalue = {};\n\n\t\t\t// We can accept data for non-element nodes in modern browsers,\n\t\t\t// but we should not, see trac-8335.\n\t\t\t// Always return an empty object.\n\t\t\tif ( acceptData( owner ) ) {\n\n\t\t\t\t// If it is a node unlikely to be stringify-ed or looped over\n\t\t\t\t// use plain assignment\n\t\t\t\tif ( owner.nodeType ) {\n\t\t\t\t\towner[ this.expando ] = value;\n\n\t\t\t\t// Otherwise secure it in a non-enumerable property\n\t\t\t\t// configurable must be true to allow the property to be\n\t\t\t\t// deleted when data is removed\n\t\t\t\t} else {\n\t\t\t\t\tObject.defineProperty( owner, this.expando, {\n\t\t\t\t\t\tvalue: value,\n\t\t\t\t\t\tconfigurable: true\n\t\t\t\t\t} );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn value;\n\t},\n\tset: function( owner, data, value ) {\n\t\tvar prop,\n\t\t\tcache = this.cache( owner );\n\n\t\t// Handle: [ owner, key, value ] args\n\t\t// Always use camelCase key (gh-2257)\n\t\tif ( typeof data === \"string\" ) {\n\t\t\tcache[ camelCase( data ) ] = value;\n\n\t\t// Handle: [ owner, { properties } ] args\n\t\t} else {\n\n\t\t\t// Copy the properties one-by-one to the cache object\n\t\t\tfor ( prop in data ) {\n\t\t\t\tcache[ camelCase( prop ) ] = data[ prop ];\n\t\t\t}\n\t\t}\n\t\treturn cache;\n\t},\n\tget: function( owner, key ) {\n\t\treturn key === undefined ?\n\t\t\tthis.cache( owner ) :\n\n\t\t\t// Always use camelCase key (gh-2257)\n\t\t\towner[ this.expando ] && owner[ this.expando ][ camelCase( key ) ];\n\t},\n\taccess: function( owner, key, value ) {\n\n\t\t// In cases where either:\n\t\t//\n\t\t//   1. No key was specified\n\t\t//   2. A string key was specified, but no value provided\n\t\t//\n\t\t// Take the \"read\" path and allow the get method to determine\n\t\t// which value to return, respectively either:\n\t\t//\n\t\t//   1. The entire cache object\n\t\t//   2. The data stored at the key\n\t\t//\n\t\tif ( key === undefined ||\n\t\t\t\t( ( key && typeof key === \"string\" ) && value === undefined ) ) {\n\n\t\t\treturn this.get( owner, key );\n\t\t}\n\n\t\t// When the key is not a string, or both a key and value\n\t\t// are specified, set or extend (existing objects) with either:\n\t\t//\n\t\t//   1. An object of properties\n\t\t//   2. A key and value\n\t\t//\n\t\tthis.set( owner, key, value );\n\n\t\t// Since the \"set\" path can have two possible entry points\n\t\t// return the expected data based on which path was taken[*]\n\t\treturn value !== undefined ? value : key;\n\t},\n\tremove: function( owner, key ) {\n\t\tvar i,\n\t\t\tcache = owner[ this.expando ];\n\n\t\tif ( cache === undefined ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( key !== undefined ) {\n\n\t\t\t// Support array or space separated string of keys\n\t\t\tif ( Array.isArray( key ) ) {\n\n\t\t\t\t// If key is an array of keys...\n\t\t\t\t// We always set camelCase keys, so remove that.\n\t\t\t\tkey = key.map( camelCase );\n\t\t\t} else {\n\t\t\t\tkey = camelCase( key );\n\n\t\t\t\t// If a key with the spaces exists, use it.\n\t\t\t\t// Otherwise, create an array by matching non-whitespace\n\t\t\t\tkey = key in cache ?\n\t\t\t\t\t[ key ] :\n\t\t\t\t\t( key.match( rnothtmlwhite ) || [] );\n\t\t\t}\n\n\t\t\ti = key.length;\n\n\t\t\twhile ( i-- ) {\n\t\t\t\tdelete cache[ key[ i ] ];\n\t\t\t}\n\t\t}\n\n\t\t// Remove the expando if there's no more data\n\t\tif ( key === undefined || jQuery.isEmptyObject( cache ) ) {\n\n\t\t\t// Support: Chrome <=35 - 45\n\t\t\t// Webkit & Blink performance suffers when deleting properties\n\t\t\t// from DOM nodes, so set to undefined instead\n\t\t\t// https://bugs.chromium.org/p/chromium/issues/detail?id=378607 (bug restricted)\n\t\t\tif ( owner.nodeType ) {\n\t\t\t\towner[ this.expando ] = undefined;\n\t\t\t} else {\n\t\t\t\tdelete owner[ this.expando ];\n\t\t\t}\n\t\t}\n\t},\n\thasData: function( owner ) {\n\t\tvar cache = owner[ this.expando ];\n\t\treturn cache !== undefined && !jQuery.isEmptyObject( cache );\n\t}\n};\nvar dataPriv = new Data();\n\nvar dataUser = new Data();\n\n\n\n//\tImplementation Summary\n//\n//\t1. Enforce API surface and semantic compatibility with 1.9.x branch\n//\t2. Improve the module's maintainability by reducing the storage\n//\t\tpaths to a single mechanism.\n//\t3. Use the same single mechanism to support \"private\" and \"user\" data.\n//\t4. _Never_ expose \"private\" data to user code (TODO: Drop _data, _removeData)\n//\t5. Avoid exposing implementation details on user objects (eg. expando properties)\n//\t6. Provide a clear path for implementation upgrade to WeakMap in 2014\n\nvar rbrace = /^(?:\\{[\\w\\W]*\\}|\\[[\\w\\W]*\\])$/,\n\trmultiDash = /[A-Z]/g;\n\nfunction getData( data ) {\n\tif ( data === \"true\" ) {\n\t\treturn true;\n\t}\n\n\tif ( data === \"false\" ) {\n\t\treturn false;\n\t}\n\n\tif ( data === \"null\" ) {\n\t\treturn null;\n\t}\n\n\t// Only convert to a number if it doesn't change the string\n\tif ( data === +data + \"\" ) {\n\t\treturn +data;\n\t}\n\n\tif ( rbrace.test( data ) ) {\n\t\treturn JSON.parse( data );\n\t}\n\n\treturn data;\n}\n\nfunction dataAttr( elem, key, data ) {\n\tvar name;\n\n\t// If nothing was found internally, try to fetch any\n\t// data from the HTML5 data-* attribute\n\tif ( data === undefined && elem.nodeType === 1 ) {\n\t\tname = \"data-\" + key.replace( rmultiDash, \"-$&\" ).toLowerCase();\n\t\tdata = elem.getAttribute( name );\n\n\t\tif ( typeof data === \"string\" ) {\n\t\t\ttry {\n\t\t\t\tdata = getData( data );\n\t\t\t} catch ( e ) {}\n\n\t\t\t// Make sure we set the data so it isn't changed later\n\t\t\tdataUser.set( elem, key, data );\n\t\t} else {\n\t\t\tdata = undefined;\n\t\t}\n\t}\n\treturn data;\n}\n\njQuery.extend( {\n\thasData: function( elem ) {\n\t\treturn dataUser.hasData( elem ) || dataPriv.hasData( elem );\n\t},\n\n\tdata: function( elem, name, data ) {\n\t\treturn dataUser.access( elem, name, data );\n\t},\n\n\tremoveData: function( elem, name ) {\n\t\tdataUser.remove( elem, name );\n\t},\n\n\t// TODO: Now that all calls to _data and _removeData have been replaced\n\t// with direct calls to dataPriv methods, these can be deprecated.\n\t_data: function( elem, name, data ) {\n\t\treturn dataPriv.access( elem, name, data );\n\t},\n\n\t_removeData: function( elem, name ) {\n\t\tdataPriv.remove( elem, name );\n\t}\n} );\n\njQuery.fn.extend( {\n\tdata: function( key, value ) {\n\t\tvar i, name, data,\n\t\t\telem = this[ 0 ],\n\t\t\tattrs = elem && elem.attributes;\n\n\t\t// Gets all values\n\t\tif ( key === undefined ) {\n\t\t\tif ( this.length ) {\n\t\t\t\tdata = dataUser.get( elem );\n\n\t\t\t\tif ( elem.nodeType === 1 && !dataPriv.get( elem, \"hasDataAttrs\" ) ) {\n\t\t\t\t\ti = attrs.length;\n\t\t\t\t\twhile ( i-- ) {\n\n\t\t\t\t\t\t// Support: IE 11 only\n\t\t\t\t\t\t// The attrs elements can be null (trac-14894)\n\t\t\t\t\t\tif ( attrs[ i ] ) {\n\t\t\t\t\t\t\tname = attrs[ i ].name;\n\t\t\t\t\t\t\tif ( name.indexOf( \"data-\" ) === 0 ) {\n\t\t\t\t\t\t\t\tname = camelCase( name.slice( 5 ) );\n\t\t\t\t\t\t\t\tdataAttr( elem, name, data[ name ] );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tdataPriv.set( elem, \"hasDataAttrs\", true );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn data;\n\t\t}\n\n\t\t// Sets multiple values\n\t\tif ( typeof key === \"object\" ) {\n\t\t\treturn this.each( function() {\n\t\t\t\tdataUser.set( this, key );\n\t\t\t} );\n\t\t}\n\n\t\treturn access( this, function( value ) {\n\t\t\tvar data;\n\n\t\t\t// The calling jQuery object (element matches) is not empty\n\t\t\t// (and therefore has an element appears at this[ 0 ]) and the\n\t\t\t// `value` parameter was not undefined. An empty jQuery object\n\t\t\t// will result in `undefined` for elem = this[ 0 ] which will\n\t\t\t// throw an exception if an attempt to read a data cache is made.\n\t\t\tif ( elem && value === undefined ) {\n\n\t\t\t\t// Attempt to get data from the cache\n\t\t\t\t// The key will always be camelCased in Data\n\t\t\t\tdata = dataUser.get( elem, key );\n\t\t\t\tif ( data !== undefined ) {\n\t\t\t\t\treturn data;\n\t\t\t\t}\n\n\t\t\t\t// Attempt to \"discover\" the data in\n\t\t\t\t// HTML5 custom data-* attrs\n\t\t\t\tdata = dataAttr( elem, key );\n\t\t\t\tif ( data !== undefined ) {\n\t\t\t\t\treturn data;\n\t\t\t\t}\n\n\t\t\t\t// We tried really hard, but the data doesn't exist.\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// Set the data...\n\t\t\tthis.each( function() {\n\n\t\t\t\t// We always store the camelCased key\n\t\t\t\tdataUser.set( this, key, value );\n\t\t\t} );\n\t\t}, null, value, arguments.length > 1, null, true );\n\t},\n\n\tremoveData: function( key ) {\n\t\treturn this.each( function() {\n\t\t\tdataUser.remove( this, key );\n\t\t} );\n\t}\n} );\n\n\njQuery.extend( {\n\tqueue: function( elem, type, data ) {\n\t\tvar queue;\n\n\t\tif ( elem ) {\n\t\t\ttype = ( type || \"fx\" ) + \"queue\";\n\t\t\tqueue = dataPriv.get( elem, type );\n\n\t\t\t// Speed up dequeue by getting out quickly if this is just a lookup\n\t\t\tif ( data ) {\n\t\t\t\tif ( !queue || Array.isArray( data ) ) {\n\t\t\t\t\tqueue = dataPriv.access( elem, type, jQuery.makeArray( data ) );\n\t\t\t\t} else {\n\t\t\t\t\tqueue.push( data );\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn queue || [];\n\t\t}\n\t},\n\n\tdequeue: function( elem, type ) {\n\t\ttype = type || \"fx\";\n\n\t\tvar queue = jQuery.queue( elem, type ),\n\t\t\tstartLength = queue.length,\n\t\t\tfn = queue.shift(),\n\t\t\thooks = jQuery._queueHooks( elem, type ),\n\t\t\tnext = function() {\n\t\t\t\tjQuery.dequeue( elem, type );\n\t\t\t};\n\n\t\t// If the fx queue is dequeued, always remove the progress sentinel\n\t\tif ( fn === \"inprogress\" ) {\n\t\t\tfn = queue.shift();\n\t\t\tstartLength--;\n\t\t}\n\n\t\tif ( fn ) {\n\n\t\t\t// Add a progress sentinel to prevent the fx queue from being\n\t\t\t// automatically dequeued\n\t\t\tif ( type === \"fx\" ) {\n\t\t\t\tqueue.unshift( \"inprogress\" );\n\t\t\t}\n\n\t\t\t// Clear up the last queue stop function\n\t\t\tdelete hooks.stop;\n\t\t\tfn.call( elem, next, hooks );\n\t\t}\n\n\t\tif ( !startLength && hooks ) {\n\t\t\thooks.empty.fire();\n\t\t}\n\t},\n\n\t// Not public - generate a queueHooks object, or return the current one\n\t_queueHooks: function( elem, type ) {\n\t\tvar key = type + \"queueHooks\";\n\t\treturn dataPriv.get( elem, key ) || dataPriv.access( elem, key, {\n\t\t\tempty: jQuery.Callbacks( \"once memory\" ).add( function() {\n\t\t\t\tdataPriv.remove( elem, [ type + \"queue\", key ] );\n\t\t\t} )\n\t\t} );\n\t}\n} );\n\njQuery.fn.extend( {\n\tqueue: function( type, data ) {\n\t\tvar setter = 2;\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tdata = type;\n\t\t\ttype = \"fx\";\n\t\t\tsetter--;\n\t\t}\n\n\t\tif ( arguments.length < setter ) {\n\t\t\treturn jQuery.queue( this[ 0 ], type );\n\t\t}\n\n\t\treturn data === undefined ?\n\t\t\tthis :\n\t\t\tthis.each( function() {\n\t\t\t\tvar queue = jQuery.queue( this, type, data );\n\n\t\t\t\t// Ensure a hooks for this queue\n\t\t\t\tjQuery._queueHooks( this, type );\n\n\t\t\t\tif ( type === \"fx\" && queue[ 0 ] !== \"inprogress\" ) {\n\t\t\t\t\tjQuery.dequeue( this, type );\n\t\t\t\t}\n\t\t\t} );\n\t},\n\tdequeue: function( type ) {\n\t\treturn this.each( function() {\n\t\t\tjQuery.dequeue( this, type );\n\t\t} );\n\t},\n\tclearQueue: function( type ) {\n\t\treturn this.queue( type || \"fx\", [] );\n\t},\n\n\t// Get a promise resolved when queues of a certain type\n\t// are emptied (fx is the type by default)\n\tpromise: function( type, obj ) {\n\t\tvar tmp,\n\t\t\tcount = 1,\n\t\t\tdefer = jQuery.Deferred(),\n\t\t\telements = this,\n\t\t\ti = this.length,\n\t\t\tresolve = function() {\n\t\t\t\tif ( !( --count ) ) {\n\t\t\t\t\tdefer.resolveWith( elements, [ elements ] );\n\t\t\t\t}\n\t\t\t};\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tobj = type;\n\t\t\ttype = undefined;\n\t\t}\n\t\ttype = type || \"fx\";\n\n\t\twhile ( i-- ) {\n\t\t\ttmp = dataPriv.get( elements[ i ], type + \"queueHooks\" );\n\t\t\tif ( tmp && tmp.empty ) {\n\t\t\t\tcount++;\n\t\t\t\ttmp.empty.add( resolve );\n\t\t\t}\n\t\t}\n\t\tresolve();\n\t\treturn defer.promise( obj );\n\t}\n} );\nvar pnum = ( /[+-]?(?:\\d*\\.|)\\d+(?:[eE][+-]?\\d+|)/ ).source;\n\nvar rcssNum = new RegExp( \"^(?:([+-])=|)(\" + pnum + \")([a-z%]*)$\", \"i\" );\n\n\nvar cssExpand = [ \"Top\", \"Right\", \"Bottom\", \"Left\" ];\n\nvar documentElement = document.documentElement;\n\n\n\n\tvar isAttached = function( elem ) {\n\t\t\treturn jQuery.contains( elem.ownerDocument, elem );\n\t\t},\n\t\tcomposed = { composed: true };\n\n\t// Support: IE 9 - 11+, Edge 12 - 18+, iOS 10.0 - 10.2 only\n\t// Check attachment across shadow DOM boundaries when possible (gh-3504)\n\t// Support: iOS 10.0-10.2 only\n\t// Early iOS 10 versions support `attachShadow` but not `getRootNode`,\n\t// leading to errors. We need to check for `getRootNode`.\n\tif ( documentElement.getRootNode ) {\n\t\tisAttached = function( elem ) {\n\t\t\treturn jQuery.contains( elem.ownerDocument, elem ) ||\n\t\t\t\telem.getRootNode( composed ) === elem.ownerDocument;\n\t\t};\n\t}\nvar isHiddenWithinTree = function( elem, el ) {\n\n\t\t// isHiddenWithinTree might be called from jQuery#filter function;\n\t\t// in that case, element will be second argument\n\t\telem = el || elem;\n\n\t\t// Inline style trumps all\n\t\treturn elem.style.display === \"none\" ||\n\t\t\telem.style.display === \"\" &&\n\n\t\t\t// Otherwise, check computed style\n\t\t\t// Support: Firefox <=43 - 45\n\t\t\t// Disconnected elements can have computed display: none, so first confirm that elem is\n\t\t\t// in the document.\n\t\t\tisAttached( elem ) &&\n\n\t\t\tjQuery.css( elem, \"display\" ) === \"none\";\n\t};\n\n\n\nfunction adjustCSS( elem, prop, valueParts, tween ) {\n\tvar adjusted, scale,\n\t\tmaxIterations = 20,\n\t\tcurrentValue = tween ?\n\t\t\tfunction() {\n\t\t\t\treturn tween.cur();\n\t\t\t} :\n\t\t\tfunction() {\n\t\t\t\treturn jQuery.css( elem, prop, \"\" );\n\t\t\t},\n\t\tinitial = currentValue(),\n\t\tunit = valueParts && valueParts[ 3 ] || ( jQuery.cssNumber[ prop ] ? \"\" : \"px\" ),\n\n\t\t// Starting value computation is required for potential unit mismatches\n\t\tinitialInUnit = elem.nodeType &&\n\t\t\t( jQuery.cssNumber[ prop ] || unit !== \"px\" && +initial ) &&\n\t\t\trcssNum.exec( jQuery.css( elem, prop ) );\n\n\tif ( initialInUnit && initialInUnit[ 3 ] !== unit ) {\n\n\t\t// Support: Firefox <=54\n\t\t// Halve the iteration target value to prevent interference from CSS upper bounds (gh-2144)\n\t\tinitial = initial / 2;\n\n\t\t// Trust units reported by jQuery.css\n\t\tunit = unit || initialInUnit[ 3 ];\n\n\t\t// Iteratively approximate from a nonzero starting point\n\t\tinitialInUnit = +initial || 1;\n\n\t\twhile ( maxIterations-- ) {\n\n\t\t\t// Evaluate and update our best guess (doubling guesses that zero out).\n\t\t\t// Finish if the scale equals or crosses 1 (making the old*new product non-positive).\n\t\t\tjQuery.style( elem, prop, initialInUnit + unit );\n\t\t\tif ( ( 1 - scale ) * ( 1 - ( scale = currentValue() / initial || 0.5 ) ) <= 0 ) {\n\t\t\t\tmaxIterations = 0;\n\t\t\t}\n\t\t\tinitialInUnit = initialInUnit / scale;\n\n\t\t}\n\n\t\tinitialInUnit = initialInUnit * 2;\n\t\tjQuery.style( elem, prop, initialInUnit + unit );\n\n\t\t// Make sure we update the tween properties later on\n\t\tvalueParts = valueParts || [];\n\t}\n\n\tif ( valueParts ) {\n\t\tinitialInUnit = +initialInUnit || +initial || 0;\n\n\t\t// Apply relative offset (+=/-=) if specified\n\t\tadjusted = valueParts[ 1 ] ?\n\t\t\tinitialInUnit + ( valueParts[ 1 ] + 1 ) * valueParts[ 2 ] :\n\t\t\t+valueParts[ 2 ];\n\t\tif ( tween ) {\n\t\t\ttween.unit = unit;\n\t\t\ttween.start = initialInUnit;\n\t\t\ttween.end = adjusted;\n\t\t}\n\t}\n\treturn adjusted;\n}\n\n\nvar defaultDisplayMap = {};\n\nfunction getDefaultDisplay( elem ) {\n\tvar temp,\n\t\tdoc = elem.ownerDocument,\n\t\tnodeName = elem.nodeName,\n\t\tdisplay = defaultDisplayMap[ nodeName ];\n\n\tif ( display ) {\n\t\treturn display;\n\t}\n\n\ttemp = doc.body.appendChild( doc.createElement( nodeName ) );\n\tdisplay = jQuery.css( temp, \"display\" );\n\n\ttemp.parentNode.removeChild( temp );\n\n\tif ( display === \"none\" ) {\n\t\tdisplay = \"block\";\n\t}\n\tdefaultDisplayMap[ nodeName ] = display;\n\n\treturn display;\n}\n\nfunction showHide( elements, show ) {\n\tvar display, elem,\n\t\tvalues = [],\n\t\tindex = 0,\n\t\tlength = elements.length;\n\n\t// Determine new display value for elements that need to change\n\tfor ( ; index < length; index++ ) {\n\t\telem = elements[ index ];\n\t\tif ( !elem.style ) {\n\t\t\tcontinue;\n\t\t}\n\n\t\tdisplay = elem.style.display;\n\t\tif ( show ) {\n\n\t\t\t// Since we force visibility upon cascade-hidden elements, an immediate (and slow)\n\t\t\t// check is required in this first loop unless we have a nonempty display value (either\n\t\t\t// inline or about-to-be-restored)\n\t\t\tif ( display === \"none\" ) {\n\t\t\t\tvalues[ index ] = dataPriv.get( elem, \"display\" ) || null;\n\t\t\t\tif ( !values[ index ] ) {\n\t\t\t\t\telem.style.display = \"\";\n\t\t\t\t}\n\t\t\t}\n\t\t\tif ( elem.style.display === \"\" && isHiddenWithinTree( elem ) ) {\n\t\t\t\tvalues[ index ] = getDefaultDisplay( elem );\n\t\t\t}\n\t\t} else {\n\t\t\tif ( display !== \"none\" ) {\n\t\t\t\tvalues[ index ] = \"none\";\n\n\t\t\t\t// Remember what we're overwriting\n\t\t\t\tdataPriv.set( elem, \"display\", display );\n\t\t\t}\n\t\t}\n\t}\n\n\t// Set the display of the elements in a second loop to avoid constant reflow\n\tfor ( index = 0; index < length; index++ ) {\n\t\tif ( values[ index ] != null ) {\n\t\t\telements[ index ].style.display = values[ index ];\n\t\t}\n\t}\n\n\treturn elements;\n}\n\njQuery.fn.extend( {\n\tshow: function() {\n\t\treturn showHide( this, true );\n\t},\n\thide: function() {\n\t\treturn showHide( this );\n\t},\n\ttoggle: function( state ) {\n\t\tif ( typeof state === \"boolean\" ) {\n\t\t\treturn state ? this.show() : this.hide();\n\t\t}\n\n\t\treturn this.each( function() {\n\t\t\tif ( isHiddenWithinTree( this ) ) {\n\t\t\t\tjQuery( this ).show();\n\t\t\t} else {\n\t\t\t\tjQuery( this ).hide();\n\t\t\t}\n\t\t} );\n\t}\n} );\nvar rcheckableType = ( /^(?:checkbox|radio)$/i );\n\nvar rtagName = ( /<([a-z][^\\/\\0>\\x20\\t\\r\\n\\f]*)/i );\n\nvar rscriptType = ( /^$|^module$|\\/(?:java|ecma)script/i );\n\n\n\n( function() {\n\tvar fragment = document.createDocumentFragment(),\n\t\tdiv = fragment.appendChild( document.createElement( \"div\" ) ),\n\t\tinput = document.createElement( \"input\" );\n\n\t// Support: Android 4.0 - 4.3 only\n\t// Check state lost if the name is set (trac-11217)\n\t// Support: Windows Web Apps (WWA)\n\t// `name` and `type` must use .setAttribute for WWA (trac-14901)\n\tinput.setAttribute( \"type\", \"radio\" );\n\tinput.setAttribute( \"checked\", \"checked\" );\n\tinput.setAttribute( \"name\", \"t\" );\n\n\tdiv.appendChild( input );\n\n\t// Support: Android <=4.1 only\n\t// Older WebKit doesn't clone checked state correctly in fragments\n\tsupport.checkClone = div.cloneNode( true ).cloneNode( true ).lastChild.checked;\n\n\t// Support: IE <=11 only\n\t// Make sure textarea (and checkbox) defaultValue is properly cloned\n\tdiv.innerHTML = \"<textarea>x</textarea>\";\n\tsupport.noCloneChecked = !!div.cloneNode( true ).lastChild.defaultValue;\n\n\t// Support: IE <=9 only\n\t// IE <=9 replaces <option> tags with their contents when inserted outside of\n\t// the select element.\n\tdiv.innerHTML = \"<option></option>\";\n\tsupport.option = !!div.lastChild;\n} )();\n\n\n// We have to close these tags to support XHTML (trac-13200)\nvar wrapMap = {\n\n\t// XHTML parsers do not magically insert elements in the\n\t// same way that tag soup parsers do. So we cannot shorten\n\t// this by omitting <tbody> or other required elements.\n\tthead: [ 1, \"<table>\", \"</table>\" ],\n\tcol: [ 2, \"<table><colgroup>\", \"</colgroup></table>\" ],\n\ttr: [ 2, \"<table><tbody>\", \"</tbody></table>\" ],\n\ttd: [ 3, \"<table><tbody><tr>\", \"</tr></tbody></table>\" ],\n\n\t_default: [ 0, \"\", \"\" ]\n};\n\nwrapMap.tbody = wrapMap.tfoot = wrapMap.colgroup = wrapMap.caption = wrapMap.thead;\nwrapMap.th = wrapMap.td;\n\n// Support: IE <=9 only\nif ( !support.option ) {\n\twrapMap.optgroup = wrapMap.option = [ 1, \"<select multiple='multiple'>\", \"</select>\" ];\n}\n\n\nfunction getAll( context, tag ) {\n\n\t// Support: IE <=9 - 11 only\n\t// Use typeof to avoid zero-argument method invocation on host objects (trac-15151)\n\tvar ret;\n\n\tif ( typeof context.getElementsByTagName !== \"undefined\" ) {\n\t\tret = context.getElementsByTagName( tag || \"*\" );\n\n\t} else if ( typeof context.querySelectorAll !== \"undefined\" ) {\n\t\tret = context.querySelectorAll( tag || \"*\" );\n\n\t} else {\n\t\tret = [];\n\t}\n\n\tif ( tag === undefined || tag && nodeName( context, tag ) ) {\n\t\treturn jQuery.merge( [ context ], ret );\n\t}\n\n\treturn ret;\n}\n\n\n// Mark scripts as having already been evaluated\nfunction setGlobalEval( elems, refElements ) {\n\tvar i = 0,\n\t\tl = elems.length;\n\n\tfor ( ; i < l; i++ ) {\n\t\tdataPriv.set(\n\t\t\telems[ i ],\n\t\t\t\"globalEval\",\n\t\t\t!refElements || dataPriv.get( refElements[ i ], \"globalEval\" )\n\t\t);\n\t}\n}\n\n\nvar rhtml = /<|&#?\\w+;/;\n\nfunction buildFragment( elems, context, scripts, selection, ignored ) {\n\tvar elem, tmp, tag, wrap, attached, j,\n\t\tfragment = context.createDocumentFragment(),\n\t\tnodes = [],\n\t\ti = 0,\n\t\tl = elems.length;\n\n\tfor ( ; i < l; i++ ) {\n\t\telem = elems[ i ];\n\n\t\tif ( elem || elem === 0 ) {\n\n\t\t\t// Add nodes directly\n\t\t\tif ( toType( elem ) === \"object\" ) {\n\n\t\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t\t// push.apply(_, arraylike) throws on ancient WebKit\n\t\t\t\tjQuery.merge( nodes, elem.nodeType ? [ elem ] : elem );\n\n\t\t\t// Convert non-html into a text node\n\t\t\t} else if ( !rhtml.test( elem ) ) {\n\t\t\t\tnodes.push( context.createTextNode( elem ) );\n\n\t\t\t// Convert html into DOM nodes\n\t\t\t} else {\n\t\t\t\ttmp = tmp || fragment.appendChild( context.createElement( \"div\" ) );\n\n\t\t\t\t// Deserialize a standard representation\n\t\t\t\ttag = ( rtagName.exec( elem ) || [ \"\", \"\" ] )[ 1 ].toLowerCase();\n\t\t\t\twrap = wrapMap[ tag ] || wrapMap._default;\n\t\t\t\ttmp.innerHTML = wrap[ 1 ] + jQuery.htmlPrefilter( elem ) + wrap[ 2 ];\n\n\t\t\t\t// Descend through wrappers to the right content\n\t\t\t\tj = wrap[ 0 ];\n\t\t\t\twhile ( j-- ) {\n\t\t\t\t\ttmp = tmp.lastChild;\n\t\t\t\t}\n\n\t\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t\t// push.apply(_, arraylike) throws on ancient WebKit\n\t\t\t\tjQuery.merge( nodes, tmp.childNodes );\n\n\t\t\t\t// Remember the top-level container\n\t\t\t\ttmp = fragment.firstChild;\n\n\t\t\t\t// Ensure the created nodes are orphaned (trac-12392)\n\t\t\t\ttmp.textContent = \"\";\n\t\t\t}\n\t\t}\n\t}\n\n\t// Remove wrapper from fragment\n\tfragment.textContent = \"\";\n\n\ti = 0;\n\twhile ( ( elem = nodes[ i++ ] ) ) {\n\n\t\t// Skip elements already in the context collection (trac-4087)\n\t\tif ( selection && jQuery.inArray( elem, selection ) > -1 ) {\n\t\t\tif ( ignored ) {\n\t\t\t\tignored.push( elem );\n\t\t\t}\n\t\t\tcontinue;\n\t\t}\n\n\t\tattached = isAttached( elem );\n\n\t\t// Append to fragment\n\t\ttmp = getAll( fragment.appendChild( elem ), \"script\" );\n\n\t\t// Preserve script evaluation history\n\t\tif ( attached ) {\n\t\t\tsetGlobalEval( tmp );\n\t\t}\n\n\t\t// Capture executables\n\t\tif ( scripts ) {\n\t\t\tj = 0;\n\t\t\twhile ( ( elem = tmp[ j++ ] ) ) {\n\t\t\t\tif ( rscriptType.test( elem.type || \"\" ) ) {\n\t\t\t\t\tscripts.push( elem );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn fragment;\n}\n\n\nvar rtypenamespace = /^([^.]*)(?:\\.(.+)|)/;\n\nfunction returnTrue() {\n\treturn true;\n}\n\nfunction returnFalse() {\n\treturn false;\n}\n\nfunction on( elem, types, selector, data, fn, one ) {\n\tvar origFn, type;\n\n\t// Types can be a map of types/handlers\n\tif ( typeof types === \"object\" ) {\n\n\t\t// ( types-Object, selector, data )\n\t\tif ( typeof selector !== \"string\" ) {\n\n\t\t\t// ( types-Object, data )\n\t\t\tdata = data || selector;\n\t\t\tselector = undefined;\n\t\t}\n\t\tfor ( type in types ) {\n\t\t\ton( elem, type, selector, data, types[ type ], one );\n\t\t}\n\t\treturn elem;\n\t}\n\n\tif ( data == null && fn == null ) {\n\n\t\t// ( types, fn )\n\t\tfn = selector;\n\t\tdata = selector = undefined;\n\t} else if ( fn == null ) {\n\t\tif ( typeof selector === \"string\" ) {\n\n\t\t\t// ( types, selector, fn )\n\t\t\tfn = data;\n\t\t\tdata = undefined;\n\t\t} else {\n\n\t\t\t// ( types, data, fn )\n\t\t\tfn = data;\n\t\t\tdata = selector;\n\t\t\tselector = undefined;\n\t\t}\n\t}\n\tif ( fn === false ) {\n\t\tfn = returnFalse;\n\t} else if ( !fn ) {\n\t\treturn elem;\n\t}\n\n\tif ( one === 1 ) {\n\t\torigFn = fn;\n\t\tfn = function( event ) {\n\n\t\t\t// Can use an empty set, since event contains the info\n\t\t\tjQuery().off( event );\n\t\t\treturn origFn.apply( this, arguments );\n\t\t};\n\n\t\t// Use same guid so caller can remove using origFn\n\t\tfn.guid = origFn.guid || ( origFn.guid = jQuery.guid++ );\n\t}\n\treturn elem.each( function() {\n\t\tjQuery.event.add( this, types, fn, data, selector );\n\t} );\n}\n\n/*\n * Helper functions for managing events -- not part of the public interface.\n * Props to Dean Edwards' addEvent library for many of the ideas.\n */\njQuery.event = {\n\n\tglobal: {},\n\n\tadd: function( elem, types, handler, data, selector ) {\n\n\t\tvar handleObjIn, eventHandle, tmp,\n\t\t\tevents, t, handleObj,\n\t\t\tspecial, handlers, type, namespaces, origType,\n\t\t\telemData = dataPriv.get( elem );\n\n\t\t// Only attach events to objects that accept data\n\t\tif ( !acceptData( elem ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Caller can pass in an object of custom data in lieu of the handler\n\t\tif ( handler.handler ) {\n\t\t\thandleObjIn = handler;\n\t\t\thandler = handleObjIn.handler;\n\t\t\tselector = handleObjIn.selector;\n\t\t}\n\n\t\t// Ensure that invalid selectors throw exceptions at attach time\n\t\t// Evaluate against documentElement in case elem is a non-element node (e.g., document)\n\t\tif ( selector ) {\n\t\t\tjQuery.find.matchesSelector( documentElement, selector );\n\t\t}\n\n\t\t// Make sure that the handler has a unique ID, used to find/remove it later\n\t\tif ( !handler.guid ) {\n\t\t\thandler.guid = jQuery.guid++;\n\t\t}\n\n\t\t// Init the element's event structure and main handler, if this is the first\n\t\tif ( !( events = elemData.events ) ) {\n\t\t\tevents = elemData.events = Object.create( null );\n\t\t}\n\t\tif ( !( eventHandle = elemData.handle ) ) {\n\t\t\teventHandle = elemData.handle = function( e ) {\n\n\t\t\t\t// Discard the second event of a jQuery.event.trigger() and\n\t\t\t\t// when an event is called after a page has unloaded\n\t\t\t\treturn typeof jQuery !== \"undefined\" && jQuery.event.triggered !== e.type ?\n\t\t\t\t\tjQuery.event.dispatch.apply( elem, arguments ) : undefined;\n\t\t\t};\n\t\t}\n\n\t\t// Handle multiple events separated by a space\n\t\ttypes = ( types || \"\" ).match( rnothtmlwhite ) || [ \"\" ];\n\t\tt = types.length;\n\t\twhile ( t-- ) {\n\t\t\ttmp = rtypenamespace.exec( types[ t ] ) || [];\n\t\t\ttype = origType = tmp[ 1 ];\n\t\t\tnamespaces = ( tmp[ 2 ] || \"\" ).split( \".\" ).sort();\n\n\t\t\t// There *must* be a type, no attaching namespace-only handlers\n\t\t\tif ( !type ) {\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\t// If event changes its type, use the special event handlers for the changed type\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\n\t\t\t// If selector defined, determine special event api type, otherwise given type\n\t\t\ttype = ( selector ? special.delegateType : special.bindType ) || type;\n\n\t\t\t// Update special based on newly reset type\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\n\t\t\t// handleObj is passed to all event handlers\n\t\t\thandleObj = jQuery.extend( {\n\t\t\t\ttype: type,\n\t\t\t\torigType: origType,\n\t\t\t\tdata: data,\n\t\t\t\thandler: handler,\n\t\t\t\tguid: handler.guid,\n\t\t\t\tselector: selector,\n\t\t\t\tneedsContext: selector && jQuery.expr.match.needsContext.test( selector ),\n\t\t\t\tnamespace: namespaces.join( \".\" )\n\t\t\t}, handleObjIn );\n\n\t\t\t// Init the event handler queue if we're the first\n\t\t\tif ( !( handlers = events[ type ] ) ) {\n\t\t\t\thandlers = events[ type ] = [];\n\t\t\t\thandlers.delegateCount = 0;\n\n\t\t\t\t// Only use addEventListener if the special events handler returns false\n\t\t\t\tif ( !special.setup ||\n\t\t\t\t\tspecial.setup.call( elem, data, namespaces, eventHandle ) === false ) {\n\n\t\t\t\t\tif ( elem.addEventListener ) {\n\t\t\t\t\t\telem.addEventListener( type, eventHandle );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tif ( special.add ) {\n\t\t\t\tspecial.add.call( elem, handleObj );\n\n\t\t\t\tif ( !handleObj.handler.guid ) {\n\t\t\t\t\thandleObj.handler.guid = handler.guid;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Add to the element's handler list, delegates in front\n\t\t\tif ( selector ) {\n\t\t\t\thandlers.splice( handlers.delegateCount++, 0, handleObj );\n\t\t\t} else {\n\t\t\t\thandlers.push( handleObj );\n\t\t\t}\n\n\t\t\t// Keep track of which events have ever been used, for event optimization\n\t\t\tjQuery.event.global[ type ] = true;\n\t\t}\n\n\t},\n\n\t// Detach an event or set of events from an element\n\tremove: function( elem, types, handler, selector, mappedTypes ) {\n\n\t\tvar j, origCount, tmp,\n\t\t\tevents, t, handleObj,\n\t\t\tspecial, handlers, type, namespaces, origType,\n\t\t\telemData = dataPriv.hasData( elem ) && dataPriv.get( elem );\n\n\t\tif ( !elemData || !( events = elemData.events ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Once for each type.namespace in types; type may be omitted\n\t\ttypes = ( types || \"\" ).match( rnothtmlwhite ) || [ \"\" ];\n\t\tt = types.length;\n\t\twhile ( t-- ) {\n\t\t\ttmp = rtypenamespace.exec( types[ t ] ) || [];\n\t\t\ttype = origType = tmp[ 1 ];\n\t\t\tnamespaces = ( tmp[ 2 ] || \"\" ).split( \".\" ).sort();\n\n\t\t\t// Unbind all events (on this namespace, if provided) for the element\n\t\t\tif ( !type ) {\n\t\t\t\tfor ( type in events ) {\n\t\t\t\t\tjQuery.event.remove( elem, type + types[ t ], handler, selector, true );\n\t\t\t\t}\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tspecial = jQuery.event.special[ type ] || {};\n\t\t\ttype = ( selector ? special.delegateType : special.bindType ) || type;\n\t\t\thandlers = events[ type ] || [];\n\t\t\ttmp = tmp[ 2 ] &&\n\t\t\t\tnew RegExp( \"(^|\\\\.)\" + namespaces.join( \"\\\\.(?:.*\\\\.|)\" ) + \"(\\\\.|$)\" );\n\n\t\t\t// Remove matching events\n\t\t\torigCount = j = handlers.length;\n\t\t\twhile ( j-- ) {\n\t\t\t\thandleObj = handlers[ j ];\n\n\t\t\t\tif ( ( mappedTypes || origType === handleObj.origType ) &&\n\t\t\t\t\t( !handler || handler.guid === handleObj.guid ) &&\n\t\t\t\t\t( !tmp || tmp.test( handleObj.namespace ) ) &&\n\t\t\t\t\t( !selector || selector === handleObj.selector ||\n\t\t\t\t\t\tselector === \"**\" && handleObj.selector ) ) {\n\t\t\t\t\thandlers.splice( j, 1 );\n\n\t\t\t\t\tif ( handleObj.selector ) {\n\t\t\t\t\t\thandlers.delegateCount--;\n\t\t\t\t\t}\n\t\t\t\t\tif ( special.remove ) {\n\t\t\t\t\t\tspecial.remove.call( elem, handleObj );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Remove generic event handler if we removed something and no more handlers exist\n\t\t\t// (avoids potential for endless recursion during removal of special event handlers)\n\t\t\tif ( origCount && !handlers.length ) {\n\t\t\t\tif ( !special.teardown ||\n\t\t\t\t\tspecial.teardown.call( elem, namespaces, elemData.handle ) === false ) {\n\n\t\t\t\t\tjQuery.removeEvent( elem, type, elemData.handle );\n\t\t\t\t}\n\n\t\t\t\tdelete events[ type ];\n\t\t\t}\n\t\t}\n\n\t\t// Remove data and the expando if it's no longer used\n\t\tif ( jQuery.isEmptyObject( events ) ) {\n\t\t\tdataPriv.remove( elem, \"handle events\" );\n\t\t}\n\t},\n\n\tdispatch: function( nativeEvent ) {\n\n\t\tvar i, j, ret, matched, handleObj, handlerQueue,\n\t\t\targs = new Array( arguments.length ),\n\n\t\t\t// Make a writable jQuery.Event from the native event object\n\t\t\tevent = jQuery.event.fix( nativeEvent ),\n\n\t\t\thandlers = (\n\t\t\t\tdataPriv.get( this, \"events\" ) || Object.create( null )\n\t\t\t)[ event.type ] || [],\n\t\t\tspecial = jQuery.event.special[ event.type ] || {};\n\n\t\t// Use the fix-ed jQuery.Event rather than the (read-only) native event\n\t\targs[ 0 ] = event;\n\n\t\tfor ( i = 1; i < arguments.length; i++ ) {\n\t\t\targs[ i ] = arguments[ i ];\n\t\t}\n\n\t\tevent.delegateTarget = this;\n\n\t\t// Call the preDispatch hook for the mapped type, and let it bail if desired\n\t\tif ( special.preDispatch && special.preDispatch.call( this, event ) === false ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Determine handlers\n\t\thandlerQueue = jQuery.event.handlers.call( this, event, handlers );\n\n\t\t// Run delegates first; they may want to stop propagation beneath us\n\t\ti = 0;\n\t\twhile ( ( matched = handlerQueue[ i++ ] ) && !event.isPropagationStopped() ) {\n\t\t\tevent.currentTarget = matched.elem;\n\n\t\t\tj = 0;\n\t\t\twhile ( ( handleObj = matched.handlers[ j++ ] ) &&\n\t\t\t\t!event.isImmediatePropagationStopped() ) {\n\n\t\t\t\t// If the event is namespaced, then each handler is only invoked if it is\n\t\t\t\t// specially universal or its namespaces are a superset of the event's.\n\t\t\t\tif ( !event.rnamespace || handleObj.namespace === false ||\n\t\t\t\t\tevent.rnamespace.test( handleObj.namespace ) ) {\n\n\t\t\t\t\tevent.handleObj = handleObj;\n\t\t\t\t\tevent.data = handleObj.data;\n\n\t\t\t\t\tret = ( ( jQuery.event.special[ handleObj.origType ] || {} ).handle ||\n\t\t\t\t\t\thandleObj.handler ).apply( matched.elem, args );\n\n\t\t\t\t\tif ( ret !== undefined ) {\n\t\t\t\t\t\tif ( ( event.result = ret ) === false ) {\n\t\t\t\t\t\t\tevent.preventDefault();\n\t\t\t\t\t\t\tevent.stopPropagation();\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Call the postDispatch hook for the mapped type\n\t\tif ( special.postDispatch ) {\n\t\t\tspecial.postDispatch.call( this, event );\n\t\t}\n\n\t\treturn event.result;\n\t},\n\n\thandlers: function( event, handlers ) {\n\t\tvar i, handleObj, sel, matchedHandlers, matchedSelectors,\n\t\t\thandlerQueue = [],\n\t\t\tdelegateCount = handlers.delegateCount,\n\t\t\tcur = event.target;\n\n\t\t// Find delegate handlers\n\t\tif ( delegateCount &&\n\n\t\t\t// Support: IE <=9\n\t\t\t// Black-hole SVG <use> instance trees (trac-13180)\n\t\t\tcur.nodeType &&\n\n\t\t\t// Support: Firefox <=42\n\t\t\t// Suppress spec-violating clicks indicating a non-primary pointer button (trac-3861)\n\t\t\t// https://www.w3.org/TR/DOM-Level-3-Events/#event-type-click\n\t\t\t// Support: IE 11 only\n\t\t\t// ...but not arrow key \"clicks\" of radio inputs, which can have `button` -1 (gh-2343)\n\t\t\t!( event.type === \"click\" && event.button >= 1 ) ) {\n\n\t\t\tfor ( ; cur !== this; cur = cur.parentNode || this ) {\n\n\t\t\t\t// Don't check non-elements (trac-13208)\n\t\t\t\t// Don't process clicks on disabled elements (trac-6911, trac-8165, trac-11382, trac-11764)\n\t\t\t\tif ( cur.nodeType === 1 && !( event.type === \"click\" && cur.disabled === true ) ) {\n\t\t\t\t\tmatchedHandlers = [];\n\t\t\t\t\tmatchedSelectors = {};\n\t\t\t\t\tfor ( i = 0; i < delegateCount; i++ ) {\n\t\t\t\t\t\thandleObj = handlers[ i ];\n\n\t\t\t\t\t\t// Don't conflict with Object.prototype properties (trac-13203)\n\t\t\t\t\t\tsel = handleObj.selector + \" \";\n\n\t\t\t\t\t\tif ( matchedSelectors[ sel ] === undefined ) {\n\t\t\t\t\t\t\tmatchedSelectors[ sel ] = handleObj.needsContext ?\n\t\t\t\t\t\t\t\tjQuery( sel, this ).index( cur ) > -1 :\n\t\t\t\t\t\t\t\tjQuery.find( sel, this, null, [ cur ] ).length;\n\t\t\t\t\t\t}\n\t\t\t\t\t\tif ( matchedSelectors[ sel ] ) {\n\t\t\t\t\t\t\tmatchedHandlers.push( handleObj );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif ( matchedHandlers.length ) {\n\t\t\t\t\t\thandlerQueue.push( { elem: cur, handlers: matchedHandlers } );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// Add the remaining (directly-bound) handlers\n\t\tcur = this;\n\t\tif ( delegateCount < handlers.length ) {\n\t\t\thandlerQueue.push( { elem: cur, handlers: handlers.slice( delegateCount ) } );\n\t\t}\n\n\t\treturn handlerQueue;\n\t},\n\n\taddProp: function( name, hook ) {\n\t\tObject.defineProperty( jQuery.Event.prototype, name, {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: true,\n\n\t\t\tget: isFunction( hook ) ?\n\t\t\t\tfunction() {\n\t\t\t\t\tif ( this.originalEvent ) {\n\t\t\t\t\t\treturn hook( this.originalEvent );\n\t\t\t\t\t}\n\t\t\t\t} :\n\t\t\t\tfunction() {\n\t\t\t\t\tif ( this.originalEvent ) {\n\t\t\t\t\t\treturn this.originalEvent[ name ];\n\t\t\t\t\t}\n\t\t\t\t},\n\n\t\t\tset: function( value ) {\n\t\t\t\tObject.defineProperty( this, name, {\n\t\t\t\t\tenumerable: true,\n\t\t\t\t\tconfigurable: true,\n\t\t\t\t\twritable: true,\n\t\t\t\t\tvalue: value\n\t\t\t\t} );\n\t\t\t}\n\t\t} );\n\t},\n\n\tfix: function( originalEvent ) {\n\t\treturn originalEvent[ jQuery.expando ] ?\n\t\t\toriginalEvent :\n\t\t\tnew jQuery.Event( originalEvent );\n\t},\n\n\tspecial: {\n\t\tload: {\n\n\t\t\t// Prevent triggered image.load events from bubbling to window.load\n\t\t\tnoBubble: true\n\t\t},\n\t\tclick: {\n\n\t\t\t// Utilize native event to ensure correct state for checkable inputs\n\t\t\tsetup: function( data ) {\n\n\t\t\t\t// For mutual compressibility with _default, replace `this` access with a local var.\n\t\t\t\t// `|| data` is dead code meant only to preserve the variable through minification.\n\t\t\t\tvar el = this || data;\n\n\t\t\t\t// Claim the first handler\n\t\t\t\tif ( rcheckableType.test( el.type ) &&\n\t\t\t\t\tel.click && nodeName( el, \"input\" ) ) {\n\n\t\t\t\t\t// dataPriv.set( el, \"click\", ... )\n\t\t\t\t\tleverageNative( el, \"click\", true );\n\t\t\t\t}\n\n\t\t\t\t// Return false to allow normal processing in the caller\n\t\t\t\treturn false;\n\t\t\t},\n\t\t\ttrigger: function( data ) {\n\n\t\t\t\t// For mutual compressibility with _default, replace `this` access with a local var.\n\t\t\t\t// `|| data` is dead code meant only to preserve the variable through minification.\n\t\t\t\tvar el = this || data;\n\n\t\t\t\t// Force setup before triggering a click\n\t\t\t\tif ( rcheckableType.test( el.type ) &&\n\t\t\t\t\tel.click && nodeName( el, \"input\" ) ) {\n\n\t\t\t\t\tleverageNative( el, \"click\" );\n\t\t\t\t}\n\n\t\t\t\t// Return non-false to allow normal event-path propagation\n\t\t\t\treturn true;\n\t\t\t},\n\n\t\t\t// For cross-browser consistency, suppress native .click() on links\n\t\t\t// Also prevent it if we're currently inside a leveraged native-event stack\n\t\t\t_default: function( event ) {\n\t\t\t\tvar target = event.target;\n\t\t\t\treturn rcheckableType.test( target.type ) &&\n\t\t\t\t\ttarget.click && nodeName( target, \"input\" ) &&\n\t\t\t\t\tdataPriv.get( target, \"click\" ) ||\n\t\t\t\t\tnodeName( target, \"a\" );\n\t\t\t}\n\t\t},\n\n\t\tbeforeunload: {\n\t\t\tpostDispatch: function( event ) {\n\n\t\t\t\t// Support: Firefox 20+\n\t\t\t\t// Firefox doesn't alert if the returnValue field is not set.\n\t\t\t\tif ( event.result !== undefined && event.originalEvent ) {\n\t\t\t\t\tevent.originalEvent.returnValue = event.result;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n};\n\n// Ensure the presence of an event listener that handles manually-triggered\n// synthetic events by interrupting progress until reinvoked in response to\n// *native* events that it fires directly, ensuring that state changes have\n// already occurred before other listeners are invoked.\nfunction leverageNative( el, type, isSetup ) {\n\n\t// Missing `isSetup` indicates a trigger call, which must force setup through jQuery.event.add\n\tif ( !isSetup ) {\n\t\tif ( dataPriv.get( el, type ) === undefined ) {\n\t\t\tjQuery.event.add( el, type, returnTrue );\n\t\t}\n\t\treturn;\n\t}\n\n\t// Register the controller as a special universal handler for all event namespaces\n\tdataPriv.set( el, type, false );\n\tjQuery.event.add( el, type, {\n\t\tnamespace: false,\n\t\thandler: function( event ) {\n\t\t\tvar result,\n\t\t\t\tsaved = dataPriv.get( this, type );\n\n\t\t\tif ( ( event.isTrigger & 1 ) && this[ type ] ) {\n\n\t\t\t\t// Interrupt processing of the outer synthetic .trigger()ed event\n\t\t\t\tif ( !saved ) {\n\n\t\t\t\t\t// Store arguments for use when handling the inner native event\n\t\t\t\t\t// There will always be at least one argument (an event object), so this array\n\t\t\t\t\t// will not be confused with a leftover capture object.\n\t\t\t\t\tsaved = slice.call( arguments );\n\t\t\t\t\tdataPriv.set( this, type, saved );\n\n\t\t\t\t\t// Trigger the native event and capture its result\n\t\t\t\t\tthis[ type ]();\n\t\t\t\t\tresult = dataPriv.get( this, type );\n\t\t\t\t\tdataPriv.set( this, type, false );\n\n\t\t\t\t\tif ( saved !== result ) {\n\n\t\t\t\t\t\t// Cancel the outer synthetic event\n\t\t\t\t\t\tevent.stopImmediatePropagation();\n\t\t\t\t\t\tevent.preventDefault();\n\n\t\t\t\t\t\treturn result;\n\t\t\t\t\t}\n\n\t\t\t\t// If this is an inner synthetic event for an event with a bubbling surrogate\n\t\t\t\t// (focus or blur), assume that the surrogate already propagated from triggering\n\t\t\t\t// the native event and prevent that from happening again here.\n\t\t\t\t// This technically gets the ordering wrong w.r.t. to `.trigger()` (in which the\n\t\t\t\t// bubbling surrogate propagates *after* the non-bubbling base), but that seems\n\t\t\t\t// less bad than duplication.\n\t\t\t\t} else if ( ( jQuery.event.special[ type ] || {} ).delegateType ) {\n\t\t\t\t\tevent.stopPropagation();\n\t\t\t\t}\n\n\t\t\t// If this is a native event triggered above, everything is now in order\n\t\t\t// Fire an inner synthetic event with the original arguments\n\t\t\t} else if ( saved ) {\n\n\t\t\t\t// ...and capture the result\n\t\t\t\tdataPriv.set( this, type, jQuery.event.trigger(\n\t\t\t\t\tsaved[ 0 ],\n\t\t\t\t\tsaved.slice( 1 ),\n\t\t\t\t\tthis\n\t\t\t\t) );\n\n\t\t\t\t// Abort handling of the native event by all jQuery handlers while allowing\n\t\t\t\t// native handlers on the same element to run. On target, this is achieved\n\t\t\t\t// by stopping immediate propagation just on the jQuery event. However,\n\t\t\t\t// the native event is re-wrapped by a jQuery one on each level of the\n\t\t\t\t// propagation so the only way to stop it for jQuery is to stop it for\n\t\t\t\t// everyone via native `stopPropagation()`. This is not a problem for\n\t\t\t\t// focus/blur which don't bubble, but it does also stop click on checkboxes\n\t\t\t\t// and radios. We accept this limitation.\n\t\t\t\tevent.stopPropagation();\n\t\t\t\tevent.isImmediatePropagationStopped = returnTrue;\n\t\t\t}\n\t\t}\n\t} );\n}\n\njQuery.removeEvent = function( elem, type, handle ) {\n\n\t// This \"if\" is needed for plain objects\n\tif ( elem.removeEventListener ) {\n\t\telem.removeEventListener( type, handle );\n\t}\n};\n\njQuery.Event = function( src, props ) {\n\n\t// Allow instantiation without the 'new' keyword\n\tif ( !( this instanceof jQuery.Event ) ) {\n\t\treturn new jQuery.Event( src, props );\n\t}\n\n\t// Event object\n\tif ( src && src.type ) {\n\t\tthis.originalEvent = src;\n\t\tthis.type = src.type;\n\n\t\t// Events bubbling up the document may have been marked as prevented\n\t\t// by a handler lower down the tree; reflect the correct value.\n\t\tthis.isDefaultPrevented = src.defaultPrevented ||\n\t\t\t\tsrc.defaultPrevented === undefined &&\n\n\t\t\t\t// Support: Android <=2.3 only\n\t\t\t\tsrc.returnValue === false ?\n\t\t\treturnTrue :\n\t\t\treturnFalse;\n\n\t\t// Create target properties\n\t\t// Support: Safari <=6 - 7 only\n\t\t// Target should not be a text node (trac-504, trac-13143)\n\t\tthis.target = ( src.target && src.target.nodeType === 3 ) ?\n\t\t\tsrc.target.parentNode :\n\t\t\tsrc.target;\n\n\t\tthis.currentTarget = src.currentTarget;\n\t\tthis.relatedTarget = src.relatedTarget;\n\n\t// Event type\n\t} else {\n\t\tthis.type = src;\n\t}\n\n\t// Put explicitly provided properties onto the event object\n\tif ( props ) {\n\t\tjQuery.extend( this, props );\n\t}\n\n\t// Create a timestamp if incoming event doesn't have one\n\tthis.timeStamp = src && src.timeStamp || Date.now();\n\n\t// Mark it as fixed\n\tthis[ jQuery.expando ] = true;\n};\n\n// jQuery.Event is based on DOM3 Events as specified by the ECMAScript Language Binding\n// https://www.w3.org/TR/2003/WD-DOM-Level-3-Events-20030331/ecma-script-binding.html\njQuery.Event.prototype = {\n\tconstructor: jQuery.Event,\n\tisDefaultPrevented: returnFalse,\n\tisPropagationStopped: returnFalse,\n\tisImmediatePropagationStopped: returnFalse,\n\tisSimulated: false,\n\n\tpreventDefault: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isDefaultPrevented = returnTrue;\n\n\t\tif ( e && !this.isSimulated ) {\n\t\t\te.preventDefault();\n\t\t}\n\t},\n\tstopPropagation: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isPropagationStopped = returnTrue;\n\n\t\tif ( e && !this.isSimulated ) {\n\t\t\te.stopPropagation();\n\t\t}\n\t},\n\tstopImmediatePropagation: function() {\n\t\tvar e = this.originalEvent;\n\n\t\tthis.isImmediatePropagationStopped = returnTrue;\n\n\t\tif ( e && !this.isSimulated ) {\n\t\t\te.stopImmediatePropagation();\n\t\t}\n\n\t\tthis.stopPropagation();\n\t}\n};\n\n// Includes all common event props including KeyEvent and MouseEvent specific props\njQuery.each( {\n\taltKey: true,\n\tbubbles: true,\n\tcancelable: true,\n\tchangedTouches: true,\n\tctrlKey: true,\n\tdetail: true,\n\teventPhase: true,\n\tmetaKey: true,\n\tpageX: true,\n\tpageY: true,\n\tshiftKey: true,\n\tview: true,\n\t\"char\": true,\n\tcode: true,\n\tcharCode: true,\n\tkey: true,\n\tkeyCode: true,\n\tbutton: true,\n\tbuttons: true,\n\tclientX: true,\n\tclientY: true,\n\toffsetX: true,\n\toffsetY: true,\n\tpointerId: true,\n\tpointerType: true,\n\tscreenX: true,\n\tscreenY: true,\n\ttargetTouches: true,\n\ttoElement: true,\n\ttouches: true,\n\twhich: true\n}, jQuery.event.addProp );\n\njQuery.each( { focus: \"focusin\", blur: \"focusout\" }, function( type, delegateType ) {\n\n\tfunction focusMappedHandler( nativeEvent ) {\n\t\tif ( document.documentMode ) {\n\n\t\t\t// Support: IE 11+\n\t\t\t// Attach a single focusin/focusout handler on the document while someone wants\n\t\t\t// focus/blur. This is because the former are synchronous in IE while the latter\n\t\t\t// are async. In other browsers, all those handlers are invoked synchronously.\n\n\t\t\t// `handle` from private data would already wrap the event, but we need\n\t\t\t// to change the `type` here.\n\t\t\tvar handle = dataPriv.get( this, \"handle\" ),\n\t\t\t\tevent = jQuery.event.fix( nativeEvent );\n\t\t\tevent.type = nativeEvent.type === \"focusin\" ? \"focus\" : \"blur\";\n\t\t\tevent.isSimulated = true;\n\n\t\t\t// First, handle focusin/focusout\n\t\t\thandle( nativeEvent );\n\n\t\t\t// ...then, handle focus/blur\n\t\t\t//\n\t\t\t// focus/blur don't bubble while focusin/focusout do; simulate the former by only\n\t\t\t// invoking the handler at the lower level.\n\t\t\tif ( event.target === event.currentTarget ) {\n\n\t\t\t\t// The setup part calls `leverageNative`, which, in turn, calls\n\t\t\t\t// `jQuery.event.add`, so event handle will already have been set\n\t\t\t\t// by this point.\n\t\t\t\thandle( event );\n\t\t\t}\n\t\t} else {\n\n\t\t\t// For non-IE browsers, attach a single capturing handler on the document\n\t\t\t// while someone wants focusin/focusout.\n\t\t\tjQuery.event.simulate( delegateType, nativeEvent.target,\n\t\t\t\tjQuery.event.fix( nativeEvent ) );\n\t\t}\n\t}\n\n\tjQuery.event.special[ type ] = {\n\n\t\t// Utilize native event if possible so blur/focus sequence is correct\n\t\tsetup: function() {\n\n\t\t\tvar attaches;\n\n\t\t\t// Claim the first handler\n\t\t\t// dataPriv.set( this, \"focus\", ... )\n\t\t\t// dataPriv.set( this, \"blur\", ... )\n\t\t\tleverageNative( this, type, true );\n\n\t\t\tif ( document.documentMode ) {\n\n\t\t\t\t// Support: IE 9 - 11+\n\t\t\t\t// We use the same native handler for focusin & focus (and focusout & blur)\n\t\t\t\t// so we need to coordinate setup & teardown parts between those events.\n\t\t\t\t// Use `delegateType` as the key as `type` is already used by `leverageNative`.\n\t\t\t\tattaches = dataPriv.get( this, delegateType );\n\t\t\t\tif ( !attaches ) {\n\t\t\t\t\tthis.addEventListener( delegateType, focusMappedHandler );\n\t\t\t\t}\n\t\t\t\tdataPriv.set( this, delegateType, ( attaches || 0 ) + 1 );\n\t\t\t} else {\n\n\t\t\t\t// Return false to allow normal processing in the caller\n\t\t\t\treturn false;\n\t\t\t}\n\t\t},\n\t\ttrigger: function() {\n\n\t\t\t// Force setup before trigger\n\t\t\tleverageNative( this, type );\n\n\t\t\t// Return non-false to allow normal event-path propagation\n\t\t\treturn true;\n\t\t},\n\n\t\tteardown: function() {\n\t\t\tvar attaches;\n\n\t\t\tif ( document.documentMode ) {\n\t\t\t\tattaches = dataPriv.get( this, delegateType ) - 1;\n\t\t\t\tif ( !attaches ) {\n\t\t\t\t\tthis.removeEventListener( delegateType, focusMappedHandler );\n\t\t\t\t\tdataPriv.remove( this, delegateType );\n\t\t\t\t} else {\n\t\t\t\t\tdataPriv.set( this, delegateType, attaches );\n\t\t\t\t}\n\t\t\t} else {\n\n\t\t\t\t// Return false to indicate standard teardown should be applied\n\t\t\t\treturn false;\n\t\t\t}\n\t\t},\n\n\t\t// Suppress native focus or blur if we're currently inside\n\t\t// a leveraged native-event stack\n\t\t_default: function( event ) {\n\t\t\treturn dataPriv.get( event.target, type );\n\t\t},\n\n\t\tdelegateType: delegateType\n\t};\n\n\t// Support: Firefox <=44\n\t// Firefox doesn't have focus(in | out) events\n\t// Related ticket - https://bugzilla.mozilla.org/show_bug.cgi?id=687787\n\t//\n\t// Support: Chrome <=48 - 49, Safari <=9.0 - 9.1\n\t// focus(in | out) events fire after focus & blur events,\n\t// which is spec violation - http://www.w3.org/TR/DOM-Level-3-Events/#events-focusevent-event-order\n\t// Related ticket - https://bugs.chromium.org/p/chromium/issues/detail?id=449857\n\t//\n\t// Support: IE 9 - 11+\n\t// To preserve relative focusin/focus & focusout/blur event order guaranteed on the 3.x branch,\n\t// attach a single handler for both events in IE.\n\tjQuery.event.special[ delegateType ] = {\n\t\tsetup: function() {\n\n\t\t\t// Handle: regular nodes (via `this.ownerDocument`), window\n\t\t\t// (via `this.document`) & document (via `this`).\n\t\t\tvar doc = this.ownerDocument || this.document || this,\n\t\t\t\tdataHolder = document.documentMode ? this : doc,\n\t\t\t\tattaches = dataPriv.get( dataHolder, delegateType );\n\n\t\t\t// Support: IE 9 - 11+\n\t\t\t// We use the same native handler for focusin & focus (and focusout & blur)\n\t\t\t// so we need to coordinate setup & teardown parts between those events.\n\t\t\t// Use `delegateType` as the key as `type` is already used by `leverageNative`.\n\t\t\tif ( !attaches ) {\n\t\t\t\tif ( document.documentMode ) {\n\t\t\t\t\tthis.addEventListener( delegateType, focusMappedHandler );\n\t\t\t\t} else {\n\t\t\t\t\tdoc.addEventListener( type, focusMappedHandler, true );\n\t\t\t\t}\n\t\t\t}\n\t\t\tdataPriv.set( dataHolder, delegateType, ( attaches || 0 ) + 1 );\n\t\t},\n\t\tteardown: function() {\n\t\t\tvar doc = this.ownerDocument || this.document || this,\n\t\t\t\tdataHolder = document.documentMode ? this : doc,\n\t\t\t\tattaches = dataPriv.get( dataHolder, delegateType ) - 1;\n\n\t\t\tif ( !attaches ) {\n\t\t\t\tif ( document.documentMode ) {\n\t\t\t\t\tthis.removeEventListener( delegateType, focusMappedHandler );\n\t\t\t\t} else {\n\t\t\t\t\tdoc.removeEventListener( type, focusMappedHandler, true );\n\t\t\t\t}\n\t\t\t\tdataPriv.remove( dataHolder, delegateType );\n\t\t\t} else {\n\t\t\t\tdataPriv.set( dataHolder, delegateType, attaches );\n\t\t\t}\n\t\t}\n\t};\n} );\n\n// Create mouseenter/leave events using mouseover/out and event-time checks\n// so that event delegation works in jQuery.\n// Do the same for pointerenter/pointerleave and pointerover/pointerout\n//\n// Support: Safari 7 only\n// Safari sends mouseenter too often; see:\n// https://bugs.chromium.org/p/chromium/issues/detail?id=470258\n// for the description of the bug (it existed in older Chrome versions as well).\njQuery.each( {\n\tmouseenter: \"mouseover\",\n\tmouseleave: \"mouseout\",\n\tpointerenter: \"pointerover\",\n\tpointerleave: \"pointerout\"\n}, function( orig, fix ) {\n\tjQuery.event.special[ orig ] = {\n\t\tdelegateType: fix,\n\t\tbindType: fix,\n\n\t\thandle: function( event ) {\n\t\t\tvar ret,\n\t\t\t\ttarget = this,\n\t\t\t\trelated = event.relatedTarget,\n\t\t\t\thandleObj = event.handleObj;\n\n\t\t\t// For mouseenter/leave call the handler if related is outside the target.\n\t\t\t// NB: No relatedTarget if the mouse left/entered the browser window\n\t\t\tif ( !related || ( related !== target && !jQuery.contains( target, related ) ) ) {\n\t\t\t\tevent.type = handleObj.origType;\n\t\t\t\tret = handleObj.handler.apply( this, arguments );\n\t\t\t\tevent.type = fix;\n\t\t\t}\n\t\t\treturn ret;\n\t\t}\n\t};\n} );\n\njQuery.fn.extend( {\n\n\ton: function( types, selector, data, fn ) {\n\t\treturn on( this, types, selector, data, fn );\n\t},\n\tone: function( types, selector, data, fn ) {\n\t\treturn on( this, types, selector, data, fn, 1 );\n\t},\n\toff: function( types, selector, fn ) {\n\t\tvar handleObj, type;\n\t\tif ( types && types.preventDefault && types.handleObj ) {\n\n\t\t\t// ( event )  dispatched jQuery.Event\n\t\t\thandleObj = types.handleObj;\n\t\t\tjQuery( types.delegateTarget ).off(\n\t\t\t\thandleObj.namespace ?\n\t\t\t\t\thandleObj.origType + \".\" + handleObj.namespace :\n\t\t\t\t\thandleObj.origType,\n\t\t\t\thandleObj.selector,\n\t\t\t\thandleObj.handler\n\t\t\t);\n\t\t\treturn this;\n\t\t}\n\t\tif ( typeof types === \"object\" ) {\n\n\t\t\t// ( types-object [, selector] )\n\t\t\tfor ( type in types ) {\n\t\t\t\tthis.off( type, selector, types[ type ] );\n\t\t\t}\n\t\t\treturn this;\n\t\t}\n\t\tif ( selector === false || typeof selector === \"function\" ) {\n\n\t\t\t// ( types [, fn] )\n\t\t\tfn = selector;\n\t\t\tselector = undefined;\n\t\t}\n\t\tif ( fn === false ) {\n\t\t\tfn = returnFalse;\n\t\t}\n\t\treturn this.each( function() {\n\t\t\tjQuery.event.remove( this, types, fn, selector );\n\t\t} );\n\t}\n} );\n\n\nvar\n\n\t// Support: IE <=10 - 11, Edge 12 - 13 only\n\t// In IE/Edge using regex groups here causes severe slowdowns.\n\t// See https://connect.microsoft.com/IE/feedback/details/1736512/\n\trnoInnerhtml = /<script|<style|<link/i,\n\n\t// checked=\"checked\" or checked\n\trchecked = /checked\\s*(?:[^=]|=\\s*.checked.)/i,\n\n\trcleanScript = /^\\s*<!\\[CDATA\\[|\\]\\]>\\s*$/g;\n\n// Prefer a tbody over its parent table for containing new rows\nfunction manipulationTarget( elem, content ) {\n\tif ( nodeName( elem, \"table\" ) &&\n\t\tnodeName( content.nodeType !== 11 ? content : content.firstChild, \"tr\" ) ) {\n\n\t\treturn jQuery( elem ).children( \"tbody\" )[ 0 ] || elem;\n\t}\n\n\treturn elem;\n}\n\n// Replace/restore the type attribute of script elements for safe DOM manipulation\nfunction disableScript( elem ) {\n\telem.type = ( elem.getAttribute( \"type\" ) !== null ) + \"/\" + elem.type;\n\treturn elem;\n}\nfunction restoreScript( elem ) {\n\tif ( ( elem.type || \"\" ).slice( 0, 5 ) === \"true/\" ) {\n\t\telem.type = elem.type.slice( 5 );\n\t} else {\n\t\telem.removeAttribute( \"type\" );\n\t}\n\n\treturn elem;\n}\n\nfunction cloneCopyEvent( src, dest ) {\n\tvar i, l, type, pdataOld, udataOld, udataCur, events;\n\n\tif ( dest.nodeType !== 1 ) {\n\t\treturn;\n\t}\n\n\t// 1. Copy private data: events, handlers, etc.\n\tif ( dataPriv.hasData( src ) ) {\n\t\tpdataOld = dataPriv.get( src );\n\t\tevents = pdataOld.events;\n\n\t\tif ( events ) {\n\t\t\tdataPriv.remove( dest, \"handle events\" );\n\n\t\t\tfor ( type in events ) {\n\t\t\t\tfor ( i = 0, l = events[ type ].length; i < l; i++ ) {\n\t\t\t\t\tjQuery.event.add( dest, type, events[ type ][ i ] );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\t// 2. Copy user data\n\tif ( dataUser.hasData( src ) ) {\n\t\tudataOld = dataUser.access( src );\n\t\tudataCur = jQuery.extend( {}, udataOld );\n\n\t\tdataUser.set( dest, udataCur );\n\t}\n}\n\n// Fix IE bugs, see support tests\nfunction fixInput( src, dest ) {\n\tvar nodeName = dest.nodeName.toLowerCase();\n\n\t// Fails to persist the checked state of a cloned checkbox or radio button.\n\tif ( nodeName === \"input\" && rcheckableType.test( src.type ) ) {\n\t\tdest.checked = src.checked;\n\n\t// Fails to return the selected option to the default selected state when cloning options\n\t} else if ( nodeName === \"input\" || nodeName === \"textarea\" ) {\n\t\tdest.defaultValue = src.defaultValue;\n\t}\n}\n\nfunction domManip( collection, args, callback, ignored ) {\n\n\t// Flatten any nested arrays\n\targs = flat( args );\n\n\tvar fragment, first, scripts, hasScripts, node, doc,\n\t\ti = 0,\n\t\tl = collection.length,\n\t\tiNoClone = l - 1,\n\t\tvalue = args[ 0 ],\n\t\tvalueIsFunction = isFunction( value );\n\n\t// We can't cloneNode fragments that contain checked, in WebKit\n\tif ( valueIsFunction ||\n\t\t\t( l > 1 && typeof value === \"string\" &&\n\t\t\t\t!support.checkClone && rchecked.test( value ) ) ) {\n\t\treturn collection.each( function( index ) {\n\t\t\tvar self = collection.eq( index );\n\t\t\tif ( valueIsFunction ) {\n\t\t\t\targs[ 0 ] = value.call( this, index, self.html() );\n\t\t\t}\n\t\t\tdomManip( self, args, callback, ignored );\n\t\t} );\n\t}\n\n\tif ( l ) {\n\t\tfragment = buildFragment( args, collection[ 0 ].ownerDocument, false, collection, ignored );\n\t\tfirst = fragment.firstChild;\n\n\t\tif ( fragment.childNodes.length === 1 ) {\n\t\t\tfragment = first;\n\t\t}\n\n\t\t// Require either new content or an interest in ignored elements to invoke the callback\n\t\tif ( first || ignored ) {\n\t\t\tscripts = jQuery.map( getAll( fragment, \"script\" ), disableScript );\n\t\t\thasScripts = scripts.length;\n\n\t\t\t// Use the original fragment for the last item\n\t\t\t// instead of the first because it can end up\n\t\t\t// being emptied incorrectly in certain situations (trac-8070).\n\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\tnode = fragment;\n\n\t\t\t\tif ( i !== iNoClone ) {\n\t\t\t\t\tnode = jQuery.clone( node, true, true );\n\n\t\t\t\t\t// Keep references to cloned scripts for later restoration\n\t\t\t\t\tif ( hasScripts ) {\n\n\t\t\t\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t\t\t\t// push.apply(_, arraylike) throws on ancient WebKit\n\t\t\t\t\t\tjQuery.merge( scripts, getAll( node, \"script\" ) );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tcallback.call( collection[ i ], node, i );\n\t\t\t}\n\n\t\t\tif ( hasScripts ) {\n\t\t\t\tdoc = scripts[ scripts.length - 1 ].ownerDocument;\n\n\t\t\t\t// Re-enable scripts\n\t\t\t\tjQuery.map( scripts, restoreScript );\n\n\t\t\t\t// Evaluate executable scripts on first document insertion\n\t\t\t\tfor ( i = 0; i < hasScripts; i++ ) {\n\t\t\t\t\tnode = scripts[ i ];\n\t\t\t\t\tif ( rscriptType.test( node.type || \"\" ) &&\n\t\t\t\t\t\t!dataPriv.access( node, \"globalEval\" ) &&\n\t\t\t\t\t\tjQuery.contains( doc, node ) ) {\n\n\t\t\t\t\t\tif ( node.src && ( node.type || \"\" ).toLowerCase()  !== \"module\" ) {\n\n\t\t\t\t\t\t\t// Optional AJAX dependency, but won't run scripts if not present\n\t\t\t\t\t\t\tif ( jQuery._evalUrl && !node.noModule ) {\n\t\t\t\t\t\t\t\tjQuery._evalUrl( node.src, {\n\t\t\t\t\t\t\t\t\tnonce: node.nonce || node.getAttribute( \"nonce\" )\n\t\t\t\t\t\t\t\t}, doc );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t// Unwrap a CDATA section containing script contents. This shouldn't be\n\t\t\t\t\t\t\t// needed as in XML documents they're already not visible when\n\t\t\t\t\t\t\t// inspecting element contents and in HTML documents they have no\n\t\t\t\t\t\t\t// meaning but we're preserving that logic for backwards compatibility.\n\t\t\t\t\t\t\t// This will be removed completely in 4.0. See gh-4904.\n\t\t\t\t\t\t\tDOMEval( node.textContent.replace( rcleanScript, \"\" ), node, doc );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn collection;\n}\n\nfunction remove( elem, selector, keepData ) {\n\tvar node,\n\t\tnodes = selector ? jQuery.filter( selector, elem ) : elem,\n\t\ti = 0;\n\n\tfor ( ; ( node = nodes[ i ] ) != null; i++ ) {\n\t\tif ( !keepData && node.nodeType === 1 ) {\n\t\t\tjQuery.cleanData( getAll( node ) );\n\t\t}\n\n\t\tif ( node.parentNode ) {\n\t\t\tif ( keepData && isAttached( node ) ) {\n\t\t\t\tsetGlobalEval( getAll( node, \"script\" ) );\n\t\t\t}\n\t\t\tnode.parentNode.removeChild( node );\n\t\t}\n\t}\n\n\treturn elem;\n}\n\njQuery.extend( {\n\thtmlPrefilter: function( html ) {\n\t\treturn html;\n\t},\n\n\tclone: function( elem, dataAndEvents, deepDataAndEvents ) {\n\t\tvar i, l, srcElements, destElements,\n\t\t\tclone = elem.cloneNode( true ),\n\t\t\tinPage = isAttached( elem );\n\n\t\t// Fix IE cloning issues\n\t\tif ( !support.noCloneChecked && ( elem.nodeType === 1 || elem.nodeType === 11 ) &&\n\t\t\t\t!jQuery.isXMLDoc( elem ) ) {\n\n\t\t\t// We eschew jQuery#find here for performance reasons:\n\t\t\t// https://jsperf.com/getall-vs-sizzle/2\n\t\t\tdestElements = getAll( clone );\n\t\t\tsrcElements = getAll( elem );\n\n\t\t\tfor ( i = 0, l = srcElements.length; i < l; i++ ) {\n\t\t\t\tfixInput( srcElements[ i ], destElements[ i ] );\n\t\t\t}\n\t\t}\n\n\t\t// Copy the events from the original to the clone\n\t\tif ( dataAndEvents ) {\n\t\t\tif ( deepDataAndEvents ) {\n\t\t\t\tsrcElements = srcElements || getAll( elem );\n\t\t\t\tdestElements = destElements || getAll( clone );\n\n\t\t\t\tfor ( i = 0, l = srcElements.length; i < l; i++ ) {\n\t\t\t\t\tcloneCopyEvent( srcElements[ i ], destElements[ i ] );\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tcloneCopyEvent( elem, clone );\n\t\t\t}\n\t\t}\n\n\t\t// Preserve script evaluation history\n\t\tdestElements = getAll( clone, \"script\" );\n\t\tif ( destElements.length > 0 ) {\n\t\t\tsetGlobalEval( destElements, !inPage && getAll( elem, \"script\" ) );\n\t\t}\n\n\t\t// Return the cloned set\n\t\treturn clone;\n\t},\n\n\tcleanData: function( elems ) {\n\t\tvar data, elem, type,\n\t\t\tspecial = jQuery.event.special,\n\t\t\ti = 0;\n\n\t\tfor ( ; ( elem = elems[ i ] ) !== undefined; i++ ) {\n\t\t\tif ( acceptData( elem ) ) {\n\t\t\t\tif ( ( data = elem[ dataPriv.expando ] ) ) {\n\t\t\t\t\tif ( data.events ) {\n\t\t\t\t\t\tfor ( type in data.events ) {\n\t\t\t\t\t\t\tif ( special[ type ] ) {\n\t\t\t\t\t\t\t\tjQuery.event.remove( elem, type );\n\n\t\t\t\t\t\t\t// This is a shortcut to avoid jQuery.event.remove's overhead\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tjQuery.removeEvent( elem, type, data.handle );\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\t// Support: Chrome <=35 - 45+\n\t\t\t\t\t// Assign undefined instead of using delete, see Data#remove\n\t\t\t\t\telem[ dataPriv.expando ] = undefined;\n\t\t\t\t}\n\t\t\t\tif ( elem[ dataUser.expando ] ) {\n\n\t\t\t\t\t// Support: Chrome <=35 - 45+\n\t\t\t\t\t// Assign undefined instead of using delete, see Data#remove\n\t\t\t\t\telem[ dataUser.expando ] = undefined;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n} );\n\njQuery.fn.extend( {\n\tdetach: function( selector ) {\n\t\treturn remove( this, selector, true );\n\t},\n\n\tremove: function( selector ) {\n\t\treturn remove( this, selector );\n\t},\n\n\ttext: function( value ) {\n\t\treturn access( this, function( value ) {\n\t\t\treturn value === undefined ?\n\t\t\t\tjQuery.text( this ) :\n\t\t\t\tthis.empty().each( function() {\n\t\t\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\t\t\tthis.textContent = value;\n\t\t\t\t\t}\n\t\t\t\t} );\n\t\t}, null, value, arguments.length );\n\t},\n\n\tappend: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\tvar target = manipulationTarget( this, elem );\n\t\t\t\ttarget.appendChild( elem );\n\t\t\t}\n\t\t} );\n\t},\n\n\tprepend: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.nodeType === 1 || this.nodeType === 11 || this.nodeType === 9 ) {\n\t\t\t\tvar target = manipulationTarget( this, elem );\n\t\t\t\ttarget.insertBefore( elem, target.firstChild );\n\t\t\t}\n\t\t} );\n\t},\n\n\tbefore: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.parentNode ) {\n\t\t\t\tthis.parentNode.insertBefore( elem, this );\n\t\t\t}\n\t\t} );\n\t},\n\n\tafter: function() {\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tif ( this.parentNode ) {\n\t\t\t\tthis.parentNode.insertBefore( elem, this.nextSibling );\n\t\t\t}\n\t\t} );\n\t},\n\n\tempty: function() {\n\t\tvar elem,\n\t\t\ti = 0;\n\n\t\tfor ( ; ( elem = this[ i ] ) != null; i++ ) {\n\t\t\tif ( elem.nodeType === 1 ) {\n\n\t\t\t\t// Prevent memory leaks\n\t\t\t\tjQuery.cleanData( getAll( elem, false ) );\n\n\t\t\t\t// Remove any remaining nodes\n\t\t\t\telem.textContent = \"\";\n\t\t\t}\n\t\t}\n\n\t\treturn this;\n\t},\n\n\tclone: function( dataAndEvents, deepDataAndEvents ) {\n\t\tdataAndEvents = dataAndEvents == null ? false : dataAndEvents;\n\t\tdeepDataAndEvents = deepDataAndEvents == null ? dataAndEvents : deepDataAndEvents;\n\n\t\treturn this.map( function() {\n\t\t\treturn jQuery.clone( this, dataAndEvents, deepDataAndEvents );\n\t\t} );\n\t},\n\n\thtml: function( value ) {\n\t\treturn access( this, function( value ) {\n\t\t\tvar elem = this[ 0 ] || {},\n\t\t\t\ti = 0,\n\t\t\t\tl = this.length;\n\n\t\t\tif ( value === undefined && elem.nodeType === 1 ) {\n\t\t\t\treturn elem.innerHTML;\n\t\t\t}\n\n\t\t\t// See if we can take a shortcut and just use innerHTML\n\t\t\tif ( typeof value === \"string\" && !rnoInnerhtml.test( value ) &&\n\t\t\t\t!wrapMap[ ( rtagName.exec( value ) || [ \"\", \"\" ] )[ 1 ].toLowerCase() ] ) {\n\n\t\t\t\tvalue = jQuery.htmlPrefilter( value );\n\n\t\t\t\ttry {\n\t\t\t\t\tfor ( ; i < l; i++ ) {\n\t\t\t\t\t\telem = this[ i ] || {};\n\n\t\t\t\t\t\t// Remove element nodes and prevent memory leaks\n\t\t\t\t\t\tif ( elem.nodeType === 1 ) {\n\t\t\t\t\t\t\tjQuery.cleanData( getAll( elem, false ) );\n\t\t\t\t\t\t\telem.innerHTML = value;\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\telem = 0;\n\n\t\t\t\t// If using innerHTML throws an exception, use the fallback method\n\t\t\t\t} catch ( e ) {}\n\t\t\t}\n\n\t\t\tif ( elem ) {\n\t\t\t\tthis.empty().append( value );\n\t\t\t}\n\t\t}, null, value, arguments.length );\n\t},\n\n\treplaceWith: function() {\n\t\tvar ignored = [];\n\n\t\t// Make the changes, replacing each non-ignored context element with the new content\n\t\treturn domManip( this, arguments, function( elem ) {\n\t\t\tvar parent = this.parentNode;\n\n\t\t\tif ( jQuery.inArray( this, ignored ) < 0 ) {\n\t\t\t\tjQuery.cleanData( getAll( this ) );\n\t\t\t\tif ( parent ) {\n\t\t\t\t\tparent.replaceChild( elem, this );\n\t\t\t\t}\n\t\t\t}\n\n\t\t// Force callback invocation\n\t\t}, ignored );\n\t}\n} );\n\njQuery.each( {\n\tappendTo: \"append\",\n\tprependTo: \"prepend\",\n\tinsertBefore: \"before\",\n\tinsertAfter: \"after\",\n\treplaceAll: \"replaceWith\"\n}, function( name, original ) {\n\tjQuery.fn[ name ] = function( selector ) {\n\t\tvar elems,\n\t\t\tret = [],\n\t\t\tinsert = jQuery( selector ),\n\t\t\tlast = insert.length - 1,\n\t\t\ti = 0;\n\n\t\tfor ( ; i <= last; i++ ) {\n\t\t\telems = i === last ? this : this.clone( true );\n\t\t\tjQuery( insert[ i ] )[ original ]( elems );\n\n\t\t\t// Support: Android <=4.0 only, PhantomJS 1 only\n\t\t\t// .get() because push.apply(_, arraylike) throws on ancient WebKit\n\t\t\tpush.apply( ret, elems.get() );\n\t\t}\n\n\t\treturn this.pushStack( ret );\n\t};\n} );\nvar rnumnonpx = new RegExp( \"^(\" + pnum + \")(?!px)[a-z%]+$\", \"i\" );\n\nvar rcustomProp = /^--/;\n\n\nvar getStyles = function( elem ) {\n\n\t\t// Support: IE <=11 only, Firefox <=30 (trac-15098, trac-14150)\n\t\t// IE throws on elements created in popups\n\t\t// FF meanwhile throws on frame elements through \"defaultView.getComputedStyle\"\n\t\tvar view = elem.ownerDocument.defaultView;\n\n\t\tif ( !view || !view.opener ) {\n\t\t\tview = window;\n\t\t}\n\n\t\treturn view.getComputedStyle( elem );\n\t};\n\nvar swap = function( elem, options, callback ) {\n\tvar ret, name,\n\t\told = {};\n\n\t// Remember the old values, and insert the new ones\n\tfor ( name in options ) {\n\t\told[ name ] = elem.style[ name ];\n\t\telem.style[ name ] = options[ name ];\n\t}\n\n\tret = callback.call( elem );\n\n\t// Revert the old values\n\tfor ( name in options ) {\n\t\telem.style[ name ] = old[ name ];\n\t}\n\n\treturn ret;\n};\n\n\nvar rboxStyle = new RegExp( cssExpand.join( \"|\" ), \"i\" );\n\n\n\n( function() {\n\n\t// Executing both pixelPosition & boxSizingReliable tests require only one layout\n\t// so they're executed at the same time to save the second computation.\n\tfunction computeStyleTests() {\n\n\t\t// This is a singleton, we need to execute it only once\n\t\tif ( !div ) {\n\t\t\treturn;\n\t\t}\n\n\t\tcontainer.style.cssText = \"position:absolute;left:-11111px;width:60px;\" +\n\t\t\t\"margin-top:1px;padding:0;border:0\";\n\t\tdiv.style.cssText =\n\t\t\t\"position:relative;display:block;box-sizing:border-box;overflow:scroll;\" +\n\t\t\t\"margin:auto;border:1px;padding:1px;\" +\n\t\t\t\"width:60%;top:1%\";\n\t\tdocumentElement.appendChild( container ).appendChild( div );\n\n\t\tvar divStyle = window.getComputedStyle( div );\n\t\tpixelPositionVal = divStyle.top !== \"1%\";\n\n\t\t// Support: Android 4.0 - 4.3 only, Firefox <=3 - 44\n\t\treliableMarginLeftVal = roundPixelMeasures( divStyle.marginLeft ) === 12;\n\n\t\t// Support: Android 4.0 - 4.3 only, Safari <=9.1 - 10.1, iOS <=7.0 - 9.3\n\t\t// Some styles come back with percentage values, even though they shouldn't\n\t\tdiv.style.right = \"60%\";\n\t\tpixelBoxStylesVal = roundPixelMeasures( divStyle.right ) === 36;\n\n\t\t// Support: IE 9 - 11 only\n\t\t// Detect misreporting of content dimensions for box-sizing:border-box elements\n\t\tboxSizingReliableVal = roundPixelMeasures( divStyle.width ) === 36;\n\n\t\t// Support: IE 9 only\n\t\t// Detect overflow:scroll screwiness (gh-3699)\n\t\t// Support: Chrome <=64\n\t\t// Don't get tricked when zoom affects offsetWidth (gh-4029)\n\t\tdiv.style.position = \"absolute\";\n\t\tscrollboxSizeVal = roundPixelMeasures( div.offsetWidth / 3 ) === 12;\n\n\t\tdocumentElement.removeChild( container );\n\n\t\t// Nullify the div so it wouldn't be stored in the memory and\n\t\t// it will also be a sign that checks already performed\n\t\tdiv = null;\n\t}\n\n\tfunction roundPixelMeasures( measure ) {\n\t\treturn Math.round( parseFloat( measure ) );\n\t}\n\n\tvar pixelPositionVal, boxSizingReliableVal, scrollboxSizeVal, pixelBoxStylesVal,\n\t\treliableTrDimensionsVal, reliableMarginLeftVal,\n\t\tcontainer = document.createElement( \"div\" ),\n\t\tdiv = document.createElement( \"div\" );\n\n\t// Finish early in limited (non-browser) environments\n\tif ( !div.style ) {\n\t\treturn;\n\t}\n\n\t// Support: IE <=9 - 11 only\n\t// Style of cloned element affects source element cloned (trac-8908)\n\tdiv.style.backgroundClip = \"content-box\";\n\tdiv.cloneNode( true ).style.backgroundClip = \"\";\n\tsupport.clearCloneStyle = div.style.backgroundClip === \"content-box\";\n\n\tjQuery.extend( support, {\n\t\tboxSizingReliable: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn boxSizingReliableVal;\n\t\t},\n\t\tpixelBoxStyles: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn pixelBoxStylesVal;\n\t\t},\n\t\tpixelPosition: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn pixelPositionVal;\n\t\t},\n\t\treliableMarginLeft: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn reliableMarginLeftVal;\n\t\t},\n\t\tscrollboxSize: function() {\n\t\t\tcomputeStyleTests();\n\t\t\treturn scrollboxSizeVal;\n\t\t},\n\n\t\t// Support: IE 9 - 11+, Edge 15 - 18+\n\t\t// IE/Edge misreport `getComputedStyle` of table rows with width/height\n\t\t// set in CSS while `offset*` properties report correct values.\n\t\t// Behavior in IE 9 is more subtle than in newer versions & it passes\n\t\t// some versions of this test; make sure not to make it pass there!\n\t\t//\n\t\t// Support: Firefox 70+\n\t\t// Only Firefox includes border widths\n\t\t// in computed dimensions. (gh-4529)\n\t\treliableTrDimensions: function() {\n\t\t\tvar table, tr, trChild, trStyle;\n\t\t\tif ( reliableTrDimensionsVal == null ) {\n\t\t\t\ttable = document.createElement( \"table\" );\n\t\t\t\ttr = document.createElement( \"tr\" );\n\t\t\t\ttrChild = document.createElement( \"div\" );\n\n\t\t\t\ttable.style.cssText = \"position:absolute;left:-11111px;border-collapse:separate\";\n\t\t\t\ttr.style.cssText = \"box-sizing:content-box;border:1px solid\";\n\n\t\t\t\t// Support: Chrome 86+\n\t\t\t\t// Height set through cssText does not get applied.\n\t\t\t\t// Computed height then comes back as 0.\n\t\t\t\ttr.style.height = \"1px\";\n\t\t\t\ttrChild.style.height = \"9px\";\n\n\t\t\t\t// Support: Android 8 Chrome 86+\n\t\t\t\t// In our bodyBackground.html iframe,\n\t\t\t\t// display for all div elements is set to \"inline\",\n\t\t\t\t// which causes a problem only in Android 8 Chrome 86.\n\t\t\t\t// Ensuring the div is `display: block`\n\t\t\t\t// gets around this issue.\n\t\t\t\ttrChild.style.display = \"block\";\n\n\t\t\t\tdocumentElement\n\t\t\t\t\t.appendChild( table )\n\t\t\t\t\t.appendChild( tr )\n\t\t\t\t\t.appendChild( trChild );\n\n\t\t\t\ttrStyle = window.getComputedStyle( tr );\n\t\t\t\treliableTrDimensionsVal = ( parseInt( trStyle.height, 10 ) +\n\t\t\t\t\tparseInt( trStyle.borderTopWidth, 10 ) +\n\t\t\t\t\tparseInt( trStyle.borderBottomWidth, 10 ) ) === tr.offsetHeight;\n\n\t\t\t\tdocumentElement.removeChild( table );\n\t\t\t}\n\t\t\treturn reliableTrDimensionsVal;\n\t\t}\n\t} );\n} )();\n\n\nfunction curCSS( elem, name, computed ) {\n\tvar width, minWidth, maxWidth, ret,\n\t\tisCustomProp = rcustomProp.test( name ),\n\n\t\t// Support: Firefox 51+\n\t\t// Retrieving style before computed somehow\n\t\t// fixes an issue with getting wrong values\n\t\t// on detached elements\n\t\tstyle = elem.style;\n\n\tcomputed = computed || getStyles( elem );\n\n\t// getPropertyValue is needed for:\n\t//   .css('filter') (IE 9 only, trac-12537)\n\t//   .css('--customProperty) (gh-3144)\n\tif ( computed ) {\n\n\t\t// Support: IE <=9 - 11+\n\t\t// IE only supports `\"float\"` in `getPropertyValue`; in computed styles\n\t\t// it's only available as `\"cssFloat\"`. We no longer modify properties\n\t\t// sent to `.css()` apart from camelCasing, so we need to check both.\n\t\t// Normally, this would create difference in behavior: if\n\t\t// `getPropertyValue` returns an empty string, the value returned\n\t\t// by `.css()` would be `undefined`. This is usually the case for\n\t\t// disconnected elements. However, in IE even disconnected elements\n\t\t// with no styles return `\"none\"` for `getPropertyValue( \"float\" )`\n\t\tret = computed.getPropertyValue( name ) || computed[ name ];\n\n\t\tif ( isCustomProp && ret ) {\n\n\t\t\t// Support: Firefox 105+, Chrome <=105+\n\t\t\t// Spec requires trimming whitespace for custom properties (gh-4926).\n\t\t\t// Firefox only trims leading whitespace. Chrome just collapses\n\t\t\t// both leading & trailing whitespace to a single space.\n\t\t\t//\n\t\t\t// Fall back to `undefined` if empty string returned.\n\t\t\t// This collapses a missing definition with property defined\n\t\t\t// and set to an empty string but there's no standard API\n\t\t\t// allowing us to differentiate them without a performance penalty\n\t\t\t// and returning `undefined` aligns with older jQuery.\n\t\t\t//\n\t\t\t// rtrimCSS treats U+000D CARRIAGE RETURN and U+000C FORM FEED\n\t\t\t// as whitespace while CSS does not, but this is not a problem\n\t\t\t// because CSS preprocessing replaces them with U+000A LINE FEED\n\t\t\t// (which *is* CSS whitespace)\n\t\t\t// https://www.w3.org/TR/css-syntax-3/#input-preprocessing\n\t\t\tret = ret.replace( rtrimCSS, \"$1\" ) || undefined;\n\t\t}\n\n\t\tif ( ret === \"\" && !isAttached( elem ) ) {\n\t\t\tret = jQuery.style( elem, name );\n\t\t}\n\n\t\t// A tribute to the \"awesome hack by Dean Edwards\"\n\t\t// Android Browser returns percentage for some values,\n\t\t// but width seems to be reliably pixels.\n\t\t// This is against the CSSOM draft spec:\n\t\t// https://drafts.csswg.org/cssom/#resolved-values\n\t\tif ( !support.pixelBoxStyles() && rnumnonpx.test( ret ) && rboxStyle.test( name ) ) {\n\n\t\t\t// Remember the original values\n\t\t\twidth = style.width;\n\t\t\tminWidth = style.minWidth;\n\t\t\tmaxWidth = style.maxWidth;\n\n\t\t\t// Put in the new values to get a computed value out\n\t\t\tstyle.minWidth = style.maxWidth = style.width = ret;\n\t\t\tret = computed.width;\n\n\t\t\t// Revert the changed values\n\t\t\tstyle.width = width;\n\t\t\tstyle.minWidth = minWidth;\n\t\t\tstyle.maxWidth = maxWidth;\n\t\t}\n\t}\n\n\treturn ret !== undefined ?\n\n\t\t// Support: IE <=9 - 11 only\n\t\t// IE returns zIndex value as an integer.\n\t\tret + \"\" :\n\t\tret;\n}\n\n\nfunction addGetHookIf( conditionFn, hookFn ) {\n\n\t// Define the hook, we'll check on the first run if it's really needed.\n\treturn {\n\t\tget: function() {\n\t\t\tif ( conditionFn() ) {\n\n\t\t\t\t// Hook not needed (or it's not possible to use it due\n\t\t\t\t// to missing dependency), remove it.\n\t\t\t\tdelete this.get;\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// Hook needed; redefine it so that the support test is not executed again.\n\t\t\treturn ( this.get = hookFn ).apply( this, arguments );\n\t\t}\n\t};\n}\n\n\nvar cssPrefixes = [ \"Webkit\", \"Moz\", \"ms\" ],\n\temptyStyle = document.createElement( \"div\" ).style,\n\tvendorProps = {};\n\n// Return a vendor-prefixed property or undefined\nfunction vendorPropName( name ) {\n\n\t// Check for vendor prefixed names\n\tvar capName = name[ 0 ].toUpperCase() + name.slice( 1 ),\n\t\ti = cssPrefixes.length;\n\n\twhile ( i-- ) {\n\t\tname = cssPrefixes[ i ] + capName;\n\t\tif ( name in emptyStyle ) {\n\t\t\treturn name;\n\t\t}\n\t}\n}\n\n// Return a potentially-mapped jQuery.cssProps or vendor prefixed property\nfunction finalPropName( name ) {\n\tvar final = jQuery.cssProps[ name ] || vendorProps[ name ];\n\n\tif ( final ) {\n\t\treturn final;\n\t}\n\tif ( name in emptyStyle ) {\n\t\treturn name;\n\t}\n\treturn vendorProps[ name ] = vendorPropName( name ) || name;\n}\n\n\nvar\n\n\t// Swappable if display is none or starts with table\n\t// except \"table\", \"table-cell\", or \"table-caption\"\n\t// See here for display values: https://developer.mozilla.org/en-US/docs/CSS/display\n\trdisplayswap = /^(none|table(?!-c[ea]).+)/,\n\tcssShow = { position: \"absolute\", visibility: \"hidden\", display: \"block\" },\n\tcssNormalTransform = {\n\t\tletterSpacing: \"0\",\n\t\tfontWeight: \"400\"\n\t};\n\nfunction setPositiveNumber( _elem, value, subtract ) {\n\n\t// Any relative (+/-) values have already been\n\t// normalized at this point\n\tvar matches = rcssNum.exec( value );\n\treturn matches ?\n\n\t\t// Guard against undefined \"subtract\", e.g., when used as in cssHooks\n\t\tMath.max( 0, matches[ 2 ] - ( subtract || 0 ) ) + ( matches[ 3 ] || \"px\" ) :\n\t\tvalue;\n}\n\nfunction boxModelAdjustment( elem, dimension, box, isBorderBox, styles, computedVal ) {\n\tvar i = dimension === \"width\" ? 1 : 0,\n\t\textra = 0,\n\t\tdelta = 0,\n\t\tmarginDelta = 0;\n\n\t// Adjustment may not be necessary\n\tif ( box === ( isBorderBox ? \"border\" : \"content\" ) ) {\n\t\treturn 0;\n\t}\n\n\tfor ( ; i < 4; i += 2 ) {\n\n\t\t// Both box models exclude margin\n\t\t// Count margin delta separately to only add it after scroll gutter adjustment.\n\t\t// This is needed to make negative margins work with `outerHeight( true )` (gh-3982).\n\t\tif ( box === \"margin\" ) {\n\t\t\tmarginDelta += jQuery.css( elem, box + cssExpand[ i ], true, styles );\n\t\t}\n\n\t\t// If we get here with a content-box, we're seeking \"padding\" or \"border\" or \"margin\"\n\t\tif ( !isBorderBox ) {\n\n\t\t\t// Add padding\n\t\t\tdelta += jQuery.css( elem, \"padding\" + cssExpand[ i ], true, styles );\n\n\t\t\t// For \"border\" or \"margin\", add border\n\t\t\tif ( box !== \"padding\" ) {\n\t\t\t\tdelta += jQuery.css( elem, \"border\" + cssExpand[ i ] + \"Width\", true, styles );\n\n\t\t\t// But still keep track of it otherwise\n\t\t\t} else {\n\t\t\t\textra += jQuery.css( elem, \"border\" + cssExpand[ i ] + \"Width\", true, styles );\n\t\t\t}\n\n\t\t// If we get here with a border-box (content + padding + border), we're seeking \"content\" or\n\t\t// \"padding\" or \"margin\"\n\t\t} else {\n\n\t\t\t// For \"content\", subtract padding\n\t\t\tif ( box === \"content\" ) {\n\t\t\t\tdelta -= jQuery.css( elem, \"padding\" + cssExpand[ i ], true, styles );\n\t\t\t}\n\n\t\t\t// For \"content\" or \"padding\", subtract border\n\t\t\tif ( box !== \"margin\" ) {\n\t\t\t\tdelta -= jQuery.css( elem, \"border\" + cssExpand[ i ] + \"Width\", true, styles );\n\t\t\t}\n\t\t}\n\t}\n\n\t// Account for positive content-box scroll gutter when requested by providing computedVal\n\tif ( !isBorderBox && computedVal >= 0 ) {\n\n\t\t// offsetWidth/offsetHeight is a rounded sum of content, padding, scroll gutter, and border\n\t\t// Assuming integer scroll gutter, subtract the rest and round down\n\t\tdelta += Math.max( 0, Math.ceil(\n\t\t\telem[ \"offset\" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] -\n\t\t\tcomputedVal -\n\t\t\tdelta -\n\t\t\textra -\n\t\t\t0.5\n\n\t\t// If offsetWidth/offsetHeight is unknown, then we can't determine content-box scroll gutter\n\t\t// Use an explicit zero to avoid NaN (gh-3964)\n\t\t) ) || 0;\n\t}\n\n\treturn delta + marginDelta;\n}\n\nfunction getWidthOrHeight( elem, dimension, extra ) {\n\n\t// Start with computed style\n\tvar styles = getStyles( elem ),\n\n\t\t// To avoid forcing a reflow, only fetch boxSizing if we need it (gh-4322).\n\t\t// Fake content-box until we know it's needed to know the true value.\n\t\tboxSizingNeeded = !support.boxSizingReliable() || extra,\n\t\tisBorderBox = boxSizingNeeded &&\n\t\t\tjQuery.css( elem, \"boxSizing\", false, styles ) === \"border-box\",\n\t\tvalueIsBorderBox = isBorderBox,\n\n\t\tval = curCSS( elem, dimension, styles ),\n\t\toffsetProp = \"offset\" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 );\n\n\t// Support: Firefox <=54\n\t// Return a confounding non-pixel value or feign ignorance, as appropriate.\n\tif ( rnumnonpx.test( val ) ) {\n\t\tif ( !extra ) {\n\t\t\treturn val;\n\t\t}\n\t\tval = \"auto\";\n\t}\n\n\n\t// Support: IE 9 - 11 only\n\t// Use offsetWidth/offsetHeight for when box sizing is unreliable.\n\t// In those cases, the computed value can be trusted to be border-box.\n\tif ( ( !support.boxSizingReliable() && isBorderBox ||\n\n\t\t// Support: IE 10 - 11+, Edge 15 - 18+\n\t\t// IE/Edge misreport `getComputedStyle` of table rows with width/height\n\t\t// set in CSS while `offset*` properties report correct values.\n\t\t// Interestingly, in some cases IE 9 doesn't suffer from this issue.\n\t\t!support.reliableTrDimensions() && nodeName( elem, \"tr\" ) ||\n\n\t\t// Fall back to offsetWidth/offsetHeight when value is \"auto\"\n\t\t// This happens for inline elements with no explicit setting (gh-3571)\n\t\tval === \"auto\" ||\n\n\t\t// Support: Android <=4.1 - 4.3 only\n\t\t// Also use offsetWidth/offsetHeight for misreported inline dimensions (gh-3602)\n\t\t!parseFloat( val ) && jQuery.css( elem, \"display\", false, styles ) === \"inline\" ) &&\n\n\t\t// Make sure the element is visible & connected\n\t\telem.getClientRects().length ) {\n\n\t\tisBorderBox = jQuery.css( elem, \"boxSizing\", false, styles ) === \"border-box\";\n\n\t\t// Where available, offsetWidth/offsetHeight approximate border box dimensions.\n\t\t// Where not available (e.g., SVG), assume unreliable box-sizing and interpret the\n\t\t// retrieved value as a content box dimension.\n\t\tvalueIsBorderBox = offsetProp in elem;\n\t\tif ( valueIsBorderBox ) {\n\t\t\tval = elem[ offsetProp ];\n\t\t}\n\t}\n\n\t// Normalize \"\" and auto\n\tval = parseFloat( val ) || 0;\n\n\t// Adjust for the element's box model\n\treturn ( val +\n\t\tboxModelAdjustment(\n\t\t\telem,\n\t\t\tdimension,\n\t\t\textra || ( isBorderBox ? \"border\" : \"content\" ),\n\t\t\tvalueIsBorderBox,\n\t\t\tstyles,\n\n\t\t\t// Provide the current computed size to request scroll gutter calculation (gh-3589)\n\t\t\tval\n\t\t)\n\t) + \"px\";\n}\n\njQuery.extend( {\n\n\t// Add in style property hooks for overriding the default\n\t// behavior of getting and setting a style property\n\tcssHooks: {\n\t\topacity: {\n\t\t\tget: function( elem, computed ) {\n\t\t\t\tif ( computed ) {\n\n\t\t\t\t\t// We should always get a number back from opacity\n\t\t\t\t\tvar ret = curCSS( elem, \"opacity\" );\n\t\t\t\t\treturn ret === \"\" ? \"1\" : ret;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\n\t// Don't automatically add \"px\" to these possibly-unitless properties\n\tcssNumber: {\n\t\tanimationIterationCount: true,\n\t\taspectRatio: true,\n\t\tborderImageSlice: true,\n\t\tcolumnCount: true,\n\t\tflexGrow: true,\n\t\tflexShrink: true,\n\t\tfontWeight: true,\n\t\tgridArea: true,\n\t\tgridColumn: true,\n\t\tgridColumnEnd: true,\n\t\tgridColumnStart: true,\n\t\tgridRow: true,\n\t\tgridRowEnd: true,\n\t\tgridRowStart: true,\n\t\tlineHeight: true,\n\t\topacity: true,\n\t\torder: true,\n\t\torphans: true,\n\t\tscale: true,\n\t\twidows: true,\n\t\tzIndex: true,\n\t\tzoom: true,\n\n\t\t// SVG-related\n\t\tfillOpacity: true,\n\t\tfloodOpacity: true,\n\t\tstopOpacity: true,\n\t\tstrokeMiterlimit: true,\n\t\tstrokeOpacity: true\n\t},\n\n\t// Add in properties whose names you wish to fix before\n\t// setting or getting the value\n\tcssProps: {},\n\n\t// Get and set the style property on a DOM Node\n\tstyle: function( elem, name, value, extra ) {\n\n\t\t// Don't set styles on text and comment nodes\n\t\tif ( !elem || elem.nodeType === 3 || elem.nodeType === 8 || !elem.style ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Make sure that we're working with the right name\n\t\tvar ret, type, hooks,\n\t\t\torigName = camelCase( name ),\n\t\t\tisCustomProp = rcustomProp.test( name ),\n\t\t\tstyle = elem.style;\n\n\t\t// Make sure that we're working with the right name. We don't\n\t\t// want to query the value if it is a CSS custom property\n\t\t// since they are user-defined.\n\t\tif ( !isCustomProp ) {\n\t\t\tname = finalPropName( origName );\n\t\t}\n\n\t\t// Gets hook for the prefixed version, then unprefixed version\n\t\thooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];\n\n\t\t// Check if we're setting a value\n\t\tif ( value !== undefined ) {\n\t\t\ttype = typeof value;\n\n\t\t\t// Convert \"+=\" or \"-=\" to relative numbers (trac-7345)\n\t\t\tif ( type === \"string\" && ( ret = rcssNum.exec( value ) ) && ret[ 1 ] ) {\n\t\t\t\tvalue = adjustCSS( elem, name, ret );\n\n\t\t\t\t// Fixes bug trac-9237\n\t\t\t\ttype = \"number\";\n\t\t\t}\n\n\t\t\t// Make sure that null and NaN values aren't set (trac-7116)\n\t\t\tif ( value == null || value !== value ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\t// If a number was passed in, add the unit (except for certain CSS properties)\n\t\t\t// The isCustomProp check can be removed in jQuery 4.0 when we only auto-append\n\t\t\t// \"px\" to a few hardcoded values.\n\t\t\tif ( type === \"number\" && !isCustomProp ) {\n\t\t\t\tvalue += ret && ret[ 3 ] || ( jQuery.cssNumber[ origName ] ? \"\" : \"px\" );\n\t\t\t}\n\n\t\t\t// background-* props affect original clone's values\n\t\t\tif ( !support.clearCloneStyle && value === \"\" && name.indexOf( \"background\" ) === 0 ) {\n\t\t\t\tstyle[ name ] = \"inherit\";\n\t\t\t}\n\n\t\t\t// If a hook was provided, use that value, otherwise just set the specified value\n\t\t\tif ( !hooks || !( \"set\" in hooks ) ||\n\t\t\t\t( value = hooks.set( elem, value, extra ) ) !== undefined ) {\n\n\t\t\t\tif ( isCustomProp ) {\n\t\t\t\t\tstyle.setProperty( name, value );\n\t\t\t\t} else {\n\t\t\t\t\tstyle[ name ] = value;\n\t\t\t\t}\n\t\t\t}\n\n\t\t} else {\n\n\t\t\t// If a hook was provided get the non-computed value from there\n\t\t\tif ( hooks && \"get\" in hooks &&\n\t\t\t\t( ret = hooks.get( elem, false, extra ) ) !== undefined ) {\n\n\t\t\t\treturn ret;\n\t\t\t}\n\n\t\t\t// Otherwise just get the value from the style object\n\t\t\treturn style[ name ];\n\t\t}\n\t},\n\n\tcss: function( elem, name, extra, styles ) {\n\t\tvar val, num, hooks,\n\t\t\torigName = camelCase( name ),\n\t\t\tisCustomProp = rcustomProp.test( name );\n\n\t\t// Make sure that we're working with the right name. We don't\n\t\t// want to modify the value if it is a CSS custom property\n\t\t// since they are user-defined.\n\t\tif ( !isCustomProp ) {\n\t\t\tname = finalPropName( origName );\n\t\t}\n\n\t\t// Try prefixed name followed by the unprefixed name\n\t\thooks = jQuery.cssHooks[ name ] || jQuery.cssHooks[ origName ];\n\n\t\t// If a hook was provided get the computed value from there\n\t\tif ( hooks && \"get\" in hooks ) {\n\t\t\tval = hooks.get( elem, true, extra );\n\t\t}\n\n\t\t// Otherwise, if a way to get the computed value exists, use that\n\t\tif ( val === undefined ) {\n\t\t\tval = curCSS( elem, name, styles );\n\t\t}\n\n\t\t// Convert \"normal\" to computed value\n\t\tif ( val === \"normal\" && name in cssNormalTransform ) {\n\t\t\tval = cssNormalTransform[ name ];\n\t\t}\n\n\t\t// Make numeric if forced or a qualifier was provided and val looks numeric\n\t\tif ( extra === \"\" || extra ) {\n\t\t\tnum = parseFloat( val );\n\t\t\treturn extra === true || isFinite( num ) ? num || 0 : val;\n\t\t}\n\n\t\treturn val;\n\t}\n} );\n\njQuery.each( [ \"height\", \"width\" ], function( _i, dimension ) {\n\tjQuery.cssHooks[ dimension ] = {\n\t\tget: function( elem, computed, extra ) {\n\t\t\tif ( computed ) {\n\n\t\t\t\t// Certain elements can have dimension info if we invisibly show them\n\t\t\t\t// but it must have a current display style that would benefit\n\t\t\t\treturn rdisplayswap.test( jQuery.css( elem, \"display\" ) ) &&\n\n\t\t\t\t\t// Support: Safari 8+\n\t\t\t\t\t// Table columns in Safari have non-zero offsetWidth & zero\n\t\t\t\t\t// getBoundingClientRect().width unless display is changed.\n\t\t\t\t\t// Support: IE <=11 only\n\t\t\t\t\t// Running getBoundingClientRect on a disconnected node\n\t\t\t\t\t// in IE throws an error.\n\t\t\t\t\t( !elem.getClientRects().length || !elem.getBoundingClientRect().width ) ?\n\t\t\t\t\tswap( elem, cssShow, function() {\n\t\t\t\t\t\treturn getWidthOrHeight( elem, dimension, extra );\n\t\t\t\t\t} ) :\n\t\t\t\t\tgetWidthOrHeight( elem, dimension, extra );\n\t\t\t}\n\t\t},\n\n\t\tset: function( elem, value, extra ) {\n\t\t\tvar matches,\n\t\t\t\tstyles = getStyles( elem ),\n\n\t\t\t\t// Only read styles.position if the test has a chance to fail\n\t\t\t\t// to avoid forcing a reflow.\n\t\t\t\tscrollboxSizeBuggy = !support.scrollboxSize() &&\n\t\t\t\t\tstyles.position === \"absolute\",\n\n\t\t\t\t// To avoid forcing a reflow, only fetch boxSizing if we need it (gh-3991)\n\t\t\t\tboxSizingNeeded = scrollboxSizeBuggy || extra,\n\t\t\t\tisBorderBox = boxSizingNeeded &&\n\t\t\t\t\tjQuery.css( elem, \"boxSizing\", false, styles ) === \"border-box\",\n\t\t\t\tsubtract = extra ?\n\t\t\t\t\tboxModelAdjustment(\n\t\t\t\t\t\telem,\n\t\t\t\t\t\tdimension,\n\t\t\t\t\t\textra,\n\t\t\t\t\t\tisBorderBox,\n\t\t\t\t\t\tstyles\n\t\t\t\t\t) :\n\t\t\t\t\t0;\n\n\t\t\t// Account for unreliable border-box dimensions by comparing offset* to computed and\n\t\t\t// faking a content-box to get border and padding (gh-3699)\n\t\t\tif ( isBorderBox && scrollboxSizeBuggy ) {\n\t\t\t\tsubtract -= Math.ceil(\n\t\t\t\t\telem[ \"offset\" + dimension[ 0 ].toUpperCase() + dimension.slice( 1 ) ] -\n\t\t\t\t\tparseFloat( styles[ dimension ] ) -\n\t\t\t\t\tboxModelAdjustment( elem, dimension, \"border\", false, styles ) -\n\t\t\t\t\t0.5\n\t\t\t\t);\n\t\t\t}\n\n\t\t\t// Convert to pixels if value adjustment is needed\n\t\t\tif ( subtract && ( matches = rcssNum.exec( value ) ) &&\n\t\t\t\t( matches[ 3 ] || \"px\" ) !== \"px\" ) {\n\n\t\t\t\telem.style[ dimension ] = value;\n\t\t\t\tvalue = jQuery.css( elem, dimension );\n\t\t\t}\n\n\t\t\treturn setPositiveNumber( elem, value, subtract );\n\t\t}\n\t};\n} );\n\njQuery.cssHooks.marginLeft = addGetHookIf( support.reliableMarginLeft,\n\tfunction( elem, computed ) {\n\t\tif ( computed ) {\n\t\t\treturn ( parseFloat( curCSS( elem, \"marginLeft\" ) ) ||\n\t\t\t\telem.getBoundingClientRect().left -\n\t\t\t\t\tswap( elem, { marginLeft: 0 }, function() {\n\t\t\t\t\t\treturn elem.getBoundingClientRect().left;\n\t\t\t\t\t} )\n\t\t\t) + \"px\";\n\t\t}\n\t}\n);\n\n// These hooks are used by animate to expand properties\njQuery.each( {\n\tmargin: \"\",\n\tpadding: \"\",\n\tborder: \"Width\"\n}, function( prefix, suffix ) {\n\tjQuery.cssHooks[ prefix + suffix ] = {\n\t\texpand: function( value ) {\n\t\t\tvar i = 0,\n\t\t\t\texpanded = {},\n\n\t\t\t\t// Assumes a single number if not a string\n\t\t\t\tparts = typeof value === \"string\" ? value.split( \" \" ) : [ value ];\n\n\t\t\tfor ( ; i < 4; i++ ) {\n\t\t\t\texpanded[ prefix + cssExpand[ i ] + suffix ] =\n\t\t\t\t\tparts[ i ] || parts[ i - 2 ] || parts[ 0 ];\n\t\t\t}\n\n\t\t\treturn expanded;\n\t\t}\n\t};\n\n\tif ( prefix !== \"margin\" ) {\n\t\tjQuery.cssHooks[ prefix + suffix ].set = setPositiveNumber;\n\t}\n} );\n\njQuery.fn.extend( {\n\tcss: function( name, value ) {\n\t\treturn access( this, function( elem, name, value ) {\n\t\t\tvar styles, len,\n\t\t\t\tmap = {},\n\t\t\t\ti = 0;\n\n\t\t\tif ( Array.isArray( name ) ) {\n\t\t\t\tstyles = getStyles( elem );\n\t\t\t\tlen = name.length;\n\n\t\t\t\tfor ( ; i < len; i++ ) {\n\t\t\t\t\tmap[ name[ i ] ] = jQuery.css( elem, name[ i ], false, styles );\n\t\t\t\t}\n\n\t\t\t\treturn map;\n\t\t\t}\n\n\t\t\treturn value !== undefined ?\n\t\t\t\tjQuery.style( elem, name, value ) :\n\t\t\t\tjQuery.css( elem, name );\n\t\t}, name, value, arguments.length > 1 );\n\t}\n} );\n\n\nfunction Tween( elem, options, prop, end, easing ) {\n\treturn new Tween.prototype.init( elem, options, prop, end, easing );\n}\njQuery.Tween = Tween;\n\nTween.prototype = {\n\tconstructor: Tween,\n\tinit: function( elem, options, prop, end, easing, unit ) {\n\t\tthis.elem = elem;\n\t\tthis.prop = prop;\n\t\tthis.easing = easing || jQuery.easing._default;\n\t\tthis.options = options;\n\t\tthis.start = this.now = this.cur();\n\t\tthis.end = end;\n\t\tthis.unit = unit || ( jQuery.cssNumber[ prop ] ? \"\" : \"px\" );\n\t},\n\tcur: function() {\n\t\tvar hooks = Tween.propHooks[ this.prop ];\n\n\t\treturn hooks && hooks.get ?\n\t\t\thooks.get( this ) :\n\t\t\tTween.propHooks._default.get( this );\n\t},\n\trun: function( percent ) {\n\t\tvar eased,\n\t\t\thooks = Tween.propHooks[ this.prop ];\n\n\t\tif ( this.options.duration ) {\n\t\t\tthis.pos = eased = jQuery.easing[ this.easing ](\n\t\t\t\tpercent, this.options.duration * percent, 0, 1, this.options.duration\n\t\t\t);\n\t\t} else {\n\t\t\tthis.pos = eased = percent;\n\t\t}\n\t\tthis.now = ( this.end - this.start ) * eased + this.start;\n\n\t\tif ( this.options.step ) {\n\t\t\tthis.options.step.call( this.elem, this.now, this );\n\t\t}\n\n\t\tif ( hooks && hooks.set ) {\n\t\t\thooks.set( this );\n\t\t} else {\n\t\t\tTween.propHooks._default.set( this );\n\t\t}\n\t\treturn this;\n\t}\n};\n\nTween.prototype.init.prototype = Tween.prototype;\n\nTween.propHooks = {\n\t_default: {\n\t\tget: function( tween ) {\n\t\t\tvar result;\n\n\t\t\t// Use a property on the element directly when it is not a DOM element,\n\t\t\t// or when there is no matching style property that exists.\n\t\t\tif ( tween.elem.nodeType !== 1 ||\n\t\t\t\ttween.elem[ tween.prop ] != null && tween.elem.style[ tween.prop ] == null ) {\n\t\t\t\treturn tween.elem[ tween.prop ];\n\t\t\t}\n\n\t\t\t// Passing an empty string as a 3rd parameter to .css will automatically\n\t\t\t// attempt a parseFloat and fallback to a string if the parse fails.\n\t\t\t// Simple values such as \"10px\" are parsed to Float;\n\t\t\t// complex values such as \"rotate(1rad)\" are returned as-is.\n\t\t\tresult = jQuery.css( tween.elem, tween.prop, \"\" );\n\n\t\t\t// Empty strings, null, undefined and \"auto\" are converted to 0.\n\t\t\treturn !result || result === \"auto\" ? 0 : result;\n\t\t},\n\t\tset: function( tween ) {\n\n\t\t\t// Use step hook for back compat.\n\t\t\t// Use cssHook if its there.\n\t\t\t// Use .style if available and use plain properties where available.\n\t\t\tif ( jQuery.fx.step[ tween.prop ] ) {\n\t\t\t\tjQuery.fx.step[ tween.prop ]( tween );\n\t\t\t} else if ( tween.elem.nodeType === 1 && (\n\t\t\t\tjQuery.cssHooks[ tween.prop ] ||\n\t\t\t\t\ttween.elem.style[ finalPropName( tween.prop ) ] != null ) ) {\n\t\t\t\tjQuery.style( tween.elem, tween.prop, tween.now + tween.unit );\n\t\t\t} else {\n\t\t\t\ttween.elem[ tween.prop ] = tween.now;\n\t\t\t}\n\t\t}\n\t}\n};\n\n// Support: IE <=9 only\n// Panic based approach to setting things on disconnected nodes\nTween.propHooks.scrollTop = Tween.propHooks.scrollLeft = {\n\tset: function( tween ) {\n\t\tif ( tween.elem.nodeType && tween.elem.parentNode ) {\n\t\t\ttween.elem[ tween.prop ] = tween.now;\n\t\t}\n\t}\n};\n\njQuery.easing = {\n\tlinear: function( p ) {\n\t\treturn p;\n\t},\n\tswing: function( p ) {\n\t\treturn 0.5 - Math.cos( p * Math.PI ) / 2;\n\t},\n\t_default: \"swing\"\n};\n\njQuery.fx = Tween.prototype.init;\n\n// Back compat <1.8 extension point\njQuery.fx.step = {};\n\n\n\n\nvar\n\tfxNow, inProgress,\n\trfxtypes = /^(?:toggle|show|hide)$/,\n\trrun = /queueHooks$/;\n\nfunction schedule() {\n\tif ( inProgress ) {\n\t\tif ( document.hidden === false && window.requestAnimationFrame ) {\n\t\t\twindow.requestAnimationFrame( schedule );\n\t\t} else {\n\t\t\twindow.setTimeout( schedule, jQuery.fx.interval );\n\t\t}\n\n\t\tjQuery.fx.tick();\n\t}\n}\n\n// Animations created synchronously will run synchronously\nfunction createFxNow() {\n\twindow.setTimeout( function() {\n\t\tfxNow = undefined;\n\t} );\n\treturn ( fxNow = Date.now() );\n}\n\n// Generate parameters to create a standard animation\nfunction genFx( type, includeWidth ) {\n\tvar which,\n\t\ti = 0,\n\t\tattrs = { height: type };\n\n\t// If we include width, step value is 1 to do all cssExpand values,\n\t// otherwise step value is 2 to skip over Left and Right\n\tincludeWidth = includeWidth ? 1 : 0;\n\tfor ( ; i < 4; i += 2 - includeWidth ) {\n\t\twhich = cssExpand[ i ];\n\t\tattrs[ \"margin\" + which ] = attrs[ \"padding\" + which ] = type;\n\t}\n\n\tif ( includeWidth ) {\n\t\tattrs.opacity = attrs.width = type;\n\t}\n\n\treturn attrs;\n}\n\nfunction createTween( value, prop, animation ) {\n\tvar tween,\n\t\tcollection = ( Animation.tweeners[ prop ] || [] ).concat( Animation.tweeners[ \"*\" ] ),\n\t\tindex = 0,\n\t\tlength = collection.length;\n\tfor ( ; index < length; index++ ) {\n\t\tif ( ( tween = collection[ index ].call( animation, prop, value ) ) ) {\n\n\t\t\t// We're done with this property\n\t\t\treturn tween;\n\t\t}\n\t}\n}\n\nfunction defaultPrefilter( elem, props, opts ) {\n\tvar prop, value, toggle, hooks, oldfire, propTween, restoreDisplay, display,\n\t\tisBox = \"width\" in props || \"height\" in props,\n\t\tanim = this,\n\t\torig = {},\n\t\tstyle = elem.style,\n\t\thidden = elem.nodeType && isHiddenWithinTree( elem ),\n\t\tdataShow = dataPriv.get( elem, \"fxshow\" );\n\n\t// Queue-skipping animations hijack the fx hooks\n\tif ( !opts.queue ) {\n\t\thooks = jQuery._queueHooks( elem, \"fx\" );\n\t\tif ( hooks.unqueued == null ) {\n\t\t\thooks.unqueued = 0;\n\t\t\toldfire = hooks.empty.fire;\n\t\t\thooks.empty.fire = function() {\n\t\t\t\tif ( !hooks.unqueued ) {\n\t\t\t\t\toldfire();\n\t\t\t\t}\n\t\t\t};\n\t\t}\n\t\thooks.unqueued++;\n\n\t\tanim.always( function() {\n\n\t\t\t// Ensure the complete handler is called before this completes\n\t\t\tanim.always( function() {\n\t\t\t\thooks.unqueued--;\n\t\t\t\tif ( !jQuery.queue( elem, \"fx\" ).length ) {\n\t\t\t\t\thooks.empty.fire();\n\t\t\t\t}\n\t\t\t} );\n\t\t} );\n\t}\n\n\t// Detect show/hide animations\n\tfor ( prop in props ) {\n\t\tvalue = props[ prop ];\n\t\tif ( rfxtypes.test( value ) ) {\n\t\t\tdelete props[ prop ];\n\t\t\ttoggle = toggle || value === \"toggle\";\n\t\t\tif ( value === ( hidden ? \"hide\" : \"show\" ) ) {\n\n\t\t\t\t// Pretend to be hidden if this is a \"show\" and\n\t\t\t\t// there is still data from a stopped show/hide\n\t\t\t\tif ( value === \"show\" && dataShow && dataShow[ prop ] !== undefined ) {\n\t\t\t\t\thidden = true;\n\n\t\t\t\t// Ignore all other no-op show/hide data\n\t\t\t\t} else {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\t\t\torig[ prop ] = dataShow && dataShow[ prop ] || jQuery.style( elem, prop );\n\t\t}\n\t}\n\n\t// Bail out if this is a no-op like .hide().hide()\n\tpropTween = !jQuery.isEmptyObject( props );\n\tif ( !propTween && jQuery.isEmptyObject( orig ) ) {\n\t\treturn;\n\t}\n\n\t// Restrict \"overflow\" and \"display\" styles during box animations\n\tif ( isBox && elem.nodeType === 1 ) {\n\n\t\t// Support: IE <=9 - 11, Edge 12 - 15\n\t\t// Record all 3 overflow attributes because IE does not infer the shorthand\n\t\t// from identically-valued overflowX and overflowY and Edge just mirrors\n\t\t// the overflowX value there.\n\t\topts.overflow = [ style.overflow, style.overflowX, style.overflowY ];\n\n\t\t// Identify a display type, preferring old show/hide data over the CSS cascade\n\t\trestoreDisplay = dataShow && dataShow.display;\n\t\tif ( restoreDisplay == null ) {\n\t\t\trestoreDisplay = dataPriv.get( elem, \"display\" );\n\t\t}\n\t\tdisplay = jQuery.css( elem, \"display\" );\n\t\tif ( display === \"none\" ) {\n\t\t\tif ( restoreDisplay ) {\n\t\t\t\tdisplay = restoreDisplay;\n\t\t\t} else {\n\n\t\t\t\t// Get nonempty value(s) by temporarily forcing visibility\n\t\t\t\tshowHide( [ elem ], true );\n\t\t\t\trestoreDisplay = elem.style.display || restoreDisplay;\n\t\t\t\tdisplay = jQuery.css( elem, \"display\" );\n\t\t\t\tshowHide( [ elem ] );\n\t\t\t}\n\t\t}\n\n\t\t// Animate inline elements as inline-block\n\t\tif ( display === \"inline\" || display === \"inline-block\" && restoreDisplay != null ) {\n\t\t\tif ( jQuery.css( elem, \"float\" ) === \"none\" ) {\n\n\t\t\t\t// Restore the original display value at the end of pure show/hide animations\n\t\t\t\tif ( !propTween ) {\n\t\t\t\t\tanim.done( function() {\n\t\t\t\t\t\tstyle.display = restoreDisplay;\n\t\t\t\t\t} );\n\t\t\t\t\tif ( restoreDisplay == null ) {\n\t\t\t\t\t\tdisplay = style.display;\n\t\t\t\t\t\trestoreDisplay = display === \"none\" ? \"\" : display;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tstyle.display = \"inline-block\";\n\t\t\t}\n\t\t}\n\t}\n\n\tif ( opts.overflow ) {\n\t\tstyle.overflow = \"hidden\";\n\t\tanim.always( function() {\n\t\t\tstyle.overflow = opts.overflow[ 0 ];\n\t\t\tstyle.overflowX = opts.overflow[ 1 ];\n\t\t\tstyle.overflowY = opts.overflow[ 2 ];\n\t\t} );\n\t}\n\n\t// Implement show/hide animations\n\tpropTween = false;\n\tfor ( prop in orig ) {\n\n\t\t// General show/hide setup for this element animation\n\t\tif ( !propTween ) {\n\t\t\tif ( dataShow ) {\n\t\t\t\tif ( \"hidden\" in dataShow ) {\n\t\t\t\t\thidden = dataShow.hidden;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tdataShow = dataPriv.access( elem, \"fxshow\", { display: restoreDisplay } );\n\t\t\t}\n\n\t\t\t// Store hidden/visible for toggle so `.stop().toggle()` \"reverses\"\n\t\t\tif ( toggle ) {\n\t\t\t\tdataShow.hidden = !hidden;\n\t\t\t}\n\n\t\t\t// Show elements before animating them\n\t\t\tif ( hidden ) {\n\t\t\t\tshowHide( [ elem ], true );\n\t\t\t}\n\n\t\t\t/* eslint-disable no-loop-func */\n\n\t\t\tanim.done( function() {\n\n\t\t\t\t/* eslint-enable no-loop-func */\n\n\t\t\t\t// The final step of a \"hide\" animation is actually hiding the element\n\t\t\t\tif ( !hidden ) {\n\t\t\t\t\tshowHide( [ elem ] );\n\t\t\t\t}\n\t\t\t\tdataPriv.remove( elem, \"fxshow\" );\n\t\t\t\tfor ( prop in orig ) {\n\t\t\t\t\tjQuery.style( elem, prop, orig[ prop ] );\n\t\t\t\t}\n\t\t\t} );\n\t\t}\n\n\t\t// Per-property setup\n\t\tpropTween = createTween( hidden ? dataShow[ prop ] : 0, prop, anim );\n\t\tif ( !( prop in dataShow ) ) {\n\t\t\tdataShow[ prop ] = propTween.start;\n\t\t\tif ( hidden ) {\n\t\t\t\tpropTween.end = propTween.start;\n\t\t\t\tpropTween.start = 0;\n\t\t\t}\n\t\t}\n\t}\n}\n\nfunction propFilter( props, specialEasing ) {\n\tvar index, name, easing, value, hooks;\n\n\t// camelCase, specialEasing and expand cssHook pass\n\tfor ( index in props ) {\n\t\tname = camelCase( index );\n\t\teasing = specialEasing[ name ];\n\t\tvalue = props[ index ];\n\t\tif ( Array.isArray( value ) ) {\n\t\t\teasing = value[ 1 ];\n\t\t\tvalue = props[ index ] = value[ 0 ];\n\t\t}\n\n\t\tif ( index !== name ) {\n\t\t\tprops[ name ] = value;\n\t\t\tdelete props[ index ];\n\t\t}\n\n\t\thooks = jQuery.cssHooks[ name ];\n\t\tif ( hooks && \"expand\" in hooks ) {\n\t\t\tvalue = hooks.expand( value );\n\t\t\tdelete props[ name ];\n\n\t\t\t// Not quite $.extend, this won't overwrite existing keys.\n\t\t\t// Reusing 'index' because we have the correct \"name\"\n\t\t\tfor ( index in value ) {\n\t\t\t\tif ( !( index in props ) ) {\n\t\t\t\t\tprops[ index ] = value[ index ];\n\t\t\t\t\tspecialEasing[ index ] = easing;\n\t\t\t\t}\n\t\t\t}\n\t\t} else {\n\t\t\tspecialEasing[ name ] = easing;\n\t\t}\n\t}\n}\n\nfunction Animation( elem, properties, options ) {\n\tvar result,\n\t\tstopped,\n\t\tindex = 0,\n\t\tlength = Animation.prefilters.length,\n\t\tdeferred = jQuery.Deferred().always( function() {\n\n\t\t\t// Don't match elem in the :animated selector\n\t\t\tdelete tick.elem;\n\t\t} ),\n\t\ttick = function() {\n\t\t\tif ( stopped ) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t\tvar currentTime = fxNow || createFxNow(),\n\t\t\t\tremaining = Math.max( 0, animation.startTime + animation.duration - currentTime ),\n\n\t\t\t\t// Support: Android 2.3 only\n\t\t\t\t// Archaic crash bug won't allow us to use `1 - ( 0.5 || 0 )` (trac-12497)\n\t\t\t\ttemp = remaining / animation.duration || 0,\n\t\t\t\tpercent = 1 - temp,\n\t\t\t\tindex = 0,\n\t\t\t\tlength = animation.tweens.length;\n\n\t\t\tfor ( ; index < length; index++ ) {\n\t\t\t\tanimation.tweens[ index ].run( percent );\n\t\t\t}\n\n\t\t\tdeferred.notifyWith( elem, [ animation, percent, remaining ] );\n\n\t\t\t// If there's more to do, yield\n\t\t\tif ( percent < 1 && length ) {\n\t\t\t\treturn remaining;\n\t\t\t}\n\n\t\t\t// If this was an empty animation, synthesize a final progress notification\n\t\t\tif ( !length ) {\n\t\t\t\tdeferred.notifyWith( elem, [ animation, 1, 0 ] );\n\t\t\t}\n\n\t\t\t// Resolve the animation and report its conclusion\n\t\t\tdeferred.resolveWith( elem, [ animation ] );\n\t\t\treturn false;\n\t\t},\n\t\tanimation = deferred.promise( {\n\t\t\telem: elem,\n\t\t\tprops: jQuery.extend( {}, properties ),\n\t\t\topts: jQuery.extend( true, {\n\t\t\t\tspecialEasing: {},\n\t\t\t\teasing: jQuery.easing._default\n\t\t\t}, options ),\n\t\t\toriginalProperties: properties,\n\t\t\toriginalOptions: options,\n\t\t\tstartTime: fxNow || createFxNow(),\n\t\t\tduration: options.duration,\n\t\t\ttweens: [],\n\t\t\tcreateTween: function( prop, end ) {\n\t\t\t\tvar tween = jQuery.Tween( elem, animation.opts, prop, end,\n\t\t\t\t\tanimation.opts.specialEasing[ prop ] || animation.opts.easing );\n\t\t\t\tanimation.tweens.push( tween );\n\t\t\t\treturn tween;\n\t\t\t},\n\t\t\tstop: function( gotoEnd ) {\n\t\t\t\tvar index = 0,\n\n\t\t\t\t\t// If we are going to the end, we want to run all the tweens\n\t\t\t\t\t// otherwise we skip this part\n\t\t\t\t\tlength = gotoEnd ? animation.tweens.length : 0;\n\t\t\t\tif ( stopped ) {\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\t\t\t\tstopped = true;\n\t\t\t\tfor ( ; index < length; index++ ) {\n\t\t\t\t\tanimation.tweens[ index ].run( 1 );\n\t\t\t\t}\n\n\t\t\t\t// Resolve when we played the last frame; otherwise, reject\n\t\t\t\tif ( gotoEnd ) {\n\t\t\t\t\tdeferred.notifyWith( elem, [ animation, 1, 0 ] );\n\t\t\t\t\tdeferred.resolveWith( elem, [ animation, gotoEnd ] );\n\t\t\t\t} else {\n\t\t\t\t\tdeferred.rejectWith( elem, [ animation, gotoEnd ] );\n\t\t\t\t}\n\t\t\t\treturn this;\n\t\t\t}\n\t\t} ),\n\t\tprops = animation.props;\n\n\tpropFilter( props, animation.opts.specialEasing );\n\n\tfor ( ; index < length; index++ ) {\n\t\tresult = Animation.prefilters[ index ].call( animation, elem, props, animation.opts );\n\t\tif ( result ) {\n\t\t\tif ( isFunction( result.stop ) ) {\n\t\t\t\tjQuery._queueHooks( animation.elem, animation.opts.queue ).stop =\n\t\t\t\t\tresult.stop.bind( result );\n\t\t\t}\n\t\t\treturn result;\n\t\t}\n\t}\n\n\tjQuery.map( props, createTween, animation );\n\n\tif ( isFunction( animation.opts.start ) ) {\n\t\tanimation.opts.start.call( elem, animation );\n\t}\n\n\t// Attach callbacks from options\n\tanimation\n\t\t.progress( animation.opts.progress )\n\t\t.done( animation.opts.done, animation.opts.complete )\n\t\t.fail( animation.opts.fail )\n\t\t.always( animation.opts.always );\n\n\tjQuery.fx.timer(\n\t\tjQuery.extend( tick, {\n\t\t\telem: elem,\n\t\t\tanim: animation,\n\t\t\tqueue: animation.opts.queue\n\t\t} )\n\t);\n\n\treturn animation;\n}\n\njQuery.Animation = jQuery.extend( Animation, {\n\n\ttweeners: {\n\t\t\"*\": [ function( prop, value ) {\n\t\t\tvar tween = this.createTween( prop, value );\n\t\t\tadjustCSS( tween.elem, prop, rcssNum.exec( value ), tween );\n\t\t\treturn tween;\n\t\t} ]\n\t},\n\n\ttweener: function( props, callback ) {\n\t\tif ( isFunction( props ) ) {\n\t\t\tcallback = props;\n\t\t\tprops = [ \"*\" ];\n\t\t} else {\n\t\t\tprops = props.match( rnothtmlwhite );\n\t\t}\n\n\t\tvar prop,\n\t\t\tindex = 0,\n\t\t\tlength = props.length;\n\n\t\tfor ( ; index < length; index++ ) {\n\t\t\tprop = props[ index ];\n\t\t\tAnimation.tweeners[ prop ] = Animation.tweeners[ prop ] || [];\n\t\t\tAnimation.tweeners[ prop ].unshift( callback );\n\t\t}\n\t},\n\n\tprefilters: [ defaultPrefilter ],\n\n\tprefilter: function( callback, prepend ) {\n\t\tif ( prepend ) {\n\t\t\tAnimation.prefilters.unshift( callback );\n\t\t} else {\n\t\t\tAnimation.prefilters.push( callback );\n\t\t}\n\t}\n} );\n\njQuery.speed = function( speed, easing, fn ) {\n\tvar opt = speed && typeof speed === \"object\" ? jQuery.extend( {}, speed ) : {\n\t\tcomplete: fn || !fn && easing ||\n\t\t\tisFunction( speed ) && speed,\n\t\tduration: speed,\n\t\teasing: fn && easing || easing && !isFunction( easing ) && easing\n\t};\n\n\t// Go to the end state if fx are off\n\tif ( jQuery.fx.off ) {\n\t\topt.duration = 0;\n\n\t} else {\n\t\tif ( typeof opt.duration !== \"number\" ) {\n\t\t\tif ( opt.duration in jQuery.fx.speeds ) {\n\t\t\t\topt.duration = jQuery.fx.speeds[ opt.duration ];\n\n\t\t\t} else {\n\t\t\t\topt.duration = jQuery.fx.speeds._default;\n\t\t\t}\n\t\t}\n\t}\n\n\t// Normalize opt.queue - true/undefined/null -> \"fx\"\n\tif ( opt.queue == null || opt.queue === true ) {\n\t\topt.queue = \"fx\";\n\t}\n\n\t// Queueing\n\topt.old = opt.complete;\n\n\topt.complete = function() {\n\t\tif ( isFunction( opt.old ) ) {\n\t\t\topt.old.call( this );\n\t\t}\n\n\t\tif ( opt.queue ) {\n\t\t\tjQuery.dequeue( this, opt.queue );\n\t\t}\n\t};\n\n\treturn opt;\n};\n\njQuery.fn.extend( {\n\tfadeTo: function( speed, to, easing, callback ) {\n\n\t\t// Show any hidden elements after setting opacity to 0\n\t\treturn this.filter( isHiddenWithinTree ).css( \"opacity\", 0 ).show()\n\n\t\t\t// Animate to the value specified\n\t\t\t.end().animate( { opacity: to }, speed, easing, callback );\n\t},\n\tanimate: function( prop, speed, easing, callback ) {\n\t\tvar empty = jQuery.isEmptyObject( prop ),\n\t\t\toptall = jQuery.speed( speed, easing, callback ),\n\t\t\tdoAnimation = function() {\n\n\t\t\t\t// Operate on a copy of prop so per-property easing won't be lost\n\t\t\t\tvar anim = Animation( this, jQuery.extend( {}, prop ), optall );\n\n\t\t\t\t// Empty animations, or finishing resolves immediately\n\t\t\t\tif ( empty || dataPriv.get( this, \"finish\" ) ) {\n\t\t\t\t\tanim.stop( true );\n\t\t\t\t}\n\t\t\t};\n\n\t\tdoAnimation.finish = doAnimation;\n\n\t\treturn empty || optall.queue === false ?\n\t\t\tthis.each( doAnimation ) :\n\t\t\tthis.queue( optall.queue, doAnimation );\n\t},\n\tstop: function( type, clearQueue, gotoEnd ) {\n\t\tvar stopQueue = function( hooks ) {\n\t\t\tvar stop = hooks.stop;\n\t\t\tdelete hooks.stop;\n\t\t\tstop( gotoEnd );\n\t\t};\n\n\t\tif ( typeof type !== \"string\" ) {\n\t\t\tgotoEnd = clearQueue;\n\t\t\tclearQueue = type;\n\t\t\ttype = undefined;\n\t\t}\n\t\tif ( clearQueue ) {\n\t\t\tthis.queue( type || \"fx\", [] );\n\t\t}\n\n\t\treturn this.each( function() {\n\t\t\tvar dequeue = true,\n\t\t\t\tindex = type != null && type + \"queueHooks\",\n\t\t\t\ttimers = jQuery.timers,\n\t\t\t\tdata = dataPriv.get( this );\n\n\t\t\tif ( index ) {\n\t\t\t\tif ( data[ index ] && data[ index ].stop ) {\n\t\t\t\t\tstopQueue( data[ index ] );\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tfor ( index in data ) {\n\t\t\t\t\tif ( data[ index ] && data[ index ].stop && rrun.test( index ) ) {\n\t\t\t\t\t\tstopQueue( data[ index ] );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor ( index = timers.length; index--; ) {\n\t\t\t\tif ( timers[ index ].elem === this &&\n\t\t\t\t\t( type == null || timers[ index ].queue === type ) ) {\n\n\t\t\t\t\ttimers[ index ].anim.stop( gotoEnd );\n\t\t\t\t\tdequeue = false;\n\t\t\t\t\ttimers.splice( index, 1 );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Start the next in the queue if the last step wasn't forced.\n\t\t\t// Timers currently will call their complete callbacks, which\n\t\t\t// will dequeue but only if they were gotoEnd.\n\t\t\tif ( dequeue || !gotoEnd ) {\n\t\t\t\tjQuery.dequeue( this, type );\n\t\t\t}\n\t\t} );\n\t},\n\tfinish: function( type ) {\n\t\tif ( type !== false ) {\n\t\t\ttype = type || \"fx\";\n\t\t}\n\t\treturn this.each( function() {\n\t\t\tvar index,\n\t\t\t\tdata = dataPriv.get( this ),\n\t\t\t\tqueue = data[ type + \"queue\" ],\n\t\t\t\thooks = data[ type + \"queueHooks\" ],\n\t\t\t\ttimers = jQuery.timers,\n\t\t\t\tlength = queue ? queue.length : 0;\n\n\t\t\t// Enable finishing flag on private data\n\t\t\tdata.finish = true;\n\n\t\t\t// Empty the queue first\n\t\t\tjQuery.queue( this, type, [] );\n\n\t\t\tif ( hooks && hooks.stop ) {\n\t\t\t\thooks.stop.call( this, true );\n\t\t\t}\n\n\t\t\t// Look for any active animations, and finish them\n\t\t\tfor ( index = timers.length; index--; ) {\n\t\t\t\tif ( timers[ index ].elem === this && timers[ index ].queue === type ) {\n\t\t\t\t\ttimers[ index ].anim.stop( true );\n\t\t\t\t\ttimers.splice( index, 1 );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Look for any animations in the old queue and finish them\n\t\t\tfor ( index = 0; index < length; index++ ) {\n\t\t\t\tif ( queue[ index ] && queue[ index ].finish ) {\n\t\t\t\t\tqueue[ index ].finish.call( this );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Turn off finishing flag\n\t\t\tdelete data.finish;\n\t\t} );\n\t}\n} );\n\njQuery.each( [ \"toggle\", \"show\", \"hide\" ], function( _i, name ) {\n\tvar cssFn = jQuery.fn[ name ];\n\tjQuery.fn[ name ] = function( speed, easing, callback ) {\n\t\treturn speed == null || typeof speed === \"boolean\" ?\n\t\t\tcssFn.apply( this, arguments ) :\n\t\t\tthis.animate( genFx( name, true ), speed, easing, callback );\n\t};\n} );\n\n// Generate shortcuts for custom animations\njQuery.each( {\n\tslideDown: genFx( \"show\" ),\n\tslideUp: genFx( \"hide\" ),\n\tslideToggle: genFx( \"toggle\" ),\n\tfadeIn: { opacity: \"show\" },\n\tfadeOut: { opacity: \"hide\" },\n\tfadeToggle: { opacity: \"toggle\" }\n}, function( name, props ) {\n\tjQuery.fn[ name ] = function( speed, easing, callback ) {\n\t\treturn this.animate( props, speed, easing, callback );\n\t};\n} );\n\njQuery.timers = [];\njQuery.fx.tick = function() {\n\tvar timer,\n\t\ti = 0,\n\t\ttimers = jQuery.timers;\n\n\tfxNow = Date.now();\n\n\tfor ( ; i < timers.length; i++ ) {\n\t\ttimer = timers[ i ];\n\n\t\t// Run the timer and safely remove it when done (allowing for external removal)\n\t\tif ( !timer() && timers[ i ] === timer ) {\n\t\t\ttimers.splice( i--, 1 );\n\t\t}\n\t}\n\n\tif ( !timers.length ) {\n\t\tjQuery.fx.stop();\n\t}\n\tfxNow = undefined;\n};\n\njQuery.fx.timer = function( timer ) {\n\tjQuery.timers.push( timer );\n\tjQuery.fx.start();\n};\n\njQuery.fx.interval = 13;\njQuery.fx.start = function() {\n\tif ( inProgress ) {\n\t\treturn;\n\t}\n\n\tinProgress = true;\n\tschedule();\n};\n\njQuery.fx.stop = function() {\n\tinProgress = null;\n};\n\njQuery.fx.speeds = {\n\tslow: 600,\n\tfast: 200,\n\n\t// Default speed\n\t_default: 400\n};\n\n\n// Based off of the plugin by Clint Helfers, with permission.\njQuery.fn.delay = function( time, type ) {\n\ttime = jQuery.fx ? jQuery.fx.speeds[ time ] || time : time;\n\ttype = type || \"fx\";\n\n\treturn this.queue( type, function( next, hooks ) {\n\t\tvar timeout = window.setTimeout( next, time );\n\t\thooks.stop = function() {\n\t\t\twindow.clearTimeout( timeout );\n\t\t};\n\t} );\n};\n\n\n( function() {\n\tvar input = document.createElement( \"input\" ),\n\t\tselect = document.createElement( \"select\" ),\n\t\topt = select.appendChild( document.createElement( \"option\" ) );\n\n\tinput.type = \"checkbox\";\n\n\t// Support: Android <=4.3 only\n\t// Default value for a checkbox should be \"on\"\n\tsupport.checkOn = input.value !== \"\";\n\n\t// Support: IE <=11 only\n\t// Must access selectedIndex to make default options select\n\tsupport.optSelected = opt.selected;\n\n\t// Support: IE <=11 only\n\t// An input loses its value after becoming a radio\n\tinput = document.createElement( \"input\" );\n\tinput.value = \"t\";\n\tinput.type = \"radio\";\n\tsupport.radioValue = input.value === \"t\";\n} )();\n\n\nvar boolHook,\n\tattrHandle = jQuery.expr.attrHandle;\n\njQuery.fn.extend( {\n\tattr: function( name, value ) {\n\t\treturn access( this, jQuery.attr, name, value, arguments.length > 1 );\n\t},\n\n\tremoveAttr: function( name ) {\n\t\treturn this.each( function() {\n\t\t\tjQuery.removeAttr( this, name );\n\t\t} );\n\t}\n} );\n\njQuery.extend( {\n\tattr: function( elem, name, value ) {\n\t\tvar ret, hooks,\n\t\t\tnType = elem.nodeType;\n\n\t\t// Don't get/set attributes on text, comment and attribute nodes\n\t\tif ( nType === 3 || nType === 8 || nType === 2 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Fallback to prop when attributes are not supported\n\t\tif ( typeof elem.getAttribute === \"undefined\" ) {\n\t\t\treturn jQuery.prop( elem, name, value );\n\t\t}\n\n\t\t// Attribute hooks are determined by the lowercase version\n\t\t// Grab necessary hook if one is defined\n\t\tif ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {\n\t\t\thooks = jQuery.attrHooks[ name.toLowerCase() ] ||\n\t\t\t\t( jQuery.expr.match.bool.test( name ) ? boolHook : undefined );\n\t\t}\n\n\t\tif ( value !== undefined ) {\n\t\t\tif ( value === null ) {\n\t\t\t\tjQuery.removeAttr( elem, name );\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( hooks && \"set\" in hooks &&\n\t\t\t\t( ret = hooks.set( elem, value, name ) ) !== undefined ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\n\t\t\telem.setAttribute( name, value + \"\" );\n\t\t\treturn value;\n\t\t}\n\n\t\tif ( hooks && \"get\" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) {\n\t\t\treturn ret;\n\t\t}\n\n\t\tret = jQuery.find.attr( elem, name );\n\n\t\t// Non-existent attributes return null, we normalize to undefined\n\t\treturn ret == null ? undefined : ret;\n\t},\n\n\tattrHooks: {\n\t\ttype: {\n\t\t\tset: function( elem, value ) {\n\t\t\t\tif ( !support.radioValue && value === \"radio\" &&\n\t\t\t\t\tnodeName( elem, \"input\" ) ) {\n\t\t\t\t\tvar val = elem.value;\n\t\t\t\t\telem.setAttribute( \"type\", value );\n\t\t\t\t\tif ( val ) {\n\t\t\t\t\t\telem.value = val;\n\t\t\t\t\t}\n\t\t\t\t\treturn value;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t},\n\n\tremoveAttr: function( elem, value ) {\n\t\tvar name,\n\t\t\ti = 0,\n\n\t\t\t// Attribute names can contain non-HTML whitespace characters\n\t\t\t// https://html.spec.whatwg.org/multipage/syntax.html#attributes-2\n\t\t\tattrNames = value && value.match( rnothtmlwhite );\n\n\t\tif ( attrNames && elem.nodeType === 1 ) {\n\t\t\twhile ( ( name = attrNames[ i++ ] ) ) {\n\t\t\t\telem.removeAttribute( name );\n\t\t\t}\n\t\t}\n\t}\n} );\n\n// Hooks for boolean attributes\nboolHook = {\n\tset: function( elem, value, name ) {\n\t\tif ( value === false ) {\n\n\t\t\t// Remove boolean attributes when set to false\n\t\t\tjQuery.removeAttr( elem, name );\n\t\t} else {\n\t\t\telem.setAttribute( name, name );\n\t\t}\n\t\treturn name;\n\t}\n};\n\njQuery.each( jQuery.expr.match.bool.source.match( /\\w+/g ), function( _i, name ) {\n\tvar getter = attrHandle[ name ] || jQuery.find.attr;\n\n\tattrHandle[ name ] = function( elem, name, isXML ) {\n\t\tvar ret, handle,\n\t\t\tlowercaseName = name.toLowerCase();\n\n\t\tif ( !isXML ) {\n\n\t\t\t// Avoid an infinite loop by temporarily removing this function from the getter\n\t\t\thandle = attrHandle[ lowercaseName ];\n\t\t\tattrHandle[ lowercaseName ] = ret;\n\t\t\tret = getter( elem, name, isXML ) != null ?\n\t\t\t\tlowercaseName :\n\t\t\t\tnull;\n\t\t\tattrHandle[ lowercaseName ] = handle;\n\t\t}\n\t\treturn ret;\n\t};\n} );\n\n\n\n\nvar rfocusable = /^(?:input|select|textarea|button)$/i,\n\trclickable = /^(?:a|area)$/i;\n\njQuery.fn.extend( {\n\tprop: function( name, value ) {\n\t\treturn access( this, jQuery.prop, name, value, arguments.length > 1 );\n\t},\n\n\tremoveProp: function( name ) {\n\t\treturn this.each( function() {\n\t\t\tdelete this[ jQuery.propFix[ name ] || name ];\n\t\t} );\n\t}\n} );\n\njQuery.extend( {\n\tprop: function( elem, name, value ) {\n\t\tvar ret, hooks,\n\t\t\tnType = elem.nodeType;\n\n\t\t// Don't get/set properties on text, comment and attribute nodes\n\t\tif ( nType === 3 || nType === 8 || nType === 2 ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( nType !== 1 || !jQuery.isXMLDoc( elem ) ) {\n\n\t\t\t// Fix name and attach hooks\n\t\t\tname = jQuery.propFix[ name ] || name;\n\t\t\thooks = jQuery.propHooks[ name ];\n\t\t}\n\n\t\tif ( value !== undefined ) {\n\t\t\tif ( hooks && \"set\" in hooks &&\n\t\t\t\t( ret = hooks.set( elem, value, name ) ) !== undefined ) {\n\t\t\t\treturn ret;\n\t\t\t}\n\n\t\t\treturn ( elem[ name ] = value );\n\t\t}\n\n\t\tif ( hooks && \"get\" in hooks && ( ret = hooks.get( elem, name ) ) !== null ) {\n\t\t\treturn ret;\n\t\t}\n\n\t\treturn elem[ name ];\n\t},\n\n\tpropHooks: {\n\t\ttabIndex: {\n\t\t\tget: function( elem ) {\n\n\t\t\t\t// Support: IE <=9 - 11 only\n\t\t\t\t// elem.tabIndex doesn't always return the\n\t\t\t\t// correct value when it hasn't been explicitly set\n\t\t\t\t// Use proper attribute retrieval (trac-12072)\n\t\t\t\tvar tabindex = jQuery.find.attr( elem, \"tabindex\" );\n\n\t\t\t\tif ( tabindex ) {\n\t\t\t\t\treturn parseInt( tabindex, 10 );\n\t\t\t\t}\n\n\t\t\t\tif (\n\t\t\t\t\trfocusable.test( elem.nodeName ) ||\n\t\t\t\t\trclickable.test( elem.nodeName ) &&\n\t\t\t\t\telem.href\n\t\t\t\t) {\n\t\t\t\t\treturn 0;\n\t\t\t\t}\n\n\t\t\t\treturn -1;\n\t\t\t}\n\t\t}\n\t},\n\n\tpropFix: {\n\t\t\"for\": \"htmlFor\",\n\t\t\"class\": \"className\"\n\t}\n} );\n\n// Support: IE <=11 only\n// Accessing the selectedIndex property\n// forces the browser to respect setting selected\n// on the option\n// The getter ensures a default option is selected\n// when in an optgroup\n// eslint rule \"no-unused-expressions\" is disabled for this code\n// since it considers such accessions noop\nif ( !support.optSelected ) {\n\tjQuery.propHooks.selected = {\n\t\tget: function( elem ) {\n\n\t\t\t/* eslint no-unused-expressions: \"off\" */\n\n\t\t\tvar parent = elem.parentNode;\n\t\t\tif ( parent && parent.parentNode ) {\n\t\t\t\tparent.parentNode.selectedIndex;\n\t\t\t}\n\t\t\treturn null;\n\t\t},\n\t\tset: function( elem ) {\n\n\t\t\t/* eslint no-unused-expressions: \"off\" */\n\n\t\t\tvar parent = elem.parentNode;\n\t\t\tif ( parent ) {\n\t\t\t\tparent.selectedIndex;\n\n\t\t\t\tif ( parent.parentNode ) {\n\t\t\t\t\tparent.parentNode.selectedIndex;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n}\n\njQuery.each( [\n\t\"tabIndex\",\n\t\"readOnly\",\n\t\"maxLength\",\n\t\"cellSpacing\",\n\t\"cellPadding\",\n\t\"rowSpan\",\n\t\"colSpan\",\n\t\"useMap\",\n\t\"frameBorder\",\n\t\"contentEditable\"\n], function() {\n\tjQuery.propFix[ this.toLowerCase() ] = this;\n} );\n\n\n\n\n\t// Strip and collapse whitespace according to HTML spec\n\t// https://infra.spec.whatwg.org/#strip-and-collapse-ascii-whitespace\n\tfunction stripAndCollapse( value ) {\n\t\tvar tokens = value.match( rnothtmlwhite ) || [];\n\t\treturn tokens.join( \" \" );\n\t}\n\n\nfunction getClass( elem ) {\n\treturn elem.getAttribute && elem.getAttribute( \"class\" ) || \"\";\n}\n\nfunction classesToArray( value ) {\n\tif ( Array.isArray( value ) ) {\n\t\treturn value;\n\t}\n\tif ( typeof value === \"string\" ) {\n\t\treturn value.match( rnothtmlwhite ) || [];\n\t}\n\treturn [];\n}\n\njQuery.fn.extend( {\n\taddClass: function( value ) {\n\t\tvar classNames, cur, curValue, className, i, finalValue;\n\n\t\tif ( isFunction( value ) ) {\n\t\t\treturn this.each( function( j ) {\n\t\t\t\tjQuery( this ).addClass( value.call( this, j, getClass( this ) ) );\n\t\t\t} );\n\t\t}\n\n\t\tclassNames = classesToArray( value );\n\n\t\tif ( classNames.length ) {\n\t\t\treturn this.each( function() {\n\t\t\t\tcurValue = getClass( this );\n\t\t\t\tcur = this.nodeType === 1 && ( \" \" + stripAndCollapse( curValue ) + \" \" );\n\n\t\t\t\tif ( cur ) {\n\t\t\t\t\tfor ( i = 0; i < classNames.length; i++ ) {\n\t\t\t\t\t\tclassName = classNames[ i ];\n\t\t\t\t\t\tif ( cur.indexOf( \" \" + className + \" \" ) < 0 ) {\n\t\t\t\t\t\t\tcur += className + \" \";\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Only assign if different to avoid unneeded rendering.\n\t\t\t\t\tfinalValue = stripAndCollapse( cur );\n\t\t\t\t\tif ( curValue !== finalValue ) {\n\t\t\t\t\t\tthis.setAttribute( \"class\", finalValue );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} );\n\t\t}\n\n\t\treturn this;\n\t},\n\n\tremoveClass: function( value ) {\n\t\tvar classNames, cur, curValue, className, i, finalValue;\n\n\t\tif ( isFunction( value ) ) {\n\t\t\treturn this.each( function( j ) {\n\t\t\t\tjQuery( this ).removeClass( value.call( this, j, getClass( this ) ) );\n\t\t\t} );\n\t\t}\n\n\t\tif ( !arguments.length ) {\n\t\t\treturn this.attr( \"class\", \"\" );\n\t\t}\n\n\t\tclassNames = classesToArray( value );\n\n\t\tif ( classNames.length ) {\n\t\t\treturn this.each( function() {\n\t\t\t\tcurValue = getClass( this );\n\n\t\t\t\t// This expression is here for better compressibility (see addClass)\n\t\t\t\tcur = this.nodeType === 1 && ( \" \" + stripAndCollapse( curValue ) + \" \" );\n\n\t\t\t\tif ( cur ) {\n\t\t\t\t\tfor ( i = 0; i < classNames.length; i++ ) {\n\t\t\t\t\t\tclassName = classNames[ i ];\n\n\t\t\t\t\t\t// Remove *all* instances\n\t\t\t\t\t\twhile ( cur.indexOf( \" \" + className + \" \" ) > -1 ) {\n\t\t\t\t\t\t\tcur = cur.replace( \" \" + className + \" \", \" \" );\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\n\t\t\t\t\t// Only assign if different to avoid unneeded rendering.\n\t\t\t\t\tfinalValue = stripAndCollapse( cur );\n\t\t\t\t\tif ( curValue !== finalValue ) {\n\t\t\t\t\t\tthis.setAttribute( \"class\", finalValue );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t} );\n\t\t}\n\n\t\treturn this;\n\t},\n\n\ttoggleClass: function( value, stateVal ) {\n\t\tvar classNames, className, i, self,\n\t\t\ttype = typeof value,\n\t\t\tisValidValue = type === \"string\" || Array.isArray( value );\n\n\t\tif ( isFunction( value ) ) {\n\t\t\treturn this.each( function( i ) {\n\t\t\t\tjQuery( this ).toggleClass(\n\t\t\t\t\tvalue.call( this, i, getClass( this ), stateVal ),\n\t\t\t\t\tstateVal\n\t\t\t\t);\n\t\t\t} );\n\t\t}\n\n\t\tif ( typeof stateVal === \"boolean\" && isValidValue ) {\n\t\t\treturn stateVal ? this.addClass( value ) : this.removeClass( value );\n\t\t}\n\n\t\tclassNames = classesToArray( value );\n\n\t\treturn this.each( function() {\n\t\t\tif ( isValidValue ) {\n\n\t\t\t\t// Toggle individual class names\n\t\t\t\tself = jQuery( this );\n\n\t\t\t\tfor ( i = 0; i < classNames.length; i++ ) {\n\t\t\t\t\tclassName = classNames[ i ];\n\n\t\t\t\t\t// Check each className given, space separated list\n\t\t\t\t\tif ( self.hasClass( className ) ) {\n\t\t\t\t\t\tself.removeClass( className );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tself.addClass( className );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t// Toggle whole class name\n\t\t\t} else if ( value === undefined || type === \"boolean\" ) {\n\t\t\t\tclassName = getClass( this );\n\t\t\t\tif ( className ) {\n\n\t\t\t\t\t// Store className if set\n\t\t\t\t\tdataPriv.set( this, \"__className__\", className );\n\t\t\t\t}\n\n\t\t\t\t// If the element has a class name or if we're passed `false`,\n\t\t\t\t// then remove the whole classname (if there was one, the above saved it).\n\t\t\t\t// Otherwise bring back whatever was previously saved (if anything),\n\t\t\t\t// falling back to the empty string if nothing was stored.\n\t\t\t\tif ( this.setAttribute ) {\n\t\t\t\t\tthis.setAttribute( \"class\",\n\t\t\t\t\t\tclassName || value === false ?\n\t\t\t\t\t\t\t\"\" :\n\t\t\t\t\t\t\tdataPriv.get( this, \"__className__\" ) || \"\"\n\t\t\t\t\t);\n\t\t\t\t}\n\t\t\t}\n\t\t} );\n\t},\n\n\thasClass: function( selector ) {\n\t\tvar className, elem,\n\t\t\ti = 0;\n\n\t\tclassName = \" \" + selector + \" \";\n\t\twhile ( ( elem = this[ i++ ] ) ) {\n\t\t\tif ( elem.nodeType === 1 &&\n\t\t\t\t( \" \" + stripAndCollapse( getClass( elem ) ) + \" \" ).indexOf( className ) > -1 ) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n} );\n\n\n\n\nvar rreturn = /\\r/g;\n\njQuery.fn.extend( {\n\tval: function( value ) {\n\t\tvar hooks, ret, valueIsFunction,\n\t\t\telem = this[ 0 ];\n\n\t\tif ( !arguments.length ) {\n\t\t\tif ( elem ) {\n\t\t\t\thooks = jQuery.valHooks[ elem.type ] ||\n\t\t\t\t\tjQuery.valHooks[ elem.nodeName.toLowerCase() ];\n\n\t\t\t\tif ( hooks &&\n\t\t\t\t\t\"get\" in hooks &&\n\t\t\t\t\t( ret = hooks.get( elem, \"value\" ) ) !== undefined\n\t\t\t\t) {\n\t\t\t\t\treturn ret;\n\t\t\t\t}\n\n\t\t\t\tret = elem.value;\n\n\t\t\t\t// Handle most common string cases\n\t\t\t\tif ( typeof ret === \"string\" ) {\n\t\t\t\t\treturn ret.replace( rreturn, \"\" );\n\t\t\t\t}\n\n\t\t\t\t// Handle cases where value is null/undef or number\n\t\t\t\treturn ret == null ? \"\" : ret;\n\t\t\t}\n\n\t\t\treturn;\n\t\t}\n\n\t\tvalueIsFunction = isFunction( value );\n\n\t\treturn this.each( function( i ) {\n\t\t\tvar val;\n\n\t\t\tif ( this.nodeType !== 1 ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tif ( valueIsFunction ) {\n\t\t\t\tval = value.call( this, i, jQuery( this ).val() );\n\t\t\t} else {\n\t\t\t\tval = value;\n\t\t\t}\n\n\t\t\t// Treat null/undefined as \"\"; convert numbers to string\n\t\t\tif ( val == null ) {\n\t\t\t\tval = \"\";\n\n\t\t\t} else if ( typeof val === \"number\" ) {\n\t\t\t\tval += \"\";\n\n\t\t\t} else if ( Array.isArray( val ) ) {\n\t\t\t\tval = jQuery.map( val, function( value ) {\n\t\t\t\t\treturn value == null ? \"\" : value + \"\";\n\t\t\t\t} );\n\t\t\t}\n\n\t\t\thooks = jQuery.valHooks[ this.type ] || jQuery.valHooks[ this.nodeName.toLowerCase() ];\n\n\t\t\t// If set returns undefined, fall back to normal setting\n\t\t\tif ( !hooks || !( \"set\" in hooks ) || hooks.set( this, val, \"value\" ) === undefined ) {\n\t\t\t\tthis.value = val;\n\t\t\t}\n\t\t} );\n\t}\n} );\n\njQuery.extend( {\n\tvalHooks: {\n\t\toption: {\n\t\t\tget: function( elem ) {\n\n\t\t\t\tvar val = jQuery.find.attr( elem, \"value\" );\n\t\t\t\treturn val != null ?\n\t\t\t\t\tval :\n\n\t\t\t\t\t// Support: IE <=10 - 11 only\n\t\t\t\t\t// option.text throws exceptions (trac-14686, trac-14858)\n\t\t\t\t\t// Strip and collapse whitespace\n\t\t\t\t\t// https://html.spec.whatwg.org/#strip-and-collapse-whitespace\n\t\t\t\t\tstripAndCollapse( jQuery.text( elem ) );\n\t\t\t}\n\t\t},\n\t\tselect: {\n\t\t\tget: function( elem ) {\n\t\t\t\tvar value, option, i,\n\t\t\t\t\toptions = elem.options,\n\t\t\t\t\tindex = elem.selectedIndex,\n\t\t\t\t\tone = elem.type === \"select-one\",\n\t\t\t\t\tvalues = one ? null : [],\n\t\t\t\t\tmax = one ? index + 1 : options.length;\n\n\t\t\t\tif ( index < 0 ) {\n\t\t\t\t\ti = max;\n\n\t\t\t\t} else {\n\t\t\t\t\ti = one ? index : 0;\n\t\t\t\t}\n\n\t\t\t\t// Loop through all the selected options\n\t\t\t\tfor ( ; i < max; i++ ) {\n\t\t\t\t\toption = options[ i ];\n\n\t\t\t\t\t// Support: IE <=9 only\n\t\t\t\t\t// IE8-9 doesn't update selected after form reset (trac-2551)\n\t\t\t\t\tif ( ( option.selected || i === index ) &&\n\n\t\t\t\t\t\t\t// Don't return options that are disabled or in a disabled optgroup\n\t\t\t\t\t\t\t!option.disabled &&\n\t\t\t\t\t\t\t( !option.parentNode.disabled ||\n\t\t\t\t\t\t\t\t!nodeName( option.parentNode, \"optgroup\" ) ) ) {\n\n\t\t\t\t\t\t// Get the specific value for the option\n\t\t\t\t\t\tvalue = jQuery( option ).val();\n\n\t\t\t\t\t\t// We don't need an array for one selects\n\t\t\t\t\t\tif ( one ) {\n\t\t\t\t\t\t\treturn value;\n\t\t\t\t\t\t}\n\n\t\t\t\t\t\t// Multi-Selects return an array\n\t\t\t\t\t\tvalues.push( value );\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\treturn values;\n\t\t\t},\n\n\t\t\tset: function( elem, value ) {\n\t\t\t\tvar optionSet, option,\n\t\t\t\t\toptions = elem.options,\n\t\t\t\t\tvalues = jQuery.makeArray( value ),\n\t\t\t\t\ti = options.length;\n\n\t\t\t\twhile ( i-- ) {\n\t\t\t\t\toption = options[ i ];\n\n\t\t\t\t\t/* eslint-disable no-cond-assign */\n\n\t\t\t\t\tif ( option.selected =\n\t\t\t\t\t\tjQuery.inArray( jQuery.valHooks.option.get( option ), values ) > -1\n\t\t\t\t\t) {\n\t\t\t\t\t\toptionSet = true;\n\t\t\t\t\t}\n\n\t\t\t\t\t/* eslint-enable no-cond-assign */\n\t\t\t\t}\n\n\t\t\t\t// Force browsers to behave consistently when non-matching value is set\n\t\t\t\tif ( !optionSet ) {\n\t\t\t\t\telem.selectedIndex = -1;\n\t\t\t\t}\n\t\t\t\treturn values;\n\t\t\t}\n\t\t}\n\t}\n} );\n\n// Radios and checkboxes getter/setter\njQuery.each( [ \"radio\", \"checkbox\" ], function() {\n\tjQuery.valHooks[ this ] = {\n\t\tset: function( elem, value ) {\n\t\t\tif ( Array.isArray( value ) ) {\n\t\t\t\treturn ( elem.checked = jQuery.inArray( jQuery( elem ).val(), value ) > -1 );\n\t\t\t}\n\t\t}\n\t};\n\tif ( !support.checkOn ) {\n\t\tjQuery.valHooks[ this ].get = function( elem ) {\n\t\t\treturn elem.getAttribute( \"value\" ) === null ? \"on\" : elem.value;\n\t\t};\n\t}\n} );\n\n\n\n\n// Return jQuery for attributes-only inclusion\nvar location = window.location;\n\nvar nonce = { guid: Date.now() };\n\nvar rquery = ( /\\?/ );\n\n\n\n// Cross-browser xml parsing\njQuery.parseXML = function( data ) {\n\tvar xml, parserErrorElem;\n\tif ( !data || typeof data !== \"string\" ) {\n\t\treturn null;\n\t}\n\n\t// Support: IE 9 - 11 only\n\t// IE throws on parseFromString with invalid input.\n\ttry {\n\t\txml = ( new window.DOMParser() ).parseFromString( data, \"text/xml\" );\n\t} catch ( e ) {}\n\n\tparserErrorElem = xml && xml.getElementsByTagName( \"parsererror\" )[ 0 ];\n\tif ( !xml || parserErrorElem ) {\n\t\tjQuery.error( \"Invalid XML: \" + (\n\t\t\tparserErrorElem ?\n\t\t\t\tjQuery.map( parserErrorElem.childNodes, function( el ) {\n\t\t\t\t\treturn el.textContent;\n\t\t\t\t} ).join( \"\\n\" ) :\n\t\t\t\tdata\n\t\t) );\n\t}\n\treturn xml;\n};\n\n\nvar rfocusMorph = /^(?:focusinfocus|focusoutblur)$/,\n\tstopPropagationCallback = function( e ) {\n\t\te.stopPropagation();\n\t};\n\njQuery.extend( jQuery.event, {\n\n\ttrigger: function( event, data, elem, onlyHandlers ) {\n\n\t\tvar i, cur, tmp, bubbleType, ontype, handle, special, lastElement,\n\t\t\teventPath = [ elem || document ],\n\t\t\ttype = hasOwn.call( event, \"type\" ) ? event.type : event,\n\t\t\tnamespaces = hasOwn.call( event, \"namespace\" ) ? event.namespace.split( \".\" ) : [];\n\n\t\tcur = lastElement = tmp = elem = elem || document;\n\n\t\t// Don't do events on text and comment nodes\n\t\tif ( elem.nodeType === 3 || elem.nodeType === 8 ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// focus/blur morphs to focusin/out; ensure we're not firing them right now\n\t\tif ( rfocusMorph.test( type + jQuery.event.triggered ) ) {\n\t\t\treturn;\n\t\t}\n\n\t\tif ( type.indexOf( \".\" ) > -1 ) {\n\n\t\t\t// Namespaced trigger; create a regexp to match event type in handle()\n\t\t\tnamespaces = type.split( \".\" );\n\t\t\ttype = namespaces.shift();\n\t\t\tnamespaces.sort();\n\t\t}\n\t\tontype = type.indexOf( \":\" ) < 0 && \"on\" + type;\n\n\t\t// Caller can pass in a jQuery.Event object, Object, or just an event type string\n\t\tevent = event[ jQuery.expando ] ?\n\t\t\tevent :\n\t\t\tnew jQuery.Event( type, typeof event === \"object\" && event );\n\n\t\t// Trigger bitmask: & 1 for native handlers; & 2 for jQuery (always true)\n\t\tevent.isTrigger = onlyHandlers ? 2 : 3;\n\t\tevent.namespace = namespaces.join( \".\" );\n\t\tevent.rnamespace = event.namespace ?\n\t\t\tnew RegExp( \"(^|\\\\.)\" + namespaces.join( \"\\\\.(?:.*\\\\.|)\" ) + \"(\\\\.|$)\" ) :\n\t\t\tnull;\n\n\t\t// Clean up the event in case it is being reused\n\t\tevent.result = undefined;\n\t\tif ( !event.target ) {\n\t\t\tevent.target = elem;\n\t\t}\n\n\t\t// Clone any incoming data and prepend the event, creating the handler arg list\n\t\tdata = data == null ?\n\t\t\t[ event ] :\n\t\t\tjQuery.makeArray( data, [ event ] );\n\n\t\t// Allow special events to draw outside the lines\n\t\tspecial = jQuery.event.special[ type ] || {};\n\t\tif ( !onlyHandlers && special.trigger && special.trigger.apply( elem, data ) === false ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Determine event propagation path in advance, per W3C events spec (trac-9951)\n\t\t// Bubble up to document, then to window; watch for a global ownerDocument var (trac-9724)\n\t\tif ( !onlyHandlers && !special.noBubble && !isWindow( elem ) ) {\n\n\t\t\tbubbleType = special.delegateType || type;\n\t\t\tif ( !rfocusMorph.test( bubbleType + type ) ) {\n\t\t\t\tcur = cur.parentNode;\n\t\t\t}\n\t\t\tfor ( ; cur; cur = cur.parentNode ) {\n\t\t\t\teventPath.push( cur );\n\t\t\t\ttmp = cur;\n\t\t\t}\n\n\t\t\t// Only add window if we got to document (e.g., not plain obj or detached DOM)\n\t\t\tif ( tmp === ( elem.ownerDocument || document ) ) {\n\t\t\t\teventPath.push( tmp.defaultView || tmp.parentWindow || window );\n\t\t\t}\n\t\t}\n\n\t\t// Fire handlers on the event path\n\t\ti = 0;\n\t\twhile ( ( cur = eventPath[ i++ ] ) && !event.isPropagationStopped() ) {\n\t\t\tlastElement = cur;\n\t\t\tevent.type = i > 1 ?\n\t\t\t\tbubbleType :\n\t\t\t\tspecial.bindType || type;\n\n\t\t\t// jQuery handler\n\t\t\thandle = ( dataPriv.get( cur, \"events\" ) || Object.create( null ) )[ event.type ] &&\n\t\t\t\tdataPriv.get( cur, \"handle\" );\n\t\t\tif ( handle ) {\n\t\t\t\thandle.apply( cur, data );\n\t\t\t}\n\n\t\t\t// Native handler\n\t\t\thandle = ontype && cur[ ontype ];\n\t\t\tif ( handle && handle.apply && acceptData( cur ) ) {\n\t\t\t\tevent.result = handle.apply( cur, data );\n\t\t\t\tif ( event.result === false ) {\n\t\t\t\t\tevent.preventDefault();\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tevent.type = type;\n\n\t\t// If nobody prevented the default action, do it now\n\t\tif ( !onlyHandlers && !event.isDefaultPrevented() ) {\n\n\t\t\tif ( ( !special._default ||\n\t\t\t\tspecial._default.apply( eventPath.pop(), data ) === false ) &&\n\t\t\t\tacceptData( elem ) ) {\n\n\t\t\t\t// Call a native DOM method on the target with the same name as the event.\n\t\t\t\t// Don't do default actions on window, that's where global variables be (trac-6170)\n\t\t\t\tif ( ontype && isFunction( elem[ type ] ) && !isWindow( elem ) ) {\n\n\t\t\t\t\t// Don't re-trigger an onFOO event when we call its FOO() method\n\t\t\t\t\ttmp = elem[ ontype ];\n\n\t\t\t\t\tif ( tmp ) {\n\t\t\t\t\t\telem[ ontype ] = null;\n\t\t\t\t\t}\n\n\t\t\t\t\t// Prevent re-triggering of the same event, since we already bubbled it above\n\t\t\t\t\tjQuery.event.triggered = type;\n\n\t\t\t\t\tif ( event.isPropagationStopped() ) {\n\t\t\t\t\t\tlastElement.addEventListener( type, stopPropagationCallback );\n\t\t\t\t\t}\n\n\t\t\t\t\telem[ type ]();\n\n\t\t\t\t\tif ( event.isPropagationStopped() ) {\n\t\t\t\t\t\tlastElement.removeEventListener( type, stopPropagationCallback );\n\t\t\t\t\t}\n\n\t\t\t\t\tjQuery.event.triggered = undefined;\n\n\t\t\t\t\tif ( tmp ) {\n\t\t\t\t\t\telem[ ontype ] = tmp;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn event.result;\n\t},\n\n\t// Piggyback on a donor event to simulate a different one\n\t// Used only for `focus(in | out)` events\n\tsimulate: function( type, elem, event ) {\n\t\tvar e = jQuery.extend(\n\t\t\tnew jQuery.Event(),\n\t\t\tevent,\n\t\t\t{\n\t\t\t\ttype: type,\n\t\t\t\tisSimulated: true\n\t\t\t}\n\t\t);\n\n\t\tjQuery.event.trigger( e, null, elem );\n\t}\n\n} );\n\njQuery.fn.extend( {\n\n\ttrigger: function( type, data ) {\n\t\treturn this.each( function() {\n\t\t\tjQuery.event.trigger( type, data, this );\n\t\t} );\n\t},\n\ttriggerHandler: function( type, data ) {\n\t\tvar elem = this[ 0 ];\n\t\tif ( elem ) {\n\t\t\treturn jQuery.event.trigger( type, data, elem, true );\n\t\t}\n\t}\n} );\n\n\nvar\n\trbracket = /\\[\\]$/,\n\trCRLF = /\\r?\\n/g,\n\trsubmitterTypes = /^(?:submit|button|image|reset|file)$/i,\n\trsubmittable = /^(?:input|select|textarea|keygen)/i;\n\nfunction buildParams( prefix, obj, traditional, add ) {\n\tvar name;\n\n\tif ( Array.isArray( obj ) ) {\n\n\t\t// Serialize array item.\n\t\tjQuery.each( obj, function( i, v ) {\n\t\t\tif ( traditional || rbracket.test( prefix ) ) {\n\n\t\t\t\t// Treat each array item as a scalar.\n\t\t\t\tadd( prefix, v );\n\n\t\t\t} else {\n\n\t\t\t\t// Item is non-scalar (array or object), encode its numeric index.\n\t\t\t\tbuildParams(\n\t\t\t\t\tprefix + \"[\" + ( typeof v === \"object\" && v != null ? i : \"\" ) + \"]\",\n\t\t\t\t\tv,\n\t\t\t\t\ttraditional,\n\t\t\t\t\tadd\n\t\t\t\t);\n\t\t\t}\n\t\t} );\n\n\t} else if ( !traditional && toType( obj ) === \"object\" ) {\n\n\t\t// Serialize object item.\n\t\tfor ( name in obj ) {\n\t\t\tbuildParams( prefix + \"[\" + name + \"]\", obj[ name ], traditional, add );\n\t\t}\n\n\t} else {\n\n\t\t// Serialize scalar item.\n\t\tadd( prefix, obj );\n\t}\n}\n\n// Serialize an array of form elements or a set of\n// key/values into a query string\njQuery.param = function( a, traditional ) {\n\tvar prefix,\n\t\ts = [],\n\t\tadd = function( key, valueOrFunction ) {\n\n\t\t\t// If value is a function, invoke it and use its return value\n\t\t\tvar value = isFunction( valueOrFunction ) ?\n\t\t\t\tvalueOrFunction() :\n\t\t\t\tvalueOrFunction;\n\n\t\t\ts[ s.length ] = encodeURIComponent( key ) + \"=\" +\n\t\t\t\tencodeURIComponent( value == null ? \"\" : value );\n\t\t};\n\n\tif ( a == null ) {\n\t\treturn \"\";\n\t}\n\n\t// If an array was passed in, assume that it is an array of form elements.\n\tif ( Array.isArray( a ) || ( a.jquery && !jQuery.isPlainObject( a ) ) ) {\n\n\t\t// Serialize the form elements\n\t\tjQuery.each( a, function() {\n\t\t\tadd( this.name, this.value );\n\t\t} );\n\n\t} else {\n\n\t\t// If traditional, encode the \"old\" way (the way 1.3.2 or older\n\t\t// did it), otherwise encode params recursively.\n\t\tfor ( prefix in a ) {\n\t\t\tbuildParams( prefix, a[ prefix ], traditional, add );\n\t\t}\n\t}\n\n\t// Return the resulting serialization\n\treturn s.join( \"&\" );\n};\n\njQuery.fn.extend( {\n\tserialize: function() {\n\t\treturn jQuery.param( this.serializeArray() );\n\t},\n\tserializeArray: function() {\n\t\treturn this.map( function() {\n\n\t\t\t// Can add propHook for \"elements\" to filter or add form elements\n\t\t\tvar elements = jQuery.prop( this, \"elements\" );\n\t\t\treturn elements ? jQuery.makeArray( elements ) : this;\n\t\t} ).filter( function() {\n\t\t\tvar type = this.type;\n\n\t\t\t// Use .is( \":disabled\" ) so that fieldset[disabled] works\n\t\t\treturn this.name && !jQuery( this ).is( \":disabled\" ) &&\n\t\t\t\trsubmittable.test( this.nodeName ) && !rsubmitterTypes.test( type ) &&\n\t\t\t\t( this.checked || !rcheckableType.test( type ) );\n\t\t} ).map( function( _i, elem ) {\n\t\t\tvar val = jQuery( this ).val();\n\n\t\t\tif ( val == null ) {\n\t\t\t\treturn null;\n\t\t\t}\n\n\t\t\tif ( Array.isArray( val ) ) {\n\t\t\t\treturn jQuery.map( val, function( val ) {\n\t\t\t\t\treturn { name: elem.name, value: val.replace( rCRLF, \"\\r\\n\" ) };\n\t\t\t\t} );\n\t\t\t}\n\n\t\t\treturn { name: elem.name, value: val.replace( rCRLF, \"\\r\\n\" ) };\n\t\t} ).get();\n\t}\n} );\n\n\nvar\n\tr20 = /%20/g,\n\trhash = /#.*$/,\n\trantiCache = /([?&])_=[^&]*/,\n\trheaders = /^(.*?):[ \\t]*([^\\r\\n]*)$/mg,\n\n\t// trac-7653, trac-8125, trac-8152: local protocol detection\n\trlocalProtocol = /^(?:about|app|app-storage|.+-extension|file|res|widget):$/,\n\trnoContent = /^(?:GET|HEAD)$/,\n\trprotocol = /^\\/\\//,\n\n\t/* Prefilters\n\t * 1) They are useful to introduce custom dataTypes (see ajax/jsonp.js for an example)\n\t * 2) These are called:\n\t *    - BEFORE asking for a transport\n\t *    - AFTER param serialization (s.data is a string if s.processData is true)\n\t * 3) key is the dataType\n\t * 4) the catchall symbol \"*\" can be used\n\t * 5) execution will start with transport dataType and THEN continue down to \"*\" if needed\n\t */\n\tprefilters = {},\n\n\t/* Transports bindings\n\t * 1) key is the dataType\n\t * 2) the catchall symbol \"*\" can be used\n\t * 3) selection will start with transport dataType and THEN go to \"*\" if needed\n\t */\n\ttransports = {},\n\n\t// Avoid comment-prolog char sequence (trac-10098); must appease lint and evade compression\n\tallTypes = \"*/\".concat( \"*\" ),\n\n\t// Anchor tag for parsing the document origin\n\toriginAnchor = document.createElement( \"a\" );\n\noriginAnchor.href = location.href;\n\n// Base \"constructor\" for jQuery.ajaxPrefilter and jQuery.ajaxTransport\nfunction addToPrefiltersOrTransports( structure ) {\n\n\t// dataTypeExpression is optional and defaults to \"*\"\n\treturn function( dataTypeExpression, func ) {\n\n\t\tif ( typeof dataTypeExpression !== \"string\" ) {\n\t\t\tfunc = dataTypeExpression;\n\t\t\tdataTypeExpression = \"*\";\n\t\t}\n\n\t\tvar dataType,\n\t\t\ti = 0,\n\t\t\tdataTypes = dataTypeExpression.toLowerCase().match( rnothtmlwhite ) || [];\n\n\t\tif ( isFunction( func ) ) {\n\n\t\t\t// For each dataType in the dataTypeExpression\n\t\t\twhile ( ( dataType = dataTypes[ i++ ] ) ) {\n\n\t\t\t\t// Prepend if requested\n\t\t\t\tif ( dataType[ 0 ] === \"+\" ) {\n\t\t\t\t\tdataType = dataType.slice( 1 ) || \"*\";\n\t\t\t\t\t( structure[ dataType ] = structure[ dataType ] || [] ).unshift( func );\n\n\t\t\t\t// Otherwise append\n\t\t\t\t} else {\n\t\t\t\t\t( structure[ dataType ] = structure[ dataType ] || [] ).push( func );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t};\n}\n\n// Base inspection function for prefilters and transports\nfunction inspectPrefiltersOrTransports( structure, options, originalOptions, jqXHR ) {\n\n\tvar inspected = {},\n\t\tseekingTransport = ( structure === transports );\n\n\tfunction inspect( dataType ) {\n\t\tvar selected;\n\t\tinspected[ dataType ] = true;\n\t\tjQuery.each( structure[ dataType ] || [], function( _, prefilterOrFactory ) {\n\t\t\tvar dataTypeOrTransport = prefilterOrFactory( options, originalOptions, jqXHR );\n\t\t\tif ( typeof dataTypeOrTransport === \"string\" &&\n\t\t\t\t!seekingTransport && !inspected[ dataTypeOrTransport ] ) {\n\n\t\t\t\toptions.dataTypes.unshift( dataTypeOrTransport );\n\t\t\t\tinspect( dataTypeOrTransport );\n\t\t\t\treturn false;\n\t\t\t} else if ( seekingTransport ) {\n\t\t\t\treturn !( selected = dataTypeOrTransport );\n\t\t\t}\n\t\t} );\n\t\treturn selected;\n\t}\n\n\treturn inspect( options.dataTypes[ 0 ] ) || !inspected[ \"*\" ] && inspect( \"*\" );\n}\n\n// A special extend for ajax options\n// that takes \"flat\" options (not to be deep extended)\n// Fixes trac-9887\nfunction ajaxExtend( target, src ) {\n\tvar key, deep,\n\t\tflatOptions = jQuery.ajaxSettings.flatOptions || {};\n\n\tfor ( key in src ) {\n\t\tif ( src[ key ] !== undefined ) {\n\t\t\t( flatOptions[ key ] ? target : ( deep || ( deep = {} ) ) )[ key ] = src[ key ];\n\t\t}\n\t}\n\tif ( deep ) {\n\t\tjQuery.extend( true, target, deep );\n\t}\n\n\treturn target;\n}\n\n/* Handles responses to an ajax request:\n * - finds the right dataType (mediates between content-type and expected dataType)\n * - returns the corresponding response\n */\nfunction ajaxHandleResponses( s, jqXHR, responses ) {\n\n\tvar ct, type, finalDataType, firstDataType,\n\t\tcontents = s.contents,\n\t\tdataTypes = s.dataTypes;\n\n\t// Remove auto dataType and get content-type in the process\n\twhile ( dataTypes[ 0 ] === \"*\" ) {\n\t\tdataTypes.shift();\n\t\tif ( ct === undefined ) {\n\t\t\tct = s.mimeType || jqXHR.getResponseHeader( \"Content-Type\" );\n\t\t}\n\t}\n\n\t// Check if we're dealing with a known content-type\n\tif ( ct ) {\n\t\tfor ( type in contents ) {\n\t\t\tif ( contents[ type ] && contents[ type ].test( ct ) ) {\n\t\t\t\tdataTypes.unshift( type );\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t}\n\n\t// Check to see if we have a response for the expected dataType\n\tif ( dataTypes[ 0 ] in responses ) {\n\t\tfinalDataType = dataTypes[ 0 ];\n\t} else {\n\n\t\t// Try convertible dataTypes\n\t\tfor ( type in responses ) {\n\t\t\tif ( !dataTypes[ 0 ] || s.converters[ type + \" \" + dataTypes[ 0 ] ] ) {\n\t\t\t\tfinalDataType = type;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tif ( !firstDataType ) {\n\t\t\t\tfirstDataType = type;\n\t\t\t}\n\t\t}\n\n\t\t// Or just use first one\n\t\tfinalDataType = finalDataType || firstDataType;\n\t}\n\n\t// If we found a dataType\n\t// We add the dataType to the list if needed\n\t// and return the corresponding response\n\tif ( finalDataType ) {\n\t\tif ( finalDataType !== dataTypes[ 0 ] ) {\n\t\t\tdataTypes.unshift( finalDataType );\n\t\t}\n\t\treturn responses[ finalDataType ];\n\t}\n}\n\n/* Chain conversions given the request and the original response\n * Also sets the responseXXX fields on the jqXHR instance\n */\nfunction ajaxConvert( s, response, jqXHR, isSuccess ) {\n\tvar conv2, current, conv, tmp, prev,\n\t\tconverters = {},\n\n\t\t// Work with a copy of dataTypes in case we need to modify it for conversion\n\t\tdataTypes = s.dataTypes.slice();\n\n\t// Create converters map with lowercased keys\n\tif ( dataTypes[ 1 ] ) {\n\t\tfor ( conv in s.converters ) {\n\t\t\tconverters[ conv.toLowerCase() ] = s.converters[ conv ];\n\t\t}\n\t}\n\n\tcurrent = dataTypes.shift();\n\n\t// Convert to each sequential dataType\n\twhile ( current ) {\n\n\t\tif ( s.responseFields[ current ] ) {\n\t\t\tjqXHR[ s.responseFields[ current ] ] = response;\n\t\t}\n\n\t\t// Apply the dataFilter if provided\n\t\tif ( !prev && isSuccess && s.dataFilter ) {\n\t\t\tresponse = s.dataFilter( response, s.dataType );\n\t\t}\n\n\t\tprev = current;\n\t\tcurrent = dataTypes.shift();\n\n\t\tif ( current ) {\n\n\t\t\t// There's only work to do if current dataType is non-auto\n\t\t\tif ( current === \"*\" ) {\n\n\t\t\t\tcurrent = prev;\n\n\t\t\t// Convert response if prev dataType is non-auto and differs from current\n\t\t\t} else if ( prev !== \"*\" && prev !== current ) {\n\n\t\t\t\t// Seek a direct converter\n\t\t\t\tconv = converters[ prev + \" \" + current ] || converters[ \"* \" + current ];\n\n\t\t\t\t// If none found, seek a pair\n\t\t\t\tif ( !conv ) {\n\t\t\t\t\tfor ( conv2 in converters ) {\n\n\t\t\t\t\t\t// If conv2 outputs current\n\t\t\t\t\t\ttmp = conv2.split( \" \" );\n\t\t\t\t\t\tif ( tmp[ 1 ] === current ) {\n\n\t\t\t\t\t\t\t// If prev can be converted to accepted input\n\t\t\t\t\t\t\tconv = converters[ prev + \" \" + tmp[ 0 ] ] ||\n\t\t\t\t\t\t\t\tconverters[ \"* \" + tmp[ 0 ] ];\n\t\t\t\t\t\t\tif ( conv ) {\n\n\t\t\t\t\t\t\t\t// Condense equivalence converters\n\t\t\t\t\t\t\t\tif ( conv === true ) {\n\t\t\t\t\t\t\t\t\tconv = converters[ conv2 ];\n\n\t\t\t\t\t\t\t\t// Otherwise, insert the intermediate dataType\n\t\t\t\t\t\t\t\t} else if ( converters[ conv2 ] !== true ) {\n\t\t\t\t\t\t\t\t\tcurrent = tmp[ 0 ];\n\t\t\t\t\t\t\t\t\tdataTypes.unshift( tmp[ 1 ] );\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Apply converter (if not an equivalence)\n\t\t\t\tif ( conv !== true ) {\n\n\t\t\t\t\t// Unless errors are allowed to bubble, catch and return them\n\t\t\t\t\tif ( conv && s.throws ) {\n\t\t\t\t\t\tresponse = conv( response );\n\t\t\t\t\t} else {\n\t\t\t\t\t\ttry {\n\t\t\t\t\t\t\tresponse = conv( response );\n\t\t\t\t\t\t} catch ( e ) {\n\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\tstate: \"parsererror\",\n\t\t\t\t\t\t\t\terror: conv ? e : \"No conversion from \" + prev + \" to \" + current\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\treturn { state: \"success\", data: response };\n}\n\njQuery.extend( {\n\n\t// Counter for holding the number of active queries\n\tactive: 0,\n\n\t// Last-Modified header cache for next request\n\tlastModified: {},\n\tetag: {},\n\n\tajaxSettings: {\n\t\turl: location.href,\n\t\ttype: \"GET\",\n\t\tisLocal: rlocalProtocol.test( location.protocol ),\n\t\tglobal: true,\n\t\tprocessData: true,\n\t\tasync: true,\n\t\tcontentType: \"application/x-www-form-urlencoded; charset=UTF-8\",\n\n\t\t/*\n\t\ttimeout: 0,\n\t\tdata: null,\n\t\tdataType: null,\n\t\tusername: null,\n\t\tpassword: null,\n\t\tcache: null,\n\t\tthrows: false,\n\t\ttraditional: false,\n\t\theaders: {},\n\t\t*/\n\n\t\taccepts: {\n\t\t\t\"*\": allTypes,\n\t\t\ttext: \"text/plain\",\n\t\t\thtml: \"text/html\",\n\t\t\txml: \"application/xml, text/xml\",\n\t\t\tjson: \"application/json, text/javascript\"\n\t\t},\n\n\t\tcontents: {\n\t\t\txml: /\\bxml\\b/,\n\t\t\thtml: /\\bhtml/,\n\t\t\tjson: /\\bjson\\b/\n\t\t},\n\n\t\tresponseFields: {\n\t\t\txml: \"responseXML\",\n\t\t\ttext: \"responseText\",\n\t\t\tjson: \"responseJSON\"\n\t\t},\n\n\t\t// Data converters\n\t\t// Keys separate source (or catchall \"*\") and destination types with a single space\n\t\tconverters: {\n\n\t\t\t// Convert anything to text\n\t\t\t\"* text\": String,\n\n\t\t\t// Text to html (true = no transformation)\n\t\t\t\"text html\": true,\n\n\t\t\t// Evaluate text as a json expression\n\t\t\t\"text json\": JSON.parse,\n\n\t\t\t// Parse text as xml\n\t\t\t\"text xml\": jQuery.parseXML\n\t\t},\n\n\t\t// For options that shouldn't be deep extended:\n\t\t// you can add your own custom options here if\n\t\t// and when you create one that shouldn't be\n\t\t// deep extended (see ajaxExtend)\n\t\tflatOptions: {\n\t\t\turl: true,\n\t\t\tcontext: true\n\t\t}\n\t},\n\n\t// Creates a full fledged settings object into target\n\t// with both ajaxSettings and settings fields.\n\t// If target is omitted, writes into ajaxSettings.\n\tajaxSetup: function( target, settings ) {\n\t\treturn settings ?\n\n\t\t\t// Building a settings object\n\t\t\tajaxExtend( ajaxExtend( target, jQuery.ajaxSettings ), settings ) :\n\n\t\t\t// Extending ajaxSettings\n\t\t\tajaxExtend( jQuery.ajaxSettings, target );\n\t},\n\n\tajaxPrefilter: addToPrefiltersOrTransports( prefilters ),\n\tajaxTransport: addToPrefiltersOrTransports( transports ),\n\n\t// Main method\n\tajax: function( url, options ) {\n\n\t\t// If url is an object, simulate pre-1.5 signature\n\t\tif ( typeof url === \"object\" ) {\n\t\t\toptions = url;\n\t\t\turl = undefined;\n\t\t}\n\n\t\t// Force options to be an object\n\t\toptions = options || {};\n\n\t\tvar transport,\n\n\t\t\t// URL without anti-cache param\n\t\t\tcacheURL,\n\n\t\t\t// Response headers\n\t\t\tresponseHeadersString,\n\t\t\tresponseHeaders,\n\n\t\t\t// timeout handle\n\t\t\ttimeoutTimer,\n\n\t\t\t// Url cleanup var\n\t\t\turlAnchor,\n\n\t\t\t// Request state (becomes false upon send and true upon completion)\n\t\t\tcompleted,\n\n\t\t\t// To know if global events are to be dispatched\n\t\t\tfireGlobals,\n\n\t\t\t// Loop variable\n\t\t\ti,\n\n\t\t\t// uncached part of the url\n\t\t\tuncached,\n\n\t\t\t// Create the final options object\n\t\t\ts = jQuery.ajaxSetup( {}, options ),\n\n\t\t\t// Callbacks context\n\t\t\tcallbackContext = s.context || s,\n\n\t\t\t// Context for global events is callbackContext if it is a DOM node or jQuery collection\n\t\t\tglobalEventContext = s.context &&\n\t\t\t\t( callbackContext.nodeType || callbackContext.jquery ) ?\n\t\t\t\tjQuery( callbackContext ) :\n\t\t\t\tjQuery.event,\n\n\t\t\t// Deferreds\n\t\t\tdeferred = jQuery.Deferred(),\n\t\t\tcompleteDeferred = jQuery.Callbacks( \"once memory\" ),\n\n\t\t\t// Status-dependent callbacks\n\t\t\tstatusCode = s.statusCode || {},\n\n\t\t\t// Headers (they are sent all at once)\n\t\t\trequestHeaders = {},\n\t\t\trequestHeadersNames = {},\n\n\t\t\t// Default abort message\n\t\t\tstrAbort = \"canceled\",\n\n\t\t\t// Fake xhr\n\t\t\tjqXHR = {\n\t\t\t\treadyState: 0,\n\n\t\t\t\t// Builds headers hashtable if needed\n\t\t\t\tgetResponseHeader: function( key ) {\n\t\t\t\t\tvar match;\n\t\t\t\t\tif ( completed ) {\n\t\t\t\t\t\tif ( !responseHeaders ) {\n\t\t\t\t\t\t\tresponseHeaders = {};\n\t\t\t\t\t\t\twhile ( ( match = rheaders.exec( responseHeadersString ) ) ) {\n\t\t\t\t\t\t\t\tresponseHeaders[ match[ 1 ].toLowerCase() + \" \" ] =\n\t\t\t\t\t\t\t\t\t( responseHeaders[ match[ 1 ].toLowerCase() + \" \" ] || [] )\n\t\t\t\t\t\t\t\t\t\t.concat( match[ 2 ] );\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tmatch = responseHeaders[ key.toLowerCase() + \" \" ];\n\t\t\t\t\t}\n\t\t\t\t\treturn match == null ? null : match.join( \", \" );\n\t\t\t\t},\n\n\t\t\t\t// Raw string\n\t\t\t\tgetAllResponseHeaders: function() {\n\t\t\t\t\treturn completed ? responseHeadersString : null;\n\t\t\t\t},\n\n\t\t\t\t// Caches the header\n\t\t\t\tsetRequestHeader: function( name, value ) {\n\t\t\t\t\tif ( completed == null ) {\n\t\t\t\t\t\tname = requestHeadersNames[ name.toLowerCase() ] =\n\t\t\t\t\t\t\trequestHeadersNames[ name.toLowerCase() ] || name;\n\t\t\t\t\t\trequestHeaders[ name ] = value;\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Overrides response content-type header\n\t\t\t\toverrideMimeType: function( type ) {\n\t\t\t\t\tif ( completed == null ) {\n\t\t\t\t\t\ts.mimeType = type;\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Status-dependent callbacks\n\t\t\t\tstatusCode: function( map ) {\n\t\t\t\t\tvar code;\n\t\t\t\t\tif ( map ) {\n\t\t\t\t\t\tif ( completed ) {\n\n\t\t\t\t\t\t\t// Execute the appropriate callbacks\n\t\t\t\t\t\t\tjqXHR.always( map[ jqXHR.status ] );\n\t\t\t\t\t\t} else {\n\n\t\t\t\t\t\t\t// Lazy-add the new callbacks in a way that preserves old ones\n\t\t\t\t\t\t\tfor ( code in map ) {\n\t\t\t\t\t\t\t\tstatusCode[ code ] = [ statusCode[ code ], map[ code ] ];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\treturn this;\n\t\t\t\t},\n\n\t\t\t\t// Cancel the request\n\t\t\t\tabort: function( statusText ) {\n\t\t\t\t\tvar finalText = statusText || strAbort;\n\t\t\t\t\tif ( transport ) {\n\t\t\t\t\t\ttransport.abort( finalText );\n\t\t\t\t\t}\n\t\t\t\t\tdone( 0, finalText );\n\t\t\t\t\treturn this;\n\t\t\t\t}\n\t\t\t};\n\n\t\t// Attach deferreds\n\t\tdeferred.promise( jqXHR );\n\n\t\t// Add protocol if not provided (prefilters might expect it)\n\t\t// Handle falsy url in the settings object (trac-10093: consistency with old signature)\n\t\t// We also use the url parameter if available\n\t\ts.url = ( ( url || s.url || location.href ) + \"\" )\n\t\t\t.replace( rprotocol, location.protocol + \"//\" );\n\n\t\t// Alias method option to type as per ticket trac-12004\n\t\ts.type = options.method || options.type || s.method || s.type;\n\n\t\t// Extract dataTypes list\n\t\ts.dataTypes = ( s.dataType || \"*\" ).toLowerCase().match( rnothtmlwhite ) || [ \"\" ];\n\n\t\t// A cross-domain request is in order when the origin doesn't match the current origin.\n\t\tif ( s.crossDomain == null ) {\n\t\t\turlAnchor = document.createElement( \"a\" );\n\n\t\t\t// Support: IE <=8 - 11, Edge 12 - 15\n\t\t\t// IE throws exception on accessing the href property if url is malformed,\n\t\t\t// e.g. http://example.com:80x/\n\t\t\ttry {\n\t\t\t\turlAnchor.href = s.url;\n\n\t\t\t\t// Support: IE <=8 - 11 only\n\t\t\t\t// Anchor's host property isn't correctly set when s.url is relative\n\t\t\t\turlAnchor.href = urlAnchor.href;\n\t\t\t\ts.crossDomain = originAnchor.protocol + \"//\" + originAnchor.host !==\n\t\t\t\t\turlAnchor.protocol + \"//\" + urlAnchor.host;\n\t\t\t} catch ( e ) {\n\n\t\t\t\t// If there is an error parsing the URL, assume it is crossDomain,\n\t\t\t\t// it can be rejected by the transport if it is invalid\n\t\t\t\ts.crossDomain = true;\n\t\t\t}\n\t\t}\n\n\t\t// Convert data if not already a string\n\t\tif ( s.data && s.processData && typeof s.data !== \"string\" ) {\n\t\t\ts.data = jQuery.param( s.data, s.traditional );\n\t\t}\n\n\t\t// Apply prefilters\n\t\tinspectPrefiltersOrTransports( prefilters, s, options, jqXHR );\n\n\t\t// If request was aborted inside a prefilter, stop there\n\t\tif ( completed ) {\n\t\t\treturn jqXHR;\n\t\t}\n\n\t\t// We can fire global events as of now if asked to\n\t\t// Don't fire events if jQuery.event is undefined in an AMD-usage scenario (trac-15118)\n\t\tfireGlobals = jQuery.event && s.global;\n\n\t\t// Watch for a new set of requests\n\t\tif ( fireGlobals && jQuery.active++ === 0 ) {\n\t\t\tjQuery.event.trigger( \"ajaxStart\" );\n\t\t}\n\n\t\t// Uppercase the type\n\t\ts.type = s.type.toUpperCase();\n\n\t\t// Determine if request has content\n\t\ts.hasContent = !rnoContent.test( s.type );\n\n\t\t// Save the URL in case we're toying with the If-Modified-Since\n\t\t// and/or If-None-Match header later on\n\t\t// Remove hash to simplify url manipulation\n\t\tcacheURL = s.url.replace( rhash, \"\" );\n\n\t\t// More options handling for requests with no content\n\t\tif ( !s.hasContent ) {\n\n\t\t\t// Remember the hash so we can put it back\n\t\t\tuncached = s.url.slice( cacheURL.length );\n\n\t\t\t// If data is available and should be processed, append data to url\n\t\t\tif ( s.data && ( s.processData || typeof s.data === \"string\" ) ) {\n\t\t\t\tcacheURL += ( rquery.test( cacheURL ) ? \"&\" : \"?\" ) + s.data;\n\n\t\t\t\t// trac-9682: remove data so that it's not used in an eventual retry\n\t\t\t\tdelete s.data;\n\t\t\t}\n\n\t\t\t// Add or update anti-cache param if needed\n\t\t\tif ( s.cache === false ) {\n\t\t\t\tcacheURL = cacheURL.replace( rantiCache, \"$1\" );\n\t\t\t\tuncached = ( rquery.test( cacheURL ) ? \"&\" : \"?\" ) + \"_=\" + ( nonce.guid++ ) +\n\t\t\t\t\tuncached;\n\t\t\t}\n\n\t\t\t// Put hash and anti-cache on the URL that will be requested (gh-1732)\n\t\t\ts.url = cacheURL + uncached;\n\n\t\t// Change '%20' to '+' if this is encoded form body content (gh-2658)\n\t\t} else if ( s.data && s.processData &&\n\t\t\t( s.contentType || \"\" ).indexOf( \"application/x-www-form-urlencoded\" ) === 0 ) {\n\t\t\ts.data = s.data.replace( r20, \"+\" );\n\t\t}\n\n\t\t// Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.\n\t\tif ( s.ifModified ) {\n\t\t\tif ( jQuery.lastModified[ cacheURL ] ) {\n\t\t\t\tjqXHR.setRequestHeader( \"If-Modified-Since\", jQuery.lastModified[ cacheURL ] );\n\t\t\t}\n\t\t\tif ( jQuery.etag[ cacheURL ] ) {\n\t\t\t\tjqXHR.setRequestHeader( \"If-None-Match\", jQuery.etag[ cacheURL ] );\n\t\t\t}\n\t\t}\n\n\t\t// Set the correct header, if data is being sent\n\t\tif ( s.data && s.hasContent && s.contentType !== false || options.contentType ) {\n\t\t\tjqXHR.setRequestHeader( \"Content-Type\", s.contentType );\n\t\t}\n\n\t\t// Set the Accepts header for the server, depending on the dataType\n\t\tjqXHR.setRequestHeader(\n\t\t\t\"Accept\",\n\t\t\ts.dataTypes[ 0 ] && s.accepts[ s.dataTypes[ 0 ] ] ?\n\t\t\t\ts.accepts[ s.dataTypes[ 0 ] ] +\n\t\t\t\t\t( s.dataTypes[ 0 ] !== \"*\" ? \", \" + allTypes + \"; q=0.01\" : \"\" ) :\n\t\t\t\ts.accepts[ \"*\" ]\n\t\t);\n\n\t\t// Check for headers option\n\t\tfor ( i in s.headers ) {\n\t\t\tjqXHR.setRequestHeader( i, s.headers[ i ] );\n\t\t}\n\n\t\t// Allow custom headers/mimetypes and early abort\n\t\tif ( s.beforeSend &&\n\t\t\t( s.beforeSend.call( callbackContext, jqXHR, s ) === false || completed ) ) {\n\n\t\t\t// Abort if not done already and return\n\t\t\treturn jqXHR.abort();\n\t\t}\n\n\t\t// Aborting is no longer a cancellation\n\t\tstrAbort = \"abort\";\n\n\t\t// Install callbacks on deferreds\n\t\tcompleteDeferred.add( s.complete );\n\t\tjqXHR.done( s.success );\n\t\tjqXHR.fail( s.error );\n\n\t\t// Get transport\n\t\ttransport = inspectPrefiltersOrTransports( transports, s, options, jqXHR );\n\n\t\t// If no transport, we auto-abort\n\t\tif ( !transport ) {\n\t\t\tdone( -1, \"No Transport\" );\n\t\t} else {\n\t\t\tjqXHR.readyState = 1;\n\n\t\t\t// Send global event\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( \"ajaxSend\", [ jqXHR, s ] );\n\t\t\t}\n\n\t\t\t// If request was aborted inside ajaxSend, stop there\n\t\t\tif ( completed ) {\n\t\t\t\treturn jqXHR;\n\t\t\t}\n\n\t\t\t// Timeout\n\t\t\tif ( s.async && s.timeout > 0 ) {\n\t\t\t\ttimeoutTimer = window.setTimeout( function() {\n\t\t\t\t\tjqXHR.abort( \"timeout\" );\n\t\t\t\t}, s.timeout );\n\t\t\t}\n\n\t\t\ttry {\n\t\t\t\tcompleted = false;\n\t\t\t\ttransport.send( requestHeaders, done );\n\t\t\t} catch ( e ) {\n\n\t\t\t\t// Rethrow post-completion exceptions\n\t\t\t\tif ( completed ) {\n\t\t\t\t\tthrow e;\n\t\t\t\t}\n\n\t\t\t\t// Propagate others as results\n\t\t\t\tdone( -1, e );\n\t\t\t}\n\t\t}\n\n\t\t// Callback for when everything is done\n\t\tfunction done( status, nativeStatusText, responses, headers ) {\n\t\t\tvar isSuccess, success, error, response, modified,\n\t\t\t\tstatusText = nativeStatusText;\n\n\t\t\t// Ignore repeat invocations\n\t\t\tif ( completed ) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tcompleted = true;\n\n\t\t\t// Clear timeout if it exists\n\t\t\tif ( timeoutTimer ) {\n\t\t\t\twindow.clearTimeout( timeoutTimer );\n\t\t\t}\n\n\t\t\t// Dereference transport for early garbage collection\n\t\t\t// (no matter how long the jqXHR object will be used)\n\t\t\ttransport = undefined;\n\n\t\t\t// Cache response headers\n\t\t\tresponseHeadersString = headers || \"\";\n\n\t\t\t// Set readyState\n\t\t\tjqXHR.readyState = status > 0 ? 4 : 0;\n\n\t\t\t// Determine if successful\n\t\t\tisSuccess = status >= 200 && status < 300 || status === 304;\n\n\t\t\t// Get response data\n\t\t\tif ( responses ) {\n\t\t\t\tresponse = ajaxHandleResponses( s, jqXHR, responses );\n\t\t\t}\n\n\t\t\t// Use a noop converter for missing script but not if jsonp\n\t\t\tif ( !isSuccess &&\n\t\t\t\tjQuery.inArray( \"script\", s.dataTypes ) > -1 &&\n\t\t\t\tjQuery.inArray( \"json\", s.dataTypes ) < 0 ) {\n\t\t\t\ts.converters[ \"text script\" ] = function() {};\n\t\t\t}\n\n\t\t\t// Convert no matter what (that way responseXXX fields are always set)\n\t\t\tresponse = ajaxConvert( s, response, jqXHR, isSuccess );\n\n\t\t\t// If successful, handle type chaining\n\t\t\tif ( isSuccess ) {\n\n\t\t\t\t// Set the If-Modified-Since and/or If-None-Match header, if in ifModified mode.\n\t\t\t\tif ( s.ifModified ) {\n\t\t\t\t\tmodified = jqXHR.getResponseHeader( \"Last-Modified\" );\n\t\t\t\t\tif ( modified ) {\n\t\t\t\t\t\tjQuery.lastModified[ cacheURL ] = modified;\n\t\t\t\t\t}\n\t\t\t\t\tmodified = jqXHR.getResponseHeader( \"etag\" );\n\t\t\t\t\tif ( modified ) {\n\t\t\t\t\t\tjQuery.etag[ cacheURL ] = modified;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// if no content\n\t\t\t\tif ( status === 204 || s.type === \"HEAD\" ) {\n\t\t\t\t\tstatusText = \"nocontent\";\n\n\t\t\t\t// if not modified\n\t\t\t\t} else if ( status === 304 ) {\n\t\t\t\t\tstatusText = \"notmodified\";\n\n\t\t\t\t// If we have data, let's convert it\n\t\t\t\t} else {\n\t\t\t\t\tstatusText = response.state;\n\t\t\t\t\tsuccess = response.data;\n\t\t\t\t\terror = response.error;\n\t\t\t\t\tisSuccess = !error;\n\t\t\t\t}\n\t\t\t} else {\n\n\t\t\t\t// Extract error from statusText and normalize for non-aborts\n\t\t\t\terror = statusText;\n\t\t\t\tif ( status || !statusText ) {\n\t\t\t\t\tstatusText = \"error\";\n\t\t\t\t\tif ( status < 0 ) {\n\t\t\t\t\t\tstatus = 0;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Set data for the fake xhr object\n\t\t\tjqXHR.status = status;\n\t\t\tjqXHR.statusText = ( nativeStatusText || statusText ) + \"\";\n\n\t\t\t// Success/Error\n\t\t\tif ( isSuccess ) {\n\t\t\t\tdeferred.resolveWith( callbackContext, [ success, statusText, jqXHR ] );\n\t\t\t} else {\n\t\t\t\tdeferred.rejectWith( callbackContext, [ jqXHR, statusText, error ] );\n\t\t\t}\n\n\t\t\t// Status-dependent callbacks\n\t\t\tjqXHR.statusCode( statusCode );\n\t\t\tstatusCode = undefined;\n\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( isSuccess ? \"ajaxSuccess\" : \"ajaxError\",\n\t\t\t\t\t[ jqXHR, s, isSuccess ? success : error ] );\n\t\t\t}\n\n\t\t\t// Complete\n\t\t\tcompleteDeferred.fireWith( callbackContext, [ jqXHR, statusText ] );\n\n\t\t\tif ( fireGlobals ) {\n\t\t\t\tglobalEventContext.trigger( \"ajaxComplete\", [ jqXHR, s ] );\n\n\t\t\t\t// Handle the global AJAX counter\n\t\t\t\tif ( !( --jQuery.active ) ) {\n\t\t\t\t\tjQuery.event.trigger( \"ajaxStop\" );\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn jqXHR;\n\t},\n\n\tgetJSON: function( url, data, callback ) {\n\t\treturn jQuery.get( url, data, callback, \"json\" );\n\t},\n\n\tgetScript: function( url, callback ) {\n\t\treturn jQuery.get( url, undefined, callback, \"script\" );\n\t}\n} );\n\njQuery.each( [ \"get\", \"post\" ], function( _i, method ) {\n\tjQuery[ method ] = function( url, data, callback, type ) {\n\n\t\t// Shift arguments if data argument was omitted\n\t\tif ( isFunction( data ) ) {\n\t\t\ttype = type || callback;\n\t\t\tcallback = data;\n\t\t\tdata = undefined;\n\t\t}\n\n\t\t// The url can be an options object (which then must have .url)\n\t\treturn jQuery.ajax( jQuery.extend( {\n\t\t\turl: url,\n\t\t\ttype: method,\n\t\t\tdataType: type,\n\t\t\tdata: data,\n\t\t\tsuccess: callback\n\t\t}, jQuery.isPlainObject( url ) && url ) );\n\t};\n} );\n\njQuery.ajaxPrefilter( function( s ) {\n\tvar i;\n\tfor ( i in s.headers ) {\n\t\tif ( i.toLowerCase() === \"content-type\" ) {\n\t\t\ts.contentType = s.headers[ i ] || \"\";\n\t\t}\n\t}\n} );\n\n\njQuery._evalUrl = function( url, options, doc ) {\n\treturn jQuery.ajax( {\n\t\turl: url,\n\n\t\t// Make this explicit, since user can override this through ajaxSetup (trac-11264)\n\t\ttype: \"GET\",\n\t\tdataType: \"script\",\n\t\tcache: true,\n\t\tasync: false,\n\t\tglobal: false,\n\n\t\t// Only evaluate the response if it is successful (gh-4126)\n\t\t// dataFilter is not invoked for failure responses, so using it instead\n\t\t// of the default converter is kludgy but it works.\n\t\tconverters: {\n\t\t\t\"text script\": function() {}\n\t\t},\n\t\tdataFilter: function( response ) {\n\t\t\tjQuery.globalEval( response, options, doc );\n\t\t}\n\t} );\n};\n\n\njQuery.fn.extend( {\n\twrapAll: function( html ) {\n\t\tvar wrap;\n\n\t\tif ( this[ 0 ] ) {\n\t\t\tif ( isFunction( html ) ) {\n\t\t\t\thtml = html.call( this[ 0 ] );\n\t\t\t}\n\n\t\t\t// The elements to wrap the target around\n\t\t\twrap = jQuery( html, this[ 0 ].ownerDocument ).eq( 0 ).clone( true );\n\n\t\t\tif ( this[ 0 ].parentNode ) {\n\t\t\t\twrap.insertBefore( this[ 0 ] );\n\t\t\t}\n\n\t\t\twrap.map( function() {\n\t\t\t\tvar elem = this;\n\n\t\t\t\twhile ( elem.firstElementChild ) {\n\t\t\t\t\telem = elem.firstElementChild;\n\t\t\t\t}\n\n\t\t\t\treturn elem;\n\t\t\t} ).append( this );\n\t\t}\n\n\t\treturn this;\n\t},\n\n\twrapInner: function( html ) {\n\t\tif ( isFunction( html ) ) {\n\t\t\treturn this.each( function( i ) {\n\t\t\t\tjQuery( this ).wrapInner( html.call( this, i ) );\n\t\t\t} );\n\t\t}\n\n\t\treturn this.each( function() {\n\t\t\tvar self = jQuery( this ),\n\t\t\t\tcontents = self.contents();\n\n\t\t\tif ( contents.length ) {\n\t\t\t\tcontents.wrapAll( html );\n\n\t\t\t} else {\n\t\t\t\tself.append( html );\n\t\t\t}\n\t\t} );\n\t},\n\n\twrap: function( html ) {\n\t\tvar htmlIsFunction = isFunction( html );\n\n\t\treturn this.each( function( i ) {\n\t\t\tjQuery( this ).wrapAll( htmlIsFunction ? html.call( this, i ) : html );\n\t\t} );\n\t},\n\n\tunwrap: function( selector ) {\n\t\tthis.parent( selector ).not( \"body\" ).each( function() {\n\t\t\tjQuery( this ).replaceWith( this.childNodes );\n\t\t} );\n\t\treturn this;\n\t}\n} );\n\n\njQuery.expr.pseudos.hidden = function( elem ) {\n\treturn !jQuery.expr.pseudos.visible( elem );\n};\njQuery.expr.pseudos.visible = function( elem ) {\n\treturn !!( elem.offsetWidth || elem.offsetHeight || elem.getClientRects().length );\n};\n\n\n\n\njQuery.ajaxSettings.xhr = function() {\n\ttry {\n\t\treturn new window.XMLHttpRequest();\n\t} catch ( e ) {}\n};\n\nvar xhrSuccessStatus = {\n\n\t\t// File protocol always yields status code 0, assume 200\n\t\t0: 200,\n\n\t\t// Support: IE <=9 only\n\t\t// trac-1450: sometimes IE returns 1223 when it should be 204\n\t\t1223: 204\n\t},\n\txhrSupported = jQuery.ajaxSettings.xhr();\n\nsupport.cors = !!xhrSupported && ( \"withCredentials\" in xhrSupported );\nsupport.ajax = xhrSupported = !!xhrSupported;\n\njQuery.ajaxTransport( function( options ) {\n\tvar callback, errorCallback;\n\n\t// Cross domain only allowed if supported through XMLHttpRequest\n\tif ( support.cors || xhrSupported && !options.crossDomain ) {\n\t\treturn {\n\t\t\tsend: function( headers, complete ) {\n\t\t\t\tvar i,\n\t\t\t\t\txhr = options.xhr();\n\n\t\t\t\txhr.open(\n\t\t\t\t\toptions.type,\n\t\t\t\t\toptions.url,\n\t\t\t\t\toptions.async,\n\t\t\t\t\toptions.username,\n\t\t\t\t\toptions.password\n\t\t\t\t);\n\n\t\t\t\t// Apply custom fields if provided\n\t\t\t\tif ( options.xhrFields ) {\n\t\t\t\t\tfor ( i in options.xhrFields ) {\n\t\t\t\t\t\txhr[ i ] = options.xhrFields[ i ];\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\t// Override mime type if needed\n\t\t\t\tif ( options.mimeType && xhr.overrideMimeType ) {\n\t\t\t\t\txhr.overrideMimeType( options.mimeType );\n\t\t\t\t}\n\n\t\t\t\t// X-Requested-With header\n\t\t\t\t// For cross-domain requests, seeing as conditions for a preflight are\n\t\t\t\t// akin to a jigsaw puzzle, we simply never set it to be sure.\n\t\t\t\t// (it can always be set on a per-request basis or even using ajaxSetup)\n\t\t\t\t// For same-domain requests, won't change header if already provided.\n\t\t\t\tif ( !options.crossDomain && !headers[ \"X-Requested-With\" ] ) {\n\t\t\t\t\theaders[ \"X-Requested-With\" ] = \"XMLHttpRequest\";\n\t\t\t\t}\n\n\t\t\t\t// Set headers\n\t\t\t\tfor ( i in headers ) {\n\t\t\t\t\txhr.setRequestHeader( i, headers[ i ] );\n\t\t\t\t}\n\n\t\t\t\t// Callback\n\t\t\t\tcallback = function( type ) {\n\t\t\t\t\treturn function() {\n\t\t\t\t\t\tif ( callback ) {\n\t\t\t\t\t\t\tcallback = errorCallback = xhr.onload =\n\t\t\t\t\t\t\t\txhr.onerror = xhr.onabort = xhr.ontimeout =\n\t\t\t\t\t\t\t\t\txhr.onreadystatechange = null;\n\n\t\t\t\t\t\t\tif ( type === \"abort\" ) {\n\t\t\t\t\t\t\t\txhr.abort();\n\t\t\t\t\t\t\t} else if ( type === \"error\" ) {\n\n\t\t\t\t\t\t\t\t// Support: IE <=9 only\n\t\t\t\t\t\t\t\t// On a manual native abort, IE9 throws\n\t\t\t\t\t\t\t\t// errors on any property access that is not readyState\n\t\t\t\t\t\t\t\tif ( typeof xhr.status !== \"number\" ) {\n\t\t\t\t\t\t\t\t\tcomplete( 0, \"error\" );\n\t\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\t\tcomplete(\n\n\t\t\t\t\t\t\t\t\t\t// File: protocol always yields status 0; see trac-8605, trac-14207\n\t\t\t\t\t\t\t\t\t\txhr.status,\n\t\t\t\t\t\t\t\t\t\txhr.statusText\n\t\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\t\tcomplete(\n\t\t\t\t\t\t\t\t\txhrSuccessStatus[ xhr.status ] || xhr.status,\n\t\t\t\t\t\t\t\t\txhr.statusText,\n\n\t\t\t\t\t\t\t\t\t// Support: IE <=9 only\n\t\t\t\t\t\t\t\t\t// IE9 has no XHR2 but throws on binary (trac-11426)\n\t\t\t\t\t\t\t\t\t// For XHR2 non-text, let the caller handle it (gh-2498)\n\t\t\t\t\t\t\t\t\t( xhr.responseType || \"text\" ) !== \"text\"  ||\n\t\t\t\t\t\t\t\t\ttypeof xhr.responseText !== \"string\" ?\n\t\t\t\t\t\t\t\t\t\t{ binary: xhr.response } :\n\t\t\t\t\t\t\t\t\t\t{ text: xhr.responseText },\n\t\t\t\t\t\t\t\t\txhr.getAllResponseHeaders()\n\t\t\t\t\t\t\t\t);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t};\n\n\t\t\t\t// Listen to events\n\t\t\t\txhr.onload = callback();\n\t\t\t\terrorCallback = xhr.onerror = xhr.ontimeout = callback( \"error\" );\n\n\t\t\t\t// Support: IE 9 only\n\t\t\t\t// Use onreadystatechange to replace onabort\n\t\t\t\t// to handle uncaught aborts\n\t\t\t\tif ( xhr.onabort !== undefined ) {\n\t\t\t\t\txhr.onabort = errorCallback;\n\t\t\t\t} else {\n\t\t\t\t\txhr.onreadystatechange = function() {\n\n\t\t\t\t\t\t// Check readyState before timeout as it changes\n\t\t\t\t\t\tif ( xhr.readyState === 4 ) {\n\n\t\t\t\t\t\t\t// Allow onerror to be called first,\n\t\t\t\t\t\t\t// but that will not handle a native abort\n\t\t\t\t\t\t\t// Also, save errorCallback to a variable\n\t\t\t\t\t\t\t// as xhr.onerror cannot be accessed\n\t\t\t\t\t\t\twindow.setTimeout( function() {\n\t\t\t\t\t\t\t\tif ( callback ) {\n\t\t\t\t\t\t\t\t\terrorCallback();\n\t\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\t} );\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t}\n\n\t\t\t\t// Create the abort callback\n\t\t\t\tcallback = callback( \"abort\" );\n\n\t\t\t\ttry {\n\n\t\t\t\t\t// Do send the request (this may raise an exception)\n\t\t\t\t\txhr.send( options.hasContent && options.data || null );\n\t\t\t\t} catch ( e ) {\n\n\t\t\t\t\t// trac-14683: Only rethrow if this hasn't been notified as an error yet\n\t\t\t\t\tif ( callback ) {\n\t\t\t\t\t\tthrow e;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\n\t\t\tabort: function() {\n\t\t\t\tif ( callback ) {\n\t\t\t\t\tcallback();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}\n} );\n\n\n\n\n// Prevent auto-execution of scripts when no explicit dataType was provided (See gh-2432)\njQuery.ajaxPrefilter( function( s ) {\n\tif ( s.crossDomain ) {\n\t\ts.contents.script = false;\n\t}\n} );\n\n// Install script dataType\njQuery.ajaxSetup( {\n\taccepts: {\n\t\tscript: \"text/javascript, application/javascript, \" +\n\t\t\t\"application/ecmascript, application/x-ecmascript\"\n\t},\n\tcontents: {\n\t\tscript: /\\b(?:java|ecma)script\\b/\n\t},\n\tconverters: {\n\t\t\"text script\": function( text ) {\n\t\t\tjQuery.globalEval( text );\n\t\t\treturn text;\n\t\t}\n\t}\n} );\n\n// Handle cache's special case and crossDomain\njQuery.ajaxPrefilter( \"script\", function( s ) {\n\tif ( s.cache === undefined ) {\n\t\ts.cache = false;\n\t}\n\tif ( s.crossDomain ) {\n\t\ts.type = \"GET\";\n\t}\n} );\n\n// Bind script tag hack transport\njQuery.ajaxTransport( \"script\", function( s ) {\n\n\t// This transport only deals with cross domain or forced-by-attrs requests\n\tif ( s.crossDomain || s.scriptAttrs ) {\n\t\tvar script, callback;\n\t\treturn {\n\t\t\tsend: function( _, complete ) {\n\t\t\t\tscript = jQuery( \"<script>\" )\n\t\t\t\t\t.attr( s.scriptAttrs || {} )\n\t\t\t\t\t.prop( { charset: s.scriptCharset, src: s.url } )\n\t\t\t\t\t.on( \"load error\", callback = function( evt ) {\n\t\t\t\t\t\tscript.remove();\n\t\t\t\t\t\tcallback = null;\n\t\t\t\t\t\tif ( evt ) {\n\t\t\t\t\t\t\tcomplete( evt.type === \"error\" ? 404 : 200, evt.type );\n\t\t\t\t\t\t}\n\t\t\t\t\t} );\n\n\t\t\t\t// Use native DOM manipulation to avoid our domManip AJAX trickery\n\t\t\t\tdocument.head.appendChild( script[ 0 ] );\n\t\t\t},\n\t\t\tabort: function() {\n\t\t\t\tif ( callback ) {\n\t\t\t\t\tcallback();\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\t}\n} );\n\n\n\n\nvar oldCallbacks = [],\n\trjsonp = /(=)\\?(?=&|$)|\\?\\?/;\n\n// Default jsonp settings\njQuery.ajaxSetup( {\n\tjsonp: \"callback\",\n\tjsonpCallback: function() {\n\t\tvar callback = oldCallbacks.pop() || ( jQuery.expando + \"_\" + ( nonce.guid++ ) );\n\t\tthis[ callback ] = true;\n\t\treturn callback;\n\t}\n} );\n\n// Detect, normalize options and install callbacks for jsonp requests\njQuery.ajaxPrefilter( \"json jsonp\", function( s, originalSettings, jqXHR ) {\n\n\tvar callbackName, overwritten, responseContainer,\n\t\tjsonProp = s.jsonp !== false && ( rjsonp.test( s.url ) ?\n\t\t\t\"url\" :\n\t\t\ttypeof s.data === \"string\" &&\n\t\t\t\t( s.contentType || \"\" )\n\t\t\t\t\t.indexOf( \"application/x-www-form-urlencoded\" ) === 0 &&\n\t\t\t\trjsonp.test( s.data ) && \"data\"\n\t\t);\n\n\t// Handle iff the expected data type is \"jsonp\" or we have a parameter to set\n\tif ( jsonProp || s.dataTypes[ 0 ] === \"jsonp\" ) {\n\n\t\t// Get callback name, remembering preexisting value associated with it\n\t\tcallbackName = s.jsonpCallback = isFunction( s.jsonpCallback ) ?\n\t\t\ts.jsonpCallback() :\n\t\t\ts.jsonpCallback;\n\n\t\t// Insert callback into url or form data\n\t\tif ( jsonProp ) {\n\t\t\ts[ jsonProp ] = s[ jsonProp ].replace( rjsonp, \"$1\" + callbackName );\n\t\t} else if ( s.jsonp !== false ) {\n\t\t\ts.url += ( rquery.test( s.url ) ? \"&\" : \"?\" ) + s.jsonp + \"=\" + callbackName;\n\t\t}\n\n\t\t// Use data converter to retrieve json after script execution\n\t\ts.converters[ \"script json\" ] = function() {\n\t\t\tif ( !responseContainer ) {\n\t\t\t\tjQuery.error( callbackName + \" was not called\" );\n\t\t\t}\n\t\t\treturn responseContainer[ 0 ];\n\t\t};\n\n\t\t// Force json dataType\n\t\ts.dataTypes[ 0 ] = \"json\";\n\n\t\t// Install callback\n\t\toverwritten = window[ callbackName ];\n\t\twindow[ callbackName ] = function() {\n\t\t\tresponseContainer = arguments;\n\t\t};\n\n\t\t// Clean-up function (fires after converters)\n\t\tjqXHR.always( function() {\n\n\t\t\t// If previous value didn't exist - remove it\n\t\t\tif ( overwritten === undefined ) {\n\t\t\t\tjQuery( window ).removeProp( callbackName );\n\n\t\t\t// Otherwise restore preexisting value\n\t\t\t} else {\n\t\t\t\twindow[ callbackName ] = overwritten;\n\t\t\t}\n\n\t\t\t// Save back as free\n\t\t\tif ( s[ callbackName ] ) {\n\n\t\t\t\t// Make sure that re-using the options doesn't screw things around\n\t\t\t\ts.jsonpCallback = originalSettings.jsonpCallback;\n\n\t\t\t\t// Save the callback name for future use\n\t\t\t\toldCallbacks.push( callbackName );\n\t\t\t}\n\n\t\t\t// Call if it was a function and we have a response\n\t\t\tif ( responseContainer && isFunction( overwritten ) ) {\n\t\t\t\toverwritten( responseContainer[ 0 ] );\n\t\t\t}\n\n\t\t\tresponseContainer = overwritten = undefined;\n\t\t} );\n\n\t\t// Delegate to script\n\t\treturn \"script\";\n\t}\n} );\n\n\n\n\n// Support: Safari 8 only\n// In Safari 8 documents created via document.implementation.createHTMLDocument\n// collapse sibling forms: the second one becomes a child of the first one.\n// Because of that, this security measure has to be disabled in Safari 8.\n// https://bugs.webkit.org/show_bug.cgi?id=137337\nsupport.createHTMLDocument = ( function() {\n\tvar body = document.implementation.createHTMLDocument( \"\" ).body;\n\tbody.innerHTML = \"<form></form><form></form>\";\n\treturn body.childNodes.length === 2;\n} )();\n\n\n// Argument \"data\" should be string of html\n// context (optional): If specified, the fragment will be created in this context,\n// defaults to document\n// keepScripts (optional): If true, will include scripts passed in the html string\njQuery.parseHTML = function( data, context, keepScripts ) {\n\tif ( typeof data !== \"string\" ) {\n\t\treturn [];\n\t}\n\tif ( typeof context === \"boolean\" ) {\n\t\tkeepScripts = context;\n\t\tcontext = false;\n\t}\n\n\tvar base, parsed, scripts;\n\n\tif ( !context ) {\n\n\t\t// Stop scripts or inline event handlers from being executed immediately\n\t\t// by using document.implementation\n\t\tif ( support.createHTMLDocument ) {\n\t\t\tcontext = document.implementation.createHTMLDocument( \"\" );\n\n\t\t\t// Set the base href for the created document\n\t\t\t// so any parsed elements with URLs\n\t\t\t// are based on the document's URL (gh-2965)\n\t\t\tbase = context.createElement( \"base\" );\n\t\t\tbase.href = document.location.href;\n\t\t\tcontext.head.appendChild( base );\n\t\t} else {\n\t\t\tcontext = document;\n\t\t}\n\t}\n\n\tparsed = rsingleTag.exec( data );\n\tscripts = !keepScripts && [];\n\n\t// Single tag\n\tif ( parsed ) {\n\t\treturn [ context.createElement( parsed[ 1 ] ) ];\n\t}\n\n\tparsed = buildFragment( [ data ], context, scripts );\n\n\tif ( scripts && scripts.length ) {\n\t\tjQuery( scripts ).remove();\n\t}\n\n\treturn jQuery.merge( [], parsed.childNodes );\n};\n\n\n/**\n * Load a url into a page\n */\njQuery.fn.load = function( url, params, callback ) {\n\tvar selector, type, response,\n\t\tself = this,\n\t\toff = url.indexOf( \" \" );\n\n\tif ( off > -1 ) {\n\t\tselector = stripAndCollapse( url.slice( off ) );\n\t\turl = url.slice( 0, off );\n\t}\n\n\t// If it's a function\n\tif ( isFunction( params ) ) {\n\n\t\t// We assume that it's the callback\n\t\tcallback = params;\n\t\tparams = undefined;\n\n\t// Otherwise, build a param string\n\t} else if ( params && typeof params === \"object\" ) {\n\t\ttype = \"POST\";\n\t}\n\n\t// If we have elements to modify, make the request\n\tif ( self.length > 0 ) {\n\t\tjQuery.ajax( {\n\t\t\turl: url,\n\n\t\t\t// If \"type\" variable is undefined, then \"GET\" method will be used.\n\t\t\t// Make value of this field explicit since\n\t\t\t// user can override it through ajaxSetup method\n\t\t\ttype: type || \"GET\",\n\t\t\tdataType: \"html\",\n\t\t\tdata: params\n\t\t} ).done( function( responseText ) {\n\n\t\t\t// Save response for use in complete callback\n\t\t\tresponse = arguments;\n\n\t\t\tself.html( selector ?\n\n\t\t\t\t// If a selector was specified, locate the right elements in a dummy div\n\t\t\t\t// Exclude scripts to avoid IE 'Permission Denied' errors\n\t\t\t\tjQuery( \"<div>\" ).append( jQuery.parseHTML( responseText ) ).find( selector ) :\n\n\t\t\t\t// Otherwise use the full result\n\t\t\t\tresponseText );\n\n\t\t// If the request succeeds, this function gets \"data\", \"status\", \"jqXHR\"\n\t\t// but they are ignored because response was set above.\n\t\t// If it fails, this function gets \"jqXHR\", \"status\", \"error\"\n\t\t} ).always( callback && function( jqXHR, status ) {\n\t\t\tself.each( function() {\n\t\t\t\tcallback.apply( this, response || [ jqXHR.responseText, status, jqXHR ] );\n\t\t\t} );\n\t\t} );\n\t}\n\n\treturn this;\n};\n\n\n\n\njQuery.expr.pseudos.animated = function( elem ) {\n\treturn jQuery.grep( jQuery.timers, function( fn ) {\n\t\treturn elem === fn.elem;\n\t} ).length;\n};\n\n\n\n\njQuery.offset = {\n\tsetOffset: function( elem, options, i ) {\n\t\tvar curPosition, curLeft, curCSSTop, curTop, curOffset, curCSSLeft, calculatePosition,\n\t\t\tposition = jQuery.css( elem, \"position\" ),\n\t\t\tcurElem = jQuery( elem ),\n\t\t\tprops = {};\n\n\t\t// Set position first, in-case top/left are set even on static elem\n\t\tif ( position === \"static\" ) {\n\t\t\telem.style.position = \"relative\";\n\t\t}\n\n\t\tcurOffset = curElem.offset();\n\t\tcurCSSTop = jQuery.css( elem, \"top\" );\n\t\tcurCSSLeft = jQuery.css( elem, \"left\" );\n\t\tcalculatePosition = ( position === \"absolute\" || position === \"fixed\" ) &&\n\t\t\t( curCSSTop + curCSSLeft ).indexOf( \"auto\" ) > -1;\n\n\t\t// Need to be able to calculate position if either\n\t\t// top or left is auto and position is either absolute or fixed\n\t\tif ( calculatePosition ) {\n\t\t\tcurPosition = curElem.position();\n\t\t\tcurTop = curPosition.top;\n\t\t\tcurLeft = curPosition.left;\n\n\t\t} else {\n\t\t\tcurTop = parseFloat( curCSSTop ) || 0;\n\t\t\tcurLeft = parseFloat( curCSSLeft ) || 0;\n\t\t}\n\n\t\tif ( isFunction( options ) ) {\n\n\t\t\t// Use jQuery.extend here to allow modification of coordinates argument (gh-1848)\n\t\t\toptions = options.call( elem, i, jQuery.extend( {}, curOffset ) );\n\t\t}\n\n\t\tif ( options.top != null ) {\n\t\t\tprops.top = ( options.top - curOffset.top ) + curTop;\n\t\t}\n\t\tif ( options.left != null ) {\n\t\t\tprops.left = ( options.left - curOffset.left ) + curLeft;\n\t\t}\n\n\t\tif ( \"using\" in options ) {\n\t\t\toptions.using.call( elem, props );\n\n\t\t} else {\n\t\t\tcurElem.css( props );\n\t\t}\n\t}\n};\n\njQuery.fn.extend( {\n\n\t// offset() relates an element's border box to the document origin\n\toffset: function( options ) {\n\n\t\t// Preserve chaining for setter\n\t\tif ( arguments.length ) {\n\t\t\treturn options === undefined ?\n\t\t\t\tthis :\n\t\t\t\tthis.each( function( i ) {\n\t\t\t\t\tjQuery.offset.setOffset( this, options, i );\n\t\t\t\t} );\n\t\t}\n\n\t\tvar rect, win,\n\t\t\telem = this[ 0 ];\n\n\t\tif ( !elem ) {\n\t\t\treturn;\n\t\t}\n\n\t\t// Return zeros for disconnected and hidden (display: none) elements (gh-2310)\n\t\t// Support: IE <=11 only\n\t\t// Running getBoundingClientRect on a\n\t\t// disconnected node in IE throws an error\n\t\tif ( !elem.getClientRects().length ) {\n\t\t\treturn { top: 0, left: 0 };\n\t\t}\n\n\t\t// Get document-relative position by adding viewport scroll to viewport-relative gBCR\n\t\trect = elem.getBoundingClientRect();\n\t\twin = elem.ownerDocument.defaultView;\n\t\treturn {\n\t\t\ttop: rect.top + win.pageYOffset,\n\t\t\tleft: rect.left + win.pageXOffset\n\t\t};\n\t},\n\n\t// position() relates an element's margin box to its offset parent's padding box\n\t// This corresponds to the behavior of CSS absolute positioning\n\tposition: function() {\n\t\tif ( !this[ 0 ] ) {\n\t\t\treturn;\n\t\t}\n\n\t\tvar offsetParent, offset, doc,\n\t\t\telem = this[ 0 ],\n\t\t\tparentOffset = { top: 0, left: 0 };\n\n\t\t// position:fixed elements are offset from the viewport, which itself always has zero offset\n\t\tif ( jQuery.css( elem, \"position\" ) === \"fixed\" ) {\n\n\t\t\t// Assume position:fixed implies availability of getBoundingClientRect\n\t\t\toffset = elem.getBoundingClientRect();\n\n\t\t} else {\n\t\t\toffset = this.offset();\n\n\t\t\t// Account for the *real* offset parent, which can be the document or its root element\n\t\t\t// when a statically positioned element is identified\n\t\t\tdoc = elem.ownerDocument;\n\t\t\toffsetParent = elem.offsetParent || doc.documentElement;\n\t\t\twhile ( offsetParent &&\n\t\t\t\t( offsetParent === doc.body || offsetParent === doc.documentElement ) &&\n\t\t\t\tjQuery.css( offsetParent, \"position\" ) === \"static\" ) {\n\n\t\t\t\toffsetParent = offsetParent.parentNode;\n\t\t\t}\n\t\t\tif ( offsetParent && offsetParent !== elem && offsetParent.nodeType === 1 ) {\n\n\t\t\t\t// Incorporate borders into its offset, since they are outside its content origin\n\t\t\t\tparentOffset = jQuery( offsetParent ).offset();\n\t\t\t\tparentOffset.top += jQuery.css( offsetParent, \"borderTopWidth\", true );\n\t\t\t\tparentOffset.left += jQuery.css( offsetParent, \"borderLeftWidth\", true );\n\t\t\t}\n\t\t}\n\n\t\t// Subtract parent offsets and element margins\n\t\treturn {\n\t\t\ttop: offset.top - parentOffset.top - jQuery.css( elem, \"marginTop\", true ),\n\t\t\tleft: offset.left - parentOffset.left - jQuery.css( elem, \"marginLeft\", true )\n\t\t};\n\t},\n\n\t// This method will return documentElement in the following cases:\n\t// 1) For the element inside the iframe without offsetParent, this method will return\n\t//    documentElement of the parent window\n\t// 2) For the hidden or detached element\n\t// 3) For body or html element, i.e. in case of the html node - it will return itself\n\t//\n\t// but those exceptions were never presented as a real life use-cases\n\t// and might be considered as more preferable results.\n\t//\n\t// This logic, however, is not guaranteed and can change at any point in the future\n\toffsetParent: function() {\n\t\treturn this.map( function() {\n\t\t\tvar offsetParent = this.offsetParent;\n\n\t\t\twhile ( offsetParent && jQuery.css( offsetParent, \"position\" ) === \"static\" ) {\n\t\t\t\toffsetParent = offsetParent.offsetParent;\n\t\t\t}\n\n\t\t\treturn offsetParent || documentElement;\n\t\t} );\n\t}\n} );\n\n// Create scrollLeft and scrollTop methods\njQuery.each( { scrollLeft: \"pageXOffset\", scrollTop: \"pageYOffset\" }, function( method, prop ) {\n\tvar top = \"pageYOffset\" === prop;\n\n\tjQuery.fn[ method ] = function( val ) {\n\t\treturn access( this, function( elem, method, val ) {\n\n\t\t\t// Coalesce documents and windows\n\t\t\tvar win;\n\t\t\tif ( isWindow( elem ) ) {\n\t\t\t\twin = elem;\n\t\t\t} else if ( elem.nodeType === 9 ) {\n\t\t\t\twin = elem.defaultView;\n\t\t\t}\n\n\t\t\tif ( val === undefined ) {\n\t\t\t\treturn win ? win[ prop ] : elem[ method ];\n\t\t\t}\n\n\t\t\tif ( win ) {\n\t\t\t\twin.scrollTo(\n\t\t\t\t\t!top ? val : win.pageXOffset,\n\t\t\t\t\ttop ? val : win.pageYOffset\n\t\t\t\t);\n\n\t\t\t} else {\n\t\t\t\telem[ method ] = val;\n\t\t\t}\n\t\t}, method, val, arguments.length );\n\t};\n} );\n\n// Support: Safari <=7 - 9.1, Chrome <=37 - 49\n// Add the top/left cssHooks using jQuery.fn.position\n// Webkit bug: https://bugs.webkit.org/show_bug.cgi?id=29084\n// Blink bug: https://bugs.chromium.org/p/chromium/issues/detail?id=589347\n// getComputedStyle returns percent when specified for top/left/bottom/right;\n// rather than make the css module depend on the offset module, just check for it here\njQuery.each( [ \"top\", \"left\" ], function( _i, prop ) {\n\tjQuery.cssHooks[ prop ] = addGetHookIf( support.pixelPosition,\n\t\tfunction( elem, computed ) {\n\t\t\tif ( computed ) {\n\t\t\t\tcomputed = curCSS( elem, prop );\n\n\t\t\t\t// If curCSS returns percentage, fallback to offset\n\t\t\t\treturn rnumnonpx.test( computed ) ?\n\t\t\t\t\tjQuery( elem ).position()[ prop ] + \"px\" :\n\t\t\t\t\tcomputed;\n\t\t\t}\n\t\t}\n\t);\n} );\n\n\n// Create innerHeight, innerWidth, height, width, outerHeight and outerWidth methods\njQuery.each( { Height: \"height\", Width: \"width\" }, function( name, type ) {\n\tjQuery.each( {\n\t\tpadding: \"inner\" + name,\n\t\tcontent: type,\n\t\t\"\": \"outer\" + name\n\t}, function( defaultExtra, funcName ) {\n\n\t\t// Margin is only for outerHeight, outerWidth\n\t\tjQuery.fn[ funcName ] = function( margin, value ) {\n\t\t\tvar chainable = arguments.length && ( defaultExtra || typeof margin !== \"boolean\" ),\n\t\t\t\textra = defaultExtra || ( margin === true || value === true ? \"margin\" : \"border\" );\n\n\t\t\treturn access( this, function( elem, type, value ) {\n\t\t\t\tvar doc;\n\n\t\t\t\tif ( isWindow( elem ) ) {\n\n\t\t\t\t\t// $( window ).outerWidth/Height return w/h including scrollbars (gh-1729)\n\t\t\t\t\treturn funcName.indexOf( \"outer\" ) === 0 ?\n\t\t\t\t\t\telem[ \"inner\" + name ] :\n\t\t\t\t\t\telem.document.documentElement[ \"client\" + name ];\n\t\t\t\t}\n\n\t\t\t\t// Get document width or height\n\t\t\t\tif ( elem.nodeType === 9 ) {\n\t\t\t\t\tdoc = elem.documentElement;\n\n\t\t\t\t\t// Either scroll[Width/Height] or offset[Width/Height] or client[Width/Height],\n\t\t\t\t\t// whichever is greatest\n\t\t\t\t\treturn Math.max(\n\t\t\t\t\t\telem.body[ \"scroll\" + name ], doc[ \"scroll\" + name ],\n\t\t\t\t\t\telem.body[ \"offset\" + name ], doc[ \"offset\" + name ],\n\t\t\t\t\t\tdoc[ \"client\" + name ]\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\treturn value === undefined ?\n\n\t\t\t\t\t// Get width or height on the element, requesting but not forcing parseFloat\n\t\t\t\t\tjQuery.css( elem, type, extra ) :\n\n\t\t\t\t\t// Set width or height on the element\n\t\t\t\t\tjQuery.style( elem, type, value, extra );\n\t\t\t}, type, chainable ? margin : undefined, chainable );\n\t\t};\n\t} );\n} );\n\n\njQuery.each( [\n\t\"ajaxStart\",\n\t\"ajaxStop\",\n\t\"ajaxComplete\",\n\t\"ajaxError\",\n\t\"ajaxSuccess\",\n\t\"ajaxSend\"\n], function( _i, type ) {\n\tjQuery.fn[ type ] = function( fn ) {\n\t\treturn this.on( type, fn );\n\t};\n} );\n\n\n\n\njQuery.fn.extend( {\n\n\tbind: function( types, data, fn ) {\n\t\treturn this.on( types, null, data, fn );\n\t},\n\tunbind: function( types, fn ) {\n\t\treturn this.off( types, null, fn );\n\t},\n\n\tdelegate: function( selector, types, data, fn ) {\n\t\treturn this.on( types, selector, data, fn );\n\t},\n\tundelegate: function( selector, types, fn ) {\n\n\t\t// ( namespace ) or ( selector, types [, fn] )\n\t\treturn arguments.length === 1 ?\n\t\t\tthis.off( selector, \"**\" ) :\n\t\t\tthis.off( types, selector || \"**\", fn );\n\t},\n\n\thover: function( fnOver, fnOut ) {\n\t\treturn this\n\t\t\t.on( \"mouseenter\", fnOver )\n\t\t\t.on( \"mouseleave\", fnOut || fnOver );\n\t}\n} );\n\njQuery.each(\n\t( \"blur focus focusin focusout resize scroll click dblclick \" +\n\t\"mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave \" +\n\t\"change select submit keydown keypress keyup contextmenu\" ).split( \" \" ),\n\tfunction( _i, name ) {\n\n\t\t// Handle event binding\n\t\tjQuery.fn[ name ] = function( data, fn ) {\n\t\t\treturn arguments.length > 0 ?\n\t\t\t\tthis.on( name, null, data, fn ) :\n\t\t\t\tthis.trigger( name );\n\t\t};\n\t}\n);\n\n\n\n\n// Support: Android <=4.0 only\n// Make sure we trim BOM and NBSP\n// Require that the \"whitespace run\" starts from a non-whitespace\n// to avoid O(N^2) behavior when the engine would try matching \"\\s+$\" at each space position.\nvar rtrim = /^[\\s\\uFEFF\\xA0]+|([^\\s\\uFEFF\\xA0])[\\s\\uFEFF\\xA0]+$/g;\n\n// Bind a function to a context, optionally partially applying any\n// arguments.\n// jQuery.proxy is deprecated to promote standards (specifically Function#bind)\n// However, it is not slated for removal any time soon\njQuery.proxy = function( fn, context ) {\n\tvar tmp, args, proxy;\n\n\tif ( typeof context === \"string\" ) {\n\t\ttmp = fn[ context ];\n\t\tcontext = fn;\n\t\tfn = tmp;\n\t}\n\n\t// Quick check to determine if target is callable, in the spec\n\t// this throws a TypeError, but we will just return undefined.\n\tif ( !isFunction( fn ) ) {\n\t\treturn undefined;\n\t}\n\n\t// Simulated bind\n\targs = slice.call( arguments, 2 );\n\tproxy = function() {\n\t\treturn fn.apply( context || this, args.concat( slice.call( arguments ) ) );\n\t};\n\n\t// Set the guid of unique handler to the same of original handler, so it can be removed\n\tproxy.guid = fn.guid = fn.guid || jQuery.guid++;\n\n\treturn proxy;\n};\n\njQuery.holdReady = function( hold ) {\n\tif ( hold ) {\n\t\tjQuery.readyWait++;\n\t} else {\n\t\tjQuery.ready( true );\n\t}\n};\njQuery.isArray = Array.isArray;\njQuery.parseJSON = JSON.parse;\njQuery.nodeName = nodeName;\njQuery.isFunction = isFunction;\njQuery.isWindow = isWindow;\njQuery.camelCase = camelCase;\njQuery.type = toType;\n\njQuery.now = Date.now;\n\njQuery.isNumeric = function( obj ) {\n\n\t// As of jQuery 3.0, isNumeric is limited to\n\t// strings and numbers (primitives or objects)\n\t// that can be coerced to finite numbers (gh-2662)\n\tvar type = jQuery.type( obj );\n\treturn ( type === \"number\" || type === \"string\" ) &&\n\n\t\t// parseFloat NaNs numeric-cast false positives (\"\")\n\t\t// ...but misinterprets leading-number strings, particularly hex literals (\"0x...\")\n\t\t// subtraction forces infinities to NaN\n\t\t!isNaN( obj - parseFloat( obj ) );\n};\n\njQuery.trim = function( text ) {\n\treturn text == null ?\n\t\t\"\" :\n\t\t( text + \"\" ).replace( rtrim, \"$1\" );\n};\n\n\n\n// Register as a named AMD module, since jQuery can be concatenated with other\n// files that may use define, but not via a proper concatenation script that\n// understands anonymous AMD modules. A named AMD is safest and most robust\n// way to register. Lowercase jquery is used because AMD module names are\n// derived from file names, and jQuery is normally delivered in a lowercase\n// file name. Do this after creating the global so that if an AMD module wants\n// to call noConflict to hide this version of jQuery, it will work.\n\n// Note that for maximum portability, libraries that are not jQuery should\n// declare themselves as anonymous modules, and avoid setting a global if an\n// AMD loader is present. jQuery is a special case. For more information, see\n// https://github.com/jrburke/requirejs/wiki/Updating-existing-libraries#wiki-anon\n\nif ( typeof define === \"function\" && define.amd ) {\n\tdefine( \"jquery\", [], function() {\n\t\treturn jQuery;\n\t} );\n}\n\n\n\n\nvar\n\n\t// Map over jQuery in case of overwrite\n\t_jQuery = window.jQuery,\n\n\t// Map over the $ in case of overwrite\n\t_$ = window.$;\n\njQuery.noConflict = function( deep ) {\n\tif ( window.$ === jQuery ) {\n\t\twindow.$ = _$;\n\t}\n\n\tif ( deep && window.jQuery === jQuery ) {\n\t\twindow.jQuery = _jQuery;\n\t}\n\n\treturn jQuery;\n};\n\n// Expose jQuery and $ identifiers, even in AMD\n// (trac-7102#comment:10, https://github.com/jquery/jquery/pull/557)\n// and CommonJS for browser emulators (trac-13566)\nif ( typeof noGlobal === \"undefined\" ) {\n\twindow.jQuery = window.$ = jQuery;\n}\n\n\n\n\nreturn jQuery;\n} );\n","/*!\n * @overview  Ember - JavaScript Application Framework\n * @copyright Copyright 2011-2021 Tilde Inc. and contributors\n *            Portions Copyright 2006-2011 Strobe Inc.\n *            Portions Copyright 2008-2011 Apple Inc. All rights reserved.\n * @license   Licensed under MIT license\n *            See https://raw.github.com/emberjs/ember.js/master/LICENSE\n * @version   3.28.12\n */","/* eslint-disable no-var */\n/* globals global globalThis self */\nvar define, require;\n(function () {\n  var globalObj = typeof globalThis !== 'undefined' ? globalThis : typeof self !== 'undefined' ? self : typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : null;\n  if (globalObj === null) {\n    throw new Error('unable to locate global object');\n  }\n  if (typeof globalObj.define === 'function' && typeof globalObj.require === 'function') {\n    define = globalObj.define;\n    require = globalObj.require;\n    return;\n  }\n  var registry = Object.create(null);\n  var seen = Object.create(null);\n  function missingModule(name, referrerName) {\n    if (referrerName) {\n      throw new Error('Could not find module ' + name + ' required by: ' + referrerName);\n    } else {\n      throw new Error('Could not find module ' + name);\n    }\n  }\n  function internalRequire(_name, referrerName) {\n    var name = _name;\n    var mod = registry[name];\n    if (!mod) {\n      name = name + '/index';\n      mod = registry[name];\n    }\n    var exports = seen[name];\n    if (exports !== undefined) {\n      return exports;\n    }\n    exports = seen[name] = {};\n    if (!mod) {\n      missingModule(_name, referrerName);\n    }\n    var deps = mod.deps;\n    var callback = mod.callback;\n    var reified = new Array(deps.length);\n    for (var i = 0; i < deps.length; i++) {\n      if (deps[i] === 'exports') {\n        reified[i] = exports;\n      } else if (deps[i] === 'require') {\n        reified[i] = require;\n      } else {\n        reified[i] = require(deps[i], name);\n      }\n    }\n    callback.apply(this, reified);\n    return exports;\n  }\n  require = function (name) {\n    return internalRequire(name, null);\n  };\n\n  // eslint-disable-next-line no-unused-vars\n  define = function (name, deps, callback) {\n    registry[name] = {\n      deps: deps,\n      callback: callback\n    };\n  };\n\n  // setup `require` module\n  require['default'] = require;\n  require.has = function registryHas(moduleName) {\n    return Boolean(registry[moduleName]) || Boolean(registry[moduleName + '/index']);\n  };\n  require._eak_seen = require.entries = registry;\n})();","define(\"@ember/-internals/bootstrap/index\", [\"@ember/-internals/environment\", \"@ember/-internals/overrides\", \"@ember/debug\", \"require\"], function (_environment, _overrides, _debug, _require) {\n  \"use strict\";\n\n  (function bootstrap() {\n    var Ember;\n    var get = () => {\n      if (!Ember) {\n        // tslint:disable-next-line: no-require-imports\n        Ember = (0, _require.default)(\"ember\").default;\n      }\n      return Ember;\n    };\n    if (true /* DEBUG */) {\n      var defaultHandler = () => {\n        return 'Usage of the Ember Global is deprecated. You should import the Ember module or the specific API instead.';\n      };\n      var handler = _overrides.onEmberGlobalAccess || defaultHandler;\n      var _get = get;\n      get = () => {\n        var message = handler();\n        if (message !== null) {\n          (true && !(false) && (0, _debug.deprecate)(message, false, {\n            id: 'ember-global',\n            until: '4.0.0',\n            url: 'https://deprecations.emberjs.com/v3.x/#toc_ember-global',\n            for: 'ember-source',\n            since: {\n              enabled: '3.27.0'\n            }\n          }));\n        }\n        return _get();\n      };\n    }\n    function defineEmber(key) {\n      Object.defineProperty(_environment.context.exports, key, {\n        enumerable: true,\n        configurable: true,\n        get\n      });\n    } // Bootstrap the global\n\n    defineEmber('Ember');\n    defineEmber('Em'); // Bootstrap Node module\n    // eslint-disable-next-line no-undef\n\n    if (typeof module === 'object' && typeof module.require === 'function') {\n      // tslint:disable-next-line: no-require-imports\n      module.exports = Ember = (0, _require.default)(\"ember\").default;\n    }\n  })();\n});","define(\"@ember/-internals/browser-environment/index\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.window = _exports.userAgent = _exports.location = _exports.isIE = _exports.isFirefox = _exports.isChrome = _exports.history = _exports.hasDOM = void 0;\n  // check if window exists and actually is the global\n  var hasDom = _exports.hasDOM = typeof self === 'object' && self !== null && self.Object === Object && typeof Window !== 'undefined' && self.constructor === Window && typeof document === 'object' && document !== null && self.document === document && typeof location === 'object' && location !== null && self.location === location && typeof history === 'object' && history !== null && self.history === history && typeof navigator === 'object' && navigator !== null && self.navigator === navigator && typeof navigator.userAgent === 'string';\n  var window = _exports.window = hasDom ? self : null;\n  var location$1 = _exports.location = hasDom ? self.location : null;\n  var history$1 = _exports.history = hasDom ? self.history : null;\n  var userAgent = _exports.userAgent = hasDom ? self.navigator.userAgent : 'Lynx (textmode)';\n  var isChrome = _exports.isChrome = hasDom ? typeof chrome === 'object' && !(typeof opera === 'object') : false;\n  var isFirefox = _exports.isFirefox = hasDom ? typeof InstallTrigger !== 'undefined' : false;\n  var isIE = _exports.isIE = hasDom ? typeof MSInputMethodContext !== 'undefined' && typeof documentMode !== 'undefined' : false;\n});","define(\"@ember/-internals/console/index\", [\"exports\", \"@ember/debug\", \"@ember/deprecated-features\"], function (_exports, _debug, _deprecatedFeatures) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  // Deliver message that the function is deprecated\n\n  var DEPRECATION_MESSAGE = 'Use of Ember.Logger is deprecated. Please use `console` for logging.';\n  var DEPRECATION_ID = 'ember-console.deprecate-logger';\n  var DEPRECATION_URL = 'https://deprecations.emberjs.com/v3.x#toc_use-console-rather-than-ember-logger';\n  /**\n     @module ember\n  */\n\n  /**\n    Inside Ember-Metal, simply uses the methods from `imports.console`.\n    Override this to provide more robust logging functionality.\n  \n    @class Logger\n    @deprecated Use 'console' instead\n  \n    @namespace Ember\n    @public\n  */\n\n  var DEPRECATED_LOGGER;\n  if (_deprecatedFeatures.LOGGER) {\n    DEPRECATED_LOGGER = {\n      /**\n      Logs the arguments to the console.\n      You can pass as many arguments as you want and they will be joined together with a space.\n       ```javascript\n      var foo = 1;\n      Ember.Logger.log('log value of foo:', foo);\n      // \"log value of foo: 1\" will be printed to the console\n      ```\n      @method log\n      @for Ember.Logger\n      @param {*} arguments\n      @public\n      */\n      log() {\n        (true && !(false) && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n          id: DEPRECATION_ID,\n          until: '4.0.0',\n          url: DEPRECATION_URL,\n          for: 'ember-source',\n          since: {\n            enabled: '3.2.0'\n          }\n        }));\n        return console.log(...arguments); // eslint-disable-line no-console\n      },\n      /**\n      Prints the arguments to the console with a warning icon.\n      You can pass as many arguments as you want and they will be joined together with a space.\n       ```javascript\n      Ember.Logger.warn('Something happened!');\n      // \"Something happened!\" will be printed to the console with a warning icon.\n      ```\n      @method warn\n      @for Ember.Logger\n      @param {*} arguments\n      @public\n      */\n      warn() {\n        (true && !(false) && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n          id: DEPRECATION_ID,\n          until: '4.0.0',\n          url: DEPRECATION_URL,\n          for: 'ember-source',\n          since: {\n            enabled: '3.2.0'\n          }\n        }));\n        return console.warn(...arguments); // eslint-disable-line no-console\n      },\n      /**\n      Prints the arguments to the console with an error icon, red text and a stack trace.\n      You can pass as many arguments as you want and they will be joined together with a space.\n       ```javascript\n      Ember.Logger.error('Danger! Danger!');\n      // \"Danger! Danger!\" will be printed to the console in red text.\n      ```\n      @method error\n      @for Ember.Logger\n      @param {*} arguments\n      @public\n      */\n      error() {\n        (true && !(false) && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n          id: DEPRECATION_ID,\n          until: '4.0.0',\n          url: DEPRECATION_URL,\n          for: 'ember-source',\n          since: {\n            enabled: '3.2.0'\n          }\n        }));\n        return console.error(...arguments); // eslint-disable-line no-console\n      },\n      /**\n      Logs the arguments to the console.\n      You can pass as many arguments as you want and they will be joined together with a space.\n       ```javascript\n      var foo = 1;\n      Ember.Logger.info('log value of foo:', foo);\n      // \"log value of foo: 1\" will be printed to the console\n      ```\n      @method info\n      @for Ember.Logger\n      @param {*} arguments\n      @public\n      */\n      info() {\n        (true && !(false) && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n          id: DEPRECATION_ID,\n          until: '4.0.0',\n          url: DEPRECATION_URL,\n          for: 'ember-source',\n          since: {\n            enabled: '3.2.0'\n          }\n        }));\n        return console.info(...arguments); // eslint-disable-line no-console\n      },\n      /**\n      Logs the arguments to the console in blue text.\n      You can pass as many arguments as you want and they will be joined together with a space.\n       ```javascript\n      var foo = 1;\n      Ember.Logger.debug('log value of foo:', foo);\n      // \"log value of foo: 1\" will be printed to the console\n      ```\n      @method debug\n      @for Ember.Logger\n      @param {*} arguments\n      @public\n      */\n      debug() {\n        (true && !(false) && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n          id: DEPRECATION_ID,\n          until: '4.0.0',\n          url: DEPRECATION_URL,\n          for: 'ember-source',\n          since: {\n            enabled: '3.2.0'\n          }\n        }));\n        /* eslint-disable no-console */\n        if (console.debug) {\n          return console.debug(...arguments);\n        }\n        return console.info(...arguments);\n        /* eslint-enable no-console */\n      },\n      /**\n      If the value passed into `Ember.Logger.assert` is not truthy it will throw an error with a stack trace.\n       ```javascript\n      Ember.Logger.assert(true); // undefined\n      Ember.Logger.assert(true === false); // Throws an Assertion failed error.\n      Ember.Logger.assert(true === false, 'Something invalid'); // Throws an Assertion failed error with message.\n      ```\n      @method assert\n      @for Ember.Logger\n      @param {Boolean} bool Value to test\n      @param {String} message Assertion message on failed\n      @public\n      */\n      assert() {\n        (true && !(false) && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n          id: DEPRECATION_ID,\n          until: '4.0.0',\n          url: DEPRECATION_URL,\n          for: 'ember-source',\n          since: {\n            enabled: '3.2.0'\n          }\n        }));\n        return console.assert(...arguments); // eslint-disable-line no-console\n      }\n    };\n  }\n  var _default = _exports.default = DEPRECATED_LOGGER;\n});","define(\"@ember/-internals/container/index\", [\"exports\", \"@ember/-internals/owner\", \"@ember/-internals/utils\", \"@ember/debug\", \"@ember/polyfills\"], function (_exports, _owner, _utils, _debug, _polyfills) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.deprecatedStoreInjections = _exports.Registry = _exports.INIT_FACTORY = _exports.Container = void 0;\n  _exports.getFactoryFor = getFactoryFor;\n  _exports.privatize = privatize;\n  _exports.setFactoryFor = setFactoryFor;\n  var leakTracking;\n  var containers;\n  if (true /* DEBUG */) {\n    // requires v8\n    // chrome --js-flags=\"--allow-natives-syntax --expose-gc\"\n    // node --allow-natives-syntax --expose-gc\n    try {\n      if (typeof gc === 'function') {\n        leakTracking = (() => {\n          // avoid syntax errors when --allow-natives-syntax not present\n          var GetWeakSetValues = new Function('weakSet', 'return %GetWeakSetValues(weakSet, 0)');\n          containers = new WeakSet();\n          return {\n            hasContainers() {\n              gc();\n              return GetWeakSetValues(containers).length > 0;\n            },\n            reset() {\n              var values = GetWeakSetValues(containers);\n              for (var i = 0; i < values.length; i++) {\n                containers.delete(values[i]);\n              }\n            }\n          };\n        })();\n      }\n    } catch (e) {// ignore\n    }\n  }\n  var deprecatedStoreInjections = _exports.deprecatedStoreInjections = true /* DEBUG */ && window.WeakSet ? new window.WeakSet() : undefined;\n  /**\n   A container used to instantiate and cache objects.\n  \n   Every `Container` must be associated with a `Registry`, which is referenced\n   to determine the factory and options that should be used to instantiate\n   objects.\n  \n   The public API for `Container` is still in flux and should not be considered\n   stable.\n  \n   @private\n   @class Container\n   */\n\n  class Container {\n    constructor(registry, options = {}) {\n      this.registry = registry;\n      this.owner = options.owner || null;\n      this.cache = (0, _utils.dictionary)(options.cache || null);\n      this.factoryManagerCache = (0, _utils.dictionary)(options.factoryManagerCache || null);\n      this.isDestroyed = false;\n      this.isDestroying = false;\n      if (true /* DEBUG */) {\n        this.validationCache = (0, _utils.dictionary)(options.validationCache || null);\n        if (containers !== undefined) {\n          containers.add(this);\n        }\n      }\n    }\n    /**\n     @private\n     @property registry\n     @type Registry\n     @since 1.11.0\n     */\n\n    /**\n     @private\n     @property cache\n     @type InheritingDict\n     */\n\n    /**\n     @private\n     @property validationCache\n     @type InheritingDict\n     */\n\n    /**\n     Given a fullName return a corresponding instance.\n      The default behavior is for lookup to return a singleton instance.\n     The singleton is scoped to the container, allowing multiple containers\n     to all have their own locally scoped singletons.\n      ```javascript\n     let registry = new Registry();\n     let container = registry.container();\n      registry.register('api:twitter', Twitter);\n      let twitter = container.lookup('api:twitter');\n      twitter instanceof Twitter; // => true\n      // by default the container will return singletons\n     let twitter2 = container.lookup('api:twitter');\n     twitter2 instanceof Twitter; // => true\n      twitter === twitter2; //=> true\n     ```\n      If singletons are not wanted, an optional flag can be provided at lookup.\n      ```javascript\n     let registry = new Registry();\n     let container = registry.container();\n      registry.register('api:twitter', Twitter);\n      let twitter = container.lookup('api:twitter', { singleton: false });\n     let twitter2 = container.lookup('api:twitter', { singleton: false });\n      twitter === twitter2; //=> false\n     ```\n      @private\n     @method lookup\n     @param {String} fullName\n     @param {Object} [options]\n     @param {String} [options.source] The fullname of the request source (used for local lookup)\n     @return {any}\n     */\n\n    lookup(fullName, options) {\n      if (this.isDestroyed) {\n        throw new Error(`Can not call \\`.lookup\\` after the owner has been destroyed`);\n      }\n      (true && !(this.registry.isValidFullName(fullName)) && (0, _debug.assert)('fullName must be a proper full name', this.registry.isValidFullName(fullName)));\n      return lookup(this, this.registry.normalize(fullName), options);\n    }\n    /**\n     A depth first traversal, destroying the container, its descendant containers and all\n     their managed objects.\n      @private\n     @method destroy\n     */\n\n    destroy() {\n      this.isDestroying = true;\n      destroyDestroyables(this);\n    }\n    finalizeDestroy() {\n      resetCache(this);\n      this.isDestroyed = true;\n    }\n    /**\n     Clear either the entire cache or just the cache for a particular key.\n        @private\n     @method reset\n     @param {String} fullName optional key to reset; if missing, resets everything\n    */\n\n    reset(fullName) {\n      if (this.isDestroyed) return;\n      if (fullName === undefined) {\n        destroyDestroyables(this);\n        resetCache(this);\n      } else {\n        resetMember(this, this.registry.normalize(fullName));\n      }\n    }\n    /**\n     Returns an object that can be used to provide an owner to a\n     manually created instance.\n      @private\n     @method ownerInjection\n     @returns { Object }\n    */\n\n    ownerInjection() {\n      var injection = {};\n      (0, _owner.setOwner)(injection, this.owner);\n      return injection;\n    }\n    /**\n     Given a fullName, return the corresponding factory. The consumer of the factory\n     is responsible for the destruction of any factory instances, as there is no\n     way for the container to ensure instances are destroyed when it itself is\n     destroyed.\n      @public\n     @method factoryFor\n     @param {String} fullName\n     @param {Object} [options]\n     @param {String} [options.source] The fullname of the request source (used for local lookup)\n     @return {any}\n     */\n\n    factoryFor(fullName) {\n      if (this.isDestroyed) {\n        throw new Error(`Can not call \\`.factoryFor\\` after the owner has been destroyed`);\n      }\n      var normalizedName = this.registry.normalize(fullName);\n      (true && !(this.registry.isValidFullName(normalizedName)) && (0, _debug.assert)('fullName must be a proper full name', this.registry.isValidFullName(normalizedName)));\n      return factoryFor(this, normalizedName, fullName);\n    }\n  }\n  _exports.Container = Container;\n  if (true /* DEBUG */) {\n    Container._leakTracking = leakTracking;\n  }\n  /*\n   * Wrap a factory manager in a proxy which will not permit properties to be\n   * set on the manager.\n   */\n\n  function wrapManagerInDeprecationProxy(manager) {\n    if (_utils.HAS_NATIVE_PROXY) {\n      var validator = {\n        set(_obj, prop) {\n          throw new Error(`You attempted to set \"${prop}\" on a factory manager created by container#factoryFor. A factory manager is a read-only construct.`);\n        }\n      }; // Note:\n      // We have to proxy access to the manager here so that private property\n      // access doesn't cause the above errors to occur.\n\n      var m = manager;\n      var proxiedManager = {\n        class: m.class,\n        create(props) {\n          return m.create(props);\n        }\n      };\n      return new Proxy(proxiedManager, validator);\n    }\n    return manager;\n  }\n  function isSingleton(container, fullName) {\n    return container.registry.getOption(fullName, 'singleton') !== false;\n  }\n  function isInstantiatable(container, fullName) {\n    return container.registry.getOption(fullName, 'instantiate') !== false;\n  }\n  function lookup(container, fullName, options = {}) {\n    var normalizedName = fullName;\n    if (options.singleton === true || options.singleton === undefined && isSingleton(container, fullName)) {\n      var cached = container.cache[normalizedName];\n      if (cached !== undefined) {\n        return cached;\n      }\n    }\n    return instantiateFactory(container, normalizedName, fullName, options);\n  }\n  function factoryFor(container, normalizedName, fullName) {\n    var cached = container.factoryManagerCache[normalizedName];\n    if (cached !== undefined) {\n      return cached;\n    }\n    var factory = container.registry.resolve(normalizedName);\n    if (factory === undefined) {\n      return;\n    }\n    if (true /* DEBUG */ && factory && typeof factory._onLookup === 'function') {\n      factory._onLookup(fullName);\n    }\n    var manager = new FactoryManager(container, factory, fullName, normalizedName);\n    if (true /* DEBUG */) {\n      manager = wrapManagerInDeprecationProxy(manager);\n    }\n    container.factoryManagerCache[normalizedName] = manager;\n    return manager;\n  }\n  function isSingletonClass(container, fullName, {\n    instantiate,\n    singleton\n  }) {\n    return singleton !== false && !instantiate && isSingleton(container, fullName) && !isInstantiatable(container, fullName);\n  }\n  function isSingletonInstance(container, fullName, {\n    instantiate,\n    singleton\n  }) {\n    return singleton !== false && instantiate !== false && (singleton === true || isSingleton(container, fullName)) && isInstantiatable(container, fullName);\n  }\n  function isFactoryClass(container, fullname, {\n    instantiate,\n    singleton\n  }) {\n    return instantiate === false && (singleton === false || !isSingleton(container, fullname)) && !isInstantiatable(container, fullname);\n  }\n  function isFactoryInstance(container, fullName, {\n    instantiate,\n    singleton\n  }) {\n    return instantiate !== false && (singleton === false || !isSingleton(container, fullName)) && isInstantiatable(container, fullName);\n  }\n  function instantiateFactory(container, normalizedName, fullName, options) {\n    var factoryManager = factoryFor(container, normalizedName, fullName);\n    if (factoryManager === undefined) {\n      return;\n    } // SomeClass { singleton: true, instantiate: true } | { singleton: true } | { instantiate: true } | {}\n    // By default majority of objects fall into this case\n\n    if (isSingletonInstance(container, fullName, options)) {\n      var instance = container.cache[normalizedName] = factoryManager.create(); // if this lookup happened _during_ destruction (emits a deprecation, but\n      // is still possible) ensure that it gets destroyed\n\n      if (container.isDestroying) {\n        if (typeof instance.destroy === 'function') {\n          instance.destroy();\n        }\n      }\n      return instance;\n    } // SomeClass { singleton: false, instantiate: true }\n\n    if (isFactoryInstance(container, fullName, options)) {\n      return factoryManager.create();\n    } // SomeClass { singleton: true, instantiate: false } | { instantiate: false } | { singleton: false, instantiation: false }\n\n    if (isSingletonClass(container, fullName, options) || isFactoryClass(container, fullName, options)) {\n      return factoryManager.class;\n    }\n    throw new Error('Could not create factory');\n  }\n  function processInjections(container, injections, result) {\n    if (true /* DEBUG */) {\n      container.registry.validateInjections(injections);\n    }\n    var hash = result.injections;\n    for (var i = 0; i < injections.length; i++) {\n      var {\n        property,\n        specifier\n      } = injections[i];\n      hash[property] = lookup(container, specifier);\n      if (!result.isDynamic) {\n        result.isDynamic = !isSingleton(container, specifier);\n      }\n    }\n  }\n  function buildInjections(container, typeInjections, injections) {\n    var injectionsHash = {};\n    (0, _owner.setOwner)(injectionsHash, container.owner);\n    var result = {\n      injections: injectionsHash,\n      isDynamic: false\n    };\n    if (typeInjections !== undefined) {\n      processInjections(container, typeInjections, result);\n    }\n    if (injections !== undefined) {\n      processInjections(container, injections, result);\n    }\n    return result;\n  }\n  function injectionsFor(container, fullName) {\n    var registry = container.registry;\n    var [type] = fullName.split(':');\n    var typeInjections = registry.getTypeInjections(type);\n    var injections = registry.getInjections(fullName);\n    var result = buildInjections(container, typeInjections, injections);\n    if (true /* DEBUG */ && deprecatedStoreInjections && type === 'route' && result.injections.store) {\n      deprecatedStoreInjections.add(result.injections.store);\n    }\n    return result;\n  }\n  function destroyDestroyables(container) {\n    var cache = container.cache;\n    var keys = Object.keys(cache);\n    for (var i = 0; i < keys.length; i++) {\n      var key = keys[i];\n      var value = cache[key];\n      if (value.destroy) {\n        value.destroy();\n      }\n    }\n  }\n  function resetCache(container) {\n    container.cache = (0, _utils.dictionary)(null);\n    container.factoryManagerCache = (0, _utils.dictionary)(null);\n  }\n  function resetMember(container, fullName) {\n    var member = container.cache[fullName];\n    delete container.factoryManagerCache[fullName];\n    if (member) {\n      delete container.cache[fullName];\n      if (member.destroy) {\n        member.destroy();\n      }\n    }\n  }\n  var INIT_FACTORY = _exports.INIT_FACTORY = (0, _utils.symbol)('INIT_FACTORY');\n  function getFactoryFor(obj) {\n    return obj[INIT_FACTORY];\n  }\n  function setFactoryFor(obj, factory) {\n    obj[INIT_FACTORY] = factory;\n  }\n  class FactoryManager {\n    constructor(container, factory, fullName, normalizedName) {\n      this.container = container;\n      this.owner = container.owner;\n      this.class = factory;\n      this.fullName = fullName;\n      this.normalizedName = normalizedName;\n      this.madeToString = undefined;\n      this.injections = undefined;\n    }\n    toString() {\n      if (this.madeToString === undefined) {\n        this.madeToString = this.container.registry.makeToString(this.class, this.fullName);\n      }\n      return this.madeToString;\n    }\n    create(options) {\n      var {\n        container\n      } = this;\n      if (container.isDestroyed) {\n        throw new Error(`Can not create new instances after the owner has been destroyed (you attempted to create ${this.fullName})`);\n      }\n      var props = this.injections;\n      if (props === undefined) {\n        var {\n          injections,\n          isDynamic\n        } = injectionsFor(this.container, this.normalizedName);\n        setFactoryFor(injections, this);\n        props = injections;\n        if (!isDynamic) {\n          this.injections = injections;\n        }\n      }\n      if (options !== undefined) {\n        props = (0, _polyfills.assign)({}, props, options);\n      }\n      if (true /* DEBUG */) {\n        var lazyInjections;\n        var validationCache = this.container.validationCache; // Ensure that all lazy injections are valid at instantiation time\n\n        if (!validationCache[this.fullName] && this.class && typeof this.class._lazyInjections === 'function') {\n          lazyInjections = this.class._lazyInjections();\n          lazyInjections = this.container.registry.normalizeInjectionsHash(lazyInjections);\n          this.container.registry.validateInjections(lazyInjections);\n        }\n        validationCache[this.fullName] = true;\n        (true && !(typeof this.class.create === 'function') && (0, _debug.assert)(`Failed to create an instance of '${this.normalizedName}'. Most likely an improperly defined class or an invalid module export.`, typeof this.class.create === 'function'));\n      }\n      return this.class.create(props);\n    }\n  }\n  var VALID_FULL_NAME_REGEXP = /^[^:]+:[^:]+$/;\n  /**\n   A registry used to store factory and option information keyed\n   by type.\n  \n   A `Registry` stores the factory and option information needed by a\n   `Container` to instantiate and cache objects.\n  \n   The API for `Registry` is still in flux and should not be considered stable.\n  \n   @private\n   @class Registry\n   @since 1.11.0\n  */\n\n  class Registry {\n    constructor(options = {}) {\n      this.fallback = options.fallback || null;\n      this.resolver = options.resolver || null;\n      this.registrations = (0, _utils.dictionary)(options.registrations || null);\n      this._typeInjections = (0, _utils.dictionary)(null);\n      this._injections = (0, _utils.dictionary)(null);\n      this._localLookupCache = Object.create(null);\n      this._normalizeCache = (0, _utils.dictionary)(null);\n      this._resolveCache = (0, _utils.dictionary)(null);\n      this._failSet = new Set();\n      this._options = (0, _utils.dictionary)(null);\n      this._typeOptions = (0, _utils.dictionary)(null);\n    }\n    /**\n     A backup registry for resolving registrations when no matches can be found.\n        @private\n     @property fallback\n     @type Registry\n     */\n\n    /**\n     An object that has a `resolve` method that resolves a name.\n        @private\n     @property resolver\n     @type Resolver\n     */\n\n    /**\n     @private\n     @property registrations\n     @type InheritingDict\n     */\n\n    /**\n     @private\n        @property _typeInjections\n     @type InheritingDict\n     */\n\n    /**\n     @private\n        @property _injections\n     @type InheritingDict\n     */\n\n    /**\n     @private\n        @property _normalizeCache\n     @type InheritingDict\n     */\n\n    /**\n     @private\n        @property _resolveCache\n     @type InheritingDict\n     */\n\n    /**\n     @private\n        @property _options\n     @type InheritingDict\n     */\n\n    /**\n     @private\n        @property _typeOptions\n     @type InheritingDict\n     */\n\n    /**\n     Creates a container based on this registry.\n        @private\n     @method container\n     @param {Object} options\n     @return {Container} created container\n     */\n\n    container(options) {\n      return new Container(this, options);\n    }\n    /**\n     Registers a factory for later injection.\n        Example:\n        ```javascript\n     let registry = new Registry();\n        registry.register('model:user', Person, {singleton: false });\n     registry.register('fruit:favorite', Orange);\n     registry.register('communication:main', Email, {singleton: false});\n     ```\n        @private\n     @method register\n     @param {String} fullName\n     @param {Function} factory\n     @param {Object} options\n     */\n\n    register(fullName, factory, options = {}) {\n      (true && !(this.isValidFullName(fullName)) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName)));\n      (true && !(factory !== undefined) && (0, _debug.assert)(`Attempting to register an unknown factory: '${fullName}'`, factory !== undefined));\n      var normalizedName = this.normalize(fullName);\n      (true && !(!this._resolveCache[normalizedName]) && (0, _debug.assert)(`Cannot re-register: '${fullName}', as it has already been resolved.`, !this._resolveCache[normalizedName]));\n      this._failSet.delete(normalizedName);\n      this.registrations[normalizedName] = factory;\n      this._options[normalizedName] = options;\n    }\n    /**\n     Unregister a fullName\n        ```javascript\n     let registry = new Registry();\n     registry.register('model:user', User);\n        registry.resolve('model:user').create() instanceof User //=> true\n        registry.unregister('model:user')\n     registry.resolve('model:user') === undefined //=> true\n     ```\n        @private\n     @method unregister\n     @param {String} fullName\n     */\n\n    unregister(fullName) {\n      (true && !(this.isValidFullName(fullName)) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName)));\n      var normalizedName = this.normalize(fullName);\n      this._localLookupCache = Object.create(null);\n      delete this.registrations[normalizedName];\n      delete this._resolveCache[normalizedName];\n      delete this._options[normalizedName];\n      this._failSet.delete(normalizedName);\n    }\n    /**\n     Given a fullName return the corresponding factory.\n        By default `resolve` will retrieve the factory from\n     the registry.\n        ```javascript\n     let registry = new Registry();\n     registry.register('api:twitter', Twitter);\n        registry.resolve('api:twitter') // => Twitter\n     ```\n        Optionally the registry can be provided with a custom resolver.\n     If provided, `resolve` will first provide the custom resolver\n     the opportunity to resolve the fullName, otherwise it will fallback\n     to the registry.\n        ```javascript\n     let registry = new Registry();\n     registry.resolver = function(fullName) {\n        // lookup via the module system of choice\n      };\n        // the twitter factory is added to the module system\n     registry.resolve('api:twitter') // => Twitter\n     ```\n        @private\n     @method resolve\n     @param {String} fullName\n     @param {Object} [options]\n     @param {String} [options.source] the fullname of the request source (used for local lookups)\n     @return {Function} fullName's factory\n     */\n\n    resolve(fullName) {\n      var factory = resolve(this, this.normalize(fullName));\n      if (factory === undefined && this.fallback !== null) {\n        factory = this.fallback.resolve(...arguments);\n      }\n      return factory;\n    }\n    /**\n     A hook that can be used to describe how the resolver will\n     attempt to find the factory.\n        For example, the default Ember `.describe` returns the full\n     class name (including namespace) where Ember's resolver expects\n     to find the `fullName`.\n        @private\n     @method describe\n     @param {String} fullName\n     @return {string} described fullName\n     */\n\n    describe(fullName) {\n      if (this.resolver !== null && this.resolver.lookupDescription) {\n        return this.resolver.lookupDescription(fullName);\n      } else if (this.fallback !== null) {\n        return this.fallback.describe(fullName);\n      } else {\n        return fullName;\n      }\n    }\n    /**\n     A hook to enable custom fullName normalization behavior\n        @private\n     @method normalizeFullName\n     @param {String} fullName\n     @return {string} normalized fullName\n     */\n\n    normalizeFullName(fullName) {\n      if (this.resolver !== null && this.resolver.normalize) {\n        return this.resolver.normalize(fullName);\n      } else if (this.fallback !== null) {\n        return this.fallback.normalizeFullName(fullName);\n      } else {\n        return fullName;\n      }\n    }\n    /**\n     Normalize a fullName based on the application's conventions\n        @private\n     @method normalize\n     @param {String} fullName\n     @return {string} normalized fullName\n     */\n\n    normalize(fullName) {\n      return this._normalizeCache[fullName] || (this._normalizeCache[fullName] = this.normalizeFullName(fullName));\n    }\n    /**\n     @method makeToString\n        @private\n     @param {any} factory\n     @param {string} fullName\n     @return {function} toString function\n     */\n\n    makeToString(factory, fullName) {\n      var _a;\n      if (this.resolver !== null && this.resolver.makeToString) {\n        return this.resolver.makeToString(factory, fullName);\n      } else if (this.fallback !== null) {\n        return this.fallback.makeToString(factory, fullName);\n      } else {\n        return typeof factory === 'string' ? factory : (_a = factory.name) !== null && _a !== void 0 ? _a : '(unknown class)';\n      }\n    }\n    /**\n     Given a fullName check if the container is aware of its factory\n     or singleton instance.\n        @private\n     @method has\n     @param {String} fullName\n     @param {Object} [options]\n     @param {String} [options.source] the fullname of the request source (used for local lookups)\n     @return {Boolean}\n     */\n\n    has(fullName) {\n      if (!this.isValidFullName(fullName)) {\n        return false;\n      }\n      return has(this, this.normalize(fullName));\n    }\n    /**\n     Allow registering options for all factories of a type.\n        ```javascript\n     let registry = new Registry();\n     let container = registry.container();\n        // if all of type `connection` must not be singletons\n     registry.optionsForType('connection', { singleton: false });\n        registry.register('connection:twitter', TwitterConnection);\n     registry.register('connection:facebook', FacebookConnection);\n        let twitter = container.lookup('connection:twitter');\n     let twitter2 = container.lookup('connection:twitter');\n        twitter === twitter2; // => false\n        let facebook = container.lookup('connection:facebook');\n     let facebook2 = container.lookup('connection:facebook');\n        facebook === facebook2; // => false\n     ```\n        @private\n     @method optionsForType\n     @param {String} type\n     @param {Object} options\n     */\n\n    optionsForType(type, options) {\n      this._typeOptions[type] = options;\n    }\n    getOptionsForType(type) {\n      var optionsForType = this._typeOptions[type];\n      if (optionsForType === undefined && this.fallback !== null) {\n        optionsForType = this.fallback.getOptionsForType(type);\n      }\n      return optionsForType;\n    }\n    /**\n     @private\n     @method options\n     @param {String} fullName\n     @param {Object} options\n     */\n\n    options(fullName, options) {\n      var normalizedName = this.normalize(fullName);\n      this._options[normalizedName] = options;\n    }\n    getOptions(fullName) {\n      var normalizedName = this.normalize(fullName);\n      var options = this._options[normalizedName];\n      if (options === undefined && this.fallback !== null) {\n        options = this.fallback.getOptions(fullName);\n      }\n      return options;\n    }\n    getOption(fullName, optionName) {\n      var options = this._options[fullName];\n      if (options !== undefined && options[optionName] !== undefined) {\n        return options[optionName];\n      }\n      var type = fullName.split(':')[0];\n      options = this._typeOptions[type];\n      if (options && options[optionName] !== undefined) {\n        return options[optionName];\n      } else if (this.fallback !== null) {\n        return this.fallback.getOption(fullName, optionName);\n      }\n      return undefined;\n    }\n    /**\n     Used only via `injection`.\n        Provides a specialized form of injection, specifically enabling\n     all objects of one type to be injected with a reference to another\n     object.\n        For example, provided each object of type `controller` needed a `router`.\n     one would do the following:\n        ```javascript\n     let registry = new Registry();\n     let container = registry.container();\n        registry.register('router:main', Router);\n     registry.register('controller:user', UserController);\n     registry.register('controller:post', PostController);\n        registry.typeInjection('controller', 'router', 'router:main');\n        let user = container.lookup('controller:user');\n     let post = container.lookup('controller:post');\n        user.router instanceof Router; //=> true\n     post.router instanceof Router; //=> true\n        // both controllers share the same router\n     user.router === post.router; //=> true\n     ```\n        @private\n     @method typeInjection\n     @param {String} type\n     @param {String} property\n     @param {String} fullName\n     */\n\n    typeInjection(type, property, fullName) {\n      (true && !(this.isValidFullName(fullName)) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName)));\n      var fullNameType = fullName.split(':')[0];\n      (true && !(fullNameType !== type) && (0, _debug.assert)(`Cannot inject a '${fullName}' on other ${type}(s).`, fullNameType !== type));\n      var injections = this._typeInjections[type] || (this._typeInjections[type] = []);\n      injections.push({\n        property,\n        specifier: fullName\n      });\n    }\n    /**\n     Defines injection rules.\n        These rules are used to inject dependencies onto objects when they\n     are instantiated.\n        Two forms of injections are possible:\n        * Injecting one fullName on another fullName\n     * Injecting one fullName on a type\n        Example:\n        ```javascript\n     let registry = new Registry();\n     let container = registry.container();\n        registry.register('source:main', Source);\n     registry.register('model:user', User);\n     registry.register('model:post', Post);\n        // injecting one fullName on another fullName\n     // eg. each user model gets a post model\n     registry.injection('model:user', 'post', 'model:post');\n        // injecting one fullName on another type\n     registry.injection('model', 'source', 'source:main');\n        let user = container.lookup('model:user');\n     let post = container.lookup('model:post');\n        user.source instanceof Source; //=> true\n     post.source instanceof Source; //=> true\n        user.post instanceof Post; //=> true\n        // and both models share the same source\n     user.source === post.source; //=> true\n     ```\n        @private\n     @method injection\n     @param {String} factoryName\n     @param {String} property\n     @param {String} injectionName\n     */\n\n    injection(fullName, property, injectionName) {\n      (true && !(this.isValidFullName(injectionName)) && (0, _debug.assert)(`Invalid injectionName, expected: 'type:name' got: ${injectionName}`, this.isValidFullName(injectionName)));\n      var normalizedInjectionName = this.normalize(injectionName);\n      if (fullName.indexOf(':') === -1) {\n        return this.typeInjection(fullName, property, normalizedInjectionName);\n      }\n      (true && !(this.isValidFullName(fullName)) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName)));\n      var normalizedName = this.normalize(fullName);\n      var injections = this._injections[normalizedName] || (this._injections[normalizedName] = []);\n      injections.push({\n        property,\n        specifier: normalizedInjectionName\n      });\n    }\n    /**\n     @private\n     @method knownForType\n     @param {String} type the type to iterate over\n    */\n\n    knownForType(type) {\n      var localKnown = (0, _utils.dictionary)(null);\n      var registeredNames = Object.keys(this.registrations);\n      for (var index = 0; index < registeredNames.length; index++) {\n        var fullName = registeredNames[index];\n        var itemType = fullName.split(':')[0];\n        if (itemType === type) {\n          localKnown[fullName] = true;\n        }\n      }\n      var fallbackKnown, resolverKnown;\n      if (this.fallback !== null) {\n        fallbackKnown = this.fallback.knownForType(type);\n      }\n      if (this.resolver !== null && this.resolver.knownForType) {\n        resolverKnown = this.resolver.knownForType(type);\n      }\n      return (0, _polyfills.assign)({}, fallbackKnown, localKnown, resolverKnown);\n    }\n    isValidFullName(fullName) {\n      return VALID_FULL_NAME_REGEXP.test(fullName);\n    }\n    getInjections(fullName) {\n      var injections = this._injections[fullName];\n      if (this.fallback !== null) {\n        var fallbackInjections = this.fallback.getInjections(fullName);\n        if (fallbackInjections !== undefined) {\n          injections = injections === undefined ? fallbackInjections : injections.concat(fallbackInjections);\n        }\n      }\n      return injections;\n    }\n    getTypeInjections(type) {\n      var injections = this._typeInjections[type];\n      if (this.fallback !== null) {\n        var fallbackInjections = this.fallback.getTypeInjections(type);\n        if (fallbackInjections !== undefined) {\n          injections = injections === undefined ? fallbackInjections : injections.concat(fallbackInjections);\n        }\n      }\n      return injections;\n    }\n  }\n  _exports.Registry = Registry;\n  if (true /* DEBUG */) {\n    var proto = Registry.prototype;\n    proto.normalizeInjectionsHash = function (hash) {\n      var injections = [];\n      for (var key in hash) {\n        if (Object.prototype.hasOwnProperty.call(hash, key)) {\n          var {\n            specifier\n          } = hash[key];\n          (true && !(this.isValidFullName(specifier)) && (0, _debug.assert)(`Expected a proper full name, given '${specifier}'`, this.isValidFullName(specifier)));\n          injections.push({\n            property: key,\n            specifier\n          });\n        }\n      }\n      return injections;\n    };\n    proto.validateInjections = function (injections) {\n      if (!injections) {\n        return;\n      }\n      for (var i = 0; i < injections.length; i++) {\n        var {\n          specifier\n        } = injections[i];\n        (true && !(this.has(specifier)) && (0, _debug.assert)(`Attempting to inject an unknown injection: '${specifier}'`, this.has(specifier)));\n      }\n    };\n  }\n  function resolve(registry, _normalizedName) {\n    var normalizedName = _normalizedName;\n    var cached = registry._resolveCache[normalizedName];\n    if (cached !== undefined) {\n      return cached;\n    }\n    if (registry._failSet.has(normalizedName)) {\n      return;\n    }\n    var resolved;\n    if (registry.resolver) {\n      resolved = registry.resolver.resolve(normalizedName);\n    }\n    if (resolved === undefined) {\n      resolved = registry.registrations[normalizedName];\n    }\n    if (resolved === undefined) {\n      registry._failSet.add(normalizedName);\n    } else {\n      registry._resolveCache[normalizedName] = resolved;\n    }\n    return resolved;\n  }\n  function has(registry, fullName) {\n    return registry.resolve(fullName) !== undefined;\n  }\n  var privateNames = (0, _utils.dictionary)(null);\n  var privateSuffix = `${Math.random()}${Date.now()}`.replace('.', '');\n  function privatize([fullName]) {\n    var name = privateNames[fullName];\n    if (name) {\n      return name;\n    }\n    var [type, rawName] = fullName.split(':');\n    return privateNames[fullName] = (0, _utils.intern)(`${type}:${rawName}-${privateSuffix}`);\n  }\n\n  /*\n  Public API for the container is still in flux.\n  The public API, specified on the application namespace should be considered the stable API.\n  // @module container\n    @private\n  */\n});","define(\"@ember/-internals/environment/index\", [\"exports\", \"@ember/deprecated-features\"], function (_exports, _deprecatedFeatures) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.context = _exports.ENV = void 0;\n  _exports.getENV = getENV;\n  _exports.getLookup = getLookup;\n  _exports.global = void 0;\n  _exports.setLookup = setLookup;\n  // from lodash to catch fake globals\n  function checkGlobal(value) {\n    return value && value.Object === Object ? value : undefined;\n  } // element ids can ruin global miss checks\n\n  function checkElementIdShadowing(value) {\n    return value && value.nodeType === undefined ? value : undefined;\n  } // export real global\n\n  var global$1 = _exports.global = checkGlobal(checkElementIdShadowing(typeof global === 'object' && global)) || checkGlobal(typeof self === 'object' && self) || checkGlobal(typeof window === 'object' && window) || typeof mainContext !== 'undefined' && mainContext ||\n  // set before strict mode in Ember loader/wrapper\n  new Function('return this')(); // eval outside of strict mode\n\n  var context = _exports.context = function (global, Ember) {\n    return Ember === undefined ? {\n      imports: global,\n      exports: global,\n      lookup: global\n    } : {\n      // import jQuery\n      imports: Ember.imports || global,\n      // export Ember\n      exports: Ember.exports || global,\n      // search for Namespaces\n      lookup: Ember.lookup || global\n    };\n  }(global$1, global$1.Ember);\n  function getLookup() {\n    return context.lookup;\n  }\n  function setLookup(value) {\n    context.lookup = value;\n  }\n\n  /**\n    The hash of environment variables used to control various configuration\n    settings. To specify your own or override default settings, add the\n    desired properties to a global hash named `EmberENV` (or `ENV` for\n    backwards compatibility with earlier versions of Ember). The `EmberENV`\n    hash must be created before loading Ember.\n  \n    @class EmberENV\n    @type Object\n    @public\n  */\n\n  var ENV = _exports.ENV = {\n    ENABLE_OPTIONAL_FEATURES: false,\n    /**\n      Determines whether Ember should add to `Array`, `Function`, and `String`\n      native object prototypes, a few extra methods in order to provide a more\n      friendly API.\n         We generally recommend leaving this option set to true however, if you need\n      to turn it off, you can add the configuration property\n      `EXTEND_PROTOTYPES` to `EmberENV` and set it to `false`.\n         Note, when disabled (the default configuration for Ember Addons), you will\n      instead have to access all methods and functions from the Ember\n      namespace.\n         @property EXTEND_PROTOTYPES\n      @type Boolean\n      @default true\n      @for EmberENV\n      @public\n    */\n    EXTEND_PROTOTYPES: {\n      Array: true,\n      Function: true,\n      String: true\n    },\n    /**\n      The `LOG_STACKTRACE_ON_DEPRECATION` property, when true, tells Ember to log\n      a full stack trace during deprecation warnings.\n         @property LOG_STACKTRACE_ON_DEPRECATION\n      @type Boolean\n      @default true\n      @for EmberENV\n      @public\n    */\n    LOG_STACKTRACE_ON_DEPRECATION: true,\n    /**\n      The `LOG_VERSION` property, when true, tells Ember to log versions of all\n      dependent libraries in use.\n         @property LOG_VERSION\n      @type Boolean\n      @default true\n      @for EmberENV\n      @public\n    */\n    LOG_VERSION: true,\n    RAISE_ON_DEPRECATION: false,\n    STRUCTURED_PROFILE: false,\n    /**\n      Whether to insert a `<div class=\"ember-view\" />` wrapper around the\n      application template. See RFC #280.\n         This is not intended to be set directly, as the implementation may change in\n      the future. Use `@ember/optional-features` instead.\n         @property _APPLICATION_TEMPLATE_WRAPPER\n      @for EmberENV\n      @type Boolean\n      @default true\n      @private\n    */\n    _APPLICATION_TEMPLATE_WRAPPER: true,\n    /**\n      Whether to use Glimmer Component semantics (as opposed to the classic \"Curly\"\n      components semantics) for template-only components. See RFC #278.\n         This is not intended to be set directly, as the implementation may change in\n      the future. Use `@ember/optional-features` instead.\n         @property _TEMPLATE_ONLY_GLIMMER_COMPONENTS\n      @for EmberENV\n      @type Boolean\n      @default false\n      @private\n    */\n    _TEMPLATE_ONLY_GLIMMER_COMPONENTS: false,\n    /**\n      Whether to perform extra bookkeeping needed to make the `captureRenderTree`\n      API work.\n         This has to be set before the ember JavaScript code is evaluated. This is\n      usually done by setting `window.EmberENV = { _DEBUG_RENDER_TREE: true };`\n      before the \"vendor\" `<script>` tag in `index.html`.\n         Setting the flag after Ember is already loaded will not work correctly. It\n      may appear to work somewhat, but fundamentally broken.\n         This is not intended to be set directly. Ember Inspector will enable the\n      flag on behalf of the user as needed.\n         This flag is always on in development mode.\n         The flag is off by default in production mode, due to the cost associated\n      with the the bookkeeping work.\n         The expected flow is that Ember Inspector will ask the user to refresh the\n      page after enabling the feature. It could also offer a feature where the\n      user add some domains to the \"always on\" list. In either case, Ember\n      Inspector will inject the code on the page to set the flag if needed.\n         @property _DEBUG_RENDER_TREE\n      @for EmberENV\n      @type Boolean\n      @default false\n      @private\n    */\n    _DEBUG_RENDER_TREE: true /* DEBUG */,\n    /**\n      Whether the app is using jQuery. See RFC #294.\n         This is not intended to be set directly, as the implementation may change in\n      the future. Use `@ember/optional-features` instead.\n         @property _JQUERY_INTEGRATION\n      @for EmberENV\n      @type Boolean\n      @default true\n      @private\n    */\n    _JQUERY_INTEGRATION: true,\n    /**\n      Whether the app defaults to using async observers.\n         This is not intended to be set directly, as the implementation may change in\n      the future. Use `@ember/optional-features` instead.\n         @property _DEFAULT_ASYNC_OBSERVERS\n      @for EmberENV\n      @type Boolean\n      @default false\n      @private\n    */\n    _DEFAULT_ASYNC_OBSERVERS: false,\n    /**\n      Controls the maximum number of scheduled rerenders without \"settling\". In general,\n      applications should not need to modify this environment variable, but please\n      open an issue so that we can determine if a better default value is needed.\n         @property _RERENDER_LOOP_LIMIT\n      @for EmberENV\n      @type number\n      @default 1000\n      @private\n     */\n    _RERENDER_LOOP_LIMIT: 1000,\n    /**\n      Allows disabling the implicit this property fallback deprecation. This could be useful\n      as a way to control the volume of deprecations that are issued by temporarily disabling\n      the implicit this fallback deprecations, which would allow the other deprecations to be more easily\n      identified in the console).\n         NOTE: The fallback behavior **will be removed** in Ember 4.0.0, disabling **_IS NOT_**\n      a viable strategy for handling this deprecation.\n         @property _DISABLE_PROPERTY_FALLBACK_DEPRECATION\n      @for EmberENV\n      @type boolean\n      @default false\n      @private\n     */\n    _DISABLE_PROPERTY_FALLBACK_DEPRECATION: false,\n    EMBER_LOAD_HOOKS: {},\n    FEATURES: {}\n  };\n  (EmberENV => {\n    if (typeof EmberENV !== 'object' || EmberENV === null) return;\n    for (var flag in EmberENV) {\n      if (!Object.prototype.hasOwnProperty.call(EmberENV, flag) || flag === 'EXTEND_PROTOTYPES' || flag === 'EMBER_LOAD_HOOKS') continue;\n      var defaultValue = ENV[flag];\n      if (defaultValue === true) {\n        ENV[flag] = EmberENV[flag] !== false;\n      } else if (defaultValue === false) {\n        ENV[flag] = EmberENV[flag] === true;\n      }\n    }\n    var {\n      EXTEND_PROTOTYPES\n    } = EmberENV;\n    if (EXTEND_PROTOTYPES !== undefined) {\n      if (typeof EXTEND_PROTOTYPES === 'object' && EXTEND_PROTOTYPES !== null) {\n        ENV.EXTEND_PROTOTYPES.String = EXTEND_PROTOTYPES.String !== false;\n        if (_deprecatedFeatures.FUNCTION_PROTOTYPE_EXTENSIONS) {\n          ENV.EXTEND_PROTOTYPES.Function = EXTEND_PROTOTYPES.Function !== false;\n        }\n        ENV.EXTEND_PROTOTYPES.Array = EXTEND_PROTOTYPES.Array !== false;\n      } else {\n        var isEnabled = EXTEND_PROTOTYPES !== false;\n        ENV.EXTEND_PROTOTYPES.String = isEnabled;\n        if (_deprecatedFeatures.FUNCTION_PROTOTYPE_EXTENSIONS) {\n          ENV.EXTEND_PROTOTYPES.Function = isEnabled;\n        }\n        ENV.EXTEND_PROTOTYPES.Array = isEnabled;\n      }\n    } // TODO this does not seem to be used by anything,\n    //      can we remove it? do we need to deprecate it?\n\n    var {\n      EMBER_LOAD_HOOKS\n    } = EmberENV;\n    if (typeof EMBER_LOAD_HOOKS === 'object' && EMBER_LOAD_HOOKS !== null) {\n      for (var hookName in EMBER_LOAD_HOOKS) {\n        if (!Object.prototype.hasOwnProperty.call(EMBER_LOAD_HOOKS, hookName)) continue;\n        var hooks = EMBER_LOAD_HOOKS[hookName];\n        if (Array.isArray(hooks)) {\n          ENV.EMBER_LOAD_HOOKS[hookName] = hooks.filter(hook => typeof hook === 'function');\n        }\n      }\n    }\n    var {\n      FEATURES\n    } = EmberENV;\n    if (typeof FEATURES === 'object' && FEATURES !== null) {\n      for (var feature in FEATURES) {\n        if (!Object.prototype.hasOwnProperty.call(FEATURES, feature)) continue;\n        ENV.FEATURES[feature] = FEATURES[feature] === true;\n      }\n    }\n    if (true /* DEBUG */) {\n      ENV._DEBUG_RENDER_TREE = true;\n    }\n  })(global$1.EmberENV);\n  function getENV() {\n    return ENV;\n  }\n});","define(\"@ember/-internals/error-handling/index\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.getDispatchOverride = getDispatchOverride;\n  _exports.getOnerror = getOnerror;\n  _exports.onErrorTarget = void 0;\n  _exports.setDispatchOverride = setDispatchOverride;\n  _exports.setOnerror = setOnerror;\n  var onerror;\n  var onErrorTarget = _exports.onErrorTarget = {\n    get onerror() {\n      return onerror;\n    }\n  }; // Ember.onerror getter\n\n  function getOnerror() {\n    return onerror;\n  } // Ember.onerror setter\n\n  function setOnerror(handler) {\n    onerror = handler;\n  }\n  var dispatchOverride; // allows testing adapter to override dispatch\n\n  function getDispatchOverride() {\n    return dispatchOverride;\n  }\n  function setDispatchOverride(handler) {\n    dispatchOverride = handler;\n  }\n});","define(\"@ember/-internals/extension-support/index\", [\"exports\", \"@ember/-internals/extension-support/lib/data_adapter\", \"@ember/-internals/extension-support/lib/container_debug_adapter\"], function (_exports, _data_adapter, _container_debug_adapter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"ContainerDebugAdapter\", {\n    enumerable: true,\n    get: function () {\n      return _container_debug_adapter.default;\n    }\n  });\n  Object.defineProperty(_exports, \"DataAdapter\", {\n    enumerable: true,\n    get: function () {\n      return _data_adapter.default;\n    }\n  });\n});","define(\"@ember/-internals/extension-support/lib/container_debug_adapter\", [\"exports\", \"@ember/string\", \"@ember/-internals/runtime\"], function (_exports, _string, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module @ember/debug\n  */\n  /**\n    The `ContainerDebugAdapter` helps the container and resolver interface\n    with tools that debug Ember such as the\n    [Ember Inspector](https://github.com/emberjs/ember-inspector)\n    for Chrome and Firefox.\n  \n    This class can be extended by a custom resolver implementer\n    to override some of the methods with library-specific code.\n  \n    The methods likely to be overridden are:\n  \n    * `canCatalogEntriesByType`\n    * `catalogEntriesByType`\n  \n    The adapter will need to be registered\n    in the application's container as `container-debug-adapter:main`.\n  \n    Example:\n  \n    ```javascript\n    Application.initializer({\n      name: \"containerDebugAdapter\",\n  \n      initialize(application) {\n        application.register('container-debug-adapter:main', require('app/container-debug-adapter'));\n      }\n    });\n    ```\n  \n    @class ContainerDebugAdapter\n    @extends EmberObject\n    @since 1.5.0\n    @public\n  */\n  var _default = _exports.default = _runtime.Object.extend({\n    /**\n      The resolver instance of the application\n      being debugged. This property will be injected\n      on creation.\n       @property resolver\n      @default null\n      @public\n    */\n    resolver: null,\n    /**\n      Returns true if it is possible to catalog a list of available\n      classes in the resolver for a given type.\n       @method canCatalogEntriesByType\n      @param {String} type The type. e.g. \"model\", \"controller\", \"route\".\n      @return {boolean} whether a list is available for this type.\n      @public\n    */\n    canCatalogEntriesByType(type) {\n      if (type === 'model' || type === 'template') {\n        return false;\n      }\n      return true;\n    },\n    /**\n      Returns the available classes a given type.\n       @method catalogEntriesByType\n      @param {String} type The type. e.g. \"model\", \"controller\", \"route\".\n      @return {Array} An array of strings.\n      @public\n    */\n    catalogEntriesByType(type) {\n      var namespaces = (0, _runtime.A)(_runtime.Namespace.NAMESPACES);\n      var types = (0, _runtime.A)();\n      var typeSuffixRegex = new RegExp(`${(0, _string.classify)(type)}$`);\n      namespaces.forEach(namespace => {\n        for (var key in namespace) {\n          if (!Object.prototype.hasOwnProperty.call(namespace, key)) {\n            continue;\n          }\n          if (typeSuffixRegex.test(key)) {\n            var klass = namespace[key];\n            if ((0, _runtime.typeOf)(klass) === 'class') {\n              types.push((0, _string.dasherize)(key.replace(typeSuffixRegex, '')));\n            }\n          }\n        }\n      });\n      return types;\n    }\n  });\n});","define(\"@ember/-internals/extension-support/lib/data_adapter\", [\"exports\", \"@ember/-internals/owner\", \"@ember/runloop\", \"@ember/-internals/metal\", \"@ember/string\", \"@ember/-internals/utils\", \"@ember/-internals/runtime\", \"@glimmer/validator\"], function (_exports, _owner, _runloop, _metal, _string, _utils, _runtime, _validator) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function iterate(arr, fn) {\n    if (_utils.HAS_NATIVE_SYMBOL && Symbol.iterator in arr) {\n      for (var item of arr) {\n        fn(item);\n      }\n    } else {\n      arr.forEach(fn);\n    }\n  }\n  class RecordsWatcher {\n    getCacheForItem(record) {\n      var recordCache = this.recordCaches.get(record);\n      if (!recordCache) {\n        var hasBeenAdded = false;\n        recordCache = (0, _validator.createCache)(() => {\n          if (!hasBeenAdded) {\n            this.added.push(this.wrapRecord(record));\n            hasBeenAdded = true;\n          } else {\n            this.updated.push(this.wrapRecord(record));\n          }\n        });\n        this.recordCaches.set(record, recordCache);\n      }\n      return recordCache;\n    }\n    constructor(records, recordsAdded, recordsUpdated, recordsRemoved, wrapRecord, release) {\n      this.recordCaches = new Map();\n      this.added = [];\n      this.updated = [];\n      this.removed = [];\n      this.release = release;\n      this.wrapRecord = wrapRecord;\n      this.recordArrayCache = (0, _validator.createCache)(() => {\n        var seen = new Set(); // Track `[]` for legacy support\n\n        (0, _validator.consumeTag)((0, _validator.tagFor)(records, '[]'));\n        iterate(records, record => {\n          (0, _validator.getValue)(this.getCacheForItem(record));\n          seen.add(record);\n        }); // Untrack this operation because these records are being removed, they\n        // should not be polled again in the future\n\n        (0, _validator.untrack)(() => {\n          this.recordCaches.forEach((cache, record) => {\n            if (!seen.has(record)) {\n              this.removed.push(wrapRecord(record));\n              this.recordCaches.delete(record);\n            }\n          });\n        });\n        if (this.added.length > 0) {\n          recordsAdded(this.added);\n          this.added = [];\n        }\n        if (this.updated.length > 0) {\n          recordsUpdated(this.updated);\n          this.updated = [];\n        }\n        if (this.removed.length > 0) {\n          recordsRemoved(this.removed);\n          this.removed = [];\n        }\n      });\n    }\n    revalidate() {\n      (0, _validator.getValue)(this.recordArrayCache);\n    }\n  }\n  class TypeWatcher {\n    constructor(records, onChange, release) {\n      var hasBeenAccessed = false;\n      this.cache = (0, _validator.createCache)(() => {\n        // Empty iteration, we're doing this just\n        // to track changes to the records array\n        iterate(records, () => {}); // Also track `[]` for legacy support\n\n        (0, _validator.consumeTag)((0, _validator.tagFor)(records, '[]'));\n        if (hasBeenAccessed === true) {\n          onChange();\n        } else {\n          hasBeenAccessed = true;\n        }\n      });\n      this.release = release;\n    }\n    revalidate() {\n      (0, _validator.getValue)(this.cache);\n    }\n  }\n  /**\n  @module @ember/debug\n  */\n\n  /**\n    The `DataAdapter` helps a data persistence library\n    interface with tools that debug Ember such\n    as the [Ember Inspector](https://github.com/emberjs/ember-inspector)\n    for Chrome and Firefox.\n  \n    This class will be extended by a persistence library\n    which will override some of the methods with\n    library-specific code.\n  \n    The methods likely to be overridden are:\n  \n    * `getFilters`\n    * `detect`\n    * `columnsForType`\n    * `getRecords`\n    * `getRecordColumnValues`\n    * `getRecordKeywords`\n    * `getRecordFilterValues`\n    * `getRecordColor`\n  \n    The adapter will need to be registered\n    in the application's container as `dataAdapter:main`.\n  \n    Example:\n  \n    ```javascript\n    Application.initializer({\n      name: \"data-adapter\",\n  \n      initialize: function(application) {\n        application.register('data-adapter:main', DS.DataAdapter);\n      }\n    });\n    ```\n  \n    @class DataAdapter\n    @extends EmberObject\n    @public\n  */\n  var _default = _exports.default = _runtime.Object.extend({\n    init() {\n      this._super(...arguments);\n      this.containerDebugAdapter = (0, _owner.getOwner)(this).lookup('container-debug-adapter:main');\n      this.releaseMethods = (0, _runtime.A)();\n      this.recordsWatchers = new Map();\n      this.typeWatchers = new Map();\n      this.flushWatchers = null;\n    },\n    /**\n      The container-debug-adapter which is used\n      to list all models.\n       @property containerDebugAdapter\n      @default undefined\n      @since 1.5.0\n      @public\n    **/\n\n    /**\n      The number of attributes to send\n      as columns. (Enough to make the record\n      identifiable).\n       @private\n      @property attributeLimit\n      @default 3\n      @since 1.3.0\n    */\n    attributeLimit: 3,\n    /**\n       Ember Data > v1.0.0-beta.18\n       requires string model names to be passed\n       around instead of the actual factories.\n        This is a stamp for the Ember Inspector\n       to differentiate between the versions\n       to be able to support older versions too.\n        @public\n       @property acceptsModelName\n     */\n    acceptsModelName: true,\n    /**\n       Map from records arrays to RecordsWatcher instances\n        @private\n       @property recordsWatchers\n       @since 3.26.0\n     */\n\n    /**\n      Map from records arrays to TypeWatcher instances\n       @private\n      @property typeWatchers\n      @since 3.26.0\n     */\n\n    /**\n      Callback that is currently scheduled on backburner end to flush and check\n      all active watchers.\n       @private\n      @property flushWatchers\n      @since 3.26.0\n      */\n\n    /**\n      Stores all methods that clear observers.\n      These methods will be called on destruction.\n       @private\n      @property releaseMethods\n      @since 1.3.0\n    */\n\n    /**\n      Specifies how records can be filtered.\n      Records returned will need to have a `filterValues`\n      property with a key for every name in the returned array.\n       @public\n      @method getFilters\n      @return {Array} List of objects defining filters.\n       The object should have a `name` and `desc` property.\n    */\n    getFilters() {\n      return (0, _runtime.A)();\n    },\n    /**\n      Fetch the model types and observe them for changes.\n       @public\n      @method watchModelTypes\n       @param {Function} typesAdded Callback to call to add types.\n      Takes an array of objects containing wrapped types (returned from `wrapModelType`).\n       @param {Function} typesUpdated Callback to call when a type has changed.\n      Takes an array of objects containing wrapped types.\n       @return {Function} Method to call to remove all observers\n    */\n    watchModelTypes(typesAdded, typesUpdated) {\n      var modelTypes = this.getModelTypes();\n      var releaseMethods = (0, _runtime.A)();\n      var typesToSend;\n      typesToSend = modelTypes.map(type => {\n        var klass = type.klass;\n        var wrapped = this.wrapModelType(klass, type.name);\n        releaseMethods.push(this.observeModelType(type.name, typesUpdated));\n        return wrapped;\n      });\n      typesAdded(typesToSend);\n      var release = () => {\n        releaseMethods.forEach(fn => fn());\n        this.releaseMethods.removeObject(release);\n      };\n      this.releaseMethods.pushObject(release);\n      return release;\n    },\n    _nameToClass(type) {\n      if (typeof type === 'string') {\n        var owner = (0, _owner.getOwner)(this);\n        var Factory = owner.factoryFor(`model:${type}`);\n        type = Factory && Factory.class;\n      }\n      return type;\n    },\n    /**\n      Fetch the records of a given type and observe them for changes.\n       @public\n      @method watchRecords\n       @param {String} modelName The model name.\n       @param {Function} recordsAdded Callback to call to add records.\n      Takes an array of objects containing wrapped records.\n      The object should have the following properties:\n        columnValues: {Object} The key and value of a table cell.\n        object: {Object} The actual record object.\n       @param {Function} recordsUpdated Callback to call when a record has changed.\n      Takes an array of objects containing wrapped records.\n       @param {Function} recordsRemoved Callback to call when a record has removed.\n      Takes an array of objects containing wrapped records.\n       @return {Function} Method to call to remove all observers.\n    */\n    watchRecords(modelName, recordsAdded, recordsUpdated, recordsRemoved) {\n      var klass = this._nameToClass(modelName);\n      var records = this.getRecords(klass, modelName);\n      var {\n        recordsWatchers\n      } = this;\n      var recordsWatcher = recordsWatchers.get(records);\n      if (!recordsWatcher) {\n        recordsWatcher = new RecordsWatcher(records, recordsAdded, recordsUpdated, recordsRemoved, record => this.wrapRecord(record), () => {\n          recordsWatchers.delete(records);\n          this.updateFlushWatchers();\n        });\n        recordsWatchers.set(records, recordsWatcher);\n        this.updateFlushWatchers();\n        recordsWatcher.revalidate();\n      }\n      return recordsWatcher.release;\n    },\n    updateFlushWatchers() {\n      if (this.flushWatchers === null) {\n        if (this.typeWatchers.size > 0 || this.recordsWatchers.size > 0) {\n          this.flushWatchers = () => {\n            this.typeWatchers.forEach(watcher => watcher.revalidate());\n            this.recordsWatchers.forEach(watcher => watcher.revalidate());\n          };\n          _runloop._backburner.on('end', this.flushWatchers);\n        }\n      } else if (this.typeWatchers.size === 0 && this.recordsWatchers.size === 0) {\n        _runloop._backburner.off('end', this.flushWatchers);\n        this.flushWatchers = null;\n      }\n    },\n    /**\n      Clear all observers before destruction\n      @private\n      @method willDestroy\n    */\n    willDestroy() {\n      this._super(...arguments);\n      this.typeWatchers.forEach(watcher => watcher.release());\n      this.recordsWatchers.forEach(watcher => watcher.release());\n      this.releaseMethods.forEach(fn => fn());\n      if (this.flushWatchers) {\n        _runloop._backburner.off('end', this.flushWatchers);\n      }\n    },\n    /**\n      Detect whether a class is a model.\n       Test that against the model class\n      of your persistence library.\n       @public\n      @method detect\n      @return boolean Whether the class is a model class or not.\n    */\n    detect() {\n      return false;\n    },\n    /**\n      Get the columns for a given model type.\n       @public\n      @method columnsForType\n      @return {Array} An array of columns of the following format:\n       name: {String} The name of the column.\n       desc: {String} Humanized description (what would show in a table column name).\n    */\n    columnsForType() {\n      return (0, _runtime.A)();\n    },\n    /**\n      Adds observers to a model type class.\n       @private\n      @method observeModelType\n      @param {String} modelName The model type name.\n      @param {Function} typesUpdated Called when a type is modified.\n      @return {Function} The function to call to remove observers.\n    */\n    observeModelType(modelName, typesUpdated) {\n      var klass = this._nameToClass(modelName);\n      var records = this.getRecords(klass, modelName);\n      var onChange = () => {\n        typesUpdated([this.wrapModelType(klass, modelName)]);\n      };\n      var {\n        typeWatchers\n      } = this;\n      var typeWatcher = typeWatchers.get(records);\n      if (!typeWatcher) {\n        typeWatcher = new TypeWatcher(records, onChange, () => {\n          typeWatchers.delete(records);\n          this.updateFlushWatchers();\n        });\n        typeWatchers.set(records, typeWatcher);\n        this.updateFlushWatchers();\n        typeWatcher.revalidate();\n      }\n      return typeWatcher.release;\n    },\n    /**\n      Wraps a given model type and observes changes to it.\n       @private\n      @method wrapModelType\n      @param {Class} klass A model class.\n      @param {String} modelName Name of the class.\n      @return {Object} Contains the wrapped type and the function to remove observers\n      Format:\n        type: {Object} The wrapped type.\n          The wrapped type has the following format:\n            name: {String} The name of the type.\n            count: {Integer} The number of records available.\n            columns: {Columns} An array of columns to describe the record.\n            object: {Class} The actual Model type class.\n        release: {Function} The function to remove observers.\n    */\n    wrapModelType(klass, name) {\n      var records = this.getRecords(klass, name);\n      var typeToSend;\n      typeToSend = {\n        name,\n        count: (0, _metal.get)(records, 'length'),\n        columns: this.columnsForType(klass),\n        object: klass\n      };\n      return typeToSend;\n    },\n    /**\n      Fetches all models defined in the application.\n       @private\n      @method getModelTypes\n      @return {Array} Array of model types.\n    */\n    getModelTypes() {\n      var containerDebugAdapter = this.get('containerDebugAdapter');\n      var types;\n      if (containerDebugAdapter.canCatalogEntriesByType('model')) {\n        types = containerDebugAdapter.catalogEntriesByType('model');\n      } else {\n        types = this._getObjectsOnNamespaces();\n      } // New adapters return strings instead of classes.\n\n      types = (0, _runtime.A)(types).map(name => {\n        return {\n          klass: this._nameToClass(name),\n          name\n        };\n      });\n      types = (0, _runtime.A)(types).filter(type => this.detect(type.klass));\n      return (0, _runtime.A)(types);\n    },\n    /**\n      Loops over all namespaces and all objects\n      attached to them.\n       @private\n      @method _getObjectsOnNamespaces\n      @return {Array} Array of model type strings.\n    */\n    _getObjectsOnNamespaces() {\n      var namespaces = (0, _runtime.A)(_runtime.Namespace.NAMESPACES);\n      var types = (0, _runtime.A)();\n      namespaces.forEach(namespace => {\n        for (var key in namespace) {\n          if (!Object.prototype.hasOwnProperty.call(namespace, key)) {\n            continue;\n          } // Even though we will filter again in `getModelTypes`,\n          // we should not call `lookupFactory` on non-models\n\n          if (!this.detect(namespace[key])) {\n            continue;\n          }\n          var name = (0, _string.dasherize)(key);\n          types.push(name);\n        }\n      });\n      return types;\n    },\n    /**\n      Fetches all loaded records for a given type.\n       @public\n      @method getRecords\n      @return {Array} An array of records.\n       This array will be observed for changes,\n       so it should update when new records are added/removed.\n    */\n    getRecords() {\n      return (0, _runtime.A)();\n    },\n    /**\n      Wraps a record and observers changes to it.\n       @private\n      @method wrapRecord\n      @param {Object} record The record instance.\n      @return {Object} The wrapped record. Format:\n      columnValues: {Array}\n      searchKeywords: {Array}\n    */\n    wrapRecord(record) {\n      var recordToSend = {\n        object: record\n      };\n      recordToSend.columnValues = this.getRecordColumnValues(record);\n      recordToSend.searchKeywords = this.getRecordKeywords(record);\n      recordToSend.filterValues = this.getRecordFilterValues(record);\n      recordToSend.color = this.getRecordColor(record);\n      return recordToSend;\n    },\n    /**\n      Gets the values for each column.\n       @public\n      @method getRecordColumnValues\n      @return {Object} Keys should match column names defined\n      by the model type.\n    */\n    getRecordColumnValues() {\n      return {};\n    },\n    /**\n      Returns keywords to match when searching records.\n       @public\n      @method getRecordKeywords\n      @return {Array} Relevant keywords for search.\n    */\n    getRecordKeywords() {\n      return (0, _runtime.A)();\n    },\n    /**\n      Returns the values of filters defined by `getFilters`.\n       @public\n      @method getRecordFilterValues\n      @param {Object} record The record instance.\n      @return {Object} The filter values.\n    */\n    getRecordFilterValues() {\n      return {};\n    },\n    /**\n      Each record can have a color that represents its state.\n       @public\n      @method getRecordColor\n      @param {Object} record The record instance\n      @return {String} The records color.\n        Possible options: black, red, blue, green.\n    */\n    getRecordColor() {\n      return null;\n    }\n  });\n});","define(\"@ember/-internals/glimmer/index\", [\"exports\", \"@ember/polyfills\", \"@glimmer/opcode-compiler\", \"@ember/-internals/metal\", \"@ember/debug\", \"@ember/deprecated-features\", \"@ember/string\", \"@glimmer/reference\", \"@glimmer/validator\", \"@ember/-internals/views\", \"@glimmer/destroyable\", \"@glimmer/manager\", \"@ember/-internals/utils\", \"@ember/instrumentation\", \"@ember/runloop\", \"@glimmer/util\", \"@ember/-internals/owner\", \"@glimmer/runtime\", \"@ember/-internals/runtime\", \"@ember/-internals/browser-environment\", \"@ember/engine\", \"@ember/service\", \"@ember/object\", \"@ember/-internals/environment\", \"@ember/-internals/container\", \"@glimmer/node\", \"@ember/-internals/glimmer\", \"@glimmer/global-context\", \"@ember/-internals/routing\", \"@ember/error\", \"@glimmer/program\", \"rsvp\"], function (_exports, _polyfills, _opcodeCompiler, _metal, _debug, _deprecatedFeatures, _string, _reference, _validator, _views, _destroyable, _manager2, _utils, _instrumentation, _runloop, _util, _owner2, _runtime, _runtime2, _browserEnvironment, _engine, _service, _object, _environment2, _container, _node, _glimmer, _globalContext, _routing2, _error, _program, _rsvp) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.Component = _exports.Checkbox = void 0;\n  Object.defineProperty(_exports, \"DOMChanges\", {\n    enumerable: true,\n    get: function () {\n      return _runtime.DOMChanges;\n    }\n  });\n  Object.defineProperty(_exports, \"DOMTreeConstruction\", {\n    enumerable: true,\n    get: function () {\n      return _runtime.DOMTreeConstruction;\n    }\n  });\n  _exports.LinkComponent = _exports.Input = _exports.INVOKE = _exports.Helper = void 0;\n  Object.defineProperty(_exports, \"NodeDOMTreeConstruction\", {\n    enumerable: true,\n    get: function () {\n      return _node.NodeDOMTreeConstruction;\n    }\n  });\n  _exports.Textarea = _exports.TextField = _exports.TextArea = _exports.SafeString = _exports.RootTemplate = _exports.Renderer = _exports.OutletView = void 0;\n  _exports._resetRenderers = _resetRenderers;\n  _exports.componentCapabilities = void 0;\n  _exports.escapeExpression = escapeExpression;\n  _exports.getTemplate = getTemplate;\n  _exports.getTemplates = getTemplates;\n  _exports.hasTemplate = hasTemplate;\n  _exports.helper = helper;\n  _exports.htmlSafe = htmlSafe;\n  _exports.isHTMLSafe = isHTMLSafe$1;\n  Object.defineProperty(_exports, \"isSerializationFirstNode\", {\n    enumerable: true,\n    get: function () {\n      return _runtime.isSerializationFirstNode;\n    }\n  });\n  _exports.modifierCapabilities = void 0;\n  _exports.renderSettled = renderSettled;\n  _exports.setComponentManager = setComponentManager$1;\n  _exports.setTemplate = setTemplate;\n  _exports.setTemplates = setTemplates;\n  _exports.setupApplicationRegistry = setupApplicationRegistry;\n  _exports.setupEngineRegistry = setupEngineRegistry;\n  Object.defineProperty(_exports, \"template\", {\n    enumerable: true,\n    get: function () {\n      return _opcodeCompiler.templateFactory;\n    }\n  });\n  Object.defineProperty(_exports, \"templateCacheCounters\", {\n    enumerable: true,\n    get: function () {\n      return _opcodeCompiler.templateCacheCounters;\n    }\n  });\n  var RootTemplate = _exports.RootTemplate = (0, _opcodeCompiler.templateFactory)({\n    \"id\": \"9BtKrod8\",\n    \"block\": \"[[[46,[30,0],null,null,null]],[],false,[\\\"component\\\"]]\",\n    \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/root.hbs\",\n    \"isStrictMode\": false\n  });\n  function isTemplateFactory(template) {\n    return typeof template === 'function';\n  }\n\n  /**\n  @module @ember/template\n  */\n  class SafeString {\n    constructor(string) {\n      this.string = string;\n    }\n    toString() {\n      return `${this.string}`;\n    }\n    toHTML() {\n      return this.toString();\n    }\n  }\n  _exports.SafeString = SafeString;\n  var escape = {\n    '&': '&amp;',\n    '<': '&lt;',\n    '>': '&gt;',\n    '\"': '&quot;',\n    \"'\": '&#x27;',\n    '`': '&#x60;',\n    '=': '&#x3D;'\n  };\n  var possible = /[&<>\"'`=]/;\n  var badChars = /[&<>\"'`=]/g;\n  function escapeChar(chr) {\n    return escape[chr];\n  }\n  function escapeExpression(string) {\n    if (typeof string !== 'string') {\n      // don't escape SafeStrings, since they're already safe\n      if (string && string.toHTML) {\n        return string.toHTML();\n      } else if (string === null || string === undefined) {\n        return '';\n      } else if (!string) {\n        return String(string);\n      } // Force a string conversion as this will be done by the append regardless and\n      // the regex test will do this transparently behind the scenes, causing issues if\n      // an object's to string has escaped characters in it.\n\n      string = String(string);\n    }\n    if (!possible.test(string)) {\n      return string;\n    }\n    return string.replace(badChars, escapeChar);\n  }\n  /**\n    Mark a string as safe for unescaped output with Ember templates. If you\n    return HTML from a helper, use this function to\n    ensure Ember's rendering layer does not escape the HTML.\n  \n    ```javascript\n    import { htmlSafe } from '@ember/template';\n  \n    htmlSafe('<div>someString</div>')\n    ```\n  \n    @method htmlSafe\n    @for @ember/template\n    @static\n    @return {SafeString} A string that will not be HTML escaped by Handlebars.\n    @public\n  */\n\n  function htmlSafe(str) {\n    if (str === null || str === undefined) {\n      str = '';\n    } else if (typeof str !== 'string') {\n      str = String(str);\n    }\n    return new SafeString(str);\n  }\n  /**\n    Detects if a string was decorated using `htmlSafe`.\n  \n    ```javascript\n    import { htmlSafe, isHTMLSafe } from '@ember/template';\n  \n    var plainString = 'plain string',\n        safeString = htmlSafe('<div>someValue</div>');\n  \n    isHTMLSafe(plainString); // false\n    isHTMLSafe(safeString);  // true\n    ```\n  \n    @method isHTMLSafe\n    @for @ember/template\n    @static\n    @return {Boolean} `true` if the string was decorated with `htmlSafe`, `false` otherwise.\n    @public\n  */\n\n  function isHTMLSafe$1(str) {\n    return str !== null && typeof str === 'object' && typeof str.toHTML === 'function';\n  }\n  function referenceForParts(rootRef, parts) {\n    var isAttrs = parts[0] === 'attrs'; // TODO deprecate this\n\n    if (isAttrs) {\n      parts.shift();\n      if (parts.length === 1) {\n        return (0, _reference.childRefFor)(rootRef, parts[0]);\n      }\n    }\n    return (0, _reference.childRefFromParts)(rootRef, parts);\n  }\n  function parseAttributeBinding(microsyntax) {\n    var colonIndex = microsyntax.indexOf(':');\n    if (colonIndex === -1) {\n      (true && !(microsyntax !== 'class') && (0, _debug.assert)('You cannot use class as an attributeBinding, use classNameBindings instead.', microsyntax !== 'class'));\n      return [microsyntax, microsyntax, true];\n    } else {\n      var prop = microsyntax.substring(0, colonIndex);\n      var attribute = microsyntax.substring(colonIndex + 1);\n      (true && !(attribute !== 'class') && (0, _debug.assert)('You cannot use class as an attributeBinding, use classNameBindings instead.', attribute !== 'class'));\n      return [prop, attribute, false];\n    }\n  }\n  function installAttributeBinding(component, rootRef, parsed, operations) {\n    var [prop, attribute, isSimple] = parsed;\n    if (attribute === 'id') {\n      var elementId = (0, _metal.get)(component, prop);\n      if (elementId === undefined || elementId === null) {\n        elementId = component.elementId;\n      }\n      elementId = (0, _reference.createPrimitiveRef)(elementId);\n      operations.setAttribute('id', elementId, true, null);\n      return;\n    }\n    var isPath = prop.indexOf('.') > -1;\n    var reference = isPath ? referenceForParts(rootRef, prop.split('.')) : (0, _reference.childRefFor)(rootRef, prop);\n    (true && !(!(isSimple && isPath)) && (0, _debug.assert)(`Illegal attributeBinding: '${prop}' is not a valid attribute name.`, !(isSimple && isPath)));\n    if (_deprecatedFeatures.EMBER_COMPONENT_IS_VISIBLE && attribute === 'style' && createStyleBindingRef !== undefined) {\n      reference = createStyleBindingRef(reference, (0, _reference.childRefFor)(rootRef, 'isVisible'));\n    }\n    operations.setAttribute(attribute, reference, false, null);\n  }\n  var DISPLAY_NONE = 'display: none;';\n  var SAFE_DISPLAY_NONE = htmlSafe(DISPLAY_NONE);\n  var createStyleBindingRef;\n  var installIsVisibleBinding;\n  if (_deprecatedFeatures.EMBER_COMPONENT_IS_VISIBLE) {\n    createStyleBindingRef = (inner, isVisibleRef) => {\n      return (0, _reference.createComputeRef)(() => {\n        var value = (0, _reference.valueForRef)(inner);\n        var isVisible = (0, _reference.valueForRef)(isVisibleRef);\n        if (true /* DEBUG */ && isVisible !== undefined) {\n          (true && !(false) && (0, _debug.deprecate)(`The \\`isVisible\\` property on classic component classes is deprecated. Was accessed:\\n\\n${(0, _validator.logTrackingStack)()}`, false, {\n            id: 'ember-component.is-visible',\n            until: '4.0.0',\n            url: 'https://deprecations.emberjs.com/v3.x#toc_ember-component-is-visible',\n            for: 'ember-source',\n            since: {\n              enabled: '3.15.0-beta.1'\n            }\n          }));\n        }\n        if (isVisible !== false) {\n          return value;\n        } else if (!value) {\n          return SAFE_DISPLAY_NONE;\n        } else {\n          var style = value + ' ' + DISPLAY_NONE;\n          return isHTMLSafe$1(value) ? htmlSafe(style) : style;\n        }\n      });\n    };\n    installIsVisibleBinding = (rootRef, operations) => {\n      operations.setAttribute('style', createStyleBindingRef(_reference.UNDEFINED_REFERENCE, (0, _reference.childRefFor)(rootRef, 'isVisible')), false, null);\n    };\n  }\n  function createClassNameBindingRef(rootRef, microsyntax, operations) {\n    var [prop, truthy, falsy] = microsyntax.split(':');\n    var isStatic = prop === '';\n    if (isStatic) {\n      operations.setAttribute('class', (0, _reference.createPrimitiveRef)(truthy), true, null);\n    } else {\n      var isPath = prop.indexOf('.') > -1;\n      var parts = isPath ? prop.split('.') : [];\n      var value = isPath ? referenceForParts(rootRef, parts) : (0, _reference.childRefFor)(rootRef, prop);\n      var ref;\n      if (truthy === undefined) {\n        ref = createSimpleClassNameBindingRef(value, isPath ? parts[parts.length - 1] : prop);\n      } else {\n        ref = createColonClassNameBindingRef(value, truthy, falsy);\n      }\n      operations.setAttribute('class', ref, false, null);\n    }\n  }\n  function createSimpleClassNameBindingRef(inner, path) {\n    var dasherizedPath;\n    return (0, _reference.createComputeRef)(() => {\n      var value = (0, _reference.valueForRef)(inner);\n      if (value === true) {\n        (true && !(path !== undefined) && (0, _debug.assert)('You must pass a path when binding a to a class name using classNameBindings', path !== undefined));\n        return dasherizedPath || (dasherizedPath = (0, _string.dasherize)(path));\n      } else if (value || value === 0) {\n        return String(value);\n      } else {\n        return null;\n      }\n    });\n  }\n  function createColonClassNameBindingRef(inner, truthy, falsy) {\n    return (0, _reference.createComputeRef)(() => {\n      return (0, _reference.valueForRef)(inner) ? truthy : falsy;\n    });\n  }\n  function NOOP() {}\n  /**\n    @module ember\n  */\n\n  /**\n    Represents the internal state of the component.\n  \n    @class ComponentStateBucket\n    @private\n  */\n\n  class ComponentStateBucket {\n    constructor(component, args, argsTag, finalizer, hasWrappedElement, isInteractive) {\n      this.component = component;\n      this.args = args;\n      this.argsTag = argsTag;\n      this.finalizer = finalizer;\n      this.hasWrappedElement = hasWrappedElement;\n      this.isInteractive = isInteractive;\n      this.classRef = null;\n      this.classRef = null;\n      this.argsRevision = args === null ? 0 : (0, _validator.valueForTag)(argsTag);\n      this.rootRef = (0, _reference.createConstRef)(component, 'this');\n      (0, _destroyable.registerDestructor)(this, () => this.willDestroy(), true);\n      (0, _destroyable.registerDestructor)(this, () => this.component.destroy());\n    }\n    willDestroy() {\n      var {\n        component,\n        isInteractive\n      } = this;\n      if (isInteractive) {\n        (0, _validator.beginUntrackFrame)();\n        component.trigger('willDestroyElement');\n        component.trigger('willClearRender');\n        (0, _validator.endUntrackFrame)();\n        var element = (0, _views.getViewElement)(component);\n        if (element) {\n          (0, _views.clearElementView)(element);\n          (0, _views.clearViewElement)(component);\n        }\n      }\n      component.renderer.unregister(component);\n    }\n    finalize() {\n      var {\n        finalizer\n      } = this;\n      finalizer();\n      this.finalizer = NOOP;\n    }\n  }\n  function internalHelper(helper) {\n    return (0, _manager2.setInternalHelperManager)(helper, {});\n  }\n\n  /**\n  @module ember\n  */\n  var ACTIONS = new _util._WeakSet();\n  var INVOKE = _exports.INVOKE = (0, _utils.symbol)('INVOKE');\n  /**\n    The `{{action}}` helper provides a way to pass triggers for behavior (usually\n    just a function) between components, and into components from controllers.\n  \n    ### Passing functions with the action helper\n  \n    There are three contexts an action helper can be used in. The first two\n    contexts to discuss are attribute context, and Handlebars value context.\n  \n    ```handlebars\n    {{! An example of attribute context }}\n    <div onclick={{action \"save\"}}></div>\n    {{! Examples of Handlebars value context }}\n    {{input on-input=(action \"save\")}}\n    {{yield (action \"refreshData\") andAnotherParam}}\n    ```\n  \n    In these contexts,\n    the helper is called a \"closure action\" helper. Its behavior is simple:\n    If passed a function name, read that function off the `actions` property\n    of the current context. Once that function is read, or immediately if a function was\n    passed, create a closure over that function and any arguments.\n    The resulting value of an action helper used this way is simply a function.\n  \n    For example, in the attribute context:\n  \n    ```handlebars\n    {{! An example of attribute context }}\n    <div onclick={{action \"save\"}}></div>\n    ```\n  \n    The resulting template render logic would be:\n  \n    ```js\n    var div = document.createElement('div');\n    var actionFunction = (function(context){\n      return function() {\n        return context.actions.save.apply(context, arguments);\n      };\n    })(context);\n    div.onclick = actionFunction;\n    ```\n  \n    Thus when the div is clicked, the action on that context is called.\n    Because the `actionFunction` is just a function, closure actions can be\n    passed between components and still execute in the correct context.\n  \n    Here is an example action handler on a component:\n  \n    ```app/components/my-component.js\n    import Component from '@glimmer/component';\n    import { action } from '@ember/object';\n  \n    export default class extends Component {\n      @action\n      save() {\n        this.model.save();\n      }\n    }\n    ```\n  \n    Actions are always looked up on the `actions` property of the current context.\n    This avoids collisions in the naming of common actions, such as `destroy`.\n    Two options can be passed to the `action` helper when it is used in this way.\n  \n    * `target=someProperty` will look to `someProperty` instead of the current\n      context for the `actions` hash. This can be useful when targeting a\n      service for actions.\n    * `value=\"target.value\"` will read the path `target.value` off the first\n      argument to the action when it is called and rewrite the first argument\n      to be that value. This is useful when attaching actions to event listeners.\n  \n    ### Invoking an action\n  \n    Closure actions curry both their scope and any arguments. When invoked, any\n    additional arguments are added to the already curried list.\n    Actions should be invoked using the [sendAction](/ember/release/classes/Component/methods/sendAction?anchor=sendAction)\n    method. The first argument to `sendAction` is the action to be called, and\n    additional arguments are passed to the action function. This has interesting\n    properties combined with currying of arguments. For example:\n  \n    ```app/components/update-name.js\n    import Component from '@glimmer/component';\n    import { action } from '@ember/object';\n  \n    export default class extends Component {\n      @action\n      setName(model, name) {\n        model.set('name', name);\n      }\n    }\n    ```\n  \n    ```app/components/update-name.hbs\n    {{input on-input=(action (action 'setName' @model) value=\"target.value\")}}\n    ```\n  \n    The first argument (`@model`) was curried over, and the run-time argument (`event`)\n    becomes a second argument. Action calls can be nested this way because each simply\n    returns a function. Any function can be passed to the `{{action}}` helper, including\n    other actions.\n  \n    Actions invoked with `sendAction` have the same currying behavior as demonstrated\n    with `on-input` above. For example:\n  \n    ```app/components/my-input.js\n    import Component from '@glimmer/component';\n    import { action } from '@ember/object';\n  \n    export default class extends Component {\n      @action\n      setName(model, name) {\n        model.set('name', name);\n      }\n    }\n    ```\n  \n    ```handlebars\n    <MyInput @submit={{action 'setName' @model}} />\n    ```\n  \n    or\n  \n    ```handlebars\n    {{my-input submit=(action 'setName' @model)}}\n    ```\n  \n    ```app/components/my-component.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      click() {\n        // Note that model is not passed, it was curried in the template\n        this.sendAction('submit', 'bob');\n      }\n    });\n    ```\n  \n    ### Attaching actions to DOM elements\n  \n    The third context of the `{{action}}` helper can be called \"element space\".\n    For example:\n  \n    ```handlebars\n    {{! An example of element space }}\n    <div {{action \"save\"}}></div>\n    ```\n  \n    Used this way, the `{{action}}` helper provides a useful shortcut for\n    registering an HTML element in a template for a single DOM event and\n    forwarding that interaction to the template's context (controller or component).\n    If the context of a template is a controller, actions used this way will\n    bubble to routes when the controller does not implement the specified action.\n    Once an action hits a route, it will bubble through the route hierarchy.\n  \n    ### Event Propagation\n  \n    `{{action}}` helpers called in element space can control event bubbling. Note\n    that the closure style actions cannot.\n  \n    Events triggered through the action helper will automatically have\n    `.preventDefault()` called on them. You do not need to do so in your event\n    handlers. If you need to allow event propagation (to handle file inputs for\n    example) you can supply the `preventDefault=false` option to the `{{action}}` helper:\n  \n    ```handlebars\n    <div {{action \"sayHello\" preventDefault=false}}>\n      <input type=\"file\" />\n      <input type=\"checkbox\" />\n    </div>\n    ```\n  \n    To disable bubbling, pass `bubbles=false` to the helper:\n  \n    ```handlebars\n    <button {{action 'edit' post bubbles=false}}>Edit</button>\n    ```\n  \n    To disable bubbling with closure style actions you must create your own\n    wrapper helper that makes use of `event.stopPropagation()`:\n  \n    ```handlebars\n    <div onclick={{disable-bubbling (action \"sayHello\")}}>Hello</div>\n    ```\n  \n    ```app/helpers/disable-bubbling.js\n    import { helper } from '@ember/component/helper';\n  \n    export function disableBubbling([action]) {\n      return function(event) {\n        event.stopPropagation();\n        return action(event);\n      };\n    }\n    export default helper(disableBubbling);\n    ```\n  \n    If you need the default handler to trigger you should either register your\n    own event handler, or use event methods on your view class. See\n    [\"Responding to Browser Events\"](/ember/release/classes/Component)\n    in the documentation for `Component` for more information.\n  \n    ### Specifying DOM event type\n  \n    `{{action}}` helpers called in element space can specify an event type.\n    By default the `{{action}}` helper registers for DOM `click` events. You can\n    supply an `on` option to the helper to specify a different DOM event name:\n  \n    ```handlebars\n    <div {{action \"anActionName\" on=\"doubleClick\"}}>\n      click me\n    </div>\n    ```\n  \n    See [\"Event Names\"](/ember/release/classes/Component) for a list of\n    acceptable DOM event names.\n  \n    ### Specifying whitelisted modifier keys\n  \n    `{{action}}` helpers called in element space can specify modifier keys.\n    By default the `{{action}}` helper will ignore click events with pressed modifier\n    keys. You can supply an `allowedKeys` option to specify which keys should not be ignored.\n  \n    ```handlebars\n    <div {{action \"anActionName\" allowedKeys=\"alt\"}}>\n      click me\n    </div>\n    ```\n  \n    This way the action will fire when clicking with the alt key pressed down.\n    Alternatively, supply \"any\" to the `allowedKeys` option to accept any combination of modifier keys.\n  \n    ```handlebars\n    <div {{action \"anActionName\" allowedKeys=\"any\"}}>\n      click me with any key pressed\n    </div>\n    ```\n  \n    ### Specifying a Target\n  \n    A `target` option can be provided to the helper to change\n    which object will receive the method call. This option must be a path\n    to an object, accessible in the current context:\n  \n    ```app/templates/application.hbs\n    <div {{action \"anActionName\" target=someService}}>\n      click me\n    </div>\n    ```\n  \n    ```app/controllers/application.js\n    import Controller from '@ember/controller';\n    import { inject as service } from '@ember/service';\n  \n    export default class extends Controller {\n      @service someService;\n    }\n    ```\n  \n    @method action\n    @for Ember.Templates.helpers\n    @public\n  */\n\n  var action$1 = internalHelper(args => {\n    var {\n      named,\n      positional\n    } = args; // The first two argument slots are reserved.\n    // pos[0] is the context (or `this`)\n    // pos[1] is the action name or function\n    // Anything else is an action argument.\n\n    var [context, action$$1, ...restArgs] = positional;\n    var debugKey = action$$1.debugLabel;\n    var target = 'target' in named ? named.target : context;\n    var processArgs = makeArgsProcessor('value' in named && named.value, restArgs);\n    var fn$$1;\n    if ((0, _reference.isInvokableRef)(action$$1)) {\n      fn$$1 = makeClosureAction(action$$1, action$$1, invokeRef, processArgs, debugKey);\n    } else {\n      fn$$1 = makeDynamicClosureAction((0, _reference.valueForRef)(context), target, action$$1, processArgs, debugKey);\n    }\n    ACTIONS.add(fn$$1);\n    return (0, _reference.createUnboundRef)(fn$$1, '(result of an `action` helper)');\n  });\n  function NOOP$1(args) {\n    return args;\n  }\n  function makeArgsProcessor(valuePathRef, actionArgsRef) {\n    var mergeArgs;\n    if (actionArgsRef.length > 0) {\n      mergeArgs = args => {\n        return actionArgsRef.map(_reference.valueForRef).concat(args);\n      };\n    }\n    var readValue;\n    if (valuePathRef) {\n      readValue = args => {\n        var valuePath = (0, _reference.valueForRef)(valuePathRef);\n        if (valuePath && args.length > 0) {\n          args[0] = (0, _metal.get)(args[0], valuePath);\n        }\n        return args;\n      };\n    }\n    if (mergeArgs && readValue) {\n      return args => {\n        return readValue(mergeArgs(args));\n      };\n    } else {\n      return mergeArgs || readValue || NOOP$1;\n    }\n  }\n  function makeDynamicClosureAction(context, targetRef, actionRef, processArgs, debugKey) {\n    // We don't allow undefined/null values, so this creates a throw-away action to trigger the assertions\n    if (true /* DEBUG */) {\n      makeClosureAction(context, (0, _reference.valueForRef)(targetRef), (0, _reference.valueForRef)(actionRef), processArgs, debugKey);\n    }\n    return (...args) => {\n      return makeClosureAction(context, (0, _reference.valueForRef)(targetRef), (0, _reference.valueForRef)(actionRef), processArgs, debugKey)(...args);\n    };\n  }\n  function makeClosureAction(context, target, action$$1, processArgs, debugKey) {\n    var self;\n    var fn$$1;\n    (true && !(action$$1 !== undefined && action$$1 !== null) && (0, _debug.assert)(`Action passed is null or undefined in (action) from ${target}.`, action$$1 !== undefined && action$$1 !== null));\n    if (typeof action$$1[INVOKE] === 'function') {\n      (true && !(false) && (0, _debug.deprecate)(`Usage of the private INVOKE API to make an object callable via action or fn is no longer supported. Please update to pass in a callback function instead. Received: ${String(action$$1)}`, false, {\n        until: '3.25.0',\n        id: 'actions.custom-invoke-invokable',\n        for: 'ember-source',\n        since: {\n          enabled: '3.23.0-beta.1'\n        }\n      }));\n      self = action$$1;\n      fn$$1 = action$$1[INVOKE];\n    } else {\n      var typeofAction = typeof action$$1;\n      if (typeofAction === 'string') {\n        self = target;\n        fn$$1 = target.actions && target.actions[action$$1];\n        (true && !(Boolean(fn$$1)) && (0, _debug.assert)(`An action named '${action$$1}' was not found in ${target}`, Boolean(fn$$1)));\n      } else if (typeofAction === 'function') {\n        self = context;\n        fn$$1 = action$$1;\n      } else {\n        // tslint:disable-next-line:max-line-length\n        (true && !(false) && (0, _debug.assert)(`An action could not be made for \\`${debugKey || action$$1}\\` in ${target}. Please confirm that you are using either a quoted action name (i.e. \\`(action '${debugKey || 'myAction'}')\\`) or a function available in ${target}.`, false));\n      }\n    }\n    return (...args) => {\n      var payload = {\n        target: self,\n        args,\n        label: '@glimmer/closure-action'\n      };\n      return (0, _instrumentation.flaggedInstrument)('interaction.ember-action', payload, () => {\n        return (0, _runloop.join)(self, fn$$1, ...processArgs(args));\n      });\n    };\n  } // The code above:\n  // 1. Finds an action function, usually on the `actions` hash\n  // 2. Calls it with the target as the correct `this` context\n  // Previously, `UPDATE_REFERENCED_VALUE` was a method on the reference itself,\n  // so this made a bit more sense. Now, it isn't, and so we need to create a\n  // function that can have `this` bound to it when called. This allows us to use\n  // the same codepath to call `updateRef` on the reference.\n\n  function invokeRef(value) {\n    (0, _reference.updateRef)(this, value);\n  }\n\n  // inputs needed by CurlyComponents (attrs and props, with mutable\n  // cells, etc).\n\n  function processComponentArgs(namedArgs) {\n    var attrs = Object.create(null);\n    var props = Object.create(null);\n    props[ARGS] = namedArgs;\n    for (var name in namedArgs) {\n      var ref = namedArgs[name];\n      var value = (0, _reference.valueForRef)(ref);\n      var isAction = typeof value === 'function' && ACTIONS.has(value);\n      if ((0, _reference.isUpdatableRef)(ref) && !isAction) {\n        attrs[name] = new MutableCell(ref, value);\n      } else {\n        attrs[name] = value;\n      }\n      props[name] = value;\n    }\n    props.attrs = attrs;\n    return props;\n  }\n  var REF = (0, _utils.symbol)('REF');\n  class MutableCell {\n    constructor(ref, value) {\n      this[_views.MUTABLE_CELL] = true;\n      this[REF] = ref;\n      this.value = value;\n    }\n    update(val) {\n      (0, _reference.updateRef)(this[REF], val);\n    }\n  }\n  var __rest = undefined && undefined.__rest || function (s, e) {\n    var t = {};\n    for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n    if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n      if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n    }\n    return t;\n  };\n  var ARGS = (0, _utils.enumerableSymbol)('ARGS');\n  var HAS_BLOCK = (0, _utils.enumerableSymbol)('HAS_BLOCK');\n  var DIRTY_TAG = (0, _utils.symbol)('DIRTY_TAG');\n  var IS_DISPATCHING_ATTRS = (0, _utils.symbol)('IS_DISPATCHING_ATTRS');\n  var BOUNDS = (0, _utils.symbol)('BOUNDS');\n  var EMBER_VIEW_REF = (0, _reference.createPrimitiveRef)('ember-view');\n  function aliasIdToElementId(args, props) {\n    if (args.named.has('id')) {\n      // tslint:disable-next-line:max-line-length\n      (true && !(!args.named.has('elementId')) && (0, _debug.assert)(`You cannot invoke a component with both 'id' and 'elementId' at the same time.`, !args.named.has('elementId')));\n      props.elementId = props.id;\n    }\n  } // We must traverse the attributeBindings in reverse keeping track of\n  // what has already been applied. This is essentially refining the concatenated\n  // properties applying right to left.\n\n  function applyAttributeBindings(attributeBindings, component, rootRef, operations) {\n    var seen = [];\n    var i = attributeBindings.length - 1;\n    while (i !== -1) {\n      var binding = attributeBindings[i];\n      var parsed = parseAttributeBinding(binding);\n      var attribute = parsed[1];\n      if (seen.indexOf(attribute) === -1) {\n        seen.push(attribute);\n        installAttributeBinding(component, rootRef, parsed, operations);\n      }\n      i--;\n    }\n    if (seen.indexOf('id') === -1) {\n      var id = component.elementId ? component.elementId : (0, _utils.guidFor)(component);\n      operations.setAttribute('id', (0, _reference.createPrimitiveRef)(id), false, null);\n    }\n    if (_deprecatedFeatures.EMBER_COMPONENT_IS_VISIBLE && installIsVisibleBinding !== undefined && seen.indexOf('style') === -1) {\n      installIsVisibleBinding(rootRef, operations);\n    }\n  }\n  var EMPTY_POSITIONAL_ARGS = [];\n  (0, _debug.debugFreeze)(EMPTY_POSITIONAL_ARGS);\n  class CurlyComponentManager {\n    templateFor(component) {\n      var {\n        layout,\n        layoutName\n      } = component;\n      var owner = (0, _owner2.getOwner)(component);\n      var factory;\n      if (layout === undefined) {\n        if (layoutName !== undefined) {\n          var _factory = owner.lookup(`template:${layoutName}`);\n          (true && !(_factory !== undefined) && (0, _debug.assert)(`Layout \\`${layoutName}\\` not found!`, _factory !== undefined));\n          factory = _factory;\n        } else {\n          return null;\n        }\n      } else if (isTemplateFactory(layout)) {\n        factory = layout;\n      } else {\n        // no layout was found, use the default layout\n        return null;\n      }\n      return (0, _util.unwrapTemplate)(factory(owner)).asWrappedLayout();\n    }\n    getDynamicLayout(bucket) {\n      return this.templateFor(bucket.component);\n    }\n    getTagName(state) {\n      var {\n        component,\n        hasWrappedElement\n      } = state;\n      if (!hasWrappedElement) {\n        return null;\n      }\n      return component && component.tagName || 'div';\n    }\n    getCapabilities() {\n      return CURLY_CAPABILITIES;\n    }\n    prepareArgs(ComponentClass, args) {\n      var _a;\n      if (args.named.has('__ARGS__')) {\n        (true && !(args.positional.length === 0) && (0, _debug.assert)('[BUG] cannot pass both __ARGS__ and positional arguments', args.positional.length === 0));\n        var _b = args.named.capture(),\n          {\n            __ARGS__\n          } = _b,\n          rest = __rest(_b, [\"__ARGS__\"]); // does this need to be untracked?\n\n        var __args__ = (0, _reference.valueForRef)(__ARGS__);\n        var prepared = {\n          positional: __args__.positional,\n          named: (0, _polyfills.assign)((0, _polyfills.assign)({}, rest), __args__.named)\n        };\n        return prepared;\n      }\n      var {\n        positionalParams\n      } = (_a = ComponentClass.class) !== null && _a !== void 0 ? _a : ComponentClass; // early exits\n\n      if (positionalParams === undefined || positionalParams === null || args.positional.length === 0) {\n        return null;\n      }\n      var named;\n      if (typeof positionalParams === 'string') {\n        (true && !(!args.named.has(positionalParams)) && (0, _debug.assert)(`You cannot specify positional parameters and the hash argument \\`${positionalParams}\\`.`, !args.named.has(positionalParams)));\n        var captured = args.positional.capture();\n        named = {\n          [positionalParams]: (0, _reference.createComputeRef)(() => (0, _runtime.reifyPositional)(captured))\n        };\n        (0, _polyfills.assign)(named, args.named.capture());\n      } else if (Array.isArray(positionalParams) && positionalParams.length > 0) {\n        var count = Math.min(positionalParams.length, args.positional.length);\n        named = {};\n        (0, _polyfills.assign)(named, args.named.capture());\n        for (var i = 0; i < count; i++) {\n          // As of TS 3.7, tsc is giving us the following error on this line without the type annotation\n          //\n          //   TS7022: 'name' implicitly has type 'any' because it does not have a type annotation and is\n          //   referenced directly or indirectly in its own initializer.\n          //\n          // This is almost certainly a TypeScript bug, feel free to try and remove the annotation after\n          // upgrading if it is not needed anymore.\n          var name = positionalParams[i];\n          (true && !(!args.named.has(name)) && (0, _debug.assert)(`You cannot specify both a positional param (at position ${i}) and the hash argument \\`${name}\\`.`, !args.named.has(name)));\n          named[name] = args.positional.at(i);\n        }\n      } else {\n        return null;\n      }\n      return {\n        positional: _util.EMPTY_ARRAY,\n        named\n      };\n    }\n    /*\n     * This hook is responsible for actually instantiating the component instance.\n     * It also is where we perform additional bookkeeping to support legacy\n     * features like exposed by view mixins like ChildViewSupport, ActionSupport,\n     * etc.\n     */\n\n    create(owner, ComponentClass, args, {\n      isInteractive\n    }, dynamicScope, callerSelfRef, hasBlock) {\n      // Get the nearest concrete component instance from the scope. \"Virtual\"\n      // components will be skipped.\n      var parentView = dynamicScope.view; // Capture the arguments, which tells Glimmer to give us our own, stable\n      // copy of the Arguments object that is safe to hold on to between renders.\n\n      var capturedArgs = args.named.capture();\n      (0, _validator.beginTrackFrame)();\n      var props = processComponentArgs(capturedArgs);\n      var argsTag = (0, _validator.endTrackFrame)(); // Alias `id` argument to `elementId` property on the component instance.\n\n      aliasIdToElementId(args, props); // Set component instance's parentView property to point to nearest concrete\n      // component.\n\n      props.parentView = parentView; // Set whether this component was invoked with a block\n      // (`{{#my-component}}{{/my-component}}`) or without one\n      // (`{{my-component}}`).\n\n      props[HAS_BLOCK] = hasBlock; // Save the current `this` context of the template as the component's\n      // `_target`, so bubbled actions are routed to the right place.\n\n      props._target = (0, _reference.valueForRef)(callerSelfRef);\n      (0, _owner2.setOwner)(props, owner); // caller:\n      // <FaIcon @name=\"bug\" />\n      //\n      // callee:\n      // <i class=\"fa-{{@name}}\"></i>\n      // Now that we've built up all of the properties to set on the component instance,\n      // actually create it.\n\n      (0, _validator.beginUntrackFrame)();\n      var component = ComponentClass.create(props);\n      var finalizer = (0, _instrumentation._instrumentStart)('render.component', initialRenderInstrumentDetails, component); // We become the new parentView for downstream components, so save our\n      // component off on the dynamic scope.\n\n      dynamicScope.view = component; // Unless we're the root component, we need to add ourselves to our parent\n      // component's childViews array.\n\n      if (parentView !== null && parentView !== undefined) {\n        (0, _views.addChildView)(parentView, component);\n      }\n      component.trigger('didReceiveAttrs');\n      var hasWrappedElement = component.tagName !== ''; // We usually do this in the `didCreateElement`, but that hook doesn't fire for tagless components\n\n      if (!hasWrappedElement) {\n        if (isInteractive) {\n          component.trigger('willRender');\n        }\n        component._transitionTo('hasElement');\n        if (isInteractive) {\n          component.trigger('willInsertElement');\n        }\n      } // Track additional lifecycle metadata about this component in a state bucket.\n      // Essentially we're saving off all the state we'll need in the future.\n\n      var bucket = new ComponentStateBucket(component, capturedArgs, argsTag, finalizer, hasWrappedElement, isInteractive);\n      if (args.named.has('class')) {\n        bucket.classRef = args.named.get('class');\n      }\n      if (true /* DEBUG */) {\n        processComponentInitializationAssertions(component, props);\n      }\n      if (isInteractive && hasWrappedElement) {\n        component.trigger('willRender');\n      }\n      (0, _validator.endUntrackFrame)(); // consume every argument so we always run again\n\n      (0, _validator.consumeTag)(bucket.argsTag);\n      (0, _validator.consumeTag)(component[DIRTY_TAG]);\n      return bucket;\n    }\n    getDebugName(definition) {\n      var _a;\n      return definition.fullName || definition.normalizedName || ((_a = definition.class) === null || _a === void 0 ? void 0 : _a.name) || definition.name;\n    }\n    getSelf({\n      rootRef\n    }) {\n      return rootRef;\n    }\n    didCreateElement({\n      component,\n      classRef,\n      isInteractive,\n      rootRef\n    }, element, operations) {\n      (0, _views.setViewElement)(component, element);\n      (0, _views.setElementView)(element, component);\n      var {\n        attributeBindings,\n        classNames,\n        classNameBindings\n      } = component;\n      if (attributeBindings && attributeBindings.length) {\n        applyAttributeBindings(attributeBindings, component, rootRef, operations);\n      } else {\n        var id = component.elementId ? component.elementId : (0, _utils.guidFor)(component);\n        operations.setAttribute('id', (0, _reference.createPrimitiveRef)(id), false, null);\n        if (_deprecatedFeatures.EMBER_COMPONENT_IS_VISIBLE) {\n          installIsVisibleBinding(rootRef, operations);\n        }\n      }\n      if (classRef) {\n        var ref = createSimpleClassNameBindingRef(classRef);\n        operations.setAttribute('class', ref, false, null);\n      }\n      if (classNames && classNames.length) {\n        classNames.forEach(name => {\n          operations.setAttribute('class', (0, _reference.createPrimitiveRef)(name), false, null);\n        });\n      }\n      if (classNameBindings && classNameBindings.length) {\n        classNameBindings.forEach(binding => {\n          createClassNameBindingRef(rootRef, binding, operations);\n        });\n      }\n      operations.setAttribute('class', EMBER_VIEW_REF, false, null);\n      if ('ariaRole' in component) {\n        operations.setAttribute('role', (0, _reference.childRefFor)(rootRef, 'ariaRole'), false, null);\n      }\n      component._transitionTo('hasElement');\n      if (isInteractive) {\n        (0, _validator.beginUntrackFrame)();\n        component.trigger('willInsertElement');\n        (0, _validator.endUntrackFrame)();\n      }\n    }\n    didRenderLayout(bucket, bounds) {\n      bucket.component[BOUNDS] = bounds;\n      bucket.finalize();\n    }\n    didCreate({\n      component,\n      isInteractive\n    }) {\n      if (isInteractive) {\n        component._transitionTo('inDOM');\n        component.trigger('didInsertElement');\n        component.trigger('didRender');\n      }\n    }\n    update(bucket) {\n      var {\n        component,\n        args,\n        argsTag,\n        argsRevision,\n        isInteractive\n      } = bucket;\n      bucket.finalizer = (0, _instrumentation._instrumentStart)('render.component', rerenderInstrumentDetails, component);\n      (0, _validator.beginUntrackFrame)();\n      if (args !== null && !(0, _validator.validateTag)(argsTag, argsRevision)) {\n        (0, _validator.beginTrackFrame)();\n        var props = processComponentArgs(args);\n        argsTag = bucket.argsTag = (0, _validator.endTrackFrame)();\n        bucket.argsRevision = (0, _validator.valueForTag)(argsTag);\n        component[IS_DISPATCHING_ATTRS] = true;\n        component.setProperties(props);\n        component[IS_DISPATCHING_ATTRS] = false;\n        component.trigger('didUpdateAttrs');\n        component.trigger('didReceiveAttrs');\n      }\n      if (isInteractive) {\n        component.trigger('willUpdate');\n        component.trigger('willRender');\n      }\n      (0, _validator.endUntrackFrame)();\n      (0, _validator.consumeTag)(argsTag);\n      (0, _validator.consumeTag)(component[DIRTY_TAG]);\n    }\n    didUpdateLayout(bucket) {\n      bucket.finalize();\n    }\n    didUpdate({\n      component,\n      isInteractive\n    }) {\n      if (isInteractive) {\n        component.trigger('didUpdate');\n        component.trigger('didRender');\n      }\n    }\n    getDestroyable(bucket) {\n      return bucket;\n    }\n  }\n  function processComponentInitializationAssertions(component, props) {\n    (true && !((() => {\n      var {\n        classNameBindings\n      } = component;\n      for (var i = 0; i < classNameBindings.length; i++) {\n        var binding = classNameBindings[i];\n        if (typeof binding !== 'string' || binding.length === 0) {\n          return false;\n        }\n      }\n      return true;\n    })()) && (0, _debug.assert)(`classNameBindings must be non-empty strings: ${component}`, (() => {\n      var {\n        classNameBindings\n      } = component;\n      for (var i = 0; i < classNameBindings.length; i++) {\n        var binding = classNameBindings[i];\n        if (typeof binding !== 'string' || binding.length === 0) {\n          return false;\n        }\n      }\n      return true;\n    })()));\n    (true && !((() => {\n      var {\n        classNameBindings\n      } = component;\n      for (var i = 0; i < classNameBindings.length; i++) {\n        var binding = classNameBindings[i];\n        if (binding.split(' ').length > 1) {\n          return false;\n        }\n      }\n      return true;\n    })()) && (0, _debug.assert)(`classNameBindings must not have spaces in them: ${component}`, (() => {\n      var {\n        classNameBindings\n      } = component;\n      for (var i = 0; i < classNameBindings.length; i++) {\n        var binding = classNameBindings[i];\n        if (binding.split(' ').length > 1) {\n          return false;\n        }\n      }\n      return true;\n    })()));\n    (true && !(component.tagName !== '' || !component.classNameBindings || component.classNameBindings.length === 0) && (0, _debug.assert)(`You cannot use \\`classNameBindings\\` on a tag-less component: ${component}`, component.tagName !== '' || !component.classNameBindings || component.classNameBindings.length === 0));\n    (true && !(component.tagName !== '' || props.id === component.elementId || !component.elementId && component.elementId !== '') && (0, _debug.assert)(`You cannot use \\`elementId\\` on a tag-less component: ${component}`, component.tagName !== '' || props.id === component.elementId || !component.elementId && component.elementId !== ''));\n    (true && !(component.tagName !== '' || !component.attributeBindings || component.attributeBindings.length === 0) && (0, _debug.assert)(`You cannot use \\`attributeBindings\\` on a tag-less component: ${component}`, component.tagName !== '' || !component.attributeBindings || component.attributeBindings.length === 0));\n  }\n  function initialRenderInstrumentDetails(component) {\n    return component.instrumentDetails({\n      initialRender: true\n    });\n  }\n  function rerenderInstrumentDetails(component) {\n    return component.instrumentDetails({\n      initialRender: false\n    });\n  }\n  var CURLY_CAPABILITIES = {\n    dynamicLayout: true,\n    dynamicTag: true,\n    prepareArgs: true,\n    createArgs: true,\n    attributeHook: true,\n    elementHook: true,\n    createCaller: true,\n    dynamicScope: true,\n    updateHook: true,\n    createInstance: true,\n    wrapped: true,\n    willDestroy: true,\n    hasSubOwner: false\n  };\n  var CURLY_COMPONENT_MANAGER = new CurlyComponentManager();\n  function isCurlyManager(manager) {\n    return manager === CURLY_COMPONENT_MANAGER;\n  }\n\n  /**\n  @module @ember/component\n  */\n\n  /**\n    A component is a reusable UI element that consists of a `.hbs` template and an\n    optional JavaScript class that defines its behavior. For example, someone\n    might make a `button` in the template and handle the click behavior in the\n    JavaScript file that shares the same name as the template.\n  \n    Components are broken down into two categories:\n  \n    - Components _without_ JavaScript, that are based only on a template. These\n      are called Template-only or TO components.\n    - Components _with_ JavaScript, which consist of a template and a backing\n      class.\n  \n    Ember ships with two types of JavaScript classes for components:\n  \n    1. Glimmer components, imported from `@glimmer/component`, which are the\n       default component's for Ember Octane (3.15) and more recent editions.\n    2. Classic components, imported from `@ember/component`, which were the\n       default for older editions of Ember (pre 3.15).\n  \n    Below is the documentation for Classic components. If you are looking for the\n    API documentation for Template-only or Glimmer components, it is\n    [available here](/ember/release/modules/@glimmer%2Fcomponent).\n  \n    ## Defining a Classic Component\n  \n    If you want to customize the component in order to handle events, transform\n    arguments or maintain internal state, you implement a subclass of `Component`.\n  \n    One example is to add computed properties to your component:\n  \n    ```app/components/person-profile.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      displayName: computed('person.title', 'person.firstName', 'person.lastName', function() {\n        let { title, firstName, lastName } = this.person;\n  \n        if (title) {\n          return `${title} ${lastName}`;\n        } else {\n          return `${firstName} ${lastName}`;\n        }\n      })\n    });\n    ```\n  \n    And then use it in the component's template:\n  \n    ```app/templates/components/person-profile.hbs\n    <h1>{{this.displayName}}</h1>\n    {{yield}}\n    ```\n  \n    ## Customizing a Classic Component's HTML Element in JavaScript\n  \n    ### HTML Tag\n  \n    The default HTML tag name used for a component's HTML representation is `div`.\n    This can be customized by setting the `tagName` property.\n  \n    Consider the following component class:\n  \n    ```app/components/emphasized-paragraph.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      tagName: 'em'\n    });\n    ```\n  \n    When invoked, this component would produce output that looks something like\n    this:\n  \n    ```html\n    <em id=\"ember1\" class=\"ember-view\"></em>\n    ```\n  \n    ### HTML `class` Attribute\n  \n    The HTML `class` attribute of a component's tag can be set by providing a\n    `classNames` property that is set to an array of strings:\n  \n    ```app/components/my-widget.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      classNames: ['my-class', 'my-other-class']\n    });\n    ```\n  \n    Invoking this component will produce output that looks like this:\n  \n    ```html\n    <div id=\"ember1\" class=\"ember-view my-class my-other-class\"></div>\n    ```\n  \n    `class` attribute values can also be set by providing a `classNameBindings`\n    property set to an array of properties names for the component. The return\n    value of these properties will be added as part of the value for the\n    components's `class` attribute. These properties can be computed properties:\n  \n    ```app/components/my-widget.js\n    import Component from '@ember/component';\n    import { computed } from '@ember/object';\n  \n    export default Component.extend({\n      classNames: ['my-class', 'my-other-class'],\n      classNameBindings: ['propertyA', 'propertyB'],\n  \n      propertyA: 'from-a',\n      propertyB: computed(function() {\n        if (someLogic) { return 'from-b'; }\n      })\n    });\n    ```\n  \n    Invoking this component will produce HTML that looks like:\n  \n    ```html\n    <div id=\"ember1\" class=\"ember-view my-class my-other-class from-a from-b\"></div>\n    ```\n  \n    Note that `classNames` and `classNameBindings` is in addition to the `class`\n    attribute passed with the angle bracket invocation syntax. Therefore, if this\n    component was invoked like so:\n  \n    ```handlebars\n    <MyWidget class=\"from-invocation\" />\n    ```\n  \n    The resulting HTML will look similar to this:\n  \n    ```html\n    <div id=\"ember1\" class=\"from-invocation ember-view my-class my-other-class from-a from-b\"></div>\n    ```\n  \n    If the value of a class name binding returns a boolean the property name\n    itself will be used as the class name if the property is true. The class name\n    will not be added if the value is `false` or `undefined`.\n  \n    ```app/components/my-widget.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      classNameBindings: ['hovered'],\n  \n      hovered: true\n    });\n    ```\n  \n    Invoking this component will produce HTML that looks like:\n  \n    ```html\n    <div id=\"ember1\" class=\"ember-view hovered\"></div>\n    ```\n  \n    ### Custom Class Names for Boolean Values\n  \n    When using boolean class name bindings you can supply a string value other\n    than the property name for use as the `class` HTML attribute by appending the\n    preferred value after a \":\" character when defining the binding:\n  \n    ```app/components/my-widget.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      classNameBindings: ['awesome:so-very-cool'],\n  \n      awesome: true\n    });\n    ```\n  \n    Invoking this component will produce HTML that looks like:\n  \n    ```html\n    <div id=\"ember1\" class=\"ember-view so-very-cool\"></div>\n    ```\n  \n    Boolean value class name bindings whose property names are in a\n    camelCase-style format will be converted to a dasherized format:\n  \n    ```app/components/my-widget.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      classNameBindings: ['isUrgent'],\n  \n      isUrgent: true\n    });\n    ```\n  \n    Invoking this component will produce HTML that looks like:\n  \n    ```html\n    <div id=\"ember1\" class=\"ember-view is-urgent\"></div>\n    ```\n  \n    Class name bindings can also refer to object values that are found by\n    traversing a path relative to the component itself:\n  \n    ```app/components/my-widget.js\n    import Component from '@ember/component';\n    import EmberObject from '@ember/object';\n  \n    export default Component.extend({\n      classNameBindings: ['messages.empty'],\n  \n      messages: EmberObject.create({\n        empty: true\n      })\n    });\n    ```\n  \n    Invoking this component will produce HTML that looks like:\n  \n    ```html\n    <div id=\"ember1\" class=\"ember-view empty\"></div>\n    ```\n  \n    If you want to add a class name for a property which evaluates to true and\n    and a different class name if it evaluates to false, you can pass a binding\n    like this:\n  \n    ```app/components/my-widget.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      classNameBindings: ['isEnabled:enabled:disabled'],\n      isEnabled: true\n    });\n    ```\n  \n    Invoking this component will produce HTML that looks like:\n  \n    ```html\n    <div id=\"ember1\" class=\"ember-view enabled\"></div>\n    ```\n  \n    When isEnabled is `false`, the resulting HTML representation looks like this:\n  \n    ```html\n    <div id=\"ember1\" class=\"ember-view disabled\"></div>\n    ```\n  \n    This syntax offers the convenience to add a class if a property is `false`:\n  \n    ```app/components/my-widget.js\n    import Component from '@ember/component';\n  \n    // Applies no class when isEnabled is true and class 'disabled' when isEnabled is false\n    export default Component.extend({\n      classNameBindings: ['isEnabled::disabled'],\n      isEnabled: true\n    });\n    ```\n  \n    Invoking this component when the `isEnabled` property is true will produce\n    HTML that looks like:\n  \n    ```html\n    <div id=\"ember1\" class=\"ember-view\"></div>\n    ```\n  \n    Invoking it when the `isEnabled` property on the component is `false` will\n    produce HTML that looks like:\n  \n    ```html\n    <div id=\"ember1\" class=\"ember-view disabled\"></div>\n    ```\n  \n    Updates to the value of a class name binding will result in automatic update\n    of the  HTML `class` attribute in the component's rendered HTML\n    representation. If the value becomes `false` or `undefined` the class name\n    will be removed.\n  \n    Both `classNames` and `classNameBindings` are concatenated properties. See\n    [EmberObject](/ember/release/classes/EmberObject) documentation for more\n    information about concatenated properties.\n  \n    ### Other HTML Attributes\n  \n    The HTML attribute section of a component's tag can be set by providing an\n    `attributeBindings` property set to an array of property names on the component.\n    The return value of these properties will be used as the value of the component's\n    HTML associated attribute:\n  \n    ```app/components/my-anchor.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      tagName: 'a',\n      attributeBindings: ['href'],\n  \n      href: 'http://google.com'\n    });\n    ```\n  \n    Invoking this component will produce HTML that looks like:\n  \n    ```html\n    <a id=\"ember1\" class=\"ember-view\" href=\"http://google.com\"></a>\n    ```\n  \n    One property can be mapped on to another by placing a \":\" between\n    the source property and the destination property:\n  \n    ```app/components/my-anchor.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      tagName: 'a',\n      attributeBindings: ['url:href'],\n  \n      url: 'http://google.com'\n    });\n    ```\n  \n    Invoking this component will produce HTML that looks like:\n  \n    ```html\n    <a id=\"ember1\" class=\"ember-view\" href=\"http://google.com\"></a>\n    ```\n  \n    HTML attributes passed with angle bracket invocations will take precedence\n    over those specified in `attributeBindings`. Therefore, if this component was\n    invoked like so:\n  \n    ```handlebars\n    <MyAnchor href=\"http://bing.com\" @url=\"http://google.com\" />\n    ```\n  \n    The resulting HTML will looks like this:\n  \n    ```html\n    <a id=\"ember1\" class=\"ember-view\" href=\"http://bing.com\"></a>\n    ```\n  \n    Note that the `href` attribute is ultimately set to `http://bing.com`,\n    despite it having attribute binidng to the `url` property, which was\n    set to `http://google.com`.\n  \n    Namespaced attributes (e.g. `xlink:href`) are supported, but have to be\n    mapped, since `:` is not a valid character for properties in Javascript:\n  \n    ```app/components/my-use.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      tagName: 'use',\n      attributeBindings: ['xlinkHref:xlink:href'],\n  \n      xlinkHref: '#triangle'\n    });\n    ```\n  \n    Invoking this component will produce HTML that looks like:\n  \n    ```html\n    <use xlink:href=\"#triangle\"></use>\n    ```\n  \n    If the value of a property monitored by `attributeBindings` is a boolean, the\n    attribute will be present or absent depending on the value:\n  \n    ```app/components/my-text-input.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      tagName: 'input',\n      attributeBindings: ['disabled'],\n  \n      disabled: false\n    });\n    ```\n  \n    Invoking this component will produce HTML that looks like:\n  \n    ```html\n    <input id=\"ember1\" class=\"ember-view\" />\n    ```\n  \n    `attributeBindings` can refer to computed properties:\n  \n    ```app/components/my-text-input.js\n    import Component from '@ember/component';\n    import { computed } from '@ember/object';\n  \n    export default Component.extend({\n      tagName: 'input',\n      attributeBindings: ['disabled'],\n  \n      disabled: computed(function() {\n        if (someLogic) {\n          return true;\n        } else {\n          return false;\n        }\n      })\n    });\n    ```\n  \n    To prevent setting an attribute altogether, use `null` or `undefined` as the\n    value of the property used in `attributeBindings`:\n  \n    ```app/components/my-text-input.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      tagName: 'form',\n      attributeBindings: ['novalidate'],\n      novalidate: null\n    });\n    ```\n  \n    Updates to the property of an attribute binding will result in automatic\n    update of the  HTML attribute in the component's HTML output.\n  \n    `attributeBindings` is a concatenated property. See\n    [EmberObject](/ember/release/classes/EmberObject) documentation for more\n    information about concatenated properties.\n  \n    ## Layouts\n  \n    The `layout` property can be used to dynamically specify a template associated\n    with a component class, instead of relying on Ember to link together a\n    component class and a template based on file names.\n  \n    In general, applications should not use this feature, but it's commonly used\n    in addons for historical reasons.\n  \n    The `layout` property should be set to the default export of a template\n    module, which is the name of a template file without the `.hbs` extension.\n  \n    ```app/templates/components/person-profile.hbs\n    <h1>Person's Title</h1>\n    <div class='details'>{{yield}}</div>\n    ```\n  \n    ```app/components/person-profile.js\n      import Component from '@ember/component';\n      import layout from '../templates/components/person-profile';\n  \n      export default Component.extend({\n        layout\n      });\n    ```\n  \n    If you invoke the component:\n  \n    ```handlebars\n    <PersonProfile>\n      <h2>Chief Basket Weaver</h2>\n      <h3>Fisherman Industries</h3>\n    </PersonProfile>\n    ```\n  \n    or\n  \n    ```handlebars\n    {{#person-profile}}\n      <h2>Chief Basket Weaver</h2>\n      <h3>Fisherman Industries</h3>\n    {{/person-profile}}\n    ```\n  \n    It will result in the following HTML output:\n  \n    ```html\n    <h1>Person's Title</h1>\n      <div class=\"details\">\n      <h2>Chief Basket Weaver</h2>\n      <h3>Fisherman Industries</h3>\n    </div>\n    ```\n  \n    ## Handling Browser Events\n  \n    Components can respond to user-initiated events in one of three ways: passing\n    actions with angle bracket invocation, adding event handler methods to the\n    component's class, or adding actions to the component's template.\n  \n    ### Passing Actions With Angle Bracket Invocation\n  \n    For one-off events specific to particular instance of a component, it is possible\n    to pass actions to the component's element using angle bracket invocation syntax.\n  \n    ```handlebars\n    <MyWidget {{action 'firstWidgetClicked'}} />\n  \n    <MyWidget {{action 'secondWidgetClicked'}} />\n    ```\n  \n    In this case, when the first component is clicked on, Ember will invoke the\n    `firstWidgetClicked` action. When the second component is clicked on, Ember\n    will invoke the `secondWidgetClicked` action instead.\n  \n    Besides `{{action}}`, it is also possible to pass any arbitrary element modifiers\n    using the angle bracket invocation syntax.\n  \n    ### Event Handler Methods\n  \n    Components can also respond to user-initiated events by implementing a method\n    that matches the event name. This approach is appropriate when the same event\n    should be handled by all instances of the same component.\n  \n    An event object will be passed as the argument to the event handler method.\n  \n    ```app/components/my-widget.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      click(event) {\n        // `event.target` is either the component's element or one of its children\n        let tag = event.target.tagName.toLowerCase();\n        console.log('clicked on a `<${tag}>` HTML element!');\n      }\n    });\n    ```\n  \n    In this example, whenever the user clicked anywhere inside the component, it\n    will log a message to the console.\n  \n    It is possible to handle event types other than `click` by implementing the\n    following event handler methods. In addition, custom events can be registered\n    by using `Application.customEvents`.\n  \n    Touch events:\n  \n    * `touchStart`\n    * `touchMove`\n    * `touchEnd`\n    * `touchCancel`\n  \n    Keyboard events:\n  \n    * `keyDown`\n    * `keyUp`\n    * `keyPress`\n  \n    Mouse events:\n  \n    * `mouseDown`\n    * `mouseUp`\n    * `contextMenu`\n    * `click`\n    * `doubleClick`\n    * `focusIn`\n    * `focusOut`\n  \n    Form events:\n  \n    * `submit`\n    * `change`\n    * `focusIn`\n    * `focusOut`\n    * `input`\n  \n    Drag and drop events:\n  \n    * `dragStart`\n    * `drag`\n    * `dragEnter`\n    * `dragLeave`\n    * `dragOver`\n    * `dragEnd`\n    * `drop`\n  \n    ### `{{action}}` Helper\n  \n    Instead of handling all events of a particular type anywhere inside the\n    component's element, you may instead want to limit it to a particular\n    element in the component's template. In this case, it would be more\n    convenient to implement an action instead.\n  \n    For example, you could implement the action `hello` for the `person-profile`\n    component:\n  \n    ```app/components/person-profile.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      actions: {\n        hello(name) {\n          console.log(\"Hello\", name);\n        }\n      }\n    });\n    ```\n  \n    And then use it in the component's template:\n  \n    ```app/templates/components/person-profile.hbs\n    <h1>{{@person.name}}</h1>\n  \n    <button {{action 'hello' @person.name}}>\n      Say Hello to {{@person.name}}\n    </button>\n    ```\n  \n    When the user clicks the button, Ember will invoke the `hello` action,\n    passing in the current value of `@person.name` as an argument.\n  \n    See [Ember.Templates.helpers.action](/ember/release/classes/Ember.Templates.helpers/methods/action?anchor=action).\n  \n    @class Component\n    @extends Ember.CoreView\n    @uses Ember.TargetActionSupport\n    @uses Ember.ClassNamesSupport\n    @uses Ember.ActionSupport\n    @uses Ember.ViewMixin\n    @uses Ember.ViewStateSupport\n    @public\n  */\n\n  var Component = _exports.Component = _views.CoreView.extend(_views.ChildViewsSupport, _views.ViewStateSupport, _views.ClassNamesSupport, _runtime2.TargetActionSupport, _views.ActionSupport, _views.ViewMixin, {\n    isComponent: true,\n    init() {\n      this._super(...arguments);\n      this[IS_DISPATCHING_ATTRS] = false;\n      this[DIRTY_TAG] = (0, _validator.createTag)();\n      this[BOUNDS] = null;\n      if (true /* DEBUG */ && this.renderer._isInteractive && this.tagName === '') {\n        var eventNames = [];\n        var eventDispatcher = (0, _owner2.getOwner)(this).lookup('event_dispatcher:main');\n        var events = eventDispatcher && eventDispatcher._finalEvents || {}; // tslint:disable-next-line:forin\n\n        for (var key in events) {\n          var methodName = events[key];\n          if (typeof this[methodName] === 'function') {\n            eventNames.push(methodName);\n          }\n        } // If in a tagless component, assert that no event handlers are defined\n        (true && !(!eventNames.length) && (0, _debug.assert)(\n        // tslint:disable-next-line:max-line-length\n        `You can not define \\`${eventNames}\\` function(s) to handle DOM event in the \\`${this}\\` tagless component since it doesn't have any DOM element.`, !eventNames.length));\n      }\n      (true && !(this.mouseEnter === undefined) && (0, _debug.deprecate)(`${this}: Using \\`mouseEnter\\` event handler methods in components has been deprecated.`, this.mouseEnter === undefined, {\n        id: 'ember-views.event-dispatcher.mouseenter-leave-move',\n        until: '4.0.0',\n        url: 'https://deprecations.emberjs.com/v3.x#toc_component-mouseenter-leave-move',\n        for: 'ember-source',\n        since: {\n          enabled: '3.13.0-beta.1'\n        }\n      }));\n      (true && !(this.mouseLeave === undefined) && (0, _debug.deprecate)(`${this}: Using \\`mouseLeave\\` event handler methods in components has been deprecated.`, this.mouseLeave === undefined, {\n        id: 'ember-views.event-dispatcher.mouseenter-leave-move',\n        until: '4.0.0',\n        url: 'https://deprecations.emberjs.com/v3.x#toc_component-mouseenter-leave-move',\n        for: 'ember-source',\n        since: {\n          enabled: '3.13.0-beta.1'\n        }\n      }));\n      (true && !(this.mouseMove === undefined) && (0, _debug.deprecate)(`${this}: Using \\`mouseMove\\` event handler methods in components has been deprecated.`, this.mouseMove === undefined, {\n        id: 'ember-views.event-dispatcher.mouseenter-leave-move',\n        until: '4.0.0',\n        url: 'https://deprecations.emberjs.com/v3.x#toc_component-mouseenter-leave-move',\n        for: 'ember-source',\n        since: {\n          enabled: '3.13.0-beta.1'\n        }\n      }));\n    },\n    rerender() {\n      (0, _validator.dirtyTag)(this[DIRTY_TAG]);\n      this._super();\n    },\n    [_metal.PROPERTY_DID_CHANGE](key, value) {\n      if (this[IS_DISPATCHING_ATTRS]) {\n        return;\n      }\n      var args = this[ARGS];\n      var reference = args !== undefined ? args[key] : undefined;\n      if (reference !== undefined && (0, _reference.isUpdatableRef)(reference)) {\n        (0, _reference.updateRef)(reference, arguments.length === 2 ? value : (0, _metal.get)(this, key));\n      }\n    },\n    getAttr(key) {\n      // TODO Intimate API should be deprecated\n      return this.get(key);\n    },\n    /**\n      Normally, Ember's component model is \"write-only\". The component takes a\n      bunch of attributes that it got passed in, and uses them to render its\n      template.\n       One nice thing about this model is that if you try to set a value to the\n      same thing as last time, Ember (through HTMLBars) will avoid doing any\n      work on the DOM.\n       This is not just a performance optimization. If an attribute has not\n      changed, it is important not to clobber the element's \"hidden state\".\n      For example, if you set an input's `value` to the same value as before,\n      it will clobber selection state and cursor position. In other words,\n      setting an attribute is not **always** idempotent.\n       This method provides a way to read an element's attribute and also\n      update the last value Ember knows about at the same time. This makes\n      setting an attribute idempotent.\n       In particular, what this means is that if you get an `<input>` element's\n      `value` attribute and then re-render the template with the same value,\n      it will avoid clobbering the cursor and selection position.\n      Since most attribute sets are idempotent in the browser, you typically\n      can get away with reading attributes using jQuery, but the most reliable\n      way to do so is through this method.\n      @method readDOMAttr\n       @param {String} name the name of the attribute\n      @return String\n      @public\n     */\n    readDOMAttr(name) {\n      // TODO revisit this\n      var _element = (0, _views.getViewElement)(this);\n      (true && !(_element !== null) && (0, _debug.assert)(`Cannot call \\`readDOMAttr\\` on ${this} which does not have an element`, _element !== null));\n      var element = _element;\n      var isSVG = element.namespaceURI === \"http://www.w3.org/2000/svg\"\n      /* SVG */;\n      var {\n        type,\n        normalized\n      } = (0, _runtime.normalizeProperty)(element, name);\n      if (isSVG || type === 'attr') {\n        return element.getAttribute(normalized);\n      }\n      return element[normalized];\n    },\n    /**\n     The WAI-ARIA role of the control represented by this view. For example, a\n     button may have a role of type 'button', or a pane may have a role of\n     type 'alertdialog'. This property is used by assistive software to help\n     visually challenged users navigate rich web applications.\n      The full list of valid WAI-ARIA roles is available at:\n     [https://www.w3.org/TR/wai-aria/#roles_categorization](https://www.w3.org/TR/wai-aria/#roles_categorization)\n      @property ariaRole\n     @type String\n     @default null\n     @public\n     */\n\n    /**\n     Enables components to take a list of parameters as arguments.\n     For example, a component that takes two parameters with the names\n     `name` and `age`:\n      ```app/components/my-component.js\n     import Component from '@ember/component';\n      let MyComponent = Component.extend();\n      MyComponent.reopenClass({\n       positionalParams: ['name', 'age']\n     });\n      export default MyComponent;\n     ```\n      It can then be invoked like this:\n      ```hbs\n     {{my-component \"John\" 38}}\n     ```\n      The parameters can be referred to just like named parameters:\n      ```hbs\n     Name: {{name}}, Age: {{age}}.\n     ```\n      Using a string instead of an array allows for an arbitrary number of\n     parameters:\n      ```app/components/my-component.js\n     import Component from '@ember/component';\n      let MyComponent = Component.extend();\n      MyComponent.reopenClass({\n       positionalParams: 'names'\n     });\n      export default MyComponent;\n     ```\n      It can then be invoked like this:\n      ```hbs\n     {{my-component \"John\" \"Michael\" \"Scott\"}}\n     ```\n     The parameters can then be referred to by enumerating over the list:\n      ```hbs\n     {{#each names as |name|}}{{name}}{{/each}}\n     ```\n      @static\n     @public\n     @property positionalParams\n     @since 1.13.0\n     */\n\n    /**\n     Called when the attributes passed into the component have been updated.\n     Called both during the initial render of a container and during a rerender.\n     Can be used in place of an observer; code placed here will be executed\n     every time any attribute updates.\n     @method didReceiveAttrs\n     @public\n     @since 1.13.0\n     */\n    didReceiveAttrs() {},\n    /**\n     Called when the attributes passed into the component have been updated.\n     Called both during the initial render of a container and during a rerender.\n     Can be used in place of an observer; code placed here will be executed\n     every time any attribute updates.\n     @event didReceiveAttrs\n     @public\n     @since 1.13.0\n     */\n\n    /**\n     Called after a component has been rendered, both on initial render and\n     in subsequent rerenders.\n     @method didRender\n     @public\n     @since 1.13.0\n     */\n    didRender() {},\n    /**\n     Called after a component has been rendered, both on initial render and\n     in subsequent rerenders.\n     @event didRender\n     @public\n     @since 1.13.0\n     */\n\n    /**\n     Called before a component has been rendered, both on initial render and\n     in subsequent rerenders.\n     @method willRender\n     @public\n     @since 1.13.0\n     */\n    willRender() {},\n    /**\n     Called before a component has been rendered, both on initial render and\n     in subsequent rerenders.\n     @event willRender\n     @public\n     @since 1.13.0\n     */\n\n    /**\n     Called when the attributes passed into the component have been changed.\n     Called only during a rerender, not during an initial render.\n     @method didUpdateAttrs\n     @public\n     @since 1.13.0\n     */\n    didUpdateAttrs() {},\n    /**\n     Called when the attributes passed into the component have been changed.\n     Called only during a rerender, not during an initial render.\n     @event didUpdateAttrs\n     @public\n     @since 1.13.0\n     */\n\n    /**\n     Called when the component is about to update and rerender itself.\n     Called only during a rerender, not during an initial render.\n     @method willUpdate\n     @public\n     @since 1.13.0\n     */\n    willUpdate() {},\n    /**\n     Called when the component is about to update and rerender itself.\n     Called only during a rerender, not during an initial render.\n     @event willUpdate\n     @public\n     @since 1.13.0\n     */\n\n    /**\n     Called when the component has updated and rerendered itself.\n     Called only during a rerender, not during an initial render.\n     @method didUpdate\n     @public\n     @since 1.13.0\n     */\n    didUpdate() {}\n  });\n  Component.toString = () => '@ember/component';\n  Component.reopenClass({\n    isComponentFactory: true,\n    positionalParams: []\n  });\n  (0, _manager2.setInternalComponentManager)(CURLY_COMPONENT_MANAGER, Component);\n  {\n    Object.defineProperty(Component, '_wasReopened', {\n      configurable: true,\n      enumerable: false,\n      writable: true,\n      value: false\n    });\n    Object.defineProperty(Component, 'reopen', {\n      configurable: true,\n      enumerable: false,\n      writable: true,\n      value: function reopen(...args) {\n        if (this === Component) {\n          (true && !(false) && (0, _debug.deprecate)('Reopening the Ember.Component super class itself is deprecated. ' + 'Consider alternatives such as installing event listeners on ' + 'the document or add the customizations to specific subclasses.', false, {\n            id: 'ember.component.reopen',\n            for: 'ember-source',\n            since: {},\n            until: '4.0.0'\n          }));\n          Component._wasReopened = true;\n        }\n        return _runtime2.CoreObject.reopen.call(this, ...args);\n      }\n    });\n    Object.defineProperty(Component, 'reopenClass', {\n      configurable: true,\n      enumerable: false,\n      writable: true,\n      value: function reopenClass(...args) {\n        if (this === Component) {\n          (true && !(false) && (0, _debug.deprecate)('Reopening the Ember.Component super class itself is deprecated. ' + 'Consider alternatives such as installing event listeners on ' + 'the document or add the customizations to specific subclasses.', false, {\n            id: 'ember.component.reopen',\n            for: 'ember-source',\n            since: {},\n            until: '4.0.0'\n          }));\n          Component._wasReopened = true;\n        }\n        return _runtime2.CoreObject.reopenClass.call(this, ...args);\n      }\n    });\n  }\n  var layout = (0, _opcodeCompiler.templateFactory)({\n    \"id\": \"14evwHqT\",\n    \"block\": \"[[],[],false,[]]\",\n    \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/empty.hbs\",\n    \"isStrictMode\": false\n  });\n\n  /**\n  @module @ember/component\n  */\n\n  /**\n    The internal class used to create text inputs when the `{{input}}`\n    helper is used with `type` of `checkbox`.\n  \n    See [Ember.Templates.helpers.input](/ember/release/classes/Ember.Templates.helpers/methods/input?anchor=input)  for usage details.\n  \n    ## Direct manipulation of `checked`\n  \n    The `checked` attribute of an `Checkbox` object should always be set\n    through the Ember object or by interacting with its rendered element\n    representation via the mouse, keyboard, or touch. Updating the value of the\n    checkbox via jQuery will result in the checked value of the object and its\n    element losing synchronization.\n  \n    ## Layout and LayoutName properties\n  \n    Because HTML `input` elements are self closing `layout` and `layoutName`\n    properties will not be applied.\n  \n    @class Checkbox\n    @extends Component\n    @public\n  */\n\n  var Checkbox = _exports.Checkbox = Component.extend({\n    layout,\n    /**\n      By default, this component will add the `ember-checkbox` class to the component's element.\n         @property classNames\n      @type Array | String\n      @default ['ember-checkbox']\n      @public\n     */\n    classNames: ['ember-checkbox'],\n    tagName: 'input',\n    /**\n      By default this component will forward a number of arguments to attributes on the the\n      component's element:\n         * indeterminate\n      * disabled\n      * tabindex\n      * name\n      * autofocus\n      * required\n      * form\n         When invoked with curly braces, this is the exhaustive list of HTML attributes you can\n      customize (i.e. `{{input type=\"checkbox\" disabled=true}}`).\n         When invoked with angle bracket invocation, this list is irrelevant, because you can use HTML\n      attribute syntax to customize the element (i.e.\n      `<Input @type=\"checkbox\" disabled data-custom=\"custom value\" />`). However, `@type` and\n      `@checked` must be passed as named arguments, not attributes.\n         @property attributeBindings\n      @type Array | String\n      @default ['type', 'checked', 'indeterminate', 'disabled', 'tabindex', 'name', 'autofocus', 'required', 'form']\n      @public\n    */\n    attributeBindings: ['type', 'checked', 'indeterminate', 'disabled', 'tabindex', 'name', 'autofocus', 'required', 'form'],\n    /**\n      Sets the `type` attribute of the `Checkbox`'s element\n         @property disabled\n      @default false\n      @private\n     */\n    type: 'checkbox',\n    /**\n      Sets the `disabled` attribute of the `Checkbox`'s element\n         @property disabled\n      @default false\n      @public\n     */\n    disabled: false,\n    /**\n      Corresponds to the `indeterminate` property of the `Checkbox`'s element\n         @property disabled\n      @default false\n      @public\n     */\n    indeterminate: false,\n    /**\n      Whenever the checkbox is inserted into the DOM, perform initialization steps, which include\n      setting the indeterminate property if needed.\n         If this method is overridden, `super` must be called.\n         @method\n      @public\n     */\n    didInsertElement() {\n      this._super(...arguments);\n      this.element.indeterminate = Boolean(this.indeterminate);\n    },\n    /**\n      Whenever the `change` event is fired on the checkbox, update its `checked` property to reflect\n      whether the checkbox is checked.\n         If this method is overridden, `super` must be called.\n         @method\n      @public\n     */\n    change() {\n      (0, _metal.set)(this, 'checked', this.element.checked);\n    }\n  });\n  if (true /* DEBUG */) {\n    var UNSET = {};\n    Checkbox.reopen({\n      value: UNSET,\n      didReceiveAttrs() {\n        this._super();\n        (true && !(!(this.type === 'checkbox' && this.value !== UNSET)) && (0, _debug.assert)(\"`<Input @type='checkbox' @value={{...}} />` is not supported; \" + \"please use `<Input @type='checkbox' @checked={{...}} />` instead.\", !(this.type === 'checkbox' && this.value !== UNSET)));\n      }\n    });\n  }\n  Checkbox.toString = () => '@ember/component/checkbox';\n  {\n    Object.defineProperty(Checkbox, '_wasReopened', {\n      configurable: true,\n      enumerable: false,\n      writable: true,\n      value: false\n    });\n    Object.defineProperty(Checkbox, 'reopen', {\n      configurable: true,\n      enumerable: false,\n      writable: true,\n      value: function reopen(...args) {\n        if (this === Checkbox) {\n          (true && !(false) && (0, _debug.deprecate)('Reopening Ember.Checkbox is deprecated. Consider implementing your own ' + 'wrapper component or create a custom subclass.', false, {\n            id: 'ember.built-in-components.reopen',\n            for: 'ember-source',\n            since: {\n              enabled: '3.27.0'\n            },\n            until: '4.0.0',\n            url: 'https://deprecations.emberjs.com/v3.x#toc_ember-built-in-components-reopen'\n          }));\n          Checkbox._wasReopened = true;\n        }\n        return _runtime2.FrameworkObject.reopen.call(this, ...args);\n      }\n    });\n    Object.defineProperty(Checkbox, 'reopenClass', {\n      configurable: true,\n      enumerable: false,\n      writable: true,\n      value: function reopenClass(...args) {\n        if (this === Checkbox) {\n          (true && !(false) && (0, _debug.deprecate)('Reopening Ember.Checkbox is deprecated. Consider implementing your own ' + 'wrapper component or create a custom subclass.', false, {\n            id: 'ember.built-in-components.reopen',\n            for: 'ember-source',\n            since: {\n              enabled: '3.27.0'\n            },\n            until: '4.0.0',\n            url: 'https://deprecations.emberjs.com/v3.x#toc_ember-built-in-components-reopen'\n          }));\n          Checkbox._wasReopened = true;\n        }\n        return _runtime2.FrameworkObject.reopenClass.call(this, ...args);\n      }\n    });\n  }\n\n  /**\n  @module @ember/component\n  */\n  var inputTypes = _browserEnvironment.hasDOM ? Object.create(null) : null;\n  function canSetTypeOfInput(type) {\n    // if running in outside of a browser always return\n    // the original type\n    if (!_browserEnvironment.hasDOM) {\n      return Boolean(type);\n    }\n    if (type in inputTypes) {\n      return inputTypes[type];\n    }\n    var inputTypeTestElement = document.createElement('input');\n    try {\n      inputTypeTestElement.type = type;\n    } catch (e) {// ignored\n    }\n    return inputTypes[type] = inputTypeTestElement.type === type;\n  }\n  /**\n    The internal class used to create text inputs when the `Input` component is used with `type` of `text`.\n  \n    See [Ember.Templates.components.Input](/ember/release/classes/Ember.Templates.components/methods/Input?anchor=Input) for usage details.\n  \n    ## Layout and LayoutName properties\n  \n    Because HTML `input` elements are self closing `layout` and `layoutName`\n    properties will not be applied.\n  \n    @class TextField\n    @extends Component\n    @uses Ember.TextSupport\n    @public\n  */\n\n  var TextField = _exports.TextField = Component.extend(_views.TextSupport, {\n    layout,\n    /**\n      By default, this component will add the `ember-text-field` class to the component's element.\n         @property classNames\n      @type Array | String\n      @default ['ember-text-field']\n      @public\n     */\n    classNames: ['ember-text-field'],\n    tagName: 'input',\n    /**\n      By default this component will forward a number of arguments to attributes on the the\n      component's element:\n         * accept\n      * autocomplete\n      * autosave\n      * dir\n      * formaction\n      * formenctype\n      * formmethod\n      * formnovalidate\n      * formtarget\n      * height\n      * inputmode\n      * lang\n      * list\n      * type\n      * max\n      * min\n      * multiple\n      * name\n      * pattern\n      * size\n      * step\n      * value\n      * width\n         When invoked with `{{input type=\"text\"}}`, you can only customize these attributes. When invoked\n      with `<Input @type=\"text\" />`, you can just use HTML attributes directly.\n         @property attributeBindings\n      @type Array | String\n      @default ['accept', 'autocomplete', 'autosave', 'dir', 'formaction', 'formenctype', 'formmethod', 'formnovalidate', 'formtarget', 'height', 'inputmode', 'lang', 'list', 'type', 'max', 'min', 'multiple', 'name', 'pattern', 'size', 'step', 'value', 'width']\n      @public\n    */\n    attributeBindings: ['accept', 'autocomplete', 'autosave', 'dir', 'formaction', 'formenctype', 'formmethod', 'formnovalidate', 'formtarget', 'height', 'inputmode', 'lang', 'list', 'type', 'max', 'min', 'multiple', 'name', 'pattern', 'size', 'step', 'value', 'width'],\n    /**\n      As the user inputs text, this property is updated to reflect the `value` property of the HTML\n      element.\n         @property value\n      @type String\n      @default \"\"\n      @public\n    */\n    value: '',\n    /**\n      The `type` attribute of the input element.\n         @property type\n      @type String\n      @default \"text\"\n      @public\n    */\n    type: (0, _metal.computed)({\n      get() {\n        return 'text';\n      },\n      set(_key, value) {\n        var type = 'text';\n        if (canSetTypeOfInput(value)) {\n          type = value;\n        }\n        return type;\n      }\n    }),\n    /**\n      The `size` of the text field in characters.\n         @property size\n      @type String\n      @default null\n      @public\n    */\n    size: null,\n    /**\n      The `pattern` attribute of input element.\n         @property pattern\n      @type String\n      @default null\n      @public\n    */\n    pattern: null,\n    /**\n      The `min` attribute of input element used with `type=\"number\"` or `type=\"range\"`.\n         @property min\n      @type String\n      @default null\n      @since 1.4.0\n      @public\n    */\n    min: null,\n    /**\n      The `max` attribute of input element used with `type=\"number\"` or `type=\"range\"`.\n         @property max\n      @type String\n      @default null\n      @since 1.4.0\n      @public\n    */\n    max: null\n  });\n  TextField.toString = () => '@ember/component/text-field';\n  {\n    Object.defineProperty(TextField, '_wasReopened', {\n      configurable: true,\n      enumerable: false,\n      writable: true,\n      value: false\n    });\n    Object.defineProperty(TextField, 'reopen', {\n      configurable: true,\n      enumerable: false,\n      writable: true,\n      value: function reopen(...args) {\n        if (this === TextField) {\n          (true && !(false) && (0, _debug.deprecate)('Reopening Ember.TextField is deprecated. Consider implementing your own ' + 'wrapper component or create a custom subclass.', false, {\n            id: 'ember.built-in-components.reopen',\n            for: 'ember-source',\n            since: {\n              enabled: '3.27.0'\n            },\n            until: '4.0.0',\n            url: 'https://deprecations.emberjs.com/v3.x#toc_ember-built-in-components-reopen'\n          }));\n          TextField._wasReopened = true;\n        }\n        return _runtime2.CoreObject.reopen.call(this, ...args);\n      }\n    });\n    Object.defineProperty(TextField, 'reopenClass', {\n      configurable: true,\n      enumerable: false,\n      writable: true,\n      value: function reopenClass(...args) {\n        if (this === TextField) {\n          (true && !(false) && (0, _debug.deprecate)('Reopening Ember.TextField is deprecated. Consider implementing your own ' + 'wrapper component or create a custom subclass.', false, {\n            id: 'ember.built-in-components.reopen',\n            for: 'ember-source',\n            since: {\n              enabled: '3.27.0'\n            },\n            until: '4.0.0',\n            url: 'https://deprecations.emberjs.com/v3.x#toc_ember-built-in-components-reopen'\n          }));\n          TextField._wasReopened = true;\n        }\n        return _runtime2.CoreObject.reopenClass.call(this, ...args);\n      }\n    });\n  }\n\n  /**\n  @module @ember/component\n  */\n  /**\n    The internal representation used for `Textarea` invocations.\n  \n    @class TextArea\n    @extends Component\n    @see {Ember.Templates.components.Textarea}\n    @uses Ember.TextSupport\n    @public\n  */\n\n  var TextArea = _exports.TextArea = Component.extend(_views.TextSupport, {\n    classNames: ['ember-text-area'],\n    layout,\n    tagName: 'textarea',\n    attributeBindings: ['rows', 'cols', 'name', 'selectionEnd', 'selectionStart', 'autocomplete', 'wrap', 'lang', 'dir', 'value'],\n    rows: null,\n    cols: null\n  });\n  TextArea.toString = () => '@ember/component/text-area';\n  {\n    Object.defineProperty(TextArea, '_wasReopened', {\n      configurable: true,\n      enumerable: false,\n      writable: true,\n      value: false\n    });\n    Object.defineProperty(TextArea, 'reopen', {\n      configurable: true,\n      enumerable: false,\n      writable: true,\n      value: function reopen(...args) {\n        if (this === TextArea) {\n          (true && !(false) && (0, _debug.deprecate)('Reopening Ember.TextArea is deprecated. Consider implementing your own ' + 'wrapper component or create a custom subclass.', false, {\n            id: 'ember.built-in-components.reopen',\n            for: 'ember-source',\n            since: {\n              enabled: '3.27.0'\n            },\n            until: '4.0.0',\n            url: 'https://deprecations.emberjs.com/v3.x#toc_ember-built-in-components-reopen'\n          }));\n          TextArea._wasReopened = true;\n        }\n        return _runtime2.CoreObject.reopen.call(this, ...args);\n      }\n    });\n    Object.defineProperty(TextArea, 'reopenClass', {\n      configurable: true,\n      enumerable: false,\n      writable: true,\n      value: function reopenClass(...args) {\n        if (this === TextArea) {\n          (true && !(false) && (0, _debug.deprecate)('Reopening Ember.TextArea is deprecated. Consider implementing your own ' + 'wrapper component or create a custom subclass.', false, {\n            id: 'ember.built-in-components.reopen',\n            for: 'ember-source',\n            since: {\n              enabled: '3.27.0'\n            },\n            until: '4.0.0',\n            url: 'https://deprecations.emberjs.com/v3.x#toc_ember-built-in-components-reopen'\n          }));\n          TextArea._wasReopened = true;\n        }\n        return _runtime2.CoreObject.reopenClass.call(this, ...args);\n      }\n    });\n  }\n  var layout$1 = (0, _opcodeCompiler.templateFactory)({\n    \"id\": \"zyblzQRj\",\n    \"block\": \"[[[41,[48,[30,1]],[[[18,1,null]],[]],[[[1,[30,0,[\\\"linkTitle\\\"]]]],[]]]],[\\\"&default\\\"],false,[\\\"if\\\",\\\"has-block\\\",\\\"yield\\\"]]\",\n    \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/-link-to.hbs\",\n    \"isStrictMode\": false\n  });\n\n  /**\n  @module ember\n  */\n  /**\n    The `LinkTo` component renders a link to the supplied `routeName` passing an optionally\n    supplied model to the route as its `model` context of the route. The block for `LinkTo`\n    becomes the contents of the rendered element:\n  \n    ```handlebars\n    <LinkTo @route='photoGallery'>\n      Great Hamster Photos\n    </LinkTo>\n    ```\n  \n    This will result in:\n  \n    ```html\n    <a href=\"/hamster-photos\">\n      Great Hamster Photos\n    </a>\n    ```\n  \n    ### Disabling the `LinkTo` component\n  \n    The `LinkTo` component can be disabled by using the `disabled` argument. A disabled link\n    doesn't result in a transition when activated, and adds the `disabled` class to the `<a>`\n    element.\n  \n    (The class name to apply to the element can be overridden by using the `disabledClass`\n    argument)\n  \n    ```handlebars\n    <LinkTo @route='photoGallery' @disabled={{true}}>\n      Great Hamster Photos\n    </LinkTo>\n    ```\n  \n    ### Handling `href`\n  \n    `<LinkTo>` will use your application's Router to fill the element's `href` property with a URL\n    that matches the path to the supplied `routeName`.\n  \n    ### Handling current route\n  \n    The `LinkTo` component will apply a CSS class name of 'active' when the application's current\n    route matches the supplied routeName. For example, if the application's current route is\n    'photoGallery.recent', then the following invocation of `LinkTo`:\n  \n    ```handlebars\n    <LinkTo @route='photoGallery.recent'>\n      Great Hamster Photos\n    </LinkTo>\n    ```\n  \n    will result in\n  \n    ```html\n    <a href=\"/hamster-photos/this-week\" class=\"active\">\n      Great Hamster Photos\n    </a>\n    ```\n  \n    The CSS class used for active classes can be customized by passing an `activeClass` argument:\n  \n    ```handlebars\n    <LinkTo @route='photoGallery.recent' @activeClass=\"current-url\">\n      Great Hamster Photos\n    </LinkTo>\n    ```\n  \n    ```html\n    <a href=\"/hamster-photos/this-week\" class=\"current-url\">\n      Great Hamster Photos\n    </a>\n    ```\n  \n    ### Keeping a link active for other routes\n  \n    If you need a link to be 'active' even when it doesn't match the current route, you can use the\n    `current-when` argument.\n  \n    ```handlebars\n    <LinkTo @route='photoGallery' @current-when='photos'>\n      Photo Gallery\n    </LinkTo>\n    ```\n  \n    This may be helpful for keeping links active for:\n  \n    * non-nested routes that are logically related\n    * some secondary menu approaches\n    * 'top navigation' with 'sub navigation' scenarios\n  \n    A link will be active if `current-when` is `true` or the current\n    route is the route this link would transition to.\n  \n    To match multiple routes 'space-separate' the routes:\n  \n    ```handlebars\n    <LinkTo @route='gallery' @current-when='photos drawings paintings'>\n      Art Gallery\n    </LinkTo>\n    ```\n  \n    ### Supplying a model\n  \n    An optional `model` argument can be used for routes whose\n    paths contain dynamic segments. This argument will become\n    the model context of the linked route:\n  \n    ```javascript\n    Router.map(function() {\n      this.route(\"photoGallery\", {path: \"hamster-photos/:photo_id\"});\n    });\n    ```\n  \n    ```handlebars\n    <LinkTo @route='photoGallery' @model={{this.aPhoto}}>\n      {{aPhoto.title}}\n    </LinkTo>\n    ```\n  \n    ```html\n    <a href=\"/hamster-photos/42\">\n      Tomster\n    </a>\n    ```\n  \n    ### Supplying multiple models\n  \n    For deep-linking to route paths that contain multiple\n    dynamic segments, the `models` argument can be used.\n  \n    As the router transitions through the route path, each\n    supplied model argument will become the context for the\n    route with the dynamic segments:\n  \n    ```javascript\n    Router.map(function() {\n      this.route(\"photoGallery\", { path: \"hamster-photos/:photo_id\" }, function() {\n        this.route(\"comment\", {path: \"comments/:comment_id\"});\n      });\n    });\n    ```\n  \n    This argument will become the model context of the linked route:\n  \n    ```handlebars\n    <LinkTo @route='photoGallery.comment' @models={{array this.aPhoto this.comment}}>\n      {{comment.body}}\n    </LinkTo>\n    ```\n  \n    ```html\n    <a href=\"/hamster-photos/42/comments/718\">\n      A+++ would snuggle again.\n    </a>\n    ```\n  \n    ### Supplying an explicit dynamic segment value\n  \n    If you don't have a model object available to pass to `LinkTo`,\n    an optional string or integer argument can be passed for routes whose\n    paths contain dynamic segments. This argument will become the value\n    of the dynamic segment:\n  \n    ```javascript\n    Router.map(function() {\n      this.route(\"photoGallery\", { path: \"hamster-photos/:photo_id\" });\n    });\n    ```\n  \n    ```handlebars\n    <LinkTo @route='photoGallery' @model={{aPhotoId}}>\n      {{this.aPhoto.title}}\n    </LinkTo>\n    ```\n  \n    ```html\n    <a href=\"/hamster-photos/42\">\n      Tomster\n    </a>\n    ```\n  \n    When transitioning into the linked route, the `model` hook will\n    be triggered with parameters including this passed identifier.\n  \n    ### Supplying a `tagName`\n  \n    By default `<LinkTo>` renders an `<a>` element. This can be overridden for a single use of\n    `<LinkTo>` by supplying a `tagName` argument:\n  \n    ```handlebars\n    <LinkTo @route='photoGallery' @tagName='li'>\n      Great Hamster Photos\n    </LinkTo>\n    ```\n  \n    This produces:\n  \n    ```html\n    <li>\n      Great Hamster Photos\n    </li>\n    ```\n  \n    In general, this is not recommended.\n  \n    ### Supplying query parameters\n  \n    If you need to add optional key-value pairs that appear to the right of the ? in a URL,\n    you can use the `query` argument.\n  \n    ```handlebars\n    <LinkTo @route='photoGallery' @query={{hash page=1 per_page=20}}>\n      Great Hamster Photos\n    </LinkTo>\n    ```\n  \n    This will result in:\n  \n    ```html\n    <a href=\"/hamster-photos?page=1&per_page=20\">\n      Great Hamster Photos\n    </a>\n    ```\n  \n    @for Ember.Templates.components\n    @method LinkTo\n    @see {LinkComponent}\n    @public\n  */\n\n  /**\n    @module @ember/routing\n  */\n\n  /**\n    See [Ember.Templates.components.LinkTo](/ember/release/classes/Ember.Templates.components/methods/input?anchor=LinkTo).\n  \n    @for Ember.Templates.helpers\n    @method link-to\n    @see {Ember.Templates.components.LinkTo}\n    @public\n  **/\n\n  /**\n    `LinkComponent` is the internal component invoked with `<LinkTo>` or `{{link-to}}`.\n  \n    @class LinkComponent\n    @extends Component\n    @see {Ember.Templates.components.LinkTo}\n    @public\n  **/\n\n  var UNDEFINED = Object.freeze({\n    toString() {\n      return 'UNDEFINED';\n    }\n  });\n  var EMPTY_QUERY_PARAMS = Object.freeze({});\n  var LinkComponent = _exports.LinkComponent = Component.extend({\n    layout: layout$1,\n    tagName: 'a',\n    /**\n      @property route\n      @public\n    */\n    route: UNDEFINED,\n    /**\n      @property model\n      @public\n    */\n    model: UNDEFINED,\n    /**\n      @property models\n      @public\n    */\n    models: UNDEFINED,\n    /**\n      @property query\n      @public\n    */\n    query: UNDEFINED,\n    /**\n      Used to determine when this `LinkComponent` is active.\n         @property current-when\n      @public\n    */\n    'current-when': null,\n    /**\n      Sets the `title` attribute of the `LinkComponent`'s HTML element.\n         @property title\n      @default null\n      @public\n    **/\n    title: null,\n    /**\n      Sets the `rel` attribute of the `LinkComponent`'s HTML element.\n         @property rel\n      @default null\n      @public\n    **/\n    rel: null,\n    /**\n      Sets the `tabindex` attribute of the `LinkComponent`'s HTML element.\n         @property tabindex\n      @default null\n      @public\n    **/\n    tabindex: null,\n    /**\n      Sets the `target` attribute of the `LinkComponent`'s HTML element.\n         @since 1.8.0\n      @property target\n      @default null\n      @public\n    **/\n    target: null,\n    /**\n      The CSS class to apply to `LinkComponent`'s element when its `active`\n      property is `true`.\n         @property activeClass\n      @type String\n      @default active\n      @public\n    **/\n    activeClass: 'active',\n    /**\n      The CSS class to apply to `LinkComponent`'s element when its `loading`\n      property is `true`.\n         @property loadingClass\n      @type String\n      @default loading\n      @public\n    **/\n    loadingClass: 'loading',\n    /**\n      The CSS class to apply to a `LinkComponent`'s element when its `disabled`\n      property is `true`.\n         @property disabledClass\n      @type String\n      @default disabled\n      @public\n    **/\n    disabledClass: 'disabled',\n    /**\n      Determines whether the `LinkComponent` will trigger routing via\n      the `replaceWith` routing strategy.\n         @property replace\n      @type Boolean\n      @default false\n      @public\n    **/\n    replace: false,\n    /**\n      Determines whether the `LinkComponent` will prevent the default\n      browser action by calling preventDefault() to avoid reloading\n      the browser page.\n         If you need to trigger a full browser reload pass `@preventDefault={{false}}`:\n         ```handlebars\n      <LinkTo @route='photoGallery' @model={{this.aPhotoId}} @preventDefault={{false}}>\n        {{this.aPhotoId.title}}\n      </LinkTo>\n      ```\n         @property preventDefault\n      @type Boolean\n      @default true\n      @private\n    **/\n    preventDefault: true,\n    /**\n      By default this component will forward `href`, `title`, `rel`, `tabindex`, and `target`\n      arguments to attributes on the component's element. When invoked with `{{link-to}}`, you can\n      only customize these attributes. When invoked with `<LinkTo>`, you can just use HTML\n      attributes directly.\n         @property attributeBindings\n      @type Array | String\n      @default ['title', 'rel', 'tabindex', 'target']\n      @public\n    */\n    attributeBindings: ['href', 'title', 'rel', 'tabindex', 'target'],\n    /**\n      By default this component will set classes on its element when any of the following arguments\n      are truthy:\n         * active\n      * loading\n      * disabled\n         When these arguments are truthy, a class with the same name will be set on the element. When\n      falsy, the associated class will not be on the element.\n         @property classNameBindings\n      @type Array\n      @default ['active', 'loading', 'disabled', 'ember-transitioning-in', 'ember-transitioning-out']\n      @public\n    */\n    classNameBindings: ['active', 'loading', 'disabled', 'transitioningIn', 'transitioningOut'],\n    /**\n      By default this component responds to the `click` event. When the component element is an\n      `<a>` element, activating the link in another way, such as using the keyboard, triggers the\n      click event.\n         @property eventName\n      @type String\n      @default click\n      @private\n    */\n    eventName: 'click',\n    // this is doc'ed here so it shows up in the events\n    // section of the API documentation, which is where\n    // people will likely go looking for it.\n\n    /**\n      Triggers the `LinkComponent`'s routing behavior. If\n      `eventName` is changed to a value other than `click`\n      the routing behavior will trigger on that custom event\n      instead.\n         @event click\n      @private\n    */\n\n    /**\n      An overridable method called when `LinkComponent` objects are instantiated.\n         Example:\n         ```app/components/my-link.js\n      import LinkComponent from '@ember/routing/link-component';\n         export default LinkComponent.extend({\n        init() {\n          this._super(...arguments);\n          console.log('Event is ' + this.get('eventName'));\n        }\n      });\n      ```\n         NOTE: If you do override `init` for a framework class like `Component`,\n      be sure to call `this._super(...arguments)` in your\n      `init` declaration! If you don't, Ember may not have an opportunity to\n      do important setup work, and you'll see strange behavior in your\n      application.\n         @method init\n      @private\n    */\n    init() {\n      this._super(...arguments);\n      this.assertLinkToOrigin(); // Map desired event name to invoke function\n\n      var {\n        eventName\n      } = this;\n      this.on(eventName, this, this._invoke);\n    },\n    _routing: (0, _service.inject)('-routing'),\n    _currentRoute: (0, _metal.alias)('_routing.currentRouteName'),\n    _currentRouterState: (0, _metal.alias)('_routing.currentState'),\n    _targetRouterState: (0, _metal.alias)('_routing.targetState'),\n    _isEngine: (0, _metal.computed)(function () {\n      return (0, _engine.getEngineParent)((0, _owner2.getOwner)(this)) !== undefined;\n    }),\n    _engineMountPoint: (0, _metal.computed)(function () {\n      return (0, _owner2.getOwner)(this).mountPoint;\n    }),\n    _route: (0, _metal.computed)('route', '_currentRouterState', function computeLinkToComponentRoute() {\n      var {\n        route\n      } = this;\n      return route === UNDEFINED ? this._currentRoute : this._namespaceRoute(route);\n    }),\n    _models: (0, _metal.computed)('model', 'models', function computeLinkToComponentModels() {\n      var {\n        model,\n        models\n      } = this;\n      (true && !(model === UNDEFINED || models === UNDEFINED) && (0, _debug.assert)('You cannot provide both the `@model` and `@models` arguments to the <LinkTo> component.', model === UNDEFINED || models === UNDEFINED));\n      if (model !== UNDEFINED) {\n        return [model];\n      } else if (models !== UNDEFINED) {\n        (true && !(Array.isArray(models)) && (0, _debug.assert)('The `@models` argument must be an array.', Array.isArray(models)));\n        return models;\n      } else {\n        return [];\n      }\n    }),\n    _query: (0, _metal.computed)('query', function computeLinkToComponentQuery() {\n      var {\n        query\n      } = this;\n      if (query === UNDEFINED) {\n        return EMPTY_QUERY_PARAMS;\n      } else {\n        return (0, _polyfills.assign)({}, query);\n      }\n    }),\n    /**\n      Accessed as a classname binding to apply the component's `disabledClass`\n      CSS `class` to the element when the link is disabled.\n         When `true`, interactions with the element will not trigger route changes.\n      @property disabled\n      @private\n    */\n    disabled: (0, _metal.computed)({\n      get(_key) {\n        // always returns false for `get` because (due to the `set` just below)\n        // the cached return value from the set will prevent this getter from _ever_\n        // being called after a set has occurred\n        return false;\n      },\n      set(_key, value) {\n        this._isDisabled = value;\n        return value ? this.disabledClass : false;\n      }\n    }),\n    /**\n      Accessed as a classname binding to apply the component's `activeClass`\n      CSS `class` to the element when the link is active.\n         This component is considered active when its `currentWhen` property is `true`\n      or the application's current route is the route this component would trigger\n      transitions into.\n         The `currentWhen` property can match against multiple routes by separating\n      route names using the ` ` (space) character.\n         @property active\n      @private\n    */\n    active: (0, _metal.computed)('activeClass', '_active', function computeLinkToComponentActiveClass() {\n      return this._active ? this.activeClass : false;\n    }),\n    _active: (0, _metal.computed)('_currentRouterState', '_route', '_models', '_query', 'loading', 'current-when', function computeLinkToComponentActive() {\n      var {\n        _currentRouterState: state\n      } = this;\n      if (state) {\n        return this._isActive(state);\n      } else {\n        return false;\n      }\n    }),\n    willBeActive: (0, _metal.computed)('_currentRouterState', '_targetRouterState', '_route', '_models', '_query', 'loading', 'current-when', function computeLinkToComponentWillBeActive() {\n      var {\n        _currentRouterState: current,\n        _targetRouterState: target\n      } = this;\n      if (current === target) {\n        return;\n      }\n      return this._isActive(target);\n    }),\n    /**\n     * Method to assert that LinkTo is not used inside of a routeless engine. This method is\n     * overridden in ember-engines link-to-external component to just be a noop, since the\n     * link-to-external component extends the link-to component.\n     *\n     * @method assertLinkToOrigin\n     * @private\n     */\n    assertLinkToOrigin() {\n      (true && !(!this._isEngine || this._engineMountPoint !== undefined) && (0, _debug.assert)('You attempted to use the <LinkTo> component within a routeless engine, this is not supported. ' + 'If you are using the ember-engines addon, use the <LinkToExternal> component instead. ' + 'See https://ember-engines.com/docs/links for more info.', !this._isEngine || this._engineMountPoint !== undefined));\n    },\n    _isActive(routerState) {\n      if (this.loading) {\n        return false;\n      }\n      var currentWhen = this['current-when'];\n      if (typeof currentWhen === 'boolean') {\n        return currentWhen;\n      }\n      var {\n        _models: models,\n        _routing: routing\n      } = this;\n      if (typeof currentWhen === 'string') {\n        return currentWhen.split(' ').some(route => routing.isActiveForRoute(models, undefined, this._namespaceRoute(route), routerState));\n      } else {\n        return routing.isActiveForRoute(models, this._query, this._route, routerState);\n      }\n    },\n    transitioningIn: (0, _metal.computed)('_active', 'willBeActive', function computeLinkToComponentTransitioningIn() {\n      if (this.willBeActive === true && !this._active) {\n        return 'ember-transitioning-in';\n      } else {\n        return false;\n      }\n    }),\n    transitioningOut: (0, _metal.computed)('_active', 'willBeActive', function computeLinkToComponentTransitioningOut() {\n      if (this.willBeActive === false && this._active) {\n        return 'ember-transitioning-out';\n      } else {\n        return false;\n      }\n    }),\n    _namespaceRoute(route) {\n      var {\n        _engineMountPoint: mountPoint\n      } = this;\n      if (mountPoint === undefined) {\n        return route;\n      } else if (route === 'application') {\n        return mountPoint;\n      } else {\n        return `${mountPoint}.${route}`;\n      }\n    },\n    /**\n      Event handler that invokes the link, activating the associated route.\n         @method _invoke\n      @param {Event} event\n      @private\n    */\n    _invoke(event) {\n      if (!(0, _views.isSimpleClick)(event)) {\n        return true;\n      }\n      var {\n        bubbles,\n        preventDefault\n      } = this;\n      var target = this.element.target;\n      var isSelf = !target || target === '_self';\n      if (preventDefault !== false && isSelf) {\n        event.preventDefault();\n      }\n      if (bubbles === false) {\n        event.stopPropagation();\n      }\n      if (this._isDisabled) {\n        return false;\n      }\n      if (this.loading) {\n        // tslint:disable-next-line:max-line-length\n        (true && (0, _debug.warn)('This link is in an inactive loading state because at least one of its models ' + 'currently has a null/undefined value, or the provided route name is invalid.', false, {\n          id: 'ember-glimmer.link-to.inactive-loading-state'\n        }));\n        return false;\n      }\n      if (!isSelf) {\n        return false;\n      }\n      var {\n        _route: routeName,\n        _models: models,\n        _query: queryParams,\n        replace: shouldReplace\n      } = this;\n      var payload = {\n        queryParams,\n        routeName\n      };\n      (0, _instrumentation.flaggedInstrument)('interaction.link-to', payload, this._generateTransition(payload, routeName, models, queryParams, shouldReplace));\n      return false;\n    },\n    _generateTransition(payload, qualifiedRouteName, models, queryParams, shouldReplace) {\n      var {\n        _routing: routing\n      } = this;\n      return () => {\n        payload.transition = routing.transitionTo(qualifiedRouteName, models, queryParams, shouldReplace);\n      };\n    },\n    /**\n      Sets the element's `href` attribute to the url for\n      the `LinkComponent`'s targeted route.\n         If the `LinkComponent`'s `tagName` is changed to a value other\n      than `a`, this property will be ignored.\n         @property href\n      @private\n    */\n    href: (0, _metal.computed)('_currentRouterState', '_route', '_models', '_query', 'tagName', 'loading', 'loadingHref', function computeLinkToComponentHref() {\n      if (this.tagName !== 'a') {\n        return;\n      }\n      if (this.loading) {\n        return this.loadingHref;\n      }\n      var {\n        _route: route,\n        _models: models,\n        _query: query,\n        _routing: routing\n      } = this;\n      if (true /* DEBUG */) {\n        /*\n         * Unfortunately, to get decent error messages, we need to do this.\n         * In some future state we should be able to use a \"feature flag\"\n         * which allows us to strip this without needing to call it twice.\n         *\n         * if (isDebugBuild()) {\n         *   // Do the useful debug thing, probably including try/catch.\n         * } else {\n         *   // Do the performant thing.\n         * }\n         */\n        try {\n          return routing.generateURL(route, models, query);\n        } catch (e) {\n          // tslint:disable-next-line:max-line-length\n          e.message = `While generating link to route \"${this.route}\": ${e.message}`;\n          throw e;\n        }\n      } else {\n        return routing.generateURL(route, models, query);\n      }\n    }),\n    loading: (0, _metal.computed)('_route', '_modelsAreLoaded', 'loadingClass', function computeLinkToComponentLoading() {\n      var {\n        _route: route,\n        _modelsAreLoaded: loaded\n      } = this;\n      if (!loaded || route === null || route === undefined) {\n        return this.loadingClass;\n      }\n    }),\n    _modelsAreLoaded: (0, _metal.computed)('_models', function computeLinkToComponentModelsAreLoaded() {\n      var {\n        _models: models\n      } = this;\n      for (var i = 0; i < models.length; i++) {\n        var model = models[i];\n        if (model === null || model === undefined) {\n          return false;\n        }\n      }\n      return true;\n    }),\n    /**\n      The default href value to use while a link-to is loading.\n      Only applies when tagName is 'a'\n         @property loadingHref\n      @type String\n      @default #\n      @private\n    */\n    loadingHref: '#',\n    didReceiveAttrs() {\n      var {\n        disabledWhen\n      } = this;\n      if (disabledWhen !== undefined) {\n        this.set('disabled', disabledWhen);\n      }\n      var {\n        params\n      } = this;\n      if (!params || params.length === 0) {\n        (true && !(!(this.route === UNDEFINED && this.model === UNDEFINED && this.models === UNDEFINED && this.query === UNDEFINED)) && (0, _debug.assert)('You must provide at least one of the `@route`, `@model`, `@models` or `@query` argument to `<LinkTo>`.', !(this.route === UNDEFINED && this.model === UNDEFINED && this.models === UNDEFINED && this.query === UNDEFINED)));\n        var {\n          _models: models\n        } = this;\n        if (models.length > 0) {\n          var lastModel = models[models.length - 1];\n          if (typeof lastModel === 'object' && lastModel !== null && lastModel.isQueryParams) {\n            this.query = lastModel.values;\n            models.pop();\n          }\n        }\n        return;\n      }\n      var hasBlock = this[HAS_BLOCK];\n      params = params.slice(); // Process the positional arguments, in order.\n      // 1. Inline link title comes first, if present.\n\n      if (!hasBlock) {\n        this.set('linkTitle', params.shift());\n      } // 2. The last argument is possibly the `query` object.\n\n      var queryParams = params[params.length - 1];\n      if (queryParams && queryParams.isQueryParams) {\n        this.set('query', params.pop().values);\n      } else {\n        this.set('query', UNDEFINED);\n      } // 3. If there is a `route`, it is now at index 0.\n\n      if (params.length === 0) {\n        this.set('route', UNDEFINED);\n      } else {\n        this.set('route', params.shift());\n      } // 4. Any remaining indices (if any) are `models`.\n\n      this.set('model', UNDEFINED);\n      this.set('models', params);\n      (0, _debug.runInDebug)(() => {\n        params = this.params.slice();\n        var equivalentNamedArgs = [];\n        var hasQueryParams = false; // Process the positional arguments, in order.\n        // 1. Inline link title comes first, if present.\n\n        if (!hasBlock) {\n          params.shift();\n        } // 2. The last argument is possibly the `query` object.\n\n        var query = params[params.length - 1];\n        if (query && query.isQueryParams) {\n          params.pop();\n          hasQueryParams = true;\n        } // 3. If there is a `route`, it is now at index 0.\n\n        if (params.length > 0) {\n          params.shift();\n          equivalentNamedArgs.push('`@route`');\n        } // 4. Any remaining params (if any) are `models`.\n\n        if (params.length === 1) {\n          equivalentNamedArgs.push('`@model`');\n        } else if (params.length > 1) {\n          equivalentNamedArgs.push('`@models`');\n        }\n        if (hasQueryParams) {\n          equivalentNamedArgs.push('`@query`');\n        }\n        if (equivalentNamedArgs.length > 0) {\n          var message = 'Invoking the `<LinkTo>` component with positional arguments is deprecated.';\n          message += `Please use the equivalent named arguments (${equivalentNamedArgs.join(', ')})`;\n          if (hasQueryParams) {\n            message += ' along with the `hash` helper';\n          }\n          if (!hasBlock) {\n            message += \" and pass a block for the link's content.\";\n          }\n          message += '.';\n          (true && !(false) && (0, _debug.deprecate)(message, false, {\n            id: 'ember-glimmer.link-to.positional-arguments',\n            until: '4.0.0',\n            for: 'ember-source',\n            url: 'https://deprecations.emberjs.com/v3.x#toc_ember-glimmer-link-to-positional-arguments',\n            since: {\n              enabled: '3.26.0-beta.1'\n            }\n          }));\n        }\n      });\n    }\n  });\n  LinkComponent.toString = () => '@ember/routing/link-component';\n  LinkComponent.reopenClass({\n    positionalParams: 'params'\n  });\n  {\n    Object.defineProperty(LinkComponent, '_wasReopened', {\n      configurable: true,\n      enumerable: false,\n      writable: true,\n      value: false\n    });\n    Object.defineProperty(LinkComponent, 'reopen', {\n      configurable: true,\n      enumerable: false,\n      writable: true,\n      value: function reopen(...args) {\n        if (this === LinkComponent) {\n          (true && !(false) && (0, _debug.deprecate)('Reopening Ember.LinkComponent is deprecated. Consider implementing your own ' + 'wrapper component or create a custom subclass.', false, {\n            id: 'ember.built-in-components.reopen',\n            for: 'ember-source',\n            since: {\n              enabled: '3.27.0'\n            },\n            until: '4.0.0',\n            url: 'https://deprecations.emberjs.com/v3.x#toc_ember-built-in-components-reopen'\n          }));\n          LinkComponent._wasReopened = true;\n        }\n        return _runtime2.CoreObject.reopen.call(this, ...args);\n      }\n    });\n    Object.defineProperty(LinkComponent, 'reopenClass', {\n      configurable: true,\n      enumerable: false,\n      writable: true,\n      value: function reopenClass(...args) {\n        if (this === LinkComponent) {\n          (true && !(false) && (0, _debug.deprecate)('Reopening Ember.LinkComponent is deprecated. Consider implementing your own ' + 'wrapper component or create a custom subclass.', false, {\n            id: 'ember.built-in-components.reopen',\n            for: 'ember-source',\n            since: {\n              enabled: '3.27.0'\n            },\n            until: '4.0.0',\n            url: 'https://deprecations.emberjs.com/v3.x#toc_ember-built-in-components-reopen'\n          }));\n          LinkComponent._wasReopened = true;\n        }\n        return _runtime2.CoreObject.reopenClass.call(this, ...args);\n      }\n    });\n  }\n  var InputTemplate = (0, _opcodeCompiler.templateFactory)({\n    \"id\": \"4uiR2oaY\",\n    \"block\": \"[[[41,[30,0,[\\\"modernized\\\"]],[[[11,\\\"input\\\"],[16,1,[30,0,[\\\"id\\\"]]],[16,0,[30,0,[\\\"class\\\"]]],[16,\\\"role\\\",[30,0,[\\\"role\\\"]]],[16,\\\"autocapitalize\\\",[30,0,[\\\"autocapitalize\\\"]]],[16,\\\"autocorrect\\\",[30,0,[\\\"autocorrect\\\"]]],[16,\\\"autofocus\\\",[30,0,[\\\"autofocus\\\"]]],[16,\\\"disabled\\\",[30,0,[\\\"disabled\\\"]]],[16,\\\"form\\\",[30,0,[\\\"form\\\"]]],[16,\\\"maxlength\\\",[30,0,[\\\"maxlength\\\"]]],[16,\\\"minlength\\\",[30,0,[\\\"minlength\\\"]]],[16,\\\"placeholder\\\",[30,0,[\\\"placeholder\\\"]]],[16,\\\"readonly\\\",[30,0,[\\\"readonly\\\"]]],[16,\\\"required\\\",[30,0,[\\\"required\\\"]]],[16,\\\"selectionDirection\\\",[30,0,[\\\"selectionDirection\\\"]]],[16,\\\"spellcheck\\\",[30,0,[\\\"spellcheck\\\"]]],[16,\\\"tabindex\\\",[30,0,[\\\"tabindex\\\"]]],[16,\\\"title\\\",[30,0,[\\\"title\\\"]]],[16,\\\"accept\\\",[30,0,[\\\"accept\\\"]]],[16,\\\"autocomplete\\\",[30,0,[\\\"autocomplete\\\"]]],[16,\\\"autosave\\\",[30,0,[\\\"autosave\\\"]]],[16,\\\"dir\\\",[30,0,[\\\"dir\\\"]]],[16,\\\"formaction\\\",[30,0,[\\\"formaction\\\"]]],[16,\\\"formenctype\\\",[30,0,[\\\"formenctype\\\"]]],[16,\\\"formmethod\\\",[30,0,[\\\"formmethod\\\"]]],[16,\\\"formnovalidate\\\",[30,0,[\\\"formnovalidate\\\"]]],[16,\\\"formtarget\\\",[30,0,[\\\"formtarget\\\"]]],[16,\\\"height\\\",[30,0,[\\\"height\\\"]]],[16,\\\"inputmode\\\",[30,0,[\\\"inputmode\\\"]]],[16,\\\"lang\\\",[30,0,[\\\"lang\\\"]]],[16,\\\"list\\\",[30,0,[\\\"list\\\"]]],[16,\\\"max\\\",[30,0,[\\\"max\\\"]]],[16,\\\"min\\\",[30,0,[\\\"min\\\"]]],[16,\\\"multiple\\\",[30,0,[\\\"multiple\\\"]]],[16,3,[30,0,[\\\"name\\\"]]],[16,\\\"pattern\\\",[30,0,[\\\"pattern\\\"]]],[16,\\\"size\\\",[30,0,[\\\"size\\\"]]],[16,\\\"step\\\",[30,0,[\\\"step\\\"]]],[16,\\\"width\\\",[30,0,[\\\"width\\\"]]],[16,\\\"indeterminate\\\",[30,0,[\\\"indeterminate\\\"]]],[17,1],[16,4,[30,0,[\\\"type\\\"]]],[16,\\\"checked\\\",[30,0,[\\\"checked\\\"]]],[16,2,[30,0,[\\\"value\\\"]]],[4,[38,1],[\\\"change\\\",[30,0,[\\\"change\\\"]]],null],[4,[38,1],[\\\"input\\\",[30,0,[\\\"input\\\"]]],null],[4,[38,1],[\\\"keyup\\\",[30,0,[\\\"keyUp\\\"]]],null],[4,[38,1],[\\\"paste\\\",[30,0,[\\\"valueDidChange\\\"]]],null],[4,[38,1],[\\\"cut\\\",[30,0,[\\\"valueDidChange\\\"]]],null],[4,[30,0,[\\\"handleDeprecatedEvents\\\"]],[[30,0]],null],[12],[13]],[]],[[[44,[[50,\\\"-checkbox\\\",0,null,null],[50,\\\"-text-field\\\",0,null,null]],[[[41,[30,0,[\\\"isCheckbox\\\"]],[[[8,[30,2],[[17,1]],[[\\\"@target\\\",\\\"@__ARGS__\\\"],[[30,0,[\\\"caller\\\"]],[30,0,[\\\"args\\\"]]]],null]],[]],[[[8,[30,3],[[17,1]],[[\\\"@target\\\",\\\"@__ARGS__\\\"],[[30,0,[\\\"caller\\\"]],[30,0,[\\\"args\\\"]]]],null]],[]]]],[2,3]]]],[]]]],[\\\"&attrs\\\",\\\"Checkbox\\\",\\\"TextField\\\"],false,[\\\"if\\\",\\\"on\\\",\\\"let\\\",\\\"component\\\"]]\",\n    \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/input.hbs\",\n    \"isStrictMode\": false\n  });\n  class InternalModifier {\n    constructor(owner, element, args) {\n      this.owner = owner;\n      this.element = element;\n      this.args = args;\n      (0, _owner2.setOwner)(this, owner);\n    } // Override this\n\n    static toString() {\n      return 'internal modifier';\n    }\n    install() {}\n    remove() {}\n    positional(index) {\n      var ref = this.args.positional[index];\n      return ref ? (0, _reference.valueForRef)(ref) : undefined;\n    }\n    named(key) {\n      var ref = this.args.named[key];\n      return ref ? (0, _reference.valueForRef)(ref) : undefined;\n    }\n    toString() {\n      return `<${this.constructor.toString()}:${(0, _utils.guidFor)(this)}>`;\n    }\n  }\n  function destructor(modifier) {\n    modifier.remove();\n  }\n  class InternalModifierState {\n    constructor(instance) {\n      this.instance = instance;\n    }\n  }\n  class InternalModifierManager {\n    constructor(ModifierClass, name) {\n      this.ModifierClass = ModifierClass;\n      this.name = name;\n    }\n    create(owner, element, _definition, args) {\n      (true && !(element instanceof HTMLElement) && (0, _debug.assert)('element must be an HTMLElement', element instanceof HTMLElement));\n      var {\n        ModifierClass\n      } = this;\n      var instance = new ModifierClass(owner, element, args);\n      (0, _destroyable.registerDestructor)(instance, destructor);\n      return new InternalModifierState(instance);\n    } // not needed for now, but feel free to implement this\n\n    getTag() {\n      return null;\n    }\n    getDebugName() {\n      return this.name;\n    }\n    install({\n      instance\n    }) {\n      return instance.install();\n    } // not needed for now, but feel free to implement this\n\n    update() {\n      (true && !(false) && (0, _debug.assert)('update should never be called on an internal modifier'));\n    }\n    getDestroyable({\n      instance\n    }) {\n      return instance;\n    }\n  }\n  function NOOP$2() {} // TODO: remove me when IE11 support is EOL\n\n  var ObjectEntries = (() => {\n    if (typeof Object.entries === 'function') {\n      return Object.entries;\n    } else {\n      return obj => Object.keys(obj).map(key => [key, obj[key]]);\n    }\n  })(); // TODO: remove me when IE11 support is EOL\n\n  var ObjectValues = (() => {\n    if (typeof Object.values === 'function') {\n      return Object.values;\n    } else {\n      return obj => Object.keys(obj).map(key => obj[key]);\n    }\n  })();\n  class InternalComponent {\n    constructor(owner, args, caller) {\n      this.owner = owner;\n      this.args = args;\n      this.caller = caller;\n      (0, _owner2.setOwner)(this, owner);\n    } // Override this\n\n    static toString() {\n      return 'internal component';\n    }\n    /**\n     * The default HTML id attribute. We don't really _need_ one, this is just\n     * added for compatibility as it's hard to tell if people rely on it being\n     * present, and it doens't really hurt.\n     *\n     * However, don't rely on this internally, like passing it to `getElementId`.\n     * This can be (and often is) overriden by passing an `id` attribute on the\n     * invocation, which shadows this default id via `...attributes`.\n     */\n\n    get id() {\n      return (0, _utils.guidFor)(this);\n    }\n    /**\n     * The default HTML class attribute. Similar to the above, we don't _need_\n     * them, they are just added for compatibility as it's similarly hard to tell\n     * if people rely on it in their CSS etc, and it doens't really hurt.\n     */\n\n    get class() {\n      return 'ember-view';\n    }\n    validateArguments() {\n      for (var name of Object.keys(this.args.named)) {\n        if (!this.isSupportedArgument(name)) {\n          this.onUnsupportedArgument(name);\n        }\n      }\n    }\n    named(name) {\n      var ref = this.args.named[name];\n      return ref ? (0, _reference.valueForRef)(ref) : undefined;\n    }\n    positional(index) {\n      var ref = this.args.positional[index];\n      return ref ? (0, _reference.valueForRef)(ref) : undefined;\n    }\n    listenerFor(name) {\n      var listener = this.named(name);\n      if (listener) {\n        (true && !(typeof listener === 'function') && (0, _debug.assert)(`The \\`@${name}\\` argument to the <${this.constructor}> component must be a function`, typeof listener === 'function'));\n        return listener;\n      } else {\n        return NOOP$2;\n      }\n    } // eslint-disable-next-line @typescript-eslint/no-unused-vars\n\n    isSupportedArgument(_name) {\n      return false;\n    } // eslint-disable-next-line @typescript-eslint/no-unused-vars\n\n    onUnsupportedArgument(_name) {}\n    toString() {\n      return `<${this.constructor}:${(0, _utils.guidFor)(this)}>`;\n    }\n  }\n  var OPAQUE_CONSTRUCTOR_MAP = new WeakMap();\n  function opaquify(constructor, template) {\n    var _opaque = {\n      // Factory interface\n      create() {\n        throw (0, _debug.assert)('Use constructor instead of create');\n      },\n      toString() {\n        return constructor.toString();\n      }\n    };\n    var opaque = _opaque;\n    OPAQUE_CONSTRUCTOR_MAP.set(opaque, constructor);\n    (0, _manager2.setInternalComponentManager)(INTERNAL_COMPONENT_MANAGER, opaque);\n    (0, _manager2.setComponentTemplate)(template, opaque);\n    return opaque;\n  }\n  function deopaquify(opaque) {\n    var constructor = OPAQUE_CONSTRUCTOR_MAP.get(opaque);\n    (true && !(constructor) && (0, _debug.assert)(`[BUG] Invalid internal component constructor: ${opaque}`, constructor));\n    return constructor;\n  }\n  var CAPABILITIES = {\n    dynamicLayout: false,\n    dynamicTag: false,\n    prepareArgs: false,\n    createArgs: true,\n    attributeHook: false,\n    elementHook: false,\n    createCaller: true,\n    dynamicScope: false,\n    updateHook: false,\n    createInstance: true,\n    wrapped: false,\n    willDestroy: false,\n    hasSubOwner: false\n  };\n  class InternalManager {\n    getCapabilities() {\n      return CAPABILITIES;\n    }\n    create(owner, definition, args, _env, _dynamicScope, caller) {\n      (true && !((0, _reference.isConstRef)(caller)) && (0, _debug.assert)('caller must be const', (0, _reference.isConstRef)(caller)));\n      var ComponentClass = deopaquify(definition);\n      var instance = new ComponentClass(owner, args.capture(), (0, _reference.valueForRef)(caller));\n      (0, _validator.untrack)(instance['validateArguments'].bind(instance));\n      return instance;\n    }\n    didCreate() {}\n    didUpdate() {}\n    didRenderLayout() {}\n    didUpdateLayout() {}\n    getDebugName(definition) {\n      return definition.toString();\n    }\n    getSelf(instance) {\n      return (0, _reference.createConstRef)(instance, 'this');\n    }\n    getDestroyable(instance) {\n      return instance;\n    }\n  }\n  var INTERNAL_COMPONENT_MANAGER = new InternalManager();\n  function handleDeprecatedArguments(target) {\n    {\n      var angle = target.toString();\n      var {\n        prototype\n      } = target;\n      var superOnUnsupportedArgument = prototype['onUnsupportedArgument'];\n      Object.defineProperty(prototype, 'onUnsupportedArgument', {\n        configurable: true,\n        enumerable: false,\n        value: function onUnsupportedArgument(name) {\n          (true && !(false) && (0, _debug.deprecate)(`Passing the \\`@${name}\\` argument to <${angle}> is deprecated.`, false, {\n            id: 'ember.built-in-components.legacy-arguments',\n            for: 'ember-source',\n            since: {\n              enabled: '3.27.0'\n            },\n            until: '4.0.0',\n            url: 'https://deprecations.emberjs.com/v3.x#toc_ember-built-in-components-legacy-arguments'\n          }));\n          this.modernized = false;\n          superOnUnsupportedArgument.call(this, name);\n        }\n      });\n    }\n  }\n  function handleDeprecatedAttributeArguments(target, bindings) {\n    {\n      var angle = target.toString();\n      var curly = angle.replace(/([a-z])([A-Z])/g, '$1-$2').toLowerCase();\n      var {\n        prototype\n      } = target;\n      var descriptorFor = (target, property) => {\n        if (target) {\n          return Object.getOwnPropertyDescriptor(target, property) || descriptorFor(Object.getPrototypeOf(target), property);\n        } else {\n          return null;\n        }\n      };\n      bindings.forEach(binding => {\n        var attribute;\n        var argument;\n        if (Array.isArray(binding)) {\n          [attribute, argument] = binding;\n        } else {\n          attribute = argument = binding;\n        }\n        var superIsSupportedArgument = prototype['isSupportedArgument'];\n        Object.defineProperty(prototype, 'isSupportedArgument', {\n          configurable: true,\n          enumerable: false,\n          value: function isSupportedArgument(name) {\n            return this.modernized && name === argument || superIsSupportedArgument.call(this, name);\n          }\n        });\n        var superDescriptor = descriptorFor(prototype, attribute);\n        var superGetter = () => undefined;\n        if (superDescriptor) {\n          (true && !(typeof superDescriptor.get === 'function') && (0, _debug.assert)(`[BUG] expecting ${attribute} to be a getter on <${angle}>`, typeof superDescriptor.get === 'function'));\n          superGetter = superDescriptor.get;\n        }\n        Object.defineProperty(prototype, attribute, {\n          configurable: true,\n          enumerable: true,\n          get() {\n            if (argument in this.args.named) {\n              (true && !(false) && (0, _debug.deprecate)(`Passing the \\`@${argument}\\` argument to <${angle}> is deprecated. ` + `Instead, please pass the attribute directly, i.e. \\`<${angle} ${attribute}={{...}} />\\` ` + `instead of \\`<${angle} @${argument}={{...}} />\\` or \\`{{${curly} ${argument}=...}}\\`.`, false, {\n                id: 'ember.built-in-components.legacy-attribute-arguments',\n                for: 'ember-source',\n                since: {\n                  enabled: '3.27.0'\n                },\n                until: '4.0.0',\n                url: 'https://deprecations.emberjs.com/v3.x#toc_ember-built-in-components-legacy-attribute-arguments'\n              })); // The `class` attribute is concatenated/merged instead of clobbered\n              if (attribute === 'class' && superDescriptor) {\n                return `${superGetter.call(this)} ${this.named(argument)}`;\n              } else {\n                return this.named(argument);\n              }\n            } else {\n              return superGetter.call(this);\n            }\n          }\n        });\n      });\n    }\n  }\n  var handleDeprecatedEventArguments = NOOP$2;\n  {\n    var EVENTS = new WeakMap();\n    var EMPTY_EVENTS = Object.freeze({});\n    var getEventsMap = owner => {\n      var events = EVENTS.get(owner);\n      if (events === undefined) {\n        events = EMPTY_EVENTS;\n        var eventDispatcher = owner.lookup('event_dispatcher:main');\n        if (eventDispatcher !== null && eventDispatcher !== undefined) {\n          (true && !(typeof eventDispatcher === 'object') && (0, _debug.assert)('[BUG] invalid event dispatcher', typeof eventDispatcher === 'object'));\n          if ('_finalEvents' in eventDispatcher && eventDispatcher._finalEvents !== null && eventDispatcher._finalEvents !== undefined) {\n            (true && !(typeof eventDispatcher._finalEvents === 'object') && (0, _debug.assert)('[BUG] invalid _finalEvents on event dispatcher', typeof eventDispatcher._finalEvents === 'object'));\n            events = eventDispatcher._finalEvents;\n          }\n        }\n        EVENTS.set(owner, events);\n      }\n      return events;\n    };\n    handleDeprecatedEventArguments = (target, extraEvents = []) => {\n      var angle = target.toString();\n      var curly = angle.toLowerCase();\n      var {\n        prototype\n      } = target;\n      var superIsSupportedArgument = prototype['isSupportedArgument'];\n      Object.defineProperty(prototype, 'isSupportedArgument', {\n        configurable: true,\n        enumerable: false,\n        value: function isSupportedArgument(name) {\n          var events = [...ObjectValues(getEventsMap(this.owner)), 'focus-in', 'focus-out', 'key-press', 'key-up', 'key-down'];\n          return this.modernized && events.indexOf(name) !== -1 || superIsSupportedArgument.call(this, name);\n        }\n      });\n      class DeprecatedEventHandlersModifier extends InternalModifier {\n        constructor() {\n          super(...arguments);\n          this.listeners = new Map();\n        }\n        static toString() {\n          return 'DeprecatedEventHandlersModifier';\n        }\n        install() {\n          var {\n            element,\n            component,\n            listenerFor,\n            listeners\n          } = this;\n          var entries = [...ObjectEntries(getEventsMap(this.owner)), ...extraEvents];\n          for (var [event, argument] of entries) {\n            var listener = listenerFor.call(component, event, argument);\n            if (listener) {\n              listeners.set(event, listener);\n              element.addEventListener(event, listener);\n            }\n          }\n          Object.freeze(listeners);\n        }\n        remove() {\n          var {\n            element,\n            listeners\n          } = this;\n          for (var [event, listener] of ObjectEntries(listeners)) {\n            element.removeEventListener(event, listener);\n          }\n          this.listeners = new Map();\n        }\n        get component() {\n          var component = this.positional(0);\n          (true && !(component instanceof target) && (0, _debug.assert)(`[BUG] must pass <${angle}> component as first argument`, component instanceof target));\n          return component;\n        }\n        listenerFor(event, argument) {\n          (true && !(this instanceof target) && (0, _debug.assert)(`[BUG] must be called with <${angle}> component as this`, this instanceof target));\n          if (argument in this.args.named) {\n            (true && !(!(argument in this)) && (0, _debug.deprecate)(`Passing the \\`@${argument}\\` argument to <${angle}> is deprecated. ` + `This would have overwritten the internal \\`${argument}\\` method on ` + `the <${angle}> component and prevented it from functioning properly. ` + `Instead, please use the {{on}} modifier, i.e. \\`<${angle} {{on \"${event}\" ...}} />\\` ` + `instead of \\`<${angle} @${argument}={{...}} />\\` or \\`{{${curly} ${argument}=...}}\\`.`, !(argument in this), {\n              id: 'ember.built-in-components.legacy-attribute-arguments',\n              for: 'ember-source',\n              since: {\n                enabled: '3.27.0'\n              },\n              until: '4.0.0',\n              url: 'https://deprecations.emberjs.com/v3.x#toc_ember-built-in-components-legacy-attribute-arguments'\n            }));\n            (true && !(argument in this) && (0, _debug.deprecate)(`Passing the \\`@${argument}\\` argument to <${angle}> is deprecated. ` + `Instead, please use the {{on}} modifier, i.e. \\`<${angle} {{on \"${event}\" ...}} />\\` ` + `instead of \\`<${angle} @${argument}={{...}} />\\` or \\`{{${curly} ${argument}=...}}\\`.`, argument in this, {\n              id: 'ember.built-in-components.legacy-attribute-arguments',\n              for: 'ember-source',\n              since: {\n                enabled: '3.27.0'\n              },\n              until: '4.0.0',\n              url: 'https://deprecations.emberjs.com/v3.x#toc_ember-built-in-components-legacy-attribute-arguments'\n            }));\n            return this['listenerFor'].call(this, argument);\n          } else {\n            return null;\n          }\n        }\n      }\n      (0, _manager2.setInternalModifierManager)(new InternalModifierManager(DeprecatedEventHandlersModifier, 'deprecated-event-handlers'), DeprecatedEventHandlersModifier);\n      Object.defineProperty(prototype, 'handleDeprecatedEvents', {\n        configurable: true,\n        enumerable: true,\n        value: DeprecatedEventHandlersModifier\n      });\n    };\n  }\n  function jQueryEventShim(target) {\n    if (_deprecatedFeatures.JQUERY_INTEGRATION) {\n      var {\n        prototype\n      } = target;\n      var superListenerFor = prototype['listenerFor'];\n      Object.defineProperty(prototype, 'listenerFor', {\n        configurable: true,\n        enumerable: false,\n        value: function listenerFor(name) {\n          var listener = superListenerFor.call(this, name);\n          if (_views.jQuery && !_views.jQueryDisabled) {\n            return event => listener(new _views.jQuery.Event(event));\n          } else {\n            return listener;\n          }\n        }\n      });\n    }\n  }\n  var __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {\n    var c = arguments.length,\n      r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n      d;\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\n  };\n  var UNINITIALIZED = Object.freeze({});\n  function elementForEvent(event) {\n    (true && !(event.target instanceof HTMLInputElement || event.target instanceof HTMLTextAreaElement) && (0, _debug.assert)('[BUG] event target must be an <input> or <textarea> element', event.target instanceof HTMLInputElement || event.target instanceof HTMLTextAreaElement));\n    return event.target;\n  }\n  function valueForEvent(event) {\n    return elementForEvent(event).value;\n  }\n  function devirtualize(callback) {\n    return event => callback(valueForEvent(event), event);\n  }\n  function valueFrom(reference) {\n    if (reference === undefined) {\n      return new LocalValue(undefined);\n    } else if ((0, _reference.isConstRef)(reference)) {\n      return new LocalValue((0, _reference.valueForRef)(reference));\n    } else if ((0, _reference.isUpdatableRef)(reference)) {\n      return new UpstreamValue(reference);\n    } else {\n      return new ForkedValue(reference);\n    }\n  }\n  class LocalValue {\n    constructor(value) {\n      this.value = value;\n    }\n    get() {\n      return this.value;\n    }\n    set(value) {\n      this.value = value;\n    }\n  }\n  __decorate([_metal.tracked], LocalValue.prototype, \"value\", void 0);\n  class UpstreamValue {\n    constructor(reference) {\n      this.reference = reference;\n    }\n    get() {\n      return (0, _reference.valueForRef)(this.reference);\n    }\n    set(value) {\n      (0, _reference.updateRef)(this.reference, value);\n    }\n  }\n  class ForkedValue {\n    constructor(reference) {\n      this.lastUpstreamValue = UNINITIALIZED;\n      this.upstream = new UpstreamValue(reference);\n    }\n    get() {\n      var upstreamValue = this.upstream.get();\n      if (upstreamValue !== this.lastUpstreamValue) {\n        this.lastUpstreamValue = upstreamValue;\n        this.local = new LocalValue(upstreamValue);\n      }\n      (true && !(this.local) && (0, _debug.assert)('[BUG] this.local must have been initialized at this point', this.local));\n      return this.local.get();\n    }\n    set(value) {\n      (true && !(this.local) && (0, _debug.assert)('[BUG] this.local must have been initialized at this point', this.local));\n      this.local.set(value);\n    }\n  }\n  class AbstractInput extends InternalComponent {\n    constructor() {\n      super(...arguments);\n      this.modernized = this.shouldModernize();\n      this._value = valueFrom(this.args.named.value);\n    }\n    validateArguments() {\n      (true && !(this.args.positional.length === 0) && (0, _debug.assert)(`The ${this.constructor} component does not take any positional arguments`, this.args.positional.length === 0));\n      super.validateArguments();\n    }\n    shouldModernize() {\n      return Boolean(true\n      /* EMBER_MODERNIZED_BUILT_IN_COMPONENTS */) && Component._wasReopened === false && _views.TextSupport._wasReopened === false && _runtime2.TargetActionSupport._wasReopened === false;\n    }\n    get value() {\n      return this._value.get();\n    }\n    set value(value) {\n      this._value.set(value);\n    }\n    valueDidChange(event) {\n      this.value = valueForEvent(event);\n    }\n    /**\n     * The `change` and `input` actions need to be overridden in the `Input`\n     * subclass. Unfortunately, some ember-source builds currently uses babel\n     * loose mode to transpile its classes. Having the `@action` decorator on the\n     * super class creates a getter on the prototype, and when the subclass\n     * overrides the method, the loose mode transpilation would emit something\n     * like `Subclass.prototype['change'] = function change() { ... }`, which\n     * fails because `prototype['change']` is getter-only/readonly. The correct\n     * solution is to use `Object.defineProperty(prototype, 'change', ...)` but\n     * that requires disabling loose mode. For now, the workaround is to add the\n     * decorator only on the subclass. This is more of a configuration issue on\n     * our own builds and doesn't really affect apps.\n     */\n\n    /* @action */\n\n    change(event) {\n      this.valueDidChange(event);\n    }\n    /* @action */\n\n    input(event) {\n      this.valueDidChange(event);\n    }\n    keyUp(event) {\n      switch (event.key) {\n        case 'Enter':\n          this.listenerFor('enter')(event);\n          this.listenerFor('insert-newline')(event);\n          break;\n        case 'Escape':\n          this.listenerFor('escape-press')(event);\n          break;\n      }\n    }\n    listenerFor(name) {\n      var listener = super.listenerFor(name);\n      if (this.isVirtualEventListener(name, listener)) {\n        return devirtualize(listener);\n      } else {\n        return listener;\n      }\n    }\n    isVirtualEventListener(name, _listener) {\n      var virtualEvents = ['enter', 'insert-newline', 'escape-press'];\n      return virtualEvents.indexOf(name) !== -1;\n    }\n  }\n  __decorate([_object.action], AbstractInput.prototype, \"valueDidChange\", null);\n  __decorate([_object.action], AbstractInput.prototype, \"keyUp\", null);\n  function handleDeprecatedFeatures(target, attributeBindings) {\n    if (_deprecatedFeatures.SEND_ACTION) {\n      var angle = target.toString();\n      var {\n        prototype\n      } = target;\n      var isView = target => {\n        return typeof target.send === 'function';\n      };\n      var superListenerFor = prototype['listenerFor'];\n      Object.defineProperty(prototype, 'listenerFor', {\n        configurable: true,\n        enumerable: false,\n        value: function listenerFor(name) {\n          var actionName = this.named(name);\n          if (typeof actionName === 'string') {\n            (true && !(false) && (0, _debug.deprecate)(`Passing actions to components as strings (like \\`<${angle} @${name}=\"${actionName}\" />\\`) is deprecated. ` + `Please use closure actions instead (\\`<${angle} @${name}={{action \"${actionName}\"}} />\\`).`, false, {\n              id: 'ember-component.send-action',\n              for: 'ember-source',\n              since: {},\n              until: '4.0.0',\n              url: 'https://deprecations.emberjs.com/v3.x#toc_ember-component-send-action'\n            }));\n            var {\n              caller\n            } = this;\n            (true && !(caller && typeof caller === 'object') && (0, _debug.assert)('[BUG] missing caller', caller && typeof caller === 'object'));\n            var listener;\n            if (isView(caller)) {\n              listener = (...args) => caller.send(actionName, ...args);\n            } else {\n              (true && !(typeof caller[actionName] === 'function') && (0, _debug.assert)(`The action '${actionName}' did not exist on ${caller}`, typeof caller[actionName] === 'function'));\n              listener = caller[actionName];\n            }\n            var deprecatedListener = (...args) => {\n              (true && !(false) && (0, _debug.deprecate)(`Passing actions to components as strings (like \\`<${angle} @${name}=\"${actionName}\" />\\`) is deprecated. ` + `Please use closure actions instead (\\`<${angle} @${name}={{action \"${actionName}\"}} />\\`).`, false, {\n                id: 'ember-component.send-action',\n                for: 'ember-source',\n                since: {},\n                until: '4.0.0',\n                url: 'https://deprecations.emberjs.com/v3.x#toc_ember-component-send-action'\n              }));\n              return listener(...args);\n            };\n            if (this.isVirtualEventListener(name, deprecatedListener)) {\n              return devirtualize(deprecatedListener);\n            } else {\n              return deprecatedListener;\n            }\n          } else {\n            return superListenerFor.call(this, name);\n          }\n        }\n      });\n    }\n    {\n      var {\n        prototype: _prototype\n      } = target;\n      var virtualEvents = {\n        focusin: 'focus-in',\n        focusout: 'focus-out',\n        keypress: 'key-press',\n        keyup: 'key-up',\n        keydown: 'key-down'\n      };\n      handleDeprecatedArguments(target);\n      handleDeprecatedAttributeArguments(target, attributeBindings);\n      handleDeprecatedEventArguments(target, ObjectEntries(virtualEvents));\n      {\n        var superIsVirtualEventListener = _prototype['isVirtualEventListener'];\n        Object.defineProperty(_prototype, 'isVirtualEventListener', {\n          configurable: true,\n          enumerable: false,\n          value: function isVirtualEventListener(name, listener) {\n            return ObjectValues(virtualEvents).indexOf(name) !== -1 || superIsVirtualEventListener.call(this, name, listener);\n          }\n        });\n      }\n    }\n    if (_deprecatedFeatures.JQUERY_INTEGRATION) {\n      jQueryEventShim(target);\n    }\n  }\n  var __decorate$1 = undefined && undefined.__decorate || function (decorators, target, key, desc) {\n    var c = arguments.length,\n      r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n      d;\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\n  };\n  var isValidInputType;\n  if (_browserEnvironment.hasDOM && true\n  /* EMBER_MODERNIZED_BUILT_IN_COMPONENTS */) {\n    var INPUT_TYPES = Object.create(null);\n    var INPUT_ELEMENT = document.createElement('input');\n    INPUT_TYPES[''] = false;\n    INPUT_TYPES['text'] = true;\n    INPUT_TYPES['checkbox'] = true;\n    isValidInputType = type => {\n      var isValid = INPUT_TYPES[type];\n      if (isValid === undefined) {\n        try {\n          INPUT_ELEMENT.type = type;\n          isValid = INPUT_ELEMENT.type === type;\n        } catch (e) {\n          isValid = false;\n        } finally {\n          INPUT_ELEMENT.type = 'text';\n        }\n        INPUT_TYPES[type] = isValid;\n      }\n      return isValid;\n    };\n  } else {\n    isValidInputType = type => type !== '';\n  }\n  /**\n    See [Ember.Templates.components.Input](/ember/release/classes/Ember.Templates.components/methods/Input?anchor=Input).\n  \n    @method input\n    @for Ember.Templates.helpers\n    @param {Hash} options\n    @public\n    */\n\n  /**\n    The `Input` component lets you create an HTML `<input>` element.\n  \n    ```handlebars\n    <Input @value=\"987\" />\n    ```\n  \n    creates an `<input>` element with `type=\"text\"` and value set to 987.\n  \n    ### Text field\n  \n    If no `type` argument is specified, a default of type 'text' is used.\n  \n    ```handlebars\n    Search:\n    <Input @value={{this.searchWord}} />\n    ```\n  \n    In this example, the initial value in the `<input>` will be set to the value of\n    `this.searchWord`. If the user changes the text, the value of `this.searchWord` will also be\n    updated.\n  \n    ### Actions\n  \n    The `Input` component takes a number of arguments with callbacks that are invoked in response to\n    user events.\n  \n    * `enter`\n    * `insert-newline`\n    * `escape-press`\n    * `focus-in`\n    * `focus-out`\n    * `key-down`\n    * `key-press`\n    * `key-up`\n  \n    These callbacks are passed to `Input` like this:\n  \n    ```handlebars\n    <Input @value={{this.searchWord}} @enter={{this.query}} />\n    ```\n  \n    Starting with Ember Octane, we recommend using the `{{on}}` modifier to call actions\n    on specific events, such as the input event.\n  \n    ```handlebars\n    <label for=\"input-name\">Name:</label>\n    <Input\n      @id=\"input-name\"\n      @value={{this.name}}\n      {{on \"input\" this.validateName}}\n    />\n    ```\n  \n    The event name (e.g. `focusout`, `input`, `keydown`) always follows the casing\n    that the HTML standard uses.\n  \n    ### `<input>` HTML Attributes to Avoid\n  \n    In most cases, if you want to pass an attribute to the underlying HTML `<input>` element, you\n    can pass the attribute directly, just like any other Ember component.\n  \n    ```handlebars\n    <Input @type=\"text\" size=\"10\" />\n    ```\n  \n    In this example, the `size` attribute will be applied to the underlying `<input>` element in the\n    outputted HTML.\n  \n    However, there are a few attributes where you **must** use the `@` version.\n  \n    * `@type`: This argument is used to control which Ember component is used under the hood\n    * `@value`: The `@value` argument installs a two-way binding onto the element. If you wanted a\n      one-way binding, use `<input>` with the `value` property and the `input` event instead.\n    * `@checked` (for checkboxes): like `@value`, the `@checked` argument installs a two-way binding\n      onto the element. If you wanted a one-way binding, use `<input type=\"checkbox\">` with\n      `checked` and the `input` event instead.\n  \n    ### Extending `TextField`\n  \n    Internally, `<Input @type=\"text\" />` creates an instance of `TextField`, passing arguments from\n    the helper to `TextField`'s `create` method. Subclassing `TextField` is supported but not\n    recommended.\n  \n    See [TextField](/ember/release/classes/TextField)\n  \n    ### Checkbox\n  \n    To create an `<input type=\"checkbox\">`:\n  \n    ```handlebars\n    Emberize Everything:\n    <Input @type=\"checkbox\" @checked={{this.isEmberized}} name=\"isEmberized\" />\n    ```\n  \n    This will bind the checked state of this checkbox to the value of `isEmberized` -- if either one\n    changes, it will be reflected in the other.\n  \n    ### Extending `Checkbox`\n  \n    Internally, `<Input @type=\"checkbox\" />` creates an instance of `Checkbox`. Subclassing\n    `TextField` is supported but not recommended.\n  \n    See [Checkbox](/ember/release/classes/Checkbox)\n  \n    @method Input\n    @for Ember.Templates.components\n    @see {TextField}\n    @see {Checkbox}\n    @param {Hash} options\n    @public\n  */\n\n  class Input extends AbstractInput {\n    constructor() {\n      super(...arguments);\n      this._checked = valueFrom(this.args.named.checked);\n    }\n    static toString() {\n      return 'Input';\n    }\n    /**\n     * The HTML class attribute.\n     */\n\n    get class() {\n      if (this.isCheckbox) {\n        return 'ember-checkbox ember-view';\n      } else {\n        return 'ember-text-field ember-view';\n      }\n    }\n    /**\n     * The HTML type attribute.\n     */\n\n    get type() {\n      var type = this.named('type');\n      if (type === null || type === undefined) {\n        return 'text';\n      }\n      (true && !(typeof type === 'string') && (0, _debug.assert)('The `@type` argument to the <Input> component must be a string', typeof type === 'string'));\n      return isValidInputType(type) ? type : 'text';\n    }\n    get isCheckbox() {\n      return this.named('type') === 'checkbox';\n    }\n    get checked() {\n      if (this.isCheckbox) {\n        (true && (0, _debug.warn)('`<Input @type=\"checkbox\" />` reflects its checked state via the `@checked` argument. ' + 'You wrote `<Input @type=\"checkbox\" @value={{...}} />` which is likely not what you intended. ' + 'Did you mean `<Input @type=\"checkbox\" @checked={{...}} />`?', (0, _validator.untrack)(() => this.args.named.checked !== undefined || this.args.named.value === undefined || typeof (0, _reference.valueForRef)(this.args.named.value) === 'string'), {\n          id: 'ember.built-in-components.input-checkbox-value'\n        }));\n        return this._checked.get();\n      } else {\n        return undefined;\n      }\n    }\n    set checked(checked) {\n      (true && (0, _debug.warn)('`<Input @type=\"checkbox\" />` reflects its checked state via the `@checked` argument. ' + 'You wrote `<Input @type=\"checkbox\" @value={{...}} />` which is likely not what you intended. ' + 'Did you mean `<Input @type=\"checkbox\" @checked={{...}} />`?', (0, _validator.untrack)(() => this.args.named.checked !== undefined || this.args.named.value === undefined || typeof (0, _reference.valueForRef)(this.args.named.value) === 'string'), {\n        id: 'ember.built-in-components.input-checkbox-value'\n      }));\n      this._checked.set(checked);\n    }\n    change(event) {\n      if (this.isCheckbox) {\n        this.checkedDidChange(event);\n      } else {\n        super.change(event);\n      }\n    }\n    input(event) {\n      if (!this.isCheckbox) {\n        super.input(event);\n      }\n    }\n    checkedDidChange(event) {\n      var element = event.target;\n      (true && !(element instanceof HTMLInputElement) && (0, _debug.assert)('[BUG] element must be an <input>', element instanceof HTMLInputElement));\n      this.checked = element.checked;\n    }\n    shouldModernize() {\n      return super.shouldModernize() && TextField._wasReopened === false && Checkbox._wasReopened === false;\n    }\n    isSupportedArgument(name) {\n      var supportedArguments = ['type', 'value', 'checked', 'enter', 'insert-newline', 'escape-press'];\n      return supportedArguments.indexOf(name) !== -1 || super.isSupportedArgument(name);\n    }\n  }\n  __decorate$1([_object.action], Input.prototype, \"change\", null);\n  __decorate$1([_object.action], Input.prototype, \"input\", null);\n  __decorate$1([_object.action], Input.prototype, \"checkedDidChange\", null);\n  {\n    handleDeprecatedFeatures(Input, [\n    // Component\n    'id', ['id', 'elementId'], 'class', ['class', 'classNames'], ['role', 'ariaRole'],\n    // TextSupport\n    'autocapitalize', 'autocorrect', 'autofocus', 'disabled', 'form', 'maxlength', 'minlength', 'placeholder', 'readonly', 'required', 'selectionDirection', 'spellcheck', 'tabindex', 'title',\n    // TextField\n    'accept', 'autocomplete', 'autosave', 'dir', 'formaction', 'formenctype', 'formmethod', 'formnovalidate', 'formtarget', 'height', 'inputmode', 'lang', 'list', 'max', 'min', 'multiple', 'name', 'pattern', 'size', 'step', 'width',\n    // Checkbox\n    'indeterminate']);\n  }\n  var Input$1 = _exports.Input = opaquify(Input, InputTemplate);\n  var TextareaTemplate = (0, _opcodeCompiler.templateFactory)({\n    \"id\": \"mmUstqaU\",\n    \"block\": \"[[[41,[30,0,[\\\"modernized\\\"]],[[[11,\\\"textarea\\\"],[16,1,[30,0,[\\\"id\\\"]]],[16,0,[30,0,[\\\"class\\\"]]],[16,\\\"role\\\",[30,0,[\\\"role\\\"]]],[16,\\\"autocapitalize\\\",[30,0,[\\\"autocapitalize\\\"]]],[16,\\\"autocorrect\\\",[30,0,[\\\"autocorrect\\\"]]],[16,\\\"autofocus\\\",[30,0,[\\\"autofocus\\\"]]],[16,\\\"disabled\\\",[30,0,[\\\"disabled\\\"]]],[16,\\\"form\\\",[30,0,[\\\"form\\\"]]],[16,\\\"maxlength\\\",[30,0,[\\\"maxlength\\\"]]],[16,\\\"minlength\\\",[30,0,[\\\"minlength\\\"]]],[16,\\\"placeholder\\\",[30,0,[\\\"placeholder\\\"]]],[16,\\\"readonly\\\",[30,0,[\\\"readonly\\\"]]],[16,\\\"required\\\",[30,0,[\\\"required\\\"]]],[16,\\\"selectionDirection\\\",[30,0,[\\\"selectionDirection\\\"]]],[16,\\\"spellcheck\\\",[30,0,[\\\"spellcheck\\\"]]],[16,\\\"tabindex\\\",[30,0,[\\\"tabindex\\\"]]],[16,\\\"title\\\",[30,0,[\\\"title\\\"]]],[16,\\\"rows\\\",[30,0,[\\\"rows\\\"]]],[16,\\\"cols\\\",[30,0,[\\\"cols\\\"]]],[16,3,[30,0,[\\\"name\\\"]]],[16,\\\"selectionEnd\\\",[30,0,[\\\"selectionEnd\\\"]]],[16,\\\"selectionStart\\\",[30,0,[\\\"selectionStart\\\"]]],[16,\\\"autocomplete\\\",[30,0,[\\\"autocomplete\\\"]]],[16,\\\"wrap\\\",[30,0,[\\\"wrap\\\"]]],[16,\\\"lang\\\",[30,0,[\\\"lang\\\"]]],[16,\\\"dir\\\",[30,0,[\\\"dir\\\"]]],[17,1],[16,2,[30,0,[\\\"value\\\"]]],[4,[38,1],[\\\"change\\\",[30,0,[\\\"change\\\"]]],null],[4,[38,1],[\\\"input\\\",[30,0,[\\\"input\\\"]]],null],[4,[38,1],[\\\"keyup\\\",[30,0,[\\\"keyUp\\\"]]],null],[4,[38,1],[\\\"paste\\\",[30,0,[\\\"valueDidChange\\\"]]],null],[4,[38,1],[\\\"cut\\\",[30,0,[\\\"valueDidChange\\\"]]],null],[4,[30,0,[\\\"handleDeprecatedEvents\\\"]],[[30,0]],null],[12],[13]],[]],[[[44,[[50,\\\"-textarea\\\",0,null,null]],[[[8,[30,2],[[17,1]],[[\\\"@target\\\",\\\"@__ARGS__\\\"],[[30,0,[\\\"caller\\\"]],[30,0,[\\\"args\\\"]]]],null]],[2]]]],[]]]],[\\\"&attrs\\\",\\\"Textarea\\\"],false,[\\\"if\\\",\\\"on\\\",\\\"let\\\",\\\"component\\\"]]\",\n    \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/textarea.hbs\",\n    \"isStrictMode\": false\n  });\n  var __decorate$2 = undefined && undefined.__decorate || function (decorators, target, key, desc) {\n    var c = arguments.length,\n      r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n      d;\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\n  };\n  /**\n    The `Textarea` component inserts a new instance of `<textarea>` tag into the template.\n  \n    The `@value` argument provides the content of the `<textarea>`.\n  \n    This template:\n  \n    ```handlebars\n    <Textarea @value=\"A bunch of text\" />\n    ```\n  \n    Would result in the following HTML:\n  \n    ```html\n    <textarea class=\"ember-text-area\">\n      A bunch of text\n    </textarea>\n    ```\n  \n    The `@value` argument is two-way bound. If the user types text into the textarea, the `@value`\n    argument is updated. If the `@value` argument is updated, the text in the textarea is updated.\n  \n    In the following example, the `writtenWords` property on the component will be updated as the user\n    types 'Lots of text' into the text area of their browser's window.\n  \n    ```app/components/word-editor.js\n    import Component from '@glimmer/component';\n    import { tracked } from '@glimmer/tracking';\n  \n    export default class WordEditorComponent extends Component {\n      @tracked writtenWords = \"Lots of text that IS bound\";\n    }\n    ```\n  \n    ```handlebars\n    <Textarea @value={{writtenWords}} />\n    ```\n  \n    Would result in the following HTML:\n  \n    ```html\n    <textarea class=\"ember-text-area\">\n      Lots of text that IS bound\n    </textarea>\n    ```\n  \n    If you wanted a one way binding, you could use the `<textarea>` element directly, and use the\n    `value` DOM property and the `input` event.\n  \n    ### Actions\n  \n    The `Textarea` component takes a number of arguments with callbacks that are invoked in\n    response to user events.\n  \n    * `enter`\n    * `insert-newline`\n    * `escape-press`\n    * `focus-in`\n    * `focus-out`\n    * `key-press`\n  \n    These callbacks are passed to `Textarea` like this:\n  \n    ```handlebars\n    <Textarea @value={{this.searchWord}} @enter={{this.query}} />\n    ```\n  \n    ## Classic Invocation Syntax\n  \n    The `Textarea` component can also be invoked using curly braces, just like any other Ember\n    component.\n  \n    For example, this is an invocation using angle-bracket notation:\n  \n    ```handlebars\n    <Textarea @value={{this.searchWord}} @enter={{this.query}} />\n    ```\n  \n    You could accomplish the same thing using classic invocation:\n  \n    ```handlebars\n    {{textarea value=this.searchWord enter=this.query}}\n    ```\n  \n    The main difference is that angle-bracket invocation supports any HTML attribute using HTML\n    attribute syntax, because attributes and arguments have different syntax when using angle-bracket\n    invocation. Curly brace invocation, on the other hand, only has a single syntax for arguments,\n    and components must manually map attributes onto component arguments.\n  \n    When using classic invocation with `{{textarea}}`, only the following attributes are mapped onto\n    arguments:\n  \n    * rows\n    * cols\n    * name\n    * selectionEnd\n    * selectionStart\n    * autocomplete\n    * wrap\n    * lang\n    * dir\n    * value\n  \n    ## Classic `layout` and `layoutName` properties\n  \n    Because HTML `textarea` elements do not contain inner HTML the `layout` and\n    `layoutName` properties will not be applied.\n  \n    @method Textarea\n    @for Ember.Templates.components\n    @see {TextArea}\n    @public\n  */\n\n  /**\n    See Ember.Templates.components.Textarea.\n  \n    @method textarea\n    @for Ember.Templates.helpers\n    @see {Ember.Templates.components.textarea}\n    @public\n  */\n\n  class Textarea extends AbstractInput {\n    static toString() {\n      return 'Textarea';\n    }\n    get class() {\n      return 'ember-text-area ember-view';\n    } // See abstract-input.ts for why these are needed\n\n    change(event) {\n      super.change(event);\n    }\n    input(event) {\n      super.input(event);\n    }\n    shouldModernize() {\n      return super.shouldModernize() && TextArea._wasReopened === false;\n    }\n    isSupportedArgument(name) {\n      var supportedArguments = ['type', 'value', 'enter', 'insert-newline', 'escape-press'];\n      return supportedArguments.indexOf(name) !== -1 || super.isSupportedArgument(name);\n    }\n  }\n  __decorate$2([_object.action], Textarea.prototype, \"change\", null);\n  __decorate$2([_object.action], Textarea.prototype, \"input\", null); // Deprecated features\n\n  {\n    handleDeprecatedFeatures(Textarea, [\n    // Component\n    'id', ['id', 'elementId'], 'class', ['class', 'classNames'], ['role', 'ariaRole'],\n    // TextSupport\n    'autocapitalize', 'autocorrect', 'autofocus', 'disabled', 'form', 'maxlength', 'minlength', 'placeholder', 'readonly', 'required', 'selectionDirection', 'spellcheck', 'tabindex', 'title',\n    // TextField\n    'rows', 'cols', 'name', 'selectionEnd', 'selectionStart', 'autocomplete', 'wrap', 'lang', 'dir']);\n  }\n  var Textarea$1 = _exports.Textarea = opaquify(Textarea, TextareaTemplate);\n\n  /**\n  @module @ember/component\n  */\n  var RECOMPUTE_TAG = (0, _utils.symbol)('RECOMPUTE_TAG');\n  /**\n    Ember Helpers are functions that can compute values, and are used in templates.\n    For example, this code calls a helper named `format-currency`:\n  \n    ```app/templates/application.hbs\n    <Cost @cents={{230}} />\n    ```\n  \n    ```app/components/cost.hbs\n    <div>{{format-currency @cents currency=\"$\"}}</div>\n    ```\n  \n    Additionally a helper can be called as a nested helper.\n    In this example, we show the formatted currency value if the `showMoney`\n    named argument is truthy.\n  \n    ```handlebars\n    {{if @showMoney (format-currency @cents currency=\"$\")}}\n    ```\n  \n    Helpers defined using a class must provide a `compute` function. For example:\n  \n    ```app/helpers/format-currency.js\n    import Helper from '@ember/component/helper';\n  \n    export default class extends Helper {\n      compute([cents], { currency }) {\n        return `${currency}${cents * 0.01}`;\n      }\n    }\n    ```\n  \n    Each time the input to a helper changes, the `compute` function will be\n    called again.\n  \n    As instances, these helpers also have access to the container and will accept\n    injected dependencies.\n  \n    Additionally, class helpers can call `recompute` to force a new computation.\n  \n    @class Helper\n    @public\n    @since 1.13.0\n  */\n\n  var Helper = _exports.Helper = _runtime2.FrameworkObject.extend({\n    init() {\n      this._super(...arguments);\n      this[RECOMPUTE_TAG] = (0, _validator.createTag)();\n    },\n    /**\n      On a class-based helper, it may be useful to force a recomputation of that\n      helpers value. This is akin to `rerender` on a component.\n         For example, this component will rerender when the `currentUser` on a\n      session service changes:\n         ```app/helpers/current-user-email.js\n      import Helper from '@ember/component/helper'\n      import { inject as service } from '@ember/service'\n      import { observer } from '@ember/object'\n         export default Helper.extend({\n        session: service(),\n           onNewUser: observer('session.currentUser', function() {\n          this.recompute();\n        }),\n           compute() {\n          return this.get('session.currentUser.email');\n        }\n      });\n      ```\n         @method recompute\n      @public\n      @since 1.13.0\n    */\n    recompute() {\n      (0, _runloop.join)(() => (0, _validator.dirtyTag)(this[RECOMPUTE_TAG]));\n    }\n  });\n  var IS_CLASSIC_HELPER = (0, _utils.symbol)('IS_CLASSIC_HELPER');\n  Helper.isHelperFactory = true;\n  Helper[IS_CLASSIC_HELPER] = true;\n  function isClassicHelper(obj) {\n    return obj[IS_CLASSIC_HELPER] === true;\n  }\n  class ClassicHelperManager {\n    constructor(owner) {\n      this.capabilities = (0, _manager2.helperCapabilities)('3.23', {\n        hasValue: true,\n        hasDestroyable: true\n      });\n      var ownerInjection = {};\n      (0, _owner2.setOwner)(ownerInjection, owner);\n      this.ownerInjection = ownerInjection;\n    }\n    createHelper(definition, args) {\n      var instance = definition.class === undefined ? definition.create(this.ownerInjection) : definition.create();\n      return {\n        instance,\n        args\n      };\n    }\n    getDestroyable({\n      instance\n    }) {\n      return instance;\n    }\n    getValue({\n      instance,\n      args\n    }) {\n      var ret;\n      var {\n        positional,\n        named\n      } = args;\n      if (true /* DEBUG */) {\n        (0, _validator.deprecateMutationsInTrackingTransaction)(() => {\n          ret = instance.compute(positional, named);\n        });\n      } else {\n        ret = instance.compute(positional, named);\n      }\n      (0, _validator.consumeTag)(instance[RECOMPUTE_TAG]);\n      return ret;\n    }\n    getDebugName(definition) {\n      return (0, _utils.getDebugName)((definition.class || definition)['prototype']);\n    }\n  }\n  (0, _manager2.setHelperManager)(owner => {\n    return new ClassicHelperManager(owner);\n  }, Helper);\n  var CLASSIC_HELPER_MANAGER = (0, _manager2.getInternalHelperManager)(Helper); ///////////\n\n  class Wrapper {\n    constructor(compute) {\n      this.compute = compute;\n      this.isHelperFactory = true;\n    }\n    create() {\n      // needs new instance or will leak containers\n      return {\n        compute: this.compute\n      };\n    }\n  }\n  class SimpleClassicHelperManager {\n    constructor() {\n      this.capabilities = (0, _manager2.helperCapabilities)('3.23', {\n        hasValue: true\n      });\n    }\n    createHelper(definition, args) {\n      var {\n        compute\n      } = definition;\n      if (true /* DEBUG */) {\n        return () => {\n          var ret;\n          (0, _validator.deprecateMutationsInTrackingTransaction)(() => {\n            ret = compute.call(null, args.positional, args.named);\n          });\n          return ret;\n        };\n      }\n      return () => compute.call(null, args.positional, args.named);\n    }\n    getValue(fn$$1) {\n      return fn$$1();\n    }\n    getDebugName(definition) {\n      return (0, _utils.getDebugName)(definition.compute);\n    }\n  }\n  var SIMPLE_CLASSIC_HELPER_MANAGER = new SimpleClassicHelperManager();\n  (0, _manager2.setHelperManager)(() => SIMPLE_CLASSIC_HELPER_MANAGER, Wrapper.prototype);\n  /**\n    In many cases it is not necessary to use the full `Helper` class.\n    The `helper` method create pure-function helpers without instances.\n    For example:\n  \n    ```app/helpers/format-currency.js\n    import { helper } from '@ember/component/helper';\n  \n    export default helper(function([cents], {currency}) {\n      return `${currency}${cents * 0.01}`;\n    });\n    ```\n  \n    @static\n    @param {Function} helper The helper function\n    @method helper\n    @for @ember/component/helper\n    @public\n    @since 1.13.0\n  */\n\n  function helper(helperFn) {\n    return new Wrapper(helperFn);\n  }\n  function instrumentationPayload(def) {\n    return {\n      object: `${def.name}:${def.outlet}`\n    };\n  }\n  var CAPABILITIES$1 = {\n    dynamicLayout: false,\n    dynamicTag: false,\n    prepareArgs: false,\n    createArgs: false,\n    attributeHook: false,\n    elementHook: false,\n    createCaller: false,\n    dynamicScope: true,\n    updateHook: false,\n    createInstance: true,\n    wrapped: false,\n    willDestroy: false,\n    hasSubOwner: false\n  };\n  class OutletComponentManager {\n    create(_owner, definition, _args, env, dynamicScope) {\n      var parentStateRef = dynamicScope.get('outletState');\n      var currentStateRef = definition.ref;\n      dynamicScope.set('outletState', currentStateRef);\n      var state = {\n        self: (0, _reference.createConstRef)(definition.controller, 'this'),\n        finalize: (0, _instrumentation._instrumentStart)('render.outlet', instrumentationPayload, definition)\n      };\n      if (env.debugRenderTree !== undefined) {\n        state.outlet = {\n          name: definition.outlet\n        };\n        var parentState = (0, _reference.valueForRef)(parentStateRef);\n        var parentOwner = parentState && parentState.render && parentState.render.owner;\n        var currentOwner = (0, _reference.valueForRef)(currentStateRef).render.owner;\n        if (parentOwner && parentOwner !== currentOwner) {\n          var engine = currentOwner;\n          (true && !(typeof currentOwner.mountPoint === 'string') && (0, _debug.assert)('invalid engine: missing mountPoint', typeof currentOwner.mountPoint === 'string'));\n          (true && !(currentOwner.routable === true) && (0, _debug.assert)('invalid engine: missing routable', currentOwner.routable === true));\n          var mountPoint = engine.mountPoint;\n          state.engine = engine;\n          state.engineBucket = {\n            mountPoint\n          };\n        }\n      }\n      return state;\n    }\n    getDebugName({\n      name\n    }) {\n      return name;\n    }\n    getDebugCustomRenderTree(definition, state, args) {\n      var nodes = [];\n      if (state.outlet) {\n        nodes.push({\n          bucket: state.outlet,\n          type: 'outlet',\n          name: state.outlet.name,\n          args: _runtime.EMPTY_ARGS,\n          instance: undefined,\n          template: undefined\n        });\n      }\n      if (state.engineBucket) {\n        nodes.push({\n          bucket: state.engineBucket,\n          type: 'engine',\n          name: state.engineBucket.mountPoint,\n          args: _runtime.EMPTY_ARGS,\n          instance: state.engine,\n          template: undefined\n        });\n      }\n      nodes.push({\n        bucket: state,\n        type: 'route-template',\n        name: definition.name,\n        args: args,\n        instance: definition.controller,\n        template: (0, _util.unwrapTemplate)(definition.template).moduleName\n      });\n      return nodes;\n    }\n    getCapabilities() {\n      return CAPABILITIES$1;\n    }\n    getSelf({\n      self\n    }) {\n      return self;\n    }\n    didCreate() {}\n    didUpdate() {}\n    didRenderLayout(state) {\n      state.finalize();\n    }\n    didUpdateLayout() {}\n    getDestroyable() {\n      return null;\n    }\n  }\n  var OUTLET_MANAGER = new OutletComponentManager();\n  class OutletComponentDefinition {\n    constructor(state, manager = OUTLET_MANAGER) {\n      this.state = state;\n      this.manager = manager; // handle is not used by this custom definition\n\n      this.handle = -1;\n      var capabilities = manager.getCapabilities();\n      this.capabilities = (0, _manager2.capabilityFlagsFrom)(capabilities);\n      this.compilable = capabilities.wrapped ? (0, _util.unwrapTemplate)(state.template).asWrappedLayout() : (0, _util.unwrapTemplate)(state.template).asLayout();\n      this.resolvedName = state.name;\n    }\n  }\n  function createRootOutlet(outletView) {\n    if (_environment2.ENV._APPLICATION_TEMPLATE_WRAPPER) {\n      var WRAPPED_CAPABILITIES = (0, _polyfills.assign)({}, CAPABILITIES$1, {\n        dynamicTag: true,\n        elementHook: true,\n        wrapped: true\n      });\n      var WrappedOutletComponentManager = class extends OutletComponentManager {\n        getTagName() {\n          return 'div';\n        }\n        getCapabilities() {\n          return WRAPPED_CAPABILITIES;\n        }\n        didCreateElement(component, element) {\n          // to add GUID id and class\n          element.setAttribute('class', 'ember-view');\n          element.setAttribute('id', (0, _utils.guidFor)(component));\n        }\n      };\n      var WRAPPED_OUTLET_MANAGER = new WrappedOutletComponentManager();\n      return new OutletComponentDefinition(outletView.state, WRAPPED_OUTLET_MANAGER);\n    } else {\n      return new OutletComponentDefinition(outletView.state);\n    }\n  }\n  class RootComponentManager extends CurlyComponentManager {\n    constructor(component) {\n      super();\n      this.component = component;\n    }\n    create(_owner, _state, _args, {\n      isInteractive\n    }, dynamicScope) {\n      var component = this.component;\n      var finalizer = (0, _instrumentation._instrumentStart)('render.component', initialRenderInstrumentDetails, component);\n      dynamicScope.view = component;\n      var hasWrappedElement = component.tagName !== ''; // We usually do this in the `didCreateElement`, but that hook doesn't fire for tagless components\n\n      if (!hasWrappedElement) {\n        if (isInteractive) {\n          component.trigger('willRender');\n        }\n        component._transitionTo('hasElement');\n        if (isInteractive) {\n          component.trigger('willInsertElement');\n        }\n      }\n      if (true /* DEBUG */) {\n        processComponentInitializationAssertions(component, {});\n      }\n      var bucket = new ComponentStateBucket(component, null, _validator.CONSTANT_TAG, finalizer, hasWrappedElement, isInteractive);\n      (0, _validator.consumeTag)(component[DIRTY_TAG]);\n      return bucket;\n    }\n  } // ROOT is the top-level template it has nothing but one yield.\n  // it is supposed to have a dummy element\n\n  var ROOT_CAPABILITIES = {\n    dynamicLayout: true,\n    dynamicTag: true,\n    prepareArgs: false,\n    createArgs: false,\n    attributeHook: true,\n    elementHook: true,\n    createCaller: true,\n    dynamicScope: true,\n    updateHook: true,\n    createInstance: true,\n    wrapped: true,\n    willDestroy: false,\n    hasSubOwner: false\n  };\n  class RootComponentDefinition {\n    constructor(component) {\n      // handle is not used by this custom definition\n      this.handle = -1;\n      this.resolvedName = '-top-level';\n      this.capabilities = (0, _manager2.capabilityFlagsFrom)(ROOT_CAPABILITIES);\n      this.compilable = null;\n      this.manager = new RootComponentManager(component);\n      this.state = (0, _container.getFactoryFor)(component);\n    }\n  }\n\n  /**\n  @module ember\n  */\n  /**\n    The `{{#each}}` helper loops over elements in a collection. It is an extension\n    of the base Handlebars `{{#each}}` helper.\n  \n    The default behavior of `{{#each}}` is to yield its inner block once for every\n    item in an array passing the item as the first block parameter.\n  \n    Assuming the `@developers` argument contains this array:\n  \n    ```javascript\n    [{ name: 'Yehuda' },{ name: 'Tom' }, { name: 'Paul' }];\n    ```\n  \n    ```handlebars\n    <ul>\n      {{#each @developers as |person|}}\n        <li>Hello, {{person.name}}!</li>\n      {{/each}}\n    </ul>\n    ```\n  \n    The same rules apply to arrays of primitives.\n  \n    ```javascript\n    ['Yehuda', 'Tom', 'Paul']\n    ```\n  \n    ```handlebars\n    <ul>\n      {{#each @developerNames as |name|}}\n        <li>Hello, {{name}}!</li>\n      {{/each}}\n    </ul>\n    ```\n  \n    During iteration, the index of each item in the array is provided as a second block\n    parameter.\n  \n    ```handlebars\n    <ul>\n      {{#each @developers as |person index|}}\n        <li>Hello, {{person.name}}! You're number {{index}} in line</li>\n      {{/each}}\n    </ul>\n    ```\n  \n    ### Specifying Keys\n  \n    In order to improve rendering speed, Ember will try to reuse the DOM elements\n    where possible. Specifically, if the same item is present in the array both\n    before and after the change, its DOM output will be reused.\n  \n    The `key` option is used to tell Ember how to determine if the items in the\n    array being iterated over with `{{#each}}` has changed between renders. By\n    default the item's object identity is used.\n  \n    This is usually sufficient, so in most cases, the `key` option is simply not\n    needed. However, in some rare cases, the objects' identities may change even\n    though they represent the same underlying data.\n  \n    For example:\n  \n    ```javascript\n    people.map(person => {\n      return { ...person, type: 'developer' };\n    });\n    ```\n  \n    In this case, each time the `people` array is `map`-ed over, it will produce\n    an new array with completely different objects between renders. In these cases,\n    you can help Ember determine how these objects related to each other with the\n    `key` option:\n  \n    ```handlebars\n    <ul>\n      {{#each @developers key=\"name\" as |person|}}\n        <li>Hello, {{person.name}}!</li>\n      {{/each}}\n    </ul>\n    ```\n  \n    By doing so, Ember will use the value of the property specified (`person.name`\n    in the example) to find a \"match\" from the previous render. That is, if Ember\n    has previously seen an object from the `@developers` array with a matching\n    name, its DOM elements will be re-used.\n  \n    There are two special values for `key`:\n  \n      * `@index` - The index of the item in the array.\n      * `@identity` - The item in the array itself.\n  \n    ### {{else}} condition\n  \n    `{{#each}}` can have a matching `{{else}}`. The contents of this block will render\n    if the collection is empty.\n  \n    ```handlebars\n    <ul>\n      {{#each @developers as |person|}}\n        <li>{{person.name}} is available!</li>\n      {{else}}\n        <li>Sorry, nobody is available for this task.</li>\n      {{/each}}\n    </ul>\n    ```\n  \n    @method each\n    @for Ember.Templates.helpers\n    @public\n   */\n\n  /**\n    The `{{each-in}}` helper loops over properties on an object.\n  \n    For example, given this component definition:\n  \n    ```app/components/developer-details.js\n    import Component from '@glimmer/component';\n    import { tracked } from '@glimmer/tracking';\n  \n    export default class extends Component {\n      @tracked developer = {\n        \"name\": \"Shelly Sails\",\n        \"age\": 42\n      };\n    }\n    ```\n  \n    This template would display all properties on the `developer`\n    object in a list:\n  \n    ```app/components/developer-details.hbs\n    <ul>\n      {{#each-in this.developer as |key value|}}\n        <li>{{key}}: {{value}}</li>\n      {{/each-in}}\n    </ul>\n    ```\n  \n    Outputting their name and age:\n  \n    ```html\n    <ul>\n      <li>name: Shelly Sails</li>\n      <li>age: 42</li>\n    </ul>\n    ```\n  \n    @method each-in\n    @for Ember.Templates.helpers\n    @public\n    @since 2.1.0\n  */\n\n  class EachInWrapper {\n    constructor(inner) {\n      this.inner = inner;\n    }\n  }\n  var eachIn = internalHelper(({\n    positional\n  }) => {\n    var inner = positional[0];\n    return (0, _reference.createComputeRef)(() => {\n      var iterable = (0, _reference.valueForRef)(inner);\n      (0, _validator.consumeTag)((0, _metal.tagForObject)(iterable));\n      if ((0, _utils.isProxy)(iterable)) {\n        // this is because the each-in doesn't actually get(proxy, 'key') but bypasses it\n        // and the proxy's tag is lazy updated on access\n        iterable = (0, _runtime2._contentFor)(iterable);\n      }\n      return new EachInWrapper(iterable);\n    });\n  });\n  function toIterator(iterable) {\n    if (iterable instanceof EachInWrapper) {\n      return toEachInIterator(iterable.inner);\n    } else {\n      return toEachIterator(iterable);\n    }\n  }\n  function toEachInIterator(iterable) {\n    if (!isIndexable(iterable)) {\n      return null;\n    }\n    if (Array.isArray(iterable) || (0, _utils.isEmberArray)(iterable)) {\n      return ObjectIterator.fromIndexable(iterable);\n    } else if (_utils.HAS_NATIVE_SYMBOL && isNativeIterable(iterable)) {\n      return MapLikeNativeIterator.from(iterable);\n    } else if (hasForEach(iterable)) {\n      return ObjectIterator.fromForEachable(iterable);\n    } else {\n      return ObjectIterator.fromIndexable(iterable);\n    }\n  }\n  function toEachIterator(iterable) {\n    if (!(0, _utils.isObject)(iterable)) {\n      return null;\n    }\n    if (Array.isArray(iterable)) {\n      return ArrayIterator.from(iterable);\n    } else if ((0, _utils.isEmberArray)(iterable)) {\n      return EmberArrayIterator.from(iterable);\n    } else if (_utils.HAS_NATIVE_SYMBOL && isNativeIterable(iterable)) {\n      return ArrayLikeNativeIterator.from(iterable);\n    } else if (hasForEach(iterable)) {\n      return ArrayIterator.fromForEachable(iterable);\n    } else {\n      return null;\n    }\n  }\n  class BoundedIterator {\n    constructor(length) {\n      this.length = length;\n      this.position = 0;\n    }\n    isEmpty() {\n      return false;\n    }\n    memoFor(position) {\n      return position;\n    }\n    next() {\n      var {\n        length,\n        position\n      } = this;\n      if (position >= length) {\n        return null;\n      }\n      var value = this.valueFor(position);\n      var memo = this.memoFor(position);\n      this.position++;\n      return {\n        value,\n        memo\n      };\n    }\n  }\n  class ArrayIterator extends BoundedIterator {\n    constructor(array$$1) {\n      super(array$$1.length);\n      this.array = array$$1;\n    }\n    static from(iterable) {\n      return iterable.length > 0 ? new this(iterable) : null;\n    }\n    static fromForEachable(object) {\n      var array$$1 = [];\n      object.forEach(item => array$$1.push(item));\n      return this.from(array$$1);\n    }\n    valueFor(position) {\n      return this.array[position];\n    }\n  }\n  class EmberArrayIterator extends BoundedIterator {\n    constructor(array$$1) {\n      super(array$$1.length);\n      this.array = array$$1;\n    }\n    static from(iterable) {\n      return iterable.length > 0 ? new this(iterable) : null;\n    }\n    valueFor(position) {\n      return (0, _metal.objectAt)(this.array, position);\n    }\n  }\n  class ObjectIterator extends BoundedIterator {\n    constructor(keys, values) {\n      super(values.length);\n      this.keys = keys;\n      this.values = values;\n    }\n    static fromIndexable(obj) {\n      var keys = Object.keys(obj);\n      var {\n        length\n      } = keys;\n      if (length === 0) {\n        return null;\n      } else {\n        var values = [];\n        for (var i = 0; i < length; i++) {\n          var value = void 0;\n          var key = keys[i];\n          value = obj[key]; // Add the tag of the returned value if it is an array, since arrays\n          // should always cause updates if they are consumed and then changed\n\n          if ((0, _validator.isTracking)()) {\n            (0, _validator.consumeTag)((0, _validator.tagFor)(obj, key));\n            if (Array.isArray(value)) {\n              (0, _validator.consumeTag)((0, _validator.tagFor)(value, '[]'));\n            }\n          }\n          values.push(value);\n        }\n        return new this(keys, values);\n      }\n    }\n    static fromForEachable(obj) {\n      var keys = [];\n      var values = [];\n      var length = 0;\n      var isMapLike = false; // Not using an arrow function here so we can get an accurate `arguments`\n\n      obj.forEach(function (value, key) {\n        isMapLike = isMapLike || arguments.length >= 2;\n        if (isMapLike) {\n          keys.push(key);\n        }\n        values.push(value);\n        length++;\n      });\n      if (length === 0) {\n        return null;\n      } else if (isMapLike) {\n        return new this(keys, values);\n      } else {\n        return new ArrayIterator(values);\n      }\n    }\n    valueFor(position) {\n      return this.values[position];\n    }\n    memoFor(position) {\n      return this.keys[position];\n    }\n  }\n  class NativeIterator {\n    constructor(iterable, result) {\n      this.iterable = iterable;\n      this.result = result;\n      this.position = 0;\n    }\n    static from(iterable) {\n      var iterator = iterable[Symbol.iterator]();\n      var result = iterator.next();\n      var {\n        done\n      } = result;\n      if (done) {\n        return null;\n      } else {\n        return new this(iterator, result);\n      }\n    }\n    isEmpty() {\n      return false;\n    }\n    next() {\n      var {\n        iterable,\n        result,\n        position\n      } = this;\n      if (result.done) {\n        return null;\n      }\n      var value = this.valueFor(result, position);\n      var memo = this.memoFor(result, position);\n      this.position++;\n      this.result = iterable.next();\n      return {\n        value,\n        memo\n      };\n    }\n  }\n  class ArrayLikeNativeIterator extends NativeIterator {\n    valueFor(result) {\n      return result.value;\n    }\n    memoFor(_result, position) {\n      return position;\n    }\n  }\n  class MapLikeNativeIterator extends NativeIterator {\n    valueFor(result) {\n      return result.value[1];\n    }\n    memoFor(result) {\n      return result.value[0];\n    }\n  }\n  function hasForEach(value) {\n    return typeof value['forEach'] === 'function';\n  }\n  function isNativeIterable(value) {\n    return typeof value[Symbol.iterator] === 'function';\n  }\n  function isIndexable(value) {\n    return value !== null && (typeof value === 'object' || typeof value === 'function');\n  }\n  function toBool(predicate) {\n    if ((0, _utils.isProxy)(predicate)) {\n      (0, _validator.consumeTag)((0, _metal.tagForProperty)(predicate, 'content'));\n      return Boolean((0, _metal.get)(predicate, 'isTruthy'));\n    } else if ((0, _runtime2.isArray)(predicate)) {\n      (0, _validator.consumeTag)((0, _metal.tagForProperty)(predicate, '[]'));\n      return predicate.length !== 0;\n    } else if ((0, _glimmer.isHTMLSafe)(predicate)) {\n      return Boolean(predicate.toString());\n    } else {\n      return Boolean(predicate);\n    }\n  }\n\n  // Setup global context\n\n  (0, _globalContext.default)({\n    scheduleRevalidate() {\n      _runloop._backburner.ensureInstance();\n    },\n    toBool,\n    toIterator,\n    getProp: _metal._getProp,\n    setProp: _metal._setProp,\n    getPath: _metal.get,\n    setPath: _metal.set,\n    scheduleDestroy(destroyable, destructor) {\n      (0, _runloop.schedule)('actions', null, destructor, destroyable);\n    },\n    scheduleDestroyed(finalizeDestructor) {\n      (0, _runloop.schedule)('destroy', null, finalizeDestructor);\n    },\n    warnIfStyleNotTrusted(value) {\n      (true && (0, _debug.warn)((0, _views.constructStyleDeprecationMessage)(value), (() => {\n        if (value === null || value === undefined || isHTMLSafe$1(value)) {\n          return true;\n        }\n        return false;\n      })(), {\n        id: 'ember-htmlbars.style-xss-warning'\n      }));\n    },\n    assert(test, msg, options) {\n      var _a;\n      if (true /* DEBUG */) {\n        var id = options === null || options === void 0 ? void 0 : options.id;\n        var override = VM_ASSERTION_OVERRIDES.filter(o => o.id === id)[0];\n        (true && !(test) && (0, _debug.assert)((_a = override === null || override === void 0 ? void 0 : override.message) !== null && _a !== void 0 ? _a : msg, test));\n      }\n    },\n    deprecate(msg, test, options) {\n      var _a;\n      if (true /* DEBUG */) {\n        var {\n          id\n        } = options;\n        var override = VM_DEPRECATION_OVERRIDES.filter(o => o.id === id)[0];\n        if (!override) throw new Error(`deprecation override for ${id} not found`); // allow deprecations to be disabled in the VM_DEPRECATION_OVERRIDES array below\n\n        if (!override.disabled) {\n          (true && !(Boolean(test)) && (0, _debug.deprecate)((_a = override.message) !== null && _a !== void 0 ? _a : msg, Boolean(test), override));\n        }\n      }\n    }\n  });\n  if (true /* DEBUG */) {\n    _validator.setTrackingTransactionEnv === null || _validator.setTrackingTransactionEnv === void 0 ? void 0 : (0, _validator.setTrackingTransactionEnv)({\n      debugMessage(obj, keyName) {\n        var dirtyString = keyName ? `\\`${keyName}\\` on \\`${_utils.getDebugName === null || _utils.getDebugName === void 0 ? void 0 : (0, _utils.getDebugName)(obj)}\\`` : `\\`${_utils.getDebugName === null || _utils.getDebugName === void 0 ? void 0 : (0, _utils.getDebugName)(obj)}\\``;\n        return `You attempted to update ${dirtyString}, but it had already been used previously in the same computation.  Attempting to update a value after using it in a computation can cause logical errors, infinite revalidation bugs, and performance issues, and is not supported.`;\n      }\n    });\n  } ///////////\n  // VM Assertion/Deprecation overrides\n\n  var VM_DEPRECATION_OVERRIDES = [{\n    id: 'autotracking.mutation-after-consumption',\n    until: '4.0.0',\n    for: 'ember-source',\n    since: {\n      enabled: '3.21.0'\n    }\n  }, {\n    id: 'this-property-fallback',\n    disabled: _environment2.ENV._DISABLE_PROPERTY_FALLBACK_DEPRECATION,\n    url: 'https://deprecations.emberjs.com/v3.x#toc_this-property-fallback',\n    until: '4.0.0',\n    for: 'ember-source',\n    since: {\n      enabled: '3.26.0'\n    }\n  }, {\n    id: 'argument-less-helper-paren-less-invocation',\n    url: 'https://deprecations.emberjs.com/v3.x#toc_argument-less-helper-paren-less-invocation',\n    until: '4.0.0',\n    for: 'ember-source',\n    since: {\n      enabled: '3.27.0'\n    }\n  }, {\n    id: 'setting-on-hash',\n    until: '4.4.0',\n    for: 'ember-source',\n    since: {\n      enabled: '3.28.0'\n    }\n  }];\n  var VM_ASSERTION_OVERRIDES = []; ///////////\n  // Define environment delegate\n\n  class EmberEnvironmentDelegate {\n    constructor(owner, isInteractive) {\n      this.owner = owner;\n      this.isInteractive = isInteractive;\n      this.enableDebugTooling = _environment2.ENV._DEBUG_RENDER_TREE;\n    }\n    onTransactionCommit() {}\n  }\n\n  /**\n  @module ember\n  */\n  var disallowDynamicResolution = internalHelper(({\n    positional,\n    named\n  }) => {\n    (true && !(positional.length === 1) && (0, _debug.assert)(`[BUG] wrong number of positional arguments, expecting 1, got ${positional.length}`, positional.length === 1));\n    var nameOrValueRef = positional[0];\n    (true && !('type' in named) && (0, _debug.assert)(`[BUG] expecting \\`type\\` named argument`, 'type' in named));\n    (true && !('loc' in named) && (0, _debug.assert)(`[BUG] expecting \\`loc\\` named argument`, 'loc' in named));\n    (true && !('original' in named) && (0, _debug.assert)(`[BUG] expecting \\`original\\` named argument`, 'original' in named));\n    var typeRef = named.type;\n    var locRef = named.loc;\n    var originalRef = named.original; // Bug: why do these fail?\n    // assert('[BUG] expecting a string literal for the `type` argument', isConstRef(typeRef));\n    // assert('[BUG] expecting a string literal for the `loc` argument', isConstRef(locRef));\n    // assert('[BUG] expecting a string literal for the `original` argument', isConstRef(originalRef));\n\n    var type = (0, _reference.valueForRef)(typeRef);\n    var loc$$1 = (0, _reference.valueForRef)(locRef);\n    var original = (0, _reference.valueForRef)(originalRef);\n    (true && !(typeof type === 'string') && (0, _debug.assert)('[BUG] expecting a string literal for the `type` argument', typeof type === 'string'));\n    (true && !(typeof loc$$1 === 'string') && (0, _debug.assert)('[BUG] expecting a string literal for the `loc` argument', typeof loc$$1 === 'string'));\n    (true && !(typeof original === 'string') && (0, _debug.assert)('[BUG] expecting a string literal for the `original` argument', typeof original === 'string'));\n    return (0, _reference.createComputeRef)(() => {\n      var nameOrValue = (0, _reference.valueForRef)(nameOrValueRef);\n      (true && !(typeof nameOrValue !== 'string') && (0, _debug.assert)(`Passing a dynamic string to the \\`(${type})\\` keyword is disallowed. ` + `(You specified \\`(${type} ${original})\\` and \\`${original}\\` evaluated into \"${nameOrValue}\".) ` + `This ensures we can statically analyze the template and determine which ${type}s are used. ` + `If the ${type} name is always the same, use a string literal instead, i.e. \\`(${type} \"${nameOrValue}\")\\`. ` + `Otherwise, import the ${type}s into JavaScript and pass them to the ${type} keyword. ` + 'See https://github.com/emberjs/rfcs/blob/master/text/0496-handlebars-strict-mode.md#4-no-dynamic-resolution for details. ' + loc$$1, typeof nameOrValue !== 'string'));\n      return nameOrValue;\n    });\n  });\n  var helper$1;\n  if (true /* DEBUG */) {\n    helper$1 = args => {\n      var inner = args.positional[0];\n      return (0, _reference.createComputeRef)(() => {\n        var value = (0, _reference.valueForRef)(inner);\n        (true && !(value !== null && value !== undefined) && (0, _debug.assert)('You cannot pass a null or undefined destination element to in-element', value !== null && value !== undefined));\n        return value;\n      });\n    };\n  } else {\n    helper$1 = args => args.positional[0];\n  }\n  var inElementNullCheckHelper = internalHelper(helper$1);\n  var normalizeClassHelper = internalHelper(({\n    positional\n  }) => {\n    return (0, _reference.createComputeRef)(() => {\n      var classNameParts = (0, _reference.valueForRef)(positional[0]).split('.');\n      var className = classNameParts[classNameParts.length - 1];\n      var value = (0, _reference.valueForRef)(positional[1]);\n      if (value === true) {\n        return (0, _string.dasherize)(className);\n      } else if (!value && value !== 0) {\n        return '';\n      } else {\n        return String(value);\n      }\n    });\n  });\n  var resolve = internalHelper(({\n    positional\n  }, owner) => {\n    var _a; // why is this allowed to be undefined in the first place?\n    (true && !(owner) && (0, _debug.assert)('[BUG] missing owner', owner));\n    (true && !(positional.length === 1) && (0, _debug.assert)(`[BUG] wrong number of positional arguments, expecting 1, got ${positional.length}`, positional.length === 1));\n    var fullNameRef = positional[0];\n    (true && !((0, _reference.isConstRef)(fullNameRef)) && (0, _debug.assert)('[BUG] expecting a string literal as argument', (0, _reference.isConstRef)(fullNameRef)));\n    var fullName = (0, _reference.valueForRef)(fullNameRef);\n    (true && !(typeof fullName === 'string') && (0, _debug.assert)('[BUG] expecting a string literal as argument', typeof fullName === 'string'));\n    (true && !(fullName.split(':').length === 2) && (0, _debug.assert)('[BUG] expecting a valid full name', fullName.split(':').length === 2));\n    if (true /* DEBUG */) {\n      var [type, name] = fullName.split(':');\n      (true && !(owner.hasRegistration(fullName)) && (0, _debug.assert)(`Attempted to invoke \\`(-resolve \"${fullName}\")\\`, but ${name} was not a valid ${type} name.`, owner.hasRegistration(fullName)));\n    }\n    return (0, _reference.createConstRef)((_a = owner.factoryFor(fullName)) === null || _a === void 0 ? void 0 : _a.class, `(-resolve \"${fullName}\")`);\n  });\n\n  /**\n  @module ember\n  */\n  /**\n    This reference is used to get the `[]` tag of iterables, so we can trigger\n    updates to `{{each}}` when it changes. It is put into place by a template\n    transform at build time, similar to the (-each-in) helper\n  */\n\n  var trackArray = internalHelper(({\n    positional\n  }) => {\n    var inner = positional[0];\n    return (0, _reference.createComputeRef)(() => {\n      var iterable = (0, _reference.valueForRef)(inner);\n      if ((0, _utils.isObject)(iterable)) {\n        (0, _validator.consumeTag)((0, _metal.tagForProperty)(iterable, '[]'));\n      }\n      return iterable;\n    });\n  });\n\n  /**\n  @module ember\n  */\n  /**\n    The `mut` helper lets you __clearly specify__ that a child `Component` can update the\n    (mutable) value passed to it, which will __change the value of the parent component__.\n  \n    To specify that a parameter is mutable, when invoking the child `Component`:\n  \n    ```handlebars\n    <MyChild @childClickCount={{fn (mut totalClicks)}} />\n    ```\n  \n     or\n  \n    ```handlebars\n    {{my-child childClickCount=(mut totalClicks)}}\n    ```\n  \n    The child `Component` can then modify the parent's value just by modifying its own\n    property:\n  \n    ```javascript\n    // my-child.js\n    export default Component.extend({\n      click() {\n        this.incrementProperty('childClickCount');\n      }\n    });\n    ```\n  \n    Note that for curly components (`{{my-component}}`) the bindings are already mutable,\n    making the `mut` unnecessary.\n  \n    Additionally, the `mut` helper can be combined with the `fn` helper to\n    mutate a value. For example:\n  \n    ```handlebars\n    <MyChild @childClickCount={{this.totalClicks}} @click-count-change={{fn (mut totalClicks))}} />\n    ```\n  \n    or\n  \n    ```handlebars\n    {{my-child childClickCount=totalClicks click-count-change=(fn (mut totalClicks))}}\n    ```\n  \n    The child `Component` would invoke the function with the new click value:\n  \n    ```javascript\n    // my-child.js\n    export default Component.extend({\n      click() {\n        this.get('click-count-change')(this.get('childClickCount') + 1);\n      }\n    });\n    ```\n  \n    The `mut` helper changes the `totalClicks` value to what was provided as the `fn` argument.\n  \n    The `mut` helper, when used with `fn`, will return a function that\n    sets the value passed to `mut` to its first argument. As an example, we can create a\n    button that increments a value passing the value directly to the `fn`:\n  \n    ```handlebars\n    {{! inc helper is not provided by Ember }}\n    <button onclick={{fn (mut count) (inc count)}}>\n      Increment count\n    </button>\n    ```\n  \n    @method mut\n    @param {Object} [attr] the \"two-way\" attribute that can be modified.\n    @for Ember.Templates.helpers\n    @public\n  */\n\n  var mut = internalHelper(({\n    positional\n  }) => {\n    var ref = positional[0]; // TODO: Improve this error message. This covers at least two distinct\n    // cases:\n    //\n    // 1. (mut \"not a path\") – passing a literal, result from a helper\n    //    invocation, etc\n    //\n    // 2. (mut receivedValue) – passing a value received from the caller\n    //    that was originally derived from a literal, result from a helper\n    //    invocation, etc\n    //\n    // This message is alright for the first case, but could be quite\n    // confusing for the second case.\n    (true && !((0, _reference.isUpdatableRef)(ref)) && (0, _debug.assert)('You can only pass a path to mut', (0, _reference.isUpdatableRef)(ref)));\n    return (0, _reference.createInvokableRef)(ref);\n  });\n\n  /**\n  @module ember\n  */\n  /**\n    This is a helper to be used in conjunction with the link-to helper.\n    It will supply url query parameters to the target route.\n  \n    @example In this example we are setting the `direction` query param to the value `\"asc\"`\n  \n    ```app/templates/application.hbs\n    <LinkTo\n      @route=\"posts\"\n      {{query-params direction=\"asc\"}}\n    >\n      Sort\n    </LinkTo>\n    ```\n  \n    @method query-params\n    @for Ember.Templates.helpers\n    @param {Object} hash takes a hash of query parameters\n    @return {Object} A `QueryParams` object for `{{link-to}}`\n    @public\n  */\n\n  var queryParams = internalHelper(({\n    positional,\n    named\n  }) => {\n    return (0, _reference.createComputeRef)(() => {\n      (true && !(positional.length === 0) && (0, _debug.assert)(\"The `query-params` helper only accepts named arguments, e.g. (query-params queryParamPropertyName='foo') as opposed to (query-params 'foo')\", positional.length === 0));\n      (true && !(false) && (0, _debug.deprecate)('The `query-params` helper is deprecated. Invoke `<LinkTo>` with the `@query` named argument and the `hash` helper instead.', false, {\n        id: 'ember-glimmer.link-to.positional-arguments',\n        until: '4.0.0',\n        for: 'ember-source',\n        url: 'https://deprecations.emberjs.com/v3.x#toc_ember-glimmer-link-to-positional-arguments',\n        since: {\n          enabled: '3.26.0-beta.1'\n        }\n      }));\n      return new _routing2.QueryParams((0, _polyfills.assign)({}, (0, _runtime.reifyNamed)(named)));\n    });\n  });\n\n  /**\n    The `readonly` helper let's you specify that a binding is one-way only,\n    instead of two-way.\n    When you pass a `readonly` binding from an outer context (e.g. parent component),\n    to to an inner context (e.g. child component), you are saying that changing that\n    property in the inner context does not change the value in the outer context.\n  \n    To specify that a binding is read-only, when invoking the child `Component`:\n  \n    ```app/components/my-parent.js\n    export default Component.extend({\n      totalClicks: 3\n    });\n    ```\n  \n    ```app/templates/components/my-parent.hbs\n    {{log totalClicks}} // -> 3\n    <MyChild @childClickCount={{readonly totalClicks}} />\n    ```\n    ```\n    {{my-child childClickCount=(readonly totalClicks)}}\n    ```\n  \n    Now, when you update `childClickCount`:\n  \n    ```app/components/my-child.js\n    export default Component.extend({\n      click() {\n        this.incrementProperty('childClickCount');\n      }\n    });\n    ```\n  \n    The value updates in the child component, but not the parent component:\n  \n    ```app/templates/components/my-child.hbs\n    {{log childClickCount}} //-> 4\n    ```\n  \n    ```app/templates/components/my-parent.hbs\n    {{log totalClicks}} //-> 3\n    <MyChild @childClickCount={{readonly totalClicks}} />\n    ```\n    or\n    ```app/templates/components/my-parent.hbs\n    {{log totalClicks}} //-> 3\n    {{my-child childClickCount=(readonly totalClicks)}}\n    ```\n  \n    ### Objects and Arrays\n  \n    When passing a property that is a complex object (e.g. object, array) instead of a primitive object (e.g. number, string),\n    only the reference to the object is protected using the readonly helper.\n    This means that you can change properties of the object both on the parent component, as well as the child component.\n    The `readonly` binding behaves similar to the `const` keyword in JavaScript.\n  \n    Let's look at an example:\n  \n    First let's set up the parent component:\n  \n    ```app/components/my-parent.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      clicks: null,\n  \n      init() {\n        this._super(...arguments);\n        this.set('clicks', { total: 3 });\n      }\n    });\n    ```\n  \n    ```app/templates/components/my-parent.hbs\n    {{log clicks.total}} //-> 3\n    <MyChild @childClicks={{readonly clicks}} />\n    ```\n    ```app/templates/components/my-parent.hbs\n    {{log clicks.total}} //-> 3\n    {{my-child childClicks=(readonly clicks)}}\n    ```\n  \n    Now, if you update the `total` property of `childClicks`:\n  \n    ```app/components/my-child.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      click() {\n        this.get('clicks').incrementProperty('total');\n      }\n    });\n    ```\n  \n    You will see the following happen:\n  \n    ```app/templates/components/my-parent.hbs\n    {{log clicks.total}} //-> 4\n    <MyChild @childClicks={{readonly clicks}} />\n    ```\n    or\n    ```app/templates/components/my-parent.hbs\n    {{log clicks.total}} //-> 4\n    {{my-child childClicks=(readonly clicks)}}\n    ```\n  \n    ```app/templates/components/my-child.hbs\n    {{log childClicks.total}} //-> 4\n    ```\n  \n    @method readonly\n    @param {Object} [attr] the read-only attribute.\n    @for Ember.Templates.helpers\n    @private\n  */\n\n  var readonly = internalHelper(({\n    positional\n  }) => {\n    return (0, _reference.createReadOnlyRef)(positional[0]);\n  });\n\n  /**\n  @module ember\n  */\n  /**\n    The `{{unbound}}` helper disconnects the one-way binding of a property,\n    essentially freezing its value at the moment of rendering. For example,\n    in this example the display of the variable `name` will not change even\n    if it is set with a new value:\n  \n    ```handlebars\n    {{unbound this.name}}\n    ```\n  \n    Like any helper, the `unbound` helper can accept a nested helper expression.\n    This allows for custom helpers to be rendered unbound:\n  \n    ```handlebars\n    {{unbound (some-custom-helper)}}\n    {{unbound (capitalize this.name)}}\n    {{! You can use any helper, including unbound, in a nested expression }}\n    {{capitalize (unbound this.name)}}\n    ```\n  \n    The `unbound` helper only accepts a single argument, and it return an\n    unbound value.\n  \n    @method unbound\n    @for Ember.Templates.helpers\n    @public\n  */\n\n  var unbound = internalHelper(({\n    positional,\n    named\n  }) => {\n    (true && !(positional.length === 1 && Object.keys(named).length === 0) && (0, _debug.assert)('unbound helper cannot be called with multiple params or hash params', positional.length === 1 && Object.keys(named).length === 0));\n    return (0, _reference.createUnboundRef)((0, _reference.valueForRef)(positional[0]), '(resurt of an `unbound` helper)');\n  });\n  var MODIFIERS = ['alt', 'shift', 'meta', 'ctrl'];\n  var POINTER_EVENT_TYPE_REGEX = /^click|mouse|touch/;\n  function isAllowedEvent(event, allowedKeys) {\n    if (allowedKeys === null || allowedKeys === undefined) {\n      if (POINTER_EVENT_TYPE_REGEX.test(event.type)) {\n        return (0, _views.isSimpleClick)(event);\n      } else {\n        allowedKeys = '';\n      }\n    }\n    if (allowedKeys.indexOf('any') >= 0) {\n      return true;\n    }\n    for (var i = 0; i < MODIFIERS.length; i++) {\n      if (event[MODIFIERS[i] + 'Key'] && allowedKeys.indexOf(MODIFIERS[i]) === -1) {\n        return false;\n      }\n    }\n    return true;\n  }\n  var ActionHelper = {\n    // registeredActions is re-exported for compatibility with older plugins\n    // that were using this undocumented API.\n    registeredActions: _views.ActionManager.registeredActions,\n    registerAction(actionState) {\n      var {\n        actionId\n      } = actionState;\n      _views.ActionManager.registeredActions[actionId] = actionState;\n      return actionId;\n    },\n    unregisterAction(actionState) {\n      var {\n        actionId\n      } = actionState;\n      delete _views.ActionManager.registeredActions[actionId];\n    }\n  };\n  class ActionState {\n    constructor(element, actionId, actionArgs, namedArgs, positionalArgs) {\n      this.tag = (0, _validator.createUpdatableTag)();\n      this.element = element;\n      this.actionId = actionId;\n      this.actionArgs = actionArgs;\n      this.namedArgs = namedArgs;\n      this.positional = positionalArgs;\n      this.eventName = this.getEventName();\n      (0, _destroyable.registerDestructor)(this, () => ActionHelper.unregisterAction(this));\n    }\n    getEventName() {\n      var {\n        on: on$$1\n      } = this.namedArgs;\n      return on$$1 !== undefined ? (0, _reference.valueForRef)(on$$1) : 'click';\n    }\n    getActionArgs() {\n      var result = new Array(this.actionArgs.length);\n      for (var i = 0; i < this.actionArgs.length; i++) {\n        result[i] = (0, _reference.valueForRef)(this.actionArgs[i]);\n      }\n      return result;\n    }\n    getTarget() {\n      var {\n        implicitTarget,\n        namedArgs\n      } = this;\n      var {\n        target\n      } = namedArgs;\n      return target !== undefined ? (0, _reference.valueForRef)(target) : (0, _reference.valueForRef)(implicitTarget);\n    }\n    handler(event) {\n      var {\n        actionName,\n        namedArgs\n      } = this;\n      var {\n        bubbles,\n        preventDefault,\n        allowedKeys\n      } = namedArgs;\n      var bubblesVal = bubbles !== undefined ? (0, _reference.valueForRef)(bubbles) : undefined;\n      var preventDefaultVal = preventDefault !== undefined ? (0, _reference.valueForRef)(preventDefault) : undefined;\n      var allowedKeysVal = allowedKeys !== undefined ? (0, _reference.valueForRef)(allowedKeys) : undefined;\n      var target = this.getTarget();\n      var shouldBubble = bubblesVal !== false;\n      if (!isAllowedEvent(event, allowedKeysVal)) {\n        return true;\n      }\n      if (preventDefaultVal !== false) {\n        event.preventDefault();\n      }\n      if (!shouldBubble) {\n        event.stopPropagation();\n      }\n      (0, _runloop.join)(() => {\n        var args = this.getActionArgs();\n        var payload = {\n          args,\n          target,\n          name: null\n        };\n        if (typeof actionName[INVOKE] === 'function') {\n          (true && !(false) && (0, _debug.deprecate)(`Usage of the private INVOKE API to make an object callable via action or fn is no longer supported. Please update to pass in a callback function instead. Received: ${String(actionName)}`, false, {\n            until: '3.25.0',\n            id: 'actions.custom-invoke-invokable',\n            for: 'ember-source',\n            since: {\n              enabled: '3.23.0-beta.1'\n            }\n          }));\n          (0, _instrumentation.flaggedInstrument)('interaction.ember-action', payload, () => {\n            actionName[INVOKE].apply(actionName, args);\n          });\n          return;\n        }\n        if ((0, _reference.isInvokableRef)(actionName)) {\n          (0, _instrumentation.flaggedInstrument)('interaction.ember-action', payload, () => {\n            (0, _reference.updateRef)(actionName, args[0]);\n          });\n          return;\n        }\n        if (typeof actionName === 'function') {\n          (0, _instrumentation.flaggedInstrument)('interaction.ember-action', payload, () => {\n            actionName.apply(target, args);\n          });\n          return;\n        }\n        payload.name = actionName;\n        if (target.send) {\n          (0, _instrumentation.flaggedInstrument)('interaction.ember-action', payload, () => {\n            target.send.apply(target, [actionName, ...args]);\n          });\n        } else {\n          (true && !(typeof target[actionName] === 'function') && (0, _debug.assert)(`The action '${actionName}' did not exist on ${target}`, typeof target[actionName] === 'function'));\n          (0, _instrumentation.flaggedInstrument)('interaction.ember-action', payload, () => {\n            target[actionName].apply(target, args);\n          });\n        }\n      });\n      return shouldBubble;\n    }\n  }\n  class ActionModifierManager {\n    create(_owner, element, _state, {\n      named,\n      positional\n    }) {\n      var actionArgs = []; // The first two arguments are (1) `this` and (2) the action name.\n      // Everything else is a param.\n\n      for (var i = 2; i < positional.length; i++) {\n        actionArgs.push(positional[i]);\n      }\n      var actionId = (0, _utils.uuid)();\n      var actionState = new ActionState(element, actionId, actionArgs, named, positional);\n      (true && !(actionState.eventName !== 'mouseEnter' && actionState.eventName !== 'mouseLeave' && actionState.eventName !== 'mouseMove') && (0, _debug.deprecate)(`Using the \\`{{action}}\\` modifier with \\`${actionState.eventName}\\` events has been deprecated.`, actionState.eventName !== 'mouseEnter' && actionState.eventName !== 'mouseLeave' && actionState.eventName !== 'mouseMove', {\n        id: 'ember-views.event-dispatcher.mouseenter-leave-move',\n        until: '4.0.0',\n        url: 'https://deprecations.emberjs.com/v3.x#toc_action-mouseenter-leave-move',\n        for: 'ember-source',\n        since: {\n          enabled: '3.13.0-beta.1'\n        }\n      }));\n      return actionState;\n    }\n    getDebugName() {\n      return 'action';\n    }\n    install(actionState) {\n      var {\n        element,\n        actionId,\n        positional\n      } = actionState;\n      var actionName;\n      var actionNameRef;\n      var implicitTarget;\n      if (positional.length > 1) {\n        implicitTarget = positional[0];\n        actionNameRef = positional[1];\n        if ((0, _reference.isInvokableRef)(actionNameRef)) {\n          actionName = actionNameRef;\n        } else {\n          actionName = (0, _reference.valueForRef)(actionNameRef);\n          if (true /* DEBUG */) {\n            var actionPath = actionNameRef.debugLabel;\n            var actionPathParts = actionPath.split('.');\n            var actionLabel = actionPathParts[actionPathParts.length - 1];\n            (true && !(typeof actionName === 'string' || typeof actionName === 'function') && (0, _debug.assert)('You specified a quoteless path, `' + actionPath + '`, to the ' + '{{action}} helper which did not resolve to an action name (a ' + 'string). Perhaps you meant to use a quoted actionName? (e.g. ' + '{{action \"' + actionLabel + '\"}}).', typeof actionName === 'string' || typeof actionName === 'function'));\n          }\n        }\n      }\n      actionState.actionName = actionName;\n      actionState.implicitTarget = implicitTarget;\n      ActionHelper.registerAction(actionState);\n      element.setAttribute('data-ember-action', '');\n      element.setAttribute(`data-ember-action-${actionId}`, String(actionId));\n    }\n    update(actionState) {\n      var {\n        positional\n      } = actionState;\n      var actionNameRef = positional[1];\n      if (!(0, _reference.isInvokableRef)(actionNameRef)) {\n        actionState.actionName = (0, _reference.valueForRef)(actionNameRef);\n      }\n      actionState.eventName = actionState.getEventName();\n    }\n    getTag(actionState) {\n      return actionState.tag;\n    }\n    getDestroyable(actionState) {\n      return actionState;\n    }\n  }\n  var ACTION_MODIFIER_MANAGER = new ActionModifierManager();\n  var actionModifier = (0, _manager2.setInternalModifierManager)(ACTION_MODIFIER_MANAGER, {});\n  var CAPABILITIES$2 = {\n    dynamicLayout: true,\n    dynamicTag: false,\n    prepareArgs: false,\n    createArgs: true,\n    attributeHook: false,\n    elementHook: false,\n    createCaller: true,\n    dynamicScope: true,\n    updateHook: true,\n    createInstance: true,\n    wrapped: false,\n    willDestroy: false,\n    hasSubOwner: true\n  };\n  class MountManager {\n    getDynamicLayout(state) {\n      var templateFactory$$1 = state.engine.lookup('template:application');\n      return (0, _util.unwrapTemplate)(templateFactory$$1(state.engine)).asLayout();\n    }\n    getCapabilities() {\n      return CAPABILITIES$2;\n    }\n    getOwner(state) {\n      return state.engine;\n    }\n    create(owner, {\n      name\n    }, args, env) {\n      // TODO\n      // mount is a runtime helper, this shouldn't use dynamic layout\n      // we should resolve the engine app template in the helper\n      // it also should use the owner that looked up the mount helper.\n      var engine = owner.buildChildEngineInstance(name);\n      engine.boot();\n      var applicationFactory = engine.factoryFor(`controller:application`);\n      var controllerFactory = applicationFactory || (0, _routing2.generateControllerFactory)(engine, 'application');\n      var controller;\n      var self;\n      var bucket;\n      var modelRef;\n      if (args.named.has('model')) {\n        modelRef = args.named.get('model');\n      }\n      if (modelRef === undefined) {\n        controller = controllerFactory.create();\n        self = (0, _reference.createConstRef)(controller, 'this');\n        bucket = {\n          engine,\n          controller,\n          self,\n          modelRef\n        };\n      } else {\n        var model = (0, _reference.valueForRef)(modelRef);\n        controller = controllerFactory.create({\n          model\n        });\n        self = (0, _reference.createConstRef)(controller, 'this');\n        bucket = {\n          engine,\n          controller,\n          self,\n          modelRef\n        };\n      }\n      if (env.debugRenderTree) {\n        (0, _destroyable.associateDestroyableChild)(engine, controller);\n      }\n      return bucket;\n    }\n    getDebugName({\n      name\n    }) {\n      return name;\n    }\n    getDebugCustomRenderTree(definition, state, args, templateModuleName) {\n      return [{\n        bucket: state.engine,\n        instance: state.engine,\n        type: 'engine',\n        name: definition.name,\n        args\n      }, {\n        bucket: state.controller,\n        instance: state.controller,\n        type: 'route-template',\n        name: 'application',\n        args,\n        template: templateModuleName\n      }];\n    }\n    getSelf({\n      self\n    }) {\n      return self;\n    }\n    getDestroyable(bucket) {\n      return bucket.engine;\n    }\n    didCreate() {}\n    didUpdate() {}\n    didRenderLayout() {}\n    didUpdateLayout() {}\n    update(bucket) {\n      var {\n        controller,\n        modelRef\n      } = bucket;\n      if (modelRef !== undefined) {\n        controller.set('model', (0, _reference.valueForRef)(modelRef));\n      }\n    }\n  }\n  var MOUNT_MANAGER = new MountManager();\n  class MountDefinition {\n    constructor(resolvedName) {\n      this.resolvedName = resolvedName; // handle is not used by this custom definition\n\n      this.handle = -1;\n      this.manager = MOUNT_MANAGER;\n      this.compilable = null;\n      this.capabilities = (0, _manager2.capabilityFlagsFrom)(CAPABILITIES$2);\n      this.state = {\n        name: resolvedName\n      };\n    }\n  }\n\n  /**\n    The `{{mount}}` helper lets you embed a routeless engine in a template.\n    Mounting an engine will cause an instance to be booted and its `application`\n    template to be rendered.\n  \n    For example, the following template mounts the `ember-chat` engine:\n  \n    ```handlebars\n    {{! application.hbs }}\n    {{mount \"ember-chat\"}}\n    ```\n  \n    Additionally, you can also pass in a `model` argument that will be\n    set as the engines model. This can be an existing object:\n  \n    ```\n    <div>\n      {{mount 'admin' model=userSettings}}\n    </div>\n    ```\n  \n    Or an inline `hash`, and you can even pass components:\n  \n    ```\n    <div>\n      <h1>Application template!</h1>\n      {{mount 'admin' model=(hash\n          title='Secret Admin'\n          signInButton=(component 'sign-in-button')\n      )}}\n    </div>\n    ```\n  \n    @method mount\n    @param {String} name Name of the engine to mount.\n    @param {Object} [model] Object that will be set as\n                            the model of the engine.\n    @for Ember.Templates.helpers\n    @public\n  */\n\n  var mountHelper = internalHelper((args, owner) => {\n    (true && !(owner) && (0, _debug.assert)('{{mount}} must be used within a component that has an owner', owner));\n    var nameRef = args.positional[0];\n    var captured;\n    (true && !(args.positional.length === 1) && (0, _debug.assert)('You can only pass a single positional argument to the {{mount}} helper, e.g. {{mount \"chat-engine\"}}.', args.positional.length === 1));\n    if (true /* DEBUG */ && args.named) {\n      var keys = Object.keys(args.named);\n      var extra = keys.filter(k => k !== 'model');\n      (true && !(extra.length === 0) && (0, _debug.assert)('You can only pass a `model` argument to the {{mount}} helper, ' + 'e.g. {{mount \"profile-engine\" model=this.profile}}. ' + `You passed ${extra.join(',')}.`, extra.length === 0));\n    }\n    captured = (0, _runtime.createCapturedArgs)(args.named, _runtime.EMPTY_POSITIONAL);\n    var lastName, lastDef;\n    return (0, _reference.createComputeRef)(() => {\n      var name = (0, _reference.valueForRef)(nameRef);\n      if (typeof name === 'string') {\n        if (lastName === name) {\n          return lastDef;\n        }\n        (true && !(owner.hasRegistration(`engine:${name}`)) && (0, _debug.assert)(`You used \\`{{mount '${name}'}}\\`, but the engine '${name}' can not be found.`, owner.hasRegistration(`engine:${name}`)));\n        lastName = name;\n        lastDef = (0, _runtime.curry)(0\n        /* Component */, new MountDefinition(name), owner, captured, true);\n        return lastDef;\n      } else {\n        (true && !(name === null || name === undefined) && (0, _debug.assert)(`Invalid engine name '${name}' specified, engine name must be either a string, null or undefined.`, name === null || name === undefined));\n        lastDef = null;\n        lastName = null;\n        return null;\n      }\n    });\n  });\n\n  /**\n    The `{{outlet}}` helper lets you specify where a child route will render in\n    your template. An important use of the `{{outlet}}` helper is in your\n    application's `application.hbs` file:\n  \n    ```app/templates/application.hbs\n    <MyHeader />\n  \n    <div class=\"my-dynamic-content\">\n      <!-- this content will change based on the current route, which depends on the current URL -->\n      {{outlet}}\n    </div>\n  \n    <MyFooter />\n    ```\n  \n    You may also specify a name for the `{{outlet}}`, which is useful when using more than one\n    `{{outlet}}` in a template:\n  \n    ```app/templates/application.hbs\n    {{outlet \"menu\"}}\n    {{outlet \"sidebar\"}}\n    {{outlet \"main\"}}\n    ```\n  \n    Your routes can then render into a specific one of these `outlet`s by specifying the `outlet`\n    attribute in your `renderTemplate` function:\n  \n    ```app/routes/menu.js\n    import Route from '@ember/routing/route';\n  \n    export default class MenuRoute extends Route {\n      renderTemplate() {\n        this.render({ outlet: 'menu' });\n      }\n    }\n    ```\n  \n    See the [routing guide](https://guides.emberjs.com/release/routing/rendering-a-template/) for more\n    information on how your `route` interacts with the `{{outlet}}` helper.\n    Note: Your content __will not render__ if there isn't an `{{outlet}}` for it.\n  \n    @method outlet\n    @param {String} [name]\n    @for Ember.Templates.helpers\n    @public\n  */\n\n  var outletHelper = internalHelper((args, owner, scope) => {\n    (true && !(owner) && (0, _debug.assert)('Expected owner to be present, {{outlet}} requires an owner', owner));\n    (true && !(scope) && (0, _debug.assert)('Expected dynamic scope to be present. You may have attempted to use the {{outlet}} keyword dynamically. This keyword cannot be used dynamically.', scope));\n    var nameRef;\n    if (args.positional.length === 0) {\n      nameRef = (0, _reference.createPrimitiveRef)('main');\n    } else {\n      nameRef = args.positional[0];\n    }\n    var outletRef = (0, _reference.createComputeRef)(() => {\n      var state = (0, _reference.valueForRef)(scope.get('outletState'));\n      var outlets = state !== undefined ? state.outlets : undefined;\n      return outlets !== undefined ? outlets[(0, _reference.valueForRef)(nameRef)] : undefined;\n    });\n    var lastState = null;\n    var definition = null;\n    return (0, _reference.createComputeRef)(() => {\n      var _a, _b;\n      var outletState = (0, _reference.valueForRef)(outletRef);\n      var state = stateFor(outletRef, outletState);\n      if (!validate(state, lastState)) {\n        lastState = state;\n        if (state !== null) {\n          var named = (0, _util.dict)(); // Create a ref for the model\n\n          var modelRef = (0, _reference.childRefFromParts)(outletRef, ['render', 'model']); // Store the value of the model\n\n          var model = (0, _reference.valueForRef)(modelRef); // Create a compute ref which we pass in as the `{{@model}}` reference\n          // for the outlet. This ref will update and return the value of the\n          // model _until_ the outlet itself changes. Once the outlet changes,\n          // dynamic scope also changes, and so the original model ref would not\n          // provide the correct updated value. So we stop updating and return\n          // the _last_ model value for that outlet.\n\n          named.model = (0, _reference.createComputeRef)(() => {\n            if (lastState === state) {\n              model = (0, _reference.valueForRef)(modelRef);\n            }\n            return model;\n          });\n          if (true /* DEBUG */) {\n            named.model = (0, _reference.createDebugAliasRef)('@model', named.model);\n          }\n          var _args2 = (0, _runtime.createCapturedArgs)(named, _runtime.EMPTY_POSITIONAL);\n          definition = (0, _runtime.curry)(0\n          /* Component */, new OutletComponentDefinition(state), (_b = (_a = outletState === null || outletState === void 0 ? void 0 : outletState.render) === null || _a === void 0 ? void 0 : _a.owner) !== null && _b !== void 0 ? _b : owner, _args2, true);\n        } else {\n          definition = null;\n        }\n      }\n      return definition;\n    });\n  });\n  function stateFor(ref, outlet) {\n    if (outlet === undefined) return null;\n    var render = outlet.render;\n    if (render === undefined) return null;\n    var template = render.template;\n    if (template === undefined) return null; // this guard can be removed once @ember/test-helpers@1.6.0 has \"aged out\"\n    // and is no longer considered supported\n\n    if (isTemplateFactory(template)) {\n      template = template(render.owner);\n    }\n    return {\n      ref,\n      name: render.name,\n      outlet: render.outlet,\n      template,\n      controller: render.controller,\n      model: render.model\n    };\n  }\n  function validate(state, lastState) {\n    if (state === null) {\n      return lastState === null;\n    }\n    if (lastState === null) {\n      return false;\n    }\n    return state.template === lastState.template && state.controller === lastState.controller;\n  }\n  function instrumentationPayload$1(name) {\n    return {\n      object: `component:${name}`\n    };\n  }\n  function componentFor(name, owner, options) {\n    var fullName = `component:${name}`;\n    return owner.factoryFor(fullName, options) || null;\n  }\n  function layoutFor(name, owner, options) {\n    var templateFullName = `template:components/${name}`;\n    return owner.lookup(templateFullName, options) || null;\n  }\n  function lookupComponentPair(owner, name, options) {\n    var component = componentFor(name, owner, options);\n    if (component !== null && component.class !== undefined) {\n      var _layout = (0, _manager2.getComponentTemplate)(component.class);\n      if (_layout !== undefined) {\n        return {\n          component,\n          layout: _layout\n        };\n      }\n    }\n    var layout = layoutFor(name, owner, options);\n    if (component === null && layout === null) {\n      return null;\n    } else {\n      return {\n        component,\n        layout\n      };\n    }\n  }\n  var lookupPartial;\n  var templateFor;\n  var parseUnderscoredName;\n  if (_deprecatedFeatures.PARTIALS) {\n    lookupPartial = function (templateName, owner) {\n      (true && !(false) && (0, _debug.deprecate)(`The use of \\`{{partial}}\\` is deprecated, please refactor the \"${templateName}\" partial to a component`, false, {\n        id: 'ember-views.partial',\n        until: '4.0.0',\n        url: 'https://deprecations.emberjs.com/v3.x#toc_ember-views-partial',\n        for: 'ember-source',\n        since: {\n          enabled: '3.15.0-beta.1'\n        }\n      }));\n      if (templateName === null) {\n        return;\n      }\n      var template = templateFor(owner, parseUnderscoredName(templateName), templateName);\n      (true && !(Boolean(template)) && (0, _debug.assert)(`Unable to find partial with name \"${templateName}\"`, Boolean(template)));\n      return template;\n    };\n    templateFor = function (owner, underscored, name) {\n      if (_deprecatedFeatures.PARTIALS) {\n        if (!name) {\n          return;\n        }\n        (true && !(name.indexOf('.') === -1) && (0, _debug.assert)(`templateNames are not allowed to contain periods: ${name}`, name.indexOf('.') === -1));\n        if (!owner) {\n          throw new _error.default('Container was not found when looking up a views template. ' + 'This is most likely due to manually instantiating an Ember.View. ' + 'See: http://git.io/EKPpnA');\n        }\n        return owner.lookup(`template:${underscored}`) || owner.lookup(`template:${name}`);\n      }\n    };\n    parseUnderscoredName = function (templateName) {\n      var nameParts = templateName.split('/');\n      var lastPart = nameParts[nameParts.length - 1];\n      nameParts[nameParts.length - 1] = `_${lastPart}`;\n      return nameParts.join('/');\n    };\n  }\n  var BUILTIN_KEYWORD_HELPERS = {\n    action: action$1,\n    mut,\n    readonly,\n    unbound,\n    'query-params': queryParams,\n    '-hash': _runtime.hash,\n    '-each-in': eachIn,\n    '-normalize-class': normalizeClassHelper,\n    '-resolve': resolve,\n    '-track-array': trackArray,\n    '-mount': mountHelper,\n    '-outlet': outletHelper,\n    '-in-el-null': inElementNullCheckHelper\n  };\n  if (true /* DEBUG */) {\n    BUILTIN_KEYWORD_HELPERS['-disallow-dynamic-resolution'] = disallowDynamicResolution;\n  } else {\n    // Bug: this may be a quirk of our test setup?\n    // In prod builds, this is a no-op helper and is unused in practice. We shouldn't need\n    // to add it at all, but the current test build doesn't produce a \"prod compiler\", so\n    // we ended up running the debug-build for the template compliler in prod tests. Once\n    // that is fixed, this can be removed. For now, this allows the test to work and does\n    // not really harm anything, since it's just a no-op pass-through helper and the bytes\n    // has to be included anyway. In the future, perhaps we can avoid the latter by using\n    // `import(...)`?\n    BUILTIN_KEYWORD_HELPERS['-disallow-dynamic-resolution'] = disallowDynamicResolution;\n  }\n  var BUILTIN_HELPERS = (0, _polyfills.assign)((0, _polyfills.assign)({}, BUILTIN_KEYWORD_HELPERS), {\n    array: _runtime.array,\n    concat: _runtime.concat,\n    fn: _runtime.fn,\n    get: _runtime.get,\n    hash: _runtime.hash\n  });\n  var BUILTIN_KEYWORD_MODIFIERS = {\n    action: actionModifier\n  };\n  var BUILTIN_MODIFIERS = (0, _polyfills.assign)((0, _polyfills.assign)({}, BUILTIN_KEYWORD_MODIFIERS), {\n    on: _runtime.on\n  });\n  var CLASSIC_HELPER_MANAGER_ASSOCIATED = new _util._WeakSet();\n  class ResolverImpl {\n    constructor() {\n      this.componentDefinitionCache = new Map();\n    }\n    lookupPartial(name, owner) {\n      if (_deprecatedFeatures.PARTIALS) {\n        var templateFactory$$1 = lookupPartial(name, owner);\n        var template = templateFactory$$1(owner);\n        return new _opcodeCompiler.PartialDefinitionImpl(name, template);\n      } else {\n        return null;\n      }\n    }\n    lookupHelper(name, owner) {\n      (true && !(!(BUILTIN_HELPERS[name] && owner.hasRegistration(`helper:${name}`))) && (0, _debug.assert)(`You attempted to overwrite the built-in helper \"${name}\" which is not allowed. Please rename the helper.`, !(BUILTIN_HELPERS[name] && owner.hasRegistration(`helper:${name}`))));\n      var helper$$1 = BUILTIN_HELPERS[name];\n      if (helper$$1 !== undefined) {\n        return helper$$1;\n      }\n      var factory = owner.factoryFor(`helper:${name}`);\n      if (factory === undefined) {\n        return null;\n      }\n      var definition = factory.class;\n      if (definition === undefined) {\n        return null;\n      }\n      if (typeof definition === 'function' && isClassicHelper(definition)) {\n        // For classic class based helpers, we need to pass the factoryFor result itself rather\n        // than the raw value (`factoryFor(...).class`). This is because injections are already\n        // bound in the factoryFor result, including type-based injections\n        if (true /* DEBUG */) {\n          // In DEBUG we need to only set the associated value once, otherwise\n          // we'll trigger an assertion\n          if (!CLASSIC_HELPER_MANAGER_ASSOCIATED.has(factory)) {\n            CLASSIC_HELPER_MANAGER_ASSOCIATED.add(factory);\n            (0, _manager2.setInternalHelperManager)(CLASSIC_HELPER_MANAGER, factory);\n          }\n        } else {\n          (0, _manager2.setInternalHelperManager)(CLASSIC_HELPER_MANAGER, factory);\n        }\n        return factory;\n      }\n      return definition;\n    }\n    lookupBuiltInHelper(name) {\n      var _a;\n      return (_a = BUILTIN_KEYWORD_HELPERS[name]) !== null && _a !== void 0 ? _a : null;\n    }\n    lookupModifier(name, owner) {\n      var builtin = BUILTIN_MODIFIERS[name];\n      if (builtin !== undefined) {\n        return builtin;\n      }\n      var modifier = owner.factoryFor(`modifier:${name}`);\n      if (modifier === undefined) {\n        return null;\n      }\n      return modifier.class || null;\n    }\n    lookupBuiltInModifier(name) {\n      var _a;\n      return (_a = BUILTIN_KEYWORD_MODIFIERS[name]) !== null && _a !== void 0 ? _a : null;\n    }\n    lookupComponent(name, owner) {\n      var pair = lookupComponentPair(owner, name);\n      if (pair === null) {\n        (true && !(name !== 'text-area') && (0, _debug.assert)('Could not find component `<TextArea />` (did you mean `<Textarea />`?)', name !== 'text-area'));\n        return null;\n      }\n      var template = null;\n      var key;\n      if (pair.component === null) {\n        key = template = pair.layout(owner);\n      } else {\n        key = pair.component;\n      }\n      var cachedComponentDefinition = this.componentDefinitionCache.get(key);\n      if (cachedComponentDefinition !== undefined) {\n        return cachedComponentDefinition;\n      }\n      if (template === null && pair.layout !== null) {\n        template = pair.layout(owner);\n      }\n      var finalizer = (0, _instrumentation._instrumentStart)('render.getComponentDefinition', instrumentationPayload$1, name);\n      var definition = null;\n      if (pair.component === null) {\n        if (_environment2.ENV._TEMPLATE_ONLY_GLIMMER_COMPONENTS) {\n          definition = {\n            state: (0, _runtime.templateOnlyComponent)(undefined, name),\n            manager: _runtime.TEMPLATE_ONLY_COMPONENT_MANAGER,\n            template\n          };\n        } else {\n          var factory = owner.factoryFor((0, _container.privatize)`component:-default`);\n          var manager = (0, _manager2.getInternalComponentManager)(factory.class);\n          definition = {\n            state: factory,\n            manager,\n            template\n          };\n        }\n      } else {\n        (true && !(pair.component.class !== undefined) && (0, _debug.assert)(`missing component class ${name}`, pair.component.class !== undefined));\n        var _factory2 = pair.component;\n        var ComponentClass = _factory2.class;\n        var _manager = (0, _manager2.getInternalComponentManager)(ComponentClass);\n        definition = {\n          state: isCurlyManager(_manager) ? _factory2 : ComponentClass,\n          manager: _manager,\n          template\n        };\n      }\n      finalizer();\n      this.componentDefinitionCache.set(key, definition);\n      (true && !(!(definition === null && name === 'text-area')) && (0, _debug.assert)('Could not find component `<TextArea />` (did you mean `<Textarea />`?)', !(definition === null && name === 'text-area')));\n      return definition;\n    }\n  }\n  class DynamicScope {\n    constructor(view, outletState) {\n      this.view = view;\n      this.outletState = outletState;\n    }\n    child() {\n      return new DynamicScope(this.view, this.outletState);\n    }\n    get(key) {\n      // tslint:disable-next-line:max-line-length\n      (true && !(key === 'outletState') && (0, _debug.assert)(`Using \\`-get-dynamic-scope\\` is only supported for \\`outletState\\` (you used \\`${key}\\`).`, key === 'outletState'));\n      return this.outletState;\n    }\n    set(key, value) {\n      // tslint:disable-next-line:max-line-length\n      (true && !(key === 'outletState') && (0, _debug.assert)(`Using \\`-with-dynamic-scope\\` is only supported for \\`outletState\\` (you used \\`${key}\\`).`, key === 'outletState'));\n      this.outletState = value;\n      return value;\n    }\n  } // This wrapper logic prevents us from rerendering in case of a hard failure\n  // during render. This prevents infinite revalidation type loops from occuring,\n  // and ensures that errors are not swallowed by subsequent follow on failures.\n\n  function errorLoopTransaction(fn$$1) {\n    if (true /* DEBUG */) {\n      return () => {\n        var didError = true;\n        try {\n          fn$$1();\n          didError = false;\n        } finally {\n          if (didError) {\n            // Noop the function so that we won't keep calling it and causing\n            // infinite looping failures;\n            fn$$1 = () => {\n              console.warn('Attempted to rerender, but the Ember application has had an unrecoverable error occur during render. You should reload the application after fixing the cause of the error.');\n            };\n          }\n        }\n      };\n    } else {\n      return fn$$1;\n    }\n  }\n  class RootState {\n    constructor(root, runtime, context, owner, template, self, parentElement, dynamicScope, builder) {\n      this.root = root;\n      this.runtime = runtime;\n      (true && !(template !== undefined) && (0, _debug.assert)(`You cannot render \\`${(0, _reference.valueForRef)(self)}\\` without a template.`, template !== undefined));\n      this.id = (0, _views.getViewId)(root);\n      this.result = undefined;\n      this.destroyed = false;\n      this.render = errorLoopTransaction(() => {\n        var layout = (0, _util.unwrapTemplate)(template).asLayout();\n        var iterator = (0, _runtime.renderMain)(runtime, context, owner, self, builder(runtime.env, {\n          element: parentElement,\n          nextSibling: null\n        }), layout, dynamicScope);\n        var result = this.result = iterator.sync(); // override .render function after initial render\n\n        this.render = errorLoopTransaction(() => result.rerender({\n          alwaysRevalidate: false\n        }));\n      });\n    }\n    isFor(possibleRoot) {\n      return this.root === possibleRoot;\n    }\n    destroy() {\n      var {\n        result,\n        runtime: {\n          env\n        }\n      } = this;\n      this.destroyed = true;\n      this.runtime = undefined;\n      this.root = null;\n      this.result = undefined;\n      this.render = undefined;\n      if (result !== undefined) {\n        /*\n         Handles these scenarios:\n                * When roots are removed during standard rendering process, a transaction exists already\n           `.begin()` / `.commit()` are not needed.\n         * When roots are being destroyed manually (`component.append(); component.destroy() case), no\n           transaction exists already.\n         * When roots are being destroyed during `Renderer#destroy`, no transaction exists\n                */\n        (0, _runtime.inTransaction)(env, () => (0, _destroyable.destroy)(result));\n      }\n    }\n  }\n  var renderers = [];\n  function _resetRenderers() {\n    renderers.length = 0;\n  }\n  function register(renderer) {\n    (true && !(renderers.indexOf(renderer) === -1) && (0, _debug.assert)('Cannot register the same renderer twice', renderers.indexOf(renderer) === -1));\n    renderers.push(renderer);\n  }\n  function deregister(renderer) {\n    var index = renderers.indexOf(renderer);\n    (true && !(index !== -1) && (0, _debug.assert)('Cannot deregister unknown unregistered renderer', index !== -1));\n    renderers.splice(index, 1);\n  }\n  function loopBegin() {\n    for (var i = 0; i < renderers.length; i++) {\n      renderers[i]._scheduleRevalidate();\n    }\n  }\n  function K() {\n    /* noop */\n  }\n  var renderSettledDeferred = null;\n  /*\n    Returns a promise which will resolve when rendering has settled. Settled in\n    this context is defined as when all of the tags in use are \"current\" (e.g.\n    `renderers.every(r => r._isValid())`). When this is checked at the _end_ of\n    the run loop, this essentially guarantees that all rendering is completed.\n  \n    @method renderSettled\n    @returns {Promise<void>} a promise which fulfills when rendering has settled\n  */\n\n  function renderSettled() {\n    if (renderSettledDeferred === null) {\n      renderSettledDeferred = _rsvp.default.defer(); // if there is no current runloop, the promise created above will not have\n      // a chance to resolve (because its resolved in backburner's \"end\" event)\n\n      if (!(0, _runloop._getCurrentRunLoop)()) {\n        // ensure a runloop has been kicked off\n        _runloop._backburner.schedule('actions', null, K);\n      }\n    }\n    return renderSettledDeferred.promise;\n  }\n  function resolveRenderPromise() {\n    if (renderSettledDeferred !== null) {\n      var _resolve = renderSettledDeferred.resolve;\n      renderSettledDeferred = null;\n      _runloop._backburner.join(null, _resolve);\n    }\n  }\n  var loops = 0;\n  function loopEnd() {\n    for (var i = 0; i < renderers.length; i++) {\n      if (!renderers[i]._isValid()) {\n        if (loops > _environment2.ENV._RERENDER_LOOP_LIMIT) {\n          loops = 0; // TODO: do something better\n\n          renderers[i].destroy();\n          throw new Error('infinite rendering invalidation detected');\n        }\n        loops++;\n        return _runloop._backburner.join(null, K);\n      }\n    }\n    loops = 0;\n    resolveRenderPromise();\n  }\n  _runloop._backburner.on('begin', loopBegin);\n  _runloop._backburner.on('end', loopEnd);\n  class Renderer {\n    constructor(owner, document, env, rootTemplate, viewRegistry, builder = _runtime.clientBuilder) {\n      this._inRenderTransaction = false;\n      this._lastRevision = -1;\n      this._destroyed = false;\n      this._owner = owner;\n      this._rootTemplate = rootTemplate(owner);\n      this._viewRegistry = viewRegistry;\n      this._roots = [];\n      this._removedRoots = [];\n      this._builder = builder;\n      this._isInteractive = env.isInteractive; // resolver is exposed for tests\n\n      var resolver = this._runtimeResolver = new ResolverImpl();\n      var sharedArtifacts = (0, _program.artifacts)();\n      this._context = (0, _opcodeCompiler.programCompilationContext)(sharedArtifacts, resolver);\n      var runtimeEnvironmentDelegate = new EmberEnvironmentDelegate(owner, env.isInteractive);\n      this._runtime = (0, _runtime.runtimeContext)({\n        appendOperations: env.hasDOM ? new _runtime.DOMTreeConstruction(document) : new _node.NodeDOMTreeConstruction(document),\n        updateOperations: new _runtime.DOMChanges(document)\n      }, runtimeEnvironmentDelegate, sharedArtifacts, resolver);\n    }\n    static create(props) {\n      var {\n        document,\n        env,\n        rootTemplate,\n        _viewRegistry,\n        builder\n      } = props;\n      return new this((0, _owner2.getOwner)(props), document, env, rootTemplate, _viewRegistry, builder);\n    }\n    get debugRenderTree() {\n      var {\n        debugRenderTree\n      } = this._runtime.env;\n      (true && !(debugRenderTree) && (0, _debug.assert)('Attempted to access the DebugRenderTree, but it did not exist. Is the Ember Inspector open?', debugRenderTree));\n      return debugRenderTree;\n    } // renderer HOOKS\n\n    appendOutletView(view, target) {\n      var definition = createRootOutlet(view);\n      this._appendDefinition(view, (0, _runtime.curry)(0\n      /* Component */, definition, view.owner, null, true), target);\n    }\n    appendTo(view, target) {\n      var definition = new RootComponentDefinition(view);\n      this._appendDefinition(view, (0, _runtime.curry)(0\n      /* Component */, definition, this._owner, null, true), target);\n    }\n    _appendDefinition(root, definition, target) {\n      var self = (0, _reference.createConstRef)(definition, 'this');\n      var dynamicScope = new DynamicScope(null, _reference.UNDEFINED_REFERENCE);\n      var rootState = new RootState(root, this._runtime, this._context, this._owner, this._rootTemplate, self, target, dynamicScope, this._builder);\n      this._renderRoot(rootState);\n    }\n    rerender() {\n      this._scheduleRevalidate();\n    }\n    register(view) {\n      var id = (0, _views.getViewId)(view);\n      (true && !(!this._viewRegistry[id]) && (0, _debug.assert)('Attempted to register a view with an id already in use: ' + id, !this._viewRegistry[id]));\n      this._viewRegistry[id] = view;\n    }\n    unregister(view) {\n      delete this._viewRegistry[(0, _views.getViewId)(view)];\n    }\n    remove(view) {\n      view._transitionTo('destroying');\n      this.cleanupRootFor(view);\n      if (this._isInteractive) {\n        view.trigger('didDestroyElement');\n      }\n    }\n    cleanupRootFor(view) {\n      // no need to cleanup roots if we have already been destroyed\n      if (this._destroyed) {\n        return;\n      }\n      var roots = this._roots; // traverse in reverse so we can remove items\n      // without mucking up the index\n\n      var i = this._roots.length;\n      while (i--) {\n        var root = roots[i];\n        if (root.isFor(view)) {\n          root.destroy();\n          roots.splice(i, 1);\n        }\n      }\n    }\n    destroy() {\n      if (this._destroyed) {\n        return;\n      }\n      this._destroyed = true;\n      this._clearAllRoots();\n    }\n    getElement(view) {\n      if (this._isInteractive) {\n        return (0, _views.getViewElement)(view);\n      } else {\n        throw new Error('Accessing `this.element` is not allowed in non-interactive environments (such as FastBoot).');\n      }\n    }\n    getBounds(view) {\n      var bounds = view[BOUNDS];\n      (true && !(Boolean(bounds)) && (0, _debug.assert)('object passed to getBounds must have the BOUNDS symbol as a property', Boolean(bounds)));\n      var parentElement = bounds.parentElement();\n      var firstNode = bounds.firstNode();\n      var lastNode = bounds.lastNode();\n      return {\n        parentElement,\n        firstNode,\n        lastNode\n      };\n    }\n    createElement(tagName) {\n      return this._runtime.env.getAppendOperations().createElement(tagName);\n    }\n    _renderRoot(root) {\n      var {\n        _roots: roots\n      } = this;\n      roots.push(root);\n      if (roots.length === 1) {\n        register(this);\n      }\n      this._renderRootsTransaction();\n    }\n    _renderRoots() {\n      var {\n        _roots: roots,\n        _runtime: runtime,\n        _removedRoots: removedRoots\n      } = this;\n      var initialRootsLength;\n      do {\n        initialRootsLength = roots.length;\n        (0, _runtime.inTransaction)(runtime.env, () => {\n          // ensure that for the first iteration of the loop\n          // each root is processed\n          for (var i = 0; i < roots.length; i++) {\n            var root = roots[i];\n            if (root.destroyed) {\n              // add to the list of roots to be removed\n              // they will be removed from `this._roots` later\n              removedRoots.push(root); // skip over roots that have been marked as destroyed\n\n              continue;\n            } // when processing non-initial reflush loops,\n            // do not process more roots than needed\n\n            if (i >= initialRootsLength) {\n              continue;\n            }\n            root.render();\n          }\n          this._lastRevision = (0, _validator.valueForTag)(_validator.CURRENT_TAG);\n        });\n      } while (roots.length > initialRootsLength); // remove any roots that were destroyed during this transaction\n\n      while (removedRoots.length) {\n        var root = removedRoots.pop();\n        var rootIndex = roots.indexOf(root);\n        roots.splice(rootIndex, 1);\n      }\n      if (this._roots.length === 0) {\n        deregister(this);\n      }\n    }\n    _renderRootsTransaction() {\n      if (this._inRenderTransaction) {\n        // currently rendering roots, a new root was added and will\n        // be processed by the existing _renderRoots invocation\n        return;\n      } // used to prevent calling _renderRoots again (see above)\n      // while we are actively rendering roots\n\n      this._inRenderTransaction = true;\n      var completedWithoutError = false;\n      try {\n        this._renderRoots();\n        completedWithoutError = true;\n      } finally {\n        if (!completedWithoutError) {\n          this._lastRevision = (0, _validator.valueForTag)(_validator.CURRENT_TAG);\n        }\n        this._inRenderTransaction = false;\n      }\n    }\n    _clearAllRoots() {\n      var roots = this._roots;\n      for (var i = 0; i < roots.length; i++) {\n        var root = roots[i];\n        root.destroy();\n      }\n      this._removedRoots.length = 0;\n      this._roots = []; // if roots were present before destroying\n      // deregister this renderer instance\n\n      if (roots.length) {\n        deregister(this);\n      }\n    }\n    _scheduleRevalidate() {\n      _runloop._backburner.scheduleOnce('render', this, this._revalidate);\n    }\n    _isValid() {\n      return this._destroyed || this._roots.length === 0 || (0, _validator.validateTag)(_validator.CURRENT_TAG, this._lastRevision);\n    }\n    _revalidate() {\n      if (this._isValid()) {\n        return;\n      }\n      this._renderRootsTransaction();\n    }\n  }\n  _exports.Renderer = Renderer;\n  var TEMPLATES = {};\n  function setTemplates(templates) {\n    TEMPLATES = templates;\n  }\n  function getTemplates() {\n    return TEMPLATES;\n  }\n  function getTemplate(name) {\n    if (Object.prototype.hasOwnProperty.call(TEMPLATES, name)) {\n      return TEMPLATES[name];\n    }\n  }\n  function hasTemplate(name) {\n    return Object.prototype.hasOwnProperty.call(TEMPLATES, name);\n  }\n  function setTemplate(name, template) {\n    return TEMPLATES[name] = template;\n  }\n  var LinkToTemplate = (0, _opcodeCompiler.templateFactory)({\n    \"id\": \"E6sfwpuG\",\n    \"block\": \"[[[41,[30,0,[\\\"modernized\\\"]],[[[11,3],[16,1,[30,0,[\\\"id\\\"]]],[16,0,[30,0,[\\\"class\\\"]]],[16,\\\"role\\\",[30,0,[\\\"role\\\"]]],[16,\\\"title\\\",[30,0,[\\\"title\\\"]]],[16,\\\"rel\\\",[30,0,[\\\"rel\\\"]]],[16,\\\"tabindex\\\",[30,0,[\\\"tabindex\\\"]]],[16,\\\"target\\\",[30,0,[\\\"target\\\"]]],[17,1],[16,6,[30,0,[\\\"href\\\"]]],[4,[38,1],[\\\"click\\\",[30,0,[\\\"click\\\"]]],null],[12],[18,3,null],[13]],[]],[[[44,[[50,\\\"-link-to\\\",0,null,null]],[[[8,[30,2],[[17,1]],[[\\\"@__ARGS__\\\"],[[30,0,[\\\"args\\\"]]]],[[\\\"default\\\"],[[[[18,3,null]],[]]]]]],[2]]]],[]]]],[\\\"&attrs\\\",\\\"LegacyLinkTo\\\",\\\"&default\\\"],false,[\\\"if\\\",\\\"on\\\",\\\"yield\\\",\\\"let\\\",\\\"component\\\"]]\",\n    \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/link-to.hbs\",\n    \"isStrictMode\": false\n  });\n  var __decorate$3 = undefined && undefined.__decorate || function (decorators, target, key, desc) {\n    var c = arguments.length,\n      r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n      d;\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\n  };\n  var EMPTY_ARRAY$1 = [];\n  var EMPTY_QUERY_PARAMS$1 = {};\n  (0, _debug.debugFreeze)(EMPTY_ARRAY$1);\n  (0, _debug.debugFreeze)(EMPTY_QUERY_PARAMS$1);\n  function isMissing(value) {\n    return value === null || value === undefined;\n  }\n  function isPresent(value) {\n    return !isMissing(value);\n  }\n  function isQueryParams(value) {\n    return typeof value === 'object' && value !== null && value['isQueryParams'] === true;\n  }\n  class LinkTo extends InternalComponent {\n    constructor() {\n      super(...arguments);\n      this.modernized = this.shouldModernize(); // GH #17963\n\n      this.currentRouteCache = (0, _validator.createCache)(() => {\n        (0, _validator.consumeTag)((0, _validator.tagFor)(this.routing, 'currentState'));\n        return (0, _validator.untrack)(() => this.routing.currentRouteName);\n      });\n    }\n    static toString() {\n      return 'LinkTo';\n    }\n    validateArguments() {\n      (true && !(!this.modernized || !this.isEngine || this.engineMountPoint !== undefined) && (0, _debug.assert)('You attempted to use the <LinkTo> component within a routeless engine, this is not supported. ' + 'If you are using the ember-engines addon, use the <LinkToExternal> component instead. ' + 'See https://ember-engines.com/docs/links for more info.', !this.modernized || !this.isEngine || this.engineMountPoint !== undefined));\n      (true && !(!this.modernized || 'route' in this.args.named || 'model' in this.args.named || 'models' in this.args.named || 'query' in this.args.named) && (0, _debug.assert)('You must provide at least one of the `@route`, `@model`, `@models` or `@query` argument to `<LinkTo>`.', !this.modernized || 'route' in this.args.named || 'model' in this.args.named || 'models' in this.args.named || 'query' in this.args.named));\n      (true && !(!('model' in this.args.named && 'models' in this.args.named)) && (0, _debug.assert)('You cannot provide both the `@model` and `@models` arguments to the <LinkTo> component.', !('model' in this.args.named && 'models' in this.args.named)));\n      super.validateArguments();\n    }\n    get class() {\n      var classes = 'ember-view';\n      if (this.isActive) {\n        classes += this.classFor('active');\n        if (this.willBeActive === false) {\n          classes += ' ember-transitioning-out';\n        }\n      } else if (this.willBeActive) {\n        classes += ' ember-transitioning-in';\n      }\n      if (this.isLoading) {\n        classes += this.classFor('loading');\n      }\n      if (this.isDisabled) {\n        classes += this.classFor('disabled');\n      }\n      return classes;\n    }\n    get href() {\n      if (this.isLoading) {\n        return '#';\n      }\n      var {\n        routing,\n        route,\n        models,\n        query\n      } = this;\n      (true && !(isPresent(route)) && (0, _debug.assert)('[BUG] route can only be missing if isLoading is true', isPresent(route))); // consume the current router state so we invalidate when QP changes\n      // TODO: can we narrow this down to QP changes only?\n      (0, _validator.consumeTag)((0, _validator.tagFor)(routing, 'currentState'));\n      if (true /* DEBUG */) {\n        try {\n          return routing.generateURL(route, models, query);\n        } catch (e) {\n          // tslint:disable-next-line:max-line-length\n          e.message = `While generating link to route \"${route}\": ${e.message}`;\n          throw e;\n        }\n      } else {\n        return routing.generateURL(route, models, query);\n      }\n    }\n    click(event) {\n      if (!(0, _views.isSimpleClick)(event)) {\n        return;\n      }\n      var element = event.currentTarget;\n      (true && !(element instanceof HTMLAnchorElement) && (0, _debug.assert)('[BUG] must be an <a> element', element instanceof HTMLAnchorElement));\n      var isSelf = element.target === '' || element.target === '_self';\n      if (isSelf) {\n        this.preventDefault(event);\n      } else {\n        return;\n      }\n      if (this.isDisabled) {\n        return;\n      }\n      if (this.isLoading) {\n        (true && (0, _debug.warn)('This link is in an inactive loading state because at least one of its models ' + 'currently has a null/undefined value, or the provided route name is invalid.', false, {\n          id: 'ember-glimmer.link-to.inactive-loading-state'\n        }));\n        return;\n      }\n      var {\n        routing,\n        route,\n        models,\n        query,\n        replace\n      } = this;\n      var payload = {\n        routeName: route,\n        queryParams: query,\n        transition: undefined\n      };\n      (0, _instrumentation.flaggedInstrument)('interaction.link-to', payload, () => {\n        (true && !(isPresent(route)) && (0, _debug.assert)('[BUG] route can only be missing if isLoading is true', isPresent(route))); // TODO: is the signature wrong? this.query is definitely NOT a QueryParam!\n        payload.transition = routing.transitionTo(route, models, query, replace);\n      });\n    }\n    get route() {\n      if ('route' in this.args.named) {\n        var route = this.named('route');\n        (true && !(isMissing(route) || typeof route === 'string') && (0, _debug.assert)('The `@route` argument to the <LinkTo> component must be a string', isMissing(route) || typeof route === 'string'));\n        return route && this.namespaceRoute(route);\n      } else {\n        return this.currentRoute;\n      }\n    }\n    get currentRoute() {\n      return (0, _validator.getValue)(this.currentRouteCache);\n    } // TODO: not sure why generateURL takes {}[] instead of unknown[]\n\n    get models() {\n      if ('models' in this.args.named) {\n        var models = this.named('models');\n        (true && !(Array.isArray(models)) && (0, _debug.assert)('The `@models` argument to the <LinkTo> component must be an array.', Array.isArray(models)));\n        return models;\n      } else if ('model' in this.args.named) {\n        return [this.named('model')];\n      } else {\n        return EMPTY_ARRAY$1;\n      }\n    } // TODO: this should probably be Record<string, unknown> or something\n\n    get query() {\n      if ('query' in this.args.named) {\n        var query = this.named('query');\n        (true && !(query !== null && typeof query === 'object') && (0, _debug.assert)('The `@query` argument to the <LinkTo> component must be an object.', query !== null && typeof query === 'object'));\n        return (0, _polyfills.assign)({}, query);\n      } else {\n        return EMPTY_QUERY_PARAMS$1;\n      }\n    }\n    get replace() {\n      return this.named('replace') === true;\n    }\n    get isActive() {\n      return this.isActiveForState(this.routing.currentState);\n    }\n    get willBeActive() {\n      var current = this.routing.currentState;\n      var target = this.routing.targetState;\n      if (current === target) {\n        return null;\n      } else {\n        return this.isActiveForState(target);\n      }\n    }\n    get isLoading() {\n      return isMissing(this.route) || this.models.some(model => isMissing(model));\n    }\n    get isDisabled() {\n      return Boolean(this.named('disabled'));\n    }\n    get isEngine() {\n      return (0, _engine.getEngineParent)(this.owner) !== undefined;\n    }\n    get engineMountPoint() {\n      return this.owner.mountPoint;\n    }\n    classFor(state) {\n      var className = this.named(`${state}Class`);\n      (true && !(isMissing(className) || typeof className === 'string' || typeof className === 'boolean') && (0, _debug.assert)(`The \\`@${state}Class\\` argument to the <LinkTo> component must be a string or boolean`, isMissing(className) || typeof className === 'string' || typeof className === 'boolean'));\n      if (className === true || isMissing(className)) {\n        return ` ${state}`;\n      } else if (className) {\n        return ` ${className}`;\n      } else {\n        return '';\n      }\n    }\n    namespaceRoute(route) {\n      var {\n        engineMountPoint\n      } = this;\n      if (engineMountPoint === undefined) {\n        return route;\n      } else if (route === 'application') {\n        return engineMountPoint;\n      } else {\n        return `${engineMountPoint}.${route}`;\n      }\n    }\n    isActiveForState(state) {\n      if (!isPresent(state)) {\n        return false;\n      }\n      if (this.isLoading) {\n        return false;\n      }\n      var currentWhen = this.named('current-when');\n      if (typeof currentWhen === 'boolean') {\n        return currentWhen;\n      } else if (typeof currentWhen === 'string') {\n        var {\n          models,\n          routing\n        } = this;\n        return currentWhen.split(' ').some(route => routing.isActiveForRoute(models, undefined, this.namespaceRoute(route), state));\n      } else {\n        var {\n          route,\n          models: _models,\n          query,\n          routing: _routing\n        } = this;\n        (true && !(isPresent(route)) && (0, _debug.assert)('[BUG] route can only be missing if isLoading is true', isPresent(route))); // TODO: is the signature wrong? this.query is definitely NOT a QueryParam!\n        return _routing.isActiveForRoute(_models, query, route, state);\n      }\n    }\n    preventDefault(event) {\n      event.preventDefault();\n    }\n    shouldModernize() {\n      return Boolean(true\n      /* EMBER_MODERNIZED_BUILT_IN_COMPONENTS */) && Component._wasReopened === false && _runtime2.TargetActionSupport._wasReopened === false && LinkComponent._wasReopened === false;\n    }\n    isSupportedArgument(name) {\n      var supportedArguments = ['route', 'model', 'models', 'query', 'replace', 'disabled', 'current-when', 'activeClass', 'loadingClass', 'disabledClass'];\n      return supportedArguments.indexOf(name) !== -1 || super.isSupportedArgument(name);\n    }\n  }\n  __decorate$3([(0, _service.inject)('-routing')], LinkTo.prototype, \"routing\", void 0);\n  __decorate$3([_object.action], LinkTo.prototype, \"click\", null); // Deprecated features\n\n  {\n    var {\n      prototype\n    } = LinkTo;\n    var descriptorFor = (target, property) => {\n      if (target) {\n        return Object.getOwnPropertyDescriptor(target, property) || descriptorFor(Object.getPrototypeOf(target), property);\n      } else {\n        return null;\n      }\n    };\n    handleDeprecatedArguments(LinkTo);\n    handleDeprecatedAttributeArguments(LinkTo, [\n    // Component\n    'id', ['id', 'elementId'], 'class', ['class', 'classNames'], ['role', 'ariaRole'],\n    // LinkTo\n    'title', 'rel', 'tabindex', 'target']);\n    handleDeprecatedEventArguments(LinkTo); // @href\n\n    {\n      var superOnUnsupportedArgument = prototype['onUnsupportedArgument'];\n      Object.defineProperty(prototype, 'onUnsupportedArgument', {\n        configurable: true,\n        enumerable: false,\n        value: function onUnsupportedArgument(name) {\n          if (name === 'href') {\n            (true && !(false) && (0, _debug.assert)(`Passing the \\`@href\\` argument to <LinkTo> is not supported.`));\n          } else {\n            superOnUnsupportedArgument.call(this, name);\n          }\n        }\n      });\n    } // @tagName\n\n    {\n      var _superOnUnsupportedArgument = prototype['onUnsupportedArgument'];\n      Object.defineProperty(prototype, 'onUnsupportedArgument', {\n        configurable: true,\n        enumerable: false,\n        value: function onUnsupportedArgument(name) {\n          if (name === 'tagName') {\n            var tagName = this.named('tagName');\n            (true && !(false) && (0, _debug.deprecate)(`Passing the \\`@tagName\\` argument to <LinkTo> is deprecated. Using a <${tagName}> ` + 'element for navigation is not recommended as it creates issues with assistive ' + 'technologies. Remove this argument to use the default <a> element. In the rare ' + 'cases that calls for using a different element, refactor to use the router ' + 'service inside a custom event handler instead.', false, {\n              id: 'ember.link-to.tag-name',\n              for: 'ember-source',\n              since: {},\n              until: '4.0.0'\n            }));\n            this.modernized = false;\n          } else {\n            _superOnUnsupportedArgument.call(this, name);\n          }\n        }\n      });\n    } // @bubbles & @preventDefault\n\n    {\n      var superIsSupportedArgument = prototype['isSupportedArgument'];\n      Object.defineProperty(prototype, 'isSupportedArgument', {\n        configurable: true,\n        enumerable: false,\n        value: function isSupportedArgument(name) {\n          if (this.modernized) {\n            if (name === 'bubbles') {\n              (true && !(false) && (0, _debug.deprecate)('Passing the `@bubbles` argument to <LinkTo> is deprecated. ' + 'Use the {{on}} modifier to attach a custom event handler to ' + 'control event propagation.', false, {\n                id: 'ember.built-in-components.legacy-arguments',\n                for: 'ember-source',\n                since: {\n                  enabled: '3.27.0'\n                },\n                until: '4.0.0',\n                url: 'https://deprecations.emberjs.com/v3.x#toc_ember-built-in-components-legacy-arguments'\n              }));\n              return true;\n            }\n            if (name === 'preventDefault') {\n              (true && !(false) && (0, _debug.deprecate)('Passing the `@preventDefault` argument to <LinkTo> is deprecated. ' + '`preventDefault()` is called automatically on events that are ' + 'handled by the <LinkTo> component to prevent the browser from ' + 'navigating away from the page.', false, {\n                id: 'ember.built-in-components.legacy-arguments',\n                for: 'ember-source',\n                since: {\n                  enabled: '3.27.0'\n                },\n                until: '4.0.0',\n                url: 'https://deprecations.emberjs.com/v3.x#toc_ember-built-in-components-legacy-arguments'\n              }));\n              return true;\n            }\n          }\n          return superIsSupportedArgument.call(this, name);\n        }\n      });\n      Object.defineProperty(prototype, 'preventDefault', {\n        configurable: true,\n        enumerable: false,\n        value: function preventDefault(event) {\n          var shouldPreventDefault = true;\n          var shouldStopPropagation = false;\n          if ('preventDefault' in this.args.named) {\n            var value = this.named('preventDefault');\n            if (isMissing(value) || value) {\n              (true && !(false) && (0, _debug.deprecate)('Passing the `@preventDefault` argument to <LinkTo> is deprecated. ' + '`preventDefault()` is called automatically on events that are ' + 'handled by the <LinkTo> component to prevent the browser from ' + 'navigating away from the page.', false, {\n                id: 'ember.built-in-components.legacy-arguments',\n                for: 'ember-source',\n                since: {\n                  enabled: '3.27.0'\n                },\n                until: '4.0.0',\n                url: 'https://deprecations.emberjs.com/v3.x#toc_ember-built-in-components-legacy-arguments'\n              }));\n            } else {\n              (true && !(false) && (0, _debug.deprecate)('Passing the `@preventDefault` argument to <LinkTo> is deprecated. ' + '`preventDefault()` should always be called on events that are ' + 'handled by the <LinkTo> component to prevent the browser from ' + 'navigating away from the page.', false, {\n                id: 'ember.built-in-components.legacy-arguments',\n                for: 'ember-source',\n                since: {\n                  enabled: '3.27.0'\n                },\n                until: '4.0.0',\n                url: 'https://deprecations.emberjs.com/v3.x#toc_ember-built-in-components-legacy-arguments'\n              }));\n              shouldPreventDefault = false;\n            }\n          }\n          if ('bubbles' in this.args.named) {\n            var _value = this.named('bubbles');\n            if (_value === false) {\n              (true && !(false) && (0, _debug.deprecate)('Passing the `@bubbles` argument to <LinkTo> is deprecated. ' + 'Use the {{on}} modifier to attach a custom event handler to ' + 'control event propagation.', false, {\n                id: 'ember.built-in-components.legacy-arguments',\n                for: 'ember-source',\n                since: {\n                  enabled: '3.27.0'\n                },\n                until: '4.0.0',\n                url: 'https://deprecations.emberjs.com/v3.x#toc_ember-built-in-components-legacy-arguments'\n              }));\n              shouldStopPropagation = true;\n            } else {\n              (true && !(false) && (0, _debug.deprecate)('Passing the `@bubbles` argument to <LinkTo> is deprecated. ' + '`stopPropagation()` is not automatically called so there is ' + 'no need to pass this argument when you DO want the event to ' + 'propagate normally', false, {\n                id: 'ember.built-in-components.legacy-arguments',\n                for: 'ember-source',\n                since: {\n                  enabled: '3.27.0'\n                },\n                until: '4.0.0',\n                url: 'https://deprecations.emberjs.com/v3.x#toc_ember-built-in-components-legacy-arguments'\n              }));\n            }\n          }\n          if (shouldPreventDefault) {\n            event.preventDefault();\n          }\n          if (shouldStopPropagation) {\n            event.stopPropagation();\n          }\n        }\n      });\n    } // @disabledWhen\n\n    {\n      var _superIsSupportedArgument = prototype['isSupportedArgument'];\n      Object.defineProperty(prototype, 'isSupportedArgument', {\n        configurable: true,\n        enumerable: false,\n        value: function isSupportedArgument(name) {\n          if (this.modernized) {\n            if (name === 'disabledWhen') {\n              (true && !(false) && (0, _debug.deprecate)('Passing the `@disabledWhen` argument to <LinkTo> is deprecated. ' + 'Use the `@disabled` argument instead.', false, {\n                id: 'ember.link-to.disabled-when',\n                for: 'ember-source',\n                since: {},\n                until: '4.0.0'\n              }));\n              return true;\n            }\n          }\n          return _superIsSupportedArgument.call(this, name);\n        }\n      });\n      var superDescriptor = descriptorFor(prototype, 'isDisabled');\n      (true && !(superDescriptor && typeof superDescriptor.get === 'function') && (0, _debug.assert)(`[BUG] expecting isDisabled to be a getter on <LinkTo>`, superDescriptor && typeof superDescriptor.get === 'function'));\n      var superGetter = superDescriptor.get;\n      Object.defineProperty(prototype, 'isDisabled', {\n        configurable: true,\n        enumerable: false,\n        get: function isDisabled() {\n          if ('disabledWhen' in this.args.named) {\n            (true && !(false) && (0, _debug.deprecate)('Passing the `@disabledWhen` argument to <LinkTo> is deprecated. ' + 'Use the `@disabled` argument instead.', false, {\n              id: 'ember.link-to.disabled-when',\n              for: 'ember-source',\n              since: {},\n              until: '4.0.0'\n            }));\n            return Boolean(this.named('disabledWhen'));\n          }\n          return superGetter.call(this);\n        }\n      });\n    } // QP\n\n    {\n      var superModelsDescriptor = descriptorFor(prototype, 'models');\n      (true && !(superModelsDescriptor && typeof superModelsDescriptor.get === 'function') && (0, _debug.assert)(`[BUG] expecting models to be a getter on <LinkTo>`, superModelsDescriptor && typeof superModelsDescriptor.get === 'function'));\n      var superModelsGetter = superModelsDescriptor.get;\n      Object.defineProperty(prototype, 'models', {\n        configurable: true,\n        enumerable: false,\n        get: function models() {\n          var models = superModelsGetter.call(this);\n          if (models.length > 0 && !('query' in this.args.named)) {\n            if (isQueryParams(models[models.length - 1])) {\n              models = models.slice(0, -1);\n            }\n          }\n          return models;\n        }\n      });\n      var superQueryDescriptor = descriptorFor(prototype, 'query');\n      (true && !(superQueryDescriptor && typeof superQueryDescriptor.get === 'function') && (0, _debug.assert)(`[BUG] expecting query to be a getter on <LinkTo>`, superQueryDescriptor && typeof superQueryDescriptor.get === 'function'));\n      var superQueryGetter = superQueryDescriptor.get;\n      Object.defineProperty(prototype, 'query', {\n        configurable: true,\n        enumerable: false,\n        get: function query() {\n          var _a;\n          if ('query' in this.args.named) {\n            var qp = superQueryGetter.call(this);\n            if (isQueryParams(qp)) {\n              return (_a = qp.values) !== null && _a !== void 0 ? _a : EMPTY_QUERY_PARAMS$1;\n            } else {\n              return qp;\n            }\n          } else {\n            var models = superModelsGetter.call(this);\n            if (models.length > 0) {\n              var _qp = models[models.length - 1];\n              if (isQueryParams(_qp) && _qp.values !== null) {\n                return _qp.values;\n              }\n            }\n            return EMPTY_QUERY_PARAMS$1;\n          }\n        }\n      });\n    } // Positional Arguments\n\n    {\n      var superValidateArguments = prototype['validateArguments'];\n      Object.defineProperty(prototype, 'validateArguments', {\n        configurable: true,\n        enumerable: false,\n        value: function validateArguments() {\n          if (this.args.positional.length !== 0 || 'params' in this.args.named) {\n            // Already deprecated in the legacy implementation\n            this.modernized = false;\n          }\n          superValidateArguments.call(this);\n        }\n      });\n      var _superOnUnsupportedArgument2 = prototype['onUnsupportedArgument'];\n      Object.defineProperty(prototype, 'onUnsupportedArgument', {\n        configurable: true,\n        enumerable: false,\n        value: function onUnsupportedArgument(name) {\n          if (name !== 'params') {\n            _superOnUnsupportedArgument2.call(this, name);\n          }\n        }\n      });\n    }\n  }\n  if (_deprecatedFeatures.JQUERY_INTEGRATION) {\n    jQueryEventShim(LinkTo);\n  }\n  var LinkTo$1 = opaquify(LinkTo, LinkToTemplate);\n\n  /**\n  @module ember\n  */\n  /**\n    Calls [String.loc](/ember/release/classes/String/methods/loc?anchor=loc) with the\n    provided string. This is a convenient way to localize text within a template.\n    For example:\n  \n    ```javascript\n    Ember.STRINGS = {\n      '_welcome_': 'Bonjour'\n    };\n    ```\n  \n    ```handlebars\n    <div class='message'>\n      {{loc '_welcome_'}}\n    </div>\n    ```\n  \n    ```html\n    <div class='message'>\n      Bonjour\n    </div>\n    ```\n  \n    See [String.loc](/ember/release/classes/String/methods/loc?anchor=loc) for how to\n    set up localized string references.\n  \n    @method loc\n    @for Ember.Templates.helpers\n    @param {String} str The string to format.\n    @see {String#loc}\n    @public\n    @deprecated\n  */\n\n  var loc$1 = helper(function (params) {\n    return _string.loc.apply(null, params\n    /* let the other side handle errors */);\n  });\n  var OutletTemplate = (0, _opcodeCompiler.templateFactory)({\n    \"id\": \"3jT+eJpe\",\n    \"block\": \"[[[46,[28,[37,1],null,null],null,null,null]],[],false,[\\\"component\\\",\\\"-outlet\\\"]]\",\n    \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/outlet.hbs\",\n    \"isStrictMode\": false\n  });\n  var TOP_LEVEL_NAME = '-top-level';\n  var TOP_LEVEL_OUTLET = 'main';\n  class OutletView {\n    constructor(_environment, owner, template) {\n      this._environment = _environment;\n      this.owner = owner;\n      this.template = template;\n      var outletStateTag = (0, _validator.createTag)();\n      var outletState = {\n        outlets: {\n          main: undefined\n        },\n        render: {\n          owner: owner,\n          into: undefined,\n          outlet: TOP_LEVEL_OUTLET,\n          name: TOP_LEVEL_NAME,\n          controller: undefined,\n          model: undefined,\n          template\n        }\n      };\n      var ref = this.ref = (0, _reference.createComputeRef)(() => {\n        (0, _validator.consumeTag)(outletStateTag);\n        return outletState;\n      }, state => {\n        (0, _validator.dirtyTag)(outletStateTag);\n        outletState.outlets.main = state;\n      });\n      this.state = {\n        ref,\n        name: TOP_LEVEL_NAME,\n        outlet: TOP_LEVEL_OUTLET,\n        template,\n        controller: undefined,\n        model: undefined\n      };\n    }\n    static extend(injections) {\n      return class extends OutletView {\n        static create(options) {\n          if (options) {\n            return super.create((0, _polyfills.assign)({}, injections, options));\n          } else {\n            return super.create(injections);\n          }\n        }\n      };\n    }\n    static reopenClass(injections) {\n      (0, _polyfills.assign)(this, injections);\n    }\n    static create(options) {\n      var {\n        _environment,\n        template: templateFactory$$1\n      } = options;\n      var owner = (0, _owner2.getOwner)(options);\n      var template = templateFactory$$1(owner);\n      return new OutletView(_environment, owner, template);\n    }\n    appendTo(selector) {\n      var target;\n      if (this._environment.hasDOM) {\n        target = typeof selector === 'string' ? document.querySelector(selector) : selector;\n      } else {\n        target = selector;\n      }\n      var renderer = this.owner.lookup('renderer:-dom');\n      (0, _runloop.schedule)('render', renderer, 'appendOutletView', this, target);\n    }\n    rerender() {\n      /**/\n    }\n    setOutletState(state) {\n      (0, _reference.updateRef)(this.ref, state);\n    }\n    destroy() {\n      /**/\n    }\n  }\n  _exports.OutletView = OutletView;\n  function setupApplicationRegistry(registry) {\n    registry.injection('renderer', 'env', '-environment:main'); // because we are using injections we can't use instantiate false\n    // we need to use bind() to copy the function so factory for\n    // association won't leak\n\n    registry.register('service:-dom-builder', {\n      create({\n        bootOptions\n      }) {\n        var {\n          _renderMode\n        } = bootOptions;\n        switch (_renderMode) {\n          case 'serialize':\n            return _node.serializeBuilder.bind(null);\n          case 'rehydrate':\n            return _runtime.rehydrationBuilder.bind(null);\n          default:\n            return _runtime.clientBuilder.bind(null);\n        }\n      }\n    });\n    registry.injection('service:-dom-builder', 'bootOptions', '-environment:main');\n    registry.injection('renderer', 'builder', 'service:-dom-builder');\n    registry.register((0, _container.privatize)`template:-root`, RootTemplate);\n    registry.injection('renderer', 'rootTemplate', (0, _container.privatize)`template:-root`);\n    registry.register('renderer:-dom', Renderer);\n    registry.injection('renderer', 'document', 'service:-document');\n  }\n  function setupEngineRegistry(registry) {\n    registry.optionsForType('template', {\n      instantiate: false\n    });\n    registry.register('view:-outlet', OutletView);\n    registry.register('template:-outlet', OutletTemplate);\n    registry.injection('view:-outlet', 'template', 'template:-outlet');\n    registry.optionsForType('helper', {\n      instantiate: false\n    });\n    registry.register('helper:loc', loc$1);\n    registry.register('component:-text-field', TextField);\n    registry.register('component:-checkbox', Checkbox);\n    registry.register('component:input', Input$1);\n    {\n      registry.register('component:link-to', LinkTo$1);\n      registry.register('component:-link-to', LinkComponent);\n      registry.register('component:-textarea', TextArea);\n      registry.register('component:textarea', Textarea$1);\n    }\n    if (!_environment2.ENV._TEMPLATE_ONLY_GLIMMER_COMPONENTS) {\n      registry.register((0, _container.privatize)`component:-default`, Component);\n    }\n  }\n  function setComponentManager$1(stringOrFunction, obj) {\n    var factory;\n    if (_deprecatedFeatures.COMPONENT_MANAGER_STRING_LOOKUP && typeof stringOrFunction === 'string') {\n      (true && !(false) && (0, _debug.deprecate)('Passing the name of the component manager to \"setupComponentManager\" is deprecated. Please pass a function that produces an instance of the manager.', false, {\n        id: 'deprecate-string-based-component-manager',\n        until: '4.0.0',\n        url: 'https://deprecations.emberjs.com/v3.x/#toc_component-manager-string-lookup',\n        for: 'ember-source',\n        since: {\n          enabled: '3.8.0'\n        }\n      }));\n      factory = function (owner) {\n        return owner.lookup(`component-manager:${stringOrFunction}`);\n      };\n    } else {\n      factory = stringOrFunction;\n    }\n    return (0, _manager2.setComponentManager)(factory, obj);\n  }\n  var componentCapabilities$1 = _exports.componentCapabilities = _manager2.componentCapabilities;\n  var modifierCapabilities$1 = _exports.modifierCapabilities = _manager2.modifierCapabilities;\n  if (true /* DEBUG */) {\n    _exports.componentCapabilities = componentCapabilities$1 = (version, options) => {\n      (true && !(version === '3.13') && (0, _debug.deprecate)('Versions of component manager capabilities prior to 3.13 have been deprecated. You must update to the 3.13 capabilities.', version === '3.13', {\n        id: 'manager-capabilities.components-3-4',\n        url: 'https://deprecations.emberjs.com/v3.x#toc_manager-capabilities-components-3-4',\n        until: '4.0.0',\n        for: 'ember-source',\n        since: {\n          enabled: '3.26.0'\n        }\n      }));\n      return (0, _manager2.componentCapabilities)(version, options);\n    };\n    _exports.modifierCapabilities = modifierCapabilities$1 = (version, options) => {\n      (true && !(version === '3.22') && (0, _debug.deprecate)('Versions of modifier manager capabilities prior to 3.22 have been deprecated. You must update to the 3.22 capabilities.', version === '3.22', {\n        id: 'manager-capabilities.modifiers-3-13',\n        url: 'https://deprecations.emberjs.com/v3.x#toc_manager-capabilities-modifiers-3-13',\n        until: '4.0.0',\n        for: 'ember-source',\n        since: {\n          enabled: '3.26.0'\n        }\n      }));\n      return (0, _manager2.modifierCapabilities)(version, options);\n    };\n  }\n\n  /**\n    [Glimmer](https://github.com/tildeio/glimmer) is a templating engine used by Ember.js that is compatible with a subset of the [Handlebars](http://handlebarsjs.com/) syntax.\n  \n    ### Showing a property\n  \n    Templates manage the flow of an application's UI, and display state (through\n    the DOM) to a user. For example, given a component with the property \"name\",\n    that component's template can use the name in several ways:\n  \n    ```app/components/person-profile.js\n    import Component from '@ember/component';\n  \n    export default Component.extend({\n      name: 'Jill'\n    });\n    ```\n  \n    ```app/components/person-profile.hbs\n    {{this.name}}\n    <div>{{this.name}}</div>\n    <span data-name={{this.name}}></span>\n    ```\n  \n    Any time the \"name\" property on the component changes, the DOM will be\n    updated.\n  \n    Properties can be chained as well:\n  \n    ```handlebars\n    {{@aUserModel.name}}\n    <div>{{@listOfUsers.firstObject.name}}</div>\n    ```\n  \n    ### Using Ember helpers\n  \n    When content is passed in mustaches `{{}}`, Ember will first try to find a helper\n    or component with that name. For example, the `if` helper:\n  \n    ```app/components/person-profile.hbs\n    {{if this.name \"I have a name\" \"I have no name\"}}\n    <span data-has-name={{if this.name true}}></span>\n    ```\n  \n    The returned value is placed where the `{{}}` is called. The above style is\n    called \"inline\". A second style of helper usage is called \"block\". For example:\n  \n    ```handlebars\n    {{#if this.name}}\n      I have a name\n    {{else}}\n      I have no name\n    {{/if}}\n    ```\n  \n    The block form of helpers allows you to control how the UI is created based\n    on the values of properties.\n    A third form of helper is called \"nested\". For example here the concat\n    helper will add \" Doe\" to a displayed name if the person has no last name:\n  \n    ```handlebars\n    <span data-name={{concat this.firstName (\n      if this.lastName (concat \" \" this.lastName) \"Doe\"\n    )}}></span>\n    ```\n  \n    Ember's built-in helpers are described under the [Ember.Templates.helpers](/ember/release/classes/Ember.Templates.helpers)\n    namespace. Documentation on creating custom helpers can be found under\n    [helper](/ember/release/functions/@ember%2Fcomponent%2Fhelper/helper) (or\n    under [Helper](/ember/release/classes/Helper) if a helper requires access to\n    dependency injection).\n  \n    ### Invoking a Component\n  \n    Ember components represent state to the UI of an application. Further\n    reading on components can be found under [Component](/ember/release/classes/Component).\n  \n    @module @ember/component\n    @main @ember/component\n    @public\n   */\n});","define(\"@ember/-internals/meta/index\", [\"exports\", \"@ember/-internals/meta/lib/meta\"], function (_exports, _meta) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"Meta\", {\n    enumerable: true,\n    get: function () {\n      return _meta.Meta;\n    }\n  });\n  Object.defineProperty(_exports, \"UNDEFINED\", {\n    enumerable: true,\n    get: function () {\n      return _meta.UNDEFINED;\n    }\n  });\n  Object.defineProperty(_exports, \"counters\", {\n    enumerable: true,\n    get: function () {\n      return _meta.counters;\n    }\n  });\n  Object.defineProperty(_exports, \"meta\", {\n    enumerable: true,\n    get: function () {\n      return _meta.meta;\n    }\n  });\n  Object.defineProperty(_exports, \"peekMeta\", {\n    enumerable: true,\n    get: function () {\n      return _meta.peekMeta;\n    }\n  });\n  Object.defineProperty(_exports, \"setMeta\", {\n    enumerable: true,\n    get: function () {\n      return _meta.setMeta;\n    }\n  });\n});","define(\"@ember/-internals/meta/lib/meta\", [\"exports\", \"@ember/-internals/utils\", \"@ember/debug\", \"@glimmer/destroyable\"], function (_exports, _utils, _debug, _destroyable) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.meta = _exports.counters = _exports.UNDEFINED = _exports.Meta = void 0;\n  _exports.peekMeta = peekMeta;\n  _exports.setMeta = setMeta;\n  var objectPrototype = Object.prototype;\n  var counters;\n  if (true /* DEBUG */) {\n    _exports.counters = counters = {\n      peekCalls: 0,\n      peekPrototypeWalks: 0,\n      setCalls: 0,\n      deleteCalls: 0,\n      metaCalls: 0,\n      metaInstantiated: 0,\n      matchingListenersCalls: 0,\n      observerEventsCalls: 0,\n      addToListenersCalls: 0,\n      removeFromListenersCalls: 0,\n      removeAllListenersCalls: 0,\n      listenersInherited: 0,\n      listenersFlattened: 0,\n      parentListenersUsed: 0,\n      flattenedListenersCalls: 0,\n      reopensAfterFlatten: 0,\n      readableLazyChainsCalls: 0,\n      writableLazyChainsCalls: 0\n    };\n  }\n  /**\n  @module ember\n  */\n\n  var UNDEFINED = _exports.UNDEFINED = (0, _utils.symbol)('undefined');\n  var currentListenerVersion = 1;\n  class Meta {\n    // DEBUG\n    constructor(obj) {\n      this._listenersVersion = 1;\n      this._inheritedEnd = -1;\n      this._flattenedVersion = 0;\n      if (true /* DEBUG */) {\n        counters.metaInstantiated++;\n      }\n      this._parent = undefined;\n      this._descriptors = undefined;\n      this._mixins = undefined;\n      this._lazyChains = undefined;\n      this._values = undefined;\n      this._revisions = undefined; // initial value for all flags right now is false\n      // see FLAGS const for detailed list of flags used\n\n      this._isInit = false; // used only internally\n\n      this.source = obj;\n      this.proto = obj.constructor === undefined ? undefined : obj.constructor.prototype;\n      this._listeners = undefined;\n    }\n    get parent() {\n      var parent = this._parent;\n      if (parent === undefined) {\n        var proto = getPrototypeOf(this.source);\n        this._parent = parent = proto === null || proto === objectPrototype ? null : meta(proto);\n      }\n      return parent;\n    } // These methods are here to prevent errors in legacy compat with some addons\n    // that used them as intimate API\n\n    setSourceDestroying() {\n      (true && !(false) && (0, _debug.deprecate)('setSourceDestroying is deprecated, use the destroy() API to destroy the object directly instead', false, {\n        id: 'meta-destruction-apis',\n        until: '3.25.0',\n        for: 'ember-source',\n        since: {\n          enabled: '3.21.0'\n        }\n      }));\n    }\n    setSourceDestroyed() {\n      (true && !(false) && (0, _debug.deprecate)('setSourceDestroyed is deprecated, use the destroy() API to destroy the object directly instead', false, {\n        id: 'meta-destruction-apis',\n        until: '3.25.0',\n        for: 'ember-source',\n        since: {\n          enabled: '3.21.0'\n        }\n      }));\n    }\n    isSourceDestroying() {\n      (true && !(false) && (0, _debug.deprecate)('isSourceDestroying is deprecated, use the isDestroying() API to check the object destruction state directly instead', false, {\n        id: 'meta-destruction-apis',\n        until: '3.25.0',\n        for: 'ember-source',\n        since: {\n          enabled: '3.21.0'\n        }\n      }));\n      return (0, _destroyable.isDestroying)(this.source);\n    }\n    isSourceDestroyed() {\n      (true && !(false) && (0, _debug.deprecate)('isSourceDestroyed is deprecated, use the isDestroyed() API to check the object destruction state directly instead', false, {\n        id: 'meta-destruction-apis',\n        until: '3.25.0',\n        for: 'ember-source',\n        since: {\n          enabled: '3.21.0'\n        }\n      }));\n      return (0, _destroyable.isDestroyed)(this.source);\n    }\n    setInitializing() {\n      this._isInit = true;\n    }\n    unsetInitializing() {\n      this._isInit = false;\n    }\n    isInitializing() {\n      return this._isInit;\n    }\n    isPrototypeMeta(obj) {\n      return this.proto === this.source && this.source === obj;\n    }\n    _getOrCreateOwnMap(key) {\n      return this[key] || (this[key] = Object.create(null));\n    }\n    _getOrCreateOwnSet(key) {\n      return this[key] || (this[key] = new Set());\n    }\n    _findInheritedMap(key, subkey) {\n      var pointer = this;\n      while (pointer !== null) {\n        var map = pointer[key];\n        if (map !== undefined) {\n          var value = map.get(subkey);\n          if (value !== undefined) {\n            return value;\n          }\n        }\n        pointer = pointer.parent;\n      }\n    }\n    _hasInInheritedSet(key, value) {\n      var pointer = this;\n      while (pointer !== null) {\n        var set = pointer[key];\n        if (set !== undefined && set.has(value)) {\n          return true;\n        }\n        pointer = pointer.parent;\n      }\n      return false;\n    }\n    valueFor(key) {\n      var values = this._values;\n      return values !== undefined ? values[key] : undefined;\n    }\n    setValueFor(key, value) {\n      var values = this._getOrCreateOwnMap('_values');\n      values[key] = value;\n    }\n    revisionFor(key) {\n      var revisions = this._revisions;\n      return revisions !== undefined ? revisions[key] : undefined;\n    }\n    setRevisionFor(key, revision) {\n      var revisions = this._getOrCreateOwnMap('_revisions');\n      revisions[key] = revision;\n    }\n    writableLazyChainsFor(key) {\n      if (true /* DEBUG */) {\n        counters.writableLazyChainsCalls++;\n      }\n      var lazyChains = this._getOrCreateOwnMap('_lazyChains');\n      var chains = lazyChains[key];\n      if (chains === undefined) {\n        chains = lazyChains[key] = [];\n      }\n      return chains;\n    }\n    readableLazyChainsFor(key) {\n      if (true /* DEBUG */) {\n        counters.readableLazyChainsCalls++;\n      }\n      var lazyChains = this._lazyChains;\n      if (lazyChains !== undefined) {\n        return lazyChains[key];\n      }\n      return undefined;\n    }\n    addMixin(mixin) {\n      (true && !(!(0, _destroyable.isDestroyed)(this.source)) && (0, _debug.assert)((0, _destroyable.isDestroyed)(this.source) ? `Cannot add mixins of \\`${(0, _utils.toString)(mixin)}\\` on \\`${(0, _utils.toString)(this.source)}\\` call addMixin after it has been destroyed.` : '', !(0, _destroyable.isDestroyed)(this.source)));\n      var set = this._getOrCreateOwnSet('_mixins');\n      set.add(mixin);\n    }\n    hasMixin(mixin) {\n      return this._hasInInheritedSet('_mixins', mixin);\n    }\n    forEachMixins(fn) {\n      var pointer = this;\n      var seen;\n      while (pointer !== null) {\n        var set = pointer._mixins;\n        if (set !== undefined) {\n          seen = seen === undefined ? new Set() : seen; // TODO cleanup typing here\n\n          set.forEach(mixin => {\n            if (!seen.has(mixin)) {\n              seen.add(mixin);\n              fn(mixin);\n            }\n          });\n        }\n        pointer = pointer.parent;\n      }\n    }\n    writeDescriptors(subkey, value) {\n      (true && !(!(0, _destroyable.isDestroyed)(this.source)) && (0, _debug.assert)((0, _destroyable.isDestroyed)(this.source) ? `Cannot update descriptors for \\`${subkey}\\` on \\`${(0, _utils.toString)(this.source)}\\` after it has been destroyed.` : '', !(0, _destroyable.isDestroyed)(this.source)));\n      var map = this._descriptors || (this._descriptors = new Map());\n      map.set(subkey, value);\n    }\n    peekDescriptors(subkey) {\n      var possibleDesc = this._findInheritedMap('_descriptors', subkey);\n      return possibleDesc === UNDEFINED ? undefined : possibleDesc;\n    }\n    removeDescriptors(subkey) {\n      this.writeDescriptors(subkey, UNDEFINED);\n    }\n    forEachDescriptors(fn) {\n      var pointer = this;\n      var seen;\n      while (pointer !== null) {\n        var map = pointer._descriptors;\n        if (map !== undefined) {\n          seen = seen === undefined ? new Set() : seen;\n          map.forEach((value, key) => {\n            if (!seen.has(key)) {\n              seen.add(key);\n              if (value !== UNDEFINED) {\n                fn(key, value);\n              }\n            }\n          });\n        }\n        pointer = pointer.parent;\n      }\n    }\n    addToListeners(eventName, target, method, once, sync) {\n      if (true /* DEBUG */) {\n        counters.addToListenersCalls++;\n      }\n      this.pushListener(eventName, target, method, once ? 1\n      /* ONCE */ : 0\n      /* ADD */, sync);\n    }\n    removeFromListeners(eventName, target, method) {\n      if (true /* DEBUG */) {\n        counters.removeFromListenersCalls++;\n      }\n      this.pushListener(eventName, target, method, 2\n      /* REMOVE */);\n    }\n    pushListener(event, target, method, kind, sync = false) {\n      var listeners = this.writableListeners();\n      var i = indexOfListener(listeners, event, target, method); // remove if found listener was inherited\n\n      if (i !== -1 && i < this._inheritedEnd) {\n        listeners.splice(i, 1);\n        this._inheritedEnd--;\n        i = -1;\n      } // if not found, push. Note that we must always push if a listener is not\n      // found, even in the case of a function listener remove, because we may be\n      // attempting to add or remove listeners _before_ flattening has occurred.\n\n      if (i === -1) {\n        (true && !(!(this.isPrototypeMeta(this.source) && typeof method === 'function')) && (0, _debug.assert)('You cannot add function listeners to prototypes. Convert the listener to a string listener, or add it to the instance instead.', !(this.isPrototypeMeta(this.source) && typeof method === 'function')));\n        (true && !(!(!this.isPrototypeMeta(this.source) && typeof method === 'function' && kind === 2\n        /* REMOVE */)) && (0, _debug.assert)('You attempted to remove a function listener which did not exist on the instance, which means you may have attempted to remove it before it was added.', !(!this.isPrototypeMeta(this.source) && typeof method === 'function' && kind === 2)));\n        listeners.push({\n          event,\n          target,\n          method,\n          kind,\n          sync\n        });\n      } else {\n        var listener = listeners[i]; // If the listener is our own listener and we are trying to remove it, we\n        // want to splice it out entirely so we don't hold onto a reference.\n\n        if (kind === 2\n        /* REMOVE */ && listener.kind !== 2\n        /* REMOVE */) {\n          listeners.splice(i, 1);\n        } else {\n          (true && !(!(listener.kind === 0\n          /* ADD */ && kind === 0\n          /* ADD */ && listener.sync !== sync)) && (0, _debug.assert)(`You attempted to add an observer for the same method on '${event.split(':')[0]}' twice to ${target} as both sync and async. Observers must be either sync or async, they cannot be both. This is likely a mistake, you should either remove the code that added the observer a second time, or update it to always be sync or async. The method was ${method}.`, !(listener.kind === 0 && kind === 0 && listener.sync !== sync))); // update own listener\n          listener.kind = kind;\n          listener.sync = sync;\n        }\n      }\n    }\n    writableListeners() {\n      // Check if we need to invalidate and reflatten. We need to do this if we\n      // have already flattened (flattened version is the current version) and\n      // we are either writing to a prototype meta OR we have never inherited, and\n      // may have cached the parent's listeners.\n      if (this._flattenedVersion === currentListenerVersion && (this.source === this.proto || this._inheritedEnd === -1)) {\n        if (true /* DEBUG */) {\n          counters.reopensAfterFlatten++;\n        }\n        currentListenerVersion++;\n      } // Inherited end has not been set, then we have never created our own\n      // listeners, but may have cached the parent's\n\n      if (this._inheritedEnd === -1) {\n        this._inheritedEnd = 0;\n        this._listeners = [];\n      }\n      return this._listeners;\n    }\n    /**\n      Flattening is based on a global revision counter. If the revision has\n      bumped it means that somewhere in a class inheritance chain something has\n      changed, so we need to reflatten everything. This can only happen if:\n         1. A meta has been flattened (listener has been called)\n      2. The meta is a prototype meta with children who have inherited its\n         listeners\n      3. A new listener is subsequently added to the meta (e.g. via `.reopen()`)\n         This is a very rare occurrence, so while the counter is global it shouldn't\n      be updated very often in practice.\n    */\n\n    flattenedListeners() {\n      if (true /* DEBUG */) {\n        counters.flattenedListenersCalls++;\n      }\n      if (this._flattenedVersion < currentListenerVersion) {\n        if (true /* DEBUG */) {\n          counters.listenersFlattened++;\n        }\n        var parent = this.parent;\n        if (parent !== null) {\n          // compute\n          var parentListeners = parent.flattenedListeners();\n          if (parentListeners !== undefined) {\n            if (this._listeners === undefined) {\n              // If this instance doesn't have any of its own listeners (writableListeners\n              // has never been called) then we don't need to do any flattening, return\n              // the parent's listeners instead.\n              if (true /* DEBUG */) {\n                counters.parentListenersUsed++;\n              }\n              this._listeners = parentListeners;\n            } else {\n              var listeners = this._listeners;\n              if (this._inheritedEnd > 0) {\n                listeners.splice(0, this._inheritedEnd);\n                this._inheritedEnd = 0;\n              }\n              for (var i = 0; i < parentListeners.length; i++) {\n                var listener = parentListeners[i];\n                var index = indexOfListener(listeners, listener.event, listener.target, listener.method);\n                if (index === -1) {\n                  if (true /* DEBUG */) {\n                    counters.listenersInherited++;\n                  }\n                  listeners.unshift(listener);\n                  this._inheritedEnd++;\n                }\n              }\n            }\n          }\n        }\n        this._flattenedVersion = currentListenerVersion;\n      }\n      return this._listeners;\n    }\n    matchingListeners(eventName) {\n      var listeners = this.flattenedListeners();\n      var result;\n      if (true /* DEBUG */) {\n        counters.matchingListenersCalls++;\n      }\n      if (listeners !== undefined) {\n        for (var index = 0; index < listeners.length; index++) {\n          var listener = listeners[index]; // REMOVE listeners are placeholders that tell us not to\n          // inherit, so they never match. Only ADD and ONCE can match.\n\n          if (listener.event === eventName && (listener.kind === 0\n          /* ADD */ || listener.kind === 1\n          /* ONCE */)) {\n            if (result === undefined) {\n              // we create this array only after we've found a listener that\n              // matches to avoid allocations when no matches are found.\n              result = [];\n            }\n            result.push(listener.target, listener.method, listener.kind === 1\n            /* ONCE */);\n          }\n        }\n      }\n      return result;\n    }\n    observerEvents() {\n      var listeners = this.flattenedListeners();\n      var result;\n      if (true /* DEBUG */) {\n        counters.observerEventsCalls++;\n      }\n      if (listeners !== undefined) {\n        for (var index = 0; index < listeners.length; index++) {\n          var listener = listeners[index]; // REMOVE listeners are placeholders that tell us not to\n          // inherit, so they never match. Only ADD and ONCE can match.\n\n          if ((listener.kind === 0\n          /* ADD */ || listener.kind === 1\n          /* ONCE */) && listener.event.indexOf(':change') !== -1) {\n            if (result === undefined) {\n              // we create this array only after we've found a listener that\n              // matches to avoid allocations when no matches are found.\n              result = [];\n            }\n            result.push(listener);\n          }\n        }\n      }\n      return result;\n    }\n  }\n  _exports.Meta = Meta;\n  var getPrototypeOf = Object.getPrototypeOf;\n  var metaStore = new WeakMap();\n  function setMeta(obj, meta) {\n    (true && !(obj !== null) && (0, _debug.assert)('Cannot call `setMeta` on null', obj !== null));\n    (true && !(obj !== undefined) && (0, _debug.assert)('Cannot call `setMeta` on undefined', obj !== undefined));\n    (true && !(typeof obj === 'object' || typeof obj === 'function') && (0, _debug.assert)(`Cannot call \\`setMeta\\` on ${typeof obj}`, typeof obj === 'object' || typeof obj === 'function'));\n    if (true /* DEBUG */) {\n      counters.setCalls++;\n    }\n    metaStore.set(obj, meta);\n  }\n  function peekMeta(obj) {\n    (true && !(obj !== null) && (0, _debug.assert)('Cannot call `peekMeta` on null', obj !== null));\n    (true && !(obj !== undefined) && (0, _debug.assert)('Cannot call `peekMeta` on undefined', obj !== undefined));\n    (true && !(typeof obj === 'object' || typeof obj === 'function') && (0, _debug.assert)(`Cannot call \\`peekMeta\\` on ${typeof obj}`, typeof obj === 'object' || typeof obj === 'function'));\n    if (true /* DEBUG */) {\n      counters.peekCalls++;\n    }\n    var meta = metaStore.get(obj);\n    if (meta !== undefined) {\n      return meta;\n    }\n    var pointer = getPrototypeOf(obj);\n    while (pointer !== null) {\n      if (true /* DEBUG */) {\n        counters.peekPrototypeWalks++;\n      }\n      meta = metaStore.get(pointer);\n      if (meta !== undefined) {\n        if (meta.proto !== pointer) {\n          // The meta was a prototype meta which was not marked as initializing.\n          // This can happen when a prototype chain was created manually via\n          // Object.create() and the source object does not have a constructor.\n          meta.proto = pointer;\n        }\n        return meta;\n      }\n      pointer = getPrototypeOf(pointer);\n    }\n    return null;\n  }\n  /**\n    Retrieves the meta hash for an object. If `writable` is true ensures the\n    hash is writable for this object as well.\n  \n    The meta object contains information about computed property descriptors as\n    well as any watched properties and other information. You generally will\n    not access this information directly but instead work with higher level\n    methods that manipulate this hash indirectly.\n  \n    @method meta\n    @for Ember\n    @private\n  \n    @param {Object} obj The object to retrieve meta for\n    @param {Boolean} [writable=true] Pass `false` if you do not intend to modify\n      the meta hash, allowing the method to avoid making an unnecessary copy.\n    @return {Object} the meta hash for an object\n  */\n\n  var meta = _exports.meta = function meta(obj) {\n    (true && !(obj !== null) && (0, _debug.assert)('Cannot call `meta` on null', obj !== null));\n    (true && !(obj !== undefined) && (0, _debug.assert)('Cannot call `meta` on undefined', obj !== undefined));\n    (true && !(typeof obj === 'object' || typeof obj === 'function') && (0, _debug.assert)(`Cannot call \\`meta\\` on ${typeof obj}`, typeof obj === 'object' || typeof obj === 'function'));\n    if (true /* DEBUG */) {\n      counters.metaCalls++;\n    }\n    var maybeMeta = peekMeta(obj); // remove this code, in-favor of explicit parent\n\n    if (maybeMeta !== null && maybeMeta.source === obj) {\n      return maybeMeta;\n    }\n    var newMeta = new Meta(obj);\n    setMeta(obj, newMeta);\n    return newMeta;\n  };\n  if (true /* DEBUG */) {\n    meta._counters = counters;\n  }\n  function indexOfListener(listeners, event, target, method) {\n    for (var i = listeners.length - 1; i >= 0; i--) {\n      var listener = listeners[i];\n      if (listener.event === event && listener.target === target && listener.method === method) {\n        return i;\n      }\n    }\n    return -1;\n  }\n});","define(\"@ember/-internals/metal/index\", [\"exports\", \"@ember/-internals/meta\", \"@ember/-internals/utils\", \"@ember/debug\", \"@ember/-internals/environment\", \"@ember/runloop\", \"@glimmer/destroyable\", \"@glimmer/validator\", \"@glimmer/manager\", \"@glimmer/util\", \"@ember/error\", \"ember/version\", \"@ember/-internals/container\", \"@ember/deprecated-features\", \"@ember/polyfills\", \"@ember/-internals/owner\"], function (_exports, _meta2, _utils, _debug, _environment, _runloop, _destroyable, _validator, _manager, _util, _error, _version, _container, _deprecatedFeatures, _polyfills, _owner) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.TrackedDescriptor = _exports.SYNC_OBSERVERS = _exports.PROXY_CONTENT = _exports.PROPERTY_DID_CHANGE = _exports.NAMESPACES_BY_ID = _exports.NAMESPACES = _exports.Mixin = _exports.Libraries = _exports.DEBUG_INJECTION_FUNCTIONS = _exports.ComputedProperty = _exports.ASYNC_OBSERVERS = void 0;\n  _exports._getPath = _getPath;\n  _exports._getProp = _getProp;\n  _exports._setProp = _setProp;\n  _exports.activateObserver = activateObserver;\n  _exports.addArrayObserver = addArrayObserver;\n  _exports.addListener = addListener;\n  _exports.addNamespace = addNamespace;\n  _exports.addObserver = addObserver;\n  _exports.alias = alias;\n  _exports.aliasMethod = void 0;\n  _exports.applyMixin = applyMixin;\n  _exports.arrayContentDidChange = arrayContentDidChange;\n  _exports.arrayContentWillChange = arrayContentWillChange;\n  _exports.autoComputed = autoComputed;\n  _exports.beginPropertyChanges = beginPropertyChanges;\n  _exports.changeProperties = changeProperties;\n  _exports.computed = computed;\n  Object.defineProperty(_exports, \"createCache\", {\n    enumerable: true,\n    get: function () {\n      return _validator.createCache;\n    }\n  });\n  _exports.defineProperty = defineProperty;\n  _exports.deprecateProperty = deprecateProperty;\n  _exports.descriptorForDecorator = descriptorForDecorator;\n  _exports.descriptorForProperty = descriptorForProperty;\n  _exports.eachProxyArrayDidChange = eachProxyArrayDidChange;\n  _exports.eachProxyArrayWillChange = eachProxyArrayWillChange;\n  _exports.endPropertyChanges = endPropertyChanges;\n  _exports.expandProperties = expandProperties;\n  _exports.findNamespace = findNamespace;\n  _exports.findNamespaces = findNamespaces;\n  _exports.flushAsyncObservers = flushAsyncObservers;\n  _exports.get = get;\n  _exports.getCachedValueFor = getCachedValueFor;\n  _exports.getProperties = getProperties;\n  Object.defineProperty(_exports, \"getValue\", {\n    enumerable: true,\n    get: function () {\n      return _validator.getValue;\n    }\n  });\n  _exports.getWithDefault = getWithDefault;\n  _exports.hasListeners = hasListeners;\n  _exports.inject = inject;\n  _exports.isBlank = isBlank;\n  _exports.isClassicDecorator = isClassicDecorator;\n  _exports.isComputed = isComputed;\n  Object.defineProperty(_exports, \"isConst\", {\n    enumerable: true,\n    get: function () {\n      return _validator.isConst;\n    }\n  });\n  _exports.isElementDescriptor = isElementDescriptor;\n  _exports.isEmpty = isEmpty;\n  _exports.isNamespaceSearchDisabled = isSearchDisabled;\n  _exports.isNone = isNone;\n  _exports.isPresent = isPresent;\n  _exports.libraries = void 0;\n  _exports.markObjectAsDirty = markObjectAsDirty;\n  _exports.mixin = mixin;\n  _exports.nativeDescDecorator = nativeDescDecorator;\n  _exports.notifyPropertyChange = notifyPropertyChange;\n  _exports.objectAt = objectAt;\n  _exports.observer = observer;\n  _exports.on = on;\n  _exports.processAllNamespaces = processAllNamespaces;\n  _exports.processNamespace = processNamespace;\n  _exports.removeArrayObserver = removeArrayObserver;\n  _exports.removeListener = removeListener;\n  _exports.removeNamespace = removeNamespace;\n  _exports.removeObserver = removeObserver;\n  _exports.replace = replace;\n  _exports.replaceInNativeArray = replaceInNativeArray;\n  _exports.sendEvent = sendEvent;\n  _exports.set = set;\n  _exports.setClassicDecorator = setClassicDecorator;\n  _exports.setNamespaceSearchDisabled = setSearchDisabled;\n  _exports.setProperties = setProperties;\n  _exports.tagForObject = tagForObject;\n  _exports.tagForProperty = tagForProperty;\n  _exports.tracked = tracked;\n  _exports.trySet = trySet;\n  /**\n  @module @ember/object\n  */\n  /*\n    The event system uses a series of nested hashes to store listeners on an\n    object. When a listener is registered, or when an event arrives, these\n    hashes are consulted to determine which target and action pair to invoke.\n  \n    The hashes are stored in the object's meta hash, and look like this:\n  \n        // Object's meta hash\n        {\n          listeners: {       // variable name: `listenerSet`\n            \"foo:change\": [ // variable name: `actions`\n              target, method, once\n            ]\n          }\n        }\n  \n  */\n\n  /**\n    Add an event listener\n  \n    @method addListener\n    @static\n    @for @ember/object/events\n    @param obj\n    @param {String} eventName\n    @param {Object|Function} target A target object or a function\n    @param {Function|String} method A function or the name of a function to be called on `target`\n    @param {Boolean} once A flag whether a function should only be called once\n    @public\n  */\n\n  function addListener(obj, eventName, target, method, once, sync = true) {\n    (true && !(Boolean(obj) && Boolean(eventName)) && (0, _debug.assert)('You must pass at least an object and event name to addListener', Boolean(obj) && Boolean(eventName)));\n    if (!method && 'function' === typeof target) {\n      method = target;\n      target = null;\n    }\n    (0, _meta2.meta)(obj).addToListeners(eventName, target, method, once === true, sync);\n  }\n  /**\n    Remove an event listener\n  \n    Arguments should match those passed to `addListener`.\n  \n    @method removeListener\n    @static\n    @for @ember/object/events\n    @param obj\n    @param {String} eventName\n    @param {Object|Function} target A target object or a function\n    @param {Function|String} method A function or the name of a function to be called on `target`\n    @public\n  */\n\n  function removeListener(obj, eventName, targetOrFunction, functionOrName) {\n    (true && !(Boolean(obj) && Boolean(eventName) && (typeof targetOrFunction === 'function' || typeof targetOrFunction === 'object' && Boolean(functionOrName))) && (0, _debug.assert)('You must pass at least an object, event name, and method or target and method/method name to removeListener', Boolean(obj) && Boolean(eventName) && (typeof targetOrFunction === 'function' || typeof targetOrFunction === 'object' && Boolean(functionOrName))));\n    var target, method;\n    if (typeof targetOrFunction === 'object') {\n      target = targetOrFunction;\n      method = functionOrName;\n    } else {\n      target = null;\n      method = targetOrFunction;\n    }\n    var m = (0, _meta2.meta)(obj);\n    m.removeFromListeners(eventName, target, method);\n  }\n  /**\n    Send an event. The execution of suspended listeners\n    is skipped, and once listeners are removed. A listener without\n    a target is executed on the passed object. If an array of actions\n    is not passed, the actions stored on the passed object are invoked.\n  \n    @method sendEvent\n    @static\n    @for @ember/object/events\n    @param obj\n    @param {String} eventName\n    @param {Array} params Optional parameters for each listener.\n    @return {Boolean} if the event was delivered to one or more actions\n    @public\n  */\n\n  function sendEvent(obj, eventName, params, actions, _meta) {\n    if (actions === undefined) {\n      var meta$$1 = _meta === undefined ? (0, _meta2.peekMeta)(obj) : _meta;\n      actions = meta$$1 !== null ? meta$$1.matchingListeners(eventName) : undefined;\n    }\n    if (actions === undefined || actions.length === 0) {\n      return false;\n    }\n    for (var i = actions.length - 3; i >= 0; i -= 3) {\n      // looping in reverse for once listeners\n      var target = actions[i];\n      var method = actions[i + 1];\n      var once = actions[i + 2];\n      if (!method) {\n        continue;\n      }\n      if (once) {\n        removeListener(obj, eventName, target, method);\n      }\n      if (!target) {\n        target = obj;\n      }\n      var type = typeof method;\n      if (type === 'string' || type === 'symbol') {\n        method = target[method];\n      }\n      method.apply(target, params);\n    }\n    return true;\n  }\n  /**\n    @private\n    @method hasListeners\n    @static\n    @for @ember/object/events\n    @param obj\n    @param {String} eventName\n    @return {Boolean} if `obj` has listeners for event `eventName`\n  */\n\n  function hasListeners(obj, eventName) {\n    var meta$$1 = (0, _meta2.peekMeta)(obj);\n    if (meta$$1 === null) {\n      return false;\n    }\n    var matched = meta$$1.matchingListeners(eventName);\n    return matched !== undefined && matched.length > 0;\n  }\n  /**\n    Define a property as a function that should be executed when\n    a specified event or events are triggered.\n  \n    ``` javascript\n    import EmberObject from '@ember/object';\n    import { on } from '@ember/object/evented';\n    import { sendEvent } from '@ember/object/events';\n  \n    let Job = EmberObject.extend({\n      logCompleted: on('completed', function() {\n        console.log('Job completed!');\n      })\n    });\n  \n    let job = Job.create();\n  \n    sendEvent(job, 'completed'); // Logs 'Job completed!'\n   ```\n  \n    @method on\n    @static\n    @for @ember/object/evented\n    @param {String} eventNames*\n    @param {Function} func\n    @return {Function} the listener function, passed as last argument to on(...)\n    @public\n  */\n\n  function on(...args) {\n    var func = args.pop();\n    var events = args;\n    (true && !(typeof func === 'function') && (0, _debug.assert)('on expects function as last argument', typeof func === 'function'));\n    (true && !(events.length > 0 && events.every(p => typeof p === 'string' && p.length > 0)) && (0, _debug.assert)('on called without valid event names', events.length > 0 && events.every(p => typeof p === 'string' && p.length > 0)));\n    (0, _utils.setListeners)(func, events);\n    return func;\n  }\n  var AFTER_OBSERVERS = ':change';\n  function changeEvent(keyName) {\n    return keyName + AFTER_OBSERVERS;\n  }\n  var SYNC_DEFAULT = !_environment.ENV._DEFAULT_ASYNC_OBSERVERS;\n  var SYNC_OBSERVERS = _exports.SYNC_OBSERVERS = new Map();\n  var ASYNC_OBSERVERS = _exports.ASYNC_OBSERVERS = new Map();\n  /**\n  @module @ember/object\n  */\n\n  /**\n    @method addObserver\n    @static\n    @for @ember/object/observers\n    @param obj\n    @param {String} path\n    @param {Object|Function} target\n    @param {Function|String} [method]\n    @public\n  */\n\n  function addObserver(obj, path, target, method, sync = SYNC_DEFAULT) {\n    var eventName = changeEvent(path);\n    addListener(obj, eventName, target, method, false, sync);\n    var meta$$1 = (0, _meta2.peekMeta)(obj);\n    if (meta$$1 === null || !(meta$$1.isPrototypeMeta(obj) || meta$$1.isInitializing())) {\n      activateObserver(obj, eventName, sync);\n    }\n  }\n  /**\n    @method removeObserver\n    @static\n    @for @ember/object/observers\n    @param obj\n    @param {String} path\n    @param {Object|Function} target\n    @param {Function|String} [method]\n    @public\n  */\n\n  function removeObserver(obj, path, target, method, sync = SYNC_DEFAULT) {\n    var eventName = changeEvent(path);\n    var meta$$1 = (0, _meta2.peekMeta)(obj);\n    if (meta$$1 === null || !(meta$$1.isPrototypeMeta(obj) || meta$$1.isInitializing())) {\n      deactivateObserver(obj, eventName, sync);\n    }\n    removeListener(obj, eventName, target, method);\n  }\n  function getOrCreateActiveObserversFor(target, sync) {\n    var observerMap = sync === true ? SYNC_OBSERVERS : ASYNC_OBSERVERS;\n    if (!observerMap.has(target)) {\n      observerMap.set(target, new Map());\n      (0, _destroyable.registerDestructor)(target, () => destroyObservers(target), true);\n    }\n    return observerMap.get(target);\n  }\n  function activateObserver(target, eventName, sync = false) {\n    var activeObservers = getOrCreateActiveObserversFor(target, sync);\n    if (activeObservers.has(eventName)) {\n      activeObservers.get(eventName).count++;\n    } else {\n      var path = eventName.substring(0, eventName.lastIndexOf(':'));\n      var tag = getChainTagsForKey(target, path, (0, _validator.tagMetaFor)(target), (0, _meta2.peekMeta)(target));\n      activeObservers.set(eventName, {\n        count: 1,\n        path,\n        tag,\n        lastRevision: (0, _validator.valueForTag)(tag),\n        suspended: false\n      });\n    }\n  }\n  var DEACTIVATE_SUSPENDED = false;\n  var SCHEDULED_DEACTIVATE = [];\n  function deactivateObserver(target, eventName, sync = false) {\n    if (DEACTIVATE_SUSPENDED === true) {\n      SCHEDULED_DEACTIVATE.push([target, eventName, sync]);\n      return;\n    }\n    var observerMap = sync === true ? SYNC_OBSERVERS : ASYNC_OBSERVERS;\n    var activeObservers = observerMap.get(target);\n    if (activeObservers !== undefined) {\n      var _observer = activeObservers.get(eventName);\n      _observer.count--;\n      if (_observer.count === 0) {\n        activeObservers.delete(eventName);\n        if (activeObservers.size === 0) {\n          observerMap.delete(target);\n        }\n      }\n    }\n  }\n  function suspendedObserverDeactivation() {\n    DEACTIVATE_SUSPENDED = true;\n  }\n  function resumeObserverDeactivation() {\n    DEACTIVATE_SUSPENDED = false;\n    for (var [target, eventName, sync] of SCHEDULED_DEACTIVATE) {\n      deactivateObserver(target, eventName, sync);\n    }\n    SCHEDULED_DEACTIVATE = [];\n  }\n  /**\n   * Primarily used for cases where we are redefining a class, e.g. mixins/reopen\n   * being applied later. Revalidates all the observers, resetting their tags.\n   *\n   * @private\n   * @param target\n   */\n\n  function revalidateObservers(target) {\n    if (ASYNC_OBSERVERS.has(target)) {\n      ASYNC_OBSERVERS.get(target).forEach(observer => {\n        observer.tag = getChainTagsForKey(target, observer.path, (0, _validator.tagMetaFor)(target), (0, _meta2.peekMeta)(target));\n        observer.lastRevision = (0, _validator.valueForTag)(observer.tag);\n      });\n    }\n    if (SYNC_OBSERVERS.has(target)) {\n      SYNC_OBSERVERS.get(target).forEach(observer => {\n        observer.tag = getChainTagsForKey(target, observer.path, (0, _validator.tagMetaFor)(target), (0, _meta2.peekMeta)(target));\n        observer.lastRevision = (0, _validator.valueForTag)(observer.tag);\n      });\n    }\n  }\n  var lastKnownRevision = 0;\n  function flushAsyncObservers(shouldSchedule = true) {\n    var currentRevision = (0, _validator.valueForTag)(_validator.CURRENT_TAG);\n    if (lastKnownRevision === currentRevision) {\n      return;\n    }\n    lastKnownRevision = currentRevision;\n    ASYNC_OBSERVERS.forEach((activeObservers, target) => {\n      var meta$$1 = (0, _meta2.peekMeta)(target);\n      activeObservers.forEach((observer, eventName) => {\n        if (!(0, _validator.validateTag)(observer.tag, observer.lastRevision)) {\n          var sendObserver = () => {\n            try {\n              sendEvent(target, eventName, [target, observer.path], undefined, meta$$1);\n            } finally {\n              observer.tag = getChainTagsForKey(target, observer.path, (0, _validator.tagMetaFor)(target), (0, _meta2.peekMeta)(target));\n              observer.lastRevision = (0, _validator.valueForTag)(observer.tag);\n            }\n          };\n          if (shouldSchedule) {\n            (0, _runloop.schedule)('actions', sendObserver);\n          } else {\n            sendObserver();\n          }\n        }\n      });\n    });\n  }\n  function flushSyncObservers() {\n    // When flushing synchronous observers, we know that something has changed (we\n    // only do this during a notifyPropertyChange), so there's no reason to check\n    // a global revision.\n    SYNC_OBSERVERS.forEach((activeObservers, target) => {\n      var meta$$1 = (0, _meta2.peekMeta)(target);\n      activeObservers.forEach((observer, eventName) => {\n        if (!observer.suspended && !(0, _validator.validateTag)(observer.tag, observer.lastRevision)) {\n          try {\n            observer.suspended = true;\n            sendEvent(target, eventName, [target, observer.path], undefined, meta$$1);\n          } finally {\n            observer.tag = getChainTagsForKey(target, observer.path, (0, _validator.tagMetaFor)(target), (0, _meta2.peekMeta)(target));\n            observer.lastRevision = (0, _validator.valueForTag)(observer.tag);\n            observer.suspended = false;\n          }\n        }\n      });\n    });\n  }\n  function setObserverSuspended(target, property, suspended) {\n    var activeObservers = SYNC_OBSERVERS.get(target);\n    if (!activeObservers) {\n      return;\n    }\n    var observer = activeObservers.get(changeEvent(property));\n    if (observer) {\n      observer.suspended = suspended;\n    }\n  }\n  function destroyObservers(target) {\n    if (SYNC_OBSERVERS.size > 0) SYNC_OBSERVERS.delete(target);\n    if (ASYNC_OBSERVERS.size > 0) ASYNC_OBSERVERS.delete(target);\n  }\n  var SELF_TAG = (0, _utils.symbol)('SELF_TAG');\n  function tagForProperty(obj, propertyKey, addMandatorySetter = false, meta$$1) {\n    var customTagFor = (0, _manager.getCustomTagFor)(obj);\n    if (customTagFor !== undefined) {\n      return customTagFor(obj, propertyKey, addMandatorySetter);\n    }\n    var tag = (0, _validator.tagFor)(obj, propertyKey, meta$$1);\n    if (true /* DEBUG */ && addMandatorySetter) {\n      (0, _utils.setupMandatorySetter)(tag, obj, propertyKey);\n    }\n    return tag;\n  }\n  function tagForObject(obj) {\n    if ((0, _utils.isObject)(obj)) {\n      if (true /* DEBUG */) {\n        (true && !(!(0, _destroyable.isDestroyed)(obj)) && (0, _debug.assert)((0, _destroyable.isDestroyed)(obj) ? `Cannot create a new tag for \\`${(0, _utils.toString)(obj)}\\` after it has been destroyed.` : '', !(0, _destroyable.isDestroyed)(obj)));\n      }\n      return (0, _validator.tagFor)(obj, SELF_TAG);\n    }\n    return _validator.CONSTANT_TAG;\n  }\n  function markObjectAsDirty(obj, propertyKey) {\n    (0, _validator.dirtyTagFor)(obj, propertyKey);\n    (0, _validator.dirtyTagFor)(obj, SELF_TAG);\n  }\n\n  /**\n   @module ember\n   @private\n   */\n\n  var PROPERTY_DID_CHANGE = _exports.PROPERTY_DID_CHANGE = (0, _utils.enumerableSymbol)('PROPERTY_DID_CHANGE');\n  var deferred = 0;\n  /**\n    This function is called just after an object property has changed.\n    It will notify any observers and clear caches among other things.\n  \n    Normally you will not need to call this method directly but if for some\n    reason you can't directly watch a property you can invoke this method\n    manually.\n  \n    @method notifyPropertyChange\n    @for @ember/object\n    @param {Object} obj The object with the property that will change\n    @param {String} keyName The property key (or path) that will change.\n    @param {Meta} [_meta] The objects meta.\n    @param {unknown} [value] The new value to set for the property\n    @return {void}\n    @since 3.1.0\n    @public\n  */\n\n  function notifyPropertyChange(obj, keyName, _meta, value) {\n    var meta$$1 = _meta === undefined ? (0, _meta2.peekMeta)(obj) : _meta;\n    if (meta$$1 !== null && (meta$$1.isInitializing() || meta$$1.isPrototypeMeta(obj))) {\n      return;\n    }\n    markObjectAsDirty(obj, keyName);\n    if (deferred <= 0) {\n      flushSyncObservers();\n    }\n    if (PROPERTY_DID_CHANGE in obj) {\n      // we need to check the arguments length here; there's a check in `PROPERTY_DID_CHANGE`\n      // that checks its arguments length, so we have to explicitly not call this with `value`\n      // if it is not passed to `notifyPropertyChange`\n      if (arguments.length === 4) {\n        obj[PROPERTY_DID_CHANGE](keyName, value);\n      } else {\n        obj[PROPERTY_DID_CHANGE](keyName);\n      }\n    }\n  }\n  /**\n    @method beginPropertyChanges\n    @chainable\n    @private\n  */\n\n  function beginPropertyChanges() {\n    deferred++;\n    suspendedObserverDeactivation();\n  }\n  /**\n    @method endPropertyChanges\n    @private\n  */\n\n  function endPropertyChanges() {\n    deferred--;\n    if (deferred <= 0) {\n      flushSyncObservers();\n      resumeObserverDeactivation();\n    }\n  }\n  /**\n    Make a series of property changes together in an\n    exception-safe way.\n  \n    ```javascript\n    Ember.changeProperties(function() {\n      obj1.set('foo', mayBlowUpWhenSet);\n      obj2.set('bar', baz);\n    });\n    ```\n  \n    @method changeProperties\n    @param {Function} callback\n    @private\n  */\n\n  function changeProperties(callback) {\n    beginPropertyChanges();\n    try {\n      callback();\n    } finally {\n      endPropertyChanges();\n    }\n  }\n  function arrayContentWillChange(array, startIdx, removeAmt, addAmt) {\n    // if no args are passed assume everything changes\n    if (startIdx === undefined) {\n      startIdx = 0;\n      removeAmt = addAmt = -1;\n    } else {\n      if (removeAmt === undefined) {\n        removeAmt = -1;\n      }\n      if (addAmt === undefined) {\n        addAmt = -1;\n      }\n    }\n    sendEvent(array, '@array:before', [array, startIdx, removeAmt, addAmt]);\n    return array;\n  }\n  function arrayContentDidChange(array, startIdx, removeAmt, addAmt, notify = true) {\n    // if no args are passed assume everything changes\n    if (startIdx === undefined) {\n      startIdx = 0;\n      removeAmt = addAmt = -1;\n    } else {\n      if (removeAmt === undefined) {\n        removeAmt = -1;\n      }\n      if (addAmt === undefined) {\n        addAmt = -1;\n      }\n    }\n    var meta$$1 = (0, _meta2.peekMeta)(array);\n    if (notify) {\n      if (addAmt < 0 || removeAmt < 0 || addAmt - removeAmt !== 0) {\n        notifyPropertyChange(array, 'length', meta$$1);\n      }\n      notifyPropertyChange(array, '[]', meta$$1);\n    }\n    sendEvent(array, '@array:change', [array, startIdx, removeAmt, addAmt]);\n    if (meta$$1 !== null) {\n      var length = array.length;\n      var addedAmount = addAmt === -1 ? 0 : addAmt;\n      var removedAmount = removeAmt === -1 ? 0 : removeAmt;\n      var delta = addedAmount - removedAmount;\n      var previousLength = length - delta;\n      var normalStartIdx = startIdx < 0 ? previousLength + startIdx : startIdx;\n      if (meta$$1.revisionFor('firstObject') !== undefined && normalStartIdx === 0) {\n        notifyPropertyChange(array, 'firstObject', meta$$1);\n      }\n      if (meta$$1.revisionFor('lastObject') !== undefined) {\n        var previousLastIndex = previousLength - 1;\n        var lastAffectedIndex = normalStartIdx + removedAmount;\n        if (previousLastIndex < lastAffectedIndex) {\n          notifyPropertyChange(array, 'lastObject', meta$$1);\n        }\n      }\n    }\n    return array;\n  }\n  var EMPTY_ARRAY = Object.freeze([]);\n  function objectAt(array, index) {\n    if (Array.isArray(array)) {\n      return array[index];\n    } else {\n      return array.objectAt(index);\n    }\n  }\n  function replace(array, start, deleteCount, items = EMPTY_ARRAY) {\n    if (Array.isArray(array)) {\n      replaceInNativeArray(array, start, deleteCount, items);\n    } else {\n      array.replace(start, deleteCount, items);\n    }\n  }\n  var CHUNK_SIZE = 60000; // To avoid overflowing the stack, we splice up to CHUNK_SIZE items at a time.\n  // See https://code.google.com/p/chromium/issues/detail?id=56588 for more details.\n\n  function replaceInNativeArray(array, start, deleteCount, items) {\n    arrayContentWillChange(array, start, deleteCount, items.length);\n    if (items.length <= CHUNK_SIZE) {\n      array.splice(start, deleteCount, ...items);\n    } else {\n      array.splice(start, deleteCount);\n      for (var i = 0; i < items.length; i += CHUNK_SIZE) {\n        var chunk = items.slice(i, i + CHUNK_SIZE);\n        array.splice(start + i, 0, ...chunk);\n      }\n    }\n    arrayContentDidChange(array, start, deleteCount, items.length);\n  }\n  function arrayObserversHelper(obj, target, opts, operation, notify) {\n    var willChange = opts && opts.willChange || 'arrayWillChange';\n    var didChange = opts && opts.didChange || 'arrayDidChange';\n    var hasObservers = obj.hasArrayObservers;\n    operation(obj, '@array:before', target, willChange);\n    operation(obj, '@array:change', target, didChange);\n    if (hasObservers === notify) {\n      notifyPropertyChange(obj, 'hasArrayObservers');\n    }\n    return obj;\n  }\n  function addArrayObserver(array, target, opts, suppress = false) {\n    (true && !(suppress) && (0, _debug.deprecate)(`Array observers have been deprecated. Added an array observer to ${_utils.getDebugName === null || _utils.getDebugName === void 0 ? void 0 : (0, _utils.getDebugName)(array)}.`, suppress, {\n      id: 'array-observers',\n      url: 'https://deprecations.emberjs.com/v3.x#toc_array-observers',\n      until: '4.0.0',\n      for: 'ember-source',\n      since: {\n        enabled: '3.26.0-beta.1'\n      }\n    }));\n    return arrayObserversHelper(array, target, opts, addListener, false);\n  }\n  function removeArrayObserver(array, target, opts, suppress = false) {\n    (true && !(suppress) && (0, _debug.deprecate)(`Array observers have been deprecated. Removed an array observer from ${_utils.getDebugName === null || _utils.getDebugName === void 0 ? void 0 : (0, _utils.getDebugName)(array)}.`, suppress, {\n      id: 'array-observers',\n      url: 'https://deprecations.emberjs.com/v3.x#toc_array-observers',\n      until: '4.0.0',\n      for: 'ember-source',\n      since: {\n        enabled: '3.26.0-beta.1'\n      }\n    }));\n    return arrayObserversHelper(array, target, opts, removeListener, true);\n  }\n  var CHAIN_PASS_THROUGH = new _util._WeakSet();\n  function finishLazyChains(meta$$1, key, value) {\n    var lazyTags = meta$$1.readableLazyChainsFor(key);\n    if (lazyTags === undefined) {\n      return;\n    }\n    if ((0, _utils.isObject)(value)) {\n      for (var i = 0; i < lazyTags.length; i++) {\n        var [tag, deps] = lazyTags[i];\n        (0, _validator.updateTag)(tag, getChainTagsForKey(value, deps, (0, _validator.tagMetaFor)(value), (0, _meta2.peekMeta)(value)));\n      }\n    }\n    lazyTags.length = 0;\n  }\n  function getChainTagsForKeys(obj, keys, tagMeta, meta$$1) {\n    var tags = [];\n    for (var i = 0; i < keys.length; i++) {\n      getChainTags(tags, obj, keys[i], tagMeta, meta$$1);\n    }\n    return (0, _validator.combine)(tags);\n  }\n  function getChainTagsForKey(obj, key, tagMeta, meta$$1) {\n    return (0, _validator.combine)(getChainTags([], obj, key, tagMeta, meta$$1));\n  }\n  function getChainTags(chainTags, obj, path, tagMeta, meta$$1) {\n    var current = obj;\n    var currentTagMeta = tagMeta;\n    var currentMeta = meta$$1;\n    var pathLength = path.length;\n    var segmentEnd = -1; // prevent closures\n\n    var segment, descriptor; // eslint-disable-next-line no-constant-condition\n\n    while (true) {\n      var lastSegmentEnd = segmentEnd + 1;\n      segmentEnd = path.indexOf('.', lastSegmentEnd);\n      if (segmentEnd === -1) {\n        segmentEnd = pathLength;\n      }\n      segment = path.slice(lastSegmentEnd, segmentEnd); // If the segment is an @each, we can process it and then break\n\n      if (segment === '@each' && segmentEnd !== pathLength) {\n        lastSegmentEnd = segmentEnd + 1;\n        segmentEnd = path.indexOf('.', lastSegmentEnd); // There should be exactly one segment after an `@each` (i.e. `@each.foo`, not `@each.foo.bar`)\n        (true && !(segmentEnd === -1) && (0, _debug.deprecate)(`When using @each in a dependent-key or an observer, ` + `you can only chain one property level deep after ` + `the @each. That is, \\`${path.slice(0, segmentEnd)}\\` ` + `is allowed but \\`${path}\\` (which is what you passed) ` + `is not.\\n\\n` + `This was never supported. Currently, the extra segments ` + `are silently ignored, i.e. \\`${path}\\` behaves exactly ` + `the same as \\`${path.slice(0, segmentEnd)}\\`. ` + `In the future, this will throw an error.\\n\\n` + `If the current behavior is acceptable for your use case, ` + `please remove the extraneous segments by changing your ` + `key to \\`${path.slice(0, segmentEnd)}\\`. ` + `Otherwise, please create an intermediary computed property ` + `or switch to using tracked properties.`, segmentEnd === -1, {\n          until: '3.17.0',\n          id: 'ember-metal.computed-deep-each',\n          for: 'ember-source',\n          since: {\n            enabled: '3.13.0-beta.3'\n          }\n        }));\n        var arrLength = current.length;\n        if (typeof arrLength !== 'number' ||\n        // TODO: should the second test be `isEmberArray` instead?\n        !(Array.isArray(current) || 'objectAt' in current)) {\n          // If the current object isn't an array, there's nothing else to do,\n          // we don't watch individual properties. Break out of the loop.\n          break;\n        } else if (arrLength === 0) {\n          // Fast path for empty arrays\n          chainTags.push(tagForProperty(current, '[]'));\n          break;\n        }\n        if (segmentEnd === -1) {\n          segment = path.slice(lastSegmentEnd);\n        } else {\n          // Deprecated, remove once we turn the deprecation into an assertion\n          segment = path.slice(lastSegmentEnd, segmentEnd);\n        } // Push the tags for each item's property\n\n        for (var i = 0; i < arrLength; i++) {\n          var item = objectAt(current, i);\n          if (item) {\n            (true && !(typeof item === 'object') && (0, _debug.assert)(`When using @each to observe the array \\`${current.toString()}\\`, the items in the array must be objects`, typeof item === 'object'));\n            chainTags.push(tagForProperty(item, segment, true));\n            currentMeta = (0, _meta2.peekMeta)(item);\n            descriptor = currentMeta !== null ? currentMeta.peekDescriptors(segment) : undefined; // If the key is an alias, we need to bootstrap it\n\n            if (descriptor !== undefined && typeof descriptor.altKey === 'string') {\n              // tslint:disable-next-line: no-unused-expression\n              item[segment];\n            }\n          }\n        } // Push the tag for the array length itself\n\n        chainTags.push(tagForProperty(current, '[]', true, currentTagMeta));\n        break;\n      }\n      var propertyTag = tagForProperty(current, segment, true, currentTagMeta);\n      descriptor = currentMeta !== null ? currentMeta.peekDescriptors(segment) : undefined;\n      chainTags.push(propertyTag); // If we're at the end of the path, processing the last segment, and it's\n      // not an alias, we should _not_ get the last value, since we already have\n      // its tag. There's no reason to access it and do more work.\n\n      if (segmentEnd === pathLength) {\n        // If the key was an alias, we should always get the next value in order to\n        // bootstrap the alias. This is because aliases, unlike other CPs, should\n        // always be in sync with the aliased value.\n        if (CHAIN_PASS_THROUGH.has(descriptor)) {\n          // tslint:disable-next-line: no-unused-expression\n          current[segment];\n        }\n        break;\n      }\n      if (descriptor === undefined) {\n        // If the descriptor is undefined, then its a normal property, so we should\n        // lookup the value to chain off of like normal.\n        if (!(segment in current) && typeof current.unknownProperty === 'function') {\n          current = current.unknownProperty(segment);\n        } else {\n          current = current[segment];\n        }\n      } else if (CHAIN_PASS_THROUGH.has(descriptor)) {\n        current = current[segment];\n      } else {\n        // If the descriptor is defined, then its a normal CP (not an alias, which\n        // would have been handled earlier). We get the last revision to check if\n        // the CP is still valid, and if so we use the cached value. If not, then\n        // we create a lazy chain lookup, and the next time the CP is calculated,\n        // it will update that lazy chain.\n        var instanceMeta = currentMeta.source === current ? currentMeta : (0, _meta2.meta)(current);\n        var lastRevision = instanceMeta.revisionFor(segment);\n        if (lastRevision !== undefined && (0, _validator.validateTag)(propertyTag, lastRevision)) {\n          current = instanceMeta.valueFor(segment);\n        } else {\n          // use metaFor here to ensure we have the meta for the instance\n          var lazyChains = instanceMeta.writableLazyChainsFor(segment);\n          var rest = path.substr(segmentEnd + 1);\n          var placeholderTag = (0, _validator.createUpdatableTag)();\n          lazyChains.push([placeholderTag, rest]);\n          chainTags.push(placeholderTag);\n          break;\n        }\n      }\n      if (!(0, _utils.isObject)(current)) {\n        // we've hit the end of the chain for now, break out\n        break;\n      }\n      currentTagMeta = (0, _validator.tagMetaFor)(current);\n      currentMeta = (0, _meta2.peekMeta)(current);\n    }\n    return chainTags;\n  }\n  function isElementDescriptor(args) {\n    var [maybeTarget, maybeKey, maybeDesc] = args;\n    return (\n      // Ensure we have the right number of args\n      args.length === 3 && (\n      // Make sure the target is a class or object (prototype)\n      typeof maybeTarget === 'function' || typeof maybeTarget === 'object' && maybeTarget !== null) &&\n      // Make sure the key is a string\n      typeof maybeKey === 'string' && (\n      // Make sure the descriptor is the right shape\n      typeof maybeDesc === 'object' && maybeDesc !== null || maybeDesc === undefined)\n    );\n  }\n  function nativeDescDecorator(propertyDesc) {\n    var decorator = function () {\n      return propertyDesc;\n    };\n    setClassicDecorator(decorator);\n    return decorator;\n  }\n  /**\n    Objects of this type can implement an interface to respond to requests to\n    get and set. The default implementation handles simple properties.\n  \n    @class Descriptor\n    @private\n  */\n\n  class ComputedDescriptor {\n    constructor() {\n      this.enumerable = true;\n      this.configurable = true;\n      this._dependentKeys = undefined;\n      this._meta = undefined;\n    }\n    setup(_obj, keyName, _propertyDesc, meta$$1) {\n      meta$$1.writeDescriptors(keyName, this);\n    }\n    teardown(_obj, keyName, meta$$1) {\n      meta$$1.removeDescriptors(keyName);\n    }\n  }\n  var COMPUTED_GETTERS;\n  if (true /* DEBUG */) {\n    COMPUTED_GETTERS = new _util._WeakSet();\n  }\n  function DESCRIPTOR_GETTER_FUNCTION(name, descriptor) {\n    function getter() {\n      return descriptor.get(this, name);\n    }\n    if (true /* DEBUG */) {\n      COMPUTED_GETTERS.add(getter);\n    }\n    return getter;\n  }\n  function DESCRIPTOR_SETTER_FUNCTION(name, descriptor) {\n    var set = function CPSETTER_FUNCTION(value) {\n      return descriptor.set(this, name, value);\n    };\n    COMPUTED_SETTERS.add(set);\n    return set;\n  }\n  var COMPUTED_SETTERS = new _util._WeakSet();\n  function makeComputedDecorator(desc, DecoratorClass) {\n    var decorator = function COMPUTED_DECORATOR(target, key, propertyDesc, maybeMeta, isClassicDecorator) {\n      (true && !(isClassicDecorator || !propertyDesc || !propertyDesc.get || !COMPUTED_GETTERS.has(propertyDesc.get)) && (0, _debug.assert)(`Only one computed property decorator can be applied to a class field or accessor, but '${key}' was decorated twice. You may have added the decorator to both a getter and setter, which is unnecessary.`, isClassicDecorator || !propertyDesc || !propertyDesc.get || !COMPUTED_GETTERS.has(propertyDesc.get)));\n      var meta$$1 = arguments.length === 3 ? (0, _meta2.meta)(target) : maybeMeta;\n      desc.setup(target, key, propertyDesc, meta$$1);\n      var computedDesc = {\n        enumerable: desc.enumerable,\n        configurable: desc.configurable,\n        get: DESCRIPTOR_GETTER_FUNCTION(key, desc),\n        set: DESCRIPTOR_SETTER_FUNCTION(key, desc)\n      };\n      return computedDesc;\n    };\n    setClassicDecorator(decorator, desc);\n    Object.setPrototypeOf(decorator, DecoratorClass.prototype);\n    return decorator;\n  } /////////////\n\n  var DECORATOR_DESCRIPTOR_MAP = new WeakMap();\n  /**\n    Returns the CP descriptor associated with `obj` and `keyName`, if any.\n  \n    @method descriptorForProperty\n    @param {Object} obj the object to check\n    @param {String} keyName the key to check\n    @return {Descriptor}\n    @private\n  */\n\n  function descriptorForProperty(obj, keyName, _meta) {\n    (true && !(obj !== null) && (0, _debug.assert)('Cannot call `descriptorForProperty` on null', obj !== null));\n    (true && !(obj !== undefined) && (0, _debug.assert)('Cannot call `descriptorForProperty` on undefined', obj !== undefined));\n    (true && !(typeof obj === 'object' || typeof obj === 'function') && (0, _debug.assert)(`Cannot call \\`descriptorForProperty\\` on ${typeof obj}`, typeof obj === 'object' || typeof obj === 'function'));\n    var meta$$1 = _meta === undefined ? (0, _meta2.peekMeta)(obj) : _meta;\n    if (meta$$1 !== null) {\n      return meta$$1.peekDescriptors(keyName);\n    }\n  }\n  function descriptorForDecorator(dec) {\n    return DECORATOR_DESCRIPTOR_MAP.get(dec);\n  }\n  /**\n    Check whether a value is a decorator\n  \n    @method isClassicDecorator\n    @param {any} possibleDesc the value to check\n    @return {boolean}\n    @private\n  */\n\n  function isClassicDecorator(dec) {\n    return typeof dec === 'function' && DECORATOR_DESCRIPTOR_MAP.has(dec);\n  }\n  /**\n    Set a value as a decorator\n  \n    @method setClassicDecorator\n    @param {function} decorator the value to mark as a decorator\n    @private\n  */\n\n  function setClassicDecorator(dec, value = true) {\n    DECORATOR_DESCRIPTOR_MAP.set(dec, value);\n  }\n\n  /**\n  @module @ember/object\n  */\n\n  var END_WITH_EACH_REGEX = /\\.@each$/;\n  /**\n    Expands `pattern`, invoking `callback` for each expansion.\n  \n    The only pattern supported is brace-expansion, anything else will be passed\n    once to `callback` directly.\n  \n    Example\n  \n    ```js\n    import { expandProperties } from '@ember/object/computed';\n  \n    function echo(arg){ console.log(arg); }\n  \n    expandProperties('foo.bar', echo);              //=> 'foo.bar'\n    expandProperties('{foo,bar}', echo);            //=> 'foo', 'bar'\n    expandProperties('foo.{bar,baz}', echo);        //=> 'foo.bar', 'foo.baz'\n    expandProperties('{foo,bar}.baz', echo);        //=> 'foo.baz', 'bar.baz'\n    expandProperties('foo.{bar,baz}.[]', echo)      //=> 'foo.bar.[]', 'foo.baz.[]'\n    expandProperties('{foo,bar}.{spam,eggs}', echo) //=> 'foo.spam', 'foo.eggs', 'bar.spam', 'bar.eggs'\n    expandProperties('{foo}.bar.{baz}')             //=> 'foo.bar.baz'\n    ```\n  \n    @method expandProperties\n    @static\n    @for @ember/object/computed\n    @public\n    @param {String} pattern The property pattern to expand.\n    @param {Function} callback The callback to invoke.  It is invoked once per\n    expansion, and is passed the expansion.\n  */\n\n  function expandProperties(pattern, callback) {\n    (true && !(typeof pattern === 'string') && (0, _debug.assert)(`A computed property key must be a string, you passed ${typeof pattern} ${pattern}`, typeof pattern === 'string'));\n    (true && !(pattern.indexOf(' ') === -1) && (0, _debug.assert)('Brace expanded properties cannot contain spaces, e.g. \"user.{firstName, lastName}\" should be \"user.{firstName,lastName}\"', pattern.indexOf(' ') === -1)); // regex to look for double open, double close, or unclosed braces\n    (true && !(pattern.match(/\\{[^}{]*\\{|\\}[^}{]*\\}|\\{[^}]*$/g) === null) && (0, _debug.assert)(`Brace expanded properties have to be balanced and cannot be nested, pattern: ${pattern}`, pattern.match(/\\{[^}{]*\\{|\\}[^}{]*\\}|\\{[^}]*$/g) === null));\n    var start = pattern.indexOf('{');\n    if (start < 0) {\n      callback(pattern.replace(END_WITH_EACH_REGEX, '.[]'));\n    } else {\n      dive('', pattern, start, callback);\n    }\n  }\n  function dive(prefix, pattern, start, callback) {\n    var end = pattern.indexOf('}'),\n      i = 0,\n      newStart,\n      arrayLength;\n    var tempArr = pattern.substring(start + 1, end).split(',');\n    var after = pattern.substring(end + 1);\n    prefix = prefix + pattern.substring(0, start);\n    arrayLength = tempArr.length;\n    while (i < arrayLength) {\n      newStart = after.indexOf('{');\n      if (newStart < 0) {\n        callback((prefix + tempArr[i++] + after).replace(END_WITH_EACH_REGEX, '.[]'));\n      } else {\n        dive(prefix + tempArr[i++], after, newStart, callback);\n      }\n    }\n  }\n\n  /**\n  @module @ember/object\n  */\n  /**\n    NOTE: This is a low-level method used by other parts of the API. You almost\n    never want to call this method directly. Instead you should use\n    `mixin()` to define new properties.\n  \n    Defines a property on an object. This method works much like the ES5\n    `Object.defineProperty()` method except that it can also accept computed\n    properties and other special descriptors.\n  \n    Normally this method takes only three parameters. However if you pass an\n    instance of `Descriptor` as the third param then you can pass an\n    optional value as the fourth parameter. This is often more efficient than\n    creating new descriptor hashes for each property.\n  \n    ## Examples\n  \n    ```javascript\n    import { defineProperty, computed } from '@ember/object';\n  \n    // ES5 compatible mode\n    defineProperty(contact, 'firstName', {\n      writable: true,\n      configurable: false,\n      enumerable: true,\n      value: 'Charles'\n    });\n  \n    // define a simple property\n    defineProperty(contact, 'lastName', undefined, 'Jolley');\n  \n    // define a computed property\n    defineProperty(contact, 'fullName', computed('firstName', 'lastName', function() {\n      return this.firstName+' '+this.lastName;\n    }));\n    ```\n  \n    @public\n    @method defineProperty\n    @static\n    @for @ember/object\n    @param {Object} obj the object to define this property on. This may be a prototype.\n    @param {String} keyName the name of the property\n    @param {Descriptor} [desc] an instance of `Descriptor` (typically a\n      computed property) or an ES5 descriptor.\n      You must provide this or `data` but not both.\n    @param {*} [data] something other than a descriptor, that will\n      become the explicit value of this property.\n  */\n\n  function defineProperty(obj, keyName, desc, data, _meta) {\n    var meta$$1 = _meta === undefined ? (0, _meta2.meta)(obj) : _meta;\n    var previousDesc = descriptorForProperty(obj, keyName, meta$$1);\n    var wasDescriptor = previousDesc !== undefined;\n    if (wasDescriptor) {\n      previousDesc.teardown(obj, keyName, meta$$1);\n    }\n    if (isClassicDecorator(desc)) {\n      defineDecorator(obj, keyName, desc, meta$$1);\n    } else if (desc === null || desc === undefined) {\n      defineValue(obj, keyName, data, wasDescriptor, true);\n    } else {\n      // fallback to ES5\n      Object.defineProperty(obj, keyName, desc);\n    } // if key is being watched, override chains that\n    // were initialized with the prototype\n\n    if (!meta$$1.isPrototypeMeta(obj)) {\n      revalidateObservers(obj);\n    }\n  }\n  function defineDecorator(obj, keyName, desc, meta$$1) {\n    var propertyDesc;\n    if (true /* DEBUG */) {\n      propertyDesc = desc(obj, keyName, undefined, meta$$1, true);\n    } else {\n      propertyDesc = desc(obj, keyName, undefined, meta$$1);\n    }\n    Object.defineProperty(obj, keyName, propertyDesc); // pass the decorator function forward for backwards compat\n\n    return desc;\n  }\n  function defineValue(obj, keyName, value, wasDescriptor, enumerable = true) {\n    if (wasDescriptor === true || enumerable === false) {\n      Object.defineProperty(obj, keyName, {\n        configurable: true,\n        enumerable,\n        writable: true,\n        value\n      });\n    } else {\n      if (true /* DEBUG */) {\n        (0, _utils.setWithMandatorySetter)(obj, keyName, value);\n      } else {\n        obj[keyName] = value;\n      }\n    }\n    return value;\n  }\n  var firstDotIndexCache = new _utils.Cache(1000, key => key.indexOf('.'));\n  function isPath(path) {\n    return typeof path === 'string' && firstDotIndexCache.get(path) !== -1;\n  }\n\n  /**\n  @module @ember/object\n  */\n  var PROXY_CONTENT = _exports.PROXY_CONTENT = (0, _utils.symbol)('PROXY_CONTENT');\n  var getPossibleMandatoryProxyValue;\n  if (true /* DEBUG */ && _utils.HAS_NATIVE_PROXY) {\n    getPossibleMandatoryProxyValue = function getPossibleMandatoryProxyValue(obj, keyName) {\n      var content = obj[PROXY_CONTENT];\n      if (content === undefined) {\n        return obj[keyName];\n      } else {\n        /* global Reflect */\n        return Reflect.get(content, keyName, obj);\n      }\n    };\n  } // ..........................................................\n  // GET AND SET\n  //\n  // If we are on a platform that supports accessors we can use those.\n  // Otherwise simulate accessors by looking up the property directly on the\n  // object.\n\n  /**\n    Gets the value of a property on an object. If the property is computed,\n    the function will be invoked. If the property is not defined but the\n    object implements the `unknownProperty` method then that will be invoked.\n  \n    ```javascript\n    import { get } from '@ember/object';\n    get(obj, \"name\");\n    ```\n  \n    If you plan to run on IE8 and older browsers then you should use this\n    method anytime you want to retrieve a property on an object that you don't\n    know for sure is private. (Properties beginning with an underscore '_'\n    are considered private.)\n  \n    On all newer browsers, you only need to use this method to retrieve\n    properties if the property might not be defined on the object and you want\n    to respect the `unknownProperty` handler. Otherwise you can ignore this\n    method.\n  \n    Note that if the object itself is `undefined`, this method will throw\n    an error.\n  \n    @method get\n    @for @ember/object\n    @static\n    @param {Object} obj The object to retrieve from.\n    @param {String} keyName The property key to retrieve\n    @return {Object} the property value or `null`.\n    @public\n  */\n\n  function get(obj, keyName) {\n    (true && !(arguments.length === 2) && (0, _debug.assert)(`Get must be called with two arguments; an object and a property key`, arguments.length === 2));\n    (true && !(obj !== undefined && obj !== null) && (0, _debug.assert)(`Cannot call get with '${keyName}' on an undefined object.`, obj !== undefined && obj !== null));\n    (true && !(typeof keyName === 'string' || typeof keyName === 'number' && !isNaN(keyName)) && (0, _debug.assert)(`The key provided to get must be a string or number, you passed ${keyName}`, typeof keyName === 'string' || typeof keyName === 'number' && !isNaN(keyName)));\n    (true && !(typeof keyName !== 'string' || keyName.lastIndexOf('this.', 0) !== 0) && (0, _debug.assert)(`'this' in paths is not supported`, typeof keyName !== 'string' || keyName.lastIndexOf('this.', 0) !== 0));\n    return isPath(keyName) ? _getPath(obj, keyName) : _getProp(obj, keyName);\n  }\n  function _getProp(obj, keyName) {\n    var type = typeof obj;\n    var isObject$$1 = type === 'object';\n    var isFunction = type === 'function';\n    var isObjectLike = isObject$$1 || isFunction;\n    var value;\n    if (isObjectLike) {\n      if (true /* DEBUG */ && _utils.HAS_NATIVE_PROXY) {\n        value = getPossibleMandatoryProxyValue(obj, keyName);\n      } else {\n        value = obj[keyName];\n      }\n      if (value === undefined && isObject$$1 && !(keyName in obj) && typeof obj.unknownProperty === 'function') {\n        if (true /* DEBUG */) {\n          (0, _validator.deprecateMutationsInTrackingTransaction)(() => {\n            value = obj.unknownProperty(keyName);\n          });\n        } else {\n          value = obj.unknownProperty(keyName);\n        }\n      }\n      if ((0, _validator.isTracking)()) {\n        (0, _validator.consumeTag)((0, _validator.tagFor)(obj, keyName));\n        if (Array.isArray(value) || (0, _utils.isEmberArray)(value)) {\n          // Add the tag of the returned value if it is an array, since arrays\n          // should always cause updates if they are consumed and then changed\n          (0, _validator.consumeTag)((0, _validator.tagFor)(value, '[]'));\n        }\n      }\n    } else {\n      value = obj[keyName];\n    }\n    return value;\n  }\n  function _getPath(root, path, forSet) {\n    var obj = root;\n    var parts = typeof path === 'string' ? path.split('.') : path;\n    for (var i = 0; i < parts.length; i++) {\n      if (obj === undefined || obj === null || obj.isDestroyed) {\n        return undefined;\n      }\n      var part = parts[i];\n      if (forSet && (part === '__proto__' || part === 'constructor')) {\n        return;\n      }\n      obj = _getProp(obj, part);\n    }\n    return obj;\n  }\n  /**\n    Retrieves the value of a property from an Object, or a default value in the\n    case that the property returns `undefined`.\n  \n    ```javascript\n    import { getWithDefault } from '@ember/object';\n    getWithDefault(person, 'lastName', 'Doe');\n    ```\n  \n    @method getWithDefault\n    @for @ember/object\n    @static\n    @param {Object} obj The object to retrieve from.\n    @param {String} keyName The name of the property to retrieve\n    @param {Object} defaultValue The value to return if the property value is undefined\n    @return {Object} The property value or the defaultValue.\n    @public\n    @deprecated\n  */\n\n  function getWithDefault(root, key, defaultValue) {\n    (true && !(false) && (0, _debug.deprecate)('Using getWithDefault has been deprecated. Instead, consider using Ember get and explicitly checking for undefined.', false, {\n      id: 'ember-metal.get-with-default',\n      until: '4.0.0',\n      url: 'https://deprecations.emberjs.com/v3.x#toc_ember-metal-get-with-default',\n      for: 'ember-source',\n      since: {\n        enabled: '3.21.0'\n      }\n    }));\n    var value = get(root, key);\n    if (value === undefined) {\n      return defaultValue;\n    }\n    return value;\n  }\n  _getProp('foo', 'a');\n  _getProp('foo', 1);\n  _getProp({}, 'a');\n  _getProp({}, 1);\n  _getProp({\n    unkonwnProperty() {}\n  }, 'a');\n  _getProp({\n    unkonwnProperty() {}\n  }, 1);\n  get({}, 'foo');\n  get({}, 'foo.bar');\n  var fakeProxy = {};\n  (0, _utils.setProxy)(fakeProxy);\n  (0, _validator.track)(() => _getProp({}, 'a'));\n  (0, _validator.track)(() => _getProp({}, 1));\n  (0, _validator.track)(() => _getProp({\n    a: []\n  }, 'a'));\n  (0, _validator.track)(() => _getProp({\n    a: fakeProxy\n  }, 'a'));\n\n  /**\n   @module @ember/object\n  */\n\n  /**\n    Sets the value of a property on an object, respecting computed properties\n    and notifying observers and other listeners of the change.\n    If the specified property is not defined on the object and the object\n    implements the `setUnknownProperty` method, then instead of setting the\n    value of the property on the object, its `setUnknownProperty` handler\n    will be invoked with the two parameters `keyName` and `value`.\n  \n    ```javascript\n    import { set } from '@ember/object';\n    set(obj, \"name\", value);\n    ```\n  \n    @method set\n    @static\n    @for @ember/object\n    @param {Object} obj The object to modify.\n    @param {String} keyName The property key to set\n    @param {Object} value The value to set\n    @return {Object} the passed value.\n    @public\n  */\n\n  function set(obj, keyName, value, tolerant) {\n    (true && !(arguments.length === 3 || arguments.length === 4) && (0, _debug.assert)(`Set must be called with three or four arguments; an object, a property key, a value and tolerant true/false`, arguments.length === 3 || arguments.length === 4));\n    (true && !(obj && typeof obj === 'object' || typeof obj === 'function') && (0, _debug.assert)(`Cannot call set with '${keyName}' on an undefined object.`, obj && typeof obj === 'object' || typeof obj === 'function'));\n    (true && !(typeof keyName === 'string' || typeof keyName === 'number' && !isNaN(keyName)) && (0, _debug.assert)(`The key provided to set must be a string or number, you passed ${keyName}`, typeof keyName === 'string' || typeof keyName === 'number' && !isNaN(keyName)));\n    (true && !(typeof keyName !== 'string' || keyName.lastIndexOf('this.', 0) !== 0) && (0, _debug.assert)(`'this' in paths is not supported`, typeof keyName !== 'string' || keyName.lastIndexOf('this.', 0) !== 0));\n    if (obj.isDestroyed) {\n      (true && !(tolerant) && (0, _debug.assert)(`calling set on destroyed object: ${(0, _utils.toString)(obj)}.${keyName} = ${(0, _utils.toString)(value)}`, tolerant));\n      return value;\n    }\n    return isPath(keyName) ? _setPath(obj, keyName, value, tolerant) : _setProp(obj, keyName, value);\n  }\n  function _setProp(obj, keyName, value) {\n    var descriptor = (0, _utils.lookupDescriptor)(obj, keyName);\n    if (descriptor !== null && COMPUTED_SETTERS.has(descriptor.set)) {\n      obj[keyName] = value;\n      return value;\n    }\n    var currentValue;\n    if (true /* DEBUG */ && _utils.HAS_NATIVE_PROXY) {\n      currentValue = getPossibleMandatoryProxyValue(obj, keyName);\n    } else {\n      currentValue = obj[keyName];\n    }\n    if (currentValue === undefined && 'object' === typeof obj && !(keyName in obj) && typeof obj.setUnknownProperty === 'function') {\n      /* unknown property */\n      obj.setUnknownProperty(keyName, value);\n    } else {\n      if (true /* DEBUG */) {\n        (0, _utils.setWithMandatorySetter)(obj, keyName, value);\n      } else {\n        obj[keyName] = value;\n      }\n      if (currentValue !== value) {\n        notifyPropertyChange(obj, keyName);\n      }\n    }\n    return value;\n  }\n  function _setPath(root, path, value, tolerant) {\n    var parts = path.split('.');\n    var keyName = parts.pop();\n    (true && !(keyName.trim().length > 0) && (0, _debug.assert)('Property set failed: You passed an empty path', keyName.trim().length > 0));\n    var newRoot = _getPath(root, parts, true);\n    if (newRoot !== null && newRoot !== undefined) {\n      return set(newRoot, keyName, value);\n    } else if (!tolerant) {\n      throw new _error.default(`Property set failed: object in path \"${parts.join('.')}\" could not be found.`);\n    }\n  }\n  /**\n    Error-tolerant form of `set`. Will not blow up if any part of the\n    chain is `undefined`, `null`, or destroyed.\n  \n    This is primarily used when syncing bindings, which may try to update after\n    an object has been destroyed.\n  \n    ```javascript\n    import { trySet } from '@ember/object';\n  \n    let obj = { name: \"Zoey\" };\n    trySet(obj, \"contacts.twitter\", \"@emberjs\");\n    ```\n  \n    @method trySet\n    @static\n    @for @ember/object\n    @param {Object} root The object to modify.\n    @param {String} path The property path to set\n    @param {Object} value The value to set\n    @public\n  */\n\n  function trySet(root, path, value) {\n    return set(root, path, value, true);\n  }\n\n  /**\n  @module @ember/object\n  */\n\n  var DEEP_EACH_REGEX = /\\.@each\\.[^.]+\\./;\n  function noop() {}\n  /**\n    `@computed` is a decorator that turns a JavaScript getter and setter into a\n    computed property, which is a _cached, trackable value_. By default the getter\n    will only be called once and the result will be cached. You can specify\n    various properties that your computed property depends on. This will force the\n    cached result to be cleared if the dependencies are modified, and lazily recomputed the next time something asks for it.\n  \n    In the following example we decorate a getter - `fullName` -  by calling\n    `computed` with the property dependencies (`firstName` and `lastName`) as\n    arguments. The `fullName` getter will be called once (regardless of how many\n    times it is accessed) as long as its dependencies do not change. Once\n    `firstName` or `lastName` are updated any future calls to `fullName` will\n    incorporate the new values, and any watchers of the value such as templates\n    will be updated:\n  \n    ```javascript\n    import { computed, set } from '@ember/object';\n  \n    class Person {\n      constructor(firstName, lastName) {\n        set(this, 'firstName', firstName);\n        set(this, 'lastName', lastName);\n      }\n  \n      @computed('firstName', 'lastName')\n      get fullName() {\n        return `${this.firstName} ${this.lastName}`;\n      }\n    });\n  \n    let tom = new Person('Tom', 'Dale');\n  \n    tom.fullName; // 'Tom Dale'\n    ```\n  \n    You can also provide a setter, which will be used when updating the computed\n    property. Ember's `set` function must be used to update the property\n    since it will also notify observers of the property:\n  \n    ```javascript\n    import { computed, set } from '@ember/object';\n  \n    class Person {\n      constructor(firstName, lastName) {\n        set(this, 'firstName', firstName);\n        set(this, 'lastName', lastName);\n      }\n  \n      @computed('firstName', 'lastName')\n      get fullName() {\n        return `${this.firstName} ${this.lastName}`;\n      }\n  \n      set fullName(value) {\n        let [firstName, lastName] = value.split(' ');\n  \n        set(this, 'firstName', firstName);\n        set(this, 'lastName', lastName);\n      }\n    });\n  \n    let person = new Person();\n  \n    set(person, 'fullName', 'Peter Wagenet');\n    person.firstName; // 'Peter'\n    person.lastName;  // 'Wagenet'\n    ```\n  \n    You can also pass a getter function or object with `get` and `set` functions\n    as the last argument to the computed decorator. This allows you to define\n    computed property _macros_:\n  \n    ```js\n    import { computed } from '@ember/object';\n  \n    function join(...keys) {\n      return computed(...keys, function() {\n        return keys.map(key => this[key]).join(' ');\n      });\n    }\n  \n    class Person {\n      @join('firstName', 'lastName')\n      fullName;\n    }\n    ```\n  \n    Note that when defined this way, getters and setters receive the _key_ of the\n    property they are decorating as the first argument. Setters receive the value\n    they are setting to as the second argument instead. Additionally, setters must\n    _return_ the value that should be cached:\n  \n    ```javascript\n    import { computed, set } from '@ember/object';\n  \n    function fullNameMacro(firstNameKey, lastNameKey) {\n      return computed(firstNameKey, lastNameKey, {\n        get() {\n          return `${this[firstNameKey]} ${this[lastNameKey]}`;\n        }\n  \n        set(key, value) {\n          let [firstName, lastName] = value.split(' ');\n  \n          set(this, firstNameKey, firstName);\n          set(this, lastNameKey, lastName);\n  \n          return value;\n        }\n      });\n    }\n  \n    class Person {\n      constructor(firstName, lastName) {\n        set(this, 'firstName', firstName);\n        set(this, 'lastName', lastName);\n      }\n  \n      @fullNameMacro('firstName', 'lastName') fullName;\n    });\n  \n    let person = new Person();\n  \n    set(person, 'fullName', 'Peter Wagenet');\n    person.firstName; // 'Peter'\n    person.lastName;  // 'Wagenet'\n    ```\n  \n    Computed properties can also be used in classic classes. To do this, we\n    provide the getter and setter as the last argument like we would for a macro,\n    and we assign it to a property on the class definition. This is an _anonymous_\n    computed macro:\n  \n    ```javascript\n    import EmberObject, { computed, set } from '@ember/object';\n  \n    let Person = EmberObject.extend({\n      // these will be supplied by `create`\n      firstName: null,\n      lastName: null,\n  \n      fullName: computed('firstName', 'lastName', {\n        get() {\n          return `${this.firstName} ${this.lastName}`;\n        }\n  \n        set(key, value) {\n          let [firstName, lastName] = value.split(' ');\n  \n          set(this, 'firstName', firstName);\n          set(this, 'lastName', lastName);\n  \n          return value;\n        }\n      })\n    });\n  \n    let tom = Person.create({\n      firstName: 'Tom',\n      lastName: 'Dale'\n    });\n  \n    tom.get('fullName') // 'Tom Dale'\n    ```\n  \n    You can overwrite computed property without setters with a normal property (no\n    longer computed) that won't change if dependencies change. You can also mark\n    computed property as `.readOnly()` and block all attempts to set it.\n  \n    ```javascript\n    import { computed, set } from '@ember/object';\n  \n    class Person {\n      constructor(firstName, lastName) {\n        set(this, 'firstName', firstName);\n        set(this, 'lastName', lastName);\n      }\n  \n      @computed('firstName', 'lastName').readOnly()\n      get fullName() {\n        return `${this.firstName} ${this.lastName}`;\n      }\n    });\n  \n    let person = new Person();\n    person.set('fullName', 'Peter Wagenet'); // Uncaught Error: Cannot set read-only property \"fullName\" on object: <(...):emberXXX>\n    ```\n  \n    Additional resources:\n    - [Decorators RFC](https://github.com/emberjs/rfcs/blob/master/text/0408-decorators.md)\n    - [New CP syntax RFC](https://github.com/emberjs/rfcs/blob/master/text/0011-improved-cp-syntax.md)\n    - [New computed syntax explained in \"Ember 1.12 released\" ](https://emberjs.com/blog/2015/05/13/ember-1-12-released.html#toc_new-computed-syntax)\n  \n    @class ComputedProperty\n    @public\n  */\n\n  class ComputedProperty extends ComputedDescriptor {\n    constructor(args) {\n      super();\n      this._volatile = false;\n      this._readOnly = false;\n      this._hasConfig = false;\n      this._getter = undefined;\n      this._setter = undefined;\n      var maybeConfig = args[args.length - 1];\n      if (typeof maybeConfig === 'function' || maybeConfig !== null && typeof maybeConfig === 'object') {\n        this._hasConfig = true;\n        var config = args.pop();\n        if (typeof config === 'function') {\n          (true && !(!isClassicDecorator(config)) && (0, _debug.assert)(`You attempted to pass a computed property instance to computed(). Computed property instances are decorator functions, and cannot be passed to computed() because they cannot be turned into decorators twice`, !isClassicDecorator(config)));\n          this._getter = config;\n        } else {\n          var objectConfig = config;\n          (true && !(typeof objectConfig === 'object' && !Array.isArray(objectConfig)) && (0, _debug.assert)('computed expects a function or an object as last argument.', typeof objectConfig === 'object' && !Array.isArray(objectConfig)));\n          (true && !(Object.keys(objectConfig).every(key => key === 'get' || key === 'set')) && (0, _debug.assert)('Config object passed to computed can only contain `get` and `set` keys.', Object.keys(objectConfig).every(key => key === 'get' || key === 'set')));\n          (true && !(Boolean(objectConfig.get) || Boolean(objectConfig.set)) && (0, _debug.assert)('Computed properties must receive a getter or a setter, you passed none.', Boolean(objectConfig.get) || Boolean(objectConfig.set)));\n          this._getter = objectConfig.get || noop;\n          this._setter = objectConfig.set;\n        }\n      }\n      if (args.length > 0) {\n        this._property(...args);\n      }\n    }\n    setup(obj, keyName, propertyDesc, meta$$1) {\n      super.setup(obj, keyName, propertyDesc, meta$$1);\n      (true && !(!(propertyDesc && typeof propertyDesc.value === 'function')) && (0, _debug.assert)(`@computed can only be used on accessors or fields, attempted to use it with ${keyName} but that was a method. Try converting it to a getter (e.g. \\`get ${keyName}() {}\\`)`, !(propertyDesc && typeof propertyDesc.value === 'function')));\n      (true && !(!propertyDesc || !propertyDesc.initializer) && (0, _debug.assert)(`@computed can only be used on empty fields. ${keyName} has an initial value (e.g. \\`${keyName} = someValue\\`)`, !propertyDesc || !propertyDesc.initializer));\n      (true && !(!(this._hasConfig && propertyDesc && (typeof propertyDesc.get === 'function' || typeof propertyDesc.set === 'function'))) && (0, _debug.assert)(`Attempted to apply a computed property that already has a getter/setter to a ${keyName}, but it is a method or an accessor. If you passed @computed a function or getter/setter (e.g. \\`@computed({ get() { ... } })\\`), then it must be applied to a field`, !(this._hasConfig && propertyDesc && (typeof propertyDesc.get === 'function' || typeof propertyDesc.set === 'function'))));\n      if (this._hasConfig === false) {\n        (true && !(propertyDesc && (typeof propertyDesc.get === 'function' || typeof propertyDesc.set === 'function')) && (0, _debug.assert)(`Attempted to use @computed on ${keyName}, but it did not have a getter or a setter. You must either pass a get a function or getter/setter to @computed directly (e.g. \\`@computed({ get() { ... } })\\`) or apply @computed directly to a getter/setter`, propertyDesc && (typeof propertyDesc.get === 'function' || typeof propertyDesc.set === 'function')));\n        var {\n          get: _get2,\n          set: set$$1\n        } = propertyDesc;\n        if (_get2 !== undefined) {\n          this._getter = _get2;\n        }\n        if (set$$1 !== undefined) {\n          this._setter = function setterWrapper(_key, value) {\n            var ret = set$$1.call(this, value);\n            if (_get2 !== undefined) {\n              return typeof ret === 'undefined' ? _get2.call(this) : ret;\n            }\n            return ret;\n          };\n        }\n      }\n    }\n    _property(...passedArgs) {\n      var args = [];\n      function addArg(property) {\n        (true && (0, _debug.warn)(`Dependent keys containing @each only work one level deep. ` + `You used the key \"${property}\" which is invalid. ` + `Please create an intermediary computed property.`, DEEP_EACH_REGEX.test(property) === false, {\n          id: 'ember-metal.computed-deep-each'\n        }));\n        args.push(property);\n      }\n      for (var i = 0; i < passedArgs.length; i++) {\n        expandProperties(passedArgs[i], addArg);\n      }\n      this._dependentKeys = args;\n    }\n    get(obj, keyName) {\n      if (this._volatile) {\n        return this._getter.call(obj, keyName);\n      }\n      var meta$$1 = (0, _meta2.meta)(obj);\n      var tagMeta = (0, _validator.tagMetaFor)(obj);\n      var propertyTag = (0, _validator.tagFor)(obj, keyName, tagMeta);\n      var ret;\n      var revision = meta$$1.revisionFor(keyName);\n      if (revision !== undefined && (0, _validator.validateTag)(propertyTag, revision)) {\n        ret = meta$$1.valueFor(keyName);\n      } else {\n        // For backwards compatibility, we only throw if the CP has any dependencies. CPs without dependencies\n        // should be allowed, even after the object has been destroyed, which is why we check _dependentKeys.\n        (true && !(this._dependentKeys === undefined || !(0, _destroyable.isDestroyed)(obj)) && (0, _debug.assert)(`Attempted to access the computed ${obj}.${keyName} on a destroyed object, which is not allowed`, this._dependentKeys === undefined || !(0, _destroyable.isDestroyed)(obj)));\n        var {\n          _getter,\n          _dependentKeys\n        } = this; // Create a tracker that absorbs any trackable actions inside the CP\n\n        (0, _validator.untrack)(() => {\n          ret = _getter.call(obj, keyName);\n        });\n        if (_dependentKeys !== undefined) {\n          (0, _validator.updateTag)(propertyTag, getChainTagsForKeys(obj, _dependentKeys, tagMeta, meta$$1));\n          if (true /* DEBUG */) {\n            _validator.ALLOW_CYCLES.set(propertyTag, true);\n          }\n        }\n        meta$$1.setValueFor(keyName, ret);\n        meta$$1.setRevisionFor(keyName, (0, _validator.valueForTag)(propertyTag));\n        finishLazyChains(meta$$1, keyName, ret);\n      }\n      (0, _validator.consumeTag)(propertyTag); // Add the tag of the returned value if it is an array, since arrays\n      // should always cause updates if they are consumed and then changed\n\n      if (Array.isArray(ret)) {\n        (0, _validator.consumeTag)((0, _validator.tagFor)(ret, '[]'));\n      }\n      return ret;\n    }\n    set(obj, keyName, value) {\n      if (this._readOnly) {\n        this._throwReadOnlyError(obj, keyName);\n      }\n      if (!this._setter) {\n        return this.clobberSet(obj, keyName, value);\n      }\n      if (this._volatile) {\n        return this.volatileSet(obj, keyName, value);\n      }\n      var meta$$1 = (0, _meta2.meta)(obj); // ensure two way binding works when the component has defined a computed\n      // property with both a setter and dependent keys, in that scenario without\n      // the sync observer added below the caller's value will never be updated\n      //\n      // See GH#18147 / GH#19028 for details.\n\n      if (\n      // ensure that we only run this once, while the component is being instantiated\n      meta$$1.isInitializing() && this._dependentKeys !== undefined && this._dependentKeys.length > 0 &&\n      // These two properties are set on Ember.Component\n      typeof obj[PROPERTY_DID_CHANGE] === 'function' && obj.isComponent) {\n        addObserver(obj, keyName, () => {\n          obj[PROPERTY_DID_CHANGE](keyName);\n        }, undefined, true);\n      }\n      var ret;\n      try {\n        beginPropertyChanges();\n        ret = this._set(obj, keyName, value, meta$$1);\n        finishLazyChains(meta$$1, keyName, ret);\n        var tagMeta = (0, _validator.tagMetaFor)(obj);\n        var propertyTag = (0, _validator.tagFor)(obj, keyName, tagMeta);\n        var {\n          _dependentKeys\n        } = this;\n        if (_dependentKeys !== undefined) {\n          (0, _validator.updateTag)(propertyTag, getChainTagsForKeys(obj, _dependentKeys, tagMeta, meta$$1));\n          if (true /* DEBUG */) {\n            _validator.ALLOW_CYCLES.set(propertyTag, true);\n          }\n        }\n        meta$$1.setRevisionFor(keyName, (0, _validator.valueForTag)(propertyTag));\n      } finally {\n        endPropertyChanges();\n      }\n      return ret;\n    }\n    _throwReadOnlyError(obj, keyName) {\n      throw new _error.default(`Cannot set read-only property \"${keyName}\" on object: ${(0, _utils.inspect)(obj)}`);\n    }\n    clobberSet(obj, keyName, value) {\n      (true && !(false) && (0, _debug.deprecate)(`The ${(0, _utils.toString)(obj)}#${keyName} computed property was just overridden. This removes the computed property and replaces it with a plain value, and has been deprecated. If you want this behavior, consider defining a setter which does it manually.`, false, {\n        id: 'computed-property.override',\n        until: '4.0.0',\n        url: 'https://deprecations.emberjs.com/v3.x#toc_computed-property-override',\n        for: 'ember-source',\n        since: {\n          enabled: '3.9.0-beta.1'\n        }\n      }));\n      var cachedValue = (0, _meta2.meta)(obj).valueFor(keyName);\n      defineProperty(obj, keyName, null, cachedValue);\n      set(obj, keyName, value);\n      return value;\n    }\n    volatileSet(obj, keyName, value) {\n      return this._setter.call(obj, keyName, value);\n    }\n    _set(obj, keyName, value, meta$$1) {\n      var hadCachedValue = meta$$1.revisionFor(keyName) !== undefined;\n      var cachedValue = meta$$1.valueFor(keyName);\n      var ret;\n      var {\n        _setter\n      } = this;\n      setObserverSuspended(obj, keyName, true);\n      try {\n        ret = _setter.call(obj, keyName, value, cachedValue);\n      } finally {\n        setObserverSuspended(obj, keyName, false);\n      } // allows setter to return the same value that is cached already\n\n      if (hadCachedValue && cachedValue === ret) {\n        return ret;\n      }\n      meta$$1.setValueFor(keyName, ret);\n      notifyPropertyChange(obj, keyName, meta$$1, value);\n      return ret;\n    }\n    /* called before property is overridden */\n\n    teardown(obj, keyName, meta$$1) {\n      if (!this._volatile) {\n        if (meta$$1.revisionFor(keyName) !== undefined) {\n          meta$$1.setRevisionFor(keyName, undefined);\n          meta$$1.setValueFor(keyName, undefined);\n        }\n      }\n      super.teardown(obj, keyName, meta$$1);\n    }\n  }\n  _exports.ComputedProperty = ComputedProperty;\n  class AutoComputedProperty extends ComputedProperty {\n    get(obj, keyName) {\n      if (this._volatile) {\n        return this._getter.call(obj, keyName);\n      }\n      var meta$$1 = (0, _meta2.meta)(obj);\n      var tagMeta = (0, _validator.tagMetaFor)(obj);\n      var propertyTag = (0, _validator.tagFor)(obj, keyName, tagMeta);\n      var ret;\n      var revision = meta$$1.revisionFor(keyName);\n      if (revision !== undefined && (0, _validator.validateTag)(propertyTag, revision)) {\n        ret = meta$$1.valueFor(keyName);\n      } else {\n        (true && !(!(0, _destroyable.isDestroyed)(obj)) && (0, _debug.assert)(`Attempted to access the computed ${obj}.${keyName} on a destroyed object, which is not allowed`, !(0, _destroyable.isDestroyed)(obj)));\n        var {\n          _getter\n        } = this; // Create a tracker that absorbs any trackable actions inside the CP\n\n        var tag = (0, _validator.track)(() => {\n          ret = _getter.call(obj, keyName);\n        });\n        (0, _validator.updateTag)(propertyTag, tag);\n        meta$$1.setValueFor(keyName, ret);\n        meta$$1.setRevisionFor(keyName, (0, _validator.valueForTag)(propertyTag));\n        finishLazyChains(meta$$1, keyName, ret);\n      }\n      (0, _validator.consumeTag)(propertyTag); // Add the tag of the returned value if it is an array, since arrays\n      // should always cause updates if they are consumed and then changed\n\n      if (Array.isArray(ret)) {\n        (0, _validator.consumeTag)((0, _validator.tagFor)(ret, '[]', tagMeta));\n      }\n      return ret;\n    }\n  } // TODO: This class can be svelted once `meta` has been deprecated\n\n  class ComputedDecoratorImpl extends Function {\n    /**\n      Call on a computed property to set it into read-only mode. When in this\n      mode the computed property will throw an error when set.\n         Example:\n         ```javascript\n      import { computed, set } from '@ember/object';\n         class Person {\n        @computed().readOnly()\n        get guid() {\n          return 'guid-guid-guid';\n        }\n      }\n         let person = new Person();\n      set(person, 'guid', 'new-guid'); // will throw an exception\n      ```\n         Classic Class Example:\n         ```javascript\n      import EmberObject, { computed } from '@ember/object';\n         let Person = EmberObject.extend({\n        guid: computed(function() {\n          return 'guid-guid-guid';\n        }).readOnly()\n      });\n         let person = Person.create();\n      person.set('guid', 'new-guid'); // will throw an exception\n      ```\n         @method readOnly\n      @return {ComputedProperty} this\n      @chainable\n      @public\n    */\n    readOnly() {\n      var desc = descriptorForDecorator(this);\n      (true && !(!(desc._setter && desc._setter !== desc._getter)) && (0, _debug.assert)('Computed properties that define a setter using the new syntax cannot be read-only', !(desc._setter && desc._setter !== desc._getter)));\n      desc._readOnly = true;\n      return this;\n    }\n    /**\n      Call on a computed property to set it into non-cached mode. When in this\n      mode the computed property will not automatically cache the return value.\n      It also does not automatically fire any change events. You must manually notify\n      any changes if you want to observe this property.\n         Dependency keys have no effect on volatile properties as they are for cache\n      invalidation and notification when cached value is invalidated.\n         Example:\n         ```javascript\n      import { computed } from '@ember/object';\n         class CallCounter {\n        _calledCount = 0;\n           @computed().volatile()\n        get calledCount() {\n          return this._calledCount++;\n        }\n      }\n      ```\n         Classic Class Example:\n         ```javascript\n      import EmberObject, { computed } from '@ember/object';\n         let CallCounter = EmberObject.extend({\n        _calledCount: 0,\n           value: computed(function() {\n          return this._calledCount++;\n        }).volatile()\n      });\n      ```\n      @method volatile\n      @deprecated\n      @return {ComputedProperty} this\n      @chainable\n      @public\n    */\n\n    volatile() {\n      (true && !(false) && (0, _debug.deprecate)('Setting a computed property as volatile has been deprecated. Instead, consider using a native getter with native class syntax.', false, {\n        id: 'computed-property.volatile',\n        until: '4.0.0',\n        url: 'https://deprecations.emberjs.com/v3.x#toc_computed-property-volatile',\n        for: 'ember-source',\n        since: {\n          enabled: '3.9.0-beta.1'\n        }\n      }));\n      descriptorForDecorator(this)._volatile = true;\n      return this;\n    }\n    /**\n      Sets the dependent keys on this computed property. Pass any number of\n      arguments containing key paths that this computed property depends on.\n         Example:\n         ```javascript\n      import EmberObject, { computed } from '@ember/object';\n         class President {\n        constructor(firstName, lastName) {\n          set(this, 'firstName', firstName);\n          set(this, 'lastName', lastName);\n        }\n           // Tell Ember that this computed property depends on firstName\n        // and lastName\n        @computed().property('firstName', 'lastName')\n        get fullName() {\n          return `${this.firstName} ${this.lastName}`;\n        }\n      }\n         let president = new President('Barack', 'Obama');\n         president.fullName; // 'Barack Obama'\n      ```\n         Classic Class Example:\n         ```javascript\n      import EmberObject, { computed } from '@ember/object';\n         let President = EmberObject.extend({\n        fullName: computed(function() {\n          return this.get('firstName') + ' ' + this.get('lastName');\n             // Tell Ember that this computed property depends on firstName\n          // and lastName\n        }).property('firstName', 'lastName')\n      });\n         let president = President.create({\n        firstName: 'Barack',\n        lastName: 'Obama'\n      });\n         president.get('fullName'); // 'Barack Obama'\n      ```\n         @method property\n      @deprecated\n      @param {String} path* zero or more property paths\n      @return {ComputedProperty} this\n      @chainable\n      @public\n    */\n\n    property(...keys) {\n      (true && !(false) && (0, _debug.deprecate)('Setting dependency keys using the `.property()` modifier has been deprecated. Pass the dependency keys directly to computed as arguments instead. If you are using `.property()` on a computed property macro, consider refactoring your macro to receive additional dependent keys in its initial declaration.', false, {\n        id: 'computed-property.property',\n        until: '4.0.0',\n        url: 'https://deprecations.emberjs.com/v3.x#toc_computed-property-property',\n        for: 'ember-source',\n        since: {\n          enabled: '3.9.0-beta.1'\n        }\n      }));\n      descriptorForDecorator(this)._property(...keys);\n      return this;\n    }\n    /**\n      In some cases, you may want to annotate computed properties with additional\n      metadata about how they function or what values they operate on. For example,\n      computed property functions may close over variables that are then no longer\n      available for introspection. You can pass a hash of these values to a\n      computed property.\n         Example:\n         ```javascript\n      import { computed } from '@ember/object';\n      import Person from 'my-app/utils/person';\n         class Store {\n        @computed().meta({ type: Person })\n        get person() {\n          let personId = this.personId;\n          return Person.create({ id: personId });\n        }\n      }\n      ```\n         Classic Class Example:\n         ```javascript\n      import { computed } from '@ember/object';\n      import Person from 'my-app/utils/person';\n         const Store = EmberObject.extend({\n        person: computed(function() {\n          let personId = this.get('personId');\n          return Person.create({ id: personId });\n        }).meta({ type: Person })\n      });\n      ```\n         The hash that you pass to the `meta()` function will be saved on the\n      computed property descriptor under the `_meta` key. Ember runtime\n      exposes a public API for retrieving these values from classes,\n      via the `metaForProperty()` function.\n         @method meta\n      @param {Object} meta\n      @chainable\n      @public\n    */\n\n    meta(meta$$1) {\n      var prop = descriptorForDecorator(this);\n      if (arguments.length === 0) {\n        return prop._meta || {};\n      } else {\n        prop._meta = meta$$1;\n        return this;\n      }\n    } // TODO: Remove this when we can provide alternatives in the ecosystem to\n    // addons such as ember-macro-helpers that use it.\n\n    get _getter() {\n      return descriptorForDecorator(this)._getter;\n    } // TODO: Refactor this, this is an internal API only\n\n    set enumerable(value) {\n      descriptorForDecorator(this).enumerable = value;\n    }\n  }\n  function computed(...args) {\n    (true && !(!(isElementDescriptor(args.slice(0, 3)) && args.length === 5 && args[4] === true)) && (0, _debug.assert)(`@computed can only be used directly as a native decorator. If you're using tracked in classic classes, add parenthesis to call it like a function: computed()`, !(isElementDescriptor(args.slice(0, 3)) && args.length === 5 && args[4] === true)));\n    if (isElementDescriptor(args)) {\n      var decorator = makeComputedDecorator(new ComputedProperty([]), ComputedDecoratorImpl);\n      return decorator(args[0], args[1], args[2]);\n    }\n    return makeComputedDecorator(new ComputedProperty(args), ComputedDecoratorImpl);\n  }\n  function autoComputed(...config) {\n    return makeComputedDecorator(new AutoComputedProperty(config), ComputedDecoratorImpl);\n  }\n  /**\n    Allows checking if a given property on an object is a computed property. For the most part,\n    this doesn't matter (you would normally just access the property directly and use its value),\n    but for some tooling specific scenarios (e.g. the ember-inspector) it is important to\n    differentiate if a property is a computed property or a \"normal\" property.\n  \n    This will work on either a class's prototype or an instance itself.\n  \n    @static\n    @method isComputed\n    @for @ember/debug\n    @private\n   */\n\n  function isComputed(obj, key) {\n    return Boolean(descriptorForProperty(obj, key));\n  }\n  function getCachedValueFor(obj, key) {\n    var meta$$1 = (0, _meta2.peekMeta)(obj);\n    if (meta$$1) {\n      return meta$$1.valueFor(key);\n    }\n  }\n  function alias(altKey) {\n    (true && !(!isElementDescriptor(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @alias as a decorator directly, but it requires a `altKey` parameter', !isElementDescriptor(Array.prototype.slice.call(arguments))));\n    return makeComputedDecorator(new AliasedProperty(altKey), AliasDecoratorImpl);\n  } // TODO: This class can be svelted once `meta` has been deprecated\n\n  class AliasDecoratorImpl extends Function {\n    readOnly() {\n      descriptorForDecorator(this).readOnly();\n      return this;\n    }\n    oneWay() {\n      descriptorForDecorator(this).oneWay();\n      return this;\n    }\n    meta(meta$$1) {\n      var prop = descriptorForDecorator(this);\n      if (arguments.length === 0) {\n        return prop._meta || {};\n      } else {\n        prop._meta = meta$$1;\n      }\n    }\n  }\n  class AliasedProperty extends ComputedDescriptor {\n    constructor(altKey) {\n      super();\n      this.altKey = altKey;\n    }\n    setup(obj, keyName, propertyDesc, meta$$1) {\n      (true && !(this.altKey !== keyName) && (0, _debug.assert)(`Setting alias '${keyName}' on self`, this.altKey !== keyName));\n      super.setup(obj, keyName, propertyDesc, meta$$1);\n      CHAIN_PASS_THROUGH.add(this);\n    }\n    get(obj, keyName) {\n      var ret;\n      var meta$$1 = (0, _meta2.meta)(obj);\n      var tagMeta = (0, _validator.tagMetaFor)(obj);\n      var propertyTag = (0, _validator.tagFor)(obj, keyName, tagMeta); // We don't use the tag since CPs are not automatic, we just want to avoid\n      // anything tracking while we get the altKey\n\n      (0, _validator.untrack)(() => {\n        ret = get(obj, this.altKey);\n      });\n      var lastRevision = meta$$1.revisionFor(keyName);\n      if (lastRevision === undefined || !(0, _validator.validateTag)(propertyTag, lastRevision)) {\n        (0, _validator.updateTag)(propertyTag, getChainTagsForKey(obj, this.altKey, tagMeta, meta$$1));\n        meta$$1.setRevisionFor(keyName, (0, _validator.valueForTag)(propertyTag));\n        finishLazyChains(meta$$1, keyName, ret);\n      }\n      (0, _validator.consumeTag)(propertyTag);\n      return ret;\n    }\n    set(obj, _keyName, value) {\n      return set(obj, this.altKey, value);\n    }\n    readOnly() {\n      this.set = AliasedProperty_readOnlySet;\n    }\n    oneWay() {\n      this.set = AliasedProperty_oneWaySet;\n    }\n  }\n  function AliasedProperty_readOnlySet(obj, keyName) {\n    // eslint-disable-line no-unused-vars\n    throw new _error.default(`Cannot set read-only property '${keyName}' on object: ${(0, _utils.inspect)(obj)}`);\n  }\n  function AliasedProperty_oneWaySet(obj, keyName, value) {\n    defineProperty(obj, keyName, null);\n    return set(obj, keyName, value);\n  }\n\n  /**\n  @module ember\n  */\n  /**\n    Used internally to allow changing properties in a backwards compatible way, and print a helpful\n    deprecation warning.\n  \n    @method deprecateProperty\n    @param {Object} object The object to add the deprecated property to.\n    @param {String} deprecatedKey The property to add (and print deprecation warnings upon accessing).\n    @param {String} newKey The property that will be aliased.\n    @private\n    @since 1.7.0\n  */\n\n  function deprecateProperty(object, deprecatedKey, newKey, options) {\n    function _deprecate() {\n      (true && !(false) && (0, _debug.deprecate)(`Usage of \\`${deprecatedKey}\\` is deprecated, use \\`${newKey}\\` instead.`, false, options));\n    }\n    Object.defineProperty(object, deprecatedKey, {\n      configurable: true,\n      enumerable: false,\n      set(value) {\n        _deprecate();\n        set(this, newKey, value);\n      },\n      get() {\n        _deprecate();\n        return get(this, newKey);\n      }\n    });\n  }\n  var EACH_PROXIES = new WeakMap();\n  function eachProxyArrayWillChange(array, idx, removedCnt, addedCnt) {\n    var eachProxy = EACH_PROXIES.get(array);\n    if (eachProxy !== undefined) {\n      eachProxy.arrayWillChange(array, idx, removedCnt, addedCnt);\n    }\n  }\n  function eachProxyArrayDidChange(array, idx, removedCnt, addedCnt) {\n    var eachProxy = EACH_PROXIES.get(array);\n    if (eachProxy !== undefined) {\n      eachProxy.arrayDidChange(array, idx, removedCnt, addedCnt);\n    }\n  }\n\n  /**\n   @module @ember/utils\n  */\n\n  /**\n    Returns true if the passed value is null or undefined. This avoids errors\n    from JSLint complaining about use of ==, which can be technically\n    confusing.\n  \n    ```javascript\n    isNone();              // true\n    isNone(null);          // true\n    isNone(undefined);     // true\n    isNone('');            // false\n    isNone([]);            // false\n    isNone(function() {}); // false\n    ```\n  \n    @method isNone\n    @static\n    @for @ember/utils\n    @param {Object} obj Value to test\n    @return {Boolean}\n    @public\n  */\n  function isNone(obj) {\n    return obj === null || obj === undefined;\n  }\n\n  /**\n   @module @ember/utils\n  */\n\n  /**\n    Verifies that a value is `null` or `undefined`, an empty string, or an empty\n    array.\n  \n    Constrains the rules on `isNone` by returning true for empty strings and\n    empty arrays.\n  \n    If the value is an object with a `size` property of type number, it is used\n    to check emptiness.\n  \n    ```javascript\n    isEmpty();                 // true\n    isEmpty(null);             // true\n    isEmpty(undefined);        // true\n    isEmpty('');               // true\n    isEmpty([]);               // true\n    isEmpty({ size: 0});       // true\n    isEmpty({});               // false\n    isEmpty('Adam Hawkins');   // false\n    isEmpty([0,1,2]);          // false\n    isEmpty('\\n\\t');           // false\n    isEmpty('  ');             // false\n    isEmpty({ size: 1 })       // false\n    isEmpty({ size: () => 0 }) // false\n    ```\n  \n    @method isEmpty\n    @static\n    @for @ember/utils\n    @param {Object} obj Value to test\n    @return {Boolean}\n    @public\n  */\n\n  function isEmpty(obj) {\n    var none = obj === null || obj === undefined;\n    if (none) {\n      return none;\n    }\n    if (typeof obj.size === 'number') {\n      return !obj.size;\n    }\n    var objectType = typeof obj;\n    if (objectType === 'object') {\n      var size = get(obj, 'size');\n      if (typeof size === 'number') {\n        return !size;\n      }\n    }\n    if (typeof obj.length === 'number' && objectType !== 'function') {\n      return !obj.length;\n    }\n    if (objectType === 'object') {\n      var length = get(obj, 'length');\n      if (typeof length === 'number') {\n        return !length;\n      }\n    }\n    return false;\n  }\n\n  /**\n   @module @ember/utils\n  */\n\n  /**\n    A value is blank if it is empty or a whitespace string.\n  \n    ```javascript\n    import { isBlank } from '@ember/utils';\n  \n    isBlank();                // true\n    isBlank(null);            // true\n    isBlank(undefined);       // true\n    isBlank('');              // true\n    isBlank([]);              // true\n    isBlank('\\n\\t');          // true\n    isBlank('  ');            // true\n    isBlank({});              // false\n    isBlank('\\n\\t Hello');    // false\n    isBlank('Hello world');   // false\n    isBlank([1,2,3]);         // false\n    ```\n  \n    @method isBlank\n    @static\n    @for @ember/utils\n    @param {Object} obj Value to test\n    @return {Boolean}\n    @since 1.5.0\n    @public\n  */\n\n  function isBlank(obj) {\n    return isEmpty(obj) || typeof obj === 'string' && /\\S/.test(obj) === false;\n  }\n\n  /**\n   @module @ember/utils\n  */\n\n  /**\n    A value is present if it not `isBlank`.\n  \n    ```javascript\n    isPresent();                // false\n    isPresent(null);            // false\n    isPresent(undefined);       // false\n    isPresent('');              // false\n    isPresent('  ');            // false\n    isPresent('\\n\\t');          // false\n    isPresent([]);              // false\n    isPresent({ length: 0 });   // false\n    isPresent(false);           // true\n    isPresent(true);            // true\n    isPresent('string');        // true\n    isPresent(0);               // true\n    isPresent(function() {});   // true\n    isPresent({});              // true\n    isPresent('\\n\\t Hello');    // true\n    isPresent([1, 2, 3]);       // true\n    ```\n  \n    @method isPresent\n    @static\n    @for @ember/utils\n    @param {Object} obj Value to test\n    @return {Boolean}\n    @since 1.8.0\n    @public\n  */\n\n  function isPresent(obj) {\n    return !isBlank(obj);\n  }\n\n  /**\n   @module ember\n  */\n\n  /**\n    Helper class that allows you to register your library with Ember.\n  \n    Singleton created at `Ember.libraries`.\n  \n    @class Libraries\n    @constructor\n    @private\n  */\n\n  class Libraries {\n    constructor() {\n      this._registry = [];\n      this._coreLibIndex = 0;\n    }\n    _getLibraryByName(name) {\n      var libs = this._registry;\n      var count = libs.length;\n      for (var i = 0; i < count; i++) {\n        if (libs[i].name === name) {\n          return libs[i];\n        }\n      }\n      return undefined;\n    }\n    register(name, version, isCoreLibrary) {\n      var index = this._registry.length;\n      if (!this._getLibraryByName(name)) {\n        if (isCoreLibrary) {\n          index = this._coreLibIndex++;\n        }\n        this._registry.splice(index, 0, {\n          name,\n          version\n        });\n      } else {\n        (true && (0, _debug.warn)(`Library \"${name}\" is already registered with Ember.`, false, {\n          id: 'ember-metal.libraries-register'\n        }));\n      }\n    }\n    registerCoreLibrary(name, version) {\n      this.register(name, version, true);\n    }\n    deRegister(name) {\n      var lib = this._getLibraryByName(name);\n      var index;\n      if (lib) {\n        index = this._registry.indexOf(lib);\n        this._registry.splice(index, 1);\n      }\n    }\n  }\n  _exports.Libraries = Libraries;\n  if (true /* DEBUG */) {\n    Libraries.prototype.logVersions = function () {\n      var libs = this._registry;\n      var nameLengths = libs.map(item => get(item, 'name.length'));\n      var maxNameLength = Math.max.apply(null, nameLengths);\n      (0, _debug.debug)('-------------------------------');\n      for (var i = 0; i < libs.length; i++) {\n        var lib = libs[i];\n        var spaces = new Array(maxNameLength - lib.name.length + 1).join(' ');\n        (0, _debug.debug)([lib.name, spaces, ' : ', lib.version].join(''));\n      }\n      (0, _debug.debug)('-------------------------------');\n    };\n  }\n  var LIBRARIES = _exports.libraries = new Libraries();\n  LIBRARIES.registerCoreLibrary('Ember', _version.default);\n\n  /**\n   @module @ember/object\n  */\n\n  /**\n    To get multiple properties at once, call `getProperties`\n    with an object followed by a list of strings or an array:\n  \n    ```javascript\n    import { getProperties } from '@ember/object';\n  \n    getProperties(record, 'firstName', 'lastName', 'zipCode');\n    // { firstName: 'John', lastName: 'Doe', zipCode: '10011' }\n    ```\n  \n    is equivalent to:\n  \n    ```javascript\n    import { getProperties } from '@ember/object';\n  \n    getProperties(record, ['firstName', 'lastName', 'zipCode']);\n    // { firstName: 'John', lastName: 'Doe', zipCode: '10011' }\n    ```\n  \n    @method getProperties\n    @static\n    @for @ember/object\n    @param {Object} obj\n    @param {String...|Array} list of keys to get\n    @return {Object}\n    @public\n  */\n\n  function getProperties(obj, keys) {\n    var ret = {};\n    var propertyNames = arguments;\n    var i = 1;\n    if (arguments.length === 2 && Array.isArray(keys)) {\n      i = 0;\n      propertyNames = arguments[1];\n    }\n    for (; i < propertyNames.length; i++) {\n      ret[propertyNames[i]] = get(obj, propertyNames[i]);\n    }\n    return ret;\n  }\n\n  /**\n   @module @ember/object\n  */\n\n  /**\n    Set a list of properties on an object. These properties are set inside\n    a single `beginPropertyChanges` and `endPropertyChanges` batch, so\n    observers will be buffered.\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    let anObject = EmberObject.create();\n  \n    anObject.setProperties({\n      firstName: 'Stanley',\n      lastName: 'Stuart',\n      age: 21\n    });\n    ```\n  \n    @method setProperties\n    @static\n    @for @ember/object\n    @param obj\n    @param {Object} properties\n    @return properties\n    @public\n  */\n\n  function setProperties(obj, properties) {\n    if (properties === null || typeof properties !== 'object') {\n      return properties;\n    }\n    changeProperties(() => {\n      var props = Object.keys(properties);\n      var propertyName;\n      for (var i = 0; i < props.length; i++) {\n        propertyName = props[i];\n        set(obj, propertyName, properties[propertyName]);\n      }\n    });\n    return properties;\n  }\n  var hasOwnProperty = Object.prototype.hasOwnProperty;\n  var searchDisabled = false;\n  var flags = {\n    _set: 0,\n    _unprocessedNamespaces: false,\n    get unprocessedNamespaces() {\n      return this._unprocessedNamespaces;\n    },\n    set unprocessedNamespaces(v) {\n      this._set++;\n      this._unprocessedNamespaces = v;\n    }\n  };\n  var unprocessedMixins = false;\n  var NAMESPACES = _exports.NAMESPACES = [];\n  var NAMESPACES_BY_ID = _exports.NAMESPACES_BY_ID = Object.create(null);\n  function addNamespace(namespace) {\n    flags.unprocessedNamespaces = true;\n    NAMESPACES.push(namespace);\n  }\n  function removeNamespace(namespace) {\n    var name = (0, _utils.getName)(namespace);\n    delete NAMESPACES_BY_ID[name];\n    NAMESPACES.splice(NAMESPACES.indexOf(namespace), 1);\n    if (name in _environment.context.lookup && namespace === _environment.context.lookup[name]) {\n      _environment.context.lookup[name] = undefined;\n    }\n  }\n  function findNamespaces() {\n    if (!flags.unprocessedNamespaces) {\n      return;\n    }\n    var lookup = _environment.context.lookup;\n    var keys = Object.keys(lookup);\n    for (var i = 0; i < keys.length; i++) {\n      var key = keys[i]; // Only process entities that start with uppercase A-Z\n\n      if (!isUppercase(key.charCodeAt(0))) {\n        continue;\n      }\n      var obj = tryIsNamespace(lookup, key);\n      if (obj) {\n        (0, _utils.setName)(obj, key);\n      }\n    }\n  }\n  function findNamespace(name) {\n    if (!searchDisabled) {\n      processAllNamespaces();\n    }\n    return NAMESPACES_BY_ID[name];\n  }\n  function processNamespace(namespace) {\n    _processNamespace([namespace.toString()], namespace, new Set());\n  }\n  function processAllNamespaces() {\n    var unprocessedNamespaces = flags.unprocessedNamespaces;\n    if (unprocessedNamespaces) {\n      findNamespaces();\n      flags.unprocessedNamespaces = false;\n    }\n    if (unprocessedNamespaces || unprocessedMixins) {\n      var namespaces = NAMESPACES;\n      for (var i = 0; i < namespaces.length; i++) {\n        processNamespace(namespaces[i]);\n      }\n      unprocessedMixins = false;\n    }\n  }\n  function isSearchDisabled() {\n    return searchDisabled;\n  }\n  function setSearchDisabled(flag) {\n    searchDisabled = Boolean(flag);\n  }\n  function setUnprocessedMixins() {\n    unprocessedMixins = true;\n  }\n  function _processNamespace(paths, root, seen) {\n    var idx = paths.length;\n    var id = paths.join('.');\n    NAMESPACES_BY_ID[id] = root;\n    (0, _utils.setName)(root, id); // Loop over all of the keys in the namespace, looking for classes\n\n    for (var key in root) {\n      if (!hasOwnProperty.call(root, key)) {\n        continue;\n      }\n      var obj = root[key]; // If we are processing the `Ember` namespace, for example, the\n      // `paths` will start with `[\"Ember\"]`. Every iteration through\n      // the loop will update the **second** element of this list with\n      // the key, so processing `Ember.View` will make the Array\n      // `['Ember', 'View']`.\n\n      paths[idx] = key; // If we have found an unprocessed class\n\n      if (obj && (0, _utils.getName)(obj) === void 0) {\n        // Replace the class' `toString` with the dot-separated path\n        (0, _utils.setName)(obj, paths.join('.')); // Support nested namespaces\n      } else if (obj && obj.isNamespace) {\n        // Skip aliased namespaces\n        if (seen.has(obj)) {\n          continue;\n        }\n        seen.add(obj); // Process the child namespace\n\n        _processNamespace(paths, obj, seen);\n      }\n    }\n    paths.length = idx; // cut out last item\n  }\n  function isUppercase(code) {\n    return code >= 65 && code <= 90 // A\n; // Z\n  }\n  function tryIsNamespace(lookup, prop) {\n    try {\n      var obj = lookup[prop];\n      return (obj !== null && typeof obj === 'object' || typeof obj === 'function') && obj.isNamespace && obj;\n    } catch (e) {// continue\n    }\n  }\n\n  /**\n  @module @ember/object\n  */\n  var a_concat = Array.prototype.concat;\n  var {\n    isArray\n  } = Array;\n  function extractAccessors(properties) {\n    if (properties !== undefined) {\n      var keys = Object.keys(properties);\n      for (var i = 0; i < keys.length; i++) {\n        var key = keys[i];\n        var desc = Object.getOwnPropertyDescriptor(properties, key);\n        if (desc.get !== undefined || desc.set !== undefined) {\n          Object.defineProperty(properties, key, {\n            value: nativeDescDecorator(desc)\n          });\n        }\n      }\n    }\n    return properties;\n  }\n  function concatenatedMixinProperties(concatProp, props, values, base) {\n    // reset before adding each new mixin to pickup concats from previous\n    var concats = values[concatProp] || base[concatProp];\n    if (props[concatProp]) {\n      concats = concats ? a_concat.call(concats, props[concatProp]) : props[concatProp];\n    }\n    return concats;\n  }\n  function giveDecoratorSuper(key, decorator, property, descs) {\n    if (property === true) {\n      return decorator;\n    }\n    var originalGetter = property._getter;\n    if (originalGetter === undefined) {\n      return decorator;\n    }\n    var superDesc = descs[key]; // Check to see if the super property is a decorator first, if so load its descriptor\n\n    var superProperty = typeof superDesc === 'function' ? descriptorForDecorator(superDesc) : superDesc;\n    if (superProperty === undefined || superProperty === true) {\n      return decorator;\n    }\n    var superGetter = superProperty._getter;\n    if (superGetter === undefined) {\n      return decorator;\n    }\n    var get = (0, _utils.wrap)(originalGetter, superGetter);\n    var set;\n    var originalSetter = property._setter;\n    var superSetter = superProperty._setter;\n    if (superSetter !== undefined) {\n      if (originalSetter !== undefined) {\n        set = (0, _utils.wrap)(originalSetter, superSetter);\n      } else {\n        // If the super property has a setter, we default to using it no matter what.\n        // This is clearly very broken and weird, but it's what was here so we have\n        // to keep it until the next major at least.\n        //\n        // TODO: Add a deprecation here.\n        set = superSetter;\n      }\n    } else {\n      set = originalSetter;\n    } // only create a new CP if we must\n\n    if (get !== originalGetter || set !== originalSetter) {\n      // Since multiple mixins may inherit from the same parent, we need\n      // to clone the computed property so that other mixins do not receive\n      // the wrapped version.\n      var dependentKeys = property._dependentKeys || [];\n      var newProperty = new ComputedProperty([...dependentKeys, {\n        get,\n        set\n      }]);\n      newProperty._readOnly = property._readOnly;\n      newProperty._volatile = property._volatile;\n      newProperty._meta = property._meta;\n      newProperty.enumerable = property.enumerable;\n      return makeComputedDecorator(newProperty, ComputedProperty);\n    }\n    return decorator;\n  }\n  function giveMethodSuper(key, method, values, descs) {\n    // Methods overwrite computed properties, and do not call super to them.\n    if (descs[key] !== undefined) {\n      return method;\n    } // Find the original method in a parent mixin\n\n    var superMethod = values[key]; // Only wrap the new method if the original method was a function\n\n    if (typeof superMethod === 'function') {\n      return (0, _utils.wrap)(method, superMethod);\n    }\n    return method;\n  }\n  function applyConcatenatedProperties(key, value, values) {\n    var baseValue = values[key];\n    var ret = (0, _utils.makeArray)(baseValue).concat((0, _utils.makeArray)(value));\n    if (true /* DEBUG */) {\n      // it is possible to use concatenatedProperties with strings (which cannot be frozen)\n      // only freeze objects...\n      if (typeof ret === 'object' && ret !== null) {\n        // prevent mutating `concatenatedProperties` array after it is applied\n        Object.freeze(ret);\n      }\n    }\n    return ret;\n  }\n  function applyMergedProperties(key, value, values) {\n    var baseValue = values[key];\n    (true && !(!isArray(value)) && (0, _debug.assert)(`You passed in \\`${JSON.stringify(value)}\\` as the value for \\`${key}\\` but \\`${key}\\` cannot be an Array`, !isArray(value)));\n    if (!baseValue) {\n      return value;\n    }\n    var newBase = (0, _polyfills.assign)({}, baseValue);\n    var hasFunction = false;\n    var props = Object.keys(value);\n    for (var i = 0; i < props.length; i++) {\n      var prop = props[i];\n      var propValue = value[prop];\n      if (typeof propValue === 'function') {\n        hasFunction = true;\n        newBase[prop] = giveMethodSuper(prop, propValue, baseValue, {});\n      } else {\n        newBase[prop] = propValue;\n      }\n    }\n    if (hasFunction) {\n      newBase._super = _utils.ROOT;\n    }\n    return newBase;\n  }\n  function mergeMixins(mixins, meta$$1, descs, values, base, keys, keysWithSuper) {\n    var currentMixin;\n    for (var i = 0; i < mixins.length; i++) {\n      currentMixin = mixins[i];\n      (true && !(typeof currentMixin === 'object' && currentMixin !== null && Object.prototype.toString.call(currentMixin) !== '[object Array]') && (0, _debug.assert)(`Expected hash or Mixin instance, got ${Object.prototype.toString.call(currentMixin)}`, typeof currentMixin === 'object' && currentMixin !== null && Object.prototype.toString.call(currentMixin) !== '[object Array]'));\n      if (MIXINS.has(currentMixin)) {\n        if (meta$$1.hasMixin(currentMixin)) {\n          continue;\n        }\n        meta$$1.addMixin(currentMixin);\n        var {\n          properties,\n          mixins: _mixins\n        } = currentMixin;\n        if (properties !== undefined) {\n          mergeProps(meta$$1, properties, descs, values, base, keys, keysWithSuper);\n        } else if (_mixins !== undefined) {\n          mergeMixins(_mixins, meta$$1, descs, values, base, keys, keysWithSuper);\n          if (currentMixin._without !== undefined) {\n            currentMixin._without.forEach(keyName => {\n              // deleting the key means we won't process the value\n              var index = keys.indexOf(keyName);\n              if (index !== -1) {\n                keys.splice(index, 1);\n              }\n            });\n          }\n        }\n      } else {\n        mergeProps(meta$$1, currentMixin, descs, values, base, keys, keysWithSuper);\n      }\n    }\n  }\n  function mergeProps(meta$$1, props, descs, values, base, keys, keysWithSuper) {\n    var concats = concatenatedMixinProperties('concatenatedProperties', props, values, base);\n    var mergings = concatenatedMixinProperties('mergedProperties', props, values, base);\n    var propKeys = Object.keys(props);\n    for (var i = 0; i < propKeys.length; i++) {\n      var key = propKeys[i];\n      var value = props[key];\n      if (value === undefined) continue;\n      if (keys.indexOf(key) === -1) {\n        keys.push(key);\n        var desc = meta$$1.peekDescriptors(key);\n        if (desc === undefined) {\n          // If the value is a classic decorator, we don't want to actually\n          // access it, because that will execute the decorator while we're\n          // building the class.\n          if (!isClassicDecorator(value)) {\n            // The superclass did not have a CP, which means it may have\n            // observers or listeners on that property.\n            var prev = values[key] = base[key];\n            if (typeof prev === 'function') {\n              updateObserversAndListeners(base, key, prev, false);\n            }\n          }\n        } else {\n          descs[key] = desc; // The super desc will be overwritten on descs, so save off the fact that\n          // there was a super so we know to Object.defineProperty when writing\n          // the value\n\n          keysWithSuper.push(key);\n          desc.teardown(base, key, meta$$1);\n        }\n      }\n      var isFunction = typeof value === 'function';\n      if (isFunction) {\n        var _desc2 = descriptorForDecorator(value);\n        if (_desc2 !== undefined) {\n          // Wrap descriptor function to implement _super() if needed\n          descs[key] = giveDecoratorSuper(key, value, _desc2, descs);\n          values[key] = undefined;\n          continue;\n        }\n      }\n      if (concats && concats.indexOf(key) >= 0 || key === 'concatenatedProperties' || key === 'mergedProperties') {\n        value = applyConcatenatedProperties(key, value, values);\n      } else if (mergings && mergings.indexOf(key) > -1) {\n        value = applyMergedProperties(key, value, values);\n      } else if (isFunction) {\n        value = giveMethodSuper(key, value, values, descs);\n      }\n      values[key] = value;\n      descs[key] = undefined;\n    }\n  }\n  var followMethodAlias;\n  if (_deprecatedFeatures.ALIAS_METHOD) {\n    followMethodAlias = function (obj, alias, descs, values) {\n      var altKey = alias.methodName;\n      var possibleDesc;\n      var desc = descs[altKey];\n      var value = values[altKey];\n      if (desc !== undefined || value !== undefined) {// do nothing\n      } else if ((possibleDesc = descriptorForProperty(obj, altKey)) !== undefined) {\n        desc = possibleDesc;\n        value = undefined;\n      } else {\n        desc = undefined;\n        value = obj[altKey];\n      }\n      return {\n        desc,\n        value\n      };\n    };\n  }\n  function updateObserversAndListeners(obj, key, fn, add) {\n    var meta$$1 = (0, _utils.observerListenerMetaFor)(fn);\n    if (meta$$1 === undefined) return;\n    var {\n      observers,\n      listeners\n    } = meta$$1;\n    if (observers !== undefined) {\n      var updateObserver = add ? addObserver : removeObserver;\n      for (var i = 0; i < observers.paths.length; i++) {\n        updateObserver(obj, observers.paths[i], null, key, observers.sync);\n      }\n    }\n    if (listeners !== undefined) {\n      var updateListener = add ? addListener : removeListener;\n      for (var _i = 0; _i < listeners.length; _i++) {\n        updateListener(obj, listeners[_i], null, key);\n      }\n    }\n  }\n  function applyMixin(obj, mixins, _hideKeys = false) {\n    var descs = Object.create(null);\n    var values = Object.create(null);\n    var meta$$1 = (0, _meta2.meta)(obj);\n    var keys = [];\n    var keysWithSuper = [];\n    obj._super = _utils.ROOT; // Go through all mixins and hashes passed in, and:\n    //\n    // * Handle concatenated properties\n    // * Handle merged properties\n    // * Set up _super wrapping if necessary\n    // * Set up computed property descriptors\n    // * Copying `toString` in broken browsers\n\n    mergeMixins(mixins, meta$$1, descs, values, obj, keys, keysWithSuper);\n    for (var i = 0; i < keys.length; i++) {\n      var key = keys[i];\n      var value = values[key];\n      var desc = descs[key];\n      if (_deprecatedFeatures.ALIAS_METHOD) {\n        while (value !== undefined && isAlias(value)) {\n          var followed = followMethodAlias(obj, value, descs, values);\n          desc = followed.desc;\n          value = followed.value;\n        }\n      }\n      if (value !== undefined) {\n        if (typeof value === 'function') {\n          updateObserversAndListeners(obj, key, value, true);\n        }\n        defineValue(obj, key, value, keysWithSuper.indexOf(key) !== -1, !_hideKeys);\n      } else if (desc !== undefined) {\n        defineDecorator(obj, key, desc, meta$$1);\n      }\n    }\n    if (!meta$$1.isPrototypeMeta(obj)) {\n      revalidateObservers(obj);\n    }\n    return obj;\n  }\n  /**\n    @method mixin\n    @param obj\n    @param mixins*\n    @return obj\n    @private\n  */\n\n  function mixin(obj, ...args) {\n    applyMixin(obj, args);\n    return obj;\n  }\n  var MIXINS = new _util._WeakSet();\n  /**\n    The `Mixin` class allows you to create mixins, whose properties can be\n    added to other classes. For instance,\n  \n    ```javascript\n    import Mixin from '@ember/object/mixin';\n  \n    const EditableMixin = Mixin.create({\n      edit() {\n        console.log('starting to edit');\n        this.set('isEditing', true);\n      },\n      isEditing: false\n    });\n    ```\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import EditableMixin from '../mixins/editable';\n  \n    // Mix mixins into classes by passing them as the first arguments to\n    // `.extend.`\n    const Comment = EmberObject.extend(EditableMixin, {\n      post: null\n    });\n  \n    let comment = Comment.create({\n      post: somePost\n    });\n  \n    comment.edit(); // outputs 'starting to edit'\n    ```\n  \n    Note that Mixins are created with `Mixin.create`, not\n    `Mixin.extend`.\n  \n    Note that mixins extend a constructor's prototype so arrays and object literals\n    defined as properties will be shared amongst objects that implement the mixin.\n    If you want to define a property in a mixin that is not shared, you can define\n    it either as a computed property or have it be created on initialization of the object.\n  \n    ```javascript\n    // filters array will be shared amongst any object implementing mixin\n    import Mixin from '@ember/object/mixin';\n    import { A } from '@ember/array';\n  \n    const FilterableMixin = Mixin.create({\n      filters: A()\n    });\n    ```\n  \n    ```javascript\n    import Mixin from '@ember/object/mixin';\n    import { A } from '@ember/array';\n    import { computed } from '@ember/object';\n  \n    // filters will be a separate array for every object implementing the mixin\n    const FilterableMixin = Mixin.create({\n      filters: computed(function() {\n        return A();\n      })\n    });\n    ```\n  \n    ```javascript\n    import Mixin from '@ember/object/mixin';\n    import { A } from '@ember/array';\n  \n    // filters will be created as a separate array during the object's initialization\n    const Filterable = Mixin.create({\n      filters: null,\n  \n      init() {\n        this._super(...arguments);\n        this.set(\"filters\", A());\n      }\n    });\n    ```\n  \n    @class Mixin\n    @public\n  */\n\n  class Mixin {\n    constructor(mixins, properties) {\n      MIXINS.add(this);\n      this.properties = extractAccessors(properties);\n      this.mixins = buildMixinsArray(mixins);\n      this.ownerConstructor = undefined;\n      this._without = undefined;\n      if (true /* DEBUG */) {\n        // Eagerly add INIT_FACTORY to avoid issues in DEBUG as a result of Object.seal(mixin)\n        this[_container.INIT_FACTORY] = null;\n        /*\n          In debug builds, we seal mixins to help avoid performance pitfalls.\n                 In IE11 there is a quirk that prevents sealed objects from being added\n          to a WeakMap. Unfortunately, the mixin system currently relies on\n          weak maps in `guidFor`, so we need to prime the guid cache weak map.\n        */\n\n        (0, _utils.guidFor)(this);\n        if (true\n        /* EMBER_MODERNIZED_BUILT_IN_COMPONENTS */ && Mixin._disableDebugSeal !== true) {\n          Object.seal(this);\n        }\n      }\n    }\n    /**\n      @method create\n      @for @ember/object/mixin\n      @static\n      @param arguments*\n      @public\n    */\n\n    static create(...args) {\n      setUnprocessedMixins();\n      var M = this;\n      return new M(args, undefined);\n    } // returns the mixins currently applied to the specified object\n    // TODO: Make `mixin`\n\n    static mixins(obj) {\n      var meta$$1 = (0, _meta2.peekMeta)(obj);\n      var ret = [];\n      if (meta$$1 === null) {\n        return ret;\n      }\n      meta$$1.forEachMixins(currentMixin => {\n        // skip primitive mixins since these are always anonymous\n        if (!currentMixin.properties) {\n          ret.push(currentMixin);\n        }\n      });\n      return ret;\n    }\n    /**\n      @method reopen\n      @param arguments*\n      @private\n    */\n\n    reopen(...args) {\n      if (args.length === 0) {\n        return;\n      }\n      if (this.properties) {\n        var currentMixin = new Mixin(undefined, this.properties);\n        this.properties = undefined;\n        this.mixins = [currentMixin];\n      } else if (!this.mixins) {\n        this.mixins = [];\n      }\n      this.mixins = this.mixins.concat(buildMixinsArray(args));\n      return this;\n    }\n    /**\n      @method apply\n      @param obj\n      @return applied object\n      @private\n    */\n\n    apply(obj, _hideKeys = false) {\n      // Ember.NativeArray is a normal Ember.Mixin that we mix into `Array.prototype` when prototype extensions are enabled\n      // mutating a native object prototype like this should _not_ result in enumerable properties being added (or we have significant\n      // issues with things like deep equality checks from test frameworks, or things like jQuery.extend(true, [], [])).\n      //\n      // _hideKeys disables enumerablity when applying the mixin. This is a hack, and we should stop mutating the array prototype by default 😫\n      return applyMixin(obj, [this], _hideKeys);\n    }\n    applyPartial(obj) {\n      return applyMixin(obj, [this]);\n    }\n    /**\n      @method detect\n      @param obj\n      @return {Boolean}\n      @private\n    */\n\n    detect(obj) {\n      if (typeof obj !== 'object' || obj === null) {\n        return false;\n      }\n      if (MIXINS.has(obj)) {\n        return _detect(obj, this);\n      }\n      var meta$$1 = (0, _meta2.peekMeta)(obj);\n      if (meta$$1 === null) {\n        return false;\n      }\n      return meta$$1.hasMixin(this);\n    }\n    without(...args) {\n      var ret = new Mixin([this]);\n      ret._without = args;\n      return ret;\n    }\n    keys() {\n      return _keys(this);\n    }\n    toString() {\n      return '(unknown mixin)';\n    }\n  }\n  _exports.Mixin = Mixin;\n  if (true /* DEBUG */ && true\n  /* EMBER_MODERNIZED_BUILT_IN_COMPONENTS */) {\n    Object.defineProperty(Mixin, '_disableDebugSeal', {\n      configurable: true,\n      enumerable: false,\n      writable: true,\n      value: false\n    });\n  }\n  function buildMixinsArray(mixins) {\n    var length = mixins && mixins.length || 0;\n    var m = undefined;\n    if (length > 0) {\n      m = new Array(length);\n      for (var i = 0; i < length; i++) {\n        var x = mixins[i];\n        (true && !(typeof x === 'object' && x !== null && Object.prototype.toString.call(x) !== '[object Array]') && (0, _debug.assert)(`Expected hash or Mixin instance, got ${Object.prototype.toString.call(x)}`, typeof x === 'object' && x !== null && Object.prototype.toString.call(x) !== '[object Array]'));\n        if (MIXINS.has(x)) {\n          m[i] = x;\n        } else {\n          m[i] = new Mixin(undefined, x);\n        }\n      }\n    }\n    return m;\n  }\n  if (true /* DEBUG */) {\n    Object.seal(Mixin.prototype);\n  }\n  function _detect(curMixin, targetMixin, seen = new Set()) {\n    if (seen.has(curMixin)) {\n      return false;\n    }\n    seen.add(curMixin);\n    if (curMixin === targetMixin) {\n      return true;\n    }\n    var mixins = curMixin.mixins;\n    if (mixins) {\n      return mixins.some(mixin => _detect(mixin, targetMixin, seen));\n    }\n    return false;\n  }\n  function _keys(mixin, ret = new Set(), seen = new Set()) {\n    if (seen.has(mixin)) {\n      return;\n    }\n    seen.add(mixin);\n    if (mixin.properties) {\n      var props = Object.keys(mixin.properties);\n      for (var i = 0; i < props.length; i++) {\n        ret.add(props[i]);\n      }\n    } else if (mixin.mixins) {\n      mixin.mixins.forEach(x => _keys(x, ret, seen));\n    }\n    return ret;\n  }\n  var AliasImpl;\n  var isAlias;\n  if (_deprecatedFeatures.ALIAS_METHOD) {\n    var ALIASES = new _util._WeakSet();\n    isAlias = alias => {\n      return ALIASES.has(alias);\n    };\n    AliasImpl = class AliasImpl {\n      constructor(methodName) {\n        this.methodName = methodName;\n        ALIASES.add(this);\n      }\n    };\n  }\n  /**\n    Makes a method available via an additional name.\n  \n    ```app/utils/person.js\n    import EmberObject, {\n      aliasMethod\n    } from '@ember/object';\n  \n    export default EmberObject.extend({\n      name() {\n        return 'Tomhuda Katzdale';\n      },\n      moniker: aliasMethod('name')\n    });\n    ```\n  \n    ```javascript\n    let goodGuy = Person.create();\n  \n    goodGuy.name();    // 'Tomhuda Katzdale'\n    goodGuy.moniker(); // 'Tomhuda Katzdale'\n    ```\n  \n    @method aliasMethod\n    @static\n    @deprecated Use a shared utility method instead\n    @for @ember/object\n    @param {String} methodName name of the method to alias\n    @public\n  */\n\n  var aliasMethod;\n  if (_deprecatedFeatures.ALIAS_METHOD) {\n    _exports.aliasMethod = aliasMethod = function aliasMethod(methodName) {\n      (true && !(false) && (0, _debug.deprecate)(`You attempted to alias '${methodName}, but aliasMethod has been deprecated. Consider extracting the method into a shared utility function.`, false, {\n        id: 'object.alias-method',\n        until: '4.0.0',\n        url: 'https://deprecations.emberjs.com/v3.x#toc_object-alias-method',\n        for: 'ember-source',\n        since: {\n          enabled: '3.9.0'\n        }\n      }));\n      return new AliasImpl(methodName);\n    };\n  }\n  function observer(...args) {\n    var funcOrDef = args.pop();\n    (true && !(typeof funcOrDef === 'function' || typeof funcOrDef === 'object' && funcOrDef !== null) && (0, _debug.assert)('observer must be provided a function or an observer definition', typeof funcOrDef === 'function' || typeof funcOrDef === 'object' && funcOrDef !== null));\n    var func, dependentKeys, sync;\n    if (typeof funcOrDef === 'function') {\n      func = funcOrDef;\n      dependentKeys = args;\n      sync = !_environment.ENV._DEFAULT_ASYNC_OBSERVERS;\n    } else {\n      func = funcOrDef.fn;\n      dependentKeys = funcOrDef.dependentKeys;\n      sync = funcOrDef.sync;\n    }\n    (true && !(typeof func === 'function') && (0, _debug.assert)('observer called without a function', typeof func === 'function'));\n    (true && !(Array.isArray(dependentKeys) && dependentKeys.length > 0 && dependentKeys.every(p => typeof p === 'string' && Boolean(p.length))) && (0, _debug.assert)('observer called without valid path', Array.isArray(dependentKeys) && dependentKeys.length > 0 && dependentKeys.every(p => typeof p === 'string' && Boolean(p.length))));\n    (true && !(typeof sync === 'boolean') && (0, _debug.assert)('observer called without sync', typeof sync === 'boolean'));\n    var paths = [];\n    for (var i = 0; i < dependentKeys.length; ++i) {\n      expandProperties(dependentKeys[i], path => paths.push(path));\n    }\n    (0, _utils.setObservers)(func, {\n      paths,\n      sync\n    });\n    return func;\n  }\n  var DEBUG_INJECTION_FUNCTIONS;\n  if (true /* DEBUG */) {\n    _exports.DEBUG_INJECTION_FUNCTIONS = DEBUG_INJECTION_FUNCTIONS = new WeakMap();\n  }\n  function inject(type, ...args) {\n    (true && !(typeof type === 'string') && (0, _debug.assert)('a string type must be provided to inject', typeof type === 'string'));\n    var calledAsDecorator = isElementDescriptor(args);\n    var name = calledAsDecorator ? undefined : args[0];\n    var getInjection = function (propertyName) {\n      var owner = (0, _owner.getOwner)(this) || this.container; // fallback to `container` for backwards compat\n      (true && !(Boolean(owner)) && (0, _debug.assert)(`Attempting to lookup an injected property on an object without a container, ensure that the object was instantiated via a container.`, Boolean(owner)));\n      return owner.lookup(`${type}:${name || propertyName}`);\n    };\n    if (true /* DEBUG */) {\n      DEBUG_INJECTION_FUNCTIONS.set(getInjection, {\n        type,\n        name\n      });\n    }\n    var decorator = computed({\n      get: getInjection,\n      set(keyName, value) {\n        defineProperty(this, keyName, null, value);\n      }\n    });\n    if (calledAsDecorator) {\n      return decorator(args[0], args[1], args[2]);\n    } else {\n      return decorator;\n    }\n  }\n  function tracked(...args) {\n    (true && !(!(isElementDescriptor(args.slice(0, 3)) && args.length === 5 && args[4] === true)) && (0, _debug.assert)(`@tracked can only be used directly as a native decorator. If you're using tracked in classic classes, add parenthesis to call it like a function: tracked()`, !(isElementDescriptor(args.slice(0, 3)) && args.length === 5 && args[4] === true)));\n    if (!isElementDescriptor(args)) {\n      var propertyDesc = args[0];\n      (true && !(args.length === 0 || typeof propertyDesc === 'object' && propertyDesc !== null) && (0, _debug.assert)(`tracked() may only receive an options object containing 'value' or 'initializer', received ${propertyDesc}`, args.length === 0 || typeof propertyDesc === 'object' && propertyDesc !== null));\n      if (true /* DEBUG */ && propertyDesc) {\n        var keys = Object.keys(propertyDesc);\n        (true && !(keys.length <= 1 && (keys[0] === undefined || keys[0] === 'value' || keys[0] === 'initializer')) && (0, _debug.assert)(`The options object passed to tracked() may only contain a 'value' or 'initializer' property, not both. Received: [${keys}]`, keys.length <= 1 && (keys[0] === undefined || keys[0] === 'value' || keys[0] === 'initializer')));\n        (true && !(!('initializer' in propertyDesc) || typeof propertyDesc.initializer === 'function') && (0, _debug.assert)(`The initializer passed to tracked must be a function. Received ${propertyDesc.initializer}`, !('initializer' in propertyDesc) || typeof propertyDesc.initializer === 'function'));\n      }\n      var initializer = propertyDesc ? propertyDesc.initializer : undefined;\n      var value = propertyDesc ? propertyDesc.value : undefined;\n      var decorator = function (target, key, _desc, _meta, isClassicDecorator$$1) {\n        (true && !(isClassicDecorator$$1) && (0, _debug.assert)(`You attempted to set a default value for ${key} with the @tracked({ value: 'default' }) syntax. You can only use this syntax with classic classes. For native classes, you can use class initializers: @tracked field = 'default';`, isClassicDecorator$$1));\n        var fieldDesc = {\n          initializer: initializer || (() => value)\n        };\n        return descriptorForField([target, key, fieldDesc]);\n      };\n      setClassicDecorator(decorator);\n      return decorator;\n    }\n    return descriptorForField(args);\n  }\n  if (true /* DEBUG */) {\n    // Normally this isn't a classic decorator, but we want to throw a helpful\n    // error in development so we need it to treat it like one\n    setClassicDecorator(tracked);\n  }\n  function descriptorForField([target, key, desc]) {\n    (true && !(!desc || !desc.value && !desc.get && !desc.set) && (0, _debug.assert)(`You attempted to use @tracked on ${key}, but that element is not a class field. @tracked is only usable on class fields. Native getters and setters will autotrack add any tracked fields they encounter, so there is no need mark getters and setters with @tracked.`, !desc || !desc.value && !desc.get && !desc.set));\n    var {\n      getter,\n      setter\n    } = (0, _validator.trackedData)(key, desc ? desc.initializer : undefined);\n    function get() {\n      var value = getter(this); // Add the tag of the returned value if it is an array, since arrays\n      // should always cause updates if they are consumed and then changed\n\n      if (Array.isArray(value) || (0, _utils.isEmberArray)(value)) {\n        (0, _validator.consumeTag)((0, _validator.tagFor)(value, '[]'));\n      }\n      return value;\n    }\n    function set(newValue) {\n      setter(this, newValue);\n      (0, _validator.dirtyTagFor)(this, SELF_TAG);\n    }\n    var newDesc = {\n      enumerable: true,\n      configurable: true,\n      isTracked: true,\n      get,\n      set\n    };\n    COMPUTED_SETTERS.add(set);\n    (0, _meta2.meta)(target).writeDescriptors(key, new TrackedDescriptor(get, set));\n    return newDesc;\n  }\n  class TrackedDescriptor {\n    constructor(_get, _set) {\n      this._get = _get;\n      this._set = _set;\n      CHAIN_PASS_THROUGH.add(this);\n    }\n    get(obj) {\n      return this._get.call(obj);\n    }\n    set(obj, _key, value) {\n      this._set.call(obj, value);\n    }\n  }\n\n  /**\n    Ember uses caching based on trackable values to avoid updating large portions\n    of the application. This caching is exposed via a cache primitive that can be\n    used to cache a specific computation, so that it will not update and will\n    return the cached value until a tracked value used in its computation has\n    updated.\n  \n    @module @glimmer/tracking/primitives/cache\n    @public\n  */\n\n  /**\n    Receives a function, and returns a wrapped version of it that memoizes based on\n    _autotracking_. The function will only rerun whenever any tracked values used\n    within it have changed. Otherwise, it will return the previous value.\n  \n    ```js\n    import { tracked } from '@glimmer/tracking';\n    import { createCache, getValue } from '@glimmer/tracking/primitives/cache';\n  \n    class State {\n      @tracked value;\n    }\n  \n    let state = new State();\n    let computeCount = 0;\n  \n    let counter = createCache(() => {\n      // consume the state. Now, `counter` will\n      // only rerun if `state.value` changes.\n      state.value;\n  \n      return ++computeCount;\n    });\n  \n    getValue(counter); // 1\n  \n    // returns the same value because no tracked state has changed\n    getValue(counter); // 1\n  \n    state.value = 'foo';\n  \n    // reruns because a tracked value used in the function has changed,\n    // incermenting the counter\n    getValue(counter); // 2\n    ```\n  \n    @method createCache\n    @static\n    @for @glimmer/tracking/primitives/cache\n    @public\n  */\n\n  /**\n    Gets the value of a cache created with `createCache`.\n  \n    ```js\n    import { tracked } from '@glimmer/tracking';\n    import { createCache, getValue } from '@glimmer/tracking/primitives/cache';\n  \n    let computeCount = 0;\n  \n    let counter = createCache(() => {\n      return ++computeCount;\n    });\n  \n    getValue(counter); // 1\n    ```\n  \n    @method getValue\n    @static\n    @for @glimmer/tracking/primitives/cache\n    @public\n  */\n\n  /**\n    Can be used to check if a memoized function is _constant_. If no tracked state\n    was used while running a memoized function, it will never rerun, because nothing\n    can invalidate its result. `isConst` can be used to determine if a memoized\n    function is constant or not, in order to optimize code surrounding that\n    function.\n  \n    ```js\n    import { tracked } from '@glimmer/tracking';\n    import { createCache, getValue, isConst } from '@glimmer/tracking/primitives/cache';\n  \n    class State {\n      @tracked value;\n    }\n  \n    let state = new State();\n    let computeCount = 0;\n  \n    let counter = createCache(() => {\n      // consume the state\n      state.value;\n  \n      return computeCount++;\n    });\n  \n    let constCounter = createCache(() => {\n      return computeCount++;\n    });\n  \n    getValue(counter);\n    getValue(constCounter);\n  \n    isConst(counter); // false\n    isConst(constCounter); // true\n    ```\n  \n    If called on a cache that hasn't been accessed yet, it will throw an\n    error. This is because there's no way to know if the function will be constant\n    or not yet, and so this helps prevent missing an optimization opportunity on\n    accident.\n  \n    @method isConst\n    @static\n    @for @glimmer/tracking/primitives/cache\n    @public\n  */\n  _exports.TrackedDescriptor = TrackedDescriptor;\n});","define(\"@ember/-internals/overrides/index\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.onRunloopDotAccess = _exports.onEmberGlobalAccess = _exports.onComputedDotAccess = void 0;\n  var onEmberGlobalAccess;\n  var onComputedDotAccess;\n  var onRunloopDotAccess;\n  function once(callback) {\n    var called = false;\n    return (...args) => {\n      if (called) {\n        return null;\n      } else {\n        called = true;\n        return callback(...args);\n      }\n    };\n  }\n  function onDotAccess(dotKey, importKey, module) {\n    var message = 'Using `' + dotKey + '` has been deprecated. Instead, import the value directly from ' + module + ':\\n\\n' + '  import { ' + importKey + ' } from \\'' + module + '\\';\\n\\n' + 'These usages may be caused by an outdated ember-cli-babel dependency. ' + 'Usages of the Ember Global may be caused by an outdated ember-cli-babel dependency. ' + 'The following steps may help:\\n\\n' + \"* Upgrade the following addons to the latest version:\\n  * ember-require-module\\n  * ember-sticky-element\\n  * ember-truth-helpers\\n\";\n    if (!false) {\n      message += '\\n### Important ###\\n\\n' + 'In order to avoid repeatedly showing the same deprecation messages, ' + 'no further deprecation messages will be shown for theses deprecated usages ' + 'until ember-cli-babel is upgraded to v7.26.6 or above.\\n\\n' + 'To see all instances of this deprecation message, ' + 'set the `EMBER_RUNLOOP_AND_COMPUTED_DOT_ACCESS_DEPRECATIONS` environment variable to \"all\", ' + 'e.g. `EMBER_RUNLOOP_AND_COMPUTED_DOT_ACCESS_DEPRECATIONS=all ember test`.\\n';\n    }\n    message += \"\\n### Details ###\\n\\nPrior to v7.26.6, ember-cli-babel sometimes transpiled imports into the equivalent Ember Global API, potentially triggering this deprecation message indirectly, even when you did not observe these deprecated usages in your code.\\n\\nThe following outdated versions are found in your project:\\n\\n* ember-cli-babel@6.18.0, currently used by:\\n  * ember-cli-test-loader@2.2.0 (Dormant)\\n    * Depends on ember-cli-babel@^6.8.1\\n    * Added by ember-qunit@4.6.0\\n  * ember-in-viewport@3.0.3\\n    * Depends on ember-cli-babel@^6.6.0\\n    * Added by ember-sticky-element@0.2.3\\n  * ember-lodash-fp@0.2.0 (Dormant)\\n    * Depends on ember-cli-babel@^6.6.0\\n  * ember-maybe-import-regenerator@0.1.6 (Dormant)\\n    * Depends on ember-cli-babel@^6.0.0-beta.4\\n    * Added by ember-concurrency@1.1.6\\n  * ember-require-module@0.3.0\\n    * Depends on ember-cli-babel@^6.9.2\\n  * ember-sticky-element@0.2.3\\n    * Depends on ember-cli-babel@^6.8.2\\n  * ember-truth-helpers@2.1.0\\n    * Depends on ember-cli-babel@^6.6.0\\n\\nNote: Addons marked as \\\"Dormant\\\" does not appear to have any JavaScript files. Therefore, even if they are using an old version ember-cli-babel, they are unlikely to be the culprit of this deprecation and can likely be ignored.\\n\";\n    return message;\n  }\n  _exports.onEmberGlobalAccess = onEmberGlobalAccess = function onEmberGlobalAccess() {\n    return \"Usage of the Ember Global is deprecated. You should import the Ember module or the specific API instead.\\n\\nSee https://deprecations.emberjs.com/v3.x/#toc_ember-global for details.\\n\\nUsages of the Ember Global may be caused by an outdated ember-cli-babel dependency. The following steps may help:\\n\\n* Upgrade the following addons to the latest version:\\n  * ember-require-module\\n  * ember-sticky-element\\n  * ember-truth-helpers\\n\\n### Important ###\\n\\nIn order to avoid repeatedly showing the same deprecation messages, no further deprecation messages will be shown for usages of the Ember Global until ember-cli-babel is upgraded to v7.26.6 or above.\\n\\nTo see all instances of this deprecation message, set the `EMBER_GLOBAL_DEPRECATIONS` environment variable to \\\"all\\\", e.g. `EMBER_GLOBAL_DEPRECATIONS=all ember test`.\\n\\n### Details ###\\n\\nPrior to v7.26.6, ember-cli-babel sometimes transpiled imports into the equivalent Ember Global API, potentially triggering this deprecation message indirectly, even when you did not observe these deprecated usages in your code.\\n\\nThe following outdated versions are found in your project:\\n\\n* ember-cli-babel@6.18.0, currently used by:\\n  * ember-cli-test-loader@2.2.0 (Dormant)\\n    * Depends on ember-cli-babel@^6.8.1\\n    * Added by ember-qunit@4.6.0\\n  * ember-in-viewport@3.0.3\\n    * Depends on ember-cli-babel@^6.6.0\\n    * Added by ember-sticky-element@0.2.3\\n  * ember-lodash-fp@0.2.0 (Dormant)\\n    * Depends on ember-cli-babel@^6.6.0\\n  * ember-maybe-import-regenerator@0.1.6 (Dormant)\\n    * Depends on ember-cli-babel@^6.0.0-beta.4\\n    * Added by ember-concurrency@1.1.6\\n  * ember-require-module@0.3.0\\n    * Depends on ember-cli-babel@^6.9.2\\n  * ember-sticky-element@0.2.3\\n    * Depends on ember-cli-babel@^6.8.2\\n  * ember-truth-helpers@2.1.0\\n    * Depends on ember-cli-babel@^6.6.0\\n\\nNote: Addons marked as \\\"Dormant\\\" does not appear to have any JavaScript files. Therefore, even if they are using an old version ember-cli-babel, they are unlikely to be the culprit of this deprecation and can likely be ignored.\\n\";\n  };\n  _exports.onComputedDotAccess = onComputedDotAccess = onDotAccess;\n  _exports.onRunloopDotAccess = onRunloopDotAccess = onDotAccess;\n  if (!false) {\n    _exports.onEmberGlobalAccess = onEmberGlobalAccess = once(onEmberGlobalAccess);\n  }\n  if (!false) {\n    _exports.onComputedDotAccess = onComputedDotAccess = once(onComputedDotAccess);\n    _exports.onRunloopDotAccess = onRunloopDotAccess = once(onRunloopDotAccess);\n  }\n  ;\n});","define(\"@ember/-internals/owner/index\", [\"exports\", \"@glimmer/owner\", \"@ember/-internals/utils\", \"@ember/debug\"], function (_exports, _owner, _utils, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.LEGACY_OWNER = void 0;\n  _exports.getOwner = getOwner;\n  _exports.setOwner = setOwner;\n  var LEGACY_OWNER = _exports.LEGACY_OWNER = (0, _utils.enumerableSymbol)('LEGACY_OWNER');\n  /**\n    Framework objects in an Ember application (components, services, routes, etc.)\n    are created via a factory and dependency injection system. Each of these\n    objects is the responsibility of an \"owner\", which handled its\n    instantiation and manages its lifetime.\n  \n    `getOwner` fetches the owner object responsible for an instance. This can\n    be used to lookup or resolve other class instances, or register new factories\n    into the owner.\n  \n    For example, this component dynamically looks up a service based on the\n    `audioType` passed as an argument:\n  \n    ```app/components/play-audio.js\n    import Component from '@glimmer/component';\n    import { action } from '@ember/object';\n    import { getOwner } from '@ember/application';\n  \n    // Usage:\n    //\n    //   <PlayAudio @audioType={{@model.audioType}} @audioFile={{@model.file}}/>\n    //\n    export default class extends Component {\n      get audioService() {\n        let owner = getOwner(this);\n        return owner.lookup(`service:${this.args.audioType}`);\n      }\n  \n      @action\n      onPlay() {\n        let player = this.audioService;\n        player.play(this.args.audioFile);\n      }\n    }\n    ```\n  \n    @method getOwner\n    @static\n    @for @ember/application\n    @param {Object} object An object with an owner.\n    @return {Object} An owner object.\n    @since 2.3.0\n    @public\n  */\n\n  function getOwner(object) {\n    var owner = (0, _owner.getOwner)(object);\n    if (owner === undefined) {\n      owner = object[LEGACY_OWNER];\n      (true && !(owner === undefined) && (0, _debug.deprecate)(`You accessed the owner using \\`getOwner\\` on an object, but it was not set on that object with \\`setOwner\\`. You must use \\`setOwner\\` to set the owner on all objects. You cannot use Object.assign().`, owner === undefined, {\n        id: 'owner.legacy-owner-injection',\n        until: '3.25.0',\n        for: 'ember-source',\n        since: {\n          enabled: '3.22.0'\n        }\n      }));\n    }\n    return owner;\n  }\n  /**\n    `setOwner` forces a new owner on a given object instance. This is primarily\n    useful in some testing cases.\n  \n    @method setOwner\n    @static\n    @for @ember/application\n    @param {Object} object An object instance.\n    @param {Object} object The new owner object of the object instance.\n    @since 2.3.0\n    @public\n  */\n\n  function setOwner(object, owner) {\n    (0, _owner.setOwner)(object, owner);\n    object[LEGACY_OWNER] = owner;\n  }\n});","define(\"@ember/-internals/routing/index\", [\"exports\", \"@ember/-internals/routing/lib/ext/controller\", \"@ember/-internals/routing/lib/location/api\", \"@ember/-internals/routing/lib/location/none_location\", \"@ember/-internals/routing/lib/location/hash_location\", \"@ember/-internals/routing/lib/location/history_location\", \"@ember/-internals/routing/lib/location/auto_location\", \"@ember/-internals/routing/lib/system/generate_controller\", \"@ember/-internals/routing/lib/system/controller_for\", \"@ember/-internals/routing/lib/system/dsl\", \"@ember/-internals/routing/lib/system/router\", \"@ember/-internals/routing/lib/system/route\", \"@ember/-internals/routing/lib/system/query_params\", \"@ember/-internals/routing/lib/services/routing\", \"@ember/-internals/routing/lib/services/router\", \"@ember/-internals/routing/lib/system/router_state\", \"@ember/-internals/routing/lib/system/cache\"], function (_exports, _controller, _api, _none_location, _hash_location, _history_location, _auto_location, _generate_controller, _controller_for, _dsl, _router, _route, _query_params, _routing, _router2, _router_state, _cache) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"AutoLocation\", {\n    enumerable: true,\n    get: function () {\n      return _auto_location.default;\n    }\n  });\n  Object.defineProperty(_exports, \"BucketCache\", {\n    enumerable: true,\n    get: function () {\n      return _cache.default;\n    }\n  });\n  Object.defineProperty(_exports, \"HashLocation\", {\n    enumerable: true,\n    get: function () {\n      return _hash_location.default;\n    }\n  });\n  Object.defineProperty(_exports, \"HistoryLocation\", {\n    enumerable: true,\n    get: function () {\n      return _history_location.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Location\", {\n    enumerable: true,\n    get: function () {\n      return _api.default;\n    }\n  });\n  Object.defineProperty(_exports, \"NoneLocation\", {\n    enumerable: true,\n    get: function () {\n      return _none_location.default;\n    }\n  });\n  Object.defineProperty(_exports, \"QueryParams\", {\n    enumerable: true,\n    get: function () {\n      return _query_params.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Route\", {\n    enumerable: true,\n    get: function () {\n      return _route.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Router\", {\n    enumerable: true,\n    get: function () {\n      return _router.default;\n    }\n  });\n  Object.defineProperty(_exports, \"RouterDSL\", {\n    enumerable: true,\n    get: function () {\n      return _dsl.default;\n    }\n  });\n  Object.defineProperty(_exports, \"RouterService\", {\n    enumerable: true,\n    get: function () {\n      return _router2.default;\n    }\n  });\n  Object.defineProperty(_exports, \"RouterState\", {\n    enumerable: true,\n    get: function () {\n      return _router_state.default;\n    }\n  });\n  Object.defineProperty(_exports, \"RoutingService\", {\n    enumerable: true,\n    get: function () {\n      return _routing.default;\n    }\n  });\n  Object.defineProperty(_exports, \"controllerFor\", {\n    enumerable: true,\n    get: function () {\n      return _controller_for.default;\n    }\n  });\n  Object.defineProperty(_exports, \"generateController\", {\n    enumerable: true,\n    get: function () {\n      return _generate_controller.default;\n    }\n  });\n  Object.defineProperty(_exports, \"generateControllerFactory\", {\n    enumerable: true,\n    get: function () {\n      return _generate_controller.generateControllerFactory;\n    }\n  });\n});","define(\"@ember/-internals/routing/lib/ext/controller\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/owner\", \"@ember/controller/lib/controller_mixin\", \"@ember/-internals/routing/lib/utils\"], function (_exports, _metal, _owner, _controller_mixin, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module ember\n  */\n\n  _controller_mixin.default.reopen({\n    concatenatedProperties: ['queryParams'],\n    init() {\n      this._super(...arguments);\n      var owner = (0, _owner.getOwner)(this);\n      if (owner) {\n        this.namespace = owner.lookup('application:main');\n        this.target = owner.lookup('router:main');\n      }\n    },\n    /**\n      Defines which query parameters the controller accepts.\n      If you give the names `['category','page']` it will bind\n      the values of these query parameters to the variables\n      `this.category` and `this.page`.\n         By default, query parameters are parsed as strings. This\n      may cause unexpected behavior if a query parameter is used with `toggleProperty`,\n      because the initial value set for `param=false` will be the string `\"false\"`, which is truthy.\n         To avoid this, you may specify that the query parameter should be parsed as a boolean\n      by using the following verbose form with a `type` property:\n      ```javascript\n        queryParams: [{\n          category: {\n            type: 'boolean'\n          }\n        }]\n      ```\n      Available values for the `type` parameter are `'boolean'`, `'number'`, `'array'`, and `'string'`.\n      If query param type is not specified, it will default to `'string'`.\n         @for Ember.ControllerMixin\n      @property queryParams\n      @public\n    */\n    queryParams: null,\n    /**\n     This property is updated to various different callback functions depending on\n     the current \"state\" of the backing route. It is used by\n     `Controller.prototype._qpChanged`.\n        The methods backing each state can be found in the `Route.prototype._qp` computed\n     property return value (the `.states` property). The current values are listed here for\n     the sanity of future travelers:\n        * `inactive` - This state is used when this controller instance is not part of the active\n       route hierarchy. Set in `Route.prototype._reset` (a `router.js` microlib hook) and\n       `Route.prototype.actions.finalizeQueryParamChange`.\n     * `active` - This state is used when this controller instance is part of the active\n       route hierarchy. Set in `Route.prototype.actions.finalizeQueryParamChange`.\n     * `allowOverrides` - This state is used in `Route.prototype.setup` (`route.js` microlib hook).\n         @method _qpDelegate\n      @private\n    */\n    _qpDelegate: null,\n    /**\n     During `Route#setup` observers are created to invoke this method\n     when any of the query params declared in `Controller#queryParams` property\n     are changed.\n        When invoked this method uses the currently active query param update delegate\n     (see `Controller.prototype._qpDelegate` for details) and invokes it with\n     the QP key/value being changed.\n         @method _qpChanged\n      @private\n    */\n    _qpChanged(controller, _prop) {\n      var dotIndex = _prop.indexOf('.[]');\n      var prop = dotIndex === -1 ? _prop : _prop.slice(0, dotIndex);\n      var delegate = controller._qpDelegate;\n      var value = (0, _metal.get)(controller, prop);\n      delegate(prop, value);\n    },\n    /**\n      Transition the application into another route. The route may\n      be either a single route or route path:\n         ```javascript\n      aController.transitionToRoute('blogPosts');\n      aController.transitionToRoute('blogPosts.recentEntries');\n      ```\n         Optionally supply a model for the route in question. The model\n      will be serialized into the URL using the `serialize` hook of\n      the route:\n         ```javascript\n      aController.transitionToRoute('blogPost', aPost);\n      ```\n         If a literal is passed (such as a number or a string), it will\n      be treated as an identifier instead. In this case, the `model`\n      hook of the route will be triggered:\n         ```javascript\n      aController.transitionToRoute('blogPost', 1);\n      ```\n         Multiple models will be applied last to first recursively up the\n      route tree.\n         ```app/router.js\n      Router.map(function() {\n        this.route('blogPost', { path: ':blogPostId' }, function() {\n          this.route('blogComment', { path: ':blogCommentId', resetNamespace: true });\n        });\n      });\n      ```\n         ```javascript\n      aController.transitionToRoute('blogComment', aPost, aComment);\n      aController.transitionToRoute('blogComment', 1, 13);\n      ```\n         It is also possible to pass a URL (a string that starts with a\n      `/`).\n         ```javascript\n      aController.transitionToRoute('/');\n      aController.transitionToRoute('/blog/post/1/comment/13');\n      aController.transitionToRoute('/blog/posts?sort=title');\n      ```\n         An options hash with a `queryParams` property may be provided as\n      the final argument to add query parameters to the destination URL.\n         ```javascript\n      aController.transitionToRoute('blogPost', 1, {\n        queryParams: { showComments: 'true' }\n      });\n         // if you just want to transition the query parameters without changing the route\n      aController.transitionToRoute({ queryParams: { sort: 'date' } });\n      ```\n         See also [replaceRoute](/ember/release/classes/Ember.ControllerMixin/methods/replaceRoute?anchor=replaceRoute).\n         @param {String} name the name of the route or a URL\n      @param {...Object} models the model(s) or identifier(s) to be used\n        while transitioning to the route.\n      @param {Object} [options] optional hash with a queryParams property\n        containing a mapping of query parameters\n      @for Ember.ControllerMixin\n      @method transitionToRoute\n      @return {Transition} the transition object associated with this\n        attempted transition\n      @deprecated Use transitionTo from the Router service instead.\n      @public\n    */\n    transitionToRoute(...args) {\n      (0, _utils.deprecateTransitionMethods)('controller', 'transitionToRoute'); // target may be either another controller or a router\n\n      var target = (0, _metal.get)(this, 'target');\n      var method = target.transitionToRoute || target.transitionTo;\n      return method.apply(target, (0, _utils.prefixRouteNameArg)(this, args));\n    },\n    /**\n      Transition into another route while replacing the current URL, if possible.\n      This will replace the current history entry instead of adding a new one.\n      Beside that, it is identical to `transitionToRoute` in all other respects.\n         ```javascript\n      aController.replaceRoute('blogPosts');\n      aController.replaceRoute('blogPosts.recentEntries');\n      ```\n         Optionally supply a model for the route in question. The model\n      will be serialized into the URL using the `serialize` hook of\n      the route:\n         ```javascript\n      aController.replaceRoute('blogPost', aPost);\n      ```\n         If a literal is passed (such as a number or a string), it will\n      be treated as an identifier instead. In this case, the `model`\n      hook of the route will be triggered:\n         ```javascript\n      aController.replaceRoute('blogPost', 1);\n      ```\n         Multiple models will be applied last to first recursively up the\n      route tree.\n         ```app/router.js\n      Router.map(function() {\n        this.route('blogPost', { path: ':blogPostId' }, function() {\n          this.route('blogComment', { path: ':blogCommentId', resetNamespace: true });\n        });\n      });\n      ```\n         ```\n      aController.replaceRoute('blogComment', aPost, aComment);\n      aController.replaceRoute('blogComment', 1, 13);\n      ```\n         It is also possible to pass a URL (a string that starts with a\n      `/`).\n         ```javascript\n      aController.replaceRoute('/');\n      aController.replaceRoute('/blog/post/1/comment/13');\n      ```\n         @param {String} name the name of the route or a URL\n      @param {...Object} models the model(s) or identifier(s) to be used\n      while transitioning to the route.\n      @for Ember.ControllerMixin\n      @method replaceRoute\n      @return {Transition} the transition object associated with this\n        attempted transition\n      @public\n    */\n    replaceRoute(...args) {\n      (0, _utils.deprecateTransitionMethods)('controller', 'replaceRoute'); // target may be either another controller or a router\n\n      var target = (0, _metal.get)(this, 'target');\n      var method = target.replaceRoute || target.replaceWith;\n      return method.apply(target, (0, _utils.prefixRouteNameArg)(this, args));\n    }\n  });\n  var _default = _exports.default = _controller_mixin.default;\n});","define(\"@ember/-internals/routing/lib/location/api\", [\"exports\", \"@ember/debug\"], function (_exports, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module @ember/routing\n  */\n  /**\n    Location returns an instance of the correct implementation of\n    the `location` API.\n  \n    ## Implementations\n  \n    You can pass an implementation name (`hash`, `history`, `none`, `auto`) to force a\n    particular implementation to be used in your application.\n  \n    See [HashLocation](/ember/release/classes/HashLocation).\n    See [HistoryLocation](/ember/release/classes/HistoryLocation).\n    See [NoneLocation](/ember/release/classes/NoneLocation).\n    See [AutoLocation](/ember/release/classes/AutoLocation).\n  \n    ## Location API\n  \n    Each location implementation must provide the following methods:\n  \n    * implementation: returns the string name used to reference the implementation.\n    * getURL: returns the current URL.\n    * setURL(path): sets the current URL.\n    * replaceURL(path): replace the current URL (optional).\n    * onUpdateURL(callback): triggers the callback when the URL changes.\n    * formatURL(url): formats `url` to be placed into `href` attribute.\n    * detect() (optional): instructs the location to do any feature detection\n        necessary. If the location needs to redirect to a different URL, it\n        can cancel routing by setting the `cancelRouterSetup` property on itself\n        to `false`.\n  \n    Calling setURL or replaceURL will not trigger onUpdateURL callbacks.\n  \n    ## Custom implementation\n  \n    Ember scans `app/locations/*` for extending the Location API.\n  \n    Example:\n  \n    ```javascript\n    import HistoryLocation from '@ember/routing/history-location';\n  \n    export default class MyHistory {\n      implementation = 'my-custom-history';\n  \n      constructor() {\n        this._history = HistoryLocation.create(...arguments);\n      }\n  \n      create() {\n        return new this(...arguments);\n      }\n  \n      pushState(path) {\n         this._history.pushState(path);\n      }\n    }\n    ```\n  \n    @class Location\n    @private\n  */\n  var _default = _exports.default = {\n    /**\n     This is deprecated in favor of using the container to lookup the location\n     implementation as desired.\n        For example:\n        ```javascript\n     // Given a location registered as follows:\n     container.register('location:history-test', HistoryTestLocation);\n        // You could create a new instance via:\n     container.lookup('location:history-test');\n     ```\n         @method create\n      @param {Object} options\n      @return {Object} an instance of an implementation of the `location` API\n      @deprecated Use the container to lookup the location implementation that you\n      need.\n      @private\n    */\n    create(options) {\n      var implementation = options && options.implementation;\n      (true && !(Boolean(implementation)) && (0, _debug.assert)(\"Location.create: you must specify a 'implementation' option\", Boolean(implementation)));\n      var implementationClass = this.implementations[implementation];\n      (true && !(Boolean(implementationClass)) && (0, _debug.assert)(`Location.create: ${implementation} is not a valid implementation`, Boolean(implementationClass)));\n      return implementationClass.create(...arguments);\n    },\n    implementations: {}\n  };\n});","define(\"@ember/-internals/routing/lib/location/auto_location\", [\"exports\", \"@ember/-internals/browser-environment\", \"@ember/-internals/metal\", \"@ember/-internals/owner\", \"@ember/-internals/runtime\", \"@ember/debug\", \"@ember/-internals/routing/lib/location/util\"], function (_exports, _browserEnvironment, _metal, _owner, _runtime, _debug, _util) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.getHashPath = getHashPath;\n  _exports.getHistoryPath = getHistoryPath;\n  /**\n  @module @ember/routing\n  */\n\n  /**\n    AutoLocation will select the best location option based off browser\n    support with the priority order: history, hash, none.\n  \n    Clean pushState paths accessed by hashchange-only browsers will be redirected\n    to the hash-equivalent and vice versa so future transitions are consistent.\n  \n    Keep in mind that since some of your users will use `HistoryLocation`, your\n    server must serve the Ember app at all the routes you define.\n  \n    Browsers that support the `history` API will use `HistoryLocation`, those that\n    do not, but still support the `hashchange` event will use `HashLocation`, and\n    in the rare case neither is supported will use `NoneLocation`.\n  \n    Example:\n  \n    ```app/router.js\n    Router.map(function() {\n      this.route('posts', function() {\n        this.route('new');\n      });\n    });\n  \n    Router.reopen({\n      location: 'auto'\n    });\n    ```\n  \n    This will result in a posts.new url of `/posts/new` for modern browsers that\n    support the `history` api or `/#/posts/new` for older ones, like Internet\n    Explorer 9 and below.\n  \n    When a user visits a link to your application, they will be automatically\n    upgraded or downgraded to the appropriate `Location` class, with the URL\n    transformed accordingly, if needed.\n  \n    Keep in mind that since some of your users will use `HistoryLocation`, your\n    server must serve the Ember app at all the routes you define.\n  \n    @class AutoLocation\n    @static\n    @protected\n  */\n\n  class AutoLocation extends _runtime.Object {\n    constructor() {\n      super(...arguments);\n      this.implementation = 'auto';\n    }\n    /**\n     Called by the router to instruct the location to do any feature detection\n     necessary. In the case of AutoLocation, we detect whether to use history\n     or hash concrete implementations.\n        @private\n    */\n\n    detect() {\n      var rootURL = this.rootURL;\n      (true && !(rootURL.charAt(rootURL.length - 1) === '/') && (0, _debug.assert)('rootURL must end with a trailing forward slash e.g. \"/app/\"', rootURL.charAt(rootURL.length - 1) === '/'));\n      var implementation = detectImplementation({\n        location: this.location,\n        history: this.history,\n        userAgent: this.userAgent,\n        rootURL,\n        documentMode: this.documentMode,\n        global: this.global\n      });\n      if (implementation === false) {\n        (0, _metal.set)(this, 'cancelRouterSetup', true);\n        implementation = 'none';\n      }\n      var concrete = (0, _owner.getOwner)(this).lookup(`location:${implementation}`);\n      (true && !(concrete !== undefined) && (0, _debug.assert)(`Could not find location '${implementation}'.`, concrete !== undefined));\n      (0, _metal.set)(concrete, 'rootURL', rootURL);\n      (0, _metal.set)(this, 'concreteImplementation', concrete);\n    }\n    willDestroy() {\n      var {\n        concreteImplementation\n      } = this;\n      if (concreteImplementation) {\n        concreteImplementation.destroy();\n      }\n    }\n  }\n  _exports.default = AutoLocation;\n  AutoLocation.reopen({\n    /**\n      @private\n         Will be pre-pended to path upon state change.\n         @since 1.5.1\n      @property rootURL\n      @default '/'\n    */\n    rootURL: '/',\n    initState: delegateToConcreteImplementation('initState'),\n    getURL: delegateToConcreteImplementation('getURL'),\n    setURL: delegateToConcreteImplementation('setURL'),\n    replaceURL: delegateToConcreteImplementation('replaceURL'),\n    onUpdateURL: delegateToConcreteImplementation('onUpdateURL'),\n    formatURL: delegateToConcreteImplementation('formatURL'),\n    /**\n      @private\n         The browser's `location` object. This is typically equivalent to\n      `window.location`, but may be overridden for testing.\n         @property location\n      @default environment.location\n    */\n    location: _browserEnvironment.location,\n    /**\n      @private\n         The browser's `history` object. This is typically equivalent to\n      `window.history`, but may be overridden for testing.\n         @since 1.5.1\n      @property history\n      @default environment.history\n    */\n    history: _browserEnvironment.history,\n    /**\n     @private\n        The user agent's global variable. In browsers, this will be `window`.\n        @since 1.11\n     @property global\n     @default window\n    */\n    global: _browserEnvironment.window,\n    /**\n      @private\n         The browser's `userAgent`. This is typically equivalent to\n      `navigator.userAgent`, but may be overridden for testing.\n         @since 1.5.1\n      @property userAgent\n      @default environment.history\n    */\n    userAgent: _browserEnvironment.userAgent,\n    /**\n      @private\n         This property is used by the router to know whether to cancel the routing\n      setup process, which is needed while we redirect the browser.\n         @since 1.5.1\n      @property cancelRouterSetup\n      @default false\n    */\n    cancelRouterSetup: false\n  });\n  function delegateToConcreteImplementation(methodName) {\n    return function (...args) {\n      var _a;\n      var {\n        concreteImplementation\n      } = this;\n      (true && !(Boolean(concreteImplementation)) && (0, _debug.assert)(\"AutoLocation's detect() method should be called before calling any other hooks.\", Boolean(concreteImplementation)));\n      return (_a = concreteImplementation[methodName]) === null || _a === void 0 ? void 0 : _a.call(concreteImplementation, ...args);\n    };\n  }\n  function detectImplementation(options) {\n    var {\n      location,\n      userAgent,\n      history,\n      documentMode,\n      global,\n      rootURL\n    } = options;\n    var implementation = 'none';\n    var cancelRouterSetup = false;\n    var currentPath = (0, _util.getFullPath)(location);\n    if ((0, _util.supportsHistory)(userAgent, history)) {\n      var historyPath = getHistoryPath(rootURL, location); // If the browser supports history and we have a history path, we can use\n      // the history location with no redirects.\n\n      if (currentPath === historyPath) {\n        implementation = 'history';\n      } else if (currentPath.substr(0, 2) === '/#') {\n        history.replaceState({\n          path: historyPath\n        }, '', historyPath);\n        implementation = 'history';\n      } else {\n        cancelRouterSetup = true;\n        (0, _util.replacePath)(location, historyPath);\n      }\n    } else if ((0, _util.supportsHashChange)(documentMode, global)) {\n      var hashPath = getHashPath(rootURL, location); // Be sure we're using a hashed path, otherwise let's switch over it to so\n      // we start off clean and consistent. We'll count an index path with no\n      // hash as \"good enough\" as well.\n\n      if (currentPath === hashPath || currentPath === '/' && hashPath === '/#/') {\n        implementation = 'hash';\n      } else {\n        // Our URL isn't in the expected hash-supported format, so we want to\n        // cancel the router setup and replace the URL to start off clean\n        cancelRouterSetup = true;\n        (0, _util.replacePath)(location, hashPath);\n      }\n    }\n    if (cancelRouterSetup) {\n      return false;\n    }\n    return implementation;\n  }\n  /**\n    @private\n  \n    Returns the current path as it should appear for HistoryLocation supported\n    browsers. This may very well differ from the real current path (e.g. if it\n    starts off as a hashed URL)\n  */\n\n  function getHistoryPath(rootURL, location) {\n    var path = (0, _util.getPath)(location);\n    var hash = (0, _util.getHash)(location);\n    var query = (0, _util.getQuery)(location);\n    var rootURLIndex = path.indexOf(rootURL);\n    var routeHash;\n    var hashParts;\n    (true && !(rootURLIndex === 0) && (0, _debug.assert)(`Path ${path} does not start with the provided rootURL ${rootURL}`, rootURLIndex === 0)); // By convention, Ember.js routes using HashLocation are required to start\n    // with `#/`. Anything else should NOT be considered a route and should\n    // be passed straight through, without transformation.\n    if (hash.substr(0, 2) === '#/') {\n      // There could be extra hash segments after the route\n      hashParts = hash.substr(1).split('#'); // The first one is always the route url\n\n      routeHash = hashParts.shift(); // If the path already has a trailing slash, remove the one\n      // from the hashed route so we don't double up.\n\n      if (path.charAt(path.length - 1) === '/') {\n        routeHash = routeHash.substr(1);\n      } // This is the \"expected\" final order\n\n      path += routeHash + query;\n      if (hashParts.length) {\n        path += `#${hashParts.join('#')}`;\n      }\n    } else {\n      path += query + hash;\n    }\n    return path;\n  }\n  /**\n    @private\n  \n    Returns the current path as it should appear for HashLocation supported\n    browsers. This may very well differ from the real current path.\n  \n    @method _getHashPath\n  */\n\n  function getHashPath(rootURL, location) {\n    var path = rootURL;\n    var historyPath = getHistoryPath(rootURL, location);\n    var routePath = historyPath.substr(rootURL.length);\n    if (routePath !== '') {\n      if (routePath[0] !== '/') {\n        routePath = `/${routePath}`;\n      }\n      path += `#${routePath}`;\n    }\n    return path;\n  }\n});","define(\"@ember/-internals/routing/lib/location/hash_location\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/runtime\", \"@ember/runloop\", \"@ember/-internals/routing/lib/location/util\"], function (_exports, _metal, _runtime, _runloop, _util) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module @ember/routing\n  */\n\n  /**\n    `HashLocation` implements the location API using the browser's\n    hash. At present, it relies on a `hashchange` event existing in the\n    browser.\n  \n    Using `HashLocation` results in URLs with a `#` (hash sign) separating the\n    server side URL portion of the URL from the portion that is used by Ember.\n  \n    Example:\n  \n    ```app/router.js\n    Router.map(function() {\n      this.route('posts', function() {\n        this.route('new');\n      });\n    });\n  \n    Router.reopen({\n      location: 'hash'\n    });\n    ```\n  \n    This will result in a posts.new url of `/#/posts/new`.\n  \n    @class HashLocation\n    @extends EmberObject\n    @protected\n  */\n\n  class HashLocation extends _runtime.Object {\n    constructor() {\n      super(...arguments);\n      this.implementation = 'hash';\n    }\n    init() {\n      (0, _metal.set)(this, 'location', this._location || window.location);\n      this._hashchangeHandler = undefined;\n    }\n    /**\n      @private\n         Returns normalized location.hash\n         @since 1.5.1\n      @method getHash\n    */\n\n    getHash() {\n      return (0, _util.getHash)(this.location);\n    }\n    /**\n      Returns the normalized URL, constructed from `location.hash`.\n         e.g. `#/foo` => `/foo` as well as `#/foo#bar` => `/foo#bar`.\n         By convention, hashed paths must begin with a forward slash, otherwise they\n      are not treated as a path so we can distinguish intent.\n         @private\n      @method getURL\n    */\n\n    getURL() {\n      var originalPath = this.getHash().substr(1);\n      var outPath = originalPath;\n      if (outPath[0] !== '/') {\n        outPath = '/'; // Only add the # if the path isn't empty.\n        // We do NOT want `/#` since the ampersand\n        // is only included (conventionally) when\n        // the location.hash has a value\n\n        if (originalPath) {\n          outPath += `#${originalPath}`;\n        }\n      }\n      return outPath;\n    }\n    /**\n      Set the `location.hash` and remembers what was set. This prevents\n      `onUpdateURL` callbacks from triggering when the hash was set by\n      `HashLocation`.\n         @private\n      @method setURL\n      @param path {String}\n    */\n\n    setURL(path) {\n      this.location.hash = path;\n      (0, _metal.set)(this, 'lastSetURL', path);\n    }\n    /**\n      Uses location.replace to update the url without a page reload\n      or history modification.\n         @private\n      @method replaceURL\n      @param path {String}\n    */\n\n    replaceURL(path) {\n      this.location.replace(`#${path}`);\n      (0, _metal.set)(this, 'lastSetURL', path);\n    }\n    /**\n      Register a callback to be invoked when the hash changes. These\n      callbacks will execute when the user presses the back or forward\n      button, but not after `setURL` is invoked.\n         @private\n      @method onUpdateURL\n      @param callback {Function}\n    */\n\n    onUpdateURL(callback) {\n      this._removeEventListener();\n      this._hashchangeHandler = (0, _runloop.bind)(this, function () {\n        var path = this.getURL();\n        if (this.lastSetURL === path) {\n          return;\n        }\n        (0, _metal.set)(this, 'lastSetURL', null);\n        callback(path);\n      });\n      window.addEventListener('hashchange', this._hashchangeHandler);\n    }\n    /**\n      Given a URL, formats it to be placed into the page as part\n      of an element's `href` attribute.\n         This is used, for example, when using the {{action}} helper\n      to generate a URL based on an event.\n         @private\n      @method formatURL\n      @param url {String}\n    */\n\n    formatURL(url) {\n      return `#${url}`;\n    }\n    /**\n      Cleans up the HashLocation event listener.\n         @private\n      @method willDestroy\n    */\n\n    willDestroy() {\n      this._removeEventListener();\n    }\n    _removeEventListener() {\n      if (this._hashchangeHandler) {\n        window.removeEventListener('hashchange', this._hashchangeHandler);\n      }\n    }\n  }\n  _exports.default = HashLocation;\n});","define(\"@ember/-internals/routing/lib/location/history_location\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/runtime\", \"@ember/-internals/routing/lib/location/util\"], function (_exports, _metal, _runtime, _util) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module @ember/routing\n  */\n\n  var popstateFired = false;\n  function _uuid() {\n    return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {\n      var r, v;\n      r = Math.random() * 16 | 0;\n      v = c === 'x' ? r : r & 3 | 8;\n      return v.toString(16);\n    });\n  }\n  /**\n    HistoryLocation implements the location API using the browser's\n    history.pushState API.\n  \n    Using `HistoryLocation` results in URLs that are indistinguishable from a\n    standard URL. This relies upon the browser's `history` API.\n  \n    Example:\n  \n    ```app/router.js\n    Router.map(function() {\n      this.route('posts', function() {\n        this.route('new');\n      });\n    });\n  \n    Router.reopen({\n      location: 'history'\n    });\n    ```\n  \n    This will result in a posts.new url of `/posts/new`.\n  \n    Keep in mind that your server must serve the Ember app at all the routes you\n    define.\n  \n    Using `HistoryLocation` will also result in location states being recorded by\n    the browser `history` API with the following schema:\n  \n    ```\n    window.history.state -> { path: '/', uuid: '3552e730-b4a6-46bd-b8bf-d8c3c1a97e0a' }\n    ```\n  \n    This allows each in-app location state to be tracked uniquely across history\n    state changes via the `uuid` field.\n  \n    @class HistoryLocation\n    @extends EmberObject\n    @protected\n  */\n\n  class HistoryLocation extends _runtime.Object {\n    constructor() {\n      super(...arguments);\n      this.implementation = 'history';\n      /**\n        Will be pre-pended to path upon state change\n               @property rootURL\n        @default '/'\n        @private\n      */\n\n      this.rootURL = '/';\n    }\n    /**\n      @private\n         Returns normalized location.hash\n         @method getHash\n    */\n\n    getHash() {\n      return (0, _util.getHash)(this.location);\n    }\n    init() {\n      this._super(...arguments);\n      var base = document.querySelector('base');\n      var baseURL = '';\n      if (base !== null && base.hasAttribute('href')) {\n        baseURL = base.getAttribute('href');\n      }\n      (0, _metal.set)(this, 'baseURL', baseURL);\n      (0, _metal.set)(this, 'location', this.location || window.location);\n      this._popstateHandler = undefined;\n    }\n    /**\n      Used to set state on first call to setURL\n         @private\n      @method initState\n    */\n\n    initState() {\n      var history = this.history || window.history;\n      (0, _metal.set)(this, 'history', history);\n      var {\n        state\n      } = history;\n      var path = this.formatURL(this.getURL());\n      if (state && state.path === path) {\n        // preserve existing state\n        // used for webkit workaround, since there will be no initial popstate event\n        this._previousURL = this.getURL();\n      } else {\n        this.replaceState(path);\n      }\n    }\n    /**\n      Returns the current `location.pathname` without `rootURL` or `baseURL`\n         @private\n      @method getURL\n      @return url {String}\n    */\n\n    getURL() {\n      var {\n        location,\n        rootURL,\n        baseURL\n      } = this;\n      var path = location.pathname; // remove trailing slashes if they exists\n\n      rootURL = rootURL.replace(/\\/$/, '');\n      baseURL = baseURL.replace(/\\/$/, ''); // remove baseURL and rootURL from start of path\n\n      var url = path.replace(new RegExp(`^${baseURL}(?=/|$)`), '').replace(new RegExp(`^${rootURL}(?=/|$)`), '').replace(/\\/\\//g, '/'); // remove extra slashes\n\n      var search = location.search || '';\n      url += search + this.getHash();\n      return url;\n    }\n    /**\n      Uses `history.pushState` to update the url without a page reload.\n         @private\n      @method setURL\n      @param path {String}\n    */\n\n    setURL(path) {\n      var {\n        state\n      } = this.history;\n      path = this.formatURL(path);\n      if (!state || state.path !== path) {\n        this.pushState(path);\n      }\n    }\n    /**\n      Uses `history.replaceState` to update the url without a page reload\n      or history modification.\n         @private\n      @method replaceURL\n      @param path {String}\n    */\n\n    replaceURL(path) {\n      var {\n        state\n      } = this.history;\n      path = this.formatURL(path);\n      if (!state || state.path !== path) {\n        this.replaceState(path);\n      }\n    }\n    /**\n     Pushes a new state.\n        @private\n     @method pushState\n     @param path {String}\n    */\n\n    pushState(path) {\n      var state = {\n        path,\n        uuid: _uuid()\n      };\n      this.history.pushState(state, null, path); // used for webkit workaround\n\n      this._previousURL = this.getURL();\n    }\n    /**\n     Replaces the current state.\n        @private\n     @method replaceState\n     @param path {String}\n    */\n\n    replaceState(path) {\n      var state = {\n        path,\n        uuid: _uuid()\n      };\n      this.history.replaceState(state, null, path); // used for webkit workaround\n\n      this._previousURL = this.getURL();\n    }\n    /**\n      Register a callback to be invoked whenever the browser\n      history changes, including using forward and back buttons.\n         @private\n      @method onUpdateURL\n      @param callback {Function}\n    */\n\n    onUpdateURL(callback) {\n      this._removeEventListener();\n      this._popstateHandler = () => {\n        // Ignore initial page load popstate event in Chrome\n        if (!popstateFired) {\n          popstateFired = true;\n          if (this.getURL() === this._previousURL) {\n            return;\n          }\n        }\n        callback(this.getURL());\n      };\n      window.addEventListener('popstate', this._popstateHandler);\n    }\n    /**\n      Used when using `{{action}}` helper.  The url is always appended to the rootURL.\n         @private\n      @method formatURL\n      @param url {String}\n      @return formatted url {String}\n    */\n\n    formatURL(url) {\n      var {\n        rootURL,\n        baseURL\n      } = this;\n      if (url !== '') {\n        // remove trailing slashes if they exists\n        rootURL = rootURL.replace(/\\/$/, '');\n        baseURL = baseURL.replace(/\\/$/, '');\n      } else if (baseURL[0] === '/' && rootURL[0] === '/') {\n        // if baseURL and rootURL both start with a slash\n        // ... remove trailing slash from baseURL if it exists\n        baseURL = baseURL.replace(/\\/$/, '');\n      }\n      return baseURL + rootURL + url;\n    }\n    /**\n      Cleans up the HistoryLocation event listener.\n         @private\n      @method willDestroy\n    */\n\n    willDestroy() {\n      this._removeEventListener();\n    }\n    _removeEventListener() {\n      if (this._popstateHandler) {\n        window.removeEventListener('popstate', this._popstateHandler);\n      }\n    }\n  }\n  _exports.default = HistoryLocation;\n});","define(\"@ember/-internals/routing/lib/location/none_location\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/runtime\", \"@ember/debug\"], function (_exports, _metal, _runtime, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module @ember/routing\n  */\n\n  /**\n    NoneLocation does not interact with the browser. It is useful for\n    testing, or when you need to manage state with your Router, but temporarily\n    don't want it to muck with the URL (for example when you embed your\n    application in a larger page).\n  \n    Using `NoneLocation` causes Ember to not store the applications URL state\n    in the actual URL. This is generally used for testing purposes, and is one\n    of the changes made when calling `App.setupForTesting()`.\n  \n    @class NoneLocation\n    @extends EmberObject\n    @protected\n  */\n\n  class NoneLocation extends _runtime.Object {\n    constructor() {\n      super(...arguments);\n      this.implementation = 'none';\n    }\n    detect() {\n      var {\n        rootURL\n      } = this;\n      (true && !(rootURL.charAt(rootURL.length - 1) === '/') && (0, _debug.assert)('rootURL must end with a trailing forward slash e.g. \"/app/\"', rootURL.charAt(rootURL.length - 1) === '/'));\n    }\n    /**\n      Returns the current path without `rootURL`.\n         @private\n      @method getURL\n      @return {String} path\n    */\n\n    getURL() {\n      var {\n        path,\n        rootURL\n      } = this; // remove trailing slashes if they exists\n\n      rootURL = rootURL.replace(/\\/$/, ''); // remove rootURL from url\n\n      return path.replace(new RegExp(`^${rootURL}(?=/|$)`), '');\n    }\n    /**\n      Set the path and remembers what was set. Using this method\n      to change the path will not invoke the `updateURL` callback.\n         @private\n      @method setURL\n      @param path {String}\n    */\n\n    setURL(path) {\n      (0, _metal.set)(this, 'path', path);\n    }\n    /**\n      Register a callback to be invoked when the path changes. These\n      callbacks will execute when the user presses the back or forward\n      button, but not after `setURL` is invoked.\n         @private\n      @method onUpdateURL\n      @param callback {Function}\n    */\n\n    onUpdateURL(callback) {\n      this.updateCallback = callback;\n    }\n    /**\n      Sets the path and calls the `updateURL` callback.\n         @private\n      @method handleURL\n      @param url {String}\n    */\n\n    handleURL(url) {\n      (0, _metal.set)(this, 'path', url);\n      this.updateCallback(url);\n    }\n    /**\n      Given a URL, formats it to be placed into the page as part\n      of an element's `href` attribute.\n         This is used, for example, when using the {{action}} helper\n      to generate a URL based on an event.\n         @private\n      @method formatURL\n      @param url {String}\n      @return {String} url\n    */\n\n    formatURL(url) {\n      var {\n        rootURL\n      } = this;\n      if (url !== '') {\n        // remove trailing slashes if they exists\n        rootURL = rootURL.replace(/\\/$/, '');\n      }\n      return rootURL + url;\n    }\n  }\n  _exports.default = NoneLocation;\n  NoneLocation.reopen({\n    path: '',\n    /**\n      Will be pre-pended to path.\n         @private\n      @property rootURL\n      @default '/'\n    */\n    rootURL: '/'\n  });\n});","define(\"@ember/-internals/routing/lib/location/util\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.getFullPath = getFullPath;\n  _exports.getHash = getHash;\n  _exports.getOrigin = getOrigin;\n  _exports.getPath = getPath;\n  _exports.getQuery = getQuery;\n  _exports.replacePath = replacePath;\n  _exports.supportsHashChange = supportsHashChange;\n  _exports.supportsHistory = supportsHistory;\n  /**\n    @private\n  \n    Returns the current `location.pathname`, normalized for IE inconsistencies.\n  */\n  function getPath(location) {\n    var pathname = location.pathname; // Various versions of IE/Opera don't always return a leading slash\n\n    if (pathname[0] !== '/') {\n      pathname = `/${pathname}`;\n    }\n    return pathname;\n  }\n  /**\n    @private\n  \n    Returns the current `location.search`.\n  */\n\n  function getQuery(location) {\n    return location.search;\n  }\n  /**\n    @private\n  \n    Returns the hash or empty string\n  */\n\n  function getHash(location) {\n    if (location.hash !== undefined) {\n      return location.hash.substr(0);\n    }\n    return '';\n  }\n  function getFullPath(location) {\n    return getPath(location) + getQuery(location) + getHash(location);\n  }\n  function getOrigin(location) {\n    var origin = location.origin; // Older browsers, especially IE, don't have origin\n\n    if (!origin) {\n      origin = `${location.protocol}//${location.hostname}`;\n      if (location.port) {\n        origin += `:${location.port}`;\n      }\n    }\n    return origin;\n  }\n  /*\n    `documentMode` only exist in Internet Explorer, and it's tested because IE8 running in\n    IE7 compatibility mode claims to support `onhashchange` but actually does not.\n  \n    `global` is an object that may have an `onhashchange` property.\n  \n    @private\n    @function supportsHashChange\n  */\n\n  function supportsHashChange(documentMode, global) {\n    return Boolean(global && 'onhashchange' in global && (documentMode === undefined || documentMode > 7));\n  }\n  /*\n    `userAgent` is a user agent string. We use user agent testing here, because\n    the stock Android browser is known to have buggy versions of the History API,\n    in some Android versions.\n  \n    @private\n    @function supportsHistory\n  */\n\n  function supportsHistory(userAgent, history) {\n    // Boosted from Modernizr: https://github.com/Modernizr/Modernizr/blob/master/feature-detects/history.js\n    // The stock browser on Android 2.2 & 2.3, and 4.0.x returns positive on history support\n    // Unfortunately support is really buggy and there is no clean way to detect\n    // these bugs, so we fall back to a user agent sniff :(\n    // We only want Android 2 and 4.0, stock browser, and not Chrome which identifies\n    // itself as 'Mobile Safari' as well, nor Windows Phone.\n    if ((userAgent.indexOf('Android 2.') !== -1 || userAgent.indexOf('Android 4.0') !== -1) && userAgent.indexOf('Mobile Safari') !== -1 && userAgent.indexOf('Chrome') === -1 && userAgent.indexOf('Windows Phone') === -1) {\n      return false;\n    }\n    return Boolean(history && 'pushState' in history);\n  }\n  /**\n    Replaces the current location, making sure we explicitly include the origin\n    to prevent redirecting to a different origin.\n  \n    @private\n  */\n\n  function replacePath(location, path) {\n    location.replace(getOrigin(location) + path);\n  }\n});","define(\"@ember/-internals/routing/lib/services/router\", [\"exports\", \"@ember/-internals/owner\", \"@ember/-internals/runtime\", \"@ember/-internals/utils\", \"@ember/debug\", \"@ember/object/computed\", \"@ember/polyfills\", \"@ember/service\", \"@glimmer/validator\", \"@ember/-internals/routing/lib/utils\"], function (_exports, _owner, _runtime, _utils, _debug, _computed, _polyfills, _service, _validator, _utils2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var ROUTER = (0, _utils.symbol)('ROUTER');\n  function cleanURL(url, rootURL) {\n    if (rootURL === '/') {\n      return url;\n    }\n    return url.substr(rootURL.length, url.length);\n  }\n  /**\n     The Router service is the public API that provides access to the router.\n  \n     The immediate benefit of the Router service is that you can inject it into components,\n     giving them a friendly way to initiate transitions and ask questions about the current\n     global router state.\n  \n     In this example, the Router service is injected into a component to initiate a transition\n     to a dedicated route:\n  \n     ```app/components/example.js\n     import Component from '@glimmer/component';\n     import { action } from '@ember/object';\n     import { inject as service } from '@ember/service';\n  \n     export default class ExampleComponent extends Component {\n       @service router;\n  \n       @action\n       next() {\n         this.router.transitionTo('other.route');\n       }\n     }\n     ```\n  \n     Like any service, it can also be injected into helpers, routes, etc.\n  \n     @public\n     @extends Service\n     @class RouterService\n   */\n\n  class RouterService extends _service.default {\n    get _router() {\n      var router = this[ROUTER];\n      if (router !== undefined) {\n        return router;\n      }\n      var owner = (0, _owner.getOwner)(this);\n      router = owner.lookup('router:main');\n      return this[ROUTER] = router;\n    }\n    willDestroy() {\n      super.willDestroy(...arguments);\n      this[ROUTER] = null;\n    }\n    /**\n       Transition the application into another route. The route may\n       be either a single route or route path:\n          See [transitionTo](/ember/release/classes/Route/methods/transitionTo?anchor=transitionTo) for more info.\n          Calling `transitionTo` from the Router service will cause default query parameter values to be included in the URL.\n       This behavior is different from calling `transitionTo` on a route or `transitionToRoute` on a controller.\n       See the [Router Service RFC](https://github.com/emberjs/rfcs/blob/master/text/0095-router-service.md#query-parameter-semantics) for more info.\n          In the following example we use the Router service to navigate to a route with a\n       specific model from a Component in the first action, and in the second we trigger\n       a query-params only transition.\n          ```app/components/example.js\n       import Component from '@glimmer/component';\n       import { action } from '@ember/object';\n       import { inject as service } from '@ember/service';\n          export default class extends Component {\n         @service router;\n            @action\n         goToComments(post) {\n           this.router.transitionTo('comments', post);\n         }\n            @action\n         fetchMoreComments(latestComment) {\n           this.router.transitionTo({\n             queryParams: { commentsAfter: latestComment }\n           });\n         }\n       }\n       ```\n          @method transitionTo\n       @param {String} [routeNameOrUrl] the name of the route or a URL\n       @param {...Object} [models] the model(s) or identifier(s) to be used while\n         transitioning to the route.\n       @param {Object} [options] optional hash with a queryParams property\n         containing a mapping of query parameters. May be supplied as the only\n        parameter to trigger a query-parameter-only transition.\n       @return {Transition} the transition object associated with this\n         attempted transition\n       @public\n     */\n\n    transitionTo(...args) {\n      if ((0, _utils2.resemblesURL)(args[0])) {\n        // NOTE: this `args[0] as string` cast is safe and TS correctly infers it\n        // in 3.6+, so it can be removed when TS is upgraded.\n        return this._router._doURLTransition('transitionTo', args[0]);\n      }\n      var {\n        routeName,\n        models,\n        queryParams\n      } = (0, _utils2.extractRouteArgs)(args);\n      var transition = this._router._doTransition(routeName, models, queryParams, true);\n      transition['_keepDefaultQueryParamValues'] = true;\n      return transition;\n    }\n    /**\n       Similar to `transitionTo`, but instead of adding the destination to the browser's URL history,\n       it replaces the entry for the current route.\n       When the user clicks the \"back\" button in the browser, there will be fewer steps.\n       This is most commonly used to manage redirects in a way that does not cause confusing additions\n       to the user's browsing history.\n          See [replaceWith](/ember/release/classes/Route/methods/replaceWith?anchor=replaceWith) for more info.\n          Calling `replaceWith` from the Router service will cause default query parameter values to be included in the URL.\n       This behavior is different from calling `replaceWith` on a route.\n       See the [Router Service RFC](https://github.com/emberjs/rfcs/blob/master/text/0095-router-service.md#query-parameter-semantics) for more info.\n          Usage example:\n          ```app/routes/application.js\n       import Route from '@ember/routing/route';\n          export default class extends Route {\n         beforeModel() {\n           if (!authorized()){\n             this.replaceWith('unauthorized');\n           }\n         }\n       });\n       ```\n          @method replaceWith\n       @param {String} routeNameOrUrl the name of the route or a URL of the desired destination\n       @param {...Object} models the model(s) or identifier(s) to be used while\n         transitioning to the route i.e. an object of params to pass to the destination route\n       @param {Object} [options] optional hash with a queryParams property\n         containing a mapping of query parameters\n       @return {Transition} the transition object associated with this\n         attempted transition\n       @public\n     */\n\n    replaceWith() /* routeNameOrUrl, ...models, options */\n    {\n      return this.transitionTo(...arguments).method('replace');\n    }\n    /**\n      Generate a URL based on the supplied route name and optionally a model. The\n      URL is returned as a string that can be used for any purpose.\n         In this example, the URL for the `author.books` route for a given author\n      is copied to the clipboard.\n         ```app/templates/application.hbs\n      <CopyLink @author={{hash id=\"tomster\" name=\"Tomster\"}} />\n      ```\n         ```app/components/copy-link.js\n      import Component from '@glimmer/component';\n      import { inject as service } from '@ember/service';\n      import { action } from '@ember/object';\n         export default class CopyLinkComponent extends Component {\n        @service router;\n        @service clipboard;\n           @action\n        copyBooksURL() {\n          if (this.author) {\n            const url = this.router.urlFor('author.books', this.args.author);\n            this.clipboard.set(url);\n            // Clipboard now has /author/tomster/books\n          }\n        }\n      }\n      ```\n         Just like with `transitionTo` and `replaceWith`, `urlFor` can also handle\n      query parameters.\n         ```app/templates/application.hbs\n      <CopyLink @author={{hash id=\"tomster\" name=\"Tomster\"}} />\n      ```\n         ```app/components/copy-link.js\n      import Component from '@glimmer/component';\n      import { inject as service } from '@ember/service';\n      import { action } from '@ember/object';\n         export default class CopyLinkComponent extends Component {\n        @service router;\n        @service clipboard;\n           @action\n        copyOnlyEmberBooksURL() {\n          if (this.author) {\n            const url = this.router.urlFor('author.books', this.author, {\n              queryParams: { filter: 'emberjs' }\n            });\n            this.clipboard.set(url);\n            // Clipboard now has /author/tomster/books?filter=emberjs\n          }\n        }\n      }\n      ```\n          @method urlFor\n       @param {String} routeName the name of the route\n       @param {...Object} models the model(s) or identifier(s) to be used while\n         transitioning to the route.\n       @param {Object} [options] optional hash with a queryParams property\n         containing a mapping of query parameters\n       @return {String} the string representing the generated URL\n       @public\n     */\n\n    urlFor(routeName, ...args) {\n      this._router.setupRouter();\n      return this._router.generate(routeName, ...args);\n    }\n    /**\n       Returns `true` if `routeName/models/queryParams` is the active route, where `models` and `queryParams` are optional.\n       See [model](api/ember/release/classes/Route/methods/model?anchor=model) and\n       [queryParams](/api/ember/3.7/classes/Route/properties/queryParams?anchor=queryParams) for more information about these arguments.\n          In the following example, `isActive` will return `true` if the current route is `/posts`.\n          ```app/components/posts.js\n       import Component from '@glimmer/component';\n       import { inject as service } from '@ember/service';\n          export default class extends Component {\n         @service router;\n            displayComments() {\n           return this.router.isActive('posts');\n         }\n       });\n       ```\n          The next example includes a dynamic segment, and will return `true` if the current route is `/posts/1`,\n       assuming the post has an id of 1:\n          ```app/components/posts.js\n       import Component from '@glimmer/component';\n       import { inject as service } from '@ember/service';\n          export default class extends Component {\n         @service router;\n            displayComments(post) {\n           return this.router.isActive('posts', post.id);\n         }\n       });\n       ```\n          Where `post.id` is the id of a specific post, which is represented in the route as /posts/[post.id].\n       If `post.id` is equal to 1, then isActive will return true if the current route is /posts/1, and false if the route is anything else.\n          @method isActive\n       @param {String} routeName the name of the route\n       @param {...Object} models the model(s) or identifier(s) to be used when determining the active route.\n       @param {Object} [options] optional hash with a queryParams property\n         containing a mapping of query parameters\n       @return {boolean} true if the provided routeName/models/queryParams are active\n       @public\n     */\n\n    isActive(...args) {\n      var {\n        routeName,\n        models,\n        queryParams\n      } = (0, _utils2.extractRouteArgs)(args);\n      var routerMicrolib = this._router._routerMicrolib; // When using isActive() in a getter, we want to entagle with the auto-tracking system\n      // for example,\n      // in\n      // get isBarActive() {\n      //   return isActive('foo.bar');\n      // }\n      //\n      // you'd expect isBarActive to be dirtied when the route changes.\n      //\n      // https://github.com/emberjs/ember.js/issues/19004\n\n      (0, _validator.consumeTag)((0, _validator.tagFor)(this._router, 'currentURL')); // UNSAFE: casting `routeName as string` here encodes the existing\n      // assumption but may be wrong: `extractRouteArgs` correctly returns it as\n      // `string | undefined`. There may be bugs if `isActiveIntent` does\n      // not correctly account for `undefined` values for `routeName`. Spoilers:\n      // it *does not* account for this being `undefined`.\n\n      if (!routerMicrolib.isActiveIntent(routeName, models)) {\n        return false;\n      }\n      var hasQueryParams = Object.keys(queryParams).length > 0;\n      if (hasQueryParams) {\n        queryParams = (0, _polyfills.assign)({}, queryParams);\n        this._router._prepareQueryParams(\n        // UNSAFE: casting `routeName as string` here encodes the existing\n        // assumption but may be wrong: `extractRouteArgs` correctly returns it\n        // as `string | undefined`. There may be bugs if `_prepareQueryParams`\n        // does not correctly account for `undefined` values for `routeName`.\n        //  Spoilers: under the hood this currently uses router.js APIs which\n        // *do not* account for this being `undefined`.\n        routeName, models,\n        // UNSAFE: downstream consumers treat this as `QueryParam`, which the\n        // type system here *correctly* reports as incorrect, because it may be\n        // just an empty object.\n        queryParams, true\n        /* fromRouterService */);\n        return (0, _utils2.shallowEqual)(queryParams, routerMicrolib.state.queryParams);\n      }\n      return true;\n    }\n    /**\n       Takes a string URL and returns a `RouteInfo` for the leafmost route represented\n       by the URL. Returns `null` if the URL is not recognized. This method expects to\n       receive the actual URL as seen by the browser including the app's `rootURL`.\n          See [RouteInfo](/ember/release/classes/RouteInfo) for more info.\n          In the following example `recognize` is used to verify if a path belongs to our\n       application before transitioning to it.\n          ```\n       import Component from '@ember/component';\n       import { inject as service } from '@ember/service';\n          export default class extends Component {\n         @service router;\n         path = '/';\n            click() {\n           if (this.router.recognize(this.path)) {\n             this.router.transitionTo(this.path);\n           }\n         }\n       }\n       ```\n           @method recognize\n        @param {String} url\n        @public\n      */\n\n    recognize(url) {\n      (true && !(url.indexOf(this.rootURL) === 0) && (0, _debug.assert)(`You must pass a url that begins with the application's rootURL \"${this.rootURL}\"`, url.indexOf(this.rootURL) === 0));\n      this._router.setupRouter();\n      var internalURL = cleanURL(url, this.rootURL);\n      return this._router._routerMicrolib.recognize(internalURL);\n    }\n    /**\n      Takes a string URL and returns a promise that resolves to a\n      `RouteInfoWithAttributes` for the leafmost route represented by the URL.\n      The promise rejects if the URL is not recognized or an unhandled exception\n      is encountered. This method expects to receive the actual URL as seen by\n      the browser including the app's `rootURL`.\n           @method recognizeAndLoad\n        @param {String} url\n        @public\n     */\n\n    recognizeAndLoad(url) {\n      (true && !(url.indexOf(this.rootURL) === 0) && (0, _debug.assert)(`You must pass a url that begins with the application's rootURL \"${this.rootURL}\"`, url.indexOf(this.rootURL) === 0));\n      this._router.setupRouter();\n      var internalURL = cleanURL(url, this.rootURL);\n      return this._router._routerMicrolib.recognizeAndLoad(internalURL);\n    }\n  }\n  _exports.default = RouterService;\n  RouterService.reopen(_runtime.Evented, {\n    /**\n       Name of the current route.\n          This property represents the logical name of the route,\n       which is comma separated.\n       For the following router:\n          ```app/router.js\n       Router.map(function() {\n         this.route('about');\n         this.route('blog', function () {\n           this.route('post', { path: ':post_id' });\n         });\n       });\n       ```\n          It will return:\n          * `index` when you visit `/`\n       * `about` when you visit `/about`\n       * `blog.index` when you visit `/blog`\n       * `blog.post` when you visit `/blog/some-post-id`\n          @property currentRouteName\n       @type String\n       @public\n     */\n    currentRouteName: (0, _computed.readOnly)('_router.currentRouteName'),\n    /**\n       Current URL for the application.\n         This property represents the URL path for this route.\n      For the following router:\n          ```app/router.js\n       Router.map(function() {\n         this.route('about');\n         this.route('blog', function () {\n           this.route('post', { path: ':post_id' });\n         });\n       });\n       ```\n          It will return:\n          * `/` when you visit `/`\n       * `/about` when you visit `/about`\n       * `/blog` when you visit `/blog`\n       * `/blog/some-post-id` when you visit `/blog/some-post-id`\n          @property currentURL\n       @type String\n       @public\n     */\n    currentURL: (0, _computed.readOnly)('_router.currentURL'),\n    /**\n      The `location` property returns what implementation of the `location` API\n      your application is using, which determines what type of URL is being used.\n         See [Location](/ember/release/classes/Location) for more information.\n         To force a particular `location` API implementation to be used in your\n      application you can set a location type on your `config/environment`.\n      For example, to set the `history` type:\n         ```config/environment.js\n      'use strict';\n         module.exports = function(environment) {\n        let ENV = {\n          modulePrefix: 'router-service',\n          environment,\n          rootURL: '/',\n          locationType: 'history',\n          ...\n        }\n      }\n      ```\n         The following location types are available by default:\n      `auto`, `hash`, `history`, `none`.\n         See [HashLocation](/ember/release/classes/HashLocation).\n      See [HistoryLocation](/ember/release/classes/HistoryLocation).\n      See [NoneLocation](/ember/release/classes/NoneLocation).\n      See [AutoLocation](/ember/release/classes/AutoLocation).\n         @property location\n      @default 'hash'\n      @see {Location}\n      @public\n    */\n    location: (0, _computed.readOnly)('_router.location'),\n    /**\n      The `rootURL` property represents the URL of the root of\n      the application, '/' by default.\n      This prefix is assumed on all routes defined on this app.\n         If you change the `rootURL` in your environment configuration\n      like so:\n         ```config/environment.js\n      'use strict';\n         module.exports = function(environment) {\n        let ENV = {\n          modulePrefix: 'router-service',\n          environment,\n          rootURL: '/my-root',\n        …\n        }\n      ]\n      ```\n         This property will return `/my-root`.\n         @property rootURL\n      @default '/'\n      @public\n    */\n    rootURL: (0, _computed.readOnly)('_router.rootURL'),\n    /**\n      The `currentRoute` property contains metadata about the current leaf route.\n      It returns a `RouteInfo` object that has information like the route name,\n      params, query params and more.\n         See [RouteInfo](/ember/release/classes/RouteInfo) for more info.\n         This property is guaranteed to change whenever a route transition\n      happens (even when that transition only changes parameters\n      and doesn't change the active route).\n         Usage example:\n      ```app/components/header.js\n        import Component from '@glimmer/component';\n        import { inject as service } from '@ember/service';\n        import { notEmpty } from '@ember/object/computed';\n           export default class extends Component {\n          @service router;\n             @notEmpty('router.currentRoute.child') isChildRoute;\n        });\n      ```\n          @property currentRoute\n       @type RouteInfo\n       @public\n     */\n    currentRoute: (0, _computed.readOnly)('_router.currentRoute')\n  });\n});","define(\"@ember/-internals/routing/lib/services/routing\", [\"exports\", \"@ember/-internals/owner\", \"@ember/-internals/utils\", \"@ember/object/computed\", \"@ember/polyfills\", \"@ember/service\"], function (_exports, _owner, _utils, _computed, _polyfills, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module ember\n  */\n\n  var ROUTER = (0, _utils.symbol)('ROUTER');\n  /**\n    The Routing service is used by LinkComponent, and provides facilities for\n    the component/view layer to interact with the router.\n  \n    This is a private service for internal usage only. For public usage,\n    refer to the `Router` service.\n  \n    @private\n    @class RoutingService\n  */\n\n  class RoutingService extends _service.default {\n    get router() {\n      var router = this[ROUTER];\n      if (router !== undefined) {\n        return router;\n      }\n      var owner = (0, _owner.getOwner)(this);\n      router = owner.lookup('router:main');\n      router.setupRouter();\n      return this[ROUTER] = router;\n    }\n    hasRoute(routeName) {\n      return this.router.hasRoute(routeName);\n    }\n    transitionTo(routeName, models, queryParams, shouldReplace) {\n      var transition = this.router._doTransition(routeName, models, queryParams);\n      if (shouldReplace) {\n        transition.method('replace');\n      }\n      return transition;\n    }\n    normalizeQueryParams(routeName, models, queryParams) {\n      this.router._prepareQueryParams(routeName, models, queryParams);\n    }\n    _generateURL(routeName, models, queryParams) {\n      var visibleQueryParams = {};\n      if (queryParams) {\n        (0, _polyfills.assign)(visibleQueryParams, queryParams);\n        this.normalizeQueryParams(routeName, models, visibleQueryParams);\n      }\n      return this.router.generate(routeName, ...models, {\n        queryParams: visibleQueryParams\n      });\n    }\n    generateURL(routeName, models, queryParams) {\n      if (this.router._initialTransitionStarted) {\n        return this._generateURL(routeName, models, queryParams);\n      } else {\n        // Swallow error when transition has not started.\n        // When rendering in tests without visit(), we cannot infer the route context which <LinkTo/> needs be aware of\n        try {\n          return this._generateURL(routeName, models, queryParams);\n        } catch (_e) {\n          return;\n        }\n      }\n    }\n    isActiveForRoute(contexts, queryParams, routeName, routerState) {\n      var handlers = this.router._routerMicrolib.recognizer.handlersFor(routeName);\n      var leafName = handlers[handlers.length - 1].handler;\n      var maximumContexts = numberOfContextsAcceptedByHandler(routeName, handlers); // NOTE: any ugliness in the calculation of activeness is largely\n      // due to the fact that we support automatic normalizing of\n      // `resource` -> `resource.index`, even though there might be\n      // dynamic segments / query params defined on `resource.index`\n      // which complicates (and makes somewhat ambiguous) the calculation\n      // of activeness for links that link to `resource` instead of\n      // directly to `resource.index`.\n      // if we don't have enough contexts revert back to full route name\n      // this is because the leaf route will use one of the contexts\n\n      if (contexts.length > maximumContexts) {\n        routeName = leafName;\n      }\n      return routerState.isActiveIntent(routeName, contexts, queryParams);\n    }\n  }\n  _exports.default = RoutingService;\n  RoutingService.reopen({\n    targetState: (0, _computed.readOnly)('router.targetState'),\n    currentState: (0, _computed.readOnly)('router.currentState'),\n    currentRouteName: (0, _computed.readOnly)('router.currentRouteName'),\n    currentPath: (0, _computed.readOnly)('router.currentPath')\n  });\n  function numberOfContextsAcceptedByHandler(handlerName, handlerInfos) {\n    var req = 0;\n    for (var i = 0; i < handlerInfos.length; i++) {\n      req += handlerInfos[i].names.length;\n      if (handlerInfos[i].handler === handlerName) {\n        break;\n      }\n    }\n    return req;\n  }\n});","define(\"@ember/-internals/routing/lib/system/cache\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n    A two-tiered cache with support for fallback values when doing lookups.\n    Uses \"buckets\" and then \"keys\" to cache values.\n  \n    @private\n    @class BucketCache\n  */\n  class BucketCache {\n    constructor() {\n      this.cache = new Map();\n    }\n    has(bucketKey) {\n      return this.cache.has(bucketKey);\n    }\n    stash(bucketKey, key, value) {\n      var bucket = this.cache.get(bucketKey);\n      if (bucket === undefined) {\n        bucket = new Map();\n        this.cache.set(bucketKey, bucket);\n      }\n      bucket.set(key, value);\n    }\n    lookup(bucketKey, prop, defaultValue) {\n      if (!this.has(bucketKey)) {\n        return defaultValue;\n      }\n      var bucket = this.cache.get(bucketKey);\n      if (bucket.has(prop)) {\n        return bucket.get(prop);\n      } else {\n        return defaultValue;\n      }\n    }\n  }\n  _exports.default = BucketCache;\n});","define(\"@ember/-internals/routing/lib/system/controller_for\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = controllerFor;\n  /**\n  @module ember\n  */\n\n  /**\n    Finds a controller instance.\n  \n    @for Ember\n    @method controllerFor\n    @private\n  */\n  function controllerFor(container, controllerName, lookupOptions) {\n    return container.lookup(`controller:${controllerName}`, lookupOptions);\n  }\n});","define(\"@ember/-internals/routing/lib/system/dsl\", [\"exports\", \"@ember/debug\", \"@ember/polyfills\"], function (_exports, _debug, _polyfills) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var uuid = 0;\n  function isCallback(value) {\n    return typeof value === 'function';\n  }\n  function isOptions(value) {\n    return value !== null && typeof value === 'object';\n  }\n  class DSLImpl {\n    constructor(name = null, options) {\n      this.explicitIndex = false;\n      this.parent = name;\n      this.enableLoadingSubstates = Boolean(options && options.enableLoadingSubstates);\n      this.matches = [];\n      this.options = options;\n    }\n    route(name, _options, _callback) {\n      var options;\n      var callback = null;\n      var dummyErrorRoute = `/_unused_dummy_error_path_route_${name}/:error`;\n      if (isCallback(_options)) {\n        (true && !(arguments.length === 2) && (0, _debug.assert)('Unexpected arguments', arguments.length === 2));\n        options = {};\n        callback = _options;\n      } else if (isCallback(_callback)) {\n        (true && !(arguments.length === 3) && (0, _debug.assert)('Unexpected arguments', arguments.length === 3));\n        (true && !(isOptions(_options)) && (0, _debug.assert)('Unexpected arguments', isOptions(_options)));\n        options = _options;\n        callback = _callback;\n      } else {\n        options = _options || {};\n      }\n      (true && !((() => {\n        if (options.overrideNameAssertion === true) {\n          return true;\n        }\n        return ['basic', 'application'].indexOf(name) === -1;\n      })()) && (0, _debug.assert)(`'${name}' cannot be used as a route name.`, (() => {\n        if (options.overrideNameAssertion === true) {\n          return true;\n        }\n        return ['basic', 'application'].indexOf(name) === -1;\n      })()));\n      (true && !(name.indexOf(':') === -1) && (0, _debug.assert)(`'${name}' is not a valid route name. It cannot contain a ':'. You may want to use the 'path' option instead.`, name.indexOf(':') === -1));\n      if (this.enableLoadingSubstates) {\n        createRoute(this, `${name}_loading`, {\n          resetNamespace: options.resetNamespace\n        });\n        createRoute(this, `${name}_error`, {\n          resetNamespace: options.resetNamespace,\n          path: dummyErrorRoute\n        });\n      }\n      if (callback) {\n        var fullName = getFullName(this, name, options.resetNamespace);\n        var dsl = new DSLImpl(fullName, this.options);\n        createRoute(dsl, 'loading');\n        createRoute(dsl, 'error', {\n          path: dummyErrorRoute\n        });\n        callback.call(dsl);\n        createRoute(this, name, options, dsl.generate());\n      } else {\n        createRoute(this, name, options);\n      }\n    }\n    push(url, name, callback, serialize) {\n      var parts = name.split('.');\n      if (this.options.engineInfo) {\n        var localFullName = name.slice(this.options.engineInfo.fullName.length + 1);\n        var routeInfo = (0, _polyfills.assign)({\n          localFullName\n        }, this.options.engineInfo);\n        if (serialize) {\n          routeInfo.serializeMethod = serialize;\n        }\n        this.options.addRouteForEngine(name, routeInfo);\n      } else if (serialize) {\n        throw new Error(`Defining a route serializer on route '${name}' outside an Engine is not allowed.`);\n      }\n      if (url === '' || url === '/' || parts[parts.length - 1] === 'index') {\n        this.explicitIndex = true;\n      }\n      this.matches.push(url, name, callback);\n    }\n    generate() {\n      var dslMatches = this.matches;\n      if (!this.explicitIndex) {\n        this.route('index', {\n          path: '/'\n        });\n      }\n      return match => {\n        for (var i = 0; i < dslMatches.length; i += 3) {\n          match(dslMatches[i]).to(dslMatches[i + 1], dslMatches[i + 2]);\n        }\n      };\n    }\n    mount(_name, options = {}) {\n      var engineRouteMap = this.options.resolveRouteMap(_name);\n      var name = _name;\n      if (options.as) {\n        name = options.as;\n      }\n      var fullName = getFullName(this, name, options.resetNamespace);\n      var engineInfo = {\n        name: _name,\n        instanceId: uuid++,\n        mountPoint: fullName,\n        fullName\n      };\n      var path = options.path;\n      if (typeof path !== 'string') {\n        path = `/${name}`;\n      }\n      var callback;\n      var dummyErrorRoute = `/_unused_dummy_error_path_route_${name}/:error`;\n      if (engineRouteMap) {\n        var shouldResetEngineInfo = false;\n        var oldEngineInfo = this.options.engineInfo;\n        if (oldEngineInfo) {\n          shouldResetEngineInfo = true;\n          this.options.engineInfo = engineInfo;\n        }\n        var optionsForChild = (0, _polyfills.assign)({\n          engineInfo\n        }, this.options);\n        var childDSL = new DSLImpl(fullName, optionsForChild);\n        createRoute(childDSL, 'loading');\n        createRoute(childDSL, 'error', {\n          path: dummyErrorRoute\n        });\n        engineRouteMap.class.call(childDSL);\n        callback = childDSL.generate();\n        if (shouldResetEngineInfo) {\n          this.options.engineInfo = oldEngineInfo;\n        }\n      }\n      var localFullName = 'application';\n      var routeInfo = (0, _polyfills.assign)({\n        localFullName\n      }, engineInfo);\n      if (this.enableLoadingSubstates) {\n        // These values are important to register the loading routes under their\n        // proper names for the Router and within the Engine's registry.\n        var substateName = `${name}_loading`;\n        var _localFullName = `application_loading`;\n        var _routeInfo = (0, _polyfills.assign)({\n          localFullName: _localFullName\n        }, engineInfo);\n        createRoute(this, substateName, {\n          resetNamespace: options.resetNamespace\n        });\n        this.options.addRouteForEngine(substateName, _routeInfo);\n        substateName = `${name}_error`;\n        _localFullName = `application_error`;\n        _routeInfo = (0, _polyfills.assign)({\n          localFullName: _localFullName\n        }, engineInfo);\n        createRoute(this, substateName, {\n          resetNamespace: options.resetNamespace,\n          path: dummyErrorRoute\n        });\n        this.options.addRouteForEngine(substateName, _routeInfo);\n      }\n      this.options.addRouteForEngine(fullName, routeInfo);\n      this.push(path, fullName, callback);\n    }\n  }\n  _exports.default = DSLImpl;\n  function canNest(dsl) {\n    return dsl.parent !== 'application';\n  }\n  function getFullName(dsl, name, resetNamespace) {\n    if (canNest(dsl) && resetNamespace !== true) {\n      return `${dsl.parent}.${name}`;\n    } else {\n      return name;\n    }\n  }\n  function createRoute(dsl, name, options = {}, callback) {\n    var fullName = getFullName(dsl, name, options.resetNamespace);\n    if (typeof options.path !== 'string') {\n      options.path = `/${name}`;\n    }\n    dsl.push(options.path, fullName, callback, options.serialize);\n  }\n});","define(\"@ember/-internals/routing/lib/system/engines\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n});","define(\"@ember/-internals/routing/lib/system/generate_controller\", [\"exports\", \"@ember/-internals/metal\", \"@ember/debug\"], function (_exports, _metal, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = generateController;\n  _exports.generateControllerFactory = generateControllerFactory;\n  /**\n  @module ember\n  */\n\n  /**\n    Generates a controller factory\n  \n    @for Ember\n    @method generateControllerFactory\n    @private\n  */\n\n  function generateControllerFactory(owner, controllerName) {\n    var Factory = owner.factoryFor('controller:basic').class;\n    Factory = Factory.extend({\n      toString() {\n        return `(generated ${controllerName} controller)`;\n      }\n    });\n    var fullName = `controller:${controllerName}`;\n    owner.register(fullName, Factory);\n    return owner.factoryFor(fullName);\n  }\n  /**\n    Generates and instantiates a controller extending from `controller:basic`\n    if present, or `Controller` if not.\n  \n    @for Ember\n    @method generateController\n    @private\n    @since 1.3.0\n  */\n\n  function generateController(owner, controllerName) {\n    generateControllerFactory(owner, controllerName);\n    var fullName = `controller:${controllerName}`;\n    var instance = owner.lookup(fullName);\n    if (true /* DEBUG */) {\n      if ((0, _metal.get)(instance, 'namespace.LOG_ACTIVE_GENERATION')) {\n        (0, _debug.info)(`generated -> ${fullName}`, {\n          fullName\n        });\n      }\n    }\n    return instance;\n  }\n});","define(\"@ember/-internals/routing/lib/system/query_params\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class QueryParams {\n    constructor(values = null) {\n      this.isQueryParams = true;\n      this.values = values;\n    }\n  }\n  _exports.default = QueryParams;\n});","define(\"@ember/-internals/routing/lib/system/route-info\", [], function () {\n  \"use strict\";\n\n  /**\n    A `RouteInfoWithAttributes` is an object that contains\n    metadata, including the resolved value from the routes\n    `model` hook. Like `RouteInfo`, a `RouteInfoWithAttributes`\n    represents a specific route within a Transition.\n    It is read-only and internally immutable. It is also not\n    observable, because a Transition instance is never\n    changed after creation.\n  \n    @class RouteInfoWithAttributes\n    @public\n  */\n\n  /**\n    The dot-separated, fully-qualified name of the\n    route, like \"people.index\".\n    @property {String} name\n    @public\n  */\n\n  /**\n    The final segment of the fully-qualified name of\n    the route, like \"index\"\n    @property {String} localName\n    @public\n  */\n\n  /**\n    The values of the route's parameters. These are the\n    same params that are received as arguments to the\n    route's model hook. Contains only the parameters\n    valid for this route, if any (params for parent or\n    child routes are not merged).\n    @property {Object} params\n    @public\n  */\n\n  /**\n    The ordered list of the names of the params\n    required for this route. It will contain the same\n    strings as `Object.keys(params)`, but here the order\n    is significant. This allows users to correctly pass\n    params into routes programmatically.\n    @property {Array} paramNames\n    @public\n  */\n\n  /**\n    The values of any queryParams on this route.\n    @property {Object} queryParams\n    @public\n  */\n\n  /**\n    This is the resolved return value from the\n    route's model hook.\n    @property {Object|Array|String} attributes\n    @public\n  */\n\n  /**\n    Will contain the result `Route#buildRouteInfoMetadata`\n    for the corresponding Route.\n    @property {Any} metadata\n    @public\n  */\n\n  /**\n    A reference to the parent route's RouteInfo.\n    This can be used to traverse upward to the topmost\n    `RouteInfo`.\n    @property {RouteInfo|null} parent\n    @public\n  */\n\n  /**\n    A reference to the child route's RouteInfo.\n    This can be used to traverse downward to the\n    leafmost `RouteInfo`.\n    @property {RouteInfo|null} child\n    @public\n  */\n\n  /**\n    Allows you to traverse through the linked list\n    of `RouteInfo`s from the topmost to leafmost.\n    Returns the first `RouteInfo` in the linked list\n    for which the callback returns true.\n  \n      This method is similar to the `find()` method\n      defined in ECMAScript 2015.\n  \n      The callback method you provide should have the\n      following signature (all parameters are optional):\n  \n      ```javascript\n      function(item, index, array);\n      ```\n  \n      - `item` is the current item in the iteration.\n      - `index` is the current index in the iteration.\n      - `array` is the array itself.\n  \n      It should return the `true` to include the item in\n      the results, `false` otherwise.\n  \n      Note that in addition to a callback, you can also\n      pass an optional target object that will be set as\n      `this` on the context.\n  \n    @method find\n    @param {Function} callback the callback to execute\n    @param {Object} [target*] optional target to use\n    @returns {Object} Found item or undefined\n    @public\n  */\n\n  /**\n    A RouteInfo is an object that contains metadata\n    about a specific route within a Transition. It is\n    read-only and internally immutable. It is also not\n    observable, because a Transition instance is never\n    changed after creation.\n  \n    @class RouteInfo\n    @public\n  */\n\n  /**\n    The dot-separated, fully-qualified name of the\n    route, like \"people.index\".\n    @property {String} name\n    @public\n  */\n\n  /**\n    The final segment of the fully-qualified name of\n    the route, like \"index\"\n    @property {String} localName\n    @public\n  */\n\n  /**\n    The values of the route's parameters. These are the\n    same params that are received as arguments to the\n    route's `model` hook. Contains only the parameters\n    valid for this route, if any (params for parent or\n    child routes are not merged).\n    @property {Object} params\n    @public\n  */\n\n  /**\n    The ordered list of the names of the params\n    required for this route. It will contain the same\n    strings as Object.keys(params), but here the order\n    is significant. This allows users to correctly pass\n    params into routes programmatically.\n    @property {Array} paramNames\n    @public\n  */\n\n  /**\n    The values of any queryParams on this route.\n    @property {Object} queryParams\n    @public\n  */\n\n  /**\n    Will contain the result `Route#buildRouteInfoMetadata`\n    for the corresponding Route.\n    @property {Any} metadata\n    @public\n  */\n\n  /**\n    A reference to the parent route's `RouteInfo`.\n    This can be used to traverse upward to the topmost\n    `RouteInfo`.\n    @property {RouteInfo|null} parent\n    @public\n  */\n\n  /**\n    A reference to the child route's `RouteInfo`.\n    This can be used to traverse downward to the\n    leafmost `RouteInfo`.\n    @property {RouteInfo|null} child\n    @public\n  */\n\n  /**\n    Allows you to traverse through the linked list\n    of `RouteInfo`s from the topmost to leafmost.\n    Returns the first `RouteInfo` in the linked list\n    for which the callback returns true.\n  \n      This method is similar to the `find()` method\n      defined in ECMAScript 2015.\n  \n      The callback method you provide should have the\n      following signature (all parameters are optional):\n  \n      ```javascript\n      function(item, index, array);\n      ```\n  \n      - `item` is the current item in the iteration.\n      - `index` is the current index in the iteration.\n      - `array` is the array itself.\n  \n      It should return the `true` to include the item in\n      the results, `false` otherwise.\n  \n      Note that in addition to a callback, you can also\n      pass an optional target object that will be set as\n      `this` on the context.\n  \n    @method find\n    @param {Function} callback the callback to execute\n    @param {Object} [target*] optional target to use\n    @returns {Object} Found item or undefined\n    @public\n  */\n});","define(\"@ember/-internals/routing/lib/system/route\", [\"exports\", \"@ember/polyfills\", \"@ember/-internals/container\", \"@ember/-internals/metal\", \"@ember/-internals/owner\", \"@ember/-internals/runtime\", \"@ember/-internals/utils\", \"@ember/debug\", \"@ember/deprecated-features\", \"@ember/object/compat\", \"@ember/runloop\", \"router_js\", \"@ember/-internals/routing/lib/utils\", \"@ember/-internals/routing/lib/system/generate_controller\"], function (_exports, _polyfills, _container, _metal, _owner, _runtime, _utils, _debug, _deprecatedFeatures, _compat, _runloop, _router_js, _utils2, _generate_controller) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _exports.ROUTE_CONNECTIONS = _exports.ROUTER_EVENT_DEPRECATIONS = void 0;\n  _exports.defaultSerialize = defaultSerialize;\n  _exports.getFullQueryParams = getFullQueryParams;\n  _exports.hasDefaultSerialize = hasDefaultSerialize;\n  var ROUTE_CONNECTIONS = _exports.ROUTE_CONNECTIONS = new WeakMap();\n  var RENDER = (0, _utils.symbol)('render');\n  function defaultSerialize(model, params) {\n    if (params.length < 1 || !model) {\n      return;\n    }\n    var object = {};\n    if (params.length === 1) {\n      var [name] = params;\n      if (name in model) {\n        object[name] = (0, _metal.get)(model, name);\n      } else if (/_id$/.test(name)) {\n        object[name] = (0, _metal.get)(model, 'id');\n      } else if ((0, _utils.isProxy)(model)) {\n        object[name] = (0, _metal.get)(model, name);\n      }\n    } else {\n      object = (0, _metal.getProperties)(model, params);\n    }\n    return object;\n  }\n  function hasDefaultSerialize(route) {\n    return route.serialize === defaultSerialize;\n  }\n  /**\n  @module @ember/routing\n  */\n\n  /**\n    The `Route` class is used to define individual routes. Refer to\n    the [routing guide](https://guides.emberjs.com/release/routing/) for documentation.\n  \n    @class Route\n    @extends EmberObject\n    @uses ActionHandler\n    @uses Evented\n    @since 1.0.0\n    @public\n  */\n\n  class Route extends _runtime.Object {\n    constructor(owner) {\n      super(...arguments);\n      this.context = {};\n      if (owner) {\n        var router = owner.lookup('router:main');\n        var bucketCache = owner.lookup((0, _container.privatize)`-bucket-cache:main`);\n        (true && !(router && bucketCache) && (0, _debug.assert)('ROUTER BUG: Expected route injections to be defined on the route. This is an internal bug, please open an issue on Github if you see this message!', router && bucketCache));\n        this._router = router;\n        this._bucketCache = bucketCache;\n        this._topLevelViewTemplate = owner.lookup('template:-outlet');\n        this._environment = owner.lookup('-environment:main');\n      }\n    }\n    /**\n      The name of the route, dot-delimited.\n         For example, a route found at `app/routes/posts/post.js` will have\n      a `routeName` of `posts.post`.\n         @property routeName\n      @for Route\n      @type String\n      @since 1.0.0\n      @public\n    */\n\n    /**\n      The name of the route, dot-delimited, including the engine prefix\n      if applicable.\n         For example, a route found at `addon/routes/posts/post.js` within an\n      engine named `admin` will have a `fullRouteName` of `admin.posts.post`.\n         @property fullRouteName\n      @for Route\n      @type String\n      @since 2.10.0\n      @public\n    */\n\n    /**\n      Sets the name for this route, including a fully resolved name for routes\n      inside engines.\n         @private\n      @method _setRouteName\n      @param {String} name\n    */\n\n    _setRouteName(name) {\n      this.routeName = name;\n      this.fullRouteName = getEngineRouteName((0, _owner.getOwner)(this), name);\n    }\n    /**\n      @private\n         @method _stashNames\n    */\n\n    _stashNames(routeInfo, dynamicParent) {\n      if (this._names) {\n        return;\n      }\n      var names = this._names = routeInfo['_names'];\n      if (!names.length) {\n        routeInfo = dynamicParent;\n        names = routeInfo && routeInfo['_names'] || [];\n      }\n      var qps = (0, _metal.get)(this, '_qp.qps');\n      var namePaths = new Array(names.length);\n      for (var a = 0; a < names.length; ++a) {\n        namePaths[a] = `${routeInfo.name}.${names[a]}`;\n      }\n      for (var i = 0; i < qps.length; ++i) {\n        var qp = qps[i];\n        if (qp.scope === 'model') {\n          qp.parts = namePaths;\n        }\n      }\n    }\n    /**\n      @private\n         @property _activeQPChanged\n    */\n\n    _activeQPChanged(qp, value) {\n      this._router._activeQPChanged(qp.scopedPropertyName, value);\n    }\n    /**\n      @private\n      @method _updatingQPChanged\n    */\n\n    _updatingQPChanged(qp) {\n      this._router._updatingQPChanged(qp.urlKey);\n    }\n    /**\n      Returns a hash containing the parameters of an ancestor route.\n         You may notice that `this.paramsFor` sometimes works when referring to a\n      child route, but this behavior should not be relied upon as only ancestor\n      routes are certain to be loaded in time.\n         Example\n         ```app/router.js\n      // ...\n         Router.map(function() {\n        this.route('member', { path: ':name' }, function() {\n          this.route('interest', { path: ':interest' });\n        });\n      });\n      ```\n         ```app/routes/member.js\n      import Route from '@ember/routing/route';\n         export default class MemberRoute extends Route {\n        queryParams = {\n          memberQp: { refreshModel: true }\n        }\n      }\n      ```\n         ```app/routes/member/interest.js\n      import Route from '@ember/routing/route';\n         export default class MemberInterestRoute extends Route {\n        queryParams = {\n          interestQp: { refreshModel: true }\n        }\n           model() {\n          return this.paramsFor('member');\n        }\n      }\n      ```\n         If we visit `/turing/maths?memberQp=member&interestQp=interest` the model for\n      the `member.interest` route is a hash with:\n         * `name`: `turing`\n      * `memberQp`: `member`\n         @method paramsFor\n      @param {String} name\n      @return {Object} hash containing the parameters of the route `name`\n      @since 1.4.0\n      @public\n    */\n\n    paramsFor(name) {\n      var route = (0, _owner.getOwner)(this).lookup(`route:${name}`);\n      if (route === undefined) {\n        return {};\n      }\n      var transition = this._router._routerMicrolib.activeTransition;\n      var state = transition ? transition[_router_js.STATE_SYMBOL] : this._router._routerMicrolib.state;\n      var fullName = route.fullRouteName;\n      var params = (0, _polyfills.assign)({}, state.params[fullName]);\n      var queryParams = getQueryParamsFor(route, state);\n      return Object.keys(queryParams).reduce((params, key) => {\n        (true && !(!params[key]) && (0, _debug.assert)(`The route '${this.routeName}' has both a dynamic segment and query param with name '${key}'. Please rename one to avoid collisions.`, !params[key]));\n        params[key] = queryParams[key];\n        return params;\n      }, params);\n    }\n    /**\n      Serializes the query parameter key\n         @method serializeQueryParamKey\n      @param {String} controllerPropertyName\n      @private\n    */\n\n    serializeQueryParamKey(controllerPropertyName) {\n      return controllerPropertyName;\n    }\n    /**\n      Serializes value of the query parameter based on defaultValueType\n         @method serializeQueryParam\n      @param {Object} value\n      @param {String} urlKey\n      @param {String} defaultValueType\n      @private\n    */\n\n    serializeQueryParam(value, _urlKey, defaultValueType) {\n      // urlKey isn't used here, but anyone overriding\n      // can use it to provide serialization specific\n      // to a certain query param.\n      return this._router._serializeQueryParam(value, defaultValueType);\n    }\n    /**\n      Deserializes value of the query parameter based on defaultValueType\n         @method deserializeQueryParam\n      @param {Object} value\n      @param {String} urlKey\n      @param {String} defaultValueType\n      @private\n    */\n\n    deserializeQueryParam(value, _urlKey, defaultValueType) {\n      // urlKey isn't used here, but anyone overriding\n      // can use it to provide deserialization specific\n      // to a certain query param.\n      return this._router._deserializeQueryParam(value, defaultValueType);\n    }\n    /**\n      @private\n         @property _optionsForQueryParam\n    */\n\n    _optionsForQueryParam(qp) {\n      return (0, _metal.get)(this, `queryParams.${qp.urlKey}`) || (0, _metal.get)(this, `queryParams.${qp.prop}`) || {};\n    }\n    /**\n      A hook you can use to reset controller values either when the model\n      changes or the route is exiting.\n         ```app/routes/articles.js\n      import Route from '@ember/routing/route';\n         export default class ArticlesRoute extends Route {\n        resetController(controller, isExiting, transition) {\n          if (isExiting && transition.targetName !== 'error') {\n            controller.set('page', 1);\n          }\n        }\n      }\n      ```\n         @method resetController\n      @param {Controller} controller instance\n      @param {Boolean} isExiting\n      @param {Object} transition\n      @since 1.7.0\n      @public\n    */\n\n    resetController(_controller, _isExiting, _transition) {\n      return this;\n    }\n    /**\n      @private\n         @method exit\n    */\n\n    exit(transition) {\n      this.deactivate(transition);\n      this.trigger('deactivate', transition);\n      this.teardownViews();\n    }\n    /**\n      @private\n         @method _internalReset\n      @since 3.6.0\n    */\n\n    _internalReset(isExiting, transition) {\n      var controller = this.controller;\n      controller['_qpDelegate'] = (0, _metal.get)(this, '_qp.states.inactive');\n      this.resetController(controller, isExiting, transition);\n    }\n    /**\n      @private\n         @method enter\n    */\n\n    enter(transition) {\n      ROUTE_CONNECTIONS.set(this, []);\n      this.activate(transition);\n      this.trigger('activate', transition);\n    }\n    /**\n      The `willTransition` action is fired at the beginning of any\n      attempted transition with a `Transition` object as the sole\n      argument. This action can be used for aborting, redirecting,\n      or decorating the transition from the currently active routes.\n         A good example is preventing navigation when a form is\n      half-filled out:\n         ```app/routes/contact-form.js\n      import Route from '@ember/routing/route';\n      import { action } from '@ember/object';\n         export default class ContactFormRoute extends Route {\n        @action\n        willTransition(transition) {\n          if (this.controller.get('userHasEnteredData')) {\n            this.controller.displayNavigationConfirm();\n            transition.abort();\n          }\n        }\n      }\n      ```\n         You can also redirect elsewhere by calling\n      `this.transitionTo('elsewhere')` from within `willTransition`.\n      Note that `willTransition` will not be fired for the\n      redirecting `transitionTo`, since `willTransition` doesn't\n      fire when there is already a transition underway. If you want\n      subsequent `willTransition` actions to fire for the redirecting\n      transition, you must first explicitly call\n      `transition.abort()`.\n         To allow the `willTransition` event to continue bubbling to the parent\n      route, use `return true;`. When the `willTransition` method has a\n      return value of `true` then the parent route's `willTransition` method\n      will be fired, enabling \"bubbling\" behavior for the event.\n         @event willTransition\n      @param {Transition} transition\n      @since 1.0.0\n      @public\n    */\n\n    /**\n      The `didTransition` action is fired after a transition has\n      successfully been completed. This occurs after the normal model\n      hooks (`beforeModel`, `model`, `afterModel`, `setupController`)\n      have resolved. The `didTransition` action has no arguments,\n      however, it can be useful for tracking page views or resetting\n      state on the controller.\n         ```app/routes/login.js\n      import Route from '@ember/routing/route';\n      import { action } from '@ember/object';\n         export default class LoginRoute extends Route {\n        @action\n        didTransition() {\n          this.controller.get('errors.base').clear();\n          return true; // Bubble the didTransition event\n        }\n      }\n      ```\n         @event didTransition\n      @since 1.2.0\n      @public\n    */\n\n    /**\n      The `loading` action is fired on the route when a route's `model`\n      hook returns a promise that is not already resolved. The current\n      `Transition` object is the first parameter and the route that\n      triggered the loading event is the second parameter.\n         ```app/routes/application.js\n      import Route from '@ember/routing/route';\n      import { action } from '@ember/object';\n         export default class ApplicationRoute extends Route {\n        @action\n        loading(transition, route) {\n          let controller = this.controllerFor('foo');\n             // The controller may not be instantiated when initially loading\n          if (controller) {\n            controller.currentlyLoading = true;\n               transition.finally(function() {\n              controller.currentlyLoading = false;\n            });\n          }\n        }\n      }\n      ```\n         @event loading\n      @param {Transition} transition\n      @param {Route} route The route that triggered the loading event\n      @since 1.2.0\n      @public\n    */\n\n    /**\n      When attempting to transition into a route, any of the hooks\n      may return a promise that rejects, at which point an `error`\n      action will be fired on the partially-entered routes, allowing\n      for per-route error handling logic, or shared error handling\n      logic defined on a parent route.\n         Here is an example of an error handler that will be invoked\n      for rejected promises from the various hooks on the route,\n      as well as any unhandled errors from child routes:\n         ```app/routes/admin.js\n      import { reject } from 'rsvp';\n      import Route from '@ember/routing/route';\n      import { action } from '@ember/object';\n         export default class AdminRoute extends Route {\n        beforeModel() {\n          return reject('bad things!');\n        }\n           @action\n        error(error, transition) {\n          // Assuming we got here due to the error in `beforeModel`,\n          // we can expect that error === \"bad things!\",\n          // but a promise model rejecting would also\n          // call this hook, as would any errors encountered\n          // in `afterModel`.\n             // The `error` hook is also provided the failed\n          // `transition`, which can be stored and later\n          // `.retry()`d if desired.\n             this.transitionTo('login');\n        }\n      }\n      ```\n         `error` actions that bubble up all the way to `ApplicationRoute`\n      will fire a default error handler that logs the error. You can\n      specify your own global default error handler by overriding the\n      `error` handler on `ApplicationRoute`:\n         ```app/routes/application.js\n      import Route from '@ember/routing/route';\n      import { action } from '@ember/object';\n         export default class ApplicationRoute extends Route {\n        @action\n        error(error, transition) {\n          this.controllerFor('banner').displayError(error.message);\n        }\n      }\n      ```\n      @event error\n      @param {Error} error\n      @param {Transition} transition\n      @since 1.0.0\n      @public\n    */\n\n    /**\n      This event is triggered when the router enters the route. It is\n      not executed when the model for the route changes.\n         ```app/routes/application.js\n      import { on } from '@ember/object/evented';\n      import Route from '@ember/routing/route';\n         export default Route.extend({\n        collectAnalytics: on('activate', function(){\n          collectAnalytics();\n        })\n      });\n      ```\n         @event activate\n      @since 1.9.0\n      @public\n    */\n\n    /**\n      This event is triggered when the router completely exits this\n      route. It is not executed when the model for the route changes.\n         ```app/routes/index.js\n      import { on } from '@ember/object/evented';\n      import Route from '@ember/routing/route';\n         export default Route.extend({\n        trackPageLeaveAnalytics: on('deactivate', function(){\n          trackPageLeaveAnalytics();\n        })\n      });\n      ```\n         @event deactivate\n      @since 1.9.0\n      @public\n    */\n\n    /**\n      This hook is executed when the router completely exits this route. It is\n      not executed when the model for the route changes.\n         @method deactivate\n      @param {Transition} transition\n      @since 1.0.0\n      @public\n    */\n\n    deactivate(_transition) {}\n    /**\n      This hook is executed when the router enters the route. It is not executed\n      when the model for the route changes.\n         @method activate\n      @param {Transition} transition\n      @since 1.0.0\n      @public\n    */\n\n    activate(_transition) {}\n    /**\n      Transition the application into another route. The route may\n      be either a single route or route path:\n         ```javascript\n      this.transitionTo('blogPosts');\n      this.transitionTo('blogPosts.recentEntries');\n      ```\n         Optionally supply a model for the route in question. The model\n      will be serialized into the URL using the `serialize` hook of\n      the route:\n         ```javascript\n      this.transitionTo('blogPost', aPost);\n      ```\n         If a literal is passed (such as a number or a string), it will\n      be treated as an identifier instead. In this case, the `model`\n      hook of the route will be triggered:\n         ```javascript\n      this.transitionTo('blogPost', 1);\n      ```\n         Multiple models will be applied last to first recursively up the\n      route tree.\n         ```app/routes.js\n      // ...\n         Router.map(function() {\n        this.route('blogPost', { path:':blogPostId' }, function() {\n          this.route('blogComment', { path: ':blogCommentId' });\n        });\n      });\n         export default Router;\n      ```\n         ```javascript\n      this.transitionTo('blogComment', aPost, aComment);\n      this.transitionTo('blogComment', 1, 13);\n      ```\n         It is also possible to pass a URL (a string that starts with a\n      `/`).\n         ```javascript\n      this.transitionTo('/');\n      this.transitionTo('/blog/post/1/comment/13');\n      this.transitionTo('/blog/posts?sort=title');\n      ```\n         An options hash with a `queryParams` property may be provided as\n      the final argument to add query parameters to the destination URL.\n         ```javascript\n      this.transitionTo('blogPost', 1, {\n        queryParams: { showComments: 'true' }\n      });\n         // if you just want to transition the query parameters without changing the route\n      this.transitionTo({ queryParams: { sort: 'date' } });\n      ```\n         See also [replaceWith](#method_replaceWith).\n         Simple Transition Example\n         ```app/routes.js\n      // ...\n         Router.map(function() {\n        this.route('index');\n        this.route('secret');\n        this.route('fourOhFour', { path: '*:' });\n      });\n         export default Router;\n      ```\n         ```app/routes/index.js\n      import Route from '@ember/routing/route';\n      import { action } from '@ember/object';\n         export default class IndexRoute extends Route {\n        @action\n        moveToSecret(context) {\n          if (authorized()) {\n            this.transitionTo('secret', context);\n          } else {\n            this.transitionTo('fourOhFour');\n          }\n        }\n      }\n      ```\n         Transition to a nested route\n         ```app/router.js\n      // ...\n         Router.map(function() {\n        this.route('articles', { path: '/articles' }, function() {\n          this.route('new');\n        });\n      });\n         export default Router;\n      ```\n         ```app/routes/index.js\n      import Route from '@ember/routing/route';\n      import { action } from '@ember/object';\n         export default class IndexRoute extends Route {\n        @action\n        transitionToNewArticle() {\n          this.transitionTo('articles.new');\n        }\n      }\n      ```\n         Multiple Models Example\n         ```app/router.js\n      // ...\n         Router.map(function() {\n        this.route('index');\n           this.route('breakfast', { path: ':breakfastId' }, function() {\n          this.route('cereal', { path: ':cerealId' });\n        });\n      });\n         export default Router;\n      ```\n         ```app/routes/index.js\n      import Route from '@ember/routing/route';\n      import { action } from '@ember/object';\n         export default class IndexRoute extends Route {\n        @action\n        moveToChocolateCereal() {\n          let cereal = { cerealId: 'ChocolateYumminess' };\n          let breakfast = { breakfastId: 'CerealAndMilk' };\n             this.transitionTo('breakfast.cereal', breakfast, cereal);\n        }\n      }\n      ```\n         Nested Route with Query String Example\n         ```app/routes.js\n      // ...\n         Router.map(function() {\n        this.route('fruits', function() {\n          this.route('apples');\n        });\n      });\n         export default Router;\n      ```\n         ```app/routes/index.js\n      import Route from '@ember/routing/route';\n         export default class IndexRoute extends Route {\n        @action\n        transitionToApples() {\n          this.transitionTo('fruits.apples', { queryParams: { color: 'red' } });\n        }\n      }\n      ```\n         @method transitionTo\n      @param {String} [name] the name of the route or a URL.\n      @param {...Object} [models] the model(s) or identifier(s) to be used while\n        transitioning to the route.\n      @param {Object} [options] optional hash with a queryParams property\n        containing a mapping of query parameters. May be supplied as the only\n        parameter to trigger a query-parameter-only transition.\n      @return {Transition} the transition object associated with this\n        attempted transition\n      @since 1.0.0\n      @deprecated Use transitionTo from the Router service instead.\n      @public\n    */\n\n    transitionTo(...args) {\n      (0, _utils2.deprecateTransitionMethods)('route', 'transitionTo');\n      return this._router.transitionTo(...(0, _utils2.prefixRouteNameArg)(this, args));\n    }\n    /**\n      Perform a synchronous transition into another route without attempting\n      to resolve promises, update the URL, or abort any currently active\n      asynchronous transitions (i.e. regular transitions caused by\n      `transitionTo` or URL changes).\n         This method is handy for performing intermediate transitions on the\n      way to a final destination route, and is called internally by the\n      default implementations of the `error` and `loading` handlers.\n         @method intermediateTransitionTo\n      @param {String} name the name of the route\n      @param {...Object} models the model(s) to be used while transitioning\n      to the route.\n      @since 1.2.0\n      @public\n     */\n\n    intermediateTransitionTo(...args) {\n      var [name, ...preparedArgs] = (0, _utils2.prefixRouteNameArg)(this, args);\n      this._router.intermediateTransitionTo(name, ...preparedArgs);\n    }\n    /**\n      Refresh the model on this route and any child routes, firing the\n      `beforeModel`, `model`, and `afterModel` hooks in a similar fashion\n      to how routes are entered when transitioning in from other route.\n      The current route params (e.g. `article_id`) will be passed in\n      to the respective model hooks, and if a different model is returned,\n      `setupController` and associated route hooks will re-fire as well.\n         An example usage of this method is re-querying the server for the\n      latest information using the same parameters as when the route\n      was first entered.\n         Note that this will cause `model` hooks to fire even on routes\n      that were provided a model object when the route was initially\n      entered.\n         @method refresh\n      @return {Transition} the transition object associated with this\n        attempted transition\n      @since 1.4.0\n      @public\n     */\n\n    refresh() {\n      return this._router._routerMicrolib.refresh(this);\n    }\n    /**\n      Transition into another route while replacing the current URL, if possible.\n      This will replace the current history entry instead of adding a new one.\n      Beside that, it is identical to `transitionTo` in all other respects. See\n      'transitionTo' for additional information regarding multiple models.\n         Example\n         ```app/router.js\n      // ...\n         Router.map(function() {\n        this.route('index');\n        this.route('secret');\n      });\n         export default Router;\n      ```\n         ```app/routes/secret.js\n      import Route from '@ember/routing/route';\n         export default class SecretRoute Route {\n        afterModel() {\n          if (!authorized()){\n            this.replaceWith('index');\n          }\n        }\n      }\n      ```\n         @method replaceWith\n      @param {String} name the name of the route or a URL\n      @param {...Object} models the model(s) or identifier(s) to be used while\n        transitioning to the route.\n      @param {Object} [options] optional hash with a queryParams property\n        containing a mapping of query parameters\n      @return {Transition} the transition object associated with this\n        attempted transition\n      @since 1.0.0\n      @public\n    */\n\n    replaceWith(...args) {\n      (0, _utils2.deprecateTransitionMethods)('route', 'replaceWith');\n      return this._router.replaceWith(...(0, _utils2.prefixRouteNameArg)(this, args));\n    }\n    /**\n      This hook is the entry point for router.js\n         @private\n      @method setup\n    */\n\n    setup(context, transition) {\n      var controllerName = this.controllerName || this.routeName;\n      var definedController = this.controllerFor(controllerName, true);\n      var controller;\n      if (definedController) {\n        controller = definedController;\n      } else {\n        controller = this.generateController(controllerName);\n      } // Assign the route's controller so that it can more easily be\n      // referenced in action handlers. Side effects. Side effects everywhere.\n\n      if (!this.controller) {\n        var qp = (0, _metal.get)(this, '_qp');\n        var propNames = qp !== undefined ? (0, _metal.get)(qp, 'propertyNames') : [];\n        addQueryParamsObservers(controller, propNames);\n        this.controller = controller;\n      }\n      var queryParams = (0, _metal.get)(this, '_qp');\n      var states = queryParams.states;\n      controller._qpDelegate = states.allowOverrides;\n      if (transition) {\n        // Update the model dep values used to calculate cache keys.\n        (0, _utils2.stashParamNames)(this._router, transition[_router_js.STATE_SYMBOL].routeInfos);\n        var cache = this._bucketCache;\n        var params = transition[_router_js.PARAMS_SYMBOL];\n        var allParams = queryParams.propertyNames;\n        allParams.forEach(prop => {\n          var aQp = queryParams.map[prop];\n          aQp.values = params;\n          var cacheKey = (0, _utils2.calculateCacheKey)(aQp.route.fullRouteName, aQp.parts, aQp.values);\n          var value = cache.lookup(cacheKey, prop, aQp.undecoratedDefaultValue);\n          (0, _metal.set)(controller, prop, value);\n        });\n        var qpValues = getQueryParamsFor(this, transition[_router_js.STATE_SYMBOL]);\n        (0, _metal.setProperties)(controller, qpValues);\n      }\n      this.setupController(controller, context, transition);\n      if (this._environment.options.shouldRender) {\n        (true && !(this.renderTemplate === Route.prototype.renderTemplate) && (0, _debug.deprecate)('Usage of `renderTemplate` is deprecated.', this.renderTemplate === Route.prototype.renderTemplate, {\n          id: 'route-render-template',\n          until: '4.0.0',\n          url: 'https://deprecations.emberjs.com/v3.x/#toc_route-render-template',\n          for: 'ember-source',\n          since: {\n            enabled: '3.27.0'\n          }\n        }));\n        this.renderTemplate(controller, context);\n      } // Setup can cause changes to QPs which need to be propogated immediately in\n      // some situations. Eventually, we should work on making these async somehow.\n\n      (0, _metal.flushAsyncObservers)(false);\n    }\n    /*\n      Called when a query parameter for this route changes, regardless of whether the route\n      is currently part of the active route hierarchy. This will update the query parameter's\n      value in the cache so if this route becomes active, the cache value has been updated.\n    */\n\n    _qpChanged(prop, value, qp) {\n      if (!qp) {\n        return;\n      } // Update model-dep cache\n\n      var cache = this._bucketCache;\n      var cacheKey = (0, _utils2.calculateCacheKey)(qp.route.fullRouteName, qp.parts, qp.values);\n      cache.stash(cacheKey, prop, value);\n    }\n    /**\n      This hook is the first of the route entry validation hooks\n      called when an attempt is made to transition into a route\n      or one of its children. It is called before `model` and\n      `afterModel`, and is appropriate for cases when:\n         1) A decision can be made to redirect elsewhere without\n         needing to resolve the model first.\n      2) Any async operations need to occur first before the\n         model is attempted to be resolved.\n         This hook is provided the current `transition` attempt\n      as a parameter, which can be used to `.abort()` the transition,\n      save it for a later `.retry()`, or retrieve values set\n      on it from a previous hook. You can also just call\n      `this.transitionTo` to another route to implicitly\n      abort the `transition`.\n         You can return a promise from this hook to pause the\n      transition until the promise resolves (or rejects). This could\n      be useful, for instance, for retrieving async code from\n      the server that is required to enter a route.\n         @method beforeModel\n      @param {Transition} transition\n      @return {any | Promise<any>} if the value returned from this hook is\n        a promise, the transition will pause until the transition\n        resolves. Otherwise, non-promise return values are not\n        utilized in any way.\n      @since 1.0.0\n      @public\n    */\n\n    beforeModel() {}\n    /**\n      This hook is called after this route's model has resolved.\n      It follows identical async/promise semantics to `beforeModel`\n      but is provided the route's resolved model in addition to\n      the `transition`, and is therefore suited to performing\n      logic that can only take place after the model has already\n      resolved.\n         ```app/routes/posts.js\n      import Route from '@ember/routing/route';\n         export default class PostsRoute extends Route {\n        afterModel(posts, transition) {\n          if (posts.get('length') === 1) {\n            this.transitionTo('post.show', posts.get('firstObject'));\n          }\n        }\n      }\n      ```\n         Refer to documentation for `beforeModel` for a description\n      of transition-pausing semantics when a promise is returned\n      from this hook.\n         @method afterModel\n      @param {Object} resolvedModel the value returned from `model`,\n        or its resolved value if it was a promise\n      @param {Transition} transition\n      @return {any | Promise<any>} if the value returned from this hook is\n        a promise, the transition will pause until the transition\n        resolves. Otherwise, non-promise return values are not\n        utilized in any way.\n      @since 1.0.0\n      @public\n     */\n\n    afterModel() {}\n    /**\n      A hook you can implement to optionally redirect to another route.\n         Calling `this.transitionTo` from inside of the `redirect` hook will\n      abort the current transition (into the route that has implemented `redirect`).\n         `redirect` and `afterModel` behave very similarly and are\n      called almost at the same time, but they have an important\n      distinction when calling `this.transitionTo` to a child route\n      of the current route. From `afterModel`, this new transition\n      invalidates the current transition, causing `beforeModel`,\n      `model`, and `afterModel` hooks to be called again. But the\n      same transition started from `redirect` does _not_ invalidate\n      the current transition. In other words, by the time the `redirect`\n      hook has been called, both the resolved model and the attempted\n      entry into this route are considered fully validated.\n         @method redirect\n      @param {Object} model the model for this route\n      @param {Transition} transition the transition object associated with the current transition\n      @since 1.0.0\n      @public\n    */\n\n    redirect() {}\n    /**\n      Called when the context is changed by router.js.\n         @private\n      @method contextDidChange\n    */\n\n    contextDidChange() {\n      this.currentModel = this.context;\n    }\n    /**\n      A hook you can implement to convert the URL into the model for\n      this route.\n         ```app/router.js\n      // ...\n         Router.map(function() {\n        this.route('post', { path: '/posts/:post_id' });\n      });\n         export default Router;\n      ```\n         The model for the `post` route is `store.findRecord('post', params.post_id)`.\n         By default, if your route has a dynamic segment ending in `_id`:\n         * The model class is determined from the segment (`post_id`'s\n        class is `App.Post`)\n      * The find method is called on the model class with the value of\n        the dynamic segment.\n         Note that for routes with dynamic segments, this hook is not always\n      executed. If the route is entered through a transition (e.g. when\n      using the `link-to` Handlebars helper or the `transitionTo` method\n      of routes), and a model context is already provided this hook\n      is not called.\n         A model context does not include a primitive string or number,\n      which does cause the model hook to be called.\n         Routes without dynamic segments will always execute the model hook.\n         ```javascript\n      // no dynamic segment, model hook always called\n      this.transitionTo('posts');\n         // model passed in, so model hook not called\n      thePost = store.findRecord('post', 1);\n      this.transitionTo('post', thePost);\n         // integer passed in, model hook is called\n      this.transitionTo('post', 1);\n         // model id passed in, model hook is called\n      // useful for forcing the hook to execute\n      thePost = store.findRecord('post', 1);\n      this.transitionTo('post', thePost.id);\n      ```\n         This hook follows the asynchronous/promise semantics\n      described in the documentation for `beforeModel`. In particular,\n      if a promise returned from `model` fails, the error will be\n      handled by the `error` hook on `Route`.\n         Example\n         ```app/routes/post.js\n      import Route from '@ember/routing/route';\n         export default class PostRoute extends Route {\n        model(params) {\n          return this.store.findRecord('post', params.post_id);\n        }\n      }\n      ```\n         @method model\n      @param {Object} params the parameters extracted from the URL\n      @param {Transition} transition\n      @return {any | Promise<any>} the model for this route. If\n        a promise is returned, the transition will pause until\n        the promise resolves, and the resolved value of the promise\n        will be used as the model for this route.\n      @since 1.0.0\n      @public\n    */\n\n    model(params, transition) {\n      var name, sawParams, value;\n      var queryParams = (0, _metal.get)(this, '_qp.map');\n      for (var prop in params) {\n        if (prop === 'queryParams' || queryParams && prop in queryParams) {\n          continue;\n        }\n        var match = prop.match(/^(.*)_id$/);\n        if (match !== null) {\n          name = match[1];\n          value = params[prop];\n        }\n        sawParams = true;\n      }\n      if (!name) {\n        if (sawParams) {\n          return (0, _polyfills.assign)({}, params);\n        } else {\n          if (transition.resolveIndex < 1) {\n            return;\n          }\n          return transition[_router_js.STATE_SYMBOL].routeInfos[transition.resolveIndex - 1].context;\n        }\n      }\n      return this.findModel(name, value);\n    }\n    /**\n      @private\n      @method deserialize\n      @param {Object} params the parameters extracted from the URL\n      @param {Transition} transition\n      @return {any | Promise<any>} the model for this route.\n         Router.js hook.\n     */\n\n    deserialize(_params, transition) {\n      return this.model(this._paramsFor(this.routeName, _params), transition);\n    }\n    /**\n         @method findModel\n      @param {String} type the model type\n      @param {Object} value the value passed to find\n      @private\n    */\n\n    findModel(...args) {\n      return (0, _metal.get)(this, 'store').find(...args);\n    }\n    /**\n      A hook you can use to setup the controller for the current route.\n         This method is called with the controller for the current route and the\n      model supplied by the `model` hook.\n         By default, the `setupController` hook sets the `model` property of\n      the controller to the specified `model` when it is not `undefined`.\n         If you implement the `setupController` hook in your Route, it will\n      prevent this default behavior. If you want to preserve that behavior\n      when implementing your `setupController` function, make sure to call\n      `super`:\n         ```app/routes/photos.js\n      import Route from '@ember/routing/route';\n         export default class PhotosRoute extends Route {\n        model() {\n          return this.store.findAll('photo');\n        }\n           setupController(controller, model) {\n          super.setupController(controller, model);\n             this.controllerFor('application').set('showingPhotos', true);\n        }\n      }\n      ```\n         The provided controller will be one resolved based on the name\n      of this route.\n         If no explicit controller is defined, Ember will automatically create one.\n         As an example, consider the router:\n         ```app/router.js\n      // ...\n         Router.map(function() {\n        this.route('post', { path: '/posts/:post_id' });\n      });\n         export default Router;\n      ```\n         If you have defined a file for the post controller,\n      the framework will use it.\n      If it is not defined, a basic `Controller` instance would be used.\n         @example Behavior of a basic Controller\n         ```app/routes/post.js\n      import Route from '@ember/routing/route';\n         export default class PostRoute extends Route {\n        setupController(controller, model) {\n          controller.set('model', model);\n        }\n      });\n      ```\n         @method setupController\n      @param {Controller} controller instance\n      @param {Object} model\n      @param {Object} transition\n      @since 1.0.0\n      @public\n    */\n\n    setupController(controller, context, _transition) {\n      // eslint-disable-line no-unused-vars\n      if (controller && context !== undefined) {\n        (0, _metal.set)(controller, 'model', context);\n      }\n    }\n    /**\n      Returns the controller of the current route, or a parent (or any ancestor)\n      route in a route hierarchy.\n         The controller instance must already have been created, either through entering the\n      associated route or using `generateController`.\n         ```app/routes/post.js\n      import Route from '@ember/routing/route';\n         export default class PostRoute extends Route {\n        setupController(controller, post) {\n          super.setupController(controller, post);\n             this.controllerFor('posts').set('currentPost', post);\n        }\n      }\n      ```\n         @method controllerFor\n      @param {String} name the name of the route or controller\n      @return {Controller}\n      @since 1.0.0\n      @public\n    */\n\n    controllerFor(name, _skipAssert) {\n      var owner = (0, _owner.getOwner)(this);\n      var route = owner.lookup(`route:${name}`);\n      if (route && route.controllerName) {\n        name = route.controllerName;\n      }\n      var controller = owner.lookup(`controller:${name}`); // NOTE: We're specifically checking that skipAssert is true, because according\n      //   to the old API the second parameter was model. We do not want people who\n      //   passed a model to skip the assertion.\n      (true && !(controller !== undefined || _skipAssert === true) && (0, _debug.assert)(`The controller named '${name}' could not be found. Make sure that this route exists and has already been entered at least once. If you are accessing a controller not associated with a route, make sure the controller class is explicitly defined.`, controller !== undefined || _skipAssert === true));\n      return controller;\n    }\n    /**\n      Generates a controller for a route.\n         Example\n         ```app/routes/post.js\n      import Route from '@ember/routing/route';\n         export default class Post extends Route {\n        setupController(controller, post) {\n          super.setupController(controller, post);\n             this.generateController('posts');\n        }\n      }\n      ```\n         @method generateController\n      @param {String} name the name of the controller\n      @private\n    */\n\n    generateController(name) {\n      var owner = (0, _owner.getOwner)(this);\n      return (0, _generate_controller.default)(owner, name);\n    }\n    /**\n      Returns the resolved model of a parent (or any ancestor) route\n      in a route hierarchy.  During a transition, all routes\n      must resolve a model object, and if a route\n      needs access to a parent route's model in order to\n      resolve a model (or just reuse the model from a parent),\n      it can call `this.modelFor(theNameOfParentRoute)` to\n      retrieve it. If the ancestor route's model was a promise,\n      its resolved result is returned.\n         Example\n         ```app/router.js\n      // ...\n         Router.map(function() {\n        this.route('post', { path: '/posts/:post_id' }, function() {\n          this.route('comments');\n        });\n      });\n         export default Router;\n      ```\n         ```app/routes/post/comments.js\n      import Route from '@ember/routing/route';\n         export default class PostCommentsRoute extends Route {\n        model() {\n          let post = this.modelFor('post');\n             return post.comments;\n        }\n      }\n      ```\n         @method modelFor\n      @param {String} name the name of the route\n      @return {Object} the model object\n      @since 1.0.0\n      @public\n    */\n\n    modelFor(_name) {\n      var name;\n      var owner = (0, _owner.getOwner)(this);\n      var transition = this._router && this._router._routerMicrolib ? this._router._routerMicrolib.activeTransition : undefined; // Only change the route name when there is an active transition.\n      // Otherwise, use the passed in route name.\n\n      if (owner.routable && transition !== undefined) {\n        name = getEngineRouteName(owner, _name);\n      } else {\n        name = _name;\n      }\n      var route = owner.lookup(`route:${name}`); // If we are mid-transition, we want to try and look up\n      // resolved parent contexts on the current transitionEvent.\n\n      if (transition !== undefined && transition !== null) {\n        var modelLookupName = route && route.routeName || name;\n        if (Object.prototype.hasOwnProperty.call(transition.resolvedModels, modelLookupName)) {\n          return transition.resolvedModels[modelLookupName];\n        }\n      }\n      return route && route.currentModel;\n    }\n    /**\n      `this[RENDER]` is used to render a template into a region of another template\n      (indicated by an `{{outlet}}`).\n         @method this[RENDER]\n      @param {String} name the name of the template to render\n      @param {Object} [options] the options\n      @param {String} [options.into] the template to render into,\n                      referenced by name. Defaults to the parent template\n      @param {String} [options.outlet] the outlet inside `options.into` to render into.\n                      Defaults to 'main'\n      @param {String|Object} [options.controller] the controller to use for this template,\n                      referenced by name or as a controller instance. Defaults to the Route's paired controller\n      @param {Object} [options.model] the model object to set on `options.controller`.\n                      Defaults to the return value of the Route's model hook\n      @private\n     */\n\n    [RENDER](name, options) {\n      var renderOptions = buildRenderOptions(this, name, options);\n      ROUTE_CONNECTIONS.get(this).push(renderOptions);\n      (0, _runloop.once)(this._router, '_setOutlets');\n    }\n    /**\n      A hook you can use to render the template for the current route.\n         This method is called with the controller for the current route and the\n      model supplied by the `model` hook. By default, it renders the route's\n      template, configured with the controller for the route.\n         This method can be overridden to set up and render additional or\n      alternative templates.\n         ```app/routes/posts.js\n      import Route from '@ember/routing/route';\n         export default class PostsRoute extends Route {\n        renderTemplate(controller, model) {\n          let favController = this.controllerFor('favoritePost');\n             // Render the `favoritePost` template into\n          // the outlet `posts`, and display the `favoritePost`\n          // controller.\n          this.render('favoritePost', {\n            outlet: 'posts',\n            controller: favController\n          });\n        }\n      }\n      ```\n         @method renderTemplate\n      @param {Object} controller the route's controller\n      @param {Object} model the route's model\n      @since 1.0.0\n      @public\n    */\n\n    renderTemplate(_controller, _model) {\n      // eslint-disable-line no-unused-vars\n      this[RENDER]();\n    }\n    /**\n      `render` is used to render a template into a region of another template\n      (indicated by an `{{outlet}}`). `render` is used both during the entry\n      phase of routing (via the `renderTemplate` hook) and later in response to\n      user interaction.\n         For example, given the following minimal router and templates:\n         ```app/router.js\n      // ...\n         Router.map(function() {\n        this.route('photos');\n      });\n         export default Router;\n      ```\n         ```handlebars\n      <!-- application.hbs -->\n      <div class='something-in-the-app-hbs'>\n        {{outlet \"anOutletName\"}}\n      </div>\n      ```\n         ```handlebars\n      <!-- photos.hbs -->\n      <h1>Photos</h1>\n      ```\n         You can render `photos.hbs` into the `\"anOutletName\"` outlet of\n      `application.hbs` by calling `render`:\n         ```app/routes/post.js\n      import Route from '@ember/routing/route';\n         export default class PostRoute extends Route {\n        renderTemplate() {\n          this.render('photos', {\n            into: 'application',\n            outlet: 'anOutletName'\n          })\n        }\n      }\n      ```\n         `render` additionally allows you to supply which `controller` and\n      `model` objects should be loaded and associated with the rendered template.\n         ```app/routes/posts.js\n      import Route from '@ember/routing/route';\n         export default class PostsRoute extends Route {\n        renderTemplate(controller, model) {\n          this.render('posts', {    // the template to render, referenced by name\n            into: 'application',    // the template to render into, referenced by name\n            outlet: 'anOutletName', // the outlet inside `options.into` to render into.\n            controller: 'someControllerName', // the controller to use for this template, referenced by name\n            model: model            // the model to set on `options.controller`.\n          })\n        }\n      }\n      ```\n         The string values provided for the template name, and controller\n      will eventually pass through to the resolver for lookup. See\n      Resolver for how these are mapped to JavaScript objects in your\n      application. The template to render into needs to be related to  either the\n      current route or one of its ancestors.\n         Not all options need to be passed to `render`. Default values will be used\n      based on the name of the route specified in the router or the Route's\n      `controllerName` and `templateName` properties.\n         For example:\n         ```app/router.js\n      // ...\n         Router.map(function() {\n        this.route('index');\n        this.route('post', { path: '/posts/:post_id' });\n      });\n         export default Router;\n      ```\n         ```app/routes/post.js\n      import Route from '@ember/routing/route';\n         export default class PostRoute extends Route {\n        renderTemplate() {\n          this.render(); // all defaults apply\n        }\n      }\n      ```\n         The name of the route, defined by the router, is `post`.\n         The following equivalent default options will be applied when\n      the Route calls `render`:\n         ```javascript\n      this.render('post', {  // the template name associated with 'post' Route\n        into: 'application', // the parent route to 'post' Route\n        outlet: 'main',      // {{outlet}} and {{outlet 'main'}} are synonymous,\n        controller: 'post',  // the controller associated with the 'post' Route\n      })\n      ```\n         By default the controller's `model` will be the route's model, so it does not\n      need to be passed unless you wish to change which model is being used.\n         @method render\n      @param {String} name the name of the template to render\n      @param {Object} [options] the options\n      @param {String} [options.into] the template to render into,\n                      referenced by name. Defaults to the parent template\n      @param {String} [options.outlet] the outlet inside `options.into` to render into.\n                      Defaults to 'main'\n      @param {String|Object} [options.controller] the controller to use for this template,\n                      referenced by name or as a controller instance. Defaults to the Route's paired controller\n      @param {Object} [options.model] the model object to set on `options.controller`.\n                      Defaults to the return value of the Route's model hook\n      @since 1.0.0\n      @public\n    */\n\n    render(name, options) {\n      (true && !(false) && (0, _debug.deprecate)(`Usage of \\`render\\` is deprecated. Route: \\`${this.routeName}\\``, false, {\n        id: 'route-render-template',\n        until: '4.0.0',\n        url: 'https://deprecations.emberjs.com/v3.x/#toc_route-render-template',\n        for: 'ember-source',\n        since: {\n          enabled: '3.27.0'\n        }\n      }));\n      this[RENDER](name, options);\n    }\n    /**\n      Disconnects a view that has been rendered into an outlet.\n         You may pass any or all of the following options to `disconnectOutlet`:\n         * `outlet`: the name of the outlet to clear (default: 'main')\n      * `parentView`: the name of the view containing the outlet to clear\n         (default: the view rendered by the parent route)\n         Example:\n         ```app/routes/application.js\n      import Route from '@ember/routing/route';\n      import { action } from '@ember/object';\n         export default class ApplicationRoute extends Route {\n        @action\n        showModal(evt) {\n          this.render(evt.modalName, {\n            outlet: 'modal',\n            into: 'application'\n          });\n        }\n           @action\n        hideModal() {\n          this.disconnectOutlet({\n            outlet: 'modal',\n            parentView: 'application'\n          });\n        }\n      }\n      ```\n         Alternatively, you can pass the `outlet` name directly as a string.\n         Example:\n         ```app/routes/application.js\n      import Route from '@ember/routing/route';\n      import { action } from '@ember/object';\n         export default class ApplicationRoute extends Route {\n        @action\n        showModal(evt) {\n          // ...\n        }\n           @action\n        hideModal(evt) {\n          this.disconnectOutlet('modal');\n        }\n      }\n      ```\n         @method disconnectOutlet\n      @param {Object|String} options the options hash or outlet name\n      @since 1.0.0\n      @public\n    */\n\n    disconnectOutlet(options) {\n      (true && !(false) && (0, _debug.deprecate)('The usage of `disconnectOutlet` is deprecated.', false, {\n        id: 'route-disconnect-outlet',\n        until: '4.0.0',\n        url: 'https://deprecations.emberjs.com/v3.x/#toc_route-disconnect-outlet',\n        for: 'ember-source',\n        since: {\n          enabled: '3.27.0'\n        }\n      }));\n      var outletName;\n      var parentView;\n      if (options) {\n        if (typeof options === 'string') {\n          outletName = options;\n        } else {\n          outletName = options.outlet;\n          parentView = options.parentView ? options.parentView.replace(/\\//g, '.') : undefined;\n          (true && !(!('outlet' in options && options.outlet === undefined)) && (0, _debug.assert)('You passed undefined as the outlet name.', !('outlet' in options && options.outlet === undefined)));\n        }\n      }\n      outletName = outletName || 'main';\n      this._disconnectOutlet(outletName, parentView);\n      var routeInfos = this._router._routerMicrolib.currentRouteInfos;\n      for (var i = 0; i < routeInfos.length; i++) {\n        // This non-local state munging is sadly necessary to maintain\n        // backward compatibility with our existing semantics, which allow\n        // any route to disconnectOutlet things originally rendered by any\n        // other route. This should all get cut in 2.0.\n        routeInfos[i].route._disconnectOutlet(outletName, parentView);\n      }\n    }\n    _disconnectOutlet(outletName, parentView) {\n      var parent = parentRoute(this);\n      if (parent && parentView === parent.routeName) {\n        parentView = undefined;\n      }\n      var connections = ROUTE_CONNECTIONS.get(this);\n      for (var i = 0; i < connections.length; i++) {\n        var connection = connections[i];\n        if (connection.outlet === outletName && connection.into === parentView) {\n          // This neuters the disconnected outlet such that it doesn't\n          // render anything, but it leaves an entry in the outlet\n          // hierarchy so that any existing other renders that target it\n          // don't suddenly blow up. They will still stick themselves\n          // into its outlets, which won't render anywhere. All of this\n          // statefulness should get the machete in 2.0.\n          connections[i] = {\n            owner: connection.owner,\n            into: connection.into,\n            outlet: connection.outlet,\n            name: connection.name,\n            controller: undefined,\n            template: undefined,\n            model: undefined\n          };\n          (0, _runloop.once)(this._router, '_setOutlets');\n        }\n      }\n    }\n    willDestroy() {\n      this.teardownViews();\n    }\n    /**\n      @private\n         @method teardownViews\n    */\n\n    teardownViews() {\n      var connections = ROUTE_CONNECTIONS.get(this);\n      if (connections !== undefined && connections.length > 0) {\n        ROUTE_CONNECTIONS.set(this, []);\n        (0, _runloop.once)(this._router, '_setOutlets');\n      }\n    }\n    /**\n      Allows you to produce custom metadata for the route.\n      The return value of this method will be attached to\n      its corresponding RouteInfoWithAttributes object.\n         Example\n         ```app/routes/posts/index.js\n      import Route from '@ember/routing/route';\n         export default class PostsIndexRoute extends Route {\n        buildRouteInfoMetadata() {\n          return { title: 'Posts Page' }\n        }\n      }\n      ```\n         ```app/routes/application.js\n      import Route from '@ember/routing/route';\n      import { inject as service } from '@ember/service';\n         export default class ApplicationRoute extends Route {\n        @service router\n           constructor() {\n          super(...arguments);\n             this.router.on('routeDidChange', transition => {\n            document.title = transition.to.metadata.title;\n            // would update document's title to \"Posts Page\"\n          });\n        }\n      }\n      ```\n      @method buildRouteInfoMetadata\n      @return any\n      @since 3.10.0\n      @public\n     */\n\n    buildRouteInfoMetadata() {}\n  }\n  Route.reopenClass({\n    isRouteFactory: true\n  });\n  function parentRoute(route) {\n    var routeInfo = routeInfoFor(route, route._router._routerMicrolib.state.routeInfos, -1);\n    return routeInfo && routeInfo.route;\n  }\n  function routeInfoFor(route, routeInfos, offset = 0) {\n    if (!routeInfos) {\n      return;\n    }\n    var current;\n    for (var i = 0; i < routeInfos.length; i++) {\n      current = routeInfos[i].route;\n      if (current === route) {\n        return routeInfos[i + offset];\n      }\n    }\n    return;\n  }\n  function buildRenderOptions(route, nameOrOptions, options) {\n    var isDefaultRender = !nameOrOptions && !options;\n    var _name;\n    if (!isDefaultRender) {\n      if (typeof nameOrOptions === 'object' && !options) {\n        _name = route.templateName || route.routeName;\n        options = nameOrOptions;\n      } else {\n        (true && !(!(0, _metal.isEmpty)(nameOrOptions)) && (0, _debug.assert)('The name in the given arguments is undefined or empty string', !(0, _metal.isEmpty)(nameOrOptions)));\n        _name = nameOrOptions;\n      }\n    }\n    (true && !(isDefaultRender || !(options && 'outlet' in options && options.outlet === undefined)) && (0, _debug.assert)('You passed undefined as the outlet name.', isDefaultRender || !(options && 'outlet' in options && options.outlet === undefined)));\n    var owner = (0, _owner.getOwner)(route);\n    var name, templateName, into, outlet, model;\n    var controller = undefined;\n    if (options) {\n      into = options.into && options.into.replace(/\\//g, '.');\n      outlet = options.outlet;\n      controller = options.controller;\n      model = options.model;\n    }\n    outlet = outlet || 'main';\n    if (isDefaultRender) {\n      name = route.routeName;\n      templateName = route.templateName || name;\n    } else {\n      name = _name.replace(/\\//g, '.');\n      templateName = name;\n    }\n    if (controller === undefined) {\n      if (isDefaultRender) {\n        controller = route.controllerName || owner.lookup(`controller:${name}`);\n      } else {\n        controller = owner.lookup(`controller:${name}`) || route.controllerName || route.routeName;\n      }\n    }\n    if (typeof controller === 'string') {\n      var controllerName = controller;\n      controller = owner.lookup(`controller:${controllerName}`);\n      (true && !(isDefaultRender || controller !== undefined) && (0, _debug.assert)(`You passed \\`controller: '${controllerName}'\\` into the \\`render\\` method, but no such controller could be found.`, isDefaultRender || controller !== undefined));\n    }\n    if (model === undefined) {\n      model = route.currentModel;\n    } else {\n      controller.set('model', model);\n    }\n    var template = owner.lookup(`template:${templateName}`);\n    (true && !(isDefaultRender || template !== undefined) && (0, _debug.assert)(`Could not find \"${templateName}\" template, view, or component.`, isDefaultRender || template !== undefined));\n    var parent;\n    if (into && (parent = parentRoute(route)) && into === parent.routeName) {\n      into = undefined;\n    }\n    var renderOptions = {\n      owner,\n      into,\n      outlet,\n      name,\n      controller,\n      model,\n      template: template !== undefined ? template(owner) : route._topLevelViewTemplate(owner)\n    };\n    if (true /* DEBUG */) {\n      var LOG_VIEW_LOOKUPS = (0, _metal.get)(route._router, 'namespace.LOG_VIEW_LOOKUPS');\n      if (LOG_VIEW_LOOKUPS && !template) {\n        (0, _debug.info)(`Could not find \"${name}\" template. Nothing will be rendered`, {\n          fullName: `template:${name}`\n        });\n      }\n    }\n    return renderOptions;\n  }\n  function getFullQueryParams(router, state) {\n    if (state['fullQueryParams']) {\n      return state['fullQueryParams'];\n    }\n    var fullQueryParamsState = {};\n    var haveAllRouteInfosResolved = state.routeInfos.every(routeInfo => routeInfo.route);\n    (0, _polyfills.assign)(fullQueryParamsState, state.queryParams);\n    router._deserializeQueryParams(state.routeInfos, fullQueryParamsState); // only cache query params state if all routeinfos have resolved; it's possible\n    // for lazy routes to not have resolved when `getFullQueryParams` is called, so\n    // we wait until all routes have resolved prior to caching query params state\n\n    if (haveAllRouteInfosResolved) {\n      state['fullQueryParams'] = fullQueryParamsState;\n    }\n    return fullQueryParamsState;\n  }\n  function getQueryParamsFor(route, state) {\n    state['queryParamsFor'] = state['queryParamsFor'] || {};\n    var name = route.fullRouteName;\n    if (state['queryParamsFor'][name]) {\n      return state['queryParamsFor'][name];\n    }\n    var fullQueryParams = getFullQueryParams(route._router, state);\n    var params = state['queryParamsFor'][name] = {}; // Copy over all the query params for this route/controller into params hash.\n\n    var qps = (0, _metal.get)(route, '_qp.qps');\n    for (var i = 0; i < qps.length; ++i) {\n      // Put deserialized qp on params hash.\n      var qp = qps[i];\n      var qpValueWasPassedIn = qp.prop in fullQueryParams;\n      params[qp.prop] = qpValueWasPassedIn ? fullQueryParams[qp.prop] : copyDefaultValue(qp.defaultValue);\n    }\n    return params;\n  }\n  function copyDefaultValue(value) {\n    if (Array.isArray(value)) {\n      return (0, _runtime.A)(value.slice());\n    }\n    return value;\n  }\n  /*\n    Merges all query parameters from a controller with those from\n    a route, returning a new object and avoiding any mutations to\n    the existing objects.\n  */\n\n  function mergeEachQueryParams(controllerQP, routeQP) {\n    var qps = {};\n    var keysAlreadyMergedOrSkippable = {\n      defaultValue: true,\n      type: true,\n      scope: true,\n      as: true\n    }; // first loop over all controller qps, merging them with any matching route qps\n    // into a new empty object to avoid mutating.\n\n    for (var cqpName in controllerQP) {\n      if (!Object.prototype.hasOwnProperty.call(controllerQP, cqpName)) {\n        continue;\n      }\n      var newControllerParameterConfiguration = {};\n      (0, _polyfills.assign)(newControllerParameterConfiguration, controllerQP[cqpName], routeQP[cqpName]);\n      qps[cqpName] = newControllerParameterConfiguration; // allows us to skip this QP when we check route QPs.\n\n      keysAlreadyMergedOrSkippable[cqpName] = true;\n    } // loop over all route qps, skipping those that were merged in the first pass\n    // because they also appear in controller qps\n\n    for (var rqpName in routeQP) {\n      if (!Object.prototype.hasOwnProperty.call(routeQP, rqpName) || keysAlreadyMergedOrSkippable[rqpName]) {\n        continue;\n      }\n      var newRouteParameterConfiguration = {};\n      (0, _polyfills.assign)(newRouteParameterConfiguration, routeQP[rqpName], controllerQP[rqpName]);\n      qps[rqpName] = newRouteParameterConfiguration;\n    }\n    return qps;\n  }\n  function addQueryParamsObservers(controller, propNames) {\n    propNames.forEach(prop => {\n      if ((0, _metal.descriptorForProperty)(controller, prop) === undefined) {\n        var desc = (0, _utils.lookupDescriptor)(controller, prop);\n        if (desc !== null && (typeof desc.get === 'function' || typeof desc.set === 'function')) {\n          (0, _metal.defineProperty)(controller, prop, (0, _compat.dependentKeyCompat)({\n            get: desc.get,\n            set: desc.set\n          }));\n        }\n      }\n      (0, _metal.addObserver)(controller, `${prop}.[]`, controller, controller._qpChanged, false);\n    });\n  }\n  function getEngineRouteName(engine, routeName) {\n    if (engine.routable) {\n      var prefix = engine.mountPoint;\n      if (routeName === 'application') {\n        return prefix;\n      } else {\n        return `${prefix}.${routeName}`;\n      }\n    }\n    return routeName;\n  }\n  /**\n      A hook you can implement to convert the route's model into parameters\n      for the URL.\n  \n      ```app/router.js\n      // ...\n  \n      Router.map(function() {\n        this.route('post', { path: '/posts/:post_id' });\n      });\n  \n      ```\n  \n      ```app/routes/post.js\n      import Route from '@ember/routing/route';\n  \n      export default class PostRoute extends Route {\n        model({ post_id }) {\n          // the server returns `{ id: 12 }`\n          return fetch(`/posts/${post_id}`;\n        }\n  \n        serialize(model) {\n          // this will make the URL `/posts/12`\n          return { post_id: model.id };\n        }\n      }\n      ```\n  \n      The default `serialize` method will insert the model's `id` into the\n      route's dynamic segment (in this case, `:post_id`) if the segment contains '_id'.\n      If the route has multiple dynamic segments or does not contain '_id', `serialize`\n      will return `getProperties(model, params)`\n  \n      This method is called when `transitionTo` is called with a context\n      in order to populate the URL.\n  \n      @method serialize\n      @param {Object} model the routes model\n      @param {Array} params an Array of parameter names for the current\n        route (in the example, `['post_id']`.\n      @return {Object} the serialized parameters\n      @since 1.0.0\n      @public\n    */\n\n  Route.prototype.serialize = defaultSerialize;\n  Route.reopen(_runtime.ActionHandler, _runtime.Evented, {\n    mergedProperties: ['queryParams'],\n    /**\n      Configuration hash for this route's queryParams. The possible\n      configuration options and their defaults are as follows\n      (assuming a query param whose controller property is `page`):\n         ```javascript\n      queryParams: {\n        page: {\n          // By default, controller query param properties don't\n          // cause a full transition when they are changed, but\n          // rather only cause the URL to update. Setting\n          // `refreshModel` to true will cause an \"in-place\"\n          // transition to occur, whereby the model hooks for\n          // this route (and any child routes) will re-fire, allowing\n          // you to reload models (e.g., from the server) using the\n          // updated query param values.\n          refreshModel: false,\n             // By default, changes to controller query param properties\n          // cause the URL to update via `pushState`, which means an\n          // item will be added to the browser's history, allowing\n          // you to use the back button to restore the app to the\n          // previous state before the query param property was changed.\n          // Setting `replace` to true will use `replaceState` (or its\n          // hash location equivalent), which causes no browser history\n          // item to be added. This options name and default value are\n          // the same as the `link-to` helper's `replace` option.\n          replace: false,\n             // By default, the query param URL key is the same name as\n          // the controller property name. Use `as` to specify a\n          // different URL key.\n          as: 'page'\n        }\n      }\n      ```\n         @property queryParams\n      @for Route\n      @type Object\n      @since 1.6.0\n      @public\n    */\n    queryParams: {},\n    /**\n      The name of the template to use by default when rendering this routes\n      template.\n         ```app/routes/posts/list.js\n      import Route from '@ember/routing/route';\n         export default class extends Route {\n        templateName = 'posts/list'\n      });\n      ```\n         ```app/routes/posts/index.js\n      import PostsList from '../posts/list';\n         export default class extends PostsList {};\n      ```\n         ```app/routes/posts/archived.js\n      import PostsList from '../posts/list';\n         export default class extends PostsList {};\n      ```\n         @property templateName\n      @type String\n      @default null\n      @since 1.4.0\n      @public\n    */\n    templateName: null,\n    /**\n      @private\n         @property _names\n    */\n    _names: null,\n    /**\n      The name of the controller to associate with this route.\n         By default, Ember will lookup a route's controller that matches the name\n      of the route (i.e. `posts.new`). However,\n      if you would like to define a specific controller to use, you can do so\n      using this property.\n         This is useful in many ways, as the controller specified will be:\n         * passed to the `setupController` method.\n      * used as the controller for the template being rendered by the route.\n      * returned from a call to `controllerFor` for the route.\n         @property controllerName\n      @type String\n      @default null\n      @since 1.4.0\n      @public\n    */\n    controllerName: null,\n    /**\n      Store property provides a hook for data persistence libraries to inject themselves.\n         By default, this store property provides the exact same functionality previously\n      in the model hook.\n         Currently, the required interface is:\n         `store.find(modelName, findArguments)`\n         @property store\n      @type {Object}\n      @private\n    */\n    store: (0, _metal.computed)({\n      get() {\n        var owner = (0, _owner.getOwner)(this);\n        var routeName = this.routeName;\n        return {\n          find(name, value) {\n            var modelClass = owner.factoryFor(`model:${name}`);\n            (true && !(Boolean(modelClass)) && (0, _debug.assert)(`You used the dynamic segment \\`${name}_id\\` in your route ` + `\\`${routeName}\\` for which Ember requires you provide a ` + `data-loading implementation. Commonly, that is done by ` + `adding a model hook implementation on the route ` + `(\\`model({${name}_id}) {\\`) or by injecting an implemention of ` + `a data store: \\`@service store;\\`.`, Boolean(modelClass)));\n            if (!modelClass) {\n              return;\n            }\n            modelClass = modelClass.class;\n            (true && !(typeof modelClass.find === 'function') && (0, _debug.assert)(`You used the dynamic segment \\`${name}_id\\` in your route ` + `\\`${routeName}\\` for which Ember requires you provide a ` + `data-loading implementation. Commonly, that is done by ` + `adding a model hook implementation on the route ` + `(\\`model({${name}_id}) {\\`) or by injecting an implemention of ` + `a data store: \\`@service store;\\`.\\n\\n` + `Rarely, applications may attempt to use a legacy behavior where ` + `the model class (in this case \\`${name}\\`) is resolved and the ` + `\\`find\\` method on that class is invoked to load data. In this ` + `application, a model of \\`${name}\\` was found but it did not ` + `provide a \\`find\\` method. You should not add a \\`find\\` ` + `method to your model. Instead, please implement an appropriate ` + `\\`model\\` hook on the \\`${routeName}\\` route.`, typeof modelClass.find === 'function'));\n            return modelClass.find(value);\n          }\n        };\n      },\n      set(key, value) {\n        if (true /* DEBUG */ && (_container.deprecatedStoreInjections === null || _container.deprecatedStoreInjections === void 0 ? void 0 : _container.deprecatedStoreInjections.has(value))) {\n          Object.defineProperty(this, key, {\n            configurable: true,\n            enumerable: false,\n            get() {\n              (true && !(false) && (0, _debug.deprecate)(`A value for the \\`store\\` property was injected onto a route via the owner API. Implicit injection via the owner API is now deprecated, please add an explicit injection for this value. If the injected value is a service, consider using the @service decorator.`, false, {\n                id: 'implicit-injections',\n                until: '4.0.0',\n                url: 'https://deprecations.emberjs.com/v3.x/#toc_implicit-injections',\n                for: 'ember-source',\n                since: {\n                  enabled: '3.28.7'\n                }\n              }));\n              return value;\n            }\n          });\n        } else {\n          (0, _metal.defineProperty)(this, key, null, value);\n        }\n      }\n    }),\n    /**\n        @private\n           @property _qp\n      */\n    _qp: (0, _metal.computed)(function () {\n      var combinedQueryParameterConfiguration;\n      var controllerName = this.controllerName || this.routeName;\n      var owner = (0, _owner.getOwner)(this);\n      var controller = owner.lookup(`controller:${controllerName}`);\n      var queryParameterConfiguraton = (0, _metal.get)(this, 'queryParams');\n      var hasRouterDefinedQueryParams = Object.keys(queryParameterConfiguraton).length > 0;\n      if (controller) {\n        // the developer has authored a controller class in their application for\n        // this route find its query params and normalize their object shape them\n        // merge in the query params for the route. As a mergedProperty,\n        // Route#queryParams is always at least `{}`\n        var controllerDefinedQueryParameterConfiguration = (0, _metal.get)(controller, 'queryParams') || {};\n        var normalizedControllerQueryParameterConfiguration = (0, _utils2.normalizeControllerQueryParams)(controllerDefinedQueryParameterConfiguration);\n        combinedQueryParameterConfiguration = mergeEachQueryParams(normalizedControllerQueryParameterConfiguration, queryParameterConfiguraton);\n      } else if (hasRouterDefinedQueryParams) {\n        // the developer has not defined a controller but *has* supplied route query params.\n        // Generate a class for them so we can later insert default values\n        controller = (0, _generate_controller.default)(owner, controllerName);\n        combinedQueryParameterConfiguration = queryParameterConfiguraton;\n      }\n      var qps = [];\n      var map = {};\n      var propertyNames = [];\n      for (var propName in combinedQueryParameterConfiguration) {\n        if (!Object.prototype.hasOwnProperty.call(combinedQueryParameterConfiguration, propName)) {\n          continue;\n        } // to support the dubious feature of using unknownProperty\n        // on queryParams configuration\n\n        if (propName === 'unknownProperty' || propName === '_super') {\n          // possible todo: issue deprecation warning?\n          continue;\n        }\n        var desc = combinedQueryParameterConfiguration[propName];\n        var scope = desc.scope || 'model';\n        var parts = void 0;\n        if (scope === 'controller') {\n          parts = [];\n        }\n        var urlKey = desc.as || this.serializeQueryParamKey(propName);\n        var defaultValue = (0, _metal.get)(controller, propName);\n        defaultValue = copyDefaultValue(defaultValue);\n        var type = desc.type || (0, _runtime.typeOf)(defaultValue);\n        var defaultValueSerialized = this.serializeQueryParam(defaultValue, urlKey, type);\n        var scopedPropertyName = `${controllerName}:${propName}`;\n        var qp = {\n          undecoratedDefaultValue: (0, _metal.get)(controller, propName),\n          defaultValue,\n          serializedDefaultValue: defaultValueSerialized,\n          serializedValue: defaultValueSerialized,\n          type,\n          urlKey,\n          prop: propName,\n          scopedPropertyName,\n          controllerName,\n          route: this,\n          parts,\n          values: null,\n          scope\n        };\n        map[propName] = map[urlKey] = map[scopedPropertyName] = qp;\n        qps.push(qp);\n        propertyNames.push(propName);\n      }\n      return {\n        qps,\n        map,\n        propertyNames,\n        states: {\n          /*\n            Called when a query parameter changes in the URL, this route cares\n            about that query parameter, but the route is not currently\n            in the active route hierarchy.\n          */\n          inactive: (prop, value) => {\n            var qp = map[prop];\n            this._qpChanged(prop, value, qp);\n          },\n          /*\n            Called when a query parameter changes in the URL, this route cares\n            about that query parameter, and the route is currently\n            in the active route hierarchy.\n          */\n          active: (prop, value) => {\n            var qp = map[prop];\n            this._qpChanged(prop, value, qp);\n            return this._activeQPChanged(qp, value);\n          },\n          /*\n            Called when a value of a query parameter this route handles changes in a controller\n            and the route is currently in the active route hierarchy.\n          */\n          allowOverrides: (prop, value) => {\n            var qp = map[prop];\n            this._qpChanged(prop, value, qp);\n            return this._updatingQPChanged(qp);\n          }\n        }\n      };\n    }),\n    /**\n      Sends an action to the router, which will delegate it to the currently\n      active route hierarchy per the bubbling rules explained under `actions`.\n         Example\n         ```app/router.js\n      // ...\n         Router.map(function() {\n        this.route('index');\n      });\n         export default Router;\n      ```\n         ```app/routes/application.js\n      import Route from '@ember/routing/route';\n      import { action } from '@ember/object';\n         export default class ApplicationRoute extends Route {\n        @action\n        track(arg) {\n          console.log(arg, 'was clicked');\n        }\n      }\n      ```\n         ```app/routes/index.js\n      import Route from '@ember/routing/route';\n      import { action } from '@ember/object';\n         export default class IndexRoute extends Route {\n        @action\n        trackIfDebug(arg) {\n          if (debug) {\n            this.send('track', arg);\n          }\n        }\n      }\n      ```\n         @method send\n      @param {String} name the name of the action to trigger\n      @param {...*} args\n      @since 1.0.0\n      @public\n    */\n    send(...args) {\n      (true && !(!this.isDestroying && !this.isDestroyed) && (0, _debug.assert)(`Attempted to call .send() with the action '${args[0]}' on the destroyed route '${this.routeName}'.`, !this.isDestroying && !this.isDestroyed));\n      if (this._router && this._router._routerMicrolib || !(0, _debug.isTesting)()) {\n        this._router.send(...args);\n      } else {\n        var name = args.shift();\n        var action = this.actions[name];\n        if (action) {\n          return action.apply(this, args);\n        }\n      }\n    },\n    /**\n      The controller associated with this route.\n         Example\n         ```app/routes/form.js\n      import Route from '@ember/routing/route';\n      import { action } from '@ember/object';\n         export default class FormRoute extends Route {\n        @action\n        willTransition(transition) {\n          if (this.controller.get('userHasEnteredData') &&\n              !confirm('Are you sure you want to abandon progress?')) {\n            transition.abort();\n          } else {\n            // Bubble the `willTransition` action so that\n            // parent routes can decide whether or not to abort.\n            return true;\n          }\n        }\n      }\n      ```\n         @property controller\n      @type Controller\n      @since 1.6.0\n      @public\n    */\n    actions: {\n      /**\n      This action is called when one or more query params have changed. Bubbles.\n           @method queryParamsDidChange\n      @param changed {Object} Keys are names of query params that have changed.\n      @param totalPresent {Object} Keys are names of query params that are currently set.\n      @param removed {Object} Keys are names of query params that have been removed.\n      @returns {boolean}\n      @private\n      */\n      queryParamsDidChange(changed, _totalPresent, removed) {\n        var qpMap = (0, _metal.get)(this, '_qp').map;\n        var totalChanged = Object.keys(changed).concat(Object.keys(removed));\n        for (var i = 0; i < totalChanged.length; ++i) {\n          var qp = qpMap[totalChanged[i]];\n          if (qp && (0, _metal.get)(this._optionsForQueryParam(qp), 'refreshModel') && this._router.currentState) {\n            this.refresh();\n            break;\n          }\n        }\n        return true;\n      },\n      finalizeQueryParamChange(params, finalParams, transition) {\n        if (this.fullRouteName !== 'application') {\n          return true;\n        } // Transition object is absent for intermediate transitions.\n\n        if (!transition) {\n          return;\n        }\n        var routeInfos = transition[_router_js.STATE_SYMBOL].routeInfos;\n        var router = this._router;\n        var qpMeta = router._queryParamsFor(routeInfos);\n        var changes = router._qpUpdates;\n        var qpUpdated = false;\n        var replaceUrl;\n        (0, _utils2.stashParamNames)(router, routeInfos);\n        for (var i = 0; i < qpMeta.qps.length; ++i) {\n          var qp = qpMeta.qps[i];\n          var route = qp.route;\n          var controller = route.controller;\n          var presentKey = qp.urlKey in params && qp.urlKey; // Do a reverse lookup to see if the changed query\n          // param URL key corresponds to a QP property on\n          // this controller.\n\n          var value = void 0,\n            svalue = void 0;\n          if (changes.has(qp.urlKey)) {\n            // Value updated in/before setupController\n            value = (0, _metal.get)(controller, qp.prop);\n            svalue = route.serializeQueryParam(value, qp.urlKey, qp.type);\n          } else {\n            if (presentKey) {\n              svalue = params[presentKey];\n              if (svalue !== undefined) {\n                value = route.deserializeQueryParam(svalue, qp.urlKey, qp.type);\n              }\n            } else {\n              // No QP provided; use default value.\n              svalue = qp.serializedDefaultValue;\n              value = copyDefaultValue(qp.defaultValue);\n            }\n          }\n          controller._qpDelegate = (0, _metal.get)(route, '_qp.states.inactive');\n          var thisQueryParamChanged = svalue !== qp.serializedValue;\n          if (thisQueryParamChanged) {\n            if (transition.queryParamsOnly && replaceUrl !== false) {\n              var options = route._optionsForQueryParam(qp);\n              var replaceConfigValue = (0, _metal.get)(options, 'replace');\n              if (replaceConfigValue) {\n                replaceUrl = true;\n              } else if (replaceConfigValue === false) {\n                // Explicit pushState wins over any other replaceStates.\n                replaceUrl = false;\n              }\n            }\n            (0, _metal.set)(controller, qp.prop, value);\n            qpUpdated = true;\n          } // Stash current serialized value of controller.\n\n          qp.serializedValue = svalue;\n          var thisQueryParamHasDefaultValue = qp.serializedDefaultValue === svalue;\n          if (!thisQueryParamHasDefaultValue || transition._keepDefaultQueryParamValues) {\n            finalParams.push({\n              value: svalue,\n              visible: true,\n              key: presentKey || qp.urlKey\n            });\n          }\n        } // Some QPs have been updated, and those changes need to be propogated\n        // immediately. Eventually, we should work on making this async somehow.\n\n        if (qpUpdated === true) {\n          (0, _metal.flushAsyncObservers)(false);\n        }\n        if (replaceUrl) {\n          transition.method('replace');\n        }\n        qpMeta.qps.forEach(qp => {\n          var routeQpMeta = (0, _metal.get)(qp.route, '_qp');\n          var finalizedController = qp.route.controller;\n          finalizedController['_qpDelegate'] = (0, _metal.get)(routeQpMeta, 'states.active');\n        });\n        router._qpUpdates.clear();\n        return;\n      }\n    }\n  });\n  var ROUTER_EVENT_DEPRECATIONS;\n  if (_deprecatedFeatures.ROUTER_EVENTS) {\n    _exports.ROUTER_EVENT_DEPRECATIONS = ROUTER_EVENT_DEPRECATIONS = {\n      on(name) {\n        this._super(...arguments);\n        var hasDidTransition = name === 'didTransition';\n        var hasWillTransition = name === 'willTransition';\n        if (hasDidTransition) {\n          (true && !(false) && (0, _debug.deprecate)('You attempted to listen to the \"didTransition\" event which is deprecated. Please inject the router service and listen to the \"routeDidChange\" event.', false, {\n            id: 'deprecate-router-events',\n            until: '4.0.0',\n            url: 'https://deprecations.emberjs.com/v3.x#toc_deprecate-router-events',\n            for: 'ember-source',\n            since: {\n              enabled: '3.11.0'\n            }\n          }));\n        }\n        if (hasWillTransition) {\n          (true && !(false) && (0, _debug.deprecate)('You attempted to listen to the \"willTransition\" event which is deprecated. Please inject the router service and listen to the \"routeWillChange\" event.', false, {\n            id: 'deprecate-router-events',\n            until: '4.0.0',\n            url: 'https://deprecations.emberjs.com/v3.x#toc_deprecate-router-events',\n            for: 'ember-source',\n            since: {\n              enabled: '3.11.0'\n            }\n          }));\n        }\n      }\n    };\n    Route.reopen(ROUTER_EVENT_DEPRECATIONS, {\n      _paramsFor(routeName, params) {\n        var transition = this._router._routerMicrolib.activeTransition;\n        if (transition !== undefined) {\n          return this.paramsFor(routeName);\n        }\n        return params;\n      }\n    });\n  }\n  var _default = _exports.default = Route;\n});","define(\"@ember/-internals/routing/lib/system/router\", [\"exports\", \"@ember/-internals/container\", \"@ember/-internals/metal\", \"@ember/-internals/owner\", \"@ember/-internals/runtime\", \"@ember/debug\", \"@ember/deprecated-features\", \"@ember/error\", \"@ember/polyfills\", \"@ember/runloop\", \"@ember/-internals/routing/lib/location/api\", \"@ember/-internals/routing/lib/utils\", \"@ember/-internals/routing/lib/system/dsl\", \"@ember/-internals/routing/lib/system/route\", \"@ember/-internals/routing/lib/system/router_state\", \"router_js\"], function (_exports, _container, _metal, _owner, _runtime, _debug, _deprecatedFeatures, _error2, _polyfills, _runloop, _api, _utils, _dsl, _route, _router_state, _router_js) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.triggerEvent = triggerEvent;\n  function defaultDidTransition(infos) {\n    updatePaths(this);\n    this._cancelSlowTransitionTimer();\n    this.notifyPropertyChange('url');\n    this.set('currentState', this.targetState); // Put this in the runloop so url will be accurate. Seems\n    // less surprising than didTransition being out of sync.\n\n    (0, _runloop.once)(this, this.trigger, 'didTransition');\n    if (true /* DEBUG */) {\n      if (this.namespace.LOG_TRANSITIONS) {\n        // eslint-disable-next-line no-console\n        console.log(`Transitioned into '${EmberRouter._routePath(infos)}'`);\n      }\n    }\n  }\n  function defaultWillTransition(oldInfos, newInfos, transition) {\n    (0, _runloop.once)(this, this.trigger, 'willTransition', transition);\n    if (true /* DEBUG */) {\n      if (this.namespace.LOG_TRANSITIONS) {\n        // eslint-disable-next-line no-console\n        console.log(`Preparing to transition from '${EmberRouter._routePath(oldInfos)}' to '${EmberRouter._routePath(newInfos)}'`);\n      }\n    }\n  }\n  var freezeRouteInfo;\n  if (true /* DEBUG */) {\n    freezeRouteInfo = transition => {\n      if (transition.from !== null && !Object.isFrozen(transition.from)) {\n        Object.freeze(transition.from);\n      }\n      if (transition.to !== null && !Object.isFrozen(transition.to)) {\n        Object.freeze(transition.to);\n      }\n    };\n  }\n  function K() {\n    return this;\n  }\n  var {\n    slice\n  } = Array.prototype;\n  /**\n    The `EmberRouter` class manages the application state and URLs. Refer to\n    the [routing guide](https://guides.emberjs.com/release/routing/) for documentation.\n  \n    @class EmberRouter\n    @extends EmberObject\n    @uses Evented\n    @public\n  */\n\n  class EmberRouter extends _runtime.Object {\n    constructor(owner) {\n      super(...arguments);\n      this._didSetupRouter = false;\n      this._initialTransitionStarted = false;\n      this.currentURL = null;\n      this.currentRouteName = null;\n      this.currentPath = null;\n      this.currentRoute = null;\n      this._qpCache = Object.create(null);\n      this._qpUpdates = new Set();\n      this._queuedQPChanges = {};\n      this._toplevelView = null;\n      this._handledErrors = new Set();\n      this._engineInstances = Object.create(null);\n      this._engineInfoByRoute = Object.create(null);\n      this.currentState = null;\n      this.targetState = null;\n      this._resetQueuedQueryParameterChanges();\n      this.namespace = owner.lookup('application:main');\n      var bucketCache = owner.lookup((0, _container.privatize)`-bucket-cache:main`);\n      (true && !(bucketCache !== undefined) && (0, _debug.assert)('BUG: BucketCache should always be present', bucketCache !== undefined));\n      this._bucketCache = bucketCache;\n      var routerService = owner.lookup('service:router');\n      (true && !(routerService !== undefined) && (0, _debug.assert)('BUG: RouterService should always be present', routerService !== undefined));\n      this._routerService = routerService;\n    }\n    _initRouterJs() {\n      var location = (0, _metal.get)(this, 'location');\n      var router = this;\n      var owner = (0, _owner.getOwner)(this);\n      var seen = Object.create(null);\n      class PrivateRouter extends _router_js.default {\n        getRoute(name) {\n          var routeName = name;\n          var routeOwner = owner;\n          var engineInfo = router._engineInfoByRoute[routeName];\n          if (engineInfo) {\n            var engineInstance = router._getEngineInstance(engineInfo);\n            routeOwner = engineInstance;\n            routeName = engineInfo.localFullName;\n          }\n          var fullRouteName = `route:${routeName}`;\n          var route = routeOwner.lookup(fullRouteName);\n          if (seen[name]) {\n            return route;\n          }\n          seen[name] = true;\n          if (!route) {\n            var DefaultRoute = routeOwner.factoryFor('route:basic').class;\n            routeOwner.register(fullRouteName, DefaultRoute.extend());\n            route = routeOwner.lookup(fullRouteName);\n            if (true /* DEBUG */) {\n              if (router.namespace.LOG_ACTIVE_GENERATION) {\n                (0, _debug.info)(`generated -> ${fullRouteName}`, {\n                  fullName: fullRouteName\n                });\n              }\n            }\n          }\n          route._setRouteName(routeName);\n          if (engineInfo && !(0, _route.hasDefaultSerialize)(route)) {\n            throw new Error('Defining a custom serialize method on an Engine route is not supported.');\n          }\n          return route;\n        }\n        getSerializer(name) {\n          var engineInfo = router._engineInfoByRoute[name]; // If this is not an Engine route, we fall back to the handler for serialization\n\n          if (!engineInfo) {\n            return;\n          }\n          return engineInfo.serializeMethod || _route.defaultSerialize;\n        }\n        updateURL(path) {\n          (0, _runloop.once)(() => {\n            location.setURL(path);\n            (0, _metal.set)(router, 'currentURL', path);\n          });\n        }\n        didTransition(infos) {\n          if (_deprecatedFeatures.ROUTER_EVENTS) {\n            if (router.didTransition !== defaultDidTransition) {\n              (true && !(false) && (0, _debug.deprecate)('You attempted to override the \"didTransition\" method which is deprecated. Please inject the router service and listen to the \"routeDidChange\" event.', false, {\n                id: 'deprecate-router-events',\n                until: '4.0.0',\n                url: 'https://deprecations.emberjs.com/v3.x#toc_deprecate-router-events',\n                for: 'ember-source',\n                since: {\n                  enabled: '3.11.0'\n                }\n              }));\n            }\n          }\n          router.didTransition(infos);\n        }\n        willTransition(oldInfos, newInfos, transition) {\n          if (_deprecatedFeatures.ROUTER_EVENTS) {\n            if (router.willTransition !== defaultWillTransition) {\n              (true && !(false) && (0, _debug.deprecate)('You attempted to override the \"willTransition\" method which is deprecated. Please inject the router service and listen to the \"routeWillChange\" event.', false, {\n                id: 'deprecate-router-events',\n                until: '4.0.0',\n                url: 'https://deprecations.emberjs.com/v3.x#toc_deprecate-router-events',\n                for: 'ember-source',\n                since: {\n                  enabled: '3.11.0'\n                }\n              }));\n            }\n          }\n          router.willTransition(oldInfos, newInfos, transition);\n        }\n        triggerEvent(routeInfos, ignoreFailure, name, args) {\n          return triggerEvent.bind(router)(routeInfos, ignoreFailure, name, args);\n        }\n        routeWillChange(transition) {\n          router.trigger('routeWillChange', transition);\n          if (true /* DEBUG */) {\n            freezeRouteInfo(transition);\n          }\n          router._routerService.trigger('routeWillChange', transition); // in case of intermediate transition we update the current route\n          // to make router.currentRoute.name consistent with router.currentRouteName\n          // see https://github.com/emberjs/ember.js/issues/19449\n\n          if (transition.isIntermediate) {\n            router.set('currentRoute', transition.to);\n          }\n        }\n        routeDidChange(transition) {\n          router.set('currentRoute', transition.to);\n          (0, _runloop.once)(() => {\n            router.trigger('routeDidChange', transition);\n            if (true /* DEBUG */) {\n              freezeRouteInfo(transition);\n            }\n            router._routerService.trigger('routeDidChange', transition);\n          });\n        }\n        transitionDidError(error, transition) {\n          if (error.wasAborted || transition.isAborted) {\n            // If the error was a transition erorr or the transition aborted\n            // log the abort.\n            return (0, _router_js.logAbort)(transition);\n          } else {\n            // Otherwise trigger the \"error\" event to attempt an intermediate\n            // transition into an error substate\n            transition.trigger(false, 'error', error.error, transition, error.route);\n            if (router._isErrorHandled(error.error)) {\n              // If we handled the error with a substate just roll the state back on\n              // the transition and send the \"routeDidChange\" event for landing on\n              // the error substate and return the error.\n              transition.rollback();\n              this.routeDidChange(transition);\n              return error.error;\n            } else {\n              // If it was not handled, abort the transition completely and return\n              // the error.\n              transition.abort();\n              return error.error;\n            }\n          }\n        }\n        replaceURL(url) {\n          if (location.replaceURL) {\n            var doReplaceURL = () => {\n              location.replaceURL(url);\n              (0, _metal.set)(router, 'currentURL', url);\n            };\n            (0, _runloop.once)(doReplaceURL);\n          } else {\n            this.updateURL(url);\n          }\n        }\n      }\n      var routerMicrolib = this._routerMicrolib = new PrivateRouter();\n      var dslCallbacks = this.constructor.dslCallbacks || [K];\n      var dsl = this._buildDSL();\n      dsl.route('application', {\n        path: '/',\n        resetNamespace: true,\n        overrideNameAssertion: true\n      }, function () {\n        for (var i = 0; i < dslCallbacks.length; i++) {\n          dslCallbacks[i].call(this);\n        }\n      });\n      if (true /* DEBUG */) {\n        if (this.namespace.LOG_TRANSITIONS_INTERNAL) {\n          routerMicrolib.log = console.log.bind(console); // eslint-disable-line no-console\n        }\n      }\n      routerMicrolib.map(dsl.generate());\n    }\n    _buildDSL() {\n      var enableLoadingSubstates = this._hasModuleBasedResolver();\n      var router = this;\n      var owner = (0, _owner.getOwner)(this);\n      var options = {\n        enableLoadingSubstates,\n        resolveRouteMap(name) {\n          return owner.factoryFor(`route-map:${name}`);\n        },\n        addRouteForEngine(name, engineInfo) {\n          if (!router._engineInfoByRoute[name]) {\n            router._engineInfoByRoute[name] = engineInfo;\n          }\n        }\n      };\n      return new _dsl.default(null, options);\n    }\n    /*\n      Resets all pending query parameter changes.\n      Called after transitioning to a new route\n      based on query parameter changes.\n    */\n\n    _resetQueuedQueryParameterChanges() {\n      this._queuedQPChanges = {};\n    }\n    _hasModuleBasedResolver() {\n      var owner = (0, _owner.getOwner)(this);\n      var resolver = (0, _metal.get)(owner, 'application.__registry__.resolver.moduleBasedResolver');\n      return Boolean(resolver);\n    }\n    /**\n      Initializes the current router instance and sets up the change handling\n      event listeners used by the instances `location` implementation.\n         A property named `initialURL` will be used to determine the initial URL.\n      If no value is found `/` will be used.\n         @method startRouting\n      @private\n    */\n\n    startRouting() {\n      if (this.setupRouter()) {\n        var initialURL = (0, _metal.get)(this, 'initialURL');\n        if (initialURL === undefined) {\n          initialURL = (0, _metal.get)(this, 'location').getURL();\n        }\n        var initialTransition = this.handleURL(initialURL);\n        if (initialTransition && initialTransition.error) {\n          throw initialTransition.error;\n        }\n      }\n    }\n    setupRouter() {\n      if (this._didSetupRouter) {\n        return false;\n      }\n      this._didSetupRouter = true;\n      this._setupLocation();\n      var location = (0, _metal.get)(this, 'location'); // Allow the Location class to cancel the router setup while it refreshes\n      // the page\n\n      if ((0, _metal.get)(location, 'cancelRouterSetup')) {\n        return false;\n      }\n      this._initRouterJs();\n      location.onUpdateURL(url => {\n        this.handleURL(url);\n      });\n      return true;\n    }\n    _setOutlets() {\n      // This is triggered async during Route#willDestroy.\n      // If the router is also being destroyed we do not want to\n      // to create another this._toplevelView (and leak the renderer)\n      if (this.isDestroying || this.isDestroyed) {\n        return;\n      }\n      var routeInfos = this._routerMicrolib.currentRouteInfos;\n      if (!routeInfos) {\n        return;\n      }\n      var defaultParentState;\n      var liveRoutes = null;\n      for (var i = 0; i < routeInfos.length; i++) {\n        var route = routeInfos[i].route;\n        var connections = _route.ROUTE_CONNECTIONS.get(route);\n        var ownState = void 0;\n        if (connections.length === 0) {\n          ownState = representEmptyRoute(liveRoutes, defaultParentState, route);\n        } else {\n          for (var j = 0; j < connections.length; j++) {\n            var appended = appendLiveRoute(liveRoutes, defaultParentState, connections[j]);\n            liveRoutes = appended.liveRoutes;\n            var {\n              name,\n              outlet\n            } = appended.ownState.render;\n            if (name === route.routeName || outlet === 'main') {\n              ownState = appended.ownState;\n            }\n          }\n        }\n        defaultParentState = ownState;\n      } // when a transitionTo happens after the validation phase\n      // during the initial transition _setOutlets is called\n      // when no routes are active. However, it will get called\n      // again with the correct values during the next turn of\n      // the runloop\n\n      if (!liveRoutes) {\n        return;\n      }\n      if (!this._toplevelView) {\n        var owner = (0, _owner.getOwner)(this);\n        var OutletView = owner.factoryFor('view:-outlet');\n        this._toplevelView = OutletView.create();\n        this._toplevelView.setOutletState(liveRoutes);\n        var instance = owner.lookup('-application-instance:main');\n        if (instance) {\n          instance.didCreateRootView(this._toplevelView);\n        }\n      } else {\n        this._toplevelView.setOutletState(liveRoutes);\n      }\n    }\n    handleURL(url) {\n      // Until we have an ember-idiomatic way of accessing #hashes, we need to\n      // remove it because router.js doesn't know how to handle it.\n      var _url = url.split(/#(.+)?/)[0];\n      return this._doURLTransition('handleURL', _url);\n    }\n    _doURLTransition(routerJsMethod, url) {\n      this._initialTransitionStarted = true;\n      var transition = this._routerMicrolib[routerJsMethod](url || '/');\n      didBeginTransition(transition, this);\n      return transition;\n    }\n    /**\n      Transition the application into another route. The route may\n      be either a single route or route path:\n         See [transitionTo](/ember/release/classes/Route/methods/transitionTo?anchor=transitionTo) for more info.\n         @method transitionTo\n      @param {String} name the name of the route or a URL\n      @param {...Object} models the model(s) or identifier(s) to be used while\n        transitioning to the route.\n      @param {Object} [options] optional hash with a queryParams property\n        containing a mapping of query parameters\n      @return {Transition} the transition object associated with this\n        attempted transition\n      @public\n    */\n\n    transitionTo(...args) {\n      if ((0, _utils.resemblesURL)(args[0])) {\n        (true && !(!this.isDestroying && !this.isDestroyed) && (0, _debug.assert)(`A transition was attempted from '${this.currentRouteName}' to '${args[0]}' but the application instance has already been destroyed.`, !this.isDestroying && !this.isDestroyed));\n        return this._doURLTransition('transitionTo', args[0]);\n      }\n      var {\n        routeName,\n        models,\n        queryParams\n      } = (0, _utils.extractRouteArgs)(args);\n      (true && !(!this.isDestroying && !this.isDestroyed) && (0, _debug.assert)(`A transition was attempted from '${this.currentRouteName}' to '${routeName}' but the application instance has already been destroyed.`, !this.isDestroying && !this.isDestroyed));\n      return this._doTransition(routeName, models, queryParams);\n    }\n    intermediateTransitionTo(name, ...args) {\n      this._routerMicrolib.intermediateTransitionTo(name, ...args);\n      updatePaths(this);\n      if (true /* DEBUG */) {\n        var infos = this._routerMicrolib.currentRouteInfos;\n        if (this.namespace.LOG_TRANSITIONS) {\n          // eslint-disable-next-line no-console\n          console.log(`Intermediate-transitioned into '${EmberRouter._routePath(infos)}'`);\n        }\n      }\n    }\n    replaceWith(...args) {\n      return this.transitionTo(...args).method('replace');\n    }\n    generate(name, ...args) {\n      var url = this._routerMicrolib.generate(name, ...args);\n      return this.location.formatURL(url);\n    }\n    /**\n      Determines if the supplied route is currently active.\n         @method isActive\n      @param routeName\n      @return {Boolean}\n      @private\n    */\n\n    isActive(routeName) {\n      return this._routerMicrolib.isActive(routeName);\n    }\n    /**\n      An alternative form of `isActive` that doesn't require\n      manual concatenation of the arguments into a single\n      array.\n         @method isActiveIntent\n      @param routeName\n      @param models\n      @param queryParams\n      @return {Boolean}\n      @private\n      @since 1.7.0\n    */\n\n    isActiveIntent(routeName, models, queryParams) {\n      return this.currentState.isActiveIntent(routeName, models, queryParams);\n    }\n    send(name, ...args) {\n      /*name, context*/\n      this._routerMicrolib.trigger(name, ...args);\n    }\n    /**\n      Does this router instance have the given route.\n         @method hasRoute\n      @return {Boolean}\n      @private\n    */\n\n    hasRoute(route) {\n      return this._routerMicrolib.hasRoute(route);\n    }\n    /**\n      Resets the state of the router by clearing the current route\n      handlers and deactivating them.\n         @private\n      @method reset\n     */\n\n    reset() {\n      this._didSetupRouter = false;\n      this._initialTransitionStarted = false;\n      if (this._routerMicrolib) {\n        this._routerMicrolib.reset();\n      }\n    }\n    willDestroy() {\n      if (this._toplevelView) {\n        this._toplevelView.destroy();\n        this._toplevelView = null;\n      }\n      super.willDestroy();\n      this.reset();\n      var instances = this._engineInstances;\n      for (var name in instances) {\n        for (var id in instances[name]) {\n          (0, _runloop.run)(instances[name][id], 'destroy');\n        }\n      }\n    }\n    /*\n      Called when an active route's query parameter has changed.\n      These changes are batched into a runloop run and trigger\n      a single transition.\n    */\n\n    _activeQPChanged(queryParameterName, newValue) {\n      this._queuedQPChanges[queryParameterName] = newValue;\n      (0, _runloop.once)(this, this._fireQueryParamTransition);\n    }\n    _updatingQPChanged(queryParameterName) {\n      this._qpUpdates.add(queryParameterName);\n    }\n    /*\n      Triggers a transition to a route based on query parameter changes.\n      This is called once per runloop, to batch changes.\n         e.g.\n         if these methods are called in succession:\n      this._activeQPChanged('foo', '10');\n        // results in _queuedQPChanges = { foo: '10' }\n      this._activeQPChanged('bar', false);\n        // results in _queuedQPChanges = { foo: '10', bar: false }\n         _queuedQPChanges will represent both of these changes\n      and the transition using `transitionTo` will be triggered\n      once.\n    */\n\n    _fireQueryParamTransition() {\n      this.transitionTo({\n        queryParams: this._queuedQPChanges\n      });\n      this._resetQueuedQueryParameterChanges();\n    }\n    _setupLocation() {\n      var location = this.location;\n      var rootURL = this.rootURL;\n      var owner = (0, _owner.getOwner)(this);\n      if ('string' === typeof location) {\n        var resolvedLocation = owner.lookup(`location:${location}`);\n        if (resolvedLocation !== undefined) {\n          location = (0, _metal.set)(this, 'location', resolvedLocation);\n        } else {\n          // Allow for deprecated registration of custom location API's\n          var options = {\n            implementation: location\n          };\n          location = (0, _metal.set)(this, 'location', _api.default.create(options));\n        }\n      }\n      if (location !== null && typeof location === 'object') {\n        if (rootURL) {\n          (0, _metal.set)(location, 'rootURL', rootURL);\n        } // Allow the location to do any feature detection, such as AutoLocation\n        // detecting history support. This gives it a chance to set its\n        // `cancelRouterSetup` property which aborts routing.\n\n        if (typeof location.detect === 'function') {\n          location.detect();\n        } // ensure that initState is called AFTER the rootURL is set on\n        // the location instance\n\n        if (typeof location.initState === 'function') {\n          location.initState();\n        }\n      }\n    }\n    /**\n      Serializes the given query params according to their QP meta information.\n         @private\n      @method _serializeQueryParams\n      @param {Arrray<RouteInfo>} routeInfos\n      @param {Object} queryParams\n      @return {Void}\n    */\n\n    _serializeQueryParams(routeInfos, queryParams) {\n      forEachQueryParam(this, routeInfos, queryParams, (key, value, qp) => {\n        if (qp) {\n          delete queryParams[key];\n          queryParams[qp.urlKey] = qp.route.serializeQueryParam(value, qp.urlKey, qp.type);\n        } else if (value === undefined) {\n          return; // We don't serialize undefined values\n        } else {\n          queryParams[key] = this._serializeQueryParam(value, (0, _runtime.typeOf)(value));\n        }\n      });\n    }\n    /**\n      Serializes the value of a query parameter based on a type\n         @private\n      @method _serializeQueryParam\n      @param {Object} value\n      @param {String} type\n    */\n\n    _serializeQueryParam(value, type) {\n      if (value === null || value === undefined) {\n        return value;\n      } else if (type === 'array') {\n        return JSON.stringify(value);\n      }\n      return `${value}`;\n    }\n    /**\n      Deserializes the given query params according to their QP meta information.\n         @private\n      @method _deserializeQueryParams\n      @param {Array<RouteInfo>} routeInfos\n      @param {Object} queryParams\n      @return {Void}\n    */\n\n    _deserializeQueryParams(routeInfos, queryParams) {\n      forEachQueryParam(this, routeInfos, queryParams, (key, value, qp) => {\n        // If we don't have QP meta info for a given key, then we do nothing\n        // because all values will be treated as strings\n        if (qp) {\n          delete queryParams[key];\n          queryParams[qp.prop] = qp.route.deserializeQueryParam(value, qp.urlKey, qp.type);\n        }\n      });\n    }\n    /**\n      Deserializes the value of a query parameter based on a default type\n         @private\n      @method _deserializeQueryParam\n      @param {Object} value\n      @param {String} defaultType\n    */\n\n    _deserializeQueryParam(value, defaultType) {\n      if (value === null || value === undefined) {\n        return value;\n      } else if (defaultType === 'boolean') {\n        return value === 'true';\n      } else if (defaultType === 'number') {\n        return Number(value).valueOf();\n      } else if (defaultType === 'array') {\n        return (0, _runtime.A)(JSON.parse(value));\n      }\n      return value;\n    }\n    /**\n      Removes (prunes) any query params with default values from the given QP\n      object. Default values are determined from the QP meta information per key.\n         @private\n      @method _pruneDefaultQueryParamValues\n      @param {Array<RouteInfo>} routeInfos\n      @param {Object} queryParams\n      @return {Void}\n    */\n\n    _pruneDefaultQueryParamValues(routeInfos, queryParams) {\n      var qps = this._queryParamsFor(routeInfos);\n      for (var key in queryParams) {\n        var qp = qps.map[key];\n        if (qp && qp.serializedDefaultValue === queryParams[key]) {\n          delete queryParams[key];\n        }\n      }\n    }\n    _doTransition(_targetRouteName, models, _queryParams, _keepDefaultQueryParamValues) {\n      var targetRouteName = _targetRouteName || (0, _utils.getActiveTargetName)(this._routerMicrolib);\n      (true && !(Boolean(targetRouteName) && this._routerMicrolib.hasRoute(targetRouteName)) && (0, _debug.assert)(`The route ${targetRouteName} was not found`, Boolean(targetRouteName) && this._routerMicrolib.hasRoute(targetRouteName)));\n      this._initialTransitionStarted = true;\n      var queryParams = {};\n      this._processActiveTransitionQueryParams(targetRouteName, models, queryParams, _queryParams);\n      (0, _polyfills.assign)(queryParams, _queryParams);\n      this._prepareQueryParams(targetRouteName, models, queryParams, Boolean(_keepDefaultQueryParamValues));\n      var transition = this._routerMicrolib.transitionTo(targetRouteName, ...models, {\n        queryParams\n      });\n      didBeginTransition(transition, this);\n      return transition;\n    }\n    _processActiveTransitionQueryParams(targetRouteName, models, queryParams, _queryParams) {\n      // merge in any queryParams from the active transition which could include\n      // queryParams from the url on initial load.\n      if (!this._routerMicrolib.activeTransition) {\n        return;\n      }\n      var unchangedQPs = {};\n      var qpUpdates = this._qpUpdates;\n      var params = (0, _route.getFullQueryParams)(this, this._routerMicrolib.activeTransition[_router_js.STATE_SYMBOL]);\n      for (var key in params) {\n        if (!qpUpdates.has(key)) {\n          unchangedQPs[key] = params[key];\n        }\n      } // We need to fully scope queryParams so that we can create one object\n      // that represents both passed-in queryParams and ones that aren't changed\n      // from the active transition.\n\n      this._fullyScopeQueryParams(targetRouteName, models, _queryParams);\n      this._fullyScopeQueryParams(targetRouteName, models, unchangedQPs);\n      (0, _polyfills.assign)(queryParams, unchangedQPs);\n    }\n    /**\n      Prepares the query params for a URL or Transition. Restores any undefined QP\n      keys/values, serializes all values, and then prunes any default values.\n         @private\n      @method _prepareQueryParams\n      @param {String} targetRouteName\n      @param {Array<Object>} models\n      @param {Object} queryParams\n      @param {boolean} keepDefaultQueryParamValues\n      @return {Void}\n    */\n\n    _prepareQueryParams(targetRouteName, models, queryParams, _fromRouterService) {\n      var state = calculatePostTransitionState(this, targetRouteName, models);\n      this._hydrateUnsuppliedQueryParams(state, queryParams, Boolean(_fromRouterService));\n      this._serializeQueryParams(state.routeInfos, queryParams);\n      if (!_fromRouterService) {\n        this._pruneDefaultQueryParamValues(state.routeInfos, queryParams);\n      }\n    }\n    /**\n      Returns the meta information for the query params of a given route. This\n      will be overridden to allow support for lazy routes.\n         @private\n      @method _getQPMeta\n      @param {RouteInfo} routeInfo\n      @return {Object}\n    */\n\n    _getQPMeta(routeInfo) {\n      var route = routeInfo.route;\n      return route && (0, _metal.get)(route, '_qp');\n    }\n    /**\n      Returns a merged query params meta object for a given set of routeInfos.\n      Useful for knowing what query params are available for a given route hierarchy.\n         @private\n      @method _queryParamsFor\n      @param {Array<RouteInfo>} routeInfos\n      @return {Object}\n     */\n\n    _queryParamsFor(routeInfos) {\n      var routeInfoLength = routeInfos.length;\n      var leafRouteName = routeInfos[routeInfoLength - 1].name;\n      var cached = this._qpCache[leafRouteName];\n      if (cached !== undefined) {\n        return cached;\n      }\n      var shouldCache = true;\n      var map = {};\n      var qps = [];\n      var qpsByUrlKey = true /* DEBUG */ ? {} : null;\n      var qpMeta;\n      var qp;\n      var urlKey;\n      var qpOther;\n      for (var i = 0; i < routeInfoLength; ++i) {\n        qpMeta = this._getQPMeta(routeInfos[i]);\n        if (!qpMeta) {\n          shouldCache = false;\n          continue;\n        } // Loop over each QP to make sure we don't have any collisions by urlKey\n\n        for (var _i = 0; _i < qpMeta.qps.length; _i++) {\n          qp = qpMeta.qps[_i];\n          if (true /* DEBUG */) {\n            urlKey = qp.urlKey;\n            qpOther = qpsByUrlKey[urlKey];\n            if (qpOther && qpOther.controllerName !== qp.controllerName) {\n              (true && !(false) && (0, _debug.assert)(`You're not allowed to have more than one controller property map to the same query param key, but both \\`${qpOther.scopedPropertyName}\\` and \\`${qp.scopedPropertyName}\\` map to \\`${urlKey}\\`. You can fix this by mapping one of the controller properties to a different query param key via the \\`as\\` config option, e.g. \\`${qpOther.prop}: { as: 'other-${qpOther.prop}' }\\``, false));\n            }\n            qpsByUrlKey[urlKey] = qp;\n          }\n          qps.push(qp);\n        }\n        (0, _polyfills.assign)(map, qpMeta.map);\n      }\n      var finalQPMeta = {\n        qps,\n        map\n      };\n      if (shouldCache) {\n        this._qpCache[leafRouteName] = finalQPMeta;\n      }\n      return finalQPMeta;\n    }\n    /**\n      Maps all query param keys to their fully scoped property name of the form\n      `controllerName:propName`.\n         @private\n      @method _fullyScopeQueryParams\n      @param {String} leafRouteName\n      @param {Array<Object>} contexts\n      @param {Object} queryParams\n      @return {Void}\n    */\n\n    _fullyScopeQueryParams(leafRouteName, contexts, queryParams) {\n      var state = calculatePostTransitionState(this, leafRouteName, contexts);\n      var routeInfos = state.routeInfos;\n      var qpMeta;\n      for (var i = 0, len = routeInfos.length; i < len; ++i) {\n        qpMeta = this._getQPMeta(routeInfos[i]);\n        if (!qpMeta) {\n          continue;\n        }\n        var qp = void 0;\n        var presentProp = void 0;\n        for (var j = 0, qpLen = qpMeta.qps.length; j < qpLen; ++j) {\n          qp = qpMeta.qps[j];\n          presentProp = qp.prop in queryParams && qp.prop || qp.scopedPropertyName in queryParams && qp.scopedPropertyName || qp.urlKey in queryParams && qp.urlKey;\n          if (presentProp) {\n            if (presentProp !== qp.scopedPropertyName) {\n              queryParams[qp.scopedPropertyName] = queryParams[presentProp];\n              delete queryParams[presentProp];\n            }\n          }\n        }\n      }\n    }\n    /**\n      Hydrates (adds/restores) any query params that have pre-existing values into\n      the given queryParams hash. This is what allows query params to be \"sticky\"\n      and restore their last known values for their scope.\n         @private\n      @method _hydrateUnsuppliedQueryParams\n      @param {TransitionState} state\n      @param {Object} queryParams\n      @return {Void}\n    */\n\n    _hydrateUnsuppliedQueryParams(state, queryParams, _fromRouterService) {\n      var routeInfos = state.routeInfos;\n      var appCache = this._bucketCache;\n      var qpMeta;\n      var qp;\n      var presentProp;\n      for (var i = 0; i < routeInfos.length; ++i) {\n        qpMeta = this._getQPMeta(routeInfos[i]);\n        if (!qpMeta) {\n          continue;\n        }\n        for (var j = 0, qpLen = qpMeta.qps.length; j < qpLen; ++j) {\n          qp = qpMeta.qps[j];\n          presentProp = qp.prop in queryParams && qp.prop || qp.scopedPropertyName in queryParams && qp.scopedPropertyName || qp.urlKey in queryParams && qp.urlKey;\n          (true && !(function () {\n            if (qp.urlKey === presentProp || qp.scopedPropertyName === presentProp) {\n              return true;\n            }\n            if (_fromRouterService && presentProp !== false && qp.urlKey !== qp.prop) {\n              // assumptions (mainly from current transitionTo_test):\n              // - this is only supposed to be run when there is an alias to a query param and the alias is used to set the param\n              // - when there is no alias: qp.urlKey == qp.prop\n              return false;\n            }\n            return true;\n          }()) && (0, _debug.assert)(`You passed the \\`${presentProp}\\` query parameter during a transition into ${qp.route.routeName}, please update to ${qp.urlKey}`, function () {\n            if (qp.urlKey === presentProp || qp.scopedPropertyName === presentProp) {\n              return true;\n            }\n            if (_fromRouterService && presentProp !== false && qp.urlKey !== qp.prop) {\n              return false;\n            }\n            return true;\n          }()));\n          if (presentProp) {\n            if (presentProp !== qp.scopedPropertyName) {\n              queryParams[qp.scopedPropertyName] = queryParams[presentProp];\n              delete queryParams[presentProp];\n            }\n          } else {\n            var cacheKey = (0, _utils.calculateCacheKey)(qp.route.fullRouteName, qp.parts, state.params);\n            (true && !(appCache) && (0, _debug.assert)('ROUTER BUG: expected appCache to be defined. This is an internal bug, please open an issue on Github if you see this message!', appCache));\n            queryParams[qp.scopedPropertyName] = appCache.lookup(cacheKey, qp.prop, qp.defaultValue);\n          }\n        }\n      }\n    }\n    _scheduleLoadingEvent(transition, originRoute) {\n      this._cancelSlowTransitionTimer();\n      this._slowTransitionTimer = (0, _runloop.scheduleOnce)('routerTransitions', this, '_handleSlowTransition', transition, originRoute);\n    }\n    _handleSlowTransition(transition, originRoute) {\n      if (!this._routerMicrolib.activeTransition) {\n        // Don't fire an event if we've since moved on from\n        // the transition that put us in a loading state.\n        return;\n      }\n      var targetState = new _router_state.default(this, this._routerMicrolib, this._routerMicrolib.activeTransition[_router_js.STATE_SYMBOL]);\n      this.set('targetState', targetState);\n      transition.trigger(true, 'loading', transition, originRoute);\n    }\n    _cancelSlowTransitionTimer() {\n      if (this._slowTransitionTimer) {\n        (0, _runloop.cancel)(this._slowTransitionTimer);\n      }\n      this._slowTransitionTimer = null;\n    } // These three helper functions are used to ensure errors aren't\n    // re-raised if they're handled in a route's error action.\n\n    _markErrorAsHandled(error) {\n      this._handledErrors.add(error);\n    }\n    _isErrorHandled(error) {\n      return this._handledErrors.has(error);\n    }\n    _clearHandledError(error) {\n      this._handledErrors.delete(error);\n    }\n    _getEngineInstance({\n      name,\n      instanceId,\n      mountPoint\n    }) {\n      var engineInstances = this._engineInstances;\n      if (!engineInstances[name]) {\n        engineInstances[name] = Object.create(null);\n      }\n      var engineInstance = engineInstances[name][instanceId];\n      if (!engineInstance) {\n        var owner = (0, _owner.getOwner)(this);\n        (true && !(owner.hasRegistration(`engine:${name}`)) && (0, _debug.assert)(`You attempted to mount the engine '${name}' in your router map, but the engine can not be found.`, owner.hasRegistration(`engine:${name}`)));\n        engineInstance = owner.buildChildEngineInstance(name, {\n          routable: true,\n          mountPoint\n        });\n        engineInstance.boot();\n        engineInstances[name][instanceId] = engineInstance;\n      }\n      return engineInstance;\n    }\n  }\n  /*\n    Helper function for iterating over routes in a set of routeInfos that are\n    at or above the given origin route. Example: if `originRoute` === 'foo.bar'\n    and the routeInfos given were for 'foo.bar.baz', then the given callback\n    will be invoked with the routes for 'foo.bar', 'foo', and 'application'\n    individually.\n  \n    If the callback returns anything other than `true`, then iteration will stop.\n  \n    @private\n    @param {Route} originRoute\n    @param {Array<RouteInfo>} routeInfos\n    @param {Function} callback\n    @return {Void}\n   */\n\n  function forEachRouteAbove(routeInfos, callback) {\n    for (var i = routeInfos.length - 1; i >= 0; --i) {\n      var routeInfo = routeInfos[i];\n      var route = routeInfo.route; // routeInfo.handler being `undefined` generally means either:\n      //\n      // 1. an error occurred during creation of the route in question\n      // 2. the route is across an async boundary (e.g. within an engine)\n      //\n      // In both of these cases, we cannot invoke the callback on that specific\n      // route, because it just doesn't exist...\n\n      if (route === undefined) {\n        continue;\n      }\n      if (callback(route, routeInfo) !== true) {\n        return;\n      }\n    }\n  } // These get invoked when an action bubbles above ApplicationRoute\n  // and are not meant to be overridable.\n\n  var defaultActionHandlers = {\n    willResolveModel(_routeInfos, transition, originRoute) {\n      this._scheduleLoadingEvent(transition, originRoute);\n    },\n    // Attempt to find an appropriate error route or substate to enter.\n    error(routeInfos, error, transition) {\n      var router = this;\n      var routeInfoWithError = routeInfos[routeInfos.length - 1];\n      forEachRouteAbove(routeInfos, (route, routeInfo) => {\n        // We don't check the leaf most routeInfo since that would\n        // technically be below where we're at in the route hierarchy.\n        if (routeInfo !== routeInfoWithError) {\n          // Check for the existence of an 'error' route.\n          var errorRouteName = findRouteStateName(route, 'error');\n          if (errorRouteName) {\n            router._markErrorAsHandled(error);\n            router.intermediateTransitionTo(errorRouteName, error);\n            return false;\n          }\n        } // Check for an 'error' substate route\n\n        var errorSubstateName = findRouteSubstateName(route, 'error');\n        if (errorSubstateName) {\n          router._markErrorAsHandled(error);\n          router.intermediateTransitionTo(errorSubstateName, error);\n          return false;\n        }\n        return true;\n      });\n      logError(error, `Error while processing route: ${transition.targetName}`);\n    },\n    // Attempt to find an appropriate loading route or substate to enter.\n    loading(routeInfos, transition) {\n      var router = this;\n      var routeInfoWithSlowLoading = routeInfos[routeInfos.length - 1];\n      forEachRouteAbove(routeInfos, (route, routeInfo) => {\n        // We don't check the leaf most routeInfos since that would\n        // technically be below where we're at in the route hierarchy.\n        if (routeInfo !== routeInfoWithSlowLoading) {\n          // Check for the existence of a 'loading' route.\n          var loadingRouteName = findRouteStateName(route, 'loading');\n          if (loadingRouteName) {\n            router.intermediateTransitionTo(loadingRouteName);\n            return false;\n          }\n        } // Check for loading substate\n\n        var loadingSubstateName = findRouteSubstateName(route, 'loading');\n        if (loadingSubstateName) {\n          router.intermediateTransitionTo(loadingSubstateName);\n          return false;\n        } // Don't bubble above pivot route.\n\n        return transition.pivotHandler !== route;\n      });\n    }\n  };\n  function logError(_error, initialMessage) {\n    var errorArgs = [];\n    var error;\n    if (_error && typeof _error === 'object' && typeof _error.errorThrown === 'object') {\n      error = _error.errorThrown;\n    } else {\n      error = _error;\n    }\n    if (initialMessage) {\n      errorArgs.push(initialMessage);\n    }\n    if (error) {\n      if (error.message) {\n        errorArgs.push(error.message);\n      }\n      if (error.stack) {\n        errorArgs.push(error.stack);\n      }\n      if (typeof error === 'string') {\n        errorArgs.push(error);\n      }\n    }\n    console.error(...errorArgs); //eslint-disable-line no-console\n  }\n  /**\n    Finds the name of the substate route if it exists for the given route. A\n    substate route is of the form `route_state`, such as `foo_loading`.\n  \n    @private\n    @param {Route} route\n    @param {String} state\n    @return {String}\n  */\n\n  function findRouteSubstateName(route, state) {\n    var owner = (0, _owner.getOwner)(route);\n    var {\n      routeName,\n      fullRouteName,\n      _router: router\n    } = route;\n    var substateName = `${routeName}_${state}`;\n    var substateNameFull = `${fullRouteName}_${state}`;\n    return routeHasBeenDefined(owner, router, substateName, substateNameFull) ? substateNameFull : '';\n  }\n  /**\n    Finds the name of the state route if it exists for the given route. A state\n    route is of the form `route.state`, such as `foo.loading`. Properly Handles\n    `application` named routes.\n  \n    @private\n    @param {Route} route\n    @param {String} state\n    @return {String}\n  */\n\n  function findRouteStateName(route, state) {\n    var owner = (0, _owner.getOwner)(route);\n    var {\n      routeName,\n      fullRouteName,\n      _router: router\n    } = route;\n    var stateName = routeName === 'application' ? state : `${routeName}.${state}`;\n    var stateNameFull = fullRouteName === 'application' ? state : `${fullRouteName}.${state}`;\n    return routeHasBeenDefined(owner, router, stateName, stateNameFull) ? stateNameFull : '';\n  }\n  /**\n    Determines whether or not a route has been defined by checking that the route\n    is in the Router's map and the owner has a registration for that route.\n  \n    @private\n    @param {Owner} owner\n    @param {Router} router\n    @param {String} localName\n    @param {String} fullName\n    @return {Boolean}\n  */\n\n  function routeHasBeenDefined(owner, router, localName, fullName) {\n    var routerHasRoute = router.hasRoute(fullName);\n    var ownerHasRoute = owner.hasRegistration(`template:${localName}`) || owner.hasRegistration(`route:${localName}`);\n    return routerHasRoute && ownerHasRoute;\n  }\n  function triggerEvent(routeInfos, ignoreFailure, name, args) {\n    if (!routeInfos) {\n      if (ignoreFailure) {\n        return;\n      }\n      throw new _error2.default(`Can't trigger action '${name}' because your app hasn't finished transitioning into its first route. To trigger an action on destination routes during a transition, you can call \\`.send()\\` on the \\`Transition\\` object passed to the \\`model/beforeModel/afterModel\\` hooks.`);\n    }\n    var eventWasHandled = false;\n    var routeInfo, handler, actionHandler;\n    for (var i = routeInfos.length - 1; i >= 0; i--) {\n      routeInfo = routeInfos[i];\n      handler = routeInfo.route;\n      actionHandler = handler && handler.actions && handler.actions[name];\n      if (actionHandler) {\n        if (actionHandler.apply(handler, args) === true) {\n          eventWasHandled = true;\n        } else {\n          // Should only hit here if a non-bubbling error action is triggered on a route.\n          if (name === 'error') {\n            handler._router._markErrorAsHandled(args[0]);\n          }\n          return;\n        }\n      }\n    }\n    var defaultHandler = defaultActionHandlers[name];\n    if (defaultHandler) {\n      defaultHandler.apply(this, [routeInfos, ...args]);\n      return;\n    }\n    if (!eventWasHandled && !ignoreFailure) {\n      throw new _error2.default(`Nothing handled the action '${name}'. If you did handle the action, this error can be caused by returning true from an action handler in a controller, causing the action to bubble.`);\n    }\n  }\n  function calculatePostTransitionState(emberRouter, leafRouteName, contexts) {\n    var state = emberRouter._routerMicrolib.applyIntent(leafRouteName, contexts);\n    var {\n      routeInfos,\n      params\n    } = state;\n    for (var i = 0; i < routeInfos.length; ++i) {\n      var routeInfo = routeInfos[i]; // If the routeInfo is not resolved, we serialize the context into params\n\n      if (!routeInfo.isResolved) {\n        params[routeInfo.name] = routeInfo.serialize(routeInfo.context);\n      } else {\n        params[routeInfo.name] = routeInfo.params;\n      }\n    }\n    return state;\n  }\n  function updatePaths(router) {\n    var infos = router._routerMicrolib.currentRouteInfos;\n    if (infos.length === 0) {\n      return;\n    }\n    var path = EmberRouter._routePath(infos);\n    var currentRouteName = infos[infos.length - 1].name;\n    var currentURL = router.get('location').getURL();\n    (0, _metal.set)(router, 'currentPath', path);\n    (0, _metal.set)(router, 'currentRouteName', currentRouteName);\n    (0, _metal.set)(router, 'currentURL', currentURL);\n    var appController = (0, _owner.getOwner)(router).lookup('controller:application');\n    if (!appController) {\n      // appController might not exist when top-level loading/error\n      // substates have been entered since ApplicationRoute hasn't\n      // actually been entered at that point.\n      return;\n    }\n    if (_deprecatedFeatures.APP_CTRL_ROUTER_PROPS) {\n      if (!('currentPath' in appController)) {\n        Object.defineProperty(appController, 'currentPath', {\n          get() {\n            (true && !(false) && (0, _debug.deprecate)('Accessing `currentPath` on `controller:application` is deprecated, use the `currentPath` property on `service:router` instead.', false, {\n              id: 'application-controller.router-properties',\n              until: '4.0.0',\n              url: 'https://deprecations.emberjs.com/v3.x#toc_application-controller-router-properties',\n              for: 'ember-source',\n              since: {\n                enabled: '3.10.0-beta.1'\n              }\n            }));\n            return (0, _metal.get)(router, 'currentPath');\n          }\n        });\n      }\n      (0, _metal.notifyPropertyChange)(appController, 'currentPath');\n      if (!('currentRouteName' in appController)) {\n        Object.defineProperty(appController, 'currentRouteName', {\n          get() {\n            (true && !(false) && (0, _debug.deprecate)('Accessing `currentRouteName` on `controller:application` is deprecated, use the `currentRouteName` property on `service:router` instead.', false, {\n              id: 'application-controller.router-properties',\n              until: '4.0.0',\n              url: 'https://deprecations.emberjs.com/v3.x#toc_application-controller-router-properties',\n              for: 'ember-source',\n              since: {\n                enabled: '3.10.0-beta.1'\n              }\n            }));\n            return (0, _metal.get)(router, 'currentRouteName');\n          }\n        });\n      }\n      (0, _metal.notifyPropertyChange)(appController, 'currentRouteName');\n    }\n  }\n  EmberRouter.reopenClass({\n    /**\n      The `Router.map` function allows you to define mappings from URLs to routes\n      in your application. These mappings are defined within the\n      supplied callback function using `this.route`.\n         The first parameter is the name of the route which is used by default as the\n      path name as well.\n         The second parameter is the optional options hash. Available options are:\n           * `path`: allows you to provide your own path as well as mark dynamic\n          segments.\n        * `resetNamespace`: false by default; when nesting routes, ember will\n          combine the route names to form the fully-qualified route name, which is\n          used with `{{link-to}}` or manually transitioning to routes. Setting\n          `resetNamespace: true` will cause the route not to inherit from its\n          parent route's names. This is handy for preventing extremely long route names.\n          Keep in mind that the actual URL path behavior is still retained.\n         The third parameter is a function, which can be used to nest routes.\n      Nested routes, by default, will have the parent route tree's route name and\n      path prepended to it's own.\n         ```app/router.js\n      Router.map(function(){\n        this.route('post', { path: '/post/:post_id' }, function() {\n          this.route('edit');\n          this.route('comments', { resetNamespace: true }, function() {\n            this.route('new');\n          });\n        });\n      });\n      ```\n         @method map\n      @param callback\n      @public\n    */\n    map(callback) {\n      if (!this.dslCallbacks) {\n        this.dslCallbacks = [];\n        this.reopenClass({\n          dslCallbacks: this.dslCallbacks\n        });\n      }\n      this.dslCallbacks.push(callback);\n      return this;\n    },\n    _routePath(routeInfos) {\n      var path = []; // We have to handle coalescing resource names that\n      // are prefixed with their parent's names, e.g.\n      // ['foo', 'foo.bar.baz'] => 'foo.bar.baz', not 'foo.foo.bar.baz'\n\n      function intersectionMatches(a1, a2) {\n        for (var i = 0; i < a1.length; ++i) {\n          if (a1[i] !== a2[i]) {\n            return false;\n          }\n        }\n        return true;\n      }\n      var name, nameParts, oldNameParts;\n      for (var i = 1; i < routeInfos.length; i++) {\n        name = routeInfos[i].name;\n        nameParts = name.split('.');\n        oldNameParts = slice.call(path);\n        while (oldNameParts.length) {\n          if (intersectionMatches(oldNameParts, nameParts)) {\n            break;\n          }\n          oldNameParts.shift();\n        }\n        path.push(...nameParts.slice(oldNameParts.length));\n      }\n      return path.join('.');\n    }\n  });\n  function didBeginTransition(transition, router) {\n    var routerState = new _router_state.default(router, router._routerMicrolib, transition[_router_js.STATE_SYMBOL]);\n    if (!router.currentState) {\n      router.set('currentState', routerState);\n    }\n    router.set('targetState', routerState);\n    transition.promise = transition.catch(error => {\n      if (router._isErrorHandled(error)) {\n        router._clearHandledError(error);\n      } else {\n        throw error;\n      }\n    }, 'Transition Error');\n  }\n  function forEachQueryParam(router, routeInfos, queryParams, callback) {\n    var qpCache = router._queryParamsFor(routeInfos);\n    for (var key in queryParams) {\n      if (!Object.prototype.hasOwnProperty.call(queryParams, key)) {\n        continue;\n      }\n      var value = queryParams[key];\n      var qp = qpCache.map[key];\n      callback(key, value, qp);\n    }\n  }\n  function findLiveRoute(liveRoutes, name) {\n    if (!liveRoutes) {\n      return;\n    }\n    var stack = [liveRoutes];\n    while (stack.length > 0) {\n      var test = stack.shift();\n      if (test.render.name === name) {\n        return test;\n      }\n      var outlets = test.outlets;\n      for (var outletName in outlets) {\n        stack.push(outlets[outletName]);\n      }\n    }\n    return;\n  }\n  function appendLiveRoute(liveRoutes, defaultParentState, renderOptions) {\n    var ownState = {\n      render: renderOptions,\n      outlets: Object.create(null),\n      wasUsed: false\n    };\n    var target;\n    if (renderOptions.into) {\n      target = findLiveRoute(liveRoutes, renderOptions.into);\n    } else {\n      target = defaultParentState;\n    }\n    if (target) {\n      (0, _metal.set)(target.outlets, renderOptions.outlet, ownState);\n    } else {\n      liveRoutes = ownState;\n    }\n    return {\n      liveRoutes,\n      ownState\n    };\n  }\n  function representEmptyRoute(liveRoutes, defaultParentState, {\n    routeName\n  }) {\n    // the route didn't render anything\n    var alreadyAppended = findLiveRoute(liveRoutes, routeName);\n    if (alreadyAppended) {\n      // But some other route has already rendered our default\n      // template, so that becomes the default target for any\n      // children we may have.\n      return alreadyAppended;\n    } else {\n      // Create an entry to represent our default template name,\n      // just so other routes can target it and inherit its place\n      // in the outlet hierarchy.\n      defaultParentState.outlets.main = {\n        render: {\n          name: routeName,\n          outlet: 'main'\n        },\n        outlets: {}\n      };\n      return defaultParentState;\n    }\n  }\n  EmberRouter.reopen(_runtime.Evented, {\n    /**\n      Handles updating the paths and notifying any listeners of the URL\n      change.\n         Triggers the router level `didTransition` hook.\n         For example, to notify google analytics when the route changes,\n      you could use this hook.  (Note: requires also including GA scripts, etc.)\n         ```javascript\n      import config from './config/environment';\n      import EmberRouter from '@ember/routing/router';\n      import { inject as service } from '@ember/service';\n         let Router = EmberRouter.extend({\n        location: config.locationType,\n           router: service(),\n           didTransition: function() {\n          this._super(...arguments);\n             ga('send', 'pageview', {\n            page: this.router.currentURL,\n            title: this.router.currentRouteName,\n          });\n        }\n      });\n      ```\n         @method didTransition\n      @public\n      @since 1.2.0\n    */\n    didTransition: defaultDidTransition,\n    /**\n      Handles notifying any listeners of an impending URL\n      change.\n         Triggers the router level `willTransition` hook.\n         @method willTransition\n      @public\n      @since 1.11.0\n    */\n    willTransition: defaultWillTransition,\n    /**\n     Represents the URL of the root of the application, often '/'. This prefix is\n     assumed on all routes defined on this router.\n        @property rootURL\n     @default '/'\n     @public\n    */\n    rootURL: '/',\n    /**\n     The `location` property determines the type of URL's that your\n     application will use.\n        The following location types are currently available:\n        * `history` - use the browser's history API to make the URLs look just like any standard URL\n     * `hash` - use `#` to separate the server part of the URL from the Ember part: `/blog/#/posts/new`\n     * `none` - do not store the Ember URL in the actual browser URL (mainly used for testing)\n     * `auto` - use the best option based on browser capabilities: `history` if possible, then `hash` if possible, otherwise `none`\n        This value is defaulted to `auto` by the `locationType` setting of `/config/environment.js`\n        @property location\n     @default 'hash'\n     @see {Location}\n     @public\n    */\n    location: 'hash',\n    /**\n     Represents the current URL.\n        @property url\n     @type {String}\n     @private\n    */\n    url: (0, _metal.computed)(function () {\n      var location = (0, _metal.get)(this, 'location');\n      if (typeof location === 'string') {\n        return undefined;\n      }\n      return location.getURL();\n    })\n  });\n  if (_deprecatedFeatures.ROUTER_EVENTS) {\n    EmberRouter.reopen(_route.ROUTER_EVENT_DEPRECATIONS);\n  }\n  var _default = _exports.default = EmberRouter;\n});","define(\"@ember/-internals/routing/lib/system/router_state\", [\"exports\", \"@ember/polyfills\", \"@ember/-internals/routing/lib/utils\"], function (_exports, _polyfills, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class RouterState {\n    constructor(emberRouter, router, routerJsState) {\n      this.emberRouter = emberRouter;\n      this.router = router;\n      this.routerJsState = routerJsState;\n    }\n    isActiveIntent(routeName, models, queryParams) {\n      var state = this.routerJsState;\n      if (!this.router.isActiveIntent(routeName, models, undefined, state)) {\n        return false;\n      }\n      if (queryParams !== undefined && Object.keys(queryParams).length > 0) {\n        var visibleQueryParams = (0, _polyfills.assign)({}, queryParams);\n        this.emberRouter._prepareQueryParams(routeName, models, visibleQueryParams);\n        return (0, _utils.shallowEqual)(visibleQueryParams, state.queryParams);\n      }\n      return true;\n    }\n  }\n  _exports.default = RouterState;\n});","define(\"@ember/-internals/routing/lib/system/transition\", [], function () {\n  \"use strict\";\n\n  /**\n    A Transition is a thennable (a promise-like object) that represents\n    an attempt to transition to another route. It can be aborted, either\n    explicitly via `abort` or by attempting another transition while a\n    previous one is still underway. An aborted transition can also\n    be `retry()`d later.\n  \n    @class Transition\n    @public\n  */\n\n  /**\n    The Transition's internal promise. Calling `.then` on this property\n    is that same as calling `.then` on the Transition object itself, but\n    this property is exposed for when you want to pass around a\n    Transition's promise, but not the Transition object itself, since\n    Transition object can be externally `abort`ed, while the promise\n    cannot.\n  \n    @property promise\n    @type {Object}\n    @public\n    */\n\n  /**\n    Custom state can be stored on a Transition's `data` object.\n    This can be useful for decorating a Transition within an earlier\n    hook and shared with a later hook. Properties set on `data` will\n    be copied to new transitions generated by calling `retry` on this\n    transition.\n  \n    @property data\n    @type {Object}\n    @public\n  */\n\n  /**\n    A standard promise hook that resolves if the transition\n    succeeds and rejects if it fails/redirects/aborts.\n  \n    Forwards to the internal `promise` property which you can\n    use in situations where you want to pass around a thennable,\n    but not the Transition itself.\n  \n    @method then\n    @param {Function} onFulfilled\n    @param {Function} onRejected\n    @param {String} label optional string for labeling the promise.\n    Useful for tooling.\n    @return {Promise}\n    @public\n  */\n\n  /**\n  \n    Forwards to the internal `promise` property which you can\n    use in situations where you want to pass around a thennable,\n    but not the Transition itself.\n  \n    @method catch\n    @param {Function} onRejection\n    @param {String} label optional string for labeling the promise.\n    Useful for tooling.\n    @return {Promise}\n    @public\n  */\n\n  /**\n  \n    Forwards to the internal `promise` property which you can\n    use in situations where you want to pass around a thennable,\n    but not the Transition itself.\n  \n    @method finally\n    @param {Function} callback\n    @param {String} label optional string for labeling the promise.\n    Useful for tooling.\n    @return {Promise}\n    @public\n  */\n\n  /**\n    Aborts the Transition. Note you can also implicitly abort a transition\n    by initiating another transition while a previous one is underway.\n  \n    @method abort\n    @return {Transition} this transition\n    @public\n  */\n\n  /**\n  \n    Retries a previously-aborted transition (making sure to abort the\n    transition if it's still active). Returns a new transition that\n    represents the new attempt to transition.\n  \n    @method retry\n    @return {Transition} new transition\n    @public\n    */\n\n  /**\n  \n    Sets the URL-changing method to be employed at the end of a\n    successful transition. By default, a new Transition will just\n    use `updateURL`, but passing 'replace' to this method will\n    cause the URL to update using 'replaceWith' instead. Omitting\n    a parameter will disable the URL change, allowing for transitions\n    that don't update the URL at completion (this is also used for\n    handleURL, since the URL has already changed before the\n    transition took place).\n  \n    @method method\n    @param {String} method the type of URL-changing method to use\n      at the end of a transition. Accepted values are 'replace',\n      falsy values, or any other non-falsy value (which is\n      interpreted as an updateURL transition).\n  \n    @return {Transition} this transition\n    @public\n  */\n\n  /**\n  \n    Fires an event on the current list of resolved/resolving\n    handlers within this transition. Useful for firing events\n    on route hierarchies that haven't fully been entered yet.\n  \n    Note: This method is also aliased as `send`\n  \n    @method trigger\n    @param {Boolean} [ignoreFailure=false] a boolean specifying whether unhandled events throw an error\n    @param {String} name the name of the event to fire\n    @public\n  */\n\n  /**\n   * This property is a `RouteInfo` object that represents\n   * where the router is transitioning to. It's important\n   * to note that a `RouteInfo` is a linked list and this\n   * property represents the leafmost route.\n   * @property {null|RouteInfo|RouteInfoWithAttributes} to\n   * @public\n   */\n\n  /**\n   * This property is a `RouteInfo` object that represents\n   * where transition originated from. It's important\n   * to note that a `RouteInfo` is a linked list and this\n   * property represents the head node of the list.\n   * In the case of an initial render, `from` will be set to\n   * `null`.\n   * @property {null|RouteInfoWithAttributes} from\n   * @public\n   */\n\n  /**\n    Transitions are aborted and their promises rejected\n    when redirects occur; this method returns a promise\n    that will follow any redirects that occur and fulfill\n    with the value fulfilled by any redirecting transitions\n    that occur.\n  \n    @method followRedirects\n    @return {Promise} a promise that fulfills with the same\n      value that the final redirecting transition fulfills with\n    @public\n  */\n\n  /**\n    In non-production builds, this function will return the stack that this Transition was\n    created within. In production builds, this function will not be present.\n  \n    @method debugCreationStack\n    @return string\n  */\n\n  /**\n    In non-production builds, this function will return the stack that this Transition was\n    aborted within (or `undefined` if the Transition has not been aborted yet). In production\n    builds, this function will not be present.\n  \n    @method debugAbortStack\n    @return string\n  */\n\n  /**\n    In non-production builds, this property references the Transition that _this_ Transition\n    was derived from or `undefined` if this transition did not derive from another. In\n    production builds, this property will not be present.\n  \n    @property debugPreviousTransition\n    @type {Transition | undefined}\n  */\n});","define(\"@ember/-internals/routing/lib/utils\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/owner\", \"@ember/debug\", \"@ember/error\", \"@ember/polyfills\", \"router_js\"], function (_exports, _metal, _owner, _debug, _error, _polyfills, _router_js) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.calculateCacheKey = calculateCacheKey;\n  _exports.deprecateTransitionMethods = deprecateTransitionMethods;\n  _exports.extractRouteArgs = extractRouteArgs;\n  _exports.getActiveTargetName = getActiveTargetName;\n  _exports.normalizeControllerQueryParams = normalizeControllerQueryParams;\n  _exports.prefixRouteNameArg = prefixRouteNameArg;\n  _exports.resemblesURL = resemblesURL;\n  _exports.shallowEqual = shallowEqual;\n  _exports.stashParamNames = stashParamNames;\n  var ALL_PERIODS_REGEX = /\\./g;\n  function extractRouteArgs(args) {\n    args = args.slice();\n    var possibleQueryParams = args[args.length - 1];\n    var queryParams;\n    if (possibleQueryParams && Object.prototype.hasOwnProperty.call(possibleQueryParams, 'queryParams')) {\n      // SAFETY: this cast is safe because we have just checked whether\n      // `possibleQueryParams` -- defined as the last item in args -- both exists\n      // and has the property `queryParams`. If either of these invariants change,\n      // ***this is unsafe and should be changed***.\n      queryParams = args.pop().queryParams;\n    } else {\n      queryParams = {};\n    } // UNSAFE: these are simply assumed as the existing behavior of the system.\n    // However, this could break if upstream refactors change it, and the types\n    // here would not be able to tell us; we would lie to everything downstream.\n\n    var routeName = args.shift();\n    var models = args;\n    return {\n      routeName,\n      models,\n      queryParams\n    };\n  }\n  function getActiveTargetName(router) {\n    var routeInfos = router.activeTransition ? router.activeTransition[_router_js.STATE_SYMBOL].routeInfos : router.state.routeInfos;\n    return routeInfos[routeInfos.length - 1].name;\n  }\n  function stashParamNames(router, routeInfos) {\n    if (routeInfos['_namesStashed']) {\n      return;\n    } // This helper exists because router.js/route-recognizer.js awkwardly\n    // keeps separate a routeInfo's list of parameter names depending\n    // on whether a URL transition or named transition is happening.\n    // Hopefully we can remove this in the future.\n\n    var targetRouteName = routeInfos[routeInfos.length - 1].name;\n    var recogHandlers = router._routerMicrolib.recognizer.handlersFor(targetRouteName);\n    var dynamicParent;\n    for (var i = 0; i < routeInfos.length; ++i) {\n      var routeInfo = routeInfos[i];\n      var names = recogHandlers[i].names;\n      if (names.length) {\n        dynamicParent = routeInfo;\n      }\n      routeInfo['_names'] = names;\n      var route = routeInfo.route;\n      route._stashNames(routeInfo, dynamicParent);\n    }\n    routeInfos['_namesStashed'] = true;\n  }\n  function _calculateCacheValuePrefix(prefix, part) {\n    // calculates the dot separated sections from prefix that are also\n    // at the start of part - which gives us the route name\n    // given : prefix = site.article.comments, part = site.article.id\n    //      - returns: site.article (use get(values[site.article], 'id') to get the dynamic part - used below)\n    // given : prefix = site.article, part = site.article.id\n    //      - returns: site.article. (use get(values[site.article], 'id') to get the dynamic part - used below)\n    var prefixParts = prefix.split('.');\n    var currPrefix = '';\n    for (var i = 0; i < prefixParts.length; i++) {\n      var currPart = prefixParts.slice(0, i + 1).join('.');\n      if (part.indexOf(currPart) !== 0) {\n        break;\n      }\n      currPrefix = currPart;\n    }\n    return currPrefix;\n  }\n  /*\n    Stolen from Controller\n  */\n\n  function calculateCacheKey(prefix, parts = [], values) {\n    var suffixes = '';\n    for (var i = 0; i < parts.length; ++i) {\n      var part = parts[i];\n      var cacheValuePrefix = _calculateCacheValuePrefix(prefix, part);\n      var value = void 0;\n      if (values) {\n        if (cacheValuePrefix && cacheValuePrefix in values) {\n          var partRemovedPrefix = part.indexOf(cacheValuePrefix) === 0 ? part.substr(cacheValuePrefix.length + 1) : part;\n          value = (0, _metal.get)(values[cacheValuePrefix], partRemovedPrefix);\n        } else {\n          value = (0, _metal.get)(values, part);\n        }\n      }\n      suffixes += `::${part}:${value}`;\n    }\n    return prefix + suffixes.replace(ALL_PERIODS_REGEX, '-');\n  }\n  /*\n    Controller-defined query parameters can come in three shapes:\n  \n    Array\n      queryParams: ['foo', 'bar']\n    Array of simple objects where value is an alias\n      queryParams: [\n        {\n          'foo': 'rename_foo_to_this'\n        },\n        {\n          'bar': 'call_bar_this_instead'\n        }\n      ]\n    Array of fully defined objects\n      queryParams: [\n        {\n          'foo': {\n            as: 'rename_foo_to_this'\n          },\n        }\n        {\n          'bar': {\n            as: 'call_bar_this_instead',\n            scope: 'controller'\n          }\n        }\n      ]\n  \n    This helper normalizes all three possible styles into the\n    'Array of fully defined objects' style.\n  */\n\n  function normalizeControllerQueryParams(queryParams) {\n    var qpMap = {};\n    for (var i = 0; i < queryParams.length; ++i) {\n      accumulateQueryParamDescriptors(queryParams[i], qpMap);\n    }\n    return qpMap;\n  }\n  function accumulateQueryParamDescriptors(_desc, accum) {\n    var desc = _desc;\n    var tmp;\n    if (typeof desc === 'string') {\n      tmp = {};\n      tmp[desc] = {\n        as: null\n      };\n      desc = tmp;\n    }\n    for (var key in desc) {\n      if (!Object.prototype.hasOwnProperty.call(desc, key)) {\n        return;\n      }\n      var singleDesc = desc[key];\n      if (typeof singleDesc === 'string') {\n        singleDesc = {\n          as: singleDesc\n        };\n      }\n      tmp = accum[key] || {\n        as: null,\n        scope: 'model'\n      };\n      (0, _polyfills.assign)(tmp, singleDesc);\n      accum[key] = tmp;\n    }\n  }\n  /*\n    Check if a routeName resembles a url instead\n  \n    @private\n  */\n\n  function resemblesURL(str) {\n    return typeof str === 'string' && (str === '' || str[0] === '/');\n  }\n  /*\n    Returns an arguments array where the route name arg is prefixed based on the mount point\n  \n    @private\n  */\n\n  function prefixRouteNameArg(route, args) {\n    var routeName = args[0];\n    var owner = (0, _owner.getOwner)(route);\n    var prefix = owner.mountPoint; // only alter the routeName if it's actually referencing a route.\n\n    if (owner.routable && typeof routeName === 'string') {\n      if (resemblesURL(routeName)) {\n        throw new _error.default('Programmatic transitions by URL cannot be used within an Engine. Please use the route name instead.');\n      } else {\n        routeName = `${prefix}.${routeName}`;\n        args[0] = routeName;\n      }\n    }\n    return args;\n  }\n  function shallowEqual(a, b) {\n    var k;\n    var aCount = 0;\n    var bCount = 0;\n    for (k in a) {\n      if (Object.prototype.hasOwnProperty.call(a, k)) {\n        if (a[k] !== b[k]) {\n          return false;\n        }\n        aCount++;\n      }\n    }\n    for (k in b) {\n      if (Object.prototype.hasOwnProperty.call(b, k)) {\n        bCount++;\n      }\n    }\n    return aCount === bCount;\n  }\n  function deprecateTransitionMethods(frameworkClass, methodName) {\n    (true && !(false) && (0, _debug.deprecate)(`Calling ${methodName} on a ${frameworkClass} is deprecated. Use the RouterService instead.`, false, {\n      id: 'routing.transition-methods',\n      for: 'ember-source',\n      since: {\n        enabled: '3.26.0'\n      },\n      until: '5.0.0',\n      url: 'https://deprecations.emberjs.com/v3.x/#toc_routing-transition-methods'\n    }));\n  }\n});","define(\"@ember/-internals/runtime/index\", [\"exports\", \"@ember/-internals/runtime/lib/system/object\", \"@ember/-internals/runtime/lib/mixins/registry_proxy\", \"@ember/-internals/runtime/lib/mixins/container_proxy\", \"@ember/-internals/runtime/lib/copy\", \"@ember/-internals/runtime/lib/compare\", \"@ember/-internals/runtime/lib/is-equal\", \"@ember/-internals/runtime/lib/mixins/array\", \"@ember/-internals/runtime/lib/mixins/comparable\", \"@ember/-internals/runtime/lib/system/namespace\", \"@ember/-internals/runtime/lib/system/array_proxy\", \"@ember/-internals/runtime/lib/system/object_proxy\", \"@ember/-internals/runtime/lib/system/core_object\", \"@ember/-internals/runtime/lib/mixins/action_handler\", \"@ember/-internals/runtime/lib/mixins/copyable\", \"@ember/-internals/runtime/lib/mixins/enumerable\", \"@ember/-internals/runtime/lib/mixins/-proxy\", \"@ember/-internals/runtime/lib/mixins/observable\", \"@ember/-internals/runtime/lib/mixins/mutable_enumerable\", \"@ember/-internals/runtime/lib/mixins/target_action_support\", \"@ember/-internals/runtime/lib/mixins/evented\", \"@ember/-internals/runtime/lib/mixins/promise_proxy\", \"@ember/-internals/runtime/lib/ext/rsvp\", \"@ember/-internals/runtime/lib/type-of\", \"@ember/-internals/runtime/lib/ext/function\"], function (_exports, _object, _registry_proxy, _container_proxy, _copy, _compare, _isEqual, _array, _comparable, _namespace, _array_proxy, _object_proxy, _core_object, _action_handler, _copyable, _enumerable, _proxy, _observable, _mutable_enumerable, _target_action_support, _evented, _promise_proxy, _rsvp, _typeOf, _function) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"A\", {\n    enumerable: true,\n    get: function () {\n      return _array.A;\n    }\n  });\n  Object.defineProperty(_exports, \"ActionHandler\", {\n    enumerable: true,\n    get: function () {\n      return _action_handler.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Array\", {\n    enumerable: true,\n    get: function () {\n      return _array.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ArrayProxy\", {\n    enumerable: true,\n    get: function () {\n      return _array_proxy.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Comparable\", {\n    enumerable: true,\n    get: function () {\n      return _comparable.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ContainerProxyMixin\", {\n    enumerable: true,\n    get: function () {\n      return _container_proxy.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Copyable\", {\n    enumerable: true,\n    get: function () {\n      return _copyable.default;\n    }\n  });\n  Object.defineProperty(_exports, \"CoreObject\", {\n    enumerable: true,\n    get: function () {\n      return _core_object.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Enumerable\", {\n    enumerable: true,\n    get: function () {\n      return _enumerable.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Evented\", {\n    enumerable: true,\n    get: function () {\n      return _evented.default;\n    }\n  });\n  Object.defineProperty(_exports, \"FrameworkObject\", {\n    enumerable: true,\n    get: function () {\n      return _object.FrameworkObject;\n    }\n  });\n  Object.defineProperty(_exports, \"MutableArray\", {\n    enumerable: true,\n    get: function () {\n      return _array.MutableArray;\n    }\n  });\n  Object.defineProperty(_exports, \"MutableEnumerable\", {\n    enumerable: true,\n    get: function () {\n      return _mutable_enumerable.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Namespace\", {\n    enumerable: true,\n    get: function () {\n      return _namespace.default;\n    }\n  });\n  Object.defineProperty(_exports, \"NativeArray\", {\n    enumerable: true,\n    get: function () {\n      return _array.NativeArray;\n    }\n  });\n  Object.defineProperty(_exports, \"Object\", {\n    enumerable: true,\n    get: function () {\n      return _object.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ObjectProxy\", {\n    enumerable: true,\n    get: function () {\n      return _object_proxy.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Observable\", {\n    enumerable: true,\n    get: function () {\n      return _observable.default;\n    }\n  });\n  Object.defineProperty(_exports, \"PromiseProxyMixin\", {\n    enumerable: true,\n    get: function () {\n      return _promise_proxy.default;\n    }\n  });\n  Object.defineProperty(_exports, \"RSVP\", {\n    enumerable: true,\n    get: function () {\n      return _rsvp.default;\n    }\n  });\n  Object.defineProperty(_exports, \"RegistryProxyMixin\", {\n    enumerable: true,\n    get: function () {\n      return _registry_proxy.default;\n    }\n  });\n  Object.defineProperty(_exports, \"TargetActionSupport\", {\n    enumerable: true,\n    get: function () {\n      return _target_action_support.default;\n    }\n  });\n  Object.defineProperty(_exports, \"_ProxyMixin\", {\n    enumerable: true,\n    get: function () {\n      return _proxy.default;\n    }\n  });\n  Object.defineProperty(_exports, \"_contentFor\", {\n    enumerable: true,\n    get: function () {\n      return _proxy.contentFor;\n    }\n  });\n  Object.defineProperty(_exports, \"compare\", {\n    enumerable: true,\n    get: function () {\n      return _compare.default;\n    }\n  });\n  Object.defineProperty(_exports, \"copy\", {\n    enumerable: true,\n    get: function () {\n      return _copy.default;\n    }\n  });\n  Object.defineProperty(_exports, \"isArray\", {\n    enumerable: true,\n    get: function () {\n      return _array.isArray;\n    }\n  });\n  Object.defineProperty(_exports, \"isEqual\", {\n    enumerable: true,\n    get: function () {\n      return _isEqual.default;\n    }\n  });\n  Object.defineProperty(_exports, \"onerrorDefault\", {\n    enumerable: true,\n    get: function () {\n      return _rsvp.onerrorDefault;\n    }\n  });\n  Object.defineProperty(_exports, \"removeAt\", {\n    enumerable: true,\n    get: function () {\n      return _array.removeAt;\n    }\n  });\n  Object.defineProperty(_exports, \"typeOf\", {\n    enumerable: true,\n    get: function () {\n      return _typeOf.typeOf;\n    }\n  });\n  Object.defineProperty(_exports, \"uniqBy\", {\n    enumerable: true,\n    get: function () {\n      return _array.uniqBy;\n    }\n  });\n});","define(\"@ember/-internals/runtime/lib/compare\", [\"exports\", \"@ember/-internals/runtime/lib/type-of\", \"@ember/-internals/runtime/lib/mixins/comparable\"], function (_exports, _typeOf, _comparable) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = compare;\n  var TYPE_ORDER = {\n    undefined: 0,\n    null: 1,\n    boolean: 2,\n    number: 3,\n    string: 4,\n    array: 5,\n    object: 6,\n    instance: 7,\n    function: 8,\n    class: 9,\n    date: 10\n  }; //\n  // the spaceship operator\n  //\n  //                      `. ___\n  //                     __,' __`.                _..----....____\n  //         __...--.'``;.   ,.   ;``--..__     .'    ,-._    _.-'\n  //   _..-''-------'   `'   `'   `'     O ``-''._   (,;') _,'\n  // ,'________________                          \\`-._`-','\n  //  `._              ```````````------...___   '-.._'-:\n  //     ```--.._      ,.                     ````--...__\\-.\n  //             `.--. `-` \"INFINITY IS LESS     ____    |  |`\n  //               `. `.   THAN BEYOND\"        ,'`````.  ;  ;`\n  //                 `._`.        __________   `.      \\'__/`\n  //                    `-:._____/______/___/____`.     \\  `\n  //                                |       `._    `.    \\\n  //                                `._________`-.   `.   `.___\n  //                                              SSt  `------'`\n\n  function spaceship(a, b) {\n    var diff = a - b;\n    return (diff > 0) - (diff < 0);\n  }\n  /**\n   @module @ember/utils\n  */\n\n  /**\n   Compares two javascript values and returns:\n  \n    - -1 if the first is smaller than the second,\n    - 0 if both are equal,\n    - 1 if the first is greater than the second.\n  \n    ```javascript\n    import { compare } from '@ember/utils';\n  \n    compare('hello', 'hello');  // 0\n    compare('abc', 'dfg');      // -1\n    compare(2, 1);              // 1\n    ```\n  \n   If the types of the two objects are different precedence occurs in the\n   following order, with types earlier in the list considered `<` types\n   later in the list:\n  \n    - undefined\n    - null\n    - boolean\n    - number\n    - string\n    - array\n    - object\n    - instance\n    - function\n    - class\n    - date\n  \n    ```javascript\n    import { compare } from '@ember/utils';\n  \n    compare('hello', 50);       // 1\n    compare(50, 'hello');       // -1\n    ```\n  \n   @method compare\n   @for @ember/utils\n   @static\n   @param {Object} v First value to compare\n   @param {Object} w Second value to compare\n   @return {Number} -1 if v < w, 0 if v = w and 1 if v > w.\n   @public\n  */\n\n  function compare(v, w) {\n    if (v === w) {\n      return 0;\n    }\n    var type1 = (0, _typeOf.typeOf)(v);\n    var type2 = (0, _typeOf.typeOf)(w);\n    if (type1 === 'instance' && _comparable.default.detect(v) && v.constructor.compare) {\n      return v.constructor.compare(v, w);\n    }\n    if (type2 === 'instance' && _comparable.default.detect(w) && w.constructor.compare) {\n      return w.constructor.compare(w, v) * -1;\n    }\n    var res = spaceship(TYPE_ORDER[type1], TYPE_ORDER[type2]);\n    if (res !== 0) {\n      return res;\n    } // types are equal - so we have to check values now\n\n    switch (type1) {\n      case 'boolean':\n      case 'number':\n        return spaceship(v, w);\n      case 'string':\n        return spaceship(v.localeCompare(w), 0);\n      case 'array':\n        {\n          var vLen = v.length;\n          var wLen = w.length;\n          var len = Math.min(vLen, wLen);\n          for (var i = 0; i < len; i++) {\n            var r = compare(v[i], w[i]);\n            if (r !== 0) {\n              return r;\n            }\n          } // all elements are equal now\n          // shorter array should be ordered first\n\n          return spaceship(vLen, wLen);\n        }\n      case 'instance':\n        if (_comparable.default.detect(v)) {\n          return v.compare(v, w);\n        }\n        return 0;\n      case 'date':\n        return spaceship(v.getTime(), w.getTime());\n      default:\n        return 0;\n    }\n  }\n});","define(\"@ember/-internals/runtime/lib/copy\", [\"exports\", \"@ember/debug\", \"@ember/-internals/runtime/lib/system/object\", \"@ember/-internals/runtime/lib/mixins/copyable\"], function (_exports, _debug, _object, _copyable) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = copy;\n  /**\n   @module @ember/object\n  */\n\n  function _copy(obj, deep, seen, copies) {\n    // primitive data types are immutable, just return them.\n    if (typeof obj !== 'object' || obj === null) {\n      return obj;\n    }\n    var ret, loc; // avoid cyclical loops\n\n    if (deep && (loc = seen.indexOf(obj)) >= 0) {\n      return copies[loc];\n    }\n    if (deep) {\n      seen.push(obj);\n    } // IMPORTANT: this specific test will detect a native array only. Any other\n    // object will need to implement Copyable.\n\n    if (Array.isArray(obj)) {\n      ret = obj.slice();\n      if (deep) {\n        copies.push(ret);\n        loc = ret.length;\n        while (--loc >= 0) {\n          ret[loc] = _copy(ret[loc], deep, seen, copies);\n        }\n      }\n    } else if (_copyable.default.detect(obj)) {\n      ret = obj.copy(deep, seen, copies);\n      if (deep) {\n        copies.push(ret);\n      }\n    } else if (obj instanceof Date) {\n      ret = new Date(obj.getTime());\n      if (deep) {\n        copies.push(ret);\n      }\n    } else {\n      (true && !(!(obj instanceof _object.default) || _copyable.default.detect(obj)) && (0, _debug.assert)('Cannot clone an EmberObject that does not implement Copyable', !(obj instanceof _object.default) || _copyable.default.detect(obj)));\n      ret = {};\n      if (deep) {\n        copies.push(ret);\n      }\n      var key;\n      for (key in obj) {\n        // support Null prototype\n        if (!Object.prototype.hasOwnProperty.call(obj, key)) {\n          continue;\n        } // Prevents browsers that don't respect non-enumerability from\n        // copying internal Ember properties\n\n        if (key.substring(0, 2) === '__') {\n          continue;\n        }\n        ret[key] = deep ? _copy(obj[key], deep, seen, copies) : obj[key];\n      }\n    }\n    return ret;\n  }\n  /**\n    Creates a shallow copy of the passed object. A deep copy of the object is\n    returned if the optional `deep` argument is `true`.\n  \n    If the passed object implements the `Copyable` interface, then this\n    function will delegate to the object's `copy()` method and return the\n    result. See `Copyable` for further details.\n  \n    For primitive values (which are immutable in JavaScript), the passed object\n    is simply returned.\n  \n    @method copy\n    @deprecated Use 'ember-copy' addon instead\n    @static\n    @for @ember/object/internals\n    @param {Object} obj The object to clone\n    @param {Boolean} [deep=false] If true, a deep copy of the object is made.\n    @return {Object} The copied object\n    @public\n  */\n\n  function copy(obj, deep) {\n    (true && !(false) && (0, _debug.deprecate)('Use ember-copy addon instead of copy method and Copyable mixin.', false, {\n      id: 'ember-runtime.deprecate-copy-copyable',\n      until: '4.0.0',\n      url: 'https://deprecations.emberjs.com/v3.x/#toc_ember-runtime-deprecate-copy-copyable',\n      for: 'ember-source',\n      since: {\n        enabled: '3.3.0'\n      }\n    })); // fast paths\n    if ('object' !== typeof obj || obj === null) {\n      return obj; // can't copy primitives\n    }\n    if (!Array.isArray(obj) && _copyable.default.detect(obj)) {\n      return obj.copy(deep);\n    }\n    return _copy(obj, deep, deep ? [] : null, deep ? [] : null);\n  }\n});","define(\"@ember/-internals/runtime/lib/ext/function\", [\"@ember/-internals/environment\", \"@ember/-internals/metal\", \"@ember/debug\", \"@ember/deprecated-features\"], function (_environment, _metal, _debug, _deprecatedFeatures) {\n  \"use strict\";\n\n  /**\n  @module ember\n  */\n\n  if (_deprecatedFeatures.FUNCTION_PROTOTYPE_EXTENSIONS && _environment.ENV.EXTEND_PROTOTYPES.Function) {\n    Object.defineProperties(Function.prototype, {\n      /**\n        The `property` extension of Javascript's Function prototype is available\n        when `EmberENV.EXTEND_PROTOTYPES` or `EmberENV.EXTEND_PROTOTYPES.Function` is\n        `true`, which is the default.\n         Computed properties allow you to treat a function like a property:\n         ```app/utils/president.js\n        import EmberObject from '@ember/object';\n         export default EmberObject.extend({\n          firstName: '',\n          lastName:  '',\n           fullName: function() {\n            return this.get('firstName') + ' ' + this.get('lastName');\n          }.property() // Call this flag to mark the function as a property\n        });\n        ```\n         ```javascript\n        let president = President.create({\n          firstName: 'Barack',\n          lastName: 'Obama'\n        });\n         president.get('fullName'); // 'Barack Obama'\n        ```\n         Treating a function like a property is useful because they can work with\n        bindings, just like any other property.\n         Many computed properties have dependencies on other properties. For\n        example, in the above example, the `fullName` property depends on\n        `firstName` and `lastName` to determine its value. You can tell Ember\n        about these dependencies like this:\n         ```app/utils/president.js\n        import EmberObject from '@ember/object';\n         export default EmberObject.extend({\n          firstName: '',\n          lastName:  '',\n           fullName: function() {\n            return this.get('firstName') + ' ' + this.get('lastName');\n             // Tell Ember.js that this computed property depends on firstName\n            // and lastName\n          }.property('firstName', 'lastName')\n        });\n        ```\n         Make sure you list these dependencies so Ember knows when to update\n        bindings that connect to a computed property. Changing a dependency\n        will not immediately trigger an update of the computed property, but\n        will instead clear the cache so that it is updated when the next `get`\n        is called on the property.\n         See [ComputedProperty](/ember/release/classes/ComputedProperty), [@ember/object/computed](/ember/release/classes/@ember%2Fobject%2Fcomputed).\n         @method property\n        @for Function\n        @public\n      */\n      property: {\n        configurable: true,\n        enumerable: false,\n        writable: true,\n        value: function () {\n          (true && !(false) && (0, _debug.deprecate)(`Function prototype extensions have been deprecated, please migrate from function(){}.property('bar') to computed('bar', function() {}).`, false, {\n            id: 'function-prototype-extensions.property',\n            until: '4.0.0',\n            url: 'https://deprecations.emberjs.com/v3.x#toc_function-prototype-extensions-property',\n            for: 'ember-source',\n            since: {\n              enabled: '3.11.0'\n            }\n          }));\n          return (0, _metal.computed)(...arguments, this);\n        }\n      },\n      /**\n        The `observes` extension of Javascript's Function prototype is available\n        when `EmberENV.EXTEND_PROTOTYPES` or `EmberENV.EXTEND_PROTOTYPES.Function` is\n        true, which is the default.\n         You can observe property changes simply by adding the `observes`\n        call to the end of your method declarations in classes that you write.\n        For example:\n         ```javascript\n        import EmberObject from '@ember/object';\n         EmberObject.extend({\n          valueObserver: function() {\n            // Executes whenever the \"value\" property changes\n          }.observes('value')\n        });\n        ```\n         In the future this method may become asynchronous.\n         See `observer`.\n         @method observes\n        @for Function\n        @public\n      */\n      observes: {\n        configurable: true,\n        enumerable: false,\n        writable: true,\n        value: function () {\n          (true && !(false) && (0, _debug.deprecate)(`Function prototype extensions have been deprecated, please migrate from function(){}.observes('foo') to observer('foo', function() {}).`, false, {\n            id: 'function-prototype-extensions.observes',\n            until: '4.0.0',\n            url: 'https://deprecations.emberjs.com/v3.x#toc_function-prototype-extensions-observes',\n            for: 'ember-source',\n            since: {\n              enabled: '3.11.0'\n            }\n          }));\n          return (0, _metal.observer)(...arguments, this);\n        }\n      },\n      /**\n        The `on` extension of Javascript's Function prototype is available\n        when `EmberENV.EXTEND_PROTOTYPES` or `EmberENV.EXTEND_PROTOTYPES.Function` is\n        true, which is the default.\n         You can listen for events simply by adding the `on` call to the end of\n        your method declarations in classes or mixins that you write. For example:\n         ```javascript\n        import Mixin from '@ember/mixin';\n         Mixin.create({\n          doSomethingWithElement: function() {\n            // Executes whenever the \"didInsertElement\" event fires\n          }.on('didInsertElement')\n        });\n        ```\n         See `@ember/object/evented/on`.\n         @method on\n        @for Function\n        @public\n      */\n      on: {\n        configurable: true,\n        enumerable: false,\n        writable: true,\n        value: function () {\n          (true && !(false) && (0, _debug.deprecate)(`Function prototype extensions have been deprecated, please migrate from function(){}.on('foo') to on('foo', function() {}).`, false, {\n            id: 'function-prototype-extensions.on',\n            until: '4.0.0',\n            url: 'https://deprecations.emberjs.com/v3.x#toc_function-prototype-extensions-on',\n            for: 'ember-source',\n            since: {\n              enabled: '3.11.0'\n            }\n          }));\n          return (0, _metal.on)(...arguments, this);\n        }\n      }\n    });\n  }\n});","define(\"@ember/-internals/runtime/lib/ext/rsvp\", [\"exports\", \"rsvp\", \"@ember/runloop\", \"@ember/-internals/error-handling\", \"@ember/debug\"], function (_exports, RSVP, _runloop, _errorHandling, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.onerrorDefault = onerrorDefault;\n  RSVP.configure('async', (callback, promise) => {\n    _runloop._backburner.schedule('actions', null, callback, promise);\n  });\n  RSVP.configure('after', cb => {\n    _runloop._backburner.schedule(_runloop._rsvpErrorQueue, null, cb);\n  });\n  RSVP.on('error', onerrorDefault);\n  function onerrorDefault(reason) {\n    var error = errorFor(reason);\n    if (error) {\n      var overrideDispatch = (0, _errorHandling.getDispatchOverride)();\n      if (overrideDispatch) {\n        overrideDispatch(error);\n      } else {\n        throw error;\n      }\n    }\n  }\n  function errorFor(reason) {\n    if (!reason) return;\n    if (reason.errorThrown) {\n      return unwrapErrorThrown(reason);\n    }\n    if (reason.name === 'UnrecognizedURLError') {\n      (true && !(false) && (0, _debug.assert)(`The URL '${reason.message}' did not match any routes in your application`, false));\n      return;\n    }\n    if (reason.name === 'TransitionAborted') {\n      return;\n    }\n    return reason;\n  }\n  function unwrapErrorThrown(reason) {\n    var error = reason.errorThrown;\n    if (typeof error === 'string') {\n      error = new Error(error);\n    }\n    Object.defineProperty(error, '__reason_with_error_thrown__', {\n      value: reason,\n      enumerable: false\n    });\n    return error;\n  }\n  var _default = _exports.default = RSVP;\n});","define(\"@ember/-internals/runtime/lib/is-equal\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = isEqual;\n  /**\n   @module @ember/utils\n  */\n\n  /**\n    Compares two objects, returning true if they are equal.\n  \n    ```javascript\n    import { isEqual } from '@ember/utils';\n  \n    isEqual('hello', 'hello');                   // true\n    isEqual(1, 2);                               // false\n    ```\n  \n    `isEqual` is a more specific comparison than a triple equal comparison.\n    It will call the `isEqual` instance method on the objects being\n    compared, allowing finer control over when objects should be considered\n    equal to each other.\n  \n    ```javascript\n    import { isEqual } from '@ember/utils';\n    import EmberObject from '@ember/object';\n  \n    let Person = EmberObject.extend({\n      isEqual(other) { return this.ssn == other.ssn; }\n    });\n  \n    let personA = Person.create({name: 'Muhammad Ali', ssn: '123-45-6789'});\n    let personB = Person.create({name: 'Cassius Clay', ssn: '123-45-6789'});\n  \n    isEqual(personA, personB); // true\n    ```\n  \n    Due to the expense of array comparisons, collections will never be equal to\n    each other even if each of their items are equal to each other.\n  \n    ```javascript\n    import { isEqual } from '@ember/utils';\n  \n    isEqual([4, 2], [4, 2]);                     // false\n    ```\n  \n    @method isEqual\n    @for @ember/utils\n    @static\n    @param {Object} a first object to compare\n    @param {Object} b second object to compare\n    @return {Boolean}\n    @public\n  */\n  function isEqual(a, b) {\n    if (a && typeof a.isEqual === 'function') {\n      return a.isEqual(b);\n    }\n    if (a instanceof Date && b instanceof Date) {\n      return a.getTime() === b.getTime();\n    }\n    return a === b;\n  }\n});","define(\"@ember/-internals/runtime/lib/mixins/-proxy\", [\"exports\", \"@ember/-internals/meta\", \"@ember/-internals/metal\", \"@ember/-internals/utils\", \"@ember/debug\", \"@glimmer/manager\", \"@glimmer/validator\"], function (_exports, _meta, _metal, _utils, _debug, _manager, _validator) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.contentFor = contentFor;\n  _exports.default = void 0;\n  /**\n  @module ember\n  */\n\n  function contentFor(proxy) {\n    var content = (0, _metal.get)(proxy, 'content');\n    (0, _validator.updateTag)((0, _metal.tagForObject)(proxy), (0, _metal.tagForObject)(content));\n    return content;\n  }\n  function customTagForProxy(proxy, key, addMandatorySetter) {\n    var meta = (0, _validator.tagMetaFor)(proxy);\n    var tag = (0, _validator.tagFor)(proxy, key, meta);\n    if (true /* DEBUG */) {\n      // TODO: Replace this with something more first class for tracking tags in DEBUG\n      tag._propertyKey = key;\n    }\n    if (key in proxy) {\n      if (true /* DEBUG */ && addMandatorySetter) {\n        (0, _utils.setupMandatorySetter)(tag, proxy, key);\n      }\n      return tag;\n    } else {\n      var tags = [tag, (0, _validator.tagFor)(proxy, 'content', meta)];\n      var content = contentFor(proxy);\n      if ((0, _utils.isObject)(content)) {\n        tags.push((0, _metal.tagForProperty)(content, key, addMandatorySetter));\n      }\n      return (0, _validator.combine)(tags);\n    }\n  }\n  /**\n    `Ember.ProxyMixin` forwards all properties not defined by the proxy itself\n    to a proxied `content` object.  See ObjectProxy for more details.\n  \n    @class ProxyMixin\n    @namespace Ember\n    @private\n  */\n  var _default = _exports.default = _metal.Mixin.create({\n    /**\n      The object whose properties will be forwarded.\n       @property content\n      @type {unknown}\n      @default null\n      @public\n    */\n    content: null,\n    init() {\n      this._super(...arguments);\n      (0, _utils.setProxy)(this);\n      (0, _metal.tagForObject)(this);\n      (0, _manager.setCustomTagFor)(this, customTagForProxy);\n    },\n    willDestroy() {\n      this.set('content', null);\n      this._super(...arguments);\n    },\n    isTruthy: (0, _metal.computed)('content', function () {\n      return Boolean((0, _metal.get)(this, 'content'));\n    }),\n    unknownProperty(key) {\n      var content = contentFor(this);\n      if (content) {\n        return (0, _metal.get)(content, key);\n      }\n    },\n    setUnknownProperty(key, value) {\n      var m = (0, _meta.meta)(this);\n      if (m.isInitializing() || m.isPrototypeMeta(this)) {\n        // if marked as prototype or object is initializing then just\n        // defineProperty rather than delegate\n        (0, _metal.defineProperty)(this, key, null, value);\n        return value;\n      }\n      var content = contentFor(this);\n      (true && !(content) && (0, _debug.assert)(`Cannot delegate set('${key}', ${value}) to the 'content' property of object proxy ${this}: its 'content' is undefined.`, content));\n      return (0, _metal.set)(content, key, value);\n    }\n  });\n});","define(\"@ember/-internals/runtime/lib/mixins/action_handler\", [\"exports\", \"@ember/-internals/metal\", \"@ember/debug\"], function (_exports, _metal, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module ember\n  */\n\n  /**\n    `Ember.ActionHandler` is available on some familiar classes including\n    `Route`, `Component`, and `Controller`.\n    (Internally the mixin is used by `Ember.CoreView`, `Ember.ControllerMixin`,\n    and `Route` and available to the above classes through\n    inheritance.)\n  \n    @class ActionHandler\n    @namespace Ember\n    @private\n  */\n\n  var ActionHandler = _metal.Mixin.create({\n    mergedProperties: ['actions'],\n    /**\n      The collection of functions, keyed by name, available on this\n      `ActionHandler` as action targets.\n       These functions will be invoked when a matching `{{action}}` is triggered\n      from within a template and the application's current route is this route.\n       Actions can also be invoked from other parts of your application\n      via `ActionHandler#send`.\n       The `actions` hash will inherit action handlers from\n      the `actions` hash defined on extended parent classes\n      or mixins rather than just replace the entire hash, e.g.:\n       ```app/mixins/can-display-banner.js\n      import Mixin from '@ember/mixin';\n       export default Mixin.create({\n        actions: {\n          displayBanner(msg) {\n            // ...\n          }\n        }\n      });\n      ```\n       ```app/routes/welcome.js\n      import Route from '@ember/routing/route';\n      import CanDisplayBanner from '../mixins/can-display-banner';\n       export default Route.extend(CanDisplayBanner, {\n        actions: {\n          playMusic() {\n            // ...\n          }\n        }\n      });\n       // `WelcomeRoute`, when active, will be able to respond\n      // to both actions, since the actions hash is merged rather\n      // then replaced when extending mixins / parent classes.\n      this.send('displayBanner');\n      this.send('playMusic');\n      ```\n       Within a Controller, Route or Component's action handler,\n      the value of the `this` context is the Controller, Route or\n      Component object:\n       ```app/routes/song.js\n      import Route from '@ember/routing/route';\n       export default Route.extend({\n        actions: {\n          myAction() {\n            this.controllerFor(\"song\");\n            this.transitionTo(\"other.route\");\n            ...\n          }\n        }\n      });\n      ```\n       It is also possible to call `this._super(...arguments)` from within an\n      action handler if it overrides a handler defined on a parent\n      class or mixin:\n       Take for example the following routes:\n       ```app/mixins/debug-route.js\n      import Mixin from '@ember/mixin';\n       export default Mixin.create({\n        actions: {\n          debugRouteInformation() {\n            console.debug(\"It's a-me, console.debug!\");\n          }\n        }\n      });\n      ```\n       ```app/routes/annoying-debug.js\n      import Route from '@ember/routing/route';\n      import DebugRoute from '../mixins/debug-route';\n       export default Route.extend(DebugRoute, {\n        actions: {\n          debugRouteInformation() {\n            // also call the debugRouteInformation of mixed in DebugRoute\n            this._super(...arguments);\n             // show additional annoyance\n            window.alert(...);\n          }\n        }\n      });\n      ```\n       ## Bubbling\n       By default, an action will stop bubbling once a handler defined\n      on the `actions` hash handles it. To continue bubbling the action,\n      you must return `true` from the handler:\n       ```app/router.js\n      Router.map(function() {\n        this.route(\"album\", function() {\n          this.route(\"song\");\n        });\n      });\n      ```\n       ```app/routes/album.js\n      import Route from '@ember/routing/route';\n       export default Route.extend({\n        actions: {\n          startPlaying: function() {\n          }\n        }\n      });\n      ```\n       ```app/routes/album-song.js\n      import Route from '@ember/routing/route';\n       export default Route.extend({\n        actions: {\n          startPlaying() {\n            // ...\n             if (actionShouldAlsoBeTriggeredOnParentRoute) {\n              return true;\n            }\n          }\n        }\n      });\n      ```\n       @property actions\n      @type Object\n      @default null\n      @public\n    */\n\n    /**\n      Triggers a named action on the `ActionHandler`. Any parameters\n      supplied after the `actionName` string will be passed as arguments\n      to the action target function.\n       If the `ActionHandler` has its `target` property set, actions may\n      bubble to the `target`. Bubbling happens when an `actionName` can\n      not be found in the `ActionHandler`'s `actions` hash or if the\n      action target function returns `true`.\n       Example\n       ```app/routes/welcome.js\n      import Route from '@ember/routing/route';\n       export default Route.extend({\n        actions: {\n          playTheme() {\n            this.send('playMusic', 'theme.mp3');\n          },\n          playMusic(track) {\n            // ...\n          }\n        }\n      });\n      ```\n       @method send\n      @param {String} actionName The action to trigger\n      @param {*} context a context to send with the action\n      @public\n    */\n    send(actionName, ...args) {\n      (true && !(!this.isDestroying && !this.isDestroyed) && (0, _debug.assert)(`Attempted to call .send() with the action '${actionName}' on the destroyed object '${this}'.`, !this.isDestroying && !this.isDestroyed));\n      if (this.actions && this.actions[actionName]) {\n        var shouldBubble = this.actions[actionName].apply(this, args) === true;\n        if (!shouldBubble) {\n          return;\n        }\n      }\n      var target = (0, _metal.get)(this, 'target');\n      if (target) {\n        (true && !(typeof target.send === 'function') && (0, _debug.assert)(`The \\`target\\` for ${this} (${target}) does not have a \\`send\\` method`, typeof target.send === 'function'));\n        target.send(...arguments);\n      }\n    }\n  });\n  var _default = _exports.default = ActionHandler;\n});","define(\"@ember/-internals/runtime/lib/mixins/array\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/utils\", \"@ember/debug\", \"@ember/-internals/runtime/lib/mixins/enumerable\", \"@ember/-internals/runtime/lib/compare\", \"@ember/-internals/environment\", \"@ember/-internals/runtime/lib/mixins/observable\", \"@ember/-internals/runtime/lib/mixins/mutable_enumerable\", \"@ember/-internals/runtime/lib/type-of\"], function (_exports, _metal, _utils, _debug, _enumerable, _compare, _environment, _observable, _mutable_enumerable, _typeOf) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _exports.NativeArray = _exports.MutableArray = _exports.A = void 0;\n  _exports.isArray = isArray;\n  _exports.removeAt = removeAt;\n  _exports.uniqBy = uniqBy;\n  /**\n  @module @ember/array\n  */\n\n  var EMPTY_ARRAY = Object.freeze([]);\n  var identityFunction = item => item;\n  function uniqBy(array, key = identityFunction) {\n    (true && !(isArray(array)) && (0, _debug.assert)(`first argument passed to \\`uniqBy\\` should be array`, isArray(array)));\n    var ret = A();\n    var seen = new Set();\n    var getter = typeof key === 'function' ? key : item => (0, _metal.get)(item, key);\n    array.forEach(item => {\n      var val = getter(item);\n      if (!seen.has(val)) {\n        seen.add(val);\n        ret.push(item);\n      }\n    });\n    return ret;\n  }\n  function iter(key, value) {\n    var valueProvided = arguments.length === 2;\n    return valueProvided ? item => value === (0, _metal.get)(item, key) : item => Boolean((0, _metal.get)(item, key));\n  }\n  function findIndex(array, predicate, startAt) {\n    var len = array.length;\n    for (var index = startAt; index < len; index++) {\n      var item = (0, _metal.objectAt)(array, index);\n      if (predicate(item, index, array)) {\n        return index;\n      }\n    }\n    return -1;\n  }\n  function find(array, callback, target) {\n    var predicate = callback.bind(target);\n    var index = findIndex(array, predicate, 0);\n    return index === -1 ? undefined : (0, _metal.objectAt)(array, index);\n  }\n  function any(array, callback, target) {\n    var predicate = callback.bind(target);\n    return findIndex(array, predicate, 0) !== -1;\n  }\n  function every(array, callback, target) {\n    var cb = callback.bind(target);\n    var predicate = (item, index, array) => !cb(item, index, array);\n    return findIndex(array, predicate, 0) === -1;\n  }\n  function indexOf(array, val, startAt = 0, withNaNCheck) {\n    var len = array.length;\n    if (startAt < 0) {\n      startAt += len;\n    } // SameValueZero comparison (NaN !== NaN)\n\n    var predicate = withNaNCheck && val !== val ? item => item !== item : item => item === val;\n    return findIndex(array, predicate, startAt);\n  }\n  function removeAt(array, index, len = 1) {\n    (true && !(index > -1 && index < array.length) && (0, _debug.assert)(`\\`removeAt\\` index provided is out of range`, index > -1 && index < array.length));\n    (0, _metal.replace)(array, index, len, EMPTY_ARRAY);\n    return array;\n  }\n  function insertAt(array, index, item) {\n    (true && !(index > -1 && index <= array.length) && (0, _debug.assert)(`\\`insertAt\\` index provided is out of range`, index > -1 && index <= array.length));\n    (0, _metal.replace)(array, index, 0, [item]);\n    return item;\n  }\n  /**\n    Returns true if the passed object is an array or Array-like.\n  \n    Objects are considered Array-like if any of the following are true:\n  \n      - the object is a native Array\n      - the object has an objectAt property\n      - the object is an Object, and has a length property\n  \n    Unlike `typeOf` this method returns true even if the passed object is\n    not formally an array but appears to be array-like (i.e. implements `Array`)\n  \n    ```javascript\n    import { isArray } from '@ember/array';\n    import ArrayProxy from '@ember/array/proxy';\n  \n    isArray();                                      // false\n    isArray([]);                                    // true\n    isArray(ArrayProxy.create({ content: [] }));    // true\n    ```\n  \n    @method isArray\n    @static\n    @for @ember/array\n    @param {Object} obj The object to test\n    @return {Boolean} true if the passed object is an array or Array-like\n    @public\n  */\n\n  function isArray(_obj) {\n    var obj = _obj;\n    if (true /* DEBUG */ && _utils.HAS_NATIVE_PROXY && typeof _obj === 'object' && _obj !== null) {\n      var possibleProxyContent = _obj[_metal.PROXY_CONTENT];\n      if (possibleProxyContent !== undefined) {\n        obj = possibleProxyContent;\n      }\n    }\n    if (!obj || obj.setInterval) {\n      return false;\n    }\n    if (Array.isArray(obj) || ArrayMixin.detect(obj)) {\n      return true;\n    }\n    var type = (0, _typeOf.typeOf)(obj);\n    if ('array' === type) {\n      return true;\n    }\n    var length = obj.length;\n    if (typeof length === 'number' && length === length && 'object' === type) {\n      return true;\n    }\n    return false;\n  }\n  /*\n    This allows us to define computed properties that are not enumerable.\n    The primary reason this is important is that when `NativeArray` is\n    applied to `Array.prototype` we need to ensure that we do not add _any_\n    new enumerable properties.\n  */\n\n  function nonEnumerableComputed() {\n    var property = (0, _metal.computed)(...arguments);\n    property.enumerable = false;\n    return property;\n  }\n  function mapBy(key) {\n    return this.map(next => (0, _metal.get)(next, key));\n  } // ..........................................................\n  // ARRAY\n  //\n\n  /**\n    This mixin implements Observer-friendly Array-like behavior. It is not a\n    concrete implementation, but it can be used up by other classes that want\n    to appear like arrays.\n  \n    For example, ArrayProxy is a concrete class that can be instantiated to\n    implement array-like behavior. This class uses the Array Mixin by way of\n    the MutableArray mixin, which allows observable changes to be made to the\n    underlying array.\n  \n    This mixin defines methods specifically for collections that provide\n    index-ordered access to their contents. When you are designing code that\n    needs to accept any kind of Array-like object, you should use these methods\n    instead of Array primitives because these will properly notify observers of\n    changes to the array.\n  \n    Although these methods are efficient, they do add a layer of indirection to\n    your application so it is a good idea to use them only when you need the\n    flexibility of using both true JavaScript arrays and \"virtual\" arrays such\n    as controllers and collections.\n  \n    You can use the methods defined in this module to access and modify array\n    contents in an observable-friendly way. You can also be notified whenever\n    the membership of an array changes by using `.observes('myArray.[]')`.\n  \n    To support `EmberArray` in your own class, you must override two\n    primitives to use it: `length()` and `objectAt()`.\n  \n    @class EmberArray\n    @uses Enumerable\n    @since Ember 0.9.0\n    @public\n  */\n\n  var ArrayMixin = _metal.Mixin.create(_enumerable.default, {\n    init() {\n      this._super(...arguments);\n      (0, _utils.setEmberArray)(this);\n    },\n    /**\n      __Required.__ You must implement this method to apply this mixin.\n       Your array must support the `length` property. Your replace methods should\n      set this property whenever it changes.\n       @property {Number} length\n      @public\n    */\n\n    /**\n      Returns the object at the given `index`. If the given `index` is negative\n      or is greater or equal than the array length, returns `undefined`.\n       This is one of the primitives you must implement to support `EmberArray`.\n      If your object supports retrieving the value of an array item using `get()`\n      (i.e. `myArray.get(0)`), then you do not need to implement this method\n      yourself.\n       ```javascript\n      let arr = ['a', 'b', 'c', 'd'];\n       arr.objectAt(0);   // 'a'\n      arr.objectAt(3);   // 'd'\n      arr.objectAt(-1);  // undefined\n      arr.objectAt(4);   // undefined\n      arr.objectAt(5);   // undefined\n      ```\n       @method objectAt\n      @param {Number} idx The index of the item to return.\n      @return {*} item at index or undefined\n      @public\n    */\n\n    /**\n      This returns the objects at the specified indexes, using `objectAt`.\n       ```javascript\n      let arr = ['a', 'b', 'c', 'd'];\n       arr.objectsAt([0, 1, 2]);  // ['a', 'b', 'c']\n      arr.objectsAt([2, 3, 4]);  // ['c', 'd', undefined]\n      ```\n       @method objectsAt\n      @param {Array} indexes An array of indexes of items to return.\n      @return {Array}\n      @public\n     */\n    objectsAt(indexes) {\n      return indexes.map(idx => (0, _metal.objectAt)(this, idx));\n    },\n    /**\n      This is the handler for the special array content property. If you get\n      this property, it will return this. If you set this property to a new\n      array, it will replace the current content.\n       ```javascript\n      let peopleToMoon = ['Armstrong', 'Aldrin'];\n       peopleToMoon.get('[]'); // ['Armstrong', 'Aldrin']\n       peopleToMoon.set('[]', ['Collins']); // ['Collins']\n      peopleToMoon.get('[]'); // ['Collins']\n      ```\n       @property []\n      @return this\n      @public\n    */\n    '[]': nonEnumerableComputed({\n      get() {\n        return this;\n      },\n      set(key, value) {\n        this.replace(0, this.length, value);\n        return this;\n      }\n    }),\n    /**\n      The first object in the array, or `undefined` if the array is empty.\n       ```javascript\n      let vowels = ['a', 'e', 'i', 'o', 'u'];\n      vowels.firstObject; // 'a'\n       vowels.shiftObject();\n      vowels.firstObject; // 'e'\n       vowels.reverseObjects();\n      vowels.firstObject; // 'u'\n       vowels.clear();\n      vowels.firstObject; // undefined\n      ```\n       @property firstObject\n      @return {Object | undefined} The first object in the array\n      @public\n    */\n    firstObject: nonEnumerableComputed(function () {\n      return (0, _metal.objectAt)(this, 0);\n    }).readOnly(),\n    /**\n      The last object in the array, or `undefined` if the array is empty.\n       @property lastObject\n      @return {Object | undefined} The last object in the array\n      @public\n    */\n    lastObject: nonEnumerableComputed(function () {\n      return (0, _metal.objectAt)(this, this.length - 1);\n    }).readOnly(),\n    // Add any extra methods to EmberArray that are native to the built-in Array.\n\n    /**\n      Returns a new array that is a slice of the receiver. This implementation\n      uses the observable array methods to retrieve the objects for the new\n      slice.\n       ```javascript\n      let arr = ['red', 'green', 'blue'];\n       arr.slice(0);       // ['red', 'green', 'blue']\n      arr.slice(0, 2);    // ['red', 'green']\n      arr.slice(1, 100);  // ['green', 'blue']\n      ```\n       @method slice\n      @param {Number} beginIndex (Optional) index to begin slicing from.\n      @param {Number} endIndex (Optional) index to end the slice at (but not included).\n      @return {Array} New array with specified slice\n      @public\n    */\n    slice(beginIndex = 0, endIndex) {\n      var ret = A();\n      var length = this.length;\n      if (beginIndex < 0) {\n        beginIndex = length + beginIndex;\n      }\n      if (endIndex === undefined || endIndex > length) {\n        endIndex = length;\n      } else if (endIndex < 0) {\n        endIndex = length + endIndex;\n      }\n      while (beginIndex < endIndex) {\n        ret[ret.length] = (0, _metal.objectAt)(this, beginIndex++);\n      }\n      return ret;\n    },\n    /**\n      Used to determine the passed object's first occurrence in the array.\n      Returns the index if found, -1 if no match is found.\n       The optional `startAt` argument can be used to pass a starting\n      index to search from, effectively slicing the searchable portion\n      of the array. If it's negative it will add the array length to\n      the startAt value passed in as the index to search from. If less\n      than or equal to `-1 * array.length` the entire array is searched.\n       ```javascript\n      let arr = ['a', 'b', 'c', 'd', 'a'];\n       arr.indexOf('a');       //  0\n      arr.indexOf('z');       // -1\n      arr.indexOf('a', 2);    //  4\n      arr.indexOf('a', -1);   //  4, equivalent to indexOf('a', 4)\n      arr.indexOf('a', -100); //  0, searches entire array\n      arr.indexOf('b', 3);    // -1\n      arr.indexOf('a', 100);  // -1\n       let people = [{ name: 'Zoey' }, { name: 'Bob' }]\n      let newPerson = { name: 'Tom' };\n      people = [newPerson, ...people, newPerson];\n       people.indexOf(newPerson);     //  0\n      people.indexOf(newPerson, 1);  //  3\n      people.indexOf(newPerson, -4); //  0\n      people.indexOf(newPerson, 10); // -1\n      ```\n       @method indexOf\n      @param {Object} object the item to search for\n      @param {Number} startAt optional starting location to search, default 0\n      @return {Number} index or -1 if not found\n      @public\n    */\n    indexOf(object, startAt) {\n      return indexOf(this, object, startAt, false);\n    },\n    /**\n      Returns the index of the given `object`'s last occurrence.\n       - If no `startAt` argument is given, the search starts from\n      the last position.\n      - If it's greater than or equal to the length of the array,\n      the search starts from the last position.\n      - If it's negative, it is taken as the offset from the end\n      of the array i.e. `startAt + array.length`.\n      - If it's any other positive number, will search backwards\n      from that index of the array.\n       Returns -1 if no match is found.\n       ```javascript\n      let arr = ['a', 'b', 'c', 'd', 'a'];\n       arr.lastIndexOf('a');       //  4\n      arr.lastIndexOf('z');       // -1\n      arr.lastIndexOf('a', 2);    //  0\n      arr.lastIndexOf('a', -1);   //  4\n      arr.lastIndexOf('a', -3);   //  0\n      arr.lastIndexOf('b', 3);    //  1\n      arr.lastIndexOf('a', 100);  //  4\n      ```\n       @method lastIndexOf\n      @param {Object} object the item to search for\n      @param {Number} startAt optional starting location to search from\n      backwards, defaults to `(array.length - 1)`\n      @return {Number} The last index of the `object` in the array or -1\n      if not found\n      @public\n    */\n    lastIndexOf(object, startAt) {\n      var len = this.length;\n      if (startAt === undefined || startAt >= len) {\n        startAt = len - 1;\n      }\n      if (startAt < 0) {\n        startAt += len;\n      }\n      for (var idx = startAt; idx >= 0; idx--) {\n        if ((0, _metal.objectAt)(this, idx) === object) {\n          return idx;\n        }\n      }\n      return -1;\n    },\n    // ..........................................................\n    // ARRAY OBSERVERS\n    //\n\n    /**\n      Adds an array observer to the receiving array. The array observer object\n      normally must implement two methods:\n       * `willChange(observedObj, start, removeCount, addCount)` - This method will be\n        called just before the array is modified.\n      * `didChange(observedObj, start, removeCount, addCount)` - This method will be\n        called just after the array is modified.\n       Both callbacks will be passed the observed object, starting index of the\n      change as well as a count of the items to be removed and added. You can use\n      these callbacks to optionally inspect the array during the change, clear\n      caches, or do any other bookkeeping necessary.\n       In addition to passing a target, you can also include an options hash\n      which you can use to override the method names that will be invoked on the\n      target.\n       @method addArrayObserver\n      @param {Object} target The observer object.\n      @param {Object} opts Optional hash of configuration options including\n        `willChange` and `didChange` option.\n      @return {EmberArray} receiver\n      @public\n      @example\n          import Service from '@ember/service';\n           export default Service.extend({\n            data: Ember.A(),\n             init() {\n              this._super(...arguments);\n               this.data.addArrayObserver(this, {\n                willChange: 'dataWillChange',\n                didChange: 'dataDidChange'\n              });\n            },\n             dataWillChange(array, start, removeCount, addCount) {\n              console.log('array will change', array, start, removeCount, addCount);\n            },\n             dataDidChange(array, start, removeCount, addCount) {\n              console.log('array did change', array, start, removeCount, addCount);\n            }\n          });\n    */\n    addArrayObserver(target, opts) {\n      return (0, _metal.addArrayObserver)(this, target, opts);\n    },\n    /**\n      Removes an array observer from the object if the observer is current\n      registered. Calling this method multiple times with the same object will\n      have no effect.\n       @method removeArrayObserver\n      @param {Object} target The object observing the array.\n      @param {Object} opts Optional hash of configuration options including\n        `willChange` and `didChange` option.\n      @return {EmberArray} receiver\n      @public\n    */\n    removeArrayObserver(target, opts) {\n      return (0, _metal.removeArrayObserver)(this, target, opts);\n    },\n    /**\n      Becomes true whenever the array currently has observers watching changes\n      on the array.\n       ```javascript\n      let arr = [1, 2, 3, 4, 5];\n      arr.hasArrayObservers; // false\n       arr.addArrayObserver(this, {\n        willChange() {\n          console.log('willChange');\n        }\n      });\n      arr.hasArrayObservers; // true\n      ```\n       @property {Boolean} hasArrayObservers\n      @public\n    */\n    hasArrayObservers: (0, _metal.nativeDescDecorator)({\n      configurable: true,\n      enumerable: false,\n      get() {\n        return (0, _metal.hasListeners)(this, '@array:change') || (0, _metal.hasListeners)(this, '@array:before');\n      }\n    }),\n    /**\n      If you are implementing an object that supports `EmberArray`, call this\n      method just before the array content changes to notify any observers and\n      invalidate any related properties. Pass the starting index of the change\n      as well as a delta of the amounts to change.\n       ```app/components/show-post.js\n      import Component from '@ember/component';\n      import EmberObject from '@ember/object';\n       const Post = EmberObject.extend({\n        body: '',\n        save() {}\n      })\n       export default Component.extend({\n        attemptsToModify: 0,\n        successfulModifications: 0,\n        posts: null,\n         init() {\n          this._super(...arguments);\n           this.posts = [1, 2, 3].map(i => Post.create({ body: i }));\n          this.posts.addArrayObserver(this, {\n            willChange() {\n              this.incrementProperty('attemptsToModify');\n            },\n            didChange() {\n              this.incrementProperty('successfulModifications');\n            }\n          });\n        },\n         actions: {\n          editPost(post, newContent) {\n            let oldContent = post.body,\n                postIndex = this.posts.indexOf(post);\n             this.posts.arrayContentWillChange(postIndex, 0, 0); // attemptsToModify = 1\n            post.set('body', newContent);\n             post.save()\n              .then(response => {\n                this.posts.arrayContentDidChange(postIndex, 0, 0); // successfulModifications = 1\n              })\n              .catch(error => {\n                post.set('body', oldContent);\n              })\n          }\n        }\n      });\n      ```\n       @method arrayContentWillChange\n      @param {Number} startIdx The starting index in the array that will change.\n      @param {Number} removeAmt The number of items that will be removed. If you\n        pass `null` assumes 0\n      @param {Number} addAmt The number of items that will be added. If you\n        pass `null` assumes 0.\n      @return {EmberArray} receiver\n      @public\n    */\n    arrayContentWillChange(startIdx, removeAmt, addAmt) {\n      return (0, _metal.arrayContentWillChange)(this, startIdx, removeAmt, addAmt);\n    },\n    /**\n      If you are implementing an object that supports `EmberArray`, call this\n      method just after the array content changes to notify any observers and\n      invalidate any related properties. Pass the starting index of the change\n      as well as a delta of the amounts to change.\n       ```javascript\n      let arr = [1, 2, 3, 4, 5];\n       arr.copyWithin(-2); // [1, 2, 3, 1, 2]\n      // arr.lastObject = 5\n      arr.arrayContentDidChange(3, 2, 2);\n      // arr.lastObject = 2\n      ```\n       @method arrayContentDidChange\n      @param {Number} startIdx The starting index in the array that did change.\n      @param {Number} removeAmt The number of items that were removed. If you\n        pass `null` assumes 0\n      @param {Number} addAmt The number of items that were added. If you\n        pass `null` assumes 0.\n      @return {EmberArray} receiver\n      @public\n    */\n    arrayContentDidChange(startIdx, removeAmt, addAmt) {\n      return (0, _metal.arrayContentDidChange)(this, startIdx, removeAmt, addAmt);\n    },\n    /**\n      Iterates through the array, calling the passed function on each\n      item. This method corresponds to the `forEach()` method defined in\n      JavaScript 1.6.\n       The callback method you provide should have the following signature (all\n      parameters are optional):\n       ```javascript\n      function(item, index, array);\n      ```\n       - `item` is the current item in the iteration.\n      - `index` is the current index in the iteration.\n      - `array` is the array itself.\n       Note that in addition to a callback, you can also pass an optional target\n      object that will be set as `this` on the context. This is a good way\n      to give your iterator function access to the current object.\n       Example Usage:\n       ```javascript\n      let foods = [\n        { name: 'apple', eaten: false },\n        { name: 'banana', eaten: false },\n        { name: 'carrot', eaten: false }\n      ];\n       foods.forEach((food) => food.eaten = true);\n       let output = '';\n      foods.forEach((item, index, array) =>\n        output += `${index + 1}/${array.length} ${item.name}\\n`;\n      );\n      console.log(output);\n      // 1/3 apple\n      // 2/3 banana\n      // 3/3 carrot\n      ```\n       @method forEach\n      @param {Function} callback The callback to execute\n      @param {Object} [target] The target object to use\n      @return {Object} receiver\n      @public\n    */\n    forEach(callback, target = null) {\n      (true && !(typeof callback === 'function') && (0, _debug.assert)('`forEach` expects a function as first argument.', typeof callback === 'function'));\n      var length = this.length;\n      for (var index = 0; index < length; index++) {\n        var item = this.objectAt(index);\n        callback.call(target, item, index, this);\n      }\n      return this;\n    },\n    /**\n      Alias for `mapBy`.\n       Returns the value of the named\n      property on all items in the enumeration.\n       ```javascript\n      let people = [{name: 'Joe'}, {name: 'Matt'}];\n       people.getEach('name');\n      // ['Joe', 'Matt'];\n       people.getEach('nonexistentProperty');\n      // [undefined, undefined];\n      ```\n       @method getEach\n      @param {String} key name of the property\n      @return {Array} The mapped array.\n      @public\n    */\n    getEach: mapBy,\n    /**\n      Sets the value on the named property for each member. This is more\n      ergonomic than using other methods defined on this helper. If the object\n      implements Observable, the value will be changed to `set(),` otherwise\n      it will be set directly. `null` objects are skipped.\n       ```javascript\n      let people = [{name: 'Joe'}, {name: 'Matt'}];\n       people.setEach('zipCode', '10011');\n      // [{name: 'Joe', zipCode: '10011'}, {name: 'Matt', zipCode: '10011'}];\n      ```\n       @method setEach\n      @param {String} key The key to set\n      @param {Object} value The object to set\n      @return {Object} receiver\n      @public\n    */\n    setEach(key, value) {\n      return this.forEach(item => (0, _metal.set)(item, key, value));\n    },\n    /**\n      Maps all of the items in the enumeration to another value, returning\n      a new array. This method corresponds to `map()` defined in JavaScript 1.6.\n       The callback method you provide should have the following signature (all\n      parameters are optional):\n       ```javascript\n      function(item, index, array);\n      let arr = [1, 2, 3, 4, 5, 6];\n       arr.map(element => element * element);\n      // [1, 4, 9, 16, 25, 36];\n       arr.map((element, index) => element + index);\n      // [1, 3, 5, 7, 9, 11];\n      ```\n       - `item` is the current item in the iteration.\n      - `index` is the current index in the iteration.\n      - `array` is the array itself.\n       It should return the mapped value.\n       Note that in addition to a callback, you can also pass an optional target\n      object that will be set as `this` on the context. This is a good way\n      to give your iterator function access to the current object.\n       @method map\n      @param {Function} callback The callback to execute\n      @param {Object} [target] The target object to use\n      @return {Array} The mapped array.\n      @public\n    */\n    map(callback, target = null) {\n      (true && !(typeof callback === 'function') && (0, _debug.assert)('`map` expects a function as first argument.', typeof callback === 'function'));\n      var ret = A();\n      this.forEach((x, idx, i) => ret[idx] = callback.call(target, x, idx, i));\n      return ret;\n    },\n    /**\n      Similar to map, this specialized function returns the value of the named\n      property on all items in the enumeration.\n       ```javascript\n      let people = [{name: 'Joe'}, {name: 'Matt'}];\n       people.mapBy('name');\n      // ['Joe', 'Matt'];\n       people.mapBy('unknownProperty');\n      // [undefined, undefined];\n      ```\n       @method mapBy\n      @param {String} key name of the property\n      @return {Array} The mapped array.\n      @public\n    */\n    mapBy,\n    /**\n      Returns a new array with all of the items in the enumeration that the provided\n      callback function returns true for. This method corresponds to [Array.prototype.filter()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter).\n       The callback method should have the following signature:\n       ```javascript\n      function(item, index, array);\n      ```\n       - `item` is the current item in the iteration.\n      - `index` is the current index in the iteration.\n      - `array` is the array itself.\n       All parameters are optional. The function should return `true` to include the item\n      in the results, and `false` otherwise.\n       Example:\n       ```javascript\n      function isAdult(person) {\n        return person.age > 18;\n      };\n       let people = Ember.A([{ name: 'John', age: 14 }, { name: 'Joan', age: 45 }]);\n       people.filter(isAdult); // returns [{ name: 'Joan', age: 45 }];\n      ```\n       Note that in addition to a callback, you can pass an optional target object\n      that will be set as `this` on the context. This is a good way to give your\n      iterator function access to the current object. For example:\n       ```javascript\n      function isAdultAndEngineer(person) {\n        return person.age > 18 && this.engineering;\n      }\n       class AdultsCollection {\n        engineering = false;\n         constructor(opts = {}) {\n          super(...arguments);\n           this.engineering = opts.engineering;\n          this.people = Ember.A([{ name: 'John', age: 14 }, { name: 'Joan', age: 45 }]);\n        }\n      }\n       let collection = new AdultsCollection({ engineering: true });\n      collection.people.filter(isAdultAndEngineer, { target: collection });\n      ```\n       @method filter\n      @param {Function} callback The callback to execute\n      @param {Object} [target] The target object to use\n      @return {Array} A filtered array.\n      @public\n    */\n    filter(callback, target = null) {\n      (true && !(typeof callback === 'function') && (0, _debug.assert)('`filter` expects a function as first argument.', typeof callback === 'function'));\n      var ret = A();\n      this.forEach((x, idx, i) => {\n        if (callback.call(target, x, idx, i)) {\n          ret.push(x);\n        }\n      });\n      return ret;\n    },\n    /**\n      Returns an array with all of the items in the enumeration where the passed\n      function returns false. This method is the inverse of filter().\n       The callback method you provide should have the following signature (all\n      parameters are optional):\n       ```javascript\n      function(item, index, array);\n      ```\n       - *item* is the current item in the iteration.\n      - *index* is the current index in the iteration\n      - *array* is the array itself.\n       It should return a falsey value to include the item in the results.\n       Note that in addition to a callback, you can also pass an optional target\n      object that will be set as \"this\" on the context. This is a good way\n      to give your iterator function access to the current object.\n       Example Usage:\n       ```javascript\n      const food = [\n        { food: 'apple', isFruit: true },\n        { food: 'bread', isFruit: false },\n        { food: 'banana', isFruit: true }\n      ];\n      const nonFruits = food.reject(function(thing) {\n        return thing.isFruit;\n      }); // [{food: 'bread', isFruit: false}]\n      ```\n       @method reject\n      @param {Function} callback The callback to execute\n      @param {Object} [target] The target object to use\n      @return {Array} A rejected array.\n      @public\n    */\n    reject(callback, target = null) {\n      (true && !(typeof callback === 'function') && (0, _debug.assert)('`reject` expects a function as first argument.', typeof callback === 'function'));\n      return this.filter(function () {\n        return !callback.apply(target, arguments);\n      });\n    },\n    /**\n      Filters the array by the property and an optional value. If a value is given, it returns\n      the items that have said value for the property. If not, it returns all the items that\n      have a truthy value for the property.\n       Example Usage:\n       ```javascript\n      let things = Ember.A([{ food: 'apple', isFruit: true }, { food: 'beans', isFruit: false }]);\n       things.filterBy('food', 'beans'); // [{ food: 'beans', isFruit: false }]\n      things.filterBy('isFruit'); // [{ food: 'apple', isFruit: true }]\n      ```\n       @method filterBy\n      @param {String} key the property to test\n      @param {*} [value] optional value to test against.\n      @return {Array} filtered array\n      @public\n    */\n    filterBy() {\n      return this.filter(iter(...arguments));\n    },\n    /**\n      Returns an array with the items that do not have truthy values for the provided key.\n      You can pass an optional second argument with a target value to reject for the key.\n      Otherwise this will reject objects where the provided property evaluates to false.\n       Example Usage:\n       ```javascript\n        let food = [\n          { name: \"apple\", isFruit: true },\n          { name: \"carrot\", isFruit: false },\n          { name: \"bread\", isFruit: false },\n        ];\n        food.rejectBy('isFruit'); // [{ name: \"carrot\", isFruit: false }, { name: \"bread\", isFruit: false }]\n        food.rejectBy('name', 'carrot'); // [{ name: \"apple\", isFruit: true }}, { name: \"bread\", isFruit: false }]\n      ```\n       @method rejectBy\n      @param {String} key the property to test\n      @param {*} [value] optional value to test against.\n      @return {Array} rejected array\n      @public\n    */\n    rejectBy() {\n      return this.reject(iter(...arguments));\n    },\n    /**\n      Returns the first item in the array for which the callback returns true.\n      This method is similar to the `find()` method defined in ECMAScript 2015.\n       The callback method you provide should have the following signature (all\n      parameters are optional):\n       ```javascript\n      function(item, index, array);\n      ```\n       - `item` is the current item in the iteration.\n      - `index` is the current index in the iteration.\n      - `array` is the array itself.\n       It should return the `true` to include the item in the results, `false`\n      otherwise.\n       Note that in addition to a callback, you can also pass an optional target\n      object that will be set as `this` on the context. This is a good way\n      to give your iterator function access to the current object.\n       Example Usage:\n       ```javascript\n      let users = [\n        { id: 1, name: 'Yehuda' },\n        { id: 2, name: 'Tom' },\n        { id: 3, name: 'Melanie' },\n        { id: 4, name: 'Leah' }\n      ];\n       users.find((user) => user.name == 'Tom'); // [{ id: 2, name: 'Tom' }]\n      users.find(({ id }) => id == 3); // [{ id: 3, name: 'Melanie' }]\n      ```\n       @method find\n      @param {Function} callback The callback to execute\n      @param {Object} [target] The target object to use\n      @return {Object} Found item or `undefined`.\n      @public\n    */\n    find(callback, target = null) {\n      (true && !(typeof callback === 'function') && (0, _debug.assert)('`find` expects a function as first argument.', typeof callback === 'function'));\n      return find(this, callback, target);\n    },\n    /**\n      Returns the first item with a property matching the passed value. You\n      can pass an optional second argument with the target value. Otherwise\n      this will match any property that evaluates to `true`.\n       This method works much like the more generic `find()` method.\n       Usage Example:\n       ```javascript\n      let users = [\n        { id: 1, name: 'Yehuda', isTom: false },\n        { id: 2, name: 'Tom', isTom: true },\n        { id: 3, name: 'Melanie', isTom: false },\n        { id: 4, name: 'Leah', isTom: false }\n      ];\n       users.findBy('id', 4); // { id: 4, name: 'Leah', isTom: false }\n      users.findBy('name', 'Melanie'); // { id: 3, name: 'Melanie', isTom: false }\n      users.findBy('isTom'); // { id: 2, name: 'Tom', isTom: true }\n      ```\n       @method findBy\n      @param {String} key the property to test\n      @param {String} [value] optional value to test against.\n      @return {Object} found item or `undefined`\n      @public\n    */\n    findBy() {\n      return find(this, iter(...arguments));\n    },\n    /**\n      Returns `true` if the passed function returns true for every item in the\n      enumeration. This corresponds with the `Array.prototype.every()` method defined in ES5.\n       The callback method should have the following signature:\n       ```javascript\n      function(item, index, array);\n      ```\n       - `item` is the current item in the iteration.\n      - `index` is the current index in the iteration.\n      - `array` is the array itself.\n       All params are optional. The method should return `true` or `false`.\n       Note that in addition to a callback, you can also pass an optional target\n      object that will be set as `this` on the context. This is a good way\n      to give your iterator function access to the current object.\n       Usage example:\n       ```javascript\n      function isAdult(person) {\n        return person.age > 18;\n      };\n       const people = Ember.A([{ name: 'John', age: 24 }, { name: 'Joan', age: 45 }]);\n      const areAllAdults = people.every(isAdult);\n      ```\n       @method every\n      @param {Function} callback The callback to execute\n      @param {Object} [target] The target object to use\n      @return {Boolean}\n      @public\n    */\n    every(callback, target = null) {\n      (true && !(typeof callback === 'function') && (0, _debug.assert)('`every` expects a function as first argument.', typeof callback === 'function'));\n      return every(this, callback, target);\n    },\n    /**\n      Returns `true` if the passed property resolves to the value of the second\n      argument for all items in the array. This method is often simpler/faster\n      than using a callback.\n       Note that like the native `Array.every`, `isEvery` will return true when called\n      on any empty array.\n      ```javascript\n      class Language {\n        constructor(name, isProgrammingLanguage) {\n          this.name = name;\n          this.programmingLanguage = isProgrammingLanguage;\n        }\n      }\n       const compiledLanguages = [\n        new Language('Java', true),\n        new Language('Go', true),\n        new Language('Rust', true)\n      ]\n       const languagesKnownByMe = [\n        new Language('Javascript', true),\n        new Language('English', false),\n        new Language('Ruby', true)\n      ]\n       compiledLanguages.isEvery('programmingLanguage'); // true\n      languagesKnownByMe.isEvery('programmingLanguage'); // false\n      ```\n       @method isEvery\n      @param {String} key the property to test\n      @param {String} [value] optional value to test against. Defaults to `true`\n      @return {Boolean}\n      @since 1.3.0\n      @public\n    */\n    isEvery() {\n      return every(this, iter(...arguments));\n    },\n    /**\n      The any() method executes the callback function once for each element\n      present in the array until it finds the one where callback returns a truthy\n      value (i.e. `true`). If such an element is found, any() immediately returns\n      true. Otherwise, any() returns false.\n       ```javascript\n      function(item, index, array);\n      ```\n       - `item` is the current item in the iteration.\n      - `index` is the current index in the iteration.\n      - `array` is the array object itself.\n       Note that in addition to a callback, you can also pass an optional target\n      object that will be set as `this` on the context. It can be a good way\n      to give your iterator function access to an object in cases where an ES6\n      arrow function would not be appropriate.\n       Usage Example:\n       ```javascript\n      let includesManager = people.any(this.findPersonInManagersList, this);\n       let includesStockHolder = people.any(person => {\n        return this.findPersonInStockHoldersList(person)\n      });\n       if (includesManager || includesStockHolder) {\n        Paychecks.addBiggerBonus();\n      }\n      ```\n       @method any\n      @param {Function} callback The callback to execute\n      @param {Object} [target] The target object to use\n      @return {Boolean} `true` if the passed function returns `true` for any item\n      @public\n    */\n    any(callback, target = null) {\n      (true && !(typeof callback === 'function') && (0, _debug.assert)('`any` expects a function as first argument.', typeof callback === 'function'));\n      return any(this, callback, target);\n    },\n    /**\n      Returns `true` if the passed property resolves to the value of the second\n      argument for any item in the array. This method is often simpler/faster\n      than using a callback.\n       Example usage:\n       ```javascript\n      const food = [\n        { food: 'apple', isFruit: true },\n        { food: 'bread', isFruit: false },\n        { food: 'banana', isFruit: true }\n      ];\n       food.isAny('isFruit'); // true\n      ```\n       @method isAny\n      @param {String} key the property to test\n      @param {String} [value] optional value to test against. Defaults to `true`\n      @return {Boolean}\n      @since 1.3.0\n      @public\n    */\n    isAny() {\n      return any(this, iter(...arguments));\n    },\n    /**\n      This will combine the values of the array into a single value. It\n      is a useful way to collect a summary value from an array. This\n      corresponds to the `reduce()` method defined in JavaScript 1.8.\n       The callback method you provide should have the following signature (all\n      parameters are optional):\n       ```javascript\n      function(previousValue, item, index, array);\n      ```\n       - `previousValue` is the value returned by the last call to the iterator.\n      - `item` is the current item in the iteration.\n      - `index` is the current index in the iteration.\n      - `array` is the array itself.\n       Return the new cumulative value.\n       In addition to the callback you can also pass an `initialValue`. An error\n      will be raised if you do not pass an initial value and the enumerator is\n      empty.\n       Note that unlike the other methods, this method does not allow you to\n      pass a target object to set as this for the callback. It's part of the\n      spec. Sorry.\n       Example Usage:\n       ```javascript\n        let numbers = [1, 2, 3, 4, 5];\n         numbers.reduce(function(summation, current) {\n          return summation + current;\n        }); // 15 (1 + 2 + 3 + 4 + 5)\n         numbers.reduce(function(summation, current) {\n          return summation + current;\n        }, -15); // 0 (-15 + 1 + 2 + 3 + 4 + 5)\n          let binaryValues = [true, false, false];\n         binaryValues.reduce(function(truthValue, current) {\n          return truthValue && current;\n        }); // false (true && false && false)\n      ```\n       @method reduce\n      @param {Function} callback The callback to execute\n      @param {Object} initialValue Initial value for the reduce\n      @return {Object} The reduced value.\n      @public\n    */\n    reduce(callback, initialValue) {\n      (true && !(typeof callback === 'function') && (0, _debug.assert)('`reduce` expects a function as first argument.', typeof callback === 'function'));\n      var ret = initialValue;\n      this.forEach(function (item, i) {\n        ret = callback(ret, item, i, this);\n      }, this);\n      return ret;\n    },\n    /**\n      Invokes the named method on every object in the receiver that\n      implements it. This method corresponds to the implementation in\n      Prototype 1.6.\n       ```javascript\n      class Person {\n        name = null;\n         constructor(name) {\n          this.name = name;\n        }\n         greet(prefix='Hello') {\n          return `${prefix} ${this.name}`;\n        }\n      }\n       let people = [new Person('Joe'), new Person('Matt')];\n       people.invoke('greet'); // ['Hello Joe', 'Hello Matt']\n      people.invoke('greet', 'Bonjour'); // ['Bonjour Joe', 'Bonjour Matt']\n      ```\n       @method invoke\n      @param {String} methodName the name of the method\n      @param {Object...} args optional arguments to pass as well.\n      @return {Array} return values from calling invoke.\n      @public\n    */\n    invoke(methodName, ...args) {\n      var ret = A();\n      this.forEach(item => ret.push(item[methodName]?.(...args)));\n      return ret;\n    },\n    /**\n      Simply converts the object into a genuine array. The order is not\n      guaranteed. Corresponds to the method implemented by Prototype.\n       @method toArray\n      @return {Array} the object as an array.\n      @public\n    */\n    toArray() {\n      return this.map(item => item);\n    },\n    /**\n      Returns a copy of the array with all `null` and `undefined` elements removed.\n       ```javascript\n      let arr = ['a', null, 'c', undefined];\n      arr.compact();  // ['a', 'c']\n      ```\n       @method compact\n      @return {Array} the array without null and undefined elements.\n      @public\n    */\n    compact() {\n      return this.filter(value => value != null);\n    },\n    /**\n      Used to determine if the array contains the passed object.\n      Returns `true` if found, `false` otherwise.\n       The optional `startAt` argument can be used to pass a starting\n      index to search from, effectively slicing the searchable portion\n      of the array. If it's negative it will add the array length to\n      the startAt value passed in as the index to search from. If less\n      than or equal to `-1 * array.length` the entire array is searched.\n       This method has the same behavior of JavaScript's [Array.includes](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes).\n       ```javascript\n      [1, 2, 3].includes(2);     // true\n      [1, 2, 3].includes(4);     // false\n      [1, 2, 3].includes(3, 2);  // true\n      [1, 2, 3].includes(3, 3);  // false\n      [1, 2, 3].includes(3, -1); // true\n      [1, 2, 3].includes(1, -1); // false\n      [1, 2, 3].includes(1, -4); // true\n      [1, 2, NaN].includes(NaN); // true\n      ```\n       @method includes\n      @param {Object} object The object to search for.\n      @param {Number} startAt optional starting location to search, default 0\n      @return {Boolean} `true` if object is found in the array.\n      @public\n    */\n    includes(object, startAt) {\n      return indexOf(this, object, startAt, true) !== -1;\n    },\n    /**\n      Sorts the array by the keys specified in the argument.\n       You may provide multiple arguments to sort by multiple properties.\n       ```javascript\n     let colors = [\n       { name: 'red', weight: 500 },\n       { name: 'green', weight: 600 },\n       { name: 'blue', weight: 500 }\n      ];\n      colors.sortBy('name');\n     // [{name: 'blue', weight: 500}, {name: 'green', weight: 600}, {name: 'red', weight: 500}]\n      colors.sortBy('weight', 'name');\n     // [{name: 'blue', weight: 500}, {name: 'red', weight: 500}, {name: 'green', weight: 600}]\n     ```\n       @method sortBy\n      @param {String} property name(s) to sort on\n      @return {Array} The sorted array.\n      @since 1.2.0\n      @public\n    */\n    sortBy() {\n      var sortKeys = arguments;\n      return this.toArray().sort((a, b) => {\n        for (var i = 0; i < sortKeys.length; i++) {\n          var key = sortKeys[i];\n          var propA = (0, _metal.get)(a, key);\n          var propB = (0, _metal.get)(b, key); // return 1 or -1 else continue to the next sortKey\n\n          var compareValue = (0, _compare.default)(propA, propB);\n          if (compareValue) {\n            return compareValue;\n          }\n        }\n        return 0;\n      });\n    },\n    /**\n      Returns a new array that contains only unique values. The default\n      implementation returns an array regardless of the receiver type.\n       ```javascript\n      let arr = ['a', 'a', 'b', 'b'];\n      arr.uniq();  // ['a', 'b']\n      ```\n       This only works on primitive data types, e.g. Strings, Numbers, etc.\n       @method uniq\n      @return {EmberArray}\n      @public\n    */\n    uniq() {\n      return uniqBy(this);\n    },\n    /**\n      Returns a new array that contains only items containing a unique property value.\n      The default implementation returns an array regardless of the receiver type.\n       ```javascript\n      let arr = [{ value: 'a' }, { value: 'a' }, { value: 'b' }, { value: 'b' }];\n      arr.uniqBy('value');  // [{ value: 'a' }, { value: 'b' }]\n       let arr = [2.2, 2.1, 3.2, 3.3];\n      arr.uniqBy(Math.floor);  // [2.2, 3.2];\n      ```\n       @method uniqBy\n      @param {String,Function} key\n      @return {EmberArray}\n      @public\n    */\n    uniqBy(key) {\n      return uniqBy(this, key);\n    },\n    /**\n      Returns a new array that excludes the passed value. The default\n      implementation returns an array regardless of the receiver type.\n      If the receiver does not contain the value it returns the original array.\n       ```javascript\n      let arr = ['a', 'b', 'a', 'c'];\n      arr.without('a');  // ['b', 'c']\n      ```\n       @method without\n      @param {Object} value\n      @return {EmberArray}\n      @public\n    */\n    without(value) {\n      if (!this.includes(value)) {\n        return this; // nothing to do\n      } // SameValueZero comparison (NaN !== NaN)\n\n      var predicate = value === value ? item => item !== value : item => item === item;\n      return this.filter(predicate);\n    }\n  });\n  /**\n    This mixin defines the API for modifying array-like objects. These methods\n    can be applied only to a collection that keeps its items in an ordered set.\n    It builds upon the Array mixin and adds methods to modify the array.\n    One concrete implementations of this class include ArrayProxy.\n  \n    It is important to use the methods in this class to modify arrays so that\n    changes are observable. This allows the binding system in Ember to function\n    correctly.\n  \n  \n    Note that an Array can change even if it does not implement this mixin.\n    For example, one might implement a SparseArray that cannot be directly\n    modified, but if its underlying enumerable changes, it will change also.\n  \n    @class MutableArray\n    @uses EmberArray\n    @uses MutableEnumerable\n    @public\n  */\n\n  var MutableArray = _exports.MutableArray = _metal.Mixin.create(ArrayMixin, _mutable_enumerable.default, {\n    /**\n      __Required.__ You must implement this method to apply this mixin.\n       This is one of the primitives you must implement to support `Array`.\n      You should replace amt objects started at idx with the objects in the\n      passed array. You should also call `this.arrayContentDidChange()`\n       Note that this method is expected to validate the type(s) of objects that it expects.\n       @method replace\n      @param {Number} idx Starting index in the array to replace. If\n        idx >= length, then append to the end of the array.\n      @param {Number} amt Number of elements that should be removed from\n        the array, starting at *idx*.\n      @param {EmberArray} objects An array of zero or more objects that should be\n        inserted into the array at *idx*\n      @public\n    */\n\n    /**\n      Remove all elements from the array. This is useful if you\n      want to reuse an existing array without having to recreate it.\n       ```javascript\n      let colors = ['red', 'green', 'blue'];\n       colors.length;  // 3\n      colors.clear(); // []\n      colors.length;  // 0\n      ```\n       @method clear\n      @return {Array} An empty Array.\n      @public\n    */\n    clear() {\n      var len = this.length;\n      if (len === 0) {\n        return this;\n      }\n      this.replace(0, len, EMPTY_ARRAY);\n      return this;\n    },\n    /**\n      This will use the primitive `replace()` method to insert an object at the\n      specified index.\n       ```javascript\n      let colors = ['red', 'green', 'blue'];\n       colors.insertAt(2, 'yellow');  // ['red', 'green', 'yellow', 'blue']\n      colors.insertAt(5, 'orange');  // Error: Index out of range\n      ```\n       @method insertAt\n      @param {Number} idx index of insert the object at.\n      @param {Object} object object to insert\n      @return {EmberArray} receiver\n      @public\n    */\n    insertAt(idx, object) {\n      insertAt(this, idx, object);\n      return this;\n    },\n    /**\n      Remove an object at the specified index using the `replace()` primitive\n      method. You can pass either a single index, or a start and a length.\n       If you pass a start and length that is beyond the\n      length this method will throw an assertion.\n       ```javascript\n      let colors = ['red', 'green', 'blue', 'yellow', 'orange'];\n       colors.removeAt(0);     // ['green', 'blue', 'yellow', 'orange']\n      colors.removeAt(2, 2);  // ['green', 'blue']\n      colors.removeAt(4, 2);  // Error: Index out of range\n      ```\n       @method removeAt\n      @param {Number} start index, start of range\n      @param {Number} len length of passing range\n      @return {EmberArray} receiver\n      @public\n    */\n    removeAt(start, len) {\n      return removeAt(this, start, len);\n    },\n    /**\n      Push the object onto the end of the array. Works just like `push()` but it\n      is KVO-compliant.\n       ```javascript\n      let colors = ['red', 'green'];\n       colors.pushObject('black');     // ['red', 'green', 'black']\n      colors.pushObject(['yellow']);  // ['red', 'green', ['yellow']]\n      ```\n       @method pushObject\n      @param {*} obj object to push\n      @return object same object passed as a param\n      @public\n    */\n    pushObject(obj) {\n      return insertAt(this, this.length, obj);\n    },\n    /**\n      Add the objects in the passed array to the end of the array. Defers\n      notifying observers of the change until all objects are added.\n       ```javascript\n      let colors = ['red'];\n       colors.pushObjects(['yellow', 'orange']);  // ['red', 'yellow', 'orange']\n      ```\n       @method pushObjects\n      @param {EmberArray} objects the objects to add\n      @return {EmberArray} receiver\n      @public\n    */\n    pushObjects(objects) {\n      this.replace(this.length, 0, objects);\n      return this;\n    },\n    /**\n      Pop object from array or nil if none are left. Works just like `pop()` but\n      it is KVO-compliant.\n       ```javascript\n      let colors = ['red', 'green', 'blue'];\n       colors.popObject();   // 'blue'\n      console.log(colors);  // ['red', 'green']\n      ```\n       @method popObject\n      @return object\n      @public\n    */\n    popObject() {\n      var len = this.length;\n      if (len === 0) {\n        return null;\n      }\n      var ret = (0, _metal.objectAt)(this, len - 1);\n      this.removeAt(len - 1, 1);\n      return ret;\n    },\n    /**\n      Shift an object from start of array or nil if none are left. Works just\n      like `shift()` but it is KVO-compliant.\n       ```javascript\n      let colors = ['red', 'green', 'blue'];\n       colors.shiftObject();  // 'red'\n      console.log(colors);   // ['green', 'blue']\n      ```\n       @method shiftObject\n      @return object\n      @public\n    */\n    shiftObject() {\n      if (this.length === 0) {\n        return null;\n      }\n      var ret = (0, _metal.objectAt)(this, 0);\n      this.removeAt(0);\n      return ret;\n    },\n    /**\n      Unshift an object to start of array. Works just like `unshift()` but it is\n      KVO-compliant.\n       ```javascript\n      let colors = ['red'];\n       colors.unshiftObject('yellow');    // ['yellow', 'red']\n      colors.unshiftObject(['black']);   // [['black'], 'yellow', 'red']\n      ```\n       @method unshiftObject\n      @param {*} obj object to unshift\n      @return object same object passed as a param\n      @public\n    */\n    unshiftObject(obj) {\n      return insertAt(this, 0, obj);\n    },\n    /**\n      Adds the named objects to the beginning of the array. Defers notifying\n      observers until all objects have been added.\n       ```javascript\n      let colors = ['red'];\n       colors.unshiftObjects(['black', 'white']);   // ['black', 'white', 'red']\n      colors.unshiftObjects('yellow'); // Type Error: 'undefined' is not a function\n      ```\n       @method unshiftObjects\n      @param {Enumberable} objects the objects to add\n      @return {EmberArray} receiver\n      @public\n    */\n    unshiftObjects(objects) {\n      this.replace(0, 0, objects);\n      return this;\n    },\n    /**\n      Reverse objects in the array. Works just like `reverse()` but it is\n      KVO-compliant.\n       @method reverseObjects\n      @return {EmberArray} receiver\n       @public\n    */\n    reverseObjects() {\n      var len = this.length;\n      if (len === 0) {\n        return this;\n      }\n      var objects = this.toArray().reverse();\n      this.replace(0, len, objects);\n      return this;\n    },\n    /**\n      Replace all the receiver's content with content of the argument.\n      If argument is an empty array receiver will be cleared.\n       ```javascript\n      let colors = ['red', 'green', 'blue'];\n       colors.setObjects(['black', 'white']);  // ['black', 'white']\n      colors.setObjects([]);                  // []\n      ```\n       @method setObjects\n      @param {EmberArray} objects array whose content will be used for replacing\n          the content of the receiver\n      @return {EmberArray} receiver with the new content\n      @public\n    */\n    setObjects(objects) {\n      if (objects.length === 0) {\n        return this.clear();\n      }\n      var len = this.length;\n      this.replace(0, len, objects);\n      return this;\n    },\n    /**\n      Remove all occurrences of an object in the array.\n       ```javascript\n      let cities = ['Chicago', 'Berlin', 'Lima', 'Chicago'];\n       cities.removeObject('Chicago');  // ['Berlin', 'Lima']\n      cities.removeObject('Lima');     // ['Berlin']\n      cities.removeObject('Tokyo')     // ['Berlin']\n      ```\n       @method removeObject\n      @param {*} obj object to remove\n      @return {EmberArray} receiver\n      @public\n    */\n    removeObject(obj) {\n      var loc = this.length || 0;\n      while (--loc >= 0) {\n        var curObject = (0, _metal.objectAt)(this, loc);\n        if (curObject === obj) {\n          this.removeAt(loc);\n        }\n      }\n      return this;\n    },\n    /**\n      Removes each object in the passed array from the receiver.\n       @method removeObjects\n      @param {EmberArray} objects the objects to remove\n      @return {EmberArray} receiver\n      @public\n    */\n    removeObjects(objects) {\n      (0, _metal.beginPropertyChanges)();\n      for (var i = objects.length - 1; i >= 0; i--) {\n        this.removeObject(objects[i]);\n      }\n      (0, _metal.endPropertyChanges)();\n      return this;\n    },\n    /**\n      Push the object onto the end of the array if it is not already\n      present in the array.\n       ```javascript\n      let cities = ['Chicago', 'Berlin'];\n       cities.addObject('Lima');    // ['Chicago', 'Berlin', 'Lima']\n      cities.addObject('Berlin');  // ['Chicago', 'Berlin', 'Lima']\n      ```\n       @method addObject\n      @param {*} obj object to add, if not already present\n      @return {EmberArray} receiver\n      @public\n    */\n    addObject(obj) {\n      var included = this.includes(obj);\n      if (!included) {\n        this.pushObject(obj);\n      }\n      return this;\n    },\n    /**\n      Adds each object in the passed array to the receiver.\n       @method addObjects\n      @param {EmberArray} objects the objects to add.\n      @return {EmberArray} receiver\n      @public\n    */\n    addObjects(objects) {\n      (0, _metal.beginPropertyChanges)();\n      objects.forEach(obj => this.addObject(obj));\n      (0, _metal.endPropertyChanges)();\n      return this;\n    }\n  });\n  /**\n    Creates an `Ember.NativeArray` from an Array-like object.\n    Does not modify the original object's contents. `A()` is not needed if\n    `EmberENV.EXTEND_PROTOTYPES` is `true` (the default value). However,\n    it is recommended that you use `A()` when creating addons for\n    ember or when you can not guarantee that `EmberENV.EXTEND_PROTOTYPES`\n    will be `true`.\n  \n    Example\n  \n    ```app/components/my-component.js\n    import Component from '@ember/component';\n    import { A } from '@ember/array';\n  \n    export default Component.extend({\n      tagName: 'ul',\n      classNames: ['pagination'],\n  \n      init() {\n        this._super(...arguments);\n  \n        if (!this.get('content')) {\n          this.set('content', A());\n          this.set('otherContent', A([1,2,3]));\n        }\n      }\n    });\n    ```\n  \n    @method A\n    @static\n    @for @ember/array\n    @return {Ember.NativeArray}\n    @public\n  */\n  // Add Ember.Array to Array.prototype. Remove methods with native\n  // implementations and supply some more optimized versions of generic methods\n  // because they are so common.\n\n  /**\n  @module ember\n  */\n\n  /**\n    The NativeArray mixin contains the properties needed to make the native\n    Array support MutableArray and all of its dependent APIs. Unless you\n    have `EmberENV.EXTEND_PROTOTYPES` or `EmberENV.EXTEND_PROTOTYPES.Array` set to\n    false, this will be applied automatically. Otherwise you can apply the mixin\n    at anytime by calling `Ember.NativeArray.apply(Array.prototype)`.\n  \n    @class Ember.NativeArray\n    @uses MutableArray\n    @uses Observable\n    @public\n  */\n\n  var NativeArray = _exports.NativeArray = _metal.Mixin.create(MutableArray, _observable.default, {\n    objectAt(idx) {\n      return this[idx];\n    },\n    // primitive for array support.\n    replace(start, deleteCount, items = EMPTY_ARRAY) {\n      (true && !(Array.isArray(items)) && (0, _debug.assert)('The third argument to replace needs to be an array.', Array.isArray(items)));\n      (0, _metal.replaceInNativeArray)(this, start, deleteCount, items);\n      return this;\n    }\n  }); // Remove any methods implemented natively so we don't override them\n\n  var ignore = ['length'];\n  NativeArray.keys().forEach(methodName => {\n    if (Array.prototype[methodName]) {\n      ignore.push(methodName);\n    }\n  });\n  _exports.NativeArray = NativeArray = NativeArray.without(...ignore);\n  var A;\n  if (_environment.ENV.EXTEND_PROTOTYPES.Array) {\n    NativeArray.apply(Array.prototype, true);\n    _exports.A = A = function (arr) {\n      (true && !(!(this instanceof A)) && (0, _debug.assert)('You cannot create an Ember Array with `new A()`, please update to calling A as a function: `A()`', !(this instanceof A)));\n      return arr || [];\n    };\n  } else {\n    _exports.A = A = function (arr) {\n      (true && !(!(this instanceof A)) && (0, _debug.assert)('You cannot create an Ember Array with `new A()`, please update to calling A as a function: `A()`', !(this instanceof A)));\n      if (!arr) {\n        arr = [];\n      }\n      return ArrayMixin.detect(arr) ? arr : NativeArray.apply(arr);\n    };\n  }\n  var _default = _exports.default = ArrayMixin;\n});","define(\"@ember/-internals/runtime/lib/mixins/comparable\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module ember\n  */\n  /**\n    Implements some standard methods for comparing objects. Add this mixin to\n    any class you create that can compare its instances.\n  \n    You should implement the `compare()` method.\n  \n    @class Comparable\n    @namespace Ember\n    @since Ember 0.9\n    @private\n  */\n  var _default = _exports.default = _metal.Mixin.create({\n    /**\n      __Required.__ You must implement this method to apply this mixin.\n       Override to return the result of the comparison of the two parameters. The\n      compare method should return:\n       - `-1` if `a < b`\n      - `0` if `a == b`\n      - `1` if `a > b`\n       Default implementation raises an exception.\n       @method compare\n      @param a {Object} the first object to compare\n      @param b {Object} the second object to compare\n      @return {Number} the result of the comparison\n      @private\n    */\n    compare: null\n  });\n});","define(\"@ember/-internals/runtime/lib/mixins/container_proxy\", [\"exports\", \"@ember/runloop\", \"@ember/-internals/metal\"], function (_exports, _runloop, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module ember\n  */\n\n  /**\n    ContainerProxyMixin is used to provide public access to specific\n    container functionality.\n  \n    @class ContainerProxyMixin\n    @private\n  */\n\n  var containerProxyMixin = {\n    /**\n     The container stores state.\n      @private\n     @property {Ember.Container} __container__\n     */\n    __container__: null,\n    /**\n     Returns an object that can be used to provide an owner to a\n     manually created instance.\n      Example:\n      ```\n     import { getOwner } from '@ember/application';\n      let owner = getOwner(this);\n      User.create(\n       owner.ownerInjection(),\n       { username: 'rwjblue' }\n     )\n     ```\n      @public\n     @method ownerInjection\n     @since 2.3.0\n     @return {Object}\n    */\n    ownerInjection() {\n      return this.__container__.ownerInjection();\n    },\n    /**\n     Given a fullName return a corresponding instance.\n      The default behavior is for lookup to return a singleton instance.\n     The singleton is scoped to the container, allowing multiple containers\n     to all have their own locally scoped singletons.\n      ```javascript\n     let registry = new Registry();\n     let container = registry.container();\n      registry.register('api:twitter', Twitter);\n      let twitter = container.lookup('api:twitter');\n      twitter instanceof Twitter; // => true\n      // by default the container will return singletons\n     let twitter2 = container.lookup('api:twitter');\n     twitter2 instanceof Twitter; // => true\n      twitter === twitter2; //=> true\n     ```\n      If singletons are not wanted an optional flag can be provided at lookup.\n      ```javascript\n     let registry = new Registry();\n     let container = registry.container();\n      registry.register('api:twitter', Twitter);\n      let twitter = container.lookup('api:twitter', { singleton: false });\n     let twitter2 = container.lookup('api:twitter', { singleton: false });\n      twitter === twitter2; //=> false\n     ```\n      @public\n     @method lookup\n     @param {String} fullName\n     @param {Object} options\n     @return {any}\n     */\n    lookup(fullName, options) {\n      return this.__container__.lookup(fullName, options);\n    },\n    destroy() {\n      var container = this.__container__;\n      if (container) {\n        (0, _runloop.join)(() => {\n          container.destroy();\n          (0, _runloop.schedule)('destroy', container, 'finalizeDestroy');\n        });\n      }\n      this._super();\n    },\n    /**\n    Given a fullName return a factory manager.\n     This method returns a manager which can be used for introspection of the\n    factory's class or for the creation of factory instances with initial\n    properties. The manager is an object with the following properties:\n     * `class` - The registered or resolved class.\n    * `create` - A function that will create an instance of the class with\n      any dependencies injected.\n     For example:\n     ```javascript\n    import { getOwner } from '@ember/application';\n     let owner = getOwner(otherInstance);\n    // the owner is commonly the `applicationInstance`, and can be accessed via\n    // an instance initializer.\n     let factory = owner.factoryFor('service:bespoke');\n     factory.class;\n    // The registered or resolved class. For example when used with an Ember-CLI\n    // app, this would be the default export from `app/services/bespoke.js`.\n     let instance = factory.create({\n      someProperty: 'an initial property value'\n    });\n    // Create an instance with any injections and the passed options as\n    // initial properties.\n    ```\n     Any instances created via the factory's `.create()` method *must* be destroyed\n    manually by the caller of `.create()`. Typically, this is done during the creating\n    objects own `destroy` or `willDestroy` methods.\n     @public\n    @method factoryFor\n    @param {String} fullName\n    @param {Object} options\n    @return {FactoryManager}\n    */\n    factoryFor(fullName, options = {}) {\n      return this.__container__.factoryFor(fullName, options);\n    }\n  };\n  var _default = _exports.default = _metal.Mixin.create(containerProxyMixin);\n});","define(\"@ember/-internals/runtime/lib/mixins/copyable\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module ember\n  */\n  /**\n    Implements some standard methods for copying an object. Add this mixin to\n    any object you create that can create a copy of itself. This mixin is\n    added automatically to the built-in array.\n  \n    You should generally implement the `copy()` method to return a copy of the\n    receiver.\n  \n    @class Copyable\n    @namespace Ember\n    @since Ember 0.9\n    @deprecated Use 'ember-copy' addon instead\n    @private\n  */\n  var _default = _exports.default = _metal.Mixin.create({\n    /**\n      __Required.__ You must implement this method to apply this mixin.\n       Override to return a copy of the receiver. Default implementation raises\n      an exception.\n       @method copy\n      @param {Boolean} deep if `true`, a deep copy of the object should be made\n      @return {Object} copy of receiver\n      @private\n    */\n    copy: null\n  });\n});","define(\"@ember/-internals/runtime/lib/mixins/enumerable\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module @ember/enumerable\n  @private\n  */\n  /**\n    The methods in this mixin have been moved to [MutableArray](/ember/release/classes/MutableArray). This mixin has\n    been intentionally preserved to avoid breaking Enumerable.detect checks\n    until the community migrates away from them.\n  \n    @class Enumerable\n    @private\n  */\n  var _default = _exports.default = _metal.Mixin.create();\n});","define(\"@ember/-internals/runtime/lib/mixins/evented\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module @ember/object\n  */\n  /**\n    This mixin allows for Ember objects to subscribe to and emit events.\n  \n    ```app/utils/person.js\n    import EmberObject from '@ember/object';\n    import Evented from '@ember/object/evented';\n  \n    export default EmberObject.extend(Evented, {\n      greet() {\n        // ...\n        this.trigger('greet');\n      }\n    });\n    ```\n  \n    ```javascript\n    var person = Person.create();\n  \n    person.on('greet', function() {\n      console.log('Our person has greeted');\n    });\n  \n    person.greet();\n  \n    // outputs: 'Our person has greeted'\n    ```\n  \n    You can also chain multiple event subscriptions:\n  \n    ```javascript\n    person.on('greet', function() {\n      console.log('Our person has greeted');\n    }).one('greet', function() {\n      console.log('Offer one-time special');\n    }).off('event', this, forgetThis);\n    ```\n  \n    @class Evented\n    @public\n   */\n  var _default = _exports.default = _metal.Mixin.create({\n    /**\n      Subscribes to a named event with given function.\n       ```javascript\n      person.on('didLoad', function() {\n        // fired once the person has loaded\n      });\n      ```\n       An optional target can be passed in as the 2nd argument that will\n      be set as the \"this\" for the callback. This is a good way to give your\n      function access to the object triggering the event. When the target\n      parameter is used the callback method becomes the third argument.\n       @method on\n      @param {String} name The name of the event\n      @param {Object} [target] The \"this\" binding for the callback\n      @param {Function|String} method A function or the name of a function to be called on `target`\n      @return this\n      @public\n    */\n    on(name, target, method) {\n      (0, _metal.addListener)(this, name, target, method);\n      return this;\n    },\n    /**\n      Subscribes a function to a named event and then cancels the subscription\n      after the first time the event is triggered. It is good to use ``one`` when\n      you only care about the first time an event has taken place.\n       This function takes an optional 2nd argument that will become the \"this\"\n      value for the callback. When the target parameter is used the callback method\n      becomes the third argument.\n       @method one\n      @param {String} name The name of the event\n      @param {Object} [target] The \"this\" binding for the callback\n      @param {Function|String} method A function or the name of a function to be called on `target`\n      @return this\n      @public\n    */\n    one(name, target, method) {\n      (0, _metal.addListener)(this, name, target, method, true);\n      return this;\n    },\n    /**\n      Triggers a named event for the object. Any additional arguments\n      will be passed as parameters to the functions that are subscribed to the\n      event.\n       ```javascript\n      person.on('didEat', function(food) {\n        console.log('person ate some ' + food);\n      });\n       person.trigger('didEat', 'broccoli');\n       // outputs: person ate some broccoli\n      ```\n      @method trigger\n      @param {String} name The name of the event\n      @param {Object...} args Optional arguments to pass on\n      @public\n    */\n    trigger(name, ...args) {\n      (0, _metal.sendEvent)(this, name, args);\n    },\n    /**\n      Cancels subscription for given name, target, and method.\n       @method off\n      @param {String} name The name of the event\n      @param {Object} target The target of the subscription\n      @param {Function|String} method The function or the name of a function of the subscription\n      @return this\n      @public\n    */\n    off(name, target, method) {\n      (0, _metal.removeListener)(this, name, target, method);\n      return this;\n    },\n    /**\n      Checks to see if object has any subscriptions for named event.\n       @method has\n      @param {String} name The name of the event\n      @return {Boolean} does the object have a subscription for event\n      @public\n     */\n    has(name) {\n      return (0, _metal.hasListeners)(this, name);\n    }\n  });\n});","define(\"@ember/-internals/runtime/lib/mixins/mutable_enumerable\", [\"exports\", \"@ember/-internals/runtime/lib/mixins/enumerable\", \"@ember/-internals/metal\"], function (_exports, _enumerable, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module ember\n  */\n  /**\n    The methods in this mixin have been moved to MutableArray. This mixin has\n    been intentionally preserved to avoid breaking MutableEnumerable.detect\n    checks until the community migrates away from them.\n  \n    @class MutableEnumerable\n    @namespace Ember\n    @uses Enumerable\n    @private\n  */\n  var _default = _exports.default = _metal.Mixin.create(_enumerable.default);\n});","define(\"@ember/-internals/runtime/lib/mixins/observable\", [\"exports\", \"@ember/-internals/meta\", \"@ember/-internals/metal\", \"@ember/debug\"], function (_exports, _meta, _metal, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module @ember/object\n  */\n  /**\n    ## Overview\n  \n    This mixin provides properties and property observing functionality, core\n    features of the Ember object model.\n  \n    Properties and observers allow one object to observe changes to a\n    property on another object. This is one of the fundamental ways that\n    models, controllers and views communicate with each other in an Ember\n    application.\n  \n    Any object that has this mixin applied can be used in observer\n    operations. That includes `EmberObject` and most objects you will\n    interact with as you write your Ember application.\n  \n    Note that you will not generally apply this mixin to classes yourself,\n    but you will use the features provided by this module frequently, so it\n    is important to understand how to use it.\n  \n    ## Using `get()` and `set()`\n  \n    Because of Ember's support for bindings and observers, you will always\n    access properties using the get method, and set properties using the\n    set method. This allows the observing objects to be notified and\n    computed properties to be handled properly.\n  \n    More documentation about `get` and `set` are below.\n  \n    ## Observing Property Changes\n  \n    You typically observe property changes simply by using the `observer`\n    function in classes that you write.\n  \n    For example:\n  \n    ```javascript\n    import { observer } from '@ember/object';\n    import EmberObject from '@ember/object';\n  \n    EmberObject.extend({\n      valueObserver: observer('value', function(sender, key, value, rev) {\n        // Executes whenever the \"value\" property changes\n        // See the addObserver method for more information about the callback arguments\n      })\n    });\n    ```\n  \n    Although this is the most common way to add an observer, this capability\n    is actually built into the `EmberObject` class on top of two methods\n    defined in this mixin: `addObserver` and `removeObserver`. You can use\n    these two methods to add and remove observers yourself if you need to\n    do so at runtime.\n  \n    To add an observer for a property, call:\n  \n    ```javascript\n    object.addObserver('propertyKey', targetObject, targetAction)\n    ```\n  \n    This will call the `targetAction` method on the `targetObject` whenever\n    the value of the `propertyKey` changes.\n  \n    Note that if `propertyKey` is a computed property, the observer will be\n    called when any of the property dependencies are changed, even if the\n    resulting value of the computed property is unchanged. This is necessary\n    because computed properties are not computed until `get` is called.\n  \n    @class Observable\n    @public\n  */\n  var _default = _exports.default = _metal.Mixin.create({\n    /**\n      Retrieves the value of a property from the object.\n       This method is usually similar to using `object[keyName]` or `object.keyName`,\n      however it supports both computed properties and the unknownProperty\n      handler.\n       Because `get` unifies the syntax for accessing all these kinds\n      of properties, it can make many refactorings easier, such as replacing a\n      simple property with a computed property, or vice versa.\n       ### Computed Properties\n       Computed properties are methods defined with the `property` modifier\n      declared at the end, such as:\n       ```javascript\n      import { computed } from '@ember/object';\n       fullName: computed('firstName', 'lastName', function() {\n        return this.get('firstName') + ' ' + this.get('lastName');\n      })\n      ```\n       When you call `get` on a computed property, the function will be\n      called and the return value will be returned instead of the function\n      itself.\n       ### Unknown Properties\n       Likewise, if you try to call `get` on a property whose value is\n      `undefined`, the `unknownProperty()` method will be called on the object.\n      If this method returns any value other than `undefined`, it will be returned\n      instead. This allows you to implement \"virtual\" properties that are\n      not defined upfront.\n       @method get\n      @param {String} keyName The property to retrieve\n      @return {Object} The property value or undefined.\n      @public\n    */\n    get(keyName) {\n      return (0, _metal.get)(this, keyName);\n    },\n    /**\n      To get the values of multiple properties at once, call `getProperties`\n      with a list of strings or an array:\n       ```javascript\n      record.getProperties('firstName', 'lastName', 'zipCode');\n      // { firstName: 'John', lastName: 'Doe', zipCode: '10011' }\n      ```\n       is equivalent to:\n       ```javascript\n      record.getProperties(['firstName', 'lastName', 'zipCode']);\n      // { firstName: 'John', lastName: 'Doe', zipCode: '10011' }\n      ```\n       @method getProperties\n      @param {String...|Array} list of keys to get\n      @return {Object}\n      @public\n    */\n    getProperties(...args) {\n      return (0, _metal.getProperties)(...[this].concat(args));\n    },\n    /**\n      Sets the provided key or path to the value.\n       ```javascript\n      record.set(\"key\", value);\n      ```\n       This method is generally very similar to calling `object[\"key\"] = value` or\n      `object.key = value`, except that it provides support for computed\n      properties, the `setUnknownProperty()` method and property observers.\n       ### Computed Properties\n       If you try to set a value on a key that has a computed property handler\n      defined (see the `get()` method for an example), then `set()` will call\n      that method, passing both the value and key instead of simply changing\n      the value itself. This is useful for those times when you need to\n      implement a property that is composed of one or more member\n      properties.\n       ### Unknown Properties\n       If you try to set a value on a key that is undefined in the target\n      object, then the `setUnknownProperty()` handler will be called instead. This\n      gives you an opportunity to implement complex \"virtual\" properties that\n      are not predefined on the object. If `setUnknownProperty()` returns\n      undefined, then `set()` will simply set the value on the object.\n       ### Property Observers\n       In addition to changing the property, `set()` will also register a property\n      change with the object. Unless you have placed this call inside of a\n      `beginPropertyChanges()` and `endPropertyChanges(),` any \"local\" observers\n      (i.e. observer methods declared on the same object), will be called\n      immediately. Any \"remote\" observers (i.e. observer methods declared on\n      another object) will be placed in a queue and called at a later time in a\n      coalesced manner.\n       @method set\n      @param {String} keyName The property to set\n      @param {Object} value The value to set or `null`.\n      @return {Object} The passed value\n      @public\n    */\n    set(keyName, value) {\n      return (0, _metal.set)(this, keyName, value);\n    },\n    /**\n      Sets a list of properties at once. These properties are set inside\n      a single `beginPropertyChanges` and `endPropertyChanges` batch, so\n      observers will be buffered.\n       ```javascript\n      record.setProperties({ firstName: 'Charles', lastName: 'Jolley' });\n      ```\n       @method setProperties\n      @param {Object} hash the hash of keys and values to set\n      @return {Object} The passed in hash\n      @public\n    */\n    setProperties(hash) {\n      return (0, _metal.setProperties)(this, hash);\n    },\n    /**\n      Begins a grouping of property changes.\n       You can use this method to group property changes so that notifications\n      will not be sent until the changes are finished. If you plan to make a\n      large number of changes to an object at one time, you should call this\n      method at the beginning of the changes to begin deferring change\n      notifications. When you are done making changes, call\n      `endPropertyChanges()` to deliver the deferred change notifications and end\n      deferring.\n       @method beginPropertyChanges\n      @return {Observable}\n      @private\n    */\n    beginPropertyChanges() {\n      (0, _metal.beginPropertyChanges)();\n      return this;\n    },\n    /**\n      Ends a grouping of property changes.\n       You can use this method to group property changes so that notifications\n      will not be sent until the changes are finished. If you plan to make a\n      large number of changes to an object at one time, you should call\n      `beginPropertyChanges()` at the beginning of the changes to defer change\n      notifications. When you are done making changes, call this method to\n      deliver the deferred change notifications and end deferring.\n       @method endPropertyChanges\n      @return {Observable}\n      @private\n    */\n    endPropertyChanges() {\n      (0, _metal.endPropertyChanges)();\n      return this;\n    },\n    /**\n      Notify the observer system that a property has just changed.\n       Sometimes you need to change a value directly or indirectly without\n      actually calling `get()` or `set()` on it. In this case, you can use this\n      method instead. Calling this method will notify all observers that the\n      property has potentially changed value.\n       @method notifyPropertyChange\n      @param {String} keyName The property key to be notified about.\n      @return {Observable}\n      @public\n    */\n    notifyPropertyChange(keyName) {\n      (0, _metal.notifyPropertyChange)(this, keyName);\n      return this;\n    },\n    /**\n      Adds an observer on a property.\n       This is the core method used to register an observer for a property.\n       Once you call this method, any time the key's value is set, your observer\n      will be notified. Note that the observers are triggered any time the\n      value is set, regardless of whether it has actually changed. Your\n      observer should be prepared to handle that.\n       There are two common invocation patterns for `.addObserver()`:\n       - Passing two arguments:\n        - the name of the property to observe (as a string)\n        - the function to invoke (an actual function)\n      - Passing three arguments:\n        - the name of the property to observe (as a string)\n        - the target object (will be used to look up and invoke a\n          function on)\n        - the name of the function to invoke on the target object\n          (as a string).\n       ```app/components/my-component.js\n      import Component from '@ember/component';\n       export default Component.extend({\n        init() {\n          this._super(...arguments);\n           // the following are equivalent:\n           // using three arguments\n          this.addObserver('foo', this, 'fooDidChange');\n           // using two arguments\n          this.addObserver('foo', (...args) => {\n            this.fooDidChange(...args);\n          });\n        },\n         fooDidChange() {\n          // your custom logic code\n        }\n      });\n      ```\n       ### Observer Methods\n       Observer methods have the following signature:\n       ```app/components/my-component.js\n      import Component from '@ember/component';\n       export default Component.extend({\n        init() {\n          this._super(...arguments);\n          this.addObserver('foo', this, 'fooDidChange');\n        },\n         fooDidChange(sender, key, value, rev) {\n          // your code\n        }\n      });\n      ```\n       The `sender` is the object that changed. The `key` is the property that\n      changes. The `value` property is currently reserved and unused. The `rev`\n      is the last property revision of the object when it changed, which you can\n      use to detect if the key value has really changed or not.\n       Usually you will not need the value or revision parameters at\n      the end. In this case, it is common to write observer methods that take\n      only a sender and key value as parameters or, if you aren't interested in\n      any of these values, to write an observer that has no parameters at all.\n       @method addObserver\n      @param {String} key The key to observe\n      @param {Object} target The target object to invoke\n      @param {String|Function} method The method to invoke\n      @param {Boolean} sync Whether the observer is sync or not\n      @return {Observable}\n      @public\n    */\n    addObserver(key, target, method, sync) {\n      (0, _metal.addObserver)(this, key, target, method, sync);\n      return this;\n    },\n    /**\n      Remove an observer you have previously registered on this object. Pass\n      the same key, target, and method you passed to `addObserver()` and your\n      target will no longer receive notifications.\n       @method removeObserver\n      @param {String} key The key to observe\n      @param {Object} target The target object to invoke\n      @param {String|Function} method The method to invoke\n      @param {Boolean} sync Whether the observer is async or not\n      @return {Observable}\n      @public\n    */\n    removeObserver(key, target, method, sync) {\n      (0, _metal.removeObserver)(this, key, target, method, sync);\n      return this;\n    },\n    /**\n      Returns `true` if the object currently has observers registered for a\n      particular key. You can use this method to potentially defer performing\n      an expensive action until someone begins observing a particular property\n      on the object.\n       @method hasObserverFor\n      @param {String} key Key to check\n      @return {Boolean}\n      @private\n    */\n    hasObserverFor(key) {\n      return (0, _metal.hasListeners)(this, `${key}:change`);\n    },\n    /**\n      Retrieves the value of a property, or a default value in the case that the\n      property returns `undefined`.\n       ```javascript\n      person.getWithDefault('lastName', 'Doe');\n      ```\n       @method getWithDefault\n      @param {String} keyName The name of the property to retrieve\n      @param {Object} defaultValue The value to return if the property value is undefined\n      @return {Object} The property value or the defaultValue.\n      @public\n      @deprecated\n    */\n    getWithDefault(keyName, defaultValue) {\n      return (0, _metal.getWithDefault)(this, keyName, defaultValue);\n    },\n    /**\n      Set the value of a property to the current value plus some amount.\n       ```javascript\n      person.incrementProperty('age');\n      team.incrementProperty('score', 2);\n      ```\n       @method incrementProperty\n      @param {String} keyName The name of the property to increment\n      @param {Number} increment The amount to increment by. Defaults to 1\n      @return {Number} The new property value\n      @public\n    */\n    incrementProperty(keyName, increment = 1) {\n      (true && !(!isNaN(parseFloat(increment)) && isFinite(increment)) && (0, _debug.assert)('Must pass a numeric value to incrementProperty', !isNaN(parseFloat(increment)) && isFinite(increment)));\n      return (0, _metal.set)(this, keyName, (parseFloat((0, _metal.get)(this, keyName)) || 0) + increment);\n    },\n    /**\n      Set the value of a property to the current value minus some amount.\n       ```javascript\n      player.decrementProperty('lives');\n      orc.decrementProperty('health', 5);\n      ```\n       @method decrementProperty\n      @param {String} keyName The name of the property to decrement\n      @param {Number} decrement The amount to decrement by. Defaults to 1\n      @return {Number} The new property value\n      @public\n    */\n    decrementProperty(keyName, decrement = 1) {\n      (true && !(!isNaN(parseFloat(decrement)) && isFinite(decrement)) && (0, _debug.assert)('Must pass a numeric value to decrementProperty', !isNaN(parseFloat(decrement)) && isFinite(decrement)));\n      return (0, _metal.set)(this, keyName, ((0, _metal.get)(this, keyName) || 0) - decrement);\n    },\n    /**\n      Set the value of a boolean property to the opposite of its\n      current value.\n       ```javascript\n      starship.toggleProperty('warpDriveEngaged');\n      ```\n       @method toggleProperty\n      @param {String} keyName The name of the property to toggle\n      @return {Boolean} The new property value\n      @public\n    */\n    toggleProperty(keyName) {\n      return (0, _metal.set)(this, keyName, !(0, _metal.get)(this, keyName));\n    },\n    /**\n      Returns the cached value of a computed property, if it exists.\n      This allows you to inspect the value of a computed property\n      without accidentally invoking it if it is intended to be\n      generated lazily.\n       @method cacheFor\n      @param {String} keyName\n      @return {Object} The cached value of the computed property, if any\n      @public\n    */\n    cacheFor(keyName) {\n      var meta = (0, _meta.peekMeta)(this);\n      if (meta !== null) {\n        return meta.valueFor(keyName);\n      }\n    }\n  });\n});","define(\"@ember/-internals/runtime/lib/mixins/promise_proxy\", [\"exports\", \"@ember/-internals/metal\", \"@ember/error\"], function (_exports, _metal, _error) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n    @module @ember/object\n  */\n\n  function tap(proxy, promise) {\n    (0, _metal.setProperties)(proxy, {\n      isFulfilled: false,\n      isRejected: false\n    });\n    return promise.then(value => {\n      if (!proxy.isDestroyed && !proxy.isDestroying) {\n        (0, _metal.setProperties)(proxy, {\n          content: value,\n          isFulfilled: true\n        });\n      }\n      return value;\n    }, reason => {\n      if (!proxy.isDestroyed && !proxy.isDestroying) {\n        (0, _metal.setProperties)(proxy, {\n          reason,\n          isRejected: true\n        });\n      }\n      throw reason;\n    }, 'Ember: PromiseProxy');\n  }\n  /**\n    A low level mixin making ObjectProxy promise-aware.\n  \n    ```javascript\n    import { resolve } from 'rsvp';\n    import $ from 'jquery';\n    import ObjectProxy from '@ember/object/proxy';\n    import PromiseProxyMixin from '@ember/object/promise-proxy-mixin';\n  \n    let ObjectPromiseProxy = ObjectProxy.extend(PromiseProxyMixin);\n  \n    let proxy = ObjectPromiseProxy.create({\n      promise: resolve($.getJSON('/some/remote/data.json'))\n    });\n  \n    proxy.then(function(json){\n       // the json\n    }, function(reason) {\n       // the reason why you have no json\n    });\n    ```\n  \n    the proxy has bindable attributes which\n    track the promises life cycle\n  \n    ```javascript\n    proxy.get('isPending')   //=> true\n    proxy.get('isSettled')  //=> false\n    proxy.get('isRejected')  //=> false\n    proxy.get('isFulfilled') //=> false\n    ```\n  \n    When the $.getJSON completes, and the promise is fulfilled\n    with json, the life cycle attributes will update accordingly.\n    Note that $.getJSON doesn't return an ECMA specified promise,\n    it is useful to wrap this with an `RSVP.resolve` so that it behaves\n    as a spec compliant promise.\n  \n    ```javascript\n    proxy.get('isPending')   //=> false\n    proxy.get('isSettled')   //=> true\n    proxy.get('isRejected')  //=> false\n    proxy.get('isFulfilled') //=> true\n    ```\n  \n    As the proxy is an ObjectProxy, and the json now its content,\n    all the json properties will be available directly from the proxy.\n  \n    ```javascript\n    // Assuming the following json:\n    {\n      firstName: 'Stefan',\n      lastName: 'Penner'\n    }\n  \n    // both properties will accessible on the proxy\n    proxy.get('firstName') //=> 'Stefan'\n    proxy.get('lastName')  //=> 'Penner'\n    ```\n  \n    @class PromiseProxyMixin\n    @public\n  */\n  var _default = _exports.default = _metal.Mixin.create({\n    /**\n      If the proxied promise is rejected this will contain the reason\n      provided.\n       @property reason\n      @default null\n      @public\n    */\n    reason: null,\n    /**\n      Once the proxied promise has settled this will become `false`.\n       @property isPending\n      @default true\n      @public\n    */\n    isPending: (0, _metal.computed)('isSettled', function () {\n      return !(0, _metal.get)(this, 'isSettled');\n    }).readOnly(),\n    /**\n      Once the proxied promise has settled this will become `true`.\n       @property isSettled\n      @default false\n      @public\n    */\n    isSettled: (0, _metal.computed)('isRejected', 'isFulfilled', function () {\n      return (0, _metal.get)(this, 'isRejected') || (0, _metal.get)(this, 'isFulfilled');\n    }).readOnly(),\n    /**\n      Will become `true` if the proxied promise is rejected.\n       @property isRejected\n      @default false\n      @public\n    */\n    isRejected: false,\n    /**\n      Will become `true` if the proxied promise is fulfilled.\n       @property isFulfilled\n      @default false\n      @public\n    */\n    isFulfilled: false,\n    /**\n      The promise whose fulfillment value is being proxied by this object.\n       This property must be specified upon creation, and should not be\n      changed once created.\n       Example:\n       ```javascript\n      import ObjectProxy from '@ember/object/proxy';\n      import PromiseProxyMixin from '@ember/object/promise-proxy-mixin';\n       ObjectProxy.extend(PromiseProxyMixin).create({\n        promise: <thenable>\n      });\n      ```\n       @property promise\n      @public\n    */\n    promise: (0, _metal.computed)({\n      get() {\n        throw new _error.default(\"PromiseProxy's promise must be set\");\n      },\n      set(key, promise) {\n        return tap(this, promise);\n      }\n    }),\n    /**\n      An alias to the proxied promise's `then`.\n       See RSVP.Promise.then.\n       @method then\n      @param {Function} callback\n      @return {RSVP.Promise}\n      @public\n    */\n    then: promiseAlias('then'),\n    /**\n      An alias to the proxied promise's `catch`.\n       See RSVP.Promise.catch.\n       @method catch\n      @param {Function} callback\n      @return {RSVP.Promise}\n      @since 1.3.0\n      @public\n    */\n    catch: promiseAlias('catch'),\n    /**\n      An alias to the proxied promise's `finally`.\n       See RSVP.Promise.finally.\n       @method finally\n      @param {Function} callback\n      @return {RSVP.Promise}\n      @since 1.3.0\n      @public\n    */\n    finally: promiseAlias('finally')\n  });\n  function promiseAlias(name) {\n    return function () {\n      var promise = (0, _metal.get)(this, 'promise');\n      return promise[name](...arguments);\n    };\n  }\n});","define(\"@ember/-internals/runtime/lib/mixins/registry_proxy\", [\"exports\", \"@ember/debug\", \"@ember/-internals/metal\"], function (_exports, _debug, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module ember\n  */\n  /**\n    RegistryProxyMixin is used to provide public access to specific\n    registry functionality.\n  \n    @class RegistryProxyMixin\n    @private\n  */\n  var _default = _exports.default = _metal.Mixin.create({\n    __registry__: null,\n    /**\n     Given a fullName return the corresponding factory.\n      @public\n     @method resolveRegistration\n     @param {String} fullName\n     @return {Function} fullName's factory\n     */\n    resolveRegistration(fullName, options) {\n      (true && !(this.__registry__.isValidFullName(fullName)) && (0, _debug.assert)('fullName must be a proper full name', this.__registry__.isValidFullName(fullName)));\n      return this.__registry__.resolve(fullName, options);\n    },\n    /**\n      Registers a factory that can be used for dependency injection (with\n      `inject`) or for service lookup. Each factory is registered with\n      a full name including two parts: `type:name`.\n       A simple example:\n       ```javascript\n      import Application from '@ember/application';\n      import EmberObject from '@ember/object';\n       let App = Application.create();\n       App.Orange = EmberObject.extend();\n      App.register('fruit:favorite', App.Orange);\n      ```\n       Ember will resolve factories from the `App` namespace automatically.\n      For example `App.CarsController` will be discovered and returned if\n      an application requests `controller:cars`.\n       An example of registering a controller with a non-standard name:\n       ```javascript\n      import Application from '@ember/application';\n      import Controller from '@ember/controller';\n       let App = Application.create();\n      let Session = Controller.extend();\n       App.register('controller:session', Session);\n       // The Session controller can now be treated like a normal controller,\n      // despite its non-standard name.\n      App.ApplicationController = Controller.extend({\n        needs: ['session']\n      });\n      ```\n       Registered factories are **instantiated** by having `create`\n      called on them. Additionally they are **singletons**, each time\n      they are looked up they return the same instance.\n       Some examples modifying that default behavior:\n       ```javascript\n      import Application from '@ember/application';\n      import EmberObject from '@ember/object';\n       let App = Application.create();\n       App.Person = EmberObject.extend();\n      App.Orange = EmberObject.extend();\n      App.Email = EmberObject.extend();\n      App.session = EmberObject.create();\n       App.register('model:user', App.Person, { singleton: false });\n      App.register('fruit:favorite', App.Orange);\n      App.register('communication:main', App.Email, { singleton: false });\n      App.register('session', App.session, { instantiate: false });\n      ```\n       @method register\n      @param  fullName {String} type:name (e.g., 'model:user')\n      @param  factory {any} (e.g., App.Person)\n      @param  options {Object} (optional) disable instantiation or singleton usage\n      @public\n     */\n    register: registryAlias('register'),\n    /**\n     Unregister a factory.\n      ```javascript\n     import Application from '@ember/application';\n     import EmberObject from '@ember/object';\n      let App = Application.create();\n     let User = EmberObject.extend();\n     App.register('model:user', User);\n      App.resolveRegistration('model:user').create() instanceof User //=> true\n      App.unregister('model:user')\n     App.resolveRegistration('model:user') === undefined //=> true\n     ```\n      @public\n     @method unregister\n     @param {String} fullName\n     */\n    unregister: registryAlias('unregister'),\n    /**\n     Check if a factory is registered.\n      @public\n     @method hasRegistration\n     @param {String} fullName\n     @return {Boolean}\n     */\n    hasRegistration: registryAlias('has'),\n    /**\n     Return a specific registered option for a particular factory.\n      @public\n     @method registeredOption\n     @param  {String} fullName\n     @param  {String} optionName\n     @return {Object} options\n     */\n    registeredOption: registryAlias('getOption'),\n    /**\n     Register options for a particular factory.\n      @public\n     @method registerOptions\n     @param {String} fullName\n     @param {Object} options\n     */\n    registerOptions: registryAlias('options'),\n    /**\n     Return registered options for a particular factory.\n      @public\n     @method registeredOptions\n     @param  {String} fullName\n     @return {Object} options\n     */\n    registeredOptions: registryAlias('getOptions'),\n    /**\n     Allow registering options for all factories of a type.\n      ```javascript\n     import Application from '@ember/application';\n      let App = Application.create();\n     let appInstance = App.buildInstance();\n      // if all of type `connection` must not be singletons\n     appInstance.registerOptionsForType('connection', { singleton: false });\n      appInstance.register('connection:twitter', TwitterConnection);\n     appInstance.register('connection:facebook', FacebookConnection);\n      let twitter = appInstance.lookup('connection:twitter');\n     let twitter2 = appInstance.lookup('connection:twitter');\n      twitter === twitter2; // => false\n      let facebook = appInstance.lookup('connection:facebook');\n     let facebook2 = appInstance.lookup('connection:facebook');\n      facebook === facebook2; // => false\n     ```\n      @public\n     @method registerOptionsForType\n     @param {String} type\n     @param {Object} options\n     */\n    registerOptionsForType: registryAlias('optionsForType'),\n    /**\n     Return the registered options for all factories of a type.\n      @public\n     @method registeredOptionsForType\n     @param {String} type\n     @return {Object} options\n     */\n    registeredOptionsForType: registryAlias('getOptionsForType'),\n    /**\n      Define a dependency injection onto a specific factory or all factories\n      of a type.\n       When Ember instantiates a controller, view, or other framework component\n      it can attach a dependency to that component. This is often used to\n      provide services to a set of framework components.\n       An example of providing a session object to all controllers:\n       ```javascript\n      import { alias } from '@ember/object/computed';\n      import Application from '@ember/application';\n      import Controller from '@ember/controller';\n      import EmberObject from '@ember/object';\n       let App = Application.create();\n      let Session = EmberObject.extend({ isAuthenticated: false });\n       // A factory must be registered before it can be injected\n      App.register('session:main', Session);\n       // Inject 'session:main' onto all factories of the type 'controller'\n      // with the name 'session'\n      App.inject('controller', 'session', 'session:main');\n       App.IndexController = Controller.extend({\n        isLoggedIn: alias('session.isAuthenticated')\n      });\n      ```\n       Injections can also be performed on specific factories.\n       ```javascript\n      App.inject(<full_name or type>, <property name>, <full_name>)\n      App.inject('route', 'source', 'source:main')\n      App.inject('route:application', 'email', 'model:email')\n      ```\n       It is important to note that injections can only be performed on\n      classes that are instantiated by Ember itself. Instantiating a class\n      directly (via `create` or `new`) bypasses the dependency injection\n      system.\n       @public\n      @method inject\n      @param  factoryNameOrType {String}\n      @param  property {String}\n      @param  injectionName {String}\n    **/\n    inject: registryAlias('injection')\n  });\n  function registryAlias(name) {\n    return function () {\n      return this.__registry__[name](...arguments);\n    };\n  }\n});","define(\"@ember/-internals/runtime/lib/mixins/target_action_support\", [\"exports\", \"@ember/-internals/environment\", \"@ember/-internals/metal\", \"@ember/debug\"], function (_exports, _environment, _metal, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module ember\n  */\n\n  if (true /* DEBUG */ && true\n  /* EMBER_MODERNIZED_BUILT_IN_COMPONENTS */) {\n    _metal.Mixin._disableDebugSeal = true;\n  }\n  /**\n  `Ember.TargetActionSupport` is a mixin that can be included in a class\n  to add a `triggerAction` method with semantics similar to the Handlebars\n  `{{action}}` helper. In normal Ember usage, the `{{action}}` helper is\n  usually the best choice. This mixin is most often useful when you are\n  doing more complex event handling in Components.\n  \n  @class TargetActionSupport\n  @namespace Ember\n  @extends Mixin\n  @private\n  */\n\n  var TargetActionSupport = _metal.Mixin.create({\n    target: null,\n    action: null,\n    actionContext: null,\n    actionContextObject: (0, _metal.computed)('actionContext', function () {\n      var actionContext = (0, _metal.get)(this, 'actionContext');\n      if (typeof actionContext === 'string') {\n        var value = (0, _metal.get)(this, actionContext);\n        if (value === undefined) {\n          value = (0, _metal.get)(_environment.context.lookup, actionContext);\n        }\n        return value;\n      } else {\n        return actionContext;\n      }\n    }),\n    /**\n    Send an `action` with an `actionContext` to a `target`. The action, actionContext\n    and target will be retrieved from properties of the object. For example:\n     ```javascript\n    import { alias } from '@ember/object/computed';\n     App.SaveButtonView = Ember.View.extend(Ember.TargetActionSupport, {\n      target: alias('controller'),\n      action: 'save',\n      actionContext: alias('context'),\n      click() {\n        this.triggerAction(); // Sends the `save` action, along with the current context\n                              // to the current controller\n      }\n    });\n    ```\n     The `target`, `action`, and `actionContext` can be provided as properties of\n    an optional object argument to `triggerAction` as well.\n     ```javascript\n    App.SaveButtonView = Ember.View.extend(Ember.TargetActionSupport, {\n      click() {\n        this.triggerAction({\n          action: 'save',\n          target: this.get('controller'),\n          actionContext: this.get('context')\n        }); // Sends the `save` action, along with the current context\n            // to the current controller\n      }\n    });\n    ```\n     The `actionContext` defaults to the object you are mixing `TargetActionSupport` into.\n    But `target` and `action` must be specified either as properties or with the argument\n    to `triggerAction`, or a combination:\n     ```javascript\n    import { alias } from '@ember/object/computed';\n     App.SaveButtonView = Ember.View.extend(Ember.TargetActionSupport, {\n      target: alias('controller'),\n      click() {\n        this.triggerAction({\n          action: 'save'\n        }); // Sends the `save` action, along with a reference to `this`,\n            // to the current controller\n      }\n    });\n    ```\n     @method triggerAction\n    @param opts {Object} (optional, with the optional keys action, target and/or actionContext)\n    @return {Boolean} true if the action was sent successfully and did not return false\n    @private\n    */\n    triggerAction(opts = {}) {\n      var {\n        action,\n        target,\n        actionContext\n      } = opts;\n      action = action || (0, _metal.get)(this, 'action');\n      target = target || getTarget(this);\n      if (actionContext === undefined) {\n        actionContext = (0, _metal.get)(this, 'actionContextObject') || this;\n      }\n      if (target && action) {\n        var ret;\n        if (target.send) {\n          ret = target.send(...[action].concat(actionContext));\n        } else {\n          (true && !(typeof target[action] === 'function') && (0, _debug.assert)(`The action '${action}' did not exist on ${target}`, typeof target[action] === 'function'));\n          ret = target[action](...[].concat(actionContext));\n        }\n        if (ret !== false) {\n          return true;\n        }\n      }\n      return false;\n    }\n  });\n  function getTarget(instance) {\n    var target = (0, _metal.get)(instance, 'target');\n    if (target) {\n      if (typeof target === 'string') {\n        var value = (0, _metal.get)(instance, target);\n        if (value === undefined) {\n          value = (0, _metal.get)(_environment.context.lookup, target);\n        }\n        return value;\n      } else {\n        return target;\n      }\n    }\n    if (instance._target) {\n      return instance._target;\n    }\n    return null;\n  }\n  if (true\n  /* EMBER_MODERNIZED_BUILT_IN_COMPONENTS */) {\n    Object.defineProperty(TargetActionSupport, '_wasReopened', {\n      configurable: true,\n      enumerable: false,\n      writable: true,\n      value: false\n    });\n    Object.defineProperty(TargetActionSupport, 'reopen', {\n      configurable: true,\n      enumerable: false,\n      writable: true,\n      value: function reopen(...args) {\n        if (this === TargetActionSupport) {\n          (true && !(false) && (0, _debug.deprecate)('Reopening Ember.TargetActionSupport is deprecated.', false, {\n            id: 'ember.built-in-components.reopen',\n            for: 'ember-source',\n            since: {\n              enabled: '3.27.0'\n            },\n            until: '4.0.0',\n            url: 'https://deprecations.emberjs.com/v3.x#toc_ember-built-in-components-reopen'\n          }));\n          TargetActionSupport._wasReopened = true;\n        }\n        return _metal.Mixin.prototype.reopen.call(this, ...args);\n      }\n    });\n    if (true /* DEBUG */) {\n      Object.seal(TargetActionSupport);\n      _metal.Mixin._disableDebugSeal = false;\n    }\n  }\n  var _default = _exports.default = TargetActionSupport;\n});","define(\"@ember/-internals/runtime/lib/system/array_proxy\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/utils\", \"@ember/-internals/runtime/lib/system/object\", \"@ember/-internals/runtime/lib/mixins/array\", \"@ember/debug\", \"@glimmer/manager\", \"@glimmer/validator\"], function (_exports, _metal, _utils, _object, _array, _debug, _manager, _validator) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module @ember/array\n  */\n\n  var ARRAY_OBSERVER_MAPPING = {\n    willChange: '_arrangedContentArrayWillChange',\n    didChange: '_arrangedContentArrayDidChange'\n  };\n  function customTagForArrayProxy(proxy, key) {\n    if (key === '[]') {\n      proxy._revalidate();\n      return proxy._arrTag;\n    } else if (key === 'length') {\n      proxy._revalidate();\n      return proxy._lengthTag;\n    }\n    return (0, _validator.tagFor)(proxy, key);\n  }\n  /**\n    An ArrayProxy wraps any other object that implements `Array` and/or\n    `MutableArray,` forwarding all requests. This makes it very useful for\n    a number of binding use cases or other cases where being able to swap\n    out the underlying array is useful.\n  \n    A simple example of usage:\n  \n    ```javascript\n    import { A } from '@ember/array';\n    import ArrayProxy from '@ember/array/proxy';\n  \n    let pets = ['dog', 'cat', 'fish'];\n    let ap = ArrayProxy.create({ content: A(pets) });\n  \n    ap.get('firstObject');                        // 'dog'\n    ap.set('content', ['amoeba', 'paramecium']);\n    ap.get('firstObject');                        // 'amoeba'\n    ```\n  \n    This class can also be useful as a layer to transform the contents of\n    an array, as they are accessed. This can be done by overriding\n    `objectAtContent`:\n  \n    ```javascript\n    import { A } from '@ember/array';\n    import ArrayProxy from '@ember/array/proxy';\n  \n    let pets = ['dog', 'cat', 'fish'];\n    let ap = ArrayProxy.create({\n        content: A(pets),\n        objectAtContent: function(idx) {\n            return this.get('content').objectAt(idx).toUpperCase();\n        }\n    });\n  \n    ap.get('firstObject'); // . 'DOG'\n    ```\n  \n    When overriding this class, it is important to place the call to\n    `_super` *after* setting `content` so the internal observers have\n    a chance to fire properly:\n  \n    ```javascript\n    import { A } from '@ember/array';\n    import ArrayProxy from '@ember/array/proxy';\n  \n    export default ArrayProxy.extend({\n      init() {\n        this.set('content', A(['dog', 'cat', 'fish']));\n        this._super(...arguments);\n      }\n    });\n    ```\n  \n    @class ArrayProxy\n    @extends EmberObject\n    @uses MutableArray\n    @public\n  */\n\n  class ArrayProxy extends _object.default {\n    init() {\n      super.init(...arguments);\n      /*\n        `this._objectsDirtyIndex` determines which indexes in the `this._objects`\n        cache are dirty.\n         If `this._objectsDirtyIndex === -1` then no indexes are dirty.\n        Otherwise, an index `i` is dirty if `i >= this._objectsDirtyIndex`.\n         Calling `objectAt` with a dirty index will cause the `this._objects`\n        cache to be recomputed.\n      */\n\n      this._objectsDirtyIndex = 0;\n      this._objects = null;\n      this._lengthDirty = true;\n      this._length = 0;\n      this._arrangedContent = null;\n      this._arrangedContentIsUpdating = false;\n      this._arrangedContentTag = null;\n      this._arrangedContentRevision = null;\n      this._lengthTag = null;\n      this._arrTag = null;\n      (0, _manager.setCustomTagFor)(this, customTagForArrayProxy);\n    }\n    [_metal.PROPERTY_DID_CHANGE]() {\n      this._revalidate();\n    }\n    willDestroy() {\n      this._removeArrangedContentArrayObserver();\n    }\n    /**\n      The content array. Must be an object that implements `Array` and/or\n      `MutableArray.`\n       @property content\n      @type EmberArray\n      @public\n    */\n\n    /**\n      Should actually retrieve the object at the specified index from the\n      content. You can override this method in subclasses to transform the\n      content item to something new.\n       This method will only be called if content is non-`null`.\n       @method objectAtContent\n      @param {Number} idx The index to retrieve.\n      @return {Object} the value or undefined if none found\n      @public\n    */\n\n    objectAtContent(idx) {\n      return (0, _metal.objectAt)((0, _metal.get)(this, 'arrangedContent'), idx);\n    } // See additional docs for `replace` from `MutableArray`:\n    // https://api.emberjs.com/ember/release/classes/MutableArray/methods/replace?anchor=replace\n\n    replace(idx, amt, objects) {\n      (true && !((0, _metal.get)(this, 'arrangedContent') === (0, _metal.get)(this, 'content')) && (0, _debug.assert)('Mutating an arranged ArrayProxy is not allowed', (0, _metal.get)(this, 'arrangedContent') === (0, _metal.get)(this, 'content')));\n      this.replaceContent(idx, amt, objects);\n    }\n    /**\n      Should actually replace the specified objects on the content array.\n      You can override this method in subclasses to transform the content item\n      into something new.\n       This method will only be called if content is non-`null`.\n       @method replaceContent\n      @param {Number} idx The starting index\n      @param {Number} amt The number of items to remove from the content.\n      @param {EmberArray} objects Optional array of objects to insert or null if no\n        objects.\n      @return {void}\n      @public\n    */\n\n    replaceContent(idx, amt, objects) {\n      (0, _metal.get)(this, 'content').replace(idx, amt, objects);\n    } // Overriding objectAt is not supported.\n\n    objectAt(idx) {\n      this._revalidate();\n      if (this._objects === null) {\n        this._objects = [];\n      }\n      if (this._objectsDirtyIndex !== -1 && idx >= this._objectsDirtyIndex) {\n        var arrangedContent = (0, _metal.get)(this, 'arrangedContent');\n        if (arrangedContent) {\n          var length = this._objects.length = (0, _metal.get)(arrangedContent, 'length');\n          for (var i = this._objectsDirtyIndex; i < length; i++) {\n            this._objects[i] = this.objectAtContent(i);\n          }\n        } else {\n          this._objects.length = 0;\n        }\n        this._objectsDirtyIndex = -1;\n      }\n      return this._objects[idx];\n    } // Overriding length is not supported.\n\n    get length() {\n      this._revalidate();\n      if (this._lengthDirty) {\n        var arrangedContent = (0, _metal.get)(this, 'arrangedContent');\n        this._length = arrangedContent ? (0, _metal.get)(arrangedContent, 'length') : 0;\n        this._lengthDirty = false;\n      }\n      (0, _validator.consumeTag)(this._lengthTag);\n      return this._length;\n    }\n    set length(value) {\n      var length = this.length;\n      var removedCount = length - value;\n      var added;\n      if (removedCount === 0) {\n        return;\n      } else if (removedCount < 0) {\n        added = new Array(-removedCount);\n        removedCount = 0;\n      }\n      var content = (0, _metal.get)(this, 'content');\n      if (content) {\n        (0, _metal.replace)(content, value, removedCount, added);\n        this._invalidate();\n      }\n    }\n    _updateArrangedContentArray(arrangedContent) {\n      var oldLength = this._objects === null ? 0 : this._objects.length;\n      var newLength = arrangedContent ? (0, _metal.get)(arrangedContent, 'length') : 0;\n      this._removeArrangedContentArrayObserver();\n      this.arrayContentWillChange(0, oldLength, newLength);\n      this._invalidate();\n      this.arrayContentDidChange(0, oldLength, newLength);\n      this._addArrangedContentArrayObserver(arrangedContent);\n    }\n    _addArrangedContentArrayObserver(arrangedContent) {\n      if (arrangedContent && !arrangedContent.isDestroyed) {\n        (true && !(arrangedContent !== this) && (0, _debug.assert)(\"Can't set ArrayProxy's content to itself\", arrangedContent !== this));\n        (true && !((0, _array.isArray)(arrangedContent) || arrangedContent.isDestroyed) && (0, _debug.assert)(`ArrayProxy expects an Array or ArrayProxy, but you passed ${typeof arrangedContent}`, (0, _array.isArray)(arrangedContent) || arrangedContent.isDestroyed));\n        (0, _metal.addArrayObserver)(arrangedContent, this, ARRAY_OBSERVER_MAPPING, true);\n        this._arrangedContent = arrangedContent;\n      }\n    }\n    _removeArrangedContentArrayObserver() {\n      if (this._arrangedContent) {\n        (0, _metal.removeArrayObserver)(this._arrangedContent, this, ARRAY_OBSERVER_MAPPING, true);\n      }\n    }\n    _arrangedContentArrayWillChange() {}\n    _arrangedContentArrayDidChange(proxy, idx, removedCnt, addedCnt) {\n      this.arrayContentWillChange(idx, removedCnt, addedCnt);\n      var dirtyIndex = idx;\n      if (dirtyIndex < 0) {\n        var length = (0, _metal.get)(this._arrangedContent, 'length');\n        dirtyIndex += length + removedCnt - addedCnt;\n      }\n      if (this._objectsDirtyIndex === -1 || this._objectsDirtyIndex > dirtyIndex) {\n        this._objectsDirtyIndex = dirtyIndex;\n      }\n      this._lengthDirty = true;\n      this.arrayContentDidChange(idx, removedCnt, addedCnt);\n    }\n    _invalidate() {\n      this._objectsDirtyIndex = 0;\n      this._lengthDirty = true;\n    }\n    _revalidate() {\n      if (this._arrangedContentIsUpdating === true) return;\n      if (this._arrangedContentTag === null || !(0, _validator.validateTag)(this._arrangedContentTag, this._arrangedContentRevision)) {\n        var arrangedContent = this.get('arrangedContent');\n        if (this._arrangedContentTag === null) {\n          // This is the first time the proxy has been setup, only add the observer\n          // don't trigger any events\n          this._addArrangedContentArrayObserver(arrangedContent);\n        } else {\n          this._arrangedContentIsUpdating = true;\n          this._updateArrangedContentArray(arrangedContent);\n          this._arrangedContentIsUpdating = false;\n        }\n        var arrangedContentTag = this._arrangedContentTag = (0, _validator.tagFor)(this, 'arrangedContent');\n        this._arrangedContentRevision = (0, _validator.valueForTag)(this._arrangedContentTag);\n        if ((0, _utils.isObject)(arrangedContent)) {\n          this._lengthTag = (0, _validator.combine)([arrangedContentTag, (0, _metal.tagForProperty)(arrangedContent, 'length')]);\n          this._arrTag = (0, _validator.combine)([arrangedContentTag, (0, _metal.tagForProperty)(arrangedContent, '[]')]);\n        } else {\n          this._lengthTag = this._arrTag = arrangedContentTag;\n        }\n      }\n    }\n  }\n  _exports.default = ArrayProxy;\n  ArrayProxy.reopen(_array.MutableArray, {\n    /**\n      The array that the proxy pretends to be. In the default `ArrayProxy`\n      implementation, this and `content` are the same. Subclasses of `ArrayProxy`\n      can override this property to provide things like sorting and filtering.\n       @property arrangedContent\n      @public\n    */\n    arrangedContent: (0, _metal.alias)('content'),\n    // Array proxies don't need to notify when they change since their `[]` tag is\n    // already dependent on the `[]` tag of `arrangedContent`\n    arrayContentDidChange(startIdx, removeAmt, addAmt) {\n      return (0, _metal.arrayContentDidChange)(this, startIdx, removeAmt, addAmt, false);\n    }\n  });\n});","define(\"@ember/-internals/runtime/lib/system/core_object\", [\"exports\", \"@ember/-internals/container\", \"@ember/-internals/owner\", \"@ember/polyfills\", \"@ember/-internals/utils\", \"@ember/-internals/meta\", \"@ember/-internals/metal\", \"@ember/-internals/runtime/lib/mixins/action_handler\", \"@ember/debug\", \"@glimmer/util\", \"@glimmer/destroyable\", \"@glimmer/owner\"], function (_exports, _container, _owner, _polyfills, _utils, _meta2, _metal, _action_handler, _debug, _util, _destroyable, _owner2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n    @module @ember/object\n  */\n\n  var reopen = _metal.Mixin.prototype.reopen;\n  var wasApplied = new _util._WeakSet();\n  var prototypeMixinMap = new WeakMap();\n  var initCalled = true /* DEBUG */ ? new _util._WeakSet() : undefined; // only used in debug builds to enable the proxy trap\n\n  var destroyCalled = new Set();\n  function ensureDestroyCalled(instance) {\n    if (!destroyCalled.has(instance)) {\n      instance.destroy();\n    }\n  }\n  function initialize(obj, properties) {\n    var m = (0, _meta2.meta)(obj);\n    if (properties !== undefined) {\n      (true && !(typeof properties === 'object' && properties !== null) && (0, _debug.assert)('EmberObject.create only accepts objects.', typeof properties === 'object' && properties !== null));\n      (true && !(!(properties instanceof _metal.Mixin)) && (0, _debug.assert)('EmberObject.create no longer supports mixing in other ' + 'definitions, use .extend & .create separately instead.', !(properties instanceof _metal.Mixin)));\n      var injectedProperties;\n      if (true /* DEBUG */) {\n        // these are all the implicit injectinos\n        injectedProperties = [];\n        var factory = (0, _container.getFactoryFor)(obj);\n        if (factory) {\n          for (var injection in factory.injections) {\n            if (factory.injections[injection] === properties[injection]) {\n              injectedProperties.push(injection);\n            }\n          }\n        }\n      }\n      var concatenatedProperties = obj.concatenatedProperties;\n      var mergedProperties = obj.mergedProperties;\n      var hasConcatenatedProps = concatenatedProperties !== undefined && concatenatedProperties.length > 0;\n      var hasMergedProps = mergedProperties !== undefined && mergedProperties.length > 0;\n      var keyNames = Object.keys(properties);\n      for (var i = 0; i < keyNames.length; i++) {\n        var keyName = keyNames[i];\n        var value = properties[keyName];\n        (true && !(!(0, _metal.isClassicDecorator)(value)) && (0, _debug.assert)('EmberObject.create no longer supports defining computed ' + 'properties. Define computed properties using extend() or reopen() ' + 'before calling create().', !(0, _metal.isClassicDecorator)(value)));\n        (true && !(!(typeof value === 'function' && value.toString().indexOf('._super') !== -1)) && (0, _debug.assert)('EmberObject.create no longer supports defining methods that call _super.', !(typeof value === 'function' && value.toString().indexOf('._super') !== -1)));\n        (true && !(!(keyName === 'actions' && _action_handler.default.detect(obj))) && (0, _debug.assert)('`actions` must be provided at extend time, not at create time, ' + 'when Ember.ActionHandler is used (i.e. views, controllers & routes).', !(keyName === 'actions' && _action_handler.default.detect(obj))));\n        var possibleDesc = (0, _metal.descriptorForProperty)(obj, keyName, m);\n        var isDescriptor = possibleDesc !== undefined;\n        if (!isDescriptor) {\n          if (hasConcatenatedProps && concatenatedProperties.indexOf(keyName) > -1) {\n            var baseValue = obj[keyName];\n            if (baseValue) {\n              value = (0, _utils.makeArray)(baseValue).concat(value);\n            } else {\n              value = (0, _utils.makeArray)(value);\n            }\n          }\n          if (hasMergedProps && mergedProperties.indexOf(keyName) > -1) {\n            var _baseValue = obj[keyName];\n            value = (0, _polyfills.assign)({}, _baseValue, value);\n          }\n        }\n        if (isDescriptor) {\n          if (true /* DEBUG */ && injectedProperties.indexOf(keyName) !== -1) {\n            // need to check if implicit injection owner.inject('component:my-component', 'foo', 'service:bar') does not match explicit injection @service foo\n            // implicit injection takes precedence so need to tell user to rename property on obj\n            var isInjectedProperty = _metal.DEBUG_INJECTION_FUNCTIONS.has(possibleDesc._getter);\n            if (isInjectedProperty && value !== possibleDesc.get(obj, keyName)) {\n              implicitInjectionDeprecation(keyName, `You have explicitly defined a service injection for the '${keyName}' property on ${(0, _utils.inspect)(obj)}. However, a different service or value was injected via implicit injections which overrode your explicit injection. Implicit injections have been deprecated, and will be removed in the near future. In order to prevent breakage, you should inject the same value explicitly that is currently being injected implicitly.`);\n            } else if (possibleDesc instanceof _metal.TrackedDescriptor) {\n              var descValue = possibleDesc.get(obj, keyName);\n              if (value !== descValue) {\n                implicitInjectionDeprecation(keyName, `A value was injected implicitly on the '${keyName}' tracked property of an instance of ${(0, _utils.inspect)(obj)}, overwriting the original value which was ${(0, _utils.inspect)(descValue)}. Implicit injection is now deprecated, please add an explicit injection for this value. If the injected value is a service, consider using the @service decorator.`);\n              }\n            } else if (possibleDesc._setter === undefined) {\n              implicitInjectionDeprecation(keyName, `A value was injected implicitly on the '${keyName}' computed property of an instance of ${(0, _utils.inspect)(obj)}. Implicit injection is now deprecated, please add an explicit injection for this value. If the injected value is a service, consider using the @service decorator.`);\n            }\n          }\n          possibleDesc.set(obj, keyName, value);\n        } else if (typeof obj.setUnknownProperty === 'function' && !(keyName in obj)) {\n          obj.setUnknownProperty(keyName, value);\n        } else {\n          if (true /* DEBUG */) {\n            // If deprecation, either 1) an accessor descriptor or 2) class field declaration 3) only an implicit injection\n            var desc = (0, _utils.lookupDescriptor)(obj, keyName);\n            if (injectedProperties.indexOf(keyName) === -1) {\n              // Value was not an injected property, define in like normal\n              (0, _metal.defineProperty)(obj, keyName, null, value, m); // setup mandatory setter\n            } else if (desc) {\n              // If the property is a value prop, and it isn't the expected value,\n              // then we can warn the user when they attempt to use the value\n              if ('value' in desc && desc.value !== value) {\n                // implicit injection does not match value descriptor set on object\n                defineSelfDestructingImplicitInjectionGetter(obj, keyName, value, `A value was injected implicitly on the '${keyName}' property of an instance of ${(0, _utils.inspect)(obj)}, overwriting the original value which was ${(0, _utils.inspect)(desc.value)}. Implicit injection is now deprecated, please add an explicit injection for this value. If the injected value is a service, consider using the @service decorator.`);\n              } else {\n                // Otherwise, the value is either a getter/setter, or it is the correct value.\n                // If it is a getter/setter, then we don't know what activating it might do - it could\n                // be that the user only defined a getter, and so the value will not be set at all. It\n                // could be that the setter is a no-op that does nothing. Both of these are valid ways\n                // to \"override\" an implicit injection, so we can't really warn here. So, assign the\n                // value like we would normally.\n                obj[keyName] = value;\n              }\n            } else {\n              defineSelfDestructingImplicitInjectionGetter(obj, keyName, value, `A value was injected implicitly on the '${keyName}' property of an instance of ${(0, _utils.inspect)(obj)}. Implicit injection is now deprecated, please add an explicit injection for this value. If the injected value is a service, consider using the @service decorator.`);\n            }\n          } else {\n            obj[keyName] = value;\n          }\n        }\n      }\n    } // using DEBUG here to avoid the extraneous variable when not needed\n\n    if (true /* DEBUG */) {\n      initCalled.add(obj);\n    }\n    obj.init(properties);\n    m.unsetInitializing();\n    var observerEvents = m.observerEvents();\n    if (observerEvents !== undefined) {\n      for (var _i = 0; _i < observerEvents.length; _i++) {\n        (0, _metal.activateObserver)(obj, observerEvents[_i].event, observerEvents[_i].sync);\n      }\n    }\n    (0, _metal.sendEvent)(obj, 'init', undefined, undefined, undefined, m);\n  }\n  function defineSelfDestructingImplicitInjectionGetter(obj, keyName, value, message) {\n    Object.defineProperty(obj, keyName, {\n      configurable: true,\n      enumerable: true,\n      get() {\n        // only want to deprecate on first access so we make this self destructing\n        Object.defineProperty(obj, keyName, {\n          value\n        });\n        implicitInjectionDeprecation(keyName, message);\n        return value;\n      }\n    });\n  }\n  /**\n    `CoreObject` is the base class for all Ember constructs. It establishes a\n    class system based on Ember's Mixin system, and provides the basis for the\n    Ember Object Model. `CoreObject` should generally not be used directly,\n    instead you should use `EmberObject`.\n  \n    ## Usage\n  \n    You can define a class by extending from `CoreObject` using the `extend`\n    method:\n  \n    ```js\n    const Person = CoreObject.extend({\n      name: 'Tomster',\n    });\n    ```\n  \n    For detailed usage, see the [Object Model](https://guides.emberjs.com/release/object-model/)\n    section of the guides.\n  \n    ## Usage with Native Classes\n  \n    Native JavaScript `class` syntax can be used to extend from any `CoreObject`\n    based class:\n  \n    ```js\n    class Person extends CoreObject {\n      init() {\n        super.init(...arguments);\n        this.name = 'Tomster';\n      }\n    }\n    ```\n  \n    Some notes about `class` usage:\n  \n    * `new` syntax is not currently supported with classes that extend from\n      `EmberObject` or `CoreObject`. You must continue to use the `create` method\n      when making new instances of classes, even if they are defined using native\n      class syntax. If you want to use `new` syntax, consider creating classes\n      which do _not_ extend from `EmberObject` or `CoreObject`. Ember features,\n      such as computed properties and decorators, will still work with base-less\n      classes.\n    * Instead of using `this._super()`, you must use standard `super` syntax in\n      native classes. See the [MDN docs on classes](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes#Super_class_calls_with_super)\n      for more details.\n    * Native classes support using [constructors](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes#Constructor)\n      to set up newly-created instances. Ember uses these to, among other things,\n      support features that need to retrieve other entities by name, like Service\n      injection and `getOwner`. To ensure your custom instance setup logic takes\n      place after this important work is done, avoid using the `constructor` in\n      favor of `init`.\n    * Properties passed to `create` will be available on the instance by the time\n      `init` runs, so any code that requires these values should work at that\n      time.\n    * Using native classes, and switching back to the old Ember Object model is\n      fully supported.\n  \n    @class CoreObject\n    @public\n  */\n\n  class CoreObject {\n    constructor(owner) {\n      // setOwner has to set both OWNER and LEGACY_OWNER for backwards compatibility, and\n      // LEGACY_OWNER is enumerable, so setting it would add an enumerable property to the object,\n      // so we just set `OWNER` directly here.\n      this[_owner2.OWNER] = owner; // prepare prototype...\n\n      this.constructor.proto();\n      var self = this;\n      if (true /* DEBUG */ && _utils.HAS_NATIVE_PROXY && typeof self.unknownProperty === 'function') {\n        var messageFor = (obj, property) => {\n          return `You attempted to access the \\`${String(property)}\\` property (of ${obj}).\\n` + `Since Ember 3.1, this is usually fine as you no longer need to use \\`.get()\\`\\n` + `to access computed properties. However, in this case, the object in question\\n` + `is a special kind of Ember object (a proxy). Therefore, it is still necessary\\n` + `to use \\`.get('${String(property)}')\\` in this case.\\n\\n` + `If you encountered this error because of third-party code that you don't control,\\n` + `there is more information at https://github.com/emberjs/ember.js/issues/16148, and\\n` + `you can help us improve this error message by telling us more about what happened in\\n` + `this situation.`;\n        };\n        /* globals Proxy Reflect */\n\n        self = new Proxy(this, {\n          get(target, property, receiver) {\n            if (property === _metal.PROXY_CONTENT) {\n              return target;\n            } else if (\n            // init called will be set on the proxy, not the target, so get with the receiver\n            !initCalled.has(receiver) || typeof property === 'symbol' || (0, _utils.isInternalSymbol)(property) || property === 'toJSON' || property === 'toString' || property === 'toStringExtension' || property === 'didDefineProperty' || property === 'willWatchProperty' || property === 'didUnwatchProperty' || property === 'didAddListener' || property === 'didRemoveListener' || property === 'isDescriptor' || property === '_onLookup' || property in target) {\n              return Reflect.get(target, property, receiver);\n            }\n            var value = target.unknownProperty.call(receiver, property);\n            if (typeof value !== 'function') {\n              (true && !(value === undefined || value === null) && (0, _debug.assert)(messageFor(receiver, property), value === undefined || value === null));\n            }\n          }\n        });\n      }\n      (0, _destroyable.registerDestructor)(self, ensureDestroyCalled, true);\n      (0, _destroyable.registerDestructor)(self, () => self.willDestroy()); // disable chains\n\n      var m = (0, _meta2.meta)(self);\n      m.setInitializing(); // only return when in debug builds and `self` is the proxy created above\n\n      if (true /* DEBUG */ && self !== this) {\n        return self;\n      }\n    } // Empty setter for absorbing setting the LEGACY_OWNER, which should _not_\n    // become an enumerable property, and should not be used in general.\n\n    set [_owner.LEGACY_OWNER](value) {}\n    reopen(...args) {\n      (0, _metal.applyMixin)(this, args);\n      return this;\n    }\n    /**\n      An overridable method called when objects are instantiated. By default,\n      does nothing unless it is overridden during class definition.\n       Example:\n       ```javascript\n      import EmberObject from '@ember/object';\n       const Person = EmberObject.extend({\n        init() {\n          alert(`Name is ${this.get('name')}`);\n        }\n      });\n       let steve = Person.create({\n        name: 'Steve'\n      });\n       // alerts 'Name is Steve'.\n      ```\n       NOTE: If you do override `init` for a framework class like `Component`\n      from `@ember/component`, be sure to call `this._super(...arguments)`\n      in your `init` declaration!\n      If you don't, Ember may not have an opportunity to\n      do important setup work, and you'll see strange behavior in your\n      application.\n       @method init\n      @public\n    */\n\n    init() {}\n    /**\n      Defines the properties that will be concatenated from the superclass\n      (instead of overridden).\n       By default, when you extend an Ember class a property defined in\n      the subclass overrides a property with the same name that is defined\n      in the superclass. However, there are some cases where it is preferable\n      to build up a property's value by combining the superclass' property\n      value with the subclass' value. An example of this in use within Ember\n      is the `classNames` property of `Component` from `@ember/component`.\n       Here is some sample code showing the difference between a concatenated\n      property and a normal one:\n       ```javascript\n      import EmberObject from '@ember/object';\n       const Bar = EmberObject.extend({\n        // Configure which properties to concatenate\n        concatenatedProperties: ['concatenatedProperty'],\n         someNonConcatenatedProperty: ['bar'],\n        concatenatedProperty: ['bar']\n      });\n       const FooBar = Bar.extend({\n        someNonConcatenatedProperty: ['foo'],\n        concatenatedProperty: ['foo']\n      });\n       let fooBar = FooBar.create();\n      fooBar.get('someNonConcatenatedProperty'); // ['foo']\n      fooBar.get('concatenatedProperty'); // ['bar', 'foo']\n      ```\n       This behavior extends to object creation as well. Continuing the\n      above example:\n       ```javascript\n      let fooBar = FooBar.create({\n        someNonConcatenatedProperty: ['baz'],\n        concatenatedProperty: ['baz']\n      })\n      fooBar.get('someNonConcatenatedProperty'); // ['baz']\n      fooBar.get('concatenatedProperty'); // ['bar', 'foo', 'baz']\n      ```\n       Adding a single property that is not an array will just add it in the array:\n       ```javascript\n      let fooBar = FooBar.create({\n        concatenatedProperty: 'baz'\n      })\n      view.get('concatenatedProperty'); // ['bar', 'foo', 'baz']\n      ```\n       Using the `concatenatedProperties` property, we can tell Ember to mix the\n      content of the properties.\n       In `Component` the `classNames`, `classNameBindings` and\n      `attributeBindings` properties are concatenated.\n       This feature is available for you to use throughout the Ember object model,\n      although typical app developers are likely to use it infrequently. Since\n      it changes expectations about behavior of properties, you should properly\n      document its usage in each individual concatenated property (to not\n      mislead your users to think they can override the property in a subclass).\n       @property concatenatedProperties\n      @type Array\n      @default null\n      @public\n    */\n\n    /**\n      Defines the properties that will be merged from the superclass\n      (instead of overridden).\n       By default, when you extend an Ember class a property defined in\n      the subclass overrides a property with the same name that is defined\n      in the superclass. However, there are some cases where it is preferable\n      to build up a property's value by merging the superclass property value\n      with the subclass property's value. An example of this in use within Ember\n      is the `queryParams` property of routes.\n       Here is some sample code showing the difference between a merged\n      property and a normal one:\n       ```javascript\n      import EmberObject from '@ember/object';\n       const Bar = EmberObject.extend({\n        // Configure which properties are to be merged\n        mergedProperties: ['mergedProperty'],\n         someNonMergedProperty: {\n          nonMerged: 'superclass value of nonMerged'\n        },\n        mergedProperty: {\n          page: { replace: false },\n          limit: { replace: true }\n        }\n      });\n       const FooBar = Bar.extend({\n        someNonMergedProperty: {\n          completelyNonMerged: 'subclass value of nonMerged'\n        },\n        mergedProperty: {\n          limit: { replace: false }\n        }\n      });\n       let fooBar = FooBar.create();\n       fooBar.get('someNonMergedProperty');\n      // => { completelyNonMerged: 'subclass value of nonMerged' }\n      //\n      // Note the entire object, including the nonMerged property of\n      // the superclass object, has been replaced\n       fooBar.get('mergedProperty');\n      // => {\n      //   page: {replace: false},\n      //   limit: {replace: false}\n      // }\n      //\n      // Note the page remains from the superclass, and the\n      // `limit` property's value of `false` has been merged from\n      // the subclass.\n      ```\n       This behavior is not available during object `create` calls. It is only\n      available at `extend` time.\n       In `Route` the `queryParams` property is merged.\n       This feature is available for you to use throughout the Ember object model,\n      although typical app developers are likely to use it infrequently. Since\n      it changes expectations about behavior of properties, you should properly\n      document its usage in each individual merged property (to not\n      mislead your users to think they can override the property in a subclass).\n       @property mergedProperties\n      @type Array\n      @default null\n      @public\n    */\n\n    /**\n      Destroyed object property flag.\n       if this property is `true` the observers and bindings were already\n      removed by the effect of calling the `destroy()` method.\n       @property isDestroyed\n      @default false\n      @public\n    */\n\n    get isDestroyed() {\n      return (0, _destroyable.isDestroyed)(this);\n    }\n    set isDestroyed(value) {\n      (true && !(false) && (0, _debug.assert)(`You cannot set \\`${this}.isDestroyed\\` directly, please use \\`.destroy()\\`.`, false));\n    }\n    /**\n      Destruction scheduled flag. The `destroy()` method has been called.\n       The object stays intact until the end of the run loop at which point\n      the `isDestroyed` flag is set.\n       @property isDestroying\n      @default false\n      @public\n    */\n\n    get isDestroying() {\n      return (0, _destroyable.isDestroying)(this);\n    }\n    set isDestroying(value) {\n      (true && !(false) && (0, _debug.assert)(`You cannot set \\`${this}.isDestroying\\` directly, please use \\`.destroy()\\`.`, false));\n    }\n    /**\n      Destroys an object by setting the `isDestroyed` flag and removing its\n      metadata, which effectively destroys observers and bindings.\n       If you try to set a property on a destroyed object, an exception will be\n      raised.\n       Note that destruction is scheduled for the end of the run loop and does not\n      happen immediately.  It will set an isDestroying flag immediately.\n       @method destroy\n      @return {EmberObject} receiver\n      @public\n    */\n\n    destroy() {\n      // Used to ensure that manually calling `.destroy()` does not immediately call destroy again\n      destroyCalled.add(this);\n      try {\n        (0, _destroyable.destroy)(this);\n      } finally {\n        destroyCalled.delete(this);\n      }\n      return this;\n    }\n    /**\n      Override to implement teardown.\n       @method willDestroy\n      @public\n    */\n\n    willDestroy() {}\n    /**\n      Returns a string representation which attempts to provide more information\n      than Javascript's `toString` typically does, in a generic way for all Ember\n      objects.\n       ```javascript\n      import EmberObject from '@ember/object';\n       const Person = EmberObject.extend();\n      person = Person.create();\n      person.toString(); //=> \"<Person:ember1024>\"\n      ```\n       If the object's class is not defined on an Ember namespace, it will\n      indicate it is a subclass of the registered superclass:\n       ```javascript\n      const Student = Person.extend();\n      let student = Student.create();\n      student.toString(); //=> \"<(subclass of Person):ember1025>\"\n      ```\n       If the method `toStringExtension` is defined, its return value will be\n      included in the output.\n       ```javascript\n      const Teacher = Person.extend({\n        toStringExtension() {\n          return this.get('fullName');\n        }\n      });\n      teacher = Teacher.create();\n      teacher.toString(); //=> \"<Teacher:ember1026:Tom Dale>\"\n      ```\n       @method toString\n      @return {String} string representation\n      @public\n    */\n\n    toString() {\n      var hasToStringExtension = typeof this.toStringExtension === 'function';\n      var extension = hasToStringExtension ? `:${this.toStringExtension()}` : '';\n      return `<${(0, _container.getFactoryFor)(this) || '(unknown)'}:${(0, _utils.guidFor)(this)}${extension}>`;\n    }\n    /**\n      Creates a new subclass.\n       ```javascript\n      import EmberObject from '@ember/object';\n       const Person = EmberObject.extend({\n        say(thing) {\n          alert(thing);\n         }\n      });\n      ```\n       This defines a new subclass of EmberObject: `Person`. It contains one method: `say()`.\n       You can also create a subclass from any existing class by calling its `extend()` method.\n      For example, you might want to create a subclass of Ember's built-in `Component` class:\n       ```javascript\n      import Component from '@ember/component';\n       const PersonComponent = Component.extend({\n        tagName: 'li',\n        classNameBindings: ['isAdministrator']\n      });\n      ```\n       When defining a subclass, you can override methods but still access the\n      implementation of your parent class by calling the special `_super()` method:\n       ```javascript\n      import EmberObject from '@ember/object';\n       const Person = EmberObject.extend({\n        say(thing) {\n          let name = this.get('name');\n          alert(`${name} says: ${thing}`);\n        }\n      });\n       const Soldier = Person.extend({\n        say(thing) {\n          this._super(`${thing}, sir!`);\n        },\n        march(numberOfHours) {\n          alert(`${this.get('name')} marches for ${numberOfHours} hours.`);\n        }\n      });\n       let yehuda = Soldier.create({\n        name: 'Yehuda Katz'\n      });\n       yehuda.say('Yes');  // alerts \"Yehuda Katz says: Yes, sir!\"\n      ```\n       The `create()` on line #17 creates an *instance* of the `Soldier` class.\n      The `extend()` on line #8 creates a *subclass* of `Person`. Any instance\n      of the `Person` class will *not* have the `march()` method.\n       You can also pass `Mixin` classes to add additional properties to the subclass.\n       ```javascript\n      import EmberObject from '@ember/object';\n      import Mixin from '@ember/object/mixin';\n       const Person = EmberObject.extend({\n        say(thing) {\n          alert(`${this.get('name')} says: ${thing}`);\n        }\n      });\n       const SingingMixin = Mixin.create({\n        sing(thing) {\n          alert(`${this.get('name')} sings: la la la ${thing}`);\n        }\n      });\n       const BroadwayStar = Person.extend(SingingMixin, {\n        dance() {\n          alert(`${this.get('name')} dances: tap tap tap tap `);\n        }\n      });\n      ```\n       The `BroadwayStar` class contains three methods: `say()`, `sing()`, and `dance()`.\n       @method extend\n      @static\n      @for @ember/object\n      @param {Mixin} [mixins]* One or more Mixin classes\n      @param {Object} [arguments]* Object containing values to use within the new class\n      @public\n    */\n\n    static extend() {\n      var Class = class extends this {};\n      reopen.apply(Class.PrototypeMixin, arguments);\n      return Class;\n    }\n    /**\n      Creates an instance of a class. Accepts either no arguments, or an object\n      containing values to initialize the newly instantiated object with.\n       ```javascript\n      import EmberObject from '@ember/object';\n       const Person = EmberObject.extend({\n        helloWorld() {\n          alert(`Hi, my name is ${this.get('name')}`);\n        }\n      });\n       let tom = Person.create({\n        name: 'Tom Dale'\n      });\n       tom.helloWorld(); // alerts \"Hi, my name is Tom Dale\".\n      ```\n       `create` will call the `init` function if defined during\n      `AnyObject.extend`\n       If no arguments are passed to `create`, it will not set values to the new\n      instance during initialization:\n       ```javascript\n      let noName = Person.create();\n      noName.helloWorld(); // alerts undefined\n      ```\n       NOTE: For performance reasons, you cannot declare methods or computed\n      properties during `create`. You should instead declare methods and computed\n      properties when using `extend`.\n       @method create\n      @for @ember/object\n      @static\n      @param [arguments]*\n      @public\n    */\n\n    static create(props, extra) {\n      var instance;\n      if (props !== undefined) {\n        instance = new this((0, _owner.getOwner)(props));\n        (0, _container.setFactoryFor)(instance, (0, _container.getFactoryFor)(props));\n      } else {\n        instance = new this();\n      }\n      if (extra === undefined) {\n        initialize(instance, props);\n      } else {\n        initialize(instance, flattenProps.apply(this, arguments));\n      }\n      return instance;\n    }\n    /**\n      Augments a constructor's prototype with additional\n      properties and functions:\n       ```javascript\n      import EmberObject from '@ember/object';\n       const MyObject = EmberObject.extend({\n        name: 'an object'\n      });\n       o = MyObject.create();\n      o.get('name'); // 'an object'\n       MyObject.reopen({\n        say(msg) {\n          console.log(msg);\n        }\n      });\n       o2 = MyObject.create();\n      o2.say('hello'); // logs \"hello\"\n       o.say('goodbye'); // logs \"goodbye\"\n      ```\n       To add functions and properties to the constructor itself,\n      see `reopenClass`\n       @method reopen\n      @for @ember/object\n      @static\n      @public\n    */\n\n    static reopen() {\n      this.willReopen();\n      reopen.apply(this.PrototypeMixin, arguments);\n      return this;\n    }\n    static willReopen() {\n      var p = this.prototype;\n      if (wasApplied.has(p)) {\n        wasApplied.delete(p); // If the base mixin already exists and was applied, create a new mixin to\n        // make sure that it gets properly applied. Reusing the same mixin after\n        // the first `proto` call will cause it to get skipped.\n\n        if (prototypeMixinMap.has(this)) {\n          prototypeMixinMap.set(this, _metal.Mixin.create(this.PrototypeMixin));\n        }\n      }\n    }\n    /**\n      Augments a constructor's own properties and functions:\n       ```javascript\n      import EmberObject from '@ember/object';\n       const MyObject = EmberObject.extend({\n        name: 'an object'\n      });\n       MyObject.reopenClass({\n        canBuild: false\n      });\n       MyObject.canBuild; // false\n      o = MyObject.create();\n      ```\n       In other words, this creates static properties and functions for the class.\n      These are only available on the class and not on any instance of that class.\n       ```javascript\n      import EmberObject from '@ember/object';\n       const Person = EmberObject.extend({\n        name: '',\n        sayHello() {\n          alert(`Hello. My name is ${this.get('name')}`);\n        }\n      });\n       Person.reopenClass({\n        species: 'Homo sapiens',\n         createPerson(name) {\n          return Person.create({ name });\n        }\n      });\n       let tom = Person.create({\n        name: 'Tom Dale'\n      });\n      let yehuda = Person.createPerson('Yehuda Katz');\n       tom.sayHello(); // \"Hello. My name is Tom Dale\"\n      yehuda.sayHello(); // \"Hello. My name is Yehuda Katz\"\n      alert(Person.species); // \"Homo sapiens\"\n      ```\n       Note that `species` and `createPerson` are *not* valid on the `tom` and `yehuda`\n      variables. They are only valid on `Person`.\n       To add functions and properties to instances of\n      a constructor by extending the constructor's prototype\n      see `reopen`\n       @method reopenClass\n      @for @ember/object\n      @static\n      @public\n    */\n\n    static reopenClass() {\n      (0, _metal.applyMixin)(this, arguments);\n      return this;\n    }\n    static detect(obj) {\n      if ('function' !== typeof obj) {\n        return false;\n      }\n      while (obj) {\n        if (obj === this) {\n          return true;\n        }\n        obj = obj.superclass;\n      }\n      return false;\n    }\n    static detectInstance(obj) {\n      return obj instanceof this;\n    }\n    /**\n      In some cases, you may want to annotate computed properties with additional\n      metadata about how they function or what values they operate on. For\n      example, computed property functions may close over variables that are then\n      no longer available for introspection.\n       You can pass a hash of these values to a computed property like this:\n       ```javascript\n      import { computed } from '@ember/object';\n       person: computed(function() {\n        let personId = this.get('personId');\n        return Person.create({ id: personId });\n      }).meta({ type: Person })\n      ```\n       Once you've done this, you can retrieve the values saved to the computed\n      property from your class like this:\n       ```javascript\n      MyClass.metaForProperty('person');\n      ```\n       This will return the original hash that was passed to `meta()`.\n       @static\n      @method metaForProperty\n      @param key {String} property name\n      @private\n    */\n\n    static metaForProperty(key) {\n      var proto = this.proto(); // ensure prototype is initialized\n\n      var possibleDesc = (0, _metal.descriptorForProperty)(proto, key);\n      (true && !(possibleDesc !== undefined) && (0, _debug.assert)(`metaForProperty() could not find a computed property with key '${key}'.`, possibleDesc !== undefined));\n      return possibleDesc._meta || {};\n    }\n    /**\n      Iterate over each computed property for the class, passing its name\n      and any associated metadata (see `metaForProperty`) to the callback.\n       @static\n      @method eachComputedProperty\n      @param {Function} callback\n      @param {Object} binding\n      @private\n    */\n\n    static eachComputedProperty(callback, binding = this) {\n      this.proto(); // ensure prototype is initialized\n\n      var empty = {};\n      (0, _meta2.meta)(this.prototype).forEachDescriptors((name, descriptor) => {\n        if (descriptor.enumerable) {\n          var _meta = descriptor._meta || empty;\n          callback.call(binding, name, _meta);\n        }\n      });\n    }\n    static get PrototypeMixin() {\n      var prototypeMixin = prototypeMixinMap.get(this);\n      if (prototypeMixin === undefined) {\n        prototypeMixin = _metal.Mixin.create();\n        prototypeMixin.ownerConstructor = this;\n        prototypeMixinMap.set(this, prototypeMixin);\n      }\n      return prototypeMixin;\n    }\n    static get superclass() {\n      var c = Object.getPrototypeOf(this);\n      return c !== Function.prototype ? c : undefined;\n    }\n    static proto() {\n      var p = this.prototype;\n      if (!wasApplied.has(p)) {\n        wasApplied.add(p);\n        var parent = this.superclass;\n        if (parent) {\n          parent.proto();\n        } // If the prototype mixin exists, apply it. In the case of native classes,\n        // it will not exist (unless the class has been reopened).\n\n        if (prototypeMixinMap.has(this)) {\n          this.PrototypeMixin.apply(p);\n        }\n      }\n      return p;\n    }\n    static toString() {\n      return `<${(0, _container.getFactoryFor)(this) || '(unknown)'}:constructor>`;\n    }\n  }\n  CoreObject.isClass = true;\n  CoreObject.isMethod = false;\n  function flattenProps(...props) {\n    var {\n      concatenatedProperties,\n      mergedProperties\n    } = this;\n    var hasConcatenatedProps = concatenatedProperties !== undefined && concatenatedProperties.length > 0;\n    var hasMergedProps = mergedProperties !== undefined && mergedProperties.length > 0;\n    var initProperties = {};\n    for (var i = 0; i < props.length; i++) {\n      var properties = props[i];\n      (true && !(!(properties instanceof _metal.Mixin)) && (0, _debug.assert)('EmberObject.create no longer supports mixing in other ' + 'definitions, use .extend & .create separately instead.', !(properties instanceof _metal.Mixin)));\n      var keyNames = Object.keys(properties);\n      for (var j = 0, k = keyNames.length; j < k; j++) {\n        var keyName = keyNames[j];\n        var value = properties[keyName];\n        if (hasConcatenatedProps && concatenatedProperties.indexOf(keyName) > -1) {\n          var baseValue = initProperties[keyName];\n          if (baseValue) {\n            value = (0, _utils.makeArray)(baseValue).concat(value);\n          } else {\n            value = (0, _utils.makeArray)(value);\n          }\n        }\n        if (hasMergedProps && mergedProperties.indexOf(keyName) > -1) {\n          var _baseValue2 = initProperties[keyName];\n          value = (0, _polyfills.assign)({}, _baseValue2, value);\n        }\n        initProperties[keyName] = value;\n      }\n    }\n    return initProperties;\n  }\n  if (true /* DEBUG */) {\n    /**\n      Provides lookup-time type validation for injected properties.\n       @private\n      @method _onLookup\n    */\n    CoreObject._onLookup = function injectedPropertyAssertion(debugContainerKey) {\n      var [type] = debugContainerKey.split(':');\n      var proto = this.proto();\n      for (var key in proto) {\n        var desc = (0, _metal.descriptorForProperty)(proto, key);\n        if (desc && _metal.DEBUG_INJECTION_FUNCTIONS.has(desc._getter)) {\n          (true && !(type === 'controller' || _metal.DEBUG_INJECTION_FUNCTIONS.get(desc._getter).type !== 'controller') && (0, _debug.assert)(`Defining \\`${key}\\` as an injected controller property on a non-controller (\\`${debugContainerKey}\\`) is not allowed.`, type === 'controller' || _metal.DEBUG_INJECTION_FUNCTIONS.get(desc._getter).type !== 'controller'));\n        }\n      }\n    };\n    /**\n      Returns a hash of property names and container names that injected\n      properties will lookup on the container lazily.\n       @method _lazyInjections\n      @return {Object} Hash of all lazy injected property keys to container names\n      @private\n    */\n\n    CoreObject._lazyInjections = function () {\n      var injections = {};\n      var proto = this.proto();\n      var key;\n      var desc;\n      for (key in proto) {\n        desc = (0, _metal.descriptorForProperty)(proto, key);\n        if (desc && _metal.DEBUG_INJECTION_FUNCTIONS.has(desc._getter)) {\n          var {\n            namespace,\n            source,\n            type,\n            name\n          } = _metal.DEBUG_INJECTION_FUNCTIONS.get(desc._getter);\n          injections[key] = {\n            namespace,\n            source,\n            specifier: `${type}:${name || key}`\n          };\n        }\n      }\n      return injections;\n    };\n  }\n  if (!_utils.HAS_NATIVE_SYMBOL) {\n    // Allows OWNER and INIT_FACTORY to be non-enumerable in IE11\n    var instanceOwner = new WeakMap();\n    var instanceFactory = new WeakMap();\n    Object.defineProperty(CoreObject.prototype, _owner2.OWNER, {\n      get() {\n        return instanceOwner.get(this);\n      },\n      set(value) {\n        instanceOwner.set(this, value);\n      }\n    });\n    Object.defineProperty(CoreObject.prototype, _container.INIT_FACTORY, {\n      get() {\n        return instanceFactory.get(this);\n      },\n      set(value) {\n        instanceFactory.set(this, value);\n      }\n    });\n    Object.defineProperty(CoreObject, _container.INIT_FACTORY, {\n      get() {\n        return instanceFactory.get(this);\n      },\n      set(value) {\n        instanceFactory.set(this, value);\n      },\n      enumerable: false\n    });\n  }\n  function implicitInjectionDeprecation(keyName, msg = null) {\n    (true && !(false) && (0, _debug.deprecate)(msg, false, {\n      id: 'implicit-injections',\n      until: '4.0.0',\n      url: 'https://deprecations.emberjs.com/v3.x#toc_implicit-injections',\n      for: 'ember-source',\n      since: {\n        enabled: '3.26.0'\n      }\n    }));\n  }\n  var _default = _exports.default = CoreObject;\n});","define(\"@ember/-internals/runtime/lib/system/namespace\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/utils\", \"@ember/-internals/runtime/lib/system/object\"], function (_exports, _metal, _utils, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module ember\n  */\n  // Preloaded into namespaces\n\n  /**\n    A Namespace is an object usually used to contain other objects or methods\n    such as an application or framework. Create a namespace anytime you want\n    to define one of these new containers.\n  \n    # Example Usage\n  \n    ```javascript\n    MyFramework = Ember.Namespace.create({\n      VERSION: '1.0.0'\n    });\n    ```\n  \n    @class Namespace\n    @namespace Ember\n    @extends EmberObject\n    @public\n  */\n\n  class Namespace extends _object.default {\n    init() {\n      (0, _metal.addNamespace)(this);\n    }\n    toString() {\n      var name = (0, _metal.get)(this, 'name') || (0, _metal.get)(this, 'modulePrefix');\n      if (name) {\n        return name;\n      }\n      (0, _metal.findNamespaces)();\n      name = (0, _utils.getName)(this);\n      if (name === undefined) {\n        name = (0, _utils.guidFor)(this);\n        (0, _utils.setName)(this, name);\n      }\n      return name;\n    }\n    nameClasses() {\n      (0, _metal.processNamespace)(this);\n    }\n    destroy() {\n      (0, _metal.removeNamespace)(this);\n      super.destroy();\n    }\n  }\n  _exports.default = Namespace;\n  Namespace.prototype.isNamespace = true;\n  Namespace.NAMESPACES = _metal.NAMESPACES;\n  Namespace.NAMESPACES_BY_ID = _metal.NAMESPACES_BY_ID;\n  Namespace.processAll = _metal.processAllNamespaces;\n  Namespace.byName = _metal.findNamespace;\n});","define(\"@ember/-internals/runtime/lib/system/object\", [\"exports\", \"@ember/-internals/container\", \"@ember/-internals/utils\", \"@ember/-internals/metal\", \"@ember/-internals/runtime/lib/system/core_object\", \"@ember/-internals/runtime/lib/mixins/observable\", \"@ember/debug\"], function (_exports, _container, _utils, _metal, _core_object, _observable, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _exports.FrameworkObject = void 0;\n  /**\n  @module @ember/object\n  */\n\n  /**\n    `EmberObject` is the main base class for all Ember objects. It is a subclass\n    of `CoreObject` with the `Observable` mixin applied. For details,\n    see the documentation for each of these.\n  \n    @class EmberObject\n    @extends CoreObject\n    @uses Observable\n    @public\n  */\n\n  class EmberObject extends _core_object.default {\n    get _debugContainerKey() {\n      var factory = (0, _container.getFactoryFor)(this);\n      return factory !== undefined && factory.fullName;\n    }\n  }\n  _exports.default = EmberObject;\n  _observable.default.apply(EmberObject.prototype);\n  var FrameworkObject;\n  _exports.FrameworkObject = FrameworkObject = class FrameworkObject extends _core_object.default {\n    get _debugContainerKey() {\n      var factory = (0, _container.getFactoryFor)(this);\n      return factory !== undefined && factory.fullName;\n    }\n  };\n  _observable.default.apply(FrameworkObject.prototype);\n  if (true /* DEBUG */) {\n    var INIT_WAS_CALLED = (0, _utils.symbol)('INIT_WAS_CALLED');\n    var ASSERT_INIT_WAS_CALLED = (0, _utils.symbol)('ASSERT_INIT_WAS_CALLED');\n    _exports.FrameworkObject = FrameworkObject = class DebugFrameworkObject extends EmberObject {\n      init() {\n        super.init(...arguments);\n        this[INIT_WAS_CALLED] = true;\n      }\n      [ASSERT_INIT_WAS_CALLED]() {\n        (true && !(this[INIT_WAS_CALLED]) && (0, _debug.assert)(`You must call \\`super.init(...arguments);\\` or \\`this._super(...arguments)\\` when overriding \\`init\\` on a framework object. Please update ${this} to call \\`super.init(...arguments);\\` from \\`init\\` when using native classes or \\`this._super(...arguments)\\` when using \\`EmberObject.extend()\\`.`, this[INIT_WAS_CALLED]));\n      }\n    };\n    (0, _metal.addListener)(FrameworkObject.prototype, 'init', null, ASSERT_INIT_WAS_CALLED);\n  }\n});","define(\"@ember/-internals/runtime/lib/system/object_proxy\", [\"exports\", \"@ember/-internals/runtime/lib/system/object\", \"@ember/-internals/runtime/lib/mixins/-proxy\"], function (_exports, _object, _proxy) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n    `ObjectProxy` forwards all properties not defined by the proxy itself\n    to a proxied `content` object.\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import ObjectProxy from '@ember/object/proxy';\n  \n    let exampleObject = EmberObject.create({\n      name: 'Foo'\n    });\n  \n    let exampleProxy = ObjectProxy.create({\n      content: exampleObject\n    });\n  \n    // Access and change existing properties\n    exampleProxy.get('name');          // 'Foo'\n    exampleProxy.set('name', 'Bar');\n    exampleObject.get('name');         // 'Bar'\n  \n    // Create new 'description' property on `exampleObject`\n    exampleProxy.set('description', 'Foo is a whizboo baz');\n    exampleObject.get('description');  // 'Foo is a whizboo baz'\n    ```\n  \n    While `content` is unset, setting a property to be delegated will throw an\n    Error.\n  \n    ```javascript\n    import ObjectProxy from '@ember/object/proxy';\n  \n    let exampleProxy = ObjectProxy.create({\n      content: null,\n      flag: null\n    });\n    exampleProxy.set('flag', true);\n    exampleProxy.get('flag');         // true\n    exampleProxy.get('foo');          // undefined\n    exampleProxy.set('foo', 'data');  // throws Error\n    ```\n  \n    Delegated properties can be bound to and will change when content is updated.\n  \n    Computed properties on the proxy itself can depend on delegated properties.\n  \n    ```javascript\n    import { computed } from '@ember/object';\n    import ObjectProxy from '@ember/object/proxy';\n  \n    ProxyWithComputedProperty = ObjectProxy.extend({\n      fullName: computed('firstName', 'lastName', function() {\n        var firstName = this.get('firstName'),\n            lastName = this.get('lastName');\n        if (firstName && lastName) {\n          return firstName + ' ' + lastName;\n        }\n        return firstName || lastName;\n      })\n    });\n  \n    let exampleProxy = ProxyWithComputedProperty.create();\n  \n    exampleProxy.get('fullName');  // undefined\n    exampleProxy.set('content', {\n      firstName: 'Tom', lastName: 'Dale'\n    }); // triggers property change for fullName on proxy\n  \n    exampleProxy.get('fullName');  // 'Tom Dale'\n    ```\n  \n    @class ObjectProxy\n    @extends EmberObject\n    @uses Ember.ProxyMixin\n    @public\n  */\n\n  class ObjectProxy extends _object.default {}\n  _exports.default = ObjectProxy;\n  ObjectProxy.PrototypeMixin.reopen(_proxy.default);\n});","define(\"@ember/-internals/runtime/lib/type-of\", [\"exports\", \"@ember/-internals/runtime/lib/system/core_object\"], function (_exports, _core_object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.typeOf = typeOf;\n  // ........................................\n  // TYPING & ARRAY MESSAGING\n  //\n\n  var TYPE_MAP = {\n    '[object Boolean]': 'boolean',\n    '[object Number]': 'number',\n    '[object String]': 'string',\n    '[object Function]': 'function',\n    '[object AsyncFunction]': 'function',\n    '[object Array]': 'array',\n    '[object Date]': 'date',\n    '[object RegExp]': 'regexp',\n    '[object Object]': 'object',\n    '[object FileList]': 'filelist'\n  };\n  var {\n    toString\n  } = Object.prototype;\n  /**\n   @module @ember/utils\n  */\n\n  /**\n    Returns a consistent type for the passed object.\n  \n    Use this instead of the built-in `typeof` to get the type of an item.\n    It will return the same result across all browsers and includes a bit\n    more detail. Here is what will be returned:\n  \n        | Return Value  | Meaning                                              |\n        |---------------|------------------------------------------------------|\n        | 'string'      | String primitive or String object.                   |\n        | 'number'      | Number primitive or Number object.                   |\n        | 'boolean'     | Boolean primitive or Boolean object.                 |\n        | 'null'        | Null value                                           |\n        | 'undefined'   | Undefined value                                      |\n        | 'function'    | A function                                           |\n        | 'array'       | An instance of Array                                 |\n        | 'regexp'      | An instance of RegExp                                |\n        | 'date'        | An instance of Date                                  |\n        | 'filelist'    | An instance of FileList                              |\n        | 'class'       | An Ember class (created using EmberObject.extend())  |\n        | 'instance'    | An Ember object instance                             |\n        | 'error'       | An instance of the Error object                      |\n        | 'object'      | A JavaScript object not inheriting from EmberObject  |\n  \n    Examples:\n  \n    ```javascript\n    import { A } from '@ember/array';\n    import { typeOf } from '@ember/utils';\n    import EmberObject from '@ember/object';\n  \n    typeOf();                       // 'undefined'\n    typeOf(null);                   // 'null'\n    typeOf(undefined);              // 'undefined'\n    typeOf('michael');              // 'string'\n    typeOf(new String('michael'));  // 'string'\n    typeOf(101);                    // 'number'\n    typeOf(new Number(101));        // 'number'\n    typeOf(true);                   // 'boolean'\n    typeOf(new Boolean(true));      // 'boolean'\n    typeOf(A);                      // 'function'\n    typeOf(A());                    // 'array'\n    typeOf([1, 2, 90]);             // 'array'\n    typeOf(/abc/);                  // 'regexp'\n    typeOf(new Date());             // 'date'\n    typeOf(event.target.files);     // 'filelist'\n    typeOf(EmberObject.extend());   // 'class'\n    typeOf(EmberObject.create());   // 'instance'\n    typeOf(new Error('teamocil'));  // 'error'\n  \n    // 'normal' JavaScript object\n    typeOf({ a: 'b' });             // 'object'\n    ```\n  \n    @method typeOf\n    @for @ember/utils\n    @param {Object} item the item to check\n    @return {String} the type\n    @public\n    @static\n  */\n\n  function typeOf(item) {\n    if (item === null) {\n      return 'null';\n    }\n    if (item === undefined) {\n      return 'undefined';\n    }\n    var ret = TYPE_MAP[toString.call(item)] || 'object';\n    if (ret === 'function') {\n      if (_core_object.default.detect(item)) {\n        ret = 'class';\n      }\n    } else if (ret === 'object') {\n      if (item instanceof Error) {\n        ret = 'error';\n      } else if (item instanceof _core_object.default) {\n        ret = 'instance';\n      } else if (item instanceof Date) {\n        ret = 'date';\n      }\n    }\n    return ret;\n  }\n});","define(\"@ember/-internals/utils/index\", [\"exports\", \"@glimmer/util\", \"@ember/debug\"], function (_exports, _util, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.ROOT = _exports.HAS_NATIVE_SYMBOL = _exports.HAS_NATIVE_PROXY = _exports.GUID_KEY = _exports.Cache = void 0;\n  _exports.canInvoke = canInvoke;\n  _exports.checkHasSuper = void 0;\n  _exports.dictionary = makeDictionary;\n  _exports.enumerableSymbol = enumerableSymbol;\n  _exports.generateGuid = generateGuid;\n  _exports.getDebugName = void 0;\n  _exports.getName = getName;\n  _exports.guidFor = guidFor;\n  _exports.inspect = inspect;\n  _exports.intern = intern;\n  _exports.isEmberArray = isEmberArray;\n  _exports.isInternalSymbol = isInternalSymbol;\n  _exports.isObject = isObject;\n  _exports.isProxy = isProxy;\n  _exports.lookupDescriptor = lookupDescriptor;\n  _exports.makeArray = makeArray;\n  _exports.observerListenerMetaFor = observerListenerMetaFor;\n  _exports.setEmberArray = setEmberArray;\n  _exports.setListeners = setListeners;\n  _exports.setName = setName;\n  _exports.setObservers = setObservers;\n  _exports.setProxy = setProxy;\n  _exports.teardownMandatorySetter = _exports.symbol = _exports.setupMandatorySetter = _exports.setWithMandatorySetter = void 0;\n  _exports.toString = toString;\n  _exports.tryInvoke = tryInvoke;\n  _exports.uuid = uuid;\n  _exports.wrap = wrap;\n  /**\n    Strongly hint runtimes to intern the provided string.\n  \n    When do I need to use this function?\n  \n    For the most part, never. Pre-mature optimization is bad, and often the\n    runtime does exactly what you need it to, and more often the trade-off isn't\n    worth it.\n  \n    Why?\n  \n    Runtimes store strings in at least 2 different representations:\n    Ropes and Symbols (interned strings). The Rope provides a memory efficient\n    data-structure for strings created from concatenation or some other string\n    manipulation like splitting.\n  \n    Unfortunately checking equality of different ropes can be quite costly as\n    runtimes must resort to clever string comparison algorithms. These\n    algorithms typically cost in proportion to the length of the string.\n    Luckily, this is where the Symbols (interned strings) shine. As Symbols are\n    unique by their string content, equality checks can be done by pointer\n    comparison.\n  \n    How do I know if my string is a rope or symbol?\n  \n    Typically (warning general sweeping statement, but truthy in runtimes at\n    present) static strings created as part of the JS source are interned.\n    Strings often used for comparisons can be interned at runtime if some\n    criteria are met.  One of these criteria can be the size of the entire rope.\n    For example, in chrome 38 a rope longer then 12 characters will not\n    intern, nor will segments of that rope.\n  \n    Some numbers: http://jsperf.com/eval-vs-keys/8\n  \n    Known Trick™\n  \n    @private\n    @return {String} interned version of the provided string\n  */\n  function intern(str) {\n    var obj = {};\n    obj[str] = 1;\n    for (var key in obj) {\n      if (key === str) {\n        return key;\n      }\n    }\n    return str;\n  }\n\n  /**\n    Returns whether Type(value) is Object.\n  \n    Useful for checking whether a value is a valid WeakMap key.\n  \n    Refs: https://tc39.github.io/ecma262/#sec-typeof-operator-runtime-semantics-evaluation\n          https://tc39.github.io/ecma262/#sec-weakmap.prototype.set\n  \n    @private\n    @function isObject\n  */\n  function isObject(value) {\n    return value !== null && (typeof value === 'object' || typeof value === 'function');\n  }\n\n  /**\n   @module @ember/object\n  */\n\n  /**\n   Previously we used `Ember.$.uuid`, however `$.uuid` has been removed from\n   jQuery master. We'll just bootstrap our own uuid now.\n  \n   @private\n   @return {Number} the uuid\n   */\n\n  var _uuid = 0;\n  /**\n   Generates a universally unique identifier. This method\n   is used internally by Ember for assisting with\n   the generation of GUID's and other unique identifiers.\n  \n   @public\n   @return {Number} [description]\n   */\n\n  function uuid() {\n    return ++_uuid;\n  }\n  /**\n   Prefix used for guids through out Ember.\n   @private\n   @property GUID_PREFIX\n   @for Ember\n   @type String\n   @final\n   */\n\n  var GUID_PREFIX = 'ember'; // Used for guid generation...\n\n  var OBJECT_GUIDS = new WeakMap();\n  var NON_OBJECT_GUIDS = new Map();\n  /**\n    A unique key used to assign guids and other private metadata to objects.\n    If you inspect an object in your browser debugger you will often see these.\n    They can be safely ignored.\n  \n    On browsers that support it, these properties are added with enumeration\n    disabled so they won't show up when you iterate over your properties.\n  \n    @private\n    @property GUID_KEY\n    @for Ember\n    @type String\n    @final\n  */\n\n  var GUID_KEY = _exports.GUID_KEY = intern(`__ember${Date.now()}`);\n  /**\n    Generates a new guid, optionally saving the guid to the object that you\n    pass in. You will rarely need to use this method. Instead you should\n    call `guidFor(obj)`, which return an existing guid if available.\n  \n    @private\n    @method generateGuid\n    @static\n    @for @ember/object/internals\n    @param {Object} [obj] Object the guid will be used for. If passed in, the guid will\n      be saved on the object and reused whenever you pass the same object\n      again.\n  \n      If no object is passed, just generate a new guid.\n    @param {String} [prefix] Prefix to place in front of the guid. Useful when you want to\n      separate the guid into separate namespaces.\n    @return {String} the guid\n  */\n\n  function generateGuid(obj, prefix = GUID_PREFIX) {\n    var guid = prefix + uuid();\n    if (isObject(obj)) {\n      OBJECT_GUIDS.set(obj, guid);\n    }\n    return guid;\n  }\n  /**\n    Returns a unique id for the object. If the object does not yet have a guid,\n    one will be assigned to it. You can call this on any object,\n    `EmberObject`-based or not.\n  \n    You can also use this method on DOM Element objects.\n  \n    @public\n    @static\n    @method guidFor\n    @for @ember/object/internals\n    @param {Object} obj any object, string, number, Element, or primitive\n    @return {String} the unique guid for this instance.\n  */\n\n  function guidFor(value) {\n    var guid;\n    if (isObject(value)) {\n      guid = OBJECT_GUIDS.get(value);\n      if (guid === undefined) {\n        guid = GUID_PREFIX + uuid();\n        OBJECT_GUIDS.set(value, guid);\n      }\n    } else {\n      guid = NON_OBJECT_GUIDS.get(value);\n      if (guid === undefined) {\n        var type = typeof value;\n        if (type === 'string') {\n          guid = 'st' + uuid();\n        } else if (type === 'number') {\n          guid = 'nu' + uuid();\n        } else if (type === 'symbol') {\n          guid = 'sy' + uuid();\n        } else {\n          guid = '(' + value + ')';\n        }\n        NON_OBJECT_GUIDS.set(value, guid);\n      }\n    }\n    return guid;\n  }\n  var HAS_NATIVE_SYMBOL = _exports.HAS_NATIVE_SYMBOL = function () {\n    if (typeof Symbol !== 'function') {\n      return false;\n    }\n    return typeof Symbol() === 'symbol';\n  }();\n  var GENERATED_SYMBOLS = [];\n  function isInternalSymbol(possibleSymbol) {\n    return GENERATED_SYMBOLS.indexOf(possibleSymbol) !== -1;\n  } // Some legacy symbols still need to be enumerable for a variety of reasons.\n  // This code exists for that, and as a fallback in IE11. In general, prefer\n  // `symbol` below when creating a new symbol.\n\n  function enumerableSymbol(debugName) {\n    // TODO: Investigate using platform symbols, but we do not\n    // want to require non-enumerability for this API, which\n    // would introduce a large cost.\n    var id = GUID_KEY + Math.floor(Math.random() * Date.now());\n    var symbol = intern(`__${debugName}${id}__`);\n    if (true /* DEBUG */) {\n      GENERATED_SYMBOLS.push(symbol);\n    }\n    return symbol;\n  }\n  var symbol = _exports.symbol = HAS_NATIVE_SYMBOL ? Symbol : enumerableSymbol;\n\n  // the delete is meant to hint at runtimes that this object should remain in\n  // dictionary mode. This is clearly a runtime specific hack, but currently it\n  // appears worthwhile in some usecases. Please note, these deletes do increase\n  // the cost of creation dramatically over a plain Object.create. And as this\n  // only makes sense for long-lived dictionaries that aren't instantiated often.\n  function makeDictionary(parent) {\n    var dict = Object.create(parent);\n    dict['_dict'] = null;\n    delete dict['_dict'];\n    return dict;\n  }\n  var getDebugName;\n  if (true /* DEBUG */) {\n    var getFunctionName = fn => {\n      var functionName = fn.name;\n      if (functionName === undefined) {\n        var match = Function.prototype.toString.call(fn).match(/function (\\w+)\\s*\\(/);\n        functionName = match && match[1] || '';\n      }\n      return functionName.replace(/^bound /, '');\n    };\n    var getObjectName = obj => {\n      var name;\n      var className;\n      if (obj.constructor && obj.constructor !== Object) {\n        className = getFunctionName(obj.constructor);\n      }\n      if ('toString' in obj && obj.toString !== Object.prototype.toString && obj.toString !== Function.prototype.toString) {\n        name = obj.toString();\n      } // If the class has a decent looking name, and the `toString` is one of the\n      // default Ember toStrings, replace the constructor portion of the toString\n      // with the class name. We check the length of the class name to prevent doing\n      // this when the value is minified.\n\n      if (name && name.match(/<.*:ember\\d+>/) && className && className[0] !== '_' && className.length > 2 && className !== 'Class') {\n        return name.replace(/<.*:/, `<${className}:`);\n      }\n      return name || className;\n    };\n    var getPrimitiveName = value => {\n      return String(value);\n    };\n    getDebugName = value => {\n      if (typeof value === 'function') {\n        return getFunctionName(value) || `(unknown function)`;\n      } else if (typeof value === 'object' && value !== null) {\n        return getObjectName(value) || `(unknown object)`;\n      } else {\n        return getPrimitiveName(value);\n      }\n    };\n  }\n  var getDebugName$1 = _exports.getDebugName = getDebugName;\n  var HAS_SUPER_PATTERN = /\\.(_super|call\\(this|apply\\(this)/;\n  var fnToString = Function.prototype.toString;\n  var checkHasSuper = _exports.checkHasSuper = (() => {\n    var sourceAvailable = fnToString.call(function () {\n      return this;\n    }).indexOf('return this') > -1;\n    if (sourceAvailable) {\n      return function checkHasSuper(func) {\n        return HAS_SUPER_PATTERN.test(fnToString.call(func));\n      };\n    }\n    return function checkHasSuper() {\n      return true;\n    };\n  })();\n  var HAS_SUPER_MAP = new WeakMap();\n  var ROOT = _exports.ROOT = Object.freeze(function () {});\n  HAS_SUPER_MAP.set(ROOT, false);\n  function hasSuper(func) {\n    var hasSuper = HAS_SUPER_MAP.get(func);\n    if (hasSuper === undefined) {\n      hasSuper = checkHasSuper(func);\n      HAS_SUPER_MAP.set(func, hasSuper);\n    }\n    return hasSuper;\n  }\n  class ObserverListenerMeta {\n    constructor() {\n      this.listeners = undefined;\n      this.observers = undefined;\n    }\n  }\n  var OBSERVERS_LISTENERS_MAP = new WeakMap();\n  function createObserverListenerMetaFor(fn) {\n    var meta = OBSERVERS_LISTENERS_MAP.get(fn);\n    if (meta === undefined) {\n      meta = new ObserverListenerMeta();\n      OBSERVERS_LISTENERS_MAP.set(fn, meta);\n    }\n    return meta;\n  }\n  function observerListenerMetaFor(fn) {\n    return OBSERVERS_LISTENERS_MAP.get(fn);\n  }\n  function setObservers(func, observers) {\n    var meta = createObserverListenerMetaFor(func);\n    meta.observers = observers;\n  }\n  function setListeners(func, listeners) {\n    var meta = createObserverListenerMetaFor(func);\n    meta.listeners = listeners;\n  }\n  var IS_WRAPPED_FUNCTION_SET = new _util._WeakSet();\n  /**\n    Wraps the passed function so that `this._super` will point to the superFunc\n    when the function is invoked. This is the primitive we use to implement\n    calls to super.\n  \n    @private\n    @method wrap\n    @for Ember\n    @param {Function} func The function to call\n    @param {Function} superFunc The super function.\n    @return {Function} wrapped function.\n  */\n\n  function wrap(func, superFunc) {\n    if (!hasSuper(func)) {\n      return func;\n    } // ensure an unwrapped super that calls _super is wrapped with a terminal _super\n\n    if (!IS_WRAPPED_FUNCTION_SET.has(superFunc) && hasSuper(superFunc)) {\n      return _wrap(func, _wrap(superFunc, ROOT));\n    }\n    return _wrap(func, superFunc);\n  }\n  function _wrap(func, superFunc) {\n    function superWrapper() {\n      var orig = this._super;\n      this._super = superFunc;\n      var ret = func.apply(this, arguments);\n      this._super = orig;\n      return ret;\n    }\n    IS_WRAPPED_FUNCTION_SET.add(superWrapper);\n    var meta = OBSERVERS_LISTENERS_MAP.get(func);\n    if (meta !== undefined) {\n      OBSERVERS_LISTENERS_MAP.set(superWrapper, meta);\n    }\n    return superWrapper;\n  }\n  var {\n    toString: objectToString\n  } = Object.prototype;\n  var {\n    toString: functionToString\n  } = Function.prototype;\n  var {\n    isArray\n  } = Array;\n  var {\n    keys: objectKeys\n  } = Object;\n  var {\n    stringify\n  } = JSON;\n  var LIST_LIMIT = 100;\n  var DEPTH_LIMIT = 4;\n  var SAFE_KEY = /^[\\w$]+$/;\n  /**\n   @module @ember/debug\n  */\n\n  /**\n    Convenience method to inspect an object. This method will attempt to\n    convert the object into a useful string description.\n  \n    It is a pretty simple implementation. If you want something more robust,\n    use something like JSDump: https://github.com/NV/jsDump\n  \n    @method inspect\n    @static\n    @param {Object} obj The object you want to inspect.\n    @return {String} A description of the object\n    @since 1.4.0\n    @private\n  */\n\n  function inspect(obj) {\n    // detect Node util.inspect call inspect(depth: number, opts: object)\n    if (typeof obj === 'number' && arguments.length === 2) {\n      return this;\n    }\n    return inspectValue(obj, 0);\n  }\n  function inspectValue(value, depth, seen) {\n    var valueIsArray = false;\n    switch (typeof value) {\n      case 'undefined':\n        return 'undefined';\n      case 'object':\n        if (value === null) return 'null';\n        if (isArray(value)) {\n          valueIsArray = true;\n          break;\n        } // is toString Object.prototype.toString or undefined then traverse\n\n        if (value.toString === objectToString || value.toString === undefined) {\n          break;\n        } // custom toString\n\n        return value.toString();\n      case 'function':\n        return value.toString === functionToString ? value.name ? `[Function:${value.name}]` : `[Function]` : value.toString();\n      case 'string':\n        return stringify(value);\n      case 'symbol':\n      case 'boolean':\n      case 'number':\n      default:\n        return value.toString();\n    }\n    if (seen === undefined) {\n      seen = new _util._WeakSet();\n    } else {\n      if (seen.has(value)) return `[Circular]`;\n    }\n    seen.add(value);\n    return valueIsArray ? inspectArray(value, depth + 1, seen) : inspectObject(value, depth + 1, seen);\n  }\n  function inspectKey(key) {\n    return SAFE_KEY.test(key) ? key : stringify(key);\n  }\n  function inspectObject(obj, depth, seen) {\n    if (depth > DEPTH_LIMIT) {\n      return '[Object]';\n    }\n    var s = '{';\n    var keys = objectKeys(obj);\n    for (var i = 0; i < keys.length; i++) {\n      s += i === 0 ? ' ' : ', ';\n      if (i >= LIST_LIMIT) {\n        s += `... ${keys.length - LIST_LIMIT} more keys`;\n        break;\n      }\n      var key = keys[i];\n      s += inspectKey(key) + ': ' + inspectValue(obj[key], depth, seen);\n    }\n    s += ' }';\n    return s;\n  }\n  function inspectArray(arr, depth, seen) {\n    if (depth > DEPTH_LIMIT) {\n      return '[Array]';\n    }\n    var s = '[';\n    for (var i = 0; i < arr.length; i++) {\n      s += i === 0 ? ' ' : ', ';\n      if (i >= LIST_LIMIT) {\n        s += `... ${arr.length - LIST_LIMIT} more items`;\n        break;\n      }\n      s += inspectValue(arr[i], depth, seen);\n    }\n    s += ' ]';\n    return s;\n  }\n  function lookupDescriptor(obj, keyName) {\n    var current = obj;\n    do {\n      var descriptor = Object.getOwnPropertyDescriptor(current, keyName);\n      if (descriptor !== undefined) {\n        return descriptor;\n      }\n      current = Object.getPrototypeOf(current);\n    } while (current !== null);\n    return null;\n  }\n\n  /**\n    Checks to see if the `methodName` exists on the `obj`.\n  \n    ```javascript\n    let foo = { bar: function() { return 'bar'; }, baz: null };\n  \n    Ember.canInvoke(foo, 'bar'); // true\n    Ember.canInvoke(foo, 'baz'); // false\n    Ember.canInvoke(foo, 'bat'); // false\n    ```\n  \n    @method canInvoke\n    @for Ember\n    @param {Object} obj The object to check for the method\n    @param {String} methodName The method name to check for\n    @return {Boolean}\n    @private\n  */\n\n  function canInvoke(obj, methodName) {\n    return obj !== null && obj !== undefined && typeof obj[methodName] === 'function';\n  }\n  /**\n    @module @ember/utils\n  */\n\n  /**\n    Checks to see if the `methodName` exists on the `obj`,\n    and if it does, invokes it with the arguments passed.\n  \n    ```javascript\n    import { tryInvoke } from '@ember/utils';\n  \n    let d = new Date('03/15/2013');\n  \n    tryInvoke(d, 'getTime');              // 1363320000000\n    tryInvoke(d, 'setFullYear', [2014]);  // 1394856000000\n    tryInvoke(d, 'noSuchMethod', [2014]); // undefined\n    ```\n  \n    @method tryInvoke\n    @for @ember/utils\n    @static\n    @param {Object} obj The object to check for the method\n    @param {String} methodName The method name to check for\n    @param {Array} [args] The arguments to pass to the method\n    @return {*} the return value of the invoked method or undefined if it cannot be invoked\n    @public\n    @deprecated Use Javascript's optional chaining instead.\n  */\n\n  function tryInvoke(obj, methodName, args) {\n    (true && !(false) && (0, _debug.deprecate)(`Use of tryInvoke is deprecated. Instead, consider using JavaScript's optional chaining.`, false, {\n      id: 'ember-utils.try-invoke',\n      until: '4.0.0',\n      for: 'ember-source',\n      since: {\n        enabled: '3.24.0'\n      },\n      url: 'https://deprecations.emberjs.com/v3.x#toc_ember-utils-try-invoke'\n    }));\n    if (canInvoke(obj, methodName)) {\n      var method = obj[methodName];\n      return method.apply(obj, args);\n    }\n  }\n  var {\n    isArray: isArray$1\n  } = Array;\n  function makeArray(obj) {\n    if (obj === null || obj === undefined) {\n      return [];\n    }\n    return isArray$1(obj) ? obj : [obj];\n  }\n  var NAMES = new WeakMap();\n  function setName(obj, name) {\n    if (isObject(obj)) NAMES.set(obj, name);\n  }\n  function getName(obj) {\n    return NAMES.get(obj);\n  }\n  var objectToString$1 = Object.prototype.toString;\n  function isNone(obj) {\n    return obj === null || obj === undefined;\n  }\n  /*\n   A `toString` util function that supports objects without a `toString`\n   method, e.g. an object created with `Object.create(null)`.\n  */\n\n  function toString(obj) {\n    if (typeof obj === 'string') {\n      return obj;\n    }\n    if (null === obj) return 'null';\n    if (undefined === obj) return 'undefined';\n    if (Array.isArray(obj)) {\n      // Reimplement Array.prototype.join according to spec (22.1.3.13)\n      // Changing ToString(element) with this safe version of ToString.\n      var r = '';\n      for (var k = 0; k < obj.length; k++) {\n        if (k > 0) {\n          r += ',';\n        }\n        if (!isNone(obj[k])) {\n          r += toString(obj[k]);\n        }\n      }\n      return r;\n    }\n    if (typeof obj.toString === 'function') {\n      return obj.toString();\n    }\n    return objectToString$1.call(obj);\n  }\n  var HAS_NATIVE_PROXY = _exports.HAS_NATIVE_PROXY = typeof Proxy === 'function';\n  var PROXIES = new _util._WeakSet();\n  function isProxy(value) {\n    if (isObject(value)) {\n      return PROXIES.has(value);\n    }\n    return false;\n  }\n  function setProxy(object) {\n    if (isObject(object)) {\n      PROXIES.add(object);\n    }\n  }\n  class Cache {\n    constructor(limit, func, store) {\n      this.limit = limit;\n      this.func = func;\n      this.store = store;\n      this.size = 0;\n      this.misses = 0;\n      this.hits = 0;\n      this.store = store || new Map();\n    }\n    get(key) {\n      if (this.store.has(key)) {\n        this.hits++;\n        return this.store.get(key);\n      } else {\n        this.misses++;\n        return this.set(key, this.func(key));\n      }\n    }\n    set(key, value) {\n      if (this.limit > this.size) {\n        this.size++;\n        this.store.set(key, value);\n      }\n      return value;\n    }\n    purge() {\n      this.store.clear();\n      this.size = 0;\n      this.hits = 0;\n      this.misses = 0;\n    }\n  }\n  _exports.Cache = Cache;\n  var EMBER_ARRAYS = new _util._WeakSet();\n  function setEmberArray(obj) {\n    EMBER_ARRAYS.add(obj);\n  }\n  function isEmberArray(obj) {\n    return EMBER_ARRAYS.has(obj);\n  }\n  var setupMandatorySetter;\n  var teardownMandatorySetter;\n  var setWithMandatorySetter;\n  function isElementKey(key) {\n    return typeof key === 'number' ? isPositiveInt(key) : isStringInt(key);\n  }\n  function isStringInt(str) {\n    var num = parseInt(str, 10);\n    return isPositiveInt(num) && str === String(num);\n  }\n  function isPositiveInt(num) {\n    return num >= 0 && num % 1 === 0;\n  }\n  if (true /* DEBUG */) {\n    var SEEN_TAGS = new _util._WeakSet();\n    var MANDATORY_SETTERS = new WeakMap();\n    var propertyIsEnumerable = function (obj, key) {\n      return Object.prototype.propertyIsEnumerable.call(obj, key);\n    };\n    _exports.setupMandatorySetter = setupMandatorySetter = function (tag, obj, keyName) {\n      if (SEEN_TAGS.has(tag)) {\n        return;\n      }\n      SEEN_TAGS.add(tag);\n      if (Array.isArray(obj) && isElementKey(keyName)) {\n        return;\n      }\n      var desc = lookupDescriptor(obj, keyName) || {};\n      if (desc.get || desc.set) {\n        // if it has a getter or setter, we can't install the mandatory setter.\n        // native setters are allowed, we have to assume that they will resolve\n        // to tracked properties.\n        return;\n      }\n      if (desc && (!desc.configurable || !desc.writable)) {\n        // if it isn't writable anyways, so we shouldn't provide the setter.\n        // if it isn't configurable, we can't overwrite it anyways.\n        return;\n      }\n      var setters = MANDATORY_SETTERS.get(obj);\n      if (setters === undefined) {\n        setters = {};\n        MANDATORY_SETTERS.set(obj, setters);\n      }\n      desc.hadOwnProperty = Object.hasOwnProperty.call(obj, keyName);\n      setters[keyName] = desc;\n      Object.defineProperty(obj, keyName, {\n        configurable: true,\n        enumerable: propertyIsEnumerable(obj, keyName),\n        get() {\n          if (desc.get) {\n            return desc.get.call(this);\n          } else {\n            return desc.value;\n          }\n        },\n        set(value) {\n          (true && !(false) && (0, _debug.assert)(`You attempted to update ${this}.${String(keyName)} to \"${String(value)}\", but it is being tracked by a tracking context, such as a template, computed property, or observer. In order to make sure the context updates properly, you must invalidate the property when updating it. You can mark the property as \\`@tracked\\`, or use \\`@ember/object#set\\` to do this.`));\n        }\n      });\n    };\n    _exports.teardownMandatorySetter = teardownMandatorySetter = function (obj, keyName) {\n      var setters = MANDATORY_SETTERS.get(obj);\n      if (setters !== undefined && setters[keyName] !== undefined) {\n        Object.defineProperty(obj, keyName, setters[keyName]);\n        setters[keyName] = undefined;\n      }\n    };\n    _exports.setWithMandatorySetter = setWithMandatorySetter = function (obj, keyName, value) {\n      var setters = MANDATORY_SETTERS.get(obj);\n      if (setters !== undefined && setters[keyName] !== undefined) {\n        var setter = setters[keyName];\n        if (setter.set) {\n          setter.set.call(obj, value);\n        } else {\n          setter.value = value; // If the object didn't have own property before, it would have changed\n          // the enumerability after setting the value the first time.\n\n          if (!setter.hadOwnProperty) {\n            var desc = lookupDescriptor(obj, keyName);\n            desc.enumerable = true;\n            Object.defineProperty(obj, keyName, desc);\n          }\n        }\n      } else {\n        obj[keyName] = value;\n      }\n    };\n  }\n\n  /*\n   This package will be eagerly parsed and should have no dependencies on external\n   packages.\n  \n   It is intended to be used to share utility methods that will be needed\n   by every Ember application (and is **not** a dumping ground of useful utilities).\n  \n   Utility methods that are needed in < 80% of cases should be placed\n   elsewhere (so they can be lazily evaluated / parsed).\n  */\n});","define(\"@ember/-internals/views/index\", [\"exports\", \"@ember/-internals/views/lib/system/jquery\", \"@ember/-internals/views/lib/system/utils\", \"@ember/-internals/views/lib/system/event_dispatcher\", \"@ember/-internals/views/lib/component_lookup\", \"@ember/-internals/views/lib/mixins/text_support\", \"@ember/-internals/views/lib/views/core_view\", \"@ember/-internals/views/lib/mixins/class_names_support\", \"@ember/-internals/views/lib/mixins/child_views_support\", \"@ember/-internals/views/lib/mixins/view_state_support\", \"@ember/-internals/views/lib/mixins/view_support\", \"@ember/-internals/views/lib/mixins/action_support\", \"@ember/-internals/views/lib/compat/attrs\", \"@ember/-internals/views/lib/system/action_manager\"], function (_exports, _jquery, _utils, _event_dispatcher, _component_lookup, _text_support, _core_view, _class_names_support, _child_views_support, _view_state_support, _view_support, _action_support, _attrs, _action_manager) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"ActionManager\", {\n    enumerable: true,\n    get: function () {\n      return _action_manager.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ActionSupport\", {\n    enumerable: true,\n    get: function () {\n      return _action_support.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ChildViewsSupport\", {\n    enumerable: true,\n    get: function () {\n      return _child_views_support.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ClassNamesSupport\", {\n    enumerable: true,\n    get: function () {\n      return _class_names_support.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ComponentLookup\", {\n    enumerable: true,\n    get: function () {\n      return _component_lookup.default;\n    }\n  });\n  Object.defineProperty(_exports, \"CoreView\", {\n    enumerable: true,\n    get: function () {\n      return _core_view.default;\n    }\n  });\n  Object.defineProperty(_exports, \"EventDispatcher\", {\n    enumerable: true,\n    get: function () {\n      return _event_dispatcher.default;\n    }\n  });\n  Object.defineProperty(_exports, \"MUTABLE_CELL\", {\n    enumerable: true,\n    get: function () {\n      return _attrs.MUTABLE_CELL;\n    }\n  });\n  Object.defineProperty(_exports, \"TextSupport\", {\n    enumerable: true,\n    get: function () {\n      return _text_support.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ViewMixin\", {\n    enumerable: true,\n    get: function () {\n      return _view_support.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ViewStateSupport\", {\n    enumerable: true,\n    get: function () {\n      return _view_state_support.default;\n    }\n  });\n  Object.defineProperty(_exports, \"addChildView\", {\n    enumerable: true,\n    get: function () {\n      return _utils.addChildView;\n    }\n  });\n  Object.defineProperty(_exports, \"clearElementView\", {\n    enumerable: true,\n    get: function () {\n      return _utils.clearElementView;\n    }\n  });\n  Object.defineProperty(_exports, \"clearViewElement\", {\n    enumerable: true,\n    get: function () {\n      return _utils.clearViewElement;\n    }\n  });\n  Object.defineProperty(_exports, \"constructStyleDeprecationMessage\", {\n    enumerable: true,\n    get: function () {\n      return _utils.constructStyleDeprecationMessage;\n    }\n  });\n  Object.defineProperty(_exports, \"getChildViews\", {\n    enumerable: true,\n    get: function () {\n      return _utils.getChildViews;\n    }\n  });\n  Object.defineProperty(_exports, \"getElementView\", {\n    enumerable: true,\n    get: function () {\n      return _utils.getElementView;\n    }\n  });\n  Object.defineProperty(_exports, \"getRootViews\", {\n    enumerable: true,\n    get: function () {\n      return _utils.getRootViews;\n    }\n  });\n  Object.defineProperty(_exports, \"getViewBoundingClientRect\", {\n    enumerable: true,\n    get: function () {\n      return _utils.getViewBoundingClientRect;\n    }\n  });\n  Object.defineProperty(_exports, \"getViewBounds\", {\n    enumerable: true,\n    get: function () {\n      return _utils.getViewBounds;\n    }\n  });\n  Object.defineProperty(_exports, \"getViewClientRects\", {\n    enumerable: true,\n    get: function () {\n      return _utils.getViewClientRects;\n    }\n  });\n  Object.defineProperty(_exports, \"getViewElement\", {\n    enumerable: true,\n    get: function () {\n      return _utils.getViewElement;\n    }\n  });\n  Object.defineProperty(_exports, \"getViewId\", {\n    enumerable: true,\n    get: function () {\n      return _utils.getViewId;\n    }\n  });\n  Object.defineProperty(_exports, \"isSimpleClick\", {\n    enumerable: true,\n    get: function () {\n      return _utils.isSimpleClick;\n    }\n  });\n  Object.defineProperty(_exports, \"jQuery\", {\n    enumerable: true,\n    get: function () {\n      return _jquery.jQuery;\n    }\n  });\n  Object.defineProperty(_exports, \"jQueryDisabled\", {\n    enumerable: true,\n    get: function () {\n      return _jquery.jQueryDisabled;\n    }\n  });\n  Object.defineProperty(_exports, \"setElementView\", {\n    enumerable: true,\n    get: function () {\n      return _utils.setElementView;\n    }\n  });\n  Object.defineProperty(_exports, \"setViewElement\", {\n    enumerable: true,\n    get: function () {\n      return _utils.setViewElement;\n    }\n  });\n});","define(\"@ember/-internals/views/lib/compat/attrs\", [\"exports\", \"@ember/-internals/utils\"], function (_exports, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.MUTABLE_CELL = void 0;\n  var MUTABLE_CELL = _exports.MUTABLE_CELL = (0, _utils.symbol)('MUTABLE_CELL');\n});","define(\"@ember/-internals/views/lib/compat/fallback-view-registry\", [\"exports\", \"@ember/-internals/utils\"], function (_exports, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _utils.dictionary)(null);\n});","define(\"@ember/-internals/views/lib/component_lookup\", [\"exports\", \"@ember/-internals/runtime\"], function (_exports, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _runtime.Object.extend({\n    componentFor(name, owner, options) {\n      var fullName = `component:${name}`;\n      return owner.factoryFor(fullName, options);\n    },\n    layoutFor(name, owner, options) {\n      var templateFullName = `template:components/${name}`;\n      return owner.lookup(templateFullName, options);\n    }\n  });\n});","define(\"@ember/-internals/views/lib/mixins/action_support\", [\"exports\", \"@ember/-internals/utils\", \"@ember/-internals/metal\", \"@ember/debug\", \"@ember/-internals/views/lib/compat/attrs\", \"@ember/deprecated-features\"], function (_exports, _utils, _metal, _debug, _attrs, _deprecatedFeatures) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   @module ember\n  */\n\n  var mixinObj = {\n    send(actionName, ...args) {\n      (true && !(!this.isDestroying && !this.isDestroyed) && (0, _debug.assert)(`Attempted to call .send() with the action '${actionName}' on the destroyed object '${this}'.`, !this.isDestroying && !this.isDestroyed));\n      var action = this.actions && this.actions[actionName];\n      if (action) {\n        var shouldBubble = action.apply(this, args) === true;\n        if (!shouldBubble) {\n          return;\n        }\n      }\n      var target = (0, _metal.get)(this, 'target');\n      if (target) {\n        (true && !(typeof target.send === 'function') && (0, _debug.assert)(`The \\`target\\` for ${this} (${target}) does not have a \\`send\\` method`, typeof target.send === 'function'));\n        target.send(...arguments);\n      } else {\n        (true && !(action) && (0, _debug.assert)(`${(0, _utils.inspect)(this)} had no action handler for: ${actionName}`, action));\n      }\n    }\n  };\n  if (_deprecatedFeatures.SEND_ACTION) {\n    /**\n      Calls an action passed to a component.\n       For example a component for playing or pausing music may translate click events\n      into action notifications of \"play\" or \"stop\" depending on some internal state\n      of the component:\n       ```app/components/play-button.js\n      import Component from '@ember/component';\n       export default Component.extend({\n        click() {\n          if (this.get('isPlaying')) {\n            this.sendAction('play');\n          } else {\n            this.sendAction('stop');\n          }\n        }\n      });\n      ```\n       The actions \"play\" and \"stop\" must be passed to this `play-button` component:\n       ```handlebars\n      {{! app/templates/application.hbs }}\n      {{play-button play=(action \"musicStarted\") stop=(action \"musicStopped\")}}\n      ```\n       When the component receives a browser `click` event it translate this\n      interaction into application-specific semantics (\"play\" or \"stop\") and\n      calls the specified action.\n       ```app/controller/application.js\n      import Controller from '@ember/controller';\n       export default Controller.extend({\n        actions: {\n          musicStarted() {\n            // called when the play button is clicked\n            // and the music started playing\n          },\n          musicStopped() {\n            // called when the play button is clicked\n            // and the music stopped playing\n          }\n        }\n      });\n      ```\n       If no action is passed to `sendAction` a default name of \"action\"\n      is assumed.\n       ```app/components/next-button.js\n      import Component from '@ember/component';\n       export default Component.extend({\n        click() {\n          this.sendAction();\n        }\n      });\n      ```\n       ```handlebars\n      {{! app/templates/application.hbs }}\n      {{next-button action=(action \"playNextSongInAlbum\")}}\n      ```\n       ```app/controllers/application.js\n      import Controller from '@ember/controller';\n       export default Controller.extend({\n        actions: {\n          playNextSongInAlbum() {\n            ...\n          }\n        }\n      });\n      ```\n       @method sendAction\n      @param [action] {String} the action to call\n      @param [params] {*} arguments for the action\n      @public\n      @deprecated\n    */\n    var sendAction = function sendAction(action, ...contexts) {\n      (true && !(!this.isDestroying && !this.isDestroyed) && (0, _debug.assert)(`Attempted to call .sendAction() with the action '${action}' on the destroyed object '${this}'.`, !this.isDestroying && !this.isDestroyed));\n      (true && !(false) && (0, _debug.deprecate)(`You called ${(0, _utils.inspect)(this)}.sendAction(${typeof action === 'string' ? `\"${action}\"` : ''}) but Component#sendAction is deprecated. Please use closure actions instead.`, false, {\n        id: 'ember-component.send-action',\n        until: '4.0.0',\n        url: 'https://deprecations.emberjs.com/v3.x#toc_ember-component-send-action',\n        for: 'ember-source',\n        since: {\n          enabled: '3.4.0'\n        }\n      }));\n      var actionName; // Send the default action\n\n      if (action === undefined) {\n        action = 'action';\n      }\n      actionName = (0, _metal.get)(this, `attrs.${action}`) || (0, _metal.get)(this, action);\n      actionName = validateAction(this, actionName); // If no action name for that action could be found, just abort.\n\n      if (actionName === undefined) {\n        return;\n      }\n      if (typeof actionName === 'function') {\n        actionName(...contexts);\n      } else {\n        this.triggerAction({\n          action: actionName,\n          actionContext: contexts\n        });\n      }\n    };\n    var validateAction = function validateAction(component, actionName) {\n      if (actionName && actionName[_attrs.MUTABLE_CELL]) {\n        actionName = actionName.value;\n      }\n      (true && !(actionName === null || actionName === undefined || typeof actionName === 'string' || typeof actionName === 'function') && (0, _debug.assert)(`The default action was triggered on the component ${component.toString()}, but the action name (${actionName}) was not a string.`, actionName === null || actionName === undefined || typeof actionName === 'string' || typeof actionName === 'function'));\n      return actionName;\n    };\n    mixinObj.sendAction = sendAction;\n  }\n  /**\n   @class ActionSupport\n   @namespace Ember\n   @private\n  */\n  var _default = _exports.default = _metal.Mixin.create(mixinObj);\n});","define(\"@ember/-internals/views/lib/mixins/child_views_support\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/views/lib/system/utils\"], function (_exports, _metal, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module ember\n  */\n  var _default = _exports.default = _metal.Mixin.create({\n    /**\n      Array of child views. You should never edit this array directly.\n       @property childViews\n      @type Array\n      @default []\n      @private\n    */\n    childViews: (0, _metal.nativeDescDecorator)({\n      configurable: false,\n      enumerable: false,\n      get() {\n        return (0, _utils.getChildViews)(this);\n      }\n    }),\n    appendChild(view) {\n      (0, _utils.addChildView)(this, view);\n    }\n  });\n});","define(\"@ember/-internals/views/lib/mixins/class_names_support\", [\"exports\", \"@ember/-internals/metal\", \"@ember/debug\"], function (_exports, _metal, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module ember\n  */\n\n  var EMPTY_ARRAY = Object.freeze([]);\n  /**\n    @class ClassNamesSupport\n    @namespace Ember\n    @private\n  */\n  var _default = _exports.default = _metal.Mixin.create({\n    concatenatedProperties: ['classNames', 'classNameBindings'],\n    init() {\n      this._super(...arguments);\n      (true && !((0, _metal.descriptorForProperty)(this, 'classNameBindings') === undefined && Array.isArray(this.classNameBindings)) && (0, _debug.assert)(`Only arrays are allowed for 'classNameBindings'`, (0, _metal.descriptorForProperty)(this, 'classNameBindings') === undefined && Array.isArray(this.classNameBindings)));\n      (true && !((0, _metal.descriptorForProperty)(this, 'classNames') === undefined && Array.isArray(this.classNames)) && (0, _debug.assert)(`Only arrays of static class strings are allowed for 'classNames'. For dynamic classes, use 'classNameBindings'.`, (0, _metal.descriptorForProperty)(this, 'classNames') === undefined && Array.isArray(this.classNames)));\n    },\n    /**\n      Standard CSS class names to apply to the view's outer element. This\n      property automatically inherits any class names defined by the view's\n      superclasses as well.\n       @property classNames\n      @type Array\n      @default ['ember-view']\n      @public\n    */\n    classNames: EMPTY_ARRAY,\n    /**\n      A list of properties of the view to apply as class names. If the property\n      is a string value, the value of that string will be applied as a class\n      name.\n       ```javascript\n      // Applies the 'high' class to the view element\n      import Component from '@ember/component';\n      Component.extend({\n        classNameBindings: ['priority'],\n        priority: 'high'\n      });\n      ```\n       If the value of the property is a Boolean, the name of that property is\n      added as a dasherized class name.\n       ```javascript\n      // Applies the 'is-urgent' class to the view element\n      import Component from '@ember/component';\n      Component.extend({\n        classNameBindings: ['isUrgent'],\n        isUrgent: true\n      });\n      ```\n       If you would prefer to use a custom value instead of the dasherized\n      property name, you can pass a binding like this:\n       ```javascript\n      // Applies the 'urgent' class to the view element\n      import Component from '@ember/component';\n      Component.extend({\n        classNameBindings: ['isUrgent:urgent'],\n        isUrgent: true\n      });\n      ```\n       If you would like to specify a class that should only be added when the\n      property is false, you can declare a binding like this:\n       ```javascript\n      // Applies the 'disabled' class to the view element\n      import Component from '@ember/component';\n      Component.extend({\n        classNameBindings: ['isEnabled::disabled'],\n        isEnabled: false\n      });\n      ```\n       This list of properties is inherited from the component's superclasses as well.\n       @property classNameBindings\n      @type Array\n      @default []\n      @public\n    */\n    classNameBindings: EMPTY_ARRAY\n  });\n});","define(\"@ember/-internals/views/lib/mixins/text_support\", [\"exports\", \"@ember/-internals/metal\", \"@ember/debug\", \"@ember/deprecated-features\", \"@ember/-internals/views\"], function (_exports, _metal, _debug, _deprecatedFeatures, _views) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module ember\n  */\n\n  if (true /* DEBUG */ && true\n  /* EMBER_MODERNIZED_BUILT_IN_COMPONENTS */) {\n    _metal.Mixin._disableDebugSeal = true;\n  }\n  var KEY_EVENTS = {\n    Enter: 'insertNewline',\n    Escape: 'cancel'\n  };\n  /**\n    `TextSupport` is a shared mixin used by both `TextField` and\n    `TextArea`. `TextSupport` adds a number of methods that allow you to\n    specify a controller action to invoke when a certain event is fired on your\n    text field or textarea. The specified controller action would get the current\n    value of the field passed in as the only argument unless the value of\n    the field is empty. In that case, the instance of the field itself is passed\n    in as the only argument.\n  \n    Let's use the pressing of the escape key as an example. If you wanted to\n    invoke a controller action when a user presses the escape key while on your\n    field, you would use the `escape-press` attribute on your field like so:\n  \n    ```handlebars\n      {{! application.hbs}}\n  \n      {{input escape-press='alertUser'}}\n    ```\n  \n    ```javascript\n        import Application from '@ember/application';\n        import Controller from '@ember/controller';\n        App = Application.create();\n  \n        App.ApplicationController = Controller.extend({\n          actions: {\n            alertUser: function ( currentValue ) {\n              alert( 'escape pressed, current value: ' + currentValue );\n            }\n          }\n        });\n    ```\n  \n    The following chart is a visual representation of what takes place when the\n    escape key is pressed in this scenario:\n  \n    ```\n    The Template\n    +---------------------------+\n    |                           |\n    | escape-press='alertUser'  |\n    |                           |          TextSupport Mixin\n    +----+----------------------+          +-------------------------------+\n         |                                 | cancel method                 |\n         |      escape button pressed      |                               |\n         +-------------------------------> | checks for the `escape-press` |\n                                           | attribute and pulls out the   |\n         +-------------------------------+ | `alertUser` value             |\n         |     action name 'alertUser'     +-------------------------------+\n         |     sent to controller\n         v\n    Controller\n    +------------------------------------------ +\n    |                                           |\n    |  actions: {                               |\n    |     alertUser: function( currentValue ){  |\n    |       alert( 'the esc key was pressed!' ) |\n    |     }                                     |\n    |  }                                        |\n    |                                           |\n    +-------------------------------------------+\n    ```\n  \n    Here are the events that we currently support along with the name of the\n    attribute you would need to use on your field. To reiterate, you would use the\n    attribute name like so:\n  \n    ```handlebars\n      {{input attribute-name='controllerAction'}}\n    ```\n  \n    ```\n    +--------------------+----------------+\n    |                    |                |\n    | event              | attribute name |\n    +--------------------+----------------+\n    | new line inserted  | insert-newline |\n    |                    |                |\n    | enter key pressed  | enter          |\n    |                    |                |\n    | cancel key pressed | escape-press   |\n    |                    |                |\n    | focusin            | focus-in       |\n    |                    |                |\n    | focusout           | focus-out      |\n    |                    |                |\n    | keypress           | key-press      |\n    |                    |                |\n    | keyup              | key-up         |\n    |                    |                |\n    | keydown            | key-down       |\n    +--------------------+----------------+\n    ```\n  \n    @class TextSupport\n    @namespace Ember\n    @uses Ember.TargetActionSupport\n    @extends Mixin\n    @private\n  */\n\n  var TextSupport = _metal.Mixin.create({\n    value: '',\n    attributeBindings: ['autocapitalize', 'autocorrect', 'autofocus', 'disabled', 'form', 'maxlength', 'minlength', 'placeholder', 'readonly', 'required', 'selectionDirection', 'spellcheck', 'tabindex', 'title'],\n    placeholder: null,\n    disabled: false,\n    maxlength: null,\n    init() {\n      this._super(...arguments);\n      this.on('paste', this, this._elementValueDidChange);\n      this.on('cut', this, this._elementValueDidChange);\n      this.on('input', this, this._elementValueDidChange);\n    },\n    /**\n      Whether the `keyUp` event that triggers an `action` to be sent continues\n      propagating to other views.\n       By default, when the user presses the return key on their keyboard and\n      the text field has an `action` set, the action will be sent to the view's\n      controller and the key event will stop propagating.\n       If you would like parent views to receive the `keyUp` event even after an\n      action has been dispatched, set `bubbles` to true.\n       @property bubbles\n      @type Boolean\n      @default false\n      @private\n    */\n    bubbles: false,\n    interpretKeyEvents(event) {\n      var method = KEY_EVENTS[event.key];\n      this._elementValueDidChange();\n      if (method) {\n        return this[method](event);\n      }\n    },\n    _elementValueDidChange() {\n      (0, _metal.set)(this, 'value', this.element.value);\n    },\n    change(event) {\n      this._elementValueDidChange(event);\n    },\n    /**\n      Allows you to specify a controller action to invoke when either the `enter`\n      key is pressed or, in the case of the field being a textarea, when a newline\n      is inserted. To use this method, give your field an `insert-newline`\n      attribute. The value of that attribute should be the name of the action\n      in your controller that you wish to invoke.\n       For an example on how to use the `insert-newline` attribute, please\n      reference the example near the top of this file.\n       @method insertNewline\n      @param {Event} event\n      @private\n    */\n    insertNewline(event) {\n      sendAction('enter', this, event);\n      sendAction('insert-newline', this, event);\n    },\n    /**\n      Allows you to specify a controller action to invoke when the escape button\n      is pressed. To use this method, give your field an `escape-press`\n      attribute. The value of that attribute should be the name of the action\n      in your controller that you wish to invoke.\n       For an example on how to use the `escape-press` attribute, please reference\n      the example near the top of this file.\n       @method cancel\n      @param {Event} event\n      @private\n    */\n    cancel(event) {\n      sendAction('escape-press', this, event);\n    },\n    /**\n      Allows you to specify a controller action to invoke when a field receives\n      focus. To use this method, give your field a `focus-in` attribute. The value\n      of that attribute should be the name of the action in your controller\n      that you wish to invoke.\n       For an example on how to use the `focus-in` attribute, please reference the\n      example near the top of this file.\n       @method focusIn\n      @param {Event} event\n      @private\n    */\n    focusIn(event) {\n      sendAction('focus-in', this, event);\n    },\n    /**\n      Allows you to specify a controller action to invoke when a field loses\n      focus. To use this method, give your field a `focus-out` attribute. The value\n      of that attribute should be the name of the action in your controller\n      that you wish to invoke.\n       For an example on how to use the `focus-out` attribute, please reference the\n      example near the top of this file.\n       @method focusOut\n      @param {Event} event\n      @private\n    */\n    focusOut(event) {\n      this._elementValueDidChange(event);\n      sendAction('focus-out', this, event);\n    },\n    /**\n      Allows you to specify a controller action to invoke when a key is pressed.\n      To use this method, give your field a `key-press` attribute. The value of\n      that attribute should be the name of the action in your controller you\n      that wish to invoke.\n       For an example on how to use the `key-press` attribute, please reference the\n      example near the top of this file.\n       @method keyPress\n      @param {Event} event\n      @private\n    */\n    keyPress(event) {\n      sendAction('key-press', this, event);\n    },\n    /**\n      Allows you to specify a controller action to invoke when a key-up event is\n      fired. To use this method, give your field a `key-up` attribute. The value\n      of that attribute should be the name of the action in your controller\n      that you wish to invoke.\n       For an example on how to use the `key-up` attribute, please reference the\n      example near the top of this file.\n       @method keyUp\n      @param {Event} event\n      @private\n    */\n    keyUp(event) {\n      this.interpretKeyEvents(event);\n      sendAction('key-up', this, event);\n    },\n    /**\n      Allows you to specify a controller action to invoke when a key-down event is\n      fired. To use this method, give your field a `key-down` attribute. The value\n      of that attribute should be the name of the action in your controller that\n      you wish to invoke.\n       For an example on how to use the `key-down` attribute, please reference the\n      example near the top of this file.\n       @method keyDown\n      @param {Event} event\n      @private\n    */\n    keyDown(event) {\n      sendAction('key-down', this, event);\n    }\n  }); // In principle, this shouldn't be necessary, but the legacy\n  // sendAction semantics for TextField are different from\n  // the component semantics so this method normalizes them.\n\n  function sendAction(eventName, view, event) {\n    var action = (0, _metal.get)(view, `attrs.${eventName}`);\n    if (action !== null && typeof action === 'object' && action[_views.MUTABLE_CELL] === true) {\n      action = action.value;\n    }\n    if (action === undefined) {\n      action = (0, _metal.get)(view, eventName);\n    }\n    var value = (0, _metal.get)(view, 'value');\n    if (_deprecatedFeatures.SEND_ACTION && typeof action === 'string') {\n      var message = `Passing actions to components as strings (like \\`<Input @${eventName}=\"${action}\" />\\`) is deprecated. Please use closure actions instead (\\`<Input @${eventName}={{action \"${action}\"}} />\\`).`;\n      (true && !(false) && (0, _debug.deprecate)(message, false, {\n        id: 'ember-component.send-action',\n        until: '4.0.0',\n        url: 'https://deprecations.emberjs.com/v3.x#toc_ember-component-send-action',\n        for: 'ember-source',\n        since: {\n          enabled: '3.4.0'\n        }\n      }));\n      view.triggerAction({\n        action: action,\n        actionContext: [value, event]\n      });\n    } else if (typeof action === 'function') {\n      action(value, event);\n    }\n    if (action && !(0, _metal.get)(view, 'bubbles')) {\n      event.stopPropagation();\n    }\n  }\n  if (true\n  /* EMBER_MODERNIZED_BUILT_IN_COMPONENTS */) {\n    Object.defineProperty(TextSupport, '_wasReopened', {\n      configurable: true,\n      enumerable: false,\n      writable: true,\n      value: false\n    });\n    Object.defineProperty(TextSupport, 'reopen', {\n      configurable: true,\n      enumerable: false,\n      writable: true,\n      value: function reopen(...args) {\n        if (this === TextSupport) {\n          (true && !(false) && (0, _debug.deprecate)('Reopening Ember.TextSupport is deprecated.', false, {\n            id: 'ember.built-in-components.reopen',\n            for: 'ember-source',\n            since: {\n              enabled: '3.27.0'\n            },\n            until: '4.0.0',\n            url: 'https://deprecations.emberjs.com/v3.x#toc_ember-built-in-components-reopen'\n          }));\n          TextSupport._wasReopened = true;\n        }\n        return _metal.Mixin.prototype.reopen.call(this, ...args);\n      }\n    });\n    if (true /* DEBUG */) {\n      Object.seal(TextSupport);\n      _metal.Mixin._disableDebugSeal = false;\n    }\n  }\n  var _default = _exports.default = TextSupport;\n});","define(\"@ember/-internals/views/lib/mixins/view_state_support\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module ember\n  */\n  var _default = _exports.default = _metal.Mixin.create({\n    _transitionTo(state) {\n      var priorState = this._currentState;\n      var currentState = this._currentState = this._states[state];\n      this._state = state;\n      if (priorState && priorState.exit) {\n        priorState.exit(this);\n      }\n      if (currentState.enter) {\n        currentState.enter(this);\n      }\n    }\n  });\n});","define(\"@ember/-internals/views/lib/mixins/view_support\", [\"exports\", \"@ember/-internals/utils\", \"@ember/-internals/metal\", \"@ember/debug\", \"@ember/-internals/browser-environment\", \"@ember/-internals/views/lib/system/utils\", \"@ember/-internals/views/lib/system/jquery\", \"@ember/deprecated-features\"], function (_exports, _utils, _metal, _debug, _browserEnvironment, _utils2, _jquery, _deprecatedFeatures) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function K() {\n    return this;\n  }\n  var mixin = {\n    /**\n     A list of properties of the view to apply as attributes. If the property\n     is a string value, the value of that string will be applied as the value\n     for an attribute of the property's name.\n      The following example creates a tag like `<div priority=\"high\" />`.\n      ```app/components/my-component.js\n     import Component from '@ember/component';\n      export default Component.extend({\n        attributeBindings: ['priority'],\n        priority: 'high'\n      });\n     ```\n      If the value of the property is a Boolean, the attribute is treated as\n     an HTML Boolean attribute. It will be present if the property is `true`\n     and omitted if the property is `false`.\n      The following example creates markup like `<div visible />`.\n      ```app/components/my-component.js\n     import Component from '@ember/component';\n      export default Component.extend({\n        attributeBindings: ['visible'],\n        visible: true\n      });\n     ```\n      If you would prefer to use a custom value instead of the property name,\n     you can create the same markup as the last example with a binding like\n     this:\n      ```app/components/my-component.js\n     import Component from '@ember/component';\n      export default Component.extend({\n        attributeBindings: ['isVisible:visible'],\n        isVisible: true\n      });\n     ```\n      This list of attributes is inherited from the component's superclasses,\n     as well.\n      @property attributeBindings\n     @type Array\n     @default []\n     @public\n     */\n    concatenatedProperties: ['attributeBindings'],\n    // ..........................................................\n    // TEMPLATE SUPPORT\n    //\n\n    /**\n     Return the nearest ancestor that is an instance of the provided\n     class or mixin.\n      @method nearestOfType\n     @param {Class,Mixin} klass Subclass of Ember.View (or Ember.View itself),\n     or an instance of Mixin.\n     @return Ember.View\n     @deprecated use `yield` and contextual components for composition instead.\n     @private\n     */\n    nearestOfType(klass) {\n      var view = this.parentView;\n      var isOfType = klass instanceof _metal.Mixin ? view => klass.detect(view) : view => klass.detect(view.constructor);\n      while (view) {\n        if (isOfType(view)) {\n          return view;\n        }\n        view = view.parentView;\n      }\n    },\n    /**\n     Return the nearest ancestor that has a given property.\n      @method nearestWithProperty\n     @param {String} property A property name\n     @return Ember.View\n     @deprecated use `yield` and contextual components for composition instead.\n     @private\n     */\n    nearestWithProperty(property) {\n      var view = this.parentView;\n      while (view) {\n        if (property in view) {\n          return view;\n        }\n        view = view.parentView;\n      }\n    },\n    /**\n     Renders the view again. This will work regardless of whether the\n     view is already in the DOM or not. If the view is in the DOM, the\n     rendering process will be deferred to give bindings a chance\n     to synchronize.\n      If children were added during the rendering process using `appendChild`,\n     `rerender` will remove them, because they will be added again\n     if needed by the next `render`.\n      In general, if the display of your view changes, you should modify\n     the DOM element directly instead of manually calling `rerender`, which can\n     be slow.\n      @method rerender\n     @public\n     */\n    rerender() {\n      return this._currentState.rerender(this);\n    },\n    // ..........................................................\n    // ELEMENT SUPPORT\n    //\n\n    /**\n     Returns the current DOM element for the view.\n       @property element\n      @type DOMElement\n      @public\n    */\n    element: (0, _metal.nativeDescDecorator)({\n      configurable: false,\n      enumerable: false,\n      get() {\n        return this.renderer.getElement(this);\n      }\n    }),\n    /**\n     Appends the view's element to the specified parent element.\n      Note that this method just schedules the view to be appended; the DOM\n     element will not be appended to the given element until all bindings have\n     finished synchronizing.\n      This is not typically a function that you will need to call directly when\n     building your application. If you do need to use `appendTo`, be sure that\n     the target element you are providing is associated with an `Application`\n     and does not have an ancestor element that is associated with an Ember view.\n      @method appendTo\n     @param {String|DOMElement|jQuery} A selector, element, HTML string, or jQuery object\n     @return {Ember.View} receiver\n     @private\n     */\n    appendTo(selector) {\n      var target;\n      if (_browserEnvironment.hasDOM) {\n        target = typeof selector === 'string' ? document.querySelector(selector) : selector;\n        (true && !(target) && (0, _debug.assert)(`You tried to append to (${selector}) but that isn't in the DOM`, target));\n        (true && !(!(0, _utils2.matches)(target, '.ember-view')) && (0, _debug.assert)('You cannot append to an existing Ember.View.', !(0, _utils2.matches)(target, '.ember-view')));\n        (true && !((() => {\n          var node = target.parentNode;\n          while (node) {\n            if (node.nodeType !== 9 && (0, _utils2.matches)(node, '.ember-view')) {\n              return false;\n            }\n            node = node.parentNode;\n          }\n          return true;\n        })()) && (0, _debug.assert)('You cannot append to an existing Ember.View.', (() => {\n          var node = target.parentNode;\n          while (node) {\n            if (node.nodeType !== 9 && (0, _utils2.matches)(node, '.ember-view')) {\n              return false;\n            }\n            node = node.parentNode;\n          }\n          return true;\n        })()));\n      } else {\n        target = selector;\n        (true && !(typeof target !== 'string') && (0, _debug.assert)(`You tried to append to a selector string (${selector}) in an environment without jQuery`, typeof target !== 'string'));\n        (true && !(typeof selector.appendChild === 'function') && (0, _debug.assert)(`You tried to append to a non-Element (${selector}) in an environment without jQuery`, typeof selector.appendChild === 'function'));\n      }\n      this.renderer.appendTo(this, target);\n      return this;\n    },\n    /**\n     Appends the view's element to the document body. If the view does\n     not have an HTML representation yet\n     the element will be generated automatically.\n      If your application uses the `rootElement` property, you must append\n     the view within that element. Rendering views outside of the `rootElement`\n     is not supported.\n      Note that this method just schedules the view to be appended; the DOM\n     element will not be appended to the document body until all bindings have\n     finished synchronizing.\n      @method append\n     @return {Ember.View} receiver\n     @private\n     */\n    append() {\n      return this.appendTo(document.body);\n    },\n    /**\n     The HTML `id` of the view's element in the DOM. You can provide this\n     value yourself but it must be unique (just as in HTML):\n      ```handlebars\n     {{my-component elementId=\"a-really-cool-id\"}}\n     ```\n      If not manually set a default value will be provided by the framework.\n      Once rendered an element's `elementId` is considered immutable and you\n     should never change it. If you need to compute a dynamic value for the\n     `elementId`, you should do this when the component or element is being\n     instantiated:\n      ```app/components/my-component.js\n     import Component from '@ember/component';\n      export default Component.extend({\n        init() {\n          this._super(...arguments);\n          let index = this.get('index');\n          this.set('elementId', 'component-id' + index);\n        }\n      });\n     ```\n      @property elementId\n     @type String\n     @public\n     */\n    elementId: null,\n    /**\n     Called when a view is going to insert an element into the DOM.\n      @event willInsertElement\n     @public\n     */\n    willInsertElement: K,\n    /**\n     Called when the element of the view has been inserted into the DOM.\n     Override this function to do any set up that requires an element\n     in the document body.\n      When a view has children, didInsertElement will be called on the\n     child view(s) first and on itself afterwards.\n      @event didInsertElement\n     @public\n     */\n    didInsertElement: K,\n    /**\n     Called when the view is about to rerender, but before anything has\n     been torn down. This is a good opportunity to tear down any manual\n     observers you have installed based on the DOM state\n      @event willClearRender\n     @public\n     */\n    willClearRender: K,\n    /**\n     You must call `destroy` on a view to destroy the view (and all of its\n     child views). This will remove the view from any parent node, then make\n     sure that the DOM element managed by the view can be released by the\n     memory manager.\n      @method destroy\n     @private\n     */\n    destroy() {\n      this._super(...arguments);\n      this._currentState.destroy(this);\n    },\n    /**\n     Called when the element of the view is going to be destroyed. Override\n     this function to do any teardown that requires an element, like removing\n     event listeners.\n      Please note: any property changes made during this event will have no\n     effect on object observers.\n      @event willDestroyElement\n     @public\n     */\n    willDestroyElement: K,\n    /**\n     Called after the element of the view is destroyed.\n      @event willDestroyElement\n     @public\n     */\n    didDestroyElement: K,\n    /**\n     Called when the parentView property has changed.\n      @event parentViewDidChange\n     @private\n     */\n    parentViewDidChange: K,\n    // ..........................................................\n    // STANDARD RENDER PROPERTIES\n    //\n\n    /**\n     Tag name for the view's outer element. The tag name is only used when an\n     element is first created. If you change the `tagName` for an element, you\n     must destroy and recreate the view element.\n      By default, the render buffer will use a `<div>` tag for views.\n      If the tagName is `''`, the view will be tagless, with no outer element.\n     Component properties that depend on the presence of an outer element, such\n     as `classNameBindings` and `attributeBindings`, do not work with tagless\n     components. Tagless components cannot implement methods to handle events,\n     and have no associated jQuery object to return with `$()`.\n      @property tagName\n     @type String\n     @default null\n     @public\n     */\n    // We leave this null by default so we can tell the difference between\n    // the default case and a user-specified tag.\n    tagName: null,\n    // .......................................................\n    // CORE DISPLAY METHODS\n    //\n\n    /**\n     Setup a view, but do not finish waking it up.\n      * configure `childViews`\n     * register the view with the global views hash, which is used for event\n     dispatch\n      @method init\n     @private\n     */\n    init() {\n      this._super(...arguments); // tslint:disable-next-line:max-line-length\n      (true && !((0, _metal.descriptorForProperty)(this, 'elementId') === undefined) && (0, _debug.assert)(`You cannot use a computed property for the component's \\`elementId\\` (${this}).`, (0, _metal.descriptorForProperty)(this, 'elementId') === undefined)); // tslint:disable-next-line:max-line-length\n      (true && !((0, _metal.descriptorForProperty)(this, 'tagName') === undefined) && (0, _debug.assert)(`You cannot use a computed property for the component's \\`tagName\\` (${this}).`, (0, _metal.descriptorForProperty)(this, 'tagName') === undefined));\n      if (!this.elementId && this.tagName !== '') {\n        this.elementId = (0, _utils.guidFor)(this);\n      }\n      (true && !(!this.render) && (0, _debug.assert)('Using a custom `.render` function is no longer supported.', !this.render));\n    },\n    // .......................................................\n    // EVENT HANDLING\n    //\n\n    /**\n     Handle events from `EventDispatcher`\n      @method handleEvent\n     @param eventName {String}\n     @param evt {Event}\n     @private\n     */\n    handleEvent(eventName, evt) {\n      return this._currentState.handleEvent(this, eventName, evt);\n    }\n  };\n  if (_deprecatedFeatures.JQUERY_INTEGRATION) {\n    /**\n     Returns a jQuery object for this view's element. If you pass in a selector\n     string, this method will return a jQuery object, using the current element\n     as its buffer.\n      For example, calling `view.$('li')` will return a jQuery object containing\n     all of the `li` elements inside the DOM element of this view.\n      @method $\n     @param {String} [selector] a jQuery-compatible selector string\n     @return {jQuery} the jQuery object for the DOM node\n     @public\n     @deprecated\n     */\n    mixin.$ = function $(sel) {\n      (true && !(this.tagName !== '') && (0, _debug.assert)(\"You cannot access this.$() on a component with `tagName: ''` specified.\", this.tagName !== ''));\n      (true && !(!_jquery.jQueryDisabled) && (0, _debug.assert)('You cannot access this.$() with `jQuery` disabled.', !_jquery.jQueryDisabled));\n      (true && !(false) && (0, _debug.deprecate)('Using this.$() in a component has been deprecated, consider using this.element', false, {\n        id: 'ember-views.curly-components.jquery-element',\n        until: '4.0.0',\n        url: 'https://deprecations.emberjs.com/v3.x#toc_jquery-apis',\n        for: 'ember-source',\n        since: {\n          enabled: '3.9.0'\n        }\n      }));\n      if (this.element) {\n        return sel ? (0, _jquery.jQuery)(sel, this.element) : (0, _jquery.jQuery)(this.element);\n      }\n    };\n  }\n  /**\n   @class ViewMixin\n   @namespace Ember\n   @private\n  */\n  var _default = _exports.default = _metal.Mixin.create(mixin);\n});","define(\"@ember/-internals/views/lib/system/action_manager\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = ActionManager;\n  /**\n  @module ember\n  */\n  function ActionManager() {}\n  /**\n    Global action id hash.\n  \n    @private\n    @property registeredActions\n    @type Object\n  */\n\n  ActionManager.registeredActions = {};\n});","define(\"@ember/-internals/views/lib/system/event_dispatcher\", [\"exports\", \"@ember/-internals/owner\", \"@ember/polyfills\", \"@ember/debug\", \"@ember/-internals/metal\", \"@ember/-internals/runtime\", \"@ember/-internals/views\", \"@ember/-internals/views/lib/system/jquery\", \"@ember/-internals/views/lib/system/action_manager\", \"@ember/-internals/views/lib/system/jquery_event_deprecation\", \"@ember/-internals/views/lib/system/utils\", \"@ember/deprecated-features\"], function (_exports, _owner, _polyfills, _debug, _metal, _runtime, _views, _jquery, _action_manager, _jquery_event_deprecation, _utils, _deprecatedFeatures) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module ember\n  */\n\n  var ROOT_ELEMENT_CLASS = 'ember-application';\n  var ROOT_ELEMENT_SELECTOR = `.${ROOT_ELEMENT_CLASS}`;\n  var EVENT_MAP = {\n    mouseenter: 'mouseover',\n    mouseleave: 'mouseout'\n  };\n  /**\n    `Ember.EventDispatcher` handles delegating browser events to their\n    corresponding `Ember.Views.` For example, when you click on a view,\n    `Ember.EventDispatcher` ensures that that view's `mouseDown` method gets\n    called.\n  \n    @class EventDispatcher\n    @namespace Ember\n    @private\n    @extends Ember.Object\n  */\n  var _default = _exports.default = _runtime.Object.extend({\n    /**\n      The set of events names (and associated handler function names) to be setup\n      and dispatched by the `EventDispatcher`. Modifications to this list can be done\n      at setup time, generally via the `Application.customEvents` hash.\n       To add new events to be listened to:\n       ```javascript\n      import Application from '@ember/application';\n       let App = Application.create({\n        customEvents: {\n          paste: 'paste'\n        }\n      });\n      ```\n       To prevent default events from being listened to:\n       ```javascript\n      import Application from '@ember/application';\n       let App = Application.create({\n        customEvents: {\n          mouseenter: null,\n          mouseleave: null\n        }\n      });\n      ```\n      @property events\n      @type Object\n      @private\n    */\n    events: (0, _polyfills.assign)({\n      touchstart: 'touchStart',\n      touchmove: 'touchMove',\n      touchend: 'touchEnd',\n      touchcancel: 'touchCancel',\n      keydown: 'keyDown',\n      keyup: 'keyUp',\n      keypress: 'keyPress',\n      mousedown: 'mouseDown',\n      mouseup: 'mouseUp',\n      contextmenu: 'contextMenu',\n      click: 'click',\n      dblclick: 'doubleClick',\n      focusin: 'focusIn',\n      focusout: 'focusOut',\n      submit: 'submit',\n      input: 'input',\n      change: 'change',\n      dragstart: 'dragStart',\n      drag: 'drag',\n      dragenter: 'dragEnter',\n      dragleave: 'dragLeave',\n      dragover: 'dragOver',\n      drop: 'drop',\n      dragend: 'dragEnd'\n    }, _deprecatedFeatures.MOUSE_ENTER_LEAVE_MOVE_EVENTS ? {\n      mouseenter: 'mouseEnter',\n      mouseleave: 'mouseLeave',\n      mousemove: 'mouseMove'\n    } : {}),\n    /**\n      The root DOM element to which event listeners should be attached. Event\n      listeners will be attached to the document unless this is overridden.\n       Can be specified as a DOMElement or a selector string.\n       The default body is a string since this may be evaluated before document.body\n      exists in the DOM.\n       @private\n      @property rootElement\n      @type DOMElement\n      @default 'body'\n    */\n    rootElement: 'body',\n    init() {\n      this._super();\n      this._eventHandlers = Object.create(null);\n      this._didSetup = false;\n    },\n    /**\n      Sets up event listeners for standard browser events.\n       This will be called after the browser sends a `DOMContentReady` event. By\n      default, it will set up all of the listeners on the document body. If you\n      would like to register the listeners on a different element, set the event\n      dispatcher's `root` property.\n       @private\n      @method setup\n      @param addedEvents {Object}\n    */\n    setup(addedEvents, _rootElement) {\n      (true && !((() => {\n        var owner = (0, _owner.getOwner)(this);\n        var environment = owner.lookup('-environment:main');\n        return environment.isInteractive;\n      })()) && (0, _debug.assert)('EventDispatcher should never be setup in fastboot mode. Please report this as an Ember bug.', (() => {\n        var owner = (0, _owner.getOwner)(this);\n        var environment = owner.lookup('-environment:main');\n        return environment.isInteractive;\n      })()));\n      var events = this._finalEvents = (0, _polyfills.assign)({}, (0, _metal.get)(this, 'events'), addedEvents);\n      if (_rootElement !== undefined && _rootElement !== null) {\n        (0, _metal.set)(this, 'rootElement', _rootElement);\n      }\n      var rootElementSelector = (0, _metal.get)(this, 'rootElement');\n      var rootElement;\n      if (!_deprecatedFeatures.JQUERY_INTEGRATION || _jquery.jQueryDisabled) {\n        if (typeof rootElementSelector !== 'string') {\n          rootElement = rootElementSelector;\n        } else {\n          rootElement = document.querySelector(rootElementSelector);\n        }\n        (true && !(!rootElement.classList.contains(ROOT_ELEMENT_CLASS)) && (0, _debug.assert)(`You cannot use the same root element (${(0, _metal.get)(this, 'rootElement') || rootElement.tagName}) multiple times in an Ember.Application`, !rootElement.classList.contains(ROOT_ELEMENT_CLASS)));\n        (true && !((() => {\n          var target = rootElement.parentNode;\n          do {\n            if (target.classList.contains(ROOT_ELEMENT_CLASS)) {\n              return false;\n            }\n            target = target.parentNode;\n          } while (target && target.nodeType === 1);\n          return true;\n        })()) && (0, _debug.assert)('You cannot make a new Ember.Application using a root element that is a descendent of an existing Ember.Application', (() => {\n          var target = rootElement.parentNode;\n          do {\n            if (target.classList.contains(ROOT_ELEMENT_CLASS)) {\n              return false;\n            }\n            target = target.parentNode;\n          } while (target && target.nodeType === 1);\n          return true;\n        })()));\n        (true && !(!rootElement.querySelector(ROOT_ELEMENT_SELECTOR)) && (0, _debug.assert)('You cannot make a new Ember.Application using a root element that is an ancestor of an existing Ember.Application', !rootElement.querySelector(ROOT_ELEMENT_SELECTOR)));\n        rootElement.classList.add(ROOT_ELEMENT_CLASS);\n        (true && !(rootElement.classList.contains(ROOT_ELEMENT_CLASS)) && (0, _debug.assert)(`Unable to add '${ROOT_ELEMENT_CLASS}' class to root element (${(0, _metal.get)(this, 'rootElement') || rootElement.tagName}). Make sure you set rootElement to the body or an element in the body.`, rootElement.classList.contains(ROOT_ELEMENT_CLASS)));\n      } else {\n        rootElement = (0, _jquery.jQuery)(rootElementSelector);\n        (true && !(!rootElement.is(ROOT_ELEMENT_SELECTOR)) && (0, _debug.assert)(`You cannot use the same root element (${rootElement.selector || rootElement[0].tagName}) multiple times in an Ember.Application`, !rootElement.is(ROOT_ELEMENT_SELECTOR)));\n        (true && !(!rootElement.closest(ROOT_ELEMENT_SELECTOR).length) && (0, _debug.assert)('You cannot make a new Ember.Application using a root element that is a descendent of an existing Ember.Application', !rootElement.closest(ROOT_ELEMENT_SELECTOR).length));\n        (true && !(!rootElement.find(ROOT_ELEMENT_SELECTOR).length) && (0, _debug.assert)('You cannot make a new Ember.Application using a root element that is an ancestor of an existing Ember.Application', !rootElement.find(ROOT_ELEMENT_SELECTOR).length));\n        rootElement.addClass(ROOT_ELEMENT_CLASS);\n        if (!rootElement.is(ROOT_ELEMENT_SELECTOR)) {\n          throw new TypeError(`Unable to add '${ROOT_ELEMENT_CLASS}' class to root element (${rootElement.selector || rootElement[0].tagName}). Make sure you set rootElement to the body or an element in the body.`);\n        }\n      }\n      for (var event in events) {\n        if (Object.prototype.hasOwnProperty.call(events, event)) {\n          this.setupHandler(rootElement, event, events[event]);\n        }\n      }\n      this._didSetup = true;\n    },\n    /**\n      Registers an event listener on the rootElement. If the given event is\n      triggered, the provided event handler will be triggered on the target view.\n       If the target view does not implement the event handler, or if the handler\n      returns `false`, the parent view will be called. The event will continue to\n      bubble to each successive parent view until it reaches the top.\n       @private\n      @method setupHandler\n      @param {Element} rootElement\n      @param {String} event the browser-originated event to listen to\n      @param {String} eventName the name of the method to call on the view\n    */\n    setupHandler(rootElement, event, eventName) {\n      if (eventName === null) {\n        return;\n      }\n      if (!_deprecatedFeatures.JQUERY_INTEGRATION || _jquery.jQueryDisabled) {\n        var viewHandler = (target, event) => {\n          var view = (0, _views.getElementView)(target);\n          var result = true;\n          if (view) {\n            result = view.handleEvent(eventName, event);\n          }\n          return result;\n        };\n        var actionHandler = (target, event) => {\n          var actionId = target.getAttribute('data-ember-action');\n          var actions = _action_manager.default.registeredActions[actionId]; // In Glimmer2 this attribute is set to an empty string and an additional\n          // attribute it set for each action on a given element. In this case, the\n          // attributes need to be read so that a proper set of action handlers can\n          // be coalesced.\n\n          if (actionId === '') {\n            var attributes = target.attributes;\n            var attributeCount = attributes.length;\n            actions = [];\n            for (var i = 0; i < attributeCount; i++) {\n              var attr = attributes.item(i);\n              var attrName = attr.name;\n              if (attrName.indexOf('data-ember-action-') === 0) {\n                actions = actions.concat(_action_manager.default.registeredActions[attr.value]);\n              }\n            }\n          } // We have to check for actions here since in some cases, jQuery will trigger\n          // an event on `removeChild` (i.e. focusout) after we've already torn down the\n          // action handlers for the view.\n\n          if (!actions) {\n            return;\n          }\n          var result = true;\n          for (var index = 0; index < actions.length; index++) {\n            var action = actions[index];\n            if (action && action.eventName === eventName) {\n              // return false if any of the action handlers returns false\n              result = action.handler(event) && result;\n            }\n          }\n          return result;\n        }; // Special handling of events that don't bubble (event delegation does not work).\n        // Mimics the way this is handled in jQuery,\n        // see https://github.com/jquery/jquery/blob/899c56f6ada26821e8af12d9f35fa039100e838e/src/event.js#L666-L700\n\n        if (_deprecatedFeatures.MOUSE_ENTER_LEAVE_MOVE_EVENTS && EVENT_MAP[event] !== undefined) {\n          var mappedEventType = EVENT_MAP[event];\n          var origEventType = event;\n          var createFakeEvent = (eventType, event) => {\n            var fakeEvent = document.createEvent('MouseEvent');\n            fakeEvent.initMouseEvent(eventType, false, false, event.view, event.detail, event.screenX, event.screenY, event.clientX, event.clientY, event.ctrlKey, event.altKey, event.shiftKey, event.metaKey, event.button, event.relatedTarget); // fake event.target as we don't dispatch the event\n\n            Object.defineProperty(fakeEvent, 'target', {\n              value: event.target,\n              enumerable: true\n            });\n            return fakeEvent;\n          };\n          var handleMappedEvent = this._eventHandlers[mappedEventType] = event => {\n            var target = event.target;\n            var related = event.relatedTarget;\n            while (target && target.nodeType === 1 && (related === null || related !== target && !(0, _utils.contains)(target, related))) {\n              // mouseEnter/Leave don't bubble, so there is no logic to prevent it as with other events\n              if ((0, _views.getElementView)(target)) {\n                viewHandler(target, createFakeEvent(origEventType, event));\n              } else if (target.hasAttribute('data-ember-action')) {\n                actionHandler(target, createFakeEvent(origEventType, event));\n              } // separate mouseEnter/Leave events are dispatched for each listening element\n              // until the element (related) has been reached that the pointing device exited from/to\n\n              target = target.parentNode;\n            }\n          };\n          rootElement.addEventListener(mappedEventType, handleMappedEvent);\n        } else {\n          var handleEvent = this._eventHandlers[event] = event => {\n            var target = event.target;\n            do {\n              if ((0, _views.getElementView)(target)) {\n                if (viewHandler(target, event) === false) {\n                  event.preventDefault();\n                  event.stopPropagation();\n                  break;\n                } else if (event.cancelBubble === true) {\n                  break;\n                }\n              } else if (typeof target.hasAttribute === 'function' && target.hasAttribute('data-ember-action')) {\n                if (actionHandler(target, event) === false) {\n                  break;\n                }\n              }\n              target = target.parentNode;\n            } while (target && target.nodeType === 1);\n          };\n          rootElement.addEventListener(event, handleEvent);\n        }\n      } else {\n        rootElement.on(`${event}.ember`, '.ember-view', function (evt) {\n          var view = (0, _views.getElementView)(this);\n          var result = true;\n          if (view) {\n            result = view.handleEvent(eventName, (0, _jquery_event_deprecation.default)(evt));\n          }\n          return result;\n        });\n        rootElement.on(`${event}.ember`, '[data-ember-action]', evt => {\n          var attributes = evt.currentTarget.attributes;\n          var handledActions = [];\n          evt = (0, _jquery_event_deprecation.default)(evt);\n          for (var i = 0; i < attributes.length; i++) {\n            var attr = attributes.item(i);\n            var attrName = attr.name;\n            if (attrName.lastIndexOf('data-ember-action-', 0) !== -1) {\n              var action = _action_manager.default.registeredActions[attr.value]; // We have to check for action here since in some cases, jQuery will trigger\n              // an event on `removeChild` (i.e. focusout) after we've already torn down the\n              // action handlers for the view.\n\n              if (action && action.eventName === eventName && handledActions.indexOf(action) === -1) {\n                action.handler(evt); // Action handlers can mutate state which in turn creates new attributes on the element.\n                // This effect could cause the `data-ember-action` attribute to shift down and be invoked twice.\n                // To avoid this, we keep track of which actions have been handled.\n\n                handledActions.push(action);\n              }\n            }\n          }\n        });\n      }\n    },\n    destroy() {\n      if (this._didSetup === false) {\n        return;\n      }\n      var rootElementSelector = (0, _metal.get)(this, 'rootElement');\n      var rootElement;\n      if (rootElementSelector.nodeType) {\n        rootElement = rootElementSelector;\n      } else {\n        rootElement = document.querySelector(rootElementSelector);\n      }\n      if (!rootElement) {\n        return;\n      }\n      if (!_deprecatedFeatures.JQUERY_INTEGRATION || _jquery.jQueryDisabled) {\n        for (var event in this._eventHandlers) {\n          rootElement.removeEventListener(event, this._eventHandlers[event]);\n        }\n      } else {\n        (0, _jquery.jQuery)(rootElementSelector).off('.ember', '**');\n      }\n      rootElement.classList.remove(ROOT_ELEMENT_CLASS);\n      return this._super(...arguments);\n    },\n    toString() {\n      return '(EventDispatcher)';\n    }\n  });\n});","define(\"@ember/-internals/views/lib/system/jquery\", [\"exports\", \"@ember/-internals/environment\", \"@ember/-internals/browser-environment\", \"@ember/deprecated-features\"], function (_exports, _environment, _browserEnvironment, _deprecatedFeatures) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.jQueryDisabled = _exports.jQuery = void 0;\n  var jQuery;\n  var jQueryDisabled = _exports.jQueryDisabled = !_deprecatedFeatures.JQUERY_INTEGRATION || _environment.ENV._JQUERY_INTEGRATION === false;\n  if (_deprecatedFeatures.JQUERY_INTEGRATION && _browserEnvironment.hasDOM) {\n    _exports.jQuery = jQuery = _environment.context.imports.jQuery;\n    if (!jQueryDisabled && jQuery) {\n      if (jQuery.event.addProp) {\n        jQuery.event.addProp('dataTransfer');\n      } else {\n        // http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#dndevents\n        ['dragstart', 'drag', 'dragenter', 'dragleave', 'dragover', 'drop', 'dragend'].forEach(eventName => {\n          jQuery.event.fixHooks[eventName] = {\n            props: ['dataTransfer']\n          };\n        });\n      }\n    } else {\n      _exports.jQuery = jQuery = undefined;\n      _exports.jQueryDisabled = jQueryDisabled = true;\n    }\n  }\n});","define(\"@ember/-internals/views/lib/system/jquery_event_deprecation\", [\"exports\", \"@ember/debug\", \"@ember/-internals/environment\", \"@ember/-internals/utils\", \"@ember/deprecated-features\"], function (_exports, _debug, _environment, _utils, _deprecatedFeatures) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = addJQueryEventDeprecation;\n  /* global Proxy */\n\n  function addJQueryEventDeprecation(jqEvent) {\n    if (true /* DEBUG */ && _deprecatedFeatures.JQUERY_INTEGRATION && _utils.HAS_NATIVE_PROXY) {\n      var boundFunctions = new Map(); // wrap the jQuery event in a Proxy to add the deprecation message for originalEvent, according to RFC#294\n      // we need a native Proxy here, so we can make sure that the internal use of originalEvent in jQuery itself does\n      // not trigger a deprecation\n\n      return new Proxy(jqEvent, {\n        get(target, name) {\n          switch (name) {\n            case 'originalEvent':\n              (true && !((EmberENV => {\n                // this deprecation is intentionally checking `global.EmberENV` so\n                // that we can ensure we _only_ deprecate in the case where jQuery\n                // integration is enabled implicitly (e.g. \"defaulted\" to enabled)\n                // as opposed to when the user explicitly opts in to using jQuery\n                if (typeof EmberENV !== 'object' || EmberENV === null) return false;\n                return EmberENV._JQUERY_INTEGRATION === true;\n              })(_environment.global.EmberENV)) && (0, _debug.deprecate)('Accessing jQuery.Event specific properties is deprecated. Either use the ember-jquery-legacy addon to normalize events to native events, or explicitly opt into jQuery integration using @ember/optional-features.', (EmberENV => {\n                if (typeof EmberENV !== 'object' || EmberENV === null) return false;\n                return EmberENV._JQUERY_INTEGRATION === true;\n              })(_environment.global.EmberENV), {\n                id: 'ember-views.event-dispatcher.jquery-event',\n                until: '4.0.0',\n                url: 'https://deprecations.emberjs.com/v3.x#toc_jquery-event',\n                for: 'ember-source',\n                since: {\n                  enabled: '3.9.0'\n                }\n              }));\n              return target[name];\n            // provide an escape hatch for ember-jquery-legacy to access originalEvent without a deprecation\n\n            case '__originalEvent':\n              return target.originalEvent;\n            default:\n              if (typeof target[name] === 'function') {\n                // cache functions for reuse\n                if (!boundFunctions.has(name)) {\n                  // for jQuery.Event methods call them with `target` as the `this` context, so they will access\n                  // `originalEvent` from the original jQuery event, not our proxy, thus not trigger the deprecation\n                  boundFunctions.set(name, target[name].bind(target));\n                }\n                return boundFunctions.get(name);\n              } // same for jQuery's getter functions for simple properties\n\n              return target[name];\n          }\n        }\n      });\n    }\n    return jqEvent;\n  }\n});","define(\"@ember/-internals/views/lib/system/utils\", [\"exports\", \"@ember/-internals/owner\", \"@ember/-internals/utils\", \"@ember/debug\"], function (_exports, _owner, _utils, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.addChildView = addChildView;\n  _exports.clearElementView = clearElementView;\n  _exports.clearViewElement = clearViewElement;\n  _exports.collectChildViews = collectChildViews;\n  _exports.constructStyleDeprecationMessage = constructStyleDeprecationMessage;\n  _exports.contains = contains;\n  _exports.elMatches = void 0;\n  _exports.getChildViews = getChildViews;\n  _exports.getElementView = getElementView;\n  _exports.getRootViews = getRootViews;\n  _exports.getViewBoundingClientRect = getViewBoundingClientRect;\n  _exports.getViewBounds = getViewBounds;\n  _exports.getViewClientRects = getViewClientRects;\n  _exports.getViewElement = getViewElement;\n  _exports.getViewId = getViewId;\n  _exports.getViewRange = getViewRange;\n  _exports.initChildViews = initChildViews;\n  _exports.isSimpleClick = isSimpleClick;\n  _exports.matches = matches;\n  _exports.setElementView = setElementView;\n  _exports.setViewElement = setViewElement;\n  /* globals Element */\n\n  /**\n  @module ember\n  */\n\n  function isSimpleClick(event) {\n    var modifier = event.shiftKey || event.metaKey || event.altKey || event.ctrlKey;\n    var secondaryClick = event.which > 1; // IE9 may return undefined\n\n    return !modifier && !secondaryClick;\n  }\n  function constructStyleDeprecationMessage(affectedStyle) {\n    return '' + 'Binding style attributes may introduce cross-site scripting vulnerabilities; ' + 'please ensure that values being bound are properly escaped. For more information, ' + 'including how to disable this warning, see ' + 'https://deprecations.emberjs.com/v1.x/#toc_binding-style-attributes. ' + 'Style affected: \"' + affectedStyle + '\"';\n  }\n  /**\n    @private\n    @method getRootViews\n    @param {Object} owner\n  */\n\n  function getRootViews(owner) {\n    var registry = owner.lookup('-view-registry:main');\n    var rootViews = [];\n    Object.keys(registry).forEach(id => {\n      var view = registry[id];\n      if (view.parentView === null) {\n        rootViews.push(view);\n      }\n    });\n    return rootViews;\n  }\n  /**\n    @private\n    @method getViewId\n    @param {Ember.View} view\n   */\n\n  function getViewId(view) {\n    if (view.tagName !== '' && view.elementId) {\n      return view.elementId;\n    } else {\n      return (0, _utils.guidFor)(view);\n    }\n  }\n  var ELEMENT_VIEW = new WeakMap();\n  var VIEW_ELEMENT = new WeakMap();\n  function getElementView(element) {\n    return ELEMENT_VIEW.get(element) || null;\n  }\n  /**\n    @private\n    @method getViewElement\n    @param {Ember.View} view\n   */\n\n  function getViewElement(view) {\n    return VIEW_ELEMENT.get(view) || null;\n  }\n  function setElementView(element, view) {\n    ELEMENT_VIEW.set(element, view);\n  }\n  function setViewElement(view, element) {\n    VIEW_ELEMENT.set(view, element);\n  } // These are not needed for GC, but for correctness. We want to be able to\n  // null-out these links while the objects are still live. Specifically, in\n  // this case, we want to prevent access to the element (and vice verse) during\n  // destruction.\n\n  function clearElementView(element) {\n    ELEMENT_VIEW.delete(element);\n  }\n  function clearViewElement(view) {\n    VIEW_ELEMENT.delete(view);\n  }\n  var CHILD_VIEW_IDS = new WeakMap();\n  /**\n    @private\n    @method getChildViews\n    @param {Ember.View} view\n  */\n\n  function getChildViews(view) {\n    var owner = (0, _owner.getOwner)(view);\n    var registry = owner.lookup('-view-registry:main');\n    return collectChildViews(view, registry);\n  }\n  function initChildViews(view) {\n    var childViews = new Set();\n    CHILD_VIEW_IDS.set(view, childViews);\n    return childViews;\n  }\n  function addChildView(parent, child) {\n    var childViews = CHILD_VIEW_IDS.get(parent);\n    if (childViews === undefined) {\n      childViews = initChildViews(parent);\n    }\n    childViews.add(getViewId(child));\n  }\n  function collectChildViews(view, registry) {\n    var views = [];\n    var childViews = CHILD_VIEW_IDS.get(view);\n    if (childViews !== undefined) {\n      childViews.forEach(id => {\n        var view = registry[id];\n        if (view && !view.isDestroying && !view.isDestroyed) {\n          views.push(view);\n        }\n      });\n    }\n    return views;\n  }\n  /**\n    @private\n    @method getViewBounds\n    @param {Ember.View} view\n  */\n\n  function getViewBounds(view) {\n    return view.renderer.getBounds(view);\n  }\n  /**\n    @private\n    @method getViewRange\n    @param {Ember.View} view\n  */\n\n  function getViewRange(view) {\n    var bounds = getViewBounds(view);\n    var range = document.createRange();\n    range.setStartBefore(bounds.firstNode);\n    range.setEndAfter(bounds.lastNode);\n    return range;\n  }\n  /**\n    `getViewClientRects` provides information about the position of the border\n    box edges of a view relative to the viewport.\n  \n    It is only intended to be used by development tools like the Ember Inspector\n    and may not work on older browsers.\n  \n    @private\n    @method getViewClientRects\n    @param {Ember.View} view\n  */\n\n  function getViewClientRects(view) {\n    var range = getViewRange(view);\n    return range.getClientRects();\n  }\n  /**\n    `getViewBoundingClientRect` provides information about the position of the\n    bounding border box edges of a view relative to the viewport.\n  \n    It is only intended to be used by development tools like the Ember Inspector\n    and may not work on older browsers.\n  \n    @private\n    @method getViewBoundingClientRect\n    @param {Ember.View} view\n  */\n\n  function getViewBoundingClientRect(view) {\n    var range = getViewRange(view);\n    return range.getBoundingClientRect();\n  }\n  /**\n    Determines if the element matches the specified selector.\n  \n    @private\n    @method matches\n    @param {DOMElement} el\n    @param {String} selector\n  */\n\n  var elMatches = _exports.elMatches = typeof Element !== 'undefined' ? Element.prototype.matches || Element.prototype['matchesSelector'] || Element.prototype['mozMatchesSelector'] || Element.prototype['msMatchesSelector'] || Element.prototype['oMatchesSelector'] || Element.prototype['webkitMatchesSelector'] : undefined;\n  function matches(el, selector) {\n    (true && !(elMatches !== undefined) && (0, _debug.assert)('cannot call `matches` in fastboot mode', elMatches !== undefined));\n    return elMatches.call(el, selector);\n  }\n  function contains(a, b) {\n    if (a.contains !== undefined) {\n      return a.contains(b);\n    }\n    var current = b.parentNode;\n    while (current && (current = current.parentNode)) {\n      if (current === a) {\n        return true;\n      }\n    }\n    return false;\n  }\n});","define(\"@ember/-internals/views/lib/views/core_view\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/runtime\", \"@ember/-internals/views/lib/views/states\"], function (_exports, _metal, _runtime, _states) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n    `Ember.CoreView` is an abstract class that exists to give view-like behavior\n    to both Ember's main view class `Component` and other classes that don't need\n    the full functionality of `Component`.\n  \n    Unless you have specific needs for `CoreView`, you will use `Component`\n    in your applications.\n  \n    @class CoreView\n    @namespace Ember\n    @extends EmberObject\n    @deprecated Use `Component` instead.\n    @uses Evented\n    @uses Ember.ActionHandler\n    @private\n  */\n\n  var CoreView = _runtime.FrameworkObject.extend(_runtime.Evented, _runtime.ActionHandler, {\n    isView: true,\n    _states: _states.default,\n    init() {\n      this._super(...arguments);\n      this._state = 'preRender';\n      this._currentState = this._states.preRender;\n    },\n    renderer: (0, _metal.inject)('renderer', '-dom'),\n    /**\n      If the view is currently inserted into the DOM of a parent view, this\n      property will point to the parent of the view.\n       @property parentView\n      @type Ember.View\n      @default null\n      @private\n    */\n    parentView: null,\n    instrumentDetails(hash) {\n      hash.object = this.toString();\n      hash.containerKey = this._debugContainerKey;\n      hash.view = this;\n      return hash;\n    },\n    /**\n      Override the default event firing from `Evented` to\n      also call methods with the given name.\n       @method trigger\n      @param name {String}\n      @private\n    */\n    trigger(name, ...args) {\n      this._super(...arguments);\n      var method = this[name];\n      if (typeof method === 'function') {\n        return method.apply(this, args);\n      }\n    },\n    has(name) {\n      return typeof this[name] === 'function' || this._super(name);\n    }\n  });\n  CoreView.reopenClass({\n    isViewFactory: true\n  });\n  var _default = _exports.default = CoreView;\n});","define(\"@ember/-internals/views/lib/views/states\", [\"exports\", \"@ember/-internals/views/lib/views/states/pre_render\", \"@ember/-internals/views/lib/views/states/has_element\", \"@ember/-internals/views/lib/views/states/in_dom\", \"@ember/-internals/views/lib/views/states/destroying\"], function (_exports, _pre_render, _has_element, _in_dom, _destroying) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /*\n    Describe how the specified actions should behave in the various\n    states that a view can exist in. Possible states:\n  \n    * preRender: when a view is first instantiated, and after its\n      element was destroyed, it is in the preRender state\n    * hasElement: the DOM representation of the view is created,\n      and is ready to be inserted\n    * inDOM: once a view has been inserted into the DOM it is in\n      the inDOM state. A view spends the vast majority of its\n      existence in this state.\n    * destroyed: once a view has been destroyed (using the destroy\n      method), it is in this state. No further actions can be invoked\n      on a destroyed view.\n  */\n\n  var states = Object.freeze({\n    preRender: _pre_render.default,\n    inDOM: _in_dom.default,\n    hasElement: _has_element.default,\n    destroying: _destroying.default\n  });\n  var _default = _exports.default = states;\n});","define(\"@ember/-internals/views/lib/views/states/default\", [\"exports\", \"@ember/error\"], function (_exports, _error) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = {\n    // appendChild is only legal while rendering the buffer.\n    appendChild() {\n      throw new _error.default(\"You can't use appendChild outside of the rendering process\");\n    },\n    // Handle events from `Ember.EventDispatcher`\n    handleEvent() {\n      return true; // continue event propagation\n    },\n    rerender() {},\n    destroy() {}\n  };\n  var _default2 = _exports.default = Object.freeze(_default);\n});","define(\"@ember/-internals/views/lib/views/states/destroying\", [\"exports\", \"@ember/polyfills\", \"@ember/error\", \"@ember/-internals/views/lib/views/states/default\"], function (_exports, _polyfills, _error, _default3) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var destroying = (0, _polyfills.assign)({}, _default3.default, {\n    appendChild() {\n      throw new _error.default(\"You can't call appendChild on a view being destroyed\");\n    },\n    rerender() {\n      throw new _error.default(\"You can't call rerender on a view being destroyed\");\n    }\n  });\n  var _default2 = _exports.default = Object.freeze(destroying);\n});","define(\"@ember/-internals/views/lib/views/states/has_element\", [\"exports\", \"@ember/polyfills\", \"@ember/-internals/views/lib/views/states/default\", \"@ember/runloop\", \"@ember/instrumentation\"], function (_exports, _polyfills, _default3, _runloop, _instrumentation) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var hasElement = (0, _polyfills.assign)({}, _default3.default, {\n    rerender(view) {\n      view.renderer.rerender(view);\n    },\n    destroy(view) {\n      view.renderer.remove(view);\n    },\n    // Handle events from `Ember.EventDispatcher`\n    handleEvent(view, eventName, event) {\n      if (view.has(eventName)) {\n        // Handler should be able to re-dispatch events, so we don't\n        // preventDefault or stopPropagation.\n        return (0, _instrumentation.flaggedInstrument)(`interaction.${eventName}`, {\n          event,\n          view\n        }, () => {\n          return (0, _runloop.join)(view, view.trigger, eventName, event);\n        });\n      } else {\n        return true; // continue event propagation\n      }\n    }\n  });\n  var _default2 = _exports.default = Object.freeze(hasElement);\n});","define(\"@ember/-internals/views/lib/views/states/in_dom\", [\"exports\", \"@ember/-internals/utils\", \"@ember/polyfills\", \"@ember/error\", \"@ember/-internals/views/lib/views/states/has_element\"], function (_exports, _utils, _polyfills, _error, _has_element) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var inDOM = (0, _polyfills.assign)({}, _has_element.default, {\n    enter(view) {\n      // Register the view for event handling. This hash is used by\n      // Ember.EventDispatcher to dispatch incoming events.\n      view.renderer.register(view);\n      if (true /* DEBUG */) {\n        var elementId = view.elementId;\n        (0, _utils.teardownMandatorySetter)(view, 'elementId');\n        Object.defineProperty(view, 'elementId', {\n          configurable: true,\n          enumerable: true,\n          get() {\n            return elementId;\n          },\n          set(value) {\n            if (value !== elementId) {\n              throw new _error.default(\"Changing a view's elementId after creation is not allowed\");\n            }\n          }\n        });\n      }\n    }\n  });\n  var _default = _exports.default = Object.freeze(inDOM);\n});","define(\"@ember/-internals/views/lib/views/states/pre_render\", [\"exports\", \"@ember/-internals/views/lib/views/states/default\", \"@ember/polyfills\"], function (_exports, _default3, _polyfills) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var preRender = (0, _polyfills.assign)({}, _default3.default);\n  var _default2 = _exports.default = Object.freeze(preRender);\n});","define(\"@ember/application/deprecations\", [\"exports\", \"@ember/debug\"], function (_exports, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.deprecate = deprecate;\n  _exports.deprecateFunc = deprecateFunc;\n  function deprecate(message, condition, options) {\n    (true && !(false) && (0, _debug.deprecate)(\"`import { deprecate } from '@ember/application/deprecations';` has been deprecated, please update to `import { deprecate } from '@ember/debug';`\", false, {\n      id: 'old-deprecate-method-paths',\n      until: '4.0.0',\n      for: 'ember-source',\n      since: {\n        enabled: '3.0.0'\n      }\n    }));\n    (true && !(condition) && (0, _debug.deprecate)(message, condition, options));\n  }\n  function deprecateFunc(message, options, func) {\n    (true && !(false) && (0, _debug.deprecate)(\"`import { deprecateFunc } from '@ember/application/deprecations';` has been deprecated, please update to `import { deprecateFunc } from '@ember/debug';`\", false, {\n      id: 'old-deprecate-method-paths',\n      until: '4.0.0',\n      for: 'ember-source',\n      since: {\n        enabled: '3.0.0'\n      }\n    }));\n    (0, _debug.deprecateFunc)(message, options, func);\n  }\n});","define(\"@ember/application/globals-resolver\", [\"exports\", \"@ember/-internals/utils\", \"@ember/-internals/metal\", \"@ember/debug\", \"@ember/string\", \"@ember/-internals/runtime\", \"@ember/-internals/glimmer\", \"@ember/deprecated-features\"], function (_exports, _utils, _metal, _debug, _string, _runtime, _glimmer, _deprecatedFeatures) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module @ember/application\n  */\n\n  /**\n    The DefaultResolver defines the default lookup rules to resolve\n    container lookups before consulting the container for registered\n    items:\n  \n    * templates are looked up on `Ember.TEMPLATES`\n    * other names are looked up on the application after converting\n      the name. For example, `controller:post` looks up\n      `App.PostController` by default.\n    * there are some nuances (see examples below)\n  \n    ### How Resolving Works\n  \n    The container calls this object's `resolve` method with the\n    `fullName` argument.\n  \n    It first parses the fullName into an object using `parseName`.\n  \n    Then it checks for the presence of a type-specific instance\n    method of the form `resolve[Type]` and calls it if it exists.\n    For example if it was resolving 'template:post', it would call\n    the `resolveTemplate` method.\n  \n    Its last resort is to call the `resolveOther` method.\n  \n    The methods of this object are designed to be easy to override\n    in a subclass. For example, you could enhance how a template\n    is resolved like so:\n  \n    ```app/app.js\n    import Application from '@ember/application';\n    import GlobalsResolver from '@ember/application/globals-resolver';\n  \n    App = Application.create({\n      Resolver: GlobalsResolver.extend({\n        resolveTemplate(parsedName) {\n          let resolvedTemplate = this._super(parsedName);\n          if (resolvedTemplate) { return resolvedTemplate; }\n  \n          return Ember.TEMPLATES['not_found'];\n        }\n      })\n    });\n    ```\n  \n    Some examples of how names are resolved:\n  \n    ```text\n    'template:post'           //=> Ember.TEMPLATES['post']\n    'template:posts/byline'   //=> Ember.TEMPLATES['posts/byline']\n    'template:posts.byline'   //=> Ember.TEMPLATES['posts/byline']\n    'template:blogPost'       //=> Ember.TEMPLATES['blog-post']\n    'controller:post'         //=> App.PostController\n    'controller:posts.index'  //=> App.PostsIndexController\n    'controller:blog/post'    //=> Blog.PostController\n    'controller:basic'        //=> Controller\n    'route:post'              //=> App.PostRoute\n    'route:posts.index'       //=> App.PostsIndexRoute\n    'route:blog/post'         //=> Blog.PostRoute\n    'route:basic'             //=> Route\n    'foo:post'                //=> App.PostFoo\n    'model:post'              //=> App.Post\n    ```\n  \n    @class GlobalsResolver\n    @extends EmberObject\n    @public\n    @deprecated\n  */\n\n  var DefaultResolver;\n  if (_deprecatedFeatures.GLOBALS_RESOLVER) {\n    DefaultResolver = class DefaultResolver extends _runtime.Object {\n      static create(props) {\n        // DO NOT REMOVE even though this doesn't do anything\n        // This is required for a FireFox 60+ JIT bug with our tests.\n        // without it, create(props) in our tests would lose props on a deopt.\n        return super.create(props);\n      }\n      /**\n        This will be set to the Application instance when it is\n        created.\n         @property namespace\n        @public\n        @deprecated\n      */\n\n      init() {\n        (true && !(false) && (0, _debug.deprecate)('Using the globals resolver is deprecated. Use the ember-resolver package instead. See https://deprecations.emberjs.com/v3.x#toc_ember-deprecate-globals-resolver', false, {\n          until: '4.0.0',\n          id: 'globals-resolver',\n          url: 'https://deprecations.emberjs.com/v3.x#toc_ember-deprecate-globals-resolver',\n          for: 'ember-source',\n          since: {\n            enabled: '3.16.0'\n          }\n        }));\n        this._parseNameCache = (0, _utils.dictionary)(null);\n      }\n      normalize(fullName) {\n        var [type, name] = fullName.split(':');\n        (true && !(fullName.split(':').length === 2) && (0, _debug.assert)('Tried to normalize a container name without a colon (:) in it. ' + 'You probably tried to lookup a name that did not contain a type, ' + 'a colon, and a name. A proper lookup name would be `view:post`.', fullName.split(':').length === 2));\n        if (type !== 'template') {\n          var result = name.replace(/(\\.|_|-)./g, m => m.charAt(1).toUpperCase());\n          return `${type}:${result}`;\n        } else {\n          return fullName;\n        }\n      }\n      /**\n        This method is called via the container's resolver method.\n        It parses the provided `fullName` and then looks up and\n        returns the appropriate template or class.\n         @method resolve\n        @param {String} fullName the lookup string\n        @return {Object} the resolved factory\n        @public\n      */\n\n      resolve(fullName) {\n        var parsedName = this.parseName(fullName);\n        var resolveMethodName = parsedName.resolveMethodName;\n        var resolved;\n        if (this[resolveMethodName]) {\n          resolved = this[resolveMethodName](parsedName);\n        }\n        resolved = resolved || this.resolveOther(parsedName);\n        if (true /* DEBUG */) {\n          if (parsedName.root && parsedName.root.LOG_RESOLVER) {\n            this._logLookup(resolved, parsedName);\n          }\n          if (resolved) {\n            var VALIDATED_TYPES = {\n              route: ['isRouteFactory', 'Ember.Route'],\n              component: ['isComponentFactory', 'Ember.Component'],\n              view: ['isViewFactory', 'Ember.View'],\n              service: ['isServiceFactory', 'Ember.Service']\n            };\n            var validationAttributes = VALIDATED_TYPES[parsedName.type];\n            if (validationAttributes) {\n              var [factoryFlag, expectedType] = validationAttributes;\n              (0, _metal.processAllNamespaces)();\n              (true && !(Boolean(resolved[factoryFlag])) && (0, _debug.assert)(`Expected ${parsedName.fullName} to resolve to an ${expectedType} but ` + `instead it was ${(0, _utils.getName)(resolved)}.`, Boolean(resolved[factoryFlag])));\n            }\n          }\n        }\n        return resolved;\n      }\n      /**\n        Convert the string name of the form 'type:name' to\n        a Javascript object with the parsed aspects of the name\n        broken out.\n         @param {String} fullName the lookup string\n        @method parseName\n        @protected\n      */\n\n      parseName(fullName) {\n        return this._parseNameCache[fullName] || (this._parseNameCache[fullName] = this._parseName(fullName));\n      }\n      _parseName(fullName) {\n        var [type, fullNameWithoutType] = fullName.split(':');\n        var name = fullNameWithoutType;\n        var namespace = (0, _metal.get)(this, 'namespace');\n        var root = namespace;\n        var lastSlashIndex = name.lastIndexOf('/');\n        var dirname = lastSlashIndex !== -1 ? name.slice(0, lastSlashIndex) : null;\n        if (type !== 'template' && lastSlashIndex !== -1) {\n          var parts = name.split('/');\n          name = parts[parts.length - 1];\n          var namespaceName = (0, _string.capitalize)(parts.slice(0, -1).join('.'));\n          root = (0, _metal.findNamespace)(namespaceName);\n          (true && !(root) && (0, _debug.assert)(`You are looking for a ${name} ${type} in the ${namespaceName} namespace, but the namespace could not be found`, root));\n        }\n        var resolveMethodName = fullNameWithoutType === 'main' ? 'Main' : (0, _string.classify)(type);\n        if (!(name && type)) {\n          throw new TypeError(`Invalid fullName: \\`${fullName}\\`, must be of the form \\`type:name\\` `);\n        }\n        return {\n          fullName,\n          type,\n          fullNameWithoutType,\n          dirname,\n          name,\n          root,\n          resolveMethodName: `resolve${resolveMethodName}`\n        };\n      }\n      /**\n        Returns a human-readable description for a fullName. Used by the\n        Application namespace in assertions to describe the\n        precise name of the class that Ember is looking for, rather than\n        container keys.\n         @param {String} fullName the lookup string\n        @method lookupDescription\n        @protected\n      */\n\n      lookupDescription(fullName) {\n        var parsedName = this.parseName(fullName);\n        var description;\n        if (parsedName.type === 'template') {\n          return `template at ${parsedName.fullNameWithoutType.replace(/\\./g, '/')}`;\n        }\n        description = `${parsedName.root}.${(0, _string.classify)(parsedName.name).replace(/\\./g, '')}`;\n        if (parsedName.type !== 'model') {\n          description += (0, _string.classify)(parsedName.type);\n        }\n        return description;\n      }\n      makeToString(factory) {\n        return typeof factory === 'string' ? factory : factory.name ?? '(unknown class)';\n      }\n      /**\n        Given a parseName object (output from `parseName`), apply\n        the conventions expected by `Router`\n         @param {Object} parsedName a parseName object with the parsed\n          fullName lookup string\n        @method useRouterNaming\n        @protected\n      */\n\n      useRouterNaming(parsedName) {\n        if (parsedName.name === 'basic') {\n          parsedName.name = '';\n        } else {\n          parsedName.name = parsedName.name.replace(/\\./g, '_');\n        }\n      }\n      /**\n        Look up the template in Ember.TEMPLATES\n         @param {Object} parsedName a parseName object with the parsed\n          fullName lookup string\n        @method resolveTemplate\n        @protected\n      */\n\n      resolveTemplate(parsedName) {\n        var templateName = parsedName.fullNameWithoutType.replace(/\\./g, '/');\n        return (0, _glimmer.getTemplate)(templateName) || (0, _glimmer.getTemplate)((0, _string.decamelize)(templateName));\n      }\n      /**\n        Lookup the view using `resolveOther`\n         @param {Object} parsedName a parseName object with the parsed\n          fullName lookup string\n        @method resolveView\n        @protected\n      */\n\n      resolveView(parsedName) {\n        this.useRouterNaming(parsedName);\n        return this.resolveOther(parsedName);\n      }\n      /**\n        Lookup the controller using `resolveOther`\n         @param {Object} parsedName a parseName object with the parsed\n          fullName lookup string\n        @method resolveController\n        @protected\n      */\n\n      resolveController(parsedName) {\n        this.useRouterNaming(parsedName);\n        return this.resolveOther(parsedName);\n      }\n      /**\n        Lookup the route using `resolveOther`\n         @param {Object} parsedName a parseName object with the parsed\n          fullName lookup string\n        @method resolveRoute\n        @protected\n      */\n\n      resolveRoute(parsedName) {\n        this.useRouterNaming(parsedName);\n        return this.resolveOther(parsedName);\n      }\n      /**\n        Lookup the model on the Application namespace\n         @param {Object} parsedName a parseName object with the parsed\n          fullName lookup string\n        @method resolveModel\n        @protected\n      */\n\n      resolveModel(parsedName) {\n        var className = (0, _string.classify)(parsedName.name);\n        var factory = (0, _metal.get)(parsedName.root, className);\n        return factory;\n      }\n      /**\n        Look up the specified object (from parsedName) on the appropriate\n        namespace (usually on the Application)\n         @param {Object} parsedName a parseName object with the parsed\n          fullName lookup string\n        @method resolveHelper\n        @protected\n      */\n\n      resolveHelper(parsedName) {\n        return this.resolveOther(parsedName);\n      }\n      /**\n        Look up the specified object (from parsedName) on the appropriate\n        namespace (usually on the Application)\n         @param {Object} parsedName a parseName object with the parsed\n          fullName lookup string\n        @method resolveOther\n        @protected\n      */\n\n      resolveOther(parsedName) {\n        var className = (0, _string.classify)(parsedName.name) + (0, _string.classify)(parsedName.type);\n        var factory = (0, _metal.get)(parsedName.root, className);\n        return factory;\n      }\n      resolveMain(parsedName) {\n        var className = (0, _string.classify)(parsedName.type);\n        return (0, _metal.get)(parsedName.root, className);\n      }\n      /**\n        Used to iterate all items of a given type.\n         @method knownForType\n        @param {String} type the type to search for\n        @private\n      */\n\n      knownForType(type) {\n        var namespace = (0, _metal.get)(this, 'namespace');\n        var suffix = (0, _string.classify)(type);\n        var typeRegexp = new RegExp(`${suffix}$`);\n        var known = (0, _utils.dictionary)(null);\n        var knownKeys = Object.keys(namespace);\n        for (var index = 0; index < knownKeys.length; index++) {\n          var name = knownKeys[index];\n          if (typeRegexp.test(name)) {\n            var containerName = this.translateToContainerFullname(type, name);\n            known[containerName] = true;\n          }\n        }\n        return known;\n      }\n      /**\n        Converts provided name from the backing namespace into a container lookup name.\n         Examples:\n         * App.FooBarHelper -> helper:foo-bar\n        * App.THelper -> helper:t\n         @method translateToContainerFullname\n        @param {String} type\n        @param {String} name\n        @private\n      */\n\n      translateToContainerFullname(type, name) {\n        var suffix = (0, _string.classify)(type);\n        var namePrefix = name.slice(0, suffix.length * -1);\n        var dasherizedName = (0, _string.dasherize)(namePrefix);\n        return `${type}:${dasherizedName}`;\n      }\n    };\n    if (true /* DEBUG */) {\n      /**\n          @method _logLookup\n          @param {Boolean} found\n          @param {Object} parsedName\n          @private\n        */\n      DefaultResolver.prototype._logLookup = function (found, parsedName) {\n        var symbol = found ? '[✓]' : '[ ]';\n        var padding;\n        if (parsedName.fullName.length > 60) {\n          padding = '.';\n        } else {\n          padding = new Array(60 - parsedName.fullName.length).join('.');\n        }\n        (0, _debug.info)(symbol, parsedName.fullName, padding, this.lookupDescription(parsedName.fullName));\n      };\n    }\n  }\n  var _default = _exports.default = DefaultResolver;\n});","define(\"@ember/application/index\", [\"exports\", \"@ember/-internals/owner\", \"@ember/application/lib/lazy_load\", \"@ember/application/lib/application\"], function (_exports, _owner, _lazy_load, _application) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"_loaded\", {\n    enumerable: true,\n    get: function () {\n      return _lazy_load._loaded;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _application.default;\n    }\n  });\n  Object.defineProperty(_exports, \"getOwner\", {\n    enumerable: true,\n    get: function () {\n      return _owner.getOwner;\n    }\n  });\n  Object.defineProperty(_exports, \"onLoad\", {\n    enumerable: true,\n    get: function () {\n      return _lazy_load.onLoad;\n    }\n  });\n  Object.defineProperty(_exports, \"runLoadHooks\", {\n    enumerable: true,\n    get: function () {\n      return _lazy_load.runLoadHooks;\n    }\n  });\n  Object.defineProperty(_exports, \"setOwner\", {\n    enumerable: true,\n    get: function () {\n      return _owner.setOwner;\n    }\n  });\n});","define(\"@ember/application/instance\", [\"exports\", \"@ember/polyfills\", \"@ember/-internals/metal\", \"@ember/-internals/browser-environment\", \"@ember/-internals/views\", \"@ember/engine/instance\", \"@ember/-internals/glimmer\"], function (_exports, _polyfills, _metal, environment, _views, _instance, _glimmer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module @ember/application\n  */\n\n  /**\n    The `ApplicationInstance` encapsulates all of the stateful aspects of a\n    running `Application`.\n  \n    At a high-level, we break application boot into two distinct phases:\n  \n    * Definition time, where all of the classes, templates, and other\n      dependencies are loaded (typically in the browser).\n    * Run time, where we begin executing the application once everything\n      has loaded.\n  \n    Definition time can be expensive and only needs to happen once since it is\n    an idempotent operation. For example, between test runs and FastBoot\n    requests, the application stays the same. It is only the state that we want\n    to reset.\n  \n    That state is what the `ApplicationInstance` manages: it is responsible for\n    creating the container that contains all application state, and disposing of\n    it once the particular test run or FastBoot request has finished.\n  \n    @public\n    @class ApplicationInstance\n    @extends EngineInstance\n  */\n\n  var ApplicationInstance = _instance.default.extend({\n    /**\n      The `Application` for which this is an instance.\n       @property {Application} application\n      @private\n    */\n    application: null,\n    /**\n      The DOM events for which the event dispatcher should listen.\n       By default, the application's `Ember.EventDispatcher` listens\n      for a set of standard DOM events, such as `mousedown` and\n      `keyup`, and delegates them to your application's `Ember.View`\n      instances.\n       @private\n      @property {Object} customEvents\n    */\n    customEvents: null,\n    /**\n      The root DOM element of the Application as an element or a\n      [jQuery-compatible selector\n      string](http://api.jquery.com/category/selectors/).\n       @private\n      @property {String|DOMElement} rootElement\n    */\n    rootElement: null,\n    init() {\n      this._super(...arguments);\n      this.application._watchInstance(this); // Register this instance in the per-instance registry.\n      //\n      // Why do we need to register the instance in the first place?\n      // Because we need a good way for the root route (a.k.a ApplicationRoute)\n      // to notify us when it has created the root-most view. That view is then\n      // appended to the rootElement, in the case of apps, to the fixture harness\n      // in tests, or rendered to a string in the case of FastBoot.\n\n      this.register('-application-instance:main', this, {\n        instantiate: false\n      });\n    },\n    /**\n      Overrides the base `EngineInstance._bootSync` method with concerns relevant\n      to booting application (instead of engine) instances.\n       This method should only contain synchronous boot concerns. Asynchronous\n      boot concerns should eventually be moved to the `boot` method, which\n      returns a promise.\n       Until all boot code has been made asynchronous, we need to continue to\n      expose this method for use *internally* in places where we need to boot an\n      instance synchronously.\n       @private\n    */\n    _bootSync(options) {\n      if (this._booted) {\n        return this;\n      }\n      options = new BootOptions(options);\n      this.setupRegistry(options);\n      if (options.rootElement) {\n        this.rootElement = options.rootElement;\n      } else {\n        this.rootElement = this.application.rootElement;\n      }\n      if (options.location) {\n        (0, _metal.set)(this.router, 'location', options.location);\n      }\n      this.application.runInstanceInitializers(this);\n      if (options.isInteractive) {\n        this.setupEventDispatcher();\n      }\n      this._booted = true;\n      return this;\n    },\n    setupRegistry(options) {\n      this.constructor.setupRegistry(this.__registry__, options);\n    },\n    router: (0, _metal.computed)(function () {\n      return this.lookup('router:main');\n    }).readOnly(),\n    /**\n      This hook is called by the root-most Route (a.k.a. the ApplicationRoute)\n      when it has finished creating the root View. By default, we simply take the\n      view and append it to the `rootElement` specified on the Application.\n       In cases like FastBoot and testing, we can override this hook and implement\n      custom behavior, such as serializing to a string and sending over an HTTP\n      socket rather than appending to DOM.\n       @param view {Ember.View} the root-most view\n      @deprecated\n      @private\n    */\n    didCreateRootView(view) {\n      view.appendTo(this.rootElement);\n    },\n    /**\n      Tells the router to start routing. The router will ask the location for the\n      current URL of the page to determine the initial URL to start routing to.\n      To start the app at a specific URL, call `handleURL` instead.\n       @private\n    */\n    startRouting() {\n      this.router.startRouting();\n    },\n    /**\n      Sets up the router, initializing the child router and configuring the\n      location before routing begins.\n       Because setup should only occur once, multiple calls to `setupRouter`\n      beyond the first call have no effect.\n       This is commonly used in order to confirm things that rely on the router\n      are functioning properly from tests that are primarily rendering related.\n       For example, from within [ember-qunit](https://github.com/emberjs/ember-qunit)'s\n      `setupRenderingTest` calling `this.owner.setupRouter()` would allow that\n      rendering test to confirm that any `<LinkTo></LinkTo>`'s that are rendered\n      have the correct URL.\n       @public\n    */\n    setupRouter() {\n      this.router.setupRouter();\n    },\n    /**\n      Directs the router to route to a particular URL. This is useful in tests,\n      for example, to tell the app to start at a particular URL.\n       @param url {String} the URL the router should route to\n      @private\n    */\n    handleURL(url) {\n      this.setupRouter();\n      return this.router.handleURL(url);\n    },\n    /**\n      @private\n    */\n    setupEventDispatcher() {\n      var dispatcher = this.lookup('event_dispatcher:main');\n      var applicationCustomEvents = (0, _metal.get)(this.application, 'customEvents');\n      var instanceCustomEvents = (0, _metal.get)(this, 'customEvents');\n      var customEvents = (0, _polyfills.assign)({}, applicationCustomEvents, instanceCustomEvents);\n      dispatcher.setup(customEvents, this.rootElement);\n      return dispatcher;\n    },\n    /**\n      Returns the current URL of the app instance. This is useful when your\n      app does not update the browsers URL bar (i.e. it uses the `'none'`\n      location adapter).\n       @public\n      @return {String} the current URL\n    */\n    getURL() {\n      return this.router.url;\n    },\n    // `instance.visit(url)` should eventually replace `instance.handleURL()`;\n    // the test helpers can probably be switched to use this implementation too\n\n    /**\n      Navigate the instance to a particular URL. This is useful in tests, for\n      example, or to tell the app to start at a particular URL. This method\n      returns a promise that resolves with the app instance when the transition\n      is complete, or rejects if the transion was aborted due to an error.\n       @public\n      @param url {String} the destination URL\n      @return {Promise<ApplicationInstance>}\n    */\n    visit(url) {\n      this.setupRouter();\n      var bootOptions = this.__container__.lookup('-environment:main');\n      var router = this.router;\n      var handleTransitionResolve = () => {\n        if (!bootOptions.options.shouldRender) {\n          // No rendering is needed, and routing has completed, simply return.\n          return this;\n        } else {\n          // Ensure that the visit promise resolves when all rendering has completed\n          return (0, _glimmer.renderSettled)().then(() => this);\n        }\n      };\n      var handleTransitionReject = error => {\n        if (error.error) {\n          throw error.error;\n        } else if (error.name === 'TransitionAborted' && router._routerMicrolib.activeTransition) {\n          return router._routerMicrolib.activeTransition.then(handleTransitionResolve, handleTransitionReject);\n        } else if (error.name === 'TransitionAborted') {\n          throw new Error(error.message);\n        } else {\n          throw error;\n        }\n      };\n      var location = (0, _metal.get)(router, 'location'); // Keeps the location adapter's internal URL in-sync\n\n      location.setURL(url); // getURL returns the set url with the rootURL stripped off\n\n      return router.handleURL(location.getURL()).then(handleTransitionResolve, handleTransitionReject);\n    },\n    willDestroy() {\n      this._super(...arguments);\n      this.application._unwatchInstance(this);\n    }\n  });\n  ApplicationInstance.reopenClass({\n    /**\n     @private\n     @method setupRegistry\n     @param {Registry} registry\n     @param {BootOptions} options\n    */\n    setupRegistry(registry, options = {}) {\n      if (!options.toEnvironment) {\n        options = new BootOptions(options);\n      }\n      registry.register('-environment:main', options.toEnvironment(), {\n        instantiate: false\n      });\n      registry.register('service:-document', options.document, {\n        instantiate: false\n      });\n      this._super(registry, options);\n    }\n  });\n  /**\n    A list of boot-time configuration options for customizing the behavior of\n    an `ApplicationInstance`.\n  \n    This is an interface class that exists purely to document the available\n    options; you do not need to construct it manually. Simply pass a regular\n    JavaScript object containing the desired options into methods that require\n    one of these options object:\n  \n    ```javascript\n    MyApp.visit(\"/\", { location: \"none\", rootElement: \"#container\" });\n    ```\n  \n    Not all combinations of the supported options are valid. See the documentation\n    on `Application#visit` for the supported configurations.\n  \n    Internal, experimental or otherwise unstable flags are marked as private.\n  \n    @class BootOptions\n    @namespace ApplicationInstance\n    @public\n  */\n\n  class BootOptions {\n    constructor(options = {}) {\n      /**\n        Provide a specific instance of jQuery. This is useful in conjunction with\n        the `document` option, as it allows you to use a copy of `jQuery` that is\n        appropriately bound to the foreign `document` (e.g. a jsdom).\n         This is highly experimental and support very incomplete at the moment.\n         @property jQuery\n        @type Object\n        @default auto-detected\n        @private\n      */\n      this.jQuery = _views.jQuery; // This default is overridable below\n\n      /**\n        Interactive mode: whether we need to set up event delegation and invoke\n        lifecycle callbacks on Components.\n         @property isInteractive\n        @type boolean\n        @default auto-detected\n        @private\n      */\n\n      this.isInteractive = environment.hasDOM; // This default is overridable below\n\n      /**\n        @property _renderMode\n        @type string\n        @default false\n        @private\n      */\n\n      this._renderMode = options._renderMode;\n      /**\n        Run in a full browser environment.\n         When this flag is set to `false`, it will disable most browser-specific\n        and interactive features. Specifically:\n         * It does not use `jQuery` to append the root view; the `rootElement`\n          (either specified as a subsequent option or on the application itself)\n          must already be an `Element` in the given `document` (as opposed to a\n          string selector).\n         * It does not set up an `EventDispatcher`.\n         * It does not run any `Component` lifecycle hooks (such as `didInsertElement`).\n         * It sets the `location` option to `\"none\"`. (If you would like to use\n          the location adapter specified in the app's router instead, you can also\n          specify `{ location: null }` to specifically opt-out.)\n         @property isBrowser\n        @type boolean\n        @default auto-detected\n        @public\n      */\n\n      if (options.isBrowser !== undefined) {\n        this.isBrowser = Boolean(options.isBrowser);\n      } else {\n        this.isBrowser = environment.hasDOM;\n      }\n      if (!this.isBrowser) {\n        this.jQuery = null;\n        this.isInteractive = false;\n        this.location = 'none';\n      }\n      /**\n        Disable rendering completely.\n         When this flag is set to `false`, it will disable the entire rendering\n        pipeline. Essentially, this puts the app into \"routing-only\" mode. No\n        templates will be rendered, and no Components will be created.\n         @property shouldRender\n        @type boolean\n        @default true\n        @public\n      */\n\n      if (options.shouldRender !== undefined) {\n        this.shouldRender = Boolean(options.shouldRender);\n      } else {\n        this.shouldRender = true;\n      }\n      if (!this.shouldRender) {\n        this.jQuery = null;\n        this.isInteractive = false;\n      }\n      /**\n        If present, render into the given `Document` object instead of the\n        global `window.document` object.\n         In practice, this is only useful in non-browser environment or in\n        non-interactive mode, because Ember's `jQuery` dependency is\n        implicitly bound to the current document, causing event delegation\n        to not work properly when the app is rendered into a foreign\n        document object (such as an iframe's `contentDocument`).\n         In non-browser mode, this could be a \"`Document`-like\" object as\n        Ember only interact with a small subset of the DOM API in non-\n        interactive mode. While the exact requirements have not yet been\n        formalized, the `SimpleDOM` library's implementation is known to\n        work.\n         @property document\n        @type Document\n        @default the global `document` object\n        @public\n      */\n\n      if (options.document) {\n        this.document = options.document;\n      } else {\n        this.document = typeof document !== 'undefined' ? document : null;\n      }\n      /**\n        If present, overrides the application's `rootElement` property on\n        the instance. This is useful for testing environment, where you\n        might want to append the root view to a fixture area.\n         In non-browser mode, because Ember does not have access to jQuery,\n        this options must be specified as a DOM `Element` object instead of\n        a selector string.\n         See the documentation on `Application`'s `rootElement` for\n        details.\n         @property rootElement\n        @type String|Element\n        @default null\n        @public\n       */\n\n      if (options.rootElement) {\n        this.rootElement = options.rootElement;\n      } // Set these options last to give the user a chance to override the\n      // defaults from the \"combo\" options like `isBrowser` (although in\n      // practice, the resulting combination is probably invalid)\n\n      /**\n        If present, overrides the router's `location` property with this\n        value. This is useful for environments where trying to modify the\n        URL would be inappropriate.\n         @property location\n        @type string\n        @default null\n        @public\n      */\n\n      if (options.location !== undefined) {\n        this.location = options.location;\n      }\n      if (options.jQuery !== undefined) {\n        this.jQuery = options.jQuery;\n      }\n      if (options.isInteractive !== undefined) {\n        this.isInteractive = Boolean(options.isInteractive);\n      }\n    }\n    toEnvironment() {\n      // Do we really want to assign all of this!?\n      var env = (0, _polyfills.assign)({}, environment); // For compatibility with existing code\n\n      env.hasDOM = this.isBrowser;\n      env.isInteractive = this.isInteractive;\n      env._renderMode = this._renderMode;\n      env.options = this;\n      return env;\n    }\n  }\n  var _default = _exports.default = ApplicationInstance;\n});","define(\"@ember/application/lib/application\", [\"exports\", \"@ember/-internals/utils\", \"@ember/-internals/environment\", \"@ember/-internals/browser-environment\", \"@ember/debug\", \"@ember/runloop\", \"@ember/-internals/metal\", \"@ember/application/lib/lazy_load\", \"@ember/-internals/runtime\", \"@ember/-internals/views\", \"@ember/-internals/routing\", \"@ember/application/instance\", \"@ember/engine\", \"@ember/-internals/container\", \"@ember/-internals/glimmer\", \"@ember/deprecated-features\"], function (_exports, _utils, _environment, _browserEnvironment, _debug, _runloop, _metal, _lazy_load, _runtime, _views, _routing, _instance, _engine, _container, _glimmer, _deprecatedFeatures) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module @ember/application\n  */\n\n  var librariesRegistered = false;\n  /**\n    An instance of `Application` is the starting point for every Ember\n    application. It instantiates, initializes and coordinates the\n    objects that make up your app.\n  \n    Each Ember app has one and only one `Application` object. Although\n    Ember CLI creates this object implicitly, the `Application` class\n    is defined in the `app/app.js`. You can define a `ready` method on the\n    `Application` class, which will be run by Ember when the application is\n    initialized.\n  \n    ```app/app.js\n    const App = Application.extend({\n      ready() {\n        // your code here\n      }\n    })\n    ```\n  \n    Because `Application` ultimately inherits from `Ember.Namespace`, any classes\n    you create will have useful string representations when calling `toString()`.\n    See the `Ember.Namespace` documentation for more information.\n  \n    While you can think of your `Application` as a container that holds the\n    other classes in your application, there are several other responsibilities\n    going on under-the-hood that you may want to understand. It is also important\n    to understand that an `Application` is different from an `ApplicationInstance`.\n    Refer to the Guides to understand the difference between these.\n  \n    ### Event Delegation\n  \n    Ember uses a technique called _event delegation_. This allows the framework\n    to set up a global, shared event listener instead of requiring each view to\n    do it manually. For example, instead of each view registering its own\n    `mousedown` listener on its associated element, Ember sets up a `mousedown`\n    listener on the `body`.\n  \n    If a `mousedown` event occurs, Ember will look at the target of the event and\n    start walking up the DOM node tree, finding corresponding views and invoking\n    their `mouseDown` method as it goes.\n  \n    `Application` has a number of default events that it listens for, as\n    well as a mapping from lowercase events to camel-cased view method names. For\n    example, the `keypress` event causes the `keyPress` method on the view to be\n    called, the `dblclick` event causes `doubleClick` to be called, and so on.\n  \n    If there is a bubbling browser event that Ember does not listen for by\n    default, you can specify custom events and their corresponding view method\n    names by setting the application's `customEvents` property:\n  \n    ```app/app.js\n    import Application from '@ember/application';\n  \n    let App = Application.extend({\n      customEvents: {\n        // add support for the paste event\n        paste: 'paste'\n      }\n    });\n    ```\n  \n    To prevent Ember from setting up a listener for a default event,\n    specify the event name with a `null` value in the `customEvents`\n    property:\n  \n    ```app/app.js\n    import Application from '@ember/application';\n  \n    let App = Application.extend({\n      customEvents: {\n        // prevent listeners for mouseenter/mouseleave events\n        mouseenter: null,\n        mouseleave: null\n      }\n    });\n    ```\n  \n    By default, the application sets up these event listeners on the document\n    body. However, in cases where you are embedding an Ember application inside\n    an existing page, you may want it to set up the listeners on an element\n    inside the body.\n  \n    For example, if only events inside a DOM element with the ID of `ember-app`\n    should be delegated, set your application's `rootElement` property:\n  \n    ```app/app.js\n    import Application from '@ember/application';\n  \n    let App = Application.extend({\n      rootElement: '#ember-app'\n    });\n    ```\n  \n    The `rootElement` can be either a DOM element or a jQuery-compatible selector\n    string. Note that *views appended to the DOM outside the root element will\n    not receive events.* If you specify a custom root element, make sure you only\n    append views inside it!\n  \n    To learn more about the events Ember components use, see\n  \n    [components/handling-events](https://guides.emberjs.com/release/components/handling-events/#toc_event-names).\n  \n    ### Initializers\n  \n    To add behavior to the Application's boot process, you can define initializers in\n    the `app/initializers` directory, or with `ember generate initializer` using Ember CLI.\n    These files should export a named `initialize` function which will receive the created `application`\n    object as its first argument.\n  \n    ```javascript\n    export function initialize(application) {\n      // application.inject('route', 'foo', 'service:foo');\n    }\n    ```\n  \n    Application initializers can be used for a variety of reasons including:\n  \n    - setting up external libraries\n    - injecting dependencies\n    - setting up event listeners in embedded apps\n    - deferring the boot process using the `deferReadiness` and `advanceReadiness` APIs.\n  \n    ### Routing\n  \n    In addition to creating your application's router, `Application` is\n    also responsible for telling the router when to start routing. Transitions\n    between routes can be logged with the `LOG_TRANSITIONS` flag, and more\n    detailed intra-transition logging can be logged with\n    the `LOG_TRANSITIONS_INTERNAL` flag:\n  \n    ```javascript\n    import Application from '@ember/application';\n  \n    let App = Application.create({\n      LOG_TRANSITIONS: true, // basic logging of successful transitions\n      LOG_TRANSITIONS_INTERNAL: true // detailed logging of all routing steps\n    });\n    ```\n  \n    By default, the router will begin trying to translate the current URL into\n    application state once the browser emits the `DOMContentReady` event. If you\n    need to defer routing, you can call the application's `deferReadiness()`\n    method. Once routing can begin, call the `advanceReadiness()` method.\n  \n    If there is any setup required before routing begins, you can implement a\n    `ready()` method on your app that will be invoked immediately before routing\n    begins.\n  \n    @class Application\n    @extends Engine\n    @uses RegistryProxyMixin\n    @public\n  */\n\n  var Application = _engine.default.extend({\n    /**\n      The root DOM element of the Application. This can be specified as an\n      element or a\n      [jQuery-compatible selector string](http://api.jquery.com/category/selectors/).\n       This is the element that will be passed to the Application's,\n      `eventDispatcher`, which sets up the listeners for event delegation. Every\n      view in your application should be a child of the element you specify here.\n       @property rootElement\n      @type DOMElement\n      @default 'body'\n      @public\n    */\n    rootElement: 'body',\n    /**\n       @property _document\n      @type Document | null\n      @default 'window.document'\n      @private\n    */\n    _document: _browserEnvironment.hasDOM ? window.document : null,\n    /**\n      The `Ember.EventDispatcher` responsible for delegating events to this\n      application's views.\n       The event dispatcher is created by the application at initialization time\n      and sets up event listeners on the DOM element described by the\n      application's `rootElement` property.\n       See the documentation for `Ember.EventDispatcher` for more information.\n       @property eventDispatcher\n      @type Ember.EventDispatcher\n      @default null\n      @public\n    */\n    eventDispatcher: null,\n    /**\n      The DOM events for which the event dispatcher should listen.\n       By default, the application's `Ember.EventDispatcher` listens\n      for a set of standard DOM events, such as `mousedown` and\n      `keyup`, and delegates them to your application's `Ember.View`\n      instances.\n       If you would like additional bubbling events to be delegated to your\n      views, set your `Application`'s `customEvents` property\n      to a hash containing the DOM event name as the key and the\n      corresponding view method name as the value. Setting an event to\n      a value of `null` will prevent a default event listener from being\n      added for that event.\n       To add new events to be listened to:\n       ```app/app.js\n      import Application from '@ember/application';\n       let App = Application.extend({\n        customEvents: {\n          // add support for the paste event\n          paste: 'paste'\n        }\n      });\n      ```\n       To prevent default events from being listened to:\n       ```app/app.js\n      import Application from '@ember/application';\n       let App = Application.extend({\n        customEvents: {\n          // remove support for mouseenter / mouseleave events\n          mouseenter: null,\n          mouseleave: null\n        }\n      });\n      ```\n      @property customEvents\n      @type Object\n      @default null\n      @public\n    */\n    customEvents: null,\n    /**\n      Whether the application should automatically start routing and render\n      templates to the `rootElement` on DOM ready. While default by true,\n      other environments such as FastBoot or a testing harness can set this\n      property to `false` and control the precise timing and behavior of the boot\n      process.\n       @property autoboot\n      @type Boolean\n      @default true\n      @private\n    */\n    autoboot: true,\n    /**\n      Whether the application should be configured for the legacy \"globals mode\".\n      Under this mode, the Application object serves as a global namespace for all\n      classes.\n       ```javascript\n      import Application from '@ember/application';\n      import Component from '@ember/component';\n       let App = Application.create({\n        ...\n      });\n       App.Router.reopen({\n        location: 'none'\n      });\n       App.Router.map({\n        ...\n      });\n       App.MyComponent = Component.extend({\n        ...\n      });\n      ```\n       This flag also exposes other internal APIs that assumes the existence of\n      a special \"default instance\", like `App.__container__.lookup(...)`.\n       This option is currently not configurable, its value is derived from\n      the `autoboot` flag – disabling `autoboot` also implies opting-out of\n      globals mode support, although they are ultimately orthogonal concerns.\n       Some of the global modes features are already deprecated in 1.x. The\n      existence of this flag is to untangle the globals mode code paths from\n      the autoboot code paths, so that these legacy features can be reviewed\n      for deprecation/removal separately.\n       Forcing the (autoboot=true, _globalsMode=false) here and running the tests\n      would reveal all the places where we are still relying on these legacy\n      behavior internally (mostly just tests).\n       @property _globalsMode\n      @type Boolean\n      @default true\n      @private\n    */\n    _globalsMode: true,\n    /**\n      An array of application instances created by `buildInstance()`. Used\n      internally to ensure that all instances get destroyed.\n       @property _applicationInstances\n      @type Array\n      @default null\n      @private\n    */\n    _applicationInstances: null,\n    init() {\n      // eslint-disable-line no-unused-vars\n      this._super(...arguments);\n      if (!this.$) {\n        this.$ = _views.jQuery;\n      }\n      registerLibraries();\n      if (true /* DEBUG */) {\n        if (_environment.ENV.LOG_VERSION) {\n          // we only need to see this once per Application#init\n          _environment.ENV.LOG_VERSION = false;\n          _metal.libraries.logVersions();\n        }\n      } // Start off the number of deferrals at 1. This will be decremented by\n      // the Application's own `boot` method.\n\n      this._readinessDeferrals = 1;\n      this._booted = false;\n      this._applicationInstances = new Set();\n      this.autoboot = this._globalsMode = Boolean(this.autoboot);\n      if (this._globalsMode) {\n        this._prepareForGlobalsMode();\n      }\n      if (this.autoboot) {\n        this.waitForDOMReady();\n      }\n    },\n    /**\n      Create an ApplicationInstance for this application.\n       @public\n      @method buildInstance\n      @return {ApplicationInstance} the application instance\n    */\n    buildInstance(options = {}) {\n      (true && !(!this.isDestroyed) && (0, _debug.assert)('You cannot build new instances of this application since it has already been destroyed', !this.isDestroyed));\n      (true && !(!this.isDestroying) && (0, _debug.assert)('You cannot build new instances of this application since it is being destroyed', !this.isDestroying));\n      options.base = this;\n      options.application = this;\n      return _instance.default.create(options);\n    },\n    /**\n      Start tracking an ApplicationInstance for this application.\n      Used when the ApplicationInstance is created.\n       @private\n      @method _watchInstance\n    */\n    _watchInstance(instance) {\n      this._applicationInstances.add(instance);\n    },\n    /**\n      Stop tracking an ApplicationInstance for this application.\n      Used when the ApplicationInstance is about to be destroyed.\n       @private\n      @method _unwatchInstance\n    */\n    _unwatchInstance(instance) {\n      return this._applicationInstances.delete(instance);\n    },\n    /**\n      Enable the legacy globals mode by allowing this application to act\n      as a global namespace. See the docs on the `_globalsMode` property\n      for details.\n       Most of these features are already deprecated in 1.x, so we can\n      stop using them internally and try to remove them.\n       @private\n      @method _prepareForGlobalsMode\n    */\n    _prepareForGlobalsMode() {\n      // Create subclass of Router for this Application instance.\n      // This is to ensure that someone reopening `App.Router` does not\n      // tamper with the default `Router`.\n      this.Router = (this.Router || _routing.Router).extend();\n      this._buildDeprecatedInstance();\n    },\n    /*\n      Build the deprecated instance for legacy globals mode support.\n      Called when creating and resetting the application.\n       This is orthogonal to autoboot: the deprecated instance needs to\n      be created at Application construction (not boot) time to expose\n      App.__container__. If autoboot sees that this instance exists,\n      it will continue booting it to avoid doing unncessary work (as\n      opposed to building a new instance at boot time), but they are\n      otherwise unrelated.\n       @private\n      @method _buildDeprecatedInstance\n    */\n    _buildDeprecatedInstance() {\n      // Build a default instance\n      var instance = this.buildInstance(); // Legacy support for App.__container__ and other global methods\n      // on App that rely on a single, default instance.\n\n      this.__deprecatedInstance__ = instance;\n      this.__container__ = instance.__container__;\n    },\n    /**\n      Automatically kick-off the boot process for the application once the\n      DOM has become ready.\n       The initialization itself is scheduled on the actions queue which\n      ensures that code-loading finishes before booting.\n       If you are asynchronously loading code, you should call `deferReadiness()`\n      to defer booting, and then call `advanceReadiness()` once all of your code\n      has finished loading.\n       @private\n      @method waitForDOMReady\n    */\n    waitForDOMReady() {\n      if (this._document === null || this._document.readyState !== 'loading') {\n        (0, _runloop.schedule)('actions', this, 'domReady');\n      } else {\n        var callback = () => {\n          this._document.removeEventListener('DOMContentLoaded', callback);\n          (0, _runloop.run)(this, 'domReady');\n        };\n        this._document.addEventListener('DOMContentLoaded', callback);\n      }\n    },\n    /**\n      This is the autoboot flow:\n       1. Boot the app by calling `this.boot()`\n      2. Create an instance (or use the `__deprecatedInstance__` in globals mode)\n      3. Boot the instance by calling `instance.boot()`\n      4. Invoke the `App.ready()` callback\n      5. Kick-off routing on the instance\n       Ideally, this is all we would need to do:\n       ```javascript\n      _autoBoot() {\n        this.boot().then(() => {\n          let instance = (this._globalsMode) ? this.__deprecatedInstance__ : this.buildInstance();\n          return instance.boot();\n        }).then((instance) => {\n          App.ready();\n          instance.startRouting();\n        });\n      }\n      ```\n       Unfortunately, we cannot actually write this because we need to participate\n      in the \"synchronous\" boot process. While the code above would work fine on\n      the initial boot (i.e. DOM ready), when `App.reset()` is called, we need to\n      boot a new instance synchronously (see the documentation on `_bootSync()`\n      for details).\n       Because of this restriction, the actual logic of this method is located\n      inside `didBecomeReady()`.\n       @private\n      @method domReady\n    */\n    domReady() {\n      if (this.isDestroying || this.isDestroyed) {\n        return;\n      }\n      this._bootSync(); // Continues to `didBecomeReady`\n    },\n    /**\n      Use this to defer readiness until some condition is true.\n       Example:\n       ```javascript\n      import Application from '@ember/application';\n       let App = Application.create();\n       App.deferReadiness();\n       // $ is a reference to the jQuery object/function\n      import $ from 'jquery;\n       $.getJSON('/auth-token', function(token) {\n        App.token = token;\n        App.advanceReadiness();\n      });\n      ```\n       This allows you to perform asynchronous setup logic and defer\n      booting your application until the setup has finished.\n       However, if the setup requires a loading UI, it might be better\n      to use the router for this purpose.\n       @method deferReadiness\n      @public\n    */\n    deferReadiness() {\n      (true && !(this instanceof Application) && (0, _debug.assert)('You must call deferReadiness on an instance of Application', this instanceof Application));\n      (true && !(!this.isDestroyed) && (0, _debug.assert)('You cannot defer readiness since application has already destroyed', !this.isDestroyed));\n      (true && !(!this.isDestroying) && (0, _debug.assert)('You cannot defer readiness since the application is being destroyed', !this.isDestroying));\n      (true && !(this._readinessDeferrals > 0) && (0, _debug.assert)('You cannot defer readiness since the `ready()` hook has already been called', this._readinessDeferrals > 0));\n      this._readinessDeferrals++;\n    },\n    /**\n      Call `advanceReadiness` after any asynchronous setup logic has completed.\n      Each call to `deferReadiness` must be matched by a call to `advanceReadiness`\n      or the application will never become ready and routing will not begin.\n       @method advanceReadiness\n      @see {Application#deferReadiness}\n      @public\n    */\n    advanceReadiness() {\n      (true && !(this instanceof Application) && (0, _debug.assert)('You must call advanceReadiness on an instance of Application', this instanceof Application));\n      (true && !(!this.isDestroyed) && (0, _debug.assert)('You cannot advance readiness since application has already destroyed', !this.isDestroyed));\n      (true && !(!this.isDestroying) && (0, _debug.assert)('You cannot advance readiness since the application is being destroyed', !this.isDestroying));\n      (true && !(this._readinessDeferrals > 0) && (0, _debug.assert)('You cannot advance readiness since the `ready()` hook has already been called', this._readinessDeferrals > 0));\n      this._readinessDeferrals--;\n      if (this._readinessDeferrals === 0) {\n        (0, _runloop.once)(this, this.didBecomeReady);\n      }\n    },\n    /**\n      Initialize the application and return a promise that resolves with the `Application`\n      object when the boot process is complete.\n       Run any application initializers and run the application load hook. These hooks may\n      choose to defer readiness. For example, an authentication hook might want to defer\n      readiness until the auth token has been retrieved.\n       By default, this method is called automatically on \"DOM ready\"; however, if autoboot\n      is disabled, this is automatically called when the first application instance is\n      created via `visit`.\n       @public\n      @method boot\n      @return {Promise<Application,Error>}\n    */\n    boot() {\n      (true && !(!this.isDestroyed) && (0, _debug.assert)('You cannot boot this application since it has already been destroyed', !this.isDestroyed));\n      (true && !(!this.isDestroying) && (0, _debug.assert)('You cannot boot this application since it is being destroyed', !this.isDestroying));\n      if (this._bootPromise) {\n        return this._bootPromise;\n      }\n      try {\n        this._bootSync();\n      } catch (_) {// Ignore the error: in the asynchronous boot path, the error is already reflected\n        // in the promise rejection\n      }\n      return this._bootPromise;\n    },\n    /**\n      Unfortunately, a lot of existing code assumes the booting process is\n      \"synchronous\". Specifically, a lot of tests assumes the last call to\n      `app.advanceReadiness()` or `app.reset()` will result in the app being\n      fully-booted when the current runloop completes.\n       We would like new code (like the `visit` API) to stop making this assumption,\n      so we created the asynchronous version above that returns a promise. But until\n      we have migrated all the code, we would have to expose this method for use\n      *internally* in places where we need to boot an app \"synchronously\".\n       @private\n    */\n    _bootSync() {\n      if (this._booted || this.isDestroying || this.isDestroyed) {\n        return;\n      } // Even though this returns synchronously, we still need to make sure the\n      // boot promise exists for book-keeping purposes: if anything went wrong in\n      // the boot process, we need to store the error as a rejection on the boot\n      // promise so that a future caller of `boot()` can tell what failed.\n\n      var defer = this._bootResolver = _runtime.RSVP.defer();\n      this._bootPromise = defer.promise;\n      try {\n        this.runInitializers();\n        (0, _lazy_load.runLoadHooks)('application', this);\n        this.advanceReadiness(); // Continues to `didBecomeReady`\n      } catch (error) {\n        // For the asynchronous boot path\n        defer.reject(error); // For the synchronous boot path\n\n        throw error;\n      }\n    },\n    /**\n      Reset the application. This is typically used only in tests. It cleans up\n      the application in the following order:\n       1. Deactivate existing routes\n      2. Destroy all objects in the container\n      3. Create a new application container\n      4. Re-route to the existing url\n       Typical Example:\n       ```javascript\n      import Application from '@ember/application';\n      let App;\n       run(function() {\n        App = Application.create();\n      });\n       module('acceptance test', {\n        setup: function() {\n          App.reset();\n        }\n      });\n       test('first test', function() {\n        // App is freshly reset\n      });\n       test('second test', function() {\n        // App is again freshly reset\n      });\n      ```\n       Advanced Example:\n       Occasionally you may want to prevent the app from initializing during\n      setup. This could enable extra configuration, or enable asserting prior\n      to the app becoming ready.\n       ```javascript\n      import Application from '@ember/application';\n      let App;\n       run(function() {\n        App = Application.create();\n      });\n       module('acceptance test', {\n        setup: function() {\n          run(function() {\n            App.reset();\n            App.deferReadiness();\n          });\n        }\n      });\n       test('first test', function() {\n        ok(true, 'something before app is initialized');\n         run(function() {\n          App.advanceReadiness();\n        });\n         ok(true, 'something after app is initialized');\n      });\n      ```\n       @method reset\n      @public\n    */\n    reset() {\n      (true && !(!this.isDestroyed) && (0, _debug.assert)('You cannot reset this application since it has already been destroyed', !this.isDestroyed));\n      (true && !(!this.isDestroying) && (0, _debug.assert)('You cannot reset this application since it is being destroyed', !this.isDestroying));\n      (true && !(this._globalsMode && this.autoboot) && (0, _debug.assert)(`Calling reset() on instances of \\`Application\\` is not\n            supported when globals mode is disabled; call \\`visit()\\` to\n            create new \\`ApplicationInstance\\`s and dispose them\n            via their \\`destroy()\\` method instead.`, this._globalsMode && this.autoboot));\n      var instance = this.__deprecatedInstance__;\n      this._readinessDeferrals = 1;\n      this._bootPromise = null;\n      this._bootResolver = null;\n      this._booted = false;\n      function handleReset() {\n        (0, _runloop.run)(instance, 'destroy');\n        this._buildDeprecatedInstance();\n        (0, _runloop.schedule)('actions', this, '_bootSync');\n      }\n      (0, _runloop.join)(this, handleReset);\n    },\n    /**\n      @private\n      @method didBecomeReady\n    */\n    didBecomeReady() {\n      if (this.isDestroying || this.isDestroyed) {\n        return;\n      }\n      try {\n        // TODO: Is this still needed for _globalsMode = false?\n        // See documentation on `_autoboot()` for details\n        if (this.autoboot) {\n          var instance;\n          if (this._globalsMode) {\n            // If we already have the __deprecatedInstance__ lying around, boot it to\n            // avoid unnecessary work\n            instance = this.__deprecatedInstance__;\n          } else {\n            // Otherwise, build an instance and boot it. This is currently unreachable,\n            // because we forced _globalsMode to === autoboot; but having this branch\n            // allows us to locally toggle that flag for weeding out legacy globals mode\n            // dependencies independently\n            instance = this.buildInstance();\n          }\n          instance._bootSync(); // TODO: App.ready() is not called when autoboot is disabled, is this correct?\n\n          this.ready();\n          instance.startRouting();\n        } // For the asynchronous boot path\n\n        this._bootResolver.resolve(this); // For the synchronous boot path\n\n        this._booted = true;\n      } catch (error) {\n        // For the asynchronous boot path\n        this._bootResolver.reject(error); // For the synchronous boot path\n\n        throw error;\n      }\n    },\n    /**\n      Called when the Application has become ready, immediately before routing\n      begins. The call will be delayed until the DOM has become ready.\n       @event ready\n      @public\n    */\n    ready() {\n      return this;\n    },\n    // This method must be moved to the application instance object\n    willDestroy() {\n      this._super(...arguments);\n      if (_lazy_load._loaded.application === this) {\n        _lazy_load._loaded.application = undefined;\n      }\n      if (this._applicationInstances.size) {\n        this._applicationInstances.forEach(i => i.destroy());\n        this._applicationInstances.clear();\n      }\n    },\n    /**\n      Boot a new instance of `ApplicationInstance` for the current\n      application and navigate it to the given `url`. Returns a `Promise` that\n      resolves with the instance when the initial routing and rendering is\n      complete, or rejects with any error that occurred during the boot process.\n       When `autoboot` is disabled, calling `visit` would first cause the\n      application to boot, which runs the application initializers.\n       This method also takes a hash of boot-time configuration options for\n      customizing the instance's behavior. See the documentation on\n      `ApplicationInstance.BootOptions` for details.\n       `ApplicationInstance.BootOptions` is an interface class that exists\n      purely to document the available options; you do not need to construct it\n      manually. Simply pass a regular JavaScript object containing of the\n      desired options:\n       ```javascript\n      MyApp.visit(\"/\", { location: \"none\", rootElement: \"#container\" });\n      ```\n       ### Supported Scenarios\n       While the `BootOptions` class exposes a large number of knobs, not all\n      combinations of them are valid; certain incompatible combinations might\n      result in unexpected behavior.\n       For example, booting the instance in the full browser environment\n      while specifying a foreign `document` object (e.g. `{ isBrowser: true,\n      document: iframe.contentDocument }`) does not work correctly today,\n      largely due to Ember's jQuery dependency.\n       Currently, there are three officially supported scenarios/configurations.\n      Usages outside of these scenarios are not guaranteed to work, but please\n      feel free to file bug reports documenting your experience and any issues\n      you encountered to help expand support.\n       #### Browser Applications (Manual Boot)\n       The setup is largely similar to how Ember works out-of-the-box. Normally,\n      Ember will boot a default instance for your Application on \"DOM ready\".\n      However, you can customize this behavior by disabling `autoboot`.\n       For example, this allows you to render a miniture demo of your application\n      into a specific area on your marketing website:\n       ```javascript\n      import MyApp from 'my-app';\n       $(function() {\n        let App = MyApp.create({ autoboot: false });\n         let options = {\n          // Override the router's location adapter to prevent it from updating\n          // the URL in the address bar\n          location: 'none',\n           // Override the default `rootElement` on the app to render into a\n          // specific `div` on the page\n          rootElement: '#demo'\n        };\n         // Start the app at the special demo URL\n        App.visit('/demo', options);\n      });\n      ```\n       Or perhaps you might want to boot two instances of your app on the same\n      page for a split-screen multiplayer experience:\n       ```javascript\n      import MyApp from 'my-app';\n       $(function() {\n        let App = MyApp.create({ autoboot: false });\n         let sessionId = MyApp.generateSessionID();\n         let player1 = App.visit(`/matches/join?name=Player+1&session=${sessionId}`, { rootElement: '#left', location: 'none' });\n        let player2 = App.visit(`/matches/join?name=Player+2&session=${sessionId}`, { rootElement: '#right', location: 'none' });\n         Promise.all([player1, player2]).then(() => {\n          // Both apps have completed the initial render\n          $('#loading').fadeOut();\n        });\n      });\n      ```\n       Do note that each app instance maintains their own registry/container, so\n      they will run in complete isolation by default.\n       #### Server-Side Rendering (also known as FastBoot)\n       This setup allows you to run your Ember app in a server environment using\n      Node.js and render its content into static HTML for SEO purposes.\n       ```javascript\n      const HTMLSerializer = new SimpleDOM.HTMLSerializer(SimpleDOM.voidMap);\n       function renderURL(url) {\n        let dom = new SimpleDOM.Document();\n        let rootElement = dom.body;\n        let options = { isBrowser: false, document: dom, rootElement: rootElement };\n         return MyApp.visit(options).then(instance => {\n          try {\n            return HTMLSerializer.serialize(rootElement.firstChild);\n          } finally {\n            instance.destroy();\n          }\n        });\n      }\n      ```\n       In this scenario, because Ember does not have access to a global `document`\n      object in the Node.js environment, you must provide one explicitly. In practice,\n      in the non-browser environment, the stand-in `document` object only needs to\n      implement a limited subset of the full DOM API. The `SimpleDOM` library is known\n      to work.\n       Since there is no access to jQuery in the non-browser environment, you must also\n      specify a DOM `Element` object in the same `document` for the `rootElement` option\n      (as opposed to a selector string like `\"body\"`).\n       See the documentation on the `isBrowser`, `document` and `rootElement` properties\n      on `ApplicationInstance.BootOptions` for details.\n       #### Server-Side Resource Discovery\n       This setup allows you to run the routing layer of your Ember app in a server\n      environment using Node.js and completely disable rendering. This allows you\n      to simulate and discover the resources (i.e. AJAX requests) needed to fulfill\n      a given request and eagerly \"push\" these resources to the client.\n       ```app/initializers/network-service.js\n      import BrowserNetworkService from 'app/services/network/browser';\n      import NodeNetworkService from 'app/services/network/node';\n       // Inject a (hypothetical) service for abstracting all AJAX calls and use\n      // the appropriate implementation on the client/server. This also allows the\n      // server to log all the AJAX calls made during a particular request and use\n      // that for resource-discovery purpose.\n       export function initialize(application) {\n        if (window) { // browser\n          application.register('service:network', BrowserNetworkService);\n        } else { // node\n          application.register('service:network', NodeNetworkService);\n        }\n         application.inject('route', 'network', 'service:network');\n      };\n       export default {\n        name: 'network-service',\n        initialize: initialize\n      };\n      ```\n       ```app/routes/post.js\n      import Route from '@ember/routing/route';\n       // An example of how the (hypothetical) service is used in routes.\n       export default Route.extend({\n        model(params) {\n          return this.network.fetch(`/api/posts/${params.post_id}.json`);\n        },\n         afterModel(post) {\n          if (post.isExternalContent) {\n            return this.network.fetch(`/api/external/?url=${post.externalURL}`);\n          } else {\n            return post;\n          }\n        }\n      });\n      ```\n       ```javascript\n      // Finally, put all the pieces together\n       function discoverResourcesFor(url) {\n        return MyApp.visit(url, { isBrowser: false, shouldRender: false }).then(instance => {\n          let networkService = instance.lookup('service:network');\n          return networkService.requests; // => { \"/api/posts/123.json\": \"...\" }\n        });\n      }\n      ```\n       @public\n      @method visit\n      @param url {String} The initial URL to navigate to\n      @param options {ApplicationInstance.BootOptions}\n      @return {Promise<ApplicationInstance, Error>}\n    */\n    visit(url, options) {\n      (true && !(!this.isDestroyed) && (0, _debug.assert)('You cannot visit this application since it has already been destroyed', !this.isDestroyed));\n      (true && !(!this.isDestroying) && (0, _debug.assert)('You cannot visit this application since it is being destroyed', !this.isDestroying));\n      return this.boot().then(() => {\n        var instance = this.buildInstance();\n        return instance.boot(options).then(() => instance.visit(url)).catch(error => {\n          (0, _runloop.run)(instance, 'destroy');\n          throw error;\n        });\n      });\n    }\n  });\n  Application.reopenClass({\n    /**\n      This creates a registry with the default Ember naming conventions.\n       It also configures the registry:\n       * registered views are created every time they are looked up (they are\n        not singletons)\n      * registered templates are not factories; the registered value is\n        returned directly.\n      * the router receives the application as its `namespace` property\n      * all controllers receive the router as their `target` and `controllers`\n        properties\n      * all controllers receive the application as their `namespace` property\n      * the application view receives the application controller as its\n        `controller` property\n      * the application view receives the application template as its\n        `defaultTemplate` property\n       @method buildRegistry\n      @static\n      @param {Application} namespace the application for which to\n        build the registry\n      @return {Ember.Registry} the built registry\n      @private\n    */\n    buildRegistry() {\n      // eslint-disable-line no-unused-vars\n      var registry = this._super(...arguments);\n      commonSetupRegistry(registry);\n      (0, _glimmer.setupApplicationRegistry)(registry);\n      return registry;\n    }\n  });\n  function commonSetupRegistry(registry) {\n    registry.register('router:main', _routing.Router);\n    registry.register('-view-registry:main', {\n      create() {\n        return (0, _utils.dictionary)(null);\n      }\n    });\n    registry.register('route:basic', _routing.Route);\n    registry.register('event_dispatcher:main', _views.EventDispatcher);\n    registry.register('location:auto', _routing.AutoLocation);\n    registry.register('location:hash', _routing.HashLocation);\n    registry.register('location:history', _routing.HistoryLocation);\n    registry.register('location:none', _routing.NoneLocation);\n    registry.register((0, _container.privatize)`-bucket-cache:main`, {\n      create() {\n        return new _routing.BucketCache();\n      }\n    });\n    registry.register('service:router', _routing.RouterService);\n  }\n  function registerLibraries() {\n    if (!librariesRegistered) {\n      librariesRegistered = true;\n      if (_deprecatedFeatures.JQUERY_INTEGRATION && _browserEnvironment.hasDOM && !_views.jQueryDisabled) {\n        _metal.libraries.registerCoreLibrary('jQuery', (0, _views.jQuery)().jquery);\n      }\n    }\n  }\n  var _default = _exports.default = Application;\n});","define(\"@ember/application/lib/lazy_load\", [\"exports\", \"@ember/-internals/environment\", \"@ember/-internals/browser-environment\"], function (_exports, _environment, _browserEnvironment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports._loaded = void 0;\n  _exports.onLoad = onLoad;\n  _exports.runLoadHooks = runLoadHooks;\n  /*globals CustomEvent */\n\n  /**\n    @module @ember/application\n  */\n\n  var loadHooks = _environment.ENV.EMBER_LOAD_HOOKS || {};\n  var loaded = {};\n  var _loaded = _exports._loaded = loaded;\n  /**\n    Detects when a specific package of Ember (e.g. 'Application')\n    has fully loaded and is available for extension.\n  \n    The provided `callback` will be called with the `name` passed\n    resolved from a string into the object:\n  \n    ``` javascript\n    import { onLoad } from '@ember/application';\n  \n    onLoad('Ember.Application' function(hbars) {\n      hbars.registerHelper(...);\n    });\n    ```\n  \n    @method onLoad\n    @static\n    @for @ember/application\n    @param name {String} name of hook\n    @param callback {Function} callback to be called\n    @private\n  */\n\n  function onLoad(name, callback) {\n    var object = loaded[name];\n    loadHooks[name] = loadHooks[name] || [];\n    loadHooks[name].push(callback);\n    if (object) {\n      callback(object);\n    }\n  }\n  /**\n    Called when an Ember.js package (e.g Application) has finished\n    loading. Triggers any callbacks registered for this event.\n  \n    @method runLoadHooks\n    @static\n    @for @ember/application\n    @param name {String} name of hook\n    @param object {Object} object to pass to callbacks\n    @private\n  */\n\n  function runLoadHooks(name, object) {\n    loaded[name] = object;\n    if (_browserEnvironment.window && typeof CustomEvent === 'function') {\n      var event = new CustomEvent(name, {\n        detail: object,\n        name\n      });\n      _browserEnvironment.window.dispatchEvent(event);\n    }\n    if (loadHooks[name]) {\n      loadHooks[name].forEach(callback => callback(object));\n    }\n  }\n});","define(\"@ember/application/namespace\", [\"exports\", \"@ember/-internals/runtime\"], function (_exports, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _runtime.Namespace;\n    }\n  });\n});","define(\"@ember/application/resolver\", [\"exports\", \"@ember/application/globals-resolver\"], function (_exports, _globalsResolver) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _globalsResolver.default;\n    }\n  });\n});","define(\"@ember/array/index\", [\"exports\", \"@ember/-internals/runtime\", \"@ember/-internals/utils\"], function (_exports, _runtime, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"A\", {\n    enumerable: true,\n    get: function () {\n      return _runtime.A;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _runtime.Array;\n    }\n  });\n  Object.defineProperty(_exports, \"isArray\", {\n    enumerable: true,\n    get: function () {\n      return _runtime.isArray;\n    }\n  });\n  Object.defineProperty(_exports, \"makeArray\", {\n    enumerable: true,\n    get: function () {\n      return _utils.makeArray;\n    }\n  });\n});","define(\"@ember/array/mutable\", [\"exports\", \"@ember/-internals/runtime\"], function (_exports, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _runtime.MutableArray;\n    }\n  });\n});","define(\"@ember/array/proxy\", [\"exports\", \"@ember/-internals/runtime\"], function (_exports, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _runtime.ArrayProxy;\n    }\n  });\n});","define(\"@ember/canary-features/index\", [\"exports\", \"@ember/-internals/environment\", \"@ember/polyfills\"], function (_exports, _environment, _polyfills) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.FEATURES = _exports.EMBER_STRICT_MODE = _exports.EMBER_NAMED_BLOCKS = _exports.EMBER_MODERNIZED_BUILT_IN_COMPONENTS = _exports.EMBER_LIBRARIES_ISREGISTERED = _exports.EMBER_IMPROVED_INSTRUMENTATION = _exports.EMBER_GLIMMER_INVOKE_HELPER = _exports.EMBER_GLIMMER_HELPER_MANAGER = _exports.EMBER_DYNAMIC_HELPERS_AND_MODIFIERS = _exports.DEFAULT_FEATURES = void 0;\n  _exports.isEnabled = isEnabled;\n  /**\n    Set `EmberENV.FEATURES` in your application's `config/environment.js` file\n    to enable canary features in your application.\n  \n    See the [feature flag guide](https://guides.emberjs.com/release/configuring-ember/feature-flags/)\n    for more details.\n  \n    @module @ember/canary-features\n    @public\n  */\n\n  var DEFAULT_FEATURES = _exports.DEFAULT_FEATURES = {\n    EMBER_LIBRARIES_ISREGISTERED: false,\n    EMBER_IMPROVED_INSTRUMENTATION: false,\n    EMBER_NAMED_BLOCKS: true,\n    EMBER_GLIMMER_HELPER_MANAGER: true,\n    EMBER_GLIMMER_INVOKE_HELPER: true,\n    EMBER_MODERNIZED_BUILT_IN_COMPONENTS: true,\n    EMBER_STRICT_MODE: true,\n    EMBER_DYNAMIC_HELPERS_AND_MODIFIERS: true\n  };\n  /**\n    The hash of enabled Canary features. Add to this, any canary features\n    before creating your application.\n  \n    @class FEATURES\n    @static\n    @since 1.1.0\n    @public\n  */\n\n  var FEATURES = _exports.FEATURES = (0, _polyfills.assign)(DEFAULT_FEATURES, _environment.ENV.FEATURES);\n  /**\n    Determine whether the specified `feature` is enabled. Used by Ember's\n    build tools to exclude experimental features from beta/stable builds.\n  \n    You can define the following configuration options:\n  \n    * `EmberENV.ENABLE_OPTIONAL_FEATURES` - enable any features that have not been explicitly\n      enabled/disabled.\n  \n    @method isEnabled\n    @param {String} feature The feature to check\n    @return {Boolean}\n    @since 1.1.0\n    @public\n  */\n\n  function isEnabled(feature) {\n    var value = FEATURES[feature];\n    if (value === true || value === false) {\n      return value;\n    } else if (_environment.ENV.ENABLE_OPTIONAL_FEATURES) {\n      return true;\n    } else {\n      return false;\n    }\n  }\n  function featureValue(value) {\n    if (_environment.ENV.ENABLE_OPTIONAL_FEATURES && value === null) {\n      return true;\n    }\n    return value;\n  }\n  var EMBER_LIBRARIES_ISREGISTERED = _exports.EMBER_LIBRARIES_ISREGISTERED = featureValue(FEATURES.EMBER_LIBRARIES_ISREGISTERED);\n  var EMBER_IMPROVED_INSTRUMENTATION = _exports.EMBER_IMPROVED_INSTRUMENTATION = featureValue(FEATURES.EMBER_IMPROVED_INSTRUMENTATION);\n  var EMBER_NAMED_BLOCKS = _exports.EMBER_NAMED_BLOCKS = featureValue(FEATURES.EMBER_NAMED_BLOCKS);\n  var EMBER_GLIMMER_HELPER_MANAGER = _exports.EMBER_GLIMMER_HELPER_MANAGER = featureValue(FEATURES.EMBER_GLIMMER_HELPER_MANAGER);\n  var EMBER_GLIMMER_INVOKE_HELPER = _exports.EMBER_GLIMMER_INVOKE_HELPER = featureValue(FEATURES.EMBER_GLIMMER_INVOKE_HELPER);\n  var EMBER_MODERNIZED_BUILT_IN_COMPONENTS = _exports.EMBER_MODERNIZED_BUILT_IN_COMPONENTS = featureValue(FEATURES.EMBER_MODERNIZED_BUILT_IN_COMPONENTS);\n  var EMBER_STRICT_MODE = _exports.EMBER_STRICT_MODE = featureValue(FEATURES.EMBER_STRICT_MODE);\n  var EMBER_DYNAMIC_HELPERS_AND_MODIFIERS = _exports.EMBER_DYNAMIC_HELPERS_AND_MODIFIERS = featureValue(FEATURES.EMBER_DYNAMIC_HELPERS_AND_MODIFIERS);\n});","define(\"@ember/component/checkbox\", [\"exports\", \"@ember/debug\", \"@ember/-internals/glimmer\"], function (_exports, _debug, _glimmer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _glimmer.Checkbox;\n    }\n  });\n  if (true\n  /* EMBER_MODERNIZED_BUILT_IN_COMPONENTS */) {\n    (true && !(false) && (0, _debug.deprecate)(`Using Ember.Checkbox or importing from 'Checkbox' has been deprecated, install the ` + `\\`@ember/legacy-built-in-components\\` addon and use \\`import { Checkbox } from ` + `'@ember/legacy-built-in-components';\\` instead`, false, {\n      id: 'ember.built-in-components.import',\n      until: '4.0.0',\n      for: 'ember-source',\n      since: {\n        enabled: '3.27.0'\n      },\n      url: 'https://deprecations.emberjs.com/v3.x#toc_ember-built-in-components-import'\n    }));\n  }\n});","define(\"@ember/component/helper\", [\"exports\", \"@ember/-internals/glimmer\"], function (_exports, _glimmer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _glimmer.Helper;\n    }\n  });\n  Object.defineProperty(_exports, \"helper\", {\n    enumerable: true,\n    get: function () {\n      return _glimmer.helper;\n    }\n  });\n});","define(\"@ember/component/index\", [\"exports\", \"@glimmer/manager\", \"@ember/-internals/glimmer\"], function (_exports, _manager, _glimmer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"Input\", {\n    enumerable: true,\n    get: function () {\n      return _glimmer.Input;\n    }\n  });\n  Object.defineProperty(_exports, \"capabilities\", {\n    enumerable: true,\n    get: function () {\n      return _glimmer.componentCapabilities;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _glimmer.Component;\n    }\n  });\n  Object.defineProperty(_exports, \"getComponentTemplate\", {\n    enumerable: true,\n    get: function () {\n      return _manager.getComponentTemplate;\n    }\n  });\n  Object.defineProperty(_exports, \"setComponentManager\", {\n    enumerable: true,\n    get: function () {\n      return _glimmer.setComponentManager;\n    }\n  });\n  Object.defineProperty(_exports, \"setComponentTemplate\", {\n    enumerable: true,\n    get: function () {\n      return _manager.setComponentTemplate;\n    }\n  });\n});","define(\"@ember/component/template-only\", [\"exports\", \"@glimmer/runtime\"], function (_exports, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _runtime.templateOnlyComponent;\n    }\n  });\n});","define(\"@ember/component/text-area\", [\"exports\", \"@ember/debug\", \"@ember/-internals/glimmer\"], function (_exports, _debug, _glimmer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _glimmer.TextArea;\n    }\n  });\n  if (true\n  /* EMBER_MODERNIZED_BUILT_IN_COMPONENTS */) {\n    (true && !(false) && (0, _debug.deprecate)(`Using Ember.TextArea or importing from 'TextArea' has been deprecated, install the ` + `\\`@ember/legacy-built-in-components\\` addon and use \\`import { TextArea } from ` + `'@ember/legacy-built-in-components';\\` instead`, false, {\n      id: 'ember.built-in-components.import',\n      until: '4.0.0',\n      for: 'ember-source',\n      since: {\n        enabled: '3.27.0'\n      },\n      url: 'https://deprecations.emberjs.com/v3.x#toc_ember-built-in-components-import'\n    }));\n  }\n});","define(\"@ember/component/text-field\", [\"exports\", \"@ember/debug\", \"@ember/-internals/glimmer\"], function (_exports, _debug, _glimmer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _glimmer.TextField;\n    }\n  });\n  if (true\n  /* EMBER_MODERNIZED_BUILT_IN_COMPONENTS */) {\n    (true && !(false) && (0, _debug.deprecate)(`Using Ember.TextField or importing from 'TextField' has been deprecated, install the ` + `\\`@ember/legacy-built-in-components\\` addon and use \\`import { TextField } from ` + `'@ember/legacy-built-in-components';\\` instead`, false, {\n      id: 'ember.built-in-components.import',\n      until: '4.0.0',\n      for: 'ember-source',\n      since: {\n        enabled: '3.27.0'\n      },\n      url: 'https://deprecations.emberjs.com/v3.x#toc_ember-built-in-components-import'\n    }));\n  }\n});","define(\"@ember/controller/index\", [\"exports\", \"@ember/-internals/runtime\", \"@ember/-internals/metal\", \"@ember/controller/lib/controller_mixin\"], function (_exports, _runtime, _metal, _controller_mixin) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.inject = inject;\n  /**\n  @module @ember/controller\n  */\n\n  /**\n    @class Controller\n    @extends EmberObject\n    @uses Ember.ControllerMixin\n    @public\n  */\n\n  var Controller = _runtime.FrameworkObject.extend(_controller_mixin.default);\n  /**\n    Creates a property that lazily looks up another controller in the container.\n    Can only be used when defining another controller.\n  \n    Example:\n  \n    ```app/controllers/post.js\n    import Controller, {\n      inject as controller\n    } from '@ember/controller';\n  \n    export default class PostController extends Controller {\n      @controller posts;\n    }\n    ```\n  \n    Classic Class Example:\n  \n    ```app/controllers/post.js\n    import Controller, {\n      inject as controller\n    } from '@ember/controller';\n  \n    export default Controller.extend({\n      posts: controller()\n    });\n    ```\n  \n    This example will create a `posts` property on the `post` controller that\n    looks up the `posts` controller in the container, making it easy to reference\n    other controllers.\n  \n    @method inject\n    @static\n    @for @ember/controller\n    @since 1.10.0\n    @param {String} name (optional) name of the controller to inject, defaults to\n           the property's name\n    @return {ComputedDecorator} injection decorator instance\n    @public\n  */\n\n  function inject() {\n    return (0, _metal.inject)('controller', ...arguments);\n  }\n  var _default = _exports.default = Controller;\n});","define(\"@ember/controller/lib/controller_mixin\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/runtime\", \"@ember/-internals/utils\"], function (_exports, _metal, _runtime, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var MODEL = (0, _utils.symbol)('MODEL');\n  /**\n  @module ember\n  */\n\n  /**\n    @class ControllerMixin\n    @namespace Ember\n    @uses Ember.ActionHandler\n    @private\n  */\n  var _default = _exports.default = _metal.Mixin.create(_runtime.ActionHandler, {\n    /* ducktype as a controller */\n    isController: true,\n    /**\n      The object to which actions from the view should be sent.\n       For example, when a Handlebars template uses the `{{action}}` helper,\n      it will attempt to send the action to the view's controller's `target`.\n       By default, the value of the target property is set to the router, and\n      is injected when a controller is instantiated. This injection is applied\n      as part of the application's initialization process. In most cases the\n      `target` property will automatically be set to the logical consumer of\n      actions for the controller.\n       @property target\n      @default null\n      @public\n    */\n    target: null,\n    store: null,\n    /**\n      The controller's current model. When retrieving or modifying a controller's\n      model, this property should be used instead of the `content` property.\n       @property model\n      @public\n    */\n    model: (0, _metal.computed)({\n      get() {\n        return this[MODEL];\n      },\n      set(key, value) {\n        return this[MODEL] = value;\n      }\n    })\n  });\n});","define(\"@ember/debug/container-debug-adapter\", [\"exports\", \"@ember/-internals/extension-support\"], function (_exports, _extensionSupport) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _extensionSupport.ContainerDebugAdapter;\n    }\n  });\n});","define(\"@ember/debug/data-adapter\", [\"exports\", \"@ember/-internals/extension-support\"], function (_exports, _extensionSupport) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _extensionSupport.DataAdapter;\n    }\n  });\n});","define(\"@ember/debug/index\", [\"exports\", \"@ember/-internals/browser-environment\", \"@ember/error\", \"@ember/debug/lib/deprecate\", \"@ember/debug/lib/testing\", \"@ember/debug/lib/warn\", \"@ember/-internals/utils\", \"@ember/debug/lib/capture-render-tree\"], function (_exports, _browserEnvironment, _error, _deprecate2, _testing, _warn2, _utils, _captureRenderTree) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.assert = _exports._warnIfUsingStrippedFeatureFlags = void 0;\n  Object.defineProperty(_exports, \"captureRenderTree\", {\n    enumerable: true,\n    get: function () {\n      return _captureRenderTree.default;\n    }\n  });\n  _exports.info = _exports.getDebugFunction = _exports.deprecateFunc = _exports.deprecate = _exports.debugSeal = _exports.debugFreeze = _exports.debug = void 0;\n  Object.defineProperty(_exports, \"inspect\", {\n    enumerable: true,\n    get: function () {\n      return _utils.inspect;\n    }\n  });\n  Object.defineProperty(_exports, \"isTesting\", {\n    enumerable: true,\n    get: function () {\n      return _testing.isTesting;\n    }\n  });\n  Object.defineProperty(_exports, \"registerDeprecationHandler\", {\n    enumerable: true,\n    get: function () {\n      return _deprecate2.registerHandler;\n    }\n  });\n  Object.defineProperty(_exports, \"registerWarnHandler\", {\n    enumerable: true,\n    get: function () {\n      return _warn2.registerHandler;\n    }\n  });\n  _exports.setDebugFunction = _exports.runInDebug = void 0;\n  Object.defineProperty(_exports, \"setTesting\", {\n    enumerable: true,\n    get: function () {\n      return _testing.setTesting;\n    }\n  });\n  _exports.warn = void 0;\n  // These are the default production build versions:\n\n  var noop = () => {};\n  var assert = _exports.assert = noop;\n  var info = _exports.info = noop;\n  var warn = _exports.warn = noop;\n  var debug = _exports.debug = noop;\n  var deprecate = _exports.deprecate = noop;\n  var debugSeal = _exports.debugSeal = noop;\n  var debugFreeze = _exports.debugFreeze = noop;\n  var runInDebug = _exports.runInDebug = noop;\n  var setDebugFunction = _exports.setDebugFunction = noop;\n  var getDebugFunction = _exports.getDebugFunction = noop;\n  var deprecateFunc = function () {\n    return arguments[arguments.length - 1];\n  };\n  _exports.deprecateFunc = deprecateFunc;\n  if (true /* DEBUG */) {\n    _exports.setDebugFunction = setDebugFunction = function (type, callback) {\n      switch (type) {\n        case 'assert':\n          return _exports.assert = assert = callback;\n        case 'info':\n          return _exports.info = info = callback;\n        case 'warn':\n          return _exports.warn = warn = callback;\n        case 'debug':\n          return _exports.debug = debug = callback;\n        case 'deprecate':\n          return _exports.deprecate = deprecate = callback;\n        case 'debugSeal':\n          return _exports.debugSeal = debugSeal = callback;\n        case 'debugFreeze':\n          return _exports.debugFreeze = debugFreeze = callback;\n        case 'runInDebug':\n          return _exports.runInDebug = runInDebug = callback;\n        case 'deprecateFunc':\n          return _exports.deprecateFunc = deprecateFunc = callback;\n      }\n    };\n    _exports.getDebugFunction = getDebugFunction = function (type) {\n      switch (type) {\n        case 'assert':\n          return assert;\n        case 'info':\n          return info;\n        case 'warn':\n          return warn;\n        case 'debug':\n          return debug;\n        case 'deprecate':\n          return deprecate;\n        case 'debugSeal':\n          return debugSeal;\n        case 'debugFreeze':\n          return debugFreeze;\n        case 'runInDebug':\n          return runInDebug;\n        case 'deprecateFunc':\n          return deprecateFunc;\n      }\n    };\n  }\n  /**\n  @module @ember/debug\n  */\n\n  if (true /* DEBUG */) {\n    /**\n      Verify that a certain expectation is met, or throw a exception otherwise.\n         This is useful for communicating assumptions in the code to other human\n      readers as well as catching bugs that accidentally violates these\n      expectations.\n         Assertions are removed from production builds, so they can be freely added\n      for documentation and debugging purposes without worries of incuring any\n      performance penalty. However, because of that, they should not be used for\n      checks that could reasonably fail during normal usage. Furthermore, care\n      should be taken to avoid accidentally relying on side-effects produced from\n      evaluating the condition itself, since the code will not run in production.\n         ```javascript\n      import { assert } from '@ember/debug';\n         // Test for truthiness\n      assert('Must pass a string', typeof str === 'string');\n         // Fail unconditionally\n      assert('This code path should never be run');\n      ```\n         @method assert\n      @static\n      @for @ember/debug\n      @param {String} description Describes the expectation. This will become the\n        text of the Error thrown if the assertion fails.\n      @param {any} condition Must be truthy for the assertion to pass. If\n        falsy, an exception will be thrown.\n      @public\n      @since 1.0.0\n    */\n    setDebugFunction('assert', function assert(desc, test) {\n      if (!test) {\n        throw new _error.default(`Assertion Failed: ${desc}`);\n      }\n    });\n    /**\n      Display a debug notice.\n         Calls to this function are not invoked in production builds.\n         ```javascript\n      import { debug } from '@ember/debug';\n         debug('I\\'m a debug notice!');\n      ```\n         @method debug\n      @for @ember/debug\n      @static\n      @param {String} message A debug message to display.\n      @public\n    */\n\n    setDebugFunction('debug', function debug(message) {\n      /* eslint-disable no-console */\n      if (console.debug) {\n        console.debug(`DEBUG: ${message}`);\n      } else {\n        console.log(`DEBUG: ${message}`);\n      }\n      /* eslint-ensable no-console */\n    });\n    /**\n      Display an info notice.\n         Calls to this function are removed from production builds, so they can be\n      freely added for documentation and debugging purposes without worries of\n      incuring any performance penalty.\n         @method info\n      @private\n    */\n\n    setDebugFunction('info', function info() {\n      console.info(...arguments);\n      /* eslint-disable-line no-console */\n    });\n    /**\n     @module @ember/debug\n     @public\n    */\n\n    /**\n      Alias an old, deprecated method with its new counterpart.\n         Display a deprecation warning with the provided message and a stack trace\n      (Chrome and Firefox only) when the assigned method is called.\n         Calls to this function are removed from production builds, so they can be\n      freely added for documentation and debugging purposes without worries of\n      incuring any performance penalty.\n         ```javascript\n      import { deprecateFunc } from '@ember/debug';\n         Ember.oldMethod = deprecateFunc('Please use the new, updated method', options, Ember.newMethod);\n      ```\n         @method deprecateFunc\n      @static\n      @for @ember/debug\n      @param {String} message A description of the deprecation.\n      @param {Object} [options] The options object for `deprecate`.\n      @param {Function} func The new function called to replace its deprecated counterpart.\n      @return {Function} A new function that wraps the original function with a deprecation warning\n      @private\n    */\n\n    setDebugFunction('deprecateFunc', function deprecateFunc(...args) {\n      if (args.length === 3) {\n        var [message, options, func] = args;\n        return function (...args) {\n          deprecate(message, false, options);\n          return func.apply(this, args);\n        };\n      } else {\n        var [_message, _func] = args;\n        return function () {\n          deprecate(_message);\n          return _func.apply(this, arguments);\n        };\n      }\n    });\n    /**\n     @module @ember/debug\n     @public\n    */\n\n    /**\n      Run a function meant for debugging.\n         Calls to this function are removed from production builds, so they can be\n      freely added for documentation and debugging purposes without worries of\n      incuring any performance penalty.\n         ```javascript\n      import Component from '@ember/component';\n      import { runInDebug } from '@ember/debug';\n         runInDebug(() => {\n        Component.reopen({\n          didInsertElement() {\n            console.log(\"I'm happy\");\n          }\n        });\n      });\n      ```\n         @method runInDebug\n      @for @ember/debug\n      @static\n      @param {Function} func The function to be executed.\n      @since 1.5.0\n      @public\n    */\n\n    setDebugFunction('runInDebug', function runInDebug(func) {\n      func();\n    });\n    setDebugFunction('debugSeal', function debugSeal(obj) {\n      Object.seal(obj);\n    });\n    setDebugFunction('debugFreeze', function debugFreeze(obj) {\n      // re-freezing an already frozen object introduces a significant\n      // performance penalty on Chrome (tested through 59).\n      //\n      // See: https://bugs.chromium.org/p/v8/issues/detail?id=6450\n      if (!Object.isFrozen(obj)) {\n        Object.freeze(obj);\n      }\n    });\n    setDebugFunction('deprecate', _deprecate2.default);\n    setDebugFunction('warn', _warn2.default);\n  }\n  var _warnIfUsingStrippedFeatureFlags;\n  if (true /* DEBUG */ && !(0, _testing.isTesting)()) {\n    if (typeof window !== 'undefined' && (_browserEnvironment.isFirefox || _browserEnvironment.isChrome) && window.addEventListener) {\n      window.addEventListener('load', () => {\n        if (document.documentElement && document.documentElement.dataset && !document.documentElement.dataset.emberExtension) {\n          var downloadURL;\n          if (_browserEnvironment.isChrome) {\n            downloadURL = 'https://chrome.google.com/webstore/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi';\n          } else if (_browserEnvironment.isFirefox) {\n            downloadURL = 'https://addons.mozilla.org/en-US/firefox/addon/ember-inspector/';\n          }\n          debug(`For more advanced debugging, install the Ember Inspector from ${downloadURL}`);\n        }\n      }, false);\n    }\n  }\n});","define(\"@ember/debug/lib/capture-render-tree\", [\"exports\", \"@glimmer/util\"], function (_exports, _util) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = captureRenderTree;\n  /**\n    @module @ember/debug\n  */\n\n  /**\n    Ember Inspector calls this function to capture the current render tree.\n  \n    In production mode, this requires turning on `ENV._DEBUG_RENDER_TREE`\n    before loading Ember.\n  \n    @private\n    @static\n    @method captureRenderTree\n    @for @ember/debug\n    @param app {ApplicationInstance} An `ApplicationInstance`.\n    @since 3.14.0\n  */\n\n  function captureRenderTree(app) {\n    var renderer = (0, _util.expect)(app.lookup('renderer:-dom'), `BUG: owner is missing renderer`);\n    return renderer.debugRenderTree.capture();\n  }\n});","define(\"@ember/debug/lib/deprecate\", [\"exports\", \"@ember/-internals/environment\", \"@ember/debug/index\", \"@ember/debug/lib/handlers\"], function (_exports, _environment, _index, _handlers) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.registerHandler = _exports.missingOptionsUntilDeprecation = _exports.missingOptionsSinceDeprecation = _exports.missingOptionsIdDeprecation = _exports.missingOptionsForDeprecation = _exports.missingOptionsDeprecation = _exports.default = _exports.SINCE_MISSING_DEPRECATIONS = _exports.FOR_MISSING_DEPRECATIONS = void 0;\n  /**\n   @module @ember/debug\n   @public\n  */\n\n  /**\n    Allows for runtime registration of handler functions that override the default deprecation behavior.\n    Deprecations are invoked by calls to [@ember/debug/deprecate](/ember/release/classes/@ember%2Fdebug/methods/deprecate?anchor=deprecate).\n    The following example demonstrates its usage by registering a handler that throws an error if the\n    message contains the word \"should\", otherwise defers to the default handler.\n  \n    ```javascript\n    import { registerDeprecationHandler } from '@ember/debug';\n  \n    registerDeprecationHandler((message, options, next) => {\n      if (message.indexOf('should') !== -1) {\n        throw new Error(`Deprecation message with should: ${message}`);\n      } else {\n        // defer to whatever handler was registered before this one\n        next(message, options);\n      }\n    });\n    ```\n  \n    The handler function takes the following arguments:\n  \n    <ul>\n      <li> <code>message</code> - The message received from the deprecation call.</li>\n      <li> <code>options</code> - An object passed in with the deprecation call containing additional information including:</li>\n        <ul>\n          <li> <code>id</code> - An id of the deprecation in the form of <code>package-name.specific-deprecation</code>.</li>\n          <li> <code>until</code> - The Ember version number the feature and deprecation will be removed in.</li>\n        </ul>\n      <li> <code>next</code> - A function that calls into the previously registered handler.</li>\n    </ul>\n  \n    @public\n    @static\n    @method registerDeprecationHandler\n    @for @ember/debug\n    @param handler {Function} A function to handle deprecation calls.\n    @since 2.1.0\n  */\n\n  var registerHandler = () => {};\n  _exports.registerHandler = registerHandler;\n  var missingOptionsDeprecation;\n  var missingOptionsIdDeprecation;\n  var missingOptionsUntilDeprecation;\n  var missingOptionsForDeprecation = () => '';\n  _exports.missingOptionsForDeprecation = missingOptionsForDeprecation;\n  var missingOptionsSinceDeprecation = () => '';\n  _exports.missingOptionsSinceDeprecation = missingOptionsSinceDeprecation;\n  var deprecate = () => {};\n  var FOR_MISSING_DEPRECATIONS = _exports.FOR_MISSING_DEPRECATIONS = new Set();\n  var SINCE_MISSING_DEPRECATIONS = _exports.SINCE_MISSING_DEPRECATIONS = new Set();\n  if (true /* DEBUG */) {\n    _exports.registerHandler = registerHandler = function registerHandler(handler) {\n      (0, _handlers.registerHandler)('deprecate', handler);\n    };\n    var formatMessage = function formatMessage(_message, options) {\n      var message = _message;\n      if (options && options.id) {\n        message = message + ` [deprecation id: ${options.id}]`;\n      }\n      if (options && options.url) {\n        message += ` See ${options.url} for more details.`;\n      }\n      return message;\n    };\n    registerHandler(function logDeprecationToConsole(message, options) {\n      var updatedMessage = formatMessage(message, options);\n      console.warn(`DEPRECATION: ${updatedMessage}`); // eslint-disable-line no-console\n    });\n    var captureErrorForStack;\n    if (new Error().stack) {\n      captureErrorForStack = () => new Error();\n    } else {\n      captureErrorForStack = () => {\n        try {\n          __fail__.fail();\n        } catch (e) {\n          return e;\n        }\n      };\n    }\n    registerHandler(function logDeprecationStackTrace(message, options, next) {\n      if (_environment.ENV.LOG_STACKTRACE_ON_DEPRECATION) {\n        var stackStr = '';\n        var error = captureErrorForStack();\n        var stack;\n        if (error.stack) {\n          if (error['arguments']) {\n            // Chrome\n            stack = error.stack.replace(/^\\s+at\\s+/gm, '').replace(/^([^(]+?)([\\n$])/gm, '{anonymous}($1)$2').replace(/^Object.<anonymous>\\s*\\(([^)]+)\\)/gm, '{anonymous}($1)').split('\\n');\n            stack.shift();\n          } else {\n            // Firefox\n            stack = error.stack.replace(/(?:\\n@:0)?\\s+$/m, '').replace(/^\\(/gm, '{anonymous}(').split('\\n');\n          }\n          stackStr = `\\n    ${stack.slice(2).join('\\n    ')}`;\n        }\n        var updatedMessage = formatMessage(message, options);\n        console.warn(`DEPRECATION: ${updatedMessage}${stackStr}`); // eslint-disable-line no-console\n      } else {\n        next(message, options);\n      }\n    });\n    registerHandler(function raiseOnDeprecation(message, options, next) {\n      if (_environment.ENV.RAISE_ON_DEPRECATION) {\n        var updatedMessage = formatMessage(message);\n        throw new Error(updatedMessage);\n      } else {\n        next(message, options);\n      }\n    });\n    _exports.missingOptionsDeprecation = missingOptionsDeprecation = 'When calling `deprecate` you ' + 'must provide an `options` hash as the third parameter.  ' + '`options` should include `id` and `until` properties.';\n    _exports.missingOptionsIdDeprecation = missingOptionsIdDeprecation = 'When calling `deprecate` you must provide `id` in options.';\n    _exports.missingOptionsUntilDeprecation = missingOptionsUntilDeprecation = 'When calling `deprecate` you must provide `until` in options.';\n    _exports.missingOptionsForDeprecation = missingOptionsForDeprecation = id => {\n      return `When calling \\`deprecate\\` you must provide \\`for\\` in options. Missing options.for in \"${id}\" deprecation`;\n    };\n    _exports.missingOptionsSinceDeprecation = missingOptionsSinceDeprecation = id => {\n      return `When calling \\`deprecate\\` you must provide \\`since\\` in options. Missing options.since in \"${id}\" deprecation`;\n    };\n    /**\n     @module @ember/debug\n     @public\n     */\n\n    /**\n      Display a deprecation warning with the provided message and a stack trace\n      (Chrome and Firefox only).\n         * In a production build, this method is defined as an empty function (NOP).\n      Uses of this method in Ember itself are stripped from the ember.prod.js build.\n         @method deprecate\n      @for @ember/debug\n      @param {String} message A description of the deprecation.\n      @param {Boolean} test A boolean. If falsy, the deprecation will be displayed.\n      @param {Object} options\n      @param {String} options.id A unique id for this deprecation. The id can be\n        used by Ember debugging tools to change the behavior (raise, log or silence)\n        for that specific deprecation. The id should be namespaced by dots, e.g.\n        \"view.helper.select\".\n      @param {string} options.until The version of Ember when this deprecation\n        warning will be removed.\n      @param {String} options.for A namespace for the deprecation, usually the package name\n      @param {Object} options.since Describes when the deprecation became available and enabled.\n      @param {String} [options.url] An optional url to the transition guide on the\n            emberjs.com website.\n      @static\n      @public\n      @since 1.0.0\n    */\n\n    deprecate = function deprecate(message, test, options) {\n      (0, _index.assert)(missingOptionsDeprecation, Boolean(options && (options.id || options.until)));\n      (0, _index.assert)(missingOptionsIdDeprecation, Boolean(options.id));\n      (0, _index.assert)(missingOptionsUntilDeprecation, Boolean(options.until));\n      if (!options.for && !FOR_MISSING_DEPRECATIONS.has(options.id)) {\n        FOR_MISSING_DEPRECATIONS.add(options.id);\n        deprecate(missingOptionsForDeprecation(options.id), Boolean(options.for), {\n          id: 'ember-source.deprecation-without-for',\n          until: '4.0.0',\n          for: 'ember-source',\n          since: {\n            enabled: '3.24.0'\n          }\n        });\n      }\n      if (!options.since && !SINCE_MISSING_DEPRECATIONS.has(options.id)) {\n        SINCE_MISSING_DEPRECATIONS.add(options.id);\n        deprecate(missingOptionsSinceDeprecation(options.id), Boolean(options.since), {\n          id: 'ember-source.deprecation-without-since',\n          until: '4.0.0',\n          for: 'ember-source',\n          since: {\n            enabled: '3.24.0'\n          }\n        });\n      }\n      (0, _handlers.invoke)('deprecate', message, test, options);\n    };\n  }\n  var _default = _exports.default = deprecate;\n});","define(\"@ember/debug/lib/handlers\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.registerHandler = _exports.invoke = _exports.HANDLERS = void 0;\n  var HANDLERS = _exports.HANDLERS = {};\n  var registerHandler = () => {};\n  _exports.registerHandler = registerHandler;\n  var invoke = () => {};\n  _exports.invoke = invoke;\n  if (true /* DEBUG */) {\n    _exports.registerHandler = registerHandler = function registerHandler(type, callback) {\n      var nextHandler = HANDLERS[type] || (() => {});\n      HANDLERS[type] = (message, options) => {\n        callback(message, options, nextHandler);\n      };\n    };\n    _exports.invoke = invoke = function invoke(type, message, test, options) {\n      if (test) {\n        return;\n      }\n      var handlerForType = HANDLERS[type];\n      if (handlerForType) {\n        handlerForType(message, options);\n      }\n    };\n  }\n});","define(\"@ember/debug/lib/testing\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.isTesting = isTesting;\n  _exports.setTesting = setTesting;\n  var testing = false;\n  function isTesting() {\n    return testing;\n  }\n  function setTesting(value) {\n    testing = Boolean(value);\n  }\n});","define(\"@ember/debug/lib/warn\", [\"exports\", \"@ember/debug/index\", \"@ember/debug/lib/handlers\"], function (_exports, _index, _handlers) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.registerHandler = _exports.missingOptionsIdDeprecation = _exports.missingOptionsDeprecation = _exports.default = void 0;\n  var registerHandler = () => {};\n  _exports.registerHandler = registerHandler;\n  var warn = () => {};\n  var missingOptionsDeprecation;\n  var missingOptionsIdDeprecation;\n  /**\n  @module @ember/debug\n  */\n\n  if (true /* DEBUG */) {\n    /**\n      Allows for runtime registration of handler functions that override the default warning behavior.\n      Warnings are invoked by calls made to [@ember/debug/warn](/ember/release/classes/@ember%2Fdebug/methods/warn?anchor=warn).\n      The following example demonstrates its usage by registering a handler that does nothing overriding Ember's\n      default warning behavior.\n         ```javascript\n      import { registerWarnHandler } from '@ember/debug';\n         // next is not called, so no warnings get the default behavior\n      registerWarnHandler(() => {});\n      ```\n         The handler function takes the following arguments:\n         <ul>\n        <li> <code>message</code> - The message received from the warn call. </li>\n        <li> <code>options</code> - An object passed in with the warn call containing additional information including:</li>\n          <ul>\n            <li> <code>id</code> - An id of the warning in the form of <code>package-name.specific-warning</code>.</li>\n          </ul>\n        <li> <code>next</code> - A function that calls into the previously registered handler.</li>\n      </ul>\n         @public\n      @static\n      @method registerWarnHandler\n      @for @ember/debug\n      @param handler {Function} A function to handle warnings.\n      @since 2.1.0\n    */\n    _exports.registerHandler = registerHandler = function registerHandler(handler) {\n      (0, _handlers.registerHandler)('warn', handler);\n    };\n    registerHandler(function logWarning(message) {\n      /* eslint-disable no-console */\n      console.warn(`WARNING: ${message}`);\n      /* eslint-enable no-console */\n    });\n    _exports.missingOptionsDeprecation = missingOptionsDeprecation = 'When calling `warn` you ' + 'must provide an `options` hash as the third parameter.  ' + '`options` should include an `id` property.';\n    _exports.missingOptionsIdDeprecation = missingOptionsIdDeprecation = 'When calling `warn` you must provide `id` in options.';\n    /**\n      Display a warning with the provided message.\n         * In a production build, this method is defined as an empty function (NOP).\n      Uses of this method in Ember itself are stripped from the ember.prod.js build.\n         ```javascript\n      import { warn } from '@ember/debug';\n      import tomsterCount from './tomster-counter'; // a module in my project\n         // Log a warning if we have more than 3 tomsters\n      warn('Too many tomsters!', tomsterCount <= 3, {\n        id: 'ember-debug.too-many-tomsters'\n      });\n      ```\n         @method warn\n      @for @ember/debug\n      @static\n      @param {String} message A warning to display.\n      @param {Boolean} test An optional boolean. If falsy, the warning\n        will be displayed.\n      @param {Object} options An object that can be used to pass a unique\n        `id` for this warning.  The `id` can be used by Ember debugging tools\n        to change the behavior (raise, log, or silence) for that specific warning.\n        The `id` should be namespaced by dots, e.g. \"ember-debug.feature-flag-with-features-stripped\"\n      @public\n      @since 1.0.0\n    */\n\n    warn = function warn(message, test, options) {\n      if (arguments.length === 2 && typeof test === 'object') {\n        options = test;\n        test = false;\n      }\n      (0, _index.assert)(missingOptionsDeprecation, Boolean(options));\n      (0, _index.assert)(missingOptionsIdDeprecation, Boolean(options && options.id));\n      (0, _handlers.invoke)('warn', message, test, options);\n    };\n  }\n  var _default = _exports.default = warn;\n});","define(\"@ember/deprecated-features/index\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.SEND_ACTION = _exports.ROUTER_EVENTS = _exports.PARTIALS = _exports.MOUSE_ENTER_LEAVE_MOVE_EVENTS = _exports.MERGE = _exports.LOGGER = _exports.JQUERY_INTEGRATION = _exports.GLOBALS_RESOLVER = _exports.FUNCTION_PROTOTYPE_EXTENSIONS = _exports.EMBER_EXTEND_PROTOTYPES = _exports.EMBER_COMPONENT_IS_VISIBLE = _exports.COMPONENT_MANAGER_STRING_LOOKUP = _exports.APP_CTRL_ROUTER_PROPS = _exports.ALIAS_METHOD = void 0;\n  /* eslint-disable no-implicit-coercion */\n  // These versions should be the version that the deprecation was _introduced_,\n  // not the version that the feature will be removed.\n  var SEND_ACTION = _exports.SEND_ACTION = !!'3.4.0';\n  var EMBER_EXTEND_PROTOTYPES = _exports.EMBER_EXTEND_PROTOTYPES = !!'3.2.0-beta.5';\n  var LOGGER = _exports.LOGGER = !!'3.2.0-beta.1';\n  var MERGE = _exports.MERGE = !!'3.6.0-beta.1';\n  var ROUTER_EVENTS = _exports.ROUTER_EVENTS = !!'4.0.0';\n  var COMPONENT_MANAGER_STRING_LOOKUP = _exports.COMPONENT_MANAGER_STRING_LOOKUP = !!'3.8.0';\n  var JQUERY_INTEGRATION = _exports.JQUERY_INTEGRATION = !!'3.9.0';\n  var ALIAS_METHOD = _exports.ALIAS_METHOD = !!'3.9.0';\n  var APP_CTRL_ROUTER_PROPS = _exports.APP_CTRL_ROUTER_PROPS = !!'3.10.0-beta.1';\n  var FUNCTION_PROTOTYPE_EXTENSIONS = _exports.FUNCTION_PROTOTYPE_EXTENSIONS = !!'3.11.0-beta.1';\n  var MOUSE_ENTER_LEAVE_MOVE_EVENTS = _exports.MOUSE_ENTER_LEAVE_MOVE_EVENTS = !!'3.13.0-beta.1';\n  var EMBER_COMPONENT_IS_VISIBLE = _exports.EMBER_COMPONENT_IS_VISIBLE = !!'3.15.0-beta.1';\n  var PARTIALS = _exports.PARTIALS = !!'3.15.0-beta.1';\n  var GLOBALS_RESOLVER = _exports.GLOBALS_RESOLVER = !!'3.16.0-beta.1';\n});","define(\"@ember/destroyable/index\", [\"exports\", \"@glimmer/destroyable\"], function (_exports, _destroyable) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"assertDestroyablesDestroyed\", {\n    enumerable: true,\n    get: function () {\n      return _destroyable.assertDestroyablesDestroyed;\n    }\n  });\n  Object.defineProperty(_exports, \"associateDestroyableChild\", {\n    enumerable: true,\n    get: function () {\n      return _destroyable.associateDestroyableChild;\n    }\n  });\n  Object.defineProperty(_exports, \"destroy\", {\n    enumerable: true,\n    get: function () {\n      return _destroyable.destroy;\n    }\n  });\n  Object.defineProperty(_exports, \"enableDestroyableTracking\", {\n    enumerable: true,\n    get: function () {\n      return _destroyable.enableDestroyableTracking;\n    }\n  });\n  Object.defineProperty(_exports, \"isDestroyed\", {\n    enumerable: true,\n    get: function () {\n      return _destroyable.isDestroyed;\n    }\n  });\n  Object.defineProperty(_exports, \"isDestroying\", {\n    enumerable: true,\n    get: function () {\n      return _destroyable.isDestroying;\n    }\n  });\n  _exports.registerDestructor = registerDestructor;\n  _exports.unregisterDestructor = unregisterDestructor;\n  /**\n    Ember manages the lifecycles and lifetimes of many built in constructs, such\n    as components, and does so in a hierarchical way - when a parent component is\n    destroyed, all of its children are destroyed as well.\n  \n    This destroyables API exposes the basic building blocks for destruction:\n  \n    * registering a function to be ran when an object is destroyyed\n    * checking if an object is in a destroying state\n    * associate an object as a child of another so that the child object will be destroyed\n      when the associated parent object is destroyed.\n  \n    @module @ember/destroyable\n    @public\n  */\n\n  /**\n    This function is used to associate a destroyable object with a parent. When the parent\n    is destroyed, all registered children will also be destroyed.\n  \n    ```js\n    class CustomSelect extends Component {\n      constructor() {\n        // obj is now a child of the component. When the component is destroyed,\n        // obj will also be destroyed, and have all of its destructors triggered.\n        this.obj = associateDestroyableChild(this, {});\n      }\n    }\n    ```\n  \n    Returns the associated child for convenience.\n  \n    @method associateDestroyableChild\n    @for @ember/destroyable\n    @param {Object|Function} parent the destroyable to entangle the child destroyables lifetime with\n    @param {Object|Function} child the destroyable to be entangled with the parents lifetime\n    @returns {Object|Function} the child argument\n    @static\n    @public\n  */\n\n  /**\n   Receives a destroyable, and returns true if the destroyable has begun destroying. Otherwise returns\n   false.\n  \n    ```js\n    let obj = {};\n    isDestroying(obj); // false\n    destroy(obj);\n    isDestroying(obj); // true\n    // ...sometime later, after scheduled destruction\n    isDestroyed(obj); // true\n    isDestroying(obj); // true\n    ```\n  \n    @method isDestroying\n    @for @ember/destroyable\n    @param {Object|Function} destroyable the object to check\n    @returns {Boolean}\n    @static\n    @public\n  */\n\n  /**\n    Receives a destroyable, and returns true if the destroyable has finished destroying. Otherwise\n    returns false.\n  \n    ```js\n    let obj = {};\n  \n    isDestroyed(obj); // false\n    destroy(obj);\n  \n    // ...sometime later, after scheduled destruction\n  \n    isDestroyed(obj); // true\n    ```\n  \n    @method isDestroyed\n    @for @ember/destroyable\n    @param {Object|Function} destroyable the object to check\n    @returns {Boolean}\n    @static\n    @public\n  */\n\n  /**\n    Initiates the destruction of a destroyable object. It runs all associated destructors, and then\n    destroys all children recursively.\n  \n    ```js\n    let obj = {};\n  \n    registerDestructor(obj, () => console.log('destroyed!'));\n  \n    destroy(obj); // this will schedule the destructor to be called\n  \n    // ...some time later, during scheduled destruction\n  \n    // destroyed!\n    ```\n  \n    Destruction via `destroy()` follows these steps:\n  \n    1, Mark the destroyable such that `isDestroying(destroyable)` returns `true`\n    2, Call `destroy()` on each of the destroyable's associated children\n    3, Schedule calling the destroyable's destructors\n    4, Schedule setting destroyable such that `isDestroyed(destroyable)` returns `true`\n  \n    This results in the entire tree of destroyables being first marked as destroying,\n    then having all of their destructors called, and finally all being marked as isDestroyed.\n    There won't be any in between states where some items are marked as `isDestroying` while\n    destroying, while others are not.\n  \n    @method destroy\n    @for @ember/destroyable\n    @param {Object|Function} destroyable the object to destroy\n    @static\n    @public\n  */\n\n  /**\n    This function asserts that all objects which have associated destructors or associated children\n    have been destroyed at the time it is called. It is meant to be a low level hook that testing\n    frameworks can use to hook into and validate that all destroyables have in fact been destroyed.\n  \n    This function requires that `enableDestroyableTracking` was called previously, and is only\n    available in non-production builds.\n  \n    @method assertDestroyablesDestroyed\n    @for @ember/destroyable\n    @static\n    @public\n  */\n\n  /**\n    This function instructs the destroyable system to keep track of all destroyables (their\n    children, destructors, etc). This enables a future usage of `assertDestroyablesDestroyed`\n    to be used to ensure that all destroyable tasks (registered destructors and associated children)\n    have completed when `assertDestroyablesDestroyed` is called.\n  \n    @method enableDestroyableTracking\n    @for @ember/destroyable\n    @static\n    @public\n  */\n\n  /**\n    Receives a destroyable object and a destructor function, and associates the\n    function with it. When the destroyable is destroyed with destroy, or when its\n    parent is destroyed, the destructor function will be called.\n  \n    ```js\n    import { registerDestructor } from '@ember/destroyable';\n  \n    class Modal extends Component {\n      @service resize;\n  \n      constructor() {\n        this.resize.register(this, this.layout);\n  \n        registerDestructor(this, () => this.resize.unregister(this));\n      }\n    }\n    ```\n  \n    Multiple destructors can be associated with a given destroyable, and they can be\n    associated over time, allowing libraries to dynamically add destructors as needed.\n    `registerDestructor` also returns the associated destructor function, for convenience.\n  \n    The destructor function is passed a single argument, which is the destroyable itself.\n    This allows the function to be reused multiple times for many destroyables, rather\n    than creating a closure function per destroyable.\n  \n    ```js\n    import { registerDestructor } from '@ember/destroyable';\n  \n    function unregisterResize(instance) {\n      instance.resize.unregister(instance);\n    }\n  \n    class Modal extends Component {\n      @service resize;\n  \n      constructor() {\n        this.resize.register(this, this.layout);\n  \n        registerDestructor(this, unregisterResize);\n      }\n    }\n    ```\n  \n    @method registerDestructor\n    @for @ember/destroyable\n    @param {Object|Function} destroyable the destroyable to register the destructor function with\n    @param {Function} destructor the destructor to run when the destroyable object is destroyed\n    @static\n    @public\n  */\n\n  function registerDestructor(destroyable, destructor) {\n    return (0, _destroyable.registerDestructor)(destroyable, destructor);\n  }\n  /**\n    Receives a destroyable and a destructor function, and de-associates the destructor\n    from the destroyable.\n  \n    ```js\n    import { registerDestructor, unregisterDestructor } from '@ember/destroyable';\n  \n    class Modal extends Component {\n      @service modals;\n  \n      constructor() {\n        this.modals.add(this);\n  \n        this.modalDestructor = registerDestructor(this, () => this.modals.remove(this));\n      }\n  \n      @action pinModal() {\n        unregisterDestructor(this, this.modalDestructor);\n      }\n    }\n    ```\n  \n    @method unregisterDestructor\n    @for @ember/destroyable\n    @param {Object|Function} destroyable the destroyable to unregister the destructor function from\n    @param {Function} destructor the destructor to remove from the destroyable\n    @static\n    @public\n  */\n\n  function unregisterDestructor(destroyable, destructor) {\n    return (0, _destroyable.unregisterDestructor)(destroyable, destructor);\n  }\n});","define(\"@ember/engine/index\", [\"exports\", \"@ember/engine/lib/engine-parent\", \"@ember/-internals/utils\", \"@ember/controller\", \"@ember/-internals/runtime\", \"@ember/-internals/container\", \"dag-map\", \"@ember/debug\", \"@ember/-internals/metal\", \"@ember/application/globals-resolver\", \"@ember/engine/instance\", \"@ember/-internals/routing\", \"@ember/-internals/extension-support\", \"@ember/-internals/views\", \"@ember/-internals/glimmer\"], function (_exports, _engineParent, _utils, _controller, _runtime, _container, _dagMap, _debug, _metal, _globalsResolver, _instance, _routing, _extensionSupport, _views, _glimmer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  Object.defineProperty(_exports, \"getEngineParent\", {\n    enumerable: true,\n    get: function () {\n      return _engineParent.getEngineParent;\n    }\n  });\n  Object.defineProperty(_exports, \"setEngineParent\", {\n    enumerable: true,\n    get: function () {\n      return _engineParent.setEngineParent;\n    }\n  });\n  function props(obj) {\n    var properties = [];\n    for (var key in obj) {\n      properties.push(key);\n    }\n    return properties;\n  }\n  /**\n  @module @ember/engine\n  */\n\n  /**\n    The `Engine` class contains core functionality for both applications and\n    engines.\n  \n    Each engine manages a registry that's used for dependency injection and\n    exposed through `RegistryProxy`.\n  \n    Engines also manage initializers and instance initializers.\n  \n    Engines can spawn `EngineInstance` instances via `buildInstance()`.\n  \n    @class Engine\n    @extends Ember.Namespace\n    @uses RegistryProxy\n    @public\n  */\n\n  var Engine = _runtime.Namespace.extend(_runtime.RegistryProxyMixin, {\n    init() {\n      this._super(...arguments);\n      this.buildRegistry();\n    },\n    /**\n      A private flag indicating whether an engine's initializers have run yet.\n       @private\n      @property _initializersRan\n    */\n    _initializersRan: false,\n    /**\n      Ensure that initializers are run once, and only once, per engine.\n       @private\n      @method ensureInitializers\n    */\n    ensureInitializers() {\n      if (!this._initializersRan) {\n        this.runInitializers();\n        this._initializersRan = true;\n      }\n    },\n    /**\n      Create an EngineInstance for this engine.\n       @public\n      @method buildInstance\n      @return {EngineInstance} the engine instance\n    */\n    buildInstance(options = {}) {\n      this.ensureInitializers();\n      options.base = this;\n      return _instance.default.create(options);\n    },\n    /**\n      Build and configure the registry for the current engine.\n       @private\n      @method buildRegistry\n      @return {Ember.Registry} the configured registry\n    */\n    buildRegistry() {\n      var registry = this.__registry__ = this.constructor.buildRegistry(this);\n      return registry;\n    },\n    /**\n      @private\n      @method initializer\n    */\n    initializer(options) {\n      this.constructor.initializer(options);\n    },\n    /**\n      @private\n      @method instanceInitializer\n    */\n    instanceInitializer(options) {\n      this.constructor.instanceInitializer(options);\n    },\n    /**\n      @private\n      @method runInitializers\n    */\n    runInitializers() {\n      this._runInitializer('initializers', (name, initializer) => {\n        (true && !(Boolean(initializer)) && (0, _debug.assert)(`No application initializer named '${name}'`, Boolean(initializer)));\n        initializer.initialize(this);\n      });\n    },\n    /**\n      @private\n      @since 1.12.0\n      @method runInstanceInitializers\n    */\n    runInstanceInitializers(instance) {\n      this._runInitializer('instanceInitializers', (name, initializer) => {\n        (true && !(Boolean(initializer)) && (0, _debug.assert)(`No instance initializer named '${name}'`, Boolean(initializer)));\n        initializer.initialize(instance);\n      });\n    },\n    _runInitializer(bucketName, cb) {\n      var initializersByName = (0, _metal.get)(this.constructor, bucketName);\n      var initializers = props(initializersByName);\n      var graph = new _dagMap.default();\n      var initializer;\n      for (var i = 0; i < initializers.length; i++) {\n        initializer = initializersByName[initializers[i]];\n        graph.add(initializer.name, initializer, initializer.before, initializer.after);\n      }\n      graph.topsort(cb);\n    }\n  });\n  Engine.reopenClass({\n    initializers: Object.create(null),\n    instanceInitializers: Object.create(null),\n    /**\n      The goal of initializers should be to register dependencies and injections.\n      This phase runs once. Because these initializers may load code, they are\n      allowed to defer application readiness and advance it. If you need to access\n      the container or store you should use an InstanceInitializer that will be run\n      after all initializers and therefore after all code is loaded and the app is\n      ready.\n       Initializer receives an object which has the following attributes:\n      `name`, `before`, `after`, `initialize`. The only required attribute is\n      `initialize`, all others are optional.\n       * `name` allows you to specify under which name the initializer is registered.\n      This must be a unique name, as trying to register two initializers with the\n      same name will result in an error.\n       ```app/initializer/named-initializer.js\n      import { debug } from '@ember/debug';\n       export function initialize() {\n        debug('Running namedInitializer!');\n      }\n       export default {\n        name: 'named-initializer',\n        initialize\n      };\n      ```\n       * `before` and `after` are used to ensure that this initializer is ran prior\n      or after the one identified by the value. This value can be a single string\n      or an array of strings, referencing the `name` of other initializers.\n       An example of ordering initializers, we create an initializer named `first`:\n       ```app/initializer/first.js\n      import { debug } from '@ember/debug';\n       export function initialize() {\n        debug('First initializer!');\n      }\n       export default {\n        name: 'first',\n        initialize\n      };\n      ```\n       ```bash\n      // DEBUG: First initializer!\n      ```\n       We add another initializer named `second`, specifying that it should run\n      after the initializer named `first`:\n       ```app/initializer/second.js\n      import { debug } from '@ember/debug';\n       export function initialize() {\n        debug('Second initializer!');\n      }\n       export default {\n        name: 'second',\n        after: 'first',\n        initialize\n      };\n      ```\n       ```\n      // DEBUG: First initializer!\n      // DEBUG: Second initializer!\n      ```\n       Afterwards we add a further initializer named `pre`, this time specifying\n      that it should run before the initializer named `first`:\n       ```app/initializer/pre.js\n      import { debug } from '@ember/debug';\n       export function initialize() {\n        debug('Pre initializer!');\n      }\n       export default {\n        name: 'pre',\n        before: 'first',\n        initialize\n      };\n      ```\n       ```bash\n      // DEBUG: Pre initializer!\n      // DEBUG: First initializer!\n      // DEBUG: Second initializer!\n      ```\n       Finally we add an initializer named `post`, specifying it should run after\n      both the `first` and the `second` initializers:\n       ```app/initializer/post.js\n      import { debug } from '@ember/debug';\n       export function initialize() {\n        debug('Post initializer!');\n      }\n       export default {\n        name: 'post',\n        after: ['first', 'second'],\n        initialize\n      };\n      ```\n       ```bash\n      // DEBUG: Pre initializer!\n      // DEBUG: First initializer!\n      // DEBUG: Second initializer!\n      // DEBUG: Post initializer!\n      ```\n       * `initialize` is a callback function that receives one argument,\n        `application`, on which you can operate.\n       Example of using `application` to register an adapter:\n       ```app/initializer/api-adapter.js\n      import ApiAdapter from '../utils/api-adapter';\n       export function initialize(application) {\n        application.register('api-adapter:main', ApiAdapter);\n      }\n       export default {\n        name: 'post',\n        after: ['first', 'second'],\n        initialize\n      };\n      ```\n       @method initializer\n      @param initializer {Object}\n      @public\n    */\n    initializer: buildInitializerMethod('initializers', 'initializer'),\n    /**\n      Instance initializers run after all initializers have run. Because\n      instance initializers run after the app is fully set up. We have access\n      to the store, container, and other items. However, these initializers run\n      after code has loaded and are not allowed to defer readiness.\n       Instance initializer receives an object which has the following attributes:\n      `name`, `before`, `after`, `initialize`. The only required attribute is\n      `initialize`, all others are optional.\n       * `name` allows you to specify under which name the instanceInitializer is\n      registered. This must be a unique name, as trying to register two\n      instanceInitializer with the same name will result in an error.\n       ```app/initializer/named-instance-initializer.js\n      import { debug } from '@ember/debug';\n       export function initialize() {\n        debug('Running named-instance-initializer!');\n      }\n       export default {\n        name: 'named-instance-initializer',\n        initialize\n      };\n      ```\n       * `before` and `after` are used to ensure that this initializer is ran prior\n      or after the one identified by the value. This value can be a single string\n      or an array of strings, referencing the `name` of other initializers.\n       * See Application.initializer for discussion on the usage of before\n      and after.\n       Example instanceInitializer to preload data into the store.\n       ```app/initializer/preload-data.js\n      import $ from 'jquery';\n       export function initialize(application) {\n          var userConfig, userConfigEncoded, store;\n          // We have a HTML escaped JSON representation of the user's basic\n          // configuration generated server side and stored in the DOM of the main\n          // index.html file. This allows the app to have access to a set of data\n          // without making any additional remote calls. Good for basic data that is\n          // needed for immediate rendering of the page. Keep in mind, this data,\n          // like all local models and data can be manipulated by the user, so it\n          // should not be relied upon for security or authorization.\n           // Grab the encoded data from the meta tag\n          userConfigEncoded = $('head meta[name=app-user-config]').attr('content');\n           // Unescape the text, then parse the resulting JSON into a real object\n          userConfig = JSON.parse(unescape(userConfigEncoded));\n           // Lookup the store\n          store = application.lookup('service:store');\n           // Push the encoded JSON into the store\n          store.pushPayload(userConfig);\n      }\n       export default {\n        name: 'named-instance-initializer',\n        initialize\n      };\n      ```\n       @method instanceInitializer\n      @param instanceInitializer\n      @public\n    */\n    instanceInitializer: buildInitializerMethod('instanceInitializers', 'instance initializer'),\n    /**\n      This creates a registry with the default Ember naming conventions.\n       It also configures the registry:\n       * registered views are created every time they are looked up (they are\n        not singletons)\n      * registered templates are not factories; the registered value is\n        returned directly.\n      * the router receives the application as its `namespace` property\n      * all controllers receive the router as their `target` and `controllers`\n        properties\n      * all controllers receive the application as their `namespace` property\n      * the application view receives the application controller as its\n        `controller` property\n      * the application view receives the application template as its\n        `defaultTemplate` property\n       @method buildRegistry\n      @static\n      @param {Application} namespace the application for which to\n        build the registry\n      @return {Ember.Registry} the built registry\n      @private\n    */\n    buildRegistry(namespace) {\n      var registry = new _container.Registry({\n        resolver: resolverFor(namespace)\n      });\n      registry.set = _metal.set;\n      registry.register('application:main', namespace, {\n        instantiate: false\n      });\n      commonSetupRegistry(registry);\n      (0, _glimmer.setupEngineRegistry)(registry);\n      return registry;\n    },\n    /**\n      Set this to provide an alternate class to `DefaultResolver`\n       @deprecated Use 'Resolver' instead\n      @property resolver\n      @public\n    */\n    resolver: null,\n    /**\n      Set this to provide an alternate class to `DefaultResolver`\n       @property resolver\n      @public\n    */\n    Resolver: null\n  });\n  /**\n    This function defines the default lookup rules for container lookups:\n  \n    * templates are looked up on `Ember.TEMPLATES`\n    * other names are looked up on the application after classifying the name.\n      For example, `controller:post` looks up `App.PostController` by default.\n    * if the default lookup fails, look for registered classes on the container\n  \n    This allows the application to register default injections in the container\n    that could be overridden by the normal naming convention.\n  \n    @private\n    @method resolverFor\n    @param {Ember.Namespace} namespace the namespace to look for classes\n    @return {*} the resolved value for a given lookup\n  */\n\n  function resolverFor(namespace) {\n    var ResolverClass = (0, _metal.get)(namespace, 'Resolver') || _globalsResolver.default;\n    var props = {\n      namespace\n    };\n    return ResolverClass.create(props);\n  }\n  function buildInitializerMethod(bucketName, humanName) {\n    return function (initializer) {\n      // If this is the first initializer being added to a subclass, we are going to reopen the class\n      // to make sure we have a new `initializers` object, which extends from the parent class' using\n      // prototypal inheritance. Without this, attempting to add initializers to the subclass would\n      // pollute the parent class as well as other subclasses.\n      if (this.superclass[bucketName] !== undefined && this.superclass[bucketName] === this[bucketName]) {\n        var attrs = {};\n        attrs[bucketName] = Object.create(this[bucketName]);\n        this.reopenClass(attrs);\n      }\n      (true && !(!this[bucketName][initializer.name]) && (0, _debug.assert)(`The ${humanName} '${initializer.name}' has already been registered`, !this[bucketName][initializer.name]));\n      (true && !((0, _utils.canInvoke)(initializer, 'initialize')) && (0, _debug.assert)(`An ${humanName} cannot be registered without an initialize function`, (0, _utils.canInvoke)(initializer, 'initialize')));\n      (true && !(initializer.name !== undefined) && (0, _debug.assert)(`An ${humanName} cannot be registered without a name property`, initializer.name !== undefined));\n      this[bucketName][initializer.name] = initializer;\n    };\n  }\n  function commonSetupRegistry(registry) {\n    registry.optionsForType('component', {\n      singleton: false\n    });\n    registry.optionsForType('view', {\n      singleton: false\n    });\n    registry.register('controller:basic', _controller.default, {\n      instantiate: false\n    });\n    registry.injection('renderer', '_viewRegistry', '-view-registry:main');\n    registry.injection('view:-outlet', 'namespace', 'application:main'); // Register the routing service...\n\n    registry.register('service:-routing', _routing.RoutingService); // DEBUGGING\n\n    registry.register('resolver-for-debugging:main', registry.resolver, {\n      instantiate: false\n    });\n    registry.injection('container-debug-adapter:main', 'resolver', 'resolver-for-debugging:main'); // Custom resolver authors may want to register their own ContainerDebugAdapter with this key\n\n    registry.register('container-debug-adapter:main', _extensionSupport.ContainerDebugAdapter);\n    registry.register('component-lookup:main', _views.ComponentLookup);\n  }\n  var _default = _exports.default = Engine;\n});","define(\"@ember/engine/instance\", [\"exports\", \"@ember/-internals/runtime\", \"@ember/debug\", \"@ember/error\", \"@ember/-internals/container\", \"@ember/-internals/utils\", \"@ember/engine/lib/engine-parent\"], function (_exports, _runtime, _debug, _error, _container, _utils, _engineParent) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n  @module @ember/engine\n  */\n\n  /**\n    The `EngineInstance` encapsulates all of the stateful aspects of a\n    running `Engine`.\n  \n    @public\n    @class EngineInstance\n    @extends EmberObject\n    @uses RegistryProxyMixin\n    @uses ContainerProxyMixin\n  */\n\n  var EngineInstance = _runtime.Object.extend(_runtime.RegistryProxyMixin, _runtime.ContainerProxyMixin, {\n    /**\n      The base `Engine` for which this is an instance.\n       @property {Engine} engine\n      @private\n    */\n    base: null,\n    init() {\n      this._super(...arguments); // Ensure the guid gets setup for this instance\n\n      (0, _utils.guidFor)(this);\n      var base = this.base;\n      if (!base) {\n        base = this.application;\n        this.base = base;\n      } // Create a per-instance registry that will use the application's registry\n      // as a fallback for resolving registrations.\n\n      var registry = this.__registry__ = new _container.Registry({\n        fallback: base.__registry__\n      }); // Create a per-instance container from the instance's registry\n\n      this.__container__ = registry.container({\n        owner: this\n      });\n      this._booted = false;\n    },\n    /**\n      Initialize the `EngineInstance` and return a promise that resolves\n      with the instance itself when the boot process is complete.\n       The primary task here is to run any registered instance initializers.\n       See the documentation on `BootOptions` for the options it takes.\n       @public\n      @method boot\n      @param options {Object}\n      @return {Promise<EngineInstance,Error>}\n    */\n    boot(options) {\n      if (this._bootPromise) {\n        return this._bootPromise;\n      }\n      this._bootPromise = new _runtime.RSVP.Promise(resolve => resolve(this._bootSync(options)));\n      return this._bootPromise;\n    },\n    /**\n      Unfortunately, a lot of existing code assumes booting an instance is\n      synchronous – specifically, a lot of tests assume the last call to\n      `app.advanceReadiness()` or `app.reset()` will result in a new instance\n      being fully-booted when the current runloop completes.\n       We would like new code (like the `visit` API) to stop making this\n      assumption, so we created the asynchronous version above that returns a\n      promise. But until we have migrated all the code, we would have to expose\n      this method for use *internally* in places where we need to boot an instance\n      synchronously.\n       @private\n    */\n    _bootSync(options) {\n      if (this._booted) {\n        return this;\n      }\n      (true && !((0, _engineParent.getEngineParent)(this)) && (0, _debug.assert)(\"An engine instance's parent must be set via `setEngineParent(engine, parent)` prior to calling `engine.boot()`.\", (0, _engineParent.getEngineParent)(this)));\n      this.cloneParentDependencies();\n      this.setupRegistry(options);\n      this.base.runInstanceInitializers(this);\n      this._booted = true;\n      return this;\n    },\n    setupRegistry(options = this.__container__.lookup('-environment:main')) {\n      this.constructor.setupRegistry(this.__registry__, options);\n    },\n    /**\n     Unregister a factory.\n      Overrides `RegistryProxy#unregister` in order to clear any cached instances\n     of the unregistered factory.\n      @public\n     @method unregister\n     @param {String} fullName\n     */\n    unregister(fullName) {\n      this.__container__.reset(fullName);\n      this._super(...arguments);\n    },\n    /**\n      Build a new `EngineInstance` that's a child of this instance.\n       Engines must be registered by name with their parent engine\n      (or application).\n       @private\n      @method buildChildEngineInstance\n      @param name {String} the registered name of the engine.\n      @param options {Object} options provided to the engine instance.\n      @return {EngineInstance,Error}\n    */\n    buildChildEngineInstance(name, options = {}) {\n      var Engine = this.lookup(`engine:${name}`);\n      if (!Engine) {\n        throw new _error.default(`You attempted to mount the engine '${name}', but it is not registered with its parent.`);\n      }\n      var engineInstance = Engine.buildInstance(options);\n      (0, _engineParent.setEngineParent)(engineInstance, this);\n      return engineInstance;\n    },\n    /**\n      Clone dependencies shared between an engine instance and its parent.\n       @private\n      @method cloneParentDependencies\n    */\n    cloneParentDependencies() {\n      var parent = (0, _engineParent.getEngineParent)(this);\n      var registrations = ['route:basic', 'service:-routing'];\n      registrations.forEach(key => this.register(key, parent.resolveRegistration(key)));\n      var env = parent.lookup('-environment:main');\n      this.register('-environment:main', env, {\n        instantiate: false\n      });\n      var singletons = ['router:main', (0, _container.privatize)`-bucket-cache:main`, '-view-registry:main', `renderer:-dom`, 'service:-document'];\n      if (env.isInteractive) {\n        singletons.push('event_dispatcher:main');\n      }\n      singletons.forEach(key => this.register(key, parent.lookup(key), {\n        instantiate: false\n      }));\n      this.inject('view', '_environment', '-environment:main');\n      this.inject('route', '_environment', '-environment:main');\n    }\n  });\n  EngineInstance.reopenClass({\n    /**\n     @private\n     @method setupRegistry\n     @param {Registry} registry\n     @param {BootOptions} options\n     */\n    setupRegistry(registry, options) {\n      // when no options/environment is present, do nothing\n      if (!options) {\n        return;\n      }\n      registry.injection('view', '_environment', '-environment:main');\n    }\n  });\n  var _default = _exports.default = EngineInstance;\n});","define(\"@ember/engine/lib/engine-parent\", [\"exports\", \"@ember/-internals/utils\"], function (_exports, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.getEngineParent = getEngineParent;\n  _exports.setEngineParent = setEngineParent;\n  /**\n  @module @ember/engine\n  */\n\n  var ENGINE_PARENT = (0, _utils.symbol)('ENGINE_PARENT');\n  /**\n    `getEngineParent` retrieves an engine instance's parent instance.\n  \n    @method getEngineParent\n    @param {EngineInstance} engine An engine instance.\n    @return {EngineInstance} The parent engine instance.\n    @for @ember/engine\n    @static\n    @private\n  */\n\n  function getEngineParent(engine) {\n    return engine[ENGINE_PARENT];\n  }\n  /**\n    `setEngineParent` sets an engine instance's parent instance.\n  \n    @method setEngineParent\n    @param {EngineInstance} engine An engine instance.\n    @param {EngineInstance} parent The parent engine instance.\n    @private\n  */\n\n  function setEngineParent(engine, parent) {\n    engine[ENGINE_PARENT] = parent;\n  }\n});","define(\"@ember/enumerable/index\", [\"exports\", \"@ember/-internals/runtime\"], function (_exports, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _runtime.Enumerable;\n    }\n  });\n});","define(\"@ember/error/index\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   @module @ember/error\n  */\n  /**\n    The JavaScript Error object used by Ember.assert.\n  \n    @class Error\n    @namespace Ember\n    @extends Error\n    @constructor\n    @public\n  */\n  var _default = _exports.default = Error;\n});","define(\"@ember/helper/index\", [\"exports\", \"@glimmer/manager\", \"@glimmer/runtime\"], function (_exports, _manager, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"array\", {\n    enumerable: true,\n    get: function () {\n      return _runtime.array;\n    }\n  });\n  Object.defineProperty(_exports, \"capabilities\", {\n    enumerable: true,\n    get: function () {\n      return _manager.helperCapabilities;\n    }\n  });\n  Object.defineProperty(_exports, \"concat\", {\n    enumerable: true,\n    get: function () {\n      return _runtime.concat;\n    }\n  });\n  Object.defineProperty(_exports, \"fn\", {\n    enumerable: true,\n    get: function () {\n      return _runtime.fn;\n    }\n  });\n  Object.defineProperty(_exports, \"get\", {\n    enumerable: true,\n    get: function () {\n      return _runtime.get;\n    }\n  });\n  Object.defineProperty(_exports, \"hash\", {\n    enumerable: true,\n    get: function () {\n      return _runtime.hash;\n    }\n  });\n  Object.defineProperty(_exports, \"invokeHelper\", {\n    enumerable: true,\n    get: function () {\n      return _runtime.invokeHelper;\n    }\n  });\n  Object.defineProperty(_exports, \"setHelperManager\", {\n    enumerable: true,\n    get: function () {\n      return _manager.setHelperManager;\n    }\n  });\n});","define(\"@ember/instrumentation/index\", [\"exports\", \"@ember/-internals/environment\"], function (_exports, _environment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports._instrumentStart = _instrumentStart;\n  _exports.flaggedInstrument = void 0;\n  _exports.instrument = instrument;\n  _exports.reset = reset;\n  _exports.subscribe = subscribe;\n  _exports.subscribers = void 0;\n  _exports.unsubscribe = unsubscribe;\n  /* eslint no-console:off */\n\n  /* global console */\n\n  /**\n  @module @ember/instrumentation\n  @private\n  */\n\n  /**\n    The purpose of the Ember Instrumentation module is\n    to provide efficient, general-purpose instrumentation\n    for Ember.\n  \n    Subscribe to a listener by using `subscribe`:\n  \n    ```javascript\n    import { subscribe } from '@ember/instrumentation';\n  \n    subscribe(\"render\", {\n      before(name, timestamp, payload) {\n  \n      },\n  \n      after(name, timestamp, payload) {\n  \n      }\n    });\n    ```\n  \n    If you return a value from the `before` callback, that same\n    value will be passed as a fourth parameter to the `after`\n    callback.\n  \n    Instrument a block of code by using `instrument`:\n  \n    ```javascript\n    import { instrument } from '@ember/instrumentation';\n  \n    instrument(\"render.handlebars\", payload, function() {\n      // rendering logic\n    }, binding);\n    ```\n  \n    Event names passed to `instrument` are namespaced\n    by periods, from more general to more specific. Subscribers\n    can listen for events by whatever level of granularity they\n    are interested in.\n  \n    In the above example, the event is `render.handlebars`,\n    and the subscriber listened for all events beginning with\n    `render`. It would receive callbacks for events named\n    `render`, `render.handlebars`, `render.container`, or\n    even `render.handlebars.layout`.\n  \n    @class Instrumentation\n    @static\n    @private\n  */\n  var subscribers = _exports.subscribers = [];\n  var cache = {};\n  function populateListeners(name) {\n    var listeners = [];\n    var subscriber;\n    for (var i = 0; i < subscribers.length; i++) {\n      subscriber = subscribers[i];\n      if (subscriber.regex.test(name)) {\n        listeners.push(subscriber.object);\n      }\n    }\n    cache[name] = listeners;\n    return listeners;\n  }\n  var time = (() => {\n    var perf = 'undefined' !== typeof window ? window.performance || {} : {};\n    var fn = perf.now || perf.mozNow || perf.webkitNow || perf.msNow || perf.oNow;\n    return fn ? fn.bind(perf) : Date.now;\n  })();\n  function isCallback(value) {\n    return typeof value === 'function';\n  }\n  function instrument(name, p1, p2, p3) {\n    var _payload;\n    var callback;\n    var binding;\n    if (arguments.length <= 3 && isCallback(p1)) {\n      callback = p1;\n      binding = p2;\n    } else {\n      _payload = p1;\n      callback = p2;\n      binding = p3;\n    } // fast path\n\n    if (subscribers.length === 0) {\n      return callback.call(binding);\n    } // avoid allocating the payload in fast path\n\n    var payload = _payload || {};\n    var finalizer = _instrumentStart(name, () => payload);\n    if (finalizer === NOOP) {\n      return callback.call(binding);\n    } else {\n      return withFinalizer(callback, finalizer, payload, binding);\n    }\n  }\n  var flaggedInstrument;\n  if (false\n  /* EMBER_IMPROVED_INSTRUMENTATION */) {\n    _exports.flaggedInstrument = flaggedInstrument = instrument;\n  } else {\n    _exports.flaggedInstrument = flaggedInstrument = function instrument(_name, _payload, callback) {\n      return callback();\n    };\n  }\n  function withFinalizer(callback, finalizer, payload, binding) {\n    try {\n      return callback.call(binding);\n    } catch (e) {\n      payload.exception = e;\n      throw e;\n    } finally {\n      finalizer();\n    }\n  }\n  function NOOP() {}\n  function _instrumentStart(name, payloadFunc, payloadArg) {\n    if (subscribers.length === 0) {\n      return NOOP;\n    }\n    var listeners = cache[name];\n    if (!listeners) {\n      listeners = populateListeners(name);\n    }\n    if (listeners.length === 0) {\n      return NOOP;\n    }\n    var payload = payloadFunc(payloadArg);\n    var STRUCTURED_PROFILE = _environment.ENV.STRUCTURED_PROFILE;\n    var timeName;\n    if (STRUCTURED_PROFILE) {\n      timeName = `${name}: ${payload.object}`;\n      console.time(timeName);\n    }\n    var beforeValues = [];\n    var timestamp = time();\n    for (var i = 0; i < listeners.length; i++) {\n      var listener = listeners[i];\n      beforeValues.push(listener.before(name, timestamp, payload));\n    }\n    return function _instrumentEnd() {\n      var timestamp = time();\n      for (var _i = 0; _i < listeners.length; _i++) {\n        var _listener = listeners[_i];\n        if (typeof _listener.after === 'function') {\n          _listener.after(name, timestamp, payload, beforeValues[_i]);\n        }\n      }\n      if (STRUCTURED_PROFILE) {\n        console.timeEnd(timeName);\n      }\n    };\n  }\n  /**\n    Subscribes to a particular event or instrumented block of code.\n  \n    @method subscribe\n    @for @ember/instrumentation\n    @static\n  \n    @param {String} [pattern] Namespaced event name.\n    @param {Object} [object] Before and After hooks.\n  \n    @return {Subscriber}\n    @private\n  */\n\n  function subscribe(pattern, object) {\n    var paths = pattern.split('.');\n    var path;\n    var regexes = [];\n    for (var i = 0; i < paths.length; i++) {\n      path = paths[i];\n      if (path === '*') {\n        regexes.push('[^\\\\.]*');\n      } else {\n        regexes.push(path);\n      }\n    }\n    var regex = regexes.join('\\\\.');\n    regex = `${regex}(\\\\..*)?`;\n    var subscriber = {\n      pattern,\n      regex: new RegExp(`^${regex}$`),\n      object\n    };\n    subscribers.push(subscriber);\n    cache = {};\n    return subscriber;\n  }\n  /**\n    Unsubscribes from a particular event or instrumented block of code.\n  \n    @method unsubscribe\n    @for @ember/instrumentation\n    @static\n  \n    @param {Object} [subscriber]\n    @private\n  */\n\n  function unsubscribe(subscriber) {\n    var index = 0;\n    for (var i = 0; i < subscribers.length; i++) {\n      if (subscribers[i] === subscriber) {\n        index = i;\n      }\n    }\n    subscribers.splice(index, 1);\n    cache = {};\n  }\n  /**\n    Resets `Instrumentation` by flushing list of subscribers.\n  \n    @method reset\n    @for @ember/instrumentation\n    @static\n    @private\n  */\n\n  function reset() {\n    subscribers.length = 0;\n    cache = {};\n  }\n});","define(\"@ember/modifier/index\", [\"exports\", \"@glimmer/manager\", \"@ember/-internals/glimmer\", \"@glimmer/runtime\"], function (_exports, _manager, _glimmer, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"capabilities\", {\n    enumerable: true,\n    get: function () {\n      return _glimmer.modifierCapabilities;\n    }\n  });\n  Object.defineProperty(_exports, \"on\", {\n    enumerable: true,\n    get: function () {\n      return _runtime.on;\n    }\n  });\n  Object.defineProperty(_exports, \"setModifierManager\", {\n    enumerable: true,\n    get: function () {\n      return _manager.setModifierManager;\n    }\n  });\n});","define(\"@ember/object/compat\", [\"exports\", \"@ember/-internals/metal\", \"@ember/debug\", \"@glimmer/validator\"], function (_exports, _metal, _debug, _validator) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.dependentKeyCompat = dependentKeyCompat;\n  var wrapGetterSetter = function (target, key, desc) {\n    var {\n      get: originalGet\n    } = desc;\n    (true && !((0, _metal.descriptorForProperty)(target, key) === undefined) && (0, _debug.assert)('You attempted to use @dependentKeyCompat on a property that already has been decorated with either @computed or @tracked. @dependentKeyCompat is only necessary for native getters that are not decorated with @computed.', (0, _metal.descriptorForProperty)(target, key) === undefined));\n    if (originalGet !== undefined) {\n      desc.get = function () {\n        var propertyTag = (0, _validator.tagFor)(this, key);\n        var ret;\n        var tag = (0, _validator.track)(() => {\n          ret = originalGet.call(this);\n        });\n        (0, _validator.updateTag)(propertyTag, tag);\n        (0, _validator.consumeTag)(tag);\n        return ret;\n      };\n    }\n    return desc;\n  };\n  function dependentKeyCompat(target, key, desc) {\n    if (!(0, _metal.isElementDescriptor)([target, key, desc])) {\n      desc = target;\n      var decorator = function (target, key, _desc, _meta, isClassicDecorator) {\n        (true && !(isClassicDecorator) && (0, _debug.assert)('The @dependentKeyCompat decorator may only be passed a method when used in classic classes. You should decorate getters/setters directly in native classes', isClassicDecorator));\n        (true && !(desc !== null && typeof desc === 'object' && (typeof desc.get === 'function' || typeof desc.set === 'function')) && (0, _debug.assert)('The dependentKeyCompat() decorator must be passed a getter or setter when used in classic classes', desc !== null && typeof desc === 'object' && (typeof desc.get === 'function' || typeof desc.set === 'function')));\n        return wrapGetterSetter(target, key, desc);\n      };\n      (0, _metal.setClassicDecorator)(decorator);\n      return decorator;\n    }\n    (true && !(desc !== null && typeof desc.get === 'function' || typeof desc.set === 'function') && (0, _debug.assert)('The @dependentKeyCompat decorator must be applied to getters/setters when used in native classes', desc !== null && typeof desc.get === 'function' || typeof desc.set === 'function'));\n    return wrapGetterSetter(target, key, desc);\n  }\n  (0, _metal.setClassicDecorator)(dependentKeyCompat);\n});","define(\"@ember/object/computed\", [\"exports\", \"@ember/-internals/metal\", \"@ember/object/lib/computed/computed_macros\", \"@ember/object/lib/computed/reduce_computed_macros\"], function (_exports, _metal, _computed_macros, _reduce_computed_macros) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"alias\", {\n    enumerable: true,\n    get: function () {\n      return _metal.alias;\n    }\n  });\n  Object.defineProperty(_exports, \"and\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.and;\n    }\n  });\n  Object.defineProperty(_exports, \"bool\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.bool;\n    }\n  });\n  Object.defineProperty(_exports, \"collect\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.collect;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _metal.ComputedProperty;\n    }\n  });\n  Object.defineProperty(_exports, \"deprecatingAlias\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.deprecatingAlias;\n    }\n  });\n  Object.defineProperty(_exports, \"empty\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.empty;\n    }\n  });\n  Object.defineProperty(_exports, \"equal\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.equal;\n    }\n  });\n  Object.defineProperty(_exports, \"expandProperties\", {\n    enumerable: true,\n    get: function () {\n      return _metal.expandProperties;\n    }\n  });\n  Object.defineProperty(_exports, \"filter\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.filter;\n    }\n  });\n  Object.defineProperty(_exports, \"filterBy\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.filterBy;\n    }\n  });\n  Object.defineProperty(_exports, \"gt\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.gt;\n    }\n  });\n  Object.defineProperty(_exports, \"gte\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.gte;\n    }\n  });\n  Object.defineProperty(_exports, \"intersect\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.intersect;\n    }\n  });\n  Object.defineProperty(_exports, \"lt\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.lt;\n    }\n  });\n  Object.defineProperty(_exports, \"lte\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.lte;\n    }\n  });\n  Object.defineProperty(_exports, \"map\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.map;\n    }\n  });\n  Object.defineProperty(_exports, \"mapBy\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.mapBy;\n    }\n  });\n  Object.defineProperty(_exports, \"match\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.match;\n    }\n  });\n  Object.defineProperty(_exports, \"max\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.max;\n    }\n  });\n  Object.defineProperty(_exports, \"min\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.min;\n    }\n  });\n  Object.defineProperty(_exports, \"none\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.none;\n    }\n  });\n  Object.defineProperty(_exports, \"not\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.not;\n    }\n  });\n  Object.defineProperty(_exports, \"notEmpty\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.notEmpty;\n    }\n  });\n  Object.defineProperty(_exports, \"oneWay\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.oneWay;\n    }\n  });\n  Object.defineProperty(_exports, \"or\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.or;\n    }\n  });\n  Object.defineProperty(_exports, \"readOnly\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.readOnly;\n    }\n  });\n  Object.defineProperty(_exports, \"reads\", {\n    enumerable: true,\n    get: function () {\n      return _computed_macros.oneWay;\n    }\n  });\n  Object.defineProperty(_exports, \"setDiff\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.setDiff;\n    }\n  });\n  Object.defineProperty(_exports, \"sort\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.sort;\n    }\n  });\n  Object.defineProperty(_exports, \"sum\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.sum;\n    }\n  });\n  Object.defineProperty(_exports, \"union\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.union;\n    }\n  });\n  Object.defineProperty(_exports, \"uniq\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.uniq;\n    }\n  });\n  Object.defineProperty(_exports, \"uniqBy\", {\n    enumerable: true,\n    get: function () {\n      return _reduce_computed_macros.uniqBy;\n    }\n  });\n});","define(\"@ember/object/core\", [\"exports\", \"@ember/-internals/runtime\"], function (_exports, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _runtime.CoreObject;\n    }\n  });\n});","define(\"@ember/object/evented\", [\"exports\", \"@ember/-internals/runtime\", \"@ember/-internals/metal\"], function (_exports, _runtime, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _runtime.Evented;\n    }\n  });\n  Object.defineProperty(_exports, \"on\", {\n    enumerable: true,\n    get: function () {\n      return _metal.on;\n    }\n  });\n});","define(\"@ember/object/events\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"addListener\", {\n    enumerable: true,\n    get: function () {\n      return _metal.addListener;\n    }\n  });\n  Object.defineProperty(_exports, \"removeListener\", {\n    enumerable: true,\n    get: function () {\n      return _metal.removeListener;\n    }\n  });\n  Object.defineProperty(_exports, \"sendEvent\", {\n    enumerable: true,\n    get: function () {\n      return _metal.sendEvent;\n    }\n  });\n});","define(\"@ember/object/index\", [\"exports\", \"@ember/debug\", \"@ember/polyfills\", \"@ember/-internals/metal\", \"@ember/-internals/overrides\", \"@ember/-internals/runtime\", \"@ember/object/computed\"], function (_exports, _debug, _polyfills, _metal, _overrides, _runtime, _computed) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.action = action;\n  Object.defineProperty(_exports, \"aliasMethod\", {\n    enumerable: true,\n    get: function () {\n      return _metal.aliasMethod;\n    }\n  });\n  Object.defineProperty(_exports, \"computed\", {\n    enumerable: true,\n    get: function () {\n      return _metal.computed;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _runtime.Object;\n    }\n  });\n  Object.defineProperty(_exports, \"defineProperty\", {\n    enumerable: true,\n    get: function () {\n      return _metal.defineProperty;\n    }\n  });\n  Object.defineProperty(_exports, \"get\", {\n    enumerable: true,\n    get: function () {\n      return _metal.get;\n    }\n  });\n  Object.defineProperty(_exports, \"getProperties\", {\n    enumerable: true,\n    get: function () {\n      return _metal.getProperties;\n    }\n  });\n  Object.defineProperty(_exports, \"getWithDefault\", {\n    enumerable: true,\n    get: function () {\n      return _metal.getWithDefault;\n    }\n  });\n  Object.defineProperty(_exports, \"notifyPropertyChange\", {\n    enumerable: true,\n    get: function () {\n      return _metal.notifyPropertyChange;\n    }\n  });\n  Object.defineProperty(_exports, \"observer\", {\n    enumerable: true,\n    get: function () {\n      return _metal.observer;\n    }\n  });\n  Object.defineProperty(_exports, \"set\", {\n    enumerable: true,\n    get: function () {\n      return _metal.set;\n    }\n  });\n  Object.defineProperty(_exports, \"setProperties\", {\n    enumerable: true,\n    get: function () {\n      return _metal.setProperties;\n    }\n  });\n  Object.defineProperty(_exports, \"trySet\", {\n    enumerable: true,\n    get: function () {\n      return _metal.trySet;\n    }\n  });\n  // eslint-disable-next-line no-undef\n\n  if (true /* DEBUG */) {\n    var defaultHandler = (dotKey, importKey, module) => {\n      return `Using \\`${dotKey}\\` has been deprecated. Instead, import the value directly from ${module}:\\n\\n  import { ${importKey} } from '${module}';`;\n    };\n    var handler = _overrides.onComputedDotAccess || defaultHandler;\n    var defineDeprecatedComputedFunc = (key, func) => {\n      Object.defineProperty(_metal.computed, key, {\n        get() {\n          var message = handler(`computed.${key}`, key, '@ember/object/computed');\n          (true && !(message === null) && (0, _debug.deprecate)(message, message === null, {\n            id: 'deprecated-run-loop-and-computed-dot-access',\n            until: '4.0.0',\n            for: 'ember-source',\n            since: {\n              enabled: '3.27.0'\n            }\n          }));\n          return func;\n        }\n      });\n    };\n    defineDeprecatedComputedFunc('alias', _computed.alias);\n    defineDeprecatedComputedFunc('and', _computed.and);\n    defineDeprecatedComputedFunc('bool', _computed.bool);\n    defineDeprecatedComputedFunc('collect', _computed.collect);\n    defineDeprecatedComputedFunc('deprecatingAlias', _computed.deprecatingAlias);\n    defineDeprecatedComputedFunc('empty', _computed.empty);\n    defineDeprecatedComputedFunc('equal', _computed.equal);\n    defineDeprecatedComputedFunc('filterBy', _computed.filterBy);\n    defineDeprecatedComputedFunc('filter', _computed.filter);\n    defineDeprecatedComputedFunc('gte', _computed.gte);\n    defineDeprecatedComputedFunc('gt', _computed.gt);\n    defineDeprecatedComputedFunc('intersect', _computed.intersect);\n    defineDeprecatedComputedFunc('lte', _computed.lte);\n    defineDeprecatedComputedFunc('lt', _computed.lt);\n    defineDeprecatedComputedFunc('mapBy', _computed.mapBy);\n    defineDeprecatedComputedFunc('map', _computed.map);\n    defineDeprecatedComputedFunc('match', _computed.match);\n    defineDeprecatedComputedFunc('max', _computed.max);\n    defineDeprecatedComputedFunc('min', _computed.min);\n    defineDeprecatedComputedFunc('none', _computed.none);\n    defineDeprecatedComputedFunc('notEmpty', _computed.notEmpty);\n    defineDeprecatedComputedFunc('not', _computed.not);\n    defineDeprecatedComputedFunc('oneWay', _computed.oneWay);\n    defineDeprecatedComputedFunc('reads', _computed.oneWay);\n    defineDeprecatedComputedFunc('or', _computed.or);\n    defineDeprecatedComputedFunc('readOnly', _computed.readOnly);\n    defineDeprecatedComputedFunc('setDiff', _computed.setDiff);\n    defineDeprecatedComputedFunc('sort', _computed.sort);\n    defineDeprecatedComputedFunc('sum', _computed.sum);\n    defineDeprecatedComputedFunc('union', _computed.union);\n    defineDeprecatedComputedFunc('uniqBy', _computed.uniqBy);\n    defineDeprecatedComputedFunc('uniq', _computed.uniq);\n  } else {\n    _metal.computed.alias = _computed.alias;\n    _metal.computed.and = _computed.and;\n    _metal.computed.bool = _computed.bool;\n    _metal.computed.collect = _computed.collect;\n    _metal.computed.deprecatingAlias = _computed.deprecatingAlias;\n    _metal.computed.empty = _computed.empty;\n    _metal.computed.equal = _computed.equal;\n    _metal.computed.filterBy = _computed.filterBy;\n    _metal.computed.filter = _computed.filter;\n    _metal.computed.gte = _computed.gte;\n    _metal.computed.gt = _computed.gt;\n    _metal.computed.intersect = _computed.intersect;\n    _metal.computed.lte = _computed.lte;\n    _metal.computed.lt = _computed.lt;\n    _metal.computed.mapBy = _computed.mapBy;\n    _metal.computed.map = _computed.map;\n    _metal.computed.match = _computed.match;\n    _metal.computed.max = _computed.max;\n    _metal.computed.min = _computed.min;\n    _metal.computed.none = _computed.none;\n    _metal.computed.notEmpty = _computed.notEmpty;\n    _metal.computed.not = _computed.not;\n    _metal.computed.oneWay = _computed.oneWay;\n    _metal.computed.reads = _computed.oneWay;\n    _metal.computed.or = _computed.or;\n    _metal.computed.readOnly = _computed.readOnly;\n    _metal.computed.setDiff = _computed.setDiff;\n    _metal.computed.sort = _computed.sort;\n    _metal.computed.sum = _computed.sum;\n    _metal.computed.union = _computed.union;\n    _metal.computed.uniqBy = _computed.uniqBy;\n    _metal.computed.uniq = _computed.uniq;\n  }\n  /**\n    Decorator that turns the target function into an Action which can be accessed\n    directly by reference.\n  \n    ```js\n    import Component from '@ember/component';\n    import { action, set } from '@ember/object';\n  \n    export default class Tooltip extends Component {\n      @action\n      toggleShowing() {\n        set(this, 'isShowing', !this.isShowing);\n      }\n    }\n    ```\n    ```hbs\n    <!-- template.hbs -->\n    <button {{action this.toggleShowing}}>Show tooltip</button>\n  \n    {{#if isShowing}}\n      <div class=\"tooltip\">\n        I'm a tooltip!\n      </div>\n    {{/if}}\n    ```\n  \n    Decorated actions also interop with the string style template actions:\n  \n    ```hbs\n    <!-- template.hbs -->\n    <button {{action \"toggleShowing\"}}>Show tooltip</button>\n  \n    {{#if isShowing}}\n      <div class=\"tooltip\">\n        I'm a tooltip!\n      </div>\n    {{/if}}\n    ```\n  \n    It also binds the function directly to the instance, so it can be used in any\n    context and will correctly refer to the class it came from:\n  \n    ```hbs\n    <!-- template.hbs -->\n    <button\n      {{did-insert this.toggleShowing}}\n      {{on \"click\" this.toggleShowing}}\n    >\n      Show tooltip\n    </button>\n  \n    {{#if isShowing}}\n      <div class=\"tooltip\">\n        I'm a tooltip!\n      </div>\n    {{/if}}\n    ```\n  \n    This can also be used in JavaScript code directly:\n  \n    ```js\n    import Component from '@ember/component';\n    import { action, set } from '@ember/object';\n  \n    export default class Tooltip extends Component {\n      constructor() {\n        super(...arguments);\n  \n        // this.toggleShowing is still bound correctly when added to\n        // the event listener\n        document.addEventListener('click', this.toggleShowing);\n      }\n  \n      @action\n      toggleShowing() {\n        set(this, 'isShowing', !this.isShowing);\n      }\n    }\n    ```\n  \n    This is considered best practice, since it means that methods will be bound\n    correctly no matter where they are used. By contrast, the `{{action}}` helper\n    and modifier can also be used to bind context, but it will be required for\n    every usage of the method:\n  \n    ```hbs\n    <!-- template.hbs -->\n    <button\n      {{did-insert (action this.toggleShowing)}}\n      {{on \"click\" (action this.toggleShowing)}}\n    >\n      Show tooltip\n    </button>\n  \n    {{#if isShowing}}\n      <div class=\"tooltip\">\n        I'm a tooltip!\n      </div>\n    {{/if}}\n    ```\n  \n    They also do not have equivalents in JavaScript directly, so they cannot be\n    used for other situations where binding would be useful.\n  \n    @public\n    @method action\n    @for @ember/object\n    @static\n    @param {Function|undefined} callback The function to turn into an action,\n                                         when used in classic classes\n    @return {PropertyDecorator} property decorator instance\n  */\n\n  var BINDINGS_MAP = new WeakMap();\n  function setupAction(target, key, actionFn) {\n    if (target.constructor !== undefined && typeof target.constructor.proto === 'function') {\n      target.constructor.proto();\n    }\n    if (!Object.prototype.hasOwnProperty.call(target, 'actions')) {\n      var parentActions = target.actions; // we need to assign because of the way mixins copy actions down when inheriting\n\n      target.actions = parentActions ? (0, _polyfills.assign)({}, parentActions) : {};\n    }\n    target.actions[key] = actionFn;\n    return {\n      get() {\n        var bindings = BINDINGS_MAP.get(this);\n        if (bindings === undefined) {\n          bindings = new Map();\n          BINDINGS_MAP.set(this, bindings);\n        }\n        var fn = bindings.get(actionFn);\n        if (fn === undefined) {\n          fn = actionFn.bind(this);\n          bindings.set(actionFn, fn);\n        }\n        return fn;\n      }\n    };\n  }\n  function action(target, key, desc) {\n    var actionFn;\n    if (!(0, _metal.isElementDescriptor)([target, key, desc])) {\n      actionFn = target;\n      var decorator = function (target, key, desc, meta, isClassicDecorator) {\n        (true && !(isClassicDecorator) && (0, _debug.assert)('The @action decorator may only be passed a method when used in classic classes. You should decorate methods directly in native classes', isClassicDecorator));\n        (true && !(typeof actionFn === 'function') && (0, _debug.assert)('The action() decorator must be passed a method when used in classic classes', typeof actionFn === 'function'));\n        return setupAction(target, key, actionFn);\n      };\n      (0, _metal.setClassicDecorator)(decorator);\n      return decorator;\n    }\n    actionFn = desc.value;\n    (true && !(typeof actionFn === 'function') && (0, _debug.assert)('The @action decorator must be applied to methods when used in native classes', typeof actionFn === 'function'));\n    return setupAction(target, key, actionFn);\n  }\n  (0, _metal.setClassicDecorator)(action);\n});","define(\"@ember/object/internals\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/runtime\", \"@ember/-internals/utils\"], function (_exports, _metal, _runtime, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"cacheFor\", {\n    enumerable: true,\n    get: function () {\n      return _metal.getCachedValueFor;\n    }\n  });\n  Object.defineProperty(_exports, \"copy\", {\n    enumerable: true,\n    get: function () {\n      return _runtime.copy;\n    }\n  });\n  Object.defineProperty(_exports, \"guidFor\", {\n    enumerable: true,\n    get: function () {\n      return _utils.guidFor;\n    }\n  });\n});","define(\"@ember/object/lib/computed/computed_macros\", [\"exports\", \"@ember/-internals/metal\", \"@ember/debug\"], function (_exports, _metal, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.and = void 0;\n  _exports.bool = bool;\n  _exports.deprecatingAlias = deprecatingAlias;\n  _exports.empty = empty;\n  _exports.equal = equal;\n  _exports.gt = gt;\n  _exports.gte = gte;\n  _exports.lt = lt;\n  _exports.lte = lte;\n  _exports.match = match;\n  _exports.none = none;\n  _exports.not = not;\n  _exports.notEmpty = notEmpty;\n  _exports.oneWay = oneWay;\n  _exports.or = void 0;\n  _exports.readOnly = readOnly;\n  /**\n  @module @ember/object\n  */\n\n  function expandPropertiesToArray(predicateName, properties) {\n    var expandedProperties = [];\n    function extractProperty(entry) {\n      expandedProperties.push(entry);\n    }\n    for (var i = 0; i < properties.length; i++) {\n      var property = properties[i];\n      (true && !(property.indexOf(' ') < 0) && (0, _debug.assert)(`Dependent keys passed to computed.${predicateName}() can't have spaces.`, property.indexOf(' ') < 0));\n      (0, _metal.expandProperties)(property, extractProperty);\n    }\n    return expandedProperties;\n  }\n  function generateComputedWithPredicate(name, predicate) {\n    return (...properties) => {\n      (true && !(!(0, _metal.isElementDescriptor)(properties)) && (0, _debug.assert)(`You attempted to use @${name} as a decorator directly, but it requires at least one dependent key parameter`, !(0, _metal.isElementDescriptor)(properties)));\n      var dependentKeys = expandPropertiesToArray(name, properties);\n      var computedFunc = (0, _metal.computed)(...dependentKeys, function () {\n        var lastIdx = dependentKeys.length - 1;\n        for (var i = 0; i < lastIdx; i++) {\n          var value = (0, _metal.get)(this, dependentKeys[i]);\n          if (!predicate(value)) {\n            return value;\n          }\n        }\n        return (0, _metal.get)(this, dependentKeys[lastIdx]);\n      });\n      return computedFunc;\n    };\n  }\n  /**\n    A computed property macro that returns true if the value of the dependent\n    property is null, an empty string, empty array, or empty function.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { empty } from '@ember/object/computed';\n  \n    class ToDoList {\n      constructor(todos) {\n        set(this, 'todos', todos);\n      }\n  \n      @empty('todos') isDone;\n    }\n  \n    let todoList = new ToDoList(\n      ['Unit Test', 'Documentation', 'Release']\n    );\n  \n    todoList.isDone; // false\n    set(todoList, 'todos', []);\n    todoList.isDone; // true\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { empty } from '@ember/object/computed';\n  \n    let ToDoList = EmberObject.extend({\n      isDone: empty('todos')\n    });\n  \n    let todoList = ToDoList.create({\n      todos: ['Unit Test', 'Documentation', 'Release']\n    });\n  \n    todoList.isDone; // false\n    set(todoList, 'todos', []);\n    todoList.isDone; // true\n    ```\n  \n    @since 1.6.0\n    @method empty\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @return {ComputedProperty} computed property which returns true if the value\n    of the dependent property is null, an empty string, empty array, or empty\n    function and false if the underlying value is not empty.\n  \n    @public\n  */\n\n  function empty(dependentKey) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @empty as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return (0, _metal.computed)(`${dependentKey}.length`, function () {\n      return (0, _metal.isEmpty)((0, _metal.get)(this, dependentKey));\n    });\n  }\n  /**\n    A computed property that returns true if the value of the dependent property\n    is NOT null, an empty string, empty array, or empty function.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { notEmpty } from '@ember/object/computed';\n  \n    class Hamster {\n      constructor(backpack) {\n        set(this, 'backpack', backpack);\n      }\n  \n      @notEmpty('backpack') hasStuff\n    }\n  \n    let hamster = new Hamster(\n      ['Food', 'Sleeping Bag', 'Tent']\n    );\n  \n    hamster.hasStuff; // true\n    set(hamster, 'backpack', []);\n    hamster.hasStuff; // false\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { notEmpty } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      hasStuff: notEmpty('backpack')\n    });\n  \n    let hamster = Hamster.create({\n      backpack: ['Food', 'Sleeping Bag', 'Tent']\n    });\n  \n    hamster.hasStuff; // true\n    set(hamster, 'backpack', []);\n    hamster.hasStuff; // false\n    ```\n  \n    @method notEmpty\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @return {ComputedProperty} computed property which returns true if original\n    value for property is not empty.\n    @public\n  */\n\n  function notEmpty(dependentKey) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @notEmpty as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return (0, _metal.computed)(`${dependentKey}.length`, function () {\n      return !(0, _metal.isEmpty)((0, _metal.get)(this, dependentKey));\n    });\n  }\n  /**\n    A computed property that returns true if the value of the dependent property\n    is null or undefined. This avoids errors from JSLint complaining about use of\n    ==, which can be technically confusing.\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { none } from '@ember/object/computed';\n  \n    class Hamster {\n      @none('food') isHungry;\n    }\n  \n    let hamster = new Hamster();\n  \n    hamster.isHungry; // true\n  \n    set(hamster, 'food', 'Banana');\n    hamster.isHungry; // false\n  \n    set(hamster, 'food', null);\n    hamster.isHungry; // true\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { none } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      isHungry: none('food')\n    });\n  \n    let hamster = Hamster.create();\n  \n    hamster.isHungry; // true\n  \n    set(hamster, 'food', 'Banana');\n    hamster.isHungry; // false\n  \n    set(hamster, 'food', null);\n    hamster.isHungry; // true\n    ```\n  \n    @method none\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @return {ComputedProperty} computed property which returns true if original\n    value for property is null or undefined.\n    @public\n  */\n\n  function none(dependentKey) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @none as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return (0, _metal.computed)(dependentKey, function () {\n      return (0, _metal.isNone)((0, _metal.get)(this, dependentKey));\n    });\n  }\n  /**\n    A computed property that returns the inverse boolean value of the original\n    value for the dependent property.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { not } from '@ember/object/computed';\n  \n    class User {\n      loggedIn = false;\n  \n      @not('loggedIn') isAnonymous;\n    }\n  \n    let user = new User();\n  \n    user.isAnonymous; // true\n    set(user, 'loggedIn', true);\n    user.isAnonymous; // false\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { not } from '@ember/object/computed';\n  \n    let User = EmberObject.extend({\n      loggedIn: false,\n  \n      isAnonymous: not('loggedIn')\n    });\n  \n    let user = User.create();\n  \n    user.isAnonymous; // true\n    set(user, 'loggedIn', true);\n    user.isAnonymous; // false\n    ```\n  \n    @method not\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @return {ComputedProperty} computed property which returns inverse of the\n    original value for property\n    @public\n  */\n\n  function not(dependentKey) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @not as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return (0, _metal.computed)(dependentKey, function () {\n      return !(0, _metal.get)(this, dependentKey);\n    });\n  }\n  /**\n    A computed property that converts the provided dependent property into a\n    boolean value.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { bool } from '@ember/object/computed';\n  \n  \n    class Hamster {\n      @bool('numBananas') hasBananas\n    }\n  \n    let hamster = new Hamster();\n  \n    hamster.hasBananas; // false\n  \n    set(hamster, 'numBananas', 0);\n    hamster.hasBananas; // false\n  \n    set(hamster, 'numBananas', 1);\n    hamster.hasBananas; // true\n  \n    set(hamster, 'numBananas', null);\n    hamster.hasBananas; // false\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { bool } from '@ember/object/computed';\n  \n  \n    let Hamster = EmberObject.extend({\n      hasBananas: bool('numBananas')\n    });\n  \n    let hamster = Hamster.create();\n  \n    hamster.hasBananas; // false\n  \n    set(hamster, 'numBananas', 0);\n    hamster.hasBananas; // false\n  \n    set(hamster, 'numBananas', 1);\n    hamster.hasBananas; // true\n  \n    set(hamster, 'numBananas', null);\n    hamster.hasBananas; // false\n    ```\n  \n    @method bool\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @return {ComputedProperty} computed property which converts to boolean the\n    original value for property\n    @public\n  */\n\n  function bool(dependentKey) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @bool as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return (0, _metal.computed)(dependentKey, function () {\n      return Boolean((0, _metal.get)(this, dependentKey));\n    });\n  }\n  /**\n    A computed property which matches the original value for the dependent\n    property against a given RegExp, returning `true` if the value matches the\n    RegExp and `false` if it does not.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { match } from '@ember/object/computed';\n  \n    class User {\n      @match('email', /^.+@.+\\..+$/) hasValidEmail;\n    }\n  \n    let user = new User();\n  \n    user.hasValidEmail; // false\n  \n    set(user, 'email', '');\n    user.hasValidEmail; // false\n  \n    set(user, 'email', 'ember_hamster@example.com');\n    user.hasValidEmail; // true\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { match } from '@ember/object/computed';\n  \n    let User = EmberObject.extend({\n      hasValidEmail: match('email', /^.+@.+\\..+$/)\n    });\n  \n    let user = User.create();\n  \n    user.hasValidEmail; // false\n  \n    set(user, 'email', '');\n    user.hasValidEmail; // false\n  \n    set(user, 'email', 'ember_hamster@example.com');\n    user.hasValidEmail; // true\n    ```\n  \n    @method match\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @param {RegExp} regexp\n    @return {ComputedProperty} computed property which match the original value\n    for property against a given RegExp\n    @public\n  */\n\n  function match(dependentKey, regexp) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @match as a decorator directly, but it requires `dependentKey` and `regexp` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return (0, _metal.computed)(dependentKey, function () {\n      var value = (0, _metal.get)(this, dependentKey);\n      return regexp.test(value);\n    });\n  }\n  /**\n    A computed property that returns true if the provided dependent property is\n    equal to the given value.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { equal } from '@ember/object/computed';\n  \n    class Hamster {\n      @equal('percentCarrotsEaten', 100) satisfied;\n    }\n  \n    let hamster = new Hamster();\n  \n    hamster.satisfied; // false\n  \n    set(hamster, 'percentCarrotsEaten', 100);\n    hamster.satisfied; // true\n  \n    set(hamster, 'percentCarrotsEaten', 50);\n    hamster.satisfied; // false\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { equal } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      satisfied: equal('percentCarrotsEaten', 100)\n    });\n  \n    let hamster = Hamster.create();\n  \n    hamster.satisfied; // false\n  \n    set(hamster, 'percentCarrotsEaten', 100);\n    hamster.satisfied; // true\n  \n    set(hamster, 'percentCarrotsEaten', 50);\n    hamster.satisfied; // false\n    ```\n  \n    @method equal\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @param {String|Number|Object} value\n    @return {ComputedProperty} computed property which returns true if the\n    original value for property is equal to the given value.\n    @public\n  */\n\n  function equal(dependentKey, value) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @equal as a decorator directly, but it requires `dependentKey` and `value` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return (0, _metal.computed)(dependentKey, function () {\n      return (0, _metal.get)(this, dependentKey) === value;\n    });\n  }\n  /**\n    A computed property that returns true if the provided dependent property is\n    greater than the provided value.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { gt } from '@ember/object/computed';\n  \n    class Hamster {\n      @gt('numBananas', 10) hasTooManyBananas;\n    }\n  \n    let hamster = new Hamster();\n  \n    hamster.hasTooManyBananas; // false\n  \n    set(hamster, 'numBananas', 3);\n    hamster.hasTooManyBananas; // false\n  \n    set(hamster, 'numBananas', 11);\n    hamster.hasTooManyBananas; // true\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { gt } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      hasTooManyBananas: gt('numBananas', 10)\n    });\n  \n    let hamster = Hamster.create();\n  \n    hamster.hasTooManyBananas; // false\n  \n    set(hamster, 'numBananas', 3);\n    hamster.hasTooManyBananas; // false\n  \n    set(hamster, 'numBananas', 11);\n    hamster.hasTooManyBananas; // true\n    ```\n  \n    @method gt\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @param {Number} value\n    @return {ComputedProperty} computed property which returns true if the\n    original value for property is greater than given value.\n    @public\n  */\n\n  function gt(dependentKey, value) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @gt as a decorator directly, but it requires `dependentKey` and `value` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return (0, _metal.computed)(dependentKey, function () {\n      return (0, _metal.get)(this, dependentKey) > value;\n    });\n  }\n  /**\n    A computed property that returns true if the provided dependent property is\n    greater than or equal to the provided value.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { gte } from '@ember/object/computed';\n  \n    class Hamster {\n      @gte('numBananas', 10) hasTooManyBananas;\n    }\n  \n    let hamster = new Hamster();\n  \n    hamster.hasTooManyBananas; // false\n  \n    set(hamster, 'numBananas', 3);\n    hamster.hasTooManyBananas; // false\n  \n    set(hamster, 'numBananas', 10);\n    hamster.hasTooManyBananas; // true\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { gte } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      hasTooManyBananas: gte('numBananas', 10)\n    });\n  \n    let hamster = Hamster.create();\n  \n    hamster.hasTooManyBananas; // false\n  \n    set(hamster, 'numBananas', 3);\n    hamster.hasTooManyBananas; // false\n  \n    set(hamster, 'numBananas', 10);\n    hamster.hasTooManyBananas; // true\n    ```\n  \n    @method gte\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @param {Number} value\n    @return {ComputedProperty} computed property which returns true if the\n    original value for property is greater or equal then given value.\n    @public\n  */\n\n  function gte(dependentKey, value) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @gte as a decorator directly, but it requires `dependentKey` and `value` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return (0, _metal.computed)(dependentKey, function () {\n      return (0, _metal.get)(this, dependentKey) >= value;\n    });\n  }\n  /**\n    A computed property that returns true if the provided dependent property is\n    less than the provided value.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { lt } from '@ember/object/computed';\n  \n    class Hamster {\n      @lt('numBananas', 3) needsMoreBananas;\n    }\n  \n    let hamster = new Hamster();\n  \n    hamster.needsMoreBananas; // true\n  \n    set(hamster, 'numBananas', 3);\n    hamster.needsMoreBananas; // false\n  \n    set(hamster, 'numBananas', 2);\n    hamster.needsMoreBananas; // true\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { lt } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      needsMoreBananas: lt('numBananas', 3)\n    });\n  \n    let hamster = Hamster.create();\n  \n    hamster.needsMoreBananas; // true\n  \n    set(hamster, 'numBananas', 3);\n    hamster.needsMoreBananas; // false\n  \n    set(hamster, 'numBananas', 2);\n    hamster.needsMoreBananas; // true\n    ```\n  \n    @method lt\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @param {Number} value\n    @return {ComputedProperty} computed property which returns true if the\n    original value for property is less then given value.\n    @public\n  */\n\n  function lt(dependentKey, value) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @lt as a decorator directly, but it requires `dependentKey` and `value` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return (0, _metal.computed)(dependentKey, function () {\n      return (0, _metal.get)(this, dependentKey) < value;\n    });\n  }\n  /**\n    A computed property that returns true if the provided dependent property is\n    less than or equal to the provided value.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { lte } from '@ember/object/computed';\n  \n    class Hamster {\n      @lte('numBananas', 3) needsMoreBananas;\n    }\n  \n    let hamster = new Hamster();\n  \n    hamster.needsMoreBananas; // true\n  \n    set(hamster, 'numBananas', 5);\n    hamster.needsMoreBananas; // false\n  \n    set(hamster, 'numBananas', 3);\n    hamster.needsMoreBananas; // true\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { lte } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      needsMoreBananas: lte('numBananas', 3)\n    });\n  \n    let hamster = Hamster.create();\n  \n    hamster.needsMoreBananas; // true\n  \n    set(hamster, 'numBananas', 5);\n    hamster.needsMoreBananas; // false\n  \n    set(hamster, 'numBananas', 3);\n    hamster.needsMoreBananas; // true\n    ```\n  \n    @method lte\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @param {Number} value\n    @return {ComputedProperty} computed property which returns true if the\n    original value for property is less or equal than given value.\n    @public\n  */\n\n  function lte(dependentKey, value) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @lte as a decorator directly, but it requires `dependentKey` and `value` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return (0, _metal.computed)(dependentKey, function () {\n      return (0, _metal.get)(this, dependentKey) <= value;\n    });\n  }\n  /**\n    A computed property that performs a logical `and` on the original values for\n    the provided dependent properties.\n  \n    You may pass in more than two properties and even use property brace\n    expansion.  The computed property will return the first falsy value or last\n    truthy value just like JavaScript's `&&` operator.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { and } from '@ember/object/computed';\n  \n    class Hamster {\n      @and('hasTent', 'hasBackpack') readyForCamp;\n      @and('hasWalkingStick', 'hasBackpack') readyForHike;\n    }\n  \n    let tomster = new Hamster();\n  \n    tomster.readyForCamp; // false\n  \n    set(tomster, 'hasTent', true);\n    tomster.readyForCamp; // false\n  \n    set(tomster, 'hasBackpack', true);\n    tomster.readyForCamp; // true\n  \n    set(tomster, 'hasBackpack', 'Yes');\n    tomster.readyForCamp; // 'Yes'\n  \n    set(tomster, 'hasWalkingStick', null);\n    tomster.readyForHike; // null\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { and } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      readyForCamp: and('hasTent', 'hasBackpack'),\n      readyForHike: and('hasWalkingStick', 'hasBackpack')\n    });\n  \n    let tomster = Hamster.create();\n  \n    tomster.readyForCamp; // false\n  \n    set(tomster, 'hasTent', true);\n    tomster.readyForCamp; // false\n  \n    set(tomster, 'hasBackpack', true);\n    tomster.readyForCamp; // true\n  \n    set(tomster, 'hasBackpack', 'Yes');\n    tomster.readyForCamp; // 'Yes'\n  \n    set(tomster, 'hasWalkingStick', null);\n    tomster.readyForHike; // null\n    ```\n  \n    @method and\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey*\n    @return {ComputedProperty} computed property which performs a logical `and` on\n    the values of all the original values for properties.\n    @public\n  */\n\n  var and = _exports.and = generateComputedWithPredicate('and', value => value);\n  /**\n    A computed property which performs a logical `or` on the original values for\n    the provided dependent properties.\n  \n    You may pass in more than two properties and even use property brace\n    expansion.  The computed property will return the first truthy value or last\n    falsy value just like JavaScript's `||` operator.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { or } from '@ember/object/computed';\n  \n    class Hamster {\n      @or('hasJacket', 'hasUmbrella') readyForRain;\n      @or('hasSunscreen', 'hasUmbrella') readyForBeach;\n    }\n  \n    let tomster = new Hamster();\n  \n    tomster.readyForRain; // undefined\n  \n    set(tomster, 'hasUmbrella', true);\n    tomster.readyForRain; // true\n  \n    set(tomster, 'hasJacket', 'Yes');\n    tomster.readyForRain; // 'Yes'\n  \n    set(tomster, 'hasSunscreen', 'Check');\n    tomster.readyForBeach; // 'Check'\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { or } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      readyForRain: or('hasJacket', 'hasUmbrella'),\n      readyForBeach: or('hasSunscreen', 'hasUmbrella')\n    });\n  \n    let tomster = Hamster.create();\n  \n    tomster.readyForRain; // undefined\n  \n    set(tomster, 'hasUmbrella', true);\n    tomster.readyForRain; // true\n  \n    set(tomster, 'hasJacket', 'Yes');\n    tomster.readyForRain; // 'Yes'\n  \n    set(tomster, 'hasSunscreen', 'Check');\n    tomster.readyForBeach; // 'Check'\n    ```\n  \n    @method or\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey*\n    @return {ComputedProperty} computed property which performs a logical `or` on\n    the values of all the original values for properties.\n    @public\n  */\n\n  var or = _exports.or = generateComputedWithPredicate('or', value => !value);\n  /**\n    Creates a new property that is an alias for another property on an object.\n    Calls to `get` or `set` this property behave as though they were called on the\n    original property.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { alias } from '@ember/object/computed';\n  \n    class Person {\n      name = 'Alex Matchneer';\n  \n      @alias('name') nomen;\n    }\n  \n    let alex = new Person();\n  \n    alex.nomen; // 'Alex Matchneer'\n    alex.name;  // 'Alex Matchneer'\n  \n    set(alex, 'nomen', '@machty');\n    alex.name;  // '@machty'\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { alias } from '@ember/object/computed';\n  \n    let Person = EmberObject.extend({\n      name: 'Alex Matchneer',\n  \n      nomen: alias('name')\n    });\n  \n    let alex = Person.create();\n  \n    alex.nomen; // 'Alex Matchneer'\n    alex.name;  // 'Alex Matchneer'\n  \n    set(alex, 'nomen', '@machty');\n    alex.name;  // '@machty'\n    ```\n  \n    @method alias\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @return {ComputedProperty} computed property which creates an alias to the\n    original value for property.\n    @public\n  */\n\n  /**\n    Where `computed.alias` aliases `get` and `set`, and allows for bidirectional\n    data flow, `computed.oneWay` only provides an aliased `get`. The `set` will\n    not mutate the upstream property, rather causes the current property to become\n    the value set. This causes the downstream property to permanently diverge from\n    the upstream property.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { oneWay }from '@ember/object/computed';\n  \n    class User {\n      constructor(firstName, lastName) {\n        set(this, 'firstName', firstName);\n        set(this, 'lastName', lastName);\n      }\n  \n      @oneWay('firstName') nickName;\n    }\n  \n    let teddy = new User('Teddy', 'Zeenny');\n  \n    teddy.nickName; // 'Teddy'\n  \n    set(teddy, 'nickName', 'TeddyBear');\n    teddy.firstName; // 'Teddy'\n    teddy.nickName; // 'TeddyBear'\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { oneWay } from '@ember/object/computed';\n  \n    let User = EmberObject.extend({\n      firstName: null,\n      lastName: null,\n  \n      nickName: oneWay('firstName')\n    });\n  \n    let teddy = User.create({\n      firstName: 'Teddy',\n      lastName: 'Zeenny'\n    });\n  \n    teddy.nickName; // 'Teddy'\n  \n    set(teddy, 'nickName', 'TeddyBear'); // 'TeddyBear'\n    teddy.firstName; // 'Teddy'\n    teddy.nickName; // 'TeddyBear'\n    ```\n  \n    @method oneWay\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @return {ComputedProperty} computed property which creates a one way computed\n    property to the original value for property.\n    @public\n  */\n\n  function oneWay(dependentKey) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @oneWay as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return (0, _metal.alias)(dependentKey).oneWay();\n  }\n  /**\n    This is a more semantically meaningful alias of `computed.oneWay`, whose name\n    is somewhat ambiguous as to which direction the data flows.\n  \n    @method reads\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @return {ComputedProperty} computed property which creates a one way computed\n      property to the original value for property.\n    @public\n   */\n\n  /**\n    Where `computed.oneWay` provides oneWay bindings, `computed.readOnly` provides\n    a readOnly one way binding. Very often when using `computed.oneWay` one does\n    not also want changes to propagate back up, as they will replace the value.\n  \n    This prevents the reverse flow, and also throws an exception when it occurs.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { readOnly } from '@ember/object/computed';\n  \n    class User {\n      constructor(firstName, lastName) {\n        set(this, 'firstName', firstName);\n        set(this, 'lastName', lastName);\n      }\n  \n      @readOnly('firstName') nickName;\n    });\n  \n    let teddy = new User('Teddy', 'Zeenny');\n  \n    teddy.nickName; // 'Teddy'\n  \n    set(teddy, 'nickName', 'TeddyBear'); // throws Exception\n    // throw new EmberError('Cannot Set: nickName on: <User:ember27288>' );`\n  \n    teddy.firstName; // 'Teddy'\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { readOnly } from '@ember/object/computed';\n  \n    let User = EmberObject.extend({\n      firstName: null,\n      lastName: null,\n  \n      nickName: readOnly('firstName')\n    });\n  \n    let teddy = User.create({\n      firstName: 'Teddy',\n      lastName:  'Zeenny'\n    });\n  \n    teddy.nickName; // 'Teddy'\n  \n    set(teddy, 'nickName', 'TeddyBear'); // throws Exception\n    // throw new EmberError('Cannot Set: nickName on: <User:ember27288>' );`\n  \n    teddy.firstName; // 'Teddy'\n    ```\n  \n    @method readOnly\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @return {ComputedProperty} computed property which creates a one way computed\n    property to the original value for property.\n    @since 1.5.0\n    @public\n  */\n\n  function readOnly(dependentKey) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @readOnly as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return (0, _metal.alias)(dependentKey).readOnly();\n  }\n  /**\n    Creates a new property that is an alias for another property on an object.\n    Calls to `get` or `set` this property behave as though they were called on the\n    original property, but also print a deprecation warning.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { deprecatingAlias } from '@ember/object/computed';\n  \n    class Hamster {\n      @deprecatingAlias('cavendishCount', {\n        id: 'hamster.deprecate-banana',\n        until: '3.0.0'\n      })\n      bananaCount;\n    }\n  \n    let hamster = new Hamster();\n  \n    set(hamster, 'bananaCount', 5); // Prints a deprecation warning.\n    hamster.cavendishCount; // 5\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { deprecatingAlias } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      bananaCount: deprecatingAlias('cavendishCount', {\n        id: 'hamster.deprecate-banana',\n        until: '3.0.0'\n      })\n    });\n  \n    let hamster = Hamster.create();\n  \n    set(hamster, 'bananaCount', 5); // Prints a deprecation warning.\n    hamster.cavendishCount; // 5\n    ```\n  \n    @method deprecatingAlias\n    @static\n    @for @ember/object/computed\n    @param {String} dependentKey\n    @param {Object} options Options for `deprecate`.\n    @return {ComputedProperty} computed property which creates an alias with a\n    deprecation to the original value for property.\n    @since 1.7.0\n    @public\n  */\n\n  function deprecatingAlias(dependentKey, options) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @deprecatingAlias as a decorator directly, but it requires `dependentKey` and `options` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return (0, _metal.computed)(dependentKey, {\n      get(key) {\n        (true && !(false) && (0, _debug.deprecate)(`Usage of \\`${key}\\` is deprecated, use \\`${dependentKey}\\` instead.`, false, options));\n        return (0, _metal.get)(this, dependentKey);\n      },\n      set(key, value) {\n        (true && !(false) && (0, _debug.deprecate)(`Usage of \\`${key}\\` is deprecated, use \\`${dependentKey}\\` instead.`, false, options));\n        (0, _metal.set)(this, dependentKey, value);\n        return value;\n      }\n    });\n  }\n});","define(\"@ember/object/lib/computed/reduce_computed_macros\", [\"exports\", \"@ember/debug\", \"@ember/-internals/metal\", \"@ember/-internals/runtime\"], function (_exports, _debug, _metal, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.collect = collect;\n  _exports.filter = filter;\n  _exports.filterBy = filterBy;\n  _exports.intersect = intersect;\n  _exports.map = map;\n  _exports.mapBy = mapBy;\n  _exports.max = max;\n  _exports.min = min;\n  _exports.setDiff = setDiff;\n  _exports.sort = sort;\n  _exports.sum = sum;\n  _exports.union = void 0;\n  _exports.uniq = uniq;\n  _exports.uniqBy = uniqBy;\n  /**\n  @module @ember/object\n  */\n\n  function reduceMacro(dependentKey, callback, initialValue, name) {\n    (true && !(!/[[\\]{}]/g.test(dependentKey)) && (0, _debug.assert)(`Dependent key passed to \\`computed.${name}\\` shouldn't contain brace expanding pattern.`, !/[[\\]{}]/g.test(dependentKey)));\n    return (0, _metal.computed)(`${dependentKey}.[]`, function () {\n      var arr = (0, _metal.get)(this, dependentKey);\n      if (arr === null || typeof arr !== 'object') {\n        return initialValue;\n      }\n      return arr.reduce(callback, initialValue, this);\n    }).readOnly();\n  }\n  function arrayMacro(dependentKey, additionalDependentKeys, callback) {\n    // This is a bit ugly\n    var propertyName;\n    if (/@each/.test(dependentKey)) {\n      propertyName = dependentKey.replace(/\\.@each.*$/, '');\n    } else {\n      propertyName = dependentKey;\n      dependentKey += '.[]';\n    }\n    return (0, _metal.computed)(dependentKey, ...additionalDependentKeys, function () {\n      var value = (0, _metal.get)(this, propertyName);\n      if ((0, _runtime.isArray)(value)) {\n        return (0, _runtime.A)(callback.call(this, value));\n      } else {\n        return (0, _runtime.A)();\n      }\n    }).readOnly();\n  }\n  function multiArrayMacro(_dependentKeys, callback, name) {\n    (true && !(_dependentKeys.every(dependentKey => !/[[\\]{}]/g.test(dependentKey))) && (0, _debug.assert)(`Dependent keys passed to \\`computed.${name}\\` shouldn't contain brace expanding pattern.`, _dependentKeys.every(dependentKey => !/[[\\]{}]/g.test(dependentKey))));\n    var dependentKeys = _dependentKeys.map(key => `${key}.[]`);\n    return (0, _metal.computed)(...dependentKeys, function () {\n      return (0, _runtime.A)(callback.call(this, _dependentKeys));\n    }).readOnly();\n  }\n  /**\n    A computed property that returns the sum of the values in the dependent array.\n  \n    Example:\n  \n    ```javascript\n    import { sum } from '@ember/object/computed';\n  \n    class Invoice {\n      lineItems = [1.00, 2.50, 9.99];\n  \n      @sum('lineItems') total;\n    }\n  \n    let invoice = new Invoice();\n  \n    invoice.total; // 13.49\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import { sum } from '@ember/object/computed';\n  \n    let Invoice = EmberObject.extend({\n      lineItems: [1.00, 2.50, 9.99],\n  \n      total: sum('lineItems')\n    })\n  \n    let invoice = Invoice.create();\n  \n    invoice.total; // 13.49\n    ```\n  \n    @method sum\n    @for @ember/object/computed\n    @static\n    @param {String} dependentKey\n    @return {ComputedProperty} computes the sum of all values in the\n    dependentKey's array\n    @since 1.4.0\n    @public\n  */\n\n  function sum(dependentKey) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @sum as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return reduceMacro(dependentKey, (sum, item) => sum + item, 0, 'sum');\n  }\n  /**\n    A computed property that calculates the maximum value in the dependent array.\n    This will return `-Infinity` when the dependent array is empty.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { mapBy, max } from '@ember/object/computed';\n  \n    class Person {\n      children = [];\n  \n      @mapBy('children', 'age') childAges;\n      @max('childAges') maxChildAge;\n    }\n  \n    let lordByron = new Person();\n  \n    lordByron.maxChildAge; // -Infinity\n  \n    set(lordByron, 'children', [\n      {\n        name: 'Augusta Ada Byron',\n        age: 7\n      }\n    ]);\n    lordByron.maxChildAge; // 7\n  \n    set(lordByron, 'children', [\n      ...lordByron.children,\n      {\n        name: 'Allegra Byron',\n        age: 5\n      }, {\n        name: 'Elizabeth Medora Leigh',\n        age: 8\n      }\n    ]);\n    lordByron.maxChildAge; // 8\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { mapBy, max } from '@ember/object/computed';\n  \n    let Person = EmberObject.extend({\n      childAges: mapBy('children', 'age'),\n      maxChildAge: max('childAges')\n    });\n  \n    let lordByron = Person.create({ children: [] });\n  \n    lordByron.maxChildAge; // -Infinity\n  \n    set(lordByron, 'children', [\n      {\n        name: 'Augusta Ada Byron',\n        age: 7\n      }\n    ]);\n    lordByron.maxChildAge; // 7\n  \n    set(lordByron, 'children', [\n      ...lordByron.children,\n      {\n        name: 'Allegra Byron',\n        age: 5\n      }, {\n        name: 'Elizabeth Medora Leigh',\n        age: 8\n      }\n    ]);\n    lordByron.maxChildAge; // 8\n    ```\n  \n    If the types of the arguments are not numbers, they will be converted to\n    numbers and the type of the return value will always be `Number`. For example,\n    the max of a list of Date objects will be the highest timestamp as a `Number`.\n    This behavior is consistent with `Math.max`.\n  \n    @method max\n    @for @ember/object/computed\n    @static\n    @param {String} dependentKey\n    @return {ComputedProperty} computes the largest value in the dependentKey's\n    array\n    @public\n  */\n\n  function max(dependentKey) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @max as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return reduceMacro(dependentKey, (max, item) => Math.max(max, item), -Infinity, 'max');\n  }\n  /**\n    A computed property that calculates the minimum value in the dependent array.\n    This will return `Infinity` when the dependent array is empty.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { mapBy, min } from '@ember/object/computed';\n  \n    class Person {\n      children = [];\n  \n      @mapBy('children', 'age') childAges;\n      @min('childAges') minChildAge;\n    }\n  \n    let lordByron = Person.create({ children: [] });\n  \n    lordByron.minChildAge; // Infinity\n  \n    set(lordByron, 'children', [\n      {\n        name: 'Augusta Ada Byron',\n        age: 7\n      }\n    ]);\n    lordByron.minChildAge; // 7\n  \n    set(lordByron, 'children', [\n      ...lordByron.children,\n      {\n        name: 'Allegra Byron',\n        age: 5\n      }, {\n        name: 'Elizabeth Medora Leigh',\n        age: 8\n      }\n    ]);\n    lordByron.minChildAge; // 5\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { mapBy, min } from '@ember/object/computed';\n  \n    let Person = EmberObject.extend({\n      childAges: mapBy('children', 'age'),\n      minChildAge: min('childAges')\n    });\n  \n    let lordByron = Person.create({ children: [] });\n  \n    lordByron.minChildAge; // Infinity\n  \n    set(lordByron, 'children', [\n      {\n        name: 'Augusta Ada Byron',\n        age: 7\n      }\n    ]);\n    lordByron.minChildAge; // 7\n  \n    set(lordByron, 'children', [\n      ...lordByron.children,\n      {\n        name: 'Allegra Byron',\n        age: 5\n      }, {\n        name: 'Elizabeth Medora Leigh',\n        age: 8\n      }\n    ]);\n    lordByron.minChildAge; // 5\n    ```\n  \n    If the types of the arguments are not numbers, they will be converted to\n    numbers and the type of the return value will always be `Number`. For example,\n    the min of a list of Date objects will be the lowest timestamp as a `Number`.\n    This behavior is consistent with `Math.min`.\n  \n    @method min\n    @for @ember/object/computed\n    @static\n    @param {String} dependentKey\n    @return {ComputedProperty} computes the smallest value in the dependentKey's array\n    @public\n  */\n\n  function min(dependentKey) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @min as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return reduceMacro(dependentKey, (min, item) => Math.min(min, item), Infinity, 'min');\n  }\n  /**\n    Returns an array mapped via the callback\n  \n    The callback method you provide should have the following signature:\n    - `item` is the current item in the iteration.\n    - `index` is the integer index of the current item in the iteration.\n  \n    ```javascript\n    function mapCallback(item, index);\n    ```\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { map } from '@ember/object/computed';\n  \n    class Hamster {\n      constructor(chores) {\n        set(this, 'chores', chores);\n      }\n  \n      @map('chores', function(chore, index) {\n        return `${chore.toUpperCase()}!`;\n      })\n      excitingChores;\n    });\n  \n    let hamster = new Hamster(['clean', 'write more unit tests']);\n  \n    hamster.excitingChores; // ['CLEAN!', 'WRITE MORE UNIT TESTS!']\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import { map } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      excitingChores: map('chores', function(chore, index) {\n        return `${chore.toUpperCase()}!`;\n      })\n    });\n  \n    let hamster = Hamster.create({\n      chores: ['clean', 'write more unit tests']\n    });\n  \n    hamster.excitingChores; // ['CLEAN!', 'WRITE MORE UNIT TESTS!']\n    ```\n  \n    You can optionally pass an array of additional dependent keys as the second\n    parameter to the macro, if your map function relies on any external values:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { map } from '@ember/object/computed';\n  \n    class Hamster {\n      shouldUpperCase = false;\n  \n      constructor(chores) {\n        set(this, 'chores', chores);\n      }\n  \n      @map('chores', ['shouldUpperCase'], function(chore, index) {\n        if (this.shouldUpperCase) {\n          return `${chore.toUpperCase()}!`;\n        } else {\n          return `${chore}!`;\n        }\n      })\n      excitingChores;\n    }\n  \n    let hamster = new Hamster(['clean', 'write more unit tests']);\n  \n    hamster.excitingChores; // ['clean!', 'write more unit tests!']\n  \n    set(hamster, 'shouldUpperCase', true);\n    hamster.excitingChores; // ['CLEAN!', 'WRITE MORE UNIT TESTS!']\n    ```\n  \n    @method map\n    @for @ember/object/computed\n    @static\n    @param {String} dependentKey\n    @param {Array} [additionalDependentKeys] optional array of additional\n    dependent keys\n    @param {Function} callback\n    @return {ComputedProperty} an array mapped via the callback\n    @public\n  */\n\n  function map(dependentKey, additionalDependentKeys, callback) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @map as a decorator directly, but it requires atleast `dependentKey` and `callback` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    if (callback === undefined && typeof additionalDependentKeys === 'function') {\n      callback = additionalDependentKeys;\n      additionalDependentKeys = [];\n    }\n    (true && !(typeof callback === 'function') && (0, _debug.assert)('The final parameter provided to map must be a callback function', typeof callback === 'function'));\n    (true && !(Array.isArray(additionalDependentKeys)) && (0, _debug.assert)('The second parameter provided to map must either be the callback or an array of additional dependent keys', Array.isArray(additionalDependentKeys)));\n    return arrayMacro(dependentKey, additionalDependentKeys, function (value) {\n      return value.map(callback, this);\n    });\n  }\n  /**\n    Returns an array mapped to the specified key.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { mapBy } from '@ember/object/computed';\n  \n    class Person {\n      children = [];\n  \n      @mapBy('children', 'age') childAges;\n    }\n  \n    let lordByron = new Person();\n  \n    lordByron.childAges; // []\n  \n    set(lordByron, 'children', [\n      {\n        name: 'Augusta Ada Byron',\n        age: 7\n      }\n    ]);\n    lordByron.childAges; // [7]\n  \n    set(lordByron, 'children', [\n      ...lordByron.children,\n      {\n        name: 'Allegra Byron',\n        age: 5\n      }, {\n        name: 'Elizabeth Medora Leigh',\n        age: 8\n      }\n    ]);\n    lordByron.childAges; // [7, 5, 8]\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { mapBy } from '@ember/object/computed';\n  \n    let Person = EmberObject.extend({\n      childAges: mapBy('children', 'age')\n    });\n  \n    let lordByron = Person.create({ children: [] });\n  \n    lordByron.childAges; // []\n  \n    set(lordByron, 'children', [\n      {\n        name: 'Augusta Ada Byron',\n        age: 7\n      }\n    ]);\n    lordByron.childAges; // [7]\n  \n    set(lordByron, 'children', [\n      ...lordByron.children,\n      {\n        name: 'Allegra Byron',\n        age: 5\n      }, {\n        name: 'Elizabeth Medora Leigh',\n        age: 8\n      }\n    ]);\n    lordByron.childAges; // [7, 5, 8]\n    ```\n  \n    @method mapBy\n    @for @ember/object/computed\n    @static\n    @param {String} dependentKey\n    @param {String} propertyKey\n    @return {ComputedProperty} an array mapped to the specified key\n    @public\n  */\n\n  function mapBy(dependentKey, propertyKey) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @mapBy as a decorator directly, but it requires `dependentKey` and `propertyKey` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    (true && !(typeof propertyKey === 'string') && (0, _debug.assert)('`computed.mapBy` expects a property string for its second argument, ' + 'perhaps you meant to use \"map\"', typeof propertyKey === 'string'));\n    (true && !(!/[[\\]{}]/g.test(dependentKey)) && (0, _debug.assert)(`Dependent key passed to \\`computed.mapBy\\` shouldn't contain brace expanding pattern.`, !/[[\\]{}]/g.test(dependentKey)));\n    return map(`${dependentKey}.@each.${propertyKey}`, item => (0, _metal.get)(item, propertyKey));\n  }\n  /**\n    Filters the array by the callback.\n  \n    The callback method you provide should have the following signature:\n    - `item` is the current item in the iteration.\n    - `index` is the integer index of the current item in the iteration.\n    - `array` is the dependant array itself.\n  \n    ```javascript\n    function filterCallback(item, index, array);\n    ```\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { filter } from '@ember/object/computed';\n  \n    class Hamster {\n      constructor(chores) {\n        set(this, 'chores', chores);\n      }\n  \n      @filter('chores', function(chore, index, array) {\n        return !chore.done;\n      })\n      remainingChores;\n    }\n  \n    let hamster = Hamster.create([\n      { name: 'cook', done: true },\n      { name: 'clean', done: true },\n      { name: 'write more unit tests', done: false }\n    ]);\n  \n    hamster.remainingChores; // [{name: 'write more unit tests', done: false}]\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import { filter } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      remainingChores: filter('chores', function(chore, index, array) {\n        return !chore.done;\n      })\n    });\n  \n    let hamster = Hamster.create({\n      chores: [\n        { name: 'cook', done: true },\n        { name: 'clean', done: true },\n        { name: 'write more unit tests', done: false }\n      ]\n    });\n  \n    hamster.remainingChores; // [{name: 'write more unit tests', done: false}]\n    ```\n  \n    You can also use `@each.property` in your dependent key, the callback will\n    still use the underlying array:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { filter } from '@ember/object/computed';\n  \n    class Hamster {\n      constructor(chores) {\n        set(this, 'chores', chores);\n      }\n  \n      @filter('chores.@each.done', function(chore, index, array) {\n        return !chore.done;\n      })\n      remainingChores;\n    }\n  \n    let hamster = new Hamster([\n      { name: 'cook', done: true },\n      { name: 'clean', done: true },\n      { name: 'write more unit tests', done: false }\n    ]);\n    hamster.remainingChores; // [{name: 'write more unit tests', done: false}]\n  \n    set(hamster.chores[2], 'done', true);\n    hamster.remainingChores; // []\n    ```\n  \n    Finally, you can optionally pass an array of additional dependent keys as the\n    second parameter to the macro, if your filter function relies on any external\n    values:\n  \n    ```javascript\n    import { filter } from '@ember/object/computed';\n  \n    class Hamster {\n      constructor(chores) {\n        set(this, 'chores', chores);\n      }\n  \n      doneKey = 'finished';\n  \n      @filter('chores', ['doneKey'], function(chore, index, array) {\n        return !chore[this.doneKey];\n      })\n      remainingChores;\n    }\n  \n    let hamster = new Hamster([\n      { name: 'cook', finished: true },\n      { name: 'clean', finished: true },\n      { name: 'write more unit tests', finished: false }\n    ]);\n  \n    hamster.remainingChores; // [{name: 'write more unit tests', finished: false}]\n    ```\n  \n    @method filter\n    @for @ember/object/computed\n    @static\n    @param {String} dependentKey\n    @param {Array} [additionalDependentKeys] optional array of additional dependent keys\n    @param {Function} callback\n    @return {ComputedProperty} the filtered array\n    @public\n  */\n\n  function filter(dependentKey, additionalDependentKeys, callback) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @filter as a decorator directly, but it requires atleast `dependentKey` and `callback` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    if (callback === undefined && typeof additionalDependentKeys === 'function') {\n      callback = additionalDependentKeys;\n      additionalDependentKeys = [];\n    }\n    (true && !(typeof callback === 'function') && (0, _debug.assert)('The final parameter provided to filter must be a callback function', typeof callback === 'function'));\n    (true && !(Array.isArray(additionalDependentKeys)) && (0, _debug.assert)('The second parameter provided to filter must either be the callback or an array of additional dependent keys', Array.isArray(additionalDependentKeys)));\n    return arrayMacro(dependentKey, additionalDependentKeys, function (value) {\n      return value.filter(callback, this);\n    });\n  }\n  /**\n    Filters the array by the property and value.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { filterBy } from '@ember/object/computed';\n  \n    class Hamster {\n      constructor(chores) {\n        set(this, 'chores', chores);\n      }\n  \n      @filterBy('chores', 'done', false) remainingChores;\n    }\n  \n    let hamster = new Hamster([\n      { name: 'cook', done: true },\n      { name: 'clean', done: true },\n      { name: 'write more unit tests', done: false }\n    ]);\n  \n    hamster.remainingChores; // [{ name: 'write more unit tests', done: false }]\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import { filterBy } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      remainingChores: filterBy('chores', 'done', false)\n    });\n  \n    let hamster = Hamster.create({\n      chores: [\n        { name: 'cook', done: true },\n        { name: 'clean', done: true },\n        { name: 'write more unit tests', done: false }\n      ]\n    });\n  \n    hamster.remainingChores; // [{ name: 'write more unit tests', done: false }]\n    ```\n  \n    @method filterBy\n    @for @ember/object/computed\n    @static\n    @param {String} dependentKey\n    @param {String} propertyKey\n    @param {*} value\n    @return {ComputedProperty} the filtered array\n    @public\n  */\n\n  function filterBy(dependentKey, propertyKey, value) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @filterBy as a decorator directly, but it requires atleast `dependentKey` and `propertyKey` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    (true && !(!/[[\\]{}]/g.test(dependentKey)) && (0, _debug.assert)(`Dependent key passed to \\`computed.filterBy\\` shouldn't contain brace expanding pattern.`, !/[[\\]{}]/g.test(dependentKey)));\n    var callback;\n    if (arguments.length === 2) {\n      callback = item => (0, _metal.get)(item, propertyKey);\n    } else {\n      callback = item => (0, _metal.get)(item, propertyKey) === value;\n    }\n    return filter(`${dependentKey}.@each.${propertyKey}`, callback);\n  }\n  /**\n    A computed property which returns a new array with all the unique elements\n    from one or more dependent arrays.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { uniq } from '@ember/object/computed';\n  \n    class Hamster {\n      constructor(fruits) {\n        set(this, 'fruits', fruits);\n      }\n  \n      @uniq('fruits') uniqueFruits;\n    }\n  \n    let hamster = new Hamster([\n      'banana',\n      'grape',\n      'kale',\n      'banana'\n    ]);\n  \n    hamster.uniqueFruits; // ['banana', 'grape', 'kale']\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import { uniq } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      uniqueFruits: uniq('fruits')\n    });\n  \n    let hamster = Hamster.create({\n      fruits: [\n        'banana',\n        'grape',\n        'kale',\n        'banana'\n      ]\n    });\n  \n    hamster.uniqueFruits; // ['banana', 'grape', 'kale']\n    ```\n  \n    @method uniq\n    @for @ember/object/computed\n    @static\n    @param {String} propertyKey*\n    @return {ComputedProperty} computes a new array with all the\n    unique elements from the dependent array\n    @public\n  */\n\n  function uniq(...args) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @uniq/@union as a decorator directly, but it requires atleast one dependent key parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return multiArrayMacro(args, function (dependentKeys) {\n      var uniq = (0, _runtime.A)();\n      var seen = new Set();\n      dependentKeys.forEach(dependentKey => {\n        var value = (0, _metal.get)(this, dependentKey);\n        if ((0, _runtime.isArray)(value)) {\n          value.forEach(item => {\n            if (!seen.has(item)) {\n              seen.add(item);\n              uniq.push(item);\n            }\n          });\n        }\n      });\n      return uniq;\n    }, 'uniq');\n  }\n  /**\n    A computed property which returns a new array with all the unique elements\n    from an array, with uniqueness determined by specific key.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { uniqBy } from '@ember/object/computed';\n  \n    class Hamster {\n      constructor(fruits) {\n        set(this, 'fruits', fruits);\n      }\n  \n      @uniqBy('fruits', 'id') uniqueFruits;\n    }\n  \n    let hamster = new Hamster([\n      { id: 1, 'banana' },\n      { id: 2, 'grape' },\n      { id: 3, 'peach' },\n      { id: 1, 'banana' }\n    ]);\n  \n    hamster.uniqueFruits; // [ { id: 1, 'banana' }, { id: 2, 'grape' }, { id: 3, 'peach' }]\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import { uniqBy } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      uniqueFruits: uniqBy('fruits', 'id')\n    });\n  \n    let hamster = Hamster.create({\n      fruits: [\n        { id: 1, 'banana' },\n        { id: 2, 'grape' },\n        { id: 3, 'peach' },\n        { id: 1, 'banana' }\n      ]\n    });\n  \n    hamster.uniqueFruits; // [ { id: 1, 'banana' }, { id: 2, 'grape' }, { id: 3, 'peach' }]\n    ```\n  \n    @method uniqBy\n    @for @ember/object/computed\n    @static\n    @param {String} dependentKey\n    @param {String} propertyKey\n    @return {ComputedProperty} computes a new array with all the\n    unique elements from the dependent array\n    @public\n  */\n\n  function uniqBy(dependentKey, propertyKey) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @uniqBy as a decorator directly, but it requires `dependentKey` and `propertyKey` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    (true && !(!/[[\\]{}]/g.test(dependentKey)) && (0, _debug.assert)(`Dependent key passed to \\`computed.uniqBy\\` shouldn't contain brace expanding pattern.`, !/[[\\]{}]/g.test(dependentKey)));\n    return (0, _metal.computed)(`${dependentKey}.[]`, function () {\n      var list = (0, _metal.get)(this, dependentKey);\n      return (0, _runtime.isArray)(list) ? (0, _runtime.uniqBy)(list, propertyKey) : (0, _runtime.A)();\n    }).readOnly();\n  }\n  /**\n    A computed property which returns a new array with all the unique elements\n    from one or more dependent arrays.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { union } from '@ember/object/computed';\n  \n    class Hamster {\n      constructor(fruits, vegetables) {\n        set(this, 'fruits', fruits);\n        set(this, 'vegetables', vegetables);\n      }\n  \n      @union('fruits', 'vegetables') uniqueFruits;\n    });\n  \n    let hamster = new, Hamster(\n      [\n        'banana',\n        'grape',\n        'kale',\n        'banana',\n        'tomato'\n      ],\n      [\n        'tomato',\n        'carrot',\n        'lettuce'\n      ]\n    );\n  \n    hamster.uniqueFruits; // ['banana', 'grape', 'kale', 'tomato', 'carrot', 'lettuce']\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import { union } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      uniqueFruits: union('fruits', 'vegetables')\n    });\n  \n    let hamster = Hamster.create({\n      fruits: [\n        'banana',\n        'grape',\n        'kale',\n        'banana',\n        'tomato'\n      ],\n      vegetables: [\n        'tomato',\n        'carrot',\n        'lettuce'\n      ]\n    });\n  \n    hamster.uniqueFruits; // ['banana', 'grape', 'kale', 'tomato', 'carrot', 'lettuce']\n    ```\n  \n    @method union\n    @for @ember/object/computed\n    @static\n    @param {String} propertyKey*\n    @return {ComputedProperty} computes a new array with all the unique elements\n    from one or more dependent arrays.\n    @public\n  */\n\n  var union = _exports.union = uniq;\n  /**\n    A computed property which returns a new array with all the elements\n    two or more dependent arrays have in common.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { intersect } from '@ember/object/computed';\n  \n    class FriendGroups {\n      constructor(adaFriends, charlesFriends) {\n        set(this, 'adaFriends', adaFriends);\n        set(this, 'charlesFriends', charlesFriends);\n      }\n  \n      @intersect('adaFriends', 'charlesFriends') friendsInCommon;\n    }\n  \n    let groups = new FriendGroups(\n      ['Charles Babbage', 'John Hobhouse', 'William King', 'Mary Somerville'],\n      ['William King', 'Mary Somerville', 'Ada Lovelace', 'George Peacock']\n    );\n  \n    groups.friendsInCommon; // ['William King', 'Mary Somerville']\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import { intersect } from '@ember/object/computed';\n  \n    let FriendGroups = EmberObject.extend({\n      friendsInCommon: intersect('adaFriends', 'charlesFriends')\n    });\n  \n    let groups = FriendGroups.create({\n      adaFriends: ['Charles Babbage', 'John Hobhouse', 'William King', 'Mary Somerville'],\n      charlesFriends: ['William King', 'Mary Somerville', 'Ada Lovelace', 'George Peacock']\n    });\n  \n    groups.friendsInCommon; // ['William King', 'Mary Somerville']\n    ```\n  \n    @method intersect\n    @for @ember/object/computed\n    @static\n    @param {String} propertyKey*\n    @return {ComputedProperty} computes a new array with all the duplicated\n    elements from the dependent arrays\n    @public\n  */\n\n  function intersect(...args) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @intersect as a decorator directly, but it requires atleast one dependent key parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return multiArrayMacro(args, function (dependentKeys) {\n      var arrays = dependentKeys.map(dependentKey => {\n        var array = (0, _metal.get)(this, dependentKey);\n        return (0, _runtime.isArray)(array) ? array : [];\n      });\n      var results = arrays.pop().filter(candidate => {\n        for (var i = 0; i < arrays.length; i++) {\n          var found = false;\n          var array = arrays[i];\n          for (var j = 0; j < array.length; j++) {\n            if (array[j] === candidate) {\n              found = true;\n              break;\n            }\n          }\n          if (found === false) {\n            return false;\n          }\n        }\n        return true;\n      });\n      return (0, _runtime.A)(results);\n    }, 'intersect');\n  }\n  /**\n    A computed property which returns a new array with all the properties from the\n    first dependent array that are not in the second dependent array.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { setDiff } from '@ember/object/computed';\n  \n    class Hamster {\n      constructor(likes, fruits) {\n        set(this, 'likes', likes);\n        set(this, 'fruits', fruits);\n      }\n  \n      @setDiff('likes', 'fruits') wants;\n    }\n  \n    let hamster = new Hamster(\n      [\n        'banana',\n        'grape',\n        'kale'\n      ],\n      [\n        'grape',\n        'kale',\n      ]\n    );\n  \n    hamster.wants; // ['banana']\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import { setDiff } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      wants: setDiff('likes', 'fruits')\n    });\n  \n    let hamster = Hamster.create({\n      likes: [\n        'banana',\n        'grape',\n        'kale'\n      ],\n      fruits: [\n        'grape',\n        'kale',\n      ]\n    });\n  \n    hamster.wants; // ['banana']\n    ```\n  \n    @method setDiff\n    @for @ember/object/computed\n    @static\n    @param {String} setAProperty\n    @param {String} setBProperty\n    @return {ComputedProperty} computes a new array with all the items from the\n    first dependent array that are not in the second dependent array\n    @public\n  */\n\n  function setDiff(setAProperty, setBProperty) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @setDiff as a decorator directly, but it requires atleast one dependent key parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    (true && !(arguments.length === 2) && (0, _debug.assert)('`computed.setDiff` requires exactly two dependent arrays.', arguments.length === 2));\n    (true && !(!/[[\\]{}]/g.test(setAProperty) && !/[[\\]{}]/g.test(setBProperty)) && (0, _debug.assert)(`Dependent keys passed to \\`computed.setDiff\\` shouldn't contain brace expanding pattern.`, !/[[\\]{}]/g.test(setAProperty) && !/[[\\]{}]/g.test(setBProperty)));\n    return (0, _metal.computed)(`${setAProperty}.[]`, `${setBProperty}.[]`, function () {\n      var setA = (0, _metal.get)(this, setAProperty);\n      var setB = (0, _metal.get)(this, setBProperty);\n      if (!(0, _runtime.isArray)(setA)) {\n        return (0, _runtime.A)();\n      }\n      if (!(0, _runtime.isArray)(setB)) {\n        return (0, _runtime.A)(setA);\n      }\n      return setA.filter(x => setB.indexOf(x) === -1);\n    }).readOnly();\n  }\n  /**\n    A computed property that returns the array of values for the provided\n    dependent properties.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { collect } from '@ember/object/computed';\n  \n    class Hamster {\n      @collect('hat', 'shirt') clothes;\n    }\n  \n    let hamster = new Hamster();\n  \n    hamster.clothes; // [null, null]\n  \n    set(hamster, 'hat', 'Camp Hat');\n    set(hamster, 'shirt', 'Camp Shirt');\n    hamster.clothes; // ['Camp Hat', 'Camp Shirt']\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject, { set } from '@ember/object';\n    import { collect } from '@ember/object/computed';\n  \n    let Hamster = EmberObject.extend({\n      clothes: collect('hat', 'shirt')\n    });\n  \n    let hamster = Hamster.create();\n  \n    hamster.clothes; // [null, null]\n  \n    set(hamster, 'hat', 'Camp Hat');\n    set(hamster, 'shirt', 'Camp Shirt');\n    hamster.clothes; // ['Camp Hat', 'Camp Shirt']\n    ```\n  \n    @method collect\n    @for @ember/object/computed\n    @static\n    @param {String} dependentKey*\n    @return {ComputedProperty} computed property which maps values of all passed\n    in properties to an array.\n    @public\n  */\n\n  function collect(...dependentKeys) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @collect as a decorator directly, but it requires atleast one dependent key parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    return multiArrayMacro(dependentKeys, function () {\n      var res = dependentKeys.map(key => {\n        var val = (0, _metal.get)(this, key);\n        return val === undefined ? null : val;\n      });\n      return (0, _runtime.A)(res);\n    }, 'collect');\n  }\n  /**\n    A computed property which returns a new array with all the properties from the\n    first dependent array sorted based on a property or sort function. The sort\n    macro can be used in two different ways:\n  \n    1. By providing a sort callback function\n    2. By providing an array of keys to sort the array\n  \n    In the first form, the callback method you provide should have the following\n    signature:\n  \n    ```javascript\n    function sortCallback(itemA, itemB);\n    ```\n  \n    - `itemA` the first item to compare.\n    - `itemB` the second item to compare.\n  \n    This function should return negative number (e.g. `-1`) when `itemA` should\n    come before `itemB`. It should return positive number (e.g. `1`) when `itemA`\n    should come after `itemB`. If the `itemA` and `itemB` are equal this function\n    should return `0`.\n  \n    Therefore, if this function is comparing some numeric values, simple `itemA -\n    itemB` or `itemA.get( 'foo' ) - itemB.get( 'foo' )` can be used instead of\n    series of `if`.\n  \n    Example:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { sort } from '@ember/object/computed';\n  \n    class ToDoList {\n      constructor(todos) {\n        set(this, 'todos', todos);\n      }\n  \n      // using a custom sort function\n      @sort('todos', function(a, b){\n        if (a.priority > b.priority) {\n          return 1;\n        } else if (a.priority < b.priority) {\n          return -1;\n        }\n  \n        return 0;\n      })\n      priorityTodos;\n    }\n  \n    let todoList = new ToDoList([\n      { name: 'Unit Test', priority: 2 },\n      { name: 'Documentation', priority: 3 },\n      { name: 'Release', priority: 1 }\n    ]);\n  \n    todoList.priorityTodos; // [{ name:'Release', priority:1 }, { name:'Unit Test', priority:2 }, { name:'Documentation', priority:3 }]\n    ```\n  \n    Classic Class Example:\n  \n    ```javascript\n    import EmberObject from '@ember/object';\n    import { sort } from '@ember/object/computed';\n  \n    let ToDoList = EmberObject.extend({\n      // using a custom sort function\n      priorityTodos: sort('todos', function(a, b){\n        if (a.priority > b.priority) {\n          return 1;\n        } else if (a.priority < b.priority) {\n          return -1;\n        }\n  \n        return 0;\n      })\n    });\n  \n    let todoList = ToDoList.create({\n      todos: [\n        { name: 'Unit Test', priority: 2 },\n        { name: 'Documentation', priority: 3 },\n        { name: 'Release', priority: 1 }\n      ]\n    });\n  \n    todoList.priorityTodos; // [{ name:'Release', priority:1 }, { name:'Unit Test', priority:2 }, { name:'Documentation', priority:3 }]\n    ```\n  \n    You can also optionally pass an array of additional dependent keys as the\n    second parameter, if your sort function is dependent on additional values that\n    could changes:\n  \n    ```js\n    import EmberObject, { set } from '@ember/object';\n    import { sort } from '@ember/object/computed';\n  \n    class ToDoList {\n      sortKey = 'priority';\n  \n      constructor(todos) {\n        set(this, 'todos', todos);\n      }\n  \n      // using a custom sort function\n      @sort('todos', ['sortKey'], function(a, b){\n        if (a[this.sortKey] > b[this.sortKey]) {\n          return 1;\n        } else if (a[this.sortKey] < b[this.sortKey]) {\n          return -1;\n        }\n  \n        return 0;\n      })\n      sortedTodos;\n    });\n  \n    let todoList = new ToDoList([\n      { name: 'Unit Test', priority: 2 },\n      { name: 'Documentation', priority: 3 },\n      { name: 'Release', priority: 1 }\n    ]);\n  \n    todoList.priorityTodos; // [{ name:'Release', priority:1 }, { name:'Unit Test', priority:2 }, { name:'Documentation', priority:3 }]\n    ```\n  \n    In the second form, you should provide the key of the array of sort values as\n    the second parameter:\n  \n    ```javascript\n    import { set } from '@ember/object';\n    import { sort } from '@ember/object/computed';\n  \n    class ToDoList {\n      constructor(todos) {\n        set(this, 'todos', todos);\n      }\n  \n      // using standard ascending sort\n      todosSorting = ['name'];\n      @sort('todos', 'todosSorting') sortedTodos;\n  \n      // using descending sort\n      todosSortingDesc = ['name:desc'];\n      @sort('todos', 'todosSortingDesc') sortedTodosDesc;\n    }\n  \n    let todoList = new ToDoList([\n      { name: 'Unit Test', priority: 2 },\n      { name: 'Documentation', priority: 3 },\n      { name: 'Release', priority: 1 }\n    ]);\n  \n    todoList.sortedTodos; // [{ name:'Documentation', priority:3 }, { name:'Release', priority:1 }, { name:'Unit Test', priority:2 }]\n    todoList.sortedTodosDesc; // [{ name:'Unit Test', priority:2 }, { name:'Release', priority:1 }, { name:'Documentation', priority:3 }]\n    ```\n  \n    @method sort\n    @for @ember/object/computed\n    @static\n    @param {String} itemsKey\n    @param {String|Function|Array} sortDefinitionOrDependentKeys The key of the sort definition (an array of sort properties),\n    the sort function, or an array of additional dependent keys\n    @param {Function?} sortDefinition the sort function (when used with additional dependent keys)\n    @return {ComputedProperty} computes a new sorted array based on the sort\n    property array or callback function\n    @public\n  */\n\n  function sort(itemsKey, additionalDependentKeys, sortDefinition) {\n    (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @sort as a decorator directly, but it requires atleast an `itemsKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n    if (true /* DEBUG */) {\n      var argumentsValid = false;\n      if (arguments.length === 2) {\n        argumentsValid = typeof itemsKey === 'string' && (typeof additionalDependentKeys === 'string' || typeof additionalDependentKeys === 'function');\n      }\n      if (arguments.length === 3) {\n        argumentsValid = typeof itemsKey === 'string' && Array.isArray(additionalDependentKeys) && typeof sortDefinition === 'function';\n      }\n      (true && !(argumentsValid) && (0, _debug.assert)('`computed.sort` can either be used with an array of sort properties or with a sort function. If used with an array of sort properties, it must receive exactly two arguments: the key of the array to sort, and the key of the array of sort properties. If used with a sort function, it may receive up to three arguments: the key of the array to sort, an optional additional array of dependent keys for the computed property, and the sort function.', argumentsValid));\n    }\n    if (sortDefinition === undefined && !Array.isArray(additionalDependentKeys)) {\n      sortDefinition = additionalDependentKeys;\n      additionalDependentKeys = [];\n    }\n    if (typeof sortDefinition === 'function') {\n      return customSort(itemsKey, additionalDependentKeys, sortDefinition);\n    } else {\n      return propertySort(itemsKey, sortDefinition);\n    }\n  }\n  function customSort(itemsKey, additionalDependentKeys, comparator) {\n    return arrayMacro(itemsKey, additionalDependentKeys, function (value) {\n      return value.slice().sort((x, y) => comparator.call(this, x, y));\n    });\n  } // This one needs to dynamically set up and tear down observers on the itemsKey\n  // depending on the sortProperties\n\n  function propertySort(itemsKey, sortPropertiesKey) {\n    var cp = (0, _metal.autoComputed)(function (key) {\n      var sortProperties = (0, _metal.get)(this, sortPropertiesKey);\n      (true && !((0, _runtime.isArray)(sortProperties) && sortProperties.every(s => typeof s === 'string')) && (0, _debug.assert)(`The sort definition for '${key}' on ${this} must be a function or an array of strings`, (0, _runtime.isArray)(sortProperties) && sortProperties.every(s => typeof s === 'string')));\n      var itemsKeyIsAtThis = itemsKey === '@this';\n      var normalizedSortProperties = normalizeSortProperties(sortProperties);\n      var items = itemsKeyIsAtThis ? this : (0, _metal.get)(this, itemsKey);\n      if (!(0, _runtime.isArray)(items)) {\n        return (0, _runtime.A)();\n      }\n      if (normalizedSortProperties.length === 0) {\n        return (0, _runtime.A)(items.slice());\n      } else {\n        return sortByNormalizedSortProperties(items, normalizedSortProperties);\n      }\n    }).readOnly();\n    return cp;\n  }\n  function normalizeSortProperties(sortProperties) {\n    return sortProperties.map(p => {\n      var [prop, direction] = p.split(':');\n      direction = direction || 'asc';\n      return [prop, direction];\n    });\n  }\n  function sortByNormalizedSortProperties(items, normalizedSortProperties) {\n    return (0, _runtime.A)(items.slice().sort((itemA, itemB) => {\n      for (var i = 0; i < normalizedSortProperties.length; i++) {\n        var [prop, direction] = normalizedSortProperties[i];\n        var result = (0, _runtime.compare)((0, _metal.get)(itemA, prop), (0, _metal.get)(itemB, prop));\n        if (result !== 0) {\n          return direction === 'desc' ? -1 * result : result;\n        }\n      }\n      return 0;\n    }));\n  }\n});","define(\"@ember/object/mixin\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _metal.Mixin;\n    }\n  });\n});","define(\"@ember/object/observable\", [\"exports\", \"@ember/-internals/runtime\"], function (_exports, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _runtime.Observable;\n    }\n  });\n});","define(\"@ember/object/observers\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"addObserver\", {\n    enumerable: true,\n    get: function () {\n      return _metal.addObserver;\n    }\n  });\n  Object.defineProperty(_exports, \"removeObserver\", {\n    enumerable: true,\n    get: function () {\n      return _metal.removeObserver;\n    }\n  });\n});","define(\"@ember/object/promise-proxy-mixin\", [\"exports\", \"@ember/-internals/runtime\"], function (_exports, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _runtime.PromiseProxyMixin;\n    }\n  });\n});","define(\"@ember/object/proxy\", [\"exports\", \"@ember/-internals/runtime\"], function (_exports, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _runtime.ObjectProxy;\n    }\n  });\n});","define(\"@ember/polyfills/index\", [\"exports\", \"@ember/deprecated-features\", \"@ember/polyfills/lib/merge\", \"@ember/polyfills/lib/assign\"], function (_exports, _deprecatedFeatures, _merge, _assign) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"assign\", {\n    enumerable: true,\n    get: function () {\n      return _assign.default;\n    }\n  });\n  Object.defineProperty(_exports, \"assignPolyfill\", {\n    enumerable: true,\n    get: function () {\n      return _assign.assign;\n    }\n  });\n  _exports.merge = _exports.hasPropertyAccessors = void 0;\n  var merge = _exports.merge = _deprecatedFeatures.MERGE ? _merge.default : undefined; // Export `assignPolyfill` for testing\n\n  var hasPropertyAccessors = _exports.hasPropertyAccessors = true;\n});","define(\"@ember/polyfills/lib/assign\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.assign = assign;\n  _exports.default = void 0;\n  /**\n   @module @ember/polyfills\n  */\n\n  /**\n    Copy properties from a source object to a target object. Source arguments remain unchanged.\n  \n    ```javascript\n    import { assign } from '@ember/polyfills';\n  \n    var a = { first: 'Yehuda' };\n    var b = { last: 'Katz' };\n    var c = { company: 'Other Company' };\n    var d = { company: 'Tilde Inc.' };\n    assign(a, b, c, d); // a === { first: 'Yehuda', last: 'Katz', company: 'Tilde Inc.' };\n    ```\n  \n    @method assign\n    @for @ember/polyfills\n    @param {Object} target The object to assign into\n    @param {Object} ...args The objects to copy properties from\n    @return {Object}\n    @public\n    @static\n  */\n  function assign(target) {\n    for (var i = 1; i < arguments.length; i++) {\n      var arg = arguments[i];\n      if (!arg) {\n        continue;\n      }\n      var updates = Object.keys(arg);\n      for (var _i = 0; _i < updates.length; _i++) {\n        var prop = updates[_i];\n        target[prop] = arg[prop];\n      }\n    }\n    return target;\n  } // Note: We use the bracket notation so\n  //       that the babel plugin does not\n  //       transform it.\n  // https://www.npmjs.com/package/babel-plugin-transform-object-assign\n\n  var {\n    assign: _assign\n  } = Object;\n  var _default = _exports.default = _assign || assign;\n});","define(\"@ember/polyfills/lib/merge\", [\"exports\", \"@ember/debug\"], function (_exports, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n    Merge the contents of two objects together into the first object.\n  \n    ```javascript\n    import { merge } from '@ember/polyfills';\n  \n    merge({ first: 'Tom' }, { last: 'Dale' }); // { first: 'Tom', last: 'Dale' }\n    var a = { first: 'Yehuda' };\n    var b = { last: 'Katz' };\n    merge(a, b); // a == { first: 'Yehuda', last: 'Katz' }, b == { last: 'Katz' }\n    ```\n  \n    @method merge\n    @static\n    @for @ember/polyfills\n    @param {Object} original The object to merge into\n    @param {Object} updates The object to copy properties from\n    @return {Object}\n    @deprecated\n    @public\n  */\n\n  function merge(original, updates) {\n    (true && !(false) && (0, _debug.deprecate)('Use of `merge` has been deprecated. Please use `assign` instead.', false, {\n      id: 'ember-polyfills.deprecate-merge',\n      until: '4.0.0',\n      url: 'https://deprecations.emberjs.com/v3.x/#toc_ember-polyfills-deprecate-merge',\n      for: 'ember-source',\n      since: {\n        enabled: '3.6.0-beta.1'\n      }\n    }));\n    if (updates === null || typeof updates !== 'object') {\n      return original;\n    }\n    var props = Object.keys(updates);\n    var prop;\n    for (var i = 0; i < props.length; i++) {\n      prop = props[i];\n      original[prop] = updates[prop];\n    }\n    return original;\n  }\n  var _default = _exports.default = merge;\n});","define(\"@ember/routing/auto-location\", [\"exports\", \"@ember/-internals/routing\"], function (_exports, _routing) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _routing.AutoLocation;\n    }\n  });\n});","define(\"@ember/routing/hash-location\", [\"exports\", \"@ember/-internals/routing\"], function (_exports, _routing) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _routing.HashLocation;\n    }\n  });\n});","define(\"@ember/routing/history-location\", [\"exports\", \"@ember/-internals/routing\"], function (_exports, _routing) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _routing.HistoryLocation;\n    }\n  });\n});","define(\"@ember/routing/index\", [\"exports\", \"@ember/-internals/glimmer\"], function (_exports, _glimmer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"LinkTo\", {\n    enumerable: true,\n    get: function () {\n      return _glimmer.LinkComponent;\n    }\n  });\n});","define(\"@ember/routing/link-component\", [\"exports\", \"@ember/debug\", \"@ember/-internals/glimmer\"], function (_exports, _debug, _glimmer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _glimmer.LinkComponent;\n    }\n  });\n  if (true\n  /* EMBER_MODERNIZED_BUILT_IN_COMPONENTS */) {\n    (true && !(false) && (0, _debug.deprecate)(`Using Ember.LinkComponent or importing from 'LinkComponent' has been deprecated, install the ` + `\\`@ember/legacy-built-in-components\\` addon and use \\`import { LinkComponent } from ` + `'@ember/legacy-built-in-components';\\` instead`, false, {\n      id: 'ember.built-in-components.import',\n      until: '4.0.0',\n      for: 'ember-source',\n      since: {\n        enabled: '3.27.0'\n      },\n      url: 'https://deprecations.emberjs.com/v3.x#toc_ember-built-in-components-import'\n    }));\n  }\n});","define(\"@ember/routing/location\", [\"exports\", \"@ember/-internals/routing\"], function (_exports, _routing) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _routing.Location;\n    }\n  });\n});","define(\"@ember/routing/none-location\", [\"exports\", \"@ember/-internals/routing\"], function (_exports, _routing) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _routing.NoneLocation;\n    }\n  });\n});","define(\"@ember/routing/route\", [\"exports\", \"@ember/-internals/routing\"], function (_exports, _routing) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _routing.Route;\n    }\n  });\n});","define(\"@ember/routing/router\", [\"exports\", \"@ember/-internals/routing\"], function (_exports, _routing) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _routing.Router;\n    }\n  });\n});","define(\"@ember/runloop/index\", [\"exports\", \"@ember/debug\", \"@ember/-internals/error-handling\", \"@ember/-internals/metal\", \"@ember/-internals/overrides\", \"backburner\"], function (_exports, _debug, _errorHandling, _metal, _overrides, _backburner2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports._backburner = void 0;\n  _exports._cancelTimers = _cancelTimers;\n  _exports._deprecatedGlobalGetCurrentRunLoop = void 0;\n  _exports._getCurrentRunLoop = _getCurrentRunLoop;\n  _exports._hasScheduledTimers = _hasScheduledTimers;\n  _exports._rsvpErrorQueue = _exports._queues = void 0;\n  _exports.begin = begin;\n  _exports.bind = void 0;\n  _exports.cancel = cancel;\n  _exports.debounce = debounce;\n  _exports.end = end;\n  _exports.join = join;\n  _exports.later = later;\n  _exports.next = next;\n  _exports.once = once;\n  _exports.run = run;\n  _exports.schedule = schedule;\n  _exports.scheduleOnce = scheduleOnce;\n  _exports.throttle = throttle;\n  var currentRunLoop = null;\n  function _getCurrentRunLoop() {\n    return currentRunLoop;\n  }\n  function onBegin(current) {\n    currentRunLoop = current;\n  }\n  function onEnd(current, next) {\n    currentRunLoop = next;\n    (0, _metal.flushAsyncObservers)();\n  }\n  function flush(queueName, next) {\n    if (queueName === 'render' || queueName === _rsvpErrorQueue) {\n      (0, _metal.flushAsyncObservers)();\n    }\n    next();\n  }\n  var _rsvpErrorQueue = _exports._rsvpErrorQueue = `${Math.random()}${Date.now()}`.replace('.', '');\n  /**\n    Array of named queues. This array determines the order in which queues\n    are flushed at the end of the RunLoop. You can define your own queues by\n    simply adding the queue name to this array. Normally you should not need\n    to inspect or modify this property.\n  \n    @property queues\n    @type Array\n    @default ['actions', 'destroy']\n    @private\n  */\n\n  var _queues = _exports._queues = ['actions',\n  // used in router transitions to prevent unnecessary loading state entry\n  // if all context promises resolve on the 'actions' queue first\n  'routerTransitions', 'render', 'afterRender', 'destroy',\n  // used to re-throw unhandled RSVP rejection errors specifically in this\n  // position to avoid breaking anything rendered in the other sections\n  _rsvpErrorQueue];\n  var _backburner = _exports._backburner = new _backburner2.default(_queues, {\n    defaultQueue: 'actions',\n    onBegin,\n    onEnd,\n    onErrorTarget: _errorHandling.onErrorTarget,\n    onErrorMethod: 'onerror',\n    flush\n  });\n  /**\n   @module @ember/runloop\n  */\n  // ..........................................................\n  // run - this is ideally the only public API the dev sees\n  //\n\n  /**\n    Runs the passed target and method inside of a RunLoop, ensuring any\n    deferred actions including bindings and views updates are flushed at the\n    end.\n  \n    Normally you should not need to invoke this method yourself. However if\n    you are implementing raw event handlers when interfacing with other\n    libraries or plugins, you should probably wrap all of your code inside this\n    call.\n  \n    ```javascript\n    import { run } from '@ember/runloop';\n  \n    run(function() {\n      // code to be executed within a RunLoop\n    });\n    ```\n    @method run\n    @for @ember/runloop\n    @static\n    @param {Object} [target] target of method to call\n    @param {Function|String} method Method to invoke.\n      May be a function or a string. If you pass a string\n      then it will be looked up on the passed target.\n    @param {Object} [args*] Any additional arguments you wish to pass to the method.\n    @return {Object} return value from invoking the passed function.\n    @public\n  */\n\n  function run() {\n    return _backburner.run(...arguments);\n  }\n  /**\n    If no run-loop is present, it creates a new one. If a run loop is\n    present it will queue itself to run on the existing run-loops action\n    queue.\n  \n    Please note: This is not for normal usage, and should be used sparingly.\n  \n    If invoked when not within a run loop:\n  \n    ```javascript\n    import { join } from '@ember/runloop';\n  \n    join(function() {\n      // creates a new run-loop\n    });\n    ```\n  \n    Alternatively, if called within an existing run loop:\n  \n    ```javascript\n    import { run, join } from '@ember/runloop';\n  \n    run(function() {\n      // creates a new run-loop\n  \n      join(function() {\n        // joins with the existing run-loop, and queues for invocation on\n        // the existing run-loops action queue.\n      });\n    });\n    ```\n  \n    @method join\n    @static\n    @for @ember/runloop\n    @param {Object} [target] target of method to call\n    @param {Function|String} method Method to invoke.\n      May be a function or a string. If you pass a string\n      then it will be looked up on the passed target.\n    @param {Object} [args*] Any additional arguments you wish to pass to the method.\n    @return {Object} Return value from invoking the passed function. Please note,\n    when called within an existing loop, no return value is possible.\n    @public\n  */\n\n  function join() {\n    return _backburner.join(...arguments);\n  }\n  /**\n    Allows you to specify which context to call the specified function in while\n    adding the execution of that function to the Ember run loop. This ability\n    makes this method a great way to asynchronously integrate third-party libraries\n    into your Ember application.\n  \n    `bind` takes two main arguments, the desired context and the function to\n    invoke in that context. Any additional arguments will be supplied as arguments\n    to the function that is passed in.\n  \n    Let's use the creation of a TinyMCE component as an example. Currently,\n    TinyMCE provides a setup configuration option we can use to do some processing\n    after the TinyMCE instance is initialized but before it is actually rendered.\n    We can use that setup option to do some additional setup for our component.\n    The component itself could look something like the following:\n  \n    ```app/components/rich-text-editor.js\n    import Component from '@ember/component';\n    import { on } from '@ember/object/evented';\n    import { bind } from '@ember/runloop';\n  \n    export default Component.extend({\n      initializeTinyMCE: on('didInsertElement', function() {\n        tinymce.init({\n          selector: '#' + this.$().prop('id'),\n          setup: bind(this, this.setupEditor)\n        });\n      }),\n  \n      didInsertElement() {\n        tinymce.init({\n          selector: '#' + this.$().prop('id'),\n          setup: bind(this, this.setupEditor)\n        });\n      }\n  \n      setupEditor(editor) {\n        this.set('editor', editor);\n  \n        editor.on('change', function() {\n          console.log('content changed!');\n        });\n      }\n    });\n    ```\n  \n    In this example, we use `bind` to bind the setupEditor method to the\n    context of the RichTextEditor component and to have the invocation of that\n    method be safely handled and executed by the Ember run loop.\n  \n    @method bind\n    @static\n    @for @ember/runloop\n    @param {Object} [target] target of method to call\n    @param {Function|String} method Method to invoke.\n      May be a function or a string. If you pass a string\n      then it will be looked up on the passed target.\n    @param {Object} [args*] Any additional arguments you wish to pass to the method.\n    @return {Function} returns a new function that will always have a particular context\n    @since 1.4.0\n    @public\n  */\n\n  var bind = (...curried) => {\n    (true && !(function (methodOrTarget, methodOrArg) {\n      // Applies the same logic as backburner parseArgs for detecting if a method\n      // is actually being passed.\n      var length = arguments.length;\n      if (length === 0) {\n        return false;\n      } else if (length === 1) {\n        return typeof methodOrTarget === 'function';\n      } else {\n        var type = typeof methodOrArg;\n        return type === 'function' ||\n        // second argument is a function\n        methodOrTarget !== null && type === 'string' && methodOrArg in methodOrTarget ||\n        // second argument is the name of a method in first argument\n        typeof methodOrTarget === 'function' //first argument is a function\n;\n      }\n    }(...curried)) && (0, _debug.assert)('could not find a suitable method to bind', function (methodOrTarget, methodOrArg) {\n      var length = arguments.length;\n      if (length === 0) {\n        return false;\n      } else if (length === 1) {\n        return typeof methodOrTarget === 'function';\n      } else {\n        var type = typeof methodOrArg;\n        return type === 'function' || methodOrTarget !== null && type === 'string' && methodOrArg in methodOrTarget || typeof methodOrTarget === 'function';\n      }\n    }(...curried)));\n    return (...args) => join(...curried.concat(args));\n  };\n  /**\n    Begins a new RunLoop. Any deferred actions invoked after the begin will\n    be buffered until you invoke a matching call to `end()`. This is\n    a lower-level way to use a RunLoop instead of using `run()`.\n  \n    ```javascript\n    import { begin, end } from '@ember/runloop';\n  \n    begin();\n    // code to be executed within a RunLoop\n    end();\n    ```\n  \n    @method begin\n    @static\n    @for @ember/runloop\n    @return {void}\n    @public\n  */\n  _exports.bind = bind;\n  function begin() {\n    _backburner.begin();\n  }\n  /**\n    Ends a RunLoop. This must be called sometime after you call\n    `begin()` to flush any deferred actions. This is a lower-level way\n    to use a RunLoop instead of using `run()`.\n  \n    ```javascript\n    import { begin, end } from '@ember/runloop';\n  \n    begin();\n    // code to be executed within a RunLoop\n    end();\n    ```\n  \n    @method end\n    @static\n    @for @ember/runloop\n    @return {void}\n    @public\n  */\n\n  function end() {\n    _backburner.end();\n  }\n  /**\n    Adds the passed target/method and any optional arguments to the named\n    queue to be executed at the end of the RunLoop. If you have not already\n    started a RunLoop when calling this method one will be started for you\n    automatically.\n  \n    At the end of a RunLoop, any methods scheduled in this way will be invoked.\n    Methods will be invoked in an order matching the named queues defined in\n    the `queues` property.\n  \n    ```javascript\n    import { schedule } from '@ember/runloop';\n  \n    schedule('afterRender', this, function() {\n      // this will be executed in the 'afterRender' queue\n      console.log('scheduled on afterRender queue');\n    });\n  \n    schedule('actions', this, function() {\n      // this will be executed in the 'actions' queue\n      console.log('scheduled on actions queue');\n    });\n  \n    // Note the functions will be run in order based on the run queues order.\n    // Output would be:\n    //   scheduled on actions queue\n    //   scheduled on afterRender queue\n    ```\n  \n    @method schedule\n    @static\n    @for @ember/runloop\n    @param {String} queue The name of the queue to schedule against. Default queues is 'actions'\n    @param {Object} [target] target object to use as the context when invoking a method.\n    @param {String|Function} method The method to invoke. If you pass a string it\n      will be resolved on the target object at the time the scheduled item is\n      invoked allowing you to change the target function.\n    @param {Object} [arguments*] Optional arguments to be passed to the queued method.\n    @return {*} Timer information for use in canceling, see `cancel`.\n    @public\n  */\n\n  function schedule() /* queue, target, method */\n  {\n    return _backburner.schedule(...arguments);\n  } // Used by global test teardown\n\n  function _hasScheduledTimers() {\n    return _backburner.hasTimers();\n  } // Used by global test teardown\n\n  function _cancelTimers() {\n    _backburner.cancelTimers();\n  }\n  /**\n    Invokes the passed target/method and optional arguments after a specified\n    period of time. The last parameter of this method must always be a number\n    of milliseconds.\n  \n    You should use this method whenever you need to run some action after a\n    period of time instead of using `setTimeout()`. This method will ensure that\n    items that expire during the same script execution cycle all execute\n    together, which is often more efficient than using a real setTimeout.\n  \n    ```javascript\n    import { later } from '@ember/runloop';\n  \n    later(myContext, function() {\n      // code here will execute within a RunLoop in about 500ms with this == myContext\n    }, 500);\n    ```\n  \n    @method later\n    @static\n    @for @ember/runloop\n    @param {Object} [target] target of method to invoke\n    @param {Function|String} method The method to invoke.\n      If you pass a string it will be resolved on the\n      target at the time the method is invoked.\n    @param {Object} [args*] Optional arguments to pass to the timeout.\n    @param {Number} wait Number of milliseconds to wait.\n    @return {*} Timer information for use in canceling, see `cancel`.\n    @public\n  */\n\n  function later() /*target, method*/\n  {\n    return _backburner.later(...arguments);\n  }\n  /**\n   Schedule a function to run one time during the current RunLoop. This is equivalent\n    to calling `scheduleOnce` with the \"actions\" queue.\n  \n    @method once\n    @static\n    @for @ember/runloop\n    @param {Object} [target] The target of the method to invoke.\n    @param {Function|String} method The method to invoke.\n      If you pass a string it will be resolved on the\n      target at the time the method is invoked.\n    @param {Object} [args*] Optional arguments to pass to the timeout.\n    @return {Object} Timer information for use in canceling, see `cancel`.\n    @public\n  */\n\n  function once(...args) {\n    args.unshift('actions');\n    return _backburner.scheduleOnce(...args);\n  }\n  /**\n    Schedules a function to run one time in a given queue of the current RunLoop.\n    Calling this method with the same queue/target/method combination will have\n    no effect (past the initial call).\n  \n    Note that although you can pass optional arguments these will not be\n    considered when looking for duplicates. New arguments will replace previous\n    calls.\n  \n    ```javascript\n    import { run, scheduleOnce } from '@ember/runloop';\n  \n    function sayHi() {\n      console.log('hi');\n    }\n  \n    run(function() {\n      scheduleOnce('afterRender', myContext, sayHi);\n      scheduleOnce('afterRender', myContext, sayHi);\n      // sayHi will only be executed once, in the afterRender queue of the RunLoop\n    });\n    ```\n  \n    Also note that for `scheduleOnce` to prevent additional calls, you need to\n    pass the same function instance. The following case works as expected:\n  \n    ```javascript\n    function log() {\n      console.log('Logging only once');\n    }\n  \n    function scheduleIt() {\n      scheduleOnce('actions', myContext, log);\n    }\n  \n    scheduleIt();\n    scheduleIt();\n    ```\n  \n    But this other case will schedule the function multiple times:\n  \n    ```javascript\n    import { scheduleOnce } from '@ember/runloop';\n  \n    function scheduleIt() {\n      scheduleOnce('actions', myContext, function() {\n        console.log('Closure');\n      });\n    }\n  \n    scheduleIt();\n    scheduleIt();\n  \n    // \"Closure\" will print twice, even though we're using `scheduleOnce`,\n    // because the function we pass to it won't match the\n    // previously scheduled operation.\n    ```\n  \n    Available queues, and their order, can be found at `queues`\n  \n    @method scheduleOnce\n    @static\n    @for @ember/runloop\n    @param {String} [queue] The name of the queue to schedule against. Default queues is 'actions'.\n    @param {Object} [target] The target of the method to invoke.\n    @param {Function|String} method The method to invoke.\n      If you pass a string it will be resolved on the\n      target at the time the method is invoked.\n    @param {Object} [args*] Optional arguments to pass to the timeout.\n    @return {Object} Timer information for use in canceling, see `cancel`.\n    @public\n  */\n\n  function scheduleOnce() /* queue, target, method*/\n  {\n    return _backburner.scheduleOnce(...arguments);\n  }\n  /**\n    Schedules an item to run from within a separate run loop, after\n    control has been returned to the system. This is equivalent to calling\n    `later` with a wait time of 1ms.\n  \n    ```javascript\n    import { next } from '@ember/runloop';\n  \n    next(myContext, function() {\n      // code to be executed in the next run loop,\n      // which will be scheduled after the current one\n    });\n    ```\n  \n    Multiple operations scheduled with `next` will coalesce\n    into the same later run loop, along with any other operations\n    scheduled by `later` that expire right around the same\n    time that `next` operations will fire.\n  \n    Note that there are often alternatives to using `next`.\n    For instance, if you'd like to schedule an operation to happen\n    after all DOM element operations have completed within the current\n    run loop, you can make use of the `afterRender` run loop queue (added\n    by the `ember-views` package, along with the preceding `render` queue\n    where all the DOM element operations happen).\n  \n    Example:\n  \n    ```app/components/my-component.js\n    import Component from '@ember/component';\n    import { scheduleOnce } from '@ember/runloop';\n  \n    export Component.extend({\n      didInsertElement() {\n        this._super(...arguments);\n        scheduleOnce('afterRender', this, 'processChildElements');\n      },\n  \n      processChildElements() {\n        // ... do something with component's child component\n        // elements after they've finished rendering, which\n        // can't be done within this component's\n        // `didInsertElement` hook because that gets run\n        // before the child elements have been added to the DOM.\n      }\n    });\n    ```\n  \n    One benefit of the above approach compared to using `next` is\n    that you will be able to perform DOM/CSS operations before unprocessed\n    elements are rendered to the screen, which may prevent flickering or\n    other artifacts caused by delaying processing until after rendering.\n  \n    The other major benefit to the above approach is that `next`\n    introduces an element of non-determinism, which can make things much\n    harder to test, due to its reliance on `setTimeout`; it's much harder\n    to guarantee the order of scheduled operations when they are scheduled\n    outside of the current run loop, i.e. with `next`.\n  \n    @method next\n    @static\n    @for @ember/runloop\n    @param {Object} [target] target of method to invoke\n    @param {Function|String} method The method to invoke.\n      If you pass a string it will be resolved on the\n      target at the time the method is invoked.\n    @param {Object} [args*] Optional arguments to pass to the timeout.\n    @return {Object} Timer information for use in canceling, see `cancel`.\n    @public\n  */\n\n  function next(...args) {\n    args.push(1);\n    return _backburner.later(...args);\n  }\n  /**\n    Cancels a scheduled item. Must be a value returned by `later()`,\n    `once()`, `scheduleOnce()`, `next()`, `debounce()`, or\n    `throttle()`.\n  \n    ```javascript\n    import {\n      next,\n      cancel,\n      later,\n      scheduleOnce,\n      once,\n      throttle,\n      debounce\n    } from '@ember/runloop';\n  \n    let runNext = next(myContext, function() {\n      // will not be executed\n    });\n  \n    cancel(runNext);\n  \n    let runLater = later(myContext, function() {\n      // will not be executed\n    }, 500);\n  \n    cancel(runLater);\n  \n    let runScheduleOnce = scheduleOnce('afterRender', myContext, function() {\n      // will not be executed\n    });\n  \n    cancel(runScheduleOnce);\n  \n    let runOnce = once(myContext, function() {\n      // will not be executed\n    });\n  \n    cancel(runOnce);\n  \n    let throttle = throttle(myContext, function() {\n      // will not be executed\n    }, 1, false);\n  \n    cancel(throttle);\n  \n    let debounce = debounce(myContext, function() {\n      // will not be executed\n    }, 1);\n  \n    cancel(debounce);\n  \n    let debounceImmediate = debounce(myContext, function() {\n      // will be executed since we passed in true (immediate)\n    }, 100, true);\n  \n    // the 100ms delay until this method can be called again will be canceled\n    cancel(debounceImmediate);\n    ```\n  \n    @method cancel\n    @static\n    @for @ember/runloop\n    @param {Object} timer Timer object to cancel\n    @return {Boolean} true if canceled or false/undefined if it wasn't found\n    @public\n  */\n\n  function cancel(timer) {\n    return _backburner.cancel(timer);\n  }\n  /**\n    Delay calling the target method until the debounce period has elapsed\n    with no additional debounce calls. If `debounce` is called again before\n    the specified time has elapsed, the timer is reset and the entire period\n    must pass again before the target method is called.\n  \n    This method should be used when an event may be called multiple times\n    but the action should only be called once when the event is done firing.\n    A common example is for scroll events where you only want updates to\n    happen once scrolling has ceased.\n  \n    ```javascript\n    import { debounce } from '@ember/runloop';\n  \n    function whoRan() {\n      console.log(this.name + ' ran.');\n    }\n  \n    let myContext = { name: 'debounce' };\n  \n    debounce(myContext, whoRan, 150);\n  \n    // less than 150ms passes\n    debounce(myContext, whoRan, 150);\n  \n    // 150ms passes\n    // whoRan is invoked with context myContext\n    // console logs 'debounce ran.' one time.\n    ```\n  \n    Immediate allows you to run the function immediately, but debounce\n    other calls for this function until the wait time has elapsed. If\n    `debounce` is called again before the specified time has elapsed,\n    the timer is reset and the entire period must pass again before\n    the method can be called again.\n  \n    ```javascript\n    import { debounce } from '@ember/runloop';\n  \n    function whoRan() {\n      console.log(this.name + ' ran.');\n    }\n  \n    let myContext = { name: 'debounce' };\n  \n    debounce(myContext, whoRan, 150, true);\n  \n    // console logs 'debounce ran.' one time immediately.\n    // 100ms passes\n    debounce(myContext, whoRan, 150, true);\n  \n    // 150ms passes and nothing else is logged to the console and\n    // the debouncee is no longer being watched\n    debounce(myContext, whoRan, 150, true);\n  \n    // console logs 'debounce ran.' one time immediately.\n    // 150ms passes and nothing else is logged to the console and\n    // the debouncee is no longer being watched\n    ```\n  \n    @method debounce\n    @static\n    @for @ember/runloop\n    @param {Object} [target] target of method to invoke\n    @param {Function|String} method The method to invoke.\n      May be a function or a string. If you pass a string\n      then it will be looked up on the passed target.\n    @param {Object} [args*] Optional arguments to pass to the timeout.\n    @param {Number} wait Number of milliseconds to wait.\n    @param {Boolean} immediate Trigger the function on the leading instead\n      of the trailing edge of the wait interval. Defaults to false.\n    @return {Array} Timer information for use in canceling, see `cancel`.\n    @public\n  */\n\n  function debounce() {\n    return _backburner.debounce(...arguments);\n  }\n  /**\n    Ensure that the target method is never called more frequently than\n    the specified spacing period. The target method is called immediately.\n  \n    ```javascript\n    import { throttle } from '@ember/runloop';\n  \n    function whoRan() {\n      console.log(this.name + ' ran.');\n    }\n  \n    let myContext = { name: 'throttle' };\n  \n    throttle(myContext, whoRan, 150);\n    // whoRan is invoked with context myContext\n    // console logs 'throttle ran.'\n  \n    // 50ms passes\n    throttle(myContext, whoRan, 150);\n  \n    // 50ms passes\n    throttle(myContext, whoRan, 150);\n  \n    // 150ms passes\n    throttle(myContext, whoRan, 150);\n    // whoRan is invoked with context myContext\n    // console logs 'throttle ran.'\n    ```\n  \n    @method throttle\n    @static\n    @for @ember/runloop\n    @param {Object} [target] target of method to invoke\n    @param {Function|String} method The method to invoke.\n      May be a function or a string. If you pass a string\n      then it will be looked up on the passed target.\n    @param {Object} [args*] Optional arguments to pass to the timeout.\n    @param {Number} spacing Number of milliseconds to space out requests.\n    @param {Boolean} immediate Trigger the function on the leading instead\n      of the trailing edge of the wait interval. Defaults to true.\n    @return {Array} Timer information for use in canceling, see `cancel`.\n    @public\n  */\n\n  function throttle() {\n    return _backburner.throttle(...arguments);\n  }\n  var _deprecatedGlobalGetCurrentRunLoop; // eslint-disable-next-line no-undef\n\n  if (true /* DEBUG */) {\n    var defaultHandler = (dotKey, importKey, module) => {\n      return `Using \\`${dotKey}\\` has been deprecated. Instead, import the value directly from ${module}:\\n\\n  import { ${importKey} } from '${module}';`;\n    };\n    var handler = _overrides.onRunloopDotAccess || defaultHandler;\n    var defineDeprecatedRunloopFunc = (key, func) => {\n      Object.defineProperty(run, key, {\n        get() {\n          var message = handler(`run.${key}`, key, '@ember/runloop');\n          (true && !(message === null) && (0, _debug.deprecate)(message, message === null, {\n            id: 'deprecated-run-loop-and-computed-dot-access',\n            until: '4.0.0',\n            for: 'ember-source',\n            since: {\n              enabled: '3.27.0'\n            }\n          }));\n          return func;\n        }\n      });\n    };\n    _exports._deprecatedGlobalGetCurrentRunLoop = _deprecatedGlobalGetCurrentRunLoop = () => {\n      var message = handler('run.currentRunLoop', 'getCurrentRunLoop', '@ember/runloop');\n      (true && !(message === null) && (0, _debug.deprecate)(message, message === null, {\n        id: 'deprecated-run-loop-and-computed-dot-access',\n        until: '4.0.0',\n        for: 'ember-source',\n        since: {\n          enabled: '3.27.0'\n        }\n      }));\n      return _getCurrentRunLoop();\n    };\n    defineDeprecatedRunloopFunc('backburner', _backburner);\n    defineDeprecatedRunloopFunc('begin', begin);\n    defineDeprecatedRunloopFunc('bind', bind);\n    defineDeprecatedRunloopFunc('cancel', cancel);\n    defineDeprecatedRunloopFunc('debounce', debounce);\n    defineDeprecatedRunloopFunc('end', end);\n    defineDeprecatedRunloopFunc('hasScheduledTimers', _hasScheduledTimers);\n    defineDeprecatedRunloopFunc('join', join);\n    defineDeprecatedRunloopFunc('later', later);\n    defineDeprecatedRunloopFunc('next', next);\n    defineDeprecatedRunloopFunc('once', once);\n    defineDeprecatedRunloopFunc('schedule', schedule);\n    defineDeprecatedRunloopFunc('scheduleOnce', scheduleOnce);\n    defineDeprecatedRunloopFunc('throttle', throttle);\n    defineDeprecatedRunloopFunc('cancelTimers', _cancelTimers);\n    Object.defineProperty(run, 'currentRunLoop', {\n      get: _deprecatedGlobalGetCurrentRunLoop,\n      enumerable: false\n    });\n  } else {\n    run.backburner = _backburner;\n    run.begin = begin;\n    run.bind = bind;\n    run.cancel = cancel;\n    run.debounce = debounce;\n    run.end = end;\n    run.hasScheduledTimers = _hasScheduledTimers;\n    run.join = join;\n    run.later = later;\n    run.next = next;\n    run.once = once;\n    run.schedule = schedule;\n    run.scheduleOnce = scheduleOnce;\n    run.throttle = throttle;\n    run.cancelTimers = _cancelTimers;\n    Object.defineProperty(run, 'currentRunLoop', {\n      get: _getCurrentRunLoop,\n      enumerable: false\n    });\n  }\n});","define(\"@ember/service/index\", [\"exports\", \"@ember/-internals/runtime\", \"@ember/-internals/metal\"], function (_exports, _runtime, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.inject = inject;\n  /**\n   @module @ember/service\n   @public\n   */\n\n  /**\n    Creates a property that lazily looks up a service in the container. There are\n    no restrictions as to what objects a service can be injected into.\n  \n    Example:\n  \n    ```app/routes/application.js\n    import Route from '@ember/routing/route';\n    import { inject as service } from '@ember/service';\n  \n    export default class ApplicationRoute extends Route {\n      @service('auth') authManager;\n  \n      model() {\n        return this.authManager.findCurrentUser();\n      }\n    }\n    ```\n  \n    Classic Class Example:\n  \n    ```app/routes/application.js\n    import Route from '@ember/routing/route';\n    import { inject as service } from '@ember/service';\n  \n    export default Route.extend({\n      authManager: service('auth'),\n  \n      model() {\n        return this.get('authManager').findCurrentUser();\n      }\n    });\n    ```\n  \n    This example will create an `authManager` property on the application route\n    that looks up the `auth` service in the container, making it easily accessible\n    in the `model` hook.\n  \n    @method inject\n    @static\n    @since 1.10.0\n    @for @ember/service\n    @param {String} name (optional) name of the service to inject, defaults to\n           the property's name\n    @return {ComputedDecorator} injection decorator instance\n    @public\n  */\n\n  function inject() {\n    return (0, _metal.inject)('service', ...arguments);\n  }\n  /**\n    @class Service\n    @extends EmberObject\n    @since 1.10.0\n    @public\n  */\n\n  var Service = _runtime.FrameworkObject.extend();\n  Service.reopenClass({\n    isServiceFactory: true\n  });\n  var _default = _exports.default = Service;\n});","define(\"@ember/string/index\", [\"exports\", \"@ember/string/lib/string_registry\", \"@ember/-internals/environment\", \"@ember/-internals/utils\", \"@ember/debug\", \"@ember/-internals/glimmer\"], function (_exports, _string_registry, _environment, _utils, _debug, _glimmer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"_getStrings\", {\n    enumerable: true,\n    get: function () {\n      return _string_registry.getStrings;\n    }\n  });\n  Object.defineProperty(_exports, \"_setStrings\", {\n    enumerable: true,\n    get: function () {\n      return _string_registry.setStrings;\n    }\n  });\n  _exports.camelize = camelize;\n  _exports.capitalize = capitalize;\n  _exports.classify = classify;\n  _exports.dasherize = dasherize;\n  _exports.decamelize = decamelize;\n  _exports.htmlSafe = htmlSafe;\n  _exports.isHTMLSafe = isHTMLSafe;\n  _exports.loc = loc;\n  _exports.underscore = underscore;\n  _exports.w = w;\n  /**\n  @module @ember/string\n  */\n\n  var STRING_DASHERIZE_REGEXP = /[ _]/g;\n  var STRING_DASHERIZE_CACHE = new _utils.Cache(1000, key => decamelize(key).replace(STRING_DASHERIZE_REGEXP, '-'));\n  var STRING_CAMELIZE_REGEXP_1 = /(-|_|\\.|\\s)+(.)?/g;\n  var STRING_CAMELIZE_REGEXP_2 = /(^|\\/)([A-Z])/g;\n  var CAMELIZE_CACHE = new _utils.Cache(1000, key => key.replace(STRING_CAMELIZE_REGEXP_1, (_match, _separator, chr) => chr ? chr.toUpperCase() : '').replace(STRING_CAMELIZE_REGEXP_2, (match\n  /*, separator, chr */) => match.toLowerCase()));\n  var STRING_CLASSIFY_REGEXP_1 = /^(-|_)+(.)?/;\n  var STRING_CLASSIFY_REGEXP_2 = /(.)(-|_|\\.|\\s)+(.)?/g;\n  var STRING_CLASSIFY_REGEXP_3 = /(^|\\/|\\.)([a-z])/g;\n  var CLASSIFY_CACHE = new _utils.Cache(1000, str => {\n    var replace1 = (_match, _separator, chr) => chr ? `_${chr.toUpperCase()}` : '';\n    var replace2 = (_match, initialChar, _separator, chr) => initialChar + (chr ? chr.toUpperCase() : '');\n    var parts = str.split('/');\n    for (var i = 0; i < parts.length; i++) {\n      parts[i] = parts[i].replace(STRING_CLASSIFY_REGEXP_1, replace1).replace(STRING_CLASSIFY_REGEXP_2, replace2);\n    }\n    return parts.join('/').replace(STRING_CLASSIFY_REGEXP_3, (match\n    /*, separator, chr */) => match.toUpperCase());\n  });\n  var STRING_UNDERSCORE_REGEXP_1 = /([a-z\\d])([A-Z]+)/g;\n  var STRING_UNDERSCORE_REGEXP_2 = /-|\\s+/g;\n  var UNDERSCORE_CACHE = new _utils.Cache(1000, str => str.replace(STRING_UNDERSCORE_REGEXP_1, '$1_$2').replace(STRING_UNDERSCORE_REGEXP_2, '_').toLowerCase());\n  var STRING_CAPITALIZE_REGEXP = /(^|\\/)([a-z\\u00C0-\\u024F])/g;\n  var CAPITALIZE_CACHE = new _utils.Cache(1000, str => str.replace(STRING_CAPITALIZE_REGEXP, (match\n  /*, separator, chr */) => match.toUpperCase()));\n  var STRING_DECAMELIZE_REGEXP = /([a-z\\d])([A-Z])/g;\n  var DECAMELIZE_CACHE = new _utils.Cache(1000, str => str.replace(STRING_DECAMELIZE_REGEXP, '$1_$2').toLowerCase());\n  /**\n    Defines string helper methods including string formatting and localization.\n    Unless `EmberENV.EXTEND_PROTOTYPES.String` is `false` these methods will also be\n    added to the `String.prototype` as well.\n  \n    @class String\n    @public\n  */\n\n  function _fmt(str, formats) {\n    // first, replace any ORDERED replacements.\n    var idx = 0; // the current index for non-numerical replacements\n\n    return str.replace(/%@([0-9]+)?/g, (_s, argIndex) => {\n      var i = argIndex ? parseInt(argIndex, 10) - 1 : idx++;\n      var r = i < formats.length ? formats[i] : undefined;\n      return typeof r === 'string' ? r : r === null ? '(null)' : r === undefined ? '' : String(r);\n    });\n  }\n  /**\n    Formats the passed string, but first looks up the string in the localized\n    strings hash. This is a convenient way to localize text.\n  \n    Note that it is traditional but not required to prefix localized string\n    keys with an underscore or other character so you can easily identify\n    localized strings.\n  \n    ```javascript\n    import { loc } from '@ember/string';\n  \n    Ember.STRINGS = {\n      '_Hello World': 'Bonjour le monde',\n      '_Hello %@ %@': 'Bonjour %@ %@'\n    };\n  \n    loc(\"_Hello World\");  // 'Bonjour le monde';\n    loc(\"_Hello %@ %@\", [\"John\", \"Smith\"]);  // \"Bonjour John Smith\";\n    ```\n  \n    @method loc\n    @param {String} str The string to format\n    @param {Array} formats Optional array of parameters to interpolate into string.\n    @return {String} formatted string\n    @public\n    @deprecated\n  */\n\n  function loc(str, formats) {\n    (true && !(false) && (0, _debug.deprecate)('loc is deprecated, please use a dedicated localization solution like ember-intl. More alternatives listed at https://emberobserver.com/categories/internationalization.', false, {\n      id: 'ember-string.loc',\n      until: '4.0.0',\n      for: 'ember-source',\n      url: 'https://deprecations.emberjs.com/v3.x#toc_ember-string-loc',\n      since: {\n        enabled: '3.24'\n      }\n    }));\n    if (!Array.isArray(formats) || arguments.length > 2) {\n      formats = Array.prototype.slice.call(arguments, 1);\n    }\n    str = (0, _string_registry.getString)(str) || str;\n    return _fmt(str, formats);\n  }\n  /**\n    Splits a string into separate units separated by spaces, eliminating any\n    empty strings in the process. This is a convenience method for split that\n    is mostly useful when applied to the `String.prototype`.\n  \n    ```javascript\n    import { w } from '@ember/string';\n  \n    w(\"alpha beta gamma\").forEach(function(key) {\n      console.log(key);\n    });\n  \n    // > alpha\n    // > beta\n    // > gamma\n    ```\n  \n    @method w\n    @param {String} str The string to split\n    @return {Array} array containing the split strings\n    @public\n  */\n\n  function w(str) {\n    return str.split(/\\s+/);\n  }\n  /**\n    Converts a camelized string into all lower case separated by underscores.\n  \n    ```javascript\n    import { decamelize } from '@ember/string';\n  \n    decamelize('innerHTML');          // 'inner_html'\n    decamelize('action_name');        // 'action_name'\n    decamelize('css-class-name');     // 'css-class-name'\n    decamelize('my favorite items');  // 'my favorite items'\n    ```\n  \n    @method decamelize\n    @param {String} str The string to decamelize.\n    @return {String} the decamelized string.\n    @public\n  */\n\n  function decamelize(str) {\n    return DECAMELIZE_CACHE.get(str);\n  }\n  /**\n    Replaces underscores, spaces, or camelCase with dashes.\n  \n    ```javascript\n    import { dasherize } from '@ember/string';\n  \n    dasherize('innerHTML');                // 'inner-html'\n    dasherize('action_name');              // 'action-name'\n    dasherize('css-class-name');           // 'css-class-name'\n    dasherize('my favorite items');        // 'my-favorite-items'\n    dasherize('privateDocs/ownerInvoice';  // 'private-docs/owner-invoice'\n    ```\n  \n    @method dasherize\n    @param {String} str The string to dasherize.\n    @return {String} the dasherized string.\n    @public\n  */\n\n  function dasherize(str) {\n    return STRING_DASHERIZE_CACHE.get(str);\n  }\n  /**\n    Returns the lowerCamelCase form of a string.\n  \n    ```javascript\n    import { camelize } from '@ember/string';\n  \n    camelize('innerHTML');                   // 'innerHTML'\n    camelize('action_name');                 // 'actionName'\n    camelize('css-class-name');              // 'cssClassName'\n    camelize('my favorite items');           // 'myFavoriteItems'\n    camelize('My Favorite Items');           // 'myFavoriteItems'\n    camelize('private-docs/owner-invoice');  // 'privateDocs/ownerInvoice'\n    ```\n  \n    @method camelize\n    @param {String} str The string to camelize.\n    @return {String} the camelized string.\n    @public\n  */\n\n  function camelize(str) {\n    return CAMELIZE_CACHE.get(str);\n  }\n  /**\n    Returns the UpperCamelCase form of a string.\n  \n    ```javascript\n    import { classify } from '@ember/string';\n  \n    classify('innerHTML');                   // 'InnerHTML'\n    classify('action_name');                 // 'ActionName'\n    classify('css-class-name');              // 'CssClassName'\n    classify('my favorite items');           // 'MyFavoriteItems'\n    classify('private-docs/owner-invoice');  // 'PrivateDocs/OwnerInvoice'\n    ```\n  \n    @method classify\n    @param {String} str the string to classify\n    @return {String} the classified string\n    @public\n  */\n\n  function classify(str) {\n    return CLASSIFY_CACHE.get(str);\n  }\n  /**\n    More general than decamelize. Returns the lower\\_case\\_and\\_underscored\n    form of a string.\n  \n    ```javascript\n    import { underscore } from '@ember/string';\n  \n    underscore('innerHTML');                 // 'inner_html'\n    underscore('action_name');               // 'action_name'\n    underscore('css-class-name');            // 'css_class_name'\n    underscore('my favorite items');         // 'my_favorite_items'\n    underscore('privateDocs/ownerInvoice');  // 'private_docs/owner_invoice'\n    ```\n  \n    @method underscore\n    @param {String} str The string to underscore.\n    @return {String} the underscored string.\n    @public\n  */\n\n  function underscore(str) {\n    return UNDERSCORE_CACHE.get(str);\n  }\n  /**\n    Returns the Capitalized form of a string\n  \n    ```javascript\n    import { capitalize } from '@ember/string';\n  \n    capitalize('innerHTML')                 // 'InnerHTML'\n    capitalize('action_name')               // 'Action_name'\n    capitalize('css-class-name')            // 'Css-class-name'\n    capitalize('my favorite items')         // 'My favorite items'\n    capitalize('privateDocs/ownerInvoice'); // 'PrivateDocs/ownerInvoice'\n    ```\n  \n    @method capitalize\n    @param {String} str The string to capitalize.\n    @return {String} The capitalized string.\n    @public\n  */\n\n  function capitalize(str) {\n    return CAPITALIZE_CACHE.get(str);\n  }\n  function deprecateImportFromString(name, message = `Importing ${name} from '@ember/string' is deprecated. Please import ${name} from '@ember/template' instead.`) {\n    // Disabling this deprecation due to unintended errors in 3.25\n    // See https://github.com/emberjs/ember.js/issues/19393 fo more information.\n    (true && !(true) && (0, _debug.deprecate)(message, true, {\n      id: 'ember-string.htmlsafe-ishtmlsafe',\n      for: 'ember-source',\n      since: {\n        enabled: '3.25'\n      },\n      until: '4.0.0',\n      url: 'https://deprecations.emberjs.com/v3.x/#toc_ember-string-htmlsafe-ishtmlsafe'\n    }));\n  }\n  function htmlSafe(str) {\n    deprecateImportFromString('htmlSafe');\n    return (0, _glimmer.htmlSafe)(str);\n  }\n  function isHTMLSafe(str) {\n    deprecateImportFromString('isHTMLSafe');\n    return (0, _glimmer.isHTMLSafe)(str);\n  }\n  if (_environment.ENV.EXTEND_PROTOTYPES.String) {\n    var deprecateEmberStringPrototypeExtension = function (name, fn, message = `String prototype extensions are deprecated. Please import ${name} from '@ember/string' instead.`) {\n      return function () {\n        (true && !(false) && (0, _debug.deprecate)(message, false, {\n          id: 'ember-string.prototype-extensions',\n          for: 'ember-source',\n          since: {\n            enabled: '3.24'\n          },\n          until: '4.0.0',\n          url: 'https://deprecations.emberjs.com/v3.x/#toc_ember-string-prototype_extensions'\n        }));\n        return fn(this, ...arguments);\n      };\n    };\n    Object.defineProperties(String.prototype, {\n      /**\n        See [String.w](/ember/release/classes/String/methods/w?anchor=w).\n             @method w\n        @for @ember/string\n        @static\n        @private\n        @deprecated\n      */\n      w: {\n        configurable: true,\n        enumerable: false,\n        writeable: true,\n        value: deprecateEmberStringPrototypeExtension('w', w)\n      },\n      /**\n        See [String.loc](/ember/release/classes/String/methods/loc?anchor=loc).\n             @method loc\n        @for @ember/string\n        @static\n        @private\n        @deprecated\n      */\n      loc: {\n        configurable: true,\n        enumerable: false,\n        writeable: true,\n        value(...args) {\n          return loc(this, args);\n        }\n      },\n      /**\n        See [String.camelize](/ember/release/classes/String/methods/camelize?anchor=camelize).\n             @method camelize\n        @for @ember/string\n        @static\n        @private\n        @deprecated\n      */\n      camelize: {\n        configurable: true,\n        enumerable: false,\n        writeable: true,\n        value: deprecateEmberStringPrototypeExtension('camelize', camelize)\n      },\n      /**\n        See [String.decamelize](/ember/release/classes/String/methods/decamelize?anchor=decamelize).\n             @method decamelize\n        @for @ember/string\n        @static\n        @private\n        @deprecated\n      */\n      decamelize: {\n        configurable: true,\n        enumerable: false,\n        writeable: true,\n        value: deprecateEmberStringPrototypeExtension('decamelize', decamelize)\n      },\n      /**\n        See [String.dasherize](/ember/release/classes/String/methods/dasherize?anchor=dasherize).\n             @method dasherize\n        @for @ember/string\n        @static\n        @private\n        @deprecated\n      */\n      dasherize: {\n        configurable: true,\n        enumerable: false,\n        writeable: true,\n        value: deprecateEmberStringPrototypeExtension('dasherize', dasherize)\n      },\n      /**\n        See [String.underscore](/ember/release/classes/String/methods/underscore?anchor=underscore).\n             @method underscore\n        @for @ember/string\n        @static\n        @private\n        @deprecated\n      */\n      underscore: {\n        configurable: true,\n        enumerable: false,\n        writeable: true,\n        value: deprecateEmberStringPrototypeExtension('underscore', underscore)\n      },\n      /**\n        See [String.classify](/ember/release/classes/String/methods/classify?anchor=classify).\n             @method classify\n        @for @ember/string\n        @static\n        @private\n        @deprecated\n      */\n      classify: {\n        configurable: true,\n        enumerable: false,\n        writeable: true,\n        value: deprecateEmberStringPrototypeExtension('classify', classify)\n      },\n      /**\n        See [String.capitalize](/ember/release/classes/String/methods/capitalize?anchor=capitalize).\n             @method capitalize\n        @for @ember/string\n        @static\n        @private\n        @deprecated\n      */\n      capitalize: {\n        configurable: true,\n        enumerable: false,\n        writeable: true,\n        value: deprecateEmberStringPrototypeExtension('capitalize', capitalize)\n      }\n    });\n  }\n});","define(\"@ember/string/lib/string_registry\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.getString = getString;\n  _exports.getStrings = getStrings;\n  _exports.setStrings = setStrings;\n  // STATE within a module is frowned upon, this exists\n  // to support Ember.STRINGS but shield ember internals from this legacy global\n  // API.\n  var STRINGS = {};\n  function setStrings(strings) {\n    STRINGS = strings;\n  }\n  function getStrings() {\n    return STRINGS;\n  }\n  function getString(name) {\n    return STRINGS[name];\n  }\n});","define(\"@ember/template-compilation/index\", [\"exports\", \"ember-template-compiler\"], function (_exports, _emberTemplateCompiler) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"compileTemplate\", {\n    enumerable: true,\n    get: function () {\n      return _emberTemplateCompiler.compile;\n    }\n  });\n  _exports.precompileTemplate = void 0;\n  var precompileTemplate;\n  if (true /* DEBUG */) {\n    _exports.precompileTemplate = precompileTemplate = () => {\n      throw new Error('Attempted to call `precompileTemplate` at runtime, but this API is meant to be used at compile time. You should use `compileTemplate` instead.');\n    };\n  }\n});","define(\"@ember/template-factory/index\", [\"exports\", \"@glimmer/opcode-compiler\"], function (_exports, _opcodeCompiler) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"createTemplateFactory\", {\n    enumerable: true,\n    get: function () {\n      return _opcodeCompiler.templateFactory;\n    }\n  });\n});","define(\"@ember/template/index\", [\"exports\", \"@ember/-internals/glimmer\"], function (_exports, _glimmer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"htmlSafe\", {\n    enumerable: true,\n    get: function () {\n      return _glimmer.htmlSafe;\n    }\n  });\n  Object.defineProperty(_exports, \"isHTMLSafe\", {\n    enumerable: true,\n    get: function () {\n      return _glimmer.isHTMLSafe;\n    }\n  });\n});","define(\"@ember/test/adapter\", [\"exports\", \"ember-testing\"], function (_exports, _emberTesting) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _emberTesting.Test.Adapter;\n});","define(\"@ember/test/index\", [\"exports\", \"require\"], function (_exports, _require) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.unregisterWaiter = _exports.unregisterHelper = _exports.registerWaiter = _exports.registerHelper = _exports.registerAsyncHelper = void 0;\n  var registerAsyncHelper;\n  var registerHelper;\n  var registerWaiter;\n  var unregisterHelper;\n  var unregisterWaiter;\n  if ((0, _require.has)('ember-testing')) {\n    var {\n      Test\n    } = (0, _require.default)(\"ember-testing\");\n    _exports.registerAsyncHelper = registerAsyncHelper = Test.registerAsyncHelper;\n    _exports.registerHelper = registerHelper = Test.registerHelper;\n    _exports.registerWaiter = registerWaiter = Test.registerWaiter;\n    _exports.unregisterHelper = unregisterHelper = Test.unregisterHelper;\n    _exports.unregisterWaiter = unregisterWaiter = Test.unregisterWaiter;\n  } else {\n    var testingNotAvailableMessage = () => {\n      throw new Error('Attempted to use test utilities, but `ember-testing` was not included');\n    };\n    _exports.registerAsyncHelper = registerAsyncHelper = testingNotAvailableMessage;\n    _exports.registerHelper = registerHelper = testingNotAvailableMessage;\n    _exports.registerWaiter = registerWaiter = testingNotAvailableMessage;\n    _exports.unregisterHelper = unregisterHelper = testingNotAvailableMessage;\n    _exports.unregisterWaiter = unregisterWaiter = testingNotAvailableMessage;\n  }\n});","define(\"@ember/utils/index\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/utils\", \"@ember/-internals/runtime\"], function (_exports, _metal, _utils, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"compare\", {\n    enumerable: true,\n    get: function () {\n      return _runtime.compare;\n    }\n  });\n  Object.defineProperty(_exports, \"isBlank\", {\n    enumerable: true,\n    get: function () {\n      return _metal.isBlank;\n    }\n  });\n  Object.defineProperty(_exports, \"isEmpty\", {\n    enumerable: true,\n    get: function () {\n      return _metal.isEmpty;\n    }\n  });\n  Object.defineProperty(_exports, \"isEqual\", {\n    enumerable: true,\n    get: function () {\n      return _runtime.isEqual;\n    }\n  });\n  Object.defineProperty(_exports, \"isNone\", {\n    enumerable: true,\n    get: function () {\n      return _metal.isNone;\n    }\n  });\n  Object.defineProperty(_exports, \"isPresent\", {\n    enumerable: true,\n    get: function () {\n      return _metal.isPresent;\n    }\n  });\n  Object.defineProperty(_exports, \"tryInvoke\", {\n    enumerable: true,\n    get: function () {\n      return _utils.tryInvoke;\n    }\n  });\n  Object.defineProperty(_exports, \"typeOf\", {\n    enumerable: true,\n    get: function () {\n      return _runtime.typeOf;\n    }\n  });\n});","define(\"@ember/version/index\", [\"exports\", \"ember/version\"], function (_exports, _version) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"VERSION\", {\n    enumerable: true,\n    get: function () {\n      return _version.default;\n    }\n  });\n});","define(\"@glimmer/destroyable\", [\"exports\", \"@glimmer/util\", \"@glimmer/global-context\"], function (_exports, _util, _globalContext) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports._hasDestroyableChildren = _hasDestroyableChildren;\n  _exports.assertDestroyablesDestroyed = void 0;\n  _exports.associateDestroyableChild = associateDestroyableChild;\n  _exports.destroy = destroy;\n  _exports.destroyChildren = destroyChildren;\n  _exports.enableDestroyableTracking = void 0;\n  _exports.isDestroyed = isDestroyed;\n  _exports.isDestroying = isDestroying;\n  _exports.registerDestructor = registerDestructor;\n  _exports.unregisterDestructor = unregisterDestructor;\n  var DESTROYABLE_META = new WeakMap();\n  function push(collection, newItem) {\n    if (collection === null) {\n      return newItem;\n    } else if (Array.isArray(collection)) {\n      collection.push(newItem);\n      return collection;\n    } else {\n      return [collection, newItem];\n    }\n  }\n  function iterate(collection, fn) {\n    if (Array.isArray(collection)) {\n      for (var i = 0; i < collection.length; i++) {\n        fn(collection[i]);\n      }\n    } else if (collection !== null) {\n      fn(collection);\n    }\n  }\n  function remove(collection, item, message) {\n    if (true /* DEBUG */) {\n      var collectionIsItem = collection === item;\n      var collectionContainsItem = Array.isArray(collection) && collection.indexOf(item) !== -1;\n      if (!collectionIsItem && !collectionContainsItem) {\n        throw new Error(String(message));\n      }\n    }\n    if (Array.isArray(collection) && collection.length > 1) {\n      var index = collection.indexOf(item);\n      collection.splice(index, 1);\n      return collection;\n    } else {\n      return null;\n    }\n  }\n  function getDestroyableMeta(destroyable) {\n    var meta = DESTROYABLE_META.get(destroyable);\n    if (meta === undefined) {\n      meta = {\n        parents: null,\n        children: null,\n        eagerDestructors: null,\n        destructors: null,\n        state: 0\n        /* Live */\n      };\n      if (true /* DEBUG */) {\n        meta.source = destroyable;\n      }\n      DESTROYABLE_META.set(destroyable, meta);\n    }\n    return meta;\n  }\n  function associateDestroyableChild(parent, child) {\n    if (true /* DEBUG */ && isDestroying(parent)) {\n      throw new Error('Attempted to associate a destroyable child with an object that is already destroying or destroyed');\n    }\n    var parentMeta = getDestroyableMeta(parent);\n    var childMeta = getDestroyableMeta(child);\n    parentMeta.children = push(parentMeta.children, child);\n    childMeta.parents = push(childMeta.parents, parent);\n    return child;\n  }\n  function registerDestructor(destroyable, destructor, eager = false) {\n    if (true /* DEBUG */ && isDestroying(destroyable)) {\n      throw new Error('Attempted to register a destructor with an object that is already destroying or destroyed');\n    }\n    var meta = getDestroyableMeta(destroyable);\n    var destructorsKey = eager === true ? 'eagerDestructors' : 'destructors';\n    meta[destructorsKey] = push(meta[destructorsKey], destructor);\n    return destructor;\n  }\n  function unregisterDestructor(destroyable, destructor, eager = false) {\n    if (true /* DEBUG */ && isDestroying(destroyable)) {\n      throw new Error('Attempted to unregister a destructor with an object that is already destroying or destroyed');\n    }\n    var meta = getDestroyableMeta(destroyable);\n    var destructorsKey = eager === true ? 'eagerDestructors' : 'destructors';\n    meta[destructorsKey] = remove(meta[destructorsKey], destructor, true /* DEBUG */ && 'attempted to remove a destructor that was not registered with the destroyable');\n  } ////////////\n\n  function destroy(destroyable) {\n    var meta = getDestroyableMeta(destroyable);\n    if (meta.state >= 1\n    /* Destroying */) return;\n    var {\n      parents,\n      children,\n      eagerDestructors,\n      destructors\n    } = meta;\n    meta.state = 1\n    /* Destroying */;\n    iterate(children, destroy);\n    iterate(eagerDestructors, destructor => destructor(destroyable));\n    iterate(destructors, destructor => (0, _globalContext.scheduleDestroy)(destroyable, destructor));\n    (0, _globalContext.scheduleDestroyed)(() => {\n      iterate(parents, parent => removeChildFromParent(destroyable, parent));\n      meta.state = 2\n      /* Destroyed */;\n    });\n  }\n  function removeChildFromParent(child, parent) {\n    var parentMeta = getDestroyableMeta(parent);\n    if (parentMeta.state === 0\n    /* Live */) {\n      parentMeta.children = remove(parentMeta.children, child, true /* DEBUG */ && \"attempted to remove child from parent, but the parent's children did not contain the child. This is likely a bug with destructors.\");\n    }\n  }\n  function destroyChildren(destroyable) {\n    var {\n      children\n    } = getDestroyableMeta(destroyable);\n    iterate(children, destroy);\n  }\n  function _hasDestroyableChildren(destroyable) {\n    var meta = DESTROYABLE_META.get(destroyable);\n    return meta === undefined ? false : meta.children !== null;\n  }\n  function isDestroying(destroyable) {\n    var meta = DESTROYABLE_META.get(destroyable);\n    return meta === undefined ? false : meta.state >= 1\n    /* Destroying */;\n  }\n  function isDestroyed(destroyable) {\n    var meta = DESTROYABLE_META.get(destroyable);\n    return meta === undefined ? false : meta.state >= 2\n    /* Destroyed */;\n  } ////////////\n\n  var enableDestroyableTracking;\n  var assertDestroyablesDestroyed;\n  if (true /* DEBUG */) {\n    var isTesting = false;\n    _exports.enableDestroyableTracking = enableDestroyableTracking = () => {\n      if (isTesting) {\n        // Reset destroyable meta just in case, before throwing the error\n        DESTROYABLE_META = new WeakMap();\n        throw new Error('Attempted to start destroyable testing, but you did not end the previous destroyable test. Did you forget to call `assertDestroyablesDestroyed()`');\n      }\n      isTesting = true;\n      DESTROYABLE_META = new Map();\n    };\n    _exports.assertDestroyablesDestroyed = assertDestroyablesDestroyed = () => {\n      if (!isTesting) {\n        throw new Error('Attempted to assert destroyables destroyed, but you did not start a destroyable test. Did you forget to call `enableDestroyableTracking()`');\n      }\n      isTesting = false;\n      var map = DESTROYABLE_META;\n      DESTROYABLE_META = new WeakMap();\n      var undestroyed = [];\n      map.forEach(meta => {\n        if (meta.state !== 2\n        /* Destroyed */) {\n          undestroyed.push(meta.source);\n        }\n      });\n      if (undestroyed.length > 0) {\n        var objectsToString = undestroyed.map(_util.debugToString).join('\\n    ');\n        var error = new Error(`Some destroyables were not destroyed during this test:\\n    ${objectsToString}`);\n        error.destroyables = undestroyed;\n        throw error;\n      }\n    };\n  }\n});","define(\"@glimmer/encoder\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.InstructionEncoderImpl = void 0;\n  class InstructionEncoderImpl {\n    constructor(buffer) {\n      this.buffer = buffer;\n      this.size = 0;\n    }\n    encode(type, machine) {\n      if (type > 255\n      /* TYPE_SIZE */) {\n        throw new Error(`Opcode type over 8-bits. Got ${type}.`);\n      }\n      var first = type | machine | arguments.length - 2 << 8\n      /* ARG_SHIFT */;\n      this.buffer.push(first);\n      for (var i = 2; i < arguments.length; i++) {\n        var op = arguments[i];\n        if (true /* DEBUG */ && typeof op === 'number' && op > 2147483647\n        /* MAX_SIZE */) {\n          throw new Error(`Operand over 32-bits. Got ${op}.`);\n        }\n        this.buffer.push(op);\n      }\n      this.size = this.buffer.length;\n    }\n    patch(position, target) {\n      if (this.buffer[position + 1] === -1) {\n        this.buffer[position + 1] = target;\n      } else {\n        throw new Error('Trying to patch operand in populated slot instead of a reserved slot.');\n      }\n    }\n  }\n  _exports.InstructionEncoderImpl = InstructionEncoderImpl;\n});","define(\"@glimmer/env\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.DEBUG = _exports.CI = void 0;\n  var DEBUG = _exports.DEBUG = false;\n  var CI = _exports.CI = false;\n});","define(\"@glimmer/global-context\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.warnIfStyleNotTrusted = _exports.toIterator = _exports.toBool = _exports.testOverrideGlobalContext = _exports.setProp = _exports.setPath = _exports.scheduleRevalidate = _exports.scheduleDestroyed = _exports.scheduleDestroy = _exports.getProp = _exports.getPath = _exports.deprecate = _exports.default = _exports.assertGlobalContextWasSet = _exports.assert = void 0;\n  /**\n   * This package contains global context functions for Glimmer. These functions\n   * are set by the embedding environment and must be set before initial render.\n   *\n   * These functions should meet the following criteria:\n   *\n   * - Must be provided by the embedder, due to having framework specific\n   *   behaviors (e.g. interop with classic Ember behaviors that should not be\n   *   upstreamed) or to being out of scope for the VM (e.g. scheduling a\n   *   revalidation)\n   * - Never differ between render roots\n   * - Never change over time\n   *\n   */\n\n  /**\n   * Schedules a VM revalidation.\n   *\n   * Note: this has a default value so that tags can warm themselves when first loaded.\n   */\n\n  var scheduleRevalidate = () => {};\n  /**\n   * Schedules a destructor to run\n   *\n   * @param destroyable The destroyable being destroyed\n   * @param destructor The destructor being scheduled\n   */\n  _exports.scheduleRevalidate = scheduleRevalidate;\n  var scheduleDestroy;\n  /**\n   * Finalizes destruction\n   *\n   * @param finalizer finalizer function\n   */\n\n  var scheduleDestroyed;\n  /**\n   * Hook to provide iterators for `{{each}}` loops\n   *\n   * @param value The value to create an iterator for\n   */\n\n  var toIterator;\n  /**\n   * Hook to specify truthiness within Glimmer templates\n   *\n   * @param value The value to convert to a boolean\n   */\n\n  var toBool;\n  /**\n   * Hook for specifying how Glimmer should access properties in cases where it\n   * needs to. For instance, accessing an object's values in templates.\n   *\n   * @param obj The object provided to get a value from\n   * @param path The path to get the value from\n   */\n\n  var getProp;\n  /**\n   * Hook for specifying how Glimmer should update props in cases where it needs\n   * to. For instance, when updating a template reference (e.g. 2-way-binding)\n   *\n   * @param obj The object provided to get a value from\n   * @param prop The prop to set the value at\n   * @param value The value to set the value to\n   */\n\n  var setProp;\n  /**\n   * Hook for specifying how Glimmer should access paths in cases where it needs\n   * to. For instance, the `key` value of `{{each}}` loops.\n   *\n   * @param obj The object provided to get a value from\n   * @param path The path to get the value from\n   */\n\n  var getPath;\n  /**\n   * Hook for specifying how Glimmer should update paths in cases where it needs\n   * to. For instance, when updating a template reference (e.g. 2-way-binding)\n   *\n   * @param obj The object provided to get a value from\n   * @param path The path to get the value from\n   */\n\n  var setPath;\n  /**\n   * Hook to warn if a style binding string or value was not marked as trusted\n   * (e.g. HTMLSafe)\n   */\n\n  var warnIfStyleNotTrusted;\n  /**\n   * Hook to customize assertion messages in the VM. Usages can be stripped out\n   * by using the @glimmer/vm-babel-plugins package.\n   */\n\n  var assert;\n  /**\n   * Hook to customize deprecation messages in the VM. Usages can be stripped out\n   * by using the @glimmer/vm-babel-plugins package.\n   */\n\n  var deprecate;\n  var globalContextWasSet = false;\n  function setGlobalContext(context) {\n    if (true /* DEBUG */) {\n      if (globalContextWasSet) {\n        throw new Error('Attempted to set the global context twice. This should only be set once.');\n      }\n      globalContextWasSet = true;\n    }\n    _exports.scheduleRevalidate = scheduleRevalidate = context.scheduleRevalidate;\n    _exports.scheduleDestroy = scheduleDestroy = context.scheduleDestroy;\n    _exports.scheduleDestroyed = scheduleDestroyed = context.scheduleDestroyed;\n    _exports.toIterator = toIterator = context.toIterator;\n    _exports.toBool = toBool = context.toBool;\n    _exports.getProp = getProp = context.getProp;\n    _exports.setProp = setProp = context.setProp;\n    _exports.getPath = getPath = context.getPath;\n    _exports.setPath = setPath = context.setPath;\n    _exports.warnIfStyleNotTrusted = warnIfStyleNotTrusted = context.warnIfStyleNotTrusted;\n    _exports.assert = assert = context.assert;\n    _exports.deprecate = deprecate = context.deprecate;\n  }\n  var assertGlobalContextWasSet;\n  var testOverrideGlobalContext;\n  if (true /* DEBUG */) {\n    _exports.assertGlobalContextWasSet = assertGlobalContextWasSet = () => {\n      if (globalContextWasSet === false) {\n        throw new Error('The global context for Glimmer VM was not set. You must set these global context functions to let Glimmer VM know how to accomplish certain operations. You can do this by importing `setGlobalContext` from `@glimmer/global-context`');\n      }\n    };\n    _exports.testOverrideGlobalContext = testOverrideGlobalContext = context => {\n      var originalGlobalContext = globalContextWasSet ? {\n        scheduleRevalidate,\n        scheduleDestroy,\n        scheduleDestroyed,\n        toIterator,\n        toBool,\n        getProp,\n        setProp,\n        getPath,\n        setPath,\n        warnIfStyleNotTrusted,\n        assert,\n        deprecate\n      } : null;\n      if (context === null) {\n        globalContextWasSet = false;\n      } else {\n        globalContextWasSet = true;\n      } // We use `undefined as any` here to unset the values when resetting the\n      // context at the end of a test.\n\n      _exports.scheduleRevalidate = scheduleRevalidate = (context === null || context === void 0 ? void 0 : context.scheduleRevalidate) || undefined;\n      _exports.scheduleDestroy = scheduleDestroy = (context === null || context === void 0 ? void 0 : context.scheduleDestroy) || undefined;\n      _exports.scheduleDestroyed = scheduleDestroyed = (context === null || context === void 0 ? void 0 : context.scheduleDestroyed) || undefined;\n      _exports.toIterator = toIterator = (context === null || context === void 0 ? void 0 : context.toIterator) || undefined;\n      _exports.toBool = toBool = (context === null || context === void 0 ? void 0 : context.toBool) || undefined;\n      _exports.getProp = getProp = (context === null || context === void 0 ? void 0 : context.getProp) || undefined;\n      _exports.setProp = setProp = (context === null || context === void 0 ? void 0 : context.setProp) || undefined;\n      _exports.getPath = getPath = (context === null || context === void 0 ? void 0 : context.getPath) || undefined;\n      _exports.setPath = setPath = (context === null || context === void 0 ? void 0 : context.setPath) || undefined;\n      _exports.warnIfStyleNotTrusted = warnIfStyleNotTrusted = (context === null || context === void 0 ? void 0 : context.warnIfStyleNotTrusted) || undefined;\n      _exports.assert = assert = (context === null || context === void 0 ? void 0 : context.assert) || undefined;\n      _exports.deprecate = deprecate = (context === null || context === void 0 ? void 0 : context.deprecate) || undefined;\n      return originalGlobalContext;\n    };\n  }\n  var _default = _exports.default = setGlobalContext;\n});","define(\"@glimmer/low-level\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.Storage = _exports.Stack = void 0;\n  class Storage {\n    constructor() {\n      this.array = [];\n      this.next = 0;\n    }\n    add(element) {\n      var {\n        next: slot,\n        array\n      } = this;\n      if (slot === array.length) {\n        this.next++;\n      } else {\n        var prev = array[slot];\n        this.next = prev;\n      }\n      this.array[slot] = element;\n      return slot;\n    }\n    deref(pointer) {\n      return this.array[pointer];\n    }\n    drop(pointer) {\n      this.array[pointer] = this.next;\n      this.next = pointer;\n    }\n  }\n  _exports.Storage = Storage;\n  class Stack {\n    constructor(vec = []) {\n      this.vec = vec;\n    }\n    clone() {\n      return new Stack(this.vec.slice());\n    }\n    sliceFrom(start) {\n      return new Stack(this.vec.slice(start));\n    }\n    slice(start, end) {\n      return new Stack(this.vec.slice(start, end));\n    }\n    copy(from, to) {\n      this.vec[to] = this.vec[from];\n    } // TODO: how to model u64 argument?\n\n    writeRaw(pos, value) {\n      // TODO: Grow?\n      this.vec[pos] = value;\n    } // TODO: partially decoded enum?\n\n    getRaw(pos) {\n      return this.vec[pos];\n    }\n    reset() {\n      this.vec.length = 0;\n    }\n    len() {\n      return this.vec.length;\n    }\n  }\n  _exports.Stack = Stack;\n});","define(\"@glimmer/manager\", [\"exports\", \"@glimmer/util\", \"@glimmer/reference\", \"@glimmer/validator\", \"@glimmer/destroyable\", \"@glimmer/owner\"], function (_exports, _util, _reference, _validator, _destroyable, _owner) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.CustomModifierManager = _exports.CustomHelperManager = _exports.CustomComponentManager = void 0;\n  _exports.capabilityFlagsFrom = capabilityFlagsFrom;\n  _exports.componentCapabilities = componentCapabilities;\n  _exports.getComponentTemplate = getComponentTemplate;\n  _exports.getCustomTagFor = getCustomTagFor;\n  _exports.getInternalComponentManager = getInternalComponentManager;\n  _exports.getInternalHelperManager = getInternalHelperManager;\n  _exports.getInternalModifierManager = getInternalModifierManager;\n  _exports.hasCapability = hasCapability;\n  _exports.hasDestroyable = hasDestroyable;\n  _exports.hasInternalComponentManager = hasInternalComponentManager;\n  _exports.hasInternalHelperManager = hasInternalHelperManager;\n  _exports.hasInternalModifierManager = hasInternalModifierManager;\n  _exports.hasValue = hasValue;\n  _exports.helperCapabilities = helperCapabilities;\n  _exports.managerHasCapability = managerHasCapability;\n  _exports.modifierCapabilities = modifierCapabilities;\n  _exports.setComponentManager = setComponentManager;\n  _exports.setComponentTemplate = setComponentTemplate;\n  _exports.setCustomTagFor = setCustomTagFor;\n  _exports.setHelperManager = setHelperManager;\n  _exports.setInternalComponentManager = setInternalComponentManager;\n  _exports.setInternalHelperManager = setInternalHelperManager;\n  _exports.setInternalModifierManager = setInternalModifierManager;\n  _exports.setModifierManager = setModifierManager;\n  var COMPONENT_MANAGERS = new WeakMap();\n  var MODIFIER_MANAGERS = new WeakMap();\n  var HELPER_MANAGERS = new WeakMap(); ///////////\n\n  var getPrototypeOf = Object.getPrototypeOf;\n  function setManager(map, manager, obj) {\n    if (true /* DEBUG */ && (typeof obj !== 'object' || obj === null) && typeof obj !== 'function') {\n      throw new Error(`Attempted to set a manager on a non-object value. Managers can only be associated with objects or functions. Value was ${(0, _util.debugToString)(obj)}`);\n    }\n    if (true /* DEBUG */ && map.has(obj)) {\n      throw new Error(`Attempted to set the same type of manager multiple times on a value. You can only associate one manager of each type with a given value. Value was ${(0, _util.debugToString)(obj)}`);\n    }\n    map.set(obj, manager);\n    return obj;\n  }\n  function getManager(map, obj) {\n    var pointer = obj;\n    while (pointer !== undefined && pointer !== null) {\n      var manager = map.get(pointer);\n      if (manager !== undefined) {\n        return manager;\n      }\n      pointer = getPrototypeOf(pointer);\n    }\n    return undefined;\n  } ///////////\n\n  function setInternalModifierManager(manager, definition) {\n    return setManager(MODIFIER_MANAGERS, manager, definition);\n  }\n  function getInternalModifierManager(definition, isOptional) {\n    if (true /* DEBUG */ && typeof definition !== 'function' && (typeof definition !== 'object' || definition === null)) {\n      throw new Error(`Attempted to use a value as a modifier, but it was not an object or function. Modifier definitions must be objects or functions with an associated modifier manager. The value was: ${definition}`);\n    }\n    var manager = getManager(MODIFIER_MANAGERS, definition);\n    if (manager === undefined) {\n      if (isOptional === true) {\n        return null;\n      } else if (true /* DEBUG */) {\n        throw new Error(`Attempted to load a modifier, but there wasn't a modifier manager associated with the definition. The definition was: ${(0, _util.debugToString)(definition)}`);\n      }\n    }\n    return manager;\n  }\n  function setInternalHelperManager(manager, definition) {\n    return setManager(HELPER_MANAGERS, manager, definition);\n  }\n  function getInternalHelperManager(definition, isOptional) {\n    if (true /* DEBUG */ && typeof definition !== 'function' && (typeof definition !== 'object' || definition === null)) {\n      throw new Error(`Attempted to use a value as a helper, but it was not an object or function. Helper definitions must be objects or functions with an associated helper manager. The value was: ${definition}`);\n    }\n    var manager = getManager(HELPER_MANAGERS, definition);\n    if (manager === undefined) {\n      if (isOptional === true) {\n        return null;\n      } else if (true /* DEBUG */) {\n        throw new Error(`Attempted to load a helper, but there wasn't a helper manager associated with the definition. The definition was: ${(0, _util.debugToString)(definition)}`);\n      }\n    }\n    return manager;\n  }\n  function setInternalComponentManager(factory, obj) {\n    return setManager(COMPONENT_MANAGERS, factory, obj);\n  }\n  function getInternalComponentManager(definition, isOptional) {\n    if (true /* DEBUG */ && typeof definition !== 'function' && (typeof definition !== 'object' || definition === null)) {\n      throw new Error(`Attempted to use a value as a component, but it was not an object or function. Component definitions must be objects or functions with an associated component manager. The value was: ${definition}`);\n    }\n    var manager = getManager(COMPONENT_MANAGERS, definition);\n    if (manager === undefined) {\n      if (isOptional === true) {\n        return null;\n      } else if (true /* DEBUG */) {\n        throw new Error(`Attempted to load a component, but there wasn't a component manager associated with the definition. The definition was: ${(0, _util.debugToString)(definition)}`);\n      }\n    }\n    return manager;\n  } ///////////\n\n  function hasInternalComponentManager(definition) {\n    return getManager(COMPONENT_MANAGERS, definition) !== undefined;\n  }\n  function hasInternalHelperManager(definition) {\n    return getManager(HELPER_MANAGERS, definition) !== undefined;\n  }\n  function hasInternalModifierManager(definition) {\n    return getManager(MODIFIER_MANAGERS, definition) !== undefined;\n  }\n  var FROM_CAPABILITIES = true /* DEBUG */ ? new _util._WeakSet() : undefined;\n  function buildCapabilities(capabilities) {\n    if (true /* DEBUG */) {\n      FROM_CAPABILITIES.add(capabilities);\n      Object.freeze(capabilities);\n    }\n    return capabilities;\n  }\n  /**\n   * Converts a ComponentCapabilities object into a 32-bit integer representation.\n   */\n\n  function capabilityFlagsFrom(capabilities) {\n    return 0 | (capabilities.dynamicLayout ? 1\n    /* DynamicLayout */ : 0) | (capabilities.dynamicTag ? 2\n    /* DynamicTag */ : 0) | (capabilities.prepareArgs ? 4\n    /* PrepareArgs */ : 0) | (capabilities.createArgs ? 8\n    /* CreateArgs */ : 0) | (capabilities.attributeHook ? 16\n    /* AttributeHook */ : 0) | (capabilities.elementHook ? 32\n    /* ElementHook */ : 0) | (capabilities.dynamicScope ? 64\n    /* DynamicScope */ : 0) | (capabilities.createCaller ? 128\n    /* CreateCaller */ : 0) | (capabilities.updateHook ? 256\n    /* UpdateHook */ : 0) | (capabilities.createInstance ? 512\n    /* CreateInstance */ : 0) | (capabilities.wrapped ? 1024\n    /* Wrapped */ : 0) | (capabilities.willDestroy ? 2048\n    /* WillDestroy */ : 0) | (capabilities.hasSubOwner ? 4096\n    /* HasSubOwner */ : 0);\n  }\n  function managerHasCapability(_manager, capabilities, capability) {\n    return !!(capabilities & capability);\n  }\n  function hasCapability(capabilities, capability) {\n    return !!(capabilities & capability);\n  }\n  var CUSTOM_TAG_FOR = new WeakMap();\n  function getCustomTagFor(obj) {\n    return CUSTOM_TAG_FOR.get(obj);\n  }\n  function setCustomTagFor(obj, customTagFn) {\n    CUSTOM_TAG_FOR.set(obj, customTagFn);\n  }\n  function convertToInt(prop) {\n    if (typeof prop === 'symbol') return null;\n    var num = Number(prop);\n    if (isNaN(num)) return null;\n    return num % 1 === 0 ? num : null;\n  }\n  function tagForNamedArg(namedArgs, key) {\n    return (0, _validator.track)(() => {\n      if (key in namedArgs) {\n        (0, _reference.valueForRef)(namedArgs[key]);\n      }\n    });\n  }\n  function tagForPositionalArg(positionalArgs, key) {\n    return (0, _validator.track)(() => {\n      if (key === '[]') {\n        // consume all of the tags in the positional array\n        positionalArgs.forEach(_reference.valueForRef);\n      }\n      var parsed = convertToInt(key);\n      if (parsed !== null && parsed < positionalArgs.length) {\n        // consume the tag of the referenced index\n        (0, _reference.valueForRef)(positionalArgs[parsed]);\n      }\n    });\n  }\n  var argsProxyFor;\n  class NamedArgsProxy {\n    constructor(named) {\n      this.named = named;\n    }\n    get(_target, prop) {\n      var ref = this.named[prop];\n      if (ref !== undefined) {\n        return (0, _reference.valueForRef)(ref);\n      }\n    }\n    has(_target, prop) {\n      return prop in this.named;\n    }\n    ownKeys() {\n      return Object.keys(this.named);\n    }\n    isExtensible() {\n      return false;\n    }\n    getOwnPropertyDescriptor(_target, prop) {\n      if (true /* DEBUG */ && !(prop in this.named)) {\n        throw new Error(`args proxies do not have real property descriptors, so you should never need to call getOwnPropertyDescriptor yourself. This code exists for enumerability, such as in for-in loops and Object.keys(). Attempted to get the descriptor for \\`${String(prop)}\\``);\n      }\n      return {\n        enumerable: true,\n        configurable: true\n      };\n    }\n  }\n  class PositionalArgsProxy {\n    constructor(positional) {\n      this.positional = positional;\n    }\n    get(target, prop) {\n      var {\n        positional\n      } = this;\n      if (prop === 'length') {\n        return positional.length;\n      }\n      var parsed = convertToInt(prop);\n      if (parsed !== null && parsed < positional.length) {\n        return (0, _reference.valueForRef)(positional[parsed]);\n      }\n      return target[prop];\n    }\n    isExtensible() {\n      return false;\n    }\n    has(_target, prop) {\n      var parsed = convertToInt(prop);\n      return parsed !== null && parsed < this.positional.length;\n    }\n  }\n  if (_util.HAS_NATIVE_PROXY) {\n    argsProxyFor = (capturedArgs, type) => {\n      var {\n        named,\n        positional\n      } = capturedArgs;\n      var getNamedTag = (_obj, key) => tagForNamedArg(named, key);\n      var getPositionalTag = (_obj, key) => tagForPositionalArg(positional, key);\n      var namedHandler = new NamedArgsProxy(named);\n      var positionalHandler = new PositionalArgsProxy(positional);\n      var namedTarget = Object.create(null);\n      var positionalTarget = [];\n      if (true /* DEBUG */) {\n        var setHandler = function (_target, prop) {\n          throw new Error(`You attempted to set ${String(prop)} on the arguments of a component, helper, or modifier. Arguments are immutable and cannot be updated directly, they always represent the values that is passed down. If you want to set default values, you should use a getter and local tracked state instead.`);\n        };\n        var forInDebugHandler = () => {\n          throw new Error(`Object.keys() was called on the positional arguments array for a ${type}, which is not supported. This function is a low-level function that should not need to be called for positional argument arrays. You may be attempting to iterate over the array using for...in instead of for...of.`);\n        };\n        namedHandler.set = setHandler;\n        positionalHandler.set = setHandler;\n        positionalHandler.ownKeys = forInDebugHandler;\n      }\n      var namedProxy = new Proxy(namedTarget, namedHandler);\n      var positionalProxy = new Proxy(positionalTarget, positionalHandler);\n      setCustomTagFor(namedProxy, getNamedTag);\n      setCustomTagFor(positionalProxy, getPositionalTag);\n      return {\n        named: namedProxy,\n        positional: positionalProxy\n      };\n    };\n  } else {\n    argsProxyFor = (capturedArgs, _type) => {\n      var {\n        named,\n        positional\n      } = capturedArgs;\n      var getNamedTag = (_obj, key) => tagForNamedArg(named, key);\n      var getPositionalTag = (_obj, key) => tagForPositionalArg(positional, key);\n      var namedProxy = {};\n      var positionalProxy = [];\n      setCustomTagFor(namedProxy, getNamedTag);\n      setCustomTagFor(positionalProxy, getPositionalTag);\n      Object.keys(named).forEach(name => {\n        Object.defineProperty(namedProxy, name, {\n          enumerable: true,\n          configurable: true,\n          get() {\n            return (0, _reference.valueForRef)(named[name]);\n          }\n        });\n      });\n      positional.forEach((ref, index) => {\n        Object.defineProperty(positionalProxy, index, {\n          enumerable: true,\n          configurable: true,\n          get() {\n            return (0, _reference.valueForRef)(ref);\n          }\n        });\n      });\n      if (true /* DEBUG */) {\n        // Prevent mutations in development mode. This will not prevent the\n        // proxy from updating, but will prevent assigning new values or pushing\n        // for instance.\n        Object.freeze(namedProxy);\n        Object.freeze(positionalProxy);\n      }\n      return {\n        named: namedProxy,\n        positional: positionalProxy\n      };\n    };\n  }\n  var CAPABILITIES = {\n    dynamicLayout: false,\n    dynamicTag: false,\n    prepareArgs: false,\n    createArgs: true,\n    attributeHook: false,\n    elementHook: false,\n    createCaller: false,\n    dynamicScope: true,\n    updateHook: true,\n    createInstance: true,\n    wrapped: false,\n    willDestroy: false,\n    hasSubOwner: false\n  };\n  function componentCapabilities(managerAPI, options = {}) {\n    if (true /* DEBUG */ && managerAPI !== '3.4' && managerAPI !== '3.13') {\n      throw new Error('Invalid component manager compatibility specified');\n    }\n    var updateHook = true;\n    if (managerAPI === '3.13') {\n      updateHook = Boolean(options.updateHook);\n    }\n    return buildCapabilities({\n      asyncLifeCycleCallbacks: Boolean(options.asyncLifecycleCallbacks),\n      destructor: Boolean(options.destructor),\n      updateHook\n    });\n  }\n  function hasAsyncLifeCycleCallbacks(delegate) {\n    return delegate.capabilities.asyncLifeCycleCallbacks;\n  }\n  function hasUpdateHook(delegate) {\n    return delegate.capabilities.updateHook;\n  }\n  function hasAsyncUpdateHook(delegate) {\n    return hasAsyncLifeCycleCallbacks(delegate) && hasUpdateHook(delegate);\n  }\n  function hasDestructors(delegate) {\n    return delegate.capabilities.destructor;\n  }\n  /**\n    The CustomComponentManager allows addons to provide custom component\n    implementations that integrate seamlessly into Ember. This is accomplished\n    through a delegate, registered with the custom component manager, which\n    implements a set of hooks that determine component behavior.\n  \n    To create a custom component manager, instantiate a new CustomComponentManager\n    class and pass the delegate as the first argument:\n  \n    ```js\n    let manager = new CustomComponentManager({\n      // ...delegate implementation...\n    });\n    ```\n  \n    ## Delegate Hooks\n  \n    Throughout the lifecycle of a component, the component manager will invoke\n    delegate hooks that are responsible for surfacing those lifecycle changes to\n    the end developer.\n  \n    * `create()` - invoked when a new instance of a component should be created\n    * `update()` - invoked when the arguments passed to a component change\n    * `getContext()` - returns the object that should be\n  */\n\n  class CustomComponentManager {\n    constructor(factory) {\n      this.factory = factory;\n      this.componentManagerDelegates = new WeakMap();\n    }\n    getDelegateFor(owner) {\n      var {\n        componentManagerDelegates\n      } = this;\n      var delegate = componentManagerDelegates.get(owner);\n      if (delegate === undefined) {\n        var {\n          factory\n        } = this;\n        delegate = factory(owner);\n        if (true /* DEBUG */ && !FROM_CAPABILITIES.has(delegate.capabilities)) {\n          // TODO: This error message should make sense in both Ember and Glimmer https://github.com/glimmerjs/glimmer-vm/issues/1200\n          throw new Error(`Custom component managers must have a \\`capabilities\\` property that is the result of calling the \\`capabilities('3.4' | '3.13')\\` (imported via \\`import { capabilities } from '@ember/component';\\`). Received: \\`${JSON.stringify(delegate.capabilities)}\\` for: \\`${delegate}\\``);\n        }\n        componentManagerDelegates.set(owner, delegate);\n      }\n      return delegate;\n    }\n    create(owner, definition, vmArgs) {\n      var delegate = this.getDelegateFor(owner);\n      var args = argsProxyFor(vmArgs.capture(), 'component');\n      var component;\n      if (true /* DEBUG */ && _validator.deprecateMutationsInTrackingTransaction !== undefined) {\n        (0, _validator.deprecateMutationsInTrackingTransaction)(() => {\n          component = delegate.createComponent(definition, args);\n        });\n      } else {\n        component = delegate.createComponent(definition, args);\n      }\n      return new CustomComponentState(component, delegate, args);\n    }\n    getDebugName(definition) {\n      return typeof definition === 'function' ? definition.name : definition.toString();\n    }\n    update(bucket) {\n      var {\n        delegate\n      } = bucket;\n      if (hasUpdateHook(delegate)) {\n        var {\n          component,\n          args\n        } = bucket;\n        delegate.updateComponent(component, args);\n      }\n    }\n    didCreate({\n      component,\n      delegate\n    }) {\n      if (hasAsyncLifeCycleCallbacks(delegate)) {\n        delegate.didCreateComponent(component);\n      }\n    }\n    didUpdate({\n      component,\n      delegate\n    }) {\n      if (hasAsyncUpdateHook(delegate)) {\n        delegate.didUpdateComponent(component);\n      }\n    }\n    didRenderLayout() {}\n    didUpdateLayout() {}\n    getSelf({\n      component,\n      delegate\n    }) {\n      return (0, _reference.createConstRef)(delegate.getContext(component), 'this');\n    }\n    getDestroyable(bucket) {\n      var {\n        delegate\n      } = bucket;\n      if (hasDestructors(delegate)) {\n        var {\n          component\n        } = bucket;\n        (0, _destroyable.registerDestructor)(bucket, () => delegate.destroyComponent(component));\n        return bucket;\n      }\n      return null;\n    }\n    getCapabilities() {\n      return CAPABILITIES;\n    }\n  }\n  /**\n   * Stores internal state about a component instance after it's been created.\n   */\n  _exports.CustomComponentManager = CustomComponentManager;\n  class CustomComponentState {\n    constructor(component, delegate, args) {\n      this.component = component;\n      this.delegate = delegate;\n      this.args = args;\n    }\n  }\n  function modifierCapabilities(managerAPI, optionalFeatures = {}) {\n    if (true /* DEBUG */ && managerAPI !== '3.13' && managerAPI !== '3.22') {\n      throw new Error('Invalid modifier manager compatibility specified');\n    }\n    return buildCapabilities({\n      disableAutoTracking: Boolean(optionalFeatures.disableAutoTracking),\n      useArgsProxy: managerAPI === '3.13' ? false : true,\n      // This capability is used in Ember, exclusively in resolution mode. See the\n      // Ember glimmer resolver for details.\n      passFactoryToCreate: managerAPI === '3.13'\n    });\n  }\n  /**\n    The CustomModifierManager allows addons to provide custom modifier\n    implementations that integrate seamlessly into Ember. This is accomplished\n    through a delegate, registered with the custom modifier manager, which\n    implements a set of hooks that determine modifier behavior.\n    To create a custom modifier manager, instantiate a new CustomModifierManager\n    class and pass the delegate as the first argument:\n  \n    ```js\n    let manager = new CustomModifierManager({\n      // ...delegate implementation...\n    });\n    ```\n  \n    ## Delegate Hooks\n  \n    Throughout the lifecycle of a modifier, the modifier manager will invoke\n    delegate hooks that are responsible for surfacing those lifecycle changes to\n    the end developer.\n    * `createModifier()` - invoked when a new instance of a modifier should be created\n    * `installModifier()` - invoked when the modifier is installed on the element\n    * `updateModifier()` - invoked when the arguments passed to a modifier change\n    * `destroyModifier()` - invoked when the modifier is about to be destroyed\n  */\n\n  class CustomModifierManager {\n    constructor(factory) {\n      this.factory = factory;\n      this.componentManagerDelegates = new WeakMap();\n    }\n    getDelegateFor(owner) {\n      var {\n        componentManagerDelegates\n      } = this;\n      var delegate = componentManagerDelegates.get(owner);\n      if (delegate === undefined) {\n        var {\n          factory\n        } = this;\n        delegate = factory(owner);\n        if (true /* DEBUG */ && !FROM_CAPABILITIES.has(delegate.capabilities)) {\n          // TODO: This error message should make sense in both Ember and Glimmer https://github.com/glimmerjs/glimmer-vm/issues/1200\n          throw new Error(`Custom modifier managers must have a \\`capabilities\\` property that is the result of calling the \\`capabilities('3.13' | '3.22')\\` (imported via \\`import { capabilities } from '@ember/modifier';\\`). Received: \\`${JSON.stringify(delegate.capabilities)}\\` for: \\`${delegate}\\``);\n        }\n        componentManagerDelegates.set(owner, delegate);\n      }\n      return delegate;\n    }\n    create(owner, element, definition, capturedArgs) {\n      var delegate = this.getDelegateFor(owner);\n      var {\n        useArgsProxy,\n        passFactoryToCreate\n      } = delegate.capabilities;\n      var argsProxy = argsProxyFor(capturedArgs, 'modifier');\n      var args = useArgsProxy ? argsProxy : reifyArgs(capturedArgs);\n      var instance;\n      var factoryOrDefinition = definition;\n      if (passFactoryToCreate) {\n        // Make a fake factory. While not perfect, this should generally prevent\n        // breakage in users of older modifier capabilities.\n        factoryOrDefinition = {\n          create(args) {\n            var params = (0, _util.assign)({}, args);\n            (0, _owner.setOwner)(params, owner);\n            return definition.create(args);\n          },\n          class: definition\n        };\n      }\n      if (true /* DEBUG */ && _validator.deprecateMutationsInTrackingTransaction !== undefined) {\n        (0, _validator.deprecateMutationsInTrackingTransaction)(() => {\n          instance = delegate.createModifier(factoryOrDefinition, args);\n        });\n      } else {\n        instance = delegate.createModifier(factoryOrDefinition, args);\n      }\n      var tag = (0, _validator.createUpdatableTag)();\n      var state;\n      if (useArgsProxy) {\n        state = {\n          tag,\n          element,\n          delegate,\n          args,\n          modifier: instance\n        };\n      } else {\n        state = {\n          tag,\n          element,\n          modifier: instance,\n          delegate,\n          get args() {\n            return reifyArgs(capturedArgs);\n          }\n        };\n      }\n      if (true /* DEBUG */) {\n        state.debugName = typeof definition === 'function' ? definition.name : definition.toString();\n      }\n      (0, _destroyable.registerDestructor)(state, () => delegate.destroyModifier(instance, argsProxy));\n      return state;\n    }\n    getDebugName({\n      debugName\n    }) {\n      return debugName;\n    }\n    getTag({\n      tag\n    }) {\n      return tag;\n    }\n    install({\n      element,\n      args,\n      modifier,\n      delegate\n    }) {\n      var {\n        capabilities\n      } = delegate;\n      if (capabilities.disableAutoTracking === true) {\n        (0, _validator.untrack)(() => delegate.installModifier(modifier, element, args));\n      } else {\n        delegate.installModifier(modifier, element, args);\n      }\n    }\n    update({\n      args,\n      modifier,\n      delegate\n    }) {\n      var {\n        capabilities\n      } = delegate;\n      if (capabilities.disableAutoTracking === true) {\n        (0, _validator.untrack)(() => delegate.updateModifier(modifier, args));\n      } else {\n        delegate.updateModifier(modifier, args);\n      }\n    }\n    getDestroyable(state) {\n      return state;\n    }\n  }\n  _exports.CustomModifierManager = CustomModifierManager;\n  function reifyArgs({\n    named,\n    positional\n  }) {\n    var reifiedNamed = (0, _util.dict)();\n    for (var key in named) {\n      reifiedNamed[key] = (0, _reference.valueForRef)(named[key]);\n    }\n    var reifiedPositional = positional.map(_reference.valueForRef);\n    return {\n      named: reifiedNamed,\n      positional: reifiedPositional\n    };\n  }\n  function helperCapabilities(managerAPI, options = {}) {\n    if (true /* DEBUG */ && managerAPI !== '3.23') {\n      throw new Error('Invalid helper manager compatibility specified');\n    }\n    if (true /* DEBUG */ && (!(options.hasValue || options.hasScheduledEffect) || options.hasValue && options.hasScheduledEffect)) {\n      throw new Error('You must pass either the `hasValue` OR the `hasScheduledEffect` capability when defining a helper manager. Passing neither, or both, is not permitted.');\n    }\n    if (true /* DEBUG */ && options.hasScheduledEffect) {\n      throw new Error('The `hasScheduledEffect` capability has not yet been implemented for helper managers. Please pass `hasValue` instead');\n    }\n    return buildCapabilities({\n      hasValue: Boolean(options.hasValue),\n      hasDestroyable: Boolean(options.hasDestroyable),\n      hasScheduledEffect: Boolean(options.hasScheduledEffect)\n    });\n  } ////////////\n\n  function hasValue(manager) {\n    return manager.capabilities.hasValue;\n  }\n  function hasDestroyable(manager) {\n    return manager.capabilities.hasDestroyable;\n  } ////////////\n\n  class CustomHelperManager {\n    constructor(factory) {\n      this.factory = factory;\n      this.helperManagerDelegates = new WeakMap();\n      this.undefinedDelegate = null;\n    }\n    getDelegateForOwner(owner) {\n      var delegate = this.helperManagerDelegates.get(owner);\n      if (delegate === undefined) {\n        var {\n          factory\n        } = this;\n        delegate = factory(owner);\n        if (true /* DEBUG */ && !FROM_CAPABILITIES.has(delegate.capabilities)) {\n          // TODO: This error message should make sense in both Ember and Glimmer https://github.com/glimmerjs/glimmer-vm/issues/1200\n          throw new Error(`Custom helper managers must have a \\`capabilities\\` property that is the result of calling the \\`capabilities('3.23')\\` (imported via \\`import { capabilities } from '@ember/helper';\\`). Received: \\`${JSON.stringify(delegate.capabilities)}\\` for: \\`${delegate}\\``);\n        }\n        this.helperManagerDelegates.set(owner, delegate);\n      }\n      return delegate;\n    }\n    getDelegateFor(owner) {\n      if (owner === undefined) {\n        var {\n          undefinedDelegate\n        } = this;\n        if (undefinedDelegate === null) {\n          var {\n            factory\n          } = this;\n          this.undefinedDelegate = undefinedDelegate = factory(undefined);\n        }\n        return undefinedDelegate;\n      } else {\n        return this.getDelegateForOwner(owner);\n      }\n    }\n    getHelper(definition) {\n      return (capturedArgs, owner) => {\n        var _a, _b;\n        var manager = this.getDelegateFor(owner);\n        var args = argsProxyFor(capturedArgs, 'helper');\n        var bucket = manager.createHelper(definition, args);\n        if (hasValue(manager)) {\n          var cache = (0, _reference.createComputeRef)(() => manager.getValue(bucket), null, true /* DEBUG */ && manager.getDebugName && manager.getDebugName(definition));\n          if (hasDestroyable(manager)) {\n            (0, _destroyable.associateDestroyableChild)(cache, manager.getDestroyable(bucket));\n          }\n          return cache;\n        } else if (hasDestroyable(manager)) {\n          var ref = (0, _reference.createConstRef)(undefined, true /* DEBUG */ && ((_b = (_a = manager.getDebugName) === null || _a === void 0 ? void 0 : _a.call(manager, definition)) !== null && _b !== void 0 ? _b : 'unknown helper'));\n          (0, _destroyable.associateDestroyableChild)(ref, manager.getDestroyable(bucket));\n          return ref;\n        } else {\n          return _reference.UNDEFINED_REFERENCE;\n        }\n      };\n    }\n  }\n  _exports.CustomHelperManager = CustomHelperManager;\n  function setComponentManager(factory, obj) {\n    return setInternalComponentManager(new CustomComponentManager(factory), obj);\n  }\n  function setModifierManager(factory, obj) {\n    return setInternalModifierManager(new CustomModifierManager(factory), obj);\n  }\n  function setHelperManager(factory, obj) {\n    return setInternalHelperManager(new CustomHelperManager(factory), obj);\n  }\n  var TEMPLATES = new WeakMap();\n  var getPrototypeOf$1 = Object.getPrototypeOf;\n  function setComponentTemplate(factory, obj) {\n    if (true /* DEBUG */ && !(obj !== null && (typeof obj === 'object' || typeof obj === 'function'))) {\n      throw new Error(`Cannot call \\`setComponentTemplate\\` on \\`${(0, _util.debugToString)(obj)}\\``);\n    }\n    if (true /* DEBUG */ && TEMPLATES.has(obj)) {\n      throw new Error(`Cannot call \\`setComponentTemplate\\` multiple times on the same class (\\`${(0, _util.debugToString)(obj)}\\`)`);\n    }\n    TEMPLATES.set(obj, factory);\n    return obj;\n  }\n  function getComponentTemplate(obj) {\n    var pointer = obj;\n    while (pointer !== null) {\n      var template = TEMPLATES.get(pointer);\n      if (template !== undefined) {\n        return template;\n      }\n      pointer = getPrototypeOf$1(pointer);\n    }\n    return undefined;\n  }\n});","define(\"@glimmer/node\", [\"exports\", \"@glimmer/runtime\", \"@simple-dom/document\"], function (_exports, _runtime, _document) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.NodeDOMTreeConstruction = void 0;\n  _exports.serializeBuilder = serializeBuilder;\n  class NodeDOMTreeConstruction extends _runtime.DOMTreeConstruction {\n    constructor(doc) {\n      super(doc || (0, _document.default)());\n    } // override to prevent usage of `this.document` until after the constructor\n\n    setupUselessElement() {}\n    insertHTMLBefore(parent, reference, html) {\n      var raw = this.document.createRawHTMLSection(html);\n      parent.insertBefore(raw, reference);\n      return new _runtime.ConcreteBounds(parent, raw, raw);\n    } // override to avoid SVG detection/work when in node (this is not needed in SSR)\n\n    createElement(tag) {\n      return this.document.createElement(tag);\n    } // override to avoid namespace shenanigans when in node (this is not needed in SSR)\n\n    setAttribute(element, name, value) {\n      element.setAttribute(name, value);\n    }\n  }\n  _exports.NodeDOMTreeConstruction = NodeDOMTreeConstruction;\n  var TEXT_NODE = 3;\n  var NEEDS_EXTRA_CLOSE = new WeakMap();\n  function currentNode(cursor) {\n    var {\n      element,\n      nextSibling\n    } = cursor;\n    if (nextSibling === null) {\n      return element.lastChild;\n    } else {\n      return nextSibling.previousSibling;\n    }\n  }\n  class SerializeBuilder extends _runtime.NewElementBuilder {\n    constructor() {\n      super(...arguments);\n      this.serializeBlockDepth = 0;\n    }\n    __openBlock() {\n      var {\n        tagName\n      } = this.element;\n      if (tagName !== 'TITLE' && tagName !== 'SCRIPT' && tagName !== 'STYLE') {\n        var depth = this.serializeBlockDepth++;\n        this.__appendComment(`%+b:${depth}%`);\n      }\n      super.__openBlock();\n    }\n    __closeBlock() {\n      var {\n        tagName\n      } = this.element;\n      super.__closeBlock();\n      if (tagName !== 'TITLE' && tagName !== 'SCRIPT' && tagName !== 'STYLE') {\n        var depth = --this.serializeBlockDepth;\n        this.__appendComment(`%-b:${depth}%`);\n      }\n    }\n    __appendHTML(html) {\n      var {\n        tagName\n      } = this.element;\n      if (tagName === 'TITLE' || tagName === 'SCRIPT' || tagName === 'STYLE') {\n        return super.__appendHTML(html);\n      } // Do we need to run the html tokenizer here?\n\n      var first = this.__appendComment('%glmr%');\n      if (tagName === 'TABLE') {\n        var openIndex = html.indexOf('<');\n        if (openIndex > -1) {\n          var tr = html.slice(openIndex + 1, openIndex + 3);\n          if (tr === 'tr') {\n            html = `<tbody>${html}</tbody>`;\n          }\n        }\n      }\n      if (html === '') {\n        this.__appendComment('% %');\n      } else {\n        super.__appendHTML(html);\n      }\n      var last = this.__appendComment('%glmr%');\n      return new _runtime.ConcreteBounds(this.element, first, last);\n    }\n    __appendText(string) {\n      var {\n        tagName\n      } = this.element;\n      var current = currentNode(this);\n      if (tagName === 'TITLE' || tagName === 'SCRIPT' || tagName === 'STYLE') {\n        return super.__appendText(string);\n      } else if (string === '') {\n        return this.__appendComment('% %');\n      } else if (current && current.nodeType === TEXT_NODE) {\n        this.__appendComment('%|%');\n      }\n      return super.__appendText(string);\n    }\n    closeElement() {\n      if (NEEDS_EXTRA_CLOSE.has(this.element)) {\n        NEEDS_EXTRA_CLOSE.delete(this.element);\n        super.closeElement();\n      }\n      return super.closeElement();\n    }\n    openElement(tag) {\n      if (tag === 'tr') {\n        if (this.element.tagName !== 'TBODY' && this.element.tagName !== 'THEAD' && this.element.tagName !== 'TFOOT') {\n          this.openElement('tbody'); // This prevents the closeBlock comment from being re-parented\n          // under the auto inserted tbody. Rehydration builder needs to\n          // account for the insertion since it is injected here and not\n          // really in the template.\n\n          NEEDS_EXTRA_CLOSE.set(this.constructing, true);\n          this.flushElement(null);\n        }\n      }\n      return super.openElement(tag);\n    }\n    pushRemoteElement(element, cursorId, insertBefore = null) {\n      var {\n        dom\n      } = this;\n      var script = dom.createElement('script');\n      script.setAttribute('glmr', cursorId);\n      dom.insertBefore(element, script, insertBefore);\n      return super.pushRemoteElement(element, cursorId, insertBefore);\n    }\n  }\n  function serializeBuilder(env, cursor) {\n    return SerializeBuilder.forInitialRender(env, cursor);\n  }\n});","define(\"@glimmer/opcode-compiler\", [\"exports\", \"@glimmer/util\", \"@glimmer/vm\", \"@glimmer/global-context\", \"@glimmer/manager\", \"@glimmer/encoder\"], function (_exports, _util, _vm, _globalContext, _manager, _encoder) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.WrappedBuilder = _exports.StdLib = _exports.PartialDefinitionImpl = _exports.MINIMAL_CAPABILITIES = _exports.EMPTY_BLOCKS = _exports.DEFAULT_CAPABILITIES = _exports.CompileTimeCompilationContextImpl = void 0;\n  _exports.compilable = compilable;\n  _exports.compileStatements = compileStatements;\n  _exports.compileStd = compileStd;\n  _exports.debugCompiler = void 0;\n  _exports.invokeStaticBlock = InvokeStaticBlock;\n  _exports.invokeStaticBlockWithStack = InvokeStaticBlockWithStack;\n  _exports.meta = meta;\n  _exports.programCompilationContext = programCompilationContext;\n  _exports.templateCacheCounters = void 0;\n  _exports.templateCompilationContext = templateCompilationContext;\n  _exports.templateFactory = templateFactory;\n  class NamedBlocksImpl {\n    constructor(blocks) {\n      this.blocks = blocks;\n      this.names = blocks ? Object.keys(blocks) : [];\n    }\n    get(name) {\n      if (!this.blocks) return null;\n      return this.blocks[name] || null;\n    }\n    has(name) {\n      var {\n        blocks\n      } = this;\n      return blocks !== null && name in blocks;\n    }\n    with(name, block) {\n      var {\n        blocks\n      } = this;\n      if (blocks) {\n        return new NamedBlocksImpl((0, _util.assign)({}, blocks, {\n          [name]: block\n        }));\n      } else {\n        return new NamedBlocksImpl({\n          [name]: block\n        });\n      }\n    }\n    get hasAny() {\n      return this.blocks !== null;\n    }\n  }\n  var EMPTY_BLOCKS = _exports.EMPTY_BLOCKS = new NamedBlocksImpl(null);\n  function namedBlocks(blocks) {\n    if (blocks === null) {\n      return EMPTY_BLOCKS;\n    }\n    var out = (0, _util.dict)();\n    var [keys, values] = blocks;\n    for (var i = 0; i < keys.length; i++) {\n      out[keys[i]] = values[i];\n    }\n    return new NamedBlocksImpl(out);\n  }\n  function labelOperand(value) {\n    return {\n      type: 1\n      /* Label */,\n\n      value\n    };\n  }\n  function evalSymbolsOperand() {\n    return {\n      type: 3\n      /* EvalSymbols */,\n\n      value: undefined\n    };\n  }\n  function isStrictMode() {\n    return {\n      type: 2\n      /* IsStrictMode */,\n\n      value: undefined\n    };\n  }\n  function blockOperand(value) {\n    return {\n      type: 4\n      /* Block */,\n\n      value\n    };\n  }\n  function stdlibOperand(value) {\n    return {\n      type: 5\n      /* StdLib */,\n\n      value\n    };\n  }\n  function nonSmallIntOperand(value) {\n    return {\n      type: 6\n      /* NonSmallInt */,\n\n      value\n    };\n  }\n  function symbolTableOperand(value) {\n    return {\n      type: 7\n      /* SymbolTable */,\n\n      value\n    };\n  }\n  function layoutOperand(value) {\n    return {\n      type: 8\n      /* Layout */,\n\n      value\n    };\n  }\n  function isGetLikeTuple(opcode) {\n    return Array.isArray(opcode) && opcode.length === 2;\n  }\n  function makeResolutionTypeVerifier(typeToVerify) {\n    return opcode => {\n      if (!isGetLikeTuple(opcode)) return false;\n      var type = opcode[0];\n      return type === 31\n      /* GetStrictFree */ || type === 32\n      /* GetTemplateSymbol */ || type === typeToVerify;\n    };\n  }\n  var isGetFreeComponent = makeResolutionTypeVerifier(39\n  /* GetFreeAsComponentHead */);\n  var isGetFreeModifier = makeResolutionTypeVerifier(38\n  /* GetFreeAsModifierHead */);\n  var isGetFreeHelper = makeResolutionTypeVerifier(37\n  /* GetFreeAsHelperHead */);\n  var isGetFreeComponentOrHelper = makeResolutionTypeVerifier(35\n  /* GetFreeAsComponentOrHelperHead */);\n  var isGetFreeOptionalComponentOrHelper = makeResolutionTypeVerifier(34\n  /* GetFreeAsComponentOrHelperHeadOrThisFallback */);\n  function assertResolverInvariants(meta) {\n    if (true /* DEBUG */) {\n      if (!meta.upvars) {\n        throw new Error('Attempted to resolve a component, helper, or modifier, but no free vars were found');\n      }\n      if (!meta.owner) {\n        throw new Error('Attempted to resolve a component, helper, or modifier, but no owner was associated with the template it was being resolved from');\n      }\n    }\n    return meta;\n  }\n  /**\n   * <Foo/>\n   * <Foo></Foo>\n   * <Foo @arg={{true}} />\n   */\n\n  function resolveComponent(resolver, constants, meta, [, expr, then]) {\n    var type = expr[0];\n    if (true /* DEBUG */ && expr[0] === 31\n    /* GetStrictFree */) {\n      throw new Error(`Attempted to resolve a component in a strict mode template, but that value was not in scope: ${meta.upvars[expr[1]]}`);\n    }\n    if (type === 32\n    /* GetTemplateSymbol */) {\n      var {\n        scopeValues,\n        owner\n      } = meta;\n      var definition = scopeValues[expr[1]];\n      then(constants.component(definition, owner));\n    } else {\n      var {\n        upvars,\n        owner: _owner\n      } = assertResolverInvariants(meta);\n      var name = upvars[expr[1]];\n      var _definition = resolver.lookupComponent(name, _owner);\n      if (true /* DEBUG */ && (typeof _definition !== 'object' || _definition === null)) {\n        throw new Error(`Attempted to resolve \\`${name}\\`, which was expected to be a component, but nothing was found.`);\n      }\n      then(constants.resolvedComponent(_definition, name));\n    }\n  }\n  /**\n   * (helper)\n   * (helper arg)\n   */\n\n  function resolveHelper(resolver, constants, meta, [, expr, then]) {\n    var type = expr[0];\n    if (type === 32\n    /* GetTemplateSymbol */) {\n      var {\n        scopeValues\n      } = meta;\n      var definition = scopeValues[expr[1]];\n      then(constants.helper(definition));\n    } else if (type === 31\n    /* GetStrictFree */) {\n      then(lookupBuiltInHelper(expr, resolver, meta, constants, 'helper'));\n    } else {\n      var {\n        upvars,\n        owner\n      } = assertResolverInvariants(meta);\n      var name = upvars[expr[1]];\n      var helper = resolver.lookupHelper(name, owner);\n      if (true /* DEBUG */ && helper === null) {\n        throw new Error(`Attempted to resolve \\`${name}\\`, which was expected to be a helper, but nothing was found.`);\n      }\n      then(constants.helper(helper, name));\n    }\n  }\n  /**\n   * <div {{modifier}}/>\n   * <div {{modifier arg}}/>\n   * <Foo {{modifier}}/>\n   */\n\n  function resolveModifier(resolver, constants, meta, [, expr, then]) {\n    var type = expr[0];\n    if (type === 32\n    /* GetTemplateSymbol */) {\n      var {\n        scopeValues\n      } = meta;\n      var definition = scopeValues[expr[1]];\n      then(constants.modifier(definition));\n    } else if (type === 31\n    /* GetStrictFree */) {\n      var {\n        upvars\n      } = assertResolverInvariants(meta);\n      var name = upvars[expr[1]];\n      var modifier = resolver.lookupBuiltInModifier(name);\n      if (true /* DEBUG */ && modifier === null) {\n        throw new Error(`Attempted to resolve a modifier in a strict mode template, but it was not in scope: ${name}`);\n      }\n      then(constants.modifier(modifier, name));\n    } else {\n      var {\n        upvars: _upvars,\n        owner\n      } = assertResolverInvariants(meta);\n      var _name2 = _upvars[expr[1]];\n      var _modifier = resolver.lookupModifier(_name2, owner);\n      if (true /* DEBUG */ && _modifier === null) {\n        throw new Error(`Attempted to resolve \\`${_name2}\\`, which was expected to be a modifier, but nothing was found.`);\n      }\n      then(constants.modifier(_modifier, _name2));\n    }\n  }\n  /**\n   * {{component-or-helper arg}}\n   */\n\n  function resolveComponentOrHelper(resolver, constants, meta, [, expr, {\n    ifComponent,\n    ifHelper\n  }]) {\n    var type = expr[0];\n    if (type === 32\n    /* GetTemplateSymbol */) {\n      var {\n        scopeValues,\n        owner\n      } = meta;\n      var definition = scopeValues[expr[1]];\n      var component = constants.component(definition, owner, true);\n      if (component !== null) {\n        ifComponent(component);\n        return;\n      }\n      var helper = constants.helper(definition, null, true);\n      if (true /* DEBUG */ && helper === null) {\n        throw new Error(`Attempted to use a value as either a component or helper, but it did not have a component manager or helper manager associated with it. The value was: ${(0, _util.debugToString)(definition)}`);\n      }\n      ifHelper(helper);\n    } else if (type === 31\n    /* GetStrictFree */) {\n      ifHelper(lookupBuiltInHelper(expr, resolver, meta, constants, 'component or helper'));\n    } else {\n      var {\n        upvars,\n        owner: _owner2\n      } = assertResolverInvariants(meta);\n      var name = upvars[expr[1]];\n      var _definition2 = resolver.lookupComponent(name, _owner2);\n      if (_definition2 !== null) {\n        ifComponent(constants.resolvedComponent(_definition2, name));\n      } else {\n        var _helper = resolver.lookupHelper(name, _owner2);\n        if (true /* DEBUG */ && _helper === null) {\n          throw new Error(`Attempted to resolve \\`${name}\\`, which was expected to be a component or helper, but nothing was found.`);\n        }\n        ifHelper(constants.helper(_helper, name));\n      }\n    }\n  }\n  /**\n   * <Foo @arg={{helper}}>\n   */\n\n  function resolveOptionalHelper(resolver, constants, meta, [, expr, {\n    ifHelper,\n    ifFallback\n  }]) {\n    var {\n      upvars,\n      owner\n    } = assertResolverInvariants(meta);\n    var name = upvars[expr[1]];\n    var helper = resolver.lookupHelper(name, owner);\n    if (helper === null) {\n      ifFallback(name, meta.moduleName);\n    } else {\n      ifHelper(constants.helper(helper, name), name, meta.moduleName);\n    }\n  }\n  /**\n   * {{maybeHelperOrComponent}}\n   */\n\n  function resolveOptionalComponentOrHelper(resolver, constants, meta, [, expr, {\n    ifComponent,\n    ifHelper,\n    ifValue,\n    ifFallback\n  }]) {\n    var type = expr[0];\n    if (type === 32\n    /* GetTemplateSymbol */) {\n      var {\n        scopeValues,\n        owner\n      } = meta;\n      var definition = scopeValues[expr[1]];\n      if (typeof definition !== 'function' && (typeof definition !== 'object' || definition === null)) {\n        // The value is not an object, so it can't be a component or helper.\n        ifValue(constants.value(definition));\n        return;\n      }\n      var component = constants.component(definition, owner, true);\n      if (component !== null) {\n        ifComponent(component);\n        return;\n      }\n      var helper = constants.helper(definition, null, true);\n      if (helper !== null) {\n        ifHelper(helper);\n        return;\n      }\n      ifValue(constants.value(definition));\n    } else if (type === 31\n    /* GetStrictFree */) {\n      ifHelper(lookupBuiltInHelper(expr, resolver, meta, constants, 'value'));\n    } else {\n      var {\n        upvars,\n        owner: _owner3\n      } = assertResolverInvariants(meta);\n      var name = upvars[expr[1]];\n      var _definition3 = resolver.lookupComponent(name, _owner3);\n      if (_definition3 !== null) {\n        ifComponent(constants.resolvedComponent(_definition3, name));\n        return;\n      }\n      var _helper2 = resolver.lookupHelper(name, _owner3);\n      if (_helper2 !== null) {\n        ifHelper(constants.helper(_helper2, name));\n        return;\n      }\n      ifFallback(name);\n    }\n  }\n  function lookupBuiltInHelper(expr, resolver, meta, constants, type) {\n    var {\n      upvars\n    } = assertResolverInvariants(meta);\n    var name = upvars[expr[1]];\n    var helper = resolver.lookupBuiltInHelper(name);\n    if (true /* DEBUG */ && helper === null) {\n      // Keyword helper did not exist, which means that we're attempting to use a\n      // value of some kind that is not in scope\n      throw new Error(`Attempted to resolve a ${type} in a strict mode template, but that value was not in scope: ${meta.upvars[expr[1]]}`);\n    }\n    return constants.helper(helper, name);\n  }\n  class Compilers {\n    constructor() {\n      this.names = {};\n      this.funcs = [];\n    }\n    add(name, func) {\n      this.names[name] = this.funcs.push(func) - 1;\n    }\n    compile(op, sexp) {\n      var name = sexp[0];\n      var index = this.names[name];\n      var func = this.funcs[index];\n      func(op, sexp);\n    }\n  }\n  var EXPRESSIONS = new Compilers();\n  EXPRESSIONS.add(29\n  /* Concat */, (op, [, parts]) => {\n    for (var part of parts) {\n      expr(op, part);\n    }\n    op(27\n    /* Concat */, parts.length);\n  });\n  EXPRESSIONS.add(28\n  /* Call */, (op, [, expression, positional, named]) => {\n    if (isGetFreeHelper(expression)) {\n      op(1005\n      /* ResolveHelper */, expression, handle => {\n        Call(op, handle, positional, named);\n      });\n    } else {\n      expr(op, expression);\n      CallDynamic(op, positional, named);\n    }\n  });\n  EXPRESSIONS.add(50\n  /* Curry */, (op, [, expr$$1, type, positional, named]) => {\n    Curry(op, type, expr$$1, positional, named);\n  });\n  EXPRESSIONS.add(30\n  /* GetSymbol */, (op, [, sym, path]) => {\n    op(21\n    /* GetVariable */, sym);\n    withPath(op, path);\n  });\n  EXPRESSIONS.add(32\n  /* GetTemplateSymbol */, (op, [, sym, path]) => {\n    op(1011\n    /* ResolveTemplateLocal */, sym, handle => {\n      op(29\n      /* ConstantReference */, handle);\n      withPath(op, path);\n    });\n  });\n  EXPRESSIONS.add(31\n  /* GetStrictFree */, (op, [, sym, _path]) => {\n    op(1009\n    /* ResolveFree */, sym, _handle => {// TODO: Implement in strict mode\n    });\n  });\n  EXPRESSIONS.add(33\n  /* GetFreeAsFallback */, (op, [, freeVar, path]) => {\n    op(1010\n    /* ResolveLocal */, freeVar, (name, moduleName) => {\n      if (true /* DEBUG */) {\n        var propertyPath = path ? [name, ...path].join('.') : name;\n        (true && !(false) && (0, _globalContext.deprecate)(`The \\`${propertyPath}\\` property path was used in the \\`${moduleName}\\` template without using \\`this\\`. This fallback behavior has been deprecated, all properties must be looked up on \\`this\\` when used in the template: {{this.${propertyPath}}}`, false, {\n          id: 'this-property-fallback'\n        }));\n      }\n      op(21\n      /* GetVariable */, 0);\n      op(22\n      /* GetProperty */, name);\n    });\n    withPath(op, path);\n  });\n  EXPRESSIONS.add(34\n  /* GetFreeAsComponentOrHelperHeadOrThisFallback */, () => {\n    // TODO: The logic for this opcode currently exists in STATEMENTS.Append, since\n    // we want different wrapping logic depending on if we are invoking a component,\n    // helper, or {{this}} fallback. Eventually we fix the opcodes so that we can\n    // traverse the subexpression tree like normal in this location.\n    throw new Error('unimplemented opcode');\n  });\n  EXPRESSIONS.add(36\n  /* GetFreeAsHelperHeadOrThisFallback */, (op, expr$$1) => {\n    // <div id={{baz}}>\n    op(1010\n    /* ResolveLocal */, expr$$1[1], _name => {\n      op(1006\n      /* ResolveOptionalHelper */, expr$$1, {\n        ifHelper: handle => {\n          Call(op, handle, null, null);\n        },\n        ifFallback: (name, moduleName) => {\n          (true && !(false) && (0, _globalContext.deprecate)(`The \\`${name}\\` property was used in the \\`${moduleName}\\` template without using \\`this\\`. This fallback behavior has been deprecated, all properties must be looked up on \\`this\\` when used in the template: {{this.${name}}}`, false, {\n            id: 'this-property-fallback'\n          }));\n          op(21\n          /* GetVariable */, 0);\n          op(22\n          /* GetProperty */, name);\n        }\n      });\n    });\n  });\n  EXPRESSIONS.add(99\n  /* GetFreeAsDeprecatedHelperHeadOrThisFallback */, (op, expr$$1) => {\n    // <Foo @bar={{baz}}>\n    op(1010\n    /* ResolveLocal */, expr$$1[1], _name => {\n      op(1006\n      /* ResolveOptionalHelper */, expr$$1, {\n        ifHelper: (handle, name, moduleName) => {\n          (true && (0, _globalContext.assert)(expr$$1[2] && expr$$1[2].length === 1, '[BUG] Missing argument name'));\n          var arg = expr$$1[2][0];\n          (true && !(false) && (0, _globalContext.deprecate)(`The \\`${name}\\` helper was used in the \\`${moduleName}\\` template as \\`${arg}={{${name}}}\\`. ` + `This is ambigious between wanting the \\`${arg}\\` argument to be the \\`${name}\\` helper itself, ` + `or the result of invoking the \\`${name}\\` helper (current behavior). ` + `This implicit invocation behavior has been deprecated.\\n\\n` + `Instead, please explicitly invoke the helper with parenthesis, i.e. \\`${arg}={{(${name})}}\\`.\\n\\n` + `Note: the parenthesis are only required in this exact scenario where an ambiguity is present – where ` + `\\`${name}\\` referes to a global helper (as opposed to a local variable), AND ` + `the \\`${name}\\` helper invocation does not take any arguments, AND ` + `this occurs in a named argument position of a component invocation.\\n\\n` + `We expect this combination to be quite rare, as most helpers require at least one argument. ` + `There is no need to refactor helper invocations in cases where this deprecation was not triggered.`, false, {\n            id: 'argument-less-helper-paren-less-invocation'\n          }));\n          Call(op, handle, null, null);\n        },\n        ifFallback: (name, moduleName) => {\n          (true && !(false) && (0, _globalContext.deprecate)(`The \\`${name}\\` property was used in the \\`${moduleName}\\` template without using \\`this\\`. This fallback behavior has been deprecated, all properties must be looked up on \\`this\\` when used in the template: {{this.${name}}}`, false, {\n            id: 'this-property-fallback'\n          }));\n          op(21\n          /* GetVariable */, 0);\n          op(22\n          /* GetProperty */, name);\n        }\n      });\n    });\n  });\n  function withPath(op, path) {\n    if (path === undefined || path.length === 0) return;\n    for (var i = 0; i < path.length; i++) {\n      op(22\n      /* GetProperty */, path[i]);\n    }\n  }\n  EXPRESSIONS.add(27\n  /* Undefined */, op => PushPrimitiveReference(op, undefined));\n  EXPRESSIONS.add(48\n  /* HasBlock */, (op, [, block]) => {\n    expr(op, block);\n    op(25\n    /* HasBlock */);\n  });\n  EXPRESSIONS.add(49\n  /* HasBlockParams */, (op, [, block]) => {\n    expr(op, block);\n    op(24\n    /* SpreadBlock */);\n    op(61\n    /* CompileBlock */);\n    op(26\n    /* HasBlockParams */);\n  });\n  EXPRESSIONS.add(52\n  /* IfInline */, (op, [, condition, truthy, falsy]) => {\n    // Push in reverse order\n    expr(op, falsy);\n    expr(op, truthy);\n    expr(op, condition);\n    op(109\n    /* IfInline */);\n  });\n  EXPRESSIONS.add(51\n  /* Not */, (op, [, value]) => {\n    expr(op, value);\n    op(110\n    /* Not */);\n  });\n  EXPRESSIONS.add(53\n  /* GetDynamicVar */, (op, [, expression]) => {\n    expr(op, expression);\n    op(111\n    /* GetDynamicVar */);\n  });\n  EXPRESSIONS.add(54\n  /* Log */, (op, [, positional]) => {\n    op(0\n    /* PushFrame */);\n    SimpleArgs(op, positional, null, false);\n    op(112\n    /* Log */);\n    op(1\n    /* PopFrame */);\n    op(36\n    /* Fetch */, _vm.$v0);\n  });\n  function expr(op, expression) {\n    if (Array.isArray(expression)) {\n      EXPRESSIONS.compile(op, expression);\n    } else {\n      PushPrimitive(op, expression);\n      op(31\n      /* PrimitiveReference */);\n    }\n  }\n\n  /**\n   * Compile arguments, pushing an Arguments object onto the stack.\n   *\n   * @param args.params\n   * @param args.hash\n   * @param args.blocks\n   * @param args.atNames\n   */\n\n  function CompileArgs(op, positional, named, blocks, atNames) {\n    var blockNames = blocks.names;\n    for (var i = 0; i < blockNames.length; i++) {\n      PushYieldableBlock(op, blocks.get(blockNames[i]));\n    }\n    var count = CompilePositional(op, positional);\n    var flags = count << 4;\n    if (atNames) flags |= 0b1000;\n    if (blocks) {\n      flags |= 0b111;\n    }\n    var names = _util.EMPTY_ARRAY;\n    if (named) {\n      names = named[0];\n      var val = named[1];\n      for (var _i = 0; _i < val.length; _i++) {\n        expr(op, val[_i]);\n      }\n    }\n    op(82\n    /* PushArgs */, names, blockNames, flags);\n  }\n  function SimpleArgs(op, positional, named, atNames) {\n    if (positional === null && named === null) {\n      op(83\n      /* PushEmptyArgs */);\n      return;\n    }\n    var count = CompilePositional(op, positional);\n    var flags = count << 4;\n    if (atNames) flags |= 0b1000;\n    var names = _util.EMPTY_STRING_ARRAY;\n    if (named) {\n      names = named[0];\n      var val = named[1];\n      for (var i = 0; i < val.length; i++) {\n        expr(op, val[i]);\n      }\n    }\n    op(82\n    /* PushArgs */, names, _util.EMPTY_STRING_ARRAY, flags);\n  }\n  /**\n   * Compile an optional list of positional arguments, which pushes each argument\n   * onto the stack and returns the number of parameters compiled\n   *\n   * @param positional an optional list of positional arguments\n   */\n\n  function CompilePositional(op, positional) {\n    if (positional === null) return 0;\n    for (var i = 0; i < positional.length; i++) {\n      expr(op, positional[i]);\n    }\n    return positional.length;\n  }\n  function meta(layout) {\n    var _a, _b;\n    var [, symbols,, upvars] = layout.block;\n    return {\n      asPartial: layout.asPartial || false,\n      evalSymbols: evalSymbols(layout),\n      upvars: upvars,\n      scopeValues: (_b = (_a = layout.scope) === null || _a === void 0 ? void 0 : _a.call(layout)) !== null && _b !== void 0 ? _b : null,\n      isStrictMode: layout.isStrictMode,\n      moduleName: layout.moduleName,\n      owner: layout.owner,\n      size: symbols.length\n    };\n  }\n  function evalSymbols(layout) {\n    var {\n      block\n    } = layout;\n    var [, symbols, hasEval] = block;\n    return hasEval ? symbols : null;\n  }\n\n  /**\n   * Push a reference onto the stack corresponding to a statically known primitive\n   * @param value A JavaScript primitive (undefined, null, boolean, number or string)\n   */\n\n  function PushPrimitiveReference(op, value) {\n    PushPrimitive(op, value);\n    op(31\n    /* PrimitiveReference */);\n  }\n  /**\n   * Push an encoded representation of a JavaScript primitive on the stack\n   *\n   * @param value A JavaScript primitive (undefined, null, boolean, number or string)\n   */\n\n  function PushPrimitive(op, primitive) {\n    var p = primitive;\n    if (typeof p === 'number') {\n      p = (0, _util.isSmallInt)(p) ? (0, _util.encodeImmediate)(p) : nonSmallIntOperand(p);\n    }\n    op(30\n    /* Primitive */, p);\n  }\n  /**\n   * Invoke a foreign function (a \"helper\") based on a statically known handle\n   *\n   * @param op The op creation function\n   * @param handle A handle\n   * @param positional An optional list of expressions to compile\n   * @param named An optional list of named arguments (name + expression) to compile\n   */\n\n  function Call(op, handle, positional, named) {\n    op(0\n    /* PushFrame */);\n    SimpleArgs(op, positional, named, false);\n    op(16\n    /* Helper */, handle);\n    op(1\n    /* PopFrame */);\n    op(36\n    /* Fetch */, _vm.$v0);\n  }\n  /**\n   * Invoke a foreign function (a \"helper\") based on a dynamically loaded definition\n   *\n   * @param op The op creation function\n   * @param positional An optional list of expressions to compile\n   * @param named An optional list of named arguments (name + expression) to compile\n   */\n\n  function CallDynamic(op, positional, named, append) {\n    op(0\n    /* PushFrame */);\n    SimpleArgs(op, positional, named, false);\n    op(33\n    /* Dup */, _vm.$fp, 1);\n    op(107\n    /* DynamicHelper */);\n    if (append) {\n      op(36\n      /* Fetch */, _vm.$v0);\n      append();\n      op(1\n      /* PopFrame */);\n      op(34\n      /* Pop */, 1);\n    } else {\n      op(1\n      /* PopFrame */);\n      op(34\n      /* Pop */, 1);\n      op(36\n      /* Fetch */, _vm.$v0);\n    }\n  }\n  /**\n   * Evaluate statements in the context of new dynamic scope entries. Move entries from the\n   * stack into named entries in the dynamic scope, then evaluate the statements, then pop\n   * the dynamic scope\n   *\n   * @param names a list of dynamic scope names\n   * @param block a function that returns a list of statements to evaluate\n   */\n\n  function DynamicScope(op, names, block) {\n    op(59\n    /* PushDynamicScope */);\n    op(58\n    /* BindDynamicScope */, names);\n    block();\n    op(60\n    /* PopDynamicScope */);\n  }\n  function Curry(op, type, definition, positional, named) {\n    op(0\n    /* PushFrame */);\n    SimpleArgs(op, positional, named, false);\n    op(86\n    /* CaptureArgs */);\n    expr(op, definition);\n    op(77\n    /* Curry */, type, isStrictMode());\n    op(1\n    /* PopFrame */);\n    op(36\n    /* Fetch */, _vm.$v0);\n  }\n\n  /**\n   * Yield to a block located at a particular symbol location.\n   *\n   * @param to the symbol containing the block to yield to\n   * @param params optional block parameters to yield to the block\n   */\n\n  function YieldBlock(op, to, positional) {\n    SimpleArgs(op, positional, null, true);\n    op(23\n    /* GetBlock */, to);\n    op(24\n    /* SpreadBlock */);\n    op(61\n    /* CompileBlock */);\n    op(64\n    /* InvokeYield */);\n    op(40\n    /* PopScope */);\n    op(1\n    /* PopFrame */);\n  }\n  /**\n   * Push an (optional) yieldable block onto the stack. The yieldable block must be known\n   * statically at compile time.\n   *\n   * @param block An optional Compilable block\n   */\n\n  function PushYieldableBlock(op, block) {\n    PushSymbolTable(op, block && block[1]);\n    op(62\n    /* PushBlockScope */);\n    PushCompilable(op, block);\n  }\n  /**\n   * Invoke a block that is known statically at compile time.\n   *\n   * @param block a Compilable block\n   */\n\n  function InvokeStaticBlock(op, block) {\n    op(0\n    /* PushFrame */);\n    PushCompilable(op, block);\n    op(61\n    /* CompileBlock */);\n    op(2\n    /* InvokeVirtual */);\n    op(1\n    /* PopFrame */);\n  }\n  /**\n   * Invoke a static block, preserving some number of stack entries for use in\n   * updating.\n   *\n   * @param block A compilable block\n   * @param callerCount A number of stack entries to preserve\n   */\n\n  function InvokeStaticBlockWithStack(op, block, callerCount) {\n    var parameters = block[1];\n    var calleeCount = parameters.length;\n    var count = Math.min(callerCount, calleeCount);\n    if (count === 0) {\n      InvokeStaticBlock(op, block);\n      return;\n    }\n    op(0\n    /* PushFrame */);\n    if (count) {\n      op(39\n      /* ChildScope */);\n      for (var i = 0; i < count; i++) {\n        op(33\n        /* Dup */, _vm.$fp, callerCount - i);\n        op(19\n        /* SetVariable */, parameters[i]);\n      }\n    }\n    PushCompilable(op, block);\n    op(61\n    /* CompileBlock */);\n    op(2\n    /* InvokeVirtual */);\n    if (count) {\n      op(40\n      /* PopScope */);\n    }\n    op(1\n    /* PopFrame */);\n  }\n  function PushSymbolTable(op, parameters) {\n    if (parameters !== null) {\n      op(63\n      /* PushSymbolTable */, symbolTableOperand({\n        parameters\n      }));\n    } else {\n      PushPrimitive(op, null);\n    }\n  }\n  function PushCompilable(op, _block) {\n    if (_block === null) {\n      PushPrimitive(op, null);\n    } else {\n      op(28\n      /* Constant */, blockOperand(_block));\n    }\n  }\n  function SwitchCases(op, bootstrap, callback) {\n    // Setup the switch DSL\n    var clauses = [];\n    var count = 0;\n    function when(match, callback) {\n      clauses.push({\n        match,\n        callback,\n        label: `CLAUSE${count++}`\n      });\n    } // Call the callback\n\n    callback(when); // Emit the opcodes for the switch\n\n    op(69\n    /* Enter */, 1);\n    bootstrap();\n    op(1001\n    /* StartLabels */); // First, emit the jump opcodes. We don't need a jump for the last\n    // opcode, since it bleeds directly into its clause.\n\n    for (var clause of clauses.slice(0, -1)) {\n      op(67\n      /* JumpEq */, labelOperand(clause.label), clause.match);\n    } // Enumerate the clauses in reverse order. Earlier matches will\n    // require fewer checks.\n\n    for (var i = clauses.length - 1; i >= 0; i--) {\n      var _clause = clauses[i];\n      op(1000\n      /* Label */, _clause.label);\n      op(34\n      /* Pop */, 1);\n      _clause.callback(); // The first match is special: it is placed directly before the END\n      // label, so no additional jump is needed at the end of it.\n\n      if (i !== 0) {\n        op(4\n        /* Jump */, labelOperand('END'));\n      }\n    }\n    op(1000\n    /* Label */, 'END');\n    op(1002\n    /* StopLabels */);\n    op(70\n    /* Exit */);\n  }\n  /**\n   * A convenience for pushing some arguments on the stack and\n   * running some code if the code needs to be re-executed during\n   * updating execution if some of the arguments have changed.\n   *\n   * # Initial Execution\n   *\n   * The `args` function should push zero or more arguments onto\n   * the stack and return the number of arguments pushed.\n   *\n   * The `body` function provides the instructions to execute both\n   * during initial execution and during updating execution.\n   *\n   * Internally, this function starts by pushing a new frame, so\n   * that the body can return and sets the return point ($ra) to\n   * the ENDINITIAL label.\n   *\n   * It then executes the `args` function, which adds instructions\n   * responsible for pushing the arguments for the block to the\n   * stack. These arguments will be restored to the stack before\n   * updating execution.\n   *\n   * Next, it adds the Enter opcode, which marks the current position\n   * in the DOM, and remembers the current $pc (the next instruction)\n   * as the first instruction to execute during updating execution.\n   *\n   * Next, it runs `body`, which adds the opcodes that should\n   * execute both during initial execution and during updating execution.\n   * If the `body` wishes to finish early, it should Jump to the\n   * `FINALLY` label.\n   *\n   * Next, it adds the FINALLY label, followed by:\n   *\n   * - the Exit opcode, which finalizes the marked DOM started by the\n   *   Enter opcode.\n   * - the Return opcode, which returns to the current return point\n   *   ($ra).\n   *\n   * Finally, it adds the ENDINITIAL label followed by the PopFrame\n   * instruction, which restores $fp, $sp and $ra.\n   *\n   * # Updating Execution\n   *\n   * Updating execution for this `replayable` occurs if the `body` added an\n   * assertion, via one of the `JumpIf`, `JumpUnless` or `AssertSame` opcodes.\n   *\n   * If, during updating executon, the assertion fails, the initial VM is\n   * restored, and the stored arguments are pushed onto the stack. The DOM\n   * between the starting and ending markers is cleared, and the VM's cursor\n   * is set to the area just cleared.\n   *\n   * The return point ($ra) is set to -1, the exit instruction.\n   *\n   * Finally, the $pc is set to to the instruction saved off by the\n   * Enter opcode during initial execution, and execution proceeds as\n   * usual.\n   *\n   * The only difference is that when a `Return` instruction is\n   * encountered, the program jumps to -1 rather than the END label,\n   * and the PopFrame opcode is not needed.\n   */\n\n  function Replayable(op, args, body) {\n    // Start a new label frame, to give END and RETURN\n    // a unique meaning.\n    op(1001\n    /* StartLabels */);\n    op(0\n    /* PushFrame */); // If the body invokes a block, its return will return to\n    // END. Otherwise, the return in RETURN will return to END.\n\n    op(6\n    /* ReturnTo */, labelOperand('ENDINITIAL')); // Push the arguments onto the stack. The args() function\n    // tells us how many stack elements to retain for re-execution\n    // when updating.\n\n    var count = args(); // Start a new updating closure, remembering `count` elements\n    // from the stack. Everything after this point, and before END,\n    // will execute both initially and to update the block.\n    //\n    // The enter and exit opcodes also track the area of the DOM\n    // associated with this block. If an assertion inside the block\n    // fails (for example, the test value changes from true to false\n    // in an #if), the DOM is cleared and the program is re-executed,\n    // restoring `count` elements to the stack and executing the\n    // instructions between the enter and exit.\n\n    op(69\n    /* Enter */, count); // Evaluate the body of the block. The body of the block may\n    // return, which will jump execution to END during initial\n    // execution, and exit the updating routine.\n\n    body(); // All execution paths in the body should run the FINALLY once\n    // they are done. It is executed both during initial execution\n    // and during updating execution.\n\n    op(1000\n    /* Label */, 'FINALLY'); // Finalize the DOM.\n\n    op(70\n    /* Exit */); // In initial execution, this is a noop: it returns to the\n    // immediately following opcode. In updating execution, this\n    // exits the updating routine.\n\n    op(5\n    /* Return */); // Cleanup code for the block. Runs on initial execution\n    // but not on updating.\n\n    op(1000\n    /* Label */, 'ENDINITIAL');\n    op(1\n    /* PopFrame */);\n    op(1002\n    /* StopLabels */);\n  }\n  /**\n   * A specialized version of the `replayable` convenience that allows the\n   * caller to provide different code based upon whether the item at\n   * the top of the stack is true or false.\n   *\n   * As in `replayable`, the `ifTrue` and `ifFalse` code can invoke `return`.\n   *\n   * During the initial execution, a `return` will continue execution\n   * in the cleanup code, which finalizes the current DOM block and pops\n   * the current frame.\n   *\n   * During the updating execution, a `return` will exit the updating\n   * routine, as it can reuse the DOM block and is always only a single\n   * frame deep.\n   */\n\n  function ReplayableIf(op, args, ifTrue, ifFalse) {\n    return Replayable(op, args, () => {\n      // If the conditional is false, jump to the ELSE label.\n      op(66\n      /* JumpUnless */, labelOperand('ELSE')); // Otherwise, execute the code associated with the true branch.\n\n      ifTrue(); // We're done, so return. In the initial execution, this runs\n      // the cleanup code. In the updating VM, it exits the updating\n      // routine.\n\n      op(4\n      /* Jump */, labelOperand('FINALLY'));\n      op(1000\n      /* Label */, 'ELSE'); // If the conditional is false, and code associatied ith the\n      // false branch was provided, execute it. If there was no code\n      // associated with the false branch, jumping to the else statement\n      // has no other behavior.\n\n      if (ifFalse !== undefined) {\n        ifFalse();\n      }\n    });\n  }\n  var ATTRS_BLOCK = '&attrs';\n  function InvokeComponent(op, component, _elementBlock, positional, named, _blocks) {\n    var {\n      compilable,\n      capabilities,\n      handle\n    } = component;\n    var elementBlock = _elementBlock ? [_elementBlock, []] : null;\n    var blocks = Array.isArray(_blocks) || _blocks === null ? namedBlocks(_blocks) : _blocks;\n    if (compilable) {\n      op(78\n      /* PushComponentDefinition */, handle);\n      InvokeStaticComponent(op, {\n        capabilities: capabilities,\n        layout: compilable,\n        elementBlock,\n        positional,\n        named,\n        blocks\n      });\n    } else {\n      op(78\n      /* PushComponentDefinition */, handle);\n      InvokeNonStaticComponent(op, {\n        capabilities: capabilities,\n        elementBlock,\n        positional,\n        named,\n        atNames: true,\n        blocks\n      });\n    }\n  }\n  function InvokeDynamicComponent(op, definition, _elementBlock, positional, named, _blocks, atNames, curried) {\n    var elementBlock = _elementBlock ? [_elementBlock, []] : null;\n    var blocks = Array.isArray(_blocks) || _blocks === null ? namedBlocks(_blocks) : _blocks;\n    Replayable(op, () => {\n      expr(op, definition);\n      op(33\n      /* Dup */, _vm.$sp, 0);\n      return 2;\n    }, () => {\n      op(66\n      /* JumpUnless */, labelOperand('ELSE'));\n      if (curried) {\n        op(81\n        /* ResolveCurriedComponent */);\n      } else {\n        op(80\n        /* ResolveDynamicComponent */, isStrictMode());\n      }\n      op(79\n      /* PushDynamicComponentInstance */);\n      InvokeNonStaticComponent(op, {\n        capabilities: true,\n        elementBlock,\n        positional,\n        named,\n        atNames,\n        blocks\n      });\n      op(1000\n      /* Label */, 'ELSE');\n    });\n  }\n  function InvokeStaticComponent(op, {\n    capabilities,\n    layout,\n    elementBlock,\n    positional,\n    named,\n    blocks\n  }) {\n    var {\n      symbolTable\n    } = layout;\n    var bailOut = symbolTable.hasEval || (0, _manager.hasCapability)(capabilities, 4\n    /* PrepareArgs */);\n    if (bailOut) {\n      InvokeNonStaticComponent(op, {\n        capabilities,\n        elementBlock,\n        positional,\n        named,\n        atNames: true,\n        blocks,\n        layout\n      });\n      return;\n    }\n    op(36\n    /* Fetch */, _vm.$s0);\n    op(33\n    /* Dup */, _vm.$sp, 1);\n    op(35\n    /* Load */, _vm.$s0);\n    op(0\n    /* PushFrame */); // Setup arguments\n\n    var {\n      symbols\n    } = symbolTable; // As we push values onto the stack, we store the symbols associated  with them\n    // so that we can set them on the scope later on with SetVariable and SetBlock\n\n    var blockSymbols = [];\n    var argSymbols = [];\n    var argNames = []; // First we push the blocks onto the stack\n\n    var blockNames = blocks.names; // Starting with the attrs block, if it exists and is referenced in the component\n\n    if (elementBlock !== null) {\n      var symbol = symbols.indexOf(ATTRS_BLOCK);\n      if (symbol !== -1) {\n        PushYieldableBlock(op, elementBlock);\n        blockSymbols.push(symbol);\n      }\n    } // Followed by the other blocks, if they exist and are referenced in the component.\n    // Also store the index of the associated symbol.\n\n    for (var i = 0; i < blockNames.length; i++) {\n      var name = blockNames[i];\n      var _symbol = symbols.indexOf(`&${name}`);\n      if (_symbol !== -1) {\n        PushYieldableBlock(op, blocks.get(name));\n        blockSymbols.push(_symbol);\n      }\n    } // Next up we have arguments. If the component has the `createArgs` capability,\n    // then it wants access to the arguments in JavaScript. We can't know whether\n    // or not an argument is used, so we have to give access to all of them.\n\n    if ((0, _manager.hasCapability)(capabilities, 8\n    /* CreateArgs */)) {\n      // First we push positional arguments\n      var count = CompilePositional(op, positional); // setup the flags with the count of positionals, and to indicate that atNames\n      // are used\n\n      var flags = count << 4;\n      flags |= 0b1000;\n      var names = _util.EMPTY_STRING_ARRAY; // Next, if named args exist, push them all. If they have an associated symbol\n      // in the invoked component (e.g. they are used within its template), we push\n      // that symbol. If not, we still push the expression as it may be used, and\n      // we store the symbol as -1 (this is used later).\n\n      if (named !== null) {\n        names = named[0];\n        var val = named[1];\n        for (var _i2 = 0; _i2 < val.length; _i2++) {\n          var _symbol2 = symbols.indexOf(names[_i2]);\n          expr(op, val[_i2]);\n          argSymbols.push(_symbol2);\n        }\n      } // Finally, push the VM arguments themselves. These args won't need access\n      // to blocks (they aren't accessible from userland anyways), so we push an\n      // empty array instead of the actual block names.\n\n      op(82\n      /* PushArgs */, names, _util.EMPTY_STRING_ARRAY, flags); // And push an extra pop operation to remove the args before we begin setting\n      // variables on the local context\n\n      argSymbols.push(-1);\n    } else if (named !== null) {\n      // If the component does not have the `createArgs` capability, then the only\n      // expressions we need to push onto the stack are those that are actually\n      // referenced in the template of the invoked component (e.g. have symbols).\n      var _names = named[0];\n      var _val = named[1];\n      for (var _i3 = 0; _i3 < _val.length; _i3++) {\n        var _name3 = _names[_i3];\n        var _symbol3 = symbols.indexOf(_name3);\n        if (_symbol3 !== -1) {\n          expr(op, _val[_i3]);\n          argSymbols.push(_symbol3);\n          argNames.push(_name3);\n        }\n      }\n    }\n    op(97\n    /* BeginComponentTransaction */, _vm.$s0);\n    if ((0, _manager.hasCapability)(capabilities, 64\n    /* DynamicScope */)) {\n      op(59\n      /* PushDynamicScope */);\n    }\n    if ((0, _manager.hasCapability)(capabilities, 512\n    /* CreateInstance */)) {\n      op(87\n      /* CreateComponent */, blocks.has('default') | 0, _vm.$s0);\n    }\n    op(88\n    /* RegisterComponentDestructor */, _vm.$s0);\n    if ((0, _manager.hasCapability)(capabilities, 8\n    /* CreateArgs */)) {\n      op(90\n      /* GetComponentSelf */, _vm.$s0);\n    } else {\n      op(90\n      /* GetComponentSelf */, _vm.$s0, argNames);\n    } // Setup the new root scope for the component\n\n    op(37\n    /* RootScope */, symbols.length + 1, Object.keys(blocks).length > 0 ? 1 : 0); // Pop the self reference off the stack and set it to the symbol for `this`\n    // in the new scope. This is why all subsequent symbols are increased by one.\n\n    op(19\n    /* SetVariable */, 0); // Going in reverse, now we pop the args/blocks off the stack, starting with\n    // arguments, and assign them to their symbols in the new scope.\n\n    for (var _i4 = argSymbols.length - 1; _i4 >= 0; _i4--) {\n      var _symbol4 = argSymbols[_i4];\n      if (_symbol4 === -1) {\n        // The expression was not bound to a local symbol, it was only pushed to be\n        // used with VM args in the javascript side\n        op(34\n        /* Pop */, 1);\n      } else {\n        op(19\n        /* SetVariable */, _symbol4 + 1);\n      }\n    } // if any positional params exist, pop them off the stack as well\n\n    if (positional !== null) {\n      op(34\n      /* Pop */, positional.length);\n    } // Finish up by popping off and assigning blocks\n\n    for (var _i5 = blockSymbols.length - 1; _i5 >= 0; _i5--) {\n      var _symbol5 = blockSymbols[_i5];\n      op(20\n      /* SetBlock */, _symbol5 + 1);\n    }\n    op(28\n    /* Constant */, layoutOperand(layout));\n    op(61\n    /* CompileBlock */);\n    op(2\n    /* InvokeVirtual */);\n    op(100\n    /* DidRenderLayout */, _vm.$s0);\n    op(1\n    /* PopFrame */);\n    op(40\n    /* PopScope */);\n    if ((0, _manager.hasCapability)(capabilities, 64\n    /* DynamicScope */)) {\n      op(60\n      /* PopDynamicScope */);\n    }\n    op(98\n    /* CommitComponentTransaction */);\n    op(35\n    /* Load */, _vm.$s0);\n  }\n  function InvokeNonStaticComponent(op, {\n    capabilities,\n    elementBlock,\n    positional,\n    named,\n    atNames,\n    blocks: namedBlocks$$1,\n    layout\n  }) {\n    var bindableBlocks = !!namedBlocks$$1;\n    var bindableAtNames = capabilities === true || (0, _manager.hasCapability)(capabilities, 4\n    /* PrepareArgs */) || !!(named && named[0].length !== 0);\n    var blocks = namedBlocks$$1.with('attrs', elementBlock);\n    op(36\n    /* Fetch */, _vm.$s0);\n    op(33\n    /* Dup */, _vm.$sp, 1);\n    op(35\n    /* Load */, _vm.$s0);\n    op(0\n    /* PushFrame */);\n    CompileArgs(op, positional, named, blocks, atNames);\n    op(85\n    /* PrepareArgs */, _vm.$s0);\n    invokePreparedComponent(op, blocks.has('default'), bindableBlocks, bindableAtNames, () => {\n      if (layout) {\n        op(63\n        /* PushSymbolTable */, symbolTableOperand(layout.symbolTable));\n        op(28\n        /* Constant */, layoutOperand(layout));\n        op(61\n        /* CompileBlock */);\n      } else {\n        op(92\n        /* GetComponentLayout */, _vm.$s0);\n      }\n      op(95\n      /* PopulateLayout */, _vm.$s0);\n    });\n    op(35\n    /* Load */, _vm.$s0);\n  }\n  function WrappedComponent(op, layout, attrsBlockNumber) {\n    op(1001\n    /* StartLabels */);\n    WithSavedRegister(op, _vm.$s1, () => {\n      op(91\n      /* GetComponentTagName */, _vm.$s0);\n      op(31\n      /* PrimitiveReference */);\n      op(33\n      /* Dup */, _vm.$sp, 0);\n    });\n    op(66\n    /* JumpUnless */, labelOperand('BODY'));\n    op(36\n    /* Fetch */, _vm.$s1);\n    op(89\n    /* PutComponentOperations */);\n    op(49\n    /* OpenDynamicElement */);\n    op(99\n    /* DidCreateElement */, _vm.$s0);\n    YieldBlock(op, attrsBlockNumber, null);\n    op(54\n    /* FlushElement */);\n    op(1000\n    /* Label */, 'BODY');\n    InvokeStaticBlock(op, [layout.block[0], []]);\n    op(36\n    /* Fetch */, _vm.$s1);\n    op(66\n    /* JumpUnless */, labelOperand('END'));\n    op(55\n    /* CloseElement */);\n    op(1000\n    /* Label */, 'END');\n    op(35\n    /* Load */, _vm.$s1);\n    op(1002\n    /* StopLabels */);\n  }\n  function invokePreparedComponent(op, hasBlock, bindableBlocks, bindableAtNames, populateLayout = null) {\n    op(97\n    /* BeginComponentTransaction */, _vm.$s0);\n    op(59\n    /* PushDynamicScope */);\n    op(87\n    /* CreateComponent */, hasBlock | 0, _vm.$s0); // this has to run after createComponent to allow\n    // for late-bound layouts, but a caller is free\n    // to populate the layout earlier if it wants to\n    // and do nothing here.\n\n    if (populateLayout) {\n      populateLayout();\n    }\n    op(88\n    /* RegisterComponentDestructor */, _vm.$s0);\n    op(90\n    /* GetComponentSelf */, _vm.$s0);\n    op(38\n    /* VirtualRootScope */, _vm.$s0);\n    op(19\n    /* SetVariable */, 0);\n    op(94\n    /* SetupForEval */, _vm.$s0);\n    if (bindableAtNames) op(17\n    /* SetNamedVariables */, _vm.$s0);\n    if (bindableBlocks) op(18\n    /* SetBlocks */, _vm.$s0);\n    op(34\n    /* Pop */, 1);\n    op(96\n    /* InvokeComponentLayout */, _vm.$s0);\n    op(100\n    /* DidRenderLayout */, _vm.$s0);\n    op(1\n    /* PopFrame */);\n    op(40\n    /* PopScope */);\n    op(60\n    /* PopDynamicScope */);\n    op(98\n    /* CommitComponentTransaction */);\n  }\n  function InvokeBareComponent(op) {\n    op(36\n    /* Fetch */, _vm.$s0);\n    op(33\n    /* Dup */, _vm.$sp, 1);\n    op(35\n    /* Load */, _vm.$s0);\n    op(0\n    /* PushFrame */);\n    op(83\n    /* PushEmptyArgs */);\n    op(85\n    /* PrepareArgs */, _vm.$s0);\n    invokePreparedComponent(op, false, false, true, () => {\n      op(92\n      /* GetComponentLayout */, _vm.$s0);\n      op(95\n      /* PopulateLayout */, _vm.$s0);\n    });\n    op(35\n    /* Load */, _vm.$s0);\n  }\n  function WithSavedRegister(op, register, block) {\n    op(36\n    /* Fetch */, register);\n    block();\n    op(35\n    /* Load */, register);\n  }\n  class StdLib {\n    constructor(main, trustingGuardedAppend, cautiousGuardedAppend, trustingNonDynamicAppend, cautiousNonDynamicAppend) {\n      this.main = main;\n      this.trustingGuardedAppend = trustingGuardedAppend;\n      this.cautiousGuardedAppend = cautiousGuardedAppend;\n      this.trustingNonDynamicAppend = trustingNonDynamicAppend;\n      this.cautiousNonDynamicAppend = cautiousNonDynamicAppend;\n    }\n    get 'trusting-append'() {\n      return this.trustingGuardedAppend;\n    }\n    get 'cautious-append'() {\n      return this.cautiousGuardedAppend;\n    }\n    get 'trusting-non-dynamic-append'() {\n      return this.trustingNonDynamicAppend;\n    }\n    get 'cautious-non-dynamic-append'() {\n      return this.cautiousNonDynamicAppend;\n    }\n    getAppend(trusting) {\n      return trusting ? this.trustingGuardedAppend : this.cautiousGuardedAppend;\n    }\n  }\n  _exports.StdLib = StdLib;\n  function programCompilationContext(artifacts, resolver) {\n    return new CompileTimeCompilationContextImpl(artifacts, resolver);\n  }\n  function templateCompilationContext(program, meta) {\n    var encoder = new EncoderImpl(program.heap, meta, program.stdlib);\n    return {\n      program,\n      encoder,\n      meta\n    };\n  }\n  var debugCompiler;\n  var STATEMENTS = new Compilers();\n  var INFLATE_ATTR_TABLE = ['class', 'id', 'value', 'name', 'type', 'style', 'href'];\n  var INFLATE_TAG_TABLE = ['div', 'span', 'p', 'a'];\n  function inflateTagName(tagName) {\n    return typeof tagName === 'string' ? tagName : INFLATE_TAG_TABLE[tagName];\n  }\n  function inflateAttrName(attrName) {\n    return typeof attrName === 'string' ? attrName : INFLATE_ATTR_TABLE[attrName];\n  }\n  STATEMENTS.add(3\n  /* Comment */, (op, sexp) => op(42\n  /* Comment */, sexp[1]));\n  STATEMENTS.add(13\n  /* CloseElement */, op => op(55\n  /* CloseElement */));\n  STATEMENTS.add(12\n  /* FlushElement */, op => op(54\n  /* FlushElement */));\n  STATEMENTS.add(4\n  /* Modifier */, (op, [, expression, positional, named]) => {\n    if (isGetFreeModifier(expression)) {\n      op(1003\n      /* ResolveModifier */, expression, handle => {\n        op(0\n        /* PushFrame */);\n        SimpleArgs(op, positional, named, false);\n        op(57\n        /* Modifier */, handle);\n        op(1\n        /* PopFrame */);\n      });\n    } else {\n      expr(op, expression);\n      op(0\n      /* PushFrame */);\n      SimpleArgs(op, positional, named, false);\n      op(33\n      /* Dup */, _vm.$fp, 1);\n      op(108\n      /* DynamicModifier */);\n      op(1\n      /* PopFrame */);\n    }\n  });\n  STATEMENTS.add(14\n  /* StaticAttr */, (op, [, name, value, namespace]) => {\n    op(51\n    /* StaticAttr */, inflateAttrName(name), value, namespace !== null && namespace !== void 0 ? namespace : null);\n  });\n  STATEMENTS.add(24\n  /* StaticComponentAttr */, (op, [, name, value, namespace]) => {\n    op(105\n    /* StaticComponentAttr */, inflateAttrName(name), value, namespace !== null && namespace !== void 0 ? namespace : null);\n  });\n  STATEMENTS.add(15\n  /* DynamicAttr */, (op, [, name, value, namespace]) => {\n    expr(op, value);\n    op(52\n    /* DynamicAttr */, inflateAttrName(name), false, namespace !== null && namespace !== void 0 ? namespace : null);\n  });\n  STATEMENTS.add(22\n  /* TrustingDynamicAttr */, (op, [, name, value, namespace]) => {\n    expr(op, value);\n    op(52\n    /* DynamicAttr */, inflateAttrName(name), true, namespace !== null && namespace !== void 0 ? namespace : null);\n  });\n  STATEMENTS.add(16\n  /* ComponentAttr */, (op, [, name, value, namespace]) => {\n    expr(op, value);\n    op(53\n    /* ComponentAttr */, inflateAttrName(name), false, namespace !== null && namespace !== void 0 ? namespace : null);\n  });\n  STATEMENTS.add(23\n  /* TrustingComponentAttr */, (op, [, name, value, namespace]) => {\n    expr(op, value);\n    op(53\n    /* ComponentAttr */, inflateAttrName(name), true, namespace !== null && namespace !== void 0 ? namespace : null);\n  });\n  STATEMENTS.add(10\n  /* OpenElement */, (op, [, tag]) => {\n    op(48\n    /* OpenElement */, inflateTagName(tag));\n  });\n  STATEMENTS.add(11\n  /* OpenElementWithSplat */, (op, [, tag]) => {\n    op(89\n    /* PutComponentOperations */);\n    op(48\n    /* OpenElement */, inflateTagName(tag));\n  });\n  STATEMENTS.add(8\n  /* Component */, (op, [, expr$$1, elementBlock, named, blocks]) => {\n    if (isGetFreeComponent(expr$$1)) {\n      op(1004\n      /* ResolveComponent */, expr$$1, component => {\n        InvokeComponent(op, component, elementBlock, null, named, blocks);\n      });\n    } else {\n      // otherwise, the component name was an expression, so resolve the expression\n      // and invoke it as a dynamic component\n      InvokeDynamicComponent(op, expr$$1, elementBlock, null, named, blocks, true, true);\n    }\n  });\n  STATEMENTS.add(19\n  /* Partial */, (op, [, name, evalInfo]) => {\n    ReplayableIf(op, () => {\n      expr(op, name);\n      op(33\n      /* Dup */, _vm.$sp, 0);\n      return 2;\n    }, () => {\n      op(101\n      /* InvokePartial */, evalSymbolsOperand(), evalInfo);\n      op(40\n      /* PopScope */);\n      op(1\n      /* PopFrame */);\n    });\n  });\n  STATEMENTS.add(18\n  /* Yield */, (op, [, to, params]) => YieldBlock(op, to, params));\n  STATEMENTS.add(17\n  /* AttrSplat */, (op, [, to]) => YieldBlock(op, to, null));\n  STATEMENTS.add(26\n  /* Debugger */, (op, [, evalInfo]) => op(103\n  /* Debugger */, evalSymbolsOperand(), evalInfo));\n  STATEMENTS.add(1\n  /* Append */, (op, [, value]) => {\n    // Special case for static values\n    if (!Array.isArray(value)) {\n      op(41\n      /* Text */, value === null || value === undefined ? '' : String(value));\n    } else if (isGetFreeOptionalComponentOrHelper(value)) {\n      op(1008\n      /* ResolveOptionalComponentOrHelper */, value, {\n        ifComponent(component) {\n          InvokeComponent(op, component, null, null, null, null);\n        },\n        ifHelper(handle) {\n          op(0\n          /* PushFrame */);\n          Call(op, handle, null, null);\n          op(3\n          /* InvokeStatic */, stdlibOperand('cautious-non-dynamic-append'));\n          op(1\n          /* PopFrame */);\n        },\n        ifValue(handle) {\n          op(0\n          /* PushFrame */);\n          op(29\n          /* ConstantReference */, handle);\n          op(3\n          /* InvokeStatic */, stdlibOperand('cautious-non-dynamic-append'));\n          op(1\n          /* PopFrame */);\n        },\n        ifFallback(_name) {\n          op(0\n          /* PushFrame */);\n          op(1010\n          /* ResolveLocal */, value[1], (name, moduleName) => {\n            (true && !(false) && (0, _globalContext.deprecate)(`The \\`${name}\\` property was used in the \\`${moduleName}\\` template without using \\`this\\`. This fallback behavior has been deprecated, all properties must be looked up on \\`this\\` when used in the template: {{this.${name}}}`, false, {\n              id: 'this-property-fallback'\n            }));\n            op(21\n            /* GetVariable */, 0);\n            op(22\n            /* GetProperty */, name);\n          });\n          op(3\n          /* InvokeStatic */, stdlibOperand('cautious-append'));\n          op(1\n          /* PopFrame */);\n        }\n      });\n    } else if (value[0] === 28\n    /* Call */) {\n      var [, expression, positional, named] = value;\n      if (isGetFreeComponentOrHelper(expression)) {\n        op(1007\n        /* ResolveComponentOrHelper */, expression, {\n          ifComponent(component) {\n            InvokeComponent(op, component, null, positional, hashToArgs(named), null);\n          },\n          ifHelper(handle) {\n            op(0\n            /* PushFrame */);\n            Call(op, handle, positional, named);\n            op(3\n            /* InvokeStatic */, stdlibOperand('cautious-non-dynamic-append'));\n            op(1\n            /* PopFrame */);\n          }\n        });\n      } else {\n        SwitchCases(op, () => {\n          expr(op, expression);\n          op(106\n          /* DynamicContentType */);\n        }, when => {\n          when(0\n          /* Component */, () => {\n            op(81\n            /* ResolveCurriedComponent */);\n            op(79\n            /* PushDynamicComponentInstance */);\n            InvokeNonStaticComponent(op, {\n              capabilities: true,\n              elementBlock: null,\n              positional,\n              named,\n              atNames: false,\n              blocks: namedBlocks(null)\n            });\n          });\n          when(1\n          /* Helper */, () => {\n            CallDynamic(op, positional, named, () => {\n              op(3\n              /* InvokeStatic */, stdlibOperand('cautious-non-dynamic-append'));\n            });\n          });\n        });\n      }\n    } else {\n      op(0\n      /* PushFrame */);\n      expr(op, value);\n      op(3\n      /* InvokeStatic */, stdlibOperand('cautious-append'));\n      op(1\n      /* PopFrame */);\n    }\n  });\n  STATEMENTS.add(2\n  /* TrustingAppend */, (op, [, value]) => {\n    if (!Array.isArray(value)) {\n      op(41\n      /* Text */, value === null || value === undefined ? '' : String(value));\n    } else {\n      op(0\n      /* PushFrame */);\n      expr(op, value);\n      op(3\n      /* InvokeStatic */, stdlibOperand('trusting-append'));\n      op(1\n      /* PopFrame */);\n    }\n  });\n  STATEMENTS.add(6\n  /* Block */, (op, [, expr$$1, positional, named, blocks]) => {\n    if (isGetFreeComponent(expr$$1)) {\n      op(1004\n      /* ResolveComponent */, expr$$1, component => {\n        InvokeComponent(op, component, null, positional, hashToArgs(named), blocks);\n      });\n    } else {\n      InvokeDynamicComponent(op, expr$$1, null, positional, named, blocks, false, false);\n    }\n  });\n  STATEMENTS.add(40\n  /* InElement */, (op, [, block, guid, destination, insertBefore]) => {\n    ReplayableIf(op, () => {\n      expr(op, guid);\n      if (insertBefore === undefined) {\n        PushPrimitiveReference(op, undefined);\n      } else {\n        expr(op, insertBefore);\n      }\n      expr(op, destination);\n      op(33\n      /* Dup */, _vm.$sp, 0);\n      return 4;\n    }, () => {\n      op(50\n      /* PushRemoteElement */);\n      InvokeStaticBlock(op, block);\n      op(56\n      /* PopRemoteElement */);\n    });\n  });\n  STATEMENTS.add(41\n  /* If */, (op, [, condition, block, inverse]) => ReplayableIf(op, () => {\n    expr(op, condition);\n    op(71\n    /* ToBoolean */);\n    return 1;\n  }, () => {\n    InvokeStaticBlock(op, block);\n  }, inverse ? () => {\n    InvokeStaticBlock(op, inverse);\n  } : undefined));\n  STATEMENTS.add(42\n  /* Each */, (op, [, value, key, block, inverse]) => Replayable(op, () => {\n    if (key) {\n      expr(op, key);\n    } else {\n      PushPrimitiveReference(op, null);\n    }\n    expr(op, value);\n    return 2;\n  }, () => {\n    op(72\n    /* EnterList */, labelOperand('BODY'), labelOperand('ELSE'));\n    op(0\n    /* PushFrame */);\n    op(33\n    /* Dup */, _vm.$fp, 1);\n    op(6\n    /* ReturnTo */, labelOperand('ITER'));\n    op(1000\n    /* Label */, 'ITER');\n    op(74\n    /* Iterate */, labelOperand('BREAK'));\n    op(1000\n    /* Label */, 'BODY');\n    InvokeStaticBlockWithStack(op, block, 2);\n    op(34\n    /* Pop */, 2);\n    op(4\n    /* Jump */, labelOperand('FINALLY'));\n    op(1000\n    /* Label */, 'BREAK');\n    op(1\n    /* PopFrame */);\n    op(73\n    /* ExitList */);\n    op(4\n    /* Jump */, labelOperand('FINALLY'));\n    op(1000\n    /* Label */, 'ELSE');\n    if (inverse) {\n      InvokeStaticBlock(op, inverse);\n    }\n  }));\n  STATEMENTS.add(43\n  /* With */, (op, [, value, block, inverse]) => {\n    ReplayableIf(op, () => {\n      expr(op, value);\n      op(33\n      /* Dup */, _vm.$sp, 0);\n      op(71\n      /* ToBoolean */);\n      return 2;\n    }, () => {\n      InvokeStaticBlockWithStack(op, block, 1);\n    }, () => {\n      if (inverse) {\n        InvokeStaticBlock(op, inverse);\n      }\n    });\n  });\n  STATEMENTS.add(44\n  /* Let */, (op, [, positional, block]) => {\n    var count = CompilePositional(op, positional);\n    InvokeStaticBlockWithStack(op, block, count);\n  });\n  STATEMENTS.add(45\n  /* WithDynamicVars */, (op, [, named, block]) => {\n    if (named) {\n      var [names, expressions] = named;\n      CompilePositional(op, expressions);\n      DynamicScope(op, names, () => {\n        InvokeStaticBlock(op, block);\n      });\n    } else {\n      InvokeStaticBlock(op, block);\n    }\n  });\n  STATEMENTS.add(46\n  /* InvokeComponent */, (op, [, expr$$1, positional, named, blocks]) => {\n    if (isGetFreeComponent(expr$$1)) {\n      op(1004\n      /* ResolveComponent */, expr$$1, component => {\n        InvokeComponent(op, component, null, positional, hashToArgs(named), blocks);\n      });\n    } else {\n      InvokeDynamicComponent(op, expr$$1, null, positional, named, blocks, false, false);\n    }\n  });\n  function hashToArgs(hash) {\n    if (hash === null) return null;\n    var names = hash[0].map(key => `@${key}`);\n    return [names, hash[1]];\n  }\n  var PLACEHOLDER_HANDLE = -1;\n  class CompilableTemplateImpl {\n    constructor(statements, meta$$1,\n    // Part of CompilableTemplate\n    symbolTable,\n    // Used for debugging\n    moduleName = 'plain block') {\n      this.statements = statements;\n      this.meta = meta$$1;\n      this.symbolTable = symbolTable;\n      this.moduleName = moduleName;\n      this.compiled = null;\n    } // Part of CompilableTemplate\n\n    compile(context) {\n      return maybeCompile(this, context);\n    }\n  }\n  function compilable(layout, moduleName) {\n    var [statements, symbols, hasEval] = layout.block;\n    return new CompilableTemplateImpl(statements, meta(layout), {\n      symbols,\n      hasEval\n    }, moduleName);\n  }\n  function maybeCompile(compilable, context) {\n    if (compilable.compiled !== null) return compilable.compiled;\n    compilable.compiled = PLACEHOLDER_HANDLE;\n    var {\n      statements,\n      meta: meta$$1\n    } = compilable;\n    var result = compileStatements(statements, meta$$1, context);\n    compilable.compiled = result;\n    return result;\n  }\n  function compileStatements(statements, meta$$1, syntaxContext) {\n    var sCompiler = STATEMENTS;\n    var context = templateCompilationContext(syntaxContext, meta$$1);\n    var {\n      encoder,\n      program: {\n        constants,\n        resolver\n      }\n    } = context;\n    function pushOp(...op) {\n      encodeOp(encoder, constants, resolver, meta$$1, op);\n    }\n    for (var i = 0; i < statements.length; i++) {\n      sCompiler.compile(pushOp, statements[i]);\n    }\n    var handle = context.encoder.commit(meta$$1.size);\n    return handle;\n  }\n  function compilableBlock(block, containing) {\n    return new CompilableTemplateImpl(block[0], containing, {\n      parameters: block[1] || _util.EMPTY_ARRAY\n    });\n  }\n  class Labels {\n    constructor() {\n      this.labels = (0, _util.dict)();\n      this.targets = [];\n    }\n    label(name, index) {\n      this.labels[name] = index;\n    }\n    target(at, target) {\n      this.targets.push({\n        at,\n        target\n      });\n    }\n    patch(heap) {\n      var {\n        targets,\n        labels\n      } = this;\n      for (var i = 0; i < targets.length; i++) {\n        var {\n          at,\n          target\n        } = targets[i];\n        var address = labels[target] - at;\n        heap.setbyaddr(at, address);\n      }\n    }\n  }\n  function encodeOp(encoder, constants, resolver, meta, op) {\n    if (isBuilderOpcode(op[0])) {\n      var [type, ...operands] = op;\n      encoder.push(constants, type, ...operands);\n    } else {\n      switch (op[0]) {\n        case 1000\n        /* Label */:\n          return encoder.label(op[1]);\n        case 1001\n        /* StartLabels */:\n          return encoder.startLabels();\n        case 1002\n        /* StopLabels */:\n          return encoder.stopLabels();\n        case 1004\n        /* ResolveComponent */:\n          return resolveComponent(resolver, constants, meta, op);\n        case 1003\n        /* ResolveModifier */:\n          return resolveModifier(resolver, constants, meta, op);\n        case 1005\n        /* ResolveHelper */:\n          return resolveHelper(resolver, constants, meta, op);\n        case 1007\n        /* ResolveComponentOrHelper */:\n          return resolveComponentOrHelper(resolver, constants, meta, op);\n        case 1006\n        /* ResolveOptionalHelper */:\n          return resolveOptionalHelper(resolver, constants, meta, op);\n        case 1008\n        /* ResolveOptionalComponentOrHelper */:\n          return resolveOptionalComponentOrHelper(resolver, constants, meta, op);\n        case 1010\n        /* ResolveLocal */:\n          var freeVar = op[1];\n          var name = meta.upvars[freeVar];\n          if (meta.asPartial === true) {\n            encoder.push(constants, 102\n            /* ResolveMaybeLocal */, name);\n          } else {\n            var _then = op[2];\n            _then(name, meta.moduleName);\n          }\n          break;\n        case 1011\n        /* ResolveTemplateLocal */:\n          var [, valueIndex, then] = op;\n          var value = meta.scopeValues[valueIndex];\n          then(constants.value(value));\n          break;\n        case 1009\n        /* ResolveFree */:\n          if (true /* DEBUG */) {\n            var [, upvarIndex] = op;\n            var freeName = meta.upvars[upvarIndex];\n            throw new Error(`Attempted to resolve a value in a strict mode template, but that value was not in scope: ${freeName}`);\n          }\n          break;\n        default:\n          throw new Error(`Unexpected high level opcode ${op[0]}`);\n      }\n    }\n  }\n  class EncoderImpl {\n    constructor(heap, meta, stdlib) {\n      this.heap = heap;\n      this.meta = meta;\n      this.stdlib = stdlib;\n      this.labelsStack = new _util.Stack();\n      this.encoder = new _encoder.InstructionEncoderImpl([]);\n      this.errors = [];\n      this.handle = heap.malloc();\n    }\n    error(error) {\n      this.encoder.encode(30\n      /* Primitive */, 0);\n      this.errors.push(error);\n    }\n    commit(size) {\n      var handle = this.handle;\n      this.heap.push(5\n      /* Return */ | 1024\n      /* MACHINE_MASK */);\n      this.heap.finishMalloc(handle, size);\n      if (this.errors.length) {\n        return {\n          errors: this.errors,\n          handle\n        };\n      } else {\n        return handle;\n      }\n    }\n    push(constants, type, ...args) {\n      var {\n        heap\n      } = this;\n      if (true /* DEBUG */ && type > 255\n      /* TYPE_SIZE */) {\n        throw new Error(`Opcode type over 8-bits. Got ${type}.`);\n      }\n      var machine = (0, _vm.isMachineOp)(type) ? 1024\n      /* MACHINE_MASK */ : 0;\n      var first = type | machine | args.length << 8\n      /* ARG_SHIFT */;\n      heap.push(first);\n      for (var i = 0; i < args.length; i++) {\n        var op = args[i];\n        heap.push(this.operand(constants, op));\n      }\n    }\n    operand(constants, operand) {\n      if (typeof operand === 'number') {\n        return operand;\n      }\n      if (typeof operand === 'object' && operand !== null) {\n        if (Array.isArray(operand)) {\n          return (0, _util.encodeHandle)(constants.array(operand));\n        } else {\n          switch (operand.type) {\n            case 1\n            /* Label */:\n              this.currentLabels.target(this.heap.offset, operand.value);\n              return -1;\n            case 2\n            /* IsStrictMode */:\n              return (0, _util.encodeHandle)(constants.value(this.meta.isStrictMode));\n            case 3\n            /* EvalSymbols */:\n              return (0, _util.encodeHandle)(constants.array(this.meta.evalSymbols || _util.EMPTY_STRING_ARRAY));\n            case 4\n            /* Block */:\n              return (0, _util.encodeHandle)(constants.value(compilableBlock(operand.value, this.meta)));\n            case 5\n            /* StdLib */:\n              return this.stdlib[operand.value];\n            case 6\n            /* NonSmallInt */:\n            case 7\n            /* SymbolTable */:\n            case 8\n            /* Layout */:\n              return constants.value(operand.value);\n          }\n        }\n      }\n      return (0, _util.encodeHandle)(constants.value(operand));\n    }\n    get currentLabels() {\n      return this.labelsStack.current;\n    }\n    label(name) {\n      this.currentLabels.label(name, this.heap.offset + 1);\n    }\n    startLabels() {\n      this.labelsStack.push(new Labels());\n    }\n    stopLabels() {\n      var label = this.labelsStack.pop();\n      label.patch(this.heap);\n    }\n  }\n  function isBuilderOpcode(op) {\n    return op < 1000\n    /* Start */;\n  }\n  function main(op) {\n    op(75\n    /* Main */, _vm.$s0);\n    invokePreparedComponent(op, false, false, true);\n  }\n  /**\n   * Append content to the DOM. This standard function triages content and does the\n   * right thing based upon whether it's a string, safe string, component, fragment\n   * or node.\n   *\n   * @param trusting whether to interpolate a string as raw HTML (corresponds to\n   * triple curlies)\n   */\n\n  function StdAppend(op, trusting, nonDynamicAppend) {\n    SwitchCases(op, () => op(76\n    /* ContentType */), when => {\n      when(2\n      /* String */, () => {\n        if (trusting) {\n          op(68\n          /* AssertSame */);\n          op(43\n          /* AppendHTML */);\n        } else {\n          op(47\n          /* AppendText */);\n        }\n      });\n      if (typeof nonDynamicAppend === 'number') {\n        when(0\n        /* Component */, () => {\n          op(81\n          /* ResolveCurriedComponent */);\n          op(79\n          /* PushDynamicComponentInstance */);\n          InvokeBareComponent(op);\n        });\n        when(1\n        /* Helper */, () => {\n          CallDynamic(op, null, null, () => {\n            op(3\n            /* InvokeStatic */, nonDynamicAppend);\n          });\n        });\n      } else {\n        // when non-dynamic, we can no longer call the value (potentially because we've already called it)\n        // this prevents infinite loops. We instead coerce the value, whatever it is, into the DOM.\n        when(0\n        /* Component */, () => {\n          op(47\n          /* AppendText */);\n        });\n        when(1\n        /* Helper */, () => {\n          op(47\n          /* AppendText */);\n        });\n      }\n      when(4\n      /* SafeString */, () => {\n        op(68\n        /* AssertSame */);\n        op(44\n        /* AppendSafeHTML */);\n      });\n      when(5\n      /* Fragment */, () => {\n        op(68\n        /* AssertSame */);\n        op(45\n        /* AppendDocumentFragment */);\n      });\n      when(6\n      /* Node */, () => {\n        op(68\n        /* AssertSame */);\n        op(46\n        /* AppendNode */);\n      });\n    });\n  }\n  function compileStd(context) {\n    var mainHandle = build(context, op => main(op));\n    var trustingGuardedNonDynamicAppend = build(context, op => StdAppend(op, true, null));\n    var cautiousGuardedNonDynamicAppend = build(context, op => StdAppend(op, false, null));\n    var trustingGuardedDynamicAppend = build(context, op => StdAppend(op, true, trustingGuardedNonDynamicAppend));\n    var cautiousGuardedDynamicAppend = build(context, op => StdAppend(op, false, cautiousGuardedNonDynamicAppend));\n    return new StdLib(mainHandle, trustingGuardedDynamicAppend, cautiousGuardedDynamicAppend, trustingGuardedNonDynamicAppend, cautiousGuardedNonDynamicAppend);\n  }\n  var STDLIB_META = {\n    asPartial: false,\n    evalSymbols: null,\n    upvars: null,\n    moduleName: 'stdlib',\n    // TODO: ??\n    scopeValues: null,\n    isStrictMode: true,\n    owner: null,\n    size: 0\n  };\n  function build(program, callback) {\n    var {\n      constants,\n      heap,\n      resolver\n    } = program;\n    var encoder = new EncoderImpl(heap, STDLIB_META);\n    function pushOp(...op) {\n      encodeOp(encoder, constants, resolver, STDLIB_META, op);\n    }\n    callback(pushOp);\n    var result = encoder.commit(0);\n    if (typeof result !== 'number') {\n      // This shouldn't be possible\n      throw new Error(`Unexpected errors compiling std`);\n    } else {\n      return result;\n    }\n  }\n  class CompileTimeCompilationContextImpl {\n    constructor({\n      constants,\n      heap\n    }, resolver) {\n      this.resolver = resolver;\n      this.constants = constants;\n      this.heap = heap;\n      this.stdlib = compileStd(this);\n    }\n  }\n  _exports.CompileTimeCompilationContextImpl = CompileTimeCompilationContextImpl;\n  var DEFAULT_CAPABILITIES = _exports.DEFAULT_CAPABILITIES = {\n    dynamicLayout: true,\n    dynamicTag: true,\n    prepareArgs: true,\n    createArgs: true,\n    attributeHook: false,\n    elementHook: false,\n    dynamicScope: true,\n    createCaller: false,\n    updateHook: true,\n    createInstance: true,\n    wrapped: false,\n    willDestroy: false,\n    hasSubOwner: false\n  };\n  var MINIMAL_CAPABILITIES = _exports.MINIMAL_CAPABILITIES = {\n    dynamicLayout: false,\n    dynamicTag: false,\n    prepareArgs: false,\n    createArgs: false,\n    attributeHook: false,\n    elementHook: false,\n    dynamicScope: false,\n    createCaller: false,\n    updateHook: false,\n    createInstance: false,\n    wrapped: false,\n    willDestroy: false,\n    hasSubOwner: false\n  };\n  class PartialDefinitionImpl {\n    constructor(name,\n    // for debugging\n    template) {\n      this.name = name;\n      this.template = template;\n    }\n    getPartial(context) {\n      var partial = (0, _util.unwrapTemplate)(this.template).asPartial();\n      var handle = partial.compile(context);\n      return {\n        symbolTable: partial.symbolTable,\n        handle\n      };\n    }\n  }\n  _exports.PartialDefinitionImpl = PartialDefinitionImpl;\n  class WrappedBuilder {\n    constructor(layout, moduleName) {\n      this.layout = layout;\n      this.moduleName = moduleName;\n      this.compiled = null;\n      var {\n        block\n      } = layout;\n      var [, symbols, hasEval] = block;\n      symbols = symbols.slice(); // ensure ATTRS_BLOCK is always included (only once) in the list of symbols\n\n      var attrsBlockIndex = symbols.indexOf(ATTRS_BLOCK);\n      if (attrsBlockIndex === -1) {\n        this.attrsBlockNumber = symbols.push(ATTRS_BLOCK);\n      } else {\n        this.attrsBlockNumber = attrsBlockIndex + 1;\n      }\n      this.symbolTable = {\n        hasEval,\n        symbols\n      };\n    }\n    compile(syntax) {\n      if (this.compiled !== null) return this.compiled;\n      var m = meta(this.layout);\n      var context = templateCompilationContext(syntax, m);\n      var {\n        encoder,\n        program: {\n          constants,\n          resolver\n        }\n      } = context;\n      function pushOp(...op) {\n        encodeOp(encoder, constants, resolver, m, op);\n      }\n      WrappedComponent(pushOp, this.layout, this.attrsBlockNumber);\n      var handle = context.encoder.commit(m.size);\n      if (typeof handle !== 'number') {\n        return handle;\n      }\n      this.compiled = handle;\n      return handle;\n    }\n  }\n  _exports.WrappedBuilder = WrappedBuilder;\n  var clientId = 0;\n  var templateCacheCounters = _exports.templateCacheCounters = {\n    cacheHit: 0,\n    cacheMiss: 0\n  };\n  /**\n   * Wraps a template js in a template module to change it into a factory\n   * that handles lazy parsing the template and to create per env singletons\n   * of the template.\n   */\n\n  function templateFactory({\n    id: templateId,\n    moduleName,\n    block,\n    scope,\n    isStrictMode\n  }) {\n    // TODO(template-refactors): This should be removed in the near future, as it\n    // appears that id is unused. It is currently kept for backwards compat reasons.\n    var id = templateId || `client-${clientId++}`; // TODO: This caches JSON serialized output once in case a template is\n    // compiled by multiple owners, but we haven't verified if this is actually\n    // helpful. We should benchmark this in the future.\n\n    var parsedBlock;\n    var ownerlessTemplate = null;\n    var templateCache = new WeakMap();\n    var factory = owner => {\n      if (parsedBlock === undefined) {\n        parsedBlock = JSON.parse(block);\n      }\n      if (owner === undefined) {\n        if (ownerlessTemplate === null) {\n          templateCacheCounters.cacheMiss++;\n          ownerlessTemplate = new TemplateImpl({\n            id,\n            block: parsedBlock,\n            moduleName,\n            owner: null,\n            scope,\n            isStrictMode\n          });\n        } else {\n          templateCacheCounters.cacheHit++;\n        }\n        return ownerlessTemplate;\n      }\n      var result = templateCache.get(owner);\n      if (result === undefined) {\n        templateCacheCounters.cacheMiss++;\n        result = new TemplateImpl({\n          id,\n          block: parsedBlock,\n          moduleName,\n          owner,\n          scope,\n          isStrictMode\n        });\n        templateCache.set(owner, result);\n      } else {\n        templateCacheCounters.cacheHit++;\n      }\n      return result;\n    };\n    factory.__id = id;\n    factory.__meta = {\n      moduleName\n    };\n    return factory;\n  }\n  class TemplateImpl {\n    constructor(parsedLayout) {\n      this.parsedLayout = parsedLayout;\n      this.result = 'ok';\n      this.layout = null;\n      this.partial = null;\n      this.wrappedLayout = null;\n    }\n    get moduleName() {\n      return this.parsedLayout.moduleName;\n    }\n    get id() {\n      return this.parsedLayout.id;\n    } // TODO(template-refactors): This should be removed in the near future, it is\n    // only being exposed for backwards compatibility\n\n    get referrer() {\n      return {\n        moduleName: this.parsedLayout.moduleName,\n        owner: this.parsedLayout.owner\n      };\n    }\n    asLayout() {\n      if (this.layout) return this.layout;\n      return this.layout = compilable((0, _util.assign)({}, this.parsedLayout, {\n        asPartial: false\n      }), this.moduleName);\n    }\n    asPartial() {\n      if (this.partial) return this.partial;\n      return this.partial = compilable((0, _util.assign)({}, this.parsedLayout, {\n        asPartial: true\n      }), this.moduleName);\n    }\n    asWrappedLayout() {\n      if (this.wrappedLayout) return this.wrappedLayout;\n      return this.wrappedLayout = new WrappedBuilder((0, _util.assign)({}, this.parsedLayout, {\n        asPartial: false\n      }), this.moduleName);\n    }\n  }\n});","define(\"@glimmer/owner\", [\"exports\", \"@glimmer/util\"], function (_exports, _util) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.OWNER = void 0;\n  _exports.getOwner = getOwner;\n  _exports.setOwner = setOwner;\n  var OWNER = _exports.OWNER = (0, _util.symbol)('OWNER');\n  /**\n    Framework objects in a Glimmer application may receive an owner object.\n    Glimmer is unopinionated about this owner, but will forward it through its\n    internal resolution system, and through its managers if it is provided.\n  */\n\n  function getOwner(object) {\n    return object[OWNER];\n  }\n  /**\n    `setOwner` set's an object's owner\n  */\n\n  function setOwner(object, owner) {\n    object[OWNER] = owner;\n  }\n});","define(\"@glimmer/program\", [\"exports\", \"@glimmer/util\", \"@glimmer/manager\", \"@glimmer/opcode-compiler\"], function (_exports, _util, _manager, _opcodeCompiler) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.RuntimeProgramImpl = _exports.RuntimeOpImpl = _exports.RuntimeHeapImpl = _exports.RuntimeConstantsImpl = _exports.HeapImpl = _exports.ConstantsImpl = _exports.CompileTimeConstantImpl = void 0;\n  _exports.artifacts = artifacts;\n  _exports.hydrateHeap = hydrateHeap;\n  /**\n   * Default component template, which is a plain yield\n   */\n  var DEFAULT_TEMPLATE_BLOCK = [[[18\n  /* Yield */, 1, null]], ['&default'], false, []];\n  var DEFAULT_TEMPLATE = {\n    // random uuid\n    id: '1b32f5c2-7623-43d6-a0ad-9672898920a1',\n    moduleName: '__default__.hbs',\n    block: JSON.stringify(DEFAULT_TEMPLATE_BLOCK),\n    scope: null,\n    isStrictMode: true\n  };\n  var WELL_KNOWN_EMPTY_ARRAY = Object.freeze([]);\n  var STARTER_CONSTANTS = (0, _util.constants)(WELL_KNOWN_EMPTY_ARRAY);\n  var WELL_KNOWN_EMPTY_ARRAY_POSITION = STARTER_CONSTANTS.indexOf(WELL_KNOWN_EMPTY_ARRAY);\n  class CompileTimeConstantImpl {\n    constructor() {\n      // `0` means NULL\n      this.values = STARTER_CONSTANTS.slice();\n      this.indexMap = new Map(this.values.map((value, index) => [value, index]));\n    }\n    value(value) {\n      var indexMap = this.indexMap;\n      var index = indexMap.get(value);\n      if (index === undefined) {\n        index = this.values.push(value) - 1;\n        indexMap.set(value, index);\n      }\n      return index;\n    }\n    array(values) {\n      if (values.length === 0) {\n        return WELL_KNOWN_EMPTY_ARRAY_POSITION;\n      }\n      var handles = new Array(values.length);\n      for (var i = 0; i < values.length; i++) {\n        handles[i] = this.value(values[i]);\n      }\n      return this.value(handles);\n    }\n    toPool() {\n      return this.values;\n    }\n  }\n  _exports.CompileTimeConstantImpl = CompileTimeConstantImpl;\n  class RuntimeConstantsImpl {\n    constructor(pool) {\n      this.values = pool;\n    }\n    getValue(handle) {\n      return this.values[handle];\n    }\n    getArray(value) {\n      var handles = this.getValue(value);\n      var reified = new Array(handles.length);\n      for (var i = 0; i < handles.length; i++) {\n        var n = handles[i];\n        reified[i] = this.getValue(n);\n      }\n      return reified;\n    }\n  }\n  _exports.RuntimeConstantsImpl = RuntimeConstantsImpl;\n  class ConstantsImpl extends CompileTimeConstantImpl {\n    constructor() {\n      super(...arguments);\n      this.reifiedArrs = {\n        [WELL_KNOWN_EMPTY_ARRAY_POSITION]: WELL_KNOWN_EMPTY_ARRAY\n      };\n      this.defaultTemplate = (0, _opcodeCompiler.templateFactory)(DEFAULT_TEMPLATE)(); // Used for tests and debugging purposes, and to be able to analyze large apps\n      // This is why it's enabled even in production\n\n      this.helperDefinitionCount = 0;\n      this.modifierDefinitionCount = 0;\n      this.componentDefinitionCount = 0;\n      this.helperDefinitionCache = new WeakMap();\n      this.modifierDefinitionCache = new WeakMap();\n      this.componentDefinitionCache = new WeakMap();\n    }\n    helper(definitionState,\n    // TODO: Add a way to expose resolved name for debugging\n    _resolvedName = null, isOptional) {\n      var handle = this.helperDefinitionCache.get(definitionState);\n      if (handle === undefined) {\n        var managerOrHelper = (0, _manager.getInternalHelperManager)(definitionState, isOptional);\n        if (managerOrHelper === null) {\n          this.helperDefinitionCache.set(definitionState, null);\n          return null;\n        }\n        var helper = typeof managerOrHelper === 'function' ? managerOrHelper : managerOrHelper.getHelper(definitionState);\n        handle = this.value(helper);\n        this.helperDefinitionCache.set(definitionState, handle);\n        this.helperDefinitionCount++;\n      }\n      return handle;\n    }\n    modifier(definitionState, resolvedName = null, isOptional) {\n      var handle = this.modifierDefinitionCache.get(definitionState);\n      if (handle === undefined) {\n        var manager = (0, _manager.getInternalModifierManager)(definitionState, isOptional);\n        if (manager === null) {\n          this.modifierDefinitionCache.set(definitionState, null);\n          return null;\n        }\n        var definition = {\n          resolvedName,\n          manager,\n          state: definitionState\n        };\n        handle = this.value(definition);\n        this.modifierDefinitionCache.set(definitionState, handle);\n        this.modifierDefinitionCount++;\n      }\n      return handle;\n    }\n    component(definitionState, owner, isOptional) {\n      var _a;\n      var definition = this.componentDefinitionCache.get(definitionState);\n      if (definition === undefined) {\n        var manager = (0, _manager.getInternalComponentManager)(definitionState, isOptional);\n        if (manager === null) {\n          this.componentDefinitionCache.set(definitionState, null);\n          return null;\n        }\n        var capabilities = (0, _manager.capabilityFlagsFrom)(manager.getCapabilities(definitionState));\n        var templateFactory$$1 = (0, _manager.getComponentTemplate)(definitionState);\n        var compilable = null;\n        var template;\n        if (!(0, _manager.managerHasCapability)(manager, capabilities, 1\n        /* DynamicLayout */)) {\n          template = (_a = templateFactory$$1 === null || templateFactory$$1 === void 0 ? void 0 : templateFactory$$1(owner)) !== null && _a !== void 0 ? _a : this.defaultTemplate;\n        } else {\n          template = templateFactory$$1 === null || templateFactory$$1 === void 0 ? void 0 : templateFactory$$1(owner);\n        }\n        if (template !== undefined) {\n          template = (0, _util.unwrapTemplate)(template);\n          compilable = (0, _manager.managerHasCapability)(manager, capabilities, 1024\n          /* Wrapped */) ? template.asWrappedLayout() : template.asLayout();\n        }\n        definition = {\n          resolvedName: null,\n          handle: -1,\n          manager,\n          capabilities,\n          state: definitionState,\n          compilable\n        };\n        definition.handle = this.value(definition);\n        this.componentDefinitionCache.set(definitionState, definition);\n        this.componentDefinitionCount++;\n      }\n      return definition;\n    }\n    resolvedComponent(resolvedDefinition, resolvedName) {\n      var definition = this.componentDefinitionCache.get(resolvedDefinition);\n      if (definition === undefined) {\n        var {\n          manager,\n          state,\n          template\n        } = resolvedDefinition;\n        var capabilities = (0, _manager.capabilityFlagsFrom)(manager.getCapabilities(resolvedDefinition));\n        var compilable = null;\n        if (!(0, _manager.managerHasCapability)(manager, capabilities, 1\n        /* DynamicLayout */)) {\n          template = template !== null && template !== void 0 ? template : this.defaultTemplate;\n        }\n        if (template !== null) {\n          template = (0, _util.unwrapTemplate)(template);\n          compilable = (0, _manager.managerHasCapability)(manager, capabilities, 1024\n          /* Wrapped */) ? template.asWrappedLayout() : template.asLayout();\n        }\n        definition = {\n          resolvedName,\n          handle: -1,\n          manager,\n          capabilities,\n          state,\n          compilable\n        };\n        definition.handle = this.value(definition);\n        this.componentDefinitionCache.set(resolvedDefinition, definition);\n        this.componentDefinitionCount++;\n      }\n      return definition;\n    }\n    getValue(index) {\n      return this.values[index];\n    }\n    getArray(index) {\n      var reifiedArrs = this.reifiedArrs;\n      var reified = reifiedArrs[index];\n      if (reified === undefined) {\n        var names = this.getValue(index);\n        reified = new Array(names.length);\n        for (var i = 0; i < names.length; i++) {\n          reified[i] = this.getValue(names[i]);\n        }\n        reifiedArrs[index] = reified;\n      }\n      return reified;\n    }\n  }\n  _exports.ConstantsImpl = ConstantsImpl;\n  class RuntimeOpImpl {\n    constructor(heap) {\n      this.heap = heap;\n      this.offset = 0;\n    }\n    get size() {\n      var rawType = this.heap.getbyaddr(this.offset);\n      return ((rawType & 768\n      /* OPERAND_LEN_MASK */) >> 8\n      /* ARG_SHIFT */) + 1;\n    }\n    get isMachine() {\n      var rawType = this.heap.getbyaddr(this.offset);\n      return rawType & 1024\n      /* MACHINE_MASK */ ? 1 : 0;\n    }\n    get type() {\n      return this.heap.getbyaddr(this.offset) & 255\n      /* TYPE_MASK */;\n    }\n    get op1() {\n      return this.heap.getbyaddr(this.offset + 1);\n    }\n    get op2() {\n      return this.heap.getbyaddr(this.offset + 2);\n    }\n    get op3() {\n      return this.heap.getbyaddr(this.offset + 3);\n    }\n  }\n  _exports.RuntimeOpImpl = RuntimeOpImpl;\n  var PAGE_SIZE = 0x100000;\n  class RuntimeHeapImpl {\n    constructor(serializedHeap) {\n      var {\n        buffer,\n        table\n      } = serializedHeap;\n      this.heap = new Int32Array(buffer);\n      this.table = table;\n    } // It is illegal to close over this address, as compaction\n    // may move it. However, it is legal to use this address\n    // multiple times between compactions.\n\n    getaddr(handle) {\n      return this.table[handle];\n    }\n    getbyaddr(address) {\n      return this.heap[address];\n    }\n    sizeof(handle) {\n      return sizeof(this.table, handle);\n    }\n  }\n  _exports.RuntimeHeapImpl = RuntimeHeapImpl;\n  function hydrateHeap(serializedHeap) {\n    return new RuntimeHeapImpl(serializedHeap);\n  }\n  /**\n   * The Heap is responsible for dynamically allocating\n   * memory in which we read/write the VM's instructions\n   * from/to. When we malloc we pass out a VMHandle, which\n   * is used as an indirect way of accessing the memory during\n   * execution of the VM. Internally we track the different\n   * regions of the memory in an int array known as the table.\n   *\n   * The table 32-bit aligned and has the following layout:\n   *\n   * | ... | hp (u32) |       info (u32)   | size (u32) |\n   * | ... |  Handle  | Scope Size | State | Size       |\n   * | ... | 32bits   | 30bits     | 2bits | 32bit      |\n   *\n   * With this information we effectively have the ability to\n   * control when we want to free memory. That being said you\n   * can not free during execution as raw address are only\n   * valid during the execution. This means you cannot close\n   * over them as you will have a bad memory access exception.\n   */\n\n  class HeapImpl {\n    constructor() {\n      this.offset = 0;\n      this.handle = 0;\n      this.heap = new Int32Array(PAGE_SIZE);\n      this.handleTable = [];\n      this.handleState = [];\n    }\n    push(item) {\n      this.sizeCheck();\n      this.heap[this.offset++] = item;\n    }\n    sizeCheck() {\n      var {\n        heap\n      } = this;\n      if (this.offset === this.heap.length) {\n        var newHeap = new Int32Array(heap.length + PAGE_SIZE);\n        newHeap.set(heap, 0);\n        this.heap = newHeap;\n      }\n    }\n    getbyaddr(address) {\n      return this.heap[address];\n    }\n    setbyaddr(address, value) {\n      this.heap[address] = value;\n    }\n    malloc() {\n      // push offset, info, size\n      this.handleTable.push(this.offset);\n      return this.handleTable.length - 1;\n    }\n    finishMalloc(handle) {}\n    size() {\n      return this.offset;\n    } // It is illegal to close over this address, as compaction\n    // may move it. However, it is legal to use this address\n    // multiple times between compactions.\n\n    getaddr(handle) {\n      return this.handleTable[handle];\n    }\n    sizeof(handle) {\n      return sizeof(this.handleTable, handle);\n    }\n    free(handle) {\n      this.handleState[handle] = 1\n      /* Freed */;\n    }\n    /**\n     * The heap uses the [Mark-Compact Algorithm](https://en.wikipedia.org/wiki/Mark-compact_algorithm) to shift\n     * reachable memory to the bottom of the heap and freeable\n     * memory to the top of the heap. When we have shifted all\n     * the reachable memory to the top of the heap, we move the\n     * offset to the next free position.\n     */\n\n    compact() {\n      var compactedSize = 0;\n      var {\n        handleTable,\n        handleState,\n        heap\n      } = this;\n      for (var i = 0; i < length; i++) {\n        var offset = handleTable[i];\n        var size = handleTable[i + 1] - offset;\n        var state = handleState[i];\n        if (state === 2\n        /* Purged */) {\n          continue;\n        } else if (state === 1\n        /* Freed */) {\n          // transition to \"already freed\" aka \"purged\"\n          // a good improvement would be to reuse\n          // these slots\n          handleState[i] = 2\n          /* Purged */;\n          compactedSize += size;\n        } else if (state === 0\n        /* Allocated */) {\n          for (var j = offset; j <= i + size; j++) {\n            heap[j - compactedSize] = heap[j];\n          }\n          handleTable[i] = offset - compactedSize;\n        } else if (state === 3\n        /* Pointer */) {\n          handleTable[i] = offset - compactedSize;\n        }\n      }\n      this.offset = this.offset - compactedSize;\n    }\n    capture(offset = this.offset) {\n      // Only called in eager mode\n      var buffer = slice(this.heap, 0, offset).buffer;\n      return {\n        handle: this.handle,\n        table: this.handleTable,\n        buffer: buffer\n      };\n    }\n  }\n  _exports.HeapImpl = HeapImpl;\n  class RuntimeProgramImpl {\n    constructor(constants$$1, heap) {\n      this.constants = constants$$1;\n      this.heap = heap;\n      this._opcode = new RuntimeOpImpl(this.heap);\n    }\n    opcode(offset) {\n      this._opcode.offset = offset;\n      return this._opcode;\n    }\n  }\n  _exports.RuntimeProgramImpl = RuntimeProgramImpl;\n  function slice(arr, start, end) {\n    if (arr.slice !== undefined) {\n      return arr.slice(start, end);\n    }\n    var ret = new Int32Array(end);\n    for (; start < end; start++) {\n      ret[start] = arr[start];\n    }\n    return ret;\n  }\n  function sizeof(table, handle) {\n    {\n      return -1;\n    }\n  }\n  function artifacts() {\n    return {\n      constants: new ConstantsImpl(),\n      heap: new HeapImpl()\n    };\n  }\n});","define(\"@glimmer/reference\", [\"exports\", \"@glimmer/global-context\", \"@glimmer/util\", \"@glimmer/validator\"], function (_exports, _globalContext, _util, _validator) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.UNDEFINED_REFERENCE = _exports.TRUE_REFERENCE = _exports.REFERENCE = _exports.NULL_REFERENCE = _exports.FALSE_REFERENCE = void 0;\n  _exports.childRefFor = childRefFor;\n  _exports.childRefFromParts = childRefFromParts;\n  _exports.createComputeRef = createComputeRef;\n  _exports.createConstRef = createConstRef;\n  _exports.createDebugAliasRef = void 0;\n  _exports.createInvokableRef = createInvokableRef;\n  _exports.createIteratorItemRef = createIteratorItemRef;\n  _exports.createIteratorRef = createIteratorRef;\n  _exports.createPrimitiveRef = createPrimitiveRef;\n  _exports.createReadOnlyRef = createReadOnlyRef;\n  _exports.createUnboundRef = createUnboundRef;\n  _exports.isConstRef = isConstRef;\n  _exports.isInvokableRef = isInvokableRef;\n  _exports.isUpdatableRef = isUpdatableRef;\n  _exports.updateRef = updateRef;\n  _exports.valueForRef = valueForRef;\n  var REFERENCE = _exports.REFERENCE = (0, _util.symbol)('REFERENCE');\n  class ReferenceImpl {\n    constructor(type) {\n      this.tag = null;\n      this.lastRevision = _validator.INITIAL;\n      this.children = null;\n      this.compute = null;\n      this.update = null;\n      this[REFERENCE] = type;\n    }\n  }\n  function createPrimitiveRef(value) {\n    var ref = new ReferenceImpl(2\n    /* Unbound */);\n    ref.tag = _validator.CONSTANT_TAG;\n    ref.lastValue = value;\n    if (true /* DEBUG */) {\n      ref.debugLabel = String(value);\n    }\n    return ref;\n  }\n  var UNDEFINED_REFERENCE = _exports.UNDEFINED_REFERENCE = createPrimitiveRef(undefined);\n  var NULL_REFERENCE = _exports.NULL_REFERENCE = createPrimitiveRef(null);\n  var TRUE_REFERENCE = _exports.TRUE_REFERENCE = createPrimitiveRef(true);\n  var FALSE_REFERENCE = _exports.FALSE_REFERENCE = createPrimitiveRef(false);\n  function createConstRef(value, debugLabel) {\n    var ref = new ReferenceImpl(0\n    /* Constant */);\n    ref.lastValue = value;\n    ref.tag = _validator.CONSTANT_TAG;\n    if (true /* DEBUG */) {\n      ref.debugLabel = debugLabel;\n    }\n    return ref;\n  }\n  function createUnboundRef(value, debugLabel) {\n    var ref = new ReferenceImpl(2\n    /* Unbound */);\n    ref.lastValue = value;\n    ref.tag = _validator.CONSTANT_TAG;\n    if (true /* DEBUG */) {\n      ref.debugLabel = debugLabel;\n    }\n    return ref;\n  }\n  function createComputeRef(compute, update = null, debugLabel = 'unknown') {\n    var ref = new ReferenceImpl(1\n    /* Compute */);\n    ref.compute = compute;\n    ref.update = update;\n    if (true /* DEBUG */) {\n      ref.debugLabel = `(result of a \\`${debugLabel}\\` helper)`;\n    }\n    return ref;\n  }\n  function createReadOnlyRef(ref) {\n    if (!isUpdatableRef(ref)) return ref;\n    return createComputeRef(() => valueForRef(ref), null, ref.debugLabel);\n  }\n  function isInvokableRef(ref) {\n    return ref[REFERENCE] === 3\n    /* Invokable */;\n  }\n  function createInvokableRef(inner) {\n    var ref = createComputeRef(() => valueForRef(inner), value => updateRef(inner, value));\n    ref.debugLabel = inner.debugLabel;\n    ref[REFERENCE] = 3\n    /* Invokable */;\n    return ref;\n  }\n  function isConstRef(_ref) {\n    var ref = _ref;\n    return ref.tag === _validator.CONSTANT_TAG;\n  }\n  function isUpdatableRef(_ref) {\n    var ref = _ref;\n    return ref.update !== null;\n  }\n  function valueForRef(_ref) {\n    var ref = _ref;\n    var {\n      tag\n    } = ref;\n    if (tag === _validator.CONSTANT_TAG) {\n      return ref.lastValue;\n    }\n    var {\n      lastRevision\n    } = ref;\n    var lastValue;\n    if (tag === null || !(0, _validator.validateTag)(tag, lastRevision)) {\n      var {\n        compute\n      } = ref;\n      tag = ref.tag = (0, _validator.track)(() => {\n        lastValue = ref.lastValue = compute();\n      }, true /* DEBUG */ && ref.debugLabel);\n      ref.lastRevision = (0, _validator.valueForTag)(tag);\n    } else {\n      lastValue = ref.lastValue;\n    }\n    (0, _validator.consumeTag)(tag);\n    return lastValue;\n  }\n  function updateRef(_ref, value) {\n    var ref = _ref;\n    var update = ref.update;\n    update(value);\n  }\n  function childRefFor(_parentRef, path) {\n    var parentRef = _parentRef;\n    var type = parentRef[REFERENCE];\n    var children = parentRef.children;\n    var child;\n    if (children === null) {\n      children = parentRef.children = new Map();\n    } else {\n      child = children.get(path);\n      if (child !== undefined) {\n        return child;\n      }\n    }\n    if (type === 2\n    /* Unbound */) {\n      var parent = valueForRef(parentRef);\n      if ((0, _util.isDict)(parent)) {\n        child = createUnboundRef(parent[path], true /* DEBUG */ && `${parentRef.debugLabel}.${path}`);\n      } else {\n        child = UNDEFINED_REFERENCE;\n      }\n    } else {\n      child = createComputeRef(() => {\n        var parent = valueForRef(parentRef);\n        if ((0, _util.isDict)(parent)) {\n          return (0, _globalContext.getProp)(parent, path);\n        }\n      }, val => {\n        var parent = valueForRef(parentRef);\n        if ((0, _util.isDict)(parent)) {\n          return (0, _globalContext.setProp)(parent, path, val);\n        }\n      });\n      if (true /* DEBUG */) {\n        child.debugLabel = `${parentRef.debugLabel}.${path}`;\n      }\n    }\n    children.set(path, child);\n    return child;\n  }\n  function childRefFromParts(root, parts) {\n    var reference = root;\n    for (var i = 0; i < parts.length; i++) {\n      reference = childRefFor(reference, parts[i]);\n    }\n    return reference;\n  }\n  var createDebugAliasRef;\n  if (true /* DEBUG */) {\n    _exports.createDebugAliasRef = createDebugAliasRef = (debugLabel, inner) => {\n      var update = isUpdatableRef(inner) ? value => updateRef(inner, value) : null;\n      var ref = createComputeRef(() => valueForRef(inner), update);\n      ref[REFERENCE] = inner[REFERENCE];\n      ref.debugLabel = debugLabel;\n      return ref;\n    };\n  }\n  var NULL_IDENTITY = {};\n  var KEY = (_, index) => index;\n  var INDEX = (_, index) => String(index);\n  var IDENTITY = item => {\n    if (item === null) {\n      // Returning null as an identity will cause failures since the iterator\n      // can't tell that it's actually supposed to be null\n      return NULL_IDENTITY;\n    }\n    return item;\n  };\n  function keyForPath(path) {\n    if (true /* DEBUG */ && path[0] === '@') {\n      throw new Error(`invalid keypath: '${path}', valid keys: @index, @identity, or a path`);\n    }\n    return uniqueKeyFor(item => (0, _globalContext.getPath)(item, path));\n  }\n  function makeKeyFor(key) {\n    switch (key) {\n      case '@key':\n        return uniqueKeyFor(KEY);\n      case '@index':\n        return uniqueKeyFor(INDEX);\n      case '@identity':\n        return uniqueKeyFor(IDENTITY);\n      default:\n        return keyForPath(key);\n    }\n  }\n  class WeakMapWithPrimitives {\n    get weakMap() {\n      if (this._weakMap === undefined) {\n        this._weakMap = new WeakMap();\n      }\n      return this._weakMap;\n    }\n    get primitiveMap() {\n      if (this._primitiveMap === undefined) {\n        this._primitiveMap = new Map();\n      }\n      return this._primitiveMap;\n    }\n    set(key, value) {\n      if ((0, _util.isObject)(key)) {\n        this.weakMap.set(key, value);\n      } else {\n        this.primitiveMap.set(key, value);\n      }\n    }\n    get(key) {\n      if ((0, _util.isObject)(key)) {\n        return this.weakMap.get(key);\n      } else {\n        return this.primitiveMap.get(key);\n      }\n    }\n  }\n  var IDENTITIES = new WeakMapWithPrimitives();\n  function identityForNthOccurence(value, count) {\n    var identities = IDENTITIES.get(value);\n    if (identities === undefined) {\n      identities = [];\n      IDENTITIES.set(value, identities);\n    }\n    var identity = identities[count];\n    if (identity === undefined) {\n      identity = {\n        value,\n        count\n      };\n      identities[count] = identity;\n    }\n    return identity;\n  }\n  /**\n   * When iterating over a list, it's possible that an item with the same unique\n   * key could be encountered twice:\n   *\n   * ```js\n   * let arr = ['same', 'different', 'same', 'same'];\n   * ```\n   *\n   * In general, we want to treat these items as _unique within the list_. To do\n   * this, we track the occurences of every item as we iterate the list, and when\n   * an item occurs more than once, we generate a new unique key just for that\n   * item, and that occurence within the list. The next time we iterate the list,\n   * and encounter an item for the nth time, we can get the _same_ key, and let\n   * Glimmer know that it should reuse the DOM for the previous nth occurence.\n   */\n\n  function uniqueKeyFor(keyFor) {\n    var seen = new WeakMapWithPrimitives();\n    return (value, memo) => {\n      var key = keyFor(value, memo);\n      var count = seen.get(key) || 0;\n      seen.set(key, count + 1);\n      if (count === 0) {\n        return key;\n      }\n      return identityForNthOccurence(key, count);\n    };\n  }\n  function createIteratorRef(listRef, key) {\n    return createComputeRef(() => {\n      var iterable = valueForRef(listRef);\n      var keyFor = makeKeyFor(key);\n      if (Array.isArray(iterable)) {\n        return new ArrayIterator(iterable, keyFor);\n      }\n      var maybeIterator = (0, _globalContext.toIterator)(iterable);\n      if (maybeIterator === null) {\n        return new ArrayIterator(_util.EMPTY_ARRAY, () => null);\n      }\n      return new IteratorWrapper(maybeIterator, keyFor);\n    });\n  }\n  function createIteratorItemRef(_value) {\n    var value = _value;\n    var tag = (0, _validator.createTag)();\n    return createComputeRef(() => {\n      (0, _validator.consumeTag)(tag);\n      return value;\n    }, newValue => {\n      if (value !== newValue) {\n        value = newValue;\n        (0, _validator.dirtyTag)(tag);\n      }\n    });\n  }\n  class IteratorWrapper {\n    constructor(inner, keyFor) {\n      this.inner = inner;\n      this.keyFor = keyFor;\n    }\n    isEmpty() {\n      return this.inner.isEmpty();\n    }\n    next() {\n      var nextValue = this.inner.next();\n      if (nextValue !== null) {\n        nextValue.key = this.keyFor(nextValue.value, nextValue.memo);\n      }\n      return nextValue;\n    }\n  }\n  class ArrayIterator {\n    constructor(iterator, keyFor) {\n      this.iterator = iterator;\n      this.keyFor = keyFor;\n      this.pos = 0;\n      if (iterator.length === 0) {\n        this.current = {\n          kind: 'empty'\n        };\n      } else {\n        this.current = {\n          kind: 'first',\n          value: iterator[this.pos]\n        };\n      }\n    }\n    isEmpty() {\n      return this.current.kind === 'empty';\n    }\n    next() {\n      var value;\n      var current = this.current;\n      if (current.kind === 'first') {\n        this.current = {\n          kind: 'progress'\n        };\n        value = current.value;\n      } else if (this.pos >= this.iterator.length - 1) {\n        return null;\n      } else {\n        value = this.iterator[++this.pos];\n      }\n      var {\n        keyFor\n      } = this;\n      var key = keyFor(value, this.pos);\n      var memo = this.pos;\n      return {\n        key,\n        value,\n        memo\n      };\n    }\n  }\n});","define(\"@glimmer/runtime\", [\"exports\", \"@glimmer/util\", \"@glimmer/reference\", \"@glimmer/global-context\", \"@glimmer/destroyable\", \"@glimmer/vm\", \"@glimmer/validator\", \"@glimmer/manager\", \"@glimmer/program\", \"@glimmer/owner\", \"@glimmer/runtime\"], function (_exports, _util, _reference, _globalContext, _destroyable2, _vm2, _validator, _manager5, _program, _owner2, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.array = _exports.UpdatingVM = _exports.UpdatableBlockImpl = _exports.TemplateOnlyComponentManager = _exports.TemplateOnlyComponent = _exports.TEMPLATE_ONLY_COMPONENT_MANAGER = _exports.SimpleDynamicAttribute = _exports.SERIALIZATION_FIRST_NODE_STRING = _exports.RemoteLiveBlock = _exports.RehydrateBuilder = _exports.PartialScopeImpl = _exports.NewElementBuilder = _exports.LowLevelVM = _exports.IDOMChanges = _exports.EnvironmentImpl = _exports.EMPTY_POSITIONAL = _exports.EMPTY_NAMED = _exports.EMPTY_ARGS = _exports.DynamicScopeImpl = _exports.DynamicAttribute = _exports.DOMTreeConstruction = _exports.DOMChanges = _exports.CursorImpl = _exports.CurriedValue = _exports.ConcreteBounds = void 0;\n  _exports.clear = clear;\n  _exports.clientBuilder = clientBuilder;\n  _exports.concat = void 0;\n  _exports.createCapturedArgs = createCapturedArgs;\n  _exports.curry = curry;\n  Object.defineProperty(_exports, \"destroy\", {\n    enumerable: true,\n    get: function () {\n      return _destroyable2.destroy;\n    }\n  });\n  _exports.dynamicAttribute = dynamicAttribute;\n  _exports.hash = _exports.get = _exports.fn = void 0;\n  _exports.inTransaction = inTransaction;\n  _exports.invokeHelper = invokeHelper;\n  Object.defineProperty(_exports, \"isDestroyed\", {\n    enumerable: true,\n    get: function () {\n      return _destroyable2.isDestroyed;\n    }\n  });\n  Object.defineProperty(_exports, \"isDestroying\", {\n    enumerable: true,\n    get: function () {\n      return _destroyable2.isDestroying;\n    }\n  });\n  _exports.isSerializationFirstNode = isSerializationFirstNode;\n  _exports.isWhitespace = isWhitespace;\n  _exports.normalizeProperty = normalizeProperty;\n  _exports.on = void 0;\n  Object.defineProperty(_exports, \"registerDestructor\", {\n    enumerable: true,\n    get: function () {\n      return _destroyable2.registerDestructor;\n    }\n  });\n  _exports.rehydrationBuilder = rehydrationBuilder;\n  _exports.reifyArgs = reifyArgs;\n  _exports.reifyNamed = reifyNamed$1;\n  _exports.reifyPositional = reifyPositional$1;\n  _exports.renderComponent = renderComponent;\n  _exports.renderMain = renderMain;\n  _exports.renderSync = renderSync;\n  _exports.resetDebuggerCallback = resetDebuggerCallback;\n  _exports.runtimeContext = runtimeContext;\n  _exports.setDebuggerCallback = setDebuggerCallback;\n  _exports.templateOnlyComponent = templateOnlyComponent;\n  class DynamicScopeImpl {\n    constructor(bucket) {\n      if (bucket) {\n        this.bucket = (0, _util.assign)({}, bucket);\n      } else {\n        this.bucket = {};\n      }\n    }\n    get(key) {\n      return this.bucket[key];\n    }\n    set(key, reference) {\n      return this.bucket[key] = reference;\n    }\n    child() {\n      return new DynamicScopeImpl(this.bucket);\n    }\n  }\n  _exports.DynamicScopeImpl = DynamicScopeImpl;\n  class PartialScopeImpl {\n    constructor(\n    // the 0th slot is `self`\n    slots, owner, callerScope,\n    // named arguments and blocks passed to a layout that uses eval\n    evalScope,\n    // locals in scope when the partial was invoked\n    partialMap) {\n      this.slots = slots;\n      this.owner = owner;\n      this.callerScope = callerScope;\n      this.evalScope = evalScope;\n      this.partialMap = partialMap;\n    }\n    static root(self, size = 0, owner) {\n      var refs = new Array(size + 1);\n      for (var i = 0; i <= size; i++) {\n        refs[i] = _reference.UNDEFINED_REFERENCE;\n      }\n      return new PartialScopeImpl(refs, owner, null, null, null).init({\n        self\n      });\n    }\n    static sized(size = 0, owner) {\n      var refs = new Array(size + 1);\n      for (var i = 0; i <= size; i++) {\n        refs[i] = _reference.UNDEFINED_REFERENCE;\n      }\n      return new PartialScopeImpl(refs, owner, null, null, null);\n    }\n    init({\n      self\n    }) {\n      this.slots[0] = self;\n      return this;\n    }\n    getSelf() {\n      return this.get(0);\n    }\n    getSymbol(symbol$$1) {\n      return this.get(symbol$$1);\n    }\n    getBlock(symbol$$1) {\n      var block = this.get(symbol$$1);\n      return block === _reference.UNDEFINED_REFERENCE ? null : block;\n    }\n    getEvalScope() {\n      return this.evalScope;\n    }\n    getPartialMap() {\n      return this.partialMap;\n    }\n    bind(symbol$$1, value) {\n      this.set(symbol$$1, value);\n    }\n    bindSelf(self) {\n      this.set(0, self);\n    }\n    bindSymbol(symbol$$1, value) {\n      this.set(symbol$$1, value);\n    }\n    bindBlock(symbol$$1, value) {\n      this.set(symbol$$1, value);\n    }\n    bindEvalScope(map) {\n      this.evalScope = map;\n    }\n    bindPartialMap(map) {\n      this.partialMap = map;\n    }\n    bindCallerScope(scope) {\n      this.callerScope = scope;\n    }\n    getCallerScope() {\n      return this.callerScope;\n    }\n    child() {\n      return new PartialScopeImpl(this.slots.slice(), this.owner, this.callerScope, this.evalScope, this.partialMap);\n    }\n    get(index) {\n      if (index >= this.slots.length) {\n        throw new RangeError(`BUG: cannot get $${index} from scope; length=${this.slots.length}`);\n      }\n      return this.slots[index];\n    }\n    set(index, value) {\n      if (index >= this.slots.length) {\n        throw new RangeError(`BUG: cannot get $${index} from scope; length=${this.slots.length}`);\n      }\n      this.slots[index] = value;\n    }\n  }\n\n  // the VM in other classes, but are not intended to be a part of\n  // Glimmer's API.\n  _exports.PartialScopeImpl = PartialScopeImpl;\n  var INNER_VM = (0, _util.symbol)('INNER_VM');\n  var DESTROYABLE_STACK = (0, _util.symbol)('DESTROYABLE_STACK');\n  var STACKS = (0, _util.symbol)('STACKS');\n  var REGISTERS = (0, _util.symbol)('REGISTERS');\n  var HEAP = (0, _util.symbol)('HEAP');\n  var CONSTANTS = (0, _util.symbol)('CONSTANTS');\n  var ARGS = (0, _util.symbol)('ARGS');\n  var PC = (0, _util.symbol)('PC');\n  class CursorImpl {\n    constructor(element, nextSibling) {\n      this.element = element;\n      this.nextSibling = nextSibling;\n    }\n  }\n  _exports.CursorImpl = CursorImpl;\n  class ConcreteBounds {\n    constructor(parentNode, first, last) {\n      this.parentNode = parentNode;\n      this.first = first;\n      this.last = last;\n    }\n    parentElement() {\n      return this.parentNode;\n    }\n    firstNode() {\n      return this.first;\n    }\n    lastNode() {\n      return this.last;\n    }\n  }\n  _exports.ConcreteBounds = ConcreteBounds;\n  class SingleNodeBounds {\n    constructor(parentNode, node) {\n      this.parentNode = parentNode;\n      this.node = node;\n    }\n    parentElement() {\n      return this.parentNode;\n    }\n    firstNode() {\n      return this.node;\n    }\n    lastNode() {\n      return this.node;\n    }\n  }\n  function move(bounds, reference) {\n    var parent = bounds.parentElement();\n    var first = bounds.firstNode();\n    var last = bounds.lastNode();\n    var current = first;\n    while (true) {\n      var next = current.nextSibling;\n      parent.insertBefore(current, reference);\n      if (current === last) {\n        return next;\n      }\n      current = next;\n    }\n  }\n  function clear(bounds) {\n    var parent = bounds.parentElement();\n    var first = bounds.firstNode();\n    var last = bounds.lastNode();\n    var current = first;\n    while (true) {\n      var next = current.nextSibling;\n      parent.removeChild(current);\n      if (current === last) {\n        return next;\n      }\n      current = next;\n    }\n  }\n  function normalizeStringValue(value) {\n    if (isEmpty(value)) {\n      return '';\n    }\n    return String(value);\n  }\n  function shouldCoerce(value) {\n    return isString(value) || isEmpty(value) || typeof value === 'boolean' || typeof value === 'number';\n  }\n  function isEmpty(value) {\n    return value === null || value === undefined || typeof value.toString !== 'function';\n  }\n  function isSafeString(value) {\n    return typeof value === 'object' && value !== null && typeof value.toHTML === 'function';\n  }\n  function isNode(value) {\n    return typeof value === 'object' && value !== null && typeof value.nodeType === 'number';\n  }\n  function isFragment(value) {\n    return isNode(value) && value.nodeType === 11;\n  }\n  function isString(value) {\n    return typeof value === 'string';\n  }\n\n  /*\n   * @method normalizeProperty\n   * @param element {HTMLElement}\n   * @param slotName {String}\n   * @returns {Object} { name, type }\n   */\n  function normalizeProperty(element, slotName) {\n    var type, normalized;\n    if (slotName in element) {\n      normalized = slotName;\n      type = 'prop';\n    } else {\n      var lower = slotName.toLowerCase();\n      if (lower in element) {\n        type = 'prop';\n        normalized = lower;\n      } else {\n        type = 'attr';\n        normalized = slotName;\n      }\n    }\n    if (type === 'prop' && (normalized.toLowerCase() === 'style' || preferAttr(element.tagName, normalized))) {\n      type = 'attr';\n    }\n    return {\n      normalized,\n      type\n    };\n  }\n  // * browser bug\n  // * strange spec outlier\n\n  var ATTR_OVERRIDES = {\n    INPUT: {\n      form: true,\n      // Chrome 46.0.2464.0: 'autocorrect' in document.createElement('input') === false\n      // Safari 8.0.7: 'autocorrect' in document.createElement('input') === false\n      // Mobile Safari (iOS 8.4 simulator): 'autocorrect' in document.createElement('input') === true\n      autocorrect: true,\n      // Chrome 54.0.2840.98: 'list' in document.createElement('input') === true\n      // Safari 9.1.3: 'list' in document.createElement('input') === false\n      list: true\n    },\n    // element.form is actually a legitimate readOnly property, that is to be\n    // mutated, but must be mutated by setAttribute...\n    SELECT: {\n      form: true\n    },\n    OPTION: {\n      form: true\n    },\n    TEXTAREA: {\n      form: true\n    },\n    LABEL: {\n      form: true\n    },\n    FIELDSET: {\n      form: true\n    },\n    LEGEND: {\n      form: true\n    },\n    OBJECT: {\n      form: true\n    },\n    OUTPUT: {\n      form: true\n    },\n    BUTTON: {\n      form: true\n    }\n  };\n  function preferAttr(tagName, propName) {\n    var tag = ATTR_OVERRIDES[tagName.toUpperCase()];\n    return tag && tag[propName.toLowerCase()] || false;\n  }\n  var badProtocols = ['javascript:', 'vbscript:'];\n  var badTags = ['A', 'BODY', 'LINK', 'IMG', 'IFRAME', 'BASE', 'FORM'];\n  var badTagsForDataURI = ['EMBED'];\n  var badAttributes = ['href', 'src', 'background', 'action'];\n  var badAttributesForDataURI = ['src'];\n  function has(array, item) {\n    return array.indexOf(item) !== -1;\n  }\n  function checkURI(tagName, attribute) {\n    return (tagName === null || has(badTags, tagName)) && has(badAttributes, attribute);\n  }\n  function checkDataURI(tagName, attribute) {\n    if (tagName === null) return false;\n    return has(badTagsForDataURI, tagName) && has(badAttributesForDataURI, attribute);\n  }\n  function requiresSanitization(tagName, attribute) {\n    return checkURI(tagName, attribute) || checkDataURI(tagName, attribute);\n  }\n  var protocolForUrl;\n  if (typeof URL === 'object' && URL !== null &&\n  // this is super annoying, TS thinks that URL **must** be a function so `URL.parse` check\n  // thinks it is `never` without this `as unknown as any`\n  typeof URL.parse === 'function') {\n    // In Ember-land the `fastboot` package sets the `URL` global to `require('url')`\n    // ultimately, this should be changed (so that we can either rely on the natural `URL` global\n    // that exists) but for now we have to detect the specific `FastBoot` case first\n    //\n    // a future version of `fastboot` will detect if this legacy URL setup is required (by\n    // inspecting Ember version) and if new enough, it will avoid shadowing the `URL` global\n    // constructor with `require('url')`.\n    var nodeURL = URL;\n    protocolForUrl = url => {\n      var protocol = null;\n      if (typeof url === 'string') {\n        protocol = nodeURL.parse(url).protocol;\n      }\n      return protocol === null ? ':' : protocol;\n    };\n  } else if (typeof URL === 'function') {\n    protocolForUrl = _url => {\n      try {\n        var url = new URL(_url);\n        return url.protocol;\n      } catch (error) {\n        // any non-fully qualified url string will trigger an error (because there is no\n        // baseURI that we can provide; in that case we **know** that the protocol is\n        // \"safe\" because it isn't specifically one of the `badProtocols` listed above\n        // (and those protocols can never be the default baseURI)\n        return ':';\n      }\n    };\n  } else {\n    // fallback for IE11 support\n    var parsingNode = document.createElement('a');\n    protocolForUrl = url => {\n      parsingNode.href = url;\n      return parsingNode.protocol;\n    };\n  }\n  function sanitizeAttributeValue(element, attribute, value) {\n    var tagName = null;\n    if (value === null || value === undefined) {\n      return value;\n    }\n    if (isSafeString(value)) {\n      return value.toHTML();\n    }\n    if (!element) {\n      tagName = null;\n    } else {\n      tagName = element.tagName.toUpperCase();\n    }\n    var str = normalizeStringValue(value);\n    if (checkURI(tagName, attribute)) {\n      var protocol = protocolForUrl(str);\n      if (has(badProtocols, protocol)) {\n        return `unsafe:${str}`;\n      }\n    }\n    if (checkDataURI(tagName, attribute)) {\n      return `unsafe:${str}`;\n    }\n    return str;\n  }\n  function dynamicAttribute(element, attr, namespace, isTrusting = false) {\n    var {\n      tagName,\n      namespaceURI\n    } = element;\n    var attribute = {\n      element,\n      name: attr,\n      namespace\n    };\n    if (true /* DEBUG */ && attr === 'style' && !isTrusting) {\n      return new DebugStyleAttributeManager(attribute);\n    }\n    if (namespaceURI === \"http://www.w3.org/2000/svg\"\n    /* SVG */) {\n      return buildDynamicAttribute(tagName, attr, attribute);\n    }\n    var {\n      type,\n      normalized\n    } = normalizeProperty(element, attr);\n    if (type === 'attr') {\n      return buildDynamicAttribute(tagName, normalized, attribute);\n    } else {\n      return buildDynamicProperty(tagName, normalized, attribute);\n    }\n  }\n  function buildDynamicAttribute(tagName, name, attribute) {\n    if (requiresSanitization(tagName, name)) {\n      return new SafeDynamicAttribute(attribute);\n    } else {\n      return new SimpleDynamicAttribute(attribute);\n    }\n  }\n  function buildDynamicProperty(tagName, name, attribute) {\n    if (requiresSanitization(tagName, name)) {\n      return new SafeDynamicProperty(name, attribute);\n    }\n    if (isUserInputValue(tagName, name)) {\n      return new InputValueDynamicAttribute(name, attribute);\n    }\n    if (isOptionSelected(tagName, name)) {\n      return new OptionSelectedDynamicAttribute(name, attribute);\n    }\n    return new DefaultDynamicProperty(name, attribute);\n  }\n  class DynamicAttribute {\n    constructor(attribute) {\n      this.attribute = attribute;\n    }\n  }\n  _exports.DynamicAttribute = DynamicAttribute;\n  class SimpleDynamicAttribute extends DynamicAttribute {\n    set(dom, value, _env) {\n      var normalizedValue = normalizeValue(value);\n      if (normalizedValue !== null) {\n        var {\n          name,\n          namespace\n        } = this.attribute;\n        dom.__setAttribute(name, normalizedValue, namespace);\n      }\n    }\n    update(value, _env) {\n      var normalizedValue = normalizeValue(value);\n      var {\n        element,\n        name\n      } = this.attribute;\n      if (normalizedValue === null) {\n        element.removeAttribute(name);\n      } else {\n        element.setAttribute(name, normalizedValue);\n      }\n    }\n  }\n  _exports.SimpleDynamicAttribute = SimpleDynamicAttribute;\n  class DefaultDynamicProperty extends DynamicAttribute {\n    constructor(normalizedName, attribute) {\n      super(attribute);\n      this.normalizedName = normalizedName;\n    }\n    set(dom, value, _env) {\n      if (value !== null && value !== undefined) {\n        this.value = value;\n        dom.__setProperty(this.normalizedName, value);\n      }\n    }\n    update(value, _env) {\n      var {\n        element\n      } = this.attribute;\n      if (this.value !== value) {\n        element[this.normalizedName] = this.value = value;\n        if (value === null || value === undefined) {\n          this.removeAttribute();\n        }\n      }\n    }\n    removeAttribute() {\n      // TODO this sucks but to preserve properties first and to meet current\n      // semantics we must do this.\n      var {\n        element,\n        namespace\n      } = this.attribute;\n      if (namespace) {\n        element.removeAttributeNS(namespace, this.normalizedName);\n      } else {\n        element.removeAttribute(this.normalizedName);\n      }\n    }\n  }\n  class SafeDynamicProperty extends DefaultDynamicProperty {\n    set(dom, value, env) {\n      var {\n        element,\n        name\n      } = this.attribute;\n      var sanitized = sanitizeAttributeValue(element, name, value);\n      super.set(dom, sanitized, env);\n    }\n    update(value, env) {\n      var {\n        element,\n        name\n      } = this.attribute;\n      var sanitized = sanitizeAttributeValue(element, name, value);\n      super.update(sanitized, env);\n    }\n  }\n  class SafeDynamicAttribute extends SimpleDynamicAttribute {\n    set(dom, value, env) {\n      var {\n        element,\n        name\n      } = this.attribute;\n      var sanitized = sanitizeAttributeValue(element, name, value);\n      super.set(dom, sanitized, env);\n    }\n    update(value, env) {\n      var {\n        element,\n        name\n      } = this.attribute;\n      var sanitized = sanitizeAttributeValue(element, name, value);\n      super.update(sanitized, env);\n    }\n  }\n  class InputValueDynamicAttribute extends DefaultDynamicProperty {\n    set(dom, value) {\n      dom.__setProperty('value', normalizeStringValue(value));\n    }\n    update(value) {\n      var input = this.attribute.element;\n      var currentValue = input.value;\n      var normalizedValue = normalizeStringValue(value);\n      if (currentValue !== normalizedValue) {\n        input.value = normalizedValue;\n      }\n    }\n  }\n  class OptionSelectedDynamicAttribute extends DefaultDynamicProperty {\n    set(dom, value) {\n      if (value !== null && value !== undefined && value !== false) {\n        dom.__setProperty('selected', true);\n      }\n    }\n    update(value) {\n      var option = this.attribute.element;\n      if (value) {\n        option.selected = true;\n      } else {\n        option.selected = false;\n      }\n    }\n  }\n  function isOptionSelected(tagName, attribute) {\n    return tagName === 'OPTION' && attribute === 'selected';\n  }\n  function isUserInputValue(tagName, attribute) {\n    return (tagName === 'INPUT' || tagName === 'TEXTAREA') && attribute === 'value';\n  }\n  function normalizeValue(value) {\n    if (value === false || value === undefined || value === null || typeof value.toString === 'undefined') {\n      return null;\n    }\n    if (value === true) {\n      return '';\n    } // onclick function etc in SSR\n\n    if (typeof value === 'function') {\n      return null;\n    }\n    return String(value);\n  }\n  var DebugStyleAttributeManager;\n  if (true /* DEBUG */) {\n    DebugStyleAttributeManager = class extends SimpleDynamicAttribute {\n      set(dom, value, env) {\n        (0, _globalContext.warnIfStyleNotTrusted)(value);\n        super.set(dom, value, env);\n      }\n      update(value, env) {\n        (0, _globalContext.warnIfStyleNotTrusted)(value);\n        super.update(value, env);\n      }\n    };\n  }\n  var _a;\n  class First {\n    constructor(node) {\n      this.node = node;\n    }\n    firstNode() {\n      return this.node;\n    }\n  }\n  class Last {\n    constructor(node) {\n      this.node = node;\n    }\n    lastNode() {\n      return this.node;\n    }\n  }\n  var CURSOR_STACK = (0, _util.symbol)('CURSOR_STACK');\n  class NewElementBuilder {\n    constructor(env, parentNode, nextSibling) {\n      this.constructing = null;\n      this.operations = null;\n      this[_a] = new _util.Stack();\n      this.modifierStack = new _util.Stack();\n      this.blockStack = new _util.Stack();\n      this.pushElement(parentNode, nextSibling);\n      this.env = env;\n      this.dom = env.getAppendOperations();\n      this.updateOperations = env.getDOM();\n    }\n    static forInitialRender(env, cursor) {\n      return new this(env, cursor.element, cursor.nextSibling).initialize();\n    }\n    static resume(env, block) {\n      var parentNode = block.parentElement();\n      var nextSibling = block.reset(env);\n      var stack = new this(env, parentNode, nextSibling).initialize();\n      stack.pushLiveBlock(block);\n      return stack;\n    }\n    initialize() {\n      this.pushSimpleBlock();\n      return this;\n    }\n    debugBlocks() {\n      return this.blockStack.toArray();\n    }\n    get element() {\n      return this[CURSOR_STACK].current.element;\n    }\n    get nextSibling() {\n      return this[CURSOR_STACK].current.nextSibling;\n    }\n    get hasBlocks() {\n      return this.blockStack.size > 0;\n    }\n    block() {\n      return this.blockStack.current;\n    }\n    popElement() {\n      this[CURSOR_STACK].pop();\n      this[CURSOR_STACK].current;\n    }\n    pushSimpleBlock() {\n      return this.pushLiveBlock(new SimpleLiveBlock(this.element));\n    }\n    pushUpdatableBlock() {\n      return this.pushLiveBlock(new UpdatableBlockImpl(this.element));\n    }\n    pushBlockList(list) {\n      return this.pushLiveBlock(new LiveBlockList(this.element, list));\n    }\n    pushLiveBlock(block, isRemote = false) {\n      var current = this.blockStack.current;\n      if (current !== null) {\n        if (!isRemote) {\n          current.didAppendBounds(block);\n        }\n      }\n      this.__openBlock();\n      this.blockStack.push(block);\n      return block;\n    }\n    popBlock() {\n      this.block().finalize(this);\n      this.__closeBlock();\n      return this.blockStack.pop();\n    }\n    __openBlock() {}\n    __closeBlock() {} // todo return seems unused\n\n    openElement(tag) {\n      var element = this.__openElement(tag);\n      this.constructing = element;\n      return element;\n    }\n    __openElement(tag) {\n      return this.dom.createElement(tag, this.element);\n    }\n    flushElement(modifiers) {\n      var parent = this.element;\n      var element = this.constructing;\n      this.__flushElement(parent, element);\n      this.constructing = null;\n      this.operations = null;\n      this.pushModifiers(modifiers);\n      this.pushElement(element, null);\n      this.didOpenElement(element);\n    }\n    __flushElement(parent, constructing) {\n      this.dom.insertBefore(parent, constructing, this.nextSibling);\n    }\n    closeElement() {\n      this.willCloseElement();\n      this.popElement();\n      return this.popModifiers();\n    }\n    pushRemoteElement(element, guid, insertBefore) {\n      return this.__pushRemoteElement(element, guid, insertBefore);\n    }\n    __pushRemoteElement(element, _guid, insertBefore) {\n      this.pushElement(element, insertBefore);\n      if (insertBefore === undefined) {\n        while (element.lastChild) {\n          element.removeChild(element.lastChild);\n        }\n      }\n      var block = new RemoteLiveBlock(element);\n      return this.pushLiveBlock(block, true);\n    }\n    popRemoteElement() {\n      this.popBlock();\n      this.popElement();\n    }\n    pushElement(element, nextSibling = null) {\n      this[CURSOR_STACK].push(new CursorImpl(element, nextSibling));\n    }\n    pushModifiers(modifiers) {\n      this.modifierStack.push(modifiers);\n    }\n    popModifiers() {\n      return this.modifierStack.pop();\n    }\n    didAppendBounds(bounds) {\n      this.block().didAppendBounds(bounds);\n      return bounds;\n    }\n    didAppendNode(node) {\n      this.block().didAppendNode(node);\n      return node;\n    }\n    didOpenElement(element) {\n      this.block().openElement(element);\n      return element;\n    }\n    willCloseElement() {\n      this.block().closeElement();\n    }\n    appendText(string) {\n      return this.didAppendNode(this.__appendText(string));\n    }\n    __appendText(text) {\n      var {\n        dom,\n        element,\n        nextSibling\n      } = this;\n      var node = dom.createTextNode(text);\n      dom.insertBefore(element, node, nextSibling);\n      return node;\n    }\n    __appendNode(node) {\n      this.dom.insertBefore(this.element, node, this.nextSibling);\n      return node;\n    }\n    __appendFragment(fragment) {\n      var first = fragment.firstChild;\n      if (first) {\n        var ret = new ConcreteBounds(this.element, first, fragment.lastChild);\n        this.dom.insertBefore(this.element, fragment, this.nextSibling);\n        return ret;\n      } else {\n        return new SingleNodeBounds(this.element, this.__appendComment(''));\n      }\n    }\n    __appendHTML(html) {\n      return this.dom.insertHTMLBefore(this.element, this.nextSibling, html);\n    }\n    appendDynamicHTML(value) {\n      var bounds = this.trustedContent(value);\n      this.didAppendBounds(bounds);\n    }\n    appendDynamicText(value) {\n      var node = this.untrustedContent(value);\n      this.didAppendNode(node);\n      return node;\n    }\n    appendDynamicFragment(value) {\n      var bounds = this.__appendFragment(value);\n      this.didAppendBounds(bounds);\n    }\n    appendDynamicNode(value) {\n      var node = this.__appendNode(value);\n      var bounds = new SingleNodeBounds(this.element, node);\n      this.didAppendBounds(bounds);\n    }\n    trustedContent(value) {\n      return this.__appendHTML(value);\n    }\n    untrustedContent(value) {\n      return this.__appendText(value);\n    }\n    appendComment(string) {\n      return this.didAppendNode(this.__appendComment(string));\n    }\n    __appendComment(string) {\n      var {\n        dom,\n        element,\n        nextSibling\n      } = this;\n      var node = dom.createComment(string);\n      dom.insertBefore(element, node, nextSibling);\n      return node;\n    }\n    __setAttribute(name, value, namespace) {\n      this.dom.setAttribute(this.constructing, name, value, namespace);\n    }\n    __setProperty(name, value) {\n      this.constructing[name] = value;\n    }\n    setStaticAttribute(name, value, namespace) {\n      this.__setAttribute(name, value, namespace);\n    }\n    setDynamicAttribute(name, value, trusting, namespace) {\n      var element = this.constructing;\n      var attribute = dynamicAttribute(element, name, namespace, trusting);\n      attribute.set(this, value, this.env);\n      return attribute;\n    }\n  }\n  _exports.NewElementBuilder = NewElementBuilder;\n  _a = CURSOR_STACK;\n  class SimpleLiveBlock {\n    constructor(parent) {\n      this.parent = parent;\n      this.first = null;\n      this.last = null;\n      this.nesting = 0;\n    }\n    parentElement() {\n      return this.parent;\n    }\n    firstNode() {\n      var first = this.first;\n      return first.firstNode();\n    }\n    lastNode() {\n      var last = this.last;\n      return last.lastNode();\n    }\n    openElement(element) {\n      this.didAppendNode(element);\n      this.nesting++;\n    }\n    closeElement() {\n      this.nesting--;\n    }\n    didAppendNode(node) {\n      if (this.nesting !== 0) return;\n      if (!this.first) {\n        this.first = new First(node);\n      }\n      this.last = new Last(node);\n    }\n    didAppendBounds(bounds) {\n      if (this.nesting !== 0) return;\n      if (!this.first) {\n        this.first = bounds;\n      }\n      this.last = bounds;\n    }\n    finalize(stack) {\n      if (this.first === null) {\n        stack.appendComment('');\n      }\n    }\n  }\n  class RemoteLiveBlock extends SimpleLiveBlock {\n    constructor(parent) {\n      super(parent);\n      (0, _destroyable2.registerDestructor)(this, () => {\n        // In general, you only need to clear the root of a hierarchy, and should never\n        // need to clear any child nodes. This is an important constraint that gives us\n        // a strong guarantee that clearing a subtree is a single DOM operation.\n        //\n        // Because remote blocks are not normally physically nested inside of the tree\n        // that they are logically nested inside, we manually clear remote blocks when\n        // a logical parent is cleared.\n        //\n        // HOWEVER, it is currently possible for a remote block to be physically nested\n        // inside of the block it is logically contained inside of. This happens when\n        // the remote block is appended to the end of the application's entire element.\n        //\n        // The problem with that scenario is that Glimmer believes that it owns more of\n        // the DOM than it actually does. The code is attempting to write past the end\n        // of the Glimmer-managed root, but Glimmer isn't aware of that.\n        //\n        // The correct solution to that problem is for Glimmer to be aware of the end\n        // of the bounds that it owns, and once we make that change, this check could\n        // be removed.\n        //\n        // For now, a more targeted fix is to check whether the node was already removed\n        // and avoid clearing the node if it was. In most cases this shouldn't happen,\n        // so this might hide bugs where the code clears nested nodes unnecessarily,\n        // so we should eventually try to do the correct fix.\n        if (this.parentElement() === this.firstNode().parentNode) {\n          clear(this);\n        }\n      });\n    }\n  }\n  _exports.RemoteLiveBlock = RemoteLiveBlock;\n  class UpdatableBlockImpl extends SimpleLiveBlock {\n    reset() {\n      (0, _destroyable2.destroy)(this);\n      var nextSibling = clear(this);\n      this.first = null;\n      this.last = null;\n      this.nesting = 0;\n      return nextSibling;\n    }\n  } // FIXME: All the noops in here indicate a modelling problem\n  _exports.UpdatableBlockImpl = UpdatableBlockImpl;\n  class LiveBlockList {\n    constructor(parent, boundList) {\n      this.parent = parent;\n      this.boundList = boundList;\n      this.parent = parent;\n      this.boundList = boundList;\n    }\n    parentElement() {\n      return this.parent;\n    }\n    firstNode() {\n      var head = this.boundList[0];\n      return head.firstNode();\n    }\n    lastNode() {\n      var boundList = this.boundList;\n      var tail = boundList[boundList.length - 1];\n      return tail.lastNode();\n    }\n    openElement(_element) {}\n    closeElement() {}\n    didAppendNode(_node) {}\n    didAppendBounds(_bounds) {}\n    finalize(_stack) {}\n  }\n  function clientBuilder(env, cursor) {\n    return NewElementBuilder.forInitialRender(env, cursor);\n  }\n  class AppendOpcodes {\n    constructor() {\n      this.evaluateOpcode = (0, _util.fillNulls)(104\n      /* Size */).slice();\n    }\n    add(name, evaluate, kind = 'syscall') {\n      this.evaluateOpcode[name] = {\n        syscall: kind !== 'machine',\n        evaluate\n      };\n    }\n    debugBefore(vm, opcode) {\n      var params = undefined;\n      var opName = undefined;\n      var sp;\n      return {\n        sp: sp,\n        pc: vm.fetchValue(_vm2.$pc),\n        name: opName,\n        params,\n        type: opcode.type,\n        isMachine: opcode.isMachine,\n        size: opcode.size,\n        state: undefined\n      };\n    }\n    debugAfter(vm, pre) {}\n    evaluate(vm, opcode, type) {\n      var operation = this.evaluateOpcode[type];\n      if (operation.syscall) {\n        operation.evaluate(vm, opcode);\n      } else {\n        operation.evaluate(vm[INNER_VM], opcode);\n      }\n    }\n  }\n  var APPEND_OPCODES = new AppendOpcodes();\n  function createConcatRef(partsRefs) {\n    return (0, _reference.createComputeRef)(() => {\n      var parts = new Array();\n      for (var i = 0; i < partsRefs.length; i++) {\n        var value = (0, _reference.valueForRef)(partsRefs[i]);\n        if (value !== null && value !== undefined) {\n          parts[i] = castToString(value);\n        }\n      }\n      if (parts.length > 0) {\n        return parts.join('');\n      }\n      return null;\n    });\n  }\n  function castToString(value) {\n    if (typeof value.toString !== 'function') {\n      return '';\n    }\n    return String(value);\n  }\n  var TYPE = (0, _util.symbol)('TYPE');\n  var INNER = (0, _util.symbol)('INNER');\n  var OWNER = (0, _util.symbol)('OWNER');\n  var ARGS$1 = (0, _util.symbol)('ARGS');\n  var RESOLVED = (0, _util.symbol)('RESOLVED');\n  var CURRIED_VALUES = new _util._WeakSet();\n  function isCurriedValue(value) {\n    return CURRIED_VALUES.has(value);\n  }\n  function isCurriedType(value, type) {\n    return isCurriedValue(value) && value[TYPE] === type;\n  }\n  class CurriedValue {\n    /** @internal */\n    constructor(type, inner, owner, args, resolved = false) {\n      CURRIED_VALUES.add(this);\n      this[TYPE] = type;\n      this[INNER] = inner;\n      this[OWNER] = owner;\n      this[ARGS$1] = args;\n      this[RESOLVED] = resolved;\n    }\n  }\n  _exports.CurriedValue = CurriedValue;\n  function resolveCurriedValue(curriedValue) {\n    var currentWrapper = curriedValue;\n    var positional;\n    var named;\n    var definition, owner, resolved;\n    while (true) {\n      var {\n        [ARGS$1]: curriedArgs,\n        [INNER]: inner\n      } = currentWrapper;\n      if (curriedArgs !== null) {\n        var {\n          named: curriedNamed,\n          positional: curriedPositional\n        } = curriedArgs;\n        if (curriedPositional.length > 0) {\n          positional = positional === undefined ? curriedPositional : curriedPositional.concat(positional);\n        }\n        if (named === undefined) {\n          named = [];\n        }\n        named.unshift(curriedNamed);\n      }\n      if (!isCurriedValue(inner)) {\n        // Save off the owner that this helper was curried with. Later on,\n        // we'll fetch the value of this register and set it as the owner on the\n        // new root scope.\n        definition = inner;\n        owner = currentWrapper[OWNER];\n        resolved = currentWrapper[RESOLVED];\n        break;\n      }\n      currentWrapper = inner;\n    }\n    return {\n      definition,\n      owner,\n      resolved,\n      positional,\n      named\n    };\n  }\n  function curry(type, spec, owner, args, resolved = false) {\n    return new CurriedValue(type, spec, owner, args, resolved);\n  }\n  function createCurryRef(type, inner, owner, args, resolver, isStrict) {\n    var lastValue, curriedDefinition;\n    return (0, _reference.createComputeRef)(() => {\n      var value = (0, _reference.valueForRef)(inner);\n      if (value === lastValue) {\n        return curriedDefinition;\n      }\n      if (isCurriedType(value, type)) {\n        curriedDefinition = args ? curry(type, value, owner, args) : args;\n      } else if (type === 0\n      /* Component */ && typeof value === 'string' && value) {\n        // Only components should enter this path, as helpers and modifiers do not\n        // support string based resolution\n        if (true /* DEBUG */) {\n          if (isStrict) {\n            throw new Error(`Attempted to resolve a dynamic component with a string definition, \\`${value}\\` in a strict mode template. In strict mode, using strings to resolve component definitions is prohibited. You can instead import the component definition and use it directly.`);\n          }\n          var resolvedDefinition = resolver.lookupComponent(value, owner);\n          if (!resolvedDefinition) {\n            throw new Error(`Attempted to resolve \\`${value}\\`, which was expected to be a component, but nothing was found.`);\n          }\n        }\n        curriedDefinition = curry(type, value, owner, args);\n      } else if ((0, _util.isObject)(value)) {\n        curriedDefinition = curry(type, value, owner, args);\n      } else {\n        curriedDefinition = null;\n      }\n      lastValue = value;\n      return curriedDefinition;\n    });\n  }\n\n  /*\n    The calling convention is:\n  \n    * 0-N block arguments at the bottom\n    * 0-N positional arguments next (left-to-right)\n    * 0-N named arguments next\n  */\n\n  class VMArgumentsImpl {\n    constructor() {\n      this.stack = null;\n      this.positional = new PositionalArgumentsImpl();\n      this.named = new NamedArgumentsImpl();\n      this.blocks = new BlockArgumentsImpl();\n    }\n    empty(stack) {\n      var base = stack[REGISTERS][_vm2.$sp] + 1;\n      this.named.empty(stack, base);\n      this.positional.empty(stack, base);\n      this.blocks.empty(stack, base);\n      return this;\n    }\n    setup(stack, names, blockNames, positionalCount, atNames) {\n      this.stack = stack;\n      /*\n             | ... | blocks      | positional  | named |\n             | ... | b0    b1    | p0 p1 p2 p3 | n0 n1 |\n       index | ... | 4/5/6 7/8/9 | 10 11 12 13 | 14 15 |\n                     ^             ^             ^  ^\n                   bbase         pbase       nbase  sp\n      */\n\n      var named = this.named;\n      var namedCount = names.length;\n      var namedBase = stack[REGISTERS][_vm2.$sp] - namedCount + 1;\n      named.setup(stack, namedBase, namedCount, names, atNames);\n      var positional = this.positional;\n      var positionalBase = namedBase - positionalCount;\n      positional.setup(stack, positionalBase, positionalCount);\n      var blocks = this.blocks;\n      var blocksCount = blockNames.length;\n      var blocksBase = positionalBase - blocksCount * 3;\n      blocks.setup(stack, blocksBase, blocksCount, blockNames);\n    }\n    get base() {\n      return this.blocks.base;\n    }\n    get length() {\n      return this.positional.length + this.named.length + this.blocks.length * 3;\n    }\n    at(pos) {\n      return this.positional.at(pos);\n    }\n    realloc(offset) {\n      var {\n        stack\n      } = this;\n      if (offset > 0 && stack !== null) {\n        var {\n          positional,\n          named\n        } = this;\n        var newBase = positional.base + offset;\n        var length = positional.length + named.length;\n        for (var i = length - 1; i >= 0; i--) {\n          stack.copy(i + positional.base, i + newBase);\n        }\n        positional.base += offset;\n        named.base += offset;\n        stack[REGISTERS][_vm2.$sp] += offset;\n      }\n    }\n    capture() {\n      var positional = this.positional.length === 0 ? EMPTY_POSITIONAL : this.positional.capture();\n      var named = this.named.length === 0 ? EMPTY_NAMED : this.named.capture();\n      return {\n        named,\n        positional\n      };\n    }\n    clear() {\n      var {\n        stack,\n        length\n      } = this;\n      if (length > 0 && stack !== null) stack.pop(length);\n    }\n  }\n  var EMPTY_REFERENCES = (0, _util.emptyArray)();\n  class PositionalArgumentsImpl {\n    constructor() {\n      this.base = 0;\n      this.length = 0;\n      this.stack = null;\n      this._references = null;\n    }\n    empty(stack, base) {\n      this.stack = stack;\n      this.base = base;\n      this.length = 0;\n      this._references = EMPTY_REFERENCES;\n    }\n    setup(stack, base, length) {\n      this.stack = stack;\n      this.base = base;\n      this.length = length;\n      if (length === 0) {\n        this._references = EMPTY_REFERENCES;\n      } else {\n        this._references = null;\n      }\n    }\n    at(position) {\n      var {\n        base,\n        length,\n        stack\n      } = this;\n      if (position < 0 || position >= length) {\n        return _reference.UNDEFINED_REFERENCE;\n      }\n      return stack.get(position, base);\n    }\n    capture() {\n      return this.references;\n    }\n    prepend(other) {\n      var additions = other.length;\n      if (additions > 0) {\n        var {\n          base,\n          length,\n          stack\n        } = this;\n        this.base = base = base - additions;\n        this.length = length + additions;\n        for (var i = 0; i < additions; i++) {\n          stack.set(other[i], i, base);\n        }\n        this._references = null;\n      }\n    }\n    get references() {\n      var references = this._references;\n      if (!references) {\n        var {\n          stack,\n          base,\n          length\n        } = this;\n        references = this._references = stack.slice(base, base + length);\n      }\n      return references;\n    }\n  }\n  class NamedArgumentsImpl {\n    constructor() {\n      this.base = 0;\n      this.length = 0;\n      this._references = null;\n      this._names = _util.EMPTY_STRING_ARRAY;\n      this._atNames = _util.EMPTY_STRING_ARRAY;\n    }\n    empty(stack, base) {\n      this.stack = stack;\n      this.base = base;\n      this.length = 0;\n      this._references = EMPTY_REFERENCES;\n      this._names = _util.EMPTY_STRING_ARRAY;\n      this._atNames = _util.EMPTY_STRING_ARRAY;\n    }\n    setup(stack, base, length, names, atNames) {\n      this.stack = stack;\n      this.base = base;\n      this.length = length;\n      if (length === 0) {\n        this._references = EMPTY_REFERENCES;\n        this._names = _util.EMPTY_STRING_ARRAY;\n        this._atNames = _util.EMPTY_STRING_ARRAY;\n      } else {\n        this._references = null;\n        if (atNames) {\n          this._names = null;\n          this._atNames = names;\n        } else {\n          this._names = names;\n          this._atNames = null;\n        }\n      }\n    }\n    get names() {\n      var names = this._names;\n      if (!names) {\n        names = this._names = this._atNames.map(this.toSyntheticName);\n      }\n      return names;\n    }\n    get atNames() {\n      var atNames = this._atNames;\n      if (!atNames) {\n        atNames = this._atNames = this._names.map(this.toAtName);\n      }\n      return atNames;\n    }\n    has(name) {\n      return this.names.indexOf(name) !== -1;\n    }\n    get(name, atNames = false) {\n      var {\n        base,\n        stack\n      } = this;\n      var names = atNames ? this.atNames : this.names;\n      var idx = names.indexOf(name);\n      if (idx === -1) {\n        return _reference.UNDEFINED_REFERENCE;\n      }\n      var ref = stack.get(idx, base);\n      if (true /* DEBUG */) {\n        return (0, _reference.createDebugAliasRef)(atNames ? name : `@${name}`, ref);\n      } else {\n        return ref;\n      }\n    }\n    capture() {\n      var {\n        names,\n        references\n      } = this;\n      var map = (0, _util.dict)();\n      for (var i = 0; i < names.length; i++) {\n        var name = names[i];\n        if (true /* DEBUG */) {\n          map[name] = (0, _reference.createDebugAliasRef)(`@${name}`, references[i]);\n        } else {\n          map[name] = references[i];\n        }\n      }\n      return map;\n    }\n    merge(other) {\n      var keys = Object.keys(other);\n      if (keys.length > 0) {\n        var {\n          names,\n          length,\n          stack\n        } = this;\n        var newNames = names.slice();\n        for (var i = 0; i < keys.length; i++) {\n          var name = keys[i];\n          var idx = newNames.indexOf(name);\n          if (idx === -1) {\n            length = newNames.push(name);\n            stack.push(other[name]);\n          }\n        }\n        this.length = length;\n        this._references = null;\n        this._names = newNames;\n        this._atNames = null;\n      }\n    }\n    get references() {\n      var references = this._references;\n      if (!references) {\n        var {\n          base,\n          length,\n          stack\n        } = this;\n        references = this._references = stack.slice(base, base + length);\n      }\n      return references;\n    }\n    toSyntheticName(name) {\n      return name.slice(1);\n    }\n    toAtName(name) {\n      return `@${name}`;\n    }\n  }\n  function toSymbolName(name) {\n    return `&${name}`;\n  }\n  var EMPTY_BLOCK_VALUES = (0, _util.emptyArray)();\n  class BlockArgumentsImpl {\n    constructor() {\n      this.internalValues = null;\n      this._symbolNames = null;\n      this.internalTag = null;\n      this.names = _util.EMPTY_STRING_ARRAY;\n      this.length = 0;\n      this.base = 0;\n    }\n    empty(stack, base) {\n      this.stack = stack;\n      this.names = _util.EMPTY_STRING_ARRAY;\n      this.base = base;\n      this.length = 0;\n      this._symbolNames = null;\n      this.internalTag = _validator.CONSTANT_TAG;\n      this.internalValues = EMPTY_BLOCK_VALUES;\n    }\n    setup(stack, base, length, names) {\n      this.stack = stack;\n      this.names = names;\n      this.base = base;\n      this.length = length;\n      this._symbolNames = null;\n      if (length === 0) {\n        this.internalTag = _validator.CONSTANT_TAG;\n        this.internalValues = EMPTY_BLOCK_VALUES;\n      } else {\n        this.internalTag = null;\n        this.internalValues = null;\n      }\n    }\n    get values() {\n      var values = this.internalValues;\n      if (!values) {\n        var {\n          base,\n          length,\n          stack\n        } = this;\n        values = this.internalValues = stack.slice(base, base + length * 3);\n      }\n      return values;\n    }\n    has(name) {\n      return this.names.indexOf(name) !== -1;\n    }\n    get(name) {\n      var idx = this.names.indexOf(name);\n      if (idx === -1) {\n        return null;\n      }\n      var {\n        base,\n        stack\n      } = this;\n      var table = stack.get(idx * 3, base);\n      var scope = stack.get(idx * 3 + 1, base);\n      var handle = stack.get(idx * 3 + 2, base);\n      return handle === null ? null : [handle, scope, table];\n    }\n    capture() {\n      return new CapturedBlockArgumentsImpl(this.names, this.values);\n    }\n    get symbolNames() {\n      var symbolNames = this._symbolNames;\n      if (symbolNames === null) {\n        symbolNames = this._symbolNames = this.names.map(toSymbolName);\n      }\n      return symbolNames;\n    }\n  }\n  class CapturedBlockArgumentsImpl {\n    constructor(names, values) {\n      this.names = names;\n      this.values = values;\n      this.length = names.length;\n    }\n    has(name) {\n      return this.names.indexOf(name) !== -1;\n    }\n    get(name) {\n      var idx = this.names.indexOf(name);\n      if (idx === -1) return null;\n      return [this.values[idx * 3 + 2], this.values[idx * 3 + 1], this.values[idx * 3]];\n    }\n  }\n  function createCapturedArgs(named, positional) {\n    return {\n      named,\n      positional\n    };\n  }\n  function reifyNamed$1(named) {\n    var reified = (0, _util.dict)();\n    for (var key in named) {\n      reified[key] = (0, _reference.valueForRef)(named[key]);\n    }\n    return reified;\n  }\n  function reifyPositional$1(positional) {\n    return positional.map(_reference.valueForRef);\n  }\n  function reifyArgs(args) {\n    return {\n      named: reifyNamed$1(args.named),\n      positional: reifyPositional$1(args.positional)\n    };\n  }\n  var EMPTY_NAMED = _exports.EMPTY_NAMED = Object.freeze(Object.create(null));\n  var EMPTY_POSITIONAL = _exports.EMPTY_POSITIONAL = EMPTY_REFERENCES;\n  var EMPTY_ARGS = _exports.EMPTY_ARGS = createCapturedArgs(EMPTY_NAMED, EMPTY_POSITIONAL);\n  APPEND_OPCODES.add(77\n  /* Curry */, (vm, {\n    op1: type,\n    op2: _isStrict\n  }) => {\n    var stack = vm.stack;\n    var definition = stack.pop();\n    var capturedArgs = stack.pop();\n    var owner = vm.getOwner();\n    var resolver = vm.runtime.resolver;\n    var isStrict = false;\n    if (true /* DEBUG */) {\n      // strict check only happens in DEBUG builds, no reason to load it otherwise\n      isStrict = vm[CONSTANTS].getValue((0, _util.decodeHandle)(_isStrict));\n    }\n    vm.loadValue(_vm2.$v0, createCurryRef(type, definition, owner, capturedArgs, resolver, isStrict));\n  });\n  APPEND_OPCODES.add(107\n  /* DynamicHelper */, vm => {\n    var stack = vm.stack;\n    var ref = stack.pop();\n    var args = stack.pop().capture();\n    var helperRef;\n    var initialOwner = vm.getOwner();\n    var helperInstanceRef = (0, _reference.createComputeRef)(() => {\n      if (helperRef !== undefined) {\n        (0, _destroyable2.destroy)(helperRef);\n      }\n      var definition = (0, _reference.valueForRef)(ref);\n      if (isCurriedType(definition, 1\n      /* Helper */)) {\n        var {\n          definition: resolvedDef,\n          owner,\n          positional,\n          named\n        } = resolveCurriedValue(definition);\n        var _helper = resolveHelper(vm[CONSTANTS], resolvedDef, ref);\n        if (named !== undefined) {\n          args.named = (0, _util.assign)({}, ...named, args.named);\n        }\n        if (positional !== undefined) {\n          args.positional = positional.concat(args.positional);\n        }\n        helperRef = _helper(args, owner);\n        (0, _destroyable2.associateDestroyableChild)(helperInstanceRef, helperRef);\n      } else if ((0, _util.isObject)(definition)) {\n        var _helper2 = resolveHelper(vm[CONSTANTS], definition, ref);\n        helperRef = _helper2(args, initialOwner);\n        if ((0, _destroyable2._hasDestroyableChildren)(helperRef)) {\n          (0, _destroyable2.associateDestroyableChild)(helperInstanceRef, helperRef);\n        }\n      } else {\n        helperRef = _reference.UNDEFINED_REFERENCE;\n      }\n    });\n    var helperValueRef = (0, _reference.createComputeRef)(() => {\n      (0, _reference.valueForRef)(helperInstanceRef);\n      return (0, _reference.valueForRef)(helperRef);\n    });\n    vm.associateDestroyable(helperInstanceRef);\n    vm.loadValue(_vm2.$v0, helperValueRef);\n  });\n  function resolveHelper(constants, definition, ref) {\n    var handle = constants.helper(definition, null, true);\n    if (true /* DEBUG */ && handle === null) {\n      throw new Error(`Expected a dynamic helper definition, but received an object or function that did not have a helper manager associated with it. The dynamic invocation was \\`{{${ref.debugLabel}}}\\` or \\`(${ref.debugLabel})\\`, and the incorrect definition is the value at the path \\`${ref.debugLabel}\\`, which was: ${(0, _util.debugToString)(definition)}`);\n    }\n    return constants.getValue(handle);\n  }\n  APPEND_OPCODES.add(16\n  /* Helper */, (vm, {\n    op1: handle\n  }) => {\n    var stack = vm.stack;\n    var helper = vm[CONSTANTS].getValue(handle);\n    var args = stack.pop();\n    var value = helper(args.capture(), vm.getOwner(), vm.dynamicScope());\n    if ((0, _destroyable2._hasDestroyableChildren)(value)) {\n      vm.associateDestroyable(value);\n    }\n    vm.loadValue(_vm2.$v0, value);\n  });\n  APPEND_OPCODES.add(21\n  /* GetVariable */, (vm, {\n    op1: symbol$$1\n  }) => {\n    var expr = vm.referenceForSymbol(symbol$$1);\n    vm.stack.push(expr);\n  });\n  APPEND_OPCODES.add(19\n  /* SetVariable */, (vm, {\n    op1: symbol$$1\n  }) => {\n    var expr = vm.stack.pop();\n    vm.scope().bindSymbol(symbol$$1, expr);\n  });\n  APPEND_OPCODES.add(20\n  /* SetBlock */, (vm, {\n    op1: symbol$$1\n  }) => {\n    var handle = vm.stack.pop();\n    var scope = vm.stack.pop();\n    var table = vm.stack.pop();\n    vm.scope().bindBlock(symbol$$1, [handle, scope, table]);\n  });\n  APPEND_OPCODES.add(102\n  /* ResolveMaybeLocal */, (vm, {\n    op1: _name\n  }) => {\n    var name = vm[CONSTANTS].getValue(_name);\n    var locals = vm.scope().getPartialMap();\n    var ref = locals[name];\n    if (ref === undefined) {\n      ref = (0, _reference.childRefFor)(vm.getSelf(), name);\n    }\n    vm.stack.push(ref);\n  });\n  APPEND_OPCODES.add(37\n  /* RootScope */, (vm, {\n    op1: symbols\n  }) => {\n    vm.pushRootScope(symbols, vm.getOwner());\n  });\n  APPEND_OPCODES.add(22\n  /* GetProperty */, (vm, {\n    op1: _key\n  }) => {\n    var key = vm[CONSTANTS].getValue(_key);\n    var expr = vm.stack.pop();\n    vm.stack.push((0, _reference.childRefFor)(expr, key));\n  });\n  APPEND_OPCODES.add(23\n  /* GetBlock */, (vm, {\n    op1: _block\n  }) => {\n    var {\n      stack\n    } = vm;\n    var block = vm.scope().getBlock(_block);\n    stack.push(block);\n  });\n  APPEND_OPCODES.add(24\n  /* SpreadBlock */, vm => {\n    var {\n      stack\n    } = vm;\n    var block = stack.pop();\n    if (block && !isUndefinedReference(block)) {\n      var [handleOrCompilable, scope, table] = block;\n      stack.push(table);\n      stack.push(scope);\n      stack.push(handleOrCompilable);\n    } else {\n      stack.push(null);\n      stack.push(null);\n      stack.push(null);\n    }\n  });\n  function isUndefinedReference(input) {\n    return input === _reference.UNDEFINED_REFERENCE;\n  }\n  APPEND_OPCODES.add(25\n  /* HasBlock */, vm => {\n    var {\n      stack\n    } = vm;\n    var block = stack.pop();\n    if (block && !isUndefinedReference(block)) {\n      stack.push(_reference.TRUE_REFERENCE);\n    } else {\n      stack.push(_reference.FALSE_REFERENCE);\n    }\n  });\n  APPEND_OPCODES.add(26\n  /* HasBlockParams */, vm => {\n    // FIXME(mmun): should only need to push the symbol table\n    var block = vm.stack.pop();\n    var scope = vm.stack.pop();\n    var table = vm.stack.pop();\n    var hasBlockParams = table && table.parameters.length;\n    vm.stack.push(hasBlockParams ? _reference.TRUE_REFERENCE : _reference.FALSE_REFERENCE);\n  });\n  APPEND_OPCODES.add(27\n  /* Concat */, (vm, {\n    op1: count\n  }) => {\n    var out = new Array(count);\n    for (var i = count; i > 0; i--) {\n      var offset = i - 1;\n      out[offset] = vm.stack.pop();\n    }\n    vm.stack.push(createConcatRef(out));\n  });\n  APPEND_OPCODES.add(109\n  /* IfInline */, vm => {\n    var condition = vm.stack.pop();\n    var truthy = vm.stack.pop();\n    var falsy = vm.stack.pop();\n    vm.stack.push((0, _reference.createComputeRef)(() => {\n      if ((0, _globalContext.toBool)((0, _reference.valueForRef)(condition)) === true) {\n        return (0, _reference.valueForRef)(truthy);\n      } else {\n        return (0, _reference.valueForRef)(falsy);\n      }\n    }));\n  });\n  APPEND_OPCODES.add(110\n  /* Not */, vm => {\n    var ref = vm.stack.pop();\n    vm.stack.push((0, _reference.createComputeRef)(() => {\n      return !(0, _globalContext.toBool)((0, _reference.valueForRef)(ref));\n    }));\n  });\n  APPEND_OPCODES.add(111\n  /* GetDynamicVar */, vm => {\n    var scope = vm.dynamicScope();\n    var stack = vm.stack;\n    var nameRef = stack.pop();\n    stack.push((0, _reference.createComputeRef)(() => {\n      var name = String((0, _reference.valueForRef)(nameRef));\n      return (0, _reference.valueForRef)(scope.get(name));\n    }));\n  });\n  APPEND_OPCODES.add(112\n  /* Log */, vm => {\n    var {\n      positional\n    } = vm.stack.pop().capture();\n    vm.loadValue(_vm2.$v0, (0, _reference.createComputeRef)(() => {\n      // eslint-disable-next-line no-console\n      console.log(...reifyPositional$1(positional));\n    }));\n  });\n  function resolveComponent(resolver, constants, name, owner) {\n    var definition = resolver.lookupComponent(name, owner);\n    if (true /* DEBUG */ && !definition) {\n      throw new Error(`Attempted to resolve \\`${name}\\`, which was expected to be a component, but nothing was found.`);\n    }\n    return constants.resolvedComponent(definition, name);\n  }\n\n  /** @internal */\n  function hasCustomDebugRenderTreeLifecycle(manager) {\n    return 'getDebugCustomRenderTree' in manager;\n  }\n  function createClassListRef(list) {\n    return (0, _reference.createComputeRef)(() => {\n      var ret = [];\n      for (var i = 0; i < list.length; i++) {\n        var ref = list[i];\n        var value = normalizeStringValue(typeof ref === 'string' ? ref : (0, _reference.valueForRef)(list[i]));\n        if (value) ret.push(value);\n      }\n      return ret.length === 0 ? null : ret.join(' ');\n    });\n  }\n  APPEND_OPCODES.add(39\n  /* ChildScope */, vm => vm.pushChildScope());\n  APPEND_OPCODES.add(40\n  /* PopScope */, vm => vm.popScope());\n  APPEND_OPCODES.add(59\n  /* PushDynamicScope */, vm => vm.pushDynamicScope());\n  APPEND_OPCODES.add(60\n  /* PopDynamicScope */, vm => vm.popDynamicScope());\n  APPEND_OPCODES.add(28\n  /* Constant */, (vm, {\n    op1: other\n  }) => {\n    vm.stack.push(vm[CONSTANTS].getValue((0, _util.decodeHandle)(other)));\n  });\n  APPEND_OPCODES.add(29\n  /* ConstantReference */, (vm, {\n    op1: other\n  }) => {\n    vm.stack.push((0, _reference.createConstRef)(vm[CONSTANTS].getValue((0, _util.decodeHandle)(other)), false));\n  });\n  APPEND_OPCODES.add(30\n  /* Primitive */, (vm, {\n    op1: primitive\n  }) => {\n    var stack = vm.stack;\n    if ((0, _util.isHandle)(primitive)) {\n      // it is a handle which does not already exist on the stack\n      var value = vm[CONSTANTS].getValue((0, _util.decodeHandle)(primitive));\n      stack.push(value);\n    } else {\n      // is already an encoded immediate or primitive handle\n      stack.push((0, _util.decodeImmediate)(primitive));\n    }\n  });\n  APPEND_OPCODES.add(31\n  /* PrimitiveReference */, vm => {\n    var stack = vm.stack;\n    var value = stack.pop();\n    var ref;\n    if (value === undefined) {\n      ref = _reference.UNDEFINED_REFERENCE;\n    } else if (value === null) {\n      ref = _reference.NULL_REFERENCE;\n    } else if (value === true) {\n      ref = _reference.TRUE_REFERENCE;\n    } else if (value === false) {\n      ref = _reference.FALSE_REFERENCE;\n    } else {\n      ref = (0, _reference.createPrimitiveRef)(value);\n    }\n    stack.push(ref);\n  });\n  APPEND_OPCODES.add(33\n  /* Dup */, (vm, {\n    op1: register,\n    op2: offset\n  }) => {\n    var position = vm.fetchValue(register) - offset;\n    vm.stack.dup(position);\n  });\n  APPEND_OPCODES.add(34\n  /* Pop */, (vm, {\n    op1: count\n  }) => {\n    vm.stack.pop(count);\n  });\n  APPEND_OPCODES.add(35\n  /* Load */, (vm, {\n    op1: register\n  }) => {\n    vm.load(register);\n  });\n  APPEND_OPCODES.add(36\n  /* Fetch */, (vm, {\n    op1: register\n  }) => {\n    vm.fetch(register);\n  });\n  APPEND_OPCODES.add(58\n  /* BindDynamicScope */, (vm, {\n    op1: _names\n  }) => {\n    var names = vm[CONSTANTS].getArray(_names);\n    vm.bindDynamicScope(names);\n  });\n  APPEND_OPCODES.add(69\n  /* Enter */, (vm, {\n    op1: args\n  }) => {\n    vm.enter(args);\n  });\n  APPEND_OPCODES.add(70\n  /* Exit */, vm => {\n    vm.exit();\n  });\n  APPEND_OPCODES.add(63\n  /* PushSymbolTable */, (vm, {\n    op1: _table\n  }) => {\n    var stack = vm.stack;\n    stack.push(vm[CONSTANTS].getValue(_table));\n  });\n  APPEND_OPCODES.add(62\n  /* PushBlockScope */, vm => {\n    var stack = vm.stack;\n    stack.push(vm.scope());\n  });\n  APPEND_OPCODES.add(61\n  /* CompileBlock */, vm => {\n    var stack = vm.stack;\n    var block = stack.pop();\n    if (block) {\n      stack.push(vm.compile(block));\n    } else {\n      stack.push(null);\n    }\n  });\n  APPEND_OPCODES.add(64\n  /* InvokeYield */, vm => {\n    var {\n      stack\n    } = vm;\n    var handle = stack.pop();\n    var scope = stack.pop();\n    var table = stack.pop();\n    var args = stack.pop();\n    if (table === null) {\n      // To balance the pop{Frame,Scope}\n      vm.pushFrame();\n      vm.pushScope(scope !== null && scope !== void 0 ? scope : vm.scope());\n      return;\n    }\n    var invokingScope = scope; // If necessary, create a child scope\n\n    {\n      var locals = table.parameters;\n      var localsCount = locals.length;\n      if (localsCount > 0) {\n        invokingScope = invokingScope.child();\n        for (var i = 0; i < localsCount; i++) {\n          invokingScope.bindSymbol(locals[i], args.at(i));\n        }\n      }\n    }\n    vm.pushFrame();\n    vm.pushScope(invokingScope);\n    vm.call(handle);\n  });\n  APPEND_OPCODES.add(65\n  /* JumpIf */, (vm, {\n    op1: target\n  }) => {\n    var reference = vm.stack.pop();\n    var value = Boolean((0, _reference.valueForRef)(reference));\n    if ((0, _reference.isConstRef)(reference)) {\n      if (value === true) {\n        vm.goto(target);\n      }\n    } else {\n      if (value === true) {\n        vm.goto(target);\n      }\n      vm.updateWith(new Assert(reference));\n    }\n  });\n  APPEND_OPCODES.add(66\n  /* JumpUnless */, (vm, {\n    op1: target\n  }) => {\n    var reference = vm.stack.pop();\n    var value = Boolean((0, _reference.valueForRef)(reference));\n    if ((0, _reference.isConstRef)(reference)) {\n      if (value === false) {\n        vm.goto(target);\n      }\n    } else {\n      if (value === false) {\n        vm.goto(target);\n      }\n      vm.updateWith(new Assert(reference));\n    }\n  });\n  APPEND_OPCODES.add(67\n  /* JumpEq */, (vm, {\n    op1: target,\n    op2: comparison\n  }) => {\n    var other = vm.stack.peek();\n    if (other === comparison) {\n      vm.goto(target);\n    }\n  });\n  APPEND_OPCODES.add(68\n  /* AssertSame */, vm => {\n    var reference = vm.stack.peek();\n    if ((0, _reference.isConstRef)(reference) === false) {\n      vm.updateWith(new Assert(reference));\n    }\n  });\n  APPEND_OPCODES.add(71\n  /* ToBoolean */, vm => {\n    var {\n      stack\n    } = vm;\n    var valueRef = stack.pop();\n    stack.push((0, _reference.createComputeRef)(() => (0, _globalContext.toBool)((0, _reference.valueForRef)(valueRef))));\n  });\n  class Assert {\n    constructor(ref) {\n      this.ref = ref;\n      this.last = (0, _reference.valueForRef)(ref);\n    }\n    evaluate(vm) {\n      var {\n        last,\n        ref\n      } = this;\n      var current = (0, _reference.valueForRef)(ref);\n      if (last !== current) {\n        vm.throw();\n      }\n    }\n  }\n  class AssertFilter {\n    constructor(ref, filter) {\n      this.ref = ref;\n      this.filter = filter;\n      this.last = filter((0, _reference.valueForRef)(ref));\n    }\n    evaluate(vm) {\n      var {\n        last,\n        ref,\n        filter\n      } = this;\n      var current = filter((0, _reference.valueForRef)(ref));\n      if (last !== current) {\n        vm.throw();\n      }\n    }\n  }\n  class JumpIfNotModifiedOpcode {\n    constructor() {\n      this.tag = _validator.CONSTANT_TAG;\n      this.lastRevision = _validator.INITIAL;\n    }\n    finalize(tag, target) {\n      this.target = target;\n      this.didModify(tag);\n    }\n    evaluate(vm) {\n      var {\n        tag,\n        target,\n        lastRevision\n      } = this;\n      if (!vm.alwaysRevalidate && (0, _validator.validateTag)(tag, lastRevision)) {\n        (0, _validator.consumeTag)(tag);\n        vm.goto(target);\n      }\n    }\n    didModify(tag) {\n      this.tag = tag;\n      this.lastRevision = (0, _validator.valueForTag)(this.tag);\n      (0, _validator.consumeTag)(tag);\n    }\n  }\n  class BeginTrackFrameOpcode {\n    constructor(debugLabel) {\n      this.debugLabel = debugLabel;\n    }\n    evaluate() {\n      (0, _validator.beginTrackFrame)(this.debugLabel);\n    }\n  }\n  class EndTrackFrameOpcode {\n    constructor(target) {\n      this.target = target;\n    }\n    evaluate() {\n      var tag = (0, _validator.endTrackFrame)();\n      this.target.didModify(tag);\n    }\n  }\n  APPEND_OPCODES.add(41\n  /* Text */, (vm, {\n    op1: text\n  }) => {\n    vm.elements().appendText(vm[CONSTANTS].getValue(text));\n  });\n  APPEND_OPCODES.add(42\n  /* Comment */, (vm, {\n    op1: text\n  }) => {\n    vm.elements().appendComment(vm[CONSTANTS].getValue(text));\n  });\n  APPEND_OPCODES.add(48\n  /* OpenElement */, (vm, {\n    op1: tag\n  }) => {\n    vm.elements().openElement(vm[CONSTANTS].getValue(tag));\n  });\n  APPEND_OPCODES.add(49\n  /* OpenDynamicElement */, vm => {\n    var tagName = (0, _reference.valueForRef)(vm.stack.pop());\n    vm.elements().openElement(tagName);\n  });\n  APPEND_OPCODES.add(50\n  /* PushRemoteElement */, vm => {\n    var elementRef = vm.stack.pop();\n    var insertBeforeRef = vm.stack.pop();\n    var guidRef = vm.stack.pop();\n    var element = (0, _reference.valueForRef)(elementRef);\n    var insertBefore = (0, _reference.valueForRef)(insertBeforeRef);\n    var guid = (0, _reference.valueForRef)(guidRef);\n    if (!(0, _reference.isConstRef)(elementRef)) {\n      vm.updateWith(new Assert(elementRef));\n    }\n    if (insertBefore !== undefined && !(0, _reference.isConstRef)(insertBeforeRef)) {\n      vm.updateWith(new Assert(insertBeforeRef));\n    }\n    var block = vm.elements().pushRemoteElement(element, guid, insertBefore);\n    if (block) vm.associateDestroyable(block);\n  });\n  APPEND_OPCODES.add(56\n  /* PopRemoteElement */, vm => {\n    vm.elements().popRemoteElement();\n  });\n  APPEND_OPCODES.add(54\n  /* FlushElement */, vm => {\n    var operations = vm.fetchValue(_vm2.$t0);\n    var modifiers = null;\n    if (operations) {\n      modifiers = operations.flush(vm);\n      vm.loadValue(_vm2.$t0, null);\n    }\n    vm.elements().flushElement(modifiers);\n  });\n  APPEND_OPCODES.add(55\n  /* CloseElement */, vm => {\n    var modifiers = vm.elements().closeElement();\n    if (modifiers) {\n      modifiers.forEach(modifier => {\n        vm.env.scheduleInstallModifier(modifier);\n        var {\n          manager,\n          state\n        } = modifier;\n        var d = manager.getDestroyable(state);\n        if (d) {\n          vm.associateDestroyable(d);\n        }\n      });\n    }\n  });\n  APPEND_OPCODES.add(57\n  /* Modifier */, (vm, {\n    op1: handle\n  }) => {\n    if (vm.env.isInteractive === false) {\n      return;\n    }\n    var owner = vm.getOwner();\n    var args = vm.stack.pop();\n    var definition = vm[CONSTANTS].getValue(handle);\n    var {\n      manager\n    } = definition;\n    var {\n      constructing\n    } = vm.elements();\n    var state = manager.create(owner, constructing, definition.state, args.capture());\n    var instance = {\n      manager,\n      state,\n      definition\n    };\n    var operations = vm.fetchValue(_vm2.$t0);\n    operations.addModifier(instance);\n    var tag = manager.getTag(state);\n    if (tag !== null) {\n      (0, _validator.consumeTag)(tag);\n      return vm.updateWith(new UpdateModifierOpcode(tag, instance));\n    }\n  });\n  APPEND_OPCODES.add(108\n  /* DynamicModifier */, vm => {\n    if (vm.env.isInteractive === false) {\n      return;\n    }\n    var {\n      stack,\n      [CONSTANTS]: constants\n    } = vm;\n    var ref = stack.pop();\n    var args = stack.pop().capture();\n    var {\n      constructing\n    } = vm.elements();\n    var initialOwner = vm.getOwner();\n    var instanceRef = (0, _reference.createComputeRef)(() => {\n      var value = (0, _reference.valueForRef)(ref);\n      var owner;\n      if (!(0, _util.isObject)(value)) {\n        return;\n      }\n      var hostDefinition;\n      if (isCurriedType(value, 2\n      /* Modifier */)) {\n        var {\n          definition: resolvedDefinition,\n          owner: curriedOwner,\n          positional,\n          named\n        } = resolveCurriedValue(value);\n        hostDefinition = resolvedDefinition;\n        owner = curriedOwner;\n        if (positional !== undefined) {\n          args.positional = positional.concat(args.positional);\n        }\n        if (named !== undefined) {\n          args.named = (0, _util.assign)({}, ...named, args.named);\n        }\n      } else {\n        hostDefinition = value;\n        owner = initialOwner;\n      }\n      var handle = constants.modifier(hostDefinition, null, true);\n      if (true /* DEBUG */ && handle === null) {\n        throw new Error(`Expected a dynamic modifier definition, but received an object or function that did not have a modifier manager associated with it. The dynamic invocation was \\`{{${ref.debugLabel}}}\\`, and the incorrect definition is the value at the path \\`${ref.debugLabel}\\`, which was: ${(0, _util.debugToString)(hostDefinition)}`);\n      }\n      var definition = constants.getValue(handle);\n      var {\n        manager\n      } = definition;\n      var state = manager.create(owner, constructing, definition.state, args);\n      return {\n        manager,\n        state,\n        definition\n      };\n    });\n    var instance = (0, _reference.valueForRef)(instanceRef);\n    var tag = null;\n    if (instance !== undefined) {\n      var operations = vm.fetchValue(_vm2.$t0);\n      operations.addModifier(instance);\n      tag = instance.manager.getTag(instance.state);\n      if (tag !== null) {\n        (0, _validator.consumeTag)(tag);\n      }\n    }\n    if (!(0, _reference.isConstRef)(ref) || tag) {\n      return vm.updateWith(new UpdateDynamicModifierOpcode(tag, instance, instanceRef));\n    }\n  });\n  class UpdateModifierOpcode {\n    constructor(tag, modifier) {\n      this.tag = tag;\n      this.modifier = modifier;\n      this.lastUpdated = (0, _validator.valueForTag)(tag);\n    }\n    evaluate(vm) {\n      var {\n        modifier,\n        tag,\n        lastUpdated\n      } = this;\n      (0, _validator.consumeTag)(tag);\n      if (!(0, _validator.validateTag)(tag, lastUpdated)) {\n        vm.env.scheduleUpdateModifier(modifier);\n        this.lastUpdated = (0, _validator.valueForTag)(tag);\n      }\n    }\n  }\n  class UpdateDynamicModifierOpcode {\n    constructor(tag, instance, instanceRef) {\n      this.tag = tag;\n      this.instance = instance;\n      this.instanceRef = instanceRef;\n      this.lastUpdated = (0, _validator.valueForTag)(tag !== null && tag !== void 0 ? tag : _validator.CURRENT_TAG);\n    }\n    evaluate(vm) {\n      var {\n        tag,\n        lastUpdated,\n        instance,\n        instanceRef\n      } = this;\n      var newInstance = (0, _reference.valueForRef)(instanceRef);\n      if (newInstance !== instance) {\n        if (instance !== undefined) {\n          var destroyable = instance.manager.getDestroyable(instance.state);\n          if (destroyable !== null) {\n            (0, _destroyable2.destroy)(destroyable);\n          }\n        }\n        if (newInstance !== undefined) {\n          var {\n            manager,\n            state\n          } = newInstance;\n          var _destroyable = manager.getDestroyable(state);\n          if (_destroyable !== null) {\n            (0, _destroyable2.associateDestroyableChild)(this, _destroyable);\n          }\n          tag = manager.getTag(state);\n          if (tag !== null) {\n            this.lastUpdated = (0, _validator.valueForTag)(tag);\n          }\n          this.tag = tag;\n          vm.env.scheduleInstallModifier(newInstance);\n        }\n        this.instance = newInstance;\n      } else if (tag !== null && !(0, _validator.validateTag)(tag, lastUpdated)) {\n        vm.env.scheduleUpdateModifier(instance);\n        this.lastUpdated = (0, _validator.valueForTag)(tag);\n      }\n      if (tag !== null) {\n        (0, _validator.consumeTag)(tag);\n      }\n    }\n  }\n  APPEND_OPCODES.add(51\n  /* StaticAttr */, (vm, {\n    op1: _name,\n    op2: _value,\n    op3: _namespace\n  }) => {\n    var name = vm[CONSTANTS].getValue(_name);\n    var value = vm[CONSTANTS].getValue(_value);\n    var namespace = _namespace ? vm[CONSTANTS].getValue(_namespace) : null;\n    vm.elements().setStaticAttribute(name, value, namespace);\n  });\n  APPEND_OPCODES.add(52\n  /* DynamicAttr */, (vm, {\n    op1: _name,\n    op2: _trusting,\n    op3: _namespace\n  }) => {\n    var name = vm[CONSTANTS].getValue(_name);\n    var trusting = vm[CONSTANTS].getValue(_trusting);\n    var reference = vm.stack.pop();\n    var value = (0, _reference.valueForRef)(reference);\n    var namespace = _namespace ? vm[CONSTANTS].getValue(_namespace) : null;\n    var attribute = vm.elements().setDynamicAttribute(name, value, trusting, namespace);\n    if (!(0, _reference.isConstRef)(reference)) {\n      vm.updateWith(new UpdateDynamicAttributeOpcode(reference, attribute, vm.env));\n    }\n  });\n  class UpdateDynamicAttributeOpcode {\n    constructor(reference, attribute, env) {\n      var initialized = false;\n      this.updateRef = (0, _reference.createComputeRef)(() => {\n        var value = (0, _reference.valueForRef)(reference);\n        if (initialized === true) {\n          attribute.update(value, env);\n        } else {\n          initialized = true;\n        }\n      });\n      (0, _reference.valueForRef)(this.updateRef);\n    }\n    evaluate() {\n      (0, _reference.valueForRef)(this.updateRef);\n    }\n  }\n  APPEND_OPCODES.add(78\n  /* PushComponentDefinition */, (vm, {\n    op1: handle\n  }) => {\n    var definition = vm[CONSTANTS].getValue(handle);\n    var {\n      manager,\n      capabilities\n    } = definition;\n    var instance = {\n      definition,\n      manager,\n      capabilities,\n      state: null,\n      handle: null,\n      table: null,\n      lookup: null\n    };\n    vm.stack.push(instance);\n  });\n  APPEND_OPCODES.add(80\n  /* ResolveDynamicComponent */, (vm, {\n    op1: _isStrict\n  }) => {\n    var stack = vm.stack;\n    var component = (0, _reference.valueForRef)(stack.pop());\n    var constants = vm[CONSTANTS];\n    var owner = vm.getOwner();\n    var isStrict = constants.getValue(_isStrict);\n    vm.loadValue(_vm2.$t1, null); // Clear the temp register\n\n    var definition;\n    if (typeof component === 'string') {\n      if (true /* DEBUG */ && isStrict) {\n        throw new Error(`Attempted to resolve a dynamic component with a string definition, \\`${component}\\` in a strict mode template. In strict mode, using strings to resolve component definitions is prohibited. You can instead import the component definition and use it directly.`);\n      }\n      var resolvedDefinition = resolveComponent(vm.runtime.resolver, constants, component, owner);\n      definition = resolvedDefinition;\n    } else if (isCurriedValue(component)) {\n      definition = component;\n    } else {\n      definition = constants.component(component, owner);\n    }\n    stack.push(definition);\n  });\n  APPEND_OPCODES.add(81\n  /* ResolveCurriedComponent */, vm => {\n    var stack = vm.stack;\n    var ref = stack.pop();\n    var value = (0, _reference.valueForRef)(ref);\n    var constants = vm[CONSTANTS];\n    var definition;\n    if (true /* DEBUG */ && !(typeof value === 'function' || typeof value === 'object' && value !== null)) {\n      throw new Error(`Expected a component definition, but received ${value}. You may have accidentally done <${ref.debugLabel}>, where \"${ref.debugLabel}\" was a string instead of a curried component definition. You must either use the component definition directly, or use the {{component}} helper to create a curried component definition when invoking dynamically.`);\n    }\n    if (isCurriedValue(value)) {\n      definition = value;\n    } else {\n      definition = constants.component(value, vm.getOwner(), true);\n      if (true /* DEBUG */ && definition === null) {\n        throw new Error(`Expected a dynamic component definition, but received an object or function that did not have a component manager associated with it. The dynamic invocation was \\`<${ref.debugLabel}>\\` or \\`{{${ref.debugLabel}}}\\`, and the incorrect definition is the value at the path \\`${ref.debugLabel}\\`, which was: ${(0, _util.debugToString)(value)}`);\n      }\n    }\n    stack.push(definition);\n  });\n  APPEND_OPCODES.add(79\n  /* PushDynamicComponentInstance */, vm => {\n    var {\n      stack\n    } = vm;\n    var definition = stack.pop();\n    var capabilities, manager;\n    if (isCurriedValue(definition)) {\n      manager = capabilities = null;\n    } else {\n      manager = definition.manager;\n      capabilities = definition.capabilities;\n    }\n    stack.push({\n      definition,\n      capabilities,\n      manager,\n      state: null,\n      handle: null,\n      table: null\n    });\n  });\n  APPEND_OPCODES.add(82\n  /* PushArgs */, (vm, {\n    op1: _names,\n    op2: _blockNames,\n    op3: flags\n  }) => {\n    var stack = vm.stack;\n    var names = vm[CONSTANTS].getArray(_names);\n    var positionalCount = flags >> 4;\n    var atNames = flags & 0b1000;\n    var blockNames = flags & 0b0111 ? vm[CONSTANTS].getArray(_blockNames) : _util.EMPTY_STRING_ARRAY;\n    vm[ARGS].setup(stack, names, blockNames, positionalCount, !!atNames);\n    stack.push(vm[ARGS]);\n  });\n  APPEND_OPCODES.add(83\n  /* PushEmptyArgs */, vm => {\n    var {\n      stack\n    } = vm;\n    stack.push(vm[ARGS].empty(stack));\n  });\n  APPEND_OPCODES.add(86\n  /* CaptureArgs */, vm => {\n    var stack = vm.stack;\n    var args = stack.pop();\n    var capturedArgs = args.capture();\n    stack.push(capturedArgs);\n  });\n  APPEND_OPCODES.add(85\n  /* PrepareArgs */, (vm, {\n    op1: _state\n  }) => {\n    var stack = vm.stack;\n    var instance = vm.fetchValue(_state);\n    var args = stack.pop();\n    var {\n      definition\n    } = instance;\n    if (isCurriedType(definition, 0\n    /* Component */)) {\n      var constants = vm[CONSTANTS];\n      var {\n        definition: resolvedDefinition,\n        owner,\n        resolved,\n        positional,\n        named\n      } = resolveCurriedValue(definition);\n      if (resolved === true) {\n        definition = resolvedDefinition;\n      } else if (typeof resolvedDefinition === 'string') {\n        var resolvedValue = vm.runtime.resolver.lookupComponent(resolvedDefinition, owner);\n        definition = constants.resolvedComponent(resolvedValue, resolvedDefinition);\n      } else {\n        definition = constants.component(resolvedDefinition, owner);\n      }\n      if (named !== undefined) {\n        args.named.merge((0, _util.assign)({}, ...named));\n      }\n      if (positional !== undefined) {\n        args.realloc(positional.length);\n        args.positional.prepend(positional);\n      }\n      var {\n        manager: _manager\n      } = definition;\n      instance.definition = definition;\n      instance.manager = _manager;\n      instance.capabilities = definition.capabilities; // Save off the owner that this component was curried with. Later on,\n      // we'll fetch the value of this register and set it as the owner on the\n      // new root scope.\n\n      vm.loadValue(_vm2.$t1, owner);\n    }\n    var {\n      manager,\n      state\n    } = definition;\n    var capabilities = instance.capabilities;\n    if (!(0, _manager5.managerHasCapability)(manager, capabilities, 4\n    /* PrepareArgs */)) {\n      stack.push(args);\n      return;\n    }\n    var blocks = args.blocks.values;\n    var blockNames = args.blocks.names;\n    var preparedArgs = manager.prepareArgs(state, args);\n    if (preparedArgs) {\n      args.clear();\n      for (var i = 0; i < blocks.length; i++) {\n        stack.push(blocks[i]);\n      }\n      var {\n        positional: _positional,\n        named: _named\n      } = preparedArgs;\n      var positionalCount = _positional.length;\n      for (var _i = 0; _i < positionalCount; _i++) {\n        stack.push(_positional[_i]);\n      }\n      var names = Object.keys(_named);\n      for (var _i2 = 0; _i2 < names.length; _i2++) {\n        stack.push(_named[names[_i2]]);\n      }\n      args.setup(stack, names, blockNames, positionalCount, false);\n    }\n    stack.push(args);\n  });\n  APPEND_OPCODES.add(87\n  /* CreateComponent */, (vm, {\n    op1: flags,\n    op2: _state\n  }) => {\n    var instance = vm.fetchValue(_state);\n    var {\n      definition,\n      manager,\n      capabilities\n    } = instance;\n    if (!(0, _manager5.managerHasCapability)(manager, capabilities, 512\n    /* CreateInstance */)) {\n      // TODO: Closure and Main components are always invoked dynamically, so this\n      // opcode may run even if this capability is not enabled. In the future we\n      // should handle this in a better way.\n      return;\n    }\n    var dynamicScope = null;\n    if ((0, _manager5.managerHasCapability)(manager, capabilities, 64\n    /* DynamicScope */)) {\n      dynamicScope = vm.dynamicScope();\n    }\n    var hasDefaultBlock = flags & 1;\n    var args = null;\n    if ((0, _manager5.managerHasCapability)(manager, capabilities, 8\n    /* CreateArgs */)) {\n      args = vm.stack.peek();\n    }\n    var self = null;\n    if ((0, _manager5.managerHasCapability)(manager, capabilities, 128\n    /* CreateCaller */)) {\n      self = vm.getSelf();\n    }\n    var state = manager.create(vm.getOwner(), definition.state, args, vm.env, dynamicScope, self, !!hasDefaultBlock); // We want to reuse the `state` POJO here, because we know that the opcodes\n    // only transition at exactly one place.\n\n    instance.state = state;\n    if ((0, _manager5.managerHasCapability)(manager, capabilities, 256\n    /* UpdateHook */)) {\n      vm.updateWith(new UpdateComponentOpcode(state, manager, dynamicScope));\n    }\n  });\n  APPEND_OPCODES.add(88\n  /* RegisterComponentDestructor */, (vm, {\n    op1: _state\n  }) => {\n    var {\n      manager,\n      state,\n      capabilities\n    } = vm.fetchValue(_state);\n    var d = manager.getDestroyable(state);\n    if (true /* DEBUG */ && !(0, _manager5.managerHasCapability)(manager, capabilities, 2048\n    /* WillDestroy */) && d !== null && typeof 'willDestroy' in d) {\n      throw new Error('BUG: Destructor has willDestroy, but the willDestroy capability was not enabled for this component. Pre-destruction hooks must be explicitly opted into');\n    }\n    if (d) vm.associateDestroyable(d);\n  });\n  APPEND_OPCODES.add(97\n  /* BeginComponentTransaction */, (vm, {\n    op1: _state\n  }) => {\n    var _a;\n    var name;\n    if (true /* DEBUG */) {\n      var {\n        definition,\n        manager\n      } = vm.fetchValue(_state);\n      name = (_a = definition.resolvedName) !== null && _a !== void 0 ? _a : manager.getDebugName(definition.state);\n    }\n    vm.beginCacheGroup(name);\n    vm.elements().pushSimpleBlock();\n  });\n  APPEND_OPCODES.add(89\n  /* PutComponentOperations */, vm => {\n    vm.loadValue(_vm2.$t0, new ComponentElementOperations());\n  });\n  APPEND_OPCODES.add(53\n  /* ComponentAttr */, (vm, {\n    op1: _name,\n    op2: _trusting,\n    op3: _namespace\n  }) => {\n    var name = vm[CONSTANTS].getValue(_name);\n    var trusting = vm[CONSTANTS].getValue(_trusting);\n    var reference = vm.stack.pop();\n    var namespace = _namespace ? vm[CONSTANTS].getValue(_namespace) : null;\n    vm.fetchValue(_vm2.$t0).setAttribute(name, reference, trusting, namespace);\n  });\n  APPEND_OPCODES.add(105\n  /* StaticComponentAttr */, (vm, {\n    op1: _name,\n    op2: _value,\n    op3: _namespace\n  }) => {\n    var name = vm[CONSTANTS].getValue(_name);\n    var value = vm[CONSTANTS].getValue(_value);\n    var namespace = _namespace ? vm[CONSTANTS].getValue(_namespace) : null;\n    vm.fetchValue(_vm2.$t0).setStaticAttribute(name, value, namespace);\n  });\n  class ComponentElementOperations {\n    constructor() {\n      this.attributes = (0, _util.dict)();\n      this.classes = [];\n      this.modifiers = [];\n    }\n    setAttribute(name, value, trusting, namespace) {\n      var deferred = {\n        value,\n        namespace,\n        trusting\n      };\n      if (name === 'class') {\n        this.classes.push(value);\n      }\n      this.attributes[name] = deferred;\n    }\n    setStaticAttribute(name, value, namespace) {\n      var deferred = {\n        value,\n        namespace\n      };\n      if (name === 'class') {\n        this.classes.push(value);\n      }\n      this.attributes[name] = deferred;\n    }\n    addModifier(modifier) {\n      this.modifiers.push(modifier);\n    }\n    flush(vm) {\n      var type;\n      var attributes = this.attributes;\n      for (var name in this.attributes) {\n        if (name === 'type') {\n          type = attributes[name];\n          continue;\n        }\n        var attr = this.attributes[name];\n        if (name === 'class') {\n          setDeferredAttr(vm, 'class', mergeClasses(this.classes), attr.namespace, attr.trusting);\n        } else {\n          setDeferredAttr(vm, name, attr.value, attr.namespace, attr.trusting);\n        }\n      }\n      if (type !== undefined) {\n        setDeferredAttr(vm, 'type', type.value, type.namespace, type.trusting);\n      }\n      return this.modifiers;\n    }\n  }\n  function mergeClasses(classes) {\n    if (classes.length === 0) {\n      return '';\n    }\n    if (classes.length === 1) {\n      return classes[0];\n    }\n    if (allStringClasses(classes)) {\n      return classes.join(' ');\n    }\n    return createClassListRef(classes);\n  }\n  function allStringClasses(classes) {\n    for (var i = 0; i < classes.length; i++) {\n      if (typeof classes[i] !== 'string') {\n        return false;\n      }\n    }\n    return true;\n  }\n  function setDeferredAttr(vm, name, value, namespace, trusting = false) {\n    if (typeof value === 'string') {\n      vm.elements().setStaticAttribute(name, value, namespace);\n    } else {\n      var attribute = vm.elements().setDynamicAttribute(name, (0, _reference.valueForRef)(value), trusting, namespace);\n      if (!(0, _reference.isConstRef)(value)) {\n        vm.updateWith(new UpdateDynamicAttributeOpcode(value, attribute, vm.env));\n      }\n    }\n  }\n  APPEND_OPCODES.add(99\n  /* DidCreateElement */, (vm, {\n    op1: _state\n  }) => {\n    var {\n      definition,\n      state\n    } = vm.fetchValue(_state);\n    var {\n      manager\n    } = definition;\n    var operations = vm.fetchValue(_vm2.$t0);\n    manager.didCreateElement(state, vm.elements().constructing, operations);\n  });\n  APPEND_OPCODES.add(90\n  /* GetComponentSelf */, (vm, {\n    op1: _state,\n    op2: _names\n  }) => {\n    var _a;\n    var instance = vm.fetchValue(_state);\n    var {\n      definition,\n      state\n    } = instance;\n    var {\n      manager\n    } = definition;\n    var selfRef = manager.getSelf(state);\n    if (vm.env.debugRenderTree !== undefined) {\n      var _instance = vm.fetchValue(_state);\n      var {\n        definition: _definition,\n        manager: _manager2\n      } = _instance;\n      var args;\n      if (vm.stack.peek() === vm[ARGS]) {\n        args = vm[ARGS].capture();\n      } else {\n        var names = vm[CONSTANTS].getArray(_names);\n        vm[ARGS].setup(vm.stack, names, [], 0, true);\n        args = vm[ARGS].capture();\n      }\n      var moduleName;\n      var compilable = _definition.compilable;\n      if (compilable === null) {\n        compilable = _manager2.getDynamicLayout(state, vm.runtime.resolver);\n        if (compilable !== null) {\n          moduleName = compilable.moduleName;\n        } else {\n          moduleName = '__default__.hbs';\n        }\n      } else {\n        moduleName = compilable.moduleName;\n      } // For tearing down the debugRenderTree\n\n      vm.associateDestroyable(_instance);\n      if (hasCustomDebugRenderTreeLifecycle(_manager2)) {\n        var nodes = _manager2.getDebugCustomRenderTree(_instance.definition.state, _instance.state, args, moduleName);\n        nodes.forEach(node => {\n          var {\n            bucket\n          } = node;\n          vm.env.debugRenderTree.create(bucket, node);\n          (0, _destroyable2.registerDestructor)(_instance, () => {\n            var _a;\n            (_a = vm.env.debugRenderTree) === null || _a === void 0 ? void 0 : _a.willDestroy(bucket);\n          });\n          vm.updateWith(new DebugRenderTreeUpdateOpcode(bucket));\n        });\n      } else {\n        var name = (_a = _definition.resolvedName) !== null && _a !== void 0 ? _a : _manager2.getDebugName(_definition.state);\n        vm.env.debugRenderTree.create(_instance, {\n          type: 'component',\n          name,\n          args,\n          template: moduleName,\n          instance: (0, _reference.valueForRef)(selfRef)\n        });\n        vm.associateDestroyable(_instance);\n        (0, _destroyable2.registerDestructor)(_instance, () => {\n          var _a;\n          (_a = vm.env.debugRenderTree) === null || _a === void 0 ? void 0 : _a.willDestroy(_instance);\n        });\n        vm.updateWith(new DebugRenderTreeUpdateOpcode(_instance));\n      }\n    }\n    vm.stack.push(selfRef);\n  });\n  APPEND_OPCODES.add(91\n  /* GetComponentTagName */, (vm, {\n    op1: _state\n  }) => {\n    var {\n      definition,\n      state\n    } = vm.fetchValue(_state);\n    var {\n      manager\n    } = definition;\n    var tagName = manager.getTagName(state); // User provided value from JS, so we don't bother to encode\n\n    vm.stack.push(tagName);\n  }); // Dynamic Invocation Only\n\n  APPEND_OPCODES.add(92\n  /* GetComponentLayout */, (vm, {\n    op1: _state\n  }) => {\n    var instance = vm.fetchValue(_state);\n    var {\n      manager,\n      definition\n    } = instance;\n    var {\n      stack\n    } = vm;\n    var {\n      compilable\n    } = definition;\n    if (compilable === null) {\n      var {\n        capabilities\n      } = instance;\n      compilable = manager.getDynamicLayout(instance.state, vm.runtime.resolver);\n      if (compilable === null) {\n        if ((0, _manager5.managerHasCapability)(manager, capabilities, 1024\n        /* Wrapped */)) {\n          compilable = (0, _util.unwrapTemplate)(vm[CONSTANTS].defaultTemplate).asWrappedLayout();\n        } else {\n          compilable = (0, _util.unwrapTemplate)(vm[CONSTANTS].defaultTemplate).asLayout();\n        }\n      }\n    }\n    var handle = compilable.compile(vm.context);\n    stack.push(compilable.symbolTable);\n    stack.push(handle);\n  });\n  APPEND_OPCODES.add(75\n  /* Main */, (vm, {\n    op1: register\n  }) => {\n    var definition = vm.stack.pop();\n    var invocation = vm.stack.pop();\n    var {\n      manager,\n      capabilities\n    } = definition;\n    var state = {\n      definition,\n      manager,\n      capabilities,\n      state: null,\n      handle: invocation.handle,\n      table: invocation.symbolTable,\n      lookup: null\n    };\n    vm.loadValue(register, state);\n  });\n  APPEND_OPCODES.add(95\n  /* PopulateLayout */, (vm, {\n    op1: _state\n  }) => {\n    var {\n      stack\n    } = vm; // In DEBUG handles could be ErrHandle objects\n\n    var handle = stack.pop();\n    var table = stack.pop();\n    var state = vm.fetchValue(_state);\n    state.handle = handle;\n    state.table = table;\n  });\n  APPEND_OPCODES.add(38\n  /* VirtualRootScope */, (vm, {\n    op1: _state\n  }) => {\n    var {\n      table,\n      manager,\n      capabilities,\n      state\n    } = vm.fetchValue(_state);\n    var owner;\n    if ((0, _manager5.managerHasCapability)(manager, capabilities, 4096\n    /* HasSubOwner */)) {\n      owner = manager.getOwner(state);\n      vm.loadValue(_vm2.$t1, null); // Clear the temp register\n    } else {\n      // Check the temp register to see if an owner was resolved from currying\n      owner = vm.fetchValue(_vm2.$t1);\n      if (owner === null) {\n        // If an owner wasn't found, default to using the current owner. This\n        // will happen for normal dynamic component invocation,\n        // e.g. <SomeClassicEmberComponent/>\n        owner = vm.getOwner();\n      } else {\n        // Else the owner was found, so clear the temp register. This will happen\n        // if we are loading a curried component, e.g. <@someCurriedComponent/>\n        vm.loadValue(_vm2.$t1, null);\n      }\n    }\n    vm.pushRootScope(table.symbols.length + 1, owner);\n  });\n  APPEND_OPCODES.add(94\n  /* SetupForEval */, (vm, {\n    op1: _state\n  }) => {\n    var state = vm.fetchValue(_state);\n    if (state.table.hasEval) {\n      var lookup = state.lookup = (0, _util.dict)();\n      vm.scope().bindEvalScope(lookup);\n    }\n  });\n  APPEND_OPCODES.add(17\n  /* SetNamedVariables */, (vm, {\n    op1: _state\n  }) => {\n    var state = vm.fetchValue(_state);\n    var scope = vm.scope();\n    var args = vm.stack.peek();\n    var callerNames = args.named.atNames;\n    for (var i = callerNames.length - 1; i >= 0; i--) {\n      var atName = callerNames[i];\n      var symbol$$1 = state.table.symbols.indexOf(callerNames[i]);\n      var value = args.named.get(atName, true);\n      if (symbol$$1 !== -1) scope.bindSymbol(symbol$$1 + 1, value);\n      if (state.lookup) state.lookup[atName] = value;\n    }\n  });\n  function bindBlock(symbolName, blockName, state, blocks, vm) {\n    var symbol$$1 = state.table.symbols.indexOf(symbolName);\n    var block = blocks.get(blockName);\n    if (symbol$$1 !== -1) vm.scope().bindBlock(symbol$$1 + 1, block);\n    if (state.lookup) state.lookup[symbolName] = block;\n  }\n  APPEND_OPCODES.add(18\n  /* SetBlocks */, (vm, {\n    op1: _state\n  }) => {\n    var state = vm.fetchValue(_state);\n    var {\n      blocks\n    } = vm.stack.peek();\n    for (var i = 0; i < blocks.names.length; i++) {\n      bindBlock(blocks.symbolNames[i], blocks.names[i], state, blocks, vm);\n    }\n  }); // Dynamic Invocation Only\n\n  APPEND_OPCODES.add(96\n  /* InvokeComponentLayout */, (vm, {\n    op1: _state\n  }) => {\n    var state = vm.fetchValue(_state);\n    vm.call(state.handle);\n  });\n  APPEND_OPCODES.add(100\n  /* DidRenderLayout */, (vm, {\n    op1: _state\n  }) => {\n    var instance = vm.fetchValue(_state);\n    var {\n      manager,\n      state,\n      capabilities\n    } = instance;\n    var bounds = vm.elements().popBlock();\n    if (vm.env.debugRenderTree !== undefined) {\n      if (hasCustomDebugRenderTreeLifecycle(manager)) {\n        var nodes = manager.getDebugCustomRenderTree(instance.definition.state, state, EMPTY_ARGS);\n        nodes.reverse().forEach(node => {\n          var {\n            bucket\n          } = node;\n          vm.env.debugRenderTree.didRender(bucket, bounds);\n          vm.updateWith(new DebugRenderTreeDidRenderOpcode(bucket, bounds));\n        });\n      } else {\n        vm.env.debugRenderTree.didRender(instance, bounds);\n        vm.updateWith(new DebugRenderTreeDidRenderOpcode(instance, bounds));\n      }\n    }\n    if ((0, _manager5.managerHasCapability)(manager, capabilities, 512\n    /* CreateInstance */)) {\n      var mgr = manager;\n      mgr.didRenderLayout(state, bounds);\n      vm.env.didCreate(instance);\n      vm.updateWith(new DidUpdateLayoutOpcode(instance, bounds));\n    }\n  });\n  APPEND_OPCODES.add(98\n  /* CommitComponentTransaction */, vm => {\n    vm.commitCacheGroup();\n  });\n  class UpdateComponentOpcode {\n    constructor(component, manager, dynamicScope) {\n      this.component = component;\n      this.manager = manager;\n      this.dynamicScope = dynamicScope;\n    }\n    evaluate(_vm) {\n      var {\n        component,\n        manager,\n        dynamicScope\n      } = this;\n      manager.update(component, dynamicScope);\n    }\n  }\n  class DidUpdateLayoutOpcode {\n    constructor(component, bounds) {\n      this.component = component;\n      this.bounds = bounds;\n    }\n    evaluate(vm) {\n      var {\n        component,\n        bounds\n      } = this;\n      var {\n        manager,\n        state\n      } = component;\n      manager.didUpdateLayout(state, bounds);\n      vm.env.didUpdate(component);\n    }\n  }\n  class DebugRenderTreeUpdateOpcode {\n    constructor(bucket) {\n      this.bucket = bucket;\n    }\n    evaluate(vm) {\n      var _a;\n      (_a = vm.env.debugRenderTree) === null || _a === void 0 ? void 0 : _a.update(this.bucket);\n    }\n  }\n  class DebugRenderTreeDidRenderOpcode {\n    constructor(bucket, bounds) {\n      this.bucket = bucket;\n      this.bounds = bounds;\n    }\n    evaluate(vm) {\n      var _a;\n      (_a = vm.env.debugRenderTree) === null || _a === void 0 ? void 0 : _a.didRender(this.bucket, this.bounds);\n    }\n  }\n  class DynamicTextContent {\n    constructor(node, reference, lastValue) {\n      this.node = node;\n      this.reference = reference;\n      this.lastValue = lastValue;\n    }\n    evaluate() {\n      var value = (0, _reference.valueForRef)(this.reference);\n      var {\n        lastValue\n      } = this;\n      if (value === lastValue) return;\n      var normalized;\n      if (isEmpty(value)) {\n        normalized = '';\n      } else if (isString(value)) {\n        normalized = value;\n      } else {\n        normalized = String(value);\n      }\n      if (normalized !== lastValue) {\n        var textNode = this.node;\n        textNode.nodeValue = this.lastValue = normalized;\n      }\n    }\n  }\n  function toContentType(value) {\n    if (shouldCoerce(value)) {\n      return 2\n      /* String */;\n    } else if (isCurriedType(value, 0\n    /* Component */) || (0, _manager5.hasInternalComponentManager)(value)) {\n      return 0\n      /* Component */;\n    } else if (isCurriedType(value, 1\n    /* Helper */) || (0, _manager5.hasInternalHelperManager)(value)) {\n      return 1\n      /* Helper */;\n    } else if (isSafeString(value)) {\n      return 4\n      /* SafeString */;\n    } else if (isFragment(value)) {\n      return 5\n      /* Fragment */;\n    } else if (isNode(value)) {\n      return 6\n      /* Node */;\n    } else {\n      return 2\n      /* String */;\n    }\n  }\n  function toDynamicContentType(value) {\n    if (!(0, _util.isObject)(value)) {\n      return 2\n      /* String */;\n    }\n    if (isCurriedType(value, 0\n    /* Component */) || (0, _manager5.hasInternalComponentManager)(value)) {\n      return 0\n      /* Component */;\n    } else {\n      if (true /* DEBUG */ && !isCurriedType(value, 1\n      /* Helper */) && !(0, _manager5.hasInternalHelperManager)(value)) {\n        throw new Error(`Attempted use a dynamic value as a component or helper, but that value did not have an associated component or helper manager. The value was: ${value}`);\n      }\n      return 1\n      /* Helper */;\n    }\n  }\n  APPEND_OPCODES.add(76\n  /* ContentType */, vm => {\n    var reference = vm.stack.peek();\n    vm.stack.push(toContentType((0, _reference.valueForRef)(reference)));\n    if (!(0, _reference.isConstRef)(reference)) {\n      vm.updateWith(new AssertFilter(reference, toContentType));\n    }\n  });\n  APPEND_OPCODES.add(106\n  /* DynamicContentType */, vm => {\n    var reference = vm.stack.peek();\n    vm.stack.push(toDynamicContentType((0, _reference.valueForRef)(reference)));\n    if (!(0, _reference.isConstRef)(reference)) {\n      vm.updateWith(new AssertFilter(reference, toDynamicContentType));\n    }\n  });\n  APPEND_OPCODES.add(43\n  /* AppendHTML */, vm => {\n    var reference = vm.stack.pop();\n    var rawValue = (0, _reference.valueForRef)(reference);\n    var value = isEmpty(rawValue) ? '' : String(rawValue);\n    vm.elements().appendDynamicHTML(value);\n  });\n  APPEND_OPCODES.add(44\n  /* AppendSafeHTML */, vm => {\n    var reference = vm.stack.pop();\n    var rawValue = (0, _reference.valueForRef)(reference).toHTML();\n    var value = isEmpty(rawValue) ? '' : rawValue;\n    vm.elements().appendDynamicHTML(value);\n  });\n  APPEND_OPCODES.add(47\n  /* AppendText */, vm => {\n    var reference = vm.stack.pop();\n    var rawValue = (0, _reference.valueForRef)(reference);\n    var value = isEmpty(rawValue) ? '' : String(rawValue);\n    var node = vm.elements().appendDynamicText(value);\n    if (!(0, _reference.isConstRef)(reference)) {\n      vm.updateWith(new DynamicTextContent(node, reference, value));\n    }\n  });\n  APPEND_OPCODES.add(45\n  /* AppendDocumentFragment */, vm => {\n    var reference = vm.stack.pop();\n    var value = (0, _reference.valueForRef)(reference);\n    vm.elements().appendDynamicFragment(value);\n  });\n  APPEND_OPCODES.add(46\n  /* AppendNode */, vm => {\n    var reference = vm.stack.pop();\n    var value = (0, _reference.valueForRef)(reference);\n    vm.elements().appendDynamicNode(value);\n  });\n  function debugCallback(context, get) {\n    // eslint-disable-next-line no-console\n    console.info('Use `context`, and `get(<path>)` to debug this template.'); // for example...\n    // eslint-disable-next-line no-unused-expressions\n\n    context === get('this'); // eslint-disable-next-line no-debugger\n\n    debugger;\n  }\n  var callback = debugCallback; // For testing purposes\n\n  function setDebuggerCallback(cb) {\n    callback = cb;\n  }\n  function resetDebuggerCallback() {\n    callback = debugCallback;\n  }\n  class ScopeInspector {\n    constructor(scope, symbols, evalInfo) {\n      this.scope = scope;\n      this.locals = (0, _util.dict)();\n      for (var i = 0; i < evalInfo.length; i++) {\n        var slot = evalInfo[i];\n        var name = symbols[slot - 1];\n        var ref = scope.getSymbol(slot);\n        this.locals[name] = ref;\n      }\n    }\n    get(path) {\n      var {\n        scope,\n        locals\n      } = this;\n      var parts = path.split('.');\n      var [head, ...tail] = path.split('.');\n      var evalScope = scope.getEvalScope();\n      var ref;\n      if (head === 'this') {\n        ref = scope.getSelf();\n      } else if (locals[head]) {\n        ref = locals[head];\n      } else if (head.indexOf('@') === 0 && evalScope[head]) {\n        ref = evalScope[head];\n      } else {\n        ref = this.scope.getSelf();\n        tail = parts;\n      }\n      return tail.reduce((r, part) => (0, _reference.childRefFor)(r, part), ref);\n    }\n  }\n  APPEND_OPCODES.add(103\n  /* Debugger */, (vm, {\n    op1: _symbols,\n    op2: _evalInfo\n  }) => {\n    var symbols = vm[CONSTANTS].getArray(_symbols);\n    var evalInfo = vm[CONSTANTS].getArray((0, _util.decodeHandle)(_evalInfo));\n    var inspector = new ScopeInspector(vm.scope(), symbols, evalInfo);\n    callback((0, _reference.valueForRef)(vm.getSelf()), path => (0, _reference.valueForRef)(inspector.get(path)));\n  });\n  APPEND_OPCODES.add(101\n  /* InvokePartial */, (vm, {\n    op1: _symbols,\n    op2: _evalInfo\n  }) => {\n    var {\n      [CONSTANTS]: constants,\n      stack\n    } = vm;\n    var name = (0, _reference.valueForRef)(stack.pop());\n    var outerScope = vm.scope();\n    var owner = outerScope.owner;\n    var outerSymbols = constants.getArray(_symbols);\n    var evalInfo = constants.getArray((0, _util.decodeHandle)(_evalInfo));\n    var definition = vm.runtime.resolver.lookupPartial(name, owner);\n    var {\n      symbolTable,\n      handle: vmHandle\n    } = definition.getPartial(vm.context);\n    {\n      var partialSymbols = symbolTable.symbols;\n      var partialScope = vm.pushRootScope(partialSymbols.length, owner);\n      var evalScope = outerScope.getEvalScope();\n      partialScope.bindEvalScope(evalScope);\n      partialScope.bindSelf(outerScope.getSelf());\n      var locals = Object.create(outerScope.getPartialMap());\n      for (var i = 0; i < evalInfo.length; i++) {\n        var slot = evalInfo[i];\n        if (slot !== -1) {\n          var _name2 = outerSymbols[slot - 1];\n          var ref = outerScope.getSymbol(slot);\n          locals[_name2] = ref;\n        }\n      }\n      if (evalScope) {\n        for (var _i3 = 0; _i3 < partialSymbols.length; _i3++) {\n          var _name3 = partialSymbols[_i3];\n          var symbol$$1 = _i3 + 1;\n          var value = evalScope[_name3];\n          if (value !== undefined) partialScope.bind(symbol$$1, value);\n        }\n      }\n      partialScope.bindPartialMap(locals);\n      vm.pushFrame(); // sp += 2\n\n      vm.call((0, _util.unwrapHandle)(vmHandle));\n    }\n  });\n  APPEND_OPCODES.add(72\n  /* EnterList */, (vm, {\n    op1: relativeStart,\n    op2: elseTarget\n  }) => {\n    var stack = vm.stack;\n    var listRef = stack.pop();\n    var keyRef = stack.pop();\n    var keyValue = (0, _reference.valueForRef)(keyRef);\n    var key = keyValue === null ? '@identity' : String(keyValue);\n    var iteratorRef = (0, _reference.createIteratorRef)(listRef, key);\n    var iterator = (0, _reference.valueForRef)(iteratorRef);\n    vm.updateWith(new AssertFilter(iteratorRef, iterator => iterator.isEmpty()));\n    if (iterator.isEmpty() === true) {\n      // TODO: Fix this offset, should be accurate\n      vm.goto(elseTarget + 1);\n    } else {\n      vm.enterList(iteratorRef, relativeStart);\n      vm.stack.push(iterator);\n    }\n  });\n  APPEND_OPCODES.add(73\n  /* ExitList */, vm => {\n    vm.exitList();\n  });\n  APPEND_OPCODES.add(74\n  /* Iterate */, (vm, {\n    op1: breaks\n  }) => {\n    var stack = vm.stack;\n    var iterator = stack.peek();\n    var item = iterator.next();\n    if (item !== null) {\n      vm.registerItem(vm.enterItem(item));\n    } else {\n      vm.goto(breaks);\n    }\n  });\n  var CAPABILITIES = {\n    dynamicLayout: false,\n    dynamicTag: false,\n    prepareArgs: false,\n    createArgs: false,\n    attributeHook: false,\n    elementHook: false,\n    createCaller: false,\n    dynamicScope: false,\n    updateHook: false,\n    createInstance: false,\n    wrapped: false,\n    willDestroy: false,\n    hasSubOwner: false\n  };\n  class TemplateOnlyComponentManager {\n    getCapabilities() {\n      return CAPABILITIES;\n    }\n    getDebugName({\n      name\n    }) {\n      return name;\n    }\n    getSelf() {\n      return _reference.NULL_REFERENCE;\n    }\n    getDestroyable() {\n      return null;\n    }\n  }\n  _exports.TemplateOnlyComponentManager = TemplateOnlyComponentManager;\n  var TEMPLATE_ONLY_COMPONENT_MANAGER = _exports.TEMPLATE_ONLY_COMPONENT_MANAGER = new TemplateOnlyComponentManager(); // This is only exported for types, don't use this class directly\n\n  class TemplateOnlyComponentDefinition {\n    constructor(moduleName = '@glimmer/component/template-only', name = '(unknown template-only component)') {\n      this.moduleName = moduleName;\n      this.name = name;\n    }\n    toString() {\n      return this.moduleName;\n    }\n  }\n  _exports.TemplateOnlyComponent = TemplateOnlyComponentDefinition;\n  (0, _manager5.setInternalComponentManager)(TEMPLATE_ONLY_COMPONENT_MANAGER, TemplateOnlyComponentDefinition.prototype);\n  /**\n    This utility function is used to declare a given component has no backing class. When the rendering engine detects this it\n    is able to perform a number of optimizations. Templates that are associated with `templateOnly()` will be rendered _as is_\n    without adding a wrapping `<div>` (or any of the other element customization behaviors of [@ember/component](/ember/release/classes/Component)).\n    Specifically, this means that the template will be rendered as \"outer HTML\".\n  \n    In general, this method will be used by build time tooling and would not be directly written in an application. However,\n    at times it may be useful to use directly to leverage the \"outer HTML\" semantics mentioned above. For example, if an addon would like\n    to use these semantics for its templates but cannot be certain it will only be consumed by applications that have enabled the\n    `template-only-glimmer-components` optional feature.\n  \n    @example\n  \n    ```js\n    import { templateOnlyComponent } from '@glimmer/runtime';\n  \n    export default templateOnlyComponent();\n    ```\n  \n    @public\n    @method templateOnly\n    @param {String} moduleName the module name that the template only component represents, this will be used for debugging purposes\n    @category EMBER_GLIMMER_SET_COMPONENT_TEMPLATE\n  */\n\n  function templateOnlyComponent(moduleName, name) {\n    return new TemplateOnlyComponentDefinition(moduleName, name);\n  }\n\n  // http://www.w3.org/TR/html/syntax.html#html-integration-point\n  var SVG_INTEGRATION_POINTS = {\n    foreignObject: 1,\n    desc: 1,\n    title: 1\n  }; // http://www.w3.org/TR/html/syntax.html#adjust-svg-attributes\n  // TODO: Adjust SVG attributes\n  // http://www.w3.org/TR/html/syntax.html#parsing-main-inforeign\n  // TODO: Adjust SVG elements\n  // http://www.w3.org/TR/html/syntax.html#parsing-main-inforeign\n\n  var BLACKLIST_TABLE = Object.create(null);\n  class DOMOperations {\n    constructor(document) {\n      this.document = document;\n      this.setupUselessElement();\n    } // split into separate method so that NodeDOMTreeConstruction\n    // can override it.\n\n    setupUselessElement() {\n      this.uselessElement = this.document.createElement('div');\n    }\n    createElement(tag, context) {\n      var isElementInSVGNamespace, isHTMLIntegrationPoint;\n      if (context) {\n        isElementInSVGNamespace = context.namespaceURI === \"http://www.w3.org/2000/svg\"\n        /* SVG */ || tag === 'svg';\n        isHTMLIntegrationPoint = !!SVG_INTEGRATION_POINTS[context.tagName];\n      } else {\n        isElementInSVGNamespace = tag === 'svg';\n        isHTMLIntegrationPoint = false;\n      }\n      if (isElementInSVGNamespace && !isHTMLIntegrationPoint) {\n        // FIXME: This does not properly handle <font> with color, face, or\n        // size attributes, which is also disallowed by the spec. We should fix\n        // this.\n        if (BLACKLIST_TABLE[tag]) {\n          throw new Error(`Cannot create a ${tag} inside an SVG context`);\n        }\n        return this.document.createElementNS(\"http://www.w3.org/2000/svg\"\n        /* SVG */, tag);\n      } else {\n        return this.document.createElement(tag);\n      }\n    }\n    insertBefore(parent, node, reference) {\n      parent.insertBefore(node, reference);\n    }\n    insertHTMLBefore(parent, nextSibling, html) {\n      if (html === '') {\n        var comment = this.createComment('');\n        parent.insertBefore(comment, nextSibling);\n        return new ConcreteBounds(parent, comment, comment);\n      }\n      var prev = nextSibling ? nextSibling.previousSibling : parent.lastChild;\n      var last;\n      if (nextSibling === null) {\n        parent.insertAdjacentHTML(\"beforeend\"\n        /* beforeend */, html);\n        last = parent.lastChild;\n      } else if (nextSibling instanceof HTMLElement) {\n        nextSibling.insertAdjacentHTML('beforebegin', html);\n        last = nextSibling.previousSibling;\n      } else {\n        // Non-element nodes do not support insertAdjacentHTML, so add an\n        // element and call it on that element. Then remove the element.\n        //\n        // This also protects Edge, IE and Firefox w/o the inspector open\n        // from merging adjacent text nodes. See ./compat/text-node-merging-fix.ts\n        var {\n          uselessElement\n        } = this;\n        parent.insertBefore(uselessElement, nextSibling);\n        uselessElement.insertAdjacentHTML(\"beforebegin\"\n        /* beforebegin */, html);\n        last = uselessElement.previousSibling;\n        parent.removeChild(uselessElement);\n      }\n      var first = prev ? prev.nextSibling : parent.firstChild;\n      return new ConcreteBounds(parent, first, last);\n    }\n    createTextNode(text) {\n      return this.document.createTextNode(text);\n    }\n    createComment(data) {\n      return this.document.createComment(data);\n    }\n  }\n  function moveNodesBefore(source, target, nextSibling) {\n    var first = source.firstChild;\n    var last = first;\n    var current = first;\n    while (current) {\n      var next = current.nextSibling;\n      target.insertBefore(current, nextSibling);\n      last = current;\n      current = next;\n    }\n    return new ConcreteBounds(target, first, last);\n  }\n  var SVG_NAMESPACE = \"http://www.w3.org/2000/svg\"\n  /* SVG */; // Patch:    insertAdjacentHTML on SVG Fix\n  // Browsers: Safari, IE, Edge, Firefox ~33-34\n  // Reason:   insertAdjacentHTML does not exist on SVG elements in Safari. It is\n  //           present but throws an exception on IE and Edge. Old versions of\n  //           Firefox create nodes in the incorrect namespace.\n  // Fix:      Since IE and Edge silently fail to create SVG nodes using\n  //           innerHTML, and because Firefox may create nodes in the incorrect\n  //           namespace using innerHTML on SVG elements, an HTML-string wrapping\n  //           approach is used. A pre/post SVG tag is added to the string, then\n  //           that whole string is added to a div. The created nodes are plucked\n  //           out and applied to the target location on DOM.\n\n  function applySVGInnerHTMLFix(document, DOMClass, svgNamespace) {\n    if (!document) return DOMClass;\n    if (!shouldApplyFix(document, svgNamespace)) {\n      return DOMClass;\n    }\n    var div = document.createElement('div');\n    return class DOMChangesWithSVGInnerHTMLFix extends DOMClass {\n      insertHTMLBefore(parent, nextSibling, html) {\n        if (html === '') {\n          return super.insertHTMLBefore(parent, nextSibling, html);\n        }\n        if (parent.namespaceURI !== svgNamespace) {\n          return super.insertHTMLBefore(parent, nextSibling, html);\n        }\n        return fixSVG(parent, div, html, nextSibling);\n      }\n    };\n  }\n  function fixSVG(parent, div, html, reference) {\n    var source; // This is important, because descendants of the <foreignObject> integration\n    // point are parsed in the HTML namespace\n\n    if (parent.tagName.toUpperCase() === 'FOREIGNOBJECT') {\n      // IE, Edge: also do not correctly support using `innerHTML` on SVG\n      // namespaced elements. So here a wrapper is used.\n      var wrappedHtml = '<svg><foreignObject>' + html + '</foreignObject></svg>';\n      (0, _util.clearElement)(div);\n      div.insertAdjacentHTML(\"afterbegin\"\n      /* afterbegin */, wrappedHtml);\n      source = div.firstChild.firstChild;\n    } else {\n      // IE, Edge: also do not correctly support using `innerHTML` on SVG\n      // namespaced elements. So here a wrapper is used.\n      var _wrappedHtml = '<svg>' + html + '</svg>';\n      (0, _util.clearElement)(div);\n      div.insertAdjacentHTML(\"afterbegin\"\n      /* afterbegin */, _wrappedHtml);\n      source = div.firstChild;\n    }\n    return moveNodesBefore(source, parent, reference);\n  }\n  function shouldApplyFix(document, svgNamespace) {\n    var svg = document.createElementNS(svgNamespace, 'svg');\n    try {\n      svg.insertAdjacentHTML(\"beforeend\"\n      /* beforeend */, '<circle></circle>');\n    } catch (e) {// IE, Edge: Will throw, insertAdjacentHTML is unsupported on SVG\n      // Safari: Will throw, insertAdjacentHTML is not present on SVG\n    } finally {\n      // FF: Old versions will create a node in the wrong namespace\n      if (svg.childNodes.length === 1 && svg.firstChild.namespaceURI === SVG_NAMESPACE) {\n        // The test worked as expected, no fix required\n        return false;\n      }\n      return true;\n    }\n  }\n\n  // Patch:    Adjacent text node merging fix\n  // Browsers: IE, Edge, Firefox w/o inspector open\n  // Reason:   These browsers will merge adjacent text nodes. For example given\n  //           <div>Hello</div> with div.insertAdjacentHTML(' world') browsers\n  //           with proper behavior will populate div.childNodes with two items.\n  //           These browsers will populate it with one merged node instead.\n  // Fix:      Add these nodes to a wrapper element, then iterate the childNodes\n  //           of that wrapper and move the nodes to their target location. Note\n  //           that potential SVG bugs will have been handled before this fix.\n  //           Note that this fix must only apply to the previous text node, as\n  //           the base implementation of `insertHTMLBefore` already handles\n  //           following text nodes correctly.\n  function applyTextNodeMergingFix(document, DOMClass) {\n    if (!document) return DOMClass;\n    if (!shouldApplyFix$1(document)) {\n      return DOMClass;\n    }\n    return class DOMChangesWithTextNodeMergingFix extends DOMClass {\n      constructor(document) {\n        super(document);\n        this.uselessComment = document.createComment('');\n      }\n      insertHTMLBefore(parent, nextSibling, html) {\n        if (html === '') {\n          return super.insertHTMLBefore(parent, nextSibling, html);\n        }\n        var didSetUselessComment = false;\n        var nextPrevious = nextSibling ? nextSibling.previousSibling : parent.lastChild;\n        if (nextPrevious && nextPrevious instanceof Text) {\n          didSetUselessComment = true;\n          parent.insertBefore(this.uselessComment, nextSibling);\n        }\n        var bounds = super.insertHTMLBefore(parent, nextSibling, html);\n        if (didSetUselessComment) {\n          parent.removeChild(this.uselessComment);\n        }\n        return bounds;\n      }\n    };\n  }\n  function shouldApplyFix$1(document) {\n    var mergingTextDiv = document.createElement('div');\n    mergingTextDiv.appendChild(document.createTextNode('first'));\n    mergingTextDiv.insertAdjacentHTML(\"beforeend\"\n    /* beforeend */, 'second');\n    if (mergingTextDiv.childNodes.length === 2) {\n      // It worked as expected, no fix required\n      return false;\n    }\n    return true;\n  }\n  ['b', 'big', 'blockquote', 'body', 'br', 'center', 'code', 'dd', 'div', 'dl', 'dt', 'em', 'embed', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'hr', 'i', 'img', 'li', 'listing', 'main', 'meta', 'nobr', 'ol', 'p', 'pre', 'ruby', 's', 'small', 'span', 'strong', 'strike', 'sub', 'sup', 'table', 'tt', 'u', 'ul', 'var'].forEach(tag => BLACKLIST_TABLE[tag] = 1);\n  var WHITESPACE = /[\\t-\\r \\xA0\\u1680\\u180E\\u2000-\\u200A\\u2028\\u2029\\u202F\\u205F\\u3000\\uFEFF]/;\n  var doc = typeof document === 'undefined' ? null : document;\n  function isWhitespace(string) {\n    return WHITESPACE.test(string);\n  }\n  var DOM;\n  (function (DOM) {\n    class TreeConstruction extends DOMOperations {\n      createElementNS(namespace, tag) {\n        return this.document.createElementNS(namespace, tag);\n      }\n      setAttribute(element, name, value, namespace = null) {\n        if (namespace) {\n          element.setAttributeNS(namespace, name, value);\n        } else {\n          element.setAttribute(name, value);\n        }\n      }\n    }\n    DOM.TreeConstruction = TreeConstruction;\n    var appliedTreeConstruction = TreeConstruction;\n    appliedTreeConstruction = applyTextNodeMergingFix(doc, appliedTreeConstruction);\n    appliedTreeConstruction = applySVGInnerHTMLFix(doc, appliedTreeConstruction, \"http://www.w3.org/2000/svg\"\n    /* SVG */);\n    DOM.DOMTreeConstruction = appliedTreeConstruction;\n  })(DOM || (DOM = {}));\n  class DOMChangesImpl extends DOMOperations {\n    constructor(document) {\n      super(document);\n      this.document = document;\n      this.namespace = null;\n    }\n    setAttribute(element, name, value) {\n      element.setAttribute(name, value);\n    }\n    removeAttribute(element, name) {\n      element.removeAttribute(name);\n    }\n    insertAfter(element, node, reference) {\n      this.insertBefore(element, node, reference.nextSibling);\n    }\n  }\n  _exports.IDOMChanges = DOMChangesImpl;\n  var helper = DOMChangesImpl;\n  helper = applyTextNodeMergingFix(doc, helper);\n  helper = applySVGInnerHTMLFix(doc, helper, \"http://www.w3.org/2000/svg\"\n  /* SVG */);\n  var helper$1 = _exports.DOMChanges = helper;\n  var DOMTreeConstruction = _exports.DOMTreeConstruction = DOM.DOMTreeConstruction;\n  var GUID = 0;\n  class Ref {\n    constructor(value) {\n      this.id = GUID++;\n      this.value = value;\n    }\n    get() {\n      return this.value;\n    }\n    release() {\n      if (true /* DEBUG */ && this.value === null) {\n        throw new Error('BUG: double release?');\n      }\n      this.value = null;\n    }\n    toString() {\n      var label = `Ref ${this.id}`;\n      if (this.value === null) {\n        return `${label} (released)`;\n      } else {\n        try {\n          return `${label}: ${this.value}`;\n        } catch (_a) {\n          return label;\n        }\n      }\n    }\n  }\n  class DebugRenderTreeImpl {\n    constructor() {\n      this.stack = new _util.Stack();\n      this.refs = new WeakMap();\n      this.roots = new Set();\n      this.nodes = new WeakMap();\n    }\n    begin() {\n      this.reset();\n    }\n    create(state, node) {\n      var internalNode = (0, _util.assign)({}, node, {\n        bounds: null,\n        refs: new Set()\n      });\n      this.nodes.set(state, internalNode);\n      this.appendChild(internalNode, state);\n      this.enter(state);\n    }\n    update(state) {\n      this.enter(state);\n    }\n    didRender(state, bounds) {\n      if (true /* DEBUG */ && this.stack.current !== state) {\n        throw new Error(`BUG: expecting ${this.stack.current}, got ${state}`);\n      }\n      this.nodeFor(state).bounds = bounds;\n      this.exit();\n    }\n    willDestroy(state) {\n      this.refs.get(state).release();\n    }\n    commit() {\n      this.reset();\n    }\n    capture() {\n      return this.captureRefs(this.roots);\n    }\n    reset() {\n      if (this.stack.size !== 0) {\n        // We probably encountered an error during the rendering loop. This will\n        // likely trigger undefined behavior and memory leaks as the error left\n        // things in an inconsistent state. It is recommended that the user\n        // refresh the page.\n        // TODO: We could warn here? But this happens all the time in our tests?\n        // Clean up the root reference to prevent errors from happening if we\n        // attempt to capture the render tree (Ember Inspector may do this)\n        var root = this.stack.toArray()[0];\n        var ref = this.refs.get(root);\n        if (ref !== undefined) {\n          this.roots.delete(ref);\n        }\n        while (!this.stack.isEmpty()) {\n          this.stack.pop();\n        }\n      }\n    }\n    enter(state) {\n      this.stack.push(state);\n    }\n    exit() {\n      if (true /* DEBUG */ && this.stack.size === 0) {\n        throw new Error('BUG: unbalanced pop');\n      }\n      this.stack.pop();\n    }\n    nodeFor(state) {\n      return this.nodes.get(state);\n    }\n    appendChild(node, state) {\n      if (true /* DEBUG */ && this.refs.has(state)) {\n        throw new Error('BUG: child already appended');\n      }\n      var parent = this.stack.current;\n      var ref = new Ref(state);\n      this.refs.set(state, ref);\n      if (parent) {\n        var parentNode = this.nodeFor(parent);\n        parentNode.refs.add(ref);\n        node.parent = parentNode;\n      } else {\n        this.roots.add(ref);\n      }\n    }\n    captureRefs(refs) {\n      var captured = [];\n      refs.forEach(ref => {\n        var state = ref.get();\n        if (state) {\n          captured.push(this.captureNode(`render-node:${ref.id}`, state));\n        } else {\n          refs.delete(ref);\n        }\n      });\n      return captured;\n    }\n    captureNode(id, state) {\n      var node = this.nodeFor(state);\n      var {\n        type,\n        name,\n        args,\n        instance,\n        refs\n      } = node;\n      var template = this.captureTemplate(node);\n      var bounds = this.captureBounds(node);\n      var children = this.captureRefs(refs);\n      return {\n        id,\n        type,\n        name,\n        args: reifyArgs(args),\n        instance,\n        template,\n        bounds,\n        children\n      };\n    }\n    captureTemplate({\n      template\n    }) {\n      return template || null;\n    }\n    captureBounds(node) {\n      var bounds = node.bounds;\n      var parentElement = bounds.parentElement();\n      var firstNode = bounds.firstNode();\n      var lastNode = bounds.lastNode();\n      return {\n        parentElement,\n        firstNode,\n        lastNode\n      };\n    }\n  }\n  var _a$1;\n  var TRANSACTION = (0, _util.symbol)('TRANSACTION');\n  class TransactionImpl {\n    constructor() {\n      this.scheduledInstallModifiers = [];\n      this.scheduledUpdateModifiers = [];\n      this.createdComponents = [];\n      this.updatedComponents = [];\n    }\n    didCreate(component) {\n      this.createdComponents.push(component);\n    }\n    didUpdate(component) {\n      this.updatedComponents.push(component);\n    }\n    scheduleInstallModifier(modifier) {\n      this.scheduledInstallModifiers.push(modifier);\n    }\n    scheduleUpdateModifier(modifier) {\n      this.scheduledUpdateModifiers.push(modifier);\n    }\n    commit() {\n      var {\n        createdComponents,\n        updatedComponents\n      } = this;\n      for (var i = 0; i < createdComponents.length; i++) {\n        var {\n          manager: _manager3,\n          state: _state2\n        } = createdComponents[i];\n        _manager3.didCreate(_state2);\n      }\n      for (var _i4 = 0; _i4 < updatedComponents.length; _i4++) {\n        var {\n          manager: _manager4,\n          state: _state3\n        } = updatedComponents[_i4];\n        _manager4.didUpdate(_state3);\n      }\n      var {\n        scheduledInstallModifiers,\n        scheduledUpdateModifiers\n      } = this; // Prevent a transpilation issue we guard against in Ember, the\n      // throw-if-closure-required issue\n\n      var manager, state;\n      for (var _i5 = 0; _i5 < scheduledInstallModifiers.length; _i5++) {\n        var modifier = scheduledInstallModifiers[_i5];\n        manager = modifier.manager;\n        state = modifier.state;\n        var modifierTag = manager.getTag(state);\n        if (modifierTag !== null) {\n          var tag = (0, _validator.track)(\n          // eslint-disable-next-line no-loop-func\n          () => manager.install(state), true /* DEBUG */ && `- While rendering:\\n  (instance of a \\`${modifier.definition.resolvedName || manager.getDebugName(modifier.definition.state)}\\` modifier)`);\n          (0, _validator.updateTag)(modifierTag, tag);\n        } else {\n          manager.install(state);\n        }\n      }\n      for (var _i6 = 0; _i6 < scheduledUpdateModifiers.length; _i6++) {\n        var _modifier = scheduledUpdateModifiers[_i6];\n        manager = _modifier.manager;\n        state = _modifier.state;\n        var _modifierTag = manager.getTag(state);\n        if (_modifierTag !== null) {\n          var _tag = (0, _validator.track)(\n          // eslint-disable-next-line no-loop-func\n          () => manager.update(state), true /* DEBUG */ && `- While rendering:\\n  (instance of a \\`${_modifier.definition.resolvedName || manager.getDebugName(_modifier.definition.state)}\\` modifier)`);\n          (0, _validator.updateTag)(_modifierTag, _tag);\n        } else {\n          manager.update(state);\n        }\n      }\n    }\n  }\n  class EnvironmentImpl {\n    constructor(options, delegate) {\n      this.delegate = delegate;\n      this[_a$1] = null; // Delegate methods and values\n\n      this.isInteractive = this.delegate.isInteractive;\n      this.debugRenderTree = this.delegate.enableDebugTooling ? new DebugRenderTreeImpl() : undefined;\n      if (options.appendOperations) {\n        this.appendOperations = options.appendOperations;\n        this.updateOperations = options.updateOperations;\n      } else if (options.document) {\n        this.appendOperations = new DOMTreeConstruction(options.document);\n        this.updateOperations = new DOMChangesImpl(options.document);\n      } else if (true /* DEBUG */) {\n        throw new Error('you must pass document or appendOperations to a new runtime');\n      }\n    }\n    getAppendOperations() {\n      return this.appendOperations;\n    }\n    getDOM() {\n      return this.updateOperations;\n    }\n    begin() {\n      var _b;\n      (_b = this.debugRenderTree) === null || _b === void 0 ? void 0 : _b.begin();\n      this[TRANSACTION] = new TransactionImpl();\n    }\n    get transaction() {\n      return this[TRANSACTION];\n    }\n    didCreate(component) {\n      this.transaction.didCreate(component);\n    }\n    didUpdate(component) {\n      this.transaction.didUpdate(component);\n    }\n    scheduleInstallModifier(modifier) {\n      if (this.isInteractive) {\n        this.transaction.scheduleInstallModifier(modifier);\n      }\n    }\n    scheduleUpdateModifier(modifier) {\n      if (this.isInteractive) {\n        this.transaction.scheduleUpdateModifier(modifier);\n      }\n    }\n    commit() {\n      var _b;\n      var transaction = this.transaction;\n      this[TRANSACTION] = null;\n      transaction.commit();\n      (_b = this.debugRenderTree) === null || _b === void 0 ? void 0 : _b.commit();\n      this.delegate.onTransactionCommit();\n    }\n  }\n  _exports.EnvironmentImpl = EnvironmentImpl;\n  _a$1 = TRANSACTION;\n  function runtimeContext(options, delegate, artifacts, resolver) {\n    return {\n      env: new EnvironmentImpl(options, delegate),\n      program: new _program.RuntimeProgramImpl(artifacts.constants, artifacts.heap),\n      resolver: resolver\n    };\n  }\n  function inTransaction(env, cb) {\n    if (!env[TRANSACTION]) {\n      env.begin();\n      try {\n        cb();\n      } finally {\n        env.commit();\n      }\n    } else {\n      cb();\n    }\n  }\n  function initializeRegistersWithSP(sp) {\n    return [0, -1, sp, 0];\n  }\n  class LowLevelVM {\n    constructor(stack, heap, program, externs, registers) {\n      this.stack = stack;\n      this.heap = heap;\n      this.program = program;\n      this.externs = externs;\n      this.registers = registers;\n      this.currentOpSize = 0;\n    }\n    fetchRegister(register) {\n      return this.registers[register];\n    }\n    loadRegister(register, value) {\n      this.registers[register] = value;\n    }\n    setPc(pc) {\n      this.registers[_vm2.$pc] = pc;\n    } // Start a new frame and save $ra and $fp on the stack\n\n    pushFrame() {\n      this.stack.push(this.registers[_vm2.$ra]);\n      this.stack.push(this.registers[_vm2.$fp]);\n      this.registers[_vm2.$fp] = this.registers[_vm2.$sp] - 1;\n    } // Restore $ra, $sp and $fp\n\n    popFrame() {\n      this.registers[_vm2.$sp] = this.registers[_vm2.$fp] - 1;\n      this.registers[_vm2.$ra] = this.stack.get(0);\n      this.registers[_vm2.$fp] = this.stack.get(1);\n    }\n    pushSmallFrame() {\n      this.stack.push(this.registers[_vm2.$ra]);\n    }\n    popSmallFrame() {\n      this.registers[_vm2.$ra] = this.stack.pop();\n    } // Jump to an address in `program`\n\n    goto(offset) {\n      this.setPc(this.target(offset));\n    }\n    target(offset) {\n      return this.registers[_vm2.$pc] + offset - this.currentOpSize;\n    } // Save $pc into $ra, then jump to a new address in `program` (jal in MIPS)\n\n    call(handle) {\n      this.registers[_vm2.$ra] = this.registers[_vm2.$pc];\n      this.setPc(this.heap.getaddr(handle));\n    } // Put a specific `program` address in $ra\n\n    returnTo(offset) {\n      this.registers[_vm2.$ra] = this.target(offset);\n    } // Return to the `program` address stored in $ra\n\n    return() {\n      this.setPc(this.registers[_vm2.$ra]);\n    }\n    nextStatement() {\n      var {\n        registers,\n        program\n      } = this;\n      var pc = registers[_vm2.$pc];\n      if (pc === -1) {\n        return null;\n      } // We have to save off the current operations size so that\n      // when we do a jump we can calculate the correct offset\n      // to where we are going. We can't simply ask for the size\n      // in a jump because we have have already incremented the\n      // program counter to the next instruction prior to executing.\n\n      var opcode = program.opcode(pc);\n      var operationSize = this.currentOpSize = opcode.size;\n      this.registers[_vm2.$pc] += operationSize;\n      return opcode;\n    }\n    evaluateOuter(opcode, vm) {\n      {\n        this.evaluateInner(opcode, vm);\n      }\n    }\n    evaluateInner(opcode, vm) {\n      if (opcode.isMachine) {\n        this.evaluateMachine(opcode);\n      } else {\n        this.evaluateSyscall(opcode, vm);\n      }\n    }\n    evaluateMachine(opcode) {\n      switch (opcode.type) {\n        case 0\n        /* PushFrame */:\n          return this.pushFrame();\n        case 1\n        /* PopFrame */:\n          return this.popFrame();\n        case 3\n        /* InvokeStatic */:\n          return this.call(opcode.op1);\n        case 2\n        /* InvokeVirtual */:\n          return this.call(this.stack.pop());\n        case 4\n        /* Jump */:\n          return this.goto(opcode.op1);\n        case 5\n        /* Return */:\n          return this.return();\n        case 6\n        /* ReturnTo */:\n          return this.returnTo(opcode.op1);\n      }\n    }\n    evaluateSyscall(opcode, vm) {\n      APPEND_OPCODES.evaluate(vm, opcode, opcode.type);\n    }\n  }\n  class UpdatingVMImpl {\n    constructor(env, {\n      alwaysRevalidate = false\n    }) {\n      this.frameStack = new _util.Stack();\n      this.env = env;\n      this.dom = env.getDOM();\n      this.alwaysRevalidate = alwaysRevalidate;\n    }\n    execute(opcodes, handler) {\n      if (true /* DEBUG */) {\n        var hasErrored = true;\n        try {\n          (0, _validator.runInTrackingTransaction)(() => this._execute(opcodes, handler), '- While rendering:'); // using a boolean here to avoid breaking ergonomics of \"pause on uncaught exceptions\"\n          // which would happen with a `catch` + `throw`\n\n          hasErrored = false;\n        } finally {\n          if (hasErrored) {\n            // eslint-disable-next-line no-console\n            console.error(`\\n\\nError occurred:\\n\\n${(0, _validator.resetTracking)()}\\n\\n`);\n          }\n        }\n      } else {\n        this._execute(opcodes, handler);\n      }\n    }\n    _execute(opcodes, handler) {\n      var {\n        frameStack\n      } = this;\n      this.try(opcodes, handler);\n      while (true) {\n        if (frameStack.isEmpty()) break;\n        var opcode = this.frame.nextStatement();\n        if (opcode === undefined) {\n          frameStack.pop();\n          continue;\n        }\n        opcode.evaluate(this);\n      }\n    }\n    get frame() {\n      return this.frameStack.current;\n    }\n    goto(index) {\n      this.frame.goto(index);\n    }\n    try(ops, handler) {\n      this.frameStack.push(new UpdatingVMFrame(ops, handler));\n    }\n    throw() {\n      this.frame.handleException();\n      this.frameStack.pop();\n    }\n  }\n  _exports.UpdatingVM = UpdatingVMImpl;\n  class ResumableVMStateImpl {\n    constructor(state, resumeCallback) {\n      this.state = state;\n      this.resumeCallback = resumeCallback;\n    }\n    resume(runtime, builder) {\n      return this.resumeCallback(runtime, this.state, builder);\n    }\n  }\n  class BlockOpcode {\n    constructor(state, runtime, bounds, children) {\n      this.state = state;\n      this.runtime = runtime;\n      this.children = children;\n      this.bounds = bounds;\n    }\n    parentElement() {\n      return this.bounds.parentElement();\n    }\n    firstNode() {\n      return this.bounds.firstNode();\n    }\n    lastNode() {\n      return this.bounds.lastNode();\n    }\n    evaluate(vm) {\n      vm.try(this.children, null);\n    }\n  }\n  class TryOpcode extends BlockOpcode {\n    constructor() {\n      super(...arguments);\n      this.type = 'try';\n    }\n    evaluate(vm) {\n      vm.try(this.children, this);\n    }\n    handleException() {\n      var {\n        state,\n        bounds,\n        runtime\n      } = this;\n      (0, _destroyable2.destroyChildren)(this);\n      var elementStack = NewElementBuilder.resume(runtime.env, bounds);\n      var vm = state.resume(runtime, elementStack);\n      var updating = [];\n      var children = this.children = [];\n      var result = vm.execute(vm => {\n        vm.pushUpdating(updating);\n        vm.updateWith(this);\n        vm.pushUpdating(children);\n      });\n      (0, _destroyable2.associateDestroyableChild)(this, result.drop);\n    }\n  }\n  class ListItemOpcode extends TryOpcode {\n    constructor(state, runtime, bounds, key, memo, value) {\n      super(state, runtime, bounds, []);\n      this.key = key;\n      this.memo = memo;\n      this.value = value;\n      this.retained = false;\n      this.index = -1;\n    }\n    updateReferences(item) {\n      this.retained = true;\n      (0, _reference.updateRef)(this.value, item.value);\n      (0, _reference.updateRef)(this.memo, item.memo);\n    }\n    shouldRemove() {\n      return !this.retained;\n    }\n    reset() {\n      this.retained = false;\n    }\n  }\n  class ListBlockOpcode extends BlockOpcode {\n    constructor(state, runtime, bounds, children, iterableRef) {\n      super(state, runtime, bounds, children);\n      this.iterableRef = iterableRef;\n      this.type = 'list-block';\n      this.opcodeMap = new Map();\n      this.marker = null;\n      this.lastIterator = (0, _reference.valueForRef)(iterableRef);\n    }\n    initializeChild(opcode) {\n      opcode.index = this.children.length - 1;\n      this.opcodeMap.set(opcode.key, opcode);\n    }\n    evaluate(vm) {\n      var iterator = (0, _reference.valueForRef)(this.iterableRef);\n      if (this.lastIterator !== iterator) {\n        var {\n          bounds\n        } = this;\n        var {\n          dom\n        } = vm;\n        var marker = this.marker = dom.createComment('');\n        dom.insertAfter(bounds.parentElement(), marker, bounds.lastNode());\n        this.sync(iterator);\n        this.parentElement().removeChild(marker);\n        this.marker = null;\n        this.lastIterator = iterator;\n      } // Run now-updated updating opcodes\n\n      super.evaluate(vm);\n    }\n    sync(iterator) {\n      var {\n        opcodeMap: itemMap,\n        children\n      } = this;\n      var currentOpcodeIndex = 0;\n      var seenIndex = 0;\n      this.children = this.bounds.boundList = [];\n      while (true) {\n        var item = iterator.next();\n        if (item === null) break;\n        var opcode = children[currentOpcodeIndex];\n        var {\n          key\n        } = item; // Items that have already been found and moved will already be retained,\n        // we can continue until we find the next unretained item\n\n        while (opcode !== undefined && opcode.retained === true) {\n          opcode = children[++currentOpcodeIndex];\n        }\n        if (opcode !== undefined && opcode.key === key) {\n          this.retainItem(opcode, item);\n          currentOpcodeIndex++;\n        } else if (itemMap.has(key)) {\n          var itemOpcode = itemMap.get(key); // The item opcode was seen already, so we should move it.\n\n          if (itemOpcode.index < seenIndex) {\n            this.moveItem(itemOpcode, item, opcode);\n          } else {\n            // Update the seen index, we are going to be moving this item around\n            // so any other items that come before it will likely need to move as\n            // well.\n            seenIndex = itemOpcode.index;\n            var seenUnretained = false; // iterate through all of the opcodes between the current position and\n            // the position of the item's opcode, and determine if they are all\n            // retained.\n\n            for (var i = currentOpcodeIndex + 1; i < seenIndex; i++) {\n              if (children[i].retained === false) {\n                seenUnretained = true;\n                break;\n              }\n            } // If we have seen only retained opcodes between this and the matching\n            // opcode, it means that all the opcodes in between have been moved\n            // already, and we can safely retain this item's opcode.\n\n            if (seenUnretained === false) {\n              this.retainItem(itemOpcode, item);\n              currentOpcodeIndex = seenIndex + 1;\n            } else {\n              this.moveItem(itemOpcode, item, opcode);\n              currentOpcodeIndex++;\n            }\n          }\n        } else {\n          this.insertItem(item, opcode);\n        }\n      }\n      for (var _i7 = 0; _i7 < children.length; _i7++) {\n        var _opcode = children[_i7];\n        if (_opcode.retained === false) {\n          this.deleteItem(_opcode);\n        } else {\n          _opcode.reset();\n        }\n      }\n    }\n    retainItem(opcode, item) {\n      var {\n        children\n      } = this;\n      (0, _reference.updateRef)(opcode.memo, item.memo);\n      (0, _reference.updateRef)(opcode.value, item.value);\n      opcode.retained = true;\n      opcode.index = children.length;\n      children.push(opcode);\n    }\n    insertItem(item, before) {\n      var {\n        opcodeMap,\n        bounds,\n        state,\n        runtime,\n        children\n      } = this;\n      var {\n        key\n      } = item;\n      var nextSibling = before === undefined ? this.marker : before.firstNode();\n      var elementStack = NewElementBuilder.forInitialRender(runtime.env, {\n        element: bounds.parentElement(),\n        nextSibling\n      });\n      var vm = state.resume(runtime, elementStack);\n      vm.execute(vm => {\n        vm.pushUpdating();\n        var opcode = vm.enterItem(item);\n        opcode.index = children.length;\n        children.push(opcode);\n        opcodeMap.set(key, opcode);\n        (0, _destroyable2.associateDestroyableChild)(this, opcode);\n      });\n    }\n    moveItem(opcode, item, before) {\n      var {\n        children\n      } = this;\n      (0, _reference.updateRef)(opcode.memo, item.memo);\n      (0, _reference.updateRef)(opcode.value, item.value);\n      opcode.retained = true;\n      var currentSibling, nextSibling;\n      if (before === undefined) {\n        move(opcode, this.marker);\n      } else {\n        currentSibling = opcode.lastNode().nextSibling;\n        nextSibling = before.firstNode(); // Items are moved throughout the algorithm, so there are cases where the\n        // the items already happen to be siblings (e.g. an item in between was\n        // moved before this move happened). Check to see if they are siblings\n        // first before doing the move.\n\n        if (currentSibling !== nextSibling) {\n          move(opcode, nextSibling);\n        }\n      }\n      opcode.index = children.length;\n      children.push(opcode);\n    }\n    deleteItem(opcode) {\n      (0, _destroyable2.destroy)(opcode);\n      clear(opcode);\n      this.opcodeMap.delete(opcode.key);\n    }\n  }\n  class UpdatingVMFrame {\n    constructor(ops, exceptionHandler) {\n      this.ops = ops;\n      this.exceptionHandler = exceptionHandler;\n      this.current = 0;\n    }\n    goto(index) {\n      this.current = index;\n    }\n    nextStatement() {\n      return this.ops[this.current++];\n    }\n    handleException() {\n      if (this.exceptionHandler) {\n        this.exceptionHandler.handleException();\n      }\n    }\n  }\n  class RenderResultImpl {\n    constructor(env, updating, bounds, drop) {\n      this.env = env;\n      this.updating = updating;\n      this.bounds = bounds;\n      this.drop = drop;\n      (0, _destroyable2.associateDestroyableChild)(this, drop);\n      (0, _destroyable2.registerDestructor)(this, () => clear(this.bounds));\n    }\n    rerender({\n      alwaysRevalidate = false\n    } = {\n      alwaysRevalidate: false\n    }) {\n      var {\n        env,\n        updating\n      } = this;\n      var vm = new UpdatingVMImpl(env, {\n        alwaysRevalidate\n      });\n      vm.execute(updating, this);\n    }\n    parentElement() {\n      return this.bounds.parentElement();\n    }\n    firstNode() {\n      return this.bounds.firstNode();\n    }\n    lastNode() {\n      return this.bounds.lastNode();\n    }\n    handleException() {\n      throw 'this should never happen';\n    }\n  }\n  class EvaluationStackImpl {\n    // fp -> sp\n    constructor(stack = [], registers) {\n      this.stack = stack;\n      this[REGISTERS] = registers;\n    }\n    static restore(snapshot) {\n      return new this(snapshot.slice(), initializeRegistersWithSP(snapshot.length - 1));\n    }\n    push(value) {\n      this.stack[++this[REGISTERS][_vm2.$sp]] = value;\n    }\n    dup(position = this[REGISTERS][_vm2.$sp]) {\n      this.stack[++this[REGISTERS][_vm2.$sp]] = this.stack[position];\n    }\n    copy(from, to) {\n      this.stack[to] = this.stack[from];\n    }\n    pop(n = 1) {\n      var top = this.stack[this[REGISTERS][_vm2.$sp]];\n      this[REGISTERS][_vm2.$sp] -= n;\n      return top;\n    }\n    peek(offset = 0) {\n      return this.stack[this[REGISTERS][_vm2.$sp] - offset];\n    }\n    get(offset, base = this[REGISTERS][_vm2.$fp]) {\n      return this.stack[base + offset];\n    }\n    set(value, offset, base = this[REGISTERS][_vm2.$fp]) {\n      this.stack[base + offset] = value;\n    }\n    slice(start, end) {\n      return this.stack.slice(start, end);\n    }\n    capture(items) {\n      var end = this[REGISTERS][_vm2.$sp] + 1;\n      var start = end - items;\n      return this.stack.slice(start, end);\n    }\n    reset() {\n      this.stack.length = 0;\n    }\n    toArray() {\n      return this.stack.slice(this[REGISTERS][_vm2.$fp], this[REGISTERS][_vm2.$sp] + 1);\n    }\n  }\n  var _a$2, _b;\n  class Stacks {\n    constructor() {\n      this.scope = new _util.Stack();\n      this.dynamicScope = new _util.Stack();\n      this.updating = new _util.Stack();\n      this.cache = new _util.Stack();\n      this.list = new _util.Stack();\n    }\n  }\n  class VM {\n    /**\n     * End of migrated.\n     */\n    constructor(runtime, {\n      pc,\n      scope,\n      dynamicScope,\n      stack\n    }, elementStack, context) {\n      this.runtime = runtime;\n      this.elementStack = elementStack;\n      this.context = context;\n      this[_a$2] = new Stacks();\n      this[_b] = new _util.Stack();\n      this.s0 = null;\n      this.s1 = null;\n      this.t0 = null;\n      this.t1 = null;\n      this.v0 = null;\n      this.resume = initVM(this.context);\n      if (true /* DEBUG */) {\n        (0, _globalContext.assertGlobalContextWasSet)();\n      }\n      var evalStack = EvaluationStackImpl.restore(stack);\n      evalStack[REGISTERS][_vm2.$pc] = pc;\n      evalStack[REGISTERS][_vm2.$sp] = stack.length - 1;\n      evalStack[REGISTERS][_vm2.$fp] = -1;\n      this[HEAP] = this.program.heap;\n      this[CONSTANTS] = this.program.constants;\n      this.elementStack = elementStack;\n      this[STACKS].scope.push(scope);\n      this[STACKS].dynamicScope.push(dynamicScope);\n      this[ARGS] = new VMArgumentsImpl();\n      this[INNER_VM] = new LowLevelVM(evalStack, this[HEAP], runtime.program, {\n        debugBefore: opcode => {\n          return APPEND_OPCODES.debugBefore(this, opcode);\n        },\n        debugAfter: state => {\n          APPEND_OPCODES.debugAfter(this, state);\n        }\n      }, evalStack[REGISTERS]);\n      this.destructor = {};\n      this[DESTROYABLE_STACK].push(this.destructor);\n    }\n    get stack() {\n      return this[INNER_VM].stack;\n    }\n    /* Registers */\n\n    get pc() {\n      return this[INNER_VM].fetchRegister(_vm2.$pc);\n    } // Fetch a value from a register onto the stack\n\n    fetch(register) {\n      var value = this.fetchValue(register);\n      this.stack.push(value);\n    } // Load a value from the stack into a register\n\n    load(register) {\n      var value = this.stack.pop();\n      this.loadValue(register, value);\n    }\n    fetchValue(register) {\n      if ((0, _vm2.isLowLevelRegister)(register)) {\n        return this[INNER_VM].fetchRegister(register);\n      }\n      switch (register) {\n        case _vm2.$s0:\n          return this.s0;\n        case _vm2.$s1:\n          return this.s1;\n        case _vm2.$t0:\n          return this.t0;\n        case _vm2.$t1:\n          return this.t1;\n        case _vm2.$v0:\n          return this.v0;\n      }\n    } // Load a value into a register\n\n    loadValue(register, value) {\n      if ((0, _vm2.isLowLevelRegister)(register)) {\n        this[INNER_VM].loadRegister(register, value);\n      }\n      switch (register) {\n        case _vm2.$s0:\n          this.s0 = value;\n          break;\n        case _vm2.$s1:\n          this.s1 = value;\n          break;\n        case _vm2.$t0:\n          this.t0 = value;\n          break;\n        case _vm2.$t1:\n          this.t1 = value;\n          break;\n        case _vm2.$v0:\n          this.v0 = value;\n          break;\n      }\n    }\n    /**\n     * Migrated to Inner\n     */\n    // Start a new frame and save $ra and $fp on the stack\n\n    pushFrame() {\n      this[INNER_VM].pushFrame();\n    } // Restore $ra, $sp and $fp\n\n    popFrame() {\n      this[INNER_VM].popFrame();\n    } // Jump to an address in `program`\n\n    goto(offset) {\n      this[INNER_VM].goto(offset);\n    } // Save $pc into $ra, then jump to a new address in `program` (jal in MIPS)\n\n    call(handle) {\n      this[INNER_VM].call(handle);\n    } // Put a specific `program` address in $ra\n\n    returnTo(offset) {\n      this[INNER_VM].returnTo(offset);\n    } // Return to the `program` address stored in $ra\n\n    return() {\n      this[INNER_VM].return();\n    }\n    static initial(runtime, context, {\n      handle,\n      self,\n      dynamicScope,\n      treeBuilder,\n      numSymbols,\n      owner\n    }) {\n      var scope = PartialScopeImpl.root(self, numSymbols, owner);\n      var state = vmState(runtime.program.heap.getaddr(handle), scope, dynamicScope);\n      var vm = initVM(context)(runtime, state, treeBuilder);\n      vm.pushUpdating();\n      return vm;\n    }\n    static empty(runtime, {\n      handle,\n      treeBuilder,\n      dynamicScope,\n      owner\n    }, context) {\n      var vm = initVM(context)(runtime, vmState(runtime.program.heap.getaddr(handle), PartialScopeImpl.root(_reference.UNDEFINED_REFERENCE, 0, owner), dynamicScope), treeBuilder);\n      vm.pushUpdating();\n      return vm;\n    }\n    compile(block) {\n      var handle = (0, _util.unwrapHandle)(block.compile(this.context));\n      return handle;\n    }\n    get program() {\n      return this.runtime.program;\n    }\n    get env() {\n      return this.runtime.env;\n    }\n    captureState(args, pc = this[INNER_VM].fetchRegister(_vm2.$pc)) {\n      return {\n        pc,\n        scope: this.scope(),\n        dynamicScope: this.dynamicScope(),\n        stack: this.stack.capture(args)\n      };\n    }\n    capture(args, pc = this[INNER_VM].fetchRegister(_vm2.$pc)) {\n      return new ResumableVMStateImpl(this.captureState(args, pc), this.resume);\n    }\n    beginCacheGroup(name) {\n      var opcodes = this.updating();\n      var guard = new JumpIfNotModifiedOpcode();\n      opcodes.push(guard);\n      opcodes.push(new BeginTrackFrameOpcode(name));\n      this[STACKS].cache.push(guard);\n      (0, _validator.beginTrackFrame)(name);\n    }\n    commitCacheGroup() {\n      var opcodes = this.updating();\n      var guard = this[STACKS].cache.pop();\n      var tag = (0, _validator.endTrackFrame)();\n      opcodes.push(new EndTrackFrameOpcode(guard));\n      guard.finalize(tag, opcodes.length);\n    }\n    enter(args) {\n      var updating = [];\n      var state = this.capture(args);\n      var block = this.elements().pushUpdatableBlock();\n      var tryOpcode = new TryOpcode(state, this.runtime, block, updating);\n      this.didEnter(tryOpcode);\n    }\n    enterItem({\n      key,\n      value,\n      memo\n    }) {\n      var {\n        stack\n      } = this;\n      var valueRef = (0, _reference.createIteratorItemRef)(value);\n      var memoRef = (0, _reference.createIteratorItemRef)(memo);\n      stack.push(valueRef);\n      stack.push(memoRef);\n      var state = this.capture(2);\n      var block = this.elements().pushUpdatableBlock();\n      var opcode = new ListItemOpcode(state, this.runtime, block, key, memoRef, valueRef);\n      this.didEnter(opcode);\n      return opcode;\n    }\n    registerItem(opcode) {\n      this.listBlock().initializeChild(opcode);\n    }\n    enterList(iterableRef, offset) {\n      var updating = [];\n      var addr = this[INNER_VM].target(offset);\n      var state = this.capture(0, addr);\n      var list = this.elements().pushBlockList(updating);\n      var opcode = new ListBlockOpcode(state, this.runtime, list, updating, iterableRef);\n      this[STACKS].list.push(opcode);\n      this.didEnter(opcode);\n    }\n    didEnter(opcode) {\n      this.associateDestroyable(opcode);\n      this[DESTROYABLE_STACK].push(opcode);\n      this.updateWith(opcode);\n      this.pushUpdating(opcode.children);\n    }\n    exit() {\n      this[DESTROYABLE_STACK].pop();\n      this.elements().popBlock();\n      this.popUpdating();\n    }\n    exitList() {\n      this.exit();\n      this[STACKS].list.pop();\n    }\n    pushUpdating(list = []) {\n      this[STACKS].updating.push(list);\n    }\n    popUpdating() {\n      return this[STACKS].updating.pop();\n    }\n    updateWith(opcode) {\n      this.updating().push(opcode);\n    }\n    listBlock() {\n      return this[STACKS].list.current;\n    }\n    associateDestroyable(child) {\n      var parent = this[DESTROYABLE_STACK].current;\n      (0, _destroyable2.associateDestroyableChild)(parent, child);\n    }\n    tryUpdating() {\n      return this[STACKS].updating.current;\n    }\n    updating() {\n      return this[STACKS].updating.current;\n    }\n    elements() {\n      return this.elementStack;\n    }\n    scope() {\n      return this[STACKS].scope.current;\n    }\n    dynamicScope() {\n      return this[STACKS].dynamicScope.current;\n    }\n    pushChildScope() {\n      this[STACKS].scope.push(this.scope().child());\n    }\n    pushDynamicScope() {\n      var child = this.dynamicScope().child();\n      this[STACKS].dynamicScope.push(child);\n      return child;\n    }\n    pushRootScope(size, owner) {\n      var scope = PartialScopeImpl.sized(size, owner);\n      this[STACKS].scope.push(scope);\n      return scope;\n    }\n    pushScope(scope) {\n      this[STACKS].scope.push(scope);\n    }\n    popScope() {\n      this[STACKS].scope.pop();\n    }\n    popDynamicScope() {\n      this[STACKS].dynamicScope.pop();\n    } /// SCOPE HELPERS\n\n    getOwner() {\n      return this.scope().owner;\n    }\n    getSelf() {\n      return this.scope().getSelf();\n    }\n    referenceForSymbol(symbol$$1) {\n      return this.scope().getSymbol(symbol$$1);\n    } /// EXECUTION\n\n    execute(initialize) {\n      if (true /* DEBUG */) {\n        var hasErrored = true;\n        try {\n          var value = this._execute(initialize); // using a boolean here to avoid breaking ergonomics of \"pause on uncaught exceptions\"\n          // which would happen with a `catch` + `throw`\n\n          hasErrored = false;\n          return value;\n        } finally {\n          if (hasErrored) {\n            // If any existing blocks are open, due to an error or something like\n            // that, we need to close them all and clean things up properly.\n            var elements = this.elements();\n            while (elements.hasBlocks) {\n              elements.popBlock();\n            } // eslint-disable-next-line no-console\n\n            console.error(`\\n\\nError occurred:\\n\\n${(0, _validator.resetTracking)()}\\n\\n`);\n          }\n        }\n      } else {\n        return this._execute(initialize);\n      }\n    }\n    _execute(initialize) {\n      if (initialize) initialize(this);\n      var result;\n      while (true) {\n        result = this.next();\n        if (result.done) break;\n      }\n      return result.value;\n    }\n    next() {\n      var {\n        env,\n        elementStack\n      } = this;\n      var opcode = this[INNER_VM].nextStatement();\n      var result;\n      if (opcode !== null) {\n        this[INNER_VM].evaluateOuter(opcode, this);\n        result = {\n          done: false,\n          value: null\n        };\n      } else {\n        // Unload the stack\n        this.stack.reset();\n        result = {\n          done: true,\n          value: new RenderResultImpl(env, this.popUpdating(), elementStack.popBlock(), this.destructor)\n        };\n      }\n      return result;\n    }\n    bindDynamicScope(names) {\n      var scope = this.dynamicScope();\n      for (var i = names.length - 1; i >= 0; i--) {\n        var name = names[i];\n        scope.set(name, this.stack.pop());\n      }\n    }\n  }\n  _exports.LowLevelVM = VM;\n  _a$2 = STACKS, _b = DESTROYABLE_STACK;\n  function vmState(pc, scope, dynamicScope) {\n    return {\n      pc,\n      scope,\n      dynamicScope,\n      stack: []\n    };\n  }\n  function initVM(context) {\n    return (runtime, state, builder) => new VM(runtime, state, builder, context);\n  }\n  class TemplateIteratorImpl {\n    constructor(vm) {\n      this.vm = vm;\n    }\n    next() {\n      return this.vm.next();\n    }\n    sync() {\n      if (true /* DEBUG */) {\n        return (0, _validator.runInTrackingTransaction)(() => this.vm.execute(), '- While rendering:');\n      } else {\n        return this.vm.execute();\n      }\n    }\n  }\n  function renderSync(env, iterator) {\n    var result;\n    inTransaction(env, () => result = iterator.sync());\n    return result;\n  }\n  function renderMain(runtime, context, owner, self, treeBuilder, layout, dynamicScope = new DynamicScopeImpl()) {\n    var handle = (0, _util.unwrapHandle)(layout.compile(context));\n    var numSymbols = layout.symbolTable.symbols.length;\n    var vm = VM.initial(runtime, context, {\n      self,\n      dynamicScope,\n      treeBuilder,\n      handle,\n      numSymbols,\n      owner\n    });\n    return new TemplateIteratorImpl(vm);\n  }\n  function renderInvocation(vm, context, owner, definition, args) {\n    // Get a list of tuples of argument names and references, like\n    // [['title', reference], ['name', reference]]\n    var argList = Object.keys(args).map(key => [key, args[key]]);\n    var blockNames = ['main', 'else', 'attrs']; // Prefix argument names with `@` symbol\n\n    var argNames = argList.map(([name]) => `@${name}`);\n    var reified = vm[CONSTANTS].component(definition, owner);\n    vm.pushFrame(); // Push blocks on to the stack, three stack values per block\n\n    for (var i = 0; i < 3 * blockNames.length; i++) {\n      vm.stack.push(null);\n    }\n    vm.stack.push(null); // For each argument, push its backing reference on to the stack\n\n    argList.forEach(([, reference]) => {\n      vm.stack.push(reference);\n    }); // Configure VM based on blocks and args just pushed on to the stack.\n\n    vm[ARGS].setup(vm.stack, argNames, blockNames, 0, true);\n    var compilable = reified.compilable;\n    var layoutHandle = (0, _util.unwrapHandle)(compilable.compile(context));\n    var invocation = {\n      handle: layoutHandle,\n      symbolTable: compilable.symbolTable\n    }; // Needed for the Op.Main opcode: arguments, component invocation object, and\n    // component definition.\n\n    vm.stack.push(vm[ARGS]);\n    vm.stack.push(invocation);\n    vm.stack.push(reified);\n    return new TemplateIteratorImpl(vm);\n  }\n  function renderComponent(runtime, treeBuilder, context, owner, definition, args = {}, dynamicScope = new DynamicScopeImpl()) {\n    var vm = VM.empty(runtime, {\n      treeBuilder,\n      handle: context.stdlib.main,\n      dynamicScope,\n      owner\n    }, context);\n    return renderInvocation(vm, context, owner, definition, recordToReference(args));\n  }\n  function recordToReference(record) {\n    var root = (0, _reference.createConstRef)(record, 'args');\n    return Object.keys(record).reduce((acc, key) => {\n      acc[key] = (0, _reference.childRefFor)(root, key);\n      return acc;\n    }, {});\n  }\n  var SERIALIZATION_FIRST_NODE_STRING = _exports.SERIALIZATION_FIRST_NODE_STRING = '%+b:0%';\n  function isSerializationFirstNode(node) {\n    return node.nodeValue === SERIALIZATION_FIRST_NODE_STRING;\n  }\n  class RehydratingCursor extends CursorImpl {\n    constructor(element, nextSibling, startingBlockDepth) {\n      super(element, nextSibling);\n      this.startingBlockDepth = startingBlockDepth;\n      this.candidate = null;\n      this.injectedOmittedNode = false;\n      this.openBlockDepth = startingBlockDepth - 1;\n    }\n  }\n  class RehydrateBuilder extends NewElementBuilder {\n    constructor(env, parentNode, nextSibling) {\n      super(env, parentNode, nextSibling);\n      this.unmatchedAttributes = null;\n      this.blockDepth = 0;\n      if (nextSibling) throw new Error('Rehydration with nextSibling not supported');\n      var node = this.currentCursor.element.firstChild;\n      while (node !== null) {\n        if (isOpenBlock(node)) {\n          break;\n        }\n        node = node.nextSibling;\n      }\n      this.candidate = node;\n      var startingBlockOffset = getBlockDepth(node);\n      if (startingBlockOffset !== 0) {\n        // We are rehydrating from a partial tree and not the root component\n        // We need to add an extra block before the first block to rehydrate correctly\n        // The extra block is needed since the renderComponent API creates a synthetic component invocation which generates the extra block\n        var newBlockDepth = startingBlockOffset - 1;\n        var newCandidate = this.dom.createComment(`%+b:${newBlockDepth}%`);\n        node.parentNode.insertBefore(newCandidate, this.candidate);\n        var closingNode = node.nextSibling;\n        while (closingNode !== null) {\n          if (isCloseBlock(closingNode) && getBlockDepth(closingNode) === startingBlockOffset) {\n            break;\n          }\n          closingNode = closingNode.nextSibling;\n        }\n        var newClosingBlock = this.dom.createComment(`%-b:${newBlockDepth}%`);\n        node.parentNode.insertBefore(newClosingBlock, closingNode.nextSibling);\n        this.candidate = newCandidate;\n        this.startingBlockOffset = newBlockDepth;\n      } else {\n        this.startingBlockOffset = 0;\n      }\n    }\n    get currentCursor() {\n      return this[CURSOR_STACK].current;\n    }\n    get candidate() {\n      if (this.currentCursor) {\n        return this.currentCursor.candidate;\n      }\n      return null;\n    }\n    set candidate(node) {\n      var currentCursor = this.currentCursor;\n      currentCursor.candidate = node;\n    }\n    disableRehydration(nextSibling) {\n      var currentCursor = this.currentCursor; // rehydration will be disabled until we either:\n      // * hit popElement (and return to using the parent elements cursor)\n      // * hit closeBlock and the next sibling is a close block comment\n      //   matching the expected openBlockDepth\n\n      currentCursor.candidate = null;\n      currentCursor.nextSibling = nextSibling;\n    }\n    enableRehydration(candidate) {\n      var currentCursor = this.currentCursor;\n      currentCursor.candidate = candidate;\n      currentCursor.nextSibling = null;\n    }\n    pushElement(element, nextSibling = null) {\n      var cursor = new RehydratingCursor(element, nextSibling, this.blockDepth || 0);\n      /**\n       * <div>   <---------------  currentCursor.element\n       *   <!--%+b:1%--> <-------  would have been removed during openBlock\n       *   <div> <---------------  currentCursor.candidate -> cursor.element\n       *     <!--%+b:2%--> <-----  currentCursor.candidate.firstChild -> cursor.candidate\n       *     Foo\n       *     <!--%-b:2%-->\n       *   </div>\n       *   <!--%-b:1%-->  <------  becomes currentCursor.candidate\n       */\n\n      if (this.candidate !== null) {\n        cursor.candidate = element.firstChild;\n        this.candidate = element.nextSibling;\n      }\n      this[CURSOR_STACK].push(cursor);\n    } // clears until the end of the current container\n    // either the current open block or higher\n\n    clearMismatch(candidate) {\n      var current = candidate;\n      var currentCursor = this.currentCursor;\n      if (currentCursor !== null) {\n        var openBlockDepth = currentCursor.openBlockDepth;\n        if (openBlockDepth >= currentCursor.startingBlockDepth) {\n          while (current) {\n            if (isCloseBlock(current)) {\n              var closeBlockDepth = getBlockDepthWithOffset(current, this.startingBlockOffset);\n              if (openBlockDepth >= closeBlockDepth) {\n                break;\n              }\n            }\n            current = this.remove(current);\n          }\n        } else {\n          while (current !== null) {\n            current = this.remove(current);\n          }\n        } // current cursor parentNode should be openCandidate if element\n        // or openCandidate.parentNode if comment\n\n        this.disableRehydration(current);\n      }\n    }\n    __openBlock() {\n      var {\n        currentCursor\n      } = this;\n      if (currentCursor === null) return;\n      var blockDepth = this.blockDepth;\n      this.blockDepth++;\n      var {\n        candidate\n      } = currentCursor;\n      if (candidate === null) return;\n      var {\n        tagName\n      } = currentCursor.element;\n      if (isOpenBlock(candidate) && getBlockDepthWithOffset(candidate, this.startingBlockOffset) === blockDepth) {\n        this.candidate = this.remove(candidate);\n        currentCursor.openBlockDepth = blockDepth;\n      } else if (tagName !== 'TITLE' && tagName !== 'SCRIPT' && tagName !== 'STYLE') {\n        this.clearMismatch(candidate);\n      }\n    }\n    __closeBlock() {\n      var {\n        currentCursor\n      } = this;\n      if (currentCursor === null) return; // openBlock is the last rehydrated open block\n\n      var openBlockDepth = currentCursor.openBlockDepth; // this currently is the expected next open block depth\n\n      this.blockDepth--;\n      var {\n        candidate\n      } = currentCursor;\n      var isRehydrating = false;\n      if (candidate !== null) {\n        isRehydrating = true; //assert(\n        //  openBlockDepth === this.blockDepth,\n        //  'when rehydrating, openBlockDepth should match this.blockDepth here'\n        //);\n\n        if (isCloseBlock(candidate) && getBlockDepthWithOffset(candidate, this.startingBlockOffset) === openBlockDepth) {\n          var nextSibling = this.remove(candidate);\n          this.candidate = nextSibling;\n          currentCursor.openBlockDepth--;\n        } else {\n          // close the block and clear mismatch in parent container\n          // we will be either at the end of the element\n          // or at the end of our containing block\n          this.clearMismatch(candidate);\n          isRehydrating = false;\n        }\n      }\n      if (isRehydrating === false) {\n        // check if nextSibling matches our expected close block\n        // if so, we remove the close block comment and\n        // restore rehydration after clearMismatch disabled\n        var _nextSibling = currentCursor.nextSibling;\n        if (_nextSibling !== null && isCloseBlock(_nextSibling) && getBlockDepthWithOffset(_nextSibling, this.startingBlockOffset) === this.blockDepth) {\n          // restore rehydration state\n          var _candidate2 = this.remove(_nextSibling);\n          this.enableRehydration(_candidate2);\n          currentCursor.openBlockDepth--;\n        }\n      }\n    }\n    __appendNode(node) {\n      var {\n        candidate\n      } = this; // This code path is only used when inserting precisely one node. It needs more\n      // comparison logic, but we can probably lean on the cases where this code path\n      // is actually used.\n\n      if (candidate) {\n        return candidate;\n      } else {\n        return super.__appendNode(node);\n      }\n    }\n    __appendHTML(html) {\n      var candidateBounds = this.markerBounds();\n      if (candidateBounds) {\n        var first = candidateBounds.firstNode();\n        var last = candidateBounds.lastNode();\n        var newBounds = new ConcreteBounds(this.element, first.nextSibling, last.previousSibling);\n        var possibleEmptyMarker = this.remove(first);\n        this.remove(last);\n        if (possibleEmptyMarker !== null && isEmpty$1(possibleEmptyMarker)) {\n          this.candidate = this.remove(possibleEmptyMarker);\n          if (this.candidate !== null) {\n            this.clearMismatch(this.candidate);\n          }\n        }\n        return newBounds;\n      } else {\n        return super.__appendHTML(html);\n      }\n    }\n    remove(node) {\n      var element = node.parentNode;\n      var next = node.nextSibling;\n      element.removeChild(node);\n      return next;\n    }\n    markerBounds() {\n      var _candidate = this.candidate;\n      if (_candidate && isMarker(_candidate)) {\n        var first = _candidate;\n        var last = first.nextSibling;\n        while (last && !isMarker(last)) {\n          last = last.nextSibling;\n        }\n        return new ConcreteBounds(this.element, first, last);\n      } else {\n        return null;\n      }\n    }\n    __appendText(string) {\n      var {\n        candidate\n      } = this;\n      if (candidate) {\n        if (isTextNode(candidate)) {\n          if (candidate.nodeValue !== string) {\n            candidate.nodeValue = string;\n          }\n          this.candidate = candidate.nextSibling;\n          return candidate;\n        } else if (isSeparator(candidate)) {\n          this.candidate = this.remove(candidate);\n          return this.__appendText(string);\n        } else if (isEmpty$1(candidate) && string === '') {\n          this.candidate = this.remove(candidate);\n          return this.__appendText(string);\n        } else {\n          this.clearMismatch(candidate);\n          return super.__appendText(string);\n        }\n      } else {\n        return super.__appendText(string);\n      }\n    }\n    __appendComment(string) {\n      var _candidate = this.candidate;\n      if (_candidate && isComment(_candidate)) {\n        if (_candidate.nodeValue !== string) {\n          _candidate.nodeValue = string;\n        }\n        this.candidate = _candidate.nextSibling;\n        return _candidate;\n      } else if (_candidate) {\n        this.clearMismatch(_candidate);\n      }\n      return super.__appendComment(string);\n    }\n    __openElement(tag) {\n      var _candidate = this.candidate;\n      if (_candidate && isElement(_candidate) && isSameNodeType(_candidate, tag)) {\n        this.unmatchedAttributes = [].slice.call(_candidate.attributes);\n        return _candidate;\n      } else if (_candidate) {\n        if (isElement(_candidate) && _candidate.tagName === 'TBODY') {\n          this.pushElement(_candidate, null);\n          this.currentCursor.injectedOmittedNode = true;\n          return this.__openElement(tag);\n        }\n        this.clearMismatch(_candidate);\n      }\n      return super.__openElement(tag);\n    }\n    __setAttribute(name, value, namespace) {\n      var unmatched = this.unmatchedAttributes;\n      if (unmatched) {\n        var attr = findByName(unmatched, name);\n        if (attr) {\n          if (attr.value !== value) {\n            attr.value = value;\n          }\n          unmatched.splice(unmatched.indexOf(attr), 1);\n          return;\n        }\n      }\n      return super.__setAttribute(name, value, namespace);\n    }\n    __setProperty(name, value) {\n      var unmatched = this.unmatchedAttributes;\n      if (unmatched) {\n        var attr = findByName(unmatched, name);\n        if (attr) {\n          if (attr.value !== value) {\n            attr.value = value;\n          }\n          unmatched.splice(unmatched.indexOf(attr), 1);\n          return;\n        }\n      }\n      return super.__setProperty(name, value);\n    }\n    __flushElement(parent, constructing) {\n      var {\n        unmatchedAttributes: unmatched\n      } = this;\n      if (unmatched) {\n        for (var i = 0; i < unmatched.length; i++) {\n          this.constructing.removeAttribute(unmatched[i].name);\n        }\n        this.unmatchedAttributes = null;\n      } else {\n        super.__flushElement(parent, constructing);\n      }\n    }\n    willCloseElement() {\n      var {\n        candidate,\n        currentCursor\n      } = this;\n      if (candidate !== null) {\n        this.clearMismatch(candidate);\n      }\n      if (currentCursor && currentCursor.injectedOmittedNode) {\n        this.popElement();\n      }\n      super.willCloseElement();\n    }\n    getMarker(element, guid) {\n      var marker = element.querySelector(`script[glmr=\"${guid}\"]`);\n      if (marker) {\n        return marker;\n      }\n      return null;\n    }\n    __pushRemoteElement(element, cursorId, insertBefore) {\n      var marker = this.getMarker(element, cursorId);\n      if (insertBefore === undefined) {\n        while (element.firstChild !== null && element.firstChild !== marker) {\n          this.remove(element.firstChild);\n        }\n        insertBefore = null;\n      }\n      var cursor = new RehydratingCursor(element, null, this.blockDepth);\n      this[CURSOR_STACK].push(cursor);\n      if (marker === null) {\n        this.disableRehydration(insertBefore);\n      } else {\n        this.candidate = this.remove(marker);\n      }\n      var block = new RemoteLiveBlock(element);\n      return this.pushLiveBlock(block, true);\n    }\n    didAppendBounds(bounds) {\n      super.didAppendBounds(bounds);\n      if (this.candidate) {\n        var last = bounds.lastNode();\n        this.candidate = last && last.nextSibling;\n      }\n      return bounds;\n    }\n  }\n  _exports.RehydrateBuilder = RehydrateBuilder;\n  function isTextNode(node) {\n    return node.nodeType === 3;\n  }\n  function isComment(node) {\n    return node.nodeType === 8;\n  }\n  function isOpenBlock(node) {\n    return node.nodeType === 8\n    /* COMMENT_NODE */ && node.nodeValue.lastIndexOf('%+b:', 0) === 0;\n  }\n  function isCloseBlock(node) {\n    return node.nodeType === 8\n    /* COMMENT_NODE */ && node.nodeValue.lastIndexOf('%-b:', 0) === 0;\n  }\n  function getBlockDepth(node) {\n    return parseInt(node.nodeValue.slice(4), 10);\n  }\n  function getBlockDepthWithOffset(node, offset) {\n    return getBlockDepth(node) - offset;\n  }\n  function isElement(node) {\n    return node.nodeType === 1;\n  }\n  function isMarker(node) {\n    return node.nodeType === 8 && node.nodeValue === '%glmr%';\n  }\n  function isSeparator(node) {\n    return node.nodeType === 8 && node.nodeValue === '%|%';\n  }\n  function isEmpty$1(node) {\n    return node.nodeType === 8 && node.nodeValue === '% %';\n  }\n  function isSameNodeType(candidate, tag) {\n    if (candidate.namespaceURI === \"http://www.w3.org/2000/svg\"\n    /* SVG */) {\n      return candidate.tagName === tag;\n    }\n    return candidate.tagName === tag.toUpperCase();\n  }\n  function findByName(array, name) {\n    for (var i = 0; i < array.length; i++) {\n      var attr = array[i];\n      if (attr.name === name) return attr;\n    }\n    return undefined;\n  }\n  function rehydrationBuilder(env, cursor) {\n    return RehydrateBuilder.forInitialRender(env, cursor);\n  }\n  var ARGS_CACHES = true /* DEBUG */ ? new WeakMap() : undefined;\n  function getArgs(proxy) {\n    return (0, _validator.getValue)(true /* DEBUG */ ? ARGS_CACHES.get(proxy) : proxy.argsCache);\n  }\n  class SimpleArgsProxy {\n    constructor(context, computeArgs = () => EMPTY_ARGS) {\n      var argsCache = (0, _validator.createCache)(() => computeArgs(context));\n      if (true /* DEBUG */) {\n        ARGS_CACHES.set(this, argsCache);\n        Object.freeze(this);\n      } else {\n        this.argsCache = argsCache;\n      }\n    }\n    get named() {\n      return getArgs(this).named || EMPTY_NAMED;\n    }\n    get positional() {\n      return getArgs(this).positional || EMPTY_POSITIONAL;\n    }\n  } ////////////\n\n  function invokeHelper(context, definition, computeArgs) {\n    if (true /* DEBUG */ && (typeof context !== 'object' || context === null)) {\n      throw new Error(`Expected a context object to be passed as the first parameter to invokeHelper, got ${context}`);\n    }\n    var owner = (0, _owner2.getOwner)(context);\n    var internalManager = (0, _manager5.getInternalHelperManager)(definition); // TODO: figure out why assert isn't using the TS assert thing\n\n    if (true /* DEBUG */ && !internalManager) {\n      throw new Error(`Expected a helper definition to be passed as the second parameter to invokeHelper, but no helper manager was found. The definition value that was passed was \\`${(0, _util.debugToString)(definition)}\\`. Did you use setHelperManager to associate a helper manager with this value?`);\n    }\n    if (true /* DEBUG */ && typeof internalManager === 'function') {\n      throw new Error('Found a helper manager, but it was an internal built-in helper manager. `invokeHelper` does not support internal helpers yet.');\n    }\n    var manager = internalManager.getDelegateFor(owner);\n    var args = new SimpleArgsProxy(context, computeArgs);\n    var bucket = manager.createHelper(definition, args);\n    var cache;\n    if ((0, _manager5.hasValue)(manager)) {\n      cache = (0, _validator.createCache)(() => {\n        if (true /* DEBUG */ && ((0, _destroyable2.isDestroying)(cache) || (0, _destroyable2.isDestroyed)(cache))) {\n          throw new Error(`You attempted to get the value of a helper after the helper was destroyed, which is not allowed`);\n        }\n        return manager.getValue(bucket);\n      });\n      (0, _destroyable2.associateDestroyableChild)(context, cache);\n    } else {\n      throw new Error('TODO: unreachable, to be implemented with hasScheduledEffect');\n    }\n    if ((0, _manager5.hasDestroyable)(manager)) {\n      var destroyable = manager.getDestroyable(bucket);\n      (0, _destroyable2.associateDestroyableChild)(cache, destroyable);\n    }\n    return cache;\n  }\n  function internalHelper(helper) {\n    return (0, _manager5.setInternalHelperManager)(helper, {});\n  }\n  var context = (0, _util.buildUntouchableThis)('`fn` helper');\n  /**\n    The `fn` helper allows you to ensure a function that you are passing off\n    to another component, helper, or modifier has access to arguments that are\n    available in the template.\n  \n    For example, if you have an `each` helper looping over a number of items, you\n    may need to pass a function that expects to receive the item as an argument\n    to a component invoked within the loop. Here's how you could use the `fn`\n    helper to pass both the function and its arguments together:\n  \n      ```app/templates/components/items-listing.hbs\n    {{#each @items as |item|}}\n      <DisplayItem @item=item @select={{fn this.handleSelected item}} />\n    {{/each}}\n    ```\n  \n    ```app/components/items-list.js\n    import Component from '@glimmer/component';\n    import { action } from '@ember/object';\n  \n    export default class ItemsList extends Component {\n      handleSelected = (item) => {\n        // ...snip...\n      }\n    }\n    ```\n  \n    In this case the `display-item` component will receive a normal function\n    that it can invoke. When it invokes the function, the `handleSelected`\n    function will receive the `item` and any arguments passed, thanks to the\n    `fn` helper.\n  \n    Let's take look at what that means in a couple circumstances:\n  \n    - When invoked as `this.args.select()` the `handleSelected` function will\n      receive the `item` from the loop as its first and only argument.\n    - When invoked as `this.args.select('foo')` the `handleSelected` function\n      will receive the `item` from the loop as its first argument and the\n      string `'foo'` as its second argument.\n  \n    In the example above, we used an arrow function to ensure that\n    `handleSelected` is properly bound to the `items-list`, but let's explore what\n    happens if we left out the arrow function:\n  \n    ```app/components/items-list.js\n    import Component from '@glimmer/component';\n  \n    export default class ItemsList extends Component {\n      handleSelected(item) {\n        // ...snip...\n      }\n    }\n    ```\n  \n    In this example, when `handleSelected` is invoked inside the `display-item`\n    component, it will **not** have access to the component instance. In other\n    words, it will have no `this` context, so please make sure your functions\n    are bound (via an arrow function or other means) before passing into `fn`!\n  \n    See also [partial application](https://en.wikipedia.org/wiki/Partial_application).\n  \n    @method fn\n    @public\n  */\n\n  var fn = _exports.fn = internalHelper(({\n    positional\n  }) => {\n    var callbackRef = positional[0];\n    if (true /* DEBUG */) assertCallbackIsFn(callbackRef);\n    return (0, _reference.createComputeRef)(() => {\n      return (...invocationArgs) => {\n        var [fn, ...args] = (0, _runtime.reifyPositional)(positional);\n        if (true /* DEBUG */) assertCallbackIsFn(callbackRef);\n        if ((0, _reference.isInvokableRef)(callbackRef)) {\n          var value = args.length > 0 ? args[0] : invocationArgs[0];\n          return (0, _reference.updateRef)(callbackRef, value);\n        } else {\n          return fn.call(context, ...args, ...invocationArgs);\n        }\n      };\n    }, null, 'fn');\n  });\n  function assertCallbackIsFn(callbackRef) {\n    if (!(callbackRef && ((0, _reference.isInvokableRef)(callbackRef) || typeof (0, _reference.valueForRef)(callbackRef) === 'function'))) {\n      throw new Error(`You must pass a function as the \\`fn\\` helpers first argument, you passed ${callbackRef ? (0, _reference.valueForRef)(callbackRef) : callbackRef}. While rendering:\\n\\n${callbackRef === null || callbackRef === void 0 ? void 0 : callbackRef.debugLabel}`);\n    }\n  }\n  var wrapHashProxy;\n  if (true /* DEBUG */) {\n    wrapHashProxy = hash => {\n      return new Proxy(hash, {\n        set(target, key, value) {\n          (true && !(false) && (0, _globalContext.deprecate)(`You set the '${String(key)}' property on a {{hash}} object. Setting properties on objects generated by {{hash}} is deprecated. Please update to use an object created with a tracked property or getter, or with a custom helper.`, false, {\n            id: 'setting-on-hash'\n          }));\n          target[key] = value;\n          return true;\n        }\n      });\n    };\n  }\n  /**\n     Use the `{{hash}}` helper to create a hash to pass as an option to your\n     components. This is specially useful for contextual components where you can\n     just yield a hash:\n  \n     ```handlebars\n     {{yield (hash\n        name='Sarah'\n        title=office\n     )}}\n     ```\n  \n     Would result in an object such as:\n  \n     ```js\n     { name: 'Sarah', title: this.get('office') }\n     ```\n  \n     Where the `title` is bound to updates of the `office` property.\n  \n     Note that the hash is an empty object with no prototype chain, therefore\n     common methods like `toString` are not available in the resulting hash.\n     If you need to use such a method, you can use the `call` or `apply`\n     approach:\n  \n     ```js\n     function toString(obj) {\n       return Object.prototype.toString.apply(obj);\n     }\n     ```\n  \n     @method hash\n     @param {Object} options\n     @return {Object} Hash\n     @public\n   */\n\n  var hash = _exports.hash = internalHelper(({\n    named\n  }) => {\n    var ref = (0, _reference.createComputeRef)(() => {\n      var hash = (0, _runtime.reifyNamed)(named);\n      if (true /* DEBUG */ && _util.HAS_NATIVE_PROXY) {\n        hash = wrapHashProxy(hash);\n      }\n      return hash;\n    }, null, 'hash'); // Setup the children so that templates can bypass getting the value of\n    // the reference and treat children lazily\n\n    var children = new Map();\n    for (var name in named) {\n      children.set(name, named[name]);\n    }\n    ref.children = children;\n    return ref;\n  });\n\n  /**\n     Use the `{{array}}` helper to create an array to pass as an option to your\n     components.\n  \n     ```handlebars\n     <MyComponent @people={{array\n       'Tom Dale'\n       'Yehuda Katz'\n       this.myOtherPerson}}\n     />\n     ```\n      or\n     ```handlebars\n     {{my-component people=(array\n       'Tom Dale'\n       'Yehuda Katz'\n       this.myOtherPerson)\n     }}\n     ```\n  \n     Would result in an object such as:\n  \n     ```js\n     ['Tom Dale', 'Yehuda Katz', this.get('myOtherPerson')]\n     ```\n  \n     Where the 3rd item in the array is bound to updates of the `myOtherPerson` property.\n  \n     @method array\n     @param {Array} options\n     @return {Array} Array\n     @public\n   */\n\n  var array = _exports.array = internalHelper(({\n    positional\n  }) => {\n    return (0, _reference.createComputeRef)(() => (0, _runtime.reifyPositional)(positional), null, 'array');\n  });\n\n  /**\n    Dynamically look up a property on an object. The second argument to `{{get}}`\n    should have a string value, although it can be bound.\n  \n    For example, these two usages are equivalent:\n  \n    ```app/components/developer-detail.js\n    import Component from '@glimmer/component';\n    import { tracked } from '@glimmer/tracking';\n  \n    export default class extends Component {\n      @tracked developer = {\n        name: \"Sandi Metz\",\n        language: \"Ruby\"\n      }\n    }\n    ```\n  \n    ```handlebars\n    {{this.developer.name}}\n    {{get this.developer \"name\"}}\n    ```\n  \n    If there were several facts about a person, the `{{get}}` helper can dynamically\n    pick one:\n  \n    ```app/templates/application.hbs\n    <DeveloperDetail @factName=\"language\" />\n    ```\n  \n    ```handlebars\n    {{get this.developer @factName}}\n    ```\n  \n    For a more complex example, this template would allow the user to switch\n    between showing the user's height and weight with a click:\n  \n    ```app/components/developer-detail.js\n    import Component from '@glimmer/component';\n    import { tracked } from '@glimmer/tracking';\n  \n    export default class extends Component {\n      @tracked developer = {\n        name: \"Sandi Metz\",\n        language: \"Ruby\"\n      }\n  \n      @tracked currentFact = 'name'\n  \n      showFact = (fact) => {\n        this.currentFact = fact;\n      }\n    }\n    ```\n  \n    ```app/components/developer-detail.js\n    {{get this.developer this.currentFact}}\n  \n    <button {{on 'click' (fn this.showFact \"name\")}}>Show name</button>\n    <button {{on 'click' (fn this.showFact \"language\")}}>Show language</button>\n    ```\n  \n    The `{{get}}` helper can also respect mutable values itself. For example:\n  \n    ```app/components/developer-detail.js\n    <Input @value={{mut (get this.person this.currentFact)}} />\n  \n    <button {{on 'click' (fn this.showFact \"name\")}}>Show name</button>\n    <button {{on 'click' (fn this.showFact \"language\")}}>Show language</button>\n    ```\n  \n    Would allow the user to swap what fact is being displayed, and also edit\n    that fact via a two-way mutable binding.\n  \n    @public\n    @method get\n   */\n\n  var get = _exports.get = internalHelper(({\n    positional\n  }) => {\n    var _a, _b;\n    var sourceRef = (_a = positional[0]) !== null && _a !== void 0 ? _a : _reference.UNDEFINED_REFERENCE;\n    var pathRef = (_b = positional[1]) !== null && _b !== void 0 ? _b : _reference.UNDEFINED_REFERENCE;\n    return (0, _reference.createComputeRef)(() => {\n      var source = (0, _reference.valueForRef)(sourceRef);\n      if ((0, _util.isDict)(source)) {\n        return (0, _globalContext.getPath)(source, String((0, _reference.valueForRef)(pathRef)));\n      }\n    }, value => {\n      var source = (0, _reference.valueForRef)(sourceRef);\n      if ((0, _util.isDict)(source)) {\n        return (0, _globalContext.setPath)(source, String((0, _reference.valueForRef)(pathRef)), value);\n      }\n    }, 'get');\n  });\n  var isEmpty$2 = value => {\n    return value === null || value === undefined || typeof value.toString !== 'function';\n  };\n  var normalizeTextValue = value => {\n    if (isEmpty$2(value)) {\n      return '';\n    }\n    return String(value);\n  };\n  /**\n    Concatenates the given arguments into a string.\n  \n    Example:\n  \n    ```handlebars\n    {{some-component name=(concat firstName \" \" lastName)}}\n  \n    {{! would pass name=\"<first name value> <last name value>\" to the component}}\n    ```\n  \n    or for angle bracket invocation, you actually don't need concat at all.\n  \n    ```handlebars\n    <SomeComponent @name=\"{{firstName}} {{lastName}}\" />\n    ```\n  \n    @public\n    @method concat\n  */\n\n  var concat = _exports.concat = internalHelper(({\n    positional\n  }) => {\n    return (0, _reference.createComputeRef)(() => (0, _runtime.reifyPositional)(positional).map(normalizeTextValue).join(''), null, 'concat');\n  });\n  var untouchableContext = (0, _util.buildUntouchableThis)('`on` modifier');\n  /*\n    Internet Explorer 11 does not support `once` and also does not support\n    passing `eventOptions`. In some situations it then throws a weird script\n    error, like:\n  \n    ```\n    Could not complete the operation due to error 80020101\n    ```\n  \n    This flag determines, whether `{ once: true }` and thus also event options in\n    general are supported.\n  */\n\n  var SUPPORTS_EVENT_OPTIONS = (() => {\n    try {\n      var div = document.createElement('div');\n      var counter = 0;\n      div.addEventListener('click', () => counter++, {\n        once: true\n      });\n      var event;\n      if (typeof Event === 'function') {\n        event = new Event('click');\n      } else {\n        event = document.createEvent('Event');\n        event.initEvent('click', true, true);\n      }\n      div.dispatchEvent(event);\n      div.dispatchEvent(event);\n      return counter === 1;\n    } catch (error) {\n      return false;\n    }\n  })();\n  class OnModifierState {\n    constructor(element, args) {\n      this.tag = (0, _validator.createUpdatableTag)();\n      this.shouldUpdate = true;\n      this.element = element;\n      this.args = args;\n    }\n    updateFromArgs() {\n      var {\n        args\n      } = this;\n      var {\n        once,\n        passive,\n        capture\n      } = (0, _runtime.reifyNamed)(args.named);\n      if (once !== this.once) {\n        this.once = once;\n        this.shouldUpdate = true;\n      }\n      if (passive !== this.passive) {\n        this.passive = passive;\n        this.shouldUpdate = true;\n      }\n      if (capture !== this.capture) {\n        this.capture = capture;\n        this.shouldUpdate = true;\n      }\n      var options;\n      if (once || passive || capture) {\n        options = this.options = {\n          once,\n          passive,\n          capture\n        };\n      } else {\n        this.options = undefined;\n      }\n      if (true /* DEBUG */ && (args.positional[0] === undefined || typeof (0, _reference.valueForRef)(args.positional[0]) !== 'string')) {\n        throw new Error('You must pass a valid DOM event name as the first argument to the `on` modifier');\n      }\n      var eventName = (0, _reference.valueForRef)(args.positional[0]);\n      if (eventName !== this.eventName) {\n        this.eventName = eventName;\n        this.shouldUpdate = true;\n      }\n      var userProvidedCallbackReference = args.positional[1];\n      if (true /* DEBUG */) {\n        if (args.positional[1] === undefined) {\n          throw new Error(`You must pass a function as the second argument to the \\`on\\` modifier.`);\n        }\n        var value = (0, _reference.valueForRef)(userProvidedCallbackReference);\n        if (typeof value !== 'function') {\n          throw new Error(`You must pass a function as the second argument to the \\`on\\` modifier, you passed ${value === null ? 'null' : typeof value}. While rendering:\\n\\n${userProvidedCallbackReference.debugLabel}`);\n        }\n      }\n      var userProvidedCallback = (0, _reference.valueForRef)(userProvidedCallbackReference);\n      if (userProvidedCallback !== this.userProvidedCallback) {\n        this.userProvidedCallback = userProvidedCallback;\n        this.shouldUpdate = true;\n      }\n      if (true /* DEBUG */ && args.positional.length !== 2) {\n        throw new Error(`You can only pass two positional arguments (event name and callback) to the \\`on\\` modifier, but you provided ${args.positional.length}. Consider using the \\`fn\\` helper to provide additional arguments to the \\`on\\` callback.`);\n      }\n      var needsCustomCallback = SUPPORTS_EVENT_OPTIONS === false && once || /* needs manual once implementation */\n      true /* DEBUG */ && passive;\n      /* needs passive enforcement */\n\n      if (this.shouldUpdate) {\n        if (needsCustomCallback) {\n          var _callback = this.callback = function (event) {\n            if (true /* DEBUG */ && passive) {\n              event.preventDefault = () => {\n                throw new Error(`You marked this listener as 'passive', meaning that you must not call 'event.preventDefault()': \\n\\n${userProvidedCallback}`);\n              };\n            }\n            if (!SUPPORTS_EVENT_OPTIONS && once) {\n              removeEventListener(this, eventName, _callback, options);\n            }\n            return userProvidedCallback.call(untouchableContext, event);\n          };\n        } else if (true /* DEBUG */) {\n          // prevent the callback from being bound to the element\n          this.callback = userProvidedCallback.bind(untouchableContext);\n        } else {\n          this.callback = userProvidedCallback;\n        }\n      }\n    }\n  }\n  var adds = 0;\n  var removes = 0;\n  function removeEventListener(element, eventName, callback, options) {\n    removes++;\n    if (SUPPORTS_EVENT_OPTIONS) {\n      // when options are supported, use them across the board\n      element.removeEventListener(eventName, callback, options);\n    } else if (options !== undefined && options.capture) {\n      // used only in the following case:\n      //\n      // `{ once: true | false, passive: true | false, capture: true }\n      //\n      // `once` is handled via a custom callback that removes after first\n      // invocation so we only care about capture here as a boolean\n      element.removeEventListener(eventName, callback, true);\n    } else {\n      // used only in the following cases:\n      //\n      // * where there is no options\n      // * `{ once: true | false, passive: true | false, capture: false }\n      element.removeEventListener(eventName, callback);\n    }\n  }\n  function addEventListener(element, eventName, callback, options) {\n    adds++;\n    if (SUPPORTS_EVENT_OPTIONS) {\n      // when options are supported, use them across the board\n      element.addEventListener(eventName, callback, options);\n    } else if (options !== undefined && options.capture) {\n      // used only in the following case:\n      //\n      // `{ once: true | false, passive: true | false, capture: true }\n      //\n      // `once` is handled via a custom callback that removes after first\n      // invocation so we only care about capture here as a boolean\n      element.addEventListener(eventName, callback, true);\n    } else {\n      // used only in the following cases:\n      //\n      // * where there is no options\n      // * `{ once: true | false, passive: true | false, capture: false }\n      element.addEventListener(eventName, callback);\n    }\n  }\n  /**\n    The `{{on}}` modifier lets you easily add event listeners (it uses\n    [EventTarget.addEventListener](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)\n    internally).\n  \n    For example, if you'd like to run a function on your component when a `<button>`\n    in the components template is clicked you might do something like:\n  \n    ```app/components/like-post.hbs\n    <button {{on 'click' this.saveLike}}>Like this post!</button>\n    ```\n  \n    ```app/components/like-post.js\n    import Component from '@glimmer/component';\n    import { action } from '@ember/object';\n  \n    export default class LikePostComponent extends Component {\n      saveLike = () => {\n        // someone likes your post!\n        // better send a request off to your server...\n      }\n    }\n    ```\n  \n    ### Arguments\n  \n    `{{on}}` accepts two positional arguments, and a few named arguments.\n  \n    The positional arguments are:\n  \n    - `event` -- the name to use when calling `addEventListener`\n    - `callback` -- the function to be passed to `addEventListener`\n  \n    The named arguments are:\n  \n    - capture -- a `true` value indicates that events of this type will be dispatched\n      to the registered listener before being dispatched to any EventTarget beneath it\n      in the DOM tree.\n    - once -- indicates that the listener should be invoked at most once after being\n      added. If true, the listener would be automatically removed when invoked.\n    - passive -- if `true`, indicates that the function specified by listener will never\n      call preventDefault(). If a passive listener does call preventDefault(), the user\n      agent will do nothing other than generate a console warning. See\n      [Improving scrolling performance with passive listeners](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#Improving_scrolling_performance_with_passive_listeners)\n      to learn more.\n  \n    The callback function passed to `{{on}}` will receive any arguments that are passed\n    to the event handler. Most commonly this would be the `event` itself.\n  \n    If you would like to pass additional arguments to the function you should use\n    the `{{fn}}` helper.\n  \n    For example, in our example case above if you'd like to pass in the post that\n    was being liked when the button is clicked you could do something like:\n  \n    ```app/components/like-post.hbs\n    <button {{on 'click' (fn this.saveLike @post)}}>Like this post!</button>\n    ```\n  \n    In this case, the `saveLike` function will receive two arguments: the click event\n    and the value of `@post`.\n  \n    ### Function Context\n  \n    In the example above, we used an arrow function to ensure that `likePost` is\n    properly bound to the `items-list`, but let's explore what happens if we\n    left out the arrow function:\n  \n    ```app/components/like-post.js\n    import Component from '@glimmer/component';\n  \n    export default class LikePostComponent extends Component {\n      saveLike() {\n        // ...snip...\n      }\n    }\n    ```\n  \n    In this example, when the button is clicked `saveLike` will be invoked,\n    it will **not** have access to the component instance. In other\n    words, it will have no `this` context, so please make sure your functions\n    are bound (via an arrow function or other means) before passing into `on`!\n  \n    @method on\n    @public\n  */\n\n  class OnModifierManager {\n    constructor() {\n      this.SUPPORTS_EVENT_OPTIONS = SUPPORTS_EVENT_OPTIONS;\n    }\n    getDebugName() {\n      return 'on';\n    }\n    get counters() {\n      return {\n        adds,\n        removes\n      };\n    }\n    create(_owner, element, _state, args) {\n      return new OnModifierState(element, args);\n    }\n    getTag(state) {\n      if (state === null) {\n        return null;\n      }\n      return state.tag;\n    }\n    install(state) {\n      if (state === null) {\n        return;\n      }\n      state.updateFromArgs();\n      var {\n        element,\n        eventName,\n        callback,\n        options\n      } = state;\n      addEventListener(element, eventName, callback, options);\n      (0, _destroyable2.registerDestructor)(state, () => removeEventListener(element, eventName, callback, options));\n      state.shouldUpdate = false;\n    }\n    update(state) {\n      if (state === null) {\n        return;\n      } // stash prior state for el.removeEventListener\n\n      var {\n        element,\n        eventName,\n        callback,\n        options\n      } = state;\n      state.updateFromArgs();\n      if (!state.shouldUpdate) {\n        return;\n      } // use prior state values for removal\n\n      removeEventListener(element, eventName, callback, options); // read updated values from the state object\n\n      addEventListener(state.element, state.eventName, state.callback, state.options);\n      state.shouldUpdate = false;\n    }\n    getDestroyable(state) {\n      return state;\n    }\n  }\n  var on = _exports.on = (0, _manager5.setInternalModifierManager)(new OnModifierManager(), {});\n});","define(\"@glimmer/tracking/index\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"tracked\", {\n    enumerable: true,\n    get: function () {\n      return _metal.tracked;\n    }\n  });\n});","define(\"@glimmer/tracking/primitives/cache\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"createCache\", {\n    enumerable: true,\n    get: function () {\n      return _metal.createCache;\n    }\n  });\n  Object.defineProperty(_exports, \"getValue\", {\n    enumerable: true,\n    get: function () {\n      return _metal.getValue;\n    }\n  });\n  Object.defineProperty(_exports, \"isConst\", {\n    enumerable: true,\n    get: function () {\n      return _metal.isConst;\n    }\n  });\n});","define(\"@glimmer/util\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports._WeakSet = _exports.Stack = _exports.SERIALIZATION_FIRST_NODE_STRING = _exports.LOGGER = _exports.LOCAL_LOGGER = _exports.HAS_NATIVE_SYMBOL = _exports.HAS_NATIVE_PROXY = _exports.EMPTY_STRING_ARRAY = _exports.EMPTY_NUMBER_ARRAY = _exports.EMPTY_ARRAY = void 0;\n  _exports.assert = debugAssert$$1;\n  _exports.assertNever = assertNever;\n  _exports.assertPresent = assertPresent;\n  _exports.beginTestSteps = _exports.assign = void 0;\n  _exports.buildUntouchableThis = buildUntouchableThis;\n  _exports.castToBrowser = castToBrowser;\n  _exports.castToSimple = castToSimple;\n  _exports.checkNode = checkNode;\n  _exports.clearElement = clearElement;\n  _exports.constants = constants;\n  _exports.debugToString = void 0;\n  _exports.decodeHandle = decodeHandle;\n  _exports.decodeImmediate = decodeImmediate;\n  _exports.decodeNegative = decodeNegative;\n  _exports.decodePositive = decodePositive;\n  _exports.deprecate = deprecate$$1;\n  _exports.dict = dict;\n  _exports.emptyArray = emptyArray;\n  _exports.encodeHandle = encodeHandle;\n  _exports.encodeImmediate = encodeImmediate;\n  _exports.encodeNegative = encodeNegative;\n  _exports.encodePositive = encodePositive;\n  _exports.endTestSteps = void 0;\n  _exports.enumerableSymbol = enumerableSymbol;\n  _exports.exhausted = exhausted;\n  _exports.expect = expect;\n  _exports.extractHandle = extractHandle;\n  _exports.fillNulls = fillNulls;\n  _exports.ifPresent = ifPresent;\n  _exports.intern = intern;\n  _exports.isDict = isDict;\n  _exports.isEmptyArray = isEmptyArray;\n  _exports.isErrHandle = isErrHandle;\n  _exports.isHandle = isHandle;\n  _exports.isNonPrimitiveHandle = isNonPrimitiveHandle;\n  _exports.isObject = isObject;\n  _exports.isOkHandle = isOkHandle;\n  _exports.isPresent = isPresent;\n  _exports.isSerializationFirstNode = isSerializationFirstNode;\n  _exports.isSmallInt = isSmallInt;\n  _exports.keys = keys;\n  _exports.logStep = void 0;\n  _exports.mapPresent = mapPresent;\n  _exports.strip = strip;\n  _exports.symbol = void 0;\n  _exports.toPresentOption = toPresentOption;\n  _exports.tuple = void 0;\n  _exports.unreachable = unreachable;\n  _exports.unwrap = unwrap;\n  _exports.unwrapHandle = unwrapHandle;\n  _exports.unwrapTemplate = unwrapTemplate;\n  _exports.values = values;\n  _exports.verifySteps = void 0;\n  var EMPTY_ARRAY = _exports.EMPTY_ARRAY = Object.freeze([]);\n  function emptyArray() {\n    return EMPTY_ARRAY;\n  }\n  var EMPTY_STRING_ARRAY = _exports.EMPTY_STRING_ARRAY = emptyArray();\n  var EMPTY_NUMBER_ARRAY = _exports.EMPTY_NUMBER_ARRAY = emptyArray();\n  /**\n   * This function returns `true` if the input array is the special empty array sentinel,\n   * which is sometimes used for optimizations.\n   */\n\n  function isEmptyArray(input) {\n    return input === EMPTY_ARRAY;\n  }\n\n  // import Logger from './logger';\n\n  function debugAssert$$1(test, msg) {\n    // if (!alreadyWarned) {\n    //   alreadyWarned = true;\n    //   Logger.warn(\"Don't leave debug assertions on in public builds\");\n    // }\n    if (!test) {\n      throw new Error(msg || 'assertion failure');\n    }\n  }\n  function deprecate$$1(desc) {\n    LOCAL_LOGGER.warn(`DEPRECATION: ${desc}`);\n  }\n  function dict() {\n    return Object.create(null);\n  }\n  function isDict(u) {\n    return u !== null && u !== undefined;\n  }\n  function isObject(u) {\n    return typeof u === 'function' || typeof u === 'object' && u !== null;\n  }\n  class StackImpl {\n    constructor(values = []) {\n      this.current = null;\n      this.stack = values;\n    }\n    get size() {\n      return this.stack.length;\n    }\n    push(item) {\n      this.current = item;\n      this.stack.push(item);\n    }\n    pop() {\n      var item = this.stack.pop();\n      var len = this.stack.length;\n      this.current = len === 0 ? null : this.stack[len - 1];\n      return item === undefined ? null : item;\n    }\n    nth(from) {\n      var len = this.stack.length;\n      return len < from ? null : this.stack[len - from];\n    }\n    isEmpty() {\n      return this.stack.length === 0;\n    }\n    toArray() {\n      return this.stack;\n    }\n  }\n  _exports.Stack = StackImpl;\n  function clearElement(parent) {\n    var current = parent.firstChild;\n    while (current) {\n      var next = current.nextSibling;\n      parent.removeChild(current);\n      current = next;\n    }\n  }\n  var SERIALIZATION_FIRST_NODE_STRING = _exports.SERIALIZATION_FIRST_NODE_STRING = '%+b:0%';\n  function isSerializationFirstNode(node) {\n    return node.nodeValue === SERIALIZATION_FIRST_NODE_STRING;\n  }\n  var _a;\n  var {\n    keys: objKeys\n  } = Object;\n  function assignFn(obj) {\n    for (var i = 1; i < arguments.length; i++) {\n      var assignment = arguments[i];\n      if (assignment === null || typeof assignment !== 'object') continue;\n      var _keys = objKeys(assignment);\n      for (var j = 0; j < _keys.length; j++) {\n        var key = _keys[j];\n        obj[key] = assignment[key];\n      }\n    }\n    return obj;\n  }\n  var assign = _exports.assign = (_a = Object.assign) !== null && _a !== void 0 ? _a : assignFn;\n  function fillNulls(count) {\n    var arr = new Array(count);\n    for (var i = 0; i < count; i++) {\n      arr[i] = null;\n    }\n    return arr;\n  }\n  function values(obj) {\n    var vals = [];\n    for (var key in obj) {\n      vals.push(obj[key]);\n    }\n    return vals;\n  }\n\n  /**\n    Strongly hint runtimes to intern the provided string.\n  \n    When do I need to use this function?\n  \n    For the most part, never. Pre-mature optimization is bad, and often the\n    runtime does exactly what you need it to, and more often the trade-off isn't\n    worth it.\n  \n    Why?\n  \n    Runtimes store strings in at least 2 different representations:\n    Ropes and Symbols (interned strings). The Rope provides a memory efficient\n    data-structure for strings created from concatenation or some other string\n    manipulation like splitting.\n  \n    Unfortunately checking equality of different ropes can be quite costly as\n    runtimes must resort to clever string comparison algorithms. These\n    algorithms typically cost in proportion to the length of the string.\n    Luckily, this is where the Symbols (interned strings) shine. As Symbols are\n    unique by their string content, equality checks can be done by pointer\n    comparison.\n  \n    How do I know if my string is a rope or symbol?\n  \n    Typically (warning general sweeping statement, but truthy in runtimes at\n    present) static strings created as part of the JS source are interned.\n    Strings often used for comparisons can be interned at runtime if some\n    criteria are met.  One of these criteria can be the size of the entire rope.\n    For example, in chrome 38 a rope longer then 12 characters will not\n    intern, nor will segments of that rope.\n  \n    Some numbers: http://jsperf.com/eval-vs-keys/8\n  \n    Known Trick™\n  \n    @private\n    @return {String} interned version of the provided string\n  */\n  function intern(str) {\n    var obj = {};\n    obj[str] = 1;\n    for (var key in obj) {\n      if (key === str) {\n        return key;\n      }\n    }\n    return str;\n  }\n  var HAS_NATIVE_PROXY = _exports.HAS_NATIVE_PROXY = typeof Proxy === 'function';\n  var HAS_NATIVE_SYMBOL = _exports.HAS_NATIVE_SYMBOL = function () {\n    if (typeof Symbol !== 'function') {\n      return false;\n    } // eslint-disable-next-line symbol-description\n\n    return typeof Symbol() === 'symbol';\n  }();\n  function keys(obj) {\n    return Object.keys(obj);\n  }\n  function unwrap(val) {\n    if (val === null || val === undefined) throw new Error(`Expected value to be present`);\n    return val;\n  }\n  function expect(val, message) {\n    if (val === null || val === undefined) throw new Error(message);\n    return val;\n  }\n  function unreachable(message = 'unreachable') {\n    return new Error(message);\n  }\n  function exhausted(value) {\n    throw new Error(`Exhausted ${value}`);\n  }\n  var tuple = (...args) => args;\n  _exports.tuple = tuple;\n  function enumerableSymbol(key) {\n    return intern(`__${key}${Math.floor(Math.random() * Date.now())}__`);\n  }\n  var symbol = _exports.symbol = HAS_NATIVE_SYMBOL ? Symbol : enumerableSymbol;\n  function strip(strings, ...args) {\n    var out = '';\n    for (var i = 0; i < strings.length; i++) {\n      var string = strings[i];\n      var dynamic = args[i] !== undefined ? String(args[i]) : '';\n      out += `${string}${dynamic}`;\n    }\n    var lines = out.split('\\n');\n    while (lines.length && lines[0].match(/^\\s*$/)) {\n      lines.shift();\n    }\n    while (lines.length && lines[lines.length - 1].match(/^\\s*$/)) {\n      lines.pop();\n    }\n    var min = Infinity;\n    for (var line of lines) {\n      var leading = line.match(/^\\s*/)[0].length;\n      min = Math.min(min, leading);\n    }\n    var stripped = [];\n    for (var _line of lines) {\n      stripped.push(_line.slice(min));\n    }\n    return stripped.join('\\n');\n  }\n  function isHandle(value) {\n    return value >= 0;\n  }\n  function isNonPrimitiveHandle(value) {\n    return value > 3\n    /* ENCODED_UNDEFINED_HANDLE */;\n  }\n  function constants(...values) {\n    return [false, true, null, undefined, ...values];\n  }\n  function isSmallInt(value) {\n    return value % 1 === 0 && value <= 536870911\n    /* MAX_INT */ && value >= -536870912\n    /* MIN_INT */;\n  }\n  function encodeNegative(num) {\n    return num & -536870913\n    /* SIGN_BIT */;\n  }\n  function decodeNegative(num) {\n    return num | ~-536870913\n    /* SIGN_BIT */;\n  }\n  function encodePositive(num) {\n    return ~num;\n  }\n  function decodePositive(num) {\n    return ~num;\n  }\n  function encodeHandle(num) {\n    return num;\n  }\n  function decodeHandle(num) {\n    return num;\n  }\n  function encodeImmediate(num) {\n    num |= 0;\n    return num < 0 ? encodeNegative(num) : encodePositive(num);\n  }\n  function decodeImmediate(num) {\n    num |= 0;\n    return num > -536870913\n    /* SIGN_BIT */ ? decodePositive(num) : decodeNegative(num);\n  } // Warm\n  [1, -1].forEach(x => decodeImmediate(encodeImmediate(x)));\n  function unwrapHandle(handle) {\n    if (typeof handle === 'number') {\n      return handle;\n    } else {\n      var error = handle.errors[0];\n      throw new Error(`Compile Error: ${error.problem} @ ${error.span.start}..${error.span.end}`);\n    }\n  }\n  function unwrapTemplate(template) {\n    if (template.result === 'error') {\n      throw new Error(`Compile Error: ${template.problem} @ ${template.span.start}..${template.span.end}`);\n    }\n    return template;\n  }\n  function extractHandle(handle) {\n    if (typeof handle === 'number') {\n      return handle;\n    } else {\n      return handle.handle;\n    }\n  }\n  function isOkHandle(handle) {\n    return typeof handle === 'number';\n  }\n  function isErrHandle(handle) {\n    return typeof handle === 'number';\n  }\n  var weakSet = _exports._WeakSet = typeof WeakSet === 'function' ? WeakSet : class WeakSetPolyFill {\n    constructor() {\n      this._map = new WeakMap();\n    }\n    add(val) {\n      this._map.set(val, true);\n      return this;\n    }\n    delete(val) {\n      return this._map.delete(val);\n    }\n    has(val) {\n      return this._map.has(val);\n    }\n  };\n  function castToSimple(node) {\n    if (isDocument(node)) {\n      return node;\n    } else if (isElement(node)) {\n      return node;\n    } else {\n      return node;\n    }\n  }\n  function castToBrowser(node, sugaryCheck) {\n    if (node === null || node === undefined) {\n      return null;\n    }\n    if (typeof document === undefined) {\n      throw new Error('Attempted to cast to a browser node in a non-browser context');\n    }\n    if (isDocument(node)) {\n      return node;\n    }\n    if (node.ownerDocument !== document) {\n      throw new Error('Attempted to cast to a browser node with a node that was not created from this document');\n    }\n    return checkNode(node, sugaryCheck);\n  }\n  function checkError(from, check) {\n    return new Error(`cannot cast a ${from} into ${check}`);\n  }\n  function isDocument(node) {\n    return node.nodeType === 9\n    /* DOCUMENT_NODE */;\n  }\n  function isElement(node) {\n    return node.nodeType === 1\n    /* ELEMENT_NODE */;\n  }\n  function checkNode(node, check) {\n    var isMatch = false;\n    if (node !== null) {\n      if (typeof check === 'string') {\n        isMatch = stringCheckNode(node, check);\n      } else if (Array.isArray(check)) {\n        isMatch = check.some(c => stringCheckNode(node, c));\n      } else {\n        throw unreachable();\n      }\n    }\n    if (isMatch) {\n      return node;\n    } else {\n      throw checkError(`SimpleElement(${node})`, check);\n    }\n  }\n  function stringCheckNode(node, check) {\n    switch (check) {\n      case 'NODE':\n        return true;\n      case 'HTML':\n        return node instanceof HTMLElement;\n      case 'SVG':\n        return node instanceof SVGElement;\n      case 'ELEMENT':\n        return node instanceof Element;\n      default:\n        if (check.toUpperCase() === check) {\n          throw new Error(`BUG: this code is missing handling for a generic node type`);\n        }\n        return node instanceof Element && node.tagName.toLowerCase() === check;\n    }\n  }\n  function isPresent(list) {\n    return list.length > 0;\n  }\n  function ifPresent(list, ifPresent, otherwise) {\n    if (isPresent(list)) {\n      return ifPresent(list);\n    } else {\n      return otherwise();\n    }\n  }\n  function toPresentOption(list) {\n    if (isPresent(list)) {\n      return list;\n    } else {\n      return null;\n    }\n  }\n  function assertPresent(list, message = `unexpected empty list`) {\n    if (!isPresent(list)) {\n      throw new Error(message);\n    }\n  }\n  function mapPresent(list, callback) {\n    if (list === null) {\n      return null;\n    }\n    var out = [];\n    for (var item of list) {\n      out.push(callback(item));\n    }\n    return out;\n  }\n  function buildUntouchableThis(source) {\n    var context = null;\n    if (true /* DEBUG */ && HAS_NATIVE_PROXY) {\n      var assertOnProperty = property => {\n        throw new Error(`You accessed \\`this.${String(property)}\\` from a function passed to the ${source}, but the function itself was not bound to a valid \\`this\\` context. Consider updating to use a bound function (for instance, use an arrow function, \\`() => {}\\`).`);\n      };\n      context = new Proxy({}, {\n        get(_target, property) {\n          assertOnProperty(property);\n        },\n        set(_target, property) {\n          assertOnProperty(property);\n          return false;\n        },\n        has(_target, property) {\n          assertOnProperty(property);\n          return false;\n        }\n      });\n    }\n    return context;\n  }\n  var debugToString;\n  if (true /* DEBUG */) {\n    var getFunctionName = fn => {\n      var functionName = fn.name;\n      if (functionName === undefined) {\n        var match = Function.prototype.toString.call(fn).match(/function (\\w+)\\s*\\(/);\n        functionName = match && match[1] || '';\n      }\n      return functionName.replace(/^bound /, '');\n    };\n    var getObjectName = obj => {\n      var name;\n      var className;\n      if (obj.constructor && typeof obj.constructor === 'function') {\n        className = getFunctionName(obj.constructor);\n      }\n      if ('toString' in obj && obj.toString !== Object.prototype.toString && obj.toString !== Function.prototype.toString) {\n        name = obj.toString();\n      } // If the class has a decent looking name, and the `toString` is one of the\n      // default Ember toStrings, replace the constructor portion of the toString\n      // with the class name. We check the length of the class name to prevent doing\n      // this when the value is minified.\n\n      if (name && name.match(/<.*:ember\\d+>/) && className && className[0] !== '_' && className.length > 2 && className !== 'Class') {\n        return name.replace(/<.*:/, `<${className}:`);\n      }\n      return name || className;\n    };\n    var getPrimitiveName = value => {\n      return String(value);\n    };\n    debugToString = value => {\n      if (typeof value === 'function') {\n        return getFunctionName(value) || `(unknown function)`;\n      } else if (typeof value === 'object' && value !== null) {\n        return getObjectName(value) || `(unknown object)`;\n      } else {\n        return getPrimitiveName(value);\n      }\n    };\n  }\n  var debugToString$1 = _exports.debugToString = debugToString;\n  var beginTestSteps;\n  var endTestSteps;\n  var verifySteps;\n  var logStep;\n\n  /**\n   * This constant exists to make it easier to differentiate normal logs from\n   * errant console.logs. LOCAL_LOGGER should only be used inside a\n   * LOCAL_SHOULD_LOG check.\n   *\n   * It does not alleviate the need to check LOCAL_SHOULD_LOG, which is used\n   * for stripping.\n   */\n\n  var LOCAL_LOGGER = _exports.LOCAL_LOGGER = console;\n  /**\n   * This constant exists to make it easier to differentiate normal logs from\n   * errant console.logs. LOGGER can be used outside of LOCAL_SHOULD_LOG checks,\n   * and is meant to be used in the rare situation where a console.* call is\n   * actually appropriate.\n   */\n\n  var LOGGER = _exports.LOGGER = console;\n  function assertNever(value, desc = 'unexpected unreachable branch') {\n    LOGGER.log('unreachable', value);\n    LOGGER.log(`${desc} :: ${JSON.stringify(value)} (${value})`);\n    throw new Error(`code reached unreachable`);\n  }\n});","define(\"@glimmer/validator\", [\"exports\", \"@ember/polyfills\", \"@glimmer/global-context\"], function (_exports, _polyfills, _globalContext) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.VolatileTag = _exports.VOLATILE_TAG = _exports.VOLATILE = _exports.INITIAL = _exports.CurrentTag = _exports.CURRENT_TAG = _exports.CONSTANT_TAG = _exports.CONSTANT = _exports.COMPUTE = _exports.ALLOW_CYCLES = void 0;\n  _exports.beginTrackFrame = beginTrackFrame;\n  _exports.beginTrackingTransaction = void 0;\n  _exports.beginUntrackFrame = beginUntrackFrame;\n  _exports.bump = bump;\n  _exports.combine = void 0;\n  _exports.consumeTag = consumeTag;\n  _exports.createCache = createCache;\n  _exports.createTag = createTag;\n  _exports.createUpdatableTag = createUpdatableTag;\n  _exports.dirtyTag = _exports.deprecateMutationsInTrackingTransaction = void 0;\n  _exports.dirtyTagFor = dirtyTagFor;\n  _exports.endTrackFrame = endTrackFrame;\n  _exports.endTrackingTransaction = void 0;\n  _exports.endUntrackFrame = endUntrackFrame;\n  _exports.getValue = getValue;\n  _exports.isConst = isConst;\n  _exports.isConstTag = isConstTag;\n  _exports.isTracking = isTracking;\n  _exports.logTrackingStack = void 0;\n  _exports.resetTracking = resetTracking;\n  _exports.setTrackingTransactionEnv = _exports.runInTrackingTransaction = void 0;\n  _exports.tagFor = tagFor;\n  _exports.tagMetaFor = tagMetaFor;\n  _exports.track = track;\n  _exports.trackedData = trackedData;\n  _exports.untrack = untrack;\n  _exports.updateTag = void 0;\n  _exports.validateTag = validateTag;\n  _exports.valueForTag = valueForTag;\n  // eslint-disable-next-line @typescript-eslint/ban-types\n  function indexable(input) {\n    return input;\n  } // This is a duplicate utility from @glimmer/util because `@glimmer/validator`\n  // should not depend on any other @glimmer packages, in order to avoid pulling\n  // in types and prevent regressions in `@glimmer/tracking` (which has public types).\n\n  var symbol = typeof Symbol !== 'undefined' ? Symbol :\n  // eslint-disable-next-line @typescript-eslint/no-explicit-any\n  key => `__${key}${Math.floor(Math.random() * Date.now())}__`; // eslint-disable-next-line @typescript-eslint/no-explicit-any\n\n  var symbolFor = typeof Symbol !== 'undefined' ? Symbol.for : key => `__GLIMMER_VALIDATOR_SYMBOL_FOR_${key}`;\n  function getGlobal() {\n    // eslint-disable-next-line node/no-unsupported-features/es-builtins\n    if (typeof globalThis !== 'undefined') return indexable(globalThis);\n    if (typeof self !== 'undefined') return indexable(self);\n    if (typeof window !== 'undefined') return indexable(window);\n    if (typeof global !== 'undefined') return indexable(global);\n    throw new Error('unable to locate global object');\n  }\n  function unwrap(val) {\n    if (val === null || val === undefined) throw new Error(`Expected value to be present`);\n    return val;\n  }\n  var beginTrackingTransaction;\n  var endTrackingTransaction;\n  var runInTrackingTransaction;\n  var deprecateMutationsInTrackingTransaction;\n  var resetTrackingTransaction;\n  var setTrackingTransactionEnv;\n  var assertTagNotConsumed;\n  var markTagAsConsumed;\n  var logTrackingStack;\n  if (true /* DEBUG */) {\n    var CONSUMED_TAGS = null;\n    var TRANSACTION_STACK = []; /////////\n\n    var TRANSACTION_ENV = {\n      debugMessage(obj, keyName) {\n        var objName;\n        if (typeof obj === 'function') {\n          objName = obj.name;\n        } else if (typeof obj === 'object' && obj !== null) {\n          var className = obj.constructor && obj.constructor.name || '(unknown class)';\n          objName = `(an instance of ${className})`;\n        } else if (obj === undefined) {\n          objName = '(an unknown tag)';\n        } else {\n          objName = String(obj);\n        }\n        var dirtyString = keyName ? `\\`${keyName}\\` on \\`${objName}\\`` : `\\`${objName}\\``;\n        return `You attempted to update ${dirtyString}, but it had already been used previously in the same computation.  Attempting to update a value after using it in a computation can cause logical errors, infinite revalidation bugs, and performance issues, and is not supported.`;\n      }\n    };\n    _exports.setTrackingTransactionEnv = setTrackingTransactionEnv = env => (0, _polyfills.assign)(TRANSACTION_ENV, env);\n    _exports.beginTrackingTransaction = beginTrackingTransaction = (_debugLabel, deprecate$$1 = false) => {\n      CONSUMED_TAGS = CONSUMED_TAGS || new WeakMap();\n      var debugLabel = _debugLabel || undefined;\n      var parent = TRANSACTION_STACK[TRANSACTION_STACK.length - 1] || null;\n      TRANSACTION_STACK.push({\n        parent,\n        debugLabel,\n        deprecate: deprecate$$1\n      });\n    };\n    _exports.endTrackingTransaction = endTrackingTransaction = () => {\n      if (TRANSACTION_STACK.length === 0) {\n        throw new Error('attempted to close a tracking transaction, but one was not open');\n      }\n      TRANSACTION_STACK.pop();\n      if (TRANSACTION_STACK.length === 0) {\n        CONSUMED_TAGS = null;\n      }\n    };\n    resetTrackingTransaction = () => {\n      var stack = '';\n      if (TRANSACTION_STACK.length > 0) {\n        stack = logTrackingStack(TRANSACTION_STACK[TRANSACTION_STACK.length - 1]);\n      }\n      TRANSACTION_STACK = [];\n      CONSUMED_TAGS = null;\n      return stack;\n    };\n    /**\n     * Creates a global autotracking transaction. This will prevent any backflow\n     * in any `track` calls within the transaction, even if they are not\n     * externally consumed.\n     *\n     * `runInAutotrackingTransaction` can be called within itself, and it will add\n     * onto the existing transaction if one exists.\n     *\n     * TODO: Only throw an error if the `track` is consumed.\n     */\n\n    _exports.runInTrackingTransaction = runInTrackingTransaction = (fn, debugLabel) => {\n      beginTrackingTransaction(debugLabel);\n      var didError = true;\n      try {\n        var value = fn();\n        didError = false;\n        return value;\n      } finally {\n        if (didError !== true) {\n          endTrackingTransaction();\n        }\n      }\n    };\n    /**\n     * Switches to deprecating within an autotracking transaction, if one exists.\n     * If `runInAutotrackingTransaction` is called within the callback of this\n     * method, it switches back to throwing an error, allowing zebra-striping of\n     * the types of errors that are thrown.\n     *\n     * Does not start an autotracking transaction.\n     *\n     * NOTE: For Ember usage only, in general you should assert that these\n     * invariants are true.\n     */\n\n    _exports.deprecateMutationsInTrackingTransaction = deprecateMutationsInTrackingTransaction = (fn, debugLabel) => {\n      beginTrackingTransaction(debugLabel, true);\n      try {\n        fn();\n      } finally {\n        endTrackingTransaction();\n      }\n    };\n    var nthIndex = (str, pattern, n, startingPos = -1) => {\n      var i = startingPos;\n      while (n-- > 0 && i++ < str.length) {\n        i = str.indexOf(pattern, i);\n        if (i < 0) break;\n      }\n      return i;\n    };\n    var makeTrackingErrorMessage = (transaction, obj, keyName) => {\n      var message = [TRANSACTION_ENV.debugMessage(obj, keyName && String(keyName))];\n      message.push(`\\`${String(keyName)}\\` was first used:`);\n      message.push(logTrackingStack(transaction));\n      message.push(`Stack trace for the update:`);\n      return message.join('\\n\\n');\n    };\n    _exports.logTrackingStack = logTrackingStack = transaction => {\n      var trackingStack = [];\n      var current = transaction || TRANSACTION_STACK[TRANSACTION_STACK.length - 1];\n      if (current === undefined) return '';\n      while (current) {\n        if (current.debugLabel) {\n          trackingStack.unshift(current.debugLabel);\n        }\n        current = current.parent;\n      } // TODO: Use String.prototype.repeat here once we can drop support for IE11\n\n      return trackingStack.map((label, index) => Array(2 * index + 1).join(' ') + label).join('\\n');\n    };\n    markTagAsConsumed = _tag => {\n      if (!CONSUMED_TAGS || CONSUMED_TAGS.has(_tag)) return;\n      CONSUMED_TAGS.set(_tag, TRANSACTION_STACK[TRANSACTION_STACK.length - 1]); // We need to mark the tag and all of its subtags as consumed, so we need to\n      // cast it and access its internals. In the future this shouldn't be necessary,\n      // this is only for computed properties.\n\n      var tag = _tag;\n      if (tag.subtag) {\n        markTagAsConsumed(tag.subtag);\n      }\n      if (tag.subtags) {\n        tag.subtags.forEach(tag => markTagAsConsumed(tag));\n      }\n    };\n    assertTagNotConsumed = (tag, obj, keyName) => {\n      if (CONSUMED_TAGS === null) return;\n      var transaction = CONSUMED_TAGS.get(tag);\n      if (!transaction) return;\n      var currentTransaction = TRANSACTION_STACK[TRANSACTION_STACK.length - 1];\n      if (currentTransaction.deprecate) {\n        (true && !(false) && (0, _globalContext.deprecate)(makeTrackingErrorMessage(transaction, obj, keyName), false, {\n          id: 'autotracking.mutation-after-consumption'\n        }));\n      } else {\n        // This hack makes the assertion message nicer, we can cut off the first\n        // few lines of the stack trace and let users know where the actual error\n        // occurred.\n        try {\n          (true && (0, _globalContext.assert)(false, makeTrackingErrorMessage(transaction, obj, keyName)));\n        } catch (e) {\n          if (e.stack) {\n            var updateStackBegin = e.stack.indexOf('Stack trace for the update:');\n            if (updateStackBegin !== -1) {\n              var start = nthIndex(e.stack, '\\n', 1, updateStackBegin);\n              var end = nthIndex(e.stack, '\\n', 4, updateStackBegin);\n              e.stack = e.stack.substr(0, start) + e.stack.substr(end);\n            }\n          }\n          throw e;\n        }\n      }\n    };\n  }\n  var CONSTANT = _exports.CONSTANT = 0;\n  var INITIAL = _exports.INITIAL = 1;\n  var VOLATILE = _exports.VOLATILE = NaN;\n  var $REVISION = INITIAL;\n  function bump() {\n    $REVISION++;\n  } //////////\n\n  var COMPUTE = _exports.COMPUTE = symbol('TAG_COMPUTE'); //////////\n\n  /**\n   * `value` receives a tag and returns an opaque Revision based on that tag. This\n   * snapshot can then later be passed to `validate` with the same tag to\n   * determine if the tag has changed at all since the time that `value` was\n   * called.\n   *\n   * @param tag\n   */\n\n  function valueForTag(tag) {\n    return tag[COMPUTE]();\n  }\n  /**\n   * `validate` receives a tag and a snapshot from a previous call to `value` with\n   * the same tag, and determines if the tag is still valid compared to the\n   * snapshot. If the tag's state has changed at all since then, `validate` will\n   * return false, otherwise it will return true. This is used to determine if a\n   * calculation related to the tags should be rerun.\n   *\n   * @param tag\n   * @param snapshot\n   */\n\n  function validateTag(tag, snapshot) {\n    return snapshot >= tag[COMPUTE]();\n  }\n  var TYPE = symbol('TAG_TYPE'); // this is basically a const\n  // eslint-disable-next-line @typescript-eslint/naming-convention\n\n  var ALLOW_CYCLES;\n  if (true /* DEBUG */) {\n    _exports.ALLOW_CYCLES = ALLOW_CYCLES = new WeakMap();\n  }\n  function allowsCycles(tag) {\n    if (ALLOW_CYCLES === undefined) {\n      return true;\n    } else {\n      return ALLOW_CYCLES.has(tag);\n    }\n  }\n  class MonomorphicTagImpl {\n    constructor(type) {\n      this.revision = INITIAL;\n      this.lastChecked = INITIAL;\n      this.lastValue = INITIAL;\n      this.isUpdating = false;\n      this.subtag = null;\n      this.subtagBufferCache = null;\n      this[TYPE] = type;\n    }\n    static combine(tags) {\n      switch (tags.length) {\n        case 0:\n          return CONSTANT_TAG;\n        case 1:\n          return tags[0];\n        default:\n          var tag = new MonomorphicTagImpl(2\n          /* Combinator */);\n          tag.subtag = tags;\n          return tag;\n      }\n    }\n    [COMPUTE]() {\n      var {\n        lastChecked\n      } = this;\n      if (this.isUpdating === true) {\n        if (true /* DEBUG */ && !allowsCycles(this)) {\n          throw new Error('Cycles in tags are not allowed');\n        }\n        this.lastChecked = ++$REVISION;\n      } else if (lastChecked !== $REVISION) {\n        this.isUpdating = true;\n        this.lastChecked = $REVISION;\n        try {\n          var {\n            subtag,\n            revision\n          } = this;\n          if (subtag !== null) {\n            if (Array.isArray(subtag)) {\n              for (var i = 0; i < subtag.length; i++) {\n                var value = subtag[i][COMPUTE]();\n                revision = Math.max(value, revision);\n              }\n            } else {\n              var subtagValue = subtag[COMPUTE]();\n              if (subtagValue === this.subtagBufferCache) {\n                revision = Math.max(revision, this.lastValue);\n              } else {\n                // Clear the temporary buffer cache\n                this.subtagBufferCache = null;\n                revision = Math.max(revision, subtagValue);\n              }\n            }\n          }\n          this.lastValue = revision;\n        } finally {\n          this.isUpdating = false;\n        }\n      }\n      return this.lastValue;\n    }\n    static updateTag(_tag, _subtag) {\n      if (true /* DEBUG */ && _tag[TYPE] !== 1\n      /* Updatable */) {\n        throw new Error('Attempted to update a tag that was not updatable');\n      } // TODO: TS 3.7 should allow us to do this via assertion\n\n      var tag = _tag;\n      var subtag = _subtag;\n      if (subtag === CONSTANT_TAG) {\n        tag.subtag = null;\n      } else {\n        // There are two different possibilities when updating a subtag:\n        //\n        // 1. subtag[COMPUTE]() <= tag[COMPUTE]();\n        // 2. subtag[COMPUTE]() > tag[COMPUTE]();\n        //\n        // The first possibility is completely fine within our caching model, but\n        // the second possibility presents a problem. If the parent tag has\n        // already been read, then it's value is cached and will not update to\n        // reflect the subtag's greater value. Next time the cache is busted, the\n        // subtag's value _will_ be read, and it's value will be _greater_ than\n        // the saved snapshot of the parent, causing the resulting calculation to\n        // be rerun erroneously.\n        //\n        // In order to prevent this, when we first update to a new subtag we store\n        // its computed value, and then check against that computed value on\n        // subsequent updates. If its value hasn't changed, then we return the\n        // parent's previous value. Once the subtag changes for the first time,\n        // we clear the cache and everything is finally in sync with the parent.\n        tag.subtagBufferCache = subtag[COMPUTE]();\n        tag.subtag = subtag;\n      }\n    }\n    static dirtyTag(tag, disableConsumptionAssertion) {\n      if (true /* DEBUG */ && !(tag[TYPE] === 1\n      /* Updatable */ || tag[TYPE] === 0\n      /* Dirtyable */)) {\n        throw new Error('Attempted to dirty a tag that was not dirtyable');\n      }\n      if (true /* DEBUG */ && disableConsumptionAssertion !== true) {\n        // Usually by this point, we've already asserted with better error information,\n        // but this is our last line of defense.\n        unwrap(assertTagNotConsumed)(tag);\n      }\n      tag.revision = ++$REVISION;\n      (0, _globalContext.scheduleRevalidate)();\n    }\n  }\n  var DIRTY_TAG = _exports.dirtyTag = MonomorphicTagImpl.dirtyTag;\n  var UPDATE_TAG = _exports.updateTag = MonomorphicTagImpl.updateTag; //////////\n\n  function createTag() {\n    return new MonomorphicTagImpl(0\n    /* Dirtyable */);\n  }\n  function createUpdatableTag() {\n    return new MonomorphicTagImpl(1\n    /* Updatable */);\n  } //////////\n\n  var CONSTANT_TAG = _exports.CONSTANT_TAG = new MonomorphicTagImpl(3\n  /* Constant */);\n  function isConstTag(tag) {\n    return tag === CONSTANT_TAG;\n  } //////////\n\n  class VolatileTag {\n    [COMPUTE]() {\n      return VOLATILE;\n    }\n  }\n  _exports.VolatileTag = VolatileTag;\n  var VOLATILE_TAG = _exports.VOLATILE_TAG = new VolatileTag(); //////////\n\n  class CurrentTag {\n    [COMPUTE]() {\n      return $REVISION;\n    }\n  }\n  _exports.CurrentTag = CurrentTag;\n  var CURRENT_TAG = _exports.CURRENT_TAG = new CurrentTag(); //////////\n\n  var combine = _exports.combine = MonomorphicTagImpl.combine; // Warm\n\n  var tag1 = createUpdatableTag();\n  var tag2 = createUpdatableTag();\n  var tag3 = createUpdatableTag();\n  valueForTag(tag1);\n  DIRTY_TAG(tag1);\n  valueForTag(tag1);\n  UPDATE_TAG(tag1, combine([tag2, tag3]));\n  valueForTag(tag1);\n  DIRTY_TAG(tag2);\n  valueForTag(tag1);\n  DIRTY_TAG(tag3);\n  valueForTag(tag1);\n  UPDATE_TAG(tag1, tag3);\n  valueForTag(tag1);\n  DIRTY_TAG(tag3);\n  valueForTag(tag1);\n  function isObjectLike(u) {\n    return typeof u === 'object' && u !== null || typeof u === 'function';\n  }\n  var TRACKED_TAGS = new WeakMap();\n  function dirtyTagFor(obj, key, meta) {\n    if (true /* DEBUG */ && !isObjectLike(obj)) {\n      throw new Error(`BUG: Can't update a tag for a primitive`);\n    }\n    var tags = meta === undefined ? TRACKED_TAGS.get(obj) : meta; // No tags have been setup for this object yet, return\n\n    if (tags === undefined) return; // Dirty the tag for the specific property if it exists\n\n    var propertyTag = tags.get(key);\n    if (propertyTag !== undefined) {\n      if (true /* DEBUG */) {\n        unwrap(assertTagNotConsumed)(propertyTag, obj, key);\n      }\n      DIRTY_TAG(propertyTag, true);\n    }\n  }\n  function tagMetaFor(obj) {\n    var tags = TRACKED_TAGS.get(obj);\n    if (tags === undefined) {\n      tags = new Map();\n      TRACKED_TAGS.set(obj, tags);\n    }\n    return tags;\n  }\n  function tagFor(obj, key, meta) {\n    var tags = meta === undefined ? tagMetaFor(obj) : meta;\n    var tag = tags.get(key);\n    if (tag === undefined) {\n      tag = createUpdatableTag();\n      tags.set(key, tag);\n    }\n    return tag;\n  }\n\n  /**\n   * An object that that tracks @tracked properties that were consumed.\n   */\n\n  class Tracker {\n    constructor() {\n      this.tags = new Set();\n      this.last = null;\n    }\n    add(tag) {\n      if (tag === CONSTANT_TAG) return;\n      this.tags.add(tag);\n      if (true /* DEBUG */) {\n        unwrap(markTagAsConsumed)(tag);\n      }\n      this.last = tag;\n    }\n    combine() {\n      var {\n        tags\n      } = this;\n      if (tags.size === 0) {\n        return CONSTANT_TAG;\n      } else if (tags.size === 1) {\n        return this.last;\n      } else {\n        var tagsArr = [];\n        tags.forEach(tag => tagsArr.push(tag));\n        return combine(tagsArr);\n      }\n    }\n  }\n  /**\n   * Whenever a tracked computed property is entered, the current tracker is\n   * saved off and a new tracker is replaced.\n   *\n   * Any tracked properties consumed are added to the current tracker.\n   *\n   * When a tracked computed property is exited, the tracker's tags are\n   * combined and added to the parent tracker.\n   *\n   * The consequence is that each tracked computed property has a tag\n   * that corresponds to the tracked properties consumed inside of\n   * itself, including child tracked computed properties.\n   */\n\n  var CURRENT_TRACKER = null;\n  var OPEN_TRACK_FRAMES = [];\n  function beginTrackFrame(debuggingContext) {\n    OPEN_TRACK_FRAMES.push(CURRENT_TRACKER);\n    CURRENT_TRACKER = new Tracker();\n    if (true /* DEBUG */) {\n      unwrap(beginTrackingTransaction)(debuggingContext);\n    }\n  }\n  function endTrackFrame() {\n    var current = CURRENT_TRACKER;\n    if (true /* DEBUG */) {\n      if (OPEN_TRACK_FRAMES.length === 0) {\n        throw new Error('attempted to close a tracking frame, but one was not open');\n      }\n      unwrap(endTrackingTransaction)();\n    }\n    CURRENT_TRACKER = OPEN_TRACK_FRAMES.pop() || null;\n    return unwrap(current).combine();\n  }\n  function beginUntrackFrame() {\n    OPEN_TRACK_FRAMES.push(CURRENT_TRACKER);\n    CURRENT_TRACKER = null;\n  }\n  function endUntrackFrame() {\n    if (true /* DEBUG */ && OPEN_TRACK_FRAMES.length === 0) {\n      throw new Error('attempted to close a tracking frame, but one was not open');\n    }\n    CURRENT_TRACKER = OPEN_TRACK_FRAMES.pop() || null;\n  } // This function is only for handling errors and resetting to a valid state\n\n  function resetTracking() {\n    while (OPEN_TRACK_FRAMES.length > 0) {\n      OPEN_TRACK_FRAMES.pop();\n    }\n    CURRENT_TRACKER = null;\n    if (true /* DEBUG */) {\n      return unwrap(resetTrackingTransaction)();\n    }\n  }\n  function isTracking() {\n    return CURRENT_TRACKER !== null;\n  }\n  function consumeTag(tag) {\n    if (CURRENT_TRACKER !== null) {\n      CURRENT_TRACKER.add(tag);\n    }\n  } //////////\n  var FN = symbol('FN');\n  var LAST_VALUE = symbol('LAST_VALUE');\n  var TAG = symbol('TAG');\n  var SNAPSHOT = symbol('SNAPSHOT');\n  var DEBUG_LABEL = symbol('DEBUG_LABEL');\n  function createCache(fn, debuggingLabel) {\n    if (true /* DEBUG */ && !(typeof fn === 'function')) {\n      throw new Error(`createCache() must be passed a function as its first parameter. Called with: ${String(fn)}`);\n    }\n    var cache = {\n      [FN]: fn,\n      [LAST_VALUE]: undefined,\n      [TAG]: undefined,\n      [SNAPSHOT]: -1\n    };\n    if (true /* DEBUG */) {\n      cache[DEBUG_LABEL] = debuggingLabel;\n    }\n    return cache;\n  }\n  function getValue(cache) {\n    assertCache(cache, 'getValue');\n    var fn = cache[FN];\n    var tag = cache[TAG];\n    var snapshot = cache[SNAPSHOT];\n    if (tag === undefined || !validateTag(tag, snapshot)) {\n      beginTrackFrame();\n      try {\n        cache[LAST_VALUE] = fn();\n      } finally {\n        tag = endTrackFrame();\n        cache[TAG] = tag;\n        cache[SNAPSHOT] = valueForTag(tag);\n        consumeTag(tag);\n      }\n    } else {\n      consumeTag(tag);\n    }\n    return cache[LAST_VALUE];\n  }\n  function isConst(cache) {\n    assertCache(cache, 'isConst');\n    var tag = cache[TAG];\n    assertTag(tag, cache);\n    return isConstTag(tag);\n  }\n  function assertCache(value, fnName) {\n    if (true /* DEBUG */ && !(typeof value === 'object' && value !== null && FN in value)) {\n      throw new Error(`${fnName}() can only be used on an instance of a cache created with createCache(). Called with: ${String(value)}`);\n    }\n  } // replace this with `expect` when we can\n\n  function assertTag(tag, cache) {\n    if (true /* DEBUG */ && tag === undefined) {\n      throw new Error(`isConst() can only be used on a cache once getValue() has been called at least once. Called with cache function:\\n\\n${String(cache[FN])}`);\n    }\n  } //////////\n  // Legacy tracking APIs\n  // track() shouldn't be necessary at all in the VM once the autotracking\n  // refactors are merged, and we should generally be moving away from it. It may\n  // be necessary in Ember for a while longer, but I think we'll be able to drop\n  // it in favor of cache sooner rather than later.\n\n  function track(callback, debugLabel) {\n    beginTrackFrame(debugLabel);\n    var tag;\n    try {\n      callback();\n    } finally {\n      tag = endTrackFrame();\n    }\n    return tag;\n  } // untrack() is currently mainly used to handle places that were previously not\n  // tracked, and that tracking now would cause backtracking rerender assertions.\n  // I think once we move everyone forward onto modern APIs, we'll probably be\n  // able to remove it, but I'm not sure yet.\n\n  function untrack(callback) {\n    beginUntrackFrame();\n    try {\n      return callback();\n    } finally {\n      endUntrackFrame();\n    }\n  }\n  function trackedData(key, initializer) {\n    var values = new WeakMap();\n    var hasInitializer = typeof initializer === 'function';\n    function getter(self) {\n      consumeTag(tagFor(self, key));\n      var value; // If the field has never been initialized, we should initialize it\n\n      if (hasInitializer && !values.has(self)) {\n        value = initializer.call(self);\n        values.set(self, value);\n      } else {\n        value = values.get(self);\n      }\n      return value;\n    }\n    function setter(self, value) {\n      dirtyTagFor(self, key);\n      values.set(self, value);\n    }\n    return {\n      getter,\n      setter\n    };\n  }\n  var GLIMMER_VALIDATOR_REGISTRATION = symbolFor('GLIMMER_VALIDATOR_REGISTRATION');\n  var globalObj = getGlobal();\n  if (globalObj[GLIMMER_VALIDATOR_REGISTRATION] === true) {\n    throw new Error('The `@glimmer/validator` library has been included twice in this application. It could be different versions of the package, or the same version included twice by mistake. `@glimmer/validator` depends on having a single copy of the package in use at any time in an application, even if they are the same version. You must dedupe your build to remove the duplicate packages in order to prevent this error.');\n  }\n  globalObj[GLIMMER_VALIDATOR_REGISTRATION] = true;\n});","define(\"@glimmer/vm\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.TemporaryRegister = _exports.SavedRegister = _exports.$v0 = _exports.$t1 = _exports.$t0 = _exports.$sp = _exports.$s1 = _exports.$s0 = _exports.$ra = _exports.$pc = _exports.$fp = void 0;\n  _exports.isLowLevelRegister = isLowLevelRegister;\n  _exports.isMachineOp = isMachineOp;\n  _exports.isOp = isOp;\n  /* This file is generated by build/debug.js */\n  function isMachineOp(value) {\n    return value >= 0 && value <= 15;\n  }\n  function isOp(value) {\n    return value >= 16;\n  }\n\n  /**\n   * Registers\n   *\n   * For the most part, these follows MIPS naming conventions, however the\n   * register numbers are different.\n   */\n  // $0 or $pc (program counter): pointer into `program` for the next insturction; -1 means exit\n  var $pc = _exports.$pc = 0; // $1 or $ra (return address): pointer into `program` for the return\n\n  var $ra = _exports.$ra = 1; // $2 or $fp (frame pointer): pointer into the `evalStack` for the base of the stack\n\n  var $fp = _exports.$fp = 2; // $3 or $sp (stack pointer): pointer into the `evalStack` for the top of the stack\n\n  var $sp = _exports.$sp = 3; // $4-$5 or $s0-$s1 (saved): callee saved general-purpose registers\n\n  var $s0 = _exports.$s0 = 4;\n  var $s1 = _exports.$s1 = 5; // $6-$7 or $t0-$t1 (temporaries): caller saved general-purpose registers\n\n  var $t0 = _exports.$t0 = 6;\n  var $t1 = _exports.$t1 = 7; // $8 or $v0 (return value)\n\n  var $v0 = _exports.$v0 = 8;\n  function isLowLevelRegister(register) {\n    return register <= $sp;\n  }\n  var SavedRegister;\n  (function (SavedRegister) {\n    SavedRegister[SavedRegister[\"s0\"] = 4] = \"s0\";\n    SavedRegister[SavedRegister[\"s1\"] = 5] = \"s1\";\n  })(SavedRegister || (_exports.SavedRegister = SavedRegister = {}));\n  var TemporaryRegister;\n  (function (TemporaryRegister) {\n    TemporaryRegister[TemporaryRegister[\"t0\"] = 6] = \"t0\";\n    TemporaryRegister[TemporaryRegister[\"t1\"] = 7] = \"t1\";\n  })(TemporaryRegister || (_exports.TemporaryRegister = TemporaryRegister = {}));\n});","define(\"@glimmer/wire-format\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.getStringFromValue = getStringFromValue;\n  _exports.is = is;\n  _exports.isArgument = isArgument;\n  _exports.isAttribute = isAttribute;\n  _exports.isGet = _exports.isFlushElement = void 0;\n  _exports.isHelper = isHelper;\n  _exports.isStringLiteral = isStringLiteral;\n  function is(variant) {\n    return function (value) {\n      return Array.isArray(value) && value[0] === variant;\n    };\n  } // Statements\n\n  var isFlushElement = _exports.isFlushElement = is(12\n  /* FlushElement */);\n  function isAttribute(val) {\n    return val[0] === 14\n    /* StaticAttr */ || val[0] === 15\n    /* DynamicAttr */ || val[0] === 22\n    /* TrustingDynamicAttr */ || val[0] === 16\n    /* ComponentAttr */ || val[0] === 24\n    /* StaticComponentAttr */ || val[0] === 23\n    /* TrustingComponentAttr */ || val[0] === 17\n    /* AttrSplat */ || val[0] === 4\n    /* Modifier */;\n  }\n  function isStringLiteral(expr) {\n    return typeof expr === 'string';\n  }\n  function getStringFromValue(expr) {\n    return expr;\n  }\n  function isArgument(val) {\n    return val[0] === 21\n    /* StaticArg */ || val[0] === 20\n    /* DynamicArg */;\n  }\n  function isHelper(expr) {\n    return Array.isArray(expr) && expr[0] === 28\n    /* Call */;\n  } // Expressions\n\n  var isGet = _exports.isGet = is(30\n  /* GetSymbol */);\n});","define(\"@simple-dom/document\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var EMPTY_ATTRS = [];\n  function indexOfAttribute(attributes, namespaceURI, localName) {\n    for (var i = 0; i < attributes.length; i++) {\n      var attr = attributes[i];\n      if (attr.namespaceURI === namespaceURI && attr.localName === localName) {\n        return i;\n      }\n    }\n    return -1;\n  }\n  function adjustAttrName(namespaceURI, localName) {\n    return namespaceURI === \"http://www.w3.org/1999/xhtml\" /* HTML */ ? localName.toLowerCase() : localName;\n  }\n  function getAttribute(attributes, namespaceURI, localName) {\n    var index = indexOfAttribute(attributes, namespaceURI, localName);\n    return index === -1 ? null : attributes[index].value;\n  }\n  function removeAttribute(attributes, namespaceURI, localName) {\n    var index = indexOfAttribute(attributes, namespaceURI, localName);\n    if (index !== -1) {\n      attributes.splice(index, 1);\n    }\n  }\n  // https://dom.spec.whatwg.org/#dom-element-setattributens\n  function setAttribute(element, namespaceURI, prefix, localName, value) {\n    if (typeof value !== 'string') {\n      value = '' + value;\n    }\n    var {\n      attributes\n    } = element;\n    if (attributes === EMPTY_ATTRS) {\n      attributes = element.attributes = [];\n    } else {\n      var index = indexOfAttribute(attributes, namespaceURI, localName);\n      if (index !== -1) {\n        attributes[index].value = value;\n        return;\n      }\n    }\n    attributes.push({\n      localName,\n      name: prefix === null ? localName : prefix + ':' + localName,\n      namespaceURI,\n      prefix,\n      specified: true,\n      value\n    });\n  }\n  class ChildNodes {\n    constructor(node) {\n      this.node = node;\n      this.stale = true;\n      this._length = 0;\n    }\n    get length() {\n      if (this.stale) {\n        this.stale = false;\n        var len = 0;\n        var child = this.node.firstChild;\n        for (; child !== null; len++) {\n          this[len] = child;\n          child = child.nextSibling;\n        }\n        var oldLen = this._length;\n        this._length = len;\n        for (; len < oldLen; len++) {\n          delete this[len];\n        }\n      }\n      return this._length;\n    }\n    item(index) {\n      return index < this.length ? this[index] : null;\n    }\n  }\n  function cloneNode(node, deep) {\n    var clone = nodeFrom(node);\n    if (deep) {\n      var child = node.firstChild;\n      var nextChild = child;\n      while (child !== null) {\n        nextChild = child.nextSibling;\n        clone.appendChild(child.cloneNode(true));\n        child = nextChild;\n      }\n    }\n    return clone;\n  }\n  function nodeFrom(node) {\n    var namespaceURI;\n    if (node.nodeType === 1 /* ELEMENT_NODE */) {\n      namespaceURI = node.namespaceURI;\n    }\n    var clone = new SimpleNodeImpl(node.ownerDocument, node.nodeType, node.nodeName, node.nodeValue, namespaceURI);\n    if (node.nodeType === 1 /* ELEMENT_NODE */) {\n      clone.attributes = copyAttrs(node.attributes);\n    }\n    return clone;\n  }\n  function copyAttrs(attrs) {\n    if (attrs === EMPTY_ATTRS) {\n      return EMPTY_ATTRS;\n    }\n    var copy = [];\n    for (var i = 0; i < attrs.length; i++) {\n      var attr = attrs[i];\n      copy.push({\n        localName: attr.localName,\n        name: attr.name,\n        namespaceURI: attr.namespaceURI,\n        prefix: attr.prefix,\n        specified: true,\n        value: attr.value\n      });\n    }\n    return copy;\n  }\n  function insertBefore(parentNode, newChild, refChild) {\n    invalidate(parentNode);\n    insertBetween(parentNode, newChild, refChild === null ? parentNode.lastChild : refChild.previousSibling, refChild);\n  }\n  function removeChild(parentNode, oldChild) {\n    invalidate(parentNode);\n    removeBetween(parentNode, oldChild, oldChild.previousSibling, oldChild.nextSibling);\n  }\n  function invalidate(parentNode) {\n    var childNodes = parentNode._childNodes;\n    if (childNodes !== undefined) {\n      childNodes.stale = true;\n    }\n  }\n  function insertBetween(parentNode, newChild, previousSibling, nextSibling) {\n    if (newChild.nodeType === 11 /* DOCUMENT_FRAGMENT_NODE */) {\n      insertFragment(newChild, parentNode, previousSibling, nextSibling);\n      return;\n    }\n    if (newChild.parentNode !== null) {\n      removeChild(newChild.parentNode, newChild);\n    }\n    newChild.parentNode = parentNode;\n    newChild.previousSibling = previousSibling;\n    newChild.nextSibling = nextSibling;\n    if (previousSibling === null) {\n      parentNode.firstChild = newChild;\n    } else {\n      previousSibling.nextSibling = newChild;\n    }\n    if (nextSibling === null) {\n      parentNode.lastChild = newChild;\n    } else {\n      nextSibling.previousSibling = newChild;\n    }\n  }\n  function removeBetween(parentNode, oldChild, previousSibling, nextSibling) {\n    oldChild.parentNode = null;\n    oldChild.previousSibling = null;\n    oldChild.nextSibling = null;\n    if (previousSibling === null) {\n      parentNode.firstChild = nextSibling;\n    } else {\n      previousSibling.nextSibling = nextSibling;\n    }\n    if (nextSibling === null) {\n      parentNode.lastChild = previousSibling;\n    } else {\n      nextSibling.previousSibling = previousSibling;\n    }\n  }\n  function insertFragment(fragment, parentNode, previousSibling, nextSibling) {\n    var firstChild = fragment.firstChild;\n    if (firstChild === null) {\n      return;\n    }\n    fragment.firstChild = null;\n    fragment.lastChild = null;\n    var lastChild = firstChild;\n    var newChild = firstChild;\n    firstChild.previousSibling = previousSibling;\n    if (previousSibling === null) {\n      parentNode.firstChild = firstChild;\n    } else {\n      previousSibling.nextSibling = firstChild;\n    }\n    while (newChild !== null) {\n      newChild.parentNode = parentNode;\n      lastChild = newChild;\n      newChild = newChild.nextSibling;\n    }\n    lastChild.nextSibling = nextSibling;\n    if (nextSibling === null) {\n      parentNode.lastChild = lastChild;\n    } else {\n      nextSibling.previousSibling = lastChild;\n    }\n  }\n  function parseQualifiedName(qualifiedName) {\n    var localName = qualifiedName;\n    var prefix = null;\n    var i = qualifiedName.indexOf(':');\n    if (i !== -1) {\n      prefix = qualifiedName.slice(0, i);\n      localName = qualifiedName.slice(i + 1);\n    }\n    return [prefix, localName];\n  }\n  class SimpleNodeImpl {\n    constructor(ownerDocument, nodeType, nodeName, nodeValue, namespaceURI) {\n      this.ownerDocument = ownerDocument;\n      this.nodeType = nodeType;\n      this.nodeName = nodeName;\n      this.nodeValue = nodeValue;\n      this.namespaceURI = namespaceURI;\n      this.parentNode = null;\n      this.previousSibling = null;\n      this.nextSibling = null;\n      this.firstChild = null;\n      this.lastChild = null;\n      this.attributes = EMPTY_ATTRS;\n      /**\n       * @internal\n       */\n      this._childNodes = undefined;\n    }\n    get tagName() {\n      return this.nodeName;\n    }\n    get childNodes() {\n      var children = this._childNodes;\n      if (children === undefined) {\n        children = this._childNodes = new ChildNodes(this);\n      }\n      return children;\n    }\n    cloneNode(deep) {\n      return cloneNode(this, deep === true);\n    }\n    appendChild(newChild) {\n      insertBefore(this, newChild, null);\n      return newChild;\n    }\n    insertBefore(newChild, refChild) {\n      insertBefore(this, newChild, refChild);\n      return newChild;\n    }\n    removeChild(oldChild) {\n      removeChild(this, oldChild);\n      return oldChild;\n    }\n    insertAdjacentHTML(position, html) {\n      var raw = new SimpleNodeImpl(this.ownerDocument, -1 /* RAW_NODE */, '#raw', html, void 0);\n      var parentNode;\n      var nextSibling;\n      switch (position) {\n        case 'beforebegin':\n          parentNode = this.parentNode;\n          nextSibling = this;\n          break;\n        case 'afterbegin':\n          parentNode = this;\n          nextSibling = this.firstChild;\n          break;\n        case 'beforeend':\n          parentNode = this;\n          nextSibling = null;\n          break;\n        case 'afterend':\n          parentNode = this.parentNode;\n          nextSibling = this.nextSibling;\n          break;\n        default:\n          throw new Error('invalid position');\n      }\n      if (parentNode === null) {\n        throw new Error(`${position} requires a parentNode`);\n      }\n      insertBefore(parentNode, raw, nextSibling);\n    }\n    getAttribute(name) {\n      var localName = adjustAttrName(this.namespaceURI, name);\n      return getAttribute(this.attributes, null, localName);\n    }\n    getAttributeNS(namespaceURI, localName) {\n      return getAttribute(this.attributes, namespaceURI, localName);\n    }\n    setAttribute(name, value) {\n      var localName = adjustAttrName(this.namespaceURI, name);\n      setAttribute(this, null, null, localName, value);\n    }\n    setAttributeNS(namespaceURI, qualifiedName, value) {\n      var [prefix, localName] = parseQualifiedName(qualifiedName);\n      setAttribute(this, namespaceURI, prefix, localName, value);\n    }\n    removeAttribute(name) {\n      var localName = adjustAttrName(this.namespaceURI, name);\n      removeAttribute(this.attributes, null, localName);\n    }\n    removeAttributeNS(namespaceURI, localName) {\n      removeAttribute(this.attributes, namespaceURI, localName);\n    }\n    get doctype() {\n      return this.firstChild;\n    }\n    get documentElement() {\n      return this.lastChild;\n    }\n    get head() {\n      return this.documentElement.firstChild;\n    }\n    get body() {\n      return this.documentElement.lastChild;\n    }\n    createElement(name) {\n      return new SimpleNodeImpl(this, 1 /* ELEMENT_NODE */, name.toUpperCase(), null, \"http://www.w3.org/1999/xhtml\" /* HTML */);\n    }\n    createElementNS(namespace, qualifiedName) {\n      // Node name is case-preserving in XML contexts, but returns canonical uppercase form in HTML contexts\n      // https://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#ID-104682815\n      var nodeName = namespace === \"http://www.w3.org/1999/xhtml\" /* HTML */ ? qualifiedName.toUpperCase() : qualifiedName;\n      // we don't care to parse the qualified name because we only support HTML documents\n      // which don't support prefixed elements\n      return new SimpleNodeImpl(this, 1 /* ELEMENT_NODE */, nodeName, null, namespace);\n    }\n    createTextNode(text) {\n      return new SimpleNodeImpl(this, 3 /* TEXT_NODE */, '#text', text, void 0);\n    }\n    createComment(text) {\n      return new SimpleNodeImpl(this, 8 /* COMMENT_NODE */, '#comment', text, void 0);\n    }\n    /**\n     * Backwards compat\n     * @deprecated\n     */\n    createRawHTMLSection(text) {\n      return new SimpleNodeImpl(this, -1 /* RAW_NODE */, '#raw', text, void 0);\n    }\n    createDocumentFragment() {\n      return new SimpleNodeImpl(this, 11 /* DOCUMENT_FRAGMENT_NODE */, '#document-fragment', null, void 0);\n    }\n  }\n  function createHTMLDocument() {\n    // dom.d.ts types ownerDocument as Document but for a document ownerDocument is null\n    var document = new SimpleNodeImpl(null, 9 /* DOCUMENT_NODE */, '#document', null, \"http://www.w3.org/1999/xhtml\" /* HTML */);\n    var doctype = new SimpleNodeImpl(document, 10 /* DOCUMENT_TYPE_NODE */, 'html', null, \"http://www.w3.org/1999/xhtml\" /* HTML */);\n    var html = new SimpleNodeImpl(document, 1 /* ELEMENT_NODE */, 'HTML', null, \"http://www.w3.org/1999/xhtml\" /* HTML */);\n    var head = new SimpleNodeImpl(document, 1 /* ELEMENT_NODE */, 'HEAD', null, \"http://www.w3.org/1999/xhtml\" /* HTML */);\n    var body = new SimpleNodeImpl(document, 1 /* ELEMENT_NODE */, 'BODY', null, \"http://www.w3.org/1999/xhtml\" /* HTML */);\n    html.appendChild(head);\n    html.appendChild(body);\n    document.appendChild(doctype);\n    document.appendChild(html);\n    return document;\n  }\n  var _default = _exports.default = createHTMLDocument;\n});","define(\"backburner\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.buildPlatform = buildPlatform;\n  _exports.default = void 0;\n  var SET_TIMEOUT = setTimeout;\n  var NOOP = () => {};\n  function buildNext(flush) {\n    // Using \"promises first\" here to:\n    //\n    // 1) Ensure more consistent experience on browsers that\n    //    have differently queued microtasks (separate queues for\n    //    MutationObserver vs Promises).\n    // 2) Ensure better debugging experiences (it shows up in Chrome\n    //    call stack as \"Promise.then (async)\") which is more consistent\n    //    with user expectations\n    //\n    // When Promise is unavailable use MutationObserver (mostly so that we\n    // still get microtasks on IE11), and when neither MutationObserver and\n    // Promise are present use a plain old setTimeout.\n    if (typeof Promise === 'function') {\n      var autorunPromise = Promise.resolve();\n      return () => autorunPromise.then(flush);\n    } else if (typeof MutationObserver === 'function') {\n      var iterations = 0;\n      var observer = new MutationObserver(flush);\n      var node = document.createTextNode('');\n      observer.observe(node, {\n        characterData: true\n      });\n      return () => {\n        iterations = ++iterations % 2;\n        node.data = '' + iterations;\n        return iterations;\n      };\n    } else {\n      return () => SET_TIMEOUT(flush, 0);\n    }\n  }\n  function buildPlatform(flush) {\n    var clearNext = NOOP;\n    return {\n      setTimeout(fn, ms) {\n        return setTimeout(fn, ms);\n      },\n      clearTimeout(timerId) {\n        return clearTimeout(timerId);\n      },\n      now() {\n        return Date.now();\n      },\n      next: buildNext(flush),\n      clearNext\n    };\n  }\n  var NUMBER = /\\d+/;\n  var TIMERS_OFFSET = 6;\n  function isCoercableNumber(suspect) {\n    var type = typeof suspect;\n    return type === 'number' && suspect === suspect || type === 'string' && NUMBER.test(suspect);\n  }\n  function getOnError(options) {\n    return options.onError || options.onErrorTarget && options.onErrorTarget[options.onErrorMethod];\n  }\n  function findItem(target, method, collection) {\n    var index = -1;\n    for (var i = 0, l = collection.length; i < l; i += 4) {\n      if (collection[i] === target && collection[i + 1] === method) {\n        index = i;\n        break;\n      }\n    }\n    return index;\n  }\n  function findTimerItem(target, method, collection) {\n    var index = -1;\n    for (var i = 2, l = collection.length; i < l; i += 6) {\n      if (collection[i] === target && collection[i + 1] === method) {\n        index = i - 2;\n        break;\n      }\n    }\n    return index;\n  }\n  function getQueueItems(items, queueItemLength, queueItemPositionOffset = 0) {\n    var queueItems = [];\n    for (var i = 0; i < items.length; i += queueItemLength) {\n      var maybeError = items[i + 3 /* stack */ + queueItemPositionOffset];\n      var queueItem = {\n        target: items[i + 0 /* target */ + queueItemPositionOffset],\n        method: items[i + 1 /* method */ + queueItemPositionOffset],\n        args: items[i + 2 /* args */ + queueItemPositionOffset],\n        stack: maybeError !== undefined && 'stack' in maybeError ? maybeError.stack : ''\n      };\n      queueItems.push(queueItem);\n    }\n    return queueItems;\n  }\n  function binarySearch(time, timers) {\n    var start = 0;\n    var end = timers.length - TIMERS_OFFSET;\n    var middle;\n    var l;\n    while (start < end) {\n      // since timers is an array of pairs 'l' will always\n      // be an integer\n      l = (end - start) / TIMERS_OFFSET;\n      // compensate for the index in case even number\n      // of pairs inside timers\n      middle = start + l - l % TIMERS_OFFSET;\n      if (time >= timers[middle]) {\n        start = middle + TIMERS_OFFSET;\n      } else {\n        end = middle;\n      }\n    }\n    return time >= timers[start] ? start + TIMERS_OFFSET : start;\n  }\n  var QUEUE_ITEM_LENGTH = 4;\n  class Queue {\n    constructor(name, options = {}, globalOptions = {}) {\n      this._queueBeingFlushed = [];\n      this.targetQueues = new Map();\n      this.index = 0;\n      this._queue = [];\n      this.name = name;\n      this.options = options;\n      this.globalOptions = globalOptions;\n    }\n    stackFor(index) {\n      if (index < this._queue.length) {\n        var entry = this._queue[index * 3 + QUEUE_ITEM_LENGTH];\n        if (entry) {\n          return entry.stack;\n        } else {\n          return null;\n        }\n      }\n    }\n    flush(sync) {\n      var {\n        before,\n        after\n      } = this.options;\n      var target;\n      var method;\n      var args;\n      var errorRecordedForStack;\n      this.targetQueues.clear();\n      if (this._queueBeingFlushed.length === 0) {\n        this._queueBeingFlushed = this._queue;\n        this._queue = [];\n      }\n      if (before !== undefined) {\n        before();\n      }\n      var invoke;\n      var queueItems = this._queueBeingFlushed;\n      if (queueItems.length > 0) {\n        var onError = getOnError(this.globalOptions);\n        invoke = onError ? this.invokeWithOnError : this.invoke;\n        for (var i = this.index; i < queueItems.length; i += QUEUE_ITEM_LENGTH) {\n          this.index += QUEUE_ITEM_LENGTH;\n          method = queueItems[i + 1];\n          // method could have been nullified / canceled during flush\n          if (method !== null) {\n            //\n            //    ** Attention intrepid developer **\n            //\n            //    To find out the stack of this task when it was scheduled onto\n            //    the run loop, add the following to your app.js:\n            //\n            //    Ember.run.backburner.DEBUG = true; // NOTE: This slows your app, don't leave it on in production.\n            //\n            //    Once that is in place, when you are at a breakpoint and navigate\n            //    here in the stack explorer, you can look at `errorRecordedForStack.stack`,\n            //    which will be the captured stack when this job was scheduled.\n            //\n            //    One possible long-term solution is the following Chrome issue:\n            //       https://bugs.chromium.org/p/chromium/issues/detail?id=332624\n            //\n            target = queueItems[i];\n            args = queueItems[i + 2];\n            errorRecordedForStack = queueItems[i + 3]; // Debugging assistance\n            invoke(target, method, args, onError, errorRecordedForStack);\n          }\n          if (this.index !== this._queueBeingFlushed.length && this.globalOptions.mustYield && this.globalOptions.mustYield()) {\n            return 1 /* Pause */;\n          }\n        }\n      }\n      if (after !== undefined) {\n        after();\n      }\n      this._queueBeingFlushed.length = 0;\n      this.index = 0;\n      if (sync !== false && this._queue.length > 0) {\n        // check if new items have been added\n        this.flush(true);\n      }\n    }\n    hasWork() {\n      return this._queueBeingFlushed.length > 0 || this._queue.length > 0;\n    }\n    cancel({\n      target,\n      method\n    }) {\n      var queue = this._queue;\n      var targetQueueMap = this.targetQueues.get(target);\n      if (targetQueueMap !== undefined) {\n        targetQueueMap.delete(method);\n      }\n      var index = findItem(target, method, queue);\n      if (index > -1) {\n        queue.splice(index, QUEUE_ITEM_LENGTH);\n        return true;\n      }\n      // if not found in current queue\n      // could be in the queue that is being flushed\n      queue = this._queueBeingFlushed;\n      index = findItem(target, method, queue);\n      if (index > -1) {\n        queue[index + 1] = null;\n        return true;\n      }\n      return false;\n    }\n    push(target, method, args, stack) {\n      this._queue.push(target, method, args, stack);\n      return {\n        queue: this,\n        target,\n        method\n      };\n    }\n    pushUnique(target, method, args, stack) {\n      var localQueueMap = this.targetQueues.get(target);\n      if (localQueueMap === undefined) {\n        localQueueMap = new Map();\n        this.targetQueues.set(target, localQueueMap);\n      }\n      var index = localQueueMap.get(method);\n      if (index === undefined) {\n        var queueIndex = this._queue.push(target, method, args, stack) - QUEUE_ITEM_LENGTH;\n        localQueueMap.set(method, queueIndex);\n      } else {\n        var queue = this._queue;\n        queue[index + 2] = args; // replace args\n        queue[index + 3] = stack; // replace stack\n      }\n      return {\n        queue: this,\n        target,\n        method\n      };\n    }\n    _getDebugInfo(debugEnabled) {\n      if (debugEnabled) {\n        var debugInfo = getQueueItems(this._queue, QUEUE_ITEM_LENGTH);\n        return debugInfo;\n      }\n      return undefined;\n    }\n    invoke(target, method, args /*, onError, errorRecordedForStack */) {\n      if (args === undefined) {\n        method.call(target);\n      } else {\n        method.apply(target, args);\n      }\n    }\n    invokeWithOnError(target, method, args, onError, errorRecordedForStack) {\n      try {\n        if (args === undefined) {\n          method.call(target);\n        } else {\n          method.apply(target, args);\n        }\n      } catch (error) {\n        onError(error, errorRecordedForStack);\n      }\n    }\n  }\n  class DeferredActionQueues {\n    constructor(queueNames = [], options) {\n      this.queues = {};\n      this.queueNameIndex = 0;\n      this.queueNames = queueNames;\n      queueNames.reduce(function (queues, queueName) {\n        queues[queueName] = new Queue(queueName, options[queueName], options);\n        return queues;\n      }, this.queues);\n    }\n    /**\n     * @method schedule\n     * @param {String} queueName\n     * @param {Any} target\n     * @param {Any} method\n     * @param {Any} args\n     * @param {Boolean} onceFlag\n     * @param {Any} stack\n     * @return queue\n     */\n    schedule(queueName, target, method, args, onceFlag, stack) {\n      var queues = this.queues;\n      var queue = queues[queueName];\n      if (queue === undefined) {\n        throw new Error(`You attempted to schedule an action in a queue (${queueName}) that doesn\\'t exist`);\n      }\n      if (method === undefined || method === null) {\n        throw new Error(`You attempted to schedule an action in a queue (${queueName}) for a method that doesn\\'t exist`);\n      }\n      this.queueNameIndex = 0;\n      if (onceFlag) {\n        return queue.pushUnique(target, method, args, stack);\n      } else {\n        return queue.push(target, method, args, stack);\n      }\n    }\n    /**\n     * DeferredActionQueues.flush() calls Queue.flush()\n     *\n     * @method flush\n     * @param {Boolean} fromAutorun\n     */\n    flush(fromAutorun = false) {\n      var queue;\n      var queueName;\n      var numberOfQueues = this.queueNames.length;\n      while (this.queueNameIndex < numberOfQueues) {\n        queueName = this.queueNames[this.queueNameIndex];\n        queue = this.queues[queueName];\n        if (queue.hasWork() === false) {\n          this.queueNameIndex++;\n          if (fromAutorun && this.queueNameIndex < numberOfQueues) {\n            return 1 /* Pause */;\n          }\n        } else {\n          if (queue.flush(false /* async */) === 1 /* Pause */) {\n            return 1 /* Pause */;\n          }\n        }\n      }\n    }\n    /**\n     * Returns debug information for the current queues.\n     *\n     * @method _getDebugInfo\n     * @param {Boolean} debugEnabled\n     * @returns {IDebugInfo | undefined}\n     */\n    _getDebugInfo(debugEnabled) {\n      if (debugEnabled) {\n        var debugInfo = {};\n        var queue;\n        var queueName;\n        var numberOfQueues = this.queueNames.length;\n        var i = 0;\n        while (i < numberOfQueues) {\n          queueName = this.queueNames[i];\n          queue = this.queues[queueName];\n          debugInfo[queueName] = queue._getDebugInfo(debugEnabled);\n          i++;\n        }\n        return debugInfo;\n      }\n      return;\n    }\n  }\n  function iteratorDrain(fn) {\n    var iterator = fn();\n    var result = iterator.next();\n    while (result.done === false) {\n      result.value();\n      result = iterator.next();\n    }\n  }\n  var noop = function () {};\n  var DISABLE_SCHEDULE = Object.freeze([]);\n  function parseArgs() {\n    var length = arguments.length;\n    var args;\n    var method;\n    var target;\n    if (length === 0) ;else if (length === 1) {\n      target = null;\n      method = arguments[0];\n    } else {\n      var argsIndex = 2;\n      var methodOrTarget = arguments[0];\n      var methodOrArgs = arguments[1];\n      var type = typeof methodOrArgs;\n      if (type === 'function') {\n        target = methodOrTarget;\n        method = methodOrArgs;\n      } else if (methodOrTarget !== null && type === 'string' && methodOrArgs in methodOrTarget) {\n        target = methodOrTarget;\n        method = target[methodOrArgs];\n      } else if (typeof methodOrTarget === 'function') {\n        argsIndex = 1;\n        target = null;\n        method = methodOrTarget;\n      }\n      if (length > argsIndex) {\n        var len = length - argsIndex;\n        args = new Array(len);\n        for (var i = 0; i < len; i++) {\n          args[i] = arguments[i + argsIndex];\n        }\n      }\n    }\n    return [target, method, args];\n  }\n  function parseTimerArgs() {\n    var [target, method, args] = parseArgs(...arguments);\n    var wait = 0;\n    var length = args !== undefined ? args.length : 0;\n    if (length > 0) {\n      var last = args[length - 1];\n      if (isCoercableNumber(last)) {\n        wait = parseInt(args.pop(), 10);\n      }\n    }\n    return [target, method, args, wait];\n  }\n  function parseDebounceArgs() {\n    var target;\n    var method;\n    var isImmediate;\n    var args;\n    var wait;\n    if (arguments.length === 2) {\n      method = arguments[0];\n      wait = arguments[1];\n      target = null;\n    } else {\n      [target, method, args] = parseArgs(...arguments);\n      if (args === undefined) {\n        wait = 0;\n      } else {\n        wait = args.pop();\n        if (!isCoercableNumber(wait)) {\n          isImmediate = wait === true;\n          wait = args.pop();\n        }\n      }\n    }\n    wait = parseInt(wait, 10);\n    return [target, method, args, wait, isImmediate];\n  }\n  var UUID = 0;\n  var beginCount = 0;\n  var endCount = 0;\n  var beginEventCount = 0;\n  var endEventCount = 0;\n  var runCount = 0;\n  var joinCount = 0;\n  var deferCount = 0;\n  var scheduleCount = 0;\n  var scheduleIterableCount = 0;\n  var deferOnceCount = 0;\n  var scheduleOnceCount = 0;\n  var setTimeoutCount = 0;\n  var laterCount = 0;\n  var throttleCount = 0;\n  var debounceCount = 0;\n  var cancelTimersCount = 0;\n  var cancelCount = 0;\n  var autorunsCreatedCount = 0;\n  var autorunsCompletedCount = 0;\n  var deferredActionQueuesCreatedCount = 0;\n  var nestedDeferredActionQueuesCreated = 0;\n  class Backburner {\n    constructor(queueNames, options) {\n      this.DEBUG = false;\n      this.currentInstance = null;\n      this.instanceStack = [];\n      this._eventCallbacks = {\n        end: [],\n        begin: []\n      };\n      this._timerTimeoutId = null;\n      this._timers = [];\n      this._autorun = false;\n      this._autorunStack = null;\n      this.queueNames = queueNames;\n      this.options = options || {};\n      if (typeof this.options.defaultQueue === 'string') {\n        this._defaultQueue = this.options.defaultQueue;\n      } else {\n        this._defaultQueue = this.queueNames[0];\n      }\n      this._onBegin = this.options.onBegin || noop;\n      this._onEnd = this.options.onEnd || noop;\n      this._boundRunExpiredTimers = this._runExpiredTimers.bind(this);\n      this._boundAutorunEnd = () => {\n        autorunsCompletedCount++;\n        // if the autorun was already flushed, do nothing\n        if (this._autorun === false) {\n          return;\n        }\n        this._autorun = false;\n        this._autorunStack = null;\n        this._end(true /* fromAutorun */);\n      };\n      var builder = this.options._buildPlatform || buildPlatform;\n      this._platform = builder(this._boundAutorunEnd);\n    }\n    get counters() {\n      return {\n        begin: beginCount,\n        end: endCount,\n        events: {\n          begin: beginEventCount,\n          end: endEventCount\n        },\n        autoruns: {\n          created: autorunsCreatedCount,\n          completed: autorunsCompletedCount\n        },\n        run: runCount,\n        join: joinCount,\n        defer: deferCount,\n        schedule: scheduleCount,\n        scheduleIterable: scheduleIterableCount,\n        deferOnce: deferOnceCount,\n        scheduleOnce: scheduleOnceCount,\n        setTimeout: setTimeoutCount,\n        later: laterCount,\n        throttle: throttleCount,\n        debounce: debounceCount,\n        cancelTimers: cancelTimersCount,\n        cancel: cancelCount,\n        loops: {\n          total: deferredActionQueuesCreatedCount,\n          nested: nestedDeferredActionQueuesCreated\n        }\n      };\n    }\n    get defaultQueue() {\n      return this._defaultQueue;\n    }\n    /*\n      @method begin\n      @return instantiated class DeferredActionQueues\n    */\n    begin() {\n      beginCount++;\n      var options = this.options;\n      var previousInstance = this.currentInstance;\n      var current;\n      if (this._autorun !== false) {\n        current = previousInstance;\n        this._cancelAutorun();\n      } else {\n        if (previousInstance !== null) {\n          nestedDeferredActionQueuesCreated++;\n          this.instanceStack.push(previousInstance);\n        }\n        deferredActionQueuesCreatedCount++;\n        current = this.currentInstance = new DeferredActionQueues(this.queueNames, options);\n        beginEventCount++;\n        this._trigger('begin', current, previousInstance);\n      }\n      this._onBegin(current, previousInstance);\n      return current;\n    }\n    end() {\n      endCount++;\n      this._end(false);\n    }\n    on(eventName, callback) {\n      if (typeof callback !== 'function') {\n        throw new TypeError(`Callback must be a function`);\n      }\n      var callbacks = this._eventCallbacks[eventName];\n      if (callbacks !== undefined) {\n        callbacks.push(callback);\n      } else {\n        throw new TypeError(`Cannot on() event ${eventName} because it does not exist`);\n      }\n    }\n    off(eventName, callback) {\n      var callbacks = this._eventCallbacks[eventName];\n      if (!eventName || callbacks === undefined) {\n        throw new TypeError(`Cannot off() event ${eventName} because it does not exist`);\n      }\n      var callbackFound = false;\n      if (callback) {\n        for (var i = 0; i < callbacks.length; i++) {\n          if (callbacks[i] === callback) {\n            callbackFound = true;\n            callbacks.splice(i, 1);\n            i--;\n          }\n        }\n      }\n      if (!callbackFound) {\n        throw new TypeError(`Cannot off() callback that does not exist`);\n      }\n    }\n    run() {\n      runCount++;\n      var [target, method, args] = parseArgs(...arguments);\n      return this._run(target, method, args);\n    }\n    join() {\n      joinCount++;\n      var [target, method, args] = parseArgs(...arguments);\n      return this._join(target, method, args);\n    }\n    /**\n     * @deprecated please use schedule instead.\n     */\n    defer(queueName, target, method, ...args) {\n      deferCount++;\n      return this.schedule(queueName, target, method, ...args);\n    }\n    schedule(queueName, ..._args) {\n      scheduleCount++;\n      var [target, method, args] = parseArgs(..._args);\n      var stack = this.DEBUG ? new Error() : undefined;\n      return this._ensureInstance().schedule(queueName, target, method, args, false, stack);\n    }\n    /*\n      Defer the passed iterable of functions to run inside the specified queue.\n         @method scheduleIterable\n      @param {String} queueName\n      @param {Iterable} an iterable of functions to execute\n      @return method result\n    */\n    scheduleIterable(queueName, iterable) {\n      scheduleIterableCount++;\n      var stack = this.DEBUG ? new Error() : undefined;\n      return this._ensureInstance().schedule(queueName, null, iteratorDrain, [iterable], false, stack);\n    }\n    /**\n     * @deprecated please use scheduleOnce instead.\n     */\n    deferOnce(queueName, target, method, ...args) {\n      deferOnceCount++;\n      return this.scheduleOnce(queueName, target, method, ...args);\n    }\n    scheduleOnce(queueName, ..._args) {\n      scheduleOnceCount++;\n      var [target, method, args] = parseArgs(..._args);\n      var stack = this.DEBUG ? new Error() : undefined;\n      return this._ensureInstance().schedule(queueName, target, method, args, true, stack);\n    }\n    setTimeout() {\n      setTimeoutCount++;\n      return this.later(...arguments);\n    }\n    later() {\n      laterCount++;\n      var [target, method, args, wait] = parseTimerArgs(...arguments);\n      return this._later(target, method, args, wait);\n    }\n    throttle() {\n      throttleCount++;\n      var [target, method, args, wait, isImmediate = true] = parseDebounceArgs(...arguments);\n      var index = findTimerItem(target, method, this._timers);\n      var timerId;\n      if (index === -1) {\n        timerId = this._later(target, method, isImmediate ? DISABLE_SCHEDULE : args, wait);\n        if (isImmediate) {\n          this._join(target, method, args);\n        }\n      } else {\n        timerId = this._timers[index + 1];\n        var argIndex = index + 4;\n        if (this._timers[argIndex] !== DISABLE_SCHEDULE) {\n          this._timers[argIndex] = args;\n        }\n      }\n      return timerId;\n    }\n    debounce() {\n      debounceCount++;\n      var [target, method, args, wait, isImmediate = false] = parseDebounceArgs(...arguments);\n      var _timers = this._timers;\n      var index = findTimerItem(target, method, _timers);\n      var timerId;\n      if (index === -1) {\n        timerId = this._later(target, method, isImmediate ? DISABLE_SCHEDULE : args, wait);\n        if (isImmediate) {\n          this._join(target, method, args);\n        }\n      } else {\n        var executeAt = this._platform.now() + wait;\n        var argIndex = index + 4;\n        if (_timers[argIndex] === DISABLE_SCHEDULE) {\n          args = DISABLE_SCHEDULE;\n        }\n        timerId = _timers[index + 1];\n        var i = binarySearch(executeAt, _timers);\n        if (index + TIMERS_OFFSET === i) {\n          _timers[index] = executeAt;\n          _timers[argIndex] = args;\n        } else {\n          var stack = this._timers[index + 5];\n          this._timers.splice(i, 0, executeAt, timerId, target, method, args, stack);\n          this._timers.splice(index, TIMERS_OFFSET);\n        }\n        if (index === 0) {\n          this._reinstallTimerTimeout();\n        }\n      }\n      return timerId;\n    }\n    cancelTimers() {\n      cancelTimersCount++;\n      this._clearTimerTimeout();\n      this._timers = [];\n      this._cancelAutorun();\n    }\n    hasTimers() {\n      return this._timers.length > 0 || this._autorun;\n    }\n    cancel(timer) {\n      cancelCount++;\n      if (timer === null || timer === undefined) {\n        return false;\n      }\n      var timerType = typeof timer;\n      if (timerType === 'number') {\n        // we're cancelling a setTimeout or throttle or debounce\n        return this._cancelLaterTimer(timer);\n      } else if (timerType === 'object' && timer.queue && timer.method) {\n        // we're cancelling a deferOnce\n        return timer.queue.cancel(timer);\n      }\n      return false;\n    }\n    ensureInstance() {\n      this._ensureInstance();\n    }\n    /**\n     * Returns debug information related to the current instance of Backburner\n     *\n     * @method getDebugInfo\n     * @returns {Object | undefined} Will return and Object containing debug information if\n     * the DEBUG flag is set to true on the current instance of Backburner, else undefined.\n     */\n    getDebugInfo() {\n      if (this.DEBUG) {\n        return {\n          autorun: this._autorunStack,\n          counters: this.counters,\n          timers: getQueueItems(this._timers, TIMERS_OFFSET, 2),\n          instanceStack: [this.currentInstance, ...this.instanceStack].map(deferredActionQueue => deferredActionQueue && deferredActionQueue._getDebugInfo(this.DEBUG))\n        };\n      }\n      return undefined;\n    }\n    _end(fromAutorun) {\n      var currentInstance = this.currentInstance;\n      var nextInstance = null;\n      if (currentInstance === null) {\n        throw new Error(`end called without begin`);\n      }\n      // Prevent double-finally bug in Safari 6.0.2 and iOS 6\n      // This bug appears to be resolved in Safari 6.0.5 and iOS 7\n      var finallyAlreadyCalled = false;\n      var result;\n      try {\n        result = currentInstance.flush(fromAutorun);\n      } finally {\n        if (!finallyAlreadyCalled) {\n          finallyAlreadyCalled = true;\n          if (result === 1 /* Pause */) {\n            var plannedNextQueue = this.queueNames[currentInstance.queueNameIndex];\n            this._scheduleAutorun(plannedNextQueue);\n          } else {\n            this.currentInstance = null;\n            if (this.instanceStack.length > 0) {\n              nextInstance = this.instanceStack.pop();\n              this.currentInstance = nextInstance;\n            }\n            this._trigger('end', currentInstance, nextInstance);\n            this._onEnd(currentInstance, nextInstance);\n          }\n        }\n      }\n    }\n    _join(target, method, args) {\n      if (this.currentInstance === null) {\n        return this._run(target, method, args);\n      }\n      if (target === undefined && args === undefined) {\n        return method();\n      } else {\n        return method.apply(target, args);\n      }\n    }\n    _run(target, method, args) {\n      var onError = getOnError(this.options);\n      this.begin();\n      if (onError) {\n        try {\n          return method.apply(target, args);\n        } catch (error) {\n          onError(error);\n        } finally {\n          this.end();\n        }\n      } else {\n        try {\n          return method.apply(target, args);\n        } finally {\n          this.end();\n        }\n      }\n    }\n    _cancelAutorun() {\n      if (this._autorun) {\n        this._platform.clearNext();\n        this._autorun = false;\n        this._autorunStack = null;\n      }\n    }\n    _later(target, method, args, wait) {\n      var stack = this.DEBUG ? new Error() : undefined;\n      var executeAt = this._platform.now() + wait;\n      var id = UUID++;\n      if (this._timers.length === 0) {\n        this._timers.push(executeAt, id, target, method, args, stack);\n        this._installTimerTimeout();\n      } else {\n        // find position to insert\n        var i = binarySearch(executeAt, this._timers);\n        this._timers.splice(i, 0, executeAt, id, target, method, args, stack);\n        // always reinstall since it could be out of sync\n        this._reinstallTimerTimeout();\n      }\n      return id;\n    }\n    _cancelLaterTimer(timer) {\n      for (var i = 1; i < this._timers.length; i += TIMERS_OFFSET) {\n        if (this._timers[i] === timer) {\n          this._timers.splice(i - 1, TIMERS_OFFSET);\n          if (i === 1) {\n            this._reinstallTimerTimeout();\n          }\n          return true;\n        }\n      }\n      return false;\n    }\n    /**\n     Trigger an event. Supports up to two arguments. Designed around\n     triggering transition events from one run loop instance to the\n     next, which requires an argument for the  instance and then\n     an argument for the next instance.\n        @private\n     @method _trigger\n     @param {String} eventName\n     @param {any} arg1\n     @param {any} arg2\n     */\n    _trigger(eventName, arg1, arg2) {\n      var callbacks = this._eventCallbacks[eventName];\n      if (callbacks !== undefined) {\n        for (var i = 0; i < callbacks.length; i++) {\n          callbacks[i](arg1, arg2);\n        }\n      }\n    }\n    _runExpiredTimers() {\n      this._timerTimeoutId = null;\n      if (this._timers.length > 0) {\n        this.begin();\n        this._scheduleExpiredTimers();\n        this.end();\n      }\n    }\n    _scheduleExpiredTimers() {\n      var timers = this._timers;\n      var i = 0;\n      var l = timers.length;\n      var defaultQueue = this._defaultQueue;\n      var n = this._platform.now();\n      for (; i < l; i += TIMERS_OFFSET) {\n        var executeAt = timers[i];\n        if (executeAt > n) {\n          break;\n        }\n        var args = timers[i + 4];\n        if (args !== DISABLE_SCHEDULE) {\n          var target = timers[i + 2];\n          var method = timers[i + 3];\n          var stack = timers[i + 5];\n          this.currentInstance.schedule(defaultQueue, target, method, args, false, stack);\n        }\n      }\n      timers.splice(0, i);\n      this._installTimerTimeout();\n    }\n    _reinstallTimerTimeout() {\n      this._clearTimerTimeout();\n      this._installTimerTimeout();\n    }\n    _clearTimerTimeout() {\n      if (this._timerTimeoutId === null) {\n        return;\n      }\n      this._platform.clearTimeout(this._timerTimeoutId);\n      this._timerTimeoutId = null;\n    }\n    _installTimerTimeout() {\n      if (this._timers.length === 0) {\n        return;\n      }\n      var minExpiresAt = this._timers[0];\n      var n = this._platform.now();\n      var wait = Math.max(0, minExpiresAt - n);\n      this._timerTimeoutId = this._platform.setTimeout(this._boundRunExpiredTimers, wait);\n    }\n    _ensureInstance() {\n      var currentInstance = this.currentInstance;\n      if (currentInstance === null) {\n        this._autorunStack = this.DEBUG ? new Error() : undefined;\n        currentInstance = this.begin();\n        this._scheduleAutorun(this.queueNames[0]);\n      }\n      return currentInstance;\n    }\n    _scheduleAutorun(plannedNextQueue) {\n      autorunsCreatedCount++;\n      var next = this._platform.next;\n      var flush = this.options.flush;\n      if (flush) {\n        flush(plannedNextQueue, next);\n      } else {\n        next();\n      }\n      this._autorun = true;\n    }\n  }\n  Backburner.Queue = Queue;\n  Backburner.buildPlatform = buildPlatform;\n  Backburner.buildNext = buildNext;\n  var _default = _exports.default = Backburner;\n});","define(\"dag-map\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * A topologically ordered map of key/value pairs with a simple API for adding constraints.\n   *\n   * Edges can forward reference keys that have not been added yet (the forward reference will\n   * map the key to undefined).\n   */\n  var DAG = function () {\n    function DAG() {\n      this._vertices = new Vertices();\n    }\n    /**\n     * Adds a key/value pair with dependencies on other key/value pairs.\n     *\n     * @public\n     * @param key    The key of the vertex to be added.\n     * @param value  The value of that vertex.\n     * @param before A key or array of keys of the vertices that must\n     *               be visited before this vertex.\n     * @param after  An string or array of strings with the keys of the\n     *               vertices that must be after this vertex is visited.\n     */\n    DAG.prototype.add = function (key, value, before, after) {\n      if (!key) throw new Error('argument `key` is required');\n      var vertices = this._vertices;\n      var v = vertices.add(key);\n      v.val = value;\n      if (before) {\n        if (typeof before === \"string\") {\n          vertices.addEdge(v, vertices.add(before));\n        } else {\n          for (var i = 0; i < before.length; i++) {\n            vertices.addEdge(v, vertices.add(before[i]));\n          }\n        }\n      }\n      if (after) {\n        if (typeof after === \"string\") {\n          vertices.addEdge(vertices.add(after), v);\n        } else {\n          for (var i = 0; i < after.length; i++) {\n            vertices.addEdge(vertices.add(after[i]), v);\n          }\n        }\n      }\n    };\n    /**\n     * @deprecated please use add.\n     */\n    DAG.prototype.addEdges = function (key, value, before, after) {\n      this.add(key, value, before, after);\n    };\n    /**\n     * Visits key/value pairs in topological order.\n     *\n     * @public\n     * @param callback The function to be invoked with each key/value.\n     */\n    DAG.prototype.each = function (callback) {\n      this._vertices.walk(callback);\n    };\n    /**\n     * @deprecated please use each.\n     */\n    DAG.prototype.topsort = function (callback) {\n      this.each(callback);\n    };\n    return DAG;\n  }();\n  var _default = _exports.default = DAG;\n  /** @private */\n  var Vertices = function () {\n    function Vertices() {\n      this.length = 0;\n      this.stack = new IntStack();\n      this.path = new IntStack();\n      this.result = new IntStack();\n    }\n    Vertices.prototype.add = function (key) {\n      if (!key) throw new Error(\"missing key\");\n      var l = this.length | 0;\n      var vertex;\n      for (var i = 0; i < l; i++) {\n        vertex = this[i];\n        if (vertex.key === key) return vertex;\n      }\n      this.length = l + 1;\n      return this[l] = {\n        idx: l,\n        key: key,\n        val: undefined,\n        out: false,\n        flag: false,\n        length: 0\n      };\n    };\n    Vertices.prototype.addEdge = function (v, w) {\n      this.check(v, w.key);\n      var l = w.length | 0;\n      for (var i = 0; i < l; i++) {\n        if (w[i] === v.idx) return;\n      }\n      w.length = l + 1;\n      w[l] = v.idx;\n      v.out = true;\n    };\n    Vertices.prototype.walk = function (cb) {\n      this.reset();\n      for (var i = 0; i < this.length; i++) {\n        var vertex = this[i];\n        if (vertex.out) continue;\n        this.visit(vertex, \"\");\n      }\n      this.each(this.result, cb);\n    };\n    Vertices.prototype.check = function (v, w) {\n      if (v.key === w) {\n        throw new Error(\"cycle detected: \" + w + \" <- \" + w);\n      }\n      // quick check\n      if (v.length === 0) return;\n      // shallow check\n      for (var i = 0; i < v.length; i++) {\n        var key = this[v[i]].key;\n        if (key === w) {\n          throw new Error(\"cycle detected: \" + w + \" <- \" + v.key + \" <- \" + w);\n        }\n      }\n      // deep check\n      this.reset();\n      this.visit(v, w);\n      if (this.path.length > 0) {\n        var msg_1 = \"cycle detected: \" + w;\n        this.each(this.path, function (key) {\n          msg_1 += \" <- \" + key;\n        });\n        throw new Error(msg_1);\n      }\n    };\n    Vertices.prototype.reset = function () {\n      this.stack.length = 0;\n      this.path.length = 0;\n      this.result.length = 0;\n      for (var i = 0, l = this.length; i < l; i++) {\n        this[i].flag = false;\n      }\n    };\n    Vertices.prototype.visit = function (start, search) {\n      var _a = this,\n        stack = _a.stack,\n        path = _a.path,\n        result = _a.result;\n      stack.push(start.idx);\n      while (stack.length) {\n        var index = stack.pop() | 0;\n        if (index >= 0) {\n          // enter\n          var vertex = this[index];\n          if (vertex.flag) continue;\n          vertex.flag = true;\n          path.push(index);\n          if (search === vertex.key) break;\n          // push exit\n          stack.push(~index);\n          this.pushIncoming(vertex);\n        } else {\n          // exit\n          path.pop();\n          result.push(~index);\n        }\n      }\n    };\n    Vertices.prototype.pushIncoming = function (incomming) {\n      var stack = this.stack;\n      for (var i = incomming.length - 1; i >= 0; i--) {\n        var index = incomming[i];\n        if (!this[index].flag) {\n          stack.push(index);\n        }\n      }\n    };\n    Vertices.prototype.each = function (indices, cb) {\n      for (var i = 0, l = indices.length; i < l; i++) {\n        var vertex = this[indices[i]];\n        cb(vertex.key, vertex.val);\n      }\n    };\n    return Vertices;\n  }();\n  /** @private */\n  var IntStack = function () {\n    function IntStack() {\n      this.length = 0;\n    }\n    IntStack.prototype.push = function (n) {\n      this[this.length++] = n | 0;\n    };\n    IntStack.prototype.pop = function () {\n      return this[--this.length] | 0;\n    };\n    return IntStack;\n  }();\n});","define(\"ember-babel\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.assertThisInitialized = assertThisInitialized;\n  _exports.classCallCheck = classCallCheck;\n  _exports.createClass = createClass;\n  _exports.createForOfIteratorHelperLoose = createForOfIteratorHelperLoose;\n  _exports.createSuper = createSuper;\n  _exports.inheritsLoose = inheritsLoose;\n  _exports.objectDestructuringEmpty = objectDestructuringEmpty;\n  _exports.possibleConstructorReturn = possibleConstructorReturn;\n  _exports.taggedTemplateLiteralLoose = taggedTemplateLiteralLoose;\n  _exports.wrapNativeSuper = wrapNativeSuper;\n  /* globals Reflect */\n\n  var setPrototypeOf = Object.setPrototypeOf;\n  var getPrototypeOf = Object.getPrototypeOf;\n  var hasReflectConstruct = typeof Reflect === 'object' && typeof Reflect.construct === 'function';\n  var nativeWrapperCache = new Map();\n\n  // Super minimal version of Babel's wrapNativeSuper. We only use this for\n  // extending Function, for ComputedDecoratorImpl and AliasDecoratorImpl. We know\n  // we will never directly create an instance of these classes so no need to\n  // include `construct` code or other helpers.\n  function wrapNativeSuper(Class) {\n    if (nativeWrapperCache.has(Class)) {\n      return nativeWrapperCache.get(Class);\n    }\n    function Wrapper() {}\n    Wrapper.prototype = Object.create(Class.prototype, {\n      constructor: {\n        value: Wrapper,\n        enumerable: false,\n        writable: true,\n        configurable: true\n      }\n    });\n    nativeWrapperCache.set(Class, Wrapper);\n    return setPrototypeOf(Wrapper, Class);\n  }\n  function classCallCheck(instance, Constructor) {\n    if (true /* DEBUG */) {\n      if (!(instance instanceof Constructor)) {\n        throw new TypeError('Cannot call a class as a function');\n      }\n    }\n  }\n\n  /*\n    Overrides default `inheritsLoose` to _also_ call `Object.setPrototypeOf`.\n    This is needed so that we can use `loose` option with the\n    `@babel/plugin-transform-classes` (because we want simple assignment to the\n    prototype wherever possible) but also keep our constructor based prototypal\n    inheritance working properly\n  */\n  function inheritsLoose(subClass, superClass) {\n    if (true /* DEBUG */) {\n      if (typeof superClass !== 'function' && superClass !== null) {\n        throw new TypeError('Super expression must either be null or a function');\n      }\n    }\n    subClass.prototype = Object.create(superClass === null ? null : superClass.prototype, {\n      constructor: {\n        value: subClass,\n        writable: true,\n        configurable: true\n      }\n    });\n    if (superClass !== null) {\n      setPrototypeOf(subClass, superClass);\n    }\n  }\n  function taggedTemplateLiteralLoose(strings, raw) {\n    if (!raw) {\n      raw = strings.slice(0);\n    }\n    strings.raw = raw;\n    return strings;\n  }\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) descriptor.writable = true;\n      Object.defineProperty(target, descriptor.key, descriptor);\n    }\n  }\n\n  /*\n    Differs from default implementation by avoiding boolean coercion of\n    `protoProps` and `staticProps`.\n  */\n  function createClass(Constructor, protoProps, staticProps) {\n    if (protoProps !== null && protoProps !== undefined) {\n      _defineProperties(Constructor.prototype, protoProps);\n    }\n    if (staticProps !== null && staticProps !== undefined) {\n      _defineProperties(Constructor, staticProps);\n    }\n    return Constructor;\n  }\n  function assertThisInitialized(self) {\n    if (true /* DEBUG */ && self === void 0) {\n      throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n    }\n    return self;\n  }\n\n  /*\n    Adds `DEBUG` guard to error being thrown, and avoids boolean coercion of `call`.\n  */\n  function possibleConstructorReturn(self, call) {\n    if (typeof call === 'object' && call !== null || typeof call === 'function') {\n      return call;\n    }\n    return assertThisInitialized(self);\n  }\n  function objectDestructuringEmpty(obj) {\n    if (true /* DEBUG */ && (obj === null || obj === undefined)) {\n      throw new TypeError('Cannot destructure undefined');\n    }\n  }\n\n  /*\n    Differs from default implementation by checking for _any_ `Reflect.construct`\n    (the default implementation tries to ensure that `Reflect.construct` is truly\n    the native one).\n  \n    Original source: https://github.com/babel/babel/blob/v7.9.2/packages/babel-helpers/src/helpers.js#L738-L757\n  */\n  function createSuper(Derived) {\n    return function () {\n      var Super = getPrototypeOf(Derived);\n      var result;\n      if (hasReflectConstruct) {\n        // NOTE: This doesn't work if this.__proto__.constructor has been modified.\n        var NewTarget = getPrototypeOf(this).constructor;\n        result = Reflect.construct(Super, arguments, NewTarget);\n      } else {\n        result = Super.apply(this, arguments);\n      }\n      return possibleConstructorReturn(this, result);\n    };\n  }\n\n  /*\n    Does not differ from default implementation.\n  */\n  function arrayLikeToArray(arr, len) {\n    if (len == null || len > arr.length) len = arr.length;\n    var arr2 = new Array(len);\n    for (var i = 0; i < len; i++) {\n      arr2[i] = arr[i];\n    }\n    return arr2;\n  }\n\n  /*\n    Does not differ from default implementation.\n  */\n  function unsupportedIterableToArray(o, minLen) {\n    if (!o) return;\n    if (typeof o === 'string') return arrayLikeToArray(o, minLen);\n    var n = Object.prototype.toString.call(o).slice(8, -1);\n    if (n === 'Object' && o.constructor) n = o.constructor.name;\n    if (n === 'Map' || n === 'Set') return Array.from(n);\n    if (n === 'Arguments' || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n  }\n\n  /*\n    Does not differ from default implementation.\n  */\n  function createForOfIteratorHelperLoose(o) {\n    var i = 0;\n    if (typeof Symbol === 'undefined' || o[Symbol.iterator] == null) {\n      // Fallback for engines without symbol support\n      if (Array.isArray(o) || (o = unsupportedIterableToArray(o))) return function () {\n        if (i >= o.length) return {\n          done: true\n        };\n        return {\n          done: false,\n          value: o[i++]\n        };\n      };\n      throw new TypeError('Invalid attempt to iterate non-iterable instance.\\\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.');\n    }\n    i = o[Symbol.iterator]();\n    return i.next.bind(i);\n  }\n});","define(\"ember-testing/index\", [\"exports\", \"ember-testing/lib/test\", \"ember-testing/lib/adapters/adapter\", \"ember-testing/lib/setup_for_testing\", \"ember-testing/lib/adapters/qunit\", \"ember-testing/lib/support\", \"ember-testing/lib/ext/application\", \"ember-testing/lib/ext/rsvp\", \"ember-testing/lib/helpers\", \"ember-testing/lib/initializers\"], function (_exports, _test, _adapter, _setup_for_testing, _qunit, _support, _application, _rsvp, _helpers, _initializers) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"Adapter\", {\n    enumerable: true,\n    get: function () {\n      return _adapter.default;\n    }\n  });\n  Object.defineProperty(_exports, \"QUnitAdapter\", {\n    enumerable: true,\n    get: function () {\n      return _qunit.default;\n    }\n  });\n  Object.defineProperty(_exports, \"Test\", {\n    enumerable: true,\n    get: function () {\n      return _test.default;\n    }\n  });\n  Object.defineProperty(_exports, \"setupForTesting\", {\n    enumerable: true,\n    get: function () {\n      return _setup_for_testing.default;\n    }\n  });\n});","define(\"ember-testing/lib/adapters/adapter\", [\"exports\", \"@ember/-internals/runtime\"], function (_exports, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function K() {\n    return this;\n  }\n  /**\n   @module @ember/test\n  */\n\n  /**\n    The primary purpose of this class is to create hooks that can be implemented\n    by an adapter for various test frameworks.\n  \n    @class TestAdapter\n    @public\n  */\n  var _default = _exports.default = _runtime.Object.extend({\n    /**\n      This callback will be called whenever an async operation is about to start.\n       Override this to call your framework's methods that handle async\n      operations.\n       @public\n      @method asyncStart\n    */\n    asyncStart: K,\n    /**\n      This callback will be called whenever an async operation has completed.\n       @public\n      @method asyncEnd\n    */\n    asyncEnd: K,\n    /**\n      Override this method with your testing framework's false assertion.\n      This function is called whenever an exception occurs causing the testing\n      promise to fail.\n       QUnit example:\n       ```javascript\n        exception: function(error) {\n          ok(false, error);\n        };\n      ```\n       @public\n      @method exception\n      @param {String} error The exception to be raised.\n    */\n    exception(error) {\n      throw error;\n    }\n  });\n});","define(\"ember-testing/lib/adapters/qunit\", [\"exports\", \"@ember/-internals/utils\", \"ember-testing/lib/adapters/adapter\"], function (_exports, _utils, _adapter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /* globals QUnit */\n  /**\n     @module ember\n  */\n  /**\n    This class implements the methods defined by TestAdapter for the\n    QUnit testing framework.\n  \n    @class QUnitAdapter\n    @namespace Ember.Test\n    @extends TestAdapter\n    @public\n  */\n  var _default = _exports.default = _adapter.default.extend({\n    init() {\n      this.doneCallbacks = [];\n    },\n    asyncStart() {\n      if (typeof QUnit.stop === 'function') {\n        // very old QUnit version\n        QUnit.stop();\n      } else {\n        this.doneCallbacks.push(QUnit.config.current ? QUnit.config.current.assert.async() : null);\n      }\n    },\n    asyncEnd() {\n      // checking for QUnit.stop here (even though we _need_ QUnit.start) because\n      // QUnit.start() still exists in QUnit 2.x (it just throws an error when calling\n      // inside a test context)\n      if (typeof QUnit.stop === 'function') {\n        QUnit.start();\n      } else {\n        var done = this.doneCallbacks.pop(); // This can be null if asyncStart() was called outside of a test\n\n        if (done) {\n          done();\n        }\n      }\n    },\n    exception(error) {\n      QUnit.config.current.assert.ok(false, (0, _utils.inspect)(error));\n    }\n  });\n});","define(\"ember-testing/lib/events\", [\"exports\", \"@ember/runloop\", \"@ember/polyfills\", \"ember-testing/lib/helpers/-is-form-control\"], function (_exports, _runloop, _polyfills, _isFormControl) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.fireEvent = fireEvent;\n  _exports.focus = focus;\n  var DEFAULT_EVENT_OPTIONS = {\n    canBubble: true,\n    cancelable: true\n  };\n  var KEYBOARD_EVENT_TYPES = ['keydown', 'keypress', 'keyup'];\n  var MOUSE_EVENT_TYPES = ['click', 'mousedown', 'mouseup', 'dblclick', 'mouseenter', 'mouseleave', 'mousemove', 'mouseout', 'mouseover'];\n  function focus(el) {\n    if (!el) {\n      return;\n    }\n    if (el.isContentEditable || (0, _isFormControl.default)(el)) {\n      var type = el.getAttribute('type');\n      if (type !== 'checkbox' && type !== 'radio' && type !== 'hidden') {\n        (0, _runloop.run)(null, function () {\n          var browserIsNotFocused = document.hasFocus && !document.hasFocus(); // makes `document.activeElement` be `element`. If the browser is focused, it also fires a focus event\n\n          el.focus(); // Firefox does not trigger the `focusin` event if the window\n          // does not have focus. If the document does not have focus then\n          // fire `focusin` event as well.\n\n          if (browserIsNotFocused) {\n            // if the browser is not focused the previous `el.focus()` didn't fire an event, so we simulate it\n            fireEvent(el, 'focus', {\n              bubbles: false\n            });\n            fireEvent(el, 'focusin');\n          }\n        });\n      }\n    }\n  }\n  function fireEvent(element, type, options = {}) {\n    if (!element) {\n      return;\n    }\n    var event;\n    if (KEYBOARD_EVENT_TYPES.indexOf(type) > -1) {\n      event = buildKeyboardEvent(type, options);\n    } else if (MOUSE_EVENT_TYPES.indexOf(type) > -1) {\n      var rect = element.getBoundingClientRect();\n      var x = rect.left + 1;\n      var y = rect.top + 1;\n      var simulatedCoordinates = {\n        screenX: x + 5,\n        screenY: y + 95,\n        clientX: x,\n        clientY: y\n      };\n      event = buildMouseEvent(type, (0, _polyfills.assign)(simulatedCoordinates, options));\n    } else {\n      event = buildBasicEvent(type, options);\n    }\n    element.dispatchEvent(event);\n  }\n  function buildBasicEvent(type, options = {}) {\n    var event = document.createEvent('Events'); // Event.bubbles is read only\n\n    var bubbles = options.bubbles !== undefined ? options.bubbles : true;\n    var cancelable = options.cancelable !== undefined ? options.cancelable : true;\n    delete options.bubbles;\n    delete options.cancelable;\n    event.initEvent(type, bubbles, cancelable);\n    (0, _polyfills.assign)(event, options);\n    return event;\n  }\n  function buildMouseEvent(type, options = {}) {\n    var event;\n    try {\n      event = document.createEvent('MouseEvents');\n      var eventOpts = (0, _polyfills.assign)({}, DEFAULT_EVENT_OPTIONS, options);\n      event.initMouseEvent(type, eventOpts.canBubble, eventOpts.cancelable, window, eventOpts.detail, eventOpts.screenX, eventOpts.screenY, eventOpts.clientX, eventOpts.clientY, eventOpts.ctrlKey, eventOpts.altKey, eventOpts.shiftKey, eventOpts.metaKey, eventOpts.button, eventOpts.relatedTarget);\n    } catch (e) {\n      event = buildBasicEvent(type, options);\n    }\n    return event;\n  }\n  function buildKeyboardEvent(type, options = {}) {\n    var event;\n    try {\n      event = document.createEvent('KeyEvents');\n      var eventOpts = (0, _polyfills.assign)({}, DEFAULT_EVENT_OPTIONS, options);\n      event.initKeyEvent(type, eventOpts.canBubble, eventOpts.cancelable, window, eventOpts.ctrlKey, eventOpts.altKey, eventOpts.shiftKey, eventOpts.metaKey, eventOpts.keyCode, eventOpts.charCode);\n    } catch (e) {\n      event = buildBasicEvent(type, options);\n    }\n    return event;\n  }\n});","define(\"ember-testing/lib/ext/application\", [\"@ember/application\", \"ember-testing/lib/setup_for_testing\", \"ember-testing/lib/test/helpers\", \"ember-testing/lib/test/promise\", \"ember-testing/lib/test/run\", \"ember-testing/lib/test/on_inject_helpers\", \"ember-testing/lib/test/adapter\"], function (_application, _setup_for_testing, _helpers, _promise, _run, _on_inject_helpers, _adapter) {\n  \"use strict\";\n\n  _application.default.reopen({\n    /**\n     This property contains the testing helpers for the current application. These\n     are created once you call `injectTestHelpers` on your `Application`\n     instance. The included helpers are also available on the `window` object by\n     default, but can be used from this object on the individual application also.\n       @property testHelpers\n      @type {Object}\n      @default {}\n      @public\n    */\n    testHelpers: {},\n    /**\n     This property will contain the original methods that were registered\n     on the `helperContainer` before `injectTestHelpers` is called.\n      When `removeTestHelpers` is called, these methods are restored to the\n     `helperContainer`.\n       @property originalMethods\n      @type {Object}\n      @default {}\n      @private\n      @since 1.3.0\n    */\n    originalMethods: {},\n    /**\n    This property indicates whether or not this application is currently in\n    testing mode. This is set when `setupForTesting` is called on the current\n    application.\n     @property testing\n    @type {Boolean}\n    @default false\n    @since 1.3.0\n    @public\n    */\n    testing: false,\n    /**\n      This hook defers the readiness of the application, so that you can start\n      the app when your tests are ready to run. It also sets the router's\n      location to 'none', so that the window's location will not be modified\n      (preventing both accidental leaking of state between tests and interference\n      with your testing framework). `setupForTesting` should only be called after\n      setting a custom `router` class (for example `App.Router = Router.extend(`).\n       Example:\n       ```\n      App.setupForTesting();\n      ```\n       @method setupForTesting\n      @public\n    */\n    setupForTesting() {\n      (0, _setup_for_testing.default)();\n      this.testing = true;\n      this.resolveRegistration('router:main').reopen({\n        location: 'none'\n      });\n    },\n    /**\n      This will be used as the container to inject the test helpers into. By\n      default the helpers are injected into `window`.\n       @property helperContainer\n      @type {Object} The object to be used for test helpers.\n      @default window\n      @since 1.2.0\n      @private\n    */\n    helperContainer: null,\n    /**\n      This injects the test helpers into the `helperContainer` object. If an object is provided\n      it will be used as the helperContainer. If `helperContainer` is not set it will default\n      to `window`. If a function of the same name has already been defined it will be cached\n      (so that it can be reset if the helper is removed with `unregisterHelper` or\n      `removeTestHelpers`).\n       Any callbacks registered with `onInjectHelpers` will be called once the\n      helpers have been injected.\n       Example:\n      ```\n      App.injectTestHelpers();\n      ```\n       @method injectTestHelpers\n      @public\n    */\n    injectTestHelpers(helperContainer) {\n      if (helperContainer) {\n        this.helperContainer = helperContainer;\n      } else {\n        this.helperContainer = window;\n      }\n      this.reopen({\n        willDestroy() {\n          this._super(...arguments);\n          this.removeTestHelpers();\n        }\n      });\n      this.testHelpers = {};\n      for (var name in _helpers.helpers) {\n        this.originalMethods[name] = this.helperContainer[name];\n        this.testHelpers[name] = this.helperContainer[name] = helper(this, name);\n        protoWrap(_promise.default.prototype, name, helper(this, name), _helpers.helpers[name].meta.wait);\n      }\n      (0, _on_inject_helpers.invokeInjectHelpersCallbacks)(this);\n    },\n    /**\n      This removes all helpers that have been registered, and resets and functions\n      that were overridden by the helpers.\n       Example:\n       ```javascript\n      App.removeTestHelpers();\n      ```\n       @public\n      @method removeTestHelpers\n    */\n    removeTestHelpers() {\n      if (!this.helperContainer) {\n        return;\n      }\n      for (var name in _helpers.helpers) {\n        this.helperContainer[name] = this.originalMethods[name];\n        delete _promise.default.prototype[name];\n        delete this.testHelpers[name];\n        delete this.originalMethods[name];\n      }\n    }\n  }); // This method is no longer needed\n  // But still here for backwards compatibility\n  // of helper chaining\n\n  function protoWrap(proto, name, callback, isAsync) {\n    proto[name] = function (...args) {\n      if (isAsync) {\n        return callback.apply(this, args);\n      } else {\n        return this.then(function () {\n          return callback.apply(this, args);\n        });\n      }\n    };\n  }\n  function helper(app, name) {\n    var fn = _helpers.helpers[name].method;\n    var meta = _helpers.helpers[name].meta;\n    if (!meta.wait) {\n      return (...args) => fn.apply(app, [app, ...args]);\n    }\n    return (...args) => {\n      var lastPromise = (0, _run.default)(() => (0, _promise.resolve)((0, _promise.getLastPromise)())); // wait for last helper's promise to resolve and then\n      // execute. To be safe, we need to tell the adapter we're going\n      // asynchronous here, because fn may not be invoked before we\n      // return.\n\n      (0, _adapter.asyncStart)();\n      return lastPromise.then(() => fn.apply(app, [app, ...args])).finally(_adapter.asyncEnd);\n    };\n  }\n});","define(\"ember-testing/lib/ext/rsvp\", [\"exports\", \"@ember/-internals/runtime\", \"@ember/runloop\", \"@ember/debug\", \"ember-testing/lib/test/adapter\"], function (_exports, _runtime, _runloop, _debug, _adapter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _runtime.RSVP.configure('async', function (callback, promise) {\n    // if schedule will cause autorun, we need to inform adapter\n    if ((0, _debug.isTesting)() && !_runloop._backburner.currentInstance) {\n      (0, _adapter.asyncStart)();\n      _runloop._backburner.schedule('actions', () => {\n        (0, _adapter.asyncEnd)();\n        callback(promise);\n      });\n    } else {\n      _runloop._backburner.schedule('actions', () => callback(promise));\n    }\n  });\n  var _default = _exports.default = _runtime.RSVP;\n});","define(\"ember-testing/lib/helpers\", [\"ember-testing/lib/test/helpers\", \"ember-testing/lib/helpers/and_then\", \"ember-testing/lib/helpers/click\", \"ember-testing/lib/helpers/current_path\", \"ember-testing/lib/helpers/current_route_name\", \"ember-testing/lib/helpers/current_url\", \"ember-testing/lib/helpers/fill_in\", \"ember-testing/lib/helpers/find\", \"ember-testing/lib/helpers/find_with_assert\", \"ember-testing/lib/helpers/key_event\", \"ember-testing/lib/helpers/pause_test\", \"ember-testing/lib/helpers/trigger_event\", \"ember-testing/lib/helpers/visit\", \"ember-testing/lib/helpers/wait\"], function (_helpers, _and_then, _click, _current_path, _current_route_name, _current_url, _fill_in, _find, _find_with_assert, _key_event, _pause_test, _trigger_event, _visit, _wait) {\n  \"use strict\";\n\n  (0, _helpers.registerAsyncHelper)('visit', _visit.default);\n  (0, _helpers.registerAsyncHelper)('click', _click.default);\n  (0, _helpers.registerAsyncHelper)('keyEvent', _key_event.default);\n  (0, _helpers.registerAsyncHelper)('fillIn', _fill_in.default);\n  (0, _helpers.registerAsyncHelper)('wait', _wait.default);\n  (0, _helpers.registerAsyncHelper)('andThen', _and_then.default);\n  (0, _helpers.registerAsyncHelper)('pauseTest', _pause_test.pauseTest);\n  (0, _helpers.registerAsyncHelper)('triggerEvent', _trigger_event.default);\n  (0, _helpers.registerHelper)('find', _find.default);\n  (0, _helpers.registerHelper)('findWithAssert', _find_with_assert.default);\n  (0, _helpers.registerHelper)('currentRouteName', _current_route_name.default);\n  (0, _helpers.registerHelper)('currentPath', _current_path.default);\n  (0, _helpers.registerHelper)('currentURL', _current_url.default);\n  (0, _helpers.registerHelper)('resumeTest', _pause_test.resumeTest);\n});","define(\"ember-testing/lib/helpers/-is-form-control\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = isFormControl;\n  var FORM_CONTROL_TAGS = ['INPUT', 'BUTTON', 'SELECT', 'TEXTAREA'];\n  /**\n    @private\n    @param {Element} element the element to check\n    @returns {boolean} `true` when the element is a form control, `false` otherwise\n  */\n\n  function isFormControl(element) {\n    var {\n      tagName,\n      type\n    } = element;\n    if (type === 'hidden') {\n      return false;\n    }\n    return FORM_CONTROL_TAGS.indexOf(tagName) > -1;\n  }\n});","define(\"ember-testing/lib/helpers/and_then\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = andThen;\n  function andThen(app, callback) {\n    return app.testHelpers.wait(callback(app));\n  }\n});","define(\"ember-testing/lib/helpers/click\", [\"exports\", \"ember-testing/lib/events\"], function (_exports, _events) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = click;\n  /**\n  @module ember\n  */\n\n  /**\n    Clicks an element and triggers any actions triggered by the element's `click`\n    event.\n  \n    Example:\n  \n    ```javascript\n    click('.some-jQuery-selector').then(function() {\n      // assert something\n    });\n    ```\n  \n    @method click\n    @param {String} selector jQuery selector for finding element on the DOM\n    @param {Object} context A DOM Element, Document, or jQuery to use as context\n    @return {RSVP.Promise<undefined>}\n    @public\n  */\n\n  function click(app, selector, context) {\n    var $el = app.testHelpers.findWithAssert(selector, context);\n    var el = $el[0];\n    (0, _events.fireEvent)(el, 'mousedown');\n    (0, _events.focus)(el);\n    (0, _events.fireEvent)(el, 'mouseup');\n    (0, _events.fireEvent)(el, 'click');\n    return app.testHelpers.wait();\n  }\n});","define(\"ember-testing/lib/helpers/current_path\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = currentPath;\n  /**\n  @module ember\n  */\n\n  /**\n    Returns the current path.\n  \n  Example:\n  \n  ```javascript\n  function validateURL() {\n    equal(currentPath(), 'some.path.index', \"correct path was transitioned into.\");\n  }\n  \n  click('#some-link-id').then(validateURL);\n  ```\n  \n  @method currentPath\n  @return {Object} The currently active path.\n  @since 1.5.0\n  @public\n  */\n\n  function currentPath(app) {\n    var routingService = app.__container__.lookup('service:-routing');\n    return (0, _metal.get)(routingService, 'currentPath');\n  }\n});","define(\"ember-testing/lib/helpers/current_route_name\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = currentRouteName;\n  /**\n  @module ember\n  */\n\n  /**\n    Returns the currently active route name.\n  \n  Example:\n  \n  ```javascript\n  function validateRouteName() {\n    equal(currentRouteName(), 'some.path', \"correct route was transitioned into.\");\n  }\n  visit('/some/path').then(validateRouteName)\n  ```\n  \n  @method currentRouteName\n  @return {Object} The name of the currently active route.\n  @since 1.5.0\n  @public\n  */\n\n  function currentRouteName(app) {\n    var routingService = app.__container__.lookup('service:-routing');\n    return (0, _metal.get)(routingService, 'currentRouteName');\n  }\n});","define(\"ember-testing/lib/helpers/current_url\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = currentURL;\n  /**\n  @module ember\n  */\n\n  /**\n    Returns the current URL.\n  \n  Example:\n  \n  ```javascript\n  function validateURL() {\n    equal(currentURL(), '/some/path', \"correct URL was transitioned into.\");\n  }\n  \n  click('#some-link-id').then(validateURL);\n  ```\n  \n  @method currentURL\n  @return {Object} The currently active URL.\n  @since 1.5.0\n  @public\n  */\n\n  function currentURL(app) {\n    var router = app.__container__.lookup('router:main');\n    return (0, _metal.get)(router, 'location').getURL();\n  }\n});","define(\"ember-testing/lib/helpers/fill_in\", [\"exports\", \"ember-testing/lib/events\", \"ember-testing/lib/helpers/-is-form-control\"], function (_exports, _events, _isFormControl) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = fillIn;\n  /**\n  @module ember\n  */\n\n  /**\n    Fills in an input element with some text.\n  \n    Example:\n  \n    ```javascript\n    fillIn('#email', 'you@example.com').then(function() {\n      // assert something\n    });\n    ```\n  \n    @method fillIn\n    @param {String} selector jQuery selector finding an input element on the DOM\n    to fill text with\n    @param {String} text text to place inside the input element\n    @return {RSVP.Promise<undefined>}\n    @public\n  */\n\n  function fillIn(app, selector, contextOrText, text) {\n    var $el, el, context;\n    if (text === undefined) {\n      text = contextOrText;\n    } else {\n      context = contextOrText;\n    }\n    $el = app.testHelpers.findWithAssert(selector, context);\n    el = $el[0];\n    (0, _events.focus)(el);\n    if ((0, _isFormControl.default)(el)) {\n      el.value = text;\n    } else {\n      el.innerHTML = text;\n    }\n    (0, _events.fireEvent)(el, 'input');\n    (0, _events.fireEvent)(el, 'change');\n    return app.testHelpers.wait();\n  }\n});","define(\"ember-testing/lib/helpers/find\", [\"exports\", \"@ember/-internals/metal\", \"@ember/debug\", \"@ember/-internals/views\"], function (_exports, _metal, _debug, _views) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = find;\n  /**\n  @module ember\n  */\n\n  /**\n    Finds an element in the context of the app's container element. A simple alias\n    for `app.$(selector)`.\n  \n    Example:\n  \n    ```javascript\n    var $el = find('.my-selector');\n    ```\n  \n    With the `context` param:\n  \n    ```javascript\n    var $el = find('.my-selector', '.parent-element-class');\n    ```\n  \n    @method find\n    @param {String} selector jQuery selector for element lookup\n    @param {String} [context] (optional) jQuery selector that will limit the selector\n                              argument to find only within the context's children\n    @return {Object} DOM element representing the results of the query\n    @public\n  */\n\n  function find(app, selector, context) {\n    if (_views.jQueryDisabled) {\n      (true && !(false) && (0, _debug.assert)('If jQuery is disabled, please import and use helpers from @ember/test-helpers [https://github.com/emberjs/ember-test-helpers]. Note: `find` is not an available helper.'));\n    }\n    var $el;\n    context = context || (0, _metal.get)(app, 'rootElement');\n    $el = app.$(selector, context);\n    return $el;\n  }\n});","define(\"ember-testing/lib/helpers/find_with_assert\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = findWithAssert;\n  /**\n  @module ember\n  */\n\n  /**\n    Like `find`, but throws an error if the element selector returns no results.\n  \n    Example:\n  \n    ```javascript\n    var $el = findWithAssert('.doesnt-exist'); // throws error\n    ```\n  \n    With the `context` param:\n  \n    ```javascript\n    var $el = findWithAssert('.selector-id', '.parent-element-class'); // assert will pass\n    ```\n  \n    @method findWithAssert\n    @param {String} selector jQuery selector string for finding an element within\n    the DOM\n    @param {String} [context] (optional) jQuery selector that will limit the\n    selector argument to find only within the context's children\n    @return {Object} jQuery object representing the results of the query\n    @throws {Error} throws error if object returned has a length of 0\n    @public\n  */\n  function findWithAssert(app, selector, context) {\n    var $el = app.testHelpers.find(selector, context);\n    if ($el.length === 0) {\n      throw new Error('Element ' + selector + ' not found.');\n    }\n    return $el;\n  }\n});","define(\"ember-testing/lib/helpers/key_event\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = keyEvent;\n  /**\n  @module ember\n  */\n\n  /**\n    Simulates a key event, e.g. `keypress`, `keydown`, `keyup` with the desired keyCode\n    Example:\n    ```javascript\n    keyEvent('.some-jQuery-selector', 'keypress', 13).then(function() {\n     // assert something\n    });\n    ```\n    @method keyEvent\n    @param {String} selector jQuery selector for finding element on the DOM\n    @param {String} type the type of key event, e.g. `keypress`, `keydown`, `keyup`\n    @param {Number} keyCode the keyCode of the simulated key event\n    @return {RSVP.Promise<undefined>}\n    @since 1.5.0\n    @public\n  */\n  function keyEvent(app, selector, contextOrType, typeOrKeyCode, keyCode) {\n    var context, type;\n    if (keyCode === undefined) {\n      context = null;\n      keyCode = typeOrKeyCode;\n      type = contextOrType;\n    } else {\n      context = contextOrType;\n      type = typeOrKeyCode;\n    }\n    return app.testHelpers.triggerEvent(selector, context, type, {\n      keyCode,\n      which: keyCode\n    });\n  }\n});","define(\"ember-testing/lib/helpers/pause_test\", [\"exports\", \"@ember/-internals/runtime\", \"@ember/debug\"], function (_exports, _runtime, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.pauseTest = pauseTest;\n  _exports.resumeTest = resumeTest;\n  /**\n  @module ember\n  */\n\n  var resume;\n  /**\n   Resumes a test paused by `pauseTest`.\n  \n   @method resumeTest\n   @return {void}\n   @public\n  */\n\n  function resumeTest() {\n    (true && !(resume) && (0, _debug.assert)('Testing has not been paused. There is nothing to resume.', resume));\n    resume();\n    resume = undefined;\n  }\n  /**\n   Pauses the current test - this is useful for debugging while testing or for test-driving.\n   It allows you to inspect the state of your application at any point.\n   Example (The test will pause before clicking the button):\n  \n   ```javascript\n   visit('/')\n   return pauseTest();\n   click('.btn');\n   ```\n  \n   You may want to turn off the timeout before pausing.\n  \n   qunit (timeout available to use as of 2.4.0):\n  \n   ```\n   visit('/');\n   assert.timeout(0);\n   return pauseTest();\n   click('.btn');\n   ```\n  \n   mocha (timeout happens automatically as of ember-mocha v0.14.0):\n  \n   ```\n   visit('/');\n   this.timeout(0);\n   return pauseTest();\n   click('.btn');\n   ```\n  \n  \n   @since 1.9.0\n   @method pauseTest\n   @return {Object} A promise that will never resolve\n   @public\n  */\n\n  function pauseTest() {\n    (0, _debug.info)('Testing paused. Use `resumeTest()` to continue.');\n    return new _runtime.RSVP.Promise(resolve => {\n      resume = resolve;\n    }, 'TestAdapter paused promise');\n  }\n});","define(\"ember-testing/lib/helpers/trigger_event\", [\"exports\", \"ember-testing/lib/events\"], function (_exports, _events) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = triggerEvent;\n  /**\n  @module ember\n  */\n\n  /**\n    Triggers the given DOM event on the element identified by the provided selector.\n    Example:\n    ```javascript\n    triggerEvent('#some-elem-id', 'blur');\n    ```\n    This is actually used internally by the `keyEvent` helper like so:\n    ```javascript\n    triggerEvent('#some-elem-id', 'keypress', { keyCode: 13 });\n    ```\n   @method triggerEvent\n   @param {String} selector jQuery selector for finding element on the DOM\n   @param {String} [context] jQuery selector that will limit the selector\n                             argument to find only within the context's children\n   @param {String} type The event type to be triggered.\n   @param {Object} [options] The options to be passed to jQuery.Event.\n   @return {RSVP.Promise<undefined>}\n   @since 1.5.0\n   @public\n  */\n\n  function triggerEvent(app, selector, contextOrType, typeOrOptions, possibleOptions) {\n    var arity = arguments.length;\n    var context, type, options;\n    if (arity === 3) {\n      // context and options are optional, so this is\n      // app, selector, type\n      context = null;\n      type = contextOrType;\n      options = {};\n    } else if (arity === 4) {\n      // context and options are optional, so this is\n      if (typeof typeOrOptions === 'object') {\n        // either\n        // app, selector, type, options\n        context = null;\n        type = contextOrType;\n        options = typeOrOptions;\n      } else {\n        // or\n        // app, selector, context, type\n        context = contextOrType;\n        type = typeOrOptions;\n        options = {};\n      }\n    } else {\n      context = contextOrType;\n      type = typeOrOptions;\n      options = possibleOptions;\n    }\n    var $el = app.testHelpers.findWithAssert(selector, context);\n    var el = $el[0];\n    (0, _events.fireEvent)(el, type, options);\n    return app.testHelpers.wait();\n  }\n});","define(\"ember-testing/lib/helpers/visit\", [\"exports\", \"@ember/runloop\"], function (_exports, _runloop) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = visit;\n  /**\n    Loads a route, sets up any controllers, and renders any templates associated\n    with the route as though a real user had triggered the route change while\n    using your app.\n  \n    Example:\n  \n    ```javascript\n    visit('posts/index').then(function() {\n      // assert something\n    });\n    ```\n  \n    @method visit\n    @param {String} url the name of the route\n    @return {RSVP.Promise<undefined>}\n    @public\n  */\n\n  function visit(app, url) {\n    var router = app.__container__.lookup('router:main');\n    var shouldHandleURL = false;\n    app.boot().then(() => {\n      router.location.setURL(url);\n      if (shouldHandleURL) {\n        (0, _runloop.run)(app.__deprecatedInstance__, 'handleURL', url);\n      }\n    });\n    if (app._readinessDeferrals > 0) {\n      router.initialURL = url;\n      (0, _runloop.run)(app, 'advanceReadiness');\n      delete router.initialURL;\n    } else {\n      shouldHandleURL = true;\n    }\n    return app.testHelpers.wait();\n  }\n});","define(\"ember-testing/lib/helpers/wait\", [\"exports\", \"ember-testing/lib/test/waiters\", \"@ember/-internals/runtime\", \"@ember/runloop\", \"ember-testing/lib/test/pending_requests\"], function (_exports, _waiters, _runtime, _runloop, _pending_requests) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = wait;\n  /**\n  @module ember\n  */\n\n  /**\n    Causes the run loop to process any pending events. This is used to ensure that\n    any async operations from other helpers (or your assertions) have been processed.\n  \n    This is most often used as the return value for the helper functions (see 'click',\n    'fillIn','visit',etc). However, there is a method to register a test helper which\n    utilizes this method without the need to actually call `wait()` in your helpers.\n  \n    The `wait` helper is built into `registerAsyncHelper` by default. You will not need\n    to `return app.testHelpers.wait();` - the wait behavior is provided for you.\n  \n    Example:\n  \n    ```javascript\n    import { registerAsyncHelper } from '@ember/test';\n  \n    registerAsyncHelper('loginUser', function(app, username, password) {\n      visit('secured/path/here')\n        .fillIn('#username', username)\n        .fillIn('#password', password)\n        .click('.submit');\n    });\n    ```\n  \n    @method wait\n    @param {Object} value The value to be returned.\n    @return {RSVP.Promise<any>} Promise that resolves to the passed value.\n    @public\n    @since 1.0.0\n  */\n\n  function wait(app, value) {\n    return new _runtime.RSVP.Promise(function (resolve) {\n      var router = app.__container__.lookup('router:main'); // Every 10ms, poll for the async thing to have finished\n\n      var watcher = setInterval(() => {\n        // 1. If the router is loading, keep polling\n        var routerIsLoading = router._routerMicrolib && Boolean(router._routerMicrolib.activeTransition);\n        if (routerIsLoading) {\n          return;\n        } // 2. If there are pending Ajax requests, keep polling\n\n        if ((0, _pending_requests.pendingRequests)()) {\n          return;\n        } // 3. If there are scheduled timers or we are inside of a run loop, keep polling\n\n        if ((0, _runloop._hasScheduledTimers)() || (0, _runloop._getCurrentRunLoop)()) {\n          return;\n        }\n        if ((0, _waiters.checkWaiters)()) {\n          return;\n        } // Stop polling\n\n        clearInterval(watcher); // Synchronously resolve the promise\n\n        (0, _runloop.run)(null, resolve, value);\n      }, 10);\n    });\n  }\n});","define(\"ember-testing/lib/initializers\", [\"@ember/application\"], function (_application) {\n  \"use strict\";\n\n  var name = 'deferReadiness in `testing` mode';\n  (0, _application.onLoad)('Ember.Application', function (Application) {\n    if (!Application.initializers[name]) {\n      Application.initializer({\n        name: name,\n        initialize(application) {\n          if (application.testing) {\n            application.deferReadiness();\n          }\n        }\n      });\n    }\n  });\n});","define(\"ember-testing/lib/setup_for_testing\", [\"exports\", \"@ember/debug\", \"@ember/-internals/views\", \"ember-testing/lib/test/adapter\", \"ember-testing/lib/test/pending_requests\", \"ember-testing/lib/adapters/adapter\", \"ember-testing/lib/adapters/qunit\"], function (_exports, _debug, _views, _adapter, _pending_requests, _adapter2, _qunit) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = setupForTesting;\n  /* global self */\n\n  /**\n    Sets Ember up for testing. This is useful to perform\n    basic setup steps in order to unit test.\n  \n    Use `App.setupForTesting` to perform integration tests (full\n    application testing).\n  \n    @method setupForTesting\n    @namespace Ember\n    @since 1.5.0\n    @private\n  */\n\n  function setupForTesting() {\n    (0, _debug.setTesting)(true);\n    var adapter = (0, _adapter.getAdapter)(); // if adapter is not manually set default to QUnit\n\n    if (!adapter) {\n      (0, _adapter.setAdapter)(typeof self.QUnit === 'undefined' ? _adapter2.default.create() : _qunit.default.create());\n    }\n    if (!_views.jQueryDisabled) {\n      (0, _views.jQuery)(document).off('ajaxSend', _pending_requests.incrementPendingRequests);\n      (0, _views.jQuery)(document).off('ajaxComplete', _pending_requests.decrementPendingRequests);\n      (0, _pending_requests.clearPendingRequests)();\n      (0, _views.jQuery)(document).on('ajaxSend', _pending_requests.incrementPendingRequests);\n      (0, _views.jQuery)(document).on('ajaxComplete', _pending_requests.decrementPendingRequests);\n    }\n  }\n});","define(\"ember-testing/lib/support\", [\"@ember/debug\", \"@ember/-internals/views\", \"@ember/-internals/browser-environment\"], function (_debug, _views, _browserEnvironment) {\n  \"use strict\";\n\n  /**\n    @module ember\n  */\n\n  var $ = _views.jQuery;\n  /**\n    This method creates a checkbox and triggers the click event to fire the\n    passed in handler. It is used to correct for a bug in older versions\n    of jQuery (e.g 1.8.3).\n  \n    @private\n    @method testCheckboxClick\n  */\n\n  function testCheckboxClick(handler) {\n    var input = document.createElement('input');\n    $(input).attr('type', 'checkbox').css({\n      position: 'absolute',\n      left: '-1000px',\n      top: '-1000px'\n    }).appendTo('body').on('click', handler).trigger('click').remove();\n  }\n  if (_browserEnvironment.hasDOM && !_views.jQueryDisabled) {\n    $(function () {\n      /*\n        Determine whether a checkbox checked using jQuery's \"click\" method will have\n        the correct value for its checked property.\n         If we determine that the current jQuery version exhibits this behavior,\n        patch it to work correctly as in the commit for the actual fix:\n        https://github.com/jquery/jquery/commit/1fb2f92.\n      */\n      testCheckboxClick(function () {\n        if (!this.checked && !$.event.special.click) {\n          $.event.special.click = {\n            // For checkbox, fire native event so checked state will be right\n            trigger() {\n              if (this.nodeName === 'INPUT' && this.type === 'checkbox' && this.click) {\n                this.click();\n                return false;\n              }\n            }\n          };\n        }\n      }); // Try again to verify that the patch took effect or blow up.\n\n      testCheckboxClick(function () {\n        (true && (0, _debug.warn)(\"clicked checkboxes should be checked! the jQuery patch didn't work\", this.checked, {\n          id: 'ember-testing.test-checkbox-click'\n        }));\n      });\n    });\n  }\n});","define(\"ember-testing/lib/test\", [\"exports\", \"ember-testing/lib/test/helpers\", \"ember-testing/lib/test/on_inject_helpers\", \"ember-testing/lib/test/promise\", \"ember-testing/lib/test/waiters\", \"ember-testing/lib/test/adapter\"], function (_exports, _helpers, _on_inject_helpers, _promise, _waiters, _adapter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n    @module ember\n  */\n\n  /**\n    This is a container for an assortment of testing related functionality:\n  \n    * Choose your default test adapter (for your framework of choice).\n    * Register/Unregister additional test helpers.\n    * Setup callbacks to be fired when the test helpers are injected into\n      your application.\n  \n    @class Test\n    @namespace Ember\n    @public\n  */\n\n  var Test = {\n    /**\n      Hash containing all known test helpers.\n       @property _helpers\n      @private\n      @since 1.7.0\n    */\n    _helpers: _helpers.helpers,\n    registerHelper: _helpers.registerHelper,\n    registerAsyncHelper: _helpers.registerAsyncHelper,\n    unregisterHelper: _helpers.unregisterHelper,\n    onInjectHelpers: _on_inject_helpers.onInjectHelpers,\n    Promise: _promise.default,\n    promise: _promise.promise,\n    resolve: _promise.resolve,\n    registerWaiter: _waiters.registerWaiter,\n    unregisterWaiter: _waiters.unregisterWaiter,\n    checkWaiters: _waiters.checkWaiters\n  };\n  /**\n   Used to allow ember-testing to communicate with a specific testing\n   framework.\n  \n   You can manually set it before calling `App.setupForTesting()`.\n  \n   Example:\n  \n   ```javascript\n   Ember.Test.adapter = MyCustomAdapter.create()\n   ```\n  \n   If you do not set it, ember-testing will default to `Ember.Test.QUnitAdapter`.\n  \n   @public\n   @for Ember.Test\n   @property adapter\n   @type {Class} The adapter to be used.\n   @default Ember.Test.QUnitAdapter\n  */\n\n  Object.defineProperty(Test, 'adapter', {\n    get: _adapter.getAdapter,\n    set: _adapter.setAdapter\n  });\n  var _default = _exports.default = Test;\n});","define(\"ember-testing/lib/test/adapter\", [\"exports\", \"@ember/-internals/error-handling\"], function (_exports, _errorHandling) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.asyncEnd = asyncEnd;\n  _exports.asyncStart = asyncStart;\n  _exports.getAdapter = getAdapter;\n  _exports.setAdapter = setAdapter;\n  var adapter;\n  function getAdapter() {\n    return adapter;\n  }\n  function setAdapter(value) {\n    adapter = value;\n    if (value && typeof value.exception === 'function') {\n      (0, _errorHandling.setDispatchOverride)(adapterDispatch);\n    } else {\n      (0, _errorHandling.setDispatchOverride)(null);\n    }\n  }\n  function asyncStart() {\n    if (adapter) {\n      adapter.asyncStart();\n    }\n  }\n  function asyncEnd() {\n    if (adapter) {\n      adapter.asyncEnd();\n    }\n  }\n  function adapterDispatch(error) {\n    adapter.exception(error);\n    console.error(error.stack); // eslint-disable-line no-console\n  }\n});","define(\"ember-testing/lib/test/helpers\", [\"exports\", \"ember-testing/lib/test/promise\"], function (_exports, _promise) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.helpers = void 0;\n  _exports.registerAsyncHelper = registerAsyncHelper;\n  _exports.registerHelper = registerHelper;\n  _exports.unregisterHelper = unregisterHelper;\n  var helpers = _exports.helpers = {};\n  /**\n   @module @ember/test\n  */\n\n  /**\n    `registerHelper` is used to register a test helper that will be injected\n    when `App.injectTestHelpers` is called.\n  \n    The helper method will always be called with the current Application as\n    the first parameter.\n  \n    For example:\n  \n    ```javascript\n    import { registerHelper } from '@ember/test';\n    import { run } from '@ember/runloop';\n  \n    registerHelper('boot', function(app) {\n      run(app, app.advanceReadiness);\n    });\n    ```\n  \n    This helper can later be called without arguments because it will be\n    called with `app` as the first parameter.\n  \n    ```javascript\n    import Application from '@ember/application';\n  \n    App = Application.create();\n    App.injectTestHelpers();\n    boot();\n    ```\n  \n    @public\n    @for @ember/test\n    @static\n    @method registerHelper\n    @param {String} name The name of the helper method to add.\n    @param {Function} helperMethod\n    @param options {Object}\n  */\n\n  function registerHelper(name, helperMethod) {\n    helpers[name] = {\n      method: helperMethod,\n      meta: {\n        wait: false\n      }\n    };\n  }\n  /**\n    `registerAsyncHelper` is used to register an async test helper that will be injected\n    when `App.injectTestHelpers` is called.\n  \n    The helper method will always be called with the current Application as\n    the first parameter.\n  \n    For example:\n  \n    ```javascript\n    import { registerAsyncHelper } from '@ember/test';\n    import { run } from '@ember/runloop';\n  \n    registerAsyncHelper('boot', function(app) {\n      run(app, app.advanceReadiness);\n    });\n    ```\n  \n    The advantage of an async helper is that it will not run\n    until the last async helper has completed.  All async helpers\n    after it will wait for it complete before running.\n  \n  \n    For example:\n  \n    ```javascript\n    import { registerAsyncHelper } from '@ember/test';\n  \n    registerAsyncHelper('deletePost', function(app, postId) {\n      click('.delete-' + postId);\n    });\n  \n    // ... in your test\n    visit('/post/2');\n    deletePost(2);\n    visit('/post/3');\n    deletePost(3);\n    ```\n  \n    @public\n    @for @ember/test\n    @method registerAsyncHelper\n    @param {String} name The name of the helper method to add.\n    @param {Function} helperMethod\n    @since 1.2.0\n  */\n\n  function registerAsyncHelper(name, helperMethod) {\n    helpers[name] = {\n      method: helperMethod,\n      meta: {\n        wait: true\n      }\n    };\n  }\n  /**\n    Remove a previously added helper method.\n  \n    Example:\n  \n    ```javascript\n    import { unregisterHelper } from '@ember/test';\n  \n    unregisterHelper('wait');\n    ```\n  \n    @public\n    @method unregisterHelper\n    @static\n    @for @ember/test\n    @param {String} name The helper to remove.\n  */\n\n  function unregisterHelper(name) {\n    delete helpers[name];\n    delete _promise.default.prototype[name];\n  }\n});","define(\"ember-testing/lib/test/on_inject_helpers\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.callbacks = void 0;\n  _exports.invokeInjectHelpersCallbacks = invokeInjectHelpersCallbacks;\n  _exports.onInjectHelpers = onInjectHelpers;\n  var callbacks = _exports.callbacks = [];\n  /**\n    Used to register callbacks to be fired whenever `App.injectTestHelpers`\n    is called.\n  \n    The callback will receive the current application as an argument.\n  \n    Example:\n  \n    ```javascript\n    import $ from 'jquery';\n  \n    Ember.Test.onInjectHelpers(function() {\n      $(document).ajaxSend(function() {\n        Test.pendingRequests++;\n      });\n  \n      $(document).ajaxComplete(function() {\n        Test.pendingRequests--;\n      });\n    });\n    ```\n  \n    @public\n    @for Ember.Test\n    @method onInjectHelpers\n    @param {Function} callback The function to be called.\n  */\n\n  function onInjectHelpers(callback) {\n    callbacks.push(callback);\n  }\n  function invokeInjectHelpersCallbacks(app) {\n    for (var i = 0; i < callbacks.length; i++) {\n      callbacks[i](app);\n    }\n  }\n});","define(\"ember-testing/lib/test/pending_requests\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.clearPendingRequests = clearPendingRequests;\n  _exports.decrementPendingRequests = decrementPendingRequests;\n  _exports.incrementPendingRequests = incrementPendingRequests;\n  _exports.pendingRequests = pendingRequests;\n  var requests = [];\n  function pendingRequests() {\n    return requests.length;\n  }\n  function clearPendingRequests() {\n    requests.length = 0;\n  }\n  function incrementPendingRequests(_, xhr) {\n    requests.push(xhr);\n  }\n  function decrementPendingRequests(_, xhr) {\n    setTimeout(function () {\n      for (var i = 0; i < requests.length; i++) {\n        if (xhr === requests[i]) {\n          requests.splice(i, 1);\n          break;\n        }\n      }\n    }, 0);\n  }\n});","define(\"ember-testing/lib/test/promise\", [\"exports\", \"@ember/-internals/runtime\", \"ember-testing/lib/test/run\"], function (_exports, _runtime, _run) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.getLastPromise = getLastPromise;\n  _exports.promise = promise;\n  _exports.resolve = resolve;\n  var lastPromise;\n  class TestPromise extends _runtime.RSVP.Promise {\n    constructor() {\n      super(...arguments);\n      lastPromise = this;\n    }\n    then(_onFulfillment, ...args) {\n      var onFulfillment = typeof _onFulfillment === 'function' ? result => isolate(_onFulfillment, result) : undefined;\n      return super.then(onFulfillment, ...args);\n    }\n  }\n  /**\n    This returns a thenable tailored for testing.  It catches failed\n    `onSuccess` callbacks and invokes the `Ember.Test.adapter.exception`\n    callback in the last chained then.\n  \n    This method should be returned by async helpers such as `wait`.\n  \n    @public\n    @for Ember.Test\n    @method promise\n    @param {Function} resolver The function used to resolve the promise.\n    @param {String} label An optional string for identifying the promise.\n  */\n  _exports.default = TestPromise;\n  function promise(resolver, label) {\n    var fullLabel = `Ember.Test.promise: ${label || '<Unknown Promise>'}`;\n    return new TestPromise(resolver, fullLabel);\n  }\n  /**\n    Replacement for `Ember.RSVP.resolve`\n    The only difference is this uses\n    an instance of `Ember.Test.Promise`\n  \n    @public\n    @for Ember.Test\n    @method resolve\n    @param {Mixed} The value to resolve\n    @since 1.2.0\n  */\n\n  function resolve(result, label) {\n    return TestPromise.resolve(result, label);\n  }\n  function getLastPromise() {\n    return lastPromise;\n  } // This method isolates nested async methods\n  // so that they don't conflict with other last promises.\n  //\n  // 1. Set `Ember.Test.lastPromise` to null\n  // 2. Invoke method\n  // 3. Return the last promise created during method\n\n  function isolate(onFulfillment, result) {\n    // Reset lastPromise for nested helpers\n    lastPromise = null;\n    var value = onFulfillment(result);\n    var promise = lastPromise;\n    lastPromise = null; // If the method returned a promise\n    // return that promise. If not,\n    // return the last async helper's promise\n\n    if (value && value instanceof TestPromise || !promise) {\n      return value;\n    } else {\n      return (0, _run.default)(() => resolve(promise).then(() => value));\n    }\n  }\n});","define(\"ember-testing/lib/test/run\", [\"exports\", \"@ember/runloop\"], function (_exports, _runloop) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = run;\n  function run(fn) {\n    if (!(0, _runloop._getCurrentRunLoop)()) {\n      return (0, _runloop.run)(fn);\n    } else {\n      return fn();\n    }\n  }\n});","define(\"ember-testing/lib/test/waiters\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.checkWaiters = checkWaiters;\n  _exports.registerWaiter = registerWaiter;\n  _exports.unregisterWaiter = unregisterWaiter;\n  /**\n   @module @ember/test\n  */\n  var contexts = [];\n  var callbacks = [];\n  /**\n     This allows ember-testing to play nicely with other asynchronous\n     events, such as an application that is waiting for a CSS3\n     transition or an IndexDB transaction. The waiter runs periodically\n     after each async helper (i.e. `click`, `andThen`, `visit`, etc) has executed,\n     until the returning result is truthy. After the waiters finish, the next async helper\n     is executed and the process repeats.\n  \n     For example:\n  \n     ```javascript\n     import { registerWaiter } from '@ember/test';\n  \n     registerWaiter(function() {\n       return myPendingTransactions() === 0;\n     });\n     ```\n     The `context` argument allows you to optionally specify the `this`\n     with which your callback will be invoked.\n  \n     For example:\n  \n     ```javascript\n     import { registerWaiter } from '@ember/test';\n  \n     registerWaiter(MyDB, MyDB.hasPendingTransactions);\n     ```\n  \n     @public\n     @for @ember/test\n     @static\n     @method registerWaiter\n     @param {Object} context (optional)\n     @param {Function} callback\n     @since 1.2.0\n  */\n\n  function registerWaiter(context, callback) {\n    if (arguments.length === 1) {\n      callback = context;\n      context = null;\n    }\n    if (indexOf(context, callback) > -1) {\n      return;\n    }\n    contexts.push(context);\n    callbacks.push(callback);\n  }\n  /**\n     `unregisterWaiter` is used to unregister a callback that was\n     registered with `registerWaiter`.\n  \n     @public\n     @for @ember/test\n     @static\n     @method unregisterWaiter\n     @param {Object} context (optional)\n     @param {Function} callback\n     @since 1.2.0\n  */\n\n  function unregisterWaiter(context, callback) {\n    if (!callbacks.length) {\n      return;\n    }\n    if (arguments.length === 1) {\n      callback = context;\n      context = null;\n    }\n    var i = indexOf(context, callback);\n    if (i === -1) {\n      return;\n    }\n    contexts.splice(i, 1);\n    callbacks.splice(i, 1);\n  }\n  /**\n    Iterates through each registered test waiter, and invokes\n    its callback. If any waiter returns false, this method will return\n    true indicating that the waiters have not settled yet.\n  \n    This is generally used internally from the acceptance/integration test\n    infrastructure.\n  \n    @public\n    @for @ember/test\n    @static\n    @method checkWaiters\n  */\n\n  function checkWaiters() {\n    if (!callbacks.length) {\n      return false;\n    }\n    for (var i = 0; i < callbacks.length; i++) {\n      var context = contexts[i];\n      var callback = callbacks[i];\n      if (!callback.call(context)) {\n        return true;\n      }\n    }\n    return false;\n  }\n  function indexOf(context, callback) {\n    for (var i = 0; i < callbacks.length; i++) {\n      if (callbacks[i] === callback && contexts[i] === context) {\n        return i;\n      }\n    }\n    return -1;\n  }\n});","define(\"ember/index\", [\"exports\", \"require\", \"@ember/-internals/environment\", \"@ember/-internals/utils\", \"@ember/-internals/container\", \"@ember/instrumentation\", \"@ember/-internals/meta\", \"@ember/-internals/metal\", \"@ember/canary-features\", \"@ember/debug\", \"backburner\", \"@ember/-internals/console\", \"@ember/controller\", \"@ember/controller/lib/controller_mixin\", \"@ember/string\", \"@ember/service\", \"@ember/object\", \"@ember/object/compat\", \"@ember/-internals/runtime\", \"@ember/-internals/glimmer\", \"ember/version\", \"@ember/-internals/views\", \"@ember/-internals/routing\", \"@ember/-internals/extension-support\", \"@ember/error\", \"@ember/runloop\", \"@ember/-internals/error-handling\", \"@ember/-internals/owner\", \"@ember/application\", \"@ember/application/globals-resolver\", \"@ember/application/instance\", \"@ember/engine\", \"@ember/engine/instance\", \"@ember/polyfills\", \"@ember/deprecated-features\", \"@glimmer/runtime\", \"@glimmer/manager\", \"@ember/destroyable\", \"@ember/-internals/browser-environment\"], function (_exports, _require, _environment, utils, _container, instrumentation, _meta, metal, _canaryFeatures, _debug, _backburner, _console, _controller, _controller_mixin, _string, _service, _object, _compat, _runtime, _glimmer, _version, views, routing, extensionSupport, _error, _runloop, _errorHandling, _owner, _application, _globalsResolver, _instance, _engine, _instance2, _polyfills, _deprecatedFeatures, _runtime2, _manager, _destroyable, _browserEnvironment) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var EmberDebug = _debug;\n  // eslint-disable-next-line import/no-unresolved\n\n  // ****@ember/-internals/environment****\n\n  var Ember = {};\n  (true && !(!_browserEnvironment.isIE) && (0, _debug.deprecate)('Internet Explorer 11 will no longer be supported in the next major version of Ember. For details on the new browser support policy, see the official documentation: http://emberjs.com/browser-support', !_browserEnvironment.isIE, {\n    id: '3-0-browser-support-policy',\n    url: 'https://deprecations.emberjs.com/v3.x#toc_3-0-browser-support-policy',\n    until: '4.0.0',\n    for: 'ember-source',\n    since: {\n      enabled: '3.26.0'\n    }\n  }));\n  Ember.isNamespace = true;\n  Ember.toString = function () {\n    return 'Ember';\n  };\n  Object.defineProperty(Ember, 'ENV', {\n    get: _environment.getENV,\n    enumerable: false\n  });\n  Object.defineProperty(Ember, 'lookup', {\n    get: _environment.getLookup,\n    set: _environment.setLookup,\n    enumerable: false\n  });\n  if (_deprecatedFeatures.EMBER_EXTEND_PROTOTYPES) {\n    Object.defineProperty(Ember, 'EXTEND_PROTOTYPES', {\n      enumerable: false,\n      get() {\n        (true && !(false) && (0, _debug.deprecate)('Accessing Ember.EXTEND_PROTOTYPES is deprecated, please migrate to Ember.ENV.EXTEND_PROTOTYPES', false, {\n          id: 'ember-env.old-extend-prototypes',\n          until: '4.0.0',\n          for: 'ember-source',\n          since: {\n            enabled: '3.3.0'\n          }\n        }));\n        return _environment.ENV.EXTEND_PROTOTYPES;\n      }\n    });\n  } // ****@ember/application****\n\n  Ember.getOwner = _owner.getOwner;\n  Ember.setOwner = _owner.setOwner;\n  Ember.Application = _application.default;\n  Ember.ApplicationInstance = _instance.default;\n  Object.defineProperty(Ember, 'Resolver', {\n    get() {\n      (true && !(false) && (0, _debug.deprecate)('Using the globals resolver is deprecated. Use the ember-resolver package instead. See https://deprecations.emberjs.com/v3.x#toc_ember-deprecate-globals-resolver', false, {\n        id: 'ember.globals-resolver',\n        until: '4.0.0',\n        url: 'https://deprecations.emberjs.com/v3.x#toc_ember-deprecate-globals-resolver',\n        for: 'ember-source',\n        since: {\n          enabled: '3.16.0'\n        }\n      }));\n      return _globalsResolver.default;\n    }\n  });\n  Object.defineProperty(Ember, 'DefaultResolver', {\n    get() {\n      return Ember.Resolver;\n    }\n  }); // ****@ember/engine****\n\n  Ember.Engine = _engine.default;\n  Ember.EngineInstance = _instance2.default; // ****@ember/polyfills****\n\n  Ember.assign = _polyfills.assign;\n  Ember.merge = _polyfills.merge; // ****@ember/-internals/utils****\n\n  Ember.generateGuid = utils.generateGuid;\n  Ember.GUID_KEY = utils.GUID_KEY;\n  Ember.guidFor = utils.guidFor;\n  Ember.inspect = utils.inspect;\n  Ember.makeArray = utils.makeArray;\n  Ember.canInvoke = utils.canInvoke;\n  Ember.tryInvoke = utils.tryInvoke;\n  Ember.wrap = utils.wrap;\n  Ember.uuid = utils.uuid; // ****@ember/-internals/container****\n\n  Ember.Container = _container.Container;\n  Ember.Registry = _container.Registry; // ****@ember/debug****\n\n  Ember.assert = EmberDebug.assert;\n  Ember.warn = EmberDebug.warn;\n  Ember.debug = EmberDebug.debug;\n  Ember.deprecate = EmberDebug.deprecate;\n  Ember.deprecateFunc = EmberDebug.deprecateFunc;\n  Ember.runInDebug = EmberDebug.runInDebug; // ****@ember/error****\n\n  Ember.Error = _error.default;\n  /**\n    @public\n    @class Ember.Debug\n  */\n\n  Ember.Debug = {\n    registerDeprecationHandler: EmberDebug.registerDeprecationHandler,\n    registerWarnHandler: EmberDebug.registerWarnHandler,\n    isComputed: metal.isComputed\n  }; // ****@ember/instrumentation****\n\n  Ember.instrument = instrumentation.instrument;\n  Ember.subscribe = instrumentation.subscribe;\n  Ember.Instrumentation = {\n    instrument: instrumentation.instrument,\n    subscribe: instrumentation.subscribe,\n    unsubscribe: instrumentation.unsubscribe,\n    reset: instrumentation.reset\n  }; // ****@ember/runloop****\n\n  Ember.run = _runloop.run; // ****@ember/-internals/metal****\n  // in globals builds\n\n  Ember.computed = _object.computed;\n  Ember._descriptor = metal.nativeDescDecorator;\n  Ember._tracked = metal.tracked;\n  Ember.cacheFor = metal.getCachedValueFor;\n  Ember.ComputedProperty = metal.ComputedProperty;\n  Ember._setClassicDecorator = metal.setClassicDecorator;\n  Ember.meta = _meta.meta;\n  Ember.get = metal.get;\n  Ember.getWithDefault = metal.getWithDefault;\n  Ember._getPath = metal._getPath;\n  Ember.set = metal.set;\n  Ember.trySet = metal.trySet;\n  Ember.FEATURES = (0, _polyfills.assign)({\n    isEnabled: _canaryFeatures.isEnabled\n  }, _canaryFeatures.FEATURES);\n  Ember._Cache = utils.Cache;\n  Ember.on = metal.on;\n  Ember.addListener = metal.addListener;\n  Ember.removeListener = metal.removeListener;\n  Ember.sendEvent = metal.sendEvent;\n  Ember.hasListeners = metal.hasListeners;\n  Ember.isNone = metal.isNone;\n  Ember.isEmpty = metal.isEmpty;\n  Ember.isBlank = metal.isBlank;\n  Ember.isPresent = metal.isPresent;\n  Ember.notifyPropertyChange = metal.notifyPropertyChange;\n  Ember.beginPropertyChanges = metal.beginPropertyChanges;\n  Ember.endPropertyChanges = metal.endPropertyChanges;\n  Ember.changeProperties = metal.changeProperties;\n  Ember.platform = {\n    defineProperty: true,\n    hasPropertyAccessors: true\n  };\n  Ember.defineProperty = metal.defineProperty;\n  Ember.destroy = _destroyable.destroy;\n  Ember.libraries = metal.libraries;\n  Ember.getProperties = metal.getProperties;\n  Ember.setProperties = metal.setProperties;\n  Ember.expandProperties = metal.expandProperties;\n  Ember.addObserver = metal.addObserver;\n  Ember.removeObserver = metal.removeObserver;\n  Ember.aliasMethod = metal.aliasMethod;\n  Ember.observer = metal.observer;\n  Ember.mixin = metal.mixin;\n  Ember.Mixin = metal.Mixin;\n  Ember._createCache = metal.createCache;\n  Ember._cacheGetValue = metal.getValue;\n  Ember._cacheIsConst = metal.isConst;\n  Ember._registerDestructor = _destroyable.registerDestructor;\n  Ember._unregisterDestructor = _destroyable.unregisterDestructor;\n  Ember._associateDestroyableChild = _destroyable.associateDestroyableChild;\n  Ember._assertDestroyablesDestroyed = _destroyable.assertDestroyablesDestroyed;\n  Ember._enableDestroyableTracking = _destroyable.enableDestroyableTracking;\n  Ember._isDestroying = _destroyable.isDestroying;\n  Ember._isDestroyed = _destroyable.isDestroyed;\n  /**\n    A function may be assigned to `Ember.onerror` to be called when Ember\n    internals encounter an error. This is useful for specialized error handling\n    and reporting code.\n  \n    ```javascript\n    import $ from 'jquery';\n  \n    Ember.onerror = function(error) {\n      $.ajax('/report-error', 'POST', {\n        stack: error.stack,\n        otherInformation: 'whatever app state you want to provide'\n      });\n    };\n    ```\n  \n    Internally, `Ember.onerror` is used as Backburner's error handler.\n  \n    @event onerror\n    @for Ember\n    @param {Exception} error the error object\n    @public\n  */\n\n  Object.defineProperty(Ember, 'onerror', {\n    get: _errorHandling.getOnerror,\n    set: _errorHandling.setOnerror,\n    enumerable: false\n  });\n  Object.defineProperty(Ember, 'testing', {\n    get: EmberDebug.isTesting,\n    set: EmberDebug.setTesting,\n    enumerable: false\n  });\n  Ember._Backburner = _backburner.default; // ****@ember/-internals/console****\n\n  if (_deprecatedFeatures.LOGGER) {\n    Ember.Logger = _console.default;\n  } // ****@ember/-internals/runtime****\n\n  Ember.A = _runtime.A;\n  Ember.String = {\n    loc: _string.loc,\n    w: _string.w,\n    dasherize: _string.dasherize,\n    decamelize: _string.decamelize,\n    camelize: _string.camelize,\n    classify: _string.classify,\n    underscore: _string.underscore,\n    capitalize: _string.capitalize\n  };\n  Ember.Object = _runtime.Object;\n  Ember._RegistryProxyMixin = _runtime.RegistryProxyMixin;\n  Ember._ContainerProxyMixin = _runtime.ContainerProxyMixin;\n  Ember.compare = _runtime.compare;\n  Ember.copy = _runtime.copy;\n  Ember.isEqual = _runtime.isEqual;\n  /**\n  @module ember\n  */\n\n  /**\n    Namespace for injection helper methods.\n  \n    @class inject\n    @namespace Ember\n    @static\n    @public\n  */\n\n  Ember.inject = function inject() {\n    (true && !(false) && (0, _debug.assert)(`Injected properties must be created through helpers, see '${Object.keys(inject).map(k => `'inject.${k}'`).join(' or ')}'`));\n  };\n  Ember.inject.service = _service.inject;\n  Ember.inject.controller = _controller.inject;\n  Ember.Array = _runtime.Array;\n  Ember.Comparable = _runtime.Comparable;\n  Ember.Enumerable = _runtime.Enumerable;\n  Ember.ArrayProxy = _runtime.ArrayProxy;\n  Ember.ObjectProxy = _runtime.ObjectProxy;\n  Ember.ActionHandler = _runtime.ActionHandler;\n  Ember.CoreObject = _runtime.CoreObject;\n  Ember.NativeArray = _runtime.NativeArray;\n  Ember.Copyable = _runtime.Copyable;\n  Ember.MutableEnumerable = _runtime.MutableEnumerable;\n  Ember.MutableArray = _runtime.MutableArray;\n  Ember.Evented = _runtime.Evented;\n  Ember.PromiseProxyMixin = _runtime.PromiseProxyMixin;\n  Ember.Observable = _runtime.Observable;\n  Ember.typeOf = _runtime.typeOf;\n  Ember.isArray = _runtime.isArray;\n  Ember.Object = _runtime.Object;\n  Ember.onLoad = _application.onLoad;\n  Ember.runLoadHooks = _application.runLoadHooks;\n  Ember.Controller = _controller.default;\n  Ember.ControllerMixin = _controller_mixin.default;\n  Ember.Service = _service.default;\n  Ember._ProxyMixin = _runtime._ProxyMixin;\n  Ember.RSVP = _runtime.RSVP;\n  Ember.Namespace = _runtime.Namespace;\n  Ember._action = _object.action;\n  Ember._dependentKeyCompat = _compat.dependentKeyCompat;\n  /**\n    Defines the hash of localized strings for the current language. Used by\n    the `String.loc` helper. To localize, add string values to this\n    hash.\n  \n    @property STRINGS\n    @for Ember\n    @type Object\n    @private\n  */\n\n  Object.defineProperty(Ember, 'STRINGS', {\n    configurable: false,\n    get: _string._getStrings,\n    set: _string._setStrings\n  });\n  /**\n    Whether searching on the global for new Namespace instances is enabled.\n  \n    This is only exported here as to not break any addons.  Given the new\n    visit API, you will have issues if you treat this as a indicator of\n    booted.\n  \n    Internally this is only exposing a flag in Namespace.\n  \n    @property BOOTED\n    @for Ember\n    @type Boolean\n    @private\n  */\n\n  Object.defineProperty(Ember, 'BOOTED', {\n    configurable: false,\n    enumerable: false,\n    get: metal.isNamespaceSearchDisabled,\n    set: metal.setNamespaceSearchDisabled\n  }); // ****@ember/-internals/glimmer****\n\n  Ember.Component = _glimmer.Component;\n  _glimmer.Helper.helper = _glimmer.helper;\n  Ember.Helper = _glimmer.Helper;\n  if (true\n  /* EMBER_MODERNIZED_BUILT_IN_COMPONENTS */) {\n    [['Checkbox', '@ember/component/checkbox', _glimmer.Checkbox, true], ['TextField', '@ember/component/text-field', _glimmer.TextField, true], ['TextArea', '@ember/component/text-area', _glimmer.TextArea, true], ['LinkComponent', '@ember/routing/link-component', _glimmer.LinkComponent, true], ['TextSupport', null, views.TextSupport, false], ['TargetActionSupport', null, _runtime.TargetActionSupport, false]].forEach(([name, path, value, availableInLegacyAddon]) => {\n      Object.defineProperty(Ember, name, {\n        get() {\n          var message = `Using Ember.${name}`;\n          if (path !== null) {\n            message += ` or importing from '${path}'`;\n          }\n          message += ` is deprecated.`;\n          if (availableInLegacyAddon) {\n            message += ` Install the \\`@ember/legacy-built-in-components\\` addon and use ` + `\\`import { ${name} } from '@ember/legacy-built-in-components';\\` instead.`;\n          }\n          (true && !(false) && (0, _debug.deprecate)(message, false, {\n            id: 'ember.built-in-components.import',\n            until: '4.0.0',\n            for: 'ember-source',\n            since: {\n              enabled: '3.27.0'\n            },\n            url: 'https://deprecations.emberjs.com/v3.x#toc_ember-built-in-components-import'\n          }));\n          return value;\n        },\n        configurable: true,\n        enumerable: true\n      }); // Expose a non-deprecated version for tests and the @ember/legacy-built-in-components addon\n\n      Ember[`_Legacy${name}`] = value;\n    });\n  } else {\n    Ember.Checkbox = _glimmer.Checkbox;\n    Ember.TextField = _glimmer.TextField;\n    Ember.TextArea = _glimmer.TextArea;\n    Ember.LinkComponent = _glimmer.LinkComponent;\n    Ember.TextSupport = views.TextSupport;\n    Ember.TargetActionSupport = _runtime.TargetActionSupport;\n  }\n  Ember._setComponentManager = _glimmer.setComponentManager;\n  Ember._componentManagerCapabilities = _glimmer.componentCapabilities;\n  Ember._setModifierManager = _manager.setModifierManager;\n  Ember._modifierManagerCapabilities = _glimmer.modifierCapabilities;\n  Ember._getComponentTemplate = _manager.getComponentTemplate;\n  Ember._setComponentTemplate = _manager.setComponentTemplate;\n  Ember._templateOnlyComponent = _runtime2.templateOnlyComponent;\n  Ember._Input = _glimmer.Input;\n  Ember._hash = _runtime2.hash;\n  Ember._array = _runtime2.array;\n  Ember._concat = _runtime2.concat;\n  Ember._get = _runtime2.get;\n  Ember._on = _runtime2.on;\n  Ember._fn = _runtime2.fn;\n  if (true\n  /* EMBER_GLIMMER_HELPER_MANAGER */) {\n    Ember._helperManagerCapabilities = _manager.helperCapabilities;\n    Ember._setHelperManager = _manager.setHelperManager;\n  }\n  if (true\n  /* EMBER_GLIMMER_INVOKE_HELPER */) {\n    Ember._invokeHelper = _runtime2.invokeHelper;\n  }\n  Ember._captureRenderTree = _debug.captureRenderTree;\n  if (_environment.ENV.EXTEND_PROTOTYPES.String) {\n    String.prototype.htmlSafe = function () {\n      (true && !(false) && (0, _debug.deprecate)(`String prototype extensions are deprecated. Please import htmlSafe from '@ember/template' instead.`, false, {\n        id: 'ember-string.prototype-extensions',\n        for: 'ember-source',\n        since: {\n          enabled: '3.27.6'\n        },\n        until: '4.0.0',\n        url: 'https://deprecations.emberjs.com/v3.x/#toc_ember-string-htmlsafe-ishtmlsafe'\n      }));\n      return (0, _glimmer.htmlSafe)(this);\n    };\n  }\n  var deprecateImportFromString = function (name, message = `Importing ${name} from '@ember/string' is deprecated. Please import ${name} from '@ember/template' instead.`) {\n    // Disabling this deprecation due to unintended errors in 3.25\n    // See https://github.com/emberjs/ember.js/issues/19393 fo more information.\n    (true && !(true) && (0, _debug.deprecate)(message, true, {\n      id: 'ember-string.htmlsafe-ishtmlsafe',\n      for: 'ember-source',\n      since: {\n        enabled: '3.25'\n      },\n      until: '4.0.0',\n      url: 'https://deprecations.emberjs.com/v3.x/#toc_ember-string-htmlsafe-ishtmlsafe'\n    }));\n  };\n  Object.defineProperty(Ember.String, 'htmlSafe', {\n    enumerable: true,\n    configurable: true,\n    get() {\n      deprecateImportFromString('htmlSafe');\n      return _glimmer.htmlSafe;\n    }\n  });\n  Object.defineProperty(Ember.String, 'isHTMLSafe', {\n    enumerable: true,\n    configurable: true,\n    get() {\n      deprecateImportFromString('isHTMLSafe');\n      return _glimmer.isHTMLSafe;\n    }\n  });\n  /**\n    Global hash of shared templates. This will automatically be populated\n    by the build tools so that you can store your Handlebars templates in\n    separate files that get loaded into JavaScript at buildtime.\n  \n    @property TEMPLATES\n    @for Ember\n    @type Object\n    @private\n  */\n\n  Object.defineProperty(Ember, 'TEMPLATES', {\n    get: _glimmer.getTemplates,\n    set: _glimmer.setTemplates,\n    configurable: false,\n    enumerable: false\n  });\n  /**\n    The semantic version\n  \n    @property VERSION\n    @type String\n    @public\n  */\n\n  Ember.VERSION = _version.default; // ****@ember/-internals/views****\n\n  if (_deprecatedFeatures.JQUERY_INTEGRATION && !views.jQueryDisabled) {\n    Object.defineProperty(Ember, '$', {\n      get() {\n        (true && !(false) && (0, _debug.deprecate)(\"Using Ember.$() has been deprecated, use `import jQuery from 'jquery';` instead\", false, {\n          id: 'ember-views.curly-components.jquery-element',\n          until: '4.0.0',\n          url: 'https://deprecations.emberjs.com/v3.x#toc_jquery-apis',\n          for: 'ember-source',\n          since: {\n            enabled: '3.9.0'\n          }\n        }));\n        return views.jQuery;\n      },\n      configurable: true,\n      enumerable: true\n    });\n  }\n  Ember.ViewUtils = {\n    isSimpleClick: views.isSimpleClick,\n    getElementView: views.getElementView,\n    getViewElement: views.getViewElement,\n    getViewBounds: views.getViewBounds,\n    getViewClientRects: views.getViewClientRects,\n    getViewBoundingClientRect: views.getViewBoundingClientRect,\n    getRootViews: views.getRootViews,\n    getChildViews: views.getChildViews,\n    isSerializationFirstNode: _glimmer.isSerializationFirstNode\n  };\n  Ember.ComponentLookup = views.ComponentLookup;\n  Ember.EventDispatcher = views.EventDispatcher; // ****@ember/-internals/routing****\n\n  Ember.Location = routing.Location;\n  Ember.AutoLocation = routing.AutoLocation;\n  Ember.HashLocation = routing.HashLocation;\n  Ember.HistoryLocation = routing.HistoryLocation;\n  Ember.NoneLocation = routing.NoneLocation;\n  Ember.controllerFor = routing.controllerFor;\n  Ember.generateControllerFactory = routing.generateControllerFactory;\n  Ember.generateController = routing.generateController;\n  Ember.RouterDSL = routing.RouterDSL;\n  Ember.Router = routing.Router;\n  Ember.Route = routing.Route;\n  (0, _application.runLoadHooks)('Ember.Application', _application.default);\n  Ember.DataAdapter = extensionSupport.DataAdapter;\n  Ember.ContainerDebugAdapter = extensionSupport.ContainerDebugAdapter;\n  var EmberHandlebars = {\n    template: _glimmer.template,\n    Utils: {\n      escapeExpression: _glimmer.escapeExpression\n    }\n  };\n  var EmberHTMLBars = {\n    template: _glimmer.template\n  };\n  function defineEmberTemplateCompilerLazyLoad(key) {\n    Object.defineProperty(Ember, key, {\n      configurable: true,\n      enumerable: true,\n      get() {\n        if ((0, _require.has)('ember-template-compiler')) {\n          var templateCompiler = (0, _require.default)(\"ember-template-compiler\");\n          EmberHTMLBars.precompile = EmberHandlebars.precompile = templateCompiler.precompile;\n          EmberHTMLBars.compile = EmberHandlebars.compile = templateCompiler.compile;\n          EmberHTMLBars.registerPlugin = templateCompiler.registerPlugin;\n          Object.defineProperty(Ember, 'HTMLBars', {\n            configurable: true,\n            writable: true,\n            enumerable: true,\n            value: EmberHTMLBars\n          });\n          Object.defineProperty(Ember, 'Handlebars', {\n            configurable: true,\n            writable: true,\n            enumerable: true,\n            value: EmberHandlebars\n          });\n        }\n        return key === 'Handlebars' ? EmberHandlebars : EmberHTMLBars;\n      }\n    });\n  }\n  defineEmberTemplateCompilerLazyLoad('HTMLBars');\n  defineEmberTemplateCompilerLazyLoad('Handlebars'); // do this to ensure that Ember.Test is defined properly on the global\n  // if it is present.\n\n  function defineEmberTestingLazyLoad(key) {\n    Object.defineProperty(Ember, key, {\n      configurable: true,\n      enumerable: true,\n      get() {\n        if ((0, _require.has)('ember-testing')) {\n          var testing = (0, _require.default)(\"ember-testing\");\n          var {\n            Test,\n            Adapter,\n            QUnitAdapter,\n            setupForTesting\n          } = testing;\n          Test.Adapter = Adapter;\n          Test.QUnitAdapter = QUnitAdapter;\n          Object.defineProperty(Ember, 'Test', {\n            configurable: true,\n            writable: true,\n            enumerable: true,\n            value: Test\n          });\n          Object.defineProperty(Ember, 'setupForTesting', {\n            configurable: true,\n            writable: true,\n            enumerable: true,\n            value: setupForTesting\n          });\n          return key === 'Test' ? Test : setupForTesting;\n        }\n        return undefined;\n      }\n    });\n  }\n  defineEmberTestingLazyLoad('Test');\n  defineEmberTestingLazyLoad('setupForTesting');\n  (0, _application.runLoadHooks)('Ember');\n  Ember.__loader = {\n    require: _require.default,\n    // eslint-disable-next-line no-undef\n    define,\n    // eslint-disable-next-line no-undef\n    registry: typeof requirejs !== 'undefined' ? requirejs.entries : _require.default.entries\n  };\n  var _default = _exports.default = Ember;\n  /**\n   @module jquery\n   @public\n   */\n  /**\n   @class jquery\n   @public\n   @static\n   */\n  /**\n    Alias for jQuery\n  \n    @for jquery\n    @method $\n    @static\n    @public\n  */\n});","define(\"ember/version\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = \"3.28.12\";\n});","define(\"jquery/index\", [\"exports\", \"@ember/-internals/views\"], function (_exports, _views) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _views.jQuery;\n});","define(\"route-recognizer\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var createObject = Object.create;\n  function createMap() {\n    var map = createObject(null);\n    map[\"__\"] = undefined;\n    delete map[\"__\"];\n    return map;\n  }\n  var Target = function Target(path, matcher, delegate) {\n    this.path = path;\n    this.matcher = matcher;\n    this.delegate = delegate;\n  };\n  Target.prototype.to = function to(target, callback) {\n    var delegate = this.delegate;\n    if (delegate && delegate.willAddRoute) {\n      target = delegate.willAddRoute(this.matcher.target, target);\n    }\n    this.matcher.add(this.path, target);\n    if (callback) {\n      if (callback.length === 0) {\n        throw new Error(\"You must have an argument in the function passed to `to`\");\n      }\n      this.matcher.addChild(this.path, target, callback, this.delegate);\n    }\n  };\n  var Matcher = function Matcher(target) {\n    this.routes = createMap();\n    this.children = createMap();\n    this.target = target;\n  };\n  Matcher.prototype.add = function add(path, target) {\n    this.routes[path] = target;\n  };\n  Matcher.prototype.addChild = function addChild(path, target, callback, delegate) {\n    var matcher = new Matcher(target);\n    this.children[path] = matcher;\n    var match = generateMatch(path, matcher, delegate);\n    if (delegate && delegate.contextEntered) {\n      delegate.contextEntered(target, match);\n    }\n    callback(match);\n  };\n  function generateMatch(startingPath, matcher, delegate) {\n    function match(path, callback) {\n      var fullPath = startingPath + path;\n      if (callback) {\n        callback(generateMatch(fullPath, matcher, delegate));\n      } else {\n        return new Target(fullPath, matcher, delegate);\n      }\n    }\n    return match;\n  }\n  function addRoute(routeArray, path, handler) {\n    var len = 0;\n    for (var i = 0; i < routeArray.length; i++) {\n      len += routeArray[i].path.length;\n    }\n    path = path.substr(len);\n    var route = {\n      path: path,\n      handler: handler\n    };\n    routeArray.push(route);\n  }\n  function eachRoute(baseRoute, matcher, callback, binding) {\n    var routes = matcher.routes;\n    var paths = Object.keys(routes);\n    for (var i = 0; i < paths.length; i++) {\n      var path = paths[i];\n      var routeArray = baseRoute.slice();\n      addRoute(routeArray, path, routes[path]);\n      var nested = matcher.children[path];\n      if (nested) {\n        eachRoute(routeArray, nested, callback, binding);\n      } else {\n        callback.call(binding, routeArray);\n      }\n    }\n  }\n  var map = function (callback, addRouteCallback) {\n    var matcher = new Matcher();\n    callback(generateMatch(\"\", matcher, this.delegate));\n    eachRoute([], matcher, function (routes) {\n      if (addRouteCallback) {\n        addRouteCallback(this, routes);\n      } else {\n        this.add(routes);\n      }\n    }, this);\n  };\n\n  // Normalizes percent-encoded values in `path` to upper-case and decodes percent-encoded\n  // values that are not reserved (i.e., unicode characters, emoji, etc). The reserved\n  // chars are \"/\" and \"%\".\n  // Safe to call multiple times on the same path.\n  // Normalizes percent-encoded values in `path` to upper-case and decodes percent-encoded\n  function normalizePath(path) {\n    return path.split(\"/\").map(normalizeSegment).join(\"/\");\n  }\n  // We want to ensure the characters \"%\" and \"/\" remain in percent-encoded\n  // form when normalizing paths, so replace them with their encoded form after\n  // decoding the rest of the path\n  var SEGMENT_RESERVED_CHARS = /%|\\//g;\n  function normalizeSegment(segment) {\n    if (segment.length < 3 || segment.indexOf(\"%\") === -1) {\n      return segment;\n    }\n    return decodeURIComponent(segment).replace(SEGMENT_RESERVED_CHARS, encodeURIComponent);\n  }\n  // We do not want to encode these characters when generating dynamic path segments\n  // See https://tools.ietf.org/html/rfc3986#section-3.3\n  // sub-delims: \"!\", \"$\", \"&\", \"'\", \"(\", \")\", \"*\", \"+\", \",\", \";\", \"=\"\n  // others allowed by RFC 3986: \":\", \"@\"\n  //\n  // First encode the entire path segment, then decode any of the encoded special chars.\n  //\n  // The chars \"!\", \"'\", \"(\", \")\", \"*\" do not get changed by `encodeURIComponent`,\n  // so the possible encoded chars are:\n  // ['%24', '%26', '%2B', '%2C', '%3B', '%3D', '%3A', '%40'].\n  var PATH_SEGMENT_ENCODINGS = /%(?:2(?:4|6|B|C)|3(?:B|D|A)|40)/g;\n  function encodePathSegment(str) {\n    return encodeURIComponent(str).replace(PATH_SEGMENT_ENCODINGS, decodeURIComponent);\n  }\n  var escapeRegex = /(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\)/g;\n  var isArray = Array.isArray;\n  var hasOwnProperty = Object.prototype.hasOwnProperty;\n  function getParam(params, key) {\n    if (typeof params !== \"object\" || params === null) {\n      throw new Error(\"You must pass an object as the second argument to `generate`.\");\n    }\n    if (!hasOwnProperty.call(params, key)) {\n      throw new Error(\"You must provide param `\" + key + \"` to `generate`.\");\n    }\n    var value = params[key];\n    var str = typeof value === \"string\" ? value : \"\" + value;\n    if (str.length === 0) {\n      throw new Error(\"You must provide a param `\" + key + \"`.\");\n    }\n    return str;\n  }\n  var eachChar = [];\n  eachChar[0 /* Static */] = function (segment, currentState) {\n    var state = currentState;\n    var value = segment.value;\n    for (var i = 0; i < value.length; i++) {\n      var ch = value.charCodeAt(i);\n      state = state.put(ch, false, false);\n    }\n    return state;\n  };\n  eachChar[1 /* Dynamic */] = function (_, currentState) {\n    return currentState.put(47 /* SLASH */, true, true);\n  };\n  eachChar[2 /* Star */] = function (_, currentState) {\n    return currentState.put(-1 /* ANY */, false, true);\n  };\n  eachChar[4 /* Epsilon */] = function (_, currentState) {\n    return currentState;\n  };\n  var regex = [];\n  regex[0 /* Static */] = function (segment) {\n    return segment.value.replace(escapeRegex, \"\\\\$1\");\n  };\n  regex[1 /* Dynamic */] = function () {\n    return \"([^/]+)\";\n  };\n  regex[2 /* Star */] = function () {\n    return \"(.+)\";\n  };\n  regex[4 /* Epsilon */] = function () {\n    return \"\";\n  };\n  var generate = [];\n  generate[0 /* Static */] = function (segment) {\n    return segment.value;\n  };\n  generate[1 /* Dynamic */] = function (segment, params) {\n    var value = getParam(params, segment.value);\n    if (RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS) {\n      return encodePathSegment(value);\n    } else {\n      return value;\n    }\n  };\n  generate[2 /* Star */] = function (segment, params) {\n    return getParam(params, segment.value);\n  };\n  generate[4 /* Epsilon */] = function () {\n    return \"\";\n  };\n  var EmptyObject = Object.freeze({});\n  var EmptyArray = Object.freeze([]);\n  // The `names` will be populated with the paramter name for each dynamic/star\n  // segment. `shouldDecodes` will be populated with a boolean for each dyanamic/star\n  // segment, indicating whether it should be decoded during recognition.\n  function parse(segments, route, types) {\n    // normalize route as not starting with a \"/\". Recognition will\n    // also normalize.\n    if (route.length > 0 && route.charCodeAt(0) === 47 /* SLASH */) {\n      route = route.substr(1);\n    }\n    var parts = route.split(\"/\");\n    var names = undefined;\n    var shouldDecodes = undefined;\n    for (var i = 0; i < parts.length; i++) {\n      var part = parts[i];\n      var flags = 0;\n      var type = 0;\n      if (part === \"\") {\n        type = 4 /* Epsilon */;\n      } else if (part.charCodeAt(0) === 58 /* COLON */) {\n        type = 1 /* Dynamic */;\n      } else if (part.charCodeAt(0) === 42 /* STAR */) {\n        type = 2 /* Star */;\n      } else {\n        type = 0 /* Static */;\n      }\n      flags = 2 << type;\n      if (flags & 12 /* Named */) {\n        part = part.slice(1);\n        names = names || [];\n        names.push(part);\n        shouldDecodes = shouldDecodes || [];\n        shouldDecodes.push((flags & 4 /* Decoded */) !== 0);\n      }\n      if (flags & 14 /* Counted */) {\n        types[type]++;\n      }\n      segments.push({\n        type: type,\n        value: normalizeSegment(part)\n      });\n    }\n    return {\n      names: names || EmptyArray,\n      shouldDecodes: shouldDecodes || EmptyArray\n    };\n  }\n  function isEqualCharSpec(spec, char, negate) {\n    return spec.char === char && spec.negate === negate;\n  }\n  // A State has a character specification and (`charSpec`) and a list of possible\n  // subsequent states (`nextStates`).\n  //\n  // If a State is an accepting state, it will also have several additional\n  // properties:\n  //\n  // * `regex`: A regular expression that is used to extract parameters from paths\n  //   that reached this accepting state.\n  // * `handlers`: Information on how to convert the list of captures into calls\n  //   to registered handlers with the specified parameters\n  // * `types`: How many static, dynamic or star segments in this route. Used to\n  //   decide which route to use if multiple registered routes match a path.\n  //\n  // Currently, State is implemented naively by looping over `nextStates` and\n  // comparing a character specification against a character. A more efficient\n  // implementation would use a hash of keys pointing at one or more next states.\n  var State = function State(states, id, char, negate, repeat) {\n    this.states = states;\n    this.id = id;\n    this.char = char;\n    this.negate = negate;\n    this.nextStates = repeat ? id : null;\n    this.pattern = \"\";\n    this._regex = undefined;\n    this.handlers = undefined;\n    this.types = undefined;\n  };\n  State.prototype.regex = function regex$1() {\n    if (!this._regex) {\n      this._regex = new RegExp(this.pattern);\n    }\n    return this._regex;\n  };\n  State.prototype.get = function get(char, negate) {\n    var this$1 = this;\n    var nextStates = this.nextStates;\n    if (nextStates === null) {\n      return;\n    }\n    if (isArray(nextStates)) {\n      for (var i = 0; i < nextStates.length; i++) {\n        var child = this$1.states[nextStates[i]];\n        if (isEqualCharSpec(child, char, negate)) {\n          return child;\n        }\n      }\n    } else {\n      var child$1 = this.states[nextStates];\n      if (isEqualCharSpec(child$1, char, negate)) {\n        return child$1;\n      }\n    }\n  };\n  State.prototype.put = function put(char, negate, repeat) {\n    var state;\n    // If the character specification already exists in a child of the current\n    // state, just return that state.\n    if (state = this.get(char, negate)) {\n      return state;\n    }\n    // Make a new state for the character spec\n    var states = this.states;\n    state = new State(states, states.length, char, negate, repeat);\n    states[states.length] = state;\n    // Insert the new state as a child of the current state\n    if (this.nextStates == null) {\n      this.nextStates = state.id;\n    } else if (isArray(this.nextStates)) {\n      this.nextStates.push(state.id);\n    } else {\n      this.nextStates = [this.nextStates, state.id];\n    }\n    // Return the new state\n    return state;\n  };\n  // Find a list of child states matching the next character\n  State.prototype.match = function match(ch) {\n    var this$1 = this;\n    var nextStates = this.nextStates;\n    if (!nextStates) {\n      return [];\n    }\n    var returned = [];\n    if (isArray(nextStates)) {\n      for (var i = 0; i < nextStates.length; i++) {\n        var child = this$1.states[nextStates[i]];\n        if (isMatch(child, ch)) {\n          returned.push(child);\n        }\n      }\n    } else {\n      var child$1 = this.states[nextStates];\n      if (isMatch(child$1, ch)) {\n        returned.push(child$1);\n      }\n    }\n    return returned;\n  };\n  function isMatch(spec, char) {\n    return spec.negate ? spec.char !== char && spec.char !== -1 /* ANY */ : spec.char === char || spec.char === -1 /* ANY */;\n  }\n  // This is a somewhat naive strategy, but should work in a lot of cases\n  // A better strategy would properly resolve /posts/:id/new and /posts/edit/:id.\n  //\n  // This strategy generally prefers more static and less dynamic matching.\n  // Specifically, it\n  //\n  //  * prefers fewer stars to more, then\n  //  * prefers using stars for less of the match to more, then\n  //  * prefers fewer dynamic segments to more, then\n  //  * prefers more static segments to more\n  function sortSolutions(states) {\n    return states.sort(function (a, b) {\n      var ref = a.types || [0, 0, 0];\n      var astatics = ref[0];\n      var adynamics = ref[1];\n      var astars = ref[2];\n      var ref$1 = b.types || [0, 0, 0];\n      var bstatics = ref$1[0];\n      var bdynamics = ref$1[1];\n      var bstars = ref$1[2];\n      if (astars !== bstars) {\n        return astars - bstars;\n      }\n      if (astars) {\n        if (astatics !== bstatics) {\n          return bstatics - astatics;\n        }\n        if (adynamics !== bdynamics) {\n          return bdynamics - adynamics;\n        }\n      }\n      if (adynamics !== bdynamics) {\n        return adynamics - bdynamics;\n      }\n      if (astatics !== bstatics) {\n        return bstatics - astatics;\n      }\n      return 0;\n    });\n  }\n  function recognizeChar(states, ch) {\n    var nextStates = [];\n    for (var i = 0, l = states.length; i < l; i++) {\n      var state = states[i];\n      nextStates = nextStates.concat(state.match(ch));\n    }\n    return nextStates;\n  }\n  var RecognizeResults = function RecognizeResults(queryParams) {\n    this.length = 0;\n    this.queryParams = queryParams || {};\n  };\n  RecognizeResults.prototype.splice = Array.prototype.splice;\n  RecognizeResults.prototype.slice = Array.prototype.slice;\n  RecognizeResults.prototype.push = Array.prototype.push;\n  function findHandler(state, originalPath, queryParams) {\n    var handlers = state.handlers;\n    var regex = state.regex();\n    if (!regex || !handlers) {\n      throw new Error(\"state not initialized\");\n    }\n    var captures = originalPath.match(regex);\n    var currentCapture = 1;\n    var result = new RecognizeResults(queryParams);\n    result.length = handlers.length;\n    for (var i = 0; i < handlers.length; i++) {\n      var handler = handlers[i];\n      var names = handler.names;\n      var shouldDecodes = handler.shouldDecodes;\n      var params = EmptyObject;\n      var isDynamic = false;\n      if (names !== EmptyArray && shouldDecodes !== EmptyArray) {\n        for (var j = 0; j < names.length; j++) {\n          isDynamic = true;\n          var name = names[j];\n          var capture = captures && captures[currentCapture++];\n          if (params === EmptyObject) {\n            params = {};\n          }\n          if (RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS && shouldDecodes[j]) {\n            params[name] = capture && decodeURIComponent(capture);\n          } else {\n            params[name] = capture;\n          }\n        }\n      }\n      result[i] = {\n        handler: handler.handler,\n        params: params,\n        isDynamic: isDynamic\n      };\n    }\n    return result;\n  }\n  function decodeQueryParamPart(part) {\n    // http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.1\n    part = part.replace(/\\+/gm, \"%20\");\n    var result;\n    try {\n      result = decodeURIComponent(part);\n    } catch (error) {\n      result = \"\";\n    }\n    return result;\n  }\n  var RouteRecognizer = function RouteRecognizer() {\n    this.names = createMap();\n    var states = [];\n    var state = new State(states, 0, -1 /* ANY */, true, false);\n    states[0] = state;\n    this.states = states;\n    this.rootState = state;\n  };\n  RouteRecognizer.prototype.add = function add(routes, options) {\n    var currentState = this.rootState;\n    var pattern = \"^\";\n    var types = [0, 0, 0];\n    var handlers = new Array(routes.length);\n    var allSegments = [];\n    var isEmpty = true;\n    var j = 0;\n    for (var i = 0; i < routes.length; i++) {\n      var route = routes[i];\n      var ref = parse(allSegments, route.path, types);\n      var names = ref.names;\n      var shouldDecodes = ref.shouldDecodes;\n      // preserve j so it points to the start of newly added segments\n      for (; j < allSegments.length; j++) {\n        var segment = allSegments[j];\n        if (segment.type === 4 /* Epsilon */) {\n          continue;\n        }\n        isEmpty = false;\n        // Add a \"/\" for the new segment\n        currentState = currentState.put(47 /* SLASH */, false, false);\n        pattern += \"/\";\n        // Add a representation of the segment to the NFA and regex\n        currentState = eachChar[segment.type](segment, currentState);\n        pattern += regex[segment.type](segment);\n      }\n      handlers[i] = {\n        handler: route.handler,\n        names: names,\n        shouldDecodes: shouldDecodes\n      };\n    }\n    if (isEmpty) {\n      currentState = currentState.put(47 /* SLASH */, false, false);\n      pattern += \"/\";\n    }\n    currentState.handlers = handlers;\n    currentState.pattern = pattern + \"$\";\n    currentState.types = types;\n    var name;\n    if (typeof options === \"object\" && options !== null && options.as) {\n      name = options.as;\n    }\n    if (name) {\n      // if (this.names[name]) {\n      //   throw new Error(\"You may not add a duplicate route named `\" + name + \"`.\");\n      // }\n      this.names[name] = {\n        segments: allSegments,\n        handlers: handlers\n      };\n    }\n  };\n  RouteRecognizer.prototype.handlersFor = function handlersFor(name) {\n    var route = this.names[name];\n    if (!route) {\n      throw new Error(\"There is no route named \" + name);\n    }\n    var result = new Array(route.handlers.length);\n    for (var i = 0; i < route.handlers.length; i++) {\n      var handler = route.handlers[i];\n      result[i] = handler;\n    }\n    return result;\n  };\n  RouteRecognizer.prototype.hasRoute = function hasRoute(name) {\n    return !!this.names[name];\n  };\n  RouteRecognizer.prototype.generate = function generate$1(name, params) {\n    var route = this.names[name];\n    var output = \"\";\n    if (!route) {\n      throw new Error(\"There is no route named \" + name);\n    }\n    var segments = route.segments;\n    for (var i = 0; i < segments.length; i++) {\n      var segment = segments[i];\n      if (segment.type === 4 /* Epsilon */) {\n        continue;\n      }\n      output += \"/\";\n      output += generate[segment.type](segment, params);\n    }\n    if (output.charAt(0) !== \"/\") {\n      output = \"/\" + output;\n    }\n    if (params && params.queryParams) {\n      output += this.generateQueryString(params.queryParams);\n    }\n    return output;\n  };\n  RouteRecognizer.prototype.generateQueryString = function generateQueryString(params) {\n    var pairs = [];\n    var keys = Object.keys(params);\n    keys.sort();\n    for (var i = 0; i < keys.length; i++) {\n      var key = keys[i];\n      var value = params[key];\n      if (value == null) {\n        continue;\n      }\n      var pair = encodeURIComponent(key);\n      if (isArray(value)) {\n        for (var j = 0; j < value.length; j++) {\n          var arrayPair = key + \"[]\" + \"=\" + encodeURIComponent(value[j]);\n          pairs.push(arrayPair);\n        }\n      } else {\n        pair += \"=\" + encodeURIComponent(value);\n        pairs.push(pair);\n      }\n    }\n    if (pairs.length === 0) {\n      return \"\";\n    }\n    return \"?\" + pairs.join(\"&\");\n  };\n  RouteRecognizer.prototype.parseQueryString = function parseQueryString(queryString) {\n    var pairs = queryString.split(\"&\");\n    var queryParams = {};\n    for (var i = 0; i < pairs.length; i++) {\n      var pair = pairs[i].split(\"=\"),\n        key = decodeQueryParamPart(pair[0]),\n        keyLength = key.length,\n        isArray = false,\n        value = void 0;\n      if (pair.length === 1) {\n        value = \"true\";\n      } else {\n        // Handle arrays\n        if (keyLength > 2 && key.slice(keyLength - 2) === \"[]\") {\n          isArray = true;\n          key = key.slice(0, keyLength - 2);\n          if (!queryParams[key]) {\n            queryParams[key] = [];\n          }\n        }\n        value = pair[1] ? decodeQueryParamPart(pair[1]) : \"\";\n      }\n      if (isArray) {\n        queryParams[key].push(value);\n      } else {\n        queryParams[key] = value;\n      }\n    }\n    return queryParams;\n  };\n  RouteRecognizer.prototype.recognize = function recognize(path) {\n    var results;\n    var states = [this.rootState];\n    var queryParams = {};\n    var isSlashDropped = false;\n    var hashStart = path.indexOf(\"#\");\n    if (hashStart !== -1) {\n      path = path.substr(0, hashStart);\n    }\n    var queryStart = path.indexOf(\"?\");\n    if (queryStart !== -1) {\n      var queryString = path.substr(queryStart + 1, path.length);\n      path = path.substr(0, queryStart);\n      queryParams = this.parseQueryString(queryString);\n    }\n    if (path.charAt(0) !== \"/\") {\n      path = \"/\" + path;\n    }\n    var originalPath = path;\n    if (RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS) {\n      path = normalizePath(path);\n    } else {\n      path = decodeURI(path);\n      originalPath = decodeURI(originalPath);\n    }\n    var pathLen = path.length;\n    if (pathLen > 1 && path.charAt(pathLen - 1) === \"/\") {\n      path = path.substr(0, pathLen - 1);\n      originalPath = originalPath.substr(0, originalPath.length - 1);\n      isSlashDropped = true;\n    }\n    for (var i = 0; i < path.length; i++) {\n      states = recognizeChar(states, path.charCodeAt(i));\n      if (!states.length) {\n        break;\n      }\n    }\n    var solutions = [];\n    for (var i$1 = 0; i$1 < states.length; i$1++) {\n      if (states[i$1].handlers) {\n        solutions.push(states[i$1]);\n      }\n    }\n    states = sortSolutions(solutions);\n    var state = solutions[0];\n    if (state && state.handlers) {\n      // if a trailing slash was dropped and a star segment is the last segment\n      // specified, put the trailing slash back\n      if (isSlashDropped && state.pattern && state.pattern.slice(-5) === \"(.+)$\") {\n        originalPath = originalPath + \"/\";\n      }\n      results = findHandler(state, originalPath, queryParams);\n    }\n    return results;\n  };\n  RouteRecognizer.VERSION = \"0.3.4\";\n  // Set to false to opt-out of encoding and decoding path segments.\n  // See https://github.com/tildeio/route-recognizer/pull/55\n  RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS = true;\n  RouteRecognizer.Normalizer = {\n    normalizeSegment: normalizeSegment,\n    normalizePath: normalizePath,\n    encodePathSegment: encodePathSegment\n  };\n  RouteRecognizer.prototype.map = map;\n  var _default = _exports.default = RouteRecognizer;\n});","define(\"router_js\", [\"exports\", \"@ember/polyfills\", \"rsvp\", \"route-recognizer\"], function (_exports, _polyfills, _rsvp, _routeRecognizer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _exports.TransitionState = _exports.TransitionError = _exports.STATE_SYMBOL = _exports.QUERY_PARAMS_SYMBOL = _exports.PARAMS_SYMBOL = _exports.InternalTransition = _exports.InternalRouteInfo = void 0;\n  _exports.logAbort = logAbort;\n  function buildTransitionAborted() {\n    var error = new Error('TransitionAborted');\n    error.name = 'TransitionAborted';\n    error.code = 'TRANSITION_ABORTED';\n    return error;\n  }\n  function isTransitionAborted(maybeError) {\n    return typeof maybeError === 'object' && maybeError !== null && maybeError.code === 'TRANSITION_ABORTED';\n  }\n  function isAbortable(maybeAbortable) {\n    return typeof maybeAbortable === 'object' && maybeAbortable !== null && typeof maybeAbortable.isAborted === 'boolean';\n  }\n  function throwIfAborted(maybe) {\n    if (isAbortable(maybe) && maybe.isAborted) {\n      throw buildTransitionAborted();\n    }\n  }\n  var slice = Array.prototype.slice;\n  var hasOwnProperty = Object.prototype.hasOwnProperty;\n  /**\n    Determines if an object is Promise by checking if it is \"thenable\".\n  **/\n  function isPromise(p) {\n    return p !== null && typeof p === 'object' && typeof p.then === 'function';\n  }\n  function merge(hash, other) {\n    for (var prop in other) {\n      if (hasOwnProperty.call(other, prop)) {\n        hash[prop] = other[prop];\n      }\n    }\n  }\n  /**\n    @private\n  \n    Extracts query params from the end of an array\n  **/\n  function extractQueryParams(array) {\n    var len = array && array.length,\n      head,\n      queryParams;\n    if (len && len > 0) {\n      var obj = array[len - 1];\n      if (isQueryParams(obj)) {\n        queryParams = obj.queryParams;\n        head = slice.call(array, 0, len - 1);\n        return [head, queryParams];\n      }\n    }\n    return [array, null];\n  }\n  function isQueryParams(obj) {\n    return obj && hasOwnProperty.call(obj, 'queryParams');\n  }\n  /**\n    @private\n  \n    Coerces query param properties and array elements into strings.\n  **/\n  function coerceQueryParamsToString(queryParams) {\n    for (var key in queryParams) {\n      var val = queryParams[key];\n      if (typeof val === 'number') {\n        queryParams[key] = '' + val;\n      } else if (Array.isArray(val)) {\n        for (var i = 0, l = val.length; i < l; i++) {\n          val[i] = '' + val[i];\n        }\n      }\n    }\n  }\n  /**\n    @private\n   */\n  function log(router, ...args) {\n    if (!router.log) {\n      return;\n    }\n    if (args.length === 2) {\n      var [sequence, msg] = args;\n      router.log('Transition #' + sequence + ': ' + msg);\n    } else {\n      var [_msg] = args;\n      router.log(_msg);\n    }\n  }\n  function isParam(object) {\n    return typeof object === 'string' || object instanceof String || typeof object === 'number' || object instanceof Number;\n  }\n  function forEach(array, callback) {\n    for (var i = 0, l = array.length; i < l && callback(array[i]) !== false; i++) {\n      // empty intentionally\n    }\n  }\n  function getChangelist(oldObject, newObject) {\n    var key;\n    var results = {\n      all: {},\n      changed: {},\n      removed: {}\n    };\n    merge(results.all, newObject);\n    var didChange = false;\n    coerceQueryParamsToString(oldObject);\n    coerceQueryParamsToString(newObject);\n    // Calculate removals\n    for (key in oldObject) {\n      if (hasOwnProperty.call(oldObject, key)) {\n        if (!hasOwnProperty.call(newObject, key)) {\n          didChange = true;\n          results.removed[key] = oldObject[key];\n        }\n      }\n    }\n    // Calculate changes\n    for (key in newObject) {\n      if (hasOwnProperty.call(newObject, key)) {\n        var oldElement = oldObject[key];\n        var newElement = newObject[key];\n        if (isArray(oldElement) && isArray(newElement)) {\n          if (oldElement.length !== newElement.length) {\n            results.changed[key] = newObject[key];\n            didChange = true;\n          } else {\n            for (var i = 0, l = oldElement.length; i < l; i++) {\n              if (oldElement[i] !== newElement[i]) {\n                results.changed[key] = newObject[key];\n                didChange = true;\n              }\n            }\n          }\n        } else if (oldObject[key] !== newObject[key]) {\n          results.changed[key] = newObject[key];\n          didChange = true;\n        }\n      }\n    }\n    return didChange ? results : undefined;\n  }\n  function isArray(obj) {\n    return Array.isArray(obj);\n  }\n  function promiseLabel(label) {\n    return 'Router: ' + label;\n  }\n  var STATE_SYMBOL = _exports.STATE_SYMBOL = `__STATE__-2619860001345920-3322w3`;\n  var PARAMS_SYMBOL = _exports.PARAMS_SYMBOL = `__PARAMS__-261986232992830203-23323`;\n  var QUERY_PARAMS_SYMBOL = _exports.QUERY_PARAMS_SYMBOL = `__QPS__-2619863929824844-32323`;\n  /**\n    A Transition is a thenable (a promise-like object) that represents\n    an attempt to transition to another route. It can be aborted, either\n    explicitly via `abort` or by attempting another transition while a\n    previous one is still underway. An aborted transition can also\n    be `retry()`d later.\n  \n    @class Transition\n    @constructor\n    @param {Object} router\n    @param {Object} intent\n    @param {Object} state\n    @param {Object} error\n    @private\n   */\n  class Transition {\n    constructor(router, intent, state, error = undefined, previousTransition = undefined) {\n      this.from = null;\n      this.to = undefined;\n      this.isAborted = false;\n      this.isActive = true;\n      this.urlMethod = 'update';\n      this.resolveIndex = 0;\n      this.queryParamsOnly = false;\n      this.isTransition = true;\n      this.isCausedByAbortingTransition = false;\n      this.isCausedByInitialTransition = false;\n      this.isCausedByAbortingReplaceTransition = false;\n      this._visibleQueryParams = {};\n      this.isIntermediate = false;\n      this[STATE_SYMBOL] = state || router.state;\n      this.intent = intent;\n      this.router = router;\n      this.data = intent && intent.data || {};\n      this.resolvedModels = {};\n      this[QUERY_PARAMS_SYMBOL] = {};\n      this.promise = undefined;\n      this.error = undefined;\n      this[PARAMS_SYMBOL] = {};\n      this.routeInfos = [];\n      this.targetName = undefined;\n      this.pivotHandler = undefined;\n      this.sequence = -1;\n      if (true /* DEBUG */) {\n        var _error = new Error(`Transition creation stack`);\n        this.debugCreationStack = () => _error.stack;\n        // not aborted yet, will be replaced when `this.isAborted` is set\n        this.debugAbortStack = () => undefined;\n        this.debugPreviousTransition = previousTransition;\n      }\n      if (error) {\n        this.promise = _rsvp.Promise.reject(error);\n        this.error = error;\n        return;\n      }\n      // if you're doing multiple redirects, need the new transition to know if it\n      // is actually part of the first transition or not. Any further redirects\n      // in the initial transition also need to know if they are part of the\n      // initial transition\n      this.isCausedByAbortingTransition = !!previousTransition;\n      this.isCausedByInitialTransition = !!previousTransition && (previousTransition.isCausedByInitialTransition || previousTransition.sequence === 0);\n      // Every transition in the chain is a replace\n      this.isCausedByAbortingReplaceTransition = !!previousTransition && previousTransition.urlMethod === 'replace' && (!previousTransition.isCausedByAbortingTransition || previousTransition.isCausedByAbortingReplaceTransition);\n      if (state) {\n        this[PARAMS_SYMBOL] = state.params;\n        this[QUERY_PARAMS_SYMBOL] = state.queryParams;\n        this.routeInfos = state.routeInfos;\n        var len = state.routeInfos.length;\n        if (len) {\n          this.targetName = state.routeInfos[len - 1].name;\n        }\n        for (var i = 0; i < len; ++i) {\n          var handlerInfo = state.routeInfos[i];\n          // TODO: this all seems hacky\n          if (!handlerInfo.isResolved) {\n            break;\n          }\n          this.pivotHandler = handlerInfo.route;\n        }\n        this.sequence = router.currentSequence++;\n        this.promise = state.resolve(this).catch(result => {\n          var error = this.router.transitionDidError(result, this);\n          throw error;\n        }, promiseLabel('Handle Abort'));\n      } else {\n        this.promise = _rsvp.Promise.resolve(this[STATE_SYMBOL]);\n        this[PARAMS_SYMBOL] = {};\n      }\n    }\n    /**\n      The Transition's internal promise. Calling `.then` on this property\n      is that same as calling `.then` on the Transition object itself, but\n      this property is exposed for when you want to pass around a\n      Transition's promise, but not the Transition object itself, since\n      Transition object can be externally `abort`ed, while the promise\n      cannot.\n         @property promise\n      @type {Object}\n      @public\n     */\n    /**\n      Custom state can be stored on a Transition's `data` object.\n      This can be useful for decorating a Transition within an earlier\n      hook and shared with a later hook. Properties set on `data` will\n      be copied to new transitions generated by calling `retry` on this\n      transition.\n         @property data\n      @type {Object}\n      @public\n     */\n    /**\n      A standard promise hook that resolves if the transition\n      succeeds and rejects if it fails/redirects/aborts.\n         Forwards to the internal `promise` property which you can\n      use in situations where you want to pass around a thenable,\n      but not the Transition itself.\n         @method then\n      @param {Function} onFulfilled\n      @param {Function} onRejected\n      @param {String} label optional string for labeling the promise.\n      Useful for tooling.\n      @return {Promise}\n      @public\n     */\n    then(onFulfilled, onRejected, label) {\n      return this.promise.then(onFulfilled, onRejected, label);\n    }\n    /**\n         Forwards to the internal `promise` property which you can\n      use in situations where you want to pass around a thennable,\n      but not the Transition itself.\n         @method catch\n      @param {Function} onRejection\n      @param {String} label optional string for labeling the promise.\n      Useful for tooling.\n      @return {Promise}\n      @public\n     */\n    catch(onRejection, label) {\n      return this.promise.catch(onRejection, label);\n    }\n    /**\n         Forwards to the internal `promise` property which you can\n      use in situations where you want to pass around a thenable,\n      but not the Transition itself.\n         @method finally\n      @param {Function} callback\n      @param {String} label optional string for labeling the promise.\n      Useful for tooling.\n      @return {Promise}\n      @public\n     */\n    finally(callback, label) {\n      return this.promise.finally(callback, label);\n    }\n    /**\n      Aborts the Transition. Note you can also implicitly abort a transition\n      by initiating another transition while a previous one is underway.\n         @method abort\n      @return {Transition} this transition\n      @public\n     */\n    abort() {\n      this.rollback();\n      var transition = new Transition(this.router, undefined, undefined, undefined);\n      transition.to = this.from;\n      transition.from = this.from;\n      transition.isAborted = true;\n      this.router.routeWillChange(transition);\n      this.router.routeDidChange(transition);\n      return this;\n    }\n    rollback() {\n      if (!this.isAborted) {\n        log(this.router, this.sequence, this.targetName + ': transition was aborted');\n        if (true /* DEBUG */) {\n          var error = new Error(`Transition aborted stack`);\n          this.debugAbortStack = () => error.stack;\n        }\n        if (this.intent !== undefined && this.intent !== null) {\n          this.intent.preTransitionState = this.router.state;\n        }\n        this.isAborted = true;\n        this.isActive = false;\n        this.router.activeTransition = undefined;\n      }\n    }\n    redirect(newTransition) {\n      this.rollback();\n      this.router.routeWillChange(newTransition);\n    }\n    /**\n         Retries a previously-aborted transition (making sure to abort the\n      transition if it's still active). Returns a new transition that\n      represents the new attempt to transition.\n         @method retry\n      @return {Transition} new transition\n      @public\n     */\n    retry() {\n      // TODO: add tests for merged state retry()s\n      this.abort();\n      var newTransition = this.router.transitionByIntent(this.intent, false);\n      // inheriting a `null` urlMethod is not valid\n      // the urlMethod is only set to `null` when\n      // the transition is initiated *after* the url\n      // has been updated (i.e. `router.handleURL`)\n      //\n      // in that scenario, the url method cannot be\n      // inherited for a new transition because then\n      // the url would not update even though it should\n      if (this.urlMethod !== null) {\n        newTransition.method(this.urlMethod);\n      }\n      return newTransition;\n    }\n    /**\n         Sets the URL-changing method to be employed at the end of a\n      successful transition. By default, a new Transition will just\n      use `updateURL`, but passing 'replace' to this method will\n      cause the URL to update using 'replaceWith' instead. Omitting\n      a parameter will disable the URL change, allowing for transitions\n      that don't update the URL at completion (this is also used for\n      handleURL, since the URL has already changed before the\n      transition took place).\n         @method method\n      @param {String} method the type of URL-changing method to use\n        at the end of a transition. Accepted values are 'replace',\n        falsy values, or any other non-falsy value (which is\n        interpreted as an updateURL transition).\n         @return {Transition} this transition\n      @public\n     */\n    method(method) {\n      this.urlMethod = method;\n      return this;\n    }\n    // Alias 'trigger' as 'send'\n    send(ignoreFailure = false, _name, err, transition, handler) {\n      this.trigger(ignoreFailure, _name, err, transition, handler);\n    }\n    /**\n         Fires an event on the current list of resolved/resolving\n      handlers within this transition. Useful for firing events\n      on route hierarchies that haven't fully been entered yet.\n         Note: This method is also aliased as `send`\n         @method trigger\n      @param {Boolean} [ignoreFailure=false] a boolean specifying whether unhandled events throw an error\n      @param {String} name the name of the event to fire\n      @public\n     */\n    trigger(ignoreFailure = false, name, ...args) {\n      // TODO: Deprecate the current signature\n      if (typeof ignoreFailure === 'string') {\n        name = ignoreFailure;\n        ignoreFailure = false;\n      }\n      this.router.triggerEvent(this[STATE_SYMBOL].routeInfos.slice(0, this.resolveIndex + 1), ignoreFailure, name, args);\n    }\n    /**\n      Transitions are aborted and their promises rejected\n      when redirects occur; this method returns a promise\n      that will follow any redirects that occur and fulfill\n      with the value fulfilled by any redirecting transitions\n      that occur.\n         @method followRedirects\n      @return {Promise} a promise that fulfills with the same\n        value that the final redirecting transition fulfills with\n      @public\n     */\n    followRedirects() {\n      var router = this.router;\n      return this.promise.catch(function (reason) {\n        if (router.activeTransition) {\n          return router.activeTransition.followRedirects();\n        }\n        return _rsvp.Promise.reject(reason);\n      });\n    }\n    toString() {\n      return 'Transition (sequence ' + this.sequence + ')';\n    }\n    /**\n      @private\n     */\n    log(message) {\n      log(this.router, this.sequence, message);\n    }\n  }\n  /**\n    @private\n  \n    Logs and returns an instance of TransitionAborted.\n   */\n  _exports.InternalTransition = Transition;\n  function logAbort(transition) {\n    log(transition.router, transition.sequence, 'detected abort.');\n    return buildTransitionAborted();\n  }\n  function isTransition(obj) {\n    return typeof obj === 'object' && obj instanceof Transition && obj.isTransition;\n  }\n  function prepareResult(obj) {\n    if (isTransition(obj)) {\n      return null;\n    }\n    return obj;\n  }\n  var ROUTE_INFOS = new WeakMap();\n  function toReadOnlyRouteInfo(routeInfos, queryParams = {}, includeAttributes = false) {\n    return routeInfos.map((info, i) => {\n      var {\n        name,\n        params,\n        paramNames,\n        context,\n        route\n      } = info;\n      if (ROUTE_INFOS.has(info) && includeAttributes) {\n        var _routeInfo = ROUTE_INFOS.get(info);\n        _routeInfo = attachMetadata(route, _routeInfo);\n        var routeInfoWithAttribute = createRouteInfoWithAttributes(_routeInfo, context);\n        ROUTE_INFOS.set(info, routeInfoWithAttribute);\n        return routeInfoWithAttribute;\n      }\n      var routeInfo = {\n        find(predicate, thisArg) {\n          var publicInfo;\n          var arr = [];\n          if (predicate.length === 3) {\n            arr = routeInfos.map(info => ROUTE_INFOS.get(info));\n          }\n          for (var _i = 0; routeInfos.length > _i; _i++) {\n            publicInfo = ROUTE_INFOS.get(routeInfos[_i]);\n            if (predicate.call(thisArg, publicInfo, _i, arr)) {\n              return publicInfo;\n            }\n          }\n          return undefined;\n        },\n        get name() {\n          return name;\n        },\n        get paramNames() {\n          return paramNames;\n        },\n        get metadata() {\n          return buildRouteInfoMetadata(info.route);\n        },\n        get parent() {\n          var parent = routeInfos[i - 1];\n          if (parent === undefined) {\n            return null;\n          }\n          return ROUTE_INFOS.get(parent);\n        },\n        get child() {\n          var child = routeInfos[i + 1];\n          if (child === undefined) {\n            return null;\n          }\n          return ROUTE_INFOS.get(child);\n        },\n        get localName() {\n          var parts = this.name.split('.');\n          return parts[parts.length - 1];\n        },\n        get params() {\n          return params;\n        },\n        get queryParams() {\n          return queryParams;\n        }\n      };\n      if (includeAttributes) {\n        routeInfo = createRouteInfoWithAttributes(routeInfo, context);\n      }\n      ROUTE_INFOS.set(info, routeInfo);\n      return routeInfo;\n    });\n  }\n  function createRouteInfoWithAttributes(routeInfo, context) {\n    var attributes = {\n      get attributes() {\n        return context;\n      }\n    };\n    if (!Object.isExtensible(routeInfo) || routeInfo.hasOwnProperty('attributes')) {\n      return Object.freeze((0, _polyfills.assign)({}, routeInfo, attributes));\n    }\n    return (0, _polyfills.assign)(routeInfo, attributes);\n  }\n  function buildRouteInfoMetadata(route) {\n    if (route !== undefined && route !== null && route.buildRouteInfoMetadata !== undefined) {\n      return route.buildRouteInfoMetadata();\n    }\n    return null;\n  }\n  function attachMetadata(route, routeInfo) {\n    var metadata = {\n      get metadata() {\n        return buildRouteInfoMetadata(route);\n      }\n    };\n    if (!Object.isExtensible(routeInfo) || routeInfo.hasOwnProperty('metadata')) {\n      return Object.freeze((0, _polyfills.assign)({}, routeInfo, metadata));\n    }\n    return (0, _polyfills.assign)(routeInfo, metadata);\n  }\n  class InternalRouteInfo {\n    constructor(router, name, paramNames, route) {\n      this._routePromise = undefined;\n      this._route = null;\n      this.params = {};\n      this.isResolved = false;\n      this.name = name;\n      this.paramNames = paramNames;\n      this.router = router;\n      if (route) {\n        this._processRoute(route);\n      }\n    }\n    getModel(_transition) {\n      return _rsvp.Promise.resolve(this.context);\n    }\n    serialize(_context) {\n      return this.params || {};\n    }\n    resolve(transition) {\n      return _rsvp.Promise.resolve(this.routePromise).then(route => {\n        throwIfAborted(transition);\n        return route;\n      }).then(() => this.runBeforeModelHook(transition)).then(() => throwIfAborted(transition)).then(() => this.getModel(transition)).then(resolvedModel => {\n        throwIfAborted(transition);\n        return resolvedModel;\n      }).then(resolvedModel => this.runAfterModelHook(transition, resolvedModel)).then(resolvedModel => this.becomeResolved(transition, resolvedModel));\n    }\n    becomeResolved(transition, resolvedContext) {\n      var params = this.serialize(resolvedContext);\n      if (transition) {\n        this.stashResolvedModel(transition, resolvedContext);\n        transition[PARAMS_SYMBOL] = transition[PARAMS_SYMBOL] || {};\n        transition[PARAMS_SYMBOL][this.name] = params;\n      }\n      var context;\n      var contextsMatch = resolvedContext === this.context;\n      if ('context' in this || !contextsMatch) {\n        context = resolvedContext;\n      }\n      var cached = ROUTE_INFOS.get(this);\n      var resolved = new ResolvedRouteInfo(this.router, this.name, this.paramNames, params, this.route, context);\n      if (cached !== undefined) {\n        ROUTE_INFOS.set(resolved, cached);\n      }\n      return resolved;\n    }\n    shouldSupersede(routeInfo) {\n      // Prefer this newer routeInfo over `other` if:\n      // 1) The other one doesn't exist\n      // 2) The names don't match\n      // 3) This route has a context that doesn't match\n      //    the other one (or the other one doesn't have one).\n      // 4) This route has parameters that don't match the other.\n      if (!routeInfo) {\n        return true;\n      }\n      var contextsMatch = routeInfo.context === this.context;\n      return routeInfo.name !== this.name || 'context' in this && !contextsMatch || this.hasOwnProperty('params') && !paramsMatch(this.params, routeInfo.params);\n    }\n    get route() {\n      // _route could be set to either a route object or undefined, so we\n      // compare against null to know when it's been set\n      if (this._route !== null) {\n        return this._route;\n      }\n      return this.fetchRoute();\n    }\n    set route(route) {\n      this._route = route;\n    }\n    get routePromise() {\n      if (this._routePromise) {\n        return this._routePromise;\n      }\n      this.fetchRoute();\n      return this._routePromise;\n    }\n    set routePromise(routePromise) {\n      this._routePromise = routePromise;\n    }\n    log(transition, message) {\n      if (transition.log) {\n        transition.log(this.name + ': ' + message);\n      }\n    }\n    updateRoute(route) {\n      route._internalName = this.name;\n      return this.route = route;\n    }\n    runBeforeModelHook(transition) {\n      if (transition.trigger) {\n        transition.trigger(true, 'willResolveModel', transition, this.route);\n      }\n      var result;\n      if (this.route) {\n        if (this.route.beforeModel !== undefined) {\n          result = this.route.beforeModel(transition);\n        }\n      }\n      if (isTransition(result)) {\n        result = null;\n      }\n      return _rsvp.Promise.resolve(result);\n    }\n    runAfterModelHook(transition, resolvedModel) {\n      // Stash the resolved model on the payload.\n      // This makes it possible for users to swap out\n      // the resolved model in afterModel.\n      var name = this.name;\n      this.stashResolvedModel(transition, resolvedModel);\n      var result;\n      if (this.route !== undefined) {\n        if (this.route.afterModel !== undefined) {\n          result = this.route.afterModel(resolvedModel, transition);\n        }\n      }\n      result = prepareResult(result);\n      return _rsvp.Promise.resolve(result).then(() => {\n        // Ignore the fulfilled value returned from afterModel.\n        // Return the value stashed in resolvedModels, which\n        // might have been swapped out in afterModel.\n        return transition.resolvedModels[name];\n      });\n    }\n    stashResolvedModel(transition, resolvedModel) {\n      transition.resolvedModels = transition.resolvedModels || {};\n      transition.resolvedModels[this.name] = resolvedModel;\n    }\n    fetchRoute() {\n      var route = this.router.getRoute(this.name);\n      return this._processRoute(route);\n    }\n    _processRoute(route) {\n      // Setup a routePromise so that we can wait for asynchronously loaded routes\n      this.routePromise = _rsvp.Promise.resolve(route);\n      // Wait until the 'route' property has been updated when chaining to a route\n      // that is a promise\n      if (isPromise(route)) {\n        this.routePromise = this.routePromise.then(r => {\n          return this.updateRoute(r);\n        });\n        // set to undefined to avoid recursive loop in the route getter\n        return this.route = undefined;\n      } else if (route) {\n        return this.updateRoute(route);\n      }\n      return undefined;\n    }\n  }\n  _exports.InternalRouteInfo = InternalRouteInfo;\n  class ResolvedRouteInfo extends InternalRouteInfo {\n    constructor(router, name, paramNames, params, route, context) {\n      super(router, name, paramNames, route);\n      this.params = params;\n      this.isResolved = true;\n      this.context = context;\n    }\n    resolve(transition) {\n      // A ResolvedRouteInfo just resolved with itself.\n      if (transition && transition.resolvedModels) {\n        transition.resolvedModels[this.name] = this.context;\n      }\n      return _rsvp.Promise.resolve(this);\n    }\n  }\n  class UnresolvedRouteInfoByParam extends InternalRouteInfo {\n    constructor(router, name, paramNames, params, route) {\n      super(router, name, paramNames, route);\n      this.params = {};\n      this.params = params;\n    }\n    getModel(transition) {\n      var fullParams = this.params;\n      if (transition && transition[QUERY_PARAMS_SYMBOL]) {\n        fullParams = {};\n        merge(fullParams, this.params);\n        fullParams.queryParams = transition[QUERY_PARAMS_SYMBOL];\n      }\n      var route = this.route;\n      var result;\n      if (route.deserialize) {\n        result = route.deserialize(fullParams, transition);\n      } else if (route.model) {\n        result = route.model(fullParams, transition);\n      }\n      if (result && isTransition(result)) {\n        result = undefined;\n      }\n      return _rsvp.Promise.resolve(result);\n    }\n  }\n  class UnresolvedRouteInfoByObject extends InternalRouteInfo {\n    constructor(router, name, paramNames, context) {\n      super(router, name, paramNames);\n      this.context = context;\n      this.serializer = this.router.getSerializer(name);\n    }\n    getModel(transition) {\n      if (this.router.log !== undefined) {\n        this.router.log(this.name + ': resolving provided model');\n      }\n      return super.getModel(transition);\n    }\n    /**\n      @private\n         Serializes a route using its custom `serialize` method or\n      by a default that looks up the expected property name from\n      the dynamic segment.\n         @param {Object} model the model to be serialized for this route\n    */\n    serialize(model) {\n      var {\n        paramNames,\n        context\n      } = this;\n      if (!model) {\n        model = context;\n      }\n      var object = {};\n      if (isParam(model)) {\n        object[paramNames[0]] = model;\n        return object;\n      }\n      // Use custom serialize if it exists.\n      if (this.serializer) {\n        // invoke this.serializer unbound (getSerializer returns a stateless function)\n        return this.serializer.call(null, model, paramNames);\n      } else if (this.route !== undefined) {\n        if (this.route.serialize) {\n          return this.route.serialize(model, paramNames);\n        }\n      }\n      if (paramNames.length !== 1) {\n        return;\n      }\n      var name = paramNames[0];\n      if (/_id$/.test(name)) {\n        object[name] = model.id;\n      } else {\n        object[name] = model;\n      }\n      return object;\n    }\n  }\n  function paramsMatch(a, b) {\n    if (!a !== !b) {\n      // Only one is null.\n      return false;\n    }\n    if (!a) {\n      // Both must be null.\n      return true;\n    }\n    // Note: this assumes that both params have the same\n    // number of keys, but since we're comparing the\n    // same routes, they should.\n    for (var k in a) {\n      if (a.hasOwnProperty(k) && a[k] !== b[k]) {\n        return false;\n      }\n    }\n    return true;\n  }\n  class TransitionIntent {\n    constructor(router, data = {}) {\n      this.router = router;\n      this.data = data;\n    }\n  }\n  function handleError(currentState, transition, error) {\n    // This is the only possible\n    // reject value of TransitionState#resolve\n    var routeInfos = currentState.routeInfos;\n    var errorHandlerIndex = transition.resolveIndex >= routeInfos.length ? routeInfos.length - 1 : transition.resolveIndex;\n    var wasAborted = transition.isAborted;\n    throw new TransitionError(error, currentState.routeInfos[errorHandlerIndex].route, wasAborted, currentState);\n  }\n  function resolveOneRouteInfo(currentState, transition) {\n    if (transition.resolveIndex === currentState.routeInfos.length) {\n      // This is is the only possible\n      // fulfill value of TransitionState#resolve\n      return;\n    }\n    var routeInfo = currentState.routeInfos[transition.resolveIndex];\n    return routeInfo.resolve(transition).then(proceed.bind(null, currentState, transition), null, currentState.promiseLabel('Proceed'));\n  }\n  function proceed(currentState, transition, resolvedRouteInfo) {\n    var wasAlreadyResolved = currentState.routeInfos[transition.resolveIndex].isResolved;\n    // Swap the previously unresolved routeInfo with\n    // the resolved routeInfo\n    currentState.routeInfos[transition.resolveIndex++] = resolvedRouteInfo;\n    if (!wasAlreadyResolved) {\n      // Call the redirect hook. The reason we call it here\n      // vs. afterModel is so that redirects into child\n      // routes don't re-run the model hooks for this\n      // already-resolved route.\n      var {\n        route\n      } = resolvedRouteInfo;\n      if (route !== undefined) {\n        if (route.redirect) {\n          route.redirect(resolvedRouteInfo.context, transition);\n        }\n      }\n    }\n    // Proceed after ensuring that the redirect hook\n    // didn't abort this transition by transitioning elsewhere.\n    throwIfAborted(transition);\n    return resolveOneRouteInfo(currentState, transition);\n  }\n  class TransitionState {\n    constructor() {\n      this.routeInfos = [];\n      this.queryParams = {};\n      this.params = {};\n    }\n    promiseLabel(label) {\n      var targetName = '';\n      forEach(this.routeInfos, function (routeInfo) {\n        if (targetName !== '') {\n          targetName += '.';\n        }\n        targetName += routeInfo.name;\n        return true;\n      });\n      return promiseLabel(\"'\" + targetName + \"': \" + label);\n    }\n    resolve(transition) {\n      // First, calculate params for this state. This is useful\n      // information to provide to the various route hooks.\n      var params = this.params;\n      forEach(this.routeInfos, routeInfo => {\n        params[routeInfo.name] = routeInfo.params || {};\n        return true;\n      });\n      transition.resolveIndex = 0;\n      // The prelude RSVP.resolve() async moves us into the promise land.\n      return _rsvp.Promise.resolve(null, this.promiseLabel('Start transition')).then(resolveOneRouteInfo.bind(null, this, transition), null, this.promiseLabel('Resolve route')).catch(handleError.bind(null, this, transition), this.promiseLabel('Handle error')).then(() => this);\n    }\n  }\n  _exports.TransitionState = TransitionState;\n  class TransitionError {\n    constructor(error, route, wasAborted, state) {\n      this.error = error;\n      this.route = route;\n      this.wasAborted = wasAborted;\n      this.state = state;\n    }\n  }\n  _exports.TransitionError = TransitionError;\n  class NamedTransitionIntent extends TransitionIntent {\n    constructor(router, name, pivotHandler, contexts = [], queryParams = {}, data) {\n      super(router, data);\n      this.preTransitionState = undefined;\n      this.name = name;\n      this.pivotHandler = pivotHandler;\n      this.contexts = contexts;\n      this.queryParams = queryParams;\n    }\n    applyToState(oldState, isIntermediate) {\n      // TODO: WTF fix me\n      var partitionedArgs = extractQueryParams([this.name].concat(this.contexts)),\n        pureArgs = partitionedArgs[0],\n        handlers = this.router.recognizer.handlersFor(pureArgs[0]);\n      var targetRouteName = handlers[handlers.length - 1].handler;\n      return this.applyToHandlers(oldState, handlers, targetRouteName, isIntermediate, false);\n    }\n    applyToHandlers(oldState, parsedHandlers, targetRouteName, isIntermediate, checkingIfActive) {\n      var i, len;\n      var newState = new TransitionState();\n      var objects = this.contexts.slice(0);\n      var invalidateIndex = parsedHandlers.length;\n      // Pivot handlers are provided for refresh transitions\n      if (this.pivotHandler) {\n        for (i = 0, len = parsedHandlers.length; i < len; ++i) {\n          if (parsedHandlers[i].handler === this.pivotHandler._internalName) {\n            invalidateIndex = i;\n            break;\n          }\n        }\n      }\n      for (i = parsedHandlers.length - 1; i >= 0; --i) {\n        var result = parsedHandlers[i];\n        var name = result.handler;\n        var oldHandlerInfo = oldState.routeInfos[i];\n        var newHandlerInfo = null;\n        if (result.names.length > 0) {\n          if (i >= invalidateIndex) {\n            newHandlerInfo = this.createParamHandlerInfo(name, result.names, objects, oldHandlerInfo);\n          } else {\n            newHandlerInfo = this.getHandlerInfoForDynamicSegment(name, result.names, objects, oldHandlerInfo, targetRouteName, i);\n          }\n        } else {\n          // This route has no dynamic segment.\n          // Therefore treat as a param-based handlerInfo\n          // with empty params. This will cause the `model`\n          // hook to be called with empty params, which is desirable.\n          newHandlerInfo = this.createParamHandlerInfo(name, result.names, objects, oldHandlerInfo);\n        }\n        if (checkingIfActive) {\n          // If we're performing an isActive check, we want to\n          // serialize URL params with the provided context, but\n          // ignore mismatches between old and new context.\n          newHandlerInfo = newHandlerInfo.becomeResolved(null, newHandlerInfo.context);\n          var oldContext = oldHandlerInfo && oldHandlerInfo.context;\n          if (result.names.length > 0 && oldHandlerInfo.context !== undefined && newHandlerInfo.context === oldContext) {\n            // If contexts match in isActive test, assume params also match.\n            // This allows for flexibility in not requiring that every last\n            // handler provide a `serialize` method\n            newHandlerInfo.params = oldHandlerInfo && oldHandlerInfo.params;\n          }\n          newHandlerInfo.context = oldContext;\n        }\n        var handlerToUse = oldHandlerInfo;\n        if (i >= invalidateIndex || newHandlerInfo.shouldSupersede(oldHandlerInfo)) {\n          invalidateIndex = Math.min(i, invalidateIndex);\n          handlerToUse = newHandlerInfo;\n        }\n        if (isIntermediate && !checkingIfActive) {\n          handlerToUse = handlerToUse.becomeResolved(null, handlerToUse.context);\n        }\n        newState.routeInfos.unshift(handlerToUse);\n      }\n      if (objects.length > 0) {\n        throw new Error('More context objects were passed than there are dynamic segments for the route: ' + targetRouteName);\n      }\n      if (!isIntermediate) {\n        this.invalidateChildren(newState.routeInfos, invalidateIndex);\n      }\n      merge(newState.queryParams, this.queryParams || {});\n      if (isIntermediate && oldState.queryParams) {\n        merge(newState.queryParams, oldState.queryParams);\n      }\n      return newState;\n    }\n    invalidateChildren(handlerInfos, invalidateIndex) {\n      for (var i = invalidateIndex, l = handlerInfos.length; i < l; ++i) {\n        var handlerInfo = handlerInfos[i];\n        if (handlerInfo.isResolved) {\n          var {\n            name,\n            params,\n            route,\n            paramNames\n          } = handlerInfos[i];\n          handlerInfos[i] = new UnresolvedRouteInfoByParam(this.router, name, paramNames, params, route);\n        }\n      }\n    }\n    getHandlerInfoForDynamicSegment(name, names, objects, oldHandlerInfo, _targetRouteName, i) {\n      var objectToUse;\n      if (objects.length > 0) {\n        // Use the objects provided for this transition.\n        objectToUse = objects[objects.length - 1];\n        if (isParam(objectToUse)) {\n          return this.createParamHandlerInfo(name, names, objects, oldHandlerInfo);\n        } else {\n          objects.pop();\n        }\n      } else if (oldHandlerInfo && oldHandlerInfo.name === name) {\n        // Reuse the matching oldHandlerInfo\n        return oldHandlerInfo;\n      } else {\n        if (this.preTransitionState) {\n          var preTransitionHandlerInfo = this.preTransitionState.routeInfos[i];\n          objectToUse = preTransitionHandlerInfo && preTransitionHandlerInfo.context;\n        } else {\n          // Ideally we should throw this error to provide maximal\n          // information to the user that not enough context objects\n          // were provided, but this proves too cumbersome in Ember\n          // in cases where inner template helpers are evaluated\n          // before parent helpers un-render, in which cases this\n          // error somewhat prematurely fires.\n          //throw new Error(\"Not enough context objects were provided to complete a transition to \" + targetRouteName + \". Specifically, the \" + name + \" route needs an object that can be serialized into its dynamic URL segments [\" + names.join(', ') + \"]\");\n          return oldHandlerInfo;\n        }\n      }\n      return new UnresolvedRouteInfoByObject(this.router, name, names, objectToUse);\n    }\n    createParamHandlerInfo(name, names, objects, oldHandlerInfo) {\n      var params = {};\n      // Soak up all the provided string/numbers\n      var numNames = names.length;\n      var missingParams = [];\n      while (numNames--) {\n        // Only use old params if the names match with the new handler\n        var oldParams = oldHandlerInfo && name === oldHandlerInfo.name && oldHandlerInfo.params || {};\n        var peek = objects[objects.length - 1];\n        var paramName = names[numNames];\n        if (isParam(peek)) {\n          params[paramName] = '' + objects.pop();\n        } else {\n          // If we're here, this means only some of the params\n          // were string/number params, so try and use a param\n          // value from a previous handler.\n          if (oldParams.hasOwnProperty(paramName)) {\n            params[paramName] = oldParams[paramName];\n          } else {\n            missingParams.push(paramName);\n          }\n        }\n      }\n      if (missingParams.length > 0) {\n        throw new Error(`You didn't provide enough string/numeric parameters to satisfy all of the dynamic segments for route ${name}.` + ` Missing params: ${missingParams}`);\n      }\n      return new UnresolvedRouteInfoByParam(this.router, name, names, params);\n    }\n  }\n  var UnrecognizedURLError = function () {\n    UnrecognizedURLError.prototype = Object.create(Error.prototype);\n    UnrecognizedURLError.prototype.constructor = UnrecognizedURLError;\n    function UnrecognizedURLError(message) {\n      var error = Error.call(this, message);\n      this.name = 'UnrecognizedURLError';\n      this.message = message || 'UnrecognizedURL';\n      if (Error.captureStackTrace) {\n        Error.captureStackTrace(this, UnrecognizedURLError);\n      } else {\n        this.stack = error.stack;\n      }\n    }\n    return UnrecognizedURLError;\n  }();\n  class URLTransitionIntent extends TransitionIntent {\n    constructor(router, url, data) {\n      super(router, data);\n      this.url = url;\n      this.preTransitionState = undefined;\n    }\n    applyToState(oldState) {\n      var newState = new TransitionState();\n      var results = this.router.recognizer.recognize(this.url),\n        i,\n        len;\n      if (!results) {\n        throw new UnrecognizedURLError(this.url);\n      }\n      var statesDiffer = false;\n      var _url = this.url;\n      // Checks if a handler is accessible by URL. If it is not, an error is thrown.\n      // For the case where the handler is loaded asynchronously, the error will be\n      // thrown once it is loaded.\n      function checkHandlerAccessibility(handler) {\n        if (handler && handler.inaccessibleByURL) {\n          throw new UnrecognizedURLError(_url);\n        }\n        return handler;\n      }\n      for (i = 0, len = results.length; i < len; ++i) {\n        var result = results[i];\n        var name = result.handler;\n        var paramNames = [];\n        if (this.router.recognizer.hasRoute(name)) {\n          paramNames = this.router.recognizer.handlersFor(name)[i].names;\n        }\n        var newRouteInfo = new UnresolvedRouteInfoByParam(this.router, name, paramNames, result.params);\n        var route = newRouteInfo.route;\n        if (route) {\n          checkHandlerAccessibility(route);\n        } else {\n          // If the handler is being loaded asynchronously, check if we can\n          // access it after it has resolved\n          newRouteInfo.routePromise = newRouteInfo.routePromise.then(checkHandlerAccessibility);\n        }\n        var oldRouteInfo = oldState.routeInfos[i];\n        if (statesDiffer || newRouteInfo.shouldSupersede(oldRouteInfo)) {\n          statesDiffer = true;\n          newState.routeInfos[i] = newRouteInfo;\n        } else {\n          newState.routeInfos[i] = oldRouteInfo;\n        }\n      }\n      merge(newState.queryParams, results.queryParams);\n      return newState;\n    }\n  }\n  class Router {\n    constructor(logger) {\n      this._lastQueryParams = {};\n      this.state = undefined;\n      this.oldState = undefined;\n      this.activeTransition = undefined;\n      this.currentRouteInfos = undefined;\n      this._changedQueryParams = undefined;\n      this.currentSequence = 0;\n      this.log = logger;\n      this.recognizer = new _routeRecognizer.default();\n      this.reset();\n    }\n    /**\n      The main entry point into the router. The API is essentially\n      the same as the `map` method in `route-recognizer`.\n         This method extracts the String handler at the last `.to()`\n      call and uses it as the name of the whole route.\n         @param {Function} callback\n    */\n    map(callback) {\n      this.recognizer.map(callback, function (recognizer, routes) {\n        for (var i = routes.length - 1, _proceed = true; i >= 0 && _proceed; --i) {\n          var route = routes[i];\n          var handler = route.handler;\n          recognizer.add(routes, {\n            as: handler\n          });\n          _proceed = route.path === '/' || route.path === '' || handler.slice(-6) === '.index';\n        }\n      });\n    }\n    hasRoute(route) {\n      return this.recognizer.hasRoute(route);\n    }\n    queryParamsTransition(changelist, wasTransitioning, oldState, newState) {\n      this.fireQueryParamDidChange(newState, changelist);\n      if (!wasTransitioning && this.activeTransition) {\n        // One of the routes in queryParamsDidChange\n        // caused a transition. Just return that transition.\n        return this.activeTransition;\n      } else {\n        // Running queryParamsDidChange didn't change anything.\n        // Just update query params and be on our way.\n        // We have to return a noop transition that will\n        // perform a URL update at the end. This gives\n        // the user the ability to set the url update\n        // method (default is replaceState).\n        var newTransition = new Transition(this, undefined, undefined);\n        newTransition.queryParamsOnly = true;\n        oldState.queryParams = this.finalizeQueryParamChange(newState.routeInfos, newState.queryParams, newTransition);\n        newTransition[QUERY_PARAMS_SYMBOL] = newState.queryParams;\n        this.toReadOnlyInfos(newTransition, newState);\n        this.routeWillChange(newTransition);\n        newTransition.promise = newTransition.promise.then(result => {\n          if (!newTransition.isAborted) {\n            this._updateURL(newTransition, oldState);\n            this.didTransition(this.currentRouteInfos);\n            this.toInfos(newTransition, newState.routeInfos, true);\n            this.routeDidChange(newTransition);\n          }\n          return result;\n        }, null, promiseLabel('Transition complete'));\n        return newTransition;\n      }\n    }\n    transitionByIntent(intent, isIntermediate) {\n      try {\n        return this.getTransitionByIntent(intent, isIntermediate);\n      } catch (e) {\n        return new Transition(this, intent, undefined, e, undefined);\n      }\n    }\n    recognize(url) {\n      var intent = new URLTransitionIntent(this, url);\n      var newState = this.generateNewState(intent);\n      if (newState === null) {\n        return newState;\n      }\n      var readonlyInfos = toReadOnlyRouteInfo(newState.routeInfos, newState.queryParams);\n      return readonlyInfos[readonlyInfos.length - 1];\n    }\n    recognizeAndLoad(url) {\n      var intent = new URLTransitionIntent(this, url);\n      var newState = this.generateNewState(intent);\n      if (newState === null) {\n        return _rsvp.Promise.reject(`URL ${url} was not recognized`);\n      }\n      var newTransition = new Transition(this, intent, newState, undefined);\n      return newTransition.then(() => {\n        var routeInfosWithAttributes = toReadOnlyRouteInfo(newState.routeInfos, newTransition[QUERY_PARAMS_SYMBOL], true);\n        return routeInfosWithAttributes[routeInfosWithAttributes.length - 1];\n      });\n    }\n    generateNewState(intent) {\n      try {\n        return intent.applyToState(this.state, false);\n      } catch (e) {\n        return null;\n      }\n    }\n    getTransitionByIntent(intent, isIntermediate) {\n      var wasTransitioning = !!this.activeTransition;\n      var oldState = wasTransitioning ? this.activeTransition[STATE_SYMBOL] : this.state;\n      var newTransition;\n      var newState = intent.applyToState(oldState, isIntermediate);\n      var queryParamChangelist = getChangelist(oldState.queryParams, newState.queryParams);\n      if (routeInfosEqual(newState.routeInfos, oldState.routeInfos)) {\n        // This is a no-op transition. See if query params changed.\n        if (queryParamChangelist) {\n          var _newTransition = this.queryParamsTransition(queryParamChangelist, wasTransitioning, oldState, newState);\n          _newTransition.queryParamsOnly = true;\n          return _newTransition;\n        }\n        // No-op. No need to create a new transition.\n        return this.activeTransition || new Transition(this, undefined, undefined);\n      }\n      if (isIntermediate) {\n        var transition = new Transition(this, undefined, newState);\n        transition.isIntermediate = true;\n        this.toReadOnlyInfos(transition, newState);\n        this.setupContexts(newState, transition);\n        this.routeWillChange(transition);\n        return this.activeTransition;\n      }\n      // Create a new transition to the destination route.\n      newTransition = new Transition(this, intent, newState, undefined, this.activeTransition);\n      // transition is to same route with same params, only query params differ.\n      // not caught above probably because refresh() has been used\n      if (routeInfosSameExceptQueryParams(newState.routeInfos, oldState.routeInfos)) {\n        newTransition.queryParamsOnly = true;\n      }\n      this.toReadOnlyInfos(newTransition, newState);\n      // Abort and usurp any previously active transition.\n      if (this.activeTransition) {\n        this.activeTransition.redirect(newTransition);\n      }\n      this.activeTransition = newTransition;\n      // Transition promises by default resolve with resolved state.\n      // For our purposes, swap out the promise to resolve\n      // after the transition has been finalized.\n      newTransition.promise = newTransition.promise.then(result => {\n        return this.finalizeTransition(newTransition, result);\n      }, null, promiseLabel('Settle transition promise when transition is finalized'));\n      if (!wasTransitioning) {\n        this.notifyExistingHandlers(newState, newTransition);\n      }\n      this.fireQueryParamDidChange(newState, queryParamChangelist);\n      return newTransition;\n    }\n    /**\n    @private\n       Begins and returns a Transition based on the provided\n    arguments. Accepts arguments in the form of both URL\n    transitions and named transitions.\n       @param {Router} router\n    @param {Array[Object]} args arguments passed to transitionTo,\n      replaceWith, or handleURL\n    */\n    doTransition(name, modelsArray = [], isIntermediate = false) {\n      var lastArg = modelsArray[modelsArray.length - 1];\n      var queryParams = {};\n      if (lastArg !== undefined && lastArg.hasOwnProperty('queryParams')) {\n        queryParams = modelsArray.pop().queryParams;\n      }\n      var intent;\n      if (name === undefined) {\n        log(this, 'Updating query params');\n        // A query param update is really just a transition\n        // into the route you're already on.\n        var {\n          routeInfos\n        } = this.state;\n        intent = new NamedTransitionIntent(this, routeInfos[routeInfos.length - 1].name, undefined, [], queryParams);\n      } else if (name.charAt(0) === '/') {\n        log(this, 'Attempting URL transition to ' + name);\n        intent = new URLTransitionIntent(this, name);\n      } else {\n        log(this, 'Attempting transition to ' + name);\n        intent = new NamedTransitionIntent(this, name, undefined, modelsArray, queryParams);\n      }\n      return this.transitionByIntent(intent, isIntermediate);\n    }\n    /**\n    @private\n       Updates the URL (if necessary) and calls `setupContexts`\n    to update the router's array of `currentRouteInfos`.\n    */\n    finalizeTransition(transition, newState) {\n      try {\n        log(transition.router, transition.sequence, 'Resolved all models on destination route; finalizing transition.');\n        var routeInfos = newState.routeInfos;\n        // Run all the necessary enter/setup/exit hooks\n        this.setupContexts(newState, transition);\n        // Check if a redirect occurred in enter/setup\n        if (transition.isAborted) {\n          // TODO: cleaner way? distinguish b/w targetRouteInfos?\n          this.state.routeInfos = this.currentRouteInfos;\n          return _rsvp.Promise.reject(logAbort(transition));\n        }\n        this._updateURL(transition, newState);\n        transition.isActive = false;\n        this.activeTransition = undefined;\n        this.triggerEvent(this.currentRouteInfos, true, 'didTransition', []);\n        this.didTransition(this.currentRouteInfos);\n        this.toInfos(transition, newState.routeInfos, true);\n        this.routeDidChange(transition);\n        log(this, transition.sequence, 'TRANSITION COMPLETE.');\n        // Resolve with the final route.\n        return routeInfos[routeInfos.length - 1].route;\n      } catch (e) {\n        if (!isTransitionAborted(e)) {\n          var infos = transition[STATE_SYMBOL].routeInfos;\n          transition.trigger(true, 'error', e, transition, infos[infos.length - 1].route);\n          transition.abort();\n        }\n        throw e;\n      }\n    }\n    /**\n    @private\n       Takes an Array of `RouteInfo`s, figures out which ones are\n    exiting, entering, or changing contexts, and calls the\n    proper route hooks.\n       For example, consider the following tree of routes. Each route is\n    followed by the URL segment it handles.\n       ```\n    |~index (\"/\")\n    | |~posts (\"/posts\")\n    | | |-showPost (\"/:id\")\n    | | |-newPost (\"/new\")\n    | | |-editPost (\"/edit\")\n    | |~about (\"/about/:id\")\n    ```\n       Consider the following transitions:\n       1. A URL transition to `/posts/1`.\n       1. Triggers the `*model` callbacks on the\n          `index`, `posts`, and `showPost` routes\n       2. Triggers the `enter` callback on the same\n       3. Triggers the `setup` callback on the same\n    2. A direct transition to `newPost`\n       1. Triggers the `exit` callback on `showPost`\n       2. Triggers the `enter` callback on `newPost`\n       3. Triggers the `setup` callback on `newPost`\n    3. A direct transition to `about` with a specified\n       context object\n       1. Triggers the `exit` callback on `newPost`\n          and `posts`\n       2. Triggers the `serialize` callback on `about`\n       3. Triggers the `enter` callback on `about`\n       4. Triggers the `setup` callback on `about`\n       @param {Router} transition\n    @param {TransitionState} newState\n    */\n    setupContexts(newState, transition) {\n      var partition = this.partitionRoutes(this.state, newState);\n      var i, l, route;\n      for (i = 0, l = partition.exited.length; i < l; i++) {\n        route = partition.exited[i].route;\n        delete route.context;\n        if (route !== undefined) {\n          if (route._internalReset !== undefined) {\n            route._internalReset(true, transition);\n          }\n          if (route.exit !== undefined) {\n            route.exit(transition);\n          }\n        }\n      }\n      var oldState = this.oldState = this.state;\n      this.state = newState;\n      var currentRouteInfos = this.currentRouteInfos = partition.unchanged.slice();\n      try {\n        for (i = 0, l = partition.reset.length; i < l; i++) {\n          route = partition.reset[i].route;\n          if (route !== undefined) {\n            if (route._internalReset !== undefined) {\n              route._internalReset(false, transition);\n            }\n          }\n        }\n        for (i = 0, l = partition.updatedContext.length; i < l; i++) {\n          this.routeEnteredOrUpdated(currentRouteInfos, partition.updatedContext[i], false, transition);\n        }\n        for (i = 0, l = partition.entered.length; i < l; i++) {\n          this.routeEnteredOrUpdated(currentRouteInfos, partition.entered[i], true, transition);\n        }\n      } catch (e) {\n        this.state = oldState;\n        this.currentRouteInfos = oldState.routeInfos;\n        throw e;\n      }\n      this.state.queryParams = this.finalizeQueryParamChange(currentRouteInfos, newState.queryParams, transition);\n    }\n    /**\n    @private\n       Fires queryParamsDidChange event\n    */\n    fireQueryParamDidChange(newState, queryParamChangelist) {\n      // If queryParams changed trigger event\n      if (queryParamChangelist) {\n        // This is a little hacky but we need some way of storing\n        // changed query params given that no activeTransition\n        // is guaranteed to have occurred.\n        this._changedQueryParams = queryParamChangelist.all;\n        this.triggerEvent(newState.routeInfos, true, 'queryParamsDidChange', [queryParamChangelist.changed, queryParamChangelist.all, queryParamChangelist.removed]);\n        this._changedQueryParams = undefined;\n      }\n    }\n    /**\n    @private\n       Helper method used by setupContexts. Handles errors or redirects\n    that may happen in enter/setup.\n    */\n    routeEnteredOrUpdated(currentRouteInfos, routeInfo, enter, transition) {\n      var route = routeInfo.route,\n        context = routeInfo.context;\n      function _routeEnteredOrUpdated(route) {\n        if (enter) {\n          if (route.enter !== undefined) {\n            route.enter(transition);\n          }\n        }\n        throwIfAborted(transition);\n        route.context = context;\n        if (route.contextDidChange !== undefined) {\n          route.contextDidChange();\n        }\n        if (route.setup !== undefined) {\n          route.setup(context, transition);\n        }\n        throwIfAborted(transition);\n        currentRouteInfos.push(routeInfo);\n        return route;\n      }\n      // If the route doesn't exist, it means we haven't resolved the route promise yet\n      if (route === undefined) {\n        routeInfo.routePromise = routeInfo.routePromise.then(_routeEnteredOrUpdated);\n      } else {\n        _routeEnteredOrUpdated(route);\n      }\n      return true;\n    }\n    /**\n    @private\n       This function is called when transitioning from one URL to\n    another to determine which routes are no longer active,\n    which routes are newly active, and which routes remain\n    active but have their context changed.\n       Take a list of old routes and new routes and partition\n    them into four buckets:\n       * unchanged: the route was active in both the old and\n      new URL, and its context remains the same\n    * updated context: the route was active in both the\n      old and new URL, but its context changed. The route's\n      `setup` method, if any, will be called with the new\n      context.\n    * exited: the route was active in the old URL, but is\n      no longer active.\n    * entered: the route was not active in the old URL, but\n      is now active.\n       The PartitionedRoutes structure has four fields:\n       * `updatedContext`: a list of `RouteInfo` objects that\n      represent routes that remain active but have a changed\n      context\n    * `entered`: a list of `RouteInfo` objects that represent\n      routes that are newly active\n    * `exited`: a list of `RouteInfo` objects that are no\n      longer active.\n    * `unchanged`: a list of `RouteInfo` objects that remain active.\n       @param {Array[InternalRouteInfo]} oldRoutes a list of the route\n      information for the previous URL (or `[]` if this is the\n      first handled transition)\n    @param {Array[InternalRouteInfo]} newRoutes a list of the route\n      information for the new URL\n       @return {Partition}\n    */\n    partitionRoutes(oldState, newState) {\n      var oldRouteInfos = oldState.routeInfos;\n      var newRouteInfos = newState.routeInfos;\n      var routes = {\n        updatedContext: [],\n        exited: [],\n        entered: [],\n        unchanged: [],\n        reset: []\n      };\n      var routeChanged,\n        contextChanged = false,\n        i,\n        l;\n      for (i = 0, l = newRouteInfos.length; i < l; i++) {\n        var oldRouteInfo = oldRouteInfos[i],\n          newRouteInfo = newRouteInfos[i];\n        if (!oldRouteInfo || oldRouteInfo.route !== newRouteInfo.route) {\n          routeChanged = true;\n        }\n        if (routeChanged) {\n          routes.entered.push(newRouteInfo);\n          if (oldRouteInfo) {\n            routes.exited.unshift(oldRouteInfo);\n          }\n        } else if (contextChanged || oldRouteInfo.context !== newRouteInfo.context) {\n          contextChanged = true;\n          routes.updatedContext.push(newRouteInfo);\n        } else {\n          routes.unchanged.push(oldRouteInfo);\n        }\n      }\n      for (i = newRouteInfos.length, l = oldRouteInfos.length; i < l; i++) {\n        routes.exited.unshift(oldRouteInfos[i]);\n      }\n      routes.reset = routes.updatedContext.slice();\n      routes.reset.reverse();\n      return routes;\n    }\n    _updateURL(transition, state) {\n      var urlMethod = transition.urlMethod;\n      if (!urlMethod) {\n        return;\n      }\n      var {\n        routeInfos\n      } = state;\n      var {\n        name: routeName\n      } = routeInfos[routeInfos.length - 1];\n      var params = {};\n      for (var i = routeInfos.length - 1; i >= 0; --i) {\n        var routeInfo = routeInfos[i];\n        merge(params, routeInfo.params);\n        if (routeInfo.route.inaccessibleByURL) {\n          urlMethod = null;\n        }\n      }\n      if (urlMethod) {\n        params.queryParams = transition._visibleQueryParams || state.queryParams;\n        var url = this.recognizer.generate(routeName, params);\n        // transitions during the initial transition must always use replaceURL.\n        // When the app boots, you are at a url, e.g. /foo. If some route\n        // redirects to bar as part of the initial transition, you don't want to\n        // add a history entry for /foo. If you do, pressing back will immediately\n        // hit the redirect again and take you back to /bar, thus killing the back\n        // button\n        var initial = transition.isCausedByInitialTransition;\n        // say you are at / and you click a link to route /foo. In /foo's\n        // route, the transition is aborted using replaceWith('/bar').\n        // Because the current url is still /, the history entry for / is\n        // removed from the history. Clicking back will take you to the page\n        // you were on before /, which is often not even the app, thus killing\n        // the back button. That's why updateURL is always correct for an\n        // aborting transition that's not the initial transition\n        var replaceAndNotAborting = urlMethod === 'replace' && !transition.isCausedByAbortingTransition;\n        // because calling refresh causes an aborted transition, this needs to be\n        // special cased - if the initial transition is a replace transition, the\n        // urlMethod should be honored here.\n        var isQueryParamsRefreshTransition = transition.queryParamsOnly && urlMethod === 'replace';\n        // say you are at / and you a `replaceWith(/foo)` is called. Then, that\n        // transition is aborted with `replaceWith(/bar)`. At the end, we should\n        // end up with /bar replacing /. We are replacing the replace. We only\n        // will replace the initial route if all subsequent aborts are also\n        // replaces. However, there is some ambiguity around the correct behavior\n        // here.\n        var replacingReplace = urlMethod === 'replace' && transition.isCausedByAbortingReplaceTransition;\n        if (initial || replaceAndNotAborting || isQueryParamsRefreshTransition || replacingReplace) {\n          this.replaceURL(url);\n        } else {\n          this.updateURL(url);\n        }\n      }\n    }\n    finalizeQueryParamChange(resolvedHandlers, newQueryParams, transition) {\n      // We fire a finalizeQueryParamChange event which\n      // gives the new route hierarchy a chance to tell\n      // us which query params it's consuming and what\n      // their final values are. If a query param is\n      // no longer consumed in the final route hierarchy,\n      // its serialized segment will be removed\n      // from the URL.\n      for (var k in newQueryParams) {\n        if (newQueryParams.hasOwnProperty(k) && newQueryParams[k] === null) {\n          delete newQueryParams[k];\n        }\n      }\n      var finalQueryParamsArray = [];\n      this.triggerEvent(resolvedHandlers, true, 'finalizeQueryParamChange', [newQueryParams, finalQueryParamsArray, transition]);\n      if (transition) {\n        transition._visibleQueryParams = {};\n      }\n      var finalQueryParams = {};\n      for (var i = 0, len = finalQueryParamsArray.length; i < len; ++i) {\n        var qp = finalQueryParamsArray[i];\n        finalQueryParams[qp.key] = qp.value;\n        if (transition && qp.visible !== false) {\n          transition._visibleQueryParams[qp.key] = qp.value;\n        }\n      }\n      return finalQueryParams;\n    }\n    toReadOnlyInfos(newTransition, newState) {\n      var oldRouteInfos = this.state.routeInfos;\n      this.fromInfos(newTransition, oldRouteInfos);\n      this.toInfos(newTransition, newState.routeInfos);\n      this._lastQueryParams = newState.queryParams;\n    }\n    fromInfos(newTransition, oldRouteInfos) {\n      if (newTransition !== undefined && oldRouteInfos.length > 0) {\n        var fromInfos = toReadOnlyRouteInfo(oldRouteInfos, (0, _polyfills.assign)({}, this._lastQueryParams), true);\n        newTransition.from = fromInfos[fromInfos.length - 1] || null;\n      }\n    }\n    toInfos(newTransition, newRouteInfos, includeAttributes = false) {\n      if (newTransition !== undefined && newRouteInfos.length > 0) {\n        var toInfos = toReadOnlyRouteInfo(newRouteInfos, (0, _polyfills.assign)({}, newTransition[QUERY_PARAMS_SYMBOL]), includeAttributes);\n        newTransition.to = toInfos[toInfos.length - 1] || null;\n      }\n    }\n    notifyExistingHandlers(newState, newTransition) {\n      var oldRouteInfos = this.state.routeInfos,\n        i,\n        oldRouteInfoLen,\n        oldHandler,\n        newRouteInfo;\n      oldRouteInfoLen = oldRouteInfos.length;\n      for (i = 0; i < oldRouteInfoLen; i++) {\n        oldHandler = oldRouteInfos[i];\n        newRouteInfo = newState.routeInfos[i];\n        if (!newRouteInfo || oldHandler.name !== newRouteInfo.name) {\n          break;\n        }\n        if (!newRouteInfo.isResolved) {}\n      }\n      this.triggerEvent(oldRouteInfos, true, 'willTransition', [newTransition]);\n      this.routeWillChange(newTransition);\n      this.willTransition(oldRouteInfos, newState.routeInfos, newTransition);\n    }\n    /**\n      Clears the current and target route routes and triggers exit\n      on each of them starting at the leaf and traversing up through\n      its ancestors.\n    */\n    reset() {\n      if (this.state) {\n        forEach(this.state.routeInfos.slice().reverse(), function (routeInfo) {\n          var route = routeInfo.route;\n          if (route !== undefined) {\n            if (route.exit !== undefined) {\n              route.exit();\n            }\n          }\n          return true;\n        });\n      }\n      this.oldState = undefined;\n      this.state = new TransitionState();\n      this.currentRouteInfos = undefined;\n    }\n    /**\n      let handler = routeInfo.handler;\n      The entry point for handling a change to the URL (usually\n      via the back and forward button).\n         Returns an Array of handlers and the parameters associated\n      with those parameters.\n         @param {String} url a URL to process\n         @return {Array} an Array of `[handler, parameter]` tuples\n    */\n    handleURL(url) {\n      // Perform a URL-based transition, but don't change\n      // the URL afterward, since it already happened.\n      if (url.charAt(0) !== '/') {\n        url = '/' + url;\n      }\n      return this.doTransition(url).method(null);\n    }\n    /**\n      Transition into the specified named route.\n         If necessary, trigger the exit callback on any routes\n      that are no longer represented by the target route.\n         @param {String} name the name of the route\n    */\n    transitionTo(name, ...contexts) {\n      if (typeof name === 'object') {\n        contexts.push(name);\n        return this.doTransition(undefined, contexts, false);\n      }\n      return this.doTransition(name, contexts);\n    }\n    intermediateTransitionTo(name, ...args) {\n      return this.doTransition(name, args, true);\n    }\n    refresh(pivotRoute) {\n      var previousTransition = this.activeTransition;\n      var state = previousTransition ? previousTransition[STATE_SYMBOL] : this.state;\n      var routeInfos = state.routeInfos;\n      if (pivotRoute === undefined) {\n        pivotRoute = routeInfos[0].route;\n      }\n      log(this, 'Starting a refresh transition');\n      var name = routeInfos[routeInfos.length - 1].name;\n      var intent = new NamedTransitionIntent(this, name, pivotRoute, [], this._changedQueryParams || state.queryParams);\n      var newTransition = this.transitionByIntent(intent, false);\n      // if the previous transition is a replace transition, that needs to be preserved\n      if (previousTransition && previousTransition.urlMethod === 'replace') {\n        newTransition.method(previousTransition.urlMethod);\n      }\n      return newTransition;\n    }\n    /**\n      Identical to `transitionTo` except that the current URL will be replaced\n      if possible.\n         This method is intended primarily for use with `replaceState`.\n         @param {String} name the name of the route\n    */\n    replaceWith(name) {\n      return this.doTransition(name).method('replace');\n    }\n    /**\n      Take a named route and context objects and generate a\n      URL.\n         @param {String} name the name of the route to generate\n        a URL for\n      @param {...Object} objects a list of objects to serialize\n         @return {String} a URL\n    */\n    generate(routeName, ...args) {\n      var partitionedArgs = extractQueryParams(args),\n        suppliedParams = partitionedArgs[0],\n        queryParams = partitionedArgs[1];\n      // Construct a TransitionIntent with the provided params\n      // and apply it to the present state of the router.\n      var intent = new NamedTransitionIntent(this, routeName, undefined, suppliedParams);\n      var state = intent.applyToState(this.state, false);\n      var params = {};\n      for (var i = 0, len = state.routeInfos.length; i < len; ++i) {\n        var routeInfo = state.routeInfos[i];\n        var routeParams = routeInfo.serialize();\n        merge(params, routeParams);\n      }\n      params.queryParams = queryParams;\n      return this.recognizer.generate(routeName, params);\n    }\n    applyIntent(routeName, contexts) {\n      var intent = new NamedTransitionIntent(this, routeName, undefined, contexts);\n      var state = this.activeTransition && this.activeTransition[STATE_SYMBOL] || this.state;\n      return intent.applyToState(state, false);\n    }\n    isActiveIntent(routeName, contexts, queryParams, _state) {\n      var state = _state || this.state,\n        targetRouteInfos = state.routeInfos,\n        routeInfo,\n        len;\n      if (!targetRouteInfos.length) {\n        return false;\n      }\n      var targetHandler = targetRouteInfos[targetRouteInfos.length - 1].name;\n      var recognizerHandlers = this.recognizer.handlersFor(targetHandler);\n      var index = 0;\n      for (len = recognizerHandlers.length; index < len; ++index) {\n        routeInfo = targetRouteInfos[index];\n        if (routeInfo.name === routeName) {\n          break;\n        }\n      }\n      if (index === recognizerHandlers.length) {\n        // The provided route name isn't even in the route hierarchy.\n        return false;\n      }\n      var testState = new TransitionState();\n      testState.routeInfos = targetRouteInfos.slice(0, index + 1);\n      recognizerHandlers = recognizerHandlers.slice(0, index + 1);\n      var intent = new NamedTransitionIntent(this, targetHandler, undefined, contexts);\n      var newState = intent.applyToHandlers(testState, recognizerHandlers, targetHandler, true, true);\n      var routesEqual = routeInfosEqual(newState.routeInfos, testState.routeInfos);\n      if (!queryParams || !routesEqual) {\n        return routesEqual;\n      }\n      // Get a hash of QPs that will still be active on new route\n      var activeQPsOnNewHandler = {};\n      merge(activeQPsOnNewHandler, queryParams);\n      var activeQueryParams = state.queryParams;\n      for (var key in activeQueryParams) {\n        if (activeQueryParams.hasOwnProperty(key) && activeQPsOnNewHandler.hasOwnProperty(key)) {\n          activeQPsOnNewHandler[key] = activeQueryParams[key];\n        }\n      }\n      return routesEqual && !getChangelist(activeQPsOnNewHandler, queryParams);\n    }\n    isActive(routeName, ...args) {\n      var partitionedArgs = extractQueryParams(args);\n      return this.isActiveIntent(routeName, partitionedArgs[0], partitionedArgs[1]);\n    }\n    trigger(name, ...args) {\n      this.triggerEvent(this.currentRouteInfos, false, name, args);\n    }\n  }\n  function routeInfosEqual(routeInfos, otherRouteInfos) {\n    if (routeInfos.length !== otherRouteInfos.length) {\n      return false;\n    }\n    for (var i = 0, len = routeInfos.length; i < len; ++i) {\n      if (routeInfos[i] !== otherRouteInfos[i]) {\n        return false;\n      }\n    }\n    return true;\n  }\n  function routeInfosSameExceptQueryParams(routeInfos, otherRouteInfos) {\n    if (routeInfos.length !== otherRouteInfos.length) {\n      return false;\n    }\n    for (var i = 0, len = routeInfos.length; i < len; ++i) {\n      if (routeInfos[i].name !== otherRouteInfos[i].name) {\n        return false;\n      }\n      if (!paramsEqual(routeInfos[i].params, otherRouteInfos[i].params)) {\n        return false;\n      }\n    }\n    return true;\n  }\n  function paramsEqual(params, otherParams) {\n    if (!params && !otherParams) {\n      return true;\n    } else if (!params && !!otherParams || !!params && !otherParams) {\n      // one is falsy but other is not;\n      return false;\n    }\n    var keys = Object.keys(params);\n    var otherKeys = Object.keys(otherParams);\n    if (keys.length !== otherKeys.length) {\n      return false;\n    }\n    for (var i = 0, len = keys.length; i < len; ++i) {\n      var key = keys[i];\n      if (params[key] !== otherParams[key]) {\n        return false;\n      }\n    }\n    return true;\n  }\n  var _default = _exports.default = Router;\n});","define(\"rsvp\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.Promise = _exports.EventTarget = void 0;\n  _exports.all = all$1;\n  _exports.allSettled = allSettled;\n  _exports.asap = asap;\n  _exports.cast = _exports.async = void 0;\n  _exports.configure = configure;\n  _exports.default = void 0;\n  _exports.defer = defer;\n  _exports.denodeify = denodeify;\n  _exports.filter = filter;\n  _exports.hash = hash;\n  _exports.hashSettled = hashSettled;\n  _exports.map = map;\n  _exports.off = off;\n  _exports.on = on;\n  _exports.race = race$1;\n  _exports.reject = reject$2;\n  _exports.resolve = resolve$2;\n  _exports.rethrow = rethrow;\n  function callbacksFor(object) {\n    var callbacks = object._promiseCallbacks;\n    if (!callbacks) {\n      callbacks = object._promiseCallbacks = {};\n    }\n    return callbacks;\n  }\n\n  /**\n    @class EventTarget\n    @for rsvp\n    @public\n  */\n  var EventTarget = _exports.EventTarget = {\n    /**\n      `EventTarget.mixin` extends an object with EventTarget methods. For\n      Example:\n       ```javascript\n      import EventTarget from 'rsvp';\n       let object = {};\n       EventTarget.mixin(object);\n       object.on('finished', function(event) {\n        // handle event\n      });\n       object.trigger('finished', { detail: value });\n      ```\n       `EventTarget.mixin` also works with prototypes:\n       ```javascript\n      import EventTarget from 'rsvp';\n       let Person = function() {};\n      EventTarget.mixin(Person.prototype);\n       let yehuda = new Person();\n      let tom = new Person();\n       yehuda.on('poke', function(event) {\n        console.log('Yehuda says OW');\n      });\n       tom.on('poke', function(event) {\n        console.log('Tom says OW');\n      });\n       yehuda.trigger('poke');\n      tom.trigger('poke');\n      ```\n       @method mixin\n      @for rsvp\n      @private\n      @param {Object} object object to extend with EventTarget methods\n    */\n    mixin(object) {\n      object.on = this.on;\n      object.off = this.off;\n      object.trigger = this.trigger;\n      object._promiseCallbacks = undefined;\n      return object;\n    },\n    /**\n      Registers a callback to be executed when `eventName` is triggered\n       ```javascript\n      object.on('event', function(eventInfo){\n        // handle the event\n      });\n       object.trigger('event');\n      ```\n       @method on\n      @for EventTarget\n      @private\n      @param {String} eventName name of the event to listen for\n      @param {Function} callback function to be called when the event is triggered.\n    */\n    on(eventName, callback) {\n      if (typeof callback !== 'function') {\n        throw new TypeError('Callback must be a function');\n      }\n      var allCallbacks = callbacksFor(this);\n      var callbacks = allCallbacks[eventName];\n      if (!callbacks) {\n        callbacks = allCallbacks[eventName] = [];\n      }\n      if (callbacks.indexOf(callback) === -1) {\n        callbacks.push(callback);\n      }\n    },\n    /**\n      You can use `off` to stop firing a particular callback for an event:\n       ```javascript\n      function doStuff() { // do stuff! }\n      object.on('stuff', doStuff);\n       object.trigger('stuff'); // doStuff will be called\n       // Unregister ONLY the doStuff callback\n      object.off('stuff', doStuff);\n      object.trigger('stuff'); // doStuff will NOT be called\n      ```\n       If you don't pass a `callback` argument to `off`, ALL callbacks for the\n      event will not be executed when the event fires. For example:\n       ```javascript\n      let callback1 = function(){};\n      let callback2 = function(){};\n       object.on('stuff', callback1);\n      object.on('stuff', callback2);\n       object.trigger('stuff'); // callback1 and callback2 will be executed.\n       object.off('stuff');\n      object.trigger('stuff'); // callback1 and callback2 will not be executed!\n      ```\n       @method off\n      @for rsvp\n      @private\n      @param {String} eventName event to stop listening to\n      @param {Function} [callback] optional argument. If given, only the function\n      given will be removed from the event's callback queue. If no `callback`\n      argument is given, all callbacks will be removed from the event's callback\n      queue.\n    */\n    off(eventName, callback) {\n      var allCallbacks = callbacksFor(this);\n      if (!callback) {\n        allCallbacks[eventName] = [];\n        return;\n      }\n      var callbacks = allCallbacks[eventName];\n      var index = callbacks.indexOf(callback);\n      if (index !== -1) {\n        callbacks.splice(index, 1);\n      }\n    },\n    /**\n      Use `trigger` to fire custom events. For example:\n       ```javascript\n      object.on('foo', function(){\n        console.log('foo event happened!');\n      });\n      object.trigger('foo');\n      // 'foo event happened!' logged to the console\n      ```\n       You can also pass a value as a second argument to `trigger` that will be\n      passed as an argument to all event listeners for the event:\n       ```javascript\n      object.on('foo', function(value){\n        console.log(value.name);\n      });\n       object.trigger('foo', { name: 'bar' });\n      // 'bar' logged to the console\n      ```\n       @method trigger\n      @for rsvp\n      @private\n      @param {String} eventName name of the event to be triggered\n      @param {*} [options] optional value to be passed to any event handlers for\n      the given `eventName`\n    */\n    trigger(eventName, options, label) {\n      var allCallbacks = callbacksFor(this);\n      var callbacks = allCallbacks[eventName];\n      if (callbacks) {\n        // Don't cache the callbacks.length since it may grow\n        var callback;\n        for (var i = 0; i < callbacks.length; i++) {\n          callback = callbacks[i];\n          callback(options, label);\n        }\n      }\n    }\n  };\n  var config = {\n    instrument: false\n  };\n  EventTarget['mixin'](config);\n  function configure(name, value) {\n    if (arguments.length === 2) {\n      config[name] = value;\n    } else {\n      return config[name];\n    }\n  }\n  var queue = [];\n  function scheduleFlush() {\n    setTimeout(() => {\n      for (var i = 0; i < queue.length; i++) {\n        var entry = queue[i];\n        var payload = entry.payload;\n        payload.guid = payload.key + payload.id;\n        payload.childGuid = payload.key + payload.childId;\n        if (payload.error) {\n          payload.stack = payload.error.stack;\n        }\n        config['trigger'](entry.name, entry.payload);\n      }\n      queue.length = 0;\n    }, 50);\n  }\n  function instrument(eventName, promise, child) {\n    if (1 === queue.push({\n      name: eventName,\n      payload: {\n        key: promise._guidKey,\n        id: promise._id,\n        eventName: eventName,\n        detail: promise._result,\n        childId: child && child._id,\n        label: promise._label,\n        timeStamp: Date.now(),\n        error: config[\"instrument-with-stack\"] ? new Error(promise._label) : null\n      }\n    })) {\n      scheduleFlush();\n    }\n  }\n\n  /**\n    `Promise.resolve` returns a promise that will become resolved with the\n    passed `value`. It is shorthand for the following:\n  \n    ```javascript\n    import Promise from 'rsvp';\n  \n    let promise = new Promise(function(resolve, reject){\n      resolve(1);\n    });\n  \n    promise.then(function(value){\n      // value === 1\n    });\n    ```\n  \n    Instead of writing the above, your code now simply becomes the following:\n  \n    ```javascript\n    import Promise from 'rsvp';\n  \n    let promise = RSVP.Promise.resolve(1);\n  \n    promise.then(function(value){\n      // value === 1\n    });\n    ```\n  \n    @method resolve\n    @for Promise\n    @static\n    @param {*} object value that the returned promise will be resolved with\n    @param {String} [label] optional string for identifying the returned promise.\n    Useful for tooling.\n    @return {Promise} a promise that will become fulfilled with the given\n    `value`\n  */\n  function resolve$$1(object, label) {\n    /*jshint validthis:true */\n    var Constructor = this;\n    if (object && typeof object === 'object' && object.constructor === Constructor) {\n      return object;\n    }\n    var promise = new Constructor(noop, label);\n    resolve$1(promise, object);\n    return promise;\n  }\n  function withOwnPromise() {\n    return new TypeError('A promises callback cannot return that same promise.');\n  }\n  function objectOrFunction(x) {\n    var type = typeof x;\n    return x !== null && (type === 'object' || type === 'function');\n  }\n  function noop() {}\n  var PENDING = void 0;\n  var FULFILLED = 1;\n  var REJECTED = 2;\n  function tryThen(then$$1, value, fulfillmentHandler, rejectionHandler) {\n    try {\n      then$$1.call(value, fulfillmentHandler, rejectionHandler);\n    } catch (e) {\n      return e;\n    }\n  }\n  function handleForeignThenable(promise, thenable, then$$1) {\n    config.async(promise => {\n      var sealed = false;\n      var error = tryThen(then$$1, thenable, value => {\n        if (sealed) {\n          return;\n        }\n        sealed = true;\n        if (thenable === value) {\n          fulfill(promise, value);\n        } else {\n          resolve$1(promise, value);\n        }\n      }, reason => {\n        if (sealed) {\n          return;\n        }\n        sealed = true;\n        reject(promise, reason);\n      }, 'Settle: ' + (promise._label || ' unknown promise'));\n      if (!sealed && error) {\n        sealed = true;\n        reject(promise, error);\n      }\n    }, promise);\n  }\n  function handleOwnThenable(promise, thenable) {\n    if (thenable._state === FULFILLED) {\n      fulfill(promise, thenable._result);\n    } else if (thenable._state === REJECTED) {\n      thenable._onError = null;\n      reject(promise, thenable._result);\n    } else {\n      subscribe(thenable, undefined, value => {\n        if (thenable === value) {\n          fulfill(promise, value);\n        } else {\n          resolve$1(promise, value);\n        }\n      }, reason => reject(promise, reason));\n    }\n  }\n  function handleMaybeThenable(promise, maybeThenable, then$$1) {\n    var isOwnThenable = maybeThenable.constructor === promise.constructor && then$$1 === then && promise.constructor.resolve === resolve$$1;\n    if (isOwnThenable) {\n      handleOwnThenable(promise, maybeThenable);\n    } else if (typeof then$$1 === 'function') {\n      handleForeignThenable(promise, maybeThenable, then$$1);\n    } else {\n      fulfill(promise, maybeThenable);\n    }\n  }\n  function resolve$1(promise, value) {\n    if (promise === value) {\n      fulfill(promise, value);\n    } else if (objectOrFunction(value)) {\n      var then$$1;\n      try {\n        then$$1 = value.then;\n      } catch (error) {\n        reject(promise, error);\n        return;\n      }\n      handleMaybeThenable(promise, value, then$$1);\n    } else {\n      fulfill(promise, value);\n    }\n  }\n  function publishRejection(promise) {\n    if (promise._onError) {\n      promise._onError(promise._result);\n    }\n    publish(promise);\n  }\n  function fulfill(promise, value) {\n    if (promise._state !== PENDING) {\n      return;\n    }\n    promise._result = value;\n    promise._state = FULFILLED;\n    if (promise._subscribers.length === 0) {\n      if (config.instrument) {\n        instrument('fulfilled', promise);\n      }\n    } else {\n      config.async(publish, promise);\n    }\n  }\n  function reject(promise, reason) {\n    if (promise._state !== PENDING) {\n      return;\n    }\n    promise._state = REJECTED;\n    promise._result = reason;\n    config.async(publishRejection, promise);\n  }\n  function 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 + FULFILLED] = onFulfillment;\n    subscribers[length + REJECTED] = onRejection;\n    if (length === 0 && parent._state) {\n      config.async(publish, parent);\n    }\n  }\n  function publish(promise) {\n    var subscribers = promise._subscribers;\n    var settled = promise._state;\n    if (config.instrument) {\n      instrument(settled === FULFILLED ? 'fulfilled' : 'rejected', promise);\n    }\n    if (subscribers.length === 0) {\n      return;\n    }\n    var child,\n      callback,\n      result = 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        invokeCallback(settled, child, callback, result);\n      } else {\n        callback(result);\n      }\n    }\n    promise._subscribers.length = 0;\n  }\n  function invokeCallback(state, promise, callback, result) {\n    var hasCallback = typeof callback === 'function';\n    var value,\n      succeeded = true,\n      error;\n    if (hasCallback) {\n      try {\n        value = callback(result);\n      } catch (e) {\n        succeeded = false;\n        error = e;\n      }\n    } else {\n      value = result;\n    }\n    if (promise._state !== PENDING) {\n      // noop\n    } else if (value === promise) {\n      reject(promise, withOwnPromise());\n    } else if (succeeded === false) {\n      reject(promise, error);\n    } else if (hasCallback) {\n      resolve$1(promise, value);\n    } else if (state === FULFILLED) {\n      fulfill(promise, value);\n    } else if (state === REJECTED) {\n      reject(promise, value);\n    }\n  }\n  function initializePromise(promise, resolver) {\n    var resolved = false;\n    try {\n      resolver(value => {\n        if (resolved) {\n          return;\n        }\n        resolved = true;\n        resolve$1(promise, value);\n      }, reason => {\n        if (resolved) {\n          return;\n        }\n        resolved = true;\n        reject(promise, reason);\n      });\n    } catch (e) {\n      reject(promise, e);\n    }\n  }\n  function then(onFulfillment, onRejection, label) {\n    var parent = this;\n    var state = parent._state;\n    if (state === FULFILLED && !onFulfillment || state === REJECTED && !onRejection) {\n      config.instrument && instrument('chained', parent, parent);\n      return parent;\n    }\n    parent._onError = null;\n    var child = new parent.constructor(noop, label);\n    var result = parent._result;\n    config.instrument && instrument('chained', parent, child);\n    if (state === PENDING) {\n      subscribe(parent, child, onFulfillment, onRejection);\n    } else {\n      var callback = state === FULFILLED ? onFulfillment : onRejection;\n      config.async(() => invokeCallback(state, child, callback, result));\n    }\n    return child;\n  }\n  class Enumerator {\n    constructor(Constructor, input, abortOnReject, label) {\n      this._instanceConstructor = Constructor;\n      this.promise = new Constructor(noop, label);\n      this._abortOnReject = abortOnReject;\n      this._isUsingOwnPromise = Constructor === Promise;\n      this._isUsingOwnResolve = Constructor.resolve === resolve$$1;\n      this._init(...arguments);\n    }\n    _init(Constructor, input) {\n      var len = input.length || 0;\n      this.length = len;\n      this._remaining = len;\n      this._result = new Array(len);\n      this._enumerate(input);\n    }\n    _enumerate(input) {\n      var length = this.length;\n      var promise = this.promise;\n      for (var i = 0; promise._state === PENDING && i < length; i++) {\n        this._eachEntry(input[i], i, true);\n      }\n      this._checkFullfillment();\n    }\n    _checkFullfillment() {\n      if (this._remaining === 0) {\n        var result = this._result;\n        fulfill(this.promise, result);\n        this._result = null;\n      }\n    }\n    _settleMaybeThenable(entry, i, firstPass) {\n      var c = this._instanceConstructor;\n      if (this._isUsingOwnResolve) {\n        var then$$1,\n          error,\n          succeeded = true;\n        try {\n          then$$1 = entry.then;\n        } catch (e) {\n          succeeded = false;\n          error = e;\n        }\n        if (then$$1 === then && entry._state !== PENDING) {\n          entry._onError = null;\n          this._settledAt(entry._state, i, entry._result, firstPass);\n        } else if (typeof then$$1 !== 'function') {\n          this._settledAt(FULFILLED, i, entry, firstPass);\n        } else if (this._isUsingOwnPromise) {\n          var promise = new c(noop);\n          if (succeeded === false) {\n            reject(promise, error);\n          } else {\n            handleMaybeThenable(promise, entry, then$$1);\n            this._willSettleAt(promise, i, firstPass);\n          }\n        } else {\n          this._willSettleAt(new c(resolve => resolve(entry)), i, firstPass);\n        }\n      } else {\n        this._willSettleAt(c.resolve(entry), i, firstPass);\n      }\n    }\n    _eachEntry(entry, i, firstPass) {\n      if (entry !== null && typeof entry === 'object') {\n        this._settleMaybeThenable(entry, i, firstPass);\n      } else {\n        this._setResultAt(FULFILLED, i, entry, firstPass);\n      }\n    }\n    _settledAt(state, i, value, firstPass) {\n      var promise = this.promise;\n      if (promise._state === PENDING) {\n        if (this._abortOnReject && state === REJECTED) {\n          reject(promise, value);\n        } else {\n          this._setResultAt(state, i, value, firstPass);\n          this._checkFullfillment();\n        }\n      }\n    }\n    _setResultAt(state, i, value, firstPass) {\n      this._remaining--;\n      this._result[i] = value;\n    }\n    _willSettleAt(promise, i, firstPass) {\n      subscribe(promise, undefined, value => this._settledAt(FULFILLED, i, value, firstPass), reason => this._settledAt(REJECTED, i, reason, firstPass));\n    }\n  }\n  function setSettledResult(state, i, value) {\n    this._remaining--;\n    if (state === FULFILLED) {\n      this._result[i] = {\n        state: 'fulfilled',\n        value: value\n      };\n    } else {\n      this._result[i] = {\n        state: 'rejected',\n        reason: value\n      };\n    }\n  }\n\n  /**\n    `Promise.all` accepts an array of promises, and returns a new promise which\n    is fulfilled with an array of fulfillment values for the passed promises, or\n    rejected with the reason of the first passed promise to be rejected. It casts all\n    elements of the passed iterable to promises as it runs this algorithm.\n  \n    Example:\n  \n    ```javascript\n    import Promise, { resolve } from 'rsvp';\n  \n    let promise1 = resolve(1);\n    let promise2 = resolve(2);\n    let promise3 = resolve(3);\n    let promises = [ promise1, promise2, promise3 ];\n  \n    Promise.all(promises).then(function(array){\n      // The array here would be [ 1, 2, 3 ];\n    });\n    ```\n  \n    If any of the `promises` given to `RSVP.all` are rejected, the first promise\n    that is rejected will be given as an argument to the returned promises's\n    rejection handler. For example:\n  \n    Example:\n  \n    ```javascript\n    import Promise, { resolve, reject } from 'rsvp';\n  \n    let promise1 = resolve(1);\n    let promise2 = reject(new Error(\"2\"));\n    let promise3 = reject(new Error(\"3\"));\n    let promises = [ promise1, promise2, promise3 ];\n  \n    Promise.all(promises).then(function(array){\n      // Code here never runs because there are rejected promises!\n    }, function(error) {\n      // error.message === \"2\"\n    });\n    ```\n  \n    @method all\n    @for Promise\n    @param {Array} entries array of promises\n    @param {String} [label] optional string for labeling the promise.\n    Useful for tooling.\n    @return {Promise} promise that is fulfilled when all `promises` have been\n    fulfilled, or rejected if any of them become rejected.\n    @static\n  */\n  function all(entries, label) {\n    if (!Array.isArray(entries)) {\n      return this.reject(new TypeError(\"Promise.all must be called with an array\"), label);\n    }\n    return new Enumerator(this, entries, true /* abort on reject */, label).promise;\n  }\n\n  /**\n    `Promise.race` returns a new promise which is settled in the same way as the\n    first passed promise to settle.\n  \n    Example:\n  \n    ```javascript\n    import Promise from 'rsvp';\n  \n    let promise1 = new Promise(function(resolve, reject){\n      setTimeout(function(){\n        resolve('promise 1');\n      }, 200);\n    });\n  \n    let promise2 = new Promise(function(resolve, reject){\n      setTimeout(function(){\n        resolve('promise 2');\n      }, 100);\n    });\n  \n    Promise.race([promise1, promise2]).then(function(result){\n      // result === 'promise 2' because it was resolved before promise1\n      // was resolved.\n    });\n    ```\n  \n    `Promise.race` is deterministic in that only the state of the first\n    settled promise matters. For example, even if other promises given to the\n    `promises` array argument are resolved, but the first settled promise has\n    become rejected before the other promises became fulfilled, the returned\n    promise will become rejected:\n  \n    ```javascript\n    import Promise from 'rsvp';\n  \n    let promise1 = new Promise(function(resolve, reject){\n      setTimeout(function(){\n        resolve('promise 1');\n      }, 200);\n    });\n  \n    let promise2 = new Promise(function(resolve, reject){\n      setTimeout(function(){\n        reject(new Error('promise 2'));\n      }, 100);\n    });\n  \n    Promise.race([promise1, promise2]).then(function(result){\n      // Code here never runs\n    }, function(reason){\n      // reason.message === 'promise 2' because promise 2 became rejected before\n      // promise 1 became fulfilled\n    });\n    ```\n  \n    An example real-world use case is implementing timeouts:\n  \n    ```javascript\n    import Promise from 'rsvp';\n  \n    Promise.race([ajax('foo.json'), timeout(5000)])\n    ```\n  \n    @method race\n    @for Promise\n    @static\n    @param {Array} entries array of promises to observe\n    @param {String} [label] optional string for describing the promise returned.\n    Useful for tooling.\n    @return {Promise} a promise which settles in the same way as the first passed\n    promise to settle.\n  */\n  function race(entries, label) {\n    /*jshint validthis:true */\n    var Constructor = this;\n    var promise = new Constructor(noop, label);\n    if (!Array.isArray(entries)) {\n      reject(promise, new TypeError('Promise.race must be called with an array'));\n      return promise;\n    }\n    for (var i = 0; promise._state === PENDING && i < entries.length; i++) {\n      subscribe(Constructor.resolve(entries[i]), undefined, value => resolve$1(promise, value), reason => reject(promise, reason));\n    }\n    return promise;\n  }\n\n  /**\n    `Promise.reject` returns a promise rejected with the passed `reason`.\n    It is shorthand for the following:\n  \n    ```javascript\n    import Promise from 'rsvp';\n  \n    let promise = new Promise(function(resolve, reject){\n      reject(new Error('WHOOPS'));\n    });\n  \n    promise.then(function(value){\n      // Code here doesn't run because the promise is rejected!\n    }, function(reason){\n      // reason.message === 'WHOOPS'\n    });\n    ```\n  \n    Instead of writing the above, your code now simply becomes the following:\n  \n    ```javascript\n    import Promise from 'rsvp';\n  \n    let promise = Promise.reject(new Error('WHOOPS'));\n  \n    promise.then(function(value){\n      // Code here doesn't run because the promise is rejected!\n    }, function(reason){\n      // reason.message === 'WHOOPS'\n    });\n    ```\n  \n    @method reject\n    @for Promise\n    @static\n    @param {*} reason value that the returned promise will be rejected with.\n    @param {String} [label] optional string for identifying the returned promise.\n    Useful for tooling.\n    @return {Promise} a promise rejected with the given `reason`.\n  */\n  function reject$1(reason, label) {\n    /*jshint validthis:true */\n    var Constructor = this;\n    var promise = new Constructor(noop, label);\n    reject(promise, reason);\n    return promise;\n  }\n  var guidKey = 'rsvp_' + Date.now() + '-';\n  var counter = 0;\n  function needsResolver() {\n    throw new TypeError('You must pass a resolver function as the first argument to the promise constructor');\n  }\n  function 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\n  /**\n    Promise objects represent the eventual result of an asynchronous operation. The\n    primary way of interacting with a promise is through its `then` method, which\n    registers callbacks to receive either a promise’s eventual value or the reason\n    why the promise cannot be fulfilled.\n  \n    Terminology\n    -----------\n  \n    - `promise` is an object or function with a `then` method whose behavior conforms to this specification.\n    - `thenable` is an object or function that defines a `then` method.\n    - `value` is any legal JavaScript value (including undefined, a thenable, or a promise).\n    - `exception` is a value that is thrown using the throw statement.\n    - `reason` is a value that indicates why a promise was rejected.\n    - `settled` the final resting state of a promise, fulfilled or rejected.\n  \n    A promise can be in one of three states: pending, fulfilled, or rejected.\n  \n    Promises that are fulfilled have a fulfillment value and are in the fulfilled\n    state.  Promises that are rejected have a rejection reason and are in the\n    rejected state.  A fulfillment value is never a thenable.\n  \n    Promises can also be said to *resolve* a value.  If this value is also a\n    promise, then the original promise's settled state will match the value's\n    settled state.  So a promise that *resolves* a promise that rejects will\n    itself reject, and a promise that *resolves* a promise that fulfills will\n    itself fulfill.\n  \n  \n    Basic Usage:\n    ------------\n  \n    ```js\n    let promise = new Promise(function(resolve, reject) {\n      // on success\n      resolve(value);\n  \n      // on failure\n      reject(reason);\n    });\n  \n    promise.then(function(value) {\n      // on fulfillment\n    }, function(reason) {\n      // on rejection\n    });\n    ```\n  \n    Advanced Usage:\n    ---------------\n  \n    Promises shine when abstracting away asynchronous interactions such as\n    `XMLHttpRequest`s.\n  \n    ```js\n    function getJSON(url) {\n      return new Promise(function(resolve, reject){\n        let xhr = new XMLHttpRequest();\n  \n        xhr.open('GET', url);\n        xhr.onreadystatechange = handler;\n        xhr.responseType = 'json';\n        xhr.setRequestHeader('Accept', 'application/json');\n        xhr.send();\n  \n        function handler() {\n          if (this.readyState === this.DONE) {\n            if (this.status === 200) {\n              resolve(this.response);\n            } else {\n              reject(new Error('getJSON: `' + url + '` failed with status: [' + this.status + ']'));\n            }\n          }\n        };\n      });\n    }\n  \n    getJSON('/posts.json').then(function(json) {\n      // on fulfillment\n    }, function(reason) {\n      // on rejection\n    });\n    ```\n  \n    Unlike callbacks, promises are great composable primitives.\n  \n    ```js\n    Promise.all([\n      getJSON('/posts'),\n      getJSON('/comments')\n    ]).then(function(values){\n      values[0] // => postsJSON\n      values[1] // => commentsJSON\n  \n      return values;\n    });\n    ```\n  \n    @class Promise\n    @public\n    @param {function} resolver\n    @param {String} [label] optional string for labeling the promise.\n    Useful for tooling.\n    @constructor\n  */\n  class Promise {\n    constructor(resolver, label) {\n      this._id = counter++;\n      this._label = label;\n      this._state = undefined;\n      this._result = undefined;\n      this._subscribers = [];\n      config.instrument && instrument('created', this);\n      if (noop !== resolver) {\n        typeof resolver !== 'function' && needsResolver();\n        this instanceof Promise ? initializePromise(this, resolver) : needsNew();\n      }\n    }\n    _onError(reason) {\n      config.after(() => {\n        if (this._onError) {\n          config.trigger('error', reason, this._label);\n        }\n      });\n    }\n\n    /**\n      `catch` is simply sugar for `then(undefined, onRejection)` which makes it the same\n      as the catch block of a try/catch statement.\n    \n      ```js\n      function findAuthor(){\n        throw new Error('couldn\\'t find that author');\n      }\n    \n      // synchronous\n      try {\n        findAuthor();\n      } catch(reason) {\n        // something went wrong\n      }\n    \n      // async with promises\n      findAuthor().catch(function(reason){\n        // something went wrong\n      });\n      ```\n    \n      @method catch\n      @param {Function} onRejection\n      @param {String} [label] optional string for labeling the promise.\n      Useful for tooling.\n      @return {Promise}\n    */\n    catch(onRejection, label) {\n      return this.then(undefined, onRejection, label);\n    }\n\n    /**\n      `finally` will be invoked regardless of the promise's fate just as native\n      try/catch/finally behaves\n    \n      Synchronous example:\n    \n      ```js\n      findAuthor() {\n        if (Math.random() > 0.5) {\n          throw new Error();\n        }\n        return new Author();\n      }\n    \n      try {\n        return findAuthor(); // succeed or fail\n      } catch(error) {\n        return findOtherAuthor();\n      } finally {\n        // always runs\n        // doesn't affect the return value\n      }\n      ```\n    \n      Asynchronous example:\n    \n      ```js\n      findAuthor().catch(function(reason){\n        return findOtherAuthor();\n      }).finally(function(){\n        // author was either found, or not\n      });\n      ```\n    \n      @method finally\n      @param {Function} callback\n      @param {String} [label] optional string for labeling the promise.\n      Useful for tooling.\n      @return {Promise}\n    */\n    finally(callback, label) {\n      var promise = this;\n      var constructor = promise.constructor;\n      if (typeof callback === 'function') {\n        return promise.then(value => constructor.resolve(callback()).then(() => value), reason => constructor.resolve(callback()).then(() => {\n          throw reason;\n        }));\n      }\n      return promise.then(callback, callback);\n    }\n  }\n  _exports.Promise = Promise;\n  Promise.cast = resolve$$1; // deprecated\n  Promise.all = all;\n  Promise.race = race;\n  Promise.resolve = resolve$$1;\n  Promise.reject = reject$1;\n  Promise.prototype._guidKey = guidKey;\n\n  /**\n    The primary way of interacting with a promise is through its `then` method,\n    which registers callbacks to receive either a promise's eventual value or the\n    reason why the promise cannot be fulfilled.\n  \n    ```js\n    findUser().then(function(user){\n      // user is available\n    }, function(reason){\n      // user is unavailable, and you are given the reason why\n    });\n    ```\n  \n    Chaining\n    --------\n  \n    The return value of `then` is itself a promise.  This second, 'downstream'\n    promise is resolved with the return value of the first promise's fulfillment\n    or rejection handler, or rejected if the handler throws an exception.\n  \n    ```js\n    findUser().then(function (user) {\n      return user.name;\n    }, function (reason) {\n      return 'default name';\n    }).then(function (userName) {\n      // If `findUser` fulfilled, `userName` will be the user's name, otherwise it\n      // will be `'default name'`\n    });\n  \n    findUser().then(function (user) {\n      throw new Error('Found user, but still unhappy');\n    }, function (reason) {\n      throw new Error('`findUser` rejected and we\\'re unhappy');\n    }).then(function (value) {\n      // never reached\n    }, function (reason) {\n      // if `findUser` fulfilled, `reason` will be 'Found user, but still unhappy'.\n      // If `findUser` rejected, `reason` will be '`findUser` rejected and we\\'re unhappy'.\n    });\n    ```\n    If the downstream promise does not specify a rejection handler, rejection reasons will be propagated further downstream.\n  \n    ```js\n    findUser().then(function (user) {\n      throw new PedagogicalException('Upstream error');\n    }).then(function (value) {\n      // never reached\n    }).then(function (value) {\n      // never reached\n    }, function (reason) {\n      // The `PedgagocialException` is propagated all the way down to here\n    });\n    ```\n  \n    Assimilation\n    ------------\n  \n    Sometimes the value you want to propagate to a downstream promise can only be\n    retrieved asynchronously. This can be achieved by returning a promise in the\n    fulfillment or rejection handler. The downstream promise will then be pending\n    until the returned promise is settled. This is called *assimilation*.\n  \n    ```js\n    findUser().then(function (user) {\n      return findCommentsByAuthor(user);\n    }).then(function (comments) {\n      // The user's comments are now available\n    });\n    ```\n  \n    If the assimliated promise rejects, then the downstream promise will also reject.\n  \n    ```js\n    findUser().then(function (user) {\n      return findCommentsByAuthor(user);\n    }).then(function (comments) {\n      // If `findCommentsByAuthor` fulfills, we'll have the value here\n    }, function (reason) {\n      // If `findCommentsByAuthor` rejects, we'll have the reason here\n    });\n    ```\n  \n    Simple Example\n    --------------\n  \n    Synchronous Example\n  \n    ```javascript\n    let result;\n  \n    try {\n      result = findResult();\n      // success\n    } catch(reason) {\n      // failure\n    }\n    ```\n  \n    Errback Example\n  \n    ```js\n    findResult(function(result, err){\n      if (err) {\n        // failure\n      } else {\n        // success\n      }\n    });\n    ```\n  \n    Promise Example;\n  \n    ```javascript\n    findResult().then(function(result){\n      // success\n    }, function(reason){\n      // failure\n    });\n    ```\n  \n    Advanced Example\n    --------------\n  \n    Synchronous Example\n  \n    ```javascript\n    let author, books;\n  \n    try {\n      author = findAuthor();\n      books  = findBooksByAuthor(author);\n      // success\n    } catch(reason) {\n      // failure\n    }\n    ```\n  \n    Errback Example\n  \n    ```js\n  \n    function foundBooks(books) {\n  \n    }\n  \n    function failure(reason) {\n  \n    }\n  \n    findAuthor(function(author, err){\n      if (err) {\n        failure(err);\n        // failure\n      } else {\n        try {\n          findBoooksByAuthor(author, function(books, err) {\n            if (err) {\n              failure(err);\n            } else {\n              try {\n                foundBooks(books);\n              } catch(reason) {\n                failure(reason);\n              }\n            }\n          });\n        } catch(error) {\n          failure(err);\n        }\n        // success\n      }\n    });\n    ```\n  \n    Promise Example;\n  \n    ```javascript\n    findAuthor().\n      then(findBooksByAuthor).\n      then(function(books){\n        // found books\n    }).catch(function(reason){\n      // something went wrong\n    });\n    ```\n  \n    @method then\n    @param {Function} onFulfillment\n    @param {Function} onRejection\n    @param {String} [label] optional string for labeling the promise.\n    Useful for tooling.\n    @return {Promise}\n  */\n  Promise.prototype.then = then;\n  function makeObject(_, argumentNames) {\n    var obj = {};\n    var length = _.length;\n    var args = new Array(length);\n    for (var x = 0; x < length; x++) {\n      args[x] = _[x];\n    }\n    for (var i = 0; i < argumentNames.length; i++) {\n      var name = argumentNames[i];\n      obj[name] = args[i + 1];\n    }\n    return obj;\n  }\n  function arrayResult(_) {\n    var length = _.length;\n    var args = new Array(length - 1);\n    for (var i = 1; i < length; i++) {\n      args[i - 1] = _[i];\n    }\n    return args;\n  }\n  function wrapThenable(then, promise) {\n    return {\n      then(onFulFillment, onRejection) {\n        return then.call(promise, onFulFillment, onRejection);\n      }\n    };\n  }\n\n  /**\n    `denodeify` takes a 'node-style' function and returns a function that\n    will return an `Promise`. You can use `denodeify` in Node.js or the\n    browser when you'd prefer to use promises over using callbacks. For example,\n    `denodeify` transforms the following:\n  \n    ```javascript\n    let fs = require('fs');\n  \n    fs.readFile('myfile.txt', function(err, data){\n      if (err) return handleError(err);\n      handleData(data);\n    });\n    ```\n  \n    into:\n  \n    ```javascript\n    let fs = require('fs');\n    let readFile = denodeify(fs.readFile);\n  \n    readFile('myfile.txt').then(handleData, handleError);\n    ```\n  \n    If the node function has multiple success parameters, then `denodeify`\n    just returns the first one:\n  \n    ```javascript\n    let request = denodeify(require('request'));\n  \n    request('http://example.com').then(function(res) {\n      // ...\n    });\n    ```\n  \n    However, if you need all success parameters, setting `denodeify`'s\n    second parameter to `true` causes it to return all success parameters\n    as an array:\n  \n    ```javascript\n    let request = denodeify(require('request'), true);\n  \n    request('http://example.com').then(function(result) {\n      // result[0] -> res\n      // result[1] -> body\n    });\n    ```\n  \n    Or if you pass it an array with names it returns the parameters as a hash:\n  \n    ```javascript\n    let request = denodeify(require('request'), ['res', 'body']);\n  \n    request('http://example.com').then(function(result) {\n      // result.res\n      // result.body\n    });\n    ```\n  \n    Sometimes you need to retain the `this`:\n  \n    ```javascript\n    let app = require('express')();\n    let render = denodeify(app.render.bind(app));\n    ```\n  \n    The denodified function inherits from the original function. It works in all\n    environments, except IE 10 and below. Consequently all properties of the original\n    function are available to you. However, any properties you change on the\n    denodeified function won't be changed on the original function. Example:\n  \n    ```javascript\n    let request = denodeify(require('request')),\n        cookieJar = request.jar(); // <- Inheritance is used here\n  \n    request('http://example.com', {jar: cookieJar}).then(function(res) {\n      // cookieJar.cookies holds now the cookies returned by example.com\n    });\n    ```\n  \n    Using `denodeify` makes it easier to compose asynchronous operations instead\n    of using callbacks. For example, instead of:\n  \n    ```javascript\n    let fs = require('fs');\n  \n    fs.readFile('myfile.txt', function(err, data){\n      if (err) { ... } // Handle error\n      fs.writeFile('myfile2.txt', data, function(err){\n        if (err) { ... } // Handle error\n        console.log('done')\n      });\n    });\n    ```\n  \n    you can chain the operations together using `then` from the returned promise:\n  \n    ```javascript\n    let fs = require('fs');\n    let readFile = denodeify(fs.readFile);\n    let writeFile = denodeify(fs.writeFile);\n  \n    readFile('myfile.txt').then(function(data){\n      return writeFile('myfile2.txt', data);\n    }).then(function(){\n      console.log('done')\n    }).catch(function(error){\n      // Handle error\n    });\n    ```\n  \n    @method denodeify\n    @public\n    @static\n    @for rsvp\n    @param {Function} nodeFunc a 'node-style' function that takes a callback as\n    its last argument. The callback expects an error to be passed as its first\n    argument (if an error occurred, otherwise null), and the value from the\n    operation as its second argument ('function(err, value){ }').\n    @param {Boolean|Array} [options] An optional paramter that if set\n    to `true` causes the promise to fulfill with the callback's success arguments\n    as an array. This is useful if the node function has multiple success\n    paramters. If you set this paramter to an array with names, the promise will\n    fulfill with a hash with these names as keys and the success parameters as\n    values.\n    @return {Function} a function that wraps `nodeFunc` to return a `Promise`\n  */\n  function denodeify(nodeFunc, options) {\n    var fn = function () {\n      var l = arguments.length;\n      var args = new Array(l + 1);\n      var promiseInput = false;\n      for (var i = 0; i < l; ++i) {\n        var arg = arguments[i];\n\n        // TODO: this code really needs to be cleaned up\n        if (!promiseInput) {\n          if (arg !== null && typeof arg === 'object') {\n            if (arg.constructor === Promise) {\n              promiseInput = true;\n            } else {\n              try {\n                promiseInput = arg.then;\n              } catch (error) {\n                var p = new Promise(noop);\n                reject(p, error);\n                return p;\n              }\n            }\n          } else {\n            promiseInput = false;\n          }\n          if (promiseInput && promiseInput !== true) {\n            arg = wrapThenable(promiseInput, arg);\n          }\n        }\n        args[i] = arg;\n      }\n      var promise = new Promise(noop);\n      args[l] = function (err, val) {\n        if (err) {\n          reject(promise, err);\n        } else if (options === undefined) {\n          resolve$1(promise, val);\n        } else if (options === true) {\n          resolve$1(promise, arrayResult(arguments));\n        } else if (Array.isArray(options)) {\n          resolve$1(promise, makeObject(arguments, options));\n        } else {\n          resolve$1(promise, val);\n        }\n      };\n      if (promiseInput) {\n        return handlePromiseInput(promise, args, nodeFunc, this);\n      } else {\n        return handleValueInput(promise, args, nodeFunc, this);\n      }\n    };\n    fn.__proto__ = nodeFunc;\n    return fn;\n  }\n  function handleValueInput(promise, args, nodeFunc, self) {\n    try {\n      nodeFunc.apply(self, args);\n    } catch (error) {\n      reject(promise, error);\n    }\n    return promise;\n  }\n  function handlePromiseInput(promise, args, nodeFunc, self) {\n    return Promise.all(args).then(args => handleValueInput(promise, args, nodeFunc, self));\n  }\n\n  /**\n    This is a convenient alias for `Promise.all`.\n  \n    @method all\n    @public\n    @static\n    @for rsvp\n    @param {Array} array Array of promises.\n    @param {String} [label] An optional label. This is useful\n    for tooling.\n  */\n  function all$1(array, label) {\n    return Promise.all(array, label);\n  }\n\n  /**\n  @module rsvp\n  @public\n  **/\n\n  class AllSettled extends Enumerator {\n    constructor(Constructor, entries, label) {\n      super(Constructor, entries, false /* don't abort on reject */, label);\n    }\n  }\n  AllSettled.prototype._setResultAt = setSettledResult;\n\n  /**\n  `RSVP.allSettled` is similar to `RSVP.all`, but instead of implementing\n  a fail-fast method, it waits until all the promises have returned and\n  shows you all the results. This is useful if you want to handle multiple\n  promises' failure states together as a set.\n   Returns a promise that is fulfilled when all the given promises have been\n  settled. The return promise is fulfilled with an array of the states of\n  the promises passed into the `promises` array argument.\n   Each state object will either indicate fulfillment or rejection, and\n  provide the corresponding value or reason. The states will take one of\n  the following formats:\n   ```javascript\n  { state: 'fulfilled', value: value }\n    or\n  { state: 'rejected', reason: reason }\n  ```\n   Example:\n   ```javascript\n  let promise1 = RSVP.Promise.resolve(1);\n  let promise2 = RSVP.Promise.reject(new Error('2'));\n  let promise3 = RSVP.Promise.reject(new Error('3'));\n  let promises = [ promise1, promise2, promise3 ];\n   RSVP.allSettled(promises).then(function(array){\n    // array == [\n    //   { state: 'fulfilled', value: 1 },\n    //   { state: 'rejected', reason: Error },\n    //   { state: 'rejected', reason: Error }\n    // ]\n    // Note that for the second item, reason.message will be '2', and for the\n    // third item, reason.message will be '3'.\n  }, function(error) {\n    // Not run. (This block would only be called if allSettled had failed,\n    // for instance if passed an incorrect argument type.)\n  });\n  ```\n   @method allSettled\n  @public\n  @static\n  @for rsvp\n  @param {Array} entries\n  @param {String} [label] - optional string that describes the promise.\n  Useful for tooling.\n  @return {Promise} promise that is fulfilled with an array of the settled\n  states of the constituent promises.\n  */\n\n  function allSettled(entries, label) {\n    if (!Array.isArray(entries)) {\n      return Promise.reject(new TypeError(\"Promise.allSettled must be called with an array\"), label);\n    }\n    return new AllSettled(Promise, entries, label).promise;\n  }\n\n  /**\n    This is a convenient alias for `Promise.race`.\n  \n    @method race\n    @public\n    @static\n    @for rsvp\n    @param {Array} array Array of promises.\n    @param {String} [label] An optional label. This is useful\n    for tooling.\n   */\n  function race$1(array, label) {\n    return Promise.race(array, label);\n  }\n  class PromiseHash extends Enumerator {\n    constructor(Constructor, object, abortOnReject = true, label) {\n      super(Constructor, object, abortOnReject, label);\n    }\n    _init(Constructor, object) {\n      this._result = {};\n      this._enumerate(object);\n    }\n    _enumerate(input) {\n      var keys = Object.keys(input);\n      var length = keys.length;\n      var promise = this.promise;\n      this._remaining = length;\n      var key, val;\n      for (var i = 0; promise._state === PENDING && i < length; i++) {\n        key = keys[i];\n        val = input[key];\n        this._eachEntry(val, key, true);\n      }\n      this._checkFullfillment();\n    }\n  }\n\n  /**\n    `hash` is similar to `all`, but takes an object instead of an array\n    for its `promises` argument.\n  \n    Returns a promise that is fulfilled when all the given promises have been\n    fulfilled, or rejected if any of them become rejected. The returned promise\n    is fulfilled with a hash that has the same key names as the `promises` object\n    argument. If any of the values in the object are not promises, they will\n    simply be copied over to the fulfilled object.\n  \n    Example:\n  \n    ```javascript\n    let promises = {\n      myPromise: resolve(1),\n      yourPromise: resolve(2),\n      theirPromise: resolve(3),\n      notAPromise: 4\n    };\n  \n    hash(promises).then(function(hash){\n      // hash here is an object that looks like:\n      // {\n      //   myPromise: 1,\n      //   yourPromise: 2,\n      //   theirPromise: 3,\n      //   notAPromise: 4\n      // }\n    });\n    ```\n  \n    If any of the `promises` given to `hash` are rejected, the first promise\n    that is rejected will be given as the reason to the rejection handler.\n  \n    Example:\n  \n    ```javascript\n    let promises = {\n      myPromise: resolve(1),\n      rejectedPromise: reject(new Error('rejectedPromise')),\n      anotherRejectedPromise: reject(new Error('anotherRejectedPromise')),\n    };\n  \n    hash(promises).then(function(hash){\n      // Code here never runs because there are rejected promises!\n    }, function(reason) {\n      // reason.message === 'rejectedPromise'\n    });\n    ```\n  \n    An important note: `hash` is intended for plain JavaScript objects that\n    are just a set of keys and values. `hash` will NOT preserve prototype\n    chains.\n  \n    Example:\n  \n    ```javascript\n    import { hash, resolve } from 'rsvp';\n    function MyConstructor(){\n      this.example = resolve('Example');\n    }\n  \n    MyConstructor.prototype = {\n      protoProperty: resolve('Proto Property')\n    };\n  \n    let myObject = new MyConstructor();\n  \n    hash(myObject).then(function(hash){\n      // protoProperty will not be present, instead you will just have an\n      // object that looks like:\n      // {\n      //   example: 'Example'\n      // }\n      //\n      // hash.hasOwnProperty('protoProperty'); // false\n      // 'undefined' === typeof hash.protoProperty\n    });\n    ```\n  \n    @method hash\n    @public\n    @static\n    @for rsvp\n    @param {Object} object\n    @param {String} [label] optional string that describes the promise.\n    Useful for tooling.\n    @return {Promise} promise that is fulfilled when all properties of `promises`\n    have been fulfilled, or rejected if any of them become rejected.\n  */\n  function hash(object, label) {\n    return Promise.resolve(object, label).then(function (object) {\n      if (object === null || typeof object !== 'object') {\n        throw new TypeError(\"Promise.hash must be called with an object\");\n      }\n      return new PromiseHash(Promise, object, label).promise;\n    });\n  }\n  class HashSettled extends PromiseHash {\n    constructor(Constructor, object, label) {\n      super(Constructor, object, false, label);\n    }\n  }\n  HashSettled.prototype._setResultAt = setSettledResult;\n\n  /**\n    `hashSettled` is similar to `allSettled`, but takes an object\n    instead of an array for its `promises` argument.\n  \n    Unlike `all` or `hash`, which implement a fail-fast method,\n    but like `allSettled`, `hashSettled` waits until all the\n    constituent promises have returned and then shows you all the results\n    with their states and values/reasons. This is useful if you want to\n    handle multiple promises' failure states together as a set.\n  \n    Returns a promise that is fulfilled when all the given promises have been\n    settled, or rejected if the passed parameters are invalid.\n  \n    The returned promise is fulfilled with a hash that has the same key names as\n    the `promises` object argument. If any of the values in the object are not\n    promises, they will be copied over to the fulfilled object and marked with state\n    'fulfilled'.\n  \n    Example:\n  \n    ```javascript\n    import { hashSettled, resolve } from 'rsvp';\n  \n    let promises = {\n      myPromise: resolve(1),\n      yourPromise: resolve(2),\n      theirPromise: resolve(3),\n      notAPromise: 4\n    };\n  \n    hashSettled(promises).then(function(hash){\n      // hash here is an object that looks like:\n      // {\n      //   myPromise: { state: 'fulfilled', value: 1 },\n      //   yourPromise: { state: 'fulfilled', value: 2 },\n      //   theirPromise: { state: 'fulfilled', value: 3 },\n      //   notAPromise: { state: 'fulfilled', value: 4 }\n      // }\n    });\n    ```\n  \n    If any of the `promises` given to `hash` are rejected, the state will\n    be set to 'rejected' and the reason for rejection provided.\n  \n    Example:\n  \n    ```javascript\n    import { hashSettled, reject, resolve } from 'rsvp';\n  \n    let promises = {\n      myPromise: resolve(1),\n      rejectedPromise: reject(new Error('rejection')),\n      anotherRejectedPromise: reject(new Error('more rejection')),\n    };\n  \n    hashSettled(promises).then(function(hash){\n      // hash here is an object that looks like:\n      // {\n      //   myPromise:              { state: 'fulfilled', value: 1 },\n      //   rejectedPromise:        { state: 'rejected', reason: Error },\n      //   anotherRejectedPromise: { state: 'rejected', reason: Error },\n      // }\n      // Note that for rejectedPromise, reason.message == 'rejection',\n      // and for anotherRejectedPromise, reason.message == 'more rejection'.\n    });\n    ```\n  \n    An important note: `hashSettled` is intended for plain JavaScript objects that\n    are just a set of keys and values. `hashSettled` will NOT preserve prototype\n    chains.\n  \n    Example:\n  \n    ```javascript\n    import Promise, { hashSettled, resolve } from 'rsvp';\n  \n    function MyConstructor(){\n      this.example = resolve('Example');\n    }\n  \n    MyConstructor.prototype = {\n      protoProperty: Promise.resolve('Proto Property')\n    };\n  \n    let myObject = new MyConstructor();\n  \n    hashSettled(myObject).then(function(hash){\n      // protoProperty will not be present, instead you will just have an\n      // object that looks like:\n      // {\n      //   example: { state: 'fulfilled', value: 'Example' }\n      // }\n      //\n      // hash.hasOwnProperty('protoProperty'); // false\n      // 'undefined' === typeof hash.protoProperty\n    });\n    ```\n  \n    @method hashSettled\n    @public\n    @for rsvp\n    @param {Object} object\n    @param {String} [label] optional string that describes the promise.\n    Useful for tooling.\n    @return {Promise} promise that is fulfilled when when all properties of `promises`\n    have been settled.\n    @static\n  */\n\n  function hashSettled(object, label) {\n    return Promise.resolve(object, label).then(function (object) {\n      if (object === null || typeof object !== 'object') {\n        throw new TypeError(\"hashSettled must be called with an object\");\n      }\n      return new HashSettled(Promise, object, false, label).promise;\n    });\n  }\n\n  /**\n    `rethrow` will rethrow an error on the next turn of the JavaScript event\n    loop in order to aid debugging.\n  \n    Promises A+ specifies that any exceptions that occur with a promise must be\n    caught by the promises implementation and bubbled to the last handler. For\n    this reason, it is recommended that you always specify a second rejection\n    handler function to `then`. However, `rethrow` will throw the exception\n    outside of the promise, so it bubbles up to your console if in the browser,\n    or domain/cause uncaught exception in Node. `rethrow` will also throw the\n    error again so the error can be handled by the promise per the spec.\n  \n    ```javascript\n    import { rethrow } from 'rsvp';\n  \n    function throws(){\n      throw new Error('Whoops!');\n    }\n  \n    let promise = new Promise(function(resolve, reject){\n      throws();\n    });\n  \n    promise.catch(rethrow).then(function(){\n      // Code here doesn't run because the promise became rejected due to an\n      // error!\n    }, function (err){\n      // handle the error here\n    });\n    ```\n  \n    The 'Whoops' error will be thrown on the next turn of the event loop\n    and you can watch for it in your console. You can also handle it using a\n    rejection handler given to `.then` or `.catch` on the returned promise.\n  \n    @method rethrow\n    @public\n    @static\n    @for rsvp\n    @param {Error} reason reason the promise became rejected.\n    @throws Error\n    @static\n  */\n  function rethrow(reason) {\n    setTimeout(() => {\n      throw reason;\n    });\n    throw reason;\n  }\n\n  /**\n    `defer` returns an object similar to jQuery's `$.Deferred`.\n    `defer` should be used when porting over code reliant on `$.Deferred`'s\n    interface. New code should use the `Promise` constructor instead.\n  \n    The object returned from `defer` is a plain object with three properties:\n  \n    * promise - an `Promise`.\n    * reject - a function that causes the `promise` property on this object to\n      become rejected\n    * resolve - a function that causes the `promise` property on this object to\n      become fulfilled.\n  \n    Example:\n  \n     ```javascript\n     let deferred = defer();\n  \n     deferred.resolve(\"Success!\");\n  \n     deferred.promise.then(function(value){\n       // value here is \"Success!\"\n     });\n     ```\n  \n    @method defer\n    @public\n    @static\n    @for rsvp\n    @param {String} [label] optional string for labeling the promise.\n    Useful for tooling.\n    @return {Object}\n   */\n\n  function defer(label) {\n    var deferred = {\n      resolve: undefined,\n      reject: undefined\n    };\n    deferred.promise = new Promise((resolve, reject) => {\n      deferred.resolve = resolve;\n      deferred.reject = reject;\n    }, label);\n    return deferred;\n  }\n  class MapEnumerator extends Enumerator {\n    constructor(Constructor, entries, mapFn, label) {\n      super(Constructor, entries, true, label, mapFn);\n    }\n    _init(Constructor, input, bool, label, mapFn) {\n      var len = input.length || 0;\n      this.length = len;\n      this._remaining = len;\n      this._result = new Array(len);\n      this._mapFn = mapFn;\n      this._enumerate(input);\n    }\n    _setResultAt(state, i, value, firstPass) {\n      if (firstPass) {\n        try {\n          this._eachEntry(this._mapFn(value, i), i, false);\n        } catch (error) {\n          this._settledAt(REJECTED, i, error, false);\n        }\n      } else {\n        this._remaining--;\n        this._result[i] = value;\n      }\n    }\n  }\n\n  /**\n   `map` is similar to JavaScript's native `map` method. `mapFn` is eagerly called\n    meaning that as soon as any promise resolves its value will be passed to `mapFn`.\n    `map` returns a promise that will become fulfilled with the result of running\n    `mapFn` on the values the promises become fulfilled with.\n  \n    For example:\n  \n    ```javascript\n    import { map, resolve } from 'rsvp';\n  \n    let promise1 = resolve(1);\n    let promise2 = resolve(2);\n    let promise3 = resolve(3);\n    let promises = [ promise1, promise2, promise3 ];\n  \n    let mapFn = function(item){\n      return item + 1;\n    };\n  \n    map(promises, mapFn).then(function(result){\n      // result is [ 2, 3, 4 ]\n    });\n    ```\n  \n    If any of the `promises` given to `map` are rejected, the first promise\n    that is rejected will be given as an argument to the returned promise's\n    rejection handler. For example:\n  \n    ```javascript\n    import { map, reject, resolve } from 'rsvp';\n  \n    let promise1 = resolve(1);\n    let promise2 = reject(new Error('2'));\n    let promise3 = reject(new Error('3'));\n    let promises = [ promise1, promise2, promise3 ];\n  \n    let mapFn = function(item){\n      return item + 1;\n    };\n  \n    map(promises, mapFn).then(function(array){\n      // Code here never runs because there are rejected promises!\n    }, function(reason) {\n      // reason.message === '2'\n    });\n    ```\n  \n    `map` will also wait if a promise is returned from `mapFn`. For example,\n    say you want to get all comments from a set of blog posts, but you need\n    the blog posts first because they contain a url to those comments.\n  \n    ```javscript\n    import { map } from 'rsvp';\n  \n    let mapFn = function(blogPost){\n      // getComments does some ajax and returns an Promise that is fulfilled\n      // with some comments data\n      return getComments(blogPost.comments_url);\n    };\n  \n    // getBlogPosts does some ajax and returns an Promise that is fulfilled\n    // with some blog post data\n    map(getBlogPosts(), mapFn).then(function(comments){\n      // comments is the result of asking the server for the comments\n      // of all blog posts returned from getBlogPosts()\n    });\n    ```\n  \n    @method map\n    @public\n    @static\n    @for rsvp\n    @param {Array} promises\n    @param {Function} mapFn function to be called on each fulfilled promise.\n    @param {String} [label] optional string for labeling the promise.\n    Useful for tooling.\n    @return {Promise} promise that is fulfilled with the result of calling\n    `mapFn` on each fulfilled promise or value when they become fulfilled.\n     The promise will be rejected if any of the given `promises` become rejected.\n  */\n  function map(promises, mapFn, label) {\n    if (typeof mapFn !== 'function') {\n      return Promise.reject(new TypeError(\"map expects a function as a second argument\"), label);\n    }\n    return Promise.resolve(promises, label).then(function (promises) {\n      if (!Array.isArray(promises)) {\n        throw new TypeError(\"map must be called with an array\");\n      }\n      return new MapEnumerator(Promise, promises, mapFn, label).promise;\n    });\n  }\n\n  /**\n    This is a convenient alias for `Promise.resolve`.\n  \n    @method resolve\n    @public\n    @static\n    @for rsvp\n    @param {*} value value that the returned promise will be resolved with\n    @param {String} [label] optional string for identifying the returned promise.\n    Useful for tooling.\n    @return {Promise} a promise that will become fulfilled with the given\n    `value`\n  */\n  function resolve$2(value, label) {\n    return Promise.resolve(value, label);\n  }\n\n  /**\n    This is a convenient alias for `Promise.reject`.\n  \n    @method reject\n    @public\n    @static\n    @for rsvp\n    @param {*} reason value that the returned promise will be rejected with.\n    @param {String} [label] optional string for identifying the returned promise.\n    Useful for tooling.\n    @return {Promise} a promise rejected with the given `reason`.\n  */\n  function reject$2(reason, label) {\n    return Promise.reject(reason, label);\n  }\n  var EMPTY_OBJECT = {};\n  class FilterEnumerator extends MapEnumerator {\n    _checkFullfillment() {\n      if (this._remaining === 0 && this._result !== null) {\n        var result = this._result.filter(val => val !== EMPTY_OBJECT);\n        fulfill(this.promise, result);\n        this._result = null;\n      }\n    }\n    _setResultAt(state, i, value, firstPass) {\n      if (firstPass) {\n        this._result[i] = value;\n        var val,\n          succeeded = true;\n        try {\n          val = this._mapFn(value, i);\n        } catch (error) {\n          succeeded = false;\n          this._settledAt(REJECTED, i, error, false);\n        }\n        if (succeeded) {\n          this._eachEntry(val, i, false);\n        }\n      } else {\n        this._remaining--;\n        if (!value) {\n          this._result[i] = EMPTY_OBJECT;\n        }\n      }\n    }\n  }\n\n  /**\n   `filter` is similar to JavaScript's native `filter` method.\n   `filterFn` is eagerly called meaning that as soon as any promise\n    resolves its value will be passed to `filterFn`. `filter` returns\n    a promise that will become fulfilled with the result of running\n    `filterFn` on the values the promises become fulfilled with.\n  \n    For example:\n  \n    ```javascript\n    import { filter, resolve } from 'rsvp';\n  \n    let promise1 = resolve(1);\n    let promise2 = resolve(2);\n    let promise3 = resolve(3);\n  \n    let promises = [promise1, promise2, promise3];\n  \n    let filterFn = function(item){\n      return item > 1;\n    };\n  \n    filter(promises, filterFn).then(function(result){\n      // result is [ 2, 3 ]\n    });\n    ```\n  \n    If any of the `promises` given to `filter` are rejected, the first promise\n    that is rejected will be given as an argument to the returned promise's\n    rejection handler. For example:\n  \n    ```javascript\n    import { filter, reject, resolve } from 'rsvp';\n  \n    let promise1 = resolve(1);\n    let promise2 = reject(new Error('2'));\n    let promise3 = reject(new Error('3'));\n    let promises = [ promise1, promise2, promise3 ];\n  \n    let filterFn = function(item){\n      return item > 1;\n    };\n  \n    filter(promises, filterFn).then(function(array){\n      // Code here never runs because there are rejected promises!\n    }, function(reason) {\n      // reason.message === '2'\n    });\n    ```\n  \n    `filter` will also wait for any promises returned from `filterFn`.\n    For instance, you may want to fetch a list of users then return a subset\n    of those users based on some asynchronous operation:\n  \n    ```javascript\n    import { filter, resolve } from 'rsvp';\n  \n    let alice = { name: 'alice' };\n    let bob   = { name: 'bob' };\n    let users = [ alice, bob ];\n  \n    let promises = users.map(function(user){\n      return resolve(user);\n    });\n  \n    let filterFn = function(user){\n      // Here, Alice has permissions to create a blog post, but Bob does not.\n      return getPrivilegesForUser(user).then(function(privs){\n        return privs.can_create_blog_post === true;\n      });\n    };\n    filter(promises, filterFn).then(function(users){\n      // true, because the server told us only Alice can create a blog post.\n      users.length === 1;\n      // false, because Alice is the only user present in `users`\n      users[0] === bob;\n    });\n    ```\n  \n    @method filter\n    @public\n    @static\n    @for rsvp\n    @param {Array} promises\n    @param {Function} filterFn - function to be called on each resolved value to\n    filter the final results.\n    @param {String} [label] optional string describing the promise. Useful for\n    tooling.\n    @return {Promise}\n  */\n\n  function filter(promises, filterFn, label) {\n    if (typeof filterFn !== 'function') {\n      return Promise.reject(new TypeError(\"filter expects function as a second argument\"), label);\n    }\n    return Promise.resolve(promises, label).then(function (promises) {\n      if (!Array.isArray(promises)) {\n        throw new TypeError(\"filter must be called with an array\");\n      }\n      return new FilterEnumerator(Promise, promises, filterFn, label).promise;\n    });\n  }\n  var len = 0;\n  var vertxNext;\n  function asap(callback, arg) {\n    queue$1[len] = callback;\n    queue$1[len + 1] = arg;\n    len += 2;\n    if (len === 2) {\n      // If len is 1, that means that we need to schedule an async flush.\n      // If additional callbacks are queued before the queue is flushed, they\n      // will be processed by this flush that we are scheduling.\n      scheduleFlush$1();\n    }\n  }\n  var browserWindow = typeof window !== 'undefined' ? window : undefined;\n  var browserGlobal = browserWindow || {};\n  var BrowserMutationObserver = browserGlobal.MutationObserver || browserGlobal.WebKitMutationObserver;\n  var isNode = typeof self === 'undefined' && typeof process !== 'undefined' && {}.toString.call(process) === '[object process]';\n\n  // test for web worker but not in IE10\n  var isWorker = typeof Uint8ClampedArray !== 'undefined' && typeof importScripts !== 'undefined' && typeof MessageChannel !== 'undefined';\n\n  // node\n  function useNextTick() {\n    var nextTick = process.nextTick;\n    // node version 0.10.x displays a deprecation warning when nextTick is used recursively\n    // setImmediate should be used instead instead\n    var version = process.versions.node.match(/^(?:(\\d+)\\.)?(?:(\\d+)\\.)?(\\*|\\d+)$/);\n    if (Array.isArray(version) && version[1] === '0' && version[2] === '10') {\n      nextTick = setImmediate;\n    }\n    return () => nextTick(flush);\n  }\n\n  // vertx\n  function useVertxTimer() {\n    if (typeof vertxNext !== 'undefined') {\n      return function () {\n        vertxNext(flush);\n      };\n    }\n    return useSetTimeout();\n  }\n  function useMutationObserver() {\n    var iterations = 0;\n    var observer = new BrowserMutationObserver(flush);\n    var node = document.createTextNode('');\n    observer.observe(node, {\n      characterData: true\n    });\n    return () => node.data = iterations = ++iterations % 2;\n  }\n\n  // web worker\n  function useMessageChannel() {\n    var channel = new MessageChannel();\n    channel.port1.onmessage = flush;\n    return () => channel.port2.postMessage(0);\n  }\n  function useSetTimeout() {\n    return () => setTimeout(flush, 1);\n  }\n  var queue$1 = new Array(1000);\n  function flush() {\n    for (var i = 0; i < len; i += 2) {\n      var callback = queue$1[i];\n      var arg = queue$1[i + 1];\n      callback(arg);\n      queue$1[i] = undefined;\n      queue$1[i + 1] = undefined;\n    }\n    len = 0;\n  }\n  function attemptVertex() {\n    try {\n      var vertx = Function('return this')().require('vertx');\n      vertxNext = vertx.runOnLoop || vertx.runOnContext;\n      return useVertxTimer();\n    } catch (e) {\n      return useSetTimeout();\n    }\n  }\n  var scheduleFlush$1;\n  // Decide what async method to use to triggering processing of queued callbacks:\n  if (isNode) {\n    scheduleFlush$1 = useNextTick();\n  } else if (BrowserMutationObserver) {\n    scheduleFlush$1 = useMutationObserver();\n  } else if (isWorker) {\n    scheduleFlush$1 = useMessageChannel();\n  } else if (browserWindow === undefined && typeof require === 'function') {\n    scheduleFlush$1 = attemptVertex();\n  } else {\n    scheduleFlush$1 = useSetTimeout();\n  }\n\n  // defaults\n  config.async = asap;\n  config.after = cb => setTimeout(cb, 0);\n  var cast = _exports.cast = resolve$2;\n  var async = (callback, arg) => config.async(callback, arg);\n  _exports.async = async;\n  function on() {\n    config.on(...arguments);\n  }\n  function off() {\n    config.off(...arguments);\n  }\n\n  // Set up instrumentation through `window.__PROMISE_INTRUMENTATION__`\n  if (typeof window !== 'undefined' && typeof window['__PROMISE_INSTRUMENTATION__'] === 'object') {\n    var callbacks = window['__PROMISE_INSTRUMENTATION__'];\n    configure('instrument', true);\n    for (var eventName in callbacks) {\n      if (callbacks.hasOwnProperty(eventName)) {\n        on(eventName, callbacks[eventName]);\n      }\n    }\n  }\n\n  // the default export here is for backwards compat:\n  //   https://github.com/tildeio/rsvp.js/issues/434\n  var rsvp = {\n    asap,\n    cast,\n    Promise,\n    EventTarget,\n    all: all$1,\n    allSettled,\n    race: race$1,\n    hash,\n    hashSettled,\n    rethrow,\n    defer,\n    denodeify,\n    configure,\n    on,\n    off,\n    resolve: resolve$2,\n    reject: reject$2,\n    map,\n    async,\n    filter\n  };\n  var _default = _exports.default = rsvp;\n});","(function () {\n  function vendorModule() {\n    'use strict';\n\n    return {\n      'default': self['jQuery'],\n      __esModule: true\n    };\n  }\n  define('jquery', [], vendorModule);\n})();","(function () {\n  Ember.Component.reopen({\n    $(sel) {\n      (true && !(this.tagName !== '') && Ember.assert(\"You cannot access this.$() on a component with `tagName: ''` specified.\", this.tagName !== ''));\n      (true && !(false) && Ember.deprecate('Using this.$() in a component has been deprecated, consider using this.element', false, {\n        id: 'ember-views.curly-components.jquery-element',\n        until: '4.0.0',\n        url: 'https://emberjs.com/deprecations/v3.x#toc_jquery-apis'\n      }));\n      if (this.element) {\n        return sel ? jQuery(sel, this.element) : jQuery(this.element);\n      }\n    }\n  });\n})();","if (typeof FastBoot === 'undefined') {\n/*!\n * Chart.js v2.9.4\n * https://www.chartjs.org\n * (c) 2020 Chart.js Contributors\n * Released under the MIT License\n */\n(function (global, factory) {\ntypeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(function() { try { return require('moment'); } catch(e) { } }()) :\ntypeof define === 'function' && define.amd ? define(['require'], function(require) { return factory(function() { try { return require('moment'); } catch(e) { } }()); }) :\n(global = global || self, global.Chart = factory(global.moment));\n}(this, (function (moment) { 'use strict';\n\nmoment = moment && moment.hasOwnProperty('default') ? moment['default'] : moment;\n\nfunction createCommonjsModule(fn, module) {\n\treturn module = { exports: {} }, fn(module, module.exports), module.exports;\n}\n\nfunction getCjsExportFromNamespace (n) {\n\treturn n && n['default'] || n;\n}\n\nvar colorName = {\r\n\t\"aliceblue\": [240, 248, 255],\r\n\t\"antiquewhite\": [250, 235, 215],\r\n\t\"aqua\": [0, 255, 255],\r\n\t\"aquamarine\": [127, 255, 212],\r\n\t\"azure\": [240, 255, 255],\r\n\t\"beige\": [245, 245, 220],\r\n\t\"bisque\": [255, 228, 196],\r\n\t\"black\": [0, 0, 0],\r\n\t\"blanchedalmond\": [255, 235, 205],\r\n\t\"blue\": [0, 0, 255],\r\n\t\"blueviolet\": [138, 43, 226],\r\n\t\"brown\": [165, 42, 42],\r\n\t\"burlywood\": [222, 184, 135],\r\n\t\"cadetblue\": [95, 158, 160],\r\n\t\"chartreuse\": [127, 255, 0],\r\n\t\"chocolate\": [210, 105, 30],\r\n\t\"coral\": [255, 127, 80],\r\n\t\"cornflowerblue\": [100, 149, 237],\r\n\t\"cornsilk\": [255, 248, 220],\r\n\t\"crimson\": [220, 20, 60],\r\n\t\"cyan\": [0, 255, 255],\r\n\t\"darkblue\": [0, 0, 139],\r\n\t\"darkcyan\": [0, 139, 139],\r\n\t\"darkgoldenrod\": [184, 134, 11],\r\n\t\"darkgray\": [169, 169, 169],\r\n\t\"darkgreen\": [0, 100, 0],\r\n\t\"darkgrey\": [169, 169, 169],\r\n\t\"darkkhaki\": [189, 183, 107],\r\n\t\"darkmagenta\": [139, 0, 139],\r\n\t\"darkolivegreen\": [85, 107, 47],\r\n\t\"darkorange\": [255, 140, 0],\r\n\t\"darkorchid\": [153, 50, 204],\r\n\t\"darkred\": [139, 0, 0],\r\n\t\"darksalmon\": [233, 150, 122],\r\n\t\"darkseagreen\": [143, 188, 143],\r\n\t\"darkslateblue\": [72, 61, 139],\r\n\t\"darkslategray\": [47, 79, 79],\r\n\t\"darkslategrey\": [47, 79, 79],\r\n\t\"darkturquoise\": [0, 206, 209],\r\n\t\"darkviolet\": [148, 0, 211],\r\n\t\"deeppink\": [255, 20, 147],\r\n\t\"deepskyblue\": [0, 191, 255],\r\n\t\"dimgray\": [105, 105, 105],\r\n\t\"dimgrey\": [105, 105, 105],\r\n\t\"dodgerblue\": [30, 144, 255],\r\n\t\"firebrick\": [178, 34, 34],\r\n\t\"floralwhite\": [255, 250, 240],\r\n\t\"forestgreen\": [34, 139, 34],\r\n\t\"fuchsia\": [255, 0, 255],\r\n\t\"gainsboro\": [220, 220, 220],\r\n\t\"ghostwhite\": [248, 248, 255],\r\n\t\"gold\": [255, 215, 0],\r\n\t\"goldenrod\": [218, 165, 32],\r\n\t\"gray\": [128, 128, 128],\r\n\t\"green\": [0, 128, 0],\r\n\t\"greenyellow\": [173, 255, 47],\r\n\t\"grey\": [128, 128, 128],\r\n\t\"honeydew\": [240, 255, 240],\r\n\t\"hotpink\": [255, 105, 180],\r\n\t\"indianred\": [205, 92, 92],\r\n\t\"indigo\": [75, 0, 130],\r\n\t\"ivory\": [255, 255, 240],\r\n\t\"khaki\": [240, 230, 140],\r\n\t\"lavender\": [230, 230, 250],\r\n\t\"lavenderblush\": [255, 240, 245],\r\n\t\"lawngreen\": [124, 252, 0],\r\n\t\"lemonchiffon\": [255, 250, 205],\r\n\t\"lightblue\": [173, 216, 230],\r\n\t\"lightcoral\": [240, 128, 128],\r\n\t\"lightcyan\": [224, 255, 255],\r\n\t\"lightgoldenrodyellow\": [250, 250, 210],\r\n\t\"lightgray\": [211, 211, 211],\r\n\t\"lightgreen\": [144, 238, 144],\r\n\t\"lightgrey\": [211, 211, 211],\r\n\t\"lightpink\": [255, 182, 193],\r\n\t\"lightsalmon\": [255, 160, 122],\r\n\t\"lightseagreen\": [32, 178, 170],\r\n\t\"lightskyblue\": [135, 206, 250],\r\n\t\"lightslategray\": [119, 136, 153],\r\n\t\"lightslategrey\": [119, 136, 153],\r\n\t\"lightsteelblue\": [176, 196, 222],\r\n\t\"lightyellow\": [255, 255, 224],\r\n\t\"lime\": [0, 255, 0],\r\n\t\"limegreen\": [50, 205, 50],\r\n\t\"linen\": [250, 240, 230],\r\n\t\"magenta\": [255, 0, 255],\r\n\t\"maroon\": [128, 0, 0],\r\n\t\"mediumaquamarine\": [102, 205, 170],\r\n\t\"mediumblue\": [0, 0, 205],\r\n\t\"mediumorchid\": [186, 85, 211],\r\n\t\"mediumpurple\": [147, 112, 219],\r\n\t\"mediumseagreen\": [60, 179, 113],\r\n\t\"mediumslateblue\": [123, 104, 238],\r\n\t\"mediumspringgreen\": [0, 250, 154],\r\n\t\"mediumturquoise\": [72, 209, 204],\r\n\t\"mediumvioletred\": [199, 21, 133],\r\n\t\"midnightblue\": [25, 25, 112],\r\n\t\"mintcream\": [245, 255, 250],\r\n\t\"mistyrose\": [255, 228, 225],\r\n\t\"moccasin\": [255, 228, 181],\r\n\t\"navajowhite\": [255, 222, 173],\r\n\t\"navy\": [0, 0, 128],\r\n\t\"oldlace\": [253, 245, 230],\r\n\t\"olive\": [128, 128, 0],\r\n\t\"olivedrab\": [107, 142, 35],\r\n\t\"orange\": [255, 165, 0],\r\n\t\"orangered\": [255, 69, 0],\r\n\t\"orchid\": [218, 112, 214],\r\n\t\"palegoldenrod\": [238, 232, 170],\r\n\t\"palegreen\": [152, 251, 152],\r\n\t\"paleturquoise\": [175, 238, 238],\r\n\t\"palevioletred\": [219, 112, 147],\r\n\t\"papayawhip\": [255, 239, 213],\r\n\t\"peachpuff\": [255, 218, 185],\r\n\t\"peru\": [205, 133, 63],\r\n\t\"pink\": [255, 192, 203],\r\n\t\"plum\": [221, 160, 221],\r\n\t\"powderblue\": [176, 224, 230],\r\n\t\"purple\": [128, 0, 128],\r\n\t\"rebeccapurple\": [102, 51, 153],\r\n\t\"red\": [255, 0, 0],\r\n\t\"rosybrown\": [188, 143, 143],\r\n\t\"royalblue\": [65, 105, 225],\r\n\t\"saddlebrown\": [139, 69, 19],\r\n\t\"salmon\": [250, 128, 114],\r\n\t\"sandybrown\": [244, 164, 96],\r\n\t\"seagreen\": [46, 139, 87],\r\n\t\"seashell\": [255, 245, 238],\r\n\t\"sienna\": [160, 82, 45],\r\n\t\"silver\": [192, 192, 192],\r\n\t\"skyblue\": [135, 206, 235],\r\n\t\"slateblue\": [106, 90, 205],\r\n\t\"slategray\": [112, 128, 144],\r\n\t\"slategrey\": [112, 128, 144],\r\n\t\"snow\": [255, 250, 250],\r\n\t\"springgreen\": [0, 255, 127],\r\n\t\"steelblue\": [70, 130, 180],\r\n\t\"tan\": [210, 180, 140],\r\n\t\"teal\": [0, 128, 128],\r\n\t\"thistle\": [216, 191, 216],\r\n\t\"tomato\": [255, 99, 71],\r\n\t\"turquoise\": [64, 224, 208],\r\n\t\"violet\": [238, 130, 238],\r\n\t\"wheat\": [245, 222, 179],\r\n\t\"white\": [255, 255, 255],\r\n\t\"whitesmoke\": [245, 245, 245],\r\n\t\"yellow\": [255, 255, 0],\r\n\t\"yellowgreen\": [154, 205, 50]\r\n};\n\nvar conversions = createCommonjsModule(function (module) {\n/* MIT license */\n\n\n// NOTE: conversions should only return primitive values (i.e. arrays, or\n//       values that give correct `typeof` results).\n//       do not use box values types (i.e. Number(), String(), etc.)\n\nvar reverseKeywords = {};\nfor (var key in colorName) {\n\tif (colorName.hasOwnProperty(key)) {\n\t\treverseKeywords[colorName[key]] = key;\n\t}\n}\n\nvar convert = module.exports = {\n\trgb: {channels: 3, labels: 'rgb'},\n\thsl: {channels: 3, labels: 'hsl'},\n\thsv: {channels: 3, labels: 'hsv'},\n\thwb: {channels: 3, labels: 'hwb'},\n\tcmyk: {channels: 4, labels: 'cmyk'},\n\txyz: {channels: 3, labels: 'xyz'},\n\tlab: {channels: 3, labels: 'lab'},\n\tlch: {channels: 3, labels: 'lch'},\n\thex: {channels: 1, labels: ['hex']},\n\tkeyword: {channels: 1, labels: ['keyword']},\n\tansi16: {channels: 1, labels: ['ansi16']},\n\tansi256: {channels: 1, labels: ['ansi256']},\n\thcg: {channels: 3, labels: ['h', 'c', 'g']},\n\tapple: {channels: 3, labels: ['r16', 'g16', 'b16']},\n\tgray: {channels: 1, labels: ['gray']}\n};\n\n// hide .channels and .labels properties\nfor (var model in convert) {\n\tif (convert.hasOwnProperty(model)) {\n\t\tif (!('channels' in convert[model])) {\n\t\t\tthrow new Error('missing channels property: ' + model);\n\t\t}\n\n\t\tif (!('labels' in convert[model])) {\n\t\t\tthrow new Error('missing channel labels property: ' + model);\n\t\t}\n\n\t\tif (convert[model].labels.length !== convert[model].channels) {\n\t\t\tthrow new Error('channel and label counts mismatch: ' + model);\n\t\t}\n\n\t\tvar channels = convert[model].channels;\n\t\tvar labels = convert[model].labels;\n\t\tdelete convert[model].channels;\n\t\tdelete convert[model].labels;\n\t\tObject.defineProperty(convert[model], 'channels', {value: channels});\n\t\tObject.defineProperty(convert[model], 'labels', {value: labels});\n\t}\n}\n\nconvert.rgb.hsl = function (rgb) {\n\tvar r = rgb[0] / 255;\n\tvar g = rgb[1] / 255;\n\tvar b = rgb[2] / 255;\n\tvar min = Math.min(r, g, b);\n\tvar max = Math.max(r, g, b);\n\tvar delta = max - min;\n\tvar h;\n\tvar s;\n\tvar l;\n\n\tif (max === min) {\n\t\th = 0;\n\t} else if (r === max) {\n\t\th = (g - b) / delta;\n\t} else if (g === max) {\n\t\th = 2 + (b - r) / delta;\n\t} else if (b === max) {\n\t\th = 4 + (r - g) / delta;\n\t}\n\n\th = Math.min(h * 60, 360);\n\n\tif (h < 0) {\n\t\th += 360;\n\t}\n\n\tl = (min + max) / 2;\n\n\tif (max === min) {\n\t\ts = 0;\n\t} else if (l <= 0.5) {\n\t\ts = delta / (max + min);\n\t} else {\n\t\ts = delta / (2 - max - min);\n\t}\n\n\treturn [h, s * 100, l * 100];\n};\n\nconvert.rgb.hsv = function (rgb) {\n\tvar rdif;\n\tvar gdif;\n\tvar bdif;\n\tvar h;\n\tvar s;\n\n\tvar r = rgb[0] / 255;\n\tvar g = rgb[1] / 255;\n\tvar b = rgb[2] / 255;\n\tvar v = Math.max(r, g, b);\n\tvar diff = v - Math.min(r, g, b);\n\tvar diffc = function (c) {\n\t\treturn (v - c) / 6 / diff + 1 / 2;\n\t};\n\n\tif (diff === 0) {\n\t\th = s = 0;\n\t} else {\n\t\ts = diff / v;\n\t\trdif = diffc(r);\n\t\tgdif = diffc(g);\n\t\tbdif = diffc(b);\n\n\t\tif (r === v) {\n\t\t\th = bdif - gdif;\n\t\t} else if (g === v) {\n\t\t\th = (1 / 3) + rdif - bdif;\n\t\t} else if (b === v) {\n\t\t\th = (2 / 3) + gdif - rdif;\n\t\t}\n\t\tif (h < 0) {\n\t\t\th += 1;\n\t\t} else if (h > 1) {\n\t\t\th -= 1;\n\t\t}\n\t}\n\n\treturn [\n\t\th * 360,\n\t\ts * 100,\n\t\tv * 100\n\t];\n};\n\nconvert.rgb.hwb = function (rgb) {\n\tvar r = rgb[0];\n\tvar g = rgb[1];\n\tvar b = rgb[2];\n\tvar h = convert.rgb.hsl(rgb)[0];\n\tvar w = 1 / 255 * Math.min(r, Math.min(g, b));\n\n\tb = 1 - 1 / 255 * Math.max(r, Math.max(g, b));\n\n\treturn [h, w * 100, b * 100];\n};\n\nconvert.rgb.cmyk = function (rgb) {\n\tvar r = rgb[0] / 255;\n\tvar g = rgb[1] / 255;\n\tvar b = rgb[2] / 255;\n\tvar c;\n\tvar m;\n\tvar y;\n\tvar k;\n\n\tk = Math.min(1 - r, 1 - g, 1 - b);\n\tc = (1 - r - k) / (1 - k) || 0;\n\tm = (1 - g - k) / (1 - k) || 0;\n\ty = (1 - b - k) / (1 - k) || 0;\n\n\treturn [c * 100, m * 100, y * 100, k * 100];\n};\n\n/**\n * See https://en.m.wikipedia.org/wiki/Euclidean_distance#Squared_Euclidean_distance\n * */\nfunction comparativeDistance(x, y) {\n\treturn (\n\t\tMath.pow(x[0] - y[0], 2) +\n\t\tMath.pow(x[1] - y[1], 2) +\n\t\tMath.pow(x[2] - y[2], 2)\n\t);\n}\n\nconvert.rgb.keyword = function (rgb) {\n\tvar reversed = reverseKeywords[rgb];\n\tif (reversed) {\n\t\treturn reversed;\n\t}\n\n\tvar currentClosestDistance = Infinity;\n\tvar currentClosestKeyword;\n\n\tfor (var keyword in colorName) {\n\t\tif (colorName.hasOwnProperty(keyword)) {\n\t\t\tvar value = colorName[keyword];\n\n\t\t\t// Compute comparative distance\n\t\t\tvar distance = comparativeDistance(rgb, value);\n\n\t\t\t// Check if its less, if so set as closest\n\t\t\tif (distance < currentClosestDistance) {\n\t\t\t\tcurrentClosestDistance = distance;\n\t\t\t\tcurrentClosestKeyword = keyword;\n\t\t\t}\n\t\t}\n\t}\n\n\treturn currentClosestKeyword;\n};\n\nconvert.keyword.rgb = function (keyword) {\n\treturn colorName[keyword];\n};\n\nconvert.rgb.xyz = function (rgb) {\n\tvar r = rgb[0] / 255;\n\tvar g = rgb[1] / 255;\n\tvar b = rgb[2] / 255;\n\n\t// assume sRGB\n\tr = r > 0.04045 ? Math.pow(((r + 0.055) / 1.055), 2.4) : (r / 12.92);\n\tg = g > 0.04045 ? Math.pow(((g + 0.055) / 1.055), 2.4) : (g / 12.92);\n\tb = b > 0.04045 ? Math.pow(((b + 0.055) / 1.055), 2.4) : (b / 12.92);\n\n\tvar x = (r * 0.4124) + (g * 0.3576) + (b * 0.1805);\n\tvar y = (r * 0.2126) + (g * 0.7152) + (b * 0.0722);\n\tvar z = (r * 0.0193) + (g * 0.1192) + (b * 0.9505);\n\n\treturn [x * 100, y * 100, z * 100];\n};\n\nconvert.rgb.lab = function (rgb) {\n\tvar xyz = convert.rgb.xyz(rgb);\n\tvar x = xyz[0];\n\tvar y = xyz[1];\n\tvar z = xyz[2];\n\tvar l;\n\tvar a;\n\tvar b;\n\n\tx /= 95.047;\n\ty /= 100;\n\tz /= 108.883;\n\n\tx = x > 0.008856 ? Math.pow(x, 1 / 3) : (7.787 * x) + (16 / 116);\n\ty = y > 0.008856 ? Math.pow(y, 1 / 3) : (7.787 * y) + (16 / 116);\n\tz = z > 0.008856 ? Math.pow(z, 1 / 3) : (7.787 * z) + (16 / 116);\n\n\tl = (116 * y) - 16;\n\ta = 500 * (x - y);\n\tb = 200 * (y - z);\n\n\treturn [l, a, b];\n};\n\nconvert.hsl.rgb = function (hsl) {\n\tvar h = hsl[0] / 360;\n\tvar s = hsl[1] / 100;\n\tvar l = hsl[2] / 100;\n\tvar t1;\n\tvar t2;\n\tvar t3;\n\tvar rgb;\n\tvar val;\n\n\tif (s === 0) {\n\t\tval = l * 255;\n\t\treturn [val, val, val];\n\t}\n\n\tif (l < 0.5) {\n\t\tt2 = l * (1 + s);\n\t} else {\n\t\tt2 = l + s - l * s;\n\t}\n\n\tt1 = 2 * l - t2;\n\n\trgb = [0, 0, 0];\n\tfor (var i = 0; i < 3; i++) {\n\t\tt3 = h + 1 / 3 * -(i - 1);\n\t\tif (t3 < 0) {\n\t\t\tt3++;\n\t\t}\n\t\tif (t3 > 1) {\n\t\t\tt3--;\n\t\t}\n\n\t\tif (6 * t3 < 1) {\n\t\t\tval = t1 + (t2 - t1) * 6 * t3;\n\t\t} else if (2 * t3 < 1) {\n\t\t\tval = t2;\n\t\t} else if (3 * t3 < 2) {\n\t\t\tval = t1 + (t2 - t1) * (2 / 3 - t3) * 6;\n\t\t} else {\n\t\t\tval = t1;\n\t\t}\n\n\t\trgb[i] = val * 255;\n\t}\n\n\treturn rgb;\n};\n\nconvert.hsl.hsv = function (hsl) {\n\tvar h = hsl[0];\n\tvar s = hsl[1] / 100;\n\tvar l = hsl[2] / 100;\n\tvar smin = s;\n\tvar lmin = Math.max(l, 0.01);\n\tvar sv;\n\tvar v;\n\n\tl *= 2;\n\ts *= (l <= 1) ? l : 2 - l;\n\tsmin *= lmin <= 1 ? lmin : 2 - lmin;\n\tv = (l + s) / 2;\n\tsv = l === 0 ? (2 * smin) / (lmin + smin) : (2 * s) / (l + s);\n\n\treturn [h, sv * 100, v * 100];\n};\n\nconvert.hsv.rgb = function (hsv) {\n\tvar h = hsv[0] / 60;\n\tvar s = hsv[1] / 100;\n\tvar v = hsv[2] / 100;\n\tvar hi = Math.floor(h) % 6;\n\n\tvar f = h - Math.floor(h);\n\tvar p = 255 * v * (1 - s);\n\tvar q = 255 * v * (1 - (s * f));\n\tvar t = 255 * v * (1 - (s * (1 - f)));\n\tv *= 255;\n\n\tswitch (hi) {\n\t\tcase 0:\n\t\t\treturn [v, t, p];\n\t\tcase 1:\n\t\t\treturn [q, v, p];\n\t\tcase 2:\n\t\t\treturn [p, v, t];\n\t\tcase 3:\n\t\t\treturn [p, q, v];\n\t\tcase 4:\n\t\t\treturn [t, p, v];\n\t\tcase 5:\n\t\t\treturn [v, p, q];\n\t}\n};\n\nconvert.hsv.hsl = function (hsv) {\n\tvar h = hsv[0];\n\tvar s = hsv[1] / 100;\n\tvar v = hsv[2] / 100;\n\tvar vmin = Math.max(v, 0.01);\n\tvar lmin;\n\tvar sl;\n\tvar l;\n\n\tl = (2 - s) * v;\n\tlmin = (2 - s) * vmin;\n\tsl = s * vmin;\n\tsl /= (lmin <= 1) ? lmin : 2 - lmin;\n\tsl = sl || 0;\n\tl /= 2;\n\n\treturn [h, sl * 100, l * 100];\n};\n\n// http://dev.w3.org/csswg/css-color/#hwb-to-rgb\nconvert.hwb.rgb = function (hwb) {\n\tvar h = hwb[0] / 360;\n\tvar wh = hwb[1] / 100;\n\tvar bl = hwb[2] / 100;\n\tvar ratio = wh + bl;\n\tvar i;\n\tvar v;\n\tvar f;\n\tvar n;\n\n\t// wh + bl cant be > 1\n\tif (ratio > 1) {\n\t\twh /= ratio;\n\t\tbl /= ratio;\n\t}\n\n\ti = Math.floor(6 * h);\n\tv = 1 - bl;\n\tf = 6 * h - i;\n\n\tif ((i & 0x01) !== 0) {\n\t\tf = 1 - f;\n\t}\n\n\tn = wh + f * (v - wh); // linear interpolation\n\n\tvar r;\n\tvar g;\n\tvar b;\n\tswitch (i) {\n\t\tdefault:\n\t\tcase 6:\n\t\tcase 0: r = v; g = n; b = wh; break;\n\t\tcase 1: r = n; g = v; b = wh; break;\n\t\tcase 2: r = wh; g = v; b = n; break;\n\t\tcase 3: r = wh; g = n; b = v; break;\n\t\tcase 4: r = n; g = wh; b = v; break;\n\t\tcase 5: r = v; g = wh; b = n; break;\n\t}\n\n\treturn [r * 255, g * 255, b * 255];\n};\n\nconvert.cmyk.rgb = function (cmyk) {\n\tvar c = cmyk[0] / 100;\n\tvar m = cmyk[1] / 100;\n\tvar y = cmyk[2] / 100;\n\tvar k = cmyk[3] / 100;\n\tvar r;\n\tvar g;\n\tvar b;\n\n\tr = 1 - Math.min(1, c * (1 - k) + k);\n\tg = 1 - Math.min(1, m * (1 - k) + k);\n\tb = 1 - Math.min(1, y * (1 - k) + k);\n\n\treturn [r * 255, g * 255, b * 255];\n};\n\nconvert.xyz.rgb = function (xyz) {\n\tvar x = xyz[0] / 100;\n\tvar y = xyz[1] / 100;\n\tvar z = xyz[2] / 100;\n\tvar r;\n\tvar g;\n\tvar b;\n\n\tr = (x * 3.2406) + (y * -1.5372) + (z * -0.4986);\n\tg = (x * -0.9689) + (y * 1.8758) + (z * 0.0415);\n\tb = (x * 0.0557) + (y * -0.2040) + (z * 1.0570);\n\n\t// assume sRGB\n\tr = r > 0.0031308\n\t\t? ((1.055 * Math.pow(r, 1.0 / 2.4)) - 0.055)\n\t\t: r * 12.92;\n\n\tg = g > 0.0031308\n\t\t? ((1.055 * Math.pow(g, 1.0 / 2.4)) - 0.055)\n\t\t: g * 12.92;\n\n\tb = b > 0.0031308\n\t\t? ((1.055 * Math.pow(b, 1.0 / 2.4)) - 0.055)\n\t\t: b * 12.92;\n\n\tr = Math.min(Math.max(0, r), 1);\n\tg = Math.min(Math.max(0, g), 1);\n\tb = Math.min(Math.max(0, b), 1);\n\n\treturn [r * 255, g * 255, b * 255];\n};\n\nconvert.xyz.lab = function (xyz) {\n\tvar x = xyz[0];\n\tvar y = xyz[1];\n\tvar z = xyz[2];\n\tvar l;\n\tvar a;\n\tvar b;\n\n\tx /= 95.047;\n\ty /= 100;\n\tz /= 108.883;\n\n\tx = x > 0.008856 ? Math.pow(x, 1 / 3) : (7.787 * x) + (16 / 116);\n\ty = y > 0.008856 ? Math.pow(y, 1 / 3) : (7.787 * y) + (16 / 116);\n\tz = z > 0.008856 ? Math.pow(z, 1 / 3) : (7.787 * z) + (16 / 116);\n\n\tl = (116 * y) - 16;\n\ta = 500 * (x - y);\n\tb = 200 * (y - z);\n\n\treturn [l, a, b];\n};\n\nconvert.lab.xyz = function (lab) {\n\tvar l = lab[0];\n\tvar a = lab[1];\n\tvar b = lab[2];\n\tvar x;\n\tvar y;\n\tvar z;\n\n\ty = (l + 16) / 116;\n\tx = a / 500 + y;\n\tz = y - b / 200;\n\n\tvar y2 = Math.pow(y, 3);\n\tvar x2 = Math.pow(x, 3);\n\tvar z2 = Math.pow(z, 3);\n\ty = y2 > 0.008856 ? y2 : (y - 16 / 116) / 7.787;\n\tx = x2 > 0.008856 ? x2 : (x - 16 / 116) / 7.787;\n\tz = z2 > 0.008856 ? z2 : (z - 16 / 116) / 7.787;\n\n\tx *= 95.047;\n\ty *= 100;\n\tz *= 108.883;\n\n\treturn [x, y, z];\n};\n\nconvert.lab.lch = function (lab) {\n\tvar l = lab[0];\n\tvar a = lab[1];\n\tvar b = lab[2];\n\tvar hr;\n\tvar h;\n\tvar c;\n\n\thr = Math.atan2(b, a);\n\th = hr * 360 / 2 / Math.PI;\n\n\tif (h < 0) {\n\t\th += 360;\n\t}\n\n\tc = Math.sqrt(a * a + b * b);\n\n\treturn [l, c, h];\n};\n\nconvert.lch.lab = function (lch) {\n\tvar l = lch[0];\n\tvar c = lch[1];\n\tvar h = lch[2];\n\tvar a;\n\tvar b;\n\tvar hr;\n\n\thr = h / 360 * 2 * Math.PI;\n\ta = c * Math.cos(hr);\n\tb = c * Math.sin(hr);\n\n\treturn [l, a, b];\n};\n\nconvert.rgb.ansi16 = function (args) {\n\tvar r = args[0];\n\tvar g = args[1];\n\tvar b = args[2];\n\tvar value = 1 in arguments ? arguments[1] : convert.rgb.hsv(args)[2]; // hsv -> ansi16 optimization\n\n\tvalue = Math.round(value / 50);\n\n\tif (value === 0) {\n\t\treturn 30;\n\t}\n\n\tvar ansi = 30\n\t\t+ ((Math.round(b / 255) << 2)\n\t\t| (Math.round(g / 255) << 1)\n\t\t| Math.round(r / 255));\n\n\tif (value === 2) {\n\t\tansi += 60;\n\t}\n\n\treturn ansi;\n};\n\nconvert.hsv.ansi16 = function (args) {\n\t// optimization here; we already know the value and don't need to get\n\t// it converted for us.\n\treturn convert.rgb.ansi16(convert.hsv.rgb(args), args[2]);\n};\n\nconvert.rgb.ansi256 = function (args) {\n\tvar r = args[0];\n\tvar g = args[1];\n\tvar b = args[2];\n\n\t// we use the extended greyscale palette here, with the exception of\n\t// black and white. normal palette only has 4 greyscale shades.\n\tif (r === g && g === b) {\n\t\tif (r < 8) {\n\t\t\treturn 16;\n\t\t}\n\n\t\tif (r > 248) {\n\t\t\treturn 231;\n\t\t}\n\n\t\treturn Math.round(((r - 8) / 247) * 24) + 232;\n\t}\n\n\tvar ansi = 16\n\t\t+ (36 * Math.round(r / 255 * 5))\n\t\t+ (6 * Math.round(g / 255 * 5))\n\t\t+ Math.round(b / 255 * 5);\n\n\treturn ansi;\n};\n\nconvert.ansi16.rgb = function (args) {\n\tvar color = args % 10;\n\n\t// handle greyscale\n\tif (color === 0 || color === 7) {\n\t\tif (args > 50) {\n\t\t\tcolor += 3.5;\n\t\t}\n\n\t\tcolor = color / 10.5 * 255;\n\n\t\treturn [color, color, color];\n\t}\n\n\tvar mult = (~~(args > 50) + 1) * 0.5;\n\tvar r = ((color & 1) * mult) * 255;\n\tvar g = (((color >> 1) & 1) * mult) * 255;\n\tvar b = (((color >> 2) & 1) * mult) * 255;\n\n\treturn [r, g, b];\n};\n\nconvert.ansi256.rgb = function (args) {\n\t// handle greyscale\n\tif (args >= 232) {\n\t\tvar c = (args - 232) * 10 + 8;\n\t\treturn [c, c, c];\n\t}\n\n\targs -= 16;\n\n\tvar rem;\n\tvar r = Math.floor(args / 36) / 5 * 255;\n\tvar g = Math.floor((rem = args % 36) / 6) / 5 * 255;\n\tvar b = (rem % 6) / 5 * 255;\n\n\treturn [r, g, b];\n};\n\nconvert.rgb.hex = function (args) {\n\tvar integer = ((Math.round(args[0]) & 0xFF) << 16)\n\t\t+ ((Math.round(args[1]) & 0xFF) << 8)\n\t\t+ (Math.round(args[2]) & 0xFF);\n\n\tvar string = integer.toString(16).toUpperCase();\n\treturn '000000'.substring(string.length) + string;\n};\n\nconvert.hex.rgb = function (args) {\n\tvar match = args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);\n\tif (!match) {\n\t\treturn [0, 0, 0];\n\t}\n\n\tvar colorString = match[0];\n\n\tif (match[0].length === 3) {\n\t\tcolorString = colorString.split('').map(function (char) {\n\t\t\treturn char + char;\n\t\t}).join('');\n\t}\n\n\tvar integer = parseInt(colorString, 16);\n\tvar r = (integer >> 16) & 0xFF;\n\tvar g = (integer >> 8) & 0xFF;\n\tvar b = integer & 0xFF;\n\n\treturn [r, g, b];\n};\n\nconvert.rgb.hcg = function (rgb) {\n\tvar r = rgb[0] / 255;\n\tvar g = rgb[1] / 255;\n\tvar b = rgb[2] / 255;\n\tvar max = Math.max(Math.max(r, g), b);\n\tvar min = Math.min(Math.min(r, g), b);\n\tvar chroma = (max - min);\n\tvar grayscale;\n\tvar hue;\n\n\tif (chroma < 1) {\n\t\tgrayscale = min / (1 - chroma);\n\t} else {\n\t\tgrayscale = 0;\n\t}\n\n\tif (chroma <= 0) {\n\t\thue = 0;\n\t} else\n\tif (max === r) {\n\t\thue = ((g - b) / chroma) % 6;\n\t} else\n\tif (max === g) {\n\t\thue = 2 + (b - r) / chroma;\n\t} else {\n\t\thue = 4 + (r - g) / chroma + 4;\n\t}\n\n\thue /= 6;\n\thue %= 1;\n\n\treturn [hue * 360, chroma * 100, grayscale * 100];\n};\n\nconvert.hsl.hcg = function (hsl) {\n\tvar s = hsl[1] / 100;\n\tvar l = hsl[2] / 100;\n\tvar c = 1;\n\tvar f = 0;\n\n\tif (l < 0.5) {\n\t\tc = 2.0 * s * l;\n\t} else {\n\t\tc = 2.0 * s * (1.0 - l);\n\t}\n\n\tif (c < 1.0) {\n\t\tf = (l - 0.5 * c) / (1.0 - c);\n\t}\n\n\treturn [hsl[0], c * 100, f * 100];\n};\n\nconvert.hsv.hcg = function (hsv) {\n\tvar s = hsv[1] / 100;\n\tvar v = hsv[2] / 100;\n\n\tvar c = s * v;\n\tvar f = 0;\n\n\tif (c < 1.0) {\n\t\tf = (v - c) / (1 - c);\n\t}\n\n\treturn [hsv[0], c * 100, f * 100];\n};\n\nconvert.hcg.rgb = function (hcg) {\n\tvar h = hcg[0] / 360;\n\tvar c = hcg[1] / 100;\n\tvar g = hcg[2] / 100;\n\n\tif (c === 0.0) {\n\t\treturn [g * 255, g * 255, g * 255];\n\t}\n\n\tvar pure = [0, 0, 0];\n\tvar hi = (h % 1) * 6;\n\tvar v = hi % 1;\n\tvar w = 1 - v;\n\tvar mg = 0;\n\n\tswitch (Math.floor(hi)) {\n\t\tcase 0:\n\t\t\tpure[0] = 1; pure[1] = v; pure[2] = 0; break;\n\t\tcase 1:\n\t\t\tpure[0] = w; pure[1] = 1; pure[2] = 0; break;\n\t\tcase 2:\n\t\t\tpure[0] = 0; pure[1] = 1; pure[2] = v; break;\n\t\tcase 3:\n\t\t\tpure[0] = 0; pure[1] = w; pure[2] = 1; break;\n\t\tcase 4:\n\t\t\tpure[0] = v; pure[1] = 0; pure[2] = 1; break;\n\t\tdefault:\n\t\t\tpure[0] = 1; pure[1] = 0; pure[2] = w;\n\t}\n\n\tmg = (1.0 - c) * g;\n\n\treturn [\n\t\t(c * pure[0] + mg) * 255,\n\t\t(c * pure[1] + mg) * 255,\n\t\t(c * pure[2] + mg) * 255\n\t];\n};\n\nconvert.hcg.hsv = function (hcg) {\n\tvar c = hcg[1] / 100;\n\tvar g = hcg[2] / 100;\n\n\tvar v = c + g * (1.0 - c);\n\tvar f = 0;\n\n\tif (v > 0.0) {\n\t\tf = c / v;\n\t}\n\n\treturn [hcg[0], f * 100, v * 100];\n};\n\nconvert.hcg.hsl = function (hcg) {\n\tvar c = hcg[1] / 100;\n\tvar g = hcg[2] / 100;\n\n\tvar l = g * (1.0 - c) + 0.5 * c;\n\tvar s = 0;\n\n\tif (l > 0.0 && l < 0.5) {\n\t\ts = c / (2 * l);\n\t} else\n\tif (l >= 0.5 && l < 1.0) {\n\t\ts = c / (2 * (1 - l));\n\t}\n\n\treturn [hcg[0], s * 100, l * 100];\n};\n\nconvert.hcg.hwb = function (hcg) {\n\tvar c = hcg[1] / 100;\n\tvar g = hcg[2] / 100;\n\tvar v = c + g * (1.0 - c);\n\treturn [hcg[0], (v - c) * 100, (1 - v) * 100];\n};\n\nconvert.hwb.hcg = function (hwb) {\n\tvar w = hwb[1] / 100;\n\tvar b = hwb[2] / 100;\n\tvar v = 1 - b;\n\tvar c = v - w;\n\tvar g = 0;\n\n\tif (c < 1) {\n\t\tg = (v - c) / (1 - c);\n\t}\n\n\treturn [hwb[0], c * 100, g * 100];\n};\n\nconvert.apple.rgb = function (apple) {\n\treturn [(apple[0] / 65535) * 255, (apple[1] / 65535) * 255, (apple[2] / 65535) * 255];\n};\n\nconvert.rgb.apple = function (rgb) {\n\treturn [(rgb[0] / 255) * 65535, (rgb[1] / 255) * 65535, (rgb[2] / 255) * 65535];\n};\n\nconvert.gray.rgb = function (args) {\n\treturn [args[0] / 100 * 255, args[0] / 100 * 255, args[0] / 100 * 255];\n};\n\nconvert.gray.hsl = convert.gray.hsv = function (args) {\n\treturn [0, 0, args[0]];\n};\n\nconvert.gray.hwb = function (gray) {\n\treturn [0, 100, gray[0]];\n};\n\nconvert.gray.cmyk = function (gray) {\n\treturn [0, 0, 0, gray[0]];\n};\n\nconvert.gray.lab = function (gray) {\n\treturn [gray[0], 0, 0];\n};\n\nconvert.gray.hex = function (gray) {\n\tvar val = Math.round(gray[0] / 100 * 255) & 0xFF;\n\tvar integer = (val << 16) + (val << 8) + val;\n\n\tvar string = integer.toString(16).toUpperCase();\n\treturn '000000'.substring(string.length) + string;\n};\n\nconvert.rgb.gray = function (rgb) {\n\tvar val = (rgb[0] + rgb[1] + rgb[2]) / 3;\n\treturn [val / 255 * 100];\n};\n});\nvar conversions_1 = conversions.rgb;\nvar conversions_2 = conversions.hsl;\nvar conversions_3 = conversions.hsv;\nvar conversions_4 = conversions.hwb;\nvar conversions_5 = conversions.cmyk;\nvar conversions_6 = conversions.xyz;\nvar conversions_7 = conversions.lab;\nvar conversions_8 = conversions.lch;\nvar conversions_9 = conversions.hex;\nvar conversions_10 = conversions.keyword;\nvar conversions_11 = conversions.ansi16;\nvar conversions_12 = conversions.ansi256;\nvar conversions_13 = conversions.hcg;\nvar conversions_14 = conversions.apple;\nvar conversions_15 = conversions.gray;\n\n/*\n\tthis function routes a model to all other models.\n\n\tall functions that are routed have a property `.conversion` attached\n\tto the returned synthetic function. This property is an array\n\tof strings, each with the steps in between the 'from' and 'to'\n\tcolor models (inclusive).\n\n\tconversions that are not possible simply are not included.\n*/\n\nfunction buildGraph() {\n\tvar graph = {};\n\t// https://jsperf.com/object-keys-vs-for-in-with-closure/3\n\tvar models = Object.keys(conversions);\n\n\tfor (var len = models.length, i = 0; i < len; i++) {\n\t\tgraph[models[i]] = {\n\t\t\t// http://jsperf.com/1-vs-infinity\n\t\t\t// micro-opt, but this is simple.\n\t\t\tdistance: -1,\n\t\t\tparent: null\n\t\t};\n\t}\n\n\treturn graph;\n}\n\n// https://en.wikipedia.org/wiki/Breadth-first_search\nfunction deriveBFS(fromModel) {\n\tvar graph = buildGraph();\n\tvar queue = [fromModel]; // unshift -> queue -> pop\n\n\tgraph[fromModel].distance = 0;\n\n\twhile (queue.length) {\n\t\tvar current = queue.pop();\n\t\tvar adjacents = Object.keys(conversions[current]);\n\n\t\tfor (var len = adjacents.length, i = 0; i < len; i++) {\n\t\t\tvar adjacent = adjacents[i];\n\t\t\tvar node = graph[adjacent];\n\n\t\t\tif (node.distance === -1) {\n\t\t\t\tnode.distance = graph[current].distance + 1;\n\t\t\t\tnode.parent = current;\n\t\t\t\tqueue.unshift(adjacent);\n\t\t\t}\n\t\t}\n\t}\n\n\treturn graph;\n}\n\nfunction link(from, to) {\n\treturn function (args) {\n\t\treturn to(from(args));\n\t};\n}\n\nfunction wrapConversion(toModel, graph) {\n\tvar path = [graph[toModel].parent, toModel];\n\tvar fn = conversions[graph[toModel].parent][toModel];\n\n\tvar cur = graph[toModel].parent;\n\twhile (graph[cur].parent) {\n\t\tpath.unshift(graph[cur].parent);\n\t\tfn = link(conversions[graph[cur].parent][cur], fn);\n\t\tcur = graph[cur].parent;\n\t}\n\n\tfn.conversion = path;\n\treturn fn;\n}\n\nvar route = function (fromModel) {\n\tvar graph = deriveBFS(fromModel);\n\tvar conversion = {};\n\n\tvar models = Object.keys(graph);\n\tfor (var len = models.length, i = 0; i < len; i++) {\n\t\tvar toModel = models[i];\n\t\tvar node = graph[toModel];\n\n\t\tif (node.parent === null) {\n\t\t\t// no possible conversion, or this node is the source model.\n\t\t\tcontinue;\n\t\t}\n\n\t\tconversion[toModel] = wrapConversion(toModel, graph);\n\t}\n\n\treturn conversion;\n};\n\nvar convert = {};\n\nvar models = Object.keys(conversions);\n\nfunction wrapRaw(fn) {\n\tvar wrappedFn = function (args) {\n\t\tif (args === undefined || args === null) {\n\t\t\treturn args;\n\t\t}\n\n\t\tif (arguments.length > 1) {\n\t\t\targs = Array.prototype.slice.call(arguments);\n\t\t}\n\n\t\treturn fn(args);\n\t};\n\n\t// preserve .conversion property if there is one\n\tif ('conversion' in fn) {\n\t\twrappedFn.conversion = fn.conversion;\n\t}\n\n\treturn wrappedFn;\n}\n\nfunction wrapRounded(fn) {\n\tvar wrappedFn = function (args) {\n\t\tif (args === undefined || args === null) {\n\t\t\treturn args;\n\t\t}\n\n\t\tif (arguments.length > 1) {\n\t\t\targs = Array.prototype.slice.call(arguments);\n\t\t}\n\n\t\tvar result = fn(args);\n\n\t\t// we're assuming the result is an array here.\n\t\t// see notice in conversions.js; don't use box types\n\t\t// in conversion functions.\n\t\tif (typeof result === 'object') {\n\t\t\tfor (var len = result.length, i = 0; i < len; i++) {\n\t\t\t\tresult[i] = Math.round(result[i]);\n\t\t\t}\n\t\t}\n\n\t\treturn result;\n\t};\n\n\t// preserve .conversion property if there is one\n\tif ('conversion' in fn) {\n\t\twrappedFn.conversion = fn.conversion;\n\t}\n\n\treturn wrappedFn;\n}\n\nmodels.forEach(function (fromModel) {\n\tconvert[fromModel] = {};\n\n\tObject.defineProperty(convert[fromModel], 'channels', {value: conversions[fromModel].channels});\n\tObject.defineProperty(convert[fromModel], 'labels', {value: conversions[fromModel].labels});\n\n\tvar routes = route(fromModel);\n\tvar routeModels = Object.keys(routes);\n\n\trouteModels.forEach(function (toModel) {\n\t\tvar fn = routes[toModel];\n\n\t\tconvert[fromModel][toModel] = wrapRounded(fn);\n\t\tconvert[fromModel][toModel].raw = wrapRaw(fn);\n\t});\n});\n\nvar colorConvert = convert;\n\nvar colorName$1 = {\r\n\t\"aliceblue\": [240, 248, 255],\r\n\t\"antiquewhite\": [250, 235, 215],\r\n\t\"aqua\": [0, 255, 255],\r\n\t\"aquamarine\": [127, 255, 212],\r\n\t\"azure\": [240, 255, 255],\r\n\t\"beige\": [245, 245, 220],\r\n\t\"bisque\": [255, 228, 196],\r\n\t\"black\": [0, 0, 0],\r\n\t\"blanchedalmond\": [255, 235, 205],\r\n\t\"blue\": [0, 0, 255],\r\n\t\"blueviolet\": [138, 43, 226],\r\n\t\"brown\": [165, 42, 42],\r\n\t\"burlywood\": [222, 184, 135],\r\n\t\"cadetblue\": [95, 158, 160],\r\n\t\"chartreuse\": [127, 255, 0],\r\n\t\"chocolate\": [210, 105, 30],\r\n\t\"coral\": [255, 127, 80],\r\n\t\"cornflowerblue\": [100, 149, 237],\r\n\t\"cornsilk\": [255, 248, 220],\r\n\t\"crimson\": [220, 20, 60],\r\n\t\"cyan\": [0, 255, 255],\r\n\t\"darkblue\": [0, 0, 139],\r\n\t\"darkcyan\": [0, 139, 139],\r\n\t\"darkgoldenrod\": [184, 134, 11],\r\n\t\"darkgray\": [169, 169, 169],\r\n\t\"darkgreen\": [0, 100, 0],\r\n\t\"darkgrey\": [169, 169, 169],\r\n\t\"darkkhaki\": [189, 183, 107],\r\n\t\"darkmagenta\": [139, 0, 139],\r\n\t\"darkolivegreen\": [85, 107, 47],\r\n\t\"darkorange\": [255, 140, 0],\r\n\t\"darkorchid\": [153, 50, 204],\r\n\t\"darkred\": [139, 0, 0],\r\n\t\"darksalmon\": [233, 150, 122],\r\n\t\"darkseagreen\": [143, 188, 143],\r\n\t\"darkslateblue\": [72, 61, 139],\r\n\t\"darkslategray\": [47, 79, 79],\r\n\t\"darkslategrey\": [47, 79, 79],\r\n\t\"darkturquoise\": [0, 206, 209],\r\n\t\"darkviolet\": [148, 0, 211],\r\n\t\"deeppink\": [255, 20, 147],\r\n\t\"deepskyblue\": [0, 191, 255],\r\n\t\"dimgray\": [105, 105, 105],\r\n\t\"dimgrey\": [105, 105, 105],\r\n\t\"dodgerblue\": [30, 144, 255],\r\n\t\"firebrick\": [178, 34, 34],\r\n\t\"floralwhite\": [255, 250, 240],\r\n\t\"forestgreen\": [34, 139, 34],\r\n\t\"fuchsia\": [255, 0, 255],\r\n\t\"gainsboro\": [220, 220, 220],\r\n\t\"ghostwhite\": [248, 248, 255],\r\n\t\"gold\": [255, 215, 0],\r\n\t\"goldenrod\": [218, 165, 32],\r\n\t\"gray\": [128, 128, 128],\r\n\t\"green\": [0, 128, 0],\r\n\t\"greenyellow\": [173, 255, 47],\r\n\t\"grey\": [128, 128, 128],\r\n\t\"honeydew\": [240, 255, 240],\r\n\t\"hotpink\": [255, 105, 180],\r\n\t\"indianred\": [205, 92, 92],\r\n\t\"indigo\": [75, 0, 130],\r\n\t\"ivory\": [255, 255, 240],\r\n\t\"khaki\": [240, 230, 140],\r\n\t\"lavender\": [230, 230, 250],\r\n\t\"lavenderblush\": [255, 240, 245],\r\n\t\"lawngreen\": [124, 252, 0],\r\n\t\"lemonchiffon\": [255, 250, 205],\r\n\t\"lightblue\": [173, 216, 230],\r\n\t\"lightcoral\": [240, 128, 128],\r\n\t\"lightcyan\": [224, 255, 255],\r\n\t\"lightgoldenrodyellow\": [250, 250, 210],\r\n\t\"lightgray\": [211, 211, 211],\r\n\t\"lightgreen\": [144, 238, 144],\r\n\t\"lightgrey\": [211, 211, 211],\r\n\t\"lightpink\": [255, 182, 193],\r\n\t\"lightsalmon\": [255, 160, 122],\r\n\t\"lightseagreen\": [32, 178, 170],\r\n\t\"lightskyblue\": [135, 206, 250],\r\n\t\"lightslategray\": [119, 136, 153],\r\n\t\"lightslategrey\": [119, 136, 153],\r\n\t\"lightsteelblue\": [176, 196, 222],\r\n\t\"lightyellow\": [255, 255, 224],\r\n\t\"lime\": [0, 255, 0],\r\n\t\"limegreen\": [50, 205, 50],\r\n\t\"linen\": [250, 240, 230],\r\n\t\"magenta\": [255, 0, 255],\r\n\t\"maroon\": [128, 0, 0],\r\n\t\"mediumaquamarine\": [102, 205, 170],\r\n\t\"mediumblue\": [0, 0, 205],\r\n\t\"mediumorchid\": [186, 85, 211],\r\n\t\"mediumpurple\": [147, 112, 219],\r\n\t\"mediumseagreen\": [60, 179, 113],\r\n\t\"mediumslateblue\": [123, 104, 238],\r\n\t\"mediumspringgreen\": [0, 250, 154],\r\n\t\"mediumturquoise\": [72, 209, 204],\r\n\t\"mediumvioletred\": [199, 21, 133],\r\n\t\"midnightblue\": [25, 25, 112],\r\n\t\"mintcream\": [245, 255, 250],\r\n\t\"mistyrose\": [255, 228, 225],\r\n\t\"moccasin\": [255, 228, 181],\r\n\t\"navajowhite\": [255, 222, 173],\r\n\t\"navy\": [0, 0, 128],\r\n\t\"oldlace\": [253, 245, 230],\r\n\t\"olive\": [128, 128, 0],\r\n\t\"olivedrab\": [107, 142, 35],\r\n\t\"orange\": [255, 165, 0],\r\n\t\"orangered\": [255, 69, 0],\r\n\t\"orchid\": [218, 112, 214],\r\n\t\"palegoldenrod\": [238, 232, 170],\r\n\t\"palegreen\": [152, 251, 152],\r\n\t\"paleturquoise\": [175, 238, 238],\r\n\t\"palevioletred\": [219, 112, 147],\r\n\t\"papayawhip\": [255, 239, 213],\r\n\t\"peachpuff\": [255, 218, 185],\r\n\t\"peru\": [205, 133, 63],\r\n\t\"pink\": [255, 192, 203],\r\n\t\"plum\": [221, 160, 221],\r\n\t\"powderblue\": [176, 224, 230],\r\n\t\"purple\": [128, 0, 128],\r\n\t\"rebeccapurple\": [102, 51, 153],\r\n\t\"red\": [255, 0, 0],\r\n\t\"rosybrown\": [188, 143, 143],\r\n\t\"royalblue\": [65, 105, 225],\r\n\t\"saddlebrown\": [139, 69, 19],\r\n\t\"salmon\": [250, 128, 114],\r\n\t\"sandybrown\": [244, 164, 96],\r\n\t\"seagreen\": [46, 139, 87],\r\n\t\"seashell\": [255, 245, 238],\r\n\t\"sienna\": [160, 82, 45],\r\n\t\"silver\": [192, 192, 192],\r\n\t\"skyblue\": [135, 206, 235],\r\n\t\"slateblue\": [106, 90, 205],\r\n\t\"slategray\": [112, 128, 144],\r\n\t\"slategrey\": [112, 128, 144],\r\n\t\"snow\": [255, 250, 250],\r\n\t\"springgreen\": [0, 255, 127],\r\n\t\"steelblue\": [70, 130, 180],\r\n\t\"tan\": [210, 180, 140],\r\n\t\"teal\": [0, 128, 128],\r\n\t\"thistle\": [216, 191, 216],\r\n\t\"tomato\": [255, 99, 71],\r\n\t\"turquoise\": [64, 224, 208],\r\n\t\"violet\": [238, 130, 238],\r\n\t\"wheat\": [245, 222, 179],\r\n\t\"white\": [255, 255, 255],\r\n\t\"whitesmoke\": [245, 245, 245],\r\n\t\"yellow\": [255, 255, 0],\r\n\t\"yellowgreen\": [154, 205, 50]\r\n};\n\n/* MIT license */\n\n\nvar colorString = {\n   getRgba: getRgba,\n   getHsla: getHsla,\n   getRgb: getRgb,\n   getHsl: getHsl,\n   getHwb: getHwb,\n   getAlpha: getAlpha,\n\n   hexString: hexString,\n   rgbString: rgbString,\n   rgbaString: rgbaString,\n   percentString: percentString,\n   percentaString: percentaString,\n   hslString: hslString,\n   hslaString: hslaString,\n   hwbString: hwbString,\n   keyword: keyword\n};\n\nfunction getRgba(string) {\n   if (!string) {\n      return;\n   }\n   var abbr =  /^#([a-fA-F0-9]{3,4})$/i,\n       hex =  /^#([a-fA-F0-9]{6}([a-fA-F0-9]{2})?)$/i,\n       rgba = /^rgba?\\(\\s*([+-]?\\d+)\\s*,\\s*([+-]?\\d+)\\s*,\\s*([+-]?\\d+)\\s*(?:,\\s*([+-]?[\\d\\.]+)\\s*)?\\)$/i,\n       per = /^rgba?\\(\\s*([+-]?[\\d\\.]+)\\%\\s*,\\s*([+-]?[\\d\\.]+)\\%\\s*,\\s*([+-]?[\\d\\.]+)\\%\\s*(?:,\\s*([+-]?[\\d\\.]+)\\s*)?\\)$/i,\n       keyword = /(\\w+)/;\n\n   var rgb = [0, 0, 0],\n       a = 1,\n       match = string.match(abbr),\n       hexAlpha = \"\";\n   if (match) {\n      match = match[1];\n      hexAlpha = match[3];\n      for (var i = 0; i < rgb.length; i++) {\n         rgb[i] = parseInt(match[i] + match[i], 16);\n      }\n      if (hexAlpha) {\n         a = Math.round((parseInt(hexAlpha + hexAlpha, 16) / 255) * 100) / 100;\n      }\n   }\n   else if (match = string.match(hex)) {\n      hexAlpha = match[2];\n      match = match[1];\n      for (var i = 0; i < rgb.length; i++) {\n         rgb[i] = parseInt(match.slice(i * 2, i * 2 + 2), 16);\n      }\n      if (hexAlpha) {\n         a = Math.round((parseInt(hexAlpha, 16) / 255) * 100) / 100;\n      }\n   }\n   else if (match = string.match(rgba)) {\n      for (var i = 0; i < rgb.length; i++) {\n         rgb[i] = parseInt(match[i + 1]);\n      }\n      a = parseFloat(match[4]);\n   }\n   else if (match = string.match(per)) {\n      for (var i = 0; i < rgb.length; i++) {\n         rgb[i] = Math.round(parseFloat(match[i + 1]) * 2.55);\n      }\n      a = parseFloat(match[4]);\n   }\n   else if (match = string.match(keyword)) {\n      if (match[1] == \"transparent\") {\n         return [0, 0, 0, 0];\n      }\n      rgb = colorName$1[match[1]];\n      if (!rgb) {\n         return;\n      }\n   }\n\n   for (var i = 0; i < rgb.length; i++) {\n      rgb[i] = scale(rgb[i], 0, 255);\n   }\n   if (!a && a != 0) {\n      a = 1;\n   }\n   else {\n      a = scale(a, 0, 1);\n   }\n   rgb[3] = a;\n   return rgb;\n}\n\nfunction getHsla(string) {\n   if (!string) {\n      return;\n   }\n   var hsl = /^hsla?\\(\\s*([+-]?\\d+)(?:deg)?\\s*,\\s*([+-]?[\\d\\.]+)%\\s*,\\s*([+-]?[\\d\\.]+)%\\s*(?:,\\s*([+-]?[\\d\\.]+)\\s*)?\\)/;\n   var match = string.match(hsl);\n   if (match) {\n      var alpha = parseFloat(match[4]);\n      var h = scale(parseInt(match[1]), 0, 360),\n          s = scale(parseFloat(match[2]), 0, 100),\n          l = scale(parseFloat(match[3]), 0, 100),\n          a = scale(isNaN(alpha) ? 1 : alpha, 0, 1);\n      return [h, s, l, a];\n   }\n}\n\nfunction getHwb(string) {\n   if (!string) {\n      return;\n   }\n   var hwb = /^hwb\\(\\s*([+-]?\\d+)(?:deg)?\\s*,\\s*([+-]?[\\d\\.]+)%\\s*,\\s*([+-]?[\\d\\.]+)%\\s*(?:,\\s*([+-]?[\\d\\.]+)\\s*)?\\)/;\n   var match = string.match(hwb);\n   if (match) {\n    var alpha = parseFloat(match[4]);\n      var h = scale(parseInt(match[1]), 0, 360),\n          w = scale(parseFloat(match[2]), 0, 100),\n          b = scale(parseFloat(match[3]), 0, 100),\n          a = scale(isNaN(alpha) ? 1 : alpha, 0, 1);\n      return [h, w, b, a];\n   }\n}\n\nfunction getRgb(string) {\n   var rgba = getRgba(string);\n   return rgba && rgba.slice(0, 3);\n}\n\nfunction getHsl(string) {\n  var hsla = getHsla(string);\n  return hsla && hsla.slice(0, 3);\n}\n\nfunction getAlpha(string) {\n   var vals = getRgba(string);\n   if (vals) {\n      return vals[3];\n   }\n   else if (vals = getHsla(string)) {\n      return vals[3];\n   }\n   else if (vals = getHwb(string)) {\n      return vals[3];\n   }\n}\n\n// generators\nfunction hexString(rgba, a) {\n   var a = (a !== undefined && rgba.length === 3) ? a : rgba[3];\n   return \"#\" + hexDouble(rgba[0]) \n              + hexDouble(rgba[1])\n              + hexDouble(rgba[2])\n              + (\n                 (a >= 0 && a < 1)\n                 ? hexDouble(Math.round(a * 255))\n                 : \"\"\n              );\n}\n\nfunction rgbString(rgba, alpha) {\n   if (alpha < 1 || (rgba[3] && rgba[3] < 1)) {\n      return rgbaString(rgba, alpha);\n   }\n   return \"rgb(\" + rgba[0] + \", \" + rgba[1] + \", \" + rgba[2] + \")\";\n}\n\nfunction rgbaString(rgba, alpha) {\n   if (alpha === undefined) {\n      alpha = (rgba[3] !== undefined ? rgba[3] : 1);\n   }\n   return \"rgba(\" + rgba[0] + \", \" + rgba[1] + \", \" + rgba[2]\n           + \", \" + alpha + \")\";\n}\n\nfunction percentString(rgba, alpha) {\n   if (alpha < 1 || (rgba[3] && rgba[3] < 1)) {\n      return percentaString(rgba, alpha);\n   }\n   var r = Math.round(rgba[0]/255 * 100),\n       g = Math.round(rgba[1]/255 * 100),\n       b = Math.round(rgba[2]/255 * 100);\n\n   return \"rgb(\" + r + \"%, \" + g + \"%, \" + b + \"%)\";\n}\n\nfunction percentaString(rgba, alpha) {\n   var r = Math.round(rgba[0]/255 * 100),\n       g = Math.round(rgba[1]/255 * 100),\n       b = Math.round(rgba[2]/255 * 100);\n   return \"rgba(\" + r + \"%, \" + g + \"%, \" + b + \"%, \" + (alpha || rgba[3] || 1) + \")\";\n}\n\nfunction hslString(hsla, alpha) {\n   if (alpha < 1 || (hsla[3] && hsla[3] < 1)) {\n      return hslaString(hsla, alpha);\n   }\n   return \"hsl(\" + hsla[0] + \", \" + hsla[1] + \"%, \" + hsla[2] + \"%)\";\n}\n\nfunction hslaString(hsla, alpha) {\n   if (alpha === undefined) {\n      alpha = (hsla[3] !== undefined ? hsla[3] : 1);\n   }\n   return \"hsla(\" + hsla[0] + \", \" + hsla[1] + \"%, \" + hsla[2] + \"%, \"\n           + alpha + \")\";\n}\n\n// hwb is a bit different than rgb(a) & hsl(a) since there is no alpha specific syntax\n// (hwb have alpha optional & 1 is default value)\nfunction hwbString(hwb, alpha) {\n   if (alpha === undefined) {\n      alpha = (hwb[3] !== undefined ? hwb[3] : 1);\n   }\n   return \"hwb(\" + hwb[0] + \", \" + hwb[1] + \"%, \" + hwb[2] + \"%\"\n           + (alpha !== undefined && alpha !== 1 ? \", \" + alpha : \"\") + \")\";\n}\n\nfunction keyword(rgb) {\n  return reverseNames[rgb.slice(0, 3)];\n}\n\n// helpers\nfunction scale(num, min, max) {\n   return Math.min(Math.max(min, num), max);\n}\n\nfunction hexDouble(num) {\n  var str = num.toString(16).toUpperCase();\n  return (str.length < 2) ? \"0\" + str : str;\n}\n\n\n//create a list of reverse color names\nvar reverseNames = {};\nfor (var name in colorName$1) {\n   reverseNames[colorName$1[name]] = name;\n}\n\n/* MIT license */\n\n\n\nvar Color = function (obj) {\n\tif (obj instanceof Color) {\n\t\treturn obj;\n\t}\n\tif (!(this instanceof Color)) {\n\t\treturn new Color(obj);\n\t}\n\n\tthis.valid = false;\n\tthis.values = {\n\t\trgb: [0, 0, 0],\n\t\thsl: [0, 0, 0],\n\t\thsv: [0, 0, 0],\n\t\thwb: [0, 0, 0],\n\t\tcmyk: [0, 0, 0, 0],\n\t\talpha: 1\n\t};\n\n\t// parse Color() argument\n\tvar vals;\n\tif (typeof obj === 'string') {\n\t\tvals = colorString.getRgba(obj);\n\t\tif (vals) {\n\t\t\tthis.setValues('rgb', vals);\n\t\t} else if (vals = colorString.getHsla(obj)) {\n\t\t\tthis.setValues('hsl', vals);\n\t\t} else if (vals = colorString.getHwb(obj)) {\n\t\t\tthis.setValues('hwb', vals);\n\t\t}\n\t} else if (typeof obj === 'object') {\n\t\tvals = obj;\n\t\tif (vals.r !== undefined || vals.red !== undefined) {\n\t\t\tthis.setValues('rgb', vals);\n\t\t} else if (vals.l !== undefined || vals.lightness !== undefined) {\n\t\t\tthis.setValues('hsl', vals);\n\t\t} else if (vals.v !== undefined || vals.value !== undefined) {\n\t\t\tthis.setValues('hsv', vals);\n\t\t} else if (vals.w !== undefined || vals.whiteness !== undefined) {\n\t\t\tthis.setValues('hwb', vals);\n\t\t} else if (vals.c !== undefined || vals.cyan !== undefined) {\n\t\t\tthis.setValues('cmyk', vals);\n\t\t}\n\t}\n};\n\nColor.prototype = {\n\tisValid: function () {\n\t\treturn this.valid;\n\t},\n\trgb: function () {\n\t\treturn this.setSpace('rgb', arguments);\n\t},\n\thsl: function () {\n\t\treturn this.setSpace('hsl', arguments);\n\t},\n\thsv: function () {\n\t\treturn this.setSpace('hsv', arguments);\n\t},\n\thwb: function () {\n\t\treturn this.setSpace('hwb', arguments);\n\t},\n\tcmyk: function () {\n\t\treturn this.setSpace('cmyk', arguments);\n\t},\n\n\trgbArray: function () {\n\t\treturn this.values.rgb;\n\t},\n\thslArray: function () {\n\t\treturn this.values.hsl;\n\t},\n\thsvArray: function () {\n\t\treturn this.values.hsv;\n\t},\n\thwbArray: function () {\n\t\tvar values = this.values;\n\t\tif (values.alpha !== 1) {\n\t\t\treturn values.hwb.concat([values.alpha]);\n\t\t}\n\t\treturn values.hwb;\n\t},\n\tcmykArray: function () {\n\t\treturn this.values.cmyk;\n\t},\n\trgbaArray: function () {\n\t\tvar values = this.values;\n\t\treturn values.rgb.concat([values.alpha]);\n\t},\n\thslaArray: function () {\n\t\tvar values = this.values;\n\t\treturn values.hsl.concat([values.alpha]);\n\t},\n\talpha: function (val) {\n\t\tif (val === undefined) {\n\t\t\treturn this.values.alpha;\n\t\t}\n\t\tthis.setValues('alpha', val);\n\t\treturn this;\n\t},\n\n\tred: function (val) {\n\t\treturn this.setChannel('rgb', 0, val);\n\t},\n\tgreen: function (val) {\n\t\treturn this.setChannel('rgb', 1, val);\n\t},\n\tblue: function (val) {\n\t\treturn this.setChannel('rgb', 2, val);\n\t},\n\thue: function (val) {\n\t\tif (val) {\n\t\t\tval %= 360;\n\t\t\tval = val < 0 ? 360 + val : val;\n\t\t}\n\t\treturn this.setChannel('hsl', 0, val);\n\t},\n\tsaturation: function (val) {\n\t\treturn this.setChannel('hsl', 1, val);\n\t},\n\tlightness: function (val) {\n\t\treturn this.setChannel('hsl', 2, val);\n\t},\n\tsaturationv: function (val) {\n\t\treturn this.setChannel('hsv', 1, val);\n\t},\n\twhiteness: function (val) {\n\t\treturn this.setChannel('hwb', 1, val);\n\t},\n\tblackness: function (val) {\n\t\treturn this.setChannel('hwb', 2, val);\n\t},\n\tvalue: function (val) {\n\t\treturn this.setChannel('hsv', 2, val);\n\t},\n\tcyan: function (val) {\n\t\treturn this.setChannel('cmyk', 0, val);\n\t},\n\tmagenta: function (val) {\n\t\treturn this.setChannel('cmyk', 1, val);\n\t},\n\tyellow: function (val) {\n\t\treturn this.setChannel('cmyk', 2, val);\n\t},\n\tblack: function (val) {\n\t\treturn this.setChannel('cmyk', 3, val);\n\t},\n\n\thexString: function () {\n\t\treturn colorString.hexString(this.values.rgb);\n\t},\n\trgbString: function () {\n\t\treturn colorString.rgbString(this.values.rgb, this.values.alpha);\n\t},\n\trgbaString: function () {\n\t\treturn colorString.rgbaString(this.values.rgb, this.values.alpha);\n\t},\n\tpercentString: function () {\n\t\treturn colorString.percentString(this.values.rgb, this.values.alpha);\n\t},\n\thslString: function () {\n\t\treturn colorString.hslString(this.values.hsl, this.values.alpha);\n\t},\n\thslaString: function () {\n\t\treturn colorString.hslaString(this.values.hsl, this.values.alpha);\n\t},\n\thwbString: function () {\n\t\treturn colorString.hwbString(this.values.hwb, this.values.alpha);\n\t},\n\tkeyword: function () {\n\t\treturn colorString.keyword(this.values.rgb, this.values.alpha);\n\t},\n\n\trgbNumber: function () {\n\t\tvar rgb = this.values.rgb;\n\t\treturn (rgb[0] << 16) | (rgb[1] << 8) | rgb[2];\n\t},\n\n\tluminosity: function () {\n\t\t// http://www.w3.org/TR/WCAG20/#relativeluminancedef\n\t\tvar rgb = this.values.rgb;\n\t\tvar lum = [];\n\t\tfor (var i = 0; i < rgb.length; i++) {\n\t\t\tvar chan = rgb[i] / 255;\n\t\t\tlum[i] = (chan <= 0.03928) ? chan / 12.92 : Math.pow(((chan + 0.055) / 1.055), 2.4);\n\t\t}\n\t\treturn 0.2126 * lum[0] + 0.7152 * lum[1] + 0.0722 * lum[2];\n\t},\n\n\tcontrast: function (color2) {\n\t\t// http://www.w3.org/TR/WCAG20/#contrast-ratiodef\n\t\tvar lum1 = this.luminosity();\n\t\tvar lum2 = color2.luminosity();\n\t\tif (lum1 > lum2) {\n\t\t\treturn (lum1 + 0.05) / (lum2 + 0.05);\n\t\t}\n\t\treturn (lum2 + 0.05) / (lum1 + 0.05);\n\t},\n\n\tlevel: function (color2) {\n\t\tvar contrastRatio = this.contrast(color2);\n\t\tif (contrastRatio >= 7.1) {\n\t\t\treturn 'AAA';\n\t\t}\n\n\t\treturn (contrastRatio >= 4.5) ? 'AA' : '';\n\t},\n\n\tdark: function () {\n\t\t// YIQ equation from http://24ways.org/2010/calculating-color-contrast\n\t\tvar rgb = this.values.rgb;\n\t\tvar yiq = (rgb[0] * 299 + rgb[1] * 587 + rgb[2] * 114) / 1000;\n\t\treturn yiq < 128;\n\t},\n\n\tlight: function () {\n\t\treturn !this.dark();\n\t},\n\n\tnegate: function () {\n\t\tvar rgb = [];\n\t\tfor (var i = 0; i < 3; i++) {\n\t\t\trgb[i] = 255 - this.values.rgb[i];\n\t\t}\n\t\tthis.setValues('rgb', rgb);\n\t\treturn this;\n\t},\n\n\tlighten: function (ratio) {\n\t\tvar hsl = this.values.hsl;\n\t\thsl[2] += hsl[2] * ratio;\n\t\tthis.setValues('hsl', hsl);\n\t\treturn this;\n\t},\n\n\tdarken: function (ratio) {\n\t\tvar hsl = this.values.hsl;\n\t\thsl[2] -= hsl[2] * ratio;\n\t\tthis.setValues('hsl', hsl);\n\t\treturn this;\n\t},\n\n\tsaturate: function (ratio) {\n\t\tvar hsl = this.values.hsl;\n\t\thsl[1] += hsl[1] * ratio;\n\t\tthis.setValues('hsl', hsl);\n\t\treturn this;\n\t},\n\n\tdesaturate: function (ratio) {\n\t\tvar hsl = this.values.hsl;\n\t\thsl[1] -= hsl[1] * ratio;\n\t\tthis.setValues('hsl', hsl);\n\t\treturn this;\n\t},\n\n\twhiten: function (ratio) {\n\t\tvar hwb = this.values.hwb;\n\t\thwb[1] += hwb[1] * ratio;\n\t\tthis.setValues('hwb', hwb);\n\t\treturn this;\n\t},\n\n\tblacken: function (ratio) {\n\t\tvar hwb = this.values.hwb;\n\t\thwb[2] += hwb[2] * ratio;\n\t\tthis.setValues('hwb', hwb);\n\t\treturn this;\n\t},\n\n\tgreyscale: function () {\n\t\tvar rgb = this.values.rgb;\n\t\t// http://en.wikipedia.org/wiki/Grayscale#Converting_color_to_grayscale\n\t\tvar val = rgb[0] * 0.3 + rgb[1] * 0.59 + rgb[2] * 0.11;\n\t\tthis.setValues('rgb', [val, val, val]);\n\t\treturn this;\n\t},\n\n\tclearer: function (ratio) {\n\t\tvar alpha = this.values.alpha;\n\t\tthis.setValues('alpha', alpha - (alpha * ratio));\n\t\treturn this;\n\t},\n\n\topaquer: function (ratio) {\n\t\tvar alpha = this.values.alpha;\n\t\tthis.setValues('alpha', alpha + (alpha * ratio));\n\t\treturn this;\n\t},\n\n\trotate: function (degrees) {\n\t\tvar hsl = this.values.hsl;\n\t\tvar hue = (hsl[0] + degrees) % 360;\n\t\thsl[0] = hue < 0 ? 360 + hue : hue;\n\t\tthis.setValues('hsl', hsl);\n\t\treturn this;\n\t},\n\n\t/**\n\t * Ported from sass implementation in C\n\t * https://github.com/sass/libsass/blob/0e6b4a2850092356aa3ece07c6b249f0221caced/functions.cpp#L209\n\t */\n\tmix: function (mixinColor, weight) {\n\t\tvar color1 = this;\n\t\tvar color2 = mixinColor;\n\t\tvar p = weight === undefined ? 0.5 : weight;\n\n\t\tvar w = 2 * p - 1;\n\t\tvar a = color1.alpha() - color2.alpha();\n\n\t\tvar w1 = (((w * a === -1) ? w : (w + a) / (1 + w * a)) + 1) / 2.0;\n\t\tvar w2 = 1 - w1;\n\n\t\treturn this\n\t\t\t.rgb(\n\t\t\t\tw1 * color1.red() + w2 * color2.red(),\n\t\t\t\tw1 * color1.green() + w2 * color2.green(),\n\t\t\t\tw1 * color1.blue() + w2 * color2.blue()\n\t\t\t)\n\t\t\t.alpha(color1.alpha() * p + color2.alpha() * (1 - p));\n\t},\n\n\ttoJSON: function () {\n\t\treturn this.rgb();\n\t},\n\n\tclone: function () {\n\t\t// NOTE(SB): using node-clone creates a dependency to Buffer when using browserify,\n\t\t// making the final build way to big to embed in Chart.js. So let's do it manually,\n\t\t// assuming that values to clone are 1 dimension arrays containing only numbers,\n\t\t// except 'alpha' which is a number.\n\t\tvar result = new Color();\n\t\tvar source = this.values;\n\t\tvar target = result.values;\n\t\tvar value, type;\n\n\t\tfor (var prop in source) {\n\t\t\tif (source.hasOwnProperty(prop)) {\n\t\t\t\tvalue = source[prop];\n\t\t\t\ttype = ({}).toString.call(value);\n\t\t\t\tif (type === '[object Array]') {\n\t\t\t\t\ttarget[prop] = value.slice(0);\n\t\t\t\t} else if (type === '[object Number]') {\n\t\t\t\t\ttarget[prop] = value;\n\t\t\t\t} else {\n\t\t\t\t\tconsole.error('unexpected color value:', value);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn result;\n\t}\n};\n\nColor.prototype.spaces = {\n\trgb: ['red', 'green', 'blue'],\n\thsl: ['hue', 'saturation', 'lightness'],\n\thsv: ['hue', 'saturation', 'value'],\n\thwb: ['hue', 'whiteness', 'blackness'],\n\tcmyk: ['cyan', 'magenta', 'yellow', 'black']\n};\n\nColor.prototype.maxes = {\n\trgb: [255, 255, 255],\n\thsl: [360, 100, 100],\n\thsv: [360, 100, 100],\n\thwb: [360, 100, 100],\n\tcmyk: [100, 100, 100, 100]\n};\n\nColor.prototype.getValues = function (space) {\n\tvar values = this.values;\n\tvar vals = {};\n\n\tfor (var i = 0; i < space.length; i++) {\n\t\tvals[space.charAt(i)] = values[space][i];\n\t}\n\n\tif (values.alpha !== 1) {\n\t\tvals.a = values.alpha;\n\t}\n\n\t// {r: 255, g: 255, b: 255, a: 0.4}\n\treturn vals;\n};\n\nColor.prototype.setValues = function (space, vals) {\n\tvar values = this.values;\n\tvar spaces = this.spaces;\n\tvar maxes = this.maxes;\n\tvar alpha = 1;\n\tvar i;\n\n\tthis.valid = true;\n\n\tif (space === 'alpha') {\n\t\talpha = vals;\n\t} else if (vals.length) {\n\t\t// [10, 10, 10]\n\t\tvalues[space] = vals.slice(0, space.length);\n\t\talpha = vals[space.length];\n\t} else if (vals[space.charAt(0)] !== undefined) {\n\t\t// {r: 10, g: 10, b: 10}\n\t\tfor (i = 0; i < space.length; i++) {\n\t\t\tvalues[space][i] = vals[space.charAt(i)];\n\t\t}\n\n\t\talpha = vals.a;\n\t} else if (vals[spaces[space][0]] !== undefined) {\n\t\t// {red: 10, green: 10, blue: 10}\n\t\tvar chans = spaces[space];\n\n\t\tfor (i = 0; i < space.length; i++) {\n\t\t\tvalues[space][i] = vals[chans[i]];\n\t\t}\n\n\t\talpha = vals.alpha;\n\t}\n\n\tvalues.alpha = Math.max(0, Math.min(1, (alpha === undefined ? values.alpha : alpha)));\n\n\tif (space === 'alpha') {\n\t\treturn false;\n\t}\n\n\tvar capped;\n\n\t// cap values of the space prior converting all values\n\tfor (i = 0; i < space.length; i++) {\n\t\tcapped = Math.max(0, Math.min(maxes[space][i], values[space][i]));\n\t\tvalues[space][i] = Math.round(capped);\n\t}\n\n\t// convert to all the other color spaces\n\tfor (var sname in spaces) {\n\t\tif (sname !== space) {\n\t\t\tvalues[sname] = colorConvert[space][sname](values[space]);\n\t\t}\n\t}\n\n\treturn true;\n};\n\nColor.prototype.setSpace = function (space, args) {\n\tvar vals = args[0];\n\n\tif (vals === undefined) {\n\t\t// color.rgb()\n\t\treturn this.getValues(space);\n\t}\n\n\t// color.rgb(10, 10, 10)\n\tif (typeof vals === 'number') {\n\t\tvals = Array.prototype.slice.call(args);\n\t}\n\n\tthis.setValues(space, vals);\n\treturn this;\n};\n\nColor.prototype.setChannel = function (space, index, val) {\n\tvar svalues = this.values[space];\n\tif (val === undefined) {\n\t\t// color.red()\n\t\treturn svalues[index];\n\t} else if (val === svalues[index]) {\n\t\t// color.red(color.red())\n\t\treturn this;\n\t}\n\n\t// color.red(100)\n\tsvalues[index] = val;\n\tthis.setValues(space, svalues);\n\n\treturn this;\n};\n\nif (typeof window !== 'undefined') {\n\twindow.Color = Color;\n}\n\nvar chartjsColor = Color;\n\nfunction isValidKey(key) {\r\n\treturn ['__proto__', 'prototype', 'constructor'].indexOf(key) === -1;\r\n}\r\n\r\n/**\r\n * @namespace Chart.helpers\r\n */\r\nvar helpers = {\r\n\t/**\r\n\t * An empty function that can be used, for example, for optional callback.\r\n\t */\r\n\tnoop: function() {},\r\n\r\n\t/**\r\n\t * Returns a unique id, sequentially generated from a global variable.\r\n\t * @returns {number}\r\n\t * @function\r\n\t */\r\n\tuid: (function() {\r\n\t\tvar id = 0;\r\n\t\treturn function() {\r\n\t\t\treturn id++;\r\n\t\t};\r\n\t}()),\r\n\r\n\t/**\r\n\t * Returns true if `value` is neither null nor undefined, else returns false.\r\n\t * @param {*} value - The value to test.\r\n\t * @returns {boolean}\r\n\t * @since 2.7.0\r\n\t */\r\n\tisNullOrUndef: function(value) {\r\n\t\treturn value === null || typeof value === 'undefined';\r\n\t},\r\n\r\n\t/**\r\n\t * Returns true if `value` is an array (including typed arrays), else returns false.\r\n\t * @param {*} value - The value to test.\r\n\t * @returns {boolean}\r\n\t * @function\r\n\t */\r\n\tisArray: function(value) {\r\n\t\tif (Array.isArray && Array.isArray(value)) {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\tvar type = Object.prototype.toString.call(value);\r\n\t\tif (type.substr(0, 7) === '[object' && type.substr(-6) === 'Array]') {\r\n\t\t\treturn true;\r\n\t\t}\r\n\t\treturn false;\r\n\t},\r\n\r\n\t/**\r\n\t * Returns true if `value` is an object (excluding null), else returns false.\r\n\t * @param {*} value - The value to test.\r\n\t * @returns {boolean}\r\n\t * @since 2.7.0\r\n\t */\r\n\tisObject: function(value) {\r\n\t\treturn value !== null && Object.prototype.toString.call(value) === '[object Object]';\r\n\t},\r\n\r\n\t/**\r\n\t * Returns true if `value` is a finite number, else returns false\r\n\t * @param {*} value  - The value to test.\r\n\t * @returns {boolean}\r\n\t */\r\n\tisFinite: function(value) {\r\n\t\treturn (typeof value === 'number' || value instanceof Number) && isFinite(value);\r\n\t},\r\n\r\n\t/**\r\n\t * Returns `value` if defined, else returns `defaultValue`.\r\n\t * @param {*} value - The value to return if defined.\r\n\t * @param {*} defaultValue - The value to return if `value` is undefined.\r\n\t * @returns {*}\r\n\t */\r\n\tvalueOrDefault: function(value, defaultValue) {\r\n\t\treturn typeof value === 'undefined' ? defaultValue : value;\r\n\t},\r\n\r\n\t/**\r\n\t * Returns value at the given `index` in array if defined, else returns `defaultValue`.\r\n\t * @param {Array} value - The array to lookup for value at `index`.\r\n\t * @param {number} index - The index in `value` to lookup for value.\r\n\t * @param {*} defaultValue - The value to return if `value[index]` is undefined.\r\n\t * @returns {*}\r\n\t */\r\n\tvalueAtIndexOrDefault: function(value, index, defaultValue) {\r\n\t\treturn helpers.valueOrDefault(helpers.isArray(value) ? value[index] : value, defaultValue);\r\n\t},\r\n\r\n\t/**\r\n\t * Calls `fn` with the given `args` in the scope defined by `thisArg` and returns the\r\n\t * value returned by `fn`. If `fn` is not a function, this method returns undefined.\r\n\t * @param {function} fn - The function to call.\r\n\t * @param {Array|undefined|null} args - The arguments with which `fn` should be called.\r\n\t * @param {object} [thisArg] - The value of `this` provided for the call to `fn`.\r\n\t * @returns {*}\r\n\t */\r\n\tcallback: function(fn, args, thisArg) {\r\n\t\tif (fn && typeof fn.call === 'function') {\r\n\t\t\treturn fn.apply(thisArg, args);\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * Note(SB) for performance sake, this method should only be used when loopable type\r\n\t * is unknown or in none intensive code (not called often and small loopable). Else\r\n\t * it's preferable to use a regular for() loop and save extra function calls.\r\n\t * @param {object|Array} loopable - The object or array to be iterated.\r\n\t * @param {function} fn - The function to call for each item.\r\n\t * @param {object} [thisArg] - The value of `this` provided for the call to `fn`.\r\n\t * @param {boolean} [reverse] - If true, iterates backward on the loopable.\r\n\t */\r\n\teach: function(loopable, fn, thisArg, reverse) {\r\n\t\tvar i, len, keys;\r\n\t\tif (helpers.isArray(loopable)) {\r\n\t\t\tlen = loopable.length;\r\n\t\t\tif (reverse) {\r\n\t\t\t\tfor (i = len - 1; i >= 0; i--) {\r\n\t\t\t\t\tfn.call(thisArg, loopable[i], i);\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tfor (i = 0; i < len; i++) {\r\n\t\t\t\t\tfn.call(thisArg, loopable[i], i);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t} else if (helpers.isObject(loopable)) {\r\n\t\t\tkeys = Object.keys(loopable);\r\n\t\t\tlen = keys.length;\r\n\t\t\tfor (i = 0; i < len; i++) {\r\n\t\t\t\tfn.call(thisArg, loopable[keys[i]], keys[i]);\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * Returns true if the `a0` and `a1` arrays have the same content, else returns false.\r\n\t * @see https://stackoverflow.com/a/14853974\r\n\t * @param {Array} a0 - The array to compare\r\n\t * @param {Array} a1 - The array to compare\r\n\t * @returns {boolean}\r\n\t */\r\n\tarrayEquals: function(a0, a1) {\r\n\t\tvar i, ilen, v0, v1;\r\n\r\n\t\tif (!a0 || !a1 || a0.length !== a1.length) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\tfor (i = 0, ilen = a0.length; i < ilen; ++i) {\r\n\t\t\tv0 = a0[i];\r\n\t\t\tv1 = a1[i];\r\n\r\n\t\t\tif (v0 instanceof Array && v1 instanceof Array) {\r\n\t\t\t\tif (!helpers.arrayEquals(v0, v1)) {\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t} else if (v0 !== v1) {\r\n\t\t\t\t// NOTE: two different object instances will never be equal: {x:20} != {x:20}\r\n\t\t\t\treturn false;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn true;\r\n\t},\r\n\r\n\t/**\r\n\t * Returns a deep copy of `source` without keeping references on objects and arrays.\r\n\t * @param {*} source - The value to clone.\r\n\t * @returns {*}\r\n\t */\r\n\tclone: function(source) {\r\n\t\tif (helpers.isArray(source)) {\r\n\t\t\treturn source.map(helpers.clone);\r\n\t\t}\r\n\r\n\t\tif (helpers.isObject(source)) {\r\n\t\t\tvar target = Object.create(source);\r\n\t\t\tvar keys = Object.keys(source);\r\n\t\t\tvar klen = keys.length;\r\n\t\t\tvar k = 0;\r\n\r\n\t\t\tfor (; k < klen; ++k) {\r\n\t\t\t\ttarget[keys[k]] = helpers.clone(source[keys[k]]);\r\n\t\t\t}\r\n\r\n\t\t\treturn target;\r\n\t\t}\r\n\r\n\t\treturn source;\r\n\t},\r\n\r\n\t/**\r\n\t * The default merger when Chart.helpers.merge is called without merger option.\r\n\t * Note(SB): also used by mergeConfig and mergeScaleConfig as fallback.\r\n\t * @private\r\n\t */\r\n\t_merger: function(key, target, source, options) {\r\n\t\tif (!isValidKey(key)) {\r\n\t\t\t// We want to ensure we do not copy prototypes over\r\n\t\t\t// as this can pollute global namespaces\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar tval = target[key];\r\n\t\tvar sval = source[key];\r\n\r\n\t\tif (helpers.isObject(tval) && helpers.isObject(sval)) {\r\n\t\t\thelpers.merge(tval, sval, options);\r\n\t\t} else {\r\n\t\t\ttarget[key] = helpers.clone(sval);\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * Merges source[key] in target[key] only if target[key] is undefined.\r\n\t * @private\r\n\t */\r\n\t_mergerIf: function(key, target, source) {\r\n\t\tif (!isValidKey(key)) {\r\n\t\t\t// We want to ensure we do not copy prototypes over\r\n\t\t\t// as this can pollute global namespaces\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar tval = target[key];\r\n\t\tvar sval = source[key];\r\n\r\n\t\tif (helpers.isObject(tval) && helpers.isObject(sval)) {\r\n\t\t\thelpers.mergeIf(tval, sval);\r\n\t\t} else if (!target.hasOwnProperty(key)) {\r\n\t\t\ttarget[key] = helpers.clone(sval);\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * Recursively deep copies `source` properties into `target` with the given `options`.\r\n\t * IMPORTANT: `target` is not cloned and will be updated with `source` properties.\r\n\t * @param {object} target - The target object in which all sources are merged into.\r\n\t * @param {object|object[]} source - Object(s) to merge into `target`.\r\n\t * @param {object} [options] - Merging options:\r\n\t * @param {function} [options.merger] - The merge method (key, target, source, options)\r\n\t * @returns {object} The `target` object.\r\n\t */\r\n\tmerge: function(target, source, options) {\r\n\t\tvar sources = helpers.isArray(source) ? source : [source];\r\n\t\tvar ilen = sources.length;\r\n\t\tvar merge, i, keys, klen, k;\r\n\r\n\t\tif (!helpers.isObject(target)) {\r\n\t\t\treturn target;\r\n\t\t}\r\n\r\n\t\toptions = options || {};\r\n\t\tmerge = options.merger || helpers._merger;\r\n\r\n\t\tfor (i = 0; i < ilen; ++i) {\r\n\t\t\tsource = sources[i];\r\n\t\t\tif (!helpers.isObject(source)) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\tkeys = Object.keys(source);\r\n\t\t\tfor (k = 0, klen = keys.length; k < klen; ++k) {\r\n\t\t\t\tmerge(keys[k], target, source, options);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn target;\r\n\t},\r\n\r\n\t/**\r\n\t * Recursively deep copies `source` properties into `target` *only* if not defined in target.\r\n\t * IMPORTANT: `target` is not cloned and will be updated with `source` properties.\r\n\t * @param {object} target - The target object in which all sources are merged into.\r\n\t * @param {object|object[]} source - Object(s) to merge into `target`.\r\n\t * @returns {object} The `target` object.\r\n\t */\r\n\tmergeIf: function(target, source) {\r\n\t\treturn helpers.merge(target, source, {merger: helpers._mergerIf});\r\n\t},\r\n\r\n\t/**\r\n\t * Applies the contents of two or more objects together into the first object.\r\n\t * @param {object} target - The target object in which all objects are merged into.\r\n\t * @param {object} arg1 - Object containing additional properties to merge in target.\r\n\t * @param {object} argN - Additional objects containing properties to merge in target.\r\n\t * @returns {object} The `target` object.\r\n\t */\r\n\textend: Object.assign || function(target) {\r\n\t\treturn helpers.merge(target, [].slice.call(arguments, 1), {\r\n\t\t\tmerger: function(key, dst, src) {\r\n\t\t\t\tdst[key] = src[key];\r\n\t\t\t}\r\n\t\t});\r\n\t},\r\n\r\n\t/**\r\n\t * Basic javascript inheritance based on the model created in Backbone.js\r\n\t */\r\n\tinherits: function(extensions) {\r\n\t\tvar me = this;\r\n\t\tvar ChartElement = (extensions && extensions.hasOwnProperty('constructor')) ? extensions.constructor : function() {\r\n\t\t\treturn me.apply(this, arguments);\r\n\t\t};\r\n\r\n\t\tvar Surrogate = function() {\r\n\t\t\tthis.constructor = ChartElement;\r\n\t\t};\r\n\r\n\t\tSurrogate.prototype = me.prototype;\r\n\t\tChartElement.prototype = new Surrogate();\r\n\t\tChartElement.extend = helpers.inherits;\r\n\r\n\t\tif (extensions) {\r\n\t\t\thelpers.extend(ChartElement.prototype, extensions);\r\n\t\t}\r\n\r\n\t\tChartElement.__super__ = me.prototype;\r\n\t\treturn ChartElement;\r\n\t},\r\n\r\n\t_deprecated: function(scope, value, previous, current) {\r\n\t\tif (value !== undefined) {\r\n\t\t\tconsole.warn(scope + ': \"' + previous +\r\n\t\t\t\t'\" is deprecated. Please use \"' + current + '\" instead');\r\n\t\t}\r\n\t}\r\n};\r\n\r\nvar helpers_core = helpers;\r\n\r\n// DEPRECATIONS\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart.helpers.callback instead.\r\n * @function Chart.helpers.callCallback\r\n * @deprecated since version 2.6.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nhelpers.callCallback = helpers.callback;\r\n\r\n/**\r\n * Provided for backward compatibility, use Array.prototype.indexOf instead.\r\n * Array.prototype.indexOf compatibility: Chrome, Opera, Safari, FF1.5+, IE9+\r\n * @function Chart.helpers.indexOf\r\n * @deprecated since version 2.7.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nhelpers.indexOf = function(array, item, fromIndex) {\r\n\treturn Array.prototype.indexOf.call(array, item, fromIndex);\r\n};\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart.helpers.valueOrDefault instead.\r\n * @function Chart.helpers.getValueOrDefault\r\n * @deprecated since version 2.7.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nhelpers.getValueOrDefault = helpers.valueOrDefault;\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart.helpers.valueAtIndexOrDefault instead.\r\n * @function Chart.helpers.getValueAtIndexOrDefault\r\n * @deprecated since version 2.7.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nhelpers.getValueAtIndexOrDefault = helpers.valueAtIndexOrDefault;\n\n/**\r\n * Easing functions adapted from Robert Penner's easing equations.\r\n * @namespace Chart.helpers.easingEffects\r\n * @see http://www.robertpenner.com/easing/\r\n */\r\nvar effects = {\r\n\tlinear: function(t) {\r\n\t\treturn t;\r\n\t},\r\n\r\n\teaseInQuad: function(t) {\r\n\t\treturn t * t;\r\n\t},\r\n\r\n\teaseOutQuad: function(t) {\r\n\t\treturn -t * (t - 2);\r\n\t},\r\n\r\n\teaseInOutQuad: function(t) {\r\n\t\tif ((t /= 0.5) < 1) {\r\n\t\t\treturn 0.5 * t * t;\r\n\t\t}\r\n\t\treturn -0.5 * ((--t) * (t - 2) - 1);\r\n\t},\r\n\r\n\teaseInCubic: function(t) {\r\n\t\treturn t * t * t;\r\n\t},\r\n\r\n\teaseOutCubic: function(t) {\r\n\t\treturn (t = t - 1) * t * t + 1;\r\n\t},\r\n\r\n\teaseInOutCubic: function(t) {\r\n\t\tif ((t /= 0.5) < 1) {\r\n\t\t\treturn 0.5 * t * t * t;\r\n\t\t}\r\n\t\treturn 0.5 * ((t -= 2) * t * t + 2);\r\n\t},\r\n\r\n\teaseInQuart: function(t) {\r\n\t\treturn t * t * t * t;\r\n\t},\r\n\r\n\teaseOutQuart: function(t) {\r\n\t\treturn -((t = t - 1) * t * t * t - 1);\r\n\t},\r\n\r\n\teaseInOutQuart: function(t) {\r\n\t\tif ((t /= 0.5) < 1) {\r\n\t\t\treturn 0.5 * t * t * t * t;\r\n\t\t}\r\n\t\treturn -0.5 * ((t -= 2) * t * t * t - 2);\r\n\t},\r\n\r\n\teaseInQuint: function(t) {\r\n\t\treturn t * t * t * t * t;\r\n\t},\r\n\r\n\teaseOutQuint: function(t) {\r\n\t\treturn (t = t - 1) * t * t * t * t + 1;\r\n\t},\r\n\r\n\teaseInOutQuint: function(t) {\r\n\t\tif ((t /= 0.5) < 1) {\r\n\t\t\treturn 0.5 * t * t * t * t * t;\r\n\t\t}\r\n\t\treturn 0.5 * ((t -= 2) * t * t * t * t + 2);\r\n\t},\r\n\r\n\teaseInSine: function(t) {\r\n\t\treturn -Math.cos(t * (Math.PI / 2)) + 1;\r\n\t},\r\n\r\n\teaseOutSine: function(t) {\r\n\t\treturn Math.sin(t * (Math.PI / 2));\r\n\t},\r\n\r\n\teaseInOutSine: function(t) {\r\n\t\treturn -0.5 * (Math.cos(Math.PI * t) - 1);\r\n\t},\r\n\r\n\teaseInExpo: function(t) {\r\n\t\treturn (t === 0) ? 0 : Math.pow(2, 10 * (t - 1));\r\n\t},\r\n\r\n\teaseOutExpo: function(t) {\r\n\t\treturn (t === 1) ? 1 : -Math.pow(2, -10 * t) + 1;\r\n\t},\r\n\r\n\teaseInOutExpo: function(t) {\r\n\t\tif (t === 0) {\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t\tif (t === 1) {\r\n\t\t\treturn 1;\r\n\t\t}\r\n\t\tif ((t /= 0.5) < 1) {\r\n\t\t\treturn 0.5 * Math.pow(2, 10 * (t - 1));\r\n\t\t}\r\n\t\treturn 0.5 * (-Math.pow(2, -10 * --t) + 2);\r\n\t},\r\n\r\n\teaseInCirc: function(t) {\r\n\t\tif (t >= 1) {\r\n\t\t\treturn t;\r\n\t\t}\r\n\t\treturn -(Math.sqrt(1 - t * t) - 1);\r\n\t},\r\n\r\n\teaseOutCirc: function(t) {\r\n\t\treturn Math.sqrt(1 - (t = t - 1) * t);\r\n\t},\r\n\r\n\teaseInOutCirc: function(t) {\r\n\t\tif ((t /= 0.5) < 1) {\r\n\t\t\treturn -0.5 * (Math.sqrt(1 - t * t) - 1);\r\n\t\t}\r\n\t\treturn 0.5 * (Math.sqrt(1 - (t -= 2) * t) + 1);\r\n\t},\r\n\r\n\teaseInElastic: function(t) {\r\n\t\tvar s = 1.70158;\r\n\t\tvar p = 0;\r\n\t\tvar a = 1;\r\n\t\tif (t === 0) {\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t\tif (t === 1) {\r\n\t\t\treturn 1;\r\n\t\t}\r\n\t\tif (!p) {\r\n\t\t\tp = 0.3;\r\n\t\t}\r\n\t\tif (a < 1) {\r\n\t\t\ta = 1;\r\n\t\t\ts = p / 4;\r\n\t\t} else {\r\n\t\t\ts = p / (2 * Math.PI) * Math.asin(1 / a);\r\n\t\t}\r\n\t\treturn -(a * Math.pow(2, 10 * (t -= 1)) * Math.sin((t - s) * (2 * Math.PI) / p));\r\n\t},\r\n\r\n\teaseOutElastic: function(t) {\r\n\t\tvar s = 1.70158;\r\n\t\tvar p = 0;\r\n\t\tvar a = 1;\r\n\t\tif (t === 0) {\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t\tif (t === 1) {\r\n\t\t\treturn 1;\r\n\t\t}\r\n\t\tif (!p) {\r\n\t\t\tp = 0.3;\r\n\t\t}\r\n\t\tif (a < 1) {\r\n\t\t\ta = 1;\r\n\t\t\ts = p / 4;\r\n\t\t} else {\r\n\t\t\ts = p / (2 * Math.PI) * Math.asin(1 / a);\r\n\t\t}\r\n\t\treturn a * Math.pow(2, -10 * t) * Math.sin((t - s) * (2 * Math.PI) / p) + 1;\r\n\t},\r\n\r\n\teaseInOutElastic: function(t) {\r\n\t\tvar s = 1.70158;\r\n\t\tvar p = 0;\r\n\t\tvar a = 1;\r\n\t\tif (t === 0) {\r\n\t\t\treturn 0;\r\n\t\t}\r\n\t\tif ((t /= 0.5) === 2) {\r\n\t\t\treturn 1;\r\n\t\t}\r\n\t\tif (!p) {\r\n\t\t\tp = 0.45;\r\n\t\t}\r\n\t\tif (a < 1) {\r\n\t\t\ta = 1;\r\n\t\t\ts = p / 4;\r\n\t\t} else {\r\n\t\t\ts = p / (2 * Math.PI) * Math.asin(1 / a);\r\n\t\t}\r\n\t\tif (t < 1) {\r\n\t\t\treturn -0.5 * (a * Math.pow(2, 10 * (t -= 1)) * Math.sin((t - s) * (2 * Math.PI) / p));\r\n\t\t}\r\n\t\treturn a * Math.pow(2, -10 * (t -= 1)) * Math.sin((t - s) * (2 * Math.PI) / p) * 0.5 + 1;\r\n\t},\r\n\teaseInBack: function(t) {\r\n\t\tvar s = 1.70158;\r\n\t\treturn t * t * ((s + 1) * t - s);\r\n\t},\r\n\r\n\teaseOutBack: function(t) {\r\n\t\tvar s = 1.70158;\r\n\t\treturn (t = t - 1) * t * ((s + 1) * t + s) + 1;\r\n\t},\r\n\r\n\teaseInOutBack: function(t) {\r\n\t\tvar s = 1.70158;\r\n\t\tif ((t /= 0.5) < 1) {\r\n\t\t\treturn 0.5 * (t * t * (((s *= (1.525)) + 1) * t - s));\r\n\t\t}\r\n\t\treturn 0.5 * ((t -= 2) * t * (((s *= (1.525)) + 1) * t + s) + 2);\r\n\t},\r\n\r\n\teaseInBounce: function(t) {\r\n\t\treturn 1 - effects.easeOutBounce(1 - t);\r\n\t},\r\n\r\n\teaseOutBounce: function(t) {\r\n\t\tif (t < (1 / 2.75)) {\r\n\t\t\treturn 7.5625 * t * t;\r\n\t\t}\r\n\t\tif (t < (2 / 2.75)) {\r\n\t\t\treturn 7.5625 * (t -= (1.5 / 2.75)) * t + 0.75;\r\n\t\t}\r\n\t\tif (t < (2.5 / 2.75)) {\r\n\t\t\treturn 7.5625 * (t -= (2.25 / 2.75)) * t + 0.9375;\r\n\t\t}\r\n\t\treturn 7.5625 * (t -= (2.625 / 2.75)) * t + 0.984375;\r\n\t},\r\n\r\n\teaseInOutBounce: function(t) {\r\n\t\tif (t < 0.5) {\r\n\t\t\treturn effects.easeInBounce(t * 2) * 0.5;\r\n\t\t}\r\n\t\treturn effects.easeOutBounce(t * 2 - 1) * 0.5 + 0.5;\r\n\t}\r\n};\r\n\r\nvar helpers_easing = {\r\n\teffects: effects\r\n};\r\n\r\n// DEPRECATIONS\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart.helpers.easing.effects instead.\r\n * @function Chart.helpers.easingEffects\r\n * @deprecated since version 2.7.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nhelpers_core.easingEffects = effects;\n\nvar PI = Math.PI;\r\nvar RAD_PER_DEG = PI / 180;\r\nvar DOUBLE_PI = PI * 2;\r\nvar HALF_PI = PI / 2;\r\nvar QUARTER_PI = PI / 4;\r\nvar TWO_THIRDS_PI = PI * 2 / 3;\r\n\r\n/**\r\n * @namespace Chart.helpers.canvas\r\n */\r\nvar exports$1 = {\r\n\t/**\r\n\t * Clears the entire canvas associated to the given `chart`.\r\n\t * @param {Chart} chart - The chart for which to clear the canvas.\r\n\t */\r\n\tclear: function(chart) {\r\n\t\tchart.ctx.clearRect(0, 0, chart.width, chart.height);\r\n\t},\r\n\r\n\t/**\r\n\t * Creates a \"path\" for a rectangle with rounded corners at position (x, y) with a\r\n\t * given size (width, height) and the same `radius` for all corners.\r\n\t * @param {CanvasRenderingContext2D} ctx - The canvas 2D Context.\r\n\t * @param {number} x - The x axis of the coordinate for the rectangle starting point.\r\n\t * @param {number} y - The y axis of the coordinate for the rectangle starting point.\r\n\t * @param {number} width - The rectangle's width.\r\n\t * @param {number} height - The rectangle's height.\r\n\t * @param {number} radius - The rounded amount (in pixels) for the four corners.\r\n\t * @todo handle `radius` as top-left, top-right, bottom-right, bottom-left array/object?\r\n\t */\r\n\troundedRect: function(ctx, x, y, width, height, radius) {\r\n\t\tif (radius) {\r\n\t\t\tvar r = Math.min(radius, height / 2, width / 2);\r\n\t\t\tvar left = x + r;\r\n\t\t\tvar top = y + r;\r\n\t\t\tvar right = x + width - r;\r\n\t\t\tvar bottom = y + height - r;\r\n\r\n\t\t\tctx.moveTo(x, top);\r\n\t\t\tif (left < right && top < bottom) {\r\n\t\t\t\tctx.arc(left, top, r, -PI, -HALF_PI);\r\n\t\t\t\tctx.arc(right, top, r, -HALF_PI, 0);\r\n\t\t\t\tctx.arc(right, bottom, r, 0, HALF_PI);\r\n\t\t\t\tctx.arc(left, bottom, r, HALF_PI, PI);\r\n\t\t\t} else if (left < right) {\r\n\t\t\t\tctx.moveTo(left, y);\r\n\t\t\t\tctx.arc(right, top, r, -HALF_PI, HALF_PI);\r\n\t\t\t\tctx.arc(left, top, r, HALF_PI, PI + HALF_PI);\r\n\t\t\t} else if (top < bottom) {\r\n\t\t\t\tctx.arc(left, top, r, -PI, 0);\r\n\t\t\t\tctx.arc(left, bottom, r, 0, PI);\r\n\t\t\t} else {\r\n\t\t\t\tctx.arc(left, top, r, -PI, PI);\r\n\t\t\t}\r\n\t\t\tctx.closePath();\r\n\t\t\tctx.moveTo(x, y);\r\n\t\t} else {\r\n\t\t\tctx.rect(x, y, width, height);\r\n\t\t}\r\n\t},\r\n\r\n\tdrawPoint: function(ctx, style, radius, x, y, rotation) {\r\n\t\tvar type, xOffset, yOffset, size, cornerRadius;\r\n\t\tvar rad = (rotation || 0) * RAD_PER_DEG;\r\n\r\n\t\tif (style && typeof style === 'object') {\r\n\t\t\ttype = style.toString();\r\n\t\t\tif (type === '[object HTMLImageElement]' || type === '[object HTMLCanvasElement]') {\r\n\t\t\t\tctx.save();\r\n\t\t\t\tctx.translate(x, y);\r\n\t\t\t\tctx.rotate(rad);\r\n\t\t\t\tctx.drawImage(style, -style.width / 2, -style.height / 2, style.width, style.height);\r\n\t\t\t\tctx.restore();\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (isNaN(radius) || radius <= 0) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tctx.beginPath();\r\n\r\n\t\tswitch (style) {\r\n\t\t// Default includes circle\r\n\t\tdefault:\r\n\t\t\tctx.arc(x, y, radius, 0, DOUBLE_PI);\r\n\t\t\tctx.closePath();\r\n\t\t\tbreak;\r\n\t\tcase 'triangle':\r\n\t\t\tctx.moveTo(x + Math.sin(rad) * radius, y - Math.cos(rad) * radius);\r\n\t\t\trad += TWO_THIRDS_PI;\r\n\t\t\tctx.lineTo(x + Math.sin(rad) * radius, y - Math.cos(rad) * radius);\r\n\t\t\trad += TWO_THIRDS_PI;\r\n\t\t\tctx.lineTo(x + Math.sin(rad) * radius, y - Math.cos(rad) * radius);\r\n\t\t\tctx.closePath();\r\n\t\t\tbreak;\r\n\t\tcase 'rectRounded':\r\n\t\t\t// NOTE: the rounded rect implementation changed to use `arc` instead of\r\n\t\t\t// `quadraticCurveTo` since it generates better results when rect is\r\n\t\t\t// almost a circle. 0.516 (instead of 0.5) produces results with visually\r\n\t\t\t// closer proportion to the previous impl and it is inscribed in the\r\n\t\t\t// circle with `radius`. For more details, see the following PRs:\r\n\t\t\t// https://github.com/chartjs/Chart.js/issues/5597\r\n\t\t\t// https://github.com/chartjs/Chart.js/issues/5858\r\n\t\t\tcornerRadius = radius * 0.516;\r\n\t\t\tsize = radius - cornerRadius;\r\n\t\t\txOffset = Math.cos(rad + QUARTER_PI) * size;\r\n\t\t\tyOffset = Math.sin(rad + QUARTER_PI) * size;\r\n\t\t\tctx.arc(x - xOffset, y - yOffset, cornerRadius, rad - PI, rad - HALF_PI);\r\n\t\t\tctx.arc(x + yOffset, y - xOffset, cornerRadius, rad - HALF_PI, rad);\r\n\t\t\tctx.arc(x + xOffset, y + yOffset, cornerRadius, rad, rad + HALF_PI);\r\n\t\t\tctx.arc(x - yOffset, y + xOffset, cornerRadius, rad + HALF_PI, rad + PI);\r\n\t\t\tctx.closePath();\r\n\t\t\tbreak;\r\n\t\tcase 'rect':\r\n\t\t\tif (!rotation) {\r\n\t\t\t\tsize = Math.SQRT1_2 * radius;\r\n\t\t\t\tctx.rect(x - size, y - size, 2 * size, 2 * size);\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t\trad += QUARTER_PI;\r\n\t\t\t/* falls through */\r\n\t\tcase 'rectRot':\r\n\t\t\txOffset = Math.cos(rad) * radius;\r\n\t\t\tyOffset = Math.sin(rad) * radius;\r\n\t\t\tctx.moveTo(x - xOffset, y - yOffset);\r\n\t\t\tctx.lineTo(x + yOffset, y - xOffset);\r\n\t\t\tctx.lineTo(x + xOffset, y + yOffset);\r\n\t\t\tctx.lineTo(x - yOffset, y + xOffset);\r\n\t\t\tctx.closePath();\r\n\t\t\tbreak;\r\n\t\tcase 'crossRot':\r\n\t\t\trad += QUARTER_PI;\r\n\t\t\t/* falls through */\r\n\t\tcase 'cross':\r\n\t\t\txOffset = Math.cos(rad) * radius;\r\n\t\t\tyOffset = Math.sin(rad) * radius;\r\n\t\t\tctx.moveTo(x - xOffset, y - yOffset);\r\n\t\t\tctx.lineTo(x + xOffset, y + yOffset);\r\n\t\t\tctx.moveTo(x + yOffset, y - xOffset);\r\n\t\t\tctx.lineTo(x - yOffset, y + xOffset);\r\n\t\t\tbreak;\r\n\t\tcase 'star':\r\n\t\t\txOffset = Math.cos(rad) * radius;\r\n\t\t\tyOffset = Math.sin(rad) * radius;\r\n\t\t\tctx.moveTo(x - xOffset, y - yOffset);\r\n\t\t\tctx.lineTo(x + xOffset, y + yOffset);\r\n\t\t\tctx.moveTo(x + yOffset, y - xOffset);\r\n\t\t\tctx.lineTo(x - yOffset, y + xOffset);\r\n\t\t\trad += QUARTER_PI;\r\n\t\t\txOffset = Math.cos(rad) * radius;\r\n\t\t\tyOffset = Math.sin(rad) * radius;\r\n\t\t\tctx.moveTo(x - xOffset, y - yOffset);\r\n\t\t\tctx.lineTo(x + xOffset, y + yOffset);\r\n\t\t\tctx.moveTo(x + yOffset, y - xOffset);\r\n\t\t\tctx.lineTo(x - yOffset, y + xOffset);\r\n\t\t\tbreak;\r\n\t\tcase 'line':\r\n\t\t\txOffset = Math.cos(rad) * radius;\r\n\t\t\tyOffset = Math.sin(rad) * radius;\r\n\t\t\tctx.moveTo(x - xOffset, y - yOffset);\r\n\t\t\tctx.lineTo(x + xOffset, y + yOffset);\r\n\t\t\tbreak;\r\n\t\tcase 'dash':\r\n\t\t\tctx.moveTo(x, y);\r\n\t\t\tctx.lineTo(x + Math.cos(rad) * radius, y + Math.sin(rad) * radius);\r\n\t\t\tbreak;\r\n\t\t}\r\n\r\n\t\tctx.fill();\r\n\t\tctx.stroke();\r\n\t},\r\n\r\n\t/**\r\n\t * Returns true if the point is inside the rectangle\r\n\t * @param {object} point - The point to test\r\n\t * @param {object} area - The rectangle\r\n\t * @returns {boolean}\r\n\t * @private\r\n\t */\r\n\t_isPointInArea: function(point, area) {\r\n\t\tvar epsilon = 1e-6; // 1e-6 is margin in pixels for accumulated error.\r\n\r\n\t\treturn point.x > area.left - epsilon && point.x < area.right + epsilon &&\r\n\t\t\tpoint.y > area.top - epsilon && point.y < area.bottom + epsilon;\r\n\t},\r\n\r\n\tclipArea: function(ctx, area) {\r\n\t\tctx.save();\r\n\t\tctx.beginPath();\r\n\t\tctx.rect(area.left, area.top, area.right - area.left, area.bottom - area.top);\r\n\t\tctx.clip();\r\n\t},\r\n\r\n\tunclipArea: function(ctx) {\r\n\t\tctx.restore();\r\n\t},\r\n\r\n\tlineTo: function(ctx, previous, target, flip) {\r\n\t\tvar stepped = target.steppedLine;\r\n\t\tif (stepped) {\r\n\t\t\tif (stepped === 'middle') {\r\n\t\t\t\tvar midpoint = (previous.x + target.x) / 2.0;\r\n\t\t\t\tctx.lineTo(midpoint, flip ? target.y : previous.y);\r\n\t\t\t\tctx.lineTo(midpoint, flip ? previous.y : target.y);\r\n\t\t\t} else if ((stepped === 'after' && !flip) || (stepped !== 'after' && flip)) {\r\n\t\t\t\tctx.lineTo(previous.x, target.y);\r\n\t\t\t} else {\r\n\t\t\t\tctx.lineTo(target.x, previous.y);\r\n\t\t\t}\r\n\t\t\tctx.lineTo(target.x, target.y);\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (!target.tension) {\r\n\t\t\tctx.lineTo(target.x, target.y);\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tctx.bezierCurveTo(\r\n\t\t\tflip ? previous.controlPointPreviousX : previous.controlPointNextX,\r\n\t\t\tflip ? previous.controlPointPreviousY : previous.controlPointNextY,\r\n\t\t\tflip ? target.controlPointNextX : target.controlPointPreviousX,\r\n\t\t\tflip ? target.controlPointNextY : target.controlPointPreviousY,\r\n\t\t\ttarget.x,\r\n\t\t\ttarget.y);\r\n\t}\r\n};\r\n\r\nvar helpers_canvas = exports$1;\r\n\r\n// DEPRECATIONS\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart.helpers.canvas.clear instead.\r\n * @namespace Chart.helpers.clear\r\n * @deprecated since version 2.7.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nhelpers_core.clear = exports$1.clear;\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart.helpers.canvas.roundedRect instead.\r\n * @namespace Chart.helpers.drawRoundedRectangle\r\n * @deprecated since version 2.7.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nhelpers_core.drawRoundedRectangle = function(ctx) {\r\n\tctx.beginPath();\r\n\texports$1.roundedRect.apply(exports$1, arguments);\r\n};\n\nvar defaults = {\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_set: function(scope, values) {\r\n\t\treturn helpers_core.merge(this[scope] || (this[scope] = {}), values);\r\n\t}\r\n};\r\n\r\n// TODO(v3): remove 'global' from namespace.  all default are global and\r\n// there's inconsistency around which options are under 'global'\r\ndefaults._set('global', {\r\n\tdefaultColor: 'rgba(0,0,0,0.1)',\r\n\tdefaultFontColor: '#666',\r\n\tdefaultFontFamily: \"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif\",\r\n\tdefaultFontSize: 12,\r\n\tdefaultFontStyle: 'normal',\r\n\tdefaultLineHeight: 1.2,\r\n\tshowLines: true\r\n});\r\n\r\nvar core_defaults = defaults;\n\nvar valueOrDefault = helpers_core.valueOrDefault;\r\n\r\n/**\r\n * Converts the given font object into a CSS font string.\r\n * @param {object} font - A font object.\r\n * @return {string} The CSS font string. See https://developer.mozilla.org/en-US/docs/Web/CSS/font\r\n * @private\r\n */\r\nfunction toFontString(font) {\r\n\tif (!font || helpers_core.isNullOrUndef(font.size) || helpers_core.isNullOrUndef(font.family)) {\r\n\t\treturn null;\r\n\t}\r\n\r\n\treturn (font.style ? font.style + ' ' : '')\r\n\t\t+ (font.weight ? font.weight + ' ' : '')\r\n\t\t+ font.size + 'px '\r\n\t\t+ font.family;\r\n}\r\n\r\n/**\r\n * @alias Chart.helpers.options\r\n * @namespace\r\n */\r\nvar helpers_options = {\r\n\t/**\r\n\t * Converts the given line height `value` in pixels for a specific font `size`.\r\n\t * @param {number|string} value - The lineHeight to parse (eg. 1.6, '14px', '75%', '1.6em').\r\n\t * @param {number} size - The font size (in pixels) used to resolve relative `value`.\r\n\t * @returns {number} The effective line height in pixels (size * 1.2 if value is invalid).\r\n\t * @see https://developer.mozilla.org/en-US/docs/Web/CSS/line-height\r\n\t * @since 2.7.0\r\n\t */\r\n\ttoLineHeight: function(value, size) {\r\n\t\tvar matches = ('' + value).match(/^(normal|(\\d+(?:\\.\\d+)?)(px|em|%)?)$/);\r\n\t\tif (!matches || matches[1] === 'normal') {\r\n\t\t\treturn size * 1.2;\r\n\t\t}\r\n\r\n\t\tvalue = +matches[2];\r\n\r\n\t\tswitch (matches[3]) {\r\n\t\tcase 'px':\r\n\t\t\treturn value;\r\n\t\tcase '%':\r\n\t\t\tvalue /= 100;\r\n\t\t\tbreak;\r\n\t\t}\r\n\r\n\t\treturn size * value;\r\n\t},\r\n\r\n\t/**\r\n\t * Converts the given value into a padding object with pre-computed width/height.\r\n\t * @param {number|object} value - If a number, set the value to all TRBL component,\r\n\t *  else, if and object, use defined properties and sets undefined ones to 0.\r\n\t * @returns {object} The padding values (top, right, bottom, left, width, height)\r\n\t * @since 2.7.0\r\n\t */\r\n\ttoPadding: function(value) {\r\n\t\tvar t, r, b, l;\r\n\r\n\t\tif (helpers_core.isObject(value)) {\r\n\t\t\tt = +value.top || 0;\r\n\t\t\tr = +value.right || 0;\r\n\t\t\tb = +value.bottom || 0;\r\n\t\t\tl = +value.left || 0;\r\n\t\t} else {\r\n\t\t\tt = r = b = l = +value || 0;\r\n\t\t}\r\n\r\n\t\treturn {\r\n\t\t\ttop: t,\r\n\t\t\tright: r,\r\n\t\t\tbottom: b,\r\n\t\t\tleft: l,\r\n\t\t\theight: t + b,\r\n\t\t\twidth: l + r\r\n\t\t};\r\n\t},\r\n\r\n\t/**\r\n\t * Parses font options and returns the font object.\r\n\t * @param {object} options - A object that contains font options to be parsed.\r\n\t * @return {object} The font object.\r\n\t * @todo Support font.* options and renamed to toFont().\r\n\t * @private\r\n\t */\r\n\t_parseFont: function(options) {\r\n\t\tvar globalDefaults = core_defaults.global;\r\n\t\tvar size = valueOrDefault(options.fontSize, globalDefaults.defaultFontSize);\r\n\t\tvar font = {\r\n\t\t\tfamily: valueOrDefault(options.fontFamily, globalDefaults.defaultFontFamily),\r\n\t\t\tlineHeight: helpers_core.options.toLineHeight(valueOrDefault(options.lineHeight, globalDefaults.defaultLineHeight), size),\r\n\t\t\tsize: size,\r\n\t\t\tstyle: valueOrDefault(options.fontStyle, globalDefaults.defaultFontStyle),\r\n\t\t\tweight: null,\r\n\t\t\tstring: ''\r\n\t\t};\r\n\r\n\t\tfont.string = toFontString(font);\r\n\t\treturn font;\r\n\t},\r\n\r\n\t/**\r\n\t * Evaluates the given `inputs` sequentially and returns the first defined value.\r\n\t * @param {Array} inputs - An array of values, falling back to the last value.\r\n\t * @param {object} [context] - If defined and the current value is a function, the value\r\n\t * is called with `context` as first argument and the result becomes the new input.\r\n\t * @param {number} [index] - If defined and the current value is an array, the value\r\n\t * at `index` become the new input.\r\n\t * @param {object} [info] - object to return information about resolution in\r\n\t * @param {boolean} [info.cacheable] - Will be set to `false` if option is not cacheable.\r\n\t * @since 2.7.0\r\n\t */\r\n\tresolve: function(inputs, context, index, info) {\r\n\t\tvar cacheable = true;\r\n\t\tvar i, ilen, value;\r\n\r\n\t\tfor (i = 0, ilen = inputs.length; i < ilen; ++i) {\r\n\t\t\tvalue = inputs[i];\r\n\t\t\tif (value === undefined) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\t\t\tif (context !== undefined && typeof value === 'function') {\r\n\t\t\t\tvalue = value(context);\r\n\t\t\t\tcacheable = false;\r\n\t\t\t}\r\n\t\t\tif (index !== undefined && helpers_core.isArray(value)) {\r\n\t\t\t\tvalue = value[index];\r\n\t\t\t\tcacheable = false;\r\n\t\t\t}\r\n\t\t\tif (value !== undefined) {\r\n\t\t\t\tif (info && !cacheable) {\r\n\t\t\t\t\tinfo.cacheable = false;\r\n\t\t\t\t}\r\n\t\t\t\treturn value;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n};\n\n/**\r\n * @alias Chart.helpers.math\r\n * @namespace\r\n */\r\nvar exports$2 = {\r\n\t/**\r\n\t * Returns an array of factors sorted from 1 to sqrt(value)\r\n\t * @private\r\n\t */\r\n\t_factorize: function(value) {\r\n\t\tvar result = [];\r\n\t\tvar sqrt = Math.sqrt(value);\r\n\t\tvar i;\r\n\r\n\t\tfor (i = 1; i < sqrt; i++) {\r\n\t\t\tif (value % i === 0) {\r\n\t\t\t\tresult.push(i);\r\n\t\t\t\tresult.push(value / i);\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (sqrt === (sqrt | 0)) { // if value is a square number\r\n\t\t\tresult.push(sqrt);\r\n\t\t}\r\n\r\n\t\tresult.sort(function(a, b) {\r\n\t\t\treturn a - b;\r\n\t\t}).pop();\r\n\t\treturn result;\r\n\t},\r\n\r\n\tlog10: Math.log10 || function(x) {\r\n\t\tvar exponent = Math.log(x) * Math.LOG10E; // Math.LOG10E = 1 / Math.LN10.\r\n\t\t// Check for whole powers of 10,\r\n\t\t// which due to floating point rounding error should be corrected.\r\n\t\tvar powerOf10 = Math.round(exponent);\r\n\t\tvar isPowerOf10 = x === Math.pow(10, powerOf10);\r\n\r\n\t\treturn isPowerOf10 ? powerOf10 : exponent;\r\n\t}\r\n};\r\n\r\nvar helpers_math = exports$2;\r\n\r\n// DEPRECATIONS\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart.helpers.math.log10 instead.\r\n * @namespace Chart.helpers.log10\r\n * @deprecated since version 2.9.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nhelpers_core.log10 = exports$2.log10;\n\nvar getRtlAdapter = function(rectX, width) {\r\n\treturn {\r\n\t\tx: function(x) {\r\n\t\t\treturn rectX + rectX + width - x;\r\n\t\t},\r\n\t\tsetWidth: function(w) {\r\n\t\t\twidth = w;\r\n\t\t},\r\n\t\ttextAlign: function(align) {\r\n\t\t\tif (align === 'center') {\r\n\t\t\t\treturn align;\r\n\t\t\t}\r\n\t\t\treturn align === 'right' ? 'left' : 'right';\r\n\t\t},\r\n\t\txPlus: function(x, value) {\r\n\t\t\treturn x - value;\r\n\t\t},\r\n\t\tleftForLtr: function(x, itemWidth) {\r\n\t\t\treturn x - itemWidth;\r\n\t\t},\r\n\t};\r\n};\r\n\r\nvar getLtrAdapter = function() {\r\n\treturn {\r\n\t\tx: function(x) {\r\n\t\t\treturn x;\r\n\t\t},\r\n\t\tsetWidth: function(w) { // eslint-disable-line no-unused-vars\r\n\t\t},\r\n\t\ttextAlign: function(align) {\r\n\t\t\treturn align;\r\n\t\t},\r\n\t\txPlus: function(x, value) {\r\n\t\t\treturn x + value;\r\n\t\t},\r\n\t\tleftForLtr: function(x, _itemWidth) { // eslint-disable-line no-unused-vars\r\n\t\t\treturn x;\r\n\t\t},\r\n\t};\r\n};\r\n\r\nvar getAdapter = function(rtl, rectX, width) {\r\n\treturn rtl ? getRtlAdapter(rectX, width) : getLtrAdapter();\r\n};\r\n\r\nvar overrideTextDirection = function(ctx, direction) {\r\n\tvar style, original;\r\n\tif (direction === 'ltr' || direction === 'rtl') {\r\n\t\tstyle = ctx.canvas.style;\r\n\t\toriginal = [\r\n\t\t\tstyle.getPropertyValue('direction'),\r\n\t\t\tstyle.getPropertyPriority('direction'),\r\n\t\t];\r\n\r\n\t\tstyle.setProperty('direction', direction, 'important');\r\n\t\tctx.prevTextDirection = original;\r\n\t}\r\n};\r\n\r\nvar restoreTextDirection = function(ctx) {\r\n\tvar original = ctx.prevTextDirection;\r\n\tif (original !== undefined) {\r\n\t\tdelete ctx.prevTextDirection;\r\n\t\tctx.canvas.style.setProperty('direction', original[0], original[1]);\r\n\t}\r\n};\r\n\r\nvar helpers_rtl = {\r\n\tgetRtlAdapter: getAdapter,\r\n\toverrideTextDirection: overrideTextDirection,\r\n\trestoreTextDirection: restoreTextDirection,\r\n};\n\nvar helpers$1 = helpers_core;\r\nvar easing = helpers_easing;\r\nvar canvas = helpers_canvas;\r\nvar options = helpers_options;\r\nvar math = helpers_math;\r\nvar rtl = helpers_rtl;\nhelpers$1.easing = easing;\nhelpers$1.canvas = canvas;\nhelpers$1.options = options;\nhelpers$1.math = math;\nhelpers$1.rtl = rtl;\n\nfunction interpolate(start, view, model, ease) {\r\n\tvar keys = Object.keys(model);\r\n\tvar i, ilen, key, actual, origin, target, type, c0, c1;\r\n\r\n\tfor (i = 0, ilen = keys.length; i < ilen; ++i) {\r\n\t\tkey = keys[i];\r\n\r\n\t\ttarget = model[key];\r\n\r\n\t\t// if a value is added to the model after pivot() has been called, the view\r\n\t\t// doesn't contain it, so let's initialize the view to the target value.\r\n\t\tif (!view.hasOwnProperty(key)) {\r\n\t\t\tview[key] = target;\r\n\t\t}\r\n\r\n\t\tactual = view[key];\r\n\r\n\t\tif (actual === target || key[0] === '_') {\r\n\t\t\tcontinue;\r\n\t\t}\r\n\r\n\t\tif (!start.hasOwnProperty(key)) {\r\n\t\t\tstart[key] = actual;\r\n\t\t}\r\n\r\n\t\torigin = start[key];\r\n\r\n\t\ttype = typeof target;\r\n\r\n\t\tif (type === typeof origin) {\r\n\t\t\tif (type === 'string') {\r\n\t\t\t\tc0 = chartjsColor(origin);\r\n\t\t\t\tif (c0.valid) {\r\n\t\t\t\t\tc1 = chartjsColor(target);\r\n\t\t\t\t\tif (c1.valid) {\r\n\t\t\t\t\t\tview[key] = c1.mix(c0, ease).rgbString();\r\n\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t} else if (helpers$1.isFinite(origin) && helpers$1.isFinite(target)) {\r\n\t\t\t\tview[key] = origin + (target - origin) * ease;\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tview[key] = target;\r\n\t}\r\n}\r\n\r\nvar Element = function(configuration) {\r\n\thelpers$1.extend(this, configuration);\r\n\tthis.initialize.apply(this, arguments);\r\n};\r\n\r\nhelpers$1.extend(Element.prototype, {\r\n\t_type: undefined,\r\n\r\n\tinitialize: function() {\r\n\t\tthis.hidden = false;\r\n\t},\r\n\r\n\tpivot: function() {\r\n\t\tvar me = this;\r\n\t\tif (!me._view) {\r\n\t\t\tme._view = helpers$1.extend({}, me._model);\r\n\t\t}\r\n\t\tme._start = {};\r\n\t\treturn me;\r\n\t},\r\n\r\n\ttransition: function(ease) {\r\n\t\tvar me = this;\r\n\t\tvar model = me._model;\r\n\t\tvar start = me._start;\r\n\t\tvar view = me._view;\r\n\r\n\t\t// No animation -> No Transition\r\n\t\tif (!model || ease === 1) {\r\n\t\t\tme._view = helpers$1.extend({}, model);\r\n\t\t\tme._start = null;\r\n\t\t\treturn me;\r\n\t\t}\r\n\r\n\t\tif (!view) {\r\n\t\t\tview = me._view = {};\r\n\t\t}\r\n\r\n\t\tif (!start) {\r\n\t\t\tstart = me._start = {};\r\n\t\t}\r\n\r\n\t\tinterpolate(start, view, model, ease);\r\n\r\n\t\treturn me;\r\n\t},\r\n\r\n\ttooltipPosition: function() {\r\n\t\treturn {\r\n\t\t\tx: this._model.x,\r\n\t\t\ty: this._model.y\r\n\t\t};\r\n\t},\r\n\r\n\thasValue: function() {\r\n\t\treturn helpers$1.isNumber(this._model.x) && helpers$1.isNumber(this._model.y);\r\n\t}\r\n});\r\n\r\nElement.extend = helpers$1.inherits;\r\n\r\nvar core_element = Element;\n\nvar exports$3 = core_element.extend({\r\n\tchart: null, // the animation associated chart instance\r\n\tcurrentStep: 0, // the current animation step\r\n\tnumSteps: 60, // default number of steps\r\n\teasing: '', // the easing to use for this animation\r\n\trender: null, // render function used by the animation service\r\n\r\n\tonAnimationProgress: null, // user specified callback to fire on each step of the animation\r\n\tonAnimationComplete: null, // user specified callback to fire when the animation finishes\r\n});\r\n\r\nvar core_animation = exports$3;\r\n\r\n// DEPRECATIONS\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart.Animation instead\r\n * @prop Chart.Animation#animationObject\r\n * @deprecated since version 2.6.0\r\n * @todo remove at version 3\r\n */\r\nObject.defineProperty(exports$3.prototype, 'animationObject', {\r\n\tget: function() {\r\n\t\treturn this;\r\n\t}\r\n});\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart.Animation#chart instead\r\n * @prop Chart.Animation#chartInstance\r\n * @deprecated since version 2.6.0\r\n * @todo remove at version 3\r\n */\r\nObject.defineProperty(exports$3.prototype, 'chartInstance', {\r\n\tget: function() {\r\n\t\treturn this.chart;\r\n\t},\r\n\tset: function(value) {\r\n\t\tthis.chart = value;\r\n\t}\r\n});\n\ncore_defaults._set('global', {\r\n\tanimation: {\r\n\t\tduration: 1000,\r\n\t\teasing: 'easeOutQuart',\r\n\t\tonProgress: helpers$1.noop,\r\n\t\tonComplete: helpers$1.noop\r\n\t}\r\n});\r\n\r\nvar core_animations = {\r\n\tanimations: [],\r\n\trequest: null,\r\n\r\n\t/**\r\n\t * @param {Chart} chart - The chart to animate.\r\n\t * @param {Chart.Animation} animation - The animation that we will animate.\r\n\t * @param {number} duration - The animation duration in ms.\r\n\t * @param {boolean} lazy - if true, the chart is not marked as animating to enable more responsive interactions\r\n\t */\r\n\taddAnimation: function(chart, animation, duration, lazy) {\r\n\t\tvar animations = this.animations;\r\n\t\tvar i, ilen;\r\n\r\n\t\tanimation.chart = chart;\r\n\t\tanimation.startTime = Date.now();\r\n\t\tanimation.duration = duration;\r\n\r\n\t\tif (!lazy) {\r\n\t\t\tchart.animating = true;\r\n\t\t}\r\n\r\n\t\tfor (i = 0, ilen = animations.length; i < ilen; ++i) {\r\n\t\t\tif (animations[i].chart === chart) {\r\n\t\t\t\tanimations[i] = animation;\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tanimations.push(animation);\r\n\r\n\t\t// If there are no animations queued, manually kickstart a digest, for lack of a better word\r\n\t\tif (animations.length === 1) {\r\n\t\t\tthis.requestAnimationFrame();\r\n\t\t}\r\n\t},\r\n\r\n\tcancelAnimation: function(chart) {\r\n\t\tvar index = helpers$1.findIndex(this.animations, function(animation) {\r\n\t\t\treturn animation.chart === chart;\r\n\t\t});\r\n\r\n\t\tif (index !== -1) {\r\n\t\t\tthis.animations.splice(index, 1);\r\n\t\t\tchart.animating = false;\r\n\t\t}\r\n\t},\r\n\r\n\trequestAnimationFrame: function() {\r\n\t\tvar me = this;\r\n\t\tif (me.request === null) {\r\n\t\t\t// Skip animation frame requests until the active one is executed.\r\n\t\t\t// This can happen when processing mouse events, e.g. 'mousemove'\r\n\t\t\t// and 'mouseout' events will trigger multiple renders.\r\n\t\t\tme.request = helpers$1.requestAnimFrame.call(window, function() {\r\n\t\t\t\tme.request = null;\r\n\t\t\t\tme.startDigest();\r\n\t\t\t});\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tstartDigest: function() {\r\n\t\tvar me = this;\r\n\r\n\t\tme.advance();\r\n\r\n\t\t// Do we have more stuff to animate?\r\n\t\tif (me.animations.length > 0) {\r\n\t\t\tme.requestAnimationFrame();\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tadvance: function() {\r\n\t\tvar animations = this.animations;\r\n\t\tvar animation, chart, numSteps, nextStep;\r\n\t\tvar i = 0;\r\n\r\n\t\t// 1 animation per chart, so we are looping charts here\r\n\t\twhile (i < animations.length) {\r\n\t\t\tanimation = animations[i];\r\n\t\t\tchart = animation.chart;\r\n\t\t\tnumSteps = animation.numSteps;\r\n\r\n\t\t\t// Make sure that currentStep starts at 1\r\n\t\t\t// https://github.com/chartjs/Chart.js/issues/6104\r\n\t\t\tnextStep = Math.floor((Date.now() - animation.startTime) / animation.duration * numSteps) + 1;\r\n\t\t\tanimation.currentStep = Math.min(nextStep, numSteps);\r\n\r\n\t\t\thelpers$1.callback(animation.render, [chart, animation], chart);\r\n\t\t\thelpers$1.callback(animation.onAnimationProgress, [animation], chart);\r\n\r\n\t\t\tif (animation.currentStep >= numSteps) {\r\n\t\t\t\thelpers$1.callback(animation.onAnimationComplete, [animation], chart);\r\n\t\t\t\tchart.animating = false;\r\n\t\t\t\tanimations.splice(i, 1);\r\n\t\t\t} else {\r\n\t\t\t\t++i;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n};\n\nvar resolve = helpers$1.options.resolve;\r\n\r\nvar arrayEvents = ['push', 'pop', 'shift', 'splice', 'unshift'];\r\n\r\n/**\r\n * Hooks the array methods that add or remove values ('push', pop', 'shift', 'splice',\r\n * 'unshift') and notify the listener AFTER the array has been altered. Listeners are\r\n * called on the 'onData*' callbacks (e.g. onDataPush, etc.) with same arguments.\r\n */\r\nfunction listenArrayEvents(array, listener) {\r\n\tif (array._chartjs) {\r\n\t\tarray._chartjs.listeners.push(listener);\r\n\t\treturn;\r\n\t}\r\n\r\n\tObject.defineProperty(array, '_chartjs', {\r\n\t\tconfigurable: true,\r\n\t\tenumerable: false,\r\n\t\tvalue: {\r\n\t\t\tlisteners: [listener]\r\n\t\t}\r\n\t});\r\n\r\n\tarrayEvents.forEach(function(key) {\r\n\t\tvar method = 'onData' + key.charAt(0).toUpperCase() + key.slice(1);\r\n\t\tvar base = array[key];\r\n\r\n\t\tObject.defineProperty(array, key, {\r\n\t\t\tconfigurable: true,\r\n\t\t\tenumerable: false,\r\n\t\t\tvalue: function() {\r\n\t\t\t\tvar args = Array.prototype.slice.call(arguments);\r\n\t\t\t\tvar res = base.apply(this, args);\r\n\r\n\t\t\t\thelpers$1.each(array._chartjs.listeners, function(object) {\r\n\t\t\t\t\tif (typeof object[method] === 'function') {\r\n\t\t\t\t\t\tobject[method].apply(object, args);\r\n\t\t\t\t\t}\r\n\t\t\t\t});\r\n\r\n\t\t\t\treturn res;\r\n\t\t\t}\r\n\t\t});\r\n\t});\r\n}\r\n\r\n/**\r\n * Removes the given array event listener and cleanup extra attached properties (such as\r\n * the _chartjs stub and overridden methods) if array doesn't have any more listeners.\r\n */\r\nfunction unlistenArrayEvents(array, listener) {\r\n\tvar stub = array._chartjs;\r\n\tif (!stub) {\r\n\t\treturn;\r\n\t}\r\n\r\n\tvar listeners = stub.listeners;\r\n\tvar index = listeners.indexOf(listener);\r\n\tif (index !== -1) {\r\n\t\tlisteners.splice(index, 1);\r\n\t}\r\n\r\n\tif (listeners.length > 0) {\r\n\t\treturn;\r\n\t}\r\n\r\n\tarrayEvents.forEach(function(key) {\r\n\t\tdelete array[key];\r\n\t});\r\n\r\n\tdelete array._chartjs;\r\n}\r\n\r\n// Base class for all dataset controllers (line, bar, etc)\r\nvar DatasetController = function(chart, datasetIndex) {\r\n\tthis.initialize(chart, datasetIndex);\r\n};\r\n\r\nhelpers$1.extend(DatasetController.prototype, {\r\n\r\n\t/**\r\n\t * Element type used to generate a meta dataset (e.g. Chart.element.Line).\r\n\t * @type {Chart.core.element}\r\n\t */\r\n\tdatasetElementType: null,\r\n\r\n\t/**\r\n\t * Element type used to generate a meta data (e.g. Chart.element.Point).\r\n\t * @type {Chart.core.element}\r\n\t */\r\n\tdataElementType: null,\r\n\r\n\t/**\r\n\t * Dataset element option keys to be resolved in _resolveDatasetElementOptions.\r\n\t * A derived controller may override this to resolve controller-specific options.\r\n\t * The keys defined here are for backward compatibility for legend styles.\r\n\t * @private\r\n\t */\r\n\t_datasetElementOptions: [\r\n\t\t'backgroundColor',\r\n\t\t'borderCapStyle',\r\n\t\t'borderColor',\r\n\t\t'borderDash',\r\n\t\t'borderDashOffset',\r\n\t\t'borderJoinStyle',\r\n\t\t'borderWidth'\r\n\t],\r\n\r\n\t/**\r\n\t * Data element option keys to be resolved in _resolveDataElementOptions.\r\n\t * A derived controller may override this to resolve controller-specific options.\r\n\t * The keys defined here are for backward compatibility for legend styles.\r\n\t * @private\r\n\t */\r\n\t_dataElementOptions: [\r\n\t\t'backgroundColor',\r\n\t\t'borderColor',\r\n\t\t'borderWidth',\r\n\t\t'pointStyle'\r\n\t],\r\n\r\n\tinitialize: function(chart, datasetIndex) {\r\n\t\tvar me = this;\r\n\t\tme.chart = chart;\r\n\t\tme.index = datasetIndex;\r\n\t\tme.linkScales();\r\n\t\tme.addElements();\r\n\t\tme._type = me.getMeta().type;\r\n\t},\r\n\r\n\tupdateIndex: function(datasetIndex) {\r\n\t\tthis.index = datasetIndex;\r\n\t},\r\n\r\n\tlinkScales: function() {\r\n\t\tvar me = this;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar chart = me.chart;\r\n\t\tvar scales = chart.scales;\r\n\t\tvar dataset = me.getDataset();\r\n\t\tvar scalesOpts = chart.options.scales;\r\n\r\n\t\tif (meta.xAxisID === null || !(meta.xAxisID in scales) || dataset.xAxisID) {\r\n\t\t\tmeta.xAxisID = dataset.xAxisID || scalesOpts.xAxes[0].id;\r\n\t\t}\r\n\t\tif (meta.yAxisID === null || !(meta.yAxisID in scales) || dataset.yAxisID) {\r\n\t\t\tmeta.yAxisID = dataset.yAxisID || scalesOpts.yAxes[0].id;\r\n\t\t}\r\n\t},\r\n\r\n\tgetDataset: function() {\r\n\t\treturn this.chart.data.datasets[this.index];\r\n\t},\r\n\r\n\tgetMeta: function() {\r\n\t\treturn this.chart.getDatasetMeta(this.index);\r\n\t},\r\n\r\n\tgetScaleForId: function(scaleID) {\r\n\t\treturn this.chart.scales[scaleID];\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getValueScaleId: function() {\r\n\t\treturn this.getMeta().yAxisID;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getIndexScaleId: function() {\r\n\t\treturn this.getMeta().xAxisID;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getValueScale: function() {\r\n\t\treturn this.getScaleForId(this._getValueScaleId());\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getIndexScale: function() {\r\n\t\treturn this.getScaleForId(this._getIndexScaleId());\r\n\t},\r\n\r\n\treset: function() {\r\n\t\tthis._update(true);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tdestroy: function() {\r\n\t\tif (this._data) {\r\n\t\t\tunlistenArrayEvents(this._data, this);\r\n\t\t}\r\n\t},\r\n\r\n\tcreateMetaDataset: function() {\r\n\t\tvar me = this;\r\n\t\tvar type = me.datasetElementType;\r\n\t\treturn type && new type({\r\n\t\t\t_chart: me.chart,\r\n\t\t\t_datasetIndex: me.index\r\n\t\t});\r\n\t},\r\n\r\n\tcreateMetaData: function(index) {\r\n\t\tvar me = this;\r\n\t\tvar type = me.dataElementType;\r\n\t\treturn type && new type({\r\n\t\t\t_chart: me.chart,\r\n\t\t\t_datasetIndex: me.index,\r\n\t\t\t_index: index\r\n\t\t});\r\n\t},\r\n\r\n\taddElements: function() {\r\n\t\tvar me = this;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar data = me.getDataset().data || [];\r\n\t\tvar metaData = meta.data;\r\n\t\tvar i, ilen;\r\n\r\n\t\tfor (i = 0, ilen = data.length; i < ilen; ++i) {\r\n\t\t\tmetaData[i] = metaData[i] || me.createMetaData(i);\r\n\t\t}\r\n\r\n\t\tmeta.dataset = meta.dataset || me.createMetaDataset();\r\n\t},\r\n\r\n\taddElementAndReset: function(index) {\r\n\t\tvar element = this.createMetaData(index);\r\n\t\tthis.getMeta().data.splice(index, 0, element);\r\n\t\tthis.updateElement(element, index, true);\r\n\t},\r\n\r\n\tbuildOrUpdateElements: function() {\r\n\t\tvar me = this;\r\n\t\tvar dataset = me.getDataset();\r\n\t\tvar data = dataset.data || (dataset.data = []);\r\n\r\n\t\t// In order to correctly handle data addition/deletion animation (an thus simulate\r\n\t\t// real-time charts), we need to monitor these data modifications and synchronize\r\n\t\t// the internal meta data accordingly.\r\n\t\tif (me._data !== data) {\r\n\t\t\tif (me._data) {\r\n\t\t\t\t// This case happens when the user replaced the data array instance.\r\n\t\t\t\tunlistenArrayEvents(me._data, me);\r\n\t\t\t}\r\n\r\n\t\t\tif (data && Object.isExtensible(data)) {\r\n\t\t\t\tlistenArrayEvents(data, me);\r\n\t\t\t}\r\n\t\t\tme._data = data;\r\n\t\t}\r\n\r\n\t\t// Re-sync meta data in case the user replaced the data array or if we missed\r\n\t\t// any updates and so make sure that we handle number of datapoints changing.\r\n\t\tme.resyncElements();\r\n\t},\r\n\r\n\t/**\r\n\t * Returns the merged user-supplied and default dataset-level options\r\n\t * @private\r\n\t */\r\n\t_configure: function() {\r\n\t\tvar me = this;\r\n\t\tme._config = helpers$1.merge(Object.create(null), [\r\n\t\t\tme.chart.options.datasets[me._type],\r\n\t\t\tme.getDataset(),\r\n\t\t], {\r\n\t\t\tmerger: function(key, target, source) {\r\n\t\t\t\tif (key !== '_meta' && key !== 'data') {\r\n\t\t\t\t\thelpers$1._merger(key, target, source);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t},\r\n\r\n\t_update: function(reset) {\r\n\t\tvar me = this;\r\n\t\tme._configure();\r\n\t\tme._cachedDataOpts = null;\r\n\t\tme.update(reset);\r\n\t},\r\n\r\n\tupdate: helpers$1.noop,\r\n\r\n\ttransition: function(easingValue) {\r\n\t\tvar meta = this.getMeta();\r\n\t\tvar elements = meta.data || [];\r\n\t\tvar ilen = elements.length;\r\n\t\tvar i = 0;\r\n\r\n\t\tfor (; i < ilen; ++i) {\r\n\t\t\telements[i].transition(easingValue);\r\n\t\t}\r\n\r\n\t\tif (meta.dataset) {\r\n\t\t\tmeta.dataset.transition(easingValue);\r\n\t\t}\r\n\t},\r\n\r\n\tdraw: function() {\r\n\t\tvar meta = this.getMeta();\r\n\t\tvar elements = meta.data || [];\r\n\t\tvar ilen = elements.length;\r\n\t\tvar i = 0;\r\n\r\n\t\tif (meta.dataset) {\r\n\t\t\tmeta.dataset.draw();\r\n\t\t}\r\n\r\n\t\tfor (; i < ilen; ++i) {\r\n\t\t\telements[i].draw();\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * Returns a set of predefined style properties that should be used to represent the dataset\r\n\t * or the data if the index is specified\r\n\t * @param {number} index - data index\r\n\t * @return {IStyleInterface} style object\r\n\t */\r\n\tgetStyle: function(index) {\r\n\t\tvar me = this;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar dataset = meta.dataset;\r\n\t\tvar style;\r\n\r\n\t\tme._configure();\r\n\t\tif (dataset && index === undefined) {\r\n\t\t\tstyle = me._resolveDatasetElementOptions(dataset || {});\r\n\t\t} else {\r\n\t\t\tindex = index || 0;\r\n\t\t\tstyle = me._resolveDataElementOptions(meta.data[index] || {}, index);\r\n\t\t}\r\n\r\n\t\tif (style.fill === false || style.fill === null) {\r\n\t\t\tstyle.backgroundColor = style.borderColor;\r\n\t\t}\r\n\r\n\t\treturn style;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_resolveDatasetElementOptions: function(element, hover) {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar datasetOpts = me._config;\r\n\t\tvar custom = element.custom || {};\r\n\t\tvar options = chart.options.elements[me.datasetElementType.prototype._type] || {};\r\n\t\tvar elementOptions = me._datasetElementOptions;\r\n\t\tvar values = {};\r\n\t\tvar i, ilen, key, readKey;\r\n\r\n\t\t// Scriptable options\r\n\t\tvar context = {\r\n\t\t\tchart: chart,\r\n\t\t\tdataset: me.getDataset(),\r\n\t\t\tdatasetIndex: me.index,\r\n\t\t\thover: hover\r\n\t\t};\r\n\r\n\t\tfor (i = 0, ilen = elementOptions.length; i < ilen; ++i) {\r\n\t\t\tkey = elementOptions[i];\r\n\t\t\treadKey = hover ? 'hover' + key.charAt(0).toUpperCase() + key.slice(1) : key;\r\n\t\t\tvalues[key] = resolve([\r\n\t\t\t\tcustom[readKey],\r\n\t\t\t\tdatasetOpts[readKey],\r\n\t\t\t\toptions[readKey]\r\n\t\t\t], context);\r\n\t\t}\r\n\r\n\t\treturn values;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_resolveDataElementOptions: function(element, index) {\r\n\t\tvar me = this;\r\n\t\tvar custom = element && element.custom;\r\n\t\tvar cached = me._cachedDataOpts;\r\n\t\tif (cached && !custom) {\r\n\t\t\treturn cached;\r\n\t\t}\r\n\t\tvar chart = me.chart;\r\n\t\tvar datasetOpts = me._config;\r\n\t\tvar options = chart.options.elements[me.dataElementType.prototype._type] || {};\r\n\t\tvar elementOptions = me._dataElementOptions;\r\n\t\tvar values = {};\r\n\r\n\t\t// Scriptable options\r\n\t\tvar context = {\r\n\t\t\tchart: chart,\r\n\t\t\tdataIndex: index,\r\n\t\t\tdataset: me.getDataset(),\r\n\t\t\tdatasetIndex: me.index\r\n\t\t};\r\n\r\n\t\t// `resolve` sets cacheable to `false` if any option is indexed or scripted\r\n\t\tvar info = {cacheable: !custom};\r\n\r\n\t\tvar keys, i, ilen, key;\r\n\r\n\t\tcustom = custom || {};\r\n\r\n\t\tif (helpers$1.isArray(elementOptions)) {\r\n\t\t\tfor (i = 0, ilen = elementOptions.length; i < ilen; ++i) {\r\n\t\t\t\tkey = elementOptions[i];\r\n\t\t\t\tvalues[key] = resolve([\r\n\t\t\t\t\tcustom[key],\r\n\t\t\t\t\tdatasetOpts[key],\r\n\t\t\t\t\toptions[key]\r\n\t\t\t\t], context, index, info);\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tkeys = Object.keys(elementOptions);\r\n\t\t\tfor (i = 0, ilen = keys.length; i < ilen; ++i) {\r\n\t\t\t\tkey = keys[i];\r\n\t\t\t\tvalues[key] = resolve([\r\n\t\t\t\t\tcustom[key],\r\n\t\t\t\t\tdatasetOpts[elementOptions[key]],\r\n\t\t\t\t\tdatasetOpts[key],\r\n\t\t\t\t\toptions[key]\r\n\t\t\t\t], context, index, info);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (info.cacheable) {\r\n\t\t\tme._cachedDataOpts = Object.freeze(values);\r\n\t\t}\r\n\r\n\t\treturn values;\r\n\t},\r\n\r\n\tremoveHoverStyle: function(element) {\r\n\t\thelpers$1.merge(element._model, element.$previousStyle || {});\r\n\t\tdelete element.$previousStyle;\r\n\t},\r\n\r\n\tsetHoverStyle: function(element) {\r\n\t\tvar dataset = this.chart.data.datasets[element._datasetIndex];\r\n\t\tvar index = element._index;\r\n\t\tvar custom = element.custom || {};\r\n\t\tvar model = element._model;\r\n\t\tvar getHoverColor = helpers$1.getHoverColor;\r\n\r\n\t\telement.$previousStyle = {\r\n\t\t\tbackgroundColor: model.backgroundColor,\r\n\t\t\tborderColor: model.borderColor,\r\n\t\t\tborderWidth: model.borderWidth\r\n\t\t};\r\n\r\n\t\tmodel.backgroundColor = resolve([custom.hoverBackgroundColor, dataset.hoverBackgroundColor, getHoverColor(model.backgroundColor)], undefined, index);\r\n\t\tmodel.borderColor = resolve([custom.hoverBorderColor, dataset.hoverBorderColor, getHoverColor(model.borderColor)], undefined, index);\r\n\t\tmodel.borderWidth = resolve([custom.hoverBorderWidth, dataset.hoverBorderWidth, model.borderWidth], undefined, index);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_removeDatasetHoverStyle: function() {\r\n\t\tvar element = this.getMeta().dataset;\r\n\r\n\t\tif (element) {\r\n\t\t\tthis.removeHoverStyle(element);\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_setDatasetHoverStyle: function() {\r\n\t\tvar element = this.getMeta().dataset;\r\n\t\tvar prev = {};\r\n\t\tvar i, ilen, key, keys, hoverOptions, model;\r\n\r\n\t\tif (!element) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tmodel = element._model;\r\n\t\thoverOptions = this._resolveDatasetElementOptions(element, true);\r\n\r\n\t\tkeys = Object.keys(hoverOptions);\r\n\t\tfor (i = 0, ilen = keys.length; i < ilen; ++i) {\r\n\t\t\tkey = keys[i];\r\n\t\t\tprev[key] = model[key];\r\n\t\t\tmodel[key] = hoverOptions[key];\r\n\t\t}\r\n\r\n\t\telement.$previousStyle = prev;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tresyncElements: function() {\r\n\t\tvar me = this;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar data = me.getDataset().data;\r\n\t\tvar numMeta = meta.data.length;\r\n\t\tvar numData = data.length;\r\n\r\n\t\tif (numData < numMeta) {\r\n\t\t\tmeta.data.splice(numData, numMeta - numData);\r\n\t\t} else if (numData > numMeta) {\r\n\t\t\tme.insertElements(numMeta, numData - numMeta);\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tinsertElements: function(start, count) {\r\n\t\tfor (var i = 0; i < count; ++i) {\r\n\t\t\tthis.addElementAndReset(start + i);\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tonDataPush: function() {\r\n\t\tvar count = arguments.length;\r\n\t\tthis.insertElements(this.getDataset().data.length - count, count);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tonDataPop: function() {\r\n\t\tthis.getMeta().data.pop();\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tonDataShift: function() {\r\n\t\tthis.getMeta().data.shift();\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tonDataSplice: function(start, count) {\r\n\t\tthis.getMeta().data.splice(start, count);\r\n\t\tthis.insertElements(start, arguments.length - 2);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tonDataUnshift: function() {\r\n\t\tthis.insertElements(0, arguments.length);\r\n\t}\r\n});\r\n\r\nDatasetController.extend = helpers$1.inherits;\r\n\r\nvar core_datasetController = DatasetController;\n\nvar TAU = Math.PI * 2;\r\n\r\ncore_defaults._set('global', {\r\n\telements: {\r\n\t\tarc: {\r\n\t\t\tbackgroundColor: core_defaults.global.defaultColor,\r\n\t\t\tborderColor: '#fff',\r\n\t\t\tborderWidth: 2,\r\n\t\t\tborderAlign: 'center'\r\n\t\t}\r\n\t}\r\n});\r\n\r\nfunction clipArc(ctx, arc) {\r\n\tvar startAngle = arc.startAngle;\r\n\tvar endAngle = arc.endAngle;\r\n\tvar pixelMargin = arc.pixelMargin;\r\n\tvar angleMargin = pixelMargin / arc.outerRadius;\r\n\tvar x = arc.x;\r\n\tvar y = arc.y;\r\n\r\n\t// Draw an inner border by cliping the arc and drawing a double-width border\r\n\t// Enlarge the clipping arc by 0.33 pixels to eliminate glitches between borders\r\n\tctx.beginPath();\r\n\tctx.arc(x, y, arc.outerRadius, startAngle - angleMargin, endAngle + angleMargin);\r\n\tif (arc.innerRadius > pixelMargin) {\r\n\t\tangleMargin = pixelMargin / arc.innerRadius;\r\n\t\tctx.arc(x, y, arc.innerRadius - pixelMargin, endAngle + angleMargin, startAngle - angleMargin, true);\r\n\t} else {\r\n\t\tctx.arc(x, y, pixelMargin, endAngle + Math.PI / 2, startAngle - Math.PI / 2);\r\n\t}\r\n\tctx.closePath();\r\n\tctx.clip();\r\n}\r\n\r\nfunction drawFullCircleBorders(ctx, vm, arc, inner) {\r\n\tvar endAngle = arc.endAngle;\r\n\tvar i;\r\n\r\n\tif (inner) {\r\n\t\tarc.endAngle = arc.startAngle + TAU;\r\n\t\tclipArc(ctx, arc);\r\n\t\tarc.endAngle = endAngle;\r\n\t\tif (arc.endAngle === arc.startAngle && arc.fullCircles) {\r\n\t\t\tarc.endAngle += TAU;\r\n\t\t\tarc.fullCircles--;\r\n\t\t}\r\n\t}\r\n\r\n\tctx.beginPath();\r\n\tctx.arc(arc.x, arc.y, arc.innerRadius, arc.startAngle + TAU, arc.startAngle, true);\r\n\tfor (i = 0; i < arc.fullCircles; ++i) {\r\n\t\tctx.stroke();\r\n\t}\r\n\r\n\tctx.beginPath();\r\n\tctx.arc(arc.x, arc.y, vm.outerRadius, arc.startAngle, arc.startAngle + TAU);\r\n\tfor (i = 0; i < arc.fullCircles; ++i) {\r\n\t\tctx.stroke();\r\n\t}\r\n}\r\n\r\nfunction drawBorder(ctx, vm, arc) {\r\n\tvar inner = vm.borderAlign === 'inner';\r\n\r\n\tif (inner) {\r\n\t\tctx.lineWidth = vm.borderWidth * 2;\r\n\t\tctx.lineJoin = 'round';\r\n\t} else {\r\n\t\tctx.lineWidth = vm.borderWidth;\r\n\t\tctx.lineJoin = 'bevel';\r\n\t}\r\n\r\n\tif (arc.fullCircles) {\r\n\t\tdrawFullCircleBorders(ctx, vm, arc, inner);\r\n\t}\r\n\r\n\tif (inner) {\r\n\t\tclipArc(ctx, arc);\r\n\t}\r\n\r\n\tctx.beginPath();\r\n\tctx.arc(arc.x, arc.y, vm.outerRadius, arc.startAngle, arc.endAngle);\r\n\tctx.arc(arc.x, arc.y, arc.innerRadius, arc.endAngle, arc.startAngle, true);\r\n\tctx.closePath();\r\n\tctx.stroke();\r\n}\r\n\r\nvar element_arc = core_element.extend({\r\n\t_type: 'arc',\r\n\r\n\tinLabelRange: function(mouseX) {\r\n\t\tvar vm = this._view;\r\n\r\n\t\tif (vm) {\r\n\t\t\treturn (Math.pow(mouseX - vm.x, 2) < Math.pow(vm.radius + vm.hoverRadius, 2));\r\n\t\t}\r\n\t\treturn false;\r\n\t},\r\n\r\n\tinRange: function(chartX, chartY) {\r\n\t\tvar vm = this._view;\r\n\r\n\t\tif (vm) {\r\n\t\t\tvar pointRelativePosition = helpers$1.getAngleFromPoint(vm, {x: chartX, y: chartY});\r\n\t\t\tvar angle = pointRelativePosition.angle;\r\n\t\t\tvar distance = pointRelativePosition.distance;\r\n\r\n\t\t\t// Sanitise angle range\r\n\t\t\tvar startAngle = vm.startAngle;\r\n\t\t\tvar endAngle = vm.endAngle;\r\n\t\t\twhile (endAngle < startAngle) {\r\n\t\t\t\tendAngle += TAU;\r\n\t\t\t}\r\n\t\t\twhile (angle > endAngle) {\r\n\t\t\t\tangle -= TAU;\r\n\t\t\t}\r\n\t\t\twhile (angle < startAngle) {\r\n\t\t\t\tangle += TAU;\r\n\t\t\t}\r\n\r\n\t\t\t// Check if within the range of the open/close angle\r\n\t\t\tvar betweenAngles = (angle >= startAngle && angle <= endAngle);\r\n\t\t\tvar withinRadius = (distance >= vm.innerRadius && distance <= vm.outerRadius);\r\n\r\n\t\t\treturn (betweenAngles && withinRadius);\r\n\t\t}\r\n\t\treturn false;\r\n\t},\r\n\r\n\tgetCenterPoint: function() {\r\n\t\tvar vm = this._view;\r\n\t\tvar halfAngle = (vm.startAngle + vm.endAngle) / 2;\r\n\t\tvar halfRadius = (vm.innerRadius + vm.outerRadius) / 2;\r\n\t\treturn {\r\n\t\t\tx: vm.x + Math.cos(halfAngle) * halfRadius,\r\n\t\t\ty: vm.y + Math.sin(halfAngle) * halfRadius\r\n\t\t};\r\n\t},\r\n\r\n\tgetArea: function() {\r\n\t\tvar vm = this._view;\r\n\t\treturn Math.PI * ((vm.endAngle - vm.startAngle) / (2 * Math.PI)) * (Math.pow(vm.outerRadius, 2) - Math.pow(vm.innerRadius, 2));\r\n\t},\r\n\r\n\ttooltipPosition: function() {\r\n\t\tvar vm = this._view;\r\n\t\tvar centreAngle = vm.startAngle + ((vm.endAngle - vm.startAngle) / 2);\r\n\t\tvar rangeFromCentre = (vm.outerRadius - vm.innerRadius) / 2 + vm.innerRadius;\r\n\r\n\t\treturn {\r\n\t\t\tx: vm.x + (Math.cos(centreAngle) * rangeFromCentre),\r\n\t\t\ty: vm.y + (Math.sin(centreAngle) * rangeFromCentre)\r\n\t\t};\r\n\t},\r\n\r\n\tdraw: function() {\r\n\t\tvar ctx = this._chart.ctx;\r\n\t\tvar vm = this._view;\r\n\t\tvar pixelMargin = (vm.borderAlign === 'inner') ? 0.33 : 0;\r\n\t\tvar arc = {\r\n\t\t\tx: vm.x,\r\n\t\t\ty: vm.y,\r\n\t\t\tinnerRadius: vm.innerRadius,\r\n\t\t\touterRadius: Math.max(vm.outerRadius - pixelMargin, 0),\r\n\t\t\tpixelMargin: pixelMargin,\r\n\t\t\tstartAngle: vm.startAngle,\r\n\t\t\tendAngle: vm.endAngle,\r\n\t\t\tfullCircles: Math.floor(vm.circumference / TAU)\r\n\t\t};\r\n\t\tvar i;\r\n\r\n\t\tctx.save();\r\n\r\n\t\tctx.fillStyle = vm.backgroundColor;\r\n\t\tctx.strokeStyle = vm.borderColor;\r\n\r\n\t\tif (arc.fullCircles) {\r\n\t\t\tarc.endAngle = arc.startAngle + TAU;\r\n\t\t\tctx.beginPath();\r\n\t\t\tctx.arc(arc.x, arc.y, arc.outerRadius, arc.startAngle, arc.endAngle);\r\n\t\t\tctx.arc(arc.x, arc.y, arc.innerRadius, arc.endAngle, arc.startAngle, true);\r\n\t\t\tctx.closePath();\r\n\t\t\tfor (i = 0; i < arc.fullCircles; ++i) {\r\n\t\t\t\tctx.fill();\r\n\t\t\t}\r\n\t\t\tarc.endAngle = arc.startAngle + vm.circumference % TAU;\r\n\t\t}\r\n\r\n\t\tctx.beginPath();\r\n\t\tctx.arc(arc.x, arc.y, arc.outerRadius, arc.startAngle, arc.endAngle);\r\n\t\tctx.arc(arc.x, arc.y, arc.innerRadius, arc.endAngle, arc.startAngle, true);\r\n\t\tctx.closePath();\r\n\t\tctx.fill();\r\n\r\n\t\tif (vm.borderWidth) {\r\n\t\t\tdrawBorder(ctx, vm, arc);\r\n\t\t}\r\n\r\n\t\tctx.restore();\r\n\t}\r\n});\n\nvar valueOrDefault$1 = helpers$1.valueOrDefault;\r\n\r\nvar defaultColor = core_defaults.global.defaultColor;\r\n\r\ncore_defaults._set('global', {\r\n\telements: {\r\n\t\tline: {\r\n\t\t\ttension: 0.4,\r\n\t\t\tbackgroundColor: defaultColor,\r\n\t\t\tborderWidth: 3,\r\n\t\t\tborderColor: defaultColor,\r\n\t\t\tborderCapStyle: 'butt',\r\n\t\t\tborderDash: [],\r\n\t\t\tborderDashOffset: 0.0,\r\n\t\t\tborderJoinStyle: 'miter',\r\n\t\t\tcapBezierPoints: true,\r\n\t\t\tfill: true, // do we fill in the area between the line and its base axis\r\n\t\t}\r\n\t}\r\n});\r\n\r\nvar element_line = core_element.extend({\r\n\t_type: 'line',\r\n\r\n\tdraw: function() {\r\n\t\tvar me = this;\r\n\t\tvar vm = me._view;\r\n\t\tvar ctx = me._chart.ctx;\r\n\t\tvar spanGaps = vm.spanGaps;\r\n\t\tvar points = me._children.slice(); // clone array\r\n\t\tvar globalDefaults = core_defaults.global;\r\n\t\tvar globalOptionLineElements = globalDefaults.elements.line;\r\n\t\tvar lastDrawnIndex = -1;\r\n\t\tvar closePath = me._loop;\r\n\t\tvar index, previous, currentVM;\r\n\r\n\t\tif (!points.length) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (me._loop) {\r\n\t\t\tfor (index = 0; index < points.length; ++index) {\r\n\t\t\t\tprevious = helpers$1.previousItem(points, index);\r\n\t\t\t\t// If the line has an open path, shift the point array\r\n\t\t\t\tif (!points[index]._view.skip && previous._view.skip) {\r\n\t\t\t\t\tpoints = points.slice(index).concat(points.slice(0, index));\r\n\t\t\t\t\tclosePath = spanGaps;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\t// If the line has a close path, add the first point again\r\n\t\t\tif (closePath) {\r\n\t\t\t\tpoints.push(points[0]);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tctx.save();\r\n\r\n\t\t// Stroke Line Options\r\n\t\tctx.lineCap = vm.borderCapStyle || globalOptionLineElements.borderCapStyle;\r\n\r\n\t\t// IE 9 and 10 do not support line dash\r\n\t\tif (ctx.setLineDash) {\r\n\t\t\tctx.setLineDash(vm.borderDash || globalOptionLineElements.borderDash);\r\n\t\t}\r\n\r\n\t\tctx.lineDashOffset = valueOrDefault$1(vm.borderDashOffset, globalOptionLineElements.borderDashOffset);\r\n\t\tctx.lineJoin = vm.borderJoinStyle || globalOptionLineElements.borderJoinStyle;\r\n\t\tctx.lineWidth = valueOrDefault$1(vm.borderWidth, globalOptionLineElements.borderWidth);\r\n\t\tctx.strokeStyle = vm.borderColor || globalDefaults.defaultColor;\r\n\r\n\t\t// Stroke Line\r\n\t\tctx.beginPath();\r\n\r\n\t\t// First point moves to it's starting position no matter what\r\n\t\tcurrentVM = points[0]._view;\r\n\t\tif (!currentVM.skip) {\r\n\t\t\tctx.moveTo(currentVM.x, currentVM.y);\r\n\t\t\tlastDrawnIndex = 0;\r\n\t\t}\r\n\r\n\t\tfor (index = 1; index < points.length; ++index) {\r\n\t\t\tcurrentVM = points[index]._view;\r\n\t\t\tprevious = lastDrawnIndex === -1 ? helpers$1.previousItem(points, index) : points[lastDrawnIndex];\r\n\r\n\t\t\tif (!currentVM.skip) {\r\n\t\t\t\tif ((lastDrawnIndex !== (index - 1) && !spanGaps) || lastDrawnIndex === -1) {\r\n\t\t\t\t\t// There was a gap and this is the first point after the gap\r\n\t\t\t\t\tctx.moveTo(currentVM.x, currentVM.y);\r\n\t\t\t\t} else {\r\n\t\t\t\t\t// Line to next point\r\n\t\t\t\t\thelpers$1.canvas.lineTo(ctx, previous._view, currentVM);\r\n\t\t\t\t}\r\n\t\t\t\tlastDrawnIndex = index;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (closePath) {\r\n\t\t\tctx.closePath();\r\n\t\t}\r\n\r\n\t\tctx.stroke();\r\n\t\tctx.restore();\r\n\t}\r\n});\n\nvar valueOrDefault$2 = helpers$1.valueOrDefault;\r\n\r\nvar defaultColor$1 = core_defaults.global.defaultColor;\r\n\r\ncore_defaults._set('global', {\r\n\telements: {\r\n\t\tpoint: {\r\n\t\t\tradius: 3,\r\n\t\t\tpointStyle: 'circle',\r\n\t\t\tbackgroundColor: defaultColor$1,\r\n\t\t\tborderColor: defaultColor$1,\r\n\t\t\tborderWidth: 1,\r\n\t\t\t// Hover\r\n\t\t\thitRadius: 1,\r\n\t\t\thoverRadius: 4,\r\n\t\t\thoverBorderWidth: 1\r\n\t\t}\r\n\t}\r\n});\r\n\r\nfunction xRange(mouseX) {\r\n\tvar vm = this._view;\r\n\treturn vm ? (Math.abs(mouseX - vm.x) < vm.radius + vm.hitRadius) : false;\r\n}\r\n\r\nfunction yRange(mouseY) {\r\n\tvar vm = this._view;\r\n\treturn vm ? (Math.abs(mouseY - vm.y) < vm.radius + vm.hitRadius) : false;\r\n}\r\n\r\nvar element_point = core_element.extend({\r\n\t_type: 'point',\r\n\r\n\tinRange: function(mouseX, mouseY) {\r\n\t\tvar vm = this._view;\r\n\t\treturn vm ? ((Math.pow(mouseX - vm.x, 2) + Math.pow(mouseY - vm.y, 2)) < Math.pow(vm.hitRadius + vm.radius, 2)) : false;\r\n\t},\r\n\r\n\tinLabelRange: xRange,\r\n\tinXRange: xRange,\r\n\tinYRange: yRange,\r\n\r\n\tgetCenterPoint: function() {\r\n\t\tvar vm = this._view;\r\n\t\treturn {\r\n\t\t\tx: vm.x,\r\n\t\t\ty: vm.y\r\n\t\t};\r\n\t},\r\n\r\n\tgetArea: function() {\r\n\t\treturn Math.PI * Math.pow(this._view.radius, 2);\r\n\t},\r\n\r\n\ttooltipPosition: function() {\r\n\t\tvar vm = this._view;\r\n\t\treturn {\r\n\t\t\tx: vm.x,\r\n\t\t\ty: vm.y,\r\n\t\t\tpadding: vm.radius + vm.borderWidth\r\n\t\t};\r\n\t},\r\n\r\n\tdraw: function(chartArea) {\r\n\t\tvar vm = this._view;\r\n\t\tvar ctx = this._chart.ctx;\r\n\t\tvar pointStyle = vm.pointStyle;\r\n\t\tvar rotation = vm.rotation;\r\n\t\tvar radius = vm.radius;\r\n\t\tvar x = vm.x;\r\n\t\tvar y = vm.y;\r\n\t\tvar globalDefaults = core_defaults.global;\r\n\t\tvar defaultColor = globalDefaults.defaultColor; // eslint-disable-line no-shadow\r\n\r\n\t\tif (vm.skip) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\t// Clipping for Points.\r\n\t\tif (chartArea === undefined || helpers$1.canvas._isPointInArea(vm, chartArea)) {\r\n\t\t\tctx.strokeStyle = vm.borderColor || defaultColor;\r\n\t\t\tctx.lineWidth = valueOrDefault$2(vm.borderWidth, globalDefaults.elements.point.borderWidth);\r\n\t\t\tctx.fillStyle = vm.backgroundColor || defaultColor;\r\n\t\t\thelpers$1.canvas.drawPoint(ctx, pointStyle, radius, x, y, rotation);\r\n\t\t}\r\n\t}\r\n});\n\nvar defaultColor$2 = core_defaults.global.defaultColor;\r\n\r\ncore_defaults._set('global', {\r\n\telements: {\r\n\t\trectangle: {\r\n\t\t\tbackgroundColor: defaultColor$2,\r\n\t\t\tborderColor: defaultColor$2,\r\n\t\t\tborderSkipped: 'bottom',\r\n\t\t\tborderWidth: 0\r\n\t\t}\r\n\t}\r\n});\r\n\r\nfunction isVertical(vm) {\r\n\treturn vm && vm.width !== undefined;\r\n}\r\n\r\n/**\r\n * Helper function to get the bounds of the bar regardless of the orientation\r\n * @param bar {Chart.Element.Rectangle} the bar\r\n * @return {Bounds} bounds of the bar\r\n * @private\r\n */\r\nfunction getBarBounds(vm) {\r\n\tvar x1, x2, y1, y2, half;\r\n\r\n\tif (isVertical(vm)) {\r\n\t\thalf = vm.width / 2;\r\n\t\tx1 = vm.x - half;\r\n\t\tx2 = vm.x + half;\r\n\t\ty1 = Math.min(vm.y, vm.base);\r\n\t\ty2 = Math.max(vm.y, vm.base);\r\n\t} else {\r\n\t\thalf = vm.height / 2;\r\n\t\tx1 = Math.min(vm.x, vm.base);\r\n\t\tx2 = Math.max(vm.x, vm.base);\r\n\t\ty1 = vm.y - half;\r\n\t\ty2 = vm.y + half;\r\n\t}\r\n\r\n\treturn {\r\n\t\tleft: x1,\r\n\t\ttop: y1,\r\n\t\tright: x2,\r\n\t\tbottom: y2\r\n\t};\r\n}\r\n\r\nfunction swap(orig, v1, v2) {\r\n\treturn orig === v1 ? v2 : orig === v2 ? v1 : orig;\r\n}\r\n\r\nfunction parseBorderSkipped(vm) {\r\n\tvar edge = vm.borderSkipped;\r\n\tvar res = {};\r\n\r\n\tif (!edge) {\r\n\t\treturn res;\r\n\t}\r\n\r\n\tif (vm.horizontal) {\r\n\t\tif (vm.base > vm.x) {\r\n\t\t\tedge = swap(edge, 'left', 'right');\r\n\t\t}\r\n\t} else if (vm.base < vm.y) {\r\n\t\tedge = swap(edge, 'bottom', 'top');\r\n\t}\r\n\r\n\tres[edge] = true;\r\n\treturn res;\r\n}\r\n\r\nfunction parseBorderWidth(vm, maxW, maxH) {\r\n\tvar value = vm.borderWidth;\r\n\tvar skip = parseBorderSkipped(vm);\r\n\tvar t, r, b, l;\r\n\r\n\tif (helpers$1.isObject(value)) {\r\n\t\tt = +value.top || 0;\r\n\t\tr = +value.right || 0;\r\n\t\tb = +value.bottom || 0;\r\n\t\tl = +value.left || 0;\r\n\t} else {\r\n\t\tt = r = b = l = +value || 0;\r\n\t}\r\n\r\n\treturn {\r\n\t\tt: skip.top || (t < 0) ? 0 : t > maxH ? maxH : t,\r\n\t\tr: skip.right || (r < 0) ? 0 : r > maxW ? maxW : r,\r\n\t\tb: skip.bottom || (b < 0) ? 0 : b > maxH ? maxH : b,\r\n\t\tl: skip.left || (l < 0) ? 0 : l > maxW ? maxW : l\r\n\t};\r\n}\r\n\r\nfunction boundingRects(vm) {\r\n\tvar bounds = getBarBounds(vm);\r\n\tvar width = bounds.right - bounds.left;\r\n\tvar height = bounds.bottom - bounds.top;\r\n\tvar border = parseBorderWidth(vm, width / 2, height / 2);\r\n\r\n\treturn {\r\n\t\touter: {\r\n\t\t\tx: bounds.left,\r\n\t\t\ty: bounds.top,\r\n\t\t\tw: width,\r\n\t\t\th: height\r\n\t\t},\r\n\t\tinner: {\r\n\t\t\tx: bounds.left + border.l,\r\n\t\t\ty: bounds.top + border.t,\r\n\t\t\tw: width - border.l - border.r,\r\n\t\t\th: height - border.t - border.b\r\n\t\t}\r\n\t};\r\n}\r\n\r\nfunction inRange(vm, x, y) {\r\n\tvar skipX = x === null;\r\n\tvar skipY = y === null;\r\n\tvar bounds = !vm || (skipX && skipY) ? false : getBarBounds(vm);\r\n\r\n\treturn bounds\r\n\t\t&& (skipX || x >= bounds.left && x <= bounds.right)\r\n\t\t&& (skipY || y >= bounds.top && y <= bounds.bottom);\r\n}\r\n\r\nvar element_rectangle = core_element.extend({\r\n\t_type: 'rectangle',\r\n\r\n\tdraw: function() {\r\n\t\tvar ctx = this._chart.ctx;\r\n\t\tvar vm = this._view;\r\n\t\tvar rects = boundingRects(vm);\r\n\t\tvar outer = rects.outer;\r\n\t\tvar inner = rects.inner;\r\n\r\n\t\tctx.fillStyle = vm.backgroundColor;\r\n\t\tctx.fillRect(outer.x, outer.y, outer.w, outer.h);\r\n\r\n\t\tif (outer.w === inner.w && outer.h === inner.h) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tctx.save();\r\n\t\tctx.beginPath();\r\n\t\tctx.rect(outer.x, outer.y, outer.w, outer.h);\r\n\t\tctx.clip();\r\n\t\tctx.fillStyle = vm.borderColor;\r\n\t\tctx.rect(inner.x, inner.y, inner.w, inner.h);\r\n\t\tctx.fill('evenodd');\r\n\t\tctx.restore();\r\n\t},\r\n\r\n\theight: function() {\r\n\t\tvar vm = this._view;\r\n\t\treturn vm.base - vm.y;\r\n\t},\r\n\r\n\tinRange: function(mouseX, mouseY) {\r\n\t\treturn inRange(this._view, mouseX, mouseY);\r\n\t},\r\n\r\n\tinLabelRange: function(mouseX, mouseY) {\r\n\t\tvar vm = this._view;\r\n\t\treturn isVertical(vm)\r\n\t\t\t? inRange(vm, mouseX, null)\r\n\t\t\t: inRange(vm, null, mouseY);\r\n\t},\r\n\r\n\tinXRange: function(mouseX) {\r\n\t\treturn inRange(this._view, mouseX, null);\r\n\t},\r\n\r\n\tinYRange: function(mouseY) {\r\n\t\treturn inRange(this._view, null, mouseY);\r\n\t},\r\n\r\n\tgetCenterPoint: function() {\r\n\t\tvar vm = this._view;\r\n\t\tvar x, y;\r\n\t\tif (isVertical(vm)) {\r\n\t\t\tx = vm.x;\r\n\t\t\ty = (vm.y + vm.base) / 2;\r\n\t\t} else {\r\n\t\t\tx = (vm.x + vm.base) / 2;\r\n\t\t\ty = vm.y;\r\n\t\t}\r\n\r\n\t\treturn {x: x, y: y};\r\n\t},\r\n\r\n\tgetArea: function() {\r\n\t\tvar vm = this._view;\r\n\r\n\t\treturn isVertical(vm)\r\n\t\t\t? vm.width * Math.abs(vm.y - vm.base)\r\n\t\t\t: vm.height * Math.abs(vm.x - vm.base);\r\n\t},\r\n\r\n\ttooltipPosition: function() {\r\n\t\tvar vm = this._view;\r\n\t\treturn {\r\n\t\t\tx: vm.x,\r\n\t\t\ty: vm.y\r\n\t\t};\r\n\t}\r\n});\n\nvar elements = {};\r\nvar Arc = element_arc;\r\nvar Line = element_line;\r\nvar Point = element_point;\r\nvar Rectangle = element_rectangle;\nelements.Arc = Arc;\nelements.Line = Line;\nelements.Point = Point;\nelements.Rectangle = Rectangle;\n\nvar deprecated = helpers$1._deprecated;\r\nvar valueOrDefault$3 = helpers$1.valueOrDefault;\r\n\r\ncore_defaults._set('bar', {\r\n\thover: {\r\n\t\tmode: 'label'\r\n\t},\r\n\r\n\tscales: {\r\n\t\txAxes: [{\r\n\t\t\ttype: 'category',\r\n\t\t\toffset: true,\r\n\t\t\tgridLines: {\r\n\t\t\t\toffsetGridLines: true\r\n\t\t\t}\r\n\t\t}],\r\n\r\n\t\tyAxes: [{\r\n\t\t\ttype: 'linear'\r\n\t\t}]\r\n\t}\r\n});\r\n\r\ncore_defaults._set('global', {\r\n\tdatasets: {\r\n\t\tbar: {\r\n\t\t\tcategoryPercentage: 0.8,\r\n\t\t\tbarPercentage: 0.9\r\n\t\t}\r\n\t}\r\n});\r\n\r\n/**\r\n * Computes the \"optimal\" sample size to maintain bars equally sized while preventing overlap.\r\n * @private\r\n */\r\nfunction computeMinSampleSize(scale, pixels) {\r\n\tvar min = scale._length;\r\n\tvar prev, curr, i, ilen;\r\n\r\n\tfor (i = 1, ilen = pixels.length; i < ilen; ++i) {\r\n\t\tmin = Math.min(min, Math.abs(pixels[i] - pixels[i - 1]));\r\n\t}\r\n\r\n\tfor (i = 0, ilen = scale.getTicks().length; i < ilen; ++i) {\r\n\t\tcurr = scale.getPixelForTick(i);\r\n\t\tmin = i > 0 ? Math.min(min, Math.abs(curr - prev)) : min;\r\n\t\tprev = curr;\r\n\t}\r\n\r\n\treturn min;\r\n}\r\n\r\n/**\r\n * Computes an \"ideal\" category based on the absolute bar thickness or, if undefined or null,\r\n * uses the smallest interval (see computeMinSampleSize) that prevents bar overlapping. This\r\n * mode currently always generates bars equally sized (until we introduce scriptable options?).\r\n * @private\r\n */\r\nfunction computeFitCategoryTraits(index, ruler, options) {\r\n\tvar thickness = options.barThickness;\r\n\tvar count = ruler.stackCount;\r\n\tvar curr = ruler.pixels[index];\r\n\tvar min = helpers$1.isNullOrUndef(thickness)\r\n\t\t? computeMinSampleSize(ruler.scale, ruler.pixels)\r\n\t\t: -1;\r\n\tvar size, ratio;\r\n\r\n\tif (helpers$1.isNullOrUndef(thickness)) {\r\n\t\tsize = min * options.categoryPercentage;\r\n\t\tratio = options.barPercentage;\r\n\t} else {\r\n\t\t// When bar thickness is enforced, category and bar percentages are ignored.\r\n\t\t// Note(SB): we could add support for relative bar thickness (e.g. barThickness: '50%')\r\n\t\t// and deprecate barPercentage since this value is ignored when thickness is absolute.\r\n\t\tsize = thickness * count;\r\n\t\tratio = 1;\r\n\t}\r\n\r\n\treturn {\r\n\t\tchunk: size / count,\r\n\t\tratio: ratio,\r\n\t\tstart: curr - (size / 2)\r\n\t};\r\n}\r\n\r\n/**\r\n * Computes an \"optimal\" category that globally arranges bars side by side (no gap when\r\n * percentage options are 1), based on the previous and following categories. This mode\r\n * generates bars with different widths when data are not evenly spaced.\r\n * @private\r\n */\r\nfunction computeFlexCategoryTraits(index, ruler, options) {\r\n\tvar pixels = ruler.pixels;\r\n\tvar curr = pixels[index];\r\n\tvar prev = index > 0 ? pixels[index - 1] : null;\r\n\tvar next = index < pixels.length - 1 ? pixels[index + 1] : null;\r\n\tvar percent = options.categoryPercentage;\r\n\tvar start, size;\r\n\r\n\tif (prev === null) {\r\n\t\t// first data: its size is double based on the next point or,\r\n\t\t// if it's also the last data, we use the scale size.\r\n\t\tprev = curr - (next === null ? ruler.end - ruler.start : next - curr);\r\n\t}\r\n\r\n\tif (next === null) {\r\n\t\t// last data: its size is also double based on the previous point.\r\n\t\tnext = curr + curr - prev;\r\n\t}\r\n\r\n\tstart = curr - (curr - Math.min(prev, next)) / 2 * percent;\r\n\tsize = Math.abs(next - prev) / 2 * percent;\r\n\r\n\treturn {\r\n\t\tchunk: size / ruler.stackCount,\r\n\t\tratio: options.barPercentage,\r\n\t\tstart: start\r\n\t};\r\n}\r\n\r\nvar controller_bar = core_datasetController.extend({\r\n\r\n\tdataElementType: elements.Rectangle,\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_dataElementOptions: [\r\n\t\t'backgroundColor',\r\n\t\t'borderColor',\r\n\t\t'borderSkipped',\r\n\t\t'borderWidth',\r\n\t\t'barPercentage',\r\n\t\t'barThickness',\r\n\t\t'categoryPercentage',\r\n\t\t'maxBarThickness',\r\n\t\t'minBarLength'\r\n\t],\r\n\r\n\tinitialize: function() {\r\n\t\tvar me = this;\r\n\t\tvar meta, scaleOpts;\r\n\r\n\t\tcore_datasetController.prototype.initialize.apply(me, arguments);\r\n\r\n\t\tmeta = me.getMeta();\r\n\t\tmeta.stack = me.getDataset().stack;\r\n\t\tmeta.bar = true;\r\n\r\n\t\tscaleOpts = me._getIndexScale().options;\r\n\t\tdeprecated('bar chart', scaleOpts.barPercentage, 'scales.[x/y]Axes.barPercentage', 'dataset.barPercentage');\r\n\t\tdeprecated('bar chart', scaleOpts.barThickness, 'scales.[x/y]Axes.barThickness', 'dataset.barThickness');\r\n\t\tdeprecated('bar chart', scaleOpts.categoryPercentage, 'scales.[x/y]Axes.categoryPercentage', 'dataset.categoryPercentage');\r\n\t\tdeprecated('bar chart', me._getValueScale().options.minBarLength, 'scales.[x/y]Axes.minBarLength', 'dataset.minBarLength');\r\n\t\tdeprecated('bar chart', scaleOpts.maxBarThickness, 'scales.[x/y]Axes.maxBarThickness', 'dataset.maxBarThickness');\r\n\t},\r\n\r\n\tupdate: function(reset) {\r\n\t\tvar me = this;\r\n\t\tvar rects = me.getMeta().data;\r\n\t\tvar i, ilen;\r\n\r\n\t\tme._ruler = me.getRuler();\r\n\r\n\t\tfor (i = 0, ilen = rects.length; i < ilen; ++i) {\r\n\t\t\tme.updateElement(rects[i], i, reset);\r\n\t\t}\r\n\t},\r\n\r\n\tupdateElement: function(rectangle, index, reset) {\r\n\t\tvar me = this;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar dataset = me.getDataset();\r\n\t\tvar options = me._resolveDataElementOptions(rectangle, index);\r\n\r\n\t\trectangle._xScale = me.getScaleForId(meta.xAxisID);\r\n\t\trectangle._yScale = me.getScaleForId(meta.yAxisID);\r\n\t\trectangle._datasetIndex = me.index;\r\n\t\trectangle._index = index;\r\n\t\trectangle._model = {\r\n\t\t\tbackgroundColor: options.backgroundColor,\r\n\t\t\tborderColor: options.borderColor,\r\n\t\t\tborderSkipped: options.borderSkipped,\r\n\t\t\tborderWidth: options.borderWidth,\r\n\t\t\tdatasetLabel: dataset.label,\r\n\t\t\tlabel: me.chart.data.labels[index]\r\n\t\t};\r\n\r\n\t\tif (helpers$1.isArray(dataset.data[index])) {\r\n\t\t\trectangle._model.borderSkipped = null;\r\n\t\t}\r\n\r\n\t\tme._updateElementGeometry(rectangle, index, reset, options);\r\n\r\n\t\trectangle.pivot();\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_updateElementGeometry: function(rectangle, index, reset, options) {\r\n\t\tvar me = this;\r\n\t\tvar model = rectangle._model;\r\n\t\tvar vscale = me._getValueScale();\r\n\t\tvar base = vscale.getBasePixel();\r\n\t\tvar horizontal = vscale.isHorizontal();\r\n\t\tvar ruler = me._ruler || me.getRuler();\r\n\t\tvar vpixels = me.calculateBarValuePixels(me.index, index, options);\r\n\t\tvar ipixels = me.calculateBarIndexPixels(me.index, index, ruler, options);\r\n\r\n\t\tmodel.horizontal = horizontal;\r\n\t\tmodel.base = reset ? base : vpixels.base;\r\n\t\tmodel.x = horizontal ? reset ? base : vpixels.head : ipixels.center;\r\n\t\tmodel.y = horizontal ? ipixels.center : reset ? base : vpixels.head;\r\n\t\tmodel.height = horizontal ? ipixels.size : undefined;\r\n\t\tmodel.width = horizontal ? undefined : ipixels.size;\r\n\t},\r\n\r\n\t/**\r\n\t * Returns the stacks based on groups and bar visibility.\r\n\t * @param {number} [last] - The dataset index\r\n\t * @returns {string[]} The list of stack IDs\r\n\t * @private\r\n\t */\r\n\t_getStacks: function(last) {\r\n\t\tvar me = this;\r\n\t\tvar scale = me._getIndexScale();\r\n\t\tvar metasets = scale._getMatchingVisibleMetas(me._type);\r\n\t\tvar stacked = scale.options.stacked;\r\n\t\tvar ilen = metasets.length;\r\n\t\tvar stacks = [];\r\n\t\tvar i, meta;\r\n\r\n\t\tfor (i = 0; i < ilen; ++i) {\r\n\t\t\tmeta = metasets[i];\r\n\t\t\t// stacked   | meta.stack\r\n\t\t\t//           | found | not found | undefined\r\n\t\t\t// false     |   x   |     x     |     x\r\n\t\t\t// true      |       |     x     |\r\n\t\t\t// undefined |       |     x     |     x\r\n\t\t\tif (stacked === false || stacks.indexOf(meta.stack) === -1 ||\r\n\t\t\t\t(stacked === undefined && meta.stack === undefined)) {\r\n\t\t\t\tstacks.push(meta.stack);\r\n\t\t\t}\r\n\t\t\tif (meta.index === last) {\r\n\t\t\t\tbreak;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn stacks;\r\n\t},\r\n\r\n\t/**\r\n\t * Returns the effective number of stacks based on groups and bar visibility.\r\n\t * @private\r\n\t */\r\n\tgetStackCount: function() {\r\n\t\treturn this._getStacks().length;\r\n\t},\r\n\r\n\t/**\r\n\t * Returns the stack index for the given dataset based on groups and bar visibility.\r\n\t * @param {number} [datasetIndex] - The dataset index\r\n\t * @param {string} [name] - The stack name to find\r\n\t * @returns {number} The stack index\r\n\t * @private\r\n\t */\r\n\tgetStackIndex: function(datasetIndex, name) {\r\n\t\tvar stacks = this._getStacks(datasetIndex);\r\n\t\tvar index = (name !== undefined)\r\n\t\t\t? stacks.indexOf(name)\r\n\t\t\t: -1; // indexOf returns -1 if element is not present\r\n\r\n\t\treturn (index === -1)\r\n\t\t\t? stacks.length - 1\r\n\t\t\t: index;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tgetRuler: function() {\r\n\t\tvar me = this;\r\n\t\tvar scale = me._getIndexScale();\r\n\t\tvar pixels = [];\r\n\t\tvar i, ilen;\r\n\r\n\t\tfor (i = 0, ilen = me.getMeta().data.length; i < ilen; ++i) {\r\n\t\t\tpixels.push(scale.getPixelForValue(null, i, me.index));\r\n\t\t}\r\n\r\n\t\treturn {\r\n\t\t\tpixels: pixels,\r\n\t\t\tstart: scale._startPixel,\r\n\t\t\tend: scale._endPixel,\r\n\t\t\tstackCount: me.getStackCount(),\r\n\t\t\tscale: scale\r\n\t\t};\r\n\t},\r\n\r\n\t/**\r\n\t * Note: pixel values are not clamped to the scale area.\r\n\t * @private\r\n\t */\r\n\tcalculateBarValuePixels: function(datasetIndex, index, options) {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar scale = me._getValueScale();\r\n\t\tvar isHorizontal = scale.isHorizontal();\r\n\t\tvar datasets = chart.data.datasets;\r\n\t\tvar metasets = scale._getMatchingVisibleMetas(me._type);\r\n\t\tvar value = scale._parseValue(datasets[datasetIndex].data[index]);\r\n\t\tvar minBarLength = options.minBarLength;\r\n\t\tvar stacked = scale.options.stacked;\r\n\t\tvar stack = me.getMeta().stack;\r\n\t\tvar start = value.start === undefined ? 0 : value.max >= 0 && value.min >= 0 ? value.min : value.max;\r\n\t\tvar length = value.start === undefined ? value.end : value.max >= 0 && value.min >= 0 ? value.max - value.min : value.min - value.max;\r\n\t\tvar ilen = metasets.length;\r\n\t\tvar i, imeta, ivalue, base, head, size, stackLength;\r\n\r\n\t\tif (stacked || (stacked === undefined && stack !== undefined)) {\r\n\t\t\tfor (i = 0; i < ilen; ++i) {\r\n\t\t\t\timeta = metasets[i];\r\n\r\n\t\t\t\tif (imeta.index === datasetIndex) {\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (imeta.stack === stack) {\r\n\t\t\t\t\tstackLength = scale._parseValue(datasets[imeta.index].data[index]);\r\n\t\t\t\t\tivalue = stackLength.start === undefined ? stackLength.end : stackLength.min >= 0 && stackLength.max >= 0 ? stackLength.max : stackLength.min;\r\n\r\n\t\t\t\t\tif ((value.min < 0 && ivalue < 0) || (value.max >= 0 && ivalue > 0)) {\r\n\t\t\t\t\t\tstart += ivalue;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tbase = scale.getPixelForValue(start);\r\n\t\thead = scale.getPixelForValue(start + length);\r\n\t\tsize = head - base;\r\n\r\n\t\tif (minBarLength !== undefined && Math.abs(size) < minBarLength) {\r\n\t\t\tsize = minBarLength;\r\n\t\t\tif (length >= 0 && !isHorizontal || length < 0 && isHorizontal) {\r\n\t\t\t\thead = base - minBarLength;\r\n\t\t\t} else {\r\n\t\t\t\thead = base + minBarLength;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn {\r\n\t\t\tsize: size,\r\n\t\t\tbase: base,\r\n\t\t\thead: head,\r\n\t\t\tcenter: head + size / 2\r\n\t\t};\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tcalculateBarIndexPixels: function(datasetIndex, index, ruler, options) {\r\n\t\tvar me = this;\r\n\t\tvar range = options.barThickness === 'flex'\r\n\t\t\t? computeFlexCategoryTraits(index, ruler, options)\r\n\t\t\t: computeFitCategoryTraits(index, ruler, options);\r\n\r\n\t\tvar stackIndex = me.getStackIndex(datasetIndex, me.getMeta().stack);\r\n\t\tvar center = range.start + (range.chunk * stackIndex) + (range.chunk / 2);\r\n\t\tvar size = Math.min(\r\n\t\t\tvalueOrDefault$3(options.maxBarThickness, Infinity),\r\n\t\t\trange.chunk * range.ratio);\r\n\r\n\t\treturn {\r\n\t\t\tbase: center - size / 2,\r\n\t\t\thead: center + size / 2,\r\n\t\t\tcenter: center,\r\n\t\t\tsize: size\r\n\t\t};\r\n\t},\r\n\r\n\tdraw: function() {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar scale = me._getValueScale();\r\n\t\tvar rects = me.getMeta().data;\r\n\t\tvar dataset = me.getDataset();\r\n\t\tvar ilen = rects.length;\r\n\t\tvar i = 0;\r\n\r\n\t\thelpers$1.canvas.clipArea(chart.ctx, chart.chartArea);\r\n\r\n\t\tfor (; i < ilen; ++i) {\r\n\t\t\tvar val = scale._parseValue(dataset.data[i]);\r\n\t\t\tif (!isNaN(val.min) && !isNaN(val.max)) {\r\n\t\t\t\trects[i].draw();\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\thelpers$1.canvas.unclipArea(chart.ctx);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_resolveDataElementOptions: function() {\r\n\t\tvar me = this;\r\n\t\tvar values = helpers$1.extend({}, core_datasetController.prototype._resolveDataElementOptions.apply(me, arguments));\r\n\t\tvar indexOpts = me._getIndexScale().options;\r\n\t\tvar valueOpts = me._getValueScale().options;\r\n\r\n\t\tvalues.barPercentage = valueOrDefault$3(indexOpts.barPercentage, values.barPercentage);\r\n\t\tvalues.barThickness = valueOrDefault$3(indexOpts.barThickness, values.barThickness);\r\n\t\tvalues.categoryPercentage = valueOrDefault$3(indexOpts.categoryPercentage, values.categoryPercentage);\r\n\t\tvalues.maxBarThickness = valueOrDefault$3(indexOpts.maxBarThickness, values.maxBarThickness);\r\n\t\tvalues.minBarLength = valueOrDefault$3(valueOpts.minBarLength, values.minBarLength);\r\n\r\n\t\treturn values;\r\n\t}\r\n\r\n});\n\nvar valueOrDefault$4 = helpers$1.valueOrDefault;\r\nvar resolve$1 = helpers$1.options.resolve;\r\n\r\ncore_defaults._set('bubble', {\r\n\thover: {\r\n\t\tmode: 'single'\r\n\t},\r\n\r\n\tscales: {\r\n\t\txAxes: [{\r\n\t\t\ttype: 'linear', // bubble should probably use a linear scale by default\r\n\t\t\tposition: 'bottom',\r\n\t\t\tid: 'x-axis-0' // need an ID so datasets can reference the scale\r\n\t\t}],\r\n\t\tyAxes: [{\r\n\t\t\ttype: 'linear',\r\n\t\t\tposition: 'left',\r\n\t\t\tid: 'y-axis-0'\r\n\t\t}]\r\n\t},\r\n\r\n\ttooltips: {\r\n\t\tcallbacks: {\r\n\t\t\ttitle: function() {\r\n\t\t\t\t// Title doesn't make sense for scatter since we format the data as a point\r\n\t\t\t\treturn '';\r\n\t\t\t},\r\n\t\t\tlabel: function(item, data) {\r\n\t\t\t\tvar datasetLabel = data.datasets[item.datasetIndex].label || '';\r\n\t\t\t\tvar dataPoint = data.datasets[item.datasetIndex].data[item.index];\r\n\t\t\t\treturn datasetLabel + ': (' + item.xLabel + ', ' + item.yLabel + ', ' + dataPoint.r + ')';\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n});\r\n\r\nvar controller_bubble = core_datasetController.extend({\r\n\t/**\r\n\t * @protected\r\n\t */\r\n\tdataElementType: elements.Point,\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_dataElementOptions: [\r\n\t\t'backgroundColor',\r\n\t\t'borderColor',\r\n\t\t'borderWidth',\r\n\t\t'hoverBackgroundColor',\r\n\t\t'hoverBorderColor',\r\n\t\t'hoverBorderWidth',\r\n\t\t'hoverRadius',\r\n\t\t'hitRadius',\r\n\t\t'pointStyle',\r\n\t\t'rotation'\r\n\t],\r\n\r\n\t/**\r\n\t * @protected\r\n\t */\r\n\tupdate: function(reset) {\r\n\t\tvar me = this;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar points = meta.data;\r\n\r\n\t\t// Update Points\r\n\t\thelpers$1.each(points, function(point, index) {\r\n\t\t\tme.updateElement(point, index, reset);\r\n\t\t});\r\n\t},\r\n\r\n\t/**\r\n\t * @protected\r\n\t */\r\n\tupdateElement: function(point, index, reset) {\r\n\t\tvar me = this;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar custom = point.custom || {};\r\n\t\tvar xScale = me.getScaleForId(meta.xAxisID);\r\n\t\tvar yScale = me.getScaleForId(meta.yAxisID);\r\n\t\tvar options = me._resolveDataElementOptions(point, index);\r\n\t\tvar data = me.getDataset().data[index];\r\n\t\tvar dsIndex = me.index;\r\n\r\n\t\tvar x = reset ? xScale.getPixelForDecimal(0.5) : xScale.getPixelForValue(typeof data === 'object' ? data : NaN, index, dsIndex);\r\n\t\tvar y = reset ? yScale.getBasePixel() : yScale.getPixelForValue(data, index, dsIndex);\r\n\r\n\t\tpoint._xScale = xScale;\r\n\t\tpoint._yScale = yScale;\r\n\t\tpoint._options = options;\r\n\t\tpoint._datasetIndex = dsIndex;\r\n\t\tpoint._index = index;\r\n\t\tpoint._model = {\r\n\t\t\tbackgroundColor: options.backgroundColor,\r\n\t\t\tborderColor: options.borderColor,\r\n\t\t\tborderWidth: options.borderWidth,\r\n\t\t\thitRadius: options.hitRadius,\r\n\t\t\tpointStyle: options.pointStyle,\r\n\t\t\trotation: options.rotation,\r\n\t\t\tradius: reset ? 0 : options.radius,\r\n\t\t\tskip: custom.skip || isNaN(x) || isNaN(y),\r\n\t\t\tx: x,\r\n\t\t\ty: y,\r\n\t\t};\r\n\r\n\t\tpoint.pivot();\r\n\t},\r\n\r\n\t/**\r\n\t * @protected\r\n\t */\r\n\tsetHoverStyle: function(point) {\r\n\t\tvar model = point._model;\r\n\t\tvar options = point._options;\r\n\t\tvar getHoverColor = helpers$1.getHoverColor;\r\n\r\n\t\tpoint.$previousStyle = {\r\n\t\t\tbackgroundColor: model.backgroundColor,\r\n\t\t\tborderColor: model.borderColor,\r\n\t\t\tborderWidth: model.borderWidth,\r\n\t\t\tradius: model.radius\r\n\t\t};\r\n\r\n\t\tmodel.backgroundColor = valueOrDefault$4(options.hoverBackgroundColor, getHoverColor(options.backgroundColor));\r\n\t\tmodel.borderColor = valueOrDefault$4(options.hoverBorderColor, getHoverColor(options.borderColor));\r\n\t\tmodel.borderWidth = valueOrDefault$4(options.hoverBorderWidth, options.borderWidth);\r\n\t\tmodel.radius = options.radius + options.hoverRadius;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_resolveDataElementOptions: function(point, index) {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar dataset = me.getDataset();\r\n\t\tvar custom = point.custom || {};\r\n\t\tvar data = dataset.data[index] || {};\r\n\t\tvar values = core_datasetController.prototype._resolveDataElementOptions.apply(me, arguments);\r\n\r\n\t\t// Scriptable options\r\n\t\tvar context = {\r\n\t\t\tchart: chart,\r\n\t\t\tdataIndex: index,\r\n\t\t\tdataset: dataset,\r\n\t\t\tdatasetIndex: me.index\r\n\t\t};\r\n\r\n\t\t// In case values were cached (and thus frozen), we need to clone the values\r\n\t\tif (me._cachedDataOpts === values) {\r\n\t\t\tvalues = helpers$1.extend({}, values);\r\n\t\t}\r\n\r\n\t\t// Custom radius resolution\r\n\t\tvalues.radius = resolve$1([\r\n\t\t\tcustom.radius,\r\n\t\t\tdata.r,\r\n\t\t\tme._config.radius,\r\n\t\t\tchart.options.elements.point.radius\r\n\t\t], context, index);\r\n\r\n\t\treturn values;\r\n\t}\r\n});\n\nvar valueOrDefault$5 = helpers$1.valueOrDefault;\r\n\r\nvar PI$1 = Math.PI;\r\nvar DOUBLE_PI$1 = PI$1 * 2;\r\nvar HALF_PI$1 = PI$1 / 2;\r\n\r\ncore_defaults._set('doughnut', {\r\n\tanimation: {\r\n\t\t// Boolean - Whether we animate the rotation of the Doughnut\r\n\t\tanimateRotate: true,\r\n\t\t// Boolean - Whether we animate scaling the Doughnut from the centre\r\n\t\tanimateScale: false\r\n\t},\r\n\thover: {\r\n\t\tmode: 'single'\r\n\t},\r\n\tlegendCallback: function(chart) {\r\n\t\tvar list = document.createElement('ul');\r\n\t\tvar data = chart.data;\r\n\t\tvar datasets = data.datasets;\r\n\t\tvar labels = data.labels;\r\n\t\tvar i, ilen, listItem, listItemSpan;\r\n\r\n\t\tlist.setAttribute('class', chart.id + '-legend');\r\n\t\tif (datasets.length) {\r\n\t\t\tfor (i = 0, ilen = datasets[0].data.length; i < ilen; ++i) {\r\n\t\t\t\tlistItem = list.appendChild(document.createElement('li'));\r\n\t\t\t\tlistItemSpan = listItem.appendChild(document.createElement('span'));\r\n\t\t\t\tlistItemSpan.style.backgroundColor = datasets[0].backgroundColor[i];\r\n\t\t\t\tif (labels[i]) {\r\n\t\t\t\t\tlistItem.appendChild(document.createTextNode(labels[i]));\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn list.outerHTML;\r\n\t},\r\n\tlegend: {\r\n\t\tlabels: {\r\n\t\t\tgenerateLabels: function(chart) {\r\n\t\t\t\tvar data = chart.data;\r\n\t\t\t\tif (data.labels.length && data.datasets.length) {\r\n\t\t\t\t\treturn data.labels.map(function(label, i) {\r\n\t\t\t\t\t\tvar meta = chart.getDatasetMeta(0);\r\n\t\t\t\t\t\tvar style = meta.controller.getStyle(i);\r\n\r\n\t\t\t\t\t\treturn {\r\n\t\t\t\t\t\t\ttext: label,\r\n\t\t\t\t\t\t\tfillStyle: style.backgroundColor,\r\n\t\t\t\t\t\t\tstrokeStyle: style.borderColor,\r\n\t\t\t\t\t\t\tlineWidth: style.borderWidth,\r\n\t\t\t\t\t\t\thidden: isNaN(data.datasets[0].data[i]) || meta.data[i].hidden,\r\n\r\n\t\t\t\t\t\t\t// Extra data used for toggling the correct item\r\n\t\t\t\t\t\t\tindex: i\r\n\t\t\t\t\t\t};\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t\treturn [];\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tonClick: function(e, legendItem) {\r\n\t\t\tvar index = legendItem.index;\r\n\t\t\tvar chart = this.chart;\r\n\t\t\tvar i, ilen, meta;\r\n\r\n\t\t\tfor (i = 0, ilen = (chart.data.datasets || []).length; i < ilen; ++i) {\r\n\t\t\t\tmeta = chart.getDatasetMeta(i);\r\n\t\t\t\t// toggle visibility of index if exists\r\n\t\t\t\tif (meta.data[index]) {\r\n\t\t\t\t\tmeta.data[index].hidden = !meta.data[index].hidden;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tchart.update();\r\n\t\t}\r\n\t},\r\n\r\n\t// The percentage of the chart that we cut out of the middle.\r\n\tcutoutPercentage: 50,\r\n\r\n\t// The rotation of the chart, where the first data arc begins.\r\n\trotation: -HALF_PI$1,\r\n\r\n\t// The total circumference of the chart.\r\n\tcircumference: DOUBLE_PI$1,\r\n\r\n\t// Need to override these to give a nice default\r\n\ttooltips: {\r\n\t\tcallbacks: {\r\n\t\t\ttitle: function() {\r\n\t\t\t\treturn '';\r\n\t\t\t},\r\n\t\t\tlabel: function(tooltipItem, data) {\r\n\t\t\t\tvar dataLabel = data.labels[tooltipItem.index];\r\n\t\t\t\tvar value = ': ' + data.datasets[tooltipItem.datasetIndex].data[tooltipItem.index];\r\n\r\n\t\t\t\tif (helpers$1.isArray(dataLabel)) {\r\n\t\t\t\t\t// show value on first line of multiline label\r\n\t\t\t\t\t// need to clone because we are changing the value\r\n\t\t\t\t\tdataLabel = dataLabel.slice();\r\n\t\t\t\t\tdataLabel[0] += value;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tdataLabel += value;\r\n\t\t\t\t}\r\n\r\n\t\t\t\treturn dataLabel;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n});\r\n\r\nvar controller_doughnut = core_datasetController.extend({\r\n\r\n\tdataElementType: elements.Arc,\r\n\r\n\tlinkScales: helpers$1.noop,\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_dataElementOptions: [\r\n\t\t'backgroundColor',\r\n\t\t'borderColor',\r\n\t\t'borderWidth',\r\n\t\t'borderAlign',\r\n\t\t'hoverBackgroundColor',\r\n\t\t'hoverBorderColor',\r\n\t\t'hoverBorderWidth',\r\n\t],\r\n\r\n\t// Get index of the dataset in relation to the visible datasets. This allows determining the inner and outer radius correctly\r\n\tgetRingIndex: function(datasetIndex) {\r\n\t\tvar ringIndex = 0;\r\n\r\n\t\tfor (var j = 0; j < datasetIndex; ++j) {\r\n\t\t\tif (this.chart.isDatasetVisible(j)) {\r\n\t\t\t\t++ringIndex;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn ringIndex;\r\n\t},\r\n\r\n\tupdate: function(reset) {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar chartArea = chart.chartArea;\r\n\t\tvar opts = chart.options;\r\n\t\tvar ratioX = 1;\r\n\t\tvar ratioY = 1;\r\n\t\tvar offsetX = 0;\r\n\t\tvar offsetY = 0;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar arcs = meta.data;\r\n\t\tvar cutout = opts.cutoutPercentage / 100 || 0;\r\n\t\tvar circumference = opts.circumference;\r\n\t\tvar chartWeight = me._getRingWeight(me.index);\r\n\t\tvar maxWidth, maxHeight, i, ilen;\r\n\r\n\t\t// If the chart's circumference isn't a full circle, calculate size as a ratio of the width/height of the arc\r\n\t\tif (circumference < DOUBLE_PI$1) {\r\n\t\t\tvar startAngle = opts.rotation % DOUBLE_PI$1;\r\n\t\t\tstartAngle += startAngle >= PI$1 ? -DOUBLE_PI$1 : startAngle < -PI$1 ? DOUBLE_PI$1 : 0;\r\n\t\t\tvar endAngle = startAngle + circumference;\r\n\t\t\tvar startX = Math.cos(startAngle);\r\n\t\t\tvar startY = Math.sin(startAngle);\r\n\t\t\tvar endX = Math.cos(endAngle);\r\n\t\t\tvar endY = Math.sin(endAngle);\r\n\t\t\tvar contains0 = (startAngle <= 0 && endAngle >= 0) || endAngle >= DOUBLE_PI$1;\r\n\t\t\tvar contains90 = (startAngle <= HALF_PI$1 && endAngle >= HALF_PI$1) || endAngle >= DOUBLE_PI$1 + HALF_PI$1;\r\n\t\t\tvar contains180 = startAngle === -PI$1 || endAngle >= PI$1;\r\n\t\t\tvar contains270 = (startAngle <= -HALF_PI$1 && endAngle >= -HALF_PI$1) || endAngle >= PI$1 + HALF_PI$1;\r\n\t\t\tvar minX = contains180 ? -1 : Math.min(startX, startX * cutout, endX, endX * cutout);\r\n\t\t\tvar minY = contains270 ? -1 : Math.min(startY, startY * cutout, endY, endY * cutout);\r\n\t\t\tvar maxX = contains0 ? 1 : Math.max(startX, startX * cutout, endX, endX * cutout);\r\n\t\t\tvar maxY = contains90 ? 1 : Math.max(startY, startY * cutout, endY, endY * cutout);\r\n\t\t\tratioX = (maxX - minX) / 2;\r\n\t\t\tratioY = (maxY - minY) / 2;\r\n\t\t\toffsetX = -(maxX + minX) / 2;\r\n\t\t\toffsetY = -(maxY + minY) / 2;\r\n\t\t}\r\n\r\n\t\tfor (i = 0, ilen = arcs.length; i < ilen; ++i) {\r\n\t\t\tarcs[i]._options = me._resolveDataElementOptions(arcs[i], i);\r\n\t\t}\r\n\r\n\t\tchart.borderWidth = me.getMaxBorderWidth();\r\n\t\tmaxWidth = (chartArea.right - chartArea.left - chart.borderWidth) / ratioX;\r\n\t\tmaxHeight = (chartArea.bottom - chartArea.top - chart.borderWidth) / ratioY;\r\n\t\tchart.outerRadius = Math.max(Math.min(maxWidth, maxHeight) / 2, 0);\r\n\t\tchart.innerRadius = Math.max(chart.outerRadius * cutout, 0);\r\n\t\tchart.radiusLength = (chart.outerRadius - chart.innerRadius) / (me._getVisibleDatasetWeightTotal() || 1);\r\n\t\tchart.offsetX = offsetX * chart.outerRadius;\r\n\t\tchart.offsetY = offsetY * chart.outerRadius;\r\n\r\n\t\tmeta.total = me.calculateTotal();\r\n\r\n\t\tme.outerRadius = chart.outerRadius - chart.radiusLength * me._getRingWeightOffset(me.index);\r\n\t\tme.innerRadius = Math.max(me.outerRadius - chart.radiusLength * chartWeight, 0);\r\n\r\n\t\tfor (i = 0, ilen = arcs.length; i < ilen; ++i) {\r\n\t\t\tme.updateElement(arcs[i], i, reset);\r\n\t\t}\r\n\t},\r\n\r\n\tupdateElement: function(arc, index, reset) {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar chartArea = chart.chartArea;\r\n\t\tvar opts = chart.options;\r\n\t\tvar animationOpts = opts.animation;\r\n\t\tvar centerX = (chartArea.left + chartArea.right) / 2;\r\n\t\tvar centerY = (chartArea.top + chartArea.bottom) / 2;\r\n\t\tvar startAngle = opts.rotation; // non reset case handled later\r\n\t\tvar endAngle = opts.rotation; // non reset case handled later\r\n\t\tvar dataset = me.getDataset();\r\n\t\tvar circumference = reset && animationOpts.animateRotate ? 0 : arc.hidden ? 0 : me.calculateCircumference(dataset.data[index]) * (opts.circumference / DOUBLE_PI$1);\r\n\t\tvar innerRadius = reset && animationOpts.animateScale ? 0 : me.innerRadius;\r\n\t\tvar outerRadius = reset && animationOpts.animateScale ? 0 : me.outerRadius;\r\n\t\tvar options = arc._options || {};\r\n\r\n\t\thelpers$1.extend(arc, {\r\n\t\t\t// Utility\r\n\t\t\t_datasetIndex: me.index,\r\n\t\t\t_index: index,\r\n\r\n\t\t\t// Desired view properties\r\n\t\t\t_model: {\r\n\t\t\t\tbackgroundColor: options.backgroundColor,\r\n\t\t\t\tborderColor: options.borderColor,\r\n\t\t\t\tborderWidth: options.borderWidth,\r\n\t\t\t\tborderAlign: options.borderAlign,\r\n\t\t\t\tx: centerX + chart.offsetX,\r\n\t\t\t\ty: centerY + chart.offsetY,\r\n\t\t\t\tstartAngle: startAngle,\r\n\t\t\t\tendAngle: endAngle,\r\n\t\t\t\tcircumference: circumference,\r\n\t\t\t\touterRadius: outerRadius,\r\n\t\t\t\tinnerRadius: innerRadius,\r\n\t\t\t\tlabel: helpers$1.valueAtIndexOrDefault(dataset.label, index, chart.data.labels[index])\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tvar model = arc._model;\r\n\r\n\t\t// Set correct angles if not resetting\r\n\t\tif (!reset || !animationOpts.animateRotate) {\r\n\t\t\tif (index === 0) {\r\n\t\t\t\tmodel.startAngle = opts.rotation;\r\n\t\t\t} else {\r\n\t\t\t\tmodel.startAngle = me.getMeta().data[index - 1]._model.endAngle;\r\n\t\t\t}\r\n\r\n\t\t\tmodel.endAngle = model.startAngle + model.circumference;\r\n\t\t}\r\n\r\n\t\tarc.pivot();\r\n\t},\r\n\r\n\tcalculateTotal: function() {\r\n\t\tvar dataset = this.getDataset();\r\n\t\tvar meta = this.getMeta();\r\n\t\tvar total = 0;\r\n\t\tvar value;\r\n\r\n\t\thelpers$1.each(meta.data, function(element, index) {\r\n\t\t\tvalue = dataset.data[index];\r\n\t\t\tif (!isNaN(value) && !element.hidden) {\r\n\t\t\t\ttotal += Math.abs(value);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\t/* if (total === 0) {\r\n\t\t\ttotal = NaN;\r\n\t\t}*/\r\n\r\n\t\treturn total;\r\n\t},\r\n\r\n\tcalculateCircumference: function(value) {\r\n\t\tvar total = this.getMeta().total;\r\n\t\tif (total > 0 && !isNaN(value)) {\r\n\t\t\treturn DOUBLE_PI$1 * (Math.abs(value) / total);\r\n\t\t}\r\n\t\treturn 0;\r\n\t},\r\n\r\n\t// gets the max border or hover width to properly scale pie charts\r\n\tgetMaxBorderWidth: function(arcs) {\r\n\t\tvar me = this;\r\n\t\tvar max = 0;\r\n\t\tvar chart = me.chart;\r\n\t\tvar i, ilen, meta, arc, controller, options, borderWidth, hoverWidth;\r\n\r\n\t\tif (!arcs) {\r\n\t\t\t// Find the outmost visible dataset\r\n\t\t\tfor (i = 0, ilen = chart.data.datasets.length; i < ilen; ++i) {\r\n\t\t\t\tif (chart.isDatasetVisible(i)) {\r\n\t\t\t\t\tmeta = chart.getDatasetMeta(i);\r\n\t\t\t\t\tarcs = meta.data;\r\n\t\t\t\t\tif (i !== me.index) {\r\n\t\t\t\t\t\tcontroller = meta.controller;\r\n\t\t\t\t\t}\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (!arcs) {\r\n\t\t\treturn 0;\r\n\t\t}\r\n\r\n\t\tfor (i = 0, ilen = arcs.length; i < ilen; ++i) {\r\n\t\t\tarc = arcs[i];\r\n\t\t\tif (controller) {\r\n\t\t\t\tcontroller._configure();\r\n\t\t\t\toptions = controller._resolveDataElementOptions(arc, i);\r\n\t\t\t} else {\r\n\t\t\t\toptions = arc._options;\r\n\t\t\t}\r\n\t\t\tif (options.borderAlign !== 'inner') {\r\n\t\t\t\tborderWidth = options.borderWidth;\r\n\t\t\t\thoverWidth = options.hoverBorderWidth;\r\n\r\n\t\t\t\tmax = borderWidth > max ? borderWidth : max;\r\n\t\t\t\tmax = hoverWidth > max ? hoverWidth : max;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn max;\r\n\t},\r\n\r\n\t/**\r\n\t * @protected\r\n\t */\r\n\tsetHoverStyle: function(arc) {\r\n\t\tvar model = arc._model;\r\n\t\tvar options = arc._options;\r\n\t\tvar getHoverColor = helpers$1.getHoverColor;\r\n\r\n\t\tarc.$previousStyle = {\r\n\t\t\tbackgroundColor: model.backgroundColor,\r\n\t\t\tborderColor: model.borderColor,\r\n\t\t\tborderWidth: model.borderWidth,\r\n\t\t};\r\n\r\n\t\tmodel.backgroundColor = valueOrDefault$5(options.hoverBackgroundColor, getHoverColor(options.backgroundColor));\r\n\t\tmodel.borderColor = valueOrDefault$5(options.hoverBorderColor, getHoverColor(options.borderColor));\r\n\t\tmodel.borderWidth = valueOrDefault$5(options.hoverBorderWidth, options.borderWidth);\r\n\t},\r\n\r\n\t/**\r\n\t * Get radius length offset of the dataset in relation to the visible datasets weights. This allows determining the inner and outer radius correctly\r\n\t * @private\r\n\t */\r\n\t_getRingWeightOffset: function(datasetIndex) {\r\n\t\tvar ringWeightOffset = 0;\r\n\r\n\t\tfor (var i = 0; i < datasetIndex; ++i) {\r\n\t\t\tif (this.chart.isDatasetVisible(i)) {\r\n\t\t\t\tringWeightOffset += this._getRingWeight(i);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn ringWeightOffset;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getRingWeight: function(dataSetIndex) {\r\n\t\treturn Math.max(valueOrDefault$5(this.chart.data.datasets[dataSetIndex].weight, 1), 0);\r\n\t},\r\n\r\n\t/**\r\n\t * Returns the sum of all visibile data set weights.  This value can be 0.\r\n\t * @private\r\n\t */\r\n\t_getVisibleDatasetWeightTotal: function() {\r\n\t\treturn this._getRingWeightOffset(this.chart.data.datasets.length);\r\n\t}\r\n});\n\ncore_defaults._set('horizontalBar', {\r\n\thover: {\r\n\t\tmode: 'index',\r\n\t\taxis: 'y'\r\n\t},\r\n\r\n\tscales: {\r\n\t\txAxes: [{\r\n\t\t\ttype: 'linear',\r\n\t\t\tposition: 'bottom'\r\n\t\t}],\r\n\r\n\t\tyAxes: [{\r\n\t\t\ttype: 'category',\r\n\t\t\tposition: 'left',\r\n\t\t\toffset: true,\r\n\t\t\tgridLines: {\r\n\t\t\t\toffsetGridLines: true\r\n\t\t\t}\r\n\t\t}]\r\n\t},\r\n\r\n\telements: {\r\n\t\trectangle: {\r\n\t\t\tborderSkipped: 'left'\r\n\t\t}\r\n\t},\r\n\r\n\ttooltips: {\r\n\t\tmode: 'index',\r\n\t\taxis: 'y'\r\n\t}\r\n});\r\n\r\ncore_defaults._set('global', {\r\n\tdatasets: {\r\n\t\thorizontalBar: {\r\n\t\t\tcategoryPercentage: 0.8,\r\n\t\t\tbarPercentage: 0.9\r\n\t\t}\r\n\t}\r\n});\r\n\r\nvar controller_horizontalBar = controller_bar.extend({\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getValueScaleId: function() {\r\n\t\treturn this.getMeta().xAxisID;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getIndexScaleId: function() {\r\n\t\treturn this.getMeta().yAxisID;\r\n\t}\r\n});\n\nvar valueOrDefault$6 = helpers$1.valueOrDefault;\r\nvar resolve$2 = helpers$1.options.resolve;\r\nvar isPointInArea = helpers$1.canvas._isPointInArea;\r\n\r\ncore_defaults._set('line', {\r\n\tshowLines: true,\r\n\tspanGaps: false,\r\n\r\n\thover: {\r\n\t\tmode: 'label'\r\n\t},\r\n\r\n\tscales: {\r\n\t\txAxes: [{\r\n\t\t\ttype: 'category',\r\n\t\t\tid: 'x-axis-0'\r\n\t\t}],\r\n\t\tyAxes: [{\r\n\t\t\ttype: 'linear',\r\n\t\t\tid: 'y-axis-0'\r\n\t\t}]\r\n\t}\r\n});\r\n\r\nfunction scaleClip(scale, halfBorderWidth) {\r\n\tvar tickOpts = scale && scale.options.ticks || {};\r\n\tvar reverse = tickOpts.reverse;\r\n\tvar min = tickOpts.min === undefined ? halfBorderWidth : 0;\r\n\tvar max = tickOpts.max === undefined ? halfBorderWidth : 0;\r\n\treturn {\r\n\t\tstart: reverse ? max : min,\r\n\t\tend: reverse ? min : max\r\n\t};\r\n}\r\n\r\nfunction defaultClip(xScale, yScale, borderWidth) {\r\n\tvar halfBorderWidth = borderWidth / 2;\r\n\tvar x = scaleClip(xScale, halfBorderWidth);\r\n\tvar y = scaleClip(yScale, halfBorderWidth);\r\n\r\n\treturn {\r\n\t\ttop: y.end,\r\n\t\tright: x.end,\r\n\t\tbottom: y.start,\r\n\t\tleft: x.start\r\n\t};\r\n}\r\n\r\nfunction toClip(value) {\r\n\tvar t, r, b, l;\r\n\r\n\tif (helpers$1.isObject(value)) {\r\n\t\tt = value.top;\r\n\t\tr = value.right;\r\n\t\tb = value.bottom;\r\n\t\tl = value.left;\r\n\t} else {\r\n\t\tt = r = b = l = value;\r\n\t}\r\n\r\n\treturn {\r\n\t\ttop: t,\r\n\t\tright: r,\r\n\t\tbottom: b,\r\n\t\tleft: l\r\n\t};\r\n}\r\n\r\n\r\nvar controller_line = core_datasetController.extend({\r\n\r\n\tdatasetElementType: elements.Line,\r\n\r\n\tdataElementType: elements.Point,\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_datasetElementOptions: [\r\n\t\t'backgroundColor',\r\n\t\t'borderCapStyle',\r\n\t\t'borderColor',\r\n\t\t'borderDash',\r\n\t\t'borderDashOffset',\r\n\t\t'borderJoinStyle',\r\n\t\t'borderWidth',\r\n\t\t'cubicInterpolationMode',\r\n\t\t'fill'\r\n\t],\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_dataElementOptions: {\r\n\t\tbackgroundColor: 'pointBackgroundColor',\r\n\t\tborderColor: 'pointBorderColor',\r\n\t\tborderWidth: 'pointBorderWidth',\r\n\t\thitRadius: 'pointHitRadius',\r\n\t\thoverBackgroundColor: 'pointHoverBackgroundColor',\r\n\t\thoverBorderColor: 'pointHoverBorderColor',\r\n\t\thoverBorderWidth: 'pointHoverBorderWidth',\r\n\t\thoverRadius: 'pointHoverRadius',\r\n\t\tpointStyle: 'pointStyle',\r\n\t\tradius: 'pointRadius',\r\n\t\trotation: 'pointRotation'\r\n\t},\r\n\r\n\tupdate: function(reset) {\r\n\t\tvar me = this;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar line = meta.dataset;\r\n\t\tvar points = meta.data || [];\r\n\t\tvar options = me.chart.options;\r\n\t\tvar config = me._config;\r\n\t\tvar showLine = me._showLine = valueOrDefault$6(config.showLine, options.showLines);\r\n\t\tvar i, ilen;\r\n\r\n\t\tme._xScale = me.getScaleForId(meta.xAxisID);\r\n\t\tme._yScale = me.getScaleForId(meta.yAxisID);\r\n\r\n\t\t// Update Line\r\n\t\tif (showLine) {\r\n\t\t\t// Compatibility: If the properties are defined with only the old name, use those values\r\n\t\t\tif (config.tension !== undefined && config.lineTension === undefined) {\r\n\t\t\t\tconfig.lineTension = config.tension;\r\n\t\t\t}\r\n\r\n\t\t\t// Utility\r\n\t\t\tline._scale = me._yScale;\r\n\t\t\tline._datasetIndex = me.index;\r\n\t\t\t// Data\r\n\t\t\tline._children = points;\r\n\t\t\t// Model\r\n\t\t\tline._model = me._resolveDatasetElementOptions(line);\r\n\r\n\t\t\tline.pivot();\r\n\t\t}\r\n\r\n\t\t// Update Points\r\n\t\tfor (i = 0, ilen = points.length; i < ilen; ++i) {\r\n\t\t\tme.updateElement(points[i], i, reset);\r\n\t\t}\r\n\r\n\t\tif (showLine && line._model.tension !== 0) {\r\n\t\t\tme.updateBezierControlPoints();\r\n\t\t}\r\n\r\n\t\t// Now pivot the point for animation\r\n\t\tfor (i = 0, ilen = points.length; i < ilen; ++i) {\r\n\t\t\tpoints[i].pivot();\r\n\t\t}\r\n\t},\r\n\r\n\tupdateElement: function(point, index, reset) {\r\n\t\tvar me = this;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar custom = point.custom || {};\r\n\t\tvar dataset = me.getDataset();\r\n\t\tvar datasetIndex = me.index;\r\n\t\tvar value = dataset.data[index];\r\n\t\tvar xScale = me._xScale;\r\n\t\tvar yScale = me._yScale;\r\n\t\tvar lineModel = meta.dataset._model;\r\n\t\tvar x, y;\r\n\r\n\t\tvar options = me._resolveDataElementOptions(point, index);\r\n\r\n\t\tx = xScale.getPixelForValue(typeof value === 'object' ? value : NaN, index, datasetIndex);\r\n\t\ty = reset ? yScale.getBasePixel() : me.calculatePointY(value, index, datasetIndex);\r\n\r\n\t\t// Utility\r\n\t\tpoint._xScale = xScale;\r\n\t\tpoint._yScale = yScale;\r\n\t\tpoint._options = options;\r\n\t\tpoint._datasetIndex = datasetIndex;\r\n\t\tpoint._index = index;\r\n\r\n\t\t// Desired view properties\r\n\t\tpoint._model = {\r\n\t\t\tx: x,\r\n\t\t\ty: y,\r\n\t\t\tskip: custom.skip || isNaN(x) || isNaN(y),\r\n\t\t\t// Appearance\r\n\t\t\tradius: options.radius,\r\n\t\t\tpointStyle: options.pointStyle,\r\n\t\t\trotation: options.rotation,\r\n\t\t\tbackgroundColor: options.backgroundColor,\r\n\t\t\tborderColor: options.borderColor,\r\n\t\t\tborderWidth: options.borderWidth,\r\n\t\t\ttension: valueOrDefault$6(custom.tension, lineModel ? lineModel.tension : 0),\r\n\t\t\tsteppedLine: lineModel ? lineModel.steppedLine : false,\r\n\t\t\t// Tooltip\r\n\t\t\thitRadius: options.hitRadius\r\n\t\t};\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_resolveDatasetElementOptions: function(element) {\r\n\t\tvar me = this;\r\n\t\tvar config = me._config;\r\n\t\tvar custom = element.custom || {};\r\n\t\tvar options = me.chart.options;\r\n\t\tvar lineOptions = options.elements.line;\r\n\t\tvar values = core_datasetController.prototype._resolveDatasetElementOptions.apply(me, arguments);\r\n\r\n\t\t// The default behavior of lines is to break at null values, according\r\n\t\t// to https://github.com/chartjs/Chart.js/issues/2435#issuecomment-216718158\r\n\t\t// This option gives lines the ability to span gaps\r\n\t\tvalues.spanGaps = valueOrDefault$6(config.spanGaps, options.spanGaps);\r\n\t\tvalues.tension = valueOrDefault$6(config.lineTension, lineOptions.tension);\r\n\t\tvalues.steppedLine = resolve$2([custom.steppedLine, config.steppedLine, lineOptions.stepped]);\r\n\t\tvalues.clip = toClip(valueOrDefault$6(config.clip, defaultClip(me._xScale, me._yScale, values.borderWidth)));\r\n\r\n\t\treturn values;\r\n\t},\r\n\r\n\tcalculatePointY: function(value, index, datasetIndex) {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar yScale = me._yScale;\r\n\t\tvar sumPos = 0;\r\n\t\tvar sumNeg = 0;\r\n\t\tvar i, ds, dsMeta, stackedRightValue, rightValue, metasets, ilen;\r\n\r\n\t\tif (yScale.options.stacked) {\r\n\t\t\trightValue = +yScale.getRightValue(value);\r\n\t\t\tmetasets = chart._getSortedVisibleDatasetMetas();\r\n\t\t\tilen = metasets.length;\r\n\r\n\t\t\tfor (i = 0; i < ilen; ++i) {\r\n\t\t\t\tdsMeta = metasets[i];\r\n\t\t\t\tif (dsMeta.index === datasetIndex) {\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tds = chart.data.datasets[dsMeta.index];\r\n\t\t\t\tif (dsMeta.type === 'line' && dsMeta.yAxisID === yScale.id) {\r\n\t\t\t\t\tstackedRightValue = +yScale.getRightValue(ds.data[index]);\r\n\t\t\t\t\tif (stackedRightValue < 0) {\r\n\t\t\t\t\t\tsumNeg += stackedRightValue || 0;\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\tsumPos += stackedRightValue || 0;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tif (rightValue < 0) {\r\n\t\t\t\treturn yScale.getPixelForValue(sumNeg + rightValue);\r\n\t\t\t}\r\n\t\t\treturn yScale.getPixelForValue(sumPos + rightValue);\r\n\t\t}\r\n\t\treturn yScale.getPixelForValue(value);\r\n\t},\r\n\r\n\tupdateBezierControlPoints: function() {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar lineModel = meta.dataset._model;\r\n\t\tvar area = chart.chartArea;\r\n\t\tvar points = meta.data || [];\r\n\t\tvar i, ilen, model, controlPoints;\r\n\r\n\t\t// Only consider points that are drawn in case the spanGaps option is used\r\n\t\tif (lineModel.spanGaps) {\r\n\t\t\tpoints = points.filter(function(pt) {\r\n\t\t\t\treturn !pt._model.skip;\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tfunction capControlPoint(pt, min, max) {\r\n\t\t\treturn Math.max(Math.min(pt, max), min);\r\n\t\t}\r\n\r\n\t\tif (lineModel.cubicInterpolationMode === 'monotone') {\r\n\t\t\thelpers$1.splineCurveMonotone(points);\r\n\t\t} else {\r\n\t\t\tfor (i = 0, ilen = points.length; i < ilen; ++i) {\r\n\t\t\t\tmodel = points[i]._model;\r\n\t\t\t\tcontrolPoints = helpers$1.splineCurve(\r\n\t\t\t\t\thelpers$1.previousItem(points, i)._model,\r\n\t\t\t\t\tmodel,\r\n\t\t\t\t\thelpers$1.nextItem(points, i)._model,\r\n\t\t\t\t\tlineModel.tension\r\n\t\t\t\t);\r\n\t\t\t\tmodel.controlPointPreviousX = controlPoints.previous.x;\r\n\t\t\t\tmodel.controlPointPreviousY = controlPoints.previous.y;\r\n\t\t\t\tmodel.controlPointNextX = controlPoints.next.x;\r\n\t\t\t\tmodel.controlPointNextY = controlPoints.next.y;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (chart.options.elements.line.capBezierPoints) {\r\n\t\t\tfor (i = 0, ilen = points.length; i < ilen; ++i) {\r\n\t\t\t\tmodel = points[i]._model;\r\n\t\t\t\tif (isPointInArea(model, area)) {\r\n\t\t\t\t\tif (i > 0 && isPointInArea(points[i - 1]._model, area)) {\r\n\t\t\t\t\t\tmodel.controlPointPreviousX = capControlPoint(model.controlPointPreviousX, area.left, area.right);\r\n\t\t\t\t\t\tmodel.controlPointPreviousY = capControlPoint(model.controlPointPreviousY, area.top, area.bottom);\r\n\t\t\t\t\t}\r\n\t\t\t\t\tif (i < points.length - 1 && isPointInArea(points[i + 1]._model, area)) {\r\n\t\t\t\t\t\tmodel.controlPointNextX = capControlPoint(model.controlPointNextX, area.left, area.right);\r\n\t\t\t\t\t\tmodel.controlPointNextY = capControlPoint(model.controlPointNextY, area.top, area.bottom);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\r\n\tdraw: function() {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar points = meta.data || [];\r\n\t\tvar area = chart.chartArea;\r\n\t\tvar canvas = chart.canvas;\r\n\t\tvar i = 0;\r\n\t\tvar ilen = points.length;\r\n\t\tvar clip;\r\n\r\n\t\tif (me._showLine) {\r\n\t\t\tclip = meta.dataset._model.clip;\r\n\r\n\t\t\thelpers$1.canvas.clipArea(chart.ctx, {\r\n\t\t\t\tleft: clip.left === false ? 0 : area.left - clip.left,\r\n\t\t\t\tright: clip.right === false ? canvas.width : area.right + clip.right,\r\n\t\t\t\ttop: clip.top === false ? 0 : area.top - clip.top,\r\n\t\t\t\tbottom: clip.bottom === false ? canvas.height : area.bottom + clip.bottom\r\n\t\t\t});\r\n\r\n\t\t\tmeta.dataset.draw();\r\n\r\n\t\t\thelpers$1.canvas.unclipArea(chart.ctx);\r\n\t\t}\r\n\r\n\t\t// Draw the points\r\n\t\tfor (; i < ilen; ++i) {\r\n\t\t\tpoints[i].draw(area);\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * @protected\r\n\t */\r\n\tsetHoverStyle: function(point) {\r\n\t\tvar model = point._model;\r\n\t\tvar options = point._options;\r\n\t\tvar getHoverColor = helpers$1.getHoverColor;\r\n\r\n\t\tpoint.$previousStyle = {\r\n\t\t\tbackgroundColor: model.backgroundColor,\r\n\t\t\tborderColor: model.borderColor,\r\n\t\t\tborderWidth: model.borderWidth,\r\n\t\t\tradius: model.radius\r\n\t\t};\r\n\r\n\t\tmodel.backgroundColor = valueOrDefault$6(options.hoverBackgroundColor, getHoverColor(options.backgroundColor));\r\n\t\tmodel.borderColor = valueOrDefault$6(options.hoverBorderColor, getHoverColor(options.borderColor));\r\n\t\tmodel.borderWidth = valueOrDefault$6(options.hoverBorderWidth, options.borderWidth);\r\n\t\tmodel.radius = valueOrDefault$6(options.hoverRadius, options.radius);\r\n\t},\r\n});\n\nvar resolve$3 = helpers$1.options.resolve;\r\n\r\ncore_defaults._set('polarArea', {\r\n\tscale: {\r\n\t\ttype: 'radialLinear',\r\n\t\tangleLines: {\r\n\t\t\tdisplay: false\r\n\t\t},\r\n\t\tgridLines: {\r\n\t\t\tcircular: true\r\n\t\t},\r\n\t\tpointLabels: {\r\n\t\t\tdisplay: false\r\n\t\t},\r\n\t\tticks: {\r\n\t\t\tbeginAtZero: true\r\n\t\t}\r\n\t},\r\n\r\n\t// Boolean - Whether to animate the rotation of the chart\r\n\tanimation: {\r\n\t\tanimateRotate: true,\r\n\t\tanimateScale: true\r\n\t},\r\n\r\n\tstartAngle: -0.5 * Math.PI,\r\n\tlegendCallback: function(chart) {\r\n\t\tvar list = document.createElement('ul');\r\n\t\tvar data = chart.data;\r\n\t\tvar datasets = data.datasets;\r\n\t\tvar labels = data.labels;\r\n\t\tvar i, ilen, listItem, listItemSpan;\r\n\r\n\t\tlist.setAttribute('class', chart.id + '-legend');\r\n\t\tif (datasets.length) {\r\n\t\t\tfor (i = 0, ilen = datasets[0].data.length; i < ilen; ++i) {\r\n\t\t\t\tlistItem = list.appendChild(document.createElement('li'));\r\n\t\t\t\tlistItemSpan = listItem.appendChild(document.createElement('span'));\r\n\t\t\t\tlistItemSpan.style.backgroundColor = datasets[0].backgroundColor[i];\r\n\t\t\t\tif (labels[i]) {\r\n\t\t\t\t\tlistItem.appendChild(document.createTextNode(labels[i]));\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn list.outerHTML;\r\n\t},\r\n\tlegend: {\r\n\t\tlabels: {\r\n\t\t\tgenerateLabels: function(chart) {\r\n\t\t\t\tvar data = chart.data;\r\n\t\t\t\tif (data.labels.length && data.datasets.length) {\r\n\t\t\t\t\treturn data.labels.map(function(label, i) {\r\n\t\t\t\t\t\tvar meta = chart.getDatasetMeta(0);\r\n\t\t\t\t\t\tvar style = meta.controller.getStyle(i);\r\n\r\n\t\t\t\t\t\treturn {\r\n\t\t\t\t\t\t\ttext: label,\r\n\t\t\t\t\t\t\tfillStyle: style.backgroundColor,\r\n\t\t\t\t\t\t\tstrokeStyle: style.borderColor,\r\n\t\t\t\t\t\t\tlineWidth: style.borderWidth,\r\n\t\t\t\t\t\t\thidden: isNaN(data.datasets[0].data[i]) || meta.data[i].hidden,\r\n\r\n\t\t\t\t\t\t\t// Extra data used for toggling the correct item\r\n\t\t\t\t\t\t\tindex: i\r\n\t\t\t\t\t\t};\r\n\t\t\t\t\t});\r\n\t\t\t\t}\r\n\t\t\t\treturn [];\r\n\t\t\t}\r\n\t\t},\r\n\r\n\t\tonClick: function(e, legendItem) {\r\n\t\t\tvar index = legendItem.index;\r\n\t\t\tvar chart = this.chart;\r\n\t\t\tvar i, ilen, meta;\r\n\r\n\t\t\tfor (i = 0, ilen = (chart.data.datasets || []).length; i < ilen; ++i) {\r\n\t\t\t\tmeta = chart.getDatasetMeta(i);\r\n\t\t\t\tmeta.data[index].hidden = !meta.data[index].hidden;\r\n\t\t\t}\r\n\r\n\t\t\tchart.update();\r\n\t\t}\r\n\t},\r\n\r\n\t// Need to override these to give a nice default\r\n\ttooltips: {\r\n\t\tcallbacks: {\r\n\t\t\ttitle: function() {\r\n\t\t\t\treturn '';\r\n\t\t\t},\r\n\t\t\tlabel: function(item, data) {\r\n\t\t\t\treturn data.labels[item.index] + ': ' + item.yLabel;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n});\r\n\r\nvar controller_polarArea = core_datasetController.extend({\r\n\r\n\tdataElementType: elements.Arc,\r\n\r\n\tlinkScales: helpers$1.noop,\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_dataElementOptions: [\r\n\t\t'backgroundColor',\r\n\t\t'borderColor',\r\n\t\t'borderWidth',\r\n\t\t'borderAlign',\r\n\t\t'hoverBackgroundColor',\r\n\t\t'hoverBorderColor',\r\n\t\t'hoverBorderWidth',\r\n\t],\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getIndexScaleId: function() {\r\n\t\treturn this.chart.scale.id;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getValueScaleId: function() {\r\n\t\treturn this.chart.scale.id;\r\n\t},\r\n\r\n\tupdate: function(reset) {\r\n\t\tvar me = this;\r\n\t\tvar dataset = me.getDataset();\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar start = me.chart.options.startAngle || 0;\r\n\t\tvar starts = me._starts = [];\r\n\t\tvar angles = me._angles = [];\r\n\t\tvar arcs = meta.data;\r\n\t\tvar i, ilen, angle;\r\n\r\n\t\tme._updateRadius();\r\n\r\n\t\tmeta.count = me.countVisibleElements();\r\n\r\n\t\tfor (i = 0, ilen = dataset.data.length; i < ilen; i++) {\r\n\t\t\tstarts[i] = start;\r\n\t\t\tangle = me._computeAngle(i);\r\n\t\t\tangles[i] = angle;\r\n\t\t\tstart += angle;\r\n\t\t}\r\n\r\n\t\tfor (i = 0, ilen = arcs.length; i < ilen; ++i) {\r\n\t\t\tarcs[i]._options = me._resolveDataElementOptions(arcs[i], i);\r\n\t\t\tme.updateElement(arcs[i], i, reset);\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_updateRadius: function() {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar chartArea = chart.chartArea;\r\n\t\tvar opts = chart.options;\r\n\t\tvar minSize = Math.min(chartArea.right - chartArea.left, chartArea.bottom - chartArea.top);\r\n\r\n\t\tchart.outerRadius = Math.max(minSize / 2, 0);\r\n\t\tchart.innerRadius = Math.max(opts.cutoutPercentage ? (chart.outerRadius / 100) * (opts.cutoutPercentage) : 1, 0);\r\n\t\tchart.radiusLength = (chart.outerRadius - chart.innerRadius) / chart.getVisibleDatasetCount();\r\n\r\n\t\tme.outerRadius = chart.outerRadius - (chart.radiusLength * me.index);\r\n\t\tme.innerRadius = me.outerRadius - chart.radiusLength;\r\n\t},\r\n\r\n\tupdateElement: function(arc, index, reset) {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar dataset = me.getDataset();\r\n\t\tvar opts = chart.options;\r\n\t\tvar animationOpts = opts.animation;\r\n\t\tvar scale = chart.scale;\r\n\t\tvar labels = chart.data.labels;\r\n\r\n\t\tvar centerX = scale.xCenter;\r\n\t\tvar centerY = scale.yCenter;\r\n\r\n\t\t// var negHalfPI = -0.5 * Math.PI;\r\n\t\tvar datasetStartAngle = opts.startAngle;\r\n\t\tvar distance = arc.hidden ? 0 : scale.getDistanceFromCenterForValue(dataset.data[index]);\r\n\t\tvar startAngle = me._starts[index];\r\n\t\tvar endAngle = startAngle + (arc.hidden ? 0 : me._angles[index]);\r\n\r\n\t\tvar resetRadius = animationOpts.animateScale ? 0 : scale.getDistanceFromCenterForValue(dataset.data[index]);\r\n\t\tvar options = arc._options || {};\r\n\r\n\t\thelpers$1.extend(arc, {\r\n\t\t\t// Utility\r\n\t\t\t_datasetIndex: me.index,\r\n\t\t\t_index: index,\r\n\t\t\t_scale: scale,\r\n\r\n\t\t\t// Desired view properties\r\n\t\t\t_model: {\r\n\t\t\t\tbackgroundColor: options.backgroundColor,\r\n\t\t\t\tborderColor: options.borderColor,\r\n\t\t\t\tborderWidth: options.borderWidth,\r\n\t\t\t\tborderAlign: options.borderAlign,\r\n\t\t\t\tx: centerX,\r\n\t\t\t\ty: centerY,\r\n\t\t\t\tinnerRadius: 0,\r\n\t\t\t\touterRadius: reset ? resetRadius : distance,\r\n\t\t\t\tstartAngle: reset && animationOpts.animateRotate ? datasetStartAngle : startAngle,\r\n\t\t\t\tendAngle: reset && animationOpts.animateRotate ? datasetStartAngle : endAngle,\r\n\t\t\t\tlabel: helpers$1.valueAtIndexOrDefault(labels, index, labels[index])\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tarc.pivot();\r\n\t},\r\n\r\n\tcountVisibleElements: function() {\r\n\t\tvar dataset = this.getDataset();\r\n\t\tvar meta = this.getMeta();\r\n\t\tvar count = 0;\r\n\r\n\t\thelpers$1.each(meta.data, function(element, index) {\r\n\t\t\tif (!isNaN(dataset.data[index]) && !element.hidden) {\r\n\t\t\t\tcount++;\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\treturn count;\r\n\t},\r\n\r\n\t/**\r\n\t * @protected\r\n\t */\r\n\tsetHoverStyle: function(arc) {\r\n\t\tvar model = arc._model;\r\n\t\tvar options = arc._options;\r\n\t\tvar getHoverColor = helpers$1.getHoverColor;\r\n\t\tvar valueOrDefault = helpers$1.valueOrDefault;\r\n\r\n\t\tarc.$previousStyle = {\r\n\t\t\tbackgroundColor: model.backgroundColor,\r\n\t\t\tborderColor: model.borderColor,\r\n\t\t\tborderWidth: model.borderWidth,\r\n\t\t};\r\n\r\n\t\tmodel.backgroundColor = valueOrDefault(options.hoverBackgroundColor, getHoverColor(options.backgroundColor));\r\n\t\tmodel.borderColor = valueOrDefault(options.hoverBorderColor, getHoverColor(options.borderColor));\r\n\t\tmodel.borderWidth = valueOrDefault(options.hoverBorderWidth, options.borderWidth);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_computeAngle: function(index) {\r\n\t\tvar me = this;\r\n\t\tvar count = this.getMeta().count;\r\n\t\tvar dataset = me.getDataset();\r\n\t\tvar meta = me.getMeta();\r\n\r\n\t\tif (isNaN(dataset.data[index]) || meta.data[index].hidden) {\r\n\t\t\treturn 0;\r\n\t\t}\r\n\r\n\t\t// Scriptable options\r\n\t\tvar context = {\r\n\t\t\tchart: me.chart,\r\n\t\t\tdataIndex: index,\r\n\t\t\tdataset: dataset,\r\n\t\t\tdatasetIndex: me.index\r\n\t\t};\r\n\r\n\t\treturn resolve$3([\r\n\t\t\tme.chart.options.elements.arc.angle,\r\n\t\t\t(2 * Math.PI) / count\r\n\t\t], context, index);\r\n\t}\r\n});\n\ncore_defaults._set('pie', helpers$1.clone(core_defaults.doughnut));\r\ncore_defaults._set('pie', {\r\n\tcutoutPercentage: 0\r\n});\r\n\r\n// Pie charts are Doughnut chart with different defaults\r\nvar controller_pie = controller_doughnut;\n\nvar valueOrDefault$7 = helpers$1.valueOrDefault;\r\n\r\ncore_defaults._set('radar', {\r\n\tspanGaps: false,\r\n\tscale: {\r\n\t\ttype: 'radialLinear'\r\n\t},\r\n\telements: {\r\n\t\tline: {\r\n\t\t\tfill: 'start',\r\n\t\t\ttension: 0 // no bezier in radar\r\n\t\t}\r\n\t}\r\n});\r\n\r\nvar controller_radar = core_datasetController.extend({\r\n\tdatasetElementType: elements.Line,\r\n\r\n\tdataElementType: elements.Point,\r\n\r\n\tlinkScales: helpers$1.noop,\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_datasetElementOptions: [\r\n\t\t'backgroundColor',\r\n\t\t'borderWidth',\r\n\t\t'borderColor',\r\n\t\t'borderCapStyle',\r\n\t\t'borderDash',\r\n\t\t'borderDashOffset',\r\n\t\t'borderJoinStyle',\r\n\t\t'fill'\r\n\t],\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_dataElementOptions: {\r\n\t\tbackgroundColor: 'pointBackgroundColor',\r\n\t\tborderColor: 'pointBorderColor',\r\n\t\tborderWidth: 'pointBorderWidth',\r\n\t\thitRadius: 'pointHitRadius',\r\n\t\thoverBackgroundColor: 'pointHoverBackgroundColor',\r\n\t\thoverBorderColor: 'pointHoverBorderColor',\r\n\t\thoverBorderWidth: 'pointHoverBorderWidth',\r\n\t\thoverRadius: 'pointHoverRadius',\r\n\t\tpointStyle: 'pointStyle',\r\n\t\tradius: 'pointRadius',\r\n\t\trotation: 'pointRotation'\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getIndexScaleId: function() {\r\n\t\treturn this.chart.scale.id;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getValueScaleId: function() {\r\n\t\treturn this.chart.scale.id;\r\n\t},\r\n\r\n\tupdate: function(reset) {\r\n\t\tvar me = this;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar line = meta.dataset;\r\n\t\tvar points = meta.data || [];\r\n\t\tvar scale = me.chart.scale;\r\n\t\tvar config = me._config;\r\n\t\tvar i, ilen;\r\n\r\n\t\t// Compatibility: If the properties are defined with only the old name, use those values\r\n\t\tif (config.tension !== undefined && config.lineTension === undefined) {\r\n\t\t\tconfig.lineTension = config.tension;\r\n\t\t}\r\n\r\n\t\t// Utility\r\n\t\tline._scale = scale;\r\n\t\tline._datasetIndex = me.index;\r\n\t\t// Data\r\n\t\tline._children = points;\r\n\t\tline._loop = true;\r\n\t\t// Model\r\n\t\tline._model = me._resolveDatasetElementOptions(line);\r\n\r\n\t\tline.pivot();\r\n\r\n\t\t// Update Points\r\n\t\tfor (i = 0, ilen = points.length; i < ilen; ++i) {\r\n\t\t\tme.updateElement(points[i], i, reset);\r\n\t\t}\r\n\r\n\t\t// Update bezier control points\r\n\t\tme.updateBezierControlPoints();\r\n\r\n\t\t// Now pivot the point for animation\r\n\t\tfor (i = 0, ilen = points.length; i < ilen; ++i) {\r\n\t\t\tpoints[i].pivot();\r\n\t\t}\r\n\t},\r\n\r\n\tupdateElement: function(point, index, reset) {\r\n\t\tvar me = this;\r\n\t\tvar custom = point.custom || {};\r\n\t\tvar dataset = me.getDataset();\r\n\t\tvar scale = me.chart.scale;\r\n\t\tvar pointPosition = scale.getPointPositionForValue(index, dataset.data[index]);\r\n\t\tvar options = me._resolveDataElementOptions(point, index);\r\n\t\tvar lineModel = me.getMeta().dataset._model;\r\n\t\tvar x = reset ? scale.xCenter : pointPosition.x;\r\n\t\tvar y = reset ? scale.yCenter : pointPosition.y;\r\n\r\n\t\t// Utility\r\n\t\tpoint._scale = scale;\r\n\t\tpoint._options = options;\r\n\t\tpoint._datasetIndex = me.index;\r\n\t\tpoint._index = index;\r\n\r\n\t\t// Desired view properties\r\n\t\tpoint._model = {\r\n\t\t\tx: x, // value not used in dataset scale, but we want a consistent API between scales\r\n\t\t\ty: y,\r\n\t\t\tskip: custom.skip || isNaN(x) || isNaN(y),\r\n\t\t\t// Appearance\r\n\t\t\tradius: options.radius,\r\n\t\t\tpointStyle: options.pointStyle,\r\n\t\t\trotation: options.rotation,\r\n\t\t\tbackgroundColor: options.backgroundColor,\r\n\t\t\tborderColor: options.borderColor,\r\n\t\t\tborderWidth: options.borderWidth,\r\n\t\t\ttension: valueOrDefault$7(custom.tension, lineModel ? lineModel.tension : 0),\r\n\r\n\t\t\t// Tooltip\r\n\t\t\thitRadius: options.hitRadius\r\n\t\t};\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_resolveDatasetElementOptions: function() {\r\n\t\tvar me = this;\r\n\t\tvar config = me._config;\r\n\t\tvar options = me.chart.options;\r\n\t\tvar values = core_datasetController.prototype._resolveDatasetElementOptions.apply(me, arguments);\r\n\r\n\t\tvalues.spanGaps = valueOrDefault$7(config.spanGaps, options.spanGaps);\r\n\t\tvalues.tension = valueOrDefault$7(config.lineTension, options.elements.line.tension);\r\n\r\n\t\treturn values;\r\n\t},\r\n\r\n\tupdateBezierControlPoints: function() {\r\n\t\tvar me = this;\r\n\t\tvar meta = me.getMeta();\r\n\t\tvar area = me.chart.chartArea;\r\n\t\tvar points = meta.data || [];\r\n\t\tvar i, ilen, model, controlPoints;\r\n\r\n\t\t// Only consider points that are drawn in case the spanGaps option is used\r\n\t\tif (meta.dataset._model.spanGaps) {\r\n\t\t\tpoints = points.filter(function(pt) {\r\n\t\t\t\treturn !pt._model.skip;\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tfunction capControlPoint(pt, min, max) {\r\n\t\t\treturn Math.max(Math.min(pt, max), min);\r\n\t\t}\r\n\r\n\t\tfor (i = 0, ilen = points.length; i < ilen; ++i) {\r\n\t\t\tmodel = points[i]._model;\r\n\t\t\tcontrolPoints = helpers$1.splineCurve(\r\n\t\t\t\thelpers$1.previousItem(points, i, true)._model,\r\n\t\t\t\tmodel,\r\n\t\t\t\thelpers$1.nextItem(points, i, true)._model,\r\n\t\t\t\tmodel.tension\r\n\t\t\t);\r\n\r\n\t\t\t// Prevent the bezier going outside of the bounds of the graph\r\n\t\t\tmodel.controlPointPreviousX = capControlPoint(controlPoints.previous.x, area.left, area.right);\r\n\t\t\tmodel.controlPointPreviousY = capControlPoint(controlPoints.previous.y, area.top, area.bottom);\r\n\t\t\tmodel.controlPointNextX = capControlPoint(controlPoints.next.x, area.left, area.right);\r\n\t\t\tmodel.controlPointNextY = capControlPoint(controlPoints.next.y, area.top, area.bottom);\r\n\t\t}\r\n\t},\r\n\r\n\tsetHoverStyle: function(point) {\r\n\t\tvar model = point._model;\r\n\t\tvar options = point._options;\r\n\t\tvar getHoverColor = helpers$1.getHoverColor;\r\n\r\n\t\tpoint.$previousStyle = {\r\n\t\t\tbackgroundColor: model.backgroundColor,\r\n\t\t\tborderColor: model.borderColor,\r\n\t\t\tborderWidth: model.borderWidth,\r\n\t\t\tradius: model.radius\r\n\t\t};\r\n\r\n\t\tmodel.backgroundColor = valueOrDefault$7(options.hoverBackgroundColor, getHoverColor(options.backgroundColor));\r\n\t\tmodel.borderColor = valueOrDefault$7(options.hoverBorderColor, getHoverColor(options.borderColor));\r\n\t\tmodel.borderWidth = valueOrDefault$7(options.hoverBorderWidth, options.borderWidth);\r\n\t\tmodel.radius = valueOrDefault$7(options.hoverRadius, options.radius);\r\n\t}\r\n});\n\ncore_defaults._set('scatter', {\r\n\thover: {\r\n\t\tmode: 'single'\r\n\t},\r\n\r\n\tscales: {\r\n\t\txAxes: [{\r\n\t\t\tid: 'x-axis-1',    // need an ID so datasets can reference the scale\r\n\t\t\ttype: 'linear',    // scatter should not use a category axis\r\n\t\t\tposition: 'bottom'\r\n\t\t}],\r\n\t\tyAxes: [{\r\n\t\t\tid: 'y-axis-1',\r\n\t\t\ttype: 'linear',\r\n\t\t\tposition: 'left'\r\n\t\t}]\r\n\t},\r\n\r\n\ttooltips: {\r\n\t\tcallbacks: {\r\n\t\t\ttitle: function() {\r\n\t\t\t\treturn '';     // doesn't make sense for scatter since data are formatted as a point\r\n\t\t\t},\r\n\t\t\tlabel: function(item) {\r\n\t\t\t\treturn '(' + item.xLabel + ', ' + item.yLabel + ')';\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n});\r\n\r\ncore_defaults._set('global', {\r\n\tdatasets: {\r\n\t\tscatter: {\r\n\t\t\tshowLine: false\r\n\t\t}\r\n\t}\r\n});\r\n\r\n// Scatter charts use line controllers\r\nvar controller_scatter = controller_line;\n\n// NOTE export a map in which the key represents the controller type, not\r\n// the class, and so must be CamelCase in order to be correctly retrieved\r\n// by the controller in core.controller.js (`controllers[meta.type]`).\r\n\r\nvar controllers = {\r\n\tbar: controller_bar,\r\n\tbubble: controller_bubble,\r\n\tdoughnut: controller_doughnut,\r\n\thorizontalBar: controller_horizontalBar,\r\n\tline: controller_line,\r\n\tpolarArea: controller_polarArea,\r\n\tpie: controller_pie,\r\n\tradar: controller_radar,\r\n\tscatter: controller_scatter\r\n};\n\n/**\r\n * Helper function to get relative position for an event\r\n * @param {Event|IEvent} event - The event to get the position for\r\n * @param {Chart} chart - The chart\r\n * @returns {object} the event position\r\n */\r\nfunction getRelativePosition(e, chart) {\r\n\tif (e.native) {\r\n\t\treturn {\r\n\t\t\tx: e.x,\r\n\t\t\ty: e.y\r\n\t\t};\r\n\t}\r\n\r\n\treturn helpers$1.getRelativePosition(e, chart);\r\n}\r\n\r\n/**\r\n * Helper function to traverse all of the visible elements in the chart\r\n * @param {Chart} chart - the chart\r\n * @param {function} handler - the callback to execute for each visible item\r\n */\r\nfunction parseVisibleItems(chart, handler) {\r\n\tvar metasets = chart._getSortedVisibleDatasetMetas();\r\n\tvar metadata, i, j, ilen, jlen, element;\r\n\r\n\tfor (i = 0, ilen = metasets.length; i < ilen; ++i) {\r\n\t\tmetadata = metasets[i].data;\r\n\t\tfor (j = 0, jlen = metadata.length; j < jlen; ++j) {\r\n\t\t\telement = metadata[j];\r\n\t\t\tif (!element._view.skip) {\r\n\t\t\t\thandler(element);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n}\r\n\r\n/**\r\n * Helper function to get the items that intersect the event position\r\n * @param {ChartElement[]} items - elements to filter\r\n * @param {object} position - the point to be nearest to\r\n * @return {ChartElement[]} the nearest items\r\n */\r\nfunction getIntersectItems(chart, position) {\r\n\tvar elements = [];\r\n\r\n\tparseVisibleItems(chart, function(element) {\r\n\t\tif (element.inRange(position.x, position.y)) {\r\n\t\t\telements.push(element);\r\n\t\t}\r\n\t});\r\n\r\n\treturn elements;\r\n}\r\n\r\n/**\r\n * Helper function to get the items nearest to the event position considering all visible items in teh chart\r\n * @param {Chart} chart - the chart to look at elements from\r\n * @param {object} position - the point to be nearest to\r\n * @param {boolean} intersect - if true, only consider items that intersect the position\r\n * @param {function} distanceMetric - function to provide the distance between points\r\n * @return {ChartElement[]} the nearest items\r\n */\r\nfunction getNearestItems(chart, position, intersect, distanceMetric) {\r\n\tvar minDistance = Number.POSITIVE_INFINITY;\r\n\tvar nearestItems = [];\r\n\r\n\tparseVisibleItems(chart, function(element) {\r\n\t\tif (intersect && !element.inRange(position.x, position.y)) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar center = element.getCenterPoint();\r\n\t\tvar distance = distanceMetric(position, center);\r\n\t\tif (distance < minDistance) {\r\n\t\t\tnearestItems = [element];\r\n\t\t\tminDistance = distance;\r\n\t\t} else if (distance === minDistance) {\r\n\t\t\t// Can have multiple items at the same distance in which case we sort by size\r\n\t\t\tnearestItems.push(element);\r\n\t\t}\r\n\t});\r\n\r\n\treturn nearestItems;\r\n}\r\n\r\n/**\r\n * Get a distance metric function for two points based on the\r\n * axis mode setting\r\n * @param {string} axis - the axis mode. x|y|xy\r\n */\r\nfunction getDistanceMetricForAxis(axis) {\r\n\tvar useX = axis.indexOf('x') !== -1;\r\n\tvar useY = axis.indexOf('y') !== -1;\r\n\r\n\treturn function(pt1, pt2) {\r\n\t\tvar deltaX = useX ? Math.abs(pt1.x - pt2.x) : 0;\r\n\t\tvar deltaY = useY ? Math.abs(pt1.y - pt2.y) : 0;\r\n\t\treturn Math.sqrt(Math.pow(deltaX, 2) + Math.pow(deltaY, 2));\r\n\t};\r\n}\r\n\r\nfunction indexMode(chart, e, options) {\r\n\tvar position = getRelativePosition(e, chart);\r\n\t// Default axis for index mode is 'x' to match old behaviour\r\n\toptions.axis = options.axis || 'x';\r\n\tvar distanceMetric = getDistanceMetricForAxis(options.axis);\r\n\tvar items = options.intersect ? getIntersectItems(chart, position) : getNearestItems(chart, position, false, distanceMetric);\r\n\tvar elements = [];\r\n\r\n\tif (!items.length) {\r\n\t\treturn [];\r\n\t}\r\n\r\n\tchart._getSortedVisibleDatasetMetas().forEach(function(meta) {\r\n\t\tvar element = meta.data[items[0]._index];\r\n\r\n\t\t// don't count items that are skipped (null data)\r\n\t\tif (element && !element._view.skip) {\r\n\t\t\telements.push(element);\r\n\t\t}\r\n\t});\r\n\r\n\treturn elements;\r\n}\r\n\r\n/**\r\n * @interface IInteractionOptions\r\n */\r\n/**\r\n * If true, only consider items that intersect the point\r\n * @name IInterfaceOptions#boolean\r\n * @type Boolean\r\n */\r\n\r\n/**\r\n * Contains interaction related functions\r\n * @namespace Chart.Interaction\r\n */\r\nvar core_interaction = {\r\n\t// Helper function for different modes\r\n\tmodes: {\r\n\t\tsingle: function(chart, e) {\r\n\t\t\tvar position = getRelativePosition(e, chart);\r\n\t\t\tvar elements = [];\r\n\r\n\t\t\tparseVisibleItems(chart, function(element) {\r\n\t\t\t\tif (element.inRange(position.x, position.y)) {\r\n\t\t\t\t\telements.push(element);\r\n\t\t\t\t\treturn elements;\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\t\treturn elements.slice(0, 1);\r\n\t\t},\r\n\r\n\t\t/**\r\n\t\t * @function Chart.Interaction.modes.label\r\n\t\t * @deprecated since version 2.4.0\r\n\t\t * @todo remove at version 3\r\n\t\t * @private\r\n\t\t */\r\n\t\tlabel: indexMode,\r\n\r\n\t\t/**\r\n\t\t * Returns items at the same index. If the options.intersect parameter is true, we only return items if we intersect something\r\n\t\t * If the options.intersect mode is false, we find the nearest item and return the items at the same index as that item\r\n\t\t * @function Chart.Interaction.modes.index\r\n\t\t * @since v2.4.0\r\n\t\t * @param {Chart} chart - the chart we are returning items from\r\n\t\t * @param {Event} e - the event we are find things at\r\n\t\t * @param {IInteractionOptions} options - options to use during interaction\r\n\t\t * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned\r\n\t\t */\r\n\t\tindex: indexMode,\r\n\r\n\t\t/**\r\n\t\t * Returns items in the same dataset. If the options.intersect parameter is true, we only return items if we intersect something\r\n\t\t * If the options.intersect is false, we find the nearest item and return the items in that dataset\r\n\t\t * @function Chart.Interaction.modes.dataset\r\n\t\t * @param {Chart} chart - the chart we are returning items from\r\n\t\t * @param {Event} e - the event we are find things at\r\n\t\t * @param {IInteractionOptions} options - options to use during interaction\r\n\t\t * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned\r\n\t\t */\r\n\t\tdataset: function(chart, e, options) {\r\n\t\t\tvar position = getRelativePosition(e, chart);\r\n\t\t\toptions.axis = options.axis || 'xy';\r\n\t\t\tvar distanceMetric = getDistanceMetricForAxis(options.axis);\r\n\t\t\tvar items = options.intersect ? getIntersectItems(chart, position) : getNearestItems(chart, position, false, distanceMetric);\r\n\r\n\t\t\tif (items.length > 0) {\r\n\t\t\t\titems = chart.getDatasetMeta(items[0]._datasetIndex).data;\r\n\t\t\t}\r\n\r\n\t\t\treturn items;\r\n\t\t},\r\n\r\n\t\t/**\r\n\t\t * @function Chart.Interaction.modes.x-axis\r\n\t\t * @deprecated since version 2.4.0. Use index mode and intersect == true\r\n\t\t * @todo remove at version 3\r\n\t\t * @private\r\n\t\t */\r\n\t\t'x-axis': function(chart, e) {\r\n\t\t\treturn indexMode(chart, e, {intersect: false});\r\n\t\t},\r\n\r\n\t\t/**\r\n\t\t * Point mode returns all elements that hit test based on the event position\r\n\t\t * of the event\r\n\t\t * @function Chart.Interaction.modes.intersect\r\n\t\t * @param {Chart} chart - the chart we are returning items from\r\n\t\t * @param {Event} e - the event we are find things at\r\n\t\t * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned\r\n\t\t */\r\n\t\tpoint: function(chart, e) {\r\n\t\t\tvar position = getRelativePosition(e, chart);\r\n\t\t\treturn getIntersectItems(chart, position);\r\n\t\t},\r\n\r\n\t\t/**\r\n\t\t * nearest mode returns the element closest to the point\r\n\t\t * @function Chart.Interaction.modes.intersect\r\n\t\t * @param {Chart} chart - the chart we are returning items from\r\n\t\t * @param {Event} e - the event we are find things at\r\n\t\t * @param {IInteractionOptions} options - options to use\r\n\t\t * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned\r\n\t\t */\r\n\t\tnearest: function(chart, e, options) {\r\n\t\t\tvar position = getRelativePosition(e, chart);\r\n\t\t\toptions.axis = options.axis || 'xy';\r\n\t\t\tvar distanceMetric = getDistanceMetricForAxis(options.axis);\r\n\t\t\treturn getNearestItems(chart, position, options.intersect, distanceMetric);\r\n\t\t},\r\n\r\n\t\t/**\r\n\t\t * x mode returns the elements that hit-test at the current x coordinate\r\n\t\t * @function Chart.Interaction.modes.x\r\n\t\t * @param {Chart} chart - the chart we are returning items from\r\n\t\t * @param {Event} e - the event we are find things at\r\n\t\t * @param {IInteractionOptions} options - options to use\r\n\t\t * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned\r\n\t\t */\r\n\t\tx: function(chart, e, options) {\r\n\t\t\tvar position = getRelativePosition(e, chart);\r\n\t\t\tvar items = [];\r\n\t\t\tvar intersectsItem = false;\r\n\r\n\t\t\tparseVisibleItems(chart, function(element) {\r\n\t\t\t\tif (element.inXRange(position.x)) {\r\n\t\t\t\t\titems.push(element);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (element.inRange(position.x, position.y)) {\r\n\t\t\t\t\tintersectsItem = true;\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\t\t// If we want to trigger on an intersect and we don't have any items\r\n\t\t\t// that intersect the position, return nothing\r\n\t\t\tif (options.intersect && !intersectsItem) {\r\n\t\t\t\titems = [];\r\n\t\t\t}\r\n\t\t\treturn items;\r\n\t\t},\r\n\r\n\t\t/**\r\n\t\t * y mode returns the elements that hit-test at the current y coordinate\r\n\t\t * @function Chart.Interaction.modes.y\r\n\t\t * @param {Chart} chart - the chart we are returning items from\r\n\t\t * @param {Event} e - the event we are find things at\r\n\t\t * @param {IInteractionOptions} options - options to use\r\n\t\t * @return {Chart.Element[]} Array of elements that are under the point. If none are found, an empty array is returned\r\n\t\t */\r\n\t\ty: function(chart, e, options) {\r\n\t\t\tvar position = getRelativePosition(e, chart);\r\n\t\t\tvar items = [];\r\n\t\t\tvar intersectsItem = false;\r\n\r\n\t\t\tparseVisibleItems(chart, function(element) {\r\n\t\t\t\tif (element.inYRange(position.y)) {\r\n\t\t\t\t\titems.push(element);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (element.inRange(position.x, position.y)) {\r\n\t\t\t\t\tintersectsItem = true;\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\t\t// If we want to trigger on an intersect and we don't have any items\r\n\t\t\t// that intersect the position, return nothing\r\n\t\t\tif (options.intersect && !intersectsItem) {\r\n\t\t\t\titems = [];\r\n\t\t\t}\r\n\t\t\treturn items;\r\n\t\t}\r\n\t}\r\n};\n\nvar extend = helpers$1.extend;\r\n\r\nfunction filterByPosition(array, position) {\r\n\treturn helpers$1.where(array, function(v) {\r\n\t\treturn v.pos === position;\r\n\t});\r\n}\r\n\r\nfunction sortByWeight(array, reverse) {\r\n\treturn array.sort(function(a, b) {\r\n\t\tvar v0 = reverse ? b : a;\r\n\t\tvar v1 = reverse ? a : b;\r\n\t\treturn v0.weight === v1.weight ?\r\n\t\t\tv0.index - v1.index :\r\n\t\t\tv0.weight - v1.weight;\r\n\t});\r\n}\r\n\r\nfunction wrapBoxes(boxes) {\r\n\tvar layoutBoxes = [];\r\n\tvar i, ilen, box;\r\n\r\n\tfor (i = 0, ilen = (boxes || []).length; i < ilen; ++i) {\r\n\t\tbox = boxes[i];\r\n\t\tlayoutBoxes.push({\r\n\t\t\tindex: i,\r\n\t\t\tbox: box,\r\n\t\t\tpos: box.position,\r\n\t\t\thorizontal: box.isHorizontal(),\r\n\t\t\tweight: box.weight\r\n\t\t});\r\n\t}\r\n\treturn layoutBoxes;\r\n}\r\n\r\nfunction setLayoutDims(layouts, params) {\r\n\tvar i, ilen, layout;\r\n\tfor (i = 0, ilen = layouts.length; i < ilen; ++i) {\r\n\t\tlayout = layouts[i];\r\n\t\t// store width used instead of chartArea.w in fitBoxes\r\n\t\tlayout.width = layout.horizontal\r\n\t\t\t? layout.box.fullWidth && params.availableWidth\r\n\t\t\t: params.vBoxMaxWidth;\r\n\t\t// store height used instead of chartArea.h in fitBoxes\r\n\t\tlayout.height = layout.horizontal && params.hBoxMaxHeight;\r\n\t}\r\n}\r\n\r\nfunction buildLayoutBoxes(boxes) {\r\n\tvar layoutBoxes = wrapBoxes(boxes);\r\n\tvar left = sortByWeight(filterByPosition(layoutBoxes, 'left'), true);\r\n\tvar right = sortByWeight(filterByPosition(layoutBoxes, 'right'));\r\n\tvar top = sortByWeight(filterByPosition(layoutBoxes, 'top'), true);\r\n\tvar bottom = sortByWeight(filterByPosition(layoutBoxes, 'bottom'));\r\n\r\n\treturn {\r\n\t\tleftAndTop: left.concat(top),\r\n\t\trightAndBottom: right.concat(bottom),\r\n\t\tchartArea: filterByPosition(layoutBoxes, 'chartArea'),\r\n\t\tvertical: left.concat(right),\r\n\t\thorizontal: top.concat(bottom)\r\n\t};\r\n}\r\n\r\nfunction getCombinedMax(maxPadding, chartArea, a, b) {\r\n\treturn Math.max(maxPadding[a], chartArea[a]) + Math.max(maxPadding[b], chartArea[b]);\r\n}\r\n\r\nfunction updateDims(chartArea, params, layout) {\r\n\tvar box = layout.box;\r\n\tvar maxPadding = chartArea.maxPadding;\r\n\tvar newWidth, newHeight;\r\n\r\n\tif (layout.size) {\r\n\t\t// this layout was already counted for, lets first reduce old size\r\n\t\tchartArea[layout.pos] -= layout.size;\r\n\t}\r\n\tlayout.size = layout.horizontal ? box.height : box.width;\r\n\tchartArea[layout.pos] += layout.size;\r\n\r\n\tif (box.getPadding) {\r\n\t\tvar boxPadding = box.getPadding();\r\n\t\tmaxPadding.top = Math.max(maxPadding.top, boxPadding.top);\r\n\t\tmaxPadding.left = Math.max(maxPadding.left, boxPadding.left);\r\n\t\tmaxPadding.bottom = Math.max(maxPadding.bottom, boxPadding.bottom);\r\n\t\tmaxPadding.right = Math.max(maxPadding.right, boxPadding.right);\r\n\t}\r\n\r\n\tnewWidth = params.outerWidth - getCombinedMax(maxPadding, chartArea, 'left', 'right');\r\n\tnewHeight = params.outerHeight - getCombinedMax(maxPadding, chartArea, 'top', 'bottom');\r\n\r\n\tif (newWidth !== chartArea.w || newHeight !== chartArea.h) {\r\n\t\tchartArea.w = newWidth;\r\n\t\tchartArea.h = newHeight;\r\n\r\n\t\t// return true if chart area changed in layout's direction\r\n\t\tvar sizes = layout.horizontal ? [newWidth, chartArea.w] : [newHeight, chartArea.h];\r\n\t\treturn sizes[0] !== sizes[1] && (!isNaN(sizes[0]) || !isNaN(sizes[1]));\r\n\t}\r\n}\r\n\r\nfunction handleMaxPadding(chartArea) {\r\n\tvar maxPadding = chartArea.maxPadding;\r\n\r\n\tfunction updatePos(pos) {\r\n\t\tvar change = Math.max(maxPadding[pos] - chartArea[pos], 0);\r\n\t\tchartArea[pos] += change;\r\n\t\treturn change;\r\n\t}\r\n\tchartArea.y += updatePos('top');\r\n\tchartArea.x += updatePos('left');\r\n\tupdatePos('right');\r\n\tupdatePos('bottom');\r\n}\r\n\r\nfunction getMargins(horizontal, chartArea) {\r\n\tvar maxPadding = chartArea.maxPadding;\r\n\r\n\tfunction marginForPositions(positions) {\r\n\t\tvar margin = {left: 0, top: 0, right: 0, bottom: 0};\r\n\t\tpositions.forEach(function(pos) {\r\n\t\t\tmargin[pos] = Math.max(chartArea[pos], maxPadding[pos]);\r\n\t\t});\r\n\t\treturn margin;\r\n\t}\r\n\r\n\treturn horizontal\r\n\t\t? marginForPositions(['left', 'right'])\r\n\t\t: marginForPositions(['top', 'bottom']);\r\n}\r\n\r\nfunction fitBoxes(boxes, chartArea, params) {\r\n\tvar refitBoxes = [];\r\n\tvar i, ilen, layout, box, refit, changed;\r\n\r\n\tfor (i = 0, ilen = boxes.length; i < ilen; ++i) {\r\n\t\tlayout = boxes[i];\r\n\t\tbox = layout.box;\r\n\r\n\t\tbox.update(\r\n\t\t\tlayout.width || chartArea.w,\r\n\t\t\tlayout.height || chartArea.h,\r\n\t\t\tgetMargins(layout.horizontal, chartArea)\r\n\t\t);\r\n\t\tif (updateDims(chartArea, params, layout)) {\r\n\t\t\tchanged = true;\r\n\t\t\tif (refitBoxes.length) {\r\n\t\t\t\t// Dimensions changed and there were non full width boxes before this\r\n\t\t\t\t// -> we have to refit those\r\n\t\t\t\trefit = true;\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (!box.fullWidth) { // fullWidth boxes don't need to be re-fitted in any case\r\n\t\t\trefitBoxes.push(layout);\r\n\t\t}\r\n\t}\r\n\r\n\treturn refit ? fitBoxes(refitBoxes, chartArea, params) || changed : changed;\r\n}\r\n\r\nfunction placeBoxes(boxes, chartArea, params) {\r\n\tvar userPadding = params.padding;\r\n\tvar x = chartArea.x;\r\n\tvar y = chartArea.y;\r\n\tvar i, ilen, layout, box;\r\n\r\n\tfor (i = 0, ilen = boxes.length; i < ilen; ++i) {\r\n\t\tlayout = boxes[i];\r\n\t\tbox = layout.box;\r\n\t\tif (layout.horizontal) {\r\n\t\t\tbox.left = box.fullWidth ? userPadding.left : chartArea.left;\r\n\t\t\tbox.right = box.fullWidth ? params.outerWidth - userPadding.right : chartArea.left + chartArea.w;\r\n\t\t\tbox.top = y;\r\n\t\t\tbox.bottom = y + box.height;\r\n\t\t\tbox.width = box.right - box.left;\r\n\t\t\ty = box.bottom;\r\n\t\t} else {\r\n\t\t\tbox.left = x;\r\n\t\t\tbox.right = x + box.width;\r\n\t\t\tbox.top = chartArea.top;\r\n\t\t\tbox.bottom = chartArea.top + chartArea.h;\r\n\t\t\tbox.height = box.bottom - box.top;\r\n\t\t\tx = box.right;\r\n\t\t}\r\n\t}\r\n\r\n\tchartArea.x = x;\r\n\tchartArea.y = y;\r\n}\r\n\r\ncore_defaults._set('global', {\r\n\tlayout: {\r\n\t\tpadding: {\r\n\t\t\ttop: 0,\r\n\t\t\tright: 0,\r\n\t\t\tbottom: 0,\r\n\t\t\tleft: 0\r\n\t\t}\r\n\t}\r\n});\r\n\r\n/**\r\n * @interface ILayoutItem\r\n * @prop {string} position - The position of the item in the chart layout. Possible values are\r\n * 'left', 'top', 'right', 'bottom', and 'chartArea'\r\n * @prop {number} weight - The weight used to sort the item. Higher weights are further away from the chart area\r\n * @prop {boolean} fullWidth - if true, and the item is horizontal, then push vertical boxes down\r\n * @prop {function} isHorizontal - returns true if the layout item is horizontal (ie. top or bottom)\r\n * @prop {function} update - Takes two parameters: width and height. Returns size of item\r\n * @prop {function} getPadding -  Returns an object with padding on the edges\r\n * @prop {number} width - Width of item. Must be valid after update()\r\n * @prop {number} height - Height of item. Must be valid after update()\r\n * @prop {number} left - Left edge of the item. Set by layout system and cannot be used in update\r\n * @prop {number} top - Top edge of the item. Set by layout system and cannot be used in update\r\n * @prop {number} right - Right edge of the item. Set by layout system and cannot be used in update\r\n * @prop {number} bottom - Bottom edge of the item. Set by layout system and cannot be used in update\r\n */\r\n\r\n// The layout service is very self explanatory.  It's responsible for the layout within a chart.\r\n// Scales, Legends and Plugins all rely on the layout service and can easily register to be placed anywhere they need\r\n// It is this service's responsibility of carrying out that layout.\r\nvar core_layouts = {\r\n\tdefaults: {},\r\n\r\n\t/**\r\n\t * Register a box to a chart.\r\n\t * A box is simply a reference to an object that requires layout. eg. Scales, Legend, Title.\r\n\t * @param {Chart} chart - the chart to use\r\n\t * @param {ILayoutItem} item - the item to add to be layed out\r\n\t */\r\n\taddBox: function(chart, item) {\r\n\t\tif (!chart.boxes) {\r\n\t\t\tchart.boxes = [];\r\n\t\t}\r\n\r\n\t\t// initialize item with default values\r\n\t\titem.fullWidth = item.fullWidth || false;\r\n\t\titem.position = item.position || 'top';\r\n\t\titem.weight = item.weight || 0;\r\n\t\titem._layers = item._layers || function() {\r\n\t\t\treturn [{\r\n\t\t\t\tz: 0,\r\n\t\t\t\tdraw: function() {\r\n\t\t\t\t\titem.draw.apply(item, arguments);\r\n\t\t\t\t}\r\n\t\t\t}];\r\n\t\t};\r\n\r\n\t\tchart.boxes.push(item);\r\n\t},\r\n\r\n\t/**\r\n\t * Remove a layoutItem from a chart\r\n\t * @param {Chart} chart - the chart to remove the box from\r\n\t * @param {ILayoutItem} layoutItem - the item to remove from the layout\r\n\t */\r\n\tremoveBox: function(chart, layoutItem) {\r\n\t\tvar index = chart.boxes ? chart.boxes.indexOf(layoutItem) : -1;\r\n\t\tif (index !== -1) {\r\n\t\t\tchart.boxes.splice(index, 1);\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * Sets (or updates) options on the given `item`.\r\n\t * @param {Chart} chart - the chart in which the item lives (or will be added to)\r\n\t * @param {ILayoutItem} item - the item to configure with the given options\r\n\t * @param {object} options - the new item options.\r\n\t */\r\n\tconfigure: function(chart, item, options) {\r\n\t\tvar props = ['fullWidth', 'position', 'weight'];\r\n\t\tvar ilen = props.length;\r\n\t\tvar i = 0;\r\n\t\tvar prop;\r\n\r\n\t\tfor (; i < ilen; ++i) {\r\n\t\t\tprop = props[i];\r\n\t\t\tif (options.hasOwnProperty(prop)) {\r\n\t\t\t\titem[prop] = options[prop];\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * Fits boxes of the given chart into the given size by having each box measure itself\r\n\t * then running a fitting algorithm\r\n\t * @param {Chart} chart - the chart\r\n\t * @param {number} width - the width to fit into\r\n\t * @param {number} height - the height to fit into\r\n\t */\r\n\tupdate: function(chart, width, height) {\r\n\t\tif (!chart) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar layoutOptions = chart.options.layout || {};\r\n\t\tvar padding = helpers$1.options.toPadding(layoutOptions.padding);\r\n\r\n\t\tvar availableWidth = width - padding.width;\r\n\t\tvar availableHeight = height - padding.height;\r\n\t\tvar boxes = buildLayoutBoxes(chart.boxes);\r\n\t\tvar verticalBoxes = boxes.vertical;\r\n\t\tvar horizontalBoxes = boxes.horizontal;\r\n\r\n\t\t// Essentially we now have any number of boxes on each of the 4 sides.\r\n\t\t// Our canvas looks like the following.\r\n\t\t// The areas L1 and L2 are the left axes. R1 is the right axis, T1 is the top axis and\r\n\t\t// B1 is the bottom axis\r\n\t\t// There are also 4 quadrant-like locations (left to right instead of clockwise) reserved for chart overlays\r\n\t\t// These locations are single-box locations only, when trying to register a chartArea location that is already taken,\r\n\t\t// an error will be thrown.\r\n\t\t//\r\n\t\t// |----------------------------------------------------|\r\n\t\t// |                  T1 (Full Width)                   |\r\n\t\t// |----------------------------------------------------|\r\n\t\t// |    |    |                 T2                  |    |\r\n\t\t// |    |----|-------------------------------------|----|\r\n\t\t// |    |    | C1 |                           | C2 |    |\r\n\t\t// |    |    |----|                           |----|    |\r\n\t\t// |    |    |                                     |    |\r\n\t\t// | L1 | L2 |           ChartArea (C0)            | R1 |\r\n\t\t// |    |    |                                     |    |\r\n\t\t// |    |    |----|                           |----|    |\r\n\t\t// |    |    | C3 |                           | C4 |    |\r\n\t\t// |    |----|-------------------------------------|----|\r\n\t\t// |    |    |                 B1                  |    |\r\n\t\t// |----------------------------------------------------|\r\n\t\t// |                  B2 (Full Width)                   |\r\n\t\t// |----------------------------------------------------|\r\n\t\t//\r\n\r\n\t\tvar params = Object.freeze({\r\n\t\t\touterWidth: width,\r\n\t\t\touterHeight: height,\r\n\t\t\tpadding: padding,\r\n\t\t\tavailableWidth: availableWidth,\r\n\t\t\tvBoxMaxWidth: availableWidth / 2 / verticalBoxes.length,\r\n\t\t\thBoxMaxHeight: availableHeight / 2\r\n\t\t});\r\n\t\tvar chartArea = extend({\r\n\t\t\tmaxPadding: extend({}, padding),\r\n\t\t\tw: availableWidth,\r\n\t\t\th: availableHeight,\r\n\t\t\tx: padding.left,\r\n\t\t\ty: padding.top\r\n\t\t}, padding);\r\n\r\n\t\tsetLayoutDims(verticalBoxes.concat(horizontalBoxes), params);\r\n\r\n\t\t// First fit vertical boxes\r\n\t\tfitBoxes(verticalBoxes, chartArea, params);\r\n\r\n\t\t// Then fit horizontal boxes\r\n\t\tif (fitBoxes(horizontalBoxes, chartArea, params)) {\r\n\t\t\t// if the area changed, re-fit vertical boxes\r\n\t\t\tfitBoxes(verticalBoxes, chartArea, params);\r\n\t\t}\r\n\r\n\t\thandleMaxPadding(chartArea);\r\n\r\n\t\t// Finally place the boxes to correct coordinates\r\n\t\tplaceBoxes(boxes.leftAndTop, chartArea, params);\r\n\r\n\t\t// Move to opposite side of chart\r\n\t\tchartArea.x += chartArea.w;\r\n\t\tchartArea.y += chartArea.h;\r\n\r\n\t\tplaceBoxes(boxes.rightAndBottom, chartArea, params);\r\n\r\n\t\tchart.chartArea = {\r\n\t\t\tleft: chartArea.left,\r\n\t\t\ttop: chartArea.top,\r\n\t\t\tright: chartArea.left + chartArea.w,\r\n\t\t\tbottom: chartArea.top + chartArea.h\r\n\t\t};\r\n\r\n\t\t// Finally update boxes in chartArea (radial scale for example)\r\n\t\thelpers$1.each(boxes.chartArea, function(layout) {\r\n\t\t\tvar box = layout.box;\r\n\t\t\textend(box, chart.chartArea);\r\n\t\t\tbox.update(chartArea.w, chartArea.h);\r\n\t\t});\r\n\t}\r\n};\n\n/**\r\n * Platform fallback implementation (minimal).\r\n * @see https://github.com/chartjs/Chart.js/pull/4591#issuecomment-319575939\r\n */\r\n\r\nvar platform_basic = {\r\n\tacquireContext: function(item) {\r\n\t\tif (item && item.canvas) {\r\n\t\t\t// Support for any object associated to a canvas (including a context2d)\r\n\t\t\titem = item.canvas;\r\n\t\t}\r\n\r\n\t\treturn item && item.getContext('2d') || null;\r\n\t}\r\n};\n\nvar platform_dom = \"/*\\r\\n * DOM element rendering detection\\r\\n * https://davidwalsh.name/detect-node-insertion\\r\\n */\\r\\n@keyframes chartjs-render-animation {\\r\\n\\tfrom { opacity: 0.99; }\\r\\n\\tto { opacity: 1; }\\r\\n}\\r\\n\\r\\n.chartjs-render-monitor {\\r\\n\\tanimation: chartjs-render-animation 0.001s;\\r\\n}\\r\\n\\r\\n/*\\r\\n * DOM element resizing detection\\r\\n * https://github.com/marcj/css-element-queries\\r\\n */\\r\\n.chartjs-size-monitor,\\r\\n.chartjs-size-monitor-expand,\\r\\n.chartjs-size-monitor-shrink {\\r\\n\\tposition: absolute;\\r\\n\\tdirection: ltr;\\r\\n\\tleft: 0;\\r\\n\\ttop: 0;\\r\\n\\tright: 0;\\r\\n\\tbottom: 0;\\r\\n\\toverflow: hidden;\\r\\n\\tpointer-events: none;\\r\\n\\tvisibility: hidden;\\r\\n\\tz-index: -1;\\r\\n}\\r\\n\\r\\n.chartjs-size-monitor-expand > div {\\r\\n\\tposition: absolute;\\r\\n\\twidth: 1000000px;\\r\\n\\theight: 1000000px;\\r\\n\\tleft: 0;\\r\\n\\ttop: 0;\\r\\n}\\r\\n\\r\\n.chartjs-size-monitor-shrink > div {\\r\\n\\tposition: absolute;\\r\\n\\twidth: 200%;\\r\\n\\theight: 200%;\\r\\n\\tleft: 0;\\r\\n\\ttop: 0;\\r\\n}\\r\\n\";\n\nvar platform_dom$1 = /*#__PURE__*/Object.freeze({\n__proto__: null,\n'default': platform_dom\n});\n\nvar stylesheet = getCjsExportFromNamespace(platform_dom$1);\n\nvar EXPANDO_KEY = '$chartjs';\r\nvar CSS_PREFIX = 'chartjs-';\r\nvar CSS_SIZE_MONITOR = CSS_PREFIX + 'size-monitor';\r\nvar CSS_RENDER_MONITOR = CSS_PREFIX + 'render-monitor';\r\nvar CSS_RENDER_ANIMATION = CSS_PREFIX + 'render-animation';\r\nvar ANIMATION_START_EVENTS = ['animationstart', 'webkitAnimationStart'];\r\n\r\n/**\r\n * DOM event types -> Chart.js event types.\r\n * Note: only events with different types are mapped.\r\n * @see https://developer.mozilla.org/en-US/docs/Web/Events\r\n */\r\nvar EVENT_TYPES = {\r\n\ttouchstart: 'mousedown',\r\n\ttouchmove: 'mousemove',\r\n\ttouchend: 'mouseup',\r\n\tpointerenter: 'mouseenter',\r\n\tpointerdown: 'mousedown',\r\n\tpointermove: 'mousemove',\r\n\tpointerup: 'mouseup',\r\n\tpointerleave: 'mouseout',\r\n\tpointerout: 'mouseout'\r\n};\r\n\r\n/**\r\n * The \"used\" size is the final value of a dimension property after all calculations have\r\n * been performed. This method uses the computed style of `element` but returns undefined\r\n * if the computed style is not expressed in pixels. That can happen in some cases where\r\n * `element` has a size relative to its parent and this last one is not yet displayed,\r\n * for example because of `display: none` on a parent node.\r\n * @see https://developer.mozilla.org/en-US/docs/Web/CSS/used_value\r\n * @returns {number} Size in pixels or undefined if unknown.\r\n */\r\nfunction readUsedSize(element, property) {\r\n\tvar value = helpers$1.getStyle(element, property);\r\n\tvar matches = value && value.match(/^(\\d+)(\\.\\d+)?px$/);\r\n\treturn matches ? Number(matches[1]) : undefined;\r\n}\r\n\r\n/**\r\n * Initializes the canvas style and render size without modifying the canvas display size,\r\n * since responsiveness is handled by the controller.resize() method. The config is used\r\n * to determine the aspect ratio to apply in case no explicit height has been specified.\r\n */\r\nfunction initCanvas(canvas, config) {\r\n\tvar style = canvas.style;\r\n\r\n\t// NOTE(SB) canvas.getAttribute('width') !== canvas.width: in the first case it\r\n\t// returns null or '' if no explicit value has been set to the canvas attribute.\r\n\tvar renderHeight = canvas.getAttribute('height');\r\n\tvar renderWidth = canvas.getAttribute('width');\r\n\r\n\t// Chart.js modifies some canvas values that we want to restore on destroy\r\n\tcanvas[EXPANDO_KEY] = {\r\n\t\tinitial: {\r\n\t\t\theight: renderHeight,\r\n\t\t\twidth: renderWidth,\r\n\t\t\tstyle: {\r\n\t\t\t\tdisplay: style.display,\r\n\t\t\t\theight: style.height,\r\n\t\t\t\twidth: style.width\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\r\n\t// Force canvas to display as block to avoid extra space caused by inline\r\n\t// elements, which would interfere with the responsive resize process.\r\n\t// https://github.com/chartjs/Chart.js/issues/2538\r\n\tstyle.display = style.display || 'block';\r\n\r\n\tif (renderWidth === null || renderWidth === '') {\r\n\t\tvar displayWidth = readUsedSize(canvas, 'width');\r\n\t\tif (displayWidth !== undefined) {\r\n\t\t\tcanvas.width = displayWidth;\r\n\t\t}\r\n\t}\r\n\r\n\tif (renderHeight === null || renderHeight === '') {\r\n\t\tif (canvas.style.height === '') {\r\n\t\t\t// If no explicit render height and style height, let's apply the aspect ratio,\r\n\t\t\t// which one can be specified by the user but also by charts as default option\r\n\t\t\t// (i.e. options.aspectRatio). If not specified, use canvas aspect ratio of 2.\r\n\t\t\tcanvas.height = canvas.width / (config.options.aspectRatio || 2);\r\n\t\t} else {\r\n\t\t\tvar displayHeight = readUsedSize(canvas, 'height');\r\n\t\t\tif (displayWidth !== undefined) {\r\n\t\t\t\tcanvas.height = displayHeight;\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\treturn canvas;\r\n}\r\n\r\n/**\r\n * Detects support for options object argument in addEventListener.\r\n * https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#Safely_detecting_option_support\r\n * @private\r\n */\r\nvar supportsEventListenerOptions = (function() {\r\n\tvar supports = false;\r\n\ttry {\r\n\t\tvar options = Object.defineProperty({}, 'passive', {\r\n\t\t\t// eslint-disable-next-line getter-return\r\n\t\t\tget: function() {\r\n\t\t\t\tsupports = true;\r\n\t\t\t}\r\n\t\t});\r\n\t\twindow.addEventListener('e', null, options);\r\n\t} catch (e) {\r\n\t\t// continue regardless of error\r\n\t}\r\n\treturn supports;\r\n}());\r\n\r\n// Default passive to true as expected by Chrome for 'touchstart' and 'touchend' events.\r\n// https://github.com/chartjs/Chart.js/issues/4287\r\nvar eventListenerOptions = supportsEventListenerOptions ? {passive: true} : false;\r\n\r\nfunction addListener(node, type, listener) {\r\n\tnode.addEventListener(type, listener, eventListenerOptions);\r\n}\r\n\r\nfunction removeListener(node, type, listener) {\r\n\tnode.removeEventListener(type, listener, eventListenerOptions);\r\n}\r\n\r\nfunction createEvent(type, chart, x, y, nativeEvent) {\r\n\treturn {\r\n\t\ttype: type,\r\n\t\tchart: chart,\r\n\t\tnative: nativeEvent || null,\r\n\t\tx: x !== undefined ? x : null,\r\n\t\ty: y !== undefined ? y : null,\r\n\t};\r\n}\r\n\r\nfunction fromNativeEvent(event, chart) {\r\n\tvar type = EVENT_TYPES[event.type] || event.type;\r\n\tvar pos = helpers$1.getRelativePosition(event, chart);\r\n\treturn createEvent(type, chart, pos.x, pos.y, event);\r\n}\r\n\r\nfunction throttled(fn, thisArg) {\r\n\tvar ticking = false;\r\n\tvar args = [];\r\n\r\n\treturn function() {\r\n\t\targs = Array.prototype.slice.call(arguments);\r\n\t\tthisArg = thisArg || this;\r\n\r\n\t\tif (!ticking) {\r\n\t\t\tticking = true;\r\n\t\t\thelpers$1.requestAnimFrame.call(window, function() {\r\n\t\t\t\tticking = false;\r\n\t\t\t\tfn.apply(thisArg, args);\r\n\t\t\t});\r\n\t\t}\r\n\t};\r\n}\r\n\r\nfunction createDiv(cls) {\r\n\tvar el = document.createElement('div');\r\n\tel.className = cls || '';\r\n\treturn el;\r\n}\r\n\r\n// Implementation based on https://github.com/marcj/css-element-queries\r\nfunction createResizer(handler) {\r\n\tvar maxSize = 1000000;\r\n\r\n\t// NOTE(SB) Don't use innerHTML because it could be considered unsafe.\r\n\t// https://github.com/chartjs/Chart.js/issues/5902\r\n\tvar resizer = createDiv(CSS_SIZE_MONITOR);\r\n\tvar expand = createDiv(CSS_SIZE_MONITOR + '-expand');\r\n\tvar shrink = createDiv(CSS_SIZE_MONITOR + '-shrink');\r\n\r\n\texpand.appendChild(createDiv());\r\n\tshrink.appendChild(createDiv());\r\n\r\n\tresizer.appendChild(expand);\r\n\tresizer.appendChild(shrink);\r\n\tresizer._reset = function() {\r\n\t\texpand.scrollLeft = maxSize;\r\n\t\texpand.scrollTop = maxSize;\r\n\t\tshrink.scrollLeft = maxSize;\r\n\t\tshrink.scrollTop = maxSize;\r\n\t};\r\n\r\n\tvar onScroll = function() {\r\n\t\tresizer._reset();\r\n\t\thandler();\r\n\t};\r\n\r\n\taddListener(expand, 'scroll', onScroll.bind(expand, 'expand'));\r\n\taddListener(shrink, 'scroll', onScroll.bind(shrink, 'shrink'));\r\n\r\n\treturn resizer;\r\n}\r\n\r\n// https://davidwalsh.name/detect-node-insertion\r\nfunction watchForRender(node, handler) {\r\n\tvar expando = node[EXPANDO_KEY] || (node[EXPANDO_KEY] = {});\r\n\tvar proxy = expando.renderProxy = function(e) {\r\n\t\tif (e.animationName === CSS_RENDER_ANIMATION) {\r\n\t\t\thandler();\r\n\t\t}\r\n\t};\r\n\r\n\thelpers$1.each(ANIMATION_START_EVENTS, function(type) {\r\n\t\taddListener(node, type, proxy);\r\n\t});\r\n\r\n\t// #4737: Chrome might skip the CSS animation when the CSS_RENDER_MONITOR class\r\n\t// is removed then added back immediately (same animation frame?). Accessing the\r\n\t// `offsetParent` property will force a reflow and re-evaluate the CSS animation.\r\n\t// https://gist.github.com/paulirish/5d52fb081b3570c81e3a#box-metrics\r\n\t// https://github.com/chartjs/Chart.js/issues/4737\r\n\texpando.reflow = !!node.offsetParent;\r\n\r\n\tnode.classList.add(CSS_RENDER_MONITOR);\r\n}\r\n\r\nfunction unwatchForRender(node) {\r\n\tvar expando = node[EXPANDO_KEY] || {};\r\n\tvar proxy = expando.renderProxy;\r\n\r\n\tif (proxy) {\r\n\t\thelpers$1.each(ANIMATION_START_EVENTS, function(type) {\r\n\t\t\tremoveListener(node, type, proxy);\r\n\t\t});\r\n\r\n\t\tdelete expando.renderProxy;\r\n\t}\r\n\r\n\tnode.classList.remove(CSS_RENDER_MONITOR);\r\n}\r\n\r\nfunction addResizeListener(node, listener, chart) {\r\n\tvar expando = node[EXPANDO_KEY] || (node[EXPANDO_KEY] = {});\r\n\r\n\t// Let's keep track of this added resizer and thus avoid DOM query when removing it.\r\n\tvar resizer = expando.resizer = createResizer(throttled(function() {\r\n\t\tif (expando.resizer) {\r\n\t\t\tvar container = chart.options.maintainAspectRatio && node.parentNode;\r\n\t\t\tvar w = container ? container.clientWidth : 0;\r\n\t\t\tlistener(createEvent('resize', chart));\r\n\t\t\tif (container && container.clientWidth < w && chart.canvas) {\r\n\t\t\t\t// If the container size shrank during chart resize, let's assume\r\n\t\t\t\t// scrollbar appeared. So we resize again with the scrollbar visible -\r\n\t\t\t\t// effectively making chart smaller and the scrollbar hidden again.\r\n\t\t\t\t// Because we are inside `throttled`, and currently `ticking`, scroll\r\n\t\t\t\t// events are ignored during this whole 2 resize process.\r\n\t\t\t\t// If we assumed wrong and something else happened, we are resizing\r\n\t\t\t\t// twice in a frame (potential performance issue)\r\n\t\t\t\tlistener(createEvent('resize', chart));\r\n\t\t\t}\r\n\t\t}\r\n\t}));\r\n\r\n\t// The resizer needs to be attached to the node parent, so we first need to be\r\n\t// sure that `node` is attached to the DOM before injecting the resizer element.\r\n\twatchForRender(node, function() {\r\n\t\tif (expando.resizer) {\r\n\t\t\tvar container = node.parentNode;\r\n\t\t\tif (container && container !== resizer.parentNode) {\r\n\t\t\t\tcontainer.insertBefore(resizer, container.firstChild);\r\n\t\t\t}\r\n\r\n\t\t\t// The container size might have changed, let's reset the resizer state.\r\n\t\t\tresizer._reset();\r\n\t\t}\r\n\t});\r\n}\r\n\r\nfunction removeResizeListener(node) {\r\n\tvar expando = node[EXPANDO_KEY] || {};\r\n\tvar resizer = expando.resizer;\r\n\r\n\tdelete expando.resizer;\r\n\tunwatchForRender(node);\r\n\r\n\tif (resizer && resizer.parentNode) {\r\n\t\tresizer.parentNode.removeChild(resizer);\r\n\t}\r\n}\r\n\r\n/**\r\n * Injects CSS styles inline if the styles are not already present.\r\n * @param {HTMLDocument|ShadowRoot} rootNode - the node to contain the <style>.\r\n * @param {string} css - the CSS to be injected.\r\n */\r\nfunction injectCSS(rootNode, css) {\r\n\t// https://stackoverflow.com/q/3922139\r\n\tvar expando = rootNode[EXPANDO_KEY] || (rootNode[EXPANDO_KEY] = {});\r\n\tif (!expando.containsStyles) {\r\n\t\texpando.containsStyles = true;\r\n\t\tcss = '/* Chart.js */\\n' + css;\r\n\t\tvar style = document.createElement('style');\r\n\t\tstyle.setAttribute('type', 'text/css');\r\n\t\tstyle.appendChild(document.createTextNode(css));\r\n\t\trootNode.appendChild(style);\r\n\t}\r\n}\r\n\r\nvar platform_dom$2 = {\r\n\t/**\r\n\t * When `true`, prevents the automatic injection of the stylesheet required to\r\n\t * correctly detect when the chart is added to the DOM and then resized. This\r\n\t * switch has been added to allow external stylesheet (`dist/Chart(.min)?.js`)\r\n\t * to be manually imported to make this library compatible with any CSP.\r\n\t * See https://github.com/chartjs/Chart.js/issues/5208\r\n\t */\r\n\tdisableCSSInjection: false,\r\n\r\n\t/**\r\n\t * This property holds whether this platform is enabled for the current environment.\r\n\t * Currently used by platform.js to select the proper implementation.\r\n\t * @private\r\n\t */\r\n\t_enabled: typeof window !== 'undefined' && typeof document !== 'undefined',\r\n\r\n\t/**\r\n\t * Initializes resources that depend on platform options.\r\n\t * @param {HTMLCanvasElement} canvas - The Canvas element.\r\n\t * @private\r\n\t */\r\n\t_ensureLoaded: function(canvas) {\r\n\t\tif (!this.disableCSSInjection) {\r\n\t\t\t// If the canvas is in a shadow DOM, then the styles must also be inserted\r\n\t\t\t// into the same shadow DOM.\r\n\t\t\t// https://github.com/chartjs/Chart.js/issues/5763\r\n\t\t\tvar root = canvas.getRootNode ? canvas.getRootNode() : document;\r\n\t\t\tvar targetNode = root.host ? root : document.head;\r\n\t\t\tinjectCSS(targetNode, stylesheet);\r\n\t\t}\r\n\t},\r\n\r\n\tacquireContext: function(item, config) {\r\n\t\tif (typeof item === 'string') {\r\n\t\t\titem = document.getElementById(item);\r\n\t\t} else if (item.length) {\r\n\t\t\t// Support for array based queries (such as jQuery)\r\n\t\t\titem = item[0];\r\n\t\t}\r\n\r\n\t\tif (item && item.canvas) {\r\n\t\t\t// Support for any object associated to a canvas (including a context2d)\r\n\t\t\titem = item.canvas;\r\n\t\t}\r\n\r\n\t\t// To prevent canvas fingerprinting, some add-ons undefine the getContext\r\n\t\t// method, for example: https://github.com/kkapsner/CanvasBlocker\r\n\t\t// https://github.com/chartjs/Chart.js/issues/2807\r\n\t\tvar context = item && item.getContext && item.getContext('2d');\r\n\r\n\t\t// `instanceof HTMLCanvasElement/CanvasRenderingContext2D` fails when the item is\r\n\t\t// inside an iframe or when running in a protected environment. We could guess the\r\n\t\t// types from their toString() value but let's keep things flexible and assume it's\r\n\t\t// a sufficient condition if the item has a context2D which has item as `canvas`.\r\n\t\t// https://github.com/chartjs/Chart.js/issues/3887\r\n\t\t// https://github.com/chartjs/Chart.js/issues/4102\r\n\t\t// https://github.com/chartjs/Chart.js/issues/4152\r\n\t\tif (context && context.canvas === item) {\r\n\t\t\t// Load platform resources on first chart creation, to make it possible to\r\n\t\t\t// import the library before setting platform options.\r\n\t\t\tthis._ensureLoaded(item);\r\n\t\t\tinitCanvas(item, config);\r\n\t\t\treturn context;\r\n\t\t}\r\n\r\n\t\treturn null;\r\n\t},\r\n\r\n\treleaseContext: function(context) {\r\n\t\tvar canvas = context.canvas;\r\n\t\tif (!canvas[EXPANDO_KEY]) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar initial = canvas[EXPANDO_KEY].initial;\r\n\t\t['height', 'width'].forEach(function(prop) {\r\n\t\t\tvar value = initial[prop];\r\n\t\t\tif (helpers$1.isNullOrUndef(value)) {\r\n\t\t\t\tcanvas.removeAttribute(prop);\r\n\t\t\t} else {\r\n\t\t\t\tcanvas.setAttribute(prop, value);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\thelpers$1.each(initial.style || {}, function(value, key) {\r\n\t\t\tcanvas.style[key] = value;\r\n\t\t});\r\n\r\n\t\t// The canvas render size might have been changed (and thus the state stack discarded),\r\n\t\t// we can't use save() and restore() to restore the initial state. So make sure that at\r\n\t\t// least the canvas context is reset to the default state by setting the canvas width.\r\n\t\t// https://www.w3.org/TR/2011/WD-html5-20110525/the-canvas-element.html\r\n\t\t// eslint-disable-next-line no-self-assign\r\n\t\tcanvas.width = canvas.width;\r\n\r\n\t\tdelete canvas[EXPANDO_KEY];\r\n\t},\r\n\r\n\taddEventListener: function(chart, type, listener) {\r\n\t\tvar canvas = chart.canvas;\r\n\t\tif (type === 'resize') {\r\n\t\t\t// Note: the resize event is not supported on all browsers.\r\n\t\t\taddResizeListener(canvas, listener, chart);\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar expando = listener[EXPANDO_KEY] || (listener[EXPANDO_KEY] = {});\r\n\t\tvar proxies = expando.proxies || (expando.proxies = {});\r\n\t\tvar proxy = proxies[chart.id + '_' + type] = function(event) {\r\n\t\t\tlistener(fromNativeEvent(event, chart));\r\n\t\t};\r\n\r\n\t\taddListener(canvas, type, proxy);\r\n\t},\r\n\r\n\tremoveEventListener: function(chart, type, listener) {\r\n\t\tvar canvas = chart.canvas;\r\n\t\tif (type === 'resize') {\r\n\t\t\t// Note: the resize event is not supported on all browsers.\r\n\t\t\tremoveResizeListener(canvas);\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar expando = listener[EXPANDO_KEY] || {};\r\n\t\tvar proxies = expando.proxies || {};\r\n\t\tvar proxy = proxies[chart.id + '_' + type];\r\n\t\tif (!proxy) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tremoveListener(canvas, type, proxy);\r\n\t}\r\n};\r\n\r\n// DEPRECATIONS\r\n\r\n/**\r\n * Provided for backward compatibility, use EventTarget.addEventListener instead.\r\n * EventTarget.addEventListener compatibility: Chrome, Opera 7, Safari, FF1.5+, IE9+\r\n * @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener\r\n * @function Chart.helpers.addEvent\r\n * @deprecated since version 2.7.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nhelpers$1.addEvent = addListener;\r\n\r\n/**\r\n * Provided for backward compatibility, use EventTarget.removeEventListener instead.\r\n * EventTarget.removeEventListener compatibility: Chrome, Opera 7, Safari, FF1.5+, IE9+\r\n * @see https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/removeEventListener\r\n * @function Chart.helpers.removeEvent\r\n * @deprecated since version 2.7.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nhelpers$1.removeEvent = removeListener;\n\n// @TODO Make possible to select another platform at build time.\r\nvar implementation = platform_dom$2._enabled ? platform_dom$2 : platform_basic;\r\n\r\n/**\r\n * @namespace Chart.platform\r\n * @see https://chartjs.gitbooks.io/proposals/content/Platform.html\r\n * @since 2.4.0\r\n */\r\nvar platform = helpers$1.extend({\r\n\t/**\r\n\t * @since 2.7.0\r\n\t */\r\n\tinitialize: function() {},\r\n\r\n\t/**\r\n\t * Called at chart construction time, returns a context2d instance implementing\r\n\t * the [W3C Canvas 2D Context API standard]{@link https://www.w3.org/TR/2dcontext/}.\r\n\t * @param {*} item - The native item from which to acquire context (platform specific)\r\n\t * @param {object} options - The chart options\r\n\t * @returns {CanvasRenderingContext2D} context2d instance\r\n\t */\r\n\tacquireContext: function() {},\r\n\r\n\t/**\r\n\t * Called at chart destruction time, releases any resources associated to the context\r\n\t * previously returned by the acquireContext() method.\r\n\t * @param {CanvasRenderingContext2D} context - The context2d instance\r\n\t * @returns {boolean} true if the method succeeded, else false\r\n\t */\r\n\treleaseContext: function() {},\r\n\r\n\t/**\r\n\t * Registers the specified listener on the given chart.\r\n\t * @param {Chart} chart - Chart from which to listen for event\r\n\t * @param {string} type - The ({@link IEvent}) type to listen for\r\n\t * @param {function} listener - Receives a notification (an object that implements\r\n\t * the {@link IEvent} interface) when an event of the specified type occurs.\r\n\t */\r\n\taddEventListener: function() {},\r\n\r\n\t/**\r\n\t * Removes the specified listener previously registered with addEventListener.\r\n\t * @param {Chart} chart - Chart from which to remove the listener\r\n\t * @param {string} type - The ({@link IEvent}) type to remove\r\n\t * @param {function} listener - The listener function to remove from the event target.\r\n\t */\r\n\tremoveEventListener: function() {}\r\n\r\n}, implementation);\n\ncore_defaults._set('global', {\r\n\tplugins: {}\r\n});\r\n\r\n/**\r\n * The plugin service singleton\r\n * @namespace Chart.plugins\r\n * @since 2.1.0\r\n */\r\nvar core_plugins = {\r\n\t/**\r\n\t * Globally registered plugins.\r\n\t * @private\r\n\t */\r\n\t_plugins: [],\r\n\r\n\t/**\r\n\t * This identifier is used to invalidate the descriptors cache attached to each chart\r\n\t * when a global plugin is registered or unregistered. In this case, the cache ID is\r\n\t * incremented and descriptors are regenerated during following API calls.\r\n\t * @private\r\n\t */\r\n\t_cacheId: 0,\r\n\r\n\t/**\r\n\t * Registers the given plugin(s) if not already registered.\r\n\t * @param {IPlugin[]|IPlugin} plugins plugin instance(s).\r\n\t */\r\n\tregister: function(plugins) {\r\n\t\tvar p = this._plugins;\r\n\t\t([]).concat(plugins).forEach(function(plugin) {\r\n\t\t\tif (p.indexOf(plugin) === -1) {\r\n\t\t\t\tp.push(plugin);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tthis._cacheId++;\r\n\t},\r\n\r\n\t/**\r\n\t * Unregisters the given plugin(s) only if registered.\r\n\t * @param {IPlugin[]|IPlugin} plugins plugin instance(s).\r\n\t */\r\n\tunregister: function(plugins) {\r\n\t\tvar p = this._plugins;\r\n\t\t([]).concat(plugins).forEach(function(plugin) {\r\n\t\t\tvar idx = p.indexOf(plugin);\r\n\t\t\tif (idx !== -1) {\r\n\t\t\t\tp.splice(idx, 1);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tthis._cacheId++;\r\n\t},\r\n\r\n\t/**\r\n\t * Remove all registered plugins.\r\n\t * @since 2.1.5\r\n\t */\r\n\tclear: function() {\r\n\t\tthis._plugins = [];\r\n\t\tthis._cacheId++;\r\n\t},\r\n\r\n\t/**\r\n\t * Returns the number of registered plugins?\r\n\t * @returns {number}\r\n\t * @since 2.1.5\r\n\t */\r\n\tcount: function() {\r\n\t\treturn this._plugins.length;\r\n\t},\r\n\r\n\t/**\r\n\t * Returns all registered plugin instances.\r\n\t * @returns {IPlugin[]} array of plugin objects.\r\n\t * @since 2.1.5\r\n\t */\r\n\tgetAll: function() {\r\n\t\treturn this._plugins;\r\n\t},\r\n\r\n\t/**\r\n\t * Calls enabled plugins for `chart` on the specified hook and with the given args.\r\n\t * This method immediately returns as soon as a plugin explicitly returns false. The\r\n\t * returned value can be used, for instance, to interrupt the current action.\r\n\t * @param {Chart} chart - The chart instance for which plugins should be called.\r\n\t * @param {string} hook - The name of the plugin method to call (e.g. 'beforeUpdate').\r\n\t * @param {Array} [args] - Extra arguments to apply to the hook call.\r\n\t * @returns {boolean} false if any of the plugins return false, else returns true.\r\n\t */\r\n\tnotify: function(chart, hook, args) {\r\n\t\tvar descriptors = this.descriptors(chart);\r\n\t\tvar ilen = descriptors.length;\r\n\t\tvar i, descriptor, plugin, params, method;\r\n\r\n\t\tfor (i = 0; i < ilen; ++i) {\r\n\t\t\tdescriptor = descriptors[i];\r\n\t\t\tplugin = descriptor.plugin;\r\n\t\t\tmethod = plugin[hook];\r\n\t\t\tif (typeof method === 'function') {\r\n\t\t\t\tparams = [chart].concat(args || []);\r\n\t\t\t\tparams.push(descriptor.options);\r\n\t\t\t\tif (method.apply(plugin, params) === false) {\r\n\t\t\t\t\treturn false;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn true;\r\n\t},\r\n\r\n\t/**\r\n\t * Returns descriptors of enabled plugins for the given chart.\r\n\t * @returns {object[]} [{ plugin, options }]\r\n\t * @private\r\n\t */\r\n\tdescriptors: function(chart) {\r\n\t\tvar cache = chart.$plugins || (chart.$plugins = {});\r\n\t\tif (cache.id === this._cacheId) {\r\n\t\t\treturn cache.descriptors;\r\n\t\t}\r\n\r\n\t\tvar plugins = [];\r\n\t\tvar descriptors = [];\r\n\t\tvar config = (chart && chart.config) || {};\r\n\t\tvar options = (config.options && config.options.plugins) || {};\r\n\r\n\t\tthis._plugins.concat(config.plugins || []).forEach(function(plugin) {\r\n\t\t\tvar idx = plugins.indexOf(plugin);\r\n\t\t\tif (idx !== -1) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\tvar id = plugin.id;\r\n\t\t\tvar opts = options[id];\r\n\t\t\tif (opts === false) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\tif (opts === true) {\r\n\t\t\t\topts = helpers$1.clone(core_defaults.global.plugins[id]);\r\n\t\t\t}\r\n\r\n\t\t\tplugins.push(plugin);\r\n\t\t\tdescriptors.push({\r\n\t\t\t\tplugin: plugin,\r\n\t\t\t\toptions: opts || {}\r\n\t\t\t});\r\n\t\t});\r\n\r\n\t\tcache.descriptors = descriptors;\r\n\t\tcache.id = this._cacheId;\r\n\t\treturn descriptors;\r\n\t},\r\n\r\n\t/**\r\n\t * Invalidates cache for the given chart: descriptors hold a reference on plugin option,\r\n\t * but in some cases, this reference can be changed by the user when updating options.\r\n\t * https://github.com/chartjs/Chart.js/issues/5111#issuecomment-355934167\r\n\t * @private\r\n\t */\r\n\t_invalidate: function(chart) {\r\n\t\tdelete chart.$plugins;\r\n\t}\r\n};\n\nvar core_scaleService = {\r\n\t// Scale registration object. Extensions can register new scale types (such as log or DB scales) and then\r\n\t// use the new chart options to grab the correct scale\r\n\tconstructors: {},\r\n\t// Use a registration function so that we can move to an ES6 map when we no longer need to support\r\n\t// old browsers\r\n\r\n\t// Scale config defaults\r\n\tdefaults: {},\r\n\tregisterScaleType: function(type, scaleConstructor, scaleDefaults) {\r\n\t\tthis.constructors[type] = scaleConstructor;\r\n\t\tthis.defaults[type] = helpers$1.clone(scaleDefaults);\r\n\t},\r\n\tgetScaleConstructor: function(type) {\r\n\t\treturn this.constructors.hasOwnProperty(type) ? this.constructors[type] : undefined;\r\n\t},\r\n\tgetScaleDefaults: function(type) {\r\n\t\t// Return the scale defaults merged with the global settings so that we always use the latest ones\r\n\t\treturn this.defaults.hasOwnProperty(type) ? helpers$1.merge(Object.create(null), [core_defaults.scale, this.defaults[type]]) : {};\r\n\t},\r\n\tupdateScaleDefaults: function(type, additions) {\r\n\t\tvar me = this;\r\n\t\tif (me.defaults.hasOwnProperty(type)) {\r\n\t\t\tme.defaults[type] = helpers$1.extend(me.defaults[type], additions);\r\n\t\t}\r\n\t},\r\n\taddScalesToLayout: function(chart) {\r\n\t\t// Adds each scale to the chart.boxes array to be sized accordingly\r\n\t\thelpers$1.each(chart.scales, function(scale) {\r\n\t\t\t// Set ILayoutItem parameters for backwards compatibility\r\n\t\t\tscale.fullWidth = scale.options.fullWidth;\r\n\t\t\tscale.position = scale.options.position;\r\n\t\t\tscale.weight = scale.options.weight;\r\n\t\t\tcore_layouts.addBox(chart, scale);\r\n\t\t});\r\n\t}\r\n};\n\nvar valueOrDefault$8 = helpers$1.valueOrDefault;\r\nvar getRtlHelper = helpers$1.rtl.getRtlAdapter;\r\n\r\ncore_defaults._set('global', {\r\n\ttooltips: {\r\n\t\tenabled: true,\r\n\t\tcustom: null,\r\n\t\tmode: 'nearest',\r\n\t\tposition: 'average',\r\n\t\tintersect: true,\r\n\t\tbackgroundColor: 'rgba(0,0,0,0.8)',\r\n\t\ttitleFontStyle: 'bold',\r\n\t\ttitleSpacing: 2,\r\n\t\ttitleMarginBottom: 6,\r\n\t\ttitleFontColor: '#fff',\r\n\t\ttitleAlign: 'left',\r\n\t\tbodySpacing: 2,\r\n\t\tbodyFontColor: '#fff',\r\n\t\tbodyAlign: 'left',\r\n\t\tfooterFontStyle: 'bold',\r\n\t\tfooterSpacing: 2,\r\n\t\tfooterMarginTop: 6,\r\n\t\tfooterFontColor: '#fff',\r\n\t\tfooterAlign: 'left',\r\n\t\tyPadding: 6,\r\n\t\txPadding: 6,\r\n\t\tcaretPadding: 2,\r\n\t\tcaretSize: 5,\r\n\t\tcornerRadius: 6,\r\n\t\tmultiKeyBackground: '#fff',\r\n\t\tdisplayColors: true,\r\n\t\tborderColor: 'rgba(0,0,0,0)',\r\n\t\tborderWidth: 0,\r\n\t\tcallbacks: {\r\n\t\t\t// Args are: (tooltipItems, data)\r\n\t\t\tbeforeTitle: helpers$1.noop,\r\n\t\t\ttitle: function(tooltipItems, data) {\r\n\t\t\t\tvar title = '';\r\n\t\t\t\tvar labels = data.labels;\r\n\t\t\t\tvar labelCount = labels ? labels.length : 0;\r\n\r\n\t\t\t\tif (tooltipItems.length > 0) {\r\n\t\t\t\t\tvar item = tooltipItems[0];\r\n\t\t\t\t\tif (item.label) {\r\n\t\t\t\t\t\ttitle = item.label;\r\n\t\t\t\t\t} else if (item.xLabel) {\r\n\t\t\t\t\t\ttitle = item.xLabel;\r\n\t\t\t\t\t} else if (labelCount > 0 && item.index < labelCount) {\r\n\t\t\t\t\t\ttitle = labels[item.index];\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\r\n\t\t\t\treturn title;\r\n\t\t\t},\r\n\t\t\tafterTitle: helpers$1.noop,\r\n\r\n\t\t\t// Args are: (tooltipItems, data)\r\n\t\t\tbeforeBody: helpers$1.noop,\r\n\r\n\t\t\t// Args are: (tooltipItem, data)\r\n\t\t\tbeforeLabel: helpers$1.noop,\r\n\t\t\tlabel: function(tooltipItem, data) {\r\n\t\t\t\tvar label = data.datasets[tooltipItem.datasetIndex].label || '';\r\n\r\n\t\t\t\tif (label) {\r\n\t\t\t\t\tlabel += ': ';\r\n\t\t\t\t}\r\n\t\t\t\tif (!helpers$1.isNullOrUndef(tooltipItem.value)) {\r\n\t\t\t\t\tlabel += tooltipItem.value;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tlabel += tooltipItem.yLabel;\r\n\t\t\t\t}\r\n\t\t\t\treturn label;\r\n\t\t\t},\r\n\t\t\tlabelColor: function(tooltipItem, chart) {\r\n\t\t\t\tvar meta = chart.getDatasetMeta(tooltipItem.datasetIndex);\r\n\t\t\t\tvar activeElement = meta.data[tooltipItem.index];\r\n\t\t\t\tvar view = activeElement._view;\r\n\t\t\t\treturn {\r\n\t\t\t\t\tborderColor: view.borderColor,\r\n\t\t\t\t\tbackgroundColor: view.backgroundColor\r\n\t\t\t\t};\r\n\t\t\t},\r\n\t\t\tlabelTextColor: function() {\r\n\t\t\t\treturn this._options.bodyFontColor;\r\n\t\t\t},\r\n\t\t\tafterLabel: helpers$1.noop,\r\n\r\n\t\t\t// Args are: (tooltipItems, data)\r\n\t\t\tafterBody: helpers$1.noop,\r\n\r\n\t\t\t// Args are: (tooltipItems, data)\r\n\t\t\tbeforeFooter: helpers$1.noop,\r\n\t\t\tfooter: helpers$1.noop,\r\n\t\t\tafterFooter: helpers$1.noop\r\n\t\t}\r\n\t}\r\n});\r\n\r\nvar positioners = {\r\n\t/**\r\n\t * Average mode places the tooltip at the average position of the elements shown\r\n\t * @function Chart.Tooltip.positioners.average\r\n\t * @param elements {ChartElement[]} the elements being displayed in the tooltip\r\n\t * @returns {object} tooltip position\r\n\t */\r\n\taverage: function(elements) {\r\n\t\tif (!elements.length) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\tvar i, len;\r\n\t\tvar x = 0;\r\n\t\tvar y = 0;\r\n\t\tvar count = 0;\r\n\r\n\t\tfor (i = 0, len = elements.length; i < len; ++i) {\r\n\t\t\tvar el = elements[i];\r\n\t\t\tif (el && el.hasValue()) {\r\n\t\t\t\tvar pos = el.tooltipPosition();\r\n\t\t\t\tx += pos.x;\r\n\t\t\t\ty += pos.y;\r\n\t\t\t\t++count;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn {\r\n\t\t\tx: x / count,\r\n\t\t\ty: y / count\r\n\t\t};\r\n\t},\r\n\r\n\t/**\r\n\t * Gets the tooltip position nearest of the item nearest to the event position\r\n\t * @function Chart.Tooltip.positioners.nearest\r\n\t * @param elements {Chart.Element[]} the tooltip elements\r\n\t * @param eventPosition {object} the position of the event in canvas coordinates\r\n\t * @returns {object} the tooltip position\r\n\t */\r\n\tnearest: function(elements, eventPosition) {\r\n\t\tvar x = eventPosition.x;\r\n\t\tvar y = eventPosition.y;\r\n\t\tvar minDistance = Number.POSITIVE_INFINITY;\r\n\t\tvar i, len, nearestElement;\r\n\r\n\t\tfor (i = 0, len = elements.length; i < len; ++i) {\r\n\t\t\tvar el = elements[i];\r\n\t\t\tif (el && el.hasValue()) {\r\n\t\t\t\tvar center = el.getCenterPoint();\r\n\t\t\t\tvar d = helpers$1.distanceBetweenPoints(eventPosition, center);\r\n\r\n\t\t\t\tif (d < minDistance) {\r\n\t\t\t\t\tminDistance = d;\r\n\t\t\t\t\tnearestElement = el;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (nearestElement) {\r\n\t\t\tvar tp = nearestElement.tooltipPosition();\r\n\t\t\tx = tp.x;\r\n\t\t\ty = tp.y;\r\n\t\t}\r\n\r\n\t\treturn {\r\n\t\t\tx: x,\r\n\t\t\ty: y\r\n\t\t};\r\n\t}\r\n};\r\n\r\n// Helper to push or concat based on if the 2nd parameter is an array or not\r\nfunction pushOrConcat(base, toPush) {\r\n\tif (toPush) {\r\n\t\tif (helpers$1.isArray(toPush)) {\r\n\t\t\t// base = base.concat(toPush);\r\n\t\t\tArray.prototype.push.apply(base, toPush);\r\n\t\t} else {\r\n\t\t\tbase.push(toPush);\r\n\t\t}\r\n\t}\r\n\r\n\treturn base;\r\n}\r\n\r\n/**\r\n * Returns array of strings split by newline\r\n * @param {string} value - The value to split by newline.\r\n * @returns {string[]} value if newline present - Returned from String split() method\r\n * @function\r\n */\r\nfunction splitNewlines(str) {\r\n\tif ((typeof str === 'string' || str instanceof String) && str.indexOf('\\n') > -1) {\r\n\t\treturn str.split('\\n');\r\n\t}\r\n\treturn str;\r\n}\r\n\r\n\r\n/**\r\n * Private helper to create a tooltip item model\r\n * @param element - the chart element (point, arc, bar) to create the tooltip item for\r\n * @return new tooltip item\r\n */\r\nfunction createTooltipItem(element) {\r\n\tvar xScale = element._xScale;\r\n\tvar yScale = element._yScale || element._scale; // handle radar || polarArea charts\r\n\tvar index = element._index;\r\n\tvar datasetIndex = element._datasetIndex;\r\n\tvar controller = element._chart.getDatasetMeta(datasetIndex).controller;\r\n\tvar indexScale = controller._getIndexScale();\r\n\tvar valueScale = controller._getValueScale();\r\n\r\n\treturn {\r\n\t\txLabel: xScale ? xScale.getLabelForIndex(index, datasetIndex) : '',\r\n\t\tyLabel: yScale ? yScale.getLabelForIndex(index, datasetIndex) : '',\r\n\t\tlabel: indexScale ? '' + indexScale.getLabelForIndex(index, datasetIndex) : '',\r\n\t\tvalue: valueScale ? '' + valueScale.getLabelForIndex(index, datasetIndex) : '',\r\n\t\tindex: index,\r\n\t\tdatasetIndex: datasetIndex,\r\n\t\tx: element._model.x,\r\n\t\ty: element._model.y\r\n\t};\r\n}\r\n\r\n/**\r\n * Helper to get the reset model for the tooltip\r\n * @param tooltipOpts {object} the tooltip options\r\n */\r\nfunction getBaseModel(tooltipOpts) {\r\n\tvar globalDefaults = core_defaults.global;\r\n\r\n\treturn {\r\n\t\t// Positioning\r\n\t\txPadding: tooltipOpts.xPadding,\r\n\t\tyPadding: tooltipOpts.yPadding,\r\n\t\txAlign: tooltipOpts.xAlign,\r\n\t\tyAlign: tooltipOpts.yAlign,\r\n\r\n\t\t// Drawing direction and text direction\r\n\t\trtl: tooltipOpts.rtl,\r\n\t\ttextDirection: tooltipOpts.textDirection,\r\n\r\n\t\t// Body\r\n\t\tbodyFontColor: tooltipOpts.bodyFontColor,\r\n\t\t_bodyFontFamily: valueOrDefault$8(tooltipOpts.bodyFontFamily, globalDefaults.defaultFontFamily),\r\n\t\t_bodyFontStyle: valueOrDefault$8(tooltipOpts.bodyFontStyle, globalDefaults.defaultFontStyle),\r\n\t\t_bodyAlign: tooltipOpts.bodyAlign,\r\n\t\tbodyFontSize: valueOrDefault$8(tooltipOpts.bodyFontSize, globalDefaults.defaultFontSize),\r\n\t\tbodySpacing: tooltipOpts.bodySpacing,\r\n\r\n\t\t// Title\r\n\t\ttitleFontColor: tooltipOpts.titleFontColor,\r\n\t\t_titleFontFamily: valueOrDefault$8(tooltipOpts.titleFontFamily, globalDefaults.defaultFontFamily),\r\n\t\t_titleFontStyle: valueOrDefault$8(tooltipOpts.titleFontStyle, globalDefaults.defaultFontStyle),\r\n\t\ttitleFontSize: valueOrDefault$8(tooltipOpts.titleFontSize, globalDefaults.defaultFontSize),\r\n\t\t_titleAlign: tooltipOpts.titleAlign,\r\n\t\ttitleSpacing: tooltipOpts.titleSpacing,\r\n\t\ttitleMarginBottom: tooltipOpts.titleMarginBottom,\r\n\r\n\t\t// Footer\r\n\t\tfooterFontColor: tooltipOpts.footerFontColor,\r\n\t\t_footerFontFamily: valueOrDefault$8(tooltipOpts.footerFontFamily, globalDefaults.defaultFontFamily),\r\n\t\t_footerFontStyle: valueOrDefault$8(tooltipOpts.footerFontStyle, globalDefaults.defaultFontStyle),\r\n\t\tfooterFontSize: valueOrDefault$8(tooltipOpts.footerFontSize, globalDefaults.defaultFontSize),\r\n\t\t_footerAlign: tooltipOpts.footerAlign,\r\n\t\tfooterSpacing: tooltipOpts.footerSpacing,\r\n\t\tfooterMarginTop: tooltipOpts.footerMarginTop,\r\n\r\n\t\t// Appearance\r\n\t\tcaretSize: tooltipOpts.caretSize,\r\n\t\tcornerRadius: tooltipOpts.cornerRadius,\r\n\t\tbackgroundColor: tooltipOpts.backgroundColor,\r\n\t\topacity: 0,\r\n\t\tlegendColorBackground: tooltipOpts.multiKeyBackground,\r\n\t\tdisplayColors: tooltipOpts.displayColors,\r\n\t\tborderColor: tooltipOpts.borderColor,\r\n\t\tborderWidth: tooltipOpts.borderWidth\r\n\t};\r\n}\r\n\r\n/**\r\n * Get the size of the tooltip\r\n */\r\nfunction getTooltipSize(tooltip, model) {\r\n\tvar ctx = tooltip._chart.ctx;\r\n\r\n\tvar height = model.yPadding * 2; // Tooltip Padding\r\n\tvar width = 0;\r\n\r\n\t// Count of all lines in the body\r\n\tvar body = model.body;\r\n\tvar combinedBodyLength = body.reduce(function(count, bodyItem) {\r\n\t\treturn count + bodyItem.before.length + bodyItem.lines.length + bodyItem.after.length;\r\n\t}, 0);\r\n\tcombinedBodyLength += model.beforeBody.length + model.afterBody.length;\r\n\r\n\tvar titleLineCount = model.title.length;\r\n\tvar footerLineCount = model.footer.length;\r\n\tvar titleFontSize = model.titleFontSize;\r\n\tvar bodyFontSize = model.bodyFontSize;\r\n\tvar footerFontSize = model.footerFontSize;\r\n\r\n\theight += titleLineCount * titleFontSize; // Title Lines\r\n\theight += titleLineCount ? (titleLineCount - 1) * model.titleSpacing : 0; // Title Line Spacing\r\n\theight += titleLineCount ? model.titleMarginBottom : 0; // Title's bottom Margin\r\n\theight += combinedBodyLength * bodyFontSize; // Body Lines\r\n\theight += combinedBodyLength ? (combinedBodyLength - 1) * model.bodySpacing : 0; // Body Line Spacing\r\n\theight += footerLineCount ? model.footerMarginTop : 0; // Footer Margin\r\n\theight += footerLineCount * (footerFontSize); // Footer Lines\r\n\theight += footerLineCount ? (footerLineCount - 1) * model.footerSpacing : 0; // Footer Line Spacing\r\n\r\n\t// Title width\r\n\tvar widthPadding = 0;\r\n\tvar maxLineWidth = function(line) {\r\n\t\twidth = Math.max(width, ctx.measureText(line).width + widthPadding);\r\n\t};\r\n\r\n\tctx.font = helpers$1.fontString(titleFontSize, model._titleFontStyle, model._titleFontFamily);\r\n\thelpers$1.each(model.title, maxLineWidth);\r\n\r\n\t// Body width\r\n\tctx.font = helpers$1.fontString(bodyFontSize, model._bodyFontStyle, model._bodyFontFamily);\r\n\thelpers$1.each(model.beforeBody.concat(model.afterBody), maxLineWidth);\r\n\r\n\t// Body lines may include some extra width due to the color box\r\n\twidthPadding = model.displayColors ? (bodyFontSize + 2) : 0;\r\n\thelpers$1.each(body, function(bodyItem) {\r\n\t\thelpers$1.each(bodyItem.before, maxLineWidth);\r\n\t\thelpers$1.each(bodyItem.lines, maxLineWidth);\r\n\t\thelpers$1.each(bodyItem.after, maxLineWidth);\r\n\t});\r\n\r\n\t// Reset back to 0\r\n\twidthPadding = 0;\r\n\r\n\t// Footer width\r\n\tctx.font = helpers$1.fontString(footerFontSize, model._footerFontStyle, model._footerFontFamily);\r\n\thelpers$1.each(model.footer, maxLineWidth);\r\n\r\n\t// Add padding\r\n\twidth += 2 * model.xPadding;\r\n\r\n\treturn {\r\n\t\twidth: width,\r\n\t\theight: height\r\n\t};\r\n}\r\n\r\n/**\r\n * Helper to get the alignment of a tooltip given the size\r\n */\r\nfunction determineAlignment(tooltip, size) {\r\n\tvar model = tooltip._model;\r\n\tvar chart = tooltip._chart;\r\n\tvar chartArea = tooltip._chart.chartArea;\r\n\tvar xAlign = 'center';\r\n\tvar yAlign = 'center';\r\n\r\n\tif (model.y < size.height) {\r\n\t\tyAlign = 'top';\r\n\t} else if (model.y > (chart.height - size.height)) {\r\n\t\tyAlign = 'bottom';\r\n\t}\r\n\r\n\tvar lf, rf; // functions to determine left, right alignment\r\n\tvar olf, orf; // functions to determine if left/right alignment causes tooltip to go outside chart\r\n\tvar yf; // function to get the y alignment if the tooltip goes outside of the left or right edges\r\n\tvar midX = (chartArea.left + chartArea.right) / 2;\r\n\tvar midY = (chartArea.top + chartArea.bottom) / 2;\r\n\r\n\tif (yAlign === 'center') {\r\n\t\tlf = function(x) {\r\n\t\t\treturn x <= midX;\r\n\t\t};\r\n\t\trf = function(x) {\r\n\t\t\treturn x > midX;\r\n\t\t};\r\n\t} else {\r\n\t\tlf = function(x) {\r\n\t\t\treturn x <= (size.width / 2);\r\n\t\t};\r\n\t\trf = function(x) {\r\n\t\t\treturn x >= (chart.width - (size.width / 2));\r\n\t\t};\r\n\t}\r\n\r\n\tolf = function(x) {\r\n\t\treturn x + size.width + model.caretSize + model.caretPadding > chart.width;\r\n\t};\r\n\torf = function(x) {\r\n\t\treturn x - size.width - model.caretSize - model.caretPadding < 0;\r\n\t};\r\n\tyf = function(y) {\r\n\t\treturn y <= midY ? 'top' : 'bottom';\r\n\t};\r\n\r\n\tif (lf(model.x)) {\r\n\t\txAlign = 'left';\r\n\r\n\t\t// Is tooltip too wide and goes over the right side of the chart.?\r\n\t\tif (olf(model.x)) {\r\n\t\t\txAlign = 'center';\r\n\t\t\tyAlign = yf(model.y);\r\n\t\t}\r\n\t} else if (rf(model.x)) {\r\n\t\txAlign = 'right';\r\n\r\n\t\t// Is tooltip too wide and goes outside left edge of canvas?\r\n\t\tif (orf(model.x)) {\r\n\t\t\txAlign = 'center';\r\n\t\t\tyAlign = yf(model.y);\r\n\t\t}\r\n\t}\r\n\r\n\tvar opts = tooltip._options;\r\n\treturn {\r\n\t\txAlign: opts.xAlign ? opts.xAlign : xAlign,\r\n\t\tyAlign: opts.yAlign ? opts.yAlign : yAlign\r\n\t};\r\n}\r\n\r\n/**\r\n * Helper to get the location a tooltip needs to be placed at given the initial position (via the vm) and the size and alignment\r\n */\r\nfunction getBackgroundPoint(vm, size, alignment, chart) {\r\n\t// Background Position\r\n\tvar x = vm.x;\r\n\tvar y = vm.y;\r\n\r\n\tvar caretSize = vm.caretSize;\r\n\tvar caretPadding = vm.caretPadding;\r\n\tvar cornerRadius = vm.cornerRadius;\r\n\tvar xAlign = alignment.xAlign;\r\n\tvar yAlign = alignment.yAlign;\r\n\tvar paddingAndSize = caretSize + caretPadding;\r\n\tvar radiusAndPadding = cornerRadius + caretPadding;\r\n\r\n\tif (xAlign === 'right') {\r\n\t\tx -= size.width;\r\n\t} else if (xAlign === 'center') {\r\n\t\tx -= (size.width / 2);\r\n\t\tif (x + size.width > chart.width) {\r\n\t\t\tx = chart.width - size.width;\r\n\t\t}\r\n\t\tif (x < 0) {\r\n\t\t\tx = 0;\r\n\t\t}\r\n\t}\r\n\r\n\tif (yAlign === 'top') {\r\n\t\ty += paddingAndSize;\r\n\t} else if (yAlign === 'bottom') {\r\n\t\ty -= size.height + paddingAndSize;\r\n\t} else {\r\n\t\ty -= (size.height / 2);\r\n\t}\r\n\r\n\tif (yAlign === 'center') {\r\n\t\tif (xAlign === 'left') {\r\n\t\t\tx += paddingAndSize;\r\n\t\t} else if (xAlign === 'right') {\r\n\t\t\tx -= paddingAndSize;\r\n\t\t}\r\n\t} else if (xAlign === 'left') {\r\n\t\tx -= radiusAndPadding;\r\n\t} else if (xAlign === 'right') {\r\n\t\tx += radiusAndPadding;\r\n\t}\r\n\r\n\treturn {\r\n\t\tx: x,\r\n\t\ty: y\r\n\t};\r\n}\r\n\r\nfunction getAlignedX(vm, align) {\r\n\treturn align === 'center'\r\n\t\t? vm.x + vm.width / 2\r\n\t\t: align === 'right'\r\n\t\t\t? vm.x + vm.width - vm.xPadding\r\n\t\t\t: vm.x + vm.xPadding;\r\n}\r\n\r\n/**\r\n * Helper to build before and after body lines\r\n */\r\nfunction getBeforeAfterBodyLines(callback) {\r\n\treturn pushOrConcat([], splitNewlines(callback));\r\n}\r\n\r\nvar exports$4 = core_element.extend({\r\n\tinitialize: function() {\r\n\t\tthis._model = getBaseModel(this._options);\r\n\t\tthis._lastActive = [];\r\n\t},\r\n\r\n\t// Get the title\r\n\t// Args are: (tooltipItem, data)\r\n\tgetTitle: function() {\r\n\t\tvar me = this;\r\n\t\tvar opts = me._options;\r\n\t\tvar callbacks = opts.callbacks;\r\n\r\n\t\tvar beforeTitle = callbacks.beforeTitle.apply(me, arguments);\r\n\t\tvar title = callbacks.title.apply(me, arguments);\r\n\t\tvar afterTitle = callbacks.afterTitle.apply(me, arguments);\r\n\r\n\t\tvar lines = [];\r\n\t\tlines = pushOrConcat(lines, splitNewlines(beforeTitle));\r\n\t\tlines = pushOrConcat(lines, splitNewlines(title));\r\n\t\tlines = pushOrConcat(lines, splitNewlines(afterTitle));\r\n\r\n\t\treturn lines;\r\n\t},\r\n\r\n\t// Args are: (tooltipItem, data)\r\n\tgetBeforeBody: function() {\r\n\t\treturn getBeforeAfterBodyLines(this._options.callbacks.beforeBody.apply(this, arguments));\r\n\t},\r\n\r\n\t// Args are: (tooltipItem, data)\r\n\tgetBody: function(tooltipItems, data) {\r\n\t\tvar me = this;\r\n\t\tvar callbacks = me._options.callbacks;\r\n\t\tvar bodyItems = [];\r\n\r\n\t\thelpers$1.each(tooltipItems, function(tooltipItem) {\r\n\t\t\tvar bodyItem = {\r\n\t\t\t\tbefore: [],\r\n\t\t\t\tlines: [],\r\n\t\t\t\tafter: []\r\n\t\t\t};\r\n\t\t\tpushOrConcat(bodyItem.before, splitNewlines(callbacks.beforeLabel.call(me, tooltipItem, data)));\r\n\t\t\tpushOrConcat(bodyItem.lines, callbacks.label.call(me, tooltipItem, data));\r\n\t\t\tpushOrConcat(bodyItem.after, splitNewlines(callbacks.afterLabel.call(me, tooltipItem, data)));\r\n\r\n\t\t\tbodyItems.push(bodyItem);\r\n\t\t});\r\n\r\n\t\treturn bodyItems;\r\n\t},\r\n\r\n\t// Args are: (tooltipItem, data)\r\n\tgetAfterBody: function() {\r\n\t\treturn getBeforeAfterBodyLines(this._options.callbacks.afterBody.apply(this, arguments));\r\n\t},\r\n\r\n\t// Get the footer and beforeFooter and afterFooter lines\r\n\t// Args are: (tooltipItem, data)\r\n\tgetFooter: function() {\r\n\t\tvar me = this;\r\n\t\tvar callbacks = me._options.callbacks;\r\n\r\n\t\tvar beforeFooter = callbacks.beforeFooter.apply(me, arguments);\r\n\t\tvar footer = callbacks.footer.apply(me, arguments);\r\n\t\tvar afterFooter = callbacks.afterFooter.apply(me, arguments);\r\n\r\n\t\tvar lines = [];\r\n\t\tlines = pushOrConcat(lines, splitNewlines(beforeFooter));\r\n\t\tlines = pushOrConcat(lines, splitNewlines(footer));\r\n\t\tlines = pushOrConcat(lines, splitNewlines(afterFooter));\r\n\r\n\t\treturn lines;\r\n\t},\r\n\r\n\tupdate: function(changed) {\r\n\t\tvar me = this;\r\n\t\tvar opts = me._options;\r\n\r\n\t\t// Need to regenerate the model because its faster than using extend and it is necessary due to the optimization in Chart.Element.transition\r\n\t\t// that does _view = _model if ease === 1. This causes the 2nd tooltip update to set properties in both the view and model at the same time\r\n\t\t// which breaks any animations.\r\n\t\tvar existingModel = me._model;\r\n\t\tvar model = me._model = getBaseModel(opts);\r\n\t\tvar active = me._active;\r\n\r\n\t\tvar data = me._data;\r\n\r\n\t\t// In the case where active.length === 0 we need to keep these at existing values for good animations\r\n\t\tvar alignment = {\r\n\t\t\txAlign: existingModel.xAlign,\r\n\t\t\tyAlign: existingModel.yAlign\r\n\t\t};\r\n\t\tvar backgroundPoint = {\r\n\t\t\tx: existingModel.x,\r\n\t\t\ty: existingModel.y\r\n\t\t};\r\n\t\tvar tooltipSize = {\r\n\t\t\twidth: existingModel.width,\r\n\t\t\theight: existingModel.height\r\n\t\t};\r\n\t\tvar tooltipPosition = {\r\n\t\t\tx: existingModel.caretX,\r\n\t\t\ty: existingModel.caretY\r\n\t\t};\r\n\r\n\t\tvar i, len;\r\n\r\n\t\tif (active.length) {\r\n\t\t\tmodel.opacity = 1;\r\n\r\n\t\t\tvar labelColors = [];\r\n\t\t\tvar labelTextColors = [];\r\n\t\t\ttooltipPosition = positioners[opts.position].call(me, active, me._eventPosition);\r\n\r\n\t\t\tvar tooltipItems = [];\r\n\t\t\tfor (i = 0, len = active.length; i < len; ++i) {\r\n\t\t\t\ttooltipItems.push(createTooltipItem(active[i]));\r\n\t\t\t}\r\n\r\n\t\t\t// If the user provided a filter function, use it to modify the tooltip items\r\n\t\t\tif (opts.filter) {\r\n\t\t\t\ttooltipItems = tooltipItems.filter(function(a) {\r\n\t\t\t\t\treturn opts.filter(a, data);\r\n\t\t\t\t});\r\n\t\t\t}\r\n\r\n\t\t\t// If the user provided a sorting function, use it to modify the tooltip items\r\n\t\t\tif (opts.itemSort) {\r\n\t\t\t\ttooltipItems = tooltipItems.sort(function(a, b) {\r\n\t\t\t\t\treturn opts.itemSort(a, b, data);\r\n\t\t\t\t});\r\n\t\t\t}\r\n\r\n\t\t\t// Determine colors for boxes\r\n\t\t\thelpers$1.each(tooltipItems, function(tooltipItem) {\r\n\t\t\t\tlabelColors.push(opts.callbacks.labelColor.call(me, tooltipItem, me._chart));\r\n\t\t\t\tlabelTextColors.push(opts.callbacks.labelTextColor.call(me, tooltipItem, me._chart));\r\n\t\t\t});\r\n\r\n\r\n\t\t\t// Build the Text Lines\r\n\t\t\tmodel.title = me.getTitle(tooltipItems, data);\r\n\t\t\tmodel.beforeBody = me.getBeforeBody(tooltipItems, data);\r\n\t\t\tmodel.body = me.getBody(tooltipItems, data);\r\n\t\t\tmodel.afterBody = me.getAfterBody(tooltipItems, data);\r\n\t\t\tmodel.footer = me.getFooter(tooltipItems, data);\r\n\r\n\t\t\t// Initial positioning and colors\r\n\t\t\tmodel.x = tooltipPosition.x;\r\n\t\t\tmodel.y = tooltipPosition.y;\r\n\t\t\tmodel.caretPadding = opts.caretPadding;\r\n\t\t\tmodel.labelColors = labelColors;\r\n\t\t\tmodel.labelTextColors = labelTextColors;\r\n\r\n\t\t\t// data points\r\n\t\t\tmodel.dataPoints = tooltipItems;\r\n\r\n\t\t\t// We need to determine alignment of the tooltip\r\n\t\t\ttooltipSize = getTooltipSize(this, model);\r\n\t\t\talignment = determineAlignment(this, tooltipSize);\r\n\t\t\t// Final Size and Position\r\n\t\t\tbackgroundPoint = getBackgroundPoint(model, tooltipSize, alignment, me._chart);\r\n\t\t} else {\r\n\t\t\tmodel.opacity = 0;\r\n\t\t}\r\n\r\n\t\tmodel.xAlign = alignment.xAlign;\r\n\t\tmodel.yAlign = alignment.yAlign;\r\n\t\tmodel.x = backgroundPoint.x;\r\n\t\tmodel.y = backgroundPoint.y;\r\n\t\tmodel.width = tooltipSize.width;\r\n\t\tmodel.height = tooltipSize.height;\r\n\r\n\t\t// Point where the caret on the tooltip points to\r\n\t\tmodel.caretX = tooltipPosition.x;\r\n\t\tmodel.caretY = tooltipPosition.y;\r\n\r\n\t\tme._model = model;\r\n\r\n\t\tif (changed && opts.custom) {\r\n\t\t\topts.custom.call(me, model);\r\n\t\t}\r\n\r\n\t\treturn me;\r\n\t},\r\n\r\n\tdrawCaret: function(tooltipPoint, size) {\r\n\t\tvar ctx = this._chart.ctx;\r\n\t\tvar vm = this._view;\r\n\t\tvar caretPosition = this.getCaretPosition(tooltipPoint, size, vm);\r\n\r\n\t\tctx.lineTo(caretPosition.x1, caretPosition.y1);\r\n\t\tctx.lineTo(caretPosition.x2, caretPosition.y2);\r\n\t\tctx.lineTo(caretPosition.x3, caretPosition.y3);\r\n\t},\r\n\tgetCaretPosition: function(tooltipPoint, size, vm) {\r\n\t\tvar x1, x2, x3, y1, y2, y3;\r\n\t\tvar caretSize = vm.caretSize;\r\n\t\tvar cornerRadius = vm.cornerRadius;\r\n\t\tvar xAlign = vm.xAlign;\r\n\t\tvar yAlign = vm.yAlign;\r\n\t\tvar ptX = tooltipPoint.x;\r\n\t\tvar ptY = tooltipPoint.y;\r\n\t\tvar width = size.width;\r\n\t\tvar height = size.height;\r\n\r\n\t\tif (yAlign === 'center') {\r\n\t\t\ty2 = ptY + (height / 2);\r\n\r\n\t\t\tif (xAlign === 'left') {\r\n\t\t\t\tx1 = ptX;\r\n\t\t\t\tx2 = x1 - caretSize;\r\n\t\t\t\tx3 = x1;\r\n\r\n\t\t\t\ty1 = y2 + caretSize;\r\n\t\t\t\ty3 = y2 - caretSize;\r\n\t\t\t} else {\r\n\t\t\t\tx1 = ptX + width;\r\n\t\t\t\tx2 = x1 + caretSize;\r\n\t\t\t\tx3 = x1;\r\n\r\n\t\t\t\ty1 = y2 - caretSize;\r\n\t\t\t\ty3 = y2 + caretSize;\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tif (xAlign === 'left') {\r\n\t\t\t\tx2 = ptX + cornerRadius + (caretSize);\r\n\t\t\t\tx1 = x2 - caretSize;\r\n\t\t\t\tx3 = x2 + caretSize;\r\n\t\t\t} else if (xAlign === 'right') {\r\n\t\t\t\tx2 = ptX + width - cornerRadius - caretSize;\r\n\t\t\t\tx1 = x2 - caretSize;\r\n\t\t\t\tx3 = x2 + caretSize;\r\n\t\t\t} else {\r\n\t\t\t\tx2 = vm.caretX;\r\n\t\t\t\tx1 = x2 - caretSize;\r\n\t\t\t\tx3 = x2 + caretSize;\r\n\t\t\t}\r\n\t\t\tif (yAlign === 'top') {\r\n\t\t\t\ty1 = ptY;\r\n\t\t\t\ty2 = y1 - caretSize;\r\n\t\t\t\ty3 = y1;\r\n\t\t\t} else {\r\n\t\t\t\ty1 = ptY + height;\r\n\t\t\t\ty2 = y1 + caretSize;\r\n\t\t\t\ty3 = y1;\r\n\t\t\t\t// invert drawing order\r\n\t\t\t\tvar tmp = x3;\r\n\t\t\t\tx3 = x1;\r\n\t\t\t\tx1 = tmp;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn {x1: x1, x2: x2, x3: x3, y1: y1, y2: y2, y3: y3};\r\n\t},\r\n\r\n\tdrawTitle: function(pt, vm, ctx) {\r\n\t\tvar title = vm.title;\r\n\t\tvar length = title.length;\r\n\t\tvar titleFontSize, titleSpacing, i;\r\n\r\n\t\tif (length) {\r\n\t\t\tvar rtlHelper = getRtlHelper(vm.rtl, vm.x, vm.width);\r\n\r\n\t\t\tpt.x = getAlignedX(vm, vm._titleAlign);\r\n\r\n\t\t\tctx.textAlign = rtlHelper.textAlign(vm._titleAlign);\r\n\t\t\tctx.textBaseline = 'middle';\r\n\r\n\t\t\ttitleFontSize = vm.titleFontSize;\r\n\t\t\ttitleSpacing = vm.titleSpacing;\r\n\r\n\t\t\tctx.fillStyle = vm.titleFontColor;\r\n\t\t\tctx.font = helpers$1.fontString(titleFontSize, vm._titleFontStyle, vm._titleFontFamily);\r\n\r\n\t\t\tfor (i = 0; i < length; ++i) {\r\n\t\t\t\tctx.fillText(title[i], rtlHelper.x(pt.x), pt.y + titleFontSize / 2);\r\n\t\t\t\tpt.y += titleFontSize + titleSpacing; // Line Height and spacing\r\n\r\n\t\t\t\tif (i + 1 === length) {\r\n\t\t\t\t\tpt.y += vm.titleMarginBottom - titleSpacing; // If Last, add margin, remove spacing\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\r\n\tdrawBody: function(pt, vm, ctx) {\r\n\t\tvar bodyFontSize = vm.bodyFontSize;\r\n\t\tvar bodySpacing = vm.bodySpacing;\r\n\t\tvar bodyAlign = vm._bodyAlign;\r\n\t\tvar body = vm.body;\r\n\t\tvar drawColorBoxes = vm.displayColors;\r\n\t\tvar xLinePadding = 0;\r\n\t\tvar colorX = drawColorBoxes ? getAlignedX(vm, 'left') : 0;\r\n\r\n\t\tvar rtlHelper = getRtlHelper(vm.rtl, vm.x, vm.width);\r\n\r\n\t\tvar fillLineOfText = function(line) {\r\n\t\t\tctx.fillText(line, rtlHelper.x(pt.x + xLinePadding), pt.y + bodyFontSize / 2);\r\n\t\t\tpt.y += bodyFontSize + bodySpacing;\r\n\t\t};\r\n\r\n\t\tvar bodyItem, textColor, labelColors, lines, i, j, ilen, jlen;\r\n\t\tvar bodyAlignForCalculation = rtlHelper.textAlign(bodyAlign);\r\n\r\n\t\tctx.textAlign = bodyAlign;\r\n\t\tctx.textBaseline = 'middle';\r\n\t\tctx.font = helpers$1.fontString(bodyFontSize, vm._bodyFontStyle, vm._bodyFontFamily);\r\n\r\n\t\tpt.x = getAlignedX(vm, bodyAlignForCalculation);\r\n\r\n\t\t// Before body lines\r\n\t\tctx.fillStyle = vm.bodyFontColor;\r\n\t\thelpers$1.each(vm.beforeBody, fillLineOfText);\r\n\r\n\t\txLinePadding = drawColorBoxes && bodyAlignForCalculation !== 'right'\r\n\t\t\t? bodyAlign === 'center' ? (bodyFontSize / 2 + 1) : (bodyFontSize + 2)\r\n\t\t\t: 0;\r\n\r\n\t\t// Draw body lines now\r\n\t\tfor (i = 0, ilen = body.length; i < ilen; ++i) {\r\n\t\t\tbodyItem = body[i];\r\n\t\t\ttextColor = vm.labelTextColors[i];\r\n\t\t\tlabelColors = vm.labelColors[i];\r\n\r\n\t\t\tctx.fillStyle = textColor;\r\n\t\t\thelpers$1.each(bodyItem.before, fillLineOfText);\r\n\r\n\t\t\tlines = bodyItem.lines;\r\n\t\t\tfor (j = 0, jlen = lines.length; j < jlen; ++j) {\r\n\t\t\t\t// Draw Legend-like boxes if needed\r\n\t\t\t\tif (drawColorBoxes) {\r\n\t\t\t\t\tvar rtlColorX = rtlHelper.x(colorX);\r\n\r\n\t\t\t\t\t// Fill a white rect so that colours merge nicely if the opacity is < 1\r\n\t\t\t\t\tctx.fillStyle = vm.legendColorBackground;\r\n\t\t\t\t\tctx.fillRect(rtlHelper.leftForLtr(rtlColorX, bodyFontSize), pt.y, bodyFontSize, bodyFontSize);\r\n\r\n\t\t\t\t\t// Border\r\n\t\t\t\t\tctx.lineWidth = 1;\r\n\t\t\t\t\tctx.strokeStyle = labelColors.borderColor;\r\n\t\t\t\t\tctx.strokeRect(rtlHelper.leftForLtr(rtlColorX, bodyFontSize), pt.y, bodyFontSize, bodyFontSize);\r\n\r\n\t\t\t\t\t// Inner square\r\n\t\t\t\t\tctx.fillStyle = labelColors.backgroundColor;\r\n\t\t\t\t\tctx.fillRect(rtlHelper.leftForLtr(rtlHelper.xPlus(rtlColorX, 1), bodyFontSize - 2), pt.y + 1, bodyFontSize - 2, bodyFontSize - 2);\r\n\t\t\t\t\tctx.fillStyle = textColor;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tfillLineOfText(lines[j]);\r\n\t\t\t}\r\n\r\n\t\t\thelpers$1.each(bodyItem.after, fillLineOfText);\r\n\t\t}\r\n\r\n\t\t// Reset back to 0 for after body\r\n\t\txLinePadding = 0;\r\n\r\n\t\t// After body lines\r\n\t\thelpers$1.each(vm.afterBody, fillLineOfText);\r\n\t\tpt.y -= bodySpacing; // Remove last body spacing\r\n\t},\r\n\r\n\tdrawFooter: function(pt, vm, ctx) {\r\n\t\tvar footer = vm.footer;\r\n\t\tvar length = footer.length;\r\n\t\tvar footerFontSize, i;\r\n\r\n\t\tif (length) {\r\n\t\t\tvar rtlHelper = getRtlHelper(vm.rtl, vm.x, vm.width);\r\n\r\n\t\t\tpt.x = getAlignedX(vm, vm._footerAlign);\r\n\t\t\tpt.y += vm.footerMarginTop;\r\n\r\n\t\t\tctx.textAlign = rtlHelper.textAlign(vm._footerAlign);\r\n\t\t\tctx.textBaseline = 'middle';\r\n\r\n\t\t\tfooterFontSize = vm.footerFontSize;\r\n\r\n\t\t\tctx.fillStyle = vm.footerFontColor;\r\n\t\t\tctx.font = helpers$1.fontString(footerFontSize, vm._footerFontStyle, vm._footerFontFamily);\r\n\r\n\t\t\tfor (i = 0; i < length; ++i) {\r\n\t\t\t\tctx.fillText(footer[i], rtlHelper.x(pt.x), pt.y + footerFontSize / 2);\r\n\t\t\t\tpt.y += footerFontSize + vm.footerSpacing;\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\r\n\tdrawBackground: function(pt, vm, ctx, tooltipSize) {\r\n\t\tctx.fillStyle = vm.backgroundColor;\r\n\t\tctx.strokeStyle = vm.borderColor;\r\n\t\tctx.lineWidth = vm.borderWidth;\r\n\t\tvar xAlign = vm.xAlign;\r\n\t\tvar yAlign = vm.yAlign;\r\n\t\tvar x = pt.x;\r\n\t\tvar y = pt.y;\r\n\t\tvar width = tooltipSize.width;\r\n\t\tvar height = tooltipSize.height;\r\n\t\tvar radius = vm.cornerRadius;\r\n\r\n\t\tctx.beginPath();\r\n\t\tctx.moveTo(x + radius, y);\r\n\t\tif (yAlign === 'top') {\r\n\t\t\tthis.drawCaret(pt, tooltipSize);\r\n\t\t}\r\n\t\tctx.lineTo(x + width - radius, y);\r\n\t\tctx.quadraticCurveTo(x + width, y, x + width, y + radius);\r\n\t\tif (yAlign === 'center' && xAlign === 'right') {\r\n\t\t\tthis.drawCaret(pt, tooltipSize);\r\n\t\t}\r\n\t\tctx.lineTo(x + width, y + height - radius);\r\n\t\tctx.quadraticCurveTo(x + width, y + height, x + width - radius, y + height);\r\n\t\tif (yAlign === 'bottom') {\r\n\t\t\tthis.drawCaret(pt, tooltipSize);\r\n\t\t}\r\n\t\tctx.lineTo(x + radius, y + height);\r\n\t\tctx.quadraticCurveTo(x, y + height, x, y + height - radius);\r\n\t\tif (yAlign === 'center' && xAlign === 'left') {\r\n\t\t\tthis.drawCaret(pt, tooltipSize);\r\n\t\t}\r\n\t\tctx.lineTo(x, y + radius);\r\n\t\tctx.quadraticCurveTo(x, y, x + radius, y);\r\n\t\tctx.closePath();\r\n\r\n\t\tctx.fill();\r\n\r\n\t\tif (vm.borderWidth > 0) {\r\n\t\t\tctx.stroke();\r\n\t\t}\r\n\t},\r\n\r\n\tdraw: function() {\r\n\t\tvar ctx = this._chart.ctx;\r\n\t\tvar vm = this._view;\r\n\r\n\t\tif (vm.opacity === 0) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar tooltipSize = {\r\n\t\t\twidth: vm.width,\r\n\t\t\theight: vm.height\r\n\t\t};\r\n\t\tvar pt = {\r\n\t\t\tx: vm.x,\r\n\t\t\ty: vm.y\r\n\t\t};\r\n\r\n\t\t// IE11/Edge does not like very small opacities, so snap to 0\r\n\t\tvar opacity = Math.abs(vm.opacity < 1e-3) ? 0 : vm.opacity;\r\n\r\n\t\t// Truthy/falsey value for empty tooltip\r\n\t\tvar hasTooltipContent = vm.title.length || vm.beforeBody.length || vm.body.length || vm.afterBody.length || vm.footer.length;\r\n\r\n\t\tif (this._options.enabled && hasTooltipContent) {\r\n\t\t\tctx.save();\r\n\t\t\tctx.globalAlpha = opacity;\r\n\r\n\t\t\t// Draw Background\r\n\t\t\tthis.drawBackground(pt, vm, ctx, tooltipSize);\r\n\r\n\t\t\t// Draw Title, Body, and Footer\r\n\t\t\tpt.y += vm.yPadding;\r\n\r\n\t\t\thelpers$1.rtl.overrideTextDirection(ctx, vm.textDirection);\r\n\r\n\t\t\t// Titles\r\n\t\t\tthis.drawTitle(pt, vm, ctx);\r\n\r\n\t\t\t// Body\r\n\t\t\tthis.drawBody(pt, vm, ctx);\r\n\r\n\t\t\t// Footer\r\n\t\t\tthis.drawFooter(pt, vm, ctx);\r\n\r\n\t\t\thelpers$1.rtl.restoreTextDirection(ctx, vm.textDirection);\r\n\r\n\t\t\tctx.restore();\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * Handle an event\r\n\t * @private\r\n\t * @param {IEvent} event - The event to handle\r\n\t * @returns {boolean} true if the tooltip changed\r\n\t */\r\n\thandleEvent: function(e) {\r\n\t\tvar me = this;\r\n\t\tvar options = me._options;\r\n\t\tvar changed = false;\r\n\r\n\t\tme._lastActive = me._lastActive || [];\r\n\r\n\t\t// Find Active Elements for tooltips\r\n\t\tif (e.type === 'mouseout') {\r\n\t\t\tme._active = [];\r\n\t\t} else {\r\n\t\t\tme._active = me._chart.getElementsAtEventForMode(e, options.mode, options);\r\n\t\t\tif (options.reverse) {\r\n\t\t\t\tme._active.reverse();\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// Remember Last Actives\r\n\t\tchanged = !helpers$1.arrayEquals(me._active, me._lastActive);\r\n\r\n\t\t// Only handle target event on tooltip change\r\n\t\tif (changed) {\r\n\t\t\tme._lastActive = me._active;\r\n\r\n\t\t\tif (options.enabled || options.custom) {\r\n\t\t\t\tme._eventPosition = {\r\n\t\t\t\t\tx: e.x,\r\n\t\t\t\t\ty: e.y\r\n\t\t\t\t};\r\n\r\n\t\t\t\tme.update(true);\r\n\t\t\t\tme.pivot();\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn changed;\r\n\t}\r\n});\r\n\r\n/**\r\n * @namespace Chart.Tooltip.positioners\r\n */\r\nvar positioners_1 = positioners;\r\n\r\nvar core_tooltip = exports$4;\ncore_tooltip.positioners = positioners_1;\n\nvar valueOrDefault$9 = helpers$1.valueOrDefault;\r\n\r\ncore_defaults._set('global', {\r\n\telements: {},\r\n\tevents: [\r\n\t\t'mousemove',\r\n\t\t'mouseout',\r\n\t\t'click',\r\n\t\t'touchstart',\r\n\t\t'touchmove'\r\n\t],\r\n\thover: {\r\n\t\tonHover: null,\r\n\t\tmode: 'nearest',\r\n\t\tintersect: true,\r\n\t\tanimationDuration: 400\r\n\t},\r\n\tonClick: null,\r\n\tmaintainAspectRatio: true,\r\n\tresponsive: true,\r\n\tresponsiveAnimationDuration: 0\r\n});\r\n\r\n/**\r\n * Recursively merge the given config objects representing the `scales` option\r\n * by incorporating scale defaults in `xAxes` and `yAxes` array items, then\r\n * returns a deep copy of the result, thus doesn't alter inputs.\r\n */\r\nfunction mergeScaleConfig(/* config objects ... */) {\r\n\treturn helpers$1.merge(Object.create(null), [].slice.call(arguments), {\r\n\t\tmerger: function(key, target, source, options) {\r\n\t\t\tif (key === 'xAxes' || key === 'yAxes') {\r\n\t\t\t\tvar slen = source[key].length;\r\n\t\t\t\tvar i, type, scale;\r\n\r\n\t\t\t\tif (!target[key]) {\r\n\t\t\t\t\ttarget[key] = [];\r\n\t\t\t\t}\r\n\r\n\t\t\t\tfor (i = 0; i < slen; ++i) {\r\n\t\t\t\t\tscale = source[key][i];\r\n\t\t\t\t\ttype = valueOrDefault$9(scale.type, key === 'xAxes' ? 'category' : 'linear');\r\n\r\n\t\t\t\t\tif (i >= target[key].length) {\r\n\t\t\t\t\t\ttarget[key].push({});\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tif (!target[key][i].type || (scale.type && scale.type !== target[key][i].type)) {\r\n\t\t\t\t\t\t// new/untyped scale or type changed: let's apply the new defaults\r\n\t\t\t\t\t\t// then merge source scale to correctly overwrite the defaults.\r\n\t\t\t\t\t\thelpers$1.merge(target[key][i], [core_scaleService.getScaleDefaults(type), scale]);\r\n\t\t\t\t\t} else {\r\n\t\t\t\t\t\t// scales type are the same\r\n\t\t\t\t\t\thelpers$1.merge(target[key][i], scale);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\thelpers$1._merger(key, target, source, options);\r\n\t\t\t}\r\n\t\t}\r\n\t});\r\n}\r\n\r\n/**\r\n * Recursively merge the given config objects as the root options by handling\r\n * default scale options for the `scales` and `scale` properties, then returns\r\n * a deep copy of the result, thus doesn't alter inputs.\r\n */\r\nfunction mergeConfig(/* config objects ... */) {\r\n\treturn helpers$1.merge(Object.create(null), [].slice.call(arguments), {\r\n\t\tmerger: function(key, target, source, options) {\r\n\t\t\tvar tval = target[key] || Object.create(null);\r\n\t\t\tvar sval = source[key];\r\n\r\n\t\t\tif (key === 'scales') {\r\n\t\t\t\t// scale config merging is complex. Add our own function here for that\r\n\t\t\t\ttarget[key] = mergeScaleConfig(tval, sval);\r\n\t\t\t} else if (key === 'scale') {\r\n\t\t\t\t// used in polar area & radar charts since there is only one scale\r\n\t\t\t\ttarget[key] = helpers$1.merge(tval, [core_scaleService.getScaleDefaults(sval.type), sval]);\r\n\t\t\t} else {\r\n\t\t\t\thelpers$1._merger(key, target, source, options);\r\n\t\t\t}\r\n\t\t}\r\n\t});\r\n}\r\n\r\nfunction initConfig(config) {\r\n\tconfig = config || Object.create(null);\r\n\r\n\t// Do NOT use mergeConfig for the data object because this method merges arrays\r\n\t// and so would change references to labels and datasets, preventing data updates.\r\n\tvar data = config.data = config.data || {};\r\n\tdata.datasets = data.datasets || [];\r\n\tdata.labels = data.labels || [];\r\n\r\n\tconfig.options = mergeConfig(\r\n\t\tcore_defaults.global,\r\n\t\tcore_defaults[config.type],\r\n\t\tconfig.options || {});\r\n\r\n\treturn config;\r\n}\r\n\r\nfunction updateConfig(chart) {\r\n\tvar newOptions = chart.options;\r\n\r\n\thelpers$1.each(chart.scales, function(scale) {\r\n\t\tcore_layouts.removeBox(chart, scale);\r\n\t});\r\n\r\n\tnewOptions = mergeConfig(\r\n\t\tcore_defaults.global,\r\n\t\tcore_defaults[chart.config.type],\r\n\t\tnewOptions);\r\n\r\n\tchart.options = chart.config.options = newOptions;\r\n\tchart.ensureScalesHaveIDs();\r\n\tchart.buildOrUpdateScales();\r\n\r\n\t// Tooltip\r\n\tchart.tooltip._options = newOptions.tooltips;\r\n\tchart.tooltip.initialize();\r\n}\r\n\r\nfunction nextAvailableScaleId(axesOpts, prefix, index) {\r\n\tvar id;\r\n\tvar hasId = function(obj) {\r\n\t\treturn obj.id === id;\r\n\t};\r\n\r\n\tdo {\r\n\t\tid = prefix + index++;\r\n\t} while (helpers$1.findIndex(axesOpts, hasId) >= 0);\r\n\r\n\treturn id;\r\n}\r\n\r\nfunction positionIsHorizontal(position) {\r\n\treturn position === 'top' || position === 'bottom';\r\n}\r\n\r\nfunction compare2Level(l1, l2) {\r\n\treturn function(a, b) {\r\n\t\treturn a[l1] === b[l1]\r\n\t\t\t? a[l2] - b[l2]\r\n\t\t\t: a[l1] - b[l1];\r\n\t};\r\n}\r\n\r\nvar Chart = function(item, config) {\r\n\tthis.construct(item, config);\r\n\treturn this;\r\n};\r\n\r\nhelpers$1.extend(Chart.prototype, /** @lends Chart */ {\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tconstruct: function(item, config) {\r\n\t\tvar me = this;\r\n\r\n\t\tconfig = initConfig(config);\r\n\r\n\t\tvar context = platform.acquireContext(item, config);\r\n\t\tvar canvas = context && context.canvas;\r\n\t\tvar height = canvas && canvas.height;\r\n\t\tvar width = canvas && canvas.width;\r\n\r\n\t\tme.id = helpers$1.uid();\r\n\t\tme.ctx = context;\r\n\t\tme.canvas = canvas;\r\n\t\tme.config = config;\r\n\t\tme.width = width;\r\n\t\tme.height = height;\r\n\t\tme.aspectRatio = height ? width / height : null;\r\n\t\tme.options = config.options;\r\n\t\tme._bufferedRender = false;\r\n\t\tme._layers = [];\r\n\r\n\t\t/**\r\n\t\t * Provided for backward compatibility, Chart and Chart.Controller have been merged,\r\n\t\t * the \"instance\" still need to be defined since it might be called from plugins.\r\n\t\t * @prop Chart#chart\r\n\t\t * @deprecated since version 2.6.0\r\n\t\t * @todo remove at version 3\r\n\t\t * @private\r\n\t\t */\r\n\t\tme.chart = me;\r\n\t\tme.controller = me; // chart.chart.controller #inception\r\n\r\n\t\t// Add the chart instance to the global namespace\r\n\t\tChart.instances[me.id] = me;\r\n\r\n\t\t// Define alias to the config data: `chart.data === chart.config.data`\r\n\t\tObject.defineProperty(me, 'data', {\r\n\t\t\tget: function() {\r\n\t\t\t\treturn me.config.data;\r\n\t\t\t},\r\n\t\t\tset: function(value) {\r\n\t\t\t\tme.config.data = value;\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tif (!context || !canvas) {\r\n\t\t\t// The given item is not a compatible context2d element, let's return before finalizing\r\n\t\t\t// the chart initialization but after setting basic chart / controller properties that\r\n\t\t\t// can help to figure out that the chart is not valid (e.g chart.canvas !== null);\r\n\t\t\t// https://github.com/chartjs/Chart.js/issues/2807\r\n\t\t\tconsole.error(\"Failed to create chart: can't acquire context from the given item\");\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tme.initialize();\r\n\t\tme.update();\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tinitialize: function() {\r\n\t\tvar me = this;\r\n\r\n\t\t// Before init plugin notification\r\n\t\tcore_plugins.notify(me, 'beforeInit');\r\n\r\n\t\thelpers$1.retinaScale(me, me.options.devicePixelRatio);\r\n\r\n\t\tme.bindEvents();\r\n\r\n\t\tif (me.options.responsive) {\r\n\t\t\t// Initial resize before chart draws (must be silent to preserve initial animations).\r\n\t\t\tme.resize(true);\r\n\t\t}\r\n\r\n\t\tme.initToolTip();\r\n\r\n\t\t// After init plugin notification\r\n\t\tcore_plugins.notify(me, 'afterInit');\r\n\r\n\t\treturn me;\r\n\t},\r\n\r\n\tclear: function() {\r\n\t\thelpers$1.canvas.clear(this);\r\n\t\treturn this;\r\n\t},\r\n\r\n\tstop: function() {\r\n\t\t// Stops any current animation loop occurring\r\n\t\tcore_animations.cancelAnimation(this);\r\n\t\treturn this;\r\n\t},\r\n\r\n\tresize: function(silent) {\r\n\t\tvar me = this;\r\n\t\tvar options = me.options;\r\n\t\tvar canvas = me.canvas;\r\n\t\tvar aspectRatio = (options.maintainAspectRatio && me.aspectRatio) || null;\r\n\r\n\t\t// the canvas render width and height will be casted to integers so make sure that\r\n\t\t// the canvas display style uses the same integer values to avoid blurring effect.\r\n\r\n\t\t// Set to 0 instead of canvas.size because the size defaults to 300x150 if the element is collapsed\r\n\t\tvar newWidth = Math.max(0, Math.floor(helpers$1.getMaximumWidth(canvas)));\r\n\t\tvar newHeight = Math.max(0, Math.floor(aspectRatio ? newWidth / aspectRatio : helpers$1.getMaximumHeight(canvas)));\r\n\r\n\t\tif (me.width === newWidth && me.height === newHeight) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tcanvas.width = me.width = newWidth;\r\n\t\tcanvas.height = me.height = newHeight;\r\n\t\tcanvas.style.width = newWidth + 'px';\r\n\t\tcanvas.style.height = newHeight + 'px';\r\n\r\n\t\thelpers$1.retinaScale(me, options.devicePixelRatio);\r\n\r\n\t\tif (!silent) {\r\n\t\t\t// Notify any plugins about the resize\r\n\t\t\tvar newSize = {width: newWidth, height: newHeight};\r\n\t\t\tcore_plugins.notify(me, 'resize', [newSize]);\r\n\r\n\t\t\t// Notify of resize\r\n\t\t\tif (options.onResize) {\r\n\t\t\t\toptions.onResize(me, newSize);\r\n\t\t\t}\r\n\r\n\t\t\tme.stop();\r\n\t\t\tme.update({\r\n\t\t\t\tduration: options.responsiveAnimationDuration\r\n\t\t\t});\r\n\t\t}\r\n\t},\r\n\r\n\tensureScalesHaveIDs: function() {\r\n\t\tvar options = this.options;\r\n\t\tvar scalesOptions = options.scales || {};\r\n\t\tvar scaleOptions = options.scale;\r\n\r\n\t\thelpers$1.each(scalesOptions.xAxes, function(xAxisOptions, index) {\r\n\t\t\tif (!xAxisOptions.id) {\r\n\t\t\t\txAxisOptions.id = nextAvailableScaleId(scalesOptions.xAxes, 'x-axis-', index);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\thelpers$1.each(scalesOptions.yAxes, function(yAxisOptions, index) {\r\n\t\t\tif (!yAxisOptions.id) {\r\n\t\t\t\tyAxisOptions.id = nextAvailableScaleId(scalesOptions.yAxes, 'y-axis-', index);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tif (scaleOptions) {\r\n\t\t\tscaleOptions.id = scaleOptions.id || 'scale';\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * Builds a map of scale ID to scale object for future lookup.\r\n\t */\r\n\tbuildOrUpdateScales: function() {\r\n\t\tvar me = this;\r\n\t\tvar options = me.options;\r\n\t\tvar scales = me.scales || {};\r\n\t\tvar items = [];\r\n\t\tvar updated = Object.keys(scales).reduce(function(obj, id) {\r\n\t\t\tobj[id] = false;\r\n\t\t\treturn obj;\r\n\t\t}, {});\r\n\r\n\t\tif (options.scales) {\r\n\t\t\titems = items.concat(\r\n\t\t\t\t(options.scales.xAxes || []).map(function(xAxisOptions) {\r\n\t\t\t\t\treturn {options: xAxisOptions, dtype: 'category', dposition: 'bottom'};\r\n\t\t\t\t}),\r\n\t\t\t\t(options.scales.yAxes || []).map(function(yAxisOptions) {\r\n\t\t\t\t\treturn {options: yAxisOptions, dtype: 'linear', dposition: 'left'};\r\n\t\t\t\t})\r\n\t\t\t);\r\n\t\t}\r\n\r\n\t\tif (options.scale) {\r\n\t\t\titems.push({\r\n\t\t\t\toptions: options.scale,\r\n\t\t\t\tdtype: 'radialLinear',\r\n\t\t\t\tisDefault: true,\r\n\t\t\t\tdposition: 'chartArea'\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\thelpers$1.each(items, function(item) {\r\n\t\t\tvar scaleOptions = item.options;\r\n\t\t\tvar id = scaleOptions.id;\r\n\t\t\tvar scaleType = valueOrDefault$9(scaleOptions.type, item.dtype);\r\n\r\n\t\t\tif (positionIsHorizontal(scaleOptions.position) !== positionIsHorizontal(item.dposition)) {\r\n\t\t\t\tscaleOptions.position = item.dposition;\r\n\t\t\t}\r\n\r\n\t\t\tupdated[id] = true;\r\n\t\t\tvar scale = null;\r\n\t\t\tif (id in scales && scales[id].type === scaleType) {\r\n\t\t\t\tscale = scales[id];\r\n\t\t\t\tscale.options = scaleOptions;\r\n\t\t\t\tscale.ctx = me.ctx;\r\n\t\t\t\tscale.chart = me;\r\n\t\t\t} else {\r\n\t\t\t\tvar scaleClass = core_scaleService.getScaleConstructor(scaleType);\r\n\t\t\t\tif (!scaleClass) {\r\n\t\t\t\t\treturn;\r\n\t\t\t\t}\r\n\t\t\t\tscale = new scaleClass({\r\n\t\t\t\t\tid: id,\r\n\t\t\t\t\ttype: scaleType,\r\n\t\t\t\t\toptions: scaleOptions,\r\n\t\t\t\t\tctx: me.ctx,\r\n\t\t\t\t\tchart: me\r\n\t\t\t\t});\r\n\t\t\t\tscales[scale.id] = scale;\r\n\t\t\t}\r\n\r\n\t\t\tscale.mergeTicksOptions();\r\n\r\n\t\t\t// TODO(SB): I think we should be able to remove this custom case (options.scale)\r\n\t\t\t// and consider it as a regular scale part of the \"scales\"\" map only! This would\r\n\t\t\t// make the logic easier and remove some useless? custom code.\r\n\t\t\tif (item.isDefault) {\r\n\t\t\t\tme.scale = scale;\r\n\t\t\t}\r\n\t\t});\r\n\t\t// clear up discarded scales\r\n\t\thelpers$1.each(updated, function(hasUpdated, id) {\r\n\t\t\tif (!hasUpdated) {\r\n\t\t\t\tdelete scales[id];\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tme.scales = scales;\r\n\r\n\t\tcore_scaleService.addScalesToLayout(this);\r\n\t},\r\n\r\n\tbuildOrUpdateControllers: function() {\r\n\t\tvar me = this;\r\n\t\tvar newControllers = [];\r\n\t\tvar datasets = me.data.datasets;\r\n\t\tvar i, ilen;\r\n\r\n\t\tfor (i = 0, ilen = datasets.length; i < ilen; i++) {\r\n\t\t\tvar dataset = datasets[i];\r\n\t\t\tvar meta = me.getDatasetMeta(i);\r\n\t\t\tvar type = dataset.type || me.config.type;\r\n\r\n\t\t\tif (meta.type && meta.type !== type) {\r\n\t\t\t\tme.destroyDatasetMeta(i);\r\n\t\t\t\tmeta = me.getDatasetMeta(i);\r\n\t\t\t}\r\n\t\t\tmeta.type = type;\r\n\t\t\tmeta.order = dataset.order || 0;\r\n\t\t\tmeta.index = i;\r\n\r\n\t\t\tif (meta.controller) {\r\n\t\t\t\tmeta.controller.updateIndex(i);\r\n\t\t\t\tmeta.controller.linkScales();\r\n\t\t\t} else {\r\n\t\t\t\tvar ControllerClass = controllers[meta.type];\r\n\t\t\t\tif (ControllerClass === undefined) {\r\n\t\t\t\t\tthrow new Error('\"' + meta.type + '\" is not a chart type.');\r\n\t\t\t\t}\r\n\r\n\t\t\t\tmeta.controller = new ControllerClass(me, i);\r\n\t\t\t\tnewControllers.push(meta.controller);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn newControllers;\r\n\t},\r\n\r\n\t/**\r\n\t * Reset the elements of all datasets\r\n\t * @private\r\n\t */\r\n\tresetElements: function() {\r\n\t\tvar me = this;\r\n\t\thelpers$1.each(me.data.datasets, function(dataset, datasetIndex) {\r\n\t\t\tme.getDatasetMeta(datasetIndex).controller.reset();\r\n\t\t}, me);\r\n\t},\r\n\r\n\t/**\r\n\t* Resets the chart back to it's state before the initial animation\r\n\t*/\r\n\treset: function() {\r\n\t\tthis.resetElements();\r\n\t\tthis.tooltip.initialize();\r\n\t},\r\n\r\n\tupdate: function(config) {\r\n\t\tvar me = this;\r\n\t\tvar i, ilen;\r\n\r\n\t\tif (!config || typeof config !== 'object') {\r\n\t\t\t// backwards compatibility\r\n\t\t\tconfig = {\r\n\t\t\t\tduration: config,\r\n\t\t\t\tlazy: arguments[1]\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\tupdateConfig(me);\r\n\r\n\t\t// plugins options references might have change, let's invalidate the cache\r\n\t\t// https://github.com/chartjs/Chart.js/issues/5111#issuecomment-355934167\r\n\t\tcore_plugins._invalidate(me);\r\n\r\n\t\tif (core_plugins.notify(me, 'beforeUpdate') === false) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\t// In case the entire data object changed\r\n\t\tme.tooltip._data = me.data;\r\n\r\n\t\t// Make sure dataset controllers are updated and new controllers are reset\r\n\t\tvar newControllers = me.buildOrUpdateControllers();\r\n\r\n\t\t// Make sure all dataset controllers have correct meta data counts\r\n\t\tfor (i = 0, ilen = me.data.datasets.length; i < ilen; i++) {\r\n\t\t\tme.getDatasetMeta(i).controller.buildOrUpdateElements();\r\n\t\t}\r\n\r\n\t\tme.updateLayout();\r\n\r\n\t\t// Can only reset the new controllers after the scales have been updated\r\n\t\tif (me.options.animation && me.options.animation.duration) {\r\n\t\t\thelpers$1.each(newControllers, function(controller) {\r\n\t\t\t\tcontroller.reset();\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tme.updateDatasets();\r\n\r\n\t\t// Need to reset tooltip in case it is displayed with elements that are removed\r\n\t\t// after update.\r\n\t\tme.tooltip.initialize();\r\n\r\n\t\t// Last active contains items that were previously in the tooltip.\r\n\t\t// When we reset the tooltip, we need to clear it\r\n\t\tme.lastActive = [];\r\n\r\n\t\t// Do this before render so that any plugins that need final scale updates can use it\r\n\t\tcore_plugins.notify(me, 'afterUpdate');\r\n\r\n\t\tme._layers.sort(compare2Level('z', '_idx'));\r\n\r\n\t\tif (me._bufferedRender) {\r\n\t\t\tme._bufferedRequest = {\r\n\t\t\t\tduration: config.duration,\r\n\t\t\t\teasing: config.easing,\r\n\t\t\t\tlazy: config.lazy\r\n\t\t\t};\r\n\t\t} else {\r\n\t\t\tme.render(config);\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * Updates the chart layout unless a plugin returns `false` to the `beforeLayout`\r\n\t * hook, in which case, plugins will not be called on `afterLayout`.\r\n\t * @private\r\n\t */\r\n\tupdateLayout: function() {\r\n\t\tvar me = this;\r\n\r\n\t\tif (core_plugins.notify(me, 'beforeLayout') === false) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tcore_layouts.update(this, this.width, this.height);\r\n\r\n\t\tme._layers = [];\r\n\t\thelpers$1.each(me.boxes, function(box) {\r\n\t\t\t// _configure is called twice, once in core.scale.update and once here.\r\n\t\t\t// Here the boxes are fully updated and at their final positions.\r\n\t\t\tif (box._configure) {\r\n\t\t\t\tbox._configure();\r\n\t\t\t}\r\n\t\t\tme._layers.push.apply(me._layers, box._layers());\r\n\t\t}, me);\r\n\r\n\t\tme._layers.forEach(function(item, index) {\r\n\t\t\titem._idx = index;\r\n\t\t});\r\n\r\n\t\t/**\r\n\t\t * Provided for backward compatibility, use `afterLayout` instead.\r\n\t\t * @method IPlugin#afterScaleUpdate\r\n\t\t * @deprecated since version 2.5.0\r\n\t\t * @todo remove at version 3\r\n\t\t * @private\r\n\t\t */\r\n\t\tcore_plugins.notify(me, 'afterScaleUpdate');\r\n\t\tcore_plugins.notify(me, 'afterLayout');\r\n\t},\r\n\r\n\t/**\r\n\t * Updates all datasets unless a plugin returns `false` to the `beforeDatasetsUpdate`\r\n\t * hook, in which case, plugins will not be called on `afterDatasetsUpdate`.\r\n\t * @private\r\n\t */\r\n\tupdateDatasets: function() {\r\n\t\tvar me = this;\r\n\r\n\t\tif (core_plugins.notify(me, 'beforeDatasetsUpdate') === false) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tfor (var i = 0, ilen = me.data.datasets.length; i < ilen; ++i) {\r\n\t\t\tme.updateDataset(i);\r\n\t\t}\r\n\r\n\t\tcore_plugins.notify(me, 'afterDatasetsUpdate');\r\n\t},\r\n\r\n\t/**\r\n\t * Updates dataset at index unless a plugin returns `false` to the `beforeDatasetUpdate`\r\n\t * hook, in which case, plugins will not be called on `afterDatasetUpdate`.\r\n\t * @private\r\n\t */\r\n\tupdateDataset: function(index) {\r\n\t\tvar me = this;\r\n\t\tvar meta = me.getDatasetMeta(index);\r\n\t\tvar args = {\r\n\t\t\tmeta: meta,\r\n\t\t\tindex: index\r\n\t\t};\r\n\r\n\t\tif (core_plugins.notify(me, 'beforeDatasetUpdate', [args]) === false) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tmeta.controller._update();\r\n\r\n\t\tcore_plugins.notify(me, 'afterDatasetUpdate', [args]);\r\n\t},\r\n\r\n\trender: function(config) {\r\n\t\tvar me = this;\r\n\r\n\t\tif (!config || typeof config !== 'object') {\r\n\t\t\t// backwards compatibility\r\n\t\t\tconfig = {\r\n\t\t\t\tduration: config,\r\n\t\t\t\tlazy: arguments[1]\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\tvar animationOptions = me.options.animation;\r\n\t\tvar duration = valueOrDefault$9(config.duration, animationOptions && animationOptions.duration);\r\n\t\tvar lazy = config.lazy;\r\n\r\n\t\tif (core_plugins.notify(me, 'beforeRender') === false) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar onComplete = function(animation) {\r\n\t\t\tcore_plugins.notify(me, 'afterRender');\r\n\t\t\thelpers$1.callback(animationOptions && animationOptions.onComplete, [animation], me);\r\n\t\t};\r\n\r\n\t\tif (animationOptions && duration) {\r\n\t\t\tvar animation = new core_animation({\r\n\t\t\t\tnumSteps: duration / 16.66, // 60 fps\r\n\t\t\t\teasing: config.easing || animationOptions.easing,\r\n\r\n\t\t\t\trender: function(chart, animationObject) {\r\n\t\t\t\t\tvar easingFunction = helpers$1.easing.effects[animationObject.easing];\r\n\t\t\t\t\tvar currentStep = animationObject.currentStep;\r\n\t\t\t\t\tvar stepDecimal = currentStep / animationObject.numSteps;\r\n\r\n\t\t\t\t\tchart.draw(easingFunction(stepDecimal), stepDecimal, currentStep);\r\n\t\t\t\t},\r\n\r\n\t\t\t\tonAnimationProgress: animationOptions.onProgress,\r\n\t\t\t\tonAnimationComplete: onComplete\r\n\t\t\t});\r\n\r\n\t\t\tcore_animations.addAnimation(me, animation, duration, lazy);\r\n\t\t} else {\r\n\t\t\tme.draw();\r\n\r\n\t\t\t// See https://github.com/chartjs/Chart.js/issues/3781\r\n\t\t\tonComplete(new core_animation({numSteps: 0, chart: me}));\r\n\t\t}\r\n\r\n\t\treturn me;\r\n\t},\r\n\r\n\tdraw: function(easingValue) {\r\n\t\tvar me = this;\r\n\t\tvar i, layers;\r\n\r\n\t\tme.clear();\r\n\r\n\t\tif (helpers$1.isNullOrUndef(easingValue)) {\r\n\t\t\teasingValue = 1;\r\n\t\t}\r\n\r\n\t\tme.transition(easingValue);\r\n\r\n\t\tif (me.width <= 0 || me.height <= 0) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tif (core_plugins.notify(me, 'beforeDraw', [easingValue]) === false) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\t// Because of plugin hooks (before/afterDatasetsDraw), datasets can't\r\n\t\t// currently be part of layers. Instead, we draw\r\n\t\t// layers <= 0 before(default, backward compat), and the rest after\r\n\t\tlayers = me._layers;\r\n\t\tfor (i = 0; i < layers.length && layers[i].z <= 0; ++i) {\r\n\t\t\tlayers[i].draw(me.chartArea);\r\n\t\t}\r\n\r\n\t\tme.drawDatasets(easingValue);\r\n\r\n\t\t// Rest of layers\r\n\t\tfor (; i < layers.length; ++i) {\r\n\t\t\tlayers[i].draw(me.chartArea);\r\n\t\t}\r\n\r\n\t\tme._drawTooltip(easingValue);\r\n\r\n\t\tcore_plugins.notify(me, 'afterDraw', [easingValue]);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\ttransition: function(easingValue) {\r\n\t\tvar me = this;\r\n\r\n\t\tfor (var i = 0, ilen = (me.data.datasets || []).length; i < ilen; ++i) {\r\n\t\t\tif (me.isDatasetVisible(i)) {\r\n\t\t\t\tme.getDatasetMeta(i).controller.transition(easingValue);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tme.tooltip.transition(easingValue);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getSortedDatasetMetas: function(filterVisible) {\r\n\t\tvar me = this;\r\n\t\tvar datasets = me.data.datasets || [];\r\n\t\tvar result = [];\r\n\t\tvar i, ilen;\r\n\r\n\t\tfor (i = 0, ilen = datasets.length; i < ilen; ++i) {\r\n\t\t\tif (!filterVisible || me.isDatasetVisible(i)) {\r\n\t\t\t\tresult.push(me.getDatasetMeta(i));\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tresult.sort(compare2Level('order', 'index'));\r\n\r\n\t\treturn result;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getSortedVisibleDatasetMetas: function() {\r\n\t\treturn this._getSortedDatasetMetas(true);\r\n\t},\r\n\r\n\t/**\r\n\t * Draws all datasets unless a plugin returns `false` to the `beforeDatasetsDraw`\r\n\t * hook, in which case, plugins will not be called on `afterDatasetsDraw`.\r\n\t * @private\r\n\t */\r\n\tdrawDatasets: function(easingValue) {\r\n\t\tvar me = this;\r\n\t\tvar metasets, i;\r\n\r\n\t\tif (core_plugins.notify(me, 'beforeDatasetsDraw', [easingValue]) === false) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tmetasets = me._getSortedVisibleDatasetMetas();\r\n\t\tfor (i = metasets.length - 1; i >= 0; --i) {\r\n\t\t\tme.drawDataset(metasets[i], easingValue);\r\n\t\t}\r\n\r\n\t\tcore_plugins.notify(me, 'afterDatasetsDraw', [easingValue]);\r\n\t},\r\n\r\n\t/**\r\n\t * Draws dataset at index unless a plugin returns `false` to the `beforeDatasetDraw`\r\n\t * hook, in which case, plugins will not be called on `afterDatasetDraw`.\r\n\t * @private\r\n\t */\r\n\tdrawDataset: function(meta, easingValue) {\r\n\t\tvar me = this;\r\n\t\tvar args = {\r\n\t\t\tmeta: meta,\r\n\t\t\tindex: meta.index,\r\n\t\t\teasingValue: easingValue\r\n\t\t};\r\n\r\n\t\tif (core_plugins.notify(me, 'beforeDatasetDraw', [args]) === false) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tmeta.controller.draw(easingValue);\r\n\r\n\t\tcore_plugins.notify(me, 'afterDatasetDraw', [args]);\r\n\t},\r\n\r\n\t/**\r\n\t * Draws tooltip unless a plugin returns `false` to the `beforeTooltipDraw`\r\n\t * hook, in which case, plugins will not be called on `afterTooltipDraw`.\r\n\t * @private\r\n\t */\r\n\t_drawTooltip: function(easingValue) {\r\n\t\tvar me = this;\r\n\t\tvar tooltip = me.tooltip;\r\n\t\tvar args = {\r\n\t\t\ttooltip: tooltip,\r\n\t\t\teasingValue: easingValue\r\n\t\t};\r\n\r\n\t\tif (core_plugins.notify(me, 'beforeTooltipDraw', [args]) === false) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\ttooltip.draw();\r\n\r\n\t\tcore_plugins.notify(me, 'afterTooltipDraw', [args]);\r\n\t},\r\n\r\n\t/**\r\n\t * Get the single element that was clicked on\r\n\t * @return An object containing the dataset index and element index of the matching element. Also contains the rectangle that was draw\r\n\t */\r\n\tgetElementAtEvent: function(e) {\r\n\t\treturn core_interaction.modes.single(this, e);\r\n\t},\r\n\r\n\tgetElementsAtEvent: function(e) {\r\n\t\treturn core_interaction.modes.label(this, e, {intersect: true});\r\n\t},\r\n\r\n\tgetElementsAtXAxis: function(e) {\r\n\t\treturn core_interaction.modes['x-axis'](this, e, {intersect: true});\r\n\t},\r\n\r\n\tgetElementsAtEventForMode: function(e, mode, options) {\r\n\t\tvar method = core_interaction.modes[mode];\r\n\t\tif (typeof method === 'function') {\r\n\t\t\treturn method(this, e, options);\r\n\t\t}\r\n\r\n\t\treturn [];\r\n\t},\r\n\r\n\tgetDatasetAtEvent: function(e) {\r\n\t\treturn core_interaction.modes.dataset(this, e, {intersect: true});\r\n\t},\r\n\r\n\tgetDatasetMeta: function(datasetIndex) {\r\n\t\tvar me = this;\r\n\t\tvar dataset = me.data.datasets[datasetIndex];\r\n\t\tif (!dataset._meta) {\r\n\t\t\tdataset._meta = {};\r\n\t\t}\r\n\r\n\t\tvar meta = dataset._meta[me.id];\r\n\t\tif (!meta) {\r\n\t\t\tmeta = dataset._meta[me.id] = {\r\n\t\t\t\ttype: null,\r\n\t\t\t\tdata: [],\r\n\t\t\t\tdataset: null,\r\n\t\t\t\tcontroller: null,\r\n\t\t\t\thidden: null,\t\t\t// See isDatasetVisible() comment\r\n\t\t\t\txAxisID: null,\r\n\t\t\t\tyAxisID: null,\r\n\t\t\t\torder: dataset.order || 0,\r\n\t\t\t\tindex: datasetIndex\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\treturn meta;\r\n\t},\r\n\r\n\tgetVisibleDatasetCount: function() {\r\n\t\tvar count = 0;\r\n\t\tfor (var i = 0, ilen = this.data.datasets.length; i < ilen; ++i) {\r\n\t\t\tif (this.isDatasetVisible(i)) {\r\n\t\t\t\tcount++;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn count;\r\n\t},\r\n\r\n\tisDatasetVisible: function(datasetIndex) {\r\n\t\tvar meta = this.getDatasetMeta(datasetIndex);\r\n\r\n\t\t// meta.hidden is a per chart dataset hidden flag override with 3 states: if true or false,\r\n\t\t// the dataset.hidden value is ignored, else if null, the dataset hidden state is returned.\r\n\t\treturn typeof meta.hidden === 'boolean' ? !meta.hidden : !this.data.datasets[datasetIndex].hidden;\r\n\t},\r\n\r\n\tgenerateLegend: function() {\r\n\t\treturn this.options.legendCallback(this);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tdestroyDatasetMeta: function(datasetIndex) {\r\n\t\tvar id = this.id;\r\n\t\tvar dataset = this.data.datasets[datasetIndex];\r\n\t\tvar meta = dataset._meta && dataset._meta[id];\r\n\r\n\t\tif (meta) {\r\n\t\t\tmeta.controller.destroy();\r\n\t\t\tdelete dataset._meta[id];\r\n\t\t}\r\n\t},\r\n\r\n\tdestroy: function() {\r\n\t\tvar me = this;\r\n\t\tvar canvas = me.canvas;\r\n\t\tvar i, ilen;\r\n\r\n\t\tme.stop();\r\n\r\n\t\t// dataset controllers need to cleanup associated data\r\n\t\tfor (i = 0, ilen = me.data.datasets.length; i < ilen; ++i) {\r\n\t\t\tme.destroyDatasetMeta(i);\r\n\t\t}\r\n\r\n\t\tif (canvas) {\r\n\t\t\tme.unbindEvents();\r\n\t\t\thelpers$1.canvas.clear(me);\r\n\t\t\tplatform.releaseContext(me.ctx);\r\n\t\t\tme.canvas = null;\r\n\t\t\tme.ctx = null;\r\n\t\t}\r\n\r\n\t\tcore_plugins.notify(me, 'destroy');\r\n\r\n\t\tdelete Chart.instances[me.id];\r\n\t},\r\n\r\n\ttoBase64Image: function() {\r\n\t\treturn this.canvas.toDataURL.apply(this.canvas, arguments);\r\n\t},\r\n\r\n\tinitToolTip: function() {\r\n\t\tvar me = this;\r\n\t\tme.tooltip = new core_tooltip({\r\n\t\t\t_chart: me,\r\n\t\t\t_chartInstance: me, // deprecated, backward compatibility\r\n\t\t\t_data: me.data,\r\n\t\t\t_options: me.options.tooltips\r\n\t\t}, me);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tbindEvents: function() {\r\n\t\tvar me = this;\r\n\t\tvar listeners = me._listeners = {};\r\n\t\tvar listener = function() {\r\n\t\t\tme.eventHandler.apply(me, arguments);\r\n\t\t};\r\n\r\n\t\thelpers$1.each(me.options.events, function(type) {\r\n\t\t\tplatform.addEventListener(me, type, listener);\r\n\t\t\tlisteners[type] = listener;\r\n\t\t});\r\n\r\n\t\t// Elements used to detect size change should not be injected for non responsive charts.\r\n\t\t// See https://github.com/chartjs/Chart.js/issues/2210\r\n\t\tif (me.options.responsive) {\r\n\t\t\tlistener = function() {\r\n\t\t\t\tme.resize();\r\n\t\t\t};\r\n\r\n\t\t\tplatform.addEventListener(me, 'resize', listener);\r\n\t\t\tlisteners.resize = listener;\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tunbindEvents: function() {\r\n\t\tvar me = this;\r\n\t\tvar listeners = me._listeners;\r\n\t\tif (!listeners) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tdelete me._listeners;\r\n\t\thelpers$1.each(listeners, function(listener, type) {\r\n\t\t\tplatform.removeEventListener(me, type, listener);\r\n\t\t});\r\n\t},\r\n\r\n\tupdateHoverStyle: function(elements, mode, enabled) {\r\n\t\tvar prefix = enabled ? 'set' : 'remove';\r\n\t\tvar element, i, ilen;\r\n\r\n\t\tfor (i = 0, ilen = elements.length; i < ilen; ++i) {\r\n\t\t\telement = elements[i];\r\n\t\t\tif (element) {\r\n\t\t\t\tthis.getDatasetMeta(element._datasetIndex).controller[prefix + 'HoverStyle'](element);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (mode === 'dataset') {\r\n\t\t\tthis.getDatasetMeta(elements[0]._datasetIndex).controller['_' + prefix + 'DatasetHoverStyle']();\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\teventHandler: function(e) {\r\n\t\tvar me = this;\r\n\t\tvar tooltip = me.tooltip;\r\n\r\n\t\tif (core_plugins.notify(me, 'beforeEvent', [e]) === false) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\t// Buffer any update calls so that renders do not occur\r\n\t\tme._bufferedRender = true;\r\n\t\tme._bufferedRequest = null;\r\n\r\n\t\tvar changed = me.handleEvent(e);\r\n\t\t// for smooth tooltip animations issue #4989\r\n\t\t// the tooltip should be the source of change\r\n\t\t// Animation check workaround:\r\n\t\t// tooltip._start will be null when tooltip isn't animating\r\n\t\tif (tooltip) {\r\n\t\t\tchanged = tooltip._start\r\n\t\t\t\t? tooltip.handleEvent(e)\r\n\t\t\t\t: changed | tooltip.handleEvent(e);\r\n\t\t}\r\n\r\n\t\tcore_plugins.notify(me, 'afterEvent', [e]);\r\n\r\n\t\tvar bufferedRequest = me._bufferedRequest;\r\n\t\tif (bufferedRequest) {\r\n\t\t\t// If we have an update that was triggered, we need to do a normal render\r\n\t\t\tme.render(bufferedRequest);\r\n\t\t} else if (changed && !me.animating) {\r\n\t\t\t// If entering, leaving, or changing elements, animate the change via pivot\r\n\t\t\tme.stop();\r\n\r\n\t\t\t// We only need to render at this point. Updating will cause scales to be\r\n\t\t\t// recomputed generating flicker & using more memory than necessary.\r\n\t\t\tme.render({\r\n\t\t\t\tduration: me.options.hover.animationDuration,\r\n\t\t\t\tlazy: true\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tme._bufferedRender = false;\r\n\t\tme._bufferedRequest = null;\r\n\r\n\t\treturn me;\r\n\t},\r\n\r\n\t/**\r\n\t * Handle an event\r\n\t * @private\r\n\t * @param {IEvent} event the event to handle\r\n\t * @return {boolean} true if the chart needs to re-render\r\n\t */\r\n\thandleEvent: function(e) {\r\n\t\tvar me = this;\r\n\t\tvar options = me.options || {};\r\n\t\tvar hoverOptions = options.hover;\r\n\t\tvar changed = false;\r\n\r\n\t\tme.lastActive = me.lastActive || [];\r\n\r\n\t\t// Find Active Elements for hover and tooltips\r\n\t\tif (e.type === 'mouseout') {\r\n\t\t\tme.active = [];\r\n\t\t} else {\r\n\t\t\tme.active = me.getElementsAtEventForMode(e, hoverOptions.mode, hoverOptions);\r\n\t\t}\r\n\r\n\t\t// Invoke onHover hook\r\n\t\t// Need to call with native event here to not break backwards compatibility\r\n\t\thelpers$1.callback(options.onHover || options.hover.onHover, [e.native, me.active], me);\r\n\r\n\t\tif (e.type === 'mouseup' || e.type === 'click') {\r\n\t\t\tif (options.onClick) {\r\n\t\t\t\t// Use e.native here for backwards compatibility\r\n\t\t\t\toptions.onClick.call(me, e.native, me.active);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// Remove styling for last active (even if it may still be active)\r\n\t\tif (me.lastActive.length) {\r\n\t\t\tme.updateHoverStyle(me.lastActive, hoverOptions.mode, false);\r\n\t\t}\r\n\r\n\t\t// Built in hover styling\r\n\t\tif (me.active.length && hoverOptions.mode) {\r\n\t\t\tme.updateHoverStyle(me.active, hoverOptions.mode, true);\r\n\t\t}\r\n\r\n\t\tchanged = !helpers$1.arrayEquals(me.active, me.lastActive);\r\n\r\n\t\t// Remember Last Actives\r\n\t\tme.lastActive = me.active;\r\n\r\n\t\treturn changed;\r\n\t}\r\n});\r\n\r\n/**\r\n * NOTE(SB) We actually don't use this container anymore but we need to keep it\r\n * for backward compatibility. Though, it can still be useful for plugins that\r\n * would need to work on multiple charts?!\r\n */\r\nChart.instances = {};\r\n\r\nvar core_controller = Chart;\r\n\r\n// DEPRECATIONS\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart instead.\r\n * @class Chart.Controller\r\n * @deprecated since version 2.6\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nChart.Controller = Chart;\r\n\r\n/**\r\n * Provided for backward compatibility, not available anymore.\r\n * @namespace Chart\r\n * @deprecated since version 2.8\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nChart.types = {};\r\n\r\n/**\r\n * Provided for backward compatibility, not available anymore.\r\n * @namespace Chart.helpers.configMerge\r\n * @deprecated since version 2.8.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nhelpers$1.configMerge = mergeConfig;\r\n\r\n/**\r\n * Provided for backward compatibility, not available anymore.\r\n * @namespace Chart.helpers.scaleMerge\r\n * @deprecated since version 2.8.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\nhelpers$1.scaleMerge = mergeScaleConfig;\n\nvar core_helpers = function() {\r\n\r\n\t// -- Basic js utility methods\r\n\r\n\thelpers$1.where = function(collection, filterCallback) {\r\n\t\tif (helpers$1.isArray(collection) && Array.prototype.filter) {\r\n\t\t\treturn collection.filter(filterCallback);\r\n\t\t}\r\n\t\tvar filtered = [];\r\n\r\n\t\thelpers$1.each(collection, function(item) {\r\n\t\t\tif (filterCallback(item)) {\r\n\t\t\t\tfiltered.push(item);\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\treturn filtered;\r\n\t};\r\n\thelpers$1.findIndex = Array.prototype.findIndex ?\r\n\t\tfunction(array, callback, scope) {\r\n\t\t\treturn array.findIndex(callback, scope);\r\n\t\t} :\r\n\t\tfunction(array, callback, scope) {\r\n\t\t\tscope = scope === undefined ? array : scope;\r\n\t\t\tfor (var i = 0, ilen = array.length; i < ilen; ++i) {\r\n\t\t\t\tif (callback.call(scope, array[i], i, array)) {\r\n\t\t\t\t\treturn i;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t\treturn -1;\r\n\t\t};\r\n\thelpers$1.findNextWhere = function(arrayToSearch, filterCallback, startIndex) {\r\n\t\t// Default to start of the array\r\n\t\tif (helpers$1.isNullOrUndef(startIndex)) {\r\n\t\t\tstartIndex = -1;\r\n\t\t}\r\n\t\tfor (var i = startIndex + 1; i < arrayToSearch.length; i++) {\r\n\t\t\tvar currentItem = arrayToSearch[i];\r\n\t\t\tif (filterCallback(currentItem)) {\r\n\t\t\t\treturn currentItem;\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\thelpers$1.findPreviousWhere = function(arrayToSearch, filterCallback, startIndex) {\r\n\t\t// Default to end of the array\r\n\t\tif (helpers$1.isNullOrUndef(startIndex)) {\r\n\t\t\tstartIndex = arrayToSearch.length;\r\n\t\t}\r\n\t\tfor (var i = startIndex - 1; i >= 0; i--) {\r\n\t\t\tvar currentItem = arrayToSearch[i];\r\n\t\t\tif (filterCallback(currentItem)) {\r\n\t\t\t\treturn currentItem;\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\r\n\t// -- Math methods\r\n\thelpers$1.isNumber = function(n) {\r\n\t\treturn !isNaN(parseFloat(n)) && isFinite(n);\r\n\t};\r\n\thelpers$1.almostEquals = function(x, y, epsilon) {\r\n\t\treturn Math.abs(x - y) < epsilon;\r\n\t};\r\n\thelpers$1.almostWhole = function(x, epsilon) {\r\n\t\tvar rounded = Math.round(x);\r\n\t\treturn ((rounded - epsilon) <= x) && ((rounded + epsilon) >= x);\r\n\t};\r\n\thelpers$1.max = function(array) {\r\n\t\treturn array.reduce(function(max, value) {\r\n\t\t\tif (!isNaN(value)) {\r\n\t\t\t\treturn Math.max(max, value);\r\n\t\t\t}\r\n\t\t\treturn max;\r\n\t\t}, Number.NEGATIVE_INFINITY);\r\n\t};\r\n\thelpers$1.min = function(array) {\r\n\t\treturn array.reduce(function(min, value) {\r\n\t\t\tif (!isNaN(value)) {\r\n\t\t\t\treturn Math.min(min, value);\r\n\t\t\t}\r\n\t\t\treturn min;\r\n\t\t}, Number.POSITIVE_INFINITY);\r\n\t};\r\n\thelpers$1.sign = Math.sign ?\r\n\t\tfunction(x) {\r\n\t\t\treturn Math.sign(x);\r\n\t\t} :\r\n\t\tfunction(x) {\r\n\t\t\tx = +x; // convert to a number\r\n\t\t\tif (x === 0 || isNaN(x)) {\r\n\t\t\t\treturn x;\r\n\t\t\t}\r\n\t\t\treturn x > 0 ? 1 : -1;\r\n\t\t};\r\n\thelpers$1.toRadians = function(degrees) {\r\n\t\treturn degrees * (Math.PI / 180);\r\n\t};\r\n\thelpers$1.toDegrees = function(radians) {\r\n\t\treturn radians * (180 / Math.PI);\r\n\t};\r\n\r\n\t/**\r\n\t * Returns the number of decimal places\r\n\t * i.e. the number of digits after the decimal point, of the value of this Number.\r\n\t * @param {number} x - A number.\r\n\t * @returns {number} The number of decimal places.\r\n\t * @private\r\n\t */\r\n\thelpers$1._decimalPlaces = function(x) {\r\n\t\tif (!helpers$1.isFinite(x)) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tvar e = 1;\r\n\t\tvar p = 0;\r\n\t\twhile (Math.round(x * e) / e !== x) {\r\n\t\t\te *= 10;\r\n\t\t\tp++;\r\n\t\t}\r\n\t\treturn p;\r\n\t};\r\n\r\n\t// Gets the angle from vertical upright to the point about a centre.\r\n\thelpers$1.getAngleFromPoint = function(centrePoint, anglePoint) {\r\n\t\tvar distanceFromXCenter = anglePoint.x - centrePoint.x;\r\n\t\tvar distanceFromYCenter = anglePoint.y - centrePoint.y;\r\n\t\tvar radialDistanceFromCenter = Math.sqrt(distanceFromXCenter * distanceFromXCenter + distanceFromYCenter * distanceFromYCenter);\r\n\r\n\t\tvar angle = Math.atan2(distanceFromYCenter, distanceFromXCenter);\r\n\r\n\t\tif (angle < (-0.5 * Math.PI)) {\r\n\t\t\tangle += 2.0 * Math.PI; // make sure the returned angle is in the range of (-PI/2, 3PI/2]\r\n\t\t}\r\n\r\n\t\treturn {\r\n\t\t\tangle: angle,\r\n\t\t\tdistance: radialDistanceFromCenter\r\n\t\t};\r\n\t};\r\n\thelpers$1.distanceBetweenPoints = function(pt1, pt2) {\r\n\t\treturn Math.sqrt(Math.pow(pt2.x - pt1.x, 2) + Math.pow(pt2.y - pt1.y, 2));\r\n\t};\r\n\r\n\t/**\r\n\t * Provided for backward compatibility, not available anymore\r\n\t * @function Chart.helpers.aliasPixel\r\n\t * @deprecated since version 2.8.0\r\n\t * @todo remove at version 3\r\n\t */\r\n\thelpers$1.aliasPixel = function(pixelWidth) {\r\n\t\treturn (pixelWidth % 2 === 0) ? 0 : 0.5;\r\n\t};\r\n\r\n\t/**\r\n\t * Returns the aligned pixel value to avoid anti-aliasing blur\r\n\t * @param {Chart} chart - The chart instance.\r\n\t * @param {number} pixel - A pixel value.\r\n\t * @param {number} width - The width of the element.\r\n\t * @returns {number} The aligned pixel value.\r\n\t * @private\r\n\t */\r\n\thelpers$1._alignPixel = function(chart, pixel, width) {\r\n\t\tvar devicePixelRatio = chart.currentDevicePixelRatio;\r\n\t\tvar halfWidth = width / 2;\r\n\t\treturn Math.round((pixel - halfWidth) * devicePixelRatio) / devicePixelRatio + halfWidth;\r\n\t};\r\n\r\n\thelpers$1.splineCurve = function(firstPoint, middlePoint, afterPoint, t) {\r\n\t\t// Props to Rob Spencer at scaled innovation for his post on splining between points\r\n\t\t// http://scaledinnovation.com/analytics/splines/aboutSplines.html\r\n\r\n\t\t// This function must also respect \"skipped\" points\r\n\r\n\t\tvar previous = firstPoint.skip ? middlePoint : firstPoint;\r\n\t\tvar current = middlePoint;\r\n\t\tvar next = afterPoint.skip ? middlePoint : afterPoint;\r\n\r\n\t\tvar d01 = Math.sqrt(Math.pow(current.x - previous.x, 2) + Math.pow(current.y - previous.y, 2));\r\n\t\tvar d12 = Math.sqrt(Math.pow(next.x - current.x, 2) + Math.pow(next.y - current.y, 2));\r\n\r\n\t\tvar s01 = d01 / (d01 + d12);\r\n\t\tvar s12 = d12 / (d01 + d12);\r\n\r\n\t\t// If all points are the same, s01 & s02 will be inf\r\n\t\ts01 = isNaN(s01) ? 0 : s01;\r\n\t\ts12 = isNaN(s12) ? 0 : s12;\r\n\r\n\t\tvar fa = t * s01; // scaling factor for triangle Ta\r\n\t\tvar fb = t * s12;\r\n\r\n\t\treturn {\r\n\t\t\tprevious: {\r\n\t\t\t\tx: current.x - fa * (next.x - previous.x),\r\n\t\t\t\ty: current.y - fa * (next.y - previous.y)\r\n\t\t\t},\r\n\t\t\tnext: {\r\n\t\t\t\tx: current.x + fb * (next.x - previous.x),\r\n\t\t\t\ty: current.y + fb * (next.y - previous.y)\r\n\t\t\t}\r\n\t\t};\r\n\t};\r\n\thelpers$1.EPSILON = Number.EPSILON || 1e-14;\r\n\thelpers$1.splineCurveMonotone = function(points) {\r\n\t\t// This function calculates Bézier control points in a similar way than |splineCurve|,\r\n\t\t// but preserves monotonicity of the provided data and ensures no local extremums are added\r\n\t\t// between the dataset discrete points due to the interpolation.\r\n\t\t// See : https://en.wikipedia.org/wiki/Monotone_cubic_interpolation\r\n\r\n\t\tvar pointsWithTangents = (points || []).map(function(point) {\r\n\t\t\treturn {\r\n\t\t\t\tmodel: point._model,\r\n\t\t\t\tdeltaK: 0,\r\n\t\t\t\tmK: 0\r\n\t\t\t};\r\n\t\t});\r\n\r\n\t\t// Calculate slopes (deltaK) and initialize tangents (mK)\r\n\t\tvar pointsLen = pointsWithTangents.length;\r\n\t\tvar i, pointBefore, pointCurrent, pointAfter;\r\n\t\tfor (i = 0; i < pointsLen; ++i) {\r\n\t\t\tpointCurrent = pointsWithTangents[i];\r\n\t\t\tif (pointCurrent.model.skip) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\tpointBefore = i > 0 ? pointsWithTangents[i - 1] : null;\r\n\t\t\tpointAfter = i < pointsLen - 1 ? pointsWithTangents[i + 1] : null;\r\n\t\t\tif (pointAfter && !pointAfter.model.skip) {\r\n\t\t\t\tvar slopeDeltaX = (pointAfter.model.x - pointCurrent.model.x);\r\n\r\n\t\t\t\t// In the case of two points that appear at the same x pixel, slopeDeltaX is 0\r\n\t\t\t\tpointCurrent.deltaK = slopeDeltaX !== 0 ? (pointAfter.model.y - pointCurrent.model.y) / slopeDeltaX : 0;\r\n\t\t\t}\r\n\r\n\t\t\tif (!pointBefore || pointBefore.model.skip) {\r\n\t\t\t\tpointCurrent.mK = pointCurrent.deltaK;\r\n\t\t\t} else if (!pointAfter || pointAfter.model.skip) {\r\n\t\t\t\tpointCurrent.mK = pointBefore.deltaK;\r\n\t\t\t} else if (this.sign(pointBefore.deltaK) !== this.sign(pointCurrent.deltaK)) {\r\n\t\t\t\tpointCurrent.mK = 0;\r\n\t\t\t} else {\r\n\t\t\t\tpointCurrent.mK = (pointBefore.deltaK + pointCurrent.deltaK) / 2;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// Adjust tangents to ensure monotonic properties\r\n\t\tvar alphaK, betaK, tauK, squaredMagnitude;\r\n\t\tfor (i = 0; i < pointsLen - 1; ++i) {\r\n\t\t\tpointCurrent = pointsWithTangents[i];\r\n\t\t\tpointAfter = pointsWithTangents[i + 1];\r\n\t\t\tif (pointCurrent.model.skip || pointAfter.model.skip) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\tif (helpers$1.almostEquals(pointCurrent.deltaK, 0, this.EPSILON)) {\r\n\t\t\t\tpointCurrent.mK = pointAfter.mK = 0;\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\talphaK = pointCurrent.mK / pointCurrent.deltaK;\r\n\t\t\tbetaK = pointAfter.mK / pointCurrent.deltaK;\r\n\t\t\tsquaredMagnitude = Math.pow(alphaK, 2) + Math.pow(betaK, 2);\r\n\t\t\tif (squaredMagnitude <= 9) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\ttauK = 3 / Math.sqrt(squaredMagnitude);\r\n\t\t\tpointCurrent.mK = alphaK * tauK * pointCurrent.deltaK;\r\n\t\t\tpointAfter.mK = betaK * tauK * pointCurrent.deltaK;\r\n\t\t}\r\n\r\n\t\t// Compute control points\r\n\t\tvar deltaX;\r\n\t\tfor (i = 0; i < pointsLen; ++i) {\r\n\t\t\tpointCurrent = pointsWithTangents[i];\r\n\t\t\tif (pointCurrent.model.skip) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\tpointBefore = i > 0 ? pointsWithTangents[i - 1] : null;\r\n\t\t\tpointAfter = i < pointsLen - 1 ? pointsWithTangents[i + 1] : null;\r\n\t\t\tif (pointBefore && !pointBefore.model.skip) {\r\n\t\t\t\tdeltaX = (pointCurrent.model.x - pointBefore.model.x) / 3;\r\n\t\t\t\tpointCurrent.model.controlPointPreviousX = pointCurrent.model.x - deltaX;\r\n\t\t\t\tpointCurrent.model.controlPointPreviousY = pointCurrent.model.y - deltaX * pointCurrent.mK;\r\n\t\t\t}\r\n\t\t\tif (pointAfter && !pointAfter.model.skip) {\r\n\t\t\t\tdeltaX = (pointAfter.model.x - pointCurrent.model.x) / 3;\r\n\t\t\t\tpointCurrent.model.controlPointNextX = pointCurrent.model.x + deltaX;\r\n\t\t\t\tpointCurrent.model.controlPointNextY = pointCurrent.model.y + deltaX * pointCurrent.mK;\r\n\t\t\t}\r\n\t\t}\r\n\t};\r\n\thelpers$1.nextItem = function(collection, index, loop) {\r\n\t\tif (loop) {\r\n\t\t\treturn index >= collection.length - 1 ? collection[0] : collection[index + 1];\r\n\t\t}\r\n\t\treturn index >= collection.length - 1 ? collection[collection.length - 1] : collection[index + 1];\r\n\t};\r\n\thelpers$1.previousItem = function(collection, index, loop) {\r\n\t\tif (loop) {\r\n\t\t\treturn index <= 0 ? collection[collection.length - 1] : collection[index - 1];\r\n\t\t}\r\n\t\treturn index <= 0 ? collection[0] : collection[index - 1];\r\n\t};\r\n\t// Implementation of the nice number algorithm used in determining where axis labels will go\r\n\thelpers$1.niceNum = function(range, round) {\r\n\t\tvar exponent = Math.floor(helpers$1.log10(range));\r\n\t\tvar fraction = range / Math.pow(10, exponent);\r\n\t\tvar niceFraction;\r\n\r\n\t\tif (round) {\r\n\t\t\tif (fraction < 1.5) {\r\n\t\t\t\tniceFraction = 1;\r\n\t\t\t} else if (fraction < 3) {\r\n\t\t\t\tniceFraction = 2;\r\n\t\t\t} else if (fraction < 7) {\r\n\t\t\t\tniceFraction = 5;\r\n\t\t\t} else {\r\n\t\t\t\tniceFraction = 10;\r\n\t\t\t}\r\n\t\t} else if (fraction <= 1.0) {\r\n\t\t\tniceFraction = 1;\r\n\t\t} else if (fraction <= 2) {\r\n\t\t\tniceFraction = 2;\r\n\t\t} else if (fraction <= 5) {\r\n\t\t\tniceFraction = 5;\r\n\t\t} else {\r\n\t\t\tniceFraction = 10;\r\n\t\t}\r\n\r\n\t\treturn niceFraction * Math.pow(10, exponent);\r\n\t};\r\n\t// Request animation polyfill - https://www.paulirish.com/2011/requestanimationframe-for-smart-animating/\r\n\thelpers$1.requestAnimFrame = (function() {\r\n\t\tif (typeof window === 'undefined') {\r\n\t\t\treturn function(callback) {\r\n\t\t\t\tcallback();\r\n\t\t\t};\r\n\t\t}\r\n\t\treturn window.requestAnimationFrame ||\r\n\t\t\twindow.webkitRequestAnimationFrame ||\r\n\t\t\twindow.mozRequestAnimationFrame ||\r\n\t\t\twindow.oRequestAnimationFrame ||\r\n\t\t\twindow.msRequestAnimationFrame ||\r\n\t\t\tfunction(callback) {\r\n\t\t\t\treturn window.setTimeout(callback, 1000 / 60);\r\n\t\t\t};\r\n\t}());\r\n\t// -- DOM methods\r\n\thelpers$1.getRelativePosition = function(evt, chart) {\r\n\t\tvar mouseX, mouseY;\r\n\t\tvar e = evt.originalEvent || evt;\r\n\t\tvar canvas = evt.target || evt.srcElement;\r\n\t\tvar boundingRect = canvas.getBoundingClientRect();\r\n\r\n\t\tvar touches = e.touches;\r\n\t\tif (touches && touches.length > 0) {\r\n\t\t\tmouseX = touches[0].clientX;\r\n\t\t\tmouseY = touches[0].clientY;\r\n\r\n\t\t} else {\r\n\t\t\tmouseX = e.clientX;\r\n\t\t\tmouseY = e.clientY;\r\n\t\t}\r\n\r\n\t\t// Scale mouse coordinates into canvas coordinates\r\n\t\t// by following the pattern laid out by 'jerryj' in the comments of\r\n\t\t// https://www.html5canvastutorials.com/advanced/html5-canvas-mouse-coordinates/\r\n\t\tvar paddingLeft = parseFloat(helpers$1.getStyle(canvas, 'padding-left'));\r\n\t\tvar paddingTop = parseFloat(helpers$1.getStyle(canvas, 'padding-top'));\r\n\t\tvar paddingRight = parseFloat(helpers$1.getStyle(canvas, 'padding-right'));\r\n\t\tvar paddingBottom = parseFloat(helpers$1.getStyle(canvas, 'padding-bottom'));\r\n\t\tvar width = boundingRect.right - boundingRect.left - paddingLeft - paddingRight;\r\n\t\tvar height = boundingRect.bottom - boundingRect.top - paddingTop - paddingBottom;\r\n\r\n\t\t// We divide by the current device pixel ratio, because the canvas is scaled up by that amount in each direction. However\r\n\t\t// the backend model is in unscaled coordinates. Since we are going to deal with our model coordinates, we go back here\r\n\t\tmouseX = Math.round((mouseX - boundingRect.left - paddingLeft) / (width) * canvas.width / chart.currentDevicePixelRatio);\r\n\t\tmouseY = Math.round((mouseY - boundingRect.top - paddingTop) / (height) * canvas.height / chart.currentDevicePixelRatio);\r\n\r\n\t\treturn {\r\n\t\t\tx: mouseX,\r\n\t\t\ty: mouseY\r\n\t\t};\r\n\r\n\t};\r\n\r\n\t// Private helper function to convert max-width/max-height values that may be percentages into a number\r\n\tfunction parseMaxStyle(styleValue, node, parentProperty) {\r\n\t\tvar valueInPixels;\r\n\t\tif (typeof styleValue === 'string') {\r\n\t\t\tvalueInPixels = parseInt(styleValue, 10);\r\n\r\n\t\t\tif (styleValue.indexOf('%') !== -1) {\r\n\t\t\t\t// percentage * size in dimension\r\n\t\t\t\tvalueInPixels = valueInPixels / 100 * node.parentNode[parentProperty];\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tvalueInPixels = styleValue;\r\n\t\t}\r\n\r\n\t\treturn valueInPixels;\r\n\t}\r\n\r\n\t/**\r\n\t * Returns if the given value contains an effective constraint.\r\n\t * @private\r\n\t */\r\n\tfunction isConstrainedValue(value) {\r\n\t\treturn value !== undefined && value !== null && value !== 'none';\r\n\t}\r\n\r\n\t/**\r\n\t * Returns the max width or height of the given DOM node in a cross-browser compatible fashion\r\n\t * @param {HTMLElement} domNode - the node to check the constraint on\r\n\t * @param {string} maxStyle - the style that defines the maximum for the direction we are using ('max-width' / 'max-height')\r\n\t * @param {string} percentageProperty - property of parent to use when calculating width as a percentage\r\n\t * @see {@link https://www.nathanaeljones.com/blog/2013/reading-max-width-cross-browser}\r\n\t */\r\n\tfunction getConstraintDimension(domNode, maxStyle, percentageProperty) {\r\n\t\tvar view = document.defaultView;\r\n\t\tvar parentNode = helpers$1._getParentNode(domNode);\r\n\t\tvar constrainedNode = view.getComputedStyle(domNode)[maxStyle];\r\n\t\tvar constrainedContainer = view.getComputedStyle(parentNode)[maxStyle];\r\n\t\tvar hasCNode = isConstrainedValue(constrainedNode);\r\n\t\tvar hasCContainer = isConstrainedValue(constrainedContainer);\r\n\t\tvar infinity = Number.POSITIVE_INFINITY;\r\n\r\n\t\tif (hasCNode || hasCContainer) {\r\n\t\t\treturn Math.min(\r\n\t\t\t\thasCNode ? parseMaxStyle(constrainedNode, domNode, percentageProperty) : infinity,\r\n\t\t\t\thasCContainer ? parseMaxStyle(constrainedContainer, parentNode, percentageProperty) : infinity);\r\n\t\t}\r\n\r\n\t\treturn 'none';\r\n\t}\r\n\t// returns Number or undefined if no constraint\r\n\thelpers$1.getConstraintWidth = function(domNode) {\r\n\t\treturn getConstraintDimension(domNode, 'max-width', 'clientWidth');\r\n\t};\r\n\t// returns Number or undefined if no constraint\r\n\thelpers$1.getConstraintHeight = function(domNode) {\r\n\t\treturn getConstraintDimension(domNode, 'max-height', 'clientHeight');\r\n\t};\r\n\t/**\r\n\t * @private\r\n \t */\r\n\thelpers$1._calculatePadding = function(container, padding, parentDimension) {\r\n\t\tpadding = helpers$1.getStyle(container, padding);\r\n\r\n\t\treturn padding.indexOf('%') > -1 ? parentDimension * parseInt(padding, 10) / 100 : parseInt(padding, 10);\r\n\t};\r\n\t/**\r\n\t * @private\r\n\t */\r\n\thelpers$1._getParentNode = function(domNode) {\r\n\t\tvar parent = domNode.parentNode;\r\n\t\tif (parent && parent.toString() === '[object ShadowRoot]') {\r\n\t\t\tparent = parent.host;\r\n\t\t}\r\n\t\treturn parent;\r\n\t};\r\n\thelpers$1.getMaximumWidth = function(domNode) {\r\n\t\tvar container = helpers$1._getParentNode(domNode);\r\n\t\tif (!container) {\r\n\t\t\treturn domNode.clientWidth;\r\n\t\t}\r\n\r\n\t\tvar clientWidth = container.clientWidth;\r\n\t\tvar paddingLeft = helpers$1._calculatePadding(container, 'padding-left', clientWidth);\r\n\t\tvar paddingRight = helpers$1._calculatePadding(container, 'padding-right', clientWidth);\r\n\r\n\t\tvar w = clientWidth - paddingLeft - paddingRight;\r\n\t\tvar cw = helpers$1.getConstraintWidth(domNode);\r\n\t\treturn isNaN(cw) ? w : Math.min(w, cw);\r\n\t};\r\n\thelpers$1.getMaximumHeight = function(domNode) {\r\n\t\tvar container = helpers$1._getParentNode(domNode);\r\n\t\tif (!container) {\r\n\t\t\treturn domNode.clientHeight;\r\n\t\t}\r\n\r\n\t\tvar clientHeight = container.clientHeight;\r\n\t\tvar paddingTop = helpers$1._calculatePadding(container, 'padding-top', clientHeight);\r\n\t\tvar paddingBottom = helpers$1._calculatePadding(container, 'padding-bottom', clientHeight);\r\n\r\n\t\tvar h = clientHeight - paddingTop - paddingBottom;\r\n\t\tvar ch = helpers$1.getConstraintHeight(domNode);\r\n\t\treturn isNaN(ch) ? h : Math.min(h, ch);\r\n\t};\r\n\thelpers$1.getStyle = function(el, property) {\r\n\t\treturn el.currentStyle ?\r\n\t\t\tel.currentStyle[property] :\r\n\t\t\tdocument.defaultView.getComputedStyle(el, null).getPropertyValue(property);\r\n\t};\r\n\thelpers$1.retinaScale = function(chart, forceRatio) {\r\n\t\tvar pixelRatio = chart.currentDevicePixelRatio = forceRatio || (typeof window !== 'undefined' && window.devicePixelRatio) || 1;\r\n\t\tif (pixelRatio === 1) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar canvas = chart.canvas;\r\n\t\tvar height = chart.height;\r\n\t\tvar width = chart.width;\r\n\r\n\t\tcanvas.height = height * pixelRatio;\r\n\t\tcanvas.width = width * pixelRatio;\r\n\t\tchart.ctx.scale(pixelRatio, pixelRatio);\r\n\r\n\t\t// If no style has been set on the canvas, the render size is used as display size,\r\n\t\t// making the chart visually bigger, so let's enforce it to the \"correct\" values.\r\n\t\t// See https://github.com/chartjs/Chart.js/issues/3575\r\n\t\tif (!canvas.style.height && !canvas.style.width) {\r\n\t\t\tcanvas.style.height = height + 'px';\r\n\t\t\tcanvas.style.width = width + 'px';\r\n\t\t}\r\n\t};\r\n\t// -- Canvas methods\r\n\thelpers$1.fontString = function(pixelSize, fontStyle, fontFamily) {\r\n\t\treturn fontStyle + ' ' + pixelSize + 'px ' + fontFamily;\r\n\t};\r\n\thelpers$1.longestText = function(ctx, font, arrayOfThings, cache) {\r\n\t\tcache = cache || {};\r\n\t\tvar data = cache.data = cache.data || {};\r\n\t\tvar gc = cache.garbageCollect = cache.garbageCollect || [];\r\n\r\n\t\tif (cache.font !== font) {\r\n\t\t\tdata = cache.data = {};\r\n\t\t\tgc = cache.garbageCollect = [];\r\n\t\t\tcache.font = font;\r\n\t\t}\r\n\r\n\t\tctx.font = font;\r\n\t\tvar longest = 0;\r\n\t\tvar ilen = arrayOfThings.length;\r\n\t\tvar i, j, jlen, thing, nestedThing;\r\n\t\tfor (i = 0; i < ilen; i++) {\r\n\t\t\tthing = arrayOfThings[i];\r\n\r\n\t\t\t// Undefined strings and arrays should not be measured\r\n\t\t\tif (thing !== undefined && thing !== null && helpers$1.isArray(thing) !== true) {\r\n\t\t\t\tlongest = helpers$1.measureText(ctx, data, gc, longest, thing);\r\n\t\t\t} else if (helpers$1.isArray(thing)) {\r\n\t\t\t\t// if it is an array lets measure each element\r\n\t\t\t\t// to do maybe simplify this function a bit so we can do this more recursively?\r\n\t\t\t\tfor (j = 0, jlen = thing.length; j < jlen; j++) {\r\n\t\t\t\t\tnestedThing = thing[j];\r\n\t\t\t\t\t// Undefined strings and arrays should not be measured\r\n\t\t\t\t\tif (nestedThing !== undefined && nestedThing !== null && !helpers$1.isArray(nestedThing)) {\r\n\t\t\t\t\t\tlongest = helpers$1.measureText(ctx, data, gc, longest, nestedThing);\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tvar gcLen = gc.length / 2;\r\n\t\tif (gcLen > arrayOfThings.length) {\r\n\t\t\tfor (i = 0; i < gcLen; i++) {\r\n\t\t\t\tdelete data[gc[i]];\r\n\t\t\t}\r\n\t\t\tgc.splice(0, gcLen);\r\n\t\t}\r\n\t\treturn longest;\r\n\t};\r\n\thelpers$1.measureText = function(ctx, data, gc, longest, string) {\r\n\t\tvar textWidth = data[string];\r\n\t\tif (!textWidth) {\r\n\t\t\ttextWidth = data[string] = ctx.measureText(string).width;\r\n\t\t\tgc.push(string);\r\n\t\t}\r\n\t\tif (textWidth > longest) {\r\n\t\t\tlongest = textWidth;\r\n\t\t}\r\n\t\treturn longest;\r\n\t};\r\n\r\n\t/**\r\n\t * @deprecated\r\n\t */\r\n\thelpers$1.numberOfLabelLines = function(arrayOfThings) {\r\n\t\tvar numberOfLines = 1;\r\n\t\thelpers$1.each(arrayOfThings, function(thing) {\r\n\t\t\tif (helpers$1.isArray(thing)) {\r\n\t\t\t\tif (thing.length > numberOfLines) {\r\n\t\t\t\t\tnumberOfLines = thing.length;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t});\r\n\t\treturn numberOfLines;\r\n\t};\r\n\r\n\thelpers$1.color = !chartjsColor ?\r\n\t\tfunction(value) {\r\n\t\t\tconsole.error('Color.js not found!');\r\n\t\t\treturn value;\r\n\t\t} :\r\n\t\tfunction(value) {\r\n\t\t\t/* global CanvasGradient */\r\n\t\t\tif (value instanceof CanvasGradient) {\r\n\t\t\t\tvalue = core_defaults.global.defaultColor;\r\n\t\t\t}\r\n\r\n\t\t\treturn chartjsColor(value);\r\n\t\t};\r\n\r\n\thelpers$1.getHoverColor = function(colorValue) {\r\n\t\t/* global CanvasPattern */\r\n\t\treturn (colorValue instanceof CanvasPattern || colorValue instanceof CanvasGradient) ?\r\n\t\t\tcolorValue :\r\n\t\t\thelpers$1.color(colorValue).saturate(0.5).darken(0.1).rgbString();\r\n\t};\r\n};\n\nfunction abstract() {\r\n\tthrow new Error(\r\n\t\t'This method is not implemented: either no adapter can ' +\r\n\t\t'be found or an incomplete integration was provided.'\r\n\t);\r\n}\r\n\r\n/**\r\n * Date adapter (current used by the time scale)\r\n * @namespace Chart._adapters._date\r\n * @memberof Chart._adapters\r\n * @private\r\n */\r\n\r\n/**\r\n * Currently supported unit string values.\r\n * @typedef {('millisecond'|'second'|'minute'|'hour'|'day'|'week'|'month'|'quarter'|'year')}\r\n * @memberof Chart._adapters._date\r\n * @name Unit\r\n */\r\n\r\n/**\r\n * @class\r\n */\r\nfunction DateAdapter(options) {\r\n\tthis.options = options || {};\r\n}\r\n\r\nhelpers$1.extend(DateAdapter.prototype, /** @lends DateAdapter */ {\r\n\t/**\r\n\t * Returns a map of time formats for the supported formatting units defined\r\n\t * in Unit as well as 'datetime' representing a detailed date/time string.\r\n\t * @returns {{string: string}}\r\n\t */\r\n\tformats: abstract,\r\n\r\n\t/**\r\n\t * Parses the given `value` and return the associated timestamp.\r\n\t * @param {any} value - the value to parse (usually comes from the data)\r\n\t * @param {string} [format] - the expected data format\r\n\t * @returns {(number|null)}\r\n\t * @function\r\n\t */\r\n\tparse: abstract,\r\n\r\n\t/**\r\n\t * Returns the formatted date in the specified `format` for a given `timestamp`.\r\n\t * @param {number} timestamp - the timestamp to format\r\n\t * @param {string} format - the date/time token\r\n\t * @return {string}\r\n\t * @function\r\n\t */\r\n\tformat: abstract,\r\n\r\n\t/**\r\n\t * Adds the specified `amount` of `unit` to the given `timestamp`.\r\n\t * @param {number} timestamp - the input timestamp\r\n\t * @param {number} amount - the amount to add\r\n\t * @param {Unit} unit - the unit as string\r\n\t * @return {number}\r\n\t * @function\r\n\t */\r\n\tadd: abstract,\r\n\r\n\t/**\r\n\t * Returns the number of `unit` between the given timestamps.\r\n\t * @param {number} max - the input timestamp (reference)\r\n\t * @param {number} min - the timestamp to substract\r\n\t * @param {Unit} unit - the unit as string\r\n\t * @return {number}\r\n\t * @function\r\n\t */\r\n\tdiff: abstract,\r\n\r\n\t/**\r\n\t * Returns start of `unit` for the given `timestamp`.\r\n\t * @param {number} timestamp - the input timestamp\r\n\t * @param {Unit} unit - the unit as string\r\n\t * @param {number} [weekday] - the ISO day of the week with 1 being Monday\r\n\t * and 7 being Sunday (only needed if param *unit* is `isoWeek`).\r\n\t * @function\r\n\t */\r\n\tstartOf: abstract,\r\n\r\n\t/**\r\n\t * Returns end of `unit` for the given `timestamp`.\r\n\t * @param {number} timestamp - the input timestamp\r\n\t * @param {Unit} unit - the unit as string\r\n\t * @function\r\n\t */\r\n\tendOf: abstract,\r\n\r\n\t// DEPRECATIONS\r\n\r\n\t/**\r\n\t * Provided for backward compatibility for scale.getValueForPixel(),\r\n\t * this method should be overridden only by the moment adapter.\r\n\t * @deprecated since version 2.8.0\r\n\t * @todo remove at version 3\r\n\t * @private\r\n\t */\r\n\t_create: function(value) {\r\n\t\treturn value;\r\n\t}\r\n});\r\n\r\nDateAdapter.override = function(members) {\r\n\thelpers$1.extend(DateAdapter.prototype, members);\r\n};\r\n\r\nvar _date = DateAdapter;\n\nvar core_adapters = {\n\t_date: _date\n};\n\n/**\r\n * Namespace to hold static tick generation functions\r\n * @namespace Chart.Ticks\r\n */\r\nvar core_ticks = {\r\n\t/**\r\n\t * Namespace to hold formatters for different types of ticks\r\n\t * @namespace Chart.Ticks.formatters\r\n\t */\r\n\tformatters: {\r\n\t\t/**\r\n\t\t * Formatter for value labels\r\n\t\t * @method Chart.Ticks.formatters.values\r\n\t\t * @param value the value to display\r\n\t\t * @return {string|string[]} the label to display\r\n\t\t */\r\n\t\tvalues: function(value) {\r\n\t\t\treturn helpers$1.isArray(value) ? value : '' + value;\r\n\t\t},\r\n\r\n\t\t/**\r\n\t\t * Formatter for linear numeric ticks\r\n\t\t * @method Chart.Ticks.formatters.linear\r\n\t\t * @param tickValue {number} the value to be formatted\r\n\t\t * @param index {number} the position of the tickValue parameter in the ticks array\r\n\t\t * @param ticks {number[]} the list of ticks being converted\r\n\t\t * @return {string} string representation of the tickValue parameter\r\n\t\t */\r\n\t\tlinear: function(tickValue, index, ticks) {\r\n\t\t\t// If we have lots of ticks, don't use the ones\r\n\t\t\tvar delta = ticks.length > 3 ? ticks[2] - ticks[1] : ticks[1] - ticks[0];\r\n\r\n\t\t\t// If we have a number like 2.5 as the delta, figure out how many decimal places we need\r\n\t\t\tif (Math.abs(delta) > 1) {\r\n\t\t\t\tif (tickValue !== Math.floor(tickValue)) {\r\n\t\t\t\t\t// not an integer\r\n\t\t\t\t\tdelta = tickValue - Math.floor(tickValue);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tvar logDelta = helpers$1.log10(Math.abs(delta));\r\n\t\t\tvar tickString = '';\r\n\r\n\t\t\tif (tickValue !== 0) {\r\n\t\t\t\tvar maxTick = Math.max(Math.abs(ticks[0]), Math.abs(ticks[ticks.length - 1]));\r\n\t\t\t\tif (maxTick < 1e-4) { // all ticks are small numbers; use scientific notation\r\n\t\t\t\t\tvar logTick = helpers$1.log10(Math.abs(tickValue));\r\n\t\t\t\t\tvar numExponential = Math.floor(logTick) - Math.floor(logDelta);\r\n\t\t\t\t\tnumExponential = Math.max(Math.min(numExponential, 20), 0);\r\n\t\t\t\t\ttickString = tickValue.toExponential(numExponential);\r\n\t\t\t\t} else {\r\n\t\t\t\t\tvar numDecimal = -1 * Math.floor(logDelta);\r\n\t\t\t\t\tnumDecimal = Math.max(Math.min(numDecimal, 20), 0); // toFixed has a max of 20 decimal places\r\n\t\t\t\t\ttickString = tickValue.toFixed(numDecimal);\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\ttickString = '0'; // never show decimal places for 0\r\n\t\t\t}\r\n\r\n\t\t\treturn tickString;\r\n\t\t},\r\n\r\n\t\tlogarithmic: function(tickValue, index, ticks) {\r\n\t\t\tvar remain = tickValue / (Math.pow(10, Math.floor(helpers$1.log10(tickValue))));\r\n\r\n\t\t\tif (tickValue === 0) {\r\n\t\t\t\treturn '0';\r\n\t\t\t} else if (remain === 1 || remain === 2 || remain === 5 || index === 0 || index === ticks.length - 1) {\r\n\t\t\t\treturn tickValue.toExponential();\r\n\t\t\t}\r\n\t\t\treturn '';\r\n\t\t}\r\n\t}\r\n};\n\nvar isArray = helpers$1.isArray;\r\nvar isNullOrUndef = helpers$1.isNullOrUndef;\r\nvar valueOrDefault$a = helpers$1.valueOrDefault;\r\nvar valueAtIndexOrDefault = helpers$1.valueAtIndexOrDefault;\r\n\r\ncore_defaults._set('scale', {\r\n\tdisplay: true,\r\n\tposition: 'left',\r\n\toffset: false,\r\n\r\n\t// grid line settings\r\n\tgridLines: {\r\n\t\tdisplay: true,\r\n\t\tcolor: 'rgba(0,0,0,0.1)',\r\n\t\tlineWidth: 1,\r\n\t\tdrawBorder: true,\r\n\t\tdrawOnChartArea: true,\r\n\t\tdrawTicks: true,\r\n\t\ttickMarkLength: 10,\r\n\t\tzeroLineWidth: 1,\r\n\t\tzeroLineColor: 'rgba(0,0,0,0.25)',\r\n\t\tzeroLineBorderDash: [],\r\n\t\tzeroLineBorderDashOffset: 0.0,\r\n\t\toffsetGridLines: false,\r\n\t\tborderDash: [],\r\n\t\tborderDashOffset: 0.0\r\n\t},\r\n\r\n\t// scale label\r\n\tscaleLabel: {\r\n\t\t// display property\r\n\t\tdisplay: false,\r\n\r\n\t\t// actual label\r\n\t\tlabelString: '',\r\n\r\n\t\t// top/bottom padding\r\n\t\tpadding: {\r\n\t\t\ttop: 4,\r\n\t\t\tbottom: 4\r\n\t\t}\r\n\t},\r\n\r\n\t// label settings\r\n\tticks: {\r\n\t\tbeginAtZero: false,\r\n\t\tminRotation: 0,\r\n\t\tmaxRotation: 50,\r\n\t\tmirror: false,\r\n\t\tpadding: 0,\r\n\t\treverse: false,\r\n\t\tdisplay: true,\r\n\t\tautoSkip: true,\r\n\t\tautoSkipPadding: 0,\r\n\t\tlabelOffset: 0,\r\n\t\t// We pass through arrays to be rendered as multiline labels, we convert Others to strings here.\r\n\t\tcallback: core_ticks.formatters.values,\r\n\t\tminor: {},\r\n\t\tmajor: {}\r\n\t}\r\n});\r\n\r\n/** Returns a new array containing numItems from arr */\r\nfunction sample(arr, numItems) {\r\n\tvar result = [];\r\n\tvar increment = arr.length / numItems;\r\n\tvar i = 0;\r\n\tvar len = arr.length;\r\n\r\n\tfor (; i < len; i += increment) {\r\n\t\tresult.push(arr[Math.floor(i)]);\r\n\t}\r\n\treturn result;\r\n}\r\n\r\nfunction getPixelForGridLine(scale, index, offsetGridLines) {\r\n\tvar length = scale.getTicks().length;\r\n\tvar validIndex = Math.min(index, length - 1);\r\n\tvar lineValue = scale.getPixelForTick(validIndex);\r\n\tvar start = scale._startPixel;\r\n\tvar end = scale._endPixel;\r\n\tvar epsilon = 1e-6; // 1e-6 is margin in pixels for accumulated error.\r\n\tvar offset;\r\n\r\n\tif (offsetGridLines) {\r\n\t\tif (length === 1) {\r\n\t\t\toffset = Math.max(lineValue - start, end - lineValue);\r\n\t\t} else if (index === 0) {\r\n\t\t\toffset = (scale.getPixelForTick(1) - lineValue) / 2;\r\n\t\t} else {\r\n\t\t\toffset = (lineValue - scale.getPixelForTick(validIndex - 1)) / 2;\r\n\t\t}\r\n\t\tlineValue += validIndex < index ? offset : -offset;\r\n\r\n\t\t// Return undefined if the pixel is out of the range\r\n\t\tif (lineValue < start - epsilon || lineValue > end + epsilon) {\r\n\t\t\treturn;\r\n\t\t}\r\n\t}\r\n\treturn lineValue;\r\n}\r\n\r\nfunction garbageCollect(caches, length) {\r\n\thelpers$1.each(caches, function(cache) {\r\n\t\tvar gc = cache.gc;\r\n\t\tvar gcLen = gc.length / 2;\r\n\t\tvar i;\r\n\t\tif (gcLen > length) {\r\n\t\t\tfor (i = 0; i < gcLen; ++i) {\r\n\t\t\t\tdelete cache.data[gc[i]];\r\n\t\t\t}\r\n\t\t\tgc.splice(0, gcLen);\r\n\t\t}\r\n\t});\r\n}\r\n\r\n/**\r\n * Returns {width, height, offset} objects for the first, last, widest, highest tick\r\n * labels where offset indicates the anchor point offset from the top in pixels.\r\n */\r\nfunction computeLabelSizes(ctx, tickFonts, ticks, caches) {\r\n\tvar length = ticks.length;\r\n\tvar widths = [];\r\n\tvar heights = [];\r\n\tvar offsets = [];\r\n\tvar widestLabelSize = 0;\r\n\tvar highestLabelSize = 0;\r\n\tvar i, j, jlen, label, tickFont, fontString, cache, lineHeight, width, height, nestedLabel, widest, highest;\r\n\r\n\tfor (i = 0; i < length; ++i) {\r\n\t\tlabel = ticks[i].label;\r\n\t\ttickFont = ticks[i].major ? tickFonts.major : tickFonts.minor;\r\n\t\tctx.font = fontString = tickFont.string;\r\n\t\tcache = caches[fontString] = caches[fontString] || {data: {}, gc: []};\r\n\t\tlineHeight = tickFont.lineHeight;\r\n\t\twidth = height = 0;\r\n\t\t// Undefined labels and arrays should not be measured\r\n\t\tif (!isNullOrUndef(label) && !isArray(label)) {\r\n\t\t\twidth = helpers$1.measureText(ctx, cache.data, cache.gc, width, label);\r\n\t\t\theight = lineHeight;\r\n\t\t} else if (isArray(label)) {\r\n\t\t\t// if it is an array let's measure each element\r\n\t\t\tfor (j = 0, jlen = label.length; j < jlen; ++j) {\r\n\t\t\t\tnestedLabel = label[j];\r\n\t\t\t\t// Undefined labels and arrays should not be measured\r\n\t\t\t\tif (!isNullOrUndef(nestedLabel) && !isArray(nestedLabel)) {\r\n\t\t\t\t\twidth = helpers$1.measureText(ctx, cache.data, cache.gc, width, nestedLabel);\r\n\t\t\t\t\theight += lineHeight;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t\twidths.push(width);\r\n\t\theights.push(height);\r\n\t\toffsets.push(lineHeight / 2);\r\n\t\twidestLabelSize = Math.max(width, widestLabelSize);\r\n\t\thighestLabelSize = Math.max(height, highestLabelSize);\r\n\t}\r\n\tgarbageCollect(caches, length);\r\n\r\n\twidest = widths.indexOf(widestLabelSize);\r\n\thighest = heights.indexOf(highestLabelSize);\r\n\r\n\tfunction valueAt(idx) {\r\n\t\treturn {\r\n\t\t\twidth: widths[idx] || 0,\r\n\t\t\theight: heights[idx] || 0,\r\n\t\t\toffset: offsets[idx] || 0\r\n\t\t};\r\n\t}\r\n\r\n\treturn {\r\n\t\tfirst: valueAt(0),\r\n\t\tlast: valueAt(length - 1),\r\n\t\twidest: valueAt(widest),\r\n\t\thighest: valueAt(highest)\r\n\t};\r\n}\r\n\r\nfunction getTickMarkLength(options) {\r\n\treturn options.drawTicks ? options.tickMarkLength : 0;\r\n}\r\n\r\nfunction getScaleLabelHeight(options) {\r\n\tvar font, padding;\r\n\r\n\tif (!options.display) {\r\n\t\treturn 0;\r\n\t}\r\n\r\n\tfont = helpers$1.options._parseFont(options);\r\n\tpadding = helpers$1.options.toPadding(options.padding);\r\n\r\n\treturn font.lineHeight + padding.height;\r\n}\r\n\r\nfunction parseFontOptions(options, nestedOpts) {\r\n\treturn helpers$1.extend(helpers$1.options._parseFont({\r\n\t\tfontFamily: valueOrDefault$a(nestedOpts.fontFamily, options.fontFamily),\r\n\t\tfontSize: valueOrDefault$a(nestedOpts.fontSize, options.fontSize),\r\n\t\tfontStyle: valueOrDefault$a(nestedOpts.fontStyle, options.fontStyle),\r\n\t\tlineHeight: valueOrDefault$a(nestedOpts.lineHeight, options.lineHeight)\r\n\t}), {\r\n\t\tcolor: helpers$1.options.resolve([nestedOpts.fontColor, options.fontColor, core_defaults.global.defaultFontColor])\r\n\t});\r\n}\r\n\r\nfunction parseTickFontOptions(options) {\r\n\tvar minor = parseFontOptions(options, options.minor);\r\n\tvar major = options.major.enabled ? parseFontOptions(options, options.major) : minor;\r\n\r\n\treturn {minor: minor, major: major};\r\n}\r\n\r\nfunction nonSkipped(ticksToFilter) {\r\n\tvar filtered = [];\r\n\tvar item, index, len;\r\n\tfor (index = 0, len = ticksToFilter.length; index < len; ++index) {\r\n\t\titem = ticksToFilter[index];\r\n\t\tif (typeof item._index !== 'undefined') {\r\n\t\t\tfiltered.push(item);\r\n\t\t}\r\n\t}\r\n\treturn filtered;\r\n}\r\n\r\nfunction getEvenSpacing(arr) {\r\n\tvar len = arr.length;\r\n\tvar i, diff;\r\n\r\n\tif (len < 2) {\r\n\t\treturn false;\r\n\t}\r\n\r\n\tfor (diff = arr[0], i = 1; i < len; ++i) {\r\n\t\tif (arr[i] - arr[i - 1] !== diff) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\t}\r\n\treturn diff;\r\n}\r\n\r\nfunction calculateSpacing(majorIndices, ticks, axisLength, ticksLimit) {\r\n\tvar evenMajorSpacing = getEvenSpacing(majorIndices);\r\n\tvar spacing = (ticks.length - 1) / ticksLimit;\r\n\tvar factors, factor, i, ilen;\r\n\r\n\t// If the major ticks are evenly spaced apart, place the minor ticks\r\n\t// so that they divide the major ticks into even chunks\r\n\tif (!evenMajorSpacing) {\r\n\t\treturn Math.max(spacing, 1);\r\n\t}\r\n\r\n\tfactors = helpers$1.math._factorize(evenMajorSpacing);\r\n\tfor (i = 0, ilen = factors.length - 1; i < ilen; i++) {\r\n\t\tfactor = factors[i];\r\n\t\tif (factor > spacing) {\r\n\t\t\treturn factor;\r\n\t\t}\r\n\t}\r\n\treturn Math.max(spacing, 1);\r\n}\r\n\r\nfunction getMajorIndices(ticks) {\r\n\tvar result = [];\r\n\tvar i, ilen;\r\n\tfor (i = 0, ilen = ticks.length; i < ilen; i++) {\r\n\t\tif (ticks[i].major) {\r\n\t\t\tresult.push(i);\r\n\t\t}\r\n\t}\r\n\treturn result;\r\n}\r\n\r\nfunction skipMajors(ticks, majorIndices, spacing) {\r\n\tvar count = 0;\r\n\tvar next = majorIndices[0];\r\n\tvar i, tick;\r\n\r\n\tspacing = Math.ceil(spacing);\r\n\tfor (i = 0; i < ticks.length; i++) {\r\n\t\ttick = ticks[i];\r\n\t\tif (i === next) {\r\n\t\t\ttick._index = i;\r\n\t\t\tcount++;\r\n\t\t\tnext = majorIndices[count * spacing];\r\n\t\t} else {\r\n\t\t\tdelete tick.label;\r\n\t\t}\r\n\t}\r\n}\r\n\r\nfunction skip(ticks, spacing, majorStart, majorEnd) {\r\n\tvar start = valueOrDefault$a(majorStart, 0);\r\n\tvar end = Math.min(valueOrDefault$a(majorEnd, ticks.length), ticks.length);\r\n\tvar count = 0;\r\n\tvar length, i, tick, next;\r\n\r\n\tspacing = Math.ceil(spacing);\r\n\tif (majorEnd) {\r\n\t\tlength = majorEnd - majorStart;\r\n\t\tspacing = length / Math.floor(length / spacing);\r\n\t}\r\n\r\n\tnext = start;\r\n\r\n\twhile (next < 0) {\r\n\t\tcount++;\r\n\t\tnext = Math.round(start + count * spacing);\r\n\t}\r\n\r\n\tfor (i = Math.max(start, 0); i < end; i++) {\r\n\t\ttick = ticks[i];\r\n\t\tif (i === next) {\r\n\t\t\ttick._index = i;\r\n\t\t\tcount++;\r\n\t\t\tnext = Math.round(start + count * spacing);\r\n\t\t} else {\r\n\t\t\tdelete tick.label;\r\n\t\t}\r\n\t}\r\n}\r\n\r\nvar Scale = core_element.extend({\r\n\r\n\tzeroLineIndex: 0,\r\n\r\n\t/**\r\n\t * Get the padding needed for the scale\r\n\t * @method getPadding\r\n\t * @private\r\n\t * @returns {Padding} the necessary padding\r\n\t */\r\n\tgetPadding: function() {\r\n\t\tvar me = this;\r\n\t\treturn {\r\n\t\t\tleft: me.paddingLeft || 0,\r\n\t\t\ttop: me.paddingTop || 0,\r\n\t\t\tright: me.paddingRight || 0,\r\n\t\t\tbottom: me.paddingBottom || 0\r\n\t\t};\r\n\t},\r\n\r\n\t/**\r\n\t * Returns the scale tick objects ({label, major})\r\n\t * @since 2.7\r\n\t */\r\n\tgetTicks: function() {\r\n\t\treturn this._ticks;\r\n\t},\r\n\r\n\t/**\r\n\t* @private\r\n\t*/\r\n\t_getLabels: function() {\r\n\t\tvar data = this.chart.data;\r\n\t\treturn this.options.labels || (this.isHorizontal() ? data.xLabels : data.yLabels) || data.labels || [];\r\n\t},\r\n\r\n\t// These methods are ordered by lifecyle. Utilities then follow.\r\n\t// Any function defined here is inherited by all scale types.\r\n\t// Any function can be extended by the scale type\r\n\r\n\t/**\r\n\t * Provided for backward compatibility, not available anymore\r\n\t * @function Chart.Scale.mergeTicksOptions\r\n\t * @deprecated since version 2.8.0\r\n\t * @todo remove at version 3\r\n\t */\r\n\tmergeTicksOptions: function() {\r\n\t\t// noop\r\n\t},\r\n\r\n\tbeforeUpdate: function() {\r\n\t\thelpers$1.callback(this.options.beforeUpdate, [this]);\r\n\t},\r\n\r\n\t/**\r\n\t * @param {number} maxWidth - the max width in pixels\r\n\t * @param {number} maxHeight - the max height in pixels\r\n\t * @param {object} margins - the space between the edge of the other scales and edge of the chart\r\n\t *   This space comes from two sources:\r\n\t *     - padding - space that's required to show the labels at the edges of the scale\r\n\t *     - thickness of scales or legends in another orientation\r\n\t */\r\n\tupdate: function(maxWidth, maxHeight, margins) {\r\n\t\tvar me = this;\r\n\t\tvar tickOpts = me.options.ticks;\r\n\t\tvar sampleSize = tickOpts.sampleSize;\r\n\t\tvar i, ilen, labels, ticks, samplingEnabled;\r\n\r\n\t\t// Update Lifecycle - Probably don't want to ever extend or overwrite this function ;)\r\n\t\tme.beforeUpdate();\r\n\r\n\t\t// Absorb the master measurements\r\n\t\tme.maxWidth = maxWidth;\r\n\t\tme.maxHeight = maxHeight;\r\n\t\tme.margins = helpers$1.extend({\r\n\t\t\tleft: 0,\r\n\t\t\tright: 0,\r\n\t\t\ttop: 0,\r\n\t\t\tbottom: 0\r\n\t\t}, margins);\r\n\r\n\t\tme._ticks = null;\r\n\t\tme.ticks = null;\r\n\t\tme._labelSizes = null;\r\n\t\tme._maxLabelLines = 0;\r\n\t\tme.longestLabelWidth = 0;\r\n\t\tme.longestTextCache = me.longestTextCache || {};\r\n\t\tme._gridLineItems = null;\r\n\t\tme._labelItems = null;\r\n\r\n\t\t// Dimensions\r\n\t\tme.beforeSetDimensions();\r\n\t\tme.setDimensions();\r\n\t\tme.afterSetDimensions();\r\n\r\n\t\t// Data min/max\r\n\t\tme.beforeDataLimits();\r\n\t\tme.determineDataLimits();\r\n\t\tme.afterDataLimits();\r\n\r\n\t\t// Ticks - `this.ticks` is now DEPRECATED!\r\n\t\t// Internal ticks are now stored as objects in the PRIVATE `this._ticks` member\r\n\t\t// and must not be accessed directly from outside this class. `this.ticks` being\r\n\t\t// around for long time and not marked as private, we can't change its structure\r\n\t\t// without unexpected breaking changes. If you need to access the scale ticks,\r\n\t\t// use scale.getTicks() instead.\r\n\r\n\t\tme.beforeBuildTicks();\r\n\r\n\t\t// New implementations should return an array of objects but for BACKWARD COMPAT,\r\n\t\t// we still support no return (`this.ticks` internally set by calling this method).\r\n\t\tticks = me.buildTicks() || [];\r\n\r\n\t\t// Allow modification of ticks in callback.\r\n\t\tticks = me.afterBuildTicks(ticks) || ticks;\r\n\r\n\t\t// Ensure ticks contains ticks in new tick format\r\n\t\tif ((!ticks || !ticks.length) && me.ticks) {\r\n\t\t\tticks = [];\r\n\t\t\tfor (i = 0, ilen = me.ticks.length; i < ilen; ++i) {\r\n\t\t\t\tticks.push({\r\n\t\t\t\t\tvalue: me.ticks[i],\r\n\t\t\t\t\tmajor: false\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tme._ticks = ticks;\r\n\r\n\t\t// Compute tick rotation and fit using a sampled subset of labels\r\n\t\t// We generally don't need to compute the size of every single label for determining scale size\r\n\t\tsamplingEnabled = sampleSize < ticks.length;\r\n\t\tlabels = me._convertTicksToLabels(samplingEnabled ? sample(ticks, sampleSize) : ticks);\r\n\r\n\t\t// _configure is called twice, once here, once from core.controller.updateLayout.\r\n\t\t// Here we haven't been positioned yet, but dimensions are correct.\r\n\t\t// Variables set in _configure are needed for calculateTickRotation, and\r\n\t\t// it's ok that coordinates are not correct there, only dimensions matter.\r\n\t\tme._configure();\r\n\r\n\t\t// Tick Rotation\r\n\t\tme.beforeCalculateTickRotation();\r\n\t\tme.calculateTickRotation();\r\n\t\tme.afterCalculateTickRotation();\r\n\r\n\t\tme.beforeFit();\r\n\t\tme.fit();\r\n\t\tme.afterFit();\r\n\r\n\t\t// Auto-skip\r\n\t\tme._ticksToDraw = tickOpts.display && (tickOpts.autoSkip || tickOpts.source === 'auto') ? me._autoSkip(ticks) : ticks;\r\n\r\n\t\tif (samplingEnabled) {\r\n\t\t\t// Generate labels using all non-skipped ticks\r\n\t\t\tlabels = me._convertTicksToLabels(me._ticksToDraw);\r\n\t\t}\r\n\r\n\t\tme.ticks = labels;   // BACKWARD COMPATIBILITY\r\n\r\n\t\t// IMPORTANT: after this point, we consider that `this.ticks` will NEVER change!\r\n\r\n\t\tme.afterUpdate();\r\n\r\n\t\t// TODO(v3): remove minSize as a public property and return value from all layout boxes. It is unused\r\n\t\t// make maxWidth and maxHeight private\r\n\t\treturn me.minSize;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_configure: function() {\r\n\t\tvar me = this;\r\n\t\tvar reversePixels = me.options.ticks.reverse;\r\n\t\tvar startPixel, endPixel;\r\n\r\n\t\tif (me.isHorizontal()) {\r\n\t\t\tstartPixel = me.left;\r\n\t\t\tendPixel = me.right;\r\n\t\t} else {\r\n\t\t\tstartPixel = me.top;\r\n\t\t\tendPixel = me.bottom;\r\n\t\t\t// by default vertical scales are from bottom to top, so pixels are reversed\r\n\t\t\treversePixels = !reversePixels;\r\n\t\t}\r\n\t\tme._startPixel = startPixel;\r\n\t\tme._endPixel = endPixel;\r\n\t\tme._reversePixels = reversePixels;\r\n\t\tme._length = endPixel - startPixel;\r\n\t},\r\n\r\n\tafterUpdate: function() {\r\n\t\thelpers$1.callback(this.options.afterUpdate, [this]);\r\n\t},\r\n\r\n\t//\r\n\r\n\tbeforeSetDimensions: function() {\r\n\t\thelpers$1.callback(this.options.beforeSetDimensions, [this]);\r\n\t},\r\n\tsetDimensions: function() {\r\n\t\tvar me = this;\r\n\t\t// Set the unconstrained dimension before label rotation\r\n\t\tif (me.isHorizontal()) {\r\n\t\t\t// Reset position before calculating rotation\r\n\t\t\tme.width = me.maxWidth;\r\n\t\t\tme.left = 0;\r\n\t\t\tme.right = me.width;\r\n\t\t} else {\r\n\t\t\tme.height = me.maxHeight;\r\n\r\n\t\t\t// Reset position before calculating rotation\r\n\t\t\tme.top = 0;\r\n\t\t\tme.bottom = me.height;\r\n\t\t}\r\n\r\n\t\t// Reset padding\r\n\t\tme.paddingLeft = 0;\r\n\t\tme.paddingTop = 0;\r\n\t\tme.paddingRight = 0;\r\n\t\tme.paddingBottom = 0;\r\n\t},\r\n\tafterSetDimensions: function() {\r\n\t\thelpers$1.callback(this.options.afterSetDimensions, [this]);\r\n\t},\r\n\r\n\t// Data limits\r\n\tbeforeDataLimits: function() {\r\n\t\thelpers$1.callback(this.options.beforeDataLimits, [this]);\r\n\t},\r\n\tdetermineDataLimits: helpers$1.noop,\r\n\tafterDataLimits: function() {\r\n\t\thelpers$1.callback(this.options.afterDataLimits, [this]);\r\n\t},\r\n\r\n\t//\r\n\tbeforeBuildTicks: function() {\r\n\t\thelpers$1.callback(this.options.beforeBuildTicks, [this]);\r\n\t},\r\n\tbuildTicks: helpers$1.noop,\r\n\tafterBuildTicks: function(ticks) {\r\n\t\tvar me = this;\r\n\t\t// ticks is empty for old axis implementations here\r\n\t\tif (isArray(ticks) && ticks.length) {\r\n\t\t\treturn helpers$1.callback(me.options.afterBuildTicks, [me, ticks]);\r\n\t\t}\r\n\t\t// Support old implementations (that modified `this.ticks` directly in buildTicks)\r\n\t\tme.ticks = helpers$1.callback(me.options.afterBuildTicks, [me, me.ticks]) || me.ticks;\r\n\t\treturn ticks;\r\n\t},\r\n\r\n\tbeforeTickToLabelConversion: function() {\r\n\t\thelpers$1.callback(this.options.beforeTickToLabelConversion, [this]);\r\n\t},\r\n\tconvertTicksToLabels: function() {\r\n\t\tvar me = this;\r\n\t\t// Convert ticks to strings\r\n\t\tvar tickOpts = me.options.ticks;\r\n\t\tme.ticks = me.ticks.map(tickOpts.userCallback || tickOpts.callback, this);\r\n\t},\r\n\tafterTickToLabelConversion: function() {\r\n\t\thelpers$1.callback(this.options.afterTickToLabelConversion, [this]);\r\n\t},\r\n\r\n\t//\r\n\r\n\tbeforeCalculateTickRotation: function() {\r\n\t\thelpers$1.callback(this.options.beforeCalculateTickRotation, [this]);\r\n\t},\r\n\tcalculateTickRotation: function() {\r\n\t\tvar me = this;\r\n\t\tvar options = me.options;\r\n\t\tvar tickOpts = options.ticks;\r\n\t\tvar numTicks = me.getTicks().length;\r\n\t\tvar minRotation = tickOpts.minRotation || 0;\r\n\t\tvar maxRotation = tickOpts.maxRotation;\r\n\t\tvar labelRotation = minRotation;\r\n\t\tvar labelSizes, maxLabelWidth, maxLabelHeight, maxWidth, tickWidth, maxHeight, maxLabelDiagonal;\r\n\r\n\t\tif (!me._isVisible() || !tickOpts.display || minRotation >= maxRotation || numTicks <= 1 || !me.isHorizontal()) {\r\n\t\t\tme.labelRotation = minRotation;\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tlabelSizes = me._getLabelSizes();\r\n\t\tmaxLabelWidth = labelSizes.widest.width;\r\n\t\tmaxLabelHeight = labelSizes.highest.height - labelSizes.highest.offset;\r\n\r\n\t\t// Estimate the width of each grid based on the canvas width, the maximum\r\n\t\t// label width and the number of tick intervals\r\n\t\tmaxWidth = Math.min(me.maxWidth, me.chart.width - maxLabelWidth);\r\n\t\ttickWidth = options.offset ? me.maxWidth / numTicks : maxWidth / (numTicks - 1);\r\n\r\n\t\t// Allow 3 pixels x2 padding either side for label readability\r\n\t\tif (maxLabelWidth + 6 > tickWidth) {\r\n\t\t\ttickWidth = maxWidth / (numTicks - (options.offset ? 0.5 : 1));\r\n\t\t\tmaxHeight = me.maxHeight - getTickMarkLength(options.gridLines)\r\n\t\t\t\t- tickOpts.padding - getScaleLabelHeight(options.scaleLabel);\r\n\t\t\tmaxLabelDiagonal = Math.sqrt(maxLabelWidth * maxLabelWidth + maxLabelHeight * maxLabelHeight);\r\n\t\t\tlabelRotation = helpers$1.toDegrees(Math.min(\r\n\t\t\t\tMath.asin(Math.min((labelSizes.highest.height + 6) / tickWidth, 1)),\r\n\t\t\t\tMath.asin(Math.min(maxHeight / maxLabelDiagonal, 1)) - Math.asin(maxLabelHeight / maxLabelDiagonal)\r\n\t\t\t));\r\n\t\t\tlabelRotation = Math.max(minRotation, Math.min(maxRotation, labelRotation));\r\n\t\t}\r\n\r\n\t\tme.labelRotation = labelRotation;\r\n\t},\r\n\tafterCalculateTickRotation: function() {\r\n\t\thelpers$1.callback(this.options.afterCalculateTickRotation, [this]);\r\n\t},\r\n\r\n\t//\r\n\r\n\tbeforeFit: function() {\r\n\t\thelpers$1.callback(this.options.beforeFit, [this]);\r\n\t},\r\n\tfit: function() {\r\n\t\tvar me = this;\r\n\t\t// Reset\r\n\t\tvar minSize = me.minSize = {\r\n\t\t\twidth: 0,\r\n\t\t\theight: 0\r\n\t\t};\r\n\r\n\t\tvar chart = me.chart;\r\n\t\tvar opts = me.options;\r\n\t\tvar tickOpts = opts.ticks;\r\n\t\tvar scaleLabelOpts = opts.scaleLabel;\r\n\t\tvar gridLineOpts = opts.gridLines;\r\n\t\tvar display = me._isVisible();\r\n\t\tvar isBottom = opts.position === 'bottom';\r\n\t\tvar isHorizontal = me.isHorizontal();\r\n\r\n\t\t// Width\r\n\t\tif (isHorizontal) {\r\n\t\t\tminSize.width = me.maxWidth;\r\n\t\t} else if (display) {\r\n\t\t\tminSize.width = getTickMarkLength(gridLineOpts) + getScaleLabelHeight(scaleLabelOpts);\r\n\t\t}\r\n\r\n\t\t// height\r\n\t\tif (!isHorizontal) {\r\n\t\t\tminSize.height = me.maxHeight; // fill all the height\r\n\t\t} else if (display) {\r\n\t\t\tminSize.height = getTickMarkLength(gridLineOpts) + getScaleLabelHeight(scaleLabelOpts);\r\n\t\t}\r\n\r\n\t\t// Don't bother fitting the ticks if we are not showing the labels\r\n\t\tif (tickOpts.display && display) {\r\n\t\t\tvar tickFonts = parseTickFontOptions(tickOpts);\r\n\t\t\tvar labelSizes = me._getLabelSizes();\r\n\t\t\tvar firstLabelSize = labelSizes.first;\r\n\t\t\tvar lastLabelSize = labelSizes.last;\r\n\t\t\tvar widestLabelSize = labelSizes.widest;\r\n\t\t\tvar highestLabelSize = labelSizes.highest;\r\n\t\t\tvar lineSpace = tickFonts.minor.lineHeight * 0.4;\r\n\t\t\tvar tickPadding = tickOpts.padding;\r\n\r\n\t\t\tif (isHorizontal) {\r\n\t\t\t\t// A horizontal axis is more constrained by the height.\r\n\t\t\t\tvar isRotated = me.labelRotation !== 0;\r\n\t\t\t\tvar angleRadians = helpers$1.toRadians(me.labelRotation);\r\n\t\t\t\tvar cosRotation = Math.cos(angleRadians);\r\n\t\t\t\tvar sinRotation = Math.sin(angleRadians);\r\n\r\n\t\t\t\tvar labelHeight = sinRotation * widestLabelSize.width\r\n\t\t\t\t\t+ cosRotation * (highestLabelSize.height - (isRotated ? highestLabelSize.offset : 0))\r\n\t\t\t\t\t+ (isRotated ? 0 : lineSpace); // padding\r\n\r\n\t\t\t\tminSize.height = Math.min(me.maxHeight, minSize.height + labelHeight + tickPadding);\r\n\r\n\t\t\t\tvar offsetLeft = me.getPixelForTick(0) - me.left;\r\n\t\t\t\tvar offsetRight = me.right - me.getPixelForTick(me.getTicks().length - 1);\r\n\t\t\t\tvar paddingLeft, paddingRight;\r\n\r\n\t\t\t\t// Ensure that our ticks are always inside the canvas. When rotated, ticks are right aligned\r\n\t\t\t\t// which means that the right padding is dominated by the font height\r\n\t\t\t\tif (isRotated) {\r\n\t\t\t\t\tpaddingLeft = isBottom ?\r\n\t\t\t\t\t\tcosRotation * firstLabelSize.width + sinRotation * firstLabelSize.offset :\r\n\t\t\t\t\t\tsinRotation * (firstLabelSize.height - firstLabelSize.offset);\r\n\t\t\t\t\tpaddingRight = isBottom ?\r\n\t\t\t\t\t\tsinRotation * (lastLabelSize.height - lastLabelSize.offset) :\r\n\t\t\t\t\t\tcosRotation * lastLabelSize.width + sinRotation * lastLabelSize.offset;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tpaddingLeft = firstLabelSize.width / 2;\r\n\t\t\t\t\tpaddingRight = lastLabelSize.width / 2;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// Adjust padding taking into account changes in offsets\r\n\t\t\t\t// and add 3 px to move away from canvas edges\r\n\t\t\t\tme.paddingLeft = Math.max((paddingLeft - offsetLeft) * me.width / (me.width - offsetLeft), 0) + 3;\r\n\t\t\t\tme.paddingRight = Math.max((paddingRight - offsetRight) * me.width / (me.width - offsetRight), 0) + 3;\r\n\t\t\t} else {\r\n\t\t\t\t// A vertical axis is more constrained by the width. Labels are the\r\n\t\t\t\t// dominant factor here, so get that length first and account for padding\r\n\t\t\t\tvar labelWidth = tickOpts.mirror ? 0 :\r\n\t\t\t\t\t// use lineSpace for consistency with horizontal axis\r\n\t\t\t\t\t// tickPadding is not implemented for horizontal\r\n\t\t\t\t\twidestLabelSize.width + tickPadding + lineSpace;\r\n\r\n\t\t\t\tminSize.width = Math.min(me.maxWidth, minSize.width + labelWidth);\r\n\r\n\t\t\t\tme.paddingTop = firstLabelSize.height / 2;\r\n\t\t\t\tme.paddingBottom = lastLabelSize.height / 2;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tme.handleMargins();\r\n\r\n\t\tif (isHorizontal) {\r\n\t\t\tme.width = me._length = chart.width - me.margins.left - me.margins.right;\r\n\t\t\tme.height = minSize.height;\r\n\t\t} else {\r\n\t\t\tme.width = minSize.width;\r\n\t\t\tme.height = me._length = chart.height - me.margins.top - me.margins.bottom;\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * Handle margins and padding interactions\r\n\t * @private\r\n\t */\r\n\thandleMargins: function() {\r\n\t\tvar me = this;\r\n\t\tif (me.margins) {\r\n\t\t\tme.margins.left = Math.max(me.paddingLeft, me.margins.left);\r\n\t\t\tme.margins.top = Math.max(me.paddingTop, me.margins.top);\r\n\t\t\tme.margins.right = Math.max(me.paddingRight, me.margins.right);\r\n\t\t\tme.margins.bottom = Math.max(me.paddingBottom, me.margins.bottom);\r\n\t\t}\r\n\t},\r\n\r\n\tafterFit: function() {\r\n\t\thelpers$1.callback(this.options.afterFit, [this]);\r\n\t},\r\n\r\n\t// Shared Methods\r\n\tisHorizontal: function() {\r\n\t\tvar pos = this.options.position;\r\n\t\treturn pos === 'top' || pos === 'bottom';\r\n\t},\r\n\tisFullWidth: function() {\r\n\t\treturn this.options.fullWidth;\r\n\t},\r\n\r\n\t// Get the correct value. NaN bad inputs, If the value type is object get the x or y based on whether we are horizontal or not\r\n\tgetRightValue: function(rawValue) {\r\n\t\t// Null and undefined values first\r\n\t\tif (isNullOrUndef(rawValue)) {\r\n\t\t\treturn NaN;\r\n\t\t}\r\n\t\t// isNaN(object) returns true, so make sure NaN is checking for a number; Discard Infinite values\r\n\t\tif ((typeof rawValue === 'number' || rawValue instanceof Number) && !isFinite(rawValue)) {\r\n\t\t\treturn NaN;\r\n\t\t}\r\n\r\n\t\t// If it is in fact an object, dive in one more level\r\n\t\tif (rawValue) {\r\n\t\t\tif (this.isHorizontal()) {\r\n\t\t\t\tif (rawValue.x !== undefined) {\r\n\t\t\t\t\treturn this.getRightValue(rawValue.x);\r\n\t\t\t\t}\r\n\t\t\t} else if (rawValue.y !== undefined) {\r\n\t\t\t\treturn this.getRightValue(rawValue.y);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\t// Value is good, return it\r\n\t\treturn rawValue;\r\n\t},\r\n\r\n\t_convertTicksToLabels: function(ticks) {\r\n\t\tvar me = this;\r\n\t\tvar labels, i, ilen;\r\n\r\n\t\tme.ticks = ticks.map(function(tick) {\r\n\t\t\treturn tick.value;\r\n\t\t});\r\n\r\n\t\tme.beforeTickToLabelConversion();\r\n\r\n\t\t// New implementations should return the formatted tick labels but for BACKWARD\r\n\t\t// COMPAT, we still support no return (`this.ticks` internally changed by calling\r\n\t\t// this method and supposed to contain only string values).\r\n\t\tlabels = me.convertTicksToLabels(ticks) || me.ticks;\r\n\r\n\t\tme.afterTickToLabelConversion();\r\n\r\n\t\t// BACKWARD COMPAT: synchronize `_ticks` with labels (so potentially `this.ticks`)\r\n\t\tfor (i = 0, ilen = ticks.length; i < ilen; ++i) {\r\n\t\t\tticks[i].label = labels[i];\r\n\t\t}\r\n\r\n\t\treturn labels;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getLabelSizes: function() {\r\n\t\tvar me = this;\r\n\t\tvar labelSizes = me._labelSizes;\r\n\r\n\t\tif (!labelSizes) {\r\n\t\t\tme._labelSizes = labelSizes = computeLabelSizes(me.ctx, parseTickFontOptions(me.options.ticks), me.getTicks(), me.longestTextCache);\r\n\t\t\tme.longestLabelWidth = labelSizes.widest.width;\r\n\t\t}\r\n\r\n\t\treturn labelSizes;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_parseValue: function(value) {\r\n\t\tvar start, end, min, max;\r\n\r\n\t\tif (isArray(value)) {\r\n\t\t\tstart = +this.getRightValue(value[0]);\r\n\t\t\tend = +this.getRightValue(value[1]);\r\n\t\t\tmin = Math.min(start, end);\r\n\t\t\tmax = Math.max(start, end);\r\n\t\t} else {\r\n\t\t\tvalue = +this.getRightValue(value);\r\n\t\t\tstart = undefined;\r\n\t\t\tend = value;\r\n\t\t\tmin = value;\r\n\t\t\tmax = value;\r\n\t\t}\r\n\r\n\t\treturn {\r\n\t\t\tmin: min,\r\n\t\t\tmax: max,\r\n\t\t\tstart: start,\r\n\t\t\tend: end\r\n\t\t};\r\n\t},\r\n\r\n\t/**\r\n\t* @private\r\n\t*/\r\n\t_getScaleLabel: function(rawValue) {\r\n\t\tvar v = this._parseValue(rawValue);\r\n\t\tif (v.start !== undefined) {\r\n\t\t\treturn '[' + v.start + ', ' + v.end + ']';\r\n\t\t}\r\n\r\n\t\treturn +this.getRightValue(rawValue);\r\n\t},\r\n\r\n\t/**\r\n\t * Used to get the value to display in the tooltip for the data at the given index\r\n\t * @param index\r\n\t * @param datasetIndex\r\n\t */\r\n\tgetLabelForIndex: helpers$1.noop,\r\n\r\n\t/**\r\n\t * Returns the location of the given data point. Value can either be an index or a numerical value\r\n\t * The coordinate (0, 0) is at the upper-left corner of the canvas\r\n\t * @param value\r\n\t * @param index\r\n\t * @param datasetIndex\r\n\t */\r\n\tgetPixelForValue: helpers$1.noop,\r\n\r\n\t/**\r\n\t * Used to get the data value from a given pixel. This is the inverse of getPixelForValue\r\n\t * The coordinate (0, 0) is at the upper-left corner of the canvas\r\n\t * @param pixel\r\n\t */\r\n\tgetValueForPixel: helpers$1.noop,\r\n\r\n\t/**\r\n\t * Returns the location of the tick at the given index\r\n\t * The coordinate (0, 0) is at the upper-left corner of the canvas\r\n\t */\r\n\tgetPixelForTick: function(index) {\r\n\t\tvar me = this;\r\n\t\tvar offset = me.options.offset;\r\n\t\tvar numTicks = me._ticks.length;\r\n\t\tvar tickWidth = 1 / Math.max(numTicks - (offset ? 0 : 1), 1);\r\n\r\n\t\treturn index < 0 || index > numTicks - 1\r\n\t\t\t? null\r\n\t\t\t: me.getPixelForDecimal(index * tickWidth + (offset ? tickWidth / 2 : 0));\r\n\t},\r\n\r\n\t/**\r\n\t * Utility for getting the pixel location of a percentage of scale\r\n\t * The coordinate (0, 0) is at the upper-left corner of the canvas\r\n\t */\r\n\tgetPixelForDecimal: function(decimal) {\r\n\t\tvar me = this;\r\n\r\n\t\tif (me._reversePixels) {\r\n\t\t\tdecimal = 1 - decimal;\r\n\t\t}\r\n\r\n\t\treturn me._startPixel + decimal * me._length;\r\n\t},\r\n\r\n\tgetDecimalForPixel: function(pixel) {\r\n\t\tvar decimal = (pixel - this._startPixel) / this._length;\r\n\t\treturn this._reversePixels ? 1 - decimal : decimal;\r\n\t},\r\n\r\n\t/**\r\n\t * Returns the pixel for the minimum chart value\r\n\t * The coordinate (0, 0) is at the upper-left corner of the canvas\r\n\t */\r\n\tgetBasePixel: function() {\r\n\t\treturn this.getPixelForValue(this.getBaseValue());\r\n\t},\r\n\r\n\tgetBaseValue: function() {\r\n\t\tvar me = this;\r\n\t\tvar min = me.min;\r\n\t\tvar max = me.max;\r\n\r\n\t\treturn me.beginAtZero ? 0 :\r\n\t\t\tmin < 0 && max < 0 ? max :\r\n\t\t\tmin > 0 && max > 0 ? min :\r\n\t\t\t0;\r\n\t},\r\n\r\n\t/**\r\n\t * Returns a subset of ticks to be plotted to avoid overlapping labels.\r\n\t * @private\r\n\t */\r\n\t_autoSkip: function(ticks) {\r\n\t\tvar me = this;\r\n\t\tvar tickOpts = me.options.ticks;\r\n\t\tvar axisLength = me._length;\r\n\t\tvar ticksLimit = tickOpts.maxTicksLimit || axisLength / me._tickSize() + 1;\r\n\t\tvar majorIndices = tickOpts.major.enabled ? getMajorIndices(ticks) : [];\r\n\t\tvar numMajorIndices = majorIndices.length;\r\n\t\tvar first = majorIndices[0];\r\n\t\tvar last = majorIndices[numMajorIndices - 1];\r\n\t\tvar i, ilen, spacing, avgMajorSpacing;\r\n\r\n\t\t// If there are too many major ticks to display them all\r\n\t\tif (numMajorIndices > ticksLimit) {\r\n\t\t\tskipMajors(ticks, majorIndices, numMajorIndices / ticksLimit);\r\n\t\t\treturn nonSkipped(ticks);\r\n\t\t}\r\n\r\n\t\tspacing = calculateSpacing(majorIndices, ticks, axisLength, ticksLimit);\r\n\r\n\t\tif (numMajorIndices > 0) {\r\n\t\t\tfor (i = 0, ilen = numMajorIndices - 1; i < ilen; i++) {\r\n\t\t\t\tskip(ticks, spacing, majorIndices[i], majorIndices[i + 1]);\r\n\t\t\t}\r\n\t\t\tavgMajorSpacing = numMajorIndices > 1 ? (last - first) / (numMajorIndices - 1) : null;\r\n\t\t\tskip(ticks, spacing, helpers$1.isNullOrUndef(avgMajorSpacing) ? 0 : first - avgMajorSpacing, first);\r\n\t\t\tskip(ticks, spacing, last, helpers$1.isNullOrUndef(avgMajorSpacing) ? ticks.length : last + avgMajorSpacing);\r\n\t\t\treturn nonSkipped(ticks);\r\n\t\t}\r\n\t\tskip(ticks, spacing);\r\n\t\treturn nonSkipped(ticks);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_tickSize: function() {\r\n\t\tvar me = this;\r\n\t\tvar optionTicks = me.options.ticks;\r\n\r\n\t\t// Calculate space needed by label in axis direction.\r\n\t\tvar rot = helpers$1.toRadians(me.labelRotation);\r\n\t\tvar cos = Math.abs(Math.cos(rot));\r\n\t\tvar sin = Math.abs(Math.sin(rot));\r\n\r\n\t\tvar labelSizes = me._getLabelSizes();\r\n\t\tvar padding = optionTicks.autoSkipPadding || 0;\r\n\t\tvar w = labelSizes ? labelSizes.widest.width + padding : 0;\r\n\t\tvar h = labelSizes ? labelSizes.highest.height + padding : 0;\r\n\r\n\t\t// Calculate space needed for 1 tick in axis direction.\r\n\t\treturn me.isHorizontal()\r\n\t\t\t? h * cos > w * sin ? w / cos : h / sin\r\n\t\t\t: h * sin < w * cos ? h / cos : w / sin;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_isVisible: function() {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar display = me.options.display;\r\n\t\tvar i, ilen, meta;\r\n\r\n\t\tif (display !== 'auto') {\r\n\t\t\treturn !!display;\r\n\t\t}\r\n\r\n\t\t// When 'auto', the scale is visible if at least one associated dataset is visible.\r\n\t\tfor (i = 0, ilen = chart.data.datasets.length; i < ilen; ++i) {\r\n\t\t\tif (chart.isDatasetVisible(i)) {\r\n\t\t\t\tmeta = chart.getDatasetMeta(i);\r\n\t\t\t\tif (meta.xAxisID === me.id || meta.yAxisID === me.id) {\r\n\t\t\t\t\treturn true;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn false;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_computeGridLineItems: function(chartArea) {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar options = me.options;\r\n\t\tvar gridLines = options.gridLines;\r\n\t\tvar position = options.position;\r\n\t\tvar offsetGridLines = gridLines.offsetGridLines;\r\n\t\tvar isHorizontal = me.isHorizontal();\r\n\t\tvar ticks = me._ticksToDraw;\r\n\t\tvar ticksLength = ticks.length + (offsetGridLines ? 1 : 0);\r\n\r\n\t\tvar tl = getTickMarkLength(gridLines);\r\n\t\tvar items = [];\r\n\t\tvar axisWidth = gridLines.drawBorder ? valueAtIndexOrDefault(gridLines.lineWidth, 0, 0) : 0;\r\n\t\tvar axisHalfWidth = axisWidth / 2;\r\n\t\tvar alignPixel = helpers$1._alignPixel;\r\n\t\tvar alignBorderValue = function(pixel) {\r\n\t\t\treturn alignPixel(chart, pixel, axisWidth);\r\n\t\t};\r\n\t\tvar borderValue, i, tick, lineValue, alignedLineValue;\r\n\t\tvar tx1, ty1, tx2, ty2, x1, y1, x2, y2, lineWidth, lineColor, borderDash, borderDashOffset;\r\n\r\n\t\tif (position === 'top') {\r\n\t\t\tborderValue = alignBorderValue(me.bottom);\r\n\t\t\tty1 = me.bottom - tl;\r\n\t\t\tty2 = borderValue - axisHalfWidth;\r\n\t\t\ty1 = alignBorderValue(chartArea.top) + axisHalfWidth;\r\n\t\t\ty2 = chartArea.bottom;\r\n\t\t} else if (position === 'bottom') {\r\n\t\t\tborderValue = alignBorderValue(me.top);\r\n\t\t\ty1 = chartArea.top;\r\n\t\t\ty2 = alignBorderValue(chartArea.bottom) - axisHalfWidth;\r\n\t\t\tty1 = borderValue + axisHalfWidth;\r\n\t\t\tty2 = me.top + tl;\r\n\t\t} else if (position === 'left') {\r\n\t\t\tborderValue = alignBorderValue(me.right);\r\n\t\t\ttx1 = me.right - tl;\r\n\t\t\ttx2 = borderValue - axisHalfWidth;\r\n\t\t\tx1 = alignBorderValue(chartArea.left) + axisHalfWidth;\r\n\t\t\tx2 = chartArea.right;\r\n\t\t} else {\r\n\t\t\tborderValue = alignBorderValue(me.left);\r\n\t\t\tx1 = chartArea.left;\r\n\t\t\tx2 = alignBorderValue(chartArea.right) - axisHalfWidth;\r\n\t\t\ttx1 = borderValue + axisHalfWidth;\r\n\t\t\ttx2 = me.left + tl;\r\n\t\t}\r\n\r\n\t\tfor (i = 0; i < ticksLength; ++i) {\r\n\t\t\ttick = ticks[i] || {};\r\n\r\n\t\t\t// autoskipper skipped this tick (#4635)\r\n\t\t\tif (isNullOrUndef(tick.label) && i < ticks.length) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\tif (i === me.zeroLineIndex && options.offset === offsetGridLines) {\r\n\t\t\t\t// Draw the first index specially\r\n\t\t\t\tlineWidth = gridLines.zeroLineWidth;\r\n\t\t\t\tlineColor = gridLines.zeroLineColor;\r\n\t\t\t\tborderDash = gridLines.zeroLineBorderDash || [];\r\n\t\t\t\tborderDashOffset = gridLines.zeroLineBorderDashOffset || 0.0;\r\n\t\t\t} else {\r\n\t\t\t\tlineWidth = valueAtIndexOrDefault(gridLines.lineWidth, i, 1);\r\n\t\t\t\tlineColor = valueAtIndexOrDefault(gridLines.color, i, 'rgba(0,0,0,0.1)');\r\n\t\t\t\tborderDash = gridLines.borderDash || [];\r\n\t\t\t\tborderDashOffset = gridLines.borderDashOffset || 0.0;\r\n\t\t\t}\r\n\r\n\t\t\tlineValue = getPixelForGridLine(me, tick._index || i, offsetGridLines);\r\n\r\n\t\t\t// Skip if the pixel is out of the range\r\n\t\t\tif (lineValue === undefined) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\talignedLineValue = alignPixel(chart, lineValue, lineWidth);\r\n\r\n\t\t\tif (isHorizontal) {\r\n\t\t\t\ttx1 = tx2 = x1 = x2 = alignedLineValue;\r\n\t\t\t} else {\r\n\t\t\t\tty1 = ty2 = y1 = y2 = alignedLineValue;\r\n\t\t\t}\r\n\r\n\t\t\titems.push({\r\n\t\t\t\ttx1: tx1,\r\n\t\t\t\tty1: ty1,\r\n\t\t\t\ttx2: tx2,\r\n\t\t\t\tty2: ty2,\r\n\t\t\t\tx1: x1,\r\n\t\t\t\ty1: y1,\r\n\t\t\t\tx2: x2,\r\n\t\t\t\ty2: y2,\r\n\t\t\t\twidth: lineWidth,\r\n\t\t\t\tcolor: lineColor,\r\n\t\t\t\tborderDash: borderDash,\r\n\t\t\t\tborderDashOffset: borderDashOffset,\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\titems.ticksLength = ticksLength;\r\n\t\titems.borderValue = borderValue;\r\n\r\n\t\treturn items;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_computeLabelItems: function() {\r\n\t\tvar me = this;\r\n\t\tvar options = me.options;\r\n\t\tvar optionTicks = options.ticks;\r\n\t\tvar position = options.position;\r\n\t\tvar isMirrored = optionTicks.mirror;\r\n\t\tvar isHorizontal = me.isHorizontal();\r\n\t\tvar ticks = me._ticksToDraw;\r\n\t\tvar fonts = parseTickFontOptions(optionTicks);\r\n\t\tvar tickPadding = optionTicks.padding;\r\n\t\tvar tl = getTickMarkLength(options.gridLines);\r\n\t\tvar rotation = -helpers$1.toRadians(me.labelRotation);\r\n\t\tvar items = [];\r\n\t\tvar i, ilen, tick, label, x, y, textAlign, pixel, font, lineHeight, lineCount, textOffset;\r\n\r\n\t\tif (position === 'top') {\r\n\t\t\ty = me.bottom - tl - tickPadding;\r\n\t\t\ttextAlign = !rotation ? 'center' : 'left';\r\n\t\t} else if (position === 'bottom') {\r\n\t\t\ty = me.top + tl + tickPadding;\r\n\t\t\ttextAlign = !rotation ? 'center' : 'right';\r\n\t\t} else if (position === 'left') {\r\n\t\t\tx = me.right - (isMirrored ? 0 : tl) - tickPadding;\r\n\t\t\ttextAlign = isMirrored ? 'left' : 'right';\r\n\t\t} else {\r\n\t\t\tx = me.left + (isMirrored ? 0 : tl) + tickPadding;\r\n\t\t\ttextAlign = isMirrored ? 'right' : 'left';\r\n\t\t}\r\n\r\n\t\tfor (i = 0, ilen = ticks.length; i < ilen; ++i) {\r\n\t\t\ttick = ticks[i];\r\n\t\t\tlabel = tick.label;\r\n\r\n\t\t\t// autoskipper skipped this tick (#4635)\r\n\t\t\tif (isNullOrUndef(label)) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\tpixel = me.getPixelForTick(tick._index || i) + optionTicks.labelOffset;\r\n\t\t\tfont = tick.major ? fonts.major : fonts.minor;\r\n\t\t\tlineHeight = font.lineHeight;\r\n\t\t\tlineCount = isArray(label) ? label.length : 1;\r\n\r\n\t\t\tif (isHorizontal) {\r\n\t\t\t\tx = pixel;\r\n\t\t\t\ttextOffset = position === 'top'\r\n\t\t\t\t\t? ((!rotation ? 0.5 : 1) - lineCount) * lineHeight\r\n\t\t\t\t\t: (!rotation ? 0.5 : 0) * lineHeight;\r\n\t\t\t} else {\r\n\t\t\t\ty = pixel;\r\n\t\t\t\ttextOffset = (1 - lineCount) * lineHeight / 2;\r\n\t\t\t}\r\n\r\n\t\t\titems.push({\r\n\t\t\t\tx: x,\r\n\t\t\t\ty: y,\r\n\t\t\t\trotation: rotation,\r\n\t\t\t\tlabel: label,\r\n\t\t\t\tfont: font,\r\n\t\t\t\ttextOffset: textOffset,\r\n\t\t\t\ttextAlign: textAlign\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\treturn items;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_drawGrid: function(chartArea) {\r\n\t\tvar me = this;\r\n\t\tvar gridLines = me.options.gridLines;\r\n\r\n\t\tif (!gridLines.display) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar ctx = me.ctx;\r\n\t\tvar chart = me.chart;\r\n\t\tvar alignPixel = helpers$1._alignPixel;\r\n\t\tvar axisWidth = gridLines.drawBorder ? valueAtIndexOrDefault(gridLines.lineWidth, 0, 0) : 0;\r\n\t\tvar items = me._gridLineItems || (me._gridLineItems = me._computeGridLineItems(chartArea));\r\n\t\tvar width, color, i, ilen, item;\r\n\r\n\t\tfor (i = 0, ilen = items.length; i < ilen; ++i) {\r\n\t\t\titem = items[i];\r\n\t\t\twidth = item.width;\r\n\t\t\tcolor = item.color;\r\n\r\n\t\t\tif (width && color) {\r\n\t\t\t\tctx.save();\r\n\t\t\t\tctx.lineWidth = width;\r\n\t\t\t\tctx.strokeStyle = color;\r\n\t\t\t\tif (ctx.setLineDash) {\r\n\t\t\t\t\tctx.setLineDash(item.borderDash);\r\n\t\t\t\t\tctx.lineDashOffset = item.borderDashOffset;\r\n\t\t\t\t}\r\n\r\n\t\t\t\tctx.beginPath();\r\n\r\n\t\t\t\tif (gridLines.drawTicks) {\r\n\t\t\t\t\tctx.moveTo(item.tx1, item.ty1);\r\n\t\t\t\t\tctx.lineTo(item.tx2, item.ty2);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tif (gridLines.drawOnChartArea) {\r\n\t\t\t\t\tctx.moveTo(item.x1, item.y1);\r\n\t\t\t\t\tctx.lineTo(item.x2, item.y2);\r\n\t\t\t\t}\r\n\r\n\t\t\t\tctx.stroke();\r\n\t\t\t\tctx.restore();\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (axisWidth) {\r\n\t\t\t// Draw the line at the edge of the axis\r\n\t\t\tvar firstLineWidth = axisWidth;\r\n\t\t\tvar lastLineWidth = valueAtIndexOrDefault(gridLines.lineWidth, items.ticksLength - 1, 1);\r\n\t\t\tvar borderValue = items.borderValue;\r\n\t\t\tvar x1, x2, y1, y2;\r\n\r\n\t\t\tif (me.isHorizontal()) {\r\n\t\t\t\tx1 = alignPixel(chart, me.left, firstLineWidth) - firstLineWidth / 2;\r\n\t\t\t\tx2 = alignPixel(chart, me.right, lastLineWidth) + lastLineWidth / 2;\r\n\t\t\t\ty1 = y2 = borderValue;\r\n\t\t\t} else {\r\n\t\t\t\ty1 = alignPixel(chart, me.top, firstLineWidth) - firstLineWidth / 2;\r\n\t\t\t\ty2 = alignPixel(chart, me.bottom, lastLineWidth) + lastLineWidth / 2;\r\n\t\t\t\tx1 = x2 = borderValue;\r\n\t\t\t}\r\n\r\n\t\t\tctx.lineWidth = axisWidth;\r\n\t\t\tctx.strokeStyle = valueAtIndexOrDefault(gridLines.color, 0);\r\n\t\t\tctx.beginPath();\r\n\t\t\tctx.moveTo(x1, y1);\r\n\t\t\tctx.lineTo(x2, y2);\r\n\t\t\tctx.stroke();\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_drawLabels: function() {\r\n\t\tvar me = this;\r\n\t\tvar optionTicks = me.options.ticks;\r\n\r\n\t\tif (!optionTicks.display) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar ctx = me.ctx;\r\n\t\tvar items = me._labelItems || (me._labelItems = me._computeLabelItems());\r\n\t\tvar i, j, ilen, jlen, item, tickFont, label, y;\r\n\r\n\t\tfor (i = 0, ilen = items.length; i < ilen; ++i) {\r\n\t\t\titem = items[i];\r\n\t\t\ttickFont = item.font;\r\n\r\n\t\t\t// Make sure we draw text in the correct color and font\r\n\t\t\tctx.save();\r\n\t\t\tctx.translate(item.x, item.y);\r\n\t\t\tctx.rotate(item.rotation);\r\n\t\t\tctx.font = tickFont.string;\r\n\t\t\tctx.fillStyle = tickFont.color;\r\n\t\t\tctx.textBaseline = 'middle';\r\n\t\t\tctx.textAlign = item.textAlign;\r\n\r\n\t\t\tlabel = item.label;\r\n\t\t\ty = item.textOffset;\r\n\t\t\tif (isArray(label)) {\r\n\t\t\t\tfor (j = 0, jlen = label.length; j < jlen; ++j) {\r\n\t\t\t\t\t// We just make sure the multiline element is a string here..\r\n\t\t\t\t\tctx.fillText('' + label[j], 0, y);\r\n\t\t\t\t\ty += tickFont.lineHeight;\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tctx.fillText(label, 0, y);\r\n\t\t\t}\r\n\t\t\tctx.restore();\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_drawTitle: function() {\r\n\t\tvar me = this;\r\n\t\tvar ctx = me.ctx;\r\n\t\tvar options = me.options;\r\n\t\tvar scaleLabel = options.scaleLabel;\r\n\r\n\t\tif (!scaleLabel.display) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar scaleLabelFontColor = valueOrDefault$a(scaleLabel.fontColor, core_defaults.global.defaultFontColor);\r\n\t\tvar scaleLabelFont = helpers$1.options._parseFont(scaleLabel);\r\n\t\tvar scaleLabelPadding = helpers$1.options.toPadding(scaleLabel.padding);\r\n\t\tvar halfLineHeight = scaleLabelFont.lineHeight / 2;\r\n\t\tvar position = options.position;\r\n\t\tvar rotation = 0;\r\n\t\tvar scaleLabelX, scaleLabelY;\r\n\r\n\t\tif (me.isHorizontal()) {\r\n\t\t\tscaleLabelX = me.left + me.width / 2; // midpoint of the width\r\n\t\t\tscaleLabelY = position === 'bottom'\r\n\t\t\t\t? me.bottom - halfLineHeight - scaleLabelPadding.bottom\r\n\t\t\t\t: me.top + halfLineHeight + scaleLabelPadding.top;\r\n\t\t} else {\r\n\t\t\tvar isLeft = position === 'left';\r\n\t\t\tscaleLabelX = isLeft\r\n\t\t\t\t? me.left + halfLineHeight + scaleLabelPadding.top\r\n\t\t\t\t: me.right - halfLineHeight - scaleLabelPadding.top;\r\n\t\t\tscaleLabelY = me.top + me.height / 2;\r\n\t\t\trotation = isLeft ? -0.5 * Math.PI : 0.5 * Math.PI;\r\n\t\t}\r\n\r\n\t\tctx.save();\r\n\t\tctx.translate(scaleLabelX, scaleLabelY);\r\n\t\tctx.rotate(rotation);\r\n\t\tctx.textAlign = 'center';\r\n\t\tctx.textBaseline = 'middle';\r\n\t\tctx.fillStyle = scaleLabelFontColor; // render in correct colour\r\n\t\tctx.font = scaleLabelFont.string;\r\n\t\tctx.fillText(scaleLabel.labelString, 0, 0);\r\n\t\tctx.restore();\r\n\t},\r\n\r\n\tdraw: function(chartArea) {\r\n\t\tvar me = this;\r\n\r\n\t\tif (!me._isVisible()) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tme._drawGrid(chartArea);\r\n\t\tme._drawTitle();\r\n\t\tme._drawLabels();\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_layers: function() {\r\n\t\tvar me = this;\r\n\t\tvar opts = me.options;\r\n\t\tvar tz = opts.ticks && opts.ticks.z || 0;\r\n\t\tvar gz = opts.gridLines && opts.gridLines.z || 0;\r\n\r\n\t\tif (!me._isVisible() || tz === gz || me.draw !== me._draw) {\r\n\t\t\t// backward compatibility: draw has been overridden by custom scale\r\n\t\t\treturn [{\r\n\t\t\t\tz: tz,\r\n\t\t\t\tdraw: function() {\r\n\t\t\t\t\tme.draw.apply(me, arguments);\r\n\t\t\t\t}\r\n\t\t\t}];\r\n\t\t}\r\n\r\n\t\treturn [{\r\n\t\t\tz: gz,\r\n\t\t\tdraw: function() {\r\n\t\t\t\tme._drawGrid.apply(me, arguments);\r\n\t\t\t\tme._drawTitle.apply(me, arguments);\r\n\t\t\t}\r\n\t\t}, {\r\n\t\t\tz: tz,\r\n\t\t\tdraw: function() {\r\n\t\t\t\tme._drawLabels.apply(me, arguments);\r\n\t\t\t}\r\n\t\t}];\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getMatchingVisibleMetas: function(type) {\r\n\t\tvar me = this;\r\n\t\tvar isHorizontal = me.isHorizontal();\r\n\t\treturn me.chart._getSortedVisibleDatasetMetas()\r\n\t\t\t.filter(function(meta) {\r\n\t\t\t\treturn (!type || meta.type === type)\r\n\t\t\t\t\t&& (isHorizontal ? meta.xAxisID === me.id : meta.yAxisID === me.id);\r\n\t\t\t});\r\n\t}\r\n});\r\n\r\nScale.prototype._draw = Scale.prototype.draw;\r\n\r\nvar core_scale = Scale;\n\nvar isNullOrUndef$1 = helpers$1.isNullOrUndef;\r\n\r\nvar defaultConfig = {\r\n\tposition: 'bottom'\r\n};\r\n\r\nvar scale_category = core_scale.extend({\r\n\tdetermineDataLimits: function() {\r\n\t\tvar me = this;\r\n\t\tvar labels = me._getLabels();\r\n\t\tvar ticksOpts = me.options.ticks;\r\n\t\tvar min = ticksOpts.min;\r\n\t\tvar max = ticksOpts.max;\r\n\t\tvar minIndex = 0;\r\n\t\tvar maxIndex = labels.length - 1;\r\n\t\tvar findIndex;\r\n\r\n\t\tif (min !== undefined) {\r\n\t\t\t// user specified min value\r\n\t\t\tfindIndex = labels.indexOf(min);\r\n\t\t\tif (findIndex >= 0) {\r\n\t\t\t\tminIndex = findIndex;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (max !== undefined) {\r\n\t\t\t// user specified max value\r\n\t\t\tfindIndex = labels.indexOf(max);\r\n\t\t\tif (findIndex >= 0) {\r\n\t\t\t\tmaxIndex = findIndex;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tme.minIndex = minIndex;\r\n\t\tme.maxIndex = maxIndex;\r\n\t\tme.min = labels[minIndex];\r\n\t\tme.max = labels[maxIndex];\r\n\t},\r\n\r\n\tbuildTicks: function() {\r\n\t\tvar me = this;\r\n\t\tvar labels = me._getLabels();\r\n\t\tvar minIndex = me.minIndex;\r\n\t\tvar maxIndex = me.maxIndex;\r\n\r\n\t\t// If we are viewing some subset of labels, slice the original array\r\n\t\tme.ticks = (minIndex === 0 && maxIndex === labels.length - 1) ? labels : labels.slice(minIndex, maxIndex + 1);\r\n\t},\r\n\r\n\tgetLabelForIndex: function(index, datasetIndex) {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\r\n\t\tif (chart.getDatasetMeta(datasetIndex).controller._getValueScaleId() === me.id) {\r\n\t\t\treturn me.getRightValue(chart.data.datasets[datasetIndex].data[index]);\r\n\t\t}\r\n\r\n\t\treturn me._getLabels()[index];\r\n\t},\r\n\r\n\t_configure: function() {\r\n\t\tvar me = this;\r\n\t\tvar offset = me.options.offset;\r\n\t\tvar ticks = me.ticks;\r\n\r\n\t\tcore_scale.prototype._configure.call(me);\r\n\r\n\t\tif (!me.isHorizontal()) {\r\n\t\t\t// For backward compatibility, vertical category scale reverse is inverted.\r\n\t\t\tme._reversePixels = !me._reversePixels;\r\n\t\t}\r\n\r\n\t\tif (!ticks) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tme._startValue = me.minIndex - (offset ? 0.5 : 0);\r\n\t\tme._valueRange = Math.max(ticks.length - (offset ? 0 : 1), 1);\r\n\t},\r\n\r\n\t// Used to get data value locations.  Value can either be an index or a numerical value\r\n\tgetPixelForValue: function(value, index, datasetIndex) {\r\n\t\tvar me = this;\r\n\t\tvar valueCategory, labels, idx;\r\n\r\n\t\tif (!isNullOrUndef$1(index) && !isNullOrUndef$1(datasetIndex)) {\r\n\t\t\tvalue = me.chart.data.datasets[datasetIndex].data[index];\r\n\t\t}\r\n\r\n\t\t// If value is a data object, then index is the index in the data array,\r\n\t\t// not the index of the scale. We need to change that.\r\n\t\tif (!isNullOrUndef$1(value)) {\r\n\t\t\tvalueCategory = me.isHorizontal() ? value.x : value.y;\r\n\t\t}\r\n\t\tif (valueCategory !== undefined || (value !== undefined && isNaN(index))) {\r\n\t\t\tlabels = me._getLabels();\r\n\t\t\tvalue = helpers$1.valueOrDefault(valueCategory, value);\r\n\t\t\tidx = labels.indexOf(value);\r\n\t\t\tindex = idx !== -1 ? idx : index;\r\n\t\t\tif (isNaN(index)) {\r\n\t\t\t\tindex = value;\r\n\t\t\t}\r\n\t\t}\r\n\t\treturn me.getPixelForDecimal((index - me._startValue) / me._valueRange);\r\n\t},\r\n\r\n\tgetPixelForTick: function(index) {\r\n\t\tvar ticks = this.ticks;\r\n\t\treturn index < 0 || index > ticks.length - 1\r\n\t\t\t? null\r\n\t\t\t: this.getPixelForValue(ticks[index], index + this.minIndex);\r\n\t},\r\n\r\n\tgetValueForPixel: function(pixel) {\r\n\t\tvar me = this;\r\n\t\tvar value = Math.round(me._startValue + me.getDecimalForPixel(pixel) * me._valueRange);\r\n\t\treturn Math.min(Math.max(value, 0), me.ticks.length - 1);\r\n\t},\r\n\r\n\tgetBasePixel: function() {\r\n\t\treturn this.bottom;\r\n\t}\r\n});\r\n\r\n// INTERNAL: static default options, registered in src/index.js\r\nvar _defaults = defaultConfig;\nscale_category._defaults = _defaults;\n\nvar noop = helpers$1.noop;\r\nvar isNullOrUndef$2 = helpers$1.isNullOrUndef;\r\n\r\n/**\r\n * Generate a set of linear ticks\r\n * @param generationOptions the options used to generate the ticks\r\n * @param dataRange the range of the data\r\n * @returns {number[]} array of tick values\r\n */\r\nfunction generateTicks(generationOptions, dataRange) {\r\n\tvar ticks = [];\r\n\t// To get a \"nice\" value for the tick spacing, we will use the appropriately named\r\n\t// \"nice number\" algorithm. See https://stackoverflow.com/questions/8506881/nice-label-algorithm-for-charts-with-minimum-ticks\r\n\t// for details.\r\n\r\n\tvar MIN_SPACING = 1e-14;\r\n\tvar stepSize = generationOptions.stepSize;\r\n\tvar unit = stepSize || 1;\r\n\tvar maxNumSpaces = generationOptions.maxTicks - 1;\r\n\tvar min = generationOptions.min;\r\n\tvar max = generationOptions.max;\r\n\tvar precision = generationOptions.precision;\r\n\tvar rmin = dataRange.min;\r\n\tvar rmax = dataRange.max;\r\n\tvar spacing = helpers$1.niceNum((rmax - rmin) / maxNumSpaces / unit) * unit;\r\n\tvar factor, niceMin, niceMax, numSpaces;\r\n\r\n\t// Beyond MIN_SPACING floating point numbers being to lose precision\r\n\t// such that we can't do the math necessary to generate ticks\r\n\tif (spacing < MIN_SPACING && isNullOrUndef$2(min) && isNullOrUndef$2(max)) {\r\n\t\treturn [rmin, rmax];\r\n\t}\r\n\r\n\tnumSpaces = Math.ceil(rmax / spacing) - Math.floor(rmin / spacing);\r\n\tif (numSpaces > maxNumSpaces) {\r\n\t\t// If the calculated num of spaces exceeds maxNumSpaces, recalculate it\r\n\t\tspacing = helpers$1.niceNum(numSpaces * spacing / maxNumSpaces / unit) * unit;\r\n\t}\r\n\r\n\tif (stepSize || isNullOrUndef$2(precision)) {\r\n\t\t// If a precision is not specified, calculate factor based on spacing\r\n\t\tfactor = Math.pow(10, helpers$1._decimalPlaces(spacing));\r\n\t} else {\r\n\t\t// If the user specified a precision, round to that number of decimal places\r\n\t\tfactor = Math.pow(10, precision);\r\n\t\tspacing = Math.ceil(spacing * factor) / factor;\r\n\t}\r\n\r\n\tniceMin = Math.floor(rmin / spacing) * spacing;\r\n\tniceMax = Math.ceil(rmax / spacing) * spacing;\r\n\r\n\t// If min, max and stepSize is set and they make an evenly spaced scale use it.\r\n\tif (stepSize) {\r\n\t\t// If very close to our whole number, use it.\r\n\t\tif (!isNullOrUndef$2(min) && helpers$1.almostWhole(min / spacing, spacing / 1000)) {\r\n\t\t\tniceMin = min;\r\n\t\t}\r\n\t\tif (!isNullOrUndef$2(max) && helpers$1.almostWhole(max / spacing, spacing / 1000)) {\r\n\t\t\tniceMax = max;\r\n\t\t}\r\n\t}\r\n\r\n\tnumSpaces = (niceMax - niceMin) / spacing;\r\n\t// If very close to our rounded value, use it.\r\n\tif (helpers$1.almostEquals(numSpaces, Math.round(numSpaces), spacing / 1000)) {\r\n\t\tnumSpaces = Math.round(numSpaces);\r\n\t} else {\r\n\t\tnumSpaces = Math.ceil(numSpaces);\r\n\t}\r\n\r\n\tniceMin = Math.round(niceMin * factor) / factor;\r\n\tniceMax = Math.round(niceMax * factor) / factor;\r\n\tticks.push(isNullOrUndef$2(min) ? niceMin : min);\r\n\tfor (var j = 1; j < numSpaces; ++j) {\r\n\t\tticks.push(Math.round((niceMin + j * spacing) * factor) / factor);\r\n\t}\r\n\tticks.push(isNullOrUndef$2(max) ? niceMax : max);\r\n\r\n\treturn ticks;\r\n}\r\n\r\nvar scale_linearbase = core_scale.extend({\r\n\tgetRightValue: function(value) {\r\n\t\tif (typeof value === 'string') {\r\n\t\t\treturn +value;\r\n\t\t}\r\n\t\treturn core_scale.prototype.getRightValue.call(this, value);\r\n\t},\r\n\r\n\thandleTickRangeOptions: function() {\r\n\t\tvar me = this;\r\n\t\tvar opts = me.options;\r\n\t\tvar tickOpts = opts.ticks;\r\n\r\n\t\t// If we are forcing it to begin at 0, but 0 will already be rendered on the chart,\r\n\t\t// do nothing since that would make the chart weird. If the user really wants a weird chart\r\n\t\t// axis, they can manually override it\r\n\t\tif (tickOpts.beginAtZero) {\r\n\t\t\tvar minSign = helpers$1.sign(me.min);\r\n\t\t\tvar maxSign = helpers$1.sign(me.max);\r\n\r\n\t\t\tif (minSign < 0 && maxSign < 0) {\r\n\t\t\t\t// move the top up to 0\r\n\t\t\t\tme.max = 0;\r\n\t\t\t} else if (minSign > 0 && maxSign > 0) {\r\n\t\t\t\t// move the bottom down to 0\r\n\t\t\t\tme.min = 0;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tvar setMin = tickOpts.min !== undefined || tickOpts.suggestedMin !== undefined;\r\n\t\tvar setMax = tickOpts.max !== undefined || tickOpts.suggestedMax !== undefined;\r\n\r\n\t\tif (tickOpts.min !== undefined) {\r\n\t\t\tme.min = tickOpts.min;\r\n\t\t} else if (tickOpts.suggestedMin !== undefined) {\r\n\t\t\tif (me.min === null) {\r\n\t\t\t\tme.min = tickOpts.suggestedMin;\r\n\t\t\t} else {\r\n\t\t\t\tme.min = Math.min(me.min, tickOpts.suggestedMin);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (tickOpts.max !== undefined) {\r\n\t\t\tme.max = tickOpts.max;\r\n\t\t} else if (tickOpts.suggestedMax !== undefined) {\r\n\t\t\tif (me.max === null) {\r\n\t\t\t\tme.max = tickOpts.suggestedMax;\r\n\t\t\t} else {\r\n\t\t\t\tme.max = Math.max(me.max, tickOpts.suggestedMax);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (setMin !== setMax) {\r\n\t\t\t// We set the min or the max but not both.\r\n\t\t\t// So ensure that our range is good\r\n\t\t\t// Inverted or 0 length range can happen when\r\n\t\t\t// ticks.min is set, and no datasets are visible\r\n\t\t\tif (me.min >= me.max) {\r\n\t\t\t\tif (setMin) {\r\n\t\t\t\t\tme.max = me.min + 1;\r\n\t\t\t\t} else {\r\n\t\t\t\t\tme.min = me.max - 1;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (me.min === me.max) {\r\n\t\t\tme.max++;\r\n\r\n\t\t\tif (!tickOpts.beginAtZero) {\r\n\t\t\t\tme.min--;\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\r\n\tgetTickLimit: function() {\r\n\t\tvar me = this;\r\n\t\tvar tickOpts = me.options.ticks;\r\n\t\tvar stepSize = tickOpts.stepSize;\r\n\t\tvar maxTicksLimit = tickOpts.maxTicksLimit;\r\n\t\tvar maxTicks;\r\n\r\n\t\tif (stepSize) {\r\n\t\t\tmaxTicks = Math.ceil(me.max / stepSize) - Math.floor(me.min / stepSize) + 1;\r\n\t\t} else {\r\n\t\t\tmaxTicks = me._computeTickLimit();\r\n\t\t\tmaxTicksLimit = maxTicksLimit || 11;\r\n\t\t}\r\n\r\n\t\tif (maxTicksLimit) {\r\n\t\t\tmaxTicks = Math.min(maxTicksLimit, maxTicks);\r\n\t\t}\r\n\r\n\t\treturn maxTicks;\r\n\t},\r\n\r\n\t_computeTickLimit: function() {\r\n\t\treturn Number.POSITIVE_INFINITY;\r\n\t},\r\n\r\n\thandleDirectionalChanges: noop,\r\n\r\n\tbuildTicks: function() {\r\n\t\tvar me = this;\r\n\t\tvar opts = me.options;\r\n\t\tvar tickOpts = opts.ticks;\r\n\r\n\t\t// Figure out what the max number of ticks we can support it is based on the size of\r\n\t\t// the axis area. For now, we say that the minimum tick spacing in pixels must be 40\r\n\t\t// We also limit the maximum number of ticks to 11 which gives a nice 10 squares on\r\n\t\t// the graph. Make sure we always have at least 2 ticks\r\n\t\tvar maxTicks = me.getTickLimit();\r\n\t\tmaxTicks = Math.max(2, maxTicks);\r\n\r\n\t\tvar numericGeneratorOptions = {\r\n\t\t\tmaxTicks: maxTicks,\r\n\t\t\tmin: tickOpts.min,\r\n\t\t\tmax: tickOpts.max,\r\n\t\t\tprecision: tickOpts.precision,\r\n\t\t\tstepSize: helpers$1.valueOrDefault(tickOpts.fixedStepSize, tickOpts.stepSize)\r\n\t\t};\r\n\t\tvar ticks = me.ticks = generateTicks(numericGeneratorOptions, me);\r\n\r\n\t\tme.handleDirectionalChanges();\r\n\r\n\t\t// At this point, we need to update our max and min given the tick values since we have expanded the\r\n\t\t// range of the scale\r\n\t\tme.max = helpers$1.max(ticks);\r\n\t\tme.min = helpers$1.min(ticks);\r\n\r\n\t\tif (tickOpts.reverse) {\r\n\t\t\tticks.reverse();\r\n\r\n\t\t\tme.start = me.max;\r\n\t\t\tme.end = me.min;\r\n\t\t} else {\r\n\t\t\tme.start = me.min;\r\n\t\t\tme.end = me.max;\r\n\t\t}\r\n\t},\r\n\r\n\tconvertTicksToLabels: function() {\r\n\t\tvar me = this;\r\n\t\tme.ticksAsNumbers = me.ticks.slice();\r\n\t\tme.zeroLineIndex = me.ticks.indexOf(0);\r\n\r\n\t\tcore_scale.prototype.convertTicksToLabels.call(me);\r\n\t},\r\n\r\n\t_configure: function() {\r\n\t\tvar me = this;\r\n\t\tvar ticks = me.getTicks();\r\n\t\tvar start = me.min;\r\n\t\tvar end = me.max;\r\n\t\tvar offset;\r\n\r\n\t\tcore_scale.prototype._configure.call(me);\r\n\r\n\t\tif (me.options.offset && ticks.length) {\r\n\t\t\toffset = (end - start) / Math.max(ticks.length - 1, 1) / 2;\r\n\t\t\tstart -= offset;\r\n\t\t\tend += offset;\r\n\t\t}\r\n\t\tme._startValue = start;\r\n\t\tme._endValue = end;\r\n\t\tme._valueRange = end - start;\r\n\t}\r\n});\n\nvar defaultConfig$1 = {\r\n\tposition: 'left',\r\n\tticks: {\r\n\t\tcallback: core_ticks.formatters.linear\r\n\t}\r\n};\r\n\r\nvar DEFAULT_MIN = 0;\r\nvar DEFAULT_MAX = 1;\r\n\r\nfunction getOrCreateStack(stacks, stacked, meta) {\r\n\tvar key = [\r\n\t\tmeta.type,\r\n\t\t// we have a separate stack for stack=undefined datasets when the opts.stacked is undefined\r\n\t\tstacked === undefined && meta.stack === undefined ? meta.index : '',\r\n\t\tmeta.stack\r\n\t].join('.');\r\n\r\n\tif (stacks[key] === undefined) {\r\n\t\tstacks[key] = {\r\n\t\t\tpos: [],\r\n\t\t\tneg: []\r\n\t\t};\r\n\t}\r\n\r\n\treturn stacks[key];\r\n}\r\n\r\nfunction stackData(scale, stacks, meta, data) {\r\n\tvar opts = scale.options;\r\n\tvar stacked = opts.stacked;\r\n\tvar stack = getOrCreateStack(stacks, stacked, meta);\r\n\tvar pos = stack.pos;\r\n\tvar neg = stack.neg;\r\n\tvar ilen = data.length;\r\n\tvar i, value;\r\n\r\n\tfor (i = 0; i < ilen; ++i) {\r\n\t\tvalue = scale._parseValue(data[i]);\r\n\t\tif (isNaN(value.min) || isNaN(value.max) || meta.data[i].hidden) {\r\n\t\t\tcontinue;\r\n\t\t}\r\n\r\n\t\tpos[i] = pos[i] || 0;\r\n\t\tneg[i] = neg[i] || 0;\r\n\r\n\t\tif (opts.relativePoints) {\r\n\t\t\tpos[i] = 100;\r\n\t\t} else if (value.min < 0 || value.max < 0) {\r\n\t\t\tneg[i] += value.min;\r\n\t\t} else {\r\n\t\t\tpos[i] += value.max;\r\n\t\t}\r\n\t}\r\n}\r\n\r\nfunction updateMinMax(scale, meta, data) {\r\n\tvar ilen = data.length;\r\n\tvar i, value;\r\n\r\n\tfor (i = 0; i < ilen; ++i) {\r\n\t\tvalue = scale._parseValue(data[i]);\r\n\t\tif (isNaN(value.min) || isNaN(value.max) || meta.data[i].hidden) {\r\n\t\t\tcontinue;\r\n\t\t}\r\n\r\n\t\tscale.min = Math.min(scale.min, value.min);\r\n\t\tscale.max = Math.max(scale.max, value.max);\r\n\t}\r\n}\r\n\r\nvar scale_linear = scale_linearbase.extend({\r\n\tdetermineDataLimits: function() {\r\n\t\tvar me = this;\r\n\t\tvar opts = me.options;\r\n\t\tvar chart = me.chart;\r\n\t\tvar datasets = chart.data.datasets;\r\n\t\tvar metasets = me._getMatchingVisibleMetas();\r\n\t\tvar hasStacks = opts.stacked;\r\n\t\tvar stacks = {};\r\n\t\tvar ilen = metasets.length;\r\n\t\tvar i, meta, data, values;\r\n\r\n\t\tme.min = Number.POSITIVE_INFINITY;\r\n\t\tme.max = Number.NEGATIVE_INFINITY;\r\n\r\n\t\tif (hasStacks === undefined) {\r\n\t\t\tfor (i = 0; !hasStacks && i < ilen; ++i) {\r\n\t\t\t\tmeta = metasets[i];\r\n\t\t\t\thasStacks = meta.stack !== undefined;\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tfor (i = 0; i < ilen; ++i) {\r\n\t\t\tmeta = metasets[i];\r\n\t\t\tdata = datasets[meta.index].data;\r\n\t\t\tif (hasStacks) {\r\n\t\t\t\tstackData(me, stacks, meta, data);\r\n\t\t\t} else {\r\n\t\t\t\tupdateMinMax(me, meta, data);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\thelpers$1.each(stacks, function(stackValues) {\r\n\t\t\tvalues = stackValues.pos.concat(stackValues.neg);\r\n\t\t\tme.min = Math.min(me.min, helpers$1.min(values));\r\n\t\t\tme.max = Math.max(me.max, helpers$1.max(values));\r\n\t\t});\r\n\r\n\t\tme.min = helpers$1.isFinite(me.min) && !isNaN(me.min) ? me.min : DEFAULT_MIN;\r\n\t\tme.max = helpers$1.isFinite(me.max) && !isNaN(me.max) ? me.max : DEFAULT_MAX;\r\n\r\n\t\t// Common base implementation to handle ticks.min, ticks.max, ticks.beginAtZero\r\n\t\tme.handleTickRangeOptions();\r\n\t},\r\n\r\n\t// Returns the maximum number of ticks based on the scale dimension\r\n\t_computeTickLimit: function() {\r\n\t\tvar me = this;\r\n\t\tvar tickFont;\r\n\r\n\t\tif (me.isHorizontal()) {\r\n\t\t\treturn Math.ceil(me.width / 40);\r\n\t\t}\r\n\t\ttickFont = helpers$1.options._parseFont(me.options.ticks);\r\n\t\treturn Math.ceil(me.height / tickFont.lineHeight);\r\n\t},\r\n\r\n\t// Called after the ticks are built. We need\r\n\thandleDirectionalChanges: function() {\r\n\t\tif (!this.isHorizontal()) {\r\n\t\t\t// We are in a vertical orientation. The top value is the highest. So reverse the array\r\n\t\t\tthis.ticks.reverse();\r\n\t\t}\r\n\t},\r\n\r\n\tgetLabelForIndex: function(index, datasetIndex) {\r\n\t\treturn this._getScaleLabel(this.chart.data.datasets[datasetIndex].data[index]);\r\n\t},\r\n\r\n\t// Utils\r\n\tgetPixelForValue: function(value) {\r\n\t\tvar me = this;\r\n\t\treturn me.getPixelForDecimal((+me.getRightValue(value) - me._startValue) / me._valueRange);\r\n\t},\r\n\r\n\tgetValueForPixel: function(pixel) {\r\n\t\treturn this._startValue + this.getDecimalForPixel(pixel) * this._valueRange;\r\n\t},\r\n\r\n\tgetPixelForTick: function(index) {\r\n\t\tvar ticks = this.ticksAsNumbers;\r\n\t\tif (index < 0 || index > ticks.length - 1) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\t\treturn this.getPixelForValue(ticks[index]);\r\n\t}\r\n});\r\n\r\n// INTERNAL: static default options, registered in src/index.js\r\nvar _defaults$1 = defaultConfig$1;\nscale_linear._defaults = _defaults$1;\n\nvar valueOrDefault$b = helpers$1.valueOrDefault;\r\nvar log10 = helpers$1.math.log10;\r\n\r\n/**\r\n * Generate a set of logarithmic ticks\r\n * @param generationOptions the options used to generate the ticks\r\n * @param dataRange the range of the data\r\n * @returns {number[]} array of tick values\r\n */\r\nfunction generateTicks$1(generationOptions, dataRange) {\r\n\tvar ticks = [];\r\n\r\n\tvar tickVal = valueOrDefault$b(generationOptions.min, Math.pow(10, Math.floor(log10(dataRange.min))));\r\n\r\n\tvar endExp = Math.floor(log10(dataRange.max));\r\n\tvar endSignificand = Math.ceil(dataRange.max / Math.pow(10, endExp));\r\n\tvar exp, significand;\r\n\r\n\tif (tickVal === 0) {\r\n\t\texp = Math.floor(log10(dataRange.minNotZero));\r\n\t\tsignificand = Math.floor(dataRange.minNotZero / Math.pow(10, exp));\r\n\r\n\t\tticks.push(tickVal);\r\n\t\ttickVal = significand * Math.pow(10, exp);\r\n\t} else {\r\n\t\texp = Math.floor(log10(tickVal));\r\n\t\tsignificand = Math.floor(tickVal / Math.pow(10, exp));\r\n\t}\r\n\tvar precision = exp < 0 ? Math.pow(10, Math.abs(exp)) : 1;\r\n\r\n\tdo {\r\n\t\tticks.push(tickVal);\r\n\r\n\t\t++significand;\r\n\t\tif (significand === 10) {\r\n\t\t\tsignificand = 1;\r\n\t\t\t++exp;\r\n\t\t\tprecision = exp >= 0 ? 1 : precision;\r\n\t\t}\r\n\r\n\t\ttickVal = Math.round(significand * Math.pow(10, exp) * precision) / precision;\r\n\t} while (exp < endExp || (exp === endExp && significand < endSignificand));\r\n\r\n\tvar lastTick = valueOrDefault$b(generationOptions.max, tickVal);\r\n\tticks.push(lastTick);\r\n\r\n\treturn ticks;\r\n}\r\n\r\nvar defaultConfig$2 = {\r\n\tposition: 'left',\r\n\r\n\t// label settings\r\n\tticks: {\r\n\t\tcallback: core_ticks.formatters.logarithmic\r\n\t}\r\n};\r\n\r\n// TODO(v3): change this to positiveOrDefault\r\nfunction nonNegativeOrDefault(value, defaultValue) {\r\n\treturn helpers$1.isFinite(value) && value >= 0 ? value : defaultValue;\r\n}\r\n\r\nvar scale_logarithmic = core_scale.extend({\r\n\tdetermineDataLimits: function() {\r\n\t\tvar me = this;\r\n\t\tvar opts = me.options;\r\n\t\tvar chart = me.chart;\r\n\t\tvar datasets = chart.data.datasets;\r\n\t\tvar isHorizontal = me.isHorizontal();\r\n\t\tfunction IDMatches(meta) {\r\n\t\t\treturn isHorizontal ? meta.xAxisID === me.id : meta.yAxisID === me.id;\r\n\t\t}\r\n\t\tvar datasetIndex, meta, value, data, i, ilen;\r\n\r\n\t\t// Calculate Range\r\n\t\tme.min = Number.POSITIVE_INFINITY;\r\n\t\tme.max = Number.NEGATIVE_INFINITY;\r\n\t\tme.minNotZero = Number.POSITIVE_INFINITY;\r\n\r\n\t\tvar hasStacks = opts.stacked;\r\n\t\tif (hasStacks === undefined) {\r\n\t\t\tfor (datasetIndex = 0; datasetIndex < datasets.length; datasetIndex++) {\r\n\t\t\t\tmeta = chart.getDatasetMeta(datasetIndex);\r\n\t\t\t\tif (chart.isDatasetVisible(datasetIndex) && IDMatches(meta) &&\r\n\t\t\t\t\tmeta.stack !== undefined) {\r\n\t\t\t\t\thasStacks = true;\r\n\t\t\t\t\tbreak;\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (opts.stacked || hasStacks) {\r\n\t\t\tvar valuesPerStack = {};\r\n\r\n\t\t\tfor (datasetIndex = 0; datasetIndex < datasets.length; datasetIndex++) {\r\n\t\t\t\tmeta = chart.getDatasetMeta(datasetIndex);\r\n\t\t\t\tvar key = [\r\n\t\t\t\t\tmeta.type,\r\n\t\t\t\t\t// we have a separate stack for stack=undefined datasets when the opts.stacked is undefined\r\n\t\t\t\t\t((opts.stacked === undefined && meta.stack === undefined) ? datasetIndex : ''),\r\n\t\t\t\t\tmeta.stack\r\n\t\t\t\t].join('.');\r\n\r\n\t\t\t\tif (chart.isDatasetVisible(datasetIndex) && IDMatches(meta)) {\r\n\t\t\t\t\tif (valuesPerStack[key] === undefined) {\r\n\t\t\t\t\t\tvaluesPerStack[key] = [];\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tdata = datasets[datasetIndex].data;\r\n\t\t\t\t\tfor (i = 0, ilen = data.length; i < ilen; i++) {\r\n\t\t\t\t\t\tvar values = valuesPerStack[key];\r\n\t\t\t\t\t\tvalue = me._parseValue(data[i]);\r\n\t\t\t\t\t\t// invalid, hidden and negative values are ignored\r\n\t\t\t\t\t\tif (isNaN(value.min) || isNaN(value.max) || meta.data[i].hidden || value.min < 0 || value.max < 0) {\r\n\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t\tvalues[i] = values[i] || 0;\r\n\t\t\t\t\t\tvalues[i] += value.max;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\thelpers$1.each(valuesPerStack, function(valuesForType) {\r\n\t\t\t\tif (valuesForType.length > 0) {\r\n\t\t\t\t\tvar minVal = helpers$1.min(valuesForType);\r\n\t\t\t\t\tvar maxVal = helpers$1.max(valuesForType);\r\n\t\t\t\t\tme.min = Math.min(me.min, minVal);\r\n\t\t\t\t\tme.max = Math.max(me.max, maxVal);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\r\n\t\t} else {\r\n\t\t\tfor (datasetIndex = 0; datasetIndex < datasets.length; datasetIndex++) {\r\n\t\t\t\tmeta = chart.getDatasetMeta(datasetIndex);\r\n\t\t\t\tif (chart.isDatasetVisible(datasetIndex) && IDMatches(meta)) {\r\n\t\t\t\t\tdata = datasets[datasetIndex].data;\r\n\t\t\t\t\tfor (i = 0, ilen = data.length; i < ilen; i++) {\r\n\t\t\t\t\t\tvalue = me._parseValue(data[i]);\r\n\t\t\t\t\t\t// invalid, hidden and negative values are ignored\r\n\t\t\t\t\t\tif (isNaN(value.min) || isNaN(value.max) || meta.data[i].hidden || value.min < 0 || value.max < 0) {\r\n\t\t\t\t\t\t\tcontinue;\r\n\t\t\t\t\t\t}\r\n\r\n\t\t\t\t\t\tme.min = Math.min(value.min, me.min);\r\n\t\t\t\t\t\tme.max = Math.max(value.max, me.max);\r\n\r\n\t\t\t\t\t\tif (value.min !== 0) {\r\n\t\t\t\t\t\t\tme.minNotZero = Math.min(value.min, me.minNotZero);\r\n\t\t\t\t\t\t}\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tme.min = helpers$1.isFinite(me.min) ? me.min : null;\r\n\t\tme.max = helpers$1.isFinite(me.max) ? me.max : null;\r\n\t\tme.minNotZero = helpers$1.isFinite(me.minNotZero) ? me.minNotZero : null;\r\n\r\n\t\t// Common base implementation to handle ticks.min, ticks.max\r\n\t\tthis.handleTickRangeOptions();\r\n\t},\r\n\r\n\thandleTickRangeOptions: function() {\r\n\t\tvar me = this;\r\n\t\tvar tickOpts = me.options.ticks;\r\n\t\tvar DEFAULT_MIN = 1;\r\n\t\tvar DEFAULT_MAX = 10;\r\n\r\n\t\tme.min = nonNegativeOrDefault(tickOpts.min, me.min);\r\n\t\tme.max = nonNegativeOrDefault(tickOpts.max, me.max);\r\n\r\n\t\tif (me.min === me.max) {\r\n\t\t\tif (me.min !== 0 && me.min !== null) {\r\n\t\t\t\tme.min = Math.pow(10, Math.floor(log10(me.min)) - 1);\r\n\t\t\t\tme.max = Math.pow(10, Math.floor(log10(me.max)) + 1);\r\n\t\t\t} else {\r\n\t\t\t\tme.min = DEFAULT_MIN;\r\n\t\t\t\tme.max = DEFAULT_MAX;\r\n\t\t\t}\r\n\t\t}\r\n\t\tif (me.min === null) {\r\n\t\t\tme.min = Math.pow(10, Math.floor(log10(me.max)) - 1);\r\n\t\t}\r\n\t\tif (me.max === null) {\r\n\t\t\tme.max = me.min !== 0\r\n\t\t\t\t? Math.pow(10, Math.floor(log10(me.min)) + 1)\r\n\t\t\t\t: DEFAULT_MAX;\r\n\t\t}\r\n\t\tif (me.minNotZero === null) {\r\n\t\t\tif (me.min > 0) {\r\n\t\t\t\tme.minNotZero = me.min;\r\n\t\t\t} else if (me.max < 1) {\r\n\t\t\t\tme.minNotZero = Math.pow(10, Math.floor(log10(me.max)));\r\n\t\t\t} else {\r\n\t\t\t\tme.minNotZero = DEFAULT_MIN;\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\r\n\tbuildTicks: function() {\r\n\t\tvar me = this;\r\n\t\tvar tickOpts = me.options.ticks;\r\n\t\tvar reverse = !me.isHorizontal();\r\n\r\n\t\tvar generationOptions = {\r\n\t\t\tmin: nonNegativeOrDefault(tickOpts.min),\r\n\t\t\tmax: nonNegativeOrDefault(tickOpts.max)\r\n\t\t};\r\n\t\tvar ticks = me.ticks = generateTicks$1(generationOptions, me);\r\n\r\n\t\t// At this point, we need to update our max and min given the tick values since we have expanded the\r\n\t\t// range of the scale\r\n\t\tme.max = helpers$1.max(ticks);\r\n\t\tme.min = helpers$1.min(ticks);\r\n\r\n\t\tif (tickOpts.reverse) {\r\n\t\t\treverse = !reverse;\r\n\t\t\tme.start = me.max;\r\n\t\t\tme.end = me.min;\r\n\t\t} else {\r\n\t\t\tme.start = me.min;\r\n\t\t\tme.end = me.max;\r\n\t\t}\r\n\t\tif (reverse) {\r\n\t\t\tticks.reverse();\r\n\t\t}\r\n\t},\r\n\r\n\tconvertTicksToLabels: function() {\r\n\t\tthis.tickValues = this.ticks.slice();\r\n\r\n\t\tcore_scale.prototype.convertTicksToLabels.call(this);\r\n\t},\r\n\r\n\t// Get the correct tooltip label\r\n\tgetLabelForIndex: function(index, datasetIndex) {\r\n\t\treturn this._getScaleLabel(this.chart.data.datasets[datasetIndex].data[index]);\r\n\t},\r\n\r\n\tgetPixelForTick: function(index) {\r\n\t\tvar ticks = this.tickValues;\r\n\t\tif (index < 0 || index > ticks.length - 1) {\r\n\t\t\treturn null;\r\n\t\t}\r\n\t\treturn this.getPixelForValue(ticks[index]);\r\n\t},\r\n\r\n\t/**\r\n\t * Returns the value of the first tick.\r\n\t * @param {number} value - The minimum not zero value.\r\n\t * @return {number} The first tick value.\r\n\t * @private\r\n\t */\r\n\t_getFirstTickValue: function(value) {\r\n\t\tvar exp = Math.floor(log10(value));\r\n\t\tvar significand = Math.floor(value / Math.pow(10, exp));\r\n\r\n\t\treturn significand * Math.pow(10, exp);\r\n\t},\r\n\r\n\t_configure: function() {\r\n\t\tvar me = this;\r\n\t\tvar start = me.min;\r\n\t\tvar offset = 0;\r\n\r\n\t\tcore_scale.prototype._configure.call(me);\r\n\r\n\t\tif (start === 0) {\r\n\t\t\tstart = me._getFirstTickValue(me.minNotZero);\r\n\t\t\toffset = valueOrDefault$b(me.options.ticks.fontSize, core_defaults.global.defaultFontSize) / me._length;\r\n\t\t}\r\n\r\n\t\tme._startValue = log10(start);\r\n\t\tme._valueOffset = offset;\r\n\t\tme._valueRange = (log10(me.max) - log10(start)) / (1 - offset);\r\n\t},\r\n\r\n\tgetPixelForValue: function(value) {\r\n\t\tvar me = this;\r\n\t\tvar decimal = 0;\r\n\r\n\t\tvalue = +me.getRightValue(value);\r\n\r\n\t\tif (value > me.min && value > 0) {\r\n\t\t\tdecimal = (log10(value) - me._startValue) / me._valueRange + me._valueOffset;\r\n\t\t}\r\n\t\treturn me.getPixelForDecimal(decimal);\r\n\t},\r\n\r\n\tgetValueForPixel: function(pixel) {\r\n\t\tvar me = this;\r\n\t\tvar decimal = me.getDecimalForPixel(pixel);\r\n\t\treturn decimal === 0 && me.min === 0\r\n\t\t\t? 0\r\n\t\t\t: Math.pow(10, me._startValue + (decimal - me._valueOffset) * me._valueRange);\r\n\t}\r\n});\r\n\r\n// INTERNAL: static default options, registered in src/index.js\r\nvar _defaults$2 = defaultConfig$2;\nscale_logarithmic._defaults = _defaults$2;\n\nvar valueOrDefault$c = helpers$1.valueOrDefault;\r\nvar valueAtIndexOrDefault$1 = helpers$1.valueAtIndexOrDefault;\r\nvar resolve$4 = helpers$1.options.resolve;\r\n\r\nvar defaultConfig$3 = {\r\n\tdisplay: true,\r\n\r\n\t// Boolean - Whether to animate scaling the chart from the centre\r\n\tanimate: true,\r\n\tposition: 'chartArea',\r\n\r\n\tangleLines: {\r\n\t\tdisplay: true,\r\n\t\tcolor: 'rgba(0,0,0,0.1)',\r\n\t\tlineWidth: 1,\r\n\t\tborderDash: [],\r\n\t\tborderDashOffset: 0.0\r\n\t},\r\n\r\n\tgridLines: {\r\n\t\tcircular: false\r\n\t},\r\n\r\n\t// label settings\r\n\tticks: {\r\n\t\t// Boolean - Show a backdrop to the scale label\r\n\t\tshowLabelBackdrop: true,\r\n\r\n\t\t// String - The colour of the label backdrop\r\n\t\tbackdropColor: 'rgba(255,255,255,0.75)',\r\n\r\n\t\t// Number - The backdrop padding above & below the label in pixels\r\n\t\tbackdropPaddingY: 2,\r\n\r\n\t\t// Number - The backdrop padding to the side of the label in pixels\r\n\t\tbackdropPaddingX: 2,\r\n\r\n\t\tcallback: core_ticks.formatters.linear\r\n\t},\r\n\r\n\tpointLabels: {\r\n\t\t// Boolean - if true, show point labels\r\n\t\tdisplay: true,\r\n\r\n\t\t// Number - Point label font size in pixels\r\n\t\tfontSize: 10,\r\n\r\n\t\t// Function - Used to convert point labels\r\n\t\tcallback: function(label) {\r\n\t\t\treturn label;\r\n\t\t}\r\n\t}\r\n};\r\n\r\nfunction getTickBackdropHeight(opts) {\r\n\tvar tickOpts = opts.ticks;\r\n\r\n\tif (tickOpts.display && opts.display) {\r\n\t\treturn valueOrDefault$c(tickOpts.fontSize, core_defaults.global.defaultFontSize) + tickOpts.backdropPaddingY * 2;\r\n\t}\r\n\treturn 0;\r\n}\r\n\r\nfunction measureLabelSize(ctx, lineHeight, label) {\r\n\tif (helpers$1.isArray(label)) {\r\n\t\treturn {\r\n\t\t\tw: helpers$1.longestText(ctx, ctx.font, label),\r\n\t\t\th: label.length * lineHeight\r\n\t\t};\r\n\t}\r\n\r\n\treturn {\r\n\t\tw: ctx.measureText(label).width,\r\n\t\th: lineHeight\r\n\t};\r\n}\r\n\r\nfunction determineLimits(angle, pos, size, min, max) {\r\n\tif (angle === min || angle === max) {\r\n\t\treturn {\r\n\t\t\tstart: pos - (size / 2),\r\n\t\t\tend: pos + (size / 2)\r\n\t\t};\r\n\t} else if (angle < min || angle > max) {\r\n\t\treturn {\r\n\t\t\tstart: pos - size,\r\n\t\t\tend: pos\r\n\t\t};\r\n\t}\r\n\r\n\treturn {\r\n\t\tstart: pos,\r\n\t\tend: pos + size\r\n\t};\r\n}\r\n\r\n/**\r\n * Helper function to fit a radial linear scale with point labels\r\n */\r\nfunction fitWithPointLabels(scale) {\r\n\r\n\t// Right, this is really confusing and there is a lot of maths going on here\r\n\t// The gist of the problem is here: https://gist.github.com/nnnick/696cc9c55f4b0beb8fe9\r\n\t//\r\n\t// Reaction: https://dl.dropboxusercontent.com/u/34601363/toomuchscience.gif\r\n\t//\r\n\t// Solution:\r\n\t//\r\n\t// We assume the radius of the polygon is half the size of the canvas at first\r\n\t// at each index we check if the text overlaps.\r\n\t//\r\n\t// Where it does, we store that angle and that index.\r\n\t//\r\n\t// After finding the largest index and angle we calculate how much we need to remove\r\n\t// from the shape radius to move the point inwards by that x.\r\n\t//\r\n\t// We average the left and right distances to get the maximum shape radius that can fit in the box\r\n\t// along with labels.\r\n\t//\r\n\t// Once we have that, we can find the centre point for the chart, by taking the x text protrusion\r\n\t// on each side, removing that from the size, halving it and adding the left x protrusion width.\r\n\t//\r\n\t// This will mean we have a shape fitted to the canvas, as large as it can be with the labels\r\n\t// and position it in the most space efficient manner\r\n\t//\r\n\t// https://dl.dropboxusercontent.com/u/34601363/yeahscience.gif\r\n\r\n\tvar plFont = helpers$1.options._parseFont(scale.options.pointLabels);\r\n\r\n\t// Get maximum radius of the polygon. Either half the height (minus the text width) or half the width.\r\n\t// Use this to calculate the offset + change. - Make sure L/R protrusion is at least 0 to stop issues with centre points\r\n\tvar furthestLimits = {\r\n\t\tl: 0,\r\n\t\tr: scale.width,\r\n\t\tt: 0,\r\n\t\tb: scale.height - scale.paddingTop\r\n\t};\r\n\tvar furthestAngles = {};\r\n\tvar i, textSize, pointPosition;\r\n\r\n\tscale.ctx.font = plFont.string;\r\n\tscale._pointLabelSizes = [];\r\n\r\n\tvar valueCount = scale.chart.data.labels.length;\r\n\tfor (i = 0; i < valueCount; i++) {\r\n\t\tpointPosition = scale.getPointPosition(i, scale.drawingArea + 5);\r\n\t\ttextSize = measureLabelSize(scale.ctx, plFont.lineHeight, scale.pointLabels[i]);\r\n\t\tscale._pointLabelSizes[i] = textSize;\r\n\r\n\t\t// Add quarter circle to make degree 0 mean top of circle\r\n\t\tvar angleRadians = scale.getIndexAngle(i);\r\n\t\tvar angle = helpers$1.toDegrees(angleRadians) % 360;\r\n\t\tvar hLimits = determineLimits(angle, pointPosition.x, textSize.w, 0, 180);\r\n\t\tvar vLimits = determineLimits(angle, pointPosition.y, textSize.h, 90, 270);\r\n\r\n\t\tif (hLimits.start < furthestLimits.l) {\r\n\t\t\tfurthestLimits.l = hLimits.start;\r\n\t\t\tfurthestAngles.l = angleRadians;\r\n\t\t}\r\n\r\n\t\tif (hLimits.end > furthestLimits.r) {\r\n\t\t\tfurthestLimits.r = hLimits.end;\r\n\t\t\tfurthestAngles.r = angleRadians;\r\n\t\t}\r\n\r\n\t\tif (vLimits.start < furthestLimits.t) {\r\n\t\t\tfurthestLimits.t = vLimits.start;\r\n\t\t\tfurthestAngles.t = angleRadians;\r\n\t\t}\r\n\r\n\t\tif (vLimits.end > furthestLimits.b) {\r\n\t\t\tfurthestLimits.b = vLimits.end;\r\n\t\t\tfurthestAngles.b = angleRadians;\r\n\t\t}\r\n\t}\r\n\r\n\tscale.setReductions(scale.drawingArea, furthestLimits, furthestAngles);\r\n}\r\n\r\nfunction getTextAlignForAngle(angle) {\r\n\tif (angle === 0 || angle === 180) {\r\n\t\treturn 'center';\r\n\t} else if (angle < 180) {\r\n\t\treturn 'left';\r\n\t}\r\n\r\n\treturn 'right';\r\n}\r\n\r\nfunction fillText(ctx, text, position, lineHeight) {\r\n\tvar y = position.y + lineHeight / 2;\r\n\tvar i, ilen;\r\n\r\n\tif (helpers$1.isArray(text)) {\r\n\t\tfor (i = 0, ilen = text.length; i < ilen; ++i) {\r\n\t\t\tctx.fillText(text[i], position.x, y);\r\n\t\t\ty += lineHeight;\r\n\t\t}\r\n\t} else {\r\n\t\tctx.fillText(text, position.x, y);\r\n\t}\r\n}\r\n\r\nfunction adjustPointPositionForLabelHeight(angle, textSize, position) {\r\n\tif (angle === 90 || angle === 270) {\r\n\t\tposition.y -= (textSize.h / 2);\r\n\t} else if (angle > 270 || angle < 90) {\r\n\t\tposition.y -= textSize.h;\r\n\t}\r\n}\r\n\r\nfunction drawPointLabels(scale) {\r\n\tvar ctx = scale.ctx;\r\n\tvar opts = scale.options;\r\n\tvar pointLabelOpts = opts.pointLabels;\r\n\tvar tickBackdropHeight = getTickBackdropHeight(opts);\r\n\tvar outerDistance = scale.getDistanceFromCenterForValue(opts.ticks.reverse ? scale.min : scale.max);\r\n\tvar plFont = helpers$1.options._parseFont(pointLabelOpts);\r\n\r\n\tctx.save();\r\n\r\n\tctx.font = plFont.string;\r\n\tctx.textBaseline = 'middle';\r\n\r\n\tfor (var i = scale.chart.data.labels.length - 1; i >= 0; i--) {\r\n\t\t// Extra pixels out for some label spacing\r\n\t\tvar extra = (i === 0 ? tickBackdropHeight / 2 : 0);\r\n\t\tvar pointLabelPosition = scale.getPointPosition(i, outerDistance + extra + 5);\r\n\r\n\t\t// Keep this in loop since we may support array properties here\r\n\t\tvar pointLabelFontColor = valueAtIndexOrDefault$1(pointLabelOpts.fontColor, i, core_defaults.global.defaultFontColor);\r\n\t\tctx.fillStyle = pointLabelFontColor;\r\n\r\n\t\tvar angleRadians = scale.getIndexAngle(i);\r\n\t\tvar angle = helpers$1.toDegrees(angleRadians);\r\n\t\tctx.textAlign = getTextAlignForAngle(angle);\r\n\t\tadjustPointPositionForLabelHeight(angle, scale._pointLabelSizes[i], pointLabelPosition);\r\n\t\tfillText(ctx, scale.pointLabels[i], pointLabelPosition, plFont.lineHeight);\r\n\t}\r\n\tctx.restore();\r\n}\r\n\r\nfunction drawRadiusLine(scale, gridLineOpts, radius, index) {\r\n\tvar ctx = scale.ctx;\r\n\tvar circular = gridLineOpts.circular;\r\n\tvar valueCount = scale.chart.data.labels.length;\r\n\tvar lineColor = valueAtIndexOrDefault$1(gridLineOpts.color, index - 1);\r\n\tvar lineWidth = valueAtIndexOrDefault$1(gridLineOpts.lineWidth, index - 1);\r\n\tvar pointPosition;\r\n\r\n\tif ((!circular && !valueCount) || !lineColor || !lineWidth) {\r\n\t\treturn;\r\n\t}\r\n\r\n\tctx.save();\r\n\tctx.strokeStyle = lineColor;\r\n\tctx.lineWidth = lineWidth;\r\n\tif (ctx.setLineDash) {\r\n\t\tctx.setLineDash(gridLineOpts.borderDash || []);\r\n\t\tctx.lineDashOffset = gridLineOpts.borderDashOffset || 0.0;\r\n\t}\r\n\r\n\tctx.beginPath();\r\n\tif (circular) {\r\n\t\t// Draw circular arcs between the points\r\n\t\tctx.arc(scale.xCenter, scale.yCenter, radius, 0, Math.PI * 2);\r\n\t} else {\r\n\t\t// Draw straight lines connecting each index\r\n\t\tpointPosition = scale.getPointPosition(0, radius);\r\n\t\tctx.moveTo(pointPosition.x, pointPosition.y);\r\n\r\n\t\tfor (var i = 1; i < valueCount; i++) {\r\n\t\t\tpointPosition = scale.getPointPosition(i, radius);\r\n\t\t\tctx.lineTo(pointPosition.x, pointPosition.y);\r\n\t\t}\r\n\t}\r\n\tctx.closePath();\r\n\tctx.stroke();\r\n\tctx.restore();\r\n}\r\n\r\nfunction numberOrZero(param) {\r\n\treturn helpers$1.isNumber(param) ? param : 0;\r\n}\r\n\r\nvar scale_radialLinear = scale_linearbase.extend({\r\n\tsetDimensions: function() {\r\n\t\tvar me = this;\r\n\r\n\t\t// Set the unconstrained dimension before label rotation\r\n\t\tme.width = me.maxWidth;\r\n\t\tme.height = me.maxHeight;\r\n\t\tme.paddingTop = getTickBackdropHeight(me.options) / 2;\r\n\t\tme.xCenter = Math.floor(me.width / 2);\r\n\t\tme.yCenter = Math.floor((me.height - me.paddingTop) / 2);\r\n\t\tme.drawingArea = Math.min(me.height - me.paddingTop, me.width) / 2;\r\n\t},\r\n\r\n\tdetermineDataLimits: function() {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar min = Number.POSITIVE_INFINITY;\r\n\t\tvar max = Number.NEGATIVE_INFINITY;\r\n\r\n\t\thelpers$1.each(chart.data.datasets, function(dataset, datasetIndex) {\r\n\t\t\tif (chart.isDatasetVisible(datasetIndex)) {\r\n\t\t\t\tvar meta = chart.getDatasetMeta(datasetIndex);\r\n\r\n\t\t\t\thelpers$1.each(dataset.data, function(rawValue, index) {\r\n\t\t\t\t\tvar value = +me.getRightValue(rawValue);\r\n\t\t\t\t\tif (isNaN(value) || meta.data[index].hidden) {\r\n\t\t\t\t\t\treturn;\r\n\t\t\t\t\t}\r\n\r\n\t\t\t\t\tmin = Math.min(value, min);\r\n\t\t\t\t\tmax = Math.max(value, max);\r\n\t\t\t\t});\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\tme.min = (min === Number.POSITIVE_INFINITY ? 0 : min);\r\n\t\tme.max = (max === Number.NEGATIVE_INFINITY ? 0 : max);\r\n\r\n\t\t// Common base implementation to handle ticks.min, ticks.max, ticks.beginAtZero\r\n\t\tme.handleTickRangeOptions();\r\n\t},\r\n\r\n\t// Returns the maximum number of ticks based on the scale dimension\r\n\t_computeTickLimit: function() {\r\n\t\treturn Math.ceil(this.drawingArea / getTickBackdropHeight(this.options));\r\n\t},\r\n\r\n\tconvertTicksToLabels: function() {\r\n\t\tvar me = this;\r\n\r\n\t\tscale_linearbase.prototype.convertTicksToLabels.call(me);\r\n\r\n\t\t// Point labels\r\n\t\tme.pointLabels = me.chart.data.labels.map(function() {\r\n\t\t\tvar label = helpers$1.callback(me.options.pointLabels.callback, arguments, me);\r\n\t\t\treturn label || label === 0 ? label : '';\r\n\t\t});\r\n\t},\r\n\r\n\tgetLabelForIndex: function(index, datasetIndex) {\r\n\t\treturn +this.getRightValue(this.chart.data.datasets[datasetIndex].data[index]);\r\n\t},\r\n\r\n\tfit: function() {\r\n\t\tvar me = this;\r\n\t\tvar opts = me.options;\r\n\r\n\t\tif (opts.display && opts.pointLabels.display) {\r\n\t\t\tfitWithPointLabels(me);\r\n\t\t} else {\r\n\t\t\tme.setCenterPoint(0, 0, 0, 0);\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * Set radius reductions and determine new radius and center point\r\n\t * @private\r\n\t */\r\n\tsetReductions: function(largestPossibleRadius, furthestLimits, furthestAngles) {\r\n\t\tvar me = this;\r\n\t\tvar radiusReductionLeft = furthestLimits.l / Math.sin(furthestAngles.l);\r\n\t\tvar radiusReductionRight = Math.max(furthestLimits.r - me.width, 0) / Math.sin(furthestAngles.r);\r\n\t\tvar radiusReductionTop = -furthestLimits.t / Math.cos(furthestAngles.t);\r\n\t\tvar radiusReductionBottom = -Math.max(furthestLimits.b - (me.height - me.paddingTop), 0) / Math.cos(furthestAngles.b);\r\n\r\n\t\tradiusReductionLeft = numberOrZero(radiusReductionLeft);\r\n\t\tradiusReductionRight = numberOrZero(radiusReductionRight);\r\n\t\tradiusReductionTop = numberOrZero(radiusReductionTop);\r\n\t\tradiusReductionBottom = numberOrZero(radiusReductionBottom);\r\n\r\n\t\tme.drawingArea = Math.min(\r\n\t\t\tMath.floor(largestPossibleRadius - (radiusReductionLeft + radiusReductionRight) / 2),\r\n\t\t\tMath.floor(largestPossibleRadius - (radiusReductionTop + radiusReductionBottom) / 2));\r\n\t\tme.setCenterPoint(radiusReductionLeft, radiusReductionRight, radiusReductionTop, radiusReductionBottom);\r\n\t},\r\n\r\n\tsetCenterPoint: function(leftMovement, rightMovement, topMovement, bottomMovement) {\r\n\t\tvar me = this;\r\n\t\tvar maxRight = me.width - rightMovement - me.drawingArea;\r\n\t\tvar maxLeft = leftMovement + me.drawingArea;\r\n\t\tvar maxTop = topMovement + me.drawingArea;\r\n\t\tvar maxBottom = (me.height - me.paddingTop) - bottomMovement - me.drawingArea;\r\n\r\n\t\tme.xCenter = Math.floor(((maxLeft + maxRight) / 2) + me.left);\r\n\t\tme.yCenter = Math.floor(((maxTop + maxBottom) / 2) + me.top + me.paddingTop);\r\n\t},\r\n\r\n\tgetIndexAngle: function(index) {\r\n\t\tvar chart = this.chart;\r\n\t\tvar angleMultiplier = 360 / chart.data.labels.length;\r\n\t\tvar options = chart.options || {};\r\n\t\tvar startAngle = options.startAngle || 0;\r\n\r\n\t\t// Start from the top instead of right, so remove a quarter of the circle\r\n\t\tvar angle = (index * angleMultiplier + startAngle) % 360;\r\n\r\n\t\treturn (angle < 0 ? angle + 360 : angle) * Math.PI * 2 / 360;\r\n\t},\r\n\r\n\tgetDistanceFromCenterForValue: function(value) {\r\n\t\tvar me = this;\r\n\r\n\t\tif (helpers$1.isNullOrUndef(value)) {\r\n\t\t\treturn NaN;\r\n\t\t}\r\n\r\n\t\t// Take into account half font size + the yPadding of the top value\r\n\t\tvar scalingFactor = me.drawingArea / (me.max - me.min);\r\n\t\tif (me.options.ticks.reverse) {\r\n\t\t\treturn (me.max - value) * scalingFactor;\r\n\t\t}\r\n\t\treturn (value - me.min) * scalingFactor;\r\n\t},\r\n\r\n\tgetPointPosition: function(index, distanceFromCenter) {\r\n\t\tvar me = this;\r\n\t\tvar thisAngle = me.getIndexAngle(index) - (Math.PI / 2);\r\n\t\treturn {\r\n\t\t\tx: Math.cos(thisAngle) * distanceFromCenter + me.xCenter,\r\n\t\t\ty: Math.sin(thisAngle) * distanceFromCenter + me.yCenter\r\n\t\t};\r\n\t},\r\n\r\n\tgetPointPositionForValue: function(index, value) {\r\n\t\treturn this.getPointPosition(index, this.getDistanceFromCenterForValue(value));\r\n\t},\r\n\r\n\tgetBasePosition: function(index) {\r\n\t\tvar me = this;\r\n\t\tvar min = me.min;\r\n\t\tvar max = me.max;\r\n\r\n\t\treturn me.getPointPositionForValue(index || 0,\r\n\t\t\tme.beginAtZero ? 0 :\r\n\t\t\tmin < 0 && max < 0 ? max :\r\n\t\t\tmin > 0 && max > 0 ? min :\r\n\t\t\t0);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_drawGrid: function() {\r\n\t\tvar me = this;\r\n\t\tvar ctx = me.ctx;\r\n\t\tvar opts = me.options;\r\n\t\tvar gridLineOpts = opts.gridLines;\r\n\t\tvar angleLineOpts = opts.angleLines;\r\n\t\tvar lineWidth = valueOrDefault$c(angleLineOpts.lineWidth, gridLineOpts.lineWidth);\r\n\t\tvar lineColor = valueOrDefault$c(angleLineOpts.color, gridLineOpts.color);\r\n\t\tvar i, offset, position;\r\n\r\n\t\tif (opts.pointLabels.display) {\r\n\t\t\tdrawPointLabels(me);\r\n\t\t}\r\n\r\n\t\tif (gridLineOpts.display) {\r\n\t\t\thelpers$1.each(me.ticks, function(label, index) {\r\n\t\t\t\tif (index !== 0) {\r\n\t\t\t\t\toffset = me.getDistanceFromCenterForValue(me.ticksAsNumbers[index]);\r\n\t\t\t\t\tdrawRadiusLine(me, gridLineOpts, offset, index);\r\n\t\t\t\t}\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tif (angleLineOpts.display && lineWidth && lineColor) {\r\n\t\t\tctx.save();\r\n\t\t\tctx.lineWidth = lineWidth;\r\n\t\t\tctx.strokeStyle = lineColor;\r\n\t\t\tif (ctx.setLineDash) {\r\n\t\t\t\tctx.setLineDash(resolve$4([angleLineOpts.borderDash, gridLineOpts.borderDash, []]));\r\n\t\t\t\tctx.lineDashOffset = resolve$4([angleLineOpts.borderDashOffset, gridLineOpts.borderDashOffset, 0.0]);\r\n\t\t\t}\r\n\r\n\t\t\tfor (i = me.chart.data.labels.length - 1; i >= 0; i--) {\r\n\t\t\t\toffset = me.getDistanceFromCenterForValue(opts.ticks.reverse ? me.min : me.max);\r\n\t\t\t\tposition = me.getPointPosition(i, offset);\r\n\t\t\t\tctx.beginPath();\r\n\t\t\t\tctx.moveTo(me.xCenter, me.yCenter);\r\n\t\t\t\tctx.lineTo(position.x, position.y);\r\n\t\t\t\tctx.stroke();\r\n\t\t\t}\r\n\r\n\t\t\tctx.restore();\r\n\t\t}\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_drawLabels: function() {\r\n\t\tvar me = this;\r\n\t\tvar ctx = me.ctx;\r\n\t\tvar opts = me.options;\r\n\t\tvar tickOpts = opts.ticks;\r\n\r\n\t\tif (!tickOpts.display) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar startAngle = me.getIndexAngle(0);\r\n\t\tvar tickFont = helpers$1.options._parseFont(tickOpts);\r\n\t\tvar tickFontColor = valueOrDefault$c(tickOpts.fontColor, core_defaults.global.defaultFontColor);\r\n\t\tvar offset, width;\r\n\r\n\t\tctx.save();\r\n\t\tctx.font = tickFont.string;\r\n\t\tctx.translate(me.xCenter, me.yCenter);\r\n\t\tctx.rotate(startAngle);\r\n\t\tctx.textAlign = 'center';\r\n\t\tctx.textBaseline = 'middle';\r\n\r\n\t\thelpers$1.each(me.ticks, function(label, index) {\r\n\t\t\tif (index === 0 && !tickOpts.reverse) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\toffset = me.getDistanceFromCenterForValue(me.ticksAsNumbers[index]);\r\n\r\n\t\t\tif (tickOpts.showLabelBackdrop) {\r\n\t\t\t\twidth = ctx.measureText(label).width;\r\n\t\t\t\tctx.fillStyle = tickOpts.backdropColor;\r\n\r\n\t\t\t\tctx.fillRect(\r\n\t\t\t\t\t-width / 2 - tickOpts.backdropPaddingX,\r\n\t\t\t\t\t-offset - tickFont.size / 2 - tickOpts.backdropPaddingY,\r\n\t\t\t\t\twidth + tickOpts.backdropPaddingX * 2,\r\n\t\t\t\t\ttickFont.size + tickOpts.backdropPaddingY * 2\r\n\t\t\t\t);\r\n\t\t\t}\r\n\r\n\t\t\tctx.fillStyle = tickFontColor;\r\n\t\t\tctx.fillText(label, 0, -offset);\r\n\t\t});\r\n\r\n\t\tctx.restore();\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_drawTitle: helpers$1.noop\r\n});\r\n\r\n// INTERNAL: static default options, registered in src/index.js\r\nvar _defaults$3 = defaultConfig$3;\nscale_radialLinear._defaults = _defaults$3;\n\nvar deprecated$1 = helpers$1._deprecated;\r\nvar resolve$5 = helpers$1.options.resolve;\r\nvar valueOrDefault$d = helpers$1.valueOrDefault;\r\n\r\n// Integer constants are from the ES6 spec.\r\nvar MIN_INTEGER = Number.MIN_SAFE_INTEGER || -9007199254740991;\r\nvar MAX_INTEGER = Number.MAX_SAFE_INTEGER || 9007199254740991;\r\n\r\nvar INTERVALS = {\r\n\tmillisecond: {\r\n\t\tcommon: true,\r\n\t\tsize: 1,\r\n\t\tsteps: 1000\r\n\t},\r\n\tsecond: {\r\n\t\tcommon: true,\r\n\t\tsize: 1000,\r\n\t\tsteps: 60\r\n\t},\r\n\tminute: {\r\n\t\tcommon: true,\r\n\t\tsize: 60000,\r\n\t\tsteps: 60\r\n\t},\r\n\thour: {\r\n\t\tcommon: true,\r\n\t\tsize: 3600000,\r\n\t\tsteps: 24\r\n\t},\r\n\tday: {\r\n\t\tcommon: true,\r\n\t\tsize: 86400000,\r\n\t\tsteps: 30\r\n\t},\r\n\tweek: {\r\n\t\tcommon: false,\r\n\t\tsize: 604800000,\r\n\t\tsteps: 4\r\n\t},\r\n\tmonth: {\r\n\t\tcommon: true,\r\n\t\tsize: 2.628e9,\r\n\t\tsteps: 12\r\n\t},\r\n\tquarter: {\r\n\t\tcommon: false,\r\n\t\tsize: 7.884e9,\r\n\t\tsteps: 4\r\n\t},\r\n\tyear: {\r\n\t\tcommon: true,\r\n\t\tsize: 3.154e10\r\n\t}\r\n};\r\n\r\nvar UNITS = Object.keys(INTERVALS);\r\n\r\nfunction sorter(a, b) {\r\n\treturn a - b;\r\n}\r\n\r\nfunction arrayUnique(items) {\r\n\tvar hash = {};\r\n\tvar out = [];\r\n\tvar i, ilen, item;\r\n\r\n\tfor (i = 0, ilen = items.length; i < ilen; ++i) {\r\n\t\titem = items[i];\r\n\t\tif (!hash[item]) {\r\n\t\t\thash[item] = true;\r\n\t\t\tout.push(item);\r\n\t\t}\r\n\t}\r\n\r\n\treturn out;\r\n}\r\n\r\nfunction getMin(options) {\r\n\treturn helpers$1.valueOrDefault(options.time.min, options.ticks.min);\r\n}\r\n\r\nfunction getMax(options) {\r\n\treturn helpers$1.valueOrDefault(options.time.max, options.ticks.max);\r\n}\r\n\r\n/**\r\n * Returns an array of {time, pos} objects used to interpolate a specific `time` or position\r\n * (`pos`) on the scale, by searching entries before and after the requested value. `pos` is\r\n * a decimal between 0 and 1: 0 being the start of the scale (left or top) and 1 the other\r\n * extremity (left + width or top + height). Note that it would be more optimized to directly\r\n * store pre-computed pixels, but the scale dimensions are not guaranteed at the time we need\r\n * to create the lookup table. The table ALWAYS contains at least two items: min and max.\r\n *\r\n * @param {number[]} timestamps - timestamps sorted from lowest to highest.\r\n * @param {string} distribution - If 'linear', timestamps will be spread linearly along the min\r\n * and max range, so basically, the table will contains only two items: {min, 0} and {max, 1}.\r\n * If 'series', timestamps will be positioned at the same distance from each other. In this\r\n * case, only timestamps that break the time linearity are registered, meaning that in the\r\n * best case, all timestamps are linear, the table contains only min and max.\r\n */\r\nfunction buildLookupTable(timestamps, min, max, distribution) {\r\n\tif (distribution === 'linear' || !timestamps.length) {\r\n\t\treturn [\r\n\t\t\t{time: min, pos: 0},\r\n\t\t\t{time: max, pos: 1}\r\n\t\t];\r\n\t}\r\n\r\n\tvar table = [];\r\n\tvar items = [min];\r\n\tvar i, ilen, prev, curr, next;\r\n\r\n\tfor (i = 0, ilen = timestamps.length; i < ilen; ++i) {\r\n\t\tcurr = timestamps[i];\r\n\t\tif (curr > min && curr < max) {\r\n\t\t\titems.push(curr);\r\n\t\t}\r\n\t}\r\n\r\n\titems.push(max);\r\n\r\n\tfor (i = 0, ilen = items.length; i < ilen; ++i) {\r\n\t\tnext = items[i + 1];\r\n\t\tprev = items[i - 1];\r\n\t\tcurr = items[i];\r\n\r\n\t\t// only add points that breaks the scale linearity\r\n\t\tif (prev === undefined || next === undefined || Math.round((next + prev) / 2) !== curr) {\r\n\t\t\ttable.push({time: curr, pos: i / (ilen - 1)});\r\n\t\t}\r\n\t}\r\n\r\n\treturn table;\r\n}\r\n\r\n// @see adapted from https://www.anujgakhar.com/2014/03/01/binary-search-in-javascript/\r\nfunction lookup(table, key, value) {\r\n\tvar lo = 0;\r\n\tvar hi = table.length - 1;\r\n\tvar mid, i0, i1;\r\n\r\n\twhile (lo >= 0 && lo <= hi) {\r\n\t\tmid = (lo + hi) >> 1;\r\n\t\ti0 = table[mid - 1] || null;\r\n\t\ti1 = table[mid];\r\n\r\n\t\tif (!i0) {\r\n\t\t\t// given value is outside table (before first item)\r\n\t\t\treturn {lo: null, hi: i1};\r\n\t\t} else if (i1[key] < value) {\r\n\t\t\tlo = mid + 1;\r\n\t\t} else if (i0[key] > value) {\r\n\t\t\thi = mid - 1;\r\n\t\t} else {\r\n\t\t\treturn {lo: i0, hi: i1};\r\n\t\t}\r\n\t}\r\n\r\n\t// given value is outside table (after last item)\r\n\treturn {lo: i1, hi: null};\r\n}\r\n\r\n/**\r\n * Linearly interpolates the given source `value` using the table items `skey` values and\r\n * returns the associated `tkey` value. For example, interpolate(table, 'time', 42, 'pos')\r\n * returns the position for a timestamp equal to 42. If value is out of bounds, values at\r\n * index [0, 1] or [n - 1, n] are used for the interpolation.\r\n */\r\nfunction interpolate$1(table, skey, sval, tkey) {\r\n\tvar range = lookup(table, skey, sval);\r\n\r\n\t// Note: the lookup table ALWAYS contains at least 2 items (min and max)\r\n\tvar prev = !range.lo ? table[0] : !range.hi ? table[table.length - 2] : range.lo;\r\n\tvar next = !range.lo ? table[1] : !range.hi ? table[table.length - 1] : range.hi;\r\n\r\n\tvar span = next[skey] - prev[skey];\r\n\tvar ratio = span ? (sval - prev[skey]) / span : 0;\r\n\tvar offset = (next[tkey] - prev[tkey]) * ratio;\r\n\r\n\treturn prev[tkey] + offset;\r\n}\r\n\r\nfunction toTimestamp(scale, input) {\r\n\tvar adapter = scale._adapter;\r\n\tvar options = scale.options.time;\r\n\tvar parser = options.parser;\r\n\tvar format = parser || options.format;\r\n\tvar value = input;\r\n\r\n\tif (typeof parser === 'function') {\r\n\t\tvalue = parser(value);\r\n\t}\r\n\r\n\t// Only parse if its not a timestamp already\r\n\tif (!helpers$1.isFinite(value)) {\r\n\t\tvalue = typeof format === 'string'\r\n\t\t\t? adapter.parse(value, format)\r\n\t\t\t: adapter.parse(value);\r\n\t}\r\n\r\n\tif (value !== null) {\r\n\t\treturn +value;\r\n\t}\r\n\r\n\t// Labels are in an incompatible format and no `parser` has been provided.\r\n\t// The user might still use the deprecated `format` option for parsing.\r\n\tif (!parser && typeof format === 'function') {\r\n\t\tvalue = format(input);\r\n\r\n\t\t// `format` could return something else than a timestamp, if so, parse it\r\n\t\tif (!helpers$1.isFinite(value)) {\r\n\t\t\tvalue = adapter.parse(value);\r\n\t\t}\r\n\t}\r\n\r\n\treturn value;\r\n}\r\n\r\nfunction parse(scale, input) {\r\n\tif (helpers$1.isNullOrUndef(input)) {\r\n\t\treturn null;\r\n\t}\r\n\r\n\tvar options = scale.options.time;\r\n\tvar value = toTimestamp(scale, scale.getRightValue(input));\r\n\tif (value === null) {\r\n\t\treturn value;\r\n\t}\r\n\r\n\tif (options.round) {\r\n\t\tvalue = +scale._adapter.startOf(value, options.round);\r\n\t}\r\n\r\n\treturn value;\r\n}\r\n\r\n/**\r\n * Figures out what unit results in an appropriate number of auto-generated ticks\r\n */\r\nfunction determineUnitForAutoTicks(minUnit, min, max, capacity) {\r\n\tvar ilen = UNITS.length;\r\n\tvar i, interval, factor;\r\n\r\n\tfor (i = UNITS.indexOf(minUnit); i < ilen - 1; ++i) {\r\n\t\tinterval = INTERVALS[UNITS[i]];\r\n\t\tfactor = interval.steps ? interval.steps : MAX_INTEGER;\r\n\r\n\t\tif (interval.common && Math.ceil((max - min) / (factor * interval.size)) <= capacity) {\r\n\t\t\treturn UNITS[i];\r\n\t\t}\r\n\t}\r\n\r\n\treturn UNITS[ilen - 1];\r\n}\r\n\r\n/**\r\n * Figures out what unit to format a set of ticks with\r\n */\r\nfunction determineUnitForFormatting(scale, numTicks, minUnit, min, max) {\r\n\tvar i, unit;\r\n\r\n\tfor (i = UNITS.length - 1; i >= UNITS.indexOf(minUnit); i--) {\r\n\t\tunit = UNITS[i];\r\n\t\tif (INTERVALS[unit].common && scale._adapter.diff(max, min, unit) >= numTicks - 1) {\r\n\t\t\treturn unit;\r\n\t\t}\r\n\t}\r\n\r\n\treturn UNITS[minUnit ? UNITS.indexOf(minUnit) : 0];\r\n}\r\n\r\nfunction determineMajorUnit(unit) {\r\n\tfor (var i = UNITS.indexOf(unit) + 1, ilen = UNITS.length; i < ilen; ++i) {\r\n\t\tif (INTERVALS[UNITS[i]].common) {\r\n\t\t\treturn UNITS[i];\r\n\t\t}\r\n\t}\r\n}\r\n\r\n/**\r\n * Generates a maximum of `capacity` timestamps between min and max, rounded to the\r\n * `minor` unit using the given scale time `options`.\r\n * Important: this method can return ticks outside the min and max range, it's the\r\n * responsibility of the calling code to clamp values if needed.\r\n */\r\nfunction generate(scale, min, max, capacity) {\r\n\tvar adapter = scale._adapter;\r\n\tvar options = scale.options;\r\n\tvar timeOpts = options.time;\r\n\tvar minor = timeOpts.unit || determineUnitForAutoTicks(timeOpts.minUnit, min, max, capacity);\r\n\tvar stepSize = resolve$5([timeOpts.stepSize, timeOpts.unitStepSize, 1]);\r\n\tvar weekday = minor === 'week' ? timeOpts.isoWeekday : false;\r\n\tvar first = min;\r\n\tvar ticks = [];\r\n\tvar time;\r\n\r\n\t// For 'week' unit, handle the first day of week option\r\n\tif (weekday) {\r\n\t\tfirst = +adapter.startOf(first, 'isoWeek', weekday);\r\n\t}\r\n\r\n\t// Align first ticks on unit\r\n\tfirst = +adapter.startOf(first, weekday ? 'day' : minor);\r\n\r\n\t// Prevent browser from freezing in case user options request millions of milliseconds\r\n\tif (adapter.diff(max, min, minor) > 100000 * stepSize) {\r\n\t\tthrow min + ' and ' + max + ' are too far apart with stepSize of ' + stepSize + ' ' + minor;\r\n\t}\r\n\r\n\tfor (time = first; time < max; time = +adapter.add(time, stepSize, minor)) {\r\n\t\tticks.push(time);\r\n\t}\r\n\r\n\tif (time === max || options.bounds === 'ticks') {\r\n\t\tticks.push(time);\r\n\t}\r\n\r\n\treturn ticks;\r\n}\r\n\r\n/**\r\n * Returns the start and end offsets from edges in the form of {start, end}\r\n * where each value is a relative width to the scale and ranges between 0 and 1.\r\n * They add extra margins on the both sides by scaling down the original scale.\r\n * Offsets are added when the `offset` option is true.\r\n */\r\nfunction computeOffsets(table, ticks, min, max, options) {\r\n\tvar start = 0;\r\n\tvar end = 0;\r\n\tvar first, last;\r\n\r\n\tif (options.offset && ticks.length) {\r\n\t\tfirst = interpolate$1(table, 'time', ticks[0], 'pos');\r\n\t\tif (ticks.length === 1) {\r\n\t\t\tstart = 1 - first;\r\n\t\t} else {\r\n\t\t\tstart = (interpolate$1(table, 'time', ticks[1], 'pos') - first) / 2;\r\n\t\t}\r\n\t\tlast = interpolate$1(table, 'time', ticks[ticks.length - 1], 'pos');\r\n\t\tif (ticks.length === 1) {\r\n\t\t\tend = last;\r\n\t\t} else {\r\n\t\t\tend = (last - interpolate$1(table, 'time', ticks[ticks.length - 2], 'pos')) / 2;\r\n\t\t}\r\n\t}\r\n\r\n\treturn {start: start, end: end, factor: 1 / (start + 1 + end)};\r\n}\r\n\r\nfunction setMajorTicks(scale, ticks, map, majorUnit) {\r\n\tvar adapter = scale._adapter;\r\n\tvar first = +adapter.startOf(ticks[0].value, majorUnit);\r\n\tvar last = ticks[ticks.length - 1].value;\r\n\tvar major, index;\r\n\r\n\tfor (major = first; major <= last; major = +adapter.add(major, 1, majorUnit)) {\r\n\t\tindex = map[major];\r\n\t\tif (index >= 0) {\r\n\t\t\tticks[index].major = true;\r\n\t\t}\r\n\t}\r\n\treturn ticks;\r\n}\r\n\r\nfunction ticksFromTimestamps(scale, values, majorUnit) {\r\n\tvar ticks = [];\r\n\tvar map = {};\r\n\tvar ilen = values.length;\r\n\tvar i, value;\r\n\r\n\tfor (i = 0; i < ilen; ++i) {\r\n\t\tvalue = values[i];\r\n\t\tmap[value] = i;\r\n\r\n\t\tticks.push({\r\n\t\t\tvalue: value,\r\n\t\t\tmajor: false\r\n\t\t});\r\n\t}\r\n\r\n\t// We set the major ticks separately from the above loop because calling startOf for every tick\r\n\t// is expensive when there is a large number of ticks\r\n\treturn (ilen === 0 || !majorUnit) ? ticks : setMajorTicks(scale, ticks, map, majorUnit);\r\n}\r\n\r\nvar defaultConfig$4 = {\r\n\tposition: 'bottom',\r\n\r\n\t/**\r\n\t * Data distribution along the scale:\r\n\t * - 'linear': data are spread according to their time (distances can vary),\r\n\t * - 'series': data are spread at the same distance from each other.\r\n\t * @see https://github.com/chartjs/Chart.js/pull/4507\r\n\t * @since 2.7.0\r\n\t */\r\n\tdistribution: 'linear',\r\n\r\n\t/**\r\n\t * Scale boundary strategy (bypassed by min/max time options)\r\n\t * - `data`: make sure data are fully visible, ticks outside are removed\r\n\t * - `ticks`: make sure ticks are fully visible, data outside are truncated\r\n\t * @see https://github.com/chartjs/Chart.js/pull/4556\r\n\t * @since 2.7.0\r\n\t */\r\n\tbounds: 'data',\r\n\r\n\tadapters: {},\r\n\ttime: {\r\n\t\tparser: false, // false == a pattern string from https://momentjs.com/docs/#/parsing/string-format/ or a custom callback that converts its argument to a moment\r\n\t\tunit: false, // false == automatic or override with week, month, year, etc.\r\n\t\tround: false, // none, or override with week, month, year, etc.\r\n\t\tdisplayFormat: false, // DEPRECATED\r\n\t\tisoWeekday: false, // override week start day - see https://momentjs.com/docs/#/get-set/iso-weekday/\r\n\t\tminUnit: 'millisecond',\r\n\t\tdisplayFormats: {}\r\n\t},\r\n\tticks: {\r\n\t\tautoSkip: false,\r\n\r\n\t\t/**\r\n\t\t * Ticks generation input values:\r\n\t\t * - 'auto': generates \"optimal\" ticks based on scale size and time options.\r\n\t\t * - 'data': generates ticks from data (including labels from data {t|x|y} objects).\r\n\t\t * - 'labels': generates ticks from user given `data.labels` values ONLY.\r\n\t\t * @see https://github.com/chartjs/Chart.js/pull/4507\r\n\t\t * @since 2.7.0\r\n\t\t */\r\n\t\tsource: 'auto',\r\n\r\n\t\tmajor: {\r\n\t\t\tenabled: false\r\n\t\t}\r\n\t}\r\n};\r\n\r\nvar scale_time = core_scale.extend({\r\n\tinitialize: function() {\r\n\t\tthis.mergeTicksOptions();\r\n\t\tcore_scale.prototype.initialize.call(this);\r\n\t},\r\n\r\n\tupdate: function() {\r\n\t\tvar me = this;\r\n\t\tvar options = me.options;\r\n\t\tvar time = options.time || (options.time = {});\r\n\t\tvar adapter = me._adapter = new core_adapters._date(options.adapters.date);\r\n\r\n\t\t// DEPRECATIONS: output a message only one time per update\r\n\t\tdeprecated$1('time scale', time.format, 'time.format', 'time.parser');\r\n\t\tdeprecated$1('time scale', time.min, 'time.min', 'ticks.min');\r\n\t\tdeprecated$1('time scale', time.max, 'time.max', 'ticks.max');\r\n\r\n\t\t// Backward compatibility: before introducing adapter, `displayFormats` was\r\n\t\t// supposed to contain *all* unit/string pairs but this can't be resolved\r\n\t\t// when loading the scale (adapters are loaded afterward), so let's populate\r\n\t\t// missing formats on update\r\n\t\thelpers$1.mergeIf(time.displayFormats, adapter.formats());\r\n\r\n\t\treturn core_scale.prototype.update.apply(me, arguments);\r\n\t},\r\n\r\n\t/**\r\n\t * Allows data to be referenced via 't' attribute\r\n\t */\r\n\tgetRightValue: function(rawValue) {\r\n\t\tif (rawValue && rawValue.t !== undefined) {\r\n\t\t\trawValue = rawValue.t;\r\n\t\t}\r\n\t\treturn core_scale.prototype.getRightValue.call(this, rawValue);\r\n\t},\r\n\r\n\tdetermineDataLimits: function() {\r\n\t\tvar me = this;\r\n\t\tvar chart = me.chart;\r\n\t\tvar adapter = me._adapter;\r\n\t\tvar options = me.options;\r\n\t\tvar unit = options.time.unit || 'day';\r\n\t\tvar min = MAX_INTEGER;\r\n\t\tvar max = MIN_INTEGER;\r\n\t\tvar timestamps = [];\r\n\t\tvar datasets = [];\r\n\t\tvar labels = [];\r\n\t\tvar i, j, ilen, jlen, data, timestamp, labelsAdded;\r\n\t\tvar dataLabels = me._getLabels();\r\n\r\n\t\tfor (i = 0, ilen = dataLabels.length; i < ilen; ++i) {\r\n\t\t\tlabels.push(parse(me, dataLabels[i]));\r\n\t\t}\r\n\r\n\t\tfor (i = 0, ilen = (chart.data.datasets || []).length; i < ilen; ++i) {\r\n\t\t\tif (chart.isDatasetVisible(i)) {\r\n\t\t\t\tdata = chart.data.datasets[i].data;\r\n\r\n\t\t\t\t// Let's consider that all data have the same format.\r\n\t\t\t\tif (helpers$1.isObject(data[0])) {\r\n\t\t\t\t\tdatasets[i] = [];\r\n\r\n\t\t\t\t\tfor (j = 0, jlen = data.length; j < jlen; ++j) {\r\n\t\t\t\t\t\ttimestamp = parse(me, data[j]);\r\n\t\t\t\t\t\ttimestamps.push(timestamp);\r\n\t\t\t\t\t\tdatasets[i][j] = timestamp;\r\n\t\t\t\t\t}\r\n\t\t\t\t} else {\r\n\t\t\t\t\tdatasets[i] = labels.slice(0);\r\n\t\t\t\t\tif (!labelsAdded) {\r\n\t\t\t\t\t\ttimestamps = timestamps.concat(labels);\r\n\t\t\t\t\t\tlabelsAdded = true;\r\n\t\t\t\t\t}\r\n\t\t\t\t}\r\n\t\t\t} else {\r\n\t\t\t\tdatasets[i] = [];\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tif (labels.length) {\r\n\t\t\tmin = Math.min(min, labels[0]);\r\n\t\t\tmax = Math.max(max, labels[labels.length - 1]);\r\n\t\t}\r\n\r\n\t\tif (timestamps.length) {\r\n\t\t\ttimestamps = ilen > 1 ? arrayUnique(timestamps).sort(sorter) : timestamps.sort(sorter);\r\n\t\t\tmin = Math.min(min, timestamps[0]);\r\n\t\t\tmax = Math.max(max, timestamps[timestamps.length - 1]);\r\n\t\t}\r\n\r\n\t\tmin = parse(me, getMin(options)) || min;\r\n\t\tmax = parse(me, getMax(options)) || max;\r\n\r\n\t\t// In case there is no valid min/max, set limits based on unit time option\r\n\t\tmin = min === MAX_INTEGER ? +adapter.startOf(Date.now(), unit) : min;\r\n\t\tmax = max === MIN_INTEGER ? +adapter.endOf(Date.now(), unit) + 1 : max;\r\n\r\n\t\t// Make sure that max is strictly higher than min (required by the lookup table)\r\n\t\tme.min = Math.min(min, max);\r\n\t\tme.max = Math.max(min + 1, max);\r\n\r\n\t\t// PRIVATE\r\n\t\tme._table = [];\r\n\t\tme._timestamps = {\r\n\t\t\tdata: timestamps,\r\n\t\t\tdatasets: datasets,\r\n\t\t\tlabels: labels\r\n\t\t};\r\n\t},\r\n\r\n\tbuildTicks: function() {\r\n\t\tvar me = this;\r\n\t\tvar min = me.min;\r\n\t\tvar max = me.max;\r\n\t\tvar options = me.options;\r\n\t\tvar tickOpts = options.ticks;\r\n\t\tvar timeOpts = options.time;\r\n\t\tvar timestamps = me._timestamps;\r\n\t\tvar ticks = [];\r\n\t\tvar capacity = me.getLabelCapacity(min);\r\n\t\tvar source = tickOpts.source;\r\n\t\tvar distribution = options.distribution;\r\n\t\tvar i, ilen, timestamp;\r\n\r\n\t\tif (source === 'data' || (source === 'auto' && distribution === 'series')) {\r\n\t\t\ttimestamps = timestamps.data;\r\n\t\t} else if (source === 'labels') {\r\n\t\t\ttimestamps = timestamps.labels;\r\n\t\t} else {\r\n\t\t\ttimestamps = generate(me, min, max, capacity);\r\n\t\t}\r\n\r\n\t\tif (options.bounds === 'ticks' && timestamps.length) {\r\n\t\t\tmin = timestamps[0];\r\n\t\t\tmax = timestamps[timestamps.length - 1];\r\n\t\t}\r\n\r\n\t\t// Enforce limits with user min/max options\r\n\t\tmin = parse(me, getMin(options)) || min;\r\n\t\tmax = parse(me, getMax(options)) || max;\r\n\r\n\t\t// Remove ticks outside the min/max range\r\n\t\tfor (i = 0, ilen = timestamps.length; i < ilen; ++i) {\r\n\t\t\ttimestamp = timestamps[i];\r\n\t\t\tif (timestamp >= min && timestamp <= max) {\r\n\t\t\t\tticks.push(timestamp);\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\tme.min = min;\r\n\t\tme.max = max;\r\n\r\n\t\t// PRIVATE\r\n\t\t// determineUnitForFormatting relies on the number of ticks so we don't use it when\r\n\t\t// autoSkip is enabled because we don't yet know what the final number of ticks will be\r\n\t\tme._unit = timeOpts.unit || (tickOpts.autoSkip\r\n\t\t\t? determineUnitForAutoTicks(timeOpts.minUnit, me.min, me.max, capacity)\r\n\t\t\t: determineUnitForFormatting(me, ticks.length, timeOpts.minUnit, me.min, me.max));\r\n\t\tme._majorUnit = !tickOpts.major.enabled || me._unit === 'year' ? undefined\r\n\t\t\t: determineMajorUnit(me._unit);\r\n\t\tme._table = buildLookupTable(me._timestamps.data, min, max, distribution);\r\n\t\tme._offsets = computeOffsets(me._table, ticks, min, max, options);\r\n\r\n\t\tif (tickOpts.reverse) {\r\n\t\t\tticks.reverse();\r\n\t\t}\r\n\r\n\t\treturn ticksFromTimestamps(me, ticks, me._majorUnit);\r\n\t},\r\n\r\n\tgetLabelForIndex: function(index, datasetIndex) {\r\n\t\tvar me = this;\r\n\t\tvar adapter = me._adapter;\r\n\t\tvar data = me.chart.data;\r\n\t\tvar timeOpts = me.options.time;\r\n\t\tvar label = data.labels && index < data.labels.length ? data.labels[index] : '';\r\n\t\tvar value = data.datasets[datasetIndex].data[index];\r\n\r\n\t\tif (helpers$1.isObject(value)) {\r\n\t\t\tlabel = me.getRightValue(value);\r\n\t\t}\r\n\t\tif (timeOpts.tooltipFormat) {\r\n\t\t\treturn adapter.format(toTimestamp(me, label), timeOpts.tooltipFormat);\r\n\t\t}\r\n\t\tif (typeof label === 'string') {\r\n\t\t\treturn label;\r\n\t\t}\r\n\t\treturn adapter.format(toTimestamp(me, label), timeOpts.displayFormats.datetime);\r\n\t},\r\n\r\n\t/**\r\n\t * Function to format an individual tick mark\r\n\t * @private\r\n\t */\r\n\ttickFormatFunction: function(time, index, ticks, format) {\r\n\t\tvar me = this;\r\n\t\tvar adapter = me._adapter;\r\n\t\tvar options = me.options;\r\n\t\tvar formats = options.time.displayFormats;\r\n\t\tvar minorFormat = formats[me._unit];\r\n\t\tvar majorUnit = me._majorUnit;\r\n\t\tvar majorFormat = formats[majorUnit];\r\n\t\tvar tick = ticks[index];\r\n\t\tvar tickOpts = options.ticks;\r\n\t\tvar major = majorUnit && majorFormat && tick && tick.major;\r\n\t\tvar label = adapter.format(time, format ? format : major ? majorFormat : minorFormat);\r\n\t\tvar nestedTickOpts = major ? tickOpts.major : tickOpts.minor;\r\n\t\tvar formatter = resolve$5([\r\n\t\t\tnestedTickOpts.callback,\r\n\t\t\tnestedTickOpts.userCallback,\r\n\t\t\ttickOpts.callback,\r\n\t\t\ttickOpts.userCallback\r\n\t\t]);\r\n\r\n\t\treturn formatter ? formatter(label, index, ticks) : label;\r\n\t},\r\n\r\n\tconvertTicksToLabels: function(ticks) {\r\n\t\tvar labels = [];\r\n\t\tvar i, ilen;\r\n\r\n\t\tfor (i = 0, ilen = ticks.length; i < ilen; ++i) {\r\n\t\t\tlabels.push(this.tickFormatFunction(ticks[i].value, i, ticks));\r\n\t\t}\r\n\r\n\t\treturn labels;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tgetPixelForOffset: function(time) {\r\n\t\tvar me = this;\r\n\t\tvar offsets = me._offsets;\r\n\t\tvar pos = interpolate$1(me._table, 'time', time, 'pos');\r\n\t\treturn me.getPixelForDecimal((offsets.start + pos) * offsets.factor);\r\n\t},\r\n\r\n\tgetPixelForValue: function(value, index, datasetIndex) {\r\n\t\tvar me = this;\r\n\t\tvar time = null;\r\n\r\n\t\tif (index !== undefined && datasetIndex !== undefined) {\r\n\t\t\ttime = me._timestamps.datasets[datasetIndex][index];\r\n\t\t}\r\n\r\n\t\tif (time === null) {\r\n\t\t\ttime = parse(me, value);\r\n\t\t}\r\n\r\n\t\tif (time !== null) {\r\n\t\t\treturn me.getPixelForOffset(time);\r\n\t\t}\r\n\t},\r\n\r\n\tgetPixelForTick: function(index) {\r\n\t\tvar ticks = this.getTicks();\r\n\t\treturn index >= 0 && index < ticks.length ?\r\n\t\t\tthis.getPixelForOffset(ticks[index].value) :\r\n\t\t\tnull;\r\n\t},\r\n\r\n\tgetValueForPixel: function(pixel) {\r\n\t\tvar me = this;\r\n\t\tvar offsets = me._offsets;\r\n\t\tvar pos = me.getDecimalForPixel(pixel) / offsets.factor - offsets.end;\r\n\t\tvar time = interpolate$1(me._table, 'pos', pos, 'time');\r\n\r\n\t\t// DEPRECATION, we should return time directly\r\n\t\treturn me._adapter._create(time);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getLabelSize: function(label) {\r\n\t\tvar me = this;\r\n\t\tvar ticksOpts = me.options.ticks;\r\n\t\tvar tickLabelWidth = me.ctx.measureText(label).width;\r\n\t\tvar angle = helpers$1.toRadians(me.isHorizontal() ? ticksOpts.maxRotation : ticksOpts.minRotation);\r\n\t\tvar cosRotation = Math.cos(angle);\r\n\t\tvar sinRotation = Math.sin(angle);\r\n\t\tvar tickFontSize = valueOrDefault$d(ticksOpts.fontSize, core_defaults.global.defaultFontSize);\r\n\r\n\t\treturn {\r\n\t\t\tw: (tickLabelWidth * cosRotation) + (tickFontSize * sinRotation),\r\n\t\t\th: (tickLabelWidth * sinRotation) + (tickFontSize * cosRotation)\r\n\t\t};\r\n\t},\r\n\r\n\t/**\r\n\t * Crude approximation of what the label width might be\r\n\t * @private\r\n\t */\r\n\tgetLabelWidth: function(label) {\r\n\t\treturn this._getLabelSize(label).w;\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\tgetLabelCapacity: function(exampleTime) {\r\n\t\tvar me = this;\r\n\t\tvar timeOpts = me.options.time;\r\n\t\tvar displayFormats = timeOpts.displayFormats;\r\n\r\n\t\t// pick the longest format (milliseconds) for guestimation\r\n\t\tvar format = displayFormats[timeOpts.unit] || displayFormats.millisecond;\r\n\t\tvar exampleLabel = me.tickFormatFunction(exampleTime, 0, ticksFromTimestamps(me, [exampleTime], me._majorUnit), format);\r\n\t\tvar size = me._getLabelSize(exampleLabel);\r\n\t\tvar capacity = Math.floor(me.isHorizontal() ? me.width / size.w : me.height / size.h);\r\n\r\n\t\tif (me.options.offset) {\r\n\t\t\tcapacity--;\r\n\t\t}\r\n\r\n\t\treturn capacity > 0 ? capacity : 1;\r\n\t}\r\n});\r\n\r\n// INTERNAL: static default options, registered in src/index.js\r\nvar _defaults$4 = defaultConfig$4;\nscale_time._defaults = _defaults$4;\n\nvar scales = {\r\n\tcategory: scale_category,\r\n\tlinear: scale_linear,\r\n\tlogarithmic: scale_logarithmic,\r\n\tradialLinear: scale_radialLinear,\r\n\ttime: scale_time\r\n};\n\nvar FORMATS = {\r\n\tdatetime: 'MMM D, YYYY, h:mm:ss a',\r\n\tmillisecond: 'h:mm:ss.SSS a',\r\n\tsecond: 'h:mm:ss a',\r\n\tminute: 'h:mm a',\r\n\thour: 'hA',\r\n\tday: 'MMM D',\r\n\tweek: 'll',\r\n\tmonth: 'MMM YYYY',\r\n\tquarter: '[Q]Q - YYYY',\r\n\tyear: 'YYYY'\r\n};\r\n\r\ncore_adapters._date.override(typeof moment === 'function' ? {\r\n\t_id: 'moment', // DEBUG ONLY\r\n\r\n\tformats: function() {\r\n\t\treturn FORMATS;\r\n\t},\r\n\r\n\tparse: function(value, format) {\r\n\t\tif (typeof value === 'string' && typeof format === 'string') {\r\n\t\t\tvalue = moment(value, format);\r\n\t\t} else if (!(value instanceof moment)) {\r\n\t\t\tvalue = moment(value);\r\n\t\t}\r\n\t\treturn value.isValid() ? value.valueOf() : null;\r\n\t},\r\n\r\n\tformat: function(time, format) {\r\n\t\treturn moment(time).format(format);\r\n\t},\r\n\r\n\tadd: function(time, amount, unit) {\r\n\t\treturn moment(time).add(amount, unit).valueOf();\r\n\t},\r\n\r\n\tdiff: function(max, min, unit) {\r\n\t\treturn moment(max).diff(moment(min), unit);\r\n\t},\r\n\r\n\tstartOf: function(time, unit, weekday) {\r\n\t\ttime = moment(time);\r\n\t\tif (unit === 'isoWeek') {\r\n\t\t\treturn time.isoWeekday(weekday).valueOf();\r\n\t\t}\r\n\t\treturn time.startOf(unit).valueOf();\r\n\t},\r\n\r\n\tendOf: function(time, unit) {\r\n\t\treturn moment(time).endOf(unit).valueOf();\r\n\t},\r\n\r\n\t// DEPRECATIONS\r\n\r\n\t/**\r\n\t * Provided for backward compatibility with scale.getValueForPixel().\r\n\t * @deprecated since version 2.8.0\r\n\t * @todo remove at version 3\r\n\t * @private\r\n\t */\r\n\t_create: function(time) {\r\n\t\treturn moment(time);\r\n\t},\r\n} : {});\n\ncore_defaults._set('global', {\r\n\tplugins: {\r\n\t\tfiller: {\r\n\t\t\tpropagate: true\r\n\t\t}\r\n\t}\r\n});\r\n\r\nvar mappers = {\r\n\tdataset: function(source) {\r\n\t\tvar index = source.fill;\r\n\t\tvar chart = source.chart;\r\n\t\tvar meta = chart.getDatasetMeta(index);\r\n\t\tvar visible = meta && chart.isDatasetVisible(index);\r\n\t\tvar points = (visible && meta.dataset._children) || [];\r\n\t\tvar length = points.length || 0;\r\n\r\n\t\treturn !length ? null : function(point, i) {\r\n\t\t\treturn (i < length && points[i]._view) || null;\r\n\t\t};\r\n\t},\r\n\r\n\tboundary: function(source) {\r\n\t\tvar boundary = source.boundary;\r\n\t\tvar x = boundary ? boundary.x : null;\r\n\t\tvar y = boundary ? boundary.y : null;\r\n\r\n\t\tif (helpers$1.isArray(boundary)) {\r\n\t\t\treturn function(point, i) {\r\n\t\t\t\treturn boundary[i];\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\treturn function(point) {\r\n\t\t\treturn {\r\n\t\t\t\tx: x === null ? point.x : x,\r\n\t\t\t\ty: y === null ? point.y : y,\r\n\t\t\t};\r\n\t\t};\r\n\t}\r\n};\r\n\r\n// @todo if (fill[0] === '#')\r\nfunction decodeFill(el, index, count) {\r\n\tvar model = el._model || {};\r\n\tvar fill = model.fill;\r\n\tvar target;\r\n\r\n\tif (fill === undefined) {\r\n\t\tfill = !!model.backgroundColor;\r\n\t}\r\n\r\n\tif (fill === false || fill === null) {\r\n\t\treturn false;\r\n\t}\r\n\r\n\tif (fill === true) {\r\n\t\treturn 'origin';\r\n\t}\r\n\r\n\ttarget = parseFloat(fill, 10);\r\n\tif (isFinite(target) && Math.floor(target) === target) {\r\n\t\tif (fill[0] === '-' || fill[0] === '+') {\r\n\t\t\ttarget = index + target;\r\n\t\t}\r\n\r\n\t\tif (target === index || target < 0 || target >= count) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\treturn target;\r\n\t}\r\n\r\n\tswitch (fill) {\r\n\t// compatibility\r\n\tcase 'bottom':\r\n\t\treturn 'start';\r\n\tcase 'top':\r\n\t\treturn 'end';\r\n\tcase 'zero':\r\n\t\treturn 'origin';\r\n\t// supported boundaries\r\n\tcase 'origin':\r\n\tcase 'start':\r\n\tcase 'end':\r\n\t\treturn fill;\r\n\t// invalid fill values\r\n\tdefault:\r\n\t\treturn false;\r\n\t}\r\n}\r\n\r\nfunction computeLinearBoundary(source) {\r\n\tvar model = source.el._model || {};\r\n\tvar scale = source.el._scale || {};\r\n\tvar fill = source.fill;\r\n\tvar target = null;\r\n\tvar horizontal;\r\n\r\n\tif (isFinite(fill)) {\r\n\t\treturn null;\r\n\t}\r\n\r\n\t// Backward compatibility: until v3, we still need to support boundary values set on\r\n\t// the model (scaleTop, scaleBottom and scaleZero) because some external plugins and\r\n\t// controllers might still use it (e.g. the Smith chart).\r\n\r\n\tif (fill === 'start') {\r\n\t\ttarget = model.scaleBottom === undefined ? scale.bottom : model.scaleBottom;\r\n\t} else if (fill === 'end') {\r\n\t\ttarget = model.scaleTop === undefined ? scale.top : model.scaleTop;\r\n\t} else if (model.scaleZero !== undefined) {\r\n\t\ttarget = model.scaleZero;\r\n\t} else if (scale.getBasePixel) {\r\n\t\ttarget = scale.getBasePixel();\r\n\t}\r\n\r\n\tif (target !== undefined && target !== null) {\r\n\t\tif (target.x !== undefined && target.y !== undefined) {\r\n\t\t\treturn target;\r\n\t\t}\r\n\r\n\t\tif (helpers$1.isFinite(target)) {\r\n\t\t\thorizontal = scale.isHorizontal();\r\n\t\t\treturn {\r\n\t\t\t\tx: horizontal ? target : null,\r\n\t\t\t\ty: horizontal ? null : target\r\n\t\t\t};\r\n\t\t}\r\n\t}\r\n\r\n\treturn null;\r\n}\r\n\r\nfunction computeCircularBoundary(source) {\r\n\tvar scale = source.el._scale;\r\n\tvar options = scale.options;\r\n\tvar length = scale.chart.data.labels.length;\r\n\tvar fill = source.fill;\r\n\tvar target = [];\r\n\tvar start, end, center, i, point;\r\n\r\n\tif (!length) {\r\n\t\treturn null;\r\n\t}\r\n\r\n\tstart = options.ticks.reverse ? scale.max : scale.min;\r\n\tend = options.ticks.reverse ? scale.min : scale.max;\r\n\tcenter = scale.getPointPositionForValue(0, start);\r\n\tfor (i = 0; i < length; ++i) {\r\n\t\tpoint = fill === 'start' || fill === 'end'\r\n\t\t\t? scale.getPointPositionForValue(i, fill === 'start' ? start : end)\r\n\t\t\t: scale.getBasePosition(i);\r\n\t\tif (options.gridLines.circular) {\r\n\t\t\tpoint.cx = center.x;\r\n\t\t\tpoint.cy = center.y;\r\n\t\t\tpoint.angle = scale.getIndexAngle(i) - Math.PI / 2;\r\n\t\t}\r\n\t\ttarget.push(point);\r\n\t}\r\n\treturn target;\r\n}\r\n\r\nfunction computeBoundary(source) {\r\n\tvar scale = source.el._scale || {};\r\n\r\n\tif (scale.getPointPositionForValue) {\r\n\t\treturn computeCircularBoundary(source);\r\n\t}\r\n\treturn computeLinearBoundary(source);\r\n}\r\n\r\nfunction resolveTarget(sources, index, propagate) {\r\n\tvar source = sources[index];\r\n\tvar fill = source.fill;\r\n\tvar visited = [index];\r\n\tvar target;\r\n\r\n\tif (!propagate) {\r\n\t\treturn fill;\r\n\t}\r\n\r\n\twhile (fill !== false && visited.indexOf(fill) === -1) {\r\n\t\tif (!isFinite(fill)) {\r\n\t\t\treturn fill;\r\n\t\t}\r\n\r\n\t\ttarget = sources[fill];\r\n\t\tif (!target) {\r\n\t\t\treturn false;\r\n\t\t}\r\n\r\n\t\tif (target.visible) {\r\n\t\t\treturn fill;\r\n\t\t}\r\n\r\n\t\tvisited.push(fill);\r\n\t\tfill = target.fill;\r\n\t}\r\n\r\n\treturn false;\r\n}\r\n\r\nfunction createMapper(source) {\r\n\tvar fill = source.fill;\r\n\tvar type = 'dataset';\r\n\r\n\tif (fill === false) {\r\n\t\treturn null;\r\n\t}\r\n\r\n\tif (!isFinite(fill)) {\r\n\t\ttype = 'boundary';\r\n\t}\r\n\r\n\treturn mappers[type](source);\r\n}\r\n\r\nfunction isDrawable(point) {\r\n\treturn point && !point.skip;\r\n}\r\n\r\nfunction drawArea(ctx, curve0, curve1, len0, len1) {\r\n\tvar i, cx, cy, r;\r\n\r\n\tif (!len0 || !len1) {\r\n\t\treturn;\r\n\t}\r\n\r\n\t// building first area curve (normal)\r\n\tctx.moveTo(curve0[0].x, curve0[0].y);\r\n\tfor (i = 1; i < len0; ++i) {\r\n\t\thelpers$1.canvas.lineTo(ctx, curve0[i - 1], curve0[i]);\r\n\t}\r\n\r\n\tif (curve1[0].angle !== undefined) {\r\n\t\tcx = curve1[0].cx;\r\n\t\tcy = curve1[0].cy;\r\n\t\tr = Math.sqrt(Math.pow(curve1[0].x - cx, 2) + Math.pow(curve1[0].y - cy, 2));\r\n\t\tfor (i = len1 - 1; i > 0; --i) {\r\n\t\t\tctx.arc(cx, cy, r, curve1[i].angle, curve1[i - 1].angle, true);\r\n\t\t}\r\n\t\treturn;\r\n\t}\r\n\r\n\t// joining the two area curves\r\n\tctx.lineTo(curve1[len1 - 1].x, curve1[len1 - 1].y);\r\n\r\n\t// building opposite area curve (reverse)\r\n\tfor (i = len1 - 1; i > 0; --i) {\r\n\t\thelpers$1.canvas.lineTo(ctx, curve1[i], curve1[i - 1], true);\r\n\t}\r\n}\r\n\r\nfunction doFill(ctx, points, mapper, view, color, loop) {\r\n\tvar count = points.length;\r\n\tvar span = view.spanGaps;\r\n\tvar curve0 = [];\r\n\tvar curve1 = [];\r\n\tvar len0 = 0;\r\n\tvar len1 = 0;\r\n\tvar i, ilen, index, p0, p1, d0, d1, loopOffset;\r\n\r\n\tctx.beginPath();\r\n\r\n\tfor (i = 0, ilen = count; i < ilen; ++i) {\r\n\t\tindex = i % count;\r\n\t\tp0 = points[index]._view;\r\n\t\tp1 = mapper(p0, index, view);\r\n\t\td0 = isDrawable(p0);\r\n\t\td1 = isDrawable(p1);\r\n\r\n\t\tif (loop && loopOffset === undefined && d0) {\r\n\t\t\tloopOffset = i + 1;\r\n\t\t\tilen = count + loopOffset;\r\n\t\t}\r\n\r\n\t\tif (d0 && d1) {\r\n\t\t\tlen0 = curve0.push(p0);\r\n\t\t\tlen1 = curve1.push(p1);\r\n\t\t} else if (len0 && len1) {\r\n\t\t\tif (!span) {\r\n\t\t\t\tdrawArea(ctx, curve0, curve1, len0, len1);\r\n\t\t\t\tlen0 = len1 = 0;\r\n\t\t\t\tcurve0 = [];\r\n\t\t\t\tcurve1 = [];\r\n\t\t\t} else {\r\n\t\t\t\tif (d0) {\r\n\t\t\t\t\tcurve0.push(p0);\r\n\t\t\t\t}\r\n\t\t\t\tif (d1) {\r\n\t\t\t\t\tcurve1.push(p1);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n\r\n\tdrawArea(ctx, curve0, curve1, len0, len1);\r\n\r\n\tctx.closePath();\r\n\tctx.fillStyle = color;\r\n\tctx.fill();\r\n}\r\n\r\nvar plugin_filler = {\r\n\tid: 'filler',\r\n\r\n\tafterDatasetsUpdate: function(chart, options) {\r\n\t\tvar count = (chart.data.datasets || []).length;\r\n\t\tvar propagate = options.propagate;\r\n\t\tvar sources = [];\r\n\t\tvar meta, i, el, source;\r\n\r\n\t\tfor (i = 0; i < count; ++i) {\r\n\t\t\tmeta = chart.getDatasetMeta(i);\r\n\t\t\tel = meta.dataset;\r\n\t\t\tsource = null;\r\n\r\n\t\t\tif (el && el._model && el instanceof elements.Line) {\r\n\t\t\t\tsource = {\r\n\t\t\t\t\tvisible: chart.isDatasetVisible(i),\r\n\t\t\t\t\tfill: decodeFill(el, i, count),\r\n\t\t\t\t\tchart: chart,\r\n\t\t\t\t\tel: el\r\n\t\t\t\t};\r\n\t\t\t}\r\n\r\n\t\t\tmeta.$filler = source;\r\n\t\t\tsources.push(source);\r\n\t\t}\r\n\r\n\t\tfor (i = 0; i < count; ++i) {\r\n\t\t\tsource = sources[i];\r\n\t\t\tif (!source) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\tsource.fill = resolveTarget(sources, i, propagate);\r\n\t\t\tsource.boundary = computeBoundary(source);\r\n\t\t\tsource.mapper = createMapper(source);\r\n\t\t}\r\n\t},\r\n\r\n\tbeforeDatasetsDraw: function(chart) {\r\n\t\tvar metasets = chart._getSortedVisibleDatasetMetas();\r\n\t\tvar ctx = chart.ctx;\r\n\t\tvar meta, i, el, view, points, mapper, color;\r\n\r\n\t\tfor (i = metasets.length - 1; i >= 0; --i) {\r\n\t\t\tmeta = metasets[i].$filler;\r\n\r\n\t\t\tif (!meta || !meta.visible) {\r\n\t\t\t\tcontinue;\r\n\t\t\t}\r\n\r\n\t\t\tel = meta.el;\r\n\t\t\tview = el._view;\r\n\t\t\tpoints = el._children || [];\r\n\t\t\tmapper = meta.mapper;\r\n\t\t\tcolor = view.backgroundColor || core_defaults.global.defaultColor;\r\n\r\n\t\t\tif (mapper && color && points.length) {\r\n\t\t\t\thelpers$1.canvas.clipArea(ctx, chart.chartArea);\r\n\t\t\t\tdoFill(ctx, points, mapper, view, color, el._loop);\r\n\t\t\t\thelpers$1.canvas.unclipArea(ctx);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n};\n\nvar getRtlHelper$1 = helpers$1.rtl.getRtlAdapter;\r\nvar noop$1 = helpers$1.noop;\r\nvar valueOrDefault$e = helpers$1.valueOrDefault;\r\n\r\ncore_defaults._set('global', {\r\n\tlegend: {\r\n\t\tdisplay: true,\r\n\t\tposition: 'top',\r\n\t\talign: 'center',\r\n\t\tfullWidth: true,\r\n\t\treverse: false,\r\n\t\tweight: 1000,\r\n\r\n\t\t// a callback that will handle\r\n\t\tonClick: function(e, legendItem) {\r\n\t\t\tvar index = legendItem.datasetIndex;\r\n\t\t\tvar ci = this.chart;\r\n\t\t\tvar meta = ci.getDatasetMeta(index);\r\n\r\n\t\t\t// See controller.isDatasetVisible comment\r\n\t\t\tmeta.hidden = meta.hidden === null ? !ci.data.datasets[index].hidden : null;\r\n\r\n\t\t\t// We hid a dataset ... rerender the chart\r\n\t\t\tci.update();\r\n\t\t},\r\n\r\n\t\tonHover: null,\r\n\t\tonLeave: null,\r\n\r\n\t\tlabels: {\r\n\t\t\tboxWidth: 40,\r\n\t\t\tpadding: 10,\r\n\t\t\t// Generates labels shown in the legend\r\n\t\t\t// Valid properties to return:\r\n\t\t\t// text : text to display\r\n\t\t\t// fillStyle : fill of coloured box\r\n\t\t\t// strokeStyle: stroke of coloured box\r\n\t\t\t// hidden : if this legend item refers to a hidden item\r\n\t\t\t// lineCap : cap style for line\r\n\t\t\t// lineDash\r\n\t\t\t// lineDashOffset :\r\n\t\t\t// lineJoin :\r\n\t\t\t// lineWidth :\r\n\t\t\tgenerateLabels: function(chart) {\r\n\t\t\t\tvar datasets = chart.data.datasets;\r\n\t\t\t\tvar options = chart.options.legend || {};\r\n\t\t\t\tvar usePointStyle = options.labels && options.labels.usePointStyle;\r\n\r\n\t\t\t\treturn chart._getSortedDatasetMetas().map(function(meta) {\r\n\t\t\t\t\tvar style = meta.controller.getStyle(usePointStyle ? 0 : undefined);\r\n\r\n\t\t\t\t\treturn {\r\n\t\t\t\t\t\ttext: datasets[meta.index].label,\r\n\t\t\t\t\t\tfillStyle: style.backgroundColor,\r\n\t\t\t\t\t\thidden: !chart.isDatasetVisible(meta.index),\r\n\t\t\t\t\t\tlineCap: style.borderCapStyle,\r\n\t\t\t\t\t\tlineDash: style.borderDash,\r\n\t\t\t\t\t\tlineDashOffset: style.borderDashOffset,\r\n\t\t\t\t\t\tlineJoin: style.borderJoinStyle,\r\n\t\t\t\t\t\tlineWidth: style.borderWidth,\r\n\t\t\t\t\t\tstrokeStyle: style.borderColor,\r\n\t\t\t\t\t\tpointStyle: style.pointStyle,\r\n\t\t\t\t\t\trotation: style.rotation,\r\n\r\n\t\t\t\t\t\t// Below is extra data used for toggling the datasets\r\n\t\t\t\t\t\tdatasetIndex: meta.index\r\n\t\t\t\t\t};\r\n\t\t\t\t}, this);\r\n\t\t\t}\r\n\t\t}\r\n\t},\r\n\r\n\tlegendCallback: function(chart) {\r\n\t\tvar list = document.createElement('ul');\r\n\t\tvar datasets = chart.data.datasets;\r\n\t\tvar i, ilen, listItem, listItemSpan;\r\n\r\n\t\tlist.setAttribute('class', chart.id + '-legend');\r\n\r\n\t\tfor (i = 0, ilen = datasets.length; i < ilen; i++) {\r\n\t\t\tlistItem = list.appendChild(document.createElement('li'));\r\n\t\t\tlistItemSpan = listItem.appendChild(document.createElement('span'));\r\n\t\t\tlistItemSpan.style.backgroundColor = datasets[i].backgroundColor;\r\n\t\t\tif (datasets[i].label) {\r\n\t\t\t\tlistItem.appendChild(document.createTextNode(datasets[i].label));\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn list.outerHTML;\r\n\t}\r\n});\r\n\r\n/**\r\n * Helper function to get the box width based on the usePointStyle option\r\n * @param {object} labelopts - the label options on the legend\r\n * @param {number} fontSize - the label font size\r\n * @return {number} width of the color box area\r\n */\r\nfunction getBoxWidth(labelOpts, fontSize) {\r\n\treturn labelOpts.usePointStyle && labelOpts.boxWidth > fontSize ?\r\n\t\tfontSize :\r\n\t\tlabelOpts.boxWidth;\r\n}\r\n\r\n/**\r\n * IMPORTANT: this class is exposed publicly as Chart.Legend, backward compatibility required!\r\n */\r\nvar Legend = core_element.extend({\r\n\r\n\tinitialize: function(config) {\r\n\t\tvar me = this;\r\n\t\thelpers$1.extend(me, config);\r\n\r\n\t\t// Contains hit boxes for each dataset (in dataset order)\r\n\t\tme.legendHitBoxes = [];\r\n\r\n\t\t/**\r\n \t\t * @private\r\n \t\t */\r\n\t\tme._hoveredItem = null;\r\n\r\n\t\t// Are we in doughnut mode which has a different data type\r\n\t\tme.doughnutMode = false;\r\n\t},\r\n\r\n\t// These methods are ordered by lifecycle. Utilities then follow.\r\n\t// Any function defined here is inherited by all legend types.\r\n\t// Any function can be extended by the legend type\r\n\r\n\tbeforeUpdate: noop$1,\r\n\tupdate: function(maxWidth, maxHeight, margins) {\r\n\t\tvar me = this;\r\n\r\n\t\t// Update Lifecycle - Probably don't want to ever extend or overwrite this function ;)\r\n\t\tme.beforeUpdate();\r\n\r\n\t\t// Absorb the master measurements\r\n\t\tme.maxWidth = maxWidth;\r\n\t\tme.maxHeight = maxHeight;\r\n\t\tme.margins = margins;\r\n\r\n\t\t// Dimensions\r\n\t\tme.beforeSetDimensions();\r\n\t\tme.setDimensions();\r\n\t\tme.afterSetDimensions();\r\n\t\t// Labels\r\n\t\tme.beforeBuildLabels();\r\n\t\tme.buildLabels();\r\n\t\tme.afterBuildLabels();\r\n\r\n\t\t// Fit\r\n\t\tme.beforeFit();\r\n\t\tme.fit();\r\n\t\tme.afterFit();\r\n\t\t//\r\n\t\tme.afterUpdate();\r\n\r\n\t\treturn me.minSize;\r\n\t},\r\n\tafterUpdate: noop$1,\r\n\r\n\t//\r\n\r\n\tbeforeSetDimensions: noop$1,\r\n\tsetDimensions: function() {\r\n\t\tvar me = this;\r\n\t\t// Set the unconstrained dimension before label rotation\r\n\t\tif (me.isHorizontal()) {\r\n\t\t\t// Reset position before calculating rotation\r\n\t\t\tme.width = me.maxWidth;\r\n\t\t\tme.left = 0;\r\n\t\t\tme.right = me.width;\r\n\t\t} else {\r\n\t\t\tme.height = me.maxHeight;\r\n\r\n\t\t\t// Reset position before calculating rotation\r\n\t\t\tme.top = 0;\r\n\t\t\tme.bottom = me.height;\r\n\t\t}\r\n\r\n\t\t// Reset padding\r\n\t\tme.paddingLeft = 0;\r\n\t\tme.paddingTop = 0;\r\n\t\tme.paddingRight = 0;\r\n\t\tme.paddingBottom = 0;\r\n\r\n\t\t// Reset minSize\r\n\t\tme.minSize = {\r\n\t\t\twidth: 0,\r\n\t\t\theight: 0\r\n\t\t};\r\n\t},\r\n\tafterSetDimensions: noop$1,\r\n\r\n\t//\r\n\r\n\tbeforeBuildLabels: noop$1,\r\n\tbuildLabels: function() {\r\n\t\tvar me = this;\r\n\t\tvar labelOpts = me.options.labels || {};\r\n\t\tvar legendItems = helpers$1.callback(labelOpts.generateLabels, [me.chart], me) || [];\r\n\r\n\t\tif (labelOpts.filter) {\r\n\t\t\tlegendItems = legendItems.filter(function(item) {\r\n\t\t\t\treturn labelOpts.filter(item, me.chart.data);\r\n\t\t\t});\r\n\t\t}\r\n\r\n\t\tif (me.options.reverse) {\r\n\t\t\tlegendItems.reverse();\r\n\t\t}\r\n\r\n\t\tme.legendItems = legendItems;\r\n\t},\r\n\tafterBuildLabels: noop$1,\r\n\r\n\t//\r\n\r\n\tbeforeFit: noop$1,\r\n\tfit: function() {\r\n\t\tvar me = this;\r\n\t\tvar opts = me.options;\r\n\t\tvar labelOpts = opts.labels;\r\n\t\tvar display = opts.display;\r\n\r\n\t\tvar ctx = me.ctx;\r\n\r\n\t\tvar labelFont = helpers$1.options._parseFont(labelOpts);\r\n\t\tvar fontSize = labelFont.size;\r\n\r\n\t\t// Reset hit boxes\r\n\t\tvar hitboxes = me.legendHitBoxes = [];\r\n\r\n\t\tvar minSize = me.minSize;\r\n\t\tvar isHorizontal = me.isHorizontal();\r\n\r\n\t\tif (isHorizontal) {\r\n\t\t\tminSize.width = me.maxWidth; // fill all the width\r\n\t\t\tminSize.height = display ? 10 : 0;\r\n\t\t} else {\r\n\t\t\tminSize.width = display ? 10 : 0;\r\n\t\t\tminSize.height = me.maxHeight; // fill all the height\r\n\t\t}\r\n\r\n\t\t// Increase sizes here\r\n\t\tif (!display) {\r\n\t\t\tme.width = minSize.width = me.height = minSize.height = 0;\r\n\t\t\treturn;\r\n\t\t}\r\n\t\tctx.font = labelFont.string;\r\n\r\n\t\tif (isHorizontal) {\r\n\t\t\t// Labels\r\n\r\n\t\t\t// Width of each line of legend boxes. Labels wrap onto multiple lines when there are too many to fit on one\r\n\t\t\tvar lineWidths = me.lineWidths = [0];\r\n\t\t\tvar totalHeight = 0;\r\n\r\n\t\t\tctx.textAlign = 'left';\r\n\t\t\tctx.textBaseline = 'middle';\r\n\r\n\t\t\thelpers$1.each(me.legendItems, function(legendItem, i) {\r\n\t\t\t\tvar boxWidth = getBoxWidth(labelOpts, fontSize);\r\n\t\t\t\tvar width = boxWidth + (fontSize / 2) + ctx.measureText(legendItem.text).width;\r\n\r\n\t\t\t\tif (i === 0 || lineWidths[lineWidths.length - 1] + width + 2 * labelOpts.padding > minSize.width) {\r\n\t\t\t\t\ttotalHeight += fontSize + labelOpts.padding;\r\n\t\t\t\t\tlineWidths[lineWidths.length - (i > 0 ? 0 : 1)] = 0;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// Store the hitbox width and height here. Final position will be updated in `draw`\r\n\t\t\t\thitboxes[i] = {\r\n\t\t\t\t\tleft: 0,\r\n\t\t\t\t\ttop: 0,\r\n\t\t\t\t\twidth: width,\r\n\t\t\t\t\theight: fontSize\r\n\t\t\t\t};\r\n\r\n\t\t\t\tlineWidths[lineWidths.length - 1] += width + labelOpts.padding;\r\n\t\t\t});\r\n\r\n\t\t\tminSize.height += totalHeight;\r\n\r\n\t\t} else {\r\n\t\t\tvar vPadding = labelOpts.padding;\r\n\t\t\tvar columnWidths = me.columnWidths = [];\r\n\t\t\tvar columnHeights = me.columnHeights = [];\r\n\t\t\tvar totalWidth = labelOpts.padding;\r\n\t\t\tvar currentColWidth = 0;\r\n\t\t\tvar currentColHeight = 0;\r\n\r\n\t\t\thelpers$1.each(me.legendItems, function(legendItem, i) {\r\n\t\t\t\tvar boxWidth = getBoxWidth(labelOpts, fontSize);\r\n\t\t\t\tvar itemWidth = boxWidth + (fontSize / 2) + ctx.measureText(legendItem.text).width;\r\n\r\n\t\t\t\t// If too tall, go to new column\r\n\t\t\t\tif (i > 0 && currentColHeight + fontSize + 2 * vPadding > minSize.height) {\r\n\t\t\t\t\ttotalWidth += currentColWidth + labelOpts.padding;\r\n\t\t\t\t\tcolumnWidths.push(currentColWidth); // previous column width\r\n\t\t\t\t\tcolumnHeights.push(currentColHeight);\r\n\t\t\t\t\tcurrentColWidth = 0;\r\n\t\t\t\t\tcurrentColHeight = 0;\r\n\t\t\t\t}\r\n\r\n\t\t\t\t// Get max width\r\n\t\t\t\tcurrentColWidth = Math.max(currentColWidth, itemWidth);\r\n\t\t\t\tcurrentColHeight += fontSize + vPadding;\r\n\r\n\t\t\t\t// Store the hitbox width and height here. Final position will be updated in `draw`\r\n\t\t\t\thitboxes[i] = {\r\n\t\t\t\t\tleft: 0,\r\n\t\t\t\t\ttop: 0,\r\n\t\t\t\t\twidth: itemWidth,\r\n\t\t\t\t\theight: fontSize\r\n\t\t\t\t};\r\n\t\t\t});\r\n\r\n\t\t\ttotalWidth += currentColWidth;\r\n\t\t\tcolumnWidths.push(currentColWidth);\r\n\t\t\tcolumnHeights.push(currentColHeight);\r\n\t\t\tminSize.width += totalWidth;\r\n\t\t}\r\n\r\n\t\tme.width = minSize.width;\r\n\t\tme.height = minSize.height;\r\n\t},\r\n\tafterFit: noop$1,\r\n\r\n\t// Shared Methods\r\n\tisHorizontal: function() {\r\n\t\treturn this.options.position === 'top' || this.options.position === 'bottom';\r\n\t},\r\n\r\n\t// Actually draw the legend on the canvas\r\n\tdraw: function() {\r\n\t\tvar me = this;\r\n\t\tvar opts = me.options;\r\n\t\tvar labelOpts = opts.labels;\r\n\t\tvar globalDefaults = core_defaults.global;\r\n\t\tvar defaultColor = globalDefaults.defaultColor;\r\n\t\tvar lineDefault = globalDefaults.elements.line;\r\n\t\tvar legendHeight = me.height;\r\n\t\tvar columnHeights = me.columnHeights;\r\n\t\tvar legendWidth = me.width;\r\n\t\tvar lineWidths = me.lineWidths;\r\n\r\n\t\tif (!opts.display) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar rtlHelper = getRtlHelper$1(opts.rtl, me.left, me.minSize.width);\r\n\t\tvar ctx = me.ctx;\r\n\t\tvar fontColor = valueOrDefault$e(labelOpts.fontColor, globalDefaults.defaultFontColor);\r\n\t\tvar labelFont = helpers$1.options._parseFont(labelOpts);\r\n\t\tvar fontSize = labelFont.size;\r\n\t\tvar cursor;\r\n\r\n\t\t// Canvas setup\r\n\t\tctx.textAlign = rtlHelper.textAlign('left');\r\n\t\tctx.textBaseline = 'middle';\r\n\t\tctx.lineWidth = 0.5;\r\n\t\tctx.strokeStyle = fontColor; // for strikethrough effect\r\n\t\tctx.fillStyle = fontColor; // render in correct colour\r\n\t\tctx.font = labelFont.string;\r\n\r\n\t\tvar boxWidth = getBoxWidth(labelOpts, fontSize);\r\n\t\tvar hitboxes = me.legendHitBoxes;\r\n\r\n\t\t// current position\r\n\t\tvar drawLegendBox = function(x, y, legendItem) {\r\n\t\t\tif (isNaN(boxWidth) || boxWidth <= 0) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\r\n\t\t\t// Set the ctx for the box\r\n\t\t\tctx.save();\r\n\r\n\t\t\tvar lineWidth = valueOrDefault$e(legendItem.lineWidth, lineDefault.borderWidth);\r\n\t\t\tctx.fillStyle = valueOrDefault$e(legendItem.fillStyle, defaultColor);\r\n\t\t\tctx.lineCap = valueOrDefault$e(legendItem.lineCap, lineDefault.borderCapStyle);\r\n\t\t\tctx.lineDashOffset = valueOrDefault$e(legendItem.lineDashOffset, lineDefault.borderDashOffset);\r\n\t\t\tctx.lineJoin = valueOrDefault$e(legendItem.lineJoin, lineDefault.borderJoinStyle);\r\n\t\t\tctx.lineWidth = lineWidth;\r\n\t\t\tctx.strokeStyle = valueOrDefault$e(legendItem.strokeStyle, defaultColor);\r\n\r\n\t\t\tif (ctx.setLineDash) {\r\n\t\t\t\t// IE 9 and 10 do not support line dash\r\n\t\t\t\tctx.setLineDash(valueOrDefault$e(legendItem.lineDash, lineDefault.borderDash));\r\n\t\t\t}\r\n\r\n\t\t\tif (labelOpts && labelOpts.usePointStyle) {\r\n\t\t\t\t// Recalculate x and y for drawPoint() because its expecting\r\n\t\t\t\t// x and y to be center of figure (instead of top left)\r\n\t\t\t\tvar radius = boxWidth * Math.SQRT2 / 2;\r\n\t\t\t\tvar centerX = rtlHelper.xPlus(x, boxWidth / 2);\r\n\t\t\t\tvar centerY = y + fontSize / 2;\r\n\r\n\t\t\t\t// Draw pointStyle as legend symbol\r\n\t\t\t\thelpers$1.canvas.drawPoint(ctx, legendItem.pointStyle, radius, centerX, centerY, legendItem.rotation);\r\n\t\t\t} else {\r\n\t\t\t\t// Draw box as legend symbol\r\n\t\t\t\tctx.fillRect(rtlHelper.leftForLtr(x, boxWidth), y, boxWidth, fontSize);\r\n\t\t\t\tif (lineWidth !== 0) {\r\n\t\t\t\t\tctx.strokeRect(rtlHelper.leftForLtr(x, boxWidth), y, boxWidth, fontSize);\r\n\t\t\t\t}\r\n\t\t\t}\r\n\r\n\t\t\tctx.restore();\r\n\t\t};\r\n\r\n\t\tvar fillText = function(x, y, legendItem, textWidth) {\r\n\t\t\tvar halfFontSize = fontSize / 2;\r\n\t\t\tvar xLeft = rtlHelper.xPlus(x, boxWidth + halfFontSize);\r\n\t\t\tvar yMiddle = y + halfFontSize;\r\n\r\n\t\t\tctx.fillText(legendItem.text, xLeft, yMiddle);\r\n\r\n\t\t\tif (legendItem.hidden) {\r\n\t\t\t\t// Strikethrough the text if hidden\r\n\t\t\t\tctx.beginPath();\r\n\t\t\t\tctx.lineWidth = 2;\r\n\t\t\t\tctx.moveTo(xLeft, yMiddle);\r\n\t\t\t\tctx.lineTo(rtlHelper.xPlus(xLeft, textWidth), yMiddle);\r\n\t\t\t\tctx.stroke();\r\n\t\t\t}\r\n\t\t};\r\n\r\n\t\tvar alignmentOffset = function(dimension, blockSize) {\r\n\t\t\tswitch (opts.align) {\r\n\t\t\tcase 'start':\r\n\t\t\t\treturn labelOpts.padding;\r\n\t\t\tcase 'end':\r\n\t\t\t\treturn dimension - blockSize;\r\n\t\t\tdefault: // center\r\n\t\t\t\treturn (dimension - blockSize + labelOpts.padding) / 2;\r\n\t\t\t}\r\n\t\t};\r\n\r\n\t\t// Horizontal\r\n\t\tvar isHorizontal = me.isHorizontal();\r\n\t\tif (isHorizontal) {\r\n\t\t\tcursor = {\r\n\t\t\t\tx: me.left + alignmentOffset(legendWidth, lineWidths[0]),\r\n\t\t\t\ty: me.top + labelOpts.padding,\r\n\t\t\t\tline: 0\r\n\t\t\t};\r\n\t\t} else {\r\n\t\t\tcursor = {\r\n\t\t\t\tx: me.left + labelOpts.padding,\r\n\t\t\t\ty: me.top + alignmentOffset(legendHeight, columnHeights[0]),\r\n\t\t\t\tline: 0\r\n\t\t\t};\r\n\t\t}\r\n\r\n\t\thelpers$1.rtl.overrideTextDirection(me.ctx, opts.textDirection);\r\n\r\n\t\tvar itemHeight = fontSize + labelOpts.padding;\r\n\t\thelpers$1.each(me.legendItems, function(legendItem, i) {\r\n\t\t\tvar textWidth = ctx.measureText(legendItem.text).width;\r\n\t\t\tvar width = boxWidth + (fontSize / 2) + textWidth;\r\n\t\t\tvar x = cursor.x;\r\n\t\t\tvar y = cursor.y;\r\n\r\n\t\t\trtlHelper.setWidth(me.minSize.width);\r\n\r\n\t\t\t// Use (me.left + me.minSize.width) and (me.top + me.minSize.height)\r\n\t\t\t// instead of me.right and me.bottom because me.width and me.height\r\n\t\t\t// may have been changed since me.minSize was calculated\r\n\t\t\tif (isHorizontal) {\r\n\t\t\t\tif (i > 0 && x + width + labelOpts.padding > me.left + me.minSize.width) {\r\n\t\t\t\t\ty = cursor.y += itemHeight;\r\n\t\t\t\t\tcursor.line++;\r\n\t\t\t\t\tx = cursor.x = me.left + alignmentOffset(legendWidth, lineWidths[cursor.line]);\r\n\t\t\t\t}\r\n\t\t\t} else if (i > 0 && y + itemHeight > me.top + me.minSize.height) {\r\n\t\t\t\tx = cursor.x = x + me.columnWidths[cursor.line] + labelOpts.padding;\r\n\t\t\t\tcursor.line++;\r\n\t\t\t\ty = cursor.y = me.top + alignmentOffset(legendHeight, columnHeights[cursor.line]);\r\n\t\t\t}\r\n\r\n\t\t\tvar realX = rtlHelper.x(x);\r\n\r\n\t\t\tdrawLegendBox(realX, y, legendItem);\r\n\r\n\t\t\thitboxes[i].left = rtlHelper.leftForLtr(realX, hitboxes[i].width);\r\n\t\t\thitboxes[i].top = y;\r\n\r\n\t\t\t// Fill the actual label\r\n\t\t\tfillText(realX, y, legendItem, textWidth);\r\n\r\n\t\t\tif (isHorizontal) {\r\n\t\t\t\tcursor.x += width + labelOpts.padding;\r\n\t\t\t} else {\r\n\t\t\t\tcursor.y += itemHeight;\r\n\t\t\t}\r\n\t\t});\r\n\r\n\t\thelpers$1.rtl.restoreTextDirection(me.ctx, opts.textDirection);\r\n\t},\r\n\r\n\t/**\r\n\t * @private\r\n\t */\r\n\t_getLegendItemAt: function(x, y) {\r\n\t\tvar me = this;\r\n\t\tvar i, hitBox, lh;\r\n\r\n\t\tif (x >= me.left && x <= me.right && y >= me.top && y <= me.bottom) {\r\n\t\t\t// See if we are touching one of the dataset boxes\r\n\t\t\tlh = me.legendHitBoxes;\r\n\t\t\tfor (i = 0; i < lh.length; ++i) {\r\n\t\t\t\thitBox = lh[i];\r\n\r\n\t\t\t\tif (x >= hitBox.left && x <= hitBox.left + hitBox.width && y >= hitBox.top && y <= hitBox.top + hitBox.height) {\r\n\t\t\t\t\t// Touching an element\r\n\t\t\t\t\treturn me.legendItems[i];\r\n\t\t\t\t}\r\n\t\t\t}\r\n\t\t}\r\n\r\n\t\treturn null;\r\n\t},\r\n\r\n\t/**\r\n\t * Handle an event\r\n\t * @private\r\n\t * @param {IEvent} event - The event to handle\r\n\t */\r\n\thandleEvent: function(e) {\r\n\t\tvar me = this;\r\n\t\tvar opts = me.options;\r\n\t\tvar type = e.type === 'mouseup' ? 'click' : e.type;\r\n\t\tvar hoveredItem;\r\n\r\n\t\tif (type === 'mousemove') {\r\n\t\t\tif (!opts.onHover && !opts.onLeave) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t} else if (type === 'click') {\r\n\t\t\tif (!opts.onClick) {\r\n\t\t\t\treturn;\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\t// Chart event already has relative position in it\r\n\t\thoveredItem = me._getLegendItemAt(e.x, e.y);\r\n\r\n\t\tif (type === 'click') {\r\n\t\t\tif (hoveredItem && opts.onClick) {\r\n\t\t\t\t// use e.native for backwards compatibility\r\n\t\t\t\topts.onClick.call(me, e.native, hoveredItem);\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tif (opts.onLeave && hoveredItem !== me._hoveredItem) {\r\n\t\t\t\tif (me._hoveredItem) {\r\n\t\t\t\t\topts.onLeave.call(me, e.native, me._hoveredItem);\r\n\t\t\t\t}\r\n\t\t\t\tme._hoveredItem = hoveredItem;\r\n\t\t\t}\r\n\r\n\t\t\tif (opts.onHover && hoveredItem) {\r\n\t\t\t\t// use e.native for backwards compatibility\r\n\t\t\t\topts.onHover.call(me, e.native, hoveredItem);\r\n\t\t\t}\r\n\t\t}\r\n\t}\r\n});\r\n\r\nfunction createNewLegendAndAttach(chart, legendOpts) {\r\n\tvar legend = new Legend({\r\n\t\tctx: chart.ctx,\r\n\t\toptions: legendOpts,\r\n\t\tchart: chart\r\n\t});\r\n\r\n\tcore_layouts.configure(chart, legend, legendOpts);\r\n\tcore_layouts.addBox(chart, legend);\r\n\tchart.legend = legend;\r\n}\r\n\r\nvar plugin_legend = {\r\n\tid: 'legend',\r\n\r\n\t/**\r\n\t * Backward compatibility: since 2.1.5, the legend is registered as a plugin, making\r\n\t * Chart.Legend obsolete. To avoid a breaking change, we export the Legend as part of\r\n\t * the plugin, which one will be re-exposed in the chart.js file.\r\n\t * https://github.com/chartjs/Chart.js/pull/2640\r\n\t * @private\r\n\t */\r\n\t_element: Legend,\r\n\r\n\tbeforeInit: function(chart) {\r\n\t\tvar legendOpts = chart.options.legend;\r\n\r\n\t\tif (legendOpts) {\r\n\t\t\tcreateNewLegendAndAttach(chart, legendOpts);\r\n\t\t}\r\n\t},\r\n\r\n\tbeforeUpdate: function(chart) {\r\n\t\tvar legendOpts = chart.options.legend;\r\n\t\tvar legend = chart.legend;\r\n\r\n\t\tif (legendOpts) {\r\n\t\t\thelpers$1.mergeIf(legendOpts, core_defaults.global.legend);\r\n\r\n\t\t\tif (legend) {\r\n\t\t\t\tcore_layouts.configure(chart, legend, legendOpts);\r\n\t\t\t\tlegend.options = legendOpts;\r\n\t\t\t} else {\r\n\t\t\t\tcreateNewLegendAndAttach(chart, legendOpts);\r\n\t\t\t}\r\n\t\t} else if (legend) {\r\n\t\t\tcore_layouts.removeBox(chart, legend);\r\n\t\t\tdelete chart.legend;\r\n\t\t}\r\n\t},\r\n\r\n\tafterEvent: function(chart, e) {\r\n\t\tvar legend = chart.legend;\r\n\t\tif (legend) {\r\n\t\t\tlegend.handleEvent(e);\r\n\t\t}\r\n\t}\r\n};\n\nvar noop$2 = helpers$1.noop;\r\n\r\ncore_defaults._set('global', {\r\n\ttitle: {\r\n\t\tdisplay: false,\r\n\t\tfontStyle: 'bold',\r\n\t\tfullWidth: true,\r\n\t\tpadding: 10,\r\n\t\tposition: 'top',\r\n\t\ttext: '',\r\n\t\tweight: 2000         // by default greater than legend (1000) to be above\r\n\t}\r\n});\r\n\r\n/**\r\n * IMPORTANT: this class is exposed publicly as Chart.Legend, backward compatibility required!\r\n */\r\nvar Title = core_element.extend({\r\n\tinitialize: function(config) {\r\n\t\tvar me = this;\r\n\t\thelpers$1.extend(me, config);\r\n\r\n\t\t// Contains hit boxes for each dataset (in dataset order)\r\n\t\tme.legendHitBoxes = [];\r\n\t},\r\n\r\n\t// These methods are ordered by lifecycle. Utilities then follow.\r\n\r\n\tbeforeUpdate: noop$2,\r\n\tupdate: function(maxWidth, maxHeight, margins) {\r\n\t\tvar me = this;\r\n\r\n\t\t// Update Lifecycle - Probably don't want to ever extend or overwrite this function ;)\r\n\t\tme.beforeUpdate();\r\n\r\n\t\t// Absorb the master measurements\r\n\t\tme.maxWidth = maxWidth;\r\n\t\tme.maxHeight = maxHeight;\r\n\t\tme.margins = margins;\r\n\r\n\t\t// Dimensions\r\n\t\tme.beforeSetDimensions();\r\n\t\tme.setDimensions();\r\n\t\tme.afterSetDimensions();\r\n\t\t// Labels\r\n\t\tme.beforeBuildLabels();\r\n\t\tme.buildLabels();\r\n\t\tme.afterBuildLabels();\r\n\r\n\t\t// Fit\r\n\t\tme.beforeFit();\r\n\t\tme.fit();\r\n\t\tme.afterFit();\r\n\t\t//\r\n\t\tme.afterUpdate();\r\n\r\n\t\treturn me.minSize;\r\n\r\n\t},\r\n\tafterUpdate: noop$2,\r\n\r\n\t//\r\n\r\n\tbeforeSetDimensions: noop$2,\r\n\tsetDimensions: function() {\r\n\t\tvar me = this;\r\n\t\t// Set the unconstrained dimension before label rotation\r\n\t\tif (me.isHorizontal()) {\r\n\t\t\t// Reset position before calculating rotation\r\n\t\t\tme.width = me.maxWidth;\r\n\t\t\tme.left = 0;\r\n\t\t\tme.right = me.width;\r\n\t\t} else {\r\n\t\t\tme.height = me.maxHeight;\r\n\r\n\t\t\t// Reset position before calculating rotation\r\n\t\t\tme.top = 0;\r\n\t\t\tme.bottom = me.height;\r\n\t\t}\r\n\r\n\t\t// Reset padding\r\n\t\tme.paddingLeft = 0;\r\n\t\tme.paddingTop = 0;\r\n\t\tme.paddingRight = 0;\r\n\t\tme.paddingBottom = 0;\r\n\r\n\t\t// Reset minSize\r\n\t\tme.minSize = {\r\n\t\t\twidth: 0,\r\n\t\t\theight: 0\r\n\t\t};\r\n\t},\r\n\tafterSetDimensions: noop$2,\r\n\r\n\t//\r\n\r\n\tbeforeBuildLabels: noop$2,\r\n\tbuildLabels: noop$2,\r\n\tafterBuildLabels: noop$2,\r\n\r\n\t//\r\n\r\n\tbeforeFit: noop$2,\r\n\tfit: function() {\r\n\t\tvar me = this;\r\n\t\tvar opts = me.options;\r\n\t\tvar minSize = me.minSize = {};\r\n\t\tvar isHorizontal = me.isHorizontal();\r\n\t\tvar lineCount, textSize;\r\n\r\n\t\tif (!opts.display) {\r\n\t\t\tme.width = minSize.width = me.height = minSize.height = 0;\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tlineCount = helpers$1.isArray(opts.text) ? opts.text.length : 1;\r\n\t\ttextSize = lineCount * helpers$1.options._parseFont(opts).lineHeight + opts.padding * 2;\r\n\r\n\t\tme.width = minSize.width = isHorizontal ? me.maxWidth : textSize;\r\n\t\tme.height = minSize.height = isHorizontal ? textSize : me.maxHeight;\r\n\t},\r\n\tafterFit: noop$2,\r\n\r\n\t// Shared Methods\r\n\tisHorizontal: function() {\r\n\t\tvar pos = this.options.position;\r\n\t\treturn pos === 'top' || pos === 'bottom';\r\n\t},\r\n\r\n\t// Actually draw the title block on the canvas\r\n\tdraw: function() {\r\n\t\tvar me = this;\r\n\t\tvar ctx = me.ctx;\r\n\t\tvar opts = me.options;\r\n\r\n\t\tif (!opts.display) {\r\n\t\t\treturn;\r\n\t\t}\r\n\r\n\t\tvar fontOpts = helpers$1.options._parseFont(opts);\r\n\t\tvar lineHeight = fontOpts.lineHeight;\r\n\t\tvar offset = lineHeight / 2 + opts.padding;\r\n\t\tvar rotation = 0;\r\n\t\tvar top = me.top;\r\n\t\tvar left = me.left;\r\n\t\tvar bottom = me.bottom;\r\n\t\tvar right = me.right;\r\n\t\tvar maxWidth, titleX, titleY;\r\n\r\n\t\tctx.fillStyle = helpers$1.valueOrDefault(opts.fontColor, core_defaults.global.defaultFontColor); // render in correct colour\r\n\t\tctx.font = fontOpts.string;\r\n\r\n\t\t// Horizontal\r\n\t\tif (me.isHorizontal()) {\r\n\t\t\ttitleX = left + ((right - left) / 2); // midpoint of the width\r\n\t\t\ttitleY = top + offset;\r\n\t\t\tmaxWidth = right - left;\r\n\t\t} else {\r\n\t\t\ttitleX = opts.position === 'left' ? left + offset : right - offset;\r\n\t\t\ttitleY = top + ((bottom - top) / 2);\r\n\t\t\tmaxWidth = bottom - top;\r\n\t\t\trotation = Math.PI * (opts.position === 'left' ? -0.5 : 0.5);\r\n\t\t}\r\n\r\n\t\tctx.save();\r\n\t\tctx.translate(titleX, titleY);\r\n\t\tctx.rotate(rotation);\r\n\t\tctx.textAlign = 'center';\r\n\t\tctx.textBaseline = 'middle';\r\n\r\n\t\tvar text = opts.text;\r\n\t\tif (helpers$1.isArray(text)) {\r\n\t\t\tvar y = 0;\r\n\t\t\tfor (var i = 0; i < text.length; ++i) {\r\n\t\t\t\tctx.fillText(text[i], 0, y, maxWidth);\r\n\t\t\t\ty += lineHeight;\r\n\t\t\t}\r\n\t\t} else {\r\n\t\t\tctx.fillText(text, 0, 0, maxWidth);\r\n\t\t}\r\n\r\n\t\tctx.restore();\r\n\t}\r\n});\r\n\r\nfunction createNewTitleBlockAndAttach(chart, titleOpts) {\r\n\tvar title = new Title({\r\n\t\tctx: chart.ctx,\r\n\t\toptions: titleOpts,\r\n\t\tchart: chart\r\n\t});\r\n\r\n\tcore_layouts.configure(chart, title, titleOpts);\r\n\tcore_layouts.addBox(chart, title);\r\n\tchart.titleBlock = title;\r\n}\r\n\r\nvar plugin_title = {\r\n\tid: 'title',\r\n\r\n\t/**\r\n\t * Backward compatibility: since 2.1.5, the title is registered as a plugin, making\r\n\t * Chart.Title obsolete. To avoid a breaking change, we export the Title as part of\r\n\t * the plugin, which one will be re-exposed in the chart.js file.\r\n\t * https://github.com/chartjs/Chart.js/pull/2640\r\n\t * @private\r\n\t */\r\n\t_element: Title,\r\n\r\n\tbeforeInit: function(chart) {\r\n\t\tvar titleOpts = chart.options.title;\r\n\r\n\t\tif (titleOpts) {\r\n\t\t\tcreateNewTitleBlockAndAttach(chart, titleOpts);\r\n\t\t}\r\n\t},\r\n\r\n\tbeforeUpdate: function(chart) {\r\n\t\tvar titleOpts = chart.options.title;\r\n\t\tvar titleBlock = chart.titleBlock;\r\n\r\n\t\tif (titleOpts) {\r\n\t\t\thelpers$1.mergeIf(titleOpts, core_defaults.global.title);\r\n\r\n\t\t\tif (titleBlock) {\r\n\t\t\t\tcore_layouts.configure(chart, titleBlock, titleOpts);\r\n\t\t\t\ttitleBlock.options = titleOpts;\r\n\t\t\t} else {\r\n\t\t\t\tcreateNewTitleBlockAndAttach(chart, titleOpts);\r\n\t\t\t}\r\n\t\t} else if (titleBlock) {\r\n\t\t\tcore_layouts.removeBox(chart, titleBlock);\r\n\t\t\tdelete chart.titleBlock;\r\n\t\t}\r\n\t}\r\n};\n\nvar plugins = {};\r\nvar filler = plugin_filler;\r\nvar legend = plugin_legend;\r\nvar title = plugin_title;\nplugins.filler = filler;\nplugins.legend = legend;\nplugins.title = title;\n\n/**\r\n * @namespace Chart\r\n */\r\n\r\n\r\ncore_controller.helpers = helpers$1;\r\n\r\n// @todo dispatch these helpers into appropriated helpers/helpers.* file and write unit tests!\r\ncore_helpers();\r\n\r\ncore_controller._adapters = core_adapters;\r\ncore_controller.Animation = core_animation;\r\ncore_controller.animationService = core_animations;\r\ncore_controller.controllers = controllers;\r\ncore_controller.DatasetController = core_datasetController;\r\ncore_controller.defaults = core_defaults;\r\ncore_controller.Element = core_element;\r\ncore_controller.elements = elements;\r\ncore_controller.Interaction = core_interaction;\r\ncore_controller.layouts = core_layouts;\r\ncore_controller.platform = platform;\r\ncore_controller.plugins = core_plugins;\r\ncore_controller.Scale = core_scale;\r\ncore_controller.scaleService = core_scaleService;\r\ncore_controller.Ticks = core_ticks;\r\ncore_controller.Tooltip = core_tooltip;\r\n\r\n// Register built-in scales\r\n\r\ncore_controller.helpers.each(scales, function(scale, type) {\r\n\tcore_controller.scaleService.registerScaleType(type, scale, scale._defaults);\r\n});\r\n\r\n// Load to register built-in adapters (as side effects)\r\n\r\n\r\n// Loading built-in plugins\r\n\r\nfor (var k in plugins) {\r\n\tif (plugins.hasOwnProperty(k)) {\r\n\t\tcore_controller.plugins.register(plugins[k]);\r\n\t}\r\n}\r\n\r\ncore_controller.platform.initialize();\r\n\r\nvar src = core_controller;\r\nif (typeof window !== 'undefined') {\r\n\twindow.Chart = core_controller;\r\n}\r\n\r\n// DEPRECATIONS\r\n\r\n/**\r\n * Provided for backward compatibility, not available anymore\r\n * @namespace Chart.Chart\r\n * @deprecated since version 2.8.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\ncore_controller.Chart = core_controller;\r\n\r\n/**\r\n * Provided for backward compatibility, not available anymore\r\n * @namespace Chart.Legend\r\n * @deprecated since version 2.1.5\r\n * @todo remove at version 3\r\n * @private\r\n */\r\ncore_controller.Legend = plugins.legend._element;\r\n\r\n/**\r\n * Provided for backward compatibility, not available anymore\r\n * @namespace Chart.Title\r\n * @deprecated since version 2.1.5\r\n * @todo remove at version 3\r\n * @private\r\n */\r\ncore_controller.Title = plugins.title._element;\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart.plugins instead\r\n * @namespace Chart.pluginService\r\n * @deprecated since version 2.1.5\r\n * @todo remove at version 3\r\n * @private\r\n */\r\ncore_controller.pluginService = core_controller.plugins;\r\n\r\n/**\r\n * Provided for backward compatibility, inheriting from Chart.PlugingBase has no\r\n * effect, instead simply create/register plugins via plain JavaScript objects.\r\n * @interface Chart.PluginBase\r\n * @deprecated since version 2.5.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\ncore_controller.PluginBase = core_controller.Element.extend({});\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart.helpers.canvas instead.\r\n * @namespace Chart.canvasHelpers\r\n * @deprecated since version 2.6.0\r\n * @todo remove at version 3\r\n * @private\r\n */\r\ncore_controller.canvasHelpers = core_controller.helpers.canvas;\r\n\r\n/**\r\n * Provided for backward compatibility, use Chart.layouts instead.\r\n * @namespace Chart.layoutService\r\n * @deprecated since version 2.7.3\r\n * @todo remove at version 3\r\n * @private\r\n */\r\ncore_controller.layoutService = core_controller.layouts;\r\n\r\n/**\r\n * Provided for backward compatibility, not available anymore.\r\n * @namespace Chart.LinearScaleBase\r\n * @deprecated since version 2.8\r\n * @todo remove at version 3\r\n * @private\r\n */\r\ncore_controller.LinearScaleBase = scale_linearbase;\r\n\r\n/**\r\n * Provided for backward compatibility, instead we should create a new Chart\r\n * by setting the type in the config (`new Chart(id, {type: '{chart-type}'}`).\r\n * @deprecated since version 2.8.0\r\n * @todo remove at version 3\r\n */\r\ncore_controller.helpers.each(\r\n\t[\r\n\t\t'Bar',\r\n\t\t'Bubble',\r\n\t\t'Doughnut',\r\n\t\t'Line',\r\n\t\t'PolarArea',\r\n\t\t'Radar',\r\n\t\t'Scatter'\r\n\t],\r\n\tfunction(klass) {\r\n\t\tcore_controller[klass] = function(ctx, cfg) {\r\n\t\t\treturn new core_controller(ctx, core_controller.helpers.merge(cfg || {}, {\r\n\t\t\t\ttype: klass.charAt(0).toLowerCase() + klass.slice(1)\r\n\t\t\t}));\r\n\t\t};\r\n\t}\r\n);\n\nreturn src;\n\n})));\n\n}","if (typeof FastBoot === 'undefined') {\n      var preferNative = false;\n      (function (originalGlobal) {\n  define('fetch', ['exports', 'ember', 'rsvp'], function (exports, Ember__module, RSVP__module) {\n    'use strict';\n\n    var Ember = 'default' in Ember__module ? Ember__module['default'] : Ember__module;\n    var RSVP = 'default' in RSVP__module ? RSVP__module['default'] : RSVP__module;\n    var Promise = RSVP.Promise;\n    var supportProps = ['FormData', 'FileReader', 'Blob', 'URLSearchParams', 'Symbol', 'ArrayBuffer'];\n    var polyfillProps = ['fetch', 'Headers', 'Request', 'Response', 'AbortController'];\n    var combinedProps = supportProps;\n    if (preferNative) {\n      combinedProps = supportProps.concat(polyfillProps);\n    }\n    combinedProps.forEach(function (prop) {\n      if (originalGlobal[prop]) {\n        Object.defineProperty(exports, prop, {\n          configurable: true,\n          get: function () {\n            return originalGlobal[prop];\n          },\n          set: function (v) {\n            originalGlobal[prop] = v;\n          }\n        });\n      }\n    });\n\n    // shadow github/fetch global object\n    // https://github.com/github/fetch/blob/v3.4.0/fetch.js\n    var globalThis = exports;\n    // shadow mo/abortcontroller-polyfill global object\n    // https://github.com/mo/abortcontroller-polyfill/blob/v1.4.0/src/abortcontroller-polyfill.js\n    var self = exports;\n    (function () {\n      'use strict';\n\n      const {\n        NativeAbortSignal,\n        NativeAbortController\n      } = function (self) {\n        return {\n          NativeAbortSignal: self.AbortSignal,\n          NativeAbortController: self.AbortController\n        };\n      }(typeof self !== 'undefined' ? self : global);\n\n      /**\n       * @param {any} reason abort reason\n       */\n      function createAbortEvent(reason) {\n        let event;\n        try {\n          event = new Event('abort');\n        } catch (e) {\n          if (typeof document !== 'undefined') {\n            if (!document.createEvent) {\n              // For Internet Explorer 8:\n              event = document.createEventObject();\n              event.type = 'abort';\n            } else {\n              // For Internet Explorer 11:\n              event = document.createEvent('Event');\n              event.initEvent('abort', false, false);\n            }\n          } else {\n            // Fallback where document isn't available:\n            event = {\n              type: 'abort',\n              bubbles: false,\n              cancelable: false\n            };\n          }\n        }\n        event.reason = reason;\n        return event;\n      }\n\n      /**\n       * @param {any} reason abort reason\n       */\n      function normalizeAbortReason(reason) {\n        if (reason === undefined) {\n          if (typeof document === 'undefined') {\n            reason = new Error('This operation was aborted');\n            reason.name = 'AbortError';\n          } else {\n            try {\n              reason = new DOMException('signal is aborted without reason');\n              // The DOMException does not support setting the name property directly.\n              Object.defineProperty(reason, 'name', {\n                value: 'AbortError'\n              });\n            } catch (err) {\n              // IE 11 does not support calling the DOMException constructor, use a\n              // regular error object on it instead.\n              reason = new Error('This operation was aborted');\n              reason.name = 'AbortError';\n            }\n          }\n        }\n        return reason;\n      }\n      class Emitter {\n        constructor() {\n          Object.defineProperty(this, 'listeners', {\n            value: {},\n            writable: true,\n            configurable: true\n          });\n        }\n        addEventListener(type, callback, options) {\n          if (!(type in this.listeners)) {\n            this.listeners[type] = [];\n          }\n          this.listeners[type].push({\n            callback,\n            options\n          });\n        }\n        removeEventListener(type, callback) {\n          if (!(type in this.listeners)) {\n            return;\n          }\n          const stack = this.listeners[type];\n          for (let i = 0, l = stack.length; i < l; i++) {\n            if (stack[i].callback === callback) {\n              stack.splice(i, 1);\n              return;\n            }\n          }\n        }\n        dispatchEvent(event) {\n          if (!(event.type in this.listeners)) {\n            return;\n          }\n          const stack = this.listeners[event.type];\n          const stackToCall = stack.slice();\n          for (let i = 0, l = stackToCall.length; i < l; i++) {\n            const listener = stackToCall[i];\n            try {\n              listener.callback.call(this, event);\n            } catch (e) {\n              Promise.resolve().then(() => {\n                throw e;\n              });\n            }\n            if (listener.options && listener.options.once) {\n              this.removeEventListener(event.type, listener.callback);\n            }\n          }\n          return !event.defaultPrevented;\n        }\n      }\n      class AbortSignal$1 extends Emitter {\n        constructor() {\n          super();\n          // Some versions of babel does not transpile super() correctly for IE <= 10, if the parent\n          // constructor has failed to run, then \"this.listeners\" will still be undefined and then we call\n          // the parent constructor directly instead as a workaround. For general details, see babel bug:\n          // https://github.com/babel/babel/issues/3041\n          // This hack was added as a fix for the issue described here:\n          // https://github.com/Financial-Times/polyfill-library/pull/59#issuecomment-477558042\n          if (!this.listeners) {\n            Emitter.call(this);\n          }\n\n          // Compared to assignment, Object.defineProperty makes properties non-enumerable by default and\n          // we want Object.keys(new AbortController().signal) to be [] for compat with the native impl\n          Object.defineProperty(this, 'aborted', {\n            value: false,\n            writable: true,\n            configurable: true\n          });\n          Object.defineProperty(this, 'onabort', {\n            value: null,\n            writable: true,\n            configurable: true\n          });\n          Object.defineProperty(this, 'reason', {\n            value: undefined,\n            writable: true,\n            configurable: true\n          });\n        }\n        toString() {\n          return '[object AbortSignal]';\n        }\n        dispatchEvent(event) {\n          if (event.type === 'abort') {\n            this.aborted = true;\n            if (typeof this.onabort === 'function') {\n              this.onabort.call(this, event);\n            }\n          }\n          super.dispatchEvent(event);\n        }\n\n        /**\n         * @see {@link https://developer.mozilla.org/zh-CN/docs/Web/API/AbortSignal/throwIfAborted}\n         */\n        throwIfAborted() {\n          const {\n            aborted,\n            reason = 'Aborted'\n          } = this;\n          if (!aborted) return;\n          throw reason;\n        }\n\n        /**\n         * @see {@link https://developer.mozilla.org/zh-CN/docs/Web/API/AbortSignal/timeout_static}\n         * @param {number} time The \"active\" time in milliseconds before the returned {@link AbortSignal} will abort.\n         *                      The value must be within range of 0 and {@link Number.MAX_SAFE_INTEGER}.\n         * @returns {AbortSignal} The signal will abort with its {@link AbortSignal.reason} property set to a `TimeoutError` {@link DOMException} on timeout,\n         *                        or an `AbortError` {@link DOMException} if the operation was user-triggered.\n         */\n        static timeout(time) {\n          const controller = new AbortController$1();\n          setTimeout(() => controller.abort(new DOMException(`This signal is timeout in ${time}ms`, 'TimeoutError')), time);\n          return controller.signal;\n        }\n\n        /**\n         * @see {@link https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal/any_static}\n         * @param {Iterable<AbortSignal>} iterable An {@link Iterable} (such as an {@link Array}) of abort signals.\n         * @returns {AbortSignal} - **Already aborted**, if any of the abort signals given is already aborted.\n         *                          The returned {@link AbortSignal}'s reason will be already set to the `reason` of the first abort signal that was already aborted.\n         *                        - **Asynchronously aborted**, when any abort signal in `iterable` aborts.\n         *                          The `reason` will be set to the reason of the first abort signal that is aborted.\n         */\n        static any(iterable) {\n          const controller = new AbortController$1();\n          /**\n           * @this AbortSignal\n           */\n          function abort() {\n            controller.abort(this.reason);\n            clean();\n          }\n          function clean() {\n            for (const signal of iterable) signal.removeEventListener('abort', abort);\n          }\n          for (const signal of iterable) if (signal.aborted) {\n            controller.abort(signal.reason);\n            break;\n          } else signal.addEventListener('abort', abort);\n          return controller.signal;\n        }\n      }\n      class AbortController$1 {\n        constructor() {\n          // Compared to assignment, Object.defineProperty makes properties non-enumerable by default and\n          // we want Object.keys(new AbortController()) to be [] for compat with the native impl\n          Object.defineProperty(this, 'signal', {\n            value: new AbortSignal$1(),\n            writable: true,\n            configurable: true\n          });\n        }\n        abort(reason) {\n          const signalReason = normalizeAbortReason(reason);\n          const event = createAbortEvent(signalReason);\n          this.signal.reason = signalReason;\n          this.signal.dispatchEvent(event);\n        }\n        toString() {\n          return '[object AbortController]';\n        }\n      }\n      if (typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n        // These are necessary to make sure that we get correct output for:\n        // Object.prototype.toString.call(new AbortController())\n        AbortController$1.prototype[Symbol.toStringTag] = 'AbortController';\n        AbortSignal$1.prototype[Symbol.toStringTag] = 'AbortSignal';\n      }\n      function polyfillNeeded(self) {\n        if (self.__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL) {\n          console.log('__FORCE_INSTALL_ABORTCONTROLLER_POLYFILL=true is set, will force install polyfill');\n          return true;\n        }\n\n        // Note that the \"unfetch\" minimal fetch polyfill defines fetch() without\n        // defining window.Request, and this polyfill need to work on top of unfetch\n        // so the below feature detection needs the !self.AbortController part.\n        // The Request.prototype check is also needed because Safari versions 11.1.2\n        // up to and including 12.1.x has a window.AbortController present but still\n        // does NOT correctly implement abortable fetch:\n        // https://bugs.webkit.org/show_bug.cgi?id=174980#c2\n        return typeof self.Request === 'function' && !self.Request.prototype.hasOwnProperty('signal') || !self.AbortController;\n      }\n      (function (self) {\n        if (!polyfillNeeded(self)) {\n          return;\n        }\n        self.AbortController = AbortController$1;\n        self.AbortSignal = AbortSignal$1;\n      })(typeof self !== 'undefined' ? self : global);\n    })();\n    var WHATWGFetch = function (exports) {\n      'use strict';\n\n      /* eslint-disable no-prototype-builtins */\n      var g = typeof globalThis !== 'undefined' && globalThis || typeof self !== 'undefined' && self ||\n      // eslint-disable-next-line no-undef\n      typeof global !== 'undefined' && global || {};\n      var support = {\n        searchParams: 'URLSearchParams' in g,\n        iterable: 'Symbol' in g && 'iterator' in Symbol,\n        blob: 'FileReader' in g && 'Blob' in g && function () {\n          try {\n            new Blob();\n            return true;\n          } catch (e) {\n            return false;\n          }\n        }(),\n        formData: 'FormData' in g,\n        arrayBuffer: 'ArrayBuffer' in g\n      };\n      function isDataView(obj) {\n        return obj && DataView.prototype.isPrototypeOf(obj);\n      }\n      if (support.arrayBuffer) {\n        var viewClasses = ['[object Int8Array]', '[object Uint8Array]', '[object Uint8ClampedArray]', '[object Int16Array]', '[object Uint16Array]', '[object Int32Array]', '[object Uint32Array]', '[object Float32Array]', '[object Float64Array]'];\n        var isArrayBufferView = ArrayBuffer.isView || function (obj) {\n          return obj && viewClasses.indexOf(Object.prototype.toString.call(obj)) > -1;\n        };\n      }\n      function normalizeName(name) {\n        if (typeof name !== 'string') {\n          name = String(name);\n        }\n        if (/[^a-z0-9\\-#$%&'*+.^_`|~!]/i.test(name) || name === '') {\n          throw new TypeError('Invalid character in header field name: \"' + name + '\"');\n        }\n        return name.toLowerCase();\n      }\n      function normalizeValue(value) {\n        if (typeof value !== 'string') {\n          value = String(value);\n        }\n        return value;\n      }\n\n      // Build a destructive iterator for the value list\n      function iteratorFor(items) {\n        var iterator = {\n          next: function () {\n            var value = items.shift();\n            return {\n              done: value === undefined,\n              value: value\n            };\n          }\n        };\n        if (support.iterable) {\n          iterator[Symbol.iterator] = function () {\n            return iterator;\n          };\n        }\n        return iterator;\n      }\n      function Headers(headers) {\n        this.map = {};\n        if (headers instanceof Headers) {\n          headers.forEach(function (value, name) {\n            this.append(name, value);\n          }, this);\n        } else if (Array.isArray(headers)) {\n          headers.forEach(function (header) {\n            if (header.length != 2) {\n              throw new TypeError('Headers constructor: expected name/value pair to be length 2, found' + header.length);\n            }\n            this.append(header[0], header[1]);\n          }, this);\n        } else if (headers) {\n          Object.getOwnPropertyNames(headers).forEach(function (name) {\n            this.append(name, headers[name]);\n          }, this);\n        }\n      }\n      Headers.prototype.append = function (name, value) {\n        name = normalizeName(name);\n        value = normalizeValue(value);\n        var oldValue = this.map[name];\n        this.map[name] = oldValue ? oldValue + ', ' + value : value;\n      };\n      Headers.prototype['delete'] = function (name) {\n        delete this.map[normalizeName(name)];\n      };\n      Headers.prototype.get = function (name) {\n        name = normalizeName(name);\n        return this.has(name) ? this.map[name] : null;\n      };\n      Headers.prototype.has = function (name) {\n        return this.map.hasOwnProperty(normalizeName(name));\n      };\n      Headers.prototype.set = function (name, value) {\n        this.map[normalizeName(name)] = normalizeValue(value);\n      };\n      Headers.prototype.forEach = function (callback, thisArg) {\n        for (var name in this.map) {\n          if (this.map.hasOwnProperty(name)) {\n            callback.call(thisArg, this.map[name], name, this);\n          }\n        }\n      };\n      Headers.prototype.keys = function () {\n        var items = [];\n        this.forEach(function (value, name) {\n          items.push(name);\n        });\n        return iteratorFor(items);\n      };\n      Headers.prototype.values = function () {\n        var items = [];\n        this.forEach(function (value) {\n          items.push(value);\n        });\n        return iteratorFor(items);\n      };\n      Headers.prototype.entries = function () {\n        var items = [];\n        this.forEach(function (value, name) {\n          items.push([name, value]);\n        });\n        return iteratorFor(items);\n      };\n      if (support.iterable) {\n        Headers.prototype[Symbol.iterator] = Headers.prototype.entries;\n      }\n      function consumed(body) {\n        if (body._noBody) return;\n        if (body.bodyUsed) {\n          return Promise.reject(new TypeError('Already read'));\n        }\n        body.bodyUsed = true;\n      }\n      function fileReaderReady(reader) {\n        return new Promise(function (resolve, reject) {\n          reader.onload = function () {\n            resolve(reader.result);\n          };\n          reader.onerror = function () {\n            reject(reader.error);\n          };\n        });\n      }\n      function readBlobAsArrayBuffer(blob) {\n        var reader = new FileReader();\n        var promise = fileReaderReady(reader);\n        reader.readAsArrayBuffer(blob);\n        return promise;\n      }\n      function readBlobAsText(blob) {\n        var reader = new FileReader();\n        var promise = fileReaderReady(reader);\n        var match = /charset=([A-Za-z0-9_-]+)/.exec(blob.type);\n        var encoding = match ? match[1] : 'utf-8';\n        reader.readAsText(blob, encoding);\n        return promise;\n      }\n      function readArrayBufferAsText(buf) {\n        var view = new Uint8Array(buf);\n        var chars = new Array(view.length);\n        for (var i = 0; i < view.length; i++) {\n          chars[i] = String.fromCharCode(view[i]);\n        }\n        return chars.join('');\n      }\n      function bufferClone(buf) {\n        if (buf.slice) {\n          return buf.slice(0);\n        } else {\n          var view = new Uint8Array(buf.byteLength);\n          view.set(new Uint8Array(buf));\n          return view.buffer;\n        }\n      }\n      function Body() {\n        this.bodyUsed = false;\n        this._initBody = function (body) {\n          /*\n            fetch-mock wraps the Response object in an ES6 Proxy to\n            provide useful test harness features such as flush. However, on\n            ES5 browsers without fetch or Proxy support pollyfills must be used;\n            the proxy-pollyfill is unable to proxy an attribute unless it exists\n            on the object before the Proxy is created. This change ensures\n            Response.bodyUsed exists on the instance, while maintaining the\n            semantic of setting Request.bodyUsed in the constructor before\n            _initBody is called.\n          */\n          // eslint-disable-next-line no-self-assign\n          this.bodyUsed = this.bodyUsed;\n          this._bodyInit = body;\n          if (!body) {\n            this._noBody = true;\n            this._bodyText = '';\n          } else if (typeof body === 'string') {\n            this._bodyText = body;\n          } else if (support.blob && Blob.prototype.isPrototypeOf(body)) {\n            this._bodyBlob = body;\n          } else if (support.formData && FormData.prototype.isPrototypeOf(body)) {\n            this._bodyFormData = body;\n          } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n            this._bodyText = body.toString();\n          } else if (support.arrayBuffer && support.blob && isDataView(body)) {\n            this._bodyArrayBuffer = bufferClone(body.buffer);\n            // IE 10-11 can't handle a DataView body.\n            this._bodyInit = new Blob([this._bodyArrayBuffer]);\n          } else if (support.arrayBuffer && (ArrayBuffer.prototype.isPrototypeOf(body) || isArrayBufferView(body))) {\n            this._bodyArrayBuffer = bufferClone(body);\n          } else {\n            this._bodyText = body = Object.prototype.toString.call(body);\n          }\n          if (!this.headers.get('content-type')) {\n            if (typeof body === 'string') {\n              this.headers.set('content-type', 'text/plain;charset=UTF-8');\n            } else if (this._bodyBlob && this._bodyBlob.type) {\n              this.headers.set('content-type', this._bodyBlob.type);\n            } else if (support.searchParams && URLSearchParams.prototype.isPrototypeOf(body)) {\n              this.headers.set('content-type', 'application/x-www-form-urlencoded;charset=UTF-8');\n            }\n          }\n        };\n        if (support.blob) {\n          this.blob = function () {\n            var rejected = consumed(this);\n            if (rejected) {\n              return rejected;\n            }\n            if (this._bodyBlob) {\n              return Promise.resolve(this._bodyBlob);\n            } else if (this._bodyArrayBuffer) {\n              return Promise.resolve(new Blob([this._bodyArrayBuffer]));\n            } else if (this._bodyFormData) {\n              throw new Error('could not read FormData body as blob');\n            } else {\n              return Promise.resolve(new Blob([this._bodyText]));\n            }\n          };\n        }\n        this.arrayBuffer = function () {\n          if (this._bodyArrayBuffer) {\n            var isConsumed = consumed(this);\n            if (isConsumed) {\n              return isConsumed;\n            } else if (ArrayBuffer.isView(this._bodyArrayBuffer)) {\n              return Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset, this._bodyArrayBuffer.byteOffset + this._bodyArrayBuffer.byteLength));\n            } else {\n              return Promise.resolve(this._bodyArrayBuffer);\n            }\n          } else if (support.blob) {\n            return this.blob().then(readBlobAsArrayBuffer);\n          } else {\n            throw new Error('could not read as ArrayBuffer');\n          }\n        };\n        this.text = function () {\n          var rejected = consumed(this);\n          if (rejected) {\n            return rejected;\n          }\n          if (this._bodyBlob) {\n            return readBlobAsText(this._bodyBlob);\n          } else if (this._bodyArrayBuffer) {\n            return Promise.resolve(readArrayBufferAsText(this._bodyArrayBuffer));\n          } else if (this._bodyFormData) {\n            throw new Error('could not read FormData body as text');\n          } else {\n            return Promise.resolve(this._bodyText);\n          }\n        };\n        if (support.formData) {\n          this.formData = function () {\n            return this.text().then(decode);\n          };\n        }\n        this.json = function () {\n          return this.text().then(JSON.parse);\n        };\n        return this;\n      }\n\n      // HTTP methods whose capitalization should be normalized\n      var methods = ['CONNECT', 'DELETE', 'GET', 'HEAD', 'OPTIONS', 'PATCH', 'POST', 'PUT', 'TRACE'];\n      function normalizeMethod(method) {\n        var upcased = method.toUpperCase();\n        return methods.indexOf(upcased) > -1 ? upcased : method;\n      }\n      function Request(input, options) {\n        if (!(this instanceof Request)) {\n          throw new TypeError('Please use the \"new\" operator, this DOM object constructor cannot be called as a function.');\n        }\n        options = options || {};\n        var body = options.body;\n        if (input instanceof Request) {\n          if (input.bodyUsed) {\n            throw new TypeError('Already read');\n          }\n          this.url = input.url;\n          this.credentials = input.credentials;\n          if (!options.headers) {\n            this.headers = new Headers(input.headers);\n          }\n          this.method = input.method;\n          this.mode = input.mode;\n          this.signal = input.signal;\n          if (!body && input._bodyInit != null) {\n            body = input._bodyInit;\n            input.bodyUsed = true;\n          }\n        } else {\n          this.url = String(input);\n        }\n        this.credentials = options.credentials || this.credentials || 'same-origin';\n        if (options.headers || !this.headers) {\n          this.headers = new Headers(options.headers);\n        }\n        this.method = normalizeMethod(options.method || this.method || 'GET');\n        this.mode = options.mode || this.mode || null;\n        this.signal = options.signal || this.signal || function () {\n          if ('AbortController' in g) {\n            var ctrl = new AbortController();\n            return ctrl.signal;\n          }\n        }();\n        this.referrer = null;\n        if ((this.method === 'GET' || this.method === 'HEAD') && body) {\n          throw new TypeError('Body not allowed for GET or HEAD requests');\n        }\n        this._initBody(body);\n        if (this.method === 'GET' || this.method === 'HEAD') {\n          if (options.cache === 'no-store' || options.cache === 'no-cache') {\n            // Search for a '_' parameter in the query string\n            var reParamSearch = /([?&])_=[^&]*/;\n            if (reParamSearch.test(this.url)) {\n              // If it already exists then set the value with the current time\n              this.url = this.url.replace(reParamSearch, '$1_=' + new Date().getTime());\n            } else {\n              // Otherwise add a new '_' parameter to the end with the current time\n              var reQueryString = /\\?/;\n              this.url += (reQueryString.test(this.url) ? '&' : '?') + '_=' + new Date().getTime();\n            }\n          }\n        }\n      }\n      Request.prototype.clone = function () {\n        return new Request(this, {\n          body: this._bodyInit\n        });\n      };\n      function decode(body) {\n        var form = new FormData();\n        body.trim().split('&').forEach(function (bytes) {\n          if (bytes) {\n            var split = bytes.split('=');\n            var name = split.shift().replace(/\\+/g, ' ');\n            var value = split.join('=').replace(/\\+/g, ' ');\n            form.append(decodeURIComponent(name), decodeURIComponent(value));\n          }\n        });\n        return form;\n      }\n      function parseHeaders(rawHeaders) {\n        var headers = new Headers();\n        // Replace instances of \\r\\n and \\n followed by at least one space or horizontal tab with a space\n        // https://tools.ietf.org/html/rfc7230#section-3.2\n        var preProcessedHeaders = rawHeaders.replace(/\\r?\\n[\\t ]+/g, ' ');\n        // Avoiding split via regex to work around a common IE11 bug with the core-js 3.6.0 regex polyfill\n        // https://github.com/github/fetch/issues/748\n        // https://github.com/zloirock/core-js/issues/751\n        preProcessedHeaders.split('\\r').map(function (header) {\n          return header.indexOf('\\n') === 0 ? header.substr(1, header.length) : header;\n        }).forEach(function (line) {\n          var parts = line.split(':');\n          var key = parts.shift().trim();\n          if (key) {\n            var value = parts.join(':').trim();\n            try {\n              headers.append(key, value);\n            } catch (error) {\n              console.warn('Response ' + error.message);\n            }\n          }\n        });\n        return headers;\n      }\n      Body.call(Request.prototype);\n      function Response(bodyInit, options) {\n        if (!(this instanceof Response)) {\n          throw new TypeError('Please use the \"new\" operator, this DOM object constructor cannot be called as a function.');\n        }\n        if (!options) {\n          options = {};\n        }\n        this.type = 'default';\n        this.status = options.status === undefined ? 200 : options.status;\n        if (this.status < 200 || this.status > 599) {\n          throw new RangeError(\"Failed to construct 'Response': The status provided (0) is outside the range [200, 599].\");\n        }\n        this.ok = this.status >= 200 && this.status < 300;\n        this.statusText = options.statusText === undefined ? '' : '' + options.statusText;\n        this.headers = new Headers(options.headers);\n        this.url = options.url || '';\n        this._initBody(bodyInit);\n      }\n      Body.call(Response.prototype);\n      Response.prototype.clone = function () {\n        return new Response(this._bodyInit, {\n          status: this.status,\n          statusText: this.statusText,\n          headers: new Headers(this.headers),\n          url: this.url\n        });\n      };\n      Response.error = function () {\n        var response = new Response(null, {\n          status: 200,\n          statusText: ''\n        });\n        response.ok = false;\n        response.status = 0;\n        response.type = 'error';\n        return response;\n      };\n      var redirectStatuses = [301, 302, 303, 307, 308];\n      Response.redirect = function (url, status) {\n        if (redirectStatuses.indexOf(status) === -1) {\n          throw new RangeError('Invalid status code');\n        }\n        return new Response(null, {\n          status: status,\n          headers: {\n            location: url\n          }\n        });\n      };\n      exports.DOMException = g.DOMException;\n      try {\n        new exports.DOMException();\n      } catch (err) {\n        exports.DOMException = function (message, name) {\n          this.message = message;\n          this.name = name;\n          var error = Error(message);\n          this.stack = error.stack;\n        };\n        exports.DOMException.prototype = Object.create(Error.prototype);\n        exports.DOMException.prototype.constructor = exports.DOMException;\n      }\n      function fetch(input, init) {\n        return new Promise(function (resolve, reject) {\n          var request = new Request(input, init);\n          if (request.signal && request.signal.aborted) {\n            return reject(new exports.DOMException('Aborted', 'AbortError'));\n          }\n          var xhr = new XMLHttpRequest();\n          function abortXhr() {\n            xhr.abort();\n          }\n          xhr.onload = function () {\n            var options = {\n              statusText: xhr.statusText,\n              headers: parseHeaders(xhr.getAllResponseHeaders() || '')\n            };\n            // This check if specifically for when a user fetches a file locally from the file system\n            // Only if the status is out of a normal range\n            if (request.url.indexOf('file://') === 0 && (xhr.status < 200 || xhr.status > 599)) {\n              options.status = 200;\n            } else {\n              options.status = xhr.status;\n            }\n            options.url = 'responseURL' in xhr ? xhr.responseURL : options.headers.get('X-Request-URL');\n            var body = 'response' in xhr ? xhr.response : xhr.responseText;\n            setTimeout(function () {\n              resolve(new Response(body, options));\n            }, 0);\n          };\n          xhr.onerror = function () {\n            setTimeout(function () {\n              reject(new TypeError('Network request failed'));\n            }, 0);\n          };\n          xhr.ontimeout = function () {\n            setTimeout(function () {\n              reject(new TypeError('Network request timed out'));\n            }, 0);\n          };\n          xhr.onabort = function () {\n            setTimeout(function () {\n              reject(new exports.DOMException('Aborted', 'AbortError'));\n            }, 0);\n          };\n          function fixUrl(url) {\n            try {\n              return url === '' && g.location.href ? g.location.href : url;\n            } catch (e) {\n              return url;\n            }\n          }\n          xhr.open(request.method, fixUrl(request.url), true);\n          if (request.credentials === 'include') {\n            xhr.withCredentials = true;\n          } else if (request.credentials === 'omit') {\n            xhr.withCredentials = false;\n          }\n          if ('responseType' in xhr) {\n            if (support.blob) {\n              xhr.responseType = 'blob';\n            } else if (support.arrayBuffer) {\n              xhr.responseType = 'arraybuffer';\n            }\n          }\n          if (init && typeof init.headers === 'object' && !(init.headers instanceof Headers || g.Headers && init.headers instanceof g.Headers)) {\n            var names = [];\n            Object.getOwnPropertyNames(init.headers).forEach(function (name) {\n              names.push(normalizeName(name));\n              xhr.setRequestHeader(name, normalizeValue(init.headers[name]));\n            });\n            request.headers.forEach(function (value, name) {\n              if (names.indexOf(name) === -1) {\n                xhr.setRequestHeader(name, value);\n              }\n            });\n          } else {\n            request.headers.forEach(function (value, name) {\n              xhr.setRequestHeader(name, value);\n            });\n          }\n          if (request.signal) {\n            request.signal.addEventListener('abort', abortXhr);\n            xhr.onreadystatechange = function () {\n              // DONE (success or failure)\n              if (xhr.readyState === 4) {\n                request.signal.removeEventListener('abort', abortXhr);\n              }\n            };\n          }\n          xhr.send(typeof request._bodyInit === 'undefined' ? null : request._bodyInit);\n        });\n      }\n      fetch.polyfill = true;\n      if (!g.fetch) {\n        g.fetch = fetch;\n        g.Headers = Headers;\n        g.Request = Request;\n        g.Response = Response;\n      }\n      exports.Headers = Headers;\n      exports.Request = Request;\n      exports.Response = Response;\n      exports.fetch = fetch;\n      return exports;\n    }({});\n    if (!globalThis.fetch) {\n      throw new Error('fetch is not defined - maybe your browser targets are not covering everything you need?');\n    }\n    var pending = 0;\n    function decrement(result) {\n      pending--;\n      return result;\n    }\n    if (Ember.Test) {\n      Ember.Test.registerWaiter(function () {\n        return pending === 0;\n      });\n      exports['default'] = function () {\n        pending++;\n        return exports.fetch.apply(originalGlobal, arguments).then(function (response) {\n          response.clone().blob().then(decrement, decrement);\n          return response;\n        }, function (reason) {\n          decrement(reason);\n          throw reason;\n        });\n      };\n    } else {\n      exports['default'] = exports.fetch;\n    }\n    supportProps.forEach(function (prop) {\n      delete exports[prop];\n    });\n  });\n})(typeof window !== 'undefined' && window || typeof globalThis !== 'undefined' && globalThis || typeof self !== 'undefined' && self || typeof global !== 'undefined' && global);\n    }","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define(t):e.FroalaEditor=t()}(this,function(){\"use strict\";function N(e){return(N=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector),Element.prototype.closest||(Element.prototype.closest=function(e){var t=this;if(!document.documentElement.contains(t))return null;do{if(t.matches(e))return t;t=t.parentElement||t.parentNode}while(null!==t&&1===t.nodeType);return null}),Element.prototype.matches||(Element.prototype.matches=Element.prototype.matchesSelector||Element.prototype.mozMatchesSelector||Element.prototype.msMatchesSelector||Element.prototype.oMatchesSelector||Element.prototype.webkitMatchesSelector||function(e){for(var t=(this.document||this.ownerDocument).querySelectorAll(e),n=t.length;0<=--n&&t.item(n)!==this;);return-1<n}),Array.isArray||(Array.isArray=function(e){return\"[object Array]\"===Object.prototype.toString.call(e)}),\"function\"!=typeof Object.assign&&Object.defineProperty(Object,\"assign\",{value:function(e,t){if(null==e)throw new TypeError(\"Cannot convert undefined or null to object\");for(var n=Object(e),r=1;r<arguments.length;r++){var o=arguments[r];if(null!=o)for(var i in o)Object.prototype.hasOwnProperty.call(o,i)&&(n[i]=o[i])}return n},writable:!0,configurable:!0}),function(){var a=/^\\s*:scope/gi,s=/,\\s*:scope/gi,l=document.createElement(\"div\");function e(e,t){var i=e[t];e[t]=function(e){var t,n=!1,r=!1;if(!e||Array.isArray(e)||!e.match(a)&&!e.match(s))return i.call(this,e);this.parentNode||(l.appendChild(this),r=!0);var o=this.parentNode;return this.id||(this.id=\"rootedQuerySelector_id_\".concat((new Date).getTime()),n=!0),t=i.call(o,e.replace(a,\"#\".concat(this.id)).replace(s,\",#\".concat(this.id))),n&&(this.id=\"\"),r&&l.removeChild(this),t}}try{var t=l.querySelectorAll(\":scope *\");if(!t||Array.isArray(t))throw\"error\"}catch(n){e(Element.prototype,\"querySelector\"),e(Element.prototype,\"querySelectorAll\"),e(HTMLElement.prototype,\"querySelector\"),e(HTMLElement.prototype,\"querySelectorAll\")}}(),\"document\"in self&&(\"classList\"in document.createElement(\"_\")&&(!document.createElementNS||\"classList\"in document.createElementNS(\"http://www.w3.org/2000/svg\",\"g\"))||function(e){if(\"Element\"in e){var t=\"classList\",n=\"prototype\",r=e.Element[n],o=Object,i=String[n].trim||function(){return this.replace(/^\\s+|\\s+$/g,\"\")},a=Array[n].indexOf||function(e){for(var t=0,n=this.length;t<n;t++)if(t in this&&this[t]===e)return t;return-1},s=function s(e,t){this.name=e,this.code=DOMException[e],this.message=t},l=function l(e,t){if(\"\"===t)throw new s(\"SYNTAX_ERR\",\"The token must not be empty.\");if(/\\s/.test(t))throw new s(\"INVALID_CHARACTER_ERR\",\"The token must not contain space characters.\");return a.call(e,t)},c=function c(e){for(var t=i.call(e.getAttribute(\"class\")||\"\"),n=t?t.split(/\\s+/):[],r=0,o=n.length;r<o;r++)this.push(n[r]);this._updateClassName=function(){e.setAttribute(\"class\",this.toString())}},d=c[n]=[],f=function f(){return new c(this)};if(s[n]=Error[n],d.item=function(e){return this[e]||null},d.contains=function(e){return~l(this,e+\"\")},d.add=function(){for(var e,t=arguments,n=0,r=t.length,o=!1;e=t[n]+\"\",~l(this,e)||(this.push(e),o=!0),++n<r;);o&&this._updateClassName()},d.remove=function(){var e,t,n=arguments,r=0,o=n.length,i=!1;do{for(e=n[r]+\"\",t=l(this,e);~t;)this.splice(t,1),i=!0,t=l(this,e)}while(++r<o);i&&this._updateClassName()},d.toggle=function(e,t){var n=this.contains(e),r=n?!0!==t&&\"remove\":!1!==t&&\"add\";return r&&this[r](e),!0===t||!1===t?t:!n},d.replace=function(e,t){var n=l(e+\"\");~n&&(this.splice(n,1,t),this._updateClassName())},d.toString=function(){return this.join(\" \")},o.defineProperty){var p={get:f,enumerable:!0,configurable:!0};try{o.defineProperty(r,t,p)}catch(u){void 0!==u.number&&-2146823252!==u.number||(p.enumerable=!1,o.defineProperty(r,t,p))}}else o[n].__defineGetter__&&r.__defineGetter__(t,f)}}(self),function(){var e=document.createElement(\"_\");if(e.classList.add(\"c1\",\"c2\"),!e.classList.contains(\"c2\")){var t=function yc(e){var yc=DOMTokenList.prototype[e];DOMTokenList.prototype[e]=function(e){var t,n=arguments.length;for(t=0;t<n;t++)e=arguments[t],yc.call(this,e)}};t(\"add\"),t(\"remove\")}if(e.classList.toggle(\"c3\",!1),e.classList.contains(\"c3\")){var n=DOMTokenList.prototype.toggle;DOMTokenList.prototype.toggle=function(e,t){return 1 in arguments&&!this.contains(e)==!t?t:n.call(this,e)}}\"replace\"in document.createElement(\"_\").classList||(DOMTokenList.prototype.replace=function(e,t){var n=this.toString().split(\" \"),r=n.indexOf(e+\"\");~r&&(n=n.slice(r),this.remove.apply(this,n),this.add(t),this.add.apply(this,n.slice(1)))}),e=null}());function I(e,t,n){if(\"string\"!=typeof e)return new I.Bootstrap(e,t,n);var r=document.querySelectorAll(e);t&&t.iframe_document&&(r=t.iframe_document.querySelectorAll(e));for(var o=[],i=0;i<r.length;i++){var a=r[i][\"data-froala.editor\"];a?o.push(a):o.push(new I.Bootstrap(r[i],t,n))}return 1==o.length?o[0]:o}I.RegisterPlugins=function(e){for(var t=0;t<e.length;t++)e[t].call(I)},Object.assign(I,{DEFAULTS:{initOnClick:!1,pluginsEnabled:null},MODULES:{},PLUGINS:{},VERSION:\"3.2.7\",INSTANCES:[],OPTS_MAPPING:{},SHARED:{},ID:0}),I.MODULES.node=function(a){var n=a.$;function s(e){return e&&\"IFRAME\"!==e.tagName?Array.prototype.slice.call(e.childNodes||[]):[]}function l(e){return!!e&&(e.nodeType===Node.ELEMENT_NODE&&0<=I.BLOCK_TAGS.indexOf(e.tagName.toLowerCase()))}function c(e){var t={},n=e.attributes;if(n)for(var r=0;r<n.length;r++){var o=n[r];t[o.nodeName]=o.value}return t}function t(e){for(var t=\"\",n=c(e),r=Object.keys(n).sort(),o=0;o<r.length;o++){var i=r[o],a=n[i];a.indexOf(\"'\")<0&&0<=a.indexOf('\"')?t+=\" \".concat(i,\"='\").concat(a,\"'\"):(0<=a.indexOf('\"')&&0<=a.indexOf(\"'\")&&(a=a.replace(/\"/g,\"&quot;\")),t+=\" \".concat(i,'=\"').concat(a,'\"'))}return t}function r(e){return e===a.el}return{isBlock:l,isEmpty:function d(e,t){if(!e)return!0;if(e.querySelector(\"table\"))return!1;var n=s(e);1===n.length&&l(n[0])&&(n=s(n[0]));for(var r=!1,o=0;o<n.length;o++){var i=n[o];if(!(t&&a.node.hasClass(i,\"fr-marker\")||i.nodeType===Node.TEXT_NODE&&0===i.textContent.length)){if(\"BR\"!==i.tagName&&0<(i.textContent||\"\").replace(/\\u200B/gi,\"\").replace(/\\n/g,\"\").length)return!1;if(r)return!1;\"BR\"===i.tagName&&(r=!0)}}return!(e.querySelectorAll(I.VOID_ELEMENTS.join(\",\")).length-e.querySelectorAll(\"br\").length||e.querySelector(\"\".concat(a.opts.htmlAllowedEmptyTags.join(\":not(.fr-marker),\"),\":not(.fr-marker)\"))||1<e.querySelectorAll(I.BLOCK_TAGS.join(\",\")).length||e.querySelector(\"\".concat(a.opts.htmlDoNotWrapTags.join(\":not(.fr-marker),\"),\":not(.fr-marker)\")))},blockParent:function o(e){for(;e&&e.parentNode!==a.el&&(!e.parentNode||!a.node.hasClass(e.parentNode,\"fr-inner\"));)if(l(e=e.parentNode))return e;return null},deepestParent:function i(e,t,n){if(void 0===t&&(t=[]),void 0===n&&(n=!0),t.push(a.el),0<=t.indexOf(e.parentNode)||e.parentNode&&a.node.hasClass(e.parentNode,\"fr-inner\")||e.parentNode&&0<=I.SIMPLE_ENTER_TAGS.indexOf(e.parentNode.tagName)&&n)return null;for(;t.indexOf(e.parentNode)<0&&e.parentNode&&!a.node.hasClass(e.parentNode,\"fr-inner\")&&(I.SIMPLE_ENTER_TAGS.indexOf(e.parentNode.tagName)<0||!n)&&(!l(e)||l(e.parentNode))&&(!l(e)||!l(e.parentNode)||!n);)e=e.parentNode;return e},rawAttributes:c,attributes:t,clearAttributes:function f(e){for(var t=e.attributes,n=t.length-1;0<=n;n--){var r=t[n];e.removeAttribute(r.nodeName)}},openTagString:function p(e){return\"<\".concat(e.tagName.toLowerCase()).concat(t(e),\">\")},closeTagString:function u(e){return\"</\".concat(e.tagName.toLowerCase(),\">\")},isFirstSibling:function h(e,t){void 0===t&&(t=!0);for(var n=e.previousSibling;n&&t&&a.node.hasClass(n,\"fr-marker\");)n=n.previousSibling;return!n||n.nodeType===Node.TEXT_NODE&&\"\"===n.textContent&&h(n)},isLastSibling:function g(e,t){void 0===t&&(t=!0);for(var n=e.nextSibling;n&&t&&a.node.hasClass(n,\"fr-marker\");)n=n.nextSibling;return!n||n.nodeType===Node.TEXT_NODE&&\"\"===n.textContent&&g(n)},isList:function m(e){return!!e&&0<=[\"UL\",\"OL\"].indexOf(e.tagName)},isLink:function C(e){return!!e&&e.nodeType===Node.ELEMENT_NODE&&\"a\"===e.tagName.toLowerCase()},isElement:r,contents:s,isVoid:function v(e){return e&&e.nodeType===Node.ELEMENT_NODE&&0<=I.VOID_ELEMENTS.indexOf((e.tagName||\"\").toLowerCase())},hasFocus:function b(e){return e===a.doc.activeElement&&(!a.doc.hasFocus||a.doc.hasFocus())&&Boolean(r(e)||e.type||e.href||~e.tabIndex)},isEditable:function L(e){return(!e.getAttribute||\"false\"!==e.getAttribute(\"contenteditable\"))&&[\"STYLE\",\"SCRIPT\"].indexOf(e.tagName)<0},isDeletable:function E(e){return e&&e.nodeType===Node.ELEMENT_NODE&&e.getAttribute(\"class\")&&0<=(e.getAttribute(\"class\")||\"\").indexOf(\"fr-deletable\")},hasClass:function y(e,t){return e instanceof n&&(e=e.get(0)),e&&e.classList&&e.classList.contains(t)},filter:function S(e){return a.browser.msie?e:{acceptNode:e}}}},Object.assign(I.DEFAULTS,{DOMPurify:window.DOMPurify,htmlAllowedTags:[\"a\",\"abbr\",\"address\",\"area\",\"article\",\"aside\",\"audio\",\"b\",\"base\",\"bdi\",\"bdo\",\"blockquote\",\"br\",\"button\",\"canvas\",\"caption\",\"cite\",\"code\",\"col\",\"colgroup\",\"datalist\",\"dd\",\"del\",\"details\",\"dfn\",\"dialog\",\"div\",\"dl\",\"dt\",\"em\",\"embed\",\"fieldset\",\"figcaption\",\"figure\",\"footer\",\"form\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"header\",\"hgroup\",\"hr\",\"i\",\"iframe\",\"img\",\"input\",\"ins\",\"kbd\",\"keygen\",\"label\",\"legend\",\"li\",\"link\",\"main\",\"map\",\"mark\",\"menu\",\"menuitem\",\"meter\",\"nav\",\"noscript\",\"object\",\"ol\",\"optgroup\",\"option\",\"output\",\"p\",\"param\",\"pre\",\"progress\",\"queue\",\"rp\",\"rt\",\"ruby\",\"s\",\"samp\",\"script\",\"style\",\"section\",\"select\",\"small\",\"source\",\"span\",\"strike\",\"strong\",\"sub\",\"summary\",\"sup\",\"table\",\"tbody\",\"td\",\"textarea\",\"tfoot\",\"th\",\"thead\",\"time\",\"tr\",\"track\",\"u\",\"ul\",\"var\",\"video\",\"wbr\"],htmlRemoveTags:[\"script\",\"style\"],htmlAllowedAttrs:[\"accept\",\"accept-charset\",\"accesskey\",\"action\",\"align\",\"allowfullscreen\",\"allowtransparency\",\"alt\",\"async\",\"autocomplete\",\"autofocus\",\"autoplay\",\"autosave\",\"background\",\"bgcolor\",\"border\",\"charset\",\"cellpadding\",\"cellspacing\",\"checked\",\"cite\",\"class\",\"color\",\"cols\",\"colspan\",\"content\",\"contenteditable\",\"contextmenu\",\"controls\",\"coords\",\"data\",\"data-.*\",\"datetime\",\"default\",\"defer\",\"dir\",\"dirname\",\"disabled\",\"download\",\"draggable\",\"dropzone\",\"enctype\",\"for\",\"form\",\"formaction\",\"frameborder\",\"headers\",\"height\",\"hidden\",\"high\",\"href\",\"hreflang\",\"http-equiv\",\"icon\",\"id\",\"ismap\",\"itemprop\",\"keytype\",\"kind\",\"label\",\"lang\",\"language\",\"list\",\"loop\",\"low\",\"max\",\"maxlength\",\"media\",\"method\",\"min\",\"mozallowfullscreen\",\"multiple\",\"muted\",\"name\",\"novalidate\",\"open\",\"optimum\",\"pattern\",\"ping\",\"placeholder\",\"playsinline\",\"poster\",\"preload\",\"pubdate\",\"radiogroup\",\"readonly\",\"rel\",\"required\",\"reversed\",\"rows\",\"rowspan\",\"sandbox\",\"scope\",\"scoped\",\"scrolling\",\"seamless\",\"selected\",\"shape\",\"size\",\"sizes\",\"span\",\"src\",\"srcdoc\",\"srclang\",\"srcset\",\"start\",\"step\",\"summary\",\"spellcheck\",\"style\",\"tabindex\",\"target\",\"title\",\"type\",\"translate\",\"usemap\",\"value\",\"valign\",\"webkitallowfullscreen\",\"width\",\"wrap\"],htmlAllowedStyleProps:[\".*\"],htmlAllowComments:!0,htmlUntouched:!1,fullPage:!1}),I.HTML5Map={B:\"STRONG\",I:\"EM\",STRIKE:\"S\"},I.MODULES.clean=function(f){var d,p,u,h,g=f.$;function o(e){if(e.nodeType===Node.ELEMENT_NODE&&e.getAttribute(\"class\")&&0<=e.getAttribute(\"class\").indexOf(\"fr-marker\"))return!1;var t,n=f.node.contents(e),r=[];for(t=0;t<n.length;t++)n[t].nodeType!==Node.ELEMENT_NODE||f.node.isVoid(n[t])?n[t].nodeType===Node.TEXT_NODE&&(n[t].textContent=n[t].textContent.replace(/\\u200b/g,\"\")):n[t].textContent.replace(/\\u200b/g,\"\").length!==n[t].textContent.length&&o(n[t]);if(e.nodeType===Node.ELEMENT_NODE&&!f.node.isVoid(e)&&(e.normalize(),n=f.node.contents(e),r=e.querySelectorAll(\".fr-marker\"),n.length-r.length==0)){for(t=0;t<n.length;t++)if(n[t].nodeType===Node.ELEMENT_NODE&&(n[t].getAttribute(\"class\")||\"\").indexOf(\"fr-marker\")<0)return!1;for(t=0;t<r.length;t++)e.parentNode.insertBefore(r[t].cloneNode(!0),e);return e.parentNode.removeChild(e),!1}}function s(e,t){if(e.nodeType===Node.COMMENT_NODE)return\"\\x3c!--\".concat(e.nodeValue,\"--\\x3e\");if(e.nodeType===Node.TEXT_NODE)return t?e.textContent.replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\"):e.textContent.replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\").replace(/\\u00A0/g,\"&nbsp;\").replace(/\\u0009/g,\"\");if(e.nodeType!==Node.ELEMENT_NODE)return e.outerHTML;if(e.nodeType===Node.ELEMENT_NODE&&0<=[\"STYLE\",\"SCRIPT\",\"NOSCRIPT\"].indexOf(e.tagName))return e.outerHTML;if(e.nodeType===Node.ELEMENT_NODE&&\"svg\"===e.tagName){var n=document.createElement(\"div\"),r=e.cloneNode(!0);return n.appendChild(r),n.innerHTML}if(\"IFRAME\"===e.tagName)return e.outerHTML.replace(/&lt;/g,\"<\").replace(/&gt;/g,\">\");var o=e.childNodes;if(0===o.length)return e.outerHTML;for(var i=\"\",a=0;a<o.length;a++)\"PRE\"===e.tagName&&(t=!0),i+=s(o[a],t);return f.node.openTagString(e)+i+f.node.closeTagString(e)}var l=[];function m(e){var t=e.replace(/;;/gi,\";\");return\";\"!==(t=t.replace(/^;/gi,\"\")).charAt(t.length)&&(t+=\";\"),t}function c(e){var t;for(t in e)if(Object.prototype.hasOwnProperty.call(e,t)){var n=t.match(u),r=null;\"style\"===t&&f.opts.htmlAllowedStyleProps.length&&(r=e[t].match(h)),n&&r?e[t]=m(r.join(\";\")):n&&(\"style\"!==t||r)||delete e[t]}for(var o=\"\",i=Object.keys(e).sort(),a=0;a<i.length;a++)e[t=i[a]].indexOf('\"')<0?o+=\" \".concat(t,'=\"').concat(e[t],'\"'):o+=\" \".concat(t,\"='\").concat(e[t],\"'\");return o}function C(e,t){var n,r=document.implementation.createHTMLDocument(\"Froala DOC\").createElement(\"DIV\");g(r).append(e);var o=\"\";if(r){var i=f.node.contents(r);for(n=0;n<i.length;n++)t(i[n]);for(i=f.node.contents(r),n=0;n<i.length;n++)o+=s(i[n])}return o}function v(e,t,n){var r=e=function i(e){return l=[],e=(e=(e=(e=e.replace(/<script\\b[^<]*(?:(?!<\\/script>)<[^<]*)*<\\/script>/gi,function(e){return l.push(e),\"[FROALA.EDITOR.SCRIPT \".concat(l.length-1,\"]\")})).replace(/<noscript\\b[^<]*(?:(?!<\\/noscript>)<[^<]*)*<\\/noscript>/gi,function(e){return l.push(e),\"[FROALA.EDITOR.NOSCRIPT \".concat(l.length-1,\"]\")})).replace(/<meta((?:[\\w\\W]*?)) http-equiv=\"/g,'<meta$1 data-fr-http-equiv=\"')).replace(/<img((?:[\\w\\W]*?)) src=\"/g,'<img$1 data-fr-src=\"')}(e),o=null;return f.opts.fullPage&&(r=f.html.extractNode(e,\"body\")||(0<=e.indexOf(\"<body\")?\"\":e),n&&(o=f.html.extractNode(e,\"head\")||\"\")),r=C(r,t),o&&(o=C(o,t)),function a(e){return e=(e=(e=e.replace(/\\[FROALA\\.EDITOR\\.SCRIPT ([\\d]*)\\]/gi,function(e,t){return 0<=f.opts.htmlRemoveTags.indexOf(\"script\")?\"\":l[parseInt(t,10)]})).replace(/\\[FROALA\\.EDITOR\\.NOSCRIPT ([\\d]*)\\]/gi,function(e,t){if(0<=f.opts.htmlRemoveTags.indexOf(\"noscript\"))return\"\";var n=l[parseInt(t,10)].replace(/&lt;/g,\"<\").replace(/&gt;/g,\">\"),r=g(n);if(r&&r.length){var o=C(r.html(),L);r.html(o),n=r.get(0).outerHTML}return n})).replace(/<img((?:[\\w\\W]*?)) data-fr-src=\"/g,'<img$1 src=\"')}(function s(e,t,n){if(f.opts.fullPage){var r=f.html.extractDoctype(n),o=c(f.html.extractNodeAttrs(n,\"html\"));t=null===t?f.html.extractNode(n,\"head\")||\"<title></title>\":t;var i=c(f.html.extractNodeAttrs(n,\"head\")),a=c(f.html.extractNodeAttrs(n,\"body\"));return\"\".concat(r,\"<html\").concat(o,\"><head\").concat(i,\">\").concat(t,\"</head><body\").concat(a,\">\").concat(e,\"</body></html>\")}return e}(r,o,e))}function b(e){var t=f.doc.createElement(\"DIV\");return t.innerText=e,t.textContent}function L(e){for(var t=f.node.contents(e),n=0;n<t.length;n++)t[n].nodeType!==Node.TEXT_NODE&&L(t[n]);!function c(a){if(\"SPAN\"===a.tagName&&0<=(a.getAttribute(\"class\")||\"\").indexOf(\"fr-marker\"))return!1;if(\"PRE\"===a.tagName&&function l(e){var t=e.innerHTML;0<=t.indexOf(\"\\n\")&&(e.innerHTML=t.replace(/\\n/g,\"<br>\"))}(a),a.nodeType===Node.ELEMENT_NODE&&(a.getAttribute(\"data-fr-src\")&&0!==a.getAttribute(\"data-fr-src\").indexOf(\"blob:\")&&a.setAttribute(\"data-fr-src\",f.helpers.sanitizeURL(b(a.getAttribute(\"data-fr-src\")))),a.getAttribute(\"href\")&&a.setAttribute(\"href\",f.helpers.sanitizeURL(b(a.getAttribute(\"href\")))),a.getAttribute(\"src\")&&a.setAttribute(\"src\",f.helpers.sanitizeURL(b(a.getAttribute(\"src\")))),a.getAttribute(\"srcdoc\")&&a.setAttribute(\"srcdoc\",f.clean.html(a.getAttribute(\"srcdoc\"))),0<=[\"TABLE\",\"TBODY\",\"TFOOT\",\"TR\"].indexOf(a.tagName)&&(a.innerHTML=a.innerHTML.trim())),!f.opts.pasteAllowLocalImages&&a.nodeType===Node.ELEMENT_NODE&&\"IMG\"===a.tagName&&a.getAttribute(\"data-fr-src\")&&0===a.getAttribute(\"data-fr-src\").indexOf(\"file://\"))return a.parentNode.removeChild(a),!1;if(a.nodeType===Node.ELEMENT_NODE&&I.HTML5Map[a.tagName]&&\"\"===f.node.attributes(a)){var e=I.HTML5Map[a.tagName],t=\"<\".concat(e,\">\").concat(a.innerHTML,\"</\").concat(e,\">\");a.insertAdjacentHTML(\"beforebegin\",t),(a=a.previousSibling).parentNode.removeChild(a.nextSibling)}if(f.opts.htmlAllowComments||a.nodeType!==Node.COMMENT_NODE)if(a.tagName&&a.tagName.match(p))\"STYLE\"==a.tagName&&f.helpers.isMac()&&function(){var e,n=a.innerHTML.trim(),r=[],t=/{([^}]+)}/g;for(n=n.replace(/\\/\\*[\\s\\S]*?\\*\\/|([^\\\\:]|^)\\/\\/.*|<!--[\\s\\S]*?-->$/,\"\");e=t.exec(n);)r.push(e[1]);for(var o=function o(t){var e=n.substring(0,n.indexOf(\"{\")).trim();0==!/^[a-z_-][a-z\\d_-]*$/i.test(e)&&a.parentNode.querySelectorAll(e).forEach(function(e){e.removeAttribute(\"class\"),e.setAttribute(\"style\",r[t])}),n=n.substring(n.indexOf(\"}\")+1)},i=0;-1!=n.indexOf(\"{\");i++)o(i)}(),a.parentNode.removeChild(a);else if(a.tagName&&!a.tagName.match(d))\"svg\"===a.tagName?a.parentNode.removeChild(a):f.browser.safari&&\"path\"===a.tagName&&a.parentNode&&\"svg\"===a.parentNode.tagName||(a.outerHTML=a.innerHTML);else{var n=a.attributes;if(n)for(var r=n.length-1;0<=r;r--){var o=n[r],i=o.nodeName.match(u),s=null;\"style\"===o.nodeName&&f.opts.htmlAllowedStyleProps.length&&(s=o.value.match(h)),i&&s?o.value=m(s.join(\";\")):i&&(\"style\"!==o.nodeName||s)||a.removeAttribute(o.nodeName)}}else 0!==a.data.indexOf(\"[FROALA.EDITOR\")&&a.parentNode.removeChild(a)}(e)}return{_init:function e(){f.opts.fullPage&&g.merge(f.opts.htmlAllowedTags,[\"head\",\"title\",\"style\",\"link\",\"base\",\"body\",\"html\",\"meta\"])},html:function E(e,t,n,r){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===r&&(r=!1);var o,i=g.merge([],f.opts.htmlAllowedTags);for(o=0;o<t.length;o++)0<=i.indexOf(t[o])&&i.splice(i.indexOf(t[o]),1);var a=g.merge([],f.opts.htmlAllowedAttrs);for(o=0;o<n.length;o++)0<=a.indexOf(n[o])&&a.splice(a.indexOf(n[o]),1);return a.push(\"data-fr-.*\"),a.push(\"fr-.*\"),d=new RegExp(\"^\".concat(i.join(\"$|^\"),\"$\"),\"gi\"),u=new RegExp(\"^\".concat(a.join(\"$|^\"),\"$\"),\"gi\"),p=new RegExp(\"^\".concat(f.opts.htmlRemoveTags.join(\"$|^\"),\"$\"),\"gi\"),h=f.opts.htmlAllowedStyleProps.length?new RegExp(\"((^|;|\\\\s)\".concat(f.opts.htmlAllowedStyleProps.join(\":.+?(?=;|$))|((^|;|\\\\s)\"),\":.+?(?=(;)|$))\"),\"gi\"):null,e=v(e,L,!0),\"undefined\"!=typeof f.opts.DOMPurify&&(e=f.opts.DOMPurify.sanitize(e)),e},toHTML5:function r(){var e=f.el.querySelectorAll(Object.keys(I.HTML5Map).join(\",\"));if(e.length){var t=!1;f.el.querySelector(\".fr-marker\")||(f.selection.save(),t=!0);for(var n=0;n<e.length;n++)\"\"===f.node.attributes(e[n])&&g(e[n]).replaceWith(\"<\".concat(I.HTML5Map[e[n].tagName],\">\").concat(e[n].innerHTML,\"</\").concat(I.HTML5Map[e[n].tagName],\">\"));t&&f.selection.restore()}},tables:function t(){!function s(){for(var e=f.el.querySelectorAll(\"tr\"),t=0;t<e.length;t++){for(var n=e[t].children,r=!0,o=0;o<n.length;o++)if(\"TH\"!==n[o].tagName){r=!1;break}if(!1!==r&&0!==n.length){for(var i=e[t];i&&\"TABLE\"!==i.tagName&&\"THEAD\"!==i.tagName;)i=i.parentNode;var a=i;\"THEAD\"!==a.tagName&&(a=f.doc.createElement(\"THEAD\"),i.insertBefore(a,i.firstChild)),a.appendChild(e[t])}}}()},lists:function y(){!function s(){var e,t=[];do{if(t.length){var n=t[0],r=f.doc.createElement(\"ul\");n.parentNode.insertBefore(r,n);do{var o=n;n=n.nextSibling,r.appendChild(o)}while(n&&\"LI\"===n.tagName)}t=[];for(var i=f.el.querySelectorAll(\"li\"),a=0;a<i.length;a++)e=i[a],f.node.isList(e.parentNode)||t.push(i[a])}while(0<t.length)}(),function i(){for(var e=f.el.querySelectorAll(\"ol + ol, ul + ul\"),t=0;t<e.length;t++){var n=e[t];if(f.node.isList(n.previousSibling)&&f.node.openTagString(n)===f.node.openTagString(n.previousSibling)){for(var r=f.node.contents(n),o=0;o<r.length;o++)n.previousSibling.appendChild(r[o]);n.parentNode.removeChild(n)}}}(),function a(){for(var e=f.el.querySelectorAll(\"ul, ol\"),t=0;t<e.length;t++)for(var n=f.node.contents(e[t]),r=null,o=n.length-1;0<=o;o--)!n[o].tagName&&f.opts.htmlUntouched||\"LI\"===n[o].tagName||\"UL\"==n[o].tagName||\"OL\"==n[o].tagName?r=null:(r||(r=g(f.doc.createElement(\"LI\"))).insertBefore(n[o]),r.prepend(n[o]))}(),function l(){var e,t,n;do{t=!1;var r=f.el.querySelectorAll(\"li:empty\");for(e=0;e<r.length;e++)r[e].parentNode.removeChild(r[e]);var o=f.el.querySelectorAll(\"ul, ol\");for(e=0;e<o.length;e++)(n=o[e]).querySelector(\"LI\")||(t=!0,n.parentNode.removeChild(n))}while(!0===t)}(),function o(){for(var e=f.el.querySelectorAll(\"ul > ul, ol > ol, ul > ol, ol > ul\"),t=0;t<e.length;t++){var n=e[t],r=n.previousSibling;r&&(\"LI\"===r.tagName?r.appendChild(n):g(n).wrap(\"<li></li>\"))}}(),function c(){for(var e=f.el.querySelectorAll(\"li > ul, li > ol\"),t=0;t<e.length;t++){var n=e[t];if(n.nextSibling)for(var r=n.nextSibling;0<r.childNodes.length;)n.append(r.childNodes[0])}}(),function d(){for(var e=f.el.querySelectorAll(\"li > ul, li > ol\"),t=0;t<e.length;t++){var n=e[t];if(f.node.isFirstSibling(n)&&\"none\"!=n.parentNode.style.listStyleType)g(n).before(\"<br/>\");else if(n.previousSibling&&\"BR\"===n.previousSibling.tagName){for(var r=n.previousSibling.previousSibling;r&&f.node.hasClass(r,\"fr-marker\");)r=r.previousSibling;r&&\"BR\"!==r.tagName&&g(n.previousSibling).remove()}}}(),function n(){for(var e=f.el.querySelectorAll(\"li:empty\"),t=0;t<e.length;t++)g(e[t]).remove()}()},invisibleSpaces:function n(e){return e.replace(/\\u200b/g,\"\").length===e.length?e:f.clean.exec(e,o)},exec:v}},I.XS=0,I.SM=1,I.MD=2,I.LG=3;I.LinkRegExCommon=\"[\".concat(\"a-z\\\\u0080-\\\\u009f\\\\u00a1-\\\\uffff0-9-_\\\\.\",\"]{1,}\"),I.LinkRegExEnd=\"((:[0-9]{1,5})|)(((\\\\/|\\\\?|#)[a-z\\\\u00a1-\\\\uffff0-9@?\\\\|!^=%&amp;\\\\/~+#-\\\\'*-_{}]*)|())\",I.LinkRegExTLD=\"((\".concat(I.LinkRegExCommon,\")(\\\\.(com|net|org|edu|mil|gov|co|biz|info|me|dev)))\"),I.LinkRegExHTTP=\"((ftp|http|https):\\\\/\\\\/\".concat(I.LinkRegExCommon,\")\"),I.LinkRegExAuth=\"((ftp|http|https):\\\\/\\\\/[\\\\u0021-\\\\uffff]{1,}@\".concat(I.LinkRegExCommon,\")\"),I.LinkRegExWWW=\"(www\\\\.\".concat(I.LinkRegExCommon,\"\\\\.[a-z0-9-]{2,24})\"),I.LinkRegEx=\"(\".concat(I.LinkRegExTLD,\"|\").concat(I.LinkRegExHTTP,\"|\").concat(I.LinkRegExWWW,\"|\").concat(I.LinkRegExAuth,\")\").concat(I.LinkRegExEnd),I.LinkProtocols=[\"mailto\",\"tel\",\"sms\",\"notes\",\"data\"],I.MAIL_REGEX=/.+@.+\\..+/i,I.MODULES.helpers=function(i){var a,s=i.$;function e(){var e={},t=function i(){var e,t=-1;return\"Microsoft Internet Explorer\"===navigator.appName?(e=navigator.userAgent,null!==new RegExp(\"MSIE ([0-9]{1,}[\\\\.0-9]{0,})\").exec(e)&&(t=parseFloat(RegExp.$1))):\"Netscape\"===navigator.appName&&(e=navigator.userAgent,null!==new RegExp(\"Trident/.*rv:([0-9]{1,}[\\\\.0-9]{0,})\").exec(e)&&(t=parseFloat(RegExp.$1))),t}();if(0<t)e.msie=!0;else{var n=navigator.userAgent.toLowerCase(),r=/(edge)[ /]([\\w.]+)/.exec(n)||/(chrome)[ /]([\\w.]+)/.exec(n)||/(webkit)[ /]([\\w.]+)/.exec(n)||/(opera)(?:.*version|)[ /]([\\w.]+)/.exec(n)||/(msie) ([\\w.]+)/.exec(n)||n.indexOf(\"compatible\")<0&&/(mozilla)(?:.*? rv:([\\w.]+)|)/.exec(n)||[],o=r[1]||\"\";r[2];r[1]&&(e[o]=!0),e.chrome?e.webkit=!0:e.webkit&&(e.safari=!0)}return e.msie&&(e.version=t),e}function t(){return/(iPad|iPhone|iPod)/g.test(navigator.userAgent)&&!o()}function n(){return/(Android)/g.test(navigator.userAgent)&&!o()}function r(){return/(Blackberry)/g.test(navigator.userAgent)}function o(){return/(Windows Phone)/gi.test(navigator.userAgent)}var l=null;return{_init:function c(){i.browser=e()},isIOS:t,isMac:function d(){return null===l&&(l=0<=navigator.platform.toUpperCase().indexOf(\"MAC\")),l},isAndroid:n,isBlackberry:r,isWindowsPhone:o,isMobile:function f(){return n()||t()||r()},isEmail:function p(e){return!/^(https?:|ftps?:|)\\/\\//i.test(e)&&I.MAIL_REGEX.test(e)},requestAnimationFrame:function u(){return window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||function(e){window.setTimeout(e,1e3/60)}},getPX:function h(e){return parseInt(e,10)||0},screenSize:function g(e){try{var t=0;if((t=e?i.$box.width():i.$sc.width())<768)return I.XS;if(768<=t&&t<992)return I.SM;if(992<=t&&t<1200)return I.MD;if(1200<=t)return I.LG}catch(n){return I.LG}},isTouch:function m(){return\"ontouchstart\"in window||window.DocumentTouch&&document instanceof window.DocumentTouch},sanitizeURL:function C(e){return/^(https?:|ftps?:|)\\/\\//i.test(e)?e:/^([A-Za-z]:(\\\\){1,2}|[A-Za-z]:((\\\\){1,2}[^\\\\]+)+)(\\\\)?$/i.test(e)?e:new RegExp(\"^(\".concat(I.LinkProtocols.join(\"|\"),\"):\"),\"i\").test(e)?e:e=encodeURIComponent(e).replace(/%23/g,\"#\").replace(/%2F/g,\"/\").replace(/%25/g,\"%\").replace(/mailto%3A/gi,\"mailto:\").replace(/file%3A/gi,\"file:\").replace(/sms%3A/gi,\"sms:\").replace(/tel%3A/gi,\"tel:\").replace(/notes%3A/gi,\"notes:\").replace(/data%3Aimage/gi,\"data:image\").replace(/blob%3A/gi,\"blob:\").replace(/%3A(\\d)/gi,\":$1\").replace(/webkit-fake-url%3A/gi,\"webkit-fake-url:\").replace(/%3F/g,\"?\").replace(/%3D/g,\"=\").replace(/%26/g,\"&\").replace(/&amp;/g,\"&\").replace(/%2C/g,\",\").replace(/%3B/g,\";\").replace(/%2B/g,\"+\").replace(/%40/g,\"@\").replace(/%5B/g,\"[\").replace(/%5D/g,\"]\").replace(/%7B/g,\"{\").replace(/%7D/g,\"}\")},isArray:function v(e){return e&&!Object.prototype.propertyIsEnumerable.call(e,\"length\")&&\"object\"===N(e)&&\"number\"==typeof e.length},RGBToHex:function b(e){function t(e){return\"0\".concat(parseInt(e,10).toString(16)).slice(-2)}try{return e&&\"transparent\"!==e?/^#[0-9A-F]{6}$/i.test(e)?e:(e=e.match(/^rgb\\((\\d+),\\s*(\\d+),\\s*(\\d+)\\)$/),\"#\".concat(t(e[1])).concat(t(e[2])).concat(t(e[3])).toUpperCase()):\"\"}catch(n){return null}},HEXtoRGB:function L(e){e=e.replace(/^#?([a-f\\d])([a-f\\d])([a-f\\d])$/i,function(e,t,n,r){return t+t+n+n+r+r});var t=/^#?([a-f\\d]{2})([a-f\\d]{2})([a-f\\d]{2})$/i.exec(e);return t?\"rgb(\".concat(parseInt(t[1],16),\", \").concat(parseInt(t[2],16),\", \").concat(parseInt(t[3],16),\")\"):\"\"},isURL:function E(e){return!!/^(https?:|ftps?:|)\\/\\//i.test(e)&&(e=String(e).replace(/</g,\"%3C\").replace(/>/g,\"%3E\").replace(/\"/g,\"%22\").replace(/ /g,\"%20\"),new RegExp(\"^\".concat(I.LinkRegExHTTP).concat(I.LinkRegExEnd,\"$\"),\"gi\").test(e))},getAlignment:function y(e){e.css||(e=s(e));var t=(e.css(\"text-align\")||\"\").replace(/-(.*)-/g,\"\");if([\"left\",\"right\",\"justify\",\"center\"].indexOf(t)<0){if(!a){var n=s('<div dir=\"'.concat(\"rtl\"===i.opts.direction?\"rtl\":\"auto\",'\" style=\"text-align: ').concat(i.$el.css(\"text-align\"),'; position: fixed; left: -3000px;\"><span id=\"s1\">.</span><span id=\"s2\">.</span></div>'));s(\"body\").first().append(n);var r=n.find(\"#s1\").get(0).getBoundingClientRect().left,o=n.find(\"#s2\").get(0).getBoundingClientRect().left;n.remove(),a=r<o?\"left\":\"right\"}t=a}return t},scrollTop:function S(){return i.o_win.pageYOffset?i.o_win.pageYOffset:i.o_doc.documentElement&&i.o_doc.documentElement.scrollTop?i.o_doc.documentElement.scrollTop:i.o_doc.body.scrollTop?i.o_doc.body.scrollTop:0},scrollLeft:function T(){return i.o_win.pageXOffset?i.o_win.pageXOffset:i.o_doc.documentElement&&i.o_doc.documentElement.scrollLeft?i.o_doc.documentElement.scrollLeft:i.o_doc.body.scrollLeft?i.o_doc.body.scrollLeft:0},isInViewPort:function M(e){var t=e.getBoundingClientRect();return 0<=(t={top:Math.round(t.top),bottom:Math.round(t.bottom)}).top&&t.bottom<=(window.innerHeight||document.documentElement.clientHeight)||t.top<=0&&t.bottom>=(window.innerHeight||document.documentElement.clientHeight)}}},I.MODULES.events=function(l){var e,i=l.$,a={};function s(e,t,n){m(e,t,n)}function c(e){if(void 0===e&&(e=!0),!l.$wp)return!1;if(l.helpers.isIOS()&&l.$win.get(0).focus(),l.core.hasFocus())return!1;if(l.selection.isCollapsed()&&!l.selection.get().anchorNode){var t=l.$el.find(l.html.blockTagsQuery()).get(0);t&&(i(t).prepend(I.MARKERS),l.selection.restore())}if(!l.core.hasFocus()&&e){var n=l.$win.scrollTop();if(l.browser.msie&&l.$box&&l.$box.css(\"position\",\"fixed\"),l.browser.msie&&l.$wp&&l.$wp.css(\"overflow\",\"visible\"),l.browser.msie&&l.$sc&&l.$sc.css(\"position\",\"fixed\"),l.browser.msie||(p(),l.el.focus(),l.events.trigger(\"focus\"),f()),l.browser.msie&&l.$sc&&l.$sc.css(\"position\",\"\"),l.browser.msie&&l.$box&&l.$box.css(\"position\",\"\"),l.browser.msie&&l.$wp&&l.$wp.css(\"overflow\",\"auto\"),n!==l.$win.scrollTop()&&l.$win.scrollTop(n),!l.selection.info(l.el).atStart)return!1}if(!l.core.hasFocus()||0<l.$el.find(\".fr-marker\").length)return!1;if(l.selection.info(l.el).atStart&&l.selection.isCollapsed()&&null!==l.html.defaultTag()){var r=l.markers.insert();if(r&&!l.node.blockParent(r)){i(r).remove();var o=l.$el.find(l.html.blockTagsQuery()).get(0);o&&(i(o).prepend(I.MARKERS),l.selection.restore())}else r&&i(r).remove()}}var d=!1;function f(){e=!0}function p(){e=!1}function u(){return e}function h(e,t,n){var r,o=e.split(\" \");if(1<o.length){for(var i=0;i<o.length;i++)h(o[i],t,n);return!0}void 0===n&&(n=!1),r=0!==e.indexOf(\"shared.\")?(a[e]=a[e]||[],a[e]):(l.shared._events[e]=l.shared._events[e]||[],l.shared._events[e]),n?r.unshift(t):r.push(t)}var g=[];function m(e,t,n,r,o){\"function\"==typeof n&&(o=r,r=n,n=!1);var i=o?l.shared.$_events:g,a=o?l.sid:l.id,s=\"\".concat(t.trim().split(\" \").join(\".ed\".concat(a,\" \")),\".ed\").concat(a);n?e.on(s,n,r):e.on(s,r),i.push([e,s])}function t(e){for(var t=0;t<e.length;t++)e[t][0].off(e[t][1])}function C(e,t,n){if(!l.edit.isDisabled()||n){var r,o;if(0!==e.indexOf(\"shared.\"))r=a[e];else{if(0<l.shared.count)return!1;r=l.shared._events[e]}if(r)for(var i=0;i<r.length;i++)if(!1===(o=r[i].apply(l,t)))return!1;return(!l.opts.events||!l.opts.events[e]||!1!==(o=l.opts.events[e].apply(l,t)))&&o}}function v(){for(var e in a)Object.prototype.hasOwnProperty.call(a,e)&&delete a[e]}function b(){for(var e in l.shared._events)Object.prototype.hasOwnProperty.call(l.shared._events,e)&&delete l.shared._events[e]}return{_init:function L(){l.shared.$_events=l.shared.$_events||[],l.shared._events={},function e(){l.helpers.isMobile()?(l._mousedown=\"touchstart\",l._mouseup=\"touchend\",l._move=\"touchmove\",l._mousemove=\"touchmove\"):(l._mousedown=\"mousedown\",l._mouseup=\"mouseup\",l._move=\"\",l._mousemove=\"mousemove\")}(),function t(){s(l.$el,\"click mouseup mousemove mousedown touchstart touchend dragenter dragover dragleave dragend drop dragstart\",function(e){C(e.type,[e])}),h(\"mousedown\",function(){for(var e=0;e<I.INSTANCES.length;e++)I.INSTANCES[e]!==l&&I.INSTANCES[e].popups&&I.INSTANCES[e].popups.areVisible()&&I.INSTANCES[e].$el.find(\".fr-marker\").remove()})}(),function n(){s(l.$win,l._mousedown,function(e){C(\"window.mousedown\",[e]),f()}),s(l.$win,l._mouseup,function(e){C(\"window.mouseup\",[e])}),s(l.$win,\"cut copy keydown keyup touchmove touchend\",function(e){C(\"window.\".concat(e.type),[e])})}(),function r(){s(l.$doc,\"dragend drop\",function(e){C(\"document.\".concat(e.type),[e])})}(),function o(){s(l.$el,\"keydown keypress keyup input\",function(e){C(e.type,[e])})}(),function i(){s(l.$el,\"focus\",function(e){u()&&(c(!1),!1===d&&(C(e.type,[e]),l.helpers.isMobile()&&p()))}),s(l.$el,\"blur\",function(e){u()&&!0===d&&(C(e.type,[e]),l.helpers.isMobile()&&l.opts.toolbarContainer&&(l.shared.selected_editor=l.id),f())}),m(l.$el,\"mousedown\",'[contenteditable=\"true\"]',function(){p(),l.$el.blur()}),h(\"focus\",function(){d=!0}),h(\"blur\",function(){d=!1})}(),f(),function a(){s(l.$el,\"cut copy paste beforepaste\",function(e){C(e.type,[e])})}(),h(\"destroy\",v),h(\"shared.destroy\",b)},on:h,trigger:C,bindClick:function r(e,t,n){m(e,l._mousedown,t,function(e){l.edit.isDisabled()||function n(e){var t=i(e.currentTarget);return l.edit.isDisabled()||l.node.hasClass(t.get(0),\"fr-disabled\")?(e.preventDefault(),!1):\"mousedown\"===e.type&&1!==e.which||(l.helpers.isMobile()||e.preventDefault(),(l.helpers.isAndroid()||l.helpers.isWindowsPhone())&&0===t.parents(\".fr-dropdown-menu\").length&&(e.preventDefault(),e.stopPropagation()),t.addClass(\"fr-selected\"),void l.events.trigger(\"commands.mousedown\",[t]))}(e)},!0),m(e,\"\".concat(l._mouseup,\" \").concat(l._move),t,function(e){l.edit.isDisabled()||function o(e,t){var n=i(e.currentTarget);if(l.edit.isDisabled()||l.node.hasClass(n.get(0),\"fr-disabled\"))return e.preventDefault(),!1;if(\"mouseup\"===e.type&&1!==e.which)return!0;if(l.button.getButtons(\".fr-selected\",!0).get(0)==n.get(0)&&!l.node.hasClass(n.get(0),\"fr-selected\"))return!0;if(\"touchmove\"!==e.type){if(e.stopPropagation(),e.stopImmediatePropagation(),e.preventDefault(),!l.node.hasClass(n.get(0),\"fr-selected\"))return l.button.getButtons(\".fr-selected\",!0).removeClass(\"fr-selected\"),!1;if(l.button.getButtons(\".fr-selected\",!0).removeClass(\"fr-selected\"),n.data(\"dragging\")||n.attr(\"disabled\"))return n.removeData(\"dragging\"),!1;var r=n.data(\"timeout\");r&&(clearTimeout(r),n.removeData(\"timeout\")),t.apply(l,[e])}else n.data(\"timeout\")||n.data(\"timeout\",setTimeout(function(){n.data(\"dragging\",!0)},100))}(e,n)},!0),m(e,\"mousedown click mouseup\",t,function(e){l.edit.isDisabled()||e.stopPropagation()},!0),h(\"window.mouseup\",function(){l.edit.isDisabled()||(e.find(t).removeClass(\"fr-selected\"),f())}),m(e,\"mouseover\",t,function(){i(this).hasClass(\"fr-options\")&&i(this).prev(\".fr-btn\").addClass(\"fr-btn-hover\"),i(this).next(\".fr-btn\").hasClass(\"fr-options\")&&i(this).next(\".fr-btn\").addClass(\"fr-btn-hover\")}),m(e,\"mouseout\",t,function(){i(this).hasClass(\"fr-options\")&&i(this).prev(\".fr-btn\").removeClass(\"fr-btn-hover\"),i(this).next(\".fr-btn\").hasClass(\"fr-options\")&&i(this).next(\".fr-btn\").removeClass(\"fr-btn-hover\")})},disableBlur:p,enableBlur:f,blurActive:u,focus:c,chainTrigger:function E(e,t,n){if(!l.edit.isDisabled()||n){var r,o;if(0!==e.indexOf(\"shared.\"))r=a[e];else{if(0<l.shared.count)return!1;r=l.shared._events[e]}if(r)for(var i=0;i<r.length;i++)void 0!==(o=r[i].apply(l,[t]))&&(t=o);return l.opts.events&&l.opts.events[e]&&void 0!==(o=l.opts.events[e].apply(l,[t]))&&(t=o),t}},$on:m,$off:function n(){t(g),g=[],0===l.shared.count&&(t(l.shared.$_events),l.shared.$_events=[])}}},Object.assign(I.DEFAULTS,{indentMargin:20}),I.COMMANDS={bold:{title:\"Bold\",toggle:!0,refresh:function(e){var t=this.format.is(\"strong\");e.toggleClass(\"fr-active\",t).attr(\"aria-pressed\",t)}},italic:{title:\"Italic\",toggle:!0,refresh:function(e){var t=this.format.is(\"em\");e.toggleClass(\"fr-active\",t).attr(\"aria-pressed\",t)}},underline:{title:\"Underline\",toggle:!0,refresh:function(e){var t=this.format.is(\"u\");e.toggleClass(\"fr-active\",t).attr(\"aria-pressed\",t)}},strikeThrough:{title:\"Strikethrough\",toggle:!0,refresh:function(e){var t=this.format.is(\"s\");e.toggleClass(\"fr-active\",t).attr(\"aria-pressed\",t)}},subscript:{title:\"Subscript\",toggle:!0,refresh:function(e){var t=this.format.is(\"sub\");e.toggleClass(\"fr-active\",t).attr(\"aria-pressed\",t)}},superscript:{title:\"Superscript\",toggle:!0,refresh:function(e){var t=this.format.is(\"sup\");e.toggleClass(\"fr-active\",t).attr(\"aria-pressed\",t)}},outdent:{title:\"Decrease Indent\"},indent:{title:\"Increase Indent\"},undo:{title:\"Undo\",undo:!1,forcedRefresh:!0,disabled:!0},redo:{title:\"Redo\",undo:!1,forcedRefresh:!0,disabled:!0},insertHR:{title:\"Insert Horizontal Line\"},clearFormatting:{title:\"Clear Formatting\"},selectAll:{title:\"Select All\",undo:!1},moreText:{title:\"More Text\",undo:!1},moreParagraph:{title:\"More Paragraph\",undo:!1},moreRich:{title:\"More Rich\",undo:!1},moreMisc:{title:\"More Misc\",undo:!1}},I.RegisterCommand=function(e,t){I.COMMANDS[e]=t},I.MODULES.commands=function(a){var s=a.$;function o(e){return a.html.defaultTag()&&(e=\"<\".concat(a.html.defaultTag(),\">\").concat(e,\"</\").concat(a.html.defaultTag(),\">\")),e}var i={bold:function(){e(\"bold\",\"strong\")},subscript:function(){a.format.is(\"sup\")&&a.format.remove(\"sup\"),e(\"subscript\",\"sub\")},superscript:function(){a.format.is(\"sub\")&&a.format.remove(\"sub\"),e(\"superscript\",\"sup\")},italic:function(){e(\"italic\",\"em\")},strikeThrough:function(){e(\"strikeThrough\",\"s\")},underline:function(){e(\"underline\",\"u\")},undo:function(){a.undo.run()},redo:function(){a.undo.redo()},indent:function(){r(1)},outdent:function(){r(-1)},show:function(){a.opts.toolbarInline&&a.toolbar.showInline(null,!0)},insertHR:function(){a.selection.remove();var e=\"\";a.core.isEmpty()&&(e=o(e=\"<br>\")),a.html.insert('<hr id=\"fr-just\" class=\"fr-just\">'.concat(e));var t,n=a.$el.find(\"hr#fr-just\").length?a.$el.find(\"hr#fr-just\"):a.$el.find(\".fr-just\");if(n.removeAttr(\"id\"),n.removeAttr(\"class\"),0===n.next().length){var r=a.html.defaultTag();r?n.after(s(a.doc.createElement(r)).append(\"<br>\").get(0)):n.after(\"<br>\")}n.prev().is(\"hr\")?t=a.selection.setAfter(n.get(0),!1):n.next().is(\"hr\")?t=a.selection.setBefore(n.get(0),!1):a.selection.setAfter(n.get(0),!1)||a.selection.setBefore(n.get(0),!1),t||void 0===t||(e=o(e=\"\".concat(I.MARKERS,\"<br>\")),n.after(e)),a.selection.restore()},clearFormatting:function(){a.format.remove()},selectAll:function(){a.doc.execCommand(\"selectAll\",!1,!1)},moreText:function(e){t(e)},moreParagraph:function(e){t(e)},moreRich:function(e){t(e)},moreMisc:function(e){t(e)}};function t(e){!function n(e){a.helpers.isMobile()&&a.opts.toolbarInline&&a.events.disableBlur();var t=a.$tb.find('.fr-more-toolbar[data-name=\"'.concat(e.attr(\"data-group-name\"),'\"]'));a.$tb.find(\".fr-open\").not(e).removeClass(\"fr-open\"),e.toggleClass(\"fr-open\"),a.$tb.find(\".fr-more-toolbar\").removeClass(\"fr-overflow-visible\"),a.$tb.find(\".fr-expanded\").not(t).length?(a.$tb.find(\".fr-expanded\").toggleClass(\"fr-expanded\"),t.toggleClass(\"fr-expanded\")):(t.toggleClass(\"fr-expanded\"),a.$box.toggleClass(\"fr-toolbar-open\"),a.$tb.toggleClass(\"fr-toolbar-open\"))}(a.$tb.find(\"[data-cmd=\".concat(e,\"]\"))),a.toolbar.setMoreToolbarsHeight()}function n(e,t){if(!1!==a.events.trigger(\"commands.before\",s.merge([e],t||[]))){var n=I.COMMANDS[e]&&I.COMMANDS[e].callback||i[e],r=!0,o=!1;I.COMMANDS[e]&&(\"undefined\"!=typeof I.COMMANDS[e].focus&&(r=I.COMMANDS[e].focus),\"undefined\"!=typeof I.COMMANDS[e].accessibilityFocus&&(o=I.COMMANDS[e].accessibilityFocus)),(!a.core.hasFocus()&&r&&!a.popups.areVisible()||!a.core.hasFocus()&&o&&a.accessibility.hasFocus())&&a.events.focus(!0),I.COMMANDS[e]&&!1!==I.COMMANDS[e].undo&&(a.$el.find(\".fr-marker\").length&&(a.events.disableBlur(),a.selection.restore()),a.undo.saveStep()),n&&n.apply(a,s.merge([e],t||[])),a.events.trigger(\"commands.after\",s.merge([e],t||[])),I.COMMANDS[e]&&!1!==I.COMMANDS[e].undo&&a.undo.saveStep()}}function e(e,t){a.format.toggle(t)}function r(e){a.selection.save(),a.html.wrap(!0,!0,!0,!0),a.selection.restore();for(var t=a.selection.blocks(),n=0;n<t.length;n++)if(\"LI\"!==t[n].tagName||\"LI\"!==t[n].parentNode.tagName){var r=s(t[n]);\"LI\"!=t[n].tagName&&\"LI\"==t[n].parentNode.tagName&&(r=s(t[n].parentNode));var o=\"rtl\"===a.opts.direction||\"rtl\"===r.css(\"direction\")?\"margin-right\":\"margin-left\",i=a.helpers.getPX(r.css(o));if(r.width()<2*a.opts.indentMargin&&0<e)continue;\"UL\"!=t[n].parentNode.tagName&&\"OL\"!=t[n].parentNode.tagName&&\"LI\"!=t[n].parentNode.tagName&&r.css(o,Math.max(i+e*a.opts.indentMargin,0)||\"\"),r.removeClass(\"fr-temp-div\")}a.selection.save(),a.html.unwrap(),a.selection.restore()}function l(e){return function(){n(e)}}var c={};for(var d in i)Object.prototype.hasOwnProperty.call(i,d)&&(c[d]=l(d));return Object.assign(c,{exec:n,_init:function f(){a.events.on(\"keydown\",function(e){var t=a.selection.element();if(t&&\"HR\"===t.tagName&&!a.keys.isArrow(e.which))return e.preventDefault(),!1}),a.events.on(\"keyup\",function(e){var t=a.selection.element();if(t&&\"HR\"===t.tagName)if(e.which===I.KEYCODE.ARROW_LEFT||e.which===I.KEYCODE.ARROW_UP){if(t.previousSibling)return a.node.isBlock(t.previousSibling)?a.selection.setAtEnd(t.previousSibling):s(t).before(I.MARKERS),a.selection.restore(),!1}else if((e.which===I.KEYCODE.ARROW_RIGHT||e.which===I.KEYCODE.ARROW_DOWN)&&t.nextSibling)return a.node.isBlock(t.nextSibling)?a.selection.setAtStart(t.nextSibling):s(t).after(I.MARKERS),a.selection.restore(),!1}),a.events.on(\"mousedown\",function(e){if(e.target&&\"HR\"===e.target.tagName)return e.preventDefault(),e.stopPropagation(),!1}),a.events.on(\"mouseup\",function(){var e=a.selection.element();e===a.selection.endElement()&&e&&\"HR\"===e.tagName&&(e.nextSibling&&(a.node.isBlock(e.nextSibling)?a.selection.setAtStart(e.nextSibling):s(e).after(I.MARKERS)),a.selection.restore())})}})},I.MODULES.cursorLists=function(g){var m=g.$;function C(e){for(var t=e;\"LI\"!==t.tagName;)t=t.parentNode;return t}function v(e){for(var t=e;!g.node.isList(t);)t=t.parentNode;return t}return{_startEnter:function b(e){var t,n=C(e),r=n.nextSibling,o=n.previousSibling,i=g.html.defaultTag();if(g.node.isEmpty(n,!0)&&r){for(var a=\"\",s=\"\",l=e.parentNode;!g.node.isList(l)&&l.parentNode&&(\"LI\"!==l.parentNode.tagName||l.parentNode===n);)a=g.node.openTagString(l)+a,s+=g.node.closeTagString(l),l=l.parentNode;a=g.node.openTagString(l)+a,s+=g.node.closeTagString(l);var c=\"\";for(c=l.parentNode&&\"LI\"===l.parentNode.tagName?\"\".concat(s,\"<li>\").concat(I.MARKERS,\"<br>\").concat(a):i?\"\".concat(s,\"<\").concat(i,\">\").concat(I.MARKERS,\"<br></\").concat(i,\">\").concat(a):\"\".concat(s+I.MARKERS,\"<br>\").concat(a);[\"UL\",\"OL\"].indexOf(l.tagName)<0||l.parentNode&&\"LI\"===l.parentNode.tagName;)l=l.parentNode;m(n).replaceWith('<span id=\"fr-break\"></span>');var d=g.node.openTagString(l)+m(l).html()+g.node.closeTagString(l);d=d.replace(/<span id=\"fr-break\"><\\/span>/g,c),m(l).replaceWith(d),g.$el.find(\"li:empty\").remove()}else if(o&&r||!g.node.isEmpty(n,!0)){for(var f=\"<br>\",p=e.parentNode;p&&\"LI\"!==p.tagName;)f=g.node.openTagString(p)+f+g.node.closeTagString(p),p=p.parentNode;m(n).before(\"<li>\".concat(f,\"</li>\")),m(e).remove()}else if(o){t=v(n);for(var u=\"\".concat(I.MARKERS,\"<br>\"),h=e.parentNode;h&&\"LI\"!==h.tagName;)u=g.node.openTagString(h)+u+g.node.closeTagString(h),h=h.parentNode;t.parentNode&&\"LI\"===t.parentNode.tagName?m(t.parentNode).after(\"<li>\".concat(u,\"</li>\")):i?m(t).after(\"<\".concat(i,\">\").concat(u,\"</\").concat(i,\">\")):m(t).after(u),m(n).remove()}else(t=v(n)).parentNode&&\"LI\"===t.parentNode.tagName?r?m(t.parentNode).before(\"\".concat(g.node.openTagString(n)+I.MARKERS,\"<br></li>\")):m(t.parentNode).after(\"\".concat(g.node.openTagString(n)+I.MARKERS,\"<br></li>\")):i?m(t).before(\"<\".concat(i,\">\").concat(I.MARKERS,\"<br></\").concat(i,\">\")):m(t).before(\"\".concat(I.MARKERS,\"<br>\")),m(n).remove()},_middleEnter:function c(e){for(var t=C(e),n=\"\",r=e,o=\"\",i=\"\",a=!1;r!==t;){var s=\"A\"===(r=r.parentNode).tagName&&g.cursor.isAtEnd(e,r)?\"fr-to-remove\":\"\";a||r==t||g.node.isBlock(r)||(a=!0,o+=I.INVISIBLE_SPACE),o=g.node.openTagString(m(r).clone().addClass(s).get(0))+o,i=g.node.closeTagString(r)+i}n=i+n+o+I.MARKERS+(g.opts.keepFormatOnDelete?I.INVISIBLE_SPACE:\"\"),m(e).replaceWith('<span id=\"fr-break\"></span>');var l=g.node.openTagString(t)+m(t).html()+g.node.closeTagString(t);l=l.replace(/<span id=\"fr-break\"><\\/span>/g,n),m(t).replaceWith(l)},_endEnter:function l(e){for(var t=C(e),n=I.MARKERS,r=\"\",o=e,i=!1;o!==t;)if(!(o=o.parentNode).classList.contains(\"fr-img-space-wrap\")&&!o.classList.contains(\"fr-img-space-wrap2\")){var a=\"A\"===o.tagName&&g.cursor.isAtEnd(e,o)?\"fr-to-remove\":\"\";i||o===t||g.node.isBlock(o)||(i=!0,r+=I.INVISIBLE_SPACE),r=g.node.openTagString(m(o).clone().addClass(a).get(0))+r,n+=g.node.closeTagString(o)}var s=r+n;m(e).remove(),m(t).after(s)},_backspace:function d(e){var t=C(e),n=t.previousSibling;if(n){n=m(n).find(g.html.blockTagsQuery()).get(-1)||n,m(e).replaceWith(I.MARKERS);var r=g.node.contents(n);r.length&&\"BR\"===r[r.length-1].tagName&&m(r[r.length-1]).remove(),m(t).find(g.html.blockTagsQuery()).not(\"ol, ul, table\").each(function(){this.parentNode===t&&m(this).replaceWith(m(this).html()+(g.node.isEmpty(this)?\"\":\"<br>\"))});for(var o,i=g.node.contents(t)[0];i&&!g.node.isList(i);)o=i.nextSibling,m(n).append(i),i=o;for(n=t.previousSibling;i;)o=i.nextSibling,m(n).append(i),i=o;1<(r=g.node.contents(n)).length&&\"BR\"===r[r.length-1].tagName&&m(r[r.length-1]).remove(),m(t).remove()}else{var a=v(t);if(m(e).replaceWith(I.MARKERS),a.parentNode&&\"LI\"===a.parentNode.tagName){var s=a.previousSibling;g.node.isBlock(s)?(m(t).find(g.html.blockTagsQuery()).not(\"ol, ul, table\").each(function(){this.parentNode===t&&m(this).replaceWith(m(this).html()+(g.node.isEmpty(this)?\"\":\"<br>\"))}),m(s).append(m(t).html())):m(a).before(m(t).html())}else{var l=g.html.defaultTag();l&&0===m(t).find(g.html.blockTagsQuery()).length?m(a).before(\"<\".concat(l,\">\").concat(m(t).html(),\"</\").concat(l,\">\")):m(a).before(m(t).html())}m(t).remove(),g.html.wrap(),0===m(a).find(\"li\").length&&m(a).remove()}},_del:function f(e){var t,n=C(e),r=n.nextSibling;if(r){(t=g.node.contents(r)).length&&\"BR\"===t[0].tagName&&m(t[0]).remove(),m(r).find(g.html.blockTagsQuery()).not(\"ol, ul, table\").each(function(){this.parentNode===r&&m(this).replaceWith(m(this).html()+(g.node.isEmpty(this)?\"\":\"<br>\"))});for(var o,i=e,a=g.node.contents(r)[0];a&&!g.node.isList(a);)o=a.nextSibling,m(i).after(a),i=a,a=o;for(;a;)o=a.nextSibling,m(n).append(a),a=o;m(e).replaceWith(I.MARKERS),m(r).remove()}else{for(var s=n;!s.nextSibling&&s!==g.el;)s=s.parentNode;if(s===g.el)return!1;if(s=s.nextSibling,g.node.isBlock(s))I.NO_DELETE_TAGS.indexOf(s.tagName)<0&&(m(e).replaceWith(I.MARKERS),(t=g.node.contents(n)).length&&\"BR\"===t[t.length-1].tagName&&m(t[t.length-1]).remove(),m(n).append(m(s).html()),m(s).remove());else{for((t=g.node.contents(n)).length&&\"BR\"===t[t.length-1].tagName&&m(t[t.length-1]).remove(),m(e).replaceWith(I.MARKERS);s&&!g.node.isBlock(s)&&\"BR\"!==s.tagName;)m(n).append(m(s)),s=s.nextSibling;m(s).remove()}}}}},I.NO_DELETE_TAGS=[\"TH\",\"TD\",\"TR\",\"TABLE\",\"FORM\"],I.SIMPLE_ENTER_TAGS=[\"TH\",\"TD\",\"LI\",\"DL\",\"DT\",\"FORM\"],I.MODULES.cursor=function(h){var g=h.$;function d(e){return!!e&&(!!h.node.isBlock(e)||(e.nextSibling&&e.nextSibling.nodeType===Node.TEXT_NODE&&0===e.nextSibling.textContent.replace(/\\u200b/g,\"\").length?d(e.nextSibling):!(e.nextSibling&&(!e.previousSibling||\"BR\"!==e.nextSibling.tagName||e.nextSibling.nextSibling))&&d(e.parentNode)))}function f(e){return!!e&&(!!h.node.isBlock(e)||(e.previousSibling&&e.previousSibling.nodeType===Node.TEXT_NODE&&0===e.previousSibling.textContent.replace(/\\u200b/g,\"\").length?f(e.previousSibling):!e.previousSibling&&(!(e.previousSibling||!h.node.hasClass(e.parentNode,\"fr-inner\"))||f(e.parentNode))))}function u(e,t){return!!e&&(e!==h.$wp.get(0)&&(e.previousSibling&&e.previousSibling.nodeType===Node.TEXT_NODE&&0===e.previousSibling.textContent.replace(/\\u200b/g,\"\").length?u(e.previousSibling,t):!e.previousSibling&&(e.parentNode===t||u(e.parentNode,t))))}function m(e,t){return!!e&&(e!==h.$wp.get(0)&&(e.nextSibling&&e.nextSibling.nodeType===Node.TEXT_NODE&&0===e.nextSibling.textContent.replace(/\\u200b/g,\"\").length?m(e.nextSibling,t):!(e.nextSibling&&(!e.previousSibling||\"BR\"!==e.nextSibling.tagName||e.nextSibling.nextSibling))&&(e.parentNode===t||m(e.parentNode,t))))}function p(e){return 0<g(e).parentsUntil(h.$el,\"LI\").length&&0===g(e).parentsUntil(\"LI\",\"TABLE\").length}function C(e,t){var n=new RegExp(\"\".concat(t?\"^\":\"\",\"(([\\\\uD83C-\\\\uDBFF\\\\uDC00-\\\\uDFFF]+\\\\u200D)*[\\\\uD83C-\\\\uDBFF\\\\uDC00-\\\\uDFFF]{2})\").concat(t?\"\":\"$\"),\"i\"),r=e.match(n);return r?r[0].length:1}function v(e){for(var t,n=e;!n.previousSibling;)if(n=n.parentNode,h.node.isElement(n))return!1;n=n.previousSibling;var r=h.opts.htmlAllowedEmptyTags,o=n.tagName&&n.tagName.toLowerCase();if((!h.node.isBlock(n)||n.lastChild&&o&&0<=r.indexOf(o))&&h.node.isEditable(n)){for(t=h.node.contents(n);n.nodeType!==Node.TEXT_NODE&&!h.node.isDeletable(n)&&t.length&&h.node.isEditable(n);)n=t[t.length-1],t=h.node.contents(n);if(n.nodeType===Node.TEXT_NODE){var i=n.textContent,a=i.length;if(i.length&&\"\\n\"===i[i.length-1])return n.textContent=i.substring(0,a-2),0===n.textContent.length&&n.parentNode.removeChild(n),v(e);if(h.opts.tabSpaces&&i.length>=h.opts.tabSpaces)0===i.substr(i.length-h.opts.tabSpaces,i.length-1).replace(/ /g,\"\").replace(new RegExp(I.UNICODE_NBSP,\"g\"),\"\").length&&(a=i.length-h.opts.tabSpaces+1);n.textContent=i.substring(0,a-C(i)),h.opts.htmlUntouched&&!e.nextSibling&&n.textContent.length&&\" \"===n.textContent[n.textContent.length-1]&&(n.textContent=n.textContent.substring(0,n.textContent.length-1)+I.UNICODE_NBSP);var s=i.length!==n.textContent.length;if(0===n.textContent.length&&n.previousSibling&&\"BR\"===n.previousSibling.tagName&&n.previousSibling.remove(),0===n.textContent.length)if(s&&h.opts.keepFormatOnDelete)g(n).after(I.INVISIBLE_SPACE+I.MARKERS);else if(0!==i.length&&h.node.isBlock(n.parentNode))g(n).after(I.MARKERS);else if((2!=n.parentNode.childNodes.length||n.parentNode!=e.parentNode)&&1!=n.parentNode.childNodes.length||h.node.isBlock(n.parentNode)||h.node.isElement(n.parentNode)||!h.node.isDeletable(n.parentNode)){for(var l,c=n;!h.node.isElement(n.parentNode)&&h.node.isEmpty(n.parentNode)&&I.NO_DELETE_TAGS.indexOf(n.parentNode.tagName)<0;)if(\"A\"===(n=n.parentNode).tagName){var d=n.childNodes[0];for(g(n).before(d),l=!0;0<d.childNodes.length;)d=d.childNodes[0];n.parentNode.removeChild(n),n=d;break}l||(n=c),g(n).after(I.MARKERS),h.node.isElement(n.parentNode)&&!e.nextSibling&&n.previousSibling&&\"BR\"===n.previousSibling.tagName&&g(e).after(\"<br>\");var f=n.parentNode;n.parentNode.removeChild(n),h.node.isEmpty(f)&&g(f).html(I.INVISIBLE_SPACE+I.MARKERS)}else g(n.parentNode).after(I.MARKERS),g(n.parentNode).remove();else g(n).after(I.MARKERS)}else h.node.isDeletable(n)?(g(n).after(I.MARKERS),g(n).remove()):e.nextSibling&&\"BR\"===e.nextSibling.tagName&&h.node.isVoid(n)&&\"BR\"!==n.tagName?(g(e.nextSibling).remove(),g(e).replaceWith(I.MARKERS)):!1!==h.events.trigger(\"node.remove\",[g(n)])&&(g(n).after(I.MARKERS),g(n).remove())}else if(I.NO_DELETE_TAGS.indexOf(n.tagName)<0&&(h.node.isEditable(n)||h.node.isDeletable(n)))if(h.node.isDeletable(n))g(e).replaceWith(I.MARKERS),g(n).remove();else if(h.node.isEmpty(n)&&!h.node.isList(n))g(n).remove(),g(e).replaceWith(I.MARKERS);else{for(h.node.isList(n)&&(n=g(n).find(\"li\").last().get(0)),(t=h.node.contents(n))&&\"BR\"===t[t.length-1].tagName&&g(t[t.length-1]).remove(),t=h.node.contents(n);t&&h.node.isBlock(t[t.length-1]);)n=t[t.length-1],t=h.node.contents(n);g(n).append(I.MARKERS);for(var p=e;!p.previousSibling;)p=p.parentNode;for(;p&&\"BR\"!==p.tagName&&!h.node.isBlock(p);){var u=p;p=p.nextSibling,g(n).append(u)}p&&\"BR\"===p.tagName&&g(p).remove(),g(e).remove()}else e.nextSibling&&\"BR\"===e.nextSibling.tagName&&g(e.nextSibling).remove();return!0}function i(e){var t=0<g(e).parentsUntil(h.$el,\"BLOCKQUOTE\").length,n=h.node.deepestParent(e,[],!t);if(n&&\"BLOCKQUOTE\"===n.tagName){var r=h.node.deepestParent(e,[g(e).parentsUntil(h.$el,\"BLOCKQUOTE\").get(0)]);r&&r.nextSibling&&(n=r)}if(null!==n){var o,i=n.nextSibling;if(h.node.isBlock(n)&&(h.node.isEditable(n)||h.node.isDeletable(n))&&i&&I.NO_DELETE_TAGS.indexOf(i.tagName)<0)if(h.node.isDeletable(i))g(i).remove(),g(e).replaceWith(I.MARKERS);else if(h.node.isBlock(i)&&h.node.isEditable(i))if(h.node.isList(i))if(h.node.isEmpty(n,!0))g(n).remove(),g(i).find(\"li\").first().prepend(I.MARKERS);else{var a=g(i).find(\"li\").first();\"BLOCKQUOTE\"===n.tagName&&(o=h.node.contents(n)).length&&h.node.isBlock(o[o.length-1])&&(n=o[o.length-1]),0===a.find(\"ul, ol\").length&&(g(e).replaceWith(I.MARKERS),a.find(h.html.blockTagsQuery()).not(\"ol, ul, table\").each(function(){this.parentNode===a.get(0)&&g(this).replaceWith(g(this).html()+(h.node.isEmpty(this)?\"\":\"<br>\"))}),g(n).append(h.node.contents(a.get(0))),a.remove(),0===g(i).find(\"li\").length&&g(i).remove())}else{if((o=h.node.contents(i)).length&&\"BR\"===o[0].tagName&&g(o[0]).remove(),\"BLOCKQUOTE\"!==i.tagName&&\"BLOCKQUOTE\"===n.tagName)for(o=h.node.contents(n);o.length&&h.node.isBlock(o[o.length-1]);)n=o[o.length-1],o=h.node.contents(n);else if(\"BLOCKQUOTE\"===i.tagName&&\"BLOCKQUOTE\"!==n.tagName)for(o=h.node.contents(i);o.length&&h.node.isBlock(o[0]);)i=o[0],o=h.node.contents(i);g(e).replaceWith(I.MARKERS),g(n).append(i.innerHTML),g(i).remove()}else{for(g(e).replaceWith(I.MARKERS);i&&\"BR\"!==i.tagName&&!h.node.isBlock(i)&&h.node.isEditable(i);){var s=i;i=i.nextSibling,g(n).append(s)}i&&\"BR\"===i.tagName&&h.node.isEditable(i)&&g(i).remove()}}}function n(e){for(var t,n=e;!n.nextSibling;)if(n=n.parentNode,h.node.isElement(n))return!1;if(\"BR\"===(n=n.nextSibling).tagName&&h.node.isEditable(n))if(n.nextSibling){if(h.node.isBlock(n.nextSibling)&&h.node.isEditable(n.nextSibling)){if(!(I.NO_DELETE_TAGS.indexOf(n.nextSibling.tagName)<0))return void g(n).remove();n=n.nextSibling,g(n.previousSibling).remove()}}else if(d(n)){if(p(e))h.cursorLists._del(e);else h.node.deepestParent(n)&&((!h.node.isEmpty(h.node.blockParent(n))||(h.node.blockParent(n).nextSibling&&I.NO_DELETE_TAGS.indexOf(h.node.blockParent(n).nextSibling.tagName))<0)&&g(n).remove(),i(e));return}if(!h.node.isBlock(n)&&h.node.isEditable(n)){for(t=h.node.contents(n);n.nodeType!==Node.TEXT_NODE&&t.length&&!h.node.isDeletable(n)&&h.node.isEditable(n);)n=t[0],t=h.node.contents(n);n.nodeType===Node.TEXT_NODE?(g(n).before(I.MARKERS),n.textContent.length&&(n.textContent=n.textContent.substring(C(n.textContent,!0),n.textContent.length))):h.node.isDeletable(n)?(g(n).before(I.MARKERS),g(n).remove()):!1!==h.events.trigger(\"node.remove\",[g(n)])&&(g(n).before(I.MARKERS),g(n).remove()),g(e).remove()}else if(I.NO_DELETE_TAGS.indexOf(n.tagName)<0&&(h.node.isEditable(n)||h.node.isDeletable(n)))if(h.node.isDeletable(n))g(e).replaceWith(I.MARKERS),g(n).remove();else if(h.node.isList(n))e.previousSibling?(g(n).find(\"li\").first().prepend(e),h.cursorLists._backspace(e)):(g(n).find(\"li\").first().prepend(I.MARKERS),g(e).remove());else if((t=h.node.contents(n))&&\"BR\"===t[0].tagName&&g(t[0]).remove(),t&&\"BLOCKQUOTE\"===n.tagName){var r=t[0];for(g(e).before(I.MARKERS);r&&\"BR\"!==r.tagName;){var o=r;r=r.nextSibling,g(e).before(o)}r&&\"BR\"===r.tagName&&g(r).remove()}else g(e).after(g(n).html()).after(I.MARKERS),g(n).remove()}function a(){for(var e=h.el.querySelectorAll(\"blockquote:empty\"),t=0;t<e.length;t++)e[t].parentNode.removeChild(e[t])}function b(e,t,n){var r,o=h.node.deepestParent(e,[],!n);if(o&&\"BLOCKQUOTE\"===o.tagName)return m(e,o)?(r=h.html.defaultTag(),t?g(e).replaceWith(\"<br>\"+I.MARKERS):r?g(o).after(\"<\".concat(r,\">\").concat(I.MARKERS,\"<br></\").concat(r,\">\")):g(o).after(\"\".concat(I.MARKERS,\"<br>\")),g(e).remove()):L(e,t,n),!1;if(null===o)(r=h.html.defaultTag())&&h.node.isElement(e.parentNode)?g(e).replaceWith(\"<\".concat(r,\">\").concat(I.MARKERS,\"<br></\").concat(r,\">\")):!e.previousSibling||g(e.previousSibling).is(\"br\")||e.nextSibling?g(e).replaceWith(\"<br>\".concat(I.MARKERS)):g(e).replaceWith(\"<br>\".concat(I.MARKERS,\"<br>\"));else{var i=e,a=\"\";\"PRE\"!=o.tagName||e.nextSibling||(t=!0),h.node.isBlock(o)&&!t||(a=\"<br/>\");var s,l=\"\",c=\"\",d=\"\",f=\"\";(r=h.html.defaultTag())&&h.node.isBlock(o)&&(d=\"<\".concat(r,\">\"),f=\"</\".concat(r,\">\"),o.tagName===r.toUpperCase()&&(d=h.node.openTagString(g(o).clone().removeAttr(\"id\").get(0))));do{if(i=i.parentNode,!t||i!==o||t&&!h.node.isBlock(o))if(l+=h.node.closeTagString(i),i===o&&h.node.isBlock(o))c=d+c;else{var p=(\"A\"===i.tagName||h.node.hasClass(i,\"fa\"))&&m(e,i)?\"fr-to-remove\":\"\";c=h.node.openTagString(g(i).clone().addClass(p).get(0))+c}}while(i!==o);a=l+a+c+(e.parentNode===o&&h.node.isBlock(o)?\"\":I.INVISIBLE_SPACE)+I.MARKERS,h.node.isBlock(o)&&!g(o).find(\"*\").last().is(\"br\")&&g(o).append(\"<br/>\"),g(e).after('<span id=\"fr-break\"></span>'),g(e).remove(),o.nextSibling&&!h.node.isBlock(o.nextSibling)||h.node.isBlock(o)||g(o).after(\"<br>\"),s=(s=!t&&h.node.isBlock(o)?h.node.openTagString(o)+g(o).html()+f:h.node.openTagString(o)+g(o).html()+h.node.closeTagString(o)).replace(/<span id=\"fr-break\"><\\/span>/g,a),g(o).replaceWith(s)}}function L(e,t,n){var r=h.node.deepestParent(e,[],!n);if(null===r)h.html.defaultTag()&&e.parentNode===h.el?g(e).replaceWith(\"<\".concat(h.html.defaultTag(),\">\").concat(I.MARKERS,\"<br></\").concat(h.html.defaultTag(),\">\")):(e.nextSibling&&!h.node.isBlock(e.nextSibling)||g(e).after(\"<br>\"),g(e).replaceWith(\"<br>\".concat(I.MARKERS)));else if(e.previousSibling&&\"IMG\"==e.previousSibling.tagName||e.nextSibling&&\"IMG\"==e.nextSibling.tagName)g(e).replaceWith(\"<\"+h.html.defaultTag()+\">\"+I.MARKERS+\"<br></\"+h.html.defaultTag()+\">\");else{var o=e,i=\"\";\"PRE\"===r.tagName&&(t=!0),h.node.isBlock(r)&&!t||(i=\"<br>\");var a=\"\",s=\"\";do{var l=o;if(o=o.parentNode,\"BLOCKQUOTE\"===r.tagName&&h.node.isEmpty(l)&&!h.node.hasClass(l,\"fr-marker\")&&g(l).contains(e)&&g(l).after(e),\"BLOCKQUOTE\"!==r.tagName||!m(e,o)&&!u(e,o))if(!t||o!==r||t&&!h.node.isBlock(r)){a+=h.node.closeTagString(o);var c=\"A\"==o.tagName&&m(e,o)||h.node.hasClass(o,\"fa\")?\"fr-to-remove\":\"\";s=h.node.openTagString(g(o).clone().addClass(c).removeAttr(\"id\").get(0))+s,o===r&&\"DIV\"===r.tagName&&(a=\"<br>\",s=\"\")}else\"BLOCKQUOTE\"==r.tagName&&t&&(s=a=\"\")}while(o!==r);var d=r===e.parentNode&&h.node.isBlock(r)||e.nextSibling;if(\"BLOCKQUOTE\"===r.tagName)if(e.previousSibling&&h.node.isBlock(e.previousSibling)&&e.nextSibling&&\"BR\"===e.nextSibling.tagName&&(g(e.nextSibling).after(e),e.nextSibling&&\"BR\"===e.nextSibling.tagName&&g(e.nextSibling).remove()),t)i=a+i+I.MARKERS+s;else{var f=h.html.defaultTag();i=\"\".concat(a+i+(f?\"<\".concat(f,\">\"):\"\")+I.MARKERS,\"<br>\").concat(f?\"</\".concat(f,\">\"):\"\").concat(s)}else i=a+i+s+(d?\"\":I.INVISIBLE_SPACE)+I.MARKERS;g(e).replaceWith('<span id=\"fr-break\"></span>');var p=h.node.openTagString(r)+g(r).html()+h.node.closeTagString(r);p=p.replace(/<span id=\"fr-break\"><\\/span>/g,i),g(r).replaceWith(p)}}return{enter:function E(e){var t=h.markers.insert();if(!t)return!0;for(var n=t.parentNode;n&&!h.node.isElement(n);){if(\"false\"===n.getAttribute(\"contenteditable\"))return g(t).replaceWith(I.MARKERS),h.selection.restore(),!1;if(\"true\"===n.getAttribute(\"contenteditable\"))break;n=n.parentNode}h.el.normalize();var r=!1;0<g(t).parentsUntil(h.$el,\"BLOCKQUOTE\").length&&(r=!0),g(t).parentsUntil(h.$el,\"TD, TH\").length&&(r=!1),d(t)?!p(t)||e||r?b(t,e,r):h.cursorLists._endEnter(t):f(t)?!p(t)||e||r?function l(e,t,n){var r,o=h.node.deepestParent(e,[],!n);if(o&&\"TABLE\"===o.tagName)return g(o).find(\"td, th\").first().prepend(e),l(e,t,n);if(o&&\"BLOCKQUOTE\"===o.tagName)if(u(e,o)){if(!t)return(r=h.html.defaultTag())?g(o).before(\"<\".concat(r,\">\").concat(I.MARKERS,\"<br></\").concat(r,\">\")):g(o).before(\"\".concat(I.MARKERS,\"<br>\")),g(e).remove(),!1}else m(e,o)?b(e,t,!0):L(e,t,!0);if(null===o)(r=h.html.defaultTag())&&h.node.isElement(e.parentNode)?g(e).replaceWith(\"<\".concat(r,\">\").concat(I.MARKERS,\"<br></\").concat(r,\">\")):g(e).replaceWith(\"<br>\".concat(I.MARKERS));else{if(r=h.html.defaultTag(),h.node.isBlock(o))if(\"PRE\"===o.tagName&&(t=!0),t)g(e).remove(),g(o).prepend(\"<br>\".concat(I.MARKERS));else if(e.nextSibling&&\"IMG\"==e.nextSibling.tagName||e.nextSibling&&e.nextSibling.nextElementSibling&&\"IMG\"==e.nextSibling.nextElementSibling)g(e).replaceWith(\"<\"+h.html.defaultTag()+\">\"+I.MARKERS+\"<br></\"+h.html.defaultTag()+\">\");else{if(h.node.isEmpty(o,!0))return b(e,t,n);if(h.opts.keepFormatOnDelete||\"DIV\"===o.tagName||\"div\"===h.html.defaultTag())if(!h.opts.keepFormatOnDelete&&\"DIV\"===o.tagName||\"div\"===h.html.defaultTag())g(o).before(\"<\"+h.html.defaultTag()+\"><br></\"+h.html.defaultTag()+\">\");else{for(var i=e,a=I.INVISIBLE_SPACE;i!==o&&!h.node.isElement(i);)i=i.parentNode,a=h.node.openTagString(i)+a+h.node.closeTagString(i);g(o).before(a)}else g(o).before(\"\".concat(h.node.openTagString(g(o).clone().removeAttr(\"id\").get(0)),\"<br>\").concat(h.node.closeTagString(o)))}else g(o).before(\"<br>\");g(e).remove()}}(t,e,r):h.cursorLists._startEnter(t):!p(t)||e||r?L(t,e,r):h.cursorLists._middleEnter(t),function c(){h.$el.find(\".fr-to-remove\").each(function(){for(var e=h.node.contents(this),t=0;t<e.length;t++)e[t].nodeType===Node.TEXT_NODE&&(e[t].textContent=e[t].textContent.replace(/\\u200B/g,\"\"));g(this).replaceWith(this.innerHTML)})}(),h.html.fillEmptyBlocks(!0),h.opts.htmlUntouched||(h.html.cleanEmptyTags(),h.clean.lists(),h.spaces.normalizeAroundCursor()),h.selection.restore();var o=h.o_win.innerHeight;if(h.$oel[0].offsetHeight>o){var i=h.helpers.scrollTop(),a=h.selection.blocks();if(a&&0<a.length&&a[0].offsetTop){var s=a[0].offsetTop;o-100<s-i?h.o_win.scroll(0,s-o+120):s-i<0&&h.o_win.scroll(0,s-20)}}},backspace:function s(){var e=!1,t=h.markers.insert();if(!t)return!0;for(var n=t.parentNode;n&&!h.node.isElement(n);){if(\"false\"===n.getAttribute(\"contenteditable\"))return g(t).replaceWith(I.MARKERS),h.selection.restore(),!1;if(n.innerText.length&&\"true\"===n.getAttribute(\"contenteditable\"))break;n=n.parentNode}h.el.normalize();var r=t.previousSibling;if(r){var o=r.textContent;o&&o.length&&8203===o.charCodeAt(o.length-1)&&(1===o.length?g(r).remove():r.textContent=r.textContent.substr(0,o.length-C(o)))}return d(t)?p(t)&&u(t,g(t).parents(\"li\").first().get(0))?h.cursorLists._backspace(t):e=v(t):f(t)?p(t)&&u(t,g(t).parents(\"li\").first().get(0))?h.cursorLists._backspace(t):function c(e){for(var t=0<g(e).parentsUntil(h.$el,\"BLOCKQUOTE\").length,n=h.node.deepestParent(e,[],!t),r=n;n&&!n.previousSibling&&\"BLOCKQUOTE\"!==n.tagName&&n.parentElement!==h.el&&!h.node.hasClass(n.parentElement,\"fr-inner\")&&I.SIMPLE_ENTER_TAGS.indexOf(n.parentElement.tagName)<0;)n=n.parentElement;if(n&&\"BLOCKQUOTE\"===n.tagName){var o=h.node.deepestParent(e,[g(e).parentsUntil(h.$el,\"BLOCKQUOTE\").get(0)]);o&&o.previousSibling&&(r=n=o)}if(null!==n){var i,a=n.previousSibling;if(h.node.isBlock(n)&&h.node.isEditable(n))if(a&&I.NO_DELETE_TAGS.indexOf(a.tagName)<0){if(h.node.isDeletable(a))g(a).remove(),g(e).replaceWith(I.MARKERS);else if(h.node.isEditable(a))if(h.node.isBlock(a))if(h.node.isEmpty(a)&&!h.node.isList(a))g(a).remove(),g(e).after(h.opts.keepFormatOnDelete?I.INVISIBLE_SPACE:\"\");else{if(h.node.isList(a)&&(a=g(a).find(\"li\").last().get(0)),(i=h.node.contents(a)).length&&\"BR\"===i[i.length-1].tagName&&g(i[i.length-1]).remove(),\"BLOCKQUOTE\"===a.tagName&&\"BLOCKQUOTE\"!==n.tagName)for(i=h.node.contents(a);i.length&&h.node.isBlock(i[i.length-1]);)a=i[i.length-1],i=h.node.contents(a);else if(\"BLOCKQUOTE\"!==a.tagName&&\"BLOCKQUOTE\"===r.tagName)for(i=h.node.contents(r);i.length&&h.node.isBlock(i[0]);)r=i[0],i=h.node.contents(r);if(h.node.isEmpty(n))g(e).remove(),h.selection.setAtEnd(a,!0);else{g(e).replaceWith(I.MARKERS);var s=a.childNodes;h.node.isBlock(s[s.length-1])?g(s[s.length-1]).append(r.innerHTML):g(a).append(r.innerHTML)}g(r).remove(),h.node.isEmpty(n)&&g(n).remove()}else g(e).replaceWith(I.MARKERS),\"BLOCKQUOTE\"===n.tagName&&a.nodeType===Node.ELEMENT_NODE?g(a).remove():(g(a).after(h.node.isEmpty(n)?\"\":g(n).html()),g(n).remove(),\"BR\"===a.tagName&&g(a).remove())}else if(!a)if(n&&\"BLOCKQUOTE\"===n.tagName&&0===g(n).text().replace(/\\u200B/g,\"\").length)g(n).remove();else{var l=n.nextSibling;h.node.isEmpty(n)&&n.parentNode&&h.node.isEditable(n.parentNode)&&!l&&n.parentNode!=h.el&&g(n.parentNode).remove()}}}(t):e=v(t),g(t).remove(),a(),h.html.fillEmptyBlocks(!0),h.opts.htmlUntouched||(h.html.cleanEmptyTags(),h.clean.lists(),h.spaces.normalizeAroundCursor()),h.selection.restore(),e},del:function r(){var e=h.markers.insert();if(!e)return!1;if(h.el.normalize(),d(e))if(p(e))if(0===g(e).parents(\"li\").first().find(\"ul, ol\").length)h.cursorLists._del(e);else{var t=g(e).parents(\"li\").first().find(\"ul, ol\").first().find(\"li\").first();(t=t.find(h.html.blockTagsQuery()).get(-1)||t).prepend(e),h.cursorLists._backspace(e)}else i(e);else f(e),n(e);g(e).remove(),a(),h.html.fillEmptyBlocks(!0),h.opts.htmlUntouched||(h.html.cleanEmptyTags(),h.clean.lists()),h.spaces.normalizeAroundCursor(),h.selection.restore()},isAtEnd:m,isAtStart:u}},I.MODULES.data=function(f){function p(e){return e}function c(e){for(var t=e.toString(),n=0,r=0;r<t.length;r++)n+=parseInt(t.charAt(r),10);return 10<n?n%9+1:n}function d(e,t,n){for(var r=Math.abs(n);0<r--;)e-=t;return n<0&&(e+=123),e}function u(e){return e&&\"block\"!==e.css(\"display\")?(e.remove(),!0):e&&0===f.helpers.getPX(e.css(\"height\"))?(e.remove(),!0):!(!e||\"absolute\"!==e.css(\"position\")&&\"fixed\"!==e.css(\"position\")||(e.remove(),0))}function h(e){return e&&0===f.$box.find(e).length}function g(){if(10<e&&(f[p(N(\"0ppecjvc==\"))](),setTimeout(function(){L.FE=null},10)),!f.$box)return!1;f.$wp.prepend(N(p(N(T)))),v=f.$wp.find(\"> div\").first(),b=v.find(\"> a\"),\"rtl\"===f.opts.direction&&v.css(\"left\",\"auto\").css(\"right\",0).attr(\"direction\",\"rtl\"),e++}function m(e){for(var t=[N(\"9qqG-7amjlwq==\"),N(\"KA3B3C2A6D1D5H5H1A3==\"),N(\"3B9B3B5F3C4G3E3==\"),N(\"QzbzvxyB2yA-9m==\"),N(\"ji1kacwmgG5bc==\"),N(\"nmA-13aogi1A3c1jd==\"),N(\"BA9ggq==\"),N(\"emznbjbH3fij==\"),N(\"tkC-22d1qC-13sD1wzF-7==\"),N(\"tA3jjf==\"),N(\"1D1brkm==\")],n=0;n<t.length;n++)if(String.prototype.endsWith||(String.prototype.endsWith=function(e,t){return(void 0===t||t>this.length)&&(t=this.length),this.substring(t-e.length,t)===e}),e.endsWith(t[n]))return!0;return!1}function C(){var e=N(p(n)),t=N(p(\"tzgatD-13eD1dtdrvmF3c1nrC-7saQcdav==\")).split(\".\");try{return window.parent.document.querySelector(e)&&window[t[1]][t[2]]}catch(e){return!1}}var v,b,L=f.$,E=\"sC-7OB2fwhV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A3yWA5edhg1I2H3B7ozgmvAI3I2B5GD1LD2RSNH1KA1XA5SB4PA3sA9tlmC-9tnf1G3nd1coBH4I2I2JC3C-16LE6A1tnUA3vbwQB1G3f1A20a3A8a1C6pxAB2eniuE1F3kH2lnjB2hB-16XA5PF1G4zwtYA5B-11mzTG2B9pHB3BE2hGH3B3B2cMD5C1F1wzPA8E7VG5H5vD3H-7C8tyvsVF2I1G2A5fE3bg1mgajoyxMA4fhuzSD8aQB2B4g1A20ukb1A4B3F3GG2CujjanIC1ObiB11SD1C5pWC1D4YB8YE5FE-11jXE2F-7jB4CC2G-10uLH4E1C2tA-13yjUH5d1H1A7sWD5E4hmjF-7pykafoGA16hDD4joyD-8OA33B3C2tC7cRE4SA31a1B8d1e2A4F4g1A2A22CC5zwlAC2C1A12==\",M=function(){for(var e=0,t=document.domain,n=t.split(\".\"),r=\"_gd\".concat((new Date).getTime());e<n.length-1&&-1===document.cookie.indexOf(\"\".concat(r,\"=\").concat(r));)t=n.slice(-1-++e).join(\".\"),document.cookie=\"\".concat(r,\"=\").concat(r,\";domain=\").concat(t,\";\");return document.cookie=\"\".concat(r,\"=;expires=Thu, 01 Jan 1970 00:00:01 GMT;domain=\").concat(t,\";\"),(t||\"\").replace(/(^\\.*)|(\\.*$)/g,\"\")}(),N=p(function A(e){if(!e)return e;for(var t=\"\",n=p(\"charCodeAt\"),r=p(\"fromCharCode\"),o=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789\".indexOf(e[0]),i=1;i<e.length-2;i++){for(var a=c(++o),s=e[n](i),l=\"\";/[0-9-]/.test(e[i+1]);)l+=e[++i];s=d(s,a,l=parseInt(l,10)||0),s^=o-1&31,t+=String[r](s)}return t}),e=0;return{_init:function x(){var e=f.opts.key||[\"\"],t=N(p(\"ziRA1E3B9pA5B-11D-11xg1A3ZB5D1D4B-11ED2EG2pdeoC1clIH4wB-22yQD5uF4YE3E3A9==\"));\"string\"==typeof e&&(e=[e]);for(var n,r,o,i=!(f.ul=!0),a=0,s=0;s<e.length;s++){var l=(r=e[s],4===(o=(N(r)||\"\").split(\"|\")).length&&\"V3\"===o[0]?[o[1],o[3],o[2]]:[null,null,\"\"]),c=l[2];if(c===N(p(N(\"LGnD1KNZf1CPBYCAZB-8F3UDSLLSG1VFf1A3C2==\")))||0<=c.indexOf(M,c.length-M.length)||m(M)||C()){if(null!==(n=l[1])&&!(0==n.indexOf(\"TRIAL\")?(n=new Date(n.replace(/TRIAL/,\"\")),new Date(n)<new Date&&(E=y,1)):new Date(n)<new Date(N(S)))||!(0<(M||\"\").length)||m(M)||C()){f.ul=!1;break}i=!0,T=E,a=l[0]||-1}}var d=new Image;!0===f.ul&&(g(),d.src=i?\"\".concat(p(N(t)),\"e=\").concat(a):\"\".concat(p(N(t)),\"u\")),!0===f.ul&&(f.events.on(\"contentChanged\",function(){(function e(){return u(v)||u(b)||h(v)||h(b)})()&&g()}),f.events.on(\"html.get\",function(e){return e+N(\"qD2H-9G3ioD-17qA1tE1B-8qI3A4hA-13C-11E2C1njfldD1E6pg1C-8sC3hfbkcD2G3stC-22gqgB3G2B-7vtoA4nweeD1A31A15B9uC-16A1F5dkykdc1B8dE-11bA3F2D3A9gd1E7F2tlI-8H-7vtxB2A5B2C3B2F2B5A6ldbyC4iqC-22D-17E-13mA3D2dywiB3oxlvfC1H4C2TjqbzlnI3ntB4E3qA2zaqsC6D3pmnkoE3C6D5wvuE3bwifdhB6hch1E4xibD-17dmrC1rG-7pntnF6nB-8F1D2A11C8plrkmF2F3MC-16bocqA2WwA-21ayeA1C4d1isC-22rD-13D6DfjpjtC2E6hB2G2G4A-7D2==\")})),f.events.on(\"html.set\",function(){var e=f.el.querySelector('[data-f-id=\"pbf\"]');e&&L(e).remove()}),f.events.on(\"destroy\",function(){v&&v.length&&v.remove()},!0)}}},I.MODULES.edit=function(t){function e(){if(t.browser.mozilla)try{t.doc.execCommand(\"enableObjectResizing\",!1,\"false\"),t.doc.execCommand(\"enableInlineTableEditing\",!1,\"false\")}catch(e){}if(t.browser.msie)try{t.doc.body.addEventListener(\"mscontrolselect\",function(e){return e.srcElement.focus(),!1})}catch(e){}}var n=!1;function r(){return n}return{_init:function o(){t.events.on(\"focus\",function(){r()?t.edit.off():t.edit.on()})},on:function i(){t.$wp?(t.$el.attr(\"contenteditable\",!0),t.$el.removeClass(\"fr-disabled\").attr(\"aria-disabled\",!1),e()):t.$el.is(\"a\")&&t.$el.attr(\"contenteditable\",!0),t.events.trigger(\"edit.on\",[],!0),n=!1},off:function a(){t.events.disableBlur(),t.$wp?(t.$el.attr(\"contenteditable\",!1),t.$el.addClass(\"fr-disabled\").attr(\"aria-disabled\",!0)):t.$el.is(\"a\")&&t.$el.attr(\"contenteditable\",!1),t.events.trigger(\"edit.off\"),t.events.enableBlur(),n=!0},disableDesign:e,isDisabled:r}},I.MODULES.format=function(N){var A=N.$;function m(e,t){var n=\"<\".concat(e);for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n+=\" \".concat(r,'=\"').concat(t[r],'\"'));return n+=\">\"}function x(e,t){var n=e;for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n+=\"id\"===r?\"#\".concat(t[r]):\"class\"===r?\".\".concat(t[r]):\"[\".concat(r,'=\"').concat(t[r],'\"]'));return n}function O(e,t){return!(!e||e.nodeType!==Node.ELEMENT_NODE)&&(e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.oMatchesSelector).call(e,t)}function C(e,t,n){var r,o,i,a={strong:{prop:\"font-weight\",val:\"bold\"},em:{prop:\"font-style\",val:\"italic\"}};if(e){if(N.node.isBlock(e)&&e.hasAttribute(\"contenteditable\")&&\"false\"===e.getAttribute(\"contenteditable\")||e.parentNode&&e.parentNode.hasAttribute(\"contenteditable\")&&\"false\"===e.parentNode.getAttribute(\"contenteditable\")){if(e.nextSibling&&A(e.nextSibling).hasClass(\"fr-marker\"))return;if(e.nextSibling)return void C(e.nextSibling,t,n);if(e.parentNode)return void C(e.parentNode,t,n)}for(;e.nodeType===Node.COMMENT_NODE;)e=e.nextSibling;if(e){if(N.node.isBlock(e)&&\"HR\"!==e.tagName)return N.node.hasClass(e.firstChild,\"fr-marker\")?C(e.firstChild.nextSibling,t,n):C(e.firstChild,t,n),!1;var s=A(N.doc.createElement(t));s.attr(n),s.insertBefore(e),(r=v(e))&&(0<=[\"strong\",\"em\"].indexOf(t)||\"span\"===t&&n.hasOwnProperty(\"style\"))&&(i=\"span\"===t?(o=(a=n.style.replace(/;$/,\"\").split(\":\"))[0].trim(),a[1].trim()):(o=a[t].prop,a[t].val),\"background-color\"!==o&&(A(r).css(o,i),function g(e,t){var n,r=e.childNodes;for(n=0;n<r.length;n++)0<=[\"UL\",\"OL\",\"LI\"].indexOf(r[n].tagName)&&\"\"===r[n].style[t]&&A(r[n]).css(t,\"initial\")}(r,o)));for(var l=e;l&&!A(l).hasClass(\"fr-marker\")&&0===A(l).find(\".fr-marker\").length&&\"UL\"!==l.tagName&&\"OL\"!==l.tagName;){var c=l;if(N.node.isBlock(l)&&\"HR\"!==e.tagName)return C(l.firstChild,t,n),!1;if(l.tagName&&l.hasAttribute(\"contenteditable\")&&\"false\"===l.getAttribute(\"contenteditable\"))return void C(l.nextSibling,t,n);l=l.nextSibling,s.append(c)}if(l){if(A(l).find(\".fr-marker\").length||\"UL\"===l.tagName||\"OL\"===l.tagName)C(l.firstChild,t,n);else if(N.browser.mozilla&&N.node.hasClass(l,\"fr-marker\")){var d,f=N.selection.blocks(),p=f.length;for(d=0;d<p;d++)f[d]!=l.parentNode&&f[d].childNodes.length&&f[d].childNodes[0]!=l.parentNode&&(l=f[d].childNodes[1]||f[d].childNodes[0],(s=A(m(t,n)).insertBefore(l)).append(l))}}else{for(var u=s.get(0).parentNode;u&&!u.nextSibling&&!N.node.isElement(u);)u=u.parentNode;if(u){var h=u.nextSibling;h&&(N.node.isBlock(h)?\"HR\"===h.tagName?C(h.nextSibling,t,n):C(h.firstChild,t,n):C(h,t,n))}}s.is(\":empty\")&&s.remove()}}}function n(e,t){var n;if(void 0===t&&(t={}),t.style&&delete t.style,N.selection.isCollapsed()){N.markers.insert(),N.$el.find(\".fr-marker\").replaceWith(m(e,t)+I.INVISIBLE_SPACE+I.MARKERS+function a(e){return\"</\".concat(e,\">\")}(e)),N.selection.restore()}else{var r;N.selection.save(),C(N.$el.find('.fr-marker[data-type=\"true\"]').length&&N.$el.find('.fr-marker[data-type=\"true\"]').get(0).nextSibling,e,t);do{for(r=N.$el.find(\"\".concat(x(e,t),\" > \").concat(x(e,t))),n=0;n<r.length;n++)r[n].outerHTML=r[n].innerHTML}while(r.length);N.el.normalize();var o=N.el.querySelectorAll(\".fr-marker\");for(n=0;n<o.length;n++){var i=A(o[n]);!0===i.data(\"type\")?O(i.get(0).nextSibling,x(e,t))&&i.next().prepend(i):O(i.get(0).previousSibling,x(e,t))&&i.prev().append(i)}N.selection.restore()}}function w(e,t,n,r){if(!r){var o=!1;if(!0===e.data(\"type\"))for(;N.node.isFirstSibling(e.get(0))&&!e.parent().is(N.$el)&&!e.parent().is(\"ol\")&&!e.parent().is(\"ul\");)e.parent().before(e),o=!0;else if(!1===e.data(\"type\"))for(;N.node.isLastSibling(e.get(0))&&!e.parent().is(N.$el)&&!e.parent().is(\"ol\")&&!e.parent().is(\"ul\");)e.parent().after(e),o=!0;if(o)return!0}if(e.parents(t).length||void 0===t){var i,a=\"\",s=\"\",l=e.parent();if(l.is(N.$el)||N.node.isBlock(l.get(0)))return!1;for(;!(N.node.isBlock(l.parent().get(0))||void 0!==t&&O(l.get(0),x(t,n)));)a+=N.node.closeTagString(l.get(0)),s=N.node.openTagString(l.get(0))+s,l=l.parent();var c=e.get(0).outerHTML;return e.replaceWith('<span id=\"mark\"></span>'),i=l.html().replace(/<span id=\"mark\"><\\/span>/,a+N.node.closeTagString(l.get(0))+s+c+a+N.node.openTagString(l.get(0))+s),l.replaceWith(N.node.openTagString(l.get(0))+i+N.node.closeTagString(l.get(0))),!0}return!1}function r(e,t){void 0===t&&(t={}),t.style&&delete t.style;var n=N.selection.isCollapsed();N.selection.save();for(var r=!0;r;){r=!1;for(var o=N.$el.find(\".fr-marker\"),i=0;i<o.length;i++){var a=A(o[i]),s=null;if(a.attr(\"data-cloned\")||n||(s=a.clone().removeClass(\"fr-marker\").addClass(\"fr-clone\"),a.data(\"type\")&&\"true\"===a.data(\"type\").toString()?a.attr(\"data-cloned\",!0).after(s):a.attr(\"data-cloned\",!0).before(s)),w(a,e,t,n)){r=!0;break}}}!function T(e,t,n,r){for(var o,i={strong:{prop:\"font-weight\",val:\"bold\"},em:{prop:\"font-style\",val:\"italic\"}},a=N.node.contents(e.get(0)),s=0;s<a.length;s++){var l=a[s];if(l.innerHTML&&8203==l.innerHTML.charCodeAt()&&l.tagName.toLocaleLowerCase()==n&&l.childNodes.length<2&&(l.outerHTML=l.innerHTML),N.node.hasClass(l,\"fr-marker\"))t=(t+1)%2;else if(t)if(0<A(l).find(\".fr-marker\").length)t=T(A(l),t,n,r);else{(o=\"LI\"===l.tagName?l:A(l).parentsUntil(N.$el,\"li\").get(0))&&(void 0===n||0<=[\"strong\",\"em\"].indexOf(n))&&(n?A(o).css(i[n].prop,\"\"):o.style=\"\");for(var c=A(l).find(n||\"*:not(br)\"),d=c.length-1;0<=d;d--){var f=c[d];(o=\"LI\"===f.tagName?f:A(f).parentsUntil(N.$el,\"li\").get(0))&&(!n||0<=[\"strong\",\"em\"].indexOf(n))&&(n?A(o).css(i[n].prop,\"\"):o.style=\"\"),N.node.isBlock(f)||N.node.isVoid(f)||void 0!==n&&!O(f,x(n,r))?N.node.isBlock(f)&&void 0===n&&\"TABLE\"!==l.tagName&&N.node.clearAttributes(f):N.node.hasClass(f,\"fr-clone\")||(f.outerHTML=f.innerHTML)}void 0===n&&l.nodeType===Node.ELEMENT_NODE&&!N.node.isVoid(l)||O(l,x(n,r))?N.node.isBlock(l)||N.node.hasClass(l,\"fr-clone\")||(l.outerHTML=l.innerHTML):void 0===n&&l.nodeType===Node.ELEMENT_NODE&&N.node.isBlock(l)&&\"TABLE\"!==l.tagName&&N.node.clearAttributes(l)}else 0<A(l).find(\".fr-marker\").length&&(t=T(A(l),t,n,r))}return t}(N.$el,0,e,t),n||(N.$el.find(\".fr-marker\").remove(),N.$el.find(\".fr-clone\").removeClass(\"fr-clone\").addClass(\"fr-marker\")),n&&N.$el.find(\".fr-marker\").before(I.INVISIBLE_SPACE).after(I.INVISIBLE_SPACE),N.html.cleanEmptyTags(),N.el.normalize();var l=N.$el.find(\".fr-marker\")[0],c=N.$el.find(\".fr-marker\")[1];!l.parentNode||\"P\"!==l.parentNode.tagName&&\"DIV\"!==l.parentNode.tagName||l.parentNode.firstChild!==l||l.parentNode.lastChild!==c||l.parentNode.removeAttribute(\"style\"),N.selection.restore();var d=N.win.getSelection()&&N.win.getSelection().anchorNode;if(d){var f=N.node.blockParent(d),p=!!d.textContent.replace(/\\u200B/g,\"\").length,u=N.win.getSelection().getRangeAt(0),h=u.startOffset,g=u.endOffset;N.selection.text().replace(/\\u200B/g,\"\").length||function M(e,t){if(e&&t){if(e.isSameNode(t)?e.textContent=e.textContent.replace(/\\u200B(?=.*\\u200B)/g,\"\"):e.nodeType===Node.TEXT_NODE&&(e.textContent=e.textContent.replace(/\\u200B/g,\"\")),!e.childNodes.length)return!1;Array.isArray(e.childNodes)&&e.childNodes.forEach(function(e){M(e,t)})}}(f,d);var m=N.win.getSelection().getRangeAt(0);if(d.nodeType===Node.TEXT_NODE){if(!p||!N.selection.text().length&&h===g){var C=d.textContent.search(/\\u200B/g)+1;if(N.browser.msie){var v=N.doc.createRange();N.selection.get().removeAllRanges(),v.setStart(d,C),v.setEnd(d,C),N.selection.get().addRange(v)}else m.setStart(d,C),m.setEnd(d,C)}}else{var b,L,E=0,y=A(d).contents();if(N.browser.msie){for(;L=y[E];)L.nodeType===Node.TEXT_NODE&&0<=L.textContent.search(/\\u200B/g)&&(b=L),E++;b=A(b)}else b=y.filter(function(e){return e.nodeType===Node.TEXT_NODE&&0<=e.textContent.search(/\\u200B/g)});if(b.length){var S=b.text().search(/\\u200B/g)+1;m.setStart(b.get(0),S),m.setEnd(b.get(0),S)}}}}function t(e,t){var n,r,o,i,a,s,l,c=null;if(N.selection.isCollapsed()){N.markers.insert();var d=(r=N.$el.find(\".fr-marker\")).parent();if(N.node.openTagString(d.get(0))==='<span style=\"'.concat(e,\": \").concat(d.css(e),';\">')){if(N.node.isEmpty(d.get(0)))c=A(N.doc.createElement(\"span\")).attr(\"style\",\"\".concat(e,\": \").concat(t,\";\")).html(\"\".concat(I.INVISIBLE_SPACE).concat(I.MARKERS)),d.replaceWith(c);else{var f={};f[\"style*\"]=\"\".concat(e,\":\"),w(r,\"span\",f,!0),r=N.$el.find(\".fr-marker\"),t?(c=A(N.doc.createElement(\"span\")).attr(\"style\",\"\".concat(e,\": \").concat(t,\";\")).html(\"\".concat(I.INVISIBLE_SPACE).concat(I.MARKERS)),r.replaceWith(c)):r.replaceWith(I.INVISIBLE_SPACE+I.MARKERS)}N.html.cleanEmptyTags()}else N.node.isEmpty(d.get(0))&&d.is(\"span\")?(r.replaceWith(I.MARKERS),d.css(e,t)):(c=A('<span style=\"'.concat(e,\": \").concat(t,';\">').concat(I.INVISIBLE_SPACE).concat(I.MARKERS,\"</span>\")),r.replaceWith(c));c&&b(c,e,t)}else{if(N.selection.save(),null===t||\"color\"===e&&0<N.$el.find(\".fr-marker\").parents(\"u, a\").length){var p=N.$el.find(\".fr-marker\");for(n=0;n<p.length;n++)if(!0===(r=A(p[n])).data(\"type\")||\"true\"===r.data(\"type\"))for(;N.node.isFirstSibling(r.get(0))&&!r.parent().is(N.$el)&&!N.node.isElement(r.parent().get(0))&&!N.node.isBlock(r.parent().get(0));)r.parent().before(r);else for(;N.node.isLastSibling(r.get(0))&&!r.parent().is(N.$el)&&!N.node.isElement(r.parent().get(0))&&!N.node.isBlock(r.parent().get(0));)r.parent().after(r)}for(var u=N.$el.find('.fr-marker[data-type=\"true\"]').get(0).nextSibling;u.firstChild;)u=u.firstChild;var h={\"class\":\"fr-unprocessed\"};for(t&&(h.style=\"\".concat(e,\": \").concat(t,\";\")),C(u,\"span\",h),N.$el.find(\".fr-marker + .fr-unprocessed\").each(function(){A(this).prepend(A(this).prev())}),N.$el.find(\".fr-unprocessed + .fr-marker\").each(function(){A(this).prev().append(A(this))}),(t||\"\").match(/\\dem$/)&&N.$el.find(\"span.fr-unprocessed\").removeClass(\"fr-unprocessed\");0<N.$el.find(\"span.fr-unprocessed\").length;){if(o=v(c=N.$el.find(\"span.fr-unprocessed\").first().removeClass(\"fr-unprocessed\")),c.parent().get(0).normalize(),c.parent().is(\"span\")&&1===c.parent().get(0).childNodes.length){c.parent().css(e,t);var g=c;c=c.parent(),g.replaceWith(g.html())}for(i=c.find(\"span\"),o&&\"background-color\"!==e&&(o.normalize(),i=A(o).find(\"span:not(.fr-unprocessed)\")),n=i.length-1;0<=n;n--)a=i[n],s=e,l=void 0,(l=A(a)).css(s,\"\"),\"\"===l.attr(\"style\")&&l.replaceWith(l.html());b(c,e,t)}}!function m(){var e;for(;0<N.$el.find(\".fr-split:empty\").length;)N.$el.find(\".fr-split:empty\").remove();N.$el.find(\".fr-split\").removeClass(\"fr-split\"),N.$el.find('[style=\"\"]').removeAttr(\"style\"),N.$el.find('[class=\"\"]').removeAttr(\"class\"),N.html.cleanEmptyTags();for(var t=N.$el.find(\"span\"),n=t.length-1;0<=n;n--){var r=t[n];r.attributes&&0!==r.attributes.length||A(r).replaceWith(r.innerHTML)}N.el.normalize();var o=N.$el.find(\"span[style] + span[style]\");for(e=0;e<o.length;e++){var i=A(o[e]),a=A(o[e]).prev();i.get(0).previousSibling===a.get(0)&&N.node.openTagString(i.get(0))===N.node.openTagString(a.get(0))&&(i.prepend(a.html()),a.remove())}N.$el.find(\"span[style] span[style]\").each(function(){if(0<=A(this).attr(\"style\").indexOf(\"font-size\")){var e=A(this).parents(\"span[style]\");e.attr(\"style\")&&0<=e.attr(\"style\").indexOf(\"background-color\")&&(A(this).attr(\"style\",\"\".concat(A(this).attr(\"style\"),\";\").concat(e.attr(\"style\"))),w(A(this),\"span[style]\",{},!1))}}),N.el.normalize(),N.selection.restore()}()}function v(e){var t,n,r,o,i,a;if(t=\"LI\"===e.tagName?e:A(e).parentsUntil(N.$el,\"li\").get(0)){if((a=N.selection.info(t)).atStart&&a.atEnd)return t;if(a.atStart&&!a.atEnd&&(n=A(t).find(\".fr-marker[data-type=false]\").get(0),r=A(n).parentsUntil(N.$el,\"li\").get(0),o=A(n).parent().get(0),(i=n.nextSibling)&&0<=[\"UL\",\"OL\"].indexOf(i.tagName)||!r.isSameNode(t)||!i&&(\"LI\"===o.tagName||!o.nextSibling||0<=[\"UL\",\"OL\"].indexOf(o.nextSibling.tagName)||N.node.isVoid(o.nextSibling))))return t}}function b(e,t,n){var r,o,i,a=e.parentsUntil(N.$el,\"span[style]\"),s=[];for(r=a.length-1;0<=r;r--)o=a[r],i=t,0===A(o).attr(\"style\").indexOf(\"\".concat(i,\":\"))||0<=A(o).attr(\"style\").indexOf(\";\".concat(i,\":\"))||0<=A(o).attr(\"style\").indexOf(\"; \".concat(i,\":\"))||s.push(a[r]);if((a=a.not(s)).length){for(var l=\"\",c=\"\",d=\"\",f=\"\",p=e.get(0);p=p.parentNode,A(p).addClass(\"fr-split\"),l+=N.node.closeTagString(p),c=N.node.openTagString(A(p).clone().addClass(\"fr-split\").get(0))+c,a.get(0)!==p&&(d+=N.node.closeTagString(p),f=N.node.openTagString(A(p).clone().addClass(\"fr-split\").get(0))+f),a.get(0)!==p;);var u=\"\".concat(l+N.node.openTagString(A(a.get(0)).clone().css(t,n||\"\").get(0))+f+e.css(t,\"\").get(0).outerHTML+d,\"</span>\").concat(c);e.replaceWith('<span id=\"fr-break\"></span>');var h=a.get(0).outerHTML;A(a.get(0)).replaceWith(h.replace(/<span id=\"fr-break\"><\\/span>/g,function(){return u}))}}function o(e,t){void 0===t&&(t={}),t.style&&delete t.style;var n=N.selection.ranges(0),r=n.startContainer;if(r.nodeType===Node.ELEMENT_NODE&&0<r.childNodes.length&&r.childNodes[n.startOffset]&&(r=r.childNodes[n.startOffset]),!n.collapsed&&r.nodeType===Node.TEXT_NODE&&n.startOffset===(r.textContent||\"\").length){for(;!N.node.isBlock(r.parentNode)&&!r.nextSibling;)r=r.parentNode;r.nextSibling&&(r=r.nextSibling)}for(var o=r;o&&o.nodeType===Node.ELEMENT_NODE&&!O(o,x(e,t));)o=o.firstChild;if(o&&o.nodeType===Node.ELEMENT_NODE&&O(o,x(e,t)))return!0;var i=r;for(i&&i.nodeType!==Node.ELEMENT_NODE&&(i=i.parentNode);i&&i.nodeType===Node.ELEMENT_NODE&&i!==N.el&&!O(i,x(e,t));)i=i.parentNode;return!(!i||i.nodeType!==Node.ELEMENT_NODE||i===N.el||!O(i,x(e,t)))}return{is:o,toggle:function i(e,t){o(e,t)?r(e,t):n(e,t)},apply:n,remove:r,applyStyle:t,removeStyle:function a(e){t(e,null)}}},I.MODULES.spaces=function(c){function r(e,t){var n=e.previousSibling,r=e.nextSibling,o=e.textContent,i=e.parentNode,a=[I.ENTER_P,I.ENTER_DIV,I.ENTER_BR];if(!c.html.isPreformatted(i)){t&&(o=o.replace(/[\\f\\n\\r\\t\\v ]{2,}/g,\" \"),r&&\"BR\"!==r.tagName&&!c.node.isBlock(r)||!(c.node.isBlock(i)||c.node.isLink(i)&&!i.nextSibling||c.node.isElement(i))||(o=o.replace(/[\\f\\n\\r\\t\\v ]{1,}$/g,\"\")),n&&\"BR\"!==n.tagName&&!c.node.isBlock(n)||!(c.node.isBlock(i)||c.node.isLink(i)&&!i.previousSibling||c.node.isElement(i))||(o=o.replace(/^[\\f\\n\\r\\t\\v ]{1,}/g,\"\")),(c.node.isBlock(r)||c.node.isBlock(n))&&(!n||n&&\"A\"!==n.tagName)&&(o=o.replace(/^[\\f\\n\\r\\t\\v ]{1,}/g,\"\")),\" \"===o&&(n&&c.node.isVoid(n)||r&&c.node.isVoid(r))&&!(n&&r&&c.node.isVoid(n)||r&&n&&c.node.isVoid(r))&&(o=\"\")),(!n&&c.node.isBlock(r)||!r&&c.node.isBlock(n))&&c.node.isBlock(i)&&i!==c.el&&(o=o.replace(/^[\\f\\n\\r\\t\\v ]{1,}/g,\"\")),t||(o=o.replace(new RegExp(I.UNICODE_NBSP,\"g\"),\" \"));for(var s=\"\",l=0;l<o.length;l++)32!=o.charCodeAt(l)||0!==l&&32!=s.charCodeAt(l-1)||!((c.opts.enter===I.ENTER_BR||c.opts.enter===I.ENTER_DIV)&&(n&&\"BR\"===n.tagName||r&&\"BR\"===r.tagName)||n&&r&&n.tagName===r.tagName)&&(n&&r&&c.node.isVoid(n)||n&&r&&c.node.isVoid(r))?s+=o[l]:s+=I.UNICODE_NBSP;(!r||r&&c.node.isBlock(r)||r&&r.nodeType===Node.ELEMENT_NODE&&c.win.getComputedStyle(r)&&\"block\"===c.win.getComputedStyle(r).display)&&(!c.node.isVoid(n)||n&&-1!==[\"P\",\"DIV\",\"BR\"].indexOf(n.tagName)&&-1!==a.indexOf(c.opts.enter))&&(s=s.replace(/ $/,I.UNICODE_NBSP)),!n||c.node.isVoid(n)||c.node.isBlock(n)||1!==(s=s.replace(/^\\u00A0([^ $])/,\" $1\")).length||160!==s.charCodeAt(0)||!r||c.node.isVoid(r)||c.node.isBlock(r)||c.node.hasClass(n,\"fr-marker\")&&c.node.hasClass(r,\"fr-marker\")||(s=\" \"),t||(s=s.replace(/([^ \\u00A0])\\u00A0([^ \\u00A0])/g,\"$1 $2\")),e.textContent!==s&&(e.textContent=s)}}function l(e,t){if(void 0!==e&&e||(e=c.el),void 0===t&&(t=!1),!e.getAttribute||\"false\"!==e.getAttribute(\"contenteditable\"))if(e.nodeType===Node.TEXT_NODE)r(e,t);else if(e.nodeType===Node.ELEMENT_NODE)for(var n=c.doc.createTreeWalker(e,NodeFilter.SHOW_TEXT,c.node.filter(function(e){for(var t=e.parentNode;t&&t!==c.el;){if(\"STYLE\"===t.tagName||\"IFRAME\"===t.tagName)return!1;if(\"PRE\"===t.tagName)return!1;t=t.parentNode}return null!==e.textContent.match(/([ \\u00A0\\f\\n\\r\\t\\v]{2,})|(^[ \\u00A0\\f\\n\\r\\t\\v]{1,})|([ \\u00A0\\f\\n\\r\\t\\v]{1,}$)/g)&&!c.node.hasClass(e.parentNode,\"fr-marker\")}),!1);n.nextNode();)r(n.currentNode,t)}return{normalize:l,normalizeAroundCursor:function d(){for(var e=[],t=c.el.querySelectorAll(\".fr-marker\"),n=0;n<t.length;n++){for(var r=null,o=c.node.blockParent(t[n]),i=(r=o||t[n]).nextSibling,a=r.previousSibling;i&&\"BR\"===i.tagName;)i=i.nextSibling;for(;a&&\"BR\"===a.tagName;)a=a.previousSibling;r&&e.indexOf(r)<0&&e.push(r),a&&e.indexOf(a)<0&&e.push(a),i&&e.indexOf(i)<0&&e.push(i)}for(var s=0;s<e.length;s++)l(e[s])}}},I.START_MARKER='<span class=\"fr-marker\" data-id=\"0\" data-type=\"true\" style=\"display: none; line-height: 0;\">'.concat(I.INVISIBLE_SPACE=\"&#8203;\",\"</span>\"),I.END_MARKER='<span class=\"fr-marker\" data-id=\"0\" data-type=\"false\" style=\"display: none; line-height: 0;\">'.concat(I.INVISIBLE_SPACE,\"</span>\"),I.MARKERS=I.START_MARKER+I.END_MARKER,I.MODULES.markers=function(d){var f=d.$;function l(){if(!d.$wp)return null;try{var e=d.selection.ranges(0),t=e.commonAncestorContainer;if(t!==d.el&&!d.$el.contains(t))return null;var n=e.cloneRange(),r=e.cloneRange();n.collapse(!0);var o=f(d.doc.createElement(\"SPAN\")).addClass(\"fr-marker\").attr(\"style\",\"display: none; line-height: 0;\").html(I.INVISIBLE_SPACE).get(0);if(n.insertNode(o),o=d.$el.find(\"span.fr-marker\").get(0)){for(var i=o.nextSibling;i&&i.nodeType===Node.TEXT_NODE&&0===i.textContent.length;)f(i).remove(),i=d.$el.find(\"span.fr-marker\").get(0).nextSibling;return d.selection.clear(),d.selection.get().addRange(r),o}return null}catch(a){}}function c(){d.$el.find(\".fr-marker\").remove()}return{place:function p(e,t,n){var r,o,i;try{var a=e.cloneRange();if(a.collapse(t),a.insertNode(function l(e,t){var n=f(d.doc.createElement(\"SPAN\"));return n.addClass(\"fr-marker\").attr(\"data-id\",t).attr(\"data-type\",e).attr(\"style\",\"display: \".concat(d.browser.safari?\"none\":\"inline-block\",\"; line-height: 0;\")).html(I.INVISIBLE_SPACE),n.get(0)}(t,n)),!0===t)for(i=(r=d.$el.find('span.fr-marker[data-type=\"true\"][data-id=\"'.concat(n,'\"]')).get(0)).nextSibling;i&&i.nodeType===Node.TEXT_NODE&&0===i.textContent.length;)f(i).remove(),i=r.nextSibling;if(!0===t&&!e.collapsed){for(;!d.node.isElement(r.parentNode)&&!i;)-1</\\bfa\\b/g.test(r.parentNode.className)&&\"I\"===r.parentNode.tagName?f(r.parentNode).before(r):f(r.parentNode).after(r),i=r.nextSibling;if(i&&i.nodeType===Node.ELEMENT_NODE&&d.node.isBlock(i)&&\"HR\"!==i.tagName){for(o=[i];i=o[0],(o=d.node.contents(i))[0]&&d.node.isBlock(o[0]););f(i).prepend(f(r))}}if(!1===t&&!e.collapsed){if((i=(r=d.$el.find('span.fr-marker[data-type=\"false\"][data-id=\"'.concat(n,'\"]')).get(0)).previousSibling)&&i.nodeType===Node.ELEMENT_NODE&&d.node.isBlock(i)&&\"HR\"!==i.tagName){for(o=[i];i=o[o.length-1],(o=d.node.contents(i))[o.length-1]&&d.node.isBlock(o[o.length-1]););f(i).append(f(r))}(r.parentNode&&0<=[\"TD\",\"TH\"].indexOf(r.parentNode.tagName)||!r.previousSibling&&d.node.isBlock(r.parentElement))&&(r.parentNode.previousSibling&&!r.previousSibling?f(r.parentNode.previousSibling).append(r):0<=[\"TD\",\"TH\"].indexOf(r.parentNode.tagName)&&r.parentNode.firstChild===r&&(r.parentNode.previousSibling?f(r.parentNode.previousSibling).append(r):r.parentNode.parentNode&&r.parentNode.parentNode.previousSibling&&f(r.parentNode.parentNode.previousSibling).append(r)))}var s=d.$el.find('span.fr-marker[data-type=\"'.concat(t,'\"][data-id=\"').concat(n,'\"]')).get(0);return s&&(s.style.display=\"none\"),s}catch(c){return null}},insert:l,split:function a(){d.selection.isCollapsed()||d.selection.remove();var e=d.$el.find(\".fr-marker\").get(0);if(e||(e=l()),!e)return null;var t=d.node.deepestParent(e);if(t||(t=d.node.blockParent(e))&&\"LI\"!==t.tagName&&(t=null),t)if(d.node.isBlock(t)&&d.node.isEmpty(t))\"LI\"!==t.tagName||t.parentNode.firstElementChild!==t||d.node.isEmpty(t.parentNode)?f(t).replaceWith('<span class=\"fr-marker\"></span>'):f(t).append('<span class=\"fr-marker\"></span>');else if(d.cursor.isAtStart(e,t))f(t).before('<span class=\"fr-marker\"></span>'),f(e).remove();else if(d.cursor.isAtEnd(e,t))f(t).after('<span class=\"fr-marker\"></span>'),f(e).remove();else{for(var n=e,r=\"\",o=\"\";n=n.parentNode,r+=d.node.closeTagString(n),o=d.node.openTagString(n)+o,n!==t;);f(e).replaceWith('<span id=\"fr-break\"></span>');var i=d.node.openTagString(t)+f(t).html()+d.node.closeTagString(t);i=i.replace(/<span id=\"fr-break\"><\\/span>/g,\"\".concat(r,'<span class=\"fr-marker\"></span>').concat(o)),f(t).replaceWith(i)}return d.$el.find(\".fr-marker\").get(0)},insertAtPoint:function u(e){var t,n=e.clientX,r=e.clientY;c();var o=null;if(\"undefined\"!=typeof d.doc.caretPositionFromPoint?(t=d.doc.caretPositionFromPoint(n,r),(o=d.doc.createRange()).setStart(t.offsetNode,t.offset),o.setEnd(t.offsetNode,t.offset)):\"undefined\"!=typeof d.doc.caretRangeFromPoint&&(t=d.doc.caretRangeFromPoint(n,r),(o=d.doc.createRange()).setStart(t.startContainer,t.startOffset),o.setEnd(t.startContainer,t.startOffset)),null!==o&&\"undefined\"!=typeof d.win.getSelection){var i=d.win.getSelection();i.removeAllRanges(),i.addRange(o)}else if(\"undefined\"!=typeof d.doc.body.createTextRange)try{(o=d.doc.body.createTextRange()).moveToPoint(n,r);var a=o.duplicate();a.moveToPoint(n,r),o.setEndPoint(\"EndToEnd\",a),o.select()}catch(s){return!1}l()},remove:c}},I.MODULES.selection=function(E){var y=E.$;function s(){var e=\"\";return E.win.getSelection?e=E.win.getSelection():E.doc.getSelection?e=E.doc.getSelection():E.doc.selection&&(e=E.doc.selection.createRange().text),e.toString()}function L(){return E.win.getSelection?E.win.getSelection():E.doc.getSelection?E.doc.getSelection():E.doc.selection.createRange()}function f(e){var t=L(),n=[];if(t&&t.getRangeAt&&t.rangeCount){n=[];for(var r=0;r<t.rangeCount;r++)n.push(t.getRangeAt(r))}else n=E.doc.createRange?[E.doc.createRange()]:[];return void 0!==e?n[e]:n}function S(){var e=L();try{e.removeAllRanges?e.removeAllRanges():e.empty?e.empty():e.clear&&e.clear()}catch(t){}}function p(e,t){var n=e;return n.nodeType===Node.ELEMENT_NODE&&0<n.childNodes.length&&n.childNodes[t]&&(n=n.childNodes[t]),n.nodeType===Node.TEXT_NODE&&(n=n.parentNode),n}function T(){if(E.$wp){E.markers.remove();var e,t,n=f(),r=[];for(t=0;t<n.length;t++)if(n[t].startContainer!==E.doc||E.browser.msie){var o=(e=n[t]).collapsed,i=E.markers.place(e,!0,t),a=E.markers.place(e,!1,t);if(void 0!==i&&i||!o||(y(\".fr-marker\").remove(),E.selection.setAtEnd(E.el)),E.el.normalize(),E.browser.safari&&!o)try{(e=E.doc.createRange()).setStartAfter(i),e.setEndBefore(a),r.push(e)}catch(s){}}if(E.browser.safari&&r.length)for(E.selection.clear(),t=0;t<r.length;t++)E.selection.get().addRange(r[t])}}function M(){var e,t=E.el.querySelectorAll('.fr-marker[data-type=\"true\"]');if(!E.$wp)return E.markers.remove(),!1;if(0===t.length)return!1;if(E.browser.msie||E.browser.edge)for(e=0;e<t.length;e++)t[e].style.display=\"inline-block\";E.core.hasFocus()||E.browser.msie||E.browser.webkit||E.$el.focus(),S();var n=L();for(e=0;e<t.length;e++){var r=y(t[e]).data(\"id\"),o=t[e],i=E.doc.createRange(),a=E.$el.find('.fr-marker[data-type=\"false\"][data-id=\"'.concat(r,'\"]'));(E.browser.msie||E.browser.edge)&&a.css(\"display\",\"inline-block\");var s=null;if(0<a.length){a=a[0];try{for(var l=!1,c=o.nextSibling,d=null;c&&c.nodeType===Node.TEXT_NODE&&0===c.textContent.length;)c=(d=c).nextSibling,y(d).remove();for(var f=a.nextSibling;f&&f.nodeType===Node.TEXT_NODE&&0===f.textContent.length;)f=(d=f).nextSibling,y(d).remove();if(o.nextSibling===a||a.nextSibling===o){for(var p=o.nextSibling===a?o:a,u=p===o?a:o,h=p.previousSibling;h&&h.nodeType===Node.TEXT_NODE&&0===h.length;)h=(d=h).previousSibling,y(d).remove();if(h&&h.nodeType===Node.TEXT_NODE)for(;h&&h.previousSibling&&h.previousSibling.nodeType===Node.TEXT_NODE;)h.previousSibling.textContent+=h.textContent,h=h.previousSibling,y(h.nextSibling).remove();for(var g=u.nextSibling;g&&g.nodeType===Node.TEXT_NODE&&0===g.length;)g=(d=g).nextSibling,y(d).remove();if(g&&g.nodeType===Node.TEXT_NODE)for(;g&&g.nextSibling&&g.nextSibling.nodeType===Node.TEXT_NODE;)g.nextSibling.textContent=g.textContent+g.nextSibling.textContent,g=g.nextSibling,y(g.previousSibling).remove();if(h&&(E.node.isVoid(h)||E.node.isBlock(h))&&(h=null),g&&(E.node.isVoid(g)||E.node.isBlock(g))&&(g=null),h&&g&&h.nodeType===Node.TEXT_NODE&&g.nodeType===Node.TEXT_NODE){y(o).remove(),y(a).remove();var m=h.textContent.length;h.textContent+=g.textContent,y(g).remove(),E.spaces.normalize(h),i.setStart(h,m),i.setEnd(h,m),l=!0}else!h&&g&&g.nodeType===Node.TEXT_NODE?(y(o).remove(),y(a).remove(),E.opts.htmlUntouched||E.spaces.normalize(g),s=y(E.doc.createTextNode(\"\\u200b\")).get(0),y(g).before(s),i.setStart(g,0),i.setEnd(g,0),l=!0):!g&&h&&h.nodeType===Node.TEXT_NODE&&(y(o).remove(),y(a).remove(),E.opts.htmlUntouched||E.spaces.normalize(h),s=y(E.doc.createTextNode(\"\\u200b\")).get(0),y(h).after(s),i.setStart(h,h.textContent.length),i.setEnd(h,h.textContent.length),l=!0)}if(!l){var C=void 0,v=void 0;v=(E.browser.chrome||E.browser.edge)&&o.nextSibling===a?(C=N(a,i,!0)||i.setStartAfter(a),N(o,i,!1)||i.setEndBefore(o)):(o.previousSibling===a&&(a=(o=a).nextSibling),a.nextSibling&&\"BR\"===a.nextSibling.tagName||!a.nextSibling&&E.node.isBlock(o.previousSibling)||o.previousSibling&&\"BR\"===o.previousSibling.tagName||(o.style.display=\"inline\",a.style.display=\"inline\",s=y(E.doc.createTextNode(\"\\u200b\")).get(0)),C=N(o,i,!0)||y(o).before(s)&&i.setStartBefore(o),N(a,i,!1)||y(a).after(s)&&i.setEndAfter(a)),\"function\"==typeof C&&C(),\"function\"==typeof v&&v()}}catch(b){}}s&&y(s).remove();try{n.addRange(i)}catch(b){}}E.markers.remove()}function N(e,t,n){var r,o=e.previousSibling,i=e.nextSibling;return o&&i&&o.nodeType===Node.TEXT_NODE&&i.nodeType===Node.TEXT_NODE?(r=o.textContent.length,n?(i.textContent=o.textContent+i.textContent,y(o).remove(),y(e).remove(),E.opts.htmlUntouched||E.spaces.normalize(i),function(){t.setStart(i,r)}):(o.textContent+=i.textContent,y(i).remove(),y(e).remove(),E.opts.htmlUntouched||E.spaces.normalize(o),function(){t.setEnd(o,r)})):o&&!i&&o.nodeType===Node.TEXT_NODE?(r=o.textContent.length,n?(E.opts.htmlUntouched||E.spaces.normalize(o),function(){t.setStart(o,r)}):(E.opts.htmlUntouched||E.spaces.normalize(o),function(){t.setEnd(o,r)})):!(!i||o||i.nodeType!==Node.TEXT_NODE)&&(n?(E.opts.htmlUntouched||E.spaces.normalize(i),function(){t.setStart(i,0)}):(E.opts.htmlUntouched||E.spaces.normalize(i),function(){t.setEnd(i,0)}))}function A(){for(var e=f(),t=0;t<e.length;t++)if(!e[t].collapsed)return!1;return!0}function o(e){var t,n,r=!1,o=!1;if(E.win.getSelection){var i=E.win.getSelection();i.rangeCount&&((n=(t=i.getRangeAt(0)).cloneRange()).selectNodeContents(e),n.setEnd(t.startContainer,t.startOffset),r=a(n),n.selectNodeContents(e),n.setStart(t.endContainer,t.endOffset),o=a(n))}else E.doc.selection&&\"Control\"!==E.doc.selection.type&&((n=(t=E.doc.selection.createRange()).duplicate()).moveToElementText(e),n.setEndPoint(\"EndToStart\",t),r=a(n),n.moveToElementText(e),n.setEndPoint(\"StartToEnd\",t),o=a(n));return{atStart:r,atEnd:o}}function a(e){return\"\"===e.toString().replace(/[\\u200B-\\u200D\\uFEFF]/g,\"\")}function x(e,t){void 0===t&&(t=!0);var n=y(e).html();n&&n.replace(/\\u200b/g,\"\").length!==n.length&&y(e).html(n.replace(/\\u200b/g,\"\"));for(var r=E.node.contents(e),o=0;o<r.length;o++)r[o].nodeType!==Node.ELEMENT_NODE?y(r[o]).remove():(x(r[o],0===o),0===o&&(t=!1));if(e.nodeType===Node.TEXT_NODE){var i=y(document.createElement(\"span\")).attr(\"data-first\",\"true\").attr(\"data-text\",\"true\");y(e)[0].replaceWith(i[0])}else t&&y(e).attr(\"data-first\",!0)}function O(){return 0===y(this).find(\"fr-inner\").length}function u(){try{if(!E.$wp)return!1;for(var e=f(0).commonAncestorContainer;e&&!E.node.isElement(e);)e=e.parentNode;return!!E.node.isElement(e)}catch(t){return!1}}function r(e,t){if(!e||0<e.getElementsByClassName(\"fr-marker\").length)return!1;for(var n=e.firstChild;n&&(E.node.isBlock(n)||t&&!E.node.isVoid(n)&&n.nodeType===Node.ELEMENT_NODE);)n=(e=n).firstChild;e.innerHTML=I.MARKERS+e.innerHTML}function i(e,t){if(!e||0<e.getElementsByClassName(\"fr-marker\").length)return!1;for(var n=e.lastChild;n&&(E.node.isBlock(n)||t&&!E.node.isVoid(n)&&n.nodeType===Node.ELEMENT_NODE);)n=(e=n).lastChild;var r=E.doc.createElement(\"SPAN\");for(r.setAttribute(\"id\",\"fr-sel-markers\"),r.innerHTML=I.MARKERS;e.parentNode&&E.opts.htmlAllowedEmptyTags&&0<=E.opts.htmlAllowedEmptyTags.indexOf(e.tagName.toLowerCase());)e=e.parentNode;e.appendChild(r);var o=e.querySelector(\"#fr-sel-markers\");o.outerHTML=o.innerHTML}return{text:s,get:L,ranges:f,clear:S,element:function l(){var e=L();try{if(e.rangeCount){var t,n=f(0),r=n.startContainer;if(E.node.isElement(r)&&0===n.startOffset&&r.childNodes.length)for(;r.childNodes.length&&r.childNodes[0].nodeType===Node.ELEMENT_NODE;)r=r.childNodes[0];if(r.nodeType===Node.TEXT_NODE&&n.startOffset===(r.textContent||\"\").length&&r.nextSibling&&(r=r.nextSibling),r.nodeType===Node.ELEMENT_NODE){var o=!1;if(0<r.childNodes.length&&r.childNodes[n.startOffset]){for(t=r.childNodes[n.startOffset];t&&t.nodeType===Node.TEXT_NODE&&0===t.textContent.length;)t=t.nextSibling;if(t&&t.textContent.replace(/\\u200B/g,\"\")===s().replace(/\\u200B/g,\"\")&&(r=t,o=!0),!o&&1<r.childNodes.length&&0<n.startOffset&&r.childNodes[n.startOffset-1]){for(t=r.childNodes[n.startOffset-1];t&&t.nodeType===Node.TEXT_NODE&&0===t.textContent.length;)t=t.nextSibling;t&&t.textContent.replace(/\\u200B/g,\"\")===s().replace(/\\u200B/g,\"\")&&(r=t,o=!0)}}else!n.collapsed&&r.nextSibling&&r.nextSibling.nodeType===Node.ELEMENT_NODE&&(t=r.nextSibling)&&t.textContent.replace(/\\u200B/g,\"\")===s().replace(/\\u200B/g,\"\")&&(r=t,o=!0);!o&&0<r.childNodes.length&&y(r.childNodes[0]).text().replace(/\\u200B/g,\"\")===s().replace(/\\u200B/g,\"\")&&[\"BR\",\"IMG\",\"HR\"].indexOf(r.childNodes[0].tagName)<0&&(r=r.childNodes[0])}for(;r.nodeType!==Node.ELEMENT_NODE&&r.parentNode;)r=r.parentNode;for(var i=r;i&&\"HTML\"!==i.tagName;){if(i===E.el)return r;i=y(i).parent()[0]}}}catch(a){}return E.el},endElement:function c(){var e=L();try{if(e.rangeCount){var t,n=f(0),r=n.endContainer;if(r.nodeType===Node.ELEMENT_NODE){var o=!1;0<r.childNodes.length&&r.childNodes[n.endOffset]&&y(r.childNodes[n.endOffset]).text()===s()?(r=r.childNodes[n.endOffset],o=!0):!n.collapsed&&r.previousSibling&&r.previousSibling.nodeType===Node.ELEMENT_NODE?(t=r.previousSibling)&&t.textContent.replace(/\\u200B/g,\"\")===s().replace(/\\u200B/g,\"\")&&(r=t,o=!0):!n.collapsed&&0<r.childNodes.length&&r.childNodes[n.endOffset]&&(t=r.childNodes[n.endOffset].previousSibling).nodeType===Node.ELEMENT_NODE&&t&&t.textContent.replace(/\\u200B/g,\"\")===s().replace(/\\u200B/g,\"\")&&(r=t,o=!0),!o&&0<r.childNodes.length&&y(r.childNodes[r.childNodes.length-1]).text()===s()&&[\"BR\",\"IMG\",\"HR\"].indexOf(r.childNodes[r.childNodes.length-1].tagName)<0&&(r=r.childNodes[r.childNodes.length-1])}for(r.nodeType===Node.TEXT_NODE&&0===n.endOffset&&r.previousSibling&&r.previousSibling.nodeType===Node.ELEMENT_NODE&&(r=r.previousSibling);r.nodeType!==Node.ELEMENT_NODE&&r.parentNode;)r=r.parentNode;for(var i=r;i&&\"HTML\"!==i.tagName;){if(i===E.el)return r;i=y(i).parent()[0]}}}catch(a){}return E.el},save:T,restore:M,isCollapsed:A,isFull:function d(){if(A())return!1;E.selection.save();var e,t=E.el.querySelectorAll(\"td, th, img, br\");for(e=0;e<t.length;e++)(t[e].nextSibling||\"IMG\"===t[e].tagName)&&(t[e].innerHTML='<span class=\"fr-mk\" style=\"display: none;\">&nbsp;</span>'.concat(t[e].innerHTML));var n=!1,r=o(E.el);for(r.atStart&&r.atEnd&&(n=!0),t=E.el.querySelectorAll(\".fr-mk\"),e=0;e<t.length;e++)t[e].parentNode.removeChild(t[e]);return E.selection.restore(),n},inEditor:u,remove:function w(){if(A())return!0;var e;function t(e){for(var t=e.previousSibling;t&&t.nodeType===Node.TEXT_NODE&&0===t.textContent.length;){var n=t;t=t.previousSibling,y(n).remove()}return t}function n(e){for(var t=e.nextSibling;t&&t.nodeType===Node.TEXT_NODE&&0===t.textContent.length;){var n=t;t=t.nextSibling,y(n).remove()}return t}T();var r=E.$el.find('.fr-marker[data-type=\"true\"]');for(e=0;e<r.length;e++)for(var o=r[e];!(t(o)||E.node.isBlock(o.parentNode)||E.$el.is(o.parentNode)||E.node.hasClass(o.parentNode,\"fr-inner\"));)y(o.parentNode).before(o);var i=E.$el.find('.fr-marker[data-type=\"false\"]');for(e=0;e<i.length;e++){for(var a=i[e];!(n(a)||E.node.isBlock(a.parentNode)||E.$el.is(a.parentNode)||E.node.hasClass(a.parentNode,\"fr-inner\"));)y(a.parentNode).after(a);a.parentNode&&E.node.isBlock(a.parentNode)&&E.node.isEmpty(a.parentNode)&&!E.$el.is(a.parentNode)&&!E.node.hasClass(a.parentNode,\"fr-inner\")&&E.opts.keepFormatOnDelete&&y(a.parentNode).after(a)}if(function b(){for(var e=E.$el.find(\".fr-marker\"),t=0;t<e.length;t++)if(y(e[t]).parentsUntil('.fr-element, [contenteditable=\"true\"]','[contenteditable=\"false\"]').length)return!1;return!0}()){!function L(e,t){var n=E.node.contents(e.get(0));0<=[\"TD\",\"TH\"].indexOf(e.get(0).tagName)&&1===e.find(\".fr-marker\").length&&(E.node.hasClass(n[0],\"fr-marker\")||\"BR\"==n[0].tagName&&E.node.hasClass(n[0].nextElementSibling,\"fr-marker\"))&&e.attr(\"data-del-cell\",!0);for(var r=0;r<n.length;r++){var o=n[r];E.node.hasClass(o,\"fr-marker\")?t=(t+1)%2:t?0<y(o).find(\".fr-marker\").length?t=L(y(o),t):[\"TD\",\"TH\"].indexOf(o.tagName)<0&&!E.node.hasClass(o,\"fr-inner\")?!E.opts.keepFormatOnDelete||0<E.$el.find(\"[data-first]\").length||E.node.isVoid(o)?y(o).remove():x(o):E.node.hasClass(o,\"fr-inner\")?0===y(o).find(\".fr-inner\").length?y(o).html(\"<br>\"):y(o).find(\".fr-inner\").filter(O).html(\"<br>\"):(y(o).empty(),y(o).attr(\"data-del-cell\",!0)):0<y(o).find(\".fr-marker\").length&&(t=L(y(o),t))}return t}(E.$el,0);var s=E.$el.find('[data-first=\"true\"]');if(s.length)E.$el.find(\".fr-marker\").remove(),s.append(I.INVISIBLE_SPACE+I.MARKERS).removeAttr(\"data-first\"),s.attr(\"data-text\")&&s.replaceWith(s.html());else for(E.$el.find(\"table\").filter(function(){return 0<y(this).find(\"[data-del-cell]\").length&&y(this).find(\"[data-del-cell]\").length===y(this).find(\"td, th\").length}).remove(),E.$el.find(\"[data-del-cell]\").removeAttr(\"data-del-cell\"),r=E.$el.find('.fr-marker[data-type=\"true\"]'),e=0;e<r.length;e++){var l=r[e],c=l.nextSibling,d=E.$el.find('.fr-marker[data-type=\"false\"][data-id=\"'.concat(y(l).data(\"id\"),'\"]')).get(0);if(d){if(l&&(!c||c!==d)){var f=E.node.blockParent(l),p=E.node.blockParent(d),u=!1,h=!1;if(f&&0<=[\"UL\",\"OL\"].indexOf(f.tagName)&&(u=!(f=null)),p&&0<=[\"UL\",\"OL\"].indexOf(p.tagName)&&(h=!(p=null)),y(l).after(d),f!==p)if(null!==f||u)if(null!==p||h||0!==y(f).parentsUntil(E.$el,\"table\").length)f&&p&&0===y(f).parentsUntil(E.$el,\"table\").length&&0===y(p).parentsUntil(E.$el,\"table\").length&&!y(f).contains(p)&&!y(p).contains(f)&&(y(f).append(y(p).html()),y(p).remove());else{for(c=f;!c.nextSibling&&c.parentNode!==E.el;)c=c.parentNode;for(c=c.nextSibling;c&&\"BR\"!==c.tagName;){var g=c.nextSibling;y(f).append(c),c=g}c&&\"BR\"===c.tagName&&y(c).remove()}else{var m=E.node.deepestParent(l);m?(y(m).after(y(p).html()),y(p).remove()):0===y(p).parentsUntil(E.$el,\"table\").length&&(y(l).next().after(y(p).html()),y(p).remove())}}}else d=y(l).clone().attr(\"data-type\",!1),y(l).after(d)}}E.$el.find(\"li:empty\").remove(),E.opts.keepFormatOnDelete||E.html.fillEmptyBlocks(),E.html.cleanEmptyTags(!0),E.opts.htmlUntouched||(E.clean.lists(),E.$el.find(\"li:empty\").append(\"<br>\"),E.spaces.normalize());var C=E.$el.find(\".fr-marker\").last().get(0),v=E.$el.find(\".fr-marker\").first().get(0);void 0!==C&&void 0!==v&&!C.nextSibling&&v.previousSibling&&\"BR\"===v.previousSibling.tagName&&E.node.isElement(C.parentNode)&&E.node.isElement(v.parentNode)&&E.$el.append(\"<br>\"),M()},blocks:function h(e){var t,n,r=[],o=L();if(u()&&o.rangeCount){var i=f();for(t=0;t<i.length;t++){var a=i[t],s=p(a.startContainer,a.startOffset),l=p(a.endContainer,a.endOffset);(E.node.isBlock(s)||E.node.hasClass(s,\"fr-inner\"))&&r.indexOf(s)<0&&r.push(s),(n=E.node.blockParent(s))&&r.indexOf(n)<0&&r.push(n);for(var c=[],d=s;d!==l&&d!==E.el;)c.indexOf(d)<0&&d.children&&d.children.length?(c.push(d),d=d.children[0]):d.nextSibling?d=d.nextSibling:d.parentNode&&(d=d.parentNode,c.push(d)),E.node.isBlock(d)&&c.indexOf(d)<0&&r.indexOf(d)<0&&(d!==l||0<a.endOffset)&&r.push(d);E.node.isBlock(l)&&r.indexOf(l)<0&&0<a.endOffset&&r.push(l),(n=E.node.blockParent(l))&&r.indexOf(n)<0&&r.push(n)}}for(t=r.length-1;0<t;t--)if(y(r[t]).find(r).length){if(e&&y(r[t]).find(\"ul, ol\").length)continue;r.splice(t,1)}return r},info:o,setAtEnd:i,setAtStart:r,setBefore:function g(e,t){void 0===t&&(t=!0);for(var n=e.previousSibling;n&&n.nodeType===Node.TEXT_NODE&&0===n.textContent.length;)n=n.previousSibling;return n?(E.node.isBlock(n)?i(n):\"BR\"===n.tagName?y(n).before(I.MARKERS):y(n).after(I.MARKERS),!0):!!t&&(E.node.isBlock(e)?r(e):y(e).before(I.MARKERS),!0)},setAfter:function m(e,t){void 0===t&&(t=!0);for(var n=e.nextSibling;n&&n.nodeType===Node.TEXT_NODE&&0===n.textContent.length;)n=n.nextSibling;return n?(E.node.isBlock(n)?r(n):y(n).before(I.MARKERS),!0):!!t&&(E.node.isBlock(e)?i(e):y(e).after(I.MARKERS),!0)},rangeElement:p}},Object.assign(I.DEFAULTS,{language:null}),I.LANGUAGE={},I.MODULES.language=function(e){var t;return{_init:function n(){I.LANGUAGE&&(t=I.LANGUAGE[e.opts.language]),t&&t.direction&&(e.opts.direction=t.direction)},translate:function r(e){return t&&t.translation[e]&&t.translation[e].length?t.translation[e]:e}}},Object.assign(I.DEFAULTS,{placeholderText:\"Type something\"}),I.MODULES.placeholder=function(f){var p=f.$;function e(){f.$placeholder||function d(){f.$placeholder=p(f.doc.createElement(\"SPAN\")).addClass(\"fr-placeholder\"),f.$wp.append(f.$placeholder)}();var e=f.opts.iframe?f.$iframe.prev().outerHeight(!0):f.$el.prev().outerHeight(!0),t=0,n=0,r=0,o=0,i=0,a=0,s=f.node.contents(f.el),l=p(f.selection.element()).css(\"text-align\");if(s.length&&s[0].nodeType===Node.ELEMENT_NODE){var c=p(s[0]);(0<f.$wp.prev().length||0<f.$el.prev().length)&&f.ready&&(t=f.helpers.getPX(c.css(\"margin-top\")),o=f.helpers.getPX(c.css(\"padding-top\")),n=f.helpers.getPX(c.css(\"margin-left\")),r=f.helpers.getPX(c.css(\"margin-right\")),i=f.helpers.getPX(c.css(\"padding-left\")),a=f.helpers.getPX(c.css(\"padding-right\"))),f.$placeholder.css(\"font-size\",c.css(\"font-size\")),f.$placeholder.css(\"line-height\",c.css(\"line-height\"))}else f.$placeholder.css(\"font-size\",f.$el.css(\"font-size\")),f.$placeholder.css(\"line-height\",f.$el.css(\"line-height\"));f.$wp.addClass(\"show-placeholder\"),f.$placeholder.css({marginTop:Math.max(f.helpers.getPX(f.$el.css(\"margin-top\")),t)+(e||0),paddingTop:Math.max(f.helpers.getPX(f.$el.css(\"padding-top\")),o),paddingLeft:Math.max(f.helpers.getPX(f.$el.css(\"padding-left\")),i),marginLeft:Math.max(f.helpers.getPX(f.$el.css(\"margin-left\")),n),paddingRight:Math.max(f.helpers.getPX(f.$el.css(\"padding-right\")),a),marginRight:Math.max(f.helpers.getPX(f.$el.css(\"margin-right\")),r),textAlign:l}).text(f.language.translate(f.opts.placeholderText||f.$oel.attr(\"placeholder\")||\"\")),f.$placeholder.html(f.$placeholder.text().replace(/\\n/g,\"<br>\"))}function t(){f.$wp.removeClass(\"show-placeholder\")}function n(){if(!f.$wp)return!1;f.core.isEmpty()?e():t()}return{_init:function r(){if(!f.$wp)return!1;f.events.on(\"init input keydown keyup contentChanged initialized\",n)},show:e,hide:t,refresh:n,isVisible:function o(){return!f.$wp||f.node.hasClass(f.$wp.get(0),\"show-placeholder\")}}},I.UNICODE_NBSP=String.fromCharCode(160),I.VOID_ELEMENTS=[\"area\",\"base\",\"br\",\"col\",\"embed\",\"hr\",\"img\",\"input\",\"keygen\",\"link\",\"menuitem\",\"meta\",\"param\",\"source\",\"track\",\"wbr\"],I.BLOCK_TAGS=[\"address\",\"article\",\"aside\",\"audio\",\"blockquote\",\"canvas\",\"details\",\"dd\",\"div\",\"dl\",\"dt\",\"fieldset\",\"figcaption\",\"figure\",\"footer\",\"form\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"header\",\"hgroup\",\"hr\",\"li\",\"main\",\"nav\",\"noscript\",\"ol\",\"output\",\"p\",\"pre\",\"section\",\"table\",\"tbody\",\"td\",\"tfoot\",\"th\",\"thead\",\"tr\",\"ul\",\"video\"],Object.assign(I.DEFAULTS,{htmlAllowedEmptyTags:[\"textarea\",\"a\",\"iframe\",\"object\",\"video\",\"style\",\"script\",\".fa\",\".fr-emoticon\",\".fr-inner\",\"path\",\"line\",\"hr\"],htmlDoNotWrapTags:[\"script\",\"style\"],htmlSimpleAmpersand:!1,htmlIgnoreCSSProperties:[],htmlExecuteScripts:!0}),I.MODULES.html=function(O){var h=O.$;function d(){return O.opts.enter===I.ENTER_P?\"p\":O.opts.enter===I.ENTER_DIV?\"div\":O.opts.enter===I.ENTER_BR?\"p\":void 0}function s(e,t){return!(!e||e===O.el)&&(t?-1!=[\"PRE\",\"SCRIPT\",\"STYLE\"].indexOf(e.tagName)||s(e.parentNode,t):-1!==[\"PRE\",\"SCRIPT\",\"STYLE\"].indexOf(e.tagName))}function i(e){var t,n=[],r=[];if(e){var o=O.el.querySelectorAll(\".fr-marker\");for(t=0;t<o.length;t++){var i=O.node.blockParent(o[t])||o[t];if(i){var a=i.nextSibling,s=i.previousSibling;i&&r.indexOf(i)<0&&O.node.isBlock(i)&&r.push(i),s&&O.node.isBlock(s)&&r.indexOf(s)<0&&r.push(s),a&&O.node.isBlock(a)&&r.indexOf(a)<0&&r.push(a)}}}else r=O.el.querySelectorAll(p());var l=p();for(l+=\",\".concat(I.VOID_ELEMENTS.join(\",\")),l+=\", .fr-inner\",l+=\",\".concat(O.opts.htmlAllowedEmptyTags.join(\":not(.fr-marker),\"),\":not(.fr-marker)\"),t=r.length-1;0<=t;t--)if(!(r[t].textContent&&0<r[t].textContent.replace(/\\u200B|\\n/g,\"\").length||0<r[t].querySelectorAll(l).length)){for(var c=O.node.contents(r[t]),d=!1,f=0;f<c.length;f++)if(c[f].nodeType!==Node.COMMENT_NODE&&c[f].textContent&&0<c[f].textContent.replace(/\\u200B|\\n/g,\"\").length){d=!0;break}d||n.push(r[t])}return n}function p(){return I.BLOCK_TAGS.join(\", \")}function e(e){var t,n,r=h.merge([],I.VOID_ELEMENTS);r=h.merge(r,O.opts.htmlAllowedEmptyTags),r=void 0===e?h.merge(r,I.BLOCK_TAGS):h.merge(r,I.NO_DELETE_TAGS),t=O.el.querySelectorAll(\"*:empty:not(\".concat(r.join(\"):not(\"),\"):not(.fr-marker):not(template)\"));do{n=!1;for(var o=0;o<t.length;o++)0!==t[o].attributes.length&&void 0===t[o].getAttribute(\"href\")||(t[o].parentNode.removeChild(t[o]),n=!0);t=O.el.querySelectorAll(\"*:empty:not(\".concat(r.join(\"):not(\"),\"):not(.fr-marker):not(template)\"))}while(t.length&&n)}function a(e,t){var n=d();if(t&&(n=\"div\"),n){for(var r=O.doc.createDocumentFragment(),o=null,i=!1,a=e.firstChild,s=!1;a;){var l=a.nextSibling;if(a.nodeType===Node.ELEMENT_NODE&&(O.node.isBlock(a)||0<=O.opts.htmlDoNotWrapTags.indexOf(a.tagName.toLowerCase())&&!O.node.hasClass(a,\"fr-marker\")))o=null,r.appendChild(a.cloneNode(!0));else if(a.nodeType!==Node.ELEMENT_NODE&&a.nodeType!==Node.TEXT_NODE)o=null,r.appendChild(a.cloneNode(!0));else if(\"BR\"===a.tagName)null===o?(o=O.doc.createElement(n),s=!0,t&&(o.setAttribute(\"class\",\"fr-temp-div\"),o.setAttribute(\"data-empty\",!0)),o.appendChild(a.cloneNode(!0)),r.appendChild(o)):!1===i&&(o.appendChild(O.doc.createElement(\"br\")),t&&(o.setAttribute(\"class\",\"fr-temp-div\"),o.setAttribute(\"data-empty\",!0))),o=null;else{var c=a.textContent;a.nodeType!==Node.TEXT_NODE||0<c.replace(/\\n/g,\"\").replace(/(^ *)|( *$)/g,\"\").length||c.replace(/(^ *)|( *$)/g,\"\").length&&c.indexOf(\"\\n\")<0?(null===o&&(o=O.doc.createElement(n),s=!0,t&&o.setAttribute(\"class\",\"fr-temp-div\"),r.appendChild(o),i=!1),o.appendChild(a.cloneNode(!0)),i||O.node.hasClass(a,\"fr-marker\")||a.nodeType===Node.TEXT_NODE&&0===c.replace(/ /g,\"\").length||(i=!0)):s=!0}a=l}s&&(e.innerHTML=\"\",e.appendChild(r))}}function l(e,t){for(var n=e.length-1;0<=n;n--)a(e[n],t)}function t(e,t,n,r,o){if(!O.$wp)return!1;void 0===e&&(e=!1),void 0===t&&(t=!1),void 0===n&&(n=!1),void 0===r&&(r=!1),void 0===o&&(o=!1);var i=O.$wp.scrollTop();a(O.el,e),r&&l(O.el.querySelectorAll(\".fr-inner\"),e),t&&l(O.el.querySelectorAll(\"td, th\"),e),n&&l(O.el.querySelectorAll(\"blockquote\"),e),o&&l(O.el.querySelectorAll(\"li\"),e),i!==O.$wp.scrollTop()&&O.$wp.scrollTop(i)}function n(e){if(void 0===e&&(e=O.el),e&&0<=[\"SCRIPT\",\"STYLE\",\"PRE\"].indexOf(e.tagName))return!1;for(var t=O.doc.createTreeWalker(e,NodeFilter.SHOW_TEXT,O.node.filter(function(e){return null!==e.textContent.match(/([ \\n]{2,})|(^[ \\n]{1,})|([ \\n]{1,}$)/g)}),!1);t.nextNode();){var n=t.currentNode;if(!s(n.parentNode,!0)){var r=O.node.isBlock(n.parentNode)||O.node.isElement(n.parentNode),o=n.textContent.replace(/(?!^)( ){2,}(?!$)/g,\" \").replace(/\\n/g,\" \").replace(/^[ ]{2,}/g,\" \").replace(/[ ]{2,}$/g,\" \");if(r){var i=n.previousSibling,a=n.nextSibling;i&&a&&\" \"===o?o=O.node.isBlock(i)&&O.node.isBlock(a)?\"\":\" \":(i||(o=o.replace(/^ */,\"\")),a||(o=o.replace(/ *$/,\"\")))}n.textContent=o}}}function r(e,t,n){var r=new RegExp(t,\"gi\").exec(e);return r?r[n]:null}function w(e){var t=e.doctype,n=\"<!DOCTYPE html>\";return t&&(n=\"<!DOCTYPE \".concat(t.name).concat(t.publicId?' PUBLIC \"'.concat(t.publicId,'\"'):\"\").concat(!t.publicId&&t.systemId?\" SYSTEM\":\"\").concat(t.systemId?' \"'.concat(t.systemId,'\"'):\"\",\">\")),n}function c(e){var t=e.parentNode;if(t&&(O.node.isBlock(t)||O.node.isElement(t))&&[\"TD\",\"TH\"].indexOf(t.tagName)<0){for(var n=e.previousSibling,r=e.nextSibling;n&&(n.nodeType===Node.TEXT_NODE&&0===n.textContent.replace(/\\n|\\r/g,\"\").length||O.node.hasClass(n,\"fr-tmp\"));)n=n.previousSibling;if(r)return!1;n&&t&&\"BR\"!==n.tagName&&!O.node.isBlock(n)&&!r&&0<t.textContent.replace(/\\u200B/g,\"\").length&&0<n.textContent.length&&!O.node.hasClass(n,\"fr-marker\")&&(O.el===t&&!r&&O.opts.enter===I.ENTER_BR&&O.browser.msie||e.parentNode.removeChild(e))}else!t||O.node.isBlock(t)||O.node.isElement(t)||e.previousSibling||e.nextSibling||!O.node.isDeletable(e.parentNode)||c(e.parentNode)}function g(){O.opts.htmlUntouched||(e(),t(),n(),O.spaces.normalize(null,!0),O.html.fillEmptyBlocks(),O.clean.lists(),O.clean.tables(),O.clean.toHTML5(),O.html.cleanBRs()),O.selection.restore(),o(),O.placeholder.refresh()}function o(){O.node.isEmpty(O.el)&&(null!==d()?O.el.querySelector(p())||O.el.querySelector(\"\".concat(O.opts.htmlDoNotWrapTags.join(\":not(.fr-marker),\"),\":not(.fr-marker)\"))||(O.core.hasFocus()?(O.$el.html(\"<\".concat(d(),\">\").concat(I.MARKERS,\"<br/></\").concat(d(),\">\")),O.selection.restore()):O.$el.html(\"<\".concat(d(),\"><br/></\").concat(d(),\">\"))):O.el.querySelector(\"*:not(.fr-marker):not(br)\")||(O.core.hasFocus()?(O.$el.html(\"\".concat(I.MARKERS,\"<br/>\")),O.selection.restore()):O.$el.html(\"<br/>\")))}function m(e,t){return r(e,\"<\".concat(t,\"[^>]*?>([\\\\w\\\\W]*)</\").concat(t,\">\"),1)}function C(e,t){var n=h(\"<div \".concat(r(e,\"<\".concat(t,\"([^>]*?)>\"),1)||\"\",\">\"));return O.node.rawAttributes(n.get(0))}function v(e){return(r(e,\"<!DOCTYPE([^>]*?)>\",0)||\"<!DOCTYPE html>\").replace(/\\n/g,\" \").replace(/ {2,}/g,\" \")}function b(e,t){O.opts.htmlExecuteScripts?e.html(t):e.get(0).innerHTML=t}function $(e){var t;(t=/:not\\(([^)]*)\\)/g).test(e)&&(e=e.replace(t,\"     $1 \"));var n=100*(e.match(/(#[^\\s+>~.[:]+)/g)||[]).length+10*(e.match(/(\\[[^]]+\\])/g)||[]).length+10*(e.match(/(\\.[^\\s+>~.[:]+)/g)||[]).length+10*(e.match(/(:[\\w-]+\\([^)]*\\))/gi)||[]).length+10*(e.match(/(:[^\\s+>~.[:]+)/g)||[]).length+(e.match(/(::[^\\s+>~.[:]+|:first-line|:first-letter|:before|:after)/gi)||[]).length;return n+=((e=(e=e.replace(/[*\\s+>~]/g,\" \")).replace(/[#.]/g,\" \")).match(/([^\\s+>~.[:]+)/g)||[]).length}function k(e){if(O.events.trigger(\"html.processGet\",[e]),e&&e.getAttribute&&\"\"===e.getAttribute(\"class\")&&e.removeAttribute(\"class\"),e&&e.getAttribute&&\"\"===e.getAttribute(\"style\")&&e.removeAttribute(\"style\"),e&&e.nodeType===Node.ELEMENT_NODE){var t,n=e.querySelectorAll('[class=\"\"],[style=\"\"]');for(t=0;t<n.length;t++){var r=n[t];\"\"===r.getAttribute(\"class\")&&r.removeAttribute(\"class\"),\"\"===r.getAttribute(\"style\")&&r.removeAttribute(\"style\")}if(\"BR\"===e.tagName)c(e);else{var o=e.querySelectorAll(\"br\");for(t=0;t<o.length;t++)c(o[t])}}}function D(e,t){return e[3]-t[3]}function _(){for(var e=O.el.querySelectorAll(\"input, textarea\"),t=0;t<e.length;t++)\"checkbox\"!==e[t].type&&\"radio\"!==e[t].type||(e[t].checked?e[t].setAttribute(\"checked\",e[t].checked):O.$(e[t]).removeAttr(\"checked\")),e[t].getAttribute(\"value\")&&e[t].setAttribute(\"value\",e[t].value)}function f(e){var t=O.doc.createElement(\"div\");return t.innerHTML=e,null!==t.querySelector(p())}function u(e){var t=null;if(void 0===e&&(t=O.selection.element()),O.opts.keepFormatOnDelete)return!1;var n,r,o=t?(t.textContent.match(/\\u200B/g)||[]).length-t.querySelectorAll(\".fr-marker\").length:0;if((O.el.textContent.match(/\\u200B/g)||[]).length-O.el.querySelectorAll(\".fr-marker\").length===o)return!1;do{r=!1,n=O.el.querySelectorAll(\"*:not(.fr-marker)\");for(var i=0;i<n.length;i++){var a=n[i];if(t!==a){var s=a.textContent;0===a.children.length&&1===s.length&&8203===s.charCodeAt(0)&&\"TD\"!==a.tagName&&(h(a).remove(),r=!0)}}}while(r)}function L(){u(),O.placeholder&&setTimeout(O.placeholder.refresh,0)}return{defaultTag:d,isPreformatted:s,emptyBlocks:i,emptyBlockTagsQuery:function E(){return\"\".concat(I.BLOCK_TAGS.join(\":empty, \"),\":empty\")},blockTagsQuery:p,fillEmptyBlocks:function y(e){var t=i(e);O.node.isEmpty(O.el)&&O.opts.enter===I.ENTER_BR&&t.push(O.el);for(var n=0;n<t.length;n++){var r=t[n];\"false\"===r.getAttribute(\"contenteditable\")||r.querySelector(\"\".concat(O.opts.htmlAllowedEmptyTags.join(\":not(.fr-marker),\"),\":not(.fr-marker)\"))||O.node.isVoid(r)||\"TABLE\"!==r.tagName&&\"TBODY\"!==r.tagName&&\"TR\"!==r.tagName&&\"UL\"!==r.tagName&&\"OL\"!==r.tagName&&r.appendChild(O.doc.createElement(\"br\"))}if(O.browser.msie&&O.opts.enter===I.ENTER_BR){var o=O.node.contents(O.el);o.length&&o[o.length-1].nodeType===Node.TEXT_NODE&&O.$el.append(\"<br>\")}},cleanEmptyTags:e,cleanWhiteTags:u,cleanBlankSpaces:n,blocks:function S(){return O.$el.get(0).querySelectorAll(p())},getDoctype:w,set:function T(e){var t=O.clean.html((e||\"\").trim(),[],[],O.opts.fullPage),n=new RegExp(\"%3A//\",\"g\"),r=t.replace(n,\"://\");if(O.opts.fullPage){var o=m(r,\"body\")||(0<=r.indexOf(\"<body\")?\"\":r),i=C(r,\"body\"),a=m(r,\"head\")||\"<title></title>\",s=C(r,\"head\"),l=h(\"<div>\");l.append(a).contents().each(function(){(this.nodeType===Node.COMMENT_NODE||0<=[\"BASE\",\"LINK\",\"META\",\"NOSCRIPT\",\"SCRIPT\",\"STYLE\",\"TEMPLATE\",\"TITLE\"].indexOf(this.tagName))&&this.parentNode.removeChild(this)});var c=l.html().trim();a=h(\"<div>\").append(a).contents().map(function(){return this.nodeType===Node.COMMENT_NODE?\"\\x3c!--\".concat(this.nodeValue,\"--\\x3e\"):0<=[\"BASE\",\"LINK\",\"META\",\"NOSCRIPT\",\"SCRIPT\",\"STYLE\",\"TEMPLATE\",\"TITLE\"].indexOf(this.tagName)?this.outerHTML:\"\"}).toArray().join(\"\");var d=v(r),f=C(r,\"html\");b(O.$el,\"\".concat(c,\"\\n\").concat(o)),O.node.clearAttributes(O.el),O.$el.attr(i),O.$el.addClass(\"fr-view\"),O.$el.attr(\"spellcheck\",O.opts.spellcheck),O.$el.attr(\"dir\",O.opts.direction),b(O.$head,a),O.node.clearAttributes(O.$head.get(0)),O.$head.attr(s),O.node.clearAttributes(O.$html.get(0)),O.$html.attr(f),O.iframe_document.doctype.parentNode.replaceChild(function u(e,t){var n=e.match(/<!DOCTYPE ?([^ ]*) ?([^ ]*) ?\"?([^\"]*)\"? ?\"?([^\"]*)\"?>/i);return n?t.implementation.createDocumentType(n[1],n[3],n[4]):t.implementation.createDocumentType(\"html\")}(d,O.iframe_document),O.iframe_document.doctype)}else b(O.$el,r);var p=O.edit.isDisabled();O.edit.on(),O.core.injectStyle(O.opts.iframeDefaultStyle+O.opts.iframeStyle),g(),O.opts.useClasses||(O.$el.find(\"[fr-original-class]\").each(function(){this.setAttribute(\"class\",this.getAttribute(\"fr-original-class\")),this.removeAttribute(\"fr-original-class\")}),O.$el.find(\"[fr-original-style]\").each(function(){this.setAttribute(\"style\",this.getAttribute(\"fr-original-style\")),this.removeAttribute(\"fr-original-style\")})),p&&O.edit.off(),O.events.trigger(\"html.set\"),O.events.trigger(\"charCounter.update\")},syncInputs:_,get:function B(e,t){if(!O.$wp)return O.$oel.clone().removeClass(\"fr-view\").removeAttr(\"contenteditable\").get(0).outerHTML;var n=\"\";O.events.trigger(\"html.beforeGet\");var r,o,i=[],a={},s=[];if(_(),!O.opts.useClasses&&!t){var l=new RegExp(\"^\".concat(O.opts.htmlIgnoreCSSProperties.join(\"$|^\"),\"$\"),\"gi\");for(r=0;r<O.doc.styleSheets.length;r++){var c=void 0,d=0;try{c=O.doc.styleSheets[r].cssRules,O.doc.styleSheets[r].ownerNode&&\"STYLE\"===O.doc.styleSheets[r].ownerNode.nodeType&&(d=1)}catch(x){}if(c)for(var f=0,p=c.length;f<p;f++)if(c[f].selectorText&&0<c[f].style.cssText.length){var u=c[f].selectorText.replace(/body |\\.fr-view /g,\"\").replace(/::/g,\":\"),h=void 0;try{h=O.el.querySelectorAll(u)}catch(x){h=[]}for(o=0;o<h.length;o++){!h[o].getAttribute(\"fr-original-style\")&&h[o].getAttribute(\"style\")?(h[o].setAttribute(\"fr-original-style\",h[o].getAttribute(\"style\")),i.push(h[o])):h[o].getAttribute(\"fr-original-style\")||(h[o].setAttribute(\"fr-original-style\",\"\"),i.push(h[o])),a[h[o]]||(a[h[o]]={});for(var g=1e3*d+$(c[f].selectorText),m=c[f].style.cssText.split(\";\"),C=0;C<m.length;C++){var v=m[C].trim().split(\":\")[0];if(v&&!v.match(l)&&(a[h[o]][v]||(a[h[o]][v]=0)<=(h[o].getAttribute(\"fr-original-style\")||\"\").indexOf(\"\".concat(v,\":\"))&&(a[h[o]][v]=1e4),g>=a[h[o]][v]&&(a[h[o]][v]=g,m[C].trim().length))){var b=m[C].trim().split(\":\");b.splice(0,1),s.push([h[o],v.trim(),b.join(\":\").trim(),g])}}}}}for(s.sort(D),r=0;r<s.length;r++){var L=s[r];L[0].style[L[1]]=L[2]}for(r=0;r<i.length;r++)if(i[r].getAttribute(\"class\")&&(i[r].setAttribute(\"fr-original-class\",i[r].getAttribute(\"class\")),i[r].removeAttribute(\"class\")),0<(i[r].getAttribute(\"fr-original-style\")||\"\").trim().length){var E=i[r].getAttribute(\"fr-original-style\").split(\";\");for(o=0;o<E.length;o++)if(0<E[o].indexOf(\":\")){var y=E[o].split(\":\"),S=y[0];y.splice(0,1),i[r].style[S.trim()]=y.join(\":\").trim()}}}if(O.node.isEmpty(O.el))O.opts.fullPage&&(n=w(O.iframe_document),n+=\"<html\".concat(O.node.attributes(O.$html.get(0)),\">\").concat(O.$html.find(\"head\").get(0).outerHTML,\"<body></body></html>\"));else if(void 0===e&&(e=!1),O.opts.fullPage){n=w(O.iframe_document),O.$el.removeClass(\"fr-view\");var T=O.opts.heightMin,M=O.opts.height,N=O.opts.heightMax;O.opts.heightMin=null,O.opts.height=null,O.opts.heightMax=null,O.size.refresh(),n+=\"<html\".concat(O.node.attributes(O.$html.get(0)),\">\").concat(O.$html.html(),\"</html>\"),O.opts.heightMin=T,O.opts.height=M,O.opts.heightMax=N,O.size.refresh(),O.$el.addClass(\"fr-view\")}else n=O.$el.html();if(!O.opts.useClasses&&!t)for(r=0;r<i.length;r++)i[r].getAttribute(\"fr-original-class\")&&(i[r].setAttribute(\"class\",i[r].getAttribute(\"fr-original-class\")),i[r].removeAttribute(\"fr-original-class\")),null!==i[r].getAttribute(\"fr-original-style\")&&void 0!==i[r].getAttribute(\"fr-original-style\")?(0!==i[r].getAttribute(\"fr-original-style\").length?i[r].setAttribute(\"style\",i[r].getAttribute(\"fr-original-style\")):i[r].removeAttribute(\"style\"),i[r].removeAttribute(\"fr-original-style\")):i[r].removeAttribute(\"style\");O.opts.fullPage&&(n=(n=(n=(n=(n=(n=(n=(n=n.replace(/<style data-fr-style=\"true\">(?:[\\w\\W]*?)<\\/style>/g,\"\")).replace(/<link([^>]*)data-fr-style=\"true\"([^>]*)>/g,\"\")).replace(/<style(?:[\\w\\W]*?)class=\"firebugResetStyles\"(?:[\\w\\W]*?)>(?:[\\w\\W]*?)<\\/style>/g,\"\")).replace(/<body((?:[\\w\\W]*?)) spellcheck=\"true\"((?:[\\w\\W]*?))>((?:[\\w\\W]*?))<\\/body>/g,\"<body$1$2>$3</body>\")).replace(/<body((?:[\\w\\W]*?)) contenteditable=\"(true|false)\"((?:[\\w\\W]*?))>((?:[\\w\\W]*?))<\\/body>/g,\"<body$1$3>$4</body>\")).replace(/<body((?:[\\w\\W]*?)) dir=\"([\\w]*)\"((?:[\\w\\W]*?))>((?:[\\w\\W]*?))<\\/body>/g,\"<body$1$3>$4</body>\")).replace(/<body((?:[\\w\\W]*?))class=\"([\\w\\W]*?)(fr-rtl|fr-ltr)([\\w\\W]*?)\"((?:[\\w\\W]*?))>((?:[\\w\\W]*?))<\\/body>/g,'<body$1class=\"$2$4\"$5>$6</body>')).replace(/<body((?:[\\w\\W]*?)) class=\"\"((?:[\\w\\W]*?))>((?:[\\w\\W]*?))<\\/body>/g,\"<body$1$2>$3</body>\")),O.opts.htmlSimpleAmpersand&&(n=n.replace(/&amp;/gi,\"&\")),O.events.trigger(\"html.afterGet\"),e||(n=n.replace(/<span[^>]*? class\\s*=\\s*[\"']?fr-marker[\"']?[^>]+>\\u200b<\\/span>/gi,\"\")),n=O.clean.invisibleSpaces(n),n=O.clean.exec(n,k);var A=O.events.chainTrigger(\"html.get\",n);return\"string\"==typeof A&&(n=A),n=(n=n.replace(/<pre(?:[\\w\\W]*?)>(?:[\\w\\W]*?)<\\/pre>/g,function(e){return e.replace(/<br>/g,\"\\n\")})).replace(/<meta((?:[\\w\\W]*?)) data-fr-http-equiv=\"/g,'<meta$1 http-equiv=\"')},getSelected:function M(){function e(e,t){for(;t&&(t.nodeType===Node.TEXT_NODE||!O.node.isBlock(t))&&!O.node.isElement(t)&&!O.node.hasClass(t,\"fr-inner\");)t&&t.nodeType!==Node.TEXT_NODE&&h(e).wrapInner(O.node.openTagString(t)+O.node.closeTagString(t)),t=t.parentNode;t&&e.innerHTML===t.innerHTML?e.innerHTML=t.outerHTML:-1!=t.innerText.indexOf(e.innerHTML)&&(e.innerHTML=O.node.openTagString(t)+t.innerHTML+O.node.closeTagString(t))}var t,n,r=\"\";if(\"undefined\"!=typeof O.win.getSelection){O.browser.mozilla&&(O.selection.save(),1<O.$el.find('.fr-marker[data-type=\"false\"]').length&&(O.$el.find('.fr-marker[data-type=\"false\"][data-id=\"0\"]').remove(),O.$el.find('.fr-marker[data-type=\"false\"]:last').attr(\"data-id\",\"0\"),O.$el.find(\".fr-marker\").not('[data-id=\"0\"]').remove()),O.selection.restore());for(var o=O.selection.ranges(),i=0;i<o.length;i++){var a=document.createElement(\"div\");a.appendChild(o[i].cloneContents()),e(a,(n=t=void 0,n=null,O.win.getSelection?(t=O.win.getSelection())&&t.rangeCount&&(n=t.getRangeAt(0).commonAncestorContainer).nodeType!==Node.ELEMENT_NODE&&(n=n.parentNode):(t=O.doc.selection)&&\"Control\"!==t.type&&(n=t.createRange().parentElement()),null!==n&&(0<=h(n).parents().toArray().indexOf(O.el)||n===O.el)?n:null)),0<h(a).find(\".fr-element\").length&&(a=O.el),r+=a.innerHTML}}else\"undefined\"!=typeof O.doc.selection&&\"Text\"===O.doc.selection.type&&(r=O.doc.selection.createRange().htmlText);return r},insert:function N(e,t,n){var r;if(O.selection.isCollapsed()||O.selection.remove(),r=t?e:O.clean.html(e),0===e.indexOf('<i class=\"fa ')&&(r=\"<span>&nbsp;\".concat(r,\"</span>\")),e.indexOf('class=\"fr-marker\"')<0&&(r=function a(e){var t=O.doc.createElement(\"div\");return t.innerHTML=e,O.selection.setAtEnd(t,!0),t.innerHTML}(r)),O.node.isEmpty(O.el)&&!O.opts.keepFormatOnDelete&&f(r))O.el.innerHTML=r;else{var o=O.markers.insert();if(o){O.node.isLastSibling(o)&&h(o).parent().hasClass(\"fr-deletable\")&&h(o).insertAfter(h(o).parent());var i=O.node.blockParent(o);if((f(r)||n)&&(O.node.deepestParent(o)||i&&\"LI\"===i.tagName)){if(i&&\"LI\"===i.tagName&&(r=function s(e){if(!O.html.defaultTag())return e;var t=O.doc.createElement(\"div\");t.innerHTML=e;for(var n=t.querySelectorAll(\":scope > \".concat(O.html.defaultTag())),r=n.length-1;0<=r;r--){var o=n[r];O.node.isBlock(o.previousSibling)||(o.previousSibling&&!O.node.isEmpty(o)&&h(\"<br>\").insertAfter(o.previousSibling),o.outerHTML=o.innerHTML)}return t.innerHTML}(r)),!(o=O.markers.split()))return!1;o.outerHTML=r}else o.outerHTML=r}else O.el.innerHTML+=r}g(),O.keys.positionCaret(),O.events.trigger(\"html.inserted\")},wrap:t,unwrap:function A(){O.$el.find(\"div.fr-temp-div\").each(function(){this.previousSibling&&this.previousSibling.nodeType===Node.TEXT_NODE&&h(this).before(\"<br>\"),h(this).attr(\"data-empty\")||!this.nextSibling||O.node.isBlock(this.nextSibling)&&!h(this.nextSibling).hasClass(\"fr-temp-div\")?h(this).replaceWith(h(this).html()):h(this).replaceWith(\"\".concat(h(this).html(),\"<br>\"))}),O.$el.find(\".fr-temp-div\").removeClass(\"fr-temp-div\").filter(function(){return\"\"===h(this).attr(\"class\")}).removeAttr(\"class\")},escapeEntities:function x(e){return e.replace(/</gi,\"&lt;\").replace(/>/gi,\"&gt;\").replace(/\"/gi,\"&quot;\").replace(/'/gi,\"&#39;\")},checkIfEmpty:o,extractNode:m,extractNodeAttrs:C,extractDoctype:v,cleanBRs:function R(){for(var e=O.el.getElementsByTagName(\"br\"),t=0;t<e.length;t++)c(e[t])},_init:function H(){O.events.$on(O.$el,\"mousemove\",\"span.fr-word-select\",function(e){var t=window.getSelection();t=window.getSelection();var n=document.createRange();n.selectNodeContents(e.target),t.removeAllRanges(),t.addRange(n)}),O.$wp&&(O.events.on(\"mouseup\",L),O.events.on(\"keydown\",L),O.events.on(\"contentChanged\",o))},_setHtml:b}},I.ENTER_P=0,I.ENTER_DIV=1,I.ENTER_BR=2,I.KEYCODE={BACKSPACE:8,TAB:9,ENTER:13,SHIFT:16,CTRL:17,ALT:18,ESC:27,SPACE:32,ARROW_LEFT:37,ARROW_UP:38,ARROW_RIGHT:39,ARROW_DOWN:40,DELETE:46,ZERO:48,ONE:49,TWO:50,THREE:51,FOUR:52,FIVE:53,SIX:54,SEVEN:55,EIGHT:56,NINE:57,FF_SEMICOLON:59,FF_EQUALS:61,QUESTION_MARK:63,A:65,B:66,C:67,D:68,E:69,F:70,G:71,H:72,I:73,J:74,K:75,L:76,M:77,N:78,O:79,P:80,Q:81,R:82,S:83,T:84,U:85,V:86,W:87,X:88,Y:89,Z:90,META:91,NUM_ZERO:96,NUM_ONE:97,NUM_TWO:98,NUM_THREE:99,NUM_FOUR:100,NUM_FIVE:101,NUM_SIX:102,NUM_SEVEN:103,NUM_EIGHT:104,NUM_NINE:105,NUM_MULTIPLY:106,NUM_PLUS:107,NUM_MINUS:109,NUM_PERIOD:110,NUM_DIVISION:111,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,FF_HYPHEN:173,SEMICOLON:186,DASH:189,EQUALS:187,COMMA:188,HYPHEN:189,PERIOD:190,SLASH:191,APOSTROPHE:192,TILDE:192,SINGLE_QUOTE:222,OPEN_SQUARE_BRACKET:219,BACKSLASH:220,CLOSE_SQUARE_BRACKET:221,IME:229},Object.assign(I.DEFAULTS,{enter:I.ENTER_P,multiLine:!0,tabSpaces:0}),I.MODULES.keys=function(d){var f,n,r,o=d.$,p=!1;function u(e){if(d.selection.isCollapsed())if([\"INPUT\",\"BUTTON\",\"TEXTAREA\"].indexOf(e.target&&e.target.tagName)<0&&d.cursor.backspace(),d.helpers.isIOS()){var t=d.selection.ranges(0);t.deleteContents(),t.insertNode(document.createTextNode(\"\\u200b\")),d.selection.get().modify(\"move\",\"forward\",\"character\")}else[\"INPUT\",\"BUTTON\",\"TEXTAREA\"].indexOf(e.target&&e.target.tagName)<0&&e.preventDefault(),e.stopPropagation();else e.preventDefault(),e.stopPropagation(),d.selection.remove();d.placeholder.refresh()}function h(e){[\"INPUT\",\"BUTTON\",\"TEXTAREA\"].indexOf(e.target&&e.target.tagName)<0&&e.preventDefault(),e.stopPropagation(),\"\"!==d.selection.text()||d.selection.element().hasAttribute(\"contenteditable\")&&\"false\"===d.selection.element().getAttribute(\"contenteditable\")||!d.selection.isCollapsed()&&\"IMG\"==d.selection.element().tagName?d.selection.remove():d.cursor.del(),d.placeholder.refresh()}function e(){if(d.browser.mozilla&&d.selection.isCollapsed()&&!p){var e=d.selection.ranges(0),t=e.startContainer,n=e.startOffset;t&&t.nodeType===Node.TEXT_NODE&&n<=t.textContent.length&&0<n&&32===t.textContent.charCodeAt(n-1)&&(d.selection.save(),d.spaces.normalize(),d.selection.restore())}}function t(){d.selection.isFull()&&setTimeout(function(){var e=d.html.defaultTag();e?d.$el.html(\"<\".concat(e,\">\").concat(I.MARKERS,\"<br/></\").concat(e,\">\")):d.$el.html(\"\".concat(I.MARKERS,\"<br/>\")),d.selection.restore(),d.placeholder.refresh(),d.button.bulkRefresh(),d.undo.saveStep()},0)}function i(){p=!1}function a(){p=!1}function g(){var e=d.html.defaultTag();e?d.$el.html(\"<\".concat(e,\">\").concat(I.MARKERS,\"<br/></\").concat(e,\">\")):d.$el.html(\"\".concat(I.MARKERS,\"<br/>\")),d.selection.restore()}function m(e,t){if(e.parentElement&&(-1<e.innerHTML.indexOf(\"<span\")||-1<e.parentElement.innerHTML.indexOf(\"<span\")||-1<e.parentElement.parentElement.innerHTML.indexOf(\"<span\"))&&(e.classList.contains(\"fr-img-space-wrap\")||e.parentElement.classList.contains(\"fr-img-space-wrap\")||e.parentElement.parentElement.classList.contains(\"fr-img-space-wrap\"))){if(o(e.parentElement).is(\"p\")){var n=e.parentElement.innerHTML;return(n=n.replace(/<br>/g,\"\")).length<1?e.parentElement.insertAdjacentHTML(\"afterbegin\",\"&nbsp;\"):\"&nbsp;\"!=n&&\" \"!=n&&\"Backspace\"==t.key?u(t):\"&nbsp;\"!=n&&\" \"!=n&&\"Delete\"==t.key&&h(t),!0}if(o(e).is(\"p\")){var r=e.innerHTML.replace(/<br>/g,\"\");return r.length<1?e.insertAdjacentHTML(\"afterbegin\",\"&nbsp;\"):\"&nbsp;\"!=r&&\" \"!=r&&\"Backspace\"==t.key?u(t):\"&nbsp;\"!=r&&\" \"!=r&&\"Delete\"==t.key&&h(t),!0}}return!1}function s(e){var t=d.selection.element();if(t&&0<=[\"INPUT\",\"TEXTAREA\"].indexOf(t.tagName))return!0;if(e&&v(e.which))return!0;d.events.disableBlur();var n=e.which;if(16===n)return!0;if((f=n)===I.KEYCODE.IME)return p=!0;p=!1;var r=b(n)&&!C(e)&&!e.altKey,o=n===I.KEYCODE.BACKSPACE||n===I.KEYCODE.DELETE;if((d.selection.isFull()&&!d.opts.keepFormatOnDelete&&!d.placeholder.isVisible()||o&&d.placeholder.isVisible()&&d.opts.keepFormatOnDelete)&&(r||o)&&(g(),!b(n)))return e.preventDefault(),!0;if(n===I.KEYCODE.ENTER)!d.helpers.isIOS()&&e.shiftKey||t.classList.contains(\"fr-inner\")||t.parentElement.classList.contains(\"fr-inner\")?function i(e){e.preventDefault(),e.stopPropagation(),d.opts.multiLine&&(d.selection.isCollapsed()||d.selection.remove(),d.cursor.enter(!0))}(e):function a(e){d.opts.multiLine?(d.helpers.isIOS()||(e.preventDefault(),e.stopPropagation()),d.selection.isCollapsed()||d.selection.remove(),d.cursor.enter()):(e.preventDefault(),e.stopPropagation())}(e);else if(n===I.KEYCODE.BACKSPACE&&(e.metaKey||e.ctrlKey))!function s(){setTimeout(function(){d.events.disableBlur(),d.events.focus()},0)}();else if(n!==I.KEYCODE.BACKSPACE||C(e)||e.altKey)if(n!==I.KEYCODE.DELETE||C(e)||e.altKey||e.shiftKey)n===I.KEYCODE.SPACE?function l(e){var t=d.selection.element();if(!d.helpers.isMobile()&&t&&\"A\"===t.tagName){e.preventDefault(),e.stopPropagation(),d.selection.isCollapsed()||d.selection.remove();var n=d.markers.insert();if(n){var r=n.previousSibling;!n.nextSibling&&n.parentNode&&\"A\"===n.parentNode.tagName?(n.parentNode.insertAdjacentHTML(\"afterend\",\"&nbsp;\".concat(I.MARKERS)),n.parentNode.removeChild(n)):(r&&r.nodeType===Node.TEXT_NODE&&1===r.textContent.length&&160===r.textContent.charCodeAt(0)?r.textContent+=\" \":n.insertAdjacentHTML(\"beforebegin\",\"&nbsp;\"),n.outerHTML=I.MARKERS),d.selection.restore()}}}(e):n===I.KEYCODE.TAB?function c(e){if(0<d.opts.tabSpaces)if(d.selection.isCollapsed()){d.undo.saveStep(),e.preventDefault(),e.stopPropagation();for(var t=\"\",n=0;n<d.opts.tabSpaces;n++)t+=\"&nbsp;\";d.html.insert(t),d.placeholder.refresh(),d.undo.saveStep()}else e.preventDefault(),e.stopPropagation(),e.shiftKey?d.commands.outdent():d.commands.indent()}(e):C(e)||!b(e.which)||d.selection.isCollapsed()||e.ctrlKey||e.altKey||d.selection.remove();else{if(m(t,e))return e.preventDefault(),void e.stopPropagation();d.placeholder.isVisible()?(d.opts.keepFormatOnDelete||g(),e.preventDefault(),e.stopPropagation()):h(e)}else{if(m(t,e))return e.preventDefault(),void e.stopPropagation();d.placeholder.isVisible()?(d.opts.keepFormatOnDelete||g(),e.preventDefault(),e.stopPropagation()):u(e)}d.events.enableBlur()}function l(){if(!d.$wp)return!0;var e;d.opts.height||d.opts.heightMax?(e=d.position.getBoundingRect().top,(d.helpers.isIOS()||d.helpers.isAndroid())&&(e-=d.helpers.scrollTop()),d.opts.iframe&&(e+=d.$iframe.offset().top),e>d.$wp.offset().top-d.helpers.scrollTop()+d.$wp.height()-20&&d.$wp.scrollTop(e+d.$wp.scrollTop()-(d.$wp.height()+d.$wp.offset().top)+d.helpers.scrollTop()+20)):(e=d.position.getBoundingRect().top,d.opts.toolbarBottom&&(e+=d.opts.toolbarStickyOffset),(d.helpers.isIOS()||d.helpers.isAndroid())&&(e-=d.helpers.scrollTop()),d.opts.iframe&&(e+=d.$iframe.offset().top,e-=d.helpers.scrollTop()),(e+=d.opts.toolbarStickyOffset)>d.o_win.innerHeight-20&&o(d.o_win).scrollTop(e+d.helpers.scrollTop()-d.o_win.innerHeight+20),e=d.position.getBoundingRect().top,d.opts.toolbarBottom||(e-=d.opts.toolbarStickyOffset),(d.helpers.isIOS()||d.helpers.isAndroid())&&(e-=d.helpers.scrollTop()),d.opts.iframe&&(e+=d.$iframe.offset().top,e-=d.helpers.scrollTop()),e<100&&o(d.o_win).scrollTop(e+d.helpers.scrollTop()-100))}function c(e){var t=d.selection.element();if(t&&0<=[\"INPUT\",\"TEXTAREA\"].indexOf(t.tagName))return!0;if(e&&0===e.which&&f&&(e.which=f),d.helpers.isAndroid()&&d.browser.mozilla)return!0;if(p)return!1;if(e&&d.helpers.isIOS()&&e.which===I.KEYCODE.ENTER&&d.doc.execCommand(\"undo\"),!d.selection.isCollapsed())return!0;if(e&&(e.which===I.KEYCODE.META||e.which===I.KEYCODE.CTRL))return!0;if(e&&v(e.which))return!0;if(e&&!d.helpers.isIOS()&&(e.which===I.KEYCODE.ENTER||e.which===I.KEYCODE.BACKSPACE||37<=e.which&&e.which<=40&&!d.browser.msie))try{l()}catch(r){}var n=d.selection.element();(function o(e){if(!e)return!1;var t=e.innerHTML;return!!((t=t.replace(/<span[^>]*? class\\s*=\\s*[\"']?fr-marker[\"']?[^>]+>\\u200b<\\/span>/gi,\"\"))&&/\\u200B/.test(t)&&0<t.replace(/\\u200B/gi,\"\").length)})(n)&&!d.node.hasClass(n,\"fr-marker\")&&\"IFRAME\"!==n.tagName&&function i(e){return!d.helpers.isIOS()||0===((e.textContent||\"\").match(/[\\u3041-\\u3096\\u30A0-\\u30FF\\u4E00-\\u9FFF\\u3130-\\u318F\\uAC00-\\uD7AF]/gi)||[]).length}(n)&&(d.selection.save(),function a(e){for(var t=d.doc.createTreeWalker(e,NodeFilter.SHOW_TEXT,d.node.filter(function(e){return/\\u200B/gi.test(e.textContent)}),!1);t.nextNode();){var n=t.currentNode;n.textContent=n.textContent.replace(/\\u200B/gi,\"\")}}(n),d.selection.restore())}function C(e){if(-1!==navigator.userAgent.indexOf(\"Mac OS X\")){if(e.metaKey&&!e.altKey)return!0}else if(e.ctrlKey&&!e.altKey)return!0;return!1}function v(e){if(e>=I.KEYCODE.ARROW_LEFT&&e<=I.KEYCODE.ARROW_DOWN)return!0}function b(e){if(e>=I.KEYCODE.ZERO&&e<=I.KEYCODE.NINE)return!0;if(e>=I.KEYCODE.NUM_ZERO&&e<=I.KEYCODE.NUM_MULTIPLY)return!0;if(e>=I.KEYCODE.A&&e<=I.KEYCODE.Z)return!0;if(d.browser.webkit&&0===e)return!0;switch(e){case I.KEYCODE.SPACE:case I.KEYCODE.QUESTION_MARK:case I.KEYCODE.NUM_PLUS:case I.KEYCODE.NUM_MINUS:case I.KEYCODE.NUM_PERIOD:case I.KEYCODE.NUM_DIVISION:case I.KEYCODE.SEMICOLON:case I.KEYCODE.FF_SEMICOLON:case I.KEYCODE.DASH:case I.KEYCODE.EQUALS:case I.KEYCODE.FF_EQUALS:case I.KEYCODE.COMMA:case I.KEYCODE.PERIOD:case I.KEYCODE.SLASH:case I.KEYCODE.APOSTROPHE:case I.KEYCODE.SINGLE_QUOTE:case I.KEYCODE.OPEN_SQUARE_BRACKET:case I.KEYCODE.BACKSLASH:case I.KEYCODE.CLOSE_SQUARE_BRACKET:return!0;default:return!1}}function L(e){var t=e.which;if(C(e)||37<=t&&t<=40||!b(t)&&t!==I.KEYCODE.DELETE&&t!==I.KEYCODE.BACKSPACE&&t!==I.KEYCODE.ENTER&&t!==I.KEYCODE.IME)return!0;n||(r=d.snapshot.get(),d.undo.canDo()||d.undo.saveStep()),clearTimeout(n),n=setTimeout(function(){n=null,d.undo.saveStep()},Math.max(250,d.opts.typingTimer))}function E(e){var t=e.which;if(C(e)||37<=t&&t<=40)return!0;r&&n?(d.undo.saveStep(r),r=null):void 0!==t&&0!==t||r||n||d.undo.saveStep()}function y(e){if(e&&\"BR\"===e.tagName)return!1;try{return 0===(e.textContent||\"\").length&&e.querySelector&&!e.querySelector(\":scope > br\")||e.childNodes&&1===e.childNodes.length&&e.childNodes[0].getAttribute&&(\"false\"===e.childNodes[0].getAttribute(\"contenteditable\")||d.node.hasClass(e.childNodes[0],\"fr-img-caption\"))}catch(t){return!1}}function S(e){var t=d.el.childNodes,n=d.html.defaultTag(),r=d.node.blockParent(d.selection.blocks()[0]);return r&&\"TR\"==r.tagName&&r.getAttribute(\"contenteditable\")==undefined&&(r=r.closest(\"table\")),!d.node.isEditable(e.target)||r&&\"false\"===r.getAttribute(\"contenteditable\")?d.toolbar.disable():d.toolbar.enable(),!(!e.target||e.target===d.el)||(0===t.length||void(t[0].offsetHeight+t[0].offsetTop<=e.offsetY?y(t[t.length-1])&&(n?d.$el.append(\"<\".concat(n,\">\").concat(I.MARKERS,\"<br></\").concat(n,\">\")):d.$el.append(\"\".concat(I.MARKERS,\"<br>\")),d.selection.restore(),l()):e.offsetY<=10&&y(t[0])&&(n?d.$el.prepend(\"<\".concat(n,\">\").concat(I.MARKERS,\"<br></\").concat(n,\">\")):d.$el.prepend(\"\".concat(I.MARKERS,\"<br>\")),d.selection.restore(),l())))}function T(){n&&clearTimeout(n)}return{_init:function M(){d.events.on(\"keydown\",L),d.events.on(\"input\",e),d.events.on(\"mousedown\",a),d.events.on(\"keyup input\",E),d.events.on(\"keypress\",i),d.events.on(\"keydown\",s),d.events.on(\"keyup\",c),d.events.on(\"destroy\",T),d.events.on(\"html.inserted\",c),d.events.on(\"cut\",t),d.opts.multiLine&&d.events.on(\"click\",S)},ctrlKey:C,isCharacter:b,isArrow:v,forceUndo:function N(){n&&(clearTimeout(n),d.undo.saveStep(),r=null)},isIME:function A(){return p},isBrowserAction:function x(e){var t=e.which;return C(e)||t===I.KEYCODE.F5},positionCaret:l}},Object.assign(I.DEFAULTS,{pastePlain:!1,pasteDeniedTags:[\"colgroup\",\"col\",\"meta\"],pasteDeniedAttrs:[\"class\",\"id\"],pasteAllowedStyleProps:[\".*\"],pasteAllowLocalImages:!1}),I.MODULES.paste=function(N){var a,s,A,i,x,O=N.$;function n(e,t){try{N.win.localStorage.setItem(\"fr-copied-html\",e),N.win.localStorage.setItem(\"fr-copied-text\",t)}catch(n){}}function e(e){var t=N.html.getSelected();n(t,O(N.doc.createElement(\"div\")).html(t).text()),\"cut\"===e.type&&(N.undo.saveStep(),setTimeout(function(){N.selection.save(),N.html.wrap(),N.selection.restore(),N.events.focus(),N.undo.saveStep()},0))}var l=!1;function t(e){if(\"INPUT\"===e.target.nodeName&&\"text\"===e.target.type)return!0;if(N.edit.isDisabled())return!1;if(c(e.target))return!1;if(l)return!1;if((e.originalEvent&&(e=e.originalEvent),e&&e.clipboardData&&e.clipboardData.getData)&&((e.clipboardData||window.clipboardData).getData(\"text/html\")||\"\").match('content=\"Microsoft OneNote'))return!1;if(!1===N.events.trigger(\"paste.before\",[e]))return e.preventDefault(),!1;if(e&&e.clipboardData&&e.clipboardData.getData){var t=\"\",n=e.clipboardData.types;if(N.helpers.isArray(n))for(var r=0;r<n.length;r++)t+=\"\".concat(n[r],\";\");else t=n;if(a=\"\",/text\\/rtf/.test(t)&&(s=e.clipboardData.getData(\"text/rtf\")),/text\\/html/.test(t)&&!N.browser.safari?a=e.clipboardData.getData(\"text/html\"):/text\\/rtf/.test(t)&&N.browser.safari?a=s:/public.rtf/.test(t)&&N.browser.safari&&(a=e.clipboardData.getData(\"text/rtf\")),A=e.clipboardData.getData(\"text\"),\"\"!==a)return d(),e.preventDefault&&(e.stopPropagation(),e.preventDefault()),!1;a=null}return function o(){N.selection.save(),N.events.disableBlur(),a=null,i?(i.html(\"\"),N.browser.edge&&N.opts.iframe&&N.$el.append(i)):(i=O('<div contenteditable=\"true\" style=\"position: fixed; top: 0; left: -9999px; height: 100%; width: 0; word-break: break-all; overflow:hidden; z-index: 2147483647; line-height: 140%; -moz-user-select: text; -webkit-user-select: text; -ms-user-select: text; user-select: text;\" tabIndex=\"-1\"></div>'),N.browser.webkit||N.browser.mozilla?(i.css(\"top\",N.$sc.scrollTop()),N.$el.after(i)):N.browser.edge&&N.opts.iframe?N.$el.append(i):N.$box.after(i),N.events.on(\"destroy\",function(){i.remove()}));var e;N.helpers.isIOS()&&N.$sc&&(e=N.$sc.scrollTop());N.opts.iframe&&N.$el.attr(\"contenteditable\",\"false\");i.focus(),N.helpers.isIOS()&&N.$sc&&N.$sc.scrollTop(e);N.win.setTimeout(d,1)}(),!1}function c(e){return e&&\"false\"===e.contentEditable}function r(e){if(e.originalEvent&&(e=e.originalEvent),c(e.target))return!1;if(e&&e.dataTransfer&&e.dataTransfer.getData){var t=\"\",n=e.dataTransfer.types;if(N.helpers.isArray(n))for(var r=0;r<n.length;r++)t+=\"\".concat(n[r],\";\");else t=n;if(a=\"\",/text\\/rtf/.test(t)&&(s=e.dataTransfer.getData(\"text/rtf\")),/text\\/html/.test(t)?a=e.dataTransfer.getData(\"text/html\"):/text\\/rtf/.test(t)&&N.browser.safari?a=s:/text\\/plain/.test(t)&&!this.browser.mozilla&&(a=N.html.escapeEntities(e.dataTransfer.getData(\"text/plain\")).replace(/\\n/g,\"<br>\")),\"\"!==a){N.keys.forceUndo(),x=N.snapshot.get(),N.selection.save(),N.$el.find(\".fr-marker\").removeClass(\"fr-marker\").addClass(\"fr-marker-helper\");var o=N.markers.insertAtPoint(e);if(N.$el.find(\".fr-marker\").removeClass(\"fr-marker\").addClass(\"fr-marker-placeholder\"),N.$el.find(\".fr-marker-helper\").addClass(\"fr-marker\").removeClass(\"fr-marker-helper\"),N.selection.restore(),N.selection.remove(),N.$el.find(\".fr-marker-placeholder\").addClass(\"fr-marker\").removeClass(\"fr-marker-placeholder\"),!1!==o){var i=N.el.querySelector(\".fr-marker\");return O(i).replaceWith(I.MARKERS),N.selection.restore(),d(),e.preventDefault&&(e.stopPropagation(),e.preventDefault()),!1}}else a=null}}function d(){N.opts.iframe&&N.$el.attr(\"contenteditable\",\"true\"),N.browser.edge&&N.opts.iframe&&N.$box.after(i),x||(N.keys.forceUndo(),x=N.snapshot.get()),a||(a=i.get(0).innerHTML,A=i.text(),N.selection.restore(),N.events.enableBlur());var e=a.match(/(class=\"?Mso|class='?Mso|class=\"?Xl|class='?Xl|class=Xl|style=\"[^\"]*\\bmso-|style='[^']*\\bmso-|w:WordDocument|LibreOffice)/gi),t=N.events.chainTrigger(\"paste.beforeCleanup\",a);t&&\"string\"==typeof t&&(a=t),(!e||e&&!1!==N.events.trigger(\"paste.wordPaste\",[a]))&&o(a,e)}function w(e){for(var t=\"\",n=0;n++<e;)t+=\"&nbsp;\";return t}function o(e,t,n){var r,o=null,i=null;if(0<=e.toLowerCase().indexOf(\"<body\")){var a=\"\";0<=e.indexOf(\"<style\")&&(a=e.replace(/[.\\s\\S\\w\\W<>]*(<style[^>]*>[\\s]*[.\\s\\S\\w\\W<>]*[\\s]*<\\/style>)[.\\s\\S\\w\\W<>]*/gi,\"$1\")),e=(e=(e=a+e.replace(/[.\\s\\S\\w\\W<>]*<body[^>]*>[\\s]*([.\\s\\S\\w\\W<>]*)[\\s]*<\\/body>[.\\s\\S\\w\\W<>]*/gi,\"$1\")).replace(/<pre(?:[\\w\\W]*?)>(?:[\\w\\W]*?)<\\/pre>/g,function(e){return e.replace(/\\n/g,\"<br />\")})).replace(/ \\n/g,\" \").replace(/\\n /g,\" \").replace(/([^>])\\n([^<])/g,\"$1 $2\")}var s=!1;0<=e.indexOf('id=\"docs-internal-guid')&&(e=e.replace(/^[\\w\\W\\s\\S]* id=\"docs-internal-guid[^>]*>([\\w\\W\\s\\S]*)<\\/b>[\\w\\W\\s\\S]*$/g,\"$1\"),s=!0),0<=e.indexOf('content=\"Sheets\"')&&(e=e.replace(/width:0px;/g,\"\"));var l=!1;if(!t)if((l=function E(){var e=null;try{e=N.win.localStorage.getItem(\"fr-copied-text\")}catch(t){}return!(!e||!A||A.replace(/\\u00A0/gi,\" \").replace(/\\r|\\n/gi,\"\")!==e.replace(/\\u00A0/gi,\" \").replace(/\\r|\\n/gi,\"\")&&A.replace(/\\s/g,\"\")!==e.replace(/\\s/g,\"\"))}())&&(e=N.win.localStorage.getItem(\"fr-copied-html\")),l)e=N.clean.html(e,N.opts.pasteDeniedTags,N.opts.pasteDeniedAttrs);else{var c=N.opts.htmlAllowedStyleProps;N.opts.htmlAllowedStyleProps=N.opts.pasteAllowedStyleProps,N.opts.htmlAllowComments=!1,e=(e=(e=e.replace(/<span class=\"Apple-tab-span\">\\s*<\\/span>/g,w(N.opts.tabSpaces||4))).replace(/<span class=\"Apple-tab-span\" style=\"white-space:pre\">(\\t*)<\\/span>/g,function(e,t){return w(t.length*(N.opts.tabSpaces||4))})).replace(/\\t/g,w(N.opts.tabSpaces||4)),e=N.clean.html(e,N.opts.pasteDeniedTags,N.opts.pasteDeniedAttrs),N.opts.htmlAllowedStyleProps=c,N.opts.htmlAllowComments=!0,e=(e=(e=$(e)).replace(/\\r/g,\"\")).replace(/^ */g,\"\").replace(/ *$/g,\"\")}!t||N.wordPaste&&n||(0===(e=e.replace(/^\\n*/g,\"\").replace(/^ /g,\"\")).indexOf(\"<colgroup>\")&&(e=\"<table>\".concat(e,\"</table>\")),e=$(e=function y(e){var t;e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=(e=e.replace(/<p(.*?)class=\"?'?MsoListParagraph\"?'? ([\\s\\S]*?)>([\\s\\S]*?)<\\/p>/gi,\"<ul><li>$3</li></ul>\")).replace(/<p(.*?)class=\"?'?NumberedText\"?'? ([\\s\\S]*?)>([\\s\\S]*?)<\\/p>/gi,\"<ol><li>$3</li></ol>\")).replace(/<p(.*?)class=\"?'?MsoListParagraphCxSpFirst\"?'?([\\s\\S]*?)(level\\d)?([\\s\\S]*?)>([\\s\\S]*?)<\\/p>/gi,\"<ul><li$3>$5</li>\")).replace(/<p(.*?)class=\"?'?NumberedTextCxSpFirst\"?'?([\\s\\S]*?)(level\\d)?([\\s\\S]*?)>([\\s\\S]*?)<\\/p>/gi,\"<ol><li$3>$5</li>\")).replace(/<p(.*?)class=\"?'?MsoListParagraphCxSpMiddle\"?'?([\\s\\S]*?)(level\\d)?([\\s\\S]*?)>([\\s\\S]*?)<\\/p>/gi,\"<li$3>$5</li>\")).replace(/<p(.*?)class=\"?'?NumberedTextCxSpMiddle\"?'?([\\s\\S]*?)(level\\d)?([\\s\\S]*?)>([\\s\\S]*?)<\\/p>/gi,\"<li$3>$5</li>\")).replace(/<p(.*?)class=\"?'?MsoListBullet\"?'?([\\s\\S]*?)(level\\d)?([\\s\\S]*?)>([\\s\\S]*?)<\\/p>/gi,\"<li$3>$5</li>\")).replace(/<p(.*?)class=\"?'?MsoListParagraphCxSpLast\"?'?([\\s\\S]*?)(level\\d)?([\\s\\S]*?)>([\\s\\S]*?)<\\/p>/gi,\"<li$3>$5</li></ul>\")).replace(/<p(.*?)class=\"?'?NumberedTextCxSpLast\"?'?([\\s\\S]*?)(level\\d)?([\\s\\S]*?)>([\\s\\S]*?)<\\/p>/gi,\"<li$3>$5</li></ol>\")).replace(/<span([^<]*?)style=\"?'?mso-list:Ignore\"?'?([\\s\\S]*?)>([\\s\\S]*?)<span/gi,\"<span><span\")).replace(/<!--\\[if !supportLists\\]-->([\\s\\S]*?)<!--\\[endif\\]-->/gi,\"\")).replace(/<!\\[if !supportLists\\]>([\\s\\S]*?)<!\\[endif\\]>/gi,\"\")).replace(/(\\n|\\r| class=(\")?Mso[a-zA-Z0-9]+(\")?)/gi,\" \")).replace(/<!--[\\s\\S]*?-->/gi,\"\")).replace(/<(\\/)*(meta|link|span|\\\\?xml:|st1:|o:|font)(.*?)>/gi,\"\");var n,r=[\"style\",\"script\",\"applet\",\"embed\",\"noframes\",\"noscript\"];for(t=0;t<r.length;t++){var o=new RegExp(\"<\".concat(r[t],\".*?\").concat(r[t],\"(.*?)>\"),\"gi\");e=e.replace(o,\"\")}for(e=(e=(e=e.replace(/&nbsp;/gi,\" \")).replace(/<td([^>]*)><\\/td>/g,\"<td$1><br></td>\")).replace(/<th([^>]*)><\\/th>/g,\"<th$1><br></th>\");(e=(n=e).replace(/<[^/>][^>]*><\\/[^>]+>/gi,\"\"))!==n;);e=(e=e.replace(/<lilevel([^1])([^>]*)>/gi,'<li data-indent=\"true\"$2>')).replace(/<lilevel1([^>]*)>/gi,\"<li$1>\"),e=(e=(e=N.clean.html(e,N.opts.pasteDeniedTags,N.opts.pasteDeniedAttrs)).replace(/<a>(.[^<]+)<\\/a>/gi,\"$1\")).replace(/<br> */g,\"<br>\");var i=N.o_doc.createElement(\"div\");i.innerHTML=e;var a=i.querySelectorAll(\"li[data-indent]\");for(t=0;t<a.length;t++){var s=a[t],l=s.previousElementSibling;if(l&&\"LI\"===l.tagName){var c=l.querySelector(\":scope > ul, :scope > ol\");c||(c=document.createElement(\"ul\"),l.appendChild(c)),c.appendChild(s)}else s.removeAttribute(\"data-indent\")}return N.html.cleanBlankSpaces(i),e=i.innerHTML}(e))),N.opts.pastePlain&&!l&&(e=function S(e){var t,n=null,r=N.doc.createElement(\"div\");r.innerHTML=e;var o=r.querySelectorAll(\"p, div, h1, h2, h3, h4, h5, h6, pre, blockquote\");for(t=0;t<o.length;t++)(n=o[t]).outerHTML=\"<\".concat(N.html.defaultTag()||\"DIV\",\">\").concat(n.innerText,\"</\").concat(N.html.defaultTag()||\"DIV\",\">\");for(t=(o=r.querySelectorAll(\"*:not(\".concat(\"p, div, h1, h2, h3, h4, h5, h6, pre, blockquote, ul, ol, li, table, tbody, thead, tr, td, br, img\".split(\",\").join(\"):not(\"),\")\"))).length-1;0<=t;t--)(n=o[t]).outerHTML=n.innerHTML;return function i(e){for(var t=N.node.contents(e),n=0;n<t.length;n++)t[n].nodeType!==Node.TEXT_NODE&&t[n].nodeType!==Node.ELEMENT_NODE?t[n].parentNode.removeChild(t[n]):i(t[n])}(r),r.innerHTML}(e));var d=N.events.chainTrigger(\"paste.afterCleanup\",e);if(\"string\"==typeof d&&(e=d),\"\"!==e){var f=N.o_doc.createElement(\"div\");0<=(f.innerHTML=e).indexOf(\"<body>\")?(N.html.cleanBlankSpaces(f),N.spaces.normalize(f,!0)):N.spaces.normalize(f);var p=f.getElementsByTagName(\"span\");for(r=p.length-1;0<=r;r--){var u=p[r];0===u.attributes.length&&(u.outerHTML=u.innerHTML)}if(!0===N.opts.linkAlwaysBlank){var h=f.getElementsByTagName(\"a\");for(r=h.length-1;0<=r;r--){var g=h[r];g.getAttribute(\"target\")||g.setAttribute(\"target\",\"_blank\")}}var m=N.selection.element(),C=!1;if(m&&O(m).parentsUntil(N.el,\"ul, ol\").length&&(C=!0),C){var v=f.children;1===v.length&&0<=[\"OL\",\"UL\"].indexOf(v[0].tagName)&&(v[0].outerHTML=v[0].innerHTML)}if(!s){var b=f.getElementsByTagName(\"br\");for(r=b.length-1;0<=r;r--){var L=b[r];N.node.isBlock(L.previousSibling)&&L.parentNode.removeChild(L)}}if(N.opts.enter===I.ENTER_BR)for(r=(o=f.querySelectorAll(\"p, div\")).length-1;0<=r;r--)0===(i=o[r]).attributes.length&&(i.outerHTML=i.innerHTML+(i.nextSibling&&!N.node.isEmpty(i)?\"<br>\":\"\"));else if(N.opts.enter===I.ENTER_DIV)for(r=(o=f.getElementsByTagName(\"p\")).length-1;0<=r;r--)0===(i=o[r]).attributes.length&&(i.outerHTML=\"<div>\".concat(i.innerHTML,\"</div>\"));else N.opts.enter===I.ENTER_P&&1===f.childNodes.length&&\"P\"===f.childNodes[0].tagName&&0===f.childNodes[0].attributes.length&&(f.childNodes[0].outerHTML=f.childNodes[0].innerHTML);e=f.innerHTML,l&&(e=function T(e){var t,n=N.o_doc.createElement(\"div\");n.innerHTML=e;var r=n.querySelectorAll(\"*:empty:not(td):not(th):not(tr):not(iframe):not(svg):not(\".concat(I.VOID_ELEMENTS.join(\"):not(\"),\"):not(\").concat(N.opts.htmlAllowedEmptyTags.join(\"):not(\"),\")\"));for(;r.length;){for(t=0;t<r.length;t++)r[t].parentNode.removeChild(r[t]);r=n.querySelectorAll(\"*:empty:not(td):not(th):not(tr):not(iframe):not(svg):not(\".concat(I.VOID_ELEMENTS.join(\"):not(\"),\"):not(\").concat(N.opts.htmlAllowedEmptyTags.join(\"):not(\"),\")\"))}return n.innerHTML}(e)),N.html.insert(e,!0)}!function M(){N.events.trigger(\"paste.after\")}(),N.undo.saveStep(x),x=null,N.undo.saveStep()}function f(e){for(var t=e.length-1;0<=t;t--)e[t].attributes&&e[t].attributes.length&&e.splice(t,1);return e}function $(e){var t,n=N.o_doc.createElement(\"div\");n.innerHTML=e;for(var r=f(Array.prototype.slice.call(n.querySelectorAll(\":scope > div:not([style]), td > div:not([style]), th > div:not([style]), li > div:not([style])\")));r.length;){var o=r[r.length-1];if(N.html.defaultTag()&&\"div\"!==N.html.defaultTag())o.querySelector(N.html.blockTagsQuery())?o.outerHTML=o.innerHTML:o.outerHTML=\"<\".concat(N.html.defaultTag(),\">\").concat(o.innerHTML,\"</\").concat(N.html.defaultTag(),\">\");else{var i=o.querySelectorAll(\"*\");!i.length||\"BR\"!==i[i.length-1].tagName&&0===o.innerText.length?o.outerHTML=o.innerHTML+(o.nextSibling?\"<br>\":\"\"):!i.length||\"BR\"!==i[i.length-1].tagName||i[i.length-1].nextSibling?o.outerHTML=o.innerHTML+(o.nextSibling?\"<br>\":\"\"):o.outerHTML=o.innerHTML}r=f(Array.prototype.slice.call(n.querySelectorAll(\":scope > div:not([style]), td > div:not([style]), th > div:not([style]), li > div:not([style])\")))}for(r=f(Array.prototype.slice.call(n.querySelectorAll(\"div:not([style])\")));r.length;){for(t=0;t<r.length;t++){var a=r[t],s=a.innerHTML.replace(/\\u0009/gi,\"\").trim();a.outerHTML=s}r=f(Array.prototype.slice.call(n.querySelectorAll(\"div:not([style])\")))}return n.innerHTML}function p(){N.el.removeEventListener(\"copy\",e),N.el.removeEventListener(\"cut\",e),N.el.removeEventListener(\"paste\",t)}return{_init:function u(){N.el.addEventListener(\"copy\",e),N.el.addEventListener(\"cut\",e),N.el.addEventListener(\"paste\",t,{capture:!0}),N.events.on(\"drop\",r),N.browser.msie&&N.browser.version<11&&(N.events.on(\"mouseup\",function(e){2===e.button&&(setTimeout(function(){l=!1},50),l=!0)},!0),N.events.on(\"beforepaste\",t)),N.events.on(\"destroy\",p)},cleanEmptyTagsAndDivs:$,getRtfClipboard:function h(){return s},saveCopiedText:n,clean:o}},Object.assign(I.DEFAULTS,{shortcutsEnabled:[],shortcutsHint:!0}),I.SHORTCUTS_MAP={},I.RegisterShortcut=function(e,t,n,r,o,i){I.SHORTCUTS_MAP[(o?\"^\":\"\")+(i?\"@\":\"\")+e]={cmd:t,val:n,letter:r,shift:o,option:i},I.DEFAULTS.shortcutsEnabled.push(t)},I.RegisterShortcut(I.KEYCODE.E,\"show\",null,\"E\",!1,!1),I.RegisterShortcut(I.KEYCODE.B,\"bold\",null,\"B\",!1,!1),I.RegisterShortcut(I.KEYCODE.I,\"italic\",null,\"I\",!1,!1),I.RegisterShortcut(I.KEYCODE.U,\"underline\",null,\"U\",!1,!1),I.RegisterShortcut(I.KEYCODE.S,\"strikeThrough\",null,\"S\",!1,!1),I.RegisterShortcut(I.KEYCODE.CLOSE_SQUARE_BRACKET,\"indent\",null,\"]\",!1,!1),I.RegisterShortcut(I.KEYCODE.OPEN_SQUARE_BRACKET,\"outdent\",null,\"[\",!1,!1),I.RegisterShortcut(I.KEYCODE.Z,\"undo\",null,\"Z\",!1,!1),I.RegisterShortcut(I.KEYCODE.Z,\"redo\",null,\"Z\",!0,!1),I.RegisterShortcut(I.KEYCODE.Y,\"redo\",null,\"Y\",!1,!1),I.MODULES.shortcuts=function(s){var r=null;var l=!1;function e(e){if(!s.core.hasFocus())return!0;var t=e.which,n=-1!==navigator.userAgent.indexOf(\"Mac OS X\")?e.metaKey:e.ctrlKey;if(\"keyup\"===e.type&&l&&t!==I.KEYCODE.META)return l=!1;\"keydown\"===e.type&&(l=!1);var r=(e.shiftKey?\"^\":\"\")+(e.altKey?\"@\":\"\")+t,o=s.node.blockParent(s.selection.blocks()[0]);if(o&&\"TR\"==o.tagName&&o.getAttribute(\"contenteditable\")==undefined&&(o=o.closest(\"table\")),n&&I.SHORTCUTS_MAP[r]&&(!o||\"false\"!==o.getAttribute(\"contenteditable\"))){var i=I.SHORTCUTS_MAP[r].cmd;if(i&&0<=s.opts.shortcutsEnabled.indexOf(i)){var a=I.SHORTCUTS_MAP[r].val;if(!1===s.events.trigger(\"shortcut\",[e,i,a]))return!(l=!0);if(i&&(s.commands[i]||I.COMMANDS[i]&&I.COMMANDS[i].callback))return e.preventDefault(),e.stopPropagation(),\"keydown\"===e.type&&((s.commands[i]||I.COMMANDS[i].callback)(),l=!0),!1}}}return{_init:function t(){s.events.on(\"keydown\",e,!0),s.events.on(\"keyup\",e,!0)},get:function o(e){if(!s.opts.shortcutsHint)return null;if(!r)for(var t in r={},I.SHORTCUTS_MAP)Object.prototype.hasOwnProperty.call(I.SHORTCUTS_MAP,t)&&0<=s.opts.shortcutsEnabled.indexOf(I.SHORTCUTS_MAP[t].cmd)&&(r[\"\".concat(I.SHORTCUTS_MAP[t].cmd,\".\").concat(I.SHORTCUTS_MAP[t].val||\"\")]={shift:I.SHORTCUTS_MAP[t].shift,option:I.SHORTCUTS_MAP[t].option,letter:I.SHORTCUTS_MAP[t].letter});var n=r[e];return n?(s.helpers.isMac()?String.fromCharCode(8984):\"\".concat(s.language.translate(\"Ctrl\"),\"+\"))+(n.shift?s.helpers.isMac()?String.fromCharCode(8679):\"\".concat(s.language.translate(\"Shift\"),\"+\"):\"\")+(n.option?s.helpers.isMac()?String.fromCharCode(8997):\"\".concat(s.language.translate(\"Alt\"),\"+\"):\"\")+n.letter:null}}},I.MODULES.snapshot=function(l){function n(e){for(var t=e.parentNode.childNodes,n=0,r=null,o=0;o<t.length;o++){if(r){var i=t[o].nodeType===Node.TEXT_NODE&&\"\"===t[o].textContent,a=r.nodeType===Node.TEXT_NODE&&t[o].nodeType===Node.TEXT_NODE,s=r.nodeType===Node.TEXT_NODE&&\"\"===r.textContent;i||a||s||n++}if(t[o]===e)return n;r=t[o]}}function o(e){var t=[];if(!e.parentNode)return[];for(;!l.node.isElement(e);)t.push(n(e)),e=e.parentNode;return t.reverse()}function i(e,t){for(;e&&e.nodeType===Node.TEXT_NODE;){var n=e.previousSibling;n&&n.nodeType===Node.TEXT_NODE&&(t+=n.textContent.length),e=n}return t}function c(e){for(var t=l.el,n=0;n<e.length;n++)t=t.childNodes[e[n]];return t}function r(e,t){try{var n=c(t.scLoc),r=t.scOffset,o=c(t.ecLoc),i=t.ecOffset,a=l.doc.createRange();a.setStart(n,r),a.setEnd(o,i),e.addRange(a)}catch(s){}}return{get:function a(){var e,t={};if(l.events.trigger(\"snapshot.before\"),t.html=(l.$wp?l.$el.html():l.$oel.get(0).outerHTML).replace(/ style=\"\"/g,\"\"),t.ranges=[],l.$wp&&l.selection.inEditor()&&l.core.hasFocus())for(var n=l.selection.ranges(),r=0;r<n.length;r++)t.ranges.push({scLoc:o((e=n[r]).startContainer),scOffset:i(e.startContainer,e.startOffset),ecLoc:o(e.endContainer),ecOffset:i(e.endContainer,e.endOffset)});return l.events.trigger(\"snapshot.after\",[t]),t},restore:function s(e){l.$el.html()!==e.html&&(l.opts.htmlExecuteScripts?l.$el.html(e.html):l.el.innerHTML=e.html);var t=l.selection.get();l.selection.clear(),l.events.focus(!0);for(var n=0;n<e.ranges.length;n++)r(t,e.ranges[n])},equal:function d(e,t){return e.html===t.html&&(!l.core.hasFocus()||JSON.stringify(e.ranges)===JSON.stringify(t.ranges))}}},I.MODULES.undo=function(n){function e(e){var t=e.which;n.keys.ctrlKey(e)&&(t===I.KEYCODE.Z&&e.shiftKey&&e.preventDefault(),t===I.KEYCODE.Z&&e.preventDefault())}var t=null;function r(){if(n.undo_stack&&!n.undoing)for(;n.undo_stack.length>n.undo_index;)n.undo_stack.pop()}function o(){n.undo_index=0,n.undo_stack=[]}function i(){n.undo_stack=[]}return{_init:function a(){o(),n.events.on(\"initialized\",function(){t=(n.$wp?n.$el.html():n.$oel.get(0).outerHTML).replace(/ style=\"\"/g,\"\")}),n.events.on(\"blur\",function(){n.el.querySelector(\".fr-dragging\")||n.undo.saveStep()}),n.events.on(\"keydown\",e),n.events.on(\"destroy\",i)},run:function s(){if(1<n.undo_index){n.undoing=!0;var e=n.undo_stack[--n.undo_index-1];clearTimeout(n._content_changed_timer),n.snapshot.restore(e),t=e.html,n.popups.hideAll(),n.toolbar.enable(),n.events.trigger(\"contentChanged\"),n.events.trigger(\"commands.undo\"),n.undoing=!1}},redo:function l(){if(n.undo_index<n.undo_stack.length){n.undoing=!0;var e=n.undo_stack[n.undo_index++];clearTimeout(n._content_changed_timer),n.snapshot.restore(e),t=e.html,n.popups.hideAll(),n.toolbar.enable(),n.events.trigger(\"contentChanged\"),n.events.trigger(\"commands.redo\"),n.undoing=!1}},canDo:function c(){return!(0===n.undo_stack.length||n.undo_index<=1)},canRedo:function d(){return n.undo_index!==n.undo_stack.length},dropRedo:r,reset:o,saveStep:function f(e){!n.undo_stack||n.undoing||n.el.querySelector(\".fr-marker\")||(void 0===e?(e=n.snapshot.get(),n.undo_stack[n.undo_index-1]&&n.snapshot.equal(n.undo_stack[n.undo_index-1],e)||(r(),n.undo_stack.push(e),n.undo_index++,function o(e,t){var n=t.split(\"fr-selected-cell\").join(\"\");n=n.split(' class=\"\"').join(\"\");var r=e.split(\"fr-selected-cell\").join(\"\");return n===(r=r.split(' class=\"\"').join(\"\"))}(t,e.html)||(n.events.trigger(\"contentChanged\"),t=e.html))):(r(),0<n.undo_index?n.undo_stack[n.undo_index-1]=e:(n.undo_stack.push(e),n.undo_index++)))}}},Object.assign(I.DEFAULTS,{height:null,heightMax:null,heightMin:null,width:null}),I.MODULES.size=function(e){function t(){n(),e.opts.height&&e.$el.css(\"minHeight\",e.opts.height-e.helpers.getPX(e.$el.css(\"padding-top\"))-e.helpers.getPX(e.$el.css(\"padding-bottom\"))),e.$iframe.height(e.$el.outerHeight(!0))}function n(){e.opts.heightMin?e.$el.css(\"minHeight\",e.opts.heightMin):e.$el.css(\"minHeight\",\"\"),e.opts.heightMax?(e.$wp.css(\"maxHeight\",e.opts.heightMax),e.$wp.css(\"overflow\",\"auto\")):(e.$wp.css(\"maxHeight\",\"\"),e.$wp.css(\"overflow\",\"\")),e.opts.height?(e.$wp.css(\"height\",e.opts.height),e.$wp.css(\"overflow\",\"auto\"),e.$el.css(\"minHeight\",e.opts.height-e.helpers.getPX(e.$el.css(\"padding-top\"))-e.helpers.getPX(e.$el.css(\"padding-bottom\")))):(e.$wp.css(\"height\",\"\"),e.opts.heightMin||e.$el.css(\"minHeight\",\"\"),e.opts.heightMax||e.$wp.css(\"overflow\",\"\")),e.opts.width&&e.$box.width(e.opts.width)}return{_init:function r(){if(!e.$wp)return!1;n(),e.$iframe&&0==e.opts.fullPage&&(e.events.on(\"keyup keydown\",function(){setTimeout(t,0)},!0),e.events.on(\"commands.after html.set init initialized paste.after\",t))},syncIframe:t,refresh:n}},Object.assign(I.DEFAULTS,{documentReady:!1,editorClass:null,typingTimer:500,iframe:!1,requestWithCORS:!0,requestWithCredentials:!1,requestHeaders:{},useClasses:!0,spellcheck:!0,iframeDefaultStyle:'html{margin:0px;height:auto;}body{height:auto;padding:20px;background:transparent;color:#000000;position:relative;z-index: 2;-webkit-user-select:auto;margin:0px;overflow:hidden;min-height:20px;}body:after{content:\"\";display:block;clear:both;}body::-moz-selection{background:#b5d6fd;color:#000;}body::selection{background:#b5d6fd;color:#000;}',iframeStyle:\"\",iframeStyleFiles:[],direction:\"auto\",zIndex:1,tabIndex:null,disableRightClick:!1,scrollableContainer:\"body\",keepFormatOnDelete:!1,theme:null}),I.MODULES.core=function(a){var r=a.$;function n(){if(a.$box.addClass(\"fr-box\".concat(a.opts.editorClass?\" \".concat(a.opts.editorClass):\"\")),a.$box.attr(\"role\",\"application\"),a.$wp.addClass(\"fr-wrapper\"),a.opts.documentReady&&a.$box.addClass(\"fr-document\"),function o(){a.opts.iframe||a.$el.addClass(\"fr-element fr-view\")}(),a.opts.iframe){a.$iframe.addClass(\"fr-iframe\"),a.$el.addClass(\"fr-view\");for(var e=0;e<a.o_doc.styleSheets.length;e++){var t=void 0;try{t=a.o_doc.styleSheets[e].cssRules}catch(i){}if(t)for(var n=0,r=t.length;n<r;n++)!t[n].selectorText||0!==t[n].selectorText.indexOf(\".fr-view\")&&0!==t[n].selectorText.indexOf(\".fr-element\")||0<t[n].style.cssText.length&&(0===t[n].selectorText.indexOf(\".fr-view\")?a.opts.iframeStyle+=\"\".concat(t[n].selectorText.replace(/\\.fr-view/g,\"body\"),\"{\").concat(t[n].style.cssText,\"}\"):a.opts.iframeStyle+=\"\".concat(t[n].selectorText.replace(/\\.fr-element/g,\"body\"),\"{\").concat(t[n].style.cssText,\"}\"))}}\"auto\"!==a.opts.direction&&a.$box.removeClass(\"fr-ltr fr-rtl\").addClass(\"fr-\".concat(a.opts.direction)),a.$el.attr(\"dir\",a.opts.direction),a.$wp.attr(\"dir\",a.opts.direction),1<a.opts.zIndex&&a.$box.css(\"z-index\",a.opts.zIndex),a.opts.theme&&a.$box.addClass(\"\".concat(a.opts.theme,\"-theme\")),a.opts.tabIndex=a.opts.tabIndex||a.$oel.attr(\"tabIndex\"),a.opts.tabIndex&&a.$el.attr(\"tabIndex\",a.opts.tabIndex)}return{_init:function o(){if(I.INSTANCES.push(a),function e(){a.drag_support={filereader:\"undefined\"!=typeof FileReader,formdata:Boolean(a.win.FormData),progress:\"upload\"in new XMLHttpRequest}}(),a.$wp){n(),a.html.set(a._original_html),a.$el.attr(\"spellcheck\",a.opts.spellcheck),a.helpers.isMobile()&&(a.$el.attr(\"autocomplete\",a.opts.spellcheck?\"on\":\"off\"),a.$el.attr(\"autocorrect\",a.opts.spellcheck?\"on\":\"off\"),a.$el.attr(\"autocapitalize\",a.opts.spellcheck?\"on\":\"off\")),a.opts.disableRightClick&&a.events.$on(a.$el,\"contextmenu\",function(e){if(2===e.button)return e.preventDefault(),e.stopPropagation(),!1});try{a.doc.execCommand(\"styleWithCSS\",!1,!1)}catch(t){}}\"TEXTAREA\"===a.$oel.get(0).tagName&&(a.events.on(\"contentChanged\",function(){a.$oel.val(a.html.get())}),a.events.on(\"form.submit\",function(){a.$oel.val(a.html.get())}),a.events.on(\"form.reset\",function(){a.html.set(a._original_html)}),a.$oel.val(a.html.get())),a.helpers.isIOS()&&a.events.$on(a.$doc,\"selectionchange\",function(){a.$doc.get(0).hasFocus()||a.$win.get(0).focus()}),a.events.trigger(\"init\"),a.opts.autofocus&&!a.opts.initOnClick&&a.$wp&&a.events.on(\"initialized\",function(){a.events.focus(!0)})},destroy:function t(e){\"TEXTAREA\"===a.$oel.get(0).tagName&&a.$oel.val(e),a.$box&&a.$box.removeAttr(\"role\"),a.$wp&&(\"TEXTAREA\"===a.$oel.get(0).tagName?(a.$el.html(\"\"),a.$wp.html(\"\"),a.$box.replaceWith(a.$oel),a.$oel.show()):(a.$wp.replaceWith(e),a.$el.html(\"\"),a.$box.removeClass(\"fr-view fr-ltr fr-box \".concat(a.opts.editorClass||\"\")),a.opts.theme&&a.$box.addClass(\"\".concat(a.opts.theme,\"-theme\")))),this.$wp=null,this.$el=null,this.el=null,this.$box=null},isEmpty:function e(){return a.node.isEmpty(a.el)},getXHR:function i(e,t){var n=new XMLHttpRequest;for(var r in n.open(t,e,!0),a.opts.requestWithCredentials&&(n.withCredentials=!0),a.opts.requestHeaders)Object.prototype.hasOwnProperty.call(a.opts.requestHeaders,r)&&n.setRequestHeader(r,a.opts.requestHeaders[r]);return n},injectStyle:function s(e){if(a.opts.iframe){a.$head.find(\"style[data-fr-style], link[data-fr-style]\").remove(),a.$head.append('<style data-fr-style=\"true\">'.concat(e,\"</style>\"));for(var t=0;t<a.opts.iframeStyleFiles.length;t++){var n=r('<link data-fr-style=\"true\" rel=\"stylesheet\" href=\"'.concat(a.opts.iframeStyleFiles[t],'\">'));n.get(0).addEventListener(\"load\",a.size.syncIframe),a.$head.append(n)}}},hasFocus:function l(){return a.browser.mozilla&&a.helpers.isMobile()?a.selection.inEditor():a.node.hasFocus(a.el)||0<a.$el.find(\"*:focus\").length},sameInstance:function c(e){if(!e)return!1;var t=e.data(\"instance\");return!!t&&t.id===a.id}}},I.POPUP_TEMPLATES={\"text.edit\":\"[_EDIT_]\"},I.RegisterTemplate=function(e,t){I.POPUP_TEMPLATES[e]=t},I.MODULES.popups=function(u){var r,d=u.$;u.shared.popups||(u.shared.popups={});var h,g=u.shared.popups;function m(e,t){t.isVisible()||(t=u.$sc),t.is(g[e].data(\"container\"))||(g[e].data(\"container\",t),t.append(g[e]))}function o(e){var t;e.find(\".fr-upload-progress\").addClass(\"fr-height-set\"),e.find(\".fr-upload-progress\").removeClass(\"fr-height-auto\"),u.popups.get(\"filesManager.insert\").removeClass(\"fr-height-auto\"),e.find(\".fr-files-upload-layer\").hasClass(\"fr-active\")&&(t=1),e.find(\".fr-files-by-url-layer\").hasClass(\"fr-active\")&&(t=2),e.find(\".fr-files-embed-layer\").hasClass(\"fr-active\")&&(t=3),e.find(\".fr-upload-progress-layer\").get(0).clientHeight+10<e.find(\".fr-upload-progress\").get(0).clientHeight&&e.find(\".fr-upload-progress\").addClass(\"fr-height-auto\"),400<e[0].clientHeight&&(e[0].childNodes[4].style.height=\"\".concat(e[0].clientHeight-(e[0].childNodes[0].clientHeight+e[0].childNodes[t].clientHeight)-80,\"px\"))}var i=2e3;function a(){d(this).toggleClass(\"fr-not-empty\",!0)}function s(){var e=d(this);e.toggleClass(\"fr-not-empty\",\"\"!==e.val())}function C(e){return g[e]&&u.node.hasClass(g[e],\"fr-active\")&&u.core.sameInstance(g[e])||!1}function v(e){for(var t in g)if(Object.prototype.hasOwnProperty.call(g,t)&&C(t)&&(void 0===e||g[t].data(\"instance\")===e))return g[t];return!1}function n(e){var t=null;if(t=\"string\"!=typeof e?e:g[e],\"filesManager.insert\"===e&&u.filesManager!==undefined&&u.filesManager.isChildWindowOpen())return!1;if(t&&u.node.hasClass(t,\"fr-active\")&&(t.removeClass(\"fr-active fr-above\"),u.events.trigger(\"popups.hide.\".concat(e)),u.$tb&&(1<u.opts.zIndex?u.$tb.css(\"zIndex\",u.opts.zIndex+1):u.$tb.css(\"zIndex\",\"\")),u.events.disableBlur(),t.find(\"input, textarea, button\").each(function(){this===this.ownerDocument.activeElement&&this.blur()}),t.find(\"input, textarea\").attr(\"disabled\",\"disabled\"),h))for(var n=0;n<h.length;n++)d(h[n]).removeClass(\"fr-btn-active-popup\")}function b(e){for(var t in void 0===e&&(e=[]),g)Object.prototype.hasOwnProperty.call(g,t)&&e.indexOf(t)<0&&n(t)}function t(){u.shared.exit_flag=!0}function L(){u.shared.exit_flag=!1}function l(){return u.shared.exit_flag}function c(e,t){var n,r=function c(e,t){var n=I.POPUP_TEMPLATES[e];if(!n)return null;for(var r in\"function\"==typeof n&&(n=n.apply(u)),t)Object.prototype.hasOwnProperty.call(t,r)&&(n=n.replace(\"[_\".concat(r.toUpperCase(),\"_]\"),t[r]));return n}(e,t),o=d(u.doc.createElement(\"DIV\"));if(!r)return\"filesManager.insert\"===e?o.addClass(\"fr-popup fr-files-manager fr-empty\"):o.addClass(\"fr-popup fr-empty\"),(n=d(\"body\").first()).append(o),o.data(\"container\",n),g[e]=o;\"filesManager.insert\"===e?o.addClass(\"fr-popup fr-files-manager\".concat(u.helpers.isMobile()?\" fr-mobile\":\" fr-desktop\").concat(u.opts.toolbarInline?\" fr-inline\":\"\")):o.addClass(\"fr-popup\".concat(u.helpers.isMobile()?\" fr-mobile\":\" fr-desktop\").concat(u.opts.toolbarInline?\" fr-inline\":\"\")),o.html(r),u.opts.theme&&o.addClass(\"\".concat(u.opts.theme,\"-theme\")),1<u.opts.zIndex&&(!u.opts.editInPopup&&u.$tb?u.$tb.css(\"z-index\",u.opts.zIndex+2):o.css(\"z-index\",u.opts.zIndex+2)),\"auto\"!==u.opts.direction&&o.removeClass(\"fr-ltr fr-rtl\").addClass(\"fr-\".concat(u.opts.direction)),o.find(\"input, textarea\").attr(\"dir\",u.opts.direction).attr(\"disabled\",\"disabled\"),(n=d(\"body\").first()).append(o),o.data(\"container\",n);var i=(g[e]=o).find(\".fr-color-hex-layer\");if(0<i.length){var a=u.helpers.getPX(o.find(\".fr-color-set > span\").css(\"width\")),s=u.helpers.getPX(i.css(\"paddingLeft\")),l=u.helpers.getPX(i.css(\"paddingRight\"));i.css(\"width\",a*u.opts.colorsStep+s+l)}return u.button.bindCommands(o,!1),o}function E(r){var o=g[r];return{_windowResize:function(){var e=o.data(\"instance\")||u;!e.helpers.isMobile()&&o.isVisible()&&(e.events.disableBlur(),e.popups.hide(r),e.events.enableBlur())},_inputFocus:function(e){var t=o.data(\"instance\")||u,n=d(e.currentTarget);if(n.is(\"input:file\")&&n.closest(\".fr-layer\").addClass(\"fr-input-focus\"),e.preventDefault(),e.stopPropagation(),setTimeout(function(){t.events.enableBlur()},100),t.helpers.isMobile()){var r=d(t.o_win).scrollTop();setTimeout(function(){d(t.o_win).scrollTop(r)},0)}},_inputBlur:function(e){var t=o.data(\"instance\")||u,n=d(e.currentTarget);n.is(\"input:file\")&&n.closest(\".fr-layer\").removeClass(\"fr-input-focus\"),document.activeElement!==this&&d(this).isVisible()&&(t.events.blurActive()&&t.events.trigger(\"blur\"),t.events.enableBlur())},_editorKeydown:function(e){var t=o.data(\"instance\")||u;t.keys.ctrlKey(e)||e.which===I.KEYCODE.ALT||e.which===I.KEYCODE.ESC||(C(r)&&o.findVisible(\".fr-back\").length?t.button.exec(o.findVisible(\".fr-back\").first()):e.which!==I.KEYCODE.ALT&&t.popups.hide(r))},_preventFocus:function(e){var t=o.data(\"instance\")||u,n=e.originalEvent?e.originalEvent.target||e.originalEvent.originalTarget:null;\"mouseup\"===e.type||d(n).is(\":focus\")||t.events.disableBlur(),\"mouseup\"!==e.type||d(n).hasClass(\"fr-command\")||0<d(n).parents(\".fr-command\").length||d(n).hasClass(\"fr-dropdown-content\")||u.button.hideActiveDropdowns(o),(u.browser.safari||u.browser.mozilla)&&\"mousedown\"===e.type&&d(n).is(\"input[type=file]\")&&t.events.disableBlur();var r=\"input, textarea, button, select, label, .fr-command\";if(n&&!d(n).is(r)&&0===d(n).parents(r).length)return e.stopPropagation(),!1;n&&d(n).is(r)&&e.stopPropagation(),L()},_editorMouseup:function(){o.isVisible()&&l()&&0<o.findVisible(\"input:focus, textarea:focus, button:focus, select:focus\").length&&u.events.disableBlur()},_windowMouseup:function(e){if(!u.core.sameInstance(o))return!0;var t=o.data(\"instance\")||u;o.isVisible()&&l()&&(e.stopPropagation(),t.markers.remove(),t.popups.hide(r),L())},_windowKeydown:function(e){if(!u.core.sameInstance(o))return!0;var t=o.data(\"instance\")||u,n=e.which;if(I.KEYCODE.ESC===n){if(t.popups.isVisible(r)&&t.opts.toolbarInline)return e.stopPropagation(),t.popups.isVisible(r)&&(o.findVisible(\".fr-back\").length?(t.button.exec(o.findVisible(\".fr-back\").first()),t.accessibility.focusPopupButton(o)):o.findVisible(\".fr-dismiss\").length?t.button.exec(o.findVisible(\".fr-dismiss\").first()):(t.popups.hide(r),t.toolbar.showInline(null,!0),t.accessibility.focusPopupButton(o))),!1;if(t.popups.isVisible(r))return o.findVisible(\".fr-back\").length?(t.button.exec(o.findVisible(\".fr-back\").first),t.accessibility.focusPopupButton(o)):o.findVisible(\".fr-dismiss\").length?t.button.exec(o.findVisible(\".fr-dismiss\").first()):(t.popups.hide(r),t.accessibility.focusPopupButton(o)),!1}},_repositionPopup:function(){if(!u.opts.height&&!u.opts.heightMax||u.opts.toolbarInline)return!0;if(u.$wp&&C(r)&&o.parent().get(0)===u.$sc.get(0)){var e=o.offset().top-u.$wp.offset().top,t=u.$wp.outerHeight();u.node.hasClass(o.get(0),\"fr-above\")&&(e+=o.outerHeight());var n=u.image.getEl();n&&n.offset().top>t||t<e||e<0?o.addClass(\"fr-hidden\"):o.removeClass(\"fr-hidden\")}}}}function f(e,t){u.events.on(\"mouseup\",e._editorMouseup,!0),u.$wp&&u.events.on(\"keydown\",e._editorKeydown),u.events.on(\"focus\",function(){g[t].removeClass(\"focused\")}),u.events.on(\"blur\",function(){v()&&u.markers.remove(),u.helpers.isMobile()?g[t].hasClass(\"focused\")?(b(),g[t].removeClass(\"focused\")):g[t].addClass(\"focused\"):g[t].find(\"iframe\").length||b()}),u.$wp&&!u.helpers.isMobile()&&u.events.$on(u.$wp,\"scroll.popup\".concat(t),e._repositionPopup),u.events.on(\"window.mouseup\",e._windowMouseup,!0),u.events.on(\"window.keydown\",e._windowKeydown,!0),g[t].data(\"inst\".concat(u.id),!0),u.events.on(\"destroy\",function(){u.core.sameInstance(g[t])&&(d(\"body\").first().append(g[t]),g[t].removeClass(\"fr-active\"))},!0)}function p(){var e=d(this).prev().children().first();e.attr(\"checked\",!e.attr(\"checked\"))}function e(){for(var e in g)if(Object.prototype.hasOwnProperty.call(g,e)){var t=g[e];t&&(t.html(\"\").removeData().remove(),g[e]=null)}g=[]}return u.shared.exit_flag=!1,{_init:function y(){r=window.innerHeight,u.events.on(\"shared.destroy\",e,!0),u.events.on(\"window.mousedown\",t),u.events.on(\"window.touchmove\",L),u.events.$on(d(u.o_win),\"scroll\",L),u.events.on(\"mousedown\",function(e){v()&&(e.stopPropagation(),u.$el.find(\".fr-marker\").remove(),t(),u.events.disableBlur())})},create:function S(e,t){var n=c(e,t),r=E(e);f(r,e),u.events.$on(n,\"mousedown mouseup touchstart touchend touch\",\"*\",r._preventFocus,!0),u.events.$on(n,\"focus\",\"input, textarea, button, select\",r._inputFocus,!0),u.events.$on(n,\"blur\",\"input, textarea, button, select\",r._inputBlur,!0);var o=n.find(\"input, textarea\");return function i(e){for(var t=0;t<e.length;t++){var n=e[t],r=d(n);0===r.next().length&&r.attr(\"placeholder\")&&(r.after('<label for=\"'.concat(r.attr(\"id\"),'\">').concat(r.attr(\"placeholder\"),\"</label>\")),r.attr(\"placeholder\",\"\"))}}(o),u.events.$on(o,\"focus\",a),u.events.$on(o,\"blur change\",s),u.events.$on(n,\"click\",\".fr-checkbox + label\",p),u.accessibility.registerPopup(e),u.helpers.isIOS()&&u.events.$on(n,\"touchend\",\"label\",function(){d(\"#\".concat(d(this).attr(\"for\"))).prop(\"checked\",function(e,t){return!t})},!0),u.events.$on(d(u.o_win),\"resize\",r._windowResize,!0),\"filesManager.insert\"===e&&g[\"filesManager.insert\"].css(\"zIndex\",2147483641),n},get:function T(e){var t=g[e];return t&&!t.data(\"inst\".concat(u.id))&&f(E(e),e),t},show:function M(e,t,n,r,o){if(C(e)||(v()&&0<u.$el.find(\".fr-marker\").length?(u.events.disableBlur(),u.selection.restore()):v()||(u.events.disableBlur(),u.events.focus(),u.events.enableBlur())),b([e]),!g[e])return!1;var i=u.button.getButtons(\".fr-dropdown.fr-active\");i.removeClass(\"fr-active\").attr(\"aria-expanded\",!1).parents(\".fr-toolbar\").css(\"zIndex\",\"\").find(\"> .fr-dropdown-wrapper\").css(\"height\",\"\"),i.next().attr(\"aria-hidden\",!0).css(\"overflow\",\"\").find(\"> .fr-dropdown-wrapper\").css(\"height\",\"\"),g[e].data(\"instance\",u),u.$tb&&u.$tb.data(\"instance\",u);var a=C(e);g[e].addClass(\"fr-active\").removeClass(\"fr-hidden\").find(\"input, textarea\").removeAttr(\"disabled\");var s=g[e].data(\"container\");if(function p(e,t){t.isVisible()||(t=u.$sc),t.contains([g[e].get(0)])||t.append(g[e])}(e,s),u.opts.toolbarInline&&s&&u.$tb&&s.get(0)===u.$tb.get(0)&&(m(e,u.$sc),n=u.$tb.offset().top-u.helpers.getPX(u.$tb.css(\"margin-top\")),t=u.$tb.offset().left+u.$tb.outerWidth()/2,u.node.hasClass(u.$tb.get(0),\"fr-above\")&&n&&(n+=u.$tb.outerHeight()),r=0),s=g[e].data(\"container\"),u.opts.iframe&&!r&&!a){var l=u.helpers.getPX(u.$wp.find(\".fr-iframe\").css(\"padding-top\")),c=u.helpers.getPX(u.$wp.find(\".fr-iframe\").css(\"padding-left\"));t&&(t-=u.$iframe.offset().left+c),n&&(n-=u.$iframe.offset().top+l)}s.is(u.$tb)?u.$tb.css(\"zIndex\",(u.opts.zIndex||1)+4):g[e].css(\"zIndex\",(u.opts.zIndex||1)+3),u.opts.toolbarBottom&&s&&u.$tb&&s.get(0)===u.$tb.get(0)&&(g[e].addClass(\"fr-above\"),n&&(n-=g[e].outerHeight())),o&&(t-=g[e].width()/2),t+g[e].outerWidth()>u.$sc.offset().left+u.$sc.width()&&(t-=t+g[e].outerWidth()-u.$sc.offset().left-u.$sc.width()),t<u.$sc.offset().left&&\"rtl\"===u.opts.direction&&(t=u.$sc.offset().left),g[e].removeClass(\"fr-active\"),u.position.at(t,n,g[e],r||0);var d=u.node.blockParent(u.selection.blocks()[0]);if(d&&\"false\"===d.getAttribute(\"contenteditable\"))g[e].removeClass(\"fr-active\");else{var f=u.selection.element().parentElement.getAttribute(\"contenteditable\");f&&\"false\"===f?g[e].removeClass(\"fr-active\"):g[e].addClass(\"fr-active\")}a||u.accessibility.focusPopup(g[e]),u.opts.toolbarInline&&u.toolbar.hide(),u.$tb&&(h=u.$tb.find(\".fr-btn-active-popup\")),u.events.trigger(\"popups.show.\".concat(e)),E(e)._repositionPopup(),L()},hide:n,onHide:function N(e,t){u.events.on(\"popups.hide.\".concat(e),t)},hideAll:b,setContainer:m,refresh:function A(e){g[e].data(\"instance\",u),u.events.trigger(\"popups.refresh.\".concat(e));for(var t=g[e].find(\".fr-command\"),n=0;n<t.length;n++){var r=d(t[n]);0===r.parents(\".fr-dropdown-menu\").length&&u.button.refresh(r)}},onRefresh:function x(e,t){u.events.on(\"popups.refresh.\".concat(e),t)},onShow:function O(e,t){u.events.on(\"popups.show.\".concat(e),t)},isVisible:C,setFileListHeight:o,areVisible:v,setPopupDimensions:function w(e,t){t&&e.find(\".fr-upload-progress-layer\").get(0).clientHeight<i&&(e.find(\".fr-upload-progress\").addClass(\"fr-height-auto\"),u.popups.get(\"filesManager.insert\").addClass(\"fr-height-auto\"),e.find(\".fr-upload-progress\").removeClass(\"fr-height-set\"),i=2e3),e.get(0).clientHeight>window.innerHeight/2&&(window.innerWidth<500?e.get(0).clientHeight>.6*r&&o(e):400<e.get(0).clientHeight&&o(e),i=e.find(\".fr-upload-progress-layer\").get(0).clientHeight);var n=window.innerWidth;switch(!0){case n<=320:e.width(200);break;case n<=420:e.width(250);break;case n<=520:e.width(300);break;case n<=720:e.width(400);break;case 720<n:e.width(530)}}}},I.MODULES.accessibility=function(f){var p=f.$,i=!0;function l(t){for(var e=f.$el.find('[contenteditable=\"true\"]'),n=!1,r=0;e.get(r);)p(e.get(r)).is(\":focus\")&&(n=!0),r++;t&&t.length&&!n&&(t.data(\"blur-event-set\")||t.parents(\".fr-popup\").length||(f.events.$on(t,\"blur\",function(){var e=t.parents(\".fr-toolbar, .fr-popup\").data(\"instance\")||f;e.events.blurActive()&&!f.core.hasFocus()&&e.events.trigger(\"blur\"),setTimeout(function(){e.events.enableBlur()},100)},!0),t.data(\"blur-event-set\",!0)),(t.parents(\".fr-toolbar, .fr-popup\").data(\"instance\")||f).events.disableBlur(),t.get(0).focus(),f.shared.$f_el=t)}function u(e,t){var n=t?\"last\":\"first\",r=s(g(e))[n]();if(r.length)return l(r),!0}function a(e){return e.is(\"input, textarea, select\")&&t(),f.events.disableBlur(),e.get(0).focus(),!0}function h(e,t){var n=e.find(\"input, textarea, button, select\").filter(function(){return p(this).isVisible()}).not(\":disabled\");if((n=t?n.last():n.first()).length)return a(n);if(f.shared.with_kb){var r=e.findVisible(\".fr-active-item\").first();if(r.length)return a(r);var o=e.findVisible(\"[tabIndex]\").first();if(o.length)return a(o)}}function t(){0===f.$el.find(\".fr-marker\").length&&f.core.hasFocus()&&f.selection.save()}function c(){var e=f.popups.areVisible();if(e){var t=e.find(\".fr-buttons\");return t.find(\"button:focus, .fr-group span:focus\").length?!u(e.data(\"instance\").$tb):!u(t)}return!u(f.$tb)}function d(){var e=null;return f.shared.$f_el.is(\".fr-dropdown.fr-active\")?e=f.shared.$f_el:f.shared.$f_el.closest(\".fr-dropdown-menu\").prev().is(\".fr-dropdown.fr-active\")&&(e=f.shared.$f_el.closest(\".fr-dropdown-menu\").prev()),e}function s(e){for(var t=-1,n=0;n<e.length;n++)p(e[n]).hasClass(\"fr-open\")&&(t=n);var r=e.index(f.$tb.find(\".fr-more-toolbar.fr-expanded > button.fr-command\").first());if(0<r&&-1!==t){var o=e.slice(r,e.length),i=(e=e.slice(0,r)).slice(0,t+1),a=e.slice(t+1,e.length);e=i;for(var s=0;s<o.length;s++)e.push(o[s]);for(var l=0;l<a.length;l++)e.push(a[l])}return e}function g(e){return e.findVisible(\"button:not(.fr-disabled), .fr-group span.fr-command\").filter(function(e){var t=p(e).parents(\".fr-more-toolbar\");return 0===t.length||0<t.length&&t.hasClass(\"fr-expanded\")})}function n(e,t,n){if(f.shared.$f_el){var r=d();r&&(f.button.click(r),f.shared.$f_el=r);var o=s(g(e)),i=o.index(f.shared.$f_el);if(0===i&&!n||i===o.length-1&&n){var a;if(t){if(e.parent().is(\".fr-popup\"))a=!h(e.parent().children().not(\".fr-buttons\"),!n);!1===a&&(f.shared.$f_el=null)}t&&!1===a||u(e,!n)}else l(p(o.get(i+(n?1:-1))));return!1}}function m(e,t){return n(e,t,!0)}function C(e,t){return n(e,t)}function v(e){if(f.shared.$f_el){var t;if(f.shared.$f_el.is(\".fr-dropdown.fr-active\"))return l(t=e?f.shared.$f_el.next().find(\".fr-command:not(.fr-disabled)\").first():f.shared.$f_el.next().find(\".fr-command:not(.fr-disabled)\").last()),!1;if(f.shared.$f_el.is(\"a.fr-command\"))return(t=e?f.shared.$f_el.closest(\"li\").nextAllVisible().first().find(\".fr-command:not(.fr-disabled)\").first():f.shared.$f_el.closest(\"li\").prevAllVisible().first().find(\".fr-command:not(.fr-disabled)\").first()).length||(t=e?f.shared.$f_el.closest(\".fr-dropdown-menu\").find(\".fr-command:not(.fr-disabled)\").first():f.shared.$f_el.closest(\".fr-dropdown-menu\").find(\".fr-command:not(.fr-disabled)\").last()),l(t),!1}}function b(){if(f.shared.$f_el){if(f.shared.$f_el.hasClass(\"fr-dropdown\"))f.button.click(f.shared.$f_el);else if(f.shared.$f_el.is(\"button.fr-back\")){f.opts.toolbarInline&&(f.events.disableBlur(),f.events.focus());var e=f.popups.areVisible(f);e&&(f.shared.with_kb=!1),f.button.click(f.shared.$f_el),E(e)}else{if(f.events.disableBlur(),f.button.click(f.shared.$f_el),f.shared.$f_el.attr(\"data-group-name\")){var t=f.$tb.find('.fr-more-toolbar[data-name=\"'.concat(f.shared.$f_el.attr(\"data-group-name\"),'\"]')),n=f.shared.$f_el;t.hasClass(\"fr-expanded\")&&(n=t.findVisible(\"button:not(.fr-disabled)\").first()),n&&l(n)}else if(f.shared.$f_el.attr(\"data-popup\")){var r=f.popups.areVisible(f);r&&r.data(\"popup-button\",f.shared.$f_el)}else if(f.shared.$f_el.attr(\"data-modal\")){var o=f.modals.areVisible(f);o&&o.data(\"modal-button\",f.shared.$f_el)}f.shared.$f_el=null}return!1}}function L(){f.shared.$f_el&&(f.events.disableBlur(),f.shared.$f_el.blur(),f.shared.$f_el=null),!1!==f.events.trigger(\"toolbar.focusEditor\")&&(f.events.disableBlur(),f.$el.get(0).focus(),f.events.focus())}function o(r){r&&r.length&&(f.events.$on(r,\"keydown\",function(e){if(!p(e.target).is(\"a.fr-command, button.fr-command, .fr-group span.fr-command\"))return!0;var t=r.parents(\".fr-popup\").data(\"instance\")||r.data(\"instance\")||f;f.shared.with_kb=!0;var n=t.accessibility.exec(e,r);return f.shared.with_kb=!1,n},!0),f.events.$on(r,\"mouseenter\",\"[tabIndex]\",function(e){var t=r.parents(\".fr-popup\").data(\"instance\")||r.data(\"instance\")||f;if(!i)return e.stopPropagation(),void e.preventDefault();var n=p(e.currentTarget);t.shared.$f_el&&t.shared.$f_el.not(n)&&t.accessibility.focusEditor()},!0),f.$tb&&f.events.$on(f.$tb,\"transitionend\",\".fr-more-toolbar\",function(){f.shared.$f_el=p(document.activeElement)}))}function E(e){var t=e.data(\"popup-button\");t&&setTimeout(function(){l(t),e.data(\"popup-button\",null)},0)}function y(e){var t=f.popups.areVisible(e);t&&t.data(\"popup-button\",null)}function e(e){var t=-1!==navigator.userAgent.indexOf(\"Mac OS X\")?e.metaKey:e.ctrlKey;if(e.which!==I.KEYCODE.F10||t||e.shiftKey||!e.altKey)return!0;f.shared.with_kb=!0;var n=f.popups.areVisible(f),r=!1;return n&&(r=h(n.children().not(\".fr-buttons\"))),r||c(),f.shared.with_kb=!1,e.preventDefault(),e.stopPropagation(),!1}return{_init:function r(){f.$wp?f.events.on(\"keydown\",e,!0):f.events.$on(f.$win,\"keydown\",e,!0),f.events.on(\"mousedown\",function(e){y(f),f.shared.$f_el&&f.el.isSameNode(f.shared.$f_el[0])&&(f.accessibility.restoreSelection(),e.stopPropagation(),f.events.disableBlur(),f.shared.$f_el=null)},!0),f.events.on(\"blur\",function(){f.shared.$f_el=null,y(f)},!0)},registerPopup:function S(e){var t=f.popups.get(e),n=function r(c){var d=f.popups.get(c);return{_tiKeydown:function(e){var t=d.data(\"instance\")||f;if(!1===t.events.trigger(\"popup.tab\",[e]))return!1;var n=e.which,r=d.find(\":focus\").first();if(I.KEYCODE.TAB===n){e.preventDefault();var o=d.children().not(\".fr-buttons\"),i=o.findVisible(\"input, textarea, button, select\").not(\".fr-no-touch input, .fr-no-touch textarea, .fr-no-touch button, .fr-no-touch select, :disabled\").toArray(),a=i.indexOf(this)+(e.shiftKey?-1:1);if(0<=a&&a<i.length)return t.events.disableBlur(),p(i[a]).focus(),e.stopPropagation(),!1;var s=d.find(\".fr-buttons\");if(s.length&&u(s,Boolean(e.shiftKey)))return e.stopPropagation(),!1;if(h(o))return e.stopPropagation(),!1}else{if(I.KEYCODE.ENTER!==n||!e.target||\"TEXTAREA\"===e.target.tagName)return I.KEYCODE.ESC===n?(e.preventDefault(),e.stopPropagation(),t.accessibility.restoreSelection(),t.popups.isVisible(c)&&d.findVisible(\".fr-back\").length?(t.opts.toolbarInline&&(t.events.disableBlur(),t.events.focus()),t.button.exec(d.findVisible(\".fr-back\").first()),E(d)):t.popups.isVisible(c)&&d.findVisible(\".fr-dismiss\").length?t.button.exec(d.findVisible(\".fr-dismiss\").first()):(t.popups.hide(c),t.opts.toolbarInline&&t.toolbar.showInline(null,!0),E(d)),!1):I.KEYCODE.SPACE===n&&(r.is(\".fr-submit\")||r.is(\".fr-dismiss\"))?(e.preventDefault(),e.stopPropagation(),t.events.disableBlur(),t.button.exec(r),!0):t.keys.isBrowserAction(e)?void e.stopPropagation():r.is(\"input[type=text], textarea\")?void e.stopPropagation():I.KEYCODE.SPACE===n&&(r.is(\".fr-link-attr\")||r.is(\"input[type=file]\"))?void e.stopPropagation():(e.stopPropagation(),e.preventDefault(),!1);var l=null;0<d.findVisible(\".fr-submit\").length?l=d.findVisible(\".fr-submit\").first():d.findVisible(\".fr-dismiss\").length&&(l=d.findVisible(\".fr-dismiss\").first()),l&&(e.preventDefault(),e.stopPropagation(),t.events.disableBlur(),t.button.exec(l))}},_tiMouseenter:function(){var e=d.data(\"instance\")||f;y(e)}}}(e);o(t.find(\".fr-buttons\")),f.events.$on(t,\"mouseenter\",\"tabIndex\",n._tiMouseenter,!0),f.events.$on(t.children().not(\".fr-buttons\"),\"keydown\",\"[tabIndex]\",n._tiKeydown,!0),f.popups.onHide(e,function(){(t.data(\"instance\")||f).accessibility.restoreSelection()}),f.popups.onShow(e,function(){i=!1,setTimeout(function(){i=!0},0)})},registerToolbar:o,focusToolbarElement:l,focusToolbar:u,focusContent:h,focusPopup:function T(r){var o=r.children().not(\".fr-buttons\");o.data(\"mouseenter-event-set\")||(f.events.$on(o,\"mouseenter\",\"[tabIndex]\",function(e){var t=r.data(\"instance\")||f;if(!i)return e.stopPropagation(),void e.preventDefault();var n=o.find(\":focus\").first();n.length&&!n.is(\"input, button, textarea, select\")&&(t.events.disableBlur(),n.blur(),t.events.disableBlur(),t.events.focus())}),o.data(\"mouseenter-event-set\",!0)),!h(o)&&f.shared.with_kb&&u(r.find(\".fr-buttons\"))},focusModal:function M(e){f.core.hasFocus()||(f.events.disableBlur(),f.events.focus()),f.accessibility.saveSelection(),f.events.disableBlur(),f.el.blur(),f.selection.clear(),f.events.disableBlur(),f.shared.with_kb?e.find(\".fr-command[tabIndex], [tabIndex]\").first().focus():e.find(\"[tabIndex]\").first().focus()},focusEditor:L,focusPopupButton:E,focusModalButton:function N(e){var t=e.data(\"modal-button\");t&&setTimeout(function(){l(t),e.data(\"modal-button\",null)},0)},hasFocus:function A(){return null!==f.shared.$f_el},exec:function x(e,t){var n=-1!==navigator.userAgent.indexOf(\"Mac OS X\")?e.metaKey:e.ctrlKey,r=e.which,o=!1;return r!==I.KEYCODE.TAB||n||e.shiftKey||e.altKey?r!==I.KEYCODE.ARROW_RIGHT||n||e.shiftKey||e.altKey?r!==I.KEYCODE.TAB||n||!e.shiftKey||e.altKey?r!==I.KEYCODE.ARROW_LEFT||n||e.shiftKey||e.altKey?r!==I.KEYCODE.ARROW_UP||n||e.shiftKey||e.altKey?r!==I.KEYCODE.ARROW_DOWN||n||e.shiftKey||e.altKey?r!==I.KEYCODE.ENTER&&r!==I.KEYCODE.SPACE||n||e.shiftKey||e.altKey?r!==I.KEYCODE.ESC||n||e.shiftKey||e.altKey?r!==I.KEYCODE.F10||n||e.shiftKey||!e.altKey||(o=c()):o=function i(e){if(f.shared.$f_el){var t=d();return t?(f.button.click(t),l(t)):e.parent().findVisible(\".fr-back\").length?(f.shared.with_kb=!1,f.opts.toolbarInline&&(f.events.disableBlur(),f.events.focus()),f.button.exec(e.parent().findVisible(\".fr-back\")).first(),E(e.parent())):f.shared.$f_el.is(\"button, .fr-group span\")&&(e.parent().is(\".fr-popup\")?(f.accessibility.restoreSelection(),f.shared.$f_el=null,!1!==f.events.trigger(\"toolbar.esc\")&&(f.popups.hide(e.parent()),f.opts.toolbarInline&&f.toolbar.showInline(null,!0),E(e.parent()))):L()),!1}}(t):o=b():o=function a(){return f.shared.$f_el&&f.shared.$f_el.is(\".fr-dropdown:not(.fr-active)\")?b():v(!0)}():o=function s(){return v()}():o=C(t):o=C(t,!0):o=m(t):o=m(t,!0),f.shared.$f_el||void 0!==o||(o=!0),!o&&f.keys.isBrowserAction(e)&&(o=!0),!!o||(e.preventDefault(),e.stopPropagation(),!1)},saveSelection:t,restoreSelection:function O(){f.$el.find(\".fr-marker\").length&&(f.events.disableBlur(),f.selection.restore(),f.events.enableBlur())}}},Object.assign(I.DEFAULTS,{tooltips:!0}),I.MODULES.tooltip=function(i){var a=i.$;function r(){i.helpers.isMobile()||i.$tooltip&&i.$tooltip.removeClass(\"fr-visible\").css(\"left\",\"-3000px\").css(\"position\",\"fixed\")}function o(e,t){if(!i.helpers.isMobile()&&(e.data(\"title\")||e.data(\"title\",e.attr(\"title\")),e.data(\"title\"))){i.$tooltip||function o(){i.opts.tooltips&&!i.helpers.isMobile()&&(i.shared.$tooltip?i.$tooltip=i.shared.$tooltip:(i.shared.$tooltip=a(i.doc.createElement(\"DIV\")).addClass(\"fr-tooltip\"),i.$tooltip=i.shared.$tooltip,i.opts.theme&&i.$tooltip.addClass(\"\".concat(i.opts.theme,\"-theme\")),a(i.o_doc).find(\"body\").first().append(i.$tooltip)),i.events.on(\"shared.destroy\",function(){i.$tooltip.html(\"\").removeData().remove(),i.$tooltip=null},!0))}(),e.removeAttr(\"title\"),i.$tooltip.text(i.language.translate(e.data(\"title\"))),i.$tooltip.addClass(\"fr-visible\");var n=e.offset().left+(e.outerWidth()-i.$tooltip.outerWidth())/2;n<0&&(n=0),n+i.$tooltip.outerWidth()>a(i.o_win).width()&&(n=a(i.o_win).width()-i.$tooltip.outerWidth()),void 0===t&&(t=i.opts.toolbarBottom),e.offset().top-a(window).scrollTop()+e.outerHeight()+10>=a(window).height()&&(t=!0);var r=t?e.offset().top-i.$tooltip.height():e.offset().top+e.outerHeight();i.$tooltip.css(\"position\",\"\"),i.$tooltip.css(\"left\",n),i.$tooltip.css(\"top\",Math.ceil(r)),\"static\"!==a(i.o_doc).find(\"body\").first().css(\"position\")?(i.$tooltip.css(\"margin-left\",-a(i.o_doc).find(\"body\").first().offset().left),i.$tooltip.css(\"margin-top\",-a(i.o_doc).find(\"body\").first().offset().top)):(i.$tooltip.css(\"margin-left\",\"\"),i.$tooltip.css(\"margin-top\",\"\"))}}return{hide:r,to:o,bind:function s(e,t,n){i.opts.tooltips&&!i.helpers.isMobile()&&(i.events.$on(e,\"mouseover\",t,function(e){i.node.hasClass(e.currentTarget,\"fr-disabled\")||i.edit.isDisabled()||o(a(e.currentTarget),n)},!0),i.events.$on(e,\"mouseout \".concat(i._mousedown,\" \").concat(i._mouseup),t,function(){r()},!0))}}},I.TOOLBAR_VISIBLE_BUTTONS=3,I.MODULES.button=function(g){var h=g.$,a=[];(g.opts.toolbarInline||g.opts.toolbarContainer)&&(g.shared.buttons||(g.shared.buttons=[]),a=g.shared.buttons);var s=[];function l(e,t,n){for(var r=h(),o=0;o<e.length;o++){var i=h(e[o]);if(i.is(t)&&(r=r.add(i)),n&&i.is(\".fr-dropdown\")){var a=i.next().find(t);r=r.add(a)}}return r}function m(e,t){var n,r=h();if(!e)return r;for(n in r=(r=r.add(l(a,e,t))).add(l(s,e,t)),g.shared.popups)if(Object.prototype.hasOwnProperty.call(g.shared.popups,n)){var o=g.shared.popups[n].children().find(e);r=r.add(o)}for(n in g.shared.modals)if(Object.prototype.hasOwnProperty.call(g.shared.modals,n)){var i=g.shared.modals[n].$modal.find(e);r=r.add(i)}return r}function o(e){var t=e.next(),n=g.node.hasClass(e.get(0),\"fr-active\"),r=m(\".fr-dropdown.fr-active\").not(e),o=e.parents(\".fr-toolbar, .fr-popup\").data(\"instance\")||g;o.helpers.isIOS()&&!o.el.querySelector(\".fr-marker\")&&(o.selection.save(),o.selection.clear(),o.selection.restore()),t.parents(\".fr-more-toolbar\").addClass(\"fr-overflow-visible\");var i=0,a=0,s=t.find(\"> .fr-dropdown-wrapper\");if(!n){var l=e.data(\"cmd\");t.find(\".fr-command\").removeClass(\"fr-active\").attr(\"aria-selected\",!1),I.COMMANDS[l]&&I.COMMANDS[l].refreshOnShow&&I.COMMANDS[l].refreshOnShow.apply(o,[e,t]),t.css(\"left\",e.offset().left-e.parents(\".fr-btn-wrap, .fr-toolbar, .fr-buttons\").offset().left-(\"rtl\"===g.opts.direction?t.width()-e.outerWidth():0)),t.addClass(\"test-height\"),i=t.outerHeight(),a=g.helpers.getPX(s.css(\"max-height\")),t.removeClass(\"test-height\"),t.css(\"top\",\"\").css(\"bottom\",\"\");var c=e.outerHeight()/10;if(!g.opts.toolbarBottom&&t.offset().top+e.outerHeight()+i<h(g.o_doc).height())t.css(\"top\",e.position().top+e.outerHeight()-c);else{var d=0,f=e.parents(\".fr-more-toolbar\");0<f.length&&(d=f.first().height()),t.css(\"bottom\",e.parents(\".fr-popup, .fr-toolbar\").first().height()-d-e.position().top)}}(e.addClass(\"fr-blink\").toggleClass(\"fr-active\"),e.hasClass(\"fr-options\"))&&e.prev().toggleClass(\"fr-expanded\");e.hasClass(\"fr-active\")?(t.attr(\"aria-hidden\",!1),e.attr(\"aria-expanded\",!0),function u(e,t,n){n<=t&&(e.parent().css(\"overflow\",\"auto\"),e.parent().css(\"overflow-x\",\"hidden\")),e.css(\"height\",Math.min(t,n))}(s,i,a)):(t.attr(\"aria-hidden\",!0).css(\"overflow\",\"\"),e.attr(\"aria-expanded\",!1),s.css(\"height\",\"\")),setTimeout(function(){e.removeClass(\"fr-blink\")},300),t.css(\"margin-left\",\"\"),t.offset().left+t.outerWidth()>g.$sc.offset().left+g.$sc.width()&&t.css(\"margin-left\",-(t.offset().left+t.outerWidth()-g.$sc.offset().left-g.$sc.width())),t.offset().left<g.$sc.offset().left&&\"rtl\"===g.opts.direction&&t.css(\"margin-left\",g.$sc.offset().left),r.removeClass(\"fr-active\").attr(\"aria-expanded\",!1).next().attr(\"aria-hidden\",!0).css(\"overflow\",\"\").find(\"> .fr-dropdown-wrapper\").css(\"height\",\"\"),r.prev(\".fr-expanded\").removeClass(\"fr-expanded\"),r.parents(\".fr-toolbar:not(.fr-inline)\").css(\"zIndex\",\"\"),0!==e.parents(\".fr-popup\").length||g.opts.toolbarInline||(g.node.hasClass(e.get(0),\"fr-active\")?g.$tb.css(\"zIndex\",(g.opts.zIndex||1)+4):g.$tb.css(\"zIndex\",\"\"));var p=t.find(\"a.fr-command.fr-active\").first();g.helpers.isMobile()||(p.length?(g.accessibility.focusToolbarElement(p),s.scrollTop(Math.abs(p.parents(\".fr-dropdown-content\").offset().top-p.offset().top)-p.offset().top)):(g.accessibility.focusToolbarElement(e),s.scrollTop(0)))}function i(e){e.addClass(\"fr-blink\"),setTimeout(function(){e.removeClass(\"fr-blink\")},500);for(var t=e.data(\"cmd\"),n=[];void 0!==e.data(\"param\".concat(n.length+1));)n.push(e.data(\"param\".concat(n.length+1)));var r=m(\".fr-dropdown.fr-active\");r.length&&(r.removeClass(\"fr-active\").attr(\"aria-expanded\",!1).next().attr(\"aria-hidden\",!0).css(\"overflow\",\"\").find(\"> .fr-dropdown-wrapper\").css(\"height\",\"\"),r.prev(\".fr-expanded\").removeClass(\"fr-expanded\"),r.parents(\".fr-toolbar:not(.fr-inline)\").css(\"zIndex\",\"\")),e.parents(\".fr-popup, .fr-toolbar\").data(\"instance\").commands.exec(t,n)}function t(e){var t=e.parents(\".fr-popup, .fr-toolbar\").data(\"instance\");if(0===e.parents(\".fr-popup\").length&&e.data(\"popup\")&&!e.hasClass(\"fr-btn-active-popup\")&&e.addClass(\"fr-btn-active-popup\"),0!==e.parents(\".fr-popup\").length||e.data(\"popup\")||t.popups.hideAll(),t.popups.areVisible()&&!t.popups.areVisible(t)){for(var n=0;n<I.INSTANCES.length;n++)I.INSTANCES[n]!==t&&I.INSTANCES[n].popups&&I.INSTANCES[n].popups.areVisible()&&I.INSTANCES[n].$el.find(\".fr-marker\").remove();t.popups.hideAll()}g.node.hasClass(e.get(0),\"fr-dropdown\")?o(e):(!function r(e){i(e)}(e),I.COMMANDS[e.data(\"cmd\")]&&!1!==I.COMMANDS[e.data(\"cmd\")].refreshAfterCallback&&t.button.bulkRefresh())}function c(e){t(h(e.currentTarget))}function d(e){var t=e.find(\".fr-dropdown.fr-active\");t.length&&(t.removeClass(\"fr-active\").attr(\"aria-expanded\",!1).next().attr(\"aria-hidden\",!0).css(\"overflow\",\"\").find(\"> .fr-dropdown-wrapper\").css(\"height\",\"\"),t.parents(\".fr-toolbar:not(.fr-inline)\").css(\"zIndex\",\"\"),t.prev().removeClass(\"fr-expanded\"))}function f(e){e.preventDefault(),e.stopPropagation()}function p(e){if(e.stopPropagation(),!g.helpers.isMobile())return!1}function C(e){var t=1<arguments.length&&arguments[1]!==undefined?arguments[1]:{},n=2<arguments.length?arguments[2]:undefined;if(g.helpers.isMobile()&&!1===t.showOnMobile)return\"\";var r=t.displaySelection;\"function\"==typeof r&&(r=r(g));var o=\"\";if(\"options\"!==t.type)if(r){var i=\"function\"==typeof t.defaultSelection?t.defaultSelection(g):t.defaultSelection;o='<span style=\"width:'.concat(t.displaySelectionWidth||100,'px\">').concat(g.language.translate(i||t.title),\"</span>\")}else o=g.icon.create(t.icon||e),o+='<span class=\"fr-sr-only\">'.concat(g.language.translate(t.title)||\"\",\"</span>\");var a=t.popup?' data-popup=\"true\"':\"\",s=t.modal?' data-modal=\"true\"':\"\",l=g.shortcuts.get(\"\".concat(e,\".\"));l=l?\" (\".concat(l,\")\"):\"\";var c=\"\".concat(e,\"-\").concat(g.id),d=\"dropdown-menu-\".concat(c),f='<button id=\"'.concat(c,'\"').concat(t.more_btn?' data-group-name=\"'.concat(c,'\" '):\"\",'type=\"button\" tabIndex=\"-1\" role=\"button\"').concat(t.toggle?' aria-pressed=\"false\"':\"\").concat(\"dropdown\"===t.type||\"options\"===t.type?' aria-controls=\"'.concat(d,'\" aria-expanded=\"false\" aria-haspopup=\"true\"'):\"\").concat(t.disabled?' aria-disabled=\"true\"':\"\",' title=\"').concat(g.language.translate(t.title)||\"\").concat(l,'\" class=\"fr-command fr-btn').concat(\"dropdown\"===t.type||\"options\"==t.type?\" fr-dropdown\":\"\").concat(\"options\"==t.type?\" fr-options\":\"\").concat(\"more\"==t.type?\" fr-more\":\"\").concat(t.displaySelection?\" fr-selection\":\"\").concat(t.back?\" fr-back\":\"\").concat(t.disabled?\" fr-disabled\":\"\").concat(n?\"\":\" fr-hidden\",'\" data-cmd=\"').concat(e,'\"').concat(a).concat(s,\">\").concat(o,\"</button>\");if(\"dropdown\"===t.type||\"options\"===t.type){var p='<div id=\"'.concat(d,'\" class=\"fr-dropdown-menu\" role=\"listbox\" aria-labelledby=\"').concat(c,'\" aria-hidden=\"true\"><div class=\"fr-dropdown-wrapper\" role=\"presentation\"><div class=\"fr-dropdown-content\" role=\"presentation\">');p+=function u(e,t){var n=\"\";if(t.html)\"function\"==typeof t.html?n+=t.html.call(g):n+=t.html;else{var r=t.options;for(var o in\"function\"==typeof r&&(r=r()),n+='<ul class=\"fr-dropdown-list\" role=\"presentation\">',r)if(Object.prototype.hasOwnProperty.call(r,o)){var i=g.shortcuts.get(\"\".concat(e,\".\").concat(o));i=i?'<span class=\"fr-shortcut\">'.concat(i,\"</span>\"):\"\",n+='<li role=\"presentation\"><a class=\"fr-command\" tabIndex=\"-1\" role=\"option\" data-cmd=\"'.concat(\"options\"===t.type?e.replace(/Options/g,\"\"):e,'\" data-param1=\"').concat(o,'\" title=\"').concat(r[o],'\">').concat(g.language.translate(r[o]),\"</a></li>\")}n+=\"</ul>\"}return n}(e,t),f+=p+=\"</div></div></div>\"}return t.hasOptions&&t.hasOptions.apply(g)&&(f='<div class=\"fr-btn-wrap\">'.concat(f,\" \").concat(C(e+\"Options\",Object.assign({},t,{type:\"options\",hasOptions:!1}),n),\"  </div>\")),f}function e(o){var i=g.$tb&&g.$tb.data(\"instance\")||g;if(!1===g.events.trigger(\"buttons.refresh\"))return!0;setTimeout(function(){for(var e=i.selection.inEditor()&&i.core.hasFocus(),t=0;t<o.length;t++){var n=h(o[t]),r=n.data(\"cmd\");0===n.parents(\".fr-popup\").length?e||I.COMMANDS[r]&&I.COMMANDS[r].forcedRefresh?i.button.refresh(n):g.node.hasClass(n.get(0),\"fr-dropdown\")||(n.removeClass(\"fr-active\"),n.attr(\"aria-pressed\")&&n.attr(\"aria-pressed\",!1)):n.parents(\".fr-popup\").isVisible()&&i.button.refresh(n)}},0)}function n(){e(a),e(s)}function r(){a=[],s=[]}g.shared.popup_buttons||(g.shared.popup_buttons=[]),s=g.shared.popup_buttons;var u=null;function v(){clearTimeout(u),u=setTimeout(n,50)}return{_init:function b(){g.opts.toolbarInline?g.events.on(\"toolbar.show\",n):(g.events.on(\"mouseup\",v),g.events.on(\"keyup\",v),g.events.on(\"blur\",v),g.events.on(\"focus\",v),g.events.on(\"contentChanged\",v),g.helpers.isMobile()&&g.events.$on(g.$doc,\"selectionchange\",n)),g.events.on(\"shared.destroy\",r)},build:C,buildList:function L(e,t){for(var n=\"\",r=0;r<e.length;r++){var o=e[r],i=I.COMMANDS[o];i&&\"undefined\"!=typeof i.plugin&&g.opts.pluginsEnabled.indexOf(i.plugin)<0||(i?n+=C(o,i,void 0===t||0<=t.indexOf(o)):\"|\"===o?n+='<div class=\"fr-separator fr-vs\" role=\"separator\" aria-orientation=\"vertical\"></div>':\"-\"===o&&(n+='<div class=\"fr-separator fr-hs\" role=\"separator\" aria-orientation=\"horizontal\"></div>'))}return n},buildGroup:function E(e){var t=\"\",n=\"\";for(var r in e){var o=e[r];if(o.buttons){for(var i=\"\",a=\"\",s=0,l=\"left\",c=I.TOOLBAR_VISIBLE_BUTTONS,d=0;d<o.buttons.length;d++){var f=o.buttons[d],p=I.COMMANDS[f];p||(\"|\"==f?i+='<div class=\"fr-separator fr-vs\" role=\"separator\" aria-orientation=\"vertical\"></div>':\"-\"==f&&(i+='<div class=\"fr-separator fr-hs\" role=\"separator\" aria-orientation=\"horizontal\"></div>')),!p||p&&\"undefined\"!=typeof p.plugin&&g.opts.pluginsEnabled.indexOf(p.plugin)<0||(e[r].align!==undefined&&(l=e[r].align),e[r].buttonsVisible!==undefined&&(c=e[r].buttonsVisible),e.showMoreButtons&&c<=s?a+=C(f,p,!0):i+=C(f,p,!0),s++)}if(e.showMoreButtons&&c<s){var u=r,h=I.COMMANDS[u];h.more_btn=!0,i+=C(u,h,!0)}t+='<div class=\"fr-btn-grp fr-float-'.concat(l,'\">').concat(i,\"</div>\"),e.showMoreButtons&&0<a.length&&(n+='<div class=\"fr-more-toolbar\" data-name=\"'.concat(r+\"-\"+g.id,'\">').concat(a,\"</div>\"))}}return g.opts.toolbarBottom?g.helpers.isMobile()?'<div class=\"fr-bottom-extended\">'.concat(n,\"</div><div>\").concat(t,\"</div>\"):\"\".concat(n,'<div class=\"fr-newline\"></div>').concat(t):\"\".concat(t,'<div class=\"fr-newline\"></div>').concat(n)},bindCommands:function y(t,e){g.events.bindClick(t,\".fr-command:not(.fr-disabled)\",c),g.events.$on(t,\"\".concat(g._mousedown,\" \").concat(g._mouseup,\" \").concat(g._move),\".fr-dropdown-menu\",f,!0),g.events.$on(t,\"\".concat(g._mousedown,\" \").concat(g._mouseup,\" \").concat(g._move),\".fr-dropdown-menu .fr-dropdown-wrapper\",p,!0);var n=t.get(0).ownerDocument,r=\"defaultView\"in n?n.defaultView:n.parentWindow;function o(e){(!e||e.type===g._mouseup&&e.target!==h(\"html\").get(0)||\"keydown\"===e.type&&(g.keys.isCharacter(e.which)&&!g.keys.ctrlKey(e)||e.which===I.KEYCODE.ESC))&&d(t)}g.events.$on(h(r),\"\".concat(g._mouseup,\" resize keydown\"),o,!0),g.opts.iframe&&g.events.$on(g.$win,g._mouseup,o,!0),g.node.hasClass(t.get(0),\"fr-popup\")?h.merge(s,t.find(\".fr-btn\").toArray()):h.merge(a,t.find(\".fr-btn\").toArray()),g.tooltip.bind(t,\".fr-btn, .fr-title\",e)},refresh:function S(e){var t,n=e.parents(\".fr-popup, .fr-toolbar\").data(\"instance\")||g,r=e.data(\"cmd\");g.node.hasClass(e.get(0),\"fr-dropdown\")?t=e.next():(e.removeClass(\"fr-active\"),e.attr(\"aria-pressed\")&&e.attr(\"aria-pressed\",!1)),I.COMMANDS[r]&&I.COMMANDS[r].refresh?I.COMMANDS[r].refresh.apply(n,[e,t]):g.refresh[r]&&n.refresh[r](e,t)},bulkRefresh:n,exec:i,click:t,hideActiveDropdowns:d,addButtons:function T(e){for(var t=0;t<e.length;t++)a.push(e)},getButtons:m,getPosition:function M(e){var t=e.offset().left,n=g.opts.toolbarBottom?10:e.outerHeight()-10;return{left:t,top:e.offset().top+n}}}},I.ICON_TEMPLATES={font_awesome:'<i class=\"fa fa-[NAME]\" aria-hidden=\"true\"></i>',font_awesome_5:'<i class=\"fas fa-[FA5NAME]\" aria-hidden=\"true\"></i>',font_awesome_5r:'<i class=\"far fa-[FA5NAME]\" aria-hidden=\"true\"></i>',font_awesome_5l:'<i class=\"fal fa-[FA5NAME]\" aria-hidden=\"true\"></i>',font_awesome_5b:'<i class=\"fab fa-[FA5NAME]\" aria-hidden=\"true\"></i>',text:'<span style=\"text-align: center;\">[NAME]</span>',image:\"<img src=[SRC] alt=[ALT] />\",svg:'<svg class=\"fr-svg\" focusable=\"false\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"[PATH]\"/></svg>',empty:\" \"},I.ICONS={bold:{NAME:\"bold\",SVG_KEY:\"bold\"},italic:{NAME:\"italic\",SVG_KEY:\"italic\"},underline:{NAME:\"underline\",SVG_KEY:\"underline\"},strikeThrough:{NAME:\"strikethrough\",SVG_KEY:\"strikeThrough\"},subscript:{NAME:\"subscript\",SVG_KEY:\"subscript\"},superscript:{NAME:\"superscript\",SVG_KEY:\"superscript\"},cancel:{NAME:\"cancel\",SVG_KEY:\"cancel\"},color:{NAME:\"tint\",SVG_KEY:\"textColor\"},outdent:{NAME:\"outdent\",SVG_KEY:\"outdent\"},indent:{NAME:\"indent\",SVG_KEY:\"indent\"},undo:{NAME:\"rotate-left\",FA5NAME:\"undo\",SVG_KEY:\"undo\"},redo:{NAME:\"rotate-right\",FA5NAME:\"redo\",SVG_KEY:\"redo\"},insert:{NAME:\"insert\",SVG_KEY:\"insert\"},insertAll:{NAME:\"insertAll\",SVG_KEY:\"insertAll\"},insertHR:{NAME:\"minus\",SVG_KEY:\"horizontalLine\"},clearFormatting:{NAME:\"eraser\",SVG_KEY:\"clearFormatting\"},selectAll:{NAME:\"mouse-pointer\",SVG_KEY:\"selectAll\"},minimize:{NAME:\"minimize\",SVG_KEY:\"minimize\"},moreText:{NAME:\"ellipsis-v\",SVG_KEY:\"textMore\"},moreParagraph:{NAME:\"ellipsis-v\",SVG_KEY:\"paragraphMore\"},moreRich:{NAME:\"ellipsis-v\",SVG_KEY:\"insertMore\"},moreMisc:{NAME:\"ellipsis-v\",SVG_KEY:\"more\"}},I.DefineIconTemplate=function(e,t){I.ICON_TEMPLATES[e]=t},I.DefineIcon=function(e,t){I.ICONS[e]=t},Object.assign(I.DEFAULTS,{iconsTemplate:\"svg\"}),I.MODULES.icon=function(o){return{create:function i(n){var e=null,r=I.ICONS[n];if(void 0!==r){var t=r.template||I.ICON_DEFAULT_TEMPLATE||o.opts.iconsTemplate;t&&t.apply&&(t=t.apply(o)),r.FA5NAME||(r.FA5NAME=r.NAME),\"svg\"!==t||r.PATH||(r.PATH=I.SVG[r.SVG_KEY]||\"\"),t&&(t=I.ICON_TEMPLATES[t])&&(e=t.replace(/\\[([a-zA-Z0-9]*)\\]/g,function(e,t){return\"NAME\"===t?r[t]||n:r[t]}))}return e||n},getTemplate:function r(e){var t=I.ICONS[e],n=o.opts.iconsTemplate;return void 0!==t?n=t.template||I.ICON_DEFAULT_TEMPLATE||o.opts.iconsTemplate:n},getFileIcon:function n(e){var t=I.FILEICONS[e];return void 0!==t?t:e}}},I.SVG={add:\"M19,13h-6v6h-2v-6H5v-2h6V5h2v6h6V13z\",advancedImageEditor:\"M3,17v2h6v-2H3z M3,5v2h10V5H3z M13,21v-2h8v-2h-8v-2h-2v6H13z M7,9v2H3v2h4v2h2V9H7z M21,13v-2H11v2H21z M15,9h2V7h4V5h-4  V3h-2V9z\",alignCenter:\"M9,18h6v-2H9V18z M6,11v2h12v-2H6z M3,6v2h18V6H3z\",alignJustify:\"M3,18h18v-2H3V18z M3,11v2h18v-2H3z M3,6v2h18V6H3z\",alignLeft:\"M3,18h6v-2H3V18z M3,11v2h12v-2H3z M3,6v2h18V6H3z\",alignRight:\"M15,18h6v-2h-6V18z M9,11v2h12v-2H9z M3,6v2h18V6H3z\",anchors:\"M16,4h-4H8C6.9,4,6,4.9,6,6v4v10l6-2.6l6,2.6V10V6C18,4.9,17.1,4,16,4z M16,17l-4-1.8L8,17v-7V6h4h4v4V17z\",autoplay:\"M 7.570312 0.292969 C 7.542969 0.292969 7.515625 0.292969 7.488281 0.296875 C 7.203125 0.324219 6.984375 0.539062 6.980469 0.792969 L 6.925781 3.535156 C 2.796875 3.808594 -0.0078125 6.425781 -0.0859375 10.09375 C -0.121094 11.96875 0.710938 13.6875 2.265625 14.921875 C 3.769531 16.117188 5.839844 16.796875 8.097656 16.828125 C 8.140625 16.828125 12.835938 16.898438 13.035156 16.886719 C 15.171875 16.796875 17.136719 16.128906 18.558594 15.003906 C 20.066406 13.816406 20.882812 12.226562 20.917969 10.40625 C 20.960938 8.410156 20.023438 6.605469 18.289062 5.335938 C 18.214844 5.277344 18.128906 5.230469 18.035156 5.203125 C 17.636719 5.074219 17.222656 5.199219 17 5.476562 L 15.546875 7.308594 C 15.304688 7.609375 15.363281 8.007812 15.664062 8.265625 C 16.351562 8.851562 16.707031 9.625 16.6875 10.5 C 16.652344 12.25 15.070312 13.390625 12.757812 13.535156 C 12.59375 13.539062 8.527344 13.472656 8.164062 13.464844 C 5.703125 13.429688 4.101562 12.191406 4.140625 10.3125 C 4.175781 8.570312 5.132812 7.46875 6.847656 7.199219 L 6.796875 9.738281 C 6.792969 9.992188 7 10.214844 7.285156 10.253906 C 7.3125 10.257812 7.339844 10.257812 7.367188 10.257812 C 7.503906 10.261719 7.632812 10.222656 7.738281 10.148438 L 14.039062 5.785156 C 14.171875 5.691406 14.253906 5.558594 14.253906 5.410156 C 14.257812 5.261719 14.1875 5.125 14.058594 5.027344 L 7.941406 0.414062 C 7.835938 0.335938 7.707031 0.292969 7.570312 0.292969 \",back:\"M20 11L7.83 11 11.425 7.405 10.01 5.991 5.416 10.586 5.414 10.584 4 11.998 4.002 12 4 12.002 5.414 13.416 5.416 13.414 10.01 18.009 11.425 16.595 7.83 13 20 13 20 13 20 11 20 11Z\",backgroundColor:\"M9.91752,12.24082l7.74791-5.39017,1.17942,1.29591-6.094,7.20747L9.91752,12.24082M7.58741,12.652l4.53533,4.98327a.93412.93412,0,0,0,1.39531-.0909L20.96943,8.7314A.90827.90827,0,0,0,20.99075,7.533l-2.513-2.76116a.90827.90827,0,0,0-1.19509-.09132L7.809,11.27135A.93412.93412,0,0,0,7.58741,12.652ZM2.7939,18.52772,8.41126,19.5l1.47913-1.34617-3.02889-3.328Z\",blockquote:\"M10.31788,5l.93817,1.3226A12.88271,12.88271,0,0,0,8.1653,9.40125a5.54242,5.54242,0,0,0-.998,3.07866v.33733q.36089-.04773.66067-.084a4.75723,4.75723,0,0,1,.56519-.03691,2.87044,2.87044,0,0,1,2.11693.8427,2.8416,2.8416,0,0,1,.8427,2.09274,3.37183,3.37183,0,0,1-.8898,2.453A3.143,3.143,0,0,1,8.10547,19,3.40532,3.40532,0,0,1,5.375,17.7245,4.91156,4.91156,0,0,1,4.30442,14.453,9.3672,9.3672,0,0,1,5.82051,9.32933,14.75716,14.75716,0,0,1,10.31788,5Zm8.39243,0,.9369,1.3226a12.88289,12.88289,0,0,0-3.09075,3.07865,5.54241,5.54241,0,0,0-.998,3.07866v.33733q.33606-.04773.63775-.084a4.91773,4.91773,0,0,1,.58938-.03691,2.8043,2.8043,0,0,1,2.1042.83,2.89952,2.89952,0,0,1,.80578,2.10547,3.42336,3.42336,0,0,1-.86561,2.453A3.06291,3.06291,0,0,1,16.49664,19,3.47924,3.47924,0,0,1,13.742,17.7245,4.846,4.846,0,0,1,12.64721,14.453,9.25867,9.25867,0,0,1,14.17476,9.3898,15.26076,15.26076,0,0,1,18.71031,5Z\",bold:\"M15.25,11.8h0A3.68,3.68,0,0,0,17,9a3.93,3.93,0,0,0-3.86-4H6.65V19h7a3.74,3.74,0,0,0,3.7-3.78V15.1A3.64,3.64,0,0,0,15.25,11.8ZM8.65,7h4.2a2.09,2.09,0,0,1,2,1.3,2.09,2.09,0,0,1-1.37,2.61,2.23,2.23,0,0,1-.63.09H8.65Zm4.6,10H8.65V13h4.6a2.09,2.09,0,0,1,2,1.3,2.09,2.09,0,0,1-1.37,2.61A2.23,2.23,0,0,1,13.25,17Z\",cancel:\"M13.4,12l5.6,5.6L17.6,19L12,13.4L6.4,19L5,17.6l5.6-5.6L5,6.4L6.4,5l5.6,5.6L17.6,5L19,6.4L13.4,12z\",cellBackground:\"M16.6,12.4L7.6,3.5L6.2,4.9l2.4,2.4l-5.2,5.2c-0.6,0.6-0.6,1.5,0,2.1l5.5,5.5c0.3,0.3,0.7,0.4,1.1,0.4s0.8-0.1,1.1-0.4  l5.5-5.5C17.2,14,17.2,13,16.6,12.4z M5.2,13.5L10,8.7l4.8,4.8H5.2z M19,15c0,0-2,2.2-2,3.5c0,1.1,0.9,2,2,2s2-0.9,2-2  C21,17.2,19,15,19,15z\",cellBorderColor:\"M22,22H2v2h20V22z\",cellOptions:\"M20,5H4C2.9,5,2,5.9,2,7v10c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V7C22,5.9,21.1,5,20,5z M9.5,6.5h5V9h-5V6.5z M8,17.5H4  c-0.3,0-0.5-0.2-0.5-0.4c0,0,0,0,0,0V17v-2H8V17.5z M8,13.5H3.5v-3H8V13.5z M8,9H3.5V7c0-0.3,0.2-0.5,0.4-0.5c0,0,0,0,0,0H8V9z   M14.5,17.5h-5V15h5V17.5z M20.5,17c0,0.3-0.2,0.5-0.4,0.5c0,0,0,0,0,0H16V15h4.5V17z M20.5,13.5H16v-3h4.5V13.5z M20.5,9H16V6.5h4  c0.3,0,0.5,0.2,0.5,0.4c0,0,0,0,0,0V9z\",cellStyle:\"M20,19.9l0.9,3.6l-3.2-1.9l-3.3,1.9l0.8-3.6L12.3,17h3.8l1.7-3.5l1.4,3.5H23L20,19.9z M20,5H4C2.9,5,2,5.9,2,7v10  c0,1.1,0.9,2,2,2h7.5l-0.6-0.6L10,17.5H9.5V15h5.4l1.1-2.3v-2.2h4.5v3H20l0.6,1.5H22V7C22,5.9,21.1,5,20,5z M3.5,7  c0-0.3,0.2-0.5,0.4-0.5c0,0,0,0,0.1,0h4V9H3.5V7z M3.5,10.5H8v3H3.5V10.5z M4,17.5c-0.3,0-0.5-0.2-0.5-0.4c0,0,0,0,0-0.1v-2H8v2.5H4  z M14.5,9h-5V6.5h5V9z M20.5,9H16V6.5h4c0.3,0,0.5,0.2,0.5,0.4c0,0,0,0,0,0.1V9z\",clearFormatting:\"M11.48,10.09l-1.2-1.21L8.8,7.41,6.43,5,5.37,6.1,8.25,9,4.66,19h2l1.43-4h5.14l1.43,4h2l-.89-2.51L18.27,19l1.07-1.06L14.59,13.2ZM8.8,13l.92-2.56L12.27,13Zm.56-7.15L9.66,5h2l1.75,4.9Z\",close:\"M13.4,12l5.6,5.6L17.6,19L12,13.4L6.4,19L5,17.6l5.6-5.6L5,6.4L6.4,5l5.6,5.6L17.6,5L19,6.4L13.4,12z\",codeView:\"M9.4,16.6,4.8,12,9.4,7.4,8,6,2,12l6,6Zm5.2,0L19.2,12,14.6,7.4,16,6l6,6-6,6Z\",cogs:\"M18.877 12.907a6.459 6.459 0 0 0 0 -1.814l1.952 -1.526a0.468 0.468 0 0 0 0.111 -0.593l-1.851 -3.2a0.461 0.461 0 0 0 -0.407 -0.231 0.421 0.421 0 0 0 -0.157 0.028l-2.3 0.925a6.755 6.755 0 0 0 -1.563 -0.907l-0.352 -2.452a0.451 0.451 0 0 0 -0.453 -0.388h-3.7a0.451 0.451 0 0 0 -0.454 0.388L9.347 5.588A7.077 7.077 0 0 0 7.783 6.5l-2.3 -0.925a0.508 0.508 0 0 0 -0.166 -0.028 0.457 0.457 0 0 0 -0.4 0.231l-1.851 3.2a0.457 0.457 0 0 0 0.111 0.593l1.952 1.526A7.348 7.348 0 0 0 5.063 12a7.348 7.348 0 0 0 0.064 0.907L3.175 14.433a0.468 0.468 0 0 0 -0.111 0.593l1.851 3.2a0.461 0.461 0 0 0 0.407 0.231 0.421 0.421 0 0 0 0.157 -0.028l2.3 -0.925a6.74 6.74 0 0 0 1.564 0.907L9.7 20.864a0.451 0.451 0 0 0 0.454 0.388h3.7a0.451 0.451 0 0 0 0.453 -0.388l0.352 -2.452a7.093 7.093 0 0 0 1.563 -0.907l2.3 0.925a0.513 0.513 0 0 0 0.167 0.028 0.457 0.457 0 0 0 0.4 -0.231l1.851 -3.2a0.468 0.468 0 0 0 -0.111 -0.593Zm-0.09 2.029l-0.854 1.476 -2.117 -0.852 -0.673 0.508a5.426 5.426 0 0 1 -1.164 0.679l-0.795 0.323 -0.33 2.269h-1.7l-0.32 -2.269 -0.793 -0.322a5.3 5.3 0 0 1 -1.147 -0.662L8.2 15.56l-2.133 0.86 -0.854 -1.475 1.806 -1.411 -0.1 -0.847c-0.028 -0.292 -0.046 -0.5 -0.046 -0.687s0.018 -0.4 0.045 -0.672l0.106 -0.854L5.217 9.064l0.854 -1.475 2.117 0.851 0.673 -0.508a5.426 5.426 0 0 1 1.164 -0.679l0.8 -0.323 0.331 -2.269h1.7l0.321 2.269 0.792 0.322a5.3 5.3 0 0 1 1.148 0.661l0.684 0.526 2.133 -0.859 0.853 1.473 -1.8 1.421 0.1 0.847a5 5 0 0 1 0.046 0.679c0 0.193 -0.018 0.4 -0.045 0.672l-0.106 0.853ZM12 14.544A2.544 2.544 0 1 1 14.546 12 2.552 2.552 0 0 1 12 14.544Z\",columns:\"M20,5H4C2.9,5,2,5.9,2,7v10c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V7C22,5.9,21.1,5,20,5z M8,17.5H4c-0.3,0-0.5-0.2-0.5-0.4  c0,0,0,0,0,0V17v-2H8V17.5z M8,13.5H3.5v-3H8V13.5z M8,9H3.5V7c0-0.3,0.2-0.5,0.4-0.5c0,0,0,0,0,0H8V9z M20.5,17  c0,0.3-0.2,0.5-0.4,0.5c0,0,0,0,0,0H16V15h4.5V17z M20.5,13.5H16v-3h4.5V13.5z M20.5,9H16V6.5h4c0.3,0,0.5,0.2,0.5,0.4c0,0,0,0,0,0  V9z\",edit:\"M17,11.2L12.8,7L5,14.8V19h4.2L17,11.2z M7,16.8v-1.5l5.6-5.6l1.4,1.5l-5.6,5.6H7z M13.5,6.3l0.7-0.7c0.8-0.8,2.1-0.8,2.8,0  c0,0,0,0,0,0L18.4,7c0.8,0.8,0.8,2,0,2.8l-0.7,0.7L13.5,6.3z\",exitFullscreen:\"M5,16H8v3h2V14H5ZM8,8H5v2h5V5H8Zm6,11h2V16h3V14H14ZM16,8V5H14v5h5V8Z\",fileInsert:\"M 8.09375 12.75 L 5.90625 12.75 C 5.542969 12.75 5.25 12.394531 5.25 11.953125 L 5.25 6.375 L 2.851562 6.375 C 2.367188 6.375 2.121094 5.660156 2.464844 5.242188 L 6.625 0.1875 C 6.832031 -0.0585938 7.167969 -0.0585938 7.371094 0.1875 L 11.535156 5.242188 C 11.878906 5.660156 11.632812 6.375 11.148438 6.375 L 8.75 6.375 L 8.75 11.953125 C 8.75 12.394531 8.457031 12.75 8.09375 12.75 Z M 14 12.484375 L 14 16.203125 C 14 16.644531 13.707031 17 13.34375 17 L 0.65625 17 C 0.292969 17 0 16.644531 0 16.203125 L 0 12.484375 C 0 12.042969 0.292969 11.6875 0.65625 11.6875 L 4.375 11.6875 L 4.375 11.953125 C 4.375 12.980469 5.0625 13.8125 5.90625 13.8125 L 8.09375 13.8125 C 8.9375 13.8125 9.625 12.980469 9.625 11.953125 L 9.625 11.6875 L 13.34375 11.6875 C 13.707031 11.6875 14 12.042969 14 12.484375 Z M 10.609375 15.40625 C 10.609375 15.039062 10.363281 14.742188 10.0625 14.742188 C 9.761719 14.742188 9.515625 15.039062 9.515625 15.40625 C 9.515625 15.773438 9.761719 16.070312 10.0625 16.070312 C 10.363281 16.070312 10.609375 15.773438 10.609375 15.40625 Z M 12.359375 15.40625 C 12.359375 15.039062 12.113281 14.742188 11.8125 14.742188 C 11.511719 14.742188 11.265625 15.039062 11.265625 15.40625 C 11.265625 15.773438 11.511719 16.070312 11.8125 16.070312 C 12.113281 16.070312 12.359375 15.773438 12.359375 15.40625 Z M 12.359375 15.40625 \",fileManager:\"M 0 5.625 L 20.996094 5.625 L 21 15.75 C 21 16.371094 20.410156 16.875 19.6875 16.875 L 1.3125 16.875 C 0.585938 16.875 0 16.371094 0 15.75 Z M 0 5.625 M 21 4.5 L 0 4.5 L 0 2.25 C 0 1.628906 0.585938 1.125 1.3125 1.125 L 6.921875 1.125 C 7.480469 1.125 8.015625 1.316406 8.40625 1.652344 L 9.800781 2.847656 C 10.195312 3.183594 10.730469 3.375 11.289062 3.375 L 19.6875 3.375 C 20.414062 3.375 21 3.878906 21 4.5 Z M 21 4.5\",fontAwesome:\"M18.99018,13.98212V7.52679c-.08038-1.21875-1.33929-.683-1.33929-.683-2.933,1.39282-4.36274.61938-5.85938.15625a6.23272,6.23272,0,0,0-2.79376-.20062l-.00946.004A1.98777,1.98777,0,0,0,7.62189,5.106a.984.984,0,0,0-.17517-.05432c-.02447-.0055-.04882-.01032-.0736-.0149A.9565.9565,0,0,0,7.1908,5H6.82539a.9565.9565,0,0,0-.18232.0368c-.02472.00458-.04907.0094-.07348.01484a.985.985,0,0,0-.17523.05438,1.98585,1.98585,0,0,0-.573,3.49585v9.394A1.004,1.004,0,0,0,6.82539,19H7.1908a1.00406,1.00406,0,0,0,1.00409-1.00409V15.52234c3.64221-1.09827,5.19709.64282,7.09888.57587a5.57291,5.57291,0,0,0,3.25446-1.05805A1.2458,1.2458,0,0,0,18.99018,13.98212Z\",fontFamily:\"M16,19h2L13,5H11L6,19H8l1.43-4h5.14Zm-5.86-6L12,7.8,13.86,13Z\",fontSize:\"M20.75,19h1.5l-3-10h-1.5l-3,10h1.5L17,16.5h3Zm-3.3-4,1.05-3.5L19.55,15Zm-5.7,4h2l-5-14h-2l-5,14h2l1.43-4h5.14ZM5.89,13,7.75,7.8,9.61,13Z\",fullscreen:\"M7,14H5v5h5V17H7ZM5,10H7V7h3V5H5Zm12,7H14v2h5V14H17ZM14,5V7h3v3h2V5Z\",help:\"M11,17h2v2h-2V17z M12,5C9.8,5,8,6.8,8,9h2c0-1.1,0.9-2,2-2s2,0.9,2,2c0,2-3,1.7-3,5v1h2v-1c0-2.2,3-2.5,3-5  C16,6.8,14.2,5,12,5z\",horizontalLine:\"M5,12h14 M19,11H5v2h14V11z\",imageAltText:\"M19,7h-6v12h-2V7H5V5h6h2h6V7z\",imageCaption:\"M14.2,11l3.8,5H6l3-3.9l2.1,2.7L14,11H14.2z M8.5,11c0.8,0,1.5-0.7,1.5-1.5S9.3,8,8.5,8S7,8.7,7,9.5C7,10.3,7.7,11,8.5,11z   M22,6v12c0,1.1-0.9,2-2,2H4c-1.1,0-2-0.9-2-2V6c0-1.1,0.9-2,2-2h16C21.1,4,22,4.9,22,6z M20,8.8V6H4v12h16V8.8z M22,22H2v2h20V22z\",imageClass:\"M9.5,13.4l-2.9-2.9h3.8L12.2,7l1.4,3.5h3.8l-3,2.9l0.9,3.6L12,15.1L8.8,17L9.5,13.4z M22,6v12c0,1.1-0.9,2-2,2H4  c-1.1,0-2-0.9-2-2V6c0-1.1,0.9-2,2-2h16C21.1,4,22,4.9,22,6z M20,6H4v12h16V8.8V6z\",imageDisplay:\"M3,5h18v2H3V5z M13,9h8v2h-8V9z M13,13h8v2h-8V13z M3,17h18v2H3V17z M3,9h8v6H3V9z\",imageManager:\"M20,6h-7l-2-2H4C2.9,4,2,4.9,2,6v12c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V8C22,6.9,21.1,6,20,6z M20,18H4V6h6.2l2,2H20V18z   M18,16l-3.8-5H14l-2.9,3.8L9,12.1L6,16H18z M10,9.5C10,8.7,9.3,8,8.5,8S7,8.7,7,9.5S7.7,11,8.5,11S10,10.3,10,9.5z\",imageSize:\"M16.9,4c-0.3,0-0.5,0.2-0.8,0.3L3.3,13c-0.9,0.6-1.1,1.9-0.5,2.8l2.2,3.3c0.4,0.7,1.2,1,2,0.8c0.3,0,0.5-0.2,0.8-0.3  L20.7,11c0.9-0.6,1.1-1.9,0.5-2.8l-2.2-3.3C18.5,4.2,17.7,3.9,16.9,4L16.9,4z M16.9,9.9L18.1,9l-2-2.9L17,5.6c0.1,0,0.1-0.1,0.2-0.1  c0.2,0,0.4,0,0.5,0.2L19.9,9c0.2,0.2,0.1,0.5-0.1,0.7L7,18.4c-0.1,0-0.1,0.1-0.2,0.1c-0.2,0-0.4,0-0.5-0.2L4.1,15  c-0.2-0.2-0.1-0.5,0.1-0.7L5,13.7l2,2.9l1.2-0.8l-2-2.9L7.5,12l1.1,1.7l1.2-0.8l-1.1-1.7l1.2-0.8l2,2.9l1.2-0.8l-2-2.9l1.2-0.8  l1.1,1.7l1.2-0.8l-1.1-1.7L14.9,7L16.9,9.9z\",indent:\"M3,9v6l3-3L3,9z M3,19h18v-2H3V19z M3,7h18V5H3V7z M9,11h12V9H9V11z M9,15h12v-2H9V15z\",inlineClass:\"M9.9,13.313A1.2,1.2,0,0,1,9.968,13H6.277l1.86-5.2,1.841,5.148A1.291,1.291,0,0,1,11.212,12h.426l-2.5-7h-2l-5,14h2l1.43-4H9.9Zm2.651,6.727a2.884,2.884,0,0,1-.655-2.018v-2.71A1.309,1.309,0,0,1,13.208,14h3.113a3.039,3.039,0,0,1,2,1.092s1.728,1.818,2.964,2.928a1.383,1.383,0,0,1,.318,1.931,1.44,1.44,0,0,1-.19.215l-3.347,3.31a1.309,1.309,0,0,1-1.832.258h0a1.282,1.282,0,0,1-.258-.257l-1.71-1.728Zm2.48-3.96a.773.773,0,1,0,.008,0Z\",inlineStyle:\"M11.88,15h.7l.7-1.7-3-8.3h-2l-5,14h2l1.4-4Zm-4.4-2,1.9-5.2,1.9,5.2ZM15.4,21.545l3.246,1.949-.909-3.637L20.72,17H16.954l-1.429-3.506L13.837,17H10.071l2.857,2.857-.779,3.637Z\",insert:\"M13.889,11.611c-0.17,0.17-0.443,0.17-0.612,0l-3.189-3.187l-3.363,3.36c-0.171,0.171-0.441,0.171-0.612,0c-0.172-0.169-0.172-0.443,0-0.611l3.667-3.669c0.17-0.17,0.445-0.172,0.614,0l3.496,3.493C14.058,11.167,14.061,11.443,13.889,11.611 M18.25,10c0,4.558-3.693,8.25-8.25,8.25c-4.557,0-8.25-3.692-8.25-8.25c0-4.557,3.693-8.25,8.25-8.25C14.557,1.75,18.25,5.443,18.25,10 M17.383,10c0-4.07-3.312-7.382-7.383-7.382S2.618,5.93,2.618,10S5.93,17.381,10,17.381S17.383,14.07,17.383,10\",insertEmbed:\"M20.73889,15.45929a3.4768,3.4768,0,0,0-5.45965-.28662L9.5661,12.50861a3.49811,3.49811,0,0,0-.00873-1.01331l5.72174-2.66809a3.55783,3.55783,0,1,0-.84527-1.81262L8.70966,9.6839a3.50851,3.50851,0,1,0,.0111,4.63727l5.7132,2.66412a3.49763,3.49763,0,1,0,6.30493-1.526ZM18.00745,5.01056A1.49993,1.49993,0,1,1,16.39551,6.3894,1.49994,1.49994,0,0,1,18.00745,5.01056ZM5.99237,13.49536a1.49989,1.49989,0,1,1,1.61194-1.37878A1.49982,1.49982,0,0,1,5.99237,13.49536Zm11.78211,5.494a1.49993,1.49993,0,1,1,1.61193-1.37885A1.49987,1.49987,0,0,1,17.77448,18.98932Z\",insertFile:\"M7,3C5.9,3,5,3.9,5,5v14c0,1.1,0.9,2,2,2h10c1.1,0,2-0.9,2-2V7.6L14.4,3H7z M17,19H7V5h6v4h4V19z\",insertImage:\"M14.2,11l3.8,5H6l3-3.9l2.1,2.7L14,11H14.2z M8.5,11c0.8,0,1.5-0.7,1.5-1.5S9.3,8,8.5,8S7,8.7,7,9.5C7,10.3,7.7,11,8.5,11z   M22,6v12c0,1.1-0.9,2-2,2H4c-1.1,0-2-0.9-2-2V6c0-1.1,0.9-2,2-2h16C21.1,4,22,4.9,22,6z M20,8.8V6H4v12h16V8.8z\",insertLink:\"M11,17H7A5,5,0,0,1,7,7h4V9H7a3,3,0,0,0,0,6h4ZM17,7H13V9h4a3,3,0,0,1,0,6H13v2h4A5,5,0,0,0,17,7Zm-1,4H8v2h8Z\",insertMore:\"M16.5,13h-6v6h-2V13h-6V11h6V5h2v6h6Zm5,4.5A1.5,1.5,0,1,1,20,16,1.5,1.5,0,0,1,21.5,17.5Zm0-4A1.5,1.5,0,1,1,20,12,1.5,1.5,0,0,1,21.5,13.5Zm0-4A1.5,1.5,0,1,1,20,8,1.5,1.5,0,0,1,21.5,9.5Z\",insertTable:\"M20,5H4C2.9,5,2,5.9,2,7v2v1.5v3V15v2c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2v-2v-1.5v-3V9V7C22,5.9,21.1,5,20,5z M9.5,13.5v-3  h5v3H9.5z M14.5,15v2.5h-5V15H14.5z M9.5,9V6.5h5V9H9.5z M3.5,7c0-0.3,0.2-0.5,0.5-0.5h4V9H3.5V7z M3.5,10.5H8v3H3.5V10.5z M3.5,17  v-2H8v2.5H4C3.7,17.5,3.5,17.3,3.5,17z M20.5,17c0,0.3-0.2,0.5-0.5,0.5h-4V15h4.5V17z M20.5,13.5H16v-3h4.5V13.5z M16,9V6.5h4  c0.3,0,0.5,0.2,0.5,0.5v2H16z\",insertVideo:\"M15,8v8H5V8H15m2,2.5V7a1,1,0,0,0-1-1H4A1,1,0,0,0,3,7V17a1,1,0,0,0,1,1H16a1,1,0,0,0,1-1V13.5l2.29,2.29A1,1,0,0,0,21,15.08V8.91a1,1,0,0,0-1.71-.71Z\",upload:\"M12 6.66667a4.87654 4.87654 0 0 1 4.77525 3.92342l0.29618 1.50268 1.52794 0.10578a2.57021 2.57021 0 0 1 -0.1827 5.13478H6.5a3.49774 3.49774 0 0 1 -0.3844 -6.97454l1.06682 -0.11341L7.678 9.29387A4.86024 4.86024 0 0 1 12 6.66667m0 -2A6.871 6.871 0 0 0 5.90417 8.37 5.49773 5.49773 0 0 0 6.5 19.33333H18.41667a4.57019 4.57019 0 0 0 0.32083 -9.13A6.86567 6.86567 0 0 0 12 4.66667Zm0.99976 7.2469h1.91406L11.99976 9 9.08618 11.91357h1.91358v3H11V16h2V14h-0.00024Z\",uploadFiles:\"M12 6.66667a4.87654 4.87654 0 0 1 4.77525 3.92342l0.29618 1.50268 1.52794 0.10578a2.57021 2.57021 0 0 1 -0.1827 5.13478H6.5a3.49774 3.49774 0 0 1 -0.3844 -6.97454l1.06682 -0.11341L7.678 9.29387A4.86024 4.86024 0 0 1 12 6.66667m0 -2A6.871 6.871 0 0 0 5.90417 8.37 5.49773 5.49773 0 0 0 6.5 19.33333H18.41667a4.57019 4.57019 0 0 0 0.32083 -9.13A6.86567 6.86567 0 0 0 12 4.66667Zm0.99976 7.2469h1.91406L11.99976 9 9.08618 11.91357h1.91358v3H11V16h2V14h-0.00024Z\",italic:\"M11.76,9h2l-2.2,10h-2Zm1.68-4a1,1,0,1,0,1,1,1,1,0,0,0-1-1Z\",search:\"M15.5 14h-0.79l-0.28 -0.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09 -0.59 4.23 -1.57l0.27 0.28v0.79l5 4.99L20.49 19l-4.99 -5zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14z\",lineHeight:\"M6.25,7h2.5L5.25,3.5,1.75,7h2.5V17H1.75l3.5,3.5L8.75,17H6.25Zm4-2V7h12V5Zm0,14h12V17h-12Zm0-6h12V11h-12Z\",linkStyles:\"M19,17.9l0.9,3.6l-3.2-1.9l-3.3,1.9l0.8-3.6L11.3,15h3.8l1.7-3.5l1.4,3.5H22L19,17.9z M20,12c0,0.3-0.1,0.7-0.2,1h2.1  c0.1-0.3,0.1-0.6,0.1-1c0-2.8-2.2-5-5-5h-4v2h4C18.7,9,20,10.3,20,12z M14.8,11H8v2h3.3h2.5L14.8,11z M9.9,16.4L8.5,15H7  c-1.7,0-3-1.3-3-3s1.3-3,3-3h4V7H7c-2.8,0-5,2.2-5,5s2.2,5,5,5h3.5L9.9,16.4z\",mention:\"M12.4,5c-4.1,0-7.5,3.4-7.5,7.5S8.3,20,12.4,20h3.8v-1.5h-3.8c-3.3,0-6-2.7-6-6s2.7-6,6-6s6,2.7,6,6v1.1  c0,0.6-0.5,1.2-1.1,1.2s-1.1-0.6-1.1-1.2v-1.1c0-2.1-1.7-3.8-3.8-3.8s-3.7,1.7-3.7,3.8s1.7,3.8,3.8,3.8c1,0,2-0.4,2.7-1.1  c0.5,0.7,1.3,1.1,2.2,1.1c1.5,0,2.6-1.2,2.6-2.7v-1.1C19.9,8.4,16.6,5,12.4,5z M12.4,14.7c-1.2,0-2.3-1-2.3-2.2s1-2.3,2.3-2.3  s2.3,1,2.3,2.3S13.6,14.7,12.4,14.7z\",minimize:\"M5,12h14 M19,11H5v2h14V11z\",more:\"M13.5,17c0,0.8-0.7,1.5-1.5,1.5s-1.5-0.7-1.5-1.5s0.7-1.5,1.5-1.5S13.5,16.2,13.5,17z M13.5,12c0,0.8-0.7,1.5-1.5,1.5 s-1.5-0.7-1.5-1.5s0.7-1.5,1.5-1.5S13.5,11.2,13.5,12z M13.5,7c0,0.8-0.7,1.5-1.5,1.5S10.5,7.8,10.5,7s0.7-1.5,1.5-1.5 S13.5,6.2,13.5,7z\",openLink:\"M17,17H7V7h3V5H7C6,5,5,6,5,7v10c0,1,1,2,2,2h10c1,0,2-1,2-2v-3h-2V17z M14,5v2h1.6l-5.8,5.8l1.4,1.4L17,8.4V10h2V5H14z\",orderedList:\"M2.5,16h2v.5h-1v1h1V18h-2v1h3V15h-3Zm1-7h1V5h-2V6h1Zm-1,2H4.3L2.5,13.1V14h3V13H3.7l1.8-2.1V10h-3Zm5-5V8h14V6Zm0,12h14V16H7.5Zm0-5h14V11H7.5Z\",outdent:\"M3,12l3,3V9L3,12z M3,19h18v-2H3V19z M3,7h18V5H3V7z M9,11h12V9H9V11z M9,15h12v-2H9V15z\",pageBreaker:\"M3,9v6l3-3L3,9z M21,9H8V4h2v3h9V4h2V9z M21,20h-2v-3h-9v3H8v-5h13V20z M11,13H8v-2h3V13z M16,13h-3v-2h3V13z M21,13h-3v-2  h3V13z\",paragraphFormat:\"M10.15,5A4.11,4.11,0,0,0,6.08,8.18,4,4,0,0,0,10,13v6h2V7h2V19h2V7h2V5ZM8,9a2,2,0,0,1,2-2v4A2,2,0,0,1,8,9Z\",paragraphMore:\"M7.682,5a4.11,4.11,0,0,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0c0.8,0.8,1.2,1.1,1.8,1.2c0.1,0,0.2,0,0.3,0c0.3,0,0.8-0.1,1-0.6  C16.4,14.1,16.4,13.9,16.3,13.5z M8.3,15.7c-0.1,0.1-0.2,0.1-0.2,0.1c0-0.1,0-0.3,0.6-0.8c0.2-0.2,0.6-0.3,0.9-0.7  C9,15,8.6,15.5,8.3,15.7z M11.3,9c0-0.1,0.1-0.2,0.1-0.2S11.6,9,11.5,10c0,0.1,0,0.3-0.1,0.7C11.3,10.1,11,9.5,11.3,9z M10.9,13.1  c0.2-0.6,0.6-1,0.7-1.5c0.1,0.1,0.1,0.1,0.2,0.2c0.1,0.2,0.3,0.7,0.7,0.9C12.2,12.8,11.6,13,10.9,13.1z M15.2,14.1  c-0.1,0-0.1,0-0.2,0c-0.2,0-0.7-0.2-1-0.7c1.1,0,1.6,0.2,1.6,0.6C15.5,14.1,15.4,14.1,15.2,14.1z\",print:\"M16.1,17c0-0.6,0.4-1,1-1c0.6,0,1,0.4,1,1s-0.4,1-1,1C16.5,18,16.1,17.6,16.1,17z M22,15v4c0,1.1-0.9,2-2,2H4  c-1.1,0-2-0.9-2-2v-4c0-1.1,0.9-2,2-2h1V5c0-1.1,0.9-2,2-2h7.4L19,7.6V13h1C21.1,13,22,13.9,22,15z M7,13h10V9h-4V5H7V13z M20,15H4  v4h16V15z\",redo:\"M13.6,9.4c1.7,0.3,3.2,0.9,4.6,2L21,8.5v7h-7l2.7-2.7C13,10.1,7.9,11,5.3,14.7c-0.2,0.3-0.4,0.5-0.5,0.8L3,14.6  C5.1,10.8,9.3,8.7,13.6,9.4z\",removeTable:\"M15,10v8H9v-8H15 M14,4H9.9l-1,1H6v2h12V5h-3L14,4z M17,8H7v10c0,1.1,0.9,2,2,2h6c1.1,0,2-0.9,2-2V8z\",insertAll:\"M 9.25 12 L 6.75 12 C 6.335938 12 6 11.664062 6 11.25 L 6 6 L 3.257812 6 C 2.703125 6 2.425781 5.328125 2.820312 4.933594 L 7.570312 0.179688 C 7.804688 -0.0546875 8.191406 -0.0546875 8.425781 0.179688 L 13.179688 4.933594 C 13.574219 5.328125 13.296875 6 12.742188 6 L 10 6 L 10 11.25 C 10 11.664062 9.664062 12 9.25 12 Z M 16 11.75 L 16 15.25 C 16 15.664062 15.664062 16 15.25 16 L 0.75 16 C 0.335938 16 0 15.664062 0 15.25 L 0 11.75 C 0 11.335938 0.335938 11 0.75 11 L 5 11 L 5 11.25 C 5 12.214844 5.785156 13 6.75 13 L 9.25 13 C 10.214844 13 11 12.214844 11 11.25 L 11 11 L 15.25 11 C 15.664062 11 16 11.335938 16 11.75 Z M 12.125 14.5 C 12.125 14.15625 11.84375 13.875 11.5 13.875 C 11.15625 13.875 10.875 14.15625 10.875 14.5 C 10.875 14.84375 11.15625 15.125 11.5 15.125 C 11.84375 15.125 12.125 14.84375 12.125 14.5 Z M 14.125 14.5 C 14.125 14.15625 13.84375 13.875 13.5 13.875 C 13.15625 13.875 12.875 14.15625 12.875 14.5 C 12.875 14.84375 13.15625 15.125 13.5 15.125 C 13.84375 15.125 14.125 14.84375 14.125 14.5 Z M 14.125 14.5 \",remove:\"M15,10v8H9v-8H15 M14,4H9.9l-1,1H6v2h12V5h-3L14,4z M17,8H7v10c0,1.1,0.9,2,2,2h6c1.1,0,2-0.9,2-2V8z\",replaceImage:\"M16,5v3H4v2h12v3l4-4L16,5z M8,19v-3h12v-2H8v-3l-4,4L8,19z\",row:\"M20,5H4C2.9,5,2,5.9,2,7v2v1.5v3V15v2c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2v-2v-1.5v-3V9V7C22,5.9,21.1,5,20,5z M16,6.5h4  c0.3,0,0.5,0.2,0.5,0.5v2H16V6.5z M9.5,6.5h5V9h-5V6.5z M3.5,7c0-0.3,0.2-0.5,0.5-0.5h4V9H3.5V7z M8,17.5H4c-0.3,0-0.5-0.2-0.5-0.5  v-2H8V17.5z M14.5,17.5h-5V15h5V17.5z M20.5,17c0,0.3-0.2,0.5-0.5,0.5h-4V15h4.5V17z\",selectAll:\"M5,7h2V5C5.9,5,5,5.9,5,7z M5,11h2V9H5V11z M9,19h2v-2H9V19z M5,11h2V9H5V11z M15,5h-2v2h2V5z M17,5v2h2C19,5.9,18.1,5,17,5  z M7,19v-2H5C5,18.1,5.9,19,7,19z M5,15h2v-2H5V15z M11,5H9v2h2V5z M13,19h2v-2h-2V19z M17,11h2V9h-2V11z M17,19c1.1,0,2-0.9,2-2h-2  V19z M17,11h2V9h-2V11z M17,15h2v-2h-2V15z M13,19h2v-2h-2V19z M13,7h2V5h-2V7z M9,15h6V9H9V15z M11,11h2v2h-2V11z\",smile:\"M11.991,3A9,9,0,1,0,21,12,8.99557,8.99557,0,0,0,11.991,3ZM12,19a7,7,0,1,1,7-7A6.99808,6.99808,0,0,1,12,19Zm3.105-5.2h1.503a4.94542,4.94542,0,0,1-9.216,0H8.895a3.57808,3.57808,0,0,0,6.21,0ZM7.5,9.75A1.35,1.35,0,1,1,8.85,11.1,1.35,1.35,0,0,1,7.5,9.75Zm6.3,0a1.35,1.35,0,1,1,1.35,1.35A1.35,1.35,0,0,1,13.8,9.75Z\",spellcheck:\"M19.1,13.6l-5.6,5.6l-2.7-2.7l-1.4,1.4l4.1,4.1l7-7L19.1,13.6z M10.8,13.7l2.7,2.7l0.8-0.8L10.5,5h-2l-5,14h2l1.4-4h2.6  L10.8,13.7z M9.5,7.8l1.9,5.2H7.6L9.5,7.8z\",star:\"M12.1,7.7l1,2.5l0.4,0.9h1h2.4l-2.1,2l-0.6,0.6l0.2,0.9l0.6,2.3l-2.2-1.3L12,15.2l-0.8,0.5L9,17l0.5-2.5l0.1-0.8L9,13.1  l-2-2h2.5h0.9l0.4-0.8L12.1,7.7 M12.2,4L9.5,9.6H3.4L8,14.2L6.9,20l5.1-3.1l5.3,3.1l-1.5-5.8l4.8-4.6h-6.1L12.2,4L12.2,4z\",strikeThrough:\"M3,12.20294H21v1.5H16.63422a3.59782,3.59782,0,0,1,.34942,1.5929,3.252,3.252,0,0,1-1.31427,2.6997A5.55082,5.55082,0,0,1,12.20251,19a6.4421,6.4421,0,0,1-2.62335-.539,4.46335,4.46335,0,0,1-1.89264-1.48816,3.668,3.668,0,0,1-.67016-2.15546V14.704h.28723v-.0011h.34149v.0011H9.02v.11334a2.18275,2.18275,0,0,0,.85413,1.83069,3.69,3.69,0,0,0,2.32836.67926,3.38778,3.38778,0,0,0,2.07666-.5462,1.73346,1.73346,0,0,0,.7013-1.46655,1.69749,1.69749,0,0,0-.647-1.43439,3.00525,3.00525,0,0,0-.27491-.17725H3ZM16.34473,7.05981A4.18163,4.18163,0,0,0,14.6236,5.5462,5.627,5.627,0,0,0,12.11072,5,5.16083,5.16083,0,0,0,8.74719,6.06213,3.36315,3.36315,0,0,0,7.44006,8.76855a3.22923,3.22923,0,0,0,.3216,1.42786h2.59668c-.08338-.05365-.18537-.10577-.25269-.16064a1.60652,1.60652,0,0,1-.65283-1.30036,1.79843,1.79843,0,0,1,.68842-1.5108,3.12971,3.12971,0,0,1,1.96948-.55243,3.04779,3.04779,0,0,1,2.106.6687,2.35066,2.35066,0,0,1,.736,1.83258v.11341h2.00317V9.17346A3.90013,3.90013,0,0,0,16.34473,7.05981Z\",subscript:\"M10.4,12l3.6,3.6L12.6,17L9,13.4L5.4,17L4,15.6L7.6,12L4,8.4L5.4,7L9,10.6L12.6,7L14,8.4L10.4,12z M18.31234,19.674  l1.06812-1.1465c0.196-0.20141,0.37093-0.40739,0.5368-0.6088c0.15975-0.19418,0.30419-0.40046,0.432-0.617  c0.11969-0.20017,0.21776-0.41249,0.29255-0.6334c0.07103-0.21492,0.10703-0.43986,0.10662-0.66621  c0.00297-0.28137-0.04904-0.56062-0.1531-0.82206c-0.09855-0.24575-0.25264-0.46534-0.45022-0.6416  c-0.20984-0.18355-0.45523-0.32191-0.72089-0.40646c-0.63808-0.19005-1.3198-0.17443-1.94851,0.04465  c-0.28703,0.10845-0.54746,0.2772-0.76372,0.49487c-0.20881,0.20858-0.37069,0.45932-0.47483,0.73548  c-0.10002,0.26648-0.15276,0.54838-0.15585,0.833l-0.00364,0.237H17.617l0.00638-0.22692  c0.00158-0.12667,0.01966-0.25258,0.05377-0.37458c0.03337-0.10708,0.08655-0.20693,0.15679-0.29437  c0.07105-0.08037,0.15959-0.14335,0.25882-0.1841c0.22459-0.08899,0.47371-0.09417,0.7018-0.01458  c0.0822,0.03608,0.15559,0.08957,0.21509,0.15679c0.06076,0.07174,0.10745,0.15429,0.13761,0.24333  c0.03567,0.10824,0.05412,0.22141,0.05469,0.33538c-0.00111,0.08959-0.0118,0.17881-0.0319,0.26612  c-0.02913,0.10428-0.07076,0.20465-0.124,0.29893c-0.07733,0.13621-0.1654,0.26603-0.26338,0.38823  c-0.13438,0.17465-0.27767,0.34226-0.42929,0.50217l-2.15634,2.35315V21H21v-1.326H18.31234z\",superscript:\"M10.4,12,14,15.6,12.6,17,9,13.4,5.4,17,4,15.6,7.6,12,4,8.4,5.4,7,9,10.6,12.6,7,14,8.4Zm8.91234-3.326,1.06812-1.1465c.196-.20141.37093-.40739.5368-.6088a4.85745,4.85745,0,0,0,.432-.617,3.29,3.29,0,0,0,.29255-.6334,2.11079,2.11079,0,0,0,.10662-.66621,2.16127,2.16127,0,0,0-.1531-.82206,1.7154,1.7154,0,0,0-.45022-.6416,2.03,2.03,0,0,0-.72089-.40646,3.17085,3.17085,0,0,0-1.94851.04465,2.14555,2.14555,0,0,0-.76372.49487,2.07379,2.07379,0,0,0-.47483.73548,2.446,2.446,0,0,0-.15585.833l-.00364.237H18.617L18.62338,5.25a1.45865,1.45865,0,0,1,.05377-.37458.89552.89552,0,0,1,.15679-.29437.70083.70083,0,0,1,.25882-.1841,1.00569,1.00569,0,0,1,.7018-.01458.62014.62014,0,0,1,.21509.15679.74752.74752,0,0,1,.13761.24333,1.08893,1.08893,0,0,1,.05469.33538,1.25556,1.25556,0,0,1-.0319.26612,1.34227,1.34227,0,0,1-.124.29893,2.94367,2.94367,0,0,1-.26338.38823,6.41629,6.41629,0,0,1-.42929.50217L17.19709,8.92642V10H22V8.674Z\",symbols:\"M15.77493,16.98885a8.21343,8.21343,0,0,0,1.96753-2.57651,7.34824,7.34824,0,0,0,.6034-3.07618A6.09092,6.09092,0,0,0,11.99515,5a6.13347,6.13347,0,0,0-4.585,1.79187,6.417,6.417,0,0,0-1.756,4.69207,6.93955,6.93955,0,0,0,.622,2.97415,8.06587,8.06587,0,0,0,1.949,2.53076H5.41452V19h5.54114v-.04331h-.00147V16.84107a5.82825,5.82825,0,0,1-2.2052-2.2352A6.40513,6.40513,0,0,1,7.97672,11.447,4.68548,4.68548,0,0,1,9.07785,8.19191a3.73232,3.73232,0,0,1,2.9173-1.22462,3.76839,3.76839,0,0,1,2.91241,1.21489,4.482,4.482,0,0,1,1.11572,3.154,6.71141,6.71141,0,0,1-.75384,3.24732,5.83562,5.83562,0,0,1-2.22357,2.25759v2.11562H13.0444V19h5.54108V16.98885Z\",tags:\"M8.9749 7.47489a1.5 1.5 0 1 1 -1.5 1.5A1.5 1.5 0 0 1 8.9749 7.47489Zm3.78866 -3.12713L16.5362 8.12041l0.33565 0.33564 2.77038 2.77038a2.01988 2.01988 0 0 1 0.59 1.42 1.95518 1.95518 0 0 1 -0.5854 1.40455l0.00044 0.00043 -5.59583 5.59583 -0.00043 -0.00044a1.95518 1.95518 0 0 1 -1.40455 0.5854 1.98762 1.98762 0 0 1 -1.41 -0.58L8.45605 16.87185l-0.33564 -0.33565L4.35777 12.77357a1.99576 1.99576 0 0 1 -0.59 -1.42V9.36358l0 -3.59582a2.00579 2.00579 0 0 1 2 -2l3.59582 0h1.98995A1.98762 1.98762 0 0 1 12.76356 4.34776ZM15.46186 9.866l-0.33564 -0.33564L11.36359 5.76776H5.76776v5.59583L9.866 15.46186l2.7794 2.7794 5.5878 -5.60385 -0.001 -0.001Z\",tableHeader:\"M20,5H4C2.9,5,2,5.9,2,7v10c0,1.1,0.9,2,2,2h16c1.1,0,2-0.9,2-2V7C22,5.9,21.1,5,20,5z M8,17.5H4c-0.3,0-0.5-0.2-0.5-0.4  l0,0V17v-2H8V17.5z M8,13.5H3.5v-3H8V13.5z M14.5,17.5h-5V15h5V17.5z M14.5,13.5h-5v-3h5V13.5z M20.5,17c0,0.3-0.2,0.5-0.4,0.5l0,0  H16V15h4.5V17z M20.5,13.5H16v-3h4.5V13.5z M20.5,9h-4.4H16h-1.5h-5H8H7.9H3.5V7c0-0.3,0.2-0.5,0.4-0.5l0,0h4l0,0h8.2l0,0H20  c0.3,0,0.5,0.2,0.5,0.4l0,0V9z\",tableStyle:\"M20.0171,19.89752l.9,3.6-3.2-1.9-3.3,1.9.8-3.6-2.9-2.9h3.8l1.7-3.5,1.4,3.5h3.8ZM20,5H4A2.00591,2.00591,0,0,0,2,7V17a2.00591,2.00591,0,0,0,2,2h7.49115l-.58826-.58826L9.99115,17.5H9.5V14.9975h5.36511L16,12.66089V10.5h4.5v3h-.52783l.599,1.4975H22V7A2.00591,2.00591,0,0,0,20,5ZM3.5,7A.4724.4724,0,0,1,4,6.5H8V9H3.5Zm0,3.5H8v3H3.5Zm.5,7a.4724.4724,0,0,1-.5-.5V15H8v2.5Zm10.5-4h-5v-3h5Zm0-4.5h-5V6.5h5Zm6,0H16V6.5h4a.4724.4724,0,0,1,.5.5Z\",textColor:\"M15.2,13.494s-3.6,3.9-3.6,6.3a3.65,3.65,0,0,0,7.3.1v-.1C18.9,17.394,15.2,13.494,15.2,13.494Zm-1.47-1.357.669-.724L12.1,5h-2l-5,14h2l1.43-4h2.943A24.426,24.426,0,0,1,13.726,12.137ZM11.1,7.8l1.86,5.2H9.244Z\",textMore:\"M13.55,19h2l-5-14h-2l-5,14h2l1.4-4h5.1Zm-5.9-6,1.9-5.2,1.9,5.2Zm12.8,4.5a1.5,1.5,0,1,1-1.5-1.5A1.5,1.5,0,0,1,20.45,17.5Zm0-4a1.5,1.5,0,1,1-1.5-1.5A1.5,1.5,0,0,1,20.45,13.5Zm0-4A1.5,1.5,0,1,1,18.95,8,1.5,1.5,0,0,1,20.45,9.5Z\",underline:\"M19,20v2H5V20Zm-3-6.785a4,4,0,0,1-5.74,3.4A3.75,3.75,0,0,1,8,13.085V5.005H6v8.21a6,6,0,0,0,8,5.44,5.851,5.851,0,0,0,4-5.65v-8H16ZM16,5v0h2V5ZM8,5H6v0H8Z\",undo:\"M10.4,9.4c-1.7,0.3-3.2,0.9-4.6,2L3,8.5v7h7l-2.7-2.7c3.7-2.6,8.8-1.8,11.5,1.9c0.2,0.3,0.4,0.5,0.5,0.8l1.8-0.9  C18.9,10.8,14.7,8.7,10.4,9.4z\",unlink:\"M14.4,11l1.6,1.6V11H14.4z M17,7h-4v1.9h4c1.7,0,3.1,1.4,3.1,3.1c0,1.3-0.8,2.4-1.9,2.8l1.4,1.4C21,15.4,22,13.8,22,12  C22,9.2,19.8,7,17,7z M2,4.3l3.1,3.1C3.3,8.1,2,9.9,2,12c0,2.8,2.2,5,5,5h4v-1.9H7c-1.7,0-3.1-1.4-3.1-3.1c0-1.6,1.2-2.9,2.8-3.1  L8.7,11H8v2h2.7l2.3,2.3V17h1.7l4,4l1.4-1.4L3.4,2.9L2,4.3z\",unorderedList:\"M4,10.5c-0.8,0-1.5,0.7-1.5,1.5s0.7,1.5,1.5,1.5s1.5-0.7,1.5-1.5S4.8,10.5,4,10.5z M4,5.5C3.2,5.5,2.5,6.2,2.5,7  S3.2,8.5,4,8.5S5.5,7.8,5.5,7S4.8,5.5,4,5.5z M4,15.5c-0.8,0-1.5,0.7-1.5,1.5s0.7,1.5,1.5,1.5s1.5-0.7,1.5-1.5S4.8,15.5,4,15.5z   M7.5,6v2h14V6H7.5z M7.5,18h14v-2h-14V18z M7.5,13h14v-2h-14V13z\",verticalAlignBottom:\"M16,13h-3V3h-2v10H8l4,4L16,13z M3,19v2h18v-2H3z\",verticalAlignMiddle:\"M3,11v2h18v-2H3z M8,18h3v3h2v-3h3l-4-4L8,18z M16,6h-3V3h-2v3H8l4,4L16,6z\",verticalAlignTop:\"M8,11h3v10h2V11h3l-4-4L8,11z M21,5V3H3v2H21z\"},I.FILEICONS={docIcon:{extension:\".doc\",path:'<g id=\"surface1\">\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;\" d=\"M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 \"/>\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 \"/>\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 \"/>\\n      <path style=\" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;\" d=\"M 9.617188 46.875 C 13.234375 46.875 16.160156 43.929688 16.160156 40.292969 C 16.160156 36.695312 13.234375 33.75 9.617188 33.75 L 7.402344 33.75 C 6.820312 33.75 6.371094 34.199219 6.371094 34.78125 L 6.371094 45.84375 C 6.371094 46.335938 6.714844 46.757812 7.191406 46.855469 L 7.402344 46.875 Z M 9.617188 44.792969 L 8.453125 44.792969 L 8.453125 35.832031 L 9.617188 35.832031 C 12.089844 35.832031 14.078125 37.835938 14.078125 40.292969 C 14.078125 42.789062 12.089844 44.773438 9.617188 44.792969 Z M 24.816406 46.875 C 26.539062 46.875 28.191406 46.085938 29.296875 44.867188 C 30.460938 43.648438 31.191406 41.980469 31.191406 40.125 C 31.191406 38.269531 30.460938 36.617188 29.296875 35.382812 C 28.191406 34.144531 26.539062 33.375 24.816406 33.375 C 23.015625 33.375 21.367188 34.144531 20.222656 35.382812 C 19.058594 36.617188 18.367188 38.269531 18.367188 40.125 C 18.367188 41.980469 19.058594 43.648438 20.222656 44.867188 C 21.367188 46.085938 23.015625 46.875 24.816406 46.875 Z M 24.816406 44.738281 C 23.617188 44.738281 22.566406 44.230469 21.777344 43.386719 C 20.992188 42.582031 20.503906 41.398438 20.503906 40.125 C 20.503906 38.851562 20.992188 37.667969 21.777344 36.84375 C 22.566406 36 23.617188 35.511719 24.816406 35.511719 C 25.941406 35.511719 26.992188 36 27.777344 36.84375 C 28.546875 37.667969 29.054688 38.851562 29.054688 40.125 C 29.054688 41.398438 28.546875 42.582031 27.777344 43.386719 C 26.992188 44.230469 25.941406 44.738281 24.816406 44.738281 Z M 39.996094 46.875 C 41.648438 46.875 43.148438 46.332031 44.328125 45.414062 C 44.777344 45.054688 44.851562 44.382812 44.515625 43.914062 C 44.140625 43.460938 43.445312 43.386719 43.015625 43.707031 C 42.171875 44.382812 41.160156 44.738281 39.996094 44.738281 C 38.703125 44.738281 37.503906 44.210938 36.621094 43.386719 C 35.777344 42.5625 35.253906 41.398438 35.253906 40.125 C 35.253906 38.851562 35.777344 37.726562 36.621094 36.863281 C 37.503906 36.039062 38.703125 35.511719 39.996094 35.511719 C 41.160156 35.511719 42.191406 35.867188 43.015625 36.542969 C 43.445312 36.882812 44.140625 36.804688 44.515625 36.335938 C 44.851562 35.867188 44.777344 35.210938 44.328125 34.835938 C 43.148438 33.917969 41.648438 33.375 39.996094 33.375 C 36.246094 33.394531 33.132812 36.414062 33.117188 40.125 C 33.132812 43.855469 36.246094 46.875 39.996094 46.875 Z M 39.996094 46.875 \"/>\\n      </g>'},gifIcon:{extension:\".gif\",path:'<g id=\"surface1\">\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;\" d=\"M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 \"/>\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 \"/>\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 \"/>\\n      <path style=\" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;\" d=\"M 17.394531 46.875 C 18.988281 46.875 20.46875 46.332031 21.648438 45.414062 C 21.835938 45.28125 21.949219 45.132812 22.003906 44.960938 L 22.003906 44.945312 C 22.023438 44.90625 22.023438 44.886719 22.042969 44.851562 C 22.0625 44.738281 22.097656 44.664062 22.097656 44.53125 L 22.097656 40.386719 C 22.097656 39.789062 21.613281 39.335938 21.011719 39.335938 L 17.28125 39.335938 C 16.699219 39.335938 16.210938 39.789062 16.210938 40.386719 C 16.210938 40.96875 16.699219 41.457031 17.28125 41.457031 L 19.960938 41.457031 L 19.960938 44.023438 C 19.210938 44.457031 18.332031 44.738281 17.394531 44.738281 C 16.042969 44.738281 14.863281 44.230469 14.019531 43.367188 C 13.136719 42.523438 12.613281 41.382812 12.613281 40.144531 C 12.613281 38.867188 13.136719 37.726562 14.019531 36.882812 C 14.863281 36.019531 16.042969 35.511719 17.394531 35.511719 C 18.519531 35.511719 19.550781 35.90625 20.355469 36.523438 C 20.824219 36.898438 21.519531 36.804688 21.875 36.355469 C 22.230469 35.886719 22.15625 35.195312 21.667969 34.835938 C 20.503906 33.917969 18.988281 33.375 17.394531 33.375 C 13.585938 33.375 10.472656 36.375 10.472656 40.144531 C 10.472656 43.894531 13.585938 46.875 17.394531 46.875 Z M 26.945312 46.875 C 27.507812 46.875 27.996094 46.425781 27.996094 45.84375 L 27.996094 34.78125 C 27.996094 34.199219 27.507812 33.75 26.945312 33.75 C 26.363281 33.75 25.914062 34.199219 25.914062 34.78125 L 25.914062 45.84375 C 25.914062 46.425781 26.363281 46.875 26.945312 46.875 Z M 33.066406 46.875 C 33.648438 46.875 34.117188 46.40625 34.117188 45.84375 L 34.117188 41.34375 L 38.488281 41.34375 C 39.050781 41.34375 39.519531 40.875 39.519531 40.292969 C 39.519531 39.75 39.050781 39.261719 38.488281 39.261719 L 34.117188 39.261719 L 34.117188 35.832031 L 39.199219 35.832031 C 39.742188 35.832031 40.230469 35.363281 40.230469 34.78125 C 40.230469 34.21875 39.742188 33.75 39.199219 33.75 L 33.066406 33.75 C 32.488281 33.75 32.035156 34.21875 32.035156 34.78125 L 32.035156 45.84375 C 32.035156 46.40625 32.488281 46.875 33.066406 46.875 Z M 33.066406 46.875 \"/>\\n      </g>'},jpegIcon:{extension:\".jpeg\",path:'<g id=\"surface1\">\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;\" d=\"M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 \"/>\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 \"/>\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 \"/>\\n      <path style=\" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;\" d=\"M 9 43.75 C 11.140625 43.75 12.890625 42.015625 12.890625 39.875 L 12.890625 33.671875 C 12.890625 33.1875 12.5 32.8125 12.03125 32.8125 C 11.546875 32.8125 11.15625 33.1875 11.15625 33.671875 L 11.15625 39.875 C 11.15625 41.046875 10.1875 42.015625 9 42.015625 C 8.046875 42.015625 7.234375 41.390625 6.953125 40.53125 C 6.8125 40.078125 6.328125 39.828125 5.859375 39.984375 C 5.421875 40.109375 5.15625 40.59375 5.3125 41.0625 C 5.8125 42.625 7.28125 43.75 9 43.75 Z M 15.640625 43.75 C 16.125 43.75 16.515625 43.359375 16.515625 42.890625 L 16.515625 39.5 L 18.4375 39.5 C 20.296875 39.5 21.796875 38 21.796875 36.171875 C 21.796875 34.3125 20.296875 32.8125 18.4375 32.8125 L 15.640625 32.8125 C 15.171875 32.8125 14.78125 33.1875 14.78125 33.671875 L 14.78125 42.890625 C 14.78125 43.359375 15.171875 43.75 15.640625 43.75 Z M 18.4375 37.765625 L 16.515625 37.765625 L 16.515625 34.546875 L 18.4375 34.546875 C 19.34375 34.546875 20.046875 35.265625 20.0625 36.171875 C 20.046875 37.046875 19.34375 37.765625 18.4375 37.765625 Z M 29.234375 43.75 C 29.6875 43.75 30.09375 43.359375 30.09375 42.890625 C 30.09375 42.40625 29.6875 42.015625 29.234375 42.015625 L 25 42.015625 L 25 39.140625 L 28.640625 39.140625 C 29.109375 39.140625 29.5 38.75 29.5 38.265625 C 29.5 37.8125 29.109375 37.40625 28.640625 37.40625 L 25 37.40625 L 25 34.546875 L 29.234375 34.546875 C 29.6875 34.546875 30.09375 34.15625 30.09375 33.671875 C 30.09375 33.1875 29.6875 32.8125 29.234375 32.8125 L 24.125 32.8125 C 23.640625 32.8125 23.265625 33.1875 23.265625 33.671875 L 23.265625 42.890625 C 23.265625 43.359375 23.640625 43.75 24.125 43.75 C 24.125 43.75 24.140625 43.734375 24.140625 43.734375 C 24.140625 43.734375 24.140625 43.75 24.171875 43.75 Z M 37.1875 43.75 C 38.515625 43.75 39.75 43.296875 40.734375 42.53125 C 40.890625 42.421875 40.984375 42.296875 41.03125 42.15625 L 41.03125 42.140625 C 41.046875 42.109375 41.046875 42.09375 41.0625 42.0625 C 41.078125 41.96875 41.109375 41.90625 41.109375 41.796875 L 41.109375 38.34375 C 41.109375 37.914062 40.8125 37.578125 40.410156 37.492188 L 40.203125 37.46875 L 37.09375 37.46875 C 36.609375 37.46875 36.203125 37.84375 36.203125 38.34375 C 36.203125 38.828125 36.609375 39.234375 37.09375 39.234375 L 39.328125 39.234375 L 39.328125 41.375 C 38.703125 41.734375 37.96875 41.96875 37.1875 41.96875 C 36.0625 41.96875 35.078125 41.546875 34.375 40.828125 C 33.640625 40.125 33.203125 39.171875 33.203125 38.140625 C 33.203125 37.078125 33.640625 36.125 34.375 35.421875 C 35.078125 34.703125 36.0625 34.28125 37.1875 34.28125 C 38.125 34.28125 38.984375 34.609375 39.65625 35.125 C 40.046875 35.4375 40.625 35.359375 40.921875 34.984375 C 41.21875 34.59375 41.15625 34.015625 40.75 33.71875 C 39.78125 32.953125 38.515625 32.5 37.1875 32.5 C 34.015625 32.5 31.421875 35 31.421875 38.140625 C 31.421875 41.265625 34.015625 43.75 37.1875 43.75 Z M 37.1875 43.75 \"/>\\n      </g>'},logIcon:{extension:\".log\",path:'<g id=\"surface1\">\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;\" d=\"M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 \"/>\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 \"/>\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 \"/>\\n      <path style=\" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;\" d=\"M 13.542969 46.875 C 14.085938 46.875 14.574219 46.40625 14.574219 45.84375 C 14.574219 45.261719 14.085938 44.792969 13.542969 44.792969 L 8.460938 44.792969 L 8.460938 34.78125 C 8.460938 34.21875 7.992188 33.75 7.410156 33.75 C 6.828125 33.75 6.378906 34.21875 6.378906 34.78125 L 6.378906 45.84375 C 6.378906 46.40625 6.828125 46.875 7.410156 46.875 Z M 21.742188 46.875 C 23.46875 46.875 25.117188 46.085938 26.222656 44.867188 C 27.386719 43.648438 28.117188 41.980469 28.117188 40.125 C 28.117188 38.269531 27.386719 36.617188 26.222656 35.382812 C 25.117188 34.144531 23.46875 33.375 21.742188 33.375 C 19.941406 33.375 18.292969 34.144531 17.148438 35.382812 C 15.984375 36.617188 15.292969 38.269531 15.292969 40.125 C 15.292969 41.980469 15.984375 43.648438 17.148438 44.867188 C 18.292969 46.085938 19.941406 46.875 21.742188 46.875 Z M 21.742188 44.738281 C 20.542969 44.738281 19.492188 44.230469 18.703125 43.386719 C 17.917969 42.582031 17.429688 41.398438 17.429688 40.125 C 17.429688 38.851562 17.917969 37.667969 18.703125 36.84375 C 19.492188 36 20.542969 35.511719 21.742188 35.511719 C 22.867188 35.511719 23.917969 36 24.703125 36.84375 C 25.472656 37.667969 25.980469 38.851562 25.980469 40.125 C 25.980469 41.398438 25.472656 42.582031 24.703125 43.386719 C 23.917969 44.230469 22.867188 44.738281 21.742188 44.738281 Z M 37.300781 46.875 C 38.894531 46.875 40.375 46.332031 41.558594 45.414062 C 41.746094 45.28125 41.855469 45.132812 41.914062 44.960938 L 41.914062 44.945312 L 41.949219 44.851562 C 41.96875 44.738281 42.007812 44.664062 42.007812 44.53125 L 42.007812 40.386719 C 42.007812 39.789062 41.519531 39.335938 40.917969 39.335938 L 37.1875 39.335938 C 36.605469 39.335938 36.121094 39.789062 36.121094 40.386719 C 36.121094 40.96875 36.605469 41.457031 37.1875 41.457031 L 39.871094 41.457031 L 39.871094 44.023438 C 39.121094 44.457031 38.238281 44.738281 37.300781 44.738281 C 35.949219 44.738281 34.769531 44.230469 33.925781 43.367188 C 33.042969 42.523438 32.519531 41.382812 32.519531 40.144531 C 32.519531 38.867188 33.042969 37.726562 33.925781 36.882812 C 34.769531 36.019531 35.949219 35.511719 37.300781 35.511719 C 38.425781 35.511719 39.457031 35.90625 40.261719 36.523438 C 40.730469 36.898438 41.425781 36.804688 41.78125 36.355469 C 42.136719 35.886719 42.0625 35.195312 41.574219 34.835938 C 40.414062 33.917969 38.894531 33.375 37.300781 33.375 C 33.496094 33.375 30.382812 36.375 30.382812 40.144531 C 30.382812 43.894531 33.496094 46.875 37.300781 46.875 Z M 37.300781 46.875 \"/>\\n      </g>'},movIcon:{extension:\".mov\",path:'<g id=\"surface1\">\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;\" d=\"M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 \"/>\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 \"/>\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 \"/>\\n      <path style=\" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;\" d=\"M 15.472656 46.875 C 16.035156 46.875 16.523438 46.40625 16.523438 45.84375 L 16.523438 34.78125 C 16.523438 34.289062 16.152344 33.882812 15.679688 33.777344 L 15.472656 33.75 L 15.453125 33.75 C 15.117188 33.75 14.816406 33.898438 14.609375 34.179688 L 10.878906 39.355469 L 7.148438 34.179688 C 6.960938 33.898438 6.625 33.75 6.324219 33.75 L 6.265625 33.75 C 5.703125 33.75 5.234375 34.21875 5.234375 34.78125 L 5.234375 45.84375 C 5.234375 46.40625 5.703125 46.875 6.265625 46.875 C 6.847656 46.875 7.316406 46.40625 7.316406 45.84375 L 7.316406 37.949219 L 10 41.699219 C 10.203125 41.980469 10.523438 42.132812 10.859375 42.132812 L 10.898438 42.132812 C 11.234375 42.132812 11.535156 41.980469 11.742188 41.699219 L 14.441406 37.949219 L 14.441406 45.84375 C 14.441406 46.40625 14.890625 46.875 15.472656 46.875 Z M 25.460938 46.875 C 27.1875 46.875 28.835938 46.085938 29.941406 44.867188 C 31.105469 43.648438 31.835938 41.980469 31.835938 40.125 C 31.835938 38.269531 31.105469 36.617188 29.941406 35.382812 C 28.835938 34.144531 27.1875 33.375 25.460938 33.375 C 23.660156 33.375 22.011719 34.144531 20.867188 35.382812 C 19.703125 36.617188 19.011719 38.269531 19.011719 40.125 C 19.011719 41.980469 19.703125 43.648438 20.867188 44.867188 C 22.011719 46.085938 23.660156 46.875 25.460938 46.875 Z M 25.460938 44.738281 C 24.261719 44.738281 23.210938 44.230469 22.421875 43.386719 C 21.636719 42.582031 21.148438 41.398438 21.148438 40.125 C 21.148438 38.851562 21.636719 37.667969 22.421875 36.84375 C 23.210938 36 24.261719 35.511719 25.460938 35.511719 C 26.585938 35.511719 27.636719 36 28.421875 36.84375 C 29.191406 37.667969 29.699219 38.851562 29.699219 40.125 C 29.699219 41.398438 29.191406 42.582031 28.421875 43.386719 C 27.636719 44.230469 26.585938 44.738281 25.460938 44.738281 Z M 38.683594 46.855469 L 38.71875 46.855469 C 38.777344 46.835938 38.8125 46.820312 38.871094 46.820312 C 38.886719 46.800781 38.886719 46.800781 38.90625 46.800781 C 38.964844 46.78125 39.019531 46.726562 39.058594 46.707031 L 39.09375 46.6875 L 39.207031 46.59375 C 39.226562 46.574219 39.226562 46.574219 39.246094 46.539062 L 39.339844 46.425781 C 39.355469 46.425781 39.355469 46.425781 39.355469 46.40625 C 39.394531 46.367188 39.414062 46.292969 39.433594 46.257812 L 44.0625 35.304688 C 44.269531 34.800781 44.027344 34.179688 43.5 33.976562 C 42.996094 33.75 42.375 33.992188 42.152344 34.519531 L 38.496094 43.199219 L 34.839844 34.519531 C 34.613281 33.992188 34.011719 33.75 33.507812 33.976562 C 32.964844 34.179688 32.71875 34.800781 32.945312 35.304688 L 37.539062 46.257812 C 37.574219 46.292969 37.613281 46.367188 37.632812 46.40625 C 37.632812 46.425781 37.652344 46.425781 37.652344 46.425781 C 37.667969 46.460938 37.707031 46.5 37.746094 46.539062 C 37.746094 46.574219 37.761719 46.574219 37.761719 46.59375 C 37.820312 46.632812 37.855469 46.648438 37.894531 46.6875 L 37.914062 46.6875 C 37.96875 46.726562 38.042969 46.78125 38.082031 46.800781 L 38.101562 46.800781 C 38.101562 46.800781 38.121094 46.800781 38.121094 46.820312 C 38.15625 46.820312 38.230469 46.835938 38.269531 46.855469 L 38.308594 46.855469 L 38.402344 46.871094 L 38.496094 46.875 C 38.550781 46.875 38.605469 46.875 38.683594 46.855469 Z M 38.683594 46.855469 \"/>\\n      </g>'},ogvIcon:{extension:\".ogv\",path:'<g id=\"surface1\">\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;\" d=\"M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 \"/>\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 \"/>\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 \"/>\\n      <path style=\" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;\" d=\"M 11.511719 46.875 C 13.238281 46.875 14.886719 46.085938 15.996094 44.867188 C 17.15625 43.648438 17.886719 41.980469 17.886719 40.125 C 17.886719 38.269531 17.15625 36.617188 15.996094 35.382812 C 14.886719 34.144531 13.238281 33.375 11.511719 33.375 C 9.714844 33.375 8.0625 34.144531 6.917969 35.382812 C 5.757812 36.617188 5.0625 38.269531 5.0625 40.125 C 5.0625 41.980469 5.757812 43.648438 6.917969 44.867188 C 8.0625 46.085938 9.714844 46.875 11.511719 46.875 Z M 11.511719 44.738281 C 10.3125 44.738281 9.261719 44.230469 8.476562 43.386719 C 7.6875 42.582031 7.199219 41.398438 7.199219 40.125 C 7.199219 38.851562 7.6875 37.667969 8.476562 36.84375 C 9.261719 36 10.3125 35.511719 11.511719 35.511719 C 12.636719 35.511719 13.6875 36 14.476562 36.84375 C 15.246094 37.667969 15.75 38.851562 15.75 40.125 C 15.75 41.398438 15.246094 42.582031 14.476562 43.386719 C 13.6875 44.230469 12.636719 44.738281 11.511719 44.738281 Z M 27.25 46.875 C 28.84375 46.875 30.324219 46.332031 31.507812 45.414062 C 31.695312 45.28125 31.804688 45.132812 31.863281 44.960938 L 31.863281 44.945312 C 31.882812 44.90625 31.882812 44.886719 31.898438 44.851562 C 31.917969 44.738281 31.957031 44.664062 31.957031 44.53125 L 31.957031 40.386719 C 31.957031 39.789062 31.46875 39.335938 30.867188 39.335938 L 27.136719 39.335938 C 26.554688 39.335938 26.070312 39.789062 26.070312 40.386719 C 26.070312 40.96875 26.554688 41.457031 27.136719 41.457031 L 29.820312 41.457031 L 29.820312 44.023438 C 29.070312 44.457031 28.1875 44.738281 27.25 44.738281 C 25.898438 44.738281 24.71875 44.230469 23.875 43.367188 C 22.992188 42.523438 22.46875 41.382812 22.46875 40.144531 C 22.46875 38.867188 22.992188 37.726562 23.875 36.882812 C 24.71875 36.019531 25.898438 35.511719 27.25 35.511719 C 28.375 35.511719 29.40625 35.90625 30.210938 36.523438 C 30.679688 36.898438 31.375 36.804688 31.730469 36.355469 C 32.085938 35.886719 32.011719 35.195312 31.523438 34.835938 C 30.363281 33.917969 28.84375 33.375 27.25 33.375 C 23.445312 33.375 20.332031 36.375 20.332031 40.144531 C 20.332031 43.894531 23.445312 46.875 27.25 46.875 Z M 40.191406 46.855469 L 40.230469 46.855469 C 40.285156 46.835938 40.324219 46.820312 40.378906 46.820312 C 40.398438 46.800781 40.398438 46.800781 40.417969 46.800781 C 40.472656 46.78125 40.53125 46.726562 40.566406 46.707031 C 40.605469 46.6875 40.605469 46.6875 40.605469 46.6875 L 40.71875 46.59375 C 40.738281 46.574219 40.738281 46.574219 40.753906 46.539062 L 40.847656 46.425781 C 40.867188 46.425781 40.867188 46.425781 40.867188 46.40625 C 40.90625 46.367188 40.925781 46.292969 40.941406 46.257812 L 45.574219 35.304688 C 45.78125 34.800781 45.535156 34.179688 45.011719 33.976562 C 44.503906 33.75 43.886719 33.992188 43.660156 34.519531 L 40.003906 43.199219 L 36.347656 34.519531 C 36.125 33.992188 35.523438 33.75 35.019531 33.976562 C 34.472656 34.179688 34.230469 34.800781 34.457031 35.304688 L 39.050781 46.257812 C 39.085938 46.292969 39.125 46.367188 39.144531 46.40625 C 39.144531 46.425781 39.160156 46.425781 39.160156 46.425781 C 39.179688 46.460938 39.21875 46.5 39.253906 46.539062 C 39.253906 46.574219 39.273438 46.574219 39.273438 46.59375 C 39.332031 46.632812 39.367188 46.648438 39.40625 46.6875 L 39.425781 46.6875 C 39.480469 46.726562 39.554688 46.78125 39.59375 46.800781 L 39.613281 46.800781 C 39.613281 46.800781 39.628906 46.800781 39.628906 46.820312 C 39.667969 46.820312 39.742188 46.835938 39.78125 46.855469 L 39.816406 46.855469 L 39.910156 46.871094 L 40.003906 46.875 C 40.0625 46.875 40.117188 46.875 40.191406 46.855469 Z M 40.191406 46.855469 \"/>\\n      </g>'},pngIcon:{extension:\".png\",path:'<g id=\"surface1\">\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;\" d=\"M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 \"/>\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 \"/>\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 \"/>\\n      <path style=\" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;\" d=\"M 7.523438 46.875 C 8.105469 46.875 8.574219 46.40625 8.574219 45.84375 L 8.574219 41.773438 L 10.878906 41.773438 C 13.109375 41.773438 14.910156 39.976562 14.910156 37.78125 C 14.910156 35.550781 13.109375 33.75 10.878906 33.75 L 7.523438 33.75 C 6.960938 33.75 6.492188 34.199219 6.492188 34.78125 L 6.492188 45.84375 C 6.492188 46.40625 6.960938 46.875 7.523438 46.875 Z M 10.878906 39.695312 L 8.574219 39.695312 L 8.574219 35.832031 L 10.878906 35.832031 C 11.964844 35.832031 12.808594 36.695312 12.828125 37.78125 C 12.808594 38.832031 11.964844 39.695312 10.878906 39.695312 Z M 26.75 46.875 C 27.3125 46.875 27.78125 46.40625 27.78125 45.84375 L 27.78125 34.949219 C 27.78125 34.40625 27.3125 33.9375 26.75 33.9375 C 26.1875 33.9375 25.738281 34.40625 25.738281 34.949219 L 25.738281 42.675781 L 19.679688 34.292969 C 19.363281 33.84375 18.722656 33.75 18.253906 34.070312 C 17.972656 34.273438 17.824219 34.613281 17.84375 34.929688 L 17.84375 45.84375 C 17.84375 46.40625 18.292969 46.875 18.875 46.875 C 19.417969 46.875 19.886719 46.40625 19.886719 45.84375 L 19.886719 38.0625 L 25.886719 46.386719 C 25.90625 46.425781 25.941406 46.460938 25.980469 46.5 C 26.167969 46.726562 26.449219 46.875 26.75 46.875 Z M 38.082031 46.875 C 39.675781 46.875 41.15625 46.332031 42.339844 45.414062 C 42.527344 45.28125 42.636719 45.132812 42.695312 44.960938 L 42.695312 44.945312 C 42.714844 44.90625 42.714844 44.886719 42.730469 44.851562 C 42.75 44.738281 42.789062 44.664062 42.789062 44.53125 L 42.789062 40.386719 C 42.789062 39.789062 42.300781 39.335938 41.699219 39.335938 L 37.96875 39.335938 C 37.386719 39.335938 36.902344 39.789062 36.902344 40.386719 C 36.902344 40.96875 37.386719 41.457031 37.96875 41.457031 L 40.652344 41.457031 L 40.652344 44.023438 C 39.902344 44.457031 39.019531 44.738281 38.082031 44.738281 C 36.730469 44.738281 35.550781 44.230469 34.707031 43.367188 C 33.824219 42.523438 33.300781 41.382812 33.300781 40.144531 C 33.300781 38.867188 33.824219 37.726562 34.707031 36.882812 C 35.550781 36.019531 36.730469 35.511719 38.082031 35.511719 C 39.207031 35.511719 40.238281 35.90625 41.042969 36.523438 C 41.511719 36.898438 42.207031 36.804688 42.5625 36.355469 C 42.917969 35.886719 42.84375 35.195312 42.355469 34.835938 C 41.195312 33.917969 39.675781 33.375 38.082031 33.375 C 34.277344 33.375 31.164062 36.375 31.164062 40.144531 C 31.164062 43.894531 34.277344 46.875 38.082031 46.875 Z M 38.082031 46.875 \"/>\\n      </g>'},txtIcon:{extension:\".txt\",path:'<g id=\"surface1\">\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;\" d=\"M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 \"/>\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 \"/>\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 \"/>\\n      <path style=\" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;\" d=\"M 12.847656 46.875 C 13.429688 46.875 13.878906 46.425781 13.878906 45.84375 L 13.878906 35.832031 L 16.859375 35.832031 C 17.421875 35.832031 17.890625 35.34375 17.890625 34.78125 C 17.890625 34.199219 17.421875 33.75 16.859375 33.75 L 8.855469 33.75 C 8.273438 33.75 7.824219 34.199219 7.824219 34.78125 C 7.824219 35.34375 8.273438 35.832031 8.855469 35.832031 L 11.816406 35.832031 L 11.816406 45.84375 C 11.816406 46.425781 12.285156 46.875 12.847656 46.875 Z M 29.019531 46.875 C 29.222656 46.875 29.429688 46.800781 29.617188 46.667969 C 30.085938 46.351562 30.160156 45.695312 29.84375 45.242188 L 26.28125 40.367188 L 29.84375 35.53125 C 30.160156 35.0625 30.085938 34.425781 29.617188 34.105469 C 29.148438 33.75 28.53125 33.84375 28.175781 34.332031 L 25.023438 38.644531 L 21.855469 34.332031 C 21.535156 33.84375 20.878906 33.75 20.429688 34.105469 C 19.960938 34.425781 19.867188 35.0625 20.1875 35.53125 L 23.75 40.367188 L 20.1875 45.242188 C 19.867188 45.695312 19.960938 46.351562 20.429688 46.667969 C 20.597656 46.800781 20.804688 46.875 21.03125 46.875 C 21.347656 46.875 21.648438 46.707031 21.855469 46.445312 L 25.023438 42.113281 L 28.175781 46.445312 C 28.378906 46.707031 28.679688 46.875 29.019531 46.875 Z M 37.464844 46.875 C 38.042969 46.875 38.496094 46.425781 38.496094 45.84375 L 38.496094 35.832031 L 41.476562 35.832031 C 42.039062 35.832031 42.507812 35.34375 42.507812 34.78125 C 42.507812 34.199219 42.039062 33.75 41.476562 33.75 L 33.46875 33.75 C 32.886719 33.75 32.4375 34.199219 32.4375 34.78125 C 32.4375 35.34375 32.886719 35.832031 33.46875 35.832031 L 36.433594 35.832031 L 36.433594 45.84375 C 36.433594 46.425781 36.902344 46.875 37.464844 46.875 Z M 37.464844 46.875 \"/>\\n      </g>'},webmIcon:{extension:\".webm\",path:'<g id=\"surface1\">\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;\" d=\"M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 \"/>\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 \"/>\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 \"/>\\n      <path style=\" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;\" d=\"M 7.195312 43.734375 L 7.242188 43.734375 C 7.273438 43.71875 7.304688 43.703125 7.367188 43.703125 C 7.367188 43.6875 7.382812 43.6875 7.382812 43.6875 L 7.398438 43.6875 C 7.429688 43.671875 7.476562 43.625 7.523438 43.59375 L 7.554688 43.59375 C 7.585938 43.5625 7.617188 43.53125 7.648438 43.515625 C 7.648438 43.5 7.664062 43.5 7.664062 43.46875 L 7.757812 43.375 C 7.757812 43.375 7.757812 43.359375 7.773438 43.359375 C 7.789062 43.328125 7.820312 43.265625 7.835938 43.21875 L 9.882812 38.375 L 11.929688 43.21875 C 11.945312 43.265625 11.960938 43.328125 11.992188 43.359375 C 11.992188 43.359375 11.992188 43.375 12.023438 43.375 L 12.085938 43.46875 C 12.101562 43.5 12.101562 43.5 12.117188 43.515625 C 12.148438 43.53125 12.179688 43.5625 12.226562 43.59375 L 12.242188 43.59375 C 12.273438 43.625 12.320312 43.671875 12.382812 43.6875 C 12.398438 43.6875 12.398438 43.6875 12.414062 43.703125 C 12.445312 43.703125 12.476562 43.71875 12.523438 43.734375 L 12.570312 43.734375 L 12.640625 43.746094 L 12.710938 43.75 C 12.773438 43.75 12.820312 43.75 12.867188 43.734375 L 12.898438 43.734375 C 12.945312 43.71875 12.992188 43.703125 13.023438 43.703125 C 13.023438 43.6875 13.039062 43.6875 13.039062 43.6875 L 13.054688 43.6875 C 13.117188 43.671875 13.148438 43.625 13.195312 43.59375 L 13.210938 43.59375 C 13.242188 43.5625 13.289062 43.53125 13.320312 43.515625 C 13.320312 43.5 13.335938 43.5 13.335938 43.46875 C 13.367188 43.4375 13.398438 43.40625 13.414062 43.375 C 13.414062 43.375 13.429688 43.359375 13.429688 43.359375 C 13.460938 43.328125 13.492188 43.265625 13.507812 43.21875 L 17.335938 34.109375 C 17.523438 33.6875 17.320312 33.171875 16.898438 33 C 16.445312 32.8125 15.945312 33.015625 15.757812 33.453125 L 12.710938 40.6875 L 10.695312 35.890625 C 10.539062 35.546875 10.210938 35.359375 9.882812 35.359375 C 9.539062 35.359375 9.210938 35.546875 9.070312 35.890625 L 7.054688 40.6875 L 3.992188 33.453125 C 3.820312 33.015625 3.304688 32.8125 2.882812 33 C 2.429688 33.171875 2.242188 33.6875 2.414062 34.109375 L 6.257812 43.21875 C 6.289062 43.265625 6.304688 43.328125 6.335938 43.359375 L 6.335938 43.375 C 6.367188 43.40625 6.382812 43.4375 6.414062 43.46875 C 6.429688 43.5 6.429688 43.5 6.445312 43.515625 C 6.492188 43.53125 6.507812 43.5625 6.554688 43.59375 L 6.570312 43.59375 C 6.601562 43.625 6.664062 43.671875 6.710938 43.6875 C 6.726562 43.6875 6.726562 43.6875 6.742188 43.703125 C 6.773438 43.703125 6.804688 43.71875 6.851562 43.734375 L 6.898438 43.734375 L 6.976562 43.746094 L 7.054688 43.75 C 7.101562 43.75 7.148438 43.75 7.195312 43.734375 Z M 25.179688 43.75 C 25.632812 43.75 26.039062 43.359375 26.039062 42.890625 C 26.039062 42.40625 25.632812 42.015625 25.179688 42.015625 L 20.945312 42.015625 L 20.945312 39.140625 L 24.585938 39.140625 C 25.054688 39.140625 25.445312 38.75 25.445312 38.265625 C 25.445312 37.8125 25.054688 37.40625 24.585938 37.40625 L 20.945312 37.40625 L 20.945312 34.546875 L 25.179688 34.546875 C 25.632812 34.546875 26.039062 34.15625 26.039062 33.671875 C 26.039062 33.1875 25.632812 32.8125 25.179688 32.8125 L 20.070312 32.8125 C 19.585938 32.8125 19.210938 33.1875 19.210938 33.671875 L 19.210938 42.890625 C 19.210938 43.359375 19.585938 43.75 20.070312 43.75 C 20.070312 43.75 20.085938 43.734375 20.085938 43.734375 C 20.085938 43.734375 20.085938 43.75 20.117188 43.75 Z M 31.539062 43.75 C 33.382812 43.75 34.882812 42.25 34.882812 40.390625 C 34.882812 39.203125 34.242188 38.15625 33.304688 37.5625 C 33.679688 37.0625 33.898438 36.453125 33.898438 35.78125 C 33.898438 34.140625 32.570312 32.8125 30.929688 32.8125 L 28.710938 32.8125 C 28.242188 32.8125 27.851562 33.1875 27.851562 33.671875 L 27.851562 42.890625 C 27.851562 43.359375 28.242188 43.75 28.710938 43.75 L 28.757812 43.734375 C 28.757812 43.734375 28.757812 43.75 28.773438 43.75 Z M 30.929688 37.046875 L 29.585938 37.046875 L 29.585938 34.546875 L 30.929688 34.546875 C 31.617188 34.546875 32.164062 35.09375 32.164062 35.78125 C 32.164062 36.46875 31.617188 37.046875 30.929688 37.046875 Z M 31.539062 42.015625 L 29.585938 42.015625 L 29.585938 38.78125 L 31.539062 38.78125 C 32.429688 38.796875 33.148438 39.5 33.148438 40.390625 C 33.148438 41.296875 32.429688 42 31.539062 42.015625 Z M 45.664062 43.75 C 46.132812 43.75 46.539062 43.359375 46.539062 42.890625 L 46.539062 33.671875 C 46.539062 33.269531 46.242188 32.9375 45.859375 32.839844 L 45.664062 32.8125 L 45.648438 32.8125 C 45.367188 32.8125 45.117188 32.9375 44.945312 33.171875 L 41.835938 37.484375 L 38.726562 33.171875 C 38.570312 32.9375 38.289062 32.8125 38.039062 32.8125 L 37.992188 32.8125 C 37.523438 32.8125 37.132812 33.203125 37.132812 33.671875 L 37.132812 42.890625 C 37.132812 43.359375 37.523438 43.75 37.992188 43.75 C 38.476562 43.75 38.867188 43.359375 38.867188 42.890625 L 38.867188 36.3125 L 41.101562 39.4375 C 41.273438 39.671875 41.539062 39.796875 41.820312 39.796875 L 41.851562 39.796875 C 42.132812 39.796875 42.382812 39.671875 42.554688 39.4375 L 44.804688 36.3125 L 44.804688 42.890625 C 44.804688 43.359375 45.179688 43.75 45.664062 43.75 Z M 45.664062 43.75 \"/>\\n      </g>'},webpIcon:{extension:\".webp\",path:'<g id=\"surface1\">\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;\" d=\"M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 \"/>\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 \"/>\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 \"/>\\n      <path style=\" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;\" d=\"M 9.234375 43.734375 L 9.28125 43.734375 C 9.3125 43.71875 9.34375 43.703125 9.40625 43.703125 L 9.414062 43.6875 C 9.421875 43.6875 9.421875 43.6875 9.4375 43.6875 C 9.46875 43.671875 9.515625 43.625 9.5625 43.59375 L 9.59375 43.59375 C 9.625 43.5625 9.65625 43.53125 9.6875 43.515625 C 9.6875 43.5 9.703125 43.5 9.703125 43.46875 L 9.796875 43.375 C 9.796875 43.375 9.796875 43.359375 9.8125 43.359375 C 9.828125 43.328125 9.859375 43.265625 9.875 43.21875 L 11.921875 38.375 L 13.96875 43.21875 C 13.984375 43.265625 14 43.328125 14.03125 43.359375 C 14.03125 43.359375 14.03125 43.375 14.0625 43.375 L 14.125 43.46875 C 14.140625 43.5 14.140625 43.5 14.15625 43.515625 L 14.203125 43.546875 L 14.265625 43.59375 C 14.265625 43.59375 14.265625 43.59375 14.28125 43.59375 C 14.3125 43.625 14.359375 43.671875 14.421875 43.6875 C 14.4375 43.6875 14.4375 43.6875 14.453125 43.703125 C 14.484375 43.703125 14.515625 43.71875 14.5625 43.734375 L 14.609375 43.734375 L 14.679688 43.746094 L 14.75 43.75 C 14.8125 43.75 14.859375 43.75 14.90625 43.734375 L 14.9375 43.734375 C 14.984375 43.71875 15.03125 43.703125 15.0625 43.703125 C 15.0625 43.6875 15.078125 43.6875 15.078125 43.6875 L 15.09375 43.6875 C 15.15625 43.671875 15.1875 43.625 15.234375 43.59375 L 15.25 43.59375 C 15.28125 43.5625 15.328125 43.53125 15.359375 43.515625 C 15.359375 43.5 15.375 43.5 15.375 43.46875 C 15.40625 43.4375 15.4375 43.40625 15.453125 43.375 L 15.46875 43.359375 C 15.5 43.328125 15.53125 43.265625 15.546875 43.21875 L 19.375 34.109375 C 19.5625 33.6875 19.359375 33.171875 18.9375 33 C 18.484375 32.8125 17.984375 33.015625 17.796875 33.453125 L 14.75 40.6875 L 12.734375 35.890625 C 12.578125 35.546875 12.25 35.359375 11.921875 35.359375 C 11.578125 35.359375 11.25 35.546875 11.109375 35.890625 L 9.09375 40.6875 L 6.03125 33.453125 C 5.859375 33.015625 5.34375 32.8125 4.921875 33 C 4.46875 33.171875 4.28125 33.6875 4.453125 34.109375 L 8.296875 43.21875 C 8.328125 43.265625 8.34375 43.328125 8.375 43.359375 L 8.375 43.375 C 8.40625 43.40625 8.421875 43.4375 8.453125 43.46875 C 8.46875 43.5 8.46875 43.5 8.484375 43.515625 L 8.539062 43.546875 L 8.59375 43.59375 C 8.59375 43.59375 8.59375 43.59375 8.609375 43.59375 C 8.640625 43.625 8.703125 43.671875 8.75 43.6875 C 8.765625 43.6875 8.765625 43.6875 8.78125 43.703125 C 8.8125 43.703125 8.84375 43.71875 8.890625 43.734375 L 8.9375 43.734375 L 9.015625 43.746094 L 9.09375 43.75 C 9.140625 43.75 9.1875 43.75 9.234375 43.734375 Z M 27.21875 43.75 C 27.671875 43.75 28.078125 43.359375 28.078125 42.890625 C 28.078125 42.40625 27.671875 42.015625 27.21875 42.015625 L 22.984375 42.015625 L 22.984375 39.140625 L 26.625 39.140625 C 27.09375 39.140625 27.484375 38.75 27.484375 38.265625 C 27.484375 37.8125 27.09375 37.40625 26.625 37.40625 L 22.984375 37.40625 L 22.984375 34.546875 L 27.21875 34.546875 C 27.671875 34.546875 28.078125 34.15625 28.078125 33.671875 C 28.078125 33.1875 27.671875 32.8125 27.21875 32.8125 L 22.109375 32.8125 C 21.625 32.8125 21.25 33.1875 21.25 33.671875 L 21.25 42.890625 C 21.25 43.359375 21.625 43.75 22.109375 43.75 L 22.125 43.734375 C 22.125 43.734375 22.125 43.75 22.15625 43.75 Z M 33.578125 43.75 C 35.421875 43.75 36.921875 42.25 36.921875 40.390625 C 36.921875 39.203125 36.28125 38.15625 35.34375 37.5625 C 35.71875 37.0625 35.9375 36.453125 35.9375 35.78125 C 35.9375 34.140625 34.609375 32.8125 32.96875 32.8125 L 30.75 32.8125 C 30.28125 32.8125 29.890625 33.1875 29.890625 33.671875 L 29.890625 42.890625 C 29.890625 43.359375 30.28125 43.75 30.75 43.75 C 30.765625 43.75 30.765625 43.734375 30.796875 43.734375 C 30.796875 43.734375 30.796875 43.75 30.8125 43.75 Z M 32.96875 37.046875 L 31.625 37.046875 L 31.625 34.546875 L 32.96875 34.546875 C 33.65625 34.546875 34.203125 35.09375 34.203125 35.78125 C 34.203125 36.46875 33.65625 37.046875 32.96875 37.046875 Z M 33.578125 42.015625 L 31.625 42.015625 L 31.625 38.78125 L 33.578125 38.78125 C 34.46875 38.796875 35.1875 39.5 35.1875 40.390625 C 35.1875 41.296875 34.46875 42 33.578125 42.015625 Z M 40.03125 43.75 C 40.515625 43.75 40.90625 43.359375 40.90625 42.890625 L 40.90625 39.5 L 42.828125 39.5 C 44.6875 39.5 46.1875 38 46.1875 36.171875 C 46.1875 34.3125 44.6875 32.8125 42.828125 32.8125 L 40.03125 32.8125 C 39.5625 32.8125 39.171875 33.1875 39.171875 33.671875 L 39.171875 42.890625 C 39.171875 43.359375 39.5625 43.75 40.03125 43.75 Z M 42.828125 37.765625 L 40.90625 37.765625 L 40.90625 34.546875 L 42.828125 34.546875 C 43.734375 34.546875 44.4375 35.265625 44.453125 36.171875 C 44.4375 37.046875 43.734375 37.765625 42.828125 37.765625 Z M 42.828125 37.765625 \"/>\\n      </g>'},wmvIcon:{extension:\".wmv\",path:'<g id=\"surface1\">\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;\" d=\"M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 \"/>\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 \"/>\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 \"/>\\n      <path style=\" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;\" d=\"M 8.484375 43.734375 L 8.53125 43.734375 C 8.5625 43.71875 8.59375 43.703125 8.65625 43.703125 L 8.664062 43.6875 C 8.671875 43.6875 8.671875 43.6875 8.6875 43.6875 C 8.71875 43.671875 8.765625 43.625 8.8125 43.59375 L 8.84375 43.59375 C 8.875 43.5625 8.90625 43.53125 8.9375 43.515625 C 8.9375 43.5 8.953125 43.5 8.953125 43.46875 L 9.046875 43.375 C 9.046875 43.375 9.046875 43.359375 9.0625 43.359375 C 9.078125 43.328125 9.109375 43.265625 9.125 43.21875 L 11.171875 38.375 L 13.21875 43.21875 C 13.234375 43.265625 13.25 43.328125 13.28125 43.359375 C 13.28125 43.359375 13.28125 43.375 13.3125 43.375 L 13.375 43.46875 C 13.390625 43.5 13.390625 43.5 13.40625 43.515625 L 13.453125 43.546875 L 13.515625 43.59375 C 13.515625 43.59375 13.515625 43.59375 13.53125 43.59375 C 13.5625 43.625 13.609375 43.671875 13.671875 43.6875 C 13.6875 43.6875 13.6875 43.6875 13.703125 43.703125 C 13.734375 43.703125 13.765625 43.71875 13.8125 43.734375 L 13.859375 43.734375 L 13.929688 43.746094 L 14 43.75 C 14.0625 43.75 14.109375 43.75 14.15625 43.734375 L 14.1875 43.734375 C 14.234375 43.71875 14.28125 43.703125 14.3125 43.703125 C 14.3125 43.6875 14.328125 43.6875 14.328125 43.6875 L 14.34375 43.6875 C 14.40625 43.671875 14.4375 43.625 14.484375 43.59375 L 14.5 43.59375 C 14.53125 43.5625 14.578125 43.53125 14.609375 43.515625 C 14.609375 43.5 14.625 43.5 14.625 43.46875 C 14.65625 43.4375 14.6875 43.40625 14.703125 43.375 L 14.71875 43.359375 C 14.75 43.328125 14.78125 43.265625 14.796875 43.21875 L 18.625 34.109375 C 18.8125 33.6875 18.609375 33.171875 18.1875 33 C 17.734375 32.8125 17.234375 33.015625 17.046875 33.453125 L 14 40.6875 L 11.984375 35.890625 C 11.828125 35.546875 11.5 35.359375 11.171875 35.359375 C 10.828125 35.359375 10.5 35.546875 10.359375 35.890625 L 8.34375 40.6875 L 5.28125 33.453125 C 5.109375 33.015625 4.59375 32.8125 4.171875 33 C 3.71875 33.171875 3.53125 33.6875 3.703125 34.109375 L 7.546875 43.21875 C 7.578125 43.265625 7.59375 43.328125 7.625 43.359375 L 7.625 43.375 C 7.65625 43.40625 7.671875 43.4375 7.703125 43.46875 C 7.71875 43.5 7.71875 43.5 7.734375 43.515625 L 7.789062 43.546875 L 7.84375 43.59375 C 7.84375 43.59375 7.84375 43.59375 7.859375 43.59375 C 7.890625 43.625 7.953125 43.671875 8 43.6875 C 8.015625 43.6875 8.015625 43.6875 8.03125 43.703125 C 8.0625 43.703125 8.09375 43.71875 8.140625 43.734375 L 8.1875 43.734375 L 8.265625 43.746094 L 8.34375 43.75 C 8.390625 43.75 8.4375 43.75 8.484375 43.734375 Z M 29.03125 43.75 C 29.5 43.75 29.90625 43.359375 29.90625 42.890625 L 29.90625 33.671875 C 29.90625 33.269531 29.609375 32.9375 29.226562 32.839844 L 29.03125 32.8125 L 29.015625 32.8125 C 28.734375 32.8125 28.484375 32.9375 28.3125 33.171875 L 25.203125 37.484375 L 22.09375 33.171875 C 21.9375 32.9375 21.65625 32.8125 21.40625 32.8125 L 21.359375 32.8125 C 20.890625 32.8125 20.5 33.203125 20.5 33.671875 L 20.5 42.890625 C 20.5 43.359375 20.890625 43.75 21.359375 43.75 C 21.84375 43.75 22.234375 43.359375 22.234375 42.890625 L 22.234375 36.3125 L 24.46875 39.4375 C 24.640625 39.671875 24.90625 39.796875 25.1875 39.796875 L 25.21875 39.796875 C 25.5 39.796875 25.75 39.671875 25.921875 39.4375 L 28.171875 36.3125 L 28.171875 42.890625 C 28.171875 43.359375 28.546875 43.75 29.03125 43.75 Z M 37.015625 43.734375 L 37.0625 43.734375 C 37.09375 43.71875 37.125 43.703125 37.1875 43.703125 L 37.195312 43.6875 C 37.203125 43.6875 37.203125 43.6875 37.21875 43.6875 C 37.25 43.671875 37.296875 43.625 37.34375 43.59375 L 37.375 43.59375 C 37.40625 43.5625 37.4375 43.53125 37.46875 43.515625 C 37.46875 43.5 37.484375 43.5 37.484375 43.46875 L 37.578125 43.375 C 37.578125 43.375 37.578125 43.359375 37.59375 43.359375 C 37.609375 43.328125 37.640625 43.265625 37.65625 43.21875 L 39.703125 38.375 L 41.75 43.21875 C 41.765625 43.265625 41.78125 43.328125 41.8125 43.359375 C 41.8125 43.359375 41.8125 43.375 41.84375 43.375 L 41.90625 43.46875 C 41.921875 43.5 41.921875 43.5 41.9375 43.515625 L 41.984375 43.546875 L 42.046875 43.59375 C 42.046875 43.59375 42.046875 43.59375 42.0625 43.59375 C 42.09375 43.625 42.140625 43.671875 42.203125 43.6875 C 42.21875 43.6875 42.21875 43.6875 42.234375 43.703125 C 42.265625 43.703125 42.296875 43.71875 42.34375 43.734375 L 42.390625 43.734375 L 42.460938 43.746094 L 42.53125 43.75 C 42.59375 43.75 42.640625 43.75 42.6875 43.734375 L 42.71875 43.734375 C 42.765625 43.71875 42.8125 43.703125 42.84375 43.703125 C 42.84375 43.6875 42.859375 43.6875 42.859375 43.6875 L 42.875 43.6875 C 42.9375 43.671875 42.96875 43.625 43.015625 43.59375 L 43.03125 43.59375 C 43.0625 43.5625 43.109375 43.53125 43.140625 43.515625 C 43.140625 43.5 43.15625 43.5 43.15625 43.46875 C 43.1875 43.4375 43.21875 43.40625 43.234375 43.375 L 43.25 43.359375 C 43.28125 43.328125 43.3125 43.265625 43.328125 43.21875 L 47.15625 34.109375 C 47.34375 33.6875 47.140625 33.171875 46.71875 33 C 46.265625 32.8125 45.765625 33.015625 45.578125 33.453125 L 42.53125 40.6875 L 40.515625 35.890625 C 40.359375 35.546875 40.03125 35.359375 39.703125 35.359375 C 39.359375 35.359375 39.03125 35.546875 38.890625 35.890625 L 36.875 40.6875 L 33.8125 33.453125 C 33.640625 33.015625 33.125 32.8125 32.703125 33 C 32.25 33.171875 32.0625 33.6875 32.234375 34.109375 L 36.078125 43.21875 C 36.109375 43.265625 36.125 43.328125 36.15625 43.359375 L 36.15625 43.375 C 36.1875 43.40625 36.203125 43.4375 36.234375 43.46875 C 36.25 43.5 36.25 43.5 36.265625 43.515625 L 36.320312 43.546875 L 36.375 43.59375 C 36.375 43.59375 36.375 43.59375 36.390625 43.59375 C 36.421875 43.625 36.484375 43.671875 36.53125 43.6875 C 36.546875 43.6875 36.546875 43.6875 36.5625 43.703125 C 36.59375 43.703125 36.625 43.71875 36.671875 43.734375 L 36.71875 43.734375 L 36.796875 43.746094 L 36.875 43.75 C 36.921875 43.75 36.96875 43.75 37.015625 43.734375 Z M 37.015625 43.734375 \"/>\\n      </g>'},xlsIcon:{extension:\".xls\",path:'<g id=\"surface1\">\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;\" d=\"M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 \"/>\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 \"/>\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 \"/>\\n      <path style=\" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;\" d=\"M 17.21875 46.875 C 17.425781 46.875 17.632812 46.800781 17.820312 46.667969 C 18.289062 46.351562 18.363281 45.695312 18.042969 45.242188 L 14.480469 40.367188 L 18.042969 35.53125 C 18.363281 35.0625 18.289062 34.425781 17.820312 34.105469 C 17.351562 33.75 16.730469 33.84375 16.375 34.332031 L 13.226562 38.644531 L 10.054688 34.332031 C 9.738281 33.84375 9.082031 33.75 8.632812 34.105469 C 8.164062 34.425781 8.070312 35.0625 8.386719 35.53125 L 11.949219 40.367188 L 8.386719 45.242188 C 8.070312 45.695312 8.164062 46.351562 8.632812 46.667969 C 8.800781 46.800781 9.007812 46.875 9.230469 46.875 C 9.550781 46.875 9.851562 46.707031 10.054688 46.445312 L 13.226562 42.113281 L 16.375 46.445312 C 16.582031 46.707031 16.882812 46.875 17.21875 46.875 Z M 29.351562 46.875 C 29.894531 46.875 30.382812 46.40625 30.382812 45.84375 C 30.382812 45.261719 29.894531 44.792969 29.351562 44.792969 L 24.269531 44.792969 L 24.269531 34.78125 C 24.269531 34.21875 23.800781 33.75 23.21875 33.75 C 22.636719 33.75 22.1875 34.21875 22.1875 34.78125 L 22.1875 45.84375 C 22.1875 46.335938 22.53125 46.757812 23.007812 46.855469 L 23.222656 46.875 Z M 37.28125 46.855469 C 38.613281 46.855469 39.832031 46.460938 40.75 45.789062 C 41.6875 45.113281 42.363281 44.082031 42.363281 42.882812 C 42.363281 42.300781 42.195312 41.738281 41.914062 41.289062 C 41.480469 40.59375 40.804688 40.105469 40.039062 39.730469 C 39.289062 39.375 38.40625 39.132812 37.449219 38.945312 L 37.414062 38.945312 C 36.398438 38.757812 35.554688 38.457031 35.070312 38.117188 C 34.824219 37.949219 34.65625 37.78125 34.5625 37.632812 C 34.46875 37.480469 34.429688 37.332031 34.429688 37.105469 C 34.429688 36.710938 34.636719 36.300781 35.144531 35.925781 C 35.648438 35.550781 36.398438 35.289062 37.242188 35.289062 C 38.386719 35.289062 39.304688 35.851562 40.261719 36.488281 C 40.710938 36.789062 41.3125 36.65625 41.59375 36.207031 C 41.894531 35.773438 41.761719 35.175781 41.332031 34.875 C 40.375 34.257812 39.042969 33.375 37.242188 33.375 C 36.023438 33.375 34.882812 33.730469 34 34.367188 C 33.136719 35.007812 32.5 35.980469 32.5 37.105469 C 32.5 37.667969 32.648438 38.195312 32.929688 38.644531 C 33.34375 39.300781 33.960938 39.769531 34.675781 40.105469 C 35.386719 40.445312 36.210938 40.667969 37.09375 40.835938 L 37.132812 40.835938 C 38.238281 41.042969 39.15625 41.363281 39.699219 41.71875 C 39.980469 41.90625 40.148438 42.09375 40.261719 42.28125 C 40.375 42.46875 40.429688 42.636719 40.429688 42.882812 C 40.429688 43.351562 40.1875 43.820312 39.625 44.230469 C 39.0625 44.644531 38.21875 44.925781 37.28125 44.925781 C 35.949219 44.945312 34.523438 44.15625 33.699219 43.480469 C 33.289062 43.144531 32.667969 43.199219 32.332031 43.613281 C 32.011719 44.023438 32.070312 44.644531 32.480469 44.980469 C 33.550781 45.824219 35.257812 46.835938 37.28125 46.855469 Z M 37.28125 46.855469 \"/>\\n      </g>'},xlsxIcon:{extension:\".xlsx\",path:'<g id=\"surface1\">\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;\" d=\"M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 \"/>\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 \"/>\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 \"/>\\n      <path style=\" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;\" d=\"M 13.070312 43.75 C 13.242188 43.75 13.414062 43.6875 13.570312 43.578125 C 13.960938 43.3125 14.023438 42.765625 13.757812 42.390625 L 10.789062 38.328125 L 13.757812 34.296875 C 14.023438 33.90625 13.960938 33.375 13.570312 33.109375 C 13.179688 32.8125 12.664062 32.890625 12.367188 33.296875 L 9.742188 36.890625 L 7.101562 33.296875 C 6.835938 32.890625 6.289062 32.8125 5.914062 33.109375 C 5.523438 33.375 5.445312 33.90625 5.710938 34.296875 L 8.679688 38.328125 L 5.710938 42.390625 C 5.445312 42.765625 5.523438 43.3125 5.914062 43.578125 C 6.054688 43.6875 6.226562 43.75 6.414062 43.75 C 6.679688 43.75 6.929688 43.609375 7.101562 43.390625 L 9.742188 39.78125 L 12.367188 43.390625 C 12.539062 43.609375 12.789062 43.75 13.070312 43.75 Z M 23.179688 43.75 C 23.632812 43.75 24.039062 43.359375 24.039062 42.890625 C 24.039062 42.40625 23.632812 42.015625 23.179688 42.015625 L 18.945312 42.015625 L 18.945312 33.671875 C 18.945312 33.203125 18.554688 32.8125 18.070312 32.8125 C 17.585938 32.8125 17.210938 33.203125 17.210938 33.671875 L 17.210938 42.890625 C 17.210938 43.359375 17.585938 43.75 18.070312 43.75 Z M 29.789062 43.734375 C 30.898438 43.734375 31.914062 43.40625 32.679688 42.84375 C 33.460938 42.28125 34.023438 41.421875 34.023438 40.421875 C 34.023438 39.9375 33.882812 39.46875 33.648438 39.09375 C 33.289062 38.515625 32.726562 38.109375 32.085938 37.796875 C 31.460938 37.5 30.726562 37.296875 29.929688 37.140625 L 29.898438 37.140625 C 29.054688 36.984375 28.351562 36.734375 27.945312 36.453125 C 27.742188 36.3125 27.601562 36.171875 27.523438 36.046875 C 27.445312 35.921875 27.414062 35.796875 27.414062 35.609375 C 27.414062 35.28125 27.585938 34.9375 28.007812 34.625 C 28.429688 34.3125 29.054688 34.09375 29.757812 34.09375 C 30.710938 34.09375 31.476562 34.5625 32.273438 35.09375 C 32.648438 35.34375 33.148438 35.234375 33.382812 34.859375 C 33.632812 34.5 33.523438 34 33.164062 33.75 C 32.367188 33.234375 31.257812 32.5 29.757812 32.5 C 28.742188 32.5 27.789062 32.796875 27.054688 33.328125 C 26.335938 33.859375 25.804688 34.671875 25.804688 35.609375 C 25.804688 36.078125 25.929688 36.515625 26.164062 36.890625 C 26.507812 37.4375 27.023438 37.828125 27.617188 38.109375 C 28.210938 38.390625 28.898438 38.578125 29.632812 38.71875 L 29.664062 38.71875 C 30.585938 38.890625 31.351562 39.15625 31.804688 39.453125 C 32.039062 39.609375 32.179688 39.765625 32.273438 39.921875 C 32.367188 40.078125 32.414062 40.21875 32.414062 40.421875 C 32.414062 40.8125 32.210938 41.203125 31.742188 41.546875 C 31.273438 41.890625 30.570312 42.125 29.789062 42.125 C 28.679688 42.140625 27.492188 41.484375 26.804688 40.921875 C 26.460938 40.640625 25.945312 40.6875 25.664062 41.03125 C 25.398438 41.375 25.445312 41.890625 25.789062 42.171875 C 26.679688 42.875 28.101562 43.71875 29.789062 43.734375 Z M 43.179688 43.75 C 43.351562 43.75 43.523438 43.6875 43.679688 43.578125 C 44.070312 43.3125 44.132812 42.765625 43.867188 42.390625 L 40.898438 38.328125 L 43.867188 34.296875 C 44.132812 33.90625 44.070312 33.375 43.679688 33.109375 C 43.289062 32.8125 42.773438 32.890625 42.476562 33.296875 L 39.851562 36.890625 L 37.210938 33.296875 C 36.945312 32.890625 36.398438 32.8125 36.023438 33.109375 C 35.632812 33.375 35.554688 33.90625 35.820312 34.296875 L 38.789062 38.328125 L 35.820312 42.390625 C 35.554688 42.765625 35.632812 43.3125 36.023438 43.578125 C 36.164062 43.6875 36.335938 43.75 36.523438 43.75 C 36.789062 43.75 37.039062 43.609375 37.210938 43.390625 L 39.851562 39.78125 L 42.476562 43.390625 C 42.648438 43.609375 42.898438 43.75 43.179688 43.75 Z M 43.179688 43.75 \"/>\\n      </g>'},zipIcon:{extension:\".zip\",path:'<g id=\"surface1\">\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;\" d=\"M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 \"/>\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 \"/>\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 \"/>\\n      <path style=\" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;\" d=\"M 20.175781 46.875 C 20.855469 46.875 21.402344 46.351562 21.402344 45.671875 C 21.402344 44.992188 20.855469 44.445312 20.175781 44.445312 L 13.132812 44.445312 L 21.183594 33.488281 L 21.183594 33.445312 C 21.203125 33.421875 21.226562 33.378906 21.25 33.335938 C 21.269531 33.3125 21.269531 33.289062 21.292969 33.269531 C 21.3125 33.203125 21.3125 33.179688 21.335938 33.136719 C 21.335938 33.09375 21.378906 33.070312 21.378906 33.007812 C 21.378906 32.984375 21.378906 32.960938 21.402344 32.917969 L 21.402344 32.679688 C 21.402344 32.632812 21.402344 32.613281 21.378906 32.546875 C 21.378906 32.503906 21.378906 32.480469 21.335938 32.4375 C 21.335938 32.414062 21.3125 32.371094 21.3125 32.304688 C 21.292969 32.285156 21.269531 32.242188 21.269531 32.21875 C 21.25 32.195312 21.226562 32.152344 21.203125 32.109375 C 21.183594 32.066406 21.160156 32.042969 21.117188 32.023438 C 21.09375 32 21.074219 31.957031 21.050781 31.933594 C 21.03125 31.914062 21.007812 31.867188 20.964844 31.847656 C 20.941406 31.824219 20.941406 31.804688 20.898438 31.78125 L 20.875 31.78125 C 20.832031 31.757812 20.8125 31.738281 20.765625 31.714844 C 20.746094 31.695312 20.722656 31.648438 20.65625 31.648438 L 20.570312 31.605469 L 20.4375 31.585938 C 20.417969 31.585938 20.375 31.5625 20.351562 31.5625 L 10.75 31.5625 C 10.070312 31.5625 9.546875 32.085938 9.546875 32.765625 C 9.546875 33.421875 10.070312 33.992188 10.75 33.992188 L 17.8125 33.992188 L 9.785156 44.972656 L 9.765625 44.972656 C 9.742188 45.015625 9.71875 45.058594 9.699219 45.082031 C 9.699219 45.101562 9.675781 45.148438 9.632812 45.167969 C 9.632812 45.210938 9.609375 45.257812 9.609375 45.277344 C 9.589844 45.320312 9.589844 45.367188 9.566406 45.386719 L 9.566406 45.496094 C 9.546875 45.539062 9.546875 45.585938 9.546875 45.648438 L 9.546875 45.738281 C 9.546875 45.78125 9.566406 45.824219 9.566406 45.890625 C 9.566406 45.933594 9.589844 45.957031 9.589844 45.976562 L 9.632812 46.109375 C 9.632812 46.152344 9.675781 46.175781 9.699219 46.21875 C 9.699219 46.242188 9.71875 46.261719 9.742188 46.328125 C 9.765625 46.351562 9.785156 46.394531 9.808594 46.414062 C 9.828125 46.4375 9.851562 46.460938 9.894531 46.480469 L 9.9375 46.542969 L 9.984375 46.589844 C 10.003906 46.613281 10.027344 46.632812 10.046875 46.632812 L 10.046875 46.65625 C 10.070312 46.679688 10.09375 46.679688 10.136719 46.699219 C 10.179688 46.722656 10.222656 46.742188 10.246094 46.742188 C 10.265625 46.789062 10.289062 46.789062 10.3125 46.808594 C 10.375 46.808594 10.421875 46.832031 10.464844 46.832031 C 10.484375 46.851562 10.507812 46.851562 10.53125 46.851562 L 10.648438 46.871094 Z M 26.214844 46.875 C 26.871094 46.875 27.4375 46.351562 27.4375 45.671875 L 27.4375 32.765625 C 27.4375 32.085938 26.871094 31.5625 26.214844 31.5625 C 25.535156 31.5625 25.011719 32.085938 25.011719 32.765625 L 25.011719 45.671875 C 25.011719 46.351562 25.535156 46.875 26.214844 46.875 Z M 32.734375 46.875 C 33.410156 46.875 33.957031 46.328125 33.957031 45.671875 L 33.957031 40.925781 L 36.648438 40.925781 C 39.25 40.925781 41.351562 38.824219 41.351562 36.265625 C 41.351562 33.664062 39.25 31.5625 36.648438 31.5625 L 32.734375 31.5625 C 32.078125 31.5625 31.53125 32.085938 31.53125 32.765625 L 31.53125 45.671875 C 31.53125 46.328125 32.078125 46.875 32.734375 46.875 Z M 36.648438 38.496094 L 33.957031 38.496094 L 33.957031 33.992188 L 36.648438 33.992188 C 37.917969 33.992188 38.902344 34.996094 38.921875 36.265625 C 38.902344 37.492188 37.917969 38.496094 36.648438 38.496094 Z M 36.648438 38.496094 \"/>\\n      </g>'},docxIcon:{extension:\".docx\",path:'<g id=\"surface9\" clip-path=\"url(#clip1)\">\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 \"/>\\n      </g>\\n      </defs>\\n      <g id=\"surface1\">\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;\" d=\"M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 \"/>\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 \"/>\\n      <use xlink:href=\"#surface9\" mask=\"url(#mask0)\"/>\\n      <path style=\" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;\" d=\"M 7.789062 43.75 C 9.589844 43.75 10.988281 43.269531 11.984375 42.304688 C 12.980469 41.339844 13.476562 39.984375 13.476562 38.234375 C 13.476562 36.496094 12.980469 35.144531 11.984375 34.179688 C 10.988281 33.214844 9.589844 32.734375 7.789062 32.734375 L 4.695312 32.734375 C 4.394531 32.734375 4.15625 32.816406 3.984375 32.984375 C 3.8125 33.152344 3.726562 33.386719 3.726562 33.6875 L 3.726562 42.796875 C 3.726562 43.097656 3.8125 43.332031 3.984375 43.5 C 4.15625 43.667969 4.394531 43.75 4.695312 43.75 Z M 7.664062 42.109375 L 5.742188 42.109375 L 5.742188 34.375 L 7.664062 34.375 C 10.195312 34.375 11.460938 35.660156 11.460938 38.234375 C 11.460938 40.816406 10.195312 42.109375 7.664062 42.109375 Z M 20.414062 43.890625 C 21.476562 43.890625 22.402344 43.660156 23.1875 43.203125 C 23.972656 42.746094 24.582031 42.089844 25.007812 41.234375 C 25.433594 40.378906 25.648438 39.378906 25.648438 38.234375 C 25.648438 37.089844 25.4375 36.089844 25.015625 35.242188 C 24.59375 34.394531 23.988281 33.738281 23.203125 33.28125 C 22.417969 32.824219 21.488281 32.59375 20.414062 32.59375 C 19.339844 32.59375 18.410156 32.824219 17.617188 33.28125 C 16.824219 33.738281 16.21875 34.394531 15.796875 35.242188 C 15.375 36.089844 15.164062 37.089844 15.164062 38.234375 C 15.164062 39.378906 15.378906 40.378906 15.804688 41.234375 C 16.230469 42.089844 16.839844 42.746094 17.625 43.203125 C 18.410156 43.660156 19.339844 43.890625 20.414062 43.890625 Z M 20.414062 42.28125 C 19.394531 42.28125 18.597656 41.933594 18.03125 41.234375 C 17.464844 40.535156 17.179688 39.535156 17.179688 38.234375 C 17.179688 36.933594 17.464844 35.933594 18.03125 35.242188 C 18.597656 34.550781 19.394531 34.203125 20.414062 34.203125 C 21.425781 34.203125 22.214844 34.550781 22.78125 35.242188 C 23.347656 35.933594 23.632812 36.933594 23.632812 38.234375 C 23.632812 39.535156 23.347656 40.535156 22.78125 41.234375 C 22.214844 41.933594 21.425781 42.28125 20.414062 42.28125 Z M 32.601562 43.890625 C 33.289062 43.890625 33.933594 43.789062 34.539062 43.585938 C 35.144531 43.382812 35.679688 43.089844 36.148438 42.703125 C 36.285156 42.597656 36.378906 42.488281 36.429688 42.367188 C 36.480469 42.246094 36.507812 42.109375 36.507812 41.953125 C 36.507812 41.722656 36.445312 41.53125 36.320312 41.375 C 36.195312 41.21875 36.042969 41.140625 35.867188 41.140625 C 35.753906 41.140625 35.644531 41.160156 35.539062 41.203125 C 35.433594 41.246094 35.332031 41.296875 35.226562 41.359375 C 34.746094 41.683594 34.316406 41.910156 33.9375 42.046875 C 33.558594 42.183594 33.144531 42.25 32.695312 42.25 C 31.613281 42.25 30.792969 41.910156 30.234375 41.234375 C 29.675781 40.558594 29.398438 39.558594 29.398438 38.234375 C 29.398438 36.921875 29.675781 35.925781 30.234375 35.25 C 30.792969 34.574219 31.613281 34.234375 32.695312 34.234375 C 33.164062 34.234375 33.589844 34.300781 33.976562 34.429688 C 34.363281 34.558594 34.777344 34.792969 35.226562 35.125 C 35.445312 35.269531 35.660156 35.34375 35.867188 35.34375 C 36.042969 35.34375 36.195312 35.265625 36.320312 35.109375 C 36.445312 34.953125 36.507812 34.761719 36.507812 34.53125 C 36.507812 34.363281 36.480469 34.222656 36.429688 34.109375 C 36.378906 33.996094 36.285156 33.886719 36.148438 33.78125 C 35.679688 33.394531 35.144531 33.101562 34.539062 32.898438 C 33.933594 32.695312 33.289062 32.59375 32.601562 32.59375 C 31.539062 32.59375 30.609375 32.824219 29.8125 33.28125 C 29.015625 33.738281 28.402344 34.394531 27.976562 35.242188 C 27.550781 36.089844 27.335938 37.089844 27.335938 38.234375 C 27.335938 39.378906 27.550781 40.378906 27.976562 41.234375 C 28.402344 42.089844 29.015625 42.746094 29.8125 43.203125 C 30.609375 43.660156 31.539062 43.890625 32.601562 43.890625 Z M 46.132812 43.84375 C 46.382812 43.84375 46.605469 43.75 46.796875 43.5625 C 46.988281 43.375 47.085938 43.15625 47.085938 42.90625 C 47.085938 42.707031 47.003906 42.511719 46.835938 42.3125 L 43.445312 38.15625 L 46.710938 34.171875 C 46.867188 34.003906 46.945312 33.808594 46.945312 33.578125 C 46.945312 33.328125 46.847656 33.113281 46.65625 32.929688 C 46.464844 32.746094 46.242188 32.65625 45.992188 32.65625 C 45.730469 32.65625 45.507812 32.769531 45.320312 33 L 42.273438 36.765625 L 39.226562 33 C 39.027344 32.769531 38.800781 32.65625 38.539062 32.65625 C 38.289062 32.65625 38.070312 32.746094 37.882812 32.929688 C 37.695312 33.113281 37.601562 33.328125 37.601562 33.578125 C 37.601562 33.808594 37.679688 34.003906 37.835938 34.171875 L 41.101562 38.15625 L 37.695312 42.3125 C 37.539062 42.5 37.460938 42.699219 37.460938 42.90625 C 37.460938 43.15625 37.558594 43.371094 37.75 43.554688 C 37.941406 43.738281 38.164062 43.828125 38.414062 43.828125 C 38.675781 43.828125 38.898438 43.71875 39.085938 43.5 L 42.273438 39.5625 L 45.445312 43.5 C 45.644531 43.730469 45.871094 43.84375 46.132812 43.84375 Z M 46.132812 43.84375 \"/>\\n      </g>'},jpgIcon:{extension:\".jpg\",path:'<g id=\"surface1\">\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;\" d=\"M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 \"/>\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 \"/>\\n      <use xlink:href=\"#surface9\" mask=\"url(#mask0)\"/>\\n      <path style=\" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;\" d=\"M 8.789062 47.007812 L 9.488281 46.960938 C 12.214844 46.757812 13.578125 45.277344 13.578125 42.523438 L 13.578125 32.742188 C 13.578125 32.320312 13.453125 31.980469 13.195312 31.726562 C 12.941406 31.472656 12.59375 31.34375 12.15625 31.34375 C 11.734375 31.34375 11.394531 31.472656 11.140625 31.726562 C 10.886719 31.980469 10.757812 32.320312 10.757812 32.742188 L 10.757812 42.523438 C 10.757812 43.238281 10.605469 43.769531 10.296875 44.117188 C 9.992188 44.46875 9.539062 44.660156 8.941406 44.6875 L 8.242188 44.730469 C 7.847656 44.761719 7.558594 44.867188 7.378906 45.046875 C 7.195312 45.230469 7.105469 45.496094 7.105469 45.847656 C 7.105469 46.664062 7.667969 47.050781 8.789062 47.007812 Z M 18.304688 47.007812 C 18.742188 47.007812 19.089844 46.878906 19.34375 46.625 C 19.597656 46.367188 19.726562 46.023438 19.726562 45.585938 L 19.726562 40.882812 L 23.640625 40.882812 C 25.289062 40.882812 26.574219 40.464844 27.492188 39.632812 C 28.410156 38.804688 28.871094 37.644531 28.871094 36.15625 C 28.871094 34.667969 28.410156 33.511719 27.492188 32.6875 C 26.574219 31.863281 25.289062 31.453125 23.640625 31.453125 L 18.261719 31.453125 C 17.839844 31.453125 17.507812 31.570312 17.265625 31.804688 C 17.023438 32.035156 16.90625 32.363281 16.90625 32.789062 L 16.90625 45.585938 C 16.90625 46.023438 17.03125 46.367188 17.289062 46.625 C 17.542969 46.878906 17.882812 47.007812 18.304688 47.007812 Z M 23.292969 38.714844 L 19.726562 38.714844 L 19.726562 33.640625 L 23.292969 33.640625 C 25.230469 33.640625 26.203125 34.488281 26.203125 36.179688 C 26.203125 37.871094 25.230469 38.714844 23.292969 38.714844 Z M 38.605469 47.070312 C 39.320312 47.070312 40.0625 47.011719 40.835938 46.898438 C 41.609375 46.78125 42.285156 46.621094 42.871094 46.414062 C 43.410156 46.242188 43.765625 46.015625 43.941406 45.738281 C 44.117188 45.460938 44.203125 44.988281 44.203125 44.316406 L 44.203125 39.613281 C 44.203125 39.292969 44.101562 39.03125 43.898438 38.835938 C 43.695312 38.640625 43.425781 38.539062 43.089844 38.539062 L 39.21875 38.539062 C 38.867188 38.539062 38.59375 38.628906 38.398438 38.804688 C 38.199219 38.976562 38.101562 39.226562 38.101562 39.546875 C 38.101562 39.867188 38.199219 40.117188 38.398438 40.289062 C 38.59375 40.464844 38.867188 40.554688 39.21875 40.554688 L 41.6875 40.554688 L 41.6875 44.425781 C 40.699219 44.703125 39.707031 44.839844 38.714844 44.839844 C 35.390625 44.839844 33.726562 42.945312 33.726562 39.152344 C 33.726562 37.300781 34.132812 35.90625 34.941406 34.964844 C 35.75 34.023438 36.949219 33.554688 38.539062 33.554688 C 39.238281 33.554688 39.867188 33.644531 40.421875 33.828125 C 40.972656 34.007812 41.574219 34.324219 42.214844 34.777344 C 42.390625 34.894531 42.542969 34.980469 42.671875 35.03125 C 42.804688 35.082031 42.949219 35.105469 43.109375 35.105469 C 43.359375 35.105469 43.570312 34.996094 43.746094 34.777344 C 43.921875 34.558594 44.007812 34.289062 44.007812 33.96875 C 44.007812 33.75 43.96875 33.558594 43.886719 33.398438 C 43.808594 33.238281 43.679688 33.078125 43.503906 32.917969 C 42.191406 31.808594 40.507812 31.257812 38.453125 31.257812 C 36.90625 31.257812 35.5625 31.574219 34.425781 32.207031 C 33.289062 32.84375 32.410156 33.753906 31.789062 34.941406 C 31.171875 36.128906 30.859375 37.535156 30.859375 39.152344 C 30.859375 40.800781 31.171875 42.21875 31.789062 43.40625 C 32.410156 44.597656 33.304688 45.503906 34.46875 46.132812 C 35.636719 46.757812 37.015625 47.070312 38.605469 47.070312 Z M 38.605469 47.070312 \"/>\\n      </g>'},mp3Icon:{extension:\".mp3\",path:'<g id=\"surface9\" clip-path=\"url(#clip1)\">\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 43.828125 43.710938 C 43.605469 44.28125 43.273438 44.804688 42.84375 45.265625 C 42.40625 45.730469 41.867188 46.113281 41.242188 46.398438 C 40.597656 46.699219 39.851562 46.855469 39.027344 46.855469 C 38.328125 46.855469 37.703125 46.757812 37.160156 46.570312 C 36.609375 46.378906 36.160156 46.136719 35.769531 45.839844 C 35.386719 45.550781 35.050781 45.210938 34.796875 44.832031 C 34.570312 44.507812 34.394531 44.195312 34.265625 43.890625 C 34.140625 43.59375 34.054688 43.335938 33.996094 43.101562 C 33.792969 42.261719 34.304688 41.417969 35.140625 41.210938 C 35.980469 41.007812 36.828125 41.519531 37.03125 42.355469 C 37.039062 42.390625 37.066406 42.488281 37.144531 42.671875 C 37.191406 42.777344 37.265625 42.914062 37.371094 43.0625 C 37.4375 43.160156 37.53125 43.257812 37.65625 43.351562 C 37.792969 43.453125 37.972656 43.542969 38.195312 43.625 C 38.332031 43.667969 38.59375 43.730469 39.027344 43.730469 C 39.390625 43.730469 39.695312 43.675781 39.925781 43.566406 C 40.1875 43.445312 40.398438 43.300781 40.558594 43.132812 C 40.71875 42.957031 40.839844 42.773438 40.914062 42.578125 C 40.996094 42.371094 41.03125 42.195312 41.03125 42.023438 C 41.03125 41.789062 41 41.585938 40.921875 41.398438 C 40.871094 41.257812 40.785156 41.148438 40.660156 41.039062 C 40.515625 40.910156 40.296875 40.792969 40.011719 40.699219 C 39.6875 40.59375 39.253906 40.539062 38.738281 40.535156 C 37.882812 40.527344 37.1875 39.832031 37.1875 38.972656 L 37.1875 38.832031 C 37.1875 37.984375 37.859375 37.292969 38.699219 37.265625 C 39.070312 37.257812 39.398438 37.195312 39.679688 37.101562 C 39.921875 37.011719 40.121094 36.902344 40.273438 36.773438 C 40.40625 36.652344 40.507812 36.519531 40.582031 36.359375 C 40.652344 36.210938 40.6875 36.027344 40.6875 35.8125 C 40.6875 35.523438 40.644531 35.289062 40.574219 35.125 C 40.5 34.96875 40.414062 34.847656 40.304688 34.757812 C 40.1875 34.660156 40.042969 34.582031 39.867188 34.53125 C 39.402344 34.386719 38.878906 34.398438 38.480469 34.542969 C 38.289062 34.617188 38.121094 34.714844 37.976562 34.84375 C 37.820312 34.984375 37.695312 35.148438 37.59375 35.339844 C 37.484375 35.550781 37.40625 35.773438 37.367188 36.039062 C 37.230469 36.890625 36.429688 37.472656 35.574219 37.335938 C 34.722656 37.195312 34.140625 36.398438 34.28125 35.542969 C 34.378906 34.9375 34.5625 34.378906 34.835938 33.871094 C 35.109375 33.355469 35.464844 32.898438 35.890625 32.519531 C 36.320312 32.132812 36.824219 31.828125 37.382812 31.617188 C 38.433594 31.226562 39.667969 31.199219 40.78125 31.539062 C 41.351562 31.714844 41.863281 31.992188 42.308594 32.355469 C 42.777344 32.753906 43.148438 33.242188 43.414062 33.824219 C 43.679688 34.402344 43.8125 35.070312 43.8125 35.8125 C 43.8125 36.476562 43.679688 37.097656 43.421875 37.660156 C 43.25 38.046875 43.023438 38.394531 42.746094 38.707031 C 43.242188 39.148438 43.609375 39.671875 43.835938 40.261719 C 44.046875 40.804688 44.15625 41.398438 44.15625 42.023438 C 44.15625 42.578125 44.046875 43.148438 43.828125 43.710938 Z M 31.445312 38.492188 C 31.148438 39.140625 30.734375 39.703125 30.199219 40.164062 C 29.6875 40.605469 29.078125 40.957031 28.390625 41.199219 C 27.71875 41.4375 26.976562 41.5625 26.191406 41.5625 L 25 41.5625 L 25 45 C 25 45.859375 24.296875 46.5625 23.4375 46.5625 C 22.578125 46.5625 21.875 45.859375 21.875 45 L 21.875 32.8125 C 21.875 31.945312 22.578125 31.25 23.4375 31.25 L 26.191406 31.25 C 27.890625 31.25 29.257812 31.667969 30.253906 32.5 C 31.339844 33.398438 31.886719 34.714844 31.886719 36.40625 C 31.886719 37.148438 31.738281 37.851562 31.445312 38.492188 Z M 18.730469 45.210938 C 18.730469 46.070312 18.03125 46.773438 17.167969 46.773438 C 16.300781 46.773438 15.605469 46.070312 15.605469 45.210938 L 15.605469 39.28125 L 14.015625 43.140625 C 14.007812 43.164062 13.996094 43.191406 13.984375 43.214844 C 13.71875 43.777344 13.15625 44.117188 12.566406 44.117188 L 12.53125 44.117188 C 11.9375 44.117188 11.375 43.777344 11.109375 43.214844 L 11.082031 43.160156 L 9.339844 39.101562 L 9.339844 45.210938 C 9.339844 46.070312 8.640625 46.773438 7.777344 46.773438 C 6.910156 46.773438 6.214844 46.070312 6.214844 45.210938 L 6.214844 32.824219 C 6.214844 31.960938 6.910156 31.261719 7.777344 31.261719 L 7.835938 31.261719 C 8.472656 31.261719 9.046875 31.617188 9.335938 32.1875 L 12.527344 39.09375 L 15.59375 32.207031 C 15.894531 31.617188 16.46875 31.261719 17.105469 31.261719 L 17.167969 31.261719 C 18.03125 31.261719 18.730469 31.960938 18.730469 32.824219 Z M 41.382812 28.125 L 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.136719 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.136719 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 41.382812 28.125 \"/>\\n      </g>\\n      </defs>\\n      <g id=\"surface1\">\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;\" d=\"M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 \"/>\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 \"/>\\n      <use xlink:href=\"#surface9\" mask=\"url(#mask0)\"/>\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 28.257812 34.902344 C 27.835938 34.550781 27.140625 34.375 26.191406 34.375 L 25 34.375 L 25 38.4375 L 26.191406 38.4375 C 26.621094 38.4375 27.007812 38.375 27.34375 38.253906 C 27.667969 38.140625 27.929688 37.992188 28.148438 37.804688 C 28.34375 37.632812 28.492188 37.4375 28.601562 37.195312 C 28.710938 36.964844 28.757812 36.703125 28.757812 36.40625 C 28.757812 35.324219 28.382812 35.003906 28.257812 34.902344 \"/>\\n      <path style=\"fill:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(99.607843%,99.607843%,99.607843%);stroke-opacity:1;stroke-miterlimit:4;\" d=\"M 11.34125 13.57875 C 11.345 13.5925 11.3525 13.62375 11.36375 13.67375 C 11.3775 13.7225 11.3975 13.78125 11.42625 13.85 C 11.45375 13.9175 11.49375 13.9875 11.54625 14.0625 C 11.5975 14.13875 11.66625 14.20875 11.75 14.27125 C 11.83375 14.33625 11.9375 14.38875 12.0575 14.43125 C 12.1775 14.4725 12.32 14.49375 12.4875 14.49375 C 12.67875 14.49375 12.845 14.46125 12.9875 14.39375 C 13.13 14.32875 13.24875 14.245 13.34375 14.1425 C 13.43875 14.0425 13.51125 13.93 13.55875 13.8075 C 13.6075 13.6825 13.63125 13.56375 13.63125 13.4475 C 13.63125 13.31125 13.6075 13.1825 13.5625 13.065 C 13.515 12.9475 13.4425 12.845 13.3425 12.7575 C 13.2425 12.67 13.115 12.6 12.96 12.55 C 12.805 12.49875 12.6175 12.4725 12.4 12.4725 L 12.4 12.42625 C 12.57 12.42 12.72375 12.3925 12.8625 12.34375 C 13.0025 12.29625 13.11875 12.2275 13.21625 12.14375 C 13.31375 12.05875 13.3875 11.96 13.44125 11.845 C 13.4925 11.7275 13.52 11.60125 13.52 11.46 C 13.52 11.29375 13.4925 11.1525 13.43875 11.0325 C 13.38375 10.91375 13.31125 10.81625 13.21875 10.74 C 13.1275 10.66375 13.0225 10.6075 12.90375 10.5725 C 12.78625 10.535 12.66375 10.5175 12.5375 10.5175 C 12.395 10.5175 12.26125 10.54 12.14 10.58625 C 12.0175 10.6325 11.91 10.69625 11.81875 10.77875 C 11.72625 10.8625 11.64875 10.96 11.5875 11.07375 C 11.5275 11.18875 11.48625 11.315 11.4625 11.45375 M 7.5 14.4 L 7.5 10.5 L 8.3825 10.5 C 8.8075 10.5 9.13375 10.595 9.3625 10.78375 C 9.59 10.975 9.7025 11.2625 9.7025 11.65 C 9.7025 11.81625 9.6725 11.97125 9.6075 12.11125 C 9.5425 12.2525 9.4525 12.37375 9.335 12.475 C 9.21875 12.5775 9.0775 12.65625 8.9175 12.71375 C 8.75625 12.77125 8.5775 12.8 8.3825 12.8 L 7.6 12.8 M 2.4875 14.4675 L 2.4875 10.50375 L 2.5075 10.50375 C 2.5225 10.50375 2.53375 10.5125 2.5425 10.52625 L 3.9925 13.58625 C 3.99875 13.5975 4.005 13.6075 4.00875 13.6175 M 4.02125 13.6175 C 4.02625 13.6075 4.03125 13.5975 4.0375 13.58625 L 5.44 10.52625 C 5.4475 10.5125 5.45875 10.50375 5.4725 10.50375 L 5.4925 10.50375 L 5.4925 14.4675 \" transform=\"matrix(3.125,0,0,3.125,0,0)\"/>\\n      </g>'},mp4Icon:{extension:\".mp4\",path:'<g id=\"surface6\" clip-path=\"url(#clip1)\">\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 36.898438 40.625 L 40.625 35.480469 L 40.625 40.625 Z M 28.761719 36.40625 C 28.761719 36.703125 28.707031 36.964844 28.605469 37.195312 C 28.496094 37.433594 28.347656 37.632812 28.148438 37.804688 C 27.929688 37.992188 27.667969 38.144531 27.34375 38.257812 C 27.003906 38.375 26.621094 38.4375 26.191406 38.4375 L 25 38.4375 L 25 34.375 L 26.191406 34.375 C 27.140625 34.375 27.835938 34.554688 28.253906 34.902344 C 28.378906 35.007812 28.761719 35.324219 28.761719 36.40625 Z M 44.6875 43.75 L 43.75 43.75 L 43.75 45.3125 C 43.75 46.175781 43.050781 46.875 42.1875 46.875 C 41.324219 46.875 40.625 46.175781 40.625 45.3125 L 40.625 43.75 L 34.066406 43.75 C 33.199219 43.75 32.503906 43.050781 32.503906 42.1875 L 32.503906 41.875 C 32.503906 41.546875 32.605469 41.226562 32.800781 40.957031 L 39.363281 31.898438 C 39.660156 31.492188 40.128906 31.25 40.628906 31.25 L 42.1875 31.25 C 43.050781 31.25 43.75 31.949219 43.75 32.8125 L 43.75 40.625 L 44.6875 40.625 C 45.550781 40.625 46.25 41.324219 46.25 42.1875 C 46.25 43.050781 45.550781 43.75 44.6875 43.75 Z M 31.445312 38.492188 C 31.148438 39.140625 30.730469 39.703125 30.195312 40.167969 C 29.6875 40.605469 29.082031 40.957031 28.390625 41.203125 C 27.71875 41.441406 26.976562 41.5625 26.191406 41.5625 L 25 41.5625 L 25 45 C 25 45.863281 24.300781 46.5625 23.4375 46.5625 C 22.578125 46.5625 21.875 45.863281 21.875 45 L 21.875 32.8125 C 21.875 31.949219 22.578125 31.25 23.4375 31.25 L 26.191406 31.25 C 27.890625 31.25 29.257812 31.671875 30.253906 32.5 C 31.339844 33.398438 31.886719 34.714844 31.886719 36.40625 C 31.886719 37.148438 31.738281 37.851562 31.445312 38.492188 Z M 18.730469 45.210938 C 18.730469 46.070312 18.027344 46.773438 17.167969 46.773438 C 16.300781 46.773438 15.605469 46.070312 15.605469 45.210938 L 15.605469 39.6875 L 14.035156 43.105469 C 14.019531 43.144531 14.003906 43.179688 13.984375 43.214844 C 13.71875 43.78125 13.15625 44.117188 12.566406 44.117188 L 12.53125 44.117188 C 11.941406 44.117188 11.378906 43.78125 11.113281 43.214844 C 11.097656 43.183594 11.078125 43.152344 11.066406 43.125 L 9.339844 39.484375 L 9.339844 45.210938 C 9.339844 46.070312 8.640625 46.773438 7.777344 46.773438 C 6.910156 46.773438 6.214844 46.070312 6.214844 45.210938 L 6.214844 32.824219 C 6.214844 31.960938 6.910156 31.261719 7.777344 31.261719 L 7.835938 31.261719 C 8.472656 31.261719 9.046875 31.617188 9.335938 32.191406 L 9.355469 32.226562 L 12.523438 38.90625 L 15.578125 32.242188 C 15.585938 32.226562 15.597656 32.210938 15.605469 32.191406 C 15.894531 31.617188 16.46875 31.261719 17.105469 31.261719 L 17.164062 31.261719 C 18.027344 31.261719 18.726562 31.960938 18.726562 32.824219 L 18.726562 45.210938 Z M 41.382812 28.125 L 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 41.382812 28.125 \"/>\\n      </g>\\n      </defs>\\n      <g id=\"surface1\">\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;\" d=\"M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 \"/>\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 \"/>\\n      <use xlink:href=\"#surface6\" mask=\"url(#mask0)\"/>\\n      <path style=\"fill:none;stroke-width:1;stroke-linecap:round;stroke-linejoin:round;stroke:rgb(99.607843%,99.607843%,99.607843%);stroke-opacity:1;stroke-miterlimit:4;\" d=\"M 14.3 13.5 L 10.90125 13.5 L 10.90125 13.4 L 13.00125 10.5 L 13.5 10.5 L 13.5 14.5 M 7.5 14.4 L 7.5 10.5 L 8.3825 10.5 C 8.8075 10.5 9.13375 10.595 9.3625 10.78375 C 9.59 10.975 9.7025 11.2625 9.7025 11.65 C 9.7025 11.81625 9.6725 11.97125 9.6075 12.11125 C 9.5425 12.2525 9.4525 12.37375 9.335 12.47625 C 9.21875 12.5775 9.0775 12.65625 8.9175 12.71375 C 8.75625 12.77125 8.5775 12.8 8.3825 12.8 L 7.6 12.8 M 2.4875 14.4675 L 2.4875 10.50375 L 2.5075 10.50375 C 2.5225 10.50375 2.53375 10.5125 2.5425 10.52625 L 3.9925 13.58625 C 3.99875 13.5975 4.005 13.6075 4.00875 13.6175 M 4.02125 13.6175 C 4.02625 13.6075 4.03125 13.5975 4.0375 13.58625 L 5.44 10.52625 C 5.4475 10.5125 5.45875 10.50375 5.4725 10.50375 L 5.4925 10.50375 L 5.4925 14.4675 \" transform=\"matrix(3.125,0,0,3.125,0,0)\"/>\\n      </g>'},oggIcon:{extension:\".ogg\",path:'<g id=\"surface9\" clip-path=\"url(#clip1)\">\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 8.621094 28.125 C 3.859375 28.125 0 31.984375 0 36.742188 L 0 41.378906 C 0 46.140625 3.859375 50 8.621094 50 L 41.378906 50 C 46.140625 50 50 46.140625 50 41.382812 L 50 36.746094 C 50 31.984375 46.140625 28.125 41.382812 28.125 Z M 8.621094 28.125 \"/>\\n      </g>\\n      </defs>\\n      <g id=\"surface1\">\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;\" d=\"M 10.578125 25 L 39.421875 25 C 41.53125 25 43.527344 25.492188 45.3125 26.367188 L 45.3125 15.367188 C 45.3125 13.90625 44.976562 13.097656 43.984375 12.109375 C 42.996094 11.121094 35.105469 3.226562 34.503906 2.628906 C 33.90625 2.027344 33.070312 1.5625 31.617188 1.5625 L 6.5625 1.5625 C 5.527344 1.5625 4.6875 2.402344 4.6875 3.4375 L 4.6875 26.367188 C 6.476562 25.492188 8.472656 25 10.578125 25 \"/>\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 34.375 4.710938 L 42.164062 12.5 L 34.515625 12.5 C 34.464844 12.46875 34.414062 12.425781 34.375 12.390625 Z M 6.25 25.722656 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.25 13.980469 32.496094 15.210938 33.742188 15.539062 C 33.902344 15.59375 34.074219 15.625 34.257812 15.625 L 43.75 15.625 L 43.75 25.722656 C 44.859375 26.105469 45.910156 26.625 46.875 27.269531 L 46.875 15.363281 C 46.875 13.511719 46.375 12.289062 45.089844 11.003906 L 35.609375 1.523438 C 34.582031 0.496094 33.273438 0 31.617188 0 L 6.5625 0 C 4.667969 0 3.125 1.542969 3.125 3.4375 L 3.125 27.269531 C 4.089844 26.625 5.140625 26.105469 6.25 25.722656 Z M 6.25 25.722656 \"/>\\n      <use xlink:href=\"#surface9\" mask=\"url(#mask0)\"/>\\n      <path style=\" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;\" d=\"M 8.976562 47.070312 C 10.464844 47.070312 11.757812 46.75 12.859375 46.109375 C 13.960938 45.46875 14.808594 44.550781 15.40625 43.351562 C 16.003906 42.15625 16.304688 40.757812 16.304688 39.152344 C 16.304688 37.550781 16.007812 36.152344 15.417969 34.964844 C 14.828125 33.777344 13.980469 32.859375 12.882812 32.21875 C 11.78125 31.578125 10.480469 31.257812 8.976562 31.257812 C 7.472656 31.257812 6.167969 31.578125 5.0625 32.21875 C 3.953125 32.859375 3.101562 33.777344 2.511719 34.964844 C 1.921875 36.152344 1.625 37.550781 1.625 39.152344 C 1.625 40.757812 1.925781 42.15625 2.523438 43.351562 C 3.121094 44.550781 3.972656 45.46875 5.070312 46.109375 C 6.171875 46.75 7.472656 47.070312 8.976562 47.070312 Z M 8.976562 44.820312 C 7.546875 44.820312 6.433594 44.332031 5.640625 43.351562 C 4.847656 42.375 4.449219 40.976562 4.449219 39.152344 C 4.449219 37.332031 4.847656 35.933594 5.640625 34.964844 C 6.433594 33.996094 7.546875 33.507812 8.976562 33.507812 C 10.390625 33.507812 11.496094 33.996094 12.289062 34.964844 C 13.085938 35.933594 13.484375 37.332031 13.484375 39.152344 C 13.484375 40.976562 13.085938 42.375 12.289062 43.351562 C 11.496094 44.332031 10.390625 44.820312 8.976562 44.820312 Z M 26.410156 47.070312 C 27.125 47.070312 27.871094 47.011719 28.640625 46.898438 C 29.414062 46.78125 30.09375 46.621094 30.675781 46.414062 C 31.214844 46.242188 31.574219 46.015625 31.75 45.738281 C 31.921875 45.460938 32.011719 44.988281 32.011719 44.316406 L 32.011719 39.613281 C 32.011719 39.292969 31.910156 39.03125 31.703125 38.835938 C 31.5 38.640625 31.230469 38.539062 30.894531 38.539062 L 27.023438 38.539062 C 26.671875 38.539062 26.398438 38.628906 26.203125 38.804688 C 26.007812 38.976562 25.90625 39.226562 25.90625 39.546875 C 25.90625 39.867188 26.007812 40.117188 26.203125 40.289062 C 26.398438 40.464844 26.671875 40.554688 27.023438 40.554688 L 29.496094 40.554688 L 29.496094 44.425781 C 28.503906 44.703125 27.511719 44.839844 26.519531 44.839844 C 23.195312 44.839844 21.53125 42.945312 21.53125 39.152344 C 21.53125 37.300781 21.9375 35.90625 22.746094 34.964844 C 23.554688 34.023438 24.753906 33.554688 26.34375 33.554688 C 27.046875 33.554688 27.671875 33.644531 28.226562 33.828125 C 28.78125 34.007812 29.378906 34.324219 30.019531 34.777344 C 30.195312 34.894531 30.347656 34.980469 30.480469 35.03125 C 30.609375 35.082031 30.757812 35.105469 30.917969 35.105469 C 31.164062 35.105469 31.375 34.996094 31.550781 34.777344 C 31.726562 34.558594 31.8125 34.289062 31.8125 33.96875 C 31.8125 33.75 31.773438 33.558594 31.695312 33.398438 C 31.613281 33.238281 31.484375 33.078125 31.3125 32.917969 C 30 31.808594 28.3125 31.257812 26.257812 31.257812 C 24.710938 31.257812 23.371094 31.574219 22.234375 32.207031 C 21.09375 32.84375 20.214844 33.753906 19.597656 34.941406 C 18.976562 36.128906 18.667969 37.535156 18.667969 39.152344 C 18.667969 40.800781 18.976562 42.21875 19.597656 43.40625 C 20.214844 44.597656 21.109375 45.503906 22.277344 46.132812 C 23.441406 46.757812 24.820312 47.070312 26.410156 47.070312 Z M 42.445312 47.070312 C 43.160156 47.070312 43.902344 47.011719 44.675781 46.898438 C 45.449219 46.78125 46.128906 46.621094 46.710938 46.414062 C 47.25 46.242188 47.609375 46.015625 47.78125 45.738281 C 47.957031 45.460938 48.046875 44.988281 48.046875 44.316406 L 48.046875 39.613281 C 48.046875 39.292969 47.941406 39.03125 47.738281 38.835938 C 47.535156 38.640625 47.265625 38.539062 46.929688 38.539062 L 43.058594 38.539062 C 42.707031 38.539062 42.433594 38.628906 42.238281 38.804688 C 42.039062 38.976562 41.941406 39.226562 41.941406 39.546875 C 41.941406 39.867188 42.039062 40.117188 42.238281 40.289062 C 42.433594 40.464844 42.707031 40.554688 43.058594 40.554688 L 45.53125 40.554688 L 45.53125 44.425781 C 44.539062 44.703125 43.546875 44.839844 42.554688 44.839844 C 39.230469 44.839844 37.566406 42.945312 37.566406 39.152344 C 37.566406 37.300781 37.972656 35.90625 38.78125 34.964844 C 39.589844 34.023438 40.789062 33.554688 42.378906 33.554688 C 43.078125 33.554688 43.707031 33.644531 44.261719 33.828125 C 44.816406 34.007812 45.414062 34.324219 46.054688 34.777344 C 46.230469 34.894531 46.382812 34.980469 46.515625 35.03125 C 46.644531 35.082031 46.792969 35.105469 46.953125 35.105469 C 47.199219 35.105469 47.410156 34.996094 47.585938 34.777344 C 47.761719 34.558594 47.847656 34.289062 47.847656 33.96875 C 47.847656 33.75 47.808594 33.558594 47.726562 33.398438 C 47.648438 33.238281 47.519531 33.078125 47.34375 32.917969 C 46.03125 31.808594 44.347656 31.257812 42.292969 31.257812 C 40.746094 31.257812 39.40625 31.574219 38.265625 32.207031 C 37.128906 32.84375 36.25 33.753906 35.632812 34.941406 C 35.011719 36.128906 34.703125 37.535156 34.703125 39.152344 C 34.703125 40.800781 35.011719 42.21875 35.632812 43.40625 C 36.25 44.597656 37.144531 45.503906 38.3125 46.132812 C 39.476562 46.757812 40.855469 47.070312 42.445312 47.070312 Z M 42.445312 47.070312 \"/>\\n      </g>'},pdfIcon:{extension:\".pdf\",path:'<g id=\"surface1\">\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(99.607843%,99.607843%,99.607843%);fill-opacity:1;\" d=\"M 10.59375 25 L 39.4375 25 C 41.476562 25.003906 43.484375 25.472656 45.3125 26.375 L 45.3125 15.375 C 45.347656 14.191406 44.867188 13.054688 44 12.25 L 34.625 2.875 C 33.875 2.003906 32.773438 1.523438 31.625 1.5625 L 6.625 1.5625 C 5.589844 1.5625 4.75 2.402344 4.75 3.4375 L 4.75 26.375 C 6.566406 25.480469 8.566406 25.007812 10.59375 25 \"/>\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 34.375 4.71875 L 42.15625 12.5 L 34.53125 12.5 C 34.480469 12.511719 34.425781 12.511719 34.375 12.5 Z M 6.25 25.71875 L 6.25 3.4375 C 6.25 3.265625 6.390625 3.125 6.5625 3.125 L 31.25 3.125 L 31.25 12.5 C 31.300781 13.980469 32.316406 15.253906 33.75 15.625 C 33.957031 15.675781 34.167969 15.675781 34.375 15.625 L 43.75 15.625 L 43.75 25.71875 C 44.859375 26.09375 45.910156 26.621094 46.875 27.28125 L 46.875 15.375 C 46.964844 13.722656 46.3125 12.117188 45.09375 11 L 35.71875 1.625 C 34.648438 0.523438 33.160156 -0.0664062 31.625 0 L 6.625 0 C 5.703125 -0.015625 4.8125 0.339844 4.152344 0.984375 C 3.496094 1.632812 3.125 2.515625 3.125 3.4375 L 3.125 27.28125 C 4.09375 26.625 5.144531 26.101562 6.25 25.71875 Z M 6.25 25.71875 \"/>\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 8.625 28.125 C 6.335938 28.117188 4.136719 29.023438 2.515625 30.640625 C 0.898438 32.261719 -0.0078125 34.460938 0 36.75 L 0 41.375 C 0 46.136719 3.863281 50 8.625 50 L 41.375 50 C 46.132812 49.984375 49.984375 46.132812 50 41.375 L 50 36.75 C 50 31.988281 46.136719 28.125 41.375 28.125 Z M 8.625 28.125 \"/>\\n      <path style=\" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;\" d=\"M 14.40625 41.78125 L 12.09375 41.78125 L 12.09375 45.84375 C 12.003906 46.351562 11.5625 46.726562 11.046875 46.726562 C 10.53125 46.726562 10.089844 46.351562 10 45.84375 L 10 34.78125 C 10 34.210938 10.460938 33.75 11.03125 33.75 L 14.40625 33.75 C 15.925781 33.617188 17.390625 34.351562 18.191406 35.648438 C 18.992188 36.945312 18.992188 38.585938 18.191406 39.882812 C 17.390625 41.179688 15.925781 41.914062 14.40625 41.78125 Z M 12.09375 39.6875 L 14.40625 39.6875 C 15.152344 39.78125 15.882812 39.4375 16.289062 38.804688 C 16.691406 38.171875 16.691406 37.359375 16.289062 36.726562 C 15.882812 36.09375 15.152344 35.75 14.40625 35.84375 L 12.09375 35.84375 Z M 12.09375 39.6875 \"/>\\n      <path style=\" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;\" d=\"M 20.3125 45.84375 L 20.3125 34.78125 C 20.3125 34.210938 20.773438 33.75 21.34375 33.75 L 23.5625 33.75 C 27.1875 33.75 30.125 36.6875 30.125 40.3125 C 30.125 43.9375 27.1875 46.875 23.5625 46.875 L 21.34375 46.875 C 20.773438 46.875 20.3125 46.414062 20.3125 45.84375 Z M 22.40625 44.78125 L 23.5625 44.78125 C 26.03125 44.78125 28.03125 42.78125 28.03125 40.3125 C 28.03125 37.84375 26.03125 35.84375 23.5625 35.84375 L 22.40625 35.84375 Z M 22.40625 44.78125 \"/>\\n      <path style=\" stroke:none;fill-rule:nonzero;fill:rgb(100%,100%,100%);fill-opacity:1;\" d=\"M 33.1875 45.84375 L 33.1875 34.78125 C 33.183594 34.476562 33.3125 34.1875 33.542969 33.992188 C 33.769531 33.792969 34.074219 33.703125 34.375 33.75 L 40.625 33.75 C 41.132812 33.839844 41.507812 34.28125 41.507812 34.796875 C 41.507812 35.3125 41.132812 35.753906 40.625 35.84375 L 35.25 35.84375 L 35.25 39.28125 L 39.625 39.28125 C 40.195312 39.28125 40.65625 39.742188 40.65625 40.3125 C 40.65625 40.882812 40.195312 41.34375 39.625 41.34375 L 35.25 41.34375 L 35.25 45.84375 C 35.257812 46.359375 34.882812 46.796875 34.375 46.875 C 34.074219 46.921875 33.769531 46.832031 33.542969 46.632812 C 33.3125 46.4375 33.183594 46.148438 33.1875 45.84375 Z M 33.1875 45.84375 \"/>\\n      </g>'},defaultIcon:{extension:\".default\",path:'<g id=\"surface1\">\\n      <path style=\" stroke:none;fill-rule:evenodd;fill:rgb(0%,0%,0%);fill-opacity:1;\" d=\"M 3.117188 44.777344 C 1.394531 44.777344 0 43.386719 0 41.671875 L 0 3.484375 C 0 1.769531 1.394531 0.378906 3.117188 0.378906 L 25.792969 0.378906 C 27.164062 0.304688 28.5 0.808594 29.480469 1.765625 L 37.980469 10.230469 C 39.144531 11.242188 39.769531 12.730469 39.683594 14.265625 L 39.683594 41.671875 C 39.683594 43.386719 38.289062 44.777344 36.5625 44.777344 Z M 25.511719 3.203125 L 3.117188 3.203125 C 2.960938 3.203125 2.832031 3.328125 2.832031 3.484375 L 2.832031 41.671875 C 2.832031 41.828125 2.960938 41.957031 3.117188 41.957031 L 36.5625 41.957031 C 36.679688 41.949219 36.785156 41.867188 36.820312 41.757812 L 36.820312 14.492188 L 28.34375 14.492188 C 28.160156 14.539062 27.964844 14.539062 27.777344 14.492188 C 26.480469 14.15625 25.554688 13.007812 25.511719 11.671875 Z M 28.34375 4.640625 L 28.34375 11.671875 C 28.390625 11.683594 28.441406 11.683594 28.488281 11.671875 L 35.402344 11.671875 Z M 28.34375 4.640625 \"/>\\n      </g>'}},I.MODULES.modals=function(l){var a=l.$;l.shared.modals||(l.shared.modals={});var o,c=l.shared.modals;function e(){for(var e in c)if(Object.prototype.hasOwnProperty.call(c,e)){var t=c[e];t&&t.$modal&&t.$modal.removeData().remove()}o&&o.removeData().remove(),c={}}function s(e,t){if(c[e]){var n=c[e].$modal,r=n.data(\"instance\")||l;r.events.enableBlur(),n.hide(),o.hide(),a(r.o_doc).find(\"body\").first().removeClass(\"fr-prevent-scroll fr-mobile\"),n.removeClass(\"fr-active\"),t||(r.accessibility.restoreSelection(),r.events.trigger(\"modals.hide\"))}}function n(e){var t;if(\"string\"==typeof e){if(!c[e])return;t=c[e].$modal}else t=e;return t&&l.node.hasClass(t,\"fr-active\")&&l.core.sameInstance(t)||!1}return{_init:function t(){l.events.on(\"shared.destroy\",e,!0)},get:function r(e){return c[e]},create:function d(n,e,t){if(e='<div class=\"fr-modal-head-line\">'.concat(e,\"</div>\"),l.shared.$overlay||(l.shared.$overlay=a(l.doc.createElement(\"DIV\")).addClass(\"fr-overlay\"),a(\"body\").first().append(l.shared.$overlay)),o=l.shared.$overlay,l.opts.theme&&o.addClass(\"\".concat(l.opts.theme,\"-theme\")),!c[n]){var r=function i(e,t){var n='<div tabIndex=\"-1\" class=\"fr-modal'.concat(l.opts.theme?\" \".concat(l.opts.theme,\"-theme\"):\"\",'\"><div class=\"fr-modal-wrapper\">'),r='<button title=\"'.concat(l.language.translate(\"Cancel\"),'\" class=\"fr-command fr-btn fr-modal-close\"><svg xmlns=\"http://www.w3.org/2000/svg\" x=\"0px\" y=\"0px\" viewBox=\"0 0 24 24\"><path d=\"').concat(I.SVG.close,'\"/></svg></button>');n+='<div class=\"fr-modal-head\">'.concat(e).concat(r,\"</div>\"),n+='<div tabIndex=\"-1\" class=\"fr-modal-body\">'.concat(t,\"</div>\"),n+=\"</div></div>\";var o=a(l.doc.createElement(\"DIV\"));return o.html(n),o.find(\"> .fr-modal\")}(e,t);c[n]={$modal:r,$head:r.find(\".fr-modal-head\"),$body:r.find(\".fr-modal-body\")},l.helpers.isMobile()||r.addClass(\"fr-desktop\"),a(\"body\").first().append(r),l.events.$on(r,\"click\",\".fr-modal-close\",function(){s(n)},!0),c[n].$body.css(\"margin-top\",c[n].$head.outerHeight()),l.events.$on(r,\"keydown\",function(e){var t=e.which;return t===I.KEYCODE.ESC?(s(n),l.accessibility.focusModalButton(r),!1):!(!a(e.currentTarget).is(\"input[type=text], textarea\")&&t!==I.KEYCODE.ARROW_UP&&t!==I.KEYCODE.ARROW_DOWN&&!l.keys.isBrowserAction(e)&&(e.preventDefault(),e.stopPropagation(),1))},!0),s(n,!0)}return c[n]},show:function i(e){if(c[e]){var t=c[e].$modal;t.data(\"instance\",l),t.show(),o.show(),a(l.o_doc).find(\"body\").first().addClass(\"fr-prevent-scroll\"),l.helpers.isMobile()&&a(l.o_doc).find(\"body\").first().addClass(\"fr-mobile\"),t.addClass(\"fr-active\"),l.accessibility.focusModal(t)}},hide:s,resize:function f(e){if(c[e]){var t=c[e],n=t.$modal,r=t.$body,o=l.o_win.innerHeight,i=n.find(\".fr-modal-wrapper\"),a=o-i.outerHeight(!0)+(i.height()-(r.outerHeight(!0)-r.height())),s=\"auto\";a<r.get(0).scrollHeight&&(s=a),r.height(s)}},isVisible:n,areVisible:function p(e){for(var t in c)if(Object.prototype.hasOwnProperty.call(c,t)&&n(t)&&(void 0===e||c[t].$modal.data(\"instance\")===e))return c[t].$modal;return!1}}},I.MODULES.position=function(L){var E=L.$;function o(){var e=L.selection.ranges(0).getBoundingClientRect();if(0===e.top&&0===e.left&&0===e.width||0===e.height){var t=!1;0===L.$el.find(\".fr-marker\").length&&(L.selection.save(),t=!0);var n=L.$el.find(\".fr-marker\").first();n.css(\"display\",\"inline\"),n.css(\"line-height\",\"\");var r=n.offset(),o=n.outerHeight();n.css(\"display\",\"none\"),n.css(\"line-height\",0),(e={}).left=r&&r.left,e.width=0,e.height=o,e.top=r&&r.top-(L.helpers.isMobile()&&!L.helpers.isIOS()||L.opts.iframe?0:L.helpers.scrollTop()),e.right=1,e.bottom=1,e.ok=!0,t&&L.selection.restore()}return e}function i(e,t,n,r){var o=n.data(\"container\");if(!o||\"BODY\"===o.get(0).tagName&&\"static\"===o.css(\"position\")||(e&&(e-=o.offset().left),t&&(t-=o.offset().top),\"BODY\"!==o.get(0).tagName?(e&&(e+=o.get(0).scrollLeft),t&&(t+=o.get(0).scrollTop)):\"absolute\"===o.css(\"position\")&&(e&&(e+=o.position().left),t&&(t+=o.position().top))),L.opts.iframe&&o&&L.$tb&&o.get(0)!==L.$tb.get(0)){var i=L.helpers.getPX(L.$wp.find(\".fr-iframe\").css(\"padding-top\")),a=L.helpers.getPX(L.$wp.find(\".fr-iframe\").css(\"padding-left\"));e&&(e+=L.$iframe.offset().left+a),t&&(t+=L.$iframe.offset().top+i)}var s=function l(e,t){var n=e.outerWidth(!0);return t+n>L.$sc.get(0).clientWidth-10&&(t=L.$sc.get(0).clientWidth-n-10),t<0&&(t=10),t}(n,e);e&&n.css(\"left\",s),t&&n.css(\"top\",function c(e,t,n){var r=e.outerHeight(!0);if(!L.helpers.isMobile()&&L.$tb&&e.parent().get(0)!==L.$tb.get(0)){var o=e.parent().offset().top,i=t-r-(n||0);e.parent().get(0)===L.$sc.get(0)&&(o-=e.parent().position().top);var a=L.$sc.get(0).clientHeight;o+t+r>L.$sc.offset().top+a&&0<e.parent().offset().top+i&&0<i?i>L.$wp.scrollTop()&&(t=i,e.addClass(\"fr-above\")):e.removeClass(\"fr-above\")}return t}(n,t,r))}function a(e){var n=E(e),t=n.is(\".fr-sticky-on\"),r=n.data(\"sticky-top\"),o=n.data(\"sticky-scheduled\");if(void 0===r){n.data(\"sticky-top\",0);var i=E('<div class=\"fr-sticky-dummy\" style=\"height: '.concat(n.outerHeight(),'px;\"></div>'));L.$box.prepend(i)}else L.$box.find(\".fr-sticky-dummy\").css(\"height\",n.outerHeight());if(L.core.hasFocus()||0<L.$tb.findVisible(\"input:focus\").length){var a=L.helpers.scrollTop(),s=Math.min(Math.max(a-L.$tb.parent().offset().top,0),L.$tb.parent().outerHeight()-n.outerHeight());if(s!==r&&s!==o&&(clearTimeout(n.data(\"sticky-timeout\")),n.data(\"sticky-scheduled\",s),n.outerHeight()<a-L.$tb.parent().offset().top&&n.addClass(\"fr-opacity-0\"),n.data(\"sticky-timeout\",setTimeout(function(){var e=L.helpers.scrollTop(),t=Math.min(Math.max(e-L.$tb.parent().offset().top,0),L.$tb.parent().outerHeight()-n.outerHeight());0<t&&\"BODY\"===L.$tb.parent().get(0).tagName&&(t+=L.$tb.parent().position().top),t!==r&&(n.css(\"top\",Math.max(t,0)),n.data(\"sticky-top\",t),n.data(\"sticky-scheduled\",t)),n.removeClass(\"fr-opacity-0\")},100))),!t){var l=L.$tb.parent(),c=l.get(0).offsetWidth-l.get(0).clientWidth;n.css(\"top\",\"0\"),n.width(l.width()-c),n.addClass(\"fr-sticky-on\"),L.$box.addClass(\"fr-sticky-box\")}}else clearTimeout(E(e).css(\"sticky-timeout\")),n.css(\"top\",\"0\"),n.css(\"position\",\"\"),n.css(\"width\",\"\"),n.data(\"sticky-top\",0),n.removeClass(\"fr-sticky-on\"),L.$box.removeClass(\"fr-sticky-box\")}function t(e){if(e.offsetWidth){var t=E(e),n=t.outerHeight(),r=t.data(\"sticky-position\"),o=E(\"body\"===L.opts.scrollableContainer?L.o_win:L.opts.scrollableContainer).outerHeight(),i=0,a=0;\"body\"!==L.opts.scrollableContainer&&(i=L.$sc.offset().top,a=E(L.o_win).outerHeight()-i-o);var s=\"body\"===L.opts.scrollableContainer?L.helpers.scrollTop():i,l=t.is(\".fr-sticky-on\");t.data(\"sticky-parent\")||t.data(\"sticky-parent\",t.parent());var c=t.data(\"sticky-parent\"),d=c.offset().top,f=c.outerHeight();if(t.data(\"sticky-offset\")?L.$box.find(\".fr-sticky-dummy\").css(\"height\",\"\".concat(n,\"px\")):(t.data(\"sticky-offset\",!0),t.after('<div class=\"fr-sticky-dummy\" style=\"height: '.concat(n,'px;\"></div>'))),!r){var p=\"auto\"!==t.css(\"top\")||\"auto\"!==t.css(\"bottom\");p||t.css(\"position\",\"fixed\"),r={top:L.node.hasClass(t.get(0),\"fr-top\"),bottom:L.node.hasClass(t.get(0),\"fr-bottom\")},p||t.css(\"position\",\"\"),t.data(\"sticky-position\",r),t.data(\"top\",L.node.hasClass(t.get(0),\"fr-top\")?t.css(\"top\"):\"auto\"),t.data(\"bottom\",L.node.hasClass(t.get(0),\"fr-bottom\")?t.css(\"bottom\"):\"auto\")}var u=L.helpers.getPX(t.data(\"top\")),h=L.helpers.getPX(t.data(\"bottom\")),g=r.top&&function v(){return d<s+u&&s+u<=d+f-n}()&&(L.helpers.isInViewPort(L.$sc.get(0))||\"body\"===L.opts.scrollableContainer),m=r.bottom&&function b(){return d+n<s+o-h&&s+o-h<d+f}();if(g||m){var C=c.get(0).offsetWidth-c.get(0).clientWidth;t.css(\"width\",\"\".concat(c.get(0).getBoundingClientRect().width-C,\"px\")),l||(t.addClass(\"fr-sticky-on\"),t.removeClass(\"fr-sticky-off\"),t.css(\"top\")&&(\"auto\"!==t.data(\"top\")?t.css(\"top\",L.helpers.getPX(t.data(\"top\"))+i):t.data(\"top\",\"auto\")),t.css(\"bottom\")&&(\"auto\"!==t.data(\"bottom\")?t.css(\"bottom\",L.helpers.getPX(t.data(\"bottom\"))+a):t.css(\"bottom\",\"auto\")))}else L.node.hasClass(t.get(0),\"fr-sticky-off\")||(t.css(\"width\",\"\"),t.removeClass(\"fr-sticky-on\"),t.addClass(\"fr-sticky-off\"),t.css(\"top\")&&\"auto\"!==t.data(\"top\")&&r.top&&t.css(\"top\",0),t.css(\"bottom\")&&\"auto\"!==t.data(\"bottom\")&&r.bottom&&t.css(\"bottom\",0))}}function s(){if(L.helpers.requestAnimationFrame()(s),!1!==L.events.trigger(\"position.refresh\"))for(var e=0;e<L._stickyElements.length;e++)if(L.opts.toolbarBottom){var t=L.$tb.parent(),n=t.get(0).offsetWidth-t.get(0).clientWidth,r=E(L._stickyElements[e]);r.width(t.width()-n),r.addClass(\"fr-sticky-on\"),L.$box.addClass(\"fr-sticky-box\")}else a(L._stickyElements[e])}function n(){if(L._stickyElements)for(var e=0;e<L._stickyElements.length;e++)t(L._stickyElements[e])}return{_init:function r(){!function e(){L._stickyElements=[],L.helpers.isIOS()?(s(),L.events.$on(E(L.o_win),\"scroll\",function(){if(L.core.hasFocus())for(var e=0;e<L._stickyElements.length;e++){var t=E(L._stickyElements[e]),n=t.parent(),r=L.helpers.scrollTop();t.outerHeight()<r-n.offset().top&&(L.opts.toolbarBottom&&L.helpers.isIOS()||(t.addClass(\"fr-opacity-0\"),t.data(\"sticky-top\",-1),t.data(\"sticky-scheduled\",-1)))}},!0)):(\"body\"!==L.opts.scrollableContainer&&L.events.$on(E(L.opts.scrollableContainer),\"scroll\",n,!0),L.events.$on(E(L.o_win),\"scroll\",n,!0),L.events.$on(E(L.o_win),\"resize\",n,!0),L.events.on(\"initialized\",n),L.events.on(\"focus\",n),L.events.$on(E(L.o_win),\"resize\",\"textarea\",n,!0)),L.events.on(\"destroy\",function(){L._stickyElements=[]})}()},forSelection:function l(e){var t=o();e.css({top:0,left:0});var n=t.top+t.height,r=t.left+t.width/2-e.get(0).offsetWidth/2+L.helpers.scrollLeft();L.opts.iframe||(n+=L.helpers.scrollTop()),i(r,n,e,t.height)},addSticky:function c(e){e.addClass(\"fr-sticky\"),L.helpers.isIOS()&&!L.opts.toolbarBottom&&e.addClass(\"fr-sticky-ios\"),e.removeClass(\"fr-sticky\"),L._stickyElements.push(e.get(0))},refresh:n,at:i,getBoundingRect:o}},I.MODULES.refresh=function(l){var c=l.$;function i(e,t){e.toggleClass(\"fr-disabled\",t).attr(\"aria-disabled\",t)}function e(e){var t=l.$tb.find('.fr-more-toolbar[data-name=\"'.concat(e.attr(\"data-group-name\"),'\"]')),n=function s(e,t){var n=0,r=t.find(\"> .fr-command, > .fr-btn-wrap\");r.each(function(e,t){n+=c(t).outerWidth()});var o,i=l.helpers.getPX(c(r[0]).css(\"margin-left\")),a=l.helpers.getPX(c(r[0]).css(\"margin-right\"));o=\"rtl\"===l.opts.direction?l.$tb.outerWidth()-e.offset().left+l.$tb.offset().left-(n+e.outerWidth()+r.length*(i+a))/2:e.offset().left-l.$tb.offset().left-(n-e.outerWidth()+r.length*(i+a))/2;o+n+r.length*(i+a)>l.$tb.outerWidth()&&(o-=(n+r.length*(i+a)-e.outerWidth())/2);o<0&&(o=0);return o}(e,t);\"rtl\"===l.opts.direction?t.css(\"padding-right\",n):t.css(\"padding-left\",n)}return{undo:function t(e){i(e,!l.undo.canDo())},redo:function n(e){i(e,!l.undo.canRedo())},outdent:function a(e){if(l.node.hasClass(e.get(0),\"fr-no-refresh\"))return!1;for(var t=l.selection.blocks(),n=0;n<t.length;n++){var r=\"rtl\"===l.opts.direction||\"rtl\"===c(t[n]).css(\"direction\")?\"margin-right\":\"margin-left\",o=t[0].parentElement;if(\"P\"!=o.parentNode.tagName&&\"DIV\"!=o.parentNode.tagName&&\"UL\"!=o.parentNode.tagName&&\"OL\"!=o.parentNode.tagName&&\"LI\"!=o.parentNode.tagName)return i(e,!0),!0;if(t[0].previousSibling&&\"none\"==o.parentNode.style.listStyleType)return i(e,!0),!0;if(\"LI\"===t[n].tagName||\"LI\"===t[n].parentNode.tagName)return i(e,!1),!0;if(0<l.helpers.getPX(c(t[n]).css(r)))return i(e,!1),!0}i(e,!0)},indent:function o(e){if(l.node.hasClass(e.get(0),\"fr-no-refresh\"))return!1;for(var t=l.selection.blocks(),n=0;n<t.length;n++){for(var r=t[n].previousSibling;r&&r.nodeType===Node.TEXT_NODE&&0===r.textContent.length;)r=r.previousSibling;if(\"LI\"!==t[n].tagName||r)return i(e,!1),!0;i(e,!0)}},moreText:e,moreParagraph:e,moreMisc:e,moreRich:e}},Object.assign(I.DEFAULTS,{attribution:!0,toolbarBottom:!1,toolbarButtons:null,toolbarButtonsXS:null,toolbarButtonsSM:null,toolbarButtonsMD:null,toolbarContainer:null,toolbarInline:!1,toolbarSticky:!0,toolbarStickyOffset:0,toolbarVisibleWithoutSelection:!1}),I.TOOLBAR_BUTTONS={moreText:{buttons:[\"bold\",\"italic\",\"underline\",\"strikeThrough\",\"subscript\",\"superscript\",\"fontFamily\",\"fontSize\",\"textColor\",\"backgroundColor\",\"inlineClass\",\"inlineStyle\",\"clearFormatting\"]},moreParagraph:{buttons:[\"alignLeft\",\"alignCenter\",\"formatOLSimple\",\"alignRight\",\"alignJustify\",\"formatOL\",\"formatUL\",\"paragraphFormat\",\"paragraphStyle\",\"lineHeight\",\"outdent\",\"indent\",\"quote\"]},moreRich:{buttons:[\"insertLink\",\"insertFiles\",\"insertImage\",\"insertVideo\",\"insertTable\",\"emoticons\",\"fontAwesome\",\"specialCharacters\",\"embedly\",\"insertFile\",\"insertHR\"]},moreMisc:{buttons:[\"undo\",\"redo\",\"fullscreen\",\"print\",\"getPDF\",\"spellChecker\",\"selectAll\",\"html\",\"help\"],align:\"right\",buttonsVisible:2}},I.TOOLBAR_BUTTONS_MD=null,(I.TOOLBAR_BUTTONS_SM={}).moreText=Object.assign({},I.TOOLBAR_BUTTONS.moreText,{buttonsVisible:2}),I.TOOLBAR_BUTTONS_SM.moreParagraph=Object.assign({},I.TOOLBAR_BUTTONS.moreParagraph,{buttonsVisible:2}),I.TOOLBAR_BUTTONS_SM.moreRich=Object.assign({},I.TOOLBAR_BUTTONS.moreRich,{buttonsVisible:2}),I.TOOLBAR_BUTTONS_SM.moreMisc=Object.assign({},I.TOOLBAR_BUTTONS.moreMisc,{buttonsVisible:2}),(I.TOOLBAR_BUTTONS_XS={}).moreText=Object.assign({},I.TOOLBAR_BUTTONS.moreText,{buttonsVisible:0}),I.TOOLBAR_BUTTONS_XS.moreParagraph=Object.assign({},I.TOOLBAR_BUTTONS.moreParagraph,{buttonsVisible:0}),I.TOOLBAR_BUTTONS_XS.moreRich=Object.assign({},I.TOOLBAR_BUTTONS.moreRich,{buttonsVisible:0}),I.TOOLBAR_BUTTONS_XS.moreMisc=Object.assign({},I.TOOLBAR_BUTTONS.moreMisc,{buttonsVisible:2}),I.POWERED_BY='<a id=\"fr-logo\" href=\"https://froala.com/wysiwyg-editor\" target=\"_blank\" title=\"Froala WYSIWYG HTML Editor\"><span>Powered by</span><svg id=\"Layer_1\" data-name=\"Layer 1\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 822.8 355.33\"><defs><style>.fr-logo{fill:#b1b2b7;}</style></defs><title>Froala</title><path class=\"fr-logo\" d=\"M123.58,78.65A16.16,16.16,0,0,0,111.13,73H16.6C7.6,73,0,80.78,0,89.94V128.3a16.45,16.45,0,0,0,32.9,0V104.14h78.5A15.63,15.63,0,0,0,126.87,91.2,15.14,15.14,0,0,0,123.58,78.65Z\"/><path class=\"fr-logo\" d=\"M103.54,170a16.05,16.05,0,0,0-11.44-4.85H15.79A15.81,15.81,0,0,0,0,180.93v88.69a16.88,16.88,0,0,0,5,11.92,16,16,0,0,0,11.35,4.7h.17a16.45,16.45,0,0,0,16.41-16.6v-73.4H92.2A15.61,15.61,0,0,0,107.89,181,15.1,15.1,0,0,0,103.54,170Z\"/><path class=\"fr-logo\" d=\"M233,144.17c-5.29-6.22-16-7.52-24.14-7.52-16.68,0-28.72,7.71-36.5,23.47v-5.67a16.15,16.15,0,1,0-32.3,0v115.5a16.15,16.15,0,1,0,32.3,0v-38.7c0-19.09,3.5-63.5,35.9-63.5a44.73,44.73,0,0,1,5.95.27h.12c12.79,1.2,20.06-2.73,21.6-11.69C236.76,151.48,235.78,147.39,233,144.17Z\"/><path class=\"fr-logo\" d=\"M371.83,157c-13.93-13.11-32.9-20.33-53.43-20.33S279,143.86,265.12,157c-14.67,13.88-22.42,32.82-22.42,54.77,0,21.68,8,41.28,22.4,55.2,13.92,13.41,32.85,20.8,53.3,20.8s39.44-7.38,53.44-20.79c14.55-13.94,22.56-33.54,22.56-55.21S386.39,170.67,371.83,157Zm-9.73,54.77c0,25.84-18.38,44.6-43.7,44.6s-43.7-18.76-43.7-44.6c0-25.15,18.38-43.4,43.7-43.4S362.1,186.59,362.1,211.74Z\"/><path class=\"fr-logo\" d=\"M552.7,138.14a16.17,16.17,0,0,0-16,16.3v1C526.41,143.85,509,136.64,490,136.64c-19.83,0-38.19,7.24-51.69,20.4C424,171,416.4,190,416.4,212c0,21.61,7.78,41.16,21.9,55,13.56,13.33,31.92,20.67,51.7,20.67,18.83,0,36.29-7.41,46.7-19.37v1.57a16.15,16.15,0,1,0,32.3,0V154.44A16.32,16.32,0,0,0,552.7,138.14Zm-16.3,73.6c0,30.44-22.81,44.3-44,44.3-24.57,0-43.1-19-43.1-44.3s18.13-43.4,43.1-43.4C513.73,168.34,536.4,183.55,536.4,211.74Z\"/><path class=\"fr-logo\" d=\"M623.5,61.94a16.17,16.17,0,0,0-16,16.3v191.7a16.15,16.15,0,1,0,32.3,0V78.24A16.32,16.32,0,0,0,623.5,61.94Z\"/><path class=\"fr-logo\" d=\"M806.5,138.14a16.17,16.17,0,0,0-16,16.3v1c-10.29-11.63-27.74-18.84-46.7-18.84-19.83,0-38.19,7.24-51.69,20.4-14.33,14-21.91,33-21.91,55,0,21.61,7.78,41.16,21.9,55,13.56,13.33,31.92,20.67,51.7,20.67,18.83,0,36.29-7.41,46.7-19.37v1.57a16.15,16.15,0,1,0,32.3,0V154.44A16.32,16.32,0,0,0,806.5,138.14Zm-16.3,73.6c0,30.44-22.81,44.3-44,44.3-24.57,0-43.1-19-43.1-44.3s18.13-43.4,43.1-43.4C767.53,168.34,790.2,183.55,790.2,211.74Z\"/></svg></a>',I.MODULES.toolbar=function(m){var C,v=m.$,t=[];function e(e){var n={};if(Array.isArray(e)){if(!Array.isArray(e[0])){for(var t=[],r=[],o=0;o<e.length;o++)\"|\"===e[o]||\"-\"===e[o]?(0<r.length&&t.push(r),r=[]):r.push(e[o]);0<r.length&&t.push(r),e=t}e.forEach(function(e,t){n[\"group\".concat(t+1)]={buttons:e}}),n.showMoreButtons=!1}else\"object\"!==N(e)||Array.isArray(e)||((n=e).showMoreButtons=!0);return n}function b(){var e=m.helpers.screenSize();return t[C=e]}function L(){for(var e=m.$tb.find(\".fr-more-toolbar\"),c=\"\",t=0;t<e.length;t++){var d=v(e[t]);d.hasClass(\"fr-expanded\")?function(){var n=m.helpers.getPX(d.css(\"padding-left\")),e=d.find(\"> .fr-command, > .fr-btn-wrap\"),t=v(e[0]),r=m.helpers.getPX(t.css(\"margin-left\")),o=m.helpers.getPX(t.css(\"margin-right\")),i=m.helpers.getPX(t.css(\"margin-top\")),a=m.helpers.getPX(t.css(\"margin-bottom\"));if(e.each(function(e,t){n+=v(t).outerWidth()+r+o}),m.$tb.outerWidth()<n){var s=Math.floor(n/m.$tb.outerWidth());n+=s*(n/d[0].childElementCount),s=Math.ceil(n/m.$tb.outerWidth());var l=(m.helpers.getPX(t.css(\"height\"))+i+a)*s;d.css(\"height\",l),c=l}}():d.css(\"height\",\"\")}!m.helpers.isMobile()&&m.opts.toolbarBottom?(m.$tb.css(\"padding-bottom\",c),m.$tb.find(\".fr-toolbar .fr-more-toolbar\").removeClass(\"position-relative\")):m.$tb.find(\".fr-toolbar .fr-more-toolbar\").addClass(\"position-relative\")}function r(){if(C!==m.helpers.screenSize()){var e=b(),t=v(),n=v();for(var r in m.$tb.find(\".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command, .fr-btn-grp > .fr-btn-wrap > .fr-command, .fr-more-toolbar > .fr-btn-wrap > .fr-command\").addClass(\"fr-hidden\"),function g(){for(var t=m.$tb.find(\".fr-btn-grp, .fr-more-toolbar\"),r=function r(e){var n=v(t[e]);n.children().each(function(e,t){n.before(t)}),n.remove()},e=0;e<t.length;e++)r(e)}(),e){var o=e[r];if(o.buttons){var i=void 0,a=0,s=3,l=v('<div class=\"fr-btn-grp fr-float-'.concat(e[r].align?e[r].align:\"left\",'\"></div>'));e.showMoreButtons&&(i=v('<div class=\"fr-more-toolbar\"></div>').data(\"name\",\"\".concat(r,\"-\").concat(m.id)));for(var c=0;c<o.buttons.length;c++){o.buttonsVisible!==undefined&&(s=o.buttonsVisible);var d=m.$tb.find('> .fr-command[data-cmd=\"'+o.buttons[c]+'\"], > div.fr-btn-wrap > .fr-command[data-cmd=\"'+o.buttons[c]+'\"]'),f=null;m.node.hasClass(d.next().get(0),\"fr-dropdown-menu\")&&(f=d.next()),m.node.hasClass(d.next().get(0),\"fr-options\")&&(d.removeClass(\"fr-hidden\"),d.next().removeClass(\"fr-hidden\"),d=d.parent()),d.removeClass(\"fr-hidden\"),e.showMoreButtons&&s<=a?(i.append(d),f&&i.append(f)):(l.append(d),f&&l.append(f)),a++}if(e.showMoreButtons&&s<a){var p=m.$tb.find('.fr-command[data-cmd=\"'.concat(r,'\"]'));if(0<p.length)p.removeClass(\"fr-hidden fr-open\");else{var u=r,h=I.COMMANDS[u];h.more_btn=!0,p=v(m.button.build(u,h,!0)),m.button.addButtons(p)}l.append(p)}t.push(l),e.showMoreButtons&&n.push(i)}}m.opts.toolbarBottom?(m.$tb.append(n),m.$tb.find(\".fr-newline\").remove(),m.$tb.append('<div class=\"fr-newline\"></div>'),m.$tb.append(t)):(m.$tb.append(t),m.$tb.find(\".fr-newline\").remove(),m.$tb.append('<div class=\"fr-newline\"></div>'),m.$tb.append(n)),m.$tb.removeClass(\"fr-toolbar-open\"),m.$box.removeClass(\"fr-toolbar-open\"),m.events.trigger(\"codeView.toggle\")}L()}function n(e,t){setTimeout(function(){if((!e||e.which!=I.KEYCODE.ESC)&&m.selection.inEditor()&&m.core.hasFocus()&&!m.popups.areVisible()&&\"false\"!=v(m.selection.blocks()[0]).closest(\"table\").attr(\"contenteditable\")&&(m.opts.toolbarVisibleWithoutSelection||!m.selection.isCollapsed()&&!m.keys.isIME()||t)){if(m.$tb.data(\"instance\",m),!1===m.events.trigger(\"toolbar.show\",[e]))return;m.$tb.show(),m.opts.toolbarContainer||m.position.forSelection(m.$tb),1<m.opts.zIndex?m.$tb.css(\"z-index\",m.opts.zIndex+1):m.$tb.css(\"z-index\",null)}},0)}function o(e){return(!e||\"blur\"!==e.type||document.activeElement!==m.el)&&(!(!e||\"keydown\"!==e.type||!m.keys.ctrlKey(e))||(!!m.button.getButtons(\".fr-dropdown.fr-active\").next().find(m.o_doc.activeElement).length||(m.helpers.isMobile()&&m.opts.toolbarInline&&(m.$tb.find(\".fr-expanded\").toggleClass(\"fr-expanded\"),m.$tb.find(\".fr-open\").removeClass(\"fr-open\"),m.$tb.removeClass(\"fr-toolbar-open\"),L()),void(!1!==m.events.trigger(\"toolbar.hide\")&&m.$tb.hide()))))}t[I.XS]=e(m.opts.toolbarButtonsXS||m.opts.toolbarButtons||I.TOOLBAR_BUTTONS_XS||I.TOOLBAR_BUTTONS||[]),t[I.SM]=e(m.opts.toolbarButtonsSM||m.opts.toolbarButtons||I.TOOLBAR_BUTTONS_SM||I.TOOLBAR_BUTTONS||[]),t[I.MD]=e(m.opts.toolbarButtonsMD||m.opts.toolbarButtons||I.TOOLBAR_BUTTONS_MD||I.TOOLBAR_BUTTONS||[]),t[I.LG]=e(m.opts.toolbarButtons||I.TOOLBAR_BUTTONS||[]);var i=null;function a(e){clearTimeout(i),e&&e.which===I.KEYCODE.ESC||(i=setTimeout(n,m.opts.typingTimer))}function s(){m.events.on(\"window.mousedown\",o),m.events.on(\"keydown\",o),m.events.on(\"blur\",o),m.events.$on(m.$tb,\"transitionend\",\".fr-more-toolbar\",function(){m.position.forSelection(m.$tb)}),m.helpers.isMobile()||m.events.on(\"window.mouseup\",n),m.helpers.isMobile()?m.helpers.isIOS()||(m.events.on(\"window.touchend\",n),m.browser.mozilla&&setInterval(n,200)):m.events.on(\"window.keyup\",a),m.events.on(\"keydown\",function(e){e&&e.which===I.KEYCODE.ESC&&m.events.trigger(\"toolbar.esc\")}),m.events.on(\"keydown\",function(e){if(e.which===I.KEYCODE.ALT)return e.stopPropagation(),!1},!0),m.events.$on(m.$wp,\"scroll.toolbar\",n),m.events.on(\"commands.after\",n),m.helpers.isMobile()&&(m.events.$on(m.$doc,\"selectionchange\",a),m.events.$on(m.$doc,\"orientationchange\",n))}function l(){m.$tb.html(\"\").removeData().remove(),m.$tb=null,m.$second_tb&&(m.$second_tb.html(\"\").removeData().remove(),m.$second_tb=null)}function c(){m.$box.removeClass(\"fr-top fr-bottom fr-inline fr-basic\"),m.$box.find(\".fr-sticky-dummy\").remove()}function d(){m.opts.theme&&m.$tb.addClass(\"\".concat(m.opts.theme,\"-theme\")),1<m.opts.zIndex&&m.$tb.css(\"z-index\",m.opts.zIndex+1),\"auto\"!==m.opts.direction&&m.$tb.removeClass(\"fr-ltr fr-rtl\").addClass(\"fr-\".concat(m.opts.direction)),m.helpers.isMobile()?m.$tb.addClass(\"fr-mobile\"):m.$tb.addClass(\"fr-desktop\"),m.opts.toolbarContainer?(m.opts.toolbarInline&&(s(),o()),m.opts.toolbarBottom?m.$tb.addClass(\"fr-bottom\"):m.$tb.addClass(\"fr-top\")):function e(){m.opts.toolbarInline?(m.$sc.append(m.$tb),m.$tb.data(\"container\",m.$sc),m.$tb.addClass(\"fr-inline\"),s(),m.opts.toolbarBottom=!1):(m.opts.toolbarBottom?(m.$box.append(m.$tb),m.$tb.addClass(\"fr-bottom\"),m.$box.addClass(\"fr-bottom\")):(m.opts.toolbarBottom=!1,m.$box.prepend(m.$tb),m.$tb.addClass(\"fr-top\"),m.$box.addClass(\"fr-top\")),m.$tb.addClass(\"fr-basic\"),m.opts.toolbarSticky&&(m.opts.toolbarStickyOffset&&(m.opts.toolbarBottom?m.$tb.css(\"bottom\",m.opts.toolbarStickyOffset):m.$tb.css(\"top\",m.opts.toolbarStickyOffset)),m.position.addSticky(m.$tb)))}(),function t(){var e=m.button.buildGroup(b());m.$tb.append(e),L(),m.button.bindCommands(m.$tb)}(),function n(){m.events.$on(v(m.o_win),\"resize\",r),m.events.$on(v(m.o_win),\"orientationchange\",r)}(),m.accessibility.registerToolbar(m.$tb),m.events.$on(m.$tb,\"\".concat(m._mousedown,\" \").concat(m._mouseup),function(e){var t=e.originalEvent?e.originalEvent.target||e.originalEvent.originalTarget:null;if(t&&\"INPUT\"!==t.tagName&&!m.edit.isDisabled())return e.stopPropagation(),e.preventDefault(),!1},!0),m.events.$on(m.$tb,\"transitionend\",\".fr-more-toolbar\",function(){m.$box.hasClass(\"fr-fullscreen\")&&(m.opts.height=m.o_win.innerHeight-(m.opts.toolbarInline?0:m.$tb.outerHeight()+(m.$second_tb?m.$second_tb.outerHeight():0)),m.size.refresh())})}var f=!1;return{_init:function p(){if(m.$sc=v(m.opts.scrollableContainer).first(),!m.$wp)return!1;m.opts.toolbarInline||m.opts.toolbarBottom||(m.$second_tb=v(m.doc.createElement(\"div\")).attr(\"class\",\"fr-second-toolbar\"),m.$box.append(m.$second_tb),(!1!==m.ul||m.opts.attribution)&&m.$second_tb.prepend(I.POWERED_BY)),m.opts.toolbarContainer?(m.shared.$tb?(m.$tb=m.shared.$tb,m.opts.toolbarInline&&s()):(m.shared.$tb=v(m.doc.createElement(\"DIV\")),m.shared.$tb.addClass(\"fr-toolbar\"),m.$tb=m.shared.$tb,v(m.opts.toolbarContainer).append(m.$tb),d(),m.$tb.data(\"instance\",m)),m.helpers.isMobile()&&m.events.$on(m.$tb,\"click\",function(){m.popups.areVisible().length||m.id!==m.shared.selected_editor||m.$el.focus()}),m.opts.toolbarInline?m.$box.addClass(\"fr-inline\"):m.$box.addClass(\"fr-basic\"),m.events.on(\"focus\",function(){m.$tb.data(\"instance\",m)},!0),m.opts.toolbarInline=!1):m.opts.toolbarInline?(m.$box.addClass(\"fr-inline\"),m.shared.$tb?(m.$tb=m.shared.$tb,s()):(m.shared.$tb=v(m.doc.createElement(\"DIV\")),m.shared.$tb.addClass(\"fr-toolbar\"),m.$tb=m.shared.$tb,d())):(m.$box.addClass(\"fr-basic\"),m.$tb=v(m.doc.createElement(\"DIV\")),m.$tb.addClass(\"fr-toolbar\"),d(),m.$tb.data(\"instance\",m)),m.events.on(\"destroy\",c,!0),m.events.on(m.opts.toolbarInline||m.opts.toolbarContainer?\"shared.destroy\":\"destroy\",l,!0),m.events.on(\"edit.on\",function(){m.$tb.removeClass(\"fr-disabled\").removeAttr(\"aria-disabled\")}),m.events.on(\"edit.off\",function(){m.$tb.addClass(\"fr-disabled\").attr(\"aria-disabled\",!0)}),function e(){m.events.on(\"shortcut\",function(e,t,n){var r;if(t&&!n?r=m.$tb.find('.fr-command[data-cmd=\"'.concat(t,'\"]')):t&&n&&(r=m.$tb.find('.fr-command[data-cmd=\"'.concat(t,'\"][data-param1=\"').concat(n,'\"]'))),r.length&&(e.preventDefault(),e.stopPropagation(),r.parents(\".fr-toolbar\").data(\"instance\",m),\"keydown\"===e.type))return m.button.exec(r),!1})}()},hide:o,show:function u(){if(!1===m.events.trigger(\"toolbar.show\"))return!1;m.$tb.show()},showInline:n,disable:function h(){!f&&m.$tb&&(m.$tb.find(\".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command\").addClass(\"fr-disabled fr-no-refresh\").attr(\"aria-disabled\",!0),f=!0)},enable:function g(){f&&m.$tb&&(m.$tb.find(\".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command\").removeClass(\"fr-disabled fr-no-refresh\").attr(\"aria-disabled\",!1),f=!1),m.button.bulkRefresh()},setMoreToolbarsHeight:L}};var c=[\"scroll\",\"wheel\",\"touchmove\",\"touchstart\",\"touchend\"],d=[\"webkit\",\"moz\",\"ms\",\"o\"],f=[\"transitionend\"],o=document.createElement(\"div\").style,i=[\"Webkit\",\"Moz\",\"ms\",\"O\",\"css\",\"style\"],s={visibility:\"hidden\",display:\"block\"},r=[\"focus\",\"blur\",\"click\"],a={},l=function l(e,t){return{altKey:e.altKey,bubbles:e.bubbles,cancelable:e.cancelable,changedTouches:e.changedTouches,ctrlKey:e.ctrlKey,detail:e.detail,eventPhase:e.eventPhase,metaKey:e.metaKey,pageX:e.pageX,pageY:e.pageY,shiftKey:e.shiftKey,view:e.view,\"char\":e[\"char\"],key:e.key,keyCode:e.keyCode,button:e.button,buttons:e.buttons,clientX:e.clientX,clientY:e.clientY,offsetX:e.offsetX,offsetY:e.offsetY,pointerId:e.pointerId,pointerType:e.pointerType,screenX:e.screenX,screenY:e.screenY,targetTouches:e.targetTouches,toElement:e.toElement,touches:e.touches,type:e.type,which:e.which,target:e.target,currentTarget:t,originalEvent:e,stopPropagation:function(){e.stopPropagation()},stopImmediatePropagation:function(){e.stopImmediatePropagation()},preventDefault:function(){-1===c.indexOf(e.type)&&e.preventDefault()}}},p=function p(e){return e.ownerDocument&&e.ownerDocument.body.contains(e)||\"#document\"===e.nodeName||\"HTML\"===e.nodeName||e===window},u=function u(n,r){return function(e){var t=e.target;if(r)for(r=g(r);t&&t!==this;)Element.prototype.matches.call(t,g(r))&&n.call(t,l(e,t)),t=t.parentNode;else p(t)&&n.call(t,l(e,t))}},h=function h(e,t){return new v(e,t)},g=function g(e){return e&&\"string\"==typeof e?e.replace(/^\\s*>/g,\":scope >\").replace(/,\\s*>/g,\", :scope >\"):e},m=function m(e){return\"function\"==typeof e&&\"number\"!=typeof e.nodeType},C=h;h.fn=h.prototype={constructor:h,length:0,contains:function(e){if(!e)return!1;if(Array.isArray(e)){for(var t=0;t<e.length;t++)if(this.contains(e[t])&&this!=e[t])return!0;return!1}for(var n=0;n<this.length;n++)for(var r=e;r;){if(r==this[n]||r[0]&&r[0].isEqualNode(this[n]))return!0;r=r.parentNode}return!1},findVisible:function(e){for(var t=this.find(e),n=t.length-1;0<=n;n--)C(t[n]).isVisible()||t.splice(n,1);return t},formatParams:function(t){var e=\"\".concat(Object.keys(t).map(function(e){return\"\".concat(e,\"=\").concat(encodeURIComponent(t[e]))}).join(\"&\"));return e||\"\"},ajax:function(t){var n=new XMLHttpRequest,e=this.formatParams(t.data);for(var r in\"GET\"===t.method.toUpperCase()&&(t.url=e?t.url+\"?\"+e:t.url),n.open(t.method,t.url,!0),t.withCredentials&&(n.withCredentials=!0),t.crossDomain&&n.setRequestHeader(\"Access-Control-Allow-Origin\",\"*\"),t.headers)Object.prototype.hasOwnProperty.call(t.headers,r)&&n.setRequestHeader(r,t.headers[r]);Object.prototype.hasOwnProperty.call(t.headers,\"Content-Type\")||(\"json\"===t.dataType?n.setRequestHeader(\"Content-Type\",\"application/json\"):n.setRequestHeader(\"Content-Type\",\"application/x-www-form-urlencoded; charset=UTF-8\")),n.onload=function(){if(200==n.status){var e=n.responseText;\"json\"===t.dataType&&(e=JSON.parse(e)),t.done(e,n.status,n)}else t.fail(n)},n.send(e)},prevAll:function(){var e=C();if(!this[0])return e;for(var t=this[0];t&&t.previousSibling;)t=t.previousSibling,e.push(t);return e},index:function(e){return e?\"string\"==typeof e?[].indexOf.call(C(e),this[0]):[].indexOf.call(this,e.length?e[0]:e):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},isVisible:function(){return!!this[0]&&!!(this[0].offsetWidth||this[0].offsetHeight||this[0].getClientRects().length)},toArray:function(){return[].slice.call(this)},get:function(e){return null==e?[].slice.call(this):e<0?this[e+this.length]:this[e]},pushStack:function(e){var t=h.merge(this.constructor(),e);return t.prevObject=this,t},wrapAll:function(e){var t;return this[0]&&(m(e)&&(e=e.call(this[0])),t=h(e,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){for(var e=this;e.firstElementChild;)e=e.firstElementChild;return e}).append(this)),this},wrapInner:function(e){if(\"string\"==typeof e){for(var t=e.split(\" \"),n=0;n<t.length&&0===t[n].trim().length;)n++;if(n<t.length&&(C(e).length&&t[n].trim()===C(e)[0].tagName&&(e=document.createElement(t[n].trim())),n++),\"string\"!=typeof e)for(var r=C(e);n<t.length;n++){t[n]=t[n].trim();var o=t[n].split(\"=\");r.attr(o[0],o[1].replace('\"',\"\"))}}for(;this[0].firstChild&&this[0].firstChild!==e&&\"string\"!=typeof e;)e.appendChild(this[0].firstChild)},wrap:function(t){var n=m(t);return this.each(function(e){C(this).wrapAll(n?t.call(this,e):t)})},unwrap:function(){return this.parent().each(function(){this.nodeName&&this.nodeName.toLowerCase()===name.toLowerCase()||h(this).replaceWith(this.childNodes)})},grep:function(e,t,n){for(var r=[],o=0,i=e.length,a=!n;o<i;o++)!t(e[o],o)!==a&&r.push(e[o]);return r},map:function(n){return this.pushStack(h.map(this,function(e,t){return n.call(e,t,e)}))},slice:function(){return this.pushStack([].slice.apply(this,arguments))},each:function(e){if(this.length)for(var t=0;t<this.length&&!1!==e.call(this[t],t,this[t]);t++);return this},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(e<0?t:0);return this.pushStack(0<=n&&n<t?[this[n]]:[])},empty:function(){for(var e=0;e<this.length;e++)this[e].innerHTML=\"\"},contents:function(){for(var e=C(),t=0;t<this.length;t++)for(var n=this[t].childNodes,r=0;r<n.length;r++)e.push(n[r]);return e},attr:function(e,t){if(\"object\"===N(e)){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&null!==e[n]&&this.attr(n,e[n]);return this}if(void 0===t)return 0===this.length||!this[0].getAttribute&&\"checked\"!==e?undefined:\"checked\"===e?this[0].checked:\"tagName\"===e?this[0].tagName:this[0].getAttribute(e);if(\"checked\"===e)for(var r=0;r<this.length;r++)this[r].checked=t;else if(\"tagName\"===e)for(var o=0;o<this.length;o++)this[o].tagName=t;else for(var i=0;i<this.length;i++)this[i].setAttribute(e,t);return this},removeAttr:function(e){for(var t=0;t<this.length;t++)this[t].removeAttribute&&this[t].removeAttribute(e);return this},hide:function(){return this.css(\"display\",\"none\"),this},show:function(){return this.css(\"display\",\"block\"),this},focus:function(){return this.length&&this[0].focus(),this},blur:function(){return this.length&&this[0].blur(),this},data:function(e,t){if(void 0!==t){for(var n=0;n<this.length;n++)\"object\"!==N(this[n][\"data-\"+e]=t)&&\"function\"!=typeof t&&this[n].setAttribute&&this[n].setAttribute(\"data-\"+e,t);return this}if(void 0!==t)return this.attr(\"data-\"+e,t);if(0===this.length)return undefined;for(var r=0;r<this.length;r++){var o=this[r][\"data-\"+e];if(null==o&&this[r].getAttribute&&(o=this[r].getAttribute(\"data-\"+e)),void 0!==o&&null!=o)return o}return undefined},removeData:function(e){for(var t=0;t<this.length;t++)this[t].removeAttribute&&this[t].removeAttribute(\"data-\"+e),this[t][\"data-\"+e]=null;return this},getCorrectStyleName:function(e){if(!a[e]){var t;e in o&&(t=e);for(var n=e[0].toUpperCase()+e.slice(1),r=i.length;r--;)(e=i[r]+n)in o&&(t=e);a[e]=t}return a[e]},css:function(e,t){if(void 0!==t){if(0===this.length)return this;(\"string\"!=typeof t||\"\"===t.trim()||isNaN(t))&&\"number\"!=typeof t||!/(margin)|(padding)|(height)|(width)|(top)|(left)|(right)|(bottom)/gi.test(e)||/(line-height)/gi.test(e)||(t+=\"px\");for(var n=0;n<this.length;n++)e=C(this).getCorrectStyleName(e),this[n].style[e]=t;return this}if(\"string\"==typeof e){if(0===this.length)return undefined;var r=this[0].ownerDocument||document,o=r.defaultView||r.parentWindow;return e=C(this).getCorrectStyleName(e),o.getComputedStyle(this[0])[e]}for(var i in e)Object.prototype.hasOwnProperty.call(e,i)&&this.css(i,e[i]);return this},toggleClass:function(e,t){if(1<e.split(\" \").length){for(var n=e.split(\" \"),r=0;r<n.length;r++)this.toggleClass(n[r],t);return this}for(var o=0;o<this.length;o++)void 0===t?this[o].classList.contains(e)?this[o].classList.remove(e):this[o].classList.add(e):t?this[o].classList.contains(e)||this[o].classList.add(e):this[o].classList.contains(e)&&this[o].classList.remove(e);return this},addClass:function(e){if(0===e.length)return this;if(1<e.split(\" \").length){for(var t=e.split(\" \"),n=0;n<t.length;n++)this.addClass(t[n]);return this}for(var r=0;r<this.length;r++)this[r].classList.add(e);return this},removeClass:function(e){if(1<e.split(\" \").length){for(var t=e.split(\" \"),n=0;n<t.length;n++)t[n]=t[n].trim(),t[n].length&&this.removeClass(t[n]);return this}for(var r=0;r<this.length;r++)e.length&&this[r].classList.remove(e);return this},getClass:function(e){return e.getAttribute&&e.getAttribute(\"class\")||\"\"},stripAndCollapse:function(e){return(e.match(/[^\\x20\\t\\r\\n\\f]+/g)||[]).join(\" \")},hasClass:function(e){var t,n,r=0;for(t=\" \"+e+\" \";n=this[r++];)if(1===n.nodeType&&-1<(\" \"+C(this).stripAndCollapse(C(this).getClass(n))+\" \").indexOf(t))return!0;return!1},scrollTop:function(e){if(void 0===e)return 0===this.length?undefined:this[0]===document?document.documentElement.scrollTop:this[0].scrollTop;for(var t=0;t<this.length;t++)this[t]===document?window.scrollTo(document.documentElement.scrollLeft,e):this[t].scrollTop=e},scrollLeft:function(e){if(void 0===e)return 0===this.length?undefined:this[0]===document?document.documentElement.scrollLeft:this[0].scrollLeft;for(var t=0;t<this.length;t++)this[t]===document?window.scrollTo(e,document.documentElement.scrollTop):this[t].scrollLeft=e},on:function(e,t,n){if(1<e.split(\" \").length){for(var r=e.split(\" \"),o=0;o<r.length;o++)if(-1!==f.indexOf(e))for(var i=0;i<d.length;i++)this.on(d[i]+e[0].toUpperCase()+e.slice(1),t,n);else this.on(r[o],t,n);return this}n=\"function\"==typeof t?u(t,null):u(n,t);for(var a=0;a<this.length;a++){var s=C(this[a]);s.data(\"events\")||s.data(\"events\",[]),s.data(\"events\").push([e,n]);var l=e.split(\".\");l=l[0],0<=c.indexOf(l)?s.get(0).addEventListener(l,n,{passive:!0}):s.get(0).addEventListener(l,n)}},off:function(e){if(1<e.split(\" \").length){for(var t=e.split(\" \"),n=0;n<t.length;n++)this.off(t[n]);return this}for(var r=0;r<this.length;r++){var o=C(this[r]);if(o.data(\"events\")){var i=e.split(\".\");i=i[0];for(var a=o.data(\"events\")||[],s=a.length-1;0<=s;s--){var l=a[s];l[0]==e&&(o.get(0).removeEventListener(i,l[1]),a.splice(s,1))}}}},trigger:function(e){for(var t=0;t<this.length;t++){var n=void 0;\"function\"==typeof Event?n=0<=e.search(/^mouse/g)?new MouseEvent(e,{view:window,cancelable:!0,bubbles:!0}):new Event(e):0<=e.search(/^mouse/g)?(n=document.createEvent(\"MouseEvents\")).initMouseEvent(e,!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null):(n=document.createEvent(\"Event\")).initEvent(e,!0,!0),0<=r.indexOf(e)&&\"function\"==typeof this[t][e]?this[t][e]():this[t].dispatchEvent(n)}},triggerHandler:function(){},val:function(e){if(void 0===e)return this[0].value;for(var t=0;t<this.length;t++)this[t].value=e;return this},siblings:function(){return C(this[0]).parent().children().not(this)},find:function(e){var t=C();if(\"string\"!=typeof e){for(var n=0;n<e.length;n++)for(var r=0;r<this.length;r++)if(this[r]!==e[n]&&C(this[r]).contains(e[n])){t.push(e[n]);break}return t}var o=function o(e){return\"object\"===(\"undefined\"==typeof HTMLElement?\"undefined\":N(HTMLElement))?e instanceof HTMLElement:e&&\"object\"===N(e)&&null!==e&&1===e.nodeType&&\"string\"==typeof e.nodeName};e=g(e);for(var i=0;i<this.length;i++)if(this[i].querySelectorAll){var a=[];if(e&&\"string\"==typeof e)try{a=this[i].querySelectorAll(e)}catch(l){a=this[i].children}else o(e)&&(a=[e]);for(var s=0;s<a.length;s++)t.push(a[s])}return t},children:function(){for(var e=C(),t=0;t<this.length;t++)for(var n=this[t].children,r=0;r<n.length;r++)e.push(n[r]);return e},not:function(e){if(\"string\"==typeof e)for(var t=this.length-1;0<=t;t--)Element.prototype.matches.call(this[t],e)&&this.splice(t,1);else if(e instanceof h){for(var n=this.length-1;0<=n;n--)for(var r=0;r<e.length;r++)if(this[n]===e[r]){this.splice(n,1);break}}else for(var o=this.length-1;0<=o;o--)this[o]===e[0]&&this.splice(o,1);return this},add:function(e){for(var t=0;t<e.length;t++)this.push(e[t]);return this},closest:function(e){for(var t=0;t<this.length;t++){var n=Element.prototype.closest.call(this[t],e);if(n)return C(n)}return C()},html:function(e){if(void 0===e)return 0===this.length?undefined:this[0].innerHTML;if(\"string\"==typeof e)for(var t=0;t<this.length;t++){this[t].innerHTML=e;for(var n=this[t].children,r=this[t].ownerDocument||document,o=0;o<n.length;o++)if(\"SCRIPT\"===n[o].tagName){var i=r.createElement(\"script\");i.innerHTML=n[o].innerHTML,n[o].hasAttribute(\"async\")&&i.setAttribute(\"async\",\"\"),i.src=n[o].src,n[o].hasAttribute(\"defer\")&&i.setAttribute(\"defer\",\"\"),r.head.appendChild(i).parentNode.removeChild(i)}}else{this[0].innerHTML=\"\",this.append(e[0]);var a=this[0].ownerDocument||document;if(\"SCRIPT\"===e[0].tagName){var s=a.createElement(\"script\");s.innerHTML=e[0].innerHTML,a.head.appendChild(s).parentNode.removeChild(s)}}return this},text:function(e){if(!e)return this.length?this[0].textContent:\"\";for(var t=0;t<this.length;t++)this[t].textContent=e},after:function e(t){if(t)if(\"string\"==typeof t)for(var n=0;n<this.length;n++){var e=this[n];if(e.nodeType!=Node.ELEMENT_NODE){var r=e.ownerDocument.createElement(\"SPAN\");C(e).after(r),C(r).after(t).remove()}else e.insertAdjacentHTML(\"afterend\",t)}else{var o=this[0];if(o.nextSibling)if(t instanceof h)for(var i=0;i<t.length;i++)o.nextSibling.parentNode.insertBefore(t[i],o.nextSibling);else o.nextSibling.parentNode.insertBefore(t,o.nextSibling);else C(o.parentNode).append(t)}return this},clone:function(e){for(var t=C(),n=0;n<this.length;n++)t.push(this[n].cloneNode(e));return t},replaceWith:function(e){if(\"string\"==typeof e)for(var t=0;t<this.length;t++)this[t].parentNode&&(this[t].outerHTML=e);else if(e.length)for(var n=0;n<this.length;n++)this.replaceWith(e[n]);else this.after(e).remove()},insertBefore:function(e){return C(e).before(this[0]),this},before:function e(t){if(t instanceof h){for(var n=0;n<t.length;n++)this.before(t[n]);return this}if(t)if(\"string\"==typeof t)for(var r=0;r<this.length;r++){var e=this[r];if(e.nodeType!=Node.ELEMENT_NODE){var o=e.ownerDocument.createElement(\"SPAN\");C(e).before(o),C(o).before(t).remove()}else e.parentNode&&e.insertAdjacentHTML(\"beforebegin\",t)}else{var i=this[0];if(i.parentNode)if(t instanceof h)for(var a=0;a<t.length;a++)i.parentNode.insertBefore(t[a],i);else i.parentNode.insertBefore(t,i)}return this},append:function(e){if(0==this.length)return this;if(\"string\"==typeof e)for(var t=0;t<this.length;t++){var n=this[t],r=n.ownerDocument.createElement(\"SPAN\");C(n).append(r),C(r).after(e).remove()}else if(e instanceof h||Array.isArray(e))for(var o=0;o<e.length;o++)this.append(e[o]);else\"function\"!=typeof e&&this[0].appendChild(e);return this},prepend:function(e){if(0==this.length)return this;if(\"string\"==typeof e)for(var t=0;t<this.length;t++){var n=this[t],r=n.ownerDocument.createElement(\"SPAN\");C(n).prepend(r),C(r).before(e).remove()}else if(e instanceof h)for(var o=0;o<e.length;o++)this.prepend(e[o]);else{var i=this[0];i.firstChild?i.firstChild?i.insertBefore(e,i.firstChild):i.appendChild(e):C(i).append(e)}return this},remove:function(){for(var e=0;e<this.length;e++)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this},prev:function(){return this.length&&this[0].previousElementSibling?C(this[0].previousElementSibling):C()},next:function(){return this.length&&this[0].nextElementSibling?C(this[0].nextElementSibling):C()},nextAllVisible:function(){return this.next()},prevAllVisible:function(){return this.prev()},outerHeight:function(e){if(0===this.length)return undefined;var t=this[0];if(t===t.window)return t.innerHeight;var n={},r=this.isVisible();if(!r)for(var o in s)n[o]=t.style[o],t.style[o]=s[o];var i=t.offsetHeight;if(e&&(i+=parseInt(C(t).css(\"marginTop\"))+parseInt(C(t).css(\"marginBottom\"))),!r)for(var a in s)t.style[a]=n[a];return i},outerWidth:function(e){if(0===this.length)return undefined;var t=this[0];if(t===t.window)return t.outerWidth;var n={},r=this.isVisible();if(!r)for(var o in s)n[o]=t.style[o],t.style[o]=s[o];var i=t.offsetWidth;if(e&&(i+=parseInt(C(t).css(\"marginLeft\"))+parseInt(C(t).css(\"marginRight\"))),!r)for(var a in s)t.style[a]=n[a];return i},width:function(e){if(e===undefined){if(this[0]instanceof HTMLDocument)return this[0].body.offsetWidth;if(this[0])return this[0].offsetWidth}else this[0].style.width=e+\"px\"},height:function(e){var t=this[0];if(e===undefined){if(t instanceof HTMLDocument){var n=t.documentElement;return Math.max(t.body.scrollHeight,n.scrollHeight,t.body.offsetHeight,n.offsetHeight,n.clientHeight)}return t.offsetHeight}t.style.height=e+\"px\"},is:function(e){return 0!==this.length&&(\"string\"==typeof e&&this[0].matches?this[0].matches(e):e instanceof h?this[0]==e[0]:this[0]==e)},parent:function(){return 0===this.length?C():C(this[0].parentNode)},_matches:function(e,t){var n=e.matches||e.matchesSelector||e.msMatchesSelector||e.mozMatchesSelector||e.webkitMatchesSelector||e.oMatchesSelector;return e&&!t?n:n.call(e,t)},parents:function(e){for(var t=C(),n=0;n<this.length;n++)for(var r=this[n].parentNode;r&&r!=document&&this._matches(r);)e?this._matches(r,e)&&t.push(r):t.push(r),r=r.parentNode;return t},parentsUntil:function(e,t){var n=C();e instanceof h&&0<e.length&&(e=e[0]);for(var r=0;r<this.length;r++)for(var o=this[r].parentNode;o&&o!=document&&o!=e&&this[r]!=e&&(\"string\"!=typeof e||!Element.prototype.matches.call(o,e));)t?Element.prototype.matches.call(o,t)&&n.push(o):n.push(o),o=o.parentNode;return n},insertAfter:function(e){var t=e.parent()[0];t&&t.insertBefore(this[0],e[0].nextElementSibling)},filter:function(e){var t=C();if(\"function\"==typeof e)for(var n=0;n<this.length;n++)e.call(this[n],this[n])&&t.push(this[n]);else if(\"string\"==typeof e)for(var r=0;r<this.length;r++)this[r].matches(e)&&t.push(this[r]);return t},offset:function(){if(0===this.length)return undefined;var e=this[0].getBoundingClientRect(),t=this[0].ownerDocument.defaultView;return{top:e.top+t.pageYOffset,left:e.left+t.pageXOffset}},position:function(){return{left:this[0].offsetLeft,top:this[0].offsetTop}},push:[].push,splice:[].splice},h.extend=function(e){e=e||{};for(var t=1;t<arguments.length;t++)if(arguments[t])for(var n in arguments[t])Object.prototype.hasOwnProperty.call(arguments[t],n)&&(e[n]=arguments[t][n]);return e},h.merge=function(e,t){for(var n=+t.length,r=0,o=e.length;r<n;r++)e[o++]=t[r];return e.length=o,e},h.map=function(e,t,n){var r,o,i=0,a=[];if(Array.isArray(e))for(r=e.length;i<r;i++)null!=(o=t(e[i],i,n))&&a.push(o);else for(i in e)null!=(o=t(e[i],i,n))&&a.push(o);return[].concat.apply([],a)};var v=function v(e,t){if(!e)return this;if(\"string\"==typeof e&&\"<\"===e[0]){var n=document.createElement(\"DIV\");return n.innerHTML=e,C(n.firstElementChild)}if(t=t instanceof h?t[0]:t,\"string\"!=typeof e)return e instanceof h?e:(this[0]=e,this.length=1,this);e=g(e);for(var r=(t||document).querySelectorAll(e),o=0;o<r.length;o++)this[o]=r[o];return this.length=r.length,this};v.prototype=h.prototype;var b=I;function L(){this.doc=this.$el.get(0).ownerDocument,this.win=\"defaultView\"in this.doc?this.doc.defaultView:this.doc.parentWindow,this.$doc=h(this.doc),this.$win=h(this.win),this.opts.pluginsEnabled||(this.opts.pluginsEnabled=Object.keys(b.PLUGINS)),this.opts.initOnClick?(this.load(b.MODULES),this.$el.on(\"touchstart.init\",function(){h(this).data(\"touched\",!0)}),this.$el.on(\"touchmove.init\",function(){h(this).removeData(\"touched\")}),this.$el.on(\"mousedown.init touchend.init dragenter.init focus.init\",function r(e){if(\"touchend\"===e.type&&!this.$el.data(\"touched\"))return!0;if(1===e.which||!e.which){this.$el.off(\"mousedown.init touchstart.init touchmove.init touchend.init dragenter.init focus.init\"),this.load(b.MODULES),this.load(b.PLUGINS);var t=e.originalEvent&&e.originalEvent.originalTarget;if(t&&\"IMG\"===t.tagName&&h(t).trigger(\"mousedown\"),\"undefined\"==typeof this.ul&&this.destroy(),\"touchend\"===e.type&&this.image&&e.originalEvent&&e.originalEvent.target&&h(e.originalEvent.target).is(\"img\")){var n=this;setTimeout(function(){n.image.edit(h(e.originalEvent.target))},100)}this.ready=!0,this.events.trigger(\"initialized\")}}.bind(this)),this.events.trigger(\"initializationDelayed\")):(this.load(b.MODULES),this.load(b.PLUGINS),h(this.o_win).scrollTop(this.c_scroll),\"undefined\"==typeof this.ul&&this.destroy(),this.ready=!0,this.events.trigger(\"initialized\"))}return b.Bootstrap=function(e,t,n){this.id=++b.ID,this.$=h;var r={};\"function\"==typeof t&&(n=t,t={}),n&&(t.events||(t.events={}),t.events.initialized=n),t&&t.documentReady&&(r.toolbarButtons=[[\"fullscreen\",\"undo\",\"redo\",\"getPDF\",\"print\"],[\"bold\",\"italic\",\"underline\",\"textColor\",\"backgroundColor\",\"clearFormatting\"],[\"alignLeft\",\"alignCenter\",\"alignRight\",\"alignJustify\"],[\"formatOL\",\"formatUL\",\"indent\",\"outdent\"],[\"paragraphFormat\"],[\"fontFamily\"],[\"fontSize\"],[\"insertLink\",\"insertImage\",\"quote\"]],r.paragraphFormatSelection=!0,r.fontFamilySelection=!0,r.fontSizeSelection=!0,r.placeholderText=\"\",r.quickInsertEnabled=!1,r.charCounterCount=!1),this.opts=Object.assign({},Object.assign({},b.DEFAULTS,r,\"object\"===N(t)&&t));var o=JSON.stringify(this.opts);b.OPTS_MAPPING[o]=b.OPTS_MAPPING[o]||this.id,this.sid=b.OPTS_MAPPING[o],b.SHARED[this.sid]=b.SHARED[this.sid]||{},this.shared=b.SHARED[this.sid],this.shared.count=(this.shared.count||0)+1,this.$oel=h(e),this.$oel.data(\"froala.editor\",this),this.o_doc=e.ownerDocument,this.o_win=\"defaultView\"in this.o_doc?this.o_doc.defaultView:this.o_doc.parentWindow,this.c_scroll=h(this.o_win).scrollTop(),this._init()},b.Bootstrap.prototype._init=function(){var e=this.$oel.get(0).tagName;this.$oel.closest(\"label\").length;var t=function(){\"TEXTAREA\"!==e&&(this._original_html=this._original_html||this.$oel.html()),this.$box=this.$box||this.$oel,this.opts.fullPage&&(this.opts.iframe=!0),this.opts.iframe?(this.$iframe=h('<iframe src=\"about:blank\" frameBorder=\"0\">'),this.$wp=h(\"<div></div>\"),this.$box.html(this.$wp),this.$wp.append(this.$iframe),this.$iframe.get(0).contentWindow.document.open(),this.$iframe.get(0).contentWindow.document.write(\"<!DOCTYPE html>\"),this.$iframe.get(0).contentWindow.document.write(\"<html><head></head><body></body></html>\"),this.$iframe.get(0).contentWindow.document.close(),this.iframe_document=this.$iframe.get(0).contentWindow.document,this.$el=h(this.iframe_document.querySelector(\"body\")),this.el=this.$el.get(0),this.$head=h(this.iframe_document.querySelector(\"head\")),this.$html=h(this.iframe_document.querySelector(\"html\"))):(this.$el=h(this.o_doc.createElement(\"DIV\")),this.el=this.$el.get(0),this.$wp=h(this.o_doc.createElement(\"DIV\")).append(this.$el),this.$box.html(this.$wp)),setTimeout(L.bind(this),0)}.bind(this),n=function(){this.$box=h(\"<div>\"),this.$oel.before(this.$box).hide(),this._original_html=this.$oel.val();var e=this;this.$oel.parents(\"form\").on(\"submit.\".concat(this.id),function(){e.events.trigger(\"form.submit\")}),this.$oel.parents(\"form\").on(\"reset.\".concat(this.id),function(){e.events.trigger(\"form.reset\")}),t()}.bind(this),r=function(){this.$el=this.$oel,this.el=this.$el.get(0),this.$el.attr(\"contenteditable\",!0).css(\"outline\",\"none\").css(\"display\",\"inline-block\"),this.opts.multiLine=!1,this.opts.toolbarInline=!1,setTimeout(L.bind(this),0)}.bind(this),o=function(){this.$el=this.$oel,this.el=this.$el.get(0),this.opts.toolbarInline=!1,setTimeout(L.bind(this),0)}.bind(this),i=function(){this.$el=this.$oel,this.el=this.$el.get(0),this.opts.toolbarInline=!1,this.$oel.on(\"click.popup\",function(e){e.preventDefault()}),setTimeout(L.bind(this),0)}.bind(this);this.opts.editInPopup?i():\"TEXTAREA\"===e?n():\"A\"===e?r():\"IMG\"===e?o():\"BUTTON\"===e||\"INPUT\"===e?(this.opts.editInPopup=!0,this.opts.toolbarInline=!1,i()):t()},b.Bootstrap.prototype.load=function(e){for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t)){if(this[t])continue;if(b.PLUGINS[t]&&this.opts.pluginsEnabled.indexOf(t)<0)continue;if(this[t]=new e[t](this),this[t]._init&&(this[t]._init(),this.opts.initOnClick&&\"core\"===t))return!1}},b.Bootstrap.prototype.destroy=function(){this.destrying=!0,this.shared.count--,this.events&&this.events.$off();var e=this.html&&this.html.get();if(this.opts.iframe&&(this.events.disableBlur(),this.win.focus(),this.events.enableBlur()),this.events&&(this.events.trigger(\"destroy\",[],!0),this.events.trigger(\"shared.destroy\",[],!0)),0===this.shared.count){for(var t in this.shared)Object.prototype.hasOwnProperty.call(this.shared,t)&&(this.shared[t]=null,b.SHARED[this.sid][t]=null);delete b.SHARED[this.sid]}this.$oel.parents(\"form\").off(\".\".concat(this.id)),this.$oel.off(\"click.popup\"),this.$oel.removeData(\"froala.editor\"),this.$oel.off(\"froalaEditor\"),this.core&&this.core.destroy(e),b.INSTANCES.splice(b.INSTANCES.indexOf(this),1)},I});","(function() {\n  function vendorModule() {\n    'use strict';\n\n    return {\n      'default': self['FroalaEditor'],\n      __esModule: true,\n    };\n  }\n\n  define('froala-editor', [], vendorModule);\n})();\n","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n!function(n,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?t(require(\"froala-editor\")):\"function\"==typeof define&&define.amd?define([\"froala-editor\"],t):t(n.FroalaEditor)}(this,function(i){\"use strict\";(i=i&&i.hasOwnProperty(\"default\")?i[\"default\"]:i).PLUGINS.align=function(a){var l=a.$;return{apply:function r(n){var t=a.selection.element();if(l(t).parents(\".fr-img-caption\").length)l(t).css(\"text-align\",n);else{a.selection.save(),a.html.wrap(!0,!0,!0,!0),a.selection.restore();for(var e=a.selection.blocks(),i=0;i<e.length;i++)l(e[i]).css(\"text-align\",n).removeClass(\"fr-temp-div\"),\"\"===l(e[i]).attr(\"class\")&&l(e[i]).removeAttr(\"class\"),\"\"===l(e[i]).attr(\"style\")&&l(e[i]).removeAttr(\"style\");a.selection.save(),a.html.unwrap(),a.selection.restore()}},refresh:function i(n){var t=a.selection.blocks();if(t.length){var e=a.helpers.getAlignment(l(t[0]));n.find(\"> *\").first().replaceWith(a.icon.create(\"align-\".concat(e)))}},refreshOnShow:function o(n,t){var e=a.selection.blocks();if(e.length){var i=a.helpers.getAlignment(l(e[0]));t.find('a.fr-command[data-param1=\"'.concat(i,'\"]')).addClass(\"fr-active\").attr(\"aria-selected\",!0)}},refreshForToolbar:function s(n){var t=a.selection.blocks();if(t.length){var e=a.helpers.getAlignment(l(t[0]));e=e.charAt(0).toUpperCase()+e.slice(1),\"align\".concat(e)===n.attr(\"data-cmd\")&&n.addClass(\"fr-active\")}}}},i.DefineIcon(\"align\",{NAME:\"align-left\",SVG_KEY:\"alignLeft\"}),i.DefineIcon(\"align-left\",{NAME:\"align-left\",SVG_KEY:\"alignLeft\"}),i.DefineIcon(\"align-right\",{NAME:\"align-right\",SVG_KEY:\"alignRight\"}),i.DefineIcon(\"align-center\",{NAME:\"align-center\",SVG_KEY:\"alignCenter\"}),i.DefineIcon(\"align-justify\",{NAME:\"align-justify\",SVG_KEY:\"alignJustify\"}),i.RegisterCommand(\"align\",{type:\"dropdown\",title:\"Align\",options:{left:\"Align Left\",center:\"Align Center\",right:\"Align Right\",justify:\"Align Justify\"},html:function(){var n='<ul class=\"fr-dropdown-list\" role=\"presentation\">',t=i.COMMANDS.align.options;for(var e in t)t.hasOwnProperty(e)&&(n+='<li role=\"presentation\"><a class=\"fr-command fr-title\" tabIndex=\"-1\" role=\"option\" data-cmd=\"align\"data-param1=\"\\n        '.concat(e,'\" title=\"').concat(this.language.translate(t[e]),'\">').concat(this.icon.create(\"align-\".concat(e)),'<span class=\"fr-sr-only\">\\n        ').concat(this.language.translate(t[e]),\"</span></a></li>\"));return n+=\"</ul>\"},callback:function(n,t){this.align.apply(t)},refresh:function(n){this.align.refresh(n)},refreshOnShow:function(n,t){this.align.refreshOnShow(n,t)},plugin:\"align\"}),i.RegisterCommand(\"alignLeft\",{type:\"button\",icon:\"align-left\",title:\"Align Left\",callback:function(){this.align.apply(\"left\")},refresh:function(n){this.align.refreshForToolbar(n)},plugin:\"align\"}),i.RegisterCommand(\"alignRight\",{type:\"button\",icon:\"align-right\",title:\"Align Right\",callback:function(){this.align.apply(\"right\")},refresh:function(n){this.align.refreshForToolbar(n)},plugin:\"align\"}),i.RegisterCommand(\"alignCenter\",{type:\"button\",icon:\"align-center\",title:\"Align Center\",callback:function(){this.align.apply(\"center\")},refresh:function(n){this.align.refreshForToolbar(n)},plugin:\"align\"}),i.RegisterCommand(\"alignJustify\",{type:\"button\",icon:\"align-justify\",title:\"Align Justify\",callback:function(){this.align.apply(\"justify\")},refresh:function(n){this.align.refreshForToolbar(n)},plugin:\"align\"})});","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?e(require(\"froala-editor\")):\"function\"==typeof define&&define.amd?define([\"froala-editor\"],e):e(t.FroalaEditor)}(this,function(i){\"use strict\";i=i&&i.hasOwnProperty(\"default\")?i[\"default\"]:i,Object.assign(i.DEFAULTS,{charCounterMax:-1,charCounterCount:!0}),i.PLUGINS.charCounter=function(n){var r,e=n.$,o=function o(){return(n.el.textContent||\"\").replace(/\\u200B/g,\"\").length};function t(t){if(n.opts.charCounterMax<0)return!0;if(o()<n.opts.charCounterMax)return!0;var e=t.which;return!(!n.keys.ctrlKey(t)&&n.keys.isCharacter(e)||e===i.KEYCODE.IME)||(t.preventDefault(),t.stopPropagation(),n.events.trigger(\"charCounter.exceeded\"),!1)}function a(t){return n.opts.charCounterMax<0?t:e(\"<div>\").html(t).text().length+o()<=n.opts.charCounterMax?t:(n.events.trigger(\"charCounter.exceeded\"),\"\")}function c(){if(n.opts.charCounterCount){var t=o()+(0<n.opts.charCounterMax?\"/\"+n.opts.charCounterMax:\"\");r.text(\"\".concat(n.language.translate(\"Characters\"),\" : \").concat(t)),n.opts.toolbarBottom&&r.css(\"margin-bottom\",n.$tb.outerHeight(!0));var e=n.$wp.get(0).offsetWidth-n.$wp.get(0).clientWidth;0<=e&&(\"rtl\"==n.opts.direction?r.css(\"margin-left\",e):r.css(\"margin-right\",e))}}return{_init:function u(){return!!n.$wp&&!!n.opts.charCounterCount&&((r=e(document.createElement(\"span\")).attr(\"class\",\"fr-counter\")).css(\"bottom\",n.$wp.css(\"border-bottom-width\")),n.$second_tb?n.$second_tb.append(r):n.$wp.append(r),n.events.on(\"keydown\",t,!0),n.events.on(\"paste.afterCleanup\",a),n.events.on(\"keyup contentChanged input\",function(){n.events.trigger(\"charCounter.update\")}),n.events.on(\"charCounter.update\",c),n.events.trigger(\"charCounter.update\"),void n.events.on(\"destroy\",function(){e(n.o_win).off(\"resize.char\".concat(n.id)),r.removeData().remove(),r=null}))},count:o}}});","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?e(require(\"froala-editor\")):\"function\"==typeof define&&define.amd?define([\"froala-editor\"],e):e(t.FroalaEditor)}(this,function(t){\"use strict\";(t=t&&t.hasOwnProperty(\"default\")?t[\"default\"]:t).PLUGINS.codeBeautifier=function(){var t,e,n,i,Q={};function y(i,t){var e={\"@page\":!0,\"@font-face\":!0,\"@keyframes\":!0,\"@media\":!0,\"@supports\":!0,\"@document\":!0},n={\"@media\":!0,\"@supports\":!0,\"@document\":!0};t=t||{},i=(i=i||\"\").replace(/\\r\\n|[\\r\\u2028\\u2029]/g,\"\\n\");var r=t.indent_size||4,s=t.indent_char||\" \",a=t.selector_separator_newline===undefined||t.selector_separator_newline,_=t.end_with_newline!==undefined&&t.end_with_newline,o=t.newline_between_rules===undefined||t.newline_between_rules,c=t.eol?t.eol:\"\\n\";\"string\"==typeof r&&(r=parseInt(r,10)),t.indent_with_tabs&&(s=\"\\t\",r=1),c=c.replace(/\\\\r/,\"\\r\").replace(/\\\\n/,\"\\n\");var l,h=/^\\s+$/,u=-1,p=0;function d(){return(l=i.charAt(++u))||\"\"}function f(t){var e,n=u;return t&&E(),e=i.charAt(u+1)||\"\",u=n-1,d(),e}function T(t){for(var e=u;d();)if(\"\\\\\"===l)d();else{if(-1!==t.indexOf(l))break;if(\"\\n\"===l)break}return i.substring(e,u+1)}function E(){for(var t=\"\";h.test(f());)d(),t+=l;return t}function g(){var t=\"\";for(l&&h.test(l)&&(t=l);h.test(d());)t+=l;return t}function x(t){var e=u;for(t=\"/\"===f(),d();d();){if(!t&&\"*\"===l&&\"/\"===f()){d();break}if(t&&\"\\n\"===l)return i.substring(e,u)}return i.substring(e,u)+l}function w(t){return i.substring(u-t.length,u).toLowerCase()===t}function K(){for(var t=0,e=u+1;e<i.length;e++){var n=i.charAt(e);if(\"{\"===n)return!0;if(\"(\"===n)t+=1;else if(\")\"===n){if(0===t)return!1;t-=1}else if(\" \"===n||\"}\"===n)return!1}return!1}var R=i.match(/^[\\t ]*/)[0],m=new Array(r+1).join(s),b=0,v=0;for(var S,A,k,y={\"{\":function(t){y.singleSpace(),O.push(t),y.newLine()},\"}\":function(t){y.newLine(),O.push(t),y.newLine()},_lastCharWhitespace:function(){return h.test(O[O.length-1])},newLine:function(t){O.length&&(t||\"\\n\"===O[O.length-1]||y.trim(),O.push(\"\\n\"),R&&O.push(R))},singleSpace:function(){O.length&&!y._lastCharWhitespace()&&O.push(\" \")},preserveSingleSpace:function(){S&&y.singleSpace()},trim:function(){for(;y._lastCharWhitespace();)O.pop()}},O=[],N=!1,D=!1,C=!1,L=\"\",I=\"\";;){var V=g();S=\"\"!==V;var P=-1!==V.indexOf(\"\\n\");if(I=L,!(L=l))break;if(\"/\"===l&&\"*\"===f()){var B=0===b;(P||B)&&y.newLine(),O.push(x()),y.newLine(),B&&y.newLine(!0)}else if(\"/\"===l&&\"/\"===f())P||\"{\"===I||y.trim(),y.singleSpace(),O.push(x()),y.newLine();else if(\"@\"===l){y.preserveSingleSpace(),O.push(l);var j=(void 0,A=u,k=T(\": , {}()[]/='\\\"\"),u=A-1,d(),k);j.match(/[ :]$/)&&(d(),j=T(\": \").replace(/\\s$/,\"\"),O.push(j),y.singleSpace()),(j=j.replace(/\\s$/,\"\"))in e&&(v+=1,j in n&&(C=!0))}else\"#\"===l&&\"{\"===f()?(y.preserveSingleSpace(),O.push(T(\"}\"))):\"{\"===l?\"}\"===f(!0)?(E(),d(),y.singleSpace(),O.push(\"{}\"),y.newLine(),o&&0===b&&y.newLine(!0)):(b++,R+=m,y[\"{\"](l),N=C?(C=!1,v<b):v<=b):\"}\"===l?(b--,R=R.slice(0,-r),y[\"}\"](l),D=N=!1,v&&v--,o&&0===b&&y.newLine(!0)):\":\"===l?(E(),!N&&!C||w(\"&\")||K()?\":\"===f()?(d(),O.push(\"::\")):O.push(\":\"):(D=!0,O.push(\":\"),y.singleSpace())):'\"'===l||\"'\"===l?(y.preserveSingleSpace(),O.push(T(l))):\" \"===l?(D=!1,O.push(l),y.newLine()):\"(\"===l?w(\"url\")?(O.push(l),E(),d()&&(\")\"!==l&&'\"'!==l&&\"'\"!==l?O.push(T(\")\")):u--)):(p++,y.preserveSingleSpace(),O.push(l),E()):\")\"===l?(O.push(l),p--):\",\"===l?(O.push(l),E(),a&&!D&&p<1?y.newLine():y.singleSpace()):(\"]\"===l||(\"[\"===l?y.preserveSingleSpace():\"=\"===l?(E(),l=\"=\"):y.preserveSingleSpace()),O.push(l))}var M=\"\";return R&&(M+=R),M+=O.join(\"\").replace(/[\\r\\n\\t ]+$/,\"\"),_&&(M+=\"\\n\"),\"\\n\"!=c&&(M=M.replace(/[\\n]/g,c)),M}function Y(t,e){for(var n=0;n<e.length;n+=1)if(e[n]===t)return!0;return!1}function H(t){return t.replace(/^\\s+|\\s+$/g,\"\")}function O(t,e){return new r(t,e).beautify()}t=Q,e=\"\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc\",n=new RegExp(\"[\".concat(e,\"]\")),i=new RegExp(\"[\".concat(e,\" \").concat(\"\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f\",\"]\")),t.newline=/[\\n\\r\\u2028\\u2029]/,t.lineBreak=new RegExp(\"\\r\\n|\".concat(t.newline.source)),t.allLineBreaks=new RegExp(t.lineBreak.source,\"g\"),t.isIdentifierStart=function(t){return t<65?36===t||64===t:t<91||(t<97?95===t:t<123||170<=t&&n.test(String.fromCharCode(t)))},t.isIdentifierChar=function(t){return t<48?36===t:t<58||!(t<65)&&(t<91||(t<97?95===t:t<123||170<=t&&i.test(String.fromCharCode(t))))};var Z={BlockStatement:\"BlockStatement\",Statement:\"Statement\",ObjectLiteral:\"ObjectLiteral\",ArrayLiteral:\"ArrayLiteral\",ForInitializer:\"ForInitializer\",Conditional:\"Conditional\",Expression:\"Expression\"};function r(i,t){var c,r,s,l,a,_,o,h,u,e,n,p,d,f=[],T=\"\";function E(t,e){var n=0;return t&&(n=t.indentation_level,!c.just_added_newline()&&t.line_indent_level>n&&(n=t.line_indent_level)),{mode:e,parent:t,last_text:t?t.last_text:\"\",last_word:t?t.last_word:\"\",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,if_block:!1,else_block:!1,do_block:!1,do_while:!1,in_case_statement:!1,in_case:!1,case_body:!1,indentation_level:n,line_indent_level:t?t.line_indent_level:n,start_line_index:c.get_line_number(),ternary_depth:0}}for(p={TK_START_EXPR:function L(){O();var t=Z.Expression;if(\"[\"===l.text){if(\"TK_WORD\"===a||\")\"===h.last_text)return\"TK_RESERVED\"===a&&Y(h.last_text,s.line_starters)&&(c.space_before_token=!0),v(t),m(),b(),void(d.space_in_paren&&(c.space_before_token=!0));t=Z.ArrayLiteral,S(h.mode)&&(\"[\"!==h.last_text&&(\",\"!==h.last_text||\"]\"!==_&&\"}\"!==_)||d.keep_array_indentation||K())}else\"TK_RESERVED\"===a&&\"for\"===h.last_text?t=Z.ForInitializer:\"TK_RESERVED\"===a&&Y(h.last_text,[\"if\",\"while\"])&&(t=Z.Conditional);\" \"===h.last_text||\"TK_START_BLOCK\"===a?K():\"TK_END_EXPR\"===a||\"TK_START_EXPR\"===a||\"TK_END_BLOCK\"===a||\".\"===h.last_text?w(l.wanted_newline):\"TK_RESERVED\"===a&&\"(\"===l.text||\"TK_WORD\"===a||\"TK_OPERATOR\"===a?\"TK_RESERVED\"===a&&(\"function\"===h.last_word||\"typeof\"===h.last_word)||\"*\"===h.last_text&&\"function\"===_?d.space_after_anon_function&&(c.space_before_token=!0):\"TK_RESERVED\"!==a||!Y(h.last_text,s.line_starters)&&\"catch\"!==h.last_text||d.space_before_conditional&&(c.space_before_token=!0):c.space_before_token=!0;\"(\"===l.text&&\"TK_RESERVED\"===a&&\"await\"===h.last_word&&(c.space_before_token=!0);\"(\"===l.text&&(\"TK_EQUALS\"!==a&&\"TK_OPERATOR\"!==a||y()||w());v(t),m(),d.space_in_paren&&(c.space_before_token=!0);b()},TK_END_EXPR:function I(){for(;h.mode===Z.Statement;)k();h.multiline_frame&&w(\"]\"===l.text&&S(h.mode)&&!d.keep_array_indentation);d.space_in_paren&&(\"TK_START_EXPR\"!==a||d.space_in_empty_paren?c.space_before_token=!0:(c.trim(),c.space_before_token=!1));\"]\"===l.text&&d.keep_array_indentation?(m(),k()):(k(),m());c.remove_redundant_indentation(u),h.do_while&&u.mode===Z.Conditional&&(u.mode=Z.Expression,h.do_block=!1,h.do_while=!1)},TK_START_BLOCK:function V(){var t=D(1),e=D(2);e&&(\":\"===e.text&&Y(t.type,[\"TK_STRING\",\"TK_WORD\",\"TK_RESERVED\"])||Y(t.text,[\"get\",\"set\"])&&Y(e.type,[\"TK_WORD\",\"TK_RESERVED\"]))?Y(_,[\"class\",\"interface\"])?v(Z.BlockStatement):v(Z.ObjectLiteral):v(Z.BlockStatement);var n=!t.comments_before.length&&\"}\"===t.text&&\"function\"===h.last_word&&\"TK_END_EXPR\"===a;\"expand\"===d.brace_style||\"none\"===d.brace_style&&l.wanted_newline?\"TK_OPERATOR\"!==a&&(n||\"TK_EQUALS\"===a||\"TK_RESERVED\"===a&&N(h.last_text)&&\"else\"!==h.last_text)?c.space_before_token=!0:K(!1,!0):\"TK_OPERATOR\"!==a&&\"TK_START_EXPR\"!==a?\"TK_START_BLOCK\"===a?K():c.space_before_token=!0:S(u.mode)&&\",\"===h.last_text&&(\"}\"===_?c.space_before_token=!0:K());m(),b()},TK_END_BLOCK:function P(){for(;h.mode===Z.Statement;)k();var t=\"TK_START_BLOCK\"===a;\"expand\"===d.brace_style?t||K():t||(S(h.mode)&&d.keep_array_indentation?(d.keep_array_indentation=!1,K(),d.keep_array_indentation=!0):K());k(),m()},TK_WORD:C,TK_RESERVED:C,TK_SEMICOLON:function B(){O()&&(c.space_before_token=!1);for(;h.mode===Z.Statement&&!h.if_block&&!h.do_block;)k();m()},TK_STRING:function j(){O()?c.space_before_token=!0:\"TK_RESERVED\"===a||\"TK_WORD\"===a?c.space_before_token=!0:\"TK_COMMA\"===a||\"TK_START_EXPR\"===a||\"TK_EQUALS\"===a||\"TK_OPERATOR\"===a?y()||w():K();m()},TK_EQUALS:function M(){O();h.declaration_statement&&(h.declaration_assignment=!0);c.space_before_token=!0,m(),c.space_before_token=!0},TK_OPERATOR:function U(){O();if(\"TK_RESERVED\"===a&&N(h.last_text))return c.space_before_token=!0,void m();if(\"*\"===l.text&&\"TK_DOT\"===a)return void m();if(\":\"===l.text&&h.in_case)return h.case_body=!0,b(),m(),K(),void(h.in_case=!1);if(\"::\"===l.text)return void m();\"TK_OPERATOR\"===a&&w();var t=!0,e=!0;Y(l.text,[\"--\",\"++\",\"!\",\"~\"])||Y(l.text,[\"-\",\"+\"])&&(Y(a,[\"TK_START_BLOCK\",\"TK_START_EXPR\",\"TK_EQUALS\",\"TK_OPERATOR\"])||Y(h.last_text,s.line_starters)||\",\"===h.last_text)?(e=t=!1,!l.wanted_newline||\"--\"!==l.text&&\"++\"!==l.text||K(!1,!0),\" \"===h.last_text&&A(h.mode)&&(t=!0),\"TK_RESERVED\"===a?t=!0:\"TK_END_EXPR\"===a?t=!(\"]\"===h.last_text&&(\"--\"===l.text||\"++\"===l.text)):\"TK_OPERATOR\"===a&&(t=Y(l.text,[\"--\",\"-\",\"++\",\"+\"])&&Y(h.last_text,[\"--\",\"-\",\"++\",\"+\"]),Y(l.text,[\"+\",\"-\"])&&Y(h.last_text,[\"--\",\"++\"])&&(e=!0)),h.mode!==Z.BlockStatement&&h.mode!==Z.Statement||\"{\"!==h.last_text&&\" \"!==h.last_text||K()):\":\"===l.text?0===h.ternary_depth?t=!1:h.ternary_depth-=1:\"?\"===l.text?h.ternary_depth+=1:\"*\"===l.text&&\"TK_RESERVED\"===a&&\"function\"===h.last_text&&(e=t=!1);c.space_before_token=c.space_before_token||t,m(),c.space_before_token=e},TK_COMMA:function W(){if(h.declaration_statement)return A(h.parent.mode)&&(h.declaration_assignment=!1),m(),void(h.declaration_assignment?K(h.declaration_assignment=!1,!0):(c.space_before_token=!0,d.comma_first&&w()));m(),h.mode===Z.ObjectLiteral||h.mode===Z.Statement&&h.parent.mode===Z.ObjectLiteral?(h.mode===Z.Statement&&k(),K()):(c.space_before_token=!0,d.comma_first&&w())},TK_BLOCK_COMMENT:function z(){if(c.raw)return c.add_raw_token(l),void(l.directives&&\"end\"===l.directives.preserve&&(d.test_output_raw||(c.raw=!1)));if(l.directives)return K(!1,!0),m(),\"start\"===l.directives.preserve&&(c.raw=!0),void K(!1,!0);if(!Q.newline.test(l.text)&&!l.wanted_newline)return c.space_before_token=!0,m(),void(c.space_before_token=!0);var t,e=function a(t){var e;t=t.replace(/\\x0d/g,\"\");var n=[];e=t.indexOf(\"\\n\");for(;-1!==e;)n.push(t.substring(0,e)),t=t.substring(e+1),e=t.indexOf(\"\\n\");t.length&&n.push(t);return n}(l.text),n=!1,i=!1,r=l.whitespace_before,s=r.length;K(!1,!0),1<e.length&&(!function _(t,e){for(var n=0;n<t.length;n++){var i=H(t[n]);if(i.charAt(0)!==e)return!1}return!0}(e.slice(1),\"*\")?function o(t,e){for(var n,i=0,r=t.length;i<r;i++)if((n=t[i])&&0!==n.indexOf(e))return!1;return!0}(e.slice(1),r)&&(i=!0):n=!0);for(m(e[0]),t=1;t<e.length;t++)K(!1,!0),n?m(\" \".concat(e[t].replace(/^\\s+/g,\"\"))):i&&e[t].length>s?m(e[t].substring(s)):c.add_token(e[t]);K(!1,!0)},TK_COMMENT:function G(){l.wanted_newline?K(!1,!0):c.trim(!0);c.space_before_token=!0,m(),K(!1,!0)},TK_DOT:function X(){O();\"TK_RESERVED\"===a&&N(h.last_text)?c.space_before_token=!0:w(\")\"===h.last_text&&d.break_chained_methods);m()},TK_UNKNOWN:function F(){m(),\"\\n\"===l.text[l.text.length-1]&&K()},TK_EOF:function $(){for(;h.mode===Z.Statement;)k()}},d={},(t=t||{}).braces_on_own_line!==undefined&&(d.brace_style=t.braces_on_own_line?\"expand\":\"collapse\"),d.brace_style=t.brace_style?t.brace_style:d.brace_style?d.brace_style:\"collapse\",\"expand-strict\"===d.brace_style&&(d.brace_style=\"expand\"),d.indent_size=t.indent_size?parseInt(t.indent_size,10):4,d.indent_char=t.indent_char?t.indent_char:\" \",d.eol=t.eol?t.eol:\"\\n\",d.preserve_newlines=t.preserve_newlines===undefined||t.preserve_newlines,d.break_chained_methods=t.break_chained_methods!==undefined&&t.break_chained_methods,d.max_preserve_newlines=t.max_preserve_newlines===undefined?0:parseInt(t.max_preserve_newlines,10),d.space_in_paren=t.space_in_paren!==undefined&&t.space_in_paren,d.space_in_empty_paren=t.space_in_empty_paren!==undefined&&t.space_in_empty_paren,d.jslint_happy=t.jslint_happy!==undefined&&t.jslint_happy,d.space_after_anon_function=t.space_after_anon_function!==undefined&&t.space_after_anon_function,d.keep_array_indentation=t.keep_array_indentation!==undefined&&t.keep_array_indentation,d.space_before_conditional=t.space_before_conditional===undefined||t.space_before_conditional,d.unescape_strings=t.unescape_strings!==undefined&&t.unescape_strings,d.wrap_line_length=t.wrap_line_length===undefined?0:parseInt(t.wrap_line_length,10),d.e4x=t.e4x!==undefined&&t.e4x,d.end_with_newline=t.end_with_newline!==undefined&&t.end_with_newline,d.comma_first=t.comma_first!==undefined&&t.comma_first,d.test_output_raw=t.test_output_raw!==undefined&&t.test_output_raw,d.jslint_happy&&(d.space_after_anon_function=!0),t.indent_with_tabs&&(d.indent_char=\"\\t\",d.indent_size=1),d.eol=d.eol.replace(/\\\\r/,\"\\r\").replace(/\\\\n/,\"\\n\"),o=\"\";0<d.indent_size;)o+=d.indent_char,d.indent_size-=1;var g=0;if(i&&i.length){for(;\" \"===i.charAt(g)||\"\\t\"===i.charAt(g);)T+=i.charAt(g),g+=1;i=i.substring(g)}function x(t){var e=t.newlines;if(d.keep_array_indentation&&S(h.mode))for(var n=0;n<e;n+=1)K(0<n);else if(d.max_preserve_newlines&&e>d.max_preserve_newlines&&(e=d.max_preserve_newlines),d.preserve_newlines&&1<t.newlines){K();for(var i=1;i<e;i+=1)K(!0)}p[(l=t).type]()}function w(t){if(t=t!==undefined&&t,!c.just_added_newline())if(d.preserve_newlines&&l.wanted_newline||t)K(!1,!0);else if(d.wrap_line_length){c.current_line.get_character_count()+l.text.length+(c.space_before_token?1:0)>=d.wrap_line_length&&K(!1,!0)}}function K(t,e){if(!e&&\" \"!==h.last_text&&\",\"!==h.last_text&&\"=\"!==h.last_text&&\"TK_OPERATOR\"!==a)for(;h.mode===Z.Statement&&!h.if_block&&!h.do_block;)k();c.add_new_line(t)&&(h.multiline_frame=!0)}function R(){c.just_added_newline()&&(d.keep_array_indentation&&S(h.mode)&&l.wanted_newline?(c.current_line.push(l.whitespace_before),c.space_before_token=!1):c.set_indent(h.indentation_level)&&(h.line_indent_level=h.indentation_level))}function m(t){c.raw?c.add_raw_token(l):(d.comma_first&&\"TK_COMMA\"===a&&c.just_added_newline()&&\",\"===c.previous_line.last()&&(c.previous_line.pop(),R(),c.add_token(\",\"),c.space_before_token=!0),t=t||l.text,R(),c.add_token(t))}function b(){h.indentation_level+=1}function v(t){u=h?(e.push(h),h):E(null,t),h=E(u,t)}function S(t){return t===Z.ArrayLiteral}function A(t){return Y(t,[Z.Expression,Z.ForInitializer,Z.Conditional])}function k(){0<e.length&&(u=h,h=e.pop(),u.mode===Z.Statement&&c.remove_redundant_indentation(u))}function y(){return h.parent.mode===Z.ObjectLiteral&&h.mode===Z.Statement&&(\":\"===h.last_text&&0===h.ternary_depth||\"TK_RESERVED\"===a&&Y(h.last_text,[\"get\",\"set\"]))}function O(){return!!(\"TK_RESERVED\"===a&&Y(h.last_text,[\"const\",\"let\",\"const\"])&&\"TK_WORD\"===l.type||\"TK_RESERVED\"===a&&\"do\"===h.last_text||\"TK_RESERVED\"===a&&\"return\"===h.last_text&&!l.wanted_newline||\"TK_RESERVED\"===a&&\"else\"===h.last_text&&(\"TK_RESERVED\"!==l.type||\"if\"!==l.text)||\"TK_END_EXPR\"===a&&(u.mode===Z.ForInitializer||u.mode===Z.Conditional)||\"TK_WORD\"===a&&h.mode===Z.BlockStatement&&!h.in_case&&\"--\"!==l.text&&\"++\"!==l.text&&\"function\"!==_&&\"TK_WORD\"!==l.type&&\"TK_RESERVED\"!==l.type||h.mode===Z.ObjectLiteral&&(\":\"===h.last_text&&0===h.ternary_depth||\"TK_RESERVED\"===a&&Y(h.last_text,[\"get\",\"set\"])))&&(v(Z.Statement),b(),\"TK_RESERVED\"===a&&Y(h.last_text,[\"const\",\"let\",\"const\"])&&\"TK_WORD\"===l.type&&(h.declaration_statement=!0),y()||w(\"TK_RESERVED\"===l.type&&Y(l.text,[\"do\",\"for\",\"if\",\"while\"])),!0)}function N(t){return Y(t,[\"case\",\"return\",\"do\",\"if\",\"throw\",\"else\"])}function D(t){var e=r+(t||0);return e<0||e>=f.length?null:f[e]}function C(){(\"TK_RESERVED\"===l.type&&h.mode!==Z.ObjectLiteral&&Y(l.text,[\"set\",\"get\"])&&(l.type=\"TK_WORD\"),\"TK_RESERVED\"===l.type&&h.mode===Z.ObjectLiteral)&&(\":\"===D(1).text&&(l.type=\"TK_WORD\"));if(O()||!l.wanted_newline||A(h.mode)||\"TK_OPERATOR\"===a&&\"--\"!==h.last_text&&\"++\"!==h.last_text||\"TK_EQUALS\"===a||!d.preserve_newlines&&\"TK_RESERVED\"===a&&Y(h.last_text,[\"const\",\"let\",\"const\",\"set\",\"get\"])||K(),h.do_block&&!h.do_while){if(\"TK_RESERVED\"===l.type&&\"while\"===l.text)return c.space_before_token=!0,m(),c.space_before_token=!0,void(h.do_while=!0);K(),h.do_block=!1}if(h.if_block)if(h.else_block||\"TK_RESERVED\"!==l.type||\"else\"!==l.text){for(;h.mode===Z.Statement;)k();h.if_block=!1,h.else_block=!1}else h.else_block=!0;if(\"TK_RESERVED\"===l.type&&(\"case\"===l.text||\"default\"===l.text&&h.in_case_statement))return K(),(h.case_body||d.jslint_happy)&&(!function t(){0<h.indentation_level&&(!h.parent||h.indentation_level>h.parent.indentation_level)&&(h.indentation_level-=1)}(),h.case_body=!1),m(),h.in_case=!0,void(h.in_case_statement=!0);if(\"TK_RESERVED\"===l.type&&\"function\"===l.text&&((Y(h.last_text,[\"}\",\" \"])||c.just_added_newline()&&!Y(h.last_text,[\"[\",\"{\",\":\",\"=\",\",\"]))&&(c.just_added_blankline()||l.comments_before.length||(K(),K(!0))),\"TK_RESERVED\"===a||\"TK_WORD\"===a?\"TK_RESERVED\"===a&&Y(h.last_text,[\"get\",\"set\",\"new\",\"return\",\"export\",\"async\"])?c.space_before_token=!0:\"TK_RESERVED\"===a&&\"default\"===h.last_text&&\"export\"===_?c.space_before_token=!0:K():\"TK_OPERATOR\"===a||\"=\"===h.last_text?c.space_before_token=!0:(h.multiline_frame||!A(h.mode)&&!S(h.mode))&&K()),\"TK_COMMA\"!==a&&\"TK_START_EXPR\"!==a&&\"TK_EQUALS\"!==a&&\"TK_OPERATOR\"!==a||y()||w(),\"TK_RESERVED\"===l.type&&Y(l.text,[\"function\",\"get\",\"set\"]))return m(),void(h.last_word=l.text);(n=\"NONE\",\"TK_END_BLOCK\"===a?\"TK_RESERVED\"===l.type&&Y(l.text,[\"else\",\"catch\",\"finally\"])?\"expand\"===d.brace_style||\"end-expand\"===d.brace_style||\"none\"===d.brace_style&&l.wanted_newline?n=\"NEWLINE\":(n=\"SPACE\",c.space_before_token=!0):n=\"NEWLINE\":\"TK_SEMICOLON\"===a&&h.mode===Z.BlockStatement?n=\"NEWLINE\":\"TK_SEMICOLON\"===a&&A(h.mode)?n=\"SPACE\":\"TK_STRING\"===a?n=\"NEWLINE\":\"TK_RESERVED\"===a||\"TK_WORD\"===a||\"*\"===h.last_text&&\"function\"===_?n=\"SPACE\":\"TK_START_BLOCK\"===a?n=\"NEWLINE\":\"TK_END_EXPR\"===a&&(c.space_before_token=!0,n=\"NEWLINE\"),\"TK_RESERVED\"===l.type&&Y(l.text,s.line_starters)&&\")\"!==h.last_text&&(n=\"else\"===h.last_text||\"export\"===h.last_text?\"SPACE\":\"NEWLINE\"),\"TK_RESERVED\"===l.type&&Y(l.text,[\"else\",\"catch\",\"finally\"]))?\"TK_END_BLOCK\"!==a||\"expand\"===d.brace_style||\"end-expand\"===d.brace_style||\"none\"===d.brace_style&&l.wanted_newline?K():(c.trim(!0),\"}\"!==c.current_line.last()&&K(),c.space_before_token=!0):\"NEWLINE\"===n?\"TK_RESERVED\"===a&&N(h.last_text)?c.space_before_token=!0:\"TK_END_EXPR\"!==a?\"TK_START_EXPR\"===a&&\"TK_RESERVED\"===l.type&&Y(l.text,[\"const\",\"let\",\"const\"])||\":\"===h.last_text||(\"TK_RESERVED\"===l.type&&\"if\"===l.text&&\"else\"===h.last_text?c.space_before_token=!0:K()):\"TK_RESERVED\"===l.type&&Y(l.text,s.line_starters)&&\")\"!==h.last_text&&K():h.multiline_frame&&S(h.mode)&&\",\"===h.last_text&&\"}\"===_?K():\"SPACE\"===n&&(c.space_before_token=!0);m(),h.last_word=l.text,\"TK_RESERVED\"===l.type&&\"do\"===l.text&&(h.do_block=!0),\"TK_RESERVED\"===l.type&&\"if\"===l.text&&(h.if_block=!0)}a=\"TK_START_BLOCK\",_=\"\",(c=new q(o,T)).raw=d.test_output_raw,e=[],v(Z.BlockStatement),this.beautify=function(){var t,e;for(s=new tt(i,d,o),f=s.tokenize(),r=0;t=D();){for(var n=0;n<t.comments_before.length;n++)x(t.comments_before[n]);x(t),_=h.last_text,a=t.type,h.last_text=t.text,r+=1}return e=c.get_code(),d.end_with_newline&&(e+=\"\\n\"),\"\\n\"!=d.eol&&(e=e.replace(/[\\n]/g,d.eol)),e}}function s(e){var n=0,i=-1,r=[],s=!0;this.set_indent=function(t){n=e.baseIndentLength+t*e.indent_length,i=t},this.get_character_count=function(){return n},this.is_empty=function(){return s},this.last=function(){return this._empty?null:r[r.length-1]},this.push=function(t){r.push(t),n+=t.length,s=!1},this.pop=function(){var t=null;return s||(t=r.pop(),n-=t.length,s=0===r.length),t},this.remove_indent=function(){0<i&&(i-=1,n-=e.indent_length)},this.trim=function(){for(;\" \"===this.last();)r.pop(),n-=1;s=0===r.length},this.toString=function(){var t=\"\";return this._empty||(0<=i&&(t=e.indent_cache[i]),t+=r.join(\"\")),t}}function q(e,n){n=n||\"\",this.indent_cache=[n],this.baseIndentLength=n.length,this.indent_length=e.length,this.raw=!1;var i=[];this.baseIndentString=n,this.indent_string=e,this.previous_line=null,this.current_line=null,this.space_before_token=!1,this.add_outputline=function(){this.previous_line=this.current_line,this.current_line=new s(this),i.push(this.current_line)},this.add_outputline(),this.get_line_number=function(){return i.length},this.add_new_line=function(t){return(1!==this.get_line_number()||!this.just_added_newline())&&(!(!t&&this.just_added_newline())&&(this.raw||this.add_outputline(),!0))},this.get_code=function(){return i.join(\"\\n\").replace(/[\\r\\n\\t ]+$/,\"\")},this.set_indent=function(t){if(1<i.length){for(;t>=this.indent_cache.length;)this.indent_cache.push(this.indent_cache[this.indent_cache.length-1]+this.indent_string);return this.current_line.set_indent(t),!0}return this.current_line.set_indent(0),!1},this.add_raw_token=function(t){for(var e=0;e<t.newlines;e++)this.add_outputline();this.current_line.push(t.whitespace_before),this.current_line.push(t.text),this.space_before_token=!1},this.add_token=function(t){this.add_space_before_token(),this.current_line.push(t)},this.add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&this.current_line.push(\" \"),this.space_before_token=!1},this.remove_redundant_indentation=function(t){if(!t.multiline_frame&&t.mode!==Z.ForInitializer&&t.mode!==Z.Conditional)for(var e=t.start_line_index,n=i.length;e<n;)i[e].remove_indent(),e++},this.trim=function(t){for(t=t!==undefined&&t,this.current_line.trim(e,n);t&&1<i.length&&this.current_line.is_empty();)i.pop(),this.current_line=i[i.length-1],this.current_line.trim();this.previous_line=1<i.length?i[i.length-2]:null},this.just_added_newline=function(){return this.current_line.is_empty()},this.just_added_blankline=function(){return!!this.just_added_newline()&&(1===i.length||i[i.length-2].is_empty())}}var J=function J(t,e,n,i,r,s){this.type=t,this.text=e,this.comments_before=[],this.newlines=n||0,this.wanted_newline=0<n,this.whitespace_before=i||\"\",this.parent=null,this.directives=null};function tt(k,y,t){var O=\"\\n\\r\\t \".split(\"\"),N=/[0-9]/,D=/[01234567]/,C=/[0123456789abcdefABCDEF]/,L=\"+ - * / % & ++ -- = += -= *= /= %= == === != !== > < >= <= >> << >>> >>>= >>= <<= && &= | || ! ~ , : ? ^ ^= |= :: =>\".split(\" \");this.line_starters=\"continue,try,throw,return,const,let,const,if,switch,case,default,for,while,break,function,import,export\".split(\",\");var I,V,P,B,j,M,U=this.line_starters.concat([\"do\",\"in\",\"else\",\"get\",\"set\",\"new\",\"catch\",\"finally\",\"typeof\",\"yield\",\"async\",\"await\"]),W=/([\\s\\S]*?)((?:\\*\\/)|$)/g,z=/([^\\n\\r\\u2028\\u2029]*)/g,G=/\\/\\* beautify( \\w+[:]\\w+)+ \\*\\//g,X=/ (\\w+)[:](\\w+)/g,F=/([\\s\\S]*?)((?:\\/\\*\\sbeautify\\signore:end\\s\\*\\/)|$)/g,$=/((<\\?php|<\\?=)[\\s\\S]*?\\?>)|(<%[\\s\\S]*?%>)/g;function a(){var t,e,n=[];if(I=0,V=\"\",M<=j)return[\"\",\"TK_EOF\"];e=B.length?B[B.length-1]:new J(\"TK_START_BLOCK\",\"{\");var i=k.charAt(j);for(j+=1;Y(i,O);){if(Q.newline.test(i)?\"\\n\"===i&&\"\\r\"===k.charAt(j-2)||(I+=1,n=[]):n.push(i),M<=j)return[\"\",\"TK_EOF\"];i=k.charAt(j),j+=1}if(n.length&&(V=n.join(\"\")),N.test(i)){var r=!0,s=!0,a=N;for(\"0\"===i&&j<M&&/[Xxo]/.test(k.charAt(j))?(s=r=!1,i+=k.charAt(j),j+=1,a=/[o]/.test(k.charAt(j))?D:C):(i=\"\",j-=1);j<M&&a.test(k.charAt(j));)i+=k.charAt(j),j+=1,r&&j<M&&\".\"===k.charAt(j)&&(i+=k.charAt(j),j+=1,r=!1),s&&j<M&&/[Ee]/.test(k.charAt(j))&&(i+=k.charAt(j),(j+=1)<M&&/[+-]/.test(k.charAt(j))&&(i+=k.charAt(j),j+=1),r=s=!1);return[i,\"TK_WORD\"]}if(Q.isIdentifierStart(k.charCodeAt(j-1))){if(j<M)for(;Q.isIdentifierChar(k.charCodeAt(j))&&(i+=k.charAt(j),(j+=1)!==M););return\"TK_DOT\"===e.type||\"TK_RESERVED\"===e.type&&Y(e.text,[\"set\",\"get\"])||!Y(i,U)?[i,\"TK_WORD\"]:\"in\"===i?[i,\"TK_OPERATOR\"]:[i,\"TK_RESERVED\"]}if(\"(\"===i||\"[\"===i)return[i,\"TK_START_EXPR\"];if(\")\"===i||\"]\"===i)return[i,\"TK_END_EXPR\"];if(\"{\"===i)return[i,\"TK_START_BLOCK\"];if(\"}\"===i)return[i,\"TK_END_BLOCK\"];if(\" \"===i)return[i,\"TK_SEMICOLON\"];if(\"/\"===i){var _=\"\";if(\"*\"===k.charAt(j)){j+=1,W.lastIndex=j;var o=W.exec(k);_=\"/*\".concat(o[0]),j+=o[0].length;var c=function S(t){if(!t.match(G))return null;var e={};X.lastIndex=0;for(var n=X.exec(t);n;)e[n[1]]=n[2],n=X.exec(t);return e}(_);return c&&\"start\"===c.ignore&&(F.lastIndex=j,_+=(o=F.exec(k))[0],j+=o[0].length),[_=_.replace(Q.lineBreak,\"\\n\"),\"TK_BLOCK_COMMENT\",c]}if(\"/\"===k.charAt(j)){j+=1,z.lastIndex=j;var l=z.exec(k);return _=\"//\".concat(l[0]),j+=l[0].length,[_,\"TK_COMMENT\"]}}if(\"`\"===i||\"'\"===i||'\"'===i||(\"/\"===i||y.e4x&&\"<\"===i&&k.slice(j-1).match(/^<([-a-zA-Z:0-9_.]+|{[^{}]*}|!\\[CDATA\\[[\\s\\S]*?\\]\\])(\\s+[-a-zA-Z:0-9_.]+\\s*=\\s*('[^']*'|\"[^\"]*\"|{.*?}))*\\s*(\\/?)\\s*>/))&&(\"TK_RESERVED\"===e.type&&Y(e.text,[\"return\",\"case\",\"throw\",\"else\",\"do\",\"typeof\",\"yield\"])||\"TK_END_EXPR\"===e.type&&\")\"===e.text&&e.parent&&\"TK_RESERVED\"===e.parent.type&&Y(e.parent.text,[\"if\",\"while\",\"for\"])||Y(e.type,[\"TK_COMMENT\",\"TK_START_EXPR\",\"TK_START_BLOCK\",\"TK_END_BLOCK\",\"TK_OPERATOR\",\"TK_EQUALS\",\"TK_EOF\",\"TK_SEMICOLON\",\"TK_COMMA\"]))){var h=i,u=!1,p=!1;if(t=i,\"/\"===h)for(var d=!1;j<M&&(u||d||k.charAt(j)!==h)&&!Q.newline.test(k.charAt(j));)t+=k.charAt(j),u?u=!1:(u=\"\\\\\"===k.charAt(j),\"[\"===k.charAt(j)?d=!0:\"]\"===k.charAt(j)&&(d=!1)),j+=1;else if(y.e4x&&\"<\"===h){var f=/<(\\/?)([-a-zA-Z:0-9_.]+|{[^{}]*}|!\\[CDATA\\[[\\s\\S]*?\\]\\])(\\s+[-a-zA-Z:0-9_.]+\\s*=\\s*('[^']*'|\"[^\"]*\"|{.*?}))*\\s*(\\/?)\\s*>/g,T=k.slice(j-1),E=f.exec(T);if(E&&0===E.index){for(var g=E[2],x=0;E;){var w=!!E[1],K=E[2],R=!!E[E.length-1]||\"![CDATA[\"===K.slice(0,8);if(K!==g||R||(w?--x:++x),x<=0)break;E=f.exec(T)}var m=E?E.index+E[0].length:T.length;return T=T.slice(0,m),j+=m-1,[T=T.replace(Q.lineBreak,\"\\n\"),\"TK_STRING\"]}}else for(;j<M&&(u||k.charAt(j)!==h&&(\"`\"===h||!Q.newline.test(k.charAt(j))));)(u||\"`\"===h)&&Q.newline.test(k.charAt(j))?(\"\\r\"===k.charAt(j)&&\"\\n\"===k.charAt(j+1)&&(j+=1),t+=\"\\n\"):t+=k.charAt(j),u=u?(\"x\"!==k.charAt(j)&&\"u\"!==k.charAt(j)||(p=!0),!1):\"\\\\\"===k.charAt(j),j+=1;if(p&&y.unescape_strings&&(t=function A(t){var e,n=!1,i=\"\",r=0,s=\"\",a=0;for(;n||r<t.length;)if(e=t.charAt(r),r++,n){if(n=!1,\"x\"===e)s=t.substr(r,2),r+=2;else{if(\"u\"!==e){i+=\"\\\\\".concat(e);continue}s=t.substr(r,4),r+=4}if(!s.match(/^[0123456789abcdefABCDEF]+$/))return t;if(0<=(a=parseInt(s,16))&&a<32){i+=\"x\"===e?\"\\\\x\".concat(s):\"\\\\u\".concat(s);continue}if(34===a||39===a||92===a)i+=\"\\\\\".concat(String.fromCharCode(a));else{if(\"x\"===e&&126<a&&a<=255)return t;i+=String.fromCharCode(a)}}else\"\\\\\"===e?n=!0:i+=e;return i}(t)),j<M&&k.charAt(j)===h&&(t+=h,j+=1,\"/\"===h))for(;j<M&&Q.isIdentifierStart(k.charCodeAt(j));)t+=k.charAt(j),j+=1;return[t,\"TK_STRING\"]}if(\"#\"===i){if(0===B.length&&\"!\"===k.charAt(j)){for(t=i;j<M&&\"\\n\"!==i;)t+=i=k.charAt(j),j+=1;return[\"\".concat(H(t),\"\\n\"),\"TK_UNKNOWN\"]}var b=\"#\";if(j<M&&N.test(k.charAt(j))){for(;b+=i=k.charAt(j),(j+=1)<M&&\"#\"!==i&&\"=\"!==i;);return\"#\"===i||(\"[\"===k.charAt(j)&&\"]\"===k.charAt(j+1)?(b+=\"[]\",j+=2):\"{\"===k.charAt(j)&&\"}\"===k.charAt(j+1)&&(b+=\"{}\",j+=2)),[b,\"TK_WORD\"]}}if(\"<\"===i&&(\"?\"===k.charAt(j)||\"%\"===k.charAt(j))){$.lastIndex=j-1;var v=$.exec(k);if(v)return i=v[0],j+=i.length-1,[i=i.replace(Q.lineBreak,\"\\n\"),\"TK_STRING\"]}if(\"<\"===i&&\"\\x3c!--\"===k.substring(j-1,j+3)){for(j+=3,i=\"\\x3c!--\";!Q.newline.test(k.charAt(j))&&j<M;)i+=k.charAt(j),j++;return P=!0,[i,\"TK_COMMENT\"]}if(\"-\"===i&&P&&\"--\\x3e\"===k.substring(j-1,j+2))return P=!1,j+=2,[\"--\\x3e\",\"TK_COMMENT\"];if(\".\"===i)return[i,\"TK_DOT\"];if(Y(i,L)){for(;j<M&&Y(i+k.charAt(j),L)&&(i+=k.charAt(j),!(M<=(j+=1))););return\",\"===i?[i,\"TK_COMMA\"]:\"=\"===i?[i,\"TK_EQUALS\"]:[i,\"TK_OPERATOR\"]}return[i,\"TK_UNKNOWN\"]}this.tokenize=function(){var t,e,n;M=k.length,j=0,P=!1,B=[];for(var i=null,r=[],s=[];!e||\"TK_EOF\"!==e.type;){for(n=a(),t=new J(n[1],n[0],I,V);\"TK_COMMENT\"===t.type||\"TK_BLOCK_COMMENT\"===t.type||\"TK_UNKNOWN\"===t.type;)\"TK_BLOCK_COMMENT\"===t.type&&(t.directives=n[2]),s.push(t),n=a(),t=new J(n[1],n[0],I,V);s.length&&(t.comments_before=s,s=[]),\"TK_START_BLOCK\"===t.type||\"TK_START_EXPR\"===t.type?(t.parent=e,r.push(i),i=t):(\"TK_END_BLOCK\"===t.type||\"TK_END_EXPR\"===t.type)&&i&&(\"]\"===t.text&&\"[\"===i.text||\")\"===t.text&&\"(\"===i.text||\"}\"===t.text&&\"{\"===i.text)&&(t.parent=i.parent,i=r.pop()),B.push(t),e=t}return B}}return{run:function N(t,e){function a(t){return t.replace(/\\s+$/g,\"\")}var n,i,r,T,s,_,E,o,c,g,x,w,l,h;for((e=e||{}).wrap_line_length!==undefined&&0!==parseInt(e.wrap_line_length,10)||e.max_char===undefined||0===parseInt(e.max_char,10)||(e.wrap_line_length=e.max_char),i=e.indent_inner_html!==undefined&&e.indent_inner_html,r=e.indent_size===undefined?4:parseInt(e.indent_size,10),T=e.indent_char===undefined?\" \":e.indent_char,_=e.brace_style===undefined?\"collapse\":e.brace_style,s=0===parseInt(e.wrap_line_length,10)?32786:parseInt(e.wrap_line_length||250,10),E=e.unformatted||[\"a\",\"span\",\"img\",\"bdo\",\"em\",\"strong\",\"dfn\",\"code\",\"samp\",\"kbd\",\"const\",\"cite\",\"abbr\",\"acronym\",\"q\",\"sub\",\"sup\",\"tt\",\"i\",\"b\",\"big\",\"small\",\"u\",\"s\",\"strike\",\"font\",\"ins\",\"del\",\"address\",\"pre\"],o=e.preserve_newlines===undefined||e.preserve_newlines,c=o?isNaN(parseInt(e.max_preserve_newlines,10))?32786:parseInt(e.max_preserve_newlines,10):0,g=e.indent_handlebars!==undefined&&e.indent_handlebars,x=e.wrap_attributes===undefined?\"auto\":e.wrap_attributes,w=e.wrap_attributes_indent_size===undefined?r:parseInt(e.wrap_attributes_indent_size,10)||r,l=e.end_with_newline!==undefined&&e.end_with_newline,h=Array.isArray(e.extra_liners)?e.extra_liners.concat():\"string\"==typeof e.extra_liners?e.extra_liners.split(\",\"):\"head,body,/html\".split(\",\"),e.indent_with_tabs&&(T=\"\\t\",r=1),(n=new function k(){return this.pos=0,this.token=\"\",this.current_mode=\"CONTENT\",this.tags={parent:\"parent1\",parentcount:1,parent1:\"\"},this.tag_type=\"\",this.token_text=this.last_token=this.last_text=this.token_type=\"\",this.newlines=0,this.indent_content=i,this.Utils={whitespace:\"\\n\\r\\t \".split(\"\"),single_token:\"br,input,link,meta,source,!doctype,basefont,base,area,hr,wbr,param,img,isindex,embed\".split(\",\"),extra_liners:h,in_array:function(t,e){for(var n=0;n<e.length;n++)if(t===e[n])return!0;return!1}},this.is_whitespace=function(t){for(;0<t.length;t++)if(!this.Utils.in_array(t.charAt(0),this.Utils.whitespace))return!1;return!0},this.traverse_whitespace=function(){var t=\"\";if(t=this.input.charAt(this.pos),this.Utils.in_array(t,this.Utils.whitespace)){for(this.newlines=0;this.Utils.in_array(t,this.Utils.whitespace);)o&&\"\\n\"===t&&this.newlines<=c&&(this.newlines+=1),this.pos++,t=this.input.charAt(this.pos);return!0}return!1},this.space_or_wrap=function(t){this.line_char_count>=this.wrap_line_length?(this.print_newline(!1,t),this.print_indentation(t)):(this.line_char_count++,t.push(\" \"))},this.get_content=function(){for(var t=\"\",e=[];\"<\"!=this.input.charAt(this.pos);){if(this.pos>=this.input.length)return e.length?e.join(\"\"):[\"\",\"TK_EOF\"];if(this.traverse_whitespace())this.space_or_wrap(e);else{if(g){var n=this.input.substr(this.pos,3);if(\"{{#\"===n||\"{{/\"===n)break;if(\"{{!\"===n)return[this.get_tag(),\"TK_TAG_HANDLEBARS_COMMENT\"];if(\"{{\"===this.input.substr(this.pos,2)&&\"{{else}}\"===this.get_tag(!0))break}t=this.input.charAt(this.pos),this.pos++,this.line_char_count++,e.push(t)}}return e.length?e.join(\"\"):\"\"},this.get_contents_to=function(t){if(this.pos===this.input.length)return[\"\",\"TK_EOF\"];var e=\"\",n=new RegExp(\"</\".concat(t,\"\\\\s*>\"),\"igm\");n.lastIndex=this.pos;var i=n.exec(this.input),r=i?i.index:this.input.length;return this.pos<r&&(e=this.input.substring(this.pos,r),this.pos=r),e},this.record_tag=function(t){this.tags[\"\".concat(t,\"count\")]?this.tags[\"\".concat(t,\"count\")]++:this.tags[\"\".concat(t,\"count\")]=1,this.tags[t+this.tags[\"\".concat(t,\"count\")]]=this.indent_level,this.tags[t+this.tags[\"\".concat(t,\"count\")]+\"parent\"]=this.tags.parent,this.tags.parent=t+this.tags[\"\".concat(t,\"count\")]},this.retrieve_tag=function(t){if(this.tags[\"\".concat(t,\"count\")]){for(var e=this.tags.parent;e&&t+this.tags[\"\".concat(t,\"count\")]!==e;)e=this.tags[\"\".concat(e,\"parent\")];e&&(this.indent_level=this.tags[t+this.tags[\"\".concat(t,\"count\")]],this.tags.parent=this.tags[e+\"parent\"]),delete this.tags[t+this.tags[\"\".concat(t,\"count\")]+\"parent\"],delete this.tags[t+this.tags[\"\".concat(t,\"count\")]],1===this.tags[\"\".concat(t,\"count\")]?delete this.tags[\"\".concat(t,\"count\")]:this.tags[\"\".concat(t,\"count\")]--}},this.indent_to_tag=function(t){if(this.tags[\"\".concat(t,\"count\")]){for(var e=this.tags.parent;e&&t+this.tags[\"\".concat(t,\"count\")]!==e;)e=this.tags[\"\".concat(e,\"parent\")];e&&(this.indent_level=this.tags[t+this.tags[\"\".concat(t,\"count\")]])}},this.get_tag=function(t){var e,n,i=\"\",r=[],s=\"\",a=!1,_=!0,o=this.pos,c=this.line_char_count;t=t!==undefined&&t;do{if(this.pos>=this.input.length)return t&&(this.pos=o,this.line_char_count=c),r.length?r.join(\"\"):[\"\",\"TK_EOF\"];if(i=this.input.charAt(this.pos),this.pos++,this.Utils.in_array(i,this.Utils.whitespace))a=!0;else{if(\"'\"!==i&&'\"'!==i||(i+=this.get_unformatted(i),a=!0),\"=\"===i&&(a=!1),r.length&&\"=\"!=r[r.length-1]&&\">\"!=i&&a){if(this.space_or_wrap(r),a=!1,!_&&\"force\"===x&&\"/\"!=i){this.print_newline(!0,r),this.print_indentation(r);for(var l=0;l<w;l++)r.push(T)}for(var h=0;h<r.length;h++)if(\" \"===r[h]){_=!1;break}}if(g&&\"<\"===n&&i+this.input.charAt(this.pos)===\"{{\"&&(i+=this.get_unformatted(\"}}\"),r.length&&\" \"!=r[r.length-1]&&\"<\"!=r[r.length-1]&&(i=\" \".concat(i)),a=!0),\"<\"!==i||n||(e=this.pos-1,n=\"<\"),g&&!n&&2<=r.length&&\"{\"===r[r.length-1]&&\"{\"===r[r.length-2]&&(e=\"#\"===i||\"/\"===i||\"!\"===i?this.pos-3:this.pos-2,n=\"{\"),this.line_char_count++,r.push(i),r[1]&&(\"!\"===r[1]||\"?\"===r[1]||\"%\"===r[1])){r=[this.get_comment(e)];break}if(g&&r[1]&&\"{\"===r[1]&&r[2]&&\"!\"===r[2]){r=[this.get_comment(e)];break}if(g&&\"{\"===n&&2<r.length&&\"}\"===r[r.length-2]&&\"}\"===r[r.length-1])break}}while(\">\"!=i);var u,p,d=r.join(\"\");u=-1!=d.indexOf(\" \")?d.indexOf(\" \"):\"{\"===d[0]?d.indexOf(\"}\"):d.indexOf(\">\"),p=\"<\"!==d[0]&&g?\"#\"===d[2]?3:2:1;var f=d.substring(p,u).toLowerCase();return\"/\"===d.charAt(d.length-2)||this.Utils.in_array(f,this.Utils.single_token)?t||(this.tag_type=\"SINGLE\"):g&&\"{\"===d[0]&&\"else\"===f?t||(this.indent_to_tag(\"if\"),this.tag_type=\"HANDLEBARS_ELSE\",this.indent_content=!0,this.traverse_whitespace()):this.is_unformatted(f,E)?(s=this.get_unformatted(\"</\".concat(f,\">\"),d),r.push(s),this.pos,this.tag_type=\"SINGLE\"):\"script\"===f&&(-1===d.search(\"type\")||-1<d.search(\"type\")&&-1<d.search(/\\b(text|application)\\/(x-)?(javascript|ecmascript|jscript|livescript)/))?t||(this.record_tag(f),this.tag_type=\"SCRIPT\"):\"style\"===f&&(-1===d.search(\"type\")||-1<d.search(\"type\")&&-1<d.search(\"text/css\"))?t||(this.record_tag(f),this.tag_type=\"STYLE\"):\"!\"===f.charAt(0)?t||(this.tag_type=\"SINGLE\",this.traverse_whitespace()):t||(\"/\"===f.charAt(0)?(this.retrieve_tag(f.substring(1)),this.tag_type=\"END\"):(this.record_tag(f),\"html\"!=f.toLowerCase()&&(this.indent_content=!0),this.tag_type=\"START\"),this.traverse_whitespace()&&this.space_or_wrap(r),this.Utils.in_array(f,this.Utils.extra_liners)&&(this.print_newline(!1,this.output),this.output.length&&\"\\n\"!=this.output[this.output.length-2]&&this.print_newline(!0,this.output))),t&&(this.pos=o,this.line_char_count=c),r.join(\"\")},this.get_comment=function(t){var e=\"\",n=\">\",i=!1;this.pos=t;var r=this.input.charAt(this.pos);for(this.pos++;this.pos<=this.input.length&&((e+=r)[e.length-1]!==n[n.length-1]||-1==e.indexOf(n));)!i&&e.length<10&&(0===e.indexOf(\"<![if\")?(n=\"<![endif]>\",i=!0):0===e.indexOf(\"<![cdata[\")?(n=\"]]>\",i=!0):0===e.indexOf(\"<![\")?(n=\"]>\",i=!0):0===e.indexOf(\"\\x3c!--\")?(n=\"--\\x3e\",i=!0):0===e.indexOf(\"{{!\")?(n=\"}}\",i=!0):0===e.indexOf(\"<?\")?(n=\"?>\",i=!0):0===e.indexOf(\"<%\")&&(n=\"%>\",i=!0)),r=this.input.charAt(this.pos),this.pos++;return e},this.get_unformatted=function(t,e){if(e&&-1!=e.toLowerCase().indexOf(t))return\"\";var n=\"\",i=\"\",r=0,s=!0;do{if(this.pos>=this.input.length)return i;if(n=this.input.charAt(this.pos),this.pos++,this.Utils.in_array(n,this.Utils.whitespace)){if(!s){this.line_char_count--;continue}if(\"\\n\"===n||\"\\r\"===n){i+=\"\\n\",this.line_char_count=0;continue}}i+=n,this.line_char_count++,s=!0,g&&\"{\"===n&&i.length&&\"{\"===i[i.length-2]&&(r=(i+=this.get_unformatted(\"}}\")).length)}while(-1===i.toLowerCase().indexOf(t,r));return i},this.get_token=function(){var t;if(\"TK_TAG_SCRIPT\"!==this.last_token&&\"TK_TAG_STYLE\"!==this.last_token)return\"CONTENT\"===this.current_mode?\"string\"!=typeof(t=this.get_content())?t:[t,\"TK_CONTENT\"]:\"TAG\"===this.current_mode?\"string\"!=typeof(t=this.get_tag())?t:[t,\"TK_TAG_\".concat(this.tag_type)]:void 0;var e=this.last_token.substr(7);return\"string\"!=typeof(t=this.get_contents_to(e))?t:[t,\"TK_\".concat(e)]},this.get_full_indent=function(t){return(t=this.indent_level+t||0)<1?\"\":new Array(t+1).join(this.indent_string)},this.is_unformatted=function(t,e){if(!this.Utils.in_array(t,e))return!1;if(\"a\"!=t.toLowerCase()||!this.Utils.in_array(\"a\",e))return!0;var n=(this.get_tag(!0)||\"\").match(/^\\s*<\\s*\\/?([a-z]*)\\s*[^>]*>\\s*$/);return!(n&&!this.Utils.in_array(n,e))},this.printer=function(t,e,n,i,r){this.input=t||\"\",this.output=[],this.indent_character=e,this.indent_string=\"\",this.indent_size=n,this.brace_style=r,this.indent_level=0,this.wrap_line_length=i;for(var s=this.line_char_count=0;s<this.indent_size;s++)this.indent_string+=this.indent_character;this.print_newline=function(t,e){this.line_char_count=0,e&&e.length&&(t||\"\\n\"!=e[e.length-1])&&(\"\\n\"!=e[e.length-1]&&(e[e.length-1]=a(e[e.length-1])),e.push(\"\\n\"))},this.print_indentation=function(t){for(var e=0;e<this.indent_level;e++)t.push(this.indent_string),this.line_char_count+=this.indent_string.length},this.print_token=function(t){this.is_whitespace(t)&&!this.output.length||((t||\"\"!==t)&&this.output.length&&\"\\n\"===this.output[this.output.length-1]&&(this.print_indentation(this.output),t=function e(t){return t.replace(/^\\s+/g,\"\")}(t)),this.print_token_raw(t))},this.print_token_raw=function(t){0<this.newlines&&(t=a(t)),t&&\"\"!==t&&(1<t.length&&\"\\n\"===t[t.length-1]?(this.output.push(t.slice(0,-1)),this.print_newline(!1,this.output)):this.output.push(t));for(var e=0;e<this.newlines;e++)this.print_newline(0<e,this.output);this.newlines=0},this.indent=function(){this.indent_level++},this.unindent=function(){0<this.indent_level&&this.indent_level--}},this}).printer(t,T,r,s,_);;){var u=n.get_token();if(n.token_text=u[0],n.token_type=u[1],\"TK_EOF\"===n.token_type)break;switch(n.token_type){case\"TK_TAG_START\":n.print_newline(!1,n.output),n.print_token(n.token_text),n.indent_content&&(n.indent(),n.indent_content=!1),n.current_mode=\"CONTENT\";break;case\"TK_TAG_STYLE\":case\"TK_TAG_SCRIPT\":n.print_newline(!1,n.output),n.print_token(n.token_text),n.current_mode=\"CONTENT\";break;case\"TK_TAG_END\":if(\"TK_CONTENT\"===n.last_token&&\"\"===n.last_text){var p=n.token_text.match(/\\w+/)[0],d=null;n.output.length&&(d=n.output[n.output.length-1].match(/(?:<|{{#)\\/?\\s*(\\w+)/)),(null===d||d[1]!=p&&!n.Utils.in_array(d[1],E))&&n.print_newline(!1,n.output)}n.print_token(n.token_text),n.current_mode=\"CONTENT\";break;case\"TK_TAG_SINGLE\":var f=n.token_text.match(/^\\s*<([a-z-]+)/i);f&&n.Utils.in_array(f[1],E)||n.print_newline(!1,n.output),n.print_token(n.token_text),n.current_mode=\"CONTENT\";break;case\"TK_TAG_HANDLEBARS_ELSE\":n.print_token(n.token_text),n.indent_content&&(n.indent(),n.indent_content=!1),n.current_mode=\"CONTENT\";break;case\"TK_TAG_HANDLEBARS_COMMENT\":case\"TK_CONTENT\":n.print_token(n.token_text),n.current_mode=\"TAG\";break;case\"TK_STYLE\":case\"TK_SCRIPT\":if(\"\"!==n.token_text){n.print_newline(!1,n.output);var K=n.token_text,R=void 0,m=1;\"TK_SCRIPT\"===n.token_type?R=O:\"TK_STYLE\"===n.token_type&&(R=y),\"keep\"===e.indent_scripts?m=0:\"separate\"===e.indent_scripts&&(m=-n.indent_level);var b=n.get_full_indent(m);if(R)K=R(K.replace(/^\\s*/,b),e);else{var v=K.match(/^\\s*/)[0].match(/[^\\n\\r]*$/)[0].split(n.indent_string).length-1,S=n.get_full_indent(m-v);K=K.replace(/^\\s*/,b).replace(/\\r\\n|\\r|\\n/g,\"\\n\"+S).replace(/\\s+$/,\"\")}K&&(n.print_token_raw(K),n.print_newline(!0,n.output))}n.current_mode=\"TAG\";break;default:\"\"!==n.token_text&&n.print_token(n.token_text)}n.last_token=n.token_type,n.last_text=n.token_text}var A=n.output.join(\"\").replace(/[\\r\\n\\t ]+$/,\"\");return l&&(A+=\"\\n\"),A}}}});","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?t(require(\"froala-editor\")):\"function\"==typeof define&&define.amd?define([\"froala-editor\"],t):t(e.FroalaEditor)}(this,function(e){\"use strict\";e=e&&e.hasOwnProperty(\"default\")?e[\"default\"]:e,Object.assign(e.DEFAULTS,{codeMirror:window.CodeMirror,codeMirrorOptions:{lineNumbers:!0,tabMode:\"indent\",indentWithTabs:!0,lineWrapping:!0,mode:\"text/html\",tabSize:2},codeBeautifierOptions:{end_with_newline:!0,indent_inner_html:!0,extra_liners:[\"p\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"blockquote\",\"pre\",\"ul\",\"ol\",\"table\",\"dl\"],brace_style:\"expand\",indent_char:\"\\t\",indent_size:1,wrap_line_length:0},codeViewKeepActiveButtons:[\"fullscreen\"]}),e.PLUGINS.codeView=function(c){var d,f,h=c.$,p=function p(){return c.$box.hasClass(\"fr-code-view\")};function u(){return f?f.getValue():d.val()}function g(){p()&&(f&&f.setSize(null,c.opts.height?c.opts.height:\"auto\"),c.opts.heightMin||c.opts.height?(c.$box.find(\".CodeMirror-scroll, .CodeMirror-gutters\").css(\"min-height\",c.opts.heightMin||c.opts.height),d.css(\"height\",c.opts.height)):c.$box.find(\".CodeMirror-scroll, .CodeMirror-gutters\").css(\"min-height\",\"\"))}var m,b=!1;function v(){p()&&c.events.trigger(\"blur\")}function w(){p()&&b&&c.events.trigger(\"focus\")}function o(e){d||(!function l(){d=h('<textarea class=\"fr-code\" tabIndex=\"-1\">'),c.$wp.append(d),d.attr(\"dir\",c.opts.direction),c.$box.hasClass(\"fr-basic\")||(m=h('<a data-cmd=\"html\" title=\"Code View\" class=\"fr-command fr-btn html-switch'.concat(c.helpers.isMobile()?\"\":\" fr-desktop\",'\" role=\"button\" tabIndex=\"-1\"><i class=\"fa fa-code\"></i></button>')),c.$box.append(m),c.events.bindClick(c.$box,\"a.html-switch\",function(){c.events.trigger(\"commands.before\",[\"html\"]),M(!1),c.events.trigger(\"commands.after\",[\"html\"])}));var e=function e(){return!p()};c.events.on(\"buttons.refresh\",e),c.events.on(\"copy\",e,!0),c.events.on(\"cut\",e,!0),c.events.on(\"paste\",e,!0),c.events.on(\"destroy\",x,!0),c.events.on(\"html.set\",function(){p()&&M(!0)}),c.events.on(\"codeView.update\",g),c.events.on(\"codeView.toggle\",function(){c.$box.hasClass(\"fr-code-view\")&&M()}),c.events.on(\"form.submit\",function(){p()&&(c.html.set(u()),c.events.trigger(\"contentChanged\",[],!0))},!0)}(),!f&&c.opts.codeMirror?((f=c.opts.codeMirror.fromTextArea(d.get(0),c.opts.codeMirrorOptions)).on(\"blur\",v),f.on(\"focus\",w)):(c.events.$on(d,\"keydown keyup change input\",function(){c.opts.height?this.removeAttribute(\"rows\"):(this.rows=1,0===this.value.length?this.style.height=\"auto\":this.style.height=\"\".concat(this.scrollHeight,\"px\"))}),c.events.$on(d,\"blur\",v),c.events.$on(d,\"focus\",w))),c.undo.saveStep(),c.html.cleanEmptyTags(),c.html.cleanWhiteTags(!0),c.core.hasFocus()&&(c.core.isEmpty()||(c.selection.save(),c.$el.find('.fr-marker[data-type=\"true\"]').first().replaceWith('<span class=\"fr-tmp fr-sm\">F</span>'),c.$el.find('.fr-marker[data-type=\"false\"]').last().replaceWith('<span class=\"fr-tmp fr-em\">F</span>')));var t=c.html.get(!1,!0);c.$el.find(\"span.fr-tmp\").remove(),c.$box.toggleClass(\"fr-code-view\",!0);var r,o,n=!1;if(c.core.hasFocus()&&(n=!0,c.events.disableBlur(),c.$el.blur()),t=(t=t.replace(/<span class=\"fr-tmp fr-sm\">F<\\/span>/,\"FROALA-SM\")).replace(/<span class=\"fr-tmp fr-em\">F<\\/span>/,\"FROALA-EM\"),c.codeBeautifier&&!t.includes(\"fr-embedly\")&&(t=c.codeBeautifier.run(t,c.opts.codeBeautifierOptions)),f){r=t.indexOf(\"FROALA-SM\"),(o=t.indexOf(\"FROALA-EM\"))<r?r=o:o-=9;var s=(t=t.replace(/FROALA-SM/g,\"\").replace(/FROALA-EM/g,\"\")).substring(0,r).length-t.substring(0,r).replace(/\\n/g,\"\").length,i=t.substring(0,o).length-t.substring(0,o).replace(/\\n/g,\"\").length;r=t.substring(0,r).length-t.substring(0,t.substring(0,r).lastIndexOf(\"\\n\")+1).length,o=t.substring(0,o).length-t.substring(0,t.substring(0,o).lastIndexOf(\"\\n\")+1).length,f.setSize(null,c.opts.height?c.opts.height:\"auto\"),c.opts.heightMin&&c.$box.find(\".CodeMirror-scroll\").css(\"min-height\",c.opts.heightMin),f.setValue(t),b=!n,f.focus(),b=!0,f.setSelection({line:s,ch:r},{line:i,ch:o}),f.refresh(),f.clearHistory()}else{r=t.indexOf(\"FROALA-SM\"),o=t.indexOf(\"FROALA-EM\")-9,c.opts.heightMin&&d.css(\"min-height\",c.opts.heightMin),c.opts.height&&d.css(\"height\",c.opts.height),c.opts.heightMax&&d.css(\"max-height\",c.opts.height||c.opts.heightMax),d.val(t.replace(/FROALA-SM/g,\"\").replace(/FROALA-EM/g,\"\")).trigger(\"change\");var a=h(c.o_doc).scrollTop();b=!n,d.focus(),b=!0,d.get(0).setSelectionRange(r,o),h(c.o_doc).scrollTop(a)}c.$tb.find(\".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command, .fr-btn-grp > .fr-btn-wrap > .fr-command, .fr-more-toolbar > .fr-btn-wrap > .fr-command\").not(e).filter(function(){return c.opts.codeViewKeepActiveButtons.indexOf(h(this).data(\"cmd\"))<0}).addClass(\"fr-disabled\").attr(\"aria-disabled\",!0),e.addClass(\"fr-active\").attr(\"aria-pressed\",!0),!c.helpers.isMobile()&&c.opts.toolbarInline&&c.toolbar.hide()}function M(e){void 0===e&&(e=!p());var t=c.$tb.find('.fr-command[data-cmd=\"html\"]');e?(c.popups.hideAll(),o(t)):(c.$box.toggleClass(\"fr-code-view\",!1),function r(e){var t=u();c.html.set(t),c.$el.blur(),c.$tb.find(\".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command, .fr-btn-grp > .fr-btn-wrap > .fr-command, .fr-more-toolbar > .fr-btn-wrap > .fr-command\").not(e).removeClass(\"fr-disabled\").attr(\"aria-disabled\",!1),e.removeClass(\"fr-active\").attr(\"aria-pressed\",!1),c.selection.setAtStart(c.el),c.selection.restore(),c.placeholder.refresh(),c.undo.saveStep()}(t),c.events.trigger(\"codeView.update\"))}function x(){p()&&M(!1),f&&f.toTextArea(),d.val(\"\").removeData().remove(),d=null,m&&(m.remove(),m=null)}return{_init:function e(){if(c.events.on(\"focus\",function(){c.opts.toolbarContainer&&function t(){var e=c.$tb.find('.fr-command[data-cmd=\"html\"]');p()?(c.$tb.find(\".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command\").not(e).filter(function(){return c.opts.codeViewKeepActiveButtons.indexOf(h(this).data(\"cmd\"))<0}).addClass(\"fr-disabled\").attr(\"aria-disabled\",!1),e.addClass(\"fr-active\").attr(\"aria-pressed\",!1)):(c.$tb.find(\".fr-btn-grp > .fr-command, .fr-more-toolbar > .fr-command\").not(e).removeClass(\"fr-disabled\").attr(\"aria-disabled\",!1),e.removeClass(\"fr-active\").attr(\"aria-pressed\",!1))}()}),!c.$wp)return!1},toggle:M,isActive:p,get:u}},e.RegisterCommand(\"html\",{title:\"Code View\",undo:!1,focus:!1,forcedRefresh:!0,toggle:!0,callback:function(){this.codeView.toggle()},plugin:\"codeView\"}),e.DefineIcon(\"html\",{NAME:\"code\",SVG_KEY:\"codeView\"})});","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n!function(o,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?t(require(\"froala-editor\")):\"function\"==typeof define&&define.amd?define([\"froala-editor\"],t):t(o.FroalaEditor)}(this,function(k){\"use strict\";k=k&&k.hasOwnProperty(\"default\")?k[\"default\"]:k,Object.assign(k.POPUP_TEMPLATES,{\"textColor.picker\":\"[_BUTTONS_][_TEXT_COLORS_][_CUSTOM_COLOR_]\",\"backgroundColor.picker\":\"[_BUTTONS_][_BACKGROUND_COLORS_][_CUSTOM_COLOR_]\"}),Object.assign(k.DEFAULTS,{colorsText:[\"#61BD6D\",\"#1ABC9C\",\"#54ACD2\",\"#2C82C9\",\"#9365B8\",\"#475577\",\"#CCCCCC\",\"#41A85F\",\"#00A885\",\"#3D8EB9\",\"#2969B0\",\"#553982\",\"#28324E\",\"#000000\",\"#F7DA64\",\"#FBA026\",\"#EB6B56\",\"#E25041\",\"#A38F84\",\"#EFEFEF\",\"#FFFFFF\",\"#FAC51C\",\"#F37934\",\"#D14841\",\"#B8312F\",\"#7C706B\",\"#D1D5D8\",\"REMOVE\"],colorsBackground:[\"#61BD6D\",\"#1ABC9C\",\"#54ACD2\",\"#2C82C9\",\"#9365B8\",\"#475577\",\"#CCCCCC\",\"#41A85F\",\"#00A885\",\"#3D8EB9\",\"#2969B0\",\"#553982\",\"#28324E\",\"#000000\",\"#F7DA64\",\"#FBA026\",\"#EB6B56\",\"#E25041\",\"#A38F84\",\"#EFEFEF\",\"#FFFFFF\",\"#FAC51C\",\"#F37934\",\"#D14841\",\"#B8312F\",\"#7C706B\",\"#D1D5D8\",\"REMOVE\"],colorsStep:7,colorsHEXInput:!0,colorsButtons:[\"colorsBack\",\"|\",\"-\"]}),k.PLUGINS.colors=function(g){var E=g.$,l='<div class=\"fr-color-hex-layer fr-active fr-layer\" id=\"fr-color-hex-layer- \\n  '.concat(g.id,'\"><div class=\"fr-input-line\"><input maxlength=\"7\" id=\"[ID]\"\\n  type=\"text\" placeholder=\"').concat(g.language.translate(\"HEX Color\"),'\" \\n  tabIndex=\"1\" aria-required=\"true\"></div><div class=\"fr-action-buttons\"><button \\n  type=\"button\" class=\"fr-command fr-submit\" data-cmd=\"[COMMAND]\" tabIndex=\"2\" role=\"button\">\\n  ').concat(g.language.translate(\"OK\"),\"</button></div></div>\");function s(o){for(var t=\"text\"===o?g.opts.colorsText:g.opts.colorsBackground,r='<div class=\"fr-color-set fr-'.concat(o,'-color fr-selected-set\">'),e=0;e<t.length;e++)0!==e&&e%g.opts.colorsStep==0&&(r+=\"<br>\"),\"REMOVE\"!==t[e]?r+='<span class=\"fr-command fr-select-color\" style=\"background:'.concat(t[e],';\" \\n        tabIndex=\"-1\" aria-selected=\"false\" role=\"button\" data-cmd=\"apply').concat(o,'Color\" \\n        data-param1=\"').concat(t[e],'\"><span class=\"fr-sr-only\"> ').concat(g.language.translate(\"Color\")).concat(t[e],\" \\n        &nbsp;&nbsp;&nbsp;</span></span>\"):r+='<span class=\"fr-command fr-select-color\" data-cmd=\"apply'.concat(o,'Color\"\\n         tabIndex=\"-1\" role=\"button\" data-param1=\"REMOVE\" \\n         title=\"').concat(g.language.translate(\"Clear Formatting\"),'\">').concat(g.icon.create(\"remove\"),' \\n        <span class=\"fr-sr-only\"> ').concat(g.language.translate(\"Clear Formatting\"),\" </span></span>\");return\"\".concat(r,\"</div>\")}function i(o){var t,r=g.popups.get(\"\".concat(o,\"Color.picker\")),e=E(g.selection.element());t=\"background\"===o?\"background-color\":\"color\";var c=r.find(\".fr-\".concat(o,\"-color .fr-select-color\"));for(c.find(\".fr-selected-color\").remove(),c.removeClass(\"fr-active-item\"),c.not('[data-param1=\"REMOVE\"]').attr(\"aria-selected\",!1);e.get(0)!==g.el;){if(\"transparent\"!==e.css(t)&&\"rgba(0, 0, 0, 0)\"!==e.css(t)){var a=r.find(\".fr-\".concat(o,'-color .fr-select-color[data-param1=\"').concat(g.helpers.RGBToHex(e.css(t)),'\"]'));a.append('<span class=\"fr-selected-color\" aria-hidden=\"true\">\\uf00c</span>'),a.addClass(\"fr-active-item\").attr(\"aria-selected\",!0);break}e=e.parent()}!function n(o){var t=g.popups.get(\"\".concat(o,\"Color.picker\")),r=t.find(\".fr-\".concat(o,\"-color .fr-active-item\")).attr(\"data-param1\"),e=t.find(\".fr-color-hex-layer input\");r||(r=\"\");e.length&&E(e.val(r).input).trigger(\"change\")}(o)}function e(o){\"REMOVE\"!==o?g.format.applyStyle(\"background-color\",g.helpers.HEXtoRGB(o)):g.format.removeStyle(\"background-color\"),g.popups.hide(\"backgroundColor.picker\")}function c(o){\"REMOVE\"!==o?g.format.applyStyle(\"color\",g.helpers.HEXtoRGB(o)):g.format.removeStyle(\"color\"),g.popups.hide(\"textColor.picker\")}return{showColorsPopup:function p(o){var t=g.$tb.find('.fr-command[data-cmd=\"'.concat(o,'\"]')),r=g.popups.get(\"\".concat(o,\".picker\"));if(r||(r=function n(o){var t=\"\";g.opts.toolbarInline&&0<g.opts.colorsButtons.length&&(t+='<div class=\"fr-buttons fr-colors-buttons fr-tabs\">\\n        '.concat(g.button.buildList(g.opts.colorsButtons),\"\\n        </div>\"));var r,e=\"\";r=\"textColor\"===o?(g.opts.colorsHEXInput&&(e=l.replace(/\\[ID\\]/g,\"fr-color-hex-layer-text-\".concat(g.id)).replace(/\\[COMMAND\\]/g,\"customTextColor\")),{buttons:t,text_colors:s(\"text\"),custom_color:e}):(g.opts.colorsHEXInput&&(e=l.replace(/\\[ID\\]/g,\"fr-color-hex-layer-background-\".concat(g.id)).replace(/\\[COMMAND\\]/g,\"customBackgroundColor\")),{buttons:t,background_colors:s(\"background\"),custom_color:e});var c=g.popups.create(\"\".concat(o,\".picker\"),r);return function a(C,b){g.events.on(\"popup.tab\",function(o){var t=E(o.currentTarget);if(!g.popups.isVisible(b)||!t.is(\"span\"))return!0;var r=o.which,e=!0;if(k.KEYCODE.TAB===r){var c=C.find(\".fr-buttons\");e=!g.accessibility.focusToolbar(c,!!o.shiftKey)}else if(k.KEYCODE.ARROW_UP===r||k.KEYCODE.ARROW_DOWN===r||k.KEYCODE.ARROW_LEFT===r||k.KEYCODE.ARROW_RIGHT===r){if(t.is(\"span.fr-select-color\")){var a=t.parent().find(\"span.fr-select-color\"),n=a.index(t),l=g.opts.colorsStep,s=Math.floor(a.length/l),i=n%l,p=Math.floor(n/l),u=p*l+i,d=s*l;k.KEYCODE.ARROW_UP===r?u=((u-l)%d+d)%d:k.KEYCODE.ARROW_DOWN===r?u=(u+l)%d:k.KEYCODE.ARROW_LEFT===r?u=((u-1)%d+d)%d:k.KEYCODE.ARROW_RIGHT===r&&(u=(u+1)%d);var f=E(a.get(u));g.events.disableBlur(),f.focus(),e=!1}}else k.KEYCODE.ENTER===r&&(g.button.exec(t),e=!1);return!1===e&&(o.preventDefault(),o.stopPropagation()),e},!0)}(c,\"\".concat(o,\".picker\")),c}(o)),!r.hasClass(\"fr-active\"))if(g.popups.setContainer(\"\".concat(o,\".picker\"),g.$tb),i(\"textColor\"===o?\"text\":\"background\"),t.isVisible()){var e=g.button.getPosition(t),c=e.left,a=e.top;g.popups.show(\"\".concat(o,\".picker\"),c,a,t.outerHeight())}else g.position.forSelection(r),g.popups.show(\"\".concat(o,\".picker\"))},background:e,customColor:function a(o){var t=g.popups.get(\"\".concat(o,\"Color.picker\")).find(\".fr-color-hex-layer input\");if(t.length){var r=t.val();\"background\"===o?e(r):c(r)}},text:c,back:function o(){g.popups.hide(\"textColor.picker\"),g.popups.hide(\"backgroundColor.picker\"),g.toolbar.showInline()}}},k.DefineIcon(\"textColor\",{NAME:\"tint\",SVG_KEY:\"textColor\"}),k.RegisterCommand(\"textColor\",{title:\"Text Color\",undo:!1,focus:!0,refreshOnCallback:!1,popup:!0,callback:function(){this.popups.isVisible(\"textColor.picker\")?(this.$el.find(\".fr-marker\").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide(\"textColor.picker\")):this.colors.showColorsPopup(\"textColor\")}}),k.RegisterCommand(\"applytextColor\",{undo:!0,callback:function(o,t){this.colors.text(t)}}),k.RegisterCommand(\"customTextColor\",{title:\"OK\",undo:!0,callback:function(){this.colors.customColor(\"text\")}}),k.DefineIcon(\"backgroundColor\",{NAME:\"paint-brush\",SVG_KEY:\"backgroundColor\"}),k.RegisterCommand(\"backgroundColor\",{title:\"Background Color\",undo:!1,focus:!0,refreshOnCallback:!1,popup:!0,callback:function(){this.popups.isVisible(\"backgroundColor.picker\")?(this.$el.find(\".fr-marker\").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide(\"backgroundColor.picker\")):this.colors.showColorsPopup(\"backgroundColor\")}}),k.RegisterCommand(\"applybackgroundColor\",{undo:!0,callback:function(o,t){this.colors.background(t)}}),k.RegisterCommand(\"customBackgroundColor\",{title:\"OK\",undo:!0,callback:function(){this.colors.customColor(\"background\")}}),k.DefineIcon(\"colorsBack\",{NAME:\"arrow-left\",SVG_KEY:\"back\"}),k.RegisterCommand(\"colorsBack\",{title:\"Back\",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.colors.back()}}),k.DefineIcon(\"remove\",{NAME:\"eraser\",SVG_KEY:\"remove\"})});","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?t(require(\"froala-editor\")):\"function\"==typeof define&&define.amd?define([\"froala-editor\"],t):t(e.FroalaEditor)}(this,function(c){\"use strict\";c=c&&c.hasOwnProperty(\"default\")?c[\"default\"]:c,Object.assign(c.DEFAULTS,{dragInline:!0}),c.PLUGINS.draggable=function(g){var d=g.$;function e(e){return!(!e.originalEvent||!e.originalEvent.target||e.originalEvent.target.nodeType!==Node.TEXT_NODE)||(e.target&&\"A\"===e.target.tagName&&1===e.target.childNodes.length&&\"IMG\"===e.target.childNodes[0].tagName&&(e.target=e.target.childNodes[0]),d(e.target).hasClass(\"fr-draggable\")?(g.undo.canDo()||g.undo.saveStep(),g.opts.dragInline?g.$el.attr(\"contenteditable\",!0):g.$el.attr(\"contenteditable\",!1),g.opts.toolbarInline&&g.toolbar.hide(),d(e.target).addClass(\"fr-dragging\"),g.browser.msie||g.browser.edge||g.selection.clear(),void e.originalEvent.dataTransfer.setData(\"text\",\"Froala\")):(e.preventDefault(),!1))}var p,v=function v(e){return!(e&&(\"HTML\"===e.tagName||\"BODY\"===e.tagName||g.node.isElement(e)))};function m(e,t,r){if(g.opts.iframe){var n=g.helpers.getPX(g.$wp.find(\".fr-iframe\").css(\"padding-top\")),a=g.helpers.getPX(g.$wp.find(\".fr-iframe\").css(\"padding-left\"));e+=g.$iframe.offset().top+n,t+=g.$iframe.offset().left+a}p.offset().top!==e&&p.css(\"top\",e),p.offset().left!==t&&p.css(\"left\",t),p.width()!==r&&p.css(\"width\",r)}function t(e){e.originalEvent.dataTransfer.dropEffect=\"move\",g.opts.dragInline?(!function r(){for(var e=null,t=0;t<c.INSTANCES.length;t++)if((e=c.INSTANCES[t].$el.find(\".fr-dragging\")).length)return e.get(0)}()||g.browser.msie||g.browser.edge)&&e.preventDefault():(e.preventDefault(),function f(e){var t=g.doc.elementFromPoint(e.originalEvent.pageX-g.win.pageXOffset,e.originalEvent.pageY-g.win.pageYOffset);if(!v(t)){for(var r=0,n=t;!v(n)&&n===t&&0<e.originalEvent.pageY-g.win.pageYOffset-r;)r++,n=g.doc.elementFromPoint(e.originalEvent.pageX-g.win.pageXOffset,e.originalEvent.pageY-g.win.pageYOffset-r);(!v(n)||p&&0===g.$el.find(n).length&&n!==p.get(0))&&(n=null);for(var a=0,o=t;!v(o)&&o===t&&e.originalEvent.pageY-g.win.pageYOffset+a<d(g.doc).height();)a++,o=g.doc.elementFromPoint(e.originalEvent.pageX-g.win.pageXOffset,e.originalEvent.pageY-g.win.pageYOffset+a);(!v(o)||p&&0===g.$el.find(o).length&&o!==p.get(0))&&(o=null),t=null===o&&n?n:o&&null===n?o:o&&n?r<a?n:o:null}if(d(t).hasClass(\"fr-drag-helper\"))return!1;if(t&&!g.node.isBlock(t)&&(t=g.node.blockParent(t)),t&&0<=[\"TD\",\"TH\",\"TR\",\"THEAD\",\"TBODY\"].indexOf(t.tagName)&&(t=d(t).parents(\"table\").get(0)),t&&0<=[\"LI\"].indexOf(t.tagName)&&(t=d(t).parents(\"UL, OL\").get(0)),t&&!d(t).hasClass(\"fr-drag-helper\")){var i;p||(c.$draggable_helper||(c.$draggable_helper=d(document.createElement(\"div\")).attr(\"class\",\"fr-drag-helper\")),p=c.$draggable_helper,g.events.on(\"shared.destroy\",function(){p.html(\"\").removeData().remove(),p=null},!0)),i=e.originalEvent.pageY<d(t).offset().top+d(t).outerHeight()/2;var l=d(t),s=0;i||0!==l.next().length?(i||(l=l.next()),\"before\"===p.data(\"fr-position\")&&l.is(p.data(\"fr-tag\"))||(0<l.prev().length&&(s=parseFloat(l.prev().css(\"margin-bottom\"))||0),s=Math.max(s,parseFloat(l.css(\"margin-top\"))||0),m(l.offset().top-s/2-g.$box.offset().top,l.offset().left-g.win.pageXOffset-g.$box.offset().left,l.width()),p.data(\"fr-position\",\"before\"))):\"after\"===p.data(\"fr-position\")&&l.is(p.data(\"fr-tag\"))||(s=parseFloat(l.css(\"margin-bottom\"))||0,m(l.offset().top+d(t).height()+s/2-g.$box.offset().top,l.offset().left-g.win.pageXOffset-g.$box.offset().left,l.width()),p.data(\"fr-position\",\"after\")),p.data(\"fr-tag\",l),p.addClass(\"fr-visible\"),g.$box.append(p)}else p&&0<g.$box.find(p).length&&p.removeClass(\"fr-visible\")}(e))}function r(e){e.originalEvent.dataTransfer.dropEffect=\"move\",g.opts.dragInline||e.preventDefault()}function n(e){g.$el.attr(\"contenteditable\",!0);var t=g.$el.find(\".fr-dragging\");p&&p.hasClass(\"fr-visible\")&&g.$box.find(p).length?a(e):t.length&&(e.preventDefault(),e.stopPropagation()),p&&g.$box.find(p).length&&p.removeClass(\"fr-visible\"),t.removeClass(\"fr-dragging\")}function a(e){var t,r;g.$el.attr(\"contenteditable\",!0);for(var n=0;n<c.INSTANCES.length;n++)if((t=c.INSTANCES[n].$el.find(\".fr-dragging\")).length){r=c.INSTANCES[n];break}if(t.length){if(e.preventDefault(),e.stopPropagation(),p&&p.hasClass(\"fr-visible\")&&g.$box.find(p).length)p.data(\"fr-tag\")[p.data(\"fr-position\")]('<span class=\"fr-marker\"></span>'),p.removeClass(\"fr-visible\");else if(!1===g.markers.insertAtPoint(e.originalEvent))return!1;if(t.removeClass(\"fr-dragging\"),!1===(t=g.events.chainTrigger(\"element.beforeDrop\",t)))return!1;var a=t;if(t.parent().is(\"A\")&&1===t.parent().get(0).childNodes.length&&(a=t.parent()),g.core.isEmpty())g.events.focus();else g.$el.find(\".fr-marker\").replaceWith(c.MARKERS),g.selection.restore();if(r===g||g.undo.canDo()||g.undo.saveStep(),g.core.isEmpty())g.$el.html(a);else{var o=g.markers.insert();0===a.find(o).length?d(o).replaceWith(a):0===t.find(o).length&&d(o).replaceWith(t),t.after(c.MARKERS),g.selection.restore()}return g.popups.hideAll(),g.selection.save(),g.$el.find(g.html.emptyBlockTagsQuery()).not(\"TD, TH, LI, .fr-inner\").not(g.opts.htmlAllowedEmptyTags.join(\",\")).remove(),g.html.wrap(),g.html.fillEmptyBlocks(),g.selection.restore(),g.undo.saveStep(),g.opts.iframe&&g.size.syncIframe(),r!==g&&(r.popups.hideAll(),r.$el.find(r.html.emptyBlockTagsQuery()).not(\"TD, TH, LI, .fr-inner\").remove(),r.html.wrap(),r.html.fillEmptyBlocks(),r.undo.saveStep(),r.events.trigger(\"element.dropped\"),r.opts.iframe&&r.size.syncIframe()),g.events.trigger(\"element.dropped\",[a]),!1}p&&p.removeClass(\"fr-visible\"),g.undo.canDo()||g.undo.saveStep(),setTimeout(function(){g.undo.saveStep()},0)}function o(e){if(e&&\"DIV\"===e.tagName&&g.node.hasClass(e,\"fr-drag-helper\"))e.parentNode.removeChild(e);else if(e&&e.nodeType===Node.ELEMENT_NODE)for(var t=e.querySelectorAll(\"div.fr-drag-helper\"),r=0;r<t.length;r++)t[r].parentNode.removeChild(t[r])}return{_init:function i(){g.opts.enter===c.ENTER_BR&&(g.opts.dragInline=!0),g.events.on(\"dragstart\",e,!0),g.events.on(\"dragover\",t,!0),g.events.on(\"dragenter\",r,!0),g.events.on(\"document.dragend\",n,!0),g.events.on(\"document.drop\",n,!0),g.events.on(\"drop\",a,!0),g.events.on(\"html.processGet\",o)}}}});","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?e(require(\"froala-editor\")):\"function\"==typeof define&&define.amd?define([\"froala-editor\"],e):e(t.FroalaEditor)}(this,function(t){\"use strict\";t=t&&t.hasOwnProperty(\"default\")?t[\"default\"]:t,Object.assign(t.DEFAULTS,{editInPopup:!1}),t.MODULES.editInPopup=function(i){function t(){i.events.$on(i.$el,i._mouseup,function(){setTimeout(function(){!function n(){var t,e=i.popups.get(\"text.edit\");t=\"INPUT\"===i.el.tagName?i.$el.attr(\"placeholder\"):i.$el.text(),e.find(\"input\").val(t).trigger(\"change\"),i.popups.setContainer(\"text.edit\",i.$sc),i.popups.show(\"text.edit\",i.$el.offset().left+i.$el.outerWidth()/2,i.$el.offset().top+i.$el.outerHeight(),i.$el.outerHeight())}()},10)})}return{_init:function n(){i.opts.editInPopup&&(!function e(){var t={edit:'<div id=\"fr-text-edit-'.concat(i.id,'\" class=\"fr-layer fr-text-edit-layer\"><div class=\"fr-input-line\"><input type=\"text\" placeholder=\"').concat(i.language.translate(\"Text\"),'\" tabIndex=\"1\"></div><div class=\"fr-action-buttons\"><button type=\"button\" class=\"fr-command fr-submit\" data-cmd=\"updateText\" tabIndex=\"2\">').concat(i.language.translate(\"Update\"),\"</button></div></div>\")};i.popups.create(\"text.edit\",t)}(),t())},update:function e(){var t=i.popups.get(\"text.edit\").find(\"input\").val();0===t.length&&(t=i.opts.placeholderText),\"INPUT\"===i.el.tagName?i.$el.attr(\"placeholder\",t):i.$el.text(t),i.events.trigger(\"contentChanged\"),i.popups.hide(\"text.edit\")}}},t.RegisterCommand(\"updateText\",{focus:!1,undo:!1,callback:function(){this.editInPopup.update()}})});","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n!function(e,c){\"object\"==typeof exports&&\"undefined\"!=typeof module?c(require(\"froala-editor\")):\"function\"==typeof define&&define.amd?define([\"froala-editor\"],c):c(e.FroalaEditor)}(this,function(S){\"use strict\";S=S&&S.hasOwnProperty(\"default\")?S[\"default\"]:S,Object.assign(S.POPUP_TEMPLATES,{emoticons:\"[_BUTTONS_][_CUSTOM_LAYER_]\"}),Object.assign(S.DEFAULTS,{emoticonsSet:[{id:\"people\",name:\"Smileys & People\",code:\"1f600\",emoticons:[{code:\"1f600\",desc:\"Grinning face\"},{code:\"1f601\",desc:\"Grinning Face with Smiling Eyes\"},{code:\"1f602\",desc:\"Face with Tears of Joy\"},{code:\"1f603\",desc:\"Smiling Face with Open Mouth\"},{code:\"1f604\",desc:\"Smiling Face with Open Mouth and Smiling Eyes\"},{code:\"1f605\",desc:\"Smiling Face with Open Mouth and Cold Sweat\"},{code:\"1f606\",desc:\"Smiling Face with Open Mouth and Tightly-Closed Eyes\"},{code:\"1f609\",desc:\"Winking Face\"},{code:\"1f60a\",desc:\"Smiling Face with Smiling Eyes\"},{code:\"1f608\",desc:\"Face Savouring Delicious Food\"},{code:\"1f60e\",desc:\"Smiling Face with Sunglasses\"},{code:\"1f60d\",desc:\"Smiling Face with Heart-Shaped Eyes\"},{code:\"1f618\",desc:\"Face Throwing a Kiss\"},{code:\"1f617\",desc:\"Kissing Face\"},{code:\"1f619\",desc:\"Kissing Face with Smiling Eyes\"},{code:\"1f61a\",desc:\"Kissing Face with Closed Eyes\"},{code:\"263a\",desc:\"White Smiling Face\"},{code:\"1f642\",desc:\"Slightly Smiling Face\"},{code:\"1f610\",desc:\"Neutral Face\"},{code:\"1f611\",desc:\"Expressionless Face\"},{code:\"1f636\",desc:\"Face Without Mouth\"},{code:\"1f60f\",desc:\"Smirking Face\"},{code:\"1f623\",desc:\"Persevering Face\"},{code:\"1f625\",desc:\"Disappointed but Relieved Face\"},{code:\"1f62e\",desc:\"Face with Open Mouth\"},{code:\"1f62f\",desc:\"Hushed Face\"},{code:\"1f62a\",desc:\"Sleepy Face\"},{code:\"1f62b\",desc:\"Tired Face\"},{code:\"1f634\",desc:\"Sleeping Face\"},{code:\"1f60c\",desc:\"Relieved Face\"},{code:\"1f61b\",desc:\"Face with Stuck-out Tongue\"},{code:\"1f61c\",desc:\"Face with Stuck-out Tongue and Winking Eye\"},{code:\"1f61d\",desc:\"Face with Stuck-out Tongue and Tightly-Closed Eyes\"},{code:\"1f612\",desc:\"Unamused Face\"},{code:\"1f613\",desc:\"Face with Cold Sweat\"},{code:\"1f613\",desc:\"Face with Cold Sweat\"},{code:\"1f614\",desc:\"Pensive Face\"},{code:\"1f615\",desc:\"Confused Face\"},{code:\"1f632\",desc:\"Astonished  Face\"},{code:\"1f616\",desc:\"Confounded Face\"},{code:\"1f61e\",desc:\"Disappointed Face\"},{code:\"1f61f\",desc:\"Worried Face\"},{code:\"1f624\",desc:\"Face with Look of Triumph\"},{code:\"1f622\",desc:\"Crying Face\"},{code:\"1f62d\",desc:\"Loudly Crying Face\"},{code:\"1f626\",desc:\"Frowning Face with Open Mouth\"},{code:\"1f627\",desc:\"Anguished Face\"},{code:\"1f628\",desc:\"Fearful Face\"},{code:\"1f629\",desc:\"Weary Face\"},{code:\"1f62c\",desc:\"Grimacing Face\"},{code:\"1f630\",desc:\"Face with Open Mouth and Cold Sweat\"},{code:\"1f631\",desc:\"Face Screaming in Fear\"},{code:\"1f633\",desc:\"Flushed Face\"},{code:\"1f635\",desc:\"Dizzy Face\"},{code:\"1f621\",desc:\"Pouting Face\"},{code:\"1f620\",desc:\"Angry Face\"},{code:\"1f637\",desc:\"Face with Medical Mask\"},{code:\"1f607\",desc:\"Smiling Face with Halo\"},{code:\"1f608\",desc:\"Smiling Face with Horns\"},{code:\"1f47f\",desc:\"Imp\"},{code:\"1f479\",desc:\"Japanese Ogre\"},{code:\"1f47a\",desc:\"Japanese Goblin\"},{code:\"1f480\",desc:\"Skull\"},{code:\"1f47b\",desc:\"Ghost\"},{code:\"1f47d\",desc:\"Extraterrestrial Alien\"},{code:\"1f47e\",desc:\"Alien Monster\"},{code:\"1f4a9\",desc:\"Pile of Poo\"},{code:\"1f63a\",desc:\"Smiling Cat Face with Open Mouth\"},{code:\"1f638\",desc:\"Grinning Cat Face with Smiling Eyes\"},{code:\"1f639\",desc:\"Cat Face with Tears of Joy\"},{code:\"1f63b\",desc:\"Smiling Cat Face with Heart-Shaped Eyes\"},{code:\"1f63c\",desc:\"Cat Face with Wry Smile\"},{code:\"1f63d\",desc:\"Kissing Cat Face with Closed Eyes\"},{code:\"1f640\",desc:\"Weary Cat Face\"},{code:\"1f63f\",desc:\"Crying Cat Face\"},{code:\"1f63e\",desc:\"Pouting Cat Face\"},{code:\"1f648\",desc:\"See-No-Evil Monkey\"},{code:\"1f649\",desc:\"Hear-No-Evil Monkey\"},{code:\"1f64a\",desc:\"Speak-No-Evil Monkey\"},{code:\"1f476\",desc:\"Baby\"},{code:\"1f466\",desc:\"Boy\"},{code:\"1f467\",desc:\"Girl\"},{code:\"1f468\",desc:\"Man\"},{code:\"1f469\",desc:\"Woman\"},{code:\"1f474\",desc:\"Older Man\"},{code:\"1f475\",desc:\"Older Woman\"},{code:\"1f46e\",desc:\"Police Officer\"},{code:\"1f482\",desc:\" Guardsman\"},{code:\"1f477\",desc:\" Construction Worker\"},{code:\"1f478\",desc:\"Princess\"},{code:\"1f473\",desc:\"Man with Turban\"},{code:\"1f472\",desc:\"Man with Gua Pi Mao\"},{code:\"1f471\",desc:\"Person with Blond Hair\"},{code:\"1f470\",desc:\"Bride with Veil\"},{code:\"1f47c\",desc:\"Baby Angel\"},{code:\"1f385\",desc:\"Father Christmas\"},{code:\"1f64e\",desc:\"Person with Pouting Face\"},{code:\"1f645\",desc:\"Face with No Good Gesture\"},{code:\"1f646\",desc:\"Face with Ok Gesture\"},{code:\"1f481\",desc:\"Information Desk Person\"},{code:\"1f64b\",desc:\"Happy Person Raising One Hand\"},{code:\"1f647\",desc:\"Person Bowing Deeply\"},{code:\"1f486\",desc:\"Face Massage\"},{code:\"1f487\",desc:\"Haircut\"},{code:\"1f6b6\",desc:\"Pedestrian\"},{code:\"1f3c3\",desc:\"Runner\"},{code:\"1f483\",desc:\"Dancer\"},{code:\"1f46f\",desc:\"Woman with Bunny Ears\"},{code:\"1f6c0\",desc:\"Bath\"},{code:\"1f464\",desc:\"Bust in Silhouette\"},{code:\"1f465\",desc:\"Busts in Silhouette\"},{code:\"1f3c7\",desc:\"Horse Racing\"},{code:\"1f3c2\",desc:\" Snowboarder\"},{code:\"1f3c4\",desc:\" Surfer\"},{code:\"1f6a3\",desc:\" Rowboat\"},{code:\"1f3ca\",desc:\" Swimmer\"},{code:\"1f6b4\",desc:\" Bicyclist\"},{code:\"1f6b5\",desc:\"Mountain Bicyclist\"},{code:\"1f46b\",desc:\" Man and Woman Holding Hands\"},{code:\"1f46c\",desc:\"Two Men Holding Hands\"},{code:\"1f46d\",desc:\"Two Women Holding Hands\"},{code:\"1f48f\",desc:\"Kiss\"},{code:\"1f468-2764-1f48b-1f468\",uCode:\"\\ud83d\\udc68\\u200d\\u2764\\ufe0f\\u200d\\ud83d\\udc8b\\u200d\\ud83d\\udc68\",desc:\"Man Kiss Man\"},{code:\"1f469-2764-1f48b-1f469\",uCode:\"\\ud83d\\udc69\\u200d\\u2764\\ufe0f\\u200d\\ud83d\\udc69\",desc:\"Woman Kiss Woman\"},{code:\"1f491\",desc:\"Couple with Heart\"},{code:\"1f468-2764-1f468\",uCode:\"\\ud83d\\udc68\\u200d\\u2764\\ufe0f\\u200d\\ud83d\\udc68\",desc:\"Man Heart Man\"},{code:\"1f469-2764-1f469\",uCode:\"\\ud83d\\udc69\\u200d\\u2764\\ufe0f\\u200d\\ud83d\\udc69\",desc:\"Woman Heart Woman\"},{code:\"1f46a\",desc:\"Family\"},{code:\"1f468\",desc:\"Man Woman Boy\"},{code:\"1f468-1f469-1f467\",desc:\"Man Woman Girl\"},{code:\"1f468-1f469-1f467-1f466\",desc:\"Man Woman Girl Boy\"},{code:\"1f468-1f469-1f466-1f466\",desc:\"Man Woman Boy Boy\"},{code:\"1f468-1f469-1f467-1f467\",desc:\"Man Woman Girl Girl\"},{code:\"1f468-1f468-1f466\",desc:\"Man Man Boy\"},{code:\"1f468-1f468-1f467\",desc:\"Man Man Girl\"},{code:\"1f468-1f468-1f467-1f466\",desc:\"Man Man Girl Boy\"},{code:\"1f468-1f468-1f466-1f466\",desc:\"Man Man Boy Boy\"},{code:\"1f469-1f469-1f466\",desc:\"Woman Woman Boy\"},{code:\"1f469-1f469-1f467\",desc:\"Woman Woman Girl\"},{code:\"1f469-1f469-1f467-1f466\",desc:\"Woman Woman Girl Boy\"},{code:\"1f469-1f469-1f467-1f467\",desc:\"Woman Woman Girl Girl\"},{code:\"1f4aa\",desc:\"Flexed Biceps\"},{code:\"1f448\",desc:\"White Left Pointing Backhand Index\"},{code:\"1f449\",desc:\"White Right Pointing Backhand Index\"},{code:\"1f446\",desc:\"White Up Pointing Backhand Index\"},{code:\"1f447\",desc:\"White Down Pointing Backhand Index\"},{code:\"270c\",desc:\"Victory Hand\"},{code:\"270b\",desc:\"Raised Hand\"},{code:\"1f44c\",desc:\"Ok Hand Sign\"},{code:\"1f44d\",desc:\"Thumbs Up Sign\"},{code:\"1f44e\",desc:\"Thumbs Down Sign\"},{code:\"270a\",desc:\"Raised Fist\"},{code:\"1f44a\",desc:\"Fisted Hand Sign\"},{code:\"1f44b\",desc:\"Waving Hand Sign\"},{code:\"1f44f\",desc:\"Clapping Hands Sign\"},{code:\"1f450\",desc:\"Open  Hands Sign\"},{code:\"1f64c\",desc:\"Person Raising Both Hands in Celebration\"},{code:\"1f64f\",desc:\"Person with Folded Hands\"},{code:\"1f485\",desc:\"Nail Polish\"},{code:\"1f442\",desc:\"Ear\"},{code:\"1f443\",desc:\"Nose\"},{code:\"1f463\",desc:\"Footprints\"},{code:\"1f440\",desc:\"Eyes\"},{code:\"1f445\",desc:\"Tongue\"},{code:\"1f444\",desc:\"Mouth\"},{code:\"1f48b\",desc:\"Kiss Mark\"},{code:\"1f498\",desc:\"Heart with Arrow\"},{code:\"2764\",desc:\"Heavy Black Heart\"},{code:\"1f493\",desc:\"Heavy Black Heart\"},{code:\"1f494\",desc:\"Broken Heart\"},{code:\"1f495\",desc:\"Two Hearts\"},{code:\"1f496\",desc:\"Sparkling Hearts\"},{code:\"1f497\",desc:\"Growing Hearts\"},{code:\"1f499\",desc:\"Blue Heart\"},{code:\"1f49a\",desc:\"Green Heart\"},{code:\"1f49b\",desc:\"Yellow Heart\"},{code:\"1f49c\",desc:\"Purple Heart\"},{code:\"1f49d\",desc:\"Heart with Ribbon\"},{code:\"1f49e\",desc:\"Revolving Hearts\"},{code:\"1f49f\",desc:\"Heart Decoration\"},{code:\"1f48c\",desc:\"Love Letter\"},{code:\"1f4a4\",desc:\"Sleeping Symbol\"},{code:\"1f4a2\",desc:\"Anger Symbol\"},{code:\"1f4a3\",desc:\"Bomb\"},{code:\"1f4a5\",desc:\"Collision Symbol\"},{code:\"1f4a6\",desc:\"Splashing Sweat Symbol\"},{code:\"1f4a8\",desc:\"Dash Symbol\"},{code:\"1f4ab\",desc:\"Dizzy Symbol\"},{code:\"1f4ab\",desc:\"Dizzy Symbol\"},{code:\"1f4ac\",desc:\"Speech Balloon\"},{code:\"1f4ad\",desc:\"Thought Balloon\"},{code:\"1f453\",desc:\"Eyeglasses\"},{code:\"1f454\",desc:\"Necktie\"},{code:\"1f455\",desc:\"T-Shirt\"},{code:\"1f456\",desc:\"Jeans\"},{code:\"1f457\",desc:\"Dress\"},{code:\"1f458\",desc:\"Kimono\"},{code:\"1f459\",desc:\"Bikini\"},{code:\"1f45a\",desc:\"Womans Clothes\"},{code:\"1f45b\",desc:\"Purse\"},{code:\"1f45c\",desc:\"Handbag\"},{code:\"1f45d\",desc:\"Pouch\"},{code:\"1f392\",desc:\"School Satchel\"},{code:\"1f45e\",desc:\"Mans Shoe\"},{code:\"1f45f\",desc:\"Athletic Shoe\"},{code:\"1f460\",desc:\"High-Heeled Shoe\"},{code:\"1f461\",desc:\"Womans Sandal\"},{code:\"1f462\",desc:\"Womans Boots\"},{code:\"1f451\",desc:\"Crown\"},{code:\"1f452\",desc:\"Womans Hat\"},{code:\"1f462\",desc:\"Top Hat\"},{code:\"1f393\",desc:\"Graduation Cap\"},{code:\"1f484\",desc:\"Lipstick\"},{code:\"1f48d\",desc:\"Ring\"},{code:\"1f48e\",desc:\"Gem Stone\"}]},{id:\"nature\",name:\"Animals & Nature\",code:\"1F435\",emoticons:[{code:\"1F435\",desc:\"Monkey Face\"},{code:\"1F412\",desc:\"Monkey\"},{code:\"1F436\",desc:\"Dog Face\"},{code:\"1F415\",desc:\"Dog\"},{code:\"1F429\",desc:\"Poodle\"},{code:\"1F43A\",desc:\"Wolf Face\"},{code:\"1F431\",desc:\"Cat Face\"},{code:\"1F408\",desc:\"Cat\"},{code:\"1F42F\",desc:\"Tiger Face\"},{code:\"1F405\",desc:\"Tiger\"},{code:\"1F406\",desc:\"Leopard\"},{code:\"1F434\",desc:\"Horse Face\"},{code:\"1F40E\",desc:\"Horse\"},{code:\"1F42E\",desc:\"Cow Face\"},{code:\"1F402\",desc:\"Ox\"},{code:\"1F403\",desc:\"Water Buffalo\"},{code:\"1F404\",desc:\"Cow\"},{code:\"1F437\",desc:\"Pig Face\"},{code:\"1F416\",desc:\"Pig\"},{code:\"1F417\",desc:\"Boar\"},{code:\"1F43D\",desc:\"Pig Nose\"},{code:\"1F40F\",desc:\"Ram\"},{code:\"1F411\",desc:\"Sheep\"},{code:\"1F410\",desc:\"Goat\"},{code:\"1F42A\",desc:\"Dromedary Camel\"},{code:\"1F42B\",desc:\"Bactrian Camel\"},{code:\"1F418\",desc:\"Elephant\"},{code:\"1F42D\",desc:\"Mouse Face\"},{code:\"1F401\",desc:\"Mouse\"},{code:\"1F400\",desc:\"Rat\"},{code:\"1F439\",desc:\"Hamster Face\"},{code:\"1F430\",desc:\"Rabbit Face\"},{code:\"1F407\",desc:\"Rabbit\"},{code:\"1F43B\",desc:\"Bear Face\"},{code:\"1F428\",desc:\"Koala\"},{code:\"1F43C\",desc:\"Panda Face\"},{code:\"1F43E\",desc:\"Paw Prints\"},{code:\"1F414\",desc:\"Chicken\"},{code:\"1F413\",desc:\"Rooster\"},{code:\"1F423\",desc:\"Hatching Chick\"},{code:\"1F424\",desc:\"Baby Chick\"},{code:\"1F425\",desc:\"Front-Facing Baby Chick\"},{code:\"1F426\",desc:\"Bird\"},{code:\"1F427\",desc:\"Penguin\"},{code:\"1F438\",desc:\"Frog Face\"},{code:\"1F40A\",desc:\"Crocodile\"},{code:\"1F422\",desc:\"Turtle\"},{code:\"1F40D\",desc:\"Snake\"},{code:\"1F432\",desc:\"Dragon Face\"},{code:\"1F409\",desc:\"Dragon\"},{code:\"1F433\",desc:\"Spouting Whale\"},{code:\"1F40B\",desc:\"Whale\"},{code:\"1F42C\",desc:\"Dolphin\"},{code:\"1F41F\",desc:\"Fish\"},{code:\"1F420\",desc:\"Tropical Fish\"},{code:\"1F421\",desc:\"Blowfish\"},{code:\"1F419\",desc:\"Octopus\"},{code:\"1F41A\",desc:\"Spiral Shell\"},{code:\"1F40C\",desc:\"Snail\"},{code:\"1F41B\",desc:\"Bug\"},{code:\"1F41C\",desc:\"Ant\"},{code:\"1F41D\",desc:\"Honeybee\"},{code:\"1F41E\",desc:\"Lady Beetle\"},{code:\"1F490\",desc:\"Bouquet\"},{code:\"1F338\",desc:\"Cherry Blossom\"},{code:\"1F4AE\",desc:\"White Flower\"},{code:\"1F339\",desc:\"Rose\"},{code:\"1F33A\",desc:\"Hibiscus\"},{code:\"1F33B\",desc:\"Sunflower\"},{code:\"1F33C\",desc:\"Blossom\"},{code:\"1F337\",desc:\"Tulip\"},{code:\"1F331\",desc:\"Seedling\"},{code:\"1F332\",desc:\"Evergreen Tree\"},{code:\"1F333\",desc:\"Deciduous Tree\"},{code:\"1F334\",desc:\"Palm Tree\"},{code:\"1F335\",desc:\"Cactus\"},{code:\"1F33E\",desc:\"Ear of Rice\"},{code:\"1F33F\",desc:\"Herb\"},{code:\"2618\",desc:\"Four Leaf Clover\"},{code:\"1F341\",desc:\"Maple Leaf\"},{code:\"1F342\",desc:\"Fallen Leaf\"},{code:\"1F343\",desc:\"Leaf Fluttering in Wind\"}]},{id:\"foods\",name:\"Food & Drink\",code:\"1F347\",emoticons:[{code:\"1F347\",desc:\"Grapes\"},{code:\"1F348\",desc:\"Melon\"},{code:\"1F349\",desc:\"Watermelon\"},{code:\"1F34A\",desc:\"Tangerine\"},{code:\"1F34B\",desc:\"Lemon\"},{code:\"1F34C\",desc:\"Banana\"},{code:\"1F34D\",desc:\"Pineapple\"},{code:\"1F34E\",desc:\"Red Apple\"},{code:\"1F34F\",desc:\"Green Apple\"},{code:\"1F350\",desc:\"Pear\"},{code:\"1F351\",desc:\"Peach\"},{code:\"1F352\",desc:\"Cherries\"},{code:\"1F353\",desc:\"Strawberry\"},{code:\"1F345\",desc:\"Tomato\"},{code:\"1F346\",desc:\"Aubergine\"},{code:\"1F33D\",desc:\"Ear of Maize\"},{code:\"1F344\",desc:\"Mushroom\"},{code:\"1F330\",desc:\"Chestnut\"},{code:\"1F35E\",desc:\"Bread\"},{code:\"1F356\",desc:\"Meat on Bone\"},{code:\"1F357\",desc:\"Poultry Leg\"},{code:\"1F354\",desc:\"Hamburger\"},{code:\"1F35F\",desc:\"French Fries\"},{code:\"1F355\",desc:\"Slice of Pizza\"},{code:\"1F373\",desc:\"Cooking\"},{code:\"1F372\",desc:\"Pot of Food\"},{code:\"1F371\",desc:\"Bento Box\"},{code:\"1F358\",desc:\"Rice Cracker\"},{code:\"1F359\",desc:\"Rice Ball\"},{code:\"1F35A\",desc:\"Cooked Rice\"},{code:\"1F35B\",desc:\"Curry and Rice\"},{code:\"1F35C\",desc:\"Steaming Bowl\"},{code:\"1F35D\",desc:\"Spaghetti\"},{code:\"1F360\",desc:\"Roasted Sweet Potato\"},{code:\"1F362\",desc:\"Oden\"},{code:\"1F363\",desc:\"Sushi\"},{code:\"1F364\",desc:\"Fried Shrimp\"},{code:\"1F365\",desc:\"Fish Cake with Swirl Design\"},{code:\"1F361\",desc:\"Dango\"},{code:\"1F366\",desc:\"Soft Ice Cream\"},{code:\"1F367\",desc:\"Shaved Ice\"},{code:\"1F368\",desc:\"Ice Cream\"},{code:\"1F369\",desc:\"Doughnut\"},{code:\"1F36A\",desc:\"Cookie\"},{code:\"1F382\",desc:\"Birthday Cake\"},{code:\"1F370\",desc:\"Shortcake\"},{code:\"1F36B\",desc:\"Chocolate Bar\"},{code:\"1F36C\",desc:\"Candy\"},{code:\"1F36D\",desc:\"Lollipop\"},{code:\"1F36E\",desc:\"Custard\"},{code:\"1F36F\",desc:\"Honey Pot\"},{code:\"1F37C\",desc:\"Baby Bottle\"},{code:\"2615\",desc:\"Hot Beverage\"},{code:\"1F375\",desc:\"Teacup Without Handle\"},{code:\"1F376\",desc:\"Sake Bottle and Cup\"},{code:\"1F377\",desc:\"Wine Glass\"},{code:\"1F378\",desc:\"Cocktail Glass\"},{code:\"1F379\",desc:\"Tropical Drink\"},{code:\"1F37A\",desc:\"Beer Mug\"},{code:\"1F37B\",desc:\"Clinking Beer Mugs\"},{code:\"1F374\",desc:\"Fork and Knife\"},{code:\"1F52A\",desc:\"Hocho\"}]},{id:\"activity\",name:\"Activities\",code:\"1f383\",emoticons:[{code:\"1f383\",desc:\" Jack-O-Lantern\"},{code:\"1f384\",desc:\"Christmas Tree\"},{code:\"1f386\",desc:\" Fireworks\"},{code:\"1f387\",desc:\"Firework Sparkler\"},{code:\"2728\",desc:\" Sparkles\"},{code:\"1f388\",desc:\"Balloon\"},{code:\"1f389\",desc:\"Party Popper\"},{code:\"1f38a\",desc:\"Confetti Ball\"},{code:\"1f38b\",desc:\"Tanabata Tree\"},{code:\"1f38d\",desc:\"Pine Decoration\"},{code:\"1f38e\",desc:\"Japanese Dolls\"},{code:\"1f38f\",desc:\"Carp Streamer\"},{code:\"1f390\",desc:\"Wind Chime\"},{code:\"1f391\",desc:\"Moon Viewing Ceremony\"},{code:\"1f380\",desc:\"Ribbon\"},{code:\"1f381\",desc:\"Wrapped Present\"},{code:\"1f3ab\",desc:\"Ticket\"},{code:\"1f3c6\",desc:\"Trophy\"},{code:\"1f388\",desc:\"Balloon\"},{code:\"26bd\",desc:\"Soccer Ball\"},{code:\"26be\",desc:\"Baseball\"},{code:\"1f3c0\",desc:\"Basketball and Hoop\"},{code:\"1f3c8\",desc:\"American Football\"},{code:\"1f3c9\",desc:\"Rugby Football\"},{code:\"1f3be\",desc:\"Tennis Racquet and Ball\"},{code:\"1f3b1\",desc:\"Billiards\"},{code:\"1f3b3\",desc:\"Bowling\"},{code:\"1f3af\",desc:\"Direct Hit\"},{code:\"26f3\",desc:\"Flag in Hole\"},{code:\"1f3a3\",desc:\"Fishing Pole and Fish\"},{code:\"1f3bd\",desc:\"Running Shirt with Sash\"},{code:\"1f3bf\",desc:\"Ski and Ski Boot\"},{code:\"1f3ae\",desc:\"Video Game\"},{code:\"1f3b2\",desc:\"Game Die\"},{code:\"2660\",desc:\"Black Spade Suit\"},{code:\"2665\",desc:\"Black Heart SuiT\"},{code:\"2666\",desc:\"Black Diamond Suit\"},{code:\"2663\",desc:\"Black Club Suit\"},{code:\"1f0cf\",desc:\"Playing Card Black Joker\"},{code:\"1f004\",desc:\"Mahjong Tile Red Dragon\"},{code:\"1f3b4\",desc:\"Flower Playing Cards\"}]},{id:\"places\",name:\"Travel & Places\",code:\"1f30d\",emoticons:[{code:\"1f30d\",desc:\"Earth Globe Europe-Africa\"},{code:\"1f30e\",desc:\"Earth Globe Americas\"},{code:\"1f30f\",desc:\"Earth Globe Asia-Australia\"},{code:\"1f310\",desc:\"Globe with Meridians\"},{code:\"1f5fe\",desc:\"Silhouette of Japan\"},{code:\"1f30b\",desc:\"Volcano\"},{code:\"1f5fb\",desc:\"Mount Fuji\"},{code:\"1f3e0\",desc:\"House Building\"},{code:\"1f3e1\",desc:\"House with Garden\"},{code:\"1f3e2\",desc:\"Office Building\"},{code:\"1f3e3\",desc:\"Japanese Post Office\"},{code:\"1f3e4\",desc:\"European Post Office\"},{code:\"1f3e5\",desc:\"Hospital\"},{code:\"1f3e6\",desc:\"Bank\"},{code:\"1f3e8\",desc:\"Hotel\"},{code:\"1f3e9\",desc:\"Love Hotel\"},{code:\"1f3ea\",desc:\"Convenience Store\"},{code:\"1f3eb\",desc:\"School\"},{code:\"1f3ec\",desc:\"Department Store\"},{code:\"1f3ed\",desc:\"Factory\"},{code:\"1f3ef\",desc:\"Japanese Castle\"},{code:\"1f3f0\",desc:\"European Castle\"},{code:\"1f492\",desc:\"Wedding\"},{code:\"1f5fc\",desc:\"Tokyo Tower\"},{code:\"1f5fd\",desc:\"Statue of Liberty\"},{code:\"26ea\",desc:\"Church\"},{code:\"26f2\",desc:\"Fountain\"},{code:\"26fa\",desc:\"Tent\"},{code:\"1f301\",desc:\"Foggy\"},{code:\"1f303\",desc:\"Night with Stars\"},{code:\"1f304\",desc:\"Sunrise over Mountains\"},{code:\"1f305\",desc:\"Sunrise\"},{code:\"1f306\",desc:\"Cityscape at Dusk\"},{code:\"1f307\",desc:\"Sunset over Buildings\"},{code:\"1f309\",desc:\"Bridge at Night\"},{code:\"2668\",desc:\"Hot Springs\"},{code:\"1f30c\",desc:\"Milky Way\"},{code:\"1f3a0\",desc:\"Carousel Horse\"},{code:\"1f3a1\",desc:\"Ferris Wheel\"},{code:\"1f3a2\",desc:\"Roller Coaster\"},{code:\"1f488\",desc:\"Barber Pole\"},{code:\"1f3aa\",desc:\"Circus Tent\"},{code:\"1f3ad\",desc:\"Performing Arts\"},{code:\"1f3a8\",desc:\"Artist Palette\"},{code:\"1f3b0\",desc:\"Slot Machine\"},{code:\"1f682\",desc:\"Steam Locomotive\"},{code:\"1f683\",desc:\"Railway Car\"},{code:\"1f684\",desc:\"High-Speed Train\"},{code:\"1f685\",desc:\"High-Speed Train with Bullet Nose\"},{code:\"1f686\",desc:\"Train\"},{code:\"1f687\",desc:\"Metro\"},{code:\"1f688\",desc:\"Light Rail\"},{code:\"1f689\",desc:\"Station\"},{code:\"1f68a\",desc:\"Tram\"},{code:\"1f69d\",desc:\"Monorail\"},{code:\"1f69e\",desc:\"Mountain Railway\"},{code:\"1f68b\",desc:\"Tram Car\"},{code:\"1f68c\",desc:\"Bus\"},{code:\"1f68d\",desc:\"Oncoming Bus\"},{code:\"1f68e\",desc:\"Trolleybus\"},{code:\"1f690\",desc:\"Minibus\"},{code:\"1f691\",desc:\"Ambulance\"},{code:\"1f692\",desc:\"Fire Engine\"},{code:\"1f693\",desc:\"Police Car\"},{code:\"1f694\",desc:\"Oncoming Police Car\"},{code:\"1f695\",desc:\"Taxi\"},{code:\"1f695\",desc:\"Oncoming Taxi\"},{code:\"1f697\",desc:\"Automobile\"},{code:\"1f698\",desc:\"Oncoming Automobile\"},{code:\"1f699\",desc:\"Recreational Vehicle\"},{code:\"1f69a\",desc:\"Delivery Truck\"},{code:\"1f69b\",desc:\"Articulated Lorry\"},{code:\"1f69c\",desc:\"Tractor\"},{code:\"1f6b2\",desc:\"Bicycle\"},{code:\"1f68f\",desc:\"Bus Stop\"},{code:\"26fd\",desc:\"Fuel Pump\"},{code:\"1f6a8\",desc:\"Police Cars Revolving Light\"},{code:\"1f6a5\",desc:\"Horizontal Traffic Light\"},{code:\"1f6a6\",desc:\"Vertical Traffic Light\"},{code:\"1f6a7\",desc:\"Construction Sign\"},{code:\"2693\",desc:\"Anchor\"},{code:\"26f5\",desc:\"Sailboat\"},{code:\"1f6a4\",desc:\"Speedboat\"},{code:\"1f6a2\",desc:\"Ship\"},{code:\"2708\",desc:\"Airplane\"},{code:\"1f4ba\",desc:\"Seat\"},{code:\"1f681\",desc:\"Helicopter\"},{code:\"1f69f\",desc:\"Suspension Railway\"},{code:\"1f6a0\",desc:\"Mountain Cableway\"},{code:\"1f6a1\",desc:\"Aerial Tramway\"},{code:\"1f680\",desc:\"Rocket\"},{code:\"1f6aa\",desc:\"Door\"},{code:\"1f6bd\",desc:\"Toilet\"},{code:\"1f6bf\",desc:\"Shower\"},{code:\"1f6c1\",desc:\"Bathtub\"},{code:\"231b\",desc:\"Hourglass\"},{code:\"23f3\",desc:\"Hourglass with Flowing Sand\"},{code:\"231a\",desc:\"Watch\"},{code:\"23f0\",desc:\"Alarm Clock\"},{code:\"1f55b\",desc:\"Clock Face Twelve Oclock\"},{code:\"1f567\",desc:\"Clock Face Twelve-Thirty\"},{code:\"1f550\",desc:\"Clock Face One Oclock\"},{code:\"1f55c\",desc:\"Clock Face One-thirty\"},{code:\"1f551\",desc:\"Clock Face Two Oclock\"},{code:\"1f55d\",desc:\"Clock Face Two-thirty\"},{code:\"1f552\",desc:\"Clock Face Three Oclock\"},{code:\"1f55e\",desc:\"Clock Face Three-thirty\"},{code:\"1f553\",desc:\"Clock Face Four Oclock\"},{code:\"1f55f\",desc:\"Clock Face Four-thirty\"},{code:\"1f554\",desc:\"Clock Face Five Oclock\"},{code:\"1f560\",desc:\"Clock Face Five-thirty\"},{code:\"1f555\",desc:\"Clock Face Six Oclock\"},{code:\"1f561\",desc:\"Clock Face Six-thirty\"},{code:\"1f556\",desc:\"Clock Face Seven Oclock\"},{code:\"1f562\",desc:\"Clock Face Seven-thirty\"},{code:\"1f557\",desc:\"Clock Face Eight Oclock\"},{code:\"1f563\",desc:\"Clock Face Eight-thirty\"},{code:\"1f558\",desc:\"Clock Face Nine Oclock\"},{code:\"1f564\",desc:\"Clock Face Nine-thirty\"},{code:\"1f559\",desc:\"Clock Face Ten Oclock\"},{code:\"1f565\",desc:\"Clock Face Ten-thirty\"},{code:\"1f55a\",desc:\"Clock Face Eleven Oclock\"},{code:\"1f566\",desc:\"Clock Face Eleven-thirty\"},{code:\"1f311\",desc:\"New Moon Symbol\"},{code:\"1f312\",desc:\"Waxing Crescent Moon Symbol\"},{code:\"1f313\",desc:\"First Quarter Moon Symbol\"},{code:\"1f314\",desc:\"Waxing Gibbous Moon Symbol\"},{code:\"1f315\",desc:\"Full Moon Symbol\"},{code:\"1f316\",desc:\"Waning Gibbous Moon Symbol\"},{code:\"1f317\",desc:\"Last Quarter Moon Symbol\"},{code:\"1f318\",desc:\"Waning Crescent Moon Symbol\"},{code:\"1f319\",desc:\"Crescent Moon\"},{code:\"1f31a\",desc:\"New Moon with Face\"},{code:\"1f31b\",desc:\"First Quarter Moon with Face\"},{code:\"1f31c\",desc:\"Last Quarter Moon with Face\"},{code:\"2600\",desc:\"Black Sun with Rays\"},{code:\"1f31d\",desc:\"Full Moon with Face\"},{code:\"1f31e\",desc:\"Sun with Face\"},{code:\"2b50\",desc:\"White Medium Star\"},{code:\"1f31f\",desc:\"Glowing Star\"},{code:\"1f320\",desc:\"Shooting Star\"},{code:\"2601\",desc:\"Cloud\"},{code:\"26c5\",desc:\"Sun Behind Cloud\"},{code:\"1f300\",desc:\"Cyclone\"},{code:\"1f308\",desc:\"Rainbow\"},{code:\"1f302\",desc:\"Closed Umbrella\"},{code:\"2614\",desc:\"Umbrella with Rain Drops\"},{code:\"26a1\",desc:\"High Voltage Sign\"},{code:\"2744\",desc:\"Snowflake\"},{code:\"2603\",desc:\"Snowman Without Snow\"},{code:\"1f525\",desc:\"Fire\"},{code:\"1f4a7\",desc:\"Droplet\"},{code:\"1F30A\",desc:\"Water Wave\"}]},{id:\"objects\",name:\"Objects\",code:\"1F507\",emoticons:[{code:\"1F507\",desc:\"Speaker with Cancellation Stroke\"},{code:\"1F508\",desc:\"Speaker\"},{code:\"1F509\",desc:\"Speaker with One Sound Wave\"},{code:\"1F50A\",desc:\"Speaker with Three Sound Wave\"},{code:\"1F4E2\",desc:\"Public Address Loudspeaker\"},{code:\"1F4E3\",desc:\"Cheering Megaphone\"},{code:\"1F4EF\",desc:\"Postal Horn\"},{code:\"1F514\",desc:\"Bell\"},{code:\"1F515\",desc:\"Bell with Cancellation Stroke\"},{code:\"1F3BC\",desc:\"Musical Score\"},{code:\"1F3B5\",desc:\"Musical Note\"},{code:\"1F3B6\",desc:\"Multiple Musical Notes\"},{code:\"1F3A4\",desc:\"Microphone\"},{code:\"1F3A7\",desc:\"Headphone\"},{code:\"1F4FB\",desc:\"Radio\"},{code:\"1F3B7\",desc:\"Saxophone\"},{code:\"1F3B8\",desc:\"Guitar\"},{code:\"1F3B9\",desc:\"Musical Keyboard\"},{code:\"1F3BA\",desc:\"Trumpet\"},{code:\"1F3BB\",desc:\"Violin\"},{code:\"1F4F1\",desc:\"Mobile Phone\"},{code:\"1F4F2\",desc:\"Mobile Phone with Rightwards Arrow at Left\"},{code:\"260E\",desc:\"Black Telephone\"},{code:\"1F4DE\",desc:\"Telephone Receiver\"},{code:\"1F4DF\",desc:\"Pager\"},{code:\"1F4E0\",desc:\"Fax Machine\"},{code:\"1F50B\",desc:\"Battery\"},{code:\"1F50C\",desc:\"Electric Plug\"},{code:\"1F4BB\",desc:\"Personal Computer\"},{code:\"1F4BD\",desc:\"Minidisc\"},{code:\"1F4BE\",desc:\"Floppy Disk\"},{code:\"1F4BF\",desc:\"Optical Disk\"},{code:\"1F4C0\",desc:\"Dvd\"},{code:\"1F3A5\",desc:\"Movie Camera\"},{code:\"1F3AC\",desc:\"Clapper Board\"},{code:\"1F4FA\",desc:\"Television\"},{code:\"1F4F7\",desc:\"Camera\"},{code:\"1F4F9\",desc:\"Video Camera\"},{code:\"1F4FC\",desc:\"Videocassette\"},{code:\"1F50D\",desc:\"Left-Pointing Magnifying Glass\"},{code:\"1F50E\",desc:\"Right-Pointing Magnifying Glass\"},{code:\"1F52C\",desc:\"Microscope\"},{code:\"1F52D\",desc:\"Telelscope\"},{code:\"1F4E1\",desc:\"Satellite Antenna\"},{code:\"1F4A1\",desc:\"Electric Light Bulb\"},{code:\"1F526\",desc:\"Electric Torch\"},{code:\"1F3EE\",desc:\"Izakaya Lantern\"},{code:\"1F4D4\",desc:\"Notebook with Decorative Cover\"},{code:\"1F4D5\",desc:\"Closed Book\"},{code:\"1F4D6\",desc:\"Open Book\"},{code:\"1F4D7\",desc:\"Green Book\"},{code:\"1F4D8\",desc:\"Blue Book\"},{code:\"1F4D9\",desc:\"Orange Book\"},{code:\"1F4DA\",desc:\"Books\"},{code:\"1F4D3\",desc:\"Notebook\"},{code:\"1F4D2\",desc:\"Ledger\"},{code:\"1F4C3\",desc:\"Curl\"},{code:\"1F4DC\",desc:\"Scroll\"},{code:\"1F4C4\",desc:\"Page Facing Up\"},{code:\"1F4F0\",desc:\"Newspaper\"},{code:\"1F4D1\",desc:\"Bookmark Tabs\"},{code:\"1F516\",desc:\"Bookmark\"},{code:\"1F4B0\",desc:\"Money Bag\"},{code:\"1F4B4\",desc:\"Banknote with Yen Sign\"},{code:\"1F4B5\",desc:\"Banknote with Dollar Sign\"},{code:\"1F4B6\",desc:\"Banknote with Euro Sign\"},{code:\"1F4B7\",desc:\"Banknote with Pound Sign\"},{code:\"1F4B8\",desc:\"Money with Wings\"},{code:\"1F4B3\",desc:\"Credit Card\"},{code:\"1F4B9\",desc:\"Chart with Upwards Trend and Yen Sign\"},{code:\"1F4B1\",desc:\"Currency Exchange\"},{code:\"1F4B2\",desc:\"Heavy Dollar Sign\"},{code:\"2709\",desc:\"Envelope\"},{code:\"1F4E7\",desc:\"E-Mail Symbol\"},{code:\"1F4E8\",desc:\"Incoming Envelope\"},{code:\"1F4E9\",desc:\"Envelope with Downwards Arrow Above\"},{code:\"1F4E4\",desc:\"Outbox Tray\"},{code:\"1F4E5\",desc:\"Inbox Tray\"},{code:\"1F4E6\",desc:\"Package\"},{code:\"1F4BE\",desc:\"Closed Mailbox with Raised Flag\"},{code:\"1F4EA\",desc:\"Closed Mailbox with Lowered Flag\"},{code:\"1F4EC\",desc:\"Open Mailbox with Raised Flag\"},{code:\"1F4ED\",desc:\"Open Mailbox with Lowered Flag\"},{code:\"1F5F3\",desc:\"Postbox\"},{code:\"270F\",desc:\"Pencil\"},{code:\"2712\",desc:\"Black Nib\"},{code:\"1F4DD\",desc:\"Memo\"},{code:\"1F4BC\",desc:\"Briefcase\"},{code:\"1F4C1\",desc:\"File Folder\"},{code:\"1F4C2\",desc:\"Open File Folder\"},{code:\"1F4C5\",desc:\"Calender\"},{code:\"1F4C6\",desc:\"Tear-off Calender\"},{code:\"1F4C7\",desc:\"Card Index\"},{code:\"1F4C8\",desc:\"Chart with Upwards Trend\"},{code:\"1F4C9\",desc:\"Chart with Downwards Trend\"},{code:\"1F4CA\",desc:\"Bar Chart\"},{code:\"1F4CB\",desc:\"Clipboard\"},{code:\"1F4CC\",desc:\"Pushpin\"},{code:\"1F4CD\",desc:\"Round Pushpin\"},{code:\"1F4CE\",desc:\"Paperclip\"},{code:\"1F4CF\",desc:\"Straight Ruler\"},{code:\"1F4D0\",desc:\"Triangular Ruler\"},{code:\"2702\",desc:\"Black Scissors\"},{code:\"1F512\",desc:\"Lock\"},{code:\"1F513\",desc:\"Open Lock\"},{code:\"1F50F\",desc:\"Lock with Ink Pen\"},{code:\"1F510\",desc:\"Closed Lock with Key\"},{code:\"1F511\",desc:\"Key\"},{code:\"1F528\",desc:\"Hammer\"},{code:\"1F52B\",desc:\"Pistol\"},{code:\"1F527\",desc:\"Wrench\"},{code:\"1F529\",desc:\"Nut and Bolt\"},{code:\"1F517\",desc:\"Link Symbol\"},{code:\"1F489\",desc:\"Syringe\"},{code:\"1F48A\",desc:\"Pill\"},{code:\"1F6AC\",desc:\"Smoking Symbol\"},{code:\"1F5FF\",desc:\"Moyai\"},{code:\"1F52E\",desc:\"Crystal Ball\"}]},{id:\"symbols\",name:\"Symbols\",code:\"1F3E7\",emoticons:[{code:\"1F3E7\",desc:\"Automated Teller Machine\"},{code:\"1F6AE\",desc:\"Put Litter in Its Place Symbol\"},{code:\"1F6B0\",desc:\"Potable Water Symbol\"},{code:\"267F\",desc:\"Wheelchair Symbol\"},{code:\"1F6B9\",desc:\"Mens Symbol\"},{code:\"1F6BA\",desc:\"Womens Symbol\"},{code:\"1F6BB\",desc:\"Restroom\"},{code:\"1F6BC\",desc:\"Baby Symbol\"},{code:\"1F6BE\",desc:\"Water Closet\"},{code:\"1F6C2\",desc:\"Passport Control\"},{code:\"1F6C3\",desc:\"Customs\"},{code:\"1F6C4\",desc:\"Baggage Claim\"},{code:\"1F6C5\",desc:\"Left Luggage\"},{code:\"26A0\",desc:\"Warning Sign\"},{code:\"1F6B8\",desc:\"Children Crossing\"},{code:\"26D4\",desc:\"No Entry\"},{code:\"1F6AB\",desc:\"No Entry Sign\"},{code:\"1F6B3\",desc:\"No Bicycles\"},{code:\"1F6AD\",desc:\"No Smoking Symbol\"},{code:\"1F6AF\",desc:\"Do Not Litter Symbol\"},{code:\"1F6B1\",desc:\"Non-Potable Water Symbol\"},{code:\"1F6B7\",desc:\"No Pedestrians\"},{code:\"1F4F5\",desc:\"No Mobile Phones\"},{code:\"1F51E\",desc:\"No One Under Eighteen Symbol\"},{code:\"2B06\",desc:\"Upwards Black Arrow\"},{code:\"2197\",desc:\"North East Arrow\"},{code:\"27A1\",desc:\"Black Rightwards Arrow\"},{code:\"2198\",desc:\"South East Arrow\"},{code:\"2B07\",desc:\"Downwards Black Arrow\"},{code:\"2199\",desc:\"South West Arrow\"},{code:\"2B05\",desc:\"Leftwards Black Arrow\"},{code:\"2196\",desc:\"North West Arrow\"},{code:\"2195\",desc:\"Up Down Arrow\"},{code:\"2194\",desc:\"Left Right Arrow\"},{code:\"21A9\",desc:\"Leftwards Arrow with Hook\"},{code:\"21AA\",desc:\"Rightwards Arrow with Hook\"},{code:\"2934\",desc:\"Arrow Pointing Rightwards Then Curving Upwards\"},{code:\"2935\",desc:\"Arrow Pointing Rightwards Then Curving Downwards\"},{code:\"1F503\",desc:\"Clockwise Downwards and Upwards Open Circle Arrows\"},{code:\"1F504\",desc:\"Anticlockwise Downwards and Upwards Open Circle Arrows\"},{code:\"1F519\",desc:\"Back with Leftwards Arrow Above\"},{code:\"1F51A\",desc:\"End with Leftwards Arrow Above\"},{code:\"1F51B\",desc:\"On with Exclamation Mark with Left Right Arrow Above\"},{code:\"1F51C\",desc:\"Soon with Rightwards Arrow Above\"},{code:\"1F51D\",desc:\"Top with Upwards Arrow Above\"},{code:\"1F52F\",desc:\"Six Pointed Star with Middle Dot\"},{code:\"2648\",desc:\"Aries\"},{code:\"2649\",desc:\"Taurus\"},{code:\"264A\",desc:\"Gemini\"},{code:\"264B\",desc:\"Cancer\"},{code:\"264C\",desc:\"Leo\"},{code:\"264D\",desc:\"Virgo\"},{code:\"264E\",desc:\"Libra\"},{code:\"264F\",desc:\"Scorpius\"},{code:\"2650\",desc:\"Sagittarius\"},{code:\"2651\",desc:\"Capricorn\"},{code:\"2652\",desc:\"Aquarius\"},{code:\"2653\",desc:\"Pisces\"},{code:\"26CE\",desc:\"Ophiuchus\"},{code:\"1F500\",desc:\"Twisted Rightwards Arrows\"},{code:\"1F501\",desc:\"Clockwise Rightwards and Leftwards Open Circle Arrows\"},{code:\"1F502\",desc:\"Clockwise Rightwards and Leftwards Open Circle Arrows with Circled One Overlay\"},{code:\"25B6\",desc:\"Black Right-Pointing Triangle\"},{code:\"23E9\",desc:\"Black Right-Pointing Double Triangle\"},{code:\"25C0\",desc:\"Black Left-Pointing Triangle\"},{code:\"23EA\",desc:\"Black Left-Pointing Double Triangle\"},{code:\"1F53C\",desc:\"Up-Pointing Small Red Triangle\"},{code:\"23EB\",desc:\"Black Up-Pointing Double Triangle\"},{code:\"1F53D\",desc:\"Down-Pointing Small Red Triangle\"},{code:\"23EC\",desc:\"Black Down-Pointing Double Triangle\"},{code:\"1F3A6\",desc:\"Cinema\"},{code:\"1F505\",desc:\"Low Brightness Symbol\"},{code:\"1F506\",desc:\"High Brightness Symbol\"},{code:\"1F4F6\",desc:\"Antenna with Bars\"},{code:\"1F4F3\",desc:\"Vibration Mode\"},{code:\"1F4F4\",desc:\"Mobile Phone off\"},{code:\"267B\",desc:\"Black Universal Recycling Symbol\"},{code:\"1F531\",desc:\"Trident Emblem\"},{code:\"1F4DB\",desc:\"Name Badge\"},{code:\"1F530\",desc:\"Japanese Symbol for Beginner\"},{code:\"2B55\",desc:\"Heavy Large Circle\"},{code:\"2705\",desc:\"White Heavy Check Mark\"},{code:\"2611\",desc:\"Ballot Box with Check\"},{code:\"2714\",desc:\"Heavy Check Mark\"},{code:\"2716\",desc:\"Heavy Multiplication X\"},{code:\"274C\",desc:\"Cross Mark\"},{code:\"274E\",desc:\"Negative Squared Cross Mark\"},{code:\"2795\",desc:\"Heavy Plus Sign\"},{code:\"2796\",desc:\"Heavy Minus Sign\"},{code:\"2797\",desc:\"Heavy Division Sign\"},{code:\"27B0\",desc:\"Curly Loop\"},{code:\"27BF\",desc:\"Double Curly Loop\"},{code:\"303D\",desc:\"Part Alternation Mark\"},{code:\"2733\",desc:\"Eight Spoked Asterisk\"},{code:\"2734\",desc:\"Eight Pointed Black Star\"},{code:\"2747\",desc:\"Sparkle\"},{code:\"203C\",desc:\"Double Exclamation Mark\"},{code:\"2049\",desc:\"Exclamation Question Mark\"},{code:\"2753\",desc:\"Black Question Mark Ornament\"},{code:\"2754\",desc:\"White Question Mark Ornament\"},{code:\"2755\",desc:\"White Exclamation Mark Ornament\"},{code:\"2757\",desc:\"Heavy Exclamation Mark Symbol\"},{code:\"3030\",desc:\"Wavy Dash\"},{code:\"2122\",desc:\"Trade Mark Sign\"},{code:\"1F51F\",desc:\"Keycap Ten\"},{code:\"1F4AF\",desc:\"Hundred Points Symbol\"},{code:\"1F520\",desc:\"Input Symbol for Latin Capital Letters\"},{code:\"1F521\",desc:\"Input Symbol for Latin Small Letters\"},{code:\"1F522\",desc:\"Input Symbol for Numbers\"},{code:\"1F523\",desc:\"Input Symbol for Symbols\"},{code:\"1F524\",desc:\"Input Symbol for Latin Letters\"},{code:\"1F170\",desc:\"Negative Squared Latin Capital Letter a\"},{code:\"1F18E\",desc:\"Negative Squared Ab\"},{code:\"1F171\",desc:\"Negative Squared Latin Capital Letter B\"},{code:\"1F191\",desc:\"Squared Cl\"},{code:\"1F192\",desc:\"Squared Cool\"},{code:\"1F193\",desc:\"Squared Free\"},{code:\"2139\",desc:\"Information Source\"},{code:\"1F194\",desc:\"Squared Id\"},{code:\"24C2\",desc:\"Circled Latin Capital Letter M\"},{code:\"1F195\",desc:\"Squared New\"},{code:\"1F196\",desc:\"Squared Ng\"},{code:\"1F17E\",desc:\"Negative Squared Latin Capital Letter O\"},{code:\"1F197\",desc:\"Squared Ok\"},{code:\"1F17F\",desc:\"Negative Squared Latin Capital Letter P\"},{code:\"1F198\",desc:\"Squared Sos\"},{code:\"1F199\",desc:\"Squared Up with Exclamation Mark\"},{code:\"1F19A\",desc:\"Squared Vs\"},{code:\"1F201\",desc:\"Squared Katakana Koko\"},{code:\"1F202\",desc:\"Squared Katakana Sa\"},{code:\"1F237\",desc:\"Squared Cjk Unified Ideograph-6708\"},{code:\"1F236\",desc:\"Squared Cjk Unified Ideograph-6709\"},{code:\"1F22F\",desc:\"Squared Cjk Unified Ideograph-6307\"},{code:\"1F250\",desc:\"Circled Ideograph Advantage\"},{code:\"1F239\",desc:\"Squared Cjk Unified Ideograph-5272\"},{code:\"1F21A\",desc:\"Squared Cjk Unified Ideograph-7121\"},{code:\"1F232\",desc:\"Squared Cjk Unified Ideograph-7981\"},{code:\"1F251\",desc:\"Circled Ideograph Accept\"},{code:\"1F238\",desc:\"Squared Cjk Unified Ideograph-7533\"},{code:\"1F234\",desc:\"Squared Cjk Unified Ideograph-5408\"},{code:\"1F233\",desc:\"Squared Cjk Unified Ideograph-7a7a\"},{code:\"3297\",desc:\"Circled Ideograph Congratulation\"},{code:\"3299\",desc:\"Circled Ideograph Secret\"},{code:\"1F23A\",desc:\"Squared Cjk Unified Ideograph-55b6\"},{code:\"1F235\",desc:\"Squared Cjk Unified Ideograph-6e80\"},{code:\"25AA\",desc:\"Black Small Square\"},{code:\"25AB\",desc:\"White Small Square\"},{code:\"25FB\",desc:\"White Medium Square\"},{code:\"25FC\",desc:\"Black Medium Square\"},{code:\"25FD\",desc:\"White Medium Small Square\"},{code:\"25FE\",desc:\"Black Medium Small Square\"},{code:\"2B1B\",desc:\"Black Large Square\"},{code:\"2B1C\",desc:\"White Large Square\"},{code:\"1F536\",desc:\"Large Orange Diamond\"},{code:\"1F537\",desc:\"Large Blue Diamond\"},{code:\"1F538\",desc:\"Small Orange Diamond\"},{code:\"1F539\",desc:\"Small Blue Diamond\"},{code:\"1F53A\",desc:\"Up-Pointing Red Triangle\"},{code:\"1F53B\",desc:\"Down-Pointing Red Triangle\"},{code:\"1F4A0\",desc:\"Diamond Shape with a Dot Inside\"},{code:\"1F518\",desc:\"Radio Button\"},{code:\"1F532\",desc:\"Black Square Button\"},{code:\"1F533\",desc:\"White Square Button\"},{code:\"26AA\",desc:\"Medium White Circle\"},{code:\"26AB\",desc:\"Medium Black Circle\"},{code:\"1F534\",desc:\"Large Red Circle\"},{code:\"1F535\",desc:\"Large Blue Circle\"}]},{id:\"flags\",name:\"Flags\",code:\"1F3C1\",emoticons:[{code:\"1f3c1\",desc:\"Chequered Flag\"},{code:\"1f1e8-1f1f3\",desc:\"China Flag\"},{code:\"1f38c\",desc:\"Crossed Flags\"},{code:\"1f1e9-1f1ea\",desc:\"Germany Flag\"},{code:\"1f1ea-1f1f8\",desc:\"Spain Flag\"},{code:\"1f1e6-1f1e8\",desc:\"Ascension Island Flag\"},{code:\"1f1e6-1f1e9\",desc:\"Andorra Flag\"},{code:\"1f1e6-1f1ea\",desc:\"United Arab Emirates Flag\"},{code:\"1f1e6-1f1eb\",desc:\"Afghanistan Flag\"},{code:\"1f1e6-1f1ec\",desc:\"Antigua & Barbuda Flag\"},{code:\"1f1e6-1f1ee\",desc:\"Anguilla Flag\"},{code:\"1f1e6-1f1f1\",desc:\"Albania Flag\"},{code:\"1f1e6-1f1f2\",desc:\"Armenia Flag\"},{code:\"1f1e6-1f1f4\",desc:\"Angola Flag\"},{code:\"1f1e6-1f1f6\",desc:\"Antarctica Flag\"},{code:\"1f1e6-1f1f7\",desc:\"Argentina Flag\"},{code:\"1f1e6-1f1f8\",desc:\"American Samoa Flag\"},{code:\"1f1e6-1f1f9\",desc:\"Austria Flag\"},{code:\"1f1e6-1f1fa\",desc:\"Australia Flag\"},{code:\"1f1e6-1f1fc\",desc:\"Aruba Flag\"},{code:\"1f1e6-1f1fd\",desc:\"\\xc5land Islands Flag\"},{code:\"1f1e6-1f1ff\",desc:\"Azerbaijan Flag\"},{code:\"1f1e7-1f1e7\",desc:\"Barbados Flag\"},{code:\"1f1e7-1f1e9\",desc:\"Bangladesh Flag\"},{code:\"1f1e7-1f1ea\",desc:\"Belgium Flag\"},{code:\"1f1e7-1f1eb\",desc:\"Burkina Faso Flag\"},{code:\"1f1e7-1f1ec\",desc:\"Bulgaria Flag\"},{code:\"1f1e7-1f1ed\",desc:\"Bahrain Flag\"},{code:\"1f1e7-1f1ee\",desc:\"Burundi Flag\"},{code:\"1f1e7-1f1ef\",desc:\"Benin Flag\"},{code:\"1f1e7-1f1f1\",desc:\"St. Barth\\xe9lemy Flag\"},{code:\"1f1e7-1f1f2\",desc:\"Bermuda Flag\"},{code:\"1f1e7-1f1f4\",desc:\"Bolivia Flag\"},{code:\"1f1e7-1f1f6\",desc:\"Caribbean Netherlands Flag\"},{code:\"1f1e7-1f1f7\",desc:\"Brazil Flag\"},{code:\"1f1e7-1f1f8\",desc:\"Bahamas Flag\"},{code:\"1f1e7-1f1f9\",desc:\"Bhutan Flag\"},{code:\"1f1e7-1f1fb\",desc:\"Bouvet Island Flag\"},{code:\"1f1e7-1f1fc\",desc:\"Botswana Flag\"},{code:\"1f1e7-1f1fe\",desc:\"Belarus Flag\"},{code:\"1f1e7-1f1ff\",desc:\"Belize Flag\"},{code:\"1f1e8-1f1e6\",desc:\"Canada Flag\"},{code:\"1f1e8-1f1e8\",desc:\"Cocos (keeling) Islands Flag\"},{code:\"1f1e8-1f1e9\",desc:\"Congo - Kinshasa Flag\"},{code:\"1f1e8-1f1eb\",desc:\"Central African Republic Flag\"},{code:\"1f1e8-1f1ec\",desc:\"Congo - Brazzaville Flag\"},{code:\"1f1e8-1f1ed\",desc:\"Switzerland Flag\"},{code:\"1f1e8-1f1ee\",desc:\"C\\xf4te D\\u2019ivoire Flag\"},{code:\"1f1e8-1f1f0\",desc:\"Cook Islands Flag\"},{code:\"1f1e8-1f1f1\",desc:\"Chile Flag\"},{code:\"1f1e8-1f1f2\",desc:\"Cameroon Flag\"},{code:\"1f1e8-1f1f4\",desc:\"Colombia Flag\"},{code:\"1f1e8-1f1f7\",desc:\"Costa Rica Flag\"},{code:\"1f1e8-1f1fa\",desc:\"Cuba Flag\"},{code:\"1f1e8-1f1fb\",desc:\"Cape Verde Flag\"},{code:\"1f1e8-1f1fc\",desc:\"Cura\\xe7ao Flag\"},{code:\"1f1e8-1f1fd\",desc:\"Christmas Island Flag\"},{code:\"1f1e8-1f1fe\",desc:\"Cyprus Flag\"},{code:\"1f1e8-1f1ff\",desc:'Czechia Flag\"'},{code:\"1f1e9-1f1ec\",desc:\"Diego Garcia Flag\"},{code:\"1f1e9-1f1ef\",desc:\"Djibouti Flag\"},{code:\"1f1e9-1f1f0\",desc:\"Denmark Flag\"},{code:\"1f1e9-1f1f2\",desc:\"Dominica Flag\"},{code:\"1f1e9-1f1f4\",desc:\"Dominican Republic Flag\"},{code:\"1f1e9-1f1ff\",desc:\"Algeria Flag\"},{code:\"1f1ea-1f1e6\",desc:\"Ceuta & Melilla Flag\"},{code:\"1f1ea-1f1e8\",desc:\"Ecuador Flag\"},{code:\"1f1ea-1f1ea\",desc:\"Estonia Flag\"},{code:\"1f1ea-1f1ec\",desc:\"Egypt Flag\"},{code:\"1f1ea-1f1ed\",desc:\"Western Sahara Flag\"},{code:\"1f1ea-1f1f7\",desc:\"Eritrea Flag\"},{code:\"1f1ea-1f1f9\",desc:\"Ethiopia Flag\"},{code:\"1f1ea-1f1fa\",desc:\"European Union Flag\"},{code:\"1f1eb-1f1ee\",desc:\"Finland Flag\"},{code:\"1f1eb-1f1ef\",desc:\"Fiji Flag\"},{code:\"1f1eb-1f1f0\",desc:\"Falkland Islands Flag\"},{code:\"1f1eb-1f1f2\",desc:\"Micronesia Flag\"},{code:\"1f1eb-1f1f4\",desc:\"Faroe Islands Flag\"},{code:\"1f1ec-1f1e6\",desc:\"Gabon Flag\"},{code:\"1f1ec-1f1e9\",desc:\"Grenada Flag\"},{code:\"1f1ec-1f1ea\",desc:\"Georgia Flag\"},{code:\"1f1ec-1f1eb\",desc:\"French Guiana Flag\"},{code:\"1f1ec-1f1ec\",desc:\"Guernsey Flag\"},{code:\"1f1ec-1f1ed\",desc:\"Ghana Flag\"},{code:\"1f1ec-1f1ee\",desc:\"Gibraltar Flag\"},{code:\"1f1ec-1f1f1\",desc:\"Greenland Flag\"},{code:\"1f1ec-1f1f2\",desc:\"Gambia Flag\"},{code:\"1f1ec-1f1f3\",desc:\"Guinea Flag\"},{code:\"1f1ec-1f1f5\",desc:\"Guadeloupe Flag\"},{code:\"1f1ec-1f1f6\",desc:\"Equatorial Guinea Flag\"},{code:\"1f1ec-1f1f7\",desc:\"Greece Flag\"},{code:\"1f1ec-1f1f8\",desc:\"South Georgia & South Sandwich Islands Flag\"},{code:\"1f1ec-1f1f9\",desc:\"Guatemala Flag\"},{code:\"1f1ec-1f1fa\",desc:\"Guam Flag\"},{code:\"1f1ec-1f1fc\",desc:\"Guinea-Bissau Flag\"},{code:\"1f1ec-1f1fe\",desc:\"Guyana Flag\"},{code:\"1f1ed-1f1f0\",desc:\"Hong Kong Sar China Flag\"},{code:\"1f1ed-1f1f2\",desc:\"Heard & Mcdonald Islands Flag\"},{code:\"1f1ed-1f1f3\",desc:\"Honduras Flag\"},{code:\"1f1ed-1f1f7\",desc:\"Croatia Flag\"},{code:\"1f1ed-1f1f9\",desc:\"Haiti Flag\"},{code:\"1f1ed-1f1fa\",desc:\"Hungary Flag\"},{code:\"1f1ee-1f1e8\",desc:\"Canary Islands Flag\"},{code:\"1f1ee-1f1e9\",desc:\"Indonesia Flag\"},{code:\"1f1ee-1f1ea\",desc:\"Ireland Flag\"},{code:\"1f1ee-1f1f1\",desc:\"Israel Flag\"},{code:\"1f1ee-1f1f2\",desc:\"Isle of Man Flag\"},{code:\"1f1ee-1f1f3\",desc:\"India Flag\"},{code:\"1f1ee-1f1f4\",desc:\"British Indian Ocean Territory Flag\"},{code:\"1f1ee-1f1f6\",desc:\"Iraq Flag\"},{code:\"1f1ee-1f1f7\",desc:\"Iran Flag\"},{code:\"1f1ee-1f1f8\",desc:\"Iceland Flag\"},{code:\"1f1ef-1f1ea\",desc:\"Jersey Flag\"},{code:\"1f1ef-1f1f2\",desc:\"Jamaica Flag\"},{code:\"1f1ef-1f1f4\",desc:\"Jordan Flag\"},{code:\"1f1f0-1f1ea\",desc:\"Kenya Flag\"},{code:\"1f1f0-1f1ec\",desc:\"Kyrgyzstan Flag\"},{code:\"1f1f0-1f1ed\",desc:\"Cambodia Flag\"},{code:\"1f1f0-1f1ee\",desc:\"Kiribati Flag\"},{code:\"1f1f0-1f1f2\",desc:\"Comoros Flag\"},{code:\"1f1f0-1f1f3\",desc:\"St. Kitts & Nevis Flag\"},{code:\"1f1f0-1f1f5\",desc:\"North Korea Flag\"},{code:\"1f1f0-1f1fc\",desc:\"Kuwait Flag\"},{code:\"1f1f0-1f1fe\",desc:\"Cayman Islands Flag\"},{code:\"1f1f0-1f1ff\",desc:\"Kazakhstan Flag\"},{code:\"1f1f1-1f1e6\",desc:\"Laos Flag\"},{code:\"1f1f1-1f1e7\",desc:\"Lebanon Flag\"},{code:\"1f1f1-1f1e8\",desc:\"St. Lucia Flag\"},{code:\"1f1f1-1f1ee\",desc:\"Liechtenstein Flag\"},{code:\"1f1f1-1f1f0\",desc:\"Sri Lanka Flag\"},{code:\"1f1f1-1f1f7\",desc:\"Liberia Flag\"},{code:\"1f1f1-1f1f8\",desc:\"Lesotho Flag\"},{code:\"1f1f1-1f1f9\",desc:\"Lithuania Flag\"},{code:\"1f1f1-1f1fa\",desc:\"Luxembourg Flag\"},{code:\"1f1f1-1f1fb\",desc:\"Latvia Flag\"},{code:\"1f1f1-1f1fe\",desc:\"Libya Flag\"},{code:\"1f1f2-1f1e6\",desc:\"Morocco Flag\"},{code:\"1f1f2-1f1e8\",desc:\"Monaco Flag\"},{code:\"1f1f2-1f1e9\",desc:\"Moldova Flag\"},{code:\"1f1f2-1f1ea\",desc:\"Montenegro Flag\"},{code:\"1f1f2-1f1eb\",desc:\"St. Martin Flag\"},{code:\"1f1f2-1f1ec\",desc:\"Madagascar Flag\"},{code:\"1f1f2-1f1ed\",desc:\"Marshall Islands Flag\"},{code:\"1f1f2-1f1f0\",desc:\"Macedonia Flag\"},{code:\"1f1f2-1f1f1\",desc:\"Mali Flag\"},{code:\"1f1f2-1f1f2\",desc:\"Myanmar (burma) Flag\"},{code:\"1f1f2-1f1f3\",desc:\"Mongolia Flag\"},{code:\"1f1f2-1f1f4\",desc:\"Macau Sar China Flag\"},{code:\"1f1f2-1f1f5\",desc:\"Northern Mariana Islands Flag\"},{code:\"1f1f2-1f1f6\",desc:\"Martinique Flag\"},{code:\"1f1f2-1f1f7\",desc:\"Mauritania Flag\"},{code:\"1f1f2-1f1f8\",desc:\"Montserrat Flag\"},{code:\"1f1f2-1f1f9\",desc:\"Malta Flag\"},{code:\"1f1f2-1f1fa\",desc:\"Mauritius Flag\"},{code:\"1f1f2-1f1fb\",desc:\"Maldives Flag\"},{code:\"1f1f2-1f1fc\",desc:\"Malawi Flag\"},{code:\"1f1f2-1f1fd\",desc:\"Mexico Flag\"},{code:\"1f1f2-1f1fe\",desc:\"Malaysia Flag\"},{code:\"1f1f2-1f1ff\",desc:\"Mozambique Flag\"},{code:\"1f1f3-1f1e6\",desc:\"Namibia Flag\"},{code:\"1f1f3-1f1e8\",desc:\"New Caledonia Flag\"},{code:\"1f1f3-1f1ea\",desc:\"Niger Flag\"},{code:\"1f1f3-1f1eb\",desc:\"Norfolk Island Flag\"},{code:\"1f1f3-1f1ec\",desc:\"Nigeria Flag\"},{code:\"1f1f3-1f1ee\",desc:\"Nicaragua Flag\"},{code:\"1f1f3-1f1f1\",desc:\"Netherlands Flag\"},{code:\"1f1f3-1f1f4\",desc:\"Norway Flag\"},{code:\"1f1f3-1f1f5\",desc:\"Nepal Flag\"},{code:\"1f1f3-1f1f7\",desc:\"Nauru Flag\"},{code:\"1f1f3-1f1fa\",desc:\"Niue Flag\"},{code:\"1f1f3-1f1ff\",desc:\"New Zealand Flag\"},{code:\"1f1f4-1f1f2\",desc:\"Oman Flag\"},{code:\"1f1f8-1f1ff\",desc:\"Swaziland Flag\"},{code:\"1f1f5-1f1e6\",desc:\"Panama Flag\"},{code:\"1f1f5-1f1ea\",desc:\"Peru Flag\"},{code:\"1f1f5-1f1eb\",desc:\"French Polynesia Flag\"},{code:\"1f1f5-1f1ec\",desc:\"Papua New Guinea Flag\"},{code:\"1f1f5-1f1ed\",desc:\"Philippines Flag\"},{code:\"1f1f5-1f1f0\",desc:\"Pakistan Flag\"},{code:\"1f1f5-1f1f1\",desc:\"Poland Flag\"},{code:\"1f1f5-1f1f2\",desc:\"St. Pierre & Miquelon  Flag\"},{code:\"1f1f5-1f1f3\",desc:\"Pitcairn Islands Flag\"},{code:\"1f1f5-1f1f7\",desc:\"Puerto Rico Flag\"},{code:\"1f1f5-1f1f8\",desc:\"Palestinian Territories Flag\"},{code:\"1f1f5-1f1f9\",desc:\"Portugal Flag\"},{code:\"1f1f5-1f1fc\",desc:\"Palau Flag\"},{code:\"1f1f5-1f1fe\",desc:\"Paraguay Flag\"},{code:\"1f1f6-1f1e6\",desc:\"Qatar Flag\"},{code:\"1f1f7-1f1ea\",desc:\"R\\xe9union Flag\"},{code:\"1f1f7-1f1f4\",desc:\"Romania Flag\"},{code:\"1f1f7-1f1f8\",desc:\"Serbia Flag\"},{code:\"1f1f7-1f1fc\",desc:\"Rwanda Flag\"},{code:\"1f1f8-1f1e6\",desc:\"Saudi Arabia Flag\"},{code:\"1f1f8-1f1e7\",desc:\"Solomon Islands Flag\"},{code:\"1f1f8-1f1e8\",desc:\"Seychelles Flag\"},{code:\"1f1f8-1f1e9\",desc:\"Sudan Flag\"},{code:\"1f1f8-1f1ea\",desc:\"Sweden Flag\"},{code:\"1f1f8-1f1ec\",desc:\"Singapore Flag\"},{code:\"1f1f8-1f1ee\",desc:\"Slovenia Flag\"},{code:\"1f1f8-1f1ed\",desc:\"St. Helena  Flag\"},{code:\"1f1f8-1f1ef\",desc:\"Svalbard & Jan Mayen  Flag\"},{code:\"1f1f8-1f1f1\",desc:\"Sierra Leone Flag\"},{code:\"1f1f8-1f1f2\",desc:\"San Marino Flag\"},{code:\"1f1f8-1f1f3\",desc:\"Senegal Flag\"},{code:\"1f1f8-1f1f4\",desc:\"Somalia Flag\"},{code:\"1f1f8-1f1f7\",desc:\"Suriname Flag\"},{code:\"1f1f8-1f1f8\",desc:\"South Sudan  Flag\"},{code:\"1f1f8-1f1f9\",desc:\"S\\xe3o Tom\\xe9 & Pr\\xedncipe Flag\"},{code:\"1f1f8-1f1fb\",desc:\"El Salvador Flag\"},{code:\"1f1f8-1f1fd\",desc:\"Sint Maarten Flag\"},{code:\"1f1f8-1f1fe\",desc:\"Syria Flag\"},{code:\"1f1f9-1f1e6\",desc:\"Tristan Da Cunha Flag\"},{code:\"1f1f9-1f1e8\",desc:\"Turks & Caicos Islands  Flag\"},{code:\"1f1f9-1f1eb\",desc:\"French Southern Territories Flag\"},{code:\"1f1f9-1f1ec\",desc:\"Togo Flag\"},{code:\"1f1f9-1f1ed\",desc:\"Thailand Flag\"},{code:\"1f1f9-1f1ef\",desc:\"Tajikistan Flag\"},{code:\"1f1f9-1f1f0\",desc:\"Tokelau Flag\"},{code:\"1f1f9-1f1f1\",desc:\"Timor-Leste Flag\"},{code:\"1f1f9-1f1f2\",desc:\"Turkmenistan Flag\"},{code:\"1f1f9-1f1f3\",desc:\"Tunisia Flag\"},{code:\"1f1f9-1f1f4\",desc:\"Tonga Flag\"},{code:\"1f1f9-1f1f7\",desc:\"Turkey Flag\"},{code:\"1f1f9-1f1f9\",desc:\"Trinidad & Tobago Flag\"},{code:\"1f1f9-1f1fb\",desc:\"Tuvalu Flag\"},{code:\"1f1f9-1f1fc\",desc:\"Taiwan Flag\"},{code:\"1f1f9-1f1ff\",desc:\"Tanzania Flag\"},{code:\"1f1fa-1f1e6\",desc:\"Ukraine City  Flag\"},{code:\"1f1fa-1f1ec\",desc:\"Uganda Flag\"},{code:\"1f1fa-1f1f2\",desc:\"U.s. Outlying Islands  Flag\"},{code:\"1f1fa-1f1fe\",desc:\"Uruguay  Flag\"},{code:\"1f1fa-1f1ff\",desc:\"Uzbekistan Flag\"},{code:\"1f1fb-1f1e6\",desc:\"Vatican City  Flag\"},{code:\"1f1fb-1f1e8\",desc:\"St. Vincent & Grenadines Flag\"},{code:\"1f1fb-1f1ea\",desc:\"Venezuela Flag\"},{code:\"1f1fb-1f1ec\",desc:\"British Virgin Islands Flag\"},{code:\"1f1fb-1f1ee\",desc:\"U.s. Virgin Islands Flag\"},{code:\"1f1fb-1f1f3\",desc:\"Vietnam Flag\"},{code:\"1f1fc-1f1f8\",desc:\"Samoa Flag\"},{code:\"1f1fb-1f1fa\",desc:\"Vanuatu Flag\"},{code:\"1f1fc-1f1eb\",desc:'\"Wallis & Futuna Flag'},{code:\"1f1fd-1f1f0\",desc:\"Kosovo Flag\"},{code:\"1f1fe-1f1ea\",desc:\"Yemen Flag\"},{code:\"1f1fe-1f1f9\",desc:\"Mayotte Flag\"},{code:\"1f1ff-1f1e6\",desc:\"South Africa Flag\"},{code:\"1f1ff-1f1f2\",desc:\"Zambia Flag\"},{code:\"1f1ff-1f1fc\",desc:\"Zimbabwe Flag\"},{code:\"1f1eb-1f1f7\",desc:\"France Flag\"},{code:\"1f1ec-1f1e7\",desc:\"United Kingdom  Flag\"},{code:\"1f1ee-1f1f9\",desc:\"Italy Flag\"},{code:\"1f1ef-1f1f5\",desc:\"Japan Flag\"},{code:\"1f1f0-1f1f7\",desc:\"South Korea Flag\"},{code:\"1f1f7-1f1fa\",desc:\"Russia Flag\"},{code:\"1F6A9\",desc:\"Triangular Flag on Post\"},{code:\"1f1fa-1f1f8\",desc:\"United States Flag\"}]}],emoticonsButtons:[\"emoticonsBack\",\"|\"],emoticonsUseImage:!0}),S.PLUGINS.emoticons=function(m){var C=m.$,a=m.opts.emoticonsSet,s=a&&a[0],f=\"\";function i(){if(!m.selection.isCollapsed())return!1;var e=m.selection.element(),c=m.selection.endElement();if(e&&m.node.hasClass(e,\"fr-emoticon\"))return e;if(c&&m.node.hasClass(c,\"fr-emoticon\"))return c;var d=m.selection.ranges(0),o=d.startContainer;if(o.nodeType==Node.ELEMENT_NODE&&0<o.childNodes.length&&0<d.startOffset){var a=o.childNodes[d.startOffset-1];if(m.node.hasClass(a,\"fr-emoticon\"))return a}return!1}function n(){return\"\".concat(function o(e,c){return'<div class=\"fr-buttons fr-tabs fr-tabs-scroll\">\\n                        '.concat(function d(e,o){var a=\"\";return e.forEach(function(e){var c={image:e.code.toLowerCase()},d={elementClass:e.id===o.id?\"fr-active fr-active-tab\":\"\",emoticonsUnicodeClass:m.opts.emoticonsUseImage?\"\":\"fr-tabs-unicode\",title:m.language.translate(e.name),dataCmd:\"setEmoticonCategory\",dataParam1:e.id,image:m.opts.emoticonsUseImage?'<img src=\"https://cdnjs.cloudflare.com/ajax/libs/emojione/2.0.1/assets/svg/'.concat(c.image,'.svg\"/>'):\"&#x\".concat(c.image,\";\")};a+='<button class=\"fr-command fr-btn '.concat(d.elementClass,\" \").concat(d.emoticonsUnicodeClass,'\" \\n      title=\"').concat(d.title,'\" data-cmd=\"').concat(d.dataCmd,'\" data-param1=\"').concat(d.dataParam1,'\">\\n       ').concat(d.image,\" </button>\")}),a}(e,c),\"\\n                        </div>\")}(a,s),\"\\n                      \").concat(function d(e){return'\\n        <div class=\"fr-icon-container fr-emoticon-container\">\\n            '.concat(function c(e){var a=\"\";return e.emoticons.forEach(function(e){var c=e.code.split(\"-\").reduce(function(e,c){return e?\"\".concat(e,\"&zwj;&#x\").concat(c.toLowerCase(),\";\"):\"&#x\".concat(c.toLowerCase(),\";\")},\"\"),d={image:e.code.toLowerCase(),compiledCode:e.uCode?e.uCode:c},o={dataParam1:e.code.toLowerCase(),dataParam2:d.compiledCode,title:m.language.translate(e.desc),image:m.opts.emoticonsUseImage?'<img src=\"https://cdnjs.cloudflare.com/ajax/libs/emojione/2.0.1/assets/svg/'.concat(d.image,'.svg\"/>'):\"\".concat(d.compiledCode),desc:m.language.translate(e.desc)};a+='<span class=\"fr-command fr-emoticon fr-icon\" role=\"button\" \\n      data-cmd=\"insertEmoticon\" data-param1=\"'.concat(o.dataParam1,'\" \\n      data-param2=\"').concat(o.dataParam2,'\"  title=\"').concat(o.title,'\" >\\n      ').concat(o.image,'<span class=\"fr-sr-only\">').concat(o.desc,\"&nbsp;&nbsp;&nbsp;</span></span>\")}),a}(e),\"\\n        </div>\\n        \")}(s),\"\\n                      \").concat(function e(){return m.opts.emoticonsUseImage?'<p style=\"font-size: 12px; text-align: center; padding: 0 5px;\">Emoji free by <a class=\"fr-link\" tabIndex=\"-1\" href=\"http://emojione.com/\" target=\"_blank\" rel=\"nofollow noopener noreferrer\" role=\"link\" aria-label=\"Open Emoji One website.\">Emoji One</a></p>':\"\"}())}return{_init:function e(){var d=function d(){for(var e=m.el.querySelectorAll(\".fr-emoticon:not(.fr-deletable)\"),c=0;c<e.length;c++)e[c].className+=\" fr-deletable\"};d(),m.events.on(\"html.set\",d),m.events.on(\"keydown\",function(e){if(m.keys.isCharacter(e.which)&&m.selection.inEditor()){var c=m.selection.ranges(0),d=i();m.node.hasClass(d,\"fr-emoticon-img\")&&d&&(0===c.startOffset&&m.selection.element()===d?C(d).before(S.MARKERS+S.INVISIBLE_SPACE):C(d).after(S.INVISIBLE_SPACE+S.MARKERS),m.selection.restore())}}),m.events.on(\"keyup\",function(e){for(var c=m.el.querySelectorAll(\".fr-emoticon\"),d=0;d<c.length;d++)\"undefined\"!=typeof c[d].textContent&&0===c[d].textContent.replace(/\\u200B/gi,\"\").length&&C(c[d]).remove();if(!(e.which>=S.KEYCODE.ARROW_LEFT&&e.which<=S.KEYCODE.ARROW_DOWN)){var o=i();m.node.hasClass(o,\"fr-emoticon-img\")&&(C(o).append(S.MARKERS),m.selection.restore())}})},insert:function t(e,c){var d=i(),o=m.selection.ranges(0);d?(0===o.startOffset&&m.selection.element()===d?C(d).before(S.MARKERS+S.INVISIBLE_SPACE):0<o.startOffset&&m.selection.element()===d&&o.commonAncestorContainer.parentNode.classList.contains(\"fr-emoticon\")&&C(d).after(S.INVISIBLE_SPACE+S.MARKERS),m.selection.restore(),m.html.insert('<span class=\"fr-emoticon fr-deletable'.concat(c?\" fr-emoticon-img\":\"\",'\"').concat(c?' style=\"background: url('.concat(c,');\"'):\"\",\">\").concat(c?\"&nbsp;\":e,\"</span>&nbsp;\").concat(S.MARKERS),!0)):m.html.insert('<span class=\"fr-emoticon fr-deletable'.concat(c?\" fr-emoticon-img\":\"\",'\"').concat(c?' style=\"background: url('.concat(c,');\"'):\"\",\">\").concat(c?\"&nbsp;\":e,\"</span>&nbsp;\"),!0)},setEmoticonCategory:function d(c){s=a.filter(function(e){return e.id===c})[0],function e(){m.popups.get(\"emoticons\").html(f+n())}()},showEmoticonsPopup:function l(){var e=m.popups.get(\"emoticons\");if(e||(e=function s(){m.opts.toolbarInline&&0<m.opts.emoticonsButtons.length&&(f='<div class=\"fr-buttons fr-emoticons-buttons fr-tabs\">'.concat(m.button.buildList(m.opts.emoticonsButtons),\"</div>\"));var e={buttons:f,custom_layer:n()},c=m.popups.create(\"emoticons\",e);return function d(h){m.events.on(\"popup.tab\",function(e){var c=C(e.currentTarget);if(!m.popups.isVisible(\"emoticons\")||!c.is(\"span, a\"))return!0;var d,o,a,s=e.which;if(S.KEYCODE.TAB==s){if(c.is(\"span.fr-emoticon\")&&e.shiftKey||c.is(\"a\")&&!e.shiftKey){var f=h.find(\".fr-buttons\");d=!m.accessibility.focusToolbar(f,!!e.shiftKey)}if(!1!==d){var i=h.find(\"span.fr-emoticon:focus\").first().concat(h.findVisible(\" div.fr-tabs\").first().concat(h.find(\"a\")));c.is(\"span.fr-emoticon\")&&(i=i.not(\"span.fr-emoticon:not(:focus)\")),o=i.index(c),o=e.shiftKey?((o-1)%i.length+i.length)%i.length:(o+1)%i.length,a=i.get(o),m.events.disableBlur(),a.focus(),d=!1}}else if(S.KEYCODE.ARROW_UP==s||S.KEYCODE.ARROW_DOWN==s||S.KEYCODE.ARROW_LEFT==s||S.KEYCODE.ARROW_RIGHT==s){if(c.is(\"span.fr-emoticon\")){var n=c.parent().find(\"span.fr-emoticon\");o=n.index(c);var t=m.opts.emoticonsStep,l=Math.floor(n.length/t),r=o%t,F=Math.floor(o/t),g=F*t+r,u=l*t;S.KEYCODE.ARROW_UP==s?g=((g-t)%u+u)%u:S.KEYCODE.ARROW_DOWN==s?g=(g+t)%u:S.KEYCODE.ARROW_LEFT==s?g=((g-1)%u+u)%u:S.KEYCODE.ARROW_RIGHT==s&&(g=(g+1)%u),a=C(n.get(g)),m.events.disableBlur(),a.focus(),d=!1}}else S.KEYCODE.ENTER==s&&(c.is(\"a\")?c[0].click():m.button.exec(c),d=!1);return!1===d&&(e.preventDefault(),e.stopPropagation()),d},!0)}(c),c}()),!e.hasClass(\"fr-active\")){m.popups.refresh(\"emoticons\"),m.popups.setContainer(\"emoticons\",m.$tb);var c=m.$tb.find('.fr-command[data-cmd=\"emoticons\"]'),d=m.button.getPosition(c),o=d.left,a=d.top;m.popups.show(\"emoticons\",o,a,c.outerHeight())}},back:function c(){m.popups.hide(\"emoticons\"),m.toolbar.showInline()}}},S.DefineIcon(\"emoticons\",{NAME:\"smile-o\",FA5NAME:\"smile\",SVG_KEY:\"smile\"}),S.RegisterCommand(\"emoticons\",{title:\"Emoticons\",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible(\"emoticons\")?(this.$el.find(\".fr-marker\").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide(\"emoticons\")):this.emoticons.showEmoticonsPopup()},plugin:\"emoticons\"}),S.RegisterCommand(\"insertEmoticon\",{callback:function(e,c,d){this.emoticons.insert(d,this.opts.emoticonsUseImage?\"https://cdnjs.cloudflare.com/ajax/libs/emojione/2.0.1/assets/svg/\".concat(c,\".svg\"):null),this.popups.hide(\"emoticons\")}}),S.RegisterCommand(\"setEmoticonCategory\",{undo:!1,focus:!1,callback:function(e,c){this.emoticons.setEmoticonCategory(c)}}),S.DefineIcon(\"emoticonsBack\",{NAME:\"arrow-left\",SVG_KEY:\"back\"}),S.RegisterCommand(\"emoticonsBack\",{title:\"Back\",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.emoticons.back()}})});","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n!function(e,a){\"object\"==typeof exports&&\"undefined\"!=typeof module?a(require(\"froala-editor\")):\"function\"==typeof define&&define.amd?define([\"froala-editor\"],a):a(e.FroalaEditor)}(this,function(e){\"use strict\";e=e&&e.hasOwnProperty(\"default\")?e[\"default\"]:e,Object.assign(e.DEFAULTS,{entities:\"&quot;&#39;&iexcl;&cent;&pound;&curren;&yen;&brvbar;&sect;&uml;&copy;&ordf;&laquo;&not;&shy;&reg;&macr;&deg;&plusmn;&sup2;&sup3;&acute;&micro;&para;&middot;&cedil;&sup1;&ordm;&raquo;&frac14;&frac12;&frac34;&iquest;&Agrave;&Aacute;&Acirc;&Atilde;&Auml;&Aring;&AElig;&Ccedil;&Egrave;&Eacute;&Ecirc;&Euml;&Igrave;&Iacute;&Icirc;&Iuml;&ETH;&Ntilde;&Ograve;&Oacute;&Ocirc;&Otilde;&Ouml;&times;&Oslash;&Ugrave;&Uacute;&Ucirc;&Uuml;&Yacute;&THORN;&szlig;&agrave;&aacute;&acirc;&atilde;&auml;&aring;&aelig;&ccedil;&egrave;&eacute;&ecirc;&euml;&igrave;&iacute;&icirc;&iuml;&eth;&ntilde;&ograve;&oacute;&ocirc;&otilde;&ouml;&divide;&oslash;&ugrave;&uacute;&ucirc;&uuml;&yacute;&thorn;&yuml;&OElig;&oelig;&Scaron;&scaron;&Yuml;&fnof;&circ;&tilde;&Alpha;&Beta;&Gamma;&Delta;&Epsilon;&Zeta;&Eta;&Theta;&Iota;&Kappa;&Lambda;&Mu;&Nu;&Xi;&Omicron;&Pi;&Rho;&Sigma;&Tau;&Upsilon;&Phi;&Chi;&Psi;&Omega;&alpha;&beta;&gamma;&delta;&epsilon;&zeta;&eta;&theta;&iota;&kappa;&lambda;&mu;&nu;&xi;&omicron;&pi;&rho;&sigmaf;&sigma;&tau;&upsilon;&phi;&chi;&psi;&omega;&thetasym;&upsih;&piv;&ensp;&emsp;&thinsp;&zwnj;&zwj;&lrm;&rlm;&ndash;&mdash;&lsquo;&rsquo;&sbquo;&ldquo;&rdquo;&bdquo;&dagger;&Dagger;&bull;&hellip;&permil;&prime;&Prime;&lsaquo;&rsaquo;&oline;&frasl;&euro;&image;&weierp;&real;&trade;&alefsym;&larr;&uarr;&rarr;&darr;&harr;&crarr;&lArr;&uArr;&rArr;&dArr;&hArr;&forall;&part;&exist;&empty;&nabla;&isin;&notin;&ni;&prod;&sum;&minus;&lowast;&radic;&prop;&infin;&ang;&and;&or;&cap;&cup;&int;&there4;&sim;&cong;&asymp;&ne;&equiv;&le;&ge;&sub;&sup;&nsub;&sube;&supe;&oplus;&otimes;&perp;&sdot;&lceil;&rceil;&lfloor;&rfloor;&lang;&rang;&loz;&spades;&clubs;&hearts;&diams;\"}),e.PLUGINS.entities=function(i){var n,o,l=i.$;function r(e){var a=e.textContent;if(a.match(n)){for(var t=\"\",r=0;r<a.length;r++)o[a[r]]?t+=o[a[r]]:t+=a[r];e.textContent=t}}function u(e){if(e&&0<=[\"STYLE\",\"SCRIPT\",\"svg\",\"IFRAME\"].indexOf(e.tagName))return!0;for(var a=i.node.contents(e),t=0;t<a.length;t++)a[t].nodeType===Node.TEXT_NODE?r(a[t]):u(a[t]);return e.nodeType===Node.TEXT_NODE&&r(e),!1}var c=function c(e){return 0===e.length?\"\":i.clean.exec(e,u).replace(/\\&amp;/g,\"&\")};return{_init:function s(){i.opts.htmlSimpleAmpersand||(i.opts.entities=\"\".concat(i.opts.entities,\"&amp;\"));var e=l(document.createElement(\"div\")).html(i.opts.entities).text(),a=i.opts.entities.split(\";\");o={},n=\"\";for(var t=0;t<e.length;t++){var r=e.charAt(t);o[r]=\"\".concat(a[t],\";\"),n+=\"\\\\\".concat(r+(t<e.length-1?\"|\":\"\"))}n=new RegExp(\"(\".concat(n,\")\"),\"g\"),i.events.on(\"html.get\",c,!0)}}}});","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?t(require(\"froala-editor\")):\"function\"==typeof define&&define.amd?define([\"froala-editor\"],t):t(e.FroalaEditor)}(this,function(m){\"use strict\";m=m&&m.hasOwnProperty(\"default\")?m[\"default\"]:m,Object.assign(m.POPUP_TEMPLATES,{\"file.insert\":\"[_BUTTONS_][_UPLOAD_LAYER_][_PROGRESS_BAR_]\"}),Object.assign(m.DEFAULTS,{fileUpload:!0,fileUploadURL:null,fileUploadParam:\"file\",fileUploadParams:{},fileUploadToS3:!1,fileUploadToAzure:!1,fileUploadMethod:\"POST\",fileMaxSize:10485760,fileAllowedTypes:[\"*\"],fileInsertButtons:[\"fileBack\",\"|\"],fileUseSelectedText:!1}),m.PLUGINS.file=function(y){var i,u=y.$,T=\"https://i.froala.com/upload\",c=2,v=3,g=4,A=5,S=6,o={};function P(){var e=y.popups.get(\"file.insert\");e||(e=l()),e.find(\".fr-layer.fr-active\").removeClass(\"fr-active\").addClass(\"fr-pactive\"),e.find(\".fr-file-progress-bar-layer\").addClass(\"fr-active\"),e.find(\".fr-buttons\").hide(),r(y.language.translate(\"Uploading\"),0)}function a(e){var t=y.popups.get(\"file.insert\");t&&(t.find(\".fr-layer.fr-pactive\").addClass(\"fr-active\").removeClass(\"fr-pactive\"),t.find(\".fr-file-progress-bar-layer\").removeClass(\"fr-active\"),t.find(\".fr-buttons\").show(),e&&(y.events.focus(),y.popups.hide(\"file.insert\")))}function r(e,t){var o=y.popups.get(\"file.insert\");if(o){var i=o.find(\".fr-file-progress-bar-layer\");i.find(\"h3\").text(e+(t?\" \".concat(t,\"%\"):\"\")),i.removeClass(\"fr-error\"),t?(i.find(\"div\").removeClass(\"fr-indeterminate\"),i.find(\"div > span\").css(\"width\",\"\".concat(t,\"%\"))):i.find(\"div\").addClass(\"fr-indeterminate\")}}function h(e,t,o){y.edit.on(),y.events.focus(!0),y.selection.restore(),y.opts.fileUseSelectedText&&y.selection.text().length&&(t=y.selection.text()),y.html.insert('<a href=\"'.concat(e,'\" target=\"_blank\" id=\"fr-inserted-file\" class=\"fr-file\">').concat(t,\"</a>\"));var i=y.$el.find(\"#fr-inserted-file\");i.removeAttr(\"id\"),y.popups.hide(\"file.insert\"),y.undo.saveStep(),f(),y.events.trigger(\"file.inserted\",[i,o])}function w(e,t,o){var i=this.status,r=this.response,a=this.responseXML,n=this.responseText;try{if(y.opts.fileUploadToS3||y.opts.fileUploadToAzure)if(201===i){var s;if(y.opts.fileUploadToAzure){if(!1===y.events.trigger(\"file.uploadedToAzure\",[this.responseURL,o,r],!0))return y.edit.on(),!1;s=t}else s=function p(e){try{var t=u(e).find(\"Location\").text(),o=u(e).find(\"Key\").text();return!1===y.events.trigger(\"file.uploadedToS3\",[t,o,e],!0)?(y.edit.on(),!1):t}catch(i){return C(g,e),!1}}(a);s&&h(s,e,r||a)}else C(g,r||a);else if(200<=i&&i<300){var l=function f(e){try{if(!1===y.events.trigger(\"file.uploaded\",[e],!0))return y.edit.on(),!1;var t=JSON.parse(e);return t.link?t:(C(c,e),!1)}catch(o){return C(g,e),!1}}(n);l&&h(l.link,e,r||n)}else C(v,r||n)}catch(d){C(g,r||n)}}function R(){C(g,this.response||this.responseText||this.responseXML)}function k(e){if(e.lengthComputable){var t=e.loaded/e.total*100|0;r(y.language.translate(\"Uploading\"),t)}}function C(e,t){y.edit.on(),function i(e){P();var t=y.popups.get(\"file.insert\").find(\".fr-file-progress-bar-layer\");t.addClass(\"fr-error\");var o=t.find(\"h3\");o.text(e),y.events.disableBlur(),o.focus()}(y.language.translate(\"Something went wrong. Please try again.\")),y.events.trigger(\"file.error\",[{code:e,message:o[e]},t])}function x(){y.edit.on(),a(!0)}function n(e){if(void 0!==e&&0<e.length){if(!1===y.events.trigger(\"file.beforeUpload\",[e]))return!1;var t,o=e[0];if(!(null!==y.opts.fileUploadURL&&y.opts.fileUploadURL!==T||y.opts.fileUploadToS3||y.opts.fileUploadToAzure))return function b(r){var a=new FileReader;a.onload=function(){for(var e=a.result,t=atob(a.result.split(\",\")[1]),o=[],i=0;i<t.length;i++)o.push(t.charCodeAt(i));e=window.URL.createObjectURL(new Blob([new Uint8Array(o)],{type:r.type})),y.file.insert(e,r.name,null)},P(),a.readAsDataURL(r)}(o),!1;if(o.size>y.opts.fileMaxSize)return C(A),!1;if(y.opts.fileAllowedTypes.indexOf(\"*\")<0&&y.opts.fileAllowedTypes.indexOf(o.type.replace(/file\\//g,\"\"))<0)return C(S),!1;if(y.drag_support.formdata&&(t=y.drag_support.formdata?new FormData:null),t){var i;if(!1!==y.opts.fileUploadToS3)for(i in t.append(\"key\",y.opts.fileUploadToS3.keyStart+(new Date).getTime()+\"-\"+(o.name||\"untitled\")),t.append(\"success_action_status\",\"201\"),t.append(\"X-Requested-With\",\"xhr\"),t.append(\"Content-Type\",o.type),y.opts.fileUploadToS3.params)y.opts.fileUploadToS3.params.hasOwnProperty(i)&&t.append(i,y.opts.fileUploadToS3.params[i]);for(i in y.opts.fileUploadParams)y.opts.fileUploadParams.hasOwnProperty(i)&&t.append(i,y.opts.fileUploadParams[i]);t.append(y.opts.fileUploadParam,o);var r,a,n=y.opts.fileUploadURL;y.opts.fileUploadToS3&&(n=y.opts.fileUploadToS3.uploadURL?y.opts.fileUploadToS3.uploadURL:\"https://\".concat(y.opts.fileUploadToS3.region,\".amazonaws.com/\").concat(y.opts.fileUploadToS3.bucket));var s=y.opts.fileUploadMethod;y.opts.fileUploadToAzure&&(n=y.opts.fileUploadToAzure.uploadURL?\"\".concat(y.opts.fileUploadToAzure.uploadURL,\"/\").concat(o.name):encodeURI(\"https://\".concat(y.opts.fileUploadToAzure.account,\".blob.core.windows.net/\").concat(y.opts.fileUploadToAzure.container,\"/\").concat(o.name)),r=n,y.opts.fileUploadToAzure.SASToken&&(n+=y.opts.fileUploadToAzure.SASToken),s=\"PUT\");var l=y.core.getXHR(n,s);if(y.opts.fileUploadToAzure){var p=(new Date).toUTCString();if(!y.opts.fileUploadToAzure.SASToken&&y.opts.fileUploadToAzure.accessKey){var f=y.opts.fileUploadToAzure.account,d=y.opts.fileUploadToAzure.container;if(y.opts.fileUploadToAzure.uploadURL){var u=y.opts.fileUploadToAzure.uploadURL.split(\"/\");d=u.pop(),f=u.pop().split(\".\")[0]}var c=\"x-ms-blob-type:BlockBlob\\nx-ms-date:\".concat(p,\"\\nx-ms-version:2019-07-07\"),v=encodeURI(\"/\"+f+\"/\"+d+\"/\"+o.name),g=s+\"\\n\\n\\n\"+o.size+\"\\n\\n\"+o.type+\"\\n\\n\\n\\n\\n\\n\\n\"+c+\"\\n\"+v,h=y.cryptoJSPlugin.cryptoJS.HmacSHA256(g,y.cryptoJSPlugin.cryptoJS.enc.Base64.parse(y.opts.fileUploadToAzure.accessKey)).toString(y.cryptoJSPlugin.cryptoJS.enc.Base64),U=\"SharedKey \"+f+\":\"+h;a=h,l.setRequestHeader(\"Authorization\",U)}for(i in l.setRequestHeader(\"x-ms-version\",\"2019-07-07\"),l.setRequestHeader(\"x-ms-date\",p),l.setRequestHeader(\"Content-Type\",o.type),l.setRequestHeader(\"x-ms-blob-type\",\"BlockBlob\"),y.opts.fileUploadParams)y.opts.fileUploadParams.hasOwnProperty(i)&&l.setRequestHeader(i,y.opts.fileUploadParams[i]);for(i in y.opts.fileUploadToAzure.params)y.opts.fileUploadToAzure.params.hasOwnProperty(i)&&l.setRequestHeader(i,y.opts.fileUploadToAzure.params[i])}l.onload=function(){w.call(l,o.name,r,a)},l.onerror=R,l.upload.onprogress=k,l.onabort=x,P();var m=y.popups.get(\"file.insert\");m&&(m.off(\"abortUpload\"),m.on(\"abortUpload\",function(){4!==l.readyState&&l.abort()})),l.send(y.opts.fileUploadToAzure?o:t)}}}function s(){a()}function l(e){if(e)return y.popups.onHide(\"file.insert\",s),!0;var t;y.opts.fileUpload||y.opts.fileInsertButtons.splice(y.opts.fileInsertButtons.indexOf(\"fileUpload\"),1),t='<div class=\"fr-buttons fr-tabs\">'.concat(y.button.buildList(y.opts.fileInsertButtons),\"</div>\");var o=\"\";y.opts.fileUpload&&(o='<div class=\"fr-file-upload-layer fr-layer fr-active\" id=\"fr-file-upload-layer-'.concat(y.id,'\"><strong>').concat(y.language.translate(\"Drop file\"),\"</strong><br>(\").concat(y.language.translate(\"or click\"),')<div class=\"fr-form\"><input type=\"file\" name=\"').concat(y.opts.fileUploadParam,'\" accept=\"').concat(0<=y.opts.fileAllowedTypes.indexOf(\"*\")?\"/\":\"\").concat(y.opts.fileAllowedTypes.join(\", \").toLowerCase(),'\" tabIndex=\"-1\" aria-labelledby=\"fr-file-upload-layer-').concat(y.id,'\" role=\"button\"></div></div>'));var i={buttons:t,upload_layer:o,progress_bar:'<div class=\"fr-file-progress-bar-layer fr-layer\"><h3 tabIndex=\"-1\" class=\"fr-message\">Uploading</h3><div class=\"fr-loader\"><span class=\"fr-progress\"></span></div><div class=\"fr-action-buttons\"><button type=\"button\" class=\"fr-command fr-dismiss\" data-cmd=\"fileDismissError\" tabIndex=\"2\" role=\"button\">OK</button></div></div>'},r=y.popups.create(\"file.insert\",i);return function a(o){y.events.$on(o,\"dragover dragenter\",\".fr-file-upload-layer\",function(){return u(this).addClass(\"fr-drop\"),!1},!0),y.events.$on(o,\"dragleave dragend\",\".fr-file-upload-layer\",function(){return u(this).removeClass(\"fr-drop\"),!1},!0),y.events.$on(o,\"drop\",\".fr-file-upload-layer\",function(e){e.preventDefault(),e.stopPropagation(),u(this).removeClass(\"fr-drop\");var t=e.originalEvent.dataTransfer;t&&t.files&&(o.data(\"instance\")||y).file.upload(t.files)},!0),y.helpers.isIOS()&&y.events.$on(o,\"touchstart\",'.fr-file-upload-layer input[type=\"file\"]',function(){u(this).trigger(\"click\")}),y.events.$on(o,\"change\",'.fr-file-upload-layer input[type=\"file\"]',function(){if(this.files){var e=o.data(\"instance\")||y;e.events.disableBlur(),o.find(\"input:focus\").blur(),e.events.enableBlur(),e.file.upload(this.files)}u(this).val(\"\")},!0)}(r),r}function t(e){y.node.hasClass(e,\"fr-file\")}function p(e){var t=e.originalEvent.dataTransfer;if(t&&t.files&&t.files.length){var o=t.files[0];if(o&&\"undefined\"!=typeof o.type){if(o.type.indexOf(\"image\")<0){if(!y.opts.fileUpload)return e.preventDefault(),e.stopPropagation(),!1;y.markers.remove(),y.markers.insertAtPoint(e.originalEvent),y.$el.find(\".fr-marker\").replaceWith(m.MARKERS),y.popups.hideAll();var i=y.popups.get(\"file.insert\");return i||(i=l()),y.popups.setContainer(\"file.insert\",y.$sc),y.popups.show(\"file.insert\",e.originalEvent.pageX,e.originalEvent.pageY),P(),n(t.files),e.preventDefault(),e.stopPropagation(),!1}}else o.type.indexOf(\"image\")<0&&(e.preventDefault(),e.stopPropagation())}}function f(){var e,t=Array.prototype.slice.call(y.el.querySelectorAll(\"a.fr-file\")),o=[];for(e=0;e<t.length;e++)o.push(t[e].getAttribute(\"href\"));if(i)for(e=0;e<i.length;e++)o.indexOf(i[e].getAttribute(\"href\"))<0&&y.events.trigger(\"file.unlink\",[i[e]]);i=t}return o[1]=\"File cannot be loaded from the passed link.\",o[c]=\"No link in upload response.\",o[v]=\"Error during file upload.\",o[g]=\"Parsing response failed.\",o[A]=\"File is too large.\",o[S]=\"File file type is invalid.\",o[7]=\"Files can be uploaded only to same domain in IE 8 and IE 9.\",{_init:function d(){!function e(){y.events.on(\"drop\",p),y.events.$on(y.$win,\"keydown\",function(e){var t=e.which,o=y.popups.get(\"file.insert\");o&&t===m.KEYCODE.ESC&&o.trigger(\"abortUpload\")}),y.events.on(\"destroy\",function(){var e=y.popups.get(\"file.insert\");e&&e.trigger(\"abortUpload\")})}(),y.events.on(\"link.beforeRemove\",t),y.$wp&&(f(),y.events.on(\"contentChanged\",f)),l(!0)},showInsertPopup:function U(){var e=y.$tb.find('.fr-command[data-cmd=\"insertFile\"]'),t=y.popups.get(\"file.insert\");if(t||(t=l()),a(),!t.hasClass(\"fr-active\"))if(y.popups.refresh(\"file.insert\"),y.popups.setContainer(\"file.insert\",y.$tb),e.isVisible){var o=y.button.getPosition(e),i=o.left,r=o.top;y.popups.show(\"file.insert\",i,r,e.outerHeight())}else y.position.forSelection(t),y.popups.show(\"file.insert\")},upload:n,insert:h,back:function e(){y.events.disableBlur(),y.selection.restore(),y.events.enableBlur(),y.popups.hide(\"file.insert\"),y.toolbar.showInline()},hideProgressBar:a}},m.DefineIcon(\"insertFile\",{NAME:\"file-o\",FA5NAME:\"file\",SVG_KEY:\"insertFile\"}),m.RegisterCommand(\"insertFile\",{title:\"Upload File\",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible(\"file.insert\")?(this.$el.find(\".fr-marker\").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide(\"file.insert\")):this.file.showInsertPopup()},plugin:\"file\"}),m.DefineIcon(\"fileBack\",{NAME:\"arrow-left\",SVG_KEY:\"back\"}),m.RegisterCommand(\"fileBack\",{title:\"Back\",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.file.back()},refresh:function(e){this.opts.toolbarInline?(e.removeClass(\"fr-hidden\"),e.next(\".fr-separator\").removeClass(\"fr-hidden\")):(e.addClass(\"fr-hidden\"),e.next(\".fr-separator\").addClass(\"fr-hidden\"))}}),m.RegisterCommand(\"fileDismissError\",{title:\"OK\",callback:function(){this.file.hideProgressBar(!0)}})});","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?t(require(\"froala-editor\")):\"function\"==typeof define&&define.amd?define([\"froala-editor\"],t):t(e.FroalaEditor)}(this,function(e){\"use strict\";e=e&&e.hasOwnProperty(\"default\")?e[\"default\"]:e,Object.assign(e.DEFAULTS,{fontFamily:{\"Arial,Helvetica,sans-serif\":\"Arial\",\"Georgia,serif\":\"Georgia\",\"Impact,Charcoal,sans-serif\":\"Impact\",\"Tahoma,Geneva,sans-serif\":\"Tahoma\",\"Times New Roman,Times,serif,-webkit-standard\":\"Times New Roman\",\"Verdana,Geneva,sans-serif\":\"Verdana\"},fontFamilySelection:!1,fontFamilyDefaultSelection:\"Font Family\"}),e.PLUGINS.fontFamily=function(o){var i=o.$;function r(e){var t=e.replace(/(sans-serif|serif|monospace|cursive|fantasy)/gi,\"\").replace(/\"|'| /g,\"\").split(\",\");return i(this).grep(t,function(e){return 0<e.length})}function f(e,t){for(var n=0;n<e.length;n++)for(var a=0;a<t.length;a++)if(e[n].toLowerCase()===t[a].toLowerCase())return[n,a];return null}function n(){var e=r(i(o.selection.element()).css(\"font-family\")),t=[];for(var n in o.opts.fontFamily)if(o.opts.fontFamily.hasOwnProperty(n)){var a=f(e,r(n));a&&t.push([n,a])}return 0===t.length?null:(t.sort(function(e,t){var n=e[1][0]-t[1][0];return 0===n?e[1][1]-t[1][1]:n}),t[0][0])}return{apply:function t(e){o.format.applyStyle(\"font-family\",e)},refreshOnShow:function a(e,t){t.find(\".fr-command.fr-active\").removeClass(\"fr-active\").attr(\"aria-selected\",!1),t.find('.fr-command[data-param1=\"'.concat(n(),'\"]')).addClass(\"fr-active\").attr(\"aria-selected\",!0)},refresh:function l(e){if(o.opts.fontFamilySelection){var t=i(o.selection.element()).css(\"font-family\").replace(/(sans-serif|serif|monospace|cursive|fantasy)/gi,\"\").replace(/\"|'|/g,\"\").split(\",\");e.find(\"> span\").text(o.opts.fontFamily[n()]||t[0]||o.language.translate(o.opts.fontFamilyDefaultSelection))}}}},e.RegisterCommand(\"fontFamily\",{type:\"dropdown\",displaySelection:function(e){return e.opts.fontFamilySelection},defaultSelection:function(e){return e.opts.fontFamilyDefaultSelection},displaySelectionWidth:120,html:function(){var e='<ul class=\"fr-dropdown-list\" role=\"presentation\">',t=this.opts.fontFamily;for(var n in t)t.hasOwnProperty(n)&&(e+='<li role=\"presentation\"><a class=\"fr-command\" tabIndex=\"-1\" role=\"option\" data-cmd=\"fontFamily\" data-param1=\"'.concat(n,'\" \\n        style=\"font-family: ').concat(n,'\" title=\"').concat(t[n],'\">').concat(t[n],\"</a></li>\"));return e+=\"</ul>\"},title:\"Font Family\",callback:function(e,t){this.fontFamily.apply(t)},refresh:function(e){this.fontFamily.refresh(e)},refreshOnShow:function(e,t){this.fontFamily.refreshOnShow(e,t)},plugin:\"fontFamily\"}),e.DefineIcon(\"fontFamily\",{NAME:\"font\",SVG_KEY:\"fontFamily\"})});","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?e(require(\"froala-editor\")):\"function\"==typeof define&&define.amd?define([\"froala-editor\"],e):e(t.FroalaEditor)}(this,function(t){\"use strict\";t=t&&t.hasOwnProperty(\"default\")?t[\"default\"]:t,Object.assign(t.DEFAULTS,{fontSize:[\"8\",\"9\",\"10\",\"11\",\"12\",\"14\",\"18\",\"24\",\"30\",\"36\",\"48\",\"60\",\"72\",\"96\"],fontSizeSelection:!1,fontSizeDefaultSelection:\"12\",fontSizeUnit:\"px\"}),t.PLUGINS.fontSize=function(o){var i=o.$;return{apply:function e(t){o.format.applyStyle(\"font-size\",t)},refreshOnShow:function a(t,e){var n=i(o.selection.element()).css(\"font-size\");\"pt\"===o.opts.fontSizeUnit&&(n=\"\".concat(Math.round(72*parseFloat(n,10)/96),\"pt\")),e.find(\".fr-command.fr-active\").removeClass(\"fr-active\").attr(\"aria-selected\",!1),e.find('.fr-command[data-param1=\"'.concat(n,'\"]')).addClass(\"fr-active\").attr(\"aria-selected\",!0)},refresh:function n(t){if(o.opts.fontSizeSelection){var e=o.helpers.getPX(i(o.selection.element()).css(\"font-size\"));\"pt\"===o.opts.fontSizeUnit&&(e=\"\".concat(Math.round(72*parseFloat(e,10)/96),\"pt\")),t.find(\"> span\").text(e)}}}},t.RegisterCommand(\"fontSize\",{type:\"dropdown\",title:\"Font Size\",displaySelection:function(t){return t.opts.fontSizeSelection},displaySelectionWidth:30,defaultSelection:function(t){return t.opts.fontSizeDefaultSelection},html:function(){for(var t='<ul class=\"fr-dropdown-list\" role=\"presentation\">',e=this.opts.fontSize,n=0;n<e.length;n++){var o=e[n];t+='<li role=\"presentation\"><a class=\"fr-command\" tabIndex=\"-1\" role=\"option\" data-cmd=\"fontSize\" data-param1=\"'.concat(o).concat(this.opts.fontSizeUnit,'\" title=\"').concat(o,'\">').concat(o,\"</a></li>\")}return t+=\"</ul>\"},callback:function(t,e){this.fontSize.apply(e)},refresh:function(t){this.fontSize.refresh(t)},refreshOnShow:function(t,e){this.fontSize.refreshOnShow(t,e)},plugin:\"fontSize\"}),t.DefineIcon(\"fontSize\",{NAME:\"text-height\",SVG_KEY:\"fontSize\"})});","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?e(require(\"froala-editor\")):\"function\"==typeof define&&define.amd?define([\"froala-editor\"],e):e(t.FroalaEditor)}(this,function(t){\"use strict\";t=t&&t.hasOwnProperty(\"default\")?t[\"default\"]:t,Object.assign(t.POPUP_TEMPLATES,{\"forms.edit\":\"[_BUTTONS_]\",\"forms.update\":\"[_BUTTONS_][_TEXT_LAYER_]\"}),Object.assign(t.DEFAULTS,{formEditButtons:[\"inputStyle\",\"inputEdit\"],formStyles:{\"fr-rounded\":\"Rounded\",\"fr-large\":\"Large\"},formMultipleStyles:!0,formUpdateButtons:[\"inputBack\",\"|\"]}),t.PLUGINS.forms=function(s){var u,r=s.$;function e(t){s.selection.clear(),r(this).data(\"mousedown\",!0)}function o(t){r(this).data(\"mousedown\")&&(t.stopPropagation(),r(this).removeData(\"mousedown\"),f(u=this)),t.preventDefault()}function n(){s.$el.find(\"input, textarea, button\").removeData(\"mousedown\")}function a(){r(this).removeData(\"mousedown\")}function p(){return u||null}function f(t){if(-1==[\"checkbox\",\"radio\"].indexOf(t.type)){var e=s.popups.get(\"forms.edit\");e||(e=function i(){var t=\"\";0<s.opts.formEditButtons.length&&(t='<div class=\"fr-buttons\">'.concat(s.button.buildList(s.opts.formEditButtons),\"</div>\"));var e={buttons:t},o=s.popups.create(\"forms.edit\",e);return s.$wp&&s.events.$on(s.$wp,\"scroll.link-edit\",function(){p()&&s.popups.isVisible(\"forms.edit\")&&f(p())}),o}());var o=r(u=t);s.popups.refresh(\"forms.edit\"),s.popups.setContainer(\"forms.edit\",s.$sc);var n=o.offset().left+o.outerWidth()/2,a=o.offset().top+o.outerHeight();s.popups.show(\"forms.edit\",n,a,o.outerHeight())}}function i(){var t=s.popups.get(\"forms.update\"),e=p();if(e){var o=r(e);o.is(\"button\")?t.find('input[type=\"text\"][name=\"text\"]').val(o.text()):o.is(\"input[type=button]\")||o.is(\"input[type=submit]\")||o.is(\"input[type=reset]\")?t.find('input[type=\"text\"][name=\"text\"]').val(o.val()):t.find('input[type=\"text\"][name=\"text\"]').val(o.attr(\"placeholder\"))}t.find('input[type=\"text\"][name=\"text\"]').trigger(\"change\")}function d(){u=null}function l(t){if(t)return s.popups.onRefresh(\"forms.update\",i),s.popups.onHide(\"forms.update\",d),!0;var e=\"\";1<=s.opts.formUpdateButtons.length&&(e='<div class=\"fr-buttons\">'.concat(s.button.buildList(s.opts.formUpdateButtons),\"</div>\"));var o=0,n={buttons:e,text_layer:'<div class=\"fr-forms-text-layer fr-layer fr-active\"> \\n    <div class=\"fr-input-line\"><input name=\"text\" type=\"text\" placeholder=\"Text\" tabIndex=\" '.concat(++o,' \"></div>\\n    <div class=\"fr-action-buttons\"><button class=\"fr-command fr-submit\" data-cmd=\"updateInput\" href=\"#\" tabIndex=\"').concat(2,'\" type=\"button\">').concat(s.language.translate(\"Update\"),\"</button></div></div>\")};return s.popups.create(\"forms.update\",n)}return{_init:function c(){!function t(){s.events.$on(s.$el,s._mousedown,\"input, textarea, button\",e),s.events.$on(s.$el,s._mouseup,\"input, textarea, button\",o),s.events.$on(s.$el,\"touchmove\",\"input, textarea, button\",a),s.events.$on(s.$el,s._mouseup,n),s.events.$on(s.$win,s._mouseup,n),l(!0)}(),s.events.$on(s.$el,\"submit\",\"form\",function(t){return t.preventDefault(),!1})},updateInput:function m(){var t=s.popups.get(\"forms.update\"),e=p();if(e){var o=r(e),n=t.find('input[type=\"text\"][name=\"text\"]').val()||\"\";o.is(\"button\")?n.length?o.text(n):o.text(\"\\u200b\"):-1!=[\"button\",\"submit\",\"reset\"].indexOf(e.type)?o.attr(\"value\",n):o.attr(\"placeholder\",n),s.popups.hide(\"forms.update\"),f(e)}},getInput:p,applyStyle:function v(t,e,o){void 0===e&&(e=s.opts.formStyles),void 0===o&&(o=s.opts.formMultipleStyles);var n=p();if(!n)return!1;if(!o){var a=Object.keys(e);a.splice(a.indexOf(t),1),r(n).removeClass(a.join(\" \"))}r(n).toggleClass(t)},showUpdatePopup:function h(){var t=p();if(t){var e=r(t),o=s.popups.get(\"forms.update\");o||(o=l()),s.popups.isVisible(\"forms.update\")||s.popups.refresh(\"forms.update\"),s.popups.setContainer(\"forms.update\",s.$sc);var n=e.offset().left+e.outerWidth()/2,a=e.offset().top+e.outerHeight();s.popups.show(\"forms.update\",n,a,e.outerHeight())}},showEditPopup:f,back:function b(){s.events.disableBlur(),s.selection.restore(),s.events.enableBlur();var t=p();t&&s.$wp&&(\"BUTTON\"===t.tagName&&s.selection.restore(),f(t))}}},t.RegisterCommand(\"updateInput\",{undo:!1,focus:!1,title:\"Update\",callback:function(){this.forms.updateInput()}}),t.DefineIcon(\"inputStyle\",{NAME:\"magic\",SVG_KEY:\"inlineStyle\"}),t.RegisterCommand(\"inputStyle\",{title:\"Style\",type:\"dropdown\",html:function(){var t='<ul class=\"fr-dropdown-list\">',e=this.opts.formStyles;for(var o in e)e.hasOwnProperty(o)&&(t+='<li><a class=\"fr-command\" tabIndex=\"-1\" data-cmd=\"inputStyle\" data-param1=\"'.concat(o,'\">').concat(this.language.translate(e[o]),\"</a></li>\"));return t+=\"</ul>\"},callback:function(t,e){var o=this.forms.getInput();o&&(this.forms.applyStyle(e),this.forms.showEditPopup(o))},refreshOnShow:function(t,e){var o=this.$,n=this.forms.getInput();if(n){var a=o(n);e.find(\".fr-command\").each(function(){var t=o(this).data(\"param1\");o(this).toggleClass(\"fr-active\",a.hasClass(t))})}}}),t.DefineIcon(\"inputEdit\",{NAME:\"edit\",SVG_KEY:\"edit\"}),t.RegisterCommand(\"inputEdit\",{title:\"Edit Button\",undo:!1,refreshAfterCallback:!1,callback:function(){this.forms.showUpdatePopup()}}),t.DefineIcon(\"inputBack\",{NAME:\"arrow-left\",SVG_KEY:\"back\"}),t.RegisterCommand(\"inputBack\",{title:\"Back\",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.forms.back()}}),t.RegisterCommand(\"updateInput\",{undo:!1,focus:!1,title:\"Update\",callback:function(){this.forms.updateInput()}})});","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?t(require(\"froala-editor\")):\"function\"==typeof define&&define.amd?define([\"froala-editor\"],t):t(e.FroalaEditor)}(this,function(e){\"use strict\";(e=e&&e.hasOwnProperty(\"default\")?e[\"default\"]:e).PLUGINS.fullscreen=function(s){var t,r,o,n,i=s.$,a=function a(){return s.$box.hasClass(\"fr-fullscreen\")};function l(){if(s.helpers.isIOS()&&s.core.hasFocus())return s.$el.blur(),setTimeout(c,250),!1;t=s.helpers.scrollTop(),s.$box.toggleClass(\"fr-fullscreen\"),i(\"body\").first().toggleClass(\"fr-fullscreen\"),s.helpers.isMobile()&&(s.opts.toolbarBottom?s.$tb[0].removeAttribute(\"style\"):(s.$tb.data(\"parent\",s.$tb.parent()),s.$box.prepend(s.$tb),s.$tb.data(\"sticky-dummy\")&&s.$tb.after(s.$tb.data(\"sticky-dummy\")))),r=s.opts.height,o=s.opts.heightMax,n=s.opts.z_index,s.opts.height=s.o_win.innerHeight-(s.opts.toolbarInline?0:s.$tb.outerHeight()+(s.$second_tb?s.$second_tb.outerHeight():0)),s.opts.zIndex=2147483641,s.opts.heightMax=null,s.size.refresh(),s.opts.toolbarInline&&s.toolbar.showInline();for(var e=s.$box.parent();!e.first().is(\"body\");)e.addClass(\"fr-fullscreen-wrapper\"),e=e.parent();s.opts.toolbarContainer&&s.$box.prepend(s.$tb),s.events.trigger(\"charCounter.update\"),s.events.trigger(\"codeView.update\"),s.$win.trigger(\"scroll\")}function f(){if(s.helpers.isIOS()&&s.core.hasFocus())return s.$el.blur(),setTimeout(c,250),!1;s.$box.toggleClass(\"fr-fullscreen\"),i(\"body\").first().toggleClass(\"fr-fullscreen\"),s.$tb.data(\"parent\")&&s.$tb.data(\"parent\").prepend(s.$tb),s.$tb.data(\"sticky-dummy\")&&s.$tb.after(s.$tb.data(\"sticky-dummy\")),s.opts.height=r,s.opts.heightMax=o,s.opts.zIndex=n,s.size.refresh(),i(s.o_win).scrollTop(t),s.opts.toolbarInline&&s.toolbar.showInline(),s.events.trigger(\"charCounter.update\"),s.opts.toolbarSticky&&s.opts.toolbarStickyOffset&&(s.opts.toolbarBottom?s.$tb.css(\"bottom\",s.opts.toolbarStickyOffset).data(\"bottom\",s.opts.toolbarStickyOffset):s.$tb.css(\"top\",s.opts.toolbarStickyOffset).data(\"top\",s.opts.toolbarStickyOffset));for(var e=s.$box.parent();!e.first().is(\"body\");)e.removeClass(\"fr-fullscreen-wrapper\"),e=e.parent();s.opts.toolbarContainer&&i(s.opts.toolbarContainer).append(s.$tb),i(s.o_win).trigger(\"scroll\"),s.events.trigger(\"codeView.update\")}function c(){a()?f():l(),d(s.$tb.find('.fr-command[data-cmd=\"fullscreen\"]'));var e=s.$tb.find('.fr-command[data-cmd=\"moreText\"]'),t=s.$tb.find('.fr-command[data-cmd=\"moreParagraph\"]'),r=s.$tb.find('.fr-command[data-cmd=\"moreRich\"]'),o=s.$tb.find('.fr-command[data-cmd=\"moreMisc\"]');e.length&&s.refresh.moreText(e),t.length&&s.refresh.moreParagraph(t),r.length&&s.refresh.moreRich(r),o.length&&s.refresh.moreMisc(o)}function d(e){var t=a();e.toggleClass(\"fr-active\",t).attr(\"aria-pressed\",t),e.find(\"> *\").not(\".fr-sr-only\").replaceWith(t?s.icon.create(\"fullscreenCompress\"):s.icon.create(\"fullscreen\"))}return{_init:function e(){if(!s.$wp)return!1;s.events.$on(i(s.o_win),\"resize\",function(){a()&&(f(),l())}),s.events.on(\"toolbar.hide\",function(){if(a()&&s.helpers.isMobile())return!1}),s.events.on(\"position.refresh\",function(){if(s.helpers.isIOS())return!a()}),s.events.on(\"destroy\",function(){a()&&f()},!0)},toggle:c,refresh:d,isActive:a}},e.RegisterCommand(\"fullscreen\",{title:\"Fullscreen\",undo:!1,focus:!1,accessibilityFocus:!0,forcedRefresh:!0,toggle:!0,callback:function(){this.fullscreen.toggle()},refresh:function(e){this.fullscreen.refresh(e)},plugin:\"fullscreen\"}),e.DefineIcon(\"fullscreen\",{NAME:\"expand\",SVG_KEY:\"fullscreen\"}),e.DefineIcon(\"fullscreenCompress\",{NAME:\"compress\",SVG_KEY:\"exitFullscreen\"})});","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?t(require(\"froala-editor\")):\"function\"==typeof define&&define.amd?define([\"froala-editor\"],t):t(e.FroalaEditor)}(this,function(e){\"use strict\";e=e&&e.hasOwnProperty(\"default\")?e[\"default\"]:e,Object.assign(e.DEFAULTS,{helpSets:[{title:\"Inline Editor\",commands:[{val:\"OSkeyE\",desc:\"Show the editor\"}]},{title:\"Common actions\",commands:[{val:\"OSkeyC\",desc:\"Copy\"},{val:\"OSkeyX\",desc:\"Cut\"},{val:\"OSkeyV\",desc:\"Paste\"},{val:\"OSkeyZ\",desc:\"Undo\"},{val:\"OSkeyShift+Z\",desc:\"Redo\"},{val:\"OSkeyK\",desc:\"Insert Link\"},{val:\"OSkeyP\",desc:\"Insert Image\"}]},{title:\"Basic Formatting\",commands:[{val:\"OSkeyA\",desc:\"Select All\"},{val:\"OSkeyB\",desc:\"Bold\"},{val:\"OSkeyI\",desc:\"Italic\"},{val:\"OSkeyU\",desc:\"Underline\"},{val:\"OSkeyS\",desc:\"Strikethrough\"},{val:\"OSkey]\",desc:\"Increase Indent\"},{val:\"OSkey[\",desc:\"Decrease Indent\"}]},{title:\"Quote\",commands:[{val:\"OSkey'\",desc:\"Increase quote level\"},{val:\"OSkeyShift+'\",desc:\"Decrease quote level\"}]},{title:\"Image / Video\",commands:[{val:\"OSkey+\",desc:\"Resize larger\"},{val:\"OSkey-\",desc:\"Resize smaller\"}]},{title:\"Table\",commands:[{val:\"Alt+Space\",desc:\"Select table cell\"},{val:\"Shift+Left/Right arrow\",desc:\"Extend selection one cell\"},{val:\"Shift+Up/Down arrow\",desc:\"Extend selection one row\"}]},{title:\"Navigation\",commands:[{val:\"OSkey/\",desc:\"Shortcuts\"},{val:\"Alt+F10\",desc:\"Focus popup / toolbar\"},{val:\"Esc\",desc:\"Return focus to previous position\"}]}]}),e.PLUGINS.help=function(c){var a,o=c.$,s=\"help\";return{_init:function e(){},show:function d(){if(!a){var e=\"<h4>\".concat(c.language.translate(\"Shortcuts\"),\"</h4>\"),t=function n(){for(var e='<div class=\"fr-help-modal\">',t=0;t<c.opts.helpSets.length;t++){var l=c.opts.helpSets[t],a=\"<table>\";a+=\"<thead><tr><th>\".concat(c.language.translate(l.title),\"</th></tr></thead>\"),a+=\"<tbody>\";for(var o=0;o<l.commands.length;o++){var s=l.commands[o];a+=\"<tr>\",a+=\"<td>\".concat(c.language.translate(s.desc),\"</td>\"),a+=\"<td>\".concat(s.val.replace(\"OSkey\",c.helpers.isMac()?\"&#8984;\":\"Ctrl+\"),\"</td>\"),a+=\"</tr>\"}e+=a+=\"</tbody></table>\"}return e+=\"</div>\"}(),l=c.modals.create(s,e,t);a=l.$modal,c.events.$on(o(c.o_win),\"resize\",function(){c.modals.resize(s)})}c.modals.show(s),c.modals.resize(s)},hide:function t(){c.modals.hide(s)}}},e.DefineIcon(\"help\",{NAME:\"question\",SVG_KEY:\"help\"}),e.RegisterShortcut(e.KEYCODE.SLASH,\"help\",null,\"/\"),e.RegisterCommand(\"help\",{title:\"Help\",icon:\"help\",undo:!1,focus:!1,modal:!0,callback:function(){this.help.show()},plugin:\"help\",showOnMobile:!1})});","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?t(require(\"froala-editor\")):\"function\"==typeof define&&define.amd?define([\"froala-editor\"],t):t(e.FroalaEditor)}(this,function(_e){\"use strict\";function Me(e){return(Me=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}_e=_e&&_e.hasOwnProperty(\"default\")?_e[\"default\"]:_e,Object.assign(_e.POPUP_TEMPLATES,{\"image.insert\":\"[_BUTTONS_][_UPLOAD_LAYER_][_BY_URL_LAYER_][_PROGRESS_BAR_]\",\"image.edit\":\"[_BUTTONS_]\",\"image.alt\":\"[_BUTTONS_][_ALT_LAYER_]\",\"image.size\":\"[_BUTTONS_][_SIZE_LAYER_]\"}),Object.assign(_e.DEFAULTS,{imageInsertButtons:[\"imageBack\",\"|\",\"imageUpload\",\"imageByURL\"],imageEditButtons:[\"imageReplace\",\"imageAlign\",\"imageCaption\",\"imageRemove\",\"imageLink\",\"linkOpen\",\"linkEdit\",\"linkRemove\",\"-\",\"imageDisplay\",\"imageStyle\",\"imageAlt\",\"imageSize\"],imageAltButtons:[\"imageBack\",\"|\"],imageSizeButtons:[\"imageBack\",\"|\"],imageUpload:!0,imageUploadURL:null,imageCORSProxy:\"https://cors-anywhere.froala.com\",imageUploadRemoteUrls:!0,imageUploadParam:\"file\",imageUploadParams:{},imageUploadToS3:!1,imageUploadToAzure:!1,imageUploadMethod:\"POST\",imageMaxSize:10485760,imageAllowedTypes:[\"jpeg\",\"jpg\",\"png\",\"gif\",\"webp\"],imageResize:!0,imageResizeWithPercent:!1,imageRoundPercent:!1,imageDefaultWidth:300,imageDefaultAlign:\"center\",imageDefaultDisplay:\"block\",imageSplitHTML:!1,imageStyles:{\"fr-rounded\":\"Rounded\",\"fr-bordered\":\"Bordered\",\"fr-shadow\":\"Shadow\"},imageMove:!0,imageMultipleStyles:!0,imageTextNear:!0,imagePaste:!0,imagePasteProcess:!1,imageMinWidth:16,imageOutputSize:!1,imageDefaultMargin:5,imageAddNewLine:!1}),_e.PLUGINS.image=function(C){var S,l,p,f,s,a,E=C.$,R=\"https://i.froala.com/upload\",t=!1,i=1,c=2,d=3,m=4,D=5,U=6,r={};function g(){var e=C.popups.get(\"image.insert\").find(\".fr-image-by-url-layer input\");e.val(\"\"),S&&e.val(S.attr(\"src\")),e.trigger(\"change\")}function n(){var e=C.popups.get(\"image.edit\");if(e||(e=P()),e){var t=Ae();Ce()&&(t=t.find(\".fr-img-wrap\")),C.popups.setContainer(\"image.edit\",C.$sc),C.popups.refresh(\"image.edit\");var a=t.offset().left+t.outerWidth()/2,i=(function r(e){for(var t=0;e;){if(\"BODY\"==e.tagName){var a=e.scrollTop||document.documentElement.scrollTop;t+=e.offsetTop-a+e.clientTop}else t+=e.offsetTop-e.scrollTop+e.clientTop;e=e.offsetParent}return{y:t}}(S[0]).y+t.outerHeight())/5;t.offset().top<0||!C.opts.height||C.helpers.isMobile()||C.opts.iframe?i=t.offset().top+t.outerHeight():Ce()&&C.opts.height&&(i=t.offset().top+t.outerHeight()/4),S.hasClass(\"fr-uploading\")?I():C.popups.show(\"image.edit\",a,i,t.outerHeight(),!0)}}function u(){z()}function o(e){0<e.parents(\".fr-img-caption\").length&&(e=e.parents(\".fr-img-caption\").first());var t=e.hasClass(\"fr-dib\")?\"block\":e.hasClass(\"fr-dii\")?\"inline\":null,a=e.hasClass(\"fr-fil\")?\"left\":e.hasClass(\"fr-fir\")?\"right\":he(e);ue(e,t,a),e.removeClass(\"fr-dib fr-dii fr-fir fr-fil\")}function h(){for(var e,t=\"IMG\"==C.el.tagName?[C.el]:C.el.querySelectorAll(\"img\"),a=0;a<t.length;a++){var i=E(t[a]);!C.opts.htmlUntouched&&C.opts.useClasses?((C.opts.imageDefaultAlign||C.opts.imageDefaultDisplay)&&(0<(e=i).parents(\".fr-img-caption\").length&&(e=e.parents(\".fr-img-caption\").first()),e.hasClass(\"fr-dii\")||e.hasClass(\"fr-dib\")||(e.addClass(\"fr-fi\".concat(he(e)[0])),e.addClass(\"fr-di\".concat(ve(e)[0])),e.css(\"margin\",\"\"),e.css(\"float\",\"\"),e.css(\"display\",\"\"),e.css(\"z-index\",\"\"),e.css(\"position\",\"\"),e.css(\"overflow\",\"\"),e.css(\"vertical-align\",\"\"))),C.opts.imageTextNear||(0<i.parents(\".fr-img-caption\").length?i.parents(\".fr-img-caption\").first().removeClass(\"fr-dii\").addClass(\"fr-dib\"):i.removeClass(\"fr-dii\").addClass(\"fr-dib\"))):C.opts.htmlUntouched||C.opts.useClasses||(C.opts.imageDefaultAlign||C.opts.imageDefaultDisplay)&&o(i),C.opts.iframe&&i.on(\"load\",C.size.syncIframe)}}function v(e){void 0===e&&(e=!0);var t,a=Array.prototype.slice.call(C.el.querySelectorAll(\"img\")),i=[];for(t=0;t<a.length;t++)if(i.push(a[t].getAttribute(\"src\")),E(a[t]).toggleClass(\"fr-draggable\",C.opts.imageMove),\"\"===a[t].getAttribute(\"class\")&&a[t].removeAttribute(\"class\"),\"\"===a[t].getAttribute(\"style\")&&a[t].removeAttribute(\"style\"),a[t].parentNode&&a[t].parentNode.parentNode&&C.node.hasClass(a[t].parentNode.parentNode,\"fr-img-caption\")){var r=a[t].parentNode.parentNode;C.browser.mozilla||r.setAttribute(\"contenteditable\",!1),r.setAttribute(\"draggable\",!1),r.classList.add(\"fr-draggable\");var n=a[t].nextSibling;n&&!C.browser.mozilla&&n.setAttribute(\"contenteditable\",!0)}if(s)for(t=0;t<s.length;t++)i.indexOf(s[t].getAttribute(\"src\"))<0&&C.events.trigger(\"image.removed\",[E(s[t])]);if(s&&e){var o=[];for(t=0;t<s.length;t++)o.push(s[t].getAttribute(\"src\"));for(t=0;t<a.length;t++)o.indexOf(a[t].getAttribute(\"src\"))<0&&C.events.trigger(\"image.loaded\",[E(a[t])])}s=a}function x(){if(l||function o(){var e;C.shared.$image_resizer?(l=C.shared.$image_resizer,f=C.shared.$img_overlay,C.events.on(\"destroy\",function(){E(\"body\").first().append(l.removeClass(\"fr-active\"))},!0)):(C.shared.$image_resizer=E(document.createElement(\"div\")).attr(\"class\",\"fr-image-resizer\"),l=C.shared.$image_resizer,C.events.$on(l,\"mousedown\",function(e){e.stopPropagation()},!0),C.opts.imageResize&&(l.append(b(\"nw\")+b(\"ne\")+b(\"sw\")+b(\"se\")),C.shared.$img_overlay=E(document.createElement(\"div\")).attr(\"class\",\"fr-image-overlay\"),f=C.shared.$img_overlay,e=l.get(0).ownerDocument,E(e).find(\"body\").first().append(f)));C.events.on(\"shared.destroy\",function(){l.html(\"\").removeData().remove(),l=null,C.opts.imageResize&&(f.remove(),f=null)},!0),C.helpers.isMobile()||C.events.$on(E(C.o_win),\"resize\",function(){S&&!S.hasClass(\"fr-uploading\")?ge(!0):S&&(x(),be(),I(!1))});if(C.opts.imageResize){e=l.get(0).ownerDocument,C.events.$on(l,C._mousedown,\".fr-handler\",w),C.events.$on(E(e),C._mousemove,A),C.events.$on(E(e.defaultView||e.parentWindow),C._mouseup,T),C.events.$on(f,\"mouseleave\",T);var i=1,r=null,n=0;C.events.on(\"keydown\",function(e){if(S){var t=-1!=navigator.userAgent.indexOf(\"Mac OS X\")?e.metaKey:e.ctrlKey,a=e.which;(a!==r||200<e.timeStamp-n)&&(i=1),(a==_e.KEYCODE.EQUALS||C.browser.mozilla&&a==_e.KEYCODE.FF_EQUALS)&&t&&!e.altKey?i=ee.call(this,e,1,1,i):(a==_e.KEYCODE.HYPHEN||C.browser.mozilla&&a==_e.KEYCODE.FF_HYPHEN)&&t&&!e.altKey?i=ee.call(this,e,2,-1,i):C.keys.ctrlKey(e)||a!=_e.KEYCODE.ENTER||(S.before(\"<br>\"),k(S)),r=a,n=e.timeStamp}},!0),C.events.on(\"keyup\",function(){i=1})}}(),!S)return!1;var e=C.$wp||C.$sc;e.append(l),l.data(\"instance\",C);var t=e.scrollTop()-(\"static\"!=e.css(\"position\")?e.offset().top:0),a=e.scrollLeft()-(\"static\"!=e.css(\"position\")?e.offset().left:0);a-=C.helpers.getPX(e.css(\"border-left-width\")),t-=C.helpers.getPX(e.css(\"border-top-width\")),C.$el.is(\"img\")&&C.$sc.is(\"body\")&&(a=t=0);var i=Ae();Ce()&&(i=i.find(\".fr-img-wrap\"));var r=0,n=0;C.opts.iframe&&(r=C.helpers.getPX(C.$wp.find(\".fr-iframe\").css(\"padding-top\")),n=C.helpers.getPX(C.$wp.find(\".fr-iframe\").css(\"padding-left\"))),l.css(\"top\",(C.opts.iframe?i.offset().top+r:i.offset().top+t)-1).css(\"left\",(C.opts.iframe?i.offset().left+n:i.offset().left+a)-1).css(\"width\",i.get(0).getBoundingClientRect().width).css(\"height\",i.get(0).getBoundingClientRect().height).addClass(\"fr-active\")}function b(e){return'<div class=\"fr-handler fr-h'.concat(e,'\"></div>')}function y(e){Ce()?S.parents(\".fr-img-caption\").css(\"width\",e):S.css(\"width\",e)}function w(e){if(!C.core.sameInstance(l))return!0;if(e.preventDefault(),e.stopPropagation(),C.$el.find(\"img.fr-error\").left)return!1;C.undo.canDo()||C.undo.saveStep();var t=e.pageX||e.originalEvent.touches[0].pageX;if(\"mousedown\"==e.type){var a=C.$oel.get(0).ownerDocument,i=a.defaultView||a.parentWindow,r=!1;try{r=i.location!=i.parent.location&&!(i.$&&i.$.FE)}catch(s){}r&&i.frameElement&&(t+=C.helpers.getPX(E(i.frameElement).offset().left)+i.frameElement.clientLeft)}(p=E(this)).data(\"start-x\",t),p.data(\"start-width\",S.width()),p.data(\"start-height\",S.height());var n=S.width();if(C.opts.imageResizeWithPercent){var o=S.parentsUntil(C.$el,C.html.blockTagsQuery()).get(0)||C.el;n=(n/E(o).outerWidth()*100).toFixed(2)+\"%\"}y(n),f.show(),C.popups.hideAll(),me()}function A(e){if(!C.core.sameInstance(l))return!0;var t;if(p&&S){if(e.preventDefault(),C.$el.find(\"img.fr-error\").left)return!1;var a=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null);if(!a)return!1;var i=a-p.data(\"start-x\"),r=p.data(\"start-width\");if((p.hasClass(\"fr-hnw\")||p.hasClass(\"fr-hsw\"))&&(i=0-i),C.opts.imageResizeWithPercent){var n=S.parentsUntil(C.$el,C.html.blockTagsQuery()).get(0)||C.el;r=((r+i)/E(n).outerWidth()*100).toFixed(2),C.opts.imageRoundPercent&&(r=Math.round(r)),y(\"\".concat(r,\"%\")),(t=Ce()?(C.helpers.getPX(S.parents(\".fr-img-caption\").css(\"width\"))/E(n).outerWidth()*100).toFixed(2):(C.helpers.getPX(S.css(\"width\"))/E(n).outerWidth()*100).toFixed(2))===r||C.opts.imageRoundPercent||y(\"\".concat(t,\"%\")),S.css(\"height\",\"\").removeAttr(\"height\")}else r+i>=C.opts.imageMinWidth&&(y(r+i),t=Ce()?C.helpers.getPX(S.parents(\".fr-img-caption\").css(\"width\")):C.helpers.getPX(S.css(\"width\"))),t!==r+i&&y(t),((S.attr(\"style\")||\"\").match(/(^height:)|(; *height:)/)||S.attr(\"height\"))&&(S.css(\"height\",p.data(\"start-height\")*S.width()/p.data(\"start-width\")),S.removeAttr(\"height\"));x(),C.events.trigger(\"image.resize\",[we()])}}function T(e){if(!C.core.sameInstance(l))return!0;if(p&&S){if(e&&e.stopPropagation(),C.$el.find(\"img.fr-error\").left)return!1;p=null,f.hide(),x(),n(),C.undo.saveStep(),C.events.trigger(\"image.resizeEnd\",[we()])}else l.removeClass(\"fr-active\")}function $(e,t,a){C.edit.on(),S&&S.addClass(\"fr-error\"),r[e]?B(C.language.translate(r[e])):B(C.language.translate(\"Something went wrong. Please try again.\")),!S&&a&&te(a),C.events.trigger(\"image.error\",[{code:e,message:r[e]},t,a])}function P(e){if(e)return C.$wp&&C.events.$on(C.$wp,\"scroll.image-edit\",function(){S&&C.popups.isVisible(\"image.edit\")&&(C.events.disableBlur(),n())}),!0;var t=\"\";if(0<C.opts.imageEditButtons.length){var a={buttons:t+='<div class=\"fr-buttons\"> \\n        '.concat(C.button.buildList(C.opts.imageEditButtons),\"\\n        </div>\")};return C.popups.create(\"image.edit\",a)}return!1}function I(e){var t=C.popups.get(\"image.insert\");if(t||(t=V()),t.find(\".fr-layer.fr-active\").removeClass(\"fr-active\").addClass(\"fr-pactive\"),t.find(\".fr-image-progress-bar-layer\").addClass(\"fr-active\"),t.find(\".fr-buttons\").hide(),S){var a=Ae();C.popups.setContainer(\"image.insert\",C.$sc);var i=a.offset().left,r=a.offset().top+a.height();C.popups.show(\"image.insert\",i,r,a.outerHeight())}void 0===e&&O(C.language.translate(\"Uploading\"),0)}function z(e){var t=C.popups.get(\"image.insert\");if(t&&(t.find(\".fr-layer.fr-pactive\").addClass(\"fr-active\").removeClass(\"fr-pactive\"),t.find(\".fr-image-progress-bar-layer\").removeClass(\"fr-active\"),t.find(\".fr-buttons\").show(),e||C.$el.find(\"img.fr-error\").length)){if(C.events.focus(),C.$el.find(\"img.fr-error\").length&&(C.$el.find(\"img.fr-error\").remove(),C.undo.saveStep(),C.undo.run(),C.undo.dropRedo()),!C.$wp&&S){var a=S;ge(!0),C.selection.setAfter(a.get(0)),C.selection.restore()}C.popups.hide(\"image.insert\")}}function O(e,t){var a=C.popups.get(\"image.insert\");if(a){var i=a.find(\".fr-image-progress-bar-layer\");i.find(\"h3\").text(e+(t?\" \".concat(t,\"%\"):\"\")),i.removeClass(\"fr-error\"),t?(i.find(\"div\").removeClass(\"fr-indeterminate\"),i.find(\"div > span\").css(\"width\",\"\".concat(t,\"%\"))):i.find(\"div\").addClass(\"fr-indeterminate\")}}function B(e){I();var t=C.popups.get(\"image.insert\").find(\".fr-image-progress-bar-layer\");t.addClass(\"fr-error\");var a=t.find(\"h3\");a.text(e),C.events.disableBlur(),a.focus()}function k(e){fe.call(e.get(0))}function N(){var e=E(this);C.popups.hide(\"image.insert\"),e.removeClass(\"fr-uploading\"),e.next().is(\"br\")&&e.next().remove(),k(e),C.events.trigger(\"image.loaded\",[e])}function L(o,e,s,l,p){l&&\"string\"==typeof l&&(l=C.$(l)),C.edit.off(),O(C.language.translate(\"Loading image\")),e&&(o=C.helpers.sanitizeURL(o));var t=new Image;t.onload=function(){var e,t;if(l){C.undo.canDo()||l.hasClass(\"fr-uploading\")||C.undo.saveStep();var a=l.data(\"fr-old-src\");l.data(\"fr-image-pasted\")&&(a=null),C.$wp?((e=l.clone().removeData(\"fr-old-src\").removeClass(\"fr-uploading\").removeAttr(\"data-fr-image-pasted\")).off(\"load\"),a&&l.attr(\"src\",a),l.replaceWith(e)):e=l;for(var i=e.get(0).attributes,r=0;r<i.length;r++){var n=i[r];0===n.nodeName.indexOf(\"data-\")?e.removeAttr(n.nodeName):s&&s.hasOwnProperty(n.nodeName)&&e.removeAttr(n.nodeName)}if(void 0!==s)for(t in s)s.hasOwnProperty(t)&&\"link\"!=t&&e.attr(\"\".concat(t),s[t]);e.on(\"load\",N),e.attr(\"src\",o),C.edit.on(),v(!1),C.undo.saveStep(),C.events.disableBlur(),C.$el.blur(),C.events.trigger(a?\"image.replaced\":\"image.inserted\",[e,p])}else e=Y(o,s,N),v(!1),C.undo.saveStep(),C.events.disableBlur(),C.$el.blur(),C.events.trigger(\"image.inserted\",[e,p])},t.onerror=function(){$(i)},I(C.language.translate(\"Loading image\")),t.src=o}function _(e,t,a){O(C.language.translate(\"Loading image\"));var i=this.status,r=this.response,n=this.responseXML,o=this.responseText;try{if(C.opts.imageUploadToS3||C.opts.imageUploadToAzure)if(201==i){var s;if(C.opts.imageUploadToAzure){if(!1===C.events.trigger(\"image.uploadedToAzure\",[this.responseURL,a,r],!0))return C.edit.on(),!1;s=t}else s=function p(e){try{var t=E(e).find(\"Location\").text(),a=E(e).find(\"Key\").text();return!1===C.events.trigger(\"image.uploadedToS3\",[t,a,e],!0)?(C.edit.on(),!1):t}catch(i){return $(m,e),!1}}(n);s&&L(s,!1,[],e,r||n)}else $(m,r||n,e);else if(200<=i&&i<300){var l=function f(e){try{if(!1===C.events.trigger(\"image.uploaded\",[e],!0))return C.edit.on(),!1;var t=JSON.parse(e);return t.link?t:($(c,e),!1)}catch(a){return $(m,e),!1}}(o);l&&L(l.link,!1,l,e,r||o)}else $(d,r||o,e)}catch(g){$(m,r||o,e)}}function M(){$(m,this.response||this.responseText||this.responseXML)}function K(e){if(e.lengthComputable){var t=e.loaded/e.total*100|0;O(C.language.translate(\"Uploading\"),t)}}function Y(e,t,a){var i,r=E(document.createElement(\"img\")).attr(\"src\",e);if(t&&void 0!==t)for(i in t)t.hasOwnProperty(i)&&\"link\"!=i&&(\" data-\".concat(i,'=\"').concat(t[i],'\"'),r.attr(\"\".concat(i),t[i]));var n=C.opts.imageDefaultWidth;n&&\"auto\"!=n&&(n=C.opts.imageResizeWithPercent?\"100%\":\"\".concat(n,\"px\")),r.attr(\"style\",n?\"width: \".concat(n,\";\"):\"\"),ue(r,C.opts.imageDefaultDisplay,C.opts.imageDefaultAlign),r.on(\"load\",a),r.on(\"error\",a),C.edit.on(),C.events.focus(!0),C.selection.restore(),C.undo.saveStep(),C.opts.imageSplitHTML?C.markers.split():C.markers.insert(),C.html.wrap();var o=C.$el.find(\".fr-marker\");return o.length?(o.parent().is(\"hr\")&&o.parent().after(o),C.node.isLastSibling(o)&&o.parent().hasClass(\"fr-deletable\")&&o.insertAfter(o.parent()),o.replaceWith(r)):C.$el.append(r),C.selection.clear(),r}function H(){C.edit.on(),z(!0)}function W(e,t){if(void 0!==e&&0<e.length){if(e&&\"image/svg+xml\"==e[0].type){var a=new FileReader;a.onload=function(e){var t=e.target.result;C.image.insert(t,null,null,C.image.get())},a.readAsDataURL(e[0])}if(!1===C.events.trigger(\"image.beforeUpload\",[e,t]))return!1;var i,r=e[0];if(!(null!==C.opts.imageUploadURL&&C.opts.imageUploadURL!=R||C.opts.imageUploadToS3||C.opts.imageUploadToAzure))return function w(r,n){var o=new FileReader;o.onload=function(){var e=o.result;if(o.result.indexOf(\"svg+xml\")<0){for(var t=atob(o.result.split(\",\")[1]),a=[],i=0;i<t.length;i++)a.push(t.charCodeAt(i));e=window.URL.createObjectURL(new Blob([new Uint8Array(a)],{type:r.type})),n&&n.data(\"fr-old-src\",n.attr(\"src\")),C.image.insert(e,!1,null,n)}},I(),o.readAsDataURL(r)}(r,t||S),!1;if(r.name||(r.name=(new Date).getTime()+\".\"+(r.type||\"image/jpeg\").replace(/image\\//g,\"\")),r.size>C.opts.imageMaxSize)return $(D),!1;if(C.opts.imageAllowedTypes.indexOf(r.type.replace(/image\\//g,\"\"))<0)return $(U),!1;if(C.drag_support.formdata&&(i=C.drag_support.formdata?new FormData:null),i){var n;if(!1!==C.opts.imageUploadToS3)for(n in i.append(\"key\",C.opts.imageUploadToS3.keyStart+(new Date).getTime()+\"-\"+(r.name||\"untitled\")),i.append(\"success_action_status\",\"201\"),i.append(\"X-Requested-With\",\"xhr\"),i.append(\"Content-Type\",r.type),C.opts.imageUploadToS3.params)C.opts.imageUploadToS3.params.hasOwnProperty(n)&&i.append(n,C.opts.imageUploadToS3.params[n]);for(n in C.opts.imageUploadParams)C.opts.imageUploadParams.hasOwnProperty(n)&&i.append(n,C.opts.imageUploadParams[n]);i.append(C.opts.imageUploadParam,r,r.name);var o,s,l=C.opts.imageUploadURL,p=C.opts.imageUploadMethod;C.opts.imageUploadToS3&&(l=C.opts.imageUploadToS3.uploadURL?C.opts.imageUploadToS3.uploadURL:\"https://\".concat(C.opts.imageUploadToS3.region,\".amazonaws.com/\").concat(C.opts.imageUploadToS3.bucket)),C.opts.imageUploadToAzure&&(o=l=C.opts.imageUploadToAzure.uploadURL?\"\".concat(C.opts.imageUploadToAzure.uploadURL,\"/\").concat(r.name):encodeURI(\"https://\".concat(C.opts.imageUploadToAzure.account,\".blob.core.windows.net/\").concat(C.opts.imageUploadToAzure.container,\"/\").concat(r.name)),C.opts.imageUploadToAzure.SASToken&&(l+=C.opts.imageUploadToAzure.SASToken),p=\"PUT\");var f=C.core.getXHR(l,p);if(C.opts.imageUploadToAzure){var g=(new Date).toUTCString();if(!C.opts.imageUploadToAzure.SASToken&&C.opts.imageUploadToAzure.accessKey){var c=C.opts.imageUploadToAzure.account,d=C.opts.imageUploadToAzure.container;if(C.opts.imageUploadToAzure.uploadURL){var m=C.opts.imageUploadToAzure.uploadURL.split(\"/\");d=m.pop(),c=m.pop().split(\".\")[0]}var u=\"x-ms-blob-type:BlockBlob\\nx-ms-date:\".concat(g,\"\\nx-ms-version:2019-07-07\"),h=encodeURI(\"/\"+c+\"/\"+d+\"/\"+r.name),v=p+\"\\n\\n\\n\"+r.size+\"\\n\\n\"+r.type+\"\\n\\n\\n\\n\\n\\n\\n\"+u+\"\\n\"+h,b=C.cryptoJSPlugin.cryptoJS.HmacSHA256(v,C.cryptoJSPlugin.cryptoJS.enc.Base64.parse(C.opts.imageUploadToAzure.accessKey)).toString(C.cryptoJSPlugin.cryptoJS.enc.Base64),y=\"SharedKey \"+c+\":\"+b;s=b,f.setRequestHeader(\"Authorization\",y)}for(n in f.setRequestHeader(\"x-ms-version\",\"2019-07-07\"),f.setRequestHeader(\"x-ms-date\",g),f.setRequestHeader(\"Content-Type\",r.type),f.setRequestHeader(\"x-ms-blob-type\",\"BlockBlob\"),C.opts.imageUploadParams)C.opts.imageUploadParams.hasOwnProperty(n)&&f.setRequestHeader(n,C.opts.imageUploadParams[n]);for(n in C.opts.imageUploadToAzure.params)C.opts.imageUploadToAzure.params.hasOwnProperty(n)&&f.setRequestHeader(n,C.opts.imageUploadToAzure.params[n])}!function A(t,a,i,r,n,o){function s(){var e=E(this);e.off(\"load\"),e.addClass(\"fr-uploading\"),e.next().is(\"br\")&&e.next().remove(),C.placeholder.refresh(),k(e),x(),I(),C.edit.off(),t.onload=function(){_.call(t,e,n,o)},t.onerror=M,t.upload.onprogress=K,t.onabort=H,E(e.off(\"abortUpload\")).on(\"abortUpload\",function(){4!=t.readyState&&(t.abort(),r?(r.attr(\"src\",r.data(\"fr-old-src\")),r.removeClass(\"fr-uploading\")):e.remove(),ge(!0))}),t.send(C.opts.imageUploadToAzure?i:a)}var l=new FileReader;l.onload=function(){var e=l.result;if(l.result.indexOf(\"svg+xml\")<0){for(var t=atob(l.result.split(\",\")[1]),a=[],i=0;i<t.length;i++)a.push(t.charCodeAt(i));e=window.URL.createObjectURL(new Blob([new Uint8Array(a)],{type:\"image/jpeg\"}))}r?(r.on(\"load\",s),r.on(\"error\",function(){s(),E(this).off(\"error\")}),C.edit.on(),C.undo.saveStep(),r.data(\"fr-old-src\",r.attr(\"src\")),r.attr(\"src\",e)):Y(e,null,s)},l.readAsDataURL(i)}(f,i,r,t||S,o,s)}}}function G(e){if(e.is(\"img\")&&0<e.parents(\".fr-img-caption\").length)return e.parents(\".fr-img-caption\")}function F(e){var t=e.originalEvent.dataTransfer;if(t&&t.files&&t.files.length){var a=t.files[0];if(a&&a.type&&-1!==a.type.indexOf(\"image\")&&0<=C.opts.imageAllowedTypes.indexOf(a.type.replace(/image\\//g,\"\"))){if(!C.opts.imageUpload)return e.preventDefault(),e.stopPropagation(),!1;C.markers.remove(),C.markers.insertAtPoint(e.originalEvent),C.$el.find(\".fr-marker\").replaceWith(_e.MARKERS),0===C.$el.find(\".fr-marker\").length&&C.selection.setAtEnd(C.el),C.popups.hideAll();var i=C.popups.get(\"image.insert\");i||(i=V()),C.popups.setContainer(\"image.insert\",C.$sc);var r=e.originalEvent.pageX,n=e.originalEvent.pageY;if(C.opts.iframe){var o=C.helpers.getPX(C.$wp.find(\".fr-iframe\").css(\"padding-top\")),s=C.helpers.getPX(C.$wp.find(\".fr-iframe\").css(\"padding-left\"));n+=C.$iframe.offset().top+o,r+=C.$iframe.offset().left+s}return C.popups.show(\"image.insert\",r,n),I(),0<=C.opts.imageAllowedTypes.indexOf(a.type.replace(/image\\//g,\"\"))?(ge(!0),W(t.files)):$(U),e.preventDefault(),e.stopPropagation(),!1}}}function V(e){if(e)return C.popups.onRefresh(\"image.insert\",g),C.popups.onHide(\"image.insert\",u),!0;var t,a,i=\"\";C.opts.imageUpload||-1===C.opts.imageInsertButtons.indexOf(\"imageUpload\")||C.opts.imageInsertButtons.splice(C.opts.imageInsertButtons.indexOf(\"imageUpload\"),1);var r=C.button.buildList(C.opts.imageInsertButtons);\"\"!==r&&(i='<div class=\"fr-buttons fr-tabs\">'.concat(r,\"</div>\"));var n=C.opts.imageInsertButtons.indexOf(\"imageUpload\"),o=C.opts.imageInsertButtons.indexOf(\"imageByURL\"),s=\"\";0<=n&&(t=\" fr-active\",0<=o&&o<n&&(t=\"\"),s='<div class=\"fr-image-upload-layer'.concat(t,' fr-layer\" id=\"fr-image-upload-layer-').concat(C.id,'\"><strong>').concat(C.language.translate(\"Drop image\"),\"</strong><br>(\").concat(C.language.translate(\"or click\"),')<div class=\"fr-form\"><input type=\"file\" accept=\"image/').concat(C.opts.imageAllowedTypes.join(\", image/\").toLowerCase(),'\" tabIndex=\"-1\" aria-labelledby=\"fr-image-upload-layer-').concat(C.id,'\" role=\"button\"></div></div>'));var l=\"\";0<=o&&(t=\" fr-active\",0<=n&&n<o&&(t=\"\"),l='<div class=\"fr-image-by-url-layer'.concat(t,' fr-layer\" id=\"fr-image-by-url-layer-').concat(C.id,'\"><div class=\"fr-input-line\"><input id=\"fr-image-by-url-layer-text-').concat(C.id,'\" type=\"text\" placeholder=\"http://\" tabIndex=\"1\" aria-required=\"true\"></div><div class=\"fr-action-buttons\"><button type=\"button\" class=\"fr-command fr-submit\" data-cmd=\"imageInsertByURL\" tabIndex=\"2\" role=\"button\">').concat(C.language.translate(\"Insert\"),\"</button></div></div>\"));var p={buttons:i,upload_layer:s,by_url_layer:l,progress_bar:'<div class=\"fr-image-progress-bar-layer fr-layer\"><h3 tabIndex=\"-1\" class=\"fr-message\">Uploading</h3><div class=\"fr-loader\"><span class=\"fr-progress\"></span></div><div class=\"fr-action-buttons\"><button type=\"button\" class=\"fr-command fr-dismiss\" data-cmd=\"imageDismissError\" tabIndex=\"2\" role=\"button\">OK</button></div></div>'};return 1<=C.opts.imageInsertButtons.length&&(a=C.popups.create(\"image.insert\",p)),C.$wp&&C.events.$on(C.$wp,\"scroll\",function(){S&&C.popups.isVisible(\"image.insert\")&&be()}),function f(i){C.events.$on(i,\"dragover dragenter\",\".fr-image-upload-layer\",function(e){return E(this).addClass(\"fr-drop\"),(C.browser.msie||C.browser.edge)&&e.preventDefault(),!1},!0),C.events.$on(i,\"dragleave dragend\",\".fr-image-upload-layer\",function(e){return E(this).removeClass(\"fr-drop\"),(C.browser.msie||C.browser.edge)&&e.preventDefault(),!1},!0),C.events.$on(i,\"drop\",\".fr-image-upload-layer\",function(e){e.preventDefault(),e.stopPropagation(),E(this).removeClass(\"fr-drop\");var t=e.originalEvent.dataTransfer;if(t&&t.files){var a=i.data(\"instance\")||C;a.events.disableBlur(),a.image.upload(t.files),a.events.enableBlur()}},!0),C.helpers.isIOS()&&C.events.$on(i,\"touchstart\",'.fr-image-upload-layer input[type=\"file\"]',function(){E(this).trigger(\"click\")},!0),C.events.$on(i,\"change\",'.fr-image-upload-layer input[type=\"file\"]',function(){if(this.files){var e=i.data(\"instance\")||C;e.events.disableBlur(),i.find(\"input:focus\").blur(),e.events.enableBlur(),e.image.upload(this.files,S)}E(this).val(\"\")},!0)}(a),a}function X(){S&&C.popups.get(\"image.alt\").find(\"input\").val(S.attr(\"alt\")||\"\").trigger(\"change\")}function q(){var e=C.popups.get(\"image.alt\");e||(e=j()),z(),C.popups.refresh(\"image.alt\"),C.popups.setContainer(\"image.alt\",C.$sc);var t=Ae();Ce()&&(t=t.find(\".fr-img-wrap\"));var a=t.offset().left+t.outerWidth()/2,i=t.offset().top+t.outerHeight();C.popups.show(\"image.alt\",a,i,t.outerHeight(),!0)}function j(e){if(e)return C.popups.onRefresh(\"image.alt\",X),!0;var t={buttons:'<div class=\"fr-buttons fr-tabs\">'.concat(C.button.buildList(C.opts.imageAltButtons),\"</div>\"),alt_layer:'<div class=\"fr-image-alt-layer fr-layer fr-active\" id=\"fr-image-alt-layer-'.concat(C.id,'\"><div class=\"fr-input-line\"><input id=\"fr-image-alt-layer-text-').concat(C.id,'\" type=\"text\" placeholder=\"').concat(C.language.translate(\"Alternative Text\"),'\" tabIndex=\"1\"></div><div class=\"fr-action-buttons\"><button type=\"button\" class=\"fr-command fr-submit\" data-cmd=\"imageSetAlt\" tabIndex=\"2\" role=\"button\">').concat(C.language.translate(\"Update\"),\"</button></div></div>\")},a=C.popups.create(\"image.alt\",t);return C.$wp&&C.events.$on(C.$wp,\"scroll.image-alt\",function(){S&&C.popups.isVisible(\"image.alt\")&&q()}),a}function J(){var e=C.popups.get(\"image.size\"),t=S.get(0).style.height?S.get(0).style.height:\"auto\",a=S.get(0).style.width?S.get(0).style.width:\"auto\";if(S)if(Ce()){var i=S.parent();i.get(0).style.width||(i=S.parent().parent()),e.find('input[name=\"width\"]').val(a).trigger(\"change\"),e.find('input[name=\"height\"]').val(t).trigger(\"change\")}else e.find('input[name=\"width\"]').val(a).trigger(\"change\"),e.find('input[name=\"height\"]').val(t).trigger(\"change\")}function Q(){var e=C.popups.get(\"image.size\");e||(e=Z()),z(),C.popups.refresh(\"image.size\"),C.popups.setContainer(\"image.size\",C.$sc);var t=Ae();Ce()&&(t=t.find(\".fr-img-wrap\"));var a=t.offset().left+t.outerWidth()/2,i=t.offset().top+t.outerHeight();C.popups.show(\"image.size\",a,i,t.outerHeight(),!0)}function Z(e){if(e)return C.popups.onRefresh(\"image.size\",J),!0;var t={buttons:'<div class=\"fr-buttons fr-tabs\">'.concat(C.button.buildList(C.opts.imageSizeButtons),\"</div>\"),size_layer:'<div class=\"fr-image-size-layer fr-layer fr-active\" id=\"fr-image-size-layer-'.concat(C.id,'\"><div class=\"fr-image-group\"><div class=\"fr-input-line\"><input id=\"fr-image-size-layer-width-\\'').concat(C.id,'\" type=\"text\" name=\"width\" placeholder=\"').concat(C.language.translate(\"Width\"),'\" tabIndex=\"1\"></div><div class=\"fr-input-line\"><input id=\"fr-image-size-layer-height').concat(C.id,'\" type=\"text\" name=\"height\" placeholder=\"').concat(C.language.translate(\"Height\"),'\" tabIndex=\"1\"></div></div><div class=\"fr-action-buttons\"><button type=\"button\" class=\"fr-command fr-submit\" data-cmd=\"imageSetSize\" tabIndex=\"2\" role=\"button\">').concat(C.language.translate(\"Update\"),\"</button></div></div>\")},a=C.popups.create(\"image.size\",t);return C.$wp&&C.events.$on(C.$wp,\"scroll.image-size\",function(){S&&C.popups.isVisible(\"image.size\")&&Q()}),a}function ee(e,t,a,i){return e.pageX=t,w.call(this,e),e.pageX=e.pageX+a*Math.floor(Math.pow(1.1,i)),A.call(this,e),T.call(this,e),++i}function te(e){(e=e||Ae())&&!1!==C.events.trigger(\"image.beforeRemove\",[e])&&(C.popups.hideAll(),ye(),ge(!0),C.undo.canDo()||C.undo.saveStep(),e.get(0)==C.el?e.removeAttr(\"src\"):(e.get(0).parentNode&&\"A\"==e.get(0).parentNode.tagName?(C.selection.setBefore(e.get(0).parentNode)||C.selection.setAfter(e.get(0).parentNode)||e.parent().after(_e.MARKERS),E(e.get(0).parentNode).remove()):(C.selection.setBefore(e.get(0))||C.selection.setAfter(e.get(0))||e.after(_e.MARKERS),e.remove()),C.html.fillEmptyBlocks(),C.selection.restore()),C.undo.saveStep())}function ae(e){var t=e.which;if(S&&(t==_e.KEYCODE.BACKSPACE||t==_e.KEYCODE.DELETE))return e.preventDefault(),e.stopPropagation(),te(),!1;if(S&&t==_e.KEYCODE.ESC){var a=S;return ge(!0),C.selection.setAfter(a.get(0)),C.selection.restore(),e.preventDefault(),!1}if(!S||t!=_e.KEYCODE.ARROW_LEFT&&t!=_e.KEYCODE.ARROW_RIGHT)return S&&t===_e.KEYCODE.TAB?(e.preventDefault(),e.stopPropagation(),ge(!0),!1):S&&t!=_e.KEYCODE.F10&&!C.keys.isBrowserAction(e)?(e.preventDefault(),e.stopPropagation(),!1):void 0;var i=S.get(0);return ge(!0),t==_e.KEYCODE.ARROW_LEFT?C.selection.setBefore(i):C.selection.setAfter(i),C.selection.restore(),e.preventDefault(),!1}function ie(e){if(e&&\"IMG\"==e.tagName){if(C.node.hasClass(e,\"fr-uploading\")||C.node.hasClass(e,\"fr-error\")?e.parentNode.removeChild(e):C.node.hasClass(e,\"fr-draggable\")&&e.classList.remove(\"fr-draggable\"),e.parentNode&&e.parentNode.parentNode&&C.node.hasClass(e.parentNode.parentNode,\"fr-img-caption\")){var t=e.parentNode.parentNode;t.removeAttribute(\"contenteditable\"),t.removeAttribute(\"draggable\"),t.classList.remove(\"fr-draggable\");var a=e.nextSibling;a&&a.removeAttribute(\"contenteditable\")}}else if(e&&e.nodeType==Node.ELEMENT_NODE)for(var i=e.querySelectorAll(\"img.fr-uploading, img.fr-error, img.fr-draggable\"),r=0;r<i.length;r++)ie(i[r])}function re(e){if(!1===C.events.trigger(\"image.beforePasteUpload\",[e]))return!1;S=E(e),x(),n(),be(),I(),S.on(\"load\",function(){var t=[];x(),E(C.popups.get(\"image.insert\").get(0)).find(\"div.fr-active.fr-error\").length<1&&I(),E(this).data(\"events\").filter(function(e){\"load\"===e[0]&&t.push(e)}),t.length<=1&&E(this).off(\"load\")});for(var t=E(e).attr(\"src\").split(\",\"),a=atob(t[1]),i=[],r=0;r<a.length;r++)i.push(a.charCodeAt(r));W([new Blob([new Uint8Array(i)],{type:t[0].replace(/data\\:/g,\"\").replace(/;base64/g,\"\")})],S)}function ne(){C.opts.imagePaste?C.$el.find(\"img[data-fr-image-pasted]\").each(function(e,i){if(C.opts.imagePasteProcess){var t=C.opts.imageDefaultWidth;t&&\"auto\"!=t&&(t+=C.opts.imageResizeWithPercent?\"%\":\"px\"),E(i).css(\"width\",t).removeClass(\"fr-dii fr-dib fr-fir fr-fil\"),ue(E(i),C.opts.imageDefaultDisplay,C.opts.imageDefaultAlign)}if(0===i.src.indexOf(\"data:\"))re(i);else if(0===i.src.indexOf(\"blob:\")||0===i.src.indexOf(\"http\")&&C.opts.imageUploadRemoteUrls&&C.opts.imageCORSProxy){var a=new Image;a.crossOrigin=\"Anonymous\",a.onload=function(){var e,t=C.o_doc.createElement(\"CANVAS\"),a=t.getContext(\"2d\");t.height=this.naturalHeight,t.width=this.naturalWidth,a.drawImage(this,0,0),setTimeout(function(){re(i)},0),e=2e3<this.naturalWidth||1500<this.naturalHeight?\"jpeg\":\"png\",i.src=t.toDataURL(\"image/\".concat(e))},a.src=(0===i.src.indexOf(\"blob:\")?\"\":\"\".concat(C.opts.imageCORSProxy,\"/\"))+i.src}else 0!==i.src.indexOf(\"http\")||0===i.src.indexOf(\"https://mail.google.com/mail\")?(C.selection.save(),E(i).remove(),C.selection.restore()):E(i).removeAttr(\"data-fr-image-pasted\")}):C.$el.find(\"img[data-fr-image-pasted]\").remove()}function oe(e){var t=e.target.result,a=C.opts.imageDefaultWidth;a&&\"auto\"!=a&&(a+=C.opts.imageResizeWithPercent?\"%\":\"px\"),C.undo.saveStep(),C.html.insert('<img data-fr-image-pasted=\"true\" src=\"'.concat(t,'\"').concat(a?' style=\"width: '.concat(a,';\"'):\"\",\">\"));var i=C.$el.find('img[data-fr-image-pasted=\"true\"]');i&&ue(i,C.opts.imageDefaultDisplay,C.opts.imageDefaultAlign),C.events.trigger(\"paste.after\")}function se(e,t){var a=new FileReader;a.onload=function i(e){var t=C.opts.imageDefaultWidth;t&&\"auto\"!=t&&(t+=C.opts.imageResizeWithPercent?\"%\":\"px\"),C.html.insert('<img data-fr-image-pasted=\"true\" src=\"'.concat(e,'\"').concat(t?' style=\"width: '.concat(t,';\"'):\"\",\">\"));var a=C.$el.find('img[data-fr-image-pasted=\"true\"]');a&&ue(a,C.opts.imageDefaultDisplay,C.opts.imageDefaultAlign),C.events.trigger(\"paste.after\")}(t),a.readAsDataURL(e,t)}function le(e){if(e&&e.clipboardData&&e.clipboardData.items){var t=(e.clipboardData||window.clipboardData).getData(\"text/html\")||\"\",a=(new DOMParser).parseFromString(t,\"text/html\").querySelector(\"img\");if(a){if(!a)return!1;var i=a.src,r=null;if(e.clipboardData.types&&-1!=[].indexOf.call(e.clipboardData.types,\"text/rtf\")||e.clipboardData.getData(\"text/rtf\"))r=e.clipboardData.items[0].getAsFile();else for(var n=0;n<e.clipboardData.items.length&&!(r=e.clipboardData.items[n].getAsFile());n++);if(r)return se(r,i),!1}else{var o=null;if(e.clipboardData.types&&-1!=[].indexOf.call(e.clipboardData.types,\"text/rtf\")||e.clipboardData.getData(\"text/rtf\"))o=e.clipboardData.items[0].getAsFile();else for(var s=0;s<e.clipboardData.items.length&&!(o=e.clipboardData.items[s].getAsFile());s++);if(o)return function l(e){var t=new FileReader;t.onload=oe,t.readAsDataURL(e)}(o),!1}}}function pe(e){return e=e.replace(/<img /gi,'<img data-fr-image-pasted=\"true\" ')}function fe(e){if(\"false\"==E(this).parents(\"[contenteditable]\").not(\".fr-element\").not(\".fr-img-caption\").not(\"body\").first().attr(\"contenteditable\"))return!0;if(e&&\"touchend\"==e.type&&a)return!0;if(e&&C.edit.isDisabled())return e.stopPropagation(),e.preventDefault(),!1;for(var t=0;t<_e.INSTANCES.length;t++)_e.INSTANCES[t]!=C&&_e.INSTANCES[t].events.trigger(\"image.hideResizer\");C.toolbar.disable(),e&&(e.stopPropagation(),e.preventDefault()),C.helpers.isMobile()&&(C.events.disableBlur(),C.$el.blur(),C.events.enableBlur()),C.opts.iframe&&C.size.syncIframe(),S=E(this),ye(),x(),n(),C.browser.msie?(C.popups.areVisible()&&C.events.disableBlur(),C.win.getSelection&&(C.win.getSelection().removeAllRanges(),C.win.getSelection().addRange(C.doc.createRange()))):C.selection.clear(),C.helpers.isIOS()&&(C.events.disableBlur(),C.$el.blur()),C.button.bulkRefresh(),C.events.trigger(\"video.hideResizer\")}function ge(e){S&&(function t(){return ce}()||!0===e)&&(C.toolbar.enable(),l.removeClass(\"fr-active\"),C.popups.hideAll(),S=null,me(),p=null,f&&f.hide())}r[i]=\"Image cannot be loaded from the passed link.\",r[c]=\"No link in upload response.\",r[d]=\"Error during file upload.\",r[m]=\"Parsing response failed.\",r[D]=\"File is too large.\",r[U]=\"Image file type is invalid.\",r[7]=\"Files can be uploaded only to same domain in IE 8 and IE 9.\";var ce=!(r[8]=\"Image file is corrupted.\");function de(){ce=!0}function me(){ce=!1}function ue(e,t,a){!C.opts.htmlUntouched&&C.opts.useClasses?(e.removeClass(\"fr-fil fr-fir fr-dib fr-dii\"),a&&e.addClass(\"fr-fi\".concat(a[0])),t&&e.addClass(\"fr-di\".concat(t[0]))):\"inline\"==t?(e.css({display:\"inline-block\",verticalAlign:\"bottom\",margin:C.opts.imageDefaultMargin}),\"center\"==a?e.css({\"float\":\"none\",marginBottom:\"\",marginTop:\"\",maxWidth:\"calc(100% - \".concat(2*C.opts.imageDefaultMargin,\"px)\"),textAlign:\"center\"}):\"left\"==a?e.css({\"float\":\"left\",marginLeft:0,maxWidth:\"calc(100% - \".concat(C.opts.imageDefaultMargin,\"px)\"),textAlign:\"left\"}):e.css({\"float\":\"right\",marginRight:0,maxWidth:\"calc(100% - \".concat(C.opts.imageDefaultMargin,\"px)\"),textAlign:\"right\"})):\"block\"==t&&(e.css({display:\"block\",\"float\":\"none\",verticalAlign:\"top\",margin:\"\".concat(C.opts.imageDefaultMargin,\"px auto\"),textAlign:\"center\"}),\"left\"==a?e.css({marginLeft:0,textAlign:\"left\"}):\"right\"==a&&e.css({marginRight:0,textAlign:\"right\"}))}function he(e){if(void 0===e&&(e=Ae()),e){if(e.hasClass(\"fr-fil\"))return\"left\";if(e.hasClass(\"fr-fir\"))return\"right\";if(e.hasClass(\"fr-dib\")||e.hasClass(\"fr-dii\"))return\"center\";var t=e.css(\"float\");if(e.css(\"float\",\"none\"),\"block\"==e.css(\"display\")){if(e.css(\"float\",\"\"),e.css(\"float\")!=t&&e.css(\"float\",t),0===parseInt(e.css(\"margin-left\"),10))return\"left\";if(0===parseInt(e.css(\"margin-right\"),10))return\"right\"}else{if(e.css(\"float\",\"\"),e.css(\"float\")!=t&&e.css(\"float\",t),\"left\"==e.css(\"float\"))return\"left\";if(\"right\"==e.css(\"float\"))return\"right\"}}return\"center\"}function ve(e){void 0===e&&(e=Ae());var t=e.css(\"float\");return e.css(\"float\",\"none\"),\"block\"==e.css(\"display\")?(e.css(\"float\",\"\"),e.css(\"float\")!=t&&e.css(\"float\",t),\"block\"):(e.css(\"float\",\"\"),e.css(\"float\")!=t&&e.css(\"float\",t),\"inline\")}function be(){var e=C.popups.get(\"image.insert\");e||(e=V()),C.popups.isVisible(\"image.insert\")||(z(),C.popups.refresh(\"image.insert\"),C.popups.setContainer(\"image.insert\",C.$sc));var t=Ae();Ce()&&(t=t.find(\".fr-img-wrap\"));var a=t.offset().left+t.outerWidth()/2,i=t.offset().top+t.outerHeight();C.popups.show(\"image.insert\",a,i,t.outerHeight(!0),!0)}function ye(){if(S){C.events.disableBlur(),C.selection.clear();var e=C.doc.createRange();e.selectNode(S.get(0)),C.browser.msie&&e.collapse(!0),C.selection.get().addRange(e),C.events.enableBlur()}}function we(){return S}function Ae(){return Ce()?S.parents(\".fr-img-caption\").first():S}function Ce(){return!!S&&0<S.parents(\".fr-img-caption\").length}function Se(e){for(var t=document.createDocumentFragment();e.firstChild;){var a=e.removeChild(e.firstChild);t.appendChild(a)}e.parentNode.replaceChild(t,e)}return{_init:function Ee(){var i;(function e(){C.events.$on(C.$el,C._mousedown,\"IMG\"==C.el.tagName?null:'img:not([contenteditable=\"false\"])',function(e){if(\"false\"==E(this).parents(\"contenteditable\").not(\".fr-element\").not(\".fr-img-caption\").not(\"body\").first().attr(\"contenteditable\"))return!0;C.helpers.isMobile()||C.selection.clear(),t=!0,C.popups.areVisible()&&C.events.disableBlur(),C.browser.msie&&(C.events.disableBlur(),C.$el.attr(\"contenteditable\",!1)),C.draggable||\"touchstart\"==e.type||e.preventDefault(),e.stopPropagation()}),C.events.$on(C.$el,C._mousedown,\".fr-img-caption .fr-inner\",function(e){C.core.hasFocus()||C.events.focus(),e.stopPropagation()}),C.events.$on(C.$el,\"paste\",\".fr-img-caption .fr-inner\",function(e){!0===C.opts.toolbarInline&&(C.toolbar.hide(),e.stopPropagation())}),C.events.$on(C.$el,C._mouseup,\"IMG\"==C.el.tagName?null:'img:not([contenteditable=\"false\"])',function(e){if(\"false\"==E(this).parents(\"contenteditable\").not(\".fr-element\").not(\".fr-img-caption\").not(\"body\").first().attr(\"contenteditable\"))return!0;t&&(t=!1,e.stopPropagation(),C.browser.msie&&(C.$el.attr(\"contenteditable\",!0),C.events.enableBlur()))}),C.events.on(\"keyup\",function(e){if(e.shiftKey&&\"\"===C.selection.text().replace(/\\n/g,\"\")&&C.keys.isArrow(e.which)){var t=C.selection.element(),a=C.selection.endElement();t&&\"IMG\"==t.tagName?k(E(t)):a&&\"IMG\"==a.tagName&&k(E(a))}},!0),C.events.on(\"drop\",F),C.events.on(\"element.beforeDrop\",G),C.events.on(\"mousedown window.mousedown\",de),C.events.on(\"window.touchmove\",me),C.events.on(\"mouseup window.mouseup\",function(){if(S&&!C.helpers.isMobile())return ge(),!1;me()}),C.events.on(\"commands.mousedown\",function(e){0<e.parents(\".fr-toolbar\").length&&ge()}),C.events.on(\"image.resizeEnd\",function(){C.opts.iframe&&C.size.syncIframe()}),C.events.on(\"blur image.hideResizer commands.undo commands.redo element.dropped\",function(){ge(!(t=!1))}),C.events.on(\"modals.hide\",function(){S&&(ye(),C.selection.clear())}),C.events.on(\"image.resizeEnd\",function(){C.win.getSelection&&k(S)}),C.opts.imageAddNewLine&&C.events.on(\"image.inserted\",function(e){var t=e.get(0);for(t.nextSibling&&\"BR\"===t.nextSibling.tagName&&(t=t.nextSibling);t&&!C.node.isElement(t);)t=C.node.isLastSibling(t)?t.parentNode:null;C.node.isElement(t)&&(C.opts.enter===_e.ENTER_BR?e.after(\"<br>\"):E(C.node.blockParent(e.get(0))).after(\"<\".concat(C.html.defaultTag(),\"><br></\").concat(C.html.defaultTag(),\">\")))})})(),\"IMG\"==C.el.tagName&&C.$el.addClass(\"fr-view\"),C.events.$on(C.$el,C.helpers.isMobile()&&!C.helpers.isWindowsPhone()?\"touchend\":\"click\",\"IMG\"==C.el.tagName?null:'img:not([contenteditable=\"false\"])',fe),C.helpers.isMobile()&&(C.events.$on(C.$el,\"touchstart\",\"IMG\"==C.el.tagName?null:'img:not([contenteditable=\"false\"])',function(){a=!1}),C.events.$on(C.$el,\"touchmove\",function(){a=!0})),C.$wp?(C.events.on(\"window.keydown keydown\",ae,!0),C.events.on(\"keyup\",function(e){if(S&&e.which==_e.KEYCODE.ENTER)return!1},!0),C.events.$on(C.$el,\"keydown\",function(){var e=C.selection.element();(e.nodeType===Node.TEXT_NODE||\"BR\"==e.tagName&&C.node.isLastSibling(e))&&(e=e.parentNode),C.node.hasClass(e,\"fr-inner\")||(C.node.hasClass(e,\"fr-img-caption\")||(e=E(e).parents(\".fr-img-caption\").get(0)),C.node.hasClass(e,\"fr-img-caption\")&&(E(e).after(_e.INVISIBLE_SPACE+_e.MARKERS),C.selection.restore()))})):C.events.$on(C.$win,\"keydown\",ae),C.events.on(\"toolbar.esc\",function(){if(S){if(C.$wp)C.events.disableBlur(),C.events.focus();else{var e=S;ge(!0),C.selection.setAfter(e.get(0)),C.selection.restore()}return!1}},!0),C.events.on(\"toolbar.focusEditor\",function(){if(S)return!1},!0),C.events.on(\"window.cut window.copy\",function(e){if(S&&C.popups.isVisible(\"image.edit\")&&!C.popups.get(\"image.edit\").find(\":focus\").length){var t=Ae();Ce()?(t.before(_e.START_MARKER),t.after(_e.END_MARKER),C.selection.restore(),C.paste.saveCopiedText(t.get(0).outerHTML,t.text())):(ye(),C.paste.saveCopiedText(S.get(0).outerHTML,S.attr(\"alt\"))),\"copy\"==e.type?setTimeout(function(){k(S)}):(ge(!0),C.undo.saveStep(),setTimeout(function(){C.undo.saveStep()},0))}},!0),C.browser.msie&&C.events.on(\"keydown\",function(e){if(!C.selection.isCollapsed()||!S)return!0;var t=e.which;t==_e.KEYCODE.C&&C.keys.ctrlKey(e)?C.events.trigger(\"window.copy\"):t==_e.KEYCODE.X&&C.keys.ctrlKey(e)&&C.events.trigger(\"window.cut\")}),C.events.$on(E(C.o_win),\"keydown\",function(e){var t=e.which;if(S&&t==_e.KEYCODE.BACKSPACE)return e.preventDefault(),!1}),C.events.$on(C.$win,\"keydown\",function(e){var t=e.which;S&&S.hasClass(\"fr-uploading\")&&t==_e.KEYCODE.ESC&&S.trigger(\"abortUpload\")}),C.events.on(\"destroy\",function(){S&&S.hasClass(\"fr-uploading\")&&S.trigger(\"abortUpload\")}),C.events.on(\"paste.before\",le),C.events.on(\"paste.beforeCleanup\",pe),C.events.on(\"paste.after\",ne),C.events.on(\"html.set\",h),C.events.on(\"html.inserted\",h),h(),C.events.on(\"destroy\",function(){s=[]}),C.events.on(\"html.processGet\",ie),C.opts.imageOutputSize&&C.events.on(\"html.beforeGet\",function(){i=C.el.querySelectorAll(\"img\");for(var e=0;e<i.length;e++){var t=i[e].style.width||E(i[e]).width(),a=i[e].style.height||E(i[e]).height();t&&i[e].setAttribute(\"width\",\"\".concat(t).replace(/px/,\"\")),a&&i[e].setAttribute(\"height\",\"\".concat(a).replace(/px/,\"\"))}}),C.opts.iframe&&C.events.on(\"image.loaded\",C.size.syncIframe),C.$wp&&(v(),C.events.on(\"contentChanged\",v)),C.events.$on(E(C.o_win),\"orientationchange.image\",function(){setTimeout(function(){S&&k(S)},100)}),P(!0),V(!0),Z(!0),j(!0),C.events.on(\"node.remove\",function(e){if(\"IMG\"==e.get(0).tagName)return te(e),!1})},showInsertPopup:function Re(){var e=C.$tb.find('.fr-command[data-cmd=\"insertImage\"]'),t=C.popups.get(\"image.insert\");if(t||(t=V()),z(),!t.hasClass(\"fr-active\"))if(C.popups.refresh(\"image.insert\"),C.popups.setContainer(\"image.insert\",C.$tb),e.isVisible()){var a=C.button.getPosition(e),i=a.left,r=a.top;C.popups.show(\"image.insert\",i,r,e.outerHeight())}else C.position.forSelection(t),C.popups.show(\"image.insert\")},showLayer:function De(e){var t,a,i=C.popups.get(\"image.insert\");if(S||C.opts.toolbarInline){if(S){var r=Ae();Ce()&&(r=r.find(\".fr-img-wrap\")),a=r.offset().top+r.outerHeight(),t=r.offset().left}}else{var n=C.$tb.find('.fr-command[data-cmd=\"insertImage\"]');t=n.offset().left,a=n.offset().top+(C.opts.toolbarBottom?10:n.outerHeight()-10)}!S&&C.opts.toolbarInline&&(a=i.offset().top-C.helpers.getPX(i.css(\"margin-top\")),i.hasClass(\"fr-above\")&&(a+=i.outerHeight())),i.find(\".fr-layer\").removeClass(\"fr-active\"),i.find(\".fr-\".concat(e,\"-layer\")).addClass(\"fr-active\"),C.popups.show(\"image.insert\",t,a,S?S.outerHeight():0),C.accessibility.focusPopup(i)},refreshUploadButton:function Ue(e){var t=C.popups.get(\"image.insert\");t&&t.find(\".fr-image-upload-layer\").hasClass(\"fr-active\")&&e.addClass(\"fr-active\").attr(\"aria-pressed\",!0)},refreshByURLButton:function xe(e){var t=C.popups.get(\"image.insert\");t&&t.find(\".fr-image-by-url-layer\").hasClass(\"fr-active\")&&e.addClass(\"fr-active\").attr(\"aria-pressed\",!0)},upload:W,insertByURL:function Te(){var e=C.popups.get(\"image.insert\").find(\".fr-image-by-url-layer input\");if(0<e.val().length){I(),O(C.language.translate(\"Loading image\"));var t=e.val().trim();if(C.opts.imageUploadRemoteUrls&&C.opts.imageCORSProxy&&C.opts.imageUpload){var a=new XMLHttpRequest;a.onload=function(){200==this.status?W([new Blob([this.response],{type:this.response.type||\"image/png\"})],S):$(i)},a.onerror=function(){L(t,!0,[],S)},a.open(\"GET\",\"\".concat(C.opts.imageCORSProxy,\"/\").concat(t),!0),a.responseType=\"blob\",a.send()}else L(t,!0,[],S);e.val(\"\"),e.blur()}},align:function $e(e){var t=Ae();t.removeClass(\"fr-fir fr-fil\"),!C.opts.htmlUntouched&&C.opts.useClasses?\"left\"==e?t.addClass(\"fr-fil\"):\"right\"==e&&t.addClass(\"fr-fir\"):ue(t,ve(),e),ye(),x(),n(),C.selection.clear()},refreshAlign:function Pe(e){S&&e.find(\"> *\").first().replaceWith(C.icon.create(\"image-align-\".concat(he())))},refreshAlignOnShow:function Ie(e,t){S&&t.find('.fr-command[data-param1=\"'.concat(he(),'\"]')).addClass(\"fr-active\").attr(\"aria-selected\",!0)},display:function ze(e){var t=Ae();t.removeClass(\"fr-dii fr-dib\"),!C.opts.htmlUntouched&&C.opts.useClasses?\"inline\"==e?t.addClass(\"fr-dii\"):\"block\"==e&&t.addClass(\"fr-dib\"):ue(t,e,he()),ye(),x(),n(),C.selection.clear()},refreshDisplayOnShow:function Oe(e,t){S&&t.find('.fr-command[data-param1=\"'.concat(ve(),'\"]')).addClass(\"fr-active\").attr(\"aria-selected\",!0)},replace:be,back:function e(){S?(C.events.disableBlur(),E(\".fr-popup input:focus\").blur(),k(S)):(C.events.disableBlur(),C.selection.restore(),C.events.enableBlur(),C.popups.hide(\"image.insert\"),C.toolbar.showInline())},get:we,getEl:Ae,insert:L,showProgressBar:I,remove:te,hideProgressBar:z,applyStyle:function Be(e,t,a){if(void 0===t&&(t=C.opts.imageStyles),void 0===a&&(a=C.opts.imageMultipleStyles),!S)return!1;var i=Ae();if(!a){var r=Object.keys(t);r.splice(r.indexOf(e),1),i.removeClass(r.join(\" \"))}\"object\"==Me(t[e])?(i.removeAttr(\"style\"),i.css(t[e].style)):i.toggleClass(e),k(S)},showAltPopup:q,showSizePopup:Q,setAlt:function ke(e){if(S){var t=C.popups.get(\"image.alt\");S.attr(\"alt\",e||t.find(\"input\").val()||\"\"),t.find(\"input:focus\").blur(),k(S)}},setSize:function Ne(e,t){if(S){var a=C.popups.get(\"image.size\");e=e||a.find('input[name=\"width\"]').val()||\"\",t=t||a.find('input[name=\"height\"]').val()||\"\";var i=/^[\\d]+((px)|%)*$/g;S.removeAttr(\"width\").removeAttr(\"height\"),e.match(i)?S.css(\"width\",e):S.css(\"width\",\"\"),t.match(i)?S.css(\"height\",t):S.css(\"height\",\"\"),Ce()&&(S.parents(\".fr-img-caption\").removeAttr(\"width\").removeAttr(\"height\"),e.match(i)?S.parents(\".fr-img-caption\").css(\"width\",e):S.parents(\".fr-img-caption\").css(\"width\",\"\"),t.match(i)?S.parents(\".fr-img-caption\").css(\"height\",t):S.parents(\".fr-img-caption\").css(\"height\",\"\")),a&&a.find(\"input:focus\").blur(),k(S)}},toggleCaption:function Le(){var e;if(S&&!Ce()){((e=S).parent().is(\"a\")||S.parent().is(\"p\"))&&(e=S.parent());var t,a,i=S.parents(\"ul\")&&0<S.parents(\"ul\").length?S.parents(\"ul\"):S.parents(\"ol\")&&0<S.parents(\"ol\").length?S.parents(\"ol\"):[];if(0<i.length){var r=i.find(\"li\").length,n=S.parents(\"li\"),o=document.createElement(\"li\");r-1===n.index()&&(i.append(o),o.innerHTML=\"&nbsp;\")}e.attr(\"style\")?a=-1<(t=e.attr(\"style\").split(\":\")).indexOf(\"width\")?t[t.indexOf(\"width\")+1].replace(\";\",\"\"):\"\":e.attr(\"width\")&&(a=e.attr(\"width\"));var s=C.opts.imageResizeWithPercent?(-1<a.indexOf(\"px\")?null:a)||\"100%\":S.width()+\"px\";e.wrap('<div class=\"fr-img-space-wrap\"><span '+(C.browser.mozilla?\"\":'contenteditable=\"false\"')+'class=\"fr-img-caption '+S.attr(\"class\")+'\" style=\"'+(C.opts.useClasses?\"\":e.attr(\"style\"))+'\" draggable=\"false\"></span><p class=\"fr-img-space-wrap2\">&nbsp;</p></div>'),e.wrap('<span class=\"fr-img-wrap\"></span>'),S.after('<span class=\"fr-inner\"'.concat(C.browser.mozilla?\"\":' contenteditable=\"true\"',\">\").concat(_e.START_MARKER).concat(C.language.translate(\"Image Caption\")).concat(_e.END_MARKER,\"</span>\")),S.parents(\".fr-img-caption\").css(\"width\",s),1<S.parents(\".fr-img-space-wrap\").length&&(Se(document.querySelector(\".fr-img-space-wrap\")),Se(document.querySelector(\".fr-img-space-wrap2\"))),ge(!0),C.selection.restore()}else{if(e=Ae(),S.insertBefore(e),null!==e[0].querySelector(\"a\")){for(var l,p=e[0].querySelector(\"a\"),f=document.createElement(\"a\"),g=0,c=p.attributes,d=c.length;g<d;g++)l=c[g],f.setAttribute(l.nodeName,l.nodeValue);S.wrap(f)}S.attr(\"class\",e.attr(\"class\").replace(\"fr-img-caption\",\"\")).attr(\"style\",e.attr(\"style\")),e.remove(),1<S.parents(\".fr-img-space-wrap\").length&&(Se(document.querySelector(\".fr-img-space-wrap\")),Se(document.querySelector(\".fr-img-space-wrap2\"))),k(S)}},hasCaption:Ce,exitEdit:ge,edit:k}},_e.DefineIcon(\"insertImage\",{NAME:\"image\",SVG_KEY:\"insertImage\"}),_e.RegisterShortcut(_e.KEYCODE.P,\"insertImage\",null,\"P\"),_e.RegisterCommand(\"insertImage\",{title:\"Insert Image\",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible(\"image.insert\")?(this.$el.find(\".fr-marker\").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide(\"image.insert\")):this.image.showInsertPopup()},plugin:\"image\"}),_e.DefineIcon(\"imageUpload\",{NAME:\"upload\",SVG_KEY:\"upload\"}),_e.RegisterCommand(\"imageUpload\",{title:\"Upload Image\",undo:!1,focus:!1,toggle:!0,callback:function(){this.image.showLayer(\"image-upload\")},refresh:function(e){this.image.refreshUploadButton(e)}}),_e.DefineIcon(\"imageByURL\",{NAME:\"link\",SVG_KEY:\"insertLink\"}),_e.RegisterCommand(\"imageByURL\",{title:\"By URL\",undo:!1,focus:!1,toggle:!0,callback:function(){this.image.showLayer(\"image-by-url\")},refresh:function(e){this.image.refreshByURLButton(e)}}),_e.RegisterCommand(\"imageInsertByURL\",{title:\"Insert Image\",undo:!0,refreshAfterCallback:!1,callback:function(){this.image.insertByURL()},refresh:function(e){this.image.get()?e.text(this.language.translate(\"Replace\")):e.text(this.language.translate(\"Insert\"))}}),_e.DefineIcon(\"imageDisplay\",{NAME:\"star\",SVG_KEY:\"imageDisplay\"}),_e.RegisterCommand(\"imageDisplay\",{title:\"Display\",type:\"dropdown\",options:{inline:\"Inline\",block:\"Break Text\"},callback:function(e,t){this.image.display(t)},refresh:function(e){this.opts.imageTextNear||e.addClass(\"fr-hidden\")},refreshOnShow:function(e,t){this.image.refreshDisplayOnShow(e,t)}}),_e.DefineIcon(\"image-align\",{NAME:\"align-left\",SVG_KEY:\"alignLeft\"}),_e.DefineIcon(\"image-align-left\",{NAME:\"align-left\",SVG_KEY:\"alignLeft\"}),_e.DefineIcon(\"image-align-right\",{NAME:\"align-right\",SVG_KEY:\"alignRight\"}),_e.DefineIcon(\"image-align-center\",{NAME:\"align-justify\",SVG_KEY:\"alignCenter\"}),_e.DefineIcon(\"imageAlign\",{NAME:\"align-justify\",SVG_KEY:\"alignJustify\"}),_e.RegisterCommand(\"imageAlign\",{type:\"dropdown\",title:\"Align\",options:{left:\"Align Left\",center:\"None\",right:\"Align Right\"},html:function(){var e='<ul class=\"fr-dropdown-list\" role=\"presentation\">',t=_e.COMMANDS.imageAlign.options;for(var a in t)t.hasOwnProperty(a)&&(e+='<li role=\"presentation\"><a class=\"fr-command fr-title\" tabIndex=\"-1\" role=\"option\" data-cmd=\"imageAlign\" data-param1=\"'.concat(a,'\" title=\"').concat(this.language.translate(t[a]),'\">').concat(this.icon.create(\"image-align-\".concat(a)),'<span class=\"fr-sr-only\">').concat(this.language.translate(t[a]),\"</span></a></li>\"));return e+=\"</ul>\"},callback:function(e,t){this.image.align(t)},refresh:function(e){this.image.refreshAlign(e)},refreshOnShow:function(e,t){this.image.refreshAlignOnShow(e,t)}}),_e.DefineIcon(\"imageReplace\",{NAME:\"exchange\",FA5NAME:\"exchange-alt\",SVG_KEY:\"replaceImage\"}),_e.RegisterCommand(\"imageReplace\",{title:\"Replace\",undo:!1,focus:!1,popup:!0,refreshAfterCallback:!1,callback:function(){this.image.replace()}}),_e.DefineIcon(\"imageRemove\",{NAME:\"trash\",SVG_KEY:\"remove\"}),_e.RegisterCommand(\"imageRemove\",{title:\"Remove\",callback:function(){this.image.remove()}}),_e.DefineIcon(\"imageBack\",{NAME:\"arrow-left\",SVG_KEY:\"back\"}),_e.RegisterCommand(\"imageBack\",{title:\"Back\",undo:!1,focus:!1,back:!0,callback:function(){this.image.back()},refresh:function(e){this.$;this.image.get()||this.opts.toolbarInline?(e.removeClass(\"fr-hidden\"),e.next(\".fr-separator\").removeClass(\"fr-hidden\")):(e.addClass(\"fr-hidden\"),e.next(\".fr-separator\").addClass(\"fr-hidden\"))}}),_e.RegisterCommand(\"imageDismissError\",{title:\"OK\",undo:!1,callback:function(){this.image.hideProgressBar(!0)}}),_e.DefineIcon(\"imageStyle\",{NAME:\"magic\",SVG_KEY:\"imageClass\"}),_e.RegisterCommand(\"imageStyle\",{title:\"Style\",type:\"dropdown\",html:function(){var e='<ul class=\"fr-dropdown-list\" role=\"presentation\">',t=this.opts.imageStyles;for(var a in t)if(t.hasOwnProperty(a)){var i=t[a];\"object\"==Me(i)&&(i=i.title),e+='<li role=\"presentation\"><a class=\"fr-command\" tabIndex=\"-1\" role=\"option\" data-cmd=\"imageStyle\" data-param1=\"'.concat(a,'\">').concat(this.language.translate(i),\"</a></li>\")}return e+=\"</ul>\"},callback:function(e,t){this.image.applyStyle(t)},refreshOnShow:function(e,t){var a=this.$,i=this.image.getEl();i&&t.find(\".fr-command\").each(function(){var e=a(this).data(\"param1\"),t=i.hasClass(e);a(this).toggleClass(\"fr-active\",t).attr(\"aria-selected\",t)})}}),_e.DefineIcon(\"imageAlt\",{NAME:\"info\",SVG_KEY:\"imageAltText\"}),_e.RegisterCommand(\"imageAlt\",{undo:!1,focus:!1,popup:!0,title:\"Alternative Text\",callback:function(){this.image.showAltPopup()}}),_e.RegisterCommand(\"imageSetAlt\",{undo:!0,focus:!1,title:\"Update\",refreshAfterCallback:!1,callback:function(){this.image.setAlt()}}),_e.DefineIcon(\"imageSize\",{NAME:\"arrows-alt\",SVG_KEY:\"imageSize\"}),_e.RegisterCommand(\"imageSize\",{undo:!1,focus:!1,popup:!0,title:\"Change Size\",callback:function(){this.image.showSizePopup()}}),_e.RegisterCommand(\"imageSetSize\",{undo:!0,focus:!1,title:\"Update\",refreshAfterCallback:!1,callback:function(){this.image.setSize()}}),_e.DefineIcon(\"imageCaption\",{NAME:\"commenting\",FA5NAME:\"comment-alt\",SVG_KEY:\"imageCaption\"}),_e.RegisterCommand(\"imageCaption\",{undo:!0,focus:!1,title:\"Image Caption\",refreshAfterCallback:!0,callback:function(){this.image.toggleCaption()},refresh:function(e){this.image.get()&&e.toggleClass(\"fr-active\",this.image.hasCaption())}})});","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n!function(e,a){\"object\"==typeof exports&&\"undefined\"!=typeof module?a(require(\"froala-editor\")):\"function\"==typeof define&&define.amd?define([\"froala-editor\"],a):a(e.FroalaEditor)}(this,function($){\"use strict\";if($=$&&$.hasOwnProperty(\"default\")?$[\"default\"]:$,Object.assign($.DEFAULTS,{imageManagerLoadURL:\"https://i.froala.com/load-files\",imageManagerLoadMethod:\"get\",imageManagerLoadParams:{},imageManagerPreloader:null,imageManagerDeleteURL:\"\",imageManagerDeleteMethod:\"post\",imageManagerDeleteParams:{},imageManagerPageSize:12,imageManagerScrollOffset:20,imageManagerToggleTags:!0}),$.PLUGINS.imageManager=function(s){var g,l,i,o,d,m,c,f,u,p,h,v=s.$,M=\"image_manager\",e=10,b=11,w=12,C=13,L=14,D=15,t=21,r=22,n={};function y(){var e=v(window).outerWidth();return e<768?2:e<1200?3:4}function I(){d.empty();for(var e=0;e<h;e++)d.append('<div class=\"fr-list-column\"></div>')}function P(){if(u<c.length&&i[0].scrollTop>=i[0].scrollHeight-s.opts.imageManagerScrollOffset-i.outerHeight()){f++;for(var e=s.opts.imageManagerPageSize*(f-1);e<Math.min(c.length,s.opts.imageManagerPageSize*f);e++)a(c[e])}}function a(n){var i=new Image,o=v(document.createElement(\"div\")).attr(\"class\",\"fr-image-container fr-empty fr-image-\"+p++).attr(\"data-loading\",s.language.translate(\"Loading\")+\"..\").attr(\"data-deleting\",s.language.translate(\"Deleting\")+\"..\");R(!1),i.onload=function(){o.height(Math.floor(o.width()/i.width*i.height));var t=v(document.createElement(\"img\"));if(n.thumb)t.attr(\"src\",n.thumb);else{if(O(L,n),!n.url)return O(D,n),!1;t.attr(\"src\",n.url)}if(n.url&&t.attr(\"data-url\",n.url),n.tag)if(l.find(\".fr-modal-more.fr-not-available\").removeClass(\"fr-not-available\"),l.find(\".fr-modal-tags\").show(),0<=n.tag.indexOf(\",\")){for(var e=n.tag.split(\",\"),a=0;a<e.length;a++)e[a]=e[a].trim(),0===m.find('a[title=\"'.concat(e[a],'\"]')).length&&m.append('<a role=\"button\" title=\"'.concat(e[a],'\">').concat(e[a],\"</a>\"));t.attr(\"data-tag\",e.join())}else 0===m.find('a[title=\"'.concat(n.tag.trim(),'\"]')).length&&m.append('<a role=\"button\" title=\"'.concat(n.tag.trim(),'\">').concat(n.tag.trim(),\"</a>\")),t.attr(\"data-tag\",n.tag.trim());for(var r in n.name&&t.attr(\"alt\",n.name),n)n.hasOwnProperty(r)&&\"thumb\"!==r&&\"url\"!==r&&\"tag\"!==r&&t.attr(\"data-\".concat(r),n[r]);o.append(t).append(v(s.icon.create(\"imageManagerDelete\")).addClass(\"fr-delete-img\").attr(\"title\",s.language.translate(\"Delete\"))).append(v(s.icon.create(\"imageManagerInsert\")).addClass(\"fr-insert-img\").attr(\"title\",s.language.translate(\"Insert\"))),m.find(\".fr-selected-tag\").each(function(e,a){j(t,a.text)||o.hide()}),t.on(\"load\",function(){o.removeClass(\"fr-empty\"),o.height(\"auto\"),u++,E(T(parseInt(t.parent().attr(\"class\").match(/fr-image-(\\d+)/)[1],10)+1)),R(!1),u%s.opts.imageManagerPageSize==0&&P()}),s.events.trigger(\"imageManager.imageLoaded\",[t])},i.onerror=function(){u++,o.remove(),E(T(parseInt(o.attr(\"class\").match(/fr-image-(\\d+)/)[1],10)+1)),O(e,n),u%s.opts.imageManagerPageSize==0&&P()},i.src=n.thumb||n.url,S().append(o)}function S(){var r,n;return d.find(\".fr-list-column\").each(function(e,a){var t=v(a);0===e?(n=t.outerHeight(),r=t):t.outerHeight()<n&&(n=t.outerHeight(),r=t)}),r}function T(e){e===undefined&&(e=0);for(var a=[],t=p-1;e<=t;t--){var r=d.find(\".fr-image-\".concat(t));r.length&&(a.push(r),v(document.createElement(\"div\")).attr(\"id\",\"fr-image-hidden-container\").append(r),d.find(\".fr-image-\".concat(t)).remove())}return a}function E(e){for(var a=e.length-1;0<=a;a--)S().append(e[a])}function R(e){if(e===undefined&&(e=!0),!g.isVisible())return!0;var a=y();if(a!==h){h=a;var t=T();I(),E(t)}s.modals.resize(M),e&&P()}function U(e){for(var a,t=e[0].attributes,r=t.length,n={};r--;)t[r]&&\"src\"!==(a=t[r].name)&&(n[a]=t[r].value);return n}function x(e){var a=v(e.currentTarget).siblings(\"img\"),t=g.data(\"instance\")||s,r=g.data(\"current-image\");if(s.modals.hide(M),t.image.showProgressBar(),r)r.data(\"fr-old-src\",r.attr(\"src\")),r.trigger(\"click\");else{t.events.focus(!0),t.selection.restore();var n=t.position.getBoundingRect(),i=n.left+n.width/2+v(s.doc).scrollLeft(),o=n.top+n.height+v(s.doc).scrollTop();t.popups.setContainer(\"image.insert\",s.$sc),t.popups.show(\"image.insert\",i,o)}t.image.insert(a.data(\"url\"),!1,U(a),r)}function q(e){var i=v(e.currentTarget).siblings(\"img\"),a=s.language.translate(\"Are you sure? Image will be deleted.\");confirm(a)&&(s.opts.imageManagerDeleteURL?!1!==s.events.trigger(\"imageManager.beforeDeleteImage\",[i])&&(i.parent().addClass(\"fr-image-deleting\"),v(this).ajax({method:s.opts.imageManagerDeleteMethod,url:s.opts.imageManagerDeleteURL,data:Object.assign(Object.assign({src:i.attr(\"src\")},U(i)),s.opts.imageManagerDeleteParams),crossDomain:s.opts.requestWithCORS,withCredentials:s.opts.requestWithCredentials,headers:s.opts.requestHeaders,done:function(e,a,t){s.events.trigger(\"imageManager.imageDeleted\",[e]);var r=T(parseInt(i.parent().attr(\"class\").match(/fr-image-(\\d+)/)[1],10)+1);i.parent().remove(),E(r),function n(){g.find(\"#fr-modal-tags > a\").each(function(){0===g.find('#fr-image-list [data-tag*=\"'.concat(v(this).text(),'\"]')).length&&v(this).removeClass(\"fr-selected-tag\").hide()}),_()}(),R(!0)},fail:function(e){O(t,e.response||e.responseText)}})):O(r))}function O(e,a){10<=e&&e<20?o.hide():20<=e&&e<30&&v(\".fr-image-deleting\").removeClass(\"fr-image-deleting\"),s.events.trigger(\"imageManager.error\",[{code:e,message:n[e]},a])}function H(){var e=l.find(\".fr-modal-head-line\").outerHeight(),a=m.outerHeight();l.toggleClass(\"fr-show-tags\"),l.hasClass(\"fr-show-tags\")?(l.css(\"height\",e+a),i.css(\"marginTop\",e+a),m.find(\"a\").css(\"opacity\",1)):(l.css(\"height\",e),i.css(\"marginTop\",e),m.find(\"a\").css(\"opacity\",0))}function _(){var e=m.find(\".fr-selected-tag\");0<e.length?(d.find(\"img\").parents().show(),e.each(function(e,r){d.find(\"img\").each(function(e,a){var t=v(a);j(t,r.text)||t.parent().hide()})})):d.find(\"img\").parents().show(),E(T()),P()}function k(e){e.preventDefault();var a=v(e.currentTarget);a.toggleClass(\"fr-selected-tag\"),s.opts.imageManagerToggleTags&&a.siblings(\"a\").removeClass(\"fr-selected-tag\"),_()}function j(e,a){for(var t=(e.attr(\"data-tag\")||\"\").split(\",\"),r=0;r<t.length;r++)if(t[r]===a)return!0;return!1}return n[e]=\"Image cannot be loaded from the passed link.\",n[b]=\"Error during load images request.\",n[w]=\"Missing imageManagerLoadURL option.\",n[C]=\"Parsing load response failed.\",n[L]=\"Missing image thumb.\",n[D]=\"Missing image URL.\",n[t]=\"Error during delete image request.\",n[r]=\"Missing imageManagerDeleteURL option.\",{require:[\"image\"],_init:function z(){if(!s.$wp&&\"IMG\"!==s.el.tagName)return!1},show:function G(){if(!g){var e,a='<button class=\"fr-command fr-btn fr-modal-more fr-not-available\" id=\"fr-modal-more-'.concat(s.sid,'\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"\"><path d=\"').concat($.SVG.tags,'\"/></svg></button><h4 data-text=\"true\">').concat(s.language.translate(\"Manage Images\"),'</h4></div>\\n      <div class=\"fr-modal-tags\" id=\"fr-modal-tags\">');e=s.opts.imageManagerPreloader?'<img class=\"fr-preloader\" id=\"fr-preloader\" alt=\"'.concat(s.language.translate(\"Loading\"),'..\" src=\"').concat(s.opts.imageManagerPreloader,'\" style=\"display: none;\">'):'<span class=\"fr-preloader\" id=\"fr-preloader\" style=\"display: none;\">'.concat(s.language.translate(\"Loading\"),\"</span>\"),e+='<div class=\"fr-image-list\" id=\"fr-image-list\"></div>';var t=s.modals.create(M,a,e);g=t.$modal,l=t.$head,i=t.$body}g.data(\"current-image\",s.image.get()),s.modals.show(M),o||function r(){o=g.find(\"#fr-preloader\"),d=g.find(\"#fr-image-list\"),m=g.find(\"#fr-modal-tags\"),h=y(),I(),l.css(\"height\",l.find(\".fr-modal-head-line\").outerHeight()),s.events.$on(v(s.o_win),\"resize\",function(){R(!!c)}),s.events.bindClick(d,\".fr-insert-img\",x),s.events.bindClick(d,\".fr-delete-img\",q),s.helpers.isMobile()&&(s.events.bindClick(d,\"div.fr-image-container\",function(e){g.find(\".fr-mobile-selected\").removeClass(\"fr-mobile-selected\"),v(e.currentTarget).addClass(\"fr-mobile-selected\")}),g.on(s._mousedown,function(){g.find(\".fr-mobile-selected\").removeClass(\"fr-mobile-selected\")})),g.on(s._mousedown+\" \"+s._mouseup,function(e){e.stopPropagation()}),g.on(s._mousedown,\"*\",function(){s.events.disableBlur()}),i.on(\"scroll\",P),s.events.bindClick(g,\"button#fr-modal-more-\".concat(s.sid),H),s.events.bindClick(m,\"a\",k)}(),function n(){o.show(),d.find(\".fr-list-column\").empty(),s.opts.imageManagerLoadURL?v(this).ajax({url:s.opts.imageManagerLoadURL,method:s.opts.imageManagerLoadMethod,data:s.opts.imageManagerLoadParams,crossDomain:s.opts.requestWithCORS,withCredentials:s.opts.requestWithCredentials,headers:s.opts.requestHeaders,done:function(e,a,t){s.events.trigger(\"imageManager.imagesLoaded\",[e]),function r(e,a){try{d.find(\".fr-list-column\").empty(),p=u=f=0,c=JSON.parse(e),P()}catch(t){O(C,a)}}(e,t.response),o.hide()},fail:function(e){O(b,e.response||e.responseText)}}):O(w)}()},hide:function N(){s.modals.hide(M)}}},!$.PLUGINS.image)throw new Error(\"Image manager plugin requires image plugin.\");$.DEFAULTS.imageInsertButtons.push(\"imageManager\"),$.RegisterCommand(\"imageManager\",{title:\"Browse\",undo:!1,focus:!1,modal:!0,callback:function(){this.imageManager.show()},plugin:\"imageManager\"}),$.DefineIcon(\"imageManager\",{NAME:\"folder\",SVG_KEY:\"imageManager\"}),$.DefineIcon(\"imageManagerInsert\",{NAME:\"plus\",SVG_KEY:\"add\"}),$.DefineIcon(\"imageManagerDelete\",{NAME:\"trash\",SVG_KEY:\"remove\"})});","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n!function(n,a){\"object\"==typeof exports&&\"undefined\"!=typeof module?a(require(\"froala-editor\")):\"function\"==typeof define&&define.amd?define([\"froala-editor\"],a):a(n.FroalaEditor)}(this,function(n){\"use strict\";n=n&&n.hasOwnProperty(\"default\")?n[\"default\"]:n,Object.assign(n.DEFAULTS,{inlineClasses:{\"fr-class-code\":\"Code\",\"fr-class-highlighted\":\"Highlighted\",\"fr-class-transparency\":\"Transparent\"}}),n.PLUGINS.inlineClass=function(e){var i=e.$;return{apply:function a(n){e.format.toggle(\"span\",{\"class\":n})},refreshOnShow:function s(n,a){a.find(\".fr-command\").each(function(){var n=i(this).data(\"param1\"),a=e.format.is(\"span\",{\"class\":n});i(this).toggleClass(\"fr-active\",a).attr(\"aria-selected\",a)})}}},n.RegisterCommand(\"inlineClass\",{type:\"dropdown\",title:\"Inline Class\",html:function(){var n='<ul class=\"fr-dropdown-list\" role=\"presentation\">',a=this.opts.inlineClasses;for(var e in a)a.hasOwnProperty(e)&&(n+='<li role=\"presentation\"><a class=\"fr-command\" tabIndex=\"-1\" role=\"option\" data-cmd=\"inlineClass\" data-param1=\"'.concat(e,'\" title=\"').concat(a[e],'\">').concat(a[e],\"</a></li>\"));return n+=\"</ul>\"},callback:function(n,a){this.inlineClass.apply(a)},refreshOnShow:function(n,a){this.inlineClass.refreshOnShow(n,a)},plugin:\"inlineClass\"}),n.DefineIcon(\"inlineClass\",{NAME:\"tag\",SVG_KEY:\"inlineClass\"})});","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?t(require(\"froala-editor\")):\"function\"==typeof define&&define.amd?define([\"froala-editor\"],t):t(e.FroalaEditor)}(this,function(e){\"use strict\";e=e&&e.hasOwnProperty(\"default\")?e[\"default\"]:e,Object.assign(e.DEFAULTS,{inlineStyles:{\"Big Red\":\"font-size: 20px; color: red;\",\"Small Blue\":\"font-size: 14px; color: blue;\"}}),e.PLUGINS.inlineStyle=function(i){return{apply:function a(e){for(var t=e.split(\";\"),n=0;n<t.length;n++){var l=t[n].split(\":\");t[n].length&&2==l.length&&i.format.applyStyle(l[0].trim(),l[1].trim())}}}},e.RegisterCommand(\"inlineStyle\",{type:\"dropdown\",html:function(){var e='<ul class=\"fr-dropdown-list\" role=\"presentation\">',t=this.opts.inlineStyles;for(var n in t)if(t.hasOwnProperty(n)){var l=t[n]+(-1===t[n].indexOf(\"display:block;\")?\" display:block;\":\"\");e+='<li role=\"presentation\"><span style=\"'.concat(l,'\" role=\"presentation\"><a class=\"fr-command\" tabIndex=\"-1\" role=\"option\" data-cmd=\"inlineStyle\" data-param1=\"').concat(t[n],'\" title=\"').concat(this.language.translate(n),'\">').concat(this.language.translate(n),\"</a></span></li>\")}return e+=\"</ul>\"},title:\"Inline Style\",callback:function(e,t){this.inlineStyle.apply(t)},plugin:\"inlineStyle\"}),e.DefineIcon(\"inlineStyle\",{NAME:\"paint-brush\",SVG_KEY:\"inlineStyle\"})});","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?t(require(\"froala-editor\")):\"function\"==typeof define&&define.amd?define([\"froala-editor\"],t):t(e.FroalaEditor)}(this,function(h){\"use strict\";h=h&&h.hasOwnProperty(\"default\")?h[\"default\"]:h,Object.assign(h.DEFAULTS,{lineBreakerTags:[\"table\",\"hr\",\"form\",\"dl\",\"span.fr-video\",\".fr-embedly\",\"img\"],lineBreakerOffset:15,lineBreakerHorizontalOffset:10}),h.PLUGINS.lineBreaker=function(d){var v,t,a,m=d.$;function f(e,t){var n,r,a,o,i,s,f,l;if(null==e)i=(o=t.parent()).offset().top,n=(f=t.offset().top)-Math.min((f-i)/2,d.opts.lineBreakerOffset),a=o.outerWidth(),r=o.offset().left;else if(null==t)(s=(o=e.parent()).offset().top+o.outerHeight())<(l=e.offset().top+e.outerHeight())&&(s=(o=m(o).parent()).offset().top+o.outerHeight()),n=l+Math.min(Math.abs(s-l)/2,d.opts.lineBreakerOffset),a=o.outerWidth(),r=o.offset().left;else{o=e.parent();var p=e.offset().top+e.height(),u=t.offset().top;if(u<p)return!1;n=(p+u)/2,a=o.outerWidth(),r=o.offset().left}if(d.opts.iframe){var c=d.helpers.getPX(d.$wp.find(\".fr-iframe\").css(\"padding-top\")),g=d.helpers.getPX(d.$wp.find(\".fr-iframe\").css(\"padding-left\"));r+=d.$iframe.offset().left-d.helpers.scrollLeft()+g,n+=d.$iframe.offset().top-d.helpers.scrollTop()+c}d.$box.append(v),v.css(\"top\",n-d.win.pageYOffset),v.css(\"left\",r-d.win.pageXOffset),v.css(\"width\",a),v.data(\"tag1\",e),v.data(\"tag2\",t),v.addClass(\"fr-visible\").data(\"instance\",d)}function l(e){if(e){var t=m(e);if(0===d.$el.find(t).length)return null;if(e.nodeType!=Node.TEXT_NODE&&t.is(d.opts.lineBreakerTags.join(\",\")))return t;if(0<t.parents(d.opts.lineBreakerTags.join(\",\")).length)return e=t.parents(d.opts.lineBreakerTags.join(\",\")).get(0),0!==d.$el.find(m(e)).length&&m(e).is(d.opts.lineBreakerTags.join(\",\"))?m(e):null}return null}function o(e,t){var n=d.doc.elementFromPoint(e,t);return n&&!m(n).closest(\".fr-line-breaker\").length&&!d.node.isElement(n)&&n!=d.$wp.get(0)&&function r(e){if(\"undefined\"!=typeof e.inFroalaWrapper)return e.inFroalaWrapper;for(var t=e;e.parentNode&&e.parentNode!==d.$wp.get(0);)e=e.parentNode;return t.inFroalaWrapper=e.parentNode==d.$wp.get(0),t.inFroalaWrapper}(n)?n:null}function i(e,t,n){for(var r=n,a=null;r<=d.opts.lineBreakerOffset&&!a;)(a=o(e,t-r))||(a=o(e,t+r)),r+=n;return a}function p(e,t,n){for(var r=null,a=100;!r&&e>d.$box.offset().left&&e<d.$box.offset().left+d.$box.outerWidth()&&0<a;)(r=o(e,t))||(r=i(e,t,5)),\"left\"==n?e-=d.opts.lineBreakerHorizontalOffset:e+=d.opts.lineBreakerHorizontalOffset,a-=d.opts.lineBreakerHorizontalOffset;return r}function n(e){var t=a=null,n=null,r=d.doc.elementFromPoint(e.pageX-d.win.pageXOffset,e.pageY-d.win.pageYOffset);(t=r&&(\"HTML\"==r.tagName||\"BODY\"==r.tagName||d.node.isElement(r)||0<=(r.getAttribute(\"class\")||\"\").indexOf(\"fr-line-breaker\"))?((n=i(e.pageX-d.win.pageXOffset,e.pageY-d.win.pageYOffset,1))||(n=p(e.pageX-d.win.pageXOffset-d.opts.lineBreakerHorizontalOffset,e.pageY-d.win.pageYOffset,\"left\")),n||(n=p(e.pageX-d.win.pageXOffset+d.opts.lineBreakerHorizontalOffset,e.pageY-d.win.pageYOffset,\"right\")),l(n)):l(r))?function s(e,t){var n,r,a=e.offset().top,o=e.offset().top+e.outerHeight();if(Math.abs(o-t)<=d.opts.lineBreakerOffset||Math.abs(t-a)<=d.opts.lineBreakerOffset)if(Math.abs(o-t)<Math.abs(t-a)){var i=null;for((r=e.get(0)).nextSibling&&(i=r.nextSibling.offsetParent?r.nextSibling:null);i&&i.nodeType==Node.TEXT_NODE&&0===i.textContent.length;)i=i.nextSibling;if(!i)return f(e,null),!0;if(n=l(i))return f(e,n),!0}else{if(!(r=e.get(0)).previousSibling)return f(null,e),!0;if(n=l(r.previousSibling))return f(n,e),!0}v.removeClass(\"fr-visible\").removeData(\"instance\")}(t,e.pageY):d.core.sameInstance(v)&&v.removeClass(\"fr-visible\").removeData(\"instance\")}function r(e){return!(v.hasClass(\"fr-visible\")&&!d.core.sameInstance(v))&&(d.popups.areVisible()||d.el.querySelector(\".fr-selected-cell\")?(v.removeClass(\"fr-visible\"),!0):void(!1!==t||d.edit.isDisabled()||(a&&clearTimeout(a),a=setTimeout(n,30,e))))}function s(){a&&clearTimeout(a),v&&v.hasClass(\"fr-visible\")&&v.removeClass(\"fr-visible\").removeData(\"instance\")}var u=function u(){t=!0,s()},c=function c(){t=!1};function g(e){e.preventDefault();var t=v.data(\"instance\")||d;v.removeClass(\"fr-visible\").removeData(\"instance\");var n=v.data(\"tag1\"),r=v.data(\"tag2\"),a=d.html.defaultTag();null==n?a&&\"TD\"!=r.parent().get(0).tagName&&0===r.parents(a).length?r.before(\"<\".concat(a,\">\").concat(h.MARKERS,\"<br></\").concat(a,\">\")):r.before(\"\".concat(h.MARKERS,\"<br>\")):a&&\"TD\"!=n.parent().get(0).tagName&&0===n.parents(a).length?n.after(\"<\".concat(a,\">\").concat(h.MARKERS,\"<br></\").concat(a,\">\")):n.after(\"\".concat(h.MARKERS,\"<br>\")),t.selection.restore(),d.toolbar.enable()}return{_init:function b(){if(!d.$wp)return!1;!function e(){d.shared.$line_breaker||(d.shared.$line_breaker=m(document.createElement(\"div\")).attr(\"class\",\"fr-line-breaker\").html('<a class=\"fr-floating-btn\" role=\"button\" tabIndex=\"-1\" title=\"'.concat(d.language.translate(\"Break\"),'\"><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><rect x=\"17\" y=\"7\" width=\"2\" height=\"8\"/><rect x=\"10\" y=\"13\" width=\"7\" height=\"2\"/><path d=\"M10.000,10.000 L10.000,18.013 L5.000,14.031 L10.000,10.000 Z\"/></svg></a>'))),v=d.shared.$line_breaker,d.events.on(\"shared.destroy\",function(){v.html(\"\").removeData().remove(),v=null},!0),d.events.on(\"destroy\",function(){v.removeData(\"instance\").removeClass(\"fr-visible\"),m(\"body\").first().append(v),clearTimeout(a)},!0),d.events.$on(v,\"mousemove\",function(e){e.stopPropagation()},!0),d.events.bindClick(v,\"a\",g)}(),t=!1,d.events.$on(d.$win,\"mousemove\",r),d.events.$on(m(d.win),\"scroll\",s),d.events.on(\"popups.show.table.edit\",s),d.events.on(\"commands.after\",s),d.events.$on(m(d.win),\"mousedown\",u),d.events.$on(m(d.win),\"mouseup\",c)}}}});","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?t(require(\"froala-editor\")):\"function\"==typeof define&&define.amd?define([\"froala-editor\"],t):t(e.FroalaEditor)}(this,function(e){\"use strict\";e=e&&e.hasOwnProperty(\"default\")?e[\"default\"]:e,Object.assign(e.DEFAULTS,{lineHeights:{Default:\"\",Single:\"1\",1.15:\"1.15\",1.5:\"1.5\",Double:\"2\"}}),e.PLUGINS.lineHeight=function(n){var o=n.$;return{_init:function e(){},apply:function a(e){n.selection.save(),n.html.wrap(!0,!0,!0,!0),n.selection.restore();var t=n.selection.blocks();t.length&&o(t[0]).parent().is(\"td\")&&n.format.applyStyle(\"line-height\",e.toString()),n.selection.save();for(var i=0;i<t.length;i++)o(t[i]).css(\"line-height\",e),\"\"===o(t[i]).attr(\"style\")&&o(t[i]).removeAttr(\"style\");n.html.unwrap(),n.selection.restore()},refreshOnShow:function r(e,t){var i=n.selection.blocks();if(i.length){var l=o(i[0]);t.find(\".fr-command\").each(function(){var e=o(this).data(\"param1\"),t=l.attr(\"style\"),i=0<=(t||\"\").indexOf(\"line-height: \"+e+\";\");if(t){var n=t.substring(t.indexOf(\"line-height\")),a=n.substr(0,n.indexOf(\";\")),r=a&&a.split(\":\")[1];r&&r.length||\"Default\"!==l.text()||(i=!0)}t&&-1!==t.indexOf(\"line-height\")||\"\"!==e||(i=!0),o(this).toggleClass(\"fr-active\",i).attr(\"aria-selected\",i)})}}}},e.RegisterCommand(\"lineHeight\",{type:\"dropdown\",html:function(){var e='<ul class=\"fr-dropdown-list\" role=\"presentation\">',t=this.opts.lineHeights;for(var i in t)t.hasOwnProperty(i)&&(e+='<li role=\"presentation\"><a class=\"fr-command '.concat(i,'\" tabIndex=\"-1\" role=\"option\" data-cmd=\"lineHeight\" data-param1=\"').concat(t[i],'\" title=\"').concat(this.language.translate(i),'\">').concat(this.language.translate(i),\"</a></li>\"));return e+=\"</ul>\"},title:\"Line Height\",callback:function(e,t){this.lineHeight.apply(t)},refreshOnShow:function(e,t){this.lineHeight.refreshOnShow(e,t)},plugin:\"lineHeight\"}),e.DefineIcon(\"lineHeight\",{NAME:\"arrows-v\",FA5NAME:\"arrows-alt-v\",SVG_KEY:\"lineHeight\"})});","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?t(require(\"froala-editor\")):\"function\"==typeof define&&define.amd?define([\"froala-editor\"],t):t(e.FroalaEditor)}(this,function(y){\"use strict\";y=y&&y.hasOwnProperty(\"default\")?y[\"default\"]:y,Object.assign(y.POPUP_TEMPLATES,{\"link.edit\":\"[_BUTTONS_]\",\"link.insert\":\"[_BUTTONS_][_INPUT_LAYER_]\"}),Object.assign(y.DEFAULTS,{linkEditButtons:[\"linkOpen\",\"linkStyle\",\"linkEdit\",\"linkRemove\"],linkInsertButtons:[\"linkBack\",\"|\",\"linkList\"],linkAttributes:{},linkAutoPrefix:\"http://\",linkStyles:{\"fr-green\":\"Green\",\"fr-strong\":\"Thick\"},linkMultipleStyles:!0,linkConvertEmailAddress:!0,linkAlwaysBlank:!1,linkAlwaysNoFollow:!1,linkNoOpener:!0,linkNoReferrer:!0,linkList:[{text:\"Froala\",href:\"https://froala.com\",target:\"_blank\"},{text:\"Google\",href:\"https://google.com\",target:\"_blank\"},{displayText:\"Facebook\",href:\"https://facebook.com\"}],linkText:!0}),y.PLUGINS.link=function(u){var k=u.$;function g(){var e=u.image?u.image.get():null;if(e||!u.$wp)return\"A\"==u.el.tagName?u.el:e&&e.get(0).parentNode&&\"A\"==e.get(0).parentNode.tagName?e.get(0).parentNode:void 0;var t=u.selection.ranges(0).commonAncestorContainer;try{t&&(t.contains&&t.contains(u.el)||!u.el.contains(t)||u.el==t)&&(t=null)}catch(r){t=null}if(t&&\"A\"===t.tagName)return t;var n=u.selection.element(),i=u.selection.endElement();\"A\"==n.tagName||u.node.isElement(n)||(n=k(n).parentsUntil(u.$el,\"a\").first().get(0)),\"A\"==i.tagName||u.node.isElement(i)||(i=k(i).parentsUntil(u.$el,\"a\").first().get(0));try{i&&(i.contains&&i.contains(u.el)||!u.el.contains(i)||u.el==i)&&(i=null)}catch(r){i=null}try{n&&(n.contains&&n.contains(u.el)||!u.el.contains(n)||u.el==n)&&(n=null)}catch(r){n=null}return i&&i==n&&\"A\"==i.tagName?(u.browser.msie||u.helpers.isMobile())&&(u.selection.info(n).atEnd||u.selection.info(n).atStart)?null:n:null}function h(){var e,t,n,i,r=u.image?u.image.get():null,a=[];if(r)\"A\"==r.get(0).parentNode.tagName&&a.push(r.get(0).parentNode);else if(u.win.getSelection){var l=u.win.getSelection();if(l.getRangeAt&&l.rangeCount){i=u.doc.createRange();for(var s=0;s<l.rangeCount;++s)if((t=(e=l.getRangeAt(s)).commonAncestorContainer)&&1!=t.nodeType&&(t=t.parentNode),t&&\"a\"==t.nodeName.toLowerCase())a.push(t);else{n=t.getElementsByTagName(\"a\");for(var o=0;o<n.length;++o)i.selectNodeContents(n[o]),i.compareBoundaryPoints(e.END_TO_START,e)<1&&-1<i.compareBoundaryPoints(e.START_TO_END,e)&&a.push(n[o])}}}else if(u.doc.selection&&\"Control\"!=u.doc.selection.type)if(\"a\"==(t=(e=u.doc.selection.createRange()).parentElement()).nodeName.toLowerCase())a.push(t);else{n=t.getElementsByTagName(\"a\"),i=u.doc.body.createTextRange();for(var p=0;p<n.length;++p)i.moveToElementText(n[p]),-1<i.compareEndPoints(\"StartToEnd\",e)&&i.compareEndPoints(\"EndToStart\",e)<1&&a.push(n[p])}return a}function m(r){if(u.core.hasFocus()){if(a(),r&&\"keyup\"===r.type&&(r.altKey||r.which==y.KEYCODE.ALT))return!0;setTimeout(function(){if(!r||r&&(1==r.which||\"mouseup\"!=r.type)){var e=g(),t=u.image?u.image.get():null;if(e&&!t){if(u.image){var n=u.node.contents(e);if(1==n.length&&\"IMG\"==n[0].tagName){var i=u.selection.ranges(0);return 0===i.startOffset&&0===i.endOffset?k(e).before(y.MARKERS):k(e).after(y.MARKERS),u.selection.restore(),!1}}r&&r.stopPropagation(),l(e)}}},u.helpers.isIOS()?100:0)}}function l(e){var t=u.popups.get(\"link.edit\");t||(t=function a(){var e=\"\";1<=u.opts.linkEditButtons.length&&(\"A\"==u.el.tagName&&0<=u.opts.linkEditButtons.indexOf(\"linkRemove\")&&u.opts.linkEditButtons.splice(u.opts.linkEditButtons.indexOf(\"linkRemove\"),1),e='<div class=\"fr-buttons\">'.concat(u.button.buildList(u.opts.linkEditButtons),\"</div>\"));var t={buttons:e},n=u.popups.create(\"link.edit\",t);u.$wp&&u.events.$on(u.$wp,\"scroll.link-edit\",function(){g()&&u.popups.isVisible(\"link.edit\")&&l(g())});return n}());var n=k(e);u.popups.isVisible(\"link.edit\")||u.popups.refresh(\"link.edit\"),u.popups.setContainer(\"link.edit\",u.$sc);var i=n.offset().left+n.outerWidth()/2,r=n.offset().top+n.outerHeight();u.popups.show(\"link.edit\",i,r,n.outerHeight(),!0)}function a(){u.popups.hide(\"link.edit\")}function o(){var e=u.popups.get(\"link.insert\"),t=g();if(t){var n,i,r=k(t),a=e.find('input.fr-link-attr[type=\"text\"]'),l=e.find('input.fr-link-attr[type=\"checkbox\"]');for(n=0;n<a.length;n++)(i=k(a[n])).val(r.attr(i.attr(\"name\")||\"\"));for(l.attr(\"checked\",!1),n=0;n<l.length;n++)i=k(l[n]),r.attr(i.attr(\"name\"))==i.data(\"checked\")&&i.attr(\"checked\",!0);e.find('input.fr-link-attr[type=\"text\"][name=\"text\"]').val(r.text())}else e.find('input.fr-link-attr[type=\"text\"]').val(\"\"),e.find('input.fr-link-attr[type=\"checkbox\"]').attr(\"checked\",!1),e.find('input.fr-link-attr[type=\"text\"][name=\"text\"]').val(u.selection.text());e.find(\"input.fr-link-attr\").trigger(\"change\"),(u.image?u.image.get():null)?e.find('.fr-link-attr[name=\"text\"]').parent().hide():e.find('.fr-link-attr[name=\"text\"]').parent().show()}function s(e){if(e)return u.popups.onRefresh(\"link.insert\",o),!0;var t=\"\";1<=u.opts.linkInsertButtons.length&&(t='<div class=\"fr-buttons fr-tabs\">'.concat(u.button.buildList(u.opts.linkInsertButtons),\"</div>\"));var n=\"\",i=0;for(var r in n='<div class=\"fr-link-insert-layer fr-layer fr-active\" id=\"fr-link-insert-layer-'.concat(u.id,'\">'),n+='<div class=\"fr-input-line\"><input id=\"fr-link-insert-layer-url-'.concat(u.id,'\" name=\"href\" type=\"text\" class=\"fr-link-attr\" placeholder=\"').concat(u.language.translate(\"URL\"),'\" tabIndex=\"').concat(++i,'\"></div>'),u.opts.linkText&&(n+='<div class=\"fr-input-line\"><input id=\"fr-link-insert-layer-text-'.concat(u.id,'\" name=\"text\" type=\"text\" class=\"fr-link-attr\" placeholder=\"').concat(u.language.translate(\"Text\"),'\" tabIndex=\"').concat(++i,'\"></div>')),u.opts.linkAttributes)if(u.opts.linkAttributes.hasOwnProperty(r)){var a=u.opts.linkAttributes[r];n+='<div class=\"fr-input-line\"><input name=\"'.concat(r,'\" type=\"text\" class=\"fr-link-attr\" placeholder=\"').concat(u.language.translate(a),'\" tabIndex=\"').concat(++i,'\"></div>')}u.opts.linkAlwaysBlank||(n+='<div class=\"fr-checkbox-line\"><span class=\"fr-checkbox\"><input name=\"target\" class=\"fr-link-attr\" data-checked=\"_blank\" type=\"checkbox\" id=\"fr-link-target-'.concat(u.id,'\" tabIndex=\"').concat(++i,'\"><span>').concat('<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"10\" height=\"10\" viewBox=\"0 0 32 32\"><path d=\"M27 4l-15 15-7-7-5 5 12 12 20-20z\" fill=\"#FFF\"></path></svg>','</span></span><label id=\"fr-label-target-').concat(u.id,'\">').concat(u.language.translate(\"Open in new tab\"),\"</label></div>\"));var l={buttons:t,input_layer:n+='<div class=\"fr-action-buttons\"><button class=\"fr-command fr-submit\" role=\"button\" data-cmd=\"linkInsert\" href=\"#\" tabIndex=\"'.concat(++i,'\" type=\"button\">').concat(u.language.translate(\"Insert\"),\"</button></div></div>\")},s=u.popups.create(\"link.insert\",l);return u.$wp&&u.events.$on(u.$wp,\"scroll.link-insert\",function(){(u.image?u.image.get():null)&&u.popups.isVisible(\"link.insert\")&&f(),u.popups.isVisible(\"link.insert\")&&c()}),s}function p(e,t,n){if(void 0===n&&(n={}),!1===u.events.trigger(\"link.beforeInsert\",[e,t,n]))return!1;var i=u.image?u.image.get():null;i||\"A\"==u.el.tagName?\"A\"==u.el.tagName&&u.$el.focus():(u.selection.restore(),u.popups.hide(\"link.insert\"));var r=e;u.opts.linkConvertEmailAddress&&u.helpers.isEmail(e)&&!/^mailto:.*/i.test(e)&&(e=\"mailto:\".concat(e));if(\"\"===u.opts.linkAutoPrefix||new RegExp(\"^(\"+y.LinkProtocols.join(\"|\")+\"):.\",\"i\").test(e)||/^data:image.*/i.test(e)||/^(https?:|ftps?:|file:|)\\/\\//i.test(e)||/^([A-Za-z]:(\\\\){1,2}|[A-Za-z]:((\\\\){1,2}[^\\\\]+)+)(\\\\)?$/i.test(e)||[\"/\",\"{\",\"[\",\"#\",\"(\",\".\"].indexOf((e||\"\")[0])<0&&(e=u.opts.linkAutoPrefix+e),e=u.helpers.sanitizeURL(e),u.opts.linkAlwaysBlank&&(n.target=\"_blank\"),u.opts.linkAlwaysNoFollow&&(n.rel=\"nofollow\"),u.helpers.isEmail(r)&&(n.target=null,n.rel=null),\"_blank\"==n.target?(u.opts.linkNoOpener&&(n.rel?n.rel+=\" noopener\":n.rel=\"noopener\"),u.opts.linkNoReferrer&&(n.rel?n.rel+=\" noreferrer\":n.rel=\"noreferrer\")):null==n.target&&(n.rel?n.rel=n.rel.replace(/noopener/,\"\").replace(/noreferrer/,\"\"):n.rel=null),t=t||\"\",e===u.opts.linkAutoPrefix)return u.popups.get(\"link.insert\").find('input[name=\"href\"]').addClass(\"fr-error\"),u.events.trigger(\"link.bad\",[r]),!1;var a,l=g();if(l){if((a=k(l)).attr(\"href\",e),0<t.length&&a.text()!=t&&!i){for(var s=a.get(0);1===s.childNodes.length&&s.childNodes[0].nodeType==Node.ELEMENT_NODE;)s=s.childNodes[0];k(s).text(t)}for(var o in i||a.prepend(y.START_MARKER).append(y.END_MARKER),n)n[o]?a.attr(o,n[o]):a.removeAttr(o);i||u.selection.restore()}else{i?(i.wrap('<a href=\"'.concat(e,'\"></a>')),u.image.hasCaption()&&i.parent().append(i.parents(\".fr-img-caption\").find(\".fr-inner\"))):(u.format.remove(\"a\"),u.selection.isCollapsed()?(t=0===t.length?r:t,u.html.insert('<a href=\"'.concat(e,'\">').concat(y.START_MARKER).concat(t.replace(/&/g,\"&amp;\").replace(/</,\"&lt;\",\">\",\"&gt;\")).concat(y.END_MARKER,\"</a>\")),u.selection.restore()):0<t.length&&t!=u.selection.text().replace(/\\n/g,\"\")?(u.selection.remove(),u.html.insert('<a href=\"'.concat(e,'\">').concat(y.START_MARKER).concat(t.replace(/&/g,\"&amp;\")).concat(y.END_MARKER,\"</a>\")),u.selection.restore()):(!function d(){if(!u.selection.isCollapsed()){u.selection.save();for(var e=u.$el.find(\".fr-marker\").addClass(\"fr-unprocessed\").toArray();e.length;){var t=k(e.pop());t.removeClass(\"fr-unprocessed\");var n=u.node.deepestParent(t.get(0));if(n){for(var i=t.get(0),r=\"\",a=\"\";i=i.parentNode,u.node.isBlock(i)||(r+=u.node.closeTagString(i),a=u.node.openTagString(i)+a),i!=n;);var l=u.node.openTagString(t.get(0))+t.html()+u.node.closeTagString(t.get(0));t.replaceWith('<span id=\"fr-break\"></span>');var s=n.outerHTML;s=(s=s.replace(/<span id=\"fr-break\"><\\/span>/g,r+l+a)).replace(a+r,\"\"),n.outerHTML=s}e=u.$el.find(\".fr-marker.fr-unprocessed\").toArray()}u.html.cleanEmptyTags(),u.selection.restore()}}(),u.format.apply(\"a\",{href:e})));for(var p=h(),c=0;c<p.length;c++)(a=k(p[c])).attr(n),a.removeAttr(\"_moz_dirty\");1==p.length&&u.$wp&&!i&&(k(p[0]).prepend(y.START_MARKER).append(y.END_MARKER),u.selection.restore())}if(i){var f=u.popups.get(\"link.insert\");f&&f.find(\"input:focus\").blur(),u.image.edit(i)}else m()}function c(){a();var e=g();if(e){var t=u.popups.get(\"link.insert\");t||(t=s()),u.popups.isVisible(\"link.insert\")||(u.popups.refresh(\"link.insert\"),u.selection.save(),u.helpers.isMobile()&&(u.events.disableBlur(),u.$el.blur(),u.events.enableBlur())),u.popups.setContainer(\"link.insert\",u.$sc);var n=(u.image?u.image.get():null)||k(e),i=n.offset().left+n.outerWidth()/2,r=n.offset().top+n.outerHeight();u.popups.show(\"link.insert\",i,r,n.outerHeight(),!0)}}function f(){var e=u.image?u.image.getEl():null;if(e){var t=u.popups.get(\"link.insert\");u.image.hasCaption()&&(e=e.find(\".fr-img-wrap\")),t||(t=s()),o(),u.popups.setContainer(\"link.insert\",u.$sc);var n=e.offset().left+e.outerWidth()/2,i=e.offset().top+e.outerHeight();u.popups.show(\"link.insert\",n,i,e.outerHeight(),!0)}}return{_init:function e(){u.events.on(\"keyup\",function(e){e.which!=y.KEYCODE.ESC&&m(e)}),u.events.on(\"window.mouseup\",m),u.events.$on(u.$el,\"click\",\"a\",function(e){u.edit.isDisabled()&&e.preventDefault()}),u.helpers.isMobile()&&u.events.$on(u.$doc,\"selectionchange\",m),s(!0),\"A\"==u.el.tagName&&u.$el.addClass(\"fr-view\"),u.events.on(\"toolbar.esc\",function(){if(u.popups.isVisible(\"link.edit\"))return u.events.disableBlur(),u.events.focus(),!1},!0)},remove:function i(){var e=g(),t=u.image?u.image.get():null;if(!1===u.events.trigger(\"link.beforeRemove\",[e]))return!1;if(t&&e)if(u.image.hasCaption()){t.addClass(\"img-link-caption\"),k(e).replaceWith(k(e).html());var n=document.querySelectorAll(\"img.img-link-caption\");u.image.edit(k(n[0])),k(n[0]).removeClass(\"img-link-caption\")}else t.unwrap(),u.image.edit(t);else e&&(u.selection.save(),k(e).replaceWith(k(e).html()),u.selection.restore(),a())},showInsertPopup:function d(){var e=u.$tb.find('.fr-command[data-cmd=\"insertLink\"]'),t=u.popups.get(\"link.insert\");if(t||(t=s()),!t.hasClass(\"fr-active\"))if(u.popups.refresh(\"link.insert\"),u.popups.setContainer(\"link.insert\",u.$tb||u.$sc),e.isVisible()){var n=u.button.getPosition(e),i=n.left,r=n.top;u.popups.show(\"link.insert\",i,r,e.outerHeight())}else u.position.forSelection(t),u.popups.show(\"link.insert\")},usePredefined:function v(e){var t,n,i=u.opts.linkList[e],r=u.popups.get(\"link.insert\"),a=r.find('input.fr-link-attr[type=\"text\"]'),l=r.find('input.fr-link-attr[type=\"checkbox\"]');for(i.rel&&(r.rel=i.rel),n=0;n<a.length;n++)i[(t=k(a[n])).attr(\"name\")]?(t.val(i[t.attr(\"name\")]),t.toggleClass(\"fr-not-empty\",!0)):\"text\"!=t.attr(\"name\")&&t.val(\"\");for(n=0;n<l.length;n++)(t=k(l[n])).attr(\"checked\",t.data(\"checked\")==i[t.attr(\"name\")]);u.accessibility.focusPopup(r)},insertCallback:function b(){var e,t,n=u.popups.get(\"link.insert\"),i=n.find('input.fr-link-attr[type=\"text\"]'),r=n.find('input.fr-link-attr[type=\"checkbox\"]'),a=(i.filter('[name=\"href\"]').val()||\"\").trim(),l=u.opts.linkText?i.filter('[name=\"text\"]').val():\"\",s={};for(t=0;t<i.length;t++)e=k(i[t]),[\"href\",\"text\"].indexOf(e.attr(\"name\"))<0&&(s[e.attr(\"name\")]=e.val());for(t=0;t<r.length;t++)(e=k(r[t])).is(\":checked\")?s[e.attr(\"name\")]=e.data(\"checked\"):s[e.attr(\"name\")]=e.data(\"unchecked\")||null;n.rel&&(s.rel=n.rel);var o=u.helpers.scrollTop();p(a,l,s),k(u.o_win).scrollTop(o)},insert:p,update:c,get:g,allSelected:h,back:function t(){u.image&&u.image.get()?u.image.back():(u.events.disableBlur(),u.selection.restore(),u.events.enableBlur(),g()&&u.$wp?(u.selection.restore(),a(),m()):\"A\"==u.el.tagName?(u.$el.focus(),m()):(u.popups.hide(\"link.insert\"),u.toolbar.showInline()))},imageLink:f,applyStyle:function E(e,t,n){void 0===n&&(n=u.opts.linkMultipleStyles),void 0===t&&(t=u.opts.linkStyles);var i=g();if(!i)return!1;if(!n){var r=Object.keys(t);r.splice(r.indexOf(e),1),k(i).removeClass(r.join(\" \"))}k(i).toggleClass(e),m()}}},y.DefineIcon(\"insertLink\",{NAME:\"link\",SVG_KEY:\"insertLink\"}),y.RegisterShortcut(y.KEYCODE.K,\"insertLink\",null,\"K\"),y.RegisterCommand(\"insertLink\",{title:\"Insert Link\",undo:!1,focus:!0,refreshOnCallback:!1,popup:!0,callback:function(){this.popups.isVisible(\"link.insert\")?(this.$el.find(\".fr-marker\").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide(\"link.insert\")):this.link.showInsertPopup()},plugin:\"link\"}),y.DefineIcon(\"linkOpen\",{NAME:\"external-link\",FA5NAME:\"external-link-alt\",SVG_KEY:\"openLink\"}),y.RegisterCommand(\"linkOpen\",{title:\"Open Link\",undo:!1,refresh:function(e){this.link.get()?e.removeClass(\"fr-hidden\"):e.addClass(\"fr-hidden\")},callback:function(){var e=this.link.get();e&&(-1!==e.href.indexOf(\"mailto:\")?this.o_win.open(e.href).close():(e.target||(e.target=\"_self\"),this.browser.msie||this.browser.edge?this.o_win.open(e.href,e.target):this.o_win.open(e.href,e.target,\"noopener\")),this.popups.hide(\"link.edit\"))},plugin:\"link\"}),y.DefineIcon(\"linkEdit\",{NAME:\"edit\",SVG_KEY:\"edit\"}),y.RegisterCommand(\"linkEdit\",{title:\"Edit Link\",undo:!1,refreshAfterCallback:!1,popup:!0,callback:function(){this.link.update()},refresh:function(e){this.link.get()?e.removeClass(\"fr-hidden\"):e.addClass(\"fr-hidden\")},plugin:\"link\"}),y.DefineIcon(\"linkRemove\",{NAME:\"unlink\",SVG_KEY:\"unlink\"}),y.RegisterCommand(\"linkRemove\",{title:\"Unlink\",callback:function(){this.link.remove()},refresh:function(e){this.link.get()?e.removeClass(\"fr-hidden\"):e.addClass(\"fr-hidden\")},plugin:\"link\"}),y.DefineIcon(\"linkBack\",{NAME:\"arrow-left\",SVG_KEY:\"back\"}),y.RegisterCommand(\"linkBack\",{title:\"Back\",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.link.back()},refresh:function(e){var t=this.link.get()&&this.doc.hasFocus();(this.image?this.image.get():null)||t||this.opts.toolbarInline?(e.removeClass(\"fr-hidden\"),e.next(\".fr-separator\").removeClass(\"fr-hidden\")):(e.addClass(\"fr-hidden\"),e.next(\".fr-separator\").addClass(\"fr-hidden\"))},plugin:\"link\"}),y.DefineIcon(\"linkList\",{NAME:\"search\",SVG_KEY:\"search\"}),y.RegisterCommand(\"linkList\",{title:\"Choose Link\",type:\"dropdown\",focus:!1,undo:!1,refreshAfterCallback:!1,html:function(){for(var e='<ul class=\"fr-dropdown-list\" role=\"presentation\">',t=this.opts.linkList,n=0;n<t.length;n++)e+='<li role=\"presentation\"><a class=\"fr-command\" tabIndex=\"-1\" role=\"option\" data-cmd=\"linkList\" data-param1=\"'.concat(n,'\">').concat(t[n].displayText||t[n].text,\"</a></li>\");return e+=\"</ul>\"},callback:function(e,t){this.link.usePredefined(t)},plugin:\"link\"}),y.RegisterCommand(\"linkInsert\",{focus:!1,refreshAfterCallback:!1,callback:function(){this.link.insertCallback()},refresh:function(e){this.link.get()?e.text(this.language.translate(\"Update\")):e.text(this.language.translate(\"Insert\"))},plugin:\"link\"}),y.DefineIcon(\"imageLink\",{NAME:\"link\",SVG_KEY:\"insertLink\"}),y.RegisterCommand(\"imageLink\",{title:\"Insert Link\",undo:!1,focus:!1,popup:!0,callback:function(){this.link.imageLink()},refresh:function(e){var t;this.link.get()?((t=e.prev()).hasClass(\"fr-separator\")&&t.removeClass(\"fr-hidden\"),e.addClass(\"fr-hidden\")):((t=e.prev()).hasClass(\"fr-separator\")&&t.addClass(\"fr-hidden\"),e.removeClass(\"fr-hidden\"))},plugin:\"link\"}),y.DefineIcon(\"linkStyle\",{NAME:\"magic\",SVG_KEY:\"linkStyles\"}),y.RegisterCommand(\"linkStyle\",{title:\"Style\",type:\"dropdown\",html:function(){var e='<ul class=\"fr-dropdown-list\" role=\"presentation\">',t=this.opts.linkStyles;for(var n in t)t.hasOwnProperty(n)&&(e+='<li role=\"presentation\"><a class=\"fr-command\" tabIndex=\"-1\" role=\"option\" data-cmd=\"linkStyle\" data-param1=\"'.concat(n,'\">').concat(this.language.translate(t[n]),\"</a></li>\"));return e+=\"</ul>\"},callback:function(e,t){this.link.applyStyle(t)},refreshOnShow:function(e,t){var n=this.$,i=this.link.get();if(i){var r=n(i);t.find(\".fr-command\").each(function(){var e=n(this).data(\"param1\"),t=r.hasClass(e);n(this).toggleClass(\"fr-active\",t).attr(\"aria-selected\",t)})}},refresh:function(e){this.link.get()?e.removeClass(\"fr-hidden\"):e.addClass(\"fr-hidden\")},plugin:\"link\"})});","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?t(require(\"froala-editor\")):\"function\"==typeof define&&define.amd?define([\"froala-editor\"],t):t(e.FroalaEditor)}(this,function(p){\"use strict\";p=p&&p.hasOwnProperty(\"default\")?p[\"default\"]:p,Object.assign(p.DEFAULTS,{listAdvancedTypes:!0}),p.PLUGINS.lists=function(d){var f=d.$;function g(e){return'<span class=\"fr-open-'.concat(e.toLowerCase(),'\"></span>')}function m(e){return'<span class=\"fr-close-'.concat(e.toLowerCase(),'\"></span>')}function o(e,t){!function c(e,t){for(var n=[],a=0;a<e.length;a++){var r=e[a].parentNode;\"LI\"==e[a].tagName&&r.tagName!=t&&n.indexOf(r)<0&&n.push(r)}for(var o=n.length-1;0<=o;o--){var i=f(n[o]);i.replaceWith(\"<\".concat(t.toLowerCase(),\" \").concat(d.node.attributes(i.get(0)),\">\").concat(i.html(),\"</\").concat(t.toLowerCase(),\">\"))}}(e,t);var n,a=d.html.defaultTag(),r=null;e.length&&(n=\"rtl\"==d.opts.direction||\"rtl\"==f(e[0]).css(\"direction\")?\"margin-right\":\"margin-left\");for(var o=0;o<e.length;o++)if(\"TD\"!=e[o].tagName&&\"TH\"!=e[o].tagName&&\"LI\"!=e[o].tagName){var i=d.helpers.getPX(f(e[o]).css(n))||0;(e[o].style.marginLeft=null)===r&&(r=i);var l=0<r?\"<\".concat(t,' style=\"').concat(n,\": \").concat(r,'px \">'):\"<\".concat(t,\">\"),s=\"</\".concat(t,\">\");for(i-=r;0<i/d.opts.indentMargin;)l+=\"</\".concat(t,\">\"),s+=s,i-=d.opts.indentMargin;a&&e[o].tagName.toLowerCase()==a?f(e[o]).replaceWith(\"\".concat(l,\"<li\").concat(d.node.attributes(e[o]),\">\").concat(f(e[o]).html(),\"</li>\").concat(s)):f(e[o]).wrap(\"\".concat(l,\"<li></li>\").concat(s))}d.clean.lists()}function i(e){var t,n;for(t=e.length-1;0<=t;t--)for(n=t-1;0<=n;n--)if(f(e[n]).find(e[t]).length||e[n]==e[t]){e.splice(t,1);break}var a=[];for(t=0;t<e.length;t++){var r=f(e[t]),o=e[t].parentNode,i=r.attr(\"class\");if(r.before(m(o.tagName)),\"LI\"==o.parentNode.tagName)r.before(m(\"LI\")),r.after(g(\"LI\"));else{var l=\"\";i&&(l+=' class=\"'.concat(i,'\"'));var s=\"rtl\"==d.opts.direction||\"rtl\"==r.css(\"direction\")?\"margin-right\":\"margin-left\";d.helpers.getPX(f(o).css(s))&&0<=(f(o).attr(\"style\")||\"\").indexOf(\"\".concat(s,\":\"))&&(l+=' style=\"'.concat(s,\":\").concat(d.helpers.getPX(f(o).css(s)),'px;\"')),d.html.defaultTag()&&0===r.find(d.html.blockTagsQuery()).length&&r.wrapInner(d.html.defaultTag()+l),d.node.isEmpty(r.get(0),!0)||0!==r.find(d.html.blockTagsQuery()).length||r.append(\"<br>\"),r.append(g(\"LI\")),r.prepend(m(\"LI\"))}r.after(g(o.tagName)),\"LI\"==o.parentNode.tagName&&(o=o.parentNode.parentNode),a.indexOf(o)<0&&a.push(o)}for(t=0;t<a.length;t++){var c=f(a[t]),p=c.html();p=(p=p.replace(/<span class=\"fr-close-([a-z]*)\"><\\/span>/g,\"</$1>\")).replace(/<span class=\"fr-open-([a-z]*)\"><\\/span>/g,\"<$1>\"),c.replaceWith(d.node.openTagString(c.get(0))+p+d.node.closeTagString(c.get(0)))}d.$el.find(\"li:empty\").remove(),d.$el.find(\"ul:empty, ol:empty\").remove(),d.clean.lists(),d.$el.find(\"ul:empty, ol:empty\").remove(),d.html.wrap()}function s(e){d.selection.save();for(var t=0;t<e.length;t++){var n=e[t].previousSibling;if(n){var a=f(e[t]).find(\"> ul, > ol\").last().get(0);if(a){var r=f(document.createElement(\"li\"));f(a).prepend(r);for(var o=d.node.contents(e[t])[0];o&&!d.node.isList(o);){var i=o.nextSibling;r.append(o),o=i}f(n).append(f(a)),f(e[t]).remove()}else{var l=f(n).find(\"> ul, > ol\").last().get(0);if(l)f(l).append(f(e[t]));else{var s=f(\"<\".concat(e[t].parentNode.tagName,\">\"));f(n).append(s),s.append(f(e[t]))}}}}d.clean.lists(),d.selection.restore()}function c(e){d.selection.save(),i(e),d.selection.restore()}function e(e){if(\"indent\"==e||\"outdent\"==e){var t=!1,n=d.selection.blocks(),a=[],r=n[0].previousSibling||n[0].parentElement;if(\"outdent\"==e){if(\"UL\"!=r.parentNode.tagName&&\"OL\"!=r.parentNode.tagName&&\"LI\"!=r.parentNode.tagName)return;if(!n[0].previousSibling&&\"none\"==r.parentNode.style.listStyleType)return void function i(e){for(d.selection.save();0<e.childNodes.length;)e.parentNode.parentNode.append(e.childNodes[0]);d.clean.lists(),d.selection.restore()}(r)}else{if(\"UL\"!=r.parentNode.tagName&&\"OL\"!=r.parentNode.tagName&&\"LI\"!=r.parentNode.tagName)return;if(!n[0].previousSibling||\"LI\"!=n[0].previousSibling.tagName)return void function l(e){d.selection.save();for(var t=\"OL\"==e.tagName?document.createElement(\"ol\"):document.createElement(\"ul\");0<e.childNodes.length;)t.append(e.childNodes[0]);var n=document.createElement(\"li\");t.style.listStyleType=\"none\",t.append(n),e.append(t),d.clean.lists(),d.selection.restore()}(r)}for(var o=0;o<n.length;o++)\"LI\"==n[o].tagName?(t=!0,a.push(n[o])):\"LI\"==n[o].parentNode.tagName&&(t=!0,a.push(n[o].parentNode));t&&(\"indent\"==e?s(a):c(a))}}return{_init:function t(){d.events.on(\"commands.after\",e),d.events.on(\"keydown\",function(e){if(e.which==p.KEYCODE.TAB){for(var t=d.selection.blocks(),n=[],a=0;a<t.length;a++)\"LI\"==t[a].tagName?n.push(t[a]):\"LI\"==t[a].parentNode.tagName&&n.push(t[a].parentNode);if(1<n.length||n.length&&(d.selection.info(n[0]).atStart||d.node.isEmpty(n[0])))return e.preventDefault(),e.stopPropagation(),e.shiftKey?c(n):s(n),!1}},!0)},format:function l(e,t){var n,a;for(d.html.syncInputs(),d.selection.save(),d.html.wrap(!0,!0,!0,!0),d.selection.restore(),a=d.selection.blocks(!0),n=0;n<a.length;n++)\"LI\"!=a[n].tagName&&\"LI\"==a[n].parentNode.tagName&&(a[n]=a[n].parentNode);if(d.selection.save(),function r(e,t){for(var n=!0,a=0;a<e.length;a++){if(\"LI\"!=e[a].tagName)return!1;e[a].parentNode.tagName!=t&&(n=!1)}return n}(a,e)?t||i(a):o(a,e),d.html.unwrap(),d.selection.restore(),t=t||\"default\"){for(a=d.selection.blocks(),n=0;n<a.length;n++)\"LI\"!=a[n].tagName&&\"LI\"==a[n].parentNode.tagName&&(a[n]=a[n].parentNode);for(n=0;n<a.length;n++)\"LI\"==a[n].tagName&&(f(a[n].parentNode).css(\"list-style-type\",\"default\"===t?\"\":t),0===(f(a[n].parentNode).attr(\"style\")||\"\").length&&f(a[n].parentNode).removeAttr(\"style\"))}},refresh:function r(e,t){var n=f(d.selection.element());if(n.get(0)!=d.el){var a=n.get(0);(a=\"LI\"!=a.tagName&&a.firstElementChild&&\"LI\"!=a.firstElementChild.tagName?n.parents(\"li\").get(0):\"LI\"==a.tagName||a.firstElementChild?a.firstElementChild&&\"LI\"==a.firstElementChild.tagName?n.get(0).firstChild:n.get(0):n.parents(\"li\").get(0))&&a.parentNode.tagName==t&&d.el.contains(a.parentNode)&&e.addClass(\"fr-active\")}}}},p.DefineIcon(\"formatOLSimple\",{NAME:\"list-ol\",SVG_KEY:\"orderedList\"}),p.RegisterCommand(\"formatOLSimple\",{title:\"Ordered List\",type:\"button\",options:{\"default\":\"Default\",circle:\"Circle\",disc:\"Disc\",square:\"Square\"},refresh:function(e){this.lists.refresh(e,\"OL\")},callback:function(e,t){this.lists.format(\"OL\",t)},plugin:\"lists\"}),p.RegisterCommand(\"formatUL\",{title:\"Unordered List\",type:\"button\",hasOptions:function(){return this.opts.listAdvancedTypes},options:{\"default\":\"Default\",circle:\"Circle\",disc:\"Disc\",square:\"Square\"},refresh:function(e){this.lists.refresh(e,\"UL\")},callback:function(e,t){this.lists.format(\"UL\",t)},plugin:\"lists\"}),p.RegisterCommand(\"formatOL\",{title:\"Ordered List\",hasOptions:function(){return this.opts.listAdvancedTypes},options:{\"default\":\"Default\",\"lower-alpha\":\"Lower Alpha\",\"lower-greek\":\"Lower Greek\",\"lower-roman\":\"Lower Roman\",\"upper-alpha\":\"Upper Alpha\",\"upper-roman\":\"Upper Roman\"},refresh:function(e){this.lists.refresh(e,\"OL\")},callback:function(e,t){this.lists.format(\"OL\",t)},plugin:\"lists\"}),p.DefineIcon(\"formatUL\",{NAME:\"list-ul\",SVG_KEY:\"unorderedList\"}),p.DefineIcon(\"formatOL\",{NAME:\"list-ol\",SVG_KEY:\"orderedList\"})});","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n!function(a,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?t(require(\"froala-editor\")):\"function\"==typeof define&&define.amd?define([\"froala-editor\"],t):t(a.FroalaEditor)}(this,function(a){\"use strict\";a=a&&a.hasOwnProperty(\"default\")?a[\"default\"]:a,Object.assign(a.DEFAULTS,{paragraphFormat:{N:\"Normal\",H1:\"Heading 1\",H2:\"Heading 2\",H3:\"Heading 3\",H4:\"Heading 4\",PRE:\"Code\"},paragraphFormatSelection:!1,paragraphDefaultSelection:\"Paragraph Format\"}),a.PLUGINS.paragraphFormat=function(h){var f=h.$;function g(a,t){var e=h.html.defaultTag();if(t&&t.toLowerCase()!=e)if(0<a.find(\"ul, ol\").length){var r=f(\"<\"+t+\">\");a.prepend(r);for(var n=h.node.contents(a.get(0))[0];n&&[\"UL\",\"OL\"].indexOf(n.tagName)<0;){var o=n.nextSibling;r.append(n),n=o}}else a.html(\"<\"+t+\">\"+a.html()+\"</\"+t+\">\")}return{apply:function c(a){\"N\"==a&&(a=h.html.defaultTag()),h.selection.save(),h.html.wrap(!0,!0,!h.opts.paragraphFormat.BLOCKQUOTE,!0,!0),h.selection.restore();var t,e,r,n,o,i,p,l,s=h.selection.blocks();h.selection.save(),h.$el.find(\"pre\").attr(\"skip\",!0);for(var m=0;m<s.length;m++)if(s[m].tagName!=a&&!h.node.isList(s[m])){var d=f(s[m]);\"LI\"==s[m].tagName?g(d,a):\"LI\"==s[m].parentNode.tagName&&s[m]?(i=d,p=a,l=h.html.defaultTag(),p&&p.toLowerCase()!=l||(p='div class=\"fr-temp-div\"'),i.replaceWith(f(\"<\"+p+\">\").html(i.html()))):0<=[\"TD\",\"TH\"].indexOf(s[m].parentNode.tagName)?(r=d,n=a,o=h.html.defaultTag(),n||(n='div class=\"fr-temp-div\"'+(h.node.isEmpty(r.get(0),!0)?' data-empty=\"true\"':\"\")),n.toLowerCase()==o?(h.node.isEmpty(r.get(0),!0)||r.append(\"<br/>\"),r.replaceWith(r.html())):r.replaceWith(f(\"<\"+n+\">\").html(r.html()))):(t=d,(e=a)||(e='div class=\"fr-temp-div\"'+(h.node.isEmpty(t.get(0),!0)?' data-empty=\"true\"':\"\")),\"H1\"!=e&&\"H2\"!=e&&\"H3\"!=e&&\"H4\"!=e&&\"H5\"!=e||!h.node.attributes(t.get(0)).includes(\"font-size:\")?t.replaceWith(f(\"<\"+e+\" \"+h.node.attributes(t.get(0))+\">\").html(t.html()).removeAttr(\"data-empty\")):t.replaceWith(f(\"<\"+e+\" \"+h.node.attributes(t.get(0)).replace(/font-size:[0-9]+px;?/,\"\")+\">\").html(t.html()).removeAttr(\"data-empty\")))}h.$el.find('pre:not([skip=\"true\"]) + pre:not([skip=\"true\"])').each(function(){f(this).prev().append(\"<br>\"+f(this).html()),f(this).remove()}),h.$el.find(\"pre\").removeAttr(\"skip\"),h.html.unwrap(),h.selection.restore()},refreshOnShow:function i(a,t){var e=h.selection.blocks();if(e.length){var r=e[0],n=\"N\",o=h.html.defaultTag();r.tagName.toLowerCase()!=o&&r!=h.el&&(n=r.tagName),t.find('.fr-command[data-param1=\"'+n+'\"]').addClass(\"fr-active\").attr(\"aria-selected\",!0)}else t.find('.fr-command[data-param1=\"N\"]').addClass(\"fr-active\").attr(\"aria-selected\",!0)},refresh:function o(a){if(h.opts.paragraphFormatSelection){var t=h.selection.blocks();if(t.length){var e=t[0],r=\"N\",n=h.html.defaultTag();e.tagName.toLowerCase()!=n&&e!=h.el&&(r=e.tagName),0<=[\"LI\",\"TD\",\"TH\"].indexOf(r)&&(r=\"N\"),a.find(\">span\").text(h.language.translate(h.opts.paragraphFormat[r]))}else a.find(\">span\").text(h.language.translate(h.opts.paragraphFormat.N))}}}},a.RegisterCommand(\"paragraphFormat\",{type:\"dropdown\",displaySelection:function(a){return a.opts.paragraphFormatSelection},defaultSelection:function(a){return a.language.translate(a.opts.paragraphDefaultSelection)},displaySelectionWidth:80,html:function(){var a='<ul class=\"fr-dropdown-list\" role=\"presentation\">',t=this.opts.paragraphFormat;for(var e in t)if(t.hasOwnProperty(e)){var r=this.shortcuts.get(\"paragraphFormat.\"+e);r=r?'<span class=\"fr-shortcut\">'+r+\"</span>\":\"\",a+='<li role=\"presentation\"><'+(\"N\"==e?this.html.defaultTag()||\"DIV\":e)+' style=\"padding: 0 !important; margin: 0 !important; border: 0 !important; background-color: transparent !important; '+(\"PRE\"==e||\"N\"==e?\"font-size: 15px\":\"font-weight: bold !important; \")+(\"H1\"==e?\"font-size: 2em !important; \":\"\")+(\"H2\"==e?\"font-size: 1.5em !important; \":\"\")+(\"H3\"==e?\"font-size: 1.17em !important; \":\"\")+(\"H4\"==e?\"font-size: 15px !important;\":\"\")+'\"  role=\"presentation\"><a class=\"fr-command\" tabIndex=\"-1\" role=\"option\" data-cmd=\"paragraphFormat\" data-param1=\"'+e+'\" title=\"'+this.language.translate(t[e])+'\">'+this.language.translate(t[e])+\"</a></\"+(\"N\"==e?this.html.defaultTag()||\"DIV\":e)+\"></li>\"}return a+=\"</ul>\"},title:\"Paragraph Format\",callback:function(a,t){this.paragraphFormat.apply(t)},refresh:function(a){this.paragraphFormat.refresh(a)},refreshOnShow:function(a,t){this.paragraphFormat.refreshOnShow(a,t)},plugin:\"paragraphFormat\"}),a.DefineIcon(\"paragraphFormat\",{NAME:\"paragraph\",SVG_KEY:\"paragraphFormat\"})});","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n!function(a,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?e(require(\"froala-editor\")):\"function\"==typeof define&&define.amd?define([\"froala-editor\"],e):e(a.FroalaEditor)}(this,function(a){\"use strict\";a=a&&a.hasOwnProperty(\"default\")?a[\"default\"]:a,Object.assign(a.DEFAULTS,{paragraphStyles:{\"fr-text-gray\":\"Gray\",\"fr-text-bordered\":\"Bordered\",\"fr-text-spaced\":\"Spaced\",\"fr-text-uppercase\":\"Uppercase\"},paragraphMultipleStyles:!0}),a.PLUGINS.paragraphStyle=function(n){var i=n.$;return{_init:function a(){},apply:function p(a,e,t){void 0===e&&(e=n.opts.paragraphStyles),void 0===t&&(t=n.opts.paragraphMultipleStyles);var r=\"\";t||((r=Object.keys(e)).splice(r.indexOf(a),1),r=r.join(\" \")),n.selection.save(),n.html.wrap(!0,!0,!0,!0),n.selection.restore();var s=n.selection.blocks();n.selection.save();for(var o=i(s[0]).hasClass(a),l=0;l<s.length;l++)i(s[l]).removeClass(r).toggleClass(a,!o),i(s[l]).hasClass(\"fr-temp-div\")&&i(s[l]).removeClass(\"fr-temp-div\"),\"\"===i(s[l]).attr(\"class\")&&i(s[l]).removeAttr(\"class\");n.html.unwrap(),n.selection.restore()},refreshOnShow:function s(a,e){var t=n.selection.blocks();if(t.length){var r=i(t[0]);e.find(\".fr-command\").each(function(){var a=i(this).data(\"param1\"),e=r.hasClass(a);i(this).toggleClass(\"fr-active\",e).attr(\"aria-selected\",e)})}}}},a.RegisterCommand(\"paragraphStyle\",{type:\"dropdown\",html:function(){var a='<ul class=\"fr-dropdown-list\" role=\"presentation\">',e=this.opts.paragraphStyles;for(var t in e)e.hasOwnProperty(t)&&(a+='<li role=\"presentation\"><a class=\"fr-command '.concat(t,'\" tabIndex=\"-1\" role=\"option\" data-cmd=\"paragraphStyle\" data-param1=\"').concat(t,'\" title=\"').concat(this.language.translate(e[t]),'\">').concat(this.language.translate(e[t]),\"</a></li>\"));return a+=\"</ul>\"},title:\"Paragraph Style\",callback:function(a,e){this.paragraphStyle.apply(e)},refreshOnShow:function(a,e){this.paragraphStyle.refreshOnShow(a,e)},plugin:\"paragraphStyle\"}),a.DefineIcon(\"paragraphStyle\",{NAME:\"magic\",SVG_KEY:\"paragraphStyle\"})});","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?t(require(\"froala-editor\")):\"function\"==typeof define&&define.amd?define([\"froala-editor\"],t):t(e.FroalaEditor)}(this,function(e){\"use strict\";e=e&&e.hasOwnProperty(\"default\")?e[\"default\"]:e,Object.assign(e.DEFAULTS,{html2pdf:window.html2pdf}),e.PLUGINS.print=function(a){return{run:function e(){!function l(e){var t=a.html.get(),n=null;a.shared.print_iframe?n=a.shared.print_iframe:((n=document.createElement(\"iframe\")).name=\"fr-print\",n.style.position=\"fixed\",n.style.top=\"0\",n.style.left=\"-9999px\",n.style.height=\"100%\",n.style.width=\"0\",n.style.overflow=\"hidden\",n.style[\"z-index\"]=\"2147483647\",n.style.tabIndex=\"-1\",a.events.on(\"shared.destroy\",function(){n.remove()}),a.shared.print_iframe=n);try{document.body.removeChild(n)}catch(d){}document.body.appendChild(n);var i=function i(){e(),n.removeEventListener(\"load\",i)};n.addEventListener(\"load\",i);var o=n.contentWindow;o.document.open(),o.document.write(\"<!DOCTYPE html><html \"+(a.opts.documentReady?'style=\"margin: 0; padding: 0;\"':\"\")+\"><head><title>\"+document.title+\"</title>\"),Array.prototype.forEach.call(document.querySelectorAll(\"style\"),function(e){e=e.cloneNode(!0),o.document.write(e.outerHTML)});var r=document.querySelectorAll(\"link[rel=stylesheet]\");Array.prototype.forEach.call(r,function(e){var t=document.createElement(\"link\");t.rel=e.rel,t.href=e.href,t.media=\"print\",t.type=\"text/css\",t.media=\"all\",o.document.write(t.outerHTML)}),o.document.write('</head><body style=\"height:auto;text-align: '+(\"rtl\"==a.opts.direction?\"right\":\"left\")+\"; direction: \"+a.opts.direction+\"; \"+(a.opts.documentReady?\" padding: 2cm; width: 17cm; margin: 0;\":\"\")+'\"><div class=\"fr-view\">'),o.document.write(t),o.document.write(\"</div></body></html>\"),o.document.close()}(function(){setTimeout(function(){a.events.disableBlur(),window.frames[\"fr-print\"].focus(),window.frames[\"fr-print\"].print(),a.$win.get(0).focus(),a.events.disableBlur(),a.events.focus()},0)})},toPDF:function t(){a.opts.html2pdf&&(a.$el.css(\"text-align\",\"left\"),a.opts.html2pdf().set({margin:[10,20],html2canvas:{useCORS:!0}}).from(a.el).save(),setTimeout(function(){a.$el.css(\"text-align\",\"\")},100))}}},e.DefineIcon(\"print\",{NAME:\"print\",SVG_KEY:\"print\"}),e.RegisterCommand(\"print\",{title:\"Print\",undo:!1,focus:!1,plugin:\"print\",callback:function(){this.print.run()}}),e.DefineIcon(\"getPDF\",{NAME:\"file-pdf-o\",FA5NAME:\"file-pdf\",SVG_KEY:\"pdfExport\"}),e.RegisterCommand(\"getPDF\",{title:\"Download PDF\",type:\"button\",focus:!1,undo:!1,callback:function(){this.print.toPDF()}})});","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?t(require(\"froala-editor\")):\"function\"==typeof define&&define.amd?define([\"froala-editor\"],t):t(e.FroalaEditor)}(this,function(h){\"use strict\";h=h&&h.hasOwnProperty(\"default\")?h[\"default\"]:h,Object.assign(h.DEFAULTS,{quickInsertButtons:[\"image\",\"video\",\"embedly\",\"table\",\"ul\",\"ol\",\"hr\"],quickInsertTags:[\"p\",\"div\",\"h1\",\"h2\",\"h3\",\"h4\",\"h5\",\"h6\",\"pre\",\"blockquote\"],quickInsertEnabled:!0}),h.QUICK_INSERT_BUTTONS={},h.DefineIcon(\"quickInsert\",{SVG_KEY:\"add\",template:\"svg\"}),h.RegisterQuickInsertButton=function(e,t){h.QUICK_INSERT_BUTTONS[e]=Object.assign({undo:!0},t)},h.RegisterQuickInsertButton(\"image\",{icon:\"insertImage\",requiredPlugin:\"image\",title:\"Insert Image\",undo:!1,callback:function(){var e=this,t=e.$;e.shared.$qi_image_input||(e.shared.$qi_image_input=t(document.createElement(\"input\")).attr(\"accept\",\"image/\"+e.opts.imageAllowedTypes.join(\", image/\").toLowerCase()).attr(\"name\",\"quickInsertImage\".concat(this.id)).attr(\"style\",\"display: none;\").attr(\"type\",\"file\"),t(\"body\").first().append(e.shared.$qi_image_input),e.events.$on(e.shared.$qi_image_input,\"change\",function(){var e=t(this).data(\"inst\");this.files&&(e.quickInsert.hide(),e.image.upload(this.files)),t(this).val(\"\")},!0)),e.$qi_image_input=e.shared.$qi_image_input,e.helpers.isMobile()&&e.selection.save(),e.events.disableBlur(),e.$qi_image_input.data(\"inst\",e)[0].click()}}),h.RegisterQuickInsertButton(\"video\",{icon:\"insertVideo\",requiredPlugin:\"video\",title:\"Insert Video\",undo:!1,callback:function(){var e=prompt(this.language.translate(\"Paste the URL of the video you want to insert.\"));e&&this.video.insertByURL(e)}}),h.RegisterQuickInsertButton(\"embedly\",{icon:\"embedly\",requiredPlugin:\"embedly\",title:\"Embed URL\",undo:!1,callback:function(){var e=prompt(this.language.translate(\"Paste the URL of any web content you want to insert.\"));e&&this.embedly.add(e)}}),h.RegisterQuickInsertButton(\"table\",{icon:\"insertTable\",requiredPlugin:\"table\",title:\"Insert Table\",callback:function(){this.table.insert(2,2)}}),h.RegisterQuickInsertButton(\"ol\",{icon:\"formatOL\",requiredPlugin:\"lists\",title:\"Ordered List\",callback:function(){this.lists.format(\"OL\")}}),h.RegisterQuickInsertButton(\"ul\",{icon:\"formatUL\",requiredPlugin:\"lists\",title:\"Unordered List\",callback:function(){this.lists.format(\"UL\")}}),h.RegisterQuickInsertButton(\"hr\",{icon:\"insertHR\",title:\"Insert Horizontal Line\",callback:function(){this.commands.insertHR()}}),h.PLUGINS.quickInsert=function(r){var a,l,c=r.$,u=!1;function n(e){var t,n,i;(t=e.offset().top-r.$box.offset().top,n=(r.$iframe&&r.$iframe.offset().left||0)+e.offset().left-e.position().left-4<a.outerWidth()?e.offset().left+a.outerWidth():0-a.outerWidth(),r.opts.enter!=h.ENTER_BR)?i=(a.outerHeight()-e.outerHeight())/2:(c(document.createElement(\"span\")).html(h.INVISIBLE_SPACE).insertAfter(e),i=(a.outerHeight()-e.next().outerHeight())/2,e.next().remove());if(r.opts.iframe){var s=r.helpers.getPX(r.$wp.find(\".fr-iframe\").css(\"padding-top\"));t+=r.$iframe.offset().top+s}a.hasClass(\"fr-on\")&&0<=t&&l.css(\"top\",t-i),0<=t&&t-Math.abs(i)<=r.$box.outerHeight()-e.outerHeight()?(a.hasClass(\"fr-hidden\")&&(a.hasClass(\"fr-on\")&&d(),a.removeClass(\"fr-hidden\")),a.css(\"top\",t-i)):a.hasClass(\"fr-visible\")&&!r.opts.toolbarInline&&(a.addClass(\"fr-hidden\"),f()),a.css(\"left\",n)}function s(e){a||function t(){r.shared.$quick_insert||(r.shared.$quick_insert=c(document.createElement(\"div\")).attr(\"class\",\"fr-quick-insert\").html('<a class=\"fr-floating-btn\" role=\"button\" tabIndex=\"-1\" title=\"'.concat(r.language.translate(\"Quick Insert\"),'\">').concat(r.icon.create(\"quickInsert\"),\"</a>\")));a=r.shared.$quick_insert,r.tooltip.bind(r.$box,\".fr-quick-insert > a.fr-floating-btn\"),r.events.on(\"destroy\",function(){c(\"body\").first().append(a.removeClass(\"fr-on\")),l&&(f(),c(\"body\").first().append(l.css(\"left\",-9999).css(\"top\",-9999)))},!0),r.events.on(\"shared.destroy\",function(){a.html(\"\").removeData().remove(),a=null,l&&(l.html(\"\").removeData().remove(),l=null)},!0),r.events.on(\"commands.before\",o),r.events.on(\"commands.after\",function(){r.popups.areVisible()||i()}),r.events.bindClick(r.$box,\".fr-quick-insert > a\",d),r.events.bindClick(r.$box,\".fr-qi-helper > a.fr-btn\",function(e){var t=c(e.currentTarget).data(\"cmd\");if(!1===r.events.trigger(\"quickInsert.commands.before\",[t]))return!1;h.QUICK_INSERT_BUTTONS[t].callback.apply(r,[e.currentTarget]),h.QUICK_INSERT_BUTTONS[t].undo&&r.undo.saveStep(),r.events.trigger(\"quickInsert.commands.after\",[t]),r.quickInsert.hide()}),r.events.$on(r.$wp,\"scroll\",p),r.events.$on(r.$tb,\"transitionend\",\".fr-more-toolbar\",p)}(),a.hasClass(\"fr-on\")&&f(),r.$box.append(a),n(e),a.data(\"tag\",e),a.addClass(\"fr-visible\")}function i(){if(r.core.hasFocus()){var e=r.selection.element();if(r.opts.enter==h.ENTER_BR||r.node.isBlock(e)||(e=r.node.blockParent(e)),r.opts.enter==h.ENTER_BR&&!r.node.isBlock(e)){var t=r.node.deepestParent(e);t&&(e=t)}var n=function n(){return r.opts.enter!=h.ENTER_BR&&r.node.isEmpty(e)&&0<=r.opts.quickInsertTags.indexOf(e.tagName.toLowerCase())},i=function i(){return r.opts.enter==h.ENTER_BR&&(\"BR\"==e.tagName&&(!e.previousSibling||\"BR\"==e.previousSibling.tagName||r.node.isBlock(e.previousSibling))||r.node.isEmpty(e)&&(!e.previousSibling||\"BR\"==e.previousSibling.tagName||r.node.isBlock(e.previousSibling))&&(!e.nextSibling||\"BR\"==e.nextSibling.tagName||r.node.isBlock(e.nextSibling)))};e&&(n()||i())?a&&a.data(\"tag\").is(c(e))&&a.hasClass(\"fr-on\")?f():r.selection.isCollapsed()&&s(c(e)):o()}}function o(){a&&!u&&(a.hasClass(\"fr-on\")&&f(),a.removeClass(\"fr-visible fr-on\"),a.css(\"left\",-9999).css(\"top\",-9999))}function d(e){if(e&&e.preventDefault(),a.hasClass(\"fr-on\")&&!a.hasClass(\"fr-hidden\"))f();else{if(!r.shared.$qi_helper){for(var t=r.opts.quickInsertButtons,n='<div class=\"fr-qi-helper\">',i=0,s=0;s<t.length;s++){var o=h.QUICK_INSERT_BUTTONS[t[s]];o&&(!o.requiredPlugin||h.PLUGINS[o.requiredPlugin]&&0<=r.opts.pluginsEnabled.indexOf(o.requiredPlugin))&&(n+='<a class=\"fr-btn fr-floating-btn\" role=\"button\" title=\"'.concat(r.language.translate(o.title),'\" tabIndex=\"-1\" data-cmd=\"').concat(t[s],'\" style=\"transition-delay: ').concat(.025*i++,'s;\">').concat(r.icon.create(o.icon),\"</a>\"))}n+=\"</div>\",r.shared.$qi_helper=c(n),r.tooltip.bind(r.shared.$qi_helper,\"a.fr-btn\"),r.events.$on(r.shared.$qi_helper,\"mousedown\",function(e){e.preventDefault()},!0)}l=r.shared.$qi_helper,r.$box.append(l),u=!0,setTimeout(function(){u=!1,l.css(\"top\",parseFloat(a.css(\"top\"))),l.css(\"left\",parseFloat(a.css(\"left\"))+a.outerWidth()),l.find(\"a\").addClass(\"fr-size-1\"),a.addClass(\"fr-on\")},10)}}function f(){var n=r.$box.find(\".fr-qi-helper\");n.length&&function(){for(var t=n.find(\"a\"),e=0;e<t.length;e++)!function(e){setTimeout(function(){n.children().eq(t.length-1-e).removeClass(\"fr-size-1\")},25*e)}(e);setTimeout(function(){n.css(\"left\",-9999),a&&!a.hasClass(\"fr-hidden\")&&a.removeClass(\"fr-on\")},25*e)}()}function p(){a.hasClass(\"fr-visible\")&&n(a.data(\"tag\"))}return{_init:function e(){if(!r.$wp||!r.opts.quickInsertEnabled)return!1;r.popups.onShow(\"image.edit\",o),r.events.on(\"mouseup\",i),r.helpers.isMobile()&&r.events.$on(c(r.o_doc),\"selectionchange\",i),r.events.on(\"blur\",o),r.events.on(\"keyup\",i),r.events.on(\"keydown\",function(){setTimeout(function(){i()},0)})},hide:o}}});","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?t(require(\"froala-editor\")):\"function\"==typeof define&&define.amd?define([\"froala-editor\"],t):t(e.FroalaEditor)}(this,function(e){\"use strict\";(e=e&&e.hasOwnProperty(\"default\")?e[\"default\"]:e).PLUGINS.quote=function(r){var a=r.$;function c(e){for(;e.parentNode&&e.parentNode!=r.el;)e=e.parentNode;return e}return{apply:function t(e){r.selection.save(),r.html.wrap(!0,!0,!0,!0),r.selection.restore(),\"increase\"==e?function n(){var e,t=r.selection.blocks();for(e=0;e<t.length;e++)t[e]=c(t[e]);r.selection.save();var o=a(document.createElement(\"blockquote\"));for(o.insertBefore(t[0]),e=0;e<t.length;e++)o.append(t[e]);r.html.unwrap(),r.selection.restore()}():\"decrease\"==e&&function o(){var e,t=r.selection.blocks();for(e=0;e<t.length;e++)\"BLOCKQUOTE\"!=t[e].tagName&&(t[e]=a(t[e]).parentsUntil(r.$el,\"BLOCKQUOTE\").get(0));for(r.selection.save(),e=0;e<t.length;e++)t[e]&&a(t[e]).replaceWith(t[e].innerHTML);r.html.unwrap(),r.selection.restore()}()}}},e.RegisterShortcut(e.KEYCODE.SINGLE_QUOTE,\"quote\",\"increase\",\"'\"),e.RegisterShortcut(e.KEYCODE.SINGLE_QUOTE,\"quote\",\"decrease\",\"'\",!0),e.RegisterCommand(\"quote\",{title:\"Quote\",type:\"dropdown\",html:function(){var e='<ul class=\"fr-dropdown-list\" role=\"presentation\">',t={increase:\"Increase\",decrease:\"Decrease\"};for(var o in t)if(t.hasOwnProperty(o)){var n=this.shortcuts.get(\"quote.\".concat(o));e+='<li role=\"presentation\"><a class=\"fr-command fr-active '.concat(o,'\" tabIndex=\"-1\" role=\"option\" data-cmd=\"quote\" data-param1=\"').concat(o,'\" title=\"').concat(t[o],'\">').concat(this.language.translate(t[o])).concat(n?'<span class=\"fr-shortcut\">'.concat(n,\"</span>\"):\"\",\"</a></li>\")}return e+=\"</ul>\"},callback:function(e,t){this.quote.apply(t)},plugin:\"quote\"}),e.DefineIcon(\"quote\",{NAME:\"quote-left\",SVG_KEY:\"blockquote\"})});","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?t(require(\"froala-editor\")):\"function\"==typeof define&&define.amd?define([\"froala-editor\"],t):t(e.FroalaEditor)}(this,function(e){\"use strict\";e=e&&e.hasOwnProperty(\"default\")?e[\"default\"]:e,Object.assign(e.DEFAULTS,{saveInterval:1e4,saveURL:null,saveParams:{},saveParam:\"body\",saveMethod:\"POST\"}),e.PLUGINS.save=function(i){var f=i.$,n=null,l=null,t=!1,v=1,c=2,s={};function u(e,t){i.events.trigger(\"save.error\",[{code:e,message:s[e]},t])}function a(e){void 0===e&&(e=i.html.get());var n=e,t=i.events.trigger(\"save.before\",[e]);if(!1===t)return!1;if(\"string\"==typeof t&&(e=t),i.opts.saveURL){var s={};for(var a in i.opts.saveParams)if(i.opts.saveParams.hasOwnProperty(a)){var o=i.opts.saveParams[a];s[a]=\"function\"==typeof o?o.call(this):o}var r={};r[i.opts.saveParam]=e,f(this).ajax({method:i.opts.saveMethod,url:i.opts.saveURL,data:Object.assign(r,s),crossDomain:i.opts.requestWithCORS,withCredentials:i.opts.requestWithCredentials,headers:i.opts.requestHeaders,done:function(e,t,s){l=n,i.events.trigger(\"save.after\",[e])},fail:function(e){u(c,e.response||e.responseText)}})}else u(v)}function o(){clearTimeout(n),n=setTimeout(function(){var e=i.html.get();(l!=e||t)&&(t=!1,a(l=e))},0)}return s[v]=\"Missing saveURL option.\",s[c]=\"Something went wrong during save.\",{_init:function r(){if(i.opts.letteringClass)for(var e=i.opts.letteringClass,t=i.$el.find(\".\".concat(e)).length,s=0;s<t;s++)i.$el.find(\".\".concat(e))[s].innerHTML=i.$el.find(\".\".concat(e))[s].innerText.replace(/([\\w'-]+|[?.\",])/g,\"<span class = 'fr-word-select'>$1</span>\");i.opts.saveInterval&&(l=i.html.get(),i.events.on(\"contentChanged\",function(){setTimeout(o,i.opts.saveInterval)}),i.events.on(\"keydown destroy\",function(){clearTimeout(n)}))},save:a,reset:function e(){o(),t=!1},force:function d(){t=!0}}},e.DefineIcon(\"save\",{NAME:\"floppy-o\",FA5NAME:\"save\"}),e.RegisterCommand(\"save\",{title:\"Save\",undo:!1,focus:!1,refreshAfterCallback:!1,callback:function(){this.save.save()},plugin:\"save\"})});","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n!function(c,E){\"object\"==typeof exports&&\"undefined\"!=typeof module?E(require(\"froala-editor\")):\"function\"==typeof define&&define.amd?define([\"froala-editor\"],E):E(c.FroalaEditor)}(this,function(t){\"use strict\";t=t&&t.hasOwnProperty(\"default\")?t[\"default\"]:t,Object.assign(t.DEFAULTS,{specialCharactersSets:[{title:\"Latin\",\"char\":\"&iexcl;\",list:[{\"char\":\"&iexcl;\",desc:\"INVERTED EXCLAMATION MARK\"},{\"char\":\"&cent;\",desc:\"CENT SIGN\"},{\"char\":\"&pound;\",desc:\"POUND SIGN\"},{\"char\":\"&curren;\",desc:\"CURRENCY SIGN\"},{\"char\":\"&yen;\",desc:\"YEN SIGN\"},{\"char\":\"&brvbar;\",desc:\"BROKEN BAR\"},{\"char\":\"&sect;\",desc:\"SECTION SIGN\"},{\"char\":\"&uml;\",desc:\"DIAERESIS\"},{\"char\":\"&copy;\",desc:\"COPYRIGHT SIGN\"},{\"char\":\"&trade;\",desc:\"TRADEMARK SIGN\"},{\"char\":\"&ordf;\",desc:\"FEMININE ORDINAL INDICATOR\"},{\"char\":\"&laquo;\",desc:\"LEFT-POINTING DOUBLE ANGLE QUOTATION MARK\"},{\"char\":\"&not;\",desc:\"NOT SIGN\"},{\"char\":\"&reg;\",desc:\"REGISTERED SIGN\"},{\"char\":\"&macr;\",desc:\"MACRON\"},{\"char\":\"&deg;\",desc:\"DEGREE SIGN\"},{\"char\":\"&plusmn;\",desc:\"PLUS-MINUS SIGN\"},{\"char\":\"&sup2;\",desc:\"SUPERSCRIPT TWO\"},{\"char\":\"&sup3;\",desc:\"SUPERSCRIPT THREE\"},{\"char\":\"&acute;\",desc:\"ACUTE ACCENT\"},{\"char\":\"&micro;\",desc:\"MICRO SIGN\"},{\"char\":\"&para;\",desc:\"PILCROW SIGN\"},{\"char\":\"&middot;\",desc:\"MIDDLE DOT\"},{\"char\":\"&cedil;\",desc:\"CEDILLA\"},{\"char\":\"&sup1;\",desc:\"SUPERSCRIPT ONE\"},{\"char\":\"&ordm;\",desc:\"MASCULINE ORDINAL INDICATOR\"},{\"char\":\"&raquo;\",desc:\"RIGHT-POINTING DOUBLE ANGLE QUOTATION MARK\"},{\"char\":\"&frac14;\",desc:\"VULGAR FRACTION ONE QUARTER\"},{\"char\":\"&frac12;\",desc:\"VULGAR FRACTION ONE HALF\"},{\"char\":\"&frac34;\",desc:\"VULGAR FRACTION THREE QUARTERS\"},{\"char\":\"&iquest;\",desc:\"INVERTED QUESTION MARK\"},{\"char\":\"&Agrave;\",desc:\"LATIN CAPITAL LETTER A WITH GRAVE\"},{\"char\":\"&Aacute;\",desc:\"LATIN CAPITAL LETTER A WITH ACUTE\"},{\"char\":\"&Acirc;\",desc:\"LATIN CAPITAL LETTER A WITH CIRCUMFLEX\"},{\"char\":\"&Atilde;\",desc:\"LATIN CAPITAL LETTER A WITH TILDE\"},{\"char\":\"&Auml;\",desc:\"LATIN CAPITAL LETTER A WITH DIAERESIS \"},{\"char\":\"&Aring;\",desc:\"LATIN CAPITAL LETTER A WITH RING ABOVE\"},{\"char\":\"&AElig;\",desc:\"LATIN CAPITAL LETTER AE\"},{\"char\":\"&Ccedil;\",desc:\"LATIN CAPITAL LETTER C WITH CEDILLA\"},{\"char\":\"&Egrave;\",desc:\"LATIN CAPITAL LETTER E WITH GRAVE\"},{\"char\":\"&Eacute;\",desc:\"LATIN CAPITAL LETTER E WITH ACUTE\"},{\"char\":\"&Ecirc;\",desc:\"LATIN CAPITAL LETTER E WITH CIRCUMFLEX\"},{\"char\":\"&Euml;\",desc:\"LATIN CAPITAL LETTER E WITH DIAERESIS\"},{\"char\":\"&Igrave;\",desc:\"LATIN CAPITAL LETTER I WITH GRAVE\"},{\"char\":\"&Iacute;\",desc:\"LATIN CAPITAL LETTER I WITH ACUTE\"},{\"char\":\"&Icirc;\",desc:\"LATIN CAPITAL LETTER I WITH CIRCUMFLEX\"},{\"char\":\"&Iuml;\",desc:\"LATIN CAPITAL LETTER I WITH DIAERESIS\"},{\"char\":\"&ETH;\",desc:\"LATIN CAPITAL LETTER ETH\"},{\"char\":\"&Ntilde;\",desc:\"LATIN CAPITAL LETTER N WITH TILDE\"},{\"char\":\"&Ograve;\",desc:\"LATIN CAPITAL LETTER O WITH GRAVE\"},{\"char\":\"&Oacute;\",desc:\"LATIN CAPITAL LETTER O WITH ACUTE\"},{\"char\":\"&Ocirc;\",desc:\"LATIN CAPITAL LETTER O WITH CIRCUMFLEX\"},{\"char\":\"&Otilde;\",desc:\"LATIN CAPITAL LETTER O WITH TILDE\"},{\"char\":\"&Ouml;\",desc:\"LATIN CAPITAL LETTER O WITH DIAERESIS\"},{\"char\":\"&times;\",desc:\"MULTIPLICATION SIGN\"},{\"char\":\"&Oslash;\",desc:\"LATIN CAPITAL LETTER O WITH STROKE\"},{\"char\":\"&Ugrave;\",desc:\"LATIN CAPITAL LETTER U WITH GRAVE\"},{\"char\":\"&Uacute;\",desc:\"LATIN CAPITAL LETTER U WITH ACUTE\"},{\"char\":\"&Ucirc;\",desc:\"LATIN CAPITAL LETTER U WITH CIRCUMFLEX\"},{\"char\":\"&Uuml;\",desc:\"LATIN CAPITAL LETTER U WITH DIAERESIS\"},{\"char\":\"&Yacute;\",desc:\"LATIN CAPITAL LETTER Y WITH ACUTE\"},{\"char\":\"&THORN;\",desc:\"LATIN CAPITAL LETTER THORN\"},{\"char\":\"&szlig;\",desc:\"LATIN SMALL LETTER SHARP S\"},{\"char\":\"&agrave;\",desc:\"LATIN SMALL LETTER A WITH GRAVE\"},{\"char\":\"&aacute;\",desc:\"LATIN SMALL LETTER A WITH ACUTE \"},{\"char\":\"&acirc;\",desc:\"LATIN SMALL LETTER A WITH CIRCUMFLEX\"},{\"char\":\"&atilde;\",desc:\"LATIN SMALL LETTER A WITH TILDE\"},{\"char\":\"&auml;\",desc:\"LATIN SMALL LETTER A WITH DIAERESIS\"},{\"char\":\"&aring;\",desc:\"LATIN SMALL LETTER A WITH RING ABOVE\"},{\"char\":\"&aelig;\",desc:\"LATIN SMALL LETTER AE\"},{\"char\":\"&ccedil;\",desc:\"LATIN SMALL LETTER C WITH CEDILLA\"},{\"char\":\"&egrave;\",desc:\"LATIN SMALL LETTER E WITH GRAVE\"},{\"char\":\"&eacute;\",desc:\"LATIN SMALL LETTER E WITH ACUTE\"},{\"char\":\"&ecirc;\",desc:\"LATIN SMALL LETTER E WITH CIRCUMFLEX\"},{\"char\":\"&euml;\",desc:\"LATIN SMALL LETTER E WITH DIAERESIS\"},{\"char\":\"&igrave;\",desc:\"LATIN SMALL LETTER I WITH GRAVE\"},{\"char\":\"&iacute;\",desc:\"LATIN SMALL LETTER I WITH ACUTE\"},{\"char\":\"&icirc;\",desc:\"LATIN SMALL LETTER I WITH CIRCUMFLEX\"},{\"char\":\"&iuml;\",desc:\"LATIN SMALL LETTER I WITH DIAERESIS\"},{\"char\":\"&eth;\",desc:\"LATIN SMALL LETTER ETH\"},{\"char\":\"&ntilde;\",desc:\"LATIN SMALL LETTER N WITH TILDE\"},{\"char\":\"&ograve;\",desc:\"LATIN SMALL LETTER O WITH GRAVE\"},{\"char\":\"&oacute;\",desc:\"LATIN SMALL LETTER O WITH ACUTE\"},{\"char\":\"&ocirc;\",desc:\"LATIN SMALL LETTER O WITH CIRCUMFLEX\"},{\"char\":\"&otilde;\",desc:\"LATIN SMALL LETTER O WITH TILDE\"},{\"char\":\"&ouml;\",desc:\"LATIN SMALL LETTER O WITH DIAERESIS\"},{\"char\":\"&divide;\",desc:\"DIVISION SIGN\"},{\"char\":\"&oslash;\",desc:\"LATIN SMALL LETTER O WITH STROKE\"},{\"char\":\"&ugrave;\",desc:\"LATIN SMALL LETTER U WITH GRAVE\"},{\"char\":\"&uacute;\",desc:\"LATIN SMALL LETTER U WITH ACUTE\"},{\"char\":\"&ucirc;\",desc:\"LATIN SMALL LETTER U WITH CIRCUMFLEX\"},{\"char\":\"&uuml;\",desc:\"LATIN SMALL LETTER U WITH DIAERESIS\"},{\"char\":\"&yacute;\",desc:\"LATIN SMALL LETTER Y WITH ACUTE\"},{\"char\":\"&thorn;\",desc:\"LATIN SMALL LETTER THORN\"},{\"char\":\"&yuml;\",desc:\"LATIN SMALL LETTER Y WITH DIAERESIS\"}]},{title:\"Greek\",\"char\":\"&Alpha;\",list:[{\"char\":\"&Alpha;\",desc:\"GREEK CAPITAL LETTER ALPHA\"},{\"char\":\"&Beta;\",desc:\"GREEK CAPITAL LETTER BETA\"},{\"char\":\"&Gamma;\",desc:\"GREEK CAPITAL LETTER GAMMA\"},{\"char\":\"&Delta;\",desc:\"GREEK CAPITAL LETTER DELTA\"},{\"char\":\"&Epsilon;\",desc:\"GREEK CAPITAL LETTER EPSILON\"},{\"char\":\"&Zeta;\",desc:\"GREEK CAPITAL LETTER ZETA\"},{\"char\":\"&Eta;\",desc:\"GREEK CAPITAL LETTER ETA\"},{\"char\":\"&Theta;\",desc:\"GREEK CAPITAL LETTER THETA\"},{\"char\":\"&Iota;\",desc:\"GREEK CAPITAL LETTER IOTA\"},{\"char\":\"&Kappa;\",desc:\"GREEK CAPITAL LETTER KAPPA\"},{\"char\":\"&Lambda;\",desc:\"GREEK CAPITAL LETTER LAMBDA\"},{\"char\":\"&Mu;\",desc:\"GREEK CAPITAL LETTER MU\"},{\"char\":\"&Nu;\",desc:\"GREEK CAPITAL LETTER NU\"},{\"char\":\"&Xi;\",desc:\"GREEK CAPITAL LETTER XI\"},{\"char\":\"&Omicron;\",desc:\"GREEK CAPITAL LETTER OMICRON\"},{\"char\":\"&Pi;\",desc:\"GREEK CAPITAL LETTER PI\"},{\"char\":\"&Rho;\",desc:\"GREEK CAPITAL LETTER RHO\"},{\"char\":\"&Sigma;\",desc:\"GREEK CAPITAL LETTER SIGMA\"},{\"char\":\"&Tau;\",desc:\"GREEK CAPITAL LETTER TAU\"},{\"char\":\"&Upsilon;\",desc:\"GREEK CAPITAL LETTER UPSILON\"},{\"char\":\"&Phi;\",desc:\"GREEK CAPITAL LETTER PHI\"},{\"char\":\"&Chi;\",desc:\"GREEK CAPITAL LETTER CHI\"},{\"char\":\"&Psi;\",desc:\"GREEK CAPITAL LETTER PSI\"},{\"char\":\"&Omega;\",desc:\"GREEK CAPITAL LETTER OMEGA\"},{\"char\":\"&alpha;\",desc:\"GREEK SMALL LETTER ALPHA\"},{\"char\":\"&beta;\",desc:\"GREEK SMALL LETTER BETA\"},{\"char\":\"&gamma;\",desc:\"GREEK SMALL LETTER GAMMA\"},{\"char\":\"&delta;\",desc:\"GREEK SMALL LETTER DELTA\"},{\"char\":\"&epsilon;\",desc:\"GREEK SMALL LETTER EPSILON\"},{\"char\":\"&zeta;\",desc:\"GREEK SMALL LETTER ZETA\"},{\"char\":\"&eta;\",desc:\"GREEK SMALL LETTER ETA\"},{\"char\":\"&theta;\",desc:\"GREEK SMALL LETTER THETA\"},{\"char\":\"&iota;\",desc:\"GREEK SMALL LETTER IOTA\"},{\"char\":\"&kappa;\",desc:\"GREEK SMALL LETTER KAPPA\"},{\"char\":\"&lambda;\",desc:\"GREEK SMALL LETTER LAMBDA\"},{\"char\":\"&mu;\",desc:\"GREEK SMALL LETTER MU\"},{\"char\":\"&nu;\",desc:\"GREEK SMALL LETTER NU\"},{\"char\":\"&xi;\",desc:\"GREEK SMALL LETTER XI\"},{\"char\":\"&omicron;\",desc:\"GREEK SMALL LETTER OMICRON\"},{\"char\":\"&pi;\",desc:\"GREEK SMALL LETTER PI\"},{\"char\":\"&rho;\",desc:\"GREEK SMALL LETTER RHO\"},{\"char\":\"&sigmaf;\",desc:\"GREEK SMALL LETTER FINAL SIGMA\"},{\"char\":\"&sigma;\",desc:\"GREEK SMALL LETTER SIGMA\"},{\"char\":\"&tau;\",desc:\"GREEK SMALL LETTER TAU\"},{\"char\":\"&upsilon;\",desc:\"GREEK SMALL LETTER UPSILON\"},{\"char\":\"&phi;\",desc:\"GREEK SMALL LETTER PHI\"},{\"char\":\"&chi;\",desc:\"GREEK SMALL LETTER CHI\"},{\"char\":\"&psi;\",desc:\"GREEK SMALL LETTER PSI\"},{\"char\":\"&omega;\",desc:\"GREEK SMALL LETTER OMEGA\"},{\"char\":\"&thetasym;\",desc:\"GREEK THETA SYMBOL\"},{\"char\":\"&upsih;\",desc:\"GREEK UPSILON WITH HOOK SYMBOL\"},{\"char\":\"&straightphi;\",desc:\"GREEK PHI SYMBOL\"},{\"char\":\"&piv;\",desc:\"GREEK PI SYMBOL\"},{\"char\":\"&Gammad;\",desc:\"GREEK LETTER DIGAMMA\"},{\"char\":\"&gammad;\",desc:\"GREEK SMALL LETTER DIGAMMA\"},{\"char\":\"&varkappa;\",desc:\"GREEK KAPPA SYMBOL\"},{\"char\":\"&varrho;\",desc:\"GREEK RHO SYMBOL\"},{\"char\":\"&straightepsilon;\",desc:\"GREEK LUNATE EPSILON SYMBOL\"},{\"char\":\"&backepsilon;\",desc:\"GREEK REVERSED LUNATE EPSILON SYMBOL\"}]},{title:\"Cyrillic\",\"char\":\"&#x400\",list:[{\"char\":\"&#x400\",desc:\"CYRILLIC CAPITAL LETTER IE WITH GRAVE\"},{\"char\":\"&#x401\",desc:\"CYRILLIC CAPITAL LETTER IO\"},{\"char\":\"&#x402\",desc:\"CYRILLIC CAPITAL LETTER DJE\"},{\"char\":\"&#x403\",desc:\"CYRILLIC CAPITAL LETTER GJE\"},{\"char\":\"&#x404\",desc:\"CYRILLIC CAPITAL LETTER UKRAINIAN IE\"},{\"char\":\"&#x405\",desc:\"CYRILLIC CAPITAL LETTER DZE\"},{\"char\":\"&#x406\",desc:\"CYRILLIC CAPITAL LETTER BYELORUSSIAN-UKRAINIAN I\"},{\"char\":\"&#x407\",desc:\"CYRILLIC CAPITAL LETTER YI\"},{\"char\":\"&#x408\",desc:\"CYRILLIC CAPITAL LETTER JE\"},{\"char\":\"&#x409\",desc:\"CYRILLIC CAPITAL LETTER LJE\"},{\"char\":\"&#x40A\",desc:\"CYRILLIC CAPITAL LETTER NJE\"},{\"char\":\"&#x40B\",desc:\"CYRILLIC CAPITAL LETTER TSHE\"},{\"char\":\"&#x40C\",desc:\"CYRILLIC CAPITAL LETTER KJE\"},{\"char\":\"&#x40D\",desc:\"CYRILLIC CAPITAL LETTER I WITH GRAVE\"},{\"char\":\"&#x40E\",desc:\"CYRILLIC CAPITAL LETTER SHORT U\"},{\"char\":\"&#x40F\",desc:\"CYRILLIC CAPITAL LETTER DZHE\"},{\"char\":\"&#x410\",desc:\"CYRILLIC CAPITAL LETTER A\"},{\"char\":\"&#x411\",desc:\"CYRILLIC CAPITAL LETTER BE\"},{\"char\":\"&#x412\",desc:\"CYRILLIC CAPITAL LETTER VE\"},{\"char\":\"&#x413\",desc:\"CYRILLIC CAPITAL LETTER GHE\"},{\"char\":\"&#x414\",desc:\"CYRILLIC CAPITAL LETTER DE\"},{\"char\":\"&#x415\",desc:\"CYRILLIC CAPITAL LETTER IE\"},{\"char\":\"&#x416\",desc:\"CYRILLIC CAPITAL LETTER ZHE\"},{\"char\":\"&#x417\",desc:\"CYRILLIC CAPITAL LETTER ZE\"},{\"char\":\"&#x418\",desc:\"CYRILLIC CAPITAL LETTER I\"},{\"char\":\"&#x419\",desc:\"CYRILLIC CAPITAL LETTER SHORT I\"},{\"char\":\"&#x41A\",desc:\"CYRILLIC CAPITAL LETTER KA\"},{\"char\":\"&#x41B\",desc:\"CYRILLIC CAPITAL LETTER EL\"},{\"char\":\"&#x41C\",desc:\"CYRILLIC CAPITAL LETTER EM\"},{\"char\":\"&#x41D\",desc:\"CYRILLIC CAPITAL LETTER EN\"},{\"char\":\"&#x41E\",desc:\"CYRILLIC CAPITAL LETTER O\"},{\"char\":\"&#x41F\",desc:\"CYRILLIC CAPITAL LETTER PE\"},{\"char\":\"&#x420\",desc:\"CYRILLIC CAPITAL LETTER ER\"},{\"char\":\"&#x421\",desc:\"CYRILLIC CAPITAL LETTER ES\"},{\"char\":\"&#x422\",desc:\"CYRILLIC CAPITAL LETTER TE\"},{\"char\":\"&#x423\",desc:\"CYRILLIC CAPITAL LETTER U\"},{\"char\":\"&#x424\",desc:\"CYRILLIC CAPITAL LETTER EF\"},{\"char\":\"&#x425\",desc:\"CYRILLIC CAPITAL LETTER HA\"},{\"char\":\"&#x426\",desc:\"CYRILLIC CAPITAL LETTER TSE\"},{\"char\":\"&#x427\",desc:\"CYRILLIC CAPITAL LETTER CHE\"},{\"char\":\"&#x428\",desc:\"CYRILLIC CAPITAL LETTER SHA\"},{\"char\":\"&#x429\",desc:\"CYRILLIC CAPITAL LETTER SHCHA\"},{\"char\":\"&#x42A\",desc:\"CYRILLIC CAPITAL LETTER HARD SIGN\"},{\"char\":\"&#x42B\",desc:\"CYRILLIC CAPITAL LETTER YERU\"},{\"char\":\"&#x42C\",desc:\"CYRILLIC CAPITAL LETTER SOFT SIGN\"},{\"char\":\"&#x42D\",desc:\"CYRILLIC CAPITAL LETTER E\"},{\"char\":\"&#x42E\",desc:\"CYRILLIC CAPITAL LETTER YU\"},{\"char\":\"&#x42F\",desc:\"CYRILLIC CAPITAL LETTER YA\"},{\"char\":\"&#x430\",desc:\"CYRILLIC SMALL LETTER A\"},{\"char\":\"&#x431\",desc:\"CYRILLIC SMALL LETTER BE\"},{\"char\":\"&#x432\",desc:\"CYRILLIC SMALL LETTER VE\"},{\"char\":\"&#x433\",desc:\"CYRILLIC SMALL LETTER GHE\"},{\"char\":\"&#x434\",desc:\"CYRILLIC SMALL LETTER DE\"},{\"char\":\"&#x435\",desc:\"CYRILLIC SMALL LETTER IE\"},{\"char\":\"&#x436\",desc:\"CYRILLIC SMALL LETTER ZHE\"},{\"char\":\"&#x437\",desc:\"CYRILLIC SMALL LETTER ZE\"},{\"char\":\"&#x438\",desc:\"CYRILLIC SMALL LETTER I\"},{\"char\":\"&#x439\",desc:\"CYRILLIC SMALL LETTER SHORT I\"},{\"char\":\"&#x43A\",desc:\"CYRILLIC SMALL LETTER KA\"},{\"char\":\"&#x43B\",desc:\"CYRILLIC SMALL LETTER EL\"},{\"char\":\"&#x43C\",desc:\"CYRILLIC SMALL LETTER EM\"},{\"char\":\"&#x43D\",desc:\"CYRILLIC SMALL LETTER EN\"},{\"char\":\"&#x43E\",desc:\"CYRILLIC SMALL LETTER O\"},{\"char\":\"&#x43F\",desc:\"CYRILLIC SMALL LETTER PE\"},{\"char\":\"&#x440\",desc:\"CYRILLIC SMALL LETTER ER\"},{\"char\":\"&#x441\",desc:\"CYRILLIC SMALL LETTER ES\"},{\"char\":\"&#x442\",desc:\"CYRILLIC SMALL LETTER TE\"},{\"char\":\"&#x443\",desc:\"CYRILLIC SMALL LETTER U\"},{\"char\":\"&#x444\",desc:\"CYRILLIC SMALL LETTER EF\"},{\"char\":\"&#x445\",desc:\"CYRILLIC SMALL LETTER HA\"},{\"char\":\"&#x446\",desc:\"CYRILLIC SMALL LETTER TSE\"},{\"char\":\"&#x447\",desc:\"CYRILLIC SMALL LETTER CHE\"},{\"char\":\"&#x448\",desc:\"CYRILLIC SMALL LETTER SHA\"},{\"char\":\"&#x449\",desc:\"CYRILLIC SMALL LETTER SHCHA\"},{\"char\":\"&#x44A\",desc:\"CYRILLIC SMALL LETTER HARD SIGN\"},{\"char\":\"&#x44B\",desc:\"CYRILLIC SMALL LETTER YERU\"},{\"char\":\"&#x44C\",desc:\"CYRILLIC SMALL LETTER SOFT SIGN\"},{\"char\":\"&#x44D\",desc:\"CYRILLIC SMALL LETTER E\"},{\"char\":\"&#x44E\",desc:\"CYRILLIC SMALL LETTER YU\"},{\"char\":\"&#x44F\",desc:\"CYRILLIC SMALL LETTER YA\"},{\"char\":\"&#x450\",desc:\"CYRILLIC SMALL LETTER IE WITH GRAVE\"},{\"char\":\"&#x451\",desc:\"CYRILLIC SMALL LETTER IO\"},{\"char\":\"&#x452\",desc:\"CYRILLIC SMALL LETTER DJE\"},{\"char\":\"&#x453\",desc:\"CYRILLIC SMALL LETTER GJE\"},{\"char\":\"&#x454\",desc:\"CYRILLIC SMALL LETTER UKRAINIAN IE\"},{\"char\":\"&#x455\",desc:\"CYRILLIC SMALL LETTER DZE\"},{\"char\":\"&#x456\",desc:\"CYRILLIC SMALL LETTER BYELORUSSIAN-UKRAINIAN I\"},{\"char\":\"&#x457\",desc:\"CYRILLIC SMALL LETTER YI\"},{\"char\":\"&#x458\",desc:\"CYRILLIC SMALL LETTER JE\"},{\"char\":\"&#x459\",desc:\"CYRILLIC SMALL LETTER LJE\"},{\"char\":\"&#x45A\",desc:\"CYRILLIC SMALL LETTER NJE\"},{\"char\":\"&#x45B\",desc:\"CYRILLIC SMALL LETTER TSHE\"},{\"char\":\"&#x45C\",desc:\"CYRILLIC SMALL LETTER KJE\"},{\"char\":\"&#x45D\",desc:\"CYRILLIC SMALL LETTER I WITH GRAVE\"},{\"char\":\"&#x45E\",desc:\"CYRILLIC SMALL LETTER SHORT U\"},{\"char\":\"&#x45F\",desc:\"CYRILLIC SMALL LETTER DZHE\"}]},{title:\"Punctuation\",\"char\":\"&ndash;\",list:[{\"char\":\"&ndash;\",desc:\"EN DASH\"},{\"char\":\"&mdash;\",desc:\"EM DASH\"},{\"char\":\"&lsquo;\",desc:\"LEFT SINGLE QUOTATION MARK\"},{\"char\":\"&rsquo;\",desc:\"RIGHT SINGLE QUOTATION MARK\"},{\"char\":\"&sbquo;\",desc:\"SINGLE LOW-9 QUOTATION MARK\"},{\"char\":\"&ldquo;\",desc:\"LEFT DOUBLE QUOTATION MARK\"},{\"char\":\"&rdquo;\",desc:\"RIGHT DOUBLE QUOTATION MARK\"},{\"char\":\"&bdquo;\",desc:\"DOUBLE LOW-9 QUOTATION MARK\"},{\"char\":\"&dagger;\",desc:\"DAGGER\"},{\"char\":\"&Dagger;\",desc:\"DOUBLE DAGGER\"},{\"char\":\"&bull;\",desc:\"BULLET\"},{\"char\":\"&hellip;\",desc:\"HORIZONTAL ELLIPSIS\"},{\"char\":\"&permil;\",desc:\"PER MILLE SIGN\"},{\"char\":\"&prime;\",desc:\"PRIME\"},{\"char\":\"&Prime;\",desc:\"DOUBLE PRIME\"},{\"char\":\"&lsaquo;\",desc:\"SINGLE LEFT-POINTING ANGLE QUOTATION MARK\"},{\"char\":\"&rsaquo;\",desc:\"SINGLE RIGHT-POINTING ANGLE QUOTATION MARK\"},{\"char\":\"&oline;\",desc:\"OVERLINE\"},{\"char\":\"&frasl;\",desc:\"FRACTION SLASH\"}]},{title:\"Currency\",\"char\":\"&#x20A0\",list:[{\"char\":\"&#x20A0\",desc:\"EURO-CURRENCY SIGN\"},{\"char\":\"&#x20A1\",desc:\"COLON SIGN\"},{\"char\":\"&#x20A2\",desc:\"CRUZEIRO SIGN\"},{\"char\":\"&#x20A3\",desc:\"FRENCH FRANC SIGN\"},{\"char\":\"&#x20A4\",desc:\"LIRA SIGN\"},{\"char\":\"&#x20A5\",desc:\"MILL SIGN\"},{\"char\":\"&#x20A6\",desc:\"NAIRA SIGN\"},{\"char\":\"&#x20A7\",desc:\"PESETA SIGN\"},{\"char\":\"&#x20A8\",desc:\"RUPEE SIGN\"},{\"char\":\"&#x20A9\",desc:\"WON SIGN\"},{\"char\":\"&#x20AA\",desc:\"NEW SHEQEL SIGN\"},{\"char\":\"&#x20AB\",desc:\"DONG SIGN\"},{\"char\":\"&#x20AC\",desc:\"EURO SIGN\"},{\"char\":\"&#x20AD\",desc:\"KIP SIGN\"},{\"char\":\"&#x20AE\",desc:\"TUGRIK SIGN\"},{\"char\":\"&#x20AF\",desc:\"DRACHMA SIGN\"},{\"char\":\"&#x20B0\",desc:\"GERMAN PENNY SYMBOL\"},{\"char\":\"&#x20B1\",desc:\"PESO SIGN\"},{\"char\":\"&#x20B2\",desc:\"GUARANI SIGN\"},{\"char\":\"&#x20B3\",desc:\"AUSTRAL SIGN\"},{\"char\":\"&#x20B4\",desc:\"HRYVNIA SIGN\"},{\"char\":\"&#x20B5\",desc:\"CEDI SIGN\"},{\"char\":\"&#x20B6\",desc:\"LIVRE TOURNOIS SIGN\"},{\"char\":\"&#x20B7\",desc:\"SPESMILO SIGN\"},{\"char\":\"&#x20B8\",desc:\"TENGE SIGN\"},{\"char\":\"&#x20B9\",desc:\"INDIAN RUPEE SIGN\"}]},{title:\"Arrows\",\"char\":\"&#x2190\",list:[{\"char\":\"&#x2190\",desc:\"LEFTWARDS ARROW\"},{\"char\":\"&#x2191\",desc:\"UPWARDS ARROW\"},{\"char\":\"&#x2192\",desc:\"RIGHTWARDS ARROW\"},{\"char\":\"&#x2193\",desc:\"DOWNWARDS ARROW\"},{\"char\":\"&#x2194\",desc:\"LEFT RIGHT ARROW\"},{\"char\":\"&#x2195\",desc:\"UP DOWN ARROW\"},{\"char\":\"&#x2196\",desc:\"NORTH WEST ARROW\"},{\"char\":\"&#x2197\",desc:\"NORTH EAST ARROW\"},{\"char\":\"&#x2198\",desc:\"SOUTH EAST ARROW\"},{\"char\":\"&#x2199\",desc:\"SOUTH WEST ARROW\"},{\"char\":\"&#x219A\",desc:\"LEFTWARDS ARROW WITH STROKE\"},{\"char\":\"&#x219B\",desc:\"RIGHTWARDS ARROW WITH STROKE\"},{\"char\":\"&#x219C\",desc:\"LEFTWARDS WAVE ARROW\"},{\"char\":\"&#x219D\",desc:\"RIGHTWARDS WAVE ARROW\"},{\"char\":\"&#x219E\",desc:\"LEFTWARDS TWO HEADED ARROW\"},{\"char\":\"&#x219F\",desc:\"UPWARDS TWO HEADED ARROW\"},{\"char\":\"&#x21A0\",desc:\"RIGHTWARDS TWO HEADED ARROW\"},{\"char\":\"&#x21A1\",desc:\"DOWNWARDS TWO HEADED ARROW\"},{\"char\":\"&#x21A2\",desc:\"LEFTWARDS ARROW WITH TAIL\"},{\"char\":\"&#x21A3\",desc:\"RIGHTWARDS ARROW WITH TAIL\"},{\"char\":\"&#x21A4\",desc:\"LEFTWARDS ARROW FROM BAR\"},{\"char\":\"&#x21A5\",desc:\"UPWARDS ARROW FROM BAR\"},{\"char\":\"&#x21A6\",desc:\"RIGHTWARDS ARROW FROM BAR\"},{\"char\":\"&#x21A7\",desc:\"DOWNWARDS ARROW FROM BAR\"},{\"char\":\"&#x21A8\",desc:\"UP DOWN ARROW WITH BASE\"},{\"char\":\"&#x21A9\",desc:\"LEFTWARDS ARROW WITH HOOK\"},{\"char\":\"&#x21AA\",desc:\"RIGHTWARDS ARROW WITH HOOK\"},{\"char\":\"&#x21AB\",desc:\"LEFTWARDS ARROW WITH LOOP\"},{\"char\":\"&#x21AC\",desc:\"RIGHTWARDS ARROW WITH LOOP\"},{\"char\":\"&#x21AD\",desc:\"LEFT RIGHT WAVE ARROW\"},{\"char\":\"&#x21AE\",desc:\"LEFT RIGHT ARROW WITH STROKE\"},{\"char\":\"&#x21AF\",desc:\"DOWNWARDS ZIGZAG ARROW\"},{\"char\":\"&#x21B0\",desc:\"UPWARDS ARROW WITH TIP LEFTWARDS\"},{\"char\":\"&#x21B1\",desc:\"UPWARDS ARROW WITH TIP RIGHTWARDS\"},{\"char\":\"&#x21B2\",desc:\"DOWNWARDS ARROW WITH TIP LEFTWARDS\"},{\"char\":\"&#x21B3\",desc:\"DOWNWARDS ARROW WITH TIP RIGHTWARDS\"},{\"char\":\"&#x21B4\",desc:\"RIGHTWARDS ARROW WITH CORNER DOWNWARDS\"},{\"char\":\"&#x21B5\",desc:\"DOWNWARDS ARROW WITH CORNER LEFTWARDS\"},{\"char\":\"&#x21B6\",desc:\"ANTICLOCKWISE TOP SEMICIRCLE ARROW\"},{\"char\":\"&#x21B7\",desc:\"CLOCKWISE TOP SEMICIRCLE ARROW\"},{\"char\":\"&#x21B8\",desc:\"NORTH WEST ARROW TO LONG BAR\"},{\"char\":\"&#x21B9\",desc:\"LEFTWARDS ARROW TO BAR OVER RIGHTWARDS ARROW TO BAR\"},{\"char\":\"&#x21BA\",desc:\"ANTICLOCKWISE OPEN CIRCLE ARROW\"},{\"char\":\"&#x21BB\",desc:\"CLOCKWISE OPEN CIRCLE ARROW\"},{\"char\":\"&#x21BC\",desc:\"LEFTWARDS HARPOON WITH BARB UPWARDS\"},{\"char\":\"&#x21BD\",desc:\"LEFTWARDS HARPOON WITH BARB DOWNWARDS\"},{\"char\":\"&#x21BE\",desc:\"UPWARDS HARPOON WITH BARB RIGHTWARDS\"},{\"char\":\"&#x21BF\",desc:\"UPWARDS HARPOON WITH BARB LEFTWARDS\"},{\"char\":\"&#x21C0\",desc:\"RIGHTWARDS HARPOON WITH BARB UPWARDS\"},{\"char\":\"&#x21C1\",desc:\"RIGHTWARDS HARPOON WITH BARB DOWNWARDS\"},{\"char\":\"&#x21C2\",desc:\"DOWNWARDS HARPOON WITH BARB RIGHTWARDS\"},{\"char\":\"&#x21C3\",desc:\"DOWNWARDS HARPOON WITH BARB LEFTWARDS\"},{\"char\":\"&#x21C4\",desc:\"RIGHTWARDS ARROW OVER LEFTWARDS ARROW\"},{\"char\":\"&#x21C5\",desc:\"UPWARDS ARROW LEFTWARDS OF DOWNWARDS ARROW\"},{\"char\":\"&#x21C6\",desc:\"LEFTWARDS ARROW OVER RIGHTWARDS ARROW\"},{\"char\":\"&#x21C7\",desc:\"LEFTWARDS PAIRED ARROWS\"},{\"char\":\"&#x21C8\",desc:\"UPWARDS PAIRED ARROWS\"},{\"char\":\"&#x21C9\",desc:\"RIGHTWARDS PAIRED ARROWS\"},{\"char\":\"&#x21CA\",desc:\"DOWNWARDS PAIRED ARROWS\"},{\"char\":\"&#x21CB\",desc:\"LEFTWARDS HARPOON OVER RIGHTWARDS HARPOON\"},{\"char\":\"&#x21CC\",desc:\"RIGHTWARDS HARPOON OVER LEFTWARDS HARPOON\"},{\"char\":\"&#x21CD\",desc:\"LEFTWARDS DOUBLE ARROW WITH STROKE\"},{\"char\":\"&#x21CE\",desc:\"LEFT RIGHT DOUBLE ARROW WITH STROKE\"},{\"char\":\"&#x21CF\",desc:\"RIGHTWARDS DOUBLE ARROW WITH STROKE\"},{\"char\":\"&#x21D0\",desc:\"LEFTWARDS DOUBLE ARROW\"},{\"char\":\"&#x21D1\",desc:\"UPWARDS DOUBLE ARROW\"},{\"char\":\"&#x21D2\",desc:\"RIGHTWARDS DOUBLE ARROW\"},{\"char\":\"&#x21D3\",desc:\"DOWNWARDS DOUBLE ARROW\"},{\"char\":\"&#x21D4\",desc:\"LEFT RIGHT DOUBLE ARROW\"},{\"char\":\"&#x21D5\",desc:\"UP DOWN DOUBLE ARROW\"},{\"char\":\"&#x21D6\",desc:\"NORTH WEST DOUBLE ARROW\"},{\"char\":\"&#x21D7\",desc:\"NORTH EAST DOUBLE ARROW\"},{\"char\":\"&#x21D8\",desc:\"SOUTH EAST DOUBLE ARROW\"},{\"char\":\"&#x21D9\",desc:\"SOUTH WEST DOUBLE ARROW\"},{\"char\":\"&#x21DA\",desc:\"LEFTWARDS TRIPLE ARROW\"},{\"char\":\"&#x21DB\",desc:\"RIGHTWARDS TRIPLE ARROW\"},{\"char\":\"&#x21DC\",desc:\"LEFTWARDS SQUIGGLE ARROW\"},{\"char\":\"&#x21DD\",desc:\"RIGHTWARDS SQUIGGLE ARROW\"},{\"char\":\"&#x21DE\",desc:\"UPWARDS ARROW WITH DOUBLE STROKE\"},{\"char\":\"&#x21DF\",desc:\"DOWNWARDS ARROW WITH DOUBLE STROKE\"},{\"char\":\"&#x21E0\",desc:\"LEFTWARDS DASHED ARROW\"},{\"char\":\"&#x21E1\",desc:\"UPWARDS DASHED ARROW\"},{\"char\":\"&#x21E2\",desc:\"RIGHTWARDS DASHED ARROW\"},{\"char\":\"&#x21E3\",desc:\"DOWNWARDS DASHED ARROW\"},{\"char\":\"&#x21E4\",desc:\"LEFTWARDS ARROW TO BAR\"},{\"char\":\"&#x21E5\",desc:\"RIGHTWARDS ARROW TO BAR\"},{\"char\":\"&#x21E6\",desc:\"LEFTWARDS WHITE ARROW\"},{\"char\":\"&#x21E7\",desc:\"UPWARDS WHITE ARROW\"},{\"char\":\"&#x21E8\",desc:\"RIGHTWARDS WHITE ARROW\"},{\"char\":\"&#x21E9\",desc:\"DOWNWARDS WHITE ARROW\"},{\"char\":\"&#x21EA\",desc:\"UPWARDS WHITE ARROW FROM BAR\"},{\"char\":\"&#x21EB\",desc:\"UPWARDS WHITE ARROW ON PEDESTAL\"},{\"char\":\"&#x21EC\",desc:\"UPWARDS WHITE ARROW ON PEDESTAL WITH HORIZONTAL BAR\"},{\"char\":\"&#x21ED\",desc:\"UPWARDS WHITE ARROW ON PEDESTAL WITH VERTICAL BAR\"},{\"char\":\"&#x21EE\",desc:\"UPWARDS WHITE DOUBLE ARROW\"},{\"char\":\"&#x21EF\",desc:\"UPWARDS WHITE DOUBLE ARROW ON PEDESTAL\"},{\"char\":\"&#x21F0\",desc:\"RIGHTWARDS WHITE ARROW FROM WALL\"},{\"char\":\"&#x21F1\",desc:\"NORTH WEST ARROW TO CORNER\"},{\"char\":\"&#x21F2\",desc:\"SOUTH EAST ARROW TO CORNER\"},{\"char\":\"&#x21F3\",desc:\"UP DOWN WHITE ARROW\"},{\"char\":\"&#x21F4\",desc:\"RIGHT ARROW WITH SMALL CIRCLE\"},{\"char\":\"&#x21F5\",desc:\"DOWNWARDS ARROW LEFTWARDS OF UPWARDS ARROW\"},{\"char\":\"&#x21F6\",desc:\"THREE RIGHTWARDS ARROWS\"},{\"char\":\"&#x21F7\",desc:\"LEFTWARDS ARROW WITH VERTICAL STROKE\"},{\"char\":\"&#x21F8\",desc:\"RIGHTWARDS ARROW WITH VERTICAL STROKE\"},{\"char\":\"&#x21F9\",desc:\"LEFT RIGHT ARROW WITH VERTICAL STROKE\"},{\"char\":\"&#x21FA\",desc:\"LEFTWARDS ARROW WITH DOUBLE VERTICAL STROKE\"},{\"char\":\"&#x21FB\",desc:\"RIGHTWARDS ARROW WITH DOUBLE VERTICAL STROKE\"},{\"char\":\"&#x21FC\",desc:\"LEFT RIGHT ARROW WITH DOUBLE VERTICAL STROKE\"},{\"char\":\"&#x21FD\",desc:\"LEFTWARDS OPEN-HEADED ARROW\"},{\"char\":\"&#x21FE\",desc:\"RIGHTWARDS OPEN-HEADED ARROW\"},{\"char\":\"&#x21FF\",desc:\"LEFT RIGHT OPEN-HEADED ARROW\"}]},{title:\"Math\",\"char\":\"&forall;\",list:[{\"char\":\"&forall;\",desc:\"FOR ALL\"},{\"char\":\"&part;\",desc:\"PARTIAL DIFFERENTIAL\"},{\"char\":\"&exist;\",desc:\"THERE EXISTS\"},{\"char\":\"&empty;\",desc:\"EMPTY SET\"},{\"char\":\"&nabla;\",desc:\"NABLA\"},{\"char\":\"&isin;\",desc:\"ELEMENT OF\"},{\"char\":\"&notin;\",desc:\"NOT AN ELEMENT OF\"},{\"char\":\"&ni;\",desc:\"CONTAINS AS MEMBER\"},{\"char\":\"&prod;\",desc:\"N-ARY PRODUCT\"},{\"char\":\"&sum;\",desc:\"N-ARY SUMMATION\"},{\"char\":\"&minus;\",desc:\"MINUS SIGN\"},{\"char\":\"&lowast;\",desc:\"ASTERISK OPERATOR\"},{\"char\":\"&radic;\",desc:\"SQUARE ROOT\"},{\"char\":\"&prop;\",desc:\"PROPORTIONAL TO\"},{\"char\":\"&infin;\",desc:\"INFINITY\"},{\"char\":\"&ang;\",desc:\"ANGLE\"},{\"char\":\"&and;\",desc:\"LOGICAL AND\"},{\"char\":\"&or;\",desc:\"LOGICAL OR\"},{\"char\":\"&cap;\",desc:\"INTERSECTION\"},{\"char\":\"&cup;\",desc:\"UNION\"},{\"char\":\"&int;\",desc:\"INTEGRAL\"},{\"char\":\"&there4;\",desc:\"THEREFORE\"},{\"char\":\"&sim;\",desc:\"TILDE OPERATOR\"},{\"char\":\"&cong;\",desc:\"APPROXIMATELY EQUAL TO\"},{\"char\":\"&asymp;\",desc:\"ALMOST EQUAL TO\"},{\"char\":\"&ne;\",desc:\"NOT EQUAL TO\"},{\"char\":\"&equiv;\",desc:\"IDENTICAL TO\"},{\"char\":\"&le;\",desc:\"LESS-THAN OR EQUAL TO\"},{\"char\":\"&ge;\",desc:\"GREATER-THAN OR EQUAL TO\"},{\"char\":\"&sub;\",desc:\"SUBSET OF\"},{\"char\":\"&sup;\",desc:\"SUPERSET OF\"},{\"char\":\"&nsub;\",desc:\"NOT A SUBSET OF\"},{\"char\":\"&sube;\",desc:\"SUBSET OF OR EQUAL TO\"},{\"char\":\"&supe;\",desc:\"SUPERSET OF OR EQUAL TO\"},{\"char\":\"&oplus;\",desc:\"CIRCLED PLUS\"},{\"char\":\"&otimes;\",desc:\"CIRCLED TIMES\"},{\"char\":\"&perp;\",desc:\"UP TACK\"}]},{title:\"Misc\",\"char\":\"&spades;\",list:[{\"char\":\"&spades;\",desc:\"BLACK SPADE SUIT\"},{\"char\":\"&clubs;\",desc:\"BLACK CLUB SUIT\"},{\"char\":\"&hearts;\",desc:\"BLACK HEART SUIT\"},{\"char\":\"&diams;\",desc:\"BLACK DIAMOND SUIT\"},{\"char\":\"&#x2669\",desc:\"QUARTER NOTE\"},{\"char\":\"&#x266A\",desc:\"EIGHTH NOTE\"},{\"char\":\"&#x266B\",desc:\"BEAMED EIGHTH NOTES\"},{\"char\":\"&#x266C\",desc:\"BEAMED SIXTEENTH NOTES\"},{\"char\":\"&#x266D\",desc:\"MUSIC FLAT SIGN\"},{\"char\":\"&#x266E\",desc:\"MUSIC NATURAL SIGN\"},{\"char\":\"&#x2600\",desc:\"BLACK SUN WITH RAYS\"},{\"char\":\"&#x2601\",desc:\"CLOUD\"},{\"char\":\"&#x2602\",desc:\"UMBRELLA\"},{\"char\":\"&#x2603\",desc:\"SNOWMAN\"},{\"char\":\"&#x2615\",desc:\"HOT BEVERAGE\"},{\"char\":\"&#x2618\",desc:\"SHAMROCK\"},{\"char\":\"&#x262F\",desc:\"YIN YANG\"},{\"char\":\"&#x2714\",desc:\"HEAVY CHECK MARK\"},{\"char\":\"&#x2716\",desc:\"HEAVY MULTIPLICATION X\"},{\"char\":\"&#x2744\",desc:\"SNOWFLAKE\"},{\"char\":\"&#x275B\",desc:\"HEAVY SINGLE TURNED COMMA QUOTATION MARK ORNAMENT\"},{\"char\":\"&#x275C\",desc:\"HEAVY SINGLE COMMA QUOTATION MARK ORNAMENT\"},{\"char\":\"&#x275D\",desc:\"HEAVY DOUBLE TURNED COMMA QUOTATION MARK ORNAMENT\"},{\"char\":\"&#x275E\",desc:\"HEAVY DOUBLE COMMA QUOTATION MARK ORNAMENT\"},{\"char\":\"&#x2764\",desc:\"HEAVY BLACK HEART\"}]}],specialCharButtons:[\"specialCharBack\",\"|\"]}),Object.assign(t.POPUP_TEMPLATES,{specialCharacters:\"[_BUTTONS_][_CUSTOM_LAYER_]\"}),t.PLUGINS.specialCharacters=function(W){var N=W.$,T=W.opts.specialCharactersSets[0],L=W.opts.specialCharactersSets,a=\"\";function I(){return'\\n        <div class=\"fr-buttons fr-tabs fr-tabs-scroll\">\\n          '.concat(function E(c,T){var R=\"\";return c.forEach(function(c){var E={elementClass:c.title===T.title?\"fr-active fr-active-tab\":\"\",title:c.title,dataParam1:c.title,desc:c[\"char\"]};R+='<button class=\"fr-command fr-btn fr-special-character-category '.concat(E.elementClass,'\" title=\"').concat(E.title,'\" data-cmd=\"setSpecialCharacterCategory\" data-param1=\"').concat(E.dataParam1,'\"><span>').concat(E.desc,\"</span></button>\")}),R}(L,T),'\\n        </div>\\n        <div class=\"fr-icon-container fr-sc-container\">\\n          ').concat(function R(c){var T=\"\";return c.list.forEach(function(c){var E={dataParam1:c[\"char\"],title:c.desc,splCharValue:c[\"char\"]};T+='<span class=\"fr-command fr-special-character fr-icon\" role=\"button\" \\n      data-cmd=\"insertSpecialCharacter\" data-param1=\"'.concat(E.dataParam1,'\" \\n      title=\"').concat(E.title,'\">').concat(E.splCharValue,\"</span>\")}),T}(T),\"\\n        </div>\")}return{setSpecialCharacterCategory:function R(E){T=L.filter(function(c){return c.title===E})[0],function c(){W.popups.get(\"specialCharacters\").html(a+I())}()},showSpecialCharsPopup:function e(){var c=W.popups.get(\"specialCharacters\");if(c||(c=function A(){W.opts.toolbarInline&&0<W.opts.specialCharButtons.length&&(a='<div class=\"fr-buttons fr-tabs\">'.concat(W.button.buildList(W.opts.specialCharButtons),\"</div>\"));var c={buttons:a,custom_layer:I()},E=W.popups.create(\"specialCharacters\",c);return function T(S){W.events.on(\"popup.tab\",function(c){var E=N(c.currentTarget);if(!W.popups.isVisible(\"specialCharacters\")||!E.is(\"span, a\"))return!0;var T,R,L,A=c.which;if(t.KEYCODE.TAB==A){if(E.is(\"span.fr-icon\")&&c.shiftKey||E.is(\"a\")&&!c.shiftKey){var a=S.find(\".fr-buttons\");T=!W.accessibility.focusToolbar(a,!!c.shiftKey)}if(!1!==T){var I=S.find(\"span.fr-icon:focus\").first().concat(S.findVisible(\" span.fr-icon\").first().concat(S.find(\"a\")));E.is(\"span.fr-icon\")&&(I=I.not(\"span.fr-icon:not(:focus)\")),R=I.index(E),R=c.shiftKey?((R-1)%I.length+I.length)%I.length:(R+1)%I.length,L=I.get(R),W.events.disableBlur(),L.focus(),T=!1}}else if(t.KEYCODE.ARROW_UP==A||t.KEYCODE.ARROW_DOWN==A||t.KEYCODE.ARROW_LEFT==A||t.KEYCODE.ARROW_RIGHT==A){if(E.is(\"span.fr-icon\")){var e=E.parent().find(\"span.fr-icon\");R=e.index(E);var r=11,s=Math.floor(e.length/r),h=R%r,d=Math.floor(R/r),C=d*r+h,O=s*r;t.KEYCODE.ARROW_UP==A?C=((C-r)%O+O)%O:t.KEYCODE.ARROW_DOWN==A?C=(C+r)%O:t.KEYCODE.ARROW_LEFT==A?C=((C-1)%O+O)%O:t.KEYCODE.ARROW_RIGHT==A&&(C=(C+1)%O),L=N(e.get(C)),W.events.disableBlur(),L.focus(),T=!1}}else t.KEYCODE.ENTER==A&&(E.is(\"a\")?E[0].click():W.button.exec(E),T=!1);return!1===T&&(c.preventDefault(),c.stopPropagation()),T},!0)}(E),E}()),!c.hasClass(\"fr-active\")){W.popups.refresh(\"specialCharacters\"),W.popups.setContainer(\"specialCharacters\",W.$tb);var E=W.$tb.find('.fr-command[data-cmd=\"specialCharacters\"]'),T=W.button.getPosition(E),R=T.left,L=T.top;W.popups.show(\"specialCharacters\",R,L,outerHeight)}},back:function c(){W.popups.hide(\"specialCharacters\"),W.toolbar.showInline()}}},t.DefineIcon(\"specialCharacters\",{NAME:\"dollar-sign\",SVG_KEY:\"symbols\"}),t.RegisterCommand(\"specialCharacters\",{title:\"Special Characters\",icon:\"specialCharacters\",undo:!1,focus:!1,popup:!0,refreshAfterCallback:!1,plugin:\"specialCharacters\",showOnMobile:!0,callback:function(){this.popups.isVisible(\"specialCharacters\")?(this.$el.find(\".fr-marker\")&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide(\"specialCharacters\")):this.specialCharacters.showSpecialCharsPopup()}}),t.RegisterCommand(\"insertSpecialCharacter\",{callback:function(c,E){this.undo.saveStep(),this.html.insert(E),this.undo.saveStep(),this.popups.hide(\"specialCharacters\")}}),t.RegisterCommand(\"setSpecialCharacterCategory\",{undo:!1,focus:!1,callback:function(c,E){this.specialCharacters.setSpecialCharacterCategory(E)}}),t.DefineIcon(\"specialCharBack\",{NAME:\"arrow-left\",SVG_KEY:\"back\"}),t.RegisterCommand(\"specialCharBack\",{title:\"Back\",undo:!1,focus:!1,back:!0,refreshAfterCallback:!1,callback:function(){this.specialCharacters.back()}})});","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?t(require(\"froala-editor\")):\"function\"==typeof define&&define.amd?define([\"froala-editor\"],t):t(e.FroalaEditor)}(this,function(me){\"use strict\";me=me&&me.hasOwnProperty(\"default\")?me[\"default\"]:me,Object.assign(me.POPUP_TEMPLATES,{\"table.insert\":\"[_BUTTONS_][_ROWS_COLUMNS_]\",\"table.edit\":\"[_BUTTONS_]\",\"table.colors\":\"[_BUTTONS_][_COLORS_][_CUSTOM_COLOR_]\"}),Object.assign(me.DEFAULTS,{tableInsertMaxSize:10,tableEditButtons:[\"tableHeader\",\"tableRemove\",\"tableRows\",\"tableColumns\",\"tableStyle\",\"-\",\"tableCells\",\"tableCellBackground\",\"tableCellVerticalAlign\",\"tableCellHorizontalAlign\",\"tableCellStyle\"],tableInsertButtons:[\"tableBack\",\"|\"],tableResizer:!0,tableDefaultWidth:\"100%\",tableResizerOffset:5,tableResizingLimit:30,tableColorsButtons:[\"tableBack\",\"|\"],tableColors:[\"#61BD6D\",\"#1ABC9C\",\"#54ACD2\",\"#2C82C9\",\"#9365B8\",\"#475577\",\"#CCCCCC\",\"#41A85F\",\"#00A885\",\"#3D8EB9\",\"#2969B0\",\"#553982\",\"#28324E\",\"#000000\",\"#F7DA64\",\"#FBA026\",\"#EB6B56\",\"#E25041\",\"#A38F84\",\"#EFEFEF\",\"#FFFFFF\",\"#FAC51C\",\"#F37934\",\"#D14841\",\"#B8312F\",\"#7C706B\",\"#D1D5D8\",\"REMOVE\"],tableColorsStep:7,tableCellStyles:{\"fr-highlighted\":\"Highlighted\",\"fr-thick\":\"Thick\"},tableStyles:{\"fr-dashed-borders\":\"Dashed Borders\",\"fr-alternate-rows\":\"Alternate Rows\"},tableCellMultipleStyles:!0,tableMultipleStyles:!0,tableInsertHelper:!0,tableInsertHelperOffset:15}),me.PLUGINS.table=function(R){var O,f,n,r,l,o,A,x=R.$;function h(){var e=$();if(e){var t=R.popups.get(\"table.edit\");if(t||(t=p()),t){R.popups.setContainer(\"table.edit\",R.$sc);var a=S(e),l=a.left+(a.right-a.left)/2,n=a.bottom;R.popups.show(\"table.edit\",l,n,a.bottom-a.top,!0),R.edit.isDisabled()&&(1<Z().length&&R.toolbar.disable(),R.$el.removeClass(\"fr-no-selection\"),R.edit.on(),R.button.bulkRefresh(),R.selection.setAtEnd(R.$el.find(\".fr-selected-cell\").last().get(0)),R.selection.restore())}}}function s(){var e=$();if(e){var t=R.popups.get(\"table.colors\");t||(t=function o(){var e=\"\";0<R.opts.tableColorsButtons.length&&(e='<div class=\"fr-buttons fr-tabs\">'.concat(R.button.buildList(R.opts.tableColorsButtons),\"</div>\"));var t=\"\";R.opts.colorsHEXInput&&(t='<div class=\"fr-color-hex-layer fr-table-colors-hex-layer fr-active fr-layer\" id=\"fr-table-colors-hex-layer-'.concat(R.id,'\"><div class=\"fr-input-line\"><input maxlength=\"7\" id=\"fr-table-colors-hex-layer-text-').concat(R.id,'\" type=\"text\" placeholder=\"').concat(R.language.translate(\"HEX Color\"),'\" tabIndex=\"1\" aria-required=\"true\"></div><div class=\"fr-action-buttons\"><button type=\"button\" class=\"fr-command fr-submit\" data-cmd=\"tableCellBackgroundCustomColor\" tabIndex=\"2\" role=\"button\">').concat(R.language.translate(\"OK\"),\"</button></div></div>\"));var a={buttons:e,colors:function n(){for(var e='<div class=\"fr-color-set fr-table-colors\">',t=0;t<R.opts.tableColors.length;t++)0!==t&&t%R.opts.tableColorsStep==0&&(e+=\"<br>\"),\"REMOVE\"!=R.opts.tableColors[t]?e+='<span class=\"fr-command\" style=\"background: '.concat(R.opts.tableColors[t],';\" tabIndex=\"-1\" role=\"button\" data-cmd=\"tableCellBackgroundColor\" data-param1=\"').concat(R.opts.tableColors[t],'\"><span class=\"fr-sr-only\">').concat(R.language.translate(\"Color\"),\" \").concat(R.opts.tableColors[t],\"&nbsp;&nbsp;&nbsp;</span></span>\"):e+='<span class=\"fr-command\" data-cmd=\"tableCellBackgroundColor\" tabIndex=\"-1\" role=\"button\" data-param1=\"REMOVE\" title=\"'.concat(R.language.translate(\"Clear Formatting\"),'\">').concat(R.icon.create(\"tableColorRemove\"),'<span class=\"fr-sr-only\">').concat(R.language.translate(\"Clear Formatting\"),\"</span></span>\");return e+=\"</div>\"}(),custom_color:t},l=R.popups.create(\"table.colors\",a);return R.events.$on(R.$wp,\"scroll.table-colors\",function(){R.popups.isVisible(\"table.colors\")&&s()}),function r(u){R.events.on(\"popup.tab\",function(e){var t=x(e.currentTarget);if(!R.popups.isVisible(\"table.colors\")||!t.is(\"span\"))return!0;var a=e.which,l=!0;if(me.KEYCODE.TAB==a){var n=u.find(\".fr-buttons\");l=!R.accessibility.focusToolbar(n,!!e.shiftKey)}else if(me.KEYCODE.ARROW_UP==a||me.KEYCODE.ARROW_DOWN==a||me.KEYCODE.ARROW_LEFT==a||me.KEYCODE.ARROW_RIGHT==a){var r=t.parent().find(\"span.fr-command\"),o=r.index(t),s=R.opts.colorsStep,i=Math.floor(r.length/s),f=o%s,c=Math.floor(o/s),d=c*s+f,p=i*s;me.KEYCODE.ARROW_UP==a?d=((d-s)%p+p)%p:me.KEYCODE.ARROW_DOWN==a?d=(d+s)%p:me.KEYCODE.ARROW_LEFT==a?d=((d-1)%p+p)%p:me.KEYCODE.ARROW_RIGHT==a&&(d=(d+1)%p);var h=x(r.get(d));R.events.disableBlur(),h.focus(),l=!1}else me.KEYCODE.ENTER==a&&(R.button.exec(t),l=!1);return!1===l&&(e.preventDefault(),e.stopPropagation()),l},!0)}(l),l}()),R.popups.setContainer(\"table.colors\",R.$sc);var a=S(e),l=(a.left+a.right)/2,n=a.bottom;!function r(){var e=R.popups.get(\"table.colors\"),t=R.$el.find(\".fr-selected-cell\").first(),a=R.helpers.RGBToHex(t.css(\"background-color\")),l=e.find(\".fr-table-colors-hex-layer input\");e.find(\".fr-selected-color\").removeClass(\"fr-selected-color fr-active-item\"),e.find('span[data-param1=\"'.concat(a,'\"]')).addClass(\"fr-selected-color fr-active-item\"),l.val(a).trigger(\"change\")}(),R.popups.show(\"table.colors\",l,n,a.bottom-a.top,!0)}}function i(){0===Z().length&&R.toolbar.enable()}function c(e){if(e)return R.popups.onHide(\"table.insert\",function(){R.popups.get(\"table.insert\").find('.fr-table-size .fr-select-table-size > span[data-row=\"1\"][data-col=\"1\"]').trigger(\"mouseover\")}),!0;var t=\"\";0<R.opts.tableInsertButtons.length&&(t='<div class=\"fr-buttons fr-tabs\">'.concat(R.button.buildList(R.opts.tableInsertButtons),\"</div>\"));var a={buttons:t,rows_columns:function r(){for(var e='<div class=\"fr-table-size\"><div class=\"fr-table-size-info\">1 &times; 1</div><div class=\"fr-select-table-size\">',t=1;t<=R.opts.tableInsertMaxSize;t++){for(var a=1;a<=R.opts.tableInsertMaxSize;a++){var l=\"inline-block\";2<t&&!R.helpers.isMobile()&&(l=\"none\");var n=\"fr-table-cell \";1==t&&1==a&&(n+=\" hover\"),e+='<span class=\"fr-command '.concat(n,'\" tabIndex=\"-1\" data-cmd=\"tableInsert\" data-row=\"').concat(t,'\" data-col=\"').concat(a,'\" data-param1=\"').concat(t,'\" data-param2=\"').concat(a,'\" style=\"display: ').concat(l,';\" role=\"button\"><span></span><span class=\"fr-sr-only\">').concat(t,\" &times; \").concat(a,\"&nbsp;&nbsp;&nbsp;</span></span>\")}e+='<div class=\"new-line\"></div>'}return e+=\"</div></div>\"}()},l=R.popups.create(\"table.insert\",a);return R.events.$on(l,\"mouseover\",\".fr-table-size .fr-select-table-size .fr-table-cell\",function(e){d(x(e.currentTarget))},!0),function n(e){R.events.$on(e,\"focus\",\"[tabIndex]\",function(e){var t=x(e.currentTarget);d(t)}),R.events.on(\"popup.tab\",function(e){var t=x(e.currentTarget);if(!R.popups.isVisible(\"table.insert\")||!t.is(\"span, a\"))return!0;var a,l=e.which;if(me.KEYCODE.ARROW_UP==l||me.KEYCODE.ARROW_DOWN==l||me.KEYCODE.ARROW_LEFT==l||me.KEYCODE.ARROW_RIGHT==l){if(t.is(\"span.fr-table-cell\")){var n=t.parent().find(\"span.fr-table-cell\"),r=n.index(t),o=R.opts.tableInsertMaxSize,s=r%o,i=Math.floor(r/o);me.KEYCODE.ARROW_UP==l?i=Math.max(0,i-1):me.KEYCODE.ARROW_DOWN==l?i=Math.min(R.opts.tableInsertMaxSize-1,i+1):me.KEYCODE.ARROW_LEFT==l?s=Math.max(0,s-1):me.KEYCODE.ARROW_RIGHT==l&&(s=Math.min(R.opts.tableInsertMaxSize-1,s+1));var f=i*o+s,c=x(n.get(f));d(c),R.events.disableBlur(),c.focus(),a=!1}}else me.KEYCODE.ENTER==l&&(R.button.exec(t),a=!1);return!1===a&&(e.preventDefault(),e.stopPropagation()),a},!0)}(l),l}function d(e){var t=e.data(\"row\");null!==t&&(t=parseInt(t));var a=e.data(\"col\");null!==a&&(a=parseInt(a));var l=e.parent();l.siblings(\".fr-table-size-info\").html(\"\".concat(t,\" &times; \").concat(a)),l.find(\"> span\").removeClass(\"hover fr-active-item\");for(var n=1;n<=R.opts.tableInsertMaxSize;n++)for(var r=0;r<=R.opts.tableInsertMaxSize;r++){var o=l.find('> span[data-row=\"'.concat(n,'\"][data-col=\"').concat(r,'\"]'));n<=t&&r<=a?o.addClass(\"hover\"):n<=t+1||n<=2&&!R.helpers.isMobile()?o.css(\"display\",\"inline-block\"):2<n&&!R.helpers.isMobile()&&o.css(\"display\",\"none\")}e.addClass(\"fr-active-item\")}function p(e){if(e)return R.popups.onHide(\"table.edit\",i),!0;if(0<R.opts.tableEditButtons.length){var t={buttons:'<div class=\"fr-buttons\">'.concat(R.button.buildList(R.opts.tableEditButtons),\"</div>\")},a=R.popups.create(\"table.edit\",t);return R.events.$on(R.$wp,\"scroll.table-edit\",function(){R.popups.isVisible(\"table.edit\")&&h()}),a}return!1}function u(){if(0<Z().length){var e=Q();R.selection.setBefore(e.get(0))||R.selection.setAfter(e.get(0)),R.selection.restore(),R.popups.hide(\"table.edit\"),e.remove(),R.toolbar.enable()}}function b(e){var t=Q();if(0<t.length){if(0<R.$el.find(\"th.fr-selected-cell\").length&&\"above\"==e)return;var a,l,n,r=$(),o=M(r);if(null==o)return;l=\"above\"==e?o.min_i:o.max_i;var s=\"<tr>\";for(a=0;a<r[l].length;a++){if(\"below\"==e&&l<r.length-1&&r[l][a]==r[l+1][a]||\"above\"==e&&0<l&&r[l][a]==r[l-1][a]){if(0===a||0<a&&r[l][a]!=r[l][a-1]){var i=x(r[l][a]);i.attr(\"rowspan\",parseInt(i.attr(\"rowspan\"),10)+1)}}else s+='<td style=\"'+x(r[l][a]).attr(\"style\")+'\" ><br></td>'}s+=\"</tr>\",n=0<R.$el.find(\"th.fr-selected-cell\").length&&\"below\"==e?x(t.find(\"tbody\").not(t.find(\"> table tbody\"))):x(t.find(\"tr\").not(t.find(\"> table tr\")).get(l)),\"below\"==e?\"TBODY\"==n.attr(\"tagName\")?n.prepend(s):n[0].parentNode&&n[0].insertAdjacentHTML(\"afterend\",s):\"above\"==e&&(n.before(s),R.popups.isVisible(\"table.edit\")&&h())}}function g(e,t,a){var l,n,r,o,s,i=0,f=$(a);if(e<(t=Math.min(t,f[0].length-1)))for(n=e;n<=t;n++)if(!(e<n&&f[0][n]==f[0][n-1])&&1<(o=Math.min(parseInt(f[0][n].getAttribute(\"colspan\"),10)||1,t-e+1))&&f[0][n]==f[0][n+1])for(i=o-1,l=1;l<f.length;l++)if(f[l][n]!=f[l-1][n]){for(r=n;r<n+o;r++)if(1<(s=parseInt(f[l][r].getAttribute(\"colspan\"),10)||1)&&f[l][r]==f[l][r+1])r+=i=Math.min(i,s-1);else if(!(i=Math.max(0,i-1)))break;if(!i)break}i&&v(f,i,\"colspan\",0,f.length-1,e,t)}function m(e,t,a){var l,n,r,o,s,i=0,f=$(a);if(e<(t=Math.min(t,f.length-1)))for(l=e;l<=t;l++)if(!(e<l&&f[l][0]==f[l-1][0])&&f[l][0]!==undefined&&1<(o=Math.min(parseInt(f[l][0].getAttribute(\"rowspan\"),10)||1,t-e+1))&&f[l][0]==f[l+1][0])for(i=o-1,n=1;n<f[0].length;n++)if(f[l][n]!=f[l][n-1]){for(r=l;r<l+o;r++)if(1<(s=parseInt(f[r][n].getAttribute(\"rowspan\"),10)||1)&&f[r][n]==f[r+1][n])r+=i=Math.min(i,s-1);else if(!(i=Math.max(0,i-1)))break;if(!i)break}i&&v(f,i,\"rowspan\",e,t,0,f[0].length-1)}function v(e,t,a,l,n,r,o){var s,i,f;for(s=l;s<=n;s++)for(i=r;i<=o;i++)l<s&&e[s][i]==e[s-1][i]||r<i&&e[s][i]==e[s][i-1]||e[s][i]!==undefined&&1<(f=parseInt(e[s][i].getAttribute(a),10)||1)&&(1<f-t?e[s][i].setAttribute(a,f-t):e[s][i].removeAttribute(a))}function w(e,t,a,l,n){m(e,t,n),g(a,l,n)}function t(e){var t=R.$el.find(\".fr-selected-cell\");\"REMOVE\"!=e?t.css(\"background-color\",R.helpers.HEXtoRGB(e)):t.css(\"background-color\",\"\"),h()}function $(e){var f=[];if(null==(e=e||null)&&0<Z().length&&(e=Q()),e){for(var t=e.find(\"tr:empty\"),a=t.length-1;0<=a;a--)x(t[a]).remove();e.findVisible(\"tr\").not(e.find(\"> table tr\")).each(function(s,e){var t=x(e),i=0;t.find(\"> th, > td\").each(function(e,t){for(var a=x(t),l=parseInt(a.attr(\"colspan\"),10)||1,n=parseInt(a.attr(\"rowspan\"),10)||1,r=s;r<s+n;r++)for(var o=i;o<i+l;o++)f[r]||(f[r]=[]),f[r][o]?i++:f[r][o]=t;i+=l})})}return f}function _(e,t){for(var a=0;a<t.length;a++)for(var l=0;l<t[a].length;l++)if(t[a][l]==e)return{row:a,col:l}}function y(e,t,a){for(var l=e+1,n=t+1;l<a.length;){if(a[l][t]!=a[e][t]){l--;break}l++}for(l==a.length&&l--;n<a[e].length;){if(a[e][n]!=a[e][t]){n--;break}n++}return n==a[e].length&&n--,{row:l,col:n}}function C(){R.el.querySelector(\".fr-cell-fixed\")&&R.el.querySelector(\".fr-cell-fixed\").classList.remove(\"fr-cell-fixed\"),R.el.querySelector(\".fr-cell-handler\")&&R.el.querySelector(\".fr-cell-handler\").classList.remove(\"fr-cell-handler\")}function E(){var e=R.$el.find(\".fr-selected-cell\");0<e.length&&e.each(function(){var e=x(this);e.removeClass(\"fr-selected-cell\"),\"\"===e.attr(\"class\")&&e.removeAttr(\"class\")}),C()}function D(){R.events.disableBlur(),R.selection.clear(),R.$el.addClass(\"fr-no-selection\"),R.$el.blur(),R.events.enableBlur()}function M(e){var t=R.$el.find(\".fr-selected-cell\");if(0<t.length){var a,l=e.length,n=0,r=e[0].length,o=0;for(a=0;a<t.length;a++){var s=_(t[a],e),i=y(s.row,s.col,e);l=Math.min(s.row,l),n=Math.max(i.row,n),r=Math.min(s.col,r),o=Math.max(i.col,o)}return{min_i:l,max_i:n,min_j:r,max_j:o}}return null}function S(e){var t=M(e);if(null!=t){var a=x(e[t.min_i][t.min_j]),l=x(e[t.min_i][t.max_j]),n=x(e[t.max_i][t.min_j]);return{left:a.length&&a.offset().left,right:l.length&&l.offset().left+l.outerWidth(),top:a.length&&a.offset().top,bottom:n.length&&n.offset().top+n.outerHeight()}}}function I(e,t){if(x(e).is(t))E(),x(e).addClass(\"fr-selected-cell\");else{D(),R.edit.off();var a=$(),l=_(e,a),n=_(t,a),r=function h(e,t,a,l,n){var r,o,s,i,f=e,c=t,d=a,p=l;for(r=f;r<=c;r++)(1<(parseInt(x(n[r][d]).attr(\"rowspan\"),10)||1)||1<(parseInt(x(n[r][d]).attr(\"colspan\"),10)||1))&&(i=y((s=_(n[r][d],n)).row,s.col,n),f=Math.min(s.row,f),c=Math.max(i.row,c),d=Math.min(s.col,d),p=Math.max(i.col,p)),(1<(parseInt(x(n[r][p]).attr(\"rowspan\"),10)||1)||1<(parseInt(x(n[r][p]).attr(\"colspan\"),10)||1))&&(i=y((s=_(n[r][p],n)).row,s.col,n),f=Math.min(s.row,f),c=Math.max(i.row,c),d=Math.min(s.col,d),p=Math.max(i.col,p));for(o=d;o<=p;o++)(1<(parseInt(x(n[f][o]).attr(\"rowspan\"),10)||1)||1<(parseInt(x(n[f][o]).attr(\"colspan\"),10)||1))&&(i=y((s=_(n[f][o],n)).row,s.col,n),f=Math.min(s.row,f),c=Math.max(i.row,c),d=Math.min(s.col,d),p=Math.max(i.col,p)),(1<(parseInt(x(n[c][o]).attr(\"rowspan\"),10)||1)||1<(parseInt(x(n[c][o]).attr(\"colspan\"),10)||1))&&(i=y((s=_(n[c][o],n)).row,s.col,n),f=Math.min(s.row,f),c=Math.max(i.row,c),d=Math.min(s.col,d),p=Math.max(i.col,p));return f==e&&c==t&&d==a&&p==l?{min_i:e,max_i:t,min_j:a,max_j:l}:h(f,c,d,p,n)}(Math.min(l.row,n.row),Math.max(l.row,n.row),Math.min(l.col,n.col),Math.max(l.col,n.col),a);E(),e.classList.add(\"fr-cell-fixed\"),t.classList.add(\"fr-cell-handler\");for(var o=r.min_i;o<=r.max_i;o++)for(var s=r.min_j;s<=r.max_j;s++)x(e).closest(\"table\").is(x(a[o][s]).closest(\"table\"))&&x(a[o][s]).addClass(\"fr-selected-cell\")}}function T(e){var t=null,a=x(e.target);return\"TD\"==e.target.tagName||\"TH\"==e.target.tagName?t=e.target:0<a.closest(\"th\",a.closest(\"thead\")[0]).length?t=a.closest(\"th\",a.closest(\"thead\")[0]).get(0):0<a.closest(\"td\",a.closest(\"tr\")[0]).length&&(t=a.closest(\"td\",a.closest(\"tr\")[0]).get(0)),-1===R.$el.html.toString().search(t)?null:t}function N(){E(),R.popups.hide(\"table.edit\")}function e(e){var t=T(e);if(\"false\"==x(t).parents(\"[contenteditable]\").not(\".fr-element\").not(\".fr-img-caption\").not(\"body\").first().attr(\"contenteditable\"))return!0;if(0<Z().length&&!t&&N(),!R.edit.isDisabled()||R.popups.isVisible(\"table.edit\"))if(1!=e.which||1==e.which&&R.helpers.isMac()&&e.ctrlKey)(3==e.which||1==e.which&&R.helpers.isMac()&&e.ctrlKey)&&t&&N();else if(r=!0,t){0<Z().length&&!e.shiftKey&&N(),e.stopPropagation(),R.events.trigger(\"image.hideResizer\"),R.events.trigger(\"video.hideResizer\"),n=!0;var a=t.tagName.toLowerCase();e.shiftKey&&0<R.$el.find(\"\".concat(a,\".fr-selected-cell\")).length?x(R.$el.find(\"\".concat(a,\".fr-selected-cell\")).closest(\"table\")).is(x(t).closest(\"table\"))?I(l,t):D():((R.keys.ctrlKey(e)||e.shiftKey)&&(1<Z().length||0===x(t).find(R.selection.element()).length&&!x(t).is(R.selection.element()))&&D(),l=t,0<R.opts.tableEditButtons.length&&I(l,l))}}function a(e){if(!R.edit.isDisabled()&&R.popups.areVisible())return!0;if(n||R.$tb.is(e.target)||R.$tb.is(x(e.target).closest(\".fr-toolbar\"))||(0<Z().length&&R.toolbar.enable(),E()),!(1!=e.which||1==e.which&&R.helpers.isMac()&&e.ctrlKey)){if(r=!1,n)n=!1,T(e)||1!=Z().length?0<Z().length?R.selection.isCollapsed()?h():(E(),R.edit.on()):Z().length||(R.$el.removeClass(\"fr-no-selection\"),R.edit.on()):E();if(A){A=!1,O.removeClass(\"fr-moving\"),R.$el.removeClass(\"fr-no-selection\"),R.edit.on();var t=parseFloat(O.css(\"left\"))+R.opts.tableResizerOffset+R.$wp.offset().left;R.opts.iframe&&(t-=R.$iframe.offset().left),O.data(\"release-position\",t),O.removeData(\"max-left\"),O.removeData(\"max-right\"),function C(){var e=O.data(\"origin\"),t=O.data(\"release-position\");if(e!==t){var a=O.data(\"first\"),l=O.data(\"second\"),n=O.data(\"table\"),r=n.outerWidth();if(R.undo.canDo()||R.undo.saveStep(),null!=a&&null!=l){var o,s,i,f=$(n),c=[],d=[],p=[],h=[];for(o=0;o<f.length;o++)s=x(f[o][a]),i=x(f[o][l]),c[o]=s.outerWidth(),p[o]=i.outerWidth(),d[o]=c[o]/r*100,h[o]=p[o]/r*100;for(o=0;o<f.length;o++)if(s=x(f[o][a]),i=x(f[o][l]),f[o][a]!=f[o][l]){var u=(d[o]*(c[o]+t-e)/c[o]).toFixed(4);s.css(\"width\",u+\"%\"),i.css(\"width\",(d[o]+h[o]-u).toFixed(4)+\"%\")}}else{var b,g=n.parent(),m=r/g.width()*100,v=(parseInt(n.css(\"margin-left\"),10)||0)/g.width()*100,w=(parseInt(n.css(\"margin-right\"),10)||0)/g.width()*100;\"rtl\"==R.opts.direction&&0===l||\"rtl\"!=R.opts.direction&&0!==l?(b=(r+t-e)/r*m,n.css(\"margin-right\",\"calc(100% - \".concat(Math.round(b).toFixed(4),\"% - \").concat(Math.round(v).toFixed(4),\"%)\"))):(\"rtl\"==R.opts.direction&&0!==l||\"rtl\"!=R.opts.direction&&0===l)&&(b=(r-t+e)/r*m,n.css(\"margin-left\",\"calc(100% - \".concat(Math.round(b).toFixed(4),\"% - \").concat(Math.round(w).toFixed(4),\"%)\"))),n.css(\"width\",\"\".concat(Math.round(b).toFixed(4),\"%\"))}R.selection.restore(),R.undo.saveStep(),R.events.trigger(\"table.resized\",[n.get(0)])}O.removeData(\"origin\"),O.removeData(\"release-position\"),O.removeData(\"first\"),O.removeData(\"second\"),O.removeData(\"table\")}(),Y()}}}function K(e){if(!(x(e.currentTarget).is(x(e.originalEvent.relatedTarget))||e.currentTarget.contains(e.originalEvent.relatedTarget)||e.originalEvent.relatedTarget&&e.originalEvent.relatedTarget.contains(e.currentTarget))&&(R.events.$on(x(\"input\"),\"click\",ee),!0===n&&0<R.opts.tableEditButtons.length)){if(x(e.currentTarget).closest(\"table\").is(Q())){if(\"TD\"==e.currentTarget.tagName&&0===R.$el.find(\"th.fr-selected-cell\").length)return void I(l,e.currentTarget);if(\"TH\"==e.currentTarget.tagName&&0===R.$el.find(\"td.fr-selected-cell\").length)return void I(l,e.currentTarget)}D()}}function B(e,t,a,l){for(var n,r=t;r!=R.el&&\"TD\"!=r.tagName&&\"TH\"!=r.tagName&&(\"up\"==l?n=r.previousElementSibling:\"down\"==l&&(n=r.nextElementSibling),!n);)r=r.parentNode;\"TD\"==r.tagName||\"TH\"==r.tagName?function o(e,t){for(var a=e;a&&\"TABLE\"!=a.tagName&&a.parentNode!=R.el;)a=a.parentNode;if(a&&\"TABLE\"==a.tagName){var l=$(x(a));\"up\"==t?z(_(e,l),a,l):\"down\"==t&&k(_(e,l),a,l)}}(r,l):n&&(\"up\"==l&&R.selection.setAtEnd(n),\"down\"==l&&R.selection.setAtStart(n))}function z(e,t,a){0<x(\".tribute-container\").length&&\"none\"!=x(\".tribute-container\").css(\"display\")||(0<e.row?R.selection.setAtEnd(a[e.row-1][e.col]):B(0,t,0,\"up\"))}function k(e,t,a){if(!(0<x(\".tribute-container\").length&&\"none\"!=x(\".tribute-container\").css(\"display\"))){var l=parseInt(a[e.row][e.col].getAttribute(\"rowspan\"),10)||1;e.row<a.length-l?R.selection.setAtStart(a[e.row+l][e.col]):B(0,t,0,\"down\")}}function Y(){O&&(O.find(\"div\").css(\"opacity\",0),O.css(\"top\",0),O.css(\"left\",0),O.css(\"height\",0),O.find(\"div\").css(\"height\",0),O.hide())}function W(){f&&f.removeClass(\"fr-visible\").css(\"left\",\"-9999px\")}function L(e,t){var a=x(t),l=a.closest(\"table\"),n=l.parent();if(t&&\"TD\"!=t.tagName&&\"TH\"!=t.tagName&&(0<a.closest(\"td\").length?t=a.closest(\"td\"):0<a.closest(\"th\").length&&(t=a.closest(\"th\"))),!t||\"TD\"!=t.tagName&&\"TH\"!=t.tagName)O&&a.get(0)!=O.get(0)&&a.parent().get(0)!=O.get(0)&&R.core.sameInstance(O)&&Y();else{if(a=x(t),0===R.$el.find(a).length)return!1;var r=a.offset().left-1,o=r+a.outerWidth();if(Math.abs(e.pageX-r)<=R.opts.tableResizerOffset||Math.abs(o-e.pageX)<=R.opts.tableResizerOffset){var s,i,f,c,d,p=$(l),h=_(t,p),u=y(h.row,h.col,p),b=l.offset().top,g=l.outerHeight()-1;\"rtl\"!=R.opts.direction?e.pageX-r<=R.opts.tableResizerOffset?(f=r,0<h.col?(c=r-j(h.col-1,p)+R.opts.tableResizingLimit,d=r+j(h.col,p)-R.opts.tableResizingLimit,s=h.col-1,i=h.col):(s=null,i=0,c=l.offset().left-1-parseInt(l.css(\"margin-left\"),10),d=l.offset().left-1+l.width()-p[0].length*R.opts.tableResizingLimit)):o-e.pageX<=R.opts.tableResizerOffset&&(f=o,u.col<p[u.row].length&&p[u.row][u.col+1]?(c=o-j(u.col,p)+R.opts.tableResizingLimit,d=o+j(u.col+1,p)-R.opts.tableResizingLimit,s=u.col,i=u.col+1):(s=u.col,i=null,c=l.offset().left-1+p[0].length*R.opts.tableResizingLimit,d=n.offset().left-1+n.width()+parseFloat(n.css(\"padding-left\")))):o-e.pageX<=R.opts.tableResizerOffset?(f=o,0<h.col?(c=o-j(h.col,p)+R.opts.tableResizingLimit,d=o+j(h.col-1,p)-R.opts.tableResizingLimit,s=h.col,i=h.col-1):(s=null,i=0,c=l.offset().left+p[0].length*R.opts.tableResizingLimit,d=n.offset().left-1+n.width()+parseFloat(n.css(\"padding-left\")))):e.pageX-r<=R.opts.tableResizerOffset&&(f=r,u.col<p[u.row].length&&p[u.row][u.col+1]?(c=r-j(u.col+1,p)+R.opts.tableResizingLimit,d=r+j(u.col,p)-R.opts.tableResizingLimit,s=u.col+1,i=u.col):(s=u.col,i=null,c=n.offset().left+parseFloat(n.css(\"padding-left\")),d=l.offset().left-1+l.width()-p[0].length*R.opts.tableResizingLimit)),O||function E(){R.shared.$table_resizer||(R.shared.$table_resizer=x(document.createElement(\"div\")).attr(\"class\",\"fr-table-resizer\").html(\"<div></div>\")),O=R.shared.$table_resizer,R.events.$on(O,\"mousedown\",function(e){return!R.core.sameInstance(O)||(0<Z().length&&N(),1==e.which?(R.selection.save(),A=!0,O.addClass(\"fr-moving\"),D(),R.edit.off(),O.find(\"div\").css(\"opacity\",1),!1):void 0)}),R.events.$on(O,\"mousemove\",function(e){if(!R.core.sameInstance(O))return!0;A&&(R.opts.iframe&&(e.pageX-=R.$iframe.offset().left),G(e))}),R.events.on(\"shared.destroy\",function(){O.html(\"\").removeData().remove(),O=null},!0),R.events.on(\"destroy\",function(){R.$el.find(\".fr-selected-cell\").removeClass(\"fr-selected-cell\"),x(\"body\").first().append(O.hide())},!0)}(),O.data(\"table\",l),O.data(\"first\",s),O.data(\"second\",i),O.data(\"instance\",R),R.$wp.append(O);var m=f-R.win.pageXOffset-R.opts.tableResizerOffset-R.$wp.offset().left,v=b-R.$wp.offset().top+R.$wp.scrollTop();if(R.opts.iframe){var w=R.helpers.getPX(R.$wp.find(\".fr-iframe\").css(\"padding-top\")),C=R.helpers.getPX(R.$wp.find(\".fr-iframe\").css(\"padding-left\"));m+=R.$iframe.offset().left+C,v+=R.$iframe.offset().top+w,c+=R.$iframe.offset().left,d+=R.$iframe.offset().left}O.data(\"max-left\",c),O.data(\"max-right\",d),O.data(\"origin\",f-R.win.pageXOffset),O.css(\"top\",v),O.css(\"left\",m),O.css(\"height\",g),O.find(\"div\").css(\"height\",g),O.css(\"padding-left\",R.opts.tableResizerOffset),O.css(\"padding-right\",R.opts.tableResizerOffset),O.show()}else R.core.sameInstance(O)&&Y()}}function F(e,t){if(R.$box.find(\".fr-line-breaker\").isVisible())return!1;f||q(),R.$box.append(f),f.data(\"instance\",R);var a,l=x(t).find(\"tr\").first(),n=e.pageX,r=0,o=0;if(R.opts.iframe){var s=R.helpers.getPX(R.$wp.find(\".fr-iframe\").css(\"padding-top\")),i=R.helpers.getPX(R.$wp.find(\".fr-iframe\").css(\"padding-left\"));r+=R.$iframe.offset().left-R.helpers.scrollLeft()+i,o+=R.$iframe.offset().top-R.helpers.scrollTop()+s}l.find(\"th, td\").each(function(){var e=x(this);return e.offset().left<=n&&n<e.offset().left+e.outerWidth()/2?(a=parseInt(f.find(\"a\").css(\"width\"),10),f.css(\"top\",o+e.offset().top-R.$box.offset().top-a-5),f.css(\"left\",r+e.offset().left-R.$box.offset().left-a/2),f.data(\"selected-cell\",e),f.data(\"position\",\"before\"),f.addClass(\"fr-visible\"),!1):e.offset().left+e.outerWidth()/2<=n&&n<e.offset().left+e.outerWidth()?(a=parseInt(f.find(\"a\").css(\"width\"),10),f.css(\"top\",o+e.offset().top-R.$box.offset().top-a-5),f.css(\"left\",r+e.offset().left-R.$box.offset().left+e.outerWidth()-a/2),f.data(\"selected-cell\",e),f.data(\"position\",\"after\"),f.addClass(\"fr-visible\"),!1):void 0})}function H(e,t){if(R.$box.find(\".fr-line-breaker\").isVisible())return!1;f||q(),R.$box.append(f),f.data(\"instance\",R);var a,l=x(t),n=e.pageY,r=0,o=0;if(R.opts.iframe){var s=R.helpers.getPX(R.$wp.find(\".fr-iframe\").css(\"padding-top\")),i=R.helpers.getPX(R.$wp.find(\".fr-iframe\").css(\"padding-left\"));r+=R.$iframe.offset().left-R.helpers.scrollLeft()+i,o+=R.$iframe.offset().top-R.helpers.scrollTop()+s}l.find(\"tr\").each(function(){var e=x(this);a=parseInt(f.find(\"a\").css(\"width\"),10);var t=r+e.offset().left-R.$box.offset().left;return t=0!==R.$box.offset().left?t-a-5:t+a-5,e.offset().top<=n&&n<e.offset().top+e.outerHeight()/2?(f.css(\"top\",o+e.offset().top-R.$box.offset().top-a/2),f.css(\"left\",t),f.data(\"selected-cell\",e.find(\"td\").first()),f.data(\"position\",\"above\"),f.addClass(\"fr-visible\"),!1):e.offset().top+e.outerHeight()/2<=n&&n<e.offset().top+e.outerHeight()?(f.css(\"top\",o+e.offset().top-R.$box.offset().top+e.outerHeight()-a/2),f.css(\"left\",t),f.data(\"selected-cell\",e.find(\"td\").first()),f.data(\"position\",\"below\"),f.addClass(\"fr-visible\"),!1):void 0})}function V(e){o=null;var t=R.doc.elementFromPoint(e.pageX-R.win.pageXOffset,e.pageY-R.win.pageYOffset);R.opts.tableResizer&&(!R.popups.areVisible()||R.popups.areVisible()&&R.popups.isVisible(\"table.edit\"))&&L(e,t),!R.opts.tableInsertHelper||R.popups.areVisible()||R.$tb.hasClass(\"fr-inline\")&&R.$tb.isVisible()||function r(e,t){if(0===Z().length){var a,l,n;if(t&&(\"HTML\"==t.tagName||\"BODY\"==t.tagName||R.node.isElement(t)))for(a=1;a<=R.opts.tableInsertHelperOffset;a++){if(l=R.doc.elementFromPoint(e.pageX-R.win.pageXOffset,e.pageY-R.win.pageYOffset+a),x(l).hasClass(\"fr-tooltip\"))return!0;if(l&&(\"TH\"==l.tagName||\"TD\"==l.tagName||\"TABLE\"==l.tagName)&&(x(l).parents(\".fr-wrapper\").length||R.opts.iframe)&&\"false\"!=x(l).closest(\"table\").attr(\"contenteditable\"))return F(e,x(l).closest(\"table\")),!0;if(n=R.doc.elementFromPoint(e.pageX-R.win.pageXOffset+a,e.pageY-R.win.pageYOffset),x(n).hasClass(\"fr-tooltip\"))return!0;if(n&&(\"TH\"==n.tagName||\"TD\"==n.tagName||\"TABLE\"==n.tagName)&&(x(n).parents(\".fr-wrapper\").length||R.opts.iframe)&&\"false\"!=x(n).closest(\"table\").attr(\"contenteditable\"))return H(e,x(n).closest(\"table\")),!0}R.core.sameInstance(f)&&W()}}(e,t)}function P(){if(A){var e=O.data(\"table\").offset().top-R.win.pageYOffset;if(R.opts.iframe){var t=R.helpers.getPX(R.$wp.find(\".fr-iframe\").css(\"padding-top\"));e+=R.$iframe.offset().top-R.helpers.scrollTop()+t}O.css(\"top\",e)}}function j(e,t){var a,l=x(t[0][e]).outerWidth();for(a=1;a<t.length;a++)l=Math.min(l,x(t[a][e]).outerWidth());return l}function X(e,t,a){var l,n=0;for(l=e;l<=t;l++)n+=j(l,a);return n}function G(e){if(1<Z().length&&r&&D(),!1===r&&!1===n&&!1===A)o&&clearTimeout(o),R.edit.isDisabled()&&!R.popups.isVisible(\"table.edit\")||(o=setTimeout(V,30,e));else if(A){var t=e.pageX-R.win.pageXOffset;R.opts.iframe&&(t+=R.$iframe.offset().left);var a=O.data(\"max-left\"),l=O.data(\"max-right\");a<=t&&t<=l?O.css(\"left\",t-R.opts.tableResizerOffset-R.$wp.offset().left):t<a&&parseFloat(O.css(\"left\"),10)>a-R.opts.tableResizerOffset?O.css(\"left\",a-R.opts.tableResizerOffset-R.$wp.offset().left):l<t&&parseFloat(O.css(\"left\"),10)<l-R.opts.tableResizerOffset&&O.css(\"left\",l-R.opts.tableResizerOffset-R.$wp.offset().left)}else r&&W()}function U(e){R.node.isEmpty(e.get(0))?e.prepend(me.MARKERS):e.prepend(me.START_MARKER).append(me.END_MARKER)}function q(){R.shared.$ti_helper||(R.shared.$ti_helper=x(document.createElement(\"div\")).attr(\"class\",\"fr-insert-helper\").html('<a class=\"fr-floating-btn\" role=\"button\" tabIndex=\"-1\" title=\"'.concat(R.language.translate(\"Insert\"),'\"><svg viewBox=\"0 0 32 32\" xmlns=\"http://www.w3.org/2000/svg\"><path d=\"M22,16.75 L16.75,16.75 L16.75,22 L15.25,22.000 L15.25,16.75 L10,16.75 L10,15.25 L15.25,15.25 L15.25,10 L16.75,10 L16.75,15.25 L22,15.25 L22,16.75 Z\"/></svg></a>')),R.events.bindClick(R.shared.$ti_helper,\"a\",function(){var e=f.data(\"selected-cell\"),t=f.data(\"position\"),a=f.data(\"instance\")||R;\"before\"==t?(R.undo.saveStep(),e.addClass(\"fr-selected-cell\"),a.table.insertColumn(t),e.removeClass(\"fr-selected-cell\"),R.undo.saveStep()):\"after\"==t?(R.undo.saveStep(),e.addClass(\"fr-selected-cell\"),a.table.insertColumn(t),e.removeClass(\"fr-selected-cell\"),R.undo.saveStep()):\"above\"==t?(R.undo.saveStep(),e.addClass(\"fr-selected-cell\"),a.table.insertRow(t),e.removeClass(\"fr-selected-cell\"),R.undo.saveStep()):\"below\"==t&&(R.undo.saveStep(),e.addClass(\"fr-selected-cell\"),a.table.insertRow(t),e.removeClass(\"fr-selected-cell\"),R.undo.saveStep()),W()}),R.events.on(\"shared.destroy\",function(){R.shared.$ti_helper.html(\"\").removeData().remove(),R.shared.$ti_helper=null},!0),R.events.$on(R.shared.$ti_helper,\"mousemove\",function(e){e.stopPropagation()},!0),R.events.$on(x(R.o_win),\"scroll\",function(){W()},!0),R.events.$on(R.$wp,\"scroll\",function(){W()},!0)),f=R.shared.$ti_helper,R.events.on(\"destroy\",function(){f=null}),R.tooltip.bind(R.$box,\".fr-insert-helper > a.fr-floating-btn\")}function J(){l=null,clearTimeout(o)}function Z(){return R.el.querySelectorAll(\".fr-selected-cell\")}function Q(){var e=Z();if(e.length){for(var t=e[0];t&&\"TABLE\"!=t.tagName&&t.parentNode!=R.el;)t=t.parentNode;return t&&\"TABLE\"==t.tagName?x(t):x([])}return x([])}function ee(e){n=!1}return{_init:function te(){if(!R.$wp)return!1;if(R.helpers.isMobile()&&(R.events.$on(R.$el,\"mousedown\",e),R.events.$on(R.$win,\"mouseup\",a)),!R.helpers.isMobile()){A=n=r=!1,R.events.$on(R.$el,\"mousedown\",e),R.popups.onShow(\"image.edit\",function(){E(),n=r=!1}),R.popups.onShow(\"link.edit\",function(){E(),n=r=!1}),R.events.on(\"commands.mousedown\",function(e){0<e.parents(\".fr-toolbar\").length&&E()}),R.events.$on(R.$el,\"mouseover\",\"th, td\",K),R.events.$on(R.$win,\"mouseup\",a),R.opts.iframe&&R.events.$on(x(R.o_win),\"mouseup\",a),R.events.$on(R.$win,\"mousemove\",G),R.events.$on(x(R.o_win),\"scroll\",P),R.events.on(\"contentChanged\",function(){0<Z().length&&(h(),R.$el.find(\"img\").on(\"load.selected-cells\",function(){x(this).off(\"load.selected-cells\"),0<Z().length&&h()}))}),R.events.$on(x(R.o_win),\"resize\",function(){E()}),R.events.on(\"toolbar.esc\",function(){if(0<Z().length)return R.events.disableBlur(),R.events.focus(),!1},!0),R.events.$on(x(R.o_win),\"keydown\",function(){r&&n&&(n=r=!1,R.$el.removeClass(\"fr-no-selection\"),R.edit.on(),R.selection.setAtEnd(R.$el.find(\".fr-selected-cell\").last().get(0)),R.selection.restore(),E())}),R.events.$on(R.$el,\"keydown\",function(e){e.shiftKey?!1===function o(e){var t=Z();if(null!=t&&0<t.length){var a,l=$(),n=e.which,r=_(1==t.length?a=t[0]:(a=R.el.querySelector(\".fr-cell-fixed\"),R.el.querySelector(\".fr-cell-handler\")),l);if(me.KEYCODE.ARROW_RIGHT==n){if(r.col<l[0].length-1)return I(a,l[r.row][r.col+1]),!1}else if(me.KEYCODE.ARROW_DOWN==n){if(r.row<l.length-1)return I(a,l[r.row+1][r.col]),!1}else if(me.KEYCODE.ARROW_LEFT==n){if(0<r.col)return I(a,l[r.row][r.col-1]),!1}else if(me.KEYCODE.ARROW_UP==n&&0<r.row)return I(a,l[r.row-1][r.col]),!1}}(e)&&setTimeout(function(){h()},0):function s(e){var t=e.which,a=R.selection.blocks();if(a.length&&(\"TD\"==(a=a[0]).tagName||\"TH\"==a.tagName)){for(var l=a;l&&\"TABLE\"!=l.tagName&&l.parentNode!=R.el;)l=l.parentNode;if(l&&\"TABLE\"==l.tagName&&(me.KEYCODE.ARROW_LEFT==t||me.KEYCODE.ARROW_UP==t||me.KEYCODE.ARROW_RIGHT==t||me.KEYCODE.ARROW_DOWN==t)&&(0<Z().length&&N(),R.browser.webkit&&(me.KEYCODE.ARROW_UP==t||me.KEYCODE.ARROW_DOWN==t))){var n=R.selection.ranges(0).startContainer;if(n.nodeType==Node.TEXT_NODE&&(me.KEYCODE.ARROW_UP==t&&(n.previousSibling&&\"BR\"!==n.previousSibling.tagName||n.previousSibling&&\"BR\"===n.previousSibling.tagName&&n.previousSibling.previousSibling)||me.KEYCODE.ARROW_DOWN==t&&(n.nextSibling&&\"BR\"!==n.nextSibling.tagName||n.nextSibling&&\"BR\"===n.nextSibling.tagName&&n.nextSibling.nextSibling)))return;e.preventDefault(),e.stopPropagation();var r=$(x(l)),o=_(a,r);return me.KEYCODE.ARROW_UP==t?z(o,l,r):me.KEYCODE.ARROW_DOWN==t&&k(o,l,r),R.selection.restore(),!1}}}(e)}),R.events.on(\"keydown\",function(e){if(!1===function l(e){if(e.which==me.KEYCODE.TAB){var t;if(0<Z().length)t=R.$el.find(\".fr-selected-cell\").last();else{var a=R.selection.element();\"TD\"==a.tagName||\"TH\"==a.tagName?t=x(a):a!=R.el&&(0<x(a).parentsUntil(R.$el,\"td\").length?t=x(a).parents(\"td\").first():0<x(a).parentsUntil(R.$el,\"th\").length&&(t=x(a).parents(\"th\").first()))}if(t)return e.preventDefault(),!!(0===R.selection.get().focusOffset&&0<x(R.selection.element()).parentsUntil(R.$el,\"ol, ul\").length&&(0<x(R.selection.element()).closest(\"li\").prev().length||x(R.selection.element()).is(\"li\")&&0<x(R.selection.element()).prev().length))||(N(),e.shiftKey?0<t.prev().length?U(t.prev()):0<t.closest(\"tr\").length&&0<t.closest(\"tr\").prev().length?U(t.closest(\"tr\").prev().find(\"td\").last()):0<t.closest(\"tbody\").length&&0<t.closest(\"table\").find(\"thead tr\").length&&U(t.closest(\"table\").find(\"thead tr th\").last()):0<t.next().length?U(t.next()):0<t.closest(\"tr\").length&&0<t.closest(\"tr\").next().length?U(t.closest(\"tr\").next().find(\"td\").first()):0<t.closest(\"thead\").length&&0<t.closest(\"table\").find(\"tbody tr\").length?U(t.closest(\"table\").find(\"tbody tr td\").first()):(t.addClass(\"fr-selected-cell\"),b(\"below\"),E(),U(t.closest(\"tr\").next().find(\"td\").first())),R.selection.restore(),!1)}}(e))return!1;var t=Z();if(0<t.length){if(0<t.length&&R.keys.ctrlKey(e)&&e.which==me.KEYCODE.A)return E(),R.popups.isVisible(\"table.edit\")&&R.popups.hide(\"table.edit\"),t=[],!0;if(e.which==me.KEYCODE.ESC&&R.popups.isVisible(\"table.edit\"))return E(),R.popups.hide(\"table.edit\"),e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation(),!(t=[]);if(1<t.length&&(e.which==me.KEYCODE.BACKSPACE||e.which==me.KEYCODE.DELETE)){R.undo.saveStep();for(var a=0;a<t.length;a++)x(t[a]).html(\"<br>\"),a==t.length-1&&x(t[a]).prepend(me.MARKERS);return R.selection.restore(),R.undo.saveStep(),!(t=[])}if(1<t.length&&e.which!=me.KEYCODE.F10&&!R.keys.isBrowserAction(e))return e.preventDefault(),!(t=[])}else if(!(t=[])===function n(e){if(e.altKey&&e.which==me.KEYCODE.SPACE){var t,a=R.selection.element();if(\"TD\"==a.tagName||\"TH\"==a.tagName?t=a:0<x(a).closest(\"td\").length?t=x(a).closest(\"td\").get(0):0<x(a).closest(\"th\").length&&(t=x(a).closest(\"th\").get(0)),t)return e.preventDefault(),I(t,t),h(),!1}}(e))return!1},!0);var t=[];R.events.on(\"html.beforeGet\",function(){t=Z();for(var e=0;e<t.length;e++)t[e].className=(t[e].className||\"\").replace(/fr-selected-cell/g,\"\")}),R.events.on(\"html.afterGet\",function(){for(var e=0;e<t.length;e++)t[e].className=(t[e].className?t[e].className.trim()+\" \":\"\")+\"fr-selected-cell\";t=[]}),c(!0),p(!0)}R.events.on(\"destroy\",J)},insert:function ae(e,t){var a,l,n=\"<table \"+(R.opts.tableDefaultWidth?'style=\"width: '+R.opts.tableDefaultWidth+';\" ':\"\")+'class=\"fr-inserted-table\"><tbody>',r=100/t;for(a=0;a<e;a++){for(n+=\"<tr>\",l=0;l<t;l++)n+=\"<td\"+(R.opts.tableDefaultWidth?' style=\"width: '+r.toFixed(4)+'%;\"':\"\")+\">\",0===a&&0===l&&(n+=me.MARKERS),n+=\"<br></td>\";n+=\"</tr>\"}n+=\"</tbody></table>\",R.html.insert(n),R.selection.restore();var o=R.$el.find(\".fr-inserted-table\");o.removeClass(\"fr-inserted-table\"),R.events.trigger(\"table.inserted\",[o.get(0)])},remove:u,insertRow:b,deleteRow:function le(){var e=Q();if(0<e.length){var t,a,l,n=$(),r=M(n);if(null==r)return;if(0===r.min_i&&r.max_i==n.length-1)u();else{for(t=r.max_i;t>=r.min_i;t--){for(l=x(e.find(\"tr\").not(e.find(\"> table tr\")).get(t)),a=0;a<n[t].length;a++)if(0===a||n[t][a]!=n[t][a-1]){var o=x(n[t][a]);if(1<parseInt(o.attr(\"rowspan\"),10)){var s=parseInt(o.attr(\"rowspan\"),10)-1;1==s?o.removeAttr(\"rowspan\"):o.attr(\"rowspan\",s)}if(t<n.length-1&&n[t][a]==n[t+1][a]&&(0===t||n[t][a]!=n[t-1][a])){for(var i=n[t][a],f=a;0<f&&n[t][f]==n[t][f-1];)f--;0===f?x(e.find(\"tr\").not(e.find(\"> table tr\")).get(t+1)).prepend(i):x(n[t+1][f-1])[0].parentNode&&x(n[t+1][f-1])[0].insertAdjacentElement(\"afterend\",i)}}var c=l.parent();l.remove(),0===c.find(\"tr\").length&&c.remove(),n=$(e)}w(0,n.length-1,0,n[0].length-1,e),0<r.min_i?R.selection.setAtEnd(n[r.min_i-1][0]):R.selection.setAtEnd(n[0][0]),R.selection.restore(),R.popups.hide(\"table.edit\")}}},insertColumn:function ne(i){var e=Q();if(0<e.length){var f,c=$(),t=M(c);f=\"before\"==i?t.min_j:t.max_j;var a,d=100/c[0].length,p=100/(c[0].length+1);e.find(\"th, td\").each(function(){(a=x(this)).data(\"old-width\",a.outerWidth()/e.outerWidth()*100)}),e.find(\"tr\").not(e.find(\"> table tr\")).each(function(e){for(var t,a=x(this),l=0,n=0;l-1<f;){if(!(t=a.find(\"> th, > td\").get(n))){t=null;break}t==c[e][l]?(l+=parseInt(x(t).attr(\"colspan\"),10)||1,n++):(l+=parseInt(x(c[e][l]).attr(\"colspan\"),10)||1,\"after\"==i&&(t=0===n?-1:a.find(\"> th, > td\").get(n-1)))}var r,o=x(t);if(\"after\"==i&&f<l-1||\"before\"==i&&0<f&&c[e][f]==c[e][f-1]){if(0===e||0<e&&c[e][f]!=c[e-1][f]){var s=parseInt(o.attr(\"colspan\"),10)+1;o.attr(\"colspan\",s),o.css(\"width\",(o.data(\"old-width\")*p/d+p).toFixed(4)+\"%\"),o.removeData(\"old-width\")}}else r=0<a.find(\"th\").length?'<th style=\"width: '.concat(p.toFixed(4),'%;\"><br></th>'):'<td style=\"width: '.concat(p.toFixed(4),'%;\"><br></td>'),-1==t?a.prepend(r):null==t?a.append(r):\"before\"==i?o.before(r):\"after\"==i&&o[0].parentNode&&o[0].insertAdjacentHTML(\"afterend\",r)}),e.find(\"th, td\").each(function(){(a=x(this)).data(\"old-width\")&&(a.css(\"width\",(a.data(\"old-width\")*p/d).toFixed(4)+\"%\"),a.removeData(\"old-width\"))}),R.popups.isVisible(\"table.edit\")&&h()}},deleteColumn:function re(){var e=Q();if(0<e.length){var t,a,l,n=$(),r=M(n);if(null==r)return;if(0===r.min_j&&r.max_j==n[0].length-1)u();else{var o=0;for(t=0;t<n.length;t++)for(a=0;a<n[0].length;a++)(l=x(n[t][a])).hasClass(\"fr-selected-cell\")||(l.data(\"old-width\",l.outerWidth()/e.outerWidth()*100),(a<r.min_j||a>r.max_j)&&(o+=l.outerWidth()/e.outerWidth()*100));for(o/=n.length,a=r.max_j;a>=r.min_j;a--)for(t=0;t<n.length;t++)if(0===t||n[t][a]!=n[t-1][a])if(l=x(n[t][a]),1<(parseInt(l.attr(\"colspan\"),10)||1)){var s=parseInt(l.attr(\"colspan\"),10)-1;1==s?l.removeAttr(\"colspan\"):l.attr(\"colspan\",s),l.css(\"width\",(100*(l.data(\"old-width\")-j(a,n))/o).toFixed(4)+\"%\"),l.removeData(\"old-width\")}else{var i=x(l.parent().get(0));l.remove(),0===i.find(\"> th, > td\").length&&(0===i.prev().length||0===i.next().length||i.prev().find(\"> th[rowspan], > td[rowspan]\").length<i.prev().find(\"> th, > td\").length)&&i.remove()}w(0,n.length-1,0,n[0].length-1,e),0<r.min_j?R.selection.setAtEnd(n[r.min_i][r.min_j-1]):R.selection.setAtEnd(n[r.min_i][0]),R.selection.restore(),R.popups.hide(\"table.edit\"),e.find(\"th, td\").each(function(){(l=x(this)).data(\"old-width\")&&(l.css(\"width\",(100*l.data(\"old-width\")/o).toFixed(4)+\"%\"),l.removeData(\"old-width\"))})}}},mergeCells:function oe(){if(1<Z().length&&(0===R.$el.find(\"th.fr-selected-cell\").length||0===R.$el.find(\"td.fr-selected-cell\").length)){C();var e,t,a=M($());if(null==a)return;var l=R.$el.find(\".fr-selected-cell\"),n=x(l[0]),r=n.parent().find(\".fr-selected-cell\"),o=n.closest(\"table\"),s=n.html(),i=0;for(e=0;e<r.length;e++)i+=x(r[e]).outerWidth();for(n.css(\"width\",Math.min(100,i/o.outerWidth()*100).toFixed(4)+\"%\"),a.min_j<a.max_j&&n.attr(\"colspan\",a.max_j-a.min_j+1),a.min_i<a.max_i&&n.attr(\"rowspan\",a.max_i-a.min_i+1),e=1;e<l.length;e++)\"<br>\"!=(t=x(l[e])).html()&&\"\"!==t.html()&&(s+=\"<br>\".concat(t.html())),t.remove();n.html(s),R.selection.setAtEnd(n.get(0)),R.selection.restore(),R.toolbar.enable(),m(a.min_i,a.max_i,o);var f=o.find(\"tr:empty\");for(e=f.length-1;0<=e;e--)x(f[e]).remove();g(a.min_j,a.max_j,o),h()}},splitCellVertically:function se(){if(1==Z().length){var e=R.$el.find(\".fr-selected-cell\"),t=parseInt(e.attr(\"colspan\"),10)||1,a=e.parent().outerWidth(),l=e.outerWidth(),n=e.clone().html(\"<br>\"),r=$(),o=_(e.get(0),r);if(1<t){var s=Math.ceil(t/2);l=X(o.col,o.col+s-1,r)/a*100;var i=X(o.col+s,o.col+t-1,r)/a*100;1<s?e.attr(\"colspan\",s):e.removeAttr(\"colspan\"),1<t-s?n.attr(\"colspan\",t-s):n.removeAttr(\"colspan\"),e.css(\"width\",l.toFixed(4)+\"%\"),n.css(\"width\",i.toFixed(4)+\"%\")}else{var f;for(f=0;f<r.length;f++)if(0===f||r[f][o.col]!=r[f-1][o.col]){var c=x(r[f][o.col]);if(!c.is(e)){var d=(parseInt(c.attr(\"colspan\"),10)||1)+1;c.attr(\"colspan\",d)}}l=l/a*100/2,e.css(\"width\",\"\".concat(l.toFixed(4),\"%\")),n.css(\"width\",\"\".concat(l.toFixed(4),\"%\"))}e[0].parentNode&&e[0].insertAdjacentElement(\"afterend\",n[0]),E(),R.popups.hide(\"table.edit\")}},splitCellHorizontally:function ie(){if(1==Z().length){var e=R.$el.find(\".fr-selected-cell\"),t=e.parent(),a=e.closest(\"table\"),l=parseInt(e.attr(\"rowspan\"),10),n=$(),r=_(e.get(0),n),o=e.clone().html(\"<br>\");if(1<l){var s=Math.ceil(l/2);1<s?e.attr(\"rowspan\",s):e.removeAttr(\"rowspan\"),1<l-s?o.attr(\"rowspan\",l-s):o.removeAttr(\"rowspan\");for(var i=r.row+s,f=0===r.col?r.col:r.col-1;0<=f&&(n[i][f]==n[i][f-1]||0<i&&n[i][f]==n[i-1][f]);)f--;-1==f?x(a.find(\"tr\").not(a.find(\"> table tr\")).get(i)).prepend(o):x(n[i][f])[0].parentNode&&x(n[i][f])[0].insertAdjacentElement(\"afterend\",o[0])}else{var c,d=x(document.createElement(\"tr\")).append(o);for(c=0;c<n[0].length;c++)if(0===c||n[r.row][c]!=n[r.row][c-1]){var p=x(n[r.row][c]);p.is(e)||p.attr(\"rowspan\",(parseInt(p.attr(\"rowspan\"),10)||1)+1)}t[0].parentNode&&t[0].insertAdjacentElement(\"afterend\",d[0])}E(),R.popups.hide(\"table.edit\")}},addHeader:function fe(){var e=Q();if(0<e.length&&0===e.find(\"th\").length){var t,a=\"<thead><tr>\",l=0;for(e.find(\"tr\").first().find(\"> td\").each(function(){var e=x(this);l+=parseInt(e.attr(\"colspan\"),10)||1}),t=0;t<l;t++)a+=\"<th><br></th>\";a+=\"</tr></thead>\",e.prepend(a),h()}},removeHeader:function ce(){var e=Q(),t=e.find(\"thead\");if(0<t.length)if(0===e.find(\"tbody tr\").length)u();else if(t.remove(),0<Z().length)h();else{R.popups.hide(\"table.edit\");var a=e.find(\"tbody tr\").first().find(\"td\").first().get(0);a&&(R.selection.setAtEnd(a),R.selection.restore())}},setBackground:t,showInsertPopup:function de(){var e=R.$tb.find('.fr-command[data-cmd=\"insertTable\"]'),t=R.popups.get(\"table.insert\");if(t||(t=c()),!t.hasClass(\"fr-active\")){R.popups.refresh(\"table.insert\"),R.popups.setContainer(\"table.insert\",R.$tb);var a=R.button.getPosition(e),l=a.left,n=a.top;R.popups.show(\"table.insert\",l,n,e.outerHeight())}},showEditPopup:h,showColorsPopup:s,back:function pe(){0<Z().length?h():(R.popups.hide(\"table.insert\"),R.toolbar.showInline())},verticalAlign:function he(e){R.$el.find(\".fr-selected-cell\").css(\"vertical-align\",e)},horizontalAlign:function ue(e){R.$el.find(\".fr-selected-cell\").css(\"text-align\",e)},applyStyle:function be(e,t,a,l){if(0<t.length){if(!a){var n=Object.keys(l);n.splice(n.indexOf(e),1),t.removeClass(n.join(\" \"))}t.toggleClass(e)}},selectedTable:Q,selectedCells:Z,customColor:function ge(){var e=R.popups.get(\"table.colors\").find(\".fr-table-colors-hex-layer input\");e.length&&t(e.val())},selectCells:I}},me.DefineIcon(\"insertTable\",{NAME:\"table\",SVG_KEY:\"insertTable\"}),me.RegisterCommand(\"insertTable\",{title:\"Insert Table\",undo:!1,focus:!0,refreshOnCallback:!1,popup:!0,callback:function(){this.popups.isVisible(\"table.insert\")?(this.$el.find(\".fr-marker\").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide(\"table.insert\")):this.table.showInsertPopup()},plugin:\"table\"}),me.RegisterCommand(\"tableInsert\",{callback:function(e,t,a){this.table.insert(t,a),this.popups.hide(\"table.insert\")}}),me.DefineIcon(\"tableHeader\",{NAME:\"header\",FA5NAME:\"heading\",SVG_KEY:\"tableHeader\"}),me.RegisterCommand(\"tableHeader\",{title:\"Table Header\",focus:!1,toggle:!0,callback:function(){this.popups.get(\"table.edit\").find('.fr-command[data-cmd=\"tableHeader\"]').hasClass(\"fr-active\")?this.table.removeHeader():this.table.addHeader()},refresh:function(e){var t=this.table.selectedTable();0<t.length&&(0===t.find(\"th\").length?e.removeClass(\"fr-active\").attr(\"aria-pressed\",!1):e.addClass(\"fr-active\").attr(\"aria-pressed\",!0))}}),me.DefineIcon(\"tableRows\",{NAME:\"bars\",SVG_KEY:\"row\"}),me.RegisterCommand(\"tableRows\",{type:\"dropdown\",focus:!1,title:\"Row\",options:{above:\"Insert row above\",below:\"Insert row below\",\"delete\":\"Delete row\"},html:function(){var e='<ul class=\"fr-dropdown-list\" role=\"presentation\">',t=me.COMMANDS.tableRows.options;for(var a in t)t.hasOwnProperty(a)&&(e+='<li role=\"presentation\"><a class=\"fr-command\" tabIndex=\"-1\" role=\"option\" data-cmd=\"tableRows\" data-param1=\"'+a+'\" title=\"'+this.language.translate(t[a])+'\">'+this.language.translate(t[a])+\"</a></li>\");return e+=\"</ul>\"},callback:function(e,t){\"above\"==t||\"below\"==t?this.table.insertRow(t):this.table.deleteRow()}}),me.DefineIcon(\"tableColumns\",{NAME:\"bars fa-rotate-90\",SVG_KEY:\"columns\"}),me.RegisterCommand(\"tableColumns\",{type:\"dropdown\",focus:!1,title:\"Column\",options:{before:\"Insert column before\",after:\"Insert column after\",\"delete\":\"Delete column\"},html:function(){var e='<ul class=\"fr-dropdown-list\" role=\"presentation\">',t=me.COMMANDS.tableColumns.options;for(var a in t)t.hasOwnProperty(a)&&(e+='<li role=\"presentation\"><a class=\"fr-command\" tabIndex=\"-1\" role=\"option\" data-cmd=\"tableColumns\" data-param1=\"'.concat(a,'\" title=\"').concat(this.language.translate(t[a]),'\">').concat(this.language.translate(t[a]),\"</a></li>\"));return e+=\"</ul>\"},callback:function(e,t){\"before\"==t||\"after\"==t?this.table.insertColumn(t):this.table.deleteColumn()}}),me.DefineIcon(\"tableCells\",{NAME:\"square-o\",FA5NAME:\"square\",SVG_KEY:\"cellOptions\"}),me.RegisterCommand(\"tableCells\",{type:\"dropdown\",focus:!1,title:\"Cell\",options:{merge:\"Merge cells\",\"vertical-split\":\"Vertical split\",\"horizontal-split\":\"Horizontal split\"},html:function(){var e='<ul class=\"fr-dropdown-list\" role=\"presentation\">',t=me.COMMANDS.tableCells.options;for(var a in t)t.hasOwnProperty(a)&&(e+='<li role=\"presentation\"><a class=\"fr-command\" tabIndex=\"-1\" role=\"option\" data-cmd=\"tableCells\" data-param1=\"'.concat(a,'\" title=\"').concat(this.language.translate(t[a]),'\">').concat(this.language.translate(t[a]),\"</a></li>\"));return e+=\"</ul>\"},callback:function(e,t){\"merge\"==t?this.table.mergeCells():\"vertical-split\"==t?this.table.splitCellVertically():this.table.splitCellHorizontally()},refreshOnShow:function(e,t){1<this.$el.find(\".fr-selected-cell\").length?(t.find('a[data-param1=\"vertical-split\"]').addClass(\"fr-disabled\").attr(\"aria-disabled\",!0),t.find('a[data-param1=\"horizontal-split\"]').addClass(\"fr-disabled\").attr(\"aria-disabled\",!0),t.find('a[data-param1=\"merge\"]').removeClass(\"fr-disabled\").attr(\"aria-disabled\",!1)):(t.find('a[data-param1=\"merge\"]').addClass(\"fr-disabled\").attr(\"aria-disabled\",!0),t.find('a[data-param1=\"vertical-split\"]').removeClass(\"fr-disabled\").attr(\"aria-disabled\",!1),t.find('a[data-param1=\"horizontal-split\"]').removeClass(\"fr-disabled\").attr(\"aria-disabled\",!1))}}),me.DefineIcon(\"tableRemove\",{NAME:\"trash\",SVG_KEY:\"removeTable\"}),me.RegisterCommand(\"tableRemove\",{title:\"Remove Table\",focus:!1,callback:function(){this.table.remove()}}),me.DefineIcon(\"tableStyle\",{NAME:\"paint-brush\",SVG_KEY:\"tableStyle\"}),me.RegisterCommand(\"tableStyle\",{title:\"Table Style\",type:\"dropdown\",focus:!1,html:function(){var e='<ul class=\"fr-dropdown-list\" role=\"presentation\">',t=this.opts.tableStyles;for(var a in t)t.hasOwnProperty(a)&&(e+='<li role=\"presentation\"><a class=\"fr-command\" tabIndex=\"-1\" role=\"option\" data-cmd=\"tableStyle\" data-param1=\"'.concat(a,'\" title=\"').concat(this.language.translate(t[a]),'\">').concat(this.language.translate(t[a]),\"</a></li>\"));return e+=\"</ul>\"},callback:function(e,t){this.table.applyStyle(t,this.$el.find(\".fr-selected-cell\").closest(\"table\"),this.opts.tableMultipleStyles,this.opts.tableStyles)},refreshOnShow:function(e,t){var a=this.$,l=this.$el.find(\".fr-selected-cell\").closest(\"table\");l&&t.find(\".fr-command\").each(function(){var e=a(this).data(\"param1\"),t=l.hasClass(e);a(this).toggleClass(\"fr-active\",t).attr(\"aria-selected\",t)})}}),me.DefineIcon(\"tableCellBackground\",{NAME:\"tint\",SVG_KEY:\"cellBackground\"}),me.RegisterCommand(\"tableCellBackground\",{title:\"Cell Background\",focus:!1,popup:!0,callback:function(){this.table.showColorsPopup()}}),me.RegisterCommand(\"tableCellBackgroundColor\",{undo:!0,focus:!1,callback:function(e,t){this.table.setBackground(t)}}),me.DefineIcon(\"tableBack\",{NAME:\"arrow-left\",SVG_KEY:\"back\"}),me.RegisterCommand(\"tableBack\",{title:\"Back\",undo:!1,focus:!1,back:!0,callback:function(){this.table.back()},refresh:function(e){0!==this.table.selectedCells().length||this.opts.toolbarInline?(e.removeClass(\"fr-hidden\"),e.next(\".fr-separator\").removeClass(\"fr-hidden\")):(e.addClass(\"fr-hidden\"),e.next(\".fr-separator\").addClass(\"fr-hidden\"))}}),me.DefineIcon(\"tableCellVerticalAlign\",{NAME:\"arrows-v\",FA5NAME:\"arrows-alt-v\",SVG_KEY:\"verticalAlignMiddle\"}),me.RegisterCommand(\"tableCellVerticalAlign\",{type:\"dropdown\",focus:!1,title:\"Vertical Align\",options:{Top:\"Align Top\",Middle:\"Align Middle\",Bottom:\"Align Bottom\"},html:function(){var e='<ul class=\"fr-dropdown-list\" role=\"presentation\">',t=me.COMMANDS.tableCellVerticalAlign.options;for(var a in t)t.hasOwnProperty(a)&&(e+='<li role=\"presentation\"><a class=\"fr-command\" tabIndex=\"-1\" role=\"option\" data-cmd=\"tableCellVerticalAlign\" data-param1=\"'.concat(a.toLowerCase(),'\" title=\"').concat(this.language.translate(t[a]),'\">').concat(this.language.translate(a),\"</a></li>\"));return e+=\"</ul>\"},callback:function(e,t){this.table.verticalAlign(t)},refreshOnShow:function(e,t){t.find('.fr-command[data-param1=\"'+this.$el.find(\".fr-selected-cell\").css(\"vertical-align\")+'\"]').addClass(\"fr-active\").attr(\"aria-selected\",!0)}}),me.DefineIcon(\"tableCellHorizontalAlign\",{NAME:\"align-left\",SVG_KEY:\"alignLeft\"}),me.DefineIcon(\"align-left\",{NAME:\"align-left\",SVG_KEY:\"alignLeft\"}),me.DefineIcon(\"align-right\",{NAME:\"align-right\",SVG_KEY:\"alignRight\"}),me.DefineIcon(\"align-center\",{NAME:\"align-center\",SVG_KEY:\"alignCenter\"}),me.DefineIcon(\"align-justify\",{NAME:\"align-justify\",SVG_KEY:\"alignJustify\"}),me.RegisterCommand(\"tableCellHorizontalAlign\",{type:\"dropdown\",focus:!1,title:\"Horizontal Align\",options:{left:\"Align Left\",center:\"Align Center\",right:\"Align Right\",justify:\"Align Justify\"},html:function(){var e='<ul class=\"fr-dropdown-list\" role=\"presentation\">',t=me.COMMANDS.tableCellHorizontalAlign.options;for(var a in t)t.hasOwnProperty(a)&&(e+='<li role=\"presentation\"><a class=\"fr-command fr-title\" tabIndex=\"-1\" role=\"option\" data-cmd=\"tableCellHorizontalAlign\" data-param1=\"'.concat(a,'\" title=\"').concat(this.language.translate(t[a]),'\">').concat(this.icon.create(\"align-\".concat(a)),'<span class=\"fr-sr-only\">').concat(this.language.translate(t[a]),\"</span></a></li>\"));return e+=\"</ul>\"},callback:function(e,t){this.table.horizontalAlign(t)},refresh:function(e){var t=this.table.selectedCells(),a=this.$;t.length&&e.find(\"> *\").first().replaceWith(this.icon.create(\"align-\".concat(this.helpers.getAlignment(a(t[0])))))},refreshOnShow:function(e,t){t.find('.fr-command[data-param1=\"'+this.helpers.getAlignment(this.$el.find(\".fr-selected-cell\").first())+'\"]').addClass(\"fr-active\").attr(\"aria-selected\",!0)}}),me.DefineIcon(\"tableCellStyle\",{NAME:\"magic\",SVG_KEY:\"cellStyle\"}),me.RegisterCommand(\"tableCellStyle\",{title:\"Cell Style\",type:\"dropdown\",focus:!1,html:function(){var e='<ul class=\"fr-dropdown-list\" role=\"presentation\">',t=this.opts.tableCellStyles;for(var a in t)t.hasOwnProperty(a)&&(e+='<li role=\"presentation\"><a class=\"fr-command\" tabIndex=\"-1\" role=\"option\" data-cmd=\"tableCellStyle\" data-param1=\"'.concat(a,'\" title=\"').concat(this.language.translate(t[a]),'\">').concat(this.language.translate(t[a]),\"</a></li>\"));return e+=\"</ul>\"},callback:function(e,t){this.table.applyStyle(t,this.$el.find(\".fr-selected-cell\"),this.opts.tableCellMultipleStyles,this.opts.tableCellStyles)},refreshOnShow:function(e,t){var a=this.$,l=this.$el.find(\".fr-selected-cell\").first();l&&t.find(\".fr-command\").each(function(){var e=a(this).data(\"param1\"),t=l.hasClass(e);a(this).toggleClass(\"fr-active\",t).attr(\"aria-selected\",t)})}}),me.RegisterCommand(\"tableCellBackgroundCustomColor\",{title:\"OK\",undo:!0,callback:function(){this.table.customColor()}}),me.DefineIcon(\"tableColorRemove\",{NAME:\"eraser\",SVG_KEY:\"remove\"})});","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?t(require(\"froala-editor\")):\"function\"==typeof define&&define.amd?define([\"froala-editor\"],t):t(e.FroalaEditor)}(this,function(r){\"use strict\";(r=r&&r.hasOwnProperty(\"default\")?r[\"default\"]:r).URLRegEx=\"(^| |\\\\u00A0)(\".concat(r.LinkRegEx,\"|([a-z0-9+-_.]{1,}@[a-z0-9+-_.]{1,}\\\\.[a-z0-9+-_]{1,}))$\"),r.PLUGINS.url=function(i){var l=i.$,a=null;function t(e,t,n){for(var r=\"\";n.length&&\".\"==n[n.length-1];)r+=\".\",n=n.substring(0,n.length-1);var o=n;if(i.opts.linkConvertEmailAddress)i.helpers.isEmail(o)&&!/^mailto:.*/i.test(o)&&(o=\"mailto:\".concat(o));else if(i.helpers.isEmail(o))return t+n;return/^((http|https|ftp|ftps|mailto|tel|sms|notes|data)\\:)/i.test(o)||(o=\"//\".concat(o)),(t||\"\")+\"<a\".concat(i.opts.linkAlwaysBlank?' target=\"_blank\"':\"\").concat(a?' rel=\"'.concat(a,'\"'):\"\",' data-fr-linked=\"true\" href=\"').concat(o,'\">').concat(n.replace(/&amp;/g,\"&\").replace(/&/g,\"&amp;\").replace(/</g,\"&lt;\").replace(/>/g,\"&gt;\"),\"</a>\").concat(r)}var s=function s(){return new RegExp(r.URLRegEx,\"gi\")};function p(e){return i.opts.linkAlwaysNoFollow&&(a=\"nofollow\"),i.opts.linkAlwaysBlank&&(i.opts.linkNoOpener&&(a?a+=\" noopener\":a=\"noopener\"),i.opts.linkNoReferrer&&(a?a+=\" noreferrer\":a=\"noreferrer\")),e.replace(s(),t)}function c(e){var t=e.split(\" \");return t[t.length-1]}function n(){var e=i.selection.ranges(0),t=e.startContainer;if(!t||t.nodeType!==Node.TEXT_NODE||e.startOffset!==(t.textContent||\"\").length)return!1;if(function a(e){return!!e&&(\"A\"===e.tagName||!(!e.parentNode||e.parentNode==i.el)&&a(e.parentNode))}(t))return!1;if(s().test(c(t.textContent))){l(t).before(p(t.textContent));var n=l(t.parentNode).find(\"a[data-fr-linked]\");n.removeAttr(\"data-fr-linked\"),t.parentNode.removeChild(t),i.events.trigger(\"url.linked\",[n.get(0)])}else if(t.textContent.split(\" \").length<=2&&t.previousSibling&&\"A\"===t.previousSibling.tagName){var r=t.previousSibling.innerText+t.textContent;if(s().test(c(r))){var o=(new DOMParser).parseFromString(p(r),\"text/html\").body.childNodes;t.parentNode.replaceChild(o[0],t.previousSibling),o.length&&l(t).before(o[0]),t.parentNode.removeChild(t)}}}return{_init:function e(){i.events.on(\"keypress\",function(e){!i.selection.isCollapsed()||\")\"!=e.key&&\"(\"!=e.key||n()},!0),i.events.on(\"keydown\",function(e){var t=e.which;!i.selection.isCollapsed()||t!=r.KEYCODE.ENTER&&t!=r.KEYCODE.SPACE||n()},!0),i.events.on(\"paste.beforeCleanup\",function(e){if(i.helpers.isURL(e)){var t=null;return i.opts.linkAlwaysBlank&&(i.opts.linkNoOpener&&(t?t+=\" noopener\":t=\"noopener\"),i.opts.linkNoReferrer&&(t?t+=\" noreferrer\":t=\"noreferrer\")),\"<a\".concat(i.opts.linkAlwaysBlank?' target=\"_blank\"':\"\").concat(t?' rel=\"'.concat(t,'\"'):\"\",' href=\"').concat(e,'\" >').concat(e,\"</a>\")}})}}}});","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?t(require(\"froala-editor\")):\"function\"==typeof define&&define.amd?define([\"froala-editor\"],t):t(e.FroalaEditor)}(this,function(ye){\"use strict\";ye=ye&&ye.hasOwnProperty(\"default\")?ye[\"default\"]:ye,Object.assign(ye.POPUP_TEMPLATES,{\"video.insert\":\"[_BUTTONS_][_BY_URL_LAYER_][_EMBED_LAYER_][_UPLOAD_LAYER_][_PROGRESS_BAR_]\",\"video.edit\":\"[_BUTTONS_]\",\"video.size\":\"[_BUTTONS_][_SIZE_LAYER_]\"}),Object.assign(ye.DEFAULTS,{videoAllowedTypes:[\"mp4\",\"webm\",\"ogg\",\"mp3\",\"mpeg\",\"url\"],videoAllowedProviders:[\".*\"],videoDefaultAlign:\"center\",videoDefaultDisplay:\"block\",videoDefaultWidth:600,videoEditButtons:[\"videoReplace\",\"videoRemove\",\"videoDisplay\",\"videoAlign\",\"videoSize\",\"autoplay\"],videoInsertButtons:[\"videoBack\",\"|\",\"videoByURL\",\"videoEmbed\",\"videoUpload\"],videoMaxSize:52428800,videoMove:!0,videoResize:!0,videoResponsive:!1,videoSizeButtons:[\"videoBack\",\"|\"],videoSplitHTML:!1,videoTextNear:!0,videoUpload:!0,videoUploadMethod:\"POST\",videoUploadParam:\"file\",videoUploadParams:{},videoUploadToS3:!1,videoUploadToAzure:!1,videoUploadURL:null}),ye.VIDEO_PROVIDERS=[{test_regex:/^.*((youtu.be)|(youtube.com))\\/((v\\/)|(\\/u\\/\\w\\/)|(embed\\/)|(watch\\?))?\\??v?=?([^#\\&\\?]*).*/,url_regex:/(?:https?:\\/\\/)?(?:www\\.)?(?:m\\.)?(?:youtube\\.com|youtu\\.be)\\/(?:watch\\?v=|embed\\/)?([0-9a-zA-Z_\\-]+)(.+)?/g,url_text:\"https://www.youtube.com/embed/$1?$2\",html:'<iframe width=\"640\" height=\"360\" src=\"{url}&wmode=opaque&rel=0\" frameborder=\"0\" allowfullscreen></iframe>',provider:\"youtube\"},{test_regex:/^.*(?:vimeo.com)\\/(?:channels(\\/\\w+\\/)?|groups\\/*\\/videos\\/\\u200b\\d+\\/|video\\/|)(\\d+)(?:$|\\/|\\?)/,url_regex:/(?:https?:\\/\\/)?(?:www\\.|player\\.)?vimeo.com\\/(?:channels\\/(?:\\w+\\/)?|groups\\/(?:[^\\/]*)\\/videos\\/|album\\/(?:\\d+)\\/video\\/|video\\/|)(\\d+)(?:[a-zA-Z0-9_\\-]+)?(\\/[a-zA-Z0-9_\\-]+)?/i,url_text:\"https://player.vimeo.com/video/$1\",html:'<iframe width=\"640\" height=\"360\" src=\"{url}\" frameborder=\"0\" allowfullscreen></iframe>',provider:\"vimeo\"},{test_regex:/^.+(dailymotion.com|dai.ly)\\/(video|hub)?\\/?([^_]+)[^#]*(#video=([^_&]+))?/,url_regex:/(?:https?:\\/\\/)?(?:www\\.)?(?:dailymotion\\.com|dai\\.ly)\\/(?:video|hub)?\\/?(.+)/g,url_text:\"https://www.dailymotion.com/embed/video/$1\",html:'<iframe width=\"640\" height=\"360\" src=\"{url}\" frameborder=\"0\" allowfullscreen></iframe>',provider:\"dailymotion\"},{test_regex:/^.+(screen.yahoo.com)\\/[^_&]+/,url_regex:\"\",url_text:\"\",html:'<iframe width=\"640\" height=\"360\" src=\"{url}?format=embed\" frameborder=\"0\" allowfullscreen=\"true\" mozallowfullscreen=\"true\" webkitallowfullscreen=\"true\" allowtransparency=\"true\"></iframe>',provider:\"yahoo\"},{test_regex:/^.+(rutube.ru)\\/[^_&]+/,url_regex:/(?:https?:\\/\\/)?(?:www\\.)?(?:rutube\\.ru)\\/(?:video)?\\/?(.+)/g,url_text:\"https://rutube.ru/play/embed/$1\",html:'<iframe width=\"640\" height=\"360\" src=\"{url}\" frameborder=\"0\" allowfullscreen=\"true\" mozallowfullscreen=\"true\" webkitallowfullscreen=\"true\" allowtransparency=\"true\"></iframe>',provider:\"rutube\"},{test_regex:/^(?:.+)vidyard.com\\/(?:watch)?\\/?([^.&/]+)\\/?(?:[^_.&]+)?/,url_regex:/^(?:.+)vidyard.com\\/(?:watch)?\\/?([^.&/]+)\\/?(?:[^_.&]+)?/g,url_text:\"https://play.vidyard.com/$1\",html:'<iframe width=\"640\" height=\"360\" src=\"{url}\" frameborder=\"0\" allowfullscreen></iframe>',provider:\"vidyard\"}],ye.VIDEO_EMBED_REGEX=/^\\W*((<iframe(.|\\n)*>(\\s|\\n)*<\\/iframe>)|(<embed(.|\\n)*>))\\W*$/i,ye.PLUGINS.video=function(w){var s,p,f,E,i,o,A=w.$,C=\"https://i.froala.com/upload\",c=2,v=3,u=4,S=5,U=6,r={};function g(){var e=w.popups.get(\"video.insert\");e.find(\".fr-video-by-url-layer input\").val(\"\").trigger(\"change\");var t=e.find(\".fr-video-embed-layer textarea\");t.val(\"\").trigger(\"change\"),(t=e.find(\".fr-video-upload-layer input\")).val(\"\").trigger(\"change\")}function a(){var e=w.popups.get(\"video.edit\");if(e||(e=function n(){var e=\"\";if(0<w.opts.videoEditButtons.length){w.opts.videoResponsive&&(-1<w.opts.videoEditButtons.indexOf(\"videoSize\")&&w.opts.videoEditButtons.splice(w.opts.videoEditButtons.indexOf(\"videoSize\"),1),-1<w.opts.videoEditButtons.indexOf(\"videoDisplay\")&&w.opts.videoEditButtons.splice(w.opts.videoEditButtons.indexOf(\"videoDisplay\"),1),-1<w.opts.videoEditButtons.indexOf(\"videoAlign\")&&w.opts.videoEditButtons.splice(w.opts.videoEditButtons.indexOf(\"videoAlign\"),1));var t={buttons:e+='<div class=\"fr-buttons\"> \\n      '.concat(w.button.buildList(w.opts.videoEditButtons),\" \\n      </div>\")},o=w.popups.create(\"video.edit\",t);return w.events.$on(w.$wp,\"scroll.video-edit\",function(){E&&w.popups.isVisible(\"video.edit\")&&(w.events.disableBlur(),y(E))}),o}return!1}()),e){w.popups.setContainer(\"video.edit\",w.$sc),w.popups.refresh(\"video.edit\");var t=E.find(\"iframe, embed, \".concat(E.find(\"iframe, embed, audio\").get(0)?\"audio\":\"video\")),o=t.offset().left+t.outerWidth()/2,i=t.offset().top+t.outerHeight(),r=t.get(0).src?t.get(0).src:t.get(0).currentSrc,a=!(!(r=(r=r.split(\".\"))[r.length-1]).includes(\"pdf\")&&!r.includes(\"txt\"));t.hasClass(\"fr-file\")||a||E.find(\"audio\").get(0)?(document.getElementById(\"autoplay-\".concat(w.id))&&(document.getElementById(\"autoplay-\".concat(w.id)).style.display=\"none\"),document.getElementById(\"videoReplace-\".concat(w.id))&&(document.getElementById(\"videoReplace-\".concat(w.id)).style.display=\"none\")):(document.getElementById(\"autoplay-\".concat(w.id))&&(document.getElementById(\"autoplay-\".concat(w.id)).style.display=\"\"),document.getElementById(\"videoReplace-\".concat(w.id))&&(document.getElementById(\"videoReplace-\".concat(w.id)).style.display=\"\")),w.popups.show(\"video.edit\",o,i,t.outerHeight(),!0)}}function n(e){if(e)return w.popups.onRefresh(\"video.insert\",g),w.popups.onHide(\"video.insert\",q),!0;var t=\"\";w.opts.videoUpload||-1===w.opts.videoInsertButtons.indexOf(\"videoUpload\")||w.opts.videoInsertButtons.splice(w.opts.videoInsertButtons.indexOf(\"videoUpload\"),1);var o=w.button.buildList(w.opts.videoInsertButtons);\"\"!==o&&(t='<div class=\"fr-buttons\">'+o+\"</div>\");var i,r=\"\",a=w.opts.videoInsertButtons.indexOf(\"videoUpload\"),n=w.opts.videoInsertButtons.indexOf(\"videoByURL\"),s=w.opts.videoInsertButtons.indexOf(\"videoEmbed\");if(0<=n){i=\" fr-active\",(a<n&&0<=a||s<n&&0<=s)&&(i=\"\");r='<div class=\"fr-video-by-url-layer fr-layer'.concat(i,'\" id=\"fr-video-by-url-layer-').concat(w.id,'\"><div class=\"fr-input-line\"><input id=\"fr-video-by-url-layer-text-').concat(w.id,'\" type=\"text\" placeholder=\"').concat(w.language.translate(\"Paste in a video URL\"),'\" tabIndex=\"1\" aria-required=\"true\"></div><div class=\"fr-action-buttons\"><span style=\\'float:left\\'><div class=\"fr-checkbox-line fr-autoplay-margin\"><span class=\"fr-checkbox\"> <input id=\\'videoPluginAutoplay\\' data-checked=\"_blank\" type=\"checkbox\"> <span>').concat('<svg version=\"1.1\" xmlns=\"http://www.w3.org/2000/svg\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" width=\"10\" height=\"10\" viewBox=\"0 0 32 32\"><path d=\"M27 4l-15 15-7-7-5 5 12 12 20-20z\" fill=\"#FFF\"></path></svg>','</span></span> <label id=\"fr-label-target-').concat(w.id,'\">Autoplay</label></div> </span><button type=\"button\" class=\"fr-command fr-submit\" data-cmd=\"videoInsertByURL\" tabIndex=\"2\" role=\"button\">').concat(w.language.translate(\"Insert\"),\"</button></div></div>\")}var d=\"\";0<=s&&(i=\" fr-active\",(a<s&&0<=a||n<s&&0<=n)&&(i=\"\"),d='<div class=\"fr-video-embed-layer fr-layer'.concat(i,'\" id=\"fr-video-embed-layer-').concat(w.id,'\"><div class=\"fr-input-line\"><textarea id=\"fr-video-embed-layer-text').concat(w.id,'\" type=\"text\" placeholder=\"').concat(w.language.translate(\"Embedded Code\"),'\" tabIndex=\"1\" aria-required=\"true\" rows=\"5\"></textarea></div><div class=\"fr-action-buttons\"><button type=\"button\" class=\"fr-command fr-submit\" data-cmd=\"videoInsertEmbed\" tabIndex=\"2\" role=\"button\">').concat(w.language.translate(\"Insert\"),\"</button></div></div>\"));var l=\"\";0<=a&&(i=\" fr-active\",(s<a&&0<=s||n<a&&0<=n)&&(i=\"\"),l='<div class=\"fr-video-upload-layer fr-layer'.concat(i,'\" id=\"fr-video-upload-layer-').concat(w.id,'\"><strong>').concat(w.language.translate(\"Drop video\"),\"</strong><br>(\").concat(w.language.translate(\"or click\"),')<div class=\"fr-form\"><input type=\"file\" accept=\"video/').concat(w.opts.videoAllowedTypes.join(\", video/\").toLowerCase(),'\" tabIndex=\"-1\" aria-labelledby=\"fr-video-upload-layer-').concat(w.id,'\" role=\"button\"></div></div>'));var p={buttons:t,by_url_layer:r,embed_layer:d,upload_layer:l,progress_bar:'<div class=\"fr-video-progress-bar-layer fr-layer\"><h3 tabIndex=\"-1\" class=\"fr-message\">Uploading</h3><div class=\"fr-loader\"><span class=\"fr-progress\"></span></div><div class=\"fr-action-buttons\"><button type=\"button\" class=\"fr-command fr-dismiss\" data-cmd=\"videoDismissError\" tabIndex=\"2\" role=\"button\">OK</button></div></div>'},f=w.popups.create(\"video.insert\",p);return function c(i){w.events.$on(i,\"dragover dragenter\",\".fr-video-upload-layer\",function(){return A(this).addClass(\"fr-drop\"),!1},!0),w.events.$on(i,\"dragleave dragend\",\".fr-video-upload-layer\",function(){return A(this).removeClass(\"fr-drop\"),!1},!0),w.events.$on(i,\"drop\",\".fr-video-upload-layer\",function(e){e.preventDefault(),e.stopPropagation(),A(this).removeClass(\"fr-drop\");var t=e.originalEvent.dataTransfer;if(t&&t.files){var o=i.data(\"instance\")||w;o.events.disableBlur(),o.video.upload(t.files),o.events.enableBlur()}},!0),w.helpers.isIOS()&&w.events.$on(i,\"touchstart\",'.fr-video-upload-layer input[type=\"file\"]',function(){A(this).trigger(\"click\")},!0);w.events.$on(i,\"change\",'.fr-video-upload-layer input[type=\"file\"]',function(){if(this.files){var e=i.data(\"instance\")||w;e.events.disableBlur(),i.find(\"input:focus\").blur(),e.events.enableBlur(),e.video.upload(this.files)}A(this).val(\"\")},!0)}(f),f}function d(e){w.events.focus(!0),w.selection.restore();var t=!1;E&&(W(),t=!0),w.html.insert('<span contenteditable=\"false\" draggable=\"true\" class=\"fr-jiv fr-video fr-deletable\">'.concat(e,\"</span>\"),!1,w.opts.videoSplitHTML),w.popups.hide(\"video.insert\");var o=w.$el.find(\".fr-jiv\");o.removeClass(\"fr-jiv\"),o.toggleClass(\"fr-rv\",w.opts.videoResponsive),J(o,w.opts.videoDefaultDisplay,w.opts.videoDefaultAlign),o.toggleClass(\"fr-draggable\",w.opts.videoMove),w.events.trigger(t?\"video.replaced\":\"video.inserted\",[o])}function h(){var e=A(this);w.popups.hide(\"video.insert\"),e.removeClass(\"fr-uploading\"),e.parent().next().is(\"br\")&&e.parent().next().remove(),y(e.parent()),w.events.trigger(\"video.loaded\",[e.parent()])}function R(s,e,l,p,f){w.edit.off(),m(\"Loading video\"),e&&(s=w.helpers.sanitizeURL(s));var c=function c(){var e,t;if(p){w.undo.canDo()||p.find(\"video\").hasClass(\"fr-uploading\")||w.undo.saveStep();var o=p.find(\"video\").data(\"fr-old-src\"),i=p.data(\"fr-replaced\");p.data(\"fr-replaced\",!1),w.$wp?((e=p.clone(!0)).find(\"video\").removeData(\"fr-old-src\").removeClass(\"fr-uploading\"),e.find(\"video\").off(\"canplay\"),o&&p.find(\"video\").attr(\"src\",o),p.replaceWith(e)):e=p;for(var r=e.find(\"video\").get(0).attributes,a=0;a<r.length;a++){var n=r[a];0===n.nodeName.indexOf(\"data-\")&&e.find(\"video\").removeAttr(n.nodeName)}if(void 0!==l)for(t in l)l.hasOwnProperty(t)&&\"link\"!=t&&e.find(\"video\").attr(\"data-\".concat(t),l[t]);e.find(\"video\").on(\"canplay\",h),e.find(\"video\").attr(\"src\",s),w.edit.on(),L(),w.undo.saveStep(),w.$el.blur(),w.events.trigger(i?\"video.replaced\":\"video.inserted\",[e,f])}else e=function d(e,t,o){var i,r=\"\";if(t&&void 0!==t)for(i in t)t.hasOwnProperty(i)&&\"link\"!=i&&(r+=\" data-\".concat(i,'=\"').concat(t[i],'\"'));var a=w.opts.videoDefaultWidth;a&&\"auto\"!=a&&(a=\"\".concat(a,\"px\"));var n=A(document.createElement(\"span\")).attr(\"contenteditable\",\"false\").attr(\"draggable\",\"true\").attr(\"class\",\"fr-video fr-dv\"+w.opts.videoDefaultDisplay[0]+(\"center\"!=w.opts.videoDefaultAlign?\" fr-fv\"+w.opts.videoDefaultAlign[0]:\"\")).html('<video src=\"'+e+'\" '+r+(a?' style=\"width: '+a+';\" ':\"\")+\" controls>\"+w.language.translate(\"Your browser does not support HTML5 video.\")+\"</video>\");n.toggleClass(\"fr-draggable\",w.opts.videoMove),w.edit.on(),w.events.focus(!0),w.selection.restore(),w.undo.saveStep(),w.opts.videoSplitHTML?w.markers.split():w.markers.insert();w.html.wrap();var s=w.$el.find(\".fr-marker\");w.node.isLastSibling(s)&&s.parent().hasClass(\"fr-deletable\")&&s.insertAfter(s.parent());s.replaceWith(n),w.selection.clear(),n.find(\"video\").get(0).readyState>n.find(\"video\").get(0).HAVE_FUTURE_DATA||w.helpers.isIOS()?o.call(n.find(\"video\").get(0)):n.find(\"video\").on(\"canplaythrough load\",o);return n}(s,l,h),L(),w.undo.saveStep(),w.events.trigger(\"video.inserted\",[e,f])};x(\"Loading video\"),c()}function x(e){var t=w.popups.get(\"video.insert\");if(t||(t=n()),t.find(\".fr-layer.fr-active\").removeClass(\"fr-active\").addClass(\"fr-pactive\"),t.find(\".fr-video-progress-bar-layer\").addClass(\"fr-active\"),t.find(\".fr-buttons\").hide(),E){var o=E.find(\"iframe, embed, \".concat(E.find(\"iframe, embed, audio\").get(0)?\"audio\":\"video\"));w.popups.setContainer(\"video.insert\",w.$sc);var i=o.offset().left,r=o.offset().top+o.height();w.popups.show(\"video.insert\",i,r,o.outerHeight())}void 0===e&&m(w.language.translate(\"Uploading\"),0)}function l(e){var t=w.popups.get(\"video.insert\");if(t&&(t.find(\".fr-layer.fr-pactive\").addClass(\"fr-active\").removeClass(\"fr-pactive\"),t.find(\".fr-video-progress-bar-layer\").removeClass(\"fr-active\"),t.find(\".fr-buttons\").show(),e||w.$el.find(\"video.fr-error\").length)){if(w.events.focus(),w.$el.find(\"video.fr-error\").length&&(w.$el.find(\"video.fr-error\").parent().remove(),w.undo.saveStep(),w.undo.run(),w.undo.dropRedo()),!w.$wp&&E){var o=E;M(!0),w.selection.setAfter(o.find(\"video\").get(0)),w.selection.restore()}w.popups.hide(\"video.insert\")}}function m(e,t){var o=w.popups.get(\"video.insert\");if(o){var i=o.find(\".fr-video-progress-bar-layer\");i.find(\"h3\").text(e+(t?\" \".concat(t,\"%\"):\"\")),i.removeClass(\"fr-error\"),t?(i.find(\"div\").removeClass(\"fr-indeterminate\"),i.find(\"div > span\").css(\"width\",\"\".concat(t,\"%\"))):i.find(\"div\").addClass(\"fr-indeterminate\")}}function b(e){x();var t=w.popups.get(\"video.insert\").find(\".fr-video-progress-bar-layer\");t.addClass(\"fr-error\");var o=t.find(\"h3\");o.text(e),w.events.disableBlur(),o.focus()}function y(e){t.call(e.get(0))}function _(e,t,o){m(\"Loading video\");var i=this.status,r=this.response,a=this.responseXML,n=this.responseText;try{if(w.opts.videoUploadToS3||w.opts.videoUploadToAzure)if(201==i){var s;if(w.opts.videoUploadToAzure){if(!1===w.events.trigger(\"video.uploadedToAzure\",[this.responseURL,o,r],!0))return w.edit.on(),!1;s=t}else s=function l(e){try{var t=A(e).find(\"Location\").text(),o=A(e).find(\"Key\").text();return!1===w.events.trigger(\"video.uploadedToS3\",[t,o,e],!0)?(w.edit.on(),!1):t}catch(i){return K(u,e),!1}}(a);s&&R(s,!1,[],e,r||a)}else K(u,r||a);else if(200<=i&&i<300){var d=function p(e){try{if(!1===w.events.trigger(\"video.uploaded\",[e],!0))return w.edit.on(),!1;var t=JSON.parse(e);return t.link?t:(K(c,e),!1)}catch(o){return K(u,e),!1}}(n);d&&R(d.link,!1,d,e,r||n)}else K(v,r||n)}catch(f){K(u,r||n)}}function B(){K(u,this.response||this.responseText||this.responseXML)}function D(e){if(e.lengthComputable){var t=e.loaded/e.total*100|0;m(w.language.translate(\"Uploading\"),t)}}function I(){w.edit.on(),l(!0)}function T(e){if(!w.core.sameInstance(f))return!0;e.preventDefault(),e.stopPropagation();var t=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null),o=e.pageY||(e.originalEvent.touches?e.originalEvent.touches[0].pageY:null);if(!t||!o)return!1;if(\"mousedown\"==e.type){var i=w.$oel.get(0).ownerDocument,r=i.defaultView||i.parentWindow,a=!1;try{a=r.location!=r.parent.location&&!(r.$&&r.$.FE)}catch(n){}a&&r.frameElement&&(t+=w.helpers.getPX(A(r.frameElement).offset().left)+r.frameElement.clientLeft,o=e.clientY+w.helpers.getPX(A(r.frameElement).offset().top)+r.frameElement.clientTop)}w.undo.canDo()||w.undo.saveStep(),(p=A(this)).data(\"start-x\",t),p.data(\"start-y\",o),s.show(),w.popups.hideAll(),Y()}function k(e){if(!w.core.sameInstance(f))return!0;if(p){e.preventDefault();var t=e.pageX||(e.originalEvent.touches?e.originalEvent.touches[0].pageX:null),o=e.pageY||(e.originalEvent.touches?e.originalEvent.touches[0].pageY:null);if(!t||!o)return!1;var i=p.data(\"start-x\"),r=p.data(\"start-y\");p.data(\"start-x\",t),p.data(\"start-y\",o);var a=t-i,n=o-r,s=E.find(\"iframe, embed, \".concat(E.find(\"iframe, embed, audio\").get(0)?\"audio\":\"video\")),d=s.width(),l=s.height();(p.hasClass(\"fr-hnw\")||p.hasClass(\"fr-hsw\"))&&(a=0-a),(p.hasClass(\"fr-hnw\")||p.hasClass(\"fr-hne\"))&&(n=0-n),s.css(\"width\",d+a),s.css(\"height\",l+n),s.removeAttr(\"width\"),s.removeAttr(\"height\"),O()}}function z(e){if(!w.core.sameInstance(f))return!0;p&&E&&(e&&e.stopPropagation(),p=null,s.hide(),O(),a(),w.undo.saveStep())}function P(e){return'<div class=\"fr-handler fr-h'.concat(e,'\"></div>')}function $(e,t,o,i){return e.pageX=t,e.pageY=t,T.call(this,e),e.pageX=e.pageX+o*Math.floor(Math.pow(1.1,i)),e.pageY=e.pageY+o*Math.floor(Math.pow(1.1,i)),k.call(this,e),z.call(this,e),++i}function L(){var e,t=Array.prototype.slice.call(w.el.querySelectorAll(\"video, .fr-video > *\")),o=[];for(e=0;e<t.length;e++)o.push(t[e].getAttribute(\"src\")),A(t[e]).toggleClass(\"fr-draggable\",w.opts.videoMove),\"\"===t[e].getAttribute(\"class\")&&t[e].removeAttribute(\"class\"),\"\"===t[e].getAttribute(\"style\")&&t[e].removeAttribute(\"style\");if(i)for(e=0;e<i.length;e++)o.indexOf(i[e].getAttribute(\"src\"))<0&&w.events.trigger(\"video.removed\",[A(i[e])]);i=t}function O(){f||function n(){var e;if(w.shared.$video_resizer?(f=w.shared.$video_resizer,s=w.shared.$vid_overlay,w.events.on(\"destroy\",function(){A(\"body\").first().append(f.removeClass(\"fr-active\"))},!0)):(w.shared.$video_resizer=A(document.createElement(\"div\")).attr(\"class\",\"fr-video-resizer\"),f=w.shared.$video_resizer,w.events.$on(f,\"mousedown\",function(e){e.stopPropagation()},!0),w.opts.videoResize&&(f.append(P(\"nw\")+P(\"ne\")+P(\"sw\")+P(\"se\")),w.shared.$vid_overlay=A(document.createElement(\"div\")).attr(\"class\",\"fr-video-overlay\"),s=w.shared.$vid_overlay,e=f.get(0).ownerDocument,A(e).find(\"body\").first().append(s))),w.events.on(\"shared.destroy\",function(){f.html(\"\").removeData().remove(),f=null,w.opts.videoResize&&(s.remove(),s=null)},!0),w.helpers.isMobile()||w.events.$on(A(w.o_win),\"resize.video\",function(){M(!0)}),w.opts.videoResize){e=f.get(0).ownerDocument,w.events.$on(f,w._mousedown,\".fr-handler\",T),w.events.$on(A(e),w._mousemove,k),w.events.$on(A(e.defaultView||e.parentWindow),w._mouseup,z),w.events.$on(s,\"mouseleave\",z);var i=1,r=null,a=0;w.events.on(\"keydown\",function(e){if(E){var t=-1!=navigator.userAgent.indexOf(\"Mac OS X\")?e.metaKey:e.ctrlKey,o=e.which;(o!==r||200<e.timeStamp-a)&&(i=1),(o==ye.KEYCODE.EQUALS||w.browser.mozilla&&o==ye.KEYCODE.FF_EQUALS)&&t&&!e.altKey?i=$.call(this,e,1,1,i):(o==ye.KEYCODE.HYPHEN||w.browser.mozilla&&o==ye.KEYCODE.FF_HYPHEN)&&t&&!e.altKey&&(i=$.call(this,e,2,-1,i)),r=o,a=e.timeStamp}}),w.events.on(\"keyup\",function(){i=1})}}(),(w.$wp||w.$sc).append(f),f.data(\"instance\",w);var e=E.find(\"iframe, embed, \".concat(E.find(\"iframe, embed, audio\").get(0)?\"audio\":\"video\")),t=0,o=0;w.opts.iframe&&(o=w.helpers.getPX(w.$wp.find(\".fr-iframe\").css(\"padding-top\")),t=w.helpers.getPX(w.$wp.find(\".fr-iframe\").css(\"padding-left\"))),f.css(\"top\",(w.opts.iframe?e.offset().top+o-1:e.offset().top-w.$wp.offset().top-1)+w.$wp.scrollTop()).css(\"left\",(w.opts.iframe?e.offset().left+t-1:e.offset().left-w.$wp.offset().left-1)+w.$wp.scrollLeft()).css(\"width\",e.get(0).getBoundingClientRect().width).css(\"height\",e.get(0).getBoundingClientRect().height).addClass(\"fr-active\")}function t(e){if(e&&\"touchend\"==e.type&&o)return!0;if(e&&w.edit.isDisabled())return e.stopPropagation(),e.preventDefault(),!1;if(w.edit.isDisabled())return!1;for(var t=0;t<ye.INSTANCES.length;t++)ye.INSTANCES[t]!=w&&ye.INSTANCES[t].events.trigger(\"video.hideResizer\");w.toolbar.disable(),w.helpers.isMobile()&&(w.events.disableBlur(),w.$el.blur(),w.events.enableBlur()),w.$el.find(\".fr-video.fr-active\").removeClass(\"fr-active\"),(E=A(this)).addClass(\"fr-active\"),w.opts.iframe&&w.size.syncIframe(),ee(),O(),a(),w.selection.clear(),w.button.bulkRefresh(),w.events.trigger(\"image.hideResizer\")}function M(e){E&&(function t(){return w.shared.vid_exit_flag}()||!0===e)&&(f.removeClass(\"fr-active\"),w.toolbar.enable(),E.removeClass(\"fr-active\"),E=null,Y())}function V(){w.shared.vid_exit_flag=!0}function Y(){w.shared.vid_exit_flag=!1}function N(e){var t=e.originalEvent.dataTransfer;if(t&&t.files&&t.files.length){var o=t.files[0];if(o&&o.type&&-1!==o.type.indexOf(\"video\")){if(!w.opts.videoUpload)return e.preventDefault(),e.stopPropagation(),!1;w.markers.remove(),w.markers.insertAtPoint(e.originalEvent),w.$el.find(\".fr-marker\").replaceWith(ye.MARKERS),w.popups.hideAll();var i=w.popups.get(\"video.insert\");return i||(i=n()),w.popups.setContainer(\"video.insert\",w.$sc),w.popups.show(\"video.insert\",e.originalEvent.pageX,e.originalEvent.pageY),x(),0<=w.opts.videoAllowedTypes.indexOf(o.type.replace(/video\\//g,\"\"))?H(t.files):K(U),e.preventDefault(),e.stopPropagation(),!1}}}function H(e){if(void 0!==e&&0<e.length){if(!1===w.events.trigger(\"video.beforeUpload\",[e]))return!1;var t,o=e[0];if(!(null!==w.opts.videoUploadURL&&w.opts.videoUploadURL!=C||w.opts.videoUploadToS3||w.opts.videoUploadToAzure))return function y(i){E&&E.find(\"iframe\")&&E.find(\"iframe\").length&&W();var r=new FileReader;r.onload=function(){r.result;for(var e=atob(r.result.split(\",\")[1]),t=[],o=0;o<e.length;o++)t.push(e.charCodeAt(o));R(window.URL.createObjectURL(new Blob([new Uint8Array(t)],{type:i.type})),!1,null,E)},x(),r.readAsDataURL(i)}(o),!1;if(o.size>w.opts.videoMaxSize)return K(S),!1;if(w.opts.videoAllowedTypes.indexOf(o.type.replace(/video\\//g,\"\"))<0)return K(U),!1;if(w.drag_support.formdata&&(t=w.drag_support.formdata?new FormData:null),t){var i;if(!1!==w.opts.videoUploadToS3)for(i in t.append(\"key\",w.opts.videoUploadToS3.keyStart+(new Date).getTime()+\"-\"+(o.name||\"untitled\")),t.append(\"success_action_status\",\"201\"),t.append(\"X-Requested-With\",\"xhr\"),t.append(\"Content-Type\",o.type),w.opts.videoUploadToS3.params)w.opts.videoUploadToS3.params.hasOwnProperty(i)&&t.append(i,w.opts.videoUploadToS3.params[i]);for(i in w.opts.videoUploadParams)w.opts.videoUploadParams.hasOwnProperty(i)&&t.append(i,w.opts.videoUploadParams[i]);t.append(w.opts.videoUploadParam,o);var r,a,n=w.opts.videoUploadURL;w.opts.videoUploadToS3&&(n=w.opts.videoUploadToS3.uploadURL?w.opts.videoUploadToS3.uploadURL:\"https://\".concat(w.opts.videoUploadToS3.region,\".amazonaws.com/\").concat(w.opts.videoUploadToS3.bucket));var s=w.opts.videoUploadMethod;w.opts.videoUploadToAzure&&(n=w.opts.videoUploadToAzure.uploadURL?\"\".concat(w.opts.videoUploadToAzure.uploadURL,\"/\").concat(o.name):encodeURI(\"https://\".concat(w.opts.videoUploadToAzure.account,\".blob.core.windows.net/\").concat(w.opts.videoUploadToAzure.container,\"/\").concat(o.name)),r=n,w.opts.videoUploadToAzure.SASToken&&(n+=w.opts.videoUploadToAzure.SASToken),s=\"PUT\");var d=w.core.getXHR(n,s);if(w.opts.videoUploadToAzure){var l=(new Date).toUTCString();if(!w.opts.videoUploadToAzure.SASToken&&w.opts.videoUploadToAzure.accessKey){var p=w.opts.videoUploadToAzure.account,f=w.opts.videoUploadToAzure.container;if(w.opts.videoUploadToAzure.uploadURL){var c=w.opts.videoUploadToAzure.uploadURL.split(\"/\");f=c.pop(),p=c.pop().split(\".\")[0]}var v=\"x-ms-blob-type:BlockBlob\\nx-ms-date:\".concat(l,\"\\nx-ms-version:2019-07-07\"),u=encodeURI(\"/\"+p+\"/\"+f+\"/\"+o.name),g=s+\"\\n\\n\\n\"+o.size+\"\\n\\n\"+o.type+\"\\n\\n\\n\\n\\n\\n\\n\"+v+\"\\n\"+u,h=w.cryptoJSPlugin.cryptoJS.HmacSHA256(g,w.cryptoJSPlugin.cryptoJS.enc.Base64.parse(w.opts.videoUploadToAzure.accessKey)).toString(w.cryptoJSPlugin.cryptoJS.enc.Base64),m=\"SharedKey \"+p+\":\"+h;a=h,d.setRequestHeader(\"Authorization\",m)}for(i in d.setRequestHeader(\"x-ms-version\",\"2019-07-07\"),d.setRequestHeader(\"x-ms-date\",l),d.setRequestHeader(\"Content-Type\",o.type),d.setRequestHeader(\"x-ms-blob-type\",\"BlockBlob\"),w.opts.videoUploadParams)w.opts.videoUploadParams.hasOwnProperty(i)&&d.setRequestHeader(i,w.opts.videoUploadParams[i]);for(i in w.opts.videoUploadToAzure.params)w.opts.videoUploadToAzure.params.hasOwnProperty(i)&&d.setRequestHeader(i,w.opts.videoUploadToAzure.params[i])}d.onload=function(){_.call(d,E,r,a)},d.onerror=B,d.upload.onprogress=D,d.onabort=I,x(),w.events.disableBlur(),w.edit.off(),w.events.enableBlur();var b=w.popups.get(\"video.insert\");b&&A(b.off(\"abortUpload\")).on(\"abortUpload\",function(){4!=d.readyState&&d.abort()}),d.send(w.opts.videoUploadToAzure?o:t)}}}function K(e,t){w.edit.on(),E&&E.find(\"video\").addClass(\"fr-error\"),b(w.language.translate(\"Something went wrong. Please try again.\")),w.events.trigger(\"video.error\",[{code:e,message:r[e]},t])}function F(){if(E){var e=w.popups.get(\"video.size\"),t=E.find(\"iframe, embed, \".concat(E.find(\"iframe, embed, audio\").get(0)?\"audio\":\"video\"));e.find('input[name=\"width\"]').val(t.get(0).style.width||t.attr(\"width\")).trigger(\"change\"),e.find('input[name=\"height\"]').val(t.get(0).style.height||t.attr(\"height\")).trigger(\"change\")}}function X(e){if(e)return w.popups.onRefresh(\"video.size\",F),!0;var t={buttons:'<div class=\"fr-buttons fr-tabs\">'.concat(w.button.buildList(w.opts.videoSizeButtons),\"</div>\"),size_layer:'<div class=\"fr-video-size-layer fr-layer fr-active\" id=\"fr-video-size-layer-'.concat(w.id,'\"><div class=\"fr-video-group\"><div class=\"fr-input-line\"><input id=\"fr-video-size-layer-width-').concat(w.id,'\" type=\"text\" name=\"width\" placeholder=\"').concat(w.language.translate(\"Width\"),'\" tabIndex=\"1\"></div><div class=\"fr-input-line\"><input id=\"fr-video-size-layer-height-').concat(w.id,'\" type=\"text\" name=\"height\" placeholder=\"').concat(w.language.translate(\"Height\"),'\" tabIndex=\"1\"></div></div><div class=\"fr-action-buttons\"><button type=\"button\" class=\"fr-command fr-submit\" data-cmd=\"videoSetSize\" tabIndex=\"2\" role=\"button\">').concat(w.language.translate(\"Update\"),\"</button></div></div>\")},o=w.popups.create(\"video.size\",t);return w.events.$on(w.$wp,\"scroll\",function(){E&&w.popups.isVisible(\"video.size\")&&(w.events.disableBlur(),y(E))}),o}function G(e){if(void 0===e&&(e=E),e){if(e.hasClass(\"fr-fvl\"))return\"left\";if(e.hasClass(\"fr-fvr\"))return\"right\";if(e.hasClass(\"fr-dvb\")||e.hasClass(\"fr-dvi\"))return\"center\";if(\"block\"==e.css(\"display\")){if(\"left\"==e.css(\"text-algin\"))return\"left\";if(\"right\"==e.css(\"text-align\"))return\"right\"}else{if(\"left\"==e.css(\"float\"))return\"left\";if(\"right\"==e.css(\"float\"))return\"right\"}}return\"center\"}function j(e){void 0===e&&(e=E);var t=e.css(\"float\");return e.css(\"float\",\"none\"),\"block\"==e.css(\"display\")?(e.css(\"float\",\"\"),e.css(\"float\")!=t&&e.css(\"float\",t),\"block\"):(e.css(\"float\",\"\"),e.css(\"float\")!=t&&e.css(\"float\",t),\"inline\")}function W(){if(E&&!1!==w.events.trigger(\"video.beforeRemove\",[E])){var e=E;w.popups.hideAll(),M(!0),w.selection.setBefore(e.get(0))||w.selection.setAfter(e.get(0)),e.remove(),w.selection.restore(),w.html.fillEmptyBlocks()}}function q(){l()}function J(e,t,o){!w.opts.htmlUntouched&&w.opts.useClasses?(e.removeClass(\"fr-fvl fr-fvr fr-dvb fr-dvi\"),e.addClass(\"fr-fv\".concat(o[0],\" fr-dv\").concat(t[0]))):\"inline\"==t?(e.css({display:\"inline-block\"}),\"center\"==o?e.css({\"float\":\"none\"}):\"left\"==o?e.css({\"float\":\"left\"}):e.css({\"float\":\"right\"})):(e.css({display:\"block\",clear:\"both\"}),\"left\"==o?e.css({textAlign:\"left\"}):\"right\"==o?e.css({textAlign:\"right\"}):e.css({textAlign:\"center\"}))}function Z(){var e=w.$el.find(\"video\").filter(function(){return 0===A(this).parents(\"span.fr-video\").length});if(0!=e.length){e.wrap(A(document.createElement(\"span\")).attr(\"class\",\"fr-video fr-deletable\").attr(\"contenteditable\",\"false\")),w.$el.find(\"embed, iframe\").filter(function(){if(w.browser.safari&&this.getAttribute(\"src\")&&this.setAttribute(\"src\",this.src),0<A(this).parents(\"span.fr-video\").length)return!1;for(var e=A(this).attr(\"src\"),t=0;t<ye.VIDEO_PROVIDERS.length;t++){var o=ye.VIDEO_PROVIDERS[t];if(o.test_regex.test(e)&&new RegExp(w.opts.videoAllowedProviders.join(\"|\")).test(o.provider))return!0}return!1}).map(function(){return 0===A(this).parents(\"object\").length?this:A(this).parents(\"object\").get(0)}).wrap(A(document.createElement(\"span\")).attr(\"class\",\"fr-video\").attr(\"contenteditable\",\"false\"));for(var t,o,i,r,a=w.$el.find(\"span.fr-video, video\"),n=0;n<a.length;n++){var s=A(a[n]);!w.opts.htmlUntouched&&w.opts.useClasses?((r=s).hasClass(\"fr-dvi\")||r.hasClass(\"fr-dvb\")||(r.addClass(\"fr-fv\".concat(G(r)[0])),r.addClass(\"fr-dv\".concat(j(r)[0]))),w.opts.videoTextNear||s.removeClass(\"fr-dvi\").addClass(\"fr-dvb\")):w.opts.htmlUntouched||w.opts.useClasses||(void 0,o=(t=s).hasClass(\"fr-dvb\")?\"block\":t.hasClass(\"fr-dvi\")?\"inline\":null,i=t.hasClass(\"fr-fvl\")?\"left\":t.hasClass(\"fr-fvr\")?\"right\":G(t),J(t,o,i),t.removeClass(\"fr-dvb fr-dvi fr-fvr fr-fvl\"))}a.toggleClass(\"fr-draggable\",w.opts.videoMove)}}function Q(e){document.getElementById(\"autoplay-\".concat(w.id)).style.cssText=\"background:\".concat(e)}function ee(){if(E){w.selection.clear();var e=w.doc.createRange();e.selectNode(E.get(0)),w.selection.get().addRange(e)}}return r[1]=\"Video cannot be loaded from the passed link.\",r[c]=\"No link in upload response.\",r[v]=\"Error during file upload.\",r[u]=\"Parsing response failed.\",r[S]=\"File is too large.\",r[U]=\"Video file type is invalid.\",r[7]=\"Files can be uploaded only to same domain in IE 8 and IE 9.\",w.shared.vid_exit_flag=!1,{_init:function te(){w.opts.videoResponsive&&(w.opts.videoResize=!1),function e(){w.events.on(\"drop\",N,!0),w.events.on(\"mousedown window.mousedown\",V),w.events.on(\"window.touchmove\",Y),w.events.on(\"mouseup window.mouseup\",M),w.events.on(\"commands.mousedown\",function(e){0<e.parents(\".fr-toolbar\").length&&M()}),w.events.on(\"video.hideResizer commands.undo commands.redo element.dropped\",function(){M(!0)})}(),w.helpers.isMobile()&&(w.events.$on(w.$el,\"touchstart\",\"span.fr-video\",function(){o=!1}),w.events.$on(w.$el,\"touchmove\",function(){o=!0})),w.events.on(\"html.set\",Z),Z(),w.events.$on(w.$el,\"mousedown\",\"span.fr-video\",function(e){e.stopPropagation(),(w.browser.msie||w.browser.edge)&&(e.target.innerText||(e.target.dragDrop(),t.call(this,e)))}),w.events.$on(w.$el,\"click touchend\",\"span.fr-video\",function(e){if(e.target.innerText.length||\"false\"==A(this).parents(\"[contenteditable]\").not(\".fr-element\").not(\".fr-img-caption\").not(\"body\").first().attr(\"contenteditable\"))return!0;t.call(this,e)}),w.events.on(\"keydown\",function(e){var t=e.which;return!E||t!=ye.KEYCODE.BACKSPACE&&t!=ye.KEYCODE.DELETE?E&&t==ye.KEYCODE.ESC?(M(!0),e.preventDefault(),!1):E&&t!=ye.KEYCODE.F10&&!w.keys.isBrowserAction(e)?(e.preventDefault(),!1):void 0:(e.preventDefault(),W(),w.undo.saveStep(),!1)},!0),w.events.on(\"toolbar.esc\",function(){if(E)return w.events.disableBlur(),w.events.focus(),!1},!0),w.events.on(\"toolbar.focusEditor\",function(){if(E)return!1},!0),w.events.on(\"keydown\",function(){w.$el.find(\"span.fr-video:empty\").remove()}),w.$wp&&(L(),w.events.on(\"contentChanged\",L)),n(!0),X(!0)},showInsertPopup:function oe(){var e=w.$tb.find('.fr-command[data-cmd=\"insertVideo\"]'),t=w.popups.get(\"video.insert\");if(t||(t=n()),l(),!t.hasClass(\"fr-active\"))if(w.popups.refresh(\"video.insert\"),w.popups.setContainer(\"video.insert\",w.$tb),e.isVisible()){var o=w.button.getPosition(e),i=o.left,r=o.top;w.popups.show(\"video.insert\",i,r,e.outerHeight())}else w.position.forSelection(t),w.popups.show(\"video.insert\")},showLayer:function ie(e){var t,o,i=w.popups.get(\"video.insert\");if(!E&&!w.opts.toolbarInline){var r=w.$tb.find('.fr-command[data-cmd=\"insertVideo\"]');t=r.offset().left,o=r.offset().top+(w.opts.toolbarBottom?10:r.outerHeight()-10)}w.opts.toolbarInline&&(o=i.offset().top-w.helpers.getPX(i.css(\"margin-top\")),i.hasClass(\"fr-above\")&&(o+=i.outerHeight())),i.find(\".fr-layer\").removeClass(\"fr-active\"),i.find(\".fr-\".concat(e,\"-layer\")).addClass(\"fr-active\"),w.popups.show(\"video.insert\",t,o,0),w.accessibility.focusPopup(i)},refreshByURLButton:function re(e){var t=w.popups.get(\"video.insert\");t&&t.find(\".fr-video-by-url-layer\").hasClass(\"fr-active\")&&e.addClass(\"fr-active\").attr(\"aria-pressed\",!0)},refreshEmbedButton:function ae(e){var t=w.popups.get(\"video.insert\");t&&t.find(\".fr-video-embed-layer\").hasClass(\"fr-active\")&&e.addClass(\"fr-active\").attr(\"aria-pressed\",!0)},refreshUploadButton:function ne(e){var t=w.popups.get(\"video.insert\");t&&t.find(\".fr-video-upload-layer\").hasClass(\"fr-active\")&&e.addClass(\"fr-active\").attr(\"aria-pressed\",!0)},upload:H,insertByURL:function se(e){var t=!!document.getElementById(\"videoPluginAutoplay\")&&document.getElementById(\"videoPluginAutoplay\").checked;void 0===e&&(e=(w.popups.get(\"video.insert\").find('.fr-video-by-url-layer input[type=\"text\"]').val()||\"\").trim());var o=null;if(/^http/.test(e)||(e=\"https://\".concat(e)),w.helpers.isURL(e))for(var i=0;i<ye.VIDEO_PROVIDERS.length;i++){var r=ye.VIDEO_PROVIDERS[i],a=\"autoplay=1\";if(r.html.includes(\"autoplay=1\")&&document.getElementById(\"videoPluginAutoplay\").checked)r.html=r.html,document.getElementById(\"videoPluginAutoplay\").checked=!1;else if(t){var n=r.html.indexOf(\"{url}\")+5;r.html=[r.html.slice(0,n),a,r.html.slice(n)].join(\"\"),t=!1,document.getElementById(\"videoPluginAutoplay\").checked=!1}else(r=ye.VIDEO_PROVIDERS[i]).html=r.html.replace(a,\"\");if(r.test_regex.test(e)&&new RegExp(w.opts.videoAllowedProviders.join(\"|\")).test(r.provider)){o=e.replace(r.url_regex,r.url_text),o=r.html.replace(/\\{url\\}/,o);break}}o?d(o):(b(w.language.translate(\"Something went wrong. Please try again.\")),w.events.trigger(\"video.linkError\",[e]))},insertEmbed:function de(e){void 0===e&&(e=w.popups.get(\"video.insert\").find(\".fr-video-embed-layer textarea\").val()||\"\"),0!==e.length&&ye.VIDEO_EMBED_REGEX.test(e)?d(e):(b(w.language.translate(\"Something went wrong. Please try again.\")),w.events.trigger(\"video.codeError\",[e]))},insert:d,align:function le(e){E.removeClass(\"fr-fvr fr-fvl\"),!w.opts.htmlUntouched&&w.opts.useClasses?\"left\"==e?E.addClass(\"fr-fvl\"):\"right\"==e&&E.addClass(\"fr-fvr\"):J(E,j(),e),ee(),O(),a(),w.selection.clear()},refreshAlign:function pe(e){if(!E)return!1;e.find(\">*\").first().replaceWith(w.icon.create(\"video-align-\".concat(G())))},refreshAlignOnShow:function fe(e,t){E&&t.find('.fr-command[data-param1=\"'.concat(G(),'\"]')).addClass(\"fr-active\").attr(\"aria-selected\",!0)},display:function ce(e){E.removeClass(\"fr-dvi fr-dvb\"),!w.opts.htmlUntouched&&w.opts.useClasses?\"inline\"==e?E.addClass(\"fr-dvi\"):\"block\"==e&&E.addClass(\"fr-dvb\"):J(E,e,G()),ee(),O(),a(),w.selection.clear()},refreshDisplayOnShow:function ve(e,t){E&&t.find('.fr-command[data-param1=\"'.concat(j(),'\"]')).addClass(\"fr-active\").attr(\"aria-selected\",!0)},remove:W,hideProgressBar:l,showSizePopup:function ue(){var e=w.popups.get(\"video.size\");e||(e=X()),l(),w.popups.refresh(\"video.size\"),w.popups.setContainer(\"video.size\",w.$sc);var t=E.find(\"iframe, embed, \".concat(E.find(\"iframe, embed, audio\").get(0)?\"audio\":\"video\")),o=t.offset().left+t.outerWidth()/2,i=t.offset().top+t.height();w.popups.show(\"video.size\",o,i,t.height(),!0)},replace:function ge(){var e=w.popups.get(\"video.insert\");e||(e=n()),w.popups.isVisible(\"video.insert\")||(l(),w.popups.refresh(\"video.insert\"),w.popups.setContainer(\"video.insert\",w.$sc));var t=E.offset().left+E.outerWidth()/2,o=E.offset().top+E.height();w.popups.show(\"video.insert\",t,o,E.outerHeight(),!0)},back:function e(){E?(w.events.disableBlur(),E[0].click()):(w.events.disableBlur(),w.selection.restore(),w.events.enableBlur(),w.popups.hide(\"video.insert\"),w.toolbar.showInline())},setSize:function he(e,t){if(E){var o=w.popups.get(\"video.size\"),i=E.find(\"iframe, embed, \".concat(E.find(\"iframe, embed, audio\").get(0)?\"audio\":\"video\"));i.css(\"width\",e||o.find('input[name=\"width\"]').val()),i.css(\"height\",t||o.find('input[name=\"height\"]').val()),i.get(0).style.width&&i.removeAttr(\"width\"),i.get(0).style.height&&i.removeAttr(\"height\"),o.find(\"input:focus\").blur(),setTimeout(function(){E.trigger(\"click\")},w.helpers.isAndroid()?50:0)}},get:function me(){return E},showProgressBar:x,_editVideo:y,setAutoplay:function be(){var e;if(E.find(\"iframe, embed, audio\").get(0))(e=E.find(\"iframe, embed, audio\")).get(0).src.includes(\"autoplay=1\")?(Q(\"#FFFFFF\"),e.get(0).src=e.get(0).src.replace(\"&autoplay=1\",\"\")):(Q(\"#D6D6D6\"),e.get(0).src=e.get(0).src+\"&autoplay=1\");else if((e=E.find(\"iframe, embed, video\")).get(0).outerHTML.includes(\"autoplay\"))Q(\"#FFFFFF\"),e.get(0).outerHTML=e.get(0).outerHTML.replace(\"autoplay\",\"\");else{Q(\"#D6D6D6\");var t=e.get(0).outerHTML.indexOf(\"class\")-1;e.get(0).outerHTML=[e.get(0).outerHTML.slice(0,t),\"autoplay\",e.get(0).outerHTML.slice(t)].join(\"\")}}}},ye.RegisterCommand(\"insertVideo\",{title:\"Insert Video\",undo:!1,focus:!0,refreshAfterCallback:!1,popup:!0,callback:function(){this.popups.isVisible(\"video.insert\")?(this.$el.find(\".fr-marker\").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide(\"video.insert\")):this.video.showInsertPopup()},plugin:\"video\"}),ye.DefineIcon(\"insertVideo\",{NAME:\"video-camera\",FA5NAME:\"camera\",SVG_KEY:\"insertVideo\"}),ye.DefineIcon(\"videoByURL\",{NAME:\"link\",SVG_KEY:\"insertLink\"}),ye.RegisterCommand(\"videoByURL\",{title:\"By URL\",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer(\"video-by-url\")},refresh:function(e){this.video.refreshByURLButton(e)}}),ye.DefineIcon(\"videoEmbed\",{NAME:\"code\",SVG_KEY:\"codeView\"}),ye.RegisterCommand(\"videoEmbed\",{title:\"Embedded Code\",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer(\"video-embed\")},refresh:function(e){this.video.refreshEmbedButton(e)}}),ye.DefineIcon(\"videoUpload\",{NAME:\"upload\",SVG_KEY:\"upload\"}),ye.RegisterCommand(\"videoUpload\",{title:\"Upload Video\",undo:!1,focus:!1,toggle:!0,callback:function(){this.video.showLayer(\"video-upload\")},refresh:function(e){this.video.refreshUploadButton(e)}}),ye.RegisterCommand(\"videoInsertByURL\",{undo:!0,focus:!0,callback:function(){this.video.insertByURL()}}),ye.RegisterCommand(\"videoInsertEmbed\",{undo:!0,focus:!0,callback:function(){this.video.insertEmbed()}}),ye.DefineIcon(\"videoDisplay\",{NAME:\"star\",SVG_KEY:\"star\"}),ye.RegisterCommand(\"videoDisplay\",{title:\"Display\",type:\"dropdown\",options:{inline:\"Inline\",block:\"Break Text\"},callback:function(e,t){this.video.display(t)},refresh:function(e){this.opts.videoTextNear||e.addClass(\"fr-hidden\")},refreshOnShow:function(e,t){this.video.refreshDisplayOnShow(e,t)}}),ye.DefineIcon(\"video-align\",{NAME:\"align-left\",SVG_KEY:\"align Left\"}),ye.DefineIcon(\"video-align-left\",{NAME:\"align-left\",SVG_KEY:\"alignLeft\"}),ye.DefineIcon(\"video-align-right\",{NAME:\"align-right\",SVG_KEY:\"alignRight\"}),ye.DefineIcon(\"video-align-center\",{NAME:\"align-justify\",SVG_KEY:\"alignJustify\"}),ye.DefineIcon(\"videoAlign\",{NAME:\"align-center\",SVG_KEY:\"alignCenter\"}),ye.RegisterCommand(\"videoAlign\",{type:\"dropdown\",title:\"Align\",options:{left:\"Align Left\",center:\"None\",right:\"Align Right\"},html:function(){var e='<ul class=\"fr-dropdown-list\" role=\"presentation\">',t=ye.COMMANDS.videoAlign.options;for(var o in t)t.hasOwnProperty(o)&&(e+='<li role=\"presentation\"><a class=\"fr-command fr-title\" tabIndex=\"-1\" role=\"option\" data-cmd=\"videoAlign\" data-param1=\"'.concat(o,'\" title=\"').concat(this.language.translate(t[o]),'\">').concat(this.icon.create(\"video-align-\".concat(o)),'<span class=\"fr-sr-only\">').concat(this.language.translate(t[o]),\"</span></a></li>\"));return e+=\"</ul>\"},callback:function(e,t){this.video.align(t)},refresh:function(e){this.video.refreshAlign(e)},refreshOnShow:function(e,t){this.video.refreshAlignOnShow(e,t)}}),ye.DefineIcon(\"videoReplace\",{NAME:\"exchange\",FA5NAME:\"exchange-alt\",SVG_KEY:\"replaceImage\"}),ye.RegisterCommand(\"videoReplace\",{title:\"Replace\",undo:!1,focus:!1,popup:!0,refreshAfterCallback:!1,callback:function(){this.video.replace()}}),ye.DefineIcon(\"videoRemove\",{NAME:\"trash\",SVG_KEY:\"remove\"}),ye.RegisterCommand(\"videoRemove\",{title:\"Remove\",callback:function(){this.video.remove()}}),ye.DefineIcon(\"autoplay\",{NAME:\"autoplay\",SVG_KEY:\"autoplay\"}),ye.RegisterCommand(\"autoplay\",{undo:!1,focus:!1,popup:!0,title:\"Autoplay\",callback:function(){this.video.setAutoplay()}}),ye.DefineIcon(\"videoSize\",{NAME:\"arrows-alt\",SVG_KEY:\"imageSize\"}),ye.RegisterCommand(\"videoSize\",{undo:!1,focus:!1,popup:!0,title:\"Change Size\",callback:function(){this.video.showSizePopup()}}),ye.DefineIcon(\"videoBack\",{NAME:\"arrow-left\",SVG_KEY:\"back\"}),ye.RegisterCommand(\"videoBack\",{title:\"Back\",undo:!1,focus:!1,back:!0,callback:function(){this.video.back()},refresh:function(e){this.video.get()||this.opts.toolbarInline?(e.removeClass(\"fr-hidden\"),e.next(\".fr-separator\").removeClass(\"fr-hidden\")):(e.addClass(\"fr-hidden\"),e.next(\".fr-separator\").addClass(\"fr-hidden\"))}}),ye.RegisterCommand(\"videoDismissError\",{title:\"OK\",undo:!1,callback:function(){this.video.hideProgressBar(!0)}}),ye.RegisterCommand(\"videoSetSize\",{undo:!0,focus:!1,title:\"Update\",refreshAfterCallback:!1,callback:function(){this.video.setSize()}})});","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?t(require(\"froala-editor\")):\"function\"==typeof define&&define.amd?define([\"froala-editor\"],t):t(e.FroalaEditor)}(this,function(w){\"use strict\";w=w&&w.hasOwnProperty(\"default\")?w[\"default\"]:w,Object.assign(w.DEFAULTS,{wordDeniedTags:[],wordDeniedAttrs:[],wordAllowedStyleProps:[\"font-family\",\"font-size\",\"background\",\"color\",\"width\",\"text-align\",\"vertical-align\",\"background-color\",\"padding\",\"margin\",\"height\",\"margin-top\",\"margin-left\",\"margin-right\",\"margin-bottom\",\"text-decoration\",\"font-weight\",\"font-style\",\"text-indent\",\"border\",\"border-.*\",\"line-height\",\"list-style-type\"],wordPasteModal:!0,wordPasteKeepFormatting:!0}),w.PLUGINS.wordPaste=function(N){var l,n,d=N.$,s=\"word_paste\",u={};function t(e){var t=N.opts.wordAllowedStyleProps;e||(N.opts.wordAllowedStyleProps=[]),0===n.indexOf(\"<colgroup>\")&&(n=\"<table>\"+n+\"</table>\"),n=a(n=n.replace(/<span[\\n\\r ]*style='mso-spacerun:yes'>([\\r\\n\\u00a0 ]*)<\\/span>/g,function(e,t){for(var r=\"\",i=0;i++<t.length;)r+=\"&nbsp;\";return r}),N.paste.getRtfClipboard());var r=N.doc.createElement(\"DIV\");r.innerHTML=n,N.html.cleanBlankSpaces(r),n=r.innerHTML,n=(n=N.paste.cleanEmptyTagsAndDivs(n)).replace(/\\u200b/g,\"\"),function i(){N.modals.hide(s)}(),N.paste.clean(n,!0,!0),N.opts.wordAllowedStyleProps=t}function C(e){e.parentNode&&e.parentNode.removeChild(e)}function p(e,t){if(t(e))for(var r=e.firstChild;r;){var i=r,n=r.previousSibling;r=r.nextSibling,p(i,t),i.previousSibling||i.nextSibling||i.parentNode||!r||n===r.previousSibling||!r.parentNode?i.previousSibling||i.nextSibling||i.parentNode||!r||r.previousSibling||r.nextSibling||r.parentNode||(n?r=n.nextSibling?n.nextSibling.nextSibling:null:e.firstChild&&(r=e.firstChild.nextSibling)):r=n?n.nextSibling:e.firstChild}}function H(e){if(!e.getAttribute(\"style\")||!/mso-list:[\\s]*l/gi.test(e.getAttribute(\"style\").replace(/\\n/gi,\"\")))return!1;try{if(!e.querySelector('[style=\"mso-list:Ignore\"]'))return!!(e.outerHTML&&0<=e.outerHTML.indexOf(\"\\x3c!--[if !supportLists]--\\x3e\"))}catch(t){return!1}return!0}function O(e){return e.getAttribute(\"style\").replace(/\\n/gi,\"\").replace(/.*level([0-9]+?).*/gi,\"$1\")}function I(e,i){var t=e.cloneNode(!0);if(-1!==[\"H1\",\"H2\",\"H3\",\"H4\",\"H5\",\"H6\"].indexOf(e.tagName)){var r=document.createElement(e.tagName.toLowerCase());r.setAttribute(\"style\",e.getAttribute(\"style\")),r.innerHTML=t.innerHTML,t.innerHTML=r.outerHTML}p(t,function(e){if(e.nodeType==Node.COMMENT_NODE&&(N.browser.msie||N.browser.safari||N.browser.edge))try{if(\"[if !supportLists]\"===e.data){for(e=e.nextSibling;e&&e.nodeType!==Node.COMMENT_NODE;){var t=e.nextSibling;e.parentNode.removeChild(e),e=t}e&&e.nodeType==Node.COMMENT_NODE&&e.parentNode.removeChild(e)}}catch(r){}return e.nodeType===Node.ELEMENT_NODE&&(\"mso-list:\\nIgnore\"===e.getAttribute(\"style\")&&e.setAttribute(\"style\",\"mso-list:Ignore\"),\"mso-list:Ignore\"===e.getAttribute(\"style\")&&e.parentNode.removeChild(e),e.setAttribute(\"style\",function n(e){var r=\"\",i=e.getAttribute(\"style\");i&&[\"line-height\",\"font-family\",\"font-size\",\"color\",\"background\"].forEach(function(e){var t=i.match(new RegExp(e+\":.*(;|)\"));t&&(r+=t[0]+\";\")});return r}(e)),h(e,i)),!0});var n=t.innerHTML;return n=n.replace(/<!--[\\s\\S]*?-->/gi,\"\")}function y(e,t){for(var r=document.createElement(t),i=0;i<e.attributes.length;i++){var n=e.attributes[i].name;r.setAttribute(n,e.getAttribute(n))}return r.innerHTML=e.innerHTML,e.parentNode.replaceChild(r,e),r}function A(e){var t=e.getAttribute(\"align\");t&&(e.style[\"text-align\"]=t,e.removeAttribute(\"align\"))}function E(e){return e.replace(/\\n|\\r|\\n\\r|&quot;/g,\"\")}function T(e,t,r){if(t){var i=e.getAttribute(\"style\");i&&\";\"!==i.slice(-1)&&(i+=\";\"),t&&\";\"!==t.slice(-1)&&(t+=\";\"),t=t.replace(/\\n/gi,\"\");var n=null;n=r?(i||\"\")+t:t+(i||\"\"),e.setAttribute(\"style\",n)}}var c=null;function f(e,t,r){for(var i=e.split(r),n=1;n<i.length;n++){var a=i[n];if(1<(a=a.split(\"shplid\")).length){a=a[1];for(var l=\"\",s=0;s<a.length&&\"\\\\\"!==a[s]&&\"{\"!==a[s]&&\" \"!==a[s]&&\"\\r\"!==a[s]&&\"\\n\"!==a[s];)l+=a[s],s++;var o=a.split(\"bliptag\");if(o&&o.length<2)continue;var d=null;if(-1!==o[0].indexOf(\"pngblip\")?d=\"image/png\":-1!==o[0].indexOf(\"jpegblip\")&&(d=\"image/jpeg\"),!d)continue;var f=o[1].split(\"}\");if(f&&f.length<2)continue;var g=void 0;if(2<f.length&&-1!==f[0].indexOf(\"blipuid\"))g=f[1].split(\" \");else{if((g=f[0].split(\" \"))&&g.length<2)continue;g.shift()}var u=g.join(\"\");c[t+l]={image_hex:u,image_type:d}}}}function m(e,t){if(t){var r;if(\"IMG\"===e.tagName){var i=e.getAttribute(\"src\");if(!i||-1===i.indexOf(\"file://\"))return;if(0===i.indexOf(\"file://\")&&N.helpers.isURL(e.getAttribute(\"alt\")))return void e.setAttribute(\"src\",e.getAttribute(\"alt\"));(r=u[e.getAttribute(\"v:shapes\")])||(r=e.getAttribute(\"v:shapes\"),e.parentNode&&e.parentNode.parentNode&&0<=e.parentNode.parentNode.innerHTML.indexOf(\"msEquation\")&&(r=null))}else r=e.parentNode.getAttribute(\"o:spid\");if(e.removeAttribute(\"height\"),r){!function s(e){c={},f(e,\"i\",\"\\\\shppict\"),f(e,\"s\",\"\\\\shp{\")}(t);var n=c[r.substring(7)];if(n){var a=function o(e){for(var t=e.match(/[0-9a-f]{2}/gi),r=[],i=0;i<t.length;i++)r.push(String.fromCharCode(parseInt(t[i],16)));var n=r.join(\"\");return btoa(n)}(n.image_hex),l=\"data:\"+n.image_type+\";base64,\"+a;\"IMG\"===e.tagName?(e.src=l,e.setAttribute(\"data-fr-image-pasted\",!0)):d(e.parentNode).before('<img data-fr-image-pasted=\"true\" src=\"'+l+'\" style=\"'+e.parentNode.getAttribute(\"style\")+'\">').remove()}}}}function h(e,t){var r=e.tagName,i=r.toLowerCase();e.firstElementChild&&(\"I\"===e.firstElementChild.tagName?y(e.firstElementChild,\"em\"):\"B\"===e.firstElementChild.tagName&&y(e.firstElementChild,\"strong\"));if(-1!==[\"SCRIPT\",\"APPLET\",\"EMBED\",\"NOFRAMES\",\"NOSCRIPT\"].indexOf(r))return C(e),!1;for(var n=[\"META\",\"LINK\",\"XML\",\"ST1:\",\"O:\",\"W:\",\"FONT\"],a=0;a<n.length;a++)if(-1!==r.indexOf(n[a]))return e.innerHTML&&(e.outerHTML=e.innerHTML),C(e),!1;if(\"TD\"!==r){var l=e.getAttribute(\"class\")||\"MsoNormal\";if(t&&l){for(var s=(l=E(l)).split(\" \"),o=0;o<s.length;o++){var d=[],f=\".\"+s[o];d.push(f),f=i+f,d.push(f);for(var g=0;g<d.length;g++)t[d[g]]&&T(e,t[d[g]])}e.removeAttribute(\"class\")}t&&t[i]&&T(e,t[i])}if(-1!==[\"P\",\"H1\",\"H2\",\"H3\",\"H4\",\"H5\",\"H6\",\"PRE\"].indexOf(r)){var u=e.getAttribute(\"class\");if(u&&(t&&t[r.toLowerCase()+\".\"+u]&&T(e,t[r.toLowerCase()+\".\"+u]),-1!==u.toLowerCase().indexOf(\"mso\"))){var p=E(u);(p=p.replace(/[0-9a-z-_]*mso[0-9a-z-_]*/gi,\"\"))?e.setAttribute(\"class\",p):e.removeAttribute(\"class\")}var c=e.getAttribute(\"style\");if(c){var m=c.match(/text-align:.+?[; \"]{1,1}/gi);m&&m[m.length-1].replace(/(text-align:.+?[; \"]{1,1})/gi,\"$1\")}A(e)}if(\"TR\"===r&&function x(e,t){N.node.clearAttributes(e);for(var r=e.firstElementChild,i=0,n=!1,a=null;r;){r.firstElementChild&&-1!==r.firstElementChild.tagName.indexOf(\"W:\")&&(r.innerHTML=r.firstElementChild.innerHTML),(a=r.getAttribute(\"width\"))||n||(n=!0),i+=parseInt(a,10),(!r.firstChild||r.firstChild&&r.firstChild.data===w.UNICODE_NBSP)&&(r.firstChild&&C(r.firstChild),r.innerHTML=\"<br>\");for(var l=r.firstElementChild,s=1===r.children.length;l;)\"P\"!==l.tagName||H(l)||s&&A(l),l=l.nextElementSibling;if(t){var o=r.getAttribute(\"class\");if(o){var d=(o=E(o)).match(/xl[0-9]+/gi);if(d){var f=\".\"+d[0];t[f]&&T(r,t[f])}}t.td&&T(r,t.td)}var g=r.getAttribute(\"style\");g&&(g=E(g))&&\";\"!==g.slice(-1)&&(g+=\";\");var u=r.getAttribute(\"valign\");if(!u&&g){var p=g.match(/vertical-align:.+?[; \"]{1,1}/gi);p&&(u=p[p.length-1].replace(/vertical-align:(.+?)[; \"]{1,1}/gi,\"$1\"))}var c=null;if(g){var m=g.match(/text-align:.+?[; \"]{1,1}/gi);m&&(c=m[m.length-1].replace(/text-align:(.+?)[; \"]{1,1}/gi,\"$1\")),\"general\"===c&&(c=null)}var h=null;if(g){var v=g.match(/background:.+?[; \"]{1,1}/gi);v&&(h=v[v.length-1].replace(/background:(.+?)[; \"]{1,1}/gi,\"$1\"))}var b=r.getAttribute(\"colspan\"),y=r.getAttribute(\"rowspan\");b&&r.setAttribute(\"colspan\",b),y&&r.setAttribute(\"rowspan\",y),u&&(r.style[\"vertical-align\"]=u),c&&(r.style[\"text-align\"]=c),h&&(r.style[\"background-color\"]=h),a&&r.setAttribute(\"width\",a),r=r.nextElementSibling}for(r=e.firstElementChild;r;)a=r.getAttribute(\"width\"),n?r.removeAttribute(\"width\"):r.setAttribute(\"width\",100*parseInt(a,10)/i+\"%\"),r=r.nextElementSibling}(e,t),\"A\"!==r||e.attributes.getNamedItem(\"href\")||e.attributes.getNamedItem(\"name\")||!e.innerHTML||(e.outerHTML=e.innerHTML),\"A\"==r&&e.getAttribute(\"href\")&&e.querySelector(\"img\"))for(var h=e.querySelectorAll(\"span\"),v=0;v<h.length;v++)h[v].innerText||(h[v].outerHTML=h[v].innerHTML);if(\"TD\"!==r&&\"TH\"!==r||e.innerHTML||(e.innerHTML=\"<br>\"),\"TABLE\"===r&&(e.style.width=e.style.width),e.getAttribute(\"lang\")&&e.removeAttribute(\"lang\"),e.getAttribute(\"style\")&&-1!==e.getAttribute(\"style\").toLowerCase().indexOf(\"mso\")){var b=E(e.getAttribute(\"style\"));(b=b.replace(/[0-9a-z-_]*mso[0-9a-z-_]*:.+?(;{1,1}|$)/gi,\"\"))?e.setAttribute(\"style\",b):e.removeAttribute(\"style\")}return!0}function a(e,t){0<=e.indexOf(\"<html\")&&(e=e.replace(/[.\\s\\S\\w\\W<>]*(<html[^>]*>[.\\s\\S\\w\\W<>]*<\\/html>)[.\\s\\S\\w\\W<>]*/i,\"$1\")),function f(e){for(var t=e.split(\"v:shape\"),r=1;r<t.length;r++){var i=t[r],n=i.split(' id=\"')[1];if(n&&1<n.length){n=n.split('\"')[0];var a=i.split(' o:spid=\"')[1];a&&1<a.length&&(a=a.split('\"')[0],u[n]=a)}}}(e);var r=(new DOMParser).parseFromString(e,\"text/html\"),i=r.head,n=r.body,s=function g(e){var t={},r=e.getElementsByTagName(\"style\");if(r.length){var i=r[0].innerHTML.match(/[\\S ]+\\s+{[\\s\\S]+?}/gi);if(i)for(var n=0;n<i.length;n++){var a=i[n],l=a.replace(/([\\S ]+\\s+){[\\s\\S]+?}/gi,\"$1\"),s=a.replace(/[\\S ]+\\s+{([\\s\\S]+?)}/gi,\"$1\");l=l.replace(/^[\\s]|[\\s]$/gm,\"\"),s=s.replace(/^[\\s]|[\\s]$/gm,\"\"),l=l.replace(/\\n|\\r|\\n\\r/g,\"\"),s=s.replace(/\\n|\\r|\\n\\r/g,\"\");for(var o=l.split(\", \"),d=0;d<o.length;d++)t[o[d]]=s}}return t}(i);p(n,function(e){if(e.nodeType===Node.TEXT_NODE&&/\\n|\\u00a0|\\r/.test(e.data)){if(!/\\S| /.test(e.data)&&!/[\\u00a0]+/.test(e.data))return e.data===w.UNICODE_NBSP?(e.data=\"\\u200b\",!0):1===e.data.length&&10===e.data.charCodeAt(0)?(e.data=\" \",!0):(C(e),!1);e.data=e.data.replace(/\\n|\\r/gi,\" \")}return!0}),p(n,function(e){return e.nodeType!==Node.ELEMENT_NODE||\"V:IMAGEDATA\"!==e.tagName&&\"IMG\"!==e.tagName||m(e,t),!0});for(var a=n.querySelectorAll(\"ul > ul, ul > ol, ol > ul, ol > ol\"),l=a.length-1;0<=l;l--)a[l].previousElementSibling&&\"LI\"===a[l].previousElementSibling.tagName&&a[l].previousElementSibling.appendChild(a[l]);p(n,function(e){if(e.nodeType===Node.TEXT_NODE)return e.data=e.data.replace(/<br>(\\n|\\r)/gi,\"<br>\"),!1;if(e.nodeType===Node.ELEMENT_NODE){if(H(e)){var t=e.parentNode,r=e.previousSibling,i=function M(e,t,r,i){var n,a,l=/[0-9a-zA-Z]./gi,s=!1,o=navigator.userAgent.toLowerCase();-1!=o.indexOf(\"safari\")&&(o=-1<o.indexOf(\"chrome\")?1:\"safari\"),e.innerHTML.includes(\"mso-list:\\nIgnore\")&&(e.innerHTML=e.innerHTML.replace(/mso-list:\\nIgnore/gi,\"mso-list:Ignore\"));var d,f,g,u,p=e.querySelector('span[style=\"mso-list:Ignore\"]');null==p&&\"safari\"==o&&(p=e.querySelector('span[lang=\"PT-BR\"]'));var c;p&&(s=s||l.test(p.textContent)),null!==p&&(c=p.textContent.trim().split(\".\")[0]),g=1==s?(\"1\"==(c=p.textContent.trim().split(\".\")[0])?u=\"decimal;\":\"i\"==c?u=\"lower-roman;\":\"I\"==c?u=\"upper-roman;\":\"o\"==c?u=\"circle;\":c.match(/^v$/)||(c.match(/^[a-z]$/)||c.match(/^[a-z]\\)$/)?u=\"lower-alpha;\":(c.match(/^[A-Z]$/)||c.match(/^[A-Z]\\)$/))&&(u=\"upper-alpha;\")),u=\"list-style-type: \"+u,\"ol\"):(null!=p&&(c=p.textContent.trim().split(\".\")[0]),\"\\xa7\"==c?u=\"square;\":\"\\xb7\"==c&&(u=\"disc;\"),u=\"list-style-type: \"+u,\"ul\");var m,h=\"\";p==undefined||p.textContent==undefined||isNaN(parseInt(p.textContent.trim().split(\".\")[1],10))||(h=' class=\"decimal_type\" ');var v,b=O(e),y=e.style.marginLeft;if(y.includes(\"in\")?(v=\"in\",y=parseFloat(y)-.5):y.includes(\"pt\")&&(v=\"px\",y=parseFloat(y)-10),1==b)if(m=u?\"<\"+g+' style = \"'+u+\"; margin-left:\"+y+v+';\">':\"<\"+g+' style=\"margin-left:'+y+v+';\">',\"list-style-type: upper-alpha;\"==u){var x=c.charCodeAt(0)-64;m=u?\"<\"+g+h+' start=\"'+x+'\" style = \"'+u+\" margin-left:\"+y+v+';\">':\"<\"+g+\">\"}else if(\"list-style-type: lower-alpha;\"==u){var N=c.charCodeAt(0)-96;m=u?\"<\"+g+h+' start=\"'+N+'\" style = \"'+u+\"margin-left:\"+y+v+';\">':\"<\"+g+\">\"}else m=u?\"<\"+g+h+' style = \"'+u+\";margin-left:\"+y+v+';\">':\"<\"+g+' style=\"margin-left:'+y+v+';\">';else if(\"list-style-type: upper-alpha;\"==u){var C=c.charCodeAt(0)-64;m=u?\"<\"+g+h+' style = \"'+u+' start=\"'+C+'\">':\"<\"+g+\">\"}else if(\"list-style-type: lower-alpha;\"==u){var A=c.charCodeAt(0)-96;m=u?\"<\"+g+h+' style = \"'+u+' start=\"'+A+'\">':\"<\"+g+\">\"}else m=u?\"<\"+g+h+' style = \"'+u+'\">':\"<\"+g+\">\";for(var E=!1;e;){if(!H(e)){if(e.outerHTML&&0<e.outerHTML.indexOf(\"mso-bookmark\")&&0==(e.textContent||\"\").length){e=e.nextElementSibling;continue}break}var T=O(e);if((r=r||T)<T)m+=(f=M(e,t,T,e.style.marginLeft)).el.outerHTML,e=f.currentNode;else{if(T<r)break;e.firstElementChild&&e.firstElementChild.firstElementChild&&e.firstElementChild.firstElementChild.firstChild&&(l.lastIndex=0),a&&a.firstElementChild&&a.firstElementChild.firstElementChild&&a.firstElementChild.firstElementChild.firstChild&&(l.lastIndex=0,n=l.test(a.firstElementChild.firstElementChild.firstChild.data||a.firstElementChild.firstElementChild.firstChild.firstChild&&a.firstElementChild.firstElementChild.firstChild.firstChild.data||\"\"));var w=!1;(!i&&!e.style.marginLeft||i&&e.style.marginLeft&&i===e.style.marginLeft)&&(w=!0),i=e.style.marginLeft,w||n===undefined?(d=I(e,t),e.nextSibling.innerText==undefined||e.nextSibling.innerText==undefined||m.includes('class=\"decimal_type\"')||isNaN(parseInt(e.nextSibling.innerText.trim().split(\".\")[1],10))||(m=m.substring(3,0)+' class=\"decimal_type\"'+m.substring(3,m.length)),m+=\"<li>\"+d+\"</li>\"):(1==T&&(m+=\"</\"+g+\">\",E=!0,a=null),m+=(f=M(e,t,T,e.style.marginLeft)).el.outerHTML,e=f.currentNode);var S=e&&e.nextElementSibling;if(S&&(a=S.previousElementSibling),e&&!H(e)){if(e.outerHTML&&0<e.outerHTML.indexOf(\"mso-bookmark\")&&0==(e.textContent||\"\").length){e=e.nextElementSibling;continue}break}e&&e.parentNode&&e.parentNode.removeChild(e),e=S}}E||(m+=\"</\"+g+\">\");var L=document.createElement(\"div\");return L.innerHTML=m,{el:L,currentNode:e}}(e,s).el,n=null;return(n=r?r.nextSibling:t.firstChild)?t.insertBefore(i,n):t.appendChild(i),!1}return\"FONT\"===e.tagName&&s[\".\"+e.getAttribute(\"class\")]&&(e=y(e,\"span\")),h(e,s)}if(e.nodeType!==Node.COMMENT_NODE)return!0;if(-1<e.data.indexOf(\"[if !supportLineBreakNewLine]\"))for(var a=e.nextSibling;a;)(a=e.nextSibling)&&C(a),a.data&&-1<a.data.indexOf(\"[endif]\")&&(a=null);if(-1<e.data.indexOf(\"[if supportFields]\")&&-1<e.data.indexOf(\"FORMCHECKBOX\")){var l=document.createElement(\"input\");l.type=\"checkbox\",e.parentNode.insertBefore(l,e.nextSibling)}return C(e),!1}),p(n,function(e){if(e.nodeType===Node.ELEMENT_NODE){var t=e.tagName;if(!e.innerHTML&&-1===[\"BR\",\"IMG\",\"INPUT\"].indexOf(t)){for(var r=e.parentNode;r&&(C(e),!(e=r).innerHTML)&&\"TD\"!==e.parentNode.tagName;)r=e.parentNode;return!1}!function f(e){var t=e.getAttribute(\"style\");if(t){(t=E(t))&&\";\"!==t.slice(-1)&&(t+=\";\");var r=t.match(/(^|\\S+?):.+?;{1,1}/gi);if(r){for(var i={},n=0;n<r.length;n++){var a=r[n].split(\":\");2===a.length&&(\"text-align\"===a[0]&&\"SPAN\"===e.tagName||(i[a[0]]=a[1]))}var l=\"\";for(var s in i)if(i.hasOwnProperty(s)){if(\"font-size\"===s&&\"pt;\"===i[s].slice(-3)){var o=null;try{o=parseFloat(i[s].slice(0,-3),10)}catch(d){o=null}o&&(o=Math.round(1.33*o),i[s]=o+\"px;\")}l+=s+\":\"+i[s]}l&&e.setAttribute(\"style\",l)}}}(e)}return!0}),p(n,function(e){if(e&&\"A\"===e.nodeName&&\"\"===e.href){for(var t=document.createDocumentFragment();e.firstChild;)t.appendChild(e.firstChild);e.parentNode.replaceChild(t,e)}return!0});var o=n.outerHTML,d=N.opts.htmlAllowedStyleProps;return N.opts.htmlAllowedStyleProps=N.opts.wordAllowedStyleProps,o=N.clean.html(o,N.opts.wordDeniedTags,N.opts.wordDeniedAttrs,!1),N.opts.htmlAllowedStyleProps=d,o}return{_init:function e(){N.events.on(\"paste.wordPaste\",function(e){return n=e,N.opts.wordPasteModal?function a(){if(!l){var e='<h4><svg xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 74.95 73.23\" style=\"height: 25px; vertical-align: text-bottom; margin-right: 5px; display: inline-block\"><defs><style>.a{fill:#2a5699;}.b{fill:#fff;}</style></defs><path class=\"a\" d=\"M615.15,827.22h5.09V834c9.11.05,18.21-.09,27.32.05a2.93,2.93,0,0,1,3.29,3.25c.14,16.77,0,33.56.09,50.33-.09,1.72.17,3.63-.83,5.15-1.24.89-2.85.78-4.3.84-8.52,0-17,0-25.56,0v6.81h-5.32c-13-2.37-26-4.54-38.94-6.81q0-29.8,0-59.59c13.05-2.28,26.11-4.5,39.17-6.83Z\" transform=\"translate(-575.97 -827.22)\"/><path class=\"b\" d=\"M620.24,836.59h28.1v54.49h-28.1v-6.81h22.14v-3.41H620.24v-4.26h22.14V873.2H620.24v-4.26h22.14v-3.41H620.24v-4.26h22.14v-3.41H620.24v-4.26h22.14v-3.41H620.24V846h22.14v-3.41H620.24Zm-26.67,15c1.62-.09,3.24-.16,4.85-.25,1.13,5.75,2.29,11.49,3.52,17.21,1-5.91,2-11.8,3.06-17.7,1.7-.06,3.41-.15,5.1-.26-1.92,8.25-3.61,16.57-5.71,24.77-1.42.74-3.55,0-5.24.09-1.13-5.64-2.45-11.24-3.47-16.9-1,5.5-2.29,10.95-3.43,16.42q-2.45-.13-4.92-.3c-1.41-7.49-3.07-14.93-4.39-22.44l4.38-.18c.88,5.42,1.87,10.82,2.64,16.25,1.2-5.57,2.43-11.14,3.62-16.71Z\" transform=\"translate(-575.97 -827.22)\"/></svg> '+N.language.translate(\"Word Paste Detected\")+\"</h4>\",t=function n(){var e='<div class=\"fr-word-paste-modal\" style=\"padding: 20px 20px 10px 20px;\">';return e+='<p style=\"text-align: left;\">'+N.language.translate(\"The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?\")+\"</p>\",e+='<div style=\"text-align: right; margin-top: 50px;\"><button class=\"fr-remove-word fr-command\">'+N.language.translate(\"Clean\")+'</button> <button class=\"fr-keep-word fr-command\">'+N.language.translate(\"Keep\")+\"</button></div>\",e+=\"</div>\"}(),r=N.modals.create(s,e,t),i=r.$body;l=r.$modal,r.$modal.addClass(\"fr-middle\"),N.events.bindClick(i,\"button.fr-remove-word\",function(){var e=l.data(\"instance\")||N;e.wordPaste.clean()}),N.events.bindClick(i,\"button.fr-keep-word\",function(){var e=l.data(\"instance\")||N;e.wordPaste.clean(!0)}),N.events.$on(d(N.o_win),\"resize\",function(){N.modals.resize(s)})}N.modals.show(s),N.modals.resize(s)}():t(N.opts.wordPasteKeepFormatting),!1})},clean:t,_wordClean:a}}});","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?t(require(\"froala-editor\")):\"function\"==typeof define&&define.amd?define([\"froala-editor\"],t):t(e.FroalaEditor)}(this,function(E){\"use strict\";E=E&&E.hasOwnProperty(\"default\")?E[\"default\"]:E,Object.assign(E.POPUP_TEMPLATES,{\"embedly.insert\":\"[_BUTTONS_][_URL_LAYER_]\",\"embedly.edit\":\"[_BUTTONS_]\"}),Object.assign(E.DEFAULTS,{embedlyKey:null,embedlyInsertButtons:[\"embedlyBack\",\"|\"],embedlyEditButtons:[\"embedlyRemove\"],embedlyScriptPath:\"https://cdn.embedly.com/widgets/platform.js\"}),E.PLUGINS.embedly=function(o){var i,d,l=o.$;function t(e){o.events.on(\"html.processGet\",s),e&&o.html._setHtml(o.$el,o.html.get()),o.events.$on(o.$el,\"click touchend\",\"div.fr-embedly\",a),o.events.on(\"mousedown window.mousedown\",b),o.events.on(\"window.touchmove\",c),o.events.on(\"mouseup window.mouseup\",u),o.events.on(\"commands.mousedown\",function(e){0<e.parents(\".fr-toolbar\").length&&u()}),o.events.on(\"blur video.hideResizer commands.undo commands.redo element.dropped\",function(){u(!0)}),o.events.on(\"element.beforeDrop\",function(e){if(e.hasClass(\"fr-embedly\"))return e.html(e.attr(\"data-original-embed\")),e}),o.events.on(\"keydown\",function(e){var t=e.which;return!i||t!=E.KEYCODE.BACKSPACE&&t!=E.KEYCODE.DELETE?i&&t==E.KEYCODE.ESC?(u(!0),e.preventDefault(),!1):i&&t!=E.KEYCODE.F10&&!o.keys.isBrowserAction(e)?(e.preventDefault(),!1):void 0:(e.preventDefault(),m(),!1)},!0),o.events.on(\"toolbar.esc\",function(){if(i)return o.events.disableBlur(),o.events.focus(),!1},!0),o.events.on(\"toolbar.focusEditor\",function(){if(i)return!1},!0),o.events.on(\"snapshot.after\",function(e){var t=o.doc.createElement(\"div\");t.innerHTML=e.html,s(t),e.html=t.innerHTML}),o.win.embedly&&(o.win.embedly(\"on\",\"card.rendered\",function(e){n(e)}),o.win.embedly(\"on\",\"card.resize\",function(e){n(e)})),f(!0)}function n(e){var t=l(e);t.parents(\".fr-embedly\").attr(\"contenteditable\",!1).attr(\"draggable\",!0).addClass(\"fr-draggable\").css(\"height\",t.height()).addClass(\"fr-draggable\"),o.opts.iframe&&o.size.syncIframe()}function a(e){i=l(this),function s(){d||function n(){o.shared.$embedly_resizer?(d=o.shared.$embedly_resizer,o.shared.$embedly_overlay,o.events.on(\"destroy\",function(){l(\"body\").first().append(d)},!0)):(o.shared.$embedly_resizer=l(document.createElement(\"div\")).attr(\"class\",\"fr-embedly-resizer\"),d=o.shared.$embedly_resizer,o.events.$on(d,\"mousedown\",function(e){e.stopPropagation()},!0));o.events.on(\"shared.destroy\",function(){d.html(\"\").removeData().remove(),d=null},!0)}();(o.$wp||o.$sc).append(d),d.data(\"instance\",o);var e=0,t=0;o.opts.iframe&&(t=o.helpers.getPX(o.$wp.find(\".fr-iframe\").css(\"padding-top\")),e=o.helpers.getPX(o.$wp.find(\".fr-iframe\").css(\"padding-left\")));d.css(\"top\",(o.opts.iframe?i.offset().top+t-1+o.$iframe.position().top:i.offset().top-o.$wp.offset().top-1)+o.$wp.scrollTop()).css(\"left\",(o.opts.iframe?i.offset().left+e-1:i.offset().left-o.$wp.offset().left-1)+o.$wp.scrollLeft()).css(\"width\",i.outerWidth()).css(\"height\",i.height()).addClass(\"fr-active\")}(),function r(){var e=o.popups.get(\"embedly.edit\");e||(e=function s(){var e=\"\";if(0<o.opts.embedlyEditButtons.length){var t={buttons:e+='<div class=\"fr-buttons\">\\n      '.concat(o.button.buildList(o.opts.embedlyEditButtons),\"\\n      </div>\")},n=o.popups.create(\"embedly.edit\",t);return o.events.$on(o.$wp,\"scroll.emebdly-edit\",function(){i&&o.popups.isVisible(\"embedly.edit\")&&(o.events.disableBlur(),function t(e){a.call(e.get(0))}(i))}),n}return!1}());if(e){o.popups.setContainer(\"embedly.edit\",o.$sc),o.popups.refresh(\"embedly.edit\");var t=i.offset().left+i.outerWidth()/2,n=i.offset().top+i.outerHeight();o.popups.show(\"embedly.edit\",t,n,i.outerHeight())}}()}function s(e){if(e&&o.node.hasClass(e,\"fr-embedly\"))e.innerHTML=e.getAttribute(\"data-original-embed\"),e.removeAttribute(\"draggable\"),e.removeAttribute(\"contenteditable\"),e.setAttribute(\"class\",(e.getAttribute(\"class\")||\"\").replace(\"fr-draggable\",\"\"));else if(e&&e.nodeType==Node.ELEMENT_NODE)for(var t=e.querySelectorAll(\".fr-embedly\"),n=0;n<t.length;n++)s(t[n])}function f(e){if(e)return o.popups.onRefresh(\"embedly.insert\",r),!0;var t=\"\";0<o.opts.embedlyInsertButtons.length&&(t+='<div class=\"fr-buttons fr-tabs\">',t+=o.button.buildList(o.opts.embedlyInsertButtons),t+=\"</div>\");var n={buttons:t,url_layer:'<div class=\"fr-embedly-layer fr-active fr-layer\" id=\"fr-embedly-layer-'+o.id+'\"><div class=\"fr-input-line\"><input id=\"fr-embedly-layer-text-'+o.id+'\" type=\"text\" placeholder=\"'+o.language.translate(\"Paste in a URL to embed\")+'\" tabIndex=\"1\" aria-required=\"true\"></div><div class=\"fr-action-buttons\"><button type=\"button\" class=\"fr-command fr-submit\" data-cmd=\"embedlyInsert\" tabIndex=\"2\" role=\"button\">'+o.language.translate(\"Insert\")+\"</button></div></div>\"};return o.popups.create(\"embedly.insert\",n)}function r(){o.popups.get(\"embedly.insert\").find(\".fr-embedly-layer input\").val(\"\").trigger(\"change\")}function e(e){if(e.length){var t=\"<a href='\"+e+\"' data-card-branding='0' class='embedly-card'\"+(o.opts.embedlyKey?\" data-card-key='\"+o.opts.embedlyKey+\"'\":\"\")+\"></a>\";o.html.insert('<div class=\"fr-embedly fr-draggable\" draggable=\"true\" contenteditable=\"false\" data-original-embed=\"'+t+'\">'+t+\"</div>\"),o.popups.hideAll()}}function m(){if(i&&!1!==o.events.trigger(\"embedly.beforeRemove\",[i])){var e=i;o.popups.hideAll(),u(!0),o.selection.setBefore(e.get(0))||o.selection.setAfter(e.get(0)),e.remove(),o.selection.restore(),o.html.fillEmptyBlocks(),o.undo.saveStep(),o.events.trigger(\"video.removed\",[e])}}function u(e){i&&(function t(){return o.shared.embedly_exit_flag}()||!0===e)&&(d.removeClass(\"fr-active\"),o.toolbar.enable(),i.removeClass(\"fr-active\"),i=null,c())}function b(){o.shared.embedly_exit_flag=!0}function c(){o.shared.embedly_exit_flag=!1}return o.shared.embedly_exit_flag=!1,{_init:function p(){if(!o.$wp)return!1;if(\"undefined\"!=typeof embedly)t(!0);else if(o.shared.embedlyLoaded)o.shared.embedlyCallbacks.push(t);else{o.shared.embedlyLoaded=!0,o.shared.embedlyCallbacks=[],o.shared.embedlyCallbacks.push(t);var e=o.doc.createElement(\"script\");e.type=\"text/javascript\",e.src=o.opts.embedlyScriptPath,e.innerText=\"\",e.onload=function(){if(o.shared.embedlyCallbacks)for(var e=0;e<o.shared.embedlyCallbacks.length;e++)o.shared.embedlyCallbacks[e]()},o.doc.getElementsByTagName(\"head\")[0].appendChild(e)}},showInsertPopup:function y(){var e=o.$tb.find('.fr-command[data-cmd=\"embedly\"]'),t=o.popups.get(\"embedly.insert\");if(t||(t=f()),!t.hasClass(\"fr-active\"))if(o.popups.refresh(\"embedly.insert\"),o.popups.setContainer(\"embedly.insert\",o.$tb),e.isVisible()){var n=o.button.getPosition(e),s=n.left,r=n.top;o.popups.show(\"embedly.insert\",s,r,e.outerHeight())}else o.position.forSelection(t),o.popups.show(\"embedly.insert\")},insert:function h(){e(o.popups.get(\"embedly.insert\").find(\".fr-embedly-layer input\").val())},remove:m,get:function v(){return i},add:e,back:function g(){i?(o.events.disableBlur(),i.trigger(\"click\")):(o.events.disableBlur(),o.selection.restore(),o.events.enableBlur(),o.popups.hide(\"embedly.insert\"),o.toolbar.showInline())}}},E.DefineIcon(\"embedly\",{NAME:\"share-alt\",SVG_KEY:\"insertEmbed\"}),E.RegisterCommand(\"embedly\",{undo:!0,focus:!0,title:\"Embed URL\",popup:!0,callback:function(){this.popups.isVisible(\"embedly.insert\")?(this.$el.find(\".fr-marker\").length&&(this.events.disableBlur(),this.selection.restore()),this.popups.hide(\"embedly.insert\")):this.embedly.showInsertPopup()},plugin:\"embedly\"}),E.RegisterCommand(\"embedlyInsert\",{undo:!0,focus:!0,callback:function(){this.embedly.insert()}}),E.DefineIcon(\"embedlyRemove\",{NAME:\"trash\",SVG_KEY:\"remove\"}),E.RegisterCommand(\"embedlyRemove\",{title:\"Remove\",undo:!1,callback:function(){this.embedly.remove()}}),E.DefineIcon(\"embedlyBack\",{NAME:\"arrow-left\",SVG_KEY:\"back\"}),E.RegisterCommand(\"embedlyBack\",{title:\"Back\",undo:!1,focus:!1,back:!0,callback:function(){this.embedly.back()},refresh:function(e){this.embedly.get()||this.opts.toolbarInline?(e.removeClass(\"fr-hidden\"),e.next(\".fr-separator\").removeClass(\"fr-hidden\")):(e.addClass(\"fr-hidden\"),e.next(\".fr-separator\").addClass(\"fr-hidden\"))}})});","/*!\n * froala_editor v3.2.7 (https://www.froala.com/wysiwyg-editor)\n * License https://froala.com/wysiwyg-editor/terms/\n * Copyright 2014-2021 Froala Labs\n */\n\n(function (global, factory) {\n  typeof exports === 'object' && typeof module !== 'undefined' ? factory(require('froala-editor')) :\n  typeof define === 'function' && define.amd ? define(['froala-editor'], factory) :\n  (factory(global.FroalaEditor));\n}(this, (function (FE) { 'use strict';\n\n  FE = FE && FE.hasOwnProperty('default') ? FE['default'] : FE;\n\n  /**\r\n   * Traditional Chinese spoken in Taiwan.\r\n   */\n  FE.LANGUAGE['zh_tw'] = {\n    translation: {\n      // Place holder\n      'Type something': \"\\u8F38\\u5165\\u4E00\\u4E9B\\u5167\\u5BB9\",\n      // Basic formatting\n      'Bold': '粗體',\n      'Italic': '斜體',\n      'Underline': '下劃線',\n      'Strikethrough': '刪除線',\n      // Main buttons\n      'Insert': '插入',\n      'Delete': '刪除',\n      'Cancel': '取消',\n      'OK': '好的',\n      'Back': '後退',\n      'Remove': '去掉',\n      'More': '更多',\n      'Update': '更新',\n      'Style': '樣式',\n      // Font\n      'Font Family': '字体系列',\n      'Font Size': \"\\u5B57\\u578B\\u5927\\u5C0F\",\n      // Colors\n      'Colors': '顏色',\n      'Background': '背景',\n      'Text': '文字',\n      'HEX Color': '十六進制顏色',\n      // Paragraphs\n      'Paragraph Format': '段落格式',\n      'Normal': '正常',\n      'Code': '代碼',\n      'Heading 1': '標題1',\n      'Heading 2': '標題2',\n      'Heading 3': '標題3',\n      'Heading 4': '標題4',\n      // Style\n      'Paragraph Style': '段落樣式',\n      'Inline Style': '內聯樣式',\n      // Alignment\n      'Align': '对齐',\n      'Align Left': '左對齊',\n      'Align Center': \"\\u7F6E\\u4E2D\\u5C0D\\u9F4A\",\n      'Align Right': \"\\u7F6E\\u53F3\\u5C0D\\u9F4A\",\n      'Align Justify': '兩端對齊',\n      'None': '没有',\n      // Lists\n      'Ordered List': '有序列表',\n      'Unordered List': '无序列表',\n      // Indent\n      'Decrease Indent': '減少縮進量',\n      'Increase Indent': '增加縮進量',\n      // Links\n      'Insert Link': \"\\u63D2\\u5165\\u9023\\u7D50\",\n      'Open in new tab': '在新標籤頁中打開',\n      'Open Link': \"\\u958B\\u555F\\u9023\\u7D50\",\n      'Edit Link': \"\\u7DE8\\u8F2F\\u9023\\u7D50\",\n      'Unlink': \"\\u79FB\\u9664\\u9023\\u7D50\",\n      'Choose Link': \"\\u9078\\u64C7\\u9023\\u7D50\",\n      // Images\n      'Insert Image': '插入圖片',\n      'Upload Image': '上傳圖片',\n      'By URL': \"\\u7DB2\\u5740\\u4E0A\\u50B3\",\n      'Browse': '瀏覽',\n      'Drop image': \"\\u5716\\u7247\\u62D6\\u66F3\",\n      'or click': '或點擊',\n      'Manage Images': '管理圖片',\n      'Loading': '加載中',\n      'Deleting': '刪除中',\n      'Tags': '標籤',\n      'Are you sure? Image will be deleted.': \"\\u78BA\\u5B9A\\u522A\\u9664\\u5716\\u7247\\uFF1F\",\n      'Replace': '替換',\n      'Uploading': '上傳中',\n      'Loading image': '圖片加載中',\n      'Display': '顯示',\n      'Inline': \"\\u5D4C\\u5165\",\n      'Break Text': '打破文字',\n      'Alternative Text': '替換文字',\n      'Change Size': '改變大小',\n      'Width': '寬度',\n      'Height': '高度',\n      'Something went wrong. Please try again.': '發生錯誤，請重試。',\n      'Image Caption': '圖片標題',\n      'Advanced Edit': '高級編輯',\n      // Video\n      'Insert Video': '插入影片',\n      'Embedded Code': '嵌入式代码',\n      'Paste in a video URL': '粘貼在視頻網址',\n      'Drop video': '放下視頻',\n      'Your browser does not support HTML5 video.': '您的瀏覽器不支持html5視頻。',\n      'Upload Video': '上傳影片',\n      // Tables\n      'Insert Table': '插入表格',\n      'Table Header': '表頭',\n      'Remove Table': \"\\u522A\\u9664\\u8868\",\n      'Table Style': '表格樣式',\n      'Horizontal Align': '水平對齊方式',\n      'Row': '行',\n      'Insert row above': '在上方插入',\n      'Insert row below': '在下方插入',\n      'Delete row': '刪除行',\n      'Column': '列',\n      'Insert column before': \"\\u5411\\u5DE6\\u63D2\\u5165\\u4E00\\u5217\",\n      'Insert column after': \"\\u5411\\u53F3\\u63D2\\u5165\\u4E00\\u5217\",\n      'Delete column': '刪除列',\n      'Cell': '單元格',\n      'Merge cells': '合併單元格',\n      'Horizontal split': '水平分割',\n      'Vertical split': '垂直分割',\n      'Cell Background': '單元格背景',\n      'Vertical Align': '垂直對齊方式',\n      'Top': \"\\u4E0A\",\n      'Middle': \"\\u4E2D\",\n      'Bottom': '底部',\n      'Align Top': '靠上對齊',\n      'Align Middle': \"\\u4E2D\\u9593\\u5C0D\\u9F4A\",\n      'Align Bottom': '靠下對齊',\n      'Cell Style': '單元格樣式',\n      // Files\n      'Upload File': '上傳文件',\n      'Drop file': '拖入文件',\n      // Emoticons\n      'Emoticons': '表情符號',\n      'Grinning face': \"\\u81C9\\u4E0A\\u7B11\\u563B\\u563B\",\n      'Grinning face with smiling eyes': \"\\u7B11\\u563B\\u563B\\u7684\\u81C9\\uFF0C\\u542B\\u7B11\\u7684\\u773C\\u775B\",\n      'Face with tears of joy': \"\\u81C9\\u4E0A\\u5E36\\u8457\\u559C\\u6085\\u7684\\u6DDA\\u6C34\",\n      'Smiling face with open mouth': \"\\u7B11\\u81C9\\u5F35\\u958B\\u5634\",\n      'Smiling face with open mouth and smiling eyes': \"\\u7B11\\u81C9\\u5F35\\u958B\\u5634\\u5FAE\\u7B11\\u7684\\u773C\\u775B\",\n      'Smiling face with open mouth and cold sweat': '帶冷汗的張嘴微笑',\n      'Smiling face with open mouth and tightly-closed eyes': \"\\u7B11\\u81C9\\u5F35\\u958B\\u5634\\uFF0C\\u7DCA\\u7DCA\\u9589\\u8457\\u773C\\u775B\",\n      'Smiling face with halo': '帶光環微笑',\n      'Smiling face with horns': '帶牛角的微笑',\n      'Winking face': \"\\u7728\\u773C\\u8868\\u60C5\",\n      'Smiling face with smiling eyes': \"\\u9762\\u5E36\\u5FAE\\u7B11\\u7684\\u773C\\u775B\",\n      'Face savoring delicious food': \"\\u9762\\u5C0D\\u54C1\\u5690\\u7F8E\\u5473\\u7684\\u98DF\\u7269\",\n      'Relieved face': '如釋重負',\n      'Smiling face with heart-shaped eyes': \"\\u5FAE\\u7B11\\u7684\\u81C9\\uFF0C\\u5FC3\\u81DF\\u5F62\\u7684\\u773C\\u775B\",\n      'Smiling face with sunglasses': \"\\u7B11\\u81C9\\u592A\\u967D\\u93E1\",\n      'Smirking face': \"\\u9762\\u5C0D\\u9762\\u5E36\\u7B11\\u5BB9\",\n      'Neutral face': '中性臉',\n      'Expressionless face': '无表情的脸',\n      'Unamused face': \"\\u4E00\\u81C9\\u4E0D\\u5FEB\\u7684\\u81C9\",\n      'Face with cold sweat': \"\\u9762\\u5C0D\\u51B7\\u6C57\",\n      'Pensive face': \"\\u6C89\\u601D\\u7684\\u81C9\",\n      'Confused face': \"\\u9762\\u5C0D\\u56F0\\u60D1\",\n      'Confounded face': \"\\u8A72\\u6B7B\\u7684\\u81C9\",\n      'Kissing face': '接吻的脸',\n      'Face throwing a kiss': '扔一个吻',\n      'Kissing face with smiling eyes': '带着微笑的眼睛接吻的脸',\n      'Kissing face with closed eyes': '閉眼接吻',\n      'Face with stuck out tongue': '舌头伸出来的脸',\n      'Face with stuck out tongue and winking eye': '眨眼吐舌\\'',\n      'Face with stuck out tongue and tightly-closed eyes': '脸上伸出舌头和眨眼的眼睛',\n      'Disappointed face': '失望',\n      'Worried face': '担心的脸',\n      'Angry face': '生氣的',\n      'Pouting face': '撅嘴',\n      'Crying face': \"\\u54ED\\u6CE3\\u7684\\u81C9\",\n      'Persevering face': \"\\u600E\\u5948\\u81C9\",\n      'Face with look of triumph': '胜利的脸',\n      'Disappointed but relieved face': '失望但释然的脸',\n      'Frowning face with open mouth': '皺眉',\n      'Anguished face': '痛苦的脸',\n      'Fearful face': '害怕',\n      'Weary face': \"\\u9762\\u5C0D\\u53AD\\u5026\",\n      'Sleepy face': '困了',\n      'Tired face': '累了',\n      'Grimacing face': '鬼脸',\n      'Loudly crying face': '大声哭泣的脸',\n      'Face with open mouth': '張開嘴',\n      'Hushed face': \"\\u5B89\\u975C\\u7684\\u81C9\",\n      'Face with open mouth and cold sweat': \"\\u9762\\u5C0D\\u5F35\\u958B\\u5634\\uFF0C\\u4E00\\u8EAB\\u51B7\\u6C57\",\n      'Face screaming in fear': \"\\u9762\\u5C0D\\u5C16\\u53EB\\u5728\\u6050\\u61FC\\u4E2D\",\n      'Astonished face': \"\\u9762\\u5C0D\\u9A5A\\u8A1D\",\n      'Flushed face': '臉紅',\n      'Sleeping face': \"\\u719F\\u7761\\u7684\\u81C9\",\n      'Dizzy face': \"\\u9762\\u5C0D\\u7729\",\n      'Face without mouth': '沒有嘴的臉',\n      'Face with medical mask': \"\\u9762\\u5C0D\\u91AB\\u7642\\u53E3\\u7F69\",\n      // Line breaker\n      'Break': '換行',\n      // Math\n      'Subscript': '下標',\n      'Superscript': '上標',\n      // Full screen\n      'Fullscreen': '全屏',\n      // Horizontal line\n      'Insert Horizontal Line': '插入水平線',\n      // Clear formatting\n      'Clear Formatting': '清除格式',\n      // Save\n      'Save': '保存',\n      // Undo, redo\n      'Undo': '撤消',\n      'Redo': '重做',\n      // Select all\n      'Select All': '全選',\n      // Code view\n      'Code View': '代码视图',\n      // Quote\n      'Quote': '引用',\n      'Increase': \"\\u7E2E\\u6392\",\n      'Decrease': \"\\u53BB\\u9664\\u7E2E\\u6392\",\n      // Quick Insert\n      'Quick Insert': '快速插入',\n      // Spcial Characters\n      'Special Characters': '特殊字符',\n      'Latin': '拉丁',\n      'Greek': '希臘語',\n      'Cyrillic': '西里爾',\n      'Punctuation': '標點',\n      'Currency': '貨幣',\n      'Arrows': '箭頭',\n      'Math': '數學',\n      'Misc': '雜項',\n      // Print.\n      'Print': '列印',\n      // Spell Checker.\n      'Spell Checker': '拼寫檢查器',\n      // Help\n      'Help': '幫助',\n      'Shortcuts': '快捷鍵',\n      'Inline Editor': '內聯編輯器',\n      'Show the editor': '顯示編輯器',\n      'Common actions': '常用操作',\n      'Copy': '複製',\n      'Cut': '切',\n      'Paste': '貼上',\n      'Basic Formatting': '基本格式',\n      'Increase quote level': '增加报价水平',\n      'Decrease quote level': '降低报价水平',\n      'Image / Video': '圖像/影片',\n      'Resize larger': '調整大小更大',\n      'Resize smaller': '調整大小更小',\n      'Table': '表',\n      'Select table cell': '選擇表單元格',\n      'Extend selection one cell': '增加選中的單元格',\n      'Extend selection one row': '增加選中的行',\n      'Navigation': '導航',\n      'Focus popup / toolbar': '焦點彈出/工具欄',\n      'Return focus to previous position': '將焦點返回到上一個位置',\n      // Embed.ly\n      'Embed URL': '嵌入網址',\n      'Paste in a URL to embed': '貼上要嵌入的網址',\n      // Word Paste.\n      'The pasted content is coming from a Microsoft Word document. Do you want to keep the format or clean it up?': '粘貼的內容來自微軟Word文檔。你想保留格式還是清理它？',\n      'Keep': '保留',\n      'Clean': '清潔',\n      'Word Paste Detected': '檢測到貼上自 Word 的內容',\n      // Character Counter\n      'Characters': '人物',\n      // More Buttons\n      'More Text': '更多文字',\n      'More Paragraph': '更多段落',\n      'More Rich': '更多豐富',\n      'More Misc': '更多雜項'\n    },\n    direction: 'ltr'\n  };\n\n})));\n","(function(define){\ndefine(function () { 'use strict';\n\n\tvar commonjsGlobal = typeof window !== 'undefined' ? window : typeof global !== 'undefined' ? global : typeof self !== 'undefined' ? self : {};\n\n\tfunction createCommonjsModule(fn, module) {\n\t\treturn module = { exports: {} }, fn(module, module.exports), module.exports;\n\t}\n\n\tvar lodash_min = createCommonjsModule(function (module, exports) {\n\t(function(){function n(n,t,r){switch(r.length){case 0:return n.call(t);case 1:return n.call(t,r[0]);case 2:return n.call(t,r[0],r[1]);case 3:return n.call(t,r[0],r[1],r[2])}return n.apply(t,r)}function t(n,t,r,e){for(var u=-1,i=null==n?0:n.length;++u<i;){var o=n[u];t(e,o,r(o),n);}return e}function r(n,t){for(var r=-1,e=null==n?0:n.length;++r<e&&t(n[r],r,n)!==false;);return n}function e(n,t){for(var r=null==n?0:n.length;r--&&t(n[r],r,n)!==false;);return n}function u(n,t){for(var r=-1,e=null==n?0:n.length;++r<e;)if(!t(n[r],r,n))return false;\n\treturn true}function i(n,t){for(var r=-1,e=null==n?0:n.length,u=0,i=[];++r<e;){var o=n[r];t(o,r,n)&&(i[u++]=o);}return i}function o(n,t){return!!(null==n?0:n.length)&&y(n,t,0)>-1}function f(n,t,r){for(var e=-1,u=null==n?0:n.length;++e<u;)if(r(t,n[e]))return true;return false}function c(n,t){for(var r=-1,e=null==n?0:n.length,u=Array(e);++r<e;)u[r]=t(n[r],r,n);return u}function a(n,t){for(var r=-1,e=t.length,u=n.length;++r<e;)n[u+r]=t[r];return n}function l(n,t,r,e){var u=-1,i=null==n?0:n.length;for(e&&i&&(r=n[++u]);++u<i;)r=t(r,n[u],u,n);\n\treturn r}function s(n,t,r,e){var u=null==n?0:n.length;for(e&&u&&(r=n[--u]);u--;)r=t(r,n[u],u,n);return r}function h(n,t){for(var r=-1,e=null==n?0:n.length;++r<e;)if(t(n[r],r,n))return true;return false}function p(n){return n.split(\"\")}function _(n){return n.match(Dt)||[]}function v(n,t,r){var e;return r(n,function(n,r,u){if(t(n,r,u))return e=r, false}), e}function g(n,t,r,e){for(var u=n.length,i=r+(e?1:-1);e?i--:++i<u;)if(t(n[i],i,n))return i;return-1}function y(n,t,r){return t===t?Z(n,t,r):g(n,b,r)}function d(n,t,r,e){\n\tfor(var u=r-1,i=n.length;++u<i;)if(e(n[u],t))return u;return-1}function b(n){return n!==n}function w(n,t){var r=null==n?0:n.length;return r?k(n,t)/r:Un}function m(n){return function(t){return null==t?X:t[n]}}function x(n){return function(t){return null==n?X:n[t]}}function j(n,t,r,e,u){return u(n,function(n,u,i){r=e?(e=false, n):t(r,n,u,i);}), r}function A(n,t){var r=n.length;for(n.sort(t);r--;)n[r]=n[r].c;return n}function k(n,t){for(var r,e=-1,u=n.length;++e<u;){var i=t(n[e]);i!==X&&(r=r===X?i:r+i);}return r;\n\t}function I(n,t){for(var r=-1,e=Array(n);++r<n;)e[r]=t(r);return e}function O(n,t){return c(t,function(t){return[t,n[t]]})}function R(n){return n?n.slice(0,H(n)+1).replace(Ct,\"\"):n}function z(n){return function(t){return n(t)}}function E(n,t){return c(t,function(t){return n[t]})}function S(n,t){return n.has(t)}function W(n,t){for(var r=-1,e=n.length;++r<e&&y(t,n[r],0)>-1;);return r}function L(n,t){for(var r=n.length;r--&&y(t,n[r],0)>-1;);return r}function C(n,t){for(var r=n.length,e=0;r--;)n[r]===t&&++e;\n\treturn e}function U(n){return\"\\\\\"+Yr[n]}function B(n,t){return null==n?X:n[t]}function T(n){return Pr.test(n)}function $(n){return qr.test(n)}function D(n){for(var t,r=[];!(t=n.next()).done;)r.push(t.value);return r}function M(n){var t=-1,r=Array(n.size);return n.forEach(function(n,e){r[++t]=[e,n];}), r}function F(n,t){return function(r){return n(t(r))}}function N(n,t){for(var r=-1,e=n.length,u=0,i=[];++r<e;){var o=n[r];o!==t&&o!==an||(n[r]=an, i[u++]=r);}return i}function P(n){var t=-1,r=Array(n.size);\n\treturn n.forEach(function(n){r[++t]=n;}), r}function q(n){var t=-1,r=Array(n.size);return n.forEach(function(n){r[++t]=[n,n];}), r}function Z(n,t,r){for(var e=r-1,u=n.length;++e<u;)if(n[e]===t)return e;return-1}function K(n,t,r){for(var e=r+1;e--;)if(n[e]===t)return e;return e}function V(n){return T(n)?J(n):_e(n)}function G(n){return T(n)?Y(n):p(n)}function H(n){for(var t=n.length;t--&&Ut.test(n.charAt(t)););return t}function J(n){for(var t=Fr.lastIndex=0;Fr.test(n);)++t;return t}function Y(n){return n.match(Fr)||[];\n\t}function Q(n){return n.match(Nr)||[]}var X,nn=\"4.18.1\",tn=200,rn=\"Unsupported core-js use. Try https://npms.io/search?q=ponyfill.\",en=\"Expected a function\",un=\"Invalid `variable` option passed into `_.template`\",on=\"Invalid `imports` option passed into `_.template`\",fn=\"__lodash_hash_undefined__\",cn=500,an=\"__lodash_placeholder__\",ln=1,sn=2,hn=4,pn=1,_n=2,vn=1,gn=2,yn=4,dn=8,bn=16,wn=32,mn=64,xn=128,jn=256,An=512,kn=30,In=\"...\",On=800,Rn=16,zn=1,En=2,Sn=3,Wn=1/0,Ln=9007199254740991,Cn=1.7976931348623157e308,Un=NaN,Bn=4294967295,Tn=Bn-1,$n=Bn>>>1,Dn=[[\"ary\",xn],[\"bind\",vn],[\"bindKey\",gn],[\"curry\",dn],[\"curryRight\",bn],[\"flip\",An],[\"partial\",wn],[\"partialRight\",mn],[\"rearg\",jn]],Mn=\"[object Arguments]\",Fn=\"[object Array]\",Nn=\"[object AsyncFunction]\",Pn=\"[object Boolean]\",qn=\"[object Date]\",Zn=\"[object DOMException]\",Kn=\"[object Error]\",Vn=\"[object Function]\",Gn=\"[object GeneratorFunction]\",Hn=\"[object Map]\",Jn=\"[object Number]\",Yn=\"[object Null]\",Qn=\"[object Object]\",Xn=\"[object Promise]\",nt=\"[object Proxy]\",tt=\"[object RegExp]\",rt=\"[object Set]\",et=\"[object String]\",ut=\"[object Symbol]\",it=\"[object Undefined]\",ot=\"[object WeakMap]\",ft=\"[object WeakSet]\",ct=\"[object ArrayBuffer]\",at=\"[object DataView]\",lt=\"[object Float32Array]\",st=\"[object Float64Array]\",ht=\"[object Int8Array]\",pt=\"[object Int16Array]\",_t=\"[object Int32Array]\",vt=\"[object Uint8Array]\",gt=\"[object Uint8ClampedArray]\",yt=\"[object Uint16Array]\",dt=\"[object Uint32Array]\",bt=/\\b__p\\+='';/g,wt=/\\b(__p\\+=)''\\+/g,mt=/(__e\\(.*?\\)|\\b__t\\))\\+'';/g,xt=/&(?:amp|lt|gt|quot|#39);/g,jt=/[&<>\"']/g,At=RegExp(xt.source),kt=RegExp(jt.source),It=/<%-([\\s\\S]+?)%>/g,Ot=/<%([\\s\\S]+?)%>/g,Rt=/<%=([\\s\\S]+?)%>/g,zt=/\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,Et=/^\\w*$/,St=/[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g,Wt=/[\\\\^$.*+?()[\\]{}|]/g,Lt=RegExp(Wt.source),Ct=/^\\s+/,Ut=/\\s/,Bt=/\\{(?:\\n\\/\\* \\[wrapped with .+\\] \\*\\/)?\\n?/,Tt=/\\{\\n\\/\\* \\[wrapped with (.+)\\] \\*/,$t=/,? & /,Dt=/[^\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\x7f]+/g,Mt=/[()=,{}\\[\\]\\/\\s]/,Ft=/\\\\(\\\\)?/g,Nt=/\\$\\{([^\\\\}]*(?:\\\\.[^\\\\}]*)*)\\}/g,Pt=/\\w*$/,qt=/^[-+]0x[0-9a-f]+$/i,Zt=/^0b[01]+$/i,Kt=/^\\[object .+?Constructor\\]$/,Vt=/^0o[0-7]+$/i,Gt=/^(?:0|[1-9]\\d*)$/,Ht=/[\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\xff\\u0100-\\u017f]/g,Jt=/($^)/,Yt=/['\\n\\r\\u2028\\u2029\\\\]/g,Qt=\"\\\\ud800-\\\\udfff\",Xt=\"\\\\u0300-\\\\u036f\",nr=\"\\\\ufe20-\\\\ufe2f\",tr=\"\\\\u20d0-\\\\u20ff\",rr=Xt+nr+tr,er=\"\\\\u2700-\\\\u27bf\",ur=\"a-z\\\\xdf-\\\\xf6\\\\xf8-\\\\xff\",ir=\"\\\\xac\\\\xb1\\\\xd7\\\\xf7\",or=\"\\\\x00-\\\\x2f\\\\x3a-\\\\x40\\\\x5b-\\\\x60\\\\x7b-\\\\xbf\",fr=\"\\\\u2000-\\\\u206f\",cr=\" \\\\t\\\\x0b\\\\f\\\\xa0\\\\ufeff\\\\n\\\\r\\\\u2028\\\\u2029\\\\u1680\\\\u180e\\\\u2000\\\\u2001\\\\u2002\\\\u2003\\\\u2004\\\\u2005\\\\u2006\\\\u2007\\\\u2008\\\\u2009\\\\u200a\\\\u202f\\\\u205f\\\\u3000\",ar=\"A-Z\\\\xc0-\\\\xd6\\\\xd8-\\\\xde\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"+\"+Er,Ur,Cr,gr,Tr].join(\"|\"),\"g\"),Pr=RegExp(\"[\"+Ir+Qt+rr+lr+\"]\"),qr=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,Zr=[\"Array\",\"Buffer\",\"DataView\",\"Date\",\"Error\",\"Float32Array\",\"Float64Array\",\"Function\",\"Int8Array\",\"Int16Array\",\"Int32Array\",\"Map\",\"Math\",\"Object\",\"Promise\",\"RegExp\",\"Set\",\"String\",\"Symbol\",\"TypeError\",\"Uint8Array\",\"Uint8ClampedArray\",\"Uint16Array\",\"Uint32Array\",\"WeakMap\",\"_\",\"clearTimeout\",\"isFinite\",\"parseInt\",\"setTimeout\"],Kr={};\n\tKr[lt]=Kr[st]=Kr[ht]=Kr[pt]=Kr[_t]=Kr[vt]=Kr[gt]=Kr[yt]=Kr[dt]=true, Kr[Mn]=Kr[Fn]=Kr[ct]=Kr[Pn]=Kr[at]=Kr[qn]=Kr[Kn]=Kr[Vn]=Kr[Hn]=Kr[Jn]=Kr[Qn]=Kr[tt]=Kr[rt]=Kr[et]=Kr[ot]=false;var Vr={};Vr[Mn]=Vr[Fn]=Vr[ct]=Vr[at]=Vr[Pn]=Vr[qn]=Vr[lt]=Vr[st]=Vr[ht]=Vr[pt]=Vr[_t]=Vr[Hn]=Vr[Jn]=Vr[Qn]=Vr[tt]=Vr[rt]=Vr[et]=Vr[ut]=Vr[vt]=Vr[gt]=Vr[yt]=Vr[dt]=true, Vr[Kn]=Vr[Vn]=Vr[ot]=false;var Gr={\"\\xc0\":\"A\",\"\\xc1\":\"A\",\"\\xc2\":\"A\",\"\\xc3\":\"A\",\"\\xc4\":\"A\",\"\\xc5\":\"A\",\"\\xe0\":\"a\",\"\\xe1\":\"a\",\"\\xe2\":\"a\",\"\\xe3\":\"a\",\"\\xe4\":\"a\",\"\\xe5\":\"a\",\n\t\"\\xc7\":\"C\",\"\\xe7\":\"c\",\"\\xd0\":\"D\",\"\\xf0\":\"d\",\"\\xc8\":\"E\",\"\\xc9\":\"E\",\"\\xca\":\"E\",\"\\xcb\":\"E\",\"\\xe8\":\"e\",\"\\xe9\":\"e\",\"\\xea\":\"e\",\"\\xeb\":\"e\",\"\\xcc\":\"I\",\"\\xcd\":\"I\",\"\\xce\":\"I\",\"\\xcf\":\"I\",\"\\xec\":\"i\",\"\\xed\":\"i\",\"\\xee\":\"i\",\"\\xef\":\"i\",\"\\xd1\":\"N\",\"\\xf1\":\"n\",\"\\xd2\":\"O\",\"\\xd3\":\"O\",\"\\xd4\":\"O\",\"\\xd5\":\"O\",\"\\xd6\":\"O\",\"\\xd8\":\"O\",\"\\xf2\":\"o\",\"\\xf3\":\"o\",\"\\xf4\":\"o\",\"\\xf5\":\"o\",\"\\xf6\":\"o\",\"\\xf8\":\"o\",\"\\xd9\":\"U\",\"\\xda\":\"U\",\"\\xdb\":\"U\",\"\\xdc\":\"U\",\"\\xf9\":\"u\",\"\\xfa\":\"u\",\"\\xfb\":\"u\",\"\\xfc\":\"u\",\"\\xdd\":\"Y\",\"\\xfd\":\"y\",\"\\xff\":\"y\",\"\\xc6\":\"Ae\",\n\t\"\\xe6\":\"ae\",\"\\xde\":\"Th\",\"\\xfe\":\"th\",\"\\xdf\":\"ss\",\"\\u0100\":\"A\",\"\\u0102\":\"A\",\"\\u0104\":\"A\",\"\\u0101\":\"a\",\"\\u0103\":\"a\",\"\\u0105\":\"a\",\"\\u0106\":\"C\",\"\\u0108\":\"C\",\"\\u010a\":\"C\",\"\\u010c\":\"C\",\"\\u0107\":\"c\",\"\\u0109\":\"c\",\"\\u010b\":\"c\",\"\\u010d\":\"c\",\"\\u010e\":\"D\",\"\\u0110\":\"D\",\"\\u010f\":\"d\",\"\\u0111\":\"d\",\"\\u0112\":\"E\",\"\\u0114\":\"E\",\"\\u0116\":\"E\",\"\\u0118\":\"E\",\"\\u011a\":\"E\",\"\\u0113\":\"e\",\"\\u0115\":\"e\",\"\\u0117\":\"e\",\"\\u0119\":\"e\",\"\\u011b\":\"e\",\"\\u011c\":\"G\",\"\\u011e\":\"G\",\"\\u0120\":\"G\",\"\\u0122\":\"G\",\"\\u011d\":\"g\",\"\\u011f\":\"g\",\"\\u0121\":\"g\",\n\t\"\\u0123\":\"g\",\"\\u0124\":\"H\",\"\\u0126\":\"H\",\"\\u0125\":\"h\",\"\\u0127\":\"h\",\"\\u0128\":\"I\",\"\\u012a\":\"I\",\"\\u012c\":\"I\",\"\\u012e\":\"I\",\"\\u0130\":\"I\",\"\\u0129\":\"i\",\"\\u012b\":\"i\",\"\\u012d\":\"i\",\"\\u012f\":\"i\",\"\\u0131\":\"i\",\"\\u0134\":\"J\",\"\\u0135\":\"j\",\"\\u0136\":\"K\",\"\\u0137\":\"k\",\"\\u0138\":\"k\",\"\\u0139\":\"L\",\"\\u013b\":\"L\",\"\\u013d\":\"L\",\"\\u013f\":\"L\",\"\\u0141\":\"L\",\"\\u013a\":\"l\",\"\\u013c\":\"l\",\"\\u013e\":\"l\",\"\\u0140\":\"l\",\"\\u0142\":\"l\",\"\\u0143\":\"N\",\"\\u0145\":\"N\",\"\\u0147\":\"N\",\"\\u014a\":\"N\",\"\\u0144\":\"n\",\"\\u0146\":\"n\",\"\\u0148\":\"n\",\"\\u014b\":\"n\",\"\\u014c\":\"O\",\n\t\"\\u014e\":\"O\",\"\\u0150\":\"O\",\"\\u014d\":\"o\",\"\\u014f\":\"o\",\"\\u0151\":\"o\",\"\\u0154\":\"R\",\"\\u0156\":\"R\",\"\\u0158\":\"R\",\"\\u0155\":\"r\",\"\\u0157\":\"r\",\"\\u0159\":\"r\",\"\\u015a\":\"S\",\"\\u015c\":\"S\",\"\\u015e\":\"S\",\"\\u0160\":\"S\",\"\\u015b\":\"s\",\"\\u015d\":\"s\",\"\\u015f\":\"s\",\"\\u0161\":\"s\",\"\\u0162\":\"T\",\"\\u0164\":\"T\",\"\\u0166\":\"T\",\"\\u0163\":\"t\",\"\\u0165\":\"t\",\"\\u0167\":\"t\",\"\\u0168\":\"U\",\"\\u016a\":\"U\",\"\\u016c\":\"U\",\"\\u016e\":\"U\",\"\\u0170\":\"U\",\"\\u0172\":\"U\",\"\\u0169\":\"u\",\"\\u016b\":\"u\",\"\\u016d\":\"u\",\"\\u016f\":\"u\",\"\\u0171\":\"u\",\"\\u0173\":\"u\",\"\\u0174\":\"W\",\"\\u0175\":\"w\",\n\t\"\\u0176\":\"Y\",\"\\u0177\":\"y\",\"\\u0178\":\"Y\",\"\\u0179\":\"Z\",\"\\u017b\":\"Z\",\"\\u017d\":\"Z\",\"\\u017a\":\"z\",\"\\u017c\":\"z\",\"\\u017e\":\"z\",\"\\u0132\":\"IJ\",\"\\u0133\":\"ij\",\"\\u0152\":\"Oe\",\"\\u0153\":\"oe\",\"\\u0149\":\"'n\",\"\\u017f\":\"s\"},Hr={\"&\":\"&amp;\",\"<\":\"&lt;\",\">\":\"&gt;\",'\"':\"&quot;\",\"'\":\"&#39;\"},Jr={\"&amp;\":\"&\",\"&lt;\":\"<\",\"&gt;\":\">\",\"&quot;\":'\"',\"&#39;\":\"'\"},Yr={\"\\\\\":\"\\\\\",\"'\":\"'\",\"\\n\":\"n\",\"\\r\":\"r\",\"\\u2028\":\"u2028\",\"\\u2029\":\"u2029\"},Qr=parseFloat,Xr=parseInt,ne=typeof commonjsGlobal==\"object\"&&commonjsGlobal&&commonjsGlobal.Object===Object&&commonjsGlobal,te=typeof self==\"object\"&&self&&self.Object===Object&&self,re=ne||te||Function(\"return this\")(),ee='object'==\"object\"&&exports&&!exports.nodeType&&exports,ue=ee&&'object'==\"object\"&&module&&!module.nodeType&&module,ie=ue&&ue.exports===ee,oe=ie&&ne.process,fe=function(){\n\ttry{var n=ue&&ue.require&&ue.require(\"util\").types;return n?n:oe&&oe.binding&&oe.binding(\"util\")}catch(n){}}(),ce=fe&&fe.isArrayBuffer,ae=fe&&fe.isDate,le=fe&&fe.isMap,se=fe&&fe.isRegExp,he=fe&&fe.isSet,pe=fe&&fe.isTypedArray,_e=m(\"length\"),ve=x(Gr),ge=x(Hr),ye=x(Jr),de=function p(x){function Z(n){if(cc(n)&&!bh(n)&&!(n instanceof Ut)){if(n instanceof Y)return n;if(bl.call(n,\"__wrapped__\"))return eo(n)}return new Y(n)}function J(){}function Y(n,t){this.__wrapped__=n, this.__actions__=[], this.__chain__=!!t, this.__index__=0, this.__values__=X;}function Ut(n){this.__wrapped__=n, this.__actions__=[], this.__dir__=1, this.__filtered__=false, this.__iteratees__=[], this.__takeCount__=Bn, this.__views__=[];}function Dt(){var n=new Ut(this.__wrapped__);return n.__actions__=Tu(this.__actions__), n.__dir__=this.__dir__, n.__filtered__=this.__filtered__, n.__iteratees__=Tu(this.__iteratees__), n.__takeCount__=this.__takeCount__, n.__views__=Tu(this.__views__), n}function Qt(){if(this.__filtered__){var n=new Ut(this);n.__dir__=-1, n.__filtered__=true;}else n=this.clone(), n.__dir__*=-1;return n}function Xt(){var n=this.__wrapped__.value(),t=this.__dir__,r=bh(n),e=t<0,u=r?n.length:0,i=Ii(0,u,this.__views__),o=i.start,f=i.end,c=f-o,a=e?f:o-1,l=this.__iteratees__,s=l.length,h=0,p=Hl(c,this.__takeCount__);if(!r||!e&&u==c&&p==c)return wu(n,this.__actions__);var _=[];n:for(;c--&&h<p;){a+=t;for(var v=-1,g=n[a];++v<s;){var y=l[v],d=y.iteratee,b=y.type,w=d(g);if(b==En)g=w;else if(!w){if(b==zn)continue n;break n}}_[h++]=g;}return _}function nr(n){\n\tvar t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1]);}}function tr(){this.__data__=is?is(null):{}, this.size=0;}function rr(n){var t=this.has(n)&&delete this.__data__[n];return this.size-=t?1:0, t}function er(n){var t=this.__data__;if(is){var r=t[n];return r===fn?X:r}return bl.call(t,n)?t[n]:X}function ur(n){var t=this.__data__;return is?t[n]!==X:bl.call(t,n)}function ir(n,t){var r=this.__data__;return this.size+=this.has(n)?0:1, r[n]=is&&t===X?fn:t, this}function or(n){\n\tvar t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){var e=n[t];this.set(e[0],e[1]);}}function fr(){this.__data__=[], this.size=0;}function cr(n){var t=this.__data__,r=Lr(t,n);return!(r<0)&&(r==t.length-1?t.pop():Ll.call(t,r,1), --this.size, true)}function ar(n){var t=this.__data__,r=Lr(t,n);return r<0?X:t[r][1]}function lr(n){return Lr(this.__data__,n)>-1}function sr(n,t){var r=this.__data__,e=Lr(r,n);return e<0?(++this.size, r.push([n,t])):r[e][1]=t, this}function hr(n){var t=-1,r=null==n?0:n.length;for(this.clear();++t<r;){\n\tvar e=n[t];this.set(e[0],e[1]);}}function pr(){this.size=0, this.__data__={hash:new nr,map:new(ts||or),string:new nr};}function _r(n){var t=xi(this,n).delete(n);return this.size-=t?1:0, t}function vr(n){return xi(this,n).get(n)}function gr(n){return xi(this,n).has(n)}function yr(n,t){var r=xi(this,n),e=r.size;return r.set(n,t), this.size+=r.size==e?0:1, this}function dr(n){var t=-1,r=null==n?0:n.length;for(this.__data__=new hr;++t<r;)this.add(n[t]);}function br(n){return this.__data__.set(n,fn), this}function wr(n){\n\treturn this.__data__.has(n)}function mr(n){this.size=(this.__data__=new or(n)).size;}function xr(){this.__data__=new or, this.size=0;}function jr(n){var t=this.__data__,r=t.delete(n);return this.size=t.size, r}function Ar(n){return this.__data__.get(n)}function kr(n){return this.__data__.has(n)}function Ir(n,t){var r=this.__data__;if(r instanceof or){var e=r.__data__;if(!ts||e.length<tn-1)return e.push([n,t]), this.size=++r.size, this;r=this.__data__=new hr(e);}return r.set(n,t), this.size=r.size, this}function Or(n,t){\n\tvar r=bh(n),e=!r&&dh(n),u=!r&&!e&&mh(n),i=!r&&!e&&!u&&Ih(n),o=r||e||u||i,f=o?I(n.length,hl):[],c=f.length;for(var a in n)!t&&!bl.call(n,a)||o&&(\"length\"==a||u&&(\"offset\"==a||\"parent\"==a)||i&&(\"buffer\"==a||\"byteLength\"==a||\"byteOffset\"==a)||Ci(a,c))||f.push(a);return f}function Rr(n){var t=n.length;return t?n[tu(0,t-1)]:X}function zr(n,t){return Xi(Tu(n),Fr(t,0,n.length))}function Er(n){return Xi(Tu(n))}function Sr(n,t,r){(r===X||Gf(n[t],r))&&(r!==X||t in n)||Tr(n,t,r);}function Wr(n,t,r){var e=n[t];\n\tbl.call(n,t)&&Gf(e,r)&&(r!==X||t in n)||Tr(n,t,r);}function Lr(n,t){for(var r=n.length;r--;)if(Gf(n[r][0],t))return r;return-1}function Cr(n,t,r,e){return ys(n,function(n,u,i){t(e,n,r(n),i);}), e}function Ur(n,t){return n&&$u(t,Pc(t),n)}function Br(n,t){return n&&$u(t,qc(t),n)}function Tr(n,t,r){\"__proto__\"==t&&Tl?Tl(n,t,{configurable:true,enumerable:true,value:r,writable:true}):n[t]=r;}function $r(n,t){for(var r=-1,e=t.length,u=il(e),i=null==n;++r<e;)u[r]=i?X:Mc(n,t[r]);return u}function Fr(n,t,r){return n===n&&(r!==X&&(n=n<=r?n:r), t!==X&&(n=n>=t?n:t)), n}function Nr(n,t,e,u,i,o){var f,c=t&ln,a=t&sn,l=t&hn;if(e&&(f=i?e(n,u,i,o):e(n)), f!==X)return f;if(!fc(n))return n;var s=bh(n);if(s){if(f=zi(n), !c)return Tu(n,f)}else{var h=zs(n),p=h==Vn||h==Gn;if(mh(n))return Ou(n,c);if(h==Qn||h==Mn||p&&!i){if(f=a||p?{}:Ei(n), !c)return a?Mu(n,Br(f,n)):Du(n,Ur(f,n))}else{if(!Vr[h])return i?n:{};f=Si(n,h,c);}}o||(o=new mr);var _=o.get(n);if(_)return _;o.set(n,f), kh(n)?n.forEach(function(r){f.add(Nr(r,t,e,r,n,o));}):jh(n)&&n.forEach(function(r,u){\n\tf.set(u,Nr(r,t,e,u,n,o));});var v=l?a?di:yi:a?qc:Pc,g=s?X:v(n);return r(g||n,function(r,u){g&&(u=r, r=n[u]), Wr(f,u,Nr(r,t,e,u,n,o));}), f}function Pr(n){var t=Pc(n);return function(r){return qr(r,n,t)}}function qr(n,t,r){var e=r.length;if(null==n)return!e;for(n=ll(n);e--;){var u=r[e],i=t[u],o=n[u];if(o===X&&!(u in n)||!i(o))return false}return true}function Gr(n,t,r){if(typeof n!=\"function\")throw new pl(en);return Ws(function(){n.apply(X,r);},t)}function Hr(n,t,r,e){var u=-1,i=o,a=true,l=n.length,s=[],h=t.length;\n\tif(!l)return s;r&&(t=c(t,z(r))), e?(i=f, a=false):t.length>=tn&&(i=S, a=false, t=new dr(t));n:for(;++u<l;){var p=n[u],_=null==r?p:r(p);if(p=e||0!==p?p:0, a&&_===_){for(var v=h;v--;)if(t[v]===_)continue n;s.push(p);}else i(t,_,e)||s.push(p);}return s}function Jr(n,t){var r=true;return ys(n,function(n,e,u){return r=!!t(n,e,u)}), r}function Yr(n,t,r){for(var e=-1,u=n.length;++e<u;){var i=n[e],o=t(i);if(null!=o&&(f===X?o===o&&!bc(o):r(o,f)))var f=o,c=i;}return c}function ne(n,t,r,e){var u=n.length;for(r=kc(r), r<0&&(r=-r>u?0:u+r), e=e===X||e>u?u:kc(e), e<0&&(e+=u), e=r>e?0:Ic(e);r<e;)n[r++]=t;return n}function te(n,t){var r=[];return ys(n,function(n,e,u){t(n,e,u)&&r.push(n);}), r}function ee(n,t,r,e,u){var i=-1,o=n.length;for(r||(r=Li), u||(u=[]);++i<o;){var f=n[i];t>0&&r(f)?t>1?ee(f,t-1,r,e,u):a(u,f):e||(u[u.length]=f);}return u}function ue(n,t){return n&&bs(n,t,Pc)}function oe(n,t){return n&&ws(n,t,Pc)}function fe(n,t){return i(t,function(t){return uc(n[t])})}function _e(n,t){t=ku(t,n);for(var r=0,e=t.length;null!=n&&r<e;)n=n[no(t[r++])];\n\treturn r&&r==e?n:X}function de(n,t,r){var e=t(n);return bh(n)?e:a(e,r(n))}function we(n){return null==n?n===X?it:Yn:Bl&&Bl in ll(n)?ki(n):Ki(n)}function me(n,t){return n>t}function xe(n,t){return null!=n&&bl.call(n,t)}function je(n,t){return null!=n&&t in ll(n)}function Ae(n,t,r){return n>=Hl(t,r)&&n<Gl(t,r)}function ke(n,t,r){for(var e=r?f:o,u=n[0].length,i=n.length,a=i,l=il(i),s=1/0,h=[];a--;){var p=n[a];a&&t&&(p=c(p,z(t))), s=Hl(p.length,s), l[a]=!r&&(t||u>=120&&p.length>=120)?new dr(a&&p):X;}p=n[0];\n\tvar _=-1,v=l[0];n:for(;++_<u&&h.length<s;){var g=p[_],y=t?t(g):g;if(g=r||0!==g?g:0, !(v?S(v,y):e(h,y,r))){for(a=i;--a;){var d=l[a];if(!(d?S(d,y):e(n[a],y,r)))continue n}v&&v.push(y), h.push(g);}}return h}function Ie(n,t,r,e){return ue(n,function(n,u,i){t(e,r(n),u,i);}), e}function Oe(t,r,e){r=ku(r,t), t=Gi(t,r);var u=null==t?t:t[no(jo(r))];return null==u?X:n(u,t,e)}function Re(n){return cc(n)&&we(n)==Mn}function ze(n){return cc(n)&&we(n)==ct}function Ee(n){return cc(n)&&we(n)==qn}function Se(n,t,r,e,u){\n\treturn n===t||(null==n||null==t||!cc(n)&&!cc(t)?n!==n&&t!==t:We(n,t,r,e,Se,u))}function We(n,t,r,e,u,i){var o=bh(n),f=bh(t),c=o?Fn:zs(n),a=f?Fn:zs(t);c=c==Mn?Qn:c, a=a==Mn?Qn:a;var l=c==Qn,s=a==Qn,h=c==a;if(h&&mh(n)){if(!mh(t))return false;o=true, l=false;}if(h&&!l)return i||(i=new mr), o||Ih(n)?pi(n,t,r,e,u,i):_i(n,t,c,r,e,u,i);if(!(r&pn)){var p=l&&bl.call(n,\"__wrapped__\"),_=s&&bl.call(t,\"__wrapped__\");if(p||_){var v=p?n.value():n,g=_?t.value():t;return i||(i=new mr), u(v,g,r,e,i)}}return!!h&&(i||(i=new mr), vi(n,t,r,e,u,i));\n\t}function Le(n){return cc(n)&&zs(n)==Hn}function Ce(n,t,r,e){var u=r.length,i=u,o=!e;if(null==n)return!i;for(n=ll(n);u--;){var f=r[u];if(o&&f[2]?f[1]!==n[f[0]]:!(f[0]in n))return false}for(;++u<i;){f=r[u];var c=f[0],a=n[c],l=f[1];if(o&&f[2]){if(a===X&&!(c in n))return false}else{var s=new mr;if(e)var h=e(a,l,c,n,t,s);if(!(h===X?Se(l,a,pn|_n,e,s):h))return false}}return true}function Ue(n){return!(!fc(n)||Di(n))&&(uc(n)?kl:Kt).test(to(n))}function Be(n){return cc(n)&&we(n)==tt}function Te(n){return cc(n)&&zs(n)==rt;\n\t}function $e(n){return cc(n)&&oc(n.length)&&!!Kr[we(n)]}function De(n){return typeof n==\"function\"?n:null==n?La:typeof n==\"object\"?bh(n)?Ze(n[0],n[1]):qe(n):Fa(n)}function Me(n){if(!Mi(n))return Vl(n);var t=[];for(var r in ll(n))bl.call(n,r)&&\"constructor\"!=r&&t.push(r);return t}function Fe(n){if(!fc(n))return Zi(n);var t=Mi(n),r=[];for(var e in n)(\"constructor\"!=e||!t&&bl.call(n,e))&&r.push(e);return r}function Ne(n,t){return n<t}function Pe(n,t){var r=-1,e=Hf(n)?il(n.length):[];return ys(n,function(n,u,i){\n\te[++r]=t(n,u,i);}), e}function qe(n){var t=ji(n);return 1==t.length&&t[0][2]?Ni(t[0][0],t[0][1]):function(r){return r===n||Ce(r,n,t)}}function Ze(n,t){return Bi(n)&&Fi(t)?Ni(no(n),t):function(r){var e=Mc(r,n);return e===X&&e===t?Nc(r,n):Se(t,e,pn|_n)}}function Ke(n,t,r,e,u){n!==t&&bs(t,function(i,o){if(u||(u=new mr), fc(i))Ve(n,t,o,r,Ke,e,u);else{var f=e?e(Ji(n,o),i,o+\"\",n,t,u):X;f===X&&(f=i), Sr(n,o,f);}},qc);}function Ve(n,t,r,e,u,i,o){var f=Ji(n,r),c=Ji(t,r),a=o.get(c);if(a)return Sr(n,r,a), X;var l=i?i(f,c,r+\"\",n,t,o):X,s=l===X;\n\tif(s){var h=bh(c),p=!h&&mh(c),_=!h&&!p&&Ih(c);l=c, h||p||_?bh(f)?l=f:Jf(f)?l=Tu(f):p?(s=false, l=Ou(c,true)):_?(s=false, l=Wu(c,true)):l=[]:gc(c)||dh(c)?(l=f, dh(f)?l=Rc(f):fc(f)&&!uc(f)||(l=Ei(c))):s=false;}s&&(o.set(c,l), u(l,c,e,i,o), o.delete(c)), Sr(n,r,l);}function Ge(n,t){var r=n.length;if(r)return t+=t<0?r:0, Ci(t,r)?n[t]:X}function He(n,t,r){t=t.length?c(t,function(n){return bh(n)?function(t){return _e(t,1===n.length?n[0]:n)}:n}):[La];var e=-1;return t=c(t,z(mi())), A(Pe(n,function(n,r,u){return{a:c(t,function(t){\n\treturn t(n)}),b:++e,c:n}}),function(n,t){return Cu(n,t,r)})}function Je(n,t){return Ye(n,t,function(t,r){return Nc(n,r)})}function Ye(n,t,r){for(var e=-1,u=t.length,i={};++e<u;){var o=t[e],f=_e(n,o);r(f,o)&&fu(i,ku(o,n),f);}return i}function Qe(n){return function(t){return _e(t,n)}}function Xe(n,t,r,e){var u=e?d:y,i=-1,o=t.length,f=n;for(n===t&&(t=Tu(t)), r&&(f=c(n,z(r)));++i<o;)for(var a=0,l=t[i],s=r?r(l):l;(a=u(f,s,a,e))>-1;)f!==n&&Ll.call(f,a,1), Ll.call(n,a,1);return n}function nu(n,t){for(var r=n?t.length:0,e=r-1;r--;){\n\tvar u=t[r];if(r==e||u!==i){var i=u;Ci(u)?Ll.call(n,u,1):yu(n,u);}}return n}function tu(n,t){return n+Nl(Ql()*(t-n+1))}function ru(n,t,r,e){for(var u=-1,i=Gl(Fl((t-n)/(r||1)),0),o=il(i);i--;)o[e?i:++u]=n, n+=r;return o}function eu(n,t){var r=\"\";if(!n||t<1||t>Ln)return r;do t%2&&(r+=n), t=Nl(t/2), t&&(n+=n);while(t);return r}function uu(n,t){return Ls(Vi(n,t,La),n+\"\")}function iu(n){return Rr(ra(n))}function ou(n,t){var r=ra(n);return Xi(r,Fr(t,0,r.length))}function fu(n,t,r,e){if(!fc(n))return n;t=ku(t,n);\n\tfor(var u=-1,i=t.length,o=i-1,f=n;null!=f&&++u<i;){var c=no(t[u]),a=r;if(\"__proto__\"===c||\"constructor\"===c||\"prototype\"===c)return n;if(u!=o){var l=f[c];a=e?e(l,c,f):X, a===X&&(a=fc(l)?l:Ci(t[u+1])?[]:{});}Wr(f,c,a), f=f[c];}return n}function cu(n){return Xi(ra(n))}function au(n,t,r){var e=-1,u=n.length;t<0&&(t=-t>u?0:u+t), r=r>u?u:r, r<0&&(r+=u), u=t>r?0:r-t>>>0, t>>>=0;for(var i=il(u);++e<u;)i[e]=n[e+t];return i}function lu(n,t){var r;return ys(n,function(n,e,u){return r=t(n,e,u), !r}), !!r}function su(n,t,r){\n\tvar e=0,u=null==n?e:n.length;if(typeof t==\"number\"&&t===t&&u<=$n){for(;e<u;){var i=e+u>>>1,o=n[i];null!==o&&!bc(o)&&(r?o<=t:o<t)?e=i+1:u=i;}return u}return hu(n,t,La,r)}function hu(n,t,r,e){var u=0,i=null==n?0:n.length;if(0===i)return 0;t=r(t);for(var o=t!==t,f=null===t,c=bc(t),a=t===X;u<i;){var l=Nl((u+i)/2),s=r(n[l]),h=s!==X,p=null===s,_=s===s,v=bc(s);if(o)var g=e||_;else g=a?_&&(e||h):f?_&&h&&(e||!p):c?_&&h&&!p&&(e||!v):!p&&!v&&(e?s<=t:s<t);g?u=l+1:i=l;}return Hl(i,Tn)}function pu(n,t){for(var r=-1,e=n.length,u=0,i=[];++r<e;){\n\tvar o=n[r],f=t?t(o):o;if(!r||!Gf(f,c)){var c=f;i[u++]=0===o?0:o;}}return i}function _u(n){return typeof n==\"number\"?n:bc(n)?Un:+n}function vu(n){if(typeof n==\"string\")return n;if(bh(n))return c(n,vu)+\"\";if(bc(n))return vs?vs.call(n):\"\";var t=n+\"\";return\"0\"==t&&1/n==-Wn?\"-0\":t}function gu(n,t,r){var e=-1,u=o,i=n.length,c=true,a=[],l=a;if(r)c=false, u=f;else if(i>=tn){var s=t?null:ks(n);if(s)return P(s);c=false, u=S, l=new dr;}else l=t?[]:a;n:for(;++e<i;){var h=n[e],p=t?t(h):h;if(h=r||0!==h?h:0, c&&p===p){for(var _=l.length;_--;)if(l[_]===p)continue n;\n\tt&&l.push(p), a.push(h);}else u(l,p,r)||(l!==a&&l.push(p), a.push(h));}return a}function yu(n,t){t=ku(t,n);var r=-1,e=t.length;if(!e)return true;for(;++r<e;){var u=no(t[r]);if(\"__proto__\"===u&&!bl.call(n,\"__proto__\"))return false;if((\"constructor\"===u||\"prototype\"===u)&&r<e-1)return false}var i=Gi(n,t);return null==i||delete i[no(jo(t))]}function du(n,t,r,e){return fu(n,t,r(_e(n,t)),e)}function bu(n,t,r,e){for(var u=n.length,i=e?u:-1;(e?i--:++i<u)&&t(n[i],i,n););return r?au(n,e?0:i,e?i+1:u):au(n,e?i+1:0,e?u:i)}\n\tfunction wu(n,t){var r=n;return r instanceof Ut&&(r=r.value()), l(t,function(n,t){return t.func.apply(t.thisArg,a([n],t.args))},r)}function mu(n,t,r){var e=n.length;if(e<2)return e?gu(n[0]):[];for(var u=-1,i=il(e);++u<e;)for(var o=n[u],f=-1;++f<e;)f!=u&&(i[u]=Hr(i[u]||o,n[f],t,r));return gu(ee(i,1),t,r)}function xu(n,t,r){for(var e=-1,u=n.length,i=t.length,o={};++e<u;){r(o,n[e],e<i?t[e]:X);}return o}function ju(n){return Jf(n)?n:[]}function Au(n){return typeof n==\"function\"?n:La}function ku(n,t){return bh(n)?n:Bi(n,t)?[n]:Cs(Ec(n));\n\t}function Iu(n,t,r){var e=n.length;return r=r===X?e:r, !t&&r>=e?n:au(n,t,r)}function Ou(n,t){if(t)return n.slice();var r=n.length,e=zl?zl(r):new n.constructor(r);return n.copy(e), e}function Ru(n){var t=new n.constructor(n.byteLength);return new Rl(t).set(new Rl(n)), t}function zu(n,t){return new n.constructor(t?Ru(n.buffer):n.buffer,n.byteOffset,n.byteLength)}function Eu(n){var t=new n.constructor(n.source,Pt.exec(n));return t.lastIndex=n.lastIndex, t}function Su(n){return _s?ll(_s.call(n)):{}}function Wu(n,t){\n\treturn new n.constructor(t?Ru(n.buffer):n.buffer,n.byteOffset,n.length)}function Lu(n,t){if(n!==t){var r=n!==X,e=null===n,u=n===n,i=bc(n),o=t!==X,f=null===t,c=t===t,a=bc(t);if(!f&&!a&&!i&&n>t||i&&o&&c&&!f&&!a||e&&o&&c||!r&&c||!u)return 1;if(!e&&!i&&!a&&n<t||a&&r&&u&&!e&&!i||f&&r&&u||!o&&u||!c)return-1}return 0}function Cu(n,t,r){for(var e=-1,u=n.a,i=t.a,o=u.length,f=r.length;++e<o;){var c=Lu(u[e],i[e]);if(c){if(e>=f)return c;return c*(\"desc\"==r[e]?-1:1)}}return n.b-t.b}function Uu(n,t,r,e){for(var u=-1,i=n.length,o=r.length,f=-1,c=t.length,a=Gl(i-o,0),l=il(c+a),s=!e;++f<c;)l[f]=t[f];\n\tfor(;++u<o;)(s||u<i)&&(l[r[u]]=n[u]);for(;a--;)l[f++]=n[u++];return l}function Bu(n,t,r,e){for(var u=-1,i=n.length,o=-1,f=r.length,c=-1,a=t.length,l=Gl(i-f,0),s=il(l+a),h=!e;++u<l;)s[u]=n[u];for(var p=u;++c<a;)s[p+c]=t[c];for(;++o<f;)(h||u<i)&&(s[p+r[o]]=n[u++]);return s}function Tu(n,t){var r=-1,e=n.length;for(t||(t=il(e));++r<e;)t[r]=n[r];return t}function $u(n,t,r,e){var u=!r;r||(r={});for(var i=-1,o=t.length;++i<o;){var f=t[i],c=e?e(r[f],n[f],f,r,n):X;c===X&&(c=n[f]), u?Tr(r,f,c):Wr(r,f,c);}return r;\n\t}function Du(n,t){return $u(n,Os(n),t)}function Mu(n,t){return $u(n,Rs(n),t)}function Fu(n,r){return function(e,u){var i=bh(e)?t:Cr,o=r?r():{};return i(e,n,mi(u,2),o)}}function Nu(n){return uu(function(t,r){var e=-1,u=r.length,i=u>1?r[u-1]:X,o=u>2?r[2]:X;for(i=n.length>3&&typeof i==\"function\"?(u--, i):X, o&&Ui(r[0],r[1],o)&&(i=u<3?X:i, u=1), t=ll(t);++e<u;){var f=r[e];f&&n(t,f,e,i);}return t})}function Pu(n,t){return function(r,e){if(null==r)return r;if(!Hf(r))return n(r,e);for(var u=r.length,i=t?u:-1,o=ll(r);(t?i--:++i<u)&&e(o[i],i,o)!==false;);\n\treturn r}}function qu(n){return function(t,r,e){for(var u=-1,i=ll(t),o=e(t),f=o.length;f--;){var c=o[n?f:++u];if(r(i[c],c,i)===false)break}return t}}function Zu(n,t,r){function e(){return(this&&this!==re&&this instanceof e?i:n).apply(u?r:this,arguments)}var u=t&vn,i=Gu(n);return e}function Ku(n){return function(t){t=Ec(t);var r=T(t)?G(t):X,e=r?r[0]:t.charAt(0),u=r?Iu(r,1).join(\"\"):t.slice(1);return e[n]()+u}}function Vu(n){return function(t){return l(Ra(ca(t).replace(Dr,\"\")),n,\"\")}}function Gu(n){return function(){\n\tvar t=arguments;switch(t.length){case 0:return new n;case 1:return new n(t[0]);case 2:return new n(t[0],t[1]);case 3:return new n(t[0],t[1],t[2]);case 4:return new n(t[0],t[1],t[2],t[3]);case 5:return new n(t[0],t[1],t[2],t[3],t[4]);case 6:return new n(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new n(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var r=gs(n.prototype),e=n.apply(r,t);return fc(e)?e:r}}function Hu(t,r,e){function u(){for(var o=arguments.length,f=il(o),c=o,a=wi(u);c--;)f[c]=arguments[c];var l=o<3&&f[0]!==a&&f[o-1]!==a?[]:N(f,a);\n\treturn o-=l.length, o<e?oi(t,r,Qu,u.placeholder,X,f,l,X,X,e-o):n(this&&this!==re&&this instanceof u?i:t,this,f)}var i=Gu(t);return u}function Ju(n){return function(t,r,e){var u=ll(t);if(!Hf(t)){var i=mi(r,3);t=Pc(t), r=function(n){return i(u[n],n,u)};}var o=n(t,r,e);return o>-1?u[i?t[o]:o]:X}}function Yu(n){return gi(function(t){var r=t.length,e=r,u=Y.prototype.thru;for(n&&t.reverse();e--;){var i=t[e];if(typeof i!=\"function\")throw new pl(en);if(u&&!o&&\"wrapper\"==bi(i))var o=new Y([],true);}for(e=o?e:r;++e<r;){\n\ti=t[e];var f=bi(i),c=\"wrapper\"==f?Is(i):X;o=c&&$i(c[0])&&c[1]==(xn|dn|wn|jn)&&!c[4].length&&1==c[9]?o[bi(c[0])].apply(o,c[3]):1==i.length&&$i(i)?o[f]():o.thru(i);}return function(){var n=arguments,e=n[0];if(o&&1==n.length&&bh(e))return o.plant(e).value();for(var u=0,i=r?t[u].apply(this,n):e;++u<r;)i=t[u].call(this,i);return i}})}function Qu(n,t,r,e,u,i,o,f,c,a){function l(){for(var y=arguments.length,d=il(y),b=y;b--;)d[b]=arguments[b];if(_)var w=wi(l),m=C(d,w);if(e&&(d=Uu(d,e,u,_)), i&&(d=Bu(d,i,o,_)), y-=m, _&&y<a){return oi(n,t,Qu,l.placeholder,r,d,N(d,w),f,c,a-y)}var x=h?r:this,j=p?x[n]:n;return y=d.length, f?d=Hi(d,f):v&&y>1&&d.reverse(), s&&c<y&&(d.length=c), this&&this!==re&&this instanceof l&&(j=g||Gu(j)), j.apply(x,d)}var s=t&xn,h=t&vn,p=t&gn,_=t&(dn|bn),v=t&An,g=p?X:Gu(n);return l}function Xu(n,t){return function(r,e){return Ie(r,n,t(e),{})}}function ni(n,t){return function(r,e){var u;if(r===X&&e===X)return t;if(r!==X&&(u=r), e!==X){if(u===X)return e;typeof r==\"string\"||typeof e==\"string\"?(r=vu(r), e=vu(e)):(r=_u(r), e=_u(e)), u=n(r,e);}return u}}function ti(t){return gi(function(r){return r=c(r,z(mi())), uu(function(e){var u=this;return t(r,function(t){return n(t,u,e)})})})}function ri(n,t){t=t===X?\" \":vu(t);var r=t.length;if(r<2)return r?eu(t,n):t;var e=eu(t,Fl(n/V(t)));return T(t)?Iu(G(e),0,n).join(\"\"):e.slice(0,n)}function ei(t,r,e,u){function i(){for(var r=-1,c=arguments.length,a=-1,l=u.length,s=il(l+c),h=this&&this!==re&&this instanceof i?f:t;++a<l;)s[a]=u[a];for(;c--;)s[a++]=arguments[++r];\n\treturn n(h,o?e:this,s)}var o=r&vn,f=Gu(t);return i}function ui(n){return function(t,r,e){return e&&typeof e!=\"number\"&&Ui(t,r,e)&&(r=e=X), t=Ac(t), r===X?(r=t, t=0):r=Ac(r), e=e===X?t<r?1:-1:Ac(e), ru(t,r,e,n)}}function ii(n){return function(t,r){return typeof t==\"string\"&&typeof r==\"string\"||(t=Oc(t), r=Oc(r)), n(t,r)}}function oi(n,t,r,e,u,i,o,f,c,a){var l=t&dn,s=l?o:X,h=l?X:o,p=l?i:X,_=l?X:i;t|=l?wn:mn, t&=~(l?mn:wn), t&yn||(t&=~(vn|gn));var v=[n,t,u,p,s,_,h,f,c,a],g=r.apply(X,v);return $i(n)&&Ss(g,v), g.placeholder=e, Yi(g,n,t)}function fi(n){var t=al[n];return function(n,r){if(n=Oc(n), r=null==r?0:Hl(kc(r),292), r&&Zl(n)){var e=(Ec(n)+\"e\").split(\"e\");return e=(Ec(t(e[0]+\"e\"+(+e[1]+r)))+\"e\").split(\"e\"), +(e[0]+\"e\"+(+e[1]-r))}return t(n)}}function ci(n){return function(t){var r=zs(t);return r==Hn?M(t):r==rt?q(t):O(t,n(t))}}function ai(n,t,r,e,u,i,o,f){var c=t&gn;if(!c&&typeof n!=\"function\")throw new pl(en);var a=e?e.length:0;if(a||(t&=~(wn|mn), e=u=X), o=o===X?o:Gl(kc(o),0), f=f===X?f:kc(f), a-=u?u.length:0, t&mn){var l=e,s=u;\n\te=u=X;}var h=c?X:Is(n),p=[n,t,r,e,u,l,s,i,o,f];if(h&&qi(p,h), n=p[0], t=p[1], r=p[2], e=p[3], u=p[4], f=p[9]=p[9]===X?c?0:n.length:Gl(p[9]-a,0), !f&&t&(dn|bn)&&(t&=~(dn|bn)), t&&t!=vn)_=t==dn||t==bn?Hu(n,t,f):t!=wn&&t!=(vn|wn)||u.length?Qu.apply(X,p):ei(n,t,r,e);else var _=Zu(n,t,r);return Yi((h?ms:Ss)(_,p),n,t)}function li(n,t,r,e){return n===X||Gf(n,gl[r])&&!bl.call(e,r)?t:n}function si(n,t,r,e,u,i){return fc(n)&&fc(t)&&(i.set(t,n), Ke(n,t,X,si,i), i.delete(t)), n}function hi(n){return gc(n)?X:n}function pi(n,t,r,e,u,i){\n\tvar o=r&pn,f=n.length,c=t.length;if(f!=c&&!(o&&c>f))return false;var a=i.get(n),l=i.get(t);if(a&&l)return a==t&&l==n;var s=-1,p=true,_=r&_n?new dr:X;for(i.set(n,t), i.set(t,n);++s<f;){var v=n[s],g=t[s];if(e)var y=o?e(g,v,s,t,n,i):e(v,g,s,n,t,i);if(y!==X){if(y)continue;p=false;break}if(_){if(!h(t,function(n,t){if(!S(_,t)&&(v===n||u(v,n,r,e,i)))return _.push(t)})){p=false;break}}else if(v!==g&&!u(v,g,r,e,i)){p=false;break}}return i.delete(n), i.delete(t), p}function _i(n,t,r,e,u,i,o){switch(r){case at:if(n.byteLength!=t.byteLength||n.byteOffset!=t.byteOffset)return false;\n\tn=n.buffer, t=t.buffer;case ct:return!(n.byteLength!=t.byteLength||!i(new Rl(n),new Rl(t)));case Pn:case qn:case Jn:return Gf(+n,+t);case Kn:return n.name==t.name&&n.message==t.message;case tt:case et:return n==t+\"\";case Hn:var f=M;case rt:var c=e&pn;if(f||(f=P), n.size!=t.size&&!c)return false;var a=o.get(n);if(a)return a==t;e|=_n, o.set(n,t);var l=pi(f(n),f(t),e,u,i,o);return o.delete(n), l;case ut:if(_s)return _s.call(n)==_s.call(t)}return false}function vi(n,t,r,e,u,i){var o=r&pn,f=yi(n),c=f.length;if(c!=yi(t).length&&!o)return false;\n\tfor(var a=c;a--;){var l=f[a];if(!(o?l in t:bl.call(t,l)))return false}var s=i.get(n),h=i.get(t);if(s&&h)return s==t&&h==n;var p=true;i.set(n,t), i.set(t,n);for(var _=o;++a<c;){l=f[a];var v=n[l],g=t[l];if(e)var y=o?e(g,v,l,t,n,i):e(v,g,l,n,t,i);if(!(y===X?v===g||u(v,g,r,e,i):y)){p=false;break}_||(_=\"constructor\"==l);}if(p&&!_){var d=n.constructor,b=t.constructor;d!=b&&\"constructor\"in n&&\"constructor\"in t&&!(typeof d==\"function\"&&d instanceof d&&typeof b==\"function\"&&b instanceof b)&&(p=false);}return i.delete(n), i.delete(t), p}function gi(n){return Ls(Vi(n,X,_o),n+\"\")}function yi(n){return de(n,Pc,Os)}function di(n){return de(n,qc,Rs)}function bi(n){for(var t=n.name+\"\",r=fs[t],e=bl.call(fs,t)?r.length:0;e--;){var u=r[e],i=u.func;if(null==i||i==n)return u.name}return t}function wi(n){return(bl.call(Z,\"placeholder\")?Z:n).placeholder}function mi(){var n=Z.iteratee||Ca;return n=n===Ca?De:n, arguments.length?n(arguments[0],arguments[1]):n}function xi(n,t){var r=n.__data__;return Ti(t)?r[typeof t==\"string\"?\"string\":\"hash\"]:r.map;\n\t}function ji(n){for(var t=Pc(n),r=t.length;r--;){var e=t[r],u=n[e];t[r]=[e,u,Fi(u)];}return t}function Ai(n,t){var r=B(n,t);return Ue(r)?r:X}function ki(n){var t=bl.call(n,Bl),r=n[Bl];try{n[Bl]=X;var e=true;}catch(n){}var u=xl.call(n);return e&&(t?n[Bl]=r:delete n[Bl]), u}function Ii(n,t,r){for(var e=-1,u=r.length;++e<u;){var i=r[e],o=i.size;switch(i.type){case\"drop\":n+=o;break;case\"dropRight\":t-=o;break;case\"take\":t=Hl(t,n+o);break;case\"takeRight\":n=Gl(n,t-o);}}return{start:n,end:t}}function Oi(n){var t=n.match(Tt);\n\treturn t?t[1].split($t):[]}function Ri(n,t,r){t=ku(t,n);for(var e=-1,u=t.length,i=false;++e<u;){var o=no(t[e]);if(!(i=null!=n&&r(n,o)))break;n=n[o];}return i||++e!=u?i:(u=null==n?0:n.length, !!u&&oc(u)&&Ci(o,u)&&(bh(n)||dh(n)))}function zi(n){var t=n.length,r=new n.constructor(t);return t&&\"string\"==typeof n[0]&&bl.call(n,\"index\")&&(r.index=n.index, r.input=n.input), r}function Ei(n){return typeof n.constructor!=\"function\"||Mi(n)?{}:gs(El(n))}function Si(n,t,r){var e=n.constructor;switch(t){case ct:return Ru(n);\n\tcase Pn:case qn:return new e(+n);case at:return zu(n,r);case lt:case st:case ht:case pt:case _t:case vt:case gt:case yt:case dt:return Wu(n,r);case Hn:return new e;case Jn:case et:return new e(n);case tt:return Eu(n);case rt:return new e;case ut:return Su(n)}}function Wi(n,t){var r=t.length;if(!r)return n;var e=r-1;return t[e]=(r>1?\"& \":\"\")+t[e], t=t.join(r>2?\", \":\" \"), n.replace(Bt,\"{\\n/* [wrapped with \"+t+\"] */\\n\")}function Li(n){return bh(n)||dh(n)||!!(Cl&&n&&n[Cl])}function Ci(n,t){var r=typeof n;\n\treturn t=null==t?Ln:t, !!t&&(\"number\"==r||\"symbol\"!=r&&Gt.test(n))&&n>-1&&n%1==0&&n<t}function Ui(n,t,r){if(!fc(r))return false;var e=typeof t;return!!(\"number\"==e?Hf(r)&&Ci(t,r.length):\"string\"==e&&t in r)&&Gf(r[t],n)}function Bi(n,t){if(bh(n))return false;var r=typeof n;return!(\"number\"!=r&&\"symbol\"!=r&&\"boolean\"!=r&&null!=n&&!bc(n))||(Et.test(n)||!zt.test(n)||null!=t&&n in ll(t))}function Ti(n){var t=typeof n;return\"string\"==t||\"number\"==t||\"symbol\"==t||\"boolean\"==t?\"__proto__\"!==n:null===n}function $i(n){\n\tvar t=bi(n),r=Z[t];if(typeof r!=\"function\"||!(t in Ut.prototype))return false;if(n===r)return true;var e=Is(r);return!!e&&n===e[0]}function Di(n){return!!ml&&ml in n}function Mi(n){var t=n&&n.constructor;return n===(typeof t==\"function\"&&t.prototype||gl)}function Fi(n){return n===n&&!fc(n)}function Ni(n,t){return function(r){return null!=r&&(r[n]===t&&(t!==X||n in ll(r)))}}function Pi(n){var t=Cf(n,function(n){return r.size===cn&&r.clear(), n}),r=t.cache;return t}function qi(n,t){var r=n[1],e=t[1],u=r|e,i=u<(vn|gn|xn),o=e==xn&&r==dn||e==xn&&r==jn&&n[7].length<=t[8]||e==(xn|jn)&&t[7].length<=t[8]&&r==dn;\n\tif(!i&&!o)return n;e&vn&&(n[2]=t[2], u|=r&vn?0:yn);var f=t[3];if(f){var c=n[3];n[3]=c?Uu(c,f,t[4]):f, n[4]=c?N(n[3],an):t[4];}return f=t[5], f&&(c=n[5], n[5]=c?Bu(c,f,t[6]):f, n[6]=c?N(n[5],an):t[6]), f=t[7], f&&(n[7]=f), e&xn&&(n[8]=null==n[8]?t[8]:Hl(n[8],t[8])), null==n[9]&&(n[9]=t[9]), n[0]=t[0], n[1]=u, n}function Zi(n){var t=[];if(null!=n)for(var r in ll(n))t.push(r);return t}function Ki(n){return xl.call(n)}function Vi(t,r,e){return r=Gl(r===X?t.length-1:r,0), function(){for(var u=arguments,i=-1,o=Gl(u.length-r,0),f=il(o);++i<o;)f[i]=u[r+i];\n\ti=-1;for(var c=il(r+1);++i<r;)c[i]=u[i];return c[r]=e(f), n(t,this,c)}}function Gi(n,t){return t.length<2?n:_e(n,au(t,0,-1))}function Hi(n,t){for(var r=n.length,e=Hl(t.length,r),u=Tu(n);e--;){var i=t[e];n[e]=Ci(i,r)?u[i]:X;}return n}function Ji(n,t){if((\"constructor\"!==t||\"function\"!=typeof n[t])&&\"__proto__\"!=t)return n[t]}function Yi(n,t,r){var e=t+\"\";return Ls(n,Wi(e,ro(Oi(e),r)))}function Qi(n){var t=0,r=0;return function(){var e=Jl(),u=Rn-(e-r);if(r=e, u>0){if(++t>=On)return arguments[0]}else t=0;\n\treturn n.apply(X,arguments)}}function Xi(n,t){var r=-1,e=n.length,u=e-1;for(t=t===X?e:t;++r<t;){var i=tu(r,u),o=n[i];n[i]=n[r], n[r]=o;}return n.length=t, n}function no(n){if(typeof n==\"string\"||bc(n))return n;var t=n+\"\";return\"0\"==t&&1/n==-Wn?\"-0\":t}function to(n){if(null!=n){try{return dl.call(n)}catch(n){}try{return n+\"\"}catch(n){}}return\"\"}function ro(n,t){return r(Dn,function(r){var e=\"_.\"+r[0];t&r[1]&&!o(n,e)&&n.push(e);}), n.sort()}function eo(n){if(n instanceof Ut)return n.clone();var t=new Y(n.__wrapped__,n.__chain__);\n\treturn t.__actions__=Tu(n.__actions__), t.__index__=n.__index__, t.__values__=n.__values__, t}function uo(n,t,r){t=(r?Ui(n,t,r):t===X)?1:Gl(kc(t),0);var e=null==n?0:n.length;if(!e||t<1)return[];for(var u=0,i=0,o=il(Fl(e/t));u<e;)o[i++]=au(n,u,u+=t);return o}function io(n){for(var t=-1,r=null==n?0:n.length,e=0,u=[];++t<r;){var i=n[t];i&&(u[e++]=i);}return u}function oo(){var n=arguments.length;if(!n)return[];for(var t=il(n-1),r=arguments[0],e=n;e--;)t[e-1]=arguments[e];return a(bh(r)?Tu(r):[r],ee(t,1));\n\t}function fo(n,t,r){var e=null==n?0:n.length;return e?(t=r||t===X?1:kc(t), au(n,t<0?0:t,e)):[]}function co(n,t,r){var e=null==n?0:n.length;return e?(t=r||t===X?1:kc(t), t=e-t, au(n,0,t<0?0:t)):[]}function ao(n,t){return n&&n.length?bu(n,mi(t,3),true,true):[]}function lo(n,t){return n&&n.length?bu(n,mi(t,3),true):[]}function so(n,t,r,e){var u=null==n?0:n.length;return u?(r&&typeof r!=\"number\"&&Ui(n,t,r)&&(r=0, e=u), ne(n,t,r,e)):[]}function ho(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=null==r?0:kc(r);\n\treturn u<0&&(u=Gl(e+u,0)), g(n,mi(t,3),u)}function po(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=e-1;return r!==X&&(u=kc(r), u=r<0?Gl(e+u,0):Hl(u,e-1)), g(n,mi(t,3),u,true)}function _o(n){return(null==n?0:n.length)?ee(n,1):[]}function vo(n){return(null==n?0:n.length)?ee(n,Wn):[]}function go(n,t){return(null==n?0:n.length)?(t=t===X?1:kc(t), ee(n,t)):[]}function yo(n){for(var t=-1,r=null==n?0:n.length,e={};++t<r;){var u=n[t];Tr(e,u[0],u[1]);}return e}function bo(n){return n&&n.length?n[0]:X}function wo(n,t,r){\n\tvar e=null==n?0:n.length;if(!e)return-1;var u=null==r?0:kc(r);return u<0&&(u=Gl(e+u,0)), y(n,t,u)}function mo(n){return(null==n?0:n.length)?au(n,0,-1):[]}function xo(n,t){return null==n?\"\":Kl.call(n,t)}function jo(n){var t=null==n?0:n.length;return t?n[t-1]:X}function Ao(n,t,r){var e=null==n?0:n.length;if(!e)return-1;var u=e;return r!==X&&(u=kc(r), u=u<0?Gl(e+u,0):Hl(u,e-1)), t===t?K(n,t,u):g(n,b,u,true)}function ko(n,t){return n&&n.length?Ge(n,kc(t)):X}function Io(n,t){return n&&n.length&&t&&t.length?Xe(n,t):n;\n\t}function Oo(n,t,r){return n&&n.length&&t&&t.length?Xe(n,t,mi(r,2)):n}function Ro(n,t,r){return n&&n.length&&t&&t.length?Xe(n,t,X,r):n}function zo(n,t){var r=[];if(!n||!n.length)return r;var e=-1,u=[],i=n.length;for(t=mi(t,3);++e<i;){var o=n[e];t(o,e,n)&&(r.push(o), u.push(e));}return nu(n,u), r}function Eo(n){return null==n?n:Xl.call(n)}function So(n,t,r){var e=null==n?0:n.length;return e?(r&&typeof r!=\"number\"&&Ui(n,t,r)?(t=0, r=e):(t=null==t?0:kc(t), r=r===X?e:kc(r)), au(n,t,r)):[]}function Wo(n,t){\n\treturn su(n,t)}function Lo(n,t,r){return hu(n,t,mi(r,2))}function Co(n,t){var r=null==n?0:n.length;if(r){var e=su(n,t);if(e<r&&Gf(n[e],t))return e}return-1}function Uo(n,t){return su(n,t,true)}function Bo(n,t,r){return hu(n,t,mi(r,2),true)}function To(n,t){if(null==n?0:n.length){var r=su(n,t,true)-1;if(Gf(n[r],t))return r}return-1}function $o(n){return n&&n.length?pu(n):[]}function Do(n,t){return n&&n.length?pu(n,mi(t,2)):[]}function Mo(n){var t=null==n?0:n.length;return t?au(n,1,t):[]}function Fo(n,t,r){\n\treturn n&&n.length?(t=r||t===X?1:kc(t), au(n,0,t<0?0:t)):[]}function No(n,t,r){var e=null==n?0:n.length;return e?(t=r||t===X?1:kc(t), t=e-t, au(n,t<0?0:t,e)):[]}function Po(n,t){return n&&n.length?bu(n,mi(t,3),false,true):[]}function qo(n,t){return n&&n.length?bu(n,mi(t,3)):[]}function Zo(n){return n&&n.length?gu(n):[]}function Ko(n,t){return n&&n.length?gu(n,mi(t,2)):[]}function Vo(n,t){return t=typeof t==\"function\"?t:X, n&&n.length?gu(n,X,t):[]}function Go(n){if(!n||!n.length)return[];var t=0;return n=i(n,function(n){\n\tif(Jf(n))return t=Gl(n.length,t), true}), I(t,function(t){return c(n,m(t))})}function Ho(t,r){if(!t||!t.length)return[];var e=Go(t);return null==r?e:c(e,function(t){return n(r,X,t)})}function Jo(n,t){return xu(n||[],t||[],Wr)}function Yo(n,t){return xu(n||[],t||[],fu)}function Qo(n){var t=Z(n);return t.__chain__=true, t}function Xo(n,t){return t(n), n}function nf(n,t){return t(n)}function tf(){return Qo(this)}function rf(){return new Y(this.value(),this.__chain__)}function ef(){this.__values__===X&&(this.__values__=jc(this.value()));\n\tvar n=this.__index__>=this.__values__.length;return{done:n,value:n?X:this.__values__[this.__index__++]}}function uf(){return this}function of(n){for(var t,r=this;r instanceof J;){var e=eo(r);e.__index__=0, e.__values__=X, t?u.__wrapped__=e:t=e;var u=e;r=r.__wrapped__;}return u.__wrapped__=n, t}function ff(){var n=this.__wrapped__;if(n instanceof Ut){var t=n;return this.__actions__.length&&(t=new Ut(this)), t=t.reverse(), t.__actions__.push({func:nf,args:[Eo],thisArg:X}), new Y(t,this.__chain__)}return this.thru(Eo);\n\t}function cf(){return wu(this.__wrapped__,this.__actions__)}function af(n,t,r){var e=bh(n)?u:Jr;return r&&Ui(n,t,r)&&(t=X), e(n,mi(t,3))}function lf(n,t){return(bh(n)?i:te)(n,mi(t,3))}function sf(n,t){return ee(yf(n,t),1)}function hf(n,t){return ee(yf(n,t),Wn)}function pf(n,t,r){return r=r===X?1:kc(r), ee(yf(n,t),r)}function _f(n,t){return(bh(n)?r:ys)(n,mi(t,3))}function vf(n,t){return(bh(n)?e:ds)(n,mi(t,3))}function gf(n,t,r,e){n=Hf(n)?n:ra(n), r=r&&!e?kc(r):0;var u=n.length;return r<0&&(r=Gl(u+r,0)), dc(n)?r<=u&&n.indexOf(t,r)>-1:!!u&&y(n,t,r)>-1}function yf(n,t){return(bh(n)?c:Pe)(n,mi(t,3))}function df(n,t,r,e){return null==n?[]:(bh(t)||(t=null==t?[]:[t]), r=e?X:r, bh(r)||(r=null==r?[]:[r]), He(n,t,r))}function bf(n,t,r){var e=bh(n)?l:j,u=arguments.length<3;return e(n,mi(t,4),r,u,ys)}function wf(n,t,r){var e=bh(n)?s:j,u=arguments.length<3;return e(n,mi(t,4),r,u,ds)}function mf(n,t){return(bh(n)?i:te)(n,Uf(mi(t,3)))}function xf(n){return(bh(n)?Rr:iu)(n)}function jf(n,t,r){return t=(r?Ui(n,t,r):t===X)?1:kc(t), (bh(n)?zr:ou)(n,t)}function Af(n){return(bh(n)?Er:cu)(n)}function kf(n){if(null==n)return 0;if(Hf(n))return dc(n)?V(n):n.length;var t=zs(n);return t==Hn||t==rt?n.size:Me(n).length}function If(n,t,r){var e=bh(n)?h:lu;return r&&Ui(n,t,r)&&(t=X), e(n,mi(t,3))}function Of(n,t){if(typeof t!=\"function\")throw new pl(en);return n=kc(n), function(){if(--n<1)return t.apply(this,arguments)}}function Rf(n,t,r){return t=r?X:t, t=n&&null==t?n.length:t, ai(n,xn,X,X,X,X,t)}function zf(n,t){var r;if(typeof t!=\"function\")throw new pl(en);\n\treturn n=kc(n), function(){return--n>0&&(r=t.apply(this,arguments)), n<=1&&(t=X), r}}function Ef(n,t,r){t=r?X:t;var e=ai(n,dn,X,X,X,X,X,t);return e.placeholder=Ef.placeholder, e}function Sf(n,t,r){t=r?X:t;var e=ai(n,bn,X,X,X,X,X,t);return e.placeholder=Sf.placeholder, e}function Wf(n,t,r){function e(t){var r=h,e=p;return h=p=X, d=t, v=n.apply(e,r)}function u(n){return d=n, g=Ws(f,t), b?e(n):v}function i(n){var r=n-y,e=n-d,u=t-r;return w?Hl(u,_-e):u}function o(n){var r=n-y,e=n-d;return y===X||r>=t||r<0||w&&e>=_;\n\t}function f(){var n=fh();return o(n)?c(n):(g=Ws(f,i(n)), X)}function c(n){return g=X, m&&h?e(n):(h=p=X, v)}function a(){g!==X&&As(g), d=0, h=y=p=g=X;}function l(){return g===X?v:c(fh())}function s(){var n=fh(),r=o(n);if(h=arguments, p=this, y=n, r){if(g===X)return u(y);if(w)return As(g), g=Ws(f,t), e(y)}return g===X&&(g=Ws(f,t)), v}var h,p,_,v,g,y,d=0,b=false,w=false,m=true;if(typeof n!=\"function\")throw new pl(en);return t=Oc(t)||0, fc(r)&&(b=!!r.leading, w=\"maxWait\"in r, _=w?Gl(Oc(r.maxWait)||0,t):_, m=\"trailing\"in r?!!r.trailing:m), s.cancel=a, s.flush=l, s}function Lf(n){return ai(n,An)}function Cf(n,t){if(typeof n!=\"function\"||null!=t&&typeof t!=\"function\")throw new pl(en);var r=function(){var e=arguments,u=t?t.apply(this,e):e[0],i=r.cache;if(i.has(u))return i.get(u);var o=n.apply(this,e);return r.cache=i.set(u,o)||i, o};return r.cache=new(Cf.Cache||hr), r}function Uf(n){if(typeof n!=\"function\")throw new pl(en);return function(){var t=arguments;switch(t.length){case 0:return!n.call(this);case 1:return!n.call(this,t[0]);case 2:\n\treturn!n.call(this,t[0],t[1]);case 3:return!n.call(this,t[0],t[1],t[2])}return!n.apply(this,t)}}function Bf(n){return zf(2,n)}function Tf(n,t){if(typeof n!=\"function\")throw new pl(en);return t=t===X?t:kc(t), uu(n,t)}function $f(t,r){if(typeof t!=\"function\")throw new pl(en);return r=null==r?0:Gl(kc(r),0), uu(function(e){var u=e[r],i=Iu(e,0,r);return u&&a(i,u), n(t,this,i)})}function Df(n,t,r){var e=true,u=true;if(typeof n!=\"function\")throw new pl(en);return fc(r)&&(e=\"leading\"in r?!!r.leading:e, u=\"trailing\"in r?!!r.trailing:u), Wf(n,t,{leading:e,maxWait:t,trailing:u})}function Mf(n){return Rf(n,1)}function Ff(n,t){return ph(Au(t),n)}function Nf(){if(!arguments.length)return[];var n=arguments[0];return bh(n)?n:[n]}function Pf(n){return Nr(n,hn)}function qf(n,t){return t=typeof t==\"function\"?t:X, Nr(n,hn,t)}function Zf(n){return Nr(n,ln|hn)}function Kf(n,t){return t=typeof t==\"function\"?t:X, Nr(n,ln|hn,t)}function Vf(n,t){return null==t||qr(n,t,Pc(t))}function Gf(n,t){return n===t||n!==n&&t!==t}function Hf(n){return null!=n&&oc(n.length)&&!uc(n);\n\t}function Jf(n){return cc(n)&&Hf(n)}function Yf(n){return n===true||n===false||cc(n)&&we(n)==Pn}function Qf(n){return cc(n)&&1===n.nodeType&&!gc(n)}function Xf(n){if(null==n)return true;if(Hf(n)&&(bh(n)||typeof n==\"string\"||typeof n.splice==\"function\"||mh(n)||Ih(n)||dh(n)))return!n.length;var t=zs(n);if(t==Hn||t==rt)return!n.size;if(Mi(n))return!Me(n).length;for(var r in n)if(bl.call(n,r))return false;return true}function nc(n,t){return Se(n,t)}function tc(n,t,r){r=typeof r==\"function\"?r:X;var e=r?r(n,t):X;return e===X?Se(n,t,X,r):!!e;\n\t}function rc(n){if(!cc(n))return false;var t=we(n);return t==Kn||t==Zn||typeof n.message==\"string\"&&typeof n.name==\"string\"&&!gc(n)}function ec(n){return typeof n==\"number\"&&Zl(n)}function uc(n){if(!fc(n))return false;var t=we(n);return t==Vn||t==Gn||t==Nn||t==nt}function ic(n){return typeof n==\"number\"&&n==kc(n)}function oc(n){return typeof n==\"number\"&&n>-1&&n%1==0&&n<=Ln}function fc(n){var t=typeof n;return null!=n&&(\"object\"==t||\"function\"==t)}function cc(n){return null!=n&&typeof n==\"object\"}function ac(n,t){\n\treturn n===t||Ce(n,t,ji(t))}function lc(n,t,r){return r=typeof r==\"function\"?r:X, Ce(n,t,ji(t),r)}function sc(n){return vc(n)&&n!=+n}function hc(n){if(Es(n))throw new fl(rn);return Ue(n)}function pc(n){return null===n}function _c(n){return null==n}function vc(n){return typeof n==\"number\"||cc(n)&&we(n)==Jn}function gc(n){if(!cc(n)||we(n)!=Qn)return false;var t=El(n);if(null===t)return true;var r=bl.call(t,\"constructor\")&&t.constructor;return typeof r==\"function\"&&r instanceof r&&dl.call(r)==jl}function yc(n){\n\treturn ic(n)&&n>=-Ln&&n<=Ln}function dc(n){return typeof n==\"string\"||!bh(n)&&cc(n)&&we(n)==et}function bc(n){return typeof n==\"symbol\"||cc(n)&&we(n)==ut}function wc(n){return n===X}function mc(n){return cc(n)&&zs(n)==ot}function xc(n){return cc(n)&&we(n)==ft}function jc(n){if(!n)return[];if(Hf(n))return dc(n)?G(n):Tu(n);if(Ul&&n[Ul])return D(n[Ul]());var t=zs(n);return(t==Hn?M:t==rt?P:ra)(n)}function Ac(n){if(!n)return 0===n?n:0;if(n=Oc(n), n===Wn||n===-Wn){return(n<0?-1:1)*Cn}return n===n?n:0}function kc(n){\n\tvar t=Ac(n),r=t%1;return t===t?r?t-r:t:0}function Ic(n){return n?Fr(kc(n),0,Bn):0}function Oc(n){if(typeof n==\"number\")return n;if(bc(n))return Un;if(fc(n)){var t=typeof n.valueOf==\"function\"?n.valueOf():n;n=fc(t)?t+\"\":t;}if(typeof n!=\"string\")return 0===n?n:+n;n=R(n);var r=Zt.test(n);return r||Vt.test(n)?Xr(n.slice(2),r?2:8):qt.test(n)?Un:+n}function Rc(n){return $u(n,qc(n))}function zc(n){return n?Fr(kc(n),-Ln,Ln):0===n?n:0}function Ec(n){return null==n?\"\":vu(n)}function Sc(n,t){var r=gs(n);return null==t?r:Ur(r,t);\n\t}function Wc(n,t){return v(n,mi(t,3),ue)}function Lc(n,t){return v(n,mi(t,3),oe)}function Cc(n,t){return null==n?n:bs(n,mi(t,3),qc)}function Uc(n,t){return null==n?n:ws(n,mi(t,3),qc)}function Bc(n,t){return n&&ue(n,mi(t,3))}function Tc(n,t){return n&&oe(n,mi(t,3))}function $c(n){return null==n?[]:fe(n,Pc(n))}function Dc(n){return null==n?[]:fe(n,qc(n))}function Mc(n,t,r){var e=null==n?X:_e(n,t);return e===X?r:e}function Fc(n,t){return null!=n&&Ri(n,t,xe)}function Nc(n,t){return null!=n&&Ri(n,t,je);\n\t}function Pc(n){return Hf(n)?Or(n):Me(n)}function qc(n){return Hf(n)?Or(n,true):Fe(n)}function Zc(n,t){var r={};return t=mi(t,3), ue(n,function(n,e,u){Tr(r,t(n,e,u),n);}), r}function Kc(n,t){var r={};return t=mi(t,3), ue(n,function(n,e,u){Tr(r,e,t(n,e,u));}), r}function Vc(n,t){return Gc(n,Uf(mi(t)))}function Gc(n,t){if(null==n)return{};var r=c(di(n),function(n){return[n]});return t=mi(t), Ye(n,r,function(n,r){return t(n,r[0])})}function Hc(n,t,r){t=ku(t,n);var e=-1,u=t.length;for(u||(u=1, n=X);++e<u;){var i=null==n?X:n[no(t[e])];\n\ti===X&&(e=u, i=r), n=uc(i)?i.call(n):i;}return n}function Jc(n,t,r){return null==n?n:fu(n,t,r)}function Yc(n,t,r,e){return e=typeof e==\"function\"?e:X, null==n?n:fu(n,t,r,e)}function Qc(n,t,e){var u=bh(n),i=u||mh(n)||Ih(n);if(t=mi(t,4), null==e){var o=n&&n.constructor;e=i?u?new o:[]:fc(n)&&uc(o)?gs(El(n)):{};}return(i?r:ue)(n,function(n,r,u){return t(e,n,r,u)}), e}function Xc(n,t){return null==n||yu(n,t)}function na(n,t,r){return null==n?n:du(n,t,Au(r))}function ta(n,t,r,e){return e=typeof e==\"function\"?e:X, null==n?n:du(n,t,Au(r),e)}function ra(n){return null==n?[]:E(n,Pc(n))}function ea(n){return null==n?[]:E(n,qc(n))}function ua(n,t,r){return r===X&&(r=t, t=X), r!==X&&(r=Oc(r), r=r===r?r:0), t!==X&&(t=Oc(t), t=t===t?t:0), Fr(Oc(n),t,r)}function ia(n,t,r){return t=Ac(t), r===X?(r=t, t=0):r=Ac(r), n=Oc(n), Ae(n,t,r)}function oa(n,t,r){if(r&&typeof r!=\"boolean\"&&Ui(n,t,r)&&(t=r=X), r===X&&(typeof t==\"boolean\"?(r=t, t=X):typeof n==\"boolean\"&&(r=n, n=X)), n===X&&t===X?(n=0, t=1):(n=Ac(n), t===X?(t=n, n=0):t=Ac(t)), n>t){\n\tvar e=n;n=t, t=e;}if(r||n%1||t%1){var u=Ql();return Hl(n+u*(t-n+Qr(\"1e-\"+((u+\"\").length-1))),t)}return tu(n,t)}function fa(n){return Qh(Ec(n).toLowerCase())}function ca(n){return n=Ec(n), n&&n.replace(Ht,ve).replace(Mr,\"\")}function aa(n,t,r){n=Ec(n), t=vu(t);var e=n.length;r=r===X?e:Fr(kc(r),0,e);var u=r;return r-=t.length, r>=0&&n.slice(r,u)==t}function la(n){return n=Ec(n), n&&kt.test(n)?n.replace(jt,ge):n}function sa(n){return n=Ec(n), n&&Lt.test(n)?n.replace(Wt,\"\\\\$&\"):n}function ha(n,t,r){n=Ec(n), t=kc(t);\n\tvar e=t?V(n):0;if(!t||e>=t)return n;var u=(t-e)/2;return ri(Nl(u),r)+n+ri(Fl(u),r)}function pa(n,t,r){n=Ec(n), t=kc(t);var e=t?V(n):0;return t&&e<t?n+ri(t-e,r):n}function _a(n,t,r){n=Ec(n), t=kc(t);var e=t?V(n):0;return t&&e<t?ri(t-e,r)+n:n}function va(n,t,r){return r||null==t?t=0:t&&(t=+t), Yl(Ec(n).replace(Ct,\"\"),t||0)}function ga(n,t,r){return t=(r?Ui(n,t,r):t===X)?1:kc(t), eu(Ec(n),t)}function ya(){var n=arguments,t=Ec(n[0]);return n.length<3?t:t.replace(n[1],n[2])}function da(n,t,r){return r&&typeof r!=\"number\"&&Ui(n,t,r)&&(t=r=X), (r=r===X?Bn:r>>>0)?(n=Ec(n), n&&(typeof t==\"string\"||null!=t&&!Ah(t))&&(t=vu(t), !t&&T(n))?Iu(G(n),0,r):n.split(t,r)):[]}function ba(n,t,r){return n=Ec(n), r=null==r?0:Fr(kc(r),0,n.length), t=vu(t), n.slice(r,r+t.length)==t}function wa(n,t,e){var u=Z.templateSettings;e&&Ui(n,t,e)&&(t=X), n=Ec(n), t=Wh({},t,u,li);var i=Wh({},t.imports,u.imports,li),o=Pc(i),f=E(i,o);r(o,function(n){if(Mt.test(n))throw new fl(on)});var c,a,l=0,s=t.interpolate||Jt,h=\"__p+='\",p=sl((t.escape||Jt).source+\"|\"+s.source+\"|\"+(s===Rt?Nt:Jt).source+\"|\"+(t.evaluate||Jt).source+\"|$\",\"g\"),_=bl.call(t,\"sourceURL\")?\"//# sourceURL=\"+(t.sourceURL+\"\").replace(/\\s/g,\" \")+\"\\n\":\"\";\n\tn.replace(p,function(t,r,e,u,i,o){return e||(e=u), h+=n.slice(l,o).replace(Yt,U), r&&(c=true, h+=\"'+__e(\"+r+\")+'\"), i&&(a=true, h+=\"';\"+i+\";\\n__p+='\"), e&&(h+=\"'+((__t=(\"+e+\"))==null?'':__t)+'\"), l=o+t.length, t}), h+=\"';\";var v=bl.call(t,\"variable\")&&t.variable;if(v){if(Mt.test(v))throw new fl(un)}else h=\"with(obj){\"+h+\"}\";h=(a?h.replace(bt,\"\"):h).replace(wt,\"$1\").replace(mt,\"$1;\"), h=\"function(\"+(v||\"obj\")+\"){\"+(v?\"\":\"obj||(obj={});\")+\"var __t,__p=''\"+(c?\",__e=_.escape\":\"\")+(a?\",__j=Array.prototype.join;function print(){__p+=__j.call(arguments,'')}\":\";\")+h+\"return __p}\";\n\tvar g=Xh(function(){return cl(o,_+\"return \"+h).apply(X,f)});if(g.source=h, rc(g))throw g;return g}function ma(n){return Ec(n).toLowerCase()}function xa(n){return Ec(n).toUpperCase()}function ja(n,t,r){if(n=Ec(n), n&&(r||t===X))return R(n);if(!n||!(t=vu(t)))return n;var e=G(n),u=G(t);return Iu(e,W(e,u),L(e,u)+1).join(\"\")}function Aa(n,t,r){if(n=Ec(n), n&&(r||t===X))return n.slice(0,H(n)+1);if(!n||!(t=vu(t)))return n;var e=G(n);return Iu(e,0,L(e,G(t))+1).join(\"\")}function ka(n,t,r){if(n=Ec(n), n&&(r||t===X))return n.replace(Ct,\"\");\n\tif(!n||!(t=vu(t)))return n;var e=G(n);return Iu(e,W(e,G(t))).join(\"\")}function Ia(n,t){var r=kn,e=In;if(fc(t)){var u=\"separator\"in t?t.separator:u;r=\"length\"in t?kc(t.length):r, e=\"omission\"in t?vu(t.omission):e;}n=Ec(n);var i=n.length;if(T(n)){var o=G(n);i=o.length;}if(r>=i)return n;var f=r-V(e);if(f<1)return e;var c=o?Iu(o,0,f).join(\"\"):n.slice(0,f);if(u===X)return c+e;if(o&&(f+=c.length-f), Ah(u)){if(n.slice(f).search(u)){var a,l=c;for(u.global||(u=sl(u.source,Ec(Pt.exec(u))+\"g\")), u.lastIndex=0;a=u.exec(l);)var s=a.index;\n\tc=c.slice(0,s===X?f:s);}}else if(n.indexOf(vu(u),f)!=f){var h=c.lastIndexOf(u);h>-1&&(c=c.slice(0,h));}return c+e}function Oa(n){return n=Ec(n), n&&At.test(n)?n.replace(xt,ye):n}function Ra(n,t,r){return n=Ec(n), t=r?X:t, t===X?$(n)?Q(n):_(n):n.match(t)||[]}function za(t){var r=null==t?0:t.length,e=mi();return t=r?c(t,function(n){if(\"function\"!=typeof n[1])throw new pl(en);return[e(n[0]),n[1]]}):[], uu(function(e){for(var u=-1;++u<r;){var i=t[u];if(n(i[0],this,e))return n(i[1],this,e)}})}function Ea(n){\n\treturn Pr(Nr(n,ln))}function Sa(n){return function(){return n}}function Wa(n,t){return null==n||n!==n?t:n}function La(n){return n}function Ca(n){return De(typeof n==\"function\"?n:Nr(n,ln))}function Ua(n){return qe(Nr(n,ln))}function Ba(n,t){return Ze(n,Nr(t,ln))}function Ta(n,t,e){var u=Pc(t),i=fe(t,u);null!=e||fc(t)&&(i.length||!u.length)||(e=t, t=n, n=this, i=fe(t,Pc(t)));var o=!(fc(e)&&\"chain\"in e&&!e.chain),f=uc(n);return r(i,function(r){var e=t[r];n[r]=e, f&&(n.prototype[r]=function(){var t=this.__chain__;\n\tif(o||t){var r=n(this.__wrapped__);return(r.__actions__=Tu(this.__actions__)).push({func:e,args:arguments,thisArg:n}), r.__chain__=t, r}return e.apply(n,a([this.value()],arguments))});}), n}function $a(){return re._===this&&(re._=Al), this}function Da(){}function Ma(n){return n=kc(n), uu(function(t){return Ge(t,n)})}function Fa(n){return Bi(n)?m(no(n)):Qe(n)}function Na(n){return function(t){return null==n?X:_e(n,t)}}function Pa(){return[]}function qa(){return false}function Za(){return{}}function Ka(){return\"\";\n\t}function Va(){return true}function Ga(n,t){if(n=kc(n), n<1||n>Ln)return[];var r=Bn,e=Hl(n,Bn);t=mi(t), n-=Bn;for(var u=I(e,t);++r<n;)t(r);return u}function Ha(n){return bh(n)?c(n,no):bc(n)?[n]:Tu(Cs(Ec(n)))}function Ja(n){var t=++wl;return Ec(n)+t}function Ya(n){return n&&n.length?Yr(n,La,me):X}function Qa(n,t){return n&&n.length?Yr(n,mi(t,2),me):X}function Xa(n){return w(n,La)}function nl(n,t){return w(n,mi(t,2))}function tl(n){return n&&n.length?Yr(n,La,Ne):X}function rl(n,t){return n&&n.length?Yr(n,mi(t,2),Ne):X;\n\t}function el(n){return n&&n.length?k(n,La):0}function ul(n,t){return n&&n.length?k(n,mi(t,2)):0}x=null==x?re:be.defaults(re.Object(),x,be.pick(re,Zr));var il=x.Array,ol=x.Date,fl=x.Error,cl=x.Function,al=x.Math,ll=x.Object,sl=x.RegExp,hl=x.String,pl=x.TypeError,_l=il.prototype,vl=cl.prototype,gl=ll.prototype,yl=x[\"__core-js_shared__\"],dl=vl.toString,bl=gl.hasOwnProperty,wl=0,ml=function(){var n=/[^.]+$/.exec(yl&&yl.keys&&yl.keys.IE_PROTO||\"\");return n?\"Symbol(src)_1.\"+n:\"\"}(),xl=gl.toString,jl=dl.call(ll),Al=re._,kl=sl(\"^\"+dl.call(bl).replace(Wt,\"\\\\$&\").replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g,\"$1.*?\")+\"$\"),Il=ie?x.Buffer:X,Ol=x.Symbol,Rl=x.Uint8Array,zl=Il?Il.allocUnsafe:X,El=F(ll.getPrototypeOf,ll),Sl=ll.create,Wl=gl.propertyIsEnumerable,Ll=_l.splice,Cl=Ol?Ol.isConcatSpreadable:X,Ul=Ol?Ol.iterator:X,Bl=Ol?Ol.toStringTag:X,Tl=function(){\n\ttry{var n=Ai(ll,\"defineProperty\");return n({},\"\",{}), n}catch(n){}}(),$l=x.clearTimeout!==re.clearTimeout&&x.clearTimeout,Dl=ol&&ol.now!==re.Date.now&&ol.now,Ml=x.setTimeout!==re.setTimeout&&x.setTimeout,Fl=al.ceil,Nl=al.floor,Pl=ll.getOwnPropertySymbols,ql=Il?Il.isBuffer:X,Zl=x.isFinite,Kl=_l.join,Vl=F(ll.keys,ll),Gl=al.max,Hl=al.min,Jl=ol.now,Yl=x.parseInt,Ql=al.random,Xl=_l.reverse,ns=Ai(x,\"DataView\"),ts=Ai(x,\"Map\"),rs=Ai(x,\"Promise\"),es=Ai(x,\"Set\"),us=Ai(x,\"WeakMap\"),is=Ai(ll,\"create\"),os=us&&new us,fs={},cs=to(ns),as=to(ts),ls=to(rs),ss=to(es),hs=to(us),ps=Ol?Ol.prototype:X,_s=ps?ps.valueOf:X,vs=ps?ps.toString:X,gs=function(){\n\tfunction n(){}return function(t){if(!fc(t))return{};if(Sl)return Sl(t);n.prototype=t;var r=new n;return n.prototype=X, r}}();Z.templateSettings={escape:It,evaluate:Ot,interpolate:Rt,variable:\"\",imports:{_:Z}}, Z.prototype=J.prototype, Z.prototype.constructor=Z, Y.prototype=gs(J.prototype), Y.prototype.constructor=Y, Ut.prototype=gs(J.prototype), Ut.prototype.constructor=Ut, nr.prototype.clear=tr, nr.prototype.delete=rr, nr.prototype.get=er, nr.prototype.has=ur, nr.prototype.set=ir, or.prototype.clear=fr, or.prototype.delete=cr, or.prototype.get=ar, or.prototype.has=lr, or.prototype.set=sr, hr.prototype.clear=pr, hr.prototype.delete=_r, hr.prototype.get=vr, hr.prototype.has=gr, hr.prototype.set=yr, dr.prototype.add=dr.prototype.push=br, dr.prototype.has=wr, mr.prototype.clear=xr, mr.prototype.delete=jr, mr.prototype.get=Ar, mr.prototype.has=kr, mr.prototype.set=Ir;var ys=Pu(ue),ds=Pu(oe,true),bs=qu(),ws=qu(true),ms=os?function(n,t){return os.set(n,t), n}:La,xs=Tl?function(n,t){return Tl(n,\"toString\",{configurable:true,enumerable:false,value:Sa(t),\n\twritable:true})}:La,js=uu,As=$l||function(n){return re.clearTimeout(n)},ks=es&&1/P(new es([,-0]))[1]==Wn?function(n){return new es(n)}:Da,Is=os?function(n){return os.get(n)}:Da,Os=Pl?function(n){return null==n?[]:(n=ll(n), i(Pl(n),function(t){return Wl.call(n,t)}))}:Pa,Rs=Pl?function(n){for(var t=[];n;)a(t,Os(n)), n=El(n);return t}:Pa,zs=we;(ns&&zs(new ns(new ArrayBuffer(1)))!=at||ts&&zs(new ts)!=Hn||rs&&zs(rs.resolve())!=Xn||es&&zs(new es)!=rt||us&&zs(new us)!=ot)&&(zs=function(n){var t=we(n),r=t==Qn?n.constructor:X,e=r?to(r):\"\";\n\tif(e)switch(e){case cs:return at;case as:return Hn;case ls:return Xn;case ss:return rt;case hs:return ot}return t});var Es=yl?uc:qa,Ss=Qi(ms),Ws=Ml||function(n,t){return re.setTimeout(n,t)},Ls=Qi(xs),Cs=Pi(function(n){var t=[];return 46===n.charCodeAt(0)&&t.push(\"\"), n.replace(St,function(n,r,e,u){t.push(e?u.replace(Ft,\"$1\"):r||n);}), t}),Us=uu(function(n,t){return Jf(n)?Hr(n,ee(t,1,Jf,true)):[]}),Bs=uu(function(n,t){var r=jo(t);return Jf(r)&&(r=X), Jf(n)?Hr(n,ee(t,1,Jf,true),mi(r,2)):[]}),Ts=uu(function(n,t){\n\tvar r=jo(t);return Jf(r)&&(r=X), Jf(n)?Hr(n,ee(t,1,Jf,true),X,r):[]}),$s=uu(function(n){var t=c(n,ju);return t.length&&t[0]===n[0]?ke(t):[]}),Ds=uu(function(n){var t=jo(n),r=c(n,ju);return t===jo(r)?t=X:r.pop(), r.length&&r[0]===n[0]?ke(r,mi(t,2)):[]}),Ms=uu(function(n){var t=jo(n),r=c(n,ju);return t=typeof t==\"function\"?t:X, t&&r.pop(), r.length&&r[0]===n[0]?ke(r,X,t):[]}),Fs=uu(Io),Ns=gi(function(n,t){var r=null==n?0:n.length,e=$r(n,t);return nu(n,c(t,function(n){return Ci(n,r)?+n:n}).sort(Lu)), e}),Ps=uu(function(n){\n\treturn gu(ee(n,1,Jf,true))}),qs=uu(function(n){var t=jo(n);return Jf(t)&&(t=X), gu(ee(n,1,Jf,true),mi(t,2))}),Zs=uu(function(n){var t=jo(n);return t=typeof t==\"function\"?t:X, gu(ee(n,1,Jf,true),X,t)}),Ks=uu(function(n,t){return Jf(n)?Hr(n,t):[]}),Vs=uu(function(n){return mu(i(n,Jf))}),Gs=uu(function(n){var t=jo(n);return Jf(t)&&(t=X), mu(i(n,Jf),mi(t,2))}),Hs=uu(function(n){var t=jo(n);return t=typeof t==\"function\"?t:X, mu(i(n,Jf),X,t)}),Js=uu(Go),Ys=uu(function(n){var t=n.length,r=t>1?n[t-1]:X;return r=typeof r==\"function\"?(n.pop(), r):X, Ho(n,r)}),Qs=gi(function(n){var t=n.length,r=t?n[0]:0,e=this.__wrapped__,u=function(t){return $r(t,n)};return!(t>1||this.__actions__.length)&&e instanceof Ut&&Ci(r)?(e=e.slice(r,+r+(t?1:0)), e.__actions__.push({func:nf,args:[u],thisArg:X}), new Y(e,this.__chain__).thru(function(n){return t&&!n.length&&n.push(X), n})):this.thru(u)}),Xs=Fu(function(n,t,r){bl.call(n,r)?++n[r]:Tr(n,r,1);}),nh=Ju(ho),th=Ju(po),rh=Fu(function(n,t,r){bl.call(n,r)?n[r].push(t):Tr(n,r,[t]);}),eh=uu(function(t,r,e){var u=-1,i=typeof r==\"function\",o=Hf(t)?il(t.length):[];\n\treturn ys(t,function(t){o[++u]=i?n(r,t,e):Oe(t,r,e);}), o}),uh=Fu(function(n,t,r){Tr(n,r,t);}),ih=Fu(function(n,t,r){n[r?0:1].push(t);},function(){return[[],[]]}),oh=uu(function(n,t){if(null==n)return[];var r=t.length;return r>1&&Ui(n,t[0],t[1])?t=[]:r>2&&Ui(t[0],t[1],t[2])&&(t=[t[0]]), He(n,ee(t,1),[])}),fh=Dl||function(){return re.Date.now()},ch=uu(function(n,t,r){var e=vn;if(r.length){var u=N(r,wi(ch));e|=wn;}return ai(n,e,t,r,u)}),ah=uu(function(n,t,r){var e=vn|gn;if(r.length){var u=N(r,wi(ah));e|=wn;\n\t}return ai(t,e,n,r,u)}),lh=uu(function(n,t){return Gr(n,1,t)}),sh=uu(function(n,t,r){return Gr(n,Oc(t)||0,r)});Cf.Cache=hr;var hh=js(function(t,r){r=1==r.length&&bh(r[0])?c(r[0],z(mi())):c(ee(r,1),z(mi()));var e=r.length;return uu(function(u){for(var i=-1,o=Hl(u.length,e);++i<o;)u[i]=r[i].call(this,u[i]);return n(t,this,u)})}),ph=uu(function(n,t){return ai(n,wn,X,t,N(t,wi(ph)))}),_h=uu(function(n,t){return ai(n,mn,X,t,N(t,wi(_h)))}),vh=gi(function(n,t){return ai(n,jn,X,X,X,t)}),gh=ii(me),yh=ii(function(n,t){\n\treturn n>=t}),dh=Re(function(){return arguments}())?Re:function(n){return cc(n)&&bl.call(n,\"callee\")&&!Wl.call(n,\"callee\")},bh=il.isArray,wh=ce?z(ce):ze,mh=ql||qa,xh=ae?z(ae):Ee,jh=le?z(le):Le,Ah=se?z(se):Be,kh=he?z(he):Te,Ih=pe?z(pe):$e,Oh=ii(Ne),Rh=ii(function(n,t){return n<=t}),zh=Nu(function(n,t){if(Mi(t)||Hf(t))return $u(t,Pc(t),n), X;for(var r in t)bl.call(t,r)&&Wr(n,r,t[r]);}),Eh=Nu(function(n,t){$u(t,qc(t),n);}),Sh=Nu(function(n,t,r,e){$u(t,qc(t),n,e);}),Wh=Nu(function(n,t,r,e){$u(t,Pc(t),n,e);\n\t}),Lh=gi($r),Ch=uu(function(n,t){n=ll(n);var r=-1,e=t.length,u=e>2?t[2]:X;for(u&&Ui(t[0],t[1],u)&&(e=1);++r<e;)for(var i=t[r],o=qc(i),f=-1,c=o.length;++f<c;){var a=o[f],l=n[a];(l===X||Gf(l,gl[a])&&!bl.call(n,a))&&(n[a]=i[a]);}return n}),Uh=uu(function(t){return t.push(X,si), n(Mh,X,t)}),Bh=Xu(function(n,t,r){null!=t&&typeof t.toString!=\"function\"&&(t=xl.call(t)), n[t]=r;},Sa(La)),Th=Xu(function(n,t,r){null!=t&&typeof t.toString!=\"function\"&&(t=xl.call(t)), bl.call(n,t)?n[t].push(r):n[t]=[r];},mi),$h=uu(Oe),Dh=Nu(function(n,t,r){\n\tKe(n,t,r);}),Mh=Nu(function(n,t,r,e){Ke(n,t,r,e);}),Fh=gi(function(n,t){var r={};if(null==n)return r;var e=false;t=c(t,function(t){return t=ku(t,n), e||(e=t.length>1), t}), $u(n,di(n),r), e&&(r=Nr(r,ln|sn|hn,hi));for(var u=t.length;u--;)yu(r,t[u]);return r}),Nh=gi(function(n,t){return null==n?{}:Je(n,t)}),Ph=ci(Pc),qh=ci(qc),Zh=Vu(function(n,t,r){return t=t.toLowerCase(), n+(r?fa(t):t)}),Kh=Vu(function(n,t,r){return n+(r?\"-\":\"\")+t.toLowerCase()}),Vh=Vu(function(n,t,r){return n+(r?\" \":\"\")+t.toLowerCase()}),Gh=Ku(\"toLowerCase\"),Hh=Vu(function(n,t,r){\n\treturn n+(r?\"_\":\"\")+t.toLowerCase()}),Jh=Vu(function(n,t,r){return n+(r?\" \":\"\")+Qh(t)}),Yh=Vu(function(n,t,r){return n+(r?\" \":\"\")+t.toUpperCase()}),Qh=Ku(\"toUpperCase\"),Xh=uu(function(t,r){try{return n(t,X,r)}catch(n){return rc(n)?n:new fl(n)}}),np=gi(function(n,t){return r(t,function(t){t=no(t), Tr(n,t,ch(n[t],n));}), n}),tp=Yu(),rp=Yu(true),ep=uu(function(n,t){return function(r){return Oe(r,n,t)}}),up=uu(function(n,t){return function(r){return Oe(n,r,t)}}),ip=ti(c),op=ti(u),fp=ti(h),cp=ui(),ap=ui(true),lp=ni(function(n,t){\n\treturn n+t},0),sp=fi(\"ceil\"),hp=ni(function(n,t){return n/t},1),pp=fi(\"floor\"),_p=ni(function(n,t){return n*t},1),vp=fi(\"round\"),gp=ni(function(n,t){return n-t},0);return Z.after=Of, Z.ary=Rf, Z.assign=zh, Z.assignIn=Eh, Z.assignInWith=Sh, Z.assignWith=Wh, Z.at=Lh, Z.before=zf, Z.bind=ch, Z.bindAll=np, Z.bindKey=ah, Z.castArray=Nf, Z.chain=Qo, Z.chunk=uo, Z.compact=io, Z.concat=oo, Z.cond=za, Z.conforms=Ea, Z.constant=Sa, Z.countBy=Xs, Z.create=Sc, Z.curry=Ef, Z.curryRight=Sf, Z.debounce=Wf, Z.defaults=Ch, Z.defaultsDeep=Uh, Z.defer=lh, Z.delay=sh, Z.difference=Us, Z.differenceBy=Bs, Z.differenceWith=Ts, Z.drop=fo, Z.dropRight=co, Z.dropRightWhile=ao, Z.dropWhile=lo, Z.fill=so, Z.filter=lf, Z.flatMap=sf, Z.flatMapDeep=hf, Z.flatMapDepth=pf, Z.flatten=_o, Z.flattenDeep=vo, Z.flattenDepth=go, Z.flip=Lf, Z.flow=tp, Z.flowRight=rp, Z.fromPairs=yo, Z.functions=$c, Z.functionsIn=Dc, Z.groupBy=rh, Z.initial=mo, Z.intersection=$s, Z.intersectionBy=Ds, Z.intersectionWith=Ms, Z.invert=Bh, Z.invertBy=Th, Z.invokeMap=eh, Z.iteratee=Ca, Z.keyBy=uh, Z.keys=Pc, Z.keysIn=qc, Z.map=yf, Z.mapKeys=Zc, Z.mapValues=Kc, Z.matches=Ua, Z.matchesProperty=Ba, Z.memoize=Cf, Z.merge=Dh, Z.mergeWith=Mh, Z.method=ep, Z.methodOf=up, Z.mixin=Ta, Z.negate=Uf, Z.nthArg=Ma, Z.omit=Fh, Z.omitBy=Vc, Z.once=Bf, Z.orderBy=df, Z.over=ip, Z.overArgs=hh, Z.overEvery=op, Z.overSome=fp, Z.partial=ph, Z.partialRight=_h, Z.partition=ih, Z.pick=Nh, Z.pickBy=Gc, Z.property=Fa, Z.propertyOf=Na, Z.pull=Fs, Z.pullAll=Io, Z.pullAllBy=Oo, Z.pullAllWith=Ro, Z.pullAt=Ns, Z.range=cp, Z.rangeRight=ap, Z.rearg=vh, Z.reject=mf, Z.remove=zo, Z.rest=Tf, Z.reverse=Eo, Z.sampleSize=jf, Z.set=Jc, Z.setWith=Yc, Z.shuffle=Af, Z.slice=So, Z.sortBy=oh, Z.sortedUniq=$o, Z.sortedUniqBy=Do, Z.split=da, Z.spread=$f, Z.tail=Mo, Z.take=Fo, Z.takeRight=No, Z.takeRightWhile=Po, Z.takeWhile=qo, Z.tap=Xo, Z.throttle=Df, Z.thru=nf, Z.toArray=jc, Z.toPairs=Ph, Z.toPairsIn=qh, Z.toPath=Ha, Z.toPlainObject=Rc, Z.transform=Qc, Z.unary=Mf, Z.union=Ps, Z.unionBy=qs, Z.unionWith=Zs, Z.uniq=Zo, Z.uniqBy=Ko, Z.uniqWith=Vo, Z.unset=Xc, Z.unzip=Go, Z.unzipWith=Ho, Z.update=na, Z.updateWith=ta, Z.values=ra, Z.valuesIn=ea, Z.without=Ks, Z.words=Ra, Z.wrap=Ff, Z.xor=Vs, Z.xorBy=Gs, Z.xorWith=Hs, Z.zip=Js, Z.zipObject=Jo, Z.zipObjectDeep=Yo, Z.zipWith=Ys, Z.entries=Ph, Z.entriesIn=qh, Z.extend=Eh, Z.extendWith=Sh, Ta(Z,Z), Z.add=lp, Z.attempt=Xh, Z.camelCase=Zh, Z.capitalize=fa, Z.ceil=sp, Z.clamp=ua, Z.clone=Pf, Z.cloneDeep=Zf, Z.cloneDeepWith=Kf, Z.cloneWith=qf, Z.conformsTo=Vf, Z.deburr=ca, Z.defaultTo=Wa, Z.divide=hp, Z.endsWith=aa, Z.eq=Gf, Z.escape=la, Z.escapeRegExp=sa, Z.every=af, Z.find=nh, Z.findIndex=ho, Z.findKey=Wc, Z.findLast=th, Z.findLastIndex=po, Z.findLastKey=Lc, Z.floor=pp, Z.forEach=_f, Z.forEachRight=vf, Z.forIn=Cc, Z.forInRight=Uc, Z.forOwn=Bc, Z.forOwnRight=Tc, Z.get=Mc, Z.gt=gh, Z.gte=yh, Z.has=Fc, Z.hasIn=Nc, Z.head=bo, Z.identity=La, Z.includes=gf, Z.indexOf=wo, Z.inRange=ia, Z.invoke=$h, Z.isArguments=dh, Z.isArray=bh, Z.isArrayBuffer=wh, Z.isArrayLike=Hf, Z.isArrayLikeObject=Jf, Z.isBoolean=Yf, Z.isBuffer=mh, Z.isDate=xh, Z.isElement=Qf, Z.isEmpty=Xf, Z.isEqual=nc, Z.isEqualWith=tc, Z.isError=rc, Z.isFinite=ec, Z.isFunction=uc, Z.isInteger=ic, Z.isLength=oc, Z.isMap=jh, Z.isMatch=ac, Z.isMatchWith=lc, Z.isNaN=sc, Z.isNative=hc, Z.isNil=_c, Z.isNull=pc, Z.isNumber=vc, Z.isObject=fc, Z.isObjectLike=cc, Z.isPlainObject=gc, Z.isRegExp=Ah, Z.isSafeInteger=yc, Z.isSet=kh, Z.isString=dc, Z.isSymbol=bc, Z.isTypedArray=Ih, Z.isUndefined=wc, Z.isWeakMap=mc, Z.isWeakSet=xc, Z.join=xo, Z.kebabCase=Kh, Z.last=jo, Z.lastIndexOf=Ao, Z.lowerCase=Vh, Z.lowerFirst=Gh, Z.lt=Oh, Z.lte=Rh, Z.max=Ya, Z.maxBy=Qa, Z.mean=Xa, Z.meanBy=nl, Z.min=tl, Z.minBy=rl, Z.stubArray=Pa, Z.stubFalse=qa, Z.stubObject=Za, Z.stubString=Ka, Z.stubTrue=Va, Z.multiply=_p, Z.nth=ko, Z.noConflict=$a, Z.noop=Da, Z.now=fh, Z.pad=ha, Z.padEnd=pa, Z.padStart=_a, Z.parseInt=va, Z.random=oa, Z.reduce=bf, Z.reduceRight=wf, Z.repeat=ga, Z.replace=ya, Z.result=Hc, Z.round=vp, Z.runInContext=p, Z.sample=xf, Z.size=kf, Z.snakeCase=Hh, Z.some=If, Z.sortedIndex=Wo, Z.sortedIndexBy=Lo, Z.sortedIndexOf=Co, Z.sortedLastIndex=Uo, Z.sortedLastIndexBy=Bo, Z.sortedLastIndexOf=To, Z.startCase=Jh, Z.startsWith=ba, Z.subtract=gp, Z.sum=el, Z.sumBy=ul, Z.template=wa, Z.times=Ga, Z.toFinite=Ac, Z.toInteger=kc, Z.toLength=Ic, Z.toLower=ma, Z.toNumber=Oc, Z.toSafeInteger=zc, Z.toString=Ec, Z.toUpper=xa, Z.trim=ja, Z.trimEnd=Aa, Z.trimStart=ka, Z.truncate=Ia, Z.unescape=Oa, Z.uniqueId=Ja, Z.upperCase=Yh, Z.upperFirst=Qh, Z.each=_f, Z.eachRight=vf, Z.first=bo, Ta(Z,function(){var n={};return ue(Z,function(t,r){bl.call(Z.prototype,r)||(n[r]=t);}), n}(),{chain:false}), Z.VERSION=nn, r([\"bind\",\"bindKey\",\"curry\",\"curryRight\",\"partial\",\"partialRight\"],function(n){Z[n].placeholder=Z;}), r([\"drop\",\"take\"],function(n,t){Ut.prototype[n]=function(r){\n\tr=r===X?1:Gl(kc(r),0);var e=this.__filtered__&&!t?new Ut(this):this.clone();return e.__filtered__?e.__takeCount__=Hl(r,e.__takeCount__):e.__views__.push({size:Hl(r,Bn),type:n+(e.__dir__<0?\"Right\":\"\")}), e}, Ut.prototype[n+\"Right\"]=function(t){return this.reverse()[n](t).reverse()};}), r([\"filter\",\"map\",\"takeWhile\"],function(n,t){var r=t+1,e=r==zn||r==Sn;Ut.prototype[n]=function(n){var t=this.clone();return t.__iteratees__.push({iteratee:mi(n,3),type:r}), t.__filtered__=t.__filtered__||e, t};}), r([\"head\",\"last\"],function(n,t){\n\tvar r=\"take\"+(t?\"Right\":\"\");Ut.prototype[n]=function(){return this[r](1).value()[0]};}), r([\"initial\",\"tail\"],function(n,t){var r=\"drop\"+(t?\"\":\"Right\");Ut.prototype[n]=function(){return this.__filtered__?new Ut(this):this[r](1)};}), Ut.prototype.compact=function(){return this.filter(La)}, Ut.prototype.find=function(n){return this.filter(n).head()}, Ut.prototype.findLast=function(n){return this.reverse().find(n)}, Ut.prototype.invokeMap=uu(function(n,t){return typeof n==\"function\"?new Ut(this):this.map(function(r){\n\treturn Oe(r,n,t)})}), Ut.prototype.reject=function(n){return this.filter(Uf(mi(n)))}, Ut.prototype.slice=function(n,t){n=kc(n);var r=this;return r.__filtered__&&(n>0||t<0)?new Ut(r):(n<0?r=r.takeRight(-n):n&&(r=r.drop(n)), t!==X&&(t=kc(t), r=t<0?r.dropRight(-t):r.take(t-n)), r)}, Ut.prototype.takeRightWhile=function(n){return this.reverse().takeWhile(n).reverse()}, Ut.prototype.toArray=function(){return this.take(Bn)}, ue(Ut.prototype,function(n,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),e=/^(?:head|last)$/.test(t),u=Z[e?\"take\"+(\"last\"==t?\"Right\":\"\"):t],i=e||/^find/.test(t);\n\tu&&(Z.prototype[t]=function(){var t=this.__wrapped__,o=e?[1]:arguments,f=t instanceof Ut,c=o[0],l=f||bh(t),s=function(n){var t=u.apply(Z,a([n],o));return e&&h?t[0]:t};l&&r&&typeof c==\"function\"&&1!=c.length&&(f=l=false);var h=this.__chain__,p=!!this.__actions__.length,_=i&&!h,v=f&&!p;if(!i&&l){t=v?t:new Ut(this);var g=n.apply(t,o);return g.__actions__.push({func:nf,args:[s],thisArg:X}), new Y(g,h)}return _&&v?n.apply(this,o):(g=this.thru(s), _?e?g.value()[0]:g.value():g)});}), r([\"pop\",\"push\",\"shift\",\"sort\",\"splice\",\"unshift\"],function(n){\n\tvar t=_l[n],r=/^(?:push|sort|unshift)$/.test(n)?\"tap\":\"thru\",e=/^(?:pop|shift)$/.test(n);Z.prototype[n]=function(){var n=arguments;if(e&&!this.__chain__){var u=this.value();return t.apply(bh(u)?u:[],n)}return this[r](function(r){return t.apply(bh(r)?r:[],n)})};}), ue(Ut.prototype,function(n,t){var r=Z[t];if(r){var e=r.name+\"\";bl.call(fs,e)||(fs[e]=[]), fs[e].push({name:t,func:r});}}), fs[Qu(X,gn).name]=[{name:\"wrapper\",func:X}], Ut.prototype.clone=Dt, Ut.prototype.reverse=Qt, Ut.prototype.value=Xt, Z.prototype.at=Qs, Z.prototype.chain=tf, Z.prototype.commit=rf, Z.prototype.next=ef, Z.prototype.plant=of, Z.prototype.reverse=ff, Z.prototype.toJSON=Z.prototype.valueOf=Z.prototype.value=cf, Z.prototype.first=Z.prototype.head, Ul&&(Z.prototype[Ul]=uf), Z},be=de();typeof undefined==\"function\"&&typeof undefined.amd==\"object\"&&undefined.amd?(re._=be, undefined(function(){return be})):ue?((ue.exports=be)._=be, ee._=be):re._=be;}).call(commonjsGlobal);\n\t});\n\n\tvar _mapping = createCommonjsModule(function (module, exports) {\n\t/** Used to map aliases to their real names. */\n\texports.aliasToReal = {\n\n\t  // Lodash aliases.\n\t  'each': 'forEach',\n\t  'eachRight': 'forEachRight',\n\t  'entries': 'toPairs',\n\t  'entriesIn': 'toPairsIn',\n\t  'extend': 'assignIn',\n\t  'extendAll': 'assignInAll',\n\t  'extendAllWith': 'assignInAllWith',\n\t  'extendWith': 'assignInWith',\n\t  'first': 'head',\n\n\t  // Methods that are curried variants of others.\n\t  'conforms': 'conformsTo',\n\t  'matches': 'isMatch',\n\t  'property': 'get',\n\n\t  // Ramda aliases.\n\t  '__': 'placeholder',\n\t  'F': 'stubFalse',\n\t  'T': 'stubTrue',\n\t  'all': 'every',\n\t  'allPass': 'overEvery',\n\t  'always': 'constant',\n\t  'any': 'some',\n\t  'anyPass': 'overSome',\n\t  'apply': 'spread',\n\t  'assoc': 'set',\n\t  'assocPath': 'set',\n\t  'complement': 'negate',\n\t  'compose': 'flowRight',\n\t  'contains': 'includes',\n\t  'dissoc': 'unset',\n\t  'dissocPath': 'unset',\n\t  'dropLast': 'dropRight',\n\t  'dropLastWhile': 'dropRightWhile',\n\t  'equals': 'isEqual',\n\t  'identical': 'eq',\n\t  'indexBy': 'keyBy',\n\t  'init': 'initial',\n\t  'invertObj': 'invert',\n\t  'juxt': 'over',\n\t  'omitAll': 'omit',\n\t  'nAry': 'ary',\n\t  'path': 'get',\n\t  'pathEq': 'matchesProperty',\n\t  'pathOr': 'getOr',\n\t  'paths': 'at',\n\t  'pickAll': 'pick',\n\t  'pipe': 'flow',\n\t  'pluck': 'map',\n\t  'prop': 'get',\n\t  'propEq': 'matchesProperty',\n\t  'propOr': 'getOr',\n\t  'props': 'at',\n\t  'symmetricDifference': 'xor',\n\t  'symmetricDifferenceBy': 'xorBy',\n\t  'symmetricDifferenceWith': 'xorWith',\n\t  'takeLast': 'takeRight',\n\t  'takeLastWhile': 'takeRightWhile',\n\t  'unapply': 'rest',\n\t  'unnest': 'flatten',\n\t  'useWith': 'overArgs',\n\t  'where': 'conformsTo',\n\t  'whereEq': 'isMatch',\n\t  'zipObj': 'zipObject'\n\t};\n\n\t/** Used to map ary to method names. */\n\texports.aryMethod = {\n\t  '1': [\n\t    'assignAll', 'assignInAll', 'attempt', 'castArray', 'ceil', 'create',\n\t    'curry', 'curryRight', 'defaultsAll', 'defaultsDeepAll', 'floor', 'flow',\n\t    'flowRight', 'fromPairs', 'invert', 'iteratee', 'memoize', 'method', 'mergeAll',\n\t    'methodOf', 'mixin', 'nthArg', 'over', 'overEvery', 'overSome','rest', 'reverse',\n\t    'round', 'runInContext', 'spread', 'template', 'trim', 'trimEnd', 'trimStart',\n\t    'uniqueId', 'words', 'zipAll'\n\t  ],\n\t  '2': [\n\t    'add', 'after', 'ary', 'assign', 'assignAllWith', 'assignIn', 'assignInAllWith',\n\t    'at', 'before', 'bind', 'bindAll', 'bindKey', 'chunk', 'cloneDeepWith',\n\t    'cloneWith', 'concat', 'conformsTo', 'countBy', 'curryN', 'curryRightN',\n\t    'debounce', 'defaults', 'defaultsDeep', 'defaultTo', 'delay', 'difference',\n\t    'divide', 'drop', 'dropRight', 'dropRightWhile', 'dropWhile', 'endsWith', 'eq',\n\t    'every', 'filter', 'find', 'findIndex', 'findKey', 'findLast', 'findLastIndex',\n\t    'findLastKey', 'flatMap', 'flatMapDeep', 'flattenDepth', 'forEach',\n\t    'forEachRight', 'forIn', 'forInRight', 'forOwn', 'forOwnRight', 'get',\n\t    'groupBy', 'gt', 'gte', 'has', 'hasIn', 'includes', 'indexOf', 'intersection',\n\t    'invertBy', 'invoke', 'invokeMap', 'isEqual', 'isMatch', 'join', 'keyBy',\n\t    'lastIndexOf', 'lt', 'lte', 'map', 'mapKeys', 'mapValues', 'matchesProperty',\n\t    'maxBy', 'meanBy', 'merge', 'mergeAllWith', 'minBy', 'multiply', 'nth', 'omit',\n\t    'omitBy', 'overArgs', 'pad', 'padEnd', 'padStart', 'parseInt', 'partial',\n\t    'partialRight', 'partition', 'pick', 'pickBy', 'propertyOf', 'pull', 'pullAll',\n\t    'pullAt', 'random', 'range', 'rangeRight', 'rearg', 'reject', 'remove',\n\t    'repeat', 'restFrom', 'result', 'sampleSize', 'some', 'sortBy', 'sortedIndex',\n\t    'sortedIndexOf', 'sortedLastIndex', 'sortedLastIndexOf', 'sortedUniqBy',\n\t    'split', 'spreadFrom', 'startsWith', 'subtract', 'sumBy', 'take', 'takeRight',\n\t    'takeRightWhile', 'takeWhile', 'tap', 'throttle', 'thru', 'times', 'trimChars',\n\t    'trimCharsEnd', 'trimCharsStart', 'truncate', 'union', 'uniqBy', 'uniqWith',\n\t    'unset', 'unzipWith', 'without', 'wrap', 'xor', 'zip', 'zipObject',\n\t    'zipObjectDeep'\n\t  ],\n\t  '3': [\n\t    'assignInWith', 'assignWith', 'clamp', 'differenceBy', 'differenceWith',\n\t    'findFrom', 'findIndexFrom', 'findLastFrom', 'findLastIndexFrom', 'getOr',\n\t    'includesFrom', 'indexOfFrom', 'inRange', 'intersectionBy', 'intersectionWith',\n\t    'invokeArgs', 'invokeArgsMap', 'isEqualWith', 'isMatchWith', 'flatMapDepth',\n\t    'lastIndexOfFrom', 'mergeWith', 'orderBy', 'padChars', 'padCharsEnd',\n\t    'padCharsStart', 'pullAllBy', 'pullAllWith', 'rangeStep', 'rangeStepRight',\n\t    'reduce', 'reduceRight', 'replace', 'set', 'slice', 'sortedIndexBy',\n\t    'sortedLastIndexBy', 'transform', 'unionBy', 'unionWith', 'update', 'xorBy',\n\t    'xorWith', 'zipWith'\n\t  ],\n\t  '4': [\n\t    'fill', 'setWith', 'updateWith'\n\t  ]\n\t};\n\n\t/** Used to map ary to rearg configs. */\n\texports.aryRearg = {\n\t  '2': [1, 0],\n\t  '3': [2, 0, 1],\n\t  '4': [3, 2, 0, 1]\n\t};\n\n\t/** Used to map method names to their iteratee ary. */\n\texports.iterateeAry = {\n\t  'dropRightWhile': 1,\n\t  'dropWhile': 1,\n\t  'every': 1,\n\t  'filter': 1,\n\t  'find': 1,\n\t  'findFrom': 1,\n\t  'findIndex': 1,\n\t  'findIndexFrom': 1,\n\t  'findKey': 1,\n\t  'findLast': 1,\n\t  'findLastFrom': 1,\n\t  'findLastIndex': 1,\n\t  'findLastIndexFrom': 1,\n\t  'findLastKey': 1,\n\t  'flatMap': 1,\n\t  'flatMapDeep': 1,\n\t  'flatMapDepth': 1,\n\t  'forEach': 1,\n\t  'forEachRight': 1,\n\t  'forIn': 1,\n\t  'forInRight': 1,\n\t  'forOwn': 1,\n\t  'forOwnRight': 1,\n\t  'map': 1,\n\t  'mapKeys': 1,\n\t  'mapValues': 1,\n\t  'partition': 1,\n\t  'reduce': 2,\n\t  'reduceRight': 2,\n\t  'reject': 1,\n\t  'remove': 1,\n\t  'some': 1,\n\t  'takeRightWhile': 1,\n\t  'takeWhile': 1,\n\t  'times': 1,\n\t  'transform': 2\n\t};\n\n\t/** Used to map method names to iteratee rearg configs. */\n\texports.iterateeRearg = {\n\t  'mapKeys': [1],\n\t  'reduceRight': [1, 0]\n\t};\n\n\t/** Used to map method names to rearg configs. */\n\texports.methodRearg = {\n\t  'assignInAllWith': [1, 0],\n\t  'assignInWith': [1, 2, 0],\n\t  'assignAllWith': [1, 0],\n\t  'assignWith': [1, 2, 0],\n\t  'differenceBy': [1, 2, 0],\n\t  'differenceWith': [1, 2, 0],\n\t  'getOr': [2, 1, 0],\n\t  'intersectionBy': [1, 2, 0],\n\t  'intersectionWith': [1, 2, 0],\n\t  'isEqualWith': [1, 2, 0],\n\t  'isMatchWith': [2, 1, 0],\n\t  'mergeAllWith': [1, 0],\n\t  'mergeWith': [1, 2, 0],\n\t  'padChars': [2, 1, 0],\n\t  'padCharsEnd': [2, 1, 0],\n\t  'padCharsStart': [2, 1, 0],\n\t  'pullAllBy': [2, 1, 0],\n\t  'pullAllWith': [2, 1, 0],\n\t  'rangeStep': [1, 2, 0],\n\t  'rangeStepRight': [1, 2, 0],\n\t  'setWith': [3, 1, 2, 0],\n\t  'sortedIndexBy': [2, 1, 0],\n\t  'sortedLastIndexBy': [2, 1, 0],\n\t  'unionBy': [1, 2, 0],\n\t  'unionWith': [1, 2, 0],\n\t  'updateWith': [3, 1, 2, 0],\n\t  'xorBy': [1, 2, 0],\n\t  'xorWith': [1, 2, 0],\n\t  'zipWith': [1, 2, 0]\n\t};\n\n\t/** Used to map method names to spread configs. */\n\texports.methodSpread = {\n\t  'assignAll': { 'start': 0 },\n\t  'assignAllWith': { 'start': 0 },\n\t  'assignInAll': { 'start': 0 },\n\t  'assignInAllWith': { 'start': 0 },\n\t  'defaultsAll': { 'start': 0 },\n\t  'defaultsDeepAll': { 'start': 0 },\n\t  'invokeArgs': { 'start': 2 },\n\t  'invokeArgsMap': { 'start': 2 },\n\t  'mergeAll': { 'start': 0 },\n\t  'mergeAllWith': { 'start': 0 },\n\t  'partial': { 'start': 1 },\n\t  'partialRight': { 'start': 1 },\n\t  'without': { 'start': 1 },\n\t  'zipAll': { 'start': 0 }\n\t};\n\n\t/** Used to identify methods which mutate arrays or objects. */\n\texports.mutate = {\n\t  'array': {\n\t    'fill': true,\n\t    'pull': true,\n\t    'pullAll': true,\n\t    'pullAllBy': true,\n\t    'pullAllWith': true,\n\t    'pullAt': true,\n\t    'remove': true,\n\t    'reverse': true\n\t  },\n\t  'object': {\n\t    'assign': true,\n\t    'assignAll': true,\n\t    'assignAllWith': true,\n\t    'assignIn': true,\n\t    'assignInAll': true,\n\t    'assignInAllWith': true,\n\t    'assignInWith': true,\n\t    'assignWith': true,\n\t    'defaults': true,\n\t    'defaultsAll': true,\n\t    'defaultsDeep': true,\n\t    'defaultsDeepAll': true,\n\t    'merge': true,\n\t    'mergeAll': true,\n\t    'mergeAllWith': true,\n\t    'mergeWith': true,\n\t  },\n\t  'set': {\n\t    'set': true,\n\t    'setWith': true,\n\t    'unset': true,\n\t    'update': true,\n\t    'updateWith': true\n\t  }\n\t};\n\n\t/** Used to map real names to their aliases. */\n\texports.realToAlias = (function() {\n\t  var hasOwnProperty = Object.prototype.hasOwnProperty,\n\t      object = exports.aliasToReal,\n\t      result = {};\n\n\t  for (var key in object) {\n\t    var value = object[key];\n\t    if (hasOwnProperty.call(result, value)) {\n\t      result[value].push(key);\n\t    } else {\n\t      result[value] = [key];\n\t    }\n\t  }\n\t  return result;\n\t}());\n\n\t/** Used to map method names to other names. */\n\texports.remap = {\n\t  'assignAll': 'assign',\n\t  'assignAllWith': 'assignWith',\n\t  'assignInAll': 'assignIn',\n\t  'assignInAllWith': 'assignInWith',\n\t  'curryN': 'curry',\n\t  'curryRightN': 'curryRight',\n\t  'defaultsAll': 'defaults',\n\t  'defaultsDeepAll': 'defaultsDeep',\n\t  'findFrom': 'find',\n\t  'findIndexFrom': 'findIndex',\n\t  'findLastFrom': 'findLast',\n\t  'findLastIndexFrom': 'findLastIndex',\n\t  'getOr': 'get',\n\t  'includesFrom': 'includes',\n\t  'indexOfFrom': 'indexOf',\n\t  'invokeArgs': 'invoke',\n\t  'invokeArgsMap': 'invokeMap',\n\t  'lastIndexOfFrom': 'lastIndexOf',\n\t  'mergeAll': 'merge',\n\t  'mergeAllWith': 'mergeWith',\n\t  'padChars': 'pad',\n\t  'padCharsEnd': 'padEnd',\n\t  'padCharsStart': 'padStart',\n\t  'propertyOf': 'get',\n\t  'rangeStep': 'range',\n\t  'rangeStepRight': 'rangeRight',\n\t  'restFrom': 'rest',\n\t  'spreadFrom': 'spread',\n\t  'trimChars': 'trim',\n\t  'trimCharsEnd': 'trimEnd',\n\t  'trimCharsStart': 'trimStart',\n\t  'zipAll': 'zip'\n\t};\n\n\t/** Used to track methods that skip fixing their arity. */\n\texports.skipFixed = {\n\t  'castArray': true,\n\t  'flow': true,\n\t  'flowRight': true,\n\t  'iteratee': true,\n\t  'mixin': true,\n\t  'rearg': true,\n\t  'runInContext': true\n\t};\n\n\t/** Used to track methods that skip rearranging arguments. */\n\texports.skipRearg = {\n\t  'add': true,\n\t  'assign': true,\n\t  'assignIn': true,\n\t  'bind': true,\n\t  'bindKey': true,\n\t  'concat': true,\n\t  'difference': true,\n\t  'divide': true,\n\t  'eq': true,\n\t  'gt': true,\n\t  'gte': true,\n\t  'isEqual': true,\n\t  'lt': true,\n\t  'lte': true,\n\t  'matchesProperty': true,\n\t  'merge': true,\n\t  'multiply': true,\n\t  'overArgs': true,\n\t  'partial': true,\n\t  'partialRight': true,\n\t  'propertyOf': true,\n\t  'random': true,\n\t  'range': true,\n\t  'rangeRight': true,\n\t  'subtract': true,\n\t  'zip': true,\n\t  'zipObject': true,\n\t  'zipObjectDeep': true\n\t};\n\t});\n\tvar _mapping_1 = _mapping.aliasToReal;\n\tvar _mapping_2 = _mapping.aryMethod;\n\tvar _mapping_3 = _mapping.aryRearg;\n\tvar _mapping_4 = _mapping.iterateeAry;\n\tvar _mapping_5 = _mapping.iterateeRearg;\n\tvar _mapping_6 = _mapping.methodRearg;\n\tvar _mapping_7 = _mapping.methodSpread;\n\tvar _mapping_8 = _mapping.mutate;\n\tvar _mapping_9 = _mapping.realToAlias;\n\tvar _mapping_10 = _mapping.remap;\n\tvar _mapping_11 = _mapping.skipFixed;\n\tvar _mapping_12 = _mapping.skipRearg;\n\n\t/**\n\t * The default argument placeholder value for methods.\n\t *\n\t * @type {Object}\n\t */\n\tvar placeholder = {};\n\n\t/** Built-in value reference. */\n\tvar push = Array.prototype.push;\n\n\t/**\n\t * Creates a function, with an arity of `n`, that invokes `func` with the\n\t * arguments it receives.\n\t *\n\t * @private\n\t * @param {Function} func The function to wrap.\n\t * @param {number} n The arity of the new function.\n\t * @returns {Function} Returns the new function.\n\t */\n\tfunction baseArity(func, n) {\n\t  return n == 2\n\t    ? function(a, b) { return func.apply(undefined, arguments); }\n\t    : function(a) { return func.apply(undefined, arguments); };\n\t}\n\n\t/**\n\t * Creates a function that invokes `func`, with up to `n` arguments, ignoring\n\t * any additional arguments.\n\t *\n\t * @private\n\t * @param {Function} func The function to cap arguments for.\n\t * @param {number} n The arity cap.\n\t * @returns {Function} Returns the new function.\n\t */\n\tfunction baseAry(func, n) {\n\t  return n == 2\n\t    ? function(a, b) { return func(a, b); }\n\t    : function(a) { return func(a); };\n\t}\n\n\t/**\n\t * Creates a clone of `array`.\n\t *\n\t * @private\n\t * @param {Array} array The array to clone.\n\t * @returns {Array} Returns the cloned array.\n\t */\n\tfunction cloneArray(array) {\n\t  var length = array ? array.length : 0,\n\t      result = Array(length);\n\n\t  while (length--) {\n\t    result[length] = array[length];\n\t  }\n\t  return result;\n\t}\n\n\t/**\n\t * Creates a function that clones a given object using the assignment `func`.\n\t *\n\t * @private\n\t * @param {Function} func The assignment function.\n\t * @returns {Function} Returns the new cloner function.\n\t */\n\tfunction createCloner(func) {\n\t  return function(object) {\n\t    return func({}, object);\n\t  };\n\t}\n\n\t/**\n\t * A specialized version of `_.spread` which flattens the spread array into\n\t * the arguments of the invoked `func`.\n\t *\n\t * @private\n\t * @param {Function} func The function to spread arguments over.\n\t * @param {number} start The start position of the spread.\n\t * @returns {Function} Returns the new function.\n\t */\n\tfunction flatSpread(func, start) {\n\t  return function() {\n\t    var length = arguments.length,\n\t        lastIndex = length - 1,\n\t        args = Array(length);\n\n\t    while (length--) {\n\t      args[length] = arguments[length];\n\t    }\n\t    var array = args[start],\n\t        otherArgs = args.slice(0, start);\n\n\t    if (array) {\n\t      push.apply(otherArgs, array);\n\t    }\n\t    if (start != lastIndex) {\n\t      push.apply(otherArgs, args.slice(start + 1));\n\t    }\n\t    return func.apply(this, otherArgs);\n\t  };\n\t}\n\n\t/**\n\t * Creates a function that wraps `func` and uses `cloner` to clone the first\n\t * argument it receives.\n\t *\n\t * @private\n\t * @param {Function} func The function to wrap.\n\t * @param {Function} cloner The function to clone arguments.\n\t * @returns {Function} Returns the new immutable function.\n\t */\n\tfunction wrapImmutable(func, cloner) {\n\t  return function() {\n\t    var length = arguments.length;\n\t    if (!length) {\n\t      return;\n\t    }\n\t    var args = Array(length);\n\t    while (length--) {\n\t      args[length] = arguments[length];\n\t    }\n\t    var result = args[0] = cloner.apply(undefined, args);\n\t    func.apply(undefined, args);\n\t    return result;\n\t  };\n\t}\n\n\t/**\n\t * The base implementation of `convert` which accepts a `util` object of methods\n\t * required to perform conversions.\n\t *\n\t * @param {Object} util The util object.\n\t * @param {string} name The name of the function to convert.\n\t * @param {Function} func The function to convert.\n\t * @param {Object} [options] The options object.\n\t * @param {boolean} [options.cap=true] Specify capping iteratee arguments.\n\t * @param {boolean} [options.curry=true] Specify currying.\n\t * @param {boolean} [options.fixed=true] Specify fixed arity.\n\t * @param {boolean} [options.immutable=true] Specify immutable operations.\n\t * @param {boolean} [options.rearg=true] Specify rearranging arguments.\n\t * @returns {Function|Object} Returns the converted function or object.\n\t */\n\tfunction baseConvert(util, name, func, options) {\n\t  var isLib = typeof name == 'function',\n\t      isObj = name === Object(name);\n\n\t  if (isObj) {\n\t    options = func;\n\t    func = name;\n\t    name = undefined;\n\t  }\n\t  if (func == null) {\n\t    throw new TypeError;\n\t  }\n\t  options || (options = {});\n\n\t  var config = {\n\t    'cap': 'cap' in options ? options.cap : true,\n\t    'curry': 'curry' in options ? options.curry : true,\n\t    'fixed': 'fixed' in options ? options.fixed : true,\n\t    'immutable': 'immutable' in options ? options.immutable : true,\n\t    'rearg': 'rearg' in options ? options.rearg : true\n\t  };\n\n\t  var defaultHolder = isLib ? func : placeholder,\n\t      forceCurry = ('curry' in options) && options.curry,\n\t      forceFixed = ('fixed' in options) && options.fixed,\n\t      forceRearg = ('rearg' in options) && options.rearg,\n\t      pristine = isLib ? func.runInContext() : undefined;\n\n\t  var helpers = isLib ? func : {\n\t    'ary': util.ary,\n\t    'assign': util.assign,\n\t    'clone': util.clone,\n\t    'curry': util.curry,\n\t    'forEach': util.forEach,\n\t    'isArray': util.isArray,\n\t    'isError': util.isError,\n\t    'isFunction': util.isFunction,\n\t    'isWeakMap': util.isWeakMap,\n\t    'iteratee': util.iteratee,\n\t    'keys': util.keys,\n\t    'rearg': util.rearg,\n\t    'toInteger': util.toInteger,\n\t    'toPath': util.toPath\n\t  };\n\n\t  var ary = helpers.ary,\n\t      assign = helpers.assign,\n\t      clone = helpers.clone,\n\t      curry = helpers.curry,\n\t      each = helpers.forEach,\n\t      isArray = helpers.isArray,\n\t      isError = helpers.isError,\n\t      isFunction = helpers.isFunction,\n\t      isWeakMap = helpers.isWeakMap,\n\t      keys = helpers.keys,\n\t      rearg = helpers.rearg,\n\t      toInteger = helpers.toInteger,\n\t      toPath = helpers.toPath;\n\n\t  var aryMethodKeys = keys(_mapping.aryMethod);\n\n\t  var wrappers = {\n\t    'castArray': function(castArray) {\n\t      return function() {\n\t        var value = arguments[0];\n\t        return isArray(value)\n\t          ? castArray(cloneArray(value))\n\t          : castArray.apply(undefined, arguments);\n\t      };\n\t    },\n\t    'iteratee': function(iteratee) {\n\t      return function() {\n\t        var func = arguments[0],\n\t            arity = arguments[1],\n\t            result = iteratee(func, arity),\n\t            length = result.length;\n\n\t        if (config.cap && typeof arity == 'number') {\n\t          arity = arity > 2 ? (arity - 2) : 1;\n\t          return (length && length <= arity) ? result : baseAry(result, arity);\n\t        }\n\t        return result;\n\t      };\n\t    },\n\t    'mixin': function(mixin) {\n\t      return function(source) {\n\t        var func = this;\n\t        if (!isFunction(func)) {\n\t          return mixin(func, Object(source));\n\t        }\n\t        var pairs = [];\n\t        each(keys(source), function(key) {\n\t          if (isFunction(source[key])) {\n\t            pairs.push([key, func.prototype[key]]);\n\t          }\n\t        });\n\n\t        mixin(func, Object(source));\n\n\t        each(pairs, function(pair) {\n\t          var value = pair[1];\n\t          if (isFunction(value)) {\n\t            func.prototype[pair[0]] = value;\n\t          } else {\n\t            delete func.prototype[pair[0]];\n\t          }\n\t        });\n\t        return func;\n\t      };\n\t    },\n\t    'nthArg': function(nthArg) {\n\t      return function(n) {\n\t        var arity = n < 0 ? 1 : (toInteger(n) + 1);\n\t        return curry(nthArg(n), arity);\n\t      };\n\t    },\n\t    'rearg': function(rearg) {\n\t      return function(func, indexes) {\n\t        var arity = indexes ? indexes.length : 0;\n\t        return curry(rearg(func, indexes), arity);\n\t      };\n\t    },\n\t    'runInContext': function(runInContext) {\n\t      return function(context) {\n\t        return baseConvert(util, runInContext(context), options);\n\t      };\n\t    }\n\t  };\n\n\t  /*--------------------------------------------------------------------------*/\n\n\t  /**\n\t   * Casts `func` to a function with an arity capped iteratee if needed.\n\t   *\n\t   * @private\n\t   * @param {string} name The name of the function to inspect.\n\t   * @param {Function} func The function to inspect.\n\t   * @returns {Function} Returns the cast function.\n\t   */\n\t  function castCap(name, func) {\n\t    if (config.cap) {\n\t      var indexes = _mapping.iterateeRearg[name];\n\t      if (indexes) {\n\t        return iterateeRearg(func, indexes);\n\t      }\n\t      var n = !isLib && _mapping.iterateeAry[name];\n\t      if (n) {\n\t        return iterateeAry(func, n);\n\t      }\n\t    }\n\t    return func;\n\t  }\n\n\t  /**\n\t   * Casts `func` to a curried function if needed.\n\t   *\n\t   * @private\n\t   * @param {string} name The name of the function to inspect.\n\t   * @param {Function} func The function to inspect.\n\t   * @param {number} n The arity of `func`.\n\t   * @returns {Function} Returns the cast function.\n\t   */\n\t  function castCurry(name, func, n) {\n\t    return (forceCurry || (config.curry && n > 1))\n\t      ? curry(func, n)\n\t      : func;\n\t  }\n\n\t  /**\n\t   * Casts `func` to a fixed arity function if needed.\n\t   *\n\t   * @private\n\t   * @param {string} name The name of the function to inspect.\n\t   * @param {Function} func The function to inspect.\n\t   * @param {number} n The arity cap.\n\t   * @returns {Function} Returns the cast function.\n\t   */\n\t  function castFixed(name, func, n) {\n\t    if (config.fixed && (forceFixed || !_mapping.skipFixed[name])) {\n\t      var data = _mapping.methodSpread[name],\n\t          start = data && data.start;\n\n\t      return start  === undefined ? ary(func, n) : flatSpread(func, start);\n\t    }\n\t    return func;\n\t  }\n\n\t  /**\n\t   * Casts `func` to an rearged function if needed.\n\t   *\n\t   * @private\n\t   * @param {string} name The name of the function to inspect.\n\t   * @param {Function} func The function to inspect.\n\t   * @param {number} n The arity of `func`.\n\t   * @returns {Function} Returns the cast function.\n\t   */\n\t  function castRearg(name, func, n) {\n\t    return (config.rearg && n > 1 && (forceRearg || !_mapping.skipRearg[name]))\n\t      ? rearg(func, _mapping.methodRearg[name] || _mapping.aryRearg[n])\n\t      : func;\n\t  }\n\n\t  /**\n\t   * Creates a clone of `object` by `path`.\n\t   *\n\t   * @private\n\t   * @param {Object} object The object to clone.\n\t   * @param {Array|string} path The path to clone by.\n\t   * @returns {Object} Returns the cloned object.\n\t   */\n\t  function cloneByPath(object, path) {\n\t    path = toPath(path);\n\n\t    var index = -1,\n\t        length = path.length,\n\t        lastIndex = length - 1,\n\t        result = clone(Object(object)),\n\t        nested = result;\n\n\t    while (nested != null && ++index < length) {\n\t      var key = path[index],\n\t          value = nested[key];\n\n\t      if (value != null &&\n\t          !(isFunction(value) || isError(value) || isWeakMap(value))) {\n\t        nested[key] = clone(index == lastIndex ? value : Object(value));\n\t      }\n\t      nested = nested[key];\n\t    }\n\t    return result;\n\t  }\n\n\t  /**\n\t   * Converts `lodash` to an immutable auto-curried iteratee-first data-last\n\t   * version with conversion `options` applied.\n\t   *\n\t   * @param {Object} [options] The options object. See `baseConvert` for more details.\n\t   * @returns {Function} Returns the converted `lodash`.\n\t   */\n\t  function convertLib(options) {\n\t    return _.runInContext.convert(options)(undefined);\n\t  }\n\n\t  /**\n\t   * Create a converter function for `func` of `name`.\n\t   *\n\t   * @param {string} name The name of the function to convert.\n\t   * @param {Function} func The function to convert.\n\t   * @returns {Function} Returns the new converter function.\n\t   */\n\t  function createConverter(name, func) {\n\t    var realName = _mapping.aliasToReal[name] || name,\n\t        methodName = _mapping.remap[realName] || realName,\n\t        oldOptions = options;\n\n\t    return function(options) {\n\t      var newUtil = isLib ? pristine : helpers,\n\t          newFunc = isLib ? pristine[methodName] : func,\n\t          newOptions = assign(assign({}, oldOptions), options);\n\n\t      return baseConvert(newUtil, realName, newFunc, newOptions);\n\t    };\n\t  }\n\n\t  /**\n\t   * Creates a function that wraps `func` to invoke its iteratee, with up to `n`\n\t   * arguments, ignoring any additional arguments.\n\t   *\n\t   * @private\n\t   * @param {Function} func The function to cap iteratee arguments for.\n\t   * @param {number} n The arity cap.\n\t   * @returns {Function} Returns the new function.\n\t   */\n\t  function iterateeAry(func, n) {\n\t    return overArg(func, function(func) {\n\t      return typeof func == 'function' ? baseAry(func, n) : func;\n\t    });\n\t  }\n\n\t  /**\n\t   * Creates a function that wraps `func` to invoke its iteratee with arguments\n\t   * arranged according to the specified `indexes` where the argument value at\n\t   * the first index is provided as the first argument, the argument value at\n\t   * the second index is provided as the second argument, and so on.\n\t   *\n\t   * @private\n\t   * @param {Function} func The function to rearrange iteratee arguments for.\n\t   * @param {number[]} indexes The arranged argument indexes.\n\t   * @returns {Function} Returns the new function.\n\t   */\n\t  function iterateeRearg(func, indexes) {\n\t    return overArg(func, function(func) {\n\t      var n = indexes.length;\n\t      return baseArity(rearg(baseAry(func, n), indexes), n);\n\t    });\n\t  }\n\n\t  /**\n\t   * Creates a function that invokes `func` with its first argument transformed.\n\t   *\n\t   * @private\n\t   * @param {Function} func The function to wrap.\n\t   * @param {Function} transform The argument transform.\n\t   * @returns {Function} Returns the new function.\n\t   */\n\t  function overArg(func, transform) {\n\t    return function() {\n\t      var length = arguments.length;\n\t      if (!length) {\n\t        return func();\n\t      }\n\t      var args = Array(length);\n\t      while (length--) {\n\t        args[length] = arguments[length];\n\t      }\n\t      var index = config.rearg ? 0 : (length - 1);\n\t      args[index] = transform(args[index]);\n\t      return func.apply(undefined, args);\n\t    };\n\t  }\n\n\t  /**\n\t   * Creates a function that wraps `func` and applys the conversions\n\t   * rules by `name`.\n\t   *\n\t   * @private\n\t   * @param {string} name The name of the function to wrap.\n\t   * @param {Function} func The function to wrap.\n\t   * @returns {Function} Returns the converted function.\n\t   */\n\t  function wrap(name, func, placeholder$$1) {\n\t    var result,\n\t        realName = _mapping.aliasToReal[name] || name,\n\t        wrapped = func,\n\t        wrapper = wrappers[realName];\n\n\t    if (wrapper) {\n\t      wrapped = wrapper(func);\n\t    }\n\t    else if (config.immutable) {\n\t      if (_mapping.mutate.array[realName]) {\n\t        wrapped = wrapImmutable(func, cloneArray);\n\t      }\n\t      else if (_mapping.mutate.object[realName]) {\n\t        wrapped = wrapImmutable(func, createCloner(func));\n\t      }\n\t      else if (_mapping.mutate.set[realName]) {\n\t        wrapped = wrapImmutable(func, cloneByPath);\n\t      }\n\t    }\n\t    each(aryMethodKeys, function(aryKey) {\n\t      each(_mapping.aryMethod[aryKey], function(otherName) {\n\t        if (realName == otherName) {\n\t          var data = _mapping.methodSpread[realName],\n\t              afterRearg = data && data.afterRearg;\n\n\t          result = afterRearg\n\t            ? castFixed(realName, castRearg(realName, wrapped, aryKey), aryKey)\n\t            : castRearg(realName, castFixed(realName, wrapped, aryKey), aryKey);\n\n\t          result = castCap(realName, result);\n\t          result = castCurry(realName, result, aryKey);\n\t          return false;\n\t        }\n\t      });\n\t      return !result;\n\t    });\n\n\t    result || (result = wrapped);\n\t    if (result == func) {\n\t      result = forceCurry ? curry(result, 1) : function() {\n\t        return func.apply(this, arguments);\n\t      };\n\t    }\n\t    result.convert = createConverter(realName, func);\n\t    result.placeholder = func.placeholder = placeholder$$1;\n\n\t    return result;\n\t  }\n\n\t  /*--------------------------------------------------------------------------*/\n\n\t  if (!isObj) {\n\t    return wrap(name, func, defaultHolder);\n\t  }\n\t  var _ = func;\n\n\t  // Convert methods by ary cap.\n\t  var pairs = [];\n\t  each(aryMethodKeys, function(aryKey) {\n\t    each(_mapping.aryMethod[aryKey], function(key) {\n\t      var func = _[_mapping.remap[key] || key];\n\t      if (func) {\n\t        pairs.push([key, wrap(key, func, _)]);\n\t      }\n\t    });\n\t  });\n\n\t  // Convert remaining methods.\n\t  each(keys(_), function(key) {\n\t    var func = _[key];\n\t    if (typeof func == 'function') {\n\t      var length = pairs.length;\n\t      while (length--) {\n\t        if (pairs[length][0] == key) {\n\t          return;\n\t        }\n\t      }\n\t      func.convert = createConverter(key, func);\n\t      pairs.push([key, func]);\n\t    }\n\t  });\n\n\t  // Assign to `_` leaving `_.prototype` unchanged to allow chaining.\n\t  each(pairs, function(pair) {\n\t    _[pair[0]] = pair[1];\n\t  });\n\n\t  _.convert = convertLib;\n\t  _.placeholder = _;\n\n\t  // Assign aliases.\n\t  each(keys(_), function(key) {\n\t    each(_mapping.realToAlias[key] || [], function(alias) {\n\t      _[alias] = _[key];\n\t    });\n\t  });\n\n\t  return _;\n\t}\n\n\tvar _baseConvert = baseConvert;\n\n\tvar _ = lodash_min.runInContext();\n\tvar fp = _baseConvert(_, _);\n\n\treturn fp;\n\n});\n\n})((function(){ function newDefine(){ var args = Array.prototype.slice.call(arguments); args.unshift(\"lodash/fp\"); return define.apply(null, args); }; newDefine.amd = true; return newDefine; })());","//! moment.js\n//! version : 2.30.1\n//! authors : Tim Wood, Iskren Chernev, Moment.js contributors\n//! license : MIT\n//! momentjs.com\n\n;(function (global, factory) {\n    typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n    typeof define === 'function' && define.amd ? define(factory) :\n    global.moment = factory()\n}(this, (function () { 'use strict';\n\n    var hookCallback;\n\n    function hooks() {\n        return hookCallback.apply(null, arguments);\n    }\n\n    // This is done to register the method called with moment()\n    // without creating circular dependencies.\n    function setHookCallback(callback) {\n        hookCallback = callback;\n    }\n\n    function isArray(input) {\n        return (\n            input instanceof Array ||\n            Object.prototype.toString.call(input) === '[object Array]'\n        );\n    }\n\n    function isObject(input) {\n        // IE8 will treat undefined and null as object if it wasn't for\n        // input != null\n        return (\n            input != null &&\n            Object.prototype.toString.call(input) === '[object Object]'\n        );\n    }\n\n    function hasOwnProp(a, b) {\n        return Object.prototype.hasOwnProperty.call(a, b);\n    }\n\n    function isObjectEmpty(obj) {\n        if (Object.getOwnPropertyNames) {\n            return Object.getOwnPropertyNames(obj).length === 0;\n        } else {\n            var k;\n            for (k in obj) {\n                if (hasOwnProp(obj, k)) {\n                    return false;\n                }\n            }\n            return true;\n        }\n    }\n\n    function isUndefined(input) {\n        return input === void 0;\n    }\n\n    function isNumber(input) {\n        return (\n            typeof input === 'number' ||\n            Object.prototype.toString.call(input) === '[object Number]'\n        );\n    }\n\n    function isDate(input) {\n        return (\n            input instanceof Date ||\n            Object.prototype.toString.call(input) === '[object Date]'\n        );\n    }\n\n    function map(arr, fn) {\n        var res = [],\n            i,\n            arrLen = arr.length;\n        for (i = 0; i < arrLen; ++i) {\n            res.push(fn(arr[i], i));\n        }\n        return res;\n    }\n\n    function extend(a, b) {\n        for (var i in b) {\n            if (hasOwnProp(b, i)) {\n                a[i] = b[i];\n            }\n        }\n\n        if (hasOwnProp(b, 'toString')) {\n            a.toString = b.toString;\n        }\n\n        if (hasOwnProp(b, 'valueOf')) {\n            a.valueOf = b.valueOf;\n        }\n\n        return a;\n    }\n\n    function createUTC(input, format, locale, strict) {\n        return createLocalOrUTC(input, format, locale, strict, true).utc();\n    }\n\n    function defaultParsingFlags() {\n        // We need to deep clone this object.\n        return {\n            empty: false,\n            unusedTokens: [],\n            unusedInput: [],\n            overflow: -2,\n            charsLeftOver: 0,\n            nullInput: false,\n            invalidEra: null,\n            invalidMonth: null,\n            invalidFormat: false,\n            userInvalidated: false,\n            iso: false,\n            parsedDateParts: [],\n            era: null,\n            meridiem: null,\n            rfc2822: false,\n            weekdayMismatch: false,\n        };\n    }\n\n    function getParsingFlags(m) {\n        if (m._pf == null) {\n            m._pf = defaultParsingFlags();\n        }\n        return m._pf;\n    }\n\n    var some;\n    if (Array.prototype.some) {\n        some = Array.prototype.some;\n    } else {\n        some = function (fun) {\n            var t = Object(this),\n                len = t.length >>> 0,\n                i;\n\n            for (i = 0; i < len; i++) {\n                if (i in t && fun.call(this, t[i], i, t)) {\n                    return true;\n                }\n            }\n\n            return false;\n        };\n    }\n\n    function isValid(m) {\n        var flags = null,\n            parsedParts = false,\n            isNowValid = m._d && !isNaN(m._d.getTime());\n        if (isNowValid) {\n            flags = getParsingFlags(m);\n            parsedParts = some.call(flags.parsedDateParts, function (i) {\n                return i != null;\n            });\n            isNowValid =\n                flags.overflow < 0 &&\n                !flags.empty &&\n                !flags.invalidEra &&\n                !flags.invalidMonth &&\n                !flags.invalidWeekday &&\n                !flags.weekdayMismatch &&\n                !flags.nullInput &&\n                !flags.invalidFormat &&\n                !flags.userInvalidated &&\n                (!flags.meridiem || (flags.meridiem && parsedParts));\n            if (m._strict) {\n                isNowValid =\n                    isNowValid &&\n                    flags.charsLeftOver === 0 &&\n                    flags.unusedTokens.length === 0 &&\n                    flags.bigHour === undefined;\n            }\n        }\n        if (Object.isFrozen == null || !Object.isFrozen(m)) {\n            m._isValid = isNowValid;\n        } else {\n            return isNowValid;\n        }\n        return m._isValid;\n    }\n\n    function createInvalid(flags) {\n        var m = createUTC(NaN);\n        if (flags != null) {\n            extend(getParsingFlags(m), flags);\n        } else {\n            getParsingFlags(m).userInvalidated = true;\n        }\n\n        return m;\n    }\n\n    // Plugins that add properties should also add the key here (null value),\n    // so we can properly clone ourselves.\n    var momentProperties = (hooks.momentProperties = []),\n        updateInProgress = false;\n\n    function copyConfig(to, from) {\n        var i,\n            prop,\n            val,\n            momentPropertiesLen = momentProperties.length;\n\n        if (!isUndefined(from._isAMomentObject)) {\n            to._isAMomentObject = from._isAMomentObject;\n        }\n        if (!isUndefined(from._i)) {\n            to._i = from._i;\n        }\n        if (!isUndefined(from._f)) {\n            to._f = from._f;\n        }\n        if (!isUndefined(from._l)) {\n            to._l = from._l;\n        }\n        if (!isUndefined(from._strict)) {\n            to._strict = from._strict;\n        }\n        if (!isUndefined(from._tzm)) {\n            to._tzm = from._tzm;\n        }\n        if (!isUndefined(from._isUTC)) {\n            to._isUTC = from._isUTC;\n        }\n        if (!isUndefined(from._offset)) {\n            to._offset = from._offset;\n        }\n        if (!isUndefined(from._pf)) {\n            to._pf = getParsingFlags(from);\n        }\n        if (!isUndefined(from._locale)) {\n            to._locale = from._locale;\n        }\n\n        if (momentPropertiesLen > 0) {\n            for (i = 0; i < momentPropertiesLen; i++) {\n                prop = momentProperties[i];\n                val = from[prop];\n                if (!isUndefined(val)) {\n                    to[prop] = val;\n                }\n            }\n        }\n\n        return to;\n    }\n\n    // Moment prototype object\n    function Moment(config) {\n        copyConfig(this, config);\n        this._d = new Date(config._d != null ? config._d.getTime() : NaN);\n        if (!this.isValid()) {\n            this._d = new Date(NaN);\n        }\n        // Prevent infinite loop in case updateOffset creates new moment\n        // objects.\n        if (updateInProgress === false) {\n            updateInProgress = true;\n            hooks.updateOffset(this);\n            updateInProgress = false;\n        }\n    }\n\n    function isMoment(obj) {\n        return (\n            obj instanceof Moment || (obj != null && obj._isAMomentObject != null)\n        );\n    }\n\n    function warn(msg) {\n        if (\n            hooks.suppressDeprecationWarnings === false &&\n            typeof console !== 'undefined' &&\n            console.warn\n        ) {\n            console.warn('Deprecation warning: ' + msg);\n        }\n    }\n\n    function deprecate(msg, fn) {\n        var firstTime = true;\n\n        return extend(function () {\n            if (hooks.deprecationHandler != null) {\n                hooks.deprecationHandler(null, msg);\n            }\n            if (firstTime) {\n                var args = [],\n                    arg,\n                    i,\n                    key,\n                    argLen = arguments.length;\n                for (i = 0; i < argLen; i++) {\n                    arg = '';\n                    if (typeof arguments[i] === 'object') {\n                        arg += '\\n[' + i + '] ';\n                        for (key in arguments[0]) {\n                            if (hasOwnProp(arguments[0], key)) {\n                                arg += key + ': ' + arguments[0][key] + ', ';\n                            }\n                        }\n                        arg = arg.slice(0, -2); // Remove trailing comma and space\n                    } else {\n                        arg = arguments[i];\n                    }\n                    args.push(arg);\n                }\n                warn(\n                    msg +\n                        '\\nArguments: ' +\n                        Array.prototype.slice.call(args).join('') +\n                        '\\n' +\n                        new Error().stack\n                );\n                firstTime = false;\n            }\n            return fn.apply(this, arguments);\n        }, fn);\n    }\n\n    var deprecations = {};\n\n    function deprecateSimple(name, msg) {\n        if (hooks.deprecationHandler != null) {\n            hooks.deprecationHandler(name, msg);\n        }\n        if (!deprecations[name]) {\n            warn(msg);\n            deprecations[name] = true;\n        }\n    }\n\n    hooks.suppressDeprecationWarnings = false;\n    hooks.deprecationHandler = null;\n\n    function isFunction(input) {\n        return (\n            (typeof Function !== 'undefined' && input instanceof Function) ||\n            Object.prototype.toString.call(input) === '[object Function]'\n        );\n    }\n\n    function set(config) {\n        var prop, i;\n        for (i in config) {\n            if (hasOwnProp(config, i)) {\n                prop = config[i];\n                if (isFunction(prop)) {\n                    this[i] = prop;\n                } else {\n                    this['_' + i] = prop;\n                }\n            }\n        }\n        this._config = config;\n        // Lenient ordinal parsing accepts just a number in addition to\n        // number + (possibly) stuff coming from _dayOfMonthOrdinalParse.\n        // TODO: Remove \"ordinalParse\" fallback in next major release.\n        this._dayOfMonthOrdinalParseLenient = new RegExp(\n            (this._dayOfMonthOrdinalParse.source || this._ordinalParse.source) +\n                '|' +\n                /\\d{1,2}/.source\n        );\n    }\n\n    function mergeConfigs(parentConfig, childConfig) {\n        var res = extend({}, parentConfig),\n            prop;\n        for (prop in childConfig) {\n            if (hasOwnProp(childConfig, prop)) {\n                if (isObject(parentConfig[prop]) && isObject(childConfig[prop])) {\n                    res[prop] = {};\n                    extend(res[prop], parentConfig[prop]);\n                    extend(res[prop], childConfig[prop]);\n                } else if (childConfig[prop] != null) {\n                    res[prop] = childConfig[prop];\n                } else {\n                    delete res[prop];\n                }\n            }\n        }\n        for (prop in parentConfig) {\n            if (\n                hasOwnProp(parentConfig, prop) &&\n                !hasOwnProp(childConfig, prop) &&\n                isObject(parentConfig[prop])\n            ) {\n                // make sure changes to properties don't modify parent config\n                res[prop] = extend({}, res[prop]);\n            }\n        }\n        return res;\n    }\n\n    function Locale(config) {\n        if (config != null) {\n            this.set(config);\n        }\n    }\n\n    var keys;\n\n    if (Object.keys) {\n        keys = Object.keys;\n    } else {\n        keys = function (obj) {\n            var i,\n                res = [];\n            for (i in obj) {\n                if (hasOwnProp(obj, i)) {\n                    res.push(i);\n                }\n            }\n            return res;\n        };\n    }\n\n    var defaultCalendar = {\n        sameDay: '[Today at] LT',\n        nextDay: '[Tomorrow at] LT',\n        nextWeek: 'dddd [at] LT',\n        lastDay: '[Yesterday at] LT',\n        lastWeek: '[Last] dddd [at] LT',\n        sameElse: 'L',\n    };\n\n    function calendar(key, mom, now) {\n        var output = this._calendar[key] || this._calendar['sameElse'];\n        return isFunction(output) ? output.call(mom, now) : output;\n    }\n\n    function zeroFill(number, targetLength, forceSign) {\n        var absNumber = '' + Math.abs(number),\n            zerosToFill = targetLength - absNumber.length,\n            sign = number >= 0;\n        return (\n            (sign ? (forceSign ? '+' : '') : '-') +\n            Math.pow(10, Math.max(0, zerosToFill)).toString().substr(1) +\n            absNumber\n        );\n    }\n\n    var formattingTokens =\n            /(\\[[^\\[]*\\])|(\\\\)?([Hh]mm(ss)?|Mo|MM?M?M?|Do|DDDo|DD?D?D?|ddd?d?|do?|w[o|w]?|W[o|W]?|Qo?|N{1,5}|YYYYYY|YYYYY|YYYY|YY|y{2,4}|yo?|gg(ggg?)?|GG(GGG?)?|e|E|a|A|hh?|HH?|kk?|mm?|ss?|S{1,9}|x|X|zz?|ZZ?|.)/g,\n        localFormattingTokens = /(\\[[^\\[]*\\])|(\\\\)?(LTS|LT|LL?L?L?|l{1,4})/g,\n        formatFunctions = {},\n        formatTokenFunctions = {};\n\n    // token:    'M'\n    // padded:   ['MM', 2]\n    // ordinal:  'Mo'\n    // callback: function () { this.month() + 1 }\n    function addFormatToken(token, padded, ordinal, callback) {\n        var func = callback;\n        if (typeof callback === 'string') {\n            func = function () {\n                return this[callback]();\n            };\n        }\n        if (token) {\n            formatTokenFunctions[token] = func;\n        }\n        if (padded) {\n            formatTokenFunctions[padded[0]] = function () {\n                return zeroFill(func.apply(this, arguments), padded[1], padded[2]);\n            };\n        }\n        if (ordinal) {\n            formatTokenFunctions[ordinal] = function () {\n                return this.localeData().ordinal(\n                    func.apply(this, arguments),\n                    token\n                );\n            };\n        }\n    }\n\n    function removeFormattingTokens(input) {\n        if (input.match(/\\[[\\s\\S]/)) {\n            return input.replace(/^\\[|\\]$/g, '');\n        }\n        return input.replace(/\\\\/g, '');\n    }\n\n    function makeFormatFunction(format) {\n        var array = format.match(formattingTokens),\n            i,\n            length;\n\n        for (i = 0, length = array.length; i < length; i++) {\n            if (formatTokenFunctions[array[i]]) {\n                array[i] = formatTokenFunctions[array[i]];\n            } else {\n                array[i] = removeFormattingTokens(array[i]);\n            }\n        }\n\n        return function (mom) {\n            var output = '',\n                i;\n            for (i = 0; i < length; i++) {\n                output += isFunction(array[i])\n                    ? array[i].call(mom, format)\n                    : array[i];\n            }\n            return output;\n        };\n    }\n\n    // format date using native date object\n    function formatMoment(m, format) {\n        if (!m.isValid()) {\n            return m.localeData().invalidDate();\n        }\n\n        format = expandFormat(format, m.localeData());\n        formatFunctions[format] =\n            formatFunctions[format] || makeFormatFunction(format);\n\n        return formatFunctions[format](m);\n    }\n\n    function expandFormat(format, locale) {\n        var i = 5;\n\n        function replaceLongDateFormatTokens(input) {\n            return locale.longDateFormat(input) || input;\n        }\n\n        localFormattingTokens.lastIndex = 0;\n        while (i >= 0 && localFormattingTokens.test(format)) {\n            format = format.replace(\n                localFormattingTokens,\n                replaceLongDateFormatTokens\n            );\n            localFormattingTokens.lastIndex = 0;\n            i -= 1;\n        }\n\n        return format;\n    }\n\n    var defaultLongDateFormat = {\n        LTS: 'h:mm:ss A',\n        LT: 'h:mm A',\n        L: 'MM/DD/YYYY',\n        LL: 'MMMM D, YYYY',\n        LLL: 'MMMM D, YYYY h:mm A',\n        LLLL: 'dddd, MMMM D, YYYY h:mm A',\n    };\n\n    function longDateFormat(key) {\n        var format = this._longDateFormat[key],\n            formatUpper = this._longDateFormat[key.toUpperCase()];\n\n        if (format || !formatUpper) {\n            return format;\n        }\n\n        this._longDateFormat[key] = formatUpper\n            .match(formattingTokens)\n            .map(function (tok) {\n                if (\n                    tok === 'MMMM' ||\n                    tok === 'MM' ||\n                    tok === 'DD' ||\n                    tok === 'dddd'\n                ) {\n                    return tok.slice(1);\n                }\n                return tok;\n            })\n            .join('');\n\n        return this._longDateFormat[key];\n    }\n\n    var defaultInvalidDate = 'Invalid date';\n\n    function invalidDate() {\n        return this._invalidDate;\n    }\n\n    var defaultOrdinal = '%d',\n        defaultDayOfMonthOrdinalParse = /\\d{1,2}/;\n\n    function ordinal(number) {\n        return this._ordinal.replace('%d', number);\n    }\n\n    var defaultRelativeTime = {\n        future: 'in %s',\n        past: '%s ago',\n        s: 'a few seconds',\n        ss: '%d seconds',\n        m: 'a minute',\n        mm: '%d minutes',\n        h: 'an hour',\n        hh: '%d hours',\n        d: 'a day',\n        dd: '%d days',\n        w: 'a week',\n        ww: '%d weeks',\n        M: 'a month',\n        MM: '%d months',\n        y: 'a year',\n        yy: '%d years',\n    };\n\n    function relativeTime(number, withoutSuffix, string, isFuture) {\n        var output = this._relativeTime[string];\n        return isFunction(output)\n            ? output(number, withoutSuffix, string, isFuture)\n            : output.replace(/%d/i, number);\n    }\n\n    function pastFuture(diff, output) {\n        var format = this._relativeTime[diff > 0 ? 'future' : 'past'];\n        return isFunction(format) ? format(output) : format.replace(/%s/i, output);\n    }\n\n    var aliases = {\n        D: 'date',\n        dates: 'date',\n        date: 'date',\n        d: 'day',\n        days: 'day',\n        day: 'day',\n        e: 'weekday',\n        weekdays: 'weekday',\n        weekday: 'weekday',\n        E: 'isoWeekday',\n        isoweekdays: 'isoWeekday',\n        isoweekday: 'isoWeekday',\n        DDD: 'dayOfYear',\n        dayofyears: 'dayOfYear',\n        dayofyear: 'dayOfYear',\n        h: 'hour',\n        hours: 'hour',\n        hour: 'hour',\n        ms: 'millisecond',\n        milliseconds: 'millisecond',\n        millisecond: 'millisecond',\n        m: 'minute',\n        minutes: 'minute',\n        minute: 'minute',\n        M: 'month',\n        months: 'month',\n        month: 'month',\n        Q: 'quarter',\n        quarters: 'quarter',\n        quarter: 'quarter',\n        s: 'second',\n        seconds: 'second',\n        second: 'second',\n        gg: 'weekYear',\n        weekyears: 'weekYear',\n        weekyear: 'weekYear',\n        GG: 'isoWeekYear',\n        isoweekyears: 'isoWeekYear',\n        isoweekyear: 'isoWeekYear',\n        w: 'week',\n        weeks: 'week',\n        week: 'week',\n        W: 'isoWeek',\n        isoweeks: 'isoWeek',\n        isoweek: 'isoWeek',\n        y: 'year',\n        years: 'year',\n        year: 'year',\n    };\n\n    function normalizeUnits(units) {\n        return typeof units === 'string'\n            ? aliases[units] || aliases[units.toLowerCase()]\n            : undefined;\n    }\n\n    function normalizeObjectUnits(inputObject) {\n        var normalizedInput = {},\n            normalizedProp,\n            prop;\n\n        for (prop in inputObject) {\n            if (hasOwnProp(inputObject, prop)) {\n                normalizedProp = normalizeUnits(prop);\n                if (normalizedProp) {\n                    normalizedInput[normalizedProp] = inputObject[prop];\n                }\n            }\n        }\n\n        return normalizedInput;\n    }\n\n    var priorities = {\n        date: 9,\n        day: 11,\n        weekday: 11,\n        isoWeekday: 11,\n        dayOfYear: 4,\n        hour: 13,\n        millisecond: 16,\n        minute: 14,\n        month: 8,\n        quarter: 7,\n        second: 15,\n        weekYear: 1,\n        isoWeekYear: 1,\n        week: 5,\n        isoWeek: 5,\n        year: 1,\n    };\n\n    function getPrioritizedUnits(unitsObj) {\n        var units = [],\n            u;\n        for (u in unitsObj) {\n            if (hasOwnProp(unitsObj, u)) {\n                units.push({ unit: u, priority: priorities[u] });\n            }\n        }\n        units.sort(function (a, b) {\n            return a.priority - b.priority;\n        });\n        return units;\n    }\n\n    var match1 = /\\d/, //       0 - 9\n        match2 = /\\d\\d/, //      00 - 99\n        match3 = /\\d{3}/, //     000 - 999\n        match4 = /\\d{4}/, //    0000 - 9999\n        match6 = /[+-]?\\d{6}/, // -999999 - 999999\n        match1to2 = /\\d\\d?/, //       0 - 99\n        match3to4 = /\\d\\d\\d\\d?/, //     999 - 9999\n        match5to6 = /\\d\\d\\d\\d\\d\\d?/, //   99999 - 999999\n        match1to3 = /\\d{1,3}/, //       0 - 999\n        match1to4 = /\\d{1,4}/, //       0 - 9999\n        match1to6 = /[+-]?\\d{1,6}/, // -999999 - 999999\n        matchUnsigned = /\\d+/, //       0 - inf\n        matchSigned = /[+-]?\\d+/, //    -inf - inf\n        matchOffset = /Z|[+-]\\d\\d:?\\d\\d/gi, // +00:00 -00:00 +0000 -0000 or Z\n        matchShortOffset = /Z|[+-]\\d\\d(?::?\\d\\d)?/gi, // +00 -00 +00:00 -00:00 +0000 -0000 or Z\n        matchTimestamp = /[+-]?\\d+(\\.\\d{1,3})?/, // 123456789 123456789.123\n        // any word (or two) characters or numbers including two/three word month in arabic.\n        // includes scottish gaelic two word and hyphenated months\n        matchWord =\n            /[0-9]{0,256}['a-z\\u00A0-\\u05FF\\u0700-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFF07\\uFF10-\\uFFEF]{1,256}|[\\u0600-\\u06FF\\/]{1,256}(\\s*?[\\u0600-\\u06FF]{1,256}){1,2}/i,\n        match1to2NoLeadingZero = /^[1-9]\\d?/, //         1-99\n        match1to2HasZero = /^([1-9]\\d|\\d)/, //           0-99\n        regexes;\n\n    regexes = {};\n\n    function addRegexToken(token, regex, strictRegex) {\n        regexes[token] = isFunction(regex)\n            ? regex\n            : function (isStrict, localeData) {\n                  return isStrict && strictRegex ? strictRegex : regex;\n              };\n    }\n\n    function getParseRegexForToken(token, config) {\n        if (!hasOwnProp(regexes, token)) {\n            return new RegExp(unescapeFormat(token));\n        }\n\n        return regexes[token](config._strict, config._locale);\n    }\n\n    // Code from http://stackoverflow.com/questions/3561493/is-there-a-regexp-escape-function-in-javascript\n    function unescapeFormat(s) {\n        return regexEscape(\n            s\n                .replace('\\\\', '')\n                .replace(\n                    /\\\\(\\[)|\\\\(\\])|\\[([^\\]\\[]*)\\]|\\\\(.)/g,\n                    function (matched, p1, p2, p3, p4) {\n                        return p1 || p2 || p3 || p4;\n                    }\n                )\n        );\n    }\n\n    function regexEscape(s) {\n        return s.replace(/[-\\/\\\\^$*+?.()|[\\]{}]/g, '\\\\$&');\n    }\n\n    function absFloor(number) {\n        if (number < 0) {\n            // -0 -> 0\n            return Math.ceil(number) || 0;\n        } else {\n            return Math.floor(number);\n        }\n    }\n\n    function toInt(argumentForCoercion) {\n        var coercedNumber = +argumentForCoercion,\n            value = 0;\n\n        if (coercedNumber !== 0 && isFinite(coercedNumber)) {\n            value = absFloor(coercedNumber);\n        }\n\n        return value;\n    }\n\n    var tokens = {};\n\n    function addParseToken(token, callback) {\n        var i,\n            func = callback,\n            tokenLen;\n        if (typeof token === 'string') {\n            token = [token];\n        }\n        if (isNumber(callback)) {\n            func = function (input, array) {\n                array[callback] = toInt(input);\n            };\n        }\n        tokenLen = token.length;\n        for (i = 0; i < tokenLen; i++) {\n            tokens[token[i]] = func;\n        }\n    }\n\n    function addWeekParseToken(token, callback) {\n        addParseToken(token, function (input, array, config, token) {\n            config._w = config._w || {};\n            callback(input, config._w, config, token);\n        });\n    }\n\n    function addTimeToArrayFromToken(token, input, config) {\n        if (input != null && hasOwnProp(tokens, token)) {\n            tokens[token](input, config._a, config, token);\n        }\n    }\n\n    function isLeapYear(year) {\n        return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0;\n    }\n\n    var YEAR = 0,\n        MONTH = 1,\n        DATE = 2,\n        HOUR = 3,\n        MINUTE = 4,\n        SECOND = 5,\n        MILLISECOND = 6,\n        WEEK = 7,\n        WEEKDAY = 8;\n\n    // FORMATTING\n\n    addFormatToken('Y', 0, 0, function () {\n        var y = this.year();\n        return y <= 9999 ? zeroFill(y, 4) : '+' + y;\n    });\n\n    addFormatToken(0, ['YY', 2], 0, function () {\n        return this.year() % 100;\n    });\n\n    addFormatToken(0, ['YYYY', 4], 0, 'year');\n    addFormatToken(0, ['YYYYY', 5], 0, 'year');\n    addFormatToken(0, ['YYYYYY', 6, true], 0, 'year');\n\n    // PARSING\n\n    addRegexToken('Y', matchSigned);\n    addRegexToken('YY', match1to2, match2);\n    addRegexToken('YYYY', match1to4, match4);\n    addRegexToken('YYYYY', match1to6, match6);\n    addRegexToken('YYYYYY', match1to6, match6);\n\n    addParseToken(['YYYYY', 'YYYYYY'], YEAR);\n    addParseToken('YYYY', function (input, array) {\n        array[YEAR] =\n            input.length === 2 ? hooks.parseTwoDigitYear(input) : toInt(input);\n    });\n    addParseToken('YY', function (input, array) {\n        array[YEAR] = hooks.parseTwoDigitYear(input);\n    });\n    addParseToken('Y', function (input, array) {\n        array[YEAR] = parseInt(input, 10);\n    });\n\n    // HELPERS\n\n    function daysInYear(year) {\n        return isLeapYear(year) ? 366 : 365;\n    }\n\n    // HOOKS\n\n    hooks.parseTwoDigitYear = function (input) {\n        return toInt(input) + (toInt(input) > 68 ? 1900 : 2000);\n    };\n\n    // MOMENTS\n\n    var getSetYear = makeGetSet('FullYear', true);\n\n    function getIsLeapYear() {\n        return isLeapYear(this.year());\n    }\n\n    function makeGetSet(unit, keepTime) {\n        return function (value) {\n            if (value != null) {\n                set$1(this, unit, value);\n                hooks.updateOffset(this, keepTime);\n                return this;\n            } else {\n                return get(this, unit);\n            }\n        };\n    }\n\n    function get(mom, unit) {\n        if (!mom.isValid()) {\n            return NaN;\n        }\n\n        var d = mom._d,\n            isUTC = mom._isUTC;\n\n        switch (unit) {\n            case 'Milliseconds':\n                return isUTC ? d.getUTCMilliseconds() : d.getMilliseconds();\n            case 'Seconds':\n                return isUTC ? d.getUTCSeconds() : d.getSeconds();\n            case 'Minutes':\n                return isUTC ? d.getUTCMinutes() : d.getMinutes();\n            case 'Hours':\n                return isUTC ? d.getUTCHours() : d.getHours();\n            case 'Date':\n                return isUTC ? d.getUTCDate() : d.getDate();\n            case 'Day':\n                return isUTC ? d.getUTCDay() : d.getDay();\n            case 'Month':\n                return isUTC ? d.getUTCMonth() : d.getMonth();\n            case 'FullYear':\n                return isUTC ? d.getUTCFullYear() : d.getFullYear();\n            default:\n                return NaN; // Just in case\n        }\n    }\n\n    function set$1(mom, unit, value) {\n        var d, isUTC, year, month, date;\n\n        if (!mom.isValid() || isNaN(value)) {\n            return;\n        }\n\n        d = mom._d;\n        isUTC = mom._isUTC;\n\n        switch (unit) {\n            case 'Milliseconds':\n                return void (isUTC\n                    ? d.setUTCMilliseconds(value)\n                    : d.setMilliseconds(value));\n            case 'Seconds':\n                return void (isUTC ? d.setUTCSeconds(value) : d.setSeconds(value));\n            case 'Minutes':\n                return void (isUTC ? d.setUTCMinutes(value) : d.setMinutes(value));\n            case 'Hours':\n                return void (isUTC ? d.setUTCHours(value) : d.setHours(value));\n            case 'Date':\n                return void (isUTC ? d.setUTCDate(value) : d.setDate(value));\n            // case 'Day': // Not real\n            //    return void (isUTC ? d.setUTCDay(value) : d.setDay(value));\n            // case 'Month': // Not used because we need to pass two variables\n            //     return void (isUTC ? d.setUTCMonth(value) : d.setMonth(value));\n            case 'FullYear':\n                break; // See below ...\n            default:\n                return; // Just in case\n        }\n\n        year = value;\n        month = mom.month();\n        date = mom.date();\n        date = date === 29 && month === 1 && !isLeapYear(year) ? 28 : date;\n        void (isUTC\n            ? d.setUTCFullYear(year, month, date)\n            : d.setFullYear(year, month, date));\n    }\n\n    // MOMENTS\n\n    function stringGet(units) {\n        units = normalizeUnits(units);\n        if (isFunction(this[units])) {\n            return this[units]();\n        }\n        return this;\n    }\n\n    function stringSet(units, value) {\n        if (typeof units === 'object') {\n            units = normalizeObjectUnits(units);\n            var prioritized = getPrioritizedUnits(units),\n                i,\n                prioritizedLen = prioritized.length;\n            for (i = 0; i < prioritizedLen; i++) {\n                this[prioritized[i].unit](units[prioritized[i].unit]);\n            }\n        } else {\n            units = normalizeUnits(units);\n            if (isFunction(this[units])) {\n                return this[units](value);\n            }\n        }\n        return this;\n    }\n\n    function mod(n, x) {\n        return ((n % x) + x) % x;\n    }\n\n    var indexOf;\n\n    if (Array.prototype.indexOf) {\n        indexOf = Array.prototype.indexOf;\n    } else {\n        indexOf = function (o) {\n            // I know\n            var i;\n            for (i = 0; i < this.length; ++i) {\n                if (this[i] === o) {\n                    return i;\n                }\n            }\n            return -1;\n        };\n    }\n\n    function daysInMonth(year, month) {\n        if (isNaN(year) || isNaN(month)) {\n            return NaN;\n        }\n        var modMonth = mod(month, 12);\n        year += (month - modMonth) / 12;\n        return modMonth === 1\n            ? isLeapYear(year)\n                ? 29\n                : 28\n            : 31 - ((modMonth % 7) % 2);\n    }\n\n    // FORMATTING\n\n    addFormatToken('M', ['MM', 2], 'Mo', function () {\n        return this.month() + 1;\n    });\n\n    addFormatToken('MMM', 0, 0, function (format) {\n        return this.localeData().monthsShort(this, format);\n    });\n\n    addFormatToken('MMMM', 0, 0, function (format) {\n        return this.localeData().months(this, format);\n    });\n\n    // PARSING\n\n    addRegexToken('M', match1to2, match1to2NoLeadingZero);\n    addRegexToken('MM', match1to2, match2);\n    addRegexToken('MMM', function (isStrict, locale) {\n        return locale.monthsShortRegex(isStrict);\n    });\n    addRegexToken('MMMM', function (isStrict, locale) {\n        return locale.monthsRegex(isStrict);\n    });\n\n    addParseToken(['M', 'MM'], function (input, array) {\n        array[MONTH] = toInt(input) - 1;\n    });\n\n    addParseToken(['MMM', 'MMMM'], function (input, array, config, token) {\n        var month = config._locale.monthsParse(input, token, config._strict);\n        // if we didn't find a month name, mark the date as invalid.\n        if (month != null) {\n            array[MONTH] = month;\n        } else {\n            getParsingFlags(config).invalidMonth = input;\n        }\n    });\n\n    // LOCALES\n\n    var defaultLocaleMonths =\n            'January_February_March_April_May_June_July_August_September_October_November_December'.split(\n                '_'\n            ),\n        defaultLocaleMonthsShort =\n            'Jan_Feb_Mar_Apr_May_Jun_Jul_Aug_Sep_Oct_Nov_Dec'.split('_'),\n        MONTHS_IN_FORMAT = /D[oD]?(\\[[^\\[\\]]*\\]|\\s)+MMMM?/,\n        defaultMonthsShortRegex = matchWord,\n        defaultMonthsRegex = matchWord;\n\n    function localeMonths(m, format) {\n        if (!m) {\n            return isArray(this._months)\n                ? this._months\n                : this._months['standalone'];\n        }\n        return isArray(this._months)\n            ? this._months[m.month()]\n            : this._months[\n                  (this._months.isFormat || MONTHS_IN_FORMAT).test(format)\n                      ? 'format'\n                      : 'standalone'\n              ][m.month()];\n    }\n\n    function localeMonthsShort(m, format) {\n        if (!m) {\n            return isArray(this._monthsShort)\n                ? this._monthsShort\n                : this._monthsShort['standalone'];\n        }\n        return isArray(this._monthsShort)\n            ? this._monthsShort[m.month()]\n            : this._monthsShort[\n                  MONTHS_IN_FORMAT.test(format) ? 'format' : 'standalone'\n              ][m.month()];\n    }\n\n    function handleStrictParse(monthName, format, strict) {\n        var i,\n            ii,\n            mom,\n            llc = monthName.toLocaleLowerCase();\n        if (!this._monthsParse) {\n            // this is not used\n            this._monthsParse = [];\n            this._longMonthsParse = [];\n            this._shortMonthsParse = [];\n            for (i = 0; i < 12; ++i) {\n                mom = createUTC([2000, i]);\n                this._shortMonthsParse[i] = this.monthsShort(\n                    mom,\n                    ''\n                ).toLocaleLowerCase();\n                this._longMonthsParse[i] = this.months(mom, '').toLocaleLowerCase();\n            }\n        }\n\n        if (strict) {\n            if (format === 'MMM') {\n                ii = indexOf.call(this._shortMonthsParse, llc);\n                return ii !== -1 ? ii : null;\n            } else {\n                ii = indexOf.call(this._longMonthsParse, llc);\n                return ii !== -1 ? ii : null;\n            }\n        } else {\n            if (format === 'MMM') {\n                ii = indexOf.call(this._shortMonthsParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._longMonthsParse, llc);\n                return ii !== -1 ? ii : null;\n            } else {\n                ii = indexOf.call(this._longMonthsParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._shortMonthsParse, llc);\n                return ii !== -1 ? ii : null;\n            }\n        }\n    }\n\n    function localeMonthsParse(monthName, format, strict) {\n        var i, mom, regex;\n\n        if (this._monthsParseExact) {\n            return handleStrictParse.call(this, monthName, format, strict);\n        }\n\n        if (!this._monthsParse) {\n            this._monthsParse = [];\n            this._longMonthsParse = [];\n            this._shortMonthsParse = [];\n        }\n\n        // TODO: add sorting\n        // Sorting makes sure if one month (or abbr) is a prefix of another\n        // see sorting in computeMonthsParse\n        for (i = 0; i < 12; i++) {\n            // make the regex if we don't have it already\n            mom = createUTC([2000, i]);\n            if (strict && !this._longMonthsParse[i]) {\n                this._longMonthsParse[i] = new RegExp(\n                    '^' + this.months(mom, '').replace('.', '') + '$',\n                    'i'\n                );\n                this._shortMonthsParse[i] = new RegExp(\n                    '^' + this.monthsShort(mom, '').replace('.', '') + '$',\n                    'i'\n                );\n            }\n            if (!strict && !this._monthsParse[i]) {\n                regex =\n                    '^' + this.months(mom, '') + '|^' + this.monthsShort(mom, '');\n                this._monthsParse[i] = new RegExp(regex.replace('.', ''), 'i');\n            }\n            // test the regex\n            if (\n                strict &&\n                format === 'MMMM' &&\n                this._longMonthsParse[i].test(monthName)\n            ) {\n                return i;\n            } else if (\n                strict &&\n                format === 'MMM' &&\n                this._shortMonthsParse[i].test(monthName)\n            ) {\n                return i;\n            } else if (!strict && this._monthsParse[i].test(monthName)) {\n                return i;\n            }\n        }\n    }\n\n    // MOMENTS\n\n    function setMonth(mom, value) {\n        if (!mom.isValid()) {\n            // No op\n            return mom;\n        }\n\n        if (typeof value === 'string') {\n            if (/^\\d+$/.test(value)) {\n                value = toInt(value);\n            } else {\n                value = mom.localeData().monthsParse(value);\n                // TODO: Another silent failure?\n                if (!isNumber(value)) {\n                    return mom;\n                }\n            }\n        }\n\n        var month = value,\n            date = mom.date();\n\n        date = date < 29 ? date : Math.min(date, daysInMonth(mom.year(), month));\n        void (mom._isUTC\n            ? mom._d.setUTCMonth(month, date)\n            : mom._d.setMonth(month, date));\n        return mom;\n    }\n\n    function getSetMonth(value) {\n        if (value != null) {\n            setMonth(this, value);\n            hooks.updateOffset(this, true);\n            return this;\n        } else {\n            return get(this, 'Month');\n        }\n    }\n\n    function getDaysInMonth() {\n        return daysInMonth(this.year(), this.month());\n    }\n\n    function monthsShortRegex(isStrict) {\n        if (this._monthsParseExact) {\n            if (!hasOwnProp(this, '_monthsRegex')) {\n                computeMonthsParse.call(this);\n            }\n            if (isStrict) {\n                return this._monthsShortStrictRegex;\n            } else {\n                return this._monthsShortRegex;\n            }\n        } else {\n            if (!hasOwnProp(this, '_monthsShortRegex')) {\n                this._monthsShortRegex = defaultMonthsShortRegex;\n            }\n            return this._monthsShortStrictRegex && isStrict\n                ? this._monthsShortStrictRegex\n                : this._monthsShortRegex;\n        }\n    }\n\n    function monthsRegex(isStrict) {\n        if (this._monthsParseExact) {\n            if (!hasOwnProp(this, '_monthsRegex')) {\n                computeMonthsParse.call(this);\n            }\n            if (isStrict) {\n                return this._monthsStrictRegex;\n            } else {\n                return this._monthsRegex;\n            }\n        } else {\n            if (!hasOwnProp(this, '_monthsRegex')) {\n                this._monthsRegex = defaultMonthsRegex;\n            }\n            return this._monthsStrictRegex && isStrict\n                ? this._monthsStrictRegex\n                : this._monthsRegex;\n        }\n    }\n\n    function computeMonthsParse() {\n        function cmpLenRev(a, b) {\n            return b.length - a.length;\n        }\n\n        var shortPieces = [],\n            longPieces = [],\n            mixedPieces = [],\n            i,\n            mom,\n            shortP,\n            longP;\n        for (i = 0; i < 12; i++) {\n            // make the regex if we don't have it already\n            mom = createUTC([2000, i]);\n            shortP = regexEscape(this.monthsShort(mom, ''));\n            longP = regexEscape(this.months(mom, ''));\n            shortPieces.push(shortP);\n            longPieces.push(longP);\n            mixedPieces.push(longP);\n            mixedPieces.push(shortP);\n        }\n        // Sorting makes sure if one month (or abbr) is a prefix of another it\n        // will match the longer piece.\n        shortPieces.sort(cmpLenRev);\n        longPieces.sort(cmpLenRev);\n        mixedPieces.sort(cmpLenRev);\n\n        this._monthsRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n        this._monthsShortRegex = this._monthsRegex;\n        this._monthsStrictRegex = new RegExp(\n            '^(' + longPieces.join('|') + ')',\n            'i'\n        );\n        this._monthsShortStrictRegex = new RegExp(\n            '^(' + shortPieces.join('|') + ')',\n            'i'\n        );\n    }\n\n    function createDate(y, m, d, h, M, s, ms) {\n        // can't just apply() to create a date:\n        // https://stackoverflow.com/q/181348\n        var date;\n        // the date constructor remaps years 0-99 to 1900-1999\n        if (y < 100 && y >= 0) {\n            // preserve leap years using a full 400 year cycle, then reset\n            date = new Date(y + 400, m, d, h, M, s, ms);\n            if (isFinite(date.getFullYear())) {\n                date.setFullYear(y);\n            }\n        } else {\n            date = new Date(y, m, d, h, M, s, ms);\n        }\n\n        return date;\n    }\n\n    function createUTCDate(y) {\n        var date, args;\n        // the Date.UTC function remaps years 0-99 to 1900-1999\n        if (y < 100 && y >= 0) {\n            args = Array.prototype.slice.call(arguments);\n            // preserve leap years using a full 400 year cycle, then reset\n            args[0] = y + 400;\n            date = new Date(Date.UTC.apply(null, args));\n            if (isFinite(date.getUTCFullYear())) {\n                date.setUTCFullYear(y);\n            }\n        } else {\n            date = new Date(Date.UTC.apply(null, arguments));\n        }\n\n        return date;\n    }\n\n    // start-of-first-week - start-of-year\n    function firstWeekOffset(year, dow, doy) {\n        var // first-week day -- which january is always in the first week (4 for iso, 1 for other)\n            fwd = 7 + dow - doy,\n            // first-week day local weekday -- which local weekday is fwd\n            fwdlw = (7 + createUTCDate(year, 0, fwd).getUTCDay() - dow) % 7;\n\n        return -fwdlw + fwd - 1;\n    }\n\n    // https://en.wikipedia.org/wiki/ISO_week_date#Calculating_a_date_given_the_year.2C_week_number_and_weekday\n    function dayOfYearFromWeeks(year, week, weekday, dow, doy) {\n        var localWeekday = (7 + weekday - dow) % 7,\n            weekOffset = firstWeekOffset(year, dow, doy),\n            dayOfYear = 1 + 7 * (week - 1) + localWeekday + weekOffset,\n            resYear,\n            resDayOfYear;\n\n        if (dayOfYear <= 0) {\n            resYear = year - 1;\n            resDayOfYear = daysInYear(resYear) + dayOfYear;\n        } else if (dayOfYear > daysInYear(year)) {\n            resYear = year + 1;\n            resDayOfYear = dayOfYear - daysInYear(year);\n        } else {\n            resYear = year;\n            resDayOfYear = dayOfYear;\n        }\n\n        return {\n            year: resYear,\n            dayOfYear: resDayOfYear,\n        };\n    }\n\n    function weekOfYear(mom, dow, doy) {\n        var weekOffset = firstWeekOffset(mom.year(), dow, doy),\n            week = Math.floor((mom.dayOfYear() - weekOffset - 1) / 7) + 1,\n            resWeek,\n            resYear;\n\n        if (week < 1) {\n            resYear = mom.year() - 1;\n            resWeek = week + weeksInYear(resYear, dow, doy);\n        } else if (week > weeksInYear(mom.year(), dow, doy)) {\n            resWeek = week - weeksInYear(mom.year(), dow, doy);\n            resYear = mom.year() + 1;\n        } else {\n            resYear = mom.year();\n            resWeek = week;\n        }\n\n        return {\n            week: resWeek,\n            year: resYear,\n        };\n    }\n\n    function weeksInYear(year, dow, doy) {\n        var weekOffset = firstWeekOffset(year, dow, doy),\n            weekOffsetNext = firstWeekOffset(year + 1, dow, doy);\n        return (daysInYear(year) - weekOffset + weekOffsetNext) / 7;\n    }\n\n    // FORMATTING\n\n    addFormatToken('w', ['ww', 2], 'wo', 'week');\n    addFormatToken('W', ['WW', 2], 'Wo', 'isoWeek');\n\n    // PARSING\n\n    addRegexToken('w', match1to2, match1to2NoLeadingZero);\n    addRegexToken('ww', match1to2, match2);\n    addRegexToken('W', match1to2, match1to2NoLeadingZero);\n    addRegexToken('WW', match1to2, match2);\n\n    addWeekParseToken(\n        ['w', 'ww', 'W', 'WW'],\n        function (input, week, config, token) {\n            week[token.substr(0, 1)] = toInt(input);\n        }\n    );\n\n    // HELPERS\n\n    // LOCALES\n\n    function localeWeek(mom) {\n        return weekOfYear(mom, this._week.dow, this._week.doy).week;\n    }\n\n    var defaultLocaleWeek = {\n        dow: 0, // Sunday is the first day of the week.\n        doy: 6, // The week that contains Jan 6th is the first week of the year.\n    };\n\n    function localeFirstDayOfWeek() {\n        return this._week.dow;\n    }\n\n    function localeFirstDayOfYear() {\n        return this._week.doy;\n    }\n\n    // MOMENTS\n\n    function getSetWeek(input) {\n        var week = this.localeData().week(this);\n        return input == null ? week : this.add((input - week) * 7, 'd');\n    }\n\n    function getSetISOWeek(input) {\n        var week = weekOfYear(this, 1, 4).week;\n        return input == null ? week : this.add((input - week) * 7, 'd');\n    }\n\n    // FORMATTING\n\n    addFormatToken('d', 0, 'do', 'day');\n\n    addFormatToken('dd', 0, 0, function (format) {\n        return this.localeData().weekdaysMin(this, format);\n    });\n\n    addFormatToken('ddd', 0, 0, function (format) {\n        return this.localeData().weekdaysShort(this, format);\n    });\n\n    addFormatToken('dddd', 0, 0, function (format) {\n        return this.localeData().weekdays(this, format);\n    });\n\n    addFormatToken('e', 0, 0, 'weekday');\n    addFormatToken('E', 0, 0, 'isoWeekday');\n\n    // PARSING\n\n    addRegexToken('d', match1to2);\n    addRegexToken('e', match1to2);\n    addRegexToken('E', match1to2);\n    addRegexToken('dd', function (isStrict, locale) {\n        return locale.weekdaysMinRegex(isStrict);\n    });\n    addRegexToken('ddd', function (isStrict, locale) {\n        return locale.weekdaysShortRegex(isStrict);\n    });\n    addRegexToken('dddd', function (isStrict, locale) {\n        return locale.weekdaysRegex(isStrict);\n    });\n\n    addWeekParseToken(['dd', 'ddd', 'dddd'], function (input, week, config, token) {\n        var weekday = config._locale.weekdaysParse(input, token, config._strict);\n        // if we didn't get a weekday name, mark the date as invalid\n        if (weekday != null) {\n            week.d = weekday;\n        } else {\n            getParsingFlags(config).invalidWeekday = input;\n        }\n    });\n\n    addWeekParseToken(['d', 'e', 'E'], function (input, week, config, token) {\n        week[token] = toInt(input);\n    });\n\n    // HELPERS\n\n    function parseWeekday(input, locale) {\n        if (typeof input !== 'string') {\n            return input;\n        }\n\n        if (!isNaN(input)) {\n            return parseInt(input, 10);\n        }\n\n        input = locale.weekdaysParse(input);\n        if (typeof input === 'number') {\n            return input;\n        }\n\n        return null;\n    }\n\n    function parseIsoWeekday(input, locale) {\n        if (typeof input === 'string') {\n            return locale.weekdaysParse(input) % 7 || 7;\n        }\n        return isNaN(input) ? null : input;\n    }\n\n    // LOCALES\n    function shiftWeekdays(ws, n) {\n        return ws.slice(n, 7).concat(ws.slice(0, n));\n    }\n\n    var defaultLocaleWeekdays =\n            'Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday'.split('_'),\n        defaultLocaleWeekdaysShort = 'Sun_Mon_Tue_Wed_Thu_Fri_Sat'.split('_'),\n        defaultLocaleWeekdaysMin = 'Su_Mo_Tu_We_Th_Fr_Sa'.split('_'),\n        defaultWeekdaysRegex = matchWord,\n        defaultWeekdaysShortRegex = matchWord,\n        defaultWeekdaysMinRegex = matchWord;\n\n    function localeWeekdays(m, format) {\n        var weekdays = isArray(this._weekdays)\n            ? this._weekdays\n            : this._weekdays[\n                  m && m !== true && this._weekdays.isFormat.test(format)\n                      ? 'format'\n                      : 'standalone'\n              ];\n        return m === true\n            ? shiftWeekdays(weekdays, this._week.dow)\n            : m\n              ? weekdays[m.day()]\n              : weekdays;\n    }\n\n    function localeWeekdaysShort(m) {\n        return m === true\n            ? shiftWeekdays(this._weekdaysShort, this._week.dow)\n            : m\n              ? this._weekdaysShort[m.day()]\n              : this._weekdaysShort;\n    }\n\n    function localeWeekdaysMin(m) {\n        return m === true\n            ? shiftWeekdays(this._weekdaysMin, this._week.dow)\n            : m\n              ? this._weekdaysMin[m.day()]\n              : this._weekdaysMin;\n    }\n\n    function handleStrictParse$1(weekdayName, format, strict) {\n        var i,\n            ii,\n            mom,\n            llc = weekdayName.toLocaleLowerCase();\n        if (!this._weekdaysParse) {\n            this._weekdaysParse = [];\n            this._shortWeekdaysParse = [];\n            this._minWeekdaysParse = [];\n\n            for (i = 0; i < 7; ++i) {\n                mom = createUTC([2000, 1]).day(i);\n                this._minWeekdaysParse[i] = this.weekdaysMin(\n                    mom,\n                    ''\n                ).toLocaleLowerCase();\n                this._shortWeekdaysParse[i] = this.weekdaysShort(\n                    mom,\n                    ''\n                ).toLocaleLowerCase();\n                this._weekdaysParse[i] = this.weekdays(mom, '').toLocaleLowerCase();\n            }\n        }\n\n        if (strict) {\n            if (format === 'dddd') {\n                ii = indexOf.call(this._weekdaysParse, llc);\n                return ii !== -1 ? ii : null;\n            } else if (format === 'ddd') {\n                ii = indexOf.call(this._shortWeekdaysParse, llc);\n                return ii !== -1 ? ii : null;\n            } else {\n                ii = indexOf.call(this._minWeekdaysParse, llc);\n                return ii !== -1 ? ii : null;\n            }\n        } else {\n            if (format === 'dddd') {\n                ii = indexOf.call(this._weekdaysParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._shortWeekdaysParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._minWeekdaysParse, llc);\n                return ii !== -1 ? ii : null;\n            } else if (format === 'ddd') {\n                ii = indexOf.call(this._shortWeekdaysParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._weekdaysParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._minWeekdaysParse, llc);\n                return ii !== -1 ? ii : null;\n            } else {\n                ii = indexOf.call(this._minWeekdaysParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._weekdaysParse, llc);\n                if (ii !== -1) {\n                    return ii;\n                }\n                ii = indexOf.call(this._shortWeekdaysParse, llc);\n                return ii !== -1 ? ii : null;\n            }\n        }\n    }\n\n    function localeWeekdaysParse(weekdayName, format, strict) {\n        var i, mom, regex;\n\n        if (this._weekdaysParseExact) {\n            return handleStrictParse$1.call(this, weekdayName, format, strict);\n        }\n\n        if (!this._weekdaysParse) {\n            this._weekdaysParse = [];\n            this._minWeekdaysParse = [];\n            this._shortWeekdaysParse = [];\n            this._fullWeekdaysParse = [];\n        }\n\n        for (i = 0; i < 7; i++) {\n            // make the regex if we don't have it already\n\n            mom = createUTC([2000, 1]).day(i);\n            if (strict && !this._fullWeekdaysParse[i]) {\n                this._fullWeekdaysParse[i] = new RegExp(\n                    '^' + this.weekdays(mom, '').replace('.', '\\\\.?') + '$',\n                    'i'\n                );\n                this._shortWeekdaysParse[i] = new RegExp(\n                    '^' + this.weekdaysShort(mom, '').replace('.', '\\\\.?') + '$',\n                    'i'\n                );\n                this._minWeekdaysParse[i] = new RegExp(\n                    '^' + this.weekdaysMin(mom, '').replace('.', '\\\\.?') + '$',\n                    'i'\n                );\n            }\n            if (!this._weekdaysParse[i]) {\n                regex =\n                    '^' +\n                    this.weekdays(mom, '') +\n                    '|^' +\n                    this.weekdaysShort(mom, '') +\n                    '|^' +\n                    this.weekdaysMin(mom, '');\n                this._weekdaysParse[i] = new RegExp(regex.replace('.', ''), 'i');\n            }\n            // test the regex\n            if (\n                strict &&\n                format === 'dddd' &&\n                this._fullWeekdaysParse[i].test(weekdayName)\n            ) {\n                return i;\n            } else if (\n                strict &&\n                format === 'ddd' &&\n                this._shortWeekdaysParse[i].test(weekdayName)\n            ) {\n                return i;\n            } else if (\n                strict &&\n                format === 'dd' &&\n                this._minWeekdaysParse[i].test(weekdayName)\n            ) {\n                return i;\n            } else if (!strict && this._weekdaysParse[i].test(weekdayName)) {\n                return i;\n            }\n        }\n    }\n\n    // MOMENTS\n\n    function getSetDayOfWeek(input) {\n        if (!this.isValid()) {\n            return input != null ? this : NaN;\n        }\n\n        var day = get(this, 'Day');\n        if (input != null) {\n            input = parseWeekday(input, this.localeData());\n            return this.add(input - day, 'd');\n        } else {\n            return day;\n        }\n    }\n\n    function getSetLocaleDayOfWeek(input) {\n        if (!this.isValid()) {\n            return input != null ? this : NaN;\n        }\n        var weekday = (this.day() + 7 - this.localeData()._week.dow) % 7;\n        return input == null ? weekday : this.add(input - weekday, 'd');\n    }\n\n    function getSetISODayOfWeek(input) {\n        if (!this.isValid()) {\n            return input != null ? this : NaN;\n        }\n\n        // behaves the same as moment#day except\n        // as a getter, returns 7 instead of 0 (1-7 range instead of 0-6)\n        // as a setter, sunday should belong to the previous week.\n\n        if (input != null) {\n            var weekday = parseIsoWeekday(input, this.localeData());\n            return this.day(this.day() % 7 ? weekday : weekday - 7);\n        } else {\n            return this.day() || 7;\n        }\n    }\n\n    function weekdaysRegex(isStrict) {\n        if (this._weekdaysParseExact) {\n            if (!hasOwnProp(this, '_weekdaysRegex')) {\n                computeWeekdaysParse.call(this);\n            }\n            if (isStrict) {\n                return this._weekdaysStrictRegex;\n            } else {\n                return this._weekdaysRegex;\n            }\n        } else {\n            if (!hasOwnProp(this, '_weekdaysRegex')) {\n                this._weekdaysRegex = defaultWeekdaysRegex;\n            }\n            return this._weekdaysStrictRegex && isStrict\n                ? this._weekdaysStrictRegex\n                : this._weekdaysRegex;\n        }\n    }\n\n    function weekdaysShortRegex(isStrict) {\n        if (this._weekdaysParseExact) {\n            if (!hasOwnProp(this, '_weekdaysRegex')) {\n                computeWeekdaysParse.call(this);\n            }\n            if (isStrict) {\n                return this._weekdaysShortStrictRegex;\n            } else {\n                return this._weekdaysShortRegex;\n            }\n        } else {\n            if (!hasOwnProp(this, '_weekdaysShortRegex')) {\n                this._weekdaysShortRegex = defaultWeekdaysShortRegex;\n            }\n            return this._weekdaysShortStrictRegex && isStrict\n                ? this._weekdaysShortStrictRegex\n                : this._weekdaysShortRegex;\n        }\n    }\n\n    function weekdaysMinRegex(isStrict) {\n        if (this._weekdaysParseExact) {\n            if (!hasOwnProp(this, '_weekdaysRegex')) {\n                computeWeekdaysParse.call(this);\n            }\n            if (isStrict) {\n                return this._weekdaysMinStrictRegex;\n            } else {\n                return this._weekdaysMinRegex;\n            }\n        } else {\n            if (!hasOwnProp(this, '_weekdaysMinRegex')) {\n                this._weekdaysMinRegex = defaultWeekdaysMinRegex;\n            }\n            return this._weekdaysMinStrictRegex && isStrict\n                ? this._weekdaysMinStrictRegex\n                : this._weekdaysMinRegex;\n        }\n    }\n\n    function computeWeekdaysParse() {\n        function cmpLenRev(a, b) {\n            return b.length - a.length;\n        }\n\n        var minPieces = [],\n            shortPieces = [],\n            longPieces = [],\n            mixedPieces = [],\n            i,\n            mom,\n            minp,\n            shortp,\n            longp;\n        for (i = 0; i < 7; i++) {\n            // make the regex if we don't have it already\n            mom = createUTC([2000, 1]).day(i);\n            minp = regexEscape(this.weekdaysMin(mom, ''));\n            shortp = regexEscape(this.weekdaysShort(mom, ''));\n            longp = regexEscape(this.weekdays(mom, ''));\n            minPieces.push(minp);\n            shortPieces.push(shortp);\n            longPieces.push(longp);\n            mixedPieces.push(minp);\n            mixedPieces.push(shortp);\n            mixedPieces.push(longp);\n        }\n        // Sorting makes sure if one weekday (or abbr) is a prefix of another it\n        // will match the longer piece.\n        minPieces.sort(cmpLenRev);\n        shortPieces.sort(cmpLenRev);\n        longPieces.sort(cmpLenRev);\n        mixedPieces.sort(cmpLenRev);\n\n        this._weekdaysRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n        this._weekdaysShortRegex = this._weekdaysRegex;\n        this._weekdaysMinRegex = this._weekdaysRegex;\n\n        this._weekdaysStrictRegex = new RegExp(\n            '^(' + longPieces.join('|') + ')',\n            'i'\n        );\n        this._weekdaysShortStrictRegex = new RegExp(\n            '^(' + shortPieces.join('|') + ')',\n            'i'\n        );\n        this._weekdaysMinStrictRegex = new RegExp(\n            '^(' + minPieces.join('|') + ')',\n            'i'\n        );\n    }\n\n    // FORMATTING\n\n    function hFormat() {\n        return this.hours() % 12 || 12;\n    }\n\n    function kFormat() {\n        return this.hours() || 24;\n    }\n\n    addFormatToken('H', ['HH', 2], 0, 'hour');\n    addFormatToken('h', ['hh', 2], 0, hFormat);\n    addFormatToken('k', ['kk', 2], 0, kFormat);\n\n    addFormatToken('hmm', 0, 0, function () {\n        return '' + hFormat.apply(this) + zeroFill(this.minutes(), 2);\n    });\n\n    addFormatToken('hmmss', 0, 0, function () {\n        return (\n            '' +\n            hFormat.apply(this) +\n            zeroFill(this.minutes(), 2) +\n            zeroFill(this.seconds(), 2)\n        );\n    });\n\n    addFormatToken('Hmm', 0, 0, function () {\n        return '' + this.hours() + zeroFill(this.minutes(), 2);\n    });\n\n    addFormatToken('Hmmss', 0, 0, function () {\n        return (\n            '' +\n            this.hours() +\n            zeroFill(this.minutes(), 2) +\n            zeroFill(this.seconds(), 2)\n        );\n    });\n\n    function meridiem(token, lowercase) {\n        addFormatToken(token, 0, 0, function () {\n            return this.localeData().meridiem(\n                this.hours(),\n                this.minutes(),\n                lowercase\n            );\n        });\n    }\n\n    meridiem('a', true);\n    meridiem('A', false);\n\n    // PARSING\n\n    function matchMeridiem(isStrict, locale) {\n        return locale._meridiemParse;\n    }\n\n    addRegexToken('a', matchMeridiem);\n    addRegexToken('A', matchMeridiem);\n    addRegexToken('H', match1to2, match1to2HasZero);\n    addRegexToken('h', match1to2, match1to2NoLeadingZero);\n    addRegexToken('k', match1to2, match1to2NoLeadingZero);\n    addRegexToken('HH', match1to2, match2);\n    addRegexToken('hh', match1to2, match2);\n    addRegexToken('kk', match1to2, match2);\n\n    addRegexToken('hmm', match3to4);\n    addRegexToken('hmmss', match5to6);\n    addRegexToken('Hmm', match3to4);\n    addRegexToken('Hmmss', match5to6);\n\n    addParseToken(['H', 'HH'], HOUR);\n    addParseToken(['k', 'kk'], function (input, array, config) {\n        var kInput = toInt(input);\n        array[HOUR] = kInput === 24 ? 0 : kInput;\n    });\n    addParseToken(['a', 'A'], function (input, array, config) {\n        config._isPm = config._locale.isPM(input);\n        config._meridiem = input;\n    });\n    addParseToken(['h', 'hh'], function (input, array, config) {\n        array[HOUR] = toInt(input);\n        getParsingFlags(config).bigHour = true;\n    });\n    addParseToken('hmm', function (input, array, config) {\n        var pos = input.length - 2;\n        array[HOUR] = toInt(input.substr(0, pos));\n        array[MINUTE] = toInt(input.substr(pos));\n        getParsingFlags(config).bigHour = true;\n    });\n    addParseToken('hmmss', function (input, array, config) {\n        var pos1 = input.length - 4,\n            pos2 = input.length - 2;\n        array[HOUR] = toInt(input.substr(0, pos1));\n        array[MINUTE] = toInt(input.substr(pos1, 2));\n        array[SECOND] = toInt(input.substr(pos2));\n        getParsingFlags(config).bigHour = true;\n    });\n    addParseToken('Hmm', function (input, array, config) {\n        var pos = input.length - 2;\n        array[HOUR] = toInt(input.substr(0, pos));\n        array[MINUTE] = toInt(input.substr(pos));\n    });\n    addParseToken('Hmmss', function (input, array, config) {\n        var pos1 = input.length - 4,\n            pos2 = input.length - 2;\n        array[HOUR] = toInt(input.substr(0, pos1));\n        array[MINUTE] = toInt(input.substr(pos1, 2));\n        array[SECOND] = toInt(input.substr(pos2));\n    });\n\n    // LOCALES\n\n    function localeIsPM(input) {\n        // IE8 Quirks Mode & IE7 Standards Mode do not allow accessing strings like arrays\n        // Using charAt should be more compatible.\n        return (input + '').toLowerCase().charAt(0) === 'p';\n    }\n\n    var defaultLocaleMeridiemParse = /[ap]\\.?m?\\.?/i,\n        // Setting the hour should keep the time, because the user explicitly\n        // specified which hour they want. So trying to maintain the same hour (in\n        // a new timezone) makes sense. Adding/subtracting hours does not follow\n        // this rule.\n        getSetHour = makeGetSet('Hours', true);\n\n    function localeMeridiem(hours, minutes, isLower) {\n        if (hours > 11) {\n            return isLower ? 'pm' : 'PM';\n        } else {\n            return isLower ? 'am' : 'AM';\n        }\n    }\n\n    var baseConfig = {\n        calendar: defaultCalendar,\n        longDateFormat: defaultLongDateFormat,\n        invalidDate: defaultInvalidDate,\n        ordinal: defaultOrdinal,\n        dayOfMonthOrdinalParse: defaultDayOfMonthOrdinalParse,\n        relativeTime: defaultRelativeTime,\n\n        months: defaultLocaleMonths,\n        monthsShort: defaultLocaleMonthsShort,\n\n        week: defaultLocaleWeek,\n\n        weekdays: defaultLocaleWeekdays,\n        weekdaysMin: defaultLocaleWeekdaysMin,\n        weekdaysShort: defaultLocaleWeekdaysShort,\n\n        meridiemParse: defaultLocaleMeridiemParse,\n    };\n\n    // internal storage for locale config files\n    var locales = {},\n        localeFamilies = {},\n        globalLocale;\n\n    function commonPrefix(arr1, arr2) {\n        var i,\n            minl = Math.min(arr1.length, arr2.length);\n        for (i = 0; i < minl; i += 1) {\n            if (arr1[i] !== arr2[i]) {\n                return i;\n            }\n        }\n        return minl;\n    }\n\n    function normalizeLocale(key) {\n        return key ? key.toLowerCase().replace('_', '-') : key;\n    }\n\n    // pick the locale from the array\n    // try ['en-au', 'en-gb'] as 'en-au', 'en-gb', 'en', as in move through the list trying each\n    // substring from most specific to least, but move to the next array item if it's a more specific variant than the current root\n    function chooseLocale(names) {\n        var i = 0,\n            j,\n            next,\n            locale,\n            split;\n\n        while (i < names.length) {\n            split = normalizeLocale(names[i]).split('-');\n            j = split.length;\n            next = normalizeLocale(names[i + 1]);\n            next = next ? next.split('-') : null;\n            while (j > 0) {\n                locale = loadLocale(split.slice(0, j).join('-'));\n                if (locale) {\n                    return locale;\n                }\n                if (\n                    next &&\n                    next.length >= j &&\n                    commonPrefix(split, next) >= j - 1\n                ) {\n                    //the next array item is better than a shallower substring of this one\n                    break;\n                }\n                j--;\n            }\n            i++;\n        }\n        return globalLocale;\n    }\n\n    function isLocaleNameSane(name) {\n        // Prevent names that look like filesystem paths, i.e contain '/' or '\\'\n        // Ensure name is available and function returns boolean\n        return !!(name && name.match('^[^/\\\\\\\\]*$'));\n    }\n\n    function loadLocale(name) {\n        var oldLocale = null,\n            aliasedRequire;\n        // TODO: Find a better way to register and load all the locales in Node\n        if (\n            locales[name] === undefined &&\n            typeof module !== 'undefined' &&\n            module &&\n            module.exports &&\n            isLocaleNameSane(name)\n        ) {\n            try {\n                oldLocale = globalLocale._abbr;\n                aliasedRequire = require;\n                aliasedRequire('./locale/' + name);\n                getSetGlobalLocale(oldLocale);\n            } catch (e) {\n                // mark as not found to avoid repeating expensive file require call causing high CPU\n                // when trying to find en-US, en_US, en-us for every format call\n                locales[name] = null; // null means not found\n            }\n        }\n        return locales[name];\n    }\n\n    // This function will load locale and then set the global locale.  If\n    // no arguments are passed in, it will simply return the current global\n    // locale key.\n    function getSetGlobalLocale(key, values) {\n        var data;\n        if (key) {\n            if (isUndefined(values)) {\n                data = getLocale(key);\n            } else {\n                data = defineLocale(key, values);\n            }\n\n            if (data) {\n                // moment.duration._locale = moment._locale = data;\n                globalLocale = data;\n            } else {\n                if (typeof console !== 'undefined' && console.warn) {\n                    //warn user if arguments are passed but the locale could not be set\n                    console.warn(\n                        'Locale ' + key + ' not found. Did you forget to load it?'\n                    );\n                }\n            }\n        }\n\n        return globalLocale._abbr;\n    }\n\n    function defineLocale(name, config) {\n        if (config !== null) {\n            var locale,\n                parentConfig = baseConfig;\n            config.abbr = name;\n            if (locales[name] != null) {\n                deprecateSimple(\n                    'defineLocaleOverride',\n                    'use moment.updateLocale(localeName, config) to change ' +\n                        'an existing locale. moment.defineLocale(localeName, ' +\n                        'config) should only be used for creating a new locale ' +\n                        'See http://momentjs.com/guides/#/warnings/define-locale/ for more info.'\n                );\n                parentConfig = locales[name]._config;\n            } else if (config.parentLocale != null) {\n                if (locales[config.parentLocale] != null) {\n                    parentConfig = locales[config.parentLocale]._config;\n                } else {\n                    locale = loadLocale(config.parentLocale);\n                    if (locale != null) {\n                        parentConfig = locale._config;\n                    } else {\n                        if (!localeFamilies[config.parentLocale]) {\n                            localeFamilies[config.parentLocale] = [];\n                        }\n                        localeFamilies[config.parentLocale].push({\n                            name: name,\n                            config: config,\n                        });\n                        return null;\n                    }\n                }\n            }\n            locales[name] = new Locale(mergeConfigs(parentConfig, config));\n\n            if (localeFamilies[name]) {\n                localeFamilies[name].forEach(function (x) {\n                    defineLocale(x.name, x.config);\n                });\n            }\n\n            // backwards compat for now: also set the locale\n            // make sure we set the locale AFTER all child locales have been\n            // created, so we won't end up with the child locale set.\n            getSetGlobalLocale(name);\n\n            return locales[name];\n        } else {\n            // useful for testing\n            delete locales[name];\n            return null;\n        }\n    }\n\n    function updateLocale(name, config) {\n        if (config != null) {\n            var locale,\n                tmpLocale,\n                parentConfig = baseConfig;\n\n            if (locales[name] != null && locales[name].parentLocale != null) {\n                // Update existing child locale in-place to avoid memory-leaks\n                locales[name].set(mergeConfigs(locales[name]._config, config));\n            } else {\n                // MERGE\n                tmpLocale = loadLocale(name);\n                if (tmpLocale != null) {\n                    parentConfig = tmpLocale._config;\n                }\n                config = mergeConfigs(parentConfig, config);\n                if (tmpLocale == null) {\n                    // updateLocale is called for creating a new locale\n                    // Set abbr so it will have a name (getters return\n                    // undefined otherwise).\n                    config.abbr = name;\n                }\n                locale = new Locale(config);\n                locale.parentLocale = locales[name];\n                locales[name] = locale;\n            }\n\n            // backwards compat for now: also set the locale\n            getSetGlobalLocale(name);\n        } else {\n            // pass null for config to unupdate, useful for tests\n            if (locales[name] != null) {\n                if (locales[name].parentLocale != null) {\n                    locales[name] = locales[name].parentLocale;\n                    if (name === getSetGlobalLocale()) {\n                        getSetGlobalLocale(name);\n                    }\n                } else if (locales[name] != null) {\n                    delete locales[name];\n                }\n            }\n        }\n        return locales[name];\n    }\n\n    // returns locale data\n    function getLocale(key) {\n        var locale;\n\n        if (key && key._locale && key._locale._abbr) {\n            key = key._locale._abbr;\n        }\n\n        if (!key) {\n            return globalLocale;\n        }\n\n        if (!isArray(key)) {\n            //short-circuit everything else\n            locale = loadLocale(key);\n            if (locale) {\n                return locale;\n            }\n            key = [key];\n        }\n\n        return chooseLocale(key);\n    }\n\n    function listLocales() {\n        return keys(locales);\n    }\n\n    function checkOverflow(m) {\n        var overflow,\n            a = m._a;\n\n        if (a && getParsingFlags(m).overflow === -2) {\n            overflow =\n                a[MONTH] < 0 || a[MONTH] > 11\n                    ? MONTH\n                    : a[DATE] < 1 || a[DATE] > daysInMonth(a[YEAR], a[MONTH])\n                      ? DATE\n                      : a[HOUR] < 0 ||\n                          a[HOUR] > 24 ||\n                          (a[HOUR] === 24 &&\n                              (a[MINUTE] !== 0 ||\n                                  a[SECOND] !== 0 ||\n                                  a[MILLISECOND] !== 0))\n                        ? HOUR\n                        : a[MINUTE] < 0 || a[MINUTE] > 59\n                          ? MINUTE\n                          : a[SECOND] < 0 || a[SECOND] > 59\n                            ? SECOND\n                            : a[MILLISECOND] < 0 || a[MILLISECOND] > 999\n                              ? MILLISECOND\n                              : -1;\n\n            if (\n                getParsingFlags(m)._overflowDayOfYear &&\n                (overflow < YEAR || overflow > DATE)\n            ) {\n                overflow = DATE;\n            }\n            if (getParsingFlags(m)._overflowWeeks && overflow === -1) {\n                overflow = WEEK;\n            }\n            if (getParsingFlags(m)._overflowWeekday && overflow === -1) {\n                overflow = WEEKDAY;\n            }\n\n            getParsingFlags(m).overflow = overflow;\n        }\n\n        return m;\n    }\n\n    // iso 8601 regex\n    // 0000-00-00 0000-W00 or 0000-W00-0 + T + 00 or 00:00 or 00:00:00 or 00:00:00.000 + +00:00 or +0000 or +00)\n    var extendedIsoRegex =\n            /^\\s*((?:[+-]\\d{6}|\\d{4})-(?:\\d\\d-\\d\\d|W\\d\\d-\\d|W\\d\\d|\\d\\d\\d|\\d\\d))(?:(T| )(\\d\\d(?::\\d\\d(?::\\d\\d(?:[.,]\\d+)?)?)?)([+-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/,\n        basicIsoRegex =\n            /^\\s*((?:[+-]\\d{6}|\\d{4})(?:\\d\\d\\d\\d|W\\d\\d\\d|W\\d\\d|\\d\\d\\d|\\d\\d|))(?:(T| )(\\d\\d(?:\\d\\d(?:\\d\\d(?:[.,]\\d+)?)?)?)([+-]\\d\\d(?::?\\d\\d)?|\\s*Z)?)?$/,\n        tzRegex = /Z|[+-]\\d\\d(?::?\\d\\d)?/,\n        isoDates = [\n            ['YYYYYY-MM-DD', /[+-]\\d{6}-\\d\\d-\\d\\d/],\n            ['YYYY-MM-DD', /\\d{4}-\\d\\d-\\d\\d/],\n            ['GGGG-[W]WW-E', /\\d{4}-W\\d\\d-\\d/],\n            ['GGGG-[W]WW', /\\d{4}-W\\d\\d/, false],\n            ['YYYY-DDD', /\\d{4}-\\d{3}/],\n            ['YYYY-MM', /\\d{4}-\\d\\d/, false],\n            ['YYYYYYMMDD', /[+-]\\d{10}/],\n            ['YYYYMMDD', /\\d{8}/],\n            ['GGGG[W]WWE', /\\d{4}W\\d{3}/],\n            ['GGGG[W]WW', /\\d{4}W\\d{2}/, false],\n            ['YYYYDDD', /\\d{7}/],\n            ['YYYYMM', /\\d{6}/, false],\n            ['YYYY', /\\d{4}/, false],\n        ],\n        // iso time formats and regexes\n        isoTimes = [\n            ['HH:mm:ss.SSSS', /\\d\\d:\\d\\d:\\d\\d\\.\\d+/],\n            ['HH:mm:ss,SSSS', /\\d\\d:\\d\\d:\\d\\d,\\d+/],\n            ['HH:mm:ss', /\\d\\d:\\d\\d:\\d\\d/],\n            ['HH:mm', /\\d\\d:\\d\\d/],\n            ['HHmmss.SSSS', /\\d\\d\\d\\d\\d\\d\\.\\d+/],\n            ['HHmmss,SSSS', /\\d\\d\\d\\d\\d\\d,\\d+/],\n            ['HHmmss', /\\d\\d\\d\\d\\d\\d/],\n            ['HHmm', /\\d\\d\\d\\d/],\n            ['HH', /\\d\\d/],\n        ],\n        aspNetJsonRegex = /^\\/?Date\\((-?\\d+)/i,\n        // RFC 2822 regex: For details see https://tools.ietf.org/html/rfc2822#section-3.3\n        rfc2822 =\n            /^(?:(Mon|Tue|Wed|Thu|Fri|Sat|Sun),?\\s)?(\\d{1,2})\\s(Jan|Feb|Mar|Apr|May|Jun|Jul|Aug|Sep|Oct|Nov|Dec)\\s(\\d{2,4})\\s(\\d\\d):(\\d\\d)(?::(\\d\\d))?\\s(?:(UT|GMT|[ECMP][SD]T)|([Zz])|([+-]\\d{4}))$/,\n        obsOffsets = {\n            UT: 0,\n            GMT: 0,\n            EDT: -4 * 60,\n            EST: -5 * 60,\n            CDT: -5 * 60,\n            CST: -6 * 60,\n            MDT: -6 * 60,\n            MST: -7 * 60,\n            PDT: -7 * 60,\n            PST: -8 * 60,\n        };\n\n    // date from iso format\n    function configFromISO(config) {\n        var i,\n            l,\n            string = config._i,\n            match = extendedIsoRegex.exec(string) || basicIsoRegex.exec(string),\n            allowTime,\n            dateFormat,\n            timeFormat,\n            tzFormat,\n            isoDatesLen = isoDates.length,\n            isoTimesLen = isoTimes.length;\n\n        if (match) {\n            getParsingFlags(config).iso = true;\n            for (i = 0, l = isoDatesLen; i < l; i++) {\n                if (isoDates[i][1].exec(match[1])) {\n                    dateFormat = isoDates[i][0];\n                    allowTime = isoDates[i][2] !== false;\n                    break;\n                }\n            }\n            if (dateFormat == null) {\n                config._isValid = false;\n                return;\n            }\n            if (match[3]) {\n                for (i = 0, l = isoTimesLen; i < l; i++) {\n                    if (isoTimes[i][1].exec(match[3])) {\n                        // match[2] should be 'T' or space\n                        timeFormat = (match[2] || ' ') + isoTimes[i][0];\n                        break;\n                    }\n                }\n                if (timeFormat == null) {\n                    config._isValid = false;\n                    return;\n                }\n            }\n            if (!allowTime && timeFormat != null) {\n                config._isValid = false;\n                return;\n            }\n            if (match[4]) {\n                if (tzRegex.exec(match[4])) {\n                    tzFormat = 'Z';\n                } else {\n                    config._isValid = false;\n                    return;\n                }\n            }\n            config._f = dateFormat + (timeFormat || '') + (tzFormat || '');\n            configFromStringAndFormat(config);\n        } else {\n            config._isValid = false;\n        }\n    }\n\n    function extractFromRFC2822Strings(\n        yearStr,\n        monthStr,\n        dayStr,\n        hourStr,\n        minuteStr,\n        secondStr\n    ) {\n        var result = [\n            untruncateYear(yearStr),\n            defaultLocaleMonthsShort.indexOf(monthStr),\n            parseInt(dayStr, 10),\n            parseInt(hourStr, 10),\n            parseInt(minuteStr, 10),\n        ];\n\n        if (secondStr) {\n            result.push(parseInt(secondStr, 10));\n        }\n\n        return result;\n    }\n\n    function untruncateYear(yearStr) {\n        var year = parseInt(yearStr, 10);\n        if (year <= 49) {\n            return 2000 + year;\n        } else if (year <= 999) {\n            return 1900 + year;\n        }\n        return year;\n    }\n\n    function preprocessRFC2822(s) {\n        // Remove comments and folding whitespace and replace multiple-spaces with a single space\n        return s\n            .replace(/\\([^()]*\\)|[\\n\\t]/g, ' ')\n            .replace(/(\\s\\s+)/g, ' ')\n            .replace(/^\\s\\s*/, '')\n            .replace(/\\s\\s*$/, '');\n    }\n\n    function checkWeekday(weekdayStr, parsedInput, config) {\n        if (weekdayStr) {\n            // TODO: Replace the vanilla JS Date object with an independent day-of-week check.\n            var weekdayProvided = defaultLocaleWeekdaysShort.indexOf(weekdayStr),\n                weekdayActual = new Date(\n                    parsedInput[0],\n                    parsedInput[1],\n                    parsedInput[2]\n                ).getDay();\n            if (weekdayProvided !== weekdayActual) {\n                getParsingFlags(config).weekdayMismatch = true;\n                config._isValid = false;\n                return false;\n            }\n        }\n        return true;\n    }\n\n    function calculateOffset(obsOffset, militaryOffset, numOffset) {\n        if (obsOffset) {\n            return obsOffsets[obsOffset];\n        } else if (militaryOffset) {\n            // the only allowed military tz is Z\n            return 0;\n        } else {\n            var hm = parseInt(numOffset, 10),\n                m = hm % 100,\n                h = (hm - m) / 100;\n            return h * 60 + m;\n        }\n    }\n\n    // date and time from ref 2822 format\n    function configFromRFC2822(config) {\n        var match = rfc2822.exec(preprocessRFC2822(config._i)),\n            parsedArray;\n        if (match) {\n            parsedArray = extractFromRFC2822Strings(\n                match[4],\n                match[3],\n                match[2],\n                match[5],\n                match[6],\n                match[7]\n            );\n            if (!checkWeekday(match[1], parsedArray, config)) {\n                return;\n            }\n\n            config._a = parsedArray;\n            config._tzm = calculateOffset(match[8], match[9], match[10]);\n\n            config._d = createUTCDate.apply(null, config._a);\n            config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);\n\n            getParsingFlags(config).rfc2822 = true;\n        } else {\n            config._isValid = false;\n        }\n    }\n\n    // date from 1) ASP.NET, 2) ISO, 3) RFC 2822 formats, or 4) optional fallback if parsing isn't strict\n    function configFromString(config) {\n        var matched = aspNetJsonRegex.exec(config._i);\n        if (matched !== null) {\n            config._d = new Date(+matched[1]);\n            return;\n        }\n\n        configFromISO(config);\n        if (config._isValid === false) {\n            delete config._isValid;\n        } else {\n            return;\n        }\n\n        configFromRFC2822(config);\n        if (config._isValid === false) {\n            delete config._isValid;\n        } else {\n            return;\n        }\n\n        if (config._strict) {\n            config._isValid = false;\n        } else {\n            // Final attempt, use Input Fallback\n            hooks.createFromInputFallback(config);\n        }\n    }\n\n    hooks.createFromInputFallback = deprecate(\n        'value provided is not in a recognized RFC2822 or ISO format. moment construction falls back to js Date(), ' +\n            'which is not reliable across all browsers and versions. Non RFC2822/ISO date formats are ' +\n            'discouraged. Please refer to http://momentjs.com/guides/#/warnings/js-date/ for more info.',\n        function (config) {\n            config._d = new Date(config._i + (config._useUTC ? ' UTC' : ''));\n        }\n    );\n\n    // Pick the first defined of two or three arguments.\n    function defaults(a, b, c) {\n        if (a != null) {\n            return a;\n        }\n        if (b != null) {\n            return b;\n        }\n        return c;\n    }\n\n    function currentDateArray(config) {\n        // hooks is actually the exported moment object\n        var nowValue = new Date(hooks.now());\n        if (config._useUTC) {\n            return [\n                nowValue.getUTCFullYear(),\n                nowValue.getUTCMonth(),\n                nowValue.getUTCDate(),\n            ];\n        }\n        return [nowValue.getFullYear(), nowValue.getMonth(), nowValue.getDate()];\n    }\n\n    // convert an array to a date.\n    // the array should mirror the parameters below\n    // note: all values past the year are optional and will default to the lowest possible value.\n    // [year, month, day , hour, minute, second, millisecond]\n    function configFromArray(config) {\n        var i,\n            date,\n            input = [],\n            currentDate,\n            expectedWeekday,\n            yearToUse;\n\n        if (config._d) {\n            return;\n        }\n\n        currentDate = currentDateArray(config);\n\n        //compute day of the year from weeks and weekdays\n        if (config._w && config._a[DATE] == null && config._a[MONTH] == null) {\n            dayOfYearFromWeekInfo(config);\n        }\n\n        //if the day of the year is set, figure out what it is\n        if (config._dayOfYear != null) {\n            yearToUse = defaults(config._a[YEAR], currentDate[YEAR]);\n\n            if (\n                config._dayOfYear > daysInYear(yearToUse) ||\n                config._dayOfYear === 0\n            ) {\n                getParsingFlags(config)._overflowDayOfYear = true;\n            }\n\n            date = createUTCDate(yearToUse, 0, config._dayOfYear);\n            config._a[MONTH] = date.getUTCMonth();\n            config._a[DATE] = date.getUTCDate();\n        }\n\n        // Default to current date.\n        // * if no year, month, day of month are given, default to today\n        // * if day of month is given, default month and year\n        // * if month is given, default only year\n        // * if year is given, don't default anything\n        for (i = 0; i < 3 && config._a[i] == null; ++i) {\n            config._a[i] = input[i] = currentDate[i];\n        }\n\n        // Zero out whatever was not defaulted, including time\n        for (; i < 7; i++) {\n            config._a[i] = input[i] =\n                config._a[i] == null ? (i === 2 ? 1 : 0) : config._a[i];\n        }\n\n        // Check for 24:00:00.000\n        if (\n            config._a[HOUR] === 24 &&\n            config._a[MINUTE] === 0 &&\n            config._a[SECOND] === 0 &&\n            config._a[MILLISECOND] === 0\n        ) {\n            config._nextDay = true;\n            config._a[HOUR] = 0;\n        }\n\n        config._d = (config._useUTC ? createUTCDate : createDate).apply(\n            null,\n            input\n        );\n        expectedWeekday = config._useUTC\n            ? config._d.getUTCDay()\n            : config._d.getDay();\n\n        // Apply timezone offset from input. The actual utcOffset can be changed\n        // with parseZone.\n        if (config._tzm != null) {\n            config._d.setUTCMinutes(config._d.getUTCMinutes() - config._tzm);\n        }\n\n        if (config._nextDay) {\n            config._a[HOUR] = 24;\n        }\n\n        // check for mismatching day of week\n        if (\n            config._w &&\n            typeof config._w.d !== 'undefined' &&\n            config._w.d !== expectedWeekday\n        ) {\n            getParsingFlags(config).weekdayMismatch = true;\n        }\n    }\n\n    function dayOfYearFromWeekInfo(config) {\n        var w, weekYear, week, weekday, dow, doy, temp, weekdayOverflow, curWeek;\n\n        w = config._w;\n        if (w.GG != null || w.W != null || w.E != null) {\n            dow = 1;\n            doy = 4;\n\n            // TODO: We need to take the current isoWeekYear, but that depends on\n            // how we interpret now (local, utc, fixed offset). So create\n            // a now version of current config (take local/utc/offset flags, and\n            // create now).\n            weekYear = defaults(\n                w.GG,\n                config._a[YEAR],\n                weekOfYear(createLocal(), 1, 4).year\n            );\n            week = defaults(w.W, 1);\n            weekday = defaults(w.E, 1);\n            if (weekday < 1 || weekday > 7) {\n                weekdayOverflow = true;\n            }\n        } else {\n            dow = config._locale._week.dow;\n            doy = config._locale._week.doy;\n\n            curWeek = weekOfYear(createLocal(), dow, doy);\n\n            weekYear = defaults(w.gg, config._a[YEAR], curWeek.year);\n\n            // Default to current week.\n            week = defaults(w.w, curWeek.week);\n\n            if (w.d != null) {\n                // weekday -- low day numbers are considered next week\n                weekday = w.d;\n                if (weekday < 0 || weekday > 6) {\n                    weekdayOverflow = true;\n                }\n            } else if (w.e != null) {\n                // local weekday -- counting starts from beginning of week\n                weekday = w.e + dow;\n                if (w.e < 0 || w.e > 6) {\n                    weekdayOverflow = true;\n                }\n            } else {\n                // default to beginning of week\n                weekday = dow;\n            }\n        }\n        if (week < 1 || week > weeksInYear(weekYear, dow, doy)) {\n            getParsingFlags(config)._overflowWeeks = true;\n        } else if (weekdayOverflow != null) {\n            getParsingFlags(config)._overflowWeekday = true;\n        } else {\n            temp = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy);\n            config._a[YEAR] = temp.year;\n            config._dayOfYear = temp.dayOfYear;\n        }\n    }\n\n    // constant that refers to the ISO standard\n    hooks.ISO_8601 = function () {};\n\n    // constant that refers to the RFC 2822 form\n    hooks.RFC_2822 = function () {};\n\n    // date from string and format string\n    function configFromStringAndFormat(config) {\n        // TODO: Move this to another part of the creation flow to prevent circular deps\n        if (config._f === hooks.ISO_8601) {\n            configFromISO(config);\n            return;\n        }\n        if (config._f === hooks.RFC_2822) {\n            configFromRFC2822(config);\n            return;\n        }\n        config._a = [];\n        getParsingFlags(config).empty = true;\n\n        // This array is used to make a Date, either with `new Date` or `Date.UTC`\n        var string = '' + config._i,\n            i,\n            parsedInput,\n            tokens,\n            token,\n            skipped,\n            stringLength = string.length,\n            totalParsedInputLength = 0,\n            era,\n            tokenLen;\n\n        tokens =\n            expandFormat(config._f, config._locale).match(formattingTokens) || [];\n        tokenLen = tokens.length;\n        for (i = 0; i < tokenLen; i++) {\n            token = tokens[i];\n            parsedInput = (string.match(getParseRegexForToken(token, config)) ||\n                [])[0];\n            if (parsedInput) {\n                skipped = string.substr(0, string.indexOf(parsedInput));\n                if (skipped.length > 0) {\n                    getParsingFlags(config).unusedInput.push(skipped);\n                }\n                string = string.slice(\n                    string.indexOf(parsedInput) + parsedInput.length\n                );\n                totalParsedInputLength += parsedInput.length;\n            }\n            // don't parse if it's not a known token\n            if (formatTokenFunctions[token]) {\n                if (parsedInput) {\n                    getParsingFlags(config).empty = false;\n                } else {\n                    getParsingFlags(config).unusedTokens.push(token);\n                }\n                addTimeToArrayFromToken(token, parsedInput, config);\n            } else if (config._strict && !parsedInput) {\n                getParsingFlags(config).unusedTokens.push(token);\n            }\n        }\n\n        // add remaining unparsed input length to the string\n        getParsingFlags(config).charsLeftOver =\n            stringLength - totalParsedInputLength;\n        if (string.length > 0) {\n            getParsingFlags(config).unusedInput.push(string);\n        }\n\n        // clear _12h flag if hour is <= 12\n        if (\n            config._a[HOUR] <= 12 &&\n            getParsingFlags(config).bigHour === true &&\n            config._a[HOUR] > 0\n        ) {\n            getParsingFlags(config).bigHour = undefined;\n        }\n\n        getParsingFlags(config).parsedDateParts = config._a.slice(0);\n        getParsingFlags(config).meridiem = config._meridiem;\n        // handle meridiem\n        config._a[HOUR] = meridiemFixWrap(\n            config._locale,\n            config._a[HOUR],\n            config._meridiem\n        );\n\n        // handle era\n        era = getParsingFlags(config).era;\n        if (era !== null) {\n            config._a[YEAR] = config._locale.erasConvertYear(era, config._a[YEAR]);\n        }\n\n        configFromArray(config);\n        checkOverflow(config);\n    }\n\n    function meridiemFixWrap(locale, hour, meridiem) {\n        var isPm;\n\n        if (meridiem == null) {\n            // nothing to do\n            return hour;\n        }\n        if (locale.meridiemHour != null) {\n            return locale.meridiemHour(hour, meridiem);\n        } else if (locale.isPM != null) {\n            // Fallback\n            isPm = locale.isPM(meridiem);\n            if (isPm && hour < 12) {\n                hour += 12;\n            }\n            if (!isPm && hour === 12) {\n                hour = 0;\n            }\n            return hour;\n        } else {\n            // this is not supposed to happen\n            return hour;\n        }\n    }\n\n    // date from string and array of format strings\n    function configFromStringAndArray(config) {\n        var tempConfig,\n            bestMoment,\n            scoreToBeat,\n            i,\n            currentScore,\n            validFormatFound,\n            bestFormatIsValid = false,\n            configfLen = config._f.length;\n\n        if (configfLen === 0) {\n            getParsingFlags(config).invalidFormat = true;\n            config._d = new Date(NaN);\n            return;\n        }\n\n        for (i = 0; i < configfLen; i++) {\n            currentScore = 0;\n            validFormatFound = false;\n            tempConfig = copyConfig({}, config);\n            if (config._useUTC != null) {\n                tempConfig._useUTC = config._useUTC;\n            }\n            tempConfig._f = config._f[i];\n            configFromStringAndFormat(tempConfig);\n\n            if (isValid(tempConfig)) {\n                validFormatFound = true;\n            }\n\n            // if there is any input that was not parsed add a penalty for that format\n            currentScore += getParsingFlags(tempConfig).charsLeftOver;\n\n            //or tokens\n            currentScore += getParsingFlags(tempConfig).unusedTokens.length * 10;\n\n            getParsingFlags(tempConfig).score = currentScore;\n\n            if (!bestFormatIsValid) {\n                if (\n                    scoreToBeat == null ||\n                    currentScore < scoreToBeat ||\n                    validFormatFound\n                ) {\n                    scoreToBeat = currentScore;\n                    bestMoment = tempConfig;\n                    if (validFormatFound) {\n                        bestFormatIsValid = true;\n                    }\n                }\n            } else {\n                if (currentScore < scoreToBeat) {\n                    scoreToBeat = currentScore;\n                    bestMoment = tempConfig;\n                }\n            }\n        }\n\n        extend(config, bestMoment || tempConfig);\n    }\n\n    function configFromObject(config) {\n        if (config._d) {\n            return;\n        }\n\n        var i = normalizeObjectUnits(config._i),\n            dayOrDate = i.day === undefined ? i.date : i.day;\n        config._a = map(\n            [i.year, i.month, dayOrDate, i.hour, i.minute, i.second, i.millisecond],\n            function (obj) {\n                return obj && parseInt(obj, 10);\n            }\n        );\n\n        configFromArray(config);\n    }\n\n    function createFromConfig(config) {\n        var res = new Moment(checkOverflow(prepareConfig(config)));\n        if (res._nextDay) {\n            // Adding is smart enough around DST\n            res.add(1, 'd');\n            res._nextDay = undefined;\n        }\n\n        return res;\n    }\n\n    function prepareConfig(config) {\n        var input = config._i,\n            format = config._f;\n\n        config._locale = config._locale || getLocale(config._l);\n\n        if (input === null || (format === undefined && input === '')) {\n            return createInvalid({ nullInput: true });\n        }\n\n        if (typeof input === 'string') {\n            config._i = input = config._locale.preparse(input);\n        }\n\n        if (isMoment(input)) {\n            return new Moment(checkOverflow(input));\n        } else if (isDate(input)) {\n            config._d = input;\n        } else if (isArray(format)) {\n            configFromStringAndArray(config);\n        } else if (format) {\n            configFromStringAndFormat(config);\n        } else {\n            configFromInput(config);\n        }\n\n        if (!isValid(config)) {\n            config._d = null;\n        }\n\n        return config;\n    }\n\n    function configFromInput(config) {\n        var input = config._i;\n        if (isUndefined(input)) {\n            config._d = new Date(hooks.now());\n        } else if (isDate(input)) {\n            config._d = new Date(input.valueOf());\n        } else if (typeof input === 'string') {\n            configFromString(config);\n        } else if (isArray(input)) {\n            config._a = map(input.slice(0), function (obj) {\n                return parseInt(obj, 10);\n            });\n            configFromArray(config);\n        } else if (isObject(input)) {\n            configFromObject(config);\n        } else if (isNumber(input)) {\n            // from milliseconds\n            config._d = new Date(input);\n        } else {\n            hooks.createFromInputFallback(config);\n        }\n    }\n\n    function createLocalOrUTC(input, format, locale, strict, isUTC) {\n        var c = {};\n\n        if (format === true || format === false) {\n            strict = format;\n            format = undefined;\n        }\n\n        if (locale === true || locale === false) {\n            strict = locale;\n            locale = undefined;\n        }\n\n        if (\n            (isObject(input) && isObjectEmpty(input)) ||\n            (isArray(input) && input.length === 0)\n        ) {\n            input = undefined;\n        }\n        // object construction must be done this way.\n        // https://github.com/moment/moment/issues/1423\n        c._isAMomentObject = true;\n        c._useUTC = c._isUTC = isUTC;\n        c._l = locale;\n        c._i = input;\n        c._f = format;\n        c._strict = strict;\n\n        return createFromConfig(c);\n    }\n\n    function createLocal(input, format, locale, strict) {\n        return createLocalOrUTC(input, format, locale, strict, false);\n    }\n\n    var prototypeMin = deprecate(\n            'moment().min is deprecated, use moment.max instead. http://momentjs.com/guides/#/warnings/min-max/',\n            function () {\n                var other = createLocal.apply(null, arguments);\n                if (this.isValid() && other.isValid()) {\n                    return other < this ? this : other;\n                } else {\n                    return createInvalid();\n                }\n            }\n        ),\n        prototypeMax = deprecate(\n            'moment().max is deprecated, use moment.min instead. http://momentjs.com/guides/#/warnings/min-max/',\n            function () {\n                var other = createLocal.apply(null, arguments);\n                if (this.isValid() && other.isValid()) {\n                    return other > this ? this : other;\n                } else {\n                    return createInvalid();\n                }\n            }\n        );\n\n    // Pick a moment m from moments so that m[fn](other) is true for all\n    // other. This relies on the function fn to be transitive.\n    //\n    // moments should either be an array of moment objects or an array, whose\n    // first element is an array of moment objects.\n    function pickBy(fn, moments) {\n        var res, i;\n        if (moments.length === 1 && isArray(moments[0])) {\n            moments = moments[0];\n        }\n        if (!moments.length) {\n            return createLocal();\n        }\n        res = moments[0];\n        for (i = 1; i < moments.length; ++i) {\n            if (!moments[i].isValid() || moments[i][fn](res)) {\n                res = moments[i];\n            }\n        }\n        return res;\n    }\n\n    // TODO: Use [].sort instead?\n    function min() {\n        var args = [].slice.call(arguments, 0);\n\n        return pickBy('isBefore', args);\n    }\n\n    function max() {\n        var args = [].slice.call(arguments, 0);\n\n        return pickBy('isAfter', args);\n    }\n\n    var now = function () {\n        return Date.now ? Date.now() : +new Date();\n    };\n\n    var ordering = [\n        'year',\n        'quarter',\n        'month',\n        'week',\n        'day',\n        'hour',\n        'minute',\n        'second',\n        'millisecond',\n    ];\n\n    function isDurationValid(m) {\n        var key,\n            unitHasDecimal = false,\n            i,\n            orderLen = ordering.length;\n        for (key in m) {\n            if (\n                hasOwnProp(m, key) &&\n                !(\n                    indexOf.call(ordering, key) !== -1 &&\n                    (m[key] == null || !isNaN(m[key]))\n                )\n            ) {\n                return false;\n            }\n        }\n\n        for (i = 0; i < orderLen; ++i) {\n            if (m[ordering[i]]) {\n                if (unitHasDecimal) {\n                    return false; // only allow non-integers for smallest unit\n                }\n                if (parseFloat(m[ordering[i]]) !== toInt(m[ordering[i]])) {\n                    unitHasDecimal = true;\n                }\n            }\n        }\n\n        return true;\n    }\n\n    function isValid$1() {\n        return this._isValid;\n    }\n\n    function createInvalid$1() {\n        return createDuration(NaN);\n    }\n\n    function Duration(duration) {\n        var normalizedInput = normalizeObjectUnits(duration),\n            years = normalizedInput.year || 0,\n            quarters = normalizedInput.quarter || 0,\n            months = normalizedInput.month || 0,\n            weeks = normalizedInput.week || normalizedInput.isoWeek || 0,\n            days = normalizedInput.day || 0,\n            hours = normalizedInput.hour || 0,\n            minutes = normalizedInput.minute || 0,\n            seconds = normalizedInput.second || 0,\n            milliseconds = normalizedInput.millisecond || 0;\n\n        this._isValid = isDurationValid(normalizedInput);\n\n        // representation for dateAddRemove\n        this._milliseconds =\n            +milliseconds +\n            seconds * 1e3 + // 1000\n            minutes * 6e4 + // 1000 * 60\n            hours * 1000 * 60 * 60; //using 1000 * 60 * 60 instead of 36e5 to avoid floating point rounding errors https://github.com/moment/moment/issues/2978\n        // Because of dateAddRemove treats 24 hours as different from a\n        // day when working around DST, we need to store them separately\n        this._days = +days + weeks * 7;\n        // It is impossible to translate months into days without knowing\n        // which months you are are talking about, so we have to store\n        // it separately.\n        this._months = +months + quarters * 3 + years * 12;\n\n        this._data = {};\n\n        this._locale = getLocale();\n\n        this._bubble();\n    }\n\n    function isDuration(obj) {\n        return obj instanceof Duration;\n    }\n\n    function absRound(number) {\n        if (number < 0) {\n            return Math.round(-1 * number) * -1;\n        } else {\n            return Math.round(number);\n        }\n    }\n\n    // compare two arrays, return the number of differences\n    function compareArrays(array1, array2, dontConvert) {\n        var len = Math.min(array1.length, array2.length),\n            lengthDiff = Math.abs(array1.length - array2.length),\n            diffs = 0,\n            i;\n        for (i = 0; i < len; i++) {\n            if (\n                (dontConvert && array1[i] !== array2[i]) ||\n                (!dontConvert && toInt(array1[i]) !== toInt(array2[i]))\n            ) {\n                diffs++;\n            }\n        }\n        return diffs + lengthDiff;\n    }\n\n    // FORMATTING\n\n    function offset(token, separator) {\n        addFormatToken(token, 0, 0, function () {\n            var offset = this.utcOffset(),\n                sign = '+';\n            if (offset < 0) {\n                offset = -offset;\n                sign = '-';\n            }\n            return (\n                sign +\n                zeroFill(~~(offset / 60), 2) +\n                separator +\n                zeroFill(~~offset % 60, 2)\n            );\n        });\n    }\n\n    offset('Z', ':');\n    offset('ZZ', '');\n\n    // PARSING\n\n    addRegexToken('Z', matchShortOffset);\n    addRegexToken('ZZ', matchShortOffset);\n    addParseToken(['Z', 'ZZ'], function (input, array, config) {\n        config._useUTC = true;\n        config._tzm = offsetFromString(matchShortOffset, input);\n    });\n\n    // HELPERS\n\n    // timezone chunker\n    // '+10:00' > ['10',  '00']\n    // '-1530'  > ['-15', '30']\n    var chunkOffset = /([\\+\\-]|\\d\\d)/gi;\n\n    function offsetFromString(matcher, string) {\n        var matches = (string || '').match(matcher),\n            chunk,\n            parts,\n            minutes;\n\n        if (matches === null) {\n            return null;\n        }\n\n        chunk = matches[matches.length - 1] || [];\n        parts = (chunk + '').match(chunkOffset) || ['-', 0, 0];\n        minutes = +(parts[1] * 60) + toInt(parts[2]);\n\n        return minutes === 0 ? 0 : parts[0] === '+' ? minutes : -minutes;\n    }\n\n    // Return a moment from input, that is local/utc/zone equivalent to model.\n    function cloneWithOffset(input, model) {\n        var res, diff;\n        if (model._isUTC) {\n            res = model.clone();\n            diff =\n                (isMoment(input) || isDate(input)\n                    ? input.valueOf()\n                    : createLocal(input).valueOf()) - res.valueOf();\n            // Use low-level api, because this fn is low-level api.\n            res._d.setTime(res._d.valueOf() + diff);\n            hooks.updateOffset(res, false);\n            return res;\n        } else {\n            return createLocal(input).local();\n        }\n    }\n\n    function getDateOffset(m) {\n        // On Firefox.24 Date#getTimezoneOffset returns a floating point.\n        // https://github.com/moment/moment/pull/1871\n        return -Math.round(m._d.getTimezoneOffset());\n    }\n\n    // HOOKS\n\n    // This function will be called whenever a moment is mutated.\n    // It is intended to keep the offset in sync with the timezone.\n    hooks.updateOffset = function () {};\n\n    // MOMENTS\n\n    // keepLocalTime = true means only change the timezone, without\n    // affecting the local hour. So 5:31:26 +0300 --[utcOffset(2, true)]-->\n    // 5:31:26 +0200 It is possible that 5:31:26 doesn't exist with offset\n    // +0200, so we adjust the time as needed, to be valid.\n    //\n    // Keeping the time actually adds/subtracts (one hour)\n    // from the actual represented time. That is why we call updateOffset\n    // a second time. In case it wants us to change the offset again\n    // _changeInProgress == true case, then we have to adjust, because\n    // there is no such time in the given timezone.\n    function getSetOffset(input, keepLocalTime, keepMinutes) {\n        var offset = this._offset || 0,\n            localAdjust;\n        if (!this.isValid()) {\n            return input != null ? this : NaN;\n        }\n        if (input != null) {\n            if (typeof input === 'string') {\n                input = offsetFromString(matchShortOffset, input);\n                if (input === null) {\n                    return this;\n                }\n            } else if (Math.abs(input) < 16 && !keepMinutes) {\n                input = input * 60;\n            }\n            if (!this._isUTC && keepLocalTime) {\n                localAdjust = getDateOffset(this);\n            }\n            this._offset = input;\n            this._isUTC = true;\n            if (localAdjust != null) {\n                this.add(localAdjust, 'm');\n            }\n            if (offset !== input) {\n                if (!keepLocalTime || this._changeInProgress) {\n                    addSubtract(\n                        this,\n                        createDuration(input - offset, 'm'),\n                        1,\n                        false\n                    );\n                } else if (!this._changeInProgress) {\n                    this._changeInProgress = true;\n                    hooks.updateOffset(this, true);\n                    this._changeInProgress = null;\n                }\n            }\n            return this;\n        } else {\n            return this._isUTC ? offset : getDateOffset(this);\n        }\n    }\n\n    function getSetZone(input, keepLocalTime) {\n        if (input != null) {\n            if (typeof input !== 'string') {\n                input = -input;\n            }\n\n            this.utcOffset(input, keepLocalTime);\n\n            return this;\n        } else {\n            return -this.utcOffset();\n        }\n    }\n\n    function setOffsetToUTC(keepLocalTime) {\n        return this.utcOffset(0, keepLocalTime);\n    }\n\n    function setOffsetToLocal(keepLocalTime) {\n        if (this._isUTC) {\n            this.utcOffset(0, keepLocalTime);\n            this._isUTC = false;\n\n            if (keepLocalTime) {\n                this.subtract(getDateOffset(this), 'm');\n            }\n        }\n        return this;\n    }\n\n    function setOffsetToParsedOffset() {\n        if (this._tzm != null) {\n            this.utcOffset(this._tzm, false, true);\n        } else if (typeof this._i === 'string') {\n            var tZone = offsetFromString(matchOffset, this._i);\n            if (tZone != null) {\n                this.utcOffset(tZone);\n            } else {\n                this.utcOffset(0, true);\n            }\n        }\n        return this;\n    }\n\n    function hasAlignedHourOffset(input) {\n        if (!this.isValid()) {\n            return false;\n        }\n        input = input ? createLocal(input).utcOffset() : 0;\n\n        return (this.utcOffset() - input) % 60 === 0;\n    }\n\n    function isDaylightSavingTime() {\n        return (\n            this.utcOffset() > this.clone().month(0).utcOffset() ||\n            this.utcOffset() > this.clone().month(5).utcOffset()\n        );\n    }\n\n    function isDaylightSavingTimeShifted() {\n        if (!isUndefined(this._isDSTShifted)) {\n            return this._isDSTShifted;\n        }\n\n        var c = {},\n            other;\n\n        copyConfig(c, this);\n        c = prepareConfig(c);\n\n        if (c._a) {\n            other = c._isUTC ? createUTC(c._a) : createLocal(c._a);\n            this._isDSTShifted =\n                this.isValid() && compareArrays(c._a, other.toArray()) > 0;\n        } else {\n            this._isDSTShifted = false;\n        }\n\n        return this._isDSTShifted;\n    }\n\n    function isLocal() {\n        return this.isValid() ? !this._isUTC : false;\n    }\n\n    function isUtcOffset() {\n        return this.isValid() ? this._isUTC : false;\n    }\n\n    function isUtc() {\n        return this.isValid() ? this._isUTC && this._offset === 0 : false;\n    }\n\n    // ASP.NET json date format regex\n    var aspNetRegex = /^(-|\\+)?(?:(\\d*)[. ])?(\\d+):(\\d+)(?::(\\d+)(\\.\\d*)?)?$/,\n        // from http://docs.closure-library.googlecode.com/git/closure_goog_date_date.js.source.html\n        // somewhat more in line with 4.4.3.2 2004 spec, but allows decimal anywhere\n        // and further modified to allow for strings containing both week and day\n        isoRegex =\n            /^(-|\\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/;\n\n    function createDuration(input, key) {\n        var duration = input,\n            // matching against regexp is expensive, do it on demand\n            match = null,\n            sign,\n            ret,\n            diffRes;\n\n        if (isDuration(input)) {\n            duration = {\n                ms: input._milliseconds,\n                d: input._days,\n                M: input._months,\n            };\n        } else if (isNumber(input) || !isNaN(+input)) {\n            duration = {};\n            if (key) {\n                duration[key] = +input;\n            } else {\n                duration.milliseconds = +input;\n            }\n        } else if ((match = aspNetRegex.exec(input))) {\n            sign = match[1] === '-' ? -1 : 1;\n            duration = {\n                y: 0,\n                d: toInt(match[DATE]) * sign,\n                h: toInt(match[HOUR]) * sign,\n                m: toInt(match[MINUTE]) * sign,\n                s: toInt(match[SECOND]) * sign,\n                ms: toInt(absRound(match[MILLISECOND] * 1000)) * sign, // the millisecond decimal point is included in the match\n            };\n        } else if ((match = isoRegex.exec(input))) {\n            sign = match[1] === '-' ? -1 : 1;\n            duration = {\n                y: parseIso(match[2], sign),\n                M: parseIso(match[3], sign),\n                w: parseIso(match[4], sign),\n                d: parseIso(match[5], sign),\n                h: parseIso(match[6], sign),\n                m: parseIso(match[7], sign),\n                s: parseIso(match[8], sign),\n            };\n        } else if (duration == null) {\n            // checks for null or undefined\n            duration = {};\n        } else if (\n            typeof duration === 'object' &&\n            ('from' in duration || 'to' in duration)\n        ) {\n            diffRes = momentsDifference(\n                createLocal(duration.from),\n                createLocal(duration.to)\n            );\n\n            duration = {};\n            duration.ms = diffRes.milliseconds;\n            duration.M = diffRes.months;\n        }\n\n        ret = new Duration(duration);\n\n        if (isDuration(input) && hasOwnProp(input, '_locale')) {\n            ret._locale = input._locale;\n        }\n\n        if (isDuration(input) && hasOwnProp(input, '_isValid')) {\n            ret._isValid = input._isValid;\n        }\n\n        return ret;\n    }\n\n    createDuration.fn = Duration.prototype;\n    createDuration.invalid = createInvalid$1;\n\n    function parseIso(inp, sign) {\n        // We'd normally use ~~inp for this, but unfortunately it also\n        // converts floats to ints.\n        // inp may be undefined, so careful calling replace on it.\n        var res = inp && parseFloat(inp.replace(',', '.'));\n        // apply sign while we're at it\n        return (isNaN(res) ? 0 : res) * sign;\n    }\n\n    function positiveMomentsDifference(base, other) {\n        var res = {};\n\n        res.months =\n            other.month() - base.month() + (other.year() - base.year()) * 12;\n        if (base.clone().add(res.months, 'M').isAfter(other)) {\n            --res.months;\n        }\n\n        res.milliseconds = +other - +base.clone().add(res.months, 'M');\n\n        return res;\n    }\n\n    function momentsDifference(base, other) {\n        var res;\n        if (!(base.isValid() && other.isValid())) {\n            return { milliseconds: 0, months: 0 };\n        }\n\n        other = cloneWithOffset(other, base);\n        if (base.isBefore(other)) {\n            res = positiveMomentsDifference(base, other);\n        } else {\n            res = positiveMomentsDifference(other, base);\n            res.milliseconds = -res.milliseconds;\n            res.months = -res.months;\n        }\n\n        return res;\n    }\n\n    // TODO: remove 'name' arg after deprecation is removed\n    function createAdder(direction, name) {\n        return function (val, period) {\n            var dur, tmp;\n            //invert the arguments, but complain about it\n            if (period !== null && !isNaN(+period)) {\n                deprecateSimple(\n                    name,\n                    'moment().' +\n                        name +\n                        '(period, number) is deprecated. Please use moment().' +\n                        name +\n                        '(number, period). ' +\n                        'See http://momentjs.com/guides/#/warnings/add-inverted-param/ for more info.'\n                );\n                tmp = val;\n                val = period;\n                period = tmp;\n            }\n\n            dur = createDuration(val, period);\n            addSubtract(this, dur, direction);\n            return this;\n        };\n    }\n\n    function addSubtract(mom, duration, isAdding, updateOffset) {\n        var milliseconds = duration._milliseconds,\n            days = absRound(duration._days),\n            months = absRound(duration._months);\n\n        if (!mom.isValid()) {\n            // No op\n            return;\n        }\n\n        updateOffset = updateOffset == null ? true : updateOffset;\n\n        if (months) {\n            setMonth(mom, get(mom, 'Month') + months * isAdding);\n        }\n        if (days) {\n            set$1(mom, 'Date', get(mom, 'Date') + days * isAdding);\n        }\n        if (milliseconds) {\n            mom._d.setTime(mom._d.valueOf() + milliseconds * isAdding);\n        }\n        if (updateOffset) {\n            hooks.updateOffset(mom, days || months);\n        }\n    }\n\n    var add = createAdder(1, 'add'),\n        subtract = createAdder(-1, 'subtract');\n\n    function isString(input) {\n        return typeof input === 'string' || input instanceof String;\n    }\n\n    // type MomentInput = Moment | Date | string | number | (number | string)[] | MomentInputObject | void; // null | undefined\n    function isMomentInput(input) {\n        return (\n            isMoment(input) ||\n            isDate(input) ||\n            isString(input) ||\n            isNumber(input) ||\n            isNumberOrStringArray(input) ||\n            isMomentInputObject(input) ||\n            input === null ||\n            input === undefined\n        );\n    }\n\n    function isMomentInputObject(input) {\n        var objectTest = isObject(input) && !isObjectEmpty(input),\n            propertyTest = false,\n            properties = [\n                'years',\n                'year',\n                'y',\n                'months',\n                'month',\n                'M',\n                'days',\n                'day',\n                'd',\n                'dates',\n                'date',\n                'D',\n                'hours',\n                'hour',\n                'h',\n                'minutes',\n                'minute',\n                'm',\n                'seconds',\n                'second',\n                's',\n                'milliseconds',\n                'millisecond',\n                'ms',\n            ],\n            i,\n            property,\n            propertyLen = properties.length;\n\n        for (i = 0; i < propertyLen; i += 1) {\n            property = properties[i];\n            propertyTest = propertyTest || hasOwnProp(input, property);\n        }\n\n        return objectTest && propertyTest;\n    }\n\n    function isNumberOrStringArray(input) {\n        var arrayTest = isArray(input),\n            dataTypeTest = false;\n        if (arrayTest) {\n            dataTypeTest =\n                input.filter(function (item) {\n                    return !isNumber(item) && isString(input);\n                }).length === 0;\n        }\n        return arrayTest && dataTypeTest;\n    }\n\n    function isCalendarSpec(input) {\n        var objectTest = isObject(input) && !isObjectEmpty(input),\n            propertyTest = false,\n            properties = [\n                'sameDay',\n                'nextDay',\n                'lastDay',\n                'nextWeek',\n                'lastWeek',\n                'sameElse',\n            ],\n            i,\n            property;\n\n        for (i = 0; i < properties.length; i += 1) {\n            property = properties[i];\n            propertyTest = propertyTest || hasOwnProp(input, property);\n        }\n\n        return objectTest && propertyTest;\n    }\n\n    function getCalendarFormat(myMoment, now) {\n        var diff = myMoment.diff(now, 'days', true);\n        return diff < -6\n            ? 'sameElse'\n            : diff < -1\n              ? 'lastWeek'\n              : diff < 0\n                ? 'lastDay'\n                : diff < 1\n                  ? 'sameDay'\n                  : diff < 2\n                    ? 'nextDay'\n                    : diff < 7\n                      ? 'nextWeek'\n                      : 'sameElse';\n    }\n\n    function calendar$1(time, formats) {\n        // Support for single parameter, formats only overload to the calendar function\n        if (arguments.length === 1) {\n            if (!arguments[0]) {\n                time = undefined;\n                formats = undefined;\n            } else if (isMomentInput(arguments[0])) {\n                time = arguments[0];\n                formats = undefined;\n            } else if (isCalendarSpec(arguments[0])) {\n                formats = arguments[0];\n                time = undefined;\n            }\n        }\n        // We want to compare the start of today, vs this.\n        // Getting start-of-today depends on whether we're local/utc/offset or not.\n        var now = time || createLocal(),\n            sod = cloneWithOffset(now, this).startOf('day'),\n            format = hooks.calendarFormat(this, sod) || 'sameElse',\n            output =\n                formats &&\n                (isFunction(formats[format])\n                    ? formats[format].call(this, now)\n                    : formats[format]);\n\n        return this.format(\n            output || this.localeData().calendar(format, this, createLocal(now))\n        );\n    }\n\n    function clone() {\n        return new Moment(this);\n    }\n\n    function isAfter(input, units) {\n        var localInput = isMoment(input) ? input : createLocal(input);\n        if (!(this.isValid() && localInput.isValid())) {\n            return false;\n        }\n        units = normalizeUnits(units) || 'millisecond';\n        if (units === 'millisecond') {\n            return this.valueOf() > localInput.valueOf();\n        } else {\n            return localInput.valueOf() < this.clone().startOf(units).valueOf();\n        }\n    }\n\n    function isBefore(input, units) {\n        var localInput = isMoment(input) ? input : createLocal(input);\n        if (!(this.isValid() && localInput.isValid())) {\n            return false;\n        }\n        units = normalizeUnits(units) || 'millisecond';\n        if (units === 'millisecond') {\n            return this.valueOf() < localInput.valueOf();\n        } else {\n            return this.clone().endOf(units).valueOf() < localInput.valueOf();\n        }\n    }\n\n    function isBetween(from, to, units, inclusivity) {\n        var localFrom = isMoment(from) ? from : createLocal(from),\n            localTo = isMoment(to) ? to : createLocal(to);\n        if (!(this.isValid() && localFrom.isValid() && localTo.isValid())) {\n            return false;\n        }\n        inclusivity = inclusivity || '()';\n        return (\n            (inclusivity[0] === '('\n                ? this.isAfter(localFrom, units)\n                : !this.isBefore(localFrom, units)) &&\n            (inclusivity[1] === ')'\n                ? this.isBefore(localTo, units)\n                : !this.isAfter(localTo, units))\n        );\n    }\n\n    function isSame(input, units) {\n        var localInput = isMoment(input) ? input : createLocal(input),\n            inputMs;\n        if (!(this.isValid() && localInput.isValid())) {\n            return false;\n        }\n        units = normalizeUnits(units) || 'millisecond';\n        if (units === 'millisecond') {\n            return this.valueOf() === localInput.valueOf();\n        } else {\n            inputMs = localInput.valueOf();\n            return (\n                this.clone().startOf(units).valueOf() <= inputMs &&\n                inputMs <= this.clone().endOf(units).valueOf()\n            );\n        }\n    }\n\n    function isSameOrAfter(input, units) {\n        return this.isSame(input, units) || this.isAfter(input, units);\n    }\n\n    function isSameOrBefore(input, units) {\n        return this.isSame(input, units) || this.isBefore(input, units);\n    }\n\n    function diff(input, units, asFloat) {\n        var that, zoneDelta, output;\n\n        if (!this.isValid()) {\n            return NaN;\n        }\n\n        that = cloneWithOffset(input, this);\n\n        if (!that.isValid()) {\n            return NaN;\n        }\n\n        zoneDelta = (that.utcOffset() - this.utcOffset()) * 6e4;\n\n        units = normalizeUnits(units);\n\n        switch (units) {\n            case 'year':\n                output = monthDiff(this, that) / 12;\n                break;\n            case 'month':\n                output = monthDiff(this, that);\n                break;\n            case 'quarter':\n                output = monthDiff(this, that) / 3;\n                break;\n            case 'second':\n                output = (this - that) / 1e3;\n                break; // 1000\n            case 'minute':\n                output = (this - that) / 6e4;\n                break; // 1000 * 60\n            case 'hour':\n                output = (this - that) / 36e5;\n                break; // 1000 * 60 * 60\n            case 'day':\n                output = (this - that - zoneDelta) / 864e5;\n                break; // 1000 * 60 * 60 * 24, negate dst\n            case 'week':\n                output = (this - that - zoneDelta) / 6048e5;\n                break; // 1000 * 60 * 60 * 24 * 7, negate dst\n            default:\n                output = this - that;\n        }\n\n        return asFloat ? output : absFloor(output);\n    }\n\n    function monthDiff(a, b) {\n        if (a.date() < b.date()) {\n            // end-of-month calculations work correct when the start month has more\n            // days than the end month.\n            return -monthDiff(b, a);\n        }\n        // difference in months\n        var wholeMonthDiff = (b.year() - a.year()) * 12 + (b.month() - a.month()),\n            // b is in (anchor - 1 month, anchor + 1 month)\n            anchor = a.clone().add(wholeMonthDiff, 'months'),\n            anchor2,\n            adjust;\n\n        if (b - anchor < 0) {\n            anchor2 = a.clone().add(wholeMonthDiff - 1, 'months');\n            // linear across the month\n            adjust = (b - anchor) / (anchor - anchor2);\n        } else {\n            anchor2 = a.clone().add(wholeMonthDiff + 1, 'months');\n            // linear across the month\n            adjust = (b - anchor) / (anchor2 - anchor);\n        }\n\n        //check for negative zero, return zero if negative zero\n        return -(wholeMonthDiff + adjust) || 0;\n    }\n\n    hooks.defaultFormat = 'YYYY-MM-DDTHH:mm:ssZ';\n    hooks.defaultFormatUtc = 'YYYY-MM-DDTHH:mm:ss[Z]';\n\n    function toString() {\n        return this.clone().locale('en').format('ddd MMM DD YYYY HH:mm:ss [GMT]ZZ');\n    }\n\n    function toISOString(keepOffset) {\n        if (!this.isValid()) {\n            return null;\n        }\n        var utc = keepOffset !== true,\n            m = utc ? this.clone().utc() : this;\n        if (m.year() < 0 || m.year() > 9999) {\n            return formatMoment(\n                m,\n                utc\n                    ? 'YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]'\n                    : 'YYYYYY-MM-DD[T]HH:mm:ss.SSSZ'\n            );\n        }\n        if (isFunction(Date.prototype.toISOString)) {\n            // native implementation is ~50x faster, use it when we can\n            if (utc) {\n                return this.toDate().toISOString();\n            } else {\n                return new Date(this.valueOf() + this.utcOffset() * 60 * 1000)\n                    .toISOString()\n                    .replace('Z', formatMoment(m, 'Z'));\n            }\n        }\n        return formatMoment(\n            m,\n            utc ? 'YYYY-MM-DD[T]HH:mm:ss.SSS[Z]' : 'YYYY-MM-DD[T]HH:mm:ss.SSSZ'\n        );\n    }\n\n    /**\n     * Return a human readable representation of a moment that can\n     * also be evaluated to get a new moment which is the same\n     *\n     * @link https://nodejs.org/dist/latest/docs/api/util.html#util_custom_inspect_function_on_objects\n     */\n    function inspect() {\n        if (!this.isValid()) {\n            return 'moment.invalid(/* ' + this._i + ' */)';\n        }\n        var func = 'moment',\n            zone = '',\n            prefix,\n            year,\n            datetime,\n            suffix;\n        if (!this.isLocal()) {\n            func = this.utcOffset() === 0 ? 'moment.utc' : 'moment.parseZone';\n            zone = 'Z';\n        }\n        prefix = '[' + func + '(\"]';\n        year = 0 <= this.year() && this.year() <= 9999 ? 'YYYY' : 'YYYYYY';\n        datetime = '-MM-DD[T]HH:mm:ss.SSS';\n        suffix = zone + '[\")]';\n\n        return this.format(prefix + year + datetime + suffix);\n    }\n\n    function format(inputString) {\n        if (!inputString) {\n            inputString = this.isUtc()\n                ? hooks.defaultFormatUtc\n                : hooks.defaultFormat;\n        }\n        var output = formatMoment(this, inputString);\n        return this.localeData().postformat(output);\n    }\n\n    function from(time, withoutSuffix) {\n        if (\n            this.isValid() &&\n            ((isMoment(time) && time.isValid()) || createLocal(time).isValid())\n        ) {\n            return createDuration({ to: this, from: time })\n                .locale(this.locale())\n                .humanize(!withoutSuffix);\n        } else {\n            return this.localeData().invalidDate();\n        }\n    }\n\n    function fromNow(withoutSuffix) {\n        return this.from(createLocal(), withoutSuffix);\n    }\n\n    function to(time, withoutSuffix) {\n        if (\n            this.isValid() &&\n            ((isMoment(time) && time.isValid()) || createLocal(time).isValid())\n        ) {\n            return createDuration({ from: this, to: time })\n                .locale(this.locale())\n                .humanize(!withoutSuffix);\n        } else {\n            return this.localeData().invalidDate();\n        }\n    }\n\n    function toNow(withoutSuffix) {\n        return this.to(createLocal(), withoutSuffix);\n    }\n\n    // If passed a locale key, it will set the locale for this\n    // instance.  Otherwise, it will return the locale configuration\n    // variables for this instance.\n    function locale(key) {\n        var newLocaleData;\n\n        if (key === undefined) {\n            return this._locale._abbr;\n        } else {\n            newLocaleData = getLocale(key);\n            if (newLocaleData != null) {\n                this._locale = newLocaleData;\n            }\n            return this;\n        }\n    }\n\n    var lang = deprecate(\n        'moment().lang() is deprecated. Instead, use moment().localeData() to get the language configuration. Use moment().locale() to change languages.',\n        function (key) {\n            if (key === undefined) {\n                return this.localeData();\n            } else {\n                return this.locale(key);\n            }\n        }\n    );\n\n    function localeData() {\n        return this._locale;\n    }\n\n    var MS_PER_SECOND = 1000,\n        MS_PER_MINUTE = 60 * MS_PER_SECOND,\n        MS_PER_HOUR = 60 * MS_PER_MINUTE,\n        MS_PER_400_YEARS = (365 * 400 + 97) * 24 * MS_PER_HOUR;\n\n    // actual modulo - handles negative numbers (for dates before 1970):\n    function mod$1(dividend, divisor) {\n        return ((dividend % divisor) + divisor) % divisor;\n    }\n\n    function localStartOfDate(y, m, d) {\n        // the date constructor remaps years 0-99 to 1900-1999\n        if (y < 100 && y >= 0) {\n            // preserve leap years using a full 400 year cycle, then reset\n            return new Date(y + 400, m, d) - MS_PER_400_YEARS;\n        } else {\n            return new Date(y, m, d).valueOf();\n        }\n    }\n\n    function utcStartOfDate(y, m, d) {\n        // Date.UTC remaps years 0-99 to 1900-1999\n        if (y < 100 && y >= 0) {\n            // preserve leap years using a full 400 year cycle, then reset\n            return Date.UTC(y + 400, m, d) - MS_PER_400_YEARS;\n        } else {\n            return Date.UTC(y, m, d);\n        }\n    }\n\n    function startOf(units) {\n        var time, startOfDate;\n        units = normalizeUnits(units);\n        if (units === undefined || units === 'millisecond' || !this.isValid()) {\n            return this;\n        }\n\n        startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;\n\n        switch (units) {\n            case 'year':\n                time = startOfDate(this.year(), 0, 1);\n                break;\n            case 'quarter':\n                time = startOfDate(\n                    this.year(),\n                    this.month() - (this.month() % 3),\n                    1\n                );\n                break;\n            case 'month':\n                time = startOfDate(this.year(), this.month(), 1);\n                break;\n            case 'week':\n                time = startOfDate(\n                    this.year(),\n                    this.month(),\n                    this.date() - this.weekday()\n                );\n                break;\n            case 'isoWeek':\n                time = startOfDate(\n                    this.year(),\n                    this.month(),\n                    this.date() - (this.isoWeekday() - 1)\n                );\n                break;\n            case 'day':\n            case 'date':\n                time = startOfDate(this.year(), this.month(), this.date());\n                break;\n            case 'hour':\n                time = this._d.valueOf();\n                time -= mod$1(\n                    time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE),\n                    MS_PER_HOUR\n                );\n                break;\n            case 'minute':\n                time = this._d.valueOf();\n                time -= mod$1(time, MS_PER_MINUTE);\n                break;\n            case 'second':\n                time = this._d.valueOf();\n                time -= mod$1(time, MS_PER_SECOND);\n                break;\n        }\n\n        this._d.setTime(time);\n        hooks.updateOffset(this, true);\n        return this;\n    }\n\n    function endOf(units) {\n        var time, startOfDate;\n        units = normalizeUnits(units);\n        if (units === undefined || units === 'millisecond' || !this.isValid()) {\n            return this;\n        }\n\n        startOfDate = this._isUTC ? utcStartOfDate : localStartOfDate;\n\n        switch (units) {\n            case 'year':\n                time = startOfDate(this.year() + 1, 0, 1) - 1;\n                break;\n            case 'quarter':\n                time =\n                    startOfDate(\n                        this.year(),\n                        this.month() - (this.month() % 3) + 3,\n                        1\n                    ) - 1;\n                break;\n            case 'month':\n                time = startOfDate(this.year(), this.month() + 1, 1) - 1;\n                break;\n            case 'week':\n                time =\n                    startOfDate(\n                        this.year(),\n                        this.month(),\n                        this.date() - this.weekday() + 7\n                    ) - 1;\n                break;\n            case 'isoWeek':\n                time =\n                    startOfDate(\n                        this.year(),\n                        this.month(),\n                        this.date() - (this.isoWeekday() - 1) + 7\n                    ) - 1;\n                break;\n            case 'day':\n            case 'date':\n                time = startOfDate(this.year(), this.month(), this.date() + 1) - 1;\n                break;\n            case 'hour':\n                time = this._d.valueOf();\n                time +=\n                    MS_PER_HOUR -\n                    mod$1(\n                        time + (this._isUTC ? 0 : this.utcOffset() * MS_PER_MINUTE),\n                        MS_PER_HOUR\n                    ) -\n                    1;\n                break;\n            case 'minute':\n                time = this._d.valueOf();\n                time += MS_PER_MINUTE - mod$1(time, MS_PER_MINUTE) - 1;\n                break;\n            case 'second':\n                time = this._d.valueOf();\n                time += MS_PER_SECOND - mod$1(time, MS_PER_SECOND) - 1;\n                break;\n        }\n\n        this._d.setTime(time);\n        hooks.updateOffset(this, true);\n        return this;\n    }\n\n    function valueOf() {\n        return this._d.valueOf() - (this._offset || 0) * 60000;\n    }\n\n    function unix() {\n        return Math.floor(this.valueOf() / 1000);\n    }\n\n    function toDate() {\n        return new Date(this.valueOf());\n    }\n\n    function toArray() {\n        var m = this;\n        return [\n            m.year(),\n            m.month(),\n            m.date(),\n            m.hour(),\n            m.minute(),\n            m.second(),\n            m.millisecond(),\n        ];\n    }\n\n    function toObject() {\n        var m = this;\n        return {\n            years: m.year(),\n            months: m.month(),\n            date: m.date(),\n            hours: m.hours(),\n            minutes: m.minutes(),\n            seconds: m.seconds(),\n            milliseconds: m.milliseconds(),\n        };\n    }\n\n    function toJSON() {\n        // new Date(NaN).toJSON() === null\n        return this.isValid() ? this.toISOString() : null;\n    }\n\n    function isValid$2() {\n        return isValid(this);\n    }\n\n    function parsingFlags() {\n        return extend({}, getParsingFlags(this));\n    }\n\n    function invalidAt() {\n        return getParsingFlags(this).overflow;\n    }\n\n    function creationData() {\n        return {\n            input: this._i,\n            format: this._f,\n            locale: this._locale,\n            isUTC: this._isUTC,\n            strict: this._strict,\n        };\n    }\n\n    addFormatToken('N', 0, 0, 'eraAbbr');\n    addFormatToken('NN', 0, 0, 'eraAbbr');\n    addFormatToken('NNN', 0, 0, 'eraAbbr');\n    addFormatToken('NNNN', 0, 0, 'eraName');\n    addFormatToken('NNNNN', 0, 0, 'eraNarrow');\n\n    addFormatToken('y', ['y', 1], 'yo', 'eraYear');\n    addFormatToken('y', ['yy', 2], 0, 'eraYear');\n    addFormatToken('y', ['yyy', 3], 0, 'eraYear');\n    addFormatToken('y', ['yyyy', 4], 0, 'eraYear');\n\n    addRegexToken('N', matchEraAbbr);\n    addRegexToken('NN', matchEraAbbr);\n    addRegexToken('NNN', matchEraAbbr);\n    addRegexToken('NNNN', matchEraName);\n    addRegexToken('NNNNN', matchEraNarrow);\n\n    addParseToken(\n        ['N', 'NN', 'NNN', 'NNNN', 'NNNNN'],\n        function (input, array, config, token) {\n            var era = config._locale.erasParse(input, token, config._strict);\n            if (era) {\n                getParsingFlags(config).era = era;\n            } else {\n                getParsingFlags(config).invalidEra = input;\n            }\n        }\n    );\n\n    addRegexToken('y', matchUnsigned);\n    addRegexToken('yy', matchUnsigned);\n    addRegexToken('yyy', matchUnsigned);\n    addRegexToken('yyyy', matchUnsigned);\n    addRegexToken('yo', matchEraYearOrdinal);\n\n    addParseToken(['y', 'yy', 'yyy', 'yyyy'], YEAR);\n    addParseToken(['yo'], function (input, array, config, token) {\n        var match;\n        if (config._locale._eraYearOrdinalRegex) {\n            match = input.match(config._locale._eraYearOrdinalRegex);\n        }\n\n        if (config._locale.eraYearOrdinalParse) {\n            array[YEAR] = config._locale.eraYearOrdinalParse(input, match);\n        } else {\n            array[YEAR] = parseInt(input, 10);\n        }\n    });\n\n    function localeEras(m, format) {\n        var i,\n            l,\n            date,\n            eras = this._eras || getLocale('en')._eras;\n        for (i = 0, l = eras.length; i < l; ++i) {\n            switch (typeof eras[i].since) {\n                case 'string':\n                    // truncate time\n                    date = hooks(eras[i].since).startOf('day');\n                    eras[i].since = date.valueOf();\n                    break;\n            }\n\n            switch (typeof eras[i].until) {\n                case 'undefined':\n                    eras[i].until = +Infinity;\n                    break;\n                case 'string':\n                    // truncate time\n                    date = hooks(eras[i].until).startOf('day').valueOf();\n                    eras[i].until = date.valueOf();\n                    break;\n            }\n        }\n        return eras;\n    }\n\n    function localeErasParse(eraName, format, strict) {\n        var i,\n            l,\n            eras = this.eras(),\n            name,\n            abbr,\n            narrow;\n        eraName = eraName.toUpperCase();\n\n        for (i = 0, l = eras.length; i < l; ++i) {\n            name = eras[i].name.toUpperCase();\n            abbr = eras[i].abbr.toUpperCase();\n            narrow = eras[i].narrow.toUpperCase();\n\n            if (strict) {\n                switch (format) {\n                    case 'N':\n                    case 'NN':\n                    case 'NNN':\n                        if (abbr === eraName) {\n                            return eras[i];\n                        }\n                        break;\n\n                    case 'NNNN':\n                        if (name === eraName) {\n                            return eras[i];\n                        }\n                        break;\n\n                    case 'NNNNN':\n                        if (narrow === eraName) {\n                            return eras[i];\n                        }\n                        break;\n                }\n            } else if ([name, abbr, narrow].indexOf(eraName) >= 0) {\n                return eras[i];\n            }\n        }\n    }\n\n    function localeErasConvertYear(era, year) {\n        var dir = era.since <= era.until ? +1 : -1;\n        if (year === undefined) {\n            return hooks(era.since).year();\n        } else {\n            return hooks(era.since).year() + (year - era.offset) * dir;\n        }\n    }\n\n    function getEraName() {\n        var i,\n            l,\n            val,\n            eras = this.localeData().eras();\n        for (i = 0, l = eras.length; i < l; ++i) {\n            // truncate time\n            val = this.clone().startOf('day').valueOf();\n\n            if (eras[i].since <= val && val <= eras[i].until) {\n                return eras[i].name;\n            }\n            if (eras[i].until <= val && val <= eras[i].since) {\n                return eras[i].name;\n            }\n        }\n\n        return '';\n    }\n\n    function getEraNarrow() {\n        var i,\n            l,\n            val,\n            eras = this.localeData().eras();\n        for (i = 0, l = eras.length; i < l; ++i) {\n            // truncate time\n            val = this.clone().startOf('day').valueOf();\n\n            if (eras[i].since <= val && val <= eras[i].until) {\n                return eras[i].narrow;\n            }\n            if (eras[i].until <= val && val <= eras[i].since) {\n                return eras[i].narrow;\n            }\n        }\n\n        return '';\n    }\n\n    function getEraAbbr() {\n        var i,\n            l,\n            val,\n            eras = this.localeData().eras();\n        for (i = 0, l = eras.length; i < l; ++i) {\n            // truncate time\n            val = this.clone().startOf('day').valueOf();\n\n            if (eras[i].since <= val && val <= eras[i].until) {\n                return eras[i].abbr;\n            }\n            if (eras[i].until <= val && val <= eras[i].since) {\n                return eras[i].abbr;\n            }\n        }\n\n        return '';\n    }\n\n    function getEraYear() {\n        var i,\n            l,\n            dir,\n            val,\n            eras = this.localeData().eras();\n        for (i = 0, l = eras.length; i < l; ++i) {\n            dir = eras[i].since <= eras[i].until ? +1 : -1;\n\n            // truncate time\n            val = this.clone().startOf('day').valueOf();\n\n            if (\n                (eras[i].since <= val && val <= eras[i].until) ||\n                (eras[i].until <= val && val <= eras[i].since)\n            ) {\n                return (\n                    (this.year() - hooks(eras[i].since).year()) * dir +\n                    eras[i].offset\n                );\n            }\n        }\n\n        return this.year();\n    }\n\n    function erasNameRegex(isStrict) {\n        if (!hasOwnProp(this, '_erasNameRegex')) {\n            computeErasParse.call(this);\n        }\n        return isStrict ? this._erasNameRegex : this._erasRegex;\n    }\n\n    function erasAbbrRegex(isStrict) {\n        if (!hasOwnProp(this, '_erasAbbrRegex')) {\n            computeErasParse.call(this);\n        }\n        return isStrict ? this._erasAbbrRegex : this._erasRegex;\n    }\n\n    function erasNarrowRegex(isStrict) {\n        if (!hasOwnProp(this, '_erasNarrowRegex')) {\n            computeErasParse.call(this);\n        }\n        return isStrict ? this._erasNarrowRegex : this._erasRegex;\n    }\n\n    function matchEraAbbr(isStrict, locale) {\n        return locale.erasAbbrRegex(isStrict);\n    }\n\n    function matchEraName(isStrict, locale) {\n        return locale.erasNameRegex(isStrict);\n    }\n\n    function matchEraNarrow(isStrict, locale) {\n        return locale.erasNarrowRegex(isStrict);\n    }\n\n    function matchEraYearOrdinal(isStrict, locale) {\n        return locale._eraYearOrdinalRegex || matchUnsigned;\n    }\n\n    function computeErasParse() {\n        var abbrPieces = [],\n            namePieces = [],\n            narrowPieces = [],\n            mixedPieces = [],\n            i,\n            l,\n            erasName,\n            erasAbbr,\n            erasNarrow,\n            eras = this.eras();\n\n        for (i = 0, l = eras.length; i < l; ++i) {\n            erasName = regexEscape(eras[i].name);\n            erasAbbr = regexEscape(eras[i].abbr);\n            erasNarrow = regexEscape(eras[i].narrow);\n\n            namePieces.push(erasName);\n            abbrPieces.push(erasAbbr);\n            narrowPieces.push(erasNarrow);\n            mixedPieces.push(erasName);\n            mixedPieces.push(erasAbbr);\n            mixedPieces.push(erasNarrow);\n        }\n\n        this._erasRegex = new RegExp('^(' + mixedPieces.join('|') + ')', 'i');\n        this._erasNameRegex = new RegExp('^(' + namePieces.join('|') + ')', 'i');\n        this._erasAbbrRegex = new RegExp('^(' + abbrPieces.join('|') + ')', 'i');\n        this._erasNarrowRegex = new RegExp(\n            '^(' + narrowPieces.join('|') + ')',\n            'i'\n        );\n    }\n\n    // FORMATTING\n\n    addFormatToken(0, ['gg', 2], 0, function () {\n        return this.weekYear() % 100;\n    });\n\n    addFormatToken(0, ['GG', 2], 0, function () {\n        return this.isoWeekYear() % 100;\n    });\n\n    function addWeekYearFormatToken(token, getter) {\n        addFormatToken(0, [token, token.length], 0, getter);\n    }\n\n    addWeekYearFormatToken('gggg', 'weekYear');\n    addWeekYearFormatToken('ggggg', 'weekYear');\n    addWeekYearFormatToken('GGGG', 'isoWeekYear');\n    addWeekYearFormatToken('GGGGG', 'isoWeekYear');\n\n    // ALIASES\n\n    // PARSING\n\n    addRegexToken('G', matchSigned);\n    addRegexToken('g', matchSigned);\n    addRegexToken('GG', match1to2, match2);\n    addRegexToken('gg', match1to2, match2);\n    addRegexToken('GGGG', match1to4, match4);\n    addRegexToken('gggg', match1to4, match4);\n    addRegexToken('GGGGG', match1to6, match6);\n    addRegexToken('ggggg', match1to6, match6);\n\n    addWeekParseToken(\n        ['gggg', 'ggggg', 'GGGG', 'GGGGG'],\n        function (input, week, config, token) {\n            week[token.substr(0, 2)] = toInt(input);\n        }\n    );\n\n    addWeekParseToken(['gg', 'GG'], function (input, week, config, token) {\n        week[token] = hooks.parseTwoDigitYear(input);\n    });\n\n    // MOMENTS\n\n    function getSetWeekYear(input) {\n        return getSetWeekYearHelper.call(\n            this,\n            input,\n            this.week(),\n            this.weekday() + this.localeData()._week.dow,\n            this.localeData()._week.dow,\n            this.localeData()._week.doy\n        );\n    }\n\n    function getSetISOWeekYear(input) {\n        return getSetWeekYearHelper.call(\n            this,\n            input,\n            this.isoWeek(),\n            this.isoWeekday(),\n            1,\n            4\n        );\n    }\n\n    function getISOWeeksInYear() {\n        return weeksInYear(this.year(), 1, 4);\n    }\n\n    function getISOWeeksInISOWeekYear() {\n        return weeksInYear(this.isoWeekYear(), 1, 4);\n    }\n\n    function getWeeksInYear() {\n        var weekInfo = this.localeData()._week;\n        return weeksInYear(this.year(), weekInfo.dow, weekInfo.doy);\n    }\n\n    function getWeeksInWeekYear() {\n        var weekInfo = this.localeData()._week;\n        return weeksInYear(this.weekYear(), weekInfo.dow, weekInfo.doy);\n    }\n\n    function getSetWeekYearHelper(input, week, weekday, dow, doy) {\n        var weeksTarget;\n        if (input == null) {\n            return weekOfYear(this, dow, doy).year;\n        } else {\n            weeksTarget = weeksInYear(input, dow, doy);\n            if (week > weeksTarget) {\n                week = weeksTarget;\n            }\n            return setWeekAll.call(this, input, week, weekday, dow, doy);\n        }\n    }\n\n    function setWeekAll(weekYear, week, weekday, dow, doy) {\n        var dayOfYearData = dayOfYearFromWeeks(weekYear, week, weekday, dow, doy),\n            date = createUTCDate(dayOfYearData.year, 0, dayOfYearData.dayOfYear);\n\n        this.year(date.getUTCFullYear());\n        this.month(date.getUTCMonth());\n        this.date(date.getUTCDate());\n        return this;\n    }\n\n    // FORMATTING\n\n    addFormatToken('Q', 0, 'Qo', 'quarter');\n\n    // PARSING\n\n    addRegexToken('Q', match1);\n    addParseToken('Q', function (input, array) {\n        array[MONTH] = (toInt(input) - 1) * 3;\n    });\n\n    // MOMENTS\n\n    function getSetQuarter(input) {\n        return input == null\n            ? Math.ceil((this.month() + 1) / 3)\n            : this.month((input - 1) * 3 + (this.month() % 3));\n    }\n\n    // FORMATTING\n\n    addFormatToken('D', ['DD', 2], 'Do', 'date');\n\n    // PARSING\n\n    addRegexToken('D', match1to2, match1to2NoLeadingZero);\n    addRegexToken('DD', match1to2, match2);\n    addRegexToken('Do', function (isStrict, locale) {\n        // TODO: Remove \"ordinalParse\" fallback in next major release.\n        return isStrict\n            ? locale._dayOfMonthOrdinalParse || locale._ordinalParse\n            : locale._dayOfMonthOrdinalParseLenient;\n    });\n\n    addParseToken(['D', 'DD'], DATE);\n    addParseToken('Do', function (input, array) {\n        array[DATE] = toInt(input.match(match1to2)[0]);\n    });\n\n    // MOMENTS\n\n    var getSetDayOfMonth = makeGetSet('Date', true);\n\n    // FORMATTING\n\n    addFormatToken('DDD', ['DDDD', 3], 'DDDo', 'dayOfYear');\n\n    // PARSING\n\n    addRegexToken('DDD', match1to3);\n    addRegexToken('DDDD', match3);\n    addParseToken(['DDD', 'DDDD'], function (input, array, config) {\n        config._dayOfYear = toInt(input);\n    });\n\n    // HELPERS\n\n    // MOMENTS\n\n    function getSetDayOfYear(input) {\n        var dayOfYear =\n            Math.round(\n                (this.clone().startOf('day') - this.clone().startOf('year')) / 864e5\n            ) + 1;\n        return input == null ? dayOfYear : this.add(input - dayOfYear, 'd');\n    }\n\n    // FORMATTING\n\n    addFormatToken('m', ['mm', 2], 0, 'minute');\n\n    // PARSING\n\n    addRegexToken('m', match1to2, match1to2HasZero);\n    addRegexToken('mm', match1to2, match2);\n    addParseToken(['m', 'mm'], MINUTE);\n\n    // MOMENTS\n\n    var getSetMinute = makeGetSet('Minutes', false);\n\n    // FORMATTING\n\n    addFormatToken('s', ['ss', 2], 0, 'second');\n\n    // PARSING\n\n    addRegexToken('s', match1to2, match1to2HasZero);\n    addRegexToken('ss', match1to2, match2);\n    addParseToken(['s', 'ss'], SECOND);\n\n    // MOMENTS\n\n    var getSetSecond = makeGetSet('Seconds', false);\n\n    // FORMATTING\n\n    addFormatToken('S', 0, 0, function () {\n        return ~~(this.millisecond() / 100);\n    });\n\n    addFormatToken(0, ['SS', 2], 0, function () {\n        return ~~(this.millisecond() / 10);\n    });\n\n    addFormatToken(0, ['SSS', 3], 0, 'millisecond');\n    addFormatToken(0, ['SSSS', 4], 0, function () {\n        return this.millisecond() * 10;\n    });\n    addFormatToken(0, ['SSSSS', 5], 0, function () {\n        return this.millisecond() * 100;\n    });\n    addFormatToken(0, ['SSSSSS', 6], 0, function () {\n        return this.millisecond() * 1000;\n    });\n    addFormatToken(0, ['SSSSSSS', 7], 0, function () {\n        return this.millisecond() * 10000;\n    });\n    addFormatToken(0, ['SSSSSSSS', 8], 0, function () {\n        return this.millisecond() * 100000;\n    });\n    addFormatToken(0, ['SSSSSSSSS', 9], 0, function () {\n        return this.millisecond() * 1000000;\n    });\n\n    // PARSING\n\n    addRegexToken('S', match1to3, match1);\n    addRegexToken('SS', match1to3, match2);\n    addRegexToken('SSS', match1to3, match3);\n\n    var token, getSetMillisecond;\n    for (token = 'SSSS'; token.length <= 9; token += 'S') {\n        addRegexToken(token, matchUnsigned);\n    }\n\n    function parseMs(input, array) {\n        array[MILLISECOND] = toInt(('0.' + input) * 1000);\n    }\n\n    for (token = 'S'; token.length <= 9; token += 'S') {\n        addParseToken(token, parseMs);\n    }\n\n    getSetMillisecond = makeGetSet('Milliseconds', false);\n\n    // FORMATTING\n\n    addFormatToken('z', 0, 0, 'zoneAbbr');\n    addFormatToken('zz', 0, 0, 'zoneName');\n\n    // MOMENTS\n\n    function getZoneAbbr() {\n        return this._isUTC ? 'UTC' : '';\n    }\n\n    function getZoneName() {\n        return this._isUTC ? 'Coordinated Universal Time' : '';\n    }\n\n    var proto = Moment.prototype;\n\n    proto.add = add;\n    proto.calendar = calendar$1;\n    proto.clone = clone;\n    proto.diff = diff;\n    proto.endOf = endOf;\n    proto.format = format;\n    proto.from = from;\n    proto.fromNow = fromNow;\n    proto.to = to;\n    proto.toNow = toNow;\n    proto.get = stringGet;\n    proto.invalidAt = invalidAt;\n    proto.isAfter = isAfter;\n    proto.isBefore = isBefore;\n    proto.isBetween = isBetween;\n    proto.isSame = isSame;\n    proto.isSameOrAfter = isSameOrAfter;\n    proto.isSameOrBefore = isSameOrBefore;\n    proto.isValid = isValid$2;\n    proto.lang = lang;\n    proto.locale = locale;\n    proto.localeData = localeData;\n    proto.max = prototypeMax;\n    proto.min = prototypeMin;\n    proto.parsingFlags = parsingFlags;\n    proto.set = stringSet;\n    proto.startOf = startOf;\n    proto.subtract = subtract;\n    proto.toArray = toArray;\n    proto.toObject = toObject;\n    proto.toDate = toDate;\n    proto.toISOString = toISOString;\n    proto.inspect = inspect;\n    if (typeof Symbol !== 'undefined' && Symbol.for != null) {\n        proto[Symbol.for('nodejs.util.inspect.custom')] = function () {\n            return 'Moment<' + this.format() + '>';\n        };\n    }\n    proto.toJSON = toJSON;\n    proto.toString = toString;\n    proto.unix = unix;\n    proto.valueOf = valueOf;\n    proto.creationData = creationData;\n    proto.eraName = getEraName;\n    proto.eraNarrow = getEraNarrow;\n    proto.eraAbbr = getEraAbbr;\n    proto.eraYear = getEraYear;\n    proto.year = getSetYear;\n    proto.isLeapYear = getIsLeapYear;\n    proto.weekYear = getSetWeekYear;\n    proto.isoWeekYear = getSetISOWeekYear;\n    proto.quarter = proto.quarters = getSetQuarter;\n    proto.month = getSetMonth;\n    proto.daysInMonth = getDaysInMonth;\n    proto.week = proto.weeks = getSetWeek;\n    proto.isoWeek = proto.isoWeeks = getSetISOWeek;\n    proto.weeksInYear = getWeeksInYear;\n    proto.weeksInWeekYear = getWeeksInWeekYear;\n    proto.isoWeeksInYear = getISOWeeksInYear;\n    proto.isoWeeksInISOWeekYear = getISOWeeksInISOWeekYear;\n    proto.date = getSetDayOfMonth;\n    proto.day = proto.days = getSetDayOfWeek;\n    proto.weekday = getSetLocaleDayOfWeek;\n    proto.isoWeekday = getSetISODayOfWeek;\n    proto.dayOfYear = getSetDayOfYear;\n    proto.hour = proto.hours = getSetHour;\n    proto.minute = proto.minutes = getSetMinute;\n    proto.second = proto.seconds = getSetSecond;\n    proto.millisecond = proto.milliseconds = getSetMillisecond;\n    proto.utcOffset = getSetOffset;\n    proto.utc = setOffsetToUTC;\n    proto.local = setOffsetToLocal;\n    proto.parseZone = setOffsetToParsedOffset;\n    proto.hasAlignedHourOffset = hasAlignedHourOffset;\n    proto.isDST = isDaylightSavingTime;\n    proto.isLocal = isLocal;\n    proto.isUtcOffset = isUtcOffset;\n    proto.isUtc = isUtc;\n    proto.isUTC = isUtc;\n    proto.zoneAbbr = getZoneAbbr;\n    proto.zoneName = getZoneName;\n    proto.dates = deprecate(\n        'dates accessor is deprecated. Use date instead.',\n        getSetDayOfMonth\n    );\n    proto.months = deprecate(\n        'months accessor is deprecated. Use month instead',\n        getSetMonth\n    );\n    proto.years = deprecate(\n        'years accessor is deprecated. Use year instead',\n        getSetYear\n    );\n    proto.zone = deprecate(\n        'moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/',\n        getSetZone\n    );\n    proto.isDSTShifted = deprecate(\n        'isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information',\n        isDaylightSavingTimeShifted\n    );\n\n    function createUnix(input) {\n        return createLocal(input * 1000);\n    }\n\n    function createInZone() {\n        return createLocal.apply(null, arguments).parseZone();\n    }\n\n    function preParsePostFormat(string) {\n        return string;\n    }\n\n    var proto$1 = Locale.prototype;\n\n    proto$1.calendar = calendar;\n    proto$1.longDateFormat = longDateFormat;\n    proto$1.invalidDate = invalidDate;\n    proto$1.ordinal = ordinal;\n    proto$1.preparse = preParsePostFormat;\n    proto$1.postformat = preParsePostFormat;\n    proto$1.relativeTime = relativeTime;\n    proto$1.pastFuture = pastFuture;\n    proto$1.set = set;\n    proto$1.eras = localeEras;\n    proto$1.erasParse = localeErasParse;\n    proto$1.erasConvertYear = localeErasConvertYear;\n    proto$1.erasAbbrRegex = erasAbbrRegex;\n    proto$1.erasNameRegex = erasNameRegex;\n    proto$1.erasNarrowRegex = erasNarrowRegex;\n\n    proto$1.months = localeMonths;\n    proto$1.monthsShort = localeMonthsShort;\n    proto$1.monthsParse = localeMonthsParse;\n    proto$1.monthsRegex = monthsRegex;\n    proto$1.monthsShortRegex = monthsShortRegex;\n    proto$1.week = localeWeek;\n    proto$1.firstDayOfYear = localeFirstDayOfYear;\n    proto$1.firstDayOfWeek = localeFirstDayOfWeek;\n\n    proto$1.weekdays = localeWeekdays;\n    proto$1.weekdaysMin = localeWeekdaysMin;\n    proto$1.weekdaysShort = localeWeekdaysShort;\n    proto$1.weekdaysParse = localeWeekdaysParse;\n\n    proto$1.weekdaysRegex = weekdaysRegex;\n    proto$1.weekdaysShortRegex = weekdaysShortRegex;\n    proto$1.weekdaysMinRegex = weekdaysMinRegex;\n\n    proto$1.isPM = localeIsPM;\n    proto$1.meridiem = localeMeridiem;\n\n    function get$1(format, index, field, setter) {\n        var locale = getLocale(),\n            utc = createUTC().set(setter, index);\n        return locale[field](utc, format);\n    }\n\n    function listMonthsImpl(format, index, field) {\n        if (isNumber(format)) {\n            index = format;\n            format = undefined;\n        }\n\n        format = format || '';\n\n        if (index != null) {\n            return get$1(format, index, field, 'month');\n        }\n\n        var i,\n            out = [];\n        for (i = 0; i < 12; i++) {\n            out[i] = get$1(format, i, field, 'month');\n        }\n        return out;\n    }\n\n    // ()\n    // (5)\n    // (fmt, 5)\n    // (fmt)\n    // (true)\n    // (true, 5)\n    // (true, fmt, 5)\n    // (true, fmt)\n    function listWeekdaysImpl(localeSorted, format, index, field) {\n        if (typeof localeSorted === 'boolean') {\n            if (isNumber(format)) {\n                index = format;\n                format = undefined;\n            }\n\n            format = format || '';\n        } else {\n            format = localeSorted;\n            index = format;\n            localeSorted = false;\n\n            if (isNumber(format)) {\n                index = format;\n                format = undefined;\n            }\n\n            format = format || '';\n        }\n\n        var locale = getLocale(),\n            shift = localeSorted ? locale._week.dow : 0,\n            i,\n            out = [];\n\n        if (index != null) {\n            return get$1(format, (index + shift) % 7, field, 'day');\n        }\n\n        for (i = 0; i < 7; i++) {\n            out[i] = get$1(format, (i + shift) % 7, field, 'day');\n        }\n        return out;\n    }\n\n    function listMonths(format, index) {\n        return listMonthsImpl(format, index, 'months');\n    }\n\n    function listMonthsShort(format, index) {\n        return listMonthsImpl(format, index, 'monthsShort');\n    }\n\n    function listWeekdays(localeSorted, format, index) {\n        return listWeekdaysImpl(localeSorted, format, index, 'weekdays');\n    }\n\n    function listWeekdaysShort(localeSorted, format, index) {\n        return listWeekdaysImpl(localeSorted, format, index, 'weekdaysShort');\n    }\n\n    function listWeekdaysMin(localeSorted, format, index) {\n        return listWeekdaysImpl(localeSorted, format, index, 'weekdaysMin');\n    }\n\n    getSetGlobalLocale('en', {\n        eras: [\n            {\n                since: '0001-01-01',\n                until: +Infinity,\n                offset: 1,\n                name: 'Anno Domini',\n                narrow: 'AD',\n                abbr: 'AD',\n            },\n            {\n                since: '0000-12-31',\n                until: -Infinity,\n                offset: 1,\n                name: 'Before Christ',\n                narrow: 'BC',\n                abbr: 'BC',\n            },\n        ],\n        dayOfMonthOrdinalParse: /\\d{1,2}(th|st|nd|rd)/,\n        ordinal: function (number) {\n            var b = number % 10,\n                output =\n                    toInt((number % 100) / 10) === 1\n                        ? 'th'\n                        : b === 1\n                          ? 'st'\n                          : b === 2\n                            ? 'nd'\n                            : b === 3\n                              ? 'rd'\n                              : 'th';\n            return number + output;\n        },\n    });\n\n    // Side effect imports\n\n    hooks.lang = deprecate(\n        'moment.lang is deprecated. Use moment.locale instead.',\n        getSetGlobalLocale\n    );\n    hooks.langData = deprecate(\n        'moment.langData is deprecated. Use moment.localeData instead.',\n        getLocale\n    );\n\n    var mathAbs = Math.abs;\n\n    function abs() {\n        var data = this._data;\n\n        this._milliseconds = mathAbs(this._milliseconds);\n        this._days = mathAbs(this._days);\n        this._months = mathAbs(this._months);\n\n        data.milliseconds = mathAbs(data.milliseconds);\n        data.seconds = mathAbs(data.seconds);\n        data.minutes = mathAbs(data.minutes);\n        data.hours = mathAbs(data.hours);\n        data.months = mathAbs(data.months);\n        data.years = mathAbs(data.years);\n\n        return this;\n    }\n\n    function addSubtract$1(duration, input, value, direction) {\n        var other = createDuration(input, value);\n\n        duration._milliseconds += direction * other._milliseconds;\n        duration._days += direction * other._days;\n        duration._months += direction * other._months;\n\n        return duration._bubble();\n    }\n\n    // supports only 2.0-style add(1, 's') or add(duration)\n    function add$1(input, value) {\n        return addSubtract$1(this, input, value, 1);\n    }\n\n    // supports only 2.0-style subtract(1, 's') or subtract(duration)\n    function subtract$1(input, value) {\n        return addSubtract$1(this, input, value, -1);\n    }\n\n    function absCeil(number) {\n        if (number < 0) {\n            return Math.floor(number);\n        } else {\n            return Math.ceil(number);\n        }\n    }\n\n    function bubble() {\n        var milliseconds = this._milliseconds,\n            days = this._days,\n            months = this._months,\n            data = this._data,\n            seconds,\n            minutes,\n            hours,\n            years,\n            monthsFromDays;\n\n        // if we have a mix of positive and negative values, bubble down first\n        // check: https://github.com/moment/moment/issues/2166\n        if (\n            !(\n                (milliseconds >= 0 && days >= 0 && months >= 0) ||\n                (milliseconds <= 0 && days <= 0 && months <= 0)\n            )\n        ) {\n            milliseconds += absCeil(monthsToDays(months) + days) * 864e5;\n            days = 0;\n            months = 0;\n        }\n\n        // The following code bubbles up values, see the tests for\n        // examples of what that means.\n        data.milliseconds = milliseconds % 1000;\n\n        seconds = absFloor(milliseconds / 1000);\n        data.seconds = seconds % 60;\n\n        minutes = absFloor(seconds / 60);\n        data.minutes = minutes % 60;\n\n        hours = absFloor(minutes / 60);\n        data.hours = hours % 24;\n\n        days += absFloor(hours / 24);\n\n        // convert days to months\n        monthsFromDays = absFloor(daysToMonths(days));\n        months += monthsFromDays;\n        days -= absCeil(monthsToDays(monthsFromDays));\n\n        // 12 months -> 1 year\n        years = absFloor(months / 12);\n        months %= 12;\n\n        data.days = days;\n        data.months = months;\n        data.years = years;\n\n        return this;\n    }\n\n    function daysToMonths(days) {\n        // 400 years have 146097 days (taking into account leap year rules)\n        // 400 years have 12 months === 4800\n        return (days * 4800) / 146097;\n    }\n\n    function monthsToDays(months) {\n        // the reverse of daysToMonths\n        return (months * 146097) / 4800;\n    }\n\n    function as(units) {\n        if (!this.isValid()) {\n            return NaN;\n        }\n        var days,\n            months,\n            milliseconds = this._milliseconds;\n\n        units = normalizeUnits(units);\n\n        if (units === 'month' || units === 'quarter' || units === 'year') {\n            days = this._days + milliseconds / 864e5;\n            months = this._months + daysToMonths(days);\n            switch (units) {\n                case 'month':\n                    return months;\n                case 'quarter':\n                    return months / 3;\n                case 'year':\n                    return months / 12;\n            }\n        } else {\n            // handle milliseconds separately because of floating point math errors (issue #1867)\n            days = this._days + Math.round(monthsToDays(this._months));\n            switch (units) {\n                case 'week':\n                    return days / 7 + milliseconds / 6048e5;\n                case 'day':\n                    return days + milliseconds / 864e5;\n                case 'hour':\n                    return days * 24 + milliseconds / 36e5;\n                case 'minute':\n                    return days * 1440 + milliseconds / 6e4;\n                case 'second':\n                    return days * 86400 + milliseconds / 1000;\n                // Math.floor prevents floating point math errors here\n                case 'millisecond':\n                    return Math.floor(days * 864e5) + milliseconds;\n                default:\n                    throw new Error('Unknown unit ' + units);\n            }\n        }\n    }\n\n    function makeAs(alias) {\n        return function () {\n            return this.as(alias);\n        };\n    }\n\n    var asMilliseconds = makeAs('ms'),\n        asSeconds = makeAs('s'),\n        asMinutes = makeAs('m'),\n        asHours = makeAs('h'),\n        asDays = makeAs('d'),\n        asWeeks = makeAs('w'),\n        asMonths = makeAs('M'),\n        asQuarters = makeAs('Q'),\n        asYears = makeAs('y'),\n        valueOf$1 = asMilliseconds;\n\n    function clone$1() {\n        return createDuration(this);\n    }\n\n    function get$2(units) {\n        units = normalizeUnits(units);\n        return this.isValid() ? this[units + 's']() : NaN;\n    }\n\n    function makeGetter(name) {\n        return function () {\n            return this.isValid() ? this._data[name] : NaN;\n        };\n    }\n\n    var milliseconds = makeGetter('milliseconds'),\n        seconds = makeGetter('seconds'),\n        minutes = makeGetter('minutes'),\n        hours = makeGetter('hours'),\n        days = makeGetter('days'),\n        months = makeGetter('months'),\n        years = makeGetter('years');\n\n    function weeks() {\n        return absFloor(this.days() / 7);\n    }\n\n    var round = Math.round,\n        thresholds = {\n            ss: 44, // a few seconds to seconds\n            s: 45, // seconds to minute\n            m: 45, // minutes to hour\n            h: 22, // hours to day\n            d: 26, // days to month/week\n            w: null, // weeks to month\n            M: 11, // months to year\n        };\n\n    // helper function for moment.fn.from, moment.fn.fromNow, and moment.duration.fn.humanize\n    function substituteTimeAgo(string, number, withoutSuffix, isFuture, locale) {\n        return locale.relativeTime(number || 1, !!withoutSuffix, string, isFuture);\n    }\n\n    function relativeTime$1(posNegDuration, withoutSuffix, thresholds, locale) {\n        var duration = createDuration(posNegDuration).abs(),\n            seconds = round(duration.as('s')),\n            minutes = round(duration.as('m')),\n            hours = round(duration.as('h')),\n            days = round(duration.as('d')),\n            months = round(duration.as('M')),\n            weeks = round(duration.as('w')),\n            years = round(duration.as('y')),\n            a =\n                (seconds <= thresholds.ss && ['s', seconds]) ||\n                (seconds < thresholds.s && ['ss', seconds]) ||\n                (minutes <= 1 && ['m']) ||\n                (minutes < thresholds.m && ['mm', minutes]) ||\n                (hours <= 1 && ['h']) ||\n                (hours < thresholds.h && ['hh', hours]) ||\n                (days <= 1 && ['d']) ||\n                (days < thresholds.d && ['dd', days]);\n\n        if (thresholds.w != null) {\n            a =\n                a ||\n                (weeks <= 1 && ['w']) ||\n                (weeks < thresholds.w && ['ww', weeks]);\n        }\n        a = a ||\n            (months <= 1 && ['M']) ||\n            (months < thresholds.M && ['MM', months]) ||\n            (years <= 1 && ['y']) || ['yy', years];\n\n        a[2] = withoutSuffix;\n        a[3] = +posNegDuration > 0;\n        a[4] = locale;\n        return substituteTimeAgo.apply(null, a);\n    }\n\n    // This function allows you to set the rounding function for relative time strings\n    function getSetRelativeTimeRounding(roundingFunction) {\n        if (roundingFunction === undefined) {\n            return round;\n        }\n        if (typeof roundingFunction === 'function') {\n            round = roundingFunction;\n            return true;\n        }\n        return false;\n    }\n\n    // This function allows you to set a threshold for relative time strings\n    function getSetRelativeTimeThreshold(threshold, limit) {\n        if (thresholds[threshold] === undefined) {\n            return false;\n        }\n        if (limit === undefined) {\n            return thresholds[threshold];\n        }\n        thresholds[threshold] = limit;\n        if (threshold === 's') {\n            thresholds.ss = limit - 1;\n        }\n        return true;\n    }\n\n    function humanize(argWithSuffix, argThresholds) {\n        if (!this.isValid()) {\n            return this.localeData().invalidDate();\n        }\n\n        var withSuffix = false,\n            th = thresholds,\n            locale,\n            output;\n\n        if (typeof argWithSuffix === 'object') {\n            argThresholds = argWithSuffix;\n            argWithSuffix = false;\n        }\n        if (typeof argWithSuffix === 'boolean') {\n            withSuffix = argWithSuffix;\n        }\n        if (typeof argThresholds === 'object') {\n            th = Object.assign({}, thresholds, argThresholds);\n            if (argThresholds.s != null && argThresholds.ss == null) {\n                th.ss = argThresholds.s - 1;\n            }\n        }\n\n        locale = this.localeData();\n        output = relativeTime$1(this, !withSuffix, th, locale);\n\n        if (withSuffix) {\n            output = locale.pastFuture(+this, output);\n        }\n\n        return locale.postformat(output);\n    }\n\n    var abs$1 = Math.abs;\n\n    function sign(x) {\n        return (x > 0) - (x < 0) || +x;\n    }\n\n    function toISOString$1() {\n        // for ISO strings we do not use the normal bubbling rules:\n        //  * milliseconds bubble up until they become hours\n        //  * days do not bubble at all\n        //  * months bubble up until they become years\n        // This is because there is no context-free conversion between hours and days\n        // (think of clock changes)\n        // and also not between days and months (28-31 days per month)\n        if (!this.isValid()) {\n            return this.localeData().invalidDate();\n        }\n\n        var seconds = abs$1(this._milliseconds) / 1000,\n            days = abs$1(this._days),\n            months = abs$1(this._months),\n            minutes,\n            hours,\n            years,\n            s,\n            total = this.asSeconds(),\n            totalSign,\n            ymSign,\n            daysSign,\n            hmsSign;\n\n        if (!total) {\n            // this is the same as C#'s (Noda) and python (isodate)...\n            // but not other JS (goog.date)\n            return 'P0D';\n        }\n\n        // 3600 seconds -> 60 minutes -> 1 hour\n        minutes = absFloor(seconds / 60);\n        hours = absFloor(minutes / 60);\n        seconds %= 60;\n        minutes %= 60;\n\n        // 12 months -> 1 year\n        years = absFloor(months / 12);\n        months %= 12;\n\n        // inspired by https://github.com/dordille/moment-isoduration/blob/master/moment.isoduration.js\n        s = seconds ? seconds.toFixed(3).replace(/\\.?0+$/, '') : '';\n\n        totalSign = total < 0 ? '-' : '';\n        ymSign = sign(this._months) !== sign(total) ? '-' : '';\n        daysSign = sign(this._days) !== sign(total) ? '-' : '';\n        hmsSign = sign(this._milliseconds) !== sign(total) ? '-' : '';\n\n        return (\n            totalSign +\n            'P' +\n            (years ? ymSign + years + 'Y' : '') +\n            (months ? ymSign + months + 'M' : '') +\n            (days ? daysSign + days + 'D' : '') +\n            (hours || minutes || seconds ? 'T' : '') +\n            (hours ? hmsSign + hours + 'H' : '') +\n            (minutes ? hmsSign + minutes + 'M' : '') +\n            (seconds ? hmsSign + s + 'S' : '')\n        );\n    }\n\n    var proto$2 = Duration.prototype;\n\n    proto$2.isValid = isValid$1;\n    proto$2.abs = abs;\n    proto$2.add = add$1;\n    proto$2.subtract = subtract$1;\n    proto$2.as = as;\n    proto$2.asMilliseconds = asMilliseconds;\n    proto$2.asSeconds = asSeconds;\n    proto$2.asMinutes = asMinutes;\n    proto$2.asHours = asHours;\n    proto$2.asDays = asDays;\n    proto$2.asWeeks = asWeeks;\n    proto$2.asMonths = asMonths;\n    proto$2.asQuarters = asQuarters;\n    proto$2.asYears = asYears;\n    proto$2.valueOf = valueOf$1;\n    proto$2._bubble = bubble;\n    proto$2.clone = clone$1;\n    proto$2.get = get$2;\n    proto$2.milliseconds = milliseconds;\n    proto$2.seconds = seconds;\n    proto$2.minutes = minutes;\n    proto$2.hours = hours;\n    proto$2.days = days;\n    proto$2.weeks = weeks;\n    proto$2.months = months;\n    proto$2.years = years;\n    proto$2.humanize = humanize;\n    proto$2.toISOString = toISOString$1;\n    proto$2.toString = toISOString$1;\n    proto$2.toJSON = toISOString$1;\n    proto$2.locale = locale;\n    proto$2.localeData = localeData;\n\n    proto$2.toIsoString = deprecate(\n        'toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)',\n        toISOString$1\n    );\n    proto$2.lang = lang;\n\n    // FORMATTING\n\n    addFormatToken('X', 0, 0, 'unix');\n    addFormatToken('x', 0, 0, 'valueOf');\n\n    // PARSING\n\n    addRegexToken('x', matchSigned);\n    addRegexToken('X', matchTimestamp);\n    addParseToken('X', function (input, array, config) {\n        config._d = new Date(parseFloat(input) * 1000);\n    });\n    addParseToken('x', function (input, array, config) {\n        config._d = new Date(toInt(input));\n    });\n\n    //! moment.js\n\n    hooks.version = '2.30.1';\n\n    setHookCallback(createLocal);\n\n    hooks.fn = proto;\n    hooks.min = min;\n    hooks.max = max;\n    hooks.now = now;\n    hooks.utc = createUTC;\n    hooks.unix = createUnix;\n    hooks.months = listMonths;\n    hooks.isDate = isDate;\n    hooks.locale = getSetGlobalLocale;\n    hooks.invalid = createInvalid;\n    hooks.duration = createDuration;\n    hooks.isMoment = isMoment;\n    hooks.weekdays = listWeekdays;\n    hooks.parseZone = createInZone;\n    hooks.localeData = getLocale;\n    hooks.isDuration = isDuration;\n    hooks.monthsShort = listMonthsShort;\n    hooks.weekdaysMin = listWeekdaysMin;\n    hooks.defineLocale = defineLocale;\n    hooks.updateLocale = updateLocale;\n    hooks.locales = listLocales;\n    hooks.weekdaysShort = listWeekdaysShort;\n    hooks.normalizeUnits = normalizeUnits;\n    hooks.relativeTimeRounding = getSetRelativeTimeRounding;\n    hooks.relativeTimeThreshold = getSetRelativeTimeThreshold;\n    hooks.calendarFormat = getCalendarFormat;\n    hooks.prototype = proto;\n\n    // currently HTML5 input type only supports 24-hour formats\n    hooks.HTML5_FMT = {\n        DATETIME_LOCAL: 'YYYY-MM-DDTHH:mm', // <input type=\"datetime-local\" />\n        DATETIME_LOCAL_SECONDS: 'YYYY-MM-DDTHH:mm:ss', // <input type=\"datetime-local\" step=\"1\" />\n        DATETIME_LOCAL_MS: 'YYYY-MM-DDTHH:mm:ss.SSS', // <input type=\"datetime-local\" step=\"0.001\" />\n        DATE: 'YYYY-MM-DD', // <input type=\"date\" />\n        TIME: 'HH:mm', // <input type=\"time\" />\n        TIME_SECONDS: 'HH:mm:ss', // <input type=\"time\" step=\"1\" />\n        TIME_MS: 'HH:mm:ss.SSS', // <input type=\"time\" step=\"0.001\" />\n        WEEK: 'GGGG-[W]WW', // <input type=\"week\" />\n        MONTH: 'YYYY-MM', // <input type=\"month\" />\n    };\n\n    return hooks;\n\n})));\n","const PACKET_TYPES = Object.create(null); // no Map = no polyfill\nPACKET_TYPES[\"open\"] = \"0\";\nPACKET_TYPES[\"close\"] = \"1\";\nPACKET_TYPES[\"ping\"] = \"2\";\nPACKET_TYPES[\"pong\"] = \"3\";\nPACKET_TYPES[\"message\"] = \"4\";\nPACKET_TYPES[\"upgrade\"] = \"5\";\nPACKET_TYPES[\"noop\"] = \"6\";\nconst PACKET_TYPES_REVERSE = Object.create(null);\nObject.keys(PACKET_TYPES).forEach((key) => {\n    PACKET_TYPES_REVERSE[PACKET_TYPES[key]] = key;\n});\nconst ERROR_PACKET = { type: \"error\", data: \"parser error\" };\nexport { PACKET_TYPES, PACKET_TYPES_REVERSE, ERROR_PACKET };\n","import { PACKET_TYPES } from \"./commons.js\";\nconst withNativeBlob = typeof Blob === \"function\" ||\n    (typeof Blob !== \"undefined\" &&\n        Object.prototype.toString.call(Blob) === \"[object BlobConstructor]\");\nconst withNativeArrayBuffer = typeof ArrayBuffer === \"function\";\n// ArrayBuffer.isView method is not defined in IE10\nconst isView = (obj) => {\n    return typeof ArrayBuffer.isView === \"function\"\n        ? ArrayBuffer.isView(obj)\n        : obj && obj.buffer instanceof ArrayBuffer;\n};\nconst encodePacket = ({ type, data }, supportsBinary, callback) => {\n    if (withNativeBlob && data instanceof Blob) {\n        if (supportsBinary) {\n            return callback(data);\n        }\n        else {\n            return encodeBlobAsBase64(data, callback);\n        }\n    }\n    else if (withNativeArrayBuffer &&\n        (data instanceof ArrayBuffer || isView(data))) {\n        if (supportsBinary) {\n            return callback(data);\n        }\n        else {\n            return encodeBlobAsBase64(new Blob([data]), callback);\n        }\n    }\n    // plain string\n    return callback(PACKET_TYPES[type] + (data || \"\"));\n};\nconst encodeBlobAsBase64 = (data, callback) => {\n    const fileReader = new FileReader();\n    fileReader.onload = function () {\n        const content = fileReader.result.split(\",\")[1];\n        callback(\"b\" + (content || \"\"));\n    };\n    return fileReader.readAsDataURL(data);\n};\nfunction toArray(data) {\n    if (data instanceof Uint8Array) {\n        return data;\n    }\n    else if (data instanceof ArrayBuffer) {\n        return new Uint8Array(data);\n    }\n    else {\n        return new Uint8Array(data.buffer, data.byteOffset, data.byteLength);\n    }\n}\nlet TEXT_ENCODER;\nexport function encodePacketToBinary(packet, callback) {\n    if (withNativeBlob && packet.data instanceof Blob) {\n        return packet.data.arrayBuffer().then(toArray).then(callback);\n    }\n    else if (withNativeArrayBuffer &&\n        (packet.data instanceof ArrayBuffer || isView(packet.data))) {\n        return callback(toArray(packet.data));\n    }\n    encodePacket(packet, false, (encoded) => {\n        if (!TEXT_ENCODER) {\n            TEXT_ENCODER = new TextEncoder();\n        }\n        callback(TEXT_ENCODER.encode(encoded));\n    });\n}\nexport { encodePacket };\n","// imported from https://github.com/socketio/base64-arraybuffer\nconst chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/';\n// Use a lookup table to find the index.\nconst lookup = typeof Uint8Array === 'undefined' ? [] : new Uint8Array(256);\nfor (let i = 0; i < chars.length; i++) {\n    lookup[chars.charCodeAt(i)] = i;\n}\nexport const encode = (arraybuffer) => {\n    let bytes = new Uint8Array(arraybuffer), i, len = bytes.length, base64 = '';\n    for (i = 0; i < len; i += 3) {\n        base64 += chars[bytes[i] >> 2];\n        base64 += chars[((bytes[i] & 3) << 4) | (bytes[i + 1] >> 4)];\n        base64 += chars[((bytes[i + 1] & 15) << 2) | (bytes[i + 2] >> 6)];\n        base64 += chars[bytes[i + 2] & 63];\n    }\n    if (len % 3 === 2) {\n        base64 = base64.substring(0, base64.length - 1) + '=';\n    }\n    else if (len % 3 === 1) {\n        base64 = base64.substring(0, base64.length - 2) + '==';\n    }\n    return base64;\n};\nexport const decode = (base64) => {\n    let bufferLength = base64.length * 0.75, len = base64.length, i, p = 0, encoded1, encoded2, encoded3, encoded4;\n    if (base64[base64.length - 1] === '=') {\n        bufferLength--;\n        if (base64[base64.length - 2] === '=') {\n            bufferLength--;\n        }\n    }\n    const arraybuffer = new ArrayBuffer(bufferLength), bytes = new Uint8Array(arraybuffer);\n    for (i = 0; i < len; i += 4) {\n        encoded1 = lookup[base64.charCodeAt(i)];\n        encoded2 = lookup[base64.charCodeAt(i + 1)];\n        encoded3 = lookup[base64.charCodeAt(i + 2)];\n        encoded4 = lookup[base64.charCodeAt(i + 3)];\n        bytes[p++] = (encoded1 << 2) | (encoded2 >> 4);\n        bytes[p++] = ((encoded2 & 15) << 4) | (encoded3 >> 2);\n        bytes[p++] = ((encoded3 & 3) << 6) | (encoded4 & 63);\n    }\n    return arraybuffer;\n};\n","import { ERROR_PACKET, PACKET_TYPES_REVERSE, } from \"./commons.js\";\nimport { decode } from \"./contrib/base64-arraybuffer.js\";\nconst withNativeArrayBuffer = typeof ArrayBuffer === \"function\";\nexport const decodePacket = (encodedPacket, binaryType) => {\n    if (typeof encodedPacket !== \"string\") {\n        return {\n            type: \"message\",\n            data: mapBinary(encodedPacket, binaryType),\n        };\n    }\n    const type = encodedPacket.charAt(0);\n    if (type === \"b\") {\n        return {\n            type: \"message\",\n            data: decodeBase64Packet(encodedPacket.substring(1), binaryType),\n        };\n    }\n    const packetType = PACKET_TYPES_REVERSE[type];\n    if (!packetType) {\n        return ERROR_PACKET;\n    }\n    return encodedPacket.length > 1\n        ? {\n            type: PACKET_TYPES_REVERSE[type],\n            data: encodedPacket.substring(1),\n        }\n        : {\n            type: PACKET_TYPES_REVERSE[type],\n        };\n};\nconst decodeBase64Packet = (data, binaryType) => {\n    if (withNativeArrayBuffer) {\n        const decoded = decode(data);\n        return mapBinary(decoded, binaryType);\n    }\n    else {\n        return { base64: true, data }; // fallback for old browsers\n    }\n};\nconst mapBinary = (data, binaryType) => {\n    switch (binaryType) {\n        case \"blob\":\n            if (data instanceof Blob) {\n                // from WebSocket + binaryType \"blob\"\n                return data;\n            }\n            else {\n                // from HTTP long-polling or WebTransport\n                return new Blob([data]);\n            }\n        case \"arraybuffer\":\n        default:\n            if (data instanceof ArrayBuffer) {\n                // from HTTP long-polling (base64) or WebSocket + binaryType \"arraybuffer\"\n                return data;\n            }\n            else {\n                // from WebTransport (Uint8Array)\n                return data.buffer;\n            }\n    }\n};\n","import { encodePacket, encodePacketToBinary } from \"./encodePacket.js\";\nimport { decodePacket } from \"./decodePacket.js\";\nimport { ERROR_PACKET, } from \"./commons.js\";\nconst SEPARATOR = String.fromCharCode(30); // see https://en.wikipedia.org/wiki/Delimiter#ASCII_delimited_text\nconst encodePayload = (packets, callback) => {\n    // some packets may be added to the array while encoding, so the initial length must be saved\n    const length = packets.length;\n    const encodedPackets = new Array(length);\n    let count = 0;\n    packets.forEach((packet, i) => {\n        // force base64 encoding for binary packets\n        encodePacket(packet, false, (encodedPacket) => {\n            encodedPackets[i] = encodedPacket;\n            if (++count === length) {\n                callback(encodedPackets.join(SEPARATOR));\n            }\n        });\n    });\n};\nconst decodePayload = (encodedPayload, binaryType) => {\n    const encodedPackets = encodedPayload.split(SEPARATOR);\n    const packets = [];\n    for (let i = 0; i < encodedPackets.length; i++) {\n        const decodedPacket = decodePacket(encodedPackets[i], binaryType);\n        packets.push(decodedPacket);\n        if (decodedPacket.type === \"error\") {\n            break;\n        }\n    }\n    return packets;\n};\nexport function createPacketEncoderStream() {\n    return new TransformStream({\n        transform(packet, controller) {\n            encodePacketToBinary(packet, (encodedPacket) => {\n                const payloadLength = encodedPacket.length;\n                let header;\n                // inspired by the WebSocket format: https://developer.mozilla.org/en-US/docs/Web/API/WebSockets_API/Writing_WebSocket_servers#decoding_payload_length\n                if (payloadLength < 126) {\n                    header = new Uint8Array(1);\n                    new DataView(header.buffer).setUint8(0, payloadLength);\n                }\n                else if (payloadLength < 65536) {\n                    header = new Uint8Array(3);\n                    const view = new DataView(header.buffer);\n                    view.setUint8(0, 126);\n                    view.setUint16(1, payloadLength);\n                }\n                else {\n                    header = new Uint8Array(9);\n                    const view = new DataView(header.buffer);\n                    view.setUint8(0, 127);\n                    view.setBigUint64(1, BigInt(payloadLength));\n                }\n                // first bit indicates whether the payload is plain text (0) or binary (1)\n                if (packet.data && typeof packet.data !== \"string\") {\n                    header[0] |= 0x80;\n                }\n                controller.enqueue(header);\n                controller.enqueue(encodedPacket);\n            });\n        },\n    });\n}\nlet TEXT_DECODER;\nfunction totalLength(chunks) {\n    return chunks.reduce((acc, chunk) => acc + chunk.length, 0);\n}\nfunction concatChunks(chunks, size) {\n    if (chunks[0].length === size) {\n        return chunks.shift();\n    }\n    const buffer = new Uint8Array(size);\n    let j = 0;\n    for (let i = 0; i < size; i++) {\n        buffer[i] = chunks[0][j++];\n        if (j === chunks[0].length) {\n            chunks.shift();\n            j = 0;\n        }\n    }\n    if (chunks.length && j < chunks[0].length) {\n        chunks[0] = chunks[0].slice(j);\n    }\n    return buffer;\n}\nexport function createPacketDecoderStream(maxPayload, binaryType) {\n    if (!TEXT_DECODER) {\n        TEXT_DECODER = new TextDecoder();\n    }\n    const chunks = [];\n    let state = 0 /* State.READ_HEADER */;\n    let expectedLength = -1;\n    let isBinary = false;\n    return new TransformStream({\n        transform(chunk, controller) {\n            chunks.push(chunk);\n            while (true) {\n                if (state === 0 /* State.READ_HEADER */) {\n                    if (totalLength(chunks) < 1) {\n                        break;\n                    }\n                    const header = concatChunks(chunks, 1);\n                    isBinary = (header[0] & 0x80) === 0x80;\n                    expectedLength = header[0] & 0x7f;\n                    if (expectedLength < 126) {\n                        state = 3 /* State.READ_PAYLOAD */;\n                    }\n                    else if (expectedLength === 126) {\n                        state = 1 /* State.READ_EXTENDED_LENGTH_16 */;\n                    }\n                    else {\n                        state = 2 /* State.READ_EXTENDED_LENGTH_64 */;\n                    }\n                }\n                else if (state === 1 /* State.READ_EXTENDED_LENGTH_16 */) {\n                    if (totalLength(chunks) < 2) {\n                        break;\n                    }\n                    const headerArray = concatChunks(chunks, 2);\n                    expectedLength = new DataView(headerArray.buffer, headerArray.byteOffset, headerArray.length).getUint16(0);\n                    state = 3 /* State.READ_PAYLOAD */;\n                }\n                else if (state === 2 /* State.READ_EXTENDED_LENGTH_64 */) {\n                    if (totalLength(chunks) < 8) {\n                        break;\n                    }\n                    const headerArray = concatChunks(chunks, 8);\n                    const view = new DataView(headerArray.buffer, headerArray.byteOffset, headerArray.length);\n                    const n = view.getUint32(0);\n                    if (n > Math.pow(2, 53 - 32) - 1) {\n                        // the maximum safe integer in JavaScript is 2^53 - 1\n                        controller.enqueue(ERROR_PACKET);\n                        break;\n                    }\n                    expectedLength = n * Math.pow(2, 32) + view.getUint32(4);\n                    state = 3 /* State.READ_PAYLOAD */;\n                }\n                else {\n                    if (totalLength(chunks) < expectedLength) {\n                        break;\n                    }\n                    const data = concatChunks(chunks, expectedLength);\n                    controller.enqueue(decodePacket(isBinary ? data : TEXT_DECODER.decode(data), binaryType));\n                    state = 0 /* State.READ_HEADER */;\n                }\n                if (expectedLength === 0 || expectedLength > maxPayload) {\n                    controller.enqueue(ERROR_PACKET);\n                    break;\n                }\n            }\n        },\n    });\n}\nexport const protocol = 4;\nexport { encodePacket, encodePayload, decodePacket, decodePayload, };\n","/**\n * Initialize a new `Emitter`.\n *\n * @api public\n */\n\nexport function Emitter(obj) {\n  if (obj) return mixin(obj);\n}\n\n/**\n * Mixin the emitter properties.\n *\n * @param {Object} obj\n * @return {Object}\n * @api private\n */\n\nfunction mixin(obj) {\n  for (var key in Emitter.prototype) {\n    obj[key] = Emitter.prototype[key];\n  }\n  return obj;\n}\n\n/**\n * Listen on the given `event` with `fn`.\n *\n * @param {String} event\n * @param {Function} fn\n * @return {Emitter}\n * @api public\n */\n\nEmitter.prototype.on =\nEmitter.prototype.addEventListener = function(event, fn){\n  this._callbacks = this._callbacks || {};\n  (this._callbacks['$' + event] = this._callbacks['$' + event] || [])\n    .push(fn);\n  return this;\n};\n\n/**\n * Adds an `event` listener that will be invoked a single\n * time then automatically removed.\n *\n * @param {String} event\n * @param {Function} fn\n * @return {Emitter}\n * @api public\n */\n\nEmitter.prototype.once = function(event, fn){\n  function on() {\n    this.off(event, on);\n    fn.apply(this, arguments);\n  }\n\n  on.fn = fn;\n  this.on(event, on);\n  return this;\n};\n\n/**\n * Remove the given callback for `event` or all\n * registered callbacks.\n *\n * @param {String} event\n * @param {Function} fn\n * @return {Emitter}\n * @api public\n */\n\nEmitter.prototype.off =\nEmitter.prototype.removeListener =\nEmitter.prototype.removeAllListeners =\nEmitter.prototype.removeEventListener = function(event, fn){\n  this._callbacks = this._callbacks || {};\n\n  // all\n  if (0 == arguments.length) {\n    this._callbacks = {};\n    return this;\n  }\n\n  // specific event\n  var callbacks = this._callbacks['$' + event];\n  if (!callbacks) return this;\n\n  // remove all handlers\n  if (1 == arguments.length) {\n    delete this._callbacks['$' + event];\n    return this;\n  }\n\n  // remove specific handler\n  var cb;\n  for (var i = 0; i < callbacks.length; i++) {\n    cb = callbacks[i];\n    if (cb === fn || cb.fn === fn) {\n      callbacks.splice(i, 1);\n      break;\n    }\n  }\n\n  // Remove event specific arrays for event types that no\n  // one is subscribed for to avoid memory leak.\n  if (callbacks.length === 0) {\n    delete this._callbacks['$' + event];\n  }\n\n  return this;\n};\n\n/**\n * Emit `event` with the given args.\n *\n * @param {String} event\n * @param {Mixed} ...\n * @return {Emitter}\n */\n\nEmitter.prototype.emit = function(event){\n  this._callbacks = this._callbacks || {};\n\n  var args = new Array(arguments.length - 1)\n    , callbacks = this._callbacks['$' + event];\n\n  for (var i = 1; i < arguments.length; i++) {\n    args[i - 1] = arguments[i];\n  }\n\n  if (callbacks) {\n    callbacks = callbacks.slice(0);\n    for (var i = 0, len = callbacks.length; i < len; ++i) {\n      callbacks[i].apply(this, args);\n    }\n  }\n\n  return this;\n};\n\n// alias used for reserved events (protected method)\nEmitter.prototype.emitReserved = Emitter.prototype.emit;\n\n/**\n * Return array of callbacks for `event`.\n *\n * @param {String} event\n * @return {Array}\n * @api public\n */\n\nEmitter.prototype.listeners = function(event){\n  this._callbacks = this._callbacks || {};\n  return this._callbacks['$' + event] || [];\n};\n\n/**\n * Check if this emitter has `event` handlers.\n *\n * @param {String} event\n * @return {Boolean}\n * @api public\n */\n\nEmitter.prototype.hasListeners = function(event){\n  return !! this.listeners(event).length;\n};\n","export const nextTick = (() => {\n    const isPromiseAvailable = typeof Promise === \"function\" && typeof Promise.resolve === \"function\";\n    if (isPromiseAvailable) {\n        return (cb) => Promise.resolve().then(cb);\n    }\n    else {\n        return (cb, setTimeoutFn) => setTimeoutFn(cb, 0);\n    }\n})();\nexport const globalThisShim = (() => {\n    if (typeof self !== \"undefined\") {\n        return self;\n    }\n    else if (typeof window !== \"undefined\") {\n        return window;\n    }\n    else {\n        return Function(\"return this\")();\n    }\n})();\nexport const defaultBinaryType = \"arraybuffer\";\nexport function createCookieJar() { }\n","import { globalThisShim as globalThis } from \"./globals.node.js\";\nexport function pick(obj, ...attr) {\n    return attr.reduce((acc, k) => {\n        if (obj.hasOwnProperty(k)) {\n            acc[k] = obj[k];\n        }\n        return acc;\n    }, {});\n}\n// Keep a reference to the real timeout functions so they can be used when overridden\nconst NATIVE_SET_TIMEOUT = globalThis.setTimeout;\nconst NATIVE_CLEAR_TIMEOUT = globalThis.clearTimeout;\nexport function installTimerFunctions(obj, opts) {\n    if (opts.useNativeTimers) {\n        obj.setTimeoutFn = NATIVE_SET_TIMEOUT.bind(globalThis);\n        obj.clearTimeoutFn = NATIVE_CLEAR_TIMEOUT.bind(globalThis);\n    }\n    else {\n        obj.setTimeoutFn = globalThis.setTimeout.bind(globalThis);\n        obj.clearTimeoutFn = globalThis.clearTimeout.bind(globalThis);\n    }\n}\n// base64 encoded buffers are about 33% bigger (https://en.wikipedia.org/wiki/Base64)\nconst BASE64_OVERHEAD = 1.33;\n// we could also have used `new Blob([obj]).size`, but it isn't supported in IE9\nexport function byteLength(obj) {\n    if (typeof obj === \"string\") {\n        return utf8Length(obj);\n    }\n    // arraybuffer or blob\n    return Math.ceil((obj.byteLength || obj.size) * BASE64_OVERHEAD);\n}\nfunction utf8Length(str) {\n    let c = 0, length = 0;\n    for (let i = 0, l = str.length; i < l; i++) {\n        c = str.charCodeAt(i);\n        if (c < 0x80) {\n            length += 1;\n        }\n        else if (c < 0x800) {\n            length += 2;\n        }\n        else if (c < 0xd800 || c >= 0xe000) {\n            length += 3;\n        }\n        else {\n            i++;\n            length += 4;\n        }\n    }\n    return length;\n}\n/**\n * Generates a random 8-characters string.\n */\nexport function randomString() {\n    return (Date.now().toString(36).substring(3) +\n        Math.random().toString(36).substring(2, 5));\n}\n","// imported from https://github.com/galkn/querystring\n/**\n * Compiles a querystring\n * Returns string representation of the object\n *\n * @param {Object}\n * @api private\n */\nexport function encode(obj) {\n    let str = '';\n    for (let i in obj) {\n        if (obj.hasOwnProperty(i)) {\n            if (str.length)\n                str += '&';\n            str += encodeURIComponent(i) + '=' + encodeURIComponent(obj[i]);\n        }\n    }\n    return str;\n}\n/**\n * Parses a simple querystring into an object\n *\n * @param {String} qs\n * @api private\n */\nexport function decode(qs) {\n    let qry = {};\n    let pairs = qs.split('&');\n    for (let i = 0, l = pairs.length; i < l; i++) {\n        let pair = pairs[i].split('=');\n        qry[decodeURIComponent(pair[0])] = decodeURIComponent(pair[1]);\n    }\n    return qry;\n}\n","import { decodePacket } from \"engine.io-parser\";\nimport { Emitter } from \"@socket.io/component-emitter\";\nimport { installTimerFunctions } from \"./util.js\";\nimport { encode } from \"./contrib/parseqs.js\";\nexport class TransportError extends Error {\n    constructor(reason, description, context) {\n        super(reason);\n        this.description = description;\n        this.context = context;\n        this.type = \"TransportError\";\n    }\n}\nexport class Transport extends Emitter {\n    /**\n     * Transport abstract constructor.\n     *\n     * @param {Object} opts - options\n     * @protected\n     */\n    constructor(opts) {\n        super();\n        this.writable = false;\n        installTimerFunctions(this, opts);\n        this.opts = opts;\n        this.query = opts.query;\n        this.socket = opts.socket;\n        this.supportsBinary = !opts.forceBase64;\n    }\n    /**\n     * Emits an error.\n     *\n     * @param {String} reason\n     * @param description\n     * @param context - the error context\n     * @return {Transport} for chaining\n     * @protected\n     */\n    onError(reason, description, context) {\n        super.emitReserved(\"error\", new TransportError(reason, description, context));\n        return this;\n    }\n    /**\n     * Opens the transport.\n     */\n    open() {\n        this.readyState = \"opening\";\n        this.doOpen();\n        return this;\n    }\n    /**\n     * Closes the transport.\n     */\n    close() {\n        if (this.readyState === \"opening\" || this.readyState === \"open\") {\n            this.doClose();\n            this.onClose();\n        }\n        return this;\n    }\n    /**\n     * Sends multiple packets.\n     *\n     * @param {Array} packets\n     */\n    send(packets) {\n        if (this.readyState === \"open\") {\n            this.write(packets);\n        }\n        else {\n            // this might happen if the transport was silently closed in the beforeunload event handler\n        }\n    }\n    /**\n     * Called upon open\n     *\n     * @protected\n     */\n    onOpen() {\n        this.readyState = \"open\";\n        this.writable = true;\n        super.emitReserved(\"open\");\n    }\n    /**\n     * Called with data.\n     *\n     * @param {String} data\n     * @protected\n     */\n    onData(data) {\n        const packet = decodePacket(data, this.socket.binaryType);\n        this.onPacket(packet);\n    }\n    /**\n     * Called with a decoded packet.\n     *\n     * @protected\n     */\n    onPacket(packet) {\n        super.emitReserved(\"packet\", packet);\n    }\n    /**\n     * Called upon close.\n     *\n     * @protected\n     */\n    onClose(details) {\n        this.readyState = \"closed\";\n        super.emitReserved(\"close\", details);\n    }\n    /**\n     * Pauses the transport, in order not to lose packets during an upgrade.\n     *\n     * @param onPause\n     */\n    pause(onPause) { }\n    createUri(schema, query = {}) {\n        return (schema +\n            \"://\" +\n            this._hostname() +\n            this._port() +\n            this.opts.path +\n            this._query(query));\n    }\n    _hostname() {\n        const hostname = this.opts.hostname;\n        return hostname.indexOf(\":\") === -1 ? hostname : \"[\" + hostname + \"]\";\n    }\n    _port() {\n        if (this.opts.port &&\n            ((this.opts.secure && Number(this.opts.port !== 443)) ||\n                (!this.opts.secure && Number(this.opts.port) !== 80))) {\n            return \":\" + this.opts.port;\n        }\n        else {\n            return \"\";\n        }\n    }\n    _query(query) {\n        const encodedQuery = encode(query);\n        return encodedQuery.length ? \"?\" + encodedQuery : \"\";\n    }\n}\n","import { Transport } from \"../transport.js\";\nimport { randomString } from \"../util.js\";\nimport { encodePayload, decodePayload } from \"engine.io-parser\";\nexport class Polling extends Transport {\n    constructor() {\n        super(...arguments);\n        this._polling = false;\n    }\n    get name() {\n        return \"polling\";\n    }\n    /**\n     * Opens the socket (triggers polling). We write a PING message to determine\n     * when the transport is open.\n     *\n     * @protected\n     */\n    doOpen() {\n        this._poll();\n    }\n    /**\n     * Pauses polling.\n     *\n     * @param {Function} onPause - callback upon buffers are flushed and transport is paused\n     * @package\n     */\n    pause(onPause) {\n        this.readyState = \"pausing\";\n        const pause = () => {\n            this.readyState = \"paused\";\n            onPause();\n        };\n        if (this._polling || !this.writable) {\n            let total = 0;\n            if (this._polling) {\n                total++;\n                this.once(\"pollComplete\", function () {\n                    --total || pause();\n                });\n            }\n            if (!this.writable) {\n                total++;\n                this.once(\"drain\", function () {\n                    --total || pause();\n                });\n            }\n        }\n        else {\n            pause();\n        }\n    }\n    /**\n     * Starts polling cycle.\n     *\n     * @private\n     */\n    _poll() {\n        this._polling = true;\n        this.doPoll();\n        this.emitReserved(\"poll\");\n    }\n    /**\n     * Overloads onData to detect payloads.\n     *\n     * @protected\n     */\n    onData(data) {\n        const callback = (packet) => {\n            // if its the first message we consider the transport open\n            if (\"opening\" === this.readyState && packet.type === \"open\") {\n                this.onOpen();\n            }\n            // if its a close packet, we close the ongoing requests\n            if (\"close\" === packet.type) {\n                this.onClose({ description: \"transport closed by the server\" });\n                return false;\n            }\n            // otherwise bypass onData and handle the message\n            this.onPacket(packet);\n        };\n        // decode payload\n        decodePayload(data, this.socket.binaryType).forEach(callback);\n        // if an event did not trigger closing\n        if (\"closed\" !== this.readyState) {\n            // if we got data we're not polling\n            this._polling = false;\n            this.emitReserved(\"pollComplete\");\n            if (\"open\" === this.readyState) {\n                this._poll();\n            }\n            else {\n            }\n        }\n    }\n    /**\n     * For polling, send a close packet.\n     *\n     * @protected\n     */\n    doClose() {\n        const close = () => {\n            this.write([{ type: \"close\" }]);\n        };\n        if (\"open\" === this.readyState) {\n            close();\n        }\n        else {\n            // in case we're trying to close while\n            // handshaking is in progress (GH-164)\n            this.once(\"open\", close);\n        }\n    }\n    /**\n     * Writes a packets payload.\n     *\n     * @param {Array} packets - data packets\n     * @protected\n     */\n    write(packets) {\n        this.writable = false;\n        encodePayload(packets, (data) => {\n            this.doWrite(data, () => {\n                this.writable = true;\n                this.emitReserved(\"drain\");\n            });\n        });\n    }\n    /**\n     * Generates uri for connection.\n     *\n     * @private\n     */\n    uri() {\n        const schema = this.opts.secure ? \"https\" : \"http\";\n        const query = this.query || {};\n        // cache busting is forced\n        if (false !== this.opts.timestampRequests) {\n            query[this.opts.timestampParam] = randomString();\n        }\n        if (!this.supportsBinary && !query.sid) {\n            query.b64 = 1;\n        }\n        return this.createUri(schema, query);\n    }\n}\n","// imported from https://github.com/component/has-cors\nlet value = false;\ntry {\n    value = typeof XMLHttpRequest !== 'undefined' &&\n        'withCredentials' in new XMLHttpRequest();\n}\ncatch (err) {\n    // if XMLHttp support is disabled in IE then it will throw\n    // when trying to create\n}\nexport const hasCORS = value;\n","import { Polling } from \"./polling.js\";\nimport { Emitter } from \"@socket.io/component-emitter\";\nimport { installTimerFunctions, pick } from \"../util.js\";\nimport { globalThisShim as globalThis } from \"../globals.node.js\";\nimport { hasCORS } from \"../contrib/has-cors.js\";\nfunction empty() { }\nexport class BaseXHR extends Polling {\n    /**\n     * XHR Polling constructor.\n     *\n     * @param {Object} opts\n     * @package\n     */\n    constructor(opts) {\n        super(opts);\n        if (typeof location !== \"undefined\") {\n            const isSSL = \"https:\" === location.protocol;\n            let port = location.port;\n            // some user agents have empty `location.port`\n            if (!port) {\n                port = isSSL ? \"443\" : \"80\";\n            }\n            this.xd =\n                (typeof location !== \"undefined\" &&\n                    opts.hostname !== location.hostname) ||\n                    port !== opts.port;\n        }\n    }\n    /**\n     * Sends data.\n     *\n     * @param {String} data to send.\n     * @param {Function} called upon flush.\n     * @private\n     */\n    doWrite(data, fn) {\n        const req = this.request({\n            method: \"POST\",\n            data: data,\n        });\n        req.on(\"success\", fn);\n        req.on(\"error\", (xhrStatus, context) => {\n            this.onError(\"xhr post error\", xhrStatus, context);\n        });\n    }\n    /**\n     * Starts a poll cycle.\n     *\n     * @private\n     */\n    doPoll() {\n        const req = this.request();\n        req.on(\"data\", this.onData.bind(this));\n        req.on(\"error\", (xhrStatus, context) => {\n            this.onError(\"xhr poll error\", xhrStatus, context);\n        });\n        this.pollXhr = req;\n    }\n}\nexport class Request extends Emitter {\n    /**\n     * Request constructor\n     *\n     * @param {Object} options\n     * @package\n     */\n    constructor(createRequest, uri, opts) {\n        super();\n        this.createRequest = createRequest;\n        installTimerFunctions(this, opts);\n        this._opts = opts;\n        this._method = opts.method || \"GET\";\n        this._uri = uri;\n        this._data = undefined !== opts.data ? opts.data : null;\n        this._create();\n    }\n    /**\n     * Creates the XHR object and sends the request.\n     *\n     * @private\n     */\n    _create() {\n        var _a;\n        const opts = pick(this._opts, \"agent\", \"pfx\", \"key\", \"passphrase\", \"cert\", \"ca\", \"ciphers\", \"rejectUnauthorized\", \"autoUnref\");\n        opts.xdomain = !!this._opts.xd;\n        const xhr = (this._xhr = this.createRequest(opts));\n        try {\n            xhr.open(this._method, this._uri, true);\n            try {\n                if (this._opts.extraHeaders) {\n                    // @ts-ignore\n                    xhr.setDisableHeaderCheck && xhr.setDisableHeaderCheck(true);\n                    for (let i in this._opts.extraHeaders) {\n                        if (this._opts.extraHeaders.hasOwnProperty(i)) {\n                            xhr.setRequestHeader(i, this._opts.extraHeaders[i]);\n                        }\n                    }\n                }\n            }\n            catch (e) { }\n            if (\"POST\" === this._method) {\n                try {\n                    xhr.setRequestHeader(\"Content-type\", \"text/plain;charset=UTF-8\");\n                }\n                catch (e) { }\n            }\n            try {\n                xhr.setRequestHeader(\"Accept\", \"*/*\");\n            }\n            catch (e) { }\n            (_a = this._opts.cookieJar) === null || _a === void 0 ? void 0 : _a.addCookies(xhr);\n            // ie6 check\n            if (\"withCredentials\" in xhr) {\n                xhr.withCredentials = this._opts.withCredentials;\n            }\n            if (this._opts.requestTimeout) {\n                xhr.timeout = this._opts.requestTimeout;\n            }\n            xhr.onreadystatechange = () => {\n                var _a;\n                if (xhr.readyState === 3) {\n                    (_a = this._opts.cookieJar) === null || _a === void 0 ? void 0 : _a.parseCookies(\n                    // @ts-ignore\n                    xhr.getResponseHeader(\"set-cookie\"));\n                }\n                if (4 !== xhr.readyState)\n                    return;\n                if (200 === xhr.status || 1223 === xhr.status) {\n                    this._onLoad();\n                }\n                else {\n                    // make sure the `error` event handler that's user-set\n                    // does not throw in the same tick and gets caught here\n                    this.setTimeoutFn(() => {\n                        this._onError(typeof xhr.status === \"number\" ? xhr.status : 0);\n                    }, 0);\n                }\n            };\n            xhr.send(this._data);\n        }\n        catch (e) {\n            // Need to defer since .create() is called directly from the constructor\n            // and thus the 'error' event can only be only bound *after* this exception\n            // occurs.  Therefore, also, we cannot throw here at all.\n            this.setTimeoutFn(() => {\n                this._onError(e);\n            }, 0);\n            return;\n        }\n        if (typeof document !== \"undefined\") {\n            this._index = Request.requestsCount++;\n            Request.requests[this._index] = this;\n        }\n    }\n    /**\n     * Called upon error.\n     *\n     * @private\n     */\n    _onError(err) {\n        this.emitReserved(\"error\", err, this._xhr);\n        this._cleanup(true);\n    }\n    /**\n     * Cleans up house.\n     *\n     * @private\n     */\n    _cleanup(fromError) {\n        if (\"undefined\" === typeof this._xhr || null === this._xhr) {\n            return;\n        }\n        this._xhr.onreadystatechange = empty;\n        if (fromError) {\n            try {\n                this._xhr.abort();\n            }\n            catch (e) { }\n        }\n        if (typeof document !== \"undefined\") {\n            delete Request.requests[this._index];\n        }\n        this._xhr = null;\n    }\n    /**\n     * Called upon load.\n     *\n     * @private\n     */\n    _onLoad() {\n        const data = this._xhr.responseText;\n        if (data !== null) {\n            this.emitReserved(\"data\", data);\n            this.emitReserved(\"success\");\n            this._cleanup();\n        }\n    }\n    /**\n     * Aborts the request.\n     *\n     * @package\n     */\n    abort() {\n        this._cleanup();\n    }\n}\nRequest.requestsCount = 0;\nRequest.requests = {};\n/**\n * Aborts pending requests when unloading the window. This is needed to prevent\n * memory leaks (e.g. when using IE) and to ensure that no spurious error is\n * emitted.\n */\nif (typeof document !== \"undefined\") {\n    // @ts-ignore\n    if (typeof attachEvent === \"function\") {\n        // @ts-ignore\n        attachEvent(\"onunload\", unloadHandler);\n    }\n    else if (typeof addEventListener === \"function\") {\n        const terminationEvent = \"onpagehide\" in globalThis ? \"pagehide\" : \"unload\";\n        addEventListener(terminationEvent, unloadHandler, false);\n    }\n}\nfunction unloadHandler() {\n    for (let i in Request.requests) {\n        if (Request.requests.hasOwnProperty(i)) {\n            Request.requests[i].abort();\n        }\n    }\n}\nconst hasXHR2 = (function () {\n    const xhr = newRequest({\n        xdomain: false,\n    });\n    return xhr && xhr.responseType !== null;\n})();\n/**\n * HTTP long-polling based on the built-in `XMLHttpRequest` object.\n *\n * Usage: browser\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest\n */\nexport class XHR extends BaseXHR {\n    constructor(opts) {\n        super(opts);\n        const forceBase64 = opts && opts.forceBase64;\n        this.supportsBinary = hasXHR2 && !forceBase64;\n    }\n    request(opts = {}) {\n        Object.assign(opts, { xd: this.xd }, this.opts);\n        return new Request(newRequest, this.uri(), opts);\n    }\n}\nfunction newRequest(opts) {\n    const xdomain = opts.xdomain;\n    // XMLHttpRequest can be disabled on IE\n    try {\n        if (\"undefined\" !== typeof XMLHttpRequest && (!xdomain || hasCORS)) {\n            return new XMLHttpRequest();\n        }\n    }\n    catch (e) { }\n    if (!xdomain) {\n        try {\n            return new globalThis[[\"Active\"].concat(\"Object\").join(\"X\")](\"Microsoft.XMLHTTP\");\n        }\n        catch (e) { }\n    }\n}\n","import { Transport } from \"../transport.js\";\nimport { pick, randomString } from \"../util.js\";\nimport { encodePacket } from \"engine.io-parser\";\nimport { globalThisShim as globalThis, nextTick } from \"../globals.node.js\";\n// detect ReactNative environment\nconst isReactNative = typeof navigator !== \"undefined\" &&\n    typeof navigator.product === \"string\" &&\n    navigator.product.toLowerCase() === \"reactnative\";\nexport class BaseWS extends Transport {\n    get name() {\n        return \"websocket\";\n    }\n    doOpen() {\n        const uri = this.uri();\n        const protocols = this.opts.protocols;\n        // React Native only supports the 'headers' option, and will print a warning if anything else is passed\n        const opts = isReactNative\n            ? {}\n            : pick(this.opts, \"agent\", \"perMessageDeflate\", \"pfx\", \"key\", \"passphrase\", \"cert\", \"ca\", \"ciphers\", \"rejectUnauthorized\", \"localAddress\", \"protocolVersion\", \"origin\", \"maxPayload\", \"family\", \"checkServerIdentity\");\n        if (this.opts.extraHeaders) {\n            opts.headers = this.opts.extraHeaders;\n        }\n        try {\n            this.ws = this.createSocket(uri, protocols, opts);\n        }\n        catch (err) {\n            return this.emitReserved(\"error\", err);\n        }\n        this.ws.binaryType = this.socket.binaryType;\n        this.addEventListeners();\n    }\n    /**\n     * Adds event listeners to the socket\n     *\n     * @private\n     */\n    addEventListeners() {\n        this.ws.onopen = () => {\n            if (this.opts.autoUnref) {\n                this.ws._socket.unref();\n            }\n            this.onOpen();\n        };\n        this.ws.onclose = (closeEvent) => this.onClose({\n            description: \"websocket connection closed\",\n            context: closeEvent,\n        });\n        this.ws.onmessage = (ev) => this.onData(ev.data);\n        this.ws.onerror = (e) => this.onError(\"websocket error\", e);\n    }\n    write(packets) {\n        this.writable = false;\n        // encodePacket efficient as it uses WS framing\n        // no need for encodePayload\n        for (let i = 0; i < packets.length; i++) {\n            const packet = packets[i];\n            const lastPacket = i === packets.length - 1;\n            encodePacket(packet, this.supportsBinary, (data) => {\n                // Sometimes the websocket has already been closed but the browser didn't\n                // have a chance of informing us about it yet, in that case send will\n                // throw an error\n                try {\n                    this.doWrite(packet, data);\n                }\n                catch (e) {\n                }\n                if (lastPacket) {\n                    // fake drain\n                    // defer to next tick to allow Socket to clear writeBuffer\n                    nextTick(() => {\n                        this.writable = true;\n                        this.emitReserved(\"drain\");\n                    }, this.setTimeoutFn);\n                }\n            });\n        }\n    }\n    doClose() {\n        if (typeof this.ws !== \"undefined\") {\n            this.ws.onerror = () => { };\n            this.ws.close();\n            this.ws = null;\n        }\n    }\n    /**\n     * Generates uri for connection.\n     *\n     * @private\n     */\n    uri() {\n        const schema = this.opts.secure ? \"wss\" : \"ws\";\n        const query = this.query || {};\n        // append timestamp to URI\n        if (this.opts.timestampRequests) {\n            query[this.opts.timestampParam] = randomString();\n        }\n        // communicate binary support capabilities\n        if (!this.supportsBinary) {\n            query.b64 = 1;\n        }\n        return this.createUri(schema, query);\n    }\n}\nconst WebSocketCtor = globalThis.WebSocket || globalThis.MozWebSocket;\n/**\n * WebSocket transport based on the built-in `WebSocket` object.\n *\n * Usage: browser, Node.js (since v21), Deno, Bun\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/API/WebSocket\n * @see https://caniuse.com/mdn-api_websocket\n * @see https://nodejs.org/api/globals.html#websocket\n */\nexport class WS extends BaseWS {\n    createSocket(uri, protocols, opts) {\n        return !isReactNative\n            ? protocols\n                ? new WebSocketCtor(uri, protocols)\n                : new WebSocketCtor(uri)\n            : new WebSocketCtor(uri, protocols, opts);\n    }\n    doWrite(_packet, data) {\n        this.ws.send(data);\n    }\n}\n","import { Transport } from \"../transport.js\";\nimport { nextTick } from \"../globals.node.js\";\nimport { createPacketDecoderStream, createPacketEncoderStream, } from \"engine.io-parser\";\n/**\n * WebTransport transport based on the built-in `WebTransport` object.\n *\n * Usage: browser, Node.js (with the `@fails-components/webtransport` package)\n *\n * @see https://developer.mozilla.org/en-US/docs/Web/API/WebTransport\n * @see https://caniuse.com/webtransport\n */\nexport class WT extends Transport {\n    get name() {\n        return \"webtransport\";\n    }\n    doOpen() {\n        try {\n            // @ts-ignore\n            this._transport = new WebTransport(this.createUri(\"https\"), this.opts.transportOptions[this.name]);\n        }\n        catch (err) {\n            return this.emitReserved(\"error\", err);\n        }\n        this._transport.closed\n            .then(() => {\n            this.onClose();\n        })\n            .catch((err) => {\n            this.onError(\"webtransport error\", err);\n        });\n        // note: we could have used async/await, but that would require some additional polyfills\n        this._transport.ready.then(() => {\n            this._transport.createBidirectionalStream().then((stream) => {\n                const decoderStream = createPacketDecoderStream(Number.MAX_SAFE_INTEGER, this.socket.binaryType);\n                const reader = stream.readable.pipeThrough(decoderStream).getReader();\n                const encoderStream = createPacketEncoderStream();\n                encoderStream.readable.pipeTo(stream.writable);\n                this._writer = encoderStream.writable.getWriter();\n                const read = () => {\n                    reader\n                        .read()\n                        .then(({ done, value }) => {\n                        if (done) {\n                            return;\n                        }\n                        this.onPacket(value);\n                        read();\n                    })\n                        .catch((err) => {\n                    });\n                };\n                read();\n                const packet = { type: \"open\" };\n                if (this.query.sid) {\n                    packet.data = `{\"sid\":\"${this.query.sid}\"}`;\n                }\n                this._writer.write(packet).then(() => this.onOpen());\n            });\n        });\n    }\n    write(packets) {\n        this.writable = false;\n        for (let i = 0; i < packets.length; i++) {\n            const packet = packets[i];\n            const lastPacket = i === packets.length - 1;\n            this._writer.write(packet).then(() => {\n                if (lastPacket) {\n                    nextTick(() => {\n                        this.writable = true;\n                        this.emitReserved(\"drain\");\n                    }, this.setTimeoutFn);\n                }\n            });\n        }\n    }\n    doClose() {\n        var _a;\n        (_a = this._transport) === null || _a === void 0 ? void 0 : _a.close();\n    }\n}\n","import { XHR } from \"./polling-xhr.node.js\";\nimport { WS } from \"./websocket.node.js\";\nimport { WT } from \"./webtransport.js\";\nexport const transports = {\n    websocket: WS,\n    webtransport: WT,\n    polling: XHR,\n};\n","// imported from https://github.com/galkn/parseuri\n/**\n * Parses a URI\n *\n * Note: we could also have used the built-in URL object, but it isn't supported on all platforms.\n *\n * See:\n * - https://developer.mozilla.org/en-US/docs/Web/API/URL\n * - https://caniuse.com/url\n * - https://www.rfc-editor.org/rfc/rfc3986#appendix-B\n *\n * History of the parse() method:\n * - first commit: https://github.com/socketio/socket.io-client/commit/4ee1d5d94b3906a9c052b459f1a818b15f38f91c\n * - export into its own module: https://github.com/socketio/engine.io-client/commit/de2c561e4564efeb78f1bdb1ba39ef81b2822cb3\n * - reimport: https://github.com/socketio/engine.io-client/commit/df32277c3f6d622eec5ed09f493cae3f3391d242\n *\n * @author Steven Levithan <stevenlevithan.com> (MIT license)\n * @api private\n */\nconst re = /^(?:(?![^:@\\/?#]+:[^:@\\/]*@)(http|https|ws|wss):\\/\\/)?((?:(([^:@\\/?#]*)(?::([^:@\\/?#]*))?)?@)?((?:[a-f0-9]{0,4}:){2,7}[a-f0-9]{0,4}|[^:\\/?#]*)(?::(\\d*))?)(((\\/(?:[^?#](?![^?#\\/]*\\.[^?#\\/.]+(?:[?#]|$)))*\\/?)?([^?#\\/]*))(?:\\?([^#]*))?(?:#(.*))?)/;\nconst parts = [\n    'source', 'protocol', 'authority', 'userInfo', 'user', 'password', 'host', 'port', 'relative', 'path', 'directory', 'file', 'query', 'anchor'\n];\nexport function parse(str) {\n    if (str.length > 8000) {\n        throw \"URI too long\";\n    }\n    const src = str, b = str.indexOf('['), e = str.indexOf(']');\n    if (b != -1 && e != -1) {\n        str = str.substring(0, b) + str.substring(b, e).replace(/:/g, ';') + str.substring(e, str.length);\n    }\n    let m = re.exec(str || ''), uri = {}, i = 14;\n    while (i--) {\n        uri[parts[i]] = m[i] || '';\n    }\n    if (b != -1 && e != -1) {\n        uri.source = src;\n        uri.host = uri.host.substring(1, uri.host.length - 1).replace(/;/g, ':');\n        uri.authority = uri.authority.replace('[', '').replace(']', '').replace(/;/g, ':');\n        uri.ipv6uri = true;\n    }\n    uri.pathNames = pathNames(uri, uri['path']);\n    uri.queryKey = queryKey(uri, uri['query']);\n    return uri;\n}\nfunction pathNames(obj, path) {\n    const regx = /\\/{2,9}/g, names = path.replace(regx, \"/\").split(\"/\");\n    if (path.slice(0, 1) == '/' || path.length === 0) {\n        names.splice(0, 1);\n    }\n    if (path.slice(-1) == '/') {\n        names.splice(names.length - 1, 1);\n    }\n    return names;\n}\nfunction queryKey(uri, query) {\n    const data = {};\n    query.replace(/(?:^|&)([^&=]*)=?([^&]*)/g, function ($0, $1, $2) {\n        if ($1) {\n            data[$1] = $2;\n        }\n    });\n    return data;\n}\n","import { transports as DEFAULT_TRANSPORTS } from \"./transports/index.js\";\nimport { installTimerFunctions, byteLength } from \"./util.js\";\nimport { decode } from \"./contrib/parseqs.js\";\nimport { parse } from \"./contrib/parseuri.js\";\nimport { Emitter } from \"@socket.io/component-emitter\";\nimport { protocol } from \"engine.io-parser\";\nimport { createCookieJar, defaultBinaryType, nextTick, } from \"./globals.node.js\";\nconst withEventListeners = typeof addEventListener === \"function\" &&\n    typeof removeEventListener === \"function\";\nconst OFFLINE_EVENT_LISTENERS = [];\nif (withEventListeners) {\n    // within a ServiceWorker, any event handler for the 'offline' event must be added on the initial evaluation of the\n    // script, so we create one single event listener here which will forward the event to the socket instances\n    addEventListener(\"offline\", () => {\n        OFFLINE_EVENT_LISTENERS.forEach((listener) => listener());\n    }, false);\n}\n/**\n * This class provides a WebSocket-like interface to connect to an Engine.IO server. The connection will be established\n * with one of the available low-level transports, like HTTP long-polling, WebSocket or WebTransport.\n *\n * This class comes without upgrade mechanism, which means that it will keep the first low-level transport that\n * successfully establishes the connection.\n *\n * In order to allow tree-shaking, there are no transports included, that's why the `transports` option is mandatory.\n *\n * @example\n * import { SocketWithoutUpgrade, WebSocket } from \"engine.io-client\";\n *\n * const socket = new SocketWithoutUpgrade({\n *   transports: [WebSocket]\n * });\n *\n * socket.on(\"open\", () => {\n *   socket.send(\"hello\");\n * });\n *\n * @see SocketWithUpgrade\n * @see Socket\n */\nexport class SocketWithoutUpgrade extends Emitter {\n    /**\n     * Socket constructor.\n     *\n     * @param {String|Object} uri - uri or options\n     * @param {Object} opts - options\n     */\n    constructor(uri, opts) {\n        super();\n        this.binaryType = defaultBinaryType;\n        this.writeBuffer = [];\n        this._prevBufferLen = 0;\n        this._pingInterval = -1;\n        this._pingTimeout = -1;\n        this._maxPayload = -1;\n        /**\n         * The expiration timestamp of the {@link _pingTimeoutTimer} object is tracked, in case the timer is throttled and the\n         * callback is not fired on time. This can happen for example when a laptop is suspended or when a phone is locked.\n         */\n        this._pingTimeoutTime = Infinity;\n        if (uri && \"object\" === typeof uri) {\n            opts = uri;\n            uri = null;\n        }\n        if (uri) {\n            const parsedUri = parse(uri);\n            opts.hostname = parsedUri.host;\n            opts.secure =\n                parsedUri.protocol === \"https\" || parsedUri.protocol === \"wss\";\n            opts.port = parsedUri.port;\n            if (parsedUri.query)\n                opts.query = parsedUri.query;\n        }\n        else if (opts.host) {\n            opts.hostname = parse(opts.host).host;\n        }\n        installTimerFunctions(this, opts);\n        this.secure =\n            null != opts.secure\n                ? opts.secure\n                : typeof location !== \"undefined\" && \"https:\" === location.protocol;\n        if (opts.hostname && !opts.port) {\n            // if no port is specified manually, use the protocol default\n            opts.port = this.secure ? \"443\" : \"80\";\n        }\n        this.hostname =\n            opts.hostname ||\n                (typeof location !== \"undefined\" ? location.hostname : \"localhost\");\n        this.port =\n            opts.port ||\n                (typeof location !== \"undefined\" && location.port\n                    ? location.port\n                    : this.secure\n                        ? \"443\"\n                        : \"80\");\n        this.transports = [];\n        this._transportsByName = {};\n        opts.transports.forEach((t) => {\n            const transportName = t.prototype.name;\n            this.transports.push(transportName);\n            this._transportsByName[transportName] = t;\n        });\n        this.opts = Object.assign({\n            path: \"/engine.io\",\n            agent: false,\n            withCredentials: false,\n            upgrade: true,\n            timestampParam: \"t\",\n            rememberUpgrade: false,\n            addTrailingSlash: true,\n            rejectUnauthorized: true,\n            perMessageDeflate: {\n                threshold: 1024,\n            },\n            transportOptions: {},\n            closeOnBeforeunload: false,\n        }, opts);\n        this.opts.path =\n            this.opts.path.replace(/\\/$/, \"\") +\n                (this.opts.addTrailingSlash ? \"/\" : \"\");\n        if (typeof this.opts.query === \"string\") {\n            this.opts.query = decode(this.opts.query);\n        }\n        if (withEventListeners) {\n            if (this.opts.closeOnBeforeunload) {\n                // Firefox closes the connection when the \"beforeunload\" event is emitted but not Chrome. This event listener\n                // ensures every browser behaves the same (no \"disconnect\" event at the Socket.IO level when the page is\n                // closed/reloaded)\n                this._beforeunloadEventListener = () => {\n                    if (this.transport) {\n                        // silently close the transport\n                        this.transport.removeAllListeners();\n                        this.transport.close();\n                    }\n                };\n                addEventListener(\"beforeunload\", this._beforeunloadEventListener, false);\n            }\n            if (this.hostname !== \"localhost\") {\n                this._offlineEventListener = () => {\n                    this._onClose(\"transport close\", {\n                        description: \"network connection lost\",\n                    });\n                };\n                OFFLINE_EVENT_LISTENERS.push(this._offlineEventListener);\n            }\n        }\n        if (this.opts.withCredentials) {\n            this._cookieJar = createCookieJar();\n        }\n        this._open();\n    }\n    /**\n     * Creates transport of the given type.\n     *\n     * @param {String} name - transport name\n     * @return {Transport}\n     * @private\n     */\n    createTransport(name) {\n        const query = Object.assign({}, this.opts.query);\n        // append engine.io protocol identifier\n        query.EIO = protocol;\n        // transport name\n        query.transport = name;\n        // session id if we already have one\n        if (this.id)\n            query.sid = this.id;\n        const opts = Object.assign({}, this.opts, {\n            query,\n            socket: this,\n            hostname: this.hostname,\n            secure: this.secure,\n            port: this.port,\n        }, this.opts.transportOptions[name]);\n        return new this._transportsByName[name](opts);\n    }\n    /**\n     * Initializes transport to use and starts probe.\n     *\n     * @private\n     */\n    _open() {\n        if (this.transports.length === 0) {\n            // Emit error on next tick so it can be listened to\n            this.setTimeoutFn(() => {\n                this.emitReserved(\"error\", \"No transports available\");\n            }, 0);\n            return;\n        }\n        const transportName = this.opts.rememberUpgrade &&\n            SocketWithoutUpgrade.priorWebsocketSuccess &&\n            this.transports.indexOf(\"websocket\") !== -1\n            ? \"websocket\"\n            : this.transports[0];\n        this.readyState = \"opening\";\n        const transport = this.createTransport(transportName);\n        transport.open();\n        this.setTransport(transport);\n    }\n    /**\n     * Sets the current transport. Disables the existing one (if any).\n     *\n     * @private\n     */\n    setTransport(transport) {\n        if (this.transport) {\n            this.transport.removeAllListeners();\n        }\n        // set up transport\n        this.transport = transport;\n        // set up transport listeners\n        transport\n            .on(\"drain\", this._onDrain.bind(this))\n            .on(\"packet\", this._onPacket.bind(this))\n            .on(\"error\", this._onError.bind(this))\n            .on(\"close\", (reason) => this._onClose(\"transport close\", reason));\n    }\n    /**\n     * Called when connection is deemed open.\n     *\n     * @private\n     */\n    onOpen() {\n        this.readyState = \"open\";\n        SocketWithoutUpgrade.priorWebsocketSuccess =\n            \"websocket\" === this.transport.name;\n        this.emitReserved(\"open\");\n        this.flush();\n    }\n    /**\n     * Handles a packet.\n     *\n     * @private\n     */\n    _onPacket(packet) {\n        if (\"opening\" === this.readyState ||\n            \"open\" === this.readyState ||\n            \"closing\" === this.readyState) {\n            this.emitReserved(\"packet\", packet);\n            // Socket is live - any packet counts\n            this.emitReserved(\"heartbeat\");\n            switch (packet.type) {\n                case \"open\":\n                    this.onHandshake(JSON.parse(packet.data));\n                    break;\n                case \"ping\":\n                    this._sendPacket(\"pong\");\n                    this.emitReserved(\"ping\");\n                    this.emitReserved(\"pong\");\n                    this._resetPingTimeout();\n                    break;\n                case \"error\":\n                    const err = new Error(\"server error\");\n                    // @ts-ignore\n                    err.code = packet.data;\n                    this._onError(err);\n                    break;\n                case \"message\":\n                    this.emitReserved(\"data\", packet.data);\n                    this.emitReserved(\"message\", packet.data);\n                    break;\n            }\n        }\n        else {\n        }\n    }\n    /**\n     * Called upon handshake completion.\n     *\n     * @param {Object} data - handshake obj\n     * @private\n     */\n    onHandshake(data) {\n        this.emitReserved(\"handshake\", data);\n        this.id = data.sid;\n        this.transport.query.sid = data.sid;\n        this._pingInterval = data.pingInterval;\n        this._pingTimeout = data.pingTimeout;\n        this._maxPayload = data.maxPayload;\n        this.onOpen();\n        // In case open handler closes socket\n        if (\"closed\" === this.readyState)\n            return;\n        this._resetPingTimeout();\n    }\n    /**\n     * Sets and resets ping timeout timer based on server pings.\n     *\n     * @private\n     */\n    _resetPingTimeout() {\n        this.clearTimeoutFn(this._pingTimeoutTimer);\n        const delay = this._pingInterval + this._pingTimeout;\n        this._pingTimeoutTime = Date.now() + delay;\n        this._pingTimeoutTimer = this.setTimeoutFn(() => {\n            this._onClose(\"ping timeout\");\n        }, delay);\n        if (this.opts.autoUnref) {\n            this._pingTimeoutTimer.unref();\n        }\n    }\n    /**\n     * Called on `drain` event\n     *\n     * @private\n     */\n    _onDrain() {\n        this.writeBuffer.splice(0, this._prevBufferLen);\n        // setting prevBufferLen = 0 is very important\n        // for example, when upgrading, upgrade packet is sent over,\n        // and a nonzero prevBufferLen could cause problems on `drain`\n        this._prevBufferLen = 0;\n        if (0 === this.writeBuffer.length) {\n            this.emitReserved(\"drain\");\n        }\n        else {\n            this.flush();\n        }\n    }\n    /**\n     * Flush write buffers.\n     *\n     * @private\n     */\n    flush() {\n        if (\"closed\" !== this.readyState &&\n            this.transport.writable &&\n            !this.upgrading &&\n            this.writeBuffer.length) {\n            const packets = this._getWritablePackets();\n            this.transport.send(packets);\n            // keep track of current length of writeBuffer\n            // splice writeBuffer and callbackBuffer on `drain`\n            this._prevBufferLen = packets.length;\n            this.emitReserved(\"flush\");\n        }\n    }\n    /**\n     * Ensure the encoded size of the writeBuffer is below the maxPayload value sent by the server (only for HTTP\n     * long-polling)\n     *\n     * @private\n     */\n    _getWritablePackets() {\n        const shouldCheckPayloadSize = this._maxPayload &&\n            this.transport.name === \"polling\" &&\n            this.writeBuffer.length > 1;\n        if (!shouldCheckPayloadSize) {\n            return this.writeBuffer;\n        }\n        let payloadSize = 1; // first packet type\n        for (let i = 0; i < this.writeBuffer.length; i++) {\n            const data = this.writeBuffer[i].data;\n            if (data) {\n                payloadSize += byteLength(data);\n            }\n            if (i > 0 && payloadSize > this._maxPayload) {\n                return this.writeBuffer.slice(0, i);\n            }\n            payloadSize += 2; // separator + packet type\n        }\n        return this.writeBuffer;\n    }\n    /**\n     * Checks whether the heartbeat timer has expired but the socket has not yet been notified.\n     *\n     * Note: this method is private for now because it does not really fit the WebSocket API, but if we put it in the\n     * `write()` method then the message would not be buffered by the Socket.IO client.\n     *\n     * @return {boolean}\n     * @private\n     */\n    /* private */ _hasPingExpired() {\n        if (!this._pingTimeoutTime)\n            return true;\n        const hasExpired = Date.now() > this._pingTimeoutTime;\n        if (hasExpired) {\n            this._pingTimeoutTime = 0;\n            nextTick(() => {\n                this._onClose(\"ping timeout\");\n            }, this.setTimeoutFn);\n        }\n        return hasExpired;\n    }\n    /**\n     * Sends a message.\n     *\n     * @param {String} msg - message.\n     * @param {Object} options.\n     * @param {Function} fn - callback function.\n     * @return {Socket} for chaining.\n     */\n    write(msg, options, fn) {\n        this._sendPacket(\"message\", msg, options, fn);\n        return this;\n    }\n    /**\n     * Sends a message. Alias of {@link Socket#write}.\n     *\n     * @param {String} msg - message.\n     * @param {Object} options.\n     * @param {Function} fn - callback function.\n     * @return {Socket} for chaining.\n     */\n    send(msg, options, fn) {\n        this._sendPacket(\"message\", msg, options, fn);\n        return this;\n    }\n    /**\n     * Sends a packet.\n     *\n     * @param {String} type: packet type.\n     * @param {String} data.\n     * @param {Object} options.\n     * @param {Function} fn - callback function.\n     * @private\n     */\n    _sendPacket(type, data, options, fn) {\n        if (\"function\" === typeof data) {\n            fn = data;\n            data = undefined;\n        }\n        if (\"function\" === typeof options) {\n            fn = options;\n            options = null;\n        }\n        if (\"closing\" === this.readyState || \"closed\" === this.readyState) {\n            return;\n        }\n        options = options || {};\n        options.compress = false !== options.compress;\n        const packet = {\n            type: type,\n            data: data,\n            options: options,\n        };\n        this.emitReserved(\"packetCreate\", packet);\n        this.writeBuffer.push(packet);\n        if (fn)\n            this.once(\"flush\", fn);\n        this.flush();\n    }\n    /**\n     * Closes the connection.\n     */\n    close() {\n        const close = () => {\n            this._onClose(\"forced close\");\n            this.transport.close();\n        };\n        const cleanupAndClose = () => {\n            this.off(\"upgrade\", cleanupAndClose);\n            this.off(\"upgradeError\", cleanupAndClose);\n            close();\n        };\n        const waitForUpgrade = () => {\n            // wait for upgrade to finish since we can't send packets while pausing a transport\n            this.once(\"upgrade\", cleanupAndClose);\n            this.once(\"upgradeError\", cleanupAndClose);\n        };\n        if (\"opening\" === this.readyState || \"open\" === this.readyState) {\n            this.readyState = \"closing\";\n            if (this.writeBuffer.length) {\n                this.once(\"drain\", () => {\n                    if (this.upgrading) {\n                        waitForUpgrade();\n                    }\n                    else {\n                        close();\n                    }\n                });\n            }\n            else if (this.upgrading) {\n                waitForUpgrade();\n            }\n            else {\n                close();\n            }\n        }\n        return this;\n    }\n    /**\n     * Called upon transport error\n     *\n     * @private\n     */\n    _onError(err) {\n        SocketWithoutUpgrade.priorWebsocketSuccess = false;\n        if (this.opts.tryAllTransports &&\n            this.transports.length > 1 &&\n            this.readyState === \"opening\") {\n            this.transports.shift();\n            return this._open();\n        }\n        this.emitReserved(\"error\", err);\n        this._onClose(\"transport error\", err);\n    }\n    /**\n     * Called upon transport close.\n     *\n     * @private\n     */\n    _onClose(reason, description) {\n        if (\"opening\" === this.readyState ||\n            \"open\" === this.readyState ||\n            \"closing\" === this.readyState) {\n            // clear timers\n            this.clearTimeoutFn(this._pingTimeoutTimer);\n            // stop event from firing again for transport\n            this.transport.removeAllListeners(\"close\");\n            // ensure transport won't stay open\n            this.transport.close();\n            // ignore further transport communication\n            this.transport.removeAllListeners();\n            if (withEventListeners) {\n                if (this._beforeunloadEventListener) {\n                    removeEventListener(\"beforeunload\", this._beforeunloadEventListener, false);\n                }\n                if (this._offlineEventListener) {\n                    const i = OFFLINE_EVENT_LISTENERS.indexOf(this._offlineEventListener);\n                    if (i !== -1) {\n                        OFFLINE_EVENT_LISTENERS.splice(i, 1);\n                    }\n                }\n            }\n            // set ready state\n            this.readyState = \"closed\";\n            // clear session id\n            this.id = null;\n            // emit close event\n            this.emitReserved(\"close\", reason, description);\n            // clean buffers after, so users can still\n            // grab the buffers on `close` event\n            this.writeBuffer = [];\n            this._prevBufferLen = 0;\n        }\n    }\n}\nSocketWithoutUpgrade.protocol = protocol;\n/**\n * This class provides a WebSocket-like interface to connect to an Engine.IO server. The connection will be established\n * with one of the available low-level transports, like HTTP long-polling, WebSocket or WebTransport.\n *\n * This class comes with an upgrade mechanism, which means that once the connection is established with the first\n * low-level transport, it will try to upgrade to a better transport.\n *\n * In order to allow tree-shaking, there are no transports included, that's why the `transports` option is mandatory.\n *\n * @example\n * import { SocketWithUpgrade, WebSocket } from \"engine.io-client\";\n *\n * const socket = new SocketWithUpgrade({\n *   transports: [WebSocket]\n * });\n *\n * socket.on(\"open\", () => {\n *   socket.send(\"hello\");\n * });\n *\n * @see SocketWithoutUpgrade\n * @see Socket\n */\nexport class SocketWithUpgrade extends SocketWithoutUpgrade {\n    constructor() {\n        super(...arguments);\n        this._upgrades = [];\n    }\n    onOpen() {\n        super.onOpen();\n        if (\"open\" === this.readyState && this.opts.upgrade) {\n            for (let i = 0; i < this._upgrades.length; i++) {\n                this._probe(this._upgrades[i]);\n            }\n        }\n    }\n    /**\n     * Probes a transport.\n     *\n     * @param {String} name - transport name\n     * @private\n     */\n    _probe(name) {\n        let transport = this.createTransport(name);\n        let failed = false;\n        SocketWithoutUpgrade.priorWebsocketSuccess = false;\n        const onTransportOpen = () => {\n            if (failed)\n                return;\n            transport.send([{ type: \"ping\", data: \"probe\" }]);\n            transport.once(\"packet\", (msg) => {\n                if (failed)\n                    return;\n                if (\"pong\" === msg.type && \"probe\" === msg.data) {\n                    this.upgrading = true;\n                    this.emitReserved(\"upgrading\", transport);\n                    if (!transport)\n                        return;\n                    SocketWithoutUpgrade.priorWebsocketSuccess =\n                        \"websocket\" === transport.name;\n                    this.transport.pause(() => {\n                        if (failed)\n                            return;\n                        if (\"closed\" === this.readyState)\n                            return;\n                        cleanup();\n                        this.setTransport(transport);\n                        transport.send([{ type: \"upgrade\" }]);\n                        this.emitReserved(\"upgrade\", transport);\n                        transport = null;\n                        this.upgrading = false;\n                        this.flush();\n                    });\n                }\n                else {\n                    const err = new Error(\"probe error\");\n                    // @ts-ignore\n                    err.transport = transport.name;\n                    this.emitReserved(\"upgradeError\", err);\n                }\n            });\n        };\n        function freezeTransport() {\n            if (failed)\n                return;\n            // Any callback called by transport should be ignored since now\n            failed = true;\n            cleanup();\n            transport.close();\n            transport = null;\n        }\n        // Handle any error that happens while probing\n        const onerror = (err) => {\n            const error = new Error(\"probe error: \" + err);\n            // @ts-ignore\n            error.transport = transport.name;\n            freezeTransport();\n            this.emitReserved(\"upgradeError\", error);\n        };\n        function onTransportClose() {\n            onerror(\"transport closed\");\n        }\n        // When the socket is closed while we're probing\n        function onclose() {\n            onerror(\"socket closed\");\n        }\n        // When the socket is upgraded while we're probing\n        function onupgrade(to) {\n            if (transport && to.name !== transport.name) {\n                freezeTransport();\n            }\n        }\n        // Remove all listeners on the transport and on self\n        const cleanup = () => {\n            transport.removeListener(\"open\", onTransportOpen);\n            transport.removeListener(\"error\", onerror);\n            transport.removeListener(\"close\", onTransportClose);\n            this.off(\"close\", onclose);\n            this.off(\"upgrading\", onupgrade);\n        };\n        transport.once(\"open\", onTransportOpen);\n        transport.once(\"error\", onerror);\n        transport.once(\"close\", onTransportClose);\n        this.once(\"close\", onclose);\n        this.once(\"upgrading\", onupgrade);\n        if (this._upgrades.indexOf(\"webtransport\") !== -1 &&\n            name !== \"webtransport\") {\n            // favor WebTransport\n            this.setTimeoutFn(() => {\n                if (!failed) {\n                    transport.open();\n                }\n            }, 200);\n        }\n        else {\n            transport.open();\n        }\n    }\n    onHandshake(data) {\n        this._upgrades = this._filterUpgrades(data.upgrades);\n        super.onHandshake(data);\n    }\n    /**\n     * Filters upgrades, returning only those matching client transports.\n     *\n     * @param {Array} upgrades - server upgrades\n     * @private\n     */\n    _filterUpgrades(upgrades) {\n        const filteredUpgrades = [];\n        for (let i = 0; i < upgrades.length; i++) {\n            if (~this.transports.indexOf(upgrades[i]))\n                filteredUpgrades.push(upgrades[i]);\n        }\n        return filteredUpgrades;\n    }\n}\n/**\n * This class provides a WebSocket-like interface to connect to an Engine.IO server. The connection will be established\n * with one of the available low-level transports, like HTTP long-polling, WebSocket or WebTransport.\n *\n * This class comes with an upgrade mechanism, which means that once the connection is established with the first\n * low-level transport, it will try to upgrade to a better transport.\n *\n * @example\n * import { Socket } from \"engine.io-client\";\n *\n * const socket = new Socket();\n *\n * socket.on(\"open\", () => {\n *   socket.send(\"hello\");\n * });\n *\n * @see SocketWithoutUpgrade\n * @see SocketWithUpgrade\n */\nexport class Socket extends SocketWithUpgrade {\n    constructor(uri, opts = {}) {\n        const o = typeof uri === \"object\" ? uri : opts;\n        if (!o.transports ||\n            (o.transports && typeof o.transports[0] === \"string\")) {\n            o.transports = (o.transports || [\"polling\", \"websocket\", \"webtransport\"])\n                .map((transportName) => DEFAULT_TRANSPORTS[transportName])\n                .filter((t) => !!t);\n        }\n        super(uri, o);\n    }\n}\n","import { Socket } from \"./socket.js\";\nexport { Socket };\nexport { SocketWithoutUpgrade, SocketWithUpgrade, } from \"./socket.js\";\nexport const protocol = Socket.protocol;\nexport { Transport, TransportError } from \"./transport.js\";\nexport { transports } from \"./transports/index.js\";\nexport { installTimerFunctions } from \"./util.js\";\nexport { parse } from \"./contrib/parseuri.js\";\nexport { nextTick } from \"./globals.node.js\";\nexport { Fetch } from \"./transports/polling-fetch.js\";\nexport { XHR as NodeXHR } from \"./transports/polling-xhr.node.js\";\nexport { XHR } from \"./transports/polling-xhr.js\";\nexport { WS as NodeWebSocket } from \"./transports/websocket.node.js\";\nexport { WS as WebSocket } from \"./transports/websocket.js\";\nexport { WT as WebTransport } from \"./transports/webtransport.js\";\n","/**\n * Helpers.\n */\n\nvar s = 1000;\nvar m = s * 60;\nvar h = m * 60;\nvar d = h * 24;\nvar w = d * 7;\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 * @throws {Error} throw an error if val is not a non-empty string or a number\n * @return {String|Number}\n * @api public\n */\n\nmodule.exports = function(val, options) {\n  options = options || {};\n  var type = typeof val;\n  if (type === 'string' && val.length > 0) {\n    return parse(val);\n  } else if (type === 'number' && isFinite(val)) {\n    return options.long ? fmtLong(val) : fmtShort(val);\n  }\n  throw new Error(\n    'val is not a non-empty string or a valid number. val=' +\n      JSON.stringify(val)\n  );\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 = String(str);\n  if (str.length > 100) {\n    return;\n  }\n  var match = /^(-?(?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(\n    str\n  );\n  if (!match) {\n    return;\n  }\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 'weeks':\n    case 'week':\n    case 'w':\n      return n * w;\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    default:\n      return undefined;\n  }\n}\n\n/**\n * Short format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtShort(ms) {\n  var msAbs = Math.abs(ms);\n  if (msAbs >= d) {\n    return Math.round(ms / d) + 'd';\n  }\n  if (msAbs >= h) {\n    return Math.round(ms / h) + 'h';\n  }\n  if (msAbs >= m) {\n    return Math.round(ms / m) + 'm';\n  }\n  if (msAbs >= s) {\n    return Math.round(ms / s) + 's';\n  }\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 fmtLong(ms) {\n  var msAbs = Math.abs(ms);\n  if (msAbs >= d) {\n    return plural(ms, msAbs, d, 'day');\n  }\n  if (msAbs >= h) {\n    return plural(ms, msAbs, h, 'hour');\n  }\n  if (msAbs >= m) {\n    return plural(ms, msAbs, m, 'minute');\n  }\n  if (msAbs >= s) {\n    return plural(ms, msAbs, s, 'second');\n  }\n  return ms + ' ms';\n}\n\n/**\n * Pluralization helper.\n */\n\nfunction plural(ms, msAbs, n, name) {\n  var isPlural = msAbs >= n * 1.5;\n  return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');\n}\n","\n/**\n * This is the common logic for both the Node.js and web browser\n * implementations of `debug()`.\n */\n\nfunction setup(env) {\n\tcreateDebug.debug = createDebug;\n\tcreateDebug.default = createDebug;\n\tcreateDebug.coerce = coerce;\n\tcreateDebug.disable = disable;\n\tcreateDebug.enable = enable;\n\tcreateDebug.enabled = enabled;\n\tcreateDebug.humanize = require('ms');\n\tcreateDebug.destroy = destroy;\n\n\tObject.keys(env).forEach(key => {\n\t\tcreateDebug[key] = env[key];\n\t});\n\n\t/**\n\t* The currently active debug mode names, and names to skip.\n\t*/\n\n\tcreateDebug.names = [];\n\tcreateDebug.skips = [];\n\n\t/**\n\t* Map of special \"%n\" handling functions, for the debug \"format\" argument.\n\t*\n\t* Valid key names are a single, lower or upper-case letter, i.e. \"n\" and \"N\".\n\t*/\n\tcreateDebug.formatters = {};\n\n\t/**\n\t* Selects a color for a debug namespace\n\t* @param {String} namespace The namespace string for the debug instance to be colored\n\t* @return {Number|String} An ANSI color code for the given namespace\n\t* @api private\n\t*/\n\tfunction selectColor(namespace) {\n\t\tlet hash = 0;\n\n\t\tfor (let i = 0; i < namespace.length; i++) {\n\t\t\thash = ((hash << 5) - hash) + namespace.charCodeAt(i);\n\t\t\thash |= 0; // Convert to 32bit integer\n\t\t}\n\n\t\treturn createDebug.colors[Math.abs(hash) % createDebug.colors.length];\n\t}\n\tcreateDebug.selectColor = selectColor;\n\n\t/**\n\t* Create a debugger with the given `namespace`.\n\t*\n\t* @param {String} namespace\n\t* @return {Function}\n\t* @api public\n\t*/\n\tfunction createDebug(namespace) {\n\t\tlet prevTime;\n\t\tlet enableOverride = null;\n\t\tlet namespacesCache;\n\t\tlet enabledCache;\n\n\t\tfunction debug(...args) {\n\t\t\t// Disabled?\n\t\t\tif (!debug.enabled) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst self = debug;\n\n\t\t\t// Set `diff` timestamp\n\t\t\tconst curr = Number(new Date());\n\t\t\tconst ms = curr - (prevTime || curr);\n\t\t\tself.diff = ms;\n\t\t\tself.prev = prevTime;\n\t\t\tself.curr = curr;\n\t\t\tprevTime = curr;\n\n\t\t\targs[0] = createDebug.coerce(args[0]);\n\n\t\t\tif (typeof args[0] !== 'string') {\n\t\t\t\t// Anything else let's inspect with %O\n\t\t\t\targs.unshift('%O');\n\t\t\t}\n\n\t\t\t// Apply any `formatters` transformations\n\t\t\tlet index = 0;\n\t\t\targs[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {\n\t\t\t\t// If we encounter an escaped % then don't increase the array index\n\t\t\t\tif (match === '%%') {\n\t\t\t\t\treturn '%';\n\t\t\t\t}\n\t\t\t\tindex++;\n\t\t\t\tconst formatter = createDebug.formatters[format];\n\t\t\t\tif (typeof formatter === 'function') {\n\t\t\t\t\tconst val = args[index];\n\t\t\t\t\tmatch = formatter.call(self, val);\n\n\t\t\t\t\t// Now we need to remove `args[index]` since it's inlined in the `format`\n\t\t\t\t\targs.splice(index, 1);\n\t\t\t\t\tindex--;\n\t\t\t\t}\n\t\t\t\treturn match;\n\t\t\t});\n\n\t\t\t// Apply env-specific formatting (colors, etc.)\n\t\t\tcreateDebug.formatArgs.call(self, args);\n\n\t\t\tconst logFn = self.log || createDebug.log;\n\t\t\tlogFn.apply(self, args);\n\t\t}\n\n\t\tdebug.namespace = namespace;\n\t\tdebug.useColors = createDebug.useColors();\n\t\tdebug.color = createDebug.selectColor(namespace);\n\t\tdebug.extend = extend;\n\t\tdebug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release.\n\n\t\tObject.defineProperty(debug, 'enabled', {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: false,\n\t\t\tget: () => {\n\t\t\t\tif (enableOverride !== null) {\n\t\t\t\t\treturn enableOverride;\n\t\t\t\t}\n\t\t\t\tif (namespacesCache !== createDebug.namespaces) {\n\t\t\t\t\tnamespacesCache = createDebug.namespaces;\n\t\t\t\t\tenabledCache = createDebug.enabled(namespace);\n\t\t\t\t}\n\n\t\t\t\treturn enabledCache;\n\t\t\t},\n\t\t\tset: v => {\n\t\t\t\tenableOverride = v;\n\t\t\t}\n\t\t});\n\n\t\t// Env-specific initialization logic for debug instances\n\t\tif (typeof createDebug.init === 'function') {\n\t\t\tcreateDebug.init(debug);\n\t\t}\n\n\t\treturn debug;\n\t}\n\n\tfunction extend(namespace, delimiter) {\n\t\tconst newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace);\n\t\tnewDebug.log = this.log;\n\t\treturn newDebug;\n\t}\n\n\t/**\n\t* Enables a debug mode by namespaces. This can include modes\n\t* separated by a colon and wildcards.\n\t*\n\t* @param {String} namespaces\n\t* @api public\n\t*/\n\tfunction enable(namespaces) {\n\t\tcreateDebug.save(namespaces);\n\t\tcreateDebug.namespaces = namespaces;\n\n\t\tcreateDebug.names = [];\n\t\tcreateDebug.skips = [];\n\n\t\tlet i;\n\t\tconst split = (typeof namespaces === 'string' ? namespaces : '').split(/[\\s,]+/);\n\t\tconst len = split.length;\n\n\t\tfor (i = 0; i < len; i++) {\n\t\t\tif (!split[i]) {\n\t\t\t\t// ignore empty strings\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tnamespaces = split[i].replace(/\\*/g, '.*?');\n\n\t\t\tif (namespaces[0] === '-') {\n\t\t\t\tcreateDebug.skips.push(new RegExp('^' + namespaces.slice(1) + '$'));\n\t\t\t} else {\n\t\t\t\tcreateDebug.names.push(new RegExp('^' + namespaces + '$'));\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t* Disable debug output.\n\t*\n\t* @return {String} namespaces\n\t* @api public\n\t*/\n\tfunction disable() {\n\t\tconst namespaces = [\n\t\t\t...createDebug.names.map(toNamespace),\n\t\t\t...createDebug.skips.map(toNamespace).map(namespace => '-' + namespace)\n\t\t].join(',');\n\t\tcreateDebug.enable('');\n\t\treturn namespaces;\n\t}\n\n\t/**\n\t* Returns true if the given mode name is enabled, false otherwise.\n\t*\n\t* @param {String} name\n\t* @return {Boolean}\n\t* @api public\n\t*/\n\tfunction enabled(name) {\n\t\tif (name[name.length - 1] === '*') {\n\t\t\treturn true;\n\t\t}\n\n\t\tlet i;\n\t\tlet len;\n\n\t\tfor (i = 0, len = createDebug.skips.length; i < len; i++) {\n\t\t\tif (createDebug.skips[i].test(name)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\tfor (i = 0, len = createDebug.names.length; i < len; i++) {\n\t\t\tif (createDebug.names[i].test(name)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n\n\t/**\n\t* Convert regexp to namespace\n\t*\n\t* @param {RegExp} regxep\n\t* @return {String} namespace\n\t* @api private\n\t*/\n\tfunction toNamespace(regexp) {\n\t\treturn regexp.toString()\n\t\t\t.substring(2, regexp.toString().length - 2)\n\t\t\t.replace(/\\.\\*\\?$/, '*');\n\t}\n\n\t/**\n\t* Coerce `val`.\n\t*\n\t* @param {Mixed} val\n\t* @return {Mixed}\n\t* @api private\n\t*/\n\tfunction coerce(val) {\n\t\tif (val instanceof Error) {\n\t\t\treturn val.stack || val.message;\n\t\t}\n\t\treturn val;\n\t}\n\n\t/**\n\t* XXX DO NOT USE. This is a temporary stub function.\n\t* XXX It WILL be removed in the next major release.\n\t*/\n\tfunction destroy() {\n\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t}\n\n\tcreateDebug.enable(createDebug.load());\n\n\treturn createDebug;\n}\n\nmodule.exports = setup;\n","/* eslint-env browser */\n\n/**\n * This is the web browser implementation of `debug()`.\n */\n\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.storage = localstorage();\nexports.destroy = (() => {\n\tlet warned = false;\n\n\treturn () => {\n\t\tif (!warned) {\n\t\t\twarned = true;\n\t\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t\t}\n\t};\n})();\n\n/**\n * Colors.\n */\n\nexports.colors = [\n\t'#0000CC',\n\t'#0000FF',\n\t'#0033CC',\n\t'#0033FF',\n\t'#0066CC',\n\t'#0066FF',\n\t'#0099CC',\n\t'#0099FF',\n\t'#00CC00',\n\t'#00CC33',\n\t'#00CC66',\n\t'#00CC99',\n\t'#00CCCC',\n\t'#00CCFF',\n\t'#3300CC',\n\t'#3300FF',\n\t'#3333CC',\n\t'#3333FF',\n\t'#3366CC',\n\t'#3366FF',\n\t'#3399CC',\n\t'#3399FF',\n\t'#33CC00',\n\t'#33CC33',\n\t'#33CC66',\n\t'#33CC99',\n\t'#33CCCC',\n\t'#33CCFF',\n\t'#6600CC',\n\t'#6600FF',\n\t'#6633CC',\n\t'#6633FF',\n\t'#66CC00',\n\t'#66CC33',\n\t'#9900CC',\n\t'#9900FF',\n\t'#9933CC',\n\t'#9933FF',\n\t'#99CC00',\n\t'#99CC33',\n\t'#CC0000',\n\t'#CC0033',\n\t'#CC0066',\n\t'#CC0099',\n\t'#CC00CC',\n\t'#CC00FF',\n\t'#CC3300',\n\t'#CC3333',\n\t'#CC3366',\n\t'#CC3399',\n\t'#CC33CC',\n\t'#CC33FF',\n\t'#CC6600',\n\t'#CC6633',\n\t'#CC9900',\n\t'#CC9933',\n\t'#CCCC00',\n\t'#CCCC33',\n\t'#FF0000',\n\t'#FF0033',\n\t'#FF0066',\n\t'#FF0099',\n\t'#FF00CC',\n\t'#FF00FF',\n\t'#FF3300',\n\t'#FF3333',\n\t'#FF3366',\n\t'#FF3399',\n\t'#FF33CC',\n\t'#FF33FF',\n\t'#FF6600',\n\t'#FF6633',\n\t'#FF9900',\n\t'#FF9933',\n\t'#FFCC00',\n\t'#FFCC33'\n];\n\n/**\n * Currently only WebKit-based Web Inspectors, Firefox >= v31,\n * and the Firebug extension (any Firefox version) are known\n * to support \"%c\" CSS customizations.\n *\n * TODO: add a `localStorage` variable to explicitly enable/disable colors\n */\n\n// eslint-disable-next-line complexity\nfunction useColors() {\n\t// NB: In an Electron preload script, document will be defined but not fully\n\t// initialized. Since we know we're in Chrome, we'll just detect this case\n\t// explicitly\n\tif (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) {\n\t\treturn true;\n\t}\n\n\t// Internet Explorer and Edge do not support colors.\n\tif (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\\/(\\d+)/)) {\n\t\treturn false;\n\t}\n\n\t// Is webkit? http://stackoverflow.com/a/16459606/376773\n\t// document is undefined in react-native: https://github.com/facebook/react-native/pull/1632\n\treturn (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||\n\t\t// Is firebug? http://stackoverflow.com/a/398120/376773\n\t\t(typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||\n\t\t// Is firefox >= v31?\n\t\t// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||\n\t\t// Double check webkit in userAgent just in case we are in a worker\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/));\n}\n\n/**\n * Colorize log arguments if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n\targs[0] = (this.useColors ? '%c' : '') +\n\t\tthis.namespace +\n\t\t(this.useColors ? ' %c' : ' ') +\n\t\targs[0] +\n\t\t(this.useColors ? '%c ' : ' ') +\n\t\t'+' + module.exports.humanize(this.diff);\n\n\tif (!this.useColors) {\n\t\treturn;\n\t}\n\n\tconst c = 'color: ' + this.color;\n\targs.splice(1, 0, c, 'color: inherit');\n\n\t// The final \"%c\" is somewhat tricky, because there could be other\n\t// arguments passed either before or after the %c, so we need to\n\t// figure out the correct index to insert the CSS into\n\tlet index = 0;\n\tlet lastC = 0;\n\targs[0].replace(/%[a-zA-Z%]/g, match => {\n\t\tif (match === '%%') {\n\t\t\treturn;\n\t\t}\n\t\tindex++;\n\t\tif (match === '%c') {\n\t\t\t// We only are interested in the *last* %c\n\t\t\t// (the user may have provided their own)\n\t\t\tlastC = index;\n\t\t}\n\t});\n\n\targs.splice(lastC, 0, c);\n}\n\n/**\n * Invokes `console.debug()` when available.\n * No-op when `console.debug` is not a \"function\".\n * If `console.debug` is not available, falls back\n * to `console.log`.\n *\n * @api public\n */\nexports.log = console.debug || console.log || (() => {});\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\nfunction save(namespaces) {\n\ttry {\n\t\tif (namespaces) {\n\t\t\texports.storage.setItem('debug', namespaces);\n\t\t} else {\n\t\t\texports.storage.removeItem('debug');\n\t\t}\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\nfunction load() {\n\tlet r;\n\ttry {\n\t\tr = exports.storage.getItem('debug');\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n\n\t// If debug isn't set in LS, and we're in Electron, try to load $DEBUG\n\tif (!r && typeof process !== 'undefined' && 'env' in process) {\n\t\tr = process.env.DEBUG;\n\t}\n\n\treturn r;\n}\n\n/**\n * Localstorage attempts to return the localstorage.\n *\n * This is necessary because safari throws\n * when a user disables cookies/localstorage\n * and you attempt to access it.\n *\n * @return {LocalStorage}\n * @api private\n */\n\nfunction localstorage() {\n\ttry {\n\t\t// TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context\n\t\t// The Browser also has localStorage in the global context.\n\t\treturn localStorage;\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\nmodule.exports = require('./common')(exports);\n\nconst {formatters} = module.exports;\n\n/**\n * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.\n */\n\nformatters.j = function (v) {\n\ttry {\n\t\treturn JSON.stringify(v);\n\t} catch (error) {\n\t\treturn '[UnexpectedJSONParseError]: ' + error.message;\n\t}\n};\n","import { parse } from \"engine.io-client\";\nimport debugModule from \"debug\"; // debug()\nconst debug = debugModule(\"socket.io-client:url\"); // debug()\n/**\n * URL parser.\n *\n * @param uri - url\n * @param path - the request path of the connection\n * @param loc - An object meant to mimic window.location.\n *        Defaults to window.location.\n * @public\n */\nexport function url(uri, path = \"\", loc) {\n    let obj = uri;\n    // default to window.location\n    loc = loc || (typeof location !== \"undefined\" && location);\n    if (null == uri)\n        uri = loc.protocol + \"//\" + loc.host;\n    // relative path support\n    if (typeof uri === \"string\") {\n        if (\"/\" === uri.charAt(0)) {\n            if (\"/\" === uri.charAt(1)) {\n                uri = loc.protocol + uri;\n            }\n            else {\n                uri = loc.host + uri;\n            }\n        }\n        if (!/^(https?|wss?):\\/\\//.test(uri)) {\n            debug(\"protocol-less url %s\", uri);\n            if (\"undefined\" !== typeof loc) {\n                uri = loc.protocol + \"//\" + uri;\n            }\n            else {\n                uri = \"https://\" + uri;\n            }\n        }\n        // parse\n        debug(\"parse %s\", uri);\n        obj = parse(uri);\n    }\n    // make sure we treat `localhost:80` and `localhost` equally\n    if (!obj.port) {\n        if (/^(http|ws)$/.test(obj.protocol)) {\n            obj.port = \"80\";\n        }\n        else if (/^(http|ws)s$/.test(obj.protocol)) {\n            obj.port = \"443\";\n        }\n    }\n    obj.path = obj.path || \"/\";\n    const ipv6 = obj.host.indexOf(\":\") !== -1;\n    const host = ipv6 ? \"[\" + obj.host + \"]\" : obj.host;\n    // define unique id\n    obj.id = obj.protocol + \"://\" + host + \":\" + obj.port + path;\n    // define href\n    obj.href =\n        obj.protocol +\n            \"://\" +\n            host +\n            (loc && loc.port === obj.port ? \"\" : \":\" + obj.port);\n    return obj;\n}\n","const withNativeArrayBuffer = typeof ArrayBuffer === \"function\";\nconst isView = (obj) => {\n    return typeof ArrayBuffer.isView === \"function\"\n        ? ArrayBuffer.isView(obj)\n        : obj.buffer instanceof ArrayBuffer;\n};\nconst toString = Object.prototype.toString;\nconst withNativeBlob = typeof Blob === \"function\" ||\n    (typeof Blob !== \"undefined\" &&\n        toString.call(Blob) === \"[object BlobConstructor]\");\nconst withNativeFile = typeof File === \"function\" ||\n    (typeof File !== \"undefined\" &&\n        toString.call(File) === \"[object FileConstructor]\");\n/**\n * Returns true if obj is a Buffer, an ArrayBuffer, a Blob or a File.\n *\n * @private\n */\nexport function isBinary(obj) {\n    return ((withNativeArrayBuffer && (obj instanceof ArrayBuffer || isView(obj))) ||\n        (withNativeBlob && obj instanceof Blob) ||\n        (withNativeFile && obj instanceof File));\n}\nexport function hasBinary(obj, toJSON) {\n    if (!obj || typeof obj !== \"object\") {\n        return false;\n    }\n    if (Array.isArray(obj)) {\n        for (let i = 0, l = obj.length; i < l; i++) {\n            if (hasBinary(obj[i])) {\n                return true;\n            }\n        }\n        return false;\n    }\n    if (isBinary(obj)) {\n        return true;\n    }\n    if (obj.toJSON &&\n        typeof obj.toJSON === \"function\" &&\n        arguments.length === 1) {\n        return hasBinary(obj.toJSON(), true);\n    }\n    for (const key in obj) {\n        if (Object.prototype.hasOwnProperty.call(obj, key) && hasBinary(obj[key])) {\n            return true;\n        }\n    }\n    return false;\n}\n","import { isBinary } from \"./is-binary.js\";\n/**\n * Replaces every Buffer | ArrayBuffer | Blob | File in packet with a numbered placeholder.\n *\n * @param {Object} packet - socket.io event packet\n * @return {Object} with deconstructed packet and list of buffers\n * @public\n */\nexport function deconstructPacket(packet) {\n    const buffers = [];\n    const packetData = packet.data;\n    const pack = packet;\n    pack.data = _deconstructPacket(packetData, buffers);\n    pack.attachments = buffers.length; // number of binary 'attachments'\n    return { packet: pack, buffers: buffers };\n}\nfunction _deconstructPacket(data, buffers) {\n    if (!data)\n        return data;\n    if (isBinary(data)) {\n        const placeholder = { _placeholder: true, num: buffers.length };\n        buffers.push(data);\n        return placeholder;\n    }\n    else if (Array.isArray(data)) {\n        const newData = new Array(data.length);\n        for (let i = 0; i < data.length; i++) {\n            newData[i] = _deconstructPacket(data[i], buffers);\n        }\n        return newData;\n    }\n    else if (typeof data === \"object\" && !(data instanceof Date)) {\n        const newData = {};\n        for (const key in data) {\n            if (Object.prototype.hasOwnProperty.call(data, key)) {\n                newData[key] = _deconstructPacket(data[key], buffers);\n            }\n        }\n        return newData;\n    }\n    return data;\n}\n/**\n * Reconstructs a binary packet from its placeholder packet and buffers\n *\n * @param {Object} packet - event packet with placeholders\n * @param {Array} buffers - binary buffers to put in placeholder positions\n * @return {Object} reconstructed packet\n * @public\n */\nexport function reconstructPacket(packet, buffers) {\n    packet.data = _reconstructPacket(packet.data, buffers);\n    delete packet.attachments; // no longer useful\n    return packet;\n}\nfunction _reconstructPacket(data, buffers) {\n    if (!data)\n        return data;\n    if (data && data._placeholder === true) {\n        const isIndexValid = typeof data.num === \"number\" &&\n            data.num >= 0 &&\n            data.num < buffers.length;\n        if (isIndexValid) {\n            return buffers[data.num]; // appropriate buffer (should be natural order anyway)\n        }\n        else {\n            throw new Error(\"illegal attachments\");\n        }\n    }\n    else if (Array.isArray(data)) {\n        for (let i = 0; i < data.length; i++) {\n            data[i] = _reconstructPacket(data[i], buffers);\n        }\n    }\n    else if (typeof data === \"object\") {\n        for (const key in data) {\n            if (Object.prototype.hasOwnProperty.call(data, key)) {\n                data[key] = _reconstructPacket(data[key], buffers);\n            }\n        }\n    }\n    return data;\n}\n","import { Emitter } from \"@socket.io/component-emitter\";\nimport { deconstructPacket, reconstructPacket } from \"./binary.js\";\nimport { isBinary, hasBinary } from \"./is-binary.js\";\n/**\n * These strings must not be used as event names, as they have a special meaning.\n */\nconst RESERVED_EVENTS = [\n    \"connect\", // used on the client side\n    \"connect_error\", // used on the client side\n    \"disconnect\", // used on both sides\n    \"disconnecting\", // used on the server side\n    \"newListener\", // used by the Node.js EventEmitter\n    \"removeListener\", // used by the Node.js EventEmitter\n];\n/**\n * Protocol version.\n *\n * @public\n */\nexport const protocol = 5;\nexport var PacketType;\n(function (PacketType) {\n    PacketType[PacketType[\"CONNECT\"] = 0] = \"CONNECT\";\n    PacketType[PacketType[\"DISCONNECT\"] = 1] = \"DISCONNECT\";\n    PacketType[PacketType[\"EVENT\"] = 2] = \"EVENT\";\n    PacketType[PacketType[\"ACK\"] = 3] = \"ACK\";\n    PacketType[PacketType[\"CONNECT_ERROR\"] = 4] = \"CONNECT_ERROR\";\n    PacketType[PacketType[\"BINARY_EVENT\"] = 5] = \"BINARY_EVENT\";\n    PacketType[PacketType[\"BINARY_ACK\"] = 6] = \"BINARY_ACK\";\n})(PacketType || (PacketType = {}));\n/**\n * A socket.io Encoder instance\n */\nexport class Encoder {\n    /**\n     * Encoder constructor\n     *\n     * @param {function} replacer - custom replacer to pass down to JSON.parse\n     */\n    constructor(replacer) {\n        this.replacer = replacer;\n    }\n    /**\n     * Encode a packet as a single string if non-binary, or as a\n     * buffer sequence, depending on packet type.\n     *\n     * @param {Object} obj - packet object\n     */\n    encode(obj) {\n        if (obj.type === PacketType.EVENT || obj.type === PacketType.ACK) {\n            if (hasBinary(obj)) {\n                return this.encodeAsBinary({\n                    type: obj.type === PacketType.EVENT\n                        ? PacketType.BINARY_EVENT\n                        : PacketType.BINARY_ACK,\n                    nsp: obj.nsp,\n                    data: obj.data,\n                    id: obj.id,\n                });\n            }\n        }\n        return [this.encodeAsString(obj)];\n    }\n    /**\n     * Encode packet as string.\n     */\n    encodeAsString(obj) {\n        // first is type\n        let str = \"\" + obj.type;\n        // attachments if we have them\n        if (obj.type === PacketType.BINARY_EVENT ||\n            obj.type === PacketType.BINARY_ACK) {\n            str += obj.attachments + \"-\";\n        }\n        // if we have a namespace other than `/`\n        // we append it followed by a comma `,`\n        if (obj.nsp && \"/\" !== obj.nsp) {\n            str += obj.nsp + \",\";\n        }\n        // immediately followed by the id\n        if (null != obj.id) {\n            str += obj.id;\n        }\n        // json data\n        if (null != obj.data) {\n            str += JSON.stringify(obj.data, this.replacer);\n        }\n        return str;\n    }\n    /**\n     * Encode packet as 'buffer sequence' by removing blobs, and\n     * deconstructing packet into object with placeholders and\n     * a list of buffers.\n     */\n    encodeAsBinary(obj) {\n        const deconstruction = deconstructPacket(obj);\n        const pack = this.encodeAsString(deconstruction.packet);\n        const buffers = deconstruction.buffers;\n        buffers.unshift(pack); // add packet info to beginning of data list\n        return buffers; // write all the buffers\n    }\n}\n/**\n * A socket.io Decoder instance\n *\n * @return {Object} decoder\n */\nexport class Decoder extends Emitter {\n    /**\n     * Decoder constructor\n     *\n     * @param {function} reviver - custom reviver to pass down to JSON.stringify\n     */\n    constructor(reviver) {\n        super();\n        this.reviver = reviver;\n    }\n    /**\n     * Decodes an encoded packet string into packet JSON.\n     *\n     * @param {String} obj - encoded packet\n     */\n    add(obj) {\n        let packet;\n        if (typeof obj === \"string\") {\n            if (this.reconstructor) {\n                throw new Error(\"got plaintext data when reconstructing a packet\");\n            }\n            packet = this.decodeString(obj);\n            const isBinaryEvent = packet.type === PacketType.BINARY_EVENT;\n            if (isBinaryEvent || packet.type === PacketType.BINARY_ACK) {\n                packet.type = isBinaryEvent ? PacketType.EVENT : PacketType.ACK;\n                // binary packet's json\n                this.reconstructor = new BinaryReconstructor(packet);\n                // no attachments, labeled binary but no binary data to follow\n                if (packet.attachments === 0) {\n                    super.emitReserved(\"decoded\", packet);\n                }\n            }\n            else {\n                // non-binary full packet\n                super.emitReserved(\"decoded\", packet);\n            }\n        }\n        else if (isBinary(obj) || obj.base64) {\n            // raw binary data\n            if (!this.reconstructor) {\n                throw new Error(\"got binary data when not reconstructing a packet\");\n            }\n            else {\n                packet = this.reconstructor.takeBinaryData(obj);\n                if (packet) {\n                    // received final buffer\n                    this.reconstructor = null;\n                    super.emitReserved(\"decoded\", packet);\n                }\n            }\n        }\n        else {\n            throw new Error(\"Unknown type: \" + obj);\n        }\n    }\n    /**\n     * Decode a packet String (JSON data)\n     *\n     * @param {String} str\n     * @return {Object} packet\n     */\n    decodeString(str) {\n        let i = 0;\n        // look up type\n        const p = {\n            type: Number(str.charAt(0)),\n        };\n        if (PacketType[p.type] === undefined) {\n            throw new Error(\"unknown packet type \" + p.type);\n        }\n        // look up attachments if type binary\n        if (p.type === PacketType.BINARY_EVENT ||\n            p.type === PacketType.BINARY_ACK) {\n            const start = i + 1;\n            while (str.charAt(++i) !== \"-\" && i != str.length) { }\n            const buf = str.substring(start, i);\n            if (buf != Number(buf) || str.charAt(i) !== \"-\") {\n                throw new Error(\"Illegal attachments\");\n            }\n            p.attachments = Number(buf);\n        }\n        // look up namespace (if any)\n        if (\"/\" === str.charAt(i + 1)) {\n            const start = i + 1;\n            while (++i) {\n                const c = str.charAt(i);\n                if (\",\" === c)\n                    break;\n                if (i === str.length)\n                    break;\n            }\n            p.nsp = str.substring(start, i);\n        }\n        else {\n            p.nsp = \"/\";\n        }\n        // look up id\n        const next = str.charAt(i + 1);\n        if (\"\" !== next && Number(next) == next) {\n            const start = i + 1;\n            while (++i) {\n                const c = str.charAt(i);\n                if (null == c || Number(c) != c) {\n                    --i;\n                    break;\n                }\n                if (i === str.length)\n                    break;\n            }\n            p.id = Number(str.substring(start, i + 1));\n        }\n        // look up json data\n        if (str.charAt(++i)) {\n            const payload = this.tryParse(str.substr(i));\n            if (Decoder.isPayloadValid(p.type, payload)) {\n                p.data = payload;\n            }\n            else {\n                throw new Error(\"invalid payload\");\n            }\n        }\n        return p;\n    }\n    tryParse(str) {\n        try {\n            return JSON.parse(str, this.reviver);\n        }\n        catch (e) {\n            return false;\n        }\n    }\n    static isPayloadValid(type, payload) {\n        switch (type) {\n            case PacketType.CONNECT:\n                return isObject(payload);\n            case PacketType.DISCONNECT:\n                return payload === undefined;\n            case PacketType.CONNECT_ERROR:\n                return typeof payload === \"string\" || isObject(payload);\n            case PacketType.EVENT:\n            case PacketType.BINARY_EVENT:\n                return (Array.isArray(payload) &&\n                    (typeof payload[0] === \"number\" ||\n                        (typeof payload[0] === \"string\" &&\n                            RESERVED_EVENTS.indexOf(payload[0]) === -1)));\n            case PacketType.ACK:\n            case PacketType.BINARY_ACK:\n                return Array.isArray(payload);\n        }\n    }\n    /**\n     * Deallocates a parser's resources\n     */\n    destroy() {\n        if (this.reconstructor) {\n            this.reconstructor.finishedReconstruction();\n            this.reconstructor = null;\n        }\n    }\n}\n/**\n * A manager of a binary event's 'buffer sequence'. Should\n * be constructed whenever a packet of type BINARY_EVENT is\n * decoded.\n *\n * @param {Object} packet\n * @return {BinaryReconstructor} initialized reconstructor\n */\nclass BinaryReconstructor {\n    constructor(packet) {\n        this.packet = packet;\n        this.buffers = [];\n        this.reconPack = packet;\n    }\n    /**\n     * Method to be called when binary data received from connection\n     * after a BINARY_EVENT packet.\n     *\n     * @param {Buffer | ArrayBuffer} binData - the raw binary data received\n     * @return {null | Object} returns null if more binary data is expected or\n     *   a reconstructed packet object if all buffers have been received.\n     */\n    takeBinaryData(binData) {\n        this.buffers.push(binData);\n        if (this.buffers.length === this.reconPack.attachments) {\n            // done with buffer list\n            const packet = reconstructPacket(this.reconPack, this.buffers);\n            this.finishedReconstruction();\n            return packet;\n        }\n        return null;\n    }\n    /**\n     * Cleans up binary packet reconstruction variables.\n     */\n    finishedReconstruction() {\n        this.reconPack = null;\n        this.buffers = [];\n    }\n}\nfunction isNamespaceValid(nsp) {\n    return typeof nsp === \"string\";\n}\n// see https://caniuse.com/mdn-javascript_builtins_number_isinteger\nconst isInteger = Number.isInteger ||\n    function (value) {\n        return (typeof value === \"number\" &&\n            isFinite(value) &&\n            Math.floor(value) === value);\n    };\nfunction isAckIdValid(id) {\n    return id === undefined || isInteger(id);\n}\n// see https://stackoverflow.com/questions/8511281/check-if-a-value-is-an-object-in-javascript\nfunction isObject(value) {\n    return Object.prototype.toString.call(value) === \"[object Object]\";\n}\nfunction isDataValid(type, payload) {\n    switch (type) {\n        case PacketType.CONNECT:\n            return payload === undefined || isObject(payload);\n        case PacketType.DISCONNECT:\n            return payload === undefined;\n        case PacketType.EVENT:\n            return (Array.isArray(payload) &&\n                (typeof payload[0] === \"number\" ||\n                    (typeof payload[0] === \"string\" &&\n                        RESERVED_EVENTS.indexOf(payload[0]) === -1)));\n        case PacketType.ACK:\n            return Array.isArray(payload);\n        case PacketType.CONNECT_ERROR:\n            return typeof payload === \"string\" || isObject(payload);\n        default:\n            return false;\n    }\n}\nexport function isPacketValid(packet) {\n    return (isNamespaceValid(packet.nsp) &&\n        isAckIdValid(packet.id) &&\n        isDataValid(packet.type, packet.data));\n}\n","export function on(obj, ev, fn) {\n    obj.on(ev, fn);\n    return function subDestroy() {\n        obj.off(ev, fn);\n    };\n}\n","import { PacketType } from \"socket.io-parser\";\nimport { on } from \"./on.js\";\nimport { Emitter, } from \"@socket.io/component-emitter\";\nimport debugModule from \"debug\"; // debug()\nconst debug = debugModule(\"socket.io-client:socket\"); // debug()\n/**\n * Internal events.\n * These events can't be emitted by the user.\n */\nconst RESERVED_EVENTS = Object.freeze({\n    connect: 1,\n    connect_error: 1,\n    disconnect: 1,\n    disconnecting: 1,\n    // EventEmitter reserved events: https://nodejs.org/api/events.html#events_event_newlistener\n    newListener: 1,\n    removeListener: 1,\n});\n/**\n * A Socket is the fundamental class for interacting with the server.\n *\n * A Socket belongs to a certain Namespace (by default /) and uses an underlying {@link Manager} to communicate.\n *\n * @example\n * const socket = io();\n *\n * socket.on(\"connect\", () => {\n *   console.log(\"connected\");\n * });\n *\n * // send an event to the server\n * socket.emit(\"foo\", \"bar\");\n *\n * socket.on(\"foobar\", () => {\n *   // an event was received from the server\n * });\n *\n * // upon disconnection\n * socket.on(\"disconnect\", (reason) => {\n *   console.log(`disconnected due to ${reason}`);\n * });\n */\nexport class Socket extends Emitter {\n    /**\n     * `Socket` constructor.\n     */\n    constructor(io, nsp, opts) {\n        super();\n        /**\n         * Whether the socket is currently connected to the server.\n         *\n         * @example\n         * const socket = io();\n         *\n         * socket.on(\"connect\", () => {\n         *   console.log(socket.connected); // true\n         * });\n         *\n         * socket.on(\"disconnect\", () => {\n         *   console.log(socket.connected); // false\n         * });\n         */\n        this.connected = false;\n        /**\n         * Whether the connection state was recovered after a temporary disconnection. In that case, any missed packets will\n         * be transmitted by the server.\n         */\n        this.recovered = false;\n        /**\n         * Buffer for packets received before the CONNECT packet\n         */\n        this.receiveBuffer = [];\n        /**\n         * Buffer for packets that will be sent once the socket is connected\n         */\n        this.sendBuffer = [];\n        /**\n         * The queue of packets to be sent with retry in case of failure.\n         *\n         * Packets are sent one by one, each waiting for the server acknowledgement, in order to guarantee the delivery order.\n         * @private\n         */\n        this._queue = [];\n        /**\n         * A sequence to generate the ID of the {@link QueuedPacket}.\n         * @private\n         */\n        this._queueSeq = 0;\n        this.ids = 0;\n        /**\n         * A map containing acknowledgement handlers.\n         *\n         * The `withError` attribute is used to differentiate handlers that accept an error as first argument:\n         *\n         * - `socket.emit(\"test\", (err, value) => { ... })` with `ackTimeout` option\n         * - `socket.timeout(5000).emit(\"test\", (err, value) => { ... })`\n         * - `const value = await socket.emitWithAck(\"test\")`\n         *\n         * From those that don't:\n         *\n         * - `socket.emit(\"test\", (value) => { ... });`\n         *\n         * In the first case, the handlers will be called with an error when:\n         *\n         * - the timeout is reached\n         * - the socket gets disconnected\n         *\n         * In the second case, the handlers will be simply discarded upon disconnection, since the client will never receive\n         * an acknowledgement from the server.\n         *\n         * @private\n         */\n        this.acks = {};\n        this.flags = {};\n        this.io = io;\n        this.nsp = nsp;\n        if (opts && opts.auth) {\n            this.auth = opts.auth;\n        }\n        this._opts = Object.assign({}, opts);\n        if (this.io._autoConnect)\n            this.open();\n    }\n    /**\n     * Whether the socket is currently disconnected\n     *\n     * @example\n     * const socket = io();\n     *\n     * socket.on(\"connect\", () => {\n     *   console.log(socket.disconnected); // false\n     * });\n     *\n     * socket.on(\"disconnect\", () => {\n     *   console.log(socket.disconnected); // true\n     * });\n     */\n    get disconnected() {\n        return !this.connected;\n    }\n    /**\n     * Subscribe to open, close and packet events\n     *\n     * @private\n     */\n    subEvents() {\n        if (this.subs)\n            return;\n        const io = this.io;\n        this.subs = [\n            on(io, \"open\", this.onopen.bind(this)),\n            on(io, \"packet\", this.onpacket.bind(this)),\n            on(io, \"error\", this.onerror.bind(this)),\n            on(io, \"close\", this.onclose.bind(this)),\n        ];\n    }\n    /**\n     * Whether the Socket will try to reconnect when its Manager connects or reconnects.\n     *\n     * @example\n     * const socket = io();\n     *\n     * console.log(socket.active); // true\n     *\n     * socket.on(\"disconnect\", (reason) => {\n     *   if (reason === \"io server disconnect\") {\n     *     // the disconnection was initiated by the server, you need to manually reconnect\n     *     console.log(socket.active); // false\n     *   }\n     *   // else the socket will automatically try to reconnect\n     *   console.log(socket.active); // true\n     * });\n     */\n    get active() {\n        return !!this.subs;\n    }\n    /**\n     * \"Opens\" the socket.\n     *\n     * @example\n     * const socket = io({\n     *   autoConnect: false\n     * });\n     *\n     * socket.connect();\n     */\n    connect() {\n        if (this.connected)\n            return this;\n        this.subEvents();\n        if (!this.io[\"_reconnecting\"])\n            this.io.open(); // ensure open\n        if (\"open\" === this.io._readyState)\n            this.onopen();\n        return this;\n    }\n    /**\n     * Alias for {@link connect()}.\n     */\n    open() {\n        return this.connect();\n    }\n    /**\n     * Sends a `message` event.\n     *\n     * This method mimics the WebSocket.send() method.\n     *\n     * @see https://developer.mozilla.org/en-US/docs/Web/API/WebSocket/send\n     *\n     * @example\n     * socket.send(\"hello\");\n     *\n     * // this is equivalent to\n     * socket.emit(\"message\", \"hello\");\n     *\n     * @return self\n     */\n    send(...args) {\n        args.unshift(\"message\");\n        this.emit.apply(this, args);\n        return this;\n    }\n    /**\n     * Override `emit`.\n     * If the event is in `events`, it's emitted normally.\n     *\n     * @example\n     * socket.emit(\"hello\", \"world\");\n     *\n     * // all serializable datastructures are supported (no need to call JSON.stringify)\n     * socket.emit(\"hello\", 1, \"2\", { 3: [\"4\"], 5: Uint8Array.from([6]) });\n     *\n     * // with an acknowledgement from the server\n     * socket.emit(\"hello\", \"world\", (val) => {\n     *   // ...\n     * });\n     *\n     * @return self\n     */\n    emit(ev, ...args) {\n        var _a, _b, _c;\n        if (RESERVED_EVENTS.hasOwnProperty(ev)) {\n            throw new Error('\"' + ev.toString() + '\" is a reserved event name');\n        }\n        args.unshift(ev);\n        if (this._opts.retries && !this.flags.fromQueue && !this.flags.volatile) {\n            this._addToQueue(args);\n            return this;\n        }\n        const packet = {\n            type: PacketType.EVENT,\n            data: args,\n        };\n        packet.options = {};\n        packet.options.compress = this.flags.compress !== false;\n        // event ack callback\n        if (\"function\" === typeof args[args.length - 1]) {\n            const id = this.ids++;\n            debug(\"emitting packet with ack id %d\", id);\n            const ack = args.pop();\n            this._registerAckCallback(id, ack);\n            packet.id = id;\n        }\n        const isTransportWritable = (_b = (_a = this.io.engine) === null || _a === void 0 ? void 0 : _a.transport) === null || _b === void 0 ? void 0 : _b.writable;\n        const isConnected = this.connected && !((_c = this.io.engine) === null || _c === void 0 ? void 0 : _c._hasPingExpired());\n        const discardPacket = this.flags.volatile && !isTransportWritable;\n        if (discardPacket) {\n            debug(\"discard packet as the transport is not currently writable\");\n        }\n        else if (isConnected) {\n            this.notifyOutgoingListeners(packet);\n            this.packet(packet);\n        }\n        else {\n            this.sendBuffer.push(packet);\n        }\n        this.flags = {};\n        return this;\n    }\n    /**\n     * @private\n     */\n    _registerAckCallback(id, ack) {\n        var _a;\n        const timeout = (_a = this.flags.timeout) !== null && _a !== void 0 ? _a : this._opts.ackTimeout;\n        if (timeout === undefined) {\n            this.acks[id] = ack;\n            return;\n        }\n        // @ts-ignore\n        const timer = this.io.setTimeoutFn(() => {\n            delete this.acks[id];\n            for (let i = 0; i < this.sendBuffer.length; i++) {\n                if (this.sendBuffer[i].id === id) {\n                    debug(\"removing packet with ack id %d from the buffer\", id);\n                    this.sendBuffer.splice(i, 1);\n                }\n            }\n            debug(\"event with ack id %d has timed out after %d ms\", id, timeout);\n            ack.call(this, new Error(\"operation has timed out\"));\n        }, timeout);\n        const fn = (...args) => {\n            // @ts-ignore\n            this.io.clearTimeoutFn(timer);\n            ack.apply(this, args);\n        };\n        fn.withError = true;\n        this.acks[id] = fn;\n    }\n    /**\n     * Emits an event and waits for an acknowledgement\n     *\n     * @example\n     * // without timeout\n     * const response = await socket.emitWithAck(\"hello\", \"world\");\n     *\n     * // with a specific timeout\n     * try {\n     *   const response = await socket.timeout(1000).emitWithAck(\"hello\", \"world\");\n     * } catch (err) {\n     *   // the server did not acknowledge the event in the given delay\n     * }\n     *\n     * @return a Promise that will be fulfilled when the server acknowledges the event\n     */\n    emitWithAck(ev, ...args) {\n        return new Promise((resolve, reject) => {\n            const fn = (arg1, arg2) => {\n                return arg1 ? reject(arg1) : resolve(arg2);\n            };\n            fn.withError = true;\n            args.push(fn);\n            this.emit(ev, ...args);\n        });\n    }\n    /**\n     * Add the packet to the queue.\n     * @param args\n     * @private\n     */\n    _addToQueue(args) {\n        let ack;\n        if (typeof args[args.length - 1] === \"function\") {\n            ack = args.pop();\n        }\n        const packet = {\n            id: this._queueSeq++,\n            tryCount: 0,\n            pending: false,\n            args,\n            flags: Object.assign({ fromQueue: true }, this.flags),\n        };\n        args.push((err, ...responseArgs) => {\n            if (packet !== this._queue[0]) {\n                // the packet has already been acknowledged\n                return;\n            }\n            const hasError = err !== null;\n            if (hasError) {\n                if (packet.tryCount > this._opts.retries) {\n                    debug(\"packet [%d] is discarded after %d tries\", packet.id, packet.tryCount);\n                    this._queue.shift();\n                    if (ack) {\n                        ack(err);\n                    }\n                }\n            }\n            else {\n                debug(\"packet [%d] was successfully sent\", packet.id);\n                this._queue.shift();\n                if (ack) {\n                    ack(null, ...responseArgs);\n                }\n            }\n            packet.pending = false;\n            return this._drainQueue();\n        });\n        this._queue.push(packet);\n        this._drainQueue();\n    }\n    /**\n     * Send the first packet of the queue, and wait for an acknowledgement from the server.\n     * @param force - whether to resend a packet that has not been acknowledged yet\n     *\n     * @private\n     */\n    _drainQueue(force = false) {\n        debug(\"draining queue\");\n        if (!this.connected || this._queue.length === 0) {\n            return;\n        }\n        const packet = this._queue[0];\n        if (packet.pending && !force) {\n            debug(\"packet [%d] has already been sent and is waiting for an ack\", packet.id);\n            return;\n        }\n        packet.pending = true;\n        packet.tryCount++;\n        debug(\"sending packet [%d] (try n°%d)\", packet.id, packet.tryCount);\n        this.flags = packet.flags;\n        this.emit.apply(this, packet.args);\n    }\n    /**\n     * Sends a packet.\n     *\n     * @param packet\n     * @private\n     */\n    packet(packet) {\n        packet.nsp = this.nsp;\n        this.io._packet(packet);\n    }\n    /**\n     * Called upon engine `open`.\n     *\n     * @private\n     */\n    onopen() {\n        debug(\"transport is open - connecting\");\n        if (typeof this.auth == \"function\") {\n            this.auth((data) => {\n                this._sendConnectPacket(data);\n            });\n        }\n        else {\n            this._sendConnectPacket(this.auth);\n        }\n    }\n    /**\n     * Sends a CONNECT packet to initiate the Socket.IO session.\n     *\n     * @param data\n     * @private\n     */\n    _sendConnectPacket(data) {\n        this.packet({\n            type: PacketType.CONNECT,\n            data: this._pid\n                ? Object.assign({ pid: this._pid, offset: this._lastOffset }, data)\n                : data,\n        });\n    }\n    /**\n     * Called upon engine or manager `error`.\n     *\n     * @param err\n     * @private\n     */\n    onerror(err) {\n        if (!this.connected) {\n            this.emitReserved(\"connect_error\", err);\n        }\n    }\n    /**\n     * Called upon engine `close`.\n     *\n     * @param reason\n     * @param description\n     * @private\n     */\n    onclose(reason, description) {\n        debug(\"close (%s)\", reason);\n        this.connected = false;\n        delete this.id;\n        this.emitReserved(\"disconnect\", reason, description);\n        this._clearAcks();\n    }\n    /**\n     * Clears the acknowledgement handlers upon disconnection, since the client will never receive an acknowledgement from\n     * the server.\n     *\n     * @private\n     */\n    _clearAcks() {\n        Object.keys(this.acks).forEach((id) => {\n            const isBuffered = this.sendBuffer.some((packet) => String(packet.id) === id);\n            if (!isBuffered) {\n                // note: handlers that do not accept an error as first argument are ignored here\n                const ack = this.acks[id];\n                delete this.acks[id];\n                if (ack.withError) {\n                    ack.call(this, new Error(\"socket has been disconnected\"));\n                }\n            }\n        });\n    }\n    /**\n     * Called with socket packet.\n     *\n     * @param packet\n     * @private\n     */\n    onpacket(packet) {\n        const sameNamespace = packet.nsp === this.nsp;\n        if (!sameNamespace)\n            return;\n        switch (packet.type) {\n            case PacketType.CONNECT:\n                if (packet.data && packet.data.sid) {\n                    this.onconnect(packet.data.sid, packet.data.pid);\n                }\n                else {\n                    this.emitReserved(\"connect_error\", new Error(\"It seems you are trying to reach a Socket.IO server in v2.x with a v3.x client, but they are not compatible (more information here: https://socket.io/docs/v3/migrating-from-2-x-to-3-0/)\"));\n                }\n                break;\n            case PacketType.EVENT:\n            case PacketType.BINARY_EVENT:\n                this.onevent(packet);\n                break;\n            case PacketType.ACK:\n            case PacketType.BINARY_ACK:\n                this.onack(packet);\n                break;\n            case PacketType.DISCONNECT:\n                this.ondisconnect();\n                break;\n            case PacketType.CONNECT_ERROR:\n                this.destroy();\n                const err = new Error(packet.data.message);\n                // @ts-ignore\n                err.data = packet.data.data;\n                this.emitReserved(\"connect_error\", err);\n                break;\n        }\n    }\n    /**\n     * Called upon a server event.\n     *\n     * @param packet\n     * @private\n     */\n    onevent(packet) {\n        const args = packet.data || [];\n        debug(\"emitting event %j\", args);\n        if (null != packet.id) {\n            debug(\"attaching ack callback to event\");\n            args.push(this.ack(packet.id));\n        }\n        if (this.connected) {\n            this.emitEvent(args);\n        }\n        else {\n            this.receiveBuffer.push(Object.freeze(args));\n        }\n    }\n    emitEvent(args) {\n        if (this._anyListeners && this._anyListeners.length) {\n            const listeners = this._anyListeners.slice();\n            for (const listener of listeners) {\n                listener.apply(this, args);\n            }\n        }\n        super.emit.apply(this, args);\n        if (this._pid && args.length && typeof args[args.length - 1] === \"string\") {\n            this._lastOffset = args[args.length - 1];\n        }\n    }\n    /**\n     * Produces an ack callback to emit with an event.\n     *\n     * @private\n     */\n    ack(id) {\n        const self = this;\n        let sent = false;\n        return function (...args) {\n            // prevent double callbacks\n            if (sent)\n                return;\n            sent = true;\n            debug(\"sending ack %j\", args);\n            self.packet({\n                type: PacketType.ACK,\n                id: id,\n                data: args,\n            });\n        };\n    }\n    /**\n     * Called upon a server acknowledgement.\n     *\n     * @param packet\n     * @private\n     */\n    onack(packet) {\n        const ack = this.acks[packet.id];\n        if (typeof ack !== \"function\") {\n            debug(\"bad ack %s\", packet.id);\n            return;\n        }\n        delete this.acks[packet.id];\n        debug(\"calling ack %s with %j\", packet.id, packet.data);\n        // @ts-ignore FIXME ack is incorrectly inferred as 'never'\n        if (ack.withError) {\n            packet.data.unshift(null);\n        }\n        // @ts-ignore\n        ack.apply(this, packet.data);\n    }\n    /**\n     * Called upon server connect.\n     *\n     * @private\n     */\n    onconnect(id, pid) {\n        debug(\"socket connected with id %s\", id);\n        this.id = id;\n        this.recovered = pid && this._pid === pid;\n        this._pid = pid; // defined only if connection state recovery is enabled\n        this.connected = true;\n        this.emitBuffered();\n        this.emitReserved(\"connect\");\n        this._drainQueue(true);\n    }\n    /**\n     * Emit buffered events (received and emitted).\n     *\n     * @private\n     */\n    emitBuffered() {\n        this.receiveBuffer.forEach((args) => this.emitEvent(args));\n        this.receiveBuffer = [];\n        this.sendBuffer.forEach((packet) => {\n            this.notifyOutgoingListeners(packet);\n            this.packet(packet);\n        });\n        this.sendBuffer = [];\n    }\n    /**\n     * Called upon server disconnect.\n     *\n     * @private\n     */\n    ondisconnect() {\n        debug(\"server disconnect (%s)\", this.nsp);\n        this.destroy();\n        this.onclose(\"io server disconnect\");\n    }\n    /**\n     * Called upon forced client/server side disconnections,\n     * this method ensures the manager stops tracking us and\n     * that reconnections don't get triggered for this.\n     *\n     * @private\n     */\n    destroy() {\n        if (this.subs) {\n            // clean subscriptions to avoid reconnections\n            this.subs.forEach((subDestroy) => subDestroy());\n            this.subs = undefined;\n        }\n        this.io[\"_destroy\"](this);\n    }\n    /**\n     * Disconnects the socket manually. In that case, the socket will not try to reconnect.\n     *\n     * If this is the last active Socket instance of the {@link Manager}, the low-level connection will be closed.\n     *\n     * @example\n     * const socket = io();\n     *\n     * socket.on(\"disconnect\", (reason) => {\n     *   // console.log(reason); prints \"io client disconnect\"\n     * });\n     *\n     * socket.disconnect();\n     *\n     * @return self\n     */\n    disconnect() {\n        if (this.connected) {\n            debug(\"performing disconnect (%s)\", this.nsp);\n            this.packet({ type: PacketType.DISCONNECT });\n        }\n        // remove socket from pool\n        this.destroy();\n        if (this.connected) {\n            // fire events\n            this.onclose(\"io client disconnect\");\n        }\n        return this;\n    }\n    /**\n     * Alias for {@link disconnect()}.\n     *\n     * @return self\n     */\n    close() {\n        return this.disconnect();\n    }\n    /**\n     * Sets the compress flag.\n     *\n     * @example\n     * socket.compress(false).emit(\"hello\");\n     *\n     * @param compress - if `true`, compresses the sending data\n     * @return self\n     */\n    compress(compress) {\n        this.flags.compress = compress;\n        return this;\n    }\n    /**\n     * Sets a modifier for a subsequent event emission that the event message will be dropped when this socket is not\n     * ready to send messages.\n     *\n     * @example\n     * socket.volatile.emit(\"hello\"); // the server may or may not receive it\n     *\n     * @returns self\n     */\n    get volatile() {\n        this.flags.volatile = true;\n        return this;\n    }\n    /**\n     * Sets a modifier for a subsequent event emission that the callback will be called with an error when the\n     * given number of milliseconds have elapsed without an acknowledgement from the server:\n     *\n     * @example\n     * socket.timeout(5000).emit(\"my-event\", (err) => {\n     *   if (err) {\n     *     // the server did not acknowledge the event in the given delay\n     *   }\n     * });\n     *\n     * @returns self\n     */\n    timeout(timeout) {\n        this.flags.timeout = timeout;\n        return this;\n    }\n    /**\n     * Adds a listener that will be fired when any event is emitted. The event name is passed as the first argument to the\n     * callback.\n     *\n     * @example\n     * socket.onAny((event, ...args) => {\n     *   console.log(`got ${event}`);\n     * });\n     *\n     * @param listener\n     */\n    onAny(listener) {\n        this._anyListeners = this._anyListeners || [];\n        this._anyListeners.push(listener);\n        return this;\n    }\n    /**\n     * Adds a listener that will be fired when any event is emitted. The event name is passed as the first argument to the\n     * callback. The listener is added to the beginning of the listeners array.\n     *\n     * @example\n     * socket.prependAny((event, ...args) => {\n     *   console.log(`got event ${event}`);\n     * });\n     *\n     * @param listener\n     */\n    prependAny(listener) {\n        this._anyListeners = this._anyListeners || [];\n        this._anyListeners.unshift(listener);\n        return this;\n    }\n    /**\n     * Removes the listener that will be fired when any event is emitted.\n     *\n     * @example\n     * const catchAllListener = (event, ...args) => {\n     *   console.log(`got event ${event}`);\n     * }\n     *\n     * socket.onAny(catchAllListener);\n     *\n     * // remove a specific listener\n     * socket.offAny(catchAllListener);\n     *\n     * // or remove all listeners\n     * socket.offAny();\n     *\n     * @param listener\n     */\n    offAny(listener) {\n        if (!this._anyListeners) {\n            return this;\n        }\n        if (listener) {\n            const listeners = this._anyListeners;\n            for (let i = 0; i < listeners.length; i++) {\n                if (listener === listeners[i]) {\n                    listeners.splice(i, 1);\n                    return this;\n                }\n            }\n        }\n        else {\n            this._anyListeners = [];\n        }\n        return this;\n    }\n    /**\n     * Returns an array of listeners that are listening for any event that is specified. This array can be manipulated,\n     * e.g. to remove listeners.\n     */\n    listenersAny() {\n        return this._anyListeners || [];\n    }\n    /**\n     * Adds a listener that will be fired when any event is emitted. The event name is passed as the first argument to the\n     * callback.\n     *\n     * Note: acknowledgements sent to the server are not included.\n     *\n     * @example\n     * socket.onAnyOutgoing((event, ...args) => {\n     *   console.log(`sent event ${event}`);\n     * });\n     *\n     * @param listener\n     */\n    onAnyOutgoing(listener) {\n        this._anyOutgoingListeners = this._anyOutgoingListeners || [];\n        this._anyOutgoingListeners.push(listener);\n        return this;\n    }\n    /**\n     * Adds a listener that will be fired when any event is emitted. The event name is passed as the first argument to the\n     * callback. The listener is added to the beginning of the listeners array.\n     *\n     * Note: acknowledgements sent to the server are not included.\n     *\n     * @example\n     * socket.prependAnyOutgoing((event, ...args) => {\n     *   console.log(`sent event ${event}`);\n     * });\n     *\n     * @param listener\n     */\n    prependAnyOutgoing(listener) {\n        this._anyOutgoingListeners = this._anyOutgoingListeners || [];\n        this._anyOutgoingListeners.unshift(listener);\n        return this;\n    }\n    /**\n     * Removes the listener that will be fired when any event is emitted.\n     *\n     * @example\n     * const catchAllListener = (event, ...args) => {\n     *   console.log(`sent event ${event}`);\n     * }\n     *\n     * socket.onAnyOutgoing(catchAllListener);\n     *\n     * // remove a specific listener\n     * socket.offAnyOutgoing(catchAllListener);\n     *\n     * // or remove all listeners\n     * socket.offAnyOutgoing();\n     *\n     * @param [listener] - the catch-all listener (optional)\n     */\n    offAnyOutgoing(listener) {\n        if (!this._anyOutgoingListeners) {\n            return this;\n        }\n        if (listener) {\n            const listeners = this._anyOutgoingListeners;\n            for (let i = 0; i < listeners.length; i++) {\n                if (listener === listeners[i]) {\n                    listeners.splice(i, 1);\n                    return this;\n                }\n            }\n        }\n        else {\n            this._anyOutgoingListeners = [];\n        }\n        return this;\n    }\n    /**\n     * Returns an array of listeners that are listening for any event that is specified. This array can be manipulated,\n     * e.g. to remove listeners.\n     */\n    listenersAnyOutgoing() {\n        return this._anyOutgoingListeners || [];\n    }\n    /**\n     * Notify the listeners for each packet sent\n     *\n     * @param packet\n     *\n     * @private\n     */\n    notifyOutgoingListeners(packet) {\n        if (this._anyOutgoingListeners && this._anyOutgoingListeners.length) {\n            const listeners = this._anyOutgoingListeners.slice();\n            for (const listener of listeners) {\n                listener.apply(this, packet.data);\n            }\n        }\n    }\n}\n","/**\n * Initialize backoff timer with `opts`.\n *\n * - `min` initial timeout in milliseconds [100]\n * - `max` max timeout [10000]\n * - `jitter` [0]\n * - `factor` [2]\n *\n * @param {Object} opts\n * @api public\n */\nexport function Backoff(opts) {\n    opts = opts || {};\n    this.ms = opts.min || 100;\n    this.max = opts.max || 10000;\n    this.factor = opts.factor || 2;\n    this.jitter = opts.jitter > 0 && opts.jitter <= 1 ? opts.jitter : 0;\n    this.attempts = 0;\n}\n/**\n * Return the backoff duration.\n *\n * @return {Number}\n * @api public\n */\nBackoff.prototype.duration = function () {\n    var ms = this.ms * Math.pow(this.factor, this.attempts++);\n    if (this.jitter) {\n        var rand = Math.random();\n        var deviation = Math.floor(rand * this.jitter * ms);\n        ms = (Math.floor(rand * 10) & 1) == 0 ? ms - deviation : ms + deviation;\n    }\n    return Math.min(ms, this.max) | 0;\n};\n/**\n * Reset the number of attempts.\n *\n * @api public\n */\nBackoff.prototype.reset = function () {\n    this.attempts = 0;\n};\n/**\n * Set the minimum duration\n *\n * @api public\n */\nBackoff.prototype.setMin = function (min) {\n    this.ms = min;\n};\n/**\n * Set the maximum duration\n *\n * @api public\n */\nBackoff.prototype.setMax = function (max) {\n    this.max = max;\n};\n/**\n * Set the jitter\n *\n * @api public\n */\nBackoff.prototype.setJitter = function (jitter) {\n    this.jitter = jitter;\n};\n","import { Socket as Engine, installTimerFunctions, nextTick, } from \"engine.io-client\";\nimport { Socket } from \"./socket.js\";\nimport * as parser from \"socket.io-parser\";\nimport { on } from \"./on.js\";\nimport { Backoff } from \"./contrib/backo2.js\";\nimport { Emitter, } from \"@socket.io/component-emitter\";\nimport debugModule from \"debug\"; // debug()\nconst debug = debugModule(\"socket.io-client:manager\"); // debug()\nexport class Manager extends Emitter {\n    constructor(uri, opts) {\n        var _a;\n        super();\n        this.nsps = {};\n        this.subs = [];\n        if (uri && \"object\" === typeof uri) {\n            opts = uri;\n            uri = undefined;\n        }\n        opts = opts || {};\n        opts.path = opts.path || \"/socket.io\";\n        this.opts = opts;\n        installTimerFunctions(this, opts);\n        this.reconnection(opts.reconnection !== false);\n        this.reconnectionAttempts(opts.reconnectionAttempts || Infinity);\n        this.reconnectionDelay(opts.reconnectionDelay || 1000);\n        this.reconnectionDelayMax(opts.reconnectionDelayMax || 5000);\n        this.randomizationFactor((_a = opts.randomizationFactor) !== null && _a !== void 0 ? _a : 0.5);\n        this.backoff = new Backoff({\n            min: this.reconnectionDelay(),\n            max: this.reconnectionDelayMax(),\n            jitter: this.randomizationFactor(),\n        });\n        this.timeout(null == opts.timeout ? 20000 : opts.timeout);\n        this._readyState = \"closed\";\n        this.uri = uri;\n        const _parser = opts.parser || parser;\n        this.encoder = new _parser.Encoder();\n        this.decoder = new _parser.Decoder();\n        this._autoConnect = opts.autoConnect !== false;\n        if (this._autoConnect)\n            this.open();\n    }\n    reconnection(v) {\n        if (!arguments.length)\n            return this._reconnection;\n        this._reconnection = !!v;\n        if (!v) {\n            this.skipReconnect = true;\n        }\n        return this;\n    }\n    reconnectionAttempts(v) {\n        if (v === undefined)\n            return this._reconnectionAttempts;\n        this._reconnectionAttempts = v;\n        return this;\n    }\n    reconnectionDelay(v) {\n        var _a;\n        if (v === undefined)\n            return this._reconnectionDelay;\n        this._reconnectionDelay = v;\n        (_a = this.backoff) === null || _a === void 0 ? void 0 : _a.setMin(v);\n        return this;\n    }\n    randomizationFactor(v) {\n        var _a;\n        if (v === undefined)\n            return this._randomizationFactor;\n        this._randomizationFactor = v;\n        (_a = this.backoff) === null || _a === void 0 ? void 0 : _a.setJitter(v);\n        return this;\n    }\n    reconnectionDelayMax(v) {\n        var _a;\n        if (v === undefined)\n            return this._reconnectionDelayMax;\n        this._reconnectionDelayMax = v;\n        (_a = this.backoff) === null || _a === void 0 ? void 0 : _a.setMax(v);\n        return this;\n    }\n    timeout(v) {\n        if (!arguments.length)\n            return this._timeout;\n        this._timeout = v;\n        return this;\n    }\n    /**\n     * Starts trying to reconnect if reconnection is enabled and we have not\n     * started reconnecting yet\n     *\n     * @private\n     */\n    maybeReconnectOnOpen() {\n        // Only try to reconnect if it's the first time we're connecting\n        if (!this._reconnecting &&\n            this._reconnection &&\n            this.backoff.attempts === 0) {\n            // keeps reconnection from firing twice for the same reconnection loop\n            this.reconnect();\n        }\n    }\n    /**\n     * Sets the current transport `socket`.\n     *\n     * @param {Function} fn - optional, callback\n     * @return self\n     * @public\n     */\n    open(fn) {\n        debug(\"readyState %s\", this._readyState);\n        if (~this._readyState.indexOf(\"open\"))\n            return this;\n        debug(\"opening %s\", this.uri);\n        this.engine = new Engine(this.uri, this.opts);\n        const socket = this.engine;\n        const self = this;\n        this._readyState = \"opening\";\n        this.skipReconnect = false;\n        // emit `open`\n        const openSubDestroy = on(socket, \"open\", function () {\n            self.onopen();\n            fn && fn();\n        });\n        const onError = (err) => {\n            debug(\"error\");\n            this.cleanup();\n            this._readyState = \"closed\";\n            this.emitReserved(\"error\", err);\n            if (fn) {\n                fn(err);\n            }\n            else {\n                // Only do this if there is no fn to handle the error\n                this.maybeReconnectOnOpen();\n            }\n        };\n        // emit `error`\n        const errorSub = on(socket, \"error\", onError);\n        if (false !== this._timeout) {\n            const timeout = this._timeout;\n            debug(\"connect attempt will timeout after %d\", timeout);\n            // set timer\n            const timer = this.setTimeoutFn(() => {\n                debug(\"connect attempt timed out after %d\", timeout);\n                openSubDestroy();\n                onError(new Error(\"timeout\"));\n                socket.close();\n            }, timeout);\n            if (this.opts.autoUnref) {\n                timer.unref();\n            }\n            this.subs.push(() => {\n                this.clearTimeoutFn(timer);\n            });\n        }\n        this.subs.push(openSubDestroy);\n        this.subs.push(errorSub);\n        return this;\n    }\n    /**\n     * Alias for open()\n     *\n     * @return self\n     * @public\n     */\n    connect(fn) {\n        return this.open(fn);\n    }\n    /**\n     * Called upon transport open.\n     *\n     * @private\n     */\n    onopen() {\n        debug(\"open\");\n        // clear old subs\n        this.cleanup();\n        // mark as open\n        this._readyState = \"open\";\n        this.emitReserved(\"open\");\n        // add new subs\n        const socket = this.engine;\n        this.subs.push(on(socket, \"ping\", this.onping.bind(this)), on(socket, \"data\", this.ondata.bind(this)), on(socket, \"error\", this.onerror.bind(this)), on(socket, \"close\", this.onclose.bind(this)), \n        // @ts-ignore\n        on(this.decoder, \"decoded\", this.ondecoded.bind(this)));\n    }\n    /**\n     * Called upon a ping.\n     *\n     * @private\n     */\n    onping() {\n        this.emitReserved(\"ping\");\n    }\n    /**\n     * Called with data.\n     *\n     * @private\n     */\n    ondata(data) {\n        try {\n            this.decoder.add(data);\n        }\n        catch (e) {\n            this.onclose(\"parse error\", e);\n        }\n    }\n    /**\n     * Called when parser fully decodes a packet.\n     *\n     * @private\n     */\n    ondecoded(packet) {\n        // the nextTick call prevents an exception in a user-provided event listener from triggering a disconnection due to a \"parse error\"\n        nextTick(() => {\n            this.emitReserved(\"packet\", packet);\n        }, this.setTimeoutFn);\n    }\n    /**\n     * Called upon socket error.\n     *\n     * @private\n     */\n    onerror(err) {\n        debug(\"error\", err);\n        this.emitReserved(\"error\", err);\n    }\n    /**\n     * Creates a new socket for the given `nsp`.\n     *\n     * @return {Socket}\n     * @public\n     */\n    socket(nsp, opts) {\n        let socket = this.nsps[nsp];\n        if (!socket) {\n            socket = new Socket(this, nsp, opts);\n            this.nsps[nsp] = socket;\n        }\n        else if (this._autoConnect && !socket.active) {\n            socket.connect();\n        }\n        return socket;\n    }\n    /**\n     * Called upon a socket close.\n     *\n     * @param socket\n     * @private\n     */\n    _destroy(socket) {\n        const nsps = Object.keys(this.nsps);\n        for (const nsp of nsps) {\n            const socket = this.nsps[nsp];\n            if (socket.active) {\n                debug(\"socket %s is still active, skipping close\", nsp);\n                return;\n            }\n        }\n        this._close();\n    }\n    /**\n     * Writes a packet.\n     *\n     * @param packet\n     * @private\n     */\n    _packet(packet) {\n        debug(\"writing packet %j\", packet);\n        const encodedPackets = this.encoder.encode(packet);\n        for (let i = 0; i < encodedPackets.length; i++) {\n            this.engine.write(encodedPackets[i], packet.options);\n        }\n    }\n    /**\n     * Clean up transport subscriptions and packet buffer.\n     *\n     * @private\n     */\n    cleanup() {\n        debug(\"cleanup\");\n        this.subs.forEach((subDestroy) => subDestroy());\n        this.subs.length = 0;\n        this.decoder.destroy();\n    }\n    /**\n     * Close the current socket.\n     *\n     * @private\n     */\n    _close() {\n        debug(\"disconnect\");\n        this.skipReconnect = true;\n        this._reconnecting = false;\n        this.onclose(\"forced close\");\n    }\n    /**\n     * Alias for close()\n     *\n     * @private\n     */\n    disconnect() {\n        return this._close();\n    }\n    /**\n     * Called when:\n     *\n     * - the low-level engine is closed\n     * - the parser encountered a badly formatted packet\n     * - all sockets are disconnected\n     *\n     * @private\n     */\n    onclose(reason, description) {\n        var _a;\n        debug(\"closed due to %s\", reason);\n        this.cleanup();\n        (_a = this.engine) === null || _a === void 0 ? void 0 : _a.close();\n        this.backoff.reset();\n        this._readyState = \"closed\";\n        this.emitReserved(\"close\", reason, description);\n        if (this._reconnection && !this.skipReconnect) {\n            this.reconnect();\n        }\n    }\n    /**\n     * Attempt a reconnection.\n     *\n     * @private\n     */\n    reconnect() {\n        if (this._reconnecting || this.skipReconnect)\n            return this;\n        const self = this;\n        if (this.backoff.attempts >= this._reconnectionAttempts) {\n            debug(\"reconnect failed\");\n            this.backoff.reset();\n            this.emitReserved(\"reconnect_failed\");\n            this._reconnecting = false;\n        }\n        else {\n            const delay = this.backoff.duration();\n            debug(\"will wait %dms before reconnect attempt\", delay);\n            this._reconnecting = true;\n            const timer = this.setTimeoutFn(() => {\n                if (self.skipReconnect)\n                    return;\n                debug(\"attempting reconnect\");\n                this.emitReserved(\"reconnect_attempt\", self.backoff.attempts);\n                // check again for the case socket closed in above events\n                if (self.skipReconnect)\n                    return;\n                self.open((err) => {\n                    if (err) {\n                        debug(\"reconnect attempt error\");\n                        self._reconnecting = false;\n                        self.reconnect();\n                        this.emitReserved(\"reconnect_error\", err);\n                    }\n                    else {\n                        debug(\"reconnect success\");\n                        self.onreconnect();\n                    }\n                });\n            }, delay);\n            if (this.opts.autoUnref) {\n                timer.unref();\n            }\n            this.subs.push(() => {\n                this.clearTimeoutFn(timer);\n            });\n        }\n    }\n    /**\n     * Called upon successful reconnect.\n     *\n     * @private\n     */\n    onreconnect() {\n        const attempt = this.backoff.attempts;\n        this._reconnecting = false;\n        this.backoff.reset();\n        this.emitReserved(\"reconnect\", attempt);\n    }\n}\n","import { url } from \"./url.js\";\nimport { Manager } from \"./manager.js\";\nimport { Socket } from \"./socket.js\";\nimport debugModule from \"debug\"; // debug()\nconst debug = debugModule(\"socket.io-client\"); // debug()\n/**\n * Managers cache.\n */\nconst cache = {};\nfunction lookup(uri, opts) {\n    if (typeof uri === \"object\") {\n        opts = uri;\n        uri = undefined;\n    }\n    opts = opts || {};\n    const parsed = url(uri, opts.path || \"/socket.io\");\n    const source = parsed.source;\n    const id = parsed.id;\n    const path = parsed.path;\n    const sameNamespace = cache[id] && path in cache[id][\"nsps\"];\n    const newConnection = opts.forceNew ||\n        opts[\"force new connection\"] ||\n        false === opts.multiplex ||\n        sameNamespace;\n    let io;\n    if (newConnection) {\n        debug(\"ignoring socket cache for %s\", source);\n        io = new Manager(source, opts);\n    }\n    else {\n        if (!cache[id]) {\n            debug(\"new io instance for %s\", source);\n            cache[id] = new Manager(source, opts);\n        }\n        io = cache[id];\n    }\n    if (parsed.query && !opts.query) {\n        opts.query = parsed.queryKey;\n    }\n    return io.socket(parsed.path, opts);\n}\n// so that \"lookup\" can be used both as a function (e.g. `io(...)`) and as a\n// namespace (e.g. `io.connect(...)`), for backward compatibility\nObject.assign(lookup, {\n    Manager,\n    Socket,\n    io: lookup,\n    connect: lookup,\n});\n/**\n * Protocol version.\n *\n * @public\n */\nexport { protocol } from \"socket.io-parser\";\n/**\n * Expose constructors for standalone build.\n *\n * @public\n */\nexport { Manager, Socket, lookup as io, lookup as connect, lookup as default, };\nexport { Fetch, NodeXHR, XHR, NodeWebSocket, WebSocket, WebTransport, } from \"engine.io-client\";\n","//! moment-timezone.js\n//! version : 0.6.3\n//! Copyright (c) JS Foundation and other contributors\n//! license : MIT\n//! github.com/moment/moment-timezone\n\n(function (root, factory) {\n\t\"use strict\";\n\n\t/*global define*/\n\tif (typeof module === 'object' && module.exports) {\n\t\tmodule.exports = factory(require('moment')); // Node\n\t} else if (typeof define === 'function' && define.amd) {\n\t\tdefine(['moment'], factory);                 // AMD\n\t} else {\n\t\tfactory(root.moment);                        // Browser\n\t}\n}(this, function (moment) {\n\t\"use strict\";\n\n\t// Resolves es6 module loading issue\n\tif (moment.version === undefined && moment.default) {\n\t\tmoment = moment.default;\n\t}\n\n\t// Do not load moment-timezone a second time.\n\t// if (moment.tz !== undefined) {\n\t// \tlogError('Moment Timezone ' + moment.tz.version + ' was already loaded ' + (moment.tz.dataVersion ? 'with data from ' : 'without any data') + moment.tz.dataVersion);\n\t// \treturn moment;\n\t// }\n\n\tvar VERSION = \"0.6.3\",\n\t\tzones = {},\n\t\tlinks = {},\n\t\tcountries = {},\n\t\tnames = {},\n\t\tguesses = {},\n\t\tcachedGuess;\n\n\tif (!moment || typeof moment.version !== 'string') {\n\t\tlogError('Moment Timezone requires Moment.js. See https://momentjs.com/timezone/docs/#/use-it/browser/');\n\t}\n\n\tvar momentVersion = moment.version.split('.'),\n\t\tmajor = +momentVersion[0],\n\t\tminor = +momentVersion[1];\n\n\t// Moment.js version check\n\tif (major < 2 || (major === 2 && minor < 6)) {\n\t\tlogError('Moment Timezone requires Moment.js >= 2.6.0. You are using Moment.js ' + moment.version + '. See momentjs.com');\n\t}\n\n\t/************************************\n\t\tUnpacking\n\t************************************/\n\n\tfunction charCodeToInt(charCode) {\n\t\tif (charCode > 96) {\n\t\t\treturn charCode - 87;\n\t\t} else if (charCode > 64) {\n\t\t\treturn charCode - 29;\n\t\t}\n\t\treturn charCode - 48;\n\t}\n\n\tfunction unpackBase60(string) {\n\t\tvar i = 0,\n\t\t\tparts = string.split('.'),\n\t\t\twhole = parts[0],\n\t\t\tfractional = parts[1] || '',\n\t\t\tmultiplier = 1,\n\t\t\tnum,\n\t\t\tout = 0,\n\t\t\tsign = 1;\n\n\t\t// handle negative numbers\n\t\tif (string.charCodeAt(0) === 45) {\n\t\t\ti = 1;\n\t\t\tsign = -1;\n\t\t}\n\n\t\t// handle digits before the decimal\n\t\tfor (i; i < whole.length; i++) {\n\t\t\tnum = charCodeToInt(whole.charCodeAt(i));\n\t\t\tout = 60 * out + num;\n\t\t}\n\n\t\t// handle digits after the decimal\n\t\tfor (i = 0; i < fractional.length; i++) {\n\t\t\tmultiplier = multiplier / 60;\n\t\t\tnum = charCodeToInt(fractional.charCodeAt(i));\n\t\t\tout += num * multiplier;\n\t\t}\n\n\t\treturn out * sign;\n\t}\n\n\tfunction arrayToInt (array) {\n\t\tfor (var i = 0; i < array.length; i++) {\n\t\t\tarray[i] = unpackBase60(array[i]);\n\t\t}\n\t}\n\n\tfunction intToUntil (array, length) {\n\t\tfor (var i = 0; i < length; i++) {\n\t\t\tarray[i] = Math.round((array[i - 1] || 0) + (array[i] * 60000)); // minutes to milliseconds\n\t\t}\n\n\t\tarray[length - 1] = Infinity;\n\t}\n\n\tfunction mapIndices (source, indices) {\n\t\tvar out = [], i;\n\n\t\tfor (i = 0; i < indices.length; i++) {\n\t\t\tout[i] = source[indices[i]];\n\t\t}\n\n\t\treturn out;\n\t}\n\n\tfunction unpack (string) {\n\t\tvar data = string.split('|'),\n\t\t\toffsets = data[2].split(' '),\n\t\t\tindices = data[3].split(''),\n\t\t\tuntils  = data[4].split(' ');\n\n\t\tarrayToInt(offsets);\n\t\tarrayToInt(indices);\n\t\tarrayToInt(untils);\n\n\t\tintToUntil(untils, indices.length);\n\n\t\treturn {\n\t\t\tname       : data[0],\n\t\t\tabbrs      : mapIndices(data[1].split(' '), indices),\n\t\t\toffsets    : mapIndices(offsets, indices),\n\t\t\tuntils     : untils,\n\t\t\tpopulation : data[5] | 0\n\t\t};\n\t}\n\n\t/************************************\n\t\tZone object\n\t************************************/\n\n\tfunction Zone (packedString) {\n\t\tif (packedString) {\n\t\t\tthis._set(unpack(packedString));\n\t\t}\n\t}\n\n\tfunction closest (num, arr) {\n\t\tvar len = arr.length;\n\t\tif (num < arr[0]) {\n\t\t\treturn 0;\n\t\t} else if (len > 1 && arr[len - 1] === Infinity && num >= arr[len - 2]) {\n\t\t\treturn len - 1;\n\t\t} else if (num >= arr[len - 1]) {\n\t\t\treturn -1;\n\t\t}\n\n\t\tvar mid;\n\t\tvar lo = 0;\n\t\tvar hi = len - 1;\n\t\twhile (hi - lo > 1) {\n\t\t\tmid = Math.floor((lo + hi) / 2);\n\t\t\tif (arr[mid] <= num) {\n\t\t\t\tlo = mid;\n\t\t\t} else {\n\t\t\t\thi = mid;\n\t\t\t}\n\t\t}\n\t\treturn hi;\n\t}\n\n\tZone.prototype = {\n\t\t_set : function (unpacked) {\n\t\t\tthis.name       = unpacked.name;\n\t\t\tthis.abbrs      = unpacked.abbrs;\n\t\t\tthis.untils     = unpacked.untils;\n\t\t\tthis.offsets    = unpacked.offsets;\n\t\t\tthis.population = unpacked.population;\n\t\t},\n\n\t\t_index : function (timestamp) {\n\t\t\tvar target = +timestamp,\n\t\t\t\tuntils = this.untils,\n\t\t\t\ti;\n\n\t\t\ti = closest(target, untils);\n\t\t\tif (i >= 0) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t},\n\n\t\tcountries : function () {\n\t\t\tvar zone_name = this.name;\n\t\t\treturn Object.keys(countries).filter(function (country_code) {\n\t\t\t\treturn countries[country_code].zones.indexOf(zone_name) !== -1;\n\t\t\t});\n\t\t},\n\n\t\tparse : function (timestamp) {\n\t\t\tvar target  = +timestamp,\n\t\t\t\toffsets = this.offsets,\n\t\t\t\tuntils  = this.untils,\n\t\t\t\tmax     = untils.length - 1,\n\t\t\t\toffset, offsetNext, offsetPrev, i;\n\n\t\t\tfor (i = 0; i < max; i++) {\n\t\t\t\toffset     = offsets[i];\n\t\t\t\toffsetNext = offsets[i + 1];\n\t\t\t\toffsetPrev = offsets[i ? i - 1 : i];\n\n\t\t\t\tif (offset < offsetNext && tz.moveAmbiguousForward) {\n\t\t\t\t\toffset = offsetNext;\n\t\t\t\t} else if (offset > offsetPrev && tz.moveInvalidForward) {\n\t\t\t\t\toffset = offsetPrev;\n\t\t\t\t}\n\n\t\t\t\tif (target < untils[i] - (offset * 60000)) {\n\t\t\t\t\treturn offsets[i];\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn offsets[max];\n\t\t},\n\n\t\tabbr : function (mom) {\n\t\t\treturn this.abbrs[this._index(mom)];\n\t\t},\n\n\t\toffset : function (mom) {\n\t\t\tlogError(\"zone.offset has been deprecated in favor of zone.utcOffset\");\n\t\t\treturn this.offsets[this._index(mom)];\n\t\t},\n\n\t\tutcOffset : function (mom) {\n\t\t\treturn this.offsets[this._index(mom)];\n\t\t}\n\t};\n\n\t/************************************\n\t\tCountry object\n\t************************************/\n\n\tfunction Country (country_name, zone_names) {\n\t\tthis.name = country_name;\n\t\tthis.zones = zone_names;\n\t}\n\n\t/************************************\n\t\tCurrent Timezone\n\t************************************/\n\n\tfunction OffsetAt(at) {\n\t\tvar timeString = at.toTimeString();\n\t\tvar abbr = timeString.match(/\\([a-z ]+\\)/i);\n\t\tif (abbr && abbr[0]) {\n\t\t\t// 17:56:31 GMT-0600 (CST)\n\t\t\t// 17:56:31 GMT-0600 (Central Standard Time)\n\t\t\tabbr = abbr[0].match(/[A-Z]/g);\n\t\t\tabbr = abbr ? abbr.join('') : undefined;\n\t\t} else {\n\t\t\t// 17:56:31 CST\n\t\t\t// 17:56:31 GMT+0800 (台北標準時間)\n\t\t\tabbr = timeString.match(/[A-Z]{3,5}/g);\n\t\t\tabbr = abbr ? abbr[0] : undefined;\n\t\t}\n\n\t\tif (abbr === 'GMT') {\n\t\t\tabbr = undefined;\n\t\t}\n\n\t\tthis.at = +at;\n\t\tthis.abbr = abbr;\n\t\tthis.offset = at.getTimezoneOffset();\n\t}\n\n\tfunction ZoneScore(zone) {\n\t\tthis.zone = zone;\n\t\tthis.offsetScore = 0;\n\t\tthis.abbrScore = 0;\n\t}\n\n\tZoneScore.prototype.scoreOffsetAt = function (offsetAt) {\n\t\tthis.offsetScore += Math.abs(this.zone.utcOffset(offsetAt.at) - offsetAt.offset);\n\t\tif (this.zone.abbr(offsetAt.at).replace(/[^A-Z]/g, '') !== offsetAt.abbr) {\n\t\t\tthis.abbrScore++;\n\t\t}\n\t};\n\n\tfunction findChange(low, high) {\n\t\tvar mid, diff;\n\n\t\twhile ((diff = ((high.at - low.at) / 12e4 | 0) * 6e4)) {\n\t\t\tmid = new OffsetAt(new Date(low.at + diff));\n\t\t\tif (mid.offset === low.offset) {\n\t\t\t\tlow = mid;\n\t\t\t} else {\n\t\t\t\thigh = mid;\n\t\t\t}\n\t\t}\n\n\t\treturn low;\n\t}\n\n\tfunction userOffsets() {\n\t\tvar startYear = new Date().getFullYear() - 2,\n\t\t\tlast = new OffsetAt(new Date(startYear, 0, 1)),\n\t\t\tlastOffset = last.offset,\n\t\t\toffsets = [last],\n\t\t\tchange, next, nextOffset, i;\n\n\t\tfor (i = 1; i < 48; i++) {\n\t\t\tnextOffset = new Date(startYear, i, 1).getTimezoneOffset();\n\t\t\tif (nextOffset !== lastOffset) {\n\t\t\t\t// Create OffsetAt here to avoid unnecessary abbr parsing before checking offsets\n\t\t\t\tnext = new OffsetAt(new Date(startYear, i, 1));\n\t\t\t\tchange = findChange(last, next);\n\t\t\t\toffsets.push(change);\n\t\t\t\toffsets.push(new OffsetAt(new Date(change.at + 6e4)));\n\t\t\t\tlast = next;\n\t\t\t\tlastOffset = nextOffset;\n\t\t\t}\n\t\t}\n\n\t\tfor (i = 0; i < 4; i++) {\n\t\t\toffsets.push(new OffsetAt(new Date(startYear + i, 0, 1)));\n\t\t\toffsets.push(new OffsetAt(new Date(startYear + i, 6, 1)));\n\t\t}\n\n\t\treturn offsets;\n\t}\n\n\tfunction sortZoneScores (a, b) {\n\t\tif (a.offsetScore !== b.offsetScore) {\n\t\t\treturn a.offsetScore - b.offsetScore;\n\t\t}\n\t\tif (a.abbrScore !== b.abbrScore) {\n\t\t\treturn a.abbrScore - b.abbrScore;\n\t\t}\n\t\tif (a.zone.population !== b.zone.population) {\n\t\t\treturn b.zone.population - a.zone.population;\n\t\t}\n\t\treturn b.zone.name.localeCompare(a.zone.name);\n\t}\n\n\tfunction addToGuesses (name, offsets) {\n\t\tvar i, offset;\n\t\tarrayToInt(offsets);\n\t\tfor (i = 0; i < offsets.length; i++) {\n\t\t\toffset = offsets[i];\n\t\t\tguesses[offset] = guesses[offset] || {};\n\t\t\tguesses[offset][name] = true;\n\t\t}\n\t}\n\n\tfunction guessesForUserOffsets (offsets) {\n\t\tvar offsetsLength = offsets.length,\n\t\t\tfilteredGuesses = {},\n\t\t\tout = [],\n\t\t\tcheckedOffsets = {},\n\t\t\ti, j, offset, guessesOffset;\n\n\t\tfor (i = 0; i < offsetsLength; i++) {\n\t\t\toffset = offsets[i].offset;\n\t\t\tif (checkedOffsets.hasOwnProperty(offset)) {\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tguessesOffset = guesses[offset] || {};\n\t\t\tfor (j in guessesOffset) {\n\t\t\t\tif (guessesOffset.hasOwnProperty(j)) {\n\t\t\t\t\tfilteredGuesses[j] = true;\n\t\t\t\t}\n\t\t\t}\n\t\t\tcheckedOffsets[offset] = true;\n\t\t}\n\n\t\tfor (i in filteredGuesses) {\n\t\t\tif (filteredGuesses.hasOwnProperty(i)) {\n\t\t\t\tout.push(names[i]);\n\t\t\t}\n\t\t}\n\n\t\treturn out;\n\t}\n\n\tfunction rebuildGuess () {\n\n\t\t// use Intl API when available and returning valid time zone\n\t\ttry {\n\t\t\tvar intlName = Intl.DateTimeFormat().resolvedOptions().timeZone;\n\t\t\tif (intlName && intlName.length > 3) {\n\t\t\t\tvar name = names[normalizeName(intlName)];\n\t\t\t\tif (name) {\n\t\t\t\t\treturn name;\n\t\t\t\t}\n\t\t\t\tlogError(\"Moment Timezone found \" + intlName + \" from the Intl api, but did not have that data loaded.\");\n\t\t\t}\n\t\t} catch (e) {\n\t\t\t// Intl unavailable, fall back to manual guessing.\n\t\t}\n\n\t\tvar offsets = userOffsets(),\n\t\t\toffsetsLength = offsets.length,\n\t\t\tguesses = guessesForUserOffsets(offsets),\n\t\t\tzoneScores = [],\n\t\t\tzoneScore, i, j;\n\n\t\tfor (i = 0; i < guesses.length; i++) {\n\t\t\tzoneScore = new ZoneScore(getZone(guesses[i]), offsetsLength);\n\t\t\tfor (j = 0; j < offsetsLength; j++) {\n\t\t\t\tzoneScore.scoreOffsetAt(offsets[j]);\n\t\t\t}\n\t\t\tzoneScores.push(zoneScore);\n\t\t}\n\n\t\tzoneScores.sort(sortZoneScores);\n\n\t\treturn zoneScores.length > 0 ? zoneScores[0].zone.name : undefined;\n\t}\n\n\tfunction guess (ignoreCache) {\n\t\tif (!cachedGuess || ignoreCache) {\n\t\t\tcachedGuess = rebuildGuess();\n\t\t}\n\t\treturn cachedGuess;\n\t}\n\n\t/************************************\n\t\tGlobal Methods\n\t************************************/\n\n\tfunction normalizeName (name) {\n\t\treturn (name || '').toLowerCase().replace(/\\//g, '_');\n\t}\n\n\tfunction addZone (packed) {\n\t\tvar i, name, split, normalized;\n\n\t\tif (typeof packed === \"string\") {\n\t\t\tpacked = [packed];\n\t\t}\n\n\t\tfor (i = 0; i < packed.length; i++) {\n\t\t\tsplit = packed[i].split('|');\n\t\t\tname = split[0];\n\t\t\tnormalized = normalizeName(name);\n\t\t\tzones[normalized] = packed[i];\n\t\t\tnames[normalized] = name;\n\t\t\taddToGuesses(normalized, split[2].split(' '));\n\t\t}\n\t}\n\n\tfunction getZone (name, caller) {\n\n\t\tname = normalizeName(name);\n\n\t\tvar zone = zones[name];\n\t\tvar link;\n\n\t\tif (zone instanceof Zone) {\n\t\t\treturn zone;\n\t\t}\n\n\t\tif (typeof zone === 'string') {\n\t\t\tzone = new Zone(zone);\n\t\t\tzones[name] = zone;\n\t\t\treturn zone;\n\t\t}\n\n\t\t// Pass getZone to prevent recursion more than 1 level deep\n\t\tif (links[name] && caller !== getZone && (link = getZone(links[name], getZone))) {\n\t\t\tzone = zones[name] = new Zone();\n\t\t\tzone._set(link);\n\t\t\tzone.name = names[name];\n\t\t\treturn zone;\n\t\t}\n\n\t\treturn null;\n\t}\n\n\tfunction getNames () {\n\t\tvar i, out = [];\n\n\t\tfor (i in names) {\n\t\t\tif (names.hasOwnProperty(i) && (zones[i] || zones[links[i]]) && names[i]) {\n\t\t\t\tout.push(names[i]);\n\t\t\t}\n\t\t}\n\n\t\treturn out.sort();\n\t}\n\n\tfunction getCountryNames () {\n\t\treturn Object.keys(countries);\n\t}\n\n\tfunction addLink (aliases) {\n\t\tvar i, alias, normal0, normal1;\n\n\t\tif (typeof aliases === \"string\") {\n\t\t\taliases = [aliases];\n\t\t}\n\n\t\tfor (i = 0; i < aliases.length; i++) {\n\t\t\talias = aliases[i].split('|');\n\n\t\t\tnormal0 = normalizeName(alias[0]);\n\t\t\tnormal1 = normalizeName(alias[1]);\n\n\t\t\tlinks[normal0] = normal1;\n\t\t\tnames[normal0] = alias[0];\n\n\t\t\tlinks[normal1] = normal0;\n\t\t\tnames[normal1] = alias[1];\n\t\t}\n\t}\n\n\tfunction addCountries (data) {\n\t\tvar i, country_code, country_zones, split;\n\t\tif (!data || !data.length) return;\n\t\tfor (i = 0; i < data.length; i++) {\n\t\t\tsplit = data[i].split('|');\n\t\t\tcountry_code = split[0].toUpperCase();\n\t\t\tcountry_zones = split[1].split(' ');\n\t\t\tcountries[country_code] = new Country(\n\t\t\t\tcountry_code,\n\t\t\t\tcountry_zones\n\t\t\t);\n\t\t}\n\t}\n\n\tfunction getCountry (name) {\n\t\tname = name.toUpperCase();\n\t\treturn countries[name] || null;\n\t}\n\n\tfunction zonesForCountry(country, with_offset) {\n\t\tcountry = getCountry(country);\n\n\t\tif (!country) return null;\n\n\t\tvar zones = country.zones.sort();\n\n\t\tif (with_offset) {\n\t\t\treturn zones.map(function (zone_name) {\n\t\t\t\tvar zone = getZone(zone_name);\n\t\t\t\treturn {\n\t\t\t\t\tname: zone_name,\n\t\t\t\t\toffset: zone.utcOffset(new Date())\n\t\t\t\t};\n\t\t\t});\n\t\t}\n\n\t\treturn zones;\n\t}\n\n\tfunction loadData (data) {\n\t\taddZone(data.zones);\n\t\taddLink(data.links);\n\t\taddCountries(data.countries);\n\t\ttz.dataVersion = data.version;\n\t}\n\n\tfunction zoneExists (name) {\n\t\tif (!zoneExists.didShowError) {\n\t\t\tzoneExists.didShowError = true;\n\t\t\t\tlogError(\"moment.tz.zoneExists('\" + name + \"') has been deprecated in favor of !moment.tz.zone('\" + name + \"')\");\n\t\t}\n\t\treturn !!getZone(name);\n\t}\n\n\tfunction needsOffset (m) {\n\t\tvar isUnixTimestamp = (m._f === 'X' || m._f === 'x');\n\t\treturn !!(m._a && (m._tzm === undefined) && !isUnixTimestamp);\n\t}\n\n\tfunction logError (message) {\n\t\tif (typeof console !== 'undefined' && typeof console.error === 'function') {\n\t\t\tconsole.error(message);\n\t\t}\n\t}\n\n\t/************************************\n\t\tmoment.tz namespace\n\t************************************/\n\n\tfunction tz (input) {\n\t\tvar args = Array.prototype.slice.call(arguments, 0, -1),\n\t\t\tname = arguments[arguments.length - 1],\n\t\t\tout  = moment.utc.apply(null, args),\n\t\t\tzone;\n\n\t\tif (!moment.isMoment(input) && needsOffset(out) && (zone = getZone(name))) {\n\t\t\tout.add(zone.parse(out), 'minutes');\n\t\t}\n\n\t\tout.tz(name);\n\n\t\treturn out;\n\t}\n\n\ttz.version      = VERSION;\n\ttz.dataVersion  = '';\n\ttz._zones       = zones;\n\ttz._links       = links;\n\ttz._names       = names;\n\ttz._countries\t= countries;\n\ttz.add          = addZone;\n\ttz.link         = addLink;\n\ttz.load         = loadData;\n\ttz.zone         = getZone;\n\ttz.zoneExists   = zoneExists; // deprecated in 0.1.0\n\ttz.guess        = guess;\n\ttz.names        = getNames;\n\ttz.Zone         = Zone;\n\ttz.unpack       = unpack;\n\ttz.unpackBase60 = unpackBase60;\n\ttz.needsOffset  = needsOffset;\n\ttz.moveInvalidForward   = true;\n\ttz.moveAmbiguousForward = false;\n\ttz.countries    = getCountryNames;\n\ttz.zonesForCountry = zonesForCountry;\n\n\t/************************************\n\t\tInterface with Moment.js\n\t************************************/\n\n\tvar fn = moment.fn;\n\n\tmoment.tz = tz;\n\n\tmoment.defaultZone = null;\n\n\tmoment.updateOffset = function (mom, keepTime) {\n\t\tvar zone = moment.defaultZone,\n\t\t\toffset;\n\n\t\tif (mom._z === undefined) {\n\t\t\tif (zone && needsOffset(mom) && !mom._isUTC && mom.isValid()) {\n\t\t\t\tmom._d = moment.utc(mom._a)._d;\n\t\t\t\tmom.utc().add(zone.parse(mom), 'minutes');\n\t\t\t}\n\t\t\tmom._z = zone;\n\t\t}\n\t\tif (mom._z) {\n\t\t\toffset = mom._z.utcOffset(mom);\n\t\t\tif (Math.abs(offset) < 16) {\n\t\t\t\toffset = offset / 60;\n\t\t\t}\n\t\t\tif (mom.utcOffset !== undefined) {\n\t\t\t\tvar z = mom._z;\n\t\t\t\tmom.utcOffset(-offset, keepTime);\n\t\t\t\tmom._z = z;\n\t\t\t} else {\n\t\t\t\tmom.zone(offset, keepTime);\n\t\t\t}\n\t\t}\n\t};\n\n\tfn.tz = function (name, keepTime) {\n\t\tif (name) {\n\t\t\tif (typeof name !== 'string') {\n\t\t\t\tthrow new Error('Time zone name must be a string, got ' + name + ' [' + typeof name + ']');\n\t\t\t}\n\t\t\tthis._z = getZone(name);\n\t\t\tif (this._z) {\n\t\t\t\tmoment.updateOffset(this, keepTime);\n\t\t\t} else {\n\t\t\t\tlogError(\"Moment Timezone has no data for \" + name + \". See http://momentjs.com/timezone/docs/#/data-loading/.\");\n\t\t\t}\n\t\t\treturn this;\n\t\t}\n\t\tif (this._z) { return this._z.name; }\n\t};\n\n\tfunction abbrWrap (old) {\n\t\treturn function () {\n\t\t\tif (this._z) { return this._z.abbr(this); }\n\t\t\treturn old.call(this);\n\t\t};\n\t}\n\n\tfunction resetZoneWrap (old) {\n\t\treturn function () {\n\t\t\tthis._z = null;\n\t\t\treturn old.apply(this, arguments);\n\t\t};\n\t}\n\n\tfunction resetZoneWrap2 (old) {\n\t\treturn function () {\n\t\t\tif (arguments.length > 0) this._z = null;\n\t\t\treturn old.apply(this, arguments);\n\t\t};\n\t}\n\n\tfn.zoneName  = abbrWrap(fn.zoneName);\n\tfn.zoneAbbr  = abbrWrap(fn.zoneAbbr);\n\tfn.utc       = resetZoneWrap(fn.utc);\n\tfn.local     = resetZoneWrap(fn.local);\n\tfn.utcOffset = resetZoneWrap2(fn.utcOffset);\n\n\tmoment.tz.setDefault = function(name) {\n\t\tif (major < 2 || (major === 2 && minor < 9)) {\n\t\t\tlogError('Moment Timezone setDefault() requires Moment.js >= 2.9.0. You are using Moment.js ' + moment.version + '.');\n\t\t}\n\t\tmoment.defaultZone = name ? getZone(name) : null;\n\t\treturn moment;\n\t};\n\n\t// Cloning a moment should include the _z property.\n\tvar momentProperties = moment.momentProperties;\n\tif (Object.prototype.toString.call(momentProperties) === '[object Array]') {\n\t\t// moment 2.8.1+\n\t\tmomentProperties.push('_z');\n\t\tmomentProperties.push('_a');\n\t} else if (momentProperties) {\n\t\t// moment 2.7.0\n\t\tmomentProperties._z = null;\n\t}\n\n\t// INJECT DATA\n\n\treturn moment;\n}));\n","/*! store2 - v2.11.0 - 2020-03-23\n* Copyright (c) 2020 Nathan Bubna; Licensed (MIT OR GPL-3.0) */\n;(function(window, define) {\n    var _ = {\n        version: \"2.11.0\",\n        areas: {},\n        apis: {},\n\n        // utilities\n        inherit: function(api, o) {\n            for (var p in api) {\n                if (!o.hasOwnProperty(p)) {\n                    Object.defineProperty(o, p, Object.getOwnPropertyDescriptor(api, p));\n                }\n            }\n            return o;\n        },\n        stringify: function(d) {\n            return d === undefined || typeof d === \"function\" ? d+'' : JSON.stringify(d);\n        },\n        parse: function(s, fn) {\n            // if it doesn't parse, return as is\n            try{ return JSON.parse(s,fn||_.revive); }catch(e){ return s; }\n        },\n\n        // extension hooks\n        fn: function(name, fn) {\n            _.storeAPI[name] = fn;\n            for (var api in _.apis) {\n                _.apis[api][name] = fn;\n            }\n        },\n        get: function(area, key){ return area.getItem(key); },\n        set: function(area, key, string){ area.setItem(key, string); },\n        remove: function(area, key){ area.removeItem(key); },\n        key: function(area, i){ return area.key(i); },\n        length: function(area){ return area.length; },\n        clear: function(area){ area.clear(); },\n\n        // core functions\n        Store: function(id, area, namespace) {\n            var store = _.inherit(_.storeAPI, function(key, data, overwrite) {\n                if (arguments.length === 0){ return store.getAll(); }\n                if (typeof data === \"function\"){ return store.transact(key, data, overwrite); }// fn=data, alt=overwrite\n                if (data !== undefined){ return store.set(key, data, overwrite); }\n                if (typeof key === \"string\" || typeof key === \"number\"){ return store.get(key); }\n                if (typeof key === \"function\"){ return store.each(key); }\n                if (!key){ return store.clear(); }\n                return store.setAll(key, data);// overwrite=data, data=key\n            });\n            store._id = id;\n            try {\n                var testKey = '_-bad-_';\n                area.setItem(testKey, 'wolf');\n                store._area = area;\n                area.removeItem(testKey);\n            } catch (e) {}\n            if (!store._area) {\n                store._area = _.storage('fake');\n            }\n            store._ns = namespace || '';\n            if (!_.areas[id]) {\n                _.areas[id] = store._area;\n            }\n            if (!_.apis[store._ns+store._id]) {\n                _.apis[store._ns+store._id] = store;\n            }\n            return store;\n        },\n        storeAPI: {\n            // admin functions\n            area: function(id, area) {\n                var store = this[id];\n                if (!store || !store.area) {\n                    store = _.Store(id, area, this._ns);//new area-specific api in this namespace\n                    if (!this[id]){ this[id] = store; }\n                }\n                return store;\n            },\n            namespace: function(namespace, singleArea) {\n                if (!namespace){\n                    return this._ns ? this._ns.substring(0,this._ns.length-1) : '';\n                }\n                var ns = namespace, store = this[ns];\n                if (!store || !store.namespace) {\n                    store = _.Store(this._id, this._area, this._ns+ns+'.');//new namespaced api\n                    if (!this[ns]){ this[ns] = store; }\n                    if (!singleArea) {\n                        for (var name in _.areas) {\n                            store.area(name, _.areas[name]);\n                        }\n                    }\n                }\n                return store;\n            },\n            isFake: function(){ return this._area.name === 'fake'; },\n            toString: function() {\n                return 'store'+(this._ns?'.'+this.namespace():'')+'['+this._id+']';\n            },\n\n            // storage functions\n            has: function(key) {\n                if (this._area.has) {\n                    return this._area.has(this._in(key));//extension hook\n                }\n                return !!(this._in(key) in this._area);\n            },\n            size: function(){ return this.keys().length; },\n            each: function(fn, fill) {// fill is used by keys(fillList) and getAll(fillList))\n                for (var i=0, m=_.length(this._area); i<m; i++) {\n                    var key = this._out(_.key(this._area, i));\n                    if (key !== undefined) {\n                        if (fn.call(this, key, this.get(key), fill) === false) {\n                            break;\n                        }\n                    }\n                    if (m > _.length(this._area)) { m--; i--; }// in case of removeItem\n                }\n                return fill || this;\n            },\n            keys: function(fillList) {\n                return this.each(function(k, v, list){ list.push(k); }, fillList || []);\n            },\n            get: function(key, alt) {\n                var s = _.get(this._area, this._in(key)),\n                    fn;\n                if (typeof alt === \"function\") {\n                    fn = alt;\n                    alt = null;\n                }\n                return s !== null ? _.parse(s, fn) : alt || s;// support alt for easy default mgmt\n            },\n            getAll: function(fillObj) {\n                return this.each(function(k, v, all){ all[k] = v; }, fillObj || {});\n            },\n            transact: function(key, fn, alt) {\n                var val = this.get(key, alt),\n                    ret = fn(val);\n                this.set(key, ret === undefined ? val : ret);\n                return this;\n            },\n            set: function(key, data, overwrite) {\n                var d = this.get(key);\n                if (d != null && overwrite === false) {\n                    return data;\n                }\n                return _.set(this._area, this._in(key), _.stringify(data), overwrite) || d;\n            },\n            setAll: function(data, overwrite) {\n                var changed, val;\n                for (var key in data) {\n                    val = data[key];\n                    if (this.set(key, val, overwrite) !== val) {\n                        changed = true;\n                    }\n                }\n                return changed;\n            },\n            add: function(key, data) {\n                var d = this.get(key);\n                if (d instanceof Array) {\n                    data = d.concat(data);\n                } else if (d !== null) {\n                    var type = typeof d;\n                    if (type === typeof data && type === 'object') {\n                        for (var k in data) {\n                            d[k] = data[k];\n                        }\n                        data = d;\n                    } else {\n                        data = d + data;\n                    }\n                }\n                _.set(this._area, this._in(key), _.stringify(data));\n                return data;\n            },\n            remove: function(key, alt) {\n                var d = this.get(key, alt);\n                _.remove(this._area, this._in(key));\n                return d;\n            },\n            clear: function() {\n                if (!this._ns) {\n                    _.clear(this._area);\n                } else {\n                    this.each(function(k){ _.remove(this._area, this._in(k)); }, 1);\n                }\n                return this;\n            },\n            clearAll: function() {\n                var area = this._area;\n                for (var id in _.areas) {\n                    if (_.areas.hasOwnProperty(id)) {\n                        this._area = _.areas[id];\n                        this.clear();\n                    }\n                }\n                this._area = area;\n                return this;\n            },\n\n            // internal use functions\n            _in: function(k) {\n                if (typeof k !== \"string\"){ k = _.stringify(k); }\n                return this._ns ? this._ns + k : k;\n            },\n            _out: function(k) {\n                return this._ns ?\n                    k && k.indexOf(this._ns) === 0 ?\n                        k.substring(this._ns.length) :\n                        undefined : // so each() knows to skip it\n                    k;\n            }\n        },// end _.storeAPI\n        storage: function(name) {\n            return _.inherit(_.storageAPI, { items: {}, name: name });\n        },\n        storageAPI: {\n            length: 0,\n            has: function(k){ return this.items.hasOwnProperty(k); },\n            key: function(i) {\n                var c = 0;\n                for (var k in this.items){\n                    if (this.has(k) && i === c++) {\n                        return k;\n                    }\n                }\n            },\n            setItem: function(k, v) {\n                if (!this.has(k)) {\n                    this.length++;\n                }\n                this.items[k] = v;\n            },\n            removeItem: function(k) {\n                if (this.has(k)) {\n                    delete this.items[k];\n                    this.length--;\n                }\n            },\n            getItem: function(k){ return this.has(k) ? this.items[k] : null; },\n            clear: function(){ for (var k in this.items){ this.removeItem(k); } }\n        }// end _.storageAPI\n    };\n\n    var store =\n        // safely set this up (throws error in IE10/32bit mode for local files)\n        _.Store(\"local\", (function(){try{ return localStorage; }catch(e){}})());\n    store.local = store;// for completeness\n    store._ = _;// for extenders and debuggers...\n    // safely setup store.session (throws exception in FF for file:/// urls)\n    store.area(\"session\", (function(){try{ return sessionStorage; }catch(e){}})());\n    store.area(\"page\", _.storage(\"page\"));\n\n    if (typeof define === 'function' && define.amd !== undefined) {\n        define('store2', [], function () {\n            return store;\n        });\n    } else if (typeof module !== 'undefined' && module.exports) {\n        module.exports = store;\n    } else {\n        // expose the primary store fn to the global object and save conflicts\n        if (window.store){ _.conflict = window.store; }\n        window.store = store;\n    }\n\n})(this, this && this.define);\n","!function a(b,c,d){function e(g,h){if(!c[g]){if(!b[g]){var i=\"function\"==typeof require&&require;if(!h&&i)return i(g,!0);if(f)return f(g,!0);var j=new Error(\"Cannot find module '\"+g+\"'\");throw j.code=\"MODULE_NOT_FOUND\",j}var k=c[g]={exports:{}};b[g][0].call(k.exports,function(a){var c=b[g][1][a];return e(c?c:a)},k,k.exports,a,b,c,d)}return c[g].exports}for(var f=\"function\"==typeof require&&require,g=0;g<d.length;g++)e(d[g]);return e}({1:[function(a,b,c){function d(a){this.message=a}function e(a){var b=String(a).replace(/=+$/,\"\");if(b.length%4==1)throw new d(\"'atob' failed: The string to be decoded is not correctly encoded.\");for(var c,e,g=0,h=0,i=\"\";e=b.charAt(h++);~e&&(c=g%4?64*c+e:e,g++%4)?i+=String.fromCharCode(255&c>>(-2*g&6)):0)e=f.indexOf(e);return i}var f=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\";d.prototype=new Error,d.prototype.name=\"InvalidCharacterError\",b.exports=\"undefined\"!=typeof window&&window.atob&&window.atob.bind(window)||e},{}],2:[function(a,b,c){function d(a){return decodeURIComponent(e(a).replace(/(.)/g,function(a,b){var c=b.charCodeAt(0).toString(16).toUpperCase();return c.length<2&&(c=\"0\"+c),\"%\"+c}))}var e=a(\"./atob\");b.exports=function(a){var b=a.replace(/-/g,\"+\").replace(/_/g,\"/\");switch(b.length%4){case 0:break;case 2:b+=\"==\";break;case 3:b+=\"=\";break;default:throw\"Illegal base64url string!\"}try{return d(b)}catch(c){return e(b)}}},{\"./atob\":1}],3:[function(a,b,c){\"use strict\";function d(a){this.message=a}var e=a(\"./base64_url_decode\");d.prototype=new Error,d.prototype.name=\"InvalidTokenError\",b.exports=function(a,b){if(\"string\"!=typeof a)throw new d(\"Invalid token specified\");b=b||{};var c=b.header===!0?0:1;try{return JSON.parse(e(a.split(\".\")[c]))}catch(f){throw new d(\"Invalid token specified: \"+f.message)}},b.exports.InvalidTokenError=d},{\"./base64_url_decode\":2}],4:[function(a,b,c){(function(b){var c=a(\"./lib/index\");\"function\"==typeof b.window.define&&b.window.define.amd?b.window.define(\"jwt_decode\",function(){return c}):b.window&&(b.window.jwt_decode=c)}).call(this,\"undefined\"!=typeof global?global:\"undefined\"!=typeof self?self:\"undefined\"!=typeof window?window:{})},{\"./lib/index\":3}]},{},[4]);","/*\r\n *  big.js v5.2.2\r\n *  A small, fast, easy-to-use library for arbitrary-precision decimal arithmetic.\r\n *  Copyright (c) 2018 Michael Mclaughlin <M8ch88l@gmail.com>\r\n *  https://github.com/MikeMcl/big.js/LICENCE\r\n */\r\n;(function (GLOBAL) {\r\n  'use strict';\r\n  var Big,\r\n\r\n\r\n/************************************** EDITABLE DEFAULTS *****************************************/\r\n\r\n\r\n    // The default values below must be integers within the stated ranges.\r\n\r\n    /*\r\n     * The maximum number of decimal places (DP) of the results of operations involving division:\r\n     * div and sqrt, and pow with negative exponents.\r\n     */\r\n    DP = 20,          // 0 to MAX_DP\r\n\r\n    /*\r\n     * The rounding mode (RM) used when rounding to the above decimal places.\r\n     *\r\n     *  0  Towards zero (i.e. truncate, no rounding).       (ROUND_DOWN)\r\n     *  1  To nearest neighbour. If equidistant, round up.  (ROUND_HALF_UP)\r\n     *  2  To nearest neighbour. If equidistant, to even.   (ROUND_HALF_EVEN)\r\n     *  3  Away from zero.                                  (ROUND_UP)\r\n     */\r\n    RM = 1,             // 0, 1, 2 or 3\r\n\r\n    // The maximum value of DP and Big.DP.\r\n    MAX_DP = 1E6,       // 0 to 1000000\r\n\r\n    // The maximum magnitude of the exponent argument to the pow method.\r\n    MAX_POWER = 1E6,    // 1 to 1000000\r\n\r\n    /*\r\n     * The negative exponent (NE) at and beneath which toString returns exponential notation.\r\n     * (JavaScript numbers: -7)\r\n     * -1000000 is the minimum recommended exponent value of a Big.\r\n     */\r\n    NE = -7,            // 0 to -1000000\r\n\r\n    /*\r\n     * The positive exponent (PE) at and above which toString returns exponential notation.\r\n     * (JavaScript numbers: 21)\r\n     * 1000000 is the maximum recommended exponent value of a Big.\r\n     * (This limit is not enforced or checked.)\r\n     */\r\n    PE = 21,            // 0 to 1000000\r\n\r\n\r\n/**************************************************************************************************/\r\n\r\n\r\n    // Error messages.\r\n    NAME = '[big.js] ',\r\n    INVALID = NAME + 'Invalid ',\r\n    INVALID_DP = INVALID + 'decimal places',\r\n    INVALID_RM = INVALID + 'rounding mode',\r\n    DIV_BY_ZERO = NAME + 'Division by zero',\r\n\r\n    // The shared prototype object.\r\n    P = {},\r\n    UNDEFINED = void 0,\r\n    NUMERIC = /^-?(\\d+(\\.\\d*)?|\\.\\d+)(e[+-]?\\d+)?$/i;\r\n\r\n\r\n  /*\r\n   * Create and return a Big constructor.\r\n   *\r\n   */\r\n  function _Big_() {\r\n\r\n    /*\r\n     * The Big constructor and exported function.\r\n     * Create and return a new instance of a Big number object.\r\n     *\r\n     * n {number|string|Big} A numeric value.\r\n     */\r\n    function Big(n) {\r\n      var x = this;\r\n\r\n      // Enable constructor usage without new.\r\n      if (!(x instanceof Big)) return n === UNDEFINED ? _Big_() : new Big(n);\r\n\r\n      // Duplicate.\r\n      if (n instanceof Big) {\r\n        x.s = n.s;\r\n        x.e = n.e;\r\n        x.c = n.c.slice();\r\n      } else {\r\n        parse(x, n);\r\n      }\r\n\r\n      /*\r\n       * Retain a reference to this Big constructor, and shadow Big.prototype.constructor which\r\n       * points to Object.\r\n       */\r\n      x.constructor = Big;\r\n    }\r\n\r\n    Big.prototype = P;\r\n    Big.DP = DP;\r\n    Big.RM = RM;\r\n    Big.NE = NE;\r\n    Big.PE = PE;\r\n    Big.version = '5.2.2';\r\n\r\n    return Big;\r\n  }\r\n\r\n\r\n  /*\r\n   * Parse the number or string value passed to a Big constructor.\r\n   *\r\n   * x {Big} A Big number instance.\r\n   * n {number|string} A numeric value.\r\n   */\r\n  function parse(x, n) {\r\n    var e, i, nl;\r\n\r\n    // Minus zero?\r\n    if (n === 0 && 1 / n < 0) n = '-0';\r\n    else if (!NUMERIC.test(n += '')) throw Error(INVALID + 'number');\r\n\r\n    // Determine sign.\r\n    x.s = n.charAt(0) == '-' ? (n = n.slice(1), -1) : 1;\r\n\r\n    // Decimal point?\r\n    if ((e = n.indexOf('.')) > -1) n = n.replace('.', '');\r\n\r\n    // Exponential form?\r\n    if ((i = n.search(/e/i)) > 0) {\r\n\r\n      // Determine exponent.\r\n      if (e < 0) e = i;\r\n      e += +n.slice(i + 1);\r\n      n = n.substring(0, i);\r\n    } else if (e < 0) {\r\n\r\n      // Integer.\r\n      e = n.length;\r\n    }\r\n\r\n    nl = n.length;\r\n\r\n    // Determine leading zeros.\r\n    for (i = 0; i < nl && n.charAt(i) == '0';) ++i;\r\n\r\n    if (i == nl) {\r\n\r\n      // Zero.\r\n      x.c = [x.e = 0];\r\n    } else {\r\n\r\n      // Determine trailing zeros.\r\n      for (; nl > 0 && n.charAt(--nl) == '0';);\r\n      x.e = e - i - 1;\r\n      x.c = [];\r\n\r\n      // Convert string to array of digits without leading/trailing zeros.\r\n      for (e = 0; i <= nl;) x.c[e++] = +n.charAt(i++);\r\n    }\r\n\r\n    return x;\r\n  }\r\n\r\n\r\n  /*\r\n   * Round Big x to a maximum of dp decimal places using rounding mode rm.\r\n   * Called by stringify, P.div, P.round and P.sqrt.\r\n   *\r\n   * x {Big} The Big to round.\r\n   * dp {number} Integer, 0 to MAX_DP inclusive.\r\n   * rm {number} 0, 1, 2 or 3 (DOWN, HALF_UP, HALF_EVEN, UP)\r\n   * [more] {boolean} Whether the result of division was truncated.\r\n   */\r\n  function round(x, dp, rm, more) {\r\n    var xc = x.c,\r\n      i = x.e + dp + 1;\r\n\r\n    if (i < xc.length) {\r\n      if (rm === 1) {\r\n\r\n        // xc[i] is the digit after the digit that may be rounded up.\r\n        more = xc[i] >= 5;\r\n      } else if (rm === 2) {\r\n        more = xc[i] > 5 || xc[i] == 5 &&\r\n          (more || i < 0 || xc[i + 1] !== UNDEFINED || xc[i - 1] & 1);\r\n      } else if (rm === 3) {\r\n        more = more || !!xc[0];\r\n      } else {\r\n        more = false;\r\n        if (rm !== 0) throw Error(INVALID_RM);\r\n      }\r\n\r\n      if (i < 1) {\r\n        xc.length = 1;\r\n\r\n        if (more) {\r\n\r\n          // 1, 0.1, 0.01, 0.001, 0.0001 etc.\r\n          x.e = -dp;\r\n          xc[0] = 1;\r\n        } else {\r\n\r\n          // Zero.\r\n          xc[0] = x.e = 0;\r\n        }\r\n      } else {\r\n\r\n        // Remove any digits after the required decimal places.\r\n        xc.length = i--;\r\n\r\n        // Round up?\r\n        if (more) {\r\n\r\n          // Rounding up may mean the previous digit has to be rounded up.\r\n          for (; ++xc[i] > 9;) {\r\n            xc[i] = 0;\r\n            if (!i--) {\r\n              ++x.e;\r\n              xc.unshift(1);\r\n            }\r\n          }\r\n        }\r\n\r\n        // Remove trailing zeros.\r\n        for (i = xc.length; !xc[--i];) xc.pop();\r\n      }\r\n    } else if (rm < 0 || rm > 3 || rm !== ~~rm) {\r\n      throw Error(INVALID_RM);\r\n    }\r\n\r\n    return x;\r\n  }\r\n\r\n\r\n  /*\r\n   * Return a string representing the value of Big x in normal or exponential notation.\r\n   * Handles P.toExponential, P.toFixed, P.toJSON, P.toPrecision, P.toString and P.valueOf.\r\n   *\r\n   * x {Big}\r\n   * id? {number} Caller id.\r\n   *         1 toExponential\r\n   *         2 toFixed\r\n   *         3 toPrecision\r\n   *         4 valueOf\r\n   * n? {number|undefined} Caller's argument.\r\n   * k? {number|undefined}\r\n   */\r\n  function stringify(x, id, n, k) {\r\n    var e, s,\r\n      Big = x.constructor,\r\n      z = !x.c[0];\r\n\r\n    if (n !== UNDEFINED) {\r\n      if (n !== ~~n || n < (id == 3) || n > MAX_DP) {\r\n        throw Error(id == 3 ? INVALID + 'precision' : INVALID_DP);\r\n      }\r\n\r\n      x = new Big(x);\r\n\r\n      // The index of the digit that may be rounded up.\r\n      n = k - x.e;\r\n\r\n      // Round?\r\n      if (x.c.length > ++k) round(x, n, Big.RM);\r\n\r\n      // toFixed: recalculate k as x.e may have changed if value rounded up.\r\n      if (id == 2) k = x.e + n + 1;\r\n\r\n      // Append zeros?\r\n      for (; x.c.length < k;) x.c.push(0);\r\n    }\r\n\r\n    e = x.e;\r\n    s = x.c.join('');\r\n    n = s.length;\r\n\r\n    // Exponential notation?\r\n    if (id != 2 && (id == 1 || id == 3 && k <= e || e <= Big.NE || e >= Big.PE)) {\r\n      s = s.charAt(0) + (n > 1 ? '.' + s.slice(1) : '') + (e < 0 ? 'e' : 'e+') + e;\r\n\r\n    // Normal notation.\r\n    } else if (e < 0) {\r\n      for (; ++e;) s = '0' + s;\r\n      s = '0.' + s;\r\n    } else if (e > 0) {\r\n      if (++e > n) for (e -= n; e--;) s += '0';\r\n      else if (e < n) s = s.slice(0, e) + '.' + s.slice(e);\r\n    } else if (n > 1) {\r\n      s = s.charAt(0) + '.' + s.slice(1);\r\n    }\r\n\r\n    return x.s < 0 && (!z || id == 4) ? '-' + s : s;\r\n  }\r\n\r\n\r\n  // Prototype/instance methods\r\n\r\n\r\n  /*\r\n   * Return a new Big whose value is the absolute value of this Big.\r\n   */\r\n  P.abs = function () {\r\n    var x = new this.constructor(this);\r\n    x.s = 1;\r\n    return x;\r\n  };\r\n\r\n\r\n  /*\r\n   * Return 1 if the value of this Big is greater than the value of Big y,\r\n   *       -1 if the value of this Big is less than the value of Big y, or\r\n   *        0 if they have the same value.\r\n  */\r\n  P.cmp = function (y) {\r\n    var isneg,\r\n      x = this,\r\n      xc = x.c,\r\n      yc = (y = new x.constructor(y)).c,\r\n      i = x.s,\r\n      j = y.s,\r\n      k = x.e,\r\n      l = y.e;\r\n\r\n    // Either zero?\r\n    if (!xc[0] || !yc[0]) return !xc[0] ? !yc[0] ? 0 : -j : i;\r\n\r\n    // Signs differ?\r\n    if (i != j) return i;\r\n\r\n    isneg = i < 0;\r\n\r\n    // Compare exponents.\r\n    if (k != l) return k > l ^ isneg ? 1 : -1;\r\n\r\n    j = (k = xc.length) < (l = yc.length) ? k : l;\r\n\r\n    // Compare digit by digit.\r\n    for (i = -1; ++i < j;) {\r\n      if (xc[i] != yc[i]) return xc[i] > yc[i] ^ isneg ? 1 : -1;\r\n    }\r\n\r\n    // Compare lengths.\r\n    return k == l ? 0 : k > l ^ isneg ? 1 : -1;\r\n  };\r\n\r\n\r\n  /*\r\n   * Return a new Big whose value is the value of this Big divided by the value of Big y, rounded,\r\n   * if necessary, to a maximum of Big.DP decimal places using rounding mode Big.RM.\r\n   */\r\n  P.div = function (y) {\r\n    var x = this,\r\n      Big = x.constructor,\r\n      a = x.c,                  // dividend\r\n      b = (y = new Big(y)).c,   // divisor\r\n      k = x.s == y.s ? 1 : -1,\r\n      dp = Big.DP;\r\n\r\n    if (dp !== ~~dp || dp < 0 || dp > MAX_DP) throw Error(INVALID_DP);\r\n\r\n    // Divisor is zero?\r\n    if (!b[0]) throw Error(DIV_BY_ZERO);\r\n\r\n    // Dividend is 0? Return +-0.\r\n    if (!a[0]) return new Big(k * 0);\r\n\r\n    var bl, bt, n, cmp, ri,\r\n      bz = b.slice(),\r\n      ai = bl = b.length,\r\n      al = a.length,\r\n      r = a.slice(0, bl),   // remainder\r\n      rl = r.length,\r\n      q = y,                // quotient\r\n      qc = q.c = [],\r\n      qi = 0,\r\n      d = dp + (q.e = x.e - y.e) + 1;    // number of digits of the result\r\n\r\n    q.s = k;\r\n    k = d < 0 ? 0 : d;\r\n\r\n    // Create version of divisor with leading zero.\r\n    bz.unshift(0);\r\n\r\n    // Add zeros to make remainder as long as divisor.\r\n    for (; rl++ < bl;) r.push(0);\r\n\r\n    do {\r\n\r\n      // n is how many times the divisor goes into current remainder.\r\n      for (n = 0; n < 10; n++) {\r\n\r\n        // Compare divisor and remainder.\r\n        if (bl != (rl = r.length)) {\r\n          cmp = bl > rl ? 1 : -1;\r\n        } else {\r\n          for (ri = -1, cmp = 0; ++ri < bl;) {\r\n            if (b[ri] != r[ri]) {\r\n              cmp = b[ri] > r[ri] ? 1 : -1;\r\n              break;\r\n            }\r\n          }\r\n        }\r\n\r\n        // If divisor < remainder, subtract divisor from remainder.\r\n        if (cmp < 0) {\r\n\r\n          // Remainder can't be more than 1 digit longer than divisor.\r\n          // Equalise lengths using divisor with extra leading zero?\r\n          for (bt = rl == bl ? b : bz; rl;) {\r\n            if (r[--rl] < bt[rl]) {\r\n              ri = rl;\r\n              for (; ri && !r[--ri];) r[ri] = 9;\r\n              --r[ri];\r\n              r[rl] += 10;\r\n            }\r\n            r[rl] -= bt[rl];\r\n          }\r\n\r\n          for (; !r[0];) r.shift();\r\n        } else {\r\n          break;\r\n        }\r\n      }\r\n\r\n      // Add the digit n to the result array.\r\n      qc[qi++] = cmp ? n : ++n;\r\n\r\n      // Update the remainder.\r\n      if (r[0] && cmp) r[rl] = a[ai] || 0;\r\n      else r = [a[ai]];\r\n\r\n    } while ((ai++ < al || r[0] !== UNDEFINED) && k--);\r\n\r\n    // Leading zero? Do not remove if result is simply zero (qi == 1).\r\n    if (!qc[0] && qi != 1) {\r\n\r\n      // There can't be more than one zero.\r\n      qc.shift();\r\n      q.e--;\r\n    }\r\n\r\n    // Round?\r\n    if (qi > d) round(q, dp, Big.RM, r[0] !== UNDEFINED);\r\n\r\n    return q;\r\n  };\r\n\r\n\r\n  /*\r\n   * Return true if the value of this Big is equal to the value of Big y, otherwise return false.\r\n   */\r\n  P.eq = function (y) {\r\n    return !this.cmp(y);\r\n  };\r\n\r\n\r\n  /*\r\n   * Return true if the value of this Big is greater than the value of Big y, otherwise return\r\n   * false.\r\n   */\r\n  P.gt = function (y) {\r\n    return this.cmp(y) > 0;\r\n  };\r\n\r\n\r\n  /*\r\n   * Return true if the value of this Big is greater than or equal to the value of Big y, otherwise\r\n   * return false.\r\n   */\r\n  P.gte = function (y) {\r\n    return this.cmp(y) > -1;\r\n  };\r\n\r\n\r\n  /*\r\n   * Return true if the value of this Big is less than the value of Big y, otherwise return false.\r\n   */\r\n  P.lt = function (y) {\r\n    return this.cmp(y) < 0;\r\n  };\r\n\r\n\r\n  /*\r\n   * Return true if the value of this Big is less than or equal to the value of Big y, otherwise\r\n   * return false.\r\n   */\r\n  P.lte = function (y) {\r\n    return this.cmp(y) < 1;\r\n  };\r\n\r\n\r\n  /*\r\n   * Return a new Big whose value is the value of this Big minus the value of Big y.\r\n   */\r\n  P.minus = P.sub = function (y) {\r\n    var i, j, t, xlty,\r\n      x = this,\r\n      Big = x.constructor,\r\n      a = x.s,\r\n      b = (y = new Big(y)).s;\r\n\r\n    // Signs differ?\r\n    if (a != b) {\r\n      y.s = -b;\r\n      return x.plus(y);\r\n    }\r\n\r\n    var xc = x.c.slice(),\r\n      xe = x.e,\r\n      yc = y.c,\r\n      ye = y.e;\r\n\r\n    // Either zero?\r\n    if (!xc[0] || !yc[0]) {\r\n\r\n      // y is non-zero? x is non-zero? Or both are zero.\r\n      return yc[0] ? (y.s = -b, y) : new Big(xc[0] ? x : 0);\r\n    }\r\n\r\n    // Determine which is the bigger number. Prepend zeros to equalise exponents.\r\n    if (a = xe - ye) {\r\n\r\n      if (xlty = a < 0) {\r\n        a = -a;\r\n        t = xc;\r\n      } else {\r\n        ye = xe;\r\n        t = yc;\r\n      }\r\n\r\n      t.reverse();\r\n      for (b = a; b--;) t.push(0);\r\n      t.reverse();\r\n    } else {\r\n\r\n      // Exponents equal. Check digit by digit.\r\n      j = ((xlty = xc.length < yc.length) ? xc : yc).length;\r\n\r\n      for (a = b = 0; b < j; b++) {\r\n        if (xc[b] != yc[b]) {\r\n          xlty = xc[b] < yc[b];\r\n          break;\r\n        }\r\n      }\r\n    }\r\n\r\n    // x < y? Point xc to the array of the bigger number.\r\n    if (xlty) {\r\n      t = xc;\r\n      xc = yc;\r\n      yc = t;\r\n      y.s = -y.s;\r\n    }\r\n\r\n    /*\r\n     * Append zeros to xc if shorter. No need to add zeros to yc if shorter as subtraction only\r\n     * needs to start at yc.length.\r\n     */\r\n    if ((b = (j = yc.length) - (i = xc.length)) > 0) for (; b--;) xc[i++] = 0;\r\n\r\n    // Subtract yc from xc.\r\n    for (b = i; j > a;) {\r\n      if (xc[--j] < yc[j]) {\r\n        for (i = j; i && !xc[--i];) xc[i] = 9;\r\n        --xc[i];\r\n        xc[j] += 10;\r\n      }\r\n\r\n      xc[j] -= yc[j];\r\n    }\r\n\r\n    // Remove trailing zeros.\r\n    for (; xc[--b] === 0;) xc.pop();\r\n\r\n    // Remove leading zeros and adjust exponent accordingly.\r\n    for (; xc[0] === 0;) {\r\n      xc.shift();\r\n      --ye;\r\n    }\r\n\r\n    if (!xc[0]) {\r\n\r\n      // n - n = +0\r\n      y.s = 1;\r\n\r\n      // Result must be zero.\r\n      xc = [ye = 0];\r\n    }\r\n\r\n    y.c = xc;\r\n    y.e = ye;\r\n\r\n    return y;\r\n  };\r\n\r\n\r\n  /*\r\n   * Return a new Big whose value is the value of this Big modulo the value of Big y.\r\n   */\r\n  P.mod = function (y) {\r\n    var ygtx,\r\n      x = this,\r\n      Big = x.constructor,\r\n      a = x.s,\r\n      b = (y = new Big(y)).s;\r\n\r\n    if (!y.c[0]) throw Error(DIV_BY_ZERO);\r\n\r\n    x.s = y.s = 1;\r\n    ygtx = y.cmp(x) == 1;\r\n    x.s = a;\r\n    y.s = b;\r\n\r\n    if (ygtx) return new Big(x);\r\n\r\n    a = Big.DP;\r\n    b = Big.RM;\r\n    Big.DP = Big.RM = 0;\r\n    x = x.div(y);\r\n    Big.DP = a;\r\n    Big.RM = b;\r\n\r\n    return this.minus(x.times(y));\r\n  };\r\n\r\n\r\n  /*\r\n   * Return a new Big whose value is the value of this Big plus the value of Big y.\r\n   */\r\n  P.plus = P.add = function (y) {\r\n    var t,\r\n      x = this,\r\n      Big = x.constructor,\r\n      a = x.s,\r\n      b = (y = new Big(y)).s;\r\n\r\n    // Signs differ?\r\n    if (a != b) {\r\n      y.s = -b;\r\n      return x.minus(y);\r\n    }\r\n\r\n    var xe = x.e,\r\n      xc = x.c,\r\n      ye = y.e,\r\n      yc = y.c;\r\n\r\n    // Either zero? y is non-zero? x is non-zero? Or both are zero.\r\n    if (!xc[0] || !yc[0]) return yc[0] ? y : new Big(xc[0] ? x : a * 0);\r\n\r\n    xc = xc.slice();\r\n\r\n    // Prepend zeros to equalise exponents.\r\n    // Note: reverse faster than unshifts.\r\n    if (a = xe - ye) {\r\n      if (a > 0) {\r\n        ye = xe;\r\n        t = yc;\r\n      } else {\r\n        a = -a;\r\n        t = xc;\r\n      }\r\n\r\n      t.reverse();\r\n      for (; a--;) t.push(0);\r\n      t.reverse();\r\n    }\r\n\r\n    // Point xc to the longer array.\r\n    if (xc.length - yc.length < 0) {\r\n      t = yc;\r\n      yc = xc;\r\n      xc = t;\r\n    }\r\n\r\n    a = yc.length;\r\n\r\n    // Only start adding at yc.length - 1 as the further digits of xc can be left as they are.\r\n    for (b = 0; a; xc[a] %= 10) b = (xc[--a] = xc[a] + yc[a] + b) / 10 | 0;\r\n\r\n    // No need to check for zero, as +x + +y != 0 && -x + -y != 0\r\n\r\n    if (b) {\r\n      xc.unshift(b);\r\n      ++ye;\r\n    }\r\n\r\n    // Remove trailing zeros.\r\n    for (a = xc.length; xc[--a] === 0;) xc.pop();\r\n\r\n    y.c = xc;\r\n    y.e = ye;\r\n\r\n    return y;\r\n  };\r\n\r\n\r\n  /*\r\n   * Return a Big whose value is the value of this Big raised to the power n.\r\n   * If n is negative, round to a maximum of Big.DP decimal places using rounding\r\n   * mode Big.RM.\r\n   *\r\n   * n {number} Integer, -MAX_POWER to MAX_POWER inclusive.\r\n   */\r\n  P.pow = function (n) {\r\n    var x = this,\r\n      one = new x.constructor(1),\r\n      y = one,\r\n      isneg = n < 0;\r\n\r\n    if (n !== ~~n || n < -MAX_POWER || n > MAX_POWER) throw Error(INVALID + 'exponent');\r\n    if (isneg) n = -n;\r\n\r\n    for (;;) {\r\n      if (n & 1) y = y.times(x);\r\n      n >>= 1;\r\n      if (!n) break;\r\n      x = x.times(x);\r\n    }\r\n\r\n    return isneg ? one.div(y) : y;\r\n  };\r\n\r\n\r\n  /*\r\n   * Return a new Big whose value is the value of this Big rounded using rounding mode rm\r\n   * to a maximum of dp decimal places, or, if dp is negative, to an integer which is a\r\n   * multiple of 10**-dp.\r\n   * If dp is not specified, round to 0 decimal places.\r\n   * If rm is not specified, use Big.RM.\r\n   *\r\n   * dp? {number} Integer, -MAX_DP to MAX_DP inclusive.\r\n   * rm? 0, 1, 2 or 3 (ROUND_DOWN, ROUND_HALF_UP, ROUND_HALF_EVEN, ROUND_UP)\r\n   */\r\n  P.round = function (dp, rm) {\r\n    var Big = this.constructor;\r\n    if (dp === UNDEFINED) dp = 0;\r\n    else if (dp !== ~~dp || dp < -MAX_DP || dp > MAX_DP) throw Error(INVALID_DP);\r\n    return round(new Big(this), dp, rm === UNDEFINED ? Big.RM : rm);\r\n  };\r\n\r\n\r\n  /*\r\n   * Return a new Big whose value is the square root of the value of this Big, rounded, if\r\n   * necessary, to a maximum of Big.DP decimal places using rounding mode Big.RM.\r\n   */\r\n  P.sqrt = function () {\r\n    var r, c, t,\r\n      x = this,\r\n      Big = x.constructor,\r\n      s = x.s,\r\n      e = x.e,\r\n      half = new Big(0.5);\r\n\r\n    // Zero?\r\n    if (!x.c[0]) return new Big(x);\r\n\r\n    // Negative?\r\n    if (s < 0) throw Error(NAME + 'No square root');\r\n\r\n    // Estimate.\r\n    s = Math.sqrt(x + '');\r\n\r\n    // Math.sqrt underflow/overflow?\r\n    // Re-estimate: pass x coefficient to Math.sqrt as integer, then adjust the result exponent.\r\n    if (s === 0 || s === 1 / 0) {\r\n      c = x.c.join('');\r\n      if (!(c.length + e & 1)) c += '0';\r\n      s = Math.sqrt(c);\r\n      e = ((e + 1) / 2 | 0) - (e < 0 || e & 1);\r\n      r = new Big((s == 1 / 0 ? '1e' : (s = s.toExponential()).slice(0, s.indexOf('e') + 1)) + e);\r\n    } else {\r\n      r = new Big(s);\r\n    }\r\n\r\n    e = r.e + (Big.DP += 4);\r\n\r\n    // Newton-Raphson iteration.\r\n    do {\r\n      t = r;\r\n      r = half.times(t.plus(x.div(t)));\r\n    } while (t.c.slice(0, e).join('') !== r.c.slice(0, e).join(''));\r\n\r\n    return round(r, Big.DP -= 4, Big.RM);\r\n  };\r\n\r\n\r\n  /*\r\n   * Return a new Big whose value is the value of this Big times the value of Big y.\r\n   */\r\n  P.times = P.mul = function (y) {\r\n    var c,\r\n      x = this,\r\n      Big = x.constructor,\r\n      xc = x.c,\r\n      yc = (y = new Big(y)).c,\r\n      a = xc.length,\r\n      b = yc.length,\r\n      i = x.e,\r\n      j = y.e;\r\n\r\n    // Determine sign of result.\r\n    y.s = x.s == y.s ? 1 : -1;\r\n\r\n    // Return signed 0 if either 0.\r\n    if (!xc[0] || !yc[0]) return new Big(y.s * 0);\r\n\r\n    // Initialise exponent of result as x.e + y.e.\r\n    y.e = i + j;\r\n\r\n    // If array xc has fewer digits than yc, swap xc and yc, and lengths.\r\n    if (a < b) {\r\n      c = xc;\r\n      xc = yc;\r\n      yc = c;\r\n      j = a;\r\n      a = b;\r\n      b = j;\r\n    }\r\n\r\n    // Initialise coefficient array of result with zeros.\r\n    for (c = new Array(j = a + b); j--;) c[j] = 0;\r\n\r\n    // Multiply.\r\n\r\n    // i is initially xc.length.\r\n    for (i = b; i--;) {\r\n      b = 0;\r\n\r\n      // a is yc.length.\r\n      for (j = a + i; j > i;) {\r\n\r\n        // Current sum of products at this digit position, plus carry.\r\n        b = c[j] + yc[i] * xc[j - i - 1] + b;\r\n        c[j--] = b % 10;\r\n\r\n        // carry\r\n        b = b / 10 | 0;\r\n      }\r\n\r\n      c[j] = (c[j] + b) % 10;\r\n    }\r\n\r\n    // Increment result exponent if there is a final carry, otherwise remove leading zero.\r\n    if (b) ++y.e;\r\n    else c.shift();\r\n\r\n    // Remove trailing zeros.\r\n    for (i = c.length; !c[--i];) c.pop();\r\n    y.c = c;\r\n\r\n    return y;\r\n  };\r\n\r\n\r\n  /*\r\n   * Return a string representing the value of this Big in exponential notation to dp fixed decimal\r\n   * places and rounded using Big.RM.\r\n   *\r\n   * dp? {number} Integer, 0 to MAX_DP inclusive.\r\n   */\r\n  P.toExponential = function (dp) {\r\n    return stringify(this, 1, dp, dp);\r\n  };\r\n\r\n\r\n  /*\r\n   * Return a string representing the value of this Big in normal notation to dp fixed decimal\r\n   * places and rounded using Big.RM.\r\n   *\r\n   * dp? {number} Integer, 0 to MAX_DP inclusive.\r\n   *\r\n   * (-0).toFixed(0) is '0', but (-0.1).toFixed(0) is '-0'.\r\n   * (-0).toFixed(1) is '0.0', but (-0.01).toFixed(1) is '-0.0'.\r\n   */\r\n  P.toFixed = function (dp) {\r\n    return stringify(this, 2, dp, this.e + dp);\r\n  };\r\n\r\n\r\n  /*\r\n   * Return a string representing the value of this Big rounded to sd significant digits using\r\n   * Big.RM. Use exponential notation if sd is less than the number of digits necessary to represent\r\n   * the integer part of the value in normal notation.\r\n   *\r\n   * sd {number} Integer, 1 to MAX_DP inclusive.\r\n   */\r\n  P.toPrecision = function (sd) {\r\n    return stringify(this, 3, sd, sd - 1);\r\n  };\r\n\r\n\r\n  /*\r\n   * Return a string representing the value of this Big.\r\n   * Return exponential notation if this Big has a positive exponent equal to or greater than\r\n   * Big.PE, or a negative exponent equal to or less than Big.NE.\r\n   * Omit the sign for negative zero.\r\n   */\r\n  P.toString = function () {\r\n    return stringify(this);\r\n  };\r\n\r\n\r\n  /*\r\n   * Return a string representing the value of this Big.\r\n   * Return exponential notation if this Big has a positive exponent equal to or greater than\r\n   * Big.PE, or a negative exponent equal to or less than Big.NE.\r\n   * Include the sign for negative zero.\r\n   */\r\n  P.valueOf = P.toJSON = function () {\r\n    return stringify(this, 4);\r\n  };\r\n\r\n\r\n  // Export\r\n\r\n\r\n  Big = _Big_();\r\n\r\n  Big['default'] = Big.Big = Big;\r\n\r\n  //AMD.\r\n  if (typeof define === 'function' && define.amd) {\r\n    define(function () { return Big; });\r\n\r\n  // Node and other CommonJS-like environments that support module.exports.\r\n  } else if (typeof module !== 'undefined' && module.exports) {\r\n    module.exports = Big;\r\n\r\n  //Browser.\r\n  } else {\r\n    GLOBAL.Big = Big;\r\n  }\r\n})(this);\r\n","/*!\n * Pikaday\n *\n * Copyright © 2014 David Bushell | BSD & MIT license | https://github.com/Pikaday/Pikaday\n */\n\n(function (root, factory)\n{\n    'use strict';\n\n    var moment;\n    if (typeof exports === 'object') {\n        // CommonJS module\n        // Load moment.js as an optional dependency\n        try { moment = require('moment'); } catch (e) {}\n        module.exports = factory(moment);\n    } else if (typeof define === 'function' && define.amd) {\n        // AMD. Register as an anonymous module.\n        define(function (req)\n        {\n            // Load moment.js as an optional dependency\n            var id = 'moment';\n            try { moment = req(id); } catch (e) {}\n            return factory(moment);\n        });\n    } else {\n        root.Pikaday = factory(root.moment);\n    }\n}(this, function (moment)\n{\n    'use strict';\n\n    /**\n     * feature detection and helper functions\n     */\n    var hasMoment = typeof moment === 'function',\n\n    hasEventListeners = !!window.addEventListener,\n\n    document = window.document,\n\n    sto = window.setTimeout,\n\n    addEvent = function(el, e, callback, capture)\n    {\n        if (hasEventListeners) {\n            el.addEventListener(e, callback, !!capture);\n        } else {\n            el.attachEvent('on' + e, callback);\n        }\n    },\n\n    removeEvent = function(el, e, callback, capture)\n    {\n        if (hasEventListeners) {\n            el.removeEventListener(e, callback, !!capture);\n        } else {\n            el.detachEvent('on' + e, callback);\n        }\n    },\n\n    trim = function(str)\n    {\n        return str.trim ? str.trim() : str.replace(/^\\s+|\\s+$/g,'');\n    },\n\n    hasClass = function(el, cn)\n    {\n        return (' ' + el.className + ' ').indexOf(' ' + cn + ' ') !== -1;\n    },\n\n    addClass = function(el, cn)\n    {\n        if (!hasClass(el, cn)) {\n            el.className = (el.className === '') ? cn : el.className + ' ' + cn;\n        }\n    },\n\n    removeClass = function(el, cn)\n    {\n        el.className = trim((' ' + el.className + ' ').replace(' ' + cn + ' ', ' '));\n    },\n\n    isArray = function(obj)\n    {\n        return (/Array/).test(Object.prototype.toString.call(obj));\n    },\n\n    isDate = function(obj)\n    {\n        return (/Date/).test(Object.prototype.toString.call(obj)) && !isNaN(obj.getTime());\n    },\n\n    isWeekend = function(date)\n    {\n        var day = date.getDay();\n        return day === 0 || day === 6;\n    },\n\n    isLeapYear = function(year)\n    {\n        // solution lifted from date.js (MIT license): https://github.com/datejs/Datejs\n        return ((year % 4 === 0 && year % 100 !== 0) || year % 400 === 0);\n    },\n\n    getDaysInMonth = function(year, month)\n    {\n        return [31, isLeapYear(year) ? 29 : 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31][month];\n    },\n\n    setToStartOfDay = function(date)\n    {\n        if (isDate(date)) date.setHours(0,0,0,0);\n    },\n\n    compareDates = function(a,b)\n    {\n        // weak date comparison (use setToStartOfDay(date) to ensure correct result)\n        return a.getTime() === b.getTime();\n    },\n\n    extend = function(to, from, overwrite)\n    {\n        var prop, hasProp;\n        for (prop in from) {\n            hasProp = to[prop] !== undefined;\n            if (hasProp && typeof from[prop] === 'object' && from[prop] !== null && from[prop].nodeName === undefined) {\n                if (isDate(from[prop])) {\n                    if (overwrite) {\n                        to[prop] = new Date(from[prop].getTime());\n                    }\n                }\n                else if (isArray(from[prop])) {\n                    if (overwrite) {\n                        to[prop] = from[prop].slice(0);\n                    }\n                } else {\n                    to[prop] = extend({}, from[prop], overwrite);\n                }\n            } else if (overwrite || !hasProp) {\n                to[prop] = from[prop];\n            }\n        }\n        return to;\n    },\n\n    fireEvent = function(el, eventName, data)\n    {\n        var ev;\n\n        if (document.createEvent) {\n            ev = document.createEvent('HTMLEvents');\n            ev.initEvent(eventName, true, false);\n            ev = extend(ev, data);\n            el.dispatchEvent(ev);\n        } else if (document.createEventObject) {\n            ev = document.createEventObject();\n            ev = extend(ev, data);\n            el.fireEvent('on' + eventName, ev);\n        }\n    },\n\n    adjustCalendar = function(calendar) {\n        if (calendar.month < 0) {\n            calendar.year -= Math.ceil(Math.abs(calendar.month)/12);\n            calendar.month += 12;\n        }\n        if (calendar.month > 11) {\n            calendar.year += Math.floor(Math.abs(calendar.month)/12);\n            calendar.month -= 12;\n        }\n        return calendar;\n    },\n\n    /**\n     * defaults and localisation\n     */\n    defaults = {\n\n        // bind the picker to a form field\n        field: null,\n\n        // automatically show/hide the picker on `field` focus (default `true` if `field` is set)\n        bound: undefined,\n\n        // data-attribute on the input field with an aria assistance text (only applied when `bound` is set)\n        ariaLabel: 'Use the arrow keys to pick a date',\n\n        // position of the datepicker, relative to the field (default to bottom & left)\n        // ('bottom' & 'left' keywords are not used, 'top' & 'right' are modifier on the bottom/left position)\n        position: 'bottom left',\n\n        // automatically fit in the viewport even if it means repositioning from the position option\n        reposition: true,\n\n        // the default output format for `.toString()` and `field` value\n        format: 'YYYY-MM-DD',\n\n        // the toString function which gets passed a current date object and format\n        // and returns a string\n        toString: null,\n\n        // used to create date object from current input string\n        parse: null,\n\n        // the initial date to view when first opened\n        defaultDate: null,\n\n        // make the `defaultDate` the initial selected value\n        setDefaultDate: false,\n\n        // first day of week (0: Sunday, 1: Monday etc)\n        firstDay: 0,\n\n        // minimum number of days in the week that gets week number one\n        // default ISO 8601, week 01 is the week with the first Thursday (4)\n        firstWeekOfYearMinDays: 4,\n\n        // the default flag for moment's strict date parsing\n        formatStrict: false,\n\n        // the minimum/earliest date that can be selected\n        minDate: null,\n        // the maximum/latest date that can be selected\n        maxDate: null,\n\n        // number of years either side, or array of upper/lower range\n        yearRange: 10,\n\n        // show week numbers at head of row\n        showWeekNumber: false,\n\n        // Week picker mode\n        pickWholeWeek: false,\n\n        // used internally (don't config outside)\n        minYear: 0,\n        maxYear: 9999,\n        minMonth: undefined,\n        maxMonth: undefined,\n\n        startRange: null,\n        endRange: null,\n\n        isRTL: false,\n\n        // Additional text to append to the year in the calendar title\n        yearSuffix: '',\n\n        // Render the month after year in the calendar title\n        showMonthAfterYear: false,\n\n        // Render days of the calendar grid that fall in the next or previous month\n        showDaysInNextAndPreviousMonths: false,\n\n        // Allows user to select days that fall in the next or previous month\n        enableSelectionDaysInNextAndPreviousMonths: false,\n\n        // how many months are visible\n        numberOfMonths: 1,\n\n        // when numberOfMonths is used, this will help you to choose where the main calendar will be (default `left`, can be set to `right`)\n        // only used for the first display or when a selected date is not visible\n        mainCalendar: 'left',\n\n        // Specify a DOM element to render the calendar in\n        container: undefined,\n\n        // Blur field when date is selected\n        blurFieldOnSelect : true,\n\n        // internationalization\n        i18n: {\n            previousMonth : 'Previous Month',\n            nextMonth     : 'Next Month',\n            months        : ['January','February','March','April','May','June','July','August','September','October','November','December'],\n            weekdays      : ['Sunday','Monday','Tuesday','Wednesday','Thursday','Friday','Saturday'],\n            weekdaysShort : ['Sun','Mon','Tue','Wed','Thu','Fri','Sat']\n        },\n\n        // Theme Classname\n        theme: null,\n\n        // events array\n        events: [],\n\n        // callback function\n        onSelect: null,\n        onOpen: null,\n        onClose: null,\n        onDraw: null,\n\n        // Enable keyboard input\n        keyboardInput: true\n    },\n\n\n    /**\n     * templating functions to abstract HTML rendering\n     */\n    renderDayName = function(opts, day, abbr)\n    {\n        day += opts.firstDay;\n        while (day >= 7) {\n            day -= 7;\n        }\n        return abbr ? opts.i18n.weekdaysShort[day] : opts.i18n.weekdays[day];\n    },\n\n    renderDay = function(opts)\n    {\n        var arr = [];\n        var ariaSelected = 'false';\n        if (opts.isEmpty) {\n            if (opts.showDaysInNextAndPreviousMonths) {\n                arr.push('is-outside-current-month');\n\n                if(!opts.enableSelectionDaysInNextAndPreviousMonths) {\n                    arr.push('is-selection-disabled');\n                }\n\n            } else {\n                return '<td class=\"is-empty\"></td>';\n            }\n        }\n        if (opts.isDisabled) {\n            arr.push('is-disabled');\n        }\n        if (opts.isToday) {\n            arr.push('is-today');\n        }\n        if (opts.isSelected) {\n            arr.push('is-selected');\n            ariaSelected = 'true';\n        }\n        if (opts.hasEvent) {\n            arr.push('has-event');\n        }\n        if (opts.isInRange) {\n            arr.push('is-inrange');\n        }\n        if (opts.isStartRange) {\n            arr.push('is-startrange');\n        }\n        if (opts.isEndRange) {\n            arr.push('is-endrange');\n        }\n        return '<td data-day=\"' + opts.day + '\" class=\"' + arr.join(' ') + '\" aria-selected=\"' + ariaSelected + '\">' +\n                 '<button class=\"pika-button pika-day\" type=\"button\" ' +\n                    'data-pika-year=\"' + opts.year + '\" data-pika-month=\"' + opts.month + '\" data-pika-day=\"' + opts.day + '\">' +\n                        opts.day +\n                 '</button>' +\n               '</td>';\n    },\n\n    isoWeek = function(date, firstWeekOfYearMinDays) {\n        // Ensure we're at the start of the day.\n        date.setHours(0, 0, 0, 0);\n\n        // Thursday in current week decides the year because January 4th\n        // is always in the first week according to ISO8601.\n        var yearDay        = date.getDate(),\n            weekDay        = date.getDay(),\n            dayInFirstWeek = firstWeekOfYearMinDays,\n            dayShift       = dayInFirstWeek - 1, // counting starts at 0\n            daysPerWeek    = 7,\n            prevWeekDay    = function(day) { return (day + daysPerWeek - 1) % daysPerWeek; };\n\n        // Adjust to Thursday in week 1 and count number of weeks from date to week 1.\n        date.setDate(yearDay + dayShift - prevWeekDay(weekDay));\n\n        var jan4th      = new Date(date.getFullYear(), 0, dayInFirstWeek),\n            msPerDay    = 24 * 60 * 60 * 1000,\n            daysBetween = (date.getTime() - jan4th.getTime()) / msPerDay,\n            weekNum     = 1 + Math.round((daysBetween - dayShift + prevWeekDay(jan4th.getDay())) / daysPerWeek);\n\n        return weekNum;\n    },\n\n    renderWeek = function (d, m, y, firstWeekOfYearMinDays) {\n        var date = new Date(y, m, d),\n            week = hasMoment ? moment(date).isoWeek() : isoWeek(date, firstWeekOfYearMinDays);\n\n        return '<td class=\"pika-week\">' + week + '</td>';\n    },\n\n    renderRow = function(days, isRTL, pickWholeWeek, isRowSelected)\n    {\n        return '<tr class=\"pika-row' + (pickWholeWeek ? ' pick-whole-week' : '') + (isRowSelected ? ' is-selected' : '') + '\">' + (isRTL ? days.reverse() : days).join('') + '</tr>';\n    },\n\n    renderBody = function(rows)\n    {\n        return '<tbody>' + rows.join('') + '</tbody>';\n    },\n\n    renderHead = function(opts)\n    {\n        var i, arr = [];\n        if (opts.showWeekNumber) {\n            arr.push('<th></th>');\n        }\n        for (i = 0; i < 7; i++) {\n            arr.push('<th scope=\"col\"><abbr title=\"' + renderDayName(opts, i) + '\">' + renderDayName(opts, i, true) + '</abbr></th>');\n        }\n        return '<thead><tr>' + (opts.isRTL ? arr.reverse() : arr).join('') + '</tr></thead>';\n    },\n\n    renderTitle = function(instance, c, year, month, refYear, randId)\n    {\n        var i, j, arr,\n            opts = instance._o,\n            isMinYear = year === opts.minYear,\n            isMaxYear = year === opts.maxYear,\n            html = '<div id=\"' + randId + '\" class=\"pika-title\" role=\"heading\" aria-live=\"assertive\">',\n            monthHtml,\n            yearHtml,\n            prev = true,\n            next = true;\n\n        for (arr = [], i = 0; i < 12; i++) {\n            arr.push('<option value=\"' + (year === refYear ? i - c : 12 + i - c) + '\"' +\n                (i === month ? ' selected=\"selected\"': '') +\n                ((isMinYear && i < opts.minMonth) || (isMaxYear && i > opts.maxMonth) ? ' disabled=\"disabled\"' : '') + '>' +\n                opts.i18n.months[i] + '</option>');\n        }\n\n        monthHtml = '<div class=\"pika-label\">' + opts.i18n.months[month] + '<select class=\"pika-select pika-select-month\" tabindex=\"-1\">' + arr.join('') + '</select></div>';\n\n        if (isArray(opts.yearRange)) {\n            i = opts.yearRange[0];\n            j = opts.yearRange[1] + 1;\n        } else {\n            i = year - opts.yearRange;\n            j = 1 + year + opts.yearRange;\n        }\n\n        for (arr = []; i < j && i <= opts.maxYear; i++) {\n            if (i >= opts.minYear) {\n                arr.push('<option value=\"' + i + '\"' + (i === year ? ' selected=\"selected\"': '') + '>' + (i) + '</option>');\n            }\n        }\n        yearHtml = '<div class=\"pika-label\">' + year + opts.yearSuffix + '<select class=\"pika-select pika-select-year\" tabindex=\"-1\">' + arr.join('') + '</select></div>';\n\n        if (opts.showMonthAfterYear) {\n            html += yearHtml + monthHtml;\n        } else {\n            html += monthHtml + yearHtml;\n        }\n\n        if (isMinYear && (month === 0 || opts.minMonth >= month)) {\n            prev = false;\n        }\n\n        if (isMaxYear && (month === 11 || opts.maxMonth <= month)) {\n            next = false;\n        }\n\n        if (c === 0) {\n            html += '<button class=\"pika-prev' + (prev ? '' : ' is-disabled') + '\" type=\"button\">' + opts.i18n.previousMonth + '</button>';\n        }\n        if (c === (instance._o.numberOfMonths - 1) ) {\n            html += '<button class=\"pika-next' + (next ? '' : ' is-disabled') + '\" type=\"button\">' + opts.i18n.nextMonth + '</button>';\n        }\n\n        return html += '</div>';\n    },\n\n    renderTable = function(opts, data, randId)\n    {\n        return '<table cellpadding=\"0\" cellspacing=\"0\" class=\"pika-table\" role=\"grid\" aria-labelledby=\"' + randId + '\">' + renderHead(opts) + renderBody(data) + '</table>';\n    },\n\n\n    /**\n     * Pikaday constructor\n     */\n    Pikaday = function(options)\n    {\n        var self = this,\n            opts = self.config(options);\n\n        self._onMouseDown = function(e)\n        {\n            if (!self._v) {\n                return;\n            }\n            e = e || window.event;\n            var target = e.target || e.srcElement;\n            if (!target) {\n                return;\n            }\n\n            if (!hasClass(target, 'is-disabled')) {\n                if (hasClass(target, 'pika-button') && !hasClass(target, 'is-empty') && !hasClass(target.parentNode, 'is-disabled')) {\n                    self.setDate(new Date(target.getAttribute('data-pika-year'), target.getAttribute('data-pika-month'), target.getAttribute('data-pika-day')));\n                    if (opts.bound) {\n                        sto(function() {\n                            self.hide();\n                            if (opts.blurFieldOnSelect && opts.field) {\n                                opts.field.blur();\n                            }\n                        }, 100);\n                    }\n                }\n                else if (hasClass(target, 'pika-prev')) {\n                    self.prevMonth();\n                }\n                else if (hasClass(target, 'pika-next')) {\n                    self.nextMonth();\n                }\n            }\n            if (!hasClass(target, 'pika-select')) {\n                // if this is touch event prevent mouse events emulation\n                if (e.preventDefault) {\n                    e.preventDefault();\n                } else {\n                    e.returnValue = false;\n                    return false;\n                }\n            } else {\n                self._c = true;\n            }\n        };\n\n        self._onChange = function(e)\n        {\n            e = e || window.event;\n            var target = e.target || e.srcElement;\n            if (!target) {\n                return;\n            }\n            if (hasClass(target, 'pika-select-month')) {\n                self.gotoMonth(target.value);\n            }\n            else if (hasClass(target, 'pika-select-year')) {\n                self.gotoYear(target.value);\n            }\n        };\n\n        self._onKeyChange = function(e)\n        {\n            e = e || window.event;\n\n            if (self.isVisible()) {\n\n                switch(e.keyCode){\n                    case 13:\n                    case 27:\n                        if (opts.field) {\n                            opts.field.blur();\n                        }\n                        break;\n                    case 37:\n                        self.adjustDate('subtract', 1);\n                        break;\n                    case 38:\n                        self.adjustDate('subtract', 7);\n                        break;\n                    case 39:\n                        self.adjustDate('add', 1);\n                        break;\n                    case 40:\n                        self.adjustDate('add', 7);\n                        break;\n                    case 8:\n                    case 46:\n                        self.setDate(null);\n                        break;\n                }\n            }\n        };\n\n        self._parseFieldValue = function()\n        {\n            if (opts.parse) {\n                return opts.parse(opts.field.value, opts.format);\n            } else if (hasMoment) {\n                var date = moment(opts.field.value, opts.format, opts.formatStrict);\n                return (date && date.isValid()) ? date.toDate() : null;\n            } else {\n                return new Date(Date.parse(opts.field.value));\n            }\n        };\n\n        self._onInputChange = function(e)\n        {\n            var date;\n\n            if (e.firedBy === self) {\n                return;\n            }\n            date = self._parseFieldValue();\n            if (isDate(date)) {\n              self.setDate(date);\n            }\n            if (!self._v) {\n                self.show();\n            }\n        };\n\n        self._onInputFocus = function()\n        {\n            self.show();\n        };\n\n        self._onInputClick = function()\n        {\n            self.show();\n        };\n\n        self._onInputBlur = function()\n        {\n            // IE allows pika div to gain focus; catch blur the input field\n            var pEl = document.activeElement;\n            do {\n                if (hasClass(pEl, 'pika-single')) {\n                    return;\n                }\n            }\n            while ((pEl = pEl.parentNode));\n\n            if (!self._c) {\n                self._b = sto(function() {\n                    self.hide();\n                }, 50);\n            }\n            self._c = false;\n        };\n\n        self._onClick = function(e)\n        {\n            e = e || window.event;\n            var target = e.target || e.srcElement,\n                pEl = target;\n            if (!target) {\n                return;\n            }\n            if (!hasEventListeners && hasClass(target, 'pika-select')) {\n                if (!target.onchange) {\n                    target.setAttribute('onchange', 'return;');\n                    addEvent(target, 'change', self._onChange);\n                }\n            }\n            do {\n                if (hasClass(pEl, 'pika-single') || pEl === opts.trigger) {\n                    return;\n                }\n            }\n            while ((pEl = pEl.parentNode));\n            if (self._v && target !== opts.trigger && pEl !== opts.trigger) {\n                self.hide();\n            }\n        };\n\n        self.el = document.createElement('div');\n        self.el.className = 'pika-single' + (opts.isRTL ? ' is-rtl' : '') + (opts.theme ? ' ' + opts.theme : '');\n\n        addEvent(self.el, 'mousedown', self._onMouseDown, true);\n        addEvent(self.el, 'touchend', self._onMouseDown, true);\n        addEvent(self.el, 'change', self._onChange);\n\n        if (opts.keyboardInput) {\n            addEvent(document, 'keydown', self._onKeyChange);\n        }\n\n        if (opts.field) {\n            if (opts.container) {\n                opts.container.appendChild(self.el);\n            } else if (opts.bound) {\n                document.body.appendChild(self.el);\n            } else {\n                opts.field.parentNode.insertBefore(self.el, opts.field.nextSibling);\n            }\n            addEvent(opts.field, 'change', self._onInputChange);\n\n            if (!opts.defaultDate) {\n                opts.defaultDate = self._parseFieldValue();\n                opts.setDefaultDate = true;\n            }\n        }\n\n        var defDate = opts.defaultDate;\n\n        if (isDate(defDate)) {\n            if (opts.setDefaultDate) {\n                self.setDate(defDate, true);\n            } else {\n                self.gotoDate(defDate);\n            }\n        } else {\n            self.gotoDate(new Date());\n        }\n\n        if (opts.bound) {\n            this.hide();\n            self.el.className += ' is-bound';\n            addEvent(opts.trigger, 'click', self._onInputClick);\n            addEvent(opts.trigger, 'focus', self._onInputFocus);\n            addEvent(opts.trigger, 'blur', self._onInputBlur);\n        } else {\n            this.show();\n        }\n    };\n\n\n    /**\n     * public Pikaday API\n     */\n    Pikaday.prototype = {\n\n\n        /**\n         * configure functionality\n         */\n        config: function(options)\n        {\n            if (!this._o) {\n                this._o = extend({}, defaults, true);\n            }\n\n            var opts = extend(this._o, options, true);\n\n            opts.isRTL = !!opts.isRTL;\n\n            opts.field = (opts.field && opts.field.nodeName) ? opts.field : null;\n\n            opts.theme = (typeof opts.theme) === 'string' && opts.theme ? opts.theme : null;\n\n            opts.bound = !!(opts.bound !== undefined ? opts.field && opts.bound : opts.field);\n\n            opts.trigger = (opts.trigger && opts.trigger.nodeName) ? opts.trigger : opts.field;\n\n            opts.disableWeekends = !!opts.disableWeekends;\n\n            opts.disableDayFn = (typeof opts.disableDayFn) === 'function' ? opts.disableDayFn : null;\n\n            var nom = parseInt(opts.numberOfMonths, 10) || 1;\n            opts.numberOfMonths = nom > 4 ? 4 : nom;\n\n            if (!isDate(opts.minDate)) {\n                opts.minDate = false;\n            }\n            if (!isDate(opts.maxDate)) {\n                opts.maxDate = false;\n            }\n            if ((opts.minDate && opts.maxDate) && opts.maxDate < opts.minDate) {\n                opts.maxDate = opts.minDate = false;\n            }\n            if (opts.minDate) {\n                this.setMinDate(opts.minDate);\n            }\n            if (opts.maxDate) {\n                this.setMaxDate(opts.maxDate);\n            }\n\n            if (isArray(opts.yearRange)) {\n                var fallback = new Date().getFullYear() - 10;\n                opts.yearRange[0] = parseInt(opts.yearRange[0], 10) || fallback;\n                opts.yearRange[1] = parseInt(opts.yearRange[1], 10) || fallback;\n            } else {\n                opts.yearRange = Math.abs(parseInt(opts.yearRange, 10)) || defaults.yearRange;\n                if (opts.yearRange > 100) {\n                    opts.yearRange = 100;\n                }\n            }\n\n            return opts;\n        },\n\n        /**\n         * return a formatted string of the current selection (using Moment.js if available)\n         */\n        toString: function(format)\n        {\n            format = format || this._o.format;\n            if (!isDate(this._d)) {\n                return '';\n            }\n            if (this._o.toString) {\n              return this._o.toString(this._d, format);\n            }\n            if (hasMoment) {\n              return moment(this._d).format(format);\n            }\n            return this._d.toDateString();\n        },\n\n        /**\n         * return a Moment.js object of the current selection (if available)\n         */\n        getMoment: function()\n        {\n            return hasMoment ? moment(this._d) : null;\n        },\n\n        /**\n         * set the current selection from a Moment.js object (if available)\n         */\n        setMoment: function(date, preventOnSelect)\n        {\n            if (hasMoment && moment.isMoment(date)) {\n                this.setDate(date.toDate(), preventOnSelect);\n            }\n        },\n\n        /**\n         * return a Date object of the current selection\n         */\n        getDate: function()\n        {\n            return isDate(this._d) ? new Date(this._d.getTime()) : null;\n        },\n\n        /**\n         * set the current selection\n         */\n        setDate: function(date, preventOnSelect)\n        {\n            if (!date) {\n                this._d = null;\n\n                if (this._o.field) {\n                    this._o.field.value = '';\n                    fireEvent(this._o.field, 'change', { firedBy: this });\n                }\n\n                return this.draw();\n            }\n            if (typeof date === 'string') {\n                date = new Date(Date.parse(date));\n            }\n            if (!isDate(date)) {\n                return;\n            }\n\n            var min = this._o.minDate,\n                max = this._o.maxDate;\n\n            if (isDate(min) && date < min) {\n                date = min;\n            } else if (isDate(max) && date > max) {\n                date = max;\n            }\n\n            this._d = new Date(date.getTime());\n            setToStartOfDay(this._d);\n            this.gotoDate(this._d);\n\n            if (this._o.field) {\n                this._o.field.value = this.toString();\n                fireEvent(this._o.field, 'change', { firedBy: this });\n            }\n            if (!preventOnSelect && typeof this._o.onSelect === 'function') {\n                this._o.onSelect.call(this, this.getDate());\n            }\n        },\n\n        /**\n         * clear and reset the date\n         */\n        clear: function()\n        {\n            this.setDate(null);\n        },\n\n        /**\n         * change view to a specific date\n         */\n        gotoDate: function(date)\n        {\n            var newCalendar = true;\n\n            if (!isDate(date)) {\n                return;\n            }\n\n            if (this.calendars) {\n                var firstVisibleDate = new Date(this.calendars[0].year, this.calendars[0].month, 1),\n                    lastVisibleDate = new Date(this.calendars[this.calendars.length-1].year, this.calendars[this.calendars.length-1].month, 1),\n                    visibleDate = date.getTime();\n                // get the end of the month\n                lastVisibleDate.setMonth(lastVisibleDate.getMonth()+1);\n                lastVisibleDate.setDate(lastVisibleDate.getDate()-1);\n                newCalendar = (visibleDate < firstVisibleDate.getTime() || lastVisibleDate.getTime() < visibleDate);\n            }\n\n            if (newCalendar) {\n                this.calendars = [{\n                    month: date.getMonth(),\n                    year: date.getFullYear()\n                }];\n                if (this._o.mainCalendar === 'right') {\n                    this.calendars[0].month += 1 - this._o.numberOfMonths;\n                }\n            }\n\n            this.adjustCalendars();\n        },\n\n        adjustDate: function(sign, days) {\n\n            var day = this.getDate() || new Date();\n            var difference = parseInt(days)*24*60*60*1000;\n\n            var newDay;\n\n            if (sign === 'add') {\n                newDay = new Date(day.valueOf() + difference);\n            } else if (sign === 'subtract') {\n                newDay = new Date(day.valueOf() - difference);\n            }\n\n            this.setDate(newDay);\n        },\n\n        adjustCalendars: function() {\n            this.calendars[0] = adjustCalendar(this.calendars[0]);\n            for (var c = 1; c < this._o.numberOfMonths; c++) {\n                this.calendars[c] = adjustCalendar({\n                    month: this.calendars[0].month + c,\n                    year: this.calendars[0].year\n                });\n            }\n            this.draw();\n        },\n\n        gotoToday: function()\n        {\n            this.gotoDate(new Date());\n        },\n\n        /**\n         * change view to a specific month (zero-index, e.g. 0: January)\n         */\n        gotoMonth: function(month)\n        {\n            if (!isNaN(month)) {\n                this.calendars[0].month = parseInt(month, 10);\n                this.adjustCalendars();\n            }\n        },\n\n        nextMonth: function()\n        {\n            this.calendars[0].month++;\n            this.adjustCalendars();\n        },\n\n        prevMonth: function()\n        {\n            this.calendars[0].month--;\n            this.adjustCalendars();\n        },\n\n        /**\n         * change view to a specific full year (e.g. \"2012\")\n         */\n        gotoYear: function(year)\n        {\n            if (!isNaN(year)) {\n                this.calendars[0].year = parseInt(year, 10);\n                this.adjustCalendars();\n            }\n        },\n\n        /**\n         * change the minDate\n         */\n        setMinDate: function(value)\n        {\n            if(value instanceof Date) {\n                setToStartOfDay(value);\n                this._o.minDate = value;\n                this._o.minYear  = value.getFullYear();\n                this._o.minMonth = value.getMonth();\n            } else {\n                this._o.minDate = defaults.minDate;\n                this._o.minYear  = defaults.minYear;\n                this._o.minMonth = defaults.minMonth;\n                this._o.startRange = defaults.startRange;\n            }\n\n            this.draw();\n        },\n\n        /**\n         * change the maxDate\n         */\n        setMaxDate: function(value)\n        {\n            if(value instanceof Date) {\n                setToStartOfDay(value);\n                this._o.maxDate = value;\n                this._o.maxYear = value.getFullYear();\n                this._o.maxMonth = value.getMonth();\n            } else {\n                this._o.maxDate = defaults.maxDate;\n                this._o.maxYear = defaults.maxYear;\n                this._o.maxMonth = defaults.maxMonth;\n                this._o.endRange = defaults.endRange;\n            }\n\n            this.draw();\n        },\n\n        setStartRange: function(value)\n        {\n            this._o.startRange = value;\n        },\n\n        setEndRange: function(value)\n        {\n            this._o.endRange = value;\n        },\n\n        /**\n         * refresh the HTML\n         */\n        draw: function(force)\n        {\n            if (!this._v && !force) {\n                return;\n            }\n            var opts = this._o,\n                minYear = opts.minYear,\n                maxYear = opts.maxYear,\n                minMonth = opts.minMonth,\n                maxMonth = opts.maxMonth,\n                html = '',\n                randId;\n\n            if (this._y <= minYear) {\n                this._y = minYear;\n                if (!isNaN(minMonth) && this._m < minMonth) {\n                    this._m = minMonth;\n                }\n            }\n            if (this._y >= maxYear) {\n                this._y = maxYear;\n                if (!isNaN(maxMonth) && this._m > maxMonth) {\n                    this._m = maxMonth;\n                }\n            }\n\n            for (var c = 0; c < opts.numberOfMonths; c++) {\n                randId = 'pika-title-' + Math.random().toString(36).replace(/[^a-z]+/g, '').substr(0, 2);\n                html += '<div class=\"pika-lendar\">' + renderTitle(this, c, this.calendars[c].year, this.calendars[c].month, this.calendars[0].year, randId) + this.render(this.calendars[c].year, this.calendars[c].month, randId) + '</div>';\n            }\n\n            this.el.innerHTML = html;\n\n            if (opts.bound) {\n                if(opts.field.type !== 'hidden') {\n                    sto(function() {\n                        opts.trigger.focus();\n                    }, 1);\n                }\n            }\n\n            if (typeof this._o.onDraw === 'function') {\n                this._o.onDraw(this);\n            }\n\n            if (opts.bound) {\n                // let the screen reader user know to use arrow keys\n                opts.field.setAttribute('aria-label', opts.ariaLabel);\n            }\n        },\n\n        adjustPosition: function()\n        {\n            var field, pEl, width, height, viewportWidth, viewportHeight, scrollTop, left, top, clientRect, leftAligned, bottomAligned;\n\n            if (this._o.container) return;\n\n            this.el.style.position = 'absolute';\n\n            field = this._o.trigger;\n            pEl = field;\n            width = this.el.offsetWidth;\n            height = this.el.offsetHeight;\n            viewportWidth = window.innerWidth || document.documentElement.clientWidth;\n            viewportHeight = window.innerHeight || document.documentElement.clientHeight;\n            scrollTop = window.pageYOffset || document.body.scrollTop || document.documentElement.scrollTop;\n            leftAligned = true;\n            bottomAligned = true;\n\n            if (typeof field.getBoundingClientRect === 'function') {\n                clientRect = field.getBoundingClientRect();\n                left = clientRect.left + window.pageXOffset;\n                top = clientRect.bottom + window.pageYOffset;\n            } else {\n                left = pEl.offsetLeft;\n                top  = pEl.offsetTop + pEl.offsetHeight;\n                while((pEl = pEl.offsetParent)) {\n                    left += pEl.offsetLeft;\n                    top  += pEl.offsetTop;\n                }\n            }\n\n            // default position is bottom & left\n            if ((this._o.reposition && left + width > viewportWidth) ||\n                (\n                    this._o.position.indexOf('right') > -1 &&\n                    left - width + field.offsetWidth > 0\n                )\n            ) {\n                left = left - width + field.offsetWidth;\n                leftAligned = false;\n            }\n            if ((this._o.reposition && top + height > viewportHeight + scrollTop) ||\n                (\n                    this._o.position.indexOf('top') > -1 &&\n                    top - height - field.offsetHeight > 0\n                )\n            ) {\n                top = top - height - field.offsetHeight;\n                bottomAligned = false;\n            }\n\n            this.el.style.left = left + 'px';\n            this.el.style.top = top + 'px';\n\n            addClass(this.el, leftAligned ? 'left-aligned' : 'right-aligned');\n            addClass(this.el, bottomAligned ? 'bottom-aligned' : 'top-aligned');\n            removeClass(this.el, !leftAligned ? 'left-aligned' : 'right-aligned');\n            removeClass(this.el, !bottomAligned ? 'bottom-aligned' : 'top-aligned');\n        },\n\n        /**\n         * render HTML for a particular month\n         */\n        render: function(year, month, randId)\n        {\n            var opts   = this._o,\n                now    = new Date(),\n                days   = getDaysInMonth(year, month),\n                before = new Date(year, month, 1).getDay(),\n                data   = [],\n                row    = [];\n            setToStartOfDay(now);\n            if (opts.firstDay > 0) {\n                before -= opts.firstDay;\n                if (before < 0) {\n                    before += 7;\n                }\n            }\n            var previousMonth = month === 0 ? 11 : month - 1,\n                nextMonth = month === 11 ? 0 : month + 1,\n                yearOfPreviousMonth = month === 0 ? year - 1 : year,\n                yearOfNextMonth = month === 11 ? year + 1 : year,\n                daysInPreviousMonth = getDaysInMonth(yearOfPreviousMonth, previousMonth);\n            var cells = days + before,\n                after = cells;\n            while(after > 7) {\n                after -= 7;\n            }\n            cells += 7 - after;\n            var isWeekSelected = false;\n            for (var i = 0, r = 0; i < cells; i++)\n            {\n                var day = new Date(year, month, 1 + (i - before)),\n                    isSelected = isDate(this._d) ? compareDates(day, this._d) : false,\n                    isToday = compareDates(day, now),\n                    hasEvent = opts.events.indexOf(day.toDateString()) !== -1 ? true : false,\n                    isEmpty = i < before || i >= (days + before),\n                    dayNumber = 1 + (i - before),\n                    monthNumber = month,\n                    yearNumber = year,\n                    isStartRange = opts.startRange && compareDates(opts.startRange, day),\n                    isEndRange = opts.endRange && compareDates(opts.endRange, day),\n                    isInRange = opts.startRange && opts.endRange && opts.startRange < day && day < opts.endRange,\n                    isDisabled = (opts.minDate && day < opts.minDate) ||\n                                 (opts.maxDate && day > opts.maxDate) ||\n                                 (opts.disableWeekends && isWeekend(day)) ||\n                                 (opts.disableDayFn && opts.disableDayFn(day));\n\n                if (isEmpty) {\n                    if (i < before) {\n                        dayNumber = daysInPreviousMonth + dayNumber;\n                        monthNumber = previousMonth;\n                        yearNumber = yearOfPreviousMonth;\n                    } else {\n                        dayNumber = dayNumber - days;\n                        monthNumber = nextMonth;\n                        yearNumber = yearOfNextMonth;\n                    }\n                }\n\n                var dayConfig = {\n                        day: dayNumber,\n                        month: monthNumber,\n                        year: yearNumber,\n                        hasEvent: hasEvent,\n                        isSelected: isSelected,\n                        isToday: isToday,\n                        isDisabled: isDisabled,\n                        isEmpty: isEmpty,\n                        isStartRange: isStartRange,\n                        isEndRange: isEndRange,\n                        isInRange: isInRange,\n                        showDaysInNextAndPreviousMonths: opts.showDaysInNextAndPreviousMonths,\n                        enableSelectionDaysInNextAndPreviousMonths: opts.enableSelectionDaysInNextAndPreviousMonths\n                    };\n\n                if (opts.pickWholeWeek && isSelected) {\n                    isWeekSelected = true;\n                }\n\n                row.push(renderDay(dayConfig));\n\n                if (++r === 7) {\n                    if (opts.showWeekNumber) {\n                        row.unshift(renderWeek(i - before, month, year, opts.firstWeekOfYearMinDays));\n                    }\n                    data.push(renderRow(row, opts.isRTL, opts.pickWholeWeek, isWeekSelected));\n                    row = [];\n                    r = 0;\n                    isWeekSelected = false;\n                }\n            }\n            return renderTable(opts, data, randId);\n        },\n\n        isVisible: function()\n        {\n            return this._v;\n        },\n\n        show: function()\n        {\n            if (!this.isVisible()) {\n                this._v = true;\n                this.draw();\n                removeClass(this.el, 'is-hidden');\n                if (this._o.bound) {\n                    addEvent(document, 'click', this._onClick);\n                    this.adjustPosition();\n                }\n                if (typeof this._o.onOpen === 'function') {\n                    this._o.onOpen.call(this);\n                }\n            }\n        },\n\n        hide: function()\n        {\n            var v = this._v;\n            if (v !== false) {\n                if (this._o.bound) {\n                    removeEvent(document, 'click', this._onClick);\n                }\n\n                if (!this._o.container) {\n                    this.el.style.position = 'static'; // reset\n                    this.el.style.left = 'auto';\n                    this.el.style.top = 'auto';\n                }\n                addClass(this.el, 'is-hidden');\n                this._v = false;\n                if (v !== undefined && typeof this._o.onClose === 'function') {\n                    this._o.onClose.call(this);\n                }\n            }\n        },\n\n        /**\n         * GAME OVER\n         */\n        destroy: function()\n        {\n            var opts = this._o;\n\n            this.hide();\n            removeEvent(this.el, 'mousedown', this._onMouseDown, true);\n            removeEvent(this.el, 'touchend', this._onMouseDown, true);\n            removeEvent(this.el, 'change', this._onChange);\n            if (opts.keyboardInput) {\n                removeEvent(document, 'keydown', this._onKeyChange);\n            }\n            if (opts.field) {\n                removeEvent(opts.field, 'change', this._onInputChange);\n                if (opts.bound) {\n                    removeEvent(opts.trigger, 'click', this._onInputClick);\n                    removeEvent(opts.trigger, 'focus', this._onInputFocus);\n                    removeEvent(opts.trigger, 'blur', this._onInputBlur);\n                }\n            }\n            if (this.el.parentNode) {\n                this.el.parentNode.removeChild(this.el);\n            }\n        }\n\n    };\n\n    return Pikaday;\n}));\n","/**\n * uploadcare-widget 3.8.3\n * Date: 2020-02-13\n */\n\n(function (global, factory) {\n  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory(require('jquery')) :\n  typeof define === 'function' && define.amd ? define(['jquery'], factory) :\n  (global = global || self, global.uploadcare = factory(global.$));\n}(this, (function ($) { 'use strict';\n\n  $ = $ && $.hasOwnProperty('default') ? $['default'] : $;\n\n  function _typeof(obj) {\n    if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n      _typeof = function (obj) {\n        return typeof obj;\n      };\n    } else {\n      _typeof = function (obj) {\n        return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n      };\n    }\n\n    return _typeof(obj);\n  }\n\n  function _classCallCheck(instance, Constructor) {\n    if (!(instance instanceof Constructor)) {\n      throw new TypeError(\"Cannot call a class as a function\");\n    }\n  }\n\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) descriptor.writable = true;\n      Object.defineProperty(target, descriptor.key, descriptor);\n    }\n  }\n\n  function _createClass(Constructor, protoProps, staticProps) {\n    if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n    if (staticProps) _defineProperties(Constructor, staticProps);\n    return Constructor;\n  }\n\n  function _defineProperty(obj, key, value) {\n    if (key in obj) {\n      Object.defineProperty(obj, key, {\n        value: value,\n        enumerable: true,\n        configurable: true,\n        writable: true\n      });\n    } else {\n      obj[key] = value;\n    }\n\n    return obj;\n  }\n\n  function ownKeys(object, enumerableOnly) {\n    var keys = Object.keys(object);\n\n    if (Object.getOwnPropertySymbols) {\n      var symbols = Object.getOwnPropertySymbols(object);\n      if (enumerableOnly) symbols = symbols.filter(function (sym) {\n        return Object.getOwnPropertyDescriptor(object, sym).enumerable;\n      });\n      keys.push.apply(keys, symbols);\n    }\n\n    return keys;\n  }\n\n  function _objectSpread2(target) {\n    for (var i = 1; i < arguments.length; i++) {\n      var source = arguments[i] != null ? arguments[i] : {};\n\n      if (i % 2) {\n        ownKeys(source, true).forEach(function (key) {\n          _defineProperty(target, key, source[key]);\n        });\n      } else if (Object.getOwnPropertyDescriptors) {\n        Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));\n      } else {\n        ownKeys(source).forEach(function (key) {\n          Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));\n        });\n      }\n    }\n\n    return target;\n  }\n\n  function _inherits(subClass, superClass) {\n    if (typeof superClass !== \"function\" && superClass !== null) {\n      throw new TypeError(\"Super expression must either be null or a function\");\n    }\n\n    subClass.prototype = Object.create(superClass && superClass.prototype, {\n      constructor: {\n        value: subClass,\n        writable: true,\n        configurable: true\n      }\n    });\n    if (superClass) _setPrototypeOf(subClass, superClass);\n  }\n\n  function _getPrototypeOf(o) {\n    _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n      return o.__proto__ || Object.getPrototypeOf(o);\n    };\n    return _getPrototypeOf(o);\n  }\n\n  function _setPrototypeOf(o, p) {\n    _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n      o.__proto__ = p;\n      return o;\n    };\n\n    return _setPrototypeOf(o, p);\n  }\n\n  function _assertThisInitialized(self) {\n    if (self === void 0) {\n      throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n    }\n\n    return self;\n  }\n\n  function _possibleConstructorReturn(self, call) {\n    if (call && (typeof call === \"object\" || typeof call === \"function\")) {\n      return call;\n    }\n\n    return _assertThisInitialized(self);\n  }\n\n  function _superPropBase(object, property) {\n    while (!Object.prototype.hasOwnProperty.call(object, property)) {\n      object = _getPrototypeOf(object);\n      if (object === null) break;\n    }\n\n    return object;\n  }\n\n  function _get(target, property, receiver) {\n    if (typeof Reflect !== \"undefined\" && Reflect.get) {\n      _get = Reflect.get;\n    } else {\n      _get = function _get(target, property, receiver) {\n        var base = _superPropBase(target, property);\n\n        if (!base) return;\n        var desc = Object.getOwnPropertyDescriptor(base, property);\n\n        if (desc.get) {\n          return desc.get.call(receiver);\n        }\n\n        return desc.value;\n      };\n    }\n\n    return _get(target, property, receiver || target);\n  }\n\n  function _slicedToArray(arr, i) {\n    return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest();\n  }\n\n  function _toConsumableArray(arr) {\n    return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _nonIterableSpread();\n  }\n\n  function _arrayWithoutHoles(arr) {\n    if (Array.isArray(arr)) {\n      for (var i = 0, arr2 = new Array(arr.length); i < arr.length; i++) arr2[i] = arr[i];\n\n      return arr2;\n    }\n  }\n\n  function _arrayWithHoles(arr) {\n    if (Array.isArray(arr)) return arr;\n  }\n\n  function _iterableToArray(iter) {\n    if (Symbol.iterator in Object(iter) || Object.prototype.toString.call(iter) === \"[object Arguments]\") return Array.from(iter);\n  }\n\n  function _iterableToArrayLimit(arr, i) {\n    var _arr = [];\n    var _n = true;\n    var _d = false;\n    var _e = undefined;\n\n    try {\n      for (var _i = arr[Symbol.iterator](), _s; !(_n = (_s = _i.next()).done); _n = true) {\n        _arr.push(_s.value);\n\n        if (i && _arr.length === i) break;\n      }\n    } catch (err) {\n      _d = true;\n      _e = err;\n    } finally {\n      try {\n        if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n      } finally {\n        if (_d) throw _e;\n      }\n    }\n\n    return _arr;\n  }\n\n  function _nonIterableSpread() {\n    throw new TypeError(\"Invalid attempt to spread non-iterable instance\");\n  }\n\n  function _nonIterableRest() {\n    throw new TypeError(\"Invalid attempt to destructure non-iterable instance\");\n  }\n\n  var isWindowDefined = function isWindowDefined() {\n    return (typeof window === \"undefined\" ? \"undefined\" : _typeof(window)) === 'object';\n  };\n\n  var isWindowDefined$1 = /*#__PURE__*/Object.freeze({\n    __proto__: null,\n    isWindowDefined: isWindowDefined\n  });\n\n  if (isWindowDefined() && window.XDomainRequest) {\n    $.ajaxTransport(function (s) {\n      if (s.crossDomain && s.async) {\n        if (s.timeout) {\n          s.xdrTimeout = s.timeout;\n          delete s.timeout;\n        }\n\n        var xdr;\n        return {\n          send: function send(_, complete) {\n            function callback(status, statusText, responses, responseHeaders) {\n              xdr.onload = xdr.onerror = xdr.ontimeout = function () {};\n\n              xdr = undefined;\n              complete(status, statusText, responses, responseHeaders);\n            }\n\n            xdr = new XDomainRequest();\n\n            xdr.onload = function () {\n              callback(200, \"OK\", {\n                text: xdr.responseText\n              }, \"Content-Type: \" + xdr.contentType);\n            };\n\n            xdr.onerror = function () {\n              callback(404, \"Not Found\");\n            };\n\n            xdr.onprogress = function () {};\n\n            xdr.ontimeout = function () {\n              callback(0, \"timeout\");\n            };\n\n            xdr.timeout = s.xdrTimeout || Number.MAX_VALUE;\n            xdr.open(s.type, s.url.replace(/^https?:/, ''));\n            xdr.send(s.hasContent && s.data || null);\n          },\n          abort: function abort() {\n            if (xdr) {\n              xdr.onerror = function () {};\n\n              xdr.abort();\n            }\n          }\n        };\n      }\n    });\n  }\n\n  var version = \"3.8.3\";\n\n  var fileAPI = isWindowDefined() && !!(window.File && window.FileList && window.FileReader);\n  var sendFileAPI = isWindowDefined() && !!(window.FormData && fileAPI); // https://github.com/Modernizr/Modernizr/blob/master/feature-detects/draganddrop.js\n\n  var dragAndDrop = isWindowDefined() && function () {\n    var el;\n    el = document.createElement('div');\n    return 'draggable' in el || 'ondragstart' in el && 'ondrop' in el;\n  }(); // https://github.com/Modernizr/Modernizr/blob/master/feature-detects/canvas.js\n\n\n  var canvas = isWindowDefined() && function () {\n    var el;\n    el = document.createElement('canvas');\n    return !!(el.getContext && el.getContext('2d'));\n  }();\n\n  var fileDragAndDrop = fileAPI && dragAndDrop;\n  var iOSVersion = null; // TODO: don't access to navigator in module scope (NODE don't have navigator)\n\n  var ios = isWindowDefined() && /^[^(]+\\(iP(?:hone|od|ad);\\s*(.+?)\\)/.exec(navigator.userAgent);\n\n  if (ios) {\n    var ver = /OS (\\d)_(\\d)/.exec(ios[1]);\n\n    if (ver) {\n      iOSVersion = +ver[1] + ver[2] / 10;\n    }\n  }\n\n  var Blob = false;\n\n  try {\n    if (isWindowDefined() && new window.Blob()) {\n      Blob = window.Blob;\n    }\n  } catch (error) {}\n\n  var url = isWindowDefined() && (window.URL || window.webkitURL || false);\n  var URL = url && url.createObjectURL && url;\n  var FileReader = isWindowDefined() && (window.FileReader != null ? window.FileReader.prototype.readAsArrayBuffer : undefined) && window.FileReader;\n\n  // utils\n  var log = function log() {\n    var ref;\n\n    try {\n      var _ref;\n\n      return (ref = window.console) != null ? typeof ref.log === 'function' ? (_ref = ref).log.apply(_ref, arguments) : undefined : undefined;\n    } catch (error) {}\n  };\n\n  var debug = function debug() {\n    var ref;\n\n    if ((ref = window.console) != null ? ref.debug : undefined) {\n      try {\n        var _window$console;\n\n        return (_window$console = window.console).debug.apply(_window$console, arguments);\n      } catch (error) {}\n    } else {\n      return log.apply(void 0, ['Debug:'].concat(Array.prototype.slice.call(arguments)));\n    }\n  };\n\n  var warn = function warn() {\n    var ref;\n\n    if ((ref = window.console) != null ? ref.warn : undefined) {\n      try {\n        var _window$console2;\n\n        return (_window$console2 = window.console).warn.apply(_window$console2, arguments);\n      } catch (error) {}\n    } else {\n      return log.apply(void 0, ['Warning:'].concat(Array.prototype.slice.call(arguments)));\n    }\n  };\n\n  var messages = {};\n\n  var warnOnce = function warnOnce(msg) {\n    if (messages[msg] == null) {\n      messages[msg] = true;\n      return warn(msg);\n    }\n  };\n\n  var indexOf = [].indexOf; // utils\n\n  var unique = function unique(arr) {\n    var item, j, len, result;\n    result = [];\n\n    for (j = 0, len = arr.length; j < len; j++) {\n      item = arr[j];\n\n      if (indexOf.call(result, item) < 0) {\n        result.push(item);\n      }\n    }\n\n    return result;\n  };\n\n  var defer = function defer(fn) {\n    return setTimeout(fn, 0);\n  };\n\n  var gcd = function gcd(a, b) {\n    var c;\n\n    while (b) {\n      c = a % b;\n      a = b;\n      b = c;\n    }\n\n    return a;\n  };\n\n  var once = function once(fn) {\n    var called, result;\n    called = false;\n    result = null;\n    return function () {\n      if (!called) {\n        result = fn.apply(this, arguments);\n        called = true;\n      }\n\n      return result;\n    };\n  };\n\n  var wrapToPromise = function wrapToPromise(value) {\n    return $.Deferred().resolve(value).promise();\n  }; // same as promise.then(), but if filter returns promise\n  // it will be just passed forward without any special behavior\n\n\n  var then = function then(pr, doneFilter, failFilter, progressFilter) {\n    var compose, df;\n    df = $.Deferred();\n\n    compose = function compose(fn1, fn2) {\n      if (fn1 && fn2) {\n        return function () {\n          return fn2.call(this, fn1.apply(this, arguments));\n        };\n      } else {\n        return fn1 || fn2;\n      }\n    };\n\n    pr.then(compose(doneFilter, df.resolve), compose(failFilter, df.reject), compose(progressFilter, df.notify));\n    return df.promise();\n  }; // Build copy of source with only specified methods.\n  // Handles chaining correctly.\n\n\n  var bindAll = function bindAll(source, methods) {\n    var target;\n    target = {};\n    $.each(methods, function (i, method) {\n      var fn = source[method];\n\n      if ($.isFunction(fn)) {\n        target[method] = function () {\n          for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n            args[_key] = arguments[_key];\n          }\n\n          var result = fn.apply(source, args); // Fix chaining\n\n          if (result === source) {\n            return target;\n          } else {\n            return result;\n          }\n        };\n      } else {\n        target[method] = fn;\n      }\n    });\n    return target;\n  };\n\n  var upperCase = function upperCase(s) {\n    return s.replace(/([A-Z])/g, '_$1').toUpperCase();\n  };\n\n  var publicCallbacks = function publicCallbacks(callbacks) {\n    var result;\n    result = callbacks.add;\n    result.add = callbacks.add;\n    result.remove = callbacks.remove;\n    return result;\n  };\n\n  var uuid = function uuid() {\n    return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {\n      var r = Math.random() * 16 | 0;\n      var v = c === 'x' ? r : r & 3 | 8;\n      return v.toString(16);\n    });\n  }; // splitUrlRegex(\"url\") => [\"url\", \"scheme\", \"host\", \"path\", \"query\", \"fragment\"]\n\n\n  var splitUrlRegex = /^(?:([^:/?#]+):)?(?:\\/\\/([^/?#]*))?([^?#]*)\\??([^#]*)#?(.*)$/;\n  var uuidRegex = /[a-f0-9]{8}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{4}-[a-f0-9]{12}/i;\n  var groupIdRegex = new RegExp(\"\".concat(uuidRegex.source, \"~[0-9]+\"), 'i');\n  var cdnUrlRegex = new RegExp(\"^/?(\".concat(uuidRegex.source, \")(?:/(-/(?:[^/]+/)+)?([^/]*))?$\"), 'i');\n\n  var splitCdnUrl = function splitCdnUrl(url) {\n    return cdnUrlRegex.exec(splitUrlRegex.exec(url)[3]);\n  };\n\n  var escapeRegExp = function escapeRegExp(str) {\n    return str.replace(/[\\\\-\\\\[]\\/\\{\\}\\(\\)\\*\\+\\?\\.\\\\\\^\\$\\|]/g, '\\\\$&');\n  };\n\n  var globRegexp = function globRegexp(str) {\n    var flags = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 'i';\n    var parts;\n    parts = $.map(str.split('*'), escapeRegExp);\n    return new RegExp('^' + parts.join('.+') + '$', flags);\n  };\n\n  var normalizeUrl = function normalizeUrl(url) {\n    var scheme; // google.com/ → google.com\n    // /google.com/ → /google.com\n    // //google.com/ → http://google.com\n    // http://google.com/ → http://google.com\n\n    scheme = document.location.protocol;\n\n    if (scheme !== 'http:') {\n      scheme = 'https:';\n    }\n\n    return url.replace(/^\\/\\//, scheme + '//').replace(/\\/+$/, '');\n  };\n\n  var fitText = function fitText(text, max) {\n    if (text.length > max) {\n      var head = Math.ceil((max - 3) / 2);\n      var tail = Math.floor((max - 3) / 2);\n      return text.slice(0, head) + '...' + text.slice(-tail);\n    } else {\n      return text;\n    }\n  };\n\n  var fitSizeInCdnLimit = function fitSizeInCdnLimit(objSize) {\n    return fitSize(objSize, [2048, 2048]);\n  };\n\n  var fitSize = function fitSize(objSize, boxSize, upscale) {\n    var heightRation, widthRatio;\n\n    if (objSize[0] > boxSize[0] || objSize[1] > boxSize[1] || upscale) {\n      widthRatio = boxSize[0] / objSize[0];\n      heightRation = boxSize[1] / objSize[1];\n\n      if (!boxSize[0] || boxSize[1] && widthRatio > heightRation) {\n        return [Math.round(heightRation * objSize[0]), boxSize[1]];\n      } else {\n        return [boxSize[0], Math.round(widthRatio * objSize[1])];\n      }\n    } else {\n      return objSize.slice();\n    }\n  };\n\n  var applyCropCoordsToInfo = function applyCropCoordsToInfo(info, crop, size, coords) {\n    var downscale, h, modifiers, prefered, upscale, w, wholeImage;\n    w = coords.width;\n    h = coords.height;\n    prefered = crop.preferedSize;\n    modifiers = '';\n    wholeImage = w === size[0] && h === size[1];\n\n    if (!wholeImage) {\n      modifiers += \"-/crop/\".concat(w, \"x\").concat(h, \"/\").concat(coords.left, \",\").concat(coords.top, \"/\");\n    }\n\n    downscale = crop.downscale && (w > prefered[0] || h > prefered[1]);\n    upscale = crop.upscale && (w < prefered[0] || h < prefered[1]);\n\n    if (downscale || upscale) {\n      var _prefered = prefered;\n\n      var _prefered2 = _slicedToArray(_prefered, 2);\n\n      coords.sw = _prefered2[0];\n      coords.sh = _prefered2[1];\n      modifiers += \"-/resize/\".concat(prefered.join('x'), \"/\");\n    } else if (!wholeImage) {\n      modifiers += '-/preview/';\n    }\n\n    info = $.extend({}, info);\n    info.cdnUrlModifiers = modifiers;\n    info.cdnUrl = \"\".concat(info.originalUrl).concat(modifiers || '');\n    info.crop = coords;\n    return info;\n  };\n\n  var fileInput = function fileInput(container, settings, fn) {\n    var accept, input, _run;\n\n    input = null;\n    accept = settings.inputAcceptTypes;\n\n    if (accept === '') {\n      accept = settings.imagesOnly ? 'image/*' : null;\n    }\n\n    (_run = function run() {\n      input = (settings.multiple ? $('<input type=\"file\" multiple>') : $('<input type=\"file\">')).attr('accept', accept).css({\n        position: 'absolute',\n        top: 0,\n        opacity: 0,\n        margin: 0,\n        padding: 0,\n        width: 'auto',\n        height: 'auto',\n        cursor: container.css('cursor')\n      }).on('change', function () {\n        fn(this);\n        $(this).hide();\n        return _run();\n      });\n      return container.append(input);\n    })();\n\n    return container.css({\n      position: 'relative',\n      overflow: 'hidden' // to make it posible to set `cursor:pointer` on button\n      // http://stackoverflow.com/a/9182787/478603\n\n    }).mousemove(function (e) {\n      var left, top, width;\n\n      var _$$offset = $(this).offset();\n\n      left = _$$offset.left;\n      top = _$$offset.top;\n      width = input.width();\n      return input.css({\n        left: e.pageX - left - width + 10,\n        top: e.pageY - top - 10\n      });\n    });\n  };\n\n  var fileSelectDialog = function fileSelectDialog(container, settings, fn) {\n    var attributes = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n    var accept;\n    accept = settings.inputAcceptTypes;\n\n    if (accept === '') {\n      accept = settings.imagesOnly ? 'image/*' : null;\n    }\n\n    return $(settings.multiple ? '<input type=\"file\" multiple>' : '<input type=\"file\">').attr('accept', accept).attr(attributes).css({\n      position: 'fixed',\n      bottom: 0,\n      opacity: 0\n    }).on('change', function () {\n      fn(this);\n      return $(this).remove();\n    }).appendTo(container).focus().click().hide();\n  };\n\n  var fileSizeLabels = 'B KB MB GB TB PB EB ZB YB'.split(' ');\n\n  var readableFileSize = function readableFileSize(value) {\n    var onNaN = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n    var prefix = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';\n    var postfix = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : '';\n    var digits, fixedTo, i, threshold;\n    value = parseInt(value, 10);\n\n    if (isNaN(value)) {\n      return onNaN;\n    }\n\n    digits = 2;\n    i = 0;\n    threshold = 1000 - 5 * Math.pow(10, 2 - Math.max(digits, 3));\n\n    while (value > threshold && i < fileSizeLabels.length - 1) {\n      i++;\n      value /= 1024;\n    }\n\n    value += 0.000000000000001;\n    fixedTo = Math.max(0, digits - Math.floor(value).toFixed(0).length); // fixed → number → string, to trim trailing zeroes\n\n    value = Number(value.toFixed(fixedTo)); // eslint-disable-next-line no-irregular-whitespace\n\n    return \"\".concat(prefix).concat(value, \"\\xA0\").concat(fileSizeLabels[i]).concat(postfix);\n  };\n\n  var ajaxDefaults = {\n    dataType: 'json',\n    crossDomain: true,\n    cache: false\n  };\n\n  var jsonp = function jsonp(url, type, data) {\n    var settings = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : {};\n    return $.ajax($.extend({\n      url: url,\n      type: type,\n      data: data\n    }, settings, ajaxDefaults)).then(function (data) {\n      var text;\n\n      if (data.error) {\n        text = data.error.content || data.error;\n        return $.Deferred().reject(text);\n      } else {\n        return data;\n      }\n    }, function (_, textStatus, errorThrown) {\n      var text;\n      text = \"\".concat(textStatus, \" (\").concat(errorThrown, \")\");\n      warn(\"JSONP unexpected error: \".concat(text, \" while loading \").concat(url));\n      return text;\n    });\n  };\n\n  var canvasToBlob = function canvasToBlob(canvas, type, quality, callback) {\n    var arr, binStr, dataURL, i, j, ref;\n\n    if (window.HTMLCanvasElement.prototype.toBlob) {\n      return canvas.toBlob(callback, type, quality);\n    }\n\n    dataURL = canvas.toDataURL(type, quality);\n    dataURL = dataURL.split(',');\n    binStr = window.atob(dataURL[1]);\n    arr = new Uint8Array(binStr.length);\n\n    for (i = j = 0, ref = binStr.length; j < ref; i = j += 1) {\n      arr[i] = binStr.charCodeAt(i);\n    }\n\n    return callback(new window.Blob([arr], {\n      type: /:(.+\\/.+);/.exec(dataURL[0])[1]\n    }));\n  };\n\n  var taskRunner = function taskRunner(capacity) {\n    var queue, _release, run, running;\n\n    running = 0;\n    queue = [];\n\n    _release = function release() {\n      var task;\n\n      if (queue.length) {\n        task = queue.shift();\n        return defer(function () {\n          return task(_release);\n        });\n      } else {\n        running -= 1;\n        return running;\n      }\n    };\n\n    run = function run(task) {\n      if (!capacity || running < capacity) {\n        running += 1;\n        return defer(function () {\n          return task(_release);\n        });\n      } else {\n        return queue.push(task);\n      }\n    };\n\n    return run;\n  }; // This is work around bug in jquery https://github.com/jquery/jquery/issues/2013\n  // action, add listener, callbacks,\n  // ... .then handlers, argument index, [final state]\n\n\n  var pipeTuples = [['notify', 'progress', 2], ['resolve', 'done', 0], ['reject', 'fail', 1]];\n\n  var fixedPipe = function fixedPipe(promise) {\n    for (var _len2 = arguments.length, fns = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n      fns[_key2 - 1] = arguments[_key2];\n    }\n\n    return $.Deferred(function (newDefer) {\n      return $.each(pipeTuples, function (i, tuple) {\n        var fn; // Map tuples (progress, done, fail) to arguments (done, fail, progress)\n\n        fn = $.isFunction(fns[tuple[2]]) && fns[tuple[2]];\n        return promise[tuple[1]](function () {\n          var returned;\n          returned = fn && fn.apply(this, arguments);\n\n          if (returned && $.isFunction(returned.promise)) {\n            return returned.promise().progress(newDefer.notify).done(newDefer.resolve).fail(newDefer.reject);\n          } else {\n            return newDefer[tuple[0] + 'With'](this === promise ? newDefer.promise() : this, fn ? [returned] : arguments);\n          }\n        });\n      });\n    }).promise();\n  };\n\n  var indexOf$1 = [].indexOf; // settings\n\n  var arrayOptions, constrainOptions, constraints, defaultPreviewUrlCallback, defaults, flagOptions, intOptions, integration, integrationToUserAgent, normalize, parseCrop, parseShrink, presets, script, str2arr, transformOptions, transforms, urlOptions;\n  defaults = {\n    // developer hooks\n    live: true,\n    manualStart: false,\n    locale: null,\n    localePluralize: null,\n    localeTranslations: null,\n    // widget & dialog settings\n    systemDialog: false,\n    crop: false,\n    previewStep: false,\n    imagesOnly: false,\n    clearable: false,\n    multiple: false,\n    multipleMax: 1000,\n    multipleMin: 1,\n    multipleMaxStrict: false,\n    imageShrink: false,\n    pathValue: true,\n    tabs: 'file camera url facebook gdrive gphotos dropbox instagram evernote flickr onedrive',\n    preferredTypes: '',\n    inputAcceptTypes: '',\n    // '' means default, null means \"disable accept\"\n    // upload settings\n    doNotStore: false,\n    publicKey: null,\n    secureSignature: '',\n    secureExpire: '',\n    pusherKey: '79ae88bd931ea68464d9',\n    cdnBase: 'https://ucarecdn.com',\n    urlBase: 'https://upload.uploadcare.com',\n    socialBase: 'https://social.uploadcare.com',\n    previewProxy: null,\n    previewUrlCallback: null,\n    // fine tuning\n    imagePreviewMaxSize: 25 * 1024 * 1024,\n    multipartMinSize: 10 * 1024 * 1024,\n    multipartPartSize: 5 * 1024 * 1024,\n    multipartMinLastPartSize: 1024 * 1024,\n    multipartConcurrency: 4,\n    multipartMaxAttempts: 3,\n    parallelDirectUploads: 10,\n    passWindowOpen: false,\n    // camera recording\n    audioBitsPerSecond: null,\n    videoBitsPerSecond: null,\n    // maintain settings\n    scriptBase: \"//ucarecdn.com/widget/\".concat(version, \"/uploadcare/\"),\n    debugUploads: false,\n    integration: ''\n  };\n  transforms = {\n    multipleMax: {\n      from: 0,\n      to: 1000\n    }\n  };\n  constraints = {\n    multipleMax: {\n      min: 1,\n      max: 1000\n    }\n  };\n  presets = {\n    tabs: {\n      all: 'file camera url facebook gdrive gphotos dropbox instagram evernote flickr onedrive box vk huddle',\n      default: defaults.tabs\n    } // integration setting from data attributes of script tag\n\n  };\n\n  script = isWindowDefined() && (document.currentScript || function () {\n    var scripts;\n    scripts = document.getElementsByTagName('script');\n    return scripts[scripts.length - 1];\n  }());\n\n  integration = isWindowDefined() && $(script).data('integration');\n\n  if (integration && integration != null) {\n    defaults = $.extend(defaults, {\n      integration: integration\n    });\n  }\n\n  str2arr = function str2arr(value) {\n    if (!$.isArray(value)) {\n      value = $.trim(value);\n      value = value ? value.split(' ') : [];\n    }\n\n    return value;\n  };\n\n  arrayOptions = function arrayOptions(settings, keys) {\n    var hasOwnProperty = Object.prototype.hasOwnProperty;\n    var i, item, j, key, len, len1, source, value;\n\n    for (i = 0, len = keys.length; i < len; i++) {\n      key = keys[i];\n      value = source = str2arr(settings[key]);\n\n      if (hasOwnProperty.apply(presets, [key])) {\n        value = [];\n\n        for (j = 0, len1 = source.length; j < len1; j++) {\n          item = source[j];\n\n          if (hasOwnProperty.apply(presets[key], [item])) {\n            value = value.concat(str2arr(presets[key][item]));\n          } else {\n            value.push(item);\n          }\n        }\n      }\n\n      settings[key] = unique(value);\n    }\n\n    return settings;\n  };\n\n  urlOptions = function urlOptions(settings, keys) {\n    var i, key, len;\n\n    for (i = 0, len = keys.length; i < len; i++) {\n      key = keys[i];\n\n      if (settings[key] != null) {\n        settings[key] = normalizeUrl(settings[key]);\n      }\n    }\n\n    return settings;\n  };\n\n  flagOptions = function flagOptions(settings, keys) {\n    var i, key, len, value;\n\n    for (i = 0, len = keys.length; i < len; i++) {\n      key = keys[i];\n\n      if (!(settings[key] != null)) {\n        continue;\n      }\n\n      value = settings[key];\n\n      if (typeof value === 'string') {\n        // \"\", \"...\" -> true\n        // \"false\", \"disabled\" -> false\n        value = $.trim(value).toLowerCase();\n        settings[key] = !(value === 'false' || value === 'disabled');\n      } else {\n        settings[key] = !!value;\n      }\n    }\n\n    return settings;\n  };\n\n  intOptions = function intOptions(settings, keys) {\n    var i, key, len;\n\n    for (i = 0, len = keys.length; i < len; i++) {\n      key = keys[i];\n\n      if (settings[key] != null) {\n        settings[key] = parseInt(settings[key]);\n      }\n    }\n\n    return settings;\n  };\n\n  integrationToUserAgent = function integrationToUserAgent(settings) {\n    settings._userAgent = \"UploadcareWidget/\".concat(version, \"/\").concat(settings.publicKey, \" (JavaScript\").concat(settings.integration ? \"; \".concat(settings.integration) : '', \")\");\n    return settings;\n  };\n\n  transformOptions = function transformOptions(settings, transforms) {\n    var key, transform;\n\n    for (key in transforms) {\n      transform = transforms[key];\n\n      if (settings[key] != null) {\n        if (settings[key] === transform.from) {\n          settings[key] = transform.to;\n        }\n      }\n    }\n\n    return settings;\n  };\n\n  constrainOptions = function constrainOptions(settings, constraints) {\n    var key, max, min;\n\n    for (key in constraints) {\n      var _constraints$key = constraints[key];\n      min = _constraints$key.min;\n      max = _constraints$key.max;\n\n      if (settings[key] != null) {\n        settings[key] = Math.min(Math.max(settings[key], min), max);\n      }\n    }\n\n    return settings;\n  };\n\n  parseCrop = function parseCrop(val) {\n    var ratio, reRatio;\n    reRatio = /^([0-9]+)([x:])([0-9]+)\\s*(|upscale|minimum)$/i;\n    ratio = reRatio.exec($.trim(val.toLowerCase())) || [];\n    return {\n      downscale: ratio[2] === 'x',\n      upscale: !!ratio[4],\n      notLess: ratio[4] === 'minimum',\n      preferedSize: ratio.length ? [+ratio[1], +ratio[3]] : undefined\n    };\n  };\n\n  parseShrink = function parseShrink(val) {\n    var reShrink, shrink, size;\n    reShrink = /^([0-9]+)x([0-9]+)(?:\\s+(\\d{1,2}|100)%)?$/i;\n    shrink = reShrink.exec($.trim(val.toLowerCase())) || [];\n\n    if (!shrink.length) {\n      return false;\n    }\n\n    size = shrink[1] * shrink[2];\n\n    if (size > 5000000) {\n      // ios max canvas square\n      warnOnce('Shrinked size can not be larger than 5MP. ' + \"You have set \".concat(shrink[1], \"x\").concat(shrink[2], \" (\") + \"\".concat(Math.ceil(size / 1000 / 100) / 10, \"MP).\"));\n      return false;\n    }\n\n    return {\n      quality: shrink[3] ? shrink[3] / 100 : undefined,\n      size: size\n    };\n  };\n\n  defaultPreviewUrlCallback = function defaultPreviewUrlCallback(url, info) {\n    var addAmpersand, addName, addQuery, queryPart;\n\n    if (!this.previewProxy) {\n      return url;\n    }\n\n    addQuery = !/\\?/.test(this.previewProxy);\n    addName = addQuery || !/=$/.test(this.previewProxy);\n    addAmpersand = !addQuery && !/[&?=]$/.test(this.previewProxy);\n    queryPart = encodeURIComponent(url);\n\n    if (addName) {\n      queryPart = 'url=' + queryPart;\n    }\n\n    if (addAmpersand) {\n      queryPart = '&' + queryPart;\n    }\n\n    if (addQuery) {\n      queryPart = '?' + queryPart;\n    }\n\n    return this.previewProxy + queryPart;\n  };\n\n  normalize = function normalize(settings) {\n    var skydriveIndex;\n    arrayOptions(settings, ['tabs', 'preferredTypes']);\n    urlOptions(settings, ['cdnBase', 'socialBase', 'urlBase', 'scriptBase']);\n    flagOptions(settings, ['doNotStore', 'imagesOnly', 'multiple', 'clearable', 'pathValue', 'previewStep', 'systemDialog', 'debugUploads', 'multipleMaxStrict']);\n    intOptions(settings, ['multipleMax', 'multipleMin', 'multipartMinSize', 'multipartPartSize', 'multipartMinLastPartSize', 'multipartConcurrency', 'multipartMaxAttempts', 'parallelDirectUploads']);\n    transformOptions(settings, transforms);\n    constrainOptions(settings, constraints);\n    integrationToUserAgent(settings);\n\n    if (settings.crop !== false && !$.isArray(settings.crop)) {\n      if (/^(disabled?|false|null)$/i.test(settings.crop)) {\n        settings.crop = false;\n      } else if ($.isPlainObject(settings.crop)) {\n        // old format\n        settings.crop = [settings.crop];\n      } else {\n        settings.crop = $.map(('' + settings.crop).split(','), parseCrop);\n      }\n    }\n\n    if (settings.imageShrink && !$.isPlainObject(settings.imageShrink)) {\n      settings.imageShrink = parseShrink(settings.imageShrink);\n    }\n\n    if (settings.crop || settings.multiple) {\n      settings.previewStep = true;\n    }\n\n    if (!sendFileAPI) {\n      settings.systemDialog = false;\n    }\n\n    if (settings.validators) {\n      settings.validators = settings.validators.slice();\n    }\n\n    if (settings.previewProxy && !settings.previewUrlCallback) {\n      settings.previewUrlCallback = defaultPreviewUrlCallback;\n    }\n\n    skydriveIndex = settings.tabs.indexOf('skydrive');\n\n    if (skydriveIndex !== -1) {\n      settings.tabs[skydriveIndex] = 'onedrive';\n    }\n\n    return settings;\n  }; // global variables only\n\n\n  var globals = function globals() {\n    var key, scriptSettings, value;\n    scriptSettings = {};\n\n    for (key in defaults) {\n      value = window[\"UPLOADCARE_\".concat(upperCase(key))];\n\n      if (value != null) {\n        scriptSettings[key] = value;\n      }\n    }\n\n    return scriptSettings;\n  }; // Defaults + global variables + global overrides (once from uploadcare.start)\n  // Not publicly-accessible\n\n\n  var common = once(function (settings, ignoreGlobals) {\n    var result;\n\n    if (!ignoreGlobals) {\n      defaults = $.extend(defaults, globals());\n    }\n\n    result = normalize($.extend(defaults, settings || {}));\n    waitForSettings.fire(result);\n    return result;\n  }); // Defaults + global variables + global overrides + local overrides\n\n  var build = function build(settings) {\n    var result;\n    result = $.extend({}, common());\n\n    if (!$.isEmptyObject(settings)) {\n      result = normalize($.extend(result, settings));\n    }\n\n    return result;\n  };\n\n  var waitForSettings = isWindowDefined() && $.Callbacks('once memory');\n\n  var CssCollector =\n  /*#__PURE__*/\n  function () {\n    function CssCollector() {\n      _classCallCheck(this, CssCollector);\n\n      this.urls = [];\n      this.styles = [];\n    }\n\n    _createClass(CssCollector, [{\n      key: \"addUrl\",\n      value: function addUrl(url) {\n        if (!/^https?:\\/\\//i.test(url)) {\n          throw new Error('Embedded urls should be absolute. ' + url);\n        }\n\n        if (!(indexOf$1.call(this.urls, url) >= 0)) {\n          return this.urls.push(url);\n        }\n      }\n    }, {\n      key: \"addStyle\",\n      value: function addStyle(style) {\n        return this.styles.push(style);\n      }\n    }]);\n\n    return CssCollector;\n  }();\n\n  var emptyKeyText = '<div class=\"uploadcare--tab__content\">\\n<div class=\"uploadcare--text uploadcare--text_size_large uploadcare--tab__title\">Hello!</div>\\n<div class=\"uploadcare--text\">Your <a class=\"uploadcare--link\" href=\"https://uploadcare.com/dashboard/\">public key</a> is not set.</div>\\n<div class=\"uploadcare--text\">Add this to the &lt;head&gt; tag to start uploading files:</div>\\n<div class=\"uploadcare--text uploadcare--text_pre\">&lt;script&gt;\\nUPLOADCARE_PUBLIC_KEY = \\'your_public_key\\';\\n&lt;/script&gt;</div>\\n</div>';\n\n  var trackLoading = function trackLoading(image, src) {\n    var def;\n    def = $.Deferred();\n\n    if (src) {\n      image.src = src;\n    }\n\n    if (image.complete) {\n      def.resolve(image);\n    } else {\n      $(image).one('load', function () {\n        return def.resolve(image);\n      });\n      $(image).one('error', function () {\n        return def.reject(image);\n      });\n    }\n\n    return def.promise();\n  };\n\n  var imageLoader = function imageLoader(image) {\n    // if argument is an array, treat as\n    // load(['1.jpg', '2.jpg'])\n    if ($.isArray(image)) {\n      return $.when.apply(null, $.map(image, imageLoader));\n    }\n\n    if (image.src) {\n      return trackLoading(image);\n    } else {\n      return trackLoading(new window.Image(), image);\n    }\n  };\n\n  var videoLoader = function videoLoader(src) {\n    var def = $.Deferred();\n    $('<video/>').on('loadeddata', def.resolve).on('error', def.reject).attr('src', src).get(0).load();\n    return def.promise();\n  };\n\n  var DataView = isWindowDefined() && window.DataView;\n  var runner = taskRunner(1);\n\n  var shrinkFile = function shrinkFile(file, settings) {\n    var df; // in -> file\n    // out <- blob\n\n    df = $.Deferred();\n\n    if (!(URL && DataView && Blob)) {\n      return df.reject('support');\n    } // start = new Date()\n\n\n    runner(function (release) {\n      var op; // console.log('delayed: ' + (new Date() - start))\n\n      df.always(release); // start = new Date()\n\n      op = imageLoader(URL.createObjectURL(file));\n      op.always(function (img) {\n        return URL.revokeObjectURL(img.src);\n      });\n      op.fail(function () {\n        return df.reject('not image');\n      });\n      return op.done(function (img) {\n        // console.log('load: ' + (new Date() - start))\n        df.notify(0.1);\n        var exifOp = getExif(file).always(function (exif) {\n          var e, isJPEG;\n          df.notify(0.2);\n          isJPEG = exifOp.state() === 'resolved'; // start = new Date()\n\n          op = shrinkImage(img, settings);\n          op.progress(function (progress) {\n            return df.notify(0.2 + progress * 0.6);\n          });\n          op.fail(df.reject);\n          op.done(function (canvas) {\n            var format, quality; // console.log('shrink: ' + (new Date() - start))\n            // start = new Date()\n\n            format = 'image/jpeg';\n            quality = settings.quality || 0.8;\n\n            if (!isJPEG && hasTransparency(canvas)) {\n              format = 'image/png';\n              quality = undefined;\n            }\n\n            return canvasToBlob(canvas, format, quality, function (blob) {\n              canvas.width = canvas.height = 1;\n              df.notify(0.9); // console.log('to blob: ' + (new Date() - start))\n\n              if (exif) {\n                op = replaceJpegChunk(blob, 0xe1, [exif.buffer]);\n                op.done(df.resolve);\n                return op.fail(function () {\n                  return df.resolve(blob);\n                });\n              } else {\n                return df.resolve(blob);\n              }\n            });\n          });\n          e = null; // free reference\n\n          return e;\n        });\n        return exifOp;\n      });\n    });\n    return df.promise();\n  };\n\n  var shrinkImage = function shrinkImage(img, settings) {\n    var cx, df, h, maxSize, maxSquare, originalW, ratio, _run, runNative, sH, sW, step, w; // in -> image\n    // out <- canvas\n\n\n    df = $.Deferred();\n    step = 0.71; // sohuld be > sqrt(0.5)\n\n    if (img.width * step * img.height * step < settings.size) {\n      return df.reject('not required');\n    }\n\n    sW = originalW = img.width;\n    sH = img.height;\n    ratio = sW / sH;\n    w = Math.floor(Math.sqrt(settings.size * ratio));\n    h = Math.floor(settings.size / Math.sqrt(settings.size * ratio));\n    maxSquare = 5000000; // ios max canvas square\n\n    maxSize = 4096; // ie max canvas dimensions\n\n    _run = function run() {\n      if (sW <= w) {\n        df.resolve(img);\n        return;\n      }\n\n      return defer(function () {\n        var canvas;\n        sW = Math.round(sW * step);\n        sH = Math.round(sH * step);\n\n        if (sW * step < w) {\n          sW = w;\n          sH = h;\n        }\n\n        if (sW * sH > maxSquare) {\n          sW = Math.floor(Math.sqrt(maxSquare * ratio));\n          sH = Math.floor(maxSquare / Math.sqrt(maxSquare * ratio));\n        }\n\n        if (sW > maxSize) {\n          sW = maxSize;\n          sH = Math.round(sW / ratio);\n        }\n\n        if (sH > maxSize) {\n          sH = maxSize;\n          sW = Math.round(ratio * sH);\n        }\n\n        canvas = document.createElement('canvas');\n        canvas.width = sW;\n        canvas.height = sH;\n        canvas.getContext('2d').drawImage(img, 0, 0, sW, sH);\n        img.src = '//:0'; // for image\n\n        img.width = img.height = 1; // for canvas\n\n        img = canvas;\n        df.notify((originalW - sW) / (originalW - w));\n        return _run();\n      });\n    };\n\n    runNative = function runNative() {\n      var canvas, cx;\n      canvas = document.createElement('canvas');\n      canvas.width = w;\n      canvas.height = h;\n      cx = canvas.getContext('2d');\n      cx.imageSmoothingQuality = 'high';\n      cx.drawImage(img, 0, 0, w, h);\n      img.src = '//:0'; // for image\n\n      img.width = img.height = 1; // for canvas\n\n      return df.resolve(canvas);\n    };\n\n    cx = document.createElement('canvas').getContext('2d');\n\n    if ('imageSmoothingQuality' in cx) {\n      runNative();\n    } else {\n      _run();\n    }\n\n    return df.promise();\n  };\n\n  var drawFileToCanvas = function drawFileToCanvas(file, mW, mH, bg, maxSource) {\n    var df, op; // in -> file\n    // out <- canvas\n\n    df = $.Deferred();\n\n    if (!URL) {\n      return df.reject('support');\n    }\n\n    op = imageLoader(URL.createObjectURL(file));\n    op.always(function (img) {\n      return URL.revokeObjectURL(img.src);\n    });\n    op.fail(function () {\n      return df.reject('not image');\n    });\n    op.done(function (img) {\n      df.always(function () {\n        img.src = '//:0';\n      });\n\n      if (maxSource && img.width * img.height > maxSource) {\n        return df.reject('max source');\n      }\n\n      return getExif(file).always(function (exif) {\n        var canvas, ctx, dH, dW, orientation, sSize, swap, trns;\n        orientation = parseExifOrientation(exif) || 1;\n        swap = orientation > 4;\n        sSize = swap ? [img.height, img.width] : [img.width, img.height];\n\n        var _fitSize = fitSize(sSize, [mW, mH]);\n\n        var _fitSize2 = _slicedToArray(_fitSize, 2);\n\n        dW = _fitSize2[0];\n        dH = _fitSize2[1];\n        trns = [[1, 0, 0, 1, 0, 0], [-1, 0, 0, 1, dW, 0], [-1, 0, 0, -1, dW, dH], [1, 0, 0, -1, 0, dH], [0, 1, 1, 0, 0, 0], [0, 1, -1, 0, dW, 0], [0, -1, -1, 0, dW, dH], [0, -1, 1, 0, 0, dH]][orientation - 1];\n\n        if (!trns) {\n          return df.reject('bad image');\n        }\n\n        canvas = document.createElement('canvas');\n        canvas.width = dW;\n        canvas.height = dH;\n        ctx = canvas.getContext('2d');\n        ctx.transform.apply(ctx, trns);\n\n        if (swap) {\n          var _ref = [dH, dW];\n          dW = _ref[0];\n          dH = _ref[1];\n        }\n\n        if (bg) {\n          ctx.fillStyle = bg;\n          ctx.fillRect(0, 0, dW, dH);\n        }\n\n        ctx.drawImage(img, 0, 0, dW, dH);\n        return df.resolve(canvas, sSize);\n      });\n    });\n    return df.promise();\n  }; // Util functions\n\n\n  var readJpegChunks = function readJpegChunks(file) {\n    var df, pos, readNext, readNextChunk, readToView;\n\n    readToView = function readToView(file, cb) {\n      var reader;\n      reader = new FileReader();\n\n      reader.onload = function () {\n        return cb(new DataView(reader.result));\n      };\n\n      reader.onerror = function (e) {\n        return df.reject('reader', e);\n      };\n\n      return reader.readAsArrayBuffer(file);\n    };\n\n    readNext = function readNext() {\n      return readToView(file.slice(pos, pos + 128), function (view) {\n        var i, j, ref;\n\n        for (i = j = 0, ref = view.byteLength; ref >= 0 ? j < ref : j > ref; i = ref >= 0 ? ++j : --j) {\n          if (view.getUint8(i) === 0xff) {\n            pos += i;\n            break;\n          }\n        }\n\n        return readNextChunk();\n      });\n    };\n\n    readNextChunk = function readNextChunk() {\n      var startPos;\n      startPos = pos; // todo fix\n      // eslint-disable-next-line no-return-assign\n\n      return readToView(file.slice(pos, pos += 4), function (view) {\n        var length, marker;\n\n        if (view.byteLength !== 4 || view.getUint8(0) !== 0xff) {\n          return df.reject('corrupted');\n        }\n\n        marker = view.getUint8(1);\n\n        if (marker === 0xda) {\n          // Start Of Scan\n          // console.log('read jpeg chunks: ' + (new Date() - start))\n          return df.resolve();\n        }\n\n        length = view.getUint16(2) - 2; // eslint-disable-next-line no-return-assign\n\n        return readToView(file.slice(pos, pos += length), function (view) {\n          if (view.byteLength !== length) {\n            return df.reject('corrupted');\n          }\n\n          df.notify(startPos, length, marker, view);\n          return readNext();\n        });\n      });\n    };\n\n    df = $.Deferred();\n\n    if (!(FileReader && DataView)) {\n      return df.reject('support');\n    } // start = new Date()\n\n\n    pos = 2;\n    readToView(file.slice(0, 2), function (view) {\n      if (view.getUint16(0) !== 0xffd8) {\n        return df.reject('not jpeg');\n      }\n\n      return readNext();\n    });\n    return df.promise();\n  };\n\n  var replaceJpegChunk = function replaceJpegChunk(blob, marker, chunks) {\n    var df, oldChunkLength, oldChunkPos, op;\n    df = $.Deferred();\n    oldChunkPos = [];\n    oldChunkLength = [];\n    op = readJpegChunks(blob);\n    op.fail(df.reject);\n    op.progress(function (pos, length, oldMarker) {\n      if (oldMarker === marker) {\n        oldChunkPos.push(pos);\n        return oldChunkLength.push(length);\n      }\n    });\n    op.done(function () {\n      var chunk, i, intro, j, k, len, newChunks, pos, ref;\n      newChunks = [blob.slice(0, 2)];\n\n      for (j = 0, len = chunks.length; j < len; j++) {\n        chunk = chunks[j];\n        intro = new DataView(new ArrayBuffer(4));\n        intro.setUint16(0, 0xff00 + marker);\n        intro.setUint16(2, chunk.byteLength + 2);\n        newChunks.push(intro.buffer);\n        newChunks.push(chunk);\n      }\n\n      pos = 2;\n\n      for (i = k = 0, ref = oldChunkPos.length; ref >= 0 ? k < ref : k > ref; i = ref >= 0 ? ++k : --k) {\n        if (oldChunkPos[i] > pos) {\n          newChunks.push(blob.slice(pos, oldChunkPos[i]));\n        }\n\n        pos = oldChunkPos[i] + oldChunkLength[i] + 4;\n      }\n\n      newChunks.push(blob.slice(pos, blob.size));\n      return df.resolve(new Blob(newChunks, {\n        type: blob.type\n      }));\n    });\n    return df.promise();\n  };\n\n  var getExif = function getExif(file) {\n    var exif, op;\n    exif = null;\n    op = readJpegChunks(file);\n    op.progress(function (pos, l, marker, view) {\n      if (!exif && marker === 0xe1) {\n        if (view.byteLength >= 14) {\n          if (view.getUint32(0) === 0x45786966 && view.getUint16(4) === 0) {\n            exif = view;\n            return exif;\n          }\n        }\n      }\n    });\n    return op.then(function () {\n      return exif;\n    }, function (reason) {\n      return $.Deferred().reject(exif, reason);\n    });\n  };\n\n  var parseExifOrientation = function parseExifOrientation(exif) {\n    var count, j, little, offset, ref;\n\n    if (!exif || exif.byteLength < 14 || exif.getUint32(0) !== 0x45786966 || exif.getUint16(4) !== 0) {\n      return null;\n    }\n\n    if (exif.getUint16(6) === 0x4949) {\n      little = true;\n    } else if (exif.getUint16(6) === 0x4d4d) {\n      little = false;\n    } else {\n      return null;\n    }\n\n    if (exif.getUint16(8, little) !== 0x002a) {\n      return null;\n    }\n\n    offset = 8 + exif.getUint32(10, little);\n    count = exif.getUint16(offset - 2, little);\n\n    for (j = 0, ref = count; ref >= 0 ? j < ref : j > ref; ref >= 0 ? ++j : --j) {\n      if (exif.byteLength < offset + 10) {\n        return null;\n      }\n\n      if (exif.getUint16(offset, little) === 0x0112) {\n        return exif.getUint16(offset + 8, little);\n      }\n\n      offset += 12;\n    }\n\n    return null;\n  };\n\n  var hasTransparency = function hasTransparency(img) {\n    var canvas, ctx, data, i, j, pcsn, ref;\n    pcsn = 50;\n    canvas = document.createElement('canvas');\n    canvas.width = canvas.height = pcsn;\n    ctx = canvas.getContext('2d');\n    ctx.drawImage(img, 0, 0, pcsn, pcsn);\n    data = ctx.getImageData(0, 0, pcsn, pcsn).data;\n    canvas.width = canvas.height = 1;\n\n    for (i = j = 3, ref = data.length; j < ref; i = j += 4) {\n      if (data[i] < 254) {\n        return true;\n      }\n    }\n\n    return false;\n  };\n\n  // progressState: one of 'error', 'ready', 'uploading', 'uploaded'\n  // internal api\n  //   __notifyApi: file upload in progress\n  //   __resolveApi: file is ready\n  //   __rejectApi: file failed on any stage\n  //   __completeUpload: file uploaded, info required\n\n  var BaseFile =\n  /*#__PURE__*/\n  function () {\n    function BaseFile(param, settings1) {\n      var sourceInfo = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n      _classCallCheck(this, BaseFile);\n\n      var base;\n      this.settings = settings1;\n      this.sourceInfo = sourceInfo;\n      this.fileId = null;\n      this.fileName = null;\n      this.sanitizedName = null;\n      this.fileSize = null;\n      this.isStored = null;\n      this.cdnUrlModifiers = null;\n      this.isImage = null;\n      this.imageInfo = null;\n      this.mimeType = null;\n      this.s3Bucket = null;\n      (base = this.sourceInfo).source || (base.source = this.sourceName);\n\n      this.__setupValidation();\n\n      this.__initApi();\n    }\n\n    _createClass(BaseFile, [{\n      key: \"__startUpload\",\n      value: function __startUpload() {\n        return $.Deferred().resolve();\n      }\n    }, {\n      key: \"__completeUpload\",\n      value: function __completeUpload() {\n        var _this = this;\n\n        var _check, logger, ncalls, timeout; // Update info until @apiDeferred resolved.\n\n\n        ncalls = 0;\n\n        if (this.settings.debugUploads) {\n          debug('Load file info.', this.fileId, this.settings.publicKey);\n          logger = setInterval(function () {\n            return debug('Still waiting for file ready.', ncalls, _this.fileId, _this.settings.publicKey);\n          }, 5000);\n          this.apiDeferred.done(function () {\n            return debug('File uploaded.', ncalls, _this.fileId, _this.settings.publicKey);\n          }).always(function () {\n            return clearInterval(logger);\n          });\n        }\n\n        timeout = 100;\n        return (_check = function check() {\n          if (_this.apiDeferred.state() === 'pending') {\n            ncalls += 1;\n            return _this.__updateInfo().done(function () {\n              setTimeout(_check, timeout);\n              timeout += 50;\n              return timeout;\n            });\n          }\n        })();\n      }\n    }, {\n      key: \"__updateInfo\",\n      value: function __updateInfo() {\n        var _this2 = this;\n\n        return jsonp(\"\".concat(this.settings.urlBase, \"/info/\"), 'GET', {\n          jsonerrors: 1,\n          file_id: this.fileId,\n          pub_key: this.settings.publicKey,\n          // Assume that we have all other info if isImage is set to something\n          // other than null and we only waiting for is_ready flag.\n          wait_is_ready: +(this.isImage === null)\n        }, {\n          headers: {\n            'X-UC-User-Agent': this.settings._userAgent\n          }\n        }).fail(function (reason) {\n          if (_this2.settings.debugUploads) {\n            log(\"Can't load file info. Probably removed.\", _this2.fileId, _this2.settings.publicKey, reason);\n          }\n\n          return _this2.__rejectApi('info');\n        }).done(this.__handleFileData.bind(this));\n      }\n    }, {\n      key: \"__handleFileData\",\n      value: function __handleFileData(data) {\n        this.fileName = data.original_filename;\n        this.sanitizedName = data.filename;\n        this.fileSize = data.size;\n        this.isImage = data.is_image;\n        this.imageInfo = data.image_info;\n        this.mimeType = data.mime_type;\n        this.isStored = data.is_stored;\n        this.s3Bucket = data.s3_bucket;\n\n        if (data.default_effects) {\n          this.cdnUrlModifiers = '-/' + data.default_effects;\n        }\n\n        if (this.s3Bucket && this.cdnUrlModifiers) {\n          this.__rejectApi('baddata');\n        }\n\n        this.__runValidators();\n\n        if (data.is_ready) {\n          return this.__resolveApi();\n        }\n      } // Retrieve info\n\n    }, {\n      key: \"__progressInfo\",\n      value: function __progressInfo() {\n        var ref;\n        return {\n          state: this.__progressState,\n          uploadProgress: this.__progress,\n          progress: (ref = this.__progressState) === 'ready' || ref === 'error' ? 1 : this.__progress * 0.9,\n          incompleteFileInfo: this.__fileInfo()\n        };\n      }\n    }, {\n      key: \"__fileInfo\",\n      value: function __fileInfo() {\n        var urlBase;\n\n        if (this.s3Bucket) {\n          urlBase = \"https://\".concat(this.s3Bucket, \".s3.amazonaws.com/\").concat(this.fileId, \"/\").concat(this.sanitizedName);\n        } else {\n          urlBase = \"\".concat(this.settings.cdnBase, \"/\").concat(this.fileId, \"/\");\n        }\n\n        return {\n          uuid: this.fileId,\n          name: this.fileName,\n          size: this.fileSize,\n          isStored: this.isStored,\n          isImage: !this.s3Bucket && this.isImage,\n          originalImageInfo: this.imageInfo,\n          mimeType: this.mimeType,\n          originalUrl: this.fileId ? urlBase : null,\n          cdnUrl: this.fileId ? \"\".concat(urlBase).concat(this.cdnUrlModifiers || '') : null,\n          cdnUrlModifiers: this.cdnUrlModifiers,\n          sourceInfo: this.sourceInfo\n        };\n      } // Validators\n\n    }, {\n      key: \"__setupValidation\",\n      value: function __setupValidation() {\n        this.validators = this.settings.validators || this.settings.__validators || [];\n\n        if (this.settings.imagesOnly) {\n          return this.validators.push(function (info) {\n            if (info.isImage === false) {\n              throw new Error('image');\n            }\n          });\n        }\n      }\n    }, {\n      key: \"__runValidators\",\n      value: function __runValidators() {\n        var err, i, info, len, ref, results, v;\n        info = this.__fileInfo();\n\n        try {\n          ref = this.validators;\n          results = [];\n\n          for (i = 0, len = ref.length; i < len; i++) {\n            v = ref[i];\n            results.push(v(info));\n          }\n\n          return results;\n        } catch (error) {\n          err = error;\n          return this.__rejectApi(err.message);\n        }\n      } // Internal API control\n\n    }, {\n      key: \"__initApi\",\n      value: function __initApi() {\n        this.apiDeferred = $.Deferred();\n        this.__progressState = 'uploading';\n        this.__progress = 0;\n        return this.__notifyApi();\n      }\n    }, {\n      key: \"__notifyApi\",\n      value: function __notifyApi() {\n        return this.apiDeferred.notify(this.__progressInfo());\n      }\n    }, {\n      key: \"__rejectApi\",\n      value: function __rejectApi(err) {\n        this.__progressState = 'error';\n\n        this.__notifyApi();\n\n        return this.apiDeferred.reject(err, this.__fileInfo());\n      }\n    }, {\n      key: \"__resolveApi\",\n      value: function __resolveApi() {\n        this.__progressState = 'ready';\n\n        this.__notifyApi();\n\n        return this.apiDeferred.resolve(this.__fileInfo());\n      }\n    }, {\n      key: \"__cancel\",\n      value: function __cancel() {\n        return this.__rejectApi('user');\n      }\n    }, {\n      key: \"__extendApi\",\n      value: function __extendApi(api) {\n        var _this3 = this;\n\n        api.cancel = this.__cancel.bind(this);\n\n        api.pipe = api.then = function () {\n          for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n            args[_key] = arguments[_key];\n          }\n\n          // 'pipe' is alias to 'then' from jQuery 1.8\n          return _this3.__extendApi(fixedPipe.apply(void 0, [api].concat(args)));\n        };\n\n        return api; // extended promise\n      }\n    }, {\n      key: \"promise\",\n      value: function promise() {\n        var _this4 = this;\n\n        var op;\n\n        if (!this.__apiPromise) {\n          this.__apiPromise = this.__extendApi(this.apiDeferred.promise());\n\n          this.__runValidators();\n\n          if (this.apiDeferred.state() === 'pending') {\n            op = this.__startUpload();\n            op.done(function () {\n              _this4.__progressState = 'uploaded';\n              _this4.__progress = 1;\n\n              _this4.__notifyApi();\n\n              return _this4.__completeUpload();\n            });\n            op.progress(function (progress) {\n              if (progress > _this4.__progress) {\n                _this4.__progress = progress;\n                return _this4.__notifyApi();\n              }\n            });\n            op.fail(function () {\n              return _this4.__rejectApi('upload');\n            });\n            this.apiDeferred.always(op.reject);\n          }\n        }\n\n        return this.__apiPromise;\n      }\n    }]);\n\n    return BaseFile;\n  }();\n\n  var _directRunner = null;\n\n  var ObjectFile =\n  /*#__PURE__*/\n  function (_BaseFile) {\n    _inherits(ObjectFile, _BaseFile);\n\n    function ObjectFile(__file) {\n      var _this;\n\n      _classCallCheck(this, ObjectFile);\n\n      _this = _possibleConstructorReturn(this, _getPrototypeOf(ObjectFile).apply(this, arguments));\n      _this.__file = __file;\n      _this.fileName = _this.__file.name || 'original';\n\n      _this.__notifyApi();\n\n      return _this;\n    }\n\n    _createClass(ObjectFile, [{\n      key: \"setFile\",\n      value: function setFile(file) {\n        if (file) {\n          this.__file = file;\n        }\n\n        this.sourceInfo.file = this.__file;\n\n        if (!this.__file) {\n          return;\n        }\n\n        this.fileSize = this.__file.size;\n        this.fileType = this.__file.type || 'application/octet-stream';\n\n        if (this.settings.debugUploads) {\n          debug('Use local file.', this.fileName, this.fileType, this.fileSize);\n        }\n\n        this.__runValidators();\n\n        return this.__notifyApi();\n      }\n    }, {\n      key: \"__startUpload\",\n      value: function __startUpload() {\n        var _this2 = this;\n\n        var df, ios, resizeShare;\n        this.apiDeferred.always(function () {\n          _this2.__file = null;\n          return _this2.__file;\n        });\n\n        if (this.__file.size >= this.settings.multipartMinSize && Blob) {\n          this.setFile();\n          return this.multipartUpload();\n        }\n\n        ios = iOSVersion;\n\n        if (!this.settings.imageShrink || ios && ios < 8) {\n          this.setFile();\n          return this.directUpload();\n        } // if @settings.imageShrink\n\n\n        df = $.Deferred();\n        resizeShare = 0.4;\n        shrinkFile(this.__file, this.settings.imageShrink).progress(function (progress) {\n          return df.notify(progress * resizeShare);\n        }).done(this.setFile.bind(this)).fail(function () {\n          _this2.setFile();\n\n          resizeShare = resizeShare * 0.1;\n          return resizeShare;\n        }).always(function () {\n          df.notify(resizeShare);\n          return _this2.directUpload().done(df.resolve).fail(df.reject).progress(function (progress) {\n            return df.notify(resizeShare + progress * (1 - resizeShare));\n          });\n        });\n        return df;\n      }\n    }, {\n      key: \"__autoAbort\",\n      value: function __autoAbort(xhr) {\n        this.apiDeferred.fail(xhr.abort);\n        return xhr;\n      }\n    }, {\n      key: \"directRunner\",\n      value: function directRunner(task) {\n        if (!_directRunner) {\n          _directRunner = taskRunner(this.settings.parallelDirectUploads);\n        }\n\n        return _directRunner(task);\n      }\n    }, {\n      key: \"directUpload\",\n      value: function directUpload() {\n        var _this3 = this;\n\n        var df;\n        df = $.Deferred();\n\n        if (!this.__file) {\n          this.__rejectApi('baddata');\n\n          return df;\n        }\n\n        if (this.fileSize > 100 * 1024 * 1024) {\n          this.__rejectApi('size');\n\n          return df;\n        }\n\n        this.directRunner(function (release) {\n          var formData;\n          df.always(release);\n\n          if (_this3.apiDeferred.state() !== 'pending') {\n            return;\n          }\n\n          formData = new window.FormData();\n          formData.append('UPLOADCARE_PUB_KEY', _this3.settings.publicKey);\n          formData.append('signature', _this3.settings.secureSignature);\n          formData.append('expire', _this3.settings.secureExpire);\n          formData.append('UPLOADCARE_STORE', _this3.settings.doNotStore ? '' : 'auto');\n          formData.append('file', _this3.__file, _this3.fileName);\n          formData.append('file_name', _this3.fileName);\n          formData.append('source', _this3.sourceInfo.source);\n          return _this3.__autoAbort($.ajax({\n            xhr: function xhr() {\n              var xhr; // Naked XHR for progress tracking\n\n              xhr = $.ajaxSettings.xhr();\n\n              if (xhr.upload) {\n                xhr.upload.addEventListener('progress', function (e) {\n                  return df.notify(e.loaded / e.total);\n                }, false);\n              }\n\n              return xhr;\n            },\n            crossDomain: true,\n            type: 'POST',\n            url: \"\".concat(_this3.settings.urlBase, \"/base/?jsonerrors=1\"),\n            headers: {\n              'X-UC-User-Agent': _this3.settings._userAgent\n            },\n            contentType: false,\n            // For correct boundary string\n            processData: false,\n            data: formData,\n            dataType: 'json',\n            error: df.reject,\n            success: function success(data) {\n              if (data != null ? data.file : undefined) {\n                _this3.fileId = data.file;\n                return df.resolve();\n              } else {\n                return df.reject();\n              }\n            }\n          }));\n        });\n        return df;\n      }\n    }, {\n      key: \"multipartUpload\",\n      value: function multipartUpload() {\n        var _this4 = this;\n\n        var df;\n        df = $.Deferred();\n\n        if (!this.__file) {\n          return df;\n        }\n\n        this.multipartStart().done(function (data) {\n          return _this4.uploadParts(data.parts, data.uuid).done(function () {\n            return _this4.multipartComplete(data.uuid).done(function (data) {\n              _this4.fileId = data.uuid;\n\n              _this4.__handleFileData(data);\n\n              return df.resolve();\n            }).fail(df.reject);\n          }).progress(df.notify).fail(df.reject);\n        }).fail(df.reject);\n        return df;\n      }\n    }, {\n      key: \"multipartStart\",\n      value: function multipartStart() {\n        var _this5 = this;\n\n        var data;\n        data = {\n          UPLOADCARE_PUB_KEY: this.settings.publicKey,\n          signature: this.settings.secureSignature,\n          expire: this.settings.secureExpire,\n          filename: this.fileName,\n          source: this.sourceInfo.source,\n          size: this.fileSize,\n          content_type: this.fileType,\n          part_size: this.settings.multipartPartSize,\n          UPLOADCARE_STORE: this.settings.doNotStore ? '' : 'auto'\n        };\n        return this.__autoAbort(jsonp(\"\".concat(this.settings.urlBase, \"/multipart/start/?jsonerrors=1\"), 'POST', data, {\n          headers: {\n            'X-UC-User-Agent': this.settings._userAgent\n          }\n        })).fail(function (reason) {\n          if (_this5.settings.debugUploads) {\n            return log(\"Can't start multipart upload.\", reason, data);\n          }\n        });\n      }\n    }, {\n      key: \"uploadParts\",\n      value: function uploadParts(parts, uuid) {\n        var _this6 = this;\n\n        var df, inProgress, j, lastUpdate, progress, ref1, _submit, submittedBytes, submittedParts, updateProgress;\n\n        progress = [];\n        lastUpdate = Date.now();\n\n        updateProgress = function updateProgress(i, loaded) {\n          var j, len, total;\n          progress[i] = loaded;\n\n          if (Date.now() - lastUpdate < 250) {\n            return;\n          }\n\n          lastUpdate = Date.now();\n          total = 0;\n\n          for (j = 0, len = progress.length; j < len; j++) {\n            loaded = progress[j];\n            total += loaded;\n          }\n\n          return df.notify(total / _this6.fileSize);\n        };\n\n        df = $.Deferred();\n        inProgress = 0;\n        submittedParts = 0;\n        submittedBytes = 0;\n\n        _submit = function submit() {\n          var attempts, blob, bytesToSubmit, partNo, _retry;\n\n          if (submittedBytes >= _this6.fileSize) {\n            return;\n          }\n\n          bytesToSubmit = submittedBytes + _this6.settings.multipartPartSize;\n\n          if (_this6.fileSize < bytesToSubmit + _this6.settings.multipartMinLastPartSize) {\n            bytesToSubmit = _this6.fileSize;\n          }\n\n          blob = _this6.__file.slice(submittedBytes, bytesToSubmit);\n          submittedBytes = bytesToSubmit;\n          partNo = submittedParts;\n          inProgress += 1;\n          submittedParts += 1;\n          attempts = 0;\n          return (_retry = function retry() {\n            if (_this6.apiDeferred.state() !== 'pending') {\n              return;\n            }\n\n            progress[partNo] = 0;\n            return _this6.__autoAbort($.ajax({\n              xhr: function xhr() {\n                var xhr; // Naked XHR for progress tracking\n\n                xhr = $.ajaxSettings.xhr();\n                xhr.responseType = 'text';\n\n                if (xhr.upload) {\n                  xhr.upload.addEventListener('progress', function (e) {\n                    return updateProgress(partNo, e.loaded);\n                  }, false);\n                }\n\n                return xhr;\n              },\n              url: parts[partNo],\n              crossDomain: true,\n              type: 'PUT',\n              processData: false,\n              contentType: _this6.fileType,\n              data: blob,\n              error: function error() {\n                attempts += 1;\n\n                if (attempts > _this6.settings.multipartMaxAttempts) {\n                  if (_this6.settings.debugUploads) {\n                    log(\"Part #\".concat(partNo, \" and file upload is failed.\"), uuid);\n                  }\n\n                  return df.reject();\n                } else {\n                  if (_this6.settings.debugUploads) {\n                    debug(\"Part #\".concat(partNo, \"(\").concat(attempts, \") upload is failed.\"), uuid);\n                  }\n\n                  return _retry();\n                }\n              },\n              success: function success() {\n                inProgress -= 1;\n\n                _submit();\n\n                if (!inProgress) {\n                  return df.resolve();\n                }\n              }\n            }));\n          })();\n        };\n\n        for (j = 0, ref1 = this.settings.multipartConcurrency; ref1 >= 0 ? j < ref1 : j > ref1; ref1 >= 0 ? ++j : --j) {\n          _submit();\n        }\n\n        return df;\n      }\n    }, {\n      key: \"multipartComplete\",\n      value: function multipartComplete(uuid) {\n        var _this7 = this;\n\n        var data;\n        data = {\n          UPLOADCARE_PUB_KEY: this.settings.publicKey,\n          uuid: uuid\n        };\n        return this.__autoAbort(jsonp(\"\".concat(this.settings.urlBase, \"/multipart/complete/?jsonerrors=1\"), 'POST', data, {\n          headers: {\n            'X-UC-User-Agent': this.settings._userAgent\n          }\n        })).fail(function (reason) {\n          if (_this7.settings.debugUploads) {\n            return log(\"Can't complete multipart upload.\", uuid, _this7.settings.publicKey, reason);\n          }\n        });\n      }\n    }]);\n\n    return ObjectFile;\n  }(BaseFile);\n\n  ObjectFile.prototype.sourceName = 'local';\n\n  var InputFile =\n  /*#__PURE__*/\n  function (_BaseFile) {\n    _inherits(InputFile, _BaseFile);\n\n    function InputFile(__input) {\n      var _this;\n\n      _classCallCheck(this, InputFile);\n\n      _this = _possibleConstructorReturn(this, _getPrototypeOf(InputFile).apply(this, arguments));\n      _this.__input = __input;\n      _this.fileId = uuid();\n      _this.fileName = $(_this.__input).val().split('\\\\').pop();\n\n      _this.__notifyApi();\n\n      return _this;\n    }\n\n    _createClass(InputFile, [{\n      key: \"__startUpload\",\n      value: function __startUpload() {\n        var df, formParam, iframeId, targetUrl;\n        df = $.Deferred();\n        targetUrl = \"\".concat(this.settings.urlBase, \"/iframe/\");\n        iframeId = \"uploadcare--iframe-\".concat(this.fileId);\n        this.__iframe = $('<iframe>').attr({\n          id: iframeId,\n          name: iframeId\n        }).css('display', 'none').appendTo('body').on('load', df.resolve).on('error', df.reject);\n\n        formParam = function formParam(name, value) {\n          return $('<input/>', {\n            type: 'hidden',\n            name: name,\n            value: value\n          });\n        };\n\n        $(this.__input).attr('name', 'file');\n        this.__iframeForm = $('<form>').attr({\n          method: 'POST',\n          action: targetUrl,\n          enctype: 'multipart/form-data',\n          target: iframeId\n        }).append(formParam('UPLOADCARE_PUB_KEY', this.settings.publicKey)).append(formParam('UPLOADCARE_SIGNATURE', this.settings.secureSignature)).append(formParam('UPLOADCARE_EXPIRE', this.settings.secureExpire)).append(formParam('UPLOADCARE_FILE_ID', this.fileId)).append(formParam('UPLOADCARE_STORE', this.settings.doNotStore ? '' : 'auto')).append(formParam('UPLOADCARE_SOURCE', this.sourceInfo.source)).append(this.__input).css('display', 'none').appendTo('body').submit();\n        return df.always(this.__cleanUp.bind(this));\n      }\n    }, {\n      key: \"__cleanUp\",\n      value: function __cleanUp() {\n        var ref1, ref2;\n\n        if ((ref1 = this.__iframe) != null) {\n          ref1.off('load error').remove();\n        }\n\n        if ((ref2 = this.__iframeForm) != null) {\n          ref2.remove();\n        }\n\n        this.__iframe = null;\n        this.__iframeForm = null;\n        return this.__iframeForm;\n      }\n    }]);\n\n    return InputFile;\n  }(BaseFile);\n\n  InputFile.prototype.sourceName = 'local-compat';\n\n  function createCommonjsModule(fn, module) {\n  \treturn module = { exports: {} }, fn(module, module.exports), module.exports;\n  }\n\n  var pusher = createCommonjsModule(function (module, exports) {\n  // changed:\n  //   Pusher.dependency_suffix = '.min'; (was '')\n  //   window.WEB_SOCKET_SWF_LOCATION = \"https://s3.amazonaws.com/uploadcare-static/WebSocketMainInsecure.swf\"\n\n  /*!\n   * Pusher JavaScript Library v1.12.2\n   * http://pusherapp.com/\n   *\n   * Copyright 2011, Pusher\n   * Released under the MIT licence.\n   */\n  var isWindowDefined = isWindowDefined$1.isWindowDefined;\n\n  (function () {\n    var _Pusher, _require;\n\n    (function () {\n      _Pusher = function Pusher(app_key, options) {\n        this.options = options || {};\n        this.key = app_key;\n        this.channels = new _Pusher.Channels();\n        this.global_emitter = new _Pusher.EventsDispatcher();\n        var self = this;\n        this.checkAppKey();\n        this.connection = new _Pusher.Connection(this.key, this.options); // Setup / teardown connection\n\n        this.connection.bind('connected', function () {\n          self.subscribeAll();\n        }).bind('message', function (params) {\n          var internal = params.event.indexOf('pusher_internal:') === 0;\n\n          if (params.channel) {\n            var channel;\n\n            if (channel = self.channel(params.channel)) {\n              channel.emit(params.event, params.data);\n            }\n          } // Emit globaly [deprecated]\n\n\n          if (!internal) self.global_emitter.emit(params.event, params.data);\n        }).bind('disconnected', function () {\n          self.channels.disconnect();\n        }).bind('error', function (err) {\n          _Pusher.warn('Error', err);\n        });\n\n        _Pusher.instances.push(this);\n\n        if (_Pusher.isReady) self.connect();\n      };\n\n      _Pusher.instances = [];\n      _Pusher.prototype = {\n        channel: function channel(name) {\n          return this.channels.find(name);\n        },\n        connect: function connect() {\n          this.connection.connect();\n        },\n        disconnect: function disconnect() {\n          this.connection.disconnect();\n        },\n        bind: function bind(event_name, callback) {\n          this.global_emitter.bind(event_name, callback);\n          return this;\n        },\n        bind_all: function bind_all(callback) {\n          this.global_emitter.bind_all(callback);\n          return this;\n        },\n        subscribeAll: function subscribeAll() {\n          var channelName;\n\n          for (channelName in this.channels.channels) {\n            if (this.channels.channels.hasOwnProperty(channelName)) {\n              this.subscribe(channelName);\n            }\n          }\n        },\n        subscribe: function subscribe(channel_name) {\n          var self = this;\n          var channel = this.channels.add(channel_name, this);\n\n          if (this.connection.state === 'connected') {\n            channel.authorize(this.connection.socket_id, this.options, function (err, data) {\n              if (err) {\n                channel.emit('pusher:subscription_error', data);\n              } else {\n                self.send_event('pusher:subscribe', {\n                  channel: channel_name,\n                  auth: data.auth,\n                  channel_data: data.channel_data\n                });\n              }\n            });\n          }\n\n          return channel;\n        },\n        unsubscribe: function unsubscribe(channel_name) {\n          this.channels.remove(channel_name);\n\n          if (this.connection.state === 'connected') {\n            this.send_event('pusher:unsubscribe', {\n              channel: channel_name\n            });\n          }\n        },\n        send_event: function send_event(event_name, data, channel) {\n          return this.connection.send_event(event_name, data, channel);\n        },\n        checkAppKey: function checkAppKey() {\n          if (this.key === null || this.key === undefined) {\n            _Pusher.warn('Warning', 'You must pass your app key when you instantiate Pusher.');\n          }\n        }\n      };\n      _Pusher.Util = {\n        extend: function extend(target, extensions) {\n          for (var property in extensions) {\n            if (extensions[property] && extensions[property].constructor && extensions[property].constructor === Object) {\n              target[property] = extend(target[property] || {}, extensions[property]);\n            } else {\n              target[property] = extensions[property];\n            }\n          }\n\n          return target;\n        },\n        stringify: function stringify() {\n          var m = [\"Pusher\"];\n\n          for (var i = 0; i < arguments.length; i++) {\n            if (typeof arguments[i] === \"string\") {\n              m.push(arguments[i]);\n            } else {\n              if (window['JSON'] == undefined) {\n                m.push(arguments[i].toString());\n              } else {\n                m.push(JSON.stringify(arguments[i]));\n              }\n            }\n          }\n          return m.join(\" : \");\n        },\n        arrayIndexOf: function arrayIndexOf(array, item) {\n          // MSIE doesn't have array.indexOf\n          var nativeIndexOf = Array.prototype.indexOf;\n          if (array == null) return -1;\n          if (nativeIndexOf && array.indexOf === nativeIndexOf) return array.indexOf(item);\n\n          for (i = 0, l = array.length; i < l; i++) {\n            if (array[i] === item) return i;\n          }\n\n          return -1;\n        }\n      }; // To receive log output provide a Pusher.log function, for example\n      // Pusher.log = function(m){console.log(m)}\n\n      _Pusher.debug = function () {\n        if (!_Pusher.log) return;\n\n        _Pusher.log(_Pusher.Util.stringify.apply(this, arguments));\n      };\n\n      _Pusher.warn = function () {\n        if (window.console && window.console.warn) {\n          window.console.warn(_Pusher.Util.stringify.apply(this, arguments));\n        } else {\n          if (!_Pusher.log) return;\n\n          _Pusher.log(_Pusher.Util.stringify.apply(this, arguments));\n        }\n      }; // Pusher defaults\n\n\n      _Pusher.VERSION = '1.12.2';\n      _Pusher.host = 'ws.pusherapp.com';\n      _Pusher.ws_port = 80;\n      _Pusher.wss_port = 443;\n      _Pusher.channel_auth_endpoint = '/pusher/auth';\n      _Pusher.cdn_http = 'http://js.pusher.com/';\n      _Pusher.cdn_https = 'https://d3dy5gmtp8yhk7.cloudfront.net/';\n      _Pusher.dependency_suffix = '.min';\n      _Pusher.channel_auth_transport = 'ajax';\n      _Pusher.activity_timeout = 120000;\n      _Pusher.pong_timeout = 30000;\n      _Pusher.isReady = false;\n\n      _Pusher.ready = function () {\n        _Pusher.isReady = true;\n\n        for (var i = 0, l = _Pusher.instances.length; i < l; i++) {\n          _Pusher.instances[i].connect();\n        }\n      };\n    })();\n\n    (function () {\n      /* Abstract event binding\n      Example:\n      \n          var MyEventEmitter = function(){};\n          MyEventEmitter.prototype = new Pusher.EventsDispatcher;\n      \n          var emitter = new MyEventEmitter();\n      \n          // Bind to single event\n          emitter.bind('foo_event', function(data){ alert(data)} );\n      \n          // Bind to all\n          emitter.bind_all(function(eventName, data){ alert(data) });\n      \n      --------------------------------------------------------*/\n      function CallbackRegistry() {\n        this._callbacks = {};\n      }\n\n      CallbackRegistry.prototype.get = function (eventName) {\n        return this._callbacks[this._prefix(eventName)];\n      };\n\n      CallbackRegistry.prototype.add = function (eventName, callback) {\n        var prefixedEventName = this._prefix(eventName);\n\n        this._callbacks[prefixedEventName] = this._callbacks[prefixedEventName] || [];\n\n        this._callbacks[prefixedEventName].push(callback);\n      };\n\n      CallbackRegistry.prototype.remove = function (eventName, callback) {\n        if (this.get(eventName)) {\n          var index = _Pusher.Util.arrayIndexOf(this.get(eventName), callback);\n\n          this._callbacks[this._prefix(eventName)].splice(index, 1);\n        }\n      };\n\n      CallbackRegistry.prototype._prefix = function (eventName) {\n        return \"_\" + eventName;\n      };\n\n      function EventsDispatcher(failThrough) {\n        this.callbacks = new CallbackRegistry();\n        this.global_callbacks = []; // Run this function when dispatching an event when no callbacks defined\n\n        this.failThrough = failThrough;\n      }\n\n      EventsDispatcher.prototype.bind = function (eventName, callback) {\n        this.callbacks.add(eventName, callback);\n        return this; // chainable\n      };\n\n      EventsDispatcher.prototype.unbind = function (eventName, callback) {\n        this.callbacks.remove(eventName, callback);\n        return this;\n      };\n\n      EventsDispatcher.prototype.emit = function (eventName, data) {\n        // Global callbacks\n        for (var i = 0; i < this.global_callbacks.length; i++) {\n          this.global_callbacks[i](eventName, data);\n        } // Event callbacks\n\n\n        var callbacks = this.callbacks.get(eventName);\n\n        if (callbacks) {\n          for (var i = 0; i < callbacks.length; i++) {\n            callbacks[i](data);\n          }\n        } else if (this.failThrough) {\n          this.failThrough(eventName, data);\n        }\n\n        return this;\n      };\n\n      EventsDispatcher.prototype.bind_all = function (callback) {\n        this.global_callbacks.push(callback);\n        return this;\n      };\n\n      _Pusher.EventsDispatcher = EventsDispatcher;\n    })();\n\n    (function () {\n      /*-----------------------------------------------\n        Helpers:\n      -----------------------------------------------*/\n      function capitalize(str) {\n        return str.substr(0, 1).toUpperCase() + str.substr(1);\n      }\n\n      function safeCall(method, obj, data) {\n        if (obj[method] !== undefined) {\n          obj[method](data);\n        }\n      }\n      /*-----------------------------------------------\n        The State Machine\n      -----------------------------------------------*/\n\n\n      function Machine(initialState, transitions, stateActions) {\n        _Pusher.EventsDispatcher.call(this);\n\n        this.state = undefined;\n        this.errors = []; // functions for each state\n\n        this.stateActions = stateActions; // set up the transitions\n\n        this.transitions = transitions;\n        this.transition(initialState);\n      }\n\n      Machine.prototype.transition = function (nextState, data) {\n        var prevState = this.state;\n        var stateCallbacks = this.stateActions;\n\n        if (prevState && _Pusher.Util.arrayIndexOf(this.transitions[prevState], nextState) == -1) {\n          this.emit('invalid_transition_attempt', {\n            oldState: prevState,\n            newState: nextState\n          });\n          throw new Error('Invalid transition [' + prevState + ' to ' + nextState + ']');\n        } // exit\n\n\n        safeCall(prevState + 'Exit', stateCallbacks, data); // tween\n\n        safeCall(prevState + 'To' + capitalize(nextState), stateCallbacks, data); // pre\n\n        safeCall(nextState + 'Pre', stateCallbacks, data); // change state:\n\n        this.state = nextState; // handy to bind to\n\n        this.emit('state_change', {\n          oldState: prevState,\n          newState: nextState\n        }); // Post:\n\n        safeCall(nextState + 'Post', stateCallbacks, data);\n      };\n\n      Machine.prototype.is = function (state) {\n        return this.state === state;\n      };\n\n      Machine.prototype.isNot = function (state) {\n        return this.state !== state;\n      };\n\n      _Pusher.Util.extend(Machine.prototype, _Pusher.EventsDispatcher.prototype);\n\n      _Pusher.Machine = Machine;\n    })();\n\n    (function () {\n      /*\n        A little bauble to interface with window.navigator.onLine,\n        window.ononline and window.onoffline.  Easier to mock.\n      */\n      var NetInfo = function NetInfo() {\n        var self = this;\n\n        _Pusher.EventsDispatcher.call(this); // This is okay, as IE doesn't support this stuff anyway.\n\n\n        if (window.addEventListener !== undefined) {\n          window.addEventListener(\"online\", function () {\n            self.emit('online', null);\n          }, false);\n          window.addEventListener(\"offline\", function () {\n            self.emit('offline', null);\n          }, false);\n        }\n      }; // Offline means definitely offline (no connection to router).\n      // Inverse does NOT mean definitely online (only currently supported in Safari\n      // and even there only means the device has a connection to the router).\n\n\n      NetInfo.prototype.isOnLine = function () {\n        if (window.navigator.onLine === undefined) {\n          return true;\n        } else {\n          return window.navigator.onLine;\n        }\n      };\n\n      _Pusher.Util.extend(NetInfo.prototype, _Pusher.EventsDispatcher.prototype);\n\n      _Pusher.NetInfo = NetInfo;\n    })();\n\n    (function () {\n      var machineTransitions = {\n        'initialized': ['waiting', 'failed'],\n        'waiting': ['connecting', 'permanentlyClosed'],\n        'connecting': ['open', 'permanentlyClosing', 'impermanentlyClosing', 'waiting'],\n        'open': ['connected', 'permanentlyClosing', 'impermanentlyClosing', 'waiting'],\n        'connected': ['permanentlyClosing', 'waiting'],\n        'impermanentlyClosing': ['waiting', 'permanentlyClosing'],\n        'permanentlyClosing': ['permanentlyClosed'],\n        'permanentlyClosed': ['waiting', 'failed'],\n        'failed': ['permanentlyClosed']\n      }; // Amount to add to time between connection attemtpts per failed attempt.\n\n      var UNSUCCESSFUL_CONNECTION_ATTEMPT_ADDITIONAL_WAIT = 2000;\n      var UNSUCCESSFUL_OPEN_ATTEMPT_ADDITIONAL_TIMEOUT = 2000;\n      var UNSUCCESSFUL_CONNECTED_ATTEMPT_ADDITIONAL_TIMEOUT = 2000;\n      var MAX_CONNECTION_ATTEMPT_WAIT = 5 * UNSUCCESSFUL_CONNECTION_ATTEMPT_ADDITIONAL_WAIT;\n      var MAX_OPEN_ATTEMPT_TIMEOUT = 5 * UNSUCCESSFUL_OPEN_ATTEMPT_ADDITIONAL_TIMEOUT;\n      var MAX_CONNECTED_ATTEMPT_TIMEOUT = 5 * UNSUCCESSFUL_CONNECTED_ATTEMPT_ADDITIONAL_TIMEOUT;\n\n      function resetConnectionParameters(connection) {\n        connection.connectionWait = 0;\n\n        if (_Pusher.TransportType === 'flash') {\n          // Flash needs a bit more time\n          connection.openTimeout = 5000;\n        } else {\n          connection.openTimeout = 2000;\n        }\n\n        connection.connectedTimeout = 2000;\n        connection.connectionSecure = connection.compulsorySecure;\n        connection.connectionAttempts = 0;\n      }\n\n      function Connection(key, options) {\n        var self = this;\n\n        _Pusher.EventsDispatcher.call(this);\n\n        this.options = _Pusher.Util.extend({\n          encrypted: false\n        }, options);\n        this.netInfo = new _Pusher.NetInfo();\n        this.netInfo.bind('online', function () {\n          if (self._machine.is('waiting')) {\n            self._machine.transition('connecting');\n\n            updateState('connecting');\n          }\n        });\n        this.netInfo.bind('offline', function () {\n          if (self._machine.is('connected')) {\n            // These are for Chrome 15, which ends up\n            // having two sockets hanging around.\n            self.socket.onclose = undefined;\n            self.socket.onmessage = undefined;\n            self.socket.onerror = undefined;\n            self.socket.onopen = undefined;\n            self.socket.close();\n            self.socket = undefined;\n\n            self._machine.transition('waiting');\n          }\n        }); // define the state machine that runs the connection\n\n        this._machine = new _Pusher.Machine('initialized', machineTransitions, {\n          initializedPre: function initializedPre() {\n            self.compulsorySecure = self.options.encrypted;\n            self.key = key;\n            self.socket = null;\n            self.socket_id = null;\n            self.state = 'initialized';\n          },\n          waitingPre: function waitingPre() {\n            if (self.connectionWait > 0) {\n              self.emit('connecting_in', self.connectionWait);\n            }\n\n            if (self.netInfo.isOnLine() && self.connectionAttempts <= 4) {\n              updateState('connecting');\n            } else {\n              updateState('unavailable');\n            } // When in the unavailable state we attempt to connect, but don't\n            // broadcast that fact\n\n\n            if (self.netInfo.isOnLine()) {\n              self._waitingTimer = setTimeout(function () {\n                self._machine.transition('connecting');\n              }, connectionDelay());\n            }\n          },\n          waitingExit: function waitingExit() {\n            clearTimeout(self._waitingTimer);\n          },\n          connectingPre: function connectingPre() {\n            // Case that a user manages to get to the connecting\n            // state even when offline.\n            if (self.netInfo.isOnLine() === false) {\n              self._machine.transition('waiting');\n\n              updateState('unavailable');\n              return;\n            }\n\n            var url = formatURL(self.key, self.connectionSecure);\n\n            _Pusher.debug('Connecting', url);\n\n            self.socket = new _Pusher.Transport(url); // now that the socket connection attempt has been started,\n            // set up the callbacks fired by the socket for different outcomes\n\n            self.socket.onopen = ws_onopen;\n            self.socket.onclose = transitionToWaiting;\n            self.socket.onerror = ws_onError; // allow time to get ws_onOpen, otherwise close socket and try again\n\n            self._connectingTimer = setTimeout(TransitionToImpermanentlyClosing, self.openTimeout);\n          },\n          connectingExit: function connectingExit() {\n            clearTimeout(self._connectingTimer);\n            self.socket.onopen = undefined; // unbind to avoid open events that are no longer relevant\n          },\n          connectingToWaiting: function connectingToWaiting() {\n            updateConnectionParameters(); // FUTURE: update only ssl\n          },\n          connectingToImpermanentlyClosing: function connectingToImpermanentlyClosing() {\n            updateConnectionParameters(); // FUTURE: update only timeout\n          },\n          openPre: function openPre() {\n            self.socket.onmessage = ws_onMessageOpen;\n            self.socket.onerror = ws_onError;\n            self.socket.onclose = transitionToWaiting; // allow time to get connected-to-Pusher message, otherwise close socket, try again\n\n            self._openTimer = setTimeout(TransitionToImpermanentlyClosing, self.connectedTimeout);\n          },\n          openExit: function openExit() {\n            clearTimeout(self._openTimer);\n            self.socket.onmessage = undefined; // unbind to avoid messages that are no longer relevant\n          },\n          openToWaiting: function openToWaiting() {\n            updateConnectionParameters();\n          },\n          openToImpermanentlyClosing: function openToImpermanentlyClosing() {\n            updateConnectionParameters();\n          },\n          connectedPre: function connectedPre(socket_id) {\n            self.socket_id = socket_id;\n            self.socket.onmessage = ws_onMessageConnected;\n            self.socket.onerror = ws_onError;\n            self.socket.onclose = transitionToWaiting;\n            resetConnectionParameters(self);\n            self.connectedAt = new Date().getTime();\n            resetActivityCheck();\n          },\n          connectedPost: function connectedPost() {\n            updateState('connected');\n          },\n          connectedExit: function connectedExit() {\n            stopActivityCheck();\n            updateState('disconnected');\n          },\n          impermanentlyClosingPost: function impermanentlyClosingPost() {\n            if (self.socket) {\n              self.socket.onclose = transitionToWaiting;\n              self.socket.close();\n            }\n          },\n          permanentlyClosingPost: function permanentlyClosingPost() {\n            if (self.socket) {\n              self.socket.onclose = function () {\n                resetConnectionParameters(self);\n\n                self._machine.transition('permanentlyClosed');\n              };\n\n              self.socket.close();\n            } else {\n              resetConnectionParameters(self);\n\n              self._machine.transition('permanentlyClosed');\n            }\n          },\n          failedPre: function failedPre() {\n            updateState('failed');\n\n            _Pusher.debug('WebSockets are not available in this browser.');\n          },\n          permanentlyClosedPost: function permanentlyClosedPost() {\n            updateState('disconnected');\n          }\n        });\n        /*-----------------------------------------------\n          -----------------------------------------------*/\n\n        function updateConnectionParameters() {\n          if (self.connectionWait < MAX_CONNECTION_ATTEMPT_WAIT) {\n            self.connectionWait += UNSUCCESSFUL_CONNECTION_ATTEMPT_ADDITIONAL_WAIT;\n          }\n\n          if (self.openTimeout < MAX_OPEN_ATTEMPT_TIMEOUT) {\n            self.openTimeout += UNSUCCESSFUL_OPEN_ATTEMPT_ADDITIONAL_TIMEOUT;\n          }\n\n          if (self.connectedTimeout < MAX_CONNECTED_ATTEMPT_TIMEOUT) {\n            self.connectedTimeout += UNSUCCESSFUL_CONNECTED_ATTEMPT_ADDITIONAL_TIMEOUT;\n          }\n\n          if (self.compulsorySecure !== true) {\n            self.connectionSecure = !self.connectionSecure;\n          }\n\n          self.connectionAttempts++;\n        }\n\n        function formatURL(key, isSecure) {\n          var port = _Pusher.ws_port;\n          var protocol = 'ws://'; // Always connect with SSL if the current page has\n          // been loaded via HTTPS.\n          //\n          // FUTURE: Always connect using SSL.\n          //\n\n          if (isSecure || document.location.protocol === 'https:') {\n            port = _Pusher.wss_port;\n            protocol = 'wss://';\n          }\n\n          var flash = _Pusher.TransportType === \"flash\" ? \"true\" : \"false\";\n          return protocol + _Pusher.host + ':' + port + '/app/' + key + '?protocol=5&client=js' + '&version=' + _Pusher.VERSION + '&flash=' + flash;\n        } // callback for close and retry.  Used on timeouts.\n\n\n        function TransitionToImpermanentlyClosing() {\n          self._machine.transition('impermanentlyClosing');\n        }\n\n        function resetActivityCheck() {\n          if (self._activityTimer) {\n            clearTimeout(self._activityTimer);\n          } // Send ping after inactivity\n\n\n          self._activityTimer = setTimeout(function () {\n            self.send_event('pusher:ping', {}); // Wait for pong response\n\n            self._activityTimer = setTimeout(function () {\n              self.socket.close();\n            }, self.options.pong_timeout || _Pusher.pong_timeout);\n          }, self.options.activity_timeout || _Pusher.activity_timeout);\n        }\n\n        function stopActivityCheck() {\n          if (self._activityTimer) {\n            clearTimeout(self._activityTimer);\n          }\n        } // Returns the delay before the next connection attempt should be made\n        //\n        // This function guards against attempting to connect more frequently than\n        // once every second\n        //\n\n\n        function connectionDelay() {\n          var delay = self.connectionWait;\n\n          if (delay === 0) {\n            if (self.connectedAt) {\n              var t = 1000;\n              var connectedFor = new Date().getTime() - self.connectedAt;\n\n              if (connectedFor < t) {\n                delay = t - connectedFor;\n              }\n            }\n          }\n\n          return delay;\n        }\n        /*-----------------------------------------------\n          WebSocket Callbacks\n          -----------------------------------------------*/\n        // no-op, as we only care when we get pusher:connection_established\n\n\n        function ws_onopen() {\n          self._machine.transition('open');\n        }\n\n        function handleCloseCode(code, message) {\n          // first inform the end-developer of this error\n          self.emit('error', {\n            type: 'PusherError',\n            data: {\n              code: code,\n              message: message\n            }\n          });\n\n          if (code === 4000) {\n            // SSL only app\n            self.compulsorySecure = true;\n            self.connectionSecure = true;\n            self.options.encrypted = true;\n            TransitionToImpermanentlyClosing();\n          } else if (code < 4100) {\n            // Permentently close connection\n            self._machine.transition('permanentlyClosing');\n          } else if (code < 4200) {\n            // Backoff before reconnecting\n            self.connectionWait = 1000;\n\n            self._machine.transition('waiting');\n          } else if (code < 4300) {\n            // Reconnect immediately\n            TransitionToImpermanentlyClosing();\n          } else {\n            // Unknown error\n            self._machine.transition('permanentlyClosing');\n          }\n        }\n\n        function ws_onMessageOpen(event) {\n          var params = parseWebSocketEvent(event);\n\n          if (params !== undefined) {\n            if (params.event === 'pusher:connection_established') {\n              self._machine.transition('connected', params.data.socket_id);\n            } else if (params.event === 'pusher:error') {\n              handleCloseCode(params.data.code, params.data.message);\n            }\n          }\n        }\n\n        function ws_onMessageConnected(event) {\n          resetActivityCheck();\n          var params = parseWebSocketEvent(event);\n\n          if (params !== undefined) {\n            _Pusher.debug('Event recd', params);\n\n            switch (params.event) {\n              case 'pusher:error':\n                self.emit('error', {\n                  type: 'PusherError',\n                  data: params.data\n                });\n                break;\n\n              case 'pusher:ping':\n                self.send_event('pusher:pong', {});\n                break;\n            }\n\n            self.emit('message', params);\n          }\n        }\n        /**\n         * Parses an event from the WebSocket to get\n         * the JSON payload that we require\n         *\n         * @param {MessageEvent} event  The event from the WebSocket.onmessage handler.\n        **/\n\n\n        function parseWebSocketEvent(event) {\n          try {\n            var params = JSON.parse(event.data);\n\n            if (typeof params.data === 'string') {\n              try {\n                params.data = JSON.parse(params.data);\n              } catch (e) {\n                if (!(e instanceof SyntaxError)) {\n                  throw e;\n                }\n              }\n            }\n\n            return params;\n          } catch (e) {\n            self.emit('error', {\n              type: 'MessageParseError',\n              error: e,\n              data: event.data\n            });\n          }\n        }\n\n        function transitionToWaiting() {\n          self._machine.transition('waiting');\n        }\n\n        function ws_onError(error) {\n          // just emit error to user - socket will already be closed by browser\n          self.emit('error', {\n            type: 'WebSocketError',\n            error: error\n          });\n        } // Updates the public state information exposed by connection\n        //\n        // This is distinct from the internal state information used by _machine\n        // to manage the connection\n        //\n\n\n        function updateState(newState, data) {\n          var prevState = self.state;\n          self.state = newState; // Only emit when the state changes\n\n          if (prevState !== newState) {\n            _Pusher.debug('State changed', prevState + ' -> ' + newState);\n\n            self.emit('state_change', {\n              previous: prevState,\n              current: newState\n            });\n            self.emit(newState, data);\n          }\n        }\n      }\n\n      Connection.prototype.connect = function () {\n        // no WebSockets\n        if (!this._machine.is('failed') && !_Pusher.Transport) {\n          this._machine.transition('failed');\n        } // initial open of connection\n        else if (this._machine.is('initialized')) {\n            resetConnectionParameters(this);\n\n            this._machine.transition('waiting');\n          } // user skipping connection wait\n          else if (this._machine.is('waiting') && this.netInfo.isOnLine() === true) {\n              this._machine.transition('connecting');\n            } // user re-opening connection after closing it\n            else if (this._machine.is(\"permanentlyClosed\")) {\n                resetConnectionParameters(this);\n\n                this._machine.transition('waiting');\n              }\n      };\n\n      Connection.prototype.send = function (data) {\n        if (this._machine.is('connected')) {\n          // Workaround for MobileSafari bug (see https://gist.github.com/2052006)\n          var self = this;\n          setTimeout(function () {\n            self.socket.send(data);\n          }, 0);\n          return true;\n        } else {\n          return false;\n        }\n      };\n\n      Connection.prototype.send_event = function (event_name, data, channel) {\n        var payload = {\n          event: event_name,\n          data: data\n        };\n        if (channel) payload['channel'] = channel;\n\n        _Pusher.debug('Event sent', payload);\n\n        return this.send(JSON.stringify(payload));\n      };\n\n      Connection.prototype.disconnect = function () {\n        if (this._machine.is('permanentlyClosed')) return;\n\n        if (this._machine.is('waiting') || this._machine.is('failed')) {\n          this._machine.transition('permanentlyClosed');\n        } else {\n          this._machine.transition('permanentlyClosing');\n        }\n      };\n\n      _Pusher.Util.extend(Connection.prototype, _Pusher.EventsDispatcher.prototype);\n\n      _Pusher.Connection = Connection;\n    })();\n\n    (function () {\n      _Pusher.Channels = function () {\n        this.channels = {};\n      };\n\n      _Pusher.Channels.prototype = {\n        add: function add(channel_name, pusher) {\n          var existing_channel = this.find(channel_name);\n\n          if (!existing_channel) {\n            var channel = _Pusher.Channel.factory(channel_name, pusher);\n\n            this.channels[channel_name] = channel;\n            return channel;\n          } else {\n            return existing_channel;\n          }\n        },\n        find: function find(channel_name) {\n          return this.channels[channel_name];\n        },\n        remove: function remove(channel_name) {\n          delete this.channels[channel_name];\n        },\n        disconnect: function disconnect() {\n          for (var channel_name in this.channels) {\n            this.channels[channel_name].disconnect();\n          }\n        }\n      };\n\n      _Pusher.Channel = function (channel_name, pusher) {\n        var self = this;\n\n        _Pusher.EventsDispatcher.call(this, function (event_name, event_data) {\n          _Pusher.debug('No callbacks on ' + channel_name + ' for ' + event_name);\n        });\n\n        this.pusher = pusher;\n        this.name = channel_name;\n        this.subscribed = false;\n        this.bind('pusher_internal:subscription_succeeded', function (data) {\n          self.onSubscriptionSucceeded(data);\n        });\n      };\n\n      _Pusher.Channel.prototype = {\n        // inheritable constructor\n        init: function init() {},\n        disconnect: function disconnect() {\n          this.subscribed = false;\n          this.emit(\"pusher_internal:disconnected\");\n        },\n        onSubscriptionSucceeded: function onSubscriptionSucceeded(data) {\n          this.subscribed = true;\n          this.emit('pusher:subscription_succeeded');\n        },\n        authorize: function authorize(socketId, options, callback) {\n          return callback(false, {}); // normal channels don't require auth\n        },\n        trigger: function trigger(event, data) {\n          return this.pusher.send_event(event, data, this.name);\n        }\n      };\n\n      _Pusher.Util.extend(_Pusher.Channel.prototype, _Pusher.EventsDispatcher.prototype);\n\n      _Pusher.Channel.PrivateChannel = {\n        authorize: function authorize(socketId, options, callback) {\n          var self = this;\n          var authorizer = new _Pusher.Channel.Authorizer(this, _Pusher.channel_auth_transport, options);\n          return authorizer.authorize(socketId, function (err, authData) {\n            if (!err) {\n              self.emit('pusher_internal:authorized', authData);\n            }\n\n            callback(err, authData);\n          });\n        }\n      };\n      _Pusher.Channel.PresenceChannel = {\n        init: function init() {\n          this.members = new Members(this); // leeches off channel events\n        },\n        onSubscriptionSucceeded: function onSubscriptionSucceeded(data) {\n          this.subscribed = true; // We override this because we want the Members obj to be responsible for\n          // emitting the pusher:subscription_succeeded.  It will do this after it has done its work.\n        }\n      };\n\n      var Members = function Members(channel) {\n        var self = this;\n\n        var reset = function reset() {\n          this._members_map = {};\n          this.count = 0;\n          this.me = null;\n        };\n\n        reset.call(this);\n        channel.bind('pusher_internal:authorized', function (authorizedData) {\n          var channelData = JSON.parse(authorizedData.channel_data);\n          channel.bind(\"pusher_internal:subscription_succeeded\", function (subscriptionData) {\n            self._members_map = subscriptionData.presence.hash;\n            self.count = subscriptionData.presence.count;\n            self.me = self.get(channelData.user_id);\n            channel.emit('pusher:subscription_succeeded', self);\n          });\n        });\n        channel.bind('pusher_internal:member_added', function (data) {\n          if (self.get(data.user_id) === null) {\n            // only incr if user_id does not already exist\n            self.count++;\n          }\n\n          self._members_map[data.user_id] = data.user_info;\n          channel.emit('pusher:member_added', self.get(data.user_id));\n        });\n        channel.bind('pusher_internal:member_removed', function (data) {\n          var member = self.get(data.user_id);\n\n          if (member) {\n            delete self._members_map[data.user_id];\n            self.count--;\n            channel.emit('pusher:member_removed', member);\n          }\n        });\n        channel.bind('pusher_internal:disconnected', function () {\n          reset.call(self);\n        });\n      };\n\n      Members.prototype = {\n        each: function each(callback) {\n          for (var i in this._members_map) {\n            callback(this.get(i));\n          }\n        },\n        get: function get(user_id) {\n          if (this._members_map.hasOwnProperty(user_id)) {\n            // have heard of this user user_id\n            return {\n              id: user_id,\n              info: this._members_map[user_id]\n            };\n          } else {\n            // have never heard of this user\n            return null;\n          }\n        }\n      };\n\n      _Pusher.Channel.factory = function (channel_name, pusher) {\n        var channel = new _Pusher.Channel(channel_name, pusher);\n\n        if (channel_name.indexOf('private-') === 0) {\n          _Pusher.Util.extend(channel, _Pusher.Channel.PrivateChannel);\n        } else if (channel_name.indexOf('presence-') === 0) {\n          _Pusher.Util.extend(channel, _Pusher.Channel.PrivateChannel);\n\n          _Pusher.Util.extend(channel, _Pusher.Channel.PresenceChannel);\n        }\n        channel.init();\n        return channel;\n      };\n    })();\n\n    (function () {\n      _Pusher.Channel.Authorizer = function (channel, type, options) {\n        this.channel = channel;\n        this.type = type;\n        this.authOptions = (options || {}).auth || {};\n      };\n\n      _Pusher.Channel.Authorizer.prototype = {\n        composeQuery: function composeQuery(socketId) {\n          var query = '&socket_id=' + encodeURIComponent(socketId) + '&channel_name=' + encodeURIComponent(this.channel.name);\n\n          for (var i in this.authOptions.params) {\n            query += \"&\" + encodeURIComponent(i) + \"=\" + encodeURIComponent(this.authOptions.params[i]);\n          }\n\n          return query;\n        },\n        authorize: function authorize(socketId, callback) {\n          return _Pusher.authorizers[this.type].call(this, socketId, callback);\n        }\n      };\n      _Pusher.auth_callbacks = {};\n      _Pusher.authorizers = {\n        ajax: function ajax(socketId, callback) {\n          var xhr;\n\n          if (_Pusher.XHR) {\n            xhr = new _Pusher.XHR();\n          } else {\n            xhr = window.XMLHttpRequest ? new window.XMLHttpRequest() : new ActiveXObject(\"Microsoft.XMLHTTP\");\n          }\n\n          xhr.open(\"POST\", _Pusher.channel_auth_endpoint, true); // add request headers\n\n          xhr.setRequestHeader(\"Content-Type\", \"application/x-www-form-urlencoded\");\n\n          for (var headerName in this.authOptions.headers) {\n            xhr.setRequestHeader(headerName, this.authOptions.headers[headerName]);\n          }\n\n          xhr.onreadystatechange = function () {\n            if (xhr.readyState == 4) {\n              if (xhr.status == 200) {\n                var data,\n                    parsed = false;\n\n                try {\n                  data = JSON.parse(xhr.responseText);\n                  parsed = true;\n                } catch (e) {\n                  callback(true, 'JSON returned from webapp was invalid, yet status code was 200. Data was: ' + xhr.responseText);\n                }\n\n                if (parsed) {\n                  // prevents double execution.\n                  callback(false, data);\n                }\n              } else {\n                _Pusher.warn(\"Couldn't get auth info from your webapp\", xhr.status);\n\n                callback(true, xhr.status);\n              }\n            }\n          };\n\n          xhr.send(this.composeQuery(socketId));\n          return xhr;\n        },\n        jsonp: function jsonp(socketId, callback) {\n          if (this.authOptions.headers !== undefined) {\n            _Pusher.warn(\"Warn\", \"To send headers with the auth request, you must use AJAX, rather than JSONP.\");\n          }\n\n          var script = document.createElement(\"script\"); // Hacked wrapper.\n\n          _Pusher.auth_callbacks[this.channel.name] = function (data) {\n            callback(false, data);\n          };\n\n          var callback_name = \"Pusher.auth_callbacks['\" + this.channel.name + \"']\";\n          script.src = _Pusher.channel_auth_endpoint + '?callback=' + encodeURIComponent(callback_name) + this.composeQuery(socketId);\n          var head = document.getElementsByTagName(\"head\")[0] || document.documentElement;\n          head.insertBefore(script, head.firstChild);\n        }\n      };\n    })(); // _require(dependencies, callback) takes an array of dependency urls and a\n    // callback to call when all the dependecies have finished loading\n\n\n    var _require = function () {\n      function handleScriptLoaded(elem, callback) {\n        if (document.addEventListener) {\n          elem.addEventListener('load', callback, false);\n        } else {\n          elem.attachEvent('onreadystatechange', function () {\n            if (elem.readyState == 'loaded' || elem.readyState == 'complete') {\n              callback();\n            }\n          });\n        }\n      }\n\n      function addScript(src, callback) {\n        var head = document.getElementsByTagName('head')[0];\n        var script = document.createElement('script');\n        script.setAttribute('src', src);\n        script.setAttribute(\"type\", \"text/javascript\");\n        script.setAttribute('async', true);\n        handleScriptLoaded(script, function () {\n          callback();\n        });\n        head.appendChild(script);\n      }\n\n      return function (deps, callback) {\n        var deps_loaded = 0;\n\n        for (var i = 0; i < deps.length; i++) {\n          addScript(deps[i], function () {\n            if (deps.length == ++deps_loaded) {\n              // This setTimeout is a workaround for an Opera issue\n              setTimeout(callback, 0);\n            }\n          });\n        }\n      };\n    }();\n\n    (function () {\n      // Support Firefox versions which prefix WebSocket\n      if (isWindowDefined() && !window['WebSocket'] && window['MozWebSocket']) {\n        window['WebSocket'] = window['MozWebSocket'];\n      }\n\n      if (isWindowDefined() && window['WebSocket']) {\n        _Pusher.Transport = window['WebSocket'];\n        _Pusher.TransportType = 'native';\n      }\n\n      var cdn = isWindowDefined() && (document.location.protocol == 'http:' ? _Pusher.cdn_http : _Pusher.cdn_https);\n      var root = cdn + _Pusher.VERSION;\n      var deps = [];\n\n      if (isWindowDefined() && !window['JSON']) {\n        deps.push(root + '/json2' + _Pusher.dependency_suffix + '.js');\n      }\n\n      if (isWindowDefined() && !window['WebSocket']) {\n        // We manually initialize web-socket-js to iron out cross browser issues\n        window.WEB_SOCKET_DISABLE_AUTO_INITIALIZATION = true;\n        deps.push(root + '/flashfallback' + _Pusher.dependency_suffix + '.js');\n      }\n\n      var initialize = function () {\n        if (isWindowDefined() && window['WebSocket']) {\n          // Initialize function in the case that we have native WebSocket support\n          return function () {\n            _Pusher.ready();\n          };\n        } else {\n          // Initialize function for fallback case\n          return function () {\n            if (window['WebSocket']) {\n              // window['WebSocket'] is a flash emulation of WebSocket\n              _Pusher.Transport = window['WebSocket'];\n              _Pusher.TransportType = 'flash'; // window.WEB_SOCKET_SWF_LOCATION = root + \"/WebSocketMain.swf\";\n\n              window.WEB_SOCKET_SWF_LOCATION = \"https://s3.amazonaws.com/uploadcare-static/WebSocketMainInsecure.swf\";\n\n              WebSocket.__addTask(function () {\n                _Pusher.ready();\n              });\n\n              WebSocket.__initialize();\n            } else {\n              // Flash must not be installed\n              _Pusher.Transport = null;\n              _Pusher.TransportType = 'none';\n\n              _Pusher.ready();\n            }\n          };\n        }\n      }(); // Allows calling a function when the document body is available\n\n\n      var ondocumentbody = function ondocumentbody(callback) {\n        var load_body = function load_body() {\n          isWindowDefined() && (document.body ? callback() : setTimeout(load_body, 0));\n        };\n\n        load_body();\n      };\n\n      var initializeOnDocumentBody = function initializeOnDocumentBody() {\n        ondocumentbody(initialize);\n      };\n\n      if (deps.length > 0) {\n        _require(deps, initializeOnDocumentBody);\n      } else {\n        initializeOnDocumentBody();\n      }\n    })();\n\n    this.Pusher = _Pusher;\n  }).call(exports);\n  });\n  var pusher_1 = pusher.Pusher;\n\n  var pushers = {}; // This fixes Pusher's prototype. Because Pusher replaces it:\n  // Pusher.prototype = {method: ...}\n  // instead of extending:\n  // Pusher.prototype.method = ...\n\n  pusher_1.prototype.constructor = pusher_1;\n\n  var ManagedPusher =\n  /*#__PURE__*/\n  function (_Pusher) {\n    _inherits(ManagedPusher, _Pusher);\n\n    function ManagedPusher() {\n      _classCallCheck(this, ManagedPusher);\n\n      return _possibleConstructorReturn(this, _getPrototypeOf(ManagedPusher).apply(this, arguments));\n    }\n\n    _createClass(ManagedPusher, [{\n      key: \"subscribe\",\n      value: function subscribe(name) {\n        // Ensure we are connected when subscribing.\n        if (this.disconnectTimeout) {\n          clearTimeout(this.disconnectTimeout);\n          this.disconnectTimeout = null;\n        }\n\n        this.connect();\n        return _get(_getPrototypeOf(ManagedPusher.prototype), \"subscribe\", this).apply(this, arguments);\n      }\n    }, {\n      key: \"unsubscribe\",\n      value: function unsubscribe(name) {\n        var _this = this;\n\n        _get(_getPrototypeOf(ManagedPusher.prototype), \"unsubscribe\", this).apply(this, arguments); // Schedule disconnect if no channels left.\n\n\n        if ($.isEmptyObject(this.channels.channels)) {\n          this.disconnectTimeout = setTimeout(function () {\n            _this.disconnectTimeout = null;\n            return _this.disconnect();\n          }, 5000);\n        }\n      }\n    }]);\n\n    return ManagedPusher;\n  }(pusher_1);\n\n  var getPusher = function getPusher(key) {\n    if (pushers[key] == null) {\n      pushers[key] = new ManagedPusher(key);\n    } // Preconnect before we actually need channel.\n\n\n    pushers[key].connect();\n    return pushers[key];\n  };\n\n  var UrlFile =\n  /*#__PURE__*/\n  function (_BaseFile) {\n    _inherits(UrlFile, _BaseFile);\n\n    function UrlFile(__url) {\n      var _this;\n\n      _classCallCheck(this, UrlFile);\n\n      var filename;\n      _this = _possibleConstructorReturn(this, _getPrototypeOf(UrlFile).apply(this, arguments));\n      _this.__url = __url;\n      filename = splitUrlRegex.exec(_this.__url)[3].split('/').pop();\n\n      if (filename) {\n        try {\n          _this.fileName = decodeURIComponent(filename);\n        } catch (error) {\n          _this.fileName = filename;\n        }\n      }\n\n      _this.__notifyApi();\n\n      return _this;\n    }\n\n    _createClass(UrlFile, [{\n      key: \"setName\",\n      value: function setName(fileName) {\n        this.fileName = fileName;\n        this.__realFileName = fileName;\n        return this.__notifyApi();\n      }\n    }, {\n      key: \"setIsImage\",\n      value: function setIsImage(isImage) {\n        this.isImage = isImage;\n        return this.__notifyApi();\n      }\n    }, {\n      key: \"__startUpload\",\n      value: function __startUpload() {\n        var _this2 = this;\n\n        var data, df, pollWatcher, pusherWatcher;\n        df = $.Deferred();\n        pusherWatcher = new PusherWatcher(this.settings);\n        pollWatcher = new PollWatcher(this.settings);\n        data = {\n          pub_key: this.settings.publicKey,\n          signature: this.settings.secureSignature,\n          expire: this.settings.secureExpire,\n          source_url: this.__url,\n          filename: this.__realFileName || '',\n          source: this.sourceInfo.source,\n          store: this.settings.doNotStore ? '' : 'auto',\n          jsonerrors: 1\n        };\n        defer(function () {\n          if (_this2.apiDeferred.state() !== 'pending') {\n            return;\n          }\n\n          return jsonp(\"\".concat(_this2.settings.urlBase, \"/from_url/\"), 'GET', data, {\n            headers: {\n              'X-UC-User-Agent': _this2.settings._userAgent\n            }\n          }).fail(function (reason) {\n            if (_this2.settings.debugUploads) {\n              debug(\"Can't start upload from URL.\", reason, data);\n            }\n\n            return df.reject();\n          }).done(function (data) {\n            var logger;\n\n            if (_this2.apiDeferred.state() !== 'pending') {\n              return;\n            }\n\n            if (_this2.settings.debugUploads) {\n              debug('Start watchers.', data.token);\n              logger = setInterval(function () {\n                return debug('Still watching.', data.token);\n              }, 5000);\n              df.done(function () {\n                return debug('Stop watchers.', data.token);\n              }).always(function () {\n                return clearInterval(logger);\n              });\n            }\n\n            _this2.__listenWatcher(df, $([pusherWatcher, pollWatcher]));\n\n            df.always(function () {\n              $([pusherWatcher, pollWatcher]).off(_this2.allEvents);\n              pusherWatcher.stopWatching();\n              return pollWatcher.stopWatching();\n            }); // turn off pollWatcher if we receive any message from pusher\n\n            $(pusherWatcher).one(_this2.allEvents, function () {\n              if (!pollWatcher.interval) {\n                return;\n              }\n\n              if (_this2.settings.debugUploads) {\n                debug('Start using pusher.', data.token);\n              }\n\n              return pollWatcher.stopWatching();\n            });\n            pusherWatcher.watch(data.token);\n            return pollWatcher.watch(data.token);\n          });\n        });\n        return df;\n      }\n    }, {\n      key: \"__listenWatcher\",\n      value: function __listenWatcher(df, watcher) {\n        var _this3 = this;\n\n        return watcher.on('progress', function (e, data) {\n          _this3.fileSize = data.total;\n          return df.notify(data.done / data.total);\n        }).on('success', function (e, data) {\n          $(e.target).trigger('progress', data);\n          _this3.fileId = data.uuid;\n\n          _this3.__handleFileData(data);\n\n          return df.resolve();\n        }).on('error fail', df.reject);\n      }\n    }]);\n\n    return UrlFile;\n  }(BaseFile);\n\n  UrlFile.prototype.sourceName = 'url';\n  UrlFile.prototype.allEvents = 'progress success error fail';\n\n  var PusherWatcher =\n  /*#__PURE__*/\n  function () {\n    function PusherWatcher(settings) {\n      _classCallCheck(this, PusherWatcher);\n\n      this.settings = settings;\n\n      try {\n        this.pusher = getPusher(this.settings.pusherKey);\n      } catch (error) {\n        this.pusher = null;\n      }\n    }\n\n    _createClass(PusherWatcher, [{\n      key: \"watch\",\n      value: function watch(token) {\n        var _this4 = this;\n\n        var channel;\n        this.token = token;\n\n        if (!this.pusher) {\n          return;\n        }\n\n        channel = this.pusher.subscribe(\"task-status-\".concat(this.token));\n        return channel.bind_all(function (ev, data) {\n          return $(_this4).trigger(ev, data);\n        });\n      }\n    }, {\n      key: \"stopWatching\",\n      value: function stopWatching() {\n        if (!this.pusher) {\n          return;\n        }\n\n        return this.pusher.unsubscribe(\"task-status-\".concat(this.token));\n      }\n    }]);\n\n    return PusherWatcher;\n  }();\n\n  var PollWatcher =\n  /*#__PURE__*/\n  function () {\n    function PollWatcher(settings) {\n      _classCallCheck(this, PollWatcher);\n\n      this.settings = settings;\n      this.poolUrl = \"\".concat(this.settings.urlBase, \"/from_url/status/\");\n    }\n\n    _createClass(PollWatcher, [{\n      key: \"watch\",\n      value: function watch(token) {\n        var _this5 = this;\n\n        this.token = token;\n\n        var bind = function bind() {\n          _this5.interval = setTimeout(function () {\n            _this5.__updateStatus().done(function () {\n              if (_this5.interval) {\n                // Do not schedule next request if watcher stopped.\n                bind();\n              }\n            });\n          }, 333);\n          return _this5.interval;\n        };\n\n        return bind();\n      }\n    }, {\n      key: \"stopWatching\",\n      value: function stopWatching() {\n        if (this.interval) {\n          clearTimeout(this.interval);\n        }\n\n        this.interval = null;\n        return this.interval;\n      }\n    }, {\n      key: \"__updateStatus\",\n      value: function __updateStatus() {\n        var _this6 = this;\n\n        return jsonp(this.poolUrl, 'GET', {\n          token: this.token\n        }, {\n          headers: {\n            'X-UC-User-Agent': this.settings._userAgent\n          }\n        }).fail(function (reason) {\n          return $(_this6).trigger('error');\n        }).done(function (data) {\n          return $(_this6).trigger(data.status, data);\n        });\n      }\n    }]);\n\n    return PollWatcher;\n  }();\n\n  var UploadedFile =\n  /*#__PURE__*/\n  function (_BaseFile) {\n    _inherits(UploadedFile, _BaseFile);\n\n    function UploadedFile(fileIdOrUrl) {\n      var _this;\n\n      _classCallCheck(this, UploadedFile);\n\n      var cdnUrl;\n      _this = _possibleConstructorReturn(this, _getPrototypeOf(UploadedFile).apply(this, arguments));\n      cdnUrl = splitCdnUrl(fileIdOrUrl);\n\n      if (cdnUrl) {\n        _this.fileId = cdnUrl[1];\n\n        if (cdnUrl[2]) {\n          _this.cdnUrlModifiers = cdnUrl[2];\n        }\n      } else {\n        _this.__rejectApi('baddata');\n      }\n\n      return _this;\n    }\n\n    return UploadedFile;\n  }(BaseFile);\n\n  UploadedFile.prototype.sourceName = 'uploaded';\n\n  var ReadyFile =\n  /*#__PURE__*/\n  function (_BaseFile2) {\n    _inherits(ReadyFile, _BaseFile2);\n\n    function ReadyFile(data) {\n      var _this2;\n\n      _classCallCheck(this, ReadyFile);\n\n      _this2 = _possibleConstructorReturn(this, _getPrototypeOf(ReadyFile).apply(this, arguments));\n\n      if (!data) {\n        _this2.__rejectApi('deleted');\n      } else {\n        _this2.fileId = data.uuid;\n\n        _this2.__handleFileData(data);\n      }\n\n      return _this2;\n    }\n\n    return ReadyFile;\n  }(BaseFile);\n\n  ReadyFile.prototype.sourceName = 'uploaded';\n\n  var converters = {\n    object: ObjectFile,\n    input: InputFile,\n    url: UrlFile,\n    uploaded: UploadedFile,\n    ready: ReadyFile\n  };\n\n  var fileFrom = function fileFrom(type, data, s) {\n    return filesFrom(type, [data], s)[0];\n  };\n\n  var filesFrom = function filesFrom(type, data, s) {\n    var i, info, len, param, results;\n    s = build(s || {});\n    results = [];\n\n    for (i = 0, len = data.length; i < len; i++) {\n      param = data[i];\n      info = undefined;\n\n      if ($.isArray(param)) {\n        info = param[1];\n        param = param[0];\n      }\n\n      results.push(new converters[type](param, s, info).promise());\n    }\n\n    return results;\n  };\n\n  var isFile = function isFile(obj) {\n    return obj && obj.done && obj.fail && obj.cancel;\n  }; // Converts user-given value to File object.\n\n\n  var valueToFile = function valueToFile(value, settings) {\n    if (value && !isFile(value)) {\n      value = fileFrom('uploaded', value, settings);\n    }\n\n    return value || null;\n  };\n\n  var isFileGroup = function isFileGroup(obj) {\n    return obj && obj.files && obj.promise;\n  }; // Converts user-given value to FileGroup object.\n\n\n  var valueToGroup = function valueToGroup(value, settings) {\n    var files, item;\n\n    if (value) {\n      if ($.isArray(value)) {\n        files = function () {\n          var j, len, results;\n          results = [];\n\n          for (j = 0, len = value.length; j < len; j++) {\n            item = value[j];\n            results.push(valueToFile(item, settings));\n          }\n\n          return results;\n        }();\n\n        value = FileGroup$1(files, settings);\n      } else {\n        if (!isFileGroup(value)) {\n          return loadFileGroup(value, settings);\n        }\n      }\n    }\n\n    return wrapToPromise(value || null);\n  }; // check if two groups contains same files in same order\n\n\n  var isFileGroupsEqual = function isFileGroupsEqual(group1, group2) {\n    var file, files1, files2, i, j, len;\n\n    if (group1 === group2) {\n      return true;\n    }\n\n    if (!(isFileGroup(group1) && isFileGroup(group2))) {\n      return false;\n    }\n\n    files1 = group1.files();\n    files2 = group2.files();\n\n    if (files1.length !== files2.length) {\n      return false;\n    }\n\n    for (i = j = 0, len = files1.length; j < len; i = ++j) {\n      file = files1[i];\n\n      if (file !== files2[i]) {\n        return false;\n      }\n    }\n\n    return true;\n  };\n\n  var indexOf$2 = [].indexOf; // utils\n\n  var Collection =\n  /*#__PURE__*/\n  function () {\n    function Collection() {\n      var items = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n      var after = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n      _classCallCheck(this, Collection);\n\n      this.onAdd = $.Callbacks();\n      this.onRemove = $.Callbacks();\n      this.onSort = $.Callbacks();\n      this.onReplace = $.Callbacks();\n      this.__items = [];\n\n      if (!after) {\n        this.init(items);\n      }\n    }\n\n    _createClass(Collection, [{\n      key: \"init\",\n      value: function init(items) {\n        var item, j, len;\n\n        for (j = 0, len = items.length; j < len; j++) {\n          item = items[j];\n          this.add(item);\n        }\n      }\n    }, {\n      key: \"add\",\n      value: function add(item) {\n        return this.__add(item, this.__items.length);\n      }\n    }, {\n      key: \"__add\",\n      value: function __add(item, i) {\n        this.__items.splice(i, 0, item);\n\n        return this.onAdd.fire(item, i);\n      }\n    }, {\n      key: \"remove\",\n      value: function remove(item) {\n        var i;\n        i = $.inArray(item, this.__items);\n\n        if (i !== -1) {\n          return this.__remove(item, i);\n        }\n      }\n    }, {\n      key: \"__remove\",\n      value: function __remove(item, i) {\n        this.__items.splice(i, 1);\n\n        return this.onRemove.fire(item, i);\n      }\n    }, {\n      key: \"clear\",\n      value: function clear() {\n        var i, item, items, j, len, results;\n        items = this.get();\n        this.__items.length = 0;\n        results = [];\n\n        for (i = j = 0, len = items.length; j < len; i = ++j) {\n          item = items[i];\n          results.push(this.onRemove.fire(item, i));\n        }\n\n        return results;\n      }\n    }, {\n      key: \"replace\",\n      value: function replace(oldItem, newItem) {\n        var i;\n\n        if (oldItem !== newItem) {\n          i = $.inArray(oldItem, this.__items);\n\n          if (i !== -1) {\n            return this.__replace(oldItem, newItem, i);\n          }\n        }\n      }\n    }, {\n      key: \"__replace\",\n      value: function __replace(oldItem, newItem, i) {\n        this.__items[i] = newItem;\n        return this.onReplace.fire(oldItem, newItem, i);\n      }\n    }, {\n      key: \"sort\",\n      value: function sort(comparator) {\n        this.__items.sort(comparator);\n\n        return this.onSort.fire();\n      }\n    }, {\n      key: \"get\",\n      value: function get(index) {\n        if (index != null) {\n          return this.__items[index];\n        } else {\n          return this.__items.slice(0);\n        }\n      }\n    }, {\n      key: \"length\",\n      value: function length() {\n        return this.__items.length;\n      }\n    }]);\n\n    return Collection;\n  }();\n\n  var UniqCollection =\n  /*#__PURE__*/\n  function (_Collection) {\n    _inherits(UniqCollection, _Collection);\n\n    function UniqCollection() {\n      _classCallCheck(this, UniqCollection);\n\n      return _possibleConstructorReturn(this, _getPrototypeOf(UniqCollection).apply(this, arguments));\n    }\n\n    _createClass(UniqCollection, [{\n      key: \"add\",\n      value: function add(item) {\n        if (indexOf$2.call(this.__items, item) >= 0) {\n          return;\n        }\n\n        return _get(_getPrototypeOf(UniqCollection.prototype), \"add\", this).apply(this, arguments);\n      }\n    }, {\n      key: \"__replace\",\n      value: function __replace(oldItem, newItem, i) {\n        if (indexOf$2.call(this.__items, newItem) >= 0) {\n          return this.remove(oldItem);\n        } else {\n          return _get(_getPrototypeOf(UniqCollection.prototype), \"__replace\", this).apply(this, arguments);\n        }\n      }\n    }]);\n\n    return UniqCollection;\n  }(Collection);\n\n  var CollectionOfPromises =\n  /*#__PURE__*/\n  function (_UniqCollection) {\n    _inherits(CollectionOfPromises, _UniqCollection);\n\n    function CollectionOfPromises() {\n      var _getPrototypeOf2;\n\n      var _this;\n\n      _classCallCheck(this, CollectionOfPromises);\n\n      _this = _possibleConstructorReturn(this, (_getPrototypeOf2 = _getPrototypeOf(CollectionOfPromises)).call.apply(_getPrototypeOf2, [this].concat(Array.prototype.slice.call(arguments), [true])));\n      _this.anyDoneList = $.Callbacks();\n      _this.anyFailList = $.Callbacks();\n      _this.anyProgressList = $.Callbacks();\n      _this._thenArgs = null;\n\n      _this.anyProgressList.add(function (item, firstArgument) {\n        return $(item).data('lastProgress', firstArgument);\n      });\n\n      _get(_getPrototypeOf(CollectionOfPromises.prototype), \"init\", _assertThisInitialized(_this)).call(_assertThisInitialized(_this), arguments[0]);\n\n      return _this;\n    }\n\n    _createClass(CollectionOfPromises, [{\n      key: \"onAnyDone\",\n      value: function onAnyDone(cb) {\n        var file, j, len, ref1, results;\n        this.anyDoneList.add(cb);\n        ref1 = this.__items;\n        results = [];\n\n        for (j = 0, len = ref1.length; j < len; j++) {\n          file = ref1[j];\n\n          if (file.state() === 'resolved') {\n            results.push(file.done(function () {\n              for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n                args[_key] = arguments[_key];\n              }\n\n              return cb.apply(void 0, [file].concat(args));\n            }));\n          } else {\n            results.push(undefined);\n          }\n        }\n\n        return results;\n      }\n    }, {\n      key: \"onAnyFail\",\n      value: function onAnyFail(cb) {\n        var file, j, len, ref1, results;\n        this.anyFailList.add(cb);\n        ref1 = this.__items;\n        results = [];\n\n        for (j = 0, len = ref1.length; j < len; j++) {\n          file = ref1[j];\n\n          if (file.state() === 'rejected') {\n            results.push(file.fail(function () {\n              for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n                args[_key2] = arguments[_key2];\n              }\n\n              return cb.apply(void 0, [file].concat(args));\n            }));\n          } else {\n            results.push(undefined);\n          }\n        }\n\n        return results;\n      }\n    }, {\n      key: \"onAnyProgress\",\n      value: function onAnyProgress(cb) {\n        var file, j, len, ref1, results;\n        this.anyProgressList.add(cb);\n        ref1 = this.__items;\n        results = [];\n\n        for (j = 0, len = ref1.length; j < len; j++) {\n          file = ref1[j];\n          results.push(cb(file, $(file).data('lastProgress')));\n        }\n\n        return results;\n      }\n    }, {\n      key: \"lastProgresses\",\n      value: function lastProgresses() {\n        var item, j, len, ref1, results;\n        ref1 = this.__items;\n        results = [];\n\n        for (j = 0, len = ref1.length; j < len; j++) {\n          item = ref1[j];\n          results.push($(item).data('lastProgress'));\n        }\n\n        return results;\n      }\n    }, {\n      key: \"add\",\n      value: function add(item) {\n        if (!(item && item.then)) {\n          return;\n        }\n\n        if (this._thenArgs) {\n          var _item;\n\n          item = (_item = item).then.apply(_item, _toConsumableArray(this._thenArgs));\n        }\n\n        _get(_getPrototypeOf(CollectionOfPromises.prototype), \"add\", this).call(this, item);\n\n        return this.__watchItem(item);\n      }\n    }, {\n      key: \"__replace\",\n      value: function __replace(oldItem, newItem, i) {\n        if (!(newItem && newItem.then)) {\n          return this.remove(oldItem);\n        } else {\n          _get(_getPrototypeOf(CollectionOfPromises.prototype), \"__replace\", this).apply(this, arguments);\n\n          return this.__watchItem(newItem);\n        }\n      }\n    }, {\n      key: \"__watchItem\",\n      value: function __watchItem(item) {\n        var _this2 = this;\n\n        var handler = function handler(callbacks) {\n          return function () {\n            if (indexOf$2.call(_this2.__items, item) >= 0) {\n              for (var _len3 = arguments.length, args = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n                args[_key3] = arguments[_key3];\n              }\n\n              return callbacks.fire.apply(callbacks, [item].concat(args));\n            }\n          };\n        };\n\n        return item.then(handler(this.anyDoneList), handler(this.anyFailList), handler(this.anyProgressList));\n      }\n    }, {\n      key: \"autoThen\",\n      value: function autoThen() {\n        var i, item, j, len, ref1, results;\n\n        if (this._thenArgs) {\n          throw new Error('CollectionOfPromises.then() could be used only once');\n        }\n\n        for (var _len4 = arguments.length, args = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n          args[_key4] = arguments[_key4];\n        }\n\n        this._thenArgs = args;\n        ref1 = this.__items;\n        results = [];\n\n        for (i = j = 0, len = ref1.length; j < len; i = ++j) {\n          var _item2;\n\n          item = ref1[i];\n          results.push(this.__replace(item, (_item2 = item).then.apply(_item2, _toConsumableArray(this._thenArgs)), i));\n        }\n\n        return results;\n      }\n    }]);\n\n    return CollectionOfPromises;\n  }(UniqCollection);\n\n  // #\n  // # Please, do not use this locale as a reference for new translations.\n  // # It could be outdated or incomplete. Always use the latest English versions:\n  // # https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascripts/uploadcare/locale/en.js\n  // #\n  // # Any fixes are welcome.\n  // #\n  var translations = {\n    uploading: 'جاري الرفع... الرجاء الانتظار',\n    loadingInfo: 'جار تحميل المعلومات ...',\n    errors: {\n      default: 'خطأ',\n      baddata: 'قيمة غير صحيحة',\n      size: 'ملف كبير جداً',\n      upload: 'يتعذر الرفع',\n      user: 'تم إلغاء الرفع',\n      info: 'يتعذر تحميل المعلومات',\n      image: 'يسمح بالصور فقط',\n      createGroup: 'لا يمكن إنشاء مجموعة ملفات',\n      deleted: 'تم حذف الملف'\n    },\n    draghere: 'أسقط ملف هنا',\n    file: {\n      one: '%1 ملف',\n      other: '%1 ملفات'\n    },\n    buttons: {\n      cancel: 'إلغاء',\n      remove: 'إزالة',\n      choose: {\n        files: {\n          one: 'اختر ملف',\n          other: 'اختر ملفات'\n        },\n        images: {\n          one: 'اختر صورة',\n          other: 'اختر صور'\n        }\n      }\n    },\n    dialog: {\n      close: 'أغلق',\n      openMenu: 'افتح القائمة',\n      done: 'موافق',\n      showFiles: 'اظهار الملفات',\n      tabs: {\n        names: {\n          'empty-pubkey': 'مرحبا!',\n          preview: 'معاينة',\n          file: 'ملفات محلية',\n          url: 'رابط مباشر',\n          camera: 'كاميرا',\n          facebook: 'فيس بوك',\n          dropbox: 'دروب بوكس',\n          gdrive: 'جوجل دريف',\n          gphotos: 'صور غوغل',\n          instagram: 'إينستجرام',\n          vk: 'في كي',\n          evernote: 'إيفرنوت',\n          box: 'بوكس',\n          onedrive: 'ون درايف',\n          flickr: 'فليكر',\n          huddle: 'هادل'\n        },\n        file: {\n          drag: 'سحب وإفلات<br>أي ملف',\n          nodrop: 'رفع ملفات من&nbsp;الحاسوب',\n          cloudsTip: 'مخازن على السحابة<br>والشبكات الاجتماعية',\n          or: 'أو',\n          button: 'اختر ملف محلي',\n          also: 'أو اختر من'\n        },\n        url: {\n          title: 'ملفات من شبكة الإنترنت',\n          line1: 'التقاط أي ملف من على شبكة الإنترنت',\n          line2: 'فقط قم بتوفير الرابط',\n          input: 'الصق الرابط هنا...',\n          button: 'رفع'\n        },\n        camera: {\n          title: 'ملف من كاميرا الويب',\n          capture: 'التقاط صورة',\n          mirror: 'عكس الصورة',\n          startRecord: 'سجل فيديو',\n          stopRecord: 'توقف',\n          cancelRecord: 'إلغاء',\n          retry: 'طلب الإذن مرة أخرى',\n          pleaseAllow: {\n            title: 'يرجى السماح بالوصول إلى الكاميرا',\n            text: 'تمت مطالبتك بالسماح بالدخول إلى الكاميرا من هذا الموقع<br>' + 'من أجل التقاط الصور من الكاميرا يجب عليك الموافقة على هذا الطلب'\n          },\n          notFound: {\n            title: 'لم يتم اكتشاف أي كاميرا',\n            text: 'يبدو أنه ليس لديك كاميرا متصلة بهذا الجهاز'\n          }\n        },\n        preview: {\n          unknownName: 'غير معروف',\n          change: 'إلغاء',\n          back: 'الرجوع',\n          done: 'إضافة',\n          unknown: {\n            title: 'جار الرفع ... يرجى الانتظار للحصول على معاينة',\n            done: 'تخطي المعاينة والقبول'\n          },\n          regular: {\n            title: 'إضافة هذا الملف؟',\n            line1: 'أنت على وشك إضافة الملف أعلاه',\n            line2: 'يرجى التأكيد'\n          },\n          image: {\n            title: 'إضافة هذة الصورة',\n            change: 'إلغاء'\n          },\n          crop: {\n            title: 'قص وإضافة هذه الصورة',\n            done: 'موافق',\n            free: 'حر'\n          },\n          video: {\n            title: 'إضافة هذا الفيديو',\n            change: 'إلغاء'\n          },\n          error: {\n            default: {\n              title: 'عفوا آسف',\n              text: 'حدث خطأ أثناء الرفع',\n              back: 'حاول مرة اخرى'\n            },\n            image: {\n              title: 'يتم قبول ملفات الصور فقط',\n              text: 'الرجاء إعادة المحاولة باستخدام ملف آخر',\n              back: 'اختر صورة'\n            },\n            size: {\n              title: 'الملف الذي حددتة يتجاوز الحد المسموح بة',\n              text: 'الرجاء إعادة المحاولة باستخدام ملف آخر'\n            },\n            loadImage: {\n              title: 'خطأ',\n              text: 'لا يمكن تحميل الصورة'\n            }\n          },\n          multiple: {\n            title: 'لقد اخترت %files%',\n            question: 'إضافة %files%?',\n            tooManyFiles: 'لقد اخترت عددا كبيرا جدا من الملفات %max% هو الحد الأقصى',\n            tooFewFiles: 'لقد اخترت %files%. على الأقل %min% مطلوب',\n            clear: 'حذف الكل',\n            done: 'إضافة',\n            file: {\n              preview: 'معاينة %file%',\n              remove: 'حذف %file%'\n            }\n          }\n        }\n      },\n      footer: {\n        text: 'مدعوم بواسطة',\n        link: 'ابلود كير'\n      }\n    } // Pluralization rules taken from:\n    // https://unicode.org/cldr/charts/34/supplemental/language_plural_rules.html\n\n  };\n\n  var pluralize = function pluralize(n) {\n    var mod;\n\n    if (n === 0) {\n      return 'zero';\n    }\n\n    if (n === 1) {\n      return 'one';\n    }\n\n    if (n === 2) {\n      return 'two';\n    }\n\n    mod = n % 100;\n\n    if (mod >= 3 && mod <= 10) {\n      return 'few';\n    }\n\n    if (mod >= 11 && mod <= 99) {\n      return 'many';\n    }\n\n    return 'other';\n  };\n\n  var ar = {\n    translations: translations,\n    pluralize: pluralize\n  };\n\n  // #\n  // # Please, do not use this locale as a reference for new translations.\n  // # It could be outdated or incomplete. Always use the latest English versions:\n  // # https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascripts/uploadcare/locale/en.js\n  // #\n  // # Any fixes are welcome.\n  // #\n  var translations$1 = {\n    uploading: 'Yüklənilir... Lütfən, gözləyin.',\n    loadingInfo: 'İnfo yüklənilir...',\n    errors: {\n      default: 'Xəta',\n      baddata: 'Yanlış dəyər',\n      size: 'Fayl çox böyükdür',\n      upload: 'Yüklənilə bilmədi',\n      user: 'Yükləmə ləğv edildi',\n      info: 'İnfo yüklənə bilmədi',\n      image: 'Yalnız təsvirlərə icazə verilir',\n      createGroup: 'Fayl qrupu yaradıla bilmir',\n      deleted: 'Fayl silindi'\n    },\n    draghere: 'Faylı bura atın',\n    file: {\n      one: '%1 fayl',\n      other: '%1 fayl'\n    },\n    buttons: {\n      cancel: 'Ləğv edin',\n      remove: 'Silin',\n      choose: {\n        files: {\n          one: 'Fayl seçin',\n          other: 'Fayllar seçin'\n        },\n        images: {\n          one: 'Təsvir seçin',\n          other: 'Təsvirlər seçin'\n        }\n      }\n    },\n    dialog: {\n      done: 'Hazırdır',\n      showFiles: 'Faylları göstərin',\n      tabs: {\n        names: {\n          'empty-pubkey': 'Xoş gəlmisiniz',\n          preview: 'Önbaxış',\n          file: 'Lokal Fayllar',\n          url: 'İxtiyari linklər',\n          camera: 'Kamera',\n          gdrive: 'Google Disk'\n        },\n        file: {\n          drag: 'Faylı bura atın',\n          nodrop: 'Kompüterinizdən faylları yükləyin',\n          cloudsTip: 'Bulud yaddaşlar <br>və sosial xidmətlər',\n          or: 'or',\n          button: 'Lokal fayl seçin',\n          also: 'Həmçinin, buradan seçə bilərsiniz'\n        },\n        url: {\n          title: 'Vebdən fayllar',\n          line1: 'Vebdən istənilən faylı götürün.',\n          line2: 'Sadəcə, link verin.',\n          input: 'Linkinizi bura yerləşdirin...',\n          button: 'Yükləyin'\n        },\n        camera: {\n          capture: 'Şəkil çəkin',\n          mirror: 'Güzgü',\n          retry: 'Yenidən icazə sorğusu göndərin.',\n          pleaseAllow: {\n            title: 'Lütfən, kameranıza giriş hüququ verin',\n            text: 'Bu saytdan kameranıza daxil olmaq icazəsi verildi. ' + 'Kameranız ilə şəkil çəkmək üçün bu sorğunu təsdiq etməlisiniz.'\n          },\n          notFound: {\n            title: 'Kamera aşkar edilmədi',\n            text: 'Görünür, bu cihaza kamera qoşulmayıb.'\n          }\n        },\n        preview: {\n          unknownName: 'naməlum',\n          change: 'Ləğv edin',\n          back: 'Geri',\n          done: 'Əlavə edin',\n          unknown: {\n            title: 'Yüklənilir... Lütfən, önbaxış üçün gözləyin.',\n            done: 'Önbaxışı ötürün və qəbul edin'\n          },\n          regular: {\n            title: 'Bu fayl əlavə edilsin?',\n            line1: 'Yuxarıdakı faylı əlavə etmək üzrəsiniz.',\n            line2: 'Lütfən, təsdiq edin.'\n          },\n          image: {\n            title: 'Bu təsvir əlavə edilsin?',\n            change: 'Ləğv edin'\n          },\n          crop: {\n            title: 'Bu təsviri kəsin və əlavə edin',\n            done: 'Hazırdır',\n            free: 'pulsuz'\n          },\n          error: {\n            default: {\n              title: 'Ups!',\n              text: 'Yükləmə zamanı nəsə xəta baş verdi.',\n              back: 'Lütfən, y enidən cəhd edin.'\n            },\n            image: {\n              title: 'Yaınız təsvir faylları qəbul olunur.',\n              text: 'Lütfən, başqa fayl ilə cəhd edin.',\n              back: 'Təsvir seçin'\n            },\n            size: {\n              title: 'Seçdiyiniz fayl limiti keçir.',\n              text: 'Lütfən, başqa fayl ilə cəhd edin.'\n            },\n            loadImage: {\n              title: 'Xəta',\n              text: 'Təsvir yüklənilə bilmir'\n            }\n          },\n          multiple: {\n            title: '%files% fayl seçdiniz.',\n            question: 'Bütün bu faylları əlavə etmək istəyirsiniz?',\n            tooManyFiles: 'Həddindən çox fayl seçdiniz. %max% maksimumdur.',\n            tooFewFiles: '%files% fayl seçdiniz. Ən azı %min% tələb olunur.',\n            clear: 'Hamısını silin',\n            done: 'Hazırdır'\n          }\n        }\n      }\n    }\n  };\n\n  var pluralize$1 = function pluralize(n) {\n    return 'other';\n  };\n\n  var az = {\n    translations: translations$1,\n    pluralize: pluralize$1\n  };\n\n  // #\n  // # Please, do not use this locale as a reference for new translations.\n  // # It could be outdated or incomplete. Always use the latest English versions:\n  // # https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascripts/uploadcare/locale/en.js\n  // #\n  // # Any fixes are welcome.\n  // #\n  var translations$2 = {\n    uploading: 'Carregant... Si us plau esperi.',\n    loadingInfo: 'Carregant informació...',\n    errors: {\n      default: 'Error',\n      baddata: 'Valor incorrecte',\n      size: 'Massa gran',\n      upload: \"No s'ha pogut carregar\",\n      user: 'Carrega cancel·lada',\n      info: \"No s'ha pogut carregar la informació\",\n      image: 'Només es permeten imatges',\n      createGroup: \"No es pot crear el grup d'arxius\",\n      deleted: 'Fitxer eliminat'\n    },\n    draghere: 'Arrossega els fitxers fins aquí',\n    file: {\n      one: '%1 fitxer',\n      other: '%1 fitxers'\n    },\n    buttons: {\n      cancel: 'Cancel·lar',\n      remove: 'Eliminar',\n      choose: {\n        files: {\n          one: 'Escull un fitxer',\n          other: 'Escull fitxers'\n        },\n        images: {\n          one: 'Escull una imatge',\n          other: 'Escull imatges'\n        }\n      }\n    },\n    dialog: {\n      done: 'Fet',\n      showFiles: 'Mostra fitxers',\n      tabs: {\n        names: {\n          'empty-pubkey': 'Benvingut',\n          preview: 'Avanci',\n          file: 'Ordinador',\n          url: 'Enllaços arbitraris',\n          camera: 'Càmera'\n        },\n        file: {\n          drag: 'Arrossega un fitxer aquí',\n          nodrop: 'Carrega fitxers des del teu ordinador',\n          cloudsTip: 'Emmagatzematge al núvol<br>i xarxes socials',\n          or: 'o',\n          button: 'Escull un fitxer des del teu ordinador',\n          also: 'També pots seleccionar-lo de'\n        },\n        url: {\n          title: 'Fitxers de la web',\n          line1: 'Selecciona qualsevol fitxer de la web.',\n          line2: 'Només proporcioni el link.',\n          input: 'Copiï el link aquí...',\n          button: 'Pujar'\n        },\n        camera: {\n          capture: 'Realitza una foto',\n          mirror: 'Mirall',\n          retry: 'Demanar permisos una altra vegada',\n          pleaseAllow: {\n            title: 'Si us plau, permet accés a la teva càmera',\n            text: \"Aquest lloc t'ha demanat de permetre accés a la càmera. \" + \"Per tal de realitzar imatges amb la teva càmera has d'acceptar aquesta petició.\"\n          },\n          notFound: {\n            title: \"No s'ha detectat cap càmera\",\n            text: 'Sembla que no tens cap càmera connectada a aquest dispositiu.'\n          }\n        },\n        preview: {\n          unknownName: 'desconegut',\n          change: 'Cancel·lar',\n          back: 'Endarrere',\n          done: 'Pujar',\n          unknown: {\n            title: 'Carregant. Si us plau esperi per la visualització prèvia.',\n            done: 'Saltar visualització prèvia i acceptar'\n          },\n          regular: {\n            title: 'Vols pujar aquest fitxer?',\n            line1: 'Estàs a punt de pujar el fitxer superior.',\n            line2: 'Confirmi, si us plau.'\n          },\n          image: {\n            title: 'Vols pujar aquesta imatge?',\n            change: 'Cancel·lar'\n          },\n          crop: {\n            title: 'Tallar i pujar aquesta imatge',\n            done: 'Fet',\n            free: 'lliure'\n          },\n          error: {\n            default: {\n              title: 'La pujada ha fallat!',\n              text: \"S'ha produït un error durant la pujada.\",\n              back: 'Si us plau, provi-ho de nou.'\n            },\n            image: {\n              title: \"Només s'accepten fitxers d'imatges.\",\n              text: 'Si us plau, provi-ho de nou amb un altre fitxer.',\n              back: 'Escull imatge'\n            },\n            size: {\n              title: 'La mida del fitxer que has seleccionat sobrepassa el límit.',\n              text: 'Si us plau, provi-ho de nou amb un altre fitxer.'\n            },\n            loadImage: {\n              title: 'Error',\n              text: \"No s'ha pogut carregar la imatge\"\n            }\n          },\n          multiple: {\n            title: \"N'has escollit %files%\",\n            question: 'Vols afegir tots aquests fitxers?',\n            tooManyFiles: 'Has escollit massa fitxers. %max% és el màxim.',\n            tooFewFiles: 'Has escollit %files%. Com a mínim en calen %min%.',\n            clear: 'Eliminar-los tots',\n            done: 'Fet'\n          }\n        }\n      }\n    } // Pluralization rules taken from:\n    // https://unicode.org/cldr/charts/34/supplemental/language_plural_rules.html\n\n  };\n\n  var pluralize$2 = function pluralize(n) {\n    if (n === 1) {\n      return 'one';\n    }\n\n    return 'other';\n  };\n\n  var ca = {\n    translations: translations$2,\n    pluralize: pluralize$2\n  };\n\n  // #\n  // # Please, do not use this locale as a reference for new translations.\n  // # It could be outdated or incomplete. Always use the latest English versions:\n  // # https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascripts/uploadcare/locale/en.js\n  // #\n  // # Any fixes are welcome.\n  // #\n  var translations$3 = {\n    uploading: 'Nahrávám... Malý moment.',\n    loadingInfo: 'Nahrávám informace...',\n    errors: {\n      default: 'Chyba',\n      baddata: 'Neplatná hodnota',\n      size: 'Soubor je příliš velký',\n      upload: 'Nelze nahrát',\n      user: 'Nahrávání zrušeno',\n      info: 'Nelze nahrát informace',\n      image: 'Lze nahrát pouze obrázky',\n      createGroup: 'Nelze vytvořit adresář',\n      deleted: 'Soubor byl smazán'\n    },\n    draghere: 'Přetáhněte soubor sem',\n    file: {\n      one: '%1 soubor',\n      few: '%1 soubory',\n      many: '%1 souborů'\n    },\n    buttons: {\n      cancel: 'Zrušit',\n      remove: 'Odstranit',\n      choose: {\n        files: {\n          one: 'Vyberte soubor',\n          other: 'Vyberte soubory'\n        },\n        images: {\n          one: 'Vyberte obrázek',\n          other: 'Vyberte obrázky'\n        }\n      }\n    },\n    dialog: {\n      done: 'Hotovo',\n      showFiles: 'Zobrazit soubory',\n      tabs: {\n        names: {\n          'empty-pubkey': 'Vítejte',\n          preview: 'Náhled',\n          file: 'Soubor z počítače',\n          url: 'Soubor z internetu',\n          camera: 'Webkamera',\n          facebook: 'Facebook',\n          dropbox: 'Dropbox',\n          gdrive: 'Google Drive',\n          instagram: 'Instagram',\n          vk: 'VK',\n          evernote: 'Evernote',\n          box: 'Box',\n          onedrive: 'OneDrive',\n          flickr: 'Flickr',\n          huddle: 'Huddle'\n        },\n        file: {\n          drag: 'Přetáhněte soubor sem',\n          nodrop: 'Nahrajte soubory z vašeho počítače',\n          cloudsTip: 'Cloudové úložiště<br>a sociální sítě',\n          or: 'nebo',\n          button: 'Vyberte soubor z počítače',\n          also: 'Můžete také nahrát soubor z'\n        },\n        url: {\n          title: 'Soubory z internetu',\n          line1: 'Nahrajte jakýkoliv soubor z internetu.',\n          line2: 'Stačí vložit odkaz.',\n          input: 'Odkaz vložte zde...',\n          button: 'Nahrát'\n        },\n        camera: {\n          capture: 'Pořídit fotografii',\n          mirror: 'Zrcadlo',\n          retry: 'Znovu požádat o povolení',\n          pleaseAllow: {\n            title: 'Prosím povolte přístup k webkameře',\n            text: 'Byl(a) jste požádán(a) o přístup k webkameře. ' + 'Abyste mohl(a) pořídit fotografii, musíte přístup povolit.'\n          },\n          notFound: {\n            title: 'Nebyla nalezena webkamera',\n            text: 'Zdá se, že k tomuto zařízení není připojena žádná webkamera.'\n          }\n        },\n        preview: {\n          unknownName: 'neznámý',\n          change: 'Zrušit',\n          back: 'Zpět',\n          done: 'Přidat',\n          unknown: {\n            title: 'Nahrávám... Prosím vyčkejte na náhled.',\n            done: 'Přeskočit náhled a odeslat'\n          },\n          regular: {\n            title: 'Přidat tento soubor?',\n            line1: 'Tímto přidáte výše vybraný soubor.',\n            line2: 'Prosím potvrďte.'\n          },\n          image: {\n            title: 'Přidat tento obrázek?',\n            change: 'Zrušit'\n          },\n          crop: {\n            title: 'Oříznout a přidat tento obrázek',\n            done: 'Hotovo',\n            free: 'zdarma'\n          },\n          error: {\n            default: {\n              title: 'Jejda!',\n              text: 'Něco se v průběhu nahrávání nepodařilo.',\n              back: 'Zkuste to prosím znovu.'\n            },\n            image: {\n              title: 'Lze nahrávat pouze obrázky.',\n              text: 'Zkuste to prosím s jiným souborem.',\n              back: 'Vyberte obrázek'\n            },\n            size: {\n              title: 'Soubor přesahuje povolenou velikost.',\n              text: 'Prosím zkuste to s jiným souborem.'\n            },\n            loadImage: {\n              title: 'Chyba',\n              text: 'Nelze nahrát obrázek'\n            }\n          },\n          multiple: {\n            title: 'Bylo vybráno %files% souborů',\n            question: 'Chcete přidat všechny tyto soubory?',\n            tooManyFiles: 'Bylo vybráno moc souborů. Maximum je %max%',\n            tooFewFiles: 'Bylo vybráno %files% souborů. Musíte vybrat minimálně %min%',\n            clear: 'Odstranit vše',\n            done: 'Hotovo'\n          }\n        }\n      }\n    } // Pluralization rules taken from:\n    // https://unicode.org/cldr/charts/34/supplemental/language_plural_rules.html\n\n  };\n\n  var pluralize$3 = function pluralize(n) {\n    if (n === 1) {\n      return 'one';\n    } else if (n >= 2 && n <= 4) {\n      return 'few';\n    } else {\n      return 'many';\n    }\n  };\n\n  var cs = {\n    translations: translations$3,\n    pluralize: pluralize$3\n  };\n\n  // #\n  // # Please, do not use this locale as a reference for new translations.\n  // # It could be outdated or incomplete. Always use the latest English versions:\n  // # https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascripts/uploadcare/locale/en.js\n  // #\n  // # Any fixes are welcome.\n  // #\n  var translations$4 = {\n    uploading: 'Uploader... Vent venligst.',\n    loadingInfo: 'Henter information...',\n    errors: {\n      default: 'Fejl',\n      baddata: 'Forkert værdi',\n      size: 'Filen er for stor',\n      upload: 'Kan ikke uploade / sende fil',\n      user: 'Upload fortrudt',\n      info: 'Kan ikke hente information',\n      image: 'Kun billeder er tilladt',\n      createGroup: 'Kan ikke oprette fil gruppe',\n      deleted: 'Filen blev slettet'\n    },\n    draghere: 'Drop en fil her',\n    file: {\n      one: '%1 fil',\n      other: '%1 filer'\n    },\n    buttons: {\n      cancel: 'Annuller',\n      remove: 'Fjern',\n      choose: {\n        files: {\n          one: 'Vælg en fil',\n          other: 'Vælg filer'\n        },\n        images: {\n          one: 'Vælg et billede',\n          other: 'Vælg billeder'\n        }\n      }\n    },\n    dialog: {\n      done: 'Færdig',\n      showFiles: 'Vis filer',\n      tabs: {\n        names: {\n          preview: 'Vis',\n          file: 'Computer',\n          gdrive: 'Google Drev',\n          url: 'Direkte link'\n        },\n        file: {\n          drag: 'Drop en fil her',\n          nodrop: 'Hent filer fra din computer',\n          or: 'eller',\n          button: 'Hent fil fra din computer',\n          also: 'Du kan også hente fra'\n        },\n        url: {\n          title: 'Filer fra en Web adresse',\n          line1: 'Vælg en fil fra en web adresse.',\n          line2: 'Skriv bare linket til filen.',\n          input: 'Indsæt link her...',\n          button: 'Upload / Send'\n        },\n        preview: {\n          unknownName: 'ukendt',\n          change: 'Annuller',\n          back: 'Tilbage',\n          done: 'Fortsæt',\n          unknown: {\n            title: 'Uploader / sender... Vent for at se mere.',\n            done: 'Fortsæt uden at vente på resultat'\n          },\n          regular: {\n            title: 'Tilføje fil?',\n            line1: 'Du er ved at tilføje filen ovenfor.',\n            line2: 'Venligst accepter.'\n          },\n          image: {\n            title: 'Tilføj billede?',\n            change: 'Annuller'\n          },\n          crop: {\n            title: 'Beskær og tilføj dette billede',\n            done: 'Udfør'\n          },\n          error: {\n            default: {\n              title: 'Hov!',\n              text: 'Noget gik galt under upload.',\n              back: 'Venligst prøv igen'\n            },\n            image: {\n              title: 'Du kan kun vælge billeder.',\n              text: 'Prøv igen med en billedfil.',\n              back: 'Vælg billede'\n            },\n            size: {\n              title: 'Den fil du valgte, er desværre større end tilladt.',\n              text: 'Venligst prøv med en mindre fil.'\n            },\n            loadImage: {\n              title: 'Fejl',\n              text: 'Kan ikke åbne billede'\n            }\n          },\n          multiple: {\n            title: 'Du har valgt %files% filer',\n            question: 'Vil du tilføje alle disse filer?',\n            tooManyFiles: 'Du har valgt for mange filer. %max% er maximum.',\n            tooFewFiles: 'Du har valgt %files% filer. Men du skal vælge mindst %min%.',\n            clear: 'Fjern alle',\n            done: 'Fortsæt'\n          }\n        }\n      }\n    } // Pluralization rules taken from:\n    // https://unicode.org/cldr/charts/34/supplemental/language_plural_rules.html\n\n  };\n\n  var pluralize$4 = function pluralize(n) {\n    if (n === 1) {\n      return 'one';\n    }\n\n    return 'other';\n  };\n\n  var da = {\n    translations: translations$4,\n    pluralize: pluralize$4\n  };\n\n  // #\n  // # Please, do not use this locale as a reference for new translations.\n  // # It could be outdated or incomplete. Always use the latest English versions:\n  // # https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascripts/uploadcare/locale/en.js\n  // #\n  // # Any fixes are welcome.\n  // #\n  var translations$5 = {\n    uploading: 'Upload läuft… Bitte warten…',\n    loadingInfo: 'Informationen werden geladen…',\n    errors: {\n      default: 'Fehler',\n      baddata: 'Falscher Wert',\n      size: 'Datei zu groß',\n      upload: 'Kann nicht hochgeladen werden',\n      user: 'Hochladen abgebrochen',\n      info: 'Informationen können nicht geladen werden',\n      image: 'Nur Bilder sind erlaubt',\n      createGroup: 'Datei-Gruppe kann nicht erstellt werden',\n      deleted: 'Datei wurde gelöscht'\n    },\n    draghere: 'Ziehen Sie eine Datei hierhin',\n    file: {\n      one: '%1 Datei',\n      other: '%1 Dateien'\n    },\n    buttons: {\n      cancel: 'Abbrechen',\n      remove: 'Löschen',\n      choose: {\n        files: {\n          one: 'Datei auswählen',\n          other: 'Dateien auswählen'\n        },\n        images: {\n          one: 'Bild auswählen',\n          other: 'Bilder auswählen'\n        }\n      }\n    },\n    dialog: {\n      close: 'Schließen',\n      openMenu: 'Menü öffnen',\n      done: 'Fertig',\n      showFiles: 'Dateien anzeigen',\n      tabs: {\n        names: {\n          'empty-pubkey': 'Willkommen',\n          preview: 'Vorschau',\n          file: 'Lokale Dateien',\n          url: 'Web-Links',\n          camera: 'Kamera'\n        },\n        file: {\n          drag: 'Ziehen Sie eine Datei hierhin',\n          nodrop: 'Laden Sie Dateien von Ihrem PC hoch',\n          cloudsTip: 'Cloud-Speicher<br>und soziale Dienste',\n          or: 'oder',\n          button: 'Wählen Sie eine Datei',\n          also: 'Sie können sie auch Dateien wählen aus'\n        },\n        url: {\n          title: 'Eine Datei aus dem Web hochladen',\n          line1: 'Sie können eine Datei aus dem Internet hochladen.',\n          line2: 'Geben Sie hier einfach den Link ein.',\n          input: 'Bitte geben Sie hier den Link ein…',\n          button: 'Hochladen'\n        },\n        camera: {\n          capture: 'Machen Sie ein Foto',\n          mirror: 'Andere Kamera',\n          retry: 'Berechtigungen erneut anfordern',\n          pleaseAllow: {\n            title: 'Bitte erlauben Sie den Zugriff auf Ihre Kamera',\n            text: 'Sie wurden gebeten, dieser Website den Zugriff auf Ihre Kamera zu erlauben. Um mit Ihrer Kamera Fotos machen zu können, müssen Sie diese Erlaubnis erteilen.'\n          },\n          notFound: {\n            title: 'Keine Kamera gefunden',\n            text: 'Es sieht so aus, als hätten Sie keine Kamera an dieses Gerät angeschlossen.'\n          }\n        },\n        preview: {\n          unknownName: 'nicht bekannt',\n          change: 'Abbrechen',\n          back: 'Zurück',\n          done: 'Hinzufügen',\n          unknown: {\n            title: 'Upload läuft… Bitte warten Sie auf die Vorschau.',\n            done: 'Vorschau überspringen und Datei annehmen'\n          },\n          regular: {\n            title: 'Diese Datei hinzufügen?',\n            line1: 'Diese Datei wird nun hinzugefügt.',\n            line2: 'Bitte bestätigen Sie.'\n          },\n          image: {\n            title: 'Nur Bilder sind akzeptiert.',\n            text: 'Bitte veruschen Sie es erneut mit einer anderen Datei.',\n            back: 'Bild wählen'\n          },\n          error: {\n            default: {\n              title: 'Oops!',\n              text: 'Etwas ist während dem Hochladen schief gelaufen.',\n              back: 'Bitte versuchen Sie es erneut'\n            },\n            image: {\n              title: 'Nur Bilder sind akzeptiert.',\n              text: 'Bitte veruschen Sie es erneut mit einer anderen Datei.',\n              back: 'Bild wählen'\n            },\n            size: {\n              title: 'Die gewählte Datei ist zu groß.',\n              text: 'Bitte versuchen Sie es erneut mit einer anderen Datei.'\n            },\n            loadImage: {\n              title: 'Fehler',\n              text: 'Das Bild kann nicht geladen werden'\n            }\n          },\n          multiple: {\n            title: 'Sie haben %files% Dateien gewählt',\n            question: 'Möchten Sie all diese Dateien hinzufügen?',\n            tooManyFiles: 'Sie haben zu viele Dateien gewählt. %max% ist das Maximum.',\n            tooFewFiles: 'Sie haben %files% Dateien gewählt. Es sind mindestens %min% nötig.',\n            clear: 'Alle löschen',\n            done: 'Fertig',\n            file: {\n              preview: 'Vorschau: %file%',\n              remove: 'Datei löschen: %file%'\n            }\n          }\n        }\n      }\n    } // Pluralization rules taken from:\n    // https://unicode.org/cldr/charts/34/supplemental/language_plural_rules.html\n\n  };\n\n  var pluralize$5 = function pluralize(n) {\n    if (n === 1) {\n      return 'one';\n    }\n\n    return 'other';\n  };\n\n  var de = {\n    translations: translations$5,\n    pluralize: pluralize$5\n  };\n\n  // #\n  // # Please, do not use this locale as a reference for new translations.\n  // # It could be outdated or incomplete. Always use the latest English versions:\n  // # https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascripts/uploadcare/locale/en.js\n  // #\n  // # Any fixes are welcome.\n  // #\n  var translations$6 = {\n    loadingInfo: 'Φόρτωση πληροφοριών...',\n    errors: {\n      default: 'Σφάλμα',\n      baddata: 'Λανθασμένη αξία',\n      size: 'Πολύ μεγάλο αρχείο',\n      upload: 'Δεν μπορεί να γίνει φόρτωση',\n      user: 'Η φόρτωση ακυρώθηκε',\n      info: 'Δεν μπορούν να φορτωθούν πληροφορίες',\n      image: 'Μόνο εικόνες επιτρέπονται',\n      createGroup: 'Δεν μπορεί να δημιουργηθεί ομάδα αρχείων',\n      deleted: 'Το αρχείο διαγράφηκε'\n    },\n    uploading: 'Φόρτωση... Παρακαλούμε περιμένετε.',\n    draghere: 'Αποθέστε ένα αρχείο εδώ',\n    file: {\n      one: '%1 αρχείο',\n      other: '%1 αρχεία'\n    },\n    buttons: {\n      cancel: 'Ακύρωση',\n      remove: 'Κατάργηση',\n      choose: {\n        files: {\n          one: 'Επιλέξτε ένα αρχείο',\n          other: 'Επιλέξτε αρχεία'\n        },\n        images: {\n          one: 'Επιλέξτε μία εικόνα',\n          other: 'Επιλέξτε εικόνες'\n        }\n      }\n    },\n    dialog: {\n      close: 'Κλείσιμο',\n      openMenu: 'Άνοιγμα μενού',\n      done: 'Εντάξει',\n      showFiles: 'Προβολή αρχείων',\n      tabs: {\n        names: {\n          'empty-pubkey': 'Καλώς ήρθατε',\n          preview: 'Προεπισκόπηση',\n          file: 'Τοπικά αρχεία',\n          url: 'Απευθείας σύνδεσμος',\n          camera: 'Κάμερα',\n          facebook: 'Facebook',\n          dropbox: 'Dropbox',\n          gdrive: 'Google Drive',\n          instagram: 'Instagram',\n          gphotos: 'Google Photos',\n          vk: 'VK',\n          evernote: 'Evernote',\n          box: 'Box',\n          onedrive: 'OneDrive',\n          flickr: 'Flickr',\n          huddle: 'Huddle'\n        },\n        file: {\n          drag: 'σύρετε & αποθέστε<br>οποιαδήποτε αρχεία',\n          nodrop: 'Φορτώστε αρχεία από τον&nbsp;υπολογιστή σας',\n          cloudsTip: 'Αποθήκευση νέφους<br>και κοινωνικά δίκτυα',\n          or: 'ή',\n          button: 'Επιλέξτε ένα τοπικό αρχείο',\n          also: 'ή επιλέξτε από'\n        },\n        url: {\n          title: 'Αρχεία από τον Ιστό',\n          line1: 'Πάρτε οποιοδήποτε αρχείο από το διαδίκτυο.',\n          line2: 'Γράψτε απλώς τον σύνδεσμο.',\n          input: 'Επικολλήστε τον σύνδεσμό σας εδώ...',\n          button: 'Φόρτωση'\n        },\n        camera: {\n          title: 'Αρχείο από κάμερα web',\n          capture: 'Τραβήξτε μια φωτογραφία',\n          mirror: 'Καθρέφτης',\n          startRecord: 'Εγγραφή βίντεο',\n          cancelRecord: 'Ακύρωση',\n          stopRecord: 'Διακοπή',\n          retry: 'Νέο αίτημα για άδεια',\n          pleaseAllow: {\n            text: 'Έχετε δεχτεί υπόδειξη να επιτρέψετε την πρόσβαση στην κάμερα από αυτόν τον ιστότοπο.<br>Για να τραβήξετε φωτογραφίες με την κάμερά σας πρέπει να εγκρίνετε αυτό το αίτημα.',\n            title: 'Παρακαλούμε επιτρέψτε την πρόσβαση στην κάμερά σας'\n          },\n          notFound: {\n            title: 'Δεν εντοπίστηκε κάμερα',\n            text: 'Φαίνεται ότι δεν έχετε κάμερα συνδεδεμένη με αυτή τη συσκευή.'\n          }\n        },\n        preview: {\n          unknownName: 'άγνωστο',\n          change: 'Ακύρωση',\n          back: 'Πίσω',\n          done: 'Προσθήκη',\n          unknown: {\n            title: 'Φόρτωση... Παρακαλούμε περιμένετε για προεπισκόπηση.',\n            done: 'Παράλειψη επισκόπησης και αποδοχή'\n          },\n          regular: {\n            title: 'Να προστεθεί αυτό το αρχείο;',\n            line1: 'Πρόκειται να προσθέσετε το παραπάνω αρχείο.',\n            line2: 'Παρακαλούμε επιβεβαιώστε.'\n          },\n          image: {\n            title: 'Να προστεθεί αυτή η εικόνα;',\n            change: 'Ακύρωση'\n          },\n          crop: {\n            title: 'Περικοπή και προσθήκη αυτής της εικόνας',\n            done: 'Εντάξει',\n            free: 'δωρεάν'\n          },\n          video: {\n            title: 'Να προστεθεί αυτό το βίντεο;',\n            change: 'Ακύρωση'\n          },\n          error: {\n            default: {\n              title: 'Ουπς!',\n              back: 'Παρακαλούμε προσπαθήστε ξανά',\n              text: 'Κάτι πήγε στραβά κατά τη φόρτωση.'\n            },\n            image: {\n              title: 'Μόνο αρχεία εικόνων γίνονται δεκτά.',\n              text: 'Δοκιμάστε ξανά με άλλο αρχείο.',\n              back: 'Επιλέξτε εικόνα'\n            },\n            size: {\n              title: 'Το αρχείο που επιλέξατε υπερβαίνει το όριο.',\n              text: 'Δοκιμάστε ξανά με άλλο αρχείο.'\n            },\n            loadImage: {\n              title: 'Σφάλμα',\n              text: 'Δεν μπορεί να φορτωθεί η εικόνα'\n            }\n          },\n          multiple: {\n            title: 'Έχετε επιλέξει %files%',\n            question: 'Προσθήκη %files%;',\n            tooManyFiles: 'Έχετε επιλέξει πάρα πολλά αρχεία. Το μέγιστο είναι %max%.',\n            tooFewFiles: 'Έχετε επιλέξει %files%. Απαιτούνται τουλάχιστον %min%.',\n            clear: 'Κατάργηση όλων',\n            file: {\n              preview: 'Προεπισκόπηση %file%',\n              remove: 'Αφαίρεση %file%'\n            },\n            done: 'Προσθήκη'\n          }\n        }\n      },\n      footer: {\n        text: 'παρέχεται από',\n        link: 'uploadcare'\n      }\n    } // Pluralization rules taken from:\n    // https://unicode.org/cldr/charts/34/supplemental/language_plural_rules.html\n\n  };\n\n  var pluralize$6 = function pluralize(n) {\n    if (n === 1) {\n      return 'one';\n    }\n\n    return 'other';\n  };\n\n  var el = {\n    translations: translations$6,\n    pluralize: pluralize$6\n  };\n\n  // #\n  // # English locale is the default and used as a fallback.\n  // #\n  var translations$7 = {\n    uploading: 'Uploading... Please wait.',\n    loadingInfo: 'Loading info...',\n    errors: {\n      default: 'Error',\n      baddata: 'Incorrect value',\n      size: 'File too big',\n      upload: 'Can’t upload',\n      user: 'Upload canceled',\n      info: 'Can’t load info',\n      image: 'Only images allowed',\n      createGroup: 'Can’t create file group',\n      deleted: 'File was deleted'\n    },\n    draghere: 'Drop a file here',\n    file: {\n      one: '%1 file',\n      other: '%1 files'\n    },\n    buttons: {\n      cancel: 'Cancel',\n      remove: 'Remove',\n      choose: {\n        files: {\n          one: 'Choose a file',\n          other: 'Choose files'\n        },\n        images: {\n          one: 'Choose an image',\n          other: 'Choose images'\n        }\n      }\n    },\n    dialog: {\n      close: 'Close',\n      openMenu: 'Open menu',\n      done: 'Done',\n      showFiles: 'Show files',\n      tabs: {\n        names: {\n          'empty-pubkey': 'Welcome',\n          preview: 'Preview',\n          file: 'Local Files',\n          url: 'Direct Link',\n          camera: 'Camera',\n          facebook: 'Facebook',\n          dropbox: 'Dropbox',\n          gdrive: 'Google Drive',\n          gphotos: 'Google Photos',\n          instagram: 'Instagram',\n          vk: 'VK',\n          evernote: 'Evernote',\n          box: 'Box',\n          onedrive: 'OneDrive',\n          flickr: 'Flickr',\n          huddle: 'Huddle'\n        },\n        file: {\n          drag: 'drag & drop<br>any files',\n          nodrop: 'Upload files from your&nbsp;computer',\n          cloudsTip: 'Cloud storages<br>and social networks',\n          or: 'or',\n          button: 'Choose a local file',\n          also: 'or choose from'\n        },\n        url: {\n          title: 'Files from the Web',\n          line1: 'Grab any file off the web.',\n          line2: 'Just provide the link.',\n          input: 'Paste your link here...',\n          button: 'Upload'\n        },\n        camera: {\n          title: 'File from web camera',\n          capture: 'Take a photo',\n          mirror: 'Mirror',\n          startRecord: 'Record a video',\n          stopRecord: 'Stop',\n          cancelRecord: 'Cancel',\n          retry: 'Request permissions again',\n          pleaseAllow: {\n            title: 'Please allow access to your camera',\n            text: 'You have been prompted to allow camera access from this site.<br>' + 'In order to take pictures with your camera you must approve this request.'\n          },\n          notFound: {\n            title: 'No camera detected',\n            text: 'Looks like you have no camera connected to this device.'\n          }\n        },\n        preview: {\n          unknownName: 'unknown',\n          change: 'Cancel',\n          back: 'Back',\n          done: 'Add',\n          unknown: {\n            title: 'Uploading... Please wait for a preview.',\n            done: 'Skip preview and accept'\n          },\n          regular: {\n            title: 'Add this file?',\n            line1: 'You are about to add the file above.',\n            line2: 'Please confirm.'\n          },\n          image: {\n            title: 'Add this image?',\n            change: 'Cancel'\n          },\n          crop: {\n            title: 'Crop and add this image',\n            done: 'Done',\n            free: 'free'\n          },\n          video: {\n            title: 'Add this video?',\n            change: 'Cancel'\n          },\n          error: {\n            default: {\n              title: 'Oops!',\n              text: 'Something went wrong during the upload.',\n              back: 'Please try again'\n            },\n            image: {\n              title: 'Only image files are accepted.',\n              text: 'Please try again with another file.',\n              back: 'Choose image'\n            },\n            size: {\n              title: 'The file you selected exceeds the limit.',\n              text: 'Please try again with another file.'\n            },\n            loadImage: {\n              title: 'Error',\n              text: 'Can’t load image'\n            }\n          },\n          multiple: {\n            title: 'You’ve chosen %files%.',\n            question: 'Add %files%?',\n            tooManyFiles: 'You’ve chosen too many files. %max% is maximum.',\n            tooFewFiles: 'You’ve chosen %files%. At least %min% required.',\n            clear: 'Remove all',\n            done: 'Add',\n            file: {\n              preview: 'Preview %file%',\n              remove: 'Remove %file%'\n            }\n          }\n        }\n      },\n      footer: {\n        text: 'powered by',\n        link: 'uploadcare'\n      }\n    } // Pluralization rules taken from:\n    // https://unicode.org/cldr/charts/34/supplemental/language_plural_rules.html\n\n  };\n\n  var pluralize$7 = function pluralize(n) {\n    if (n === 1) {\n      return 'one';\n    }\n\n    return 'other';\n  };\n\n  var en = {\n    pluralize: pluralize$7,\n    translations: translations$7\n  };\n\n  // #\n  // # Please, do not use this locale as a reference for new translations.\n  // # It could be outdated or incomplete. Always use the latest English versions:\n  // # https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascripts/uploadcare/locale/en.js\n  // #\n  // # Any fixes are welcome.\n  // #\n  var translations$8 = {\n    uploading: 'Subiendo... Por favor espere.',\n    loadingInfo: 'Cargando información...',\n    errors: {\n      default: 'Error',\n      baddata: 'Valor incorrecto',\n      size: 'Archivo demasiado grande',\n      upload: 'No se puede subir',\n      user: 'Subida cancelada',\n      info: 'No se puede cargar la información',\n      image: 'Solo se permiten imágenes',\n      createGroup: 'No se puede crear el grupo de archivos',\n      deleted: 'El archivo fue eliminado'\n    },\n    draghere: 'Arrastra un archivo aquí',\n    file: {\n      one: '%1 archivo',\n      other: '%1 archivos'\n    },\n    buttons: {\n      cancel: 'Cancelar',\n      remove: 'Eliminar',\n      choose: {\n        files: {\n          one: 'Escoge un archivo',\n          other: 'Escoge archivos'\n        },\n        images: {\n          one: 'Escoge una imagen',\n          other: 'Escoge imágenes'\n        }\n      }\n    },\n    dialog: {\n      close: 'Cerrar',\n      openMenu: 'Menú abierto',\n      done: 'Hecho',\n      showFiles: 'Mostrar archivos',\n      tabs: {\n        names: {\n          'empty-pubkey': 'Bienvenido',\n          preview: 'Previsualización',\n          file: 'Archivos locales',\n          url: 'Enlaces arbitrarios',\n          camera: 'Cámara'\n        },\n        file: {\n          drag: 'Arrastra un archivo aquí',\n          nodrop: 'Sube fotos desde tu dispositivo',\n          cloudsTip: 'Almacenamiento en la nube<br>y redes sociales',\n          or: 'o',\n          button: 'Elige un archivo de tu dispositivo',\n          also: 'Tambien puedes seleccionarlo de'\n        },\n        url: {\n          title: 'Archivos de la Web',\n          line1: 'Coge cualquier archivo de la web.',\n          line2: 'Solo danos el link.',\n          input: 'Pega tu link aquí...',\n          button: 'Subir'\n        },\n        camera: {\n          title: 'Archivo desde la cámara web',\n          capture: 'Hacer una foto',\n          mirror: 'Espejo',\n          startRecord: 'Grabar un video',\n          stopRecord: 'Detener',\n          cancelRecord: 'Cancelar',\n          retry: 'Solicitar permisos de nuevo',\n          pleaseAllow: {\n            title: 'Por favor, permite el acceso a tu cámara',\n            text: 'Este sitio ha pedido permiso para acceder a la cámara. ' + 'Para tomar imágenes con tu cámara debes aceptar esta petición.'\n          },\n          notFound: {\n            title: 'No se ha detectado ninguna cámara',\n            text: 'Parece que no tienes ninguna cámara conectada a este dispositivo.'\n          }\n        },\n        preview: {\n          unknownName: 'desconocido',\n          change: 'Cancelar',\n          back: 'Atrás',\n          done: 'Añadir',\n          unknown: {\n            title: 'Subiendo. Por favor espera para una vista previa.',\n            done: 'Saltar vista previa y aceptar'\n          },\n          regular: {\n            title: '¿Quieres subir este archivo?',\n            line1: 'Estás a punto de subir el archivo de arriba.',\n            line2: 'Confírmalo por favor.'\n          },\n          image: {\n            title: '¿Quieres subir esta imagen?',\n            change: 'Cancelar'\n          },\n          crop: {\n            title: 'Cortar y añadir esta imagen',\n            done: 'Listo',\n            free: 'libre'\n          },\n          video: {\n            title: '¿Añadir este video?',\n            change: 'Cancelar'\n          },\n          error: {\n            default: {\n              title: 'Ups!',\n              text: 'Algo salió mal durante la subida.',\n              back: 'Por favor, inténtalo de nuevo.'\n            },\n            image: {\n              title: 'Solo se aceptan archivos de imagen.',\n              text: 'Por favor, inténtalo de nuevo con otro archivo.',\n              back: 'Escoger imagen'\n            },\n            size: {\n              title: 'El archivo que has seleccinado excede el límite.',\n              text: 'Por favor, inténtalo de nuevo con otro archivo.'\n            },\n            loadImage: {\n              title: 'Error',\n              text: 'No puede cargar la imagen'\n            }\n          },\n          multiple: {\n            title: 'Has escogido %files%',\n            question: '¿Quieres añadir todos estos archivos?',\n            tooManyFiles: 'Has escogido demasiados archivos. %max% es el máximo.',\n            tooFewFiles: 'Has escogido %files%. Hacen falta al menos %min%.',\n            clear: 'Eliminar todo',\n            done: 'Hecho',\n            file: {\n              preview: 'Vista previa %file%',\n              remove: 'Quitar %file%'\n            }\n          }\n        }\n      },\n      footer: {\n        text: 'alimentado por'\n      }\n    } // Pluralization rules taken from:\n    // https://unicode.org/cldr/charts/34/supplemental/language_plural_rules.html\n\n  };\n\n  var pluralize$8 = function pluralize(n) {\n    if (n === 1) {\n      return 'one';\n    }\n\n    return 'other';\n  };\n\n  var es = {\n    translations: translations$8,\n    pluralize: pluralize$8\n  };\n\n  // #\n  // # Please, do not use this locale as a reference for new translations.\n  // # It could be outdated or incomplete. Always use the latest English versions:\n  // # https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascripts/uploadcare/locale/en.js\n  // #\n  // # Any fixes are welcome.\n  // #\n  var translations$9 = {\n    uploading: 'Üleslaadimine… Palun oota.',\n    loadingInfo: 'Info laadimine...',\n    errors: {\n      default: 'Viga',\n      baddata: 'Incorrect value',\n      size: 'Fail on liiga suur',\n      upload: 'Ei saa üles laadida',\n      user: 'Üleslaadimine tühistatud',\n      info: 'Ei saa infot laadida',\n      image: 'Ainult pildid lubatud',\n      createGroup: 'Ei saa luua failigruppi',\n      deleted: 'Fail on kustutatud'\n    },\n    draghere: 'Tiri fail siia',\n    file: {\n      one: '%1 fail',\n      other: '%1 failid'\n    },\n    buttons: {\n      cancel: 'Tühista',\n      remove: 'Kustuta',\n      choose: {\n        files: {\n          one: 'Vali fail',\n          other: 'Vali failid'\n        },\n        images: {\n          one: 'Vali pilt',\n          other: 'Vali pildid'\n        }\n      }\n    },\n    dialog: {\n      done: 'Valmis',\n      showFiles: 'Näita faile',\n      tabs: {\n        names: {\n          'empty-pubkey': 'Tere',\n          preview: 'Eelvaade',\n          file: 'Failid Kõvakettalt',\n          url: 'Veebilink',\n          camera: 'Kaamera'\n        },\n        file: {\n          drag: 'Tiri failid siia',\n          nodrop: 'Lae failid arvutist',\n          cloudsTip: 'Pilv<br>ja sotsiaalmeedia',\n          or: 'või',\n          button: 'Vali fail kõvakettalt',\n          also: 'Saad samuti valida'\n        },\n        url: {\n          title: 'Failid veebist',\n          line1: 'Ükskõik mis fail otse veebist.',\n          line2: 'Lihtsalt sisesta URL.',\n          input: 'Kleebi link siia...',\n          button: 'Lae üles'\n        },\n        camera: {\n          capture: 'Take a photo',\n          mirror: 'Mirror',\n          startRecord: 'Record a video',\n          stopRecord: 'Stop',\n          cancelRecord: 'Cancel',\n          retry: 'Request permissions again',\n          pleaseAllow: {\n            title: 'Please allow access to your camera',\n            text: 'You have been prompted to allow camera access from this site. ' + 'In order to take pictures with your camera you must approve this request.'\n          },\n          notFound: {\n            title: 'No camera detected',\n            text: 'Looks like you have no camera connected to this device.'\n          }\n        },\n        preview: {\n          unknownName: 'teadmata',\n          change: 'Tühista',\n          back: 'Tagasi',\n          done: 'Lisa',\n          unknown: {\n            title: 'Üleslaadimine... Palun oota eelvaadet.',\n            done: 'Jäta eelvaade vahele ja nõustu'\n          },\n          regular: {\n            title: 'Lisa see fail?',\n            line1: 'Oled lisamas ülaltoodud faili.',\n            line2: 'Palun kinnita.'\n          },\n          image: {\n            title: 'Lisa pilt?',\n            change: 'Tühista'\n          },\n          crop: {\n            title: 'Lõika ja lisa pilt',\n            done: 'Valmis',\n            free: 'vaba'\n          },\n          video: {\n            title: 'Lisa video?',\n            change: 'Tühista'\n          },\n          error: {\n            default: {\n              title: 'Oihh!',\n              text: 'Midagi läks üleslaadimisel valesti.',\n              back: 'Palun proovi uuesti'\n            },\n            image: {\n              title: 'Ainult pildifailid on lubatud.',\n              text: 'Palun proovi uuesti teise failiga.',\n              back: 'Vali pilt'\n            },\n            size: {\n              title: 'Valitud fail ületab maksimaalse suuruse.',\n              text: 'Palun proovi uuesti teise failiga.'\n            },\n            loadImage: {\n              title: 'Viga',\n              text: 'Ei saa pilti laadida'\n            }\n          },\n          multiple: {\n            title: 'Oled valinud %files%',\n            question: 'Kas sa soovid lisada kõik failid?',\n            tooManyFiles: 'Oled valinud liiga suure hulga faile. %max% on maksimaalne.',\n            tooFewFiles: 'Oled valinud %files%. Vähemalt %min% nõutud.',\n            clear: 'Eemalda kõik',\n            done: 'Valmis'\n          }\n        }\n      }\n    } // Pluralization rules taken from:\n    // https://unicode.org/cldr/charts/34/supplemental/language_plural_rules.html\n\n  };\n\n  var pluralize$9 = function pluralize(n) {\n    if (n === 1) {\n      return 'one';\n    }\n\n    return 'other';\n  };\n\n  var et = {\n    translations: translations$9,\n    pluralize: pluralize$9\n  };\n\n  // #\n  // # Please, do not use this locale as a reference for new translations.\n  // # It could be outdated or incomplete. Always use the latest English versions:\n  // # https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascripts/uploadcare/locale/en.js\n  // #\n  // # Any fixes are welcome.\n  // #\n  var translations$a = {\n    uploading: 'Envoi en cours... Merci de patienter.',\n    loadingInfo: 'Chargement des informations...',\n    errors: {\n      default: 'Erreur',\n      baddata: 'Valeur incorrecte',\n      size: 'Fichier trop volumineux',\n      upload: 'Envoi impossible',\n      user: 'Envoi annulé',\n      info: 'Impossible de charger les informations',\n      image: 'Seules les images sont autorisées',\n      createGroup: \"Création d'1 groupe impossible\",\n      deleted: 'Le fichier a été supprimé'\n    },\n    draghere: 'Glissez-déposez un fichier ici',\n    file: {\n      one: '%1 fichier',\n      other: '%1 fichiers'\n    },\n    buttons: {\n      cancel: 'Annuler',\n      remove: 'Supprimer',\n      choose: {\n        files: {\n          one: 'Sélectionner un fichier',\n          other: 'Sélectionner des fichiers'\n        },\n        images: {\n          one: 'Sélectionner une image',\n          other: 'Sélectionner des images'\n        }\n      }\n    },\n    dialog: {\n      close: 'Fermer',\n      openMenu: 'Ouvrir le menu',\n      done: 'Terminer',\n      showFiles: 'Voir les fichiers',\n      tabs: {\n        names: {\n          'empty-pubkey': 'Bienvenue',\n          preview: 'Avant-première',\n          file: 'Fichier en local',\n          url: 'Une adresse web',\n          camera: 'Caméra',\n          facebook: 'Facebook',\n          dropbox: 'Dropbox',\n          gdrive: 'Google Drive',\n          gphotos: 'Google Photos',\n          instagram: 'Instagram',\n          vk: 'VK',\n          evernote: 'Evernote',\n          box: 'Box',\n          onedrive: 'OneDrive',\n          flickr: 'Flickr',\n          huddle: 'Huddle'\n        },\n        file: {\n          drag: 'Glissez-déposez un fichier ici',\n          nodrop: 'Envoyez des fichiers depuis votre ordinateur',\n          cloudsTip: 'Stockage sur le cloud<br>et réseaux sociaux',\n          or: 'ou',\n          button: 'Choisir un fichier local',\n          also: 'Vous pouvez également le sélectionner depuis'\n        },\n        url: {\n          title: 'Fichiers depuis le Web',\n          line1: \"Prenez n'importe quel fichier depuis un site web.\",\n          line2: 'Saisissez simplement son adresse.',\n          input: 'Collez le lien ici...',\n          button: 'Envoi'\n        },\n        camera: {\n          title: 'Fichier depuis la caméra',\n          capture: 'Prendre une photo',\n          mirror: 'Miroir',\n          startRecord: 'Enregistrer une vidéo',\n          stopRecord: 'Arrêter',\n          cancelRecord: 'Annuler',\n          retry: 'Envoyer une nouvelle demande de permission',\n          pleaseAllow: {\n            title: \"Autorisez l'accès à votre appareil photo\",\n            text: \"Vous avez été invité à autoriser l'accès à votre appareil photo. Pour prendre des photos avec votre caméra vous devez approuver cette demande.\"\n          },\n          notFound: {\n            title: 'Aucun appareil photo détecté',\n            text: \"Il semblerait que vous n'ayez pas d'appareil photo connecté à cet appareil.\"\n          }\n        },\n        preview: {\n          unknownName: 'inconnu',\n          change: 'Annuler',\n          back: 'Retour',\n          done: 'Ajouter',\n          unknown: {\n            title: 'Envoi en cours... Merci de patienter pour prévisualiser.',\n            done: 'Passer la prévisualisation et accepter'\n          },\n          regular: {\n            title: 'Ajouter ce fichier ?',\n            line1: \"Vous êtes sur le point d'ajouter le fichier ci-dessus.\",\n            line2: 'Merci de confirmer.'\n          },\n          image: {\n            title: 'Ajouter cette image ?',\n            change: 'Annuler'\n          },\n          crop: {\n            title: 'Recadrer et ajouter cette image',\n            done: 'Terminer',\n            free: 'libre'\n          },\n          video: {\n            title: 'Ajouter cette vidéo ?',\n            change: 'Annuler'\n          },\n          error: {\n            default: {\n              title: 'Oups!',\n              text: \"Quelque chose n'a pas fonctionné pendant l'envoi.\",\n              back: 'Merci de bien vouloir recommencer'\n            },\n            image: {\n              title: 'Seules les images sont acceptées.',\n              text: 'Merci de bien vouloir recommencer avec un autre fichier.',\n              back: 'Choisir une image'\n            },\n            size: {\n              title: 'Le fichier sélectionné est trop volumineux.',\n              text: 'Merci de bien vouloir recommencer avec un autre fichier.'\n            },\n            loadImage: {\n              title: 'Erreur',\n              text: \"Impossible de charger l'image\"\n            }\n          },\n          multiple: {\n            title: 'Vous avez choisi %files%',\n            question: 'Voulez vous ajouter tous ces fichiers ?',\n            tooManyFiles: 'Vous avez choisi trop de fichiers. %max% est le maximum.',\n            tooFewFiles: 'Vous avez choisi %fichiers%. %min% est le minimum.',\n            clear: 'Tout retirer',\n            done: 'Terminer',\n            file: {\n              preview: 'Prévisualiser %file%',\n              remove: 'Supprimer %file%'\n            }\n          }\n        }\n      }\n    } // Pluralization rules taken from:\n    // https://unicode.org/cldr/charts/34/supplemental/language_plural_rules.html\n\n  };\n\n  var pluralize$a = function pluralize(n) {\n    if (n === 1) {\n      return 'one';\n    }\n\n    return 'other';\n  };\n\n  var fr = {\n    translations: translations$a,\n    pluralize: pluralize$a\n  };\n\n  // #\n  // # Please, do not use this locale as a reference for new translations.\n  // # It could be outdated or incomplete. Always use the latest English versions:\n  // # https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascripts/uploadcare/locale/en.js\n  // #\n  // # Any fixes are welcome.\n  // #\n  var translations$b = {\n    uploading: 'טוען... אנא המתן.',\n    loadingInfo: 'טוען מידע...',\n    errors: {\n      default: 'שגיאה',\n      baddata: 'ערך שגוי',\n      size: 'קובץ גדול מידי',\n      upload: 'לא ניתן להעלות',\n      user: 'העלאה בוטלה',\n      info: 'לא ניתן לטעון מידע',\n      image: 'ניתן להעלות רק תמונות',\n      createGroup: 'לא ניתן ליצור קבוצה',\n      deleted: 'הקובץ נמחק'\n    },\n    draghere: 'שחרר כאן קובץ',\n    file: {\n      one: 'קובץ %1',\n      other: '%1 קבצים'\n    },\n    buttons: {\n      cancel: 'ביטול',\n      remove: 'הסר',\n      choose: {\n        files: {\n          one: 'בחר קובץ',\n          other: 'בחר קבצים'\n        },\n        images: {\n          one: 'בחר תמונה',\n          other: 'בחר תמונות'\n        }\n      }\n    },\n    dialog: {\n      done: 'סיום',\n      showFiles: 'הצג קבצים',\n      tabs: {\n        names: {\n          facebook: 'פייסבוק',\n          dropbox: 'דרופבוקס',\n          gdrive: 'כונן גוגל',\n          instagram: 'אינסטגרם',\n          url: 'לינק מהאינטרנט'\n        },\n        file: {\n          drag: 'שחרר כאן קובץ',\n          nodrop: 'העלה קבצים מהמחשב',\n          or: 'או',\n          button: 'בחר קובץ מהמחשב',\n          also: 'ניתן לבחור גם מ'\n        },\n        url: {\n          title: 'קובץ מהאינטרנט',\n          line1: 'גרור קובץ מהאינטרנט',\n          line2: 'ספק את כתובת הקובץ',\n          input: 'הדבק את כתובת הקובץ...',\n          button: 'העלה'\n        },\n        preview: {\n          unknownName: 'לא ידוע',\n          change: 'ביטול',\n          back: 'חזרה',\n          done: 'הוסף',\n          unknown: {\n            title: 'מעלה... נא המתן לתצוגה מקדימה.',\n            done: 'דלג על תצוגה מקדימה'\n          },\n          regular: {\n            title: 'להוסיף קובץ זה?',\n            line1: 'קובץ זה יועלה',\n            line2: 'נא אשר.'\n          },\n          image: {\n            title: 'להוסיף תמונה זו?',\n            change: 'ביטול'\n          },\n          crop: {\n            title: 'חתוך והוסף תמונה זו',\n            done: 'סיום'\n          },\n          error: {\n            default: {\n              title: 'אופס!',\n              text: 'משהו השתבש בזמן ההעלאה.',\n              back: 'נא נסה שוב'\n            },\n            image: {\n              title: 'ניתן לקבל רק קבצי תמונות.',\n              text: 'נא נסה שוב עם קובץ אחר.',\n              back: 'בחר תמונה'\n            },\n            size: {\n              title: 'הקובץ שבחרת חורג מהגבול.',\n              text: 'נא נסה שוב עם קובץ אחר.'\n            },\n            loadImage: {\n              title: 'שגיאה',\n              text: 'טעינת התמונה נכשלה'\n            }\n          },\n          multiple: {\n            title: 'בחרת %files%',\n            question: 'אתה מעוניין להוסיף את כל הקבצים האלו?',\n            tooManyFiles: 'בחרת יותר מידי קבצים. יש לבחור מקסימום %max% קבצים.',\n            tooFewFiles: 'בחרת %files%. יש לבחור לפחות %min%.',\n            clear: 'הסר הכל',\n            done: 'סיום'\n          }\n        }\n      }\n    } // Pluralization rules taken from:\n    // https://unicode.org/cldr/charts/34/supplemental/language_plural_rules.html\n\n  };\n\n  var pluralize$b = function pluralize(n) {\n    if (n === 1) {\n      return 'one';\n    }\n\n    return 'other';\n  };\n\n  var he = {\n    translations: translations$b,\n    pluralize: pluralize$b\n  };\n\n  // #\n  // # Please, do not use this locale as a reference for new translations.\n  // # It could be outdated or incomplete. Always use the latest English versions:\n  // # https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascripts/uploadcare/locale/en.js\n  // #\n  // # Any fixes are welcome.\n  // #\n  var translations$c = {\n    uploading: 'Caricamento in corso... Si prega di attendere.',\n    loadingInfo: 'Caricamento informazioni in corso...',\n    errors: {\n      default: 'Errore',\n      baddata: 'Valore errato',\n      size: 'Il file è troppo grande',\n      upload: 'Impossibile fare l’upload',\n      user: 'Upload cancellato',\n      info: 'Impossibile caricare le informazioni',\n      image: 'Sono ammesse solo immagini',\n      createGroup: 'Impossibile creare gruppo di file',\n      deleted: 'Il file è stato eliminato'\n    },\n    draghere: 'Trascina un file qui',\n    file: {\n      one: 'file %1',\n      other: 'file %1'\n    },\n    buttons: {\n      cancel: 'Cancella',\n      remove: 'Rimuovi',\n      choose: {\n        files: {\n          one: 'Seleziona un file',\n          other: 'Seleziona file'\n        },\n        images: {\n          one: 'Seleziona un’immagine',\n          other: 'Seleziona immagini'\n        }\n      }\n    },\n    dialog: {\n      done: 'Fatto',\n      showFiles: 'Mostra file',\n      tabs: {\n        names: {\n          'empty-pubkey': 'Benvenuto',\n          preview: 'Anteprima',\n          file: 'File locali',\n          url: 'Link arbitrari',\n          camera: 'Fotocamera'\n        },\n        file: {\n          drag: 'Trascina un file qui',\n          nodrop: 'Carica file dal tuo computer',\n          cloudsTip: 'Salvataggi nel cloud<br>e servizi sociali',\n          or: 'o',\n          button: 'Seleziona un file locale',\n          also: 'Puoi anche scegliere da'\n        },\n        url: {\n          title: 'File dal web',\n          line1: 'Preleva un file dal web.',\n          line2: 'È sufficiente fornire il link.',\n          input: 'Incolla il tuo link qui...',\n          button: 'Carica'\n        },\n        camera: {\n          capture: 'Scatta una foto',\n          mirror: 'Specchio',\n          retry: 'Richiedi di nuovo le autorizzazioni',\n          pleaseAllow: {\n            title: 'Consenti l’accesso alla tua fotocamera',\n            text: 'Ti è stato richiesto di consentire l’accesso alla fotocamera da questo sito. Per scattare le foto con la tua fotocamera devi accettare questa richiesta.'\n          },\n          notFound: {\n            title: 'Nessuna fotocamera rilevata',\n            text: 'Non risulta che tu non abbia una fotocamera collegata a questo dispositivo.'\n          }\n        },\n        preview: {\n          unknownName: 'sconosciuto',\n          change: 'Cancella',\n          back: 'Indietro',\n          done: 'Aggiungi',\n          unknown: {\n            title: 'Caricamento in corso... Attendi l’anteprima.',\n            done: 'Salta l’anteprima e accetta'\n          },\n          regular: {\n            title: 'Vuoi aggiungere questo file?',\n            line1: 'Stai per aggiungere il file sopra.',\n            line2: 'Conferma.'\n          },\n          image: {\n            title: 'Vuoi aggiungere questa immagine?',\n            change: 'Cancella'\n          },\n          crop: {\n            title: 'Ritaglia e aggiungi questa immagine',\n            done: 'Fatto',\n            free: 'gratis'\n          },\n          error: {\n            default: {\n              title: 'Ops!',\n              text: 'Si è verificato un problema durante l’upload.',\n              back: 'Si prega di riprovare'\n            },\n            image: {\n              title: 'Sono accettati solo file immagine.',\n              text: 'Riprova con un altro file.',\n              back: 'Scegli immagine'\n            },\n            size: {\n              title: 'Il file selezionato supera il limite.',\n              text: 'Riprova con un altro file.'\n            },\n            loadImage: {\n              title: 'Errore',\n              text: 'Impossibile caricare l’immagine'\n            }\n          },\n          multiple: {\n            title: 'Hai selezionato %files%',\n            question: 'Vuoi aggiungere tutti questi file?',\n            tooManyFiles: 'Hai selezionato troppi file. %max% è il massimo.',\n            tooFewFiles: 'Hai selezionato %files%. È richiesto almeno %min%.',\n            clear: 'Rimuovi tutto',\n            done: 'Fatto'\n          }\n        }\n      }\n    } // Pluralization rules taken from:\n    // https://unicode.org/cldr/charts/34/supplemental/language_plural_rules.html\n\n  };\n\n  var pluralize$c = function pluralize(n) {\n    if (n === 1) {\n      return 'one';\n    }\n\n    return 'other';\n  };\n\n  var it = {\n    translations: translations$c,\n    pluralize: pluralize$c\n  };\n\n  // #\n  // # Please, do not use this locale as a reference for new translations.\n  // # It could be outdated or incomplete. Always use the latest English versions:\n  // # https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascripts/uploadcare/locale/en.js\n  // #\n  // # Any fixes are welcome.\n  // #\n  var translations$d = {\n    uploading: 'アップロードしています… 完了までお待ち下さい。',\n    loadingInfo: '読み込み中…',\n    errors: {\n      default: 'エラー',\n      baddata: '間違った値',\n      size: 'ファイルが大きすぎます',\n      upload: 'アップロードできませんでした',\n      user: 'アップロードがキャンセルされました',\n      info: '読み込みに失敗しました',\n      image: 'アップロードできるのは画像ファイルのみです',\n      createGroup: 'グループの作成に失敗しました',\n      deleted: '削除されたファイルです'\n    },\n    draghere: 'ここにファイルをドロップ',\n    file: {\n      other: '%1ファイル'\n    },\n    buttons: {\n      cancel: 'キャンセル',\n      remove: '削除',\n      choose: {\n        files: {\n          one: 'ファイルを選択',\n          other: 'ファイルを選択'\n        },\n        images: {\n          one: '画像を選択',\n          other: '画像を選択'\n        }\n      }\n    },\n    dialog: {\n      done: '完了',\n      showFiles: 'ファイルを表示',\n      tabs: {\n        names: {\n          preview: 'プレビュー',\n          file: 'ローカルファイル',\n          url: 'URLを直接入力'\n        },\n        file: {\n          drag: 'ここにファイルをドロップ',\n          nodrop: 'ファイルを選択してアップロード',\n          cloudsTip: 'クラウドストレージ<br>およびソーシャルサービス',\n          or: 'もしくは',\n          button: 'ローカルのファイルを選択',\n          also: '次からも選択可能です：'\n        },\n        url: {\n          title: 'ウェブ上のファイル',\n          line1: 'ウェブ上からファイルを取得します。',\n          line2: 'URLを入力してください。',\n          input: 'ここにURLを貼り付けしてください…',\n          button: 'アップロード'\n        },\n        preview: {\n          unknownName: '不明なファイル',\n          change: 'キャンセル',\n          back: '戻る',\n          done: '追加',\n          unknown: {\n            title: 'アップロードしています… プレビューの表示をお待ちください。',\n            done: 'プレビューの確認をスキップして完了'\n          },\n          regular: {\n            title: 'このファイルを追加しますか？',\n            line1: 'こちらのファイルを追加しようとしています。',\n            line2: '確認してください。'\n          },\n          image: {\n            title: 'この画像を追加しますか？',\n            change: 'キャンセル'\n          },\n          crop: {\n            title: '画像の切り取りと追加',\n            done: '完了',\n            free: 'リセット'\n          },\n          error: {\n            default: {\n              title: '失敗しました',\n              text: 'アップロード中に不明なエラーが発生しました。',\n              back: 'もう一度お試し下さい'\n            },\n            image: {\n              title: '画像ファイルのみ許可されています',\n              text: '他のファイルで再度お試し下さい。',\n              back: '画像を選択'\n            },\n            size: {\n              title: 'ファイルサイズが大きすぎます。',\n              text: '他のファイルで再度お試し下さい。'\n            },\n            loadImage: {\n              title: 'エラー',\n              text: '画像のロードに失敗しました。'\n            }\n          },\n          multiple: {\n            title: '%files%つのファイルを選択中',\n            question: 'これら全てのファイルを追加しますか？',\n            tooManyFiles: '選択ファイルが多すぎます。%max%つ以下にしてください。',\n            tooFewFiles: '選択ファイルが少なすぎます。%files%つ選択中です。少なくとも%min%つ選択してください。',\n            clear: '全て削除',\n            done: '完了'\n          }\n        }\n      }\n    } // Pluralization rules taken from:\n    // https://unicode.org/cldr/charts/34/supplemental/language_plural_rules.html\n\n  };\n\n  var pluralize$d = function pluralize(n) {\n    return 'other';\n  };\n\n  var ja = {\n    translations: translations$d,\n    pluralize: pluralize$d\n  };\n\n  // #\n  // # Please, do not use this locale as a reference for new translations.\n  // # It could be outdated or incomplete. Always use the latest English versions:\n  // # https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascripts/uploadcare/locale/en.js\n  // #\n  // # Any fixes are welcome.\n  // #\n  var translations$e = {\n    uploading: '업로드중 기다려주세요',\n    loadingInfo: '정보 로드중...',\n    errors: {\n      default: '오류',\n      baddata: '잘못된 값',\n      size: '파일용량 초과',\n      upload: '업로드 실패',\n      user: '업로드 취소됨',\n      info: '정보를 불러올 수 없습니다',\n      image: '허용된 이미지만 가능',\n      createGroup: '파일 그룹 만들기 실패',\n      deleted: '파일이 삭제되었습니다'\n    },\n    draghere: '여기에 끌어다 놓기',\n    file: {\n      one: '%1 파일',\n      other: '%1 파일'\n    },\n    buttons: {\n      cancel: '취소',\n      remove: '삭제',\n      choose: {\n        files: {\n          one: '파일 첨부',\n          other: '파일 첨부'\n        },\n        images: {\n          one: '이미지 첨부',\n          other: '이미지 첨부'\n        }\n      }\n    },\n    dialog: {\n      close: '닫기',\n      openMenu: '메뉴 열기',\n      done: '완료',\n      showFiles: '파일 표시',\n      tabs: {\n        names: {\n          'empty-pubkey': '반갑습니다',\n          preview: '미리보기',\n          file: '파일 첨부',\n          url: '링크 연결',\n          camera: '카메라',\n          facebook: '페이스북',\n          dropbox: '드롭박스',\n          gdrive: '구글 드라이브',\n          gphotos: '구글 포토',\n          instagram: '인스타그램',\n          evernote: '에버노트',\n          box: '박스',\n          onedrive: '스카이드라이브',\n          flickr: '플리커'\n        },\n        file: {\n          drag: '모든 파일을<br>드래그 & 드롭',\n          nodrop: '파일 업로드',\n          cloudsTip: '클라우드 스토리지 및 소셜',\n          or: '또는',\n          button: '파일 선택',\n          also: '또는 선택하십시오'\n        },\n        url: {\n          title: '웹에서 파일 링크 연결',\n          line1: '웹에서 모든파일을 가져옵니다',\n          line2: '링크만 연결합니다.',\n          input: '링크 붙여 넣기...',\n          button: '업로드'\n        },\n        camera: {\n          title: '카메라 연결',\n          capture: '사진 찍기',\n          mirror: '거울',\n          startRecord: '비디오 녹화',\n          stopRecord: '정지',\n          cancelRecord: '취소',\n          retry: '재 시도',\n          pleaseAllow: {\n            title: '카메라 접근 허용',\n            text: '카메라 접근을 허용하시겠습니까?<br>' + '승인 요청을 해주셔야 합니다'\n          },\n          notFound: {\n            title: '카메라가 없습니다',\n            text: '이 기기에 연결된 카메라가 없습니다'\n          }\n        },\n        preview: {\n          unknownName: '알수없음',\n          change: '취소',\n          back: '뒤로',\n          done: '추가',\n          unknown: {\n            title: '업로드중, 기다려주세요',\n            done: '미리보기 건너뛰기'\n          },\n          regular: {\n            title: '이 파일을 추가하시겠습니까?',\n            line1: '위 파일을 추가하려고 합니다',\n            line2: '확인 하십시오'\n          },\n          image: {\n            title: '이미지를 추가하시겠습니까?',\n            change: '취소'\n          },\n          crop: {\n            title: '이미지 자르기 및 추가',\n            done: '완료',\n            free: '무료'\n          },\n          video: {\n            title: '비디오를 추가하시겠습니까?',\n            change: '취소'\n          },\n          error: {\n            default: {\n              title: '죄송합니다',\n              text: '업로드에 문제가 있습니다',\n              back: '다시 시도해 주세요'\n            },\n            image: {\n              title: '이미지 파일만 허용됩니다',\n              text: '다른 파일로 다시 시도하세요',\n              back: '이미지 선택'\n            },\n            size: {\n              title: '선택한 파일이 한도 초과하였습니다',\n              text: '다른 파일로 다시 시도하세요'\n            },\n            loadImage: {\n              title: '오류',\n              text: '이미지를 불러올 수 없습니다'\n            }\n          },\n          multiple: {\n            title: '%files%을(를) 선택하였습니다',\n            question: '%files%을 추가하시겠습니까?',\n            tooManyFiles: '너무 많은 파일을 추가하셨습니다. %max%가 최대 한도입니다',\n            tooFewFiles: '%files%을(를) 선택하였습니다 최소 %min%이상 필요합니다',\n            clear: '모두 삭제',\n            done: '추가',\n            file: {\n              preview: '%file% 미리보기',\n              remove: '%file% 삭제'\n            }\n          }\n        }\n      },\n      footer: {\n        text: 'powered by',\n        link: 'uploadcare'\n      }\n    } // Pluralization rules taken from:\n    // https://unicode.org/cldr/charts/34/supplemental/language_plural_rules.html\n\n  };\n\n  var pluralize$e = function pluralize(n) {\n    if (n === 1) {\n      return 'one';\n    }\n\n    return 'other';\n  };\n\n  var ko = {\n    translations: translations$e,\n    pluralize: pluralize$e\n  };\n\n  // #\n  // # Please, do not use this locale as a reference for new translations.\n  // # It could be outdated or incomplete. Always use the latest English versions:\n  // # https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascripts/uploadcare/locale/en.js\n  // #\n  // # Any fixes are welcome.\n  // #\n  var translations$f = {\n    uploading: 'Augšupielādē... Lūdzu, gaidiet.',\n    errors: {\n      default: 'Kļūda',\n      image: 'Atļauti tikai attēli'\n    },\n    draghere: 'Velciet failus šeit',\n    file: {\n      zero: '%1 failu',\n      one: '%1 fails',\n      other: '%1 faili'\n    },\n    buttons: {\n      cancel: 'Atcelt',\n      remove: 'Dzēst'\n    },\n    dialog: {\n      title: 'Ielādēt jebko no jebkurienes',\n      poweredby: 'Darbināts ar',\n      support: {\n        images: 'Attēli',\n        audio: 'Audio',\n        video: 'Video',\n        documents: 'Dokumenti'\n      },\n      tabs: {\n        file: {\n          title: 'Mans dators',\n          line1: 'Paņemiet jebkuru failu no jūsu datora.',\n          line2: 'Izvēlēties ar dialogu vai ievelciet iekšā.',\n          button: 'Meklēt failus'\n        },\n        url: {\n          title: 'Faili no tīmekļa',\n          line1: 'Paņemiet jebkuru failu no tīmekļa.',\n          line2: 'Tikai uzrādiet linku.',\n          input: 'Ielīmējiet linku šeit...',\n          button: 'Ielādēt'\n        }\n      }\n    }\n  };\n\n  var pluralize$f = function pluralize(n) {\n    if (n === 0) {\n      return 'zero';\n    }\n\n    if (n % 10 === 1 && n % 100 !== 11) {\n      return 'one';\n    }\n\n    return 'other';\n  };\n\n  var lv = {\n    translations: translations$f,\n    pluralize: pluralize$f\n  };\n\n  // #\n  // # Please, do not use this locale as a reference for new translations.\n  // # It could be outdated or incomplete. Always use the latest English versions:\n  // # https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascripts/uploadcare/locale/en.js\n  // #\n  // # Any fixes are welcome.\n  // #\n  var translations$g = {\n    uploading: 'Laster opp... Vennligst vent.',\n    loadingInfo: 'Laster inn info...',\n    errors: {\n      default: 'Feil',\n      baddata: 'Ugyldig verdi',\n      size: 'Filen er for stor',\n      upload: 'Kan ikke laste opp',\n      user: 'Opplasting avbrutt',\n      info: 'Kan ikke laste inn info',\n      image: 'Kun bilder er tillatt',\n      createGroup: 'Kan ikke opprette filgruppe',\n      deleted: 'Filen er slettet'\n    },\n    draghere: 'Dra en fil hit',\n    file: {\n      one: '%1 fil',\n      other: '%1 filer'\n    },\n    buttons: {\n      cancel: 'Avbryt',\n      remove: 'Fjern',\n      choose: {\n        files: {\n          one: 'Velg en fil',\n          other: 'Velg filer'\n        },\n        images: {\n          one: 'Velg et bilde',\n          other: 'Velg bilder'\n        }\n      }\n    },\n    dialog: {\n      done: 'Ferdig',\n      showFiles: 'Vis filer',\n      tabs: {\n        names: {\n          preview: 'Forhåndsvising',\n          file: 'Lokale filer',\n          url: 'Direktelink'\n        },\n        file: {\n          drag: 'Dra og slipp en fil her',\n          nodrop: 'Last opp filer fra datamaskinen',\n          cloudsTip: 'Skylagring<br>og sosiale tjenester',\n          or: 'eller',\n          button: 'Velg en lokal fil',\n          also: 'Du kan også velge det fra'\n        },\n        url: {\n          title: 'Filer fra internett',\n          line1: 'Velg hvilken som helst fil fra internett.',\n          line2: 'Bare gi oss linken.',\n          input: 'Lim inn linken her...',\n          button: 'Last opp'\n        },\n        preview: {\n          unknownName: 'ukjent',\n          change: 'Avbryt',\n          back: 'Tilbake',\n          done: 'Legg til',\n          unknown: {\n            title: 'Laster opp... Vennligst vent på forhåndsvisning.',\n            done: 'Hopp over forhåndsvisning og godkjenn'\n          },\n          regular: {\n            title: 'Legge til denne filen?',\n            line1: 'Filen legges nå til.',\n            line2: 'Vennligst bekreft.'\n          },\n          image: {\n            title: 'Legge til dette bildet?',\n            change: 'Avbryt'\n          },\n          crop: {\n            title: 'Kutt og legg til dette bildet',\n            done: 'Ferdig',\n            free: 'frigjør'\n          },\n          error: {\n            default: {\n              title: 'Ops!',\n              text: 'Noe gikk galt under opplastingen.',\n              back: 'Vennligst prøv igjen'\n            },\n            image: {\n              title: 'Kun bilder er akseptert.',\n              text: 'Prøv igjen med en annen fil.',\n              back: 'Velg bilde'\n            },\n            size: {\n              title: 'Den valgte filen overskrider tilatt størrelse.',\n              text: 'Vennligst prøv igjen med en annen fil.'\n            },\n            loadImage: {\n              title: 'Feil',\n              text: 'Kan ikke laste bildet'\n            }\n          },\n          multiple: {\n            title: 'Du har valgt %files%',\n            question: 'Ønsker du å legge til alle filene?',\n            tooManyFiles: 'Du har valgt for mange filer. %max% er maksimum.',\n            tooFewFiles: 'Du har valgt %files%. Minimum %min% er påkrevd.',\n            clear: 'Fjern alle',\n            done: 'Ferdig'\n          }\n        }\n      }\n    } // Pluralization rules taken from:\n    // https://unicode.org/cldr/charts/34/supplemental/language_plural_rules.html\n\n  };\n\n  var pluralize$g = function pluralize(n) {\n    if (n === 1) {\n      return 'one';\n    }\n\n    return 'other';\n  };\n\n  var nb = {\n    translations: translations$g,\n    pluralize: pluralize$g\n  };\n\n  // #\n  // # Please, do not use this locale as a reference for new translations.\n  // # It could be outdated or incomplete. Always use the latest English versions:\n  // # https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascripts/uploadcare/locale/en.js\n  // #\n  // # Any fixes are welcome.\n  // #\n  var translations$h = {\n    uploading: 'Uploaden... Even geduld.',\n    loadingInfo: 'Laden informatie...',\n    errors: {\n      default: 'Fout',\n      baddata: 'Ongeldige waarde',\n      size: 'Bestand is te groot',\n      upload: 'Kan niet uploaden',\n      user: 'Upload geannuleerd',\n      info: 'Kan informatie niet laden',\n      image: 'Alleen afbeeldingen toegestaan',\n      createGroup: 'Kan bestandsgroep niet maken',\n      deleted: 'Bestand is verwijderd'\n    },\n    draghere: 'Drop hier een bestand',\n    file: {\n      one: '%1 bestand',\n      other: '%1 bestanden'\n    },\n    buttons: {\n      cancel: 'Annuleren',\n      remove: 'Verwijderen',\n      choose: {\n        files: {\n          one: 'Kies een bestand',\n          other: 'Kies bestanden'\n        },\n        images: {\n          one: 'Kies een afbeelding',\n          other: 'Kies afbeeldingen'\n        }\n      }\n    },\n    dialog: {\n      done: 'Klaar',\n      showFiles: 'Toon bestanden',\n      tabs: {\n        names: {\n          preview: 'Voorvertoning',\n          file: 'Computer',\n          url: 'Directe links'\n        },\n        file: {\n          drag: 'Drop hier een bestand',\n          nodrop: 'Upload bestanden van je computer',\n          or: 'of',\n          button: 'Selecteer een bestand op je computer',\n          also: 'Je kan ook selecteren van'\n        },\n        url: {\n          title: 'Bestanden op het web',\n          line1: 'Selecteer een bestand op het web.',\n          line2: 'Voer de link in.',\n          input: 'Plak de link hier...',\n          button: 'Upload'\n        },\n        preview: {\n          unknownName: 'onbekend',\n          change: 'Annuleren',\n          back: 'Terug',\n          done: 'Toevoegen',\n          unknown: {\n            title: 'Uploaden... Wacht op de voorvertoning.',\n            done: 'Voorvertoning overslaan an accepteren'\n          },\n          regular: {\n            title: 'Dit bestand toevoegen?',\n            line1: 'Je staat op het punt bovenstaand bestand toe te voegen.',\n            line2: 'Bevestig'\n          },\n          image: {\n            title: 'Voeg deze afbeelding toe?',\n            change: 'Annuleren'\n          },\n          crop: {\n            title: 'Afbeelding bijknippen en toevoegen',\n            done: 'Klaar'\n          },\n          error: {\n            default: {\n              title: 'Oeps!',\n              text: 'Er is een fout opgetreden tijdens het uploaden.',\n              back: 'Probeer opnieuw'\n            },\n            image: {\n              title: 'Alleen afbeeldingen worden geaccepteerd.',\n              text: 'Probeer opnieuw met een andere bestand.',\n              back: 'Selecteer afbeelding'\n            },\n            size: {\n              title: 'Het geselecteerd bestand is groter dan de limiet.',\n              text: 'Probeer opnieuw met een andere bestand.'\n            },\n            loadImage: {\n              title: 'Fout',\n              text: 'Kan afbeelding niet laden'\n            }\n          },\n          multiple: {\n            title: 'Je hebt de volgende bestanden geselecteerd %files%',\n            question: 'Wil je al deze bestanden toevoegen?',\n            tooManyFiles: 'Je hebt teveel bestanden geselecteerd. %max% is het maximum.',\n            tooFewFiles: 'Je hebt de volgende bestanden geselecteerd %files%. Minimaal %min% is verplicht.',\n            clear: 'Verwijder alle bestanden',\n            done: 'Klaar'\n          }\n        }\n      }\n    } // Pluralization rules taken from:\n    // https://unicode.org/cldr/charts/34/supplemental/language_plural_rules.html\n\n  };\n\n  var pluralize$h = function pluralize(n) {\n    if (n === 1) {\n      return 'one';\n    }\n\n    return 'other';\n  };\n\n  var nl = {\n    translations: translations$h,\n    pluralize: pluralize$h\n  };\n\n  // #\n  // # Please, do not use this locale as a reference for new translations.\n  // # It could be outdated or incomplete. Always use the latest English versions:\n  // # https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascripts/uploadcare/locale/en.js\n  // #\n  // # Any fixes are welcome.\n  // #\n  var translations$i = {\n    uploading: 'Przesyłanie... Proszę czekać.',\n    loadingInfo: 'Ładowanie...',\n    errors: {\n      default: 'Błąd',\n      baddata: 'Niepoprawna wartość',\n      size: 'Plik zbyt duży',\n      upload: 'Nie udało się przesłać',\n      user: 'Przesyłanie anulowane',\n      info: 'Nie udało się załadować informacji',\n      image: 'Dozwolone są tylko obrazy',\n      createGroup: 'Nie udało się utworzyć grupy plików',\n      deleted: 'Plik został usunięty'\n    },\n    draghere: 'Upuść plik tutaj',\n    file: {\n      one: '%1 plik',\n      few: '%1 pliki',\n      many: '%1 plików'\n    },\n    buttons: {\n      cancel: 'Anuluj',\n      remove: 'Usuń',\n      choose: {\n        files: {\n          one: 'Wybierz plik',\n          other: 'Wybierz pliki'\n        },\n        images: {\n          one: 'Wybierz obraz',\n          other: 'Wybierz obrazy'\n        }\n      }\n    },\n    dialog: {\n      close: 'Zamknij',\n      openMenu: 'Otwórz menu',\n      done: 'Wykonano',\n      showFiles: 'Pokaż pliki',\n      tabs: {\n        names: {\n          'empty-pubkey': 'Witaj',\n          preview: 'Podgląd',\n          file: 'Pliki lokalne',\n          url: 'Plik z Sieci',\n          camera: 'Aparat'\n        },\n        file: {\n          drag: 'Upuść plik tutaj',\n          nodrop: 'Prześlij pliki z Twojego komputera',\n          cloudsTip: 'Dane w chmurze<br>i sieci społecznościowe',\n          or: 'lub',\n          button: 'Wybierz plik lokalny',\n          also: 'Możesz również wybrać z'\n        },\n        url: {\n          title: 'Pliki z Sieci',\n          line1: 'Złap jakikolwiej plik z sieci.',\n          line2: 'Podaj adres.',\n          input: 'Wklej link...',\n          button: 'Prześlij'\n        },\n        camera: {\n          title: 'Plik z kamery internetowej',\n          capture: 'Zrób zdjęcie',\n          mirror: 'Odbicie lustrzane',\n          startRecord: 'Nagraj film',\n          stopRecord: 'Zakończ',\n          cancelRecord: 'Anuluj',\n          retry: 'Poproś ponownie o dostęp',\n          pleaseAllow: {\n            title: 'Prośba o udostępnienie aparatu',\n            text: 'Zostałeś poproszony przez tę stronę o dostęp do aparatu. ' + 'Aby robić zdjecia, musisz zaakceptować tę prośbę.'\n          },\n          notFound: {\n            title: 'Nie wykryto aparatu.',\n            text: 'Wygląda na to, że nie masz podłączonego aparatu do tego urządzenia.'\n          }\n        },\n        preview: {\n          unknownName: 'nieznany',\n          change: 'Anuluj',\n          back: 'Wstecz',\n          done: 'Dodaj',\n          unknown: {\n            title: 'Przesyłanie... Proszę czekać na podgląd.',\n            done: 'Omiń podgląd i zaakceptuj.'\n          },\n          regular: {\n            title: 'Dodać ten plik?',\n            line1: 'Zamierzasz dodać nowy plik.',\n            line2: 'Potwierdź, proszę.'\n          },\n          image: {\n            title: 'Dodać ten obraz?',\n            change: 'Anuluj'\n          },\n          crop: {\n            title: 'Przytnij i dodaj ten obraz',\n            done: 'Wykonano',\n            free: 'wolny'\n          },\n          video: {\n            title: 'Dodać ten film?',\n            change: 'Anuluj'\n          },\n          error: {\n            default: {\n              title: 'Oops!',\n              text: 'Coś poszło nie tak podczas przesyłania.',\n              back: 'Spróbuj ponownie'\n            },\n            image: {\n              title: 'Akceptowane są tylko obrazy.',\n              text: 'Spróbuj ponownie z innym plikiem.',\n              back: 'Wybierz obraz'\n            },\n            size: {\n              title: 'Plik, który wybrałeś, przekracza dopuszczalny rozmiar',\n              text: 'Spróbuj ponownie z innym plikiem.'\n            },\n            loadImage: {\n              title: 'Błąd',\n              text: 'Nie udało się załadować obrazu'\n            }\n          },\n          multiple: {\n            title: 'Wybrałeś %files%',\n            question: 'Czy chcesz dodać wszystkie te pliki?',\n            tooManyFiles: 'Wybrałeś zbyt wiele plików. Maksimum to %max%.',\n            tooFewFiles: 'Wybrałeś %files%. Wymagane jest co najmniej %min%.',\n            clear: 'Usuń wszystkie',\n            done: 'Wykonano',\n            file: {\n              preview: 'Zobacz %file%',\n              remove: 'Usuń %file%'\n            }\n          }\n        }\n      }\n    } // Pluralization rules taken from:\n    // https://unicode.org/cldr/charts/34/supplemental/language_plural_rules.html\n\n  };\n\n  var pluralize$i = function pluralize(n) {\n    var ref;\n\n    if (n === 1) {\n      return 'one';\n    } else if ((ref = n % 10) >= 2 && ref <= 4 && (n / 10 % 10 | 0) !== 1) {\n      return 'few';\n    } else {\n      return 'many';\n    }\n  };\n\n  var pl = {\n    translations: translations$i,\n    pluralize: pluralize$i\n  };\n\n  // #\n  // # Please, do not use this locale as a reference for new translations.\n  // # It could be outdated or incomplete. Always use the latest English versions:\n  // # https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascripts/uploadcare/locale/en.js\n  // #\n  // # Any fixes are welcome.\n  // #\n  var translations$j = {\n    uploading: 'Fazendo upload... Aguarde.',\n    loadingInfo: 'Carregando informações...',\n    errors: {\n      default: 'Erro',\n      baddata: 'Valor incorreto',\n      size: 'Arquivo muito grande',\n      upload: 'Não foi possível fazer o upload',\n      user: 'Upload cancelado',\n      info: 'Não foi possível carregar as informações',\n      image: 'Apenas imagens são permitidas',\n      createGroup: 'Não foi possível criar o grupo de arquivos',\n      deleted: 'O arquivo foi excluído'\n    },\n    draghere: 'Arraste um arquivo aqui',\n    file: {\n      one: '%1 arquivo',\n      other: '%1 arquivos'\n    },\n    buttons: {\n      cancel: 'Cancelar',\n      remove: 'Excluir',\n      choose: {\n        files: {\n          one: 'Escolha um arquivo',\n          other: 'Escolha arquivos'\n        },\n        images: {\n          one: 'Escolha uma imagem',\n          other: 'Escolha imagens'\n        }\n      }\n    },\n    dialog: {\n      done: 'OK',\n      showFiles: 'Mostrar arquivos',\n      tabs: {\n        names: {\n          preview: 'Pré-estréia',\n          file: 'Computador',\n          url: 'Link da web'\n        },\n        file: {\n          drag: 'Arraste um arquivo aqui',\n          nodrop: 'Faça upload de arquivos do seu computador',\n          or: 'ou',\n          button: 'Escolha um arquivo do computador',\n          also: 'Você também pode escolher arquivos de'\n        },\n        url: {\n          title: 'Arquivos da web',\n          line1: 'Faça upload de qualquer arquivo da web.',\n          line2: 'Apenas informe o link.',\n          input: 'Cole seu link aqui...',\n          button: 'Upload'\n        },\n        camera: {\n          capture: 'Tirar uma foto',\n          mirror: 'Espelhar',\n          startRecord: 'Gravar um vídeo',\n          stopRecord: 'Parar',\n          cancelRecord: 'Cancelar',\n          retry: 'Requisitar permissão novamente',\n          pleaseAllow: {\n            title: 'Por favor permita o acesso a sua câmera',\n            text: 'Você foi solicitado a permitir o acesso à câmera a partir deste site. ' + 'Para tirar fotos com sua câmera, você deve aprovar este pedido.'\n          },\n          notFoud: {\n            title: 'Câmera não detectada',\n            text: 'Parece que você não tem uma câmera conectada a este dispositivo'\n          }\n        },\n        preview: {\n          unknownName: 'desconhecido',\n          change: 'Cancelar',\n          back: 'Voltar',\n          done: 'Adicionar',\n          unknown: {\n            title: 'Fazendo upload... Aguarde a visualização.',\n            done: 'Pular visualização e aceitar'\n          },\n          regular: {\n            title: 'Adicionar esse arquivo?',\n            line1: 'Você está prestes a adicionar o arquivo acima.',\n            line2: 'Por favor, confirme.'\n          },\n          image: {\n            title: 'Adicionar essa imagem?',\n            change: 'Cancelar'\n          },\n          crop: {\n            title: 'Cortar e adicionar essa imagem',\n            done: 'OK',\n            free: 'livre'\n          },\n          error: {\n            default: {\n              title: 'Oops!',\n              text: 'Alguma coisa deu errado durante o upload.',\n              back: 'Por favor, tente novamente'\n            },\n            image: {\n              title: 'Apenas arquivos de imagem são aceitos.',\n              text: 'Por favor, tente novamente com outro arquivo.',\n              back: 'Escolher a imagem'\n            },\n            size: {\n              title: 'O arquivo que você escolheu excede o limite.',\n              text: 'Por favor, tente novamente com outro arquivo.'\n            },\n            loadImage: {\n              title: 'Erro',\n              text: 'Não foi possível carregar a imagem'\n            }\n          },\n          multiple: {\n            title: 'Você escolheu',\n            question: 'Você quer adicionar todos esses arquivos?',\n            clear: 'Excluir todos',\n            done: 'OK'\n          }\n        }\n      }\n    } // Pluralization rules taken from:\n    // https://unicode.org/cldr/charts/34/supplemental/language_plural_rules.html\n\n  };\n\n  var pluralize$j = function pluralize(n) {\n    if (n === 1) {\n      return 'one';\n    }\n\n    return 'other';\n  };\n\n  var pt = {\n    translations: translations$j,\n    pluralize: pluralize$j\n  };\n\n  // #\n  // # Please, do not use this locale as a reference for new translations.\n  // # It could be outdated or incomplete. Always use the latest English versions:\n  // # https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascripts/uploadcare/locale/en.js\n  // #\n  // # Any fixes are welcome.\n  // #\n  var translations$k = {\n    uploading: 'Se încarcă... Răbdare.',\n    loadingInfo: 'Info încărcare...',\n    errors: {\n      default: 'Eroare',\n      baddata: 'Valoare incorectă',\n      size: 'Fișier prea mare',\n      upload: 'Nu pot încărca',\n      user: 'Încărcare anulată',\n      info: 'Nu pot încărca info',\n      image: 'Doar imagini, vă rog',\n      createGroup: 'Nu pot crea grup de fișiere',\n      deleted: 'Fișierul a fost șters'\n    },\n    draghere: 'Trage un fișier aici',\n    file: {\n      one: '%1 fișier',\n      other: '%1 fișiere'\n    },\n    buttons: {\n      cancel: 'Anulare',\n      remove: 'Șterge',\n      choose: {\n        files: {\n          one: 'Alege un fișier',\n          other: 'Alege fișiere'\n        },\n        images: {\n          one: 'Alege o imagine',\n          other: 'Alege imagini'\n        }\n      }\n    },\n    dialog: {\n      close: 'Închide',\n      openMenu: 'Deschide meniu',\n      done: 'Gata',\n      showFiles: 'Arată fișiere',\n      tabs: {\n        names: {\n          'empty-pubkey': 'Bine ai venit',\n          preview: 'Previzualizare',\n          file: 'Fișiere locale',\n          url: 'Link direct',\n          camera: 'Camera',\n          facebook: 'Facebook',\n          dropbox: 'Dropbox',\n          gdrive: 'Google Drive',\n          gphotos: 'Google Photos',\n          instagram: 'Instagram',\n          vk: 'VK',\n          evernote: 'Evernote',\n          box: 'Box',\n          onedrive: 'OneDrive',\n          flickr: 'Flickr',\n          huddle: 'Huddle'\n        },\n        file: {\n          drag: 'trage aici<br>fișierele',\n          nodrop: 'Încarcă fișiere din computer',\n          cloudsTip: 'Cloud <br>și rețle sociale',\n          or: 'sau',\n          button: 'Alege un fișier local',\n          also: 'sau alege din'\n        },\n        url: {\n          title: 'Fișiere din Web',\n          line1: 'Ia orice fișier din Web.',\n          line2: 'Trebuie să ai doar linkul.',\n          input: 'Lipește linkul aici...',\n          button: 'Încarcă'\n        },\n        camera: {\n          title: 'Fișier din camera web',\n          capture: 'Fă o fotografie',\n          mirror: 'Mirror',\n          startRecord: 'Înregistrează un video',\n          stopRecord: 'Stop',\n          cancelRecord: 'Anulează',\n          retry: 'Cere permisiune din nou',\n          pleaseAllow: {\n            title: 'Te rog sa-mi dai acces la cameră',\n            text: 'Ai fost rugat să dai acces la cameră de acest site.<br>' + 'Pentru a putea face fotografii cu camera, trebuie să aprobi această cerere.'\n          },\n          notFound: {\n            title: 'Nicio cameră detectată',\n            text: 'Se pare că nu ai nicio cameră atașată acestui device.'\n          }\n        },\n        preview: {\n          unknownName: 'necunoscut',\n          change: 'Anulează',\n          back: 'Înapoi',\n          done: 'Adaugă',\n          unknown: {\n            title: 'Se încarcă... Te rog așteaptă previzualizarea.',\n            done: 'Sari peste previzualizare și acceptă'\n          },\n          regular: {\n            title: 'Adaug acest fișier?',\n            line1: 'Ești pe punctul de a adăuga fișierul de mai sus.',\n            line2: 'Te rog confirmă.'\n          },\n          image: {\n            title: 'Adaug această imagine?',\n            change: 'Anulează'\n          },\n          crop: {\n            title: 'Decupează și adaugă aceasta imagine',\n            done: 'Gata',\n            free: 'gratis'\n          },\n          video: {\n            title: 'Adaug acest video?',\n            change: 'anulează'\n          },\n          error: {\n            default: {\n              title: 'Oops!',\n              text: 'A intervenit o problemă la încărcare.',\n              back: 'te rog încearcă din nou'\n            },\n            image: {\n              title: 'Sunt acceptate doar imagini.',\n              text: 'Te rog încearcă din nou cu un alt fișier.',\n              back: 'Alege imagine'\n            },\n            size: {\n              title: 'Fișierul selectat de tine este prea mare.',\n              text: 'Te rog să încerci cu alt fișier.'\n            },\n            loadImage: {\n              title: 'Eroare',\n              text: 'Nu pot încărca imaginea'\n            }\n          },\n          multiple: {\n            title: 'Ai ales %files%.',\n            question: 'Adaug %files%?',\n            tooManyFiles: 'Ai ales prea multe fișiere. %max% is maximum.',\n            tooFewFiles: 'Ai ales %files%. Minimul este %min% .',\n            clear: 'Șterge toate',\n            done: 'Adaugă',\n            file: {\n              preview: 'Previzualizare %file%',\n              remove: 'Șterge %file%'\n            }\n          }\n        }\n      },\n      footer: {\n        text: 'powered by',\n        link: 'uploadcare'\n      }\n    } // Pluralization rules taken from:\n    // https://unicode.org/cldr/charts/34/supplemental/language_plural_rules.html\n\n  };\n\n  var pluralize$k = function pluralize(n) {\n    if (n === 1) {\n      return 'one';\n    }\n\n    return 'other';\n  };\n\n  var ro = {\n    translations: translations$k,\n    pluralize: pluralize$k\n  };\n\n  // #\n  // # Please, do not use this locale as a reference for new translations.\n  // # It could be outdated or incomplete. Always use the latest English versions:\n  // # https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascripts/uploadcare/locale/en.js\n  // #\n  // # Any fixes are welcome.\n  // #\n  var translations$l = {\n    uploading: 'Идет загрузка',\n    loadingInfo: 'Загрузка информации...',\n    errors: {\n      default: 'Ошибка',\n      baddata: 'Некорректные данные',\n      size: 'Слишком большой файл',\n      upload: 'Ошибка при загрузке',\n      user: 'Загрузка прервана',\n      info: 'Ошибка при загрузке информации',\n      image: 'Разрешены только изображения',\n      createGroup: 'Не удалось создать группу файлов',\n      deleted: 'Файл удалён'\n    },\n    draghere: 'Перетащите файл сюда',\n    file: {\n      one: '%1 файл',\n      few: '%1 файла',\n      many: '%1 файлов'\n    },\n    buttons: {\n      cancel: 'Отмена',\n      remove: 'Удалить',\n      choose: {\n        files: {\n          one: 'Выбрать файл',\n          other: 'Выбрать файлы'\n        },\n        images: {\n          one: 'Выбрать изображение',\n          other: 'Выбрать изображения'\n        }\n      }\n    },\n    dialog: {\n      done: 'Готово',\n      showFiles: 'Показать файлы',\n      tabs: {\n        names: {\n          preview: 'Предпросмотр',\n          'empty-pubkey': 'Приветствие',\n          file: 'Локальные файлы',\n          vk: 'ВКонтакте',\n          url: 'Ссылка',\n          camera: 'Камера'\n        },\n        file: {\n          drag: 'Перетащите файл сюда',\n          nodrop: 'Загрузка файлов с вашего компьютера',\n          cloudsTip: 'Облачные хранилища<br>и социальные сети',\n          or: 'или',\n          button: 'Выберите локальный файл',\n          also: 'Вы также можете загрузить файлы, используя:'\n        },\n        url: {\n          title: 'Файлы с других сайтов',\n          line1: 'Загрузите любой файл из сети.',\n          line2: '',\n          input: 'Укажите здесь ссылку...',\n          button: 'Загрузить'\n        },\n        camera: {\n          title: 'Файл из видеокамеры',\n          capture: 'Сделать снимок',\n          mirror: 'Отразить',\n          retry: 'Повторно запросить разрешение',\n          pleaseAllow: {\n            title: 'Пожалуйста, разрешите доступ к камере',\n            text: 'Для того, чтобы сделать снимок, мы запросили разрешение ' + 'на доступ к камере с этого сайта.'\n          },\n          notFound: {\n            title: 'Камера не найдена',\n            text: 'Скорее всего камера не подключена или не настроена.'\n          }\n        },\n        preview: {\n          unknownName: 'неизвестно',\n          change: 'Отмена',\n          back: 'Назад',\n          done: 'Добавить',\n          unknown: {\n            title: 'Загрузка... Пожалуйста подождите.',\n            done: 'Пропустить предварительный просмотр'\n          },\n          regular: {\n            title: 'Загрузить этот файл?',\n            line1: 'Вы собираетесь добавить этот файл:',\n            line2: 'Пожалуйста, подтвердите.'\n          },\n          image: {\n            title: 'Добавить это изображение?',\n            change: 'Отмена'\n          },\n          video: {\n            title: 'Добавить это видео?',\n            change: 'Отмена'\n          },\n          crop: {\n            title: 'Обрезать и добавить это изображение',\n            done: 'Готово',\n            free: 'произв.'\n          },\n          error: {\n            default: {\n              title: 'Ой!',\n              text: 'Что-то пошло не так во время загрузки.',\n              back: 'Пожалуйста, попробуйте ещё раз'\n            },\n            image: {\n              title: 'Можно загружать только изображения.',\n              text: 'Попробуйте загрузить другой файл.',\n              back: 'Выберите изображение'\n            },\n            size: {\n              title: 'Размер выбранного файла превышает лимит.',\n              text: 'Попробуйте загрузить другой файл.'\n            },\n            loadImage: {\n              title: 'Ошибка',\n              text: 'Изображение не удалось загрузить'\n            }\n          },\n          multiple: {\n            title: 'Вы выбрали %files%',\n            question: 'Добавить все эти файлы?',\n            tooManyFiles: 'Вы выбрали слишком много файлов. %max% максимум.',\n            tooFewFiles: 'Вы выбрали %files%. Нужно не меньше %min%.',\n            clear: 'Удалить все',\n            done: 'Добавить',\n            file: {\n              preview: 'Предпросмотр %file%',\n              remove: 'Удалить %file%'\n            }\n          }\n        }\n      }\n    } // Pluralization rules taken from:\n    // https://unicode.org/cldr/charts/34/supplemental/language_plural_rules.html\n\n  };\n\n  var pluralize$l = function pluralize(n) {\n    if ((n / 10 % 10 | 0) === 1 || n % 10 === 0 || n % 10 > 4) {\n      return 'many';\n    } else if (n % 10 === 1) {\n      return 'one';\n    } else {\n      return 'few';\n    }\n  };\n\n  var ru = {\n    translations: translations$l,\n    pluralize: pluralize$l\n  };\n\n  // #\n  // # Please, do not use this locale as a reference for new translations.\n  // # It could be outdated or incomplete. Always use the latest English versions:\n  // # https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascripts/uploadcare/locale/en.js\n  // #\n  // # Any fixes are welcome.\n  // #\n  var translations$m = {\n    uploading: 'Nahrávam... Prosím počkajte.',\n    loadingInfo: 'Nahrávam informácie...',\n    errors: {\n      default: 'Chyba',\n      baddata: 'Nesprávna hodnota',\n      size: 'Súbor je príliš veľký',\n      upload: 'Nedá sa nahrať',\n      user: 'Nahrávanie bolo zrušené',\n      info: 'Informácie sa nedajú nahrať',\n      image: 'Povolené sú len obrázky',\n      createGroup: 'Nie je možné vytvoriť priečinok',\n      deleted: 'Súbor bol odstránený'\n    },\n    draghere: 'Sem presuňte súbor',\n    file: {\n      one: '%1 súbor',\n      few: '%1 súbory',\n      other: '%1 súborov'\n    },\n    buttons: {\n      cancel: 'Zrušiť',\n      remove: 'Odstrániť',\n      choose: {\n        files: {\n          one: 'Vyberte súbor',\n          other: 'Vyberte súbory'\n        },\n        images: {\n          one: 'Vyberte obrázok',\n          other: 'Vyberte obrázky'\n        }\n      }\n    },\n    dialog: {\n      close: 'Zavrieť',\n      openMenu: 'Otvoriť menu',\n      done: 'Hotovo',\n      showFiles: 'Ukázať súbory',\n      tabs: {\n        names: {\n          'empty-pubkey': 'Vitajte',\n          preview: 'Náhľad',\n          file: 'Z počítača',\n          url: 'Z internetu',\n          camera: 'Kamera',\n          facebook: 'Facebook',\n          dropbox: 'Dropbox',\n          gdrive: 'Disk Google',\n          gphotos: 'Google Obrázky',\n          instagram: 'Instagram',\n          vk: 'VK',\n          evernote: 'Evernote',\n          box: 'Box',\n          onedrive: 'OneDrive',\n          flickr: 'Flickr',\n          huddle: 'Huddle'\n        },\n        file: {\n          drag: 'presuňte a vložte<br>akékoľvek súbory',\n          nodrop: 'Nahrajte súbory z vášho&nbsp;počítača',\n          cloudsTip: 'Cloud úložiská<br>a sociálne siete',\n          or: 'alebo',\n          button: 'Vyberte súbor z počítača',\n          also: 'alebo vyberte z'\n        },\n        url: {\n          title: 'Súbory z internetu',\n          line1: 'Uložte akýkoľvek súbor z internetu.',\n          line2: 'Stačí pridať odkaz na neho.',\n          input: 'Vložte svoj odkaz sem...',\n          button: 'Nahrať'\n        },\n        camera: {\n          title: 'Súbor z webkamery',\n          capture: 'Odfotiť',\n          mirror: 'Zrkadliť',\n          startRecord: 'Natočte video',\n          stopRecord: 'Prestať natáčať',\n          cancelRecord: 'Zrušiť',\n          retry: 'Znovu požiadať o prístup',\n          pleaseAllow: {\n            title: 'Prosím povoľte prístup k vašej kamere',\n            text: 'Boli ste vyzvaní aby ste umožnili tejto stránke prístup ku kamere.<br>' + 'Prístup musíte povolit aby ste mohli fotiť s vašou kamerou.'\n          },\n          notFound: {\n            title: 'Kamera nebola nájdená',\n            text: 'Zdá sa, že k tomuto zariadeniu nemáte pripojenú kameru.'\n          }\n        },\n        preview: {\n          unknownName: 'neznámy',\n          change: 'Zrušiť',\n          back: 'Späť',\n          done: 'Pridať',\n          unknown: {\n            title: 'Nahráva sa... Prosím počkajte na náhľad.',\n            done: 'Preskočiť náhľad a nahrať'\n          },\n          regular: {\n            title: 'Pridať tento súbor?',\n            line1: 'Chystáte sa pridať vyššie uvedený súbor.',\n            line2: 'Prosím potvrďte váš výber.'\n          },\n          image: {\n            title: 'Pridať tento obrázok?',\n            change: 'Zrušiť'\n          },\n          crop: {\n            title: 'Orezať a pridať túto fotku',\n            done: 'Hotovo',\n            free: 'obnoviť'\n          },\n          video: {\n            title: 'Pridať toto video?',\n            change: 'Zrušiť'\n          },\n          error: {\n            default: {\n              title: 'Ejha!',\n              text: 'Pri nahrávaní sa vyskytla chyba.',\n              back: 'Skúste to znovu'\n            },\n            image: {\n              title: 'Je možné nahrávať len obrázky',\n              text: 'Skúste to znovu s iným súborom.',\n              back: 'Vybrať obrázok'\n            },\n            size: {\n              title: 'Súbor, ktorý ste vybrali presahuje povolenú veľkosť.',\n              text: 'Skúste to znovu s iným súborom.'\n            },\n            loadImage: {\n              title: 'Chyba',\n              text: 'Obrázok nie je možné vyhľadať'\n            }\n          },\n          multiple: {\n            title: 'Vybrali ste %files%.',\n            question: 'Pridať %files%?',\n            tooManyFiles: 'Vybrali ste príliš veľa súborov. Maximum je %max%.',\n            tooFewFiles: 'Vybrali ste %files%. Potrebných je aspoň %min%.',\n            clear: 'Odstrániť všetky',\n            done: 'Pridať',\n            file: {\n              preview: 'Nahliadnuť na %file%',\n              remove: 'Odstrániť %file%'\n            }\n          }\n        }\n      }\n    } // Pluralization rules taken from:\n    // https://unicode.org/cldr/charts/34/supplemental/language_plural_rules.html\n\n  };\n\n  var pluralize$m = function pluralize(n) {\n    if (n === 1) {\n      return 'one';\n    } else if (n >= 2 && n <= 4) {\n      return 'few';\n    } else {\n      return 'many';\n    }\n  };\n\n  var sk = {\n    translations: translations$m,\n    pluralize: pluralize$m\n  };\n\n  // #\n  // # Please, do not use this locale as a reference for new translations.\n  // # It could be outdated or incomplete. Always use the latest English versions:\n  // # https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascripts/uploadcare/locale/en.js\n  // #\n  // # Any fixes are welcome.\n  // #\n  var translations$n = {\n    uploading: 'Шаљем... Молимо сачекајте.',\n    loadingInfo: 'Учитавам информације...',\n    errors: {\n      default: 'Грешка',\n      baddata: 'Погрешна вредност',\n      size: 'Фајл је сувише велик',\n      upload: 'Не могу да пошаљем',\n      user: 'Слање прекинуто',\n      info: 'Не могу да учитам информације',\n      image: 'Дозвољене су само слике',\n      createGroup: 'Не могу да направим групу фајлова',\n      deleted: 'Фајл је обрисан'\n    },\n    draghere: 'Убаците фајл овде',\n    file: {\n      one: '%1 фајл',\n      other: '%1 фајлова'\n    },\n    buttons: {\n      cancel: 'Поништи',\n      remove: 'Избаци',\n      choose: {\n        files: {\n          one: 'Изабери фајл',\n          other: 'Изабери фајлове'\n        },\n        images: {\n          one: 'Изабери слику',\n          other: 'Изабери слике'\n        }\n      }\n    },\n    dialog: {\n      close: 'Затвори',\n      openMenu: 'Отвори мени',\n      done: 'Готово',\n      showFiles: 'Покажи фајлове',\n      tabs: {\n        names: {\n          'empty-pubkey': 'Добродошли',\n          preview: 'Погледај',\n          file: 'Локални фајлови',\n          url: 'Директан линк',\n          camera: 'Камера',\n          facebook: 'Фејсбук',\n          dropbox: 'Dropbox',\n          gdrive: 'Google Drive',\n          gphotos: 'Google Photos',\n          instagram: 'Инстаграм',\n          vk: 'VK',\n          evernote: 'Evernote',\n          box: 'Box',\n          onedrive: 'OneDrive',\n          flickr: 'Flickr',\n          huddle: 'Huddle'\n        },\n        file: {\n          drag: 'превуци<br>било које фајлове',\n          nodrop: 'Пошаљи фајлове са твог&nbsp;компјутера',\n          cloudsTip: 'Клауд<br>и социјалне мреже',\n          or: 'или',\n          button: 'Изабери локални фајл',\n          also: 'или изабери'\n        },\n        url: {\n          title: 'Фајлове са Интернета',\n          line1: 'Изабери било који фајл са Интернета.',\n          line2: 'Само убаци линк.',\n          input: 'Убаци линк овде...',\n          button: 'Пошаљи'\n        },\n        camera: {\n          title: 'Фајл са камере',\n          capture: 'Усликај',\n          mirror: 'Огледало',\n          startRecord: 'Сними видео',\n          stopRecord: 'Заустави',\n          cancelRecord: 'Поништи',\n          retry: 'Тражи дозволу поново',\n          pleaseAllow: {\n            title: 'Молимо вас да дозволите приступ вашој камери',\n            text: 'Упитани сте да дозволите приступ вашој камери са овог сајта.<br>' + 'Уколико желите да сликате, морате одобрити овај захтев.'\n          },\n          notFound: {\n            title: 'Камера није препозната',\n            text: 'Изгледа да немате камеру на овом уређају.'\n          }\n        },\n        preview: {\n          unknownName: 'непознато',\n          change: 'Поништи',\n          back: 'Назад',\n          done: 'Додај',\n          unknown: {\n            title: 'Шаљем... Сачекајте за приказ.',\n            done: 'Прескочи приказ и прихвати'\n          },\n          regular: {\n            title: 'Додај овај фајл?',\n            line1: 'Управо ћете додати овај фајл изнад.',\n            line2: 'Молимо потврдите.'\n          },\n          image: {\n            title: 'Додај ову слику?',\n            change: 'Поништи'\n          },\n          crop: {\n            title: 'Кропуј и додај ову слику',\n            done: 'Урађено',\n            free: 'слободно'\n          },\n          video: {\n            title: 'Додај овај видео?',\n            change: 'Поништи'\n          },\n          error: {\n            default: {\n              title: 'Ооопс!',\n              text: 'Нешто је искрсло у току слања.',\n              back: 'Молимо покушајте поново'\n            },\n            image: {\n              title: 'Дозвљене су само слике.',\n              text: 'Молимо покушајте са другим фајлом.',\n              back: 'Изабери слику'\n            },\n            size: {\n              title: 'Фајл који сте изабрали премашује лимит.',\n              text: 'Молимо покушајте са другим фајлом.'\n            },\n            loadImage: {\n              title: 'Грешка',\n              text: 'Не могу да учитам слику'\n            }\n          },\n          multiple: {\n            title: 'Изабрали сте %files%.',\n            question: 'Додај %files%?',\n            tooManyFiles: 'Изабрали сте превише фајлова. %max% је максимално.',\n            tooFewFiles: 'Изабрали сте %files%. Морате најмање %min% фајла.',\n            clear: 'Избаци све',\n            done: 'Додај',\n            file: {\n              preview: 'Прегледај %file%',\n              remove: 'Избаци %file%'\n            }\n          }\n        }\n      },\n      footer: {\n        text: 'направио',\n        link: 'uploadcare'\n      }\n    } // Pluralization rules taken from:\n    // https://unicode.org/cldr/charts/34/supplemental/language_plural_rules.html\n\n  };\n\n  var pluralize$n = function pluralize(n) {\n    if (n === 1) {\n      return 'one';\n    }\n\n    return 'other';\n  };\n\n  var sr = {\n    translations: translations$n,\n    pluralize: pluralize$n\n  };\n\n  // #\n  // # Please, do not use this locale as a reference for new translations.\n  // # It could be outdated or incomplete. Always use the latest English versions:\n  // # https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascripts/uploadcare/locale/en.js\n  // #\n  // # Any fixes are welcome.\n  // #\n  var translations$o = {\n    uploading: 'Laddar... Var god vänta.',\n    loadingInfo: 'Laddar info...',\n    errors: {\n      default: 'Fel',\n      baddata: 'Felaktigt värde',\n      size: 'Filen är för stor',\n      upload: 'Kan inte ladda upp',\n      user: 'Uppladdning avbruten',\n      info: 'Kan inte ladda informationen',\n      image: 'Endast bilder tillåtna',\n      createGroup: 'Kan inte skapa filgrupp',\n      deleted: 'Fil raderad'\n    },\n    draghere: 'Dra filen hit',\n    file: {\n      one: '%1 fil',\n      other: '%1 filer'\n    },\n    buttons: {\n      cancel: 'Avbryt',\n      remove: 'Ta bort',\n      choose: {\n        files: {\n          one: 'Välj fil',\n          other: 'Välj filer'\n        },\n        images: {\n          one: 'Välj en bild',\n          other: 'Välj bilder'\n        }\n      }\n    },\n    dialog: {\n      done: 'Klar',\n      showFiles: 'Visa filer',\n      tabs: {\n        names: {\n          'empty-pubkey': 'Välkommen',\n          preview: 'Förhandsgranskning',\n          file: 'Lokala filer',\n          url: 'Direkta länkar',\n          camera: 'Kamera'\n        },\n        file: {\n          drag: 'Släpp filen här',\n          nodrop: 'Ladda upp filer från din dator',\n          cloudsTip: 'Molnlagring<br>och sociala nätverk',\n          or: 'eller',\n          button: 'Välj en lokal fil',\n          also: 'Du kan också välja den från'\n        },\n        url: {\n          title: 'Filer från webben',\n          line1: 'Välj en fil från en webbadress.',\n          line2: 'Ange bara länken till filen.',\n          input: 'Klistra in din länk här...',\n          button: 'Ladda upp'\n        },\n        camera: {\n          capture: 'Ta ett foto',\n          mirror: 'Spegel',\n          retry: 'Begär tillstånd igen',\n          pleaseAllow: {\n            title: 'Vänligen ge tillgång till din kamera',\n            text: 'Du har uppmanats att tillåta att denna webbplats får tillgång till din kamera.' + 'För att ta bilder med din kamera måste du godkänna denna begäran.'\n          },\n          notFound: {\n            title: 'Ingen kamera hittades',\n            text: 'Det verkar som att du inte har någon kamera ansluten till denna enheten.'\n          }\n        },\n        preview: {\n          unknownName: 'okänd',\n          change: 'Avbryt',\n          back: 'Tillbaka',\n          done: 'Lägg till',\n          unknown: {\n            title: 'Laddar... Vänligen vänta på förhandsgranskning.',\n            done: 'Skippa förhandsgranskning och acceptera'\n          },\n          regular: {\n            title: 'Lägg till denna filen?',\n            line1: 'Du håller på att lägga till filen ovan.',\n            line2: 'Vänligen bekräfta.'\n          },\n          image: {\n            title: 'Lägg till denna bilden?',\n            change: 'Avbryt'\n          },\n          crop: {\n            title: 'Beskär och lägg till denna bild',\n            done: 'Klar',\n            free: 'fri'\n          },\n          error: {\n            default: {\n              title: 'Oops!',\n              text: 'Någonting gick fel under uppladdningen.',\n              back: 'Vänligen försök igen'\n            },\n            image: {\n              title: 'Endast bildfiler accepteras.',\n              text: 'Vänligen försök igen med en annan fil.',\n              back: 'Välj bild'\n            },\n            size: {\n              title: 'Filen du har valt är för stor.',\n              text: 'Vänligen försök igen med en annan fil.'\n            },\n            loadImage: {\n              title: 'Fel',\n              text: 'Kan inte ladda bild'\n            }\n          },\n          multiple: {\n            title: 'Du har valt %files%',\n            question: 'Vill du lägga till alla dessa filer?',\n            tooManyFiles: 'Du har valt för många filer. %max% är max.',\n            tooFewFiles: 'Du har valt %files%. Minst %min% krävs.',\n            clear: 'Ta bort alla',\n            done: 'Klar'\n          }\n        }\n      }\n    } // Pluralization rules taken from:\n    // https://unicode.org/cldr/charts/34/supplemental/language_plural_rules.html\n\n  };\n\n  var pluralize$o = function pluralize(n) {\n    if (n === 1) {\n      return 'one';\n    }\n\n    return 'other';\n  };\n\n  var sv = {\n    translations: translations$o,\n    pluralize: pluralize$o\n  };\n\n  // #\n  // # Please, do not use this locale as a reference for new translations.\n  // # It could be outdated or incomplete. Always use the latest English versions:\n  // # https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascripts/uploadcare/locale/en.js\n  // #\n  // # Any fixes are welcome.\n  // #\n  var translations$p = {\n    uploading: 'Yükleniyor... Lütfen bekleyin.',\n    loadingInfo: 'Bilgiler yükleniyor...',\n    errors: {\n      default: 'Hata',\n      baddata: 'Geçersiz değer',\n      size: 'Dosya çok büyük',\n      upload: 'Yüklenemedi',\n      user: 'Yükleme iptal edildi',\n      info: 'Bilgiler getirilemedi',\n      image: 'Sadece resim dosyası yüklenebilir',\n      createGroup: 'Dosya grubu yaratılamıyor',\n      deleted: 'Dosya silinmiş'\n    },\n    draghere: 'Buraya bir dosya bırakın',\n    file: {\n      other: '%1 dosya'\n    },\n    buttons: {\n      cancel: 'İptal',\n      remove: 'Kaldır',\n      choose: {\n        files: {\n          one: 'Dosya Seçin',\n          other: 'Dosya Seçin'\n        },\n        images: {\n          one: 'Resim Dosyası Seçin',\n          other: 'Resim Dosyası Seçin'\n        }\n      }\n    },\n    dialog: {\n      done: 'Bitti',\n      showFiles: 'Dosyaları Göster',\n      tabs: {\n        names: {\n          'empty-pubkey': 'Hoş geldiniz',\n          preview: 'Önizleme',\n          file: 'Bilgisayar',\n          url: 'Dış Bağlantılar',\n          camera: 'Kamera'\n        },\n        file: {\n          drag: 'Buraya bir dosya bırakın',\n          nodrop: 'Bilgisayarınızdan dosya yükleyin',\n          or: 'ya da',\n          button: 'Bilgisayardan bir dosya seç',\n          also: 'Diğer yükleme seçenekleri',\n          cloudsTip: 'Bulut depolamalar<br>ve sosyal hizmetler'\n        },\n        url: {\n          title: 'Webden dosyalar',\n          line1: 'Webden herhangi bir dosya seçin.',\n          line2: 'Dosya bağlantısını sağlayın.',\n          input: 'Bağlantınızı buraya yapıştırın...',\n          button: 'Yükle'\n        },\n        camera: {\n          capture: 'Fotoğraf çek',\n          mirror: 'Ayna',\n          retry: 'Tekrar izin iste',\n          pleaseAllow: {\n            title: 'Lütfen kameranıza erişilmesine izin verin',\n            text: 'Bu siteden kamera erişimine izin vermeniz talep ediliyor. Kameranızla fotoğraf çekmek için bu isteği onaylamanız gerekmektedir.'\n          },\n          notFound: {\n            title: 'Kamera algılanamadı',\n            text: 'Bu cihaza kamera bağlantısının olmadığı görünüyor.'\n          }\n        },\n        preview: {\n          unknownName: 'bilinmeyen',\n          change: 'İptal',\n          back: 'Geri',\n          done: 'Ekle',\n          unknown: {\n            title: 'Yükleniyor... Önizleme için lütfen bekleyin.',\n            done: 'Önizlemeyi geç ve kabul et'\n          },\n          regular: {\n            title: 'Bu dosya eklensin mi?',\n            line1: 'Yukarıdaki dosyayı eklemek üzeresiniz.',\n            line2: 'Lütfen onaylayın.'\n          },\n          image: {\n            title: 'Bu görsel eklensin mi?',\n            change: 'İptal'\n          },\n          crop: {\n            title: 'Bu görseli kes ve ekle',\n            done: 'Bitti'\n          },\n          error: {\n            default: {\n              title: 'Aman!',\n              text: 'Yükleme sırasında bir hata oluştu.',\n              back: 'Lütfen tekrar deneyin.'\n            },\n            image: {\n              title: 'Sadece resim dosyaları kabul edilmektedir.',\n              text: 'Lütfen başka bir dosya ile tekrar deneyin.',\n              back: 'Resim dosyası seç'\n            },\n            size: {\n              title: 'Seçtiğiniz dosya limitleri aşıyor.',\n              text: 'Lütfen başka bir dosya ile tekrar deneyin.'\n            },\n            loadImage: {\n              title: 'Hata',\n              text: 'Resim dosyası yüklenemedi'\n            }\n          },\n          multiple: {\n            title: '%files% dosya seçtiniz',\n            question: 'Bu dosyaların hepsini eklemek istiyor musunuz?',\n            tooManyFiles: 'Fazla sayıda dosya seçtiniz, en fazla %max% dosya olabilir.',\n            tooFewFiles: '%files% dosya seçtiniz, en az %min% dosya olmalıdır.',\n            clear: 'Hepsini kaldır',\n            done: 'Bitti'\n          }\n        }\n      }\n    }\n  };\n\n  var pluralize$p = function pluralize(n) {\n    return 'other';\n  };\n\n  var tr = {\n    translations: translations$p,\n    pluralize: pluralize$p\n  };\n\n  // #\n  // # Please, do not use this locale as a reference for new translations.\n  // # It could be outdated or incomplete. Always use the latest English versions:\n  // # https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascripts/uploadcare/locale/en.js\n  // #\n  // # Any fixes are welcome.\n  // #\n  var translations$q = {\n    uploading: 'Завантаження... Зачекайте.',\n    loadingInfo: 'Завантаження інформації...',\n    errors: {\n      default: 'Помилка',\n      baddata: 'Неправильне значення',\n      size: 'Завеликий файл',\n      upload: 'Помилка завантаження',\n      user: 'Завантаження скасовано',\n      info: 'Помилка завантаження інформації',\n      image: 'Дозволені лише зображення',\n      createGroup: 'Неможливо створити групу файлів',\n      deleted: 'Файл видалено'\n    },\n    draghere: 'Перетягніть файл сюди',\n    file: {\n      one: '%1 файл',\n      few: '%1 файли',\n      many: '%1 файлів'\n    },\n    buttons: {\n      cancel: 'Скасувати',\n      remove: 'Видалити',\n      choose: {\n        files: {\n          one: 'Вибрати файл',\n          other: 'Вибрати файли'\n        },\n        images: {\n          one: 'Вибрати зображення',\n          other: 'Вибрати зображення'\n        }\n      }\n    },\n    dialog: {\n      close: 'Закрити',\n      openMenu: 'Відкрити меню',\n      done: 'Готово',\n      showFiles: 'Показати файли',\n      tabs: {\n        names: {\n          'empty-pubkey': 'Вітання',\n          preview: 'Попередній перегляд',\n          file: 'Локальні файли',\n          url: 'Пряме посилання',\n          camera: 'Камера'\n        },\n        file: {\n          drag: 'Перетягніть<br>будь-які файли',\n          nodrop: \"Завантаження файлів з вашого комп'ютера\",\n          cloudsTip: 'Хмарні сховища<br>та соціальні мережі',\n          or: 'або',\n          button: 'Обрати локальний файл',\n          also: 'або обрати з'\n        },\n        url: {\n          title: 'Файли з інших сайтів',\n          line1: 'Візьміть будь-який файл з Інтернету..',\n          line2: 'Вкажіть тут посилання.',\n          input: 'Вставте ваше посилання тут...',\n          button: 'Завантажити'\n        },\n        camera: {\n          title: 'Файл із відеокамери',\n          capture: 'Зробити знімок',\n          mirror: 'Віддзеркалити',\n          startRecord: 'Записати відео',\n          stopRecord: 'Стоп',\n          cancelRecord: 'Скасувати',\n          retry: 'Повторний запит дозволу',\n          pleaseAllow: {\n            title: 'Будь ласка, надайте доступ до вашої камери',\n            text: 'Вам буде запропоновано дозволити доступ до камери з цього сайту.<br>' + 'Для того, щоб фотографувати за допомогою камери, ви повинні схвалити цей запит.'\n          },\n          notFound: {\n            title: 'Камера не виявлена',\n            text: 'Схоже, у вас немає камери, підключеної до цього пристрою.'\n          }\n        },\n        preview: {\n          unknownName: 'невідомо',\n          change: 'Скасувати',\n          back: 'Назад',\n          done: 'Додати',\n          unknown: {\n            title: 'Завантаження... Зачекайте на попередній перегляд.',\n            done: 'Пропустити перегляд і прийняти'\n          },\n          regular: {\n            title: 'Додати цей файл?',\n            line1: 'Ви збираєтеся додати файл вище.',\n            line2: 'Будь ласка, підтвердіть.'\n          },\n          image: {\n            title: 'Додати це зображення?',\n            change: 'Скасувати'\n          },\n          crop: {\n            title: 'Обрізати та додати це зображення',\n            done: 'Готово',\n            free: 'довільно'\n          },\n          video: {\n            title: 'Додати це відео?',\n            change: 'Скасувати'\n          },\n          error: {\n            default: {\n              title: 'Ой!',\n              text: 'Під час завантаження сталася помилка.',\n              back: 'Будь ласка, спробуйте ще раз'\n            },\n            image: {\n              title: 'Приймаються лише файли зображень.',\n              text: 'Повторіть спробу з іншим файлом.',\n              back: 'Виберіть зображення'\n            },\n            size: {\n              title: 'Розмір вибраного файлу перевищує ліміт.',\n              text: 'Повторіть спробу з іншим файлом.'\n            },\n            loadImage: {\n              title: 'Помилка',\n              text: 'Помилка завантаження зображення'\n            }\n          },\n          multiple: {\n            title: 'Ви вибрали %files%.',\n            question: 'Додати %files%?',\n            tooManyFiles: 'Ви вибрали забагато файлів. Максимальна кількість %max%.',\n            tooFewFiles: 'Ви вибрали %files%. Мінімальна кількість %min%.',\n            clear: 'Видалити все',\n            done: 'Додати',\n            file: {\n              preview: 'Попередній перегляд %file%',\n              remove: 'Видалити %file%'\n            }\n          }\n        }\n      },\n      footer: {\n        text: 'працює на',\n        link: 'uploadcare'\n      }\n    } // Pluralization rules taken from:\n    // https://unicode.org/cldr/charts/34/supplemental/language_plural_rules.html\n\n  };\n\n  var pluralize$q = function pluralize(n) {\n    if ((n / 10 % 10 | 0) === 1 || n % 10 === 0 || n % 10 > 4) {\n      return 'many';\n    } else if (n % 10 === 1) {\n      return 'one';\n    } else {\n      return 'few';\n    }\n  };\n\n  var uk = {\n    translations: translations$q,\n    pluralize: pluralize$q\n  };\n\n  // #\n  // # Please, do not use this locale as a reference for new translations.\n  // # It could be outdated or incomplete. Always use the latest English versions:\n  // # https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascripts/uploadcare/locale/en.js\n  // #\n  // # Any fixes are welcome.\n  // #\n  var translations$r = {\n    loadingInfo: 'Đang tải thông tin...',\n    errors: {\n      default: 'Lỗi',\n      baddata: 'Giá trị không đúng',\n      size: 'Tệp quá lớn',\n      upload: 'Không thể tải lên',\n      user: 'Tải lên bị hủy',\n      info: 'Không thể nạp thông tin',\n      image: 'Chỉ cho phép các hình ảnh',\n      createGroup: 'Không thể tạo nhóm tệp',\n      deleted: 'Tệp đã bị xóa'\n    },\n    uploading: 'Đang tải lên... Vui lòng chờ đợi.',\n    draghere: 'Thả một tệp vào đây',\n    file: {\n      other: '%1 tệp'\n    },\n    buttons: {\n      cancel: 'Hủy',\n      remove: 'Xóa',\n      choose: {\n        files: {\n          other: 'Lựa chọn các tệp'\n        },\n        images: {\n          other: 'Lựa chọn hình ảnh'\n        }\n      }\n    },\n    dialog: {\n      close: 'Đóng',\n      openMenu: 'Mở menu',\n      done: 'Xong',\n      showFiles: 'Hiển thị tệp',\n      tabs: {\n        names: {\n          'empty-pubkey': 'Chào mừng',\n          preview: 'Xem trước',\n          file: 'Các tệp trên máy',\n          url: 'Liên kết tr.tiếp',\n          camera: 'Máy ảnh',\n          facebook: 'Facebook',\n          dropbox: 'Dropbox',\n          gdrive: 'Google Drive',\n          instagram: 'Instagram',\n          gphotos: 'Google Photos',\n          vk: 'VK',\n          evernote: 'Evernote',\n          box: 'Box',\n          onedrive: 'OneDrive',\n          flickr: 'Flickr',\n          huddle: 'Huddle'\n        },\n        file: {\n          drag: 'kéo & thả<br>bất kỳ tệp nào',\n          nodrop: 'Tải lên các tệp từ &nbsp;máy tính của bạn',\n          cloudsTip: 'Lưu trữ Đám mây<br>và các mạng xã hội',\n          or: 'hoặc',\n          button: 'Lựa chọn một tệp trên máy',\n          also: 'hoặc lựa chọn từ'\n        },\n        url: {\n          title: 'Các tệp trên Web',\n          line1: 'Chọn bất từ tệp nào từ web.',\n          line2: 'Chỉ cần cung cấp liên kết.',\n          input: 'Dán liên kết của bạn xuống đây...',\n          button: 'Tải lên'\n        },\n        camera: {\n          title: 'Tệp từ web cam',\n          capture: 'Chụp một bức ảnh',\n          mirror: 'Gương',\n          startRecord: 'Quay một video',\n          cancelRecord: 'Hủy',\n          stopRecord: 'Dừng',\n          retry: 'Yêu cầu cấp phép lần nữa',\n          pleaseAllow: {\n            text: 'Bạn đã được nhắc nhở để cho phép truy cập vào camera từ trang này.<br>Để có thể chụp ảnh với camera, bạn phải chấp thuận yêu cầu này.',\n            title: 'Vui lòng cho phép truy cập tới camera của bạn'\n          },\n          notFound: {\n            title: 'Không tìm thấy camera nào',\n            text: 'Có vẻ như bạn không có camera nào nối với thiết bị này.'\n          }\n        },\n        preview: {\n          unknownName: 'vô danh',\n          change: 'Hủy',\n          back: 'Quay lại',\n          done: 'Thêm',\n          unknown: {\n            title: 'Đang tải lên...Vui lòng đợi để xem trước.',\n            done: 'Bỏ qua và chấp nhận'\n          },\n          regular: {\n            title: 'Thêm tệp này?',\n            line1: 'Bạn dự định thêm tệp ở trên.',\n            line2: 'Vui lòng chấp thuận.'\n          },\n          image: {\n            title: 'Thêm hình ảnh này?',\n            change: 'Hủy'\n          },\n          crop: {\n            title: 'Cắt và thêm ảnh này',\n            done: 'Xong',\n            free: 'miễn phí'\n          },\n          video: {\n            title: 'Thêm video này?',\n            change: 'Hủy'\n          },\n          error: {\n            default: {\n              title: 'Ồ!',\n              back: 'Vui lòng thử lại',\n              text: 'Có lỗi gì đó trong quá trình tải lên.'\n            },\n            image: {\n              title: 'Chỉ chấp thuận các tệp hình ảnh.',\n              text: 'Vui lòng thử lại với một tệp mới.',\n              back: 'Lựa chọn hình ảnh'\n            },\n            size: {\n              title: 'Tệp bạn đã lựa chọn vượt quá giới hạn',\n              text: 'Vui lòng thử lại với một tệp khác.'\n            },\n            loadImage: {\n              title: 'Lỗi',\n              text: 'Không thể tải hình ảnh'\n            }\n          },\n          multiple: {\n            title: 'Bạn đã lựa chọn %files%',\n            question: 'Thêm %files%?',\n            tooManyFiles: 'Bạn đã lựa chọn quá nhiều tệp. %max% là tối đa.',\n            tooFewFiles: 'Bạn đã lựa chọn %files%. Ít nhất cần %min%',\n            clear: 'Xoá Tất cả',\n            file: {\n              preview: 'Xem trước %file%',\n              remove: 'Xóa %file%'\n            },\n            done: 'Thêm'\n          }\n        }\n      },\n      footer: {\n        text: 'được hỗ trợ bởi',\n        link: 'uploadcare'\n      }\n    } // Pluralization rules taken from:\n    // https://unicode.org/cldr/charts/34/supplemental/language_plural_rules.html\n\n  };\n\n  var pluralize$r = function pluralize(n) {\n    return 'other';\n  };\n\n  var vi = {\n    translations: translations$r,\n    pluralize: pluralize$r\n  };\n\n  // #\n  // # Please, do not use this locale as a reference for new translations.\n  // # It could be outdated or incomplete. Always use the latest English versions:\n  // # https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascripts/uploadcare/locale/en.js\n  // #\n  // # Any fixes are welcome.\n  // #\n  var translations$s = {\n    uploading: '上傳中...請等待',\n    loadingInfo: '正在讀取資訊...',\n    errors: {\n      default: '錯誤',\n      baddata: '錯誤資料',\n      size: '檔案太大',\n      upload: '無法上傳',\n      user: '上傳被取消',\n      info: '無法讀取資訊',\n      image: '只允許圖片檔案',\n      createGroup: '無法建立檔案群組',\n      deleted: '檔案已被刪除'\n    },\n    draghere: '拖放檔案到這裡',\n    file: {\n      other: '%1 個檔案'\n    },\n    buttons: {\n      cancel: '取消',\n      remove: '刪除',\n      choose: {\n        files: {\n          one: '選擇檔案',\n          other: '選擇檔案'\n        },\n        images: {\n          one: '選擇圖片',\n          other: '選擇圖片'\n        }\n      }\n    },\n    dialog: {\n      done: '完成',\n      showFiles: '顯示檔案',\n      tabs: {\n        names: {\n          'empty-pubkey': '歡迎',\n          preview: '預覽',\n          file: '從本機上傳',\n          url: '任意圖片連結',\n          camera: '相機'\n        },\n        file: {\n          drag: '拖放檔案到這裡',\n          nodrop: '從你的本機中上傳',\n          cloudsTip: '雲端硬碟<br>與社群網站',\n          or: '或者',\n          button: '從本機中選取檔案',\n          also: '你也可以選自'\n        },\n        url: {\n          title: '來自網際網路的檔案',\n          line1: '從網際網路選取檔案',\n          line2: '只需提供連結',\n          input: '將連結複製至此...',\n          button: '上傳'\n        },\n        camera: {\n          capture: '拍照',\n          mirror: '鏡像',\n          retry: '重新取得相機權限',\n          pleaseAllow: {\n            title: '請允許使存取您的相機',\n            text: '你一直在提示允許來自這個網站的訪問攝像頭。' + '為了拍照用你的相機，你必須批准這一請求。'\n          },\n          notFound: {\n            title: '沒有找到相機',\n            text: '看起來你有沒有將連接相機。'\n          }\n        },\n        preview: {\n          unknownName: '未知',\n          change: '取消',\n          back: '返回',\n          done: '加入',\n          unknown: {\n            title: '上傳中...請等待預覽',\n            done: '跳過預覽，直接接受'\n          },\n          regular: {\n            title: '加入這個檔案？',\n            line1: '你將加入上面的檔案。',\n            line2: '請確認。'\n          },\n          image: {\n            title: '加入這個圖片？',\n            change: '取消'\n          },\n          crop: {\n            title: '裁切並加入這個圖片',\n            done: '完成',\n            free: '自由裁切'\n          },\n          error: {\n            default: {\n              title: '錯誤！',\n              text: '上傳過程中出錯。',\n              back: '請重試'\n            },\n            image: {\n              title: '只允許上傳圖片檔案。',\n              text: '請選擇其他檔案重新上傳。',\n              back: '選擇圖片'\n            },\n            size: {\n              title: '你選取的檔案超過了100MB的上限',\n              text: '請用另一個檔案再試一次。'\n            },\n            loadImage: {\n              title: '錯誤',\n              text: '無法讀取圖片'\n            }\n          },\n          multiple: {\n            title: '你已經選擇 %files%',\n            question: '你要加入所有檔案嗎？',\n            tooManyFiles: '你選了太多的檔案. 最多可選擇%max%. 請刪除一些。',\n            tooFewFiles: '你所選擇的檔案 %files%. 至少要 %min% .',\n            clear: '清空',\n            done: '完成'\n          }\n        }\n      }\n    } // Pluralization rules taken from:\n    // https://unicode.org/cldr/charts/34/supplemental/language_plural_rules.html\n\n  };\n\n  var pluralize$s = function pluralize(n) {\n    return 'other';\n  };\n\n  var zhTW = {\n    translations: translations$s,\n    pluralize: pluralize$s\n  };\n\n  // #\n  // # Please, do not use this locale as a reference for new translations.\n  // # It could be outdated or incomplete. Always use the latest English versions:\n  // # https://github.com/uploadcare/uploadcare-widget/blob/master/app/assets/javascripts/uploadcare/locale/en.js\n  // #\n  // # Any fixes are welcome.\n  // #\n  var translations$t = {\n    uploading: '上传中...请等待',\n    loadingInfo: '正在读取信息...',\n    errors: {\n      default: '错误',\n      baddata: '错误数据',\n      size: '文件太大',\n      upload: '无法上传',\n      user: '上传被取消',\n      info: '无法读取信息',\n      image: '只允许图形文件',\n      createGroup: '无法建立文件组',\n      deleted: '文件已被删除'\n    },\n    draghere: '拖放文件到这里',\n    file: {\n      other: '%1 个文件'\n    },\n    buttons: {\n      cancel: '取消',\n      remove: '删除'\n    },\n    dialog: {\n      done: '完成',\n      showFiles: '显示文件',\n      tabs: {\n        names: {\n          url: '任意图片链接'\n        },\n        file: {\n          drag: '拖放文件到这里',\n          nodrop: '从你的电脑中上传',\n          or: '或者',\n          button: '从电脑中选取文件',\n          also: '你也可以选自'\n        },\n        url: {\n          title: '来自互联网的文件',\n          line1: '从互联网选取文件',\n          line2: '只需提供链接',\n          input: '将链接拷贝至此...',\n          button: '上传'\n        },\n        preview: {\n          unknownName: '未知',\n          change: '取消',\n          back: '返回',\n          done: '添加',\n          unknown: {\n            title: '上传中...请等待预览',\n            done: '跳过预览，直接接受'\n          },\n          regular: {\n            title: '添加这个文件?',\n            line1: '你将添加上面的文件。',\n            line2: '请确认。'\n          },\n          image: {\n            title: '添加这个图片?',\n            change: '取消'\n          },\n          crop: {\n            title: '剪裁并添加这个图片',\n            done: '完成'\n          },\n          error: {\n            default: {\n              title: '错误!',\n              text: '上传过程中出错。',\n              back: '请重试'\n            },\n            image: {\n              title: '只允许上传图片文件。',\n              text: '请选择其他文件重新上传。',\n              back: '选择图片'\n            },\n            size: {\n              title: '你选取的文件超过了100MB的上限',\n              text: '请用另一个文件再试一次。'\n            },\n            loadImage: {\n              title: '错误',\n              text: '无法读取图片'\n            }\n          },\n          multiple: {\n            title: '你已经选择 %files%',\n            question: '你要添加所有文件吗？',\n            tooManyFiles: '你选了太多的文件. 最多可选择%max%. 请删除一些。',\n            clear: '清空',\n            done: '完成'\n          }\n        }\n      }\n    } // Pluralization rules taken from:\n    // https://unicode.org/cldr/charts/34/supplemental/language_plural_rules.html\n\n  };\n\n  var pluralize$t = function pluralize(n) {\n    return 'other';\n  };\n\n  var zh = {\n    translations: translations$t,\n    pluralize: pluralize$t\n  };\n\n  var locales = {\n    ar: ar,\n    az: az,\n    ca: ca,\n    cs: cs,\n    da: da,\n    de: de,\n    el: el,\n    en: en,\n    es: es,\n    et: et,\n    fr: fr,\n    he: he,\n    it: it,\n    ja: ja,\n    ko: ko,\n    lv: lv,\n    nb: nb,\n    nl: nl,\n    pl: pl,\n    pt: pt,\n    ro: ro,\n    ru: ru,\n    sk: sk,\n    sr: sr,\n    sv: sv,\n    tr: tr,\n    uk: uk,\n    vi: vi,\n    zhTW: zhTW,\n    zh: zh\n  };\n\n  var currentLocale = null;\n  var locale = {\n    translations: Object.keys(locales).reduce(function (translations, lang) {\n      translations[lang] = locales[lang].translations;\n      return translations;\n    }, {}),\n    pluralize: Object.keys(locales).reduce(function (pluralize, lang) {\n      pluralize[lang] = locales[lang].pluralize;\n      return pluralize;\n    }, {}),\n    // Backdoor for widget constructor\n    rebuild: function rebuild(settings) {\n      currentLocale = null;\n      return _build(settings);\n    },\n    t: function t(key, n) {\n      var locale, ref, value;\n      locale = _build();\n      value = translate(key, locale.translations);\n\n      if (value == null && locale.lang !== defaults$1.lang) {\n        locale = defaults$1;\n        value = translate(key, locale.translations);\n      }\n\n      if (n != null) {\n        if (locale.pluralize != null) {\n          value = ((ref = value[locale.pluralize(n)]) != null ? ref.replace('%1', n) : undefined) || n;\n        } else {\n          value = '';\n        }\n      }\n\n      return value || '';\n    }\n  };\n  var defaultLang = 'en';\n  var defaults$1 = {\n    lang: defaultLang,\n    translations: locales[defaultLang].translations,\n    pluralize: locales[defaultLang].pluralize\n  };\n\n  var _build = function _build(stgs) {\n    if (!currentLocale) {\n      var settings = build(stgs);\n      var lang = settings.locale || defaults$1.lang;\n      var translations = $.extend(true, {}, locale.translations[lang], settings.localeTranslations);\n      var pluralize = $.isFunction(settings.localePluralize) ? settings.localePluralize : locale.pluralize[lang];\n      currentLocale = {\n        lang: lang,\n        translations: translations,\n        pluralize: pluralize\n      };\n    }\n\n    return currentLocale;\n  };\n\n  var translate = function translate(key, node) {\n    var path = key.split('.');\n\n    for (var i = 0, len = path.length; i < len; i++) {\n      var subkey = path[i];\n\n      if (node == null) {\n        return null;\n      }\n\n      node = node[subkey];\n    }\n\n    return node;\n  };\n\n  var FileGroup =\n  /*#__PURE__*/\n  function () {\n    function FileGroup(files, settings) {\n      var _this = this;\n\n      _classCallCheck(this, FileGroup);\n\n      this.__uuid = null;\n      this.settings = build(settings);\n      this.__fileColl = new CollectionOfPromises(files);\n      this.__allFilesDf = $.when.apply($, _toConsumableArray(this.files()));\n\n      this.__fileInfosDf = function () {\n        var file;\n\n        files = function () {\n          var j, len, ref, results;\n          ref = this.files();\n          results = [];\n\n          for (j = 0, len = ref.length; j < len; j++) {\n            file = ref[j];\n            results.push( // eslint-disable-next-line handle-callback-err\n            file.then(null, function (err, info) {\n              return $.when(info);\n            }));\n          }\n\n          return results;\n        }.call(_this);\n\n        return $.when.apply($, _toConsumableArray(files));\n      }();\n\n      this.__createGroupDf = $.Deferred();\n\n      this.__initApiDeferred();\n    }\n\n    _createClass(FileGroup, [{\n      key: \"files\",\n      value: function files() {\n        return this.__fileColl.get();\n      }\n    }, {\n      key: \"__save\",\n      value: function __save() {\n        var _this2 = this;\n\n        if (!this.__saved) {\n          this.__saved = true;\n          return this.__allFilesDf.done(function () {\n            return _this2.__createGroup().done(function (groupInfo) {\n              _this2.__uuid = groupInfo.id;\n              return _this2.__buildInfo(function (info) {\n                if (_this2.settings.imagesOnly && !info.isImage) {\n                  return _this2.__createGroupDf.reject('image', info);\n                } else {\n                  return _this2.__createGroupDf.resolve(info);\n                }\n              });\n            }).fail(function () {\n              return _this2.__createGroupDf.reject('createGroup');\n            });\n          });\n        }\n      } // returns object similar to File object\n\n    }, {\n      key: \"promise\",\n      value: function promise() {\n        this.__save();\n\n        return this.__apiDf.promise();\n      }\n    }, {\n      key: \"__initApiDeferred\",\n      value: function __initApiDeferred() {\n        var _this3 = this;\n\n        var notify, reject, resolve;\n        this.__apiDf = $.Deferred();\n        this.__progressState = 'uploading';\n\n        reject = function reject(err) {\n          return _this3.__buildInfo(function (info) {\n            return _this3.__apiDf.reject(err, info);\n          });\n        };\n\n        resolve = function resolve(info) {\n          return _this3.__apiDf.resolve(info);\n        };\n\n        notify = function notify() {\n          return _this3.__apiDf.notify(_this3.__progressInfo());\n        };\n\n        notify();\n\n        this.__fileColl.onAnyProgress(notify);\n\n        this.__allFilesDf.done(function () {\n          _this3.__progressState = 'uploaded';\n          return notify();\n        }).fail(reject);\n\n        return this.__createGroupDf.done(function (info) {\n          _this3.__progressState = 'ready';\n          notify();\n          return resolve(info);\n        }).fail(reject);\n      }\n    }, {\n      key: \"__progressInfo\",\n      value: function __progressInfo() {\n        var j, len, progress, progressInfo, progressInfos;\n        progress = 0;\n        progressInfos = this.__fileColl.lastProgresses();\n\n        for (j = 0, len = progressInfos.length; j < len; j++) {\n          progressInfo = progressInfos[j];\n          progress += ((progressInfo != null ? progressInfo.progress : undefined) || 0) / progressInfos.length;\n        }\n\n        return {\n          state: this.__progressState,\n          uploadProgress: progress,\n          progress: this.__progressState === 'ready' ? 1 : progress * 0.9\n        };\n      }\n    }, {\n      key: \"__buildInfo\",\n      value: function __buildInfo(cb) {\n        var info;\n        info = {\n          uuid: this.__uuid,\n          cdnUrl: this.__uuid ? \"\".concat(this.settings.cdnBase, \"/\").concat(this.__uuid, \"/\") : null,\n          name: locale.t('file', this.__fileColl.length()),\n          count: this.__fileColl.length(),\n          size: 0,\n          isImage: true,\n          isStored: true\n        };\n        return this.__fileInfosDf.done(function () {\n          var _info, j, len;\n\n          for (var _len = arguments.length, infos = new Array(_len), _key = 0; _key < _len; _key++) {\n            infos[_key] = arguments[_key];\n          }\n\n          for (j = 0, len = infos.length; j < len; j++) {\n            _info = infos[j];\n            info.size += _info.size;\n\n            if (!_info.isImage) {\n              info.isImage = false;\n            }\n\n            if (!_info.isStored) {\n              info.isStored = false;\n            }\n          }\n\n          return cb(info);\n        });\n      }\n    }, {\n      key: \"__createGroup\",\n      value: function __createGroup() {\n        var _this4 = this;\n\n        var df;\n        df = $.Deferred();\n\n        if (this.__fileColl.length()) {\n          this.__fileInfosDf.done(function () {\n            for (var _len2 = arguments.length, infos = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n              infos[_key2] = arguments[_key2];\n            }\n\n            var info;\n            return jsonp(\"\".concat(_this4.settings.urlBase, \"/group/\"), 'POST', {\n              pub_key: _this4.settings.publicKey,\n              signature: _this4.settings.secureSignature,\n              expire: _this4.settings.secureExpire,\n              files: function () {\n                var j, len, results;\n                results = [];\n\n                for (j = 0, len = infos.length; j < len; j++) {\n                  info = infos[j];\n                  results.push(\"/\".concat(info.uuid, \"/\").concat(info.cdnUrlModifiers || ''));\n                }\n\n                return results;\n              }()\n            }, {\n              headers: {\n                'X-UC-User-Agent': _this4.settings._userAgent\n              }\n            }).fail(function (reason) {\n              if (_this4.settings.debugUploads) {\n                log(\"Can't create group.\", _this4.settings.publicKey, reason);\n              }\n\n              return df.reject();\n            }).done(df.resolve);\n          });\n        } else {\n          df.reject();\n        }\n\n        return df.promise();\n      }\n    }, {\n      key: \"api\",\n      value: function api() {\n        if (!this.__api) {\n          this.__api = bindAll(this, ['promise', 'files']);\n        }\n\n        return this.__api;\n      }\n    }]);\n\n    return FileGroup;\n  }();\n\n  var SavedFileGroup =\n  /*#__PURE__*/\n  function (_FileGroup) {\n    _inherits(SavedFileGroup, _FileGroup);\n\n    function SavedFileGroup(data, settings) {\n      var _this5;\n\n      _classCallCheck(this, SavedFileGroup);\n\n      var files;\n      files = filesFrom('ready', data.files, settings);\n      _this5 = _possibleConstructorReturn(this, _getPrototypeOf(SavedFileGroup).call(this, files, settings));\n      _this5.__data = data;\n      return _this5;\n    }\n\n    _createClass(SavedFileGroup, [{\n      key: \"__createGroup\",\n      value: function __createGroup() {\n        return wrapToPromise(this.__data);\n      }\n    }]);\n\n    return SavedFileGroup;\n  }(FileGroup);\n\n  var FileGroup$1 = function FileGroup$1() {\n    var filesAndGroups = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n    var settings = arguments.length > 1 ? arguments[1] : undefined;\n    var file, files, item, j, k, len, len1, ref;\n    files = [];\n\n    for (j = 0, len = filesAndGroups.length; j < len; j++) {\n      item = filesAndGroups[j];\n\n      if (isFile(item)) {\n        files.push(item);\n      } else if (isFileGroup(item)) {\n        ref = item.files();\n\n        for (k = 0, len1 = ref.length; k < len1; k++) {\n          file = ref[k];\n          files.push(file);\n        }\n      }\n    }\n\n    return new FileGroup(files, settings).api();\n  };\n\n  var loadFileGroup = function loadFileGroup(groupIdOrUrl, settings) {\n    var df, id;\n    settings = build(settings);\n    df = $.Deferred();\n    id = groupIdRegex.exec(groupIdOrUrl);\n\n    if (id) {\n      jsonp(\"\".concat(settings.urlBase, \"/group/info/\"), 'GET', {\n        jsonerrors: 1,\n        pub_key: settings.publicKey,\n        group_id: id[0]\n      }, {\n        headers: {\n          'X-UC-User-Agent': settings._userAgent\n        }\n      }).fail(function (reason) {\n        if (settings.debugUploads) {\n          log(\"Can't load group info. Probably removed.\", id[0], settings.publicKey, reason);\n        }\n\n        return df.reject();\n      }).done(function (data) {\n        var group;\n        group = new SavedFileGroup(data, settings);\n        return df.resolve(group.api());\n      });\n    } else {\n      df.reject();\n    }\n\n    return df.promise();\n  };\n\n  var callbacks = {};\n  isWindowDefined() && $(window).on('message', function (_ref) {\n    var e = _ref.originalEvent;\n    var i, item, len, message, ref, results;\n\n    try {\n      message = JSON.parse(e.data);\n    } catch (error) {\n      return;\n    }\n\n    if ((message != null ? message.type : undefined) && message.type in callbacks) {\n      ref = callbacks[message.type];\n      results = [];\n\n      for (i = 0, len = ref.length; i < len; i++) {\n        item = ref[i];\n\n        if (e.source === item[0]) {\n          results.push(item[1](message));\n        } else {\n          results.push(undefined);\n        }\n      }\n\n      return results;\n    }\n  });\n\n  var registerMessage = function registerMessage(type, sender, callback) {\n    if (!(type in callbacks)) {\n      callbacks[type] = [];\n    }\n\n    return callbacks[type].push([sender, callback]);\n  };\n\n  var unregisterMessage = function unregisterMessage(type, sender) {\n    if (type in callbacks) {\n      callbacks[type] = $.grep(callbacks[type], function (item) {\n        return item[0] !== sender;\n      });\n      return callbacks[type];\n    }\n  };\n\n  var tabsCss = new CssCollector();\n\n  var RemoteTab =\n  /*#__PURE__*/\n  function () {\n    function RemoteTab(container, tabButton, dialogApi, settings, name1) {\n      var _this = this;\n\n      _classCallCheck(this, RemoteTab);\n\n      this.__createIframe = this.__createIframe.bind(this);\n      this.container = container;\n      this.tabButton = tabButton;\n      this.dialogApi = dialogApi;\n      this.settings = settings;\n      this.name = name1;\n      this.dialogApi.progress(function (name) {\n        if (name === _this.name) {\n          _this.__createIframe();\n\n          _this.container.find('.uploadcare--tab__iframe').focus();\n        }\n\n        return _this.__sendMessage({\n          type: 'visibility-changed',\n          visible: name === _this.name\n        });\n      });\n    }\n\n    _createClass(RemoteTab, [{\n      key: \"remoteUrl\",\n      value: function remoteUrl() {\n        return \"\".concat(this.settings.socialBase, \"/window3/\").concat(this.name, \"?\") + $.param({\n          lang: this.settings.locale,\n          public_key: this.settings.publicKey,\n          widget_version: version,\n          images_only: this.settings.imagesOnly,\n          pass_window_open: this.settings.passWindowOpen\n        });\n      }\n    }, {\n      key: \"__sendMessage\",\n      value: function __sendMessage(messageObj) {\n        var ref, ref1;\n        return (ref = this.iframe) != null ? (ref1 = ref[0].contentWindow) != null ? ref1.postMessage(JSON.stringify(messageObj), '*') : undefined : undefined;\n      }\n    }, {\n      key: \"__createIframe\",\n      value: function __createIframe() {\n        var _this2 = this;\n\n        var iframe;\n\n        if (this.iframe) {\n          return;\n        }\n\n        this.iframe = $('<iframe>', {\n          src: this.remoteUrl(),\n          marginheight: 0,\n          marginwidth: 0,\n          frameborder: 0,\n          allowTransparency: 'true'\n        }).addClass('uploadcare--tab__iframe').appendTo(this.container).on('load', function () {\n          var i, j, len, len1, ref, ref1, style, url;\n\n          _this2.iframe.css('opacity', '1');\n\n          ref = tabsCss.urls;\n\n          for (i = 0, len = ref.length; i < len; i++) {\n            url = ref[i];\n\n            _this2.__sendMessage({\n              type: 'embed-css',\n              url: url\n            });\n          }\n\n          ref1 = tabsCss.styles;\n\n          for (j = 0, len1 = ref1.length; j < len1; j++) {\n            style = ref1[j];\n\n            _this2.__sendMessage({\n              type: 'embed-css',\n              style: style\n            });\n          }\n        });\n        this.container.addClass('uploadcare--tab_remote');\n        iframe = this.iframe[0].contentWindow;\n        registerMessage('file-selected', iframe, function (message) {\n          var file, sourceInfo, url;\n\n          url = function () {\n            var i, key, len, ref, type;\n\n            if (message.alternatives) {\n              ref = _this2.settings.preferredTypes;\n\n              for (i = 0, len = ref.length; i < len; i++) {\n                type = ref[i];\n                type = globRegexp(type);\n\n                for (key in message.alternatives) {\n                  if (type.test(key)) {\n                    return message.alternatives[key];\n                  }\n                }\n              }\n            }\n\n            return message.url;\n          }();\n\n          sourceInfo = $.extend({\n            source: _this2.name\n          }, message.info || {});\n          file = new UrlFile(url, _this2.settings, sourceInfo);\n\n          if (message.filename) {\n            file.setName(message.filename);\n          }\n\n          if (message.is_image != null) {\n            file.setIsImage(message.is_image);\n          }\n\n          return _this2.dialogApi.addFiles([file.promise()]);\n        });\n        registerMessage('open-new-window', iframe, function (message) {\n          var interval, popup, resolve;\n\n          if (_this2.settings.debugUploads) {\n            debug('Open new window message.', _this2.name);\n          }\n\n          popup = window.open(message.url, '_blank');\n\n          if (!popup) {\n            warn(\"Can't open new window. Possible blocked.\", _this2.name);\n            return;\n          }\n\n          resolve = function resolve() {\n            if (_this2.settings.debugUploads) {\n              debug('Window is closed.', _this2.name);\n            }\n\n            return _this2.__sendMessage({\n              type: 'navigate',\n              fragment: ''\n            });\n          }; // Detect is window supports \"closed\".\n          // In browsers we have only \"closed\" property.\n          // In Cordova addEventListener('exit') does work.\n\n\n          if ('closed' in popup) {\n            interval = setInterval(function () {\n              if (popup.closed) {\n                clearInterval(interval);\n                return resolve();\n              }\n            }, 100);\n            return interval;\n          } else {\n            return popup.addEventListener('exit', resolve);\n          }\n        });\n        return this.dialogApi.done(function () {\n          unregisterMessage('file-selected', iframe);\n          return unregisterMessage('open-new-window', iframe);\n        });\n      }\n    }]);\n\n    return RemoteTab;\n  }();\n\n  var _namespace = {\n    version: version,\n    jQuery: $,\n    utils: {\n      abilities: {\n        fileAPI: fileAPI,\n        sendFileAPI: sendFileAPI,\n        dragAndDrop: dragAndDrop,\n        canvas: canvas,\n        fileDragAndDrop: fileDragAndDrop,\n        iOSVersion: iOSVersion,\n        Blob: Blob,\n        URL: URL,\n        FileReader: FileReader\n      },\n      Collection: Collection,\n      UniqCollection: UniqCollection,\n      CollectionOfPromises: CollectionOfPromises,\n      imageLoader: imageLoader,\n      videoLoader: videoLoader,\n      log: log,\n      debug: debug,\n      warn: warn,\n      warnOnce: warnOnce,\n      //   commonWarning\n      registerMessage: registerMessage,\n      unregisterMessage: unregisterMessage,\n      unique: unique,\n      defer: defer,\n      gcd: gcd,\n      once: once,\n      wrapToPromise: wrapToPromise,\n      then: then,\n      bindAll: bindAll,\n      upperCase: upperCase,\n      publicCallbacks: publicCallbacks,\n      uuid: uuid,\n      splitUrlRegex: splitUrlRegex,\n      uuidRegex: uuidRegex,\n      groupIdRegex: groupIdRegex,\n      cdnUrlRegex: cdnUrlRegex,\n      splitCdnUrl: splitCdnUrl,\n      escapeRegExp: escapeRegExp,\n      globRegexp: globRegexp,\n      normalizeUrl: normalizeUrl,\n      fitText: fitText,\n      fitSizeInCdnLimit: fitSizeInCdnLimit,\n      fitSize: fitSize,\n      applyCropCoordsToInfo: applyCropCoordsToInfo,\n      fileInput: fileInput,\n      fileSelectDialog: fileSelectDialog,\n      fileSizeLabels: fileSizeLabels,\n      readableFileSize: readableFileSize,\n      ajaxDefaults: ajaxDefaults,\n      jsonp: jsonp,\n      canvasToBlob: canvasToBlob,\n      taskRunner: taskRunner,\n      fixedPipe: fixedPipe,\n      isFile: isFile,\n      valueToFile: valueToFile,\n      image: {\n        shrinkFile: shrinkFile,\n        shrinkImage: shrinkImage,\n        drawFileToCanvas: drawFileToCanvas,\n        readJpegChunks: readJpegChunks,\n        replaceJpegChunk: replaceJpegChunk,\n        getExif: getExif,\n        parseExifOrientation: parseExifOrientation,\n        hasTransparency: hasTransparency\n      },\n      pusher: {\n        getPusher: getPusher\n      },\n      isFileGroup: isFileGroup,\n      valueToGroup: valueToGroup,\n      isFileGroupsEqual: isFileGroupsEqual\n    },\n    settings: {\n      globals: globals,\n      build: build,\n      common: common,\n      waitForSettings: waitForSettings,\n      CssCollector: CssCollector\n    },\n    locale: locale,\n    tabsCss: tabsCss,\n    files: {\n      BaseFile: BaseFile,\n      ObjectFile: ObjectFile,\n      InputFile: InputFile,\n      UrlFile: UrlFile,\n      UploadedFile: UploadedFile,\n      ReadyFile: ReadyFile,\n      FileGroup: FileGroup,\n      SavedFileGroup: SavedFileGroup\n    },\n    Pusher: pusher_1,\n    FileGroup: FileGroup$1,\n    loadFileGroup: loadFileGroup,\n    fileFrom: fileFrom,\n    filesFrom: filesFrom,\n    __exports: {},\n    namespace: function namespace(path, fn) {\n      var target = _namespace;\n\n      if (path) {\n        var ref = path.split('.');\n\n        for (var i = 0, len = ref.length; i < len; i++) {\n          var part = ref[i];\n\n          if (!target[part]) {\n            target[part] = {};\n          }\n\n          target = target[part];\n        }\n      }\n\n      return fn(target);\n    },\n    expose: function expose(key, value) {\n      var parts = key.split('.');\n      var last = parts.pop();\n      var target = _namespace.__exports;\n      var source = _namespace;\n\n      for (var i = 0, len = parts.length; i < len; i++) {\n        var part = parts[i];\n\n        if (!target[part]) {\n          target[part] = {};\n        }\n\n        target = target[part];\n        source = source != null ? source[part] : undefined;\n      }\n\n      target[last] = value || source[last];\n    }\n  };\n\n  function createPlugin(ns) {\n    return function (fn) {\n      return fn(ns);\n    };\n  }\n\n  var plugin = createPlugin(_namespace);\n\n  var uploadcare = {\n    plugin: plugin,\n    version: version,\n    jQuery: $,\n    // Defaults (not normalized)\n    defaults: _objectSpread2({}, defaults, {\n      allTabs: presets.tabs.all\n    }),\n    globals: common,\n    start: common,\n    fileFrom: fileFrom,\n    filesFrom: filesFrom,\n    FileGroup: FileGroup$1,\n    loadFileGroup: loadFileGroup,\n    locales: ['en']\n  };\n\n  var dialog = function dialog() {\n    return \"<div class=\\\"uploadcare--dialog\\\"><div class=\\\"uploadcare--dialog__container\\\"><button type=\\\"button\\\" title=\\\"\".concat(locale.t('dialog.close'), \"\\\" aria-label=\\\"\").concat(locale.t('dialog.close'), \"\\\" class=\\\"uploadcare--button uploadcare--button_icon uploadcare--button_muted uploadcare--dialog__close\\\"><svg role=\\\"presentation\\\" width=\\\"32\\\" height=\\\"32\\\" class=\\\"uploadcare--icon\\\"><use xlink:href=\\\"#uploadcare--icon-close\\\"></use></svg></button><div class=\\\"uploadcare--dialog__placeholder\\\"></div></div><div class=\\\"uploadcare--powered-by uploadcare--dialog__powered-by\\\">\").concat(locale.t('dialog.footer.text'), \" <a class=\\\"uploadcare--link uploadcare--powered-by__link\\\" href=\\\"https://uploadcare.com/uploader/\").concat(version, \"/\\\" target=\\\"_blank\\\"><svg width=\\\"32\\\" height=\\\"32\\\" role=\\\"presentation\\\" class=\\\"uploadcare--icon uploadcare--powered-by__logo\\\"><use xlink:href=\\\"#uploadcare--icon-uploadcare\\\"></use></svg> \").concat(locale.t('dialog.footer.link'), \"</a></div></div>\");\n  };\n\n  var dialogPanel = function dialogPanel() {\n    return \"<div class=\\\"uploadcare--panel\\\"><div class=\\\"uploadcare--menu uploadcare--panel__menu\\\"><button type=\\\"button\\\" title=\\\"\".concat(locale.t('dialog.openMenu'), \"\\\" aria-label=\\\"\").concat(locale.t('dialog.openMenu'), \"\\\" class=\\\"uploadcare--button uploadcare--button_icon uploadcare--button_muted uploadcare--menu__toggle\\\"><svg role=\\\"presentation\\\" width=\\\"32\\\" height=\\\"32\\\" class=\\\"uploadcare--icon uploadcare--menu__toggle-icon uploadcare--menu__toggle-icon_menu\\\"><use xlink:href=\\\"#uploadcare--icon-menu\\\"></use></svg> <svg role=\\\"presentation\\\" width=\\\"32\\\" height=\\\"32\\\" class=\\\"uploadcare--icon uploadcare--menu__toggle-icon uploadcare--menu__toggle-icon_back\\\"><use xlink:href=\\\"#uploadcare--icon-back\\\"></use></svg></button><div class=\\\"uploadcare--menu__items\\\"></div></div><div class=\\\"uploadcare--panel__content\\\"><div class=\\\"uploadcare--footer uploadcare--panel__footer\\\"><div class=\\\"uploadcare--footer__additions uploadcare--panel__message\\\"></div><button type=\\\"button\\\" class=\\\"uploadcare--button uploadcare--footer__button uploadcare--panel__show-files\\\">\").concat(locale.t('dialog.showFiles'), \"<div class=\\\"uploadcare--panel__file-counter\\\"></div></button> <button type=\\\"button\\\" class=\\\"uploadcare--button uploadcare--button_primary uploadcare--footer__button uploadcare--panel__done\\\">\").concat(locale.t('dialog.done'), \"</button></div><div class=\\\"uploadcare--powered-by uploadcare--panel__powered-by\\\">\").concat(locale.t('dialog.footer.text'), \" <a class=\\\"uploadcare--link uploadcare--powered-by__link\\\" href=\\\"https://uploadcare.com/uploader/\").concat(version, \"/\\\" target=\\\"_blank\\\"><svg width=\\\"32\\\" height=\\\"32\\\" role=\\\"presentation\\\" class=\\\"uploadcare--icon uploadcare--powered-by__logo\\\"><use xlink:href=\\\"#uploadcare--icon-uploadcare\\\"></use></svg> \").concat(locale.t('dialog.footer.link'), \"</a></div></div></div>\");\n  };\n\n  var progressText = function progressText() {\n    return '<div class=\"uploadcare--progress__text-container\"><div class=\"uploadcare--progress__text\"></div></div>';\n  };\n\n  var tabCameraCapture = function tabCameraCapture() {\n    return \"<div class=\\\"uploadcare--tab__content\\\"><div class=\\\"uploadcare--text uploadcare--text_size_large uploadcare--tab__title\\\">\".concat(locale.t('dialog.tabs.camera.title'), \"</div><div class=\\\"uploadcare--camera__controls\\\"><button type=\\\"button\\\" class=\\\"uploadcare--button uploadcare--button_size_big uploadcare--button_primary uploadcare--camera__button uploadcare--camera__button_type_photo\\\">\").concat(locale.t('dialog.tabs.camera.capture'), \"</button> <button type=\\\"button\\\" class=\\\"uploadcare--button uploadcare--button_size_big uploadcare--button_primary uploadcare--camera__button uploadcare--camera__button_type_video\\\">\").concat(locale.t('dialog.tabs.camera.startRecord'), \"</button></div></div>\");\n  };\n\n  var tabCamera = function tabCamera() {\n    return \"<div class=\\\"uploadcare--tab__content\\\"><div class=\\\"uploadcare--text uploadcare--text_size_large uploadcare--tab__title\\\">\".concat(locale.t('dialog.tabs.camera.title'), \"</div><div class=\\\"uploadcare--media uploadcare--camera__video-container\\\"><video muted class=\\\"uploadcare--media__video uploadcare--camera__video uploadcare--camera__video_mirrored\\\"></video><button type=\\\"button\\\" class=\\\"uploadcare--button uploadcare--button_size_small uploadcare--button_overlay uploadcare--camera__button uploadcare--camera__button_type_mirror\\\">\").concat(locale.t('dialog.tabs.camera.mirror'), \"</button></div><div class=\\\"uploadcare--camera__controls\\\"><button type=\\\"button\\\" class=\\\"uploadcare--button uploadcare--button_primary uploadcare--camera__button uploadcare--camera__button_type_start-record\\\">\").concat(locale.t('dialog.tabs.camera.startRecord'), \"</button> <button type=\\\"button\\\" class=\\\"uploadcare--button uploadcare--button_primary uploadcare--camera__button uploadcare--camera__button_type_capture\\\">\").concat(locale.t('dialog.tabs.camera.capture'), \"</button> <button type=\\\"button\\\" class=\\\"uploadcare--button uploadcare--camera__button uploadcare--camera__button_type_cancel-record\\\">\").concat(locale.t('dialog.tabs.camera.cancelRecord'), \"</button> <button type=\\\"button\\\" class=\\\"uploadcare--button uploadcare--button_primary uploadcare--camera__button uploadcare--camera__button_type_stop-record\\\">\").concat(locale.t('dialog.tabs.camera.stopRecord'), \"</button></div><div class=\\\"uploadcare--camera__please-allow\\\"><div class=\\\"uploadcare--text uploadcare--text_size_medium\\\">\").concat(locale.t('dialog.tabs.camera.pleaseAllow.title'), \"</div><div class=\\\"uploadcare--text\\\">\").concat(locale.t('dialog.tabs.camera.pleaseAllow.text'), \"</div></div><div class=\\\"uploadcare--camera__not-found\\\"><div class=\\\"uploadcare--text uploadcare--text_size_medium\\\">\").concat(locale.t('dialog.tabs.camera.notFound.title'), \"</div><div class=\\\"uploadcare--text\\\">\").concat(locale.t('dialog.tabs.camera.notFound.text'), \"</div></div><button type=\\\"button\\\" class=\\\"uploadcare--button uploadcare--camera__button uploadcare--camera__button_type_retry\\\">\").concat(locale.t('dialog.tabs.camera.retry'), \"</button></div>\");\n  };\n\n  var tabFile = function tabFile() {\n    return \"<div class=\\\"uploadcare--tab__content uploadcare--draganddrop\\\"><div class=\\\"uploadcare--text uploadcare--text_size_extra-large uploadcare--dragging__show\\\">\".concat(locale.t('draghere'), \"</div><div class=\\\"uploadcare--draganddrop__title uploadcare--dragging__hide\\\"><div class=\\\"uploadcare--draganddrop__supported\\\"><div class=\\\"uploadcare--text uploadcare--text_size_extra-large\\\">\").concat(locale.t('dialog.tabs.file.drag'), \"</div><div class=\\\"uploadcare--text uploadcare--text_size_small uploadcare--text_muted\\\">\").concat(locale.t('dialog.tabs.file.or'), \"</div></div><div class=\\\"uploadcare--text uploadcare--text_size_large uploadcare--draganddrop__not-supported\\\">\").concat(locale.t('dialog.tabs.file.nodrop'), \"</div></div><button type=\\\"button\\\" class=\\\"uploadcare--button uploadcare--button_size_big uploadcare--button_primary uploadcare--tab__action-button needsclick uploadcare--dragging__hide\\\">\").concat(locale.t('dialog.tabs.file.button'), \"</button><div class=\\\"uploadcare--file-sources uploadcare--dragging__hide\\\"><div class=\\\"uploadcare--text uploadcare--text_size_small uploadcare--text_muted uploadcare--file-sources__caption\\\">\").concat(locale.t('dialog.tabs.file.also'), \"</div><div class=\\\"uploadcare--file-sources__items\\\"><button type=\\\"button\\\" class=\\\"uploadcare--button uploadcare--button_icon uploadcare--file-source uploadcare--file-source_all uploadcare--file-sources_item\\\"><svg role=\\\"presentation\\\" width=\\\"32\\\" height=\\\"32\\\" class=\\\"uploadcare--icon\\\"><use xlink:href=\\\"#uploadcare--icon-more\\\"></use></svg></button></div></div></div>\");\n  };\n\n  var tabPreviewError = function tabPreviewError(_ref) {\n    var error = _ref.error;\n    return \"<div class=\\\"uploadcare--tab__content uploadcare--preview__content uploadcare--error\\\"><div class=\\\"uploadcare--text uploadcare--text_size_large uploadcare--tab__title uploadcare--preview__title\\\">\".concat(locale.t('dialog.tabs.preview.error.' + error + '.title') || locale.t('dialog.tabs.preview.error.default.title'), \"</div><div class=\\\"uploadcare--text\\\">\").concat(locale.t('dialog.tabs.preview.error.' + error + '.text') || locale.t('dialog.tabs.preview.error.default.text'), \"</div><button type=\\\"button\\\" class=\\\"uploadcare--button uploadcare--preview__back\\\">\").concat(locale.t('dialog.tabs.preview.error.' + error + '.back') || locale.t('dialog.tabs.preview.error.default.back'), \"</button></div>\");\n  };\n\n  /*!\n   * escape-html\n   * Copyright(c) 2012-2013 TJ Holowaychuk\n   * Copyright(c) 2015 Andreas Lubbe\n   * Copyright(c) 2015 Tiancheng \"Timothy\" Gu\n   * MIT Licensed\n   */\n\n  /**\n   * Module variables.\n   * @private\n   */\n\n  var matchHtmlRegExp = /[\"'&<>]/;\n\n  /**\n   * Module exports.\n   * @public\n   */\n\n  var escapeHtml_1 = escapeHtml;\n\n  /**\n   * Escape special characters in the given string of html.\n   *\n   * @param  {string} string The string to escape for inserting into HTML\n   * @return {string}\n   * @public\n   */\n\n  function escapeHtml(string) {\n    var str = '' + string;\n    var match = matchHtmlRegExp.exec(str);\n\n    if (!match) {\n      return str;\n    }\n\n    var escape;\n    var html = '';\n    var index = 0;\n    var lastIndex = 0;\n\n    for (index = match.index; index < str.length; index++) {\n      switch (str.charCodeAt(index)) {\n        case 34: // \"\n          escape = '&quot;';\n          break;\n        case 38: // &\n          escape = '&amp;';\n          break;\n        case 39: // '\n          escape = '&#39;';\n          break;\n        case 60: // <\n          escape = '&lt;';\n          break;\n        case 62: // >\n          escape = '&gt;';\n          break;\n        default:\n          continue;\n      }\n\n      if (lastIndex !== index) {\n        html += str.substring(lastIndex, index);\n      }\n\n      lastIndex = index + 1;\n      html += escape;\n    }\n\n    return lastIndex !== index\n      ? html + str.substring(lastIndex, index)\n      : html;\n  }\n\n  var tabPreviewImage = function tabPreviewImage(_ref) {\n    var src = _ref.src,\n        _ref$name = _ref.name,\n        name = _ref$name === void 0 ? '' : _ref$name,\n        crop = _ref.crop;\n    return \"<div class=\\\"uploadcare--tab__header\\\"><div class=\\\"uploadcare--text uploadcare--text_size_large uploadcare--tab__title uploadcare--preview__title\\\">\".concat(locale.t('dialog.tabs.preview.image.title'), \"</div></div><div class=\\\"uploadcare--tab__content uploadcare--preview__content\\\"><div class=\\\"uploadcare--media\\\"><img src=\\\"\").concat(src, \"\\\" title=\\\"\").concat(escapeHtml_1(name), \"\\\" alt=\\\"\").concat(escapeHtml_1(name), \"\\\" class=\\\"uploadcare--media__image uploadcare--preview__image\\\"></div></div><div class=\\\"uploadcare--footer uploadcare--tab__footer\\\"><div class=\\\"uploadcare--footer__additions\\\">\").concat(crop ? '<div class=\"uploadcare--crop-sizes\"><div role=\"button\" tabindex=\"0\" class=\"uploadcare--button uploadcare--button_icon uploadcare--crop-sizes__item\" data-caption=\"free\"><div class=\"uploadcare--crop-sizes__icon\"></div></div></div>' : '', \"</div><button type=\\\"button\\\" class=\\\"uploadcare--button uploadcare--footer__button uploadcare--preview__back\\\">\").concat(locale.t('dialog.tabs.preview.image.change'), \"</button> <button type=\\\"button\\\" class=\\\"uploadcare--button uploadcare--button_primary uploadcare--footer__button uploadcare--preview__done\\\">\").concat(locale.t('dialog.tabs.preview.done'), \"</button></div>\");\n  };\n\n  var tabPreviewMultipleFile = function tabPreviewMultipleFile() {\n    return \"<div class=\\\"uploadcare--file uploadcare--files__item uploadcare--file_status_uploading\\\"><div class=\\\"uploadcare--file__description\\\" tabindex=\\\"0\\\"><div class=\\\"uploadcare--file__preview\\\"></div><div class=\\\"uploadcare--file__name\\\">\".concat(locale.t('dialog.tabs.preview.unknownName'), \"</div><div class=\\\"uploadcare--file__size\\\"></div><div class=\\\"uploadcare--file__error\\\"></div></div><div class=\\\"uploadcare--file__progressbar\\\"><div class=\\\"uploadcare--progressbar\\\"><div class=\\\"uploadcare--progressbar__value\\\"></div></div></div><button type=\\\"button\\\" class=\\\"uploadcare--button uploadcare--button_icon uploadcare--button_muted uploadcare--file__remove\\\"><svg role=\\\"presentation\\\" width=\\\"32\\\" height=\\\"32\\\" class=\\\"uploadcare--icon\\\"><use xlink:href=\\\"#uploadcare--icon-remove\\\"></use></svg></button></div>\");\n  };\n\n  var tabPreviewMultiple = function tabPreviewMultiple() {\n    return \"<div class=\\\"uploadcare--tab__header\\\"><div id=\\\"preview__title\\\" class=\\\"uploadcare--text uploadcare--text_size_large uploadcare--tab__title uploadcare--preview__title\\\" role=\\\"status\\\" aria-live=\\\"assertive\\\"></div></div><div class=\\\"uploadcare--tab__content uploadcare--preview__content\\\"><div class=\\\"uploadcare--files\\\"></div></div><div class=\\\"uploadcare--footer uploadcare--tab__footer\\\"><div class=\\\"uploadcare--footer__additions uploadcare--preview__message\\\"></div><button type=\\\"button\\\" class=\\\"uploadcare--button uploadcare--footer__button uploadcare--preview__back\\\">\".concat(locale.t('dialog.tabs.preview.multiple.clear'), \"</button> <button type=\\\"button\\\" class=\\\"uploadcare--button uploadcare--button_primary uploadcare--footer__button uploadcare--preview__done\\\" aria-describedby=\\\"preview_title\\\">\").concat(locale.t('dialog.tabs.preview.multiple.done'), \"</button></div>\");\n  };\n\n  var tabPreviewRegular = function tabPreviewRegular(_ref) {\n    var file = _ref.file;\n    return \"<div class=\\\"uploadcare--tab__header\\\"><div id=\\\"tab__title\\\" class=\\\"uploadcare--text uploadcare--text_size_large uploadcare--tab__title\\\" role=\\\"status\\\" aria-live=\\\"assertive\\\">\".concat(locale.t('dialog.tabs.preview.regular.title'), \"</div></div><div class=\\\"uploadcare--tab__content uploadcare--preview__content\\\"><div class=\\\"uploadcare--text uploadcare--preview__file-name\\\">\").concat(escapeHtml_1(file.name) || locale.t('dialog.tabs.preview.unknownName'), \" \").concat(readableFileSize(file.size, '', ', '), \"</div></div><div class=\\\"uploadcare--footer uploadcare--tab__footer\\\"><button type=\\\"button\\\" class=\\\"uploadcare--button uploadcare--footer__button uploadcare--preview__back\\\">\").concat(locale.t('dialog.tabs.preview.change'), \"</button> <button type=\\\"button\\\" class=\\\"uploadcare--button uploadcare--button_primary uploadcare--footer__button uploadcare--preview__done\\\" aria-describedby=\\\"tab__title\\\">\").concat(locale.t('dialog.tabs.preview.done'), \"</button></div>\");\n  };\n\n  var tabPreviewUnknown = function tabPreviewUnknown() {\n    return \"<div class=\\\"uploadcare--tab__header\\\"><div class=\\\"uploadcare--text uploadcare--text_size_large uploadcare--tab__title uploadcare--preview__title\\\">\".concat(locale.t('dialog.tabs.preview.unknown.title'), \"</div></div><div class=\\\"uploadcare--tab__content uploadcare--preview__content\\\"><div class=\\\"uploadcare--text uploadcare--preview__file-name\\\"></div></div><div class=\\\"uploadcare--footer uploadcare--tab__footer\\\"><button type=\\\"button\\\" class=\\\"uploadcare--button uploadcare--footer__button uploadcare--preview__back\\\">\").concat(locale.t('dialog.tabs.preview.change'), \"</button> <button type=\\\"button\\\" class=\\\"uploadcare--button uploadcare--button_primary uploadcare--footer__button uploadcare--preview__done\\\">\").concat(locale.t('dialog.tabs.preview.unknown.done'), \"</button></div>\");\n  };\n\n  var tabPreviewVideo = function tabPreviewVideo() {\n    return \"<div class=\\\"uploadcare--tab__header\\\"><div class=\\\"uploadcare--text uploadcare--text_size_large uploadcare--tab__title uploadcare--preview__title\\\">\".concat(locale.t('dialog.tabs.preview.video.title'), \"</div></div><div class=\\\"uploadcare--tab__content uploadcare--preview__content\\\"><div class=\\\"uploadcare--media\\\"><video controls class=\\\"uploadcare--media__video uploadcare--preview__video\\\"></video></div></div><div class=\\\"uploadcare--footer uploadcare--tab__footer\\\"><button type=\\\"button\\\" class=\\\"uploadcare--button uploadcare--footer__button uploadcare--preview__back\\\">\").concat(locale.t('dialog.tabs.preview.video.change'), \"</button> <button type=\\\"button\\\" class=\\\"uploadcare--button uploadcare--button_primary uploadcare--footer__button uploadcare--preview__done\\\">\").concat(locale.t('dialog.tabs.preview.done'), \"</button></div>\");\n  };\n\n  var tabUrl = function tabUrl() {\n    return \"<div class=\\\"uploadcare--tab__content\\\"><div class=\\\"uploadcare--text uploadcare--text_size_large uploadcare--tab__title\\\">\".concat(locale.t('dialog.tabs.url.title'), \"</div><div class=\\\"uploadcare--text\\\">\").concat(locale.t('dialog.tabs.url.line1'), \"</div><div class=\\\"uploadcare--text\\\">\").concat(locale.t('dialog.tabs.url.line2'), \"</div><form class=\\\"uploadcare--form\\\"><input type=\\\"text\\\" class=\\\"uploadcare--input\\\" placeholder=\\\"\").concat(locale.t('dialog.tabs.url.input'), \"\\\"> <button type=\\\"submit\\\" class=\\\"uploadcare--button uploadcare--button_primary uploadcare--tab__action-button\\\" type=\\\"submit\\\">\").concat(locale.t('dialog.tabs.url.button'), \"</button></form></div>\");\n  };\n\n  var widgetButton = function widgetButton(_ref) {\n    var caption = _ref.caption,\n        name = _ref.name;\n    return \"<button type=\\\"button\\\" class=\\\"uploadcare--widget__button uploadcare--widget__button_type_\".concat(name, \"\\\">\").concat(caption, \"</button>\");\n  };\n\n  var widgetFileName = function widgetFileName(_ref) {\n    var name = _ref.name,\n        size = _ref.size;\n    return \"<div class=\\\"uploadcare--link uploadcare--widget__file-name\\\" tabindex=\\\"0\\\" role=\\\"link\\\">\".concat(escapeHtml_1(fitText(name, 20)), \"</div><div class=\\\"uploadcare--widget__file-size\\\">, \").concat(readableFileSize(size), \"</div>\");\n  };\n\n  var widget = function widget() {\n    return \"<div class=\\\"uploadcare--widget\\\" aria-describedby=\\\"uploadcare--widget__text uploadcare--widget__progress\\\"><div class=\\\"uploadcare--widget__dragndrop-area\\\">\".concat(locale.t('draghere'), \"</div><div id=\\\"uploadcare--widget__progress\\\" class=\\\"uploadcare--widget__progress\\\" role=\\\"progressbar\\\" aria-valuenow=\\\"0\\\" aria-valuemin=\\\"0\\\" aria-valuemax=\\\"100\\\"></div><div id=\\\"uploadcare--widget__text\\\" class=\\\"uploadcare--widget__text\\\" aria-live=\\\"polite\\\"></div></div>\");\n  };\n\n  var _styles = \".uploadcare--jcrop-handle{box-sizing:border-box;padding:12.5px;width:45px;height:45px;background:transparent;z-index:2147483621}@media (min-width:760px){.uploadcare--jcrop-handle{height:35px;width:35px;padding:10px}}.uploadcare--jcrop-handle:before{content:\\\"\\\";display:block;width:20px;height:20px;background:#fff;box-shadow:inset 0 0 0 1px rgba(0,0,0,.2);border-radius:50%}@media (min-width:760px){.uploadcare--jcrop-handle:before{height:15px;width:15px}}.uploadcare--jcrop-handle.ord-nw{margin-top:-22.5px;margin-left:-22.5px;top:0;left:0}@media (min-width:760px){.uploadcare--jcrop-handle.ord-nw{margin-left:-17.5px;margin-top:-17.5px}}.uploadcare--jcrop-handle.ord-ne{margin-top:-22.5px;margin-right:-22.5px;top:0;right:0}@media (min-width:760px){.uploadcare--jcrop-handle.ord-ne{margin-right:-17.5px;margin-top:-17.5px}}.uploadcare--jcrop-handle.ord-se{margin-bottom:-22.5px;margin-right:-22.5px;bottom:0;right:0}@media (min-width:760px){.uploadcare--jcrop-handle.ord-se{margin-right:-17.5px;margin-bottom:-17.5px}}.uploadcare--jcrop-handle.ord-sw{margin-bottom:-22.5px;margin-left:-22.5px;bottom:0;left:0}@media (min-width:760px){.uploadcare--jcrop-handle.ord-sw{margin-left:-17.5px;margin-bottom:-17.5px}}.uploadcare--jcrop-hline{width:100%;height:1px!important;background-color:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.2);z-index:2147483620}.uploadcare--jcrop-hline.bottom{bottom:0}.uploadcare--jcrop-vline{width:1px!important;height:100%;background-color:#fff;box-shadow:0 0 0 1px rgba(0,0,0,.2);z-index:2147483620}.uploadcare--jcrop-vline.right{right:0}.uploadcare--jcrop-tracker{height:100%;width:100%;-webkit-tap-highlight-color:transparent;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.uploadcare--jcrop-holder img{max-width:none;max-height:none}.uploadcare--text{margin:0 0 10px;padding:0;font-size:17.5px;line-height:25px}.uploadcare--text:empty{display:none}.uploadcare--text_muted{color:#a4a2a1}.uploadcare--text_pre{box-sizing:border-box;overflow-x:auto;padding:20px;max-width:100%;background:#e3e1e1;font-family:monospace;white-space:pre;text-align:left}.uploadcare--text_size_small{font-size:15px;line-height:20px}.uploadcare--text_size_medium{font-size:20px;font-weight:700;line-height:25px}.uploadcare--text_size_large{font-size:22px;font-weight:700;line-height:25px}.uploadcare--text_size_extra-large{font-size:35px;line-height:45px}@media (min-width:760px){.uploadcare--text_size_extra-large{font-size:42.5px;line-height:50px}}.uploadcare--icon{all:initial;color:inherit;fill:currentColor;margin:0;padding:0;max-width:100%;width:32px;height:32px;cursor:inherit}.uploadcare--link,.uploadcare--link:link,.uploadcare--link:visited{cursor:pointer;color:#157cfc;text-decoration:underline}.uploadcare--link:focus,.uploadcare--link:hover{color:#3891ff;text-decoration:none}.uploadcare--link:focus{outline:2px solid rgba(21,124,252,.5);outline-offset:1px}.uploadcare--link:active{color:#0969ee}.uploadcare--button{all:initial;-ms-flex-negative:0;flex-shrink:0;display:inline-block;overflow:hidden;box-sizing:border-box;margin:0;padding:10px;width:auto;min-width:100px;height:auto;min-height:0;border-radius:6px;border:1px solid #157cfc;background:transparent;color:#157cfc;cursor:default;white-space:nowrap;text-overflow:ellipsis;text-align:center;font-family:inherit;font-size:15px;font-weight:400;font-style:normal;line-height:20px;box-shadow:none;text-shadow:none;transition:background .3s,color .3s,border .3s}.uploadcare--button svg{pointer-events:none}.uploadcare--button:focus,.uploadcare--button:hover{background:transparent;border-color:#3891ff;color:#3891ff;font-weight:400;font-style:normal;box-shadow:none;text-shadow:none}.uploadcare--button:focus{outline:2px solid rgba(21,124,252,.5);outline-offset:1px}.uploadcare--button:active{border-color:#0969ee;color:#0969ee}.uploadcare--button:disabled,.uploadcare--button[aria-disabled=true]{background:transparent!important;border-color:#d4d2d2!important;color:#d4d2d2!important;cursor:not-allowed}@media (min-width:760px){.uploadcare--button{padding:10px 20px;font-size:17.5px;line-height:25px}}.uploadcare--button_icon{padding:14px;min-width:0;width:60px;height:60px}.uploadcare--button_muted{border-color:transparent!important;color:#a4a2a1;border-radius:0}.uploadcare--button_muted:focus,.uploadcare--button_muted:hover{color:#157cfc}.uploadcare--button_muted:disabled,.uploadcare--button_muted[aria-disabled=true]{border-color:transparent!important}.uploadcare--button_overlay{background:rgba(53,53,53,.5);border-color:transparent;color:#fff}.uploadcare--button_overlay:focus,.uploadcare--button_overlay:hover{background:hsla(0,0%,40%,.5);border-color:transparent;color:#fff}.uploadcare--button_overlay:active{background:rgba(33,33,33,.5)}.uploadcare--button_primary{background:#157cfc;border-color:#157cfc;color:#fff}.uploadcare--button_primary:focus,.uploadcare--button_primary:hover{background:#3891ff;border-color:#3891ff;color:#fff}.uploadcare--button_primary:active{background:#0969ee;border-color:#0969ee}.uploadcare--button_primary:disabled,.uploadcare--button_primary[aria-disabled=true]{background:#d4d2d2!important;border-color:#d4d2d2!important;color:#fff!important}.uploadcare--button_size_big{padding:10px 25px;font-size:20px;line-height:30px}.uploadcare--button_size_small{padding:5px 10px;min-width:80px;font-size:15px;line-height:20px}.uploadcare--input{-webkit-appearance:none;-moz-appearance:none;appearance:none;-ms-flex-negative:0;flex-shrink:0;display:block;box-sizing:border-box;margin:5px 0 15px;padding:10px 15px;width:100%;font-size:17.5px;line-height:25px;background:#fff;color:#353535;border:1px solid #a4a2a1;border-radius:2px;box-shadow:none}.uploadcare--input:focus{outline:2px solid rgba(21,124,252,.5);outline-offset:1px}.uploadcare--input::-webkit-input-placeholder{color:#a4a2a1}.uploadcare--input:-ms-input-placeholder,.uploadcare--input::-ms-input-placeholder{color:#a4a2a1}.uploadcare--input::placeholder{color:#a4a2a1}.uploadcare--form{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;max-width:400px;width:100%}.uploadcare--error{color:#e66a6a}.uploadcare--powered-by{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:7.5px 0;font-size:12.5px;line-height:15px;color:#fff;text-align:center}.uploadcare--powered-by__link{color:inherit!important;text-decoration:none!important}.uploadcare--powered-by__link,.uploadcare--powered-by__logo{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex}.uploadcare--powered-by__logo{width:20px;height:15px;vertical-align:text-bottom}.uploadcare--progress__canvas{width:100%;height:100%}.uploadcare--progress__text{display:table-cell;vertical-align:middle;text-align:center;font-size:60%;line-height:1}.uploadcare--progress__text-container{width:100%;height:100%;display:table;white-space:normal}.uploadcare--progress_type_canvas{padding:2px;width:32px;height:32px;color:#ffd800;border-color:#e3e1e1}.uploadcare--progressbar{overflow:hidden;width:100%;height:100%;background:#e3e1e1;border-radius:6px}.uploadcare--progressbar__value{width:0;height:100%;background:#ffd800}.uploadcare--menu{-ms-flex-negative:0;flex-shrink:0;width:100%;width:100vw;max-width:100%;height:100%;overflow:hidden}@media (min-width:760px){.uploadcare--menu{width:60px}}@media (max-width:759px){.uploadcare--menu{height:60px}}.uploadcare--menu__icon{-ms-flex-negative:0;flex-shrink:0;margin:14px}@media (max-width:759px){.uploadcare--menu:not(.uploadcare--menu_opened) .uploadcare--menu__item_current:not(.uploadcare--menu__item_tab_file) .uploadcare--menu__icon{position:absolute;top:0;left:50%;-webkit-transform:translateX(-50%);transform:translateX(-50%);margin-left:0}}.uploadcare--menu__item{-ms-flex-negative:0;flex-shrink:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100vw;height:60px;overflow:hidden;cursor:default;background:#e3e1e1;color:#666;transition:background .3s,color .3s}@media (min-width:760px){.uploadcare--menu__item{width:60px}}.uploadcare--menu__item:focus,.uploadcare--menu__item:hover{color:#157cfc}.uploadcare--menu__item:active{background-color:#fff;color:#0969ee}.uploadcare--menu__item:focus{outline:none;box-shadow:inset 0 0 0 2px rgba(21,124,252,.5)}.uploadcare--menu__item[aria-disabled=true]{background:#e3e1e1!important;color:#666!important;cursor:not-allowed}.uploadcare--menu__item:after{content:attr(title);-ms-flex-negative:0;flex-shrink:0;display:-webkit-box;display:-ms-flexbox;display:flex;height:30px;font-size:17px;line-height:30px;white-space:nowrap}@media (min-width:760px){.uploadcare--menu__item:after{overflow:hidden;max-width:170px;text-overflow:ellipsis}}.uploadcare--menu__item_current,.uploadcare--menu__item_current:active,.uploadcare--menu__item_current:focus,.uploadcare--menu__item_current:hover{background-color:#fff;color:#353535}.uploadcare--menu__item_hidden{display:none}.uploadcare--menu__items{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:100%;height:100%;padding-right:100vw;overflow-y:auto;overflow-x:hidden;background:#e3e1e1}.uploadcare--menu__toggle{width:60px;height:60px;transition:none}.uploadcare--menu__toggle:focus{outline-offset:-2px}@media (min-width:760px){.uploadcare--menu__toggle{display:none}}@media (max-width:759px){.uploadcare--menu:not(.uploadcare--menu_opened) .uploadcare--menu__toggle-icon_back{display:none}}@media (max-width:759px){.uploadcare--menu_opened{position:relative;z-index:1000;height:100%}.uploadcare--menu_opened .uploadcare--menu__toggle{-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;width:100%;text-align:left;background:#e3e1e1}.uploadcare--menu_opened .uploadcare--menu__toggle-icon_menu{display:none}.uploadcare--menu_opened .uploadcare--menu__items{height:calc(100% - 60px)}}.uploadcare--footer{-ms-flex-negative:0;flex-shrink:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;width:100%;margin-top:10px;padding:5px 20px 15px}@media (max-width:759px) and (orientation:portrait){.uploadcare--footer{display:block}}.uploadcare--footer:empty{display:none}.uploadcare--footer__additions{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;box-sizing:border-box;padding:0 0 15px;text-align:center}@media (max-width:759px) and (orientation:landscape){.uploadcare--footer__additions{padding:0 20px}}@media (max-width:500px) and (orientation:landscape){.uploadcare--footer__additions{display:none}}@media (min-width:760px){.uploadcare--footer__additions{padding:0 20px}}.uploadcare--footer__additions:empty{visibility:hidden;padding:0}.uploadcare--footer__button{margin-top:5px;margin-bottom:5px}.uploadcare--footer__button:first-of-type{-webkit-box-ordinal-group:1;-ms-flex-order:0;order:0}.uploadcare--footer__button:nth-of-type(2){-webkit-box-ordinal-group:3;-ms-flex-order:2;order:2}@media (max-width:759px){.uploadcare--footer__button{max-width:calc(50% - 20px)}}@media (max-width:759px) and (orientation:portrait){.uploadcare--footer__button:first-of-type{float:left}.uploadcare--footer__button:nth-of-type(2){float:right}}.uploadcare--dragging .uploadcare--draganddrop{margin:20px;background:#e3e1e1;color:#a4a2a1;border:2px dashed;border-radius:20px}.uploadcare--draganddrop.uploadcare--dragging{color:#157cfc!important}@media (max-width:759px){.uploadcare--draganddrop__title{display:none}}.uploadcare--draganddrop:not(.uploadcare--draganddrop_supported) .uploadcare--draganddrop__supported,.uploadcare--draganddrop_supported .uploadcare--draganddrop__not-supported,.uploadcare--dragging .uploadcare--dialog__close,.uploadcare--dragging__show{display:none}.uploadcare--dragging .uploadcare--dragging__show{display:block}.uploadcare--dragging .uploadcare--dragging__hide{display:none}.uploadcare--file{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;box-sizing:border-box;padding:5px 0 5px 20px;color:#353535;cursor:default}.uploadcare--file:hover{background:rgba(21,124,252,.1)}.uploadcare--file__description{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;min-width:0;padding-right:20px;text-align:left}.uploadcare--file__description:focus,.uploadcare--file__description:focus .uploadcare--file__preview,.uploadcare--file__description:hover,.uploadcare--file__description:hover .uploadcare--file__preview{color:#157cfc}.uploadcare--file__description:active,.uploadcare--file__description:active .uploadcare--file__preview{color:#0969ee}.uploadcare--file__description:focus{outline:2px solid rgba(21,124,252,.5);outline-offset:2px}.uploadcare--file__icon{max-width:100%;max-height:100%}.uploadcare--file__name{overflow:hidden;margin:0;max-width:calc(100vw - 200px);line-height:25px;white-space:nowrap;text-overflow:ellipsis;transition:color .3s}@media (min-width:760px){.uploadcare--file__name{max-width:350px}}.uploadcare--file__preview{-ms-flex-negative:0;flex-shrink:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;float:left;box-sizing:border-box;margin-right:10px;padding:2px;width:60px;height:60px;overflow:hidden;border:1px solid;border-radius:6px;background:transparent;color:#e3e1e1;transition:border .3s}.uploadcare--file__progressbar{-ms-flex-negative:0;flex-shrink:0;-ms-flex-item-align:center;align-self:center;margin:0 10px;width:60px;height:10px}.uploadcare--file__size{font-size:12.5px;color:#a4a2a1}.uploadcare--file_status_error,.uploadcare--file_status_error .uploadcare--file__description,.uploadcare--file_status_error .uploadcare--file__preview{color:#e66a6a!important}.uploadcare--file_status_error .uploadcare--file__name{color:hsla(0,71%,66%,.5)!important}.uploadcare--file_status_error .uploadcare--file__progressbar,.uploadcare--file_status_error .uploadcare--file__size,.uploadcare--file_status_uploaded .uploadcare--file__progressbar{display:none}.uploadcare--file_status_uploading,.uploadcare--file_status_uploading .uploadcare--file__description{color:#353535!important}.uploadcare--file_status_uploading .uploadcare--file__name{max-width:calc(100vw - 280px)}@media (min-width:760px){.uploadcare--file_status_uploading .uploadcare--file__name{max-width:270px}}.uploadcare--file_status_uploading .uploadcare--file__preview{background:#ffd800;color:#ffd800!important}.uploadcare--files{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;overflow:auto;width:100%;height:100%}.uploadcare--files__item{-ms-flex-negative:0;flex-shrink:0}.uploadcare--crop-sizes{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-pack:distribute;justify-content:space-around}.uploadcare--crop-sizes__item{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:end;-ms-flex-pack:end;justify-content:flex-end;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding:0;height:65px;background:transparent;border-color:transparent;color:#353535}.uploadcare--crop-sizes__item:focus,.uploadcare--crop-sizes__item:hover{background:transparent;border-color:transparent;color:#157cfc}.uploadcare--crop-sizes__item:active{background:transparent;border-color:transparent;color:#0969ee}.uploadcare--crop-sizes__item:disabled,.uploadcare--crop-sizes__item[aria-disabled=true]{border-color:transparent!important}.uploadcare--crop-sizes__item:after{content:attr(data-caption);display:block;font-size:14px;line-height:25px;text-transform:uppercase}@media (max-width:400px),(max-width:600px) and (orientation:landscape){.uploadcare--crop-sizes__item:after{font-size:12px}}.uploadcare--crop-sizes__item:before{content:\\\"\\\";display:block;-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1;margin:1px 0;width:6px;height:6px;background:transparent;border-radius:50%}.uploadcare--crop-sizes__item_current:active,.uploadcare--crop-sizes__item_current:focus,.uploadcare--crop-sizes__item_current:hover{color:#353535}.uploadcare--crop-sizes__item_current:before{background:#157cfc}.uploadcare--crop-sizes__icon{box-sizing:border-box;width:30px;height:30px;border:2px solid;border-radius:2px;color:inherit;-webkit-transform:scale(.666);transform:scale(.666)}.uploadcare--crop-sizes__icon_free{border:none;border-radius:0;-webkit-transform:none;transform:none}.uploadcare--file-source{margin:10px;border-color:#e3e1e1;background:#e3e1e1;color:#353535}.uploadcare--file-source_all{-webkit-box-ordinal-group:2;-ms-flex-order:1;order:1;border-color:currentColor;background:transparent;color:#157cfc}.uploadcare--file-sources{-ms-flex-negative:0;flex-shrink:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;width:100%}@media (max-width:759px) and (max-height:450px),(min-width:760px){.uploadcare--file-sources{display:none}}.uploadcare--file-sources__caption{margin:15px 0 5px}@media (max-width:759px) and (max-height:550px){.uploadcare--file-sources__item:nth-child(4),.uploadcare--file-sources__item:nth-child(5),.uploadcare--file-sources__item:nth-child(6){display:none}}.uploadcare--file-sources__items{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;max-width:300px}.uploadcare--file-sources__items:empty,.uploadcare--file-sources__items:not(.uploadcare--file-sources__items_many) .uploadcare--file-source__all{display:none}.uploadcare--media{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;position:relative;width:100%}.uploadcare--media__image{position:absolute;top:50%;left:50%;max-width:100%;max-height:100%;-webkit-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%)}.uploadcare--media__video{all:initial;width:auto;max-width:100%;height:auto;min-height:100px;max-height:100%}@media (max-width:759px) and (max-height:379px){.uploadcare--media__video{max-height:120px}}@media (max-width:759px) and (min-height:380px) and (max-height:499px){.uploadcare--media__video{max-height:160px}}@media (max-width:759px) and (min-height:500px),(min-width:760px){.uploadcare--media__video{max-height:300px}}.uploadcare--camera__button{margin:5px 10px}.uploadcare--camera__button_type_mirror{position:absolute;top:15px;left:50%;margin:0;-webkit-transform:translateX(-50%);transform:translateX(-50%)}.uploadcare--camera__video{transition:-webkit-transform .8s cubic-bezier(.23,1,.32,1);transition:transform .8s cubic-bezier(.23,1,.32,1);transition:transform .8s cubic-bezier(.23,1,.32,1),-webkit-transform .8s cubic-bezier(.23,1,.32,1)}.uploadcare--camera__video_mirrored{-webkit-transform:scaleX(-1);transform:scaleX(-1)}.uploadcare--camera__video-container{-webkit-box-flex:0;-ms-flex-positive:0;flex-grow:0;position:relative;margin-bottom:10px}.uploadcare--camera_status_denied .uploadcare--camera__button_type_cancel-record,.uploadcare--camera_status_denied .uploadcare--camera__button_type_capture,.uploadcare--camera_status_denied .uploadcare--camera__button_type_mirror,.uploadcare--camera_status_denied .uploadcare--camera__button_type_start-record,.uploadcare--camera_status_denied .uploadcare--camera__button_type_stop-record,.uploadcare--camera_status_denied .uploadcare--camera__controls,.uploadcare--camera_status_denied .uploadcare--camera__not-found,.uploadcare--camera_status_denied .uploadcare--camera__please-allow,.uploadcare--camera_status_denied .uploadcare--camera__video-container,.uploadcare--camera_status_not-founded .uploadcare--camera__button_type_cancel-record,.uploadcare--camera_status_not-founded .uploadcare--camera__button_type_capture,.uploadcare--camera_status_not-founded .uploadcare--camera__button_type_mirror,.uploadcare--camera_status_not-founded .uploadcare--camera__button_type_retry,.uploadcare--camera_status_not-founded .uploadcare--camera__button_type_start-record,.uploadcare--camera_status_not-founded .uploadcare--camera__button_type_stop-record,.uploadcare--camera_status_not-founded .uploadcare--camera__controls,.uploadcare--camera_status_not-founded .uploadcare--camera__please-allow,.uploadcare--camera_status_not-founded .uploadcare--camera__video-container,.uploadcare--camera_status_ready .uploadcare--camera__button_type_cancel-record,.uploadcare--camera_status_ready .uploadcare--camera__button_type_retry,.uploadcare--camera_status_ready .uploadcare--camera__button_type_stop-record,.uploadcare--camera_status_ready .uploadcare--camera__not-found,.uploadcare--camera_status_ready .uploadcare--camera__please-allow,.uploadcare--camera_status_recording .uploadcare--camera__button_type_capture,.uploadcare--camera_status_recording .uploadcare--camera__button_type_mirror,.uploadcare--camera_status_recording .uploadcare--camera__button_type_retry,.uploadcare--camera_status_recording .uploadcare--camera__button_type_start-record,.uploadcare--camera_status_recording .uploadcare--camera__not-found,.uploadcare--camera_status_recording .uploadcare--camera__please-allow,.uploadcare--camera_status_requested .uploadcare--camera__button_type_cancel-record,.uploadcare--camera_status_requested .uploadcare--camera__button_type_capture,.uploadcare--camera_status_requested .uploadcare--camera__button_type_mirror,.uploadcare--camera_status_requested .uploadcare--camera__button_type_retry,.uploadcare--camera_status_requested .uploadcare--camera__button_type_start-record,.uploadcare--camera_status_requested .uploadcare--camera__button_type_stop-record,.uploadcare--camera_status_requested .uploadcare--camera__controls,.uploadcare--camera_status_requested .uploadcare--camera__not-found,.uploadcare--camera_status_requested .uploadcare--camera__video-container{display:none}.uploadcare--crop-widget>.uploadcare--preview__image{-webkit-filter:brightness(60%);filter:brightness(60%);-webkit-transform:none;transform:none}.uploadcare--tab{-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;text-align:center}.uploadcare--tab,.uploadcare--tab__content{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.uploadcare--tab__content{-ms-flex-negative:1;flex-shrink:1;-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow-y:auto;padding:0 20px}.uploadcare--tab__header{-ms-flex-negative:0;flex-shrink:0;padding:0 20px;overflow:hidden}@media (min-width:760px){.uploadcare--tab__header{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;padding-right:60px;height:60px}}.uploadcare--tab__iframe{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;width:100%;height:100%;border:0;opacity:0}.uploadcare--tab__title{margin-top:10px;margin-bottom:10px}.uploadcare--tab:not(.uploadcare--tab_current),.uploadcare--tab_name_preview.uploadcare--tab_current~.uploadcare--panel__footer{display:none}.uploadcare--tab_remote.uploadcare--tab_current~.uploadcare--panel__footer{margin-top:0}.uploadcare--panel{-ms-flex-negative:0;flex-shrink:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;position:relative;box-sizing:border-box;overflow:hidden;width:100%;height:500px;border:1px solid #a4a2a1;border-radius:6px;background:#fff;color:#353535;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,Arial,sans-serif;font-weight:400;font-size:15px;line-height:20px}@media (min-width:760px){.uploadcare--panel{-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row}}.uploadcare--panel__content{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;overflow:hidden}.uploadcare--panel__file-counter{display:inline}.uploadcare--panel__footer{padding-top:15px;background:#fff9d8}.uploadcare--panel__icon{box-sizing:border-box;padding:3px}.uploadcare--panel__menu_hidden{display:none}.uploadcare--panel__message_hidden{color:#d4d2d2}.uploadcare--panel__powered-by{background:#353535;color:hsla(0,0%,100%,.5)}@media (min-width:760px){.uploadcare--panel__powered-by{display:none}}.uploadcare--tab:not(:nth-child(2)).uploadcare--tab_current~.uploadcare--panel__powered-by{display:none}@media (max-width:759px){.uploadcare--panel_menu-hidden .uploadcare--tab__header{padding:6px 60px 0;min-height:60px}}.uploadcare--panel:not(.uploadcare--panel_multiple) .uploadcare--panel__footer{display:none}.uploadcare--panel_multiple .uploadcare--tab_name_preview{height:100%}.uploadcare--panel_multiple .uploadcare--tab_name_preview .uploadcare--tab__content{padding-left:0;padding-right:0}.uploadcare--panel_multiple .uploadcare--tab_name_preview .uploadcare--tab__footer{position:relative;margin-top:0;padding-top:15px}.uploadcare--panel_multiple .uploadcare--tab_name_preview .uploadcare--tab__footer:before{content:\\\"\\\";position:absolute;top:0;left:20px;width:calc(100% - 40px);height:1px;background:#e3e1e1}.uploadcare--preview__content{overflow:hidden}.uploadcare--preview__content_crop{padding:10px 20px}.uploadcare--dialog{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:start;-ms-flex-pack:start;justify-content:flex-start;-webkit-box-align:stretch;-ms-flex-align:stretch;align-items:stretch;position:fixed;top:0;left:0;z-index:2147483647;box-sizing:border-box;overflow:hidden;width:100%;height:100%;background:#fff;color:#353535;font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Ubuntu,Cantarell,Fira Sans,Droid Sans,Helvetica Neue,Arial,sans-serif;font-weight:400;font-size:15px;line-height:20px;opacity:0;transition:opacity .33s cubic-bezier(.05,.7,.25,1)}@media (min-width:760px){.uploadcare--dialog{-webkit-box-align:center;-ms-flex-align:center;align-items:center;overflow-y:auto;background:rgba(0,0,0,.5)}}@media (min-width:760px) and (max-height:559px){.uploadcare--dialog{padding-top:30px}}@media (min-width:760px) and (min-height:560px){.uploadcare--dialog{-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}}.uploadcare--dialog__close{position:absolute;top:0;right:0;z-index:49}.uploadcare--dialog__close:focus{outline-offset:-2px}.uploadcare--dialog__container{display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;overflow:hidden}@media (max-width:759px){.uploadcare--dialog__container{-webkit-box-flex:1;-ms-flex-positive:1;flex-grow:1;height:100%}}@media (min-width:760px){.uploadcare--dialog__container{width:calc(100% - 60px);max-width:900px;height:calc(100% - 60px);min-height:500px;max-height:660px;border-radius:6px}}@media (min-width:1210px){.uploadcare--dialog__container{max-width:1050px}}.uploadcare--dialog__panel{height:100%;border:none;border-radius:0}@media (min-width:1210px){.uploadcare--dialog__panel .uploadcare--menu,.uploadcare--dialog__panel .uploadcare--menu__item{width:250px}}.uploadcare--dialog__powered-by{-ms-flex-negative:0;flex-shrink:0}@media (max-width:759px){.uploadcare--dialog__powered-by{display:none}}.uploadcare--dialog_status_active{opacity:1}.uploadcare--widget{display:inline-block;vertical-align:baseline}.uploadcare--dragging .uploadcare--widget,.uploadcare--widget.uploadcare--dragging{position:relative}.uploadcare--widget__button{all:initial;display:inline-block;box-sizing:border-box;margin:0;padding:.4em 1em;width:auto;min-width:0;height:auto;min-height:0;border-radius:6px;border:none;background:#c3c3c3;color:#fff;cursor:default;text-align:center;white-space:nowrap;font:inherit;line-height:inherit;box-shadow:none;text-shadow:inherit;transition:background .3s}.uploadcare--widget__button:focus,.uploadcare--widget__button:hover{background:#b3b3b3;color:#fff;font:inherit;box-shadow:none;text-shadow:inherit}.uploadcare--widget__button:focus{outline:2px solid rgba(21,124,252,.5);outline-offset:1px}.uploadcare--widget__button:active{background:#b3b3b3}.uploadcare--widget__button:disabled{background:#c3c3c3;color:#fff;cursor:not-allowed}.uploadcare--widget__button_type_open{background:#157cfc;color:#fff}.uploadcare--widget__button_type_open:focus,.uploadcare--widget__button_type_open:hover{background:#3891ff}.uploadcare--widget__button_type_open:active{background:#0969ee}.uploadcare--widget__button_type_open:disabled{background:#c3c3c3}.uploadcare--widget__dragndrop-area{position:absolute;top:0;left:0;box-sizing:border-box;min-width:100%;min-height:100%;margin:0;padding:calc(.4em - 1.5px) 1em;font:inherit;line-height:inherit;text-align:center;white-space:nowrap;border:1.5px dashed;border-radius:6px;background:#e3e1e1;color:#a4a2a1;transition:color .3s;display:none}.uploadcare--dragging .uploadcare--widget__dragndrop-area{display:block}.uploadcare--widget.uploadcare--dragging .uploadcare--widget__dragndrop-area{color:#157cfc}.uploadcare--widget__file-name,.uploadcare--widget__file-size{display:inline}.uploadcare--widget__progress{display:inline-block;width:1.8em;height:1.8em;margin:0 .2em 0 0;padding:0;line-height:0;vertical-align:middle}.uploadcare--widget__text{display:inline-block;box-sizing:border-box;margin-right:.2em;padding:.4em 0;white-space:nowrap}.uploadcare--widget:not(.uploadcare--widget_option_clearable).uploadcare--widget_status_error .uploadcare--widget__button_type_remove,.uploadcare--widget:not(.uploadcare--widget_option_clearable).uploadcare--widget_status_loaded .uploadcare--widget__button_type_remove,.uploadcare--widget_option_clearable.uploadcare--widget_status_error .uploadcare--widget__button_type_open,.uploadcare--widget_status_error .uploadcare--widget__button_type_cancel,.uploadcare--widget_status_error .uploadcare--widget__progress,.uploadcare--widget_status_loaded .uploadcare--widget__button_type_cancel,.uploadcare--widget_status_loaded .uploadcare--widget__button_type_open,.uploadcare--widget_status_loaded .uploadcare--widget__progress,.uploadcare--widget_status_ready .uploadcare--widget__button_type_cancel,.uploadcare--widget_status_ready .uploadcare--widget__button_type_remove,.uploadcare--widget_status_ready .uploadcare--widget__progress,.uploadcare--widget_status_ready .uploadcare--widget__text,.uploadcare--widget_status_started .uploadcare--widget__button_type_open,.uploadcare--widget_status_started .uploadcare--widget__button_type_remove{display:none}.uploadcare--page{width:auto;min-width:0;max-width:100%;height:auto;min-height:0;max-height:100%;overflow:hidden}.uploadcare--mouse-focused:focus{outline:none}\";\n\n  var _icons = \"<svg width=\\\"0\\\" height=\\\"0\\\" style=\\\"position:absolute\\\"><symbol viewBox=\\\"0 0 32 32\\\" id=\\\"uploadcare--icon-back\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M21.132 9.06a1.5 1.5 0 00-2.122-2.12L9.88 16.07l9.06 9.061a1.5 1.5 0 102.122-2.121l-6.94-6.94 7.01-7.01z\\\"/></symbol><symbol viewBox=\\\"0 0 32 32\\\" id=\\\"uploadcare--icon-box\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M4.962 9C4.385 9 4 9.384 4 9.96v8.243C4 20.793 6.213 23 8.811 23c1.829 0 3.464-1.043 4.33-2.578.866 1.535 2.406 2.578 4.33 2.578 2.695 0 4.812-2.206 4.812-4.797 0-2.686-2.117-4.886-4.811-4.886-1.829 0-3.465 1.043-4.33 2.578-.77-1.535-2.406-2.578-4.33-2.578a4.957 4.957 0 00-2.887.96V9.958c0-.48-.482-.959-.963-.959zm17.08 4.257a.841.841 0 00-.33.15c-.385.288-.5.965-.211 1.349l2.526 3.357-2.526 3.358c-.289.384-.174 1.061.21 1.35.385.287 1.065.173 1.354-.21l2.105-2.879 2.105 2.878c.288.384.968.498 1.353.21.385-.288.499-.965.21-1.349l-2.526-3.358 2.526-3.357c.289-.384.175-1.061-.21-1.35-.385-.287-1.065-.203-1.353.18l-2.105 2.879-2.105-2.878c-.217-.288-.657-.406-1.023-.33zm-13.23 2.068c1.539 0 2.886 1.344 2.886 2.878.096 1.535-1.25 2.878-2.887 2.878a2.89 2.89 0 01-2.886-2.878c0-1.63 1.347-2.878 2.886-2.878zm8.66 0a2.89 2.89 0 012.886 2.878c0 1.535-1.347 2.878-2.886 2.878a2.89 2.89 0 01-2.887-2.878c0-1.63 1.347-2.878 2.887-2.878z\\\"/></symbol><symbol viewBox=\\\"0 0 32 32\\\" id=\\\"uploadcare--icon-camera\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M21 10h3c1.653 0 3 1.343 3 3v9c0 1.656-1.344 3-3.001 3H8A3 3 0 015 22v-9a3 3 0 013-3h3v-.999C11 7.901 11.895 7 13 7h6c1.113 0 2 .896 2 2.001V10zm-5 12a4.5 4.5 0 100-9 4.5 4.5 0 000 9zm0-2a2.5 2.5 0 110-5 2.5 2.5 0 010 5z\\\"/></symbol><symbol viewBox=\\\"0 0 32 32\\\" id=\\\"uploadcare--icon-close\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M10.06 7.94a1.5 1.5 0 00-2.12 2.12L13.878 16l-5.94 5.94a1.5 1.5 0 002.122 2.12L16 18.122l5.94 5.94a1.5 1.5 0 002.12-2.122L18.122 16l5.94-5.94a1.5 1.5 0 00-2.122-2.12L16 13.878l-5.94-5.94z\\\"/></symbol><symbol viewBox=\\\"0 0 32 32\\\" id=\\\"uploadcare--icon-crop-free\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M8 12a2.004 2.004 0 01-2-2.01V8.01C6 6.897 6.893 6 8.01 6h1.98c1.109 0 2.005.888 2.01 2h8c.005-1.107.896-2 2.01-2h1.98C25.103 6 26 6.893 26 8.01v1.98A2.004 2.004 0 0124 12v8c1.107.005 2 .896 2 2.01v1.98c0 1.112-.893 2.01-2.01 2.01h-1.98A2.004 2.004 0 0120 24h-8a2.004 2.004 0 01-2.01 2H8.01A2.004 2.004 0 016 23.99v-1.98c0-1.109.888-2.005 2-2.01v-8zm2 0v8a2.004 2.004 0 012 2h8a2.004 2.004 0 012-2v-8a2.004 2.004 0 01-2-2h-8a2.004 2.004 0 01-2 2zm12 10.01v1.98c0 .01 0 .01.01.01h1.98c.01 0 .01 0 .01-.01v-1.98c0-.01 0-.01-.01-.01h-1.98c-.01 0-.01 0-.01.01zm0-14v1.98c0 .01 0 .01.01.01h1.98c.01 0 .01 0 .01-.01V8.01C24 8 24 8 23.99 8h-1.98C22 8 22 8 22 8.01zm-14 14v1.98c0 .01 0 .01.01.01h1.98c.01 0 .01 0 .01-.01v-1.98c0-.01 0-.01-.01-.01H8.01C8 22 8 22 8 22.01zm0-14v1.98c0 .01 0 .01.01.01h1.98c.01 0 .01 0 .01-.01V8.01C10 8 10 8 9.99 8H8.01C8 8 8 8 8 8.01z\\\"/></symbol><symbol viewBox=\\\"0 0 32 32\\\" id=\\\"uploadcare--icon-dropbox\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M9.5 5L16 9.141l-6.5 4.141L3 9.141 9.5 5zm13 0L29 9.141l-6.5 4.141L16 9.141 22.5 5zM3 17.423l6.5-4.141 6.5 4.141-6.5 4.141L3 17.423zm19.5-4.141l6.5 4.141-6.5 4.141-6.5-4.141 6.5-4.141zm-13 9.662l6.5-4.14 6.5 4.14-6.5 4.141-6.5-4.14z\\\"/></symbol><symbol viewBox=\\\"0 0 32 32\\\" id=\\\"uploadcare--icon-empty-pubkey\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M16 31C7.716 31 1 24.284 1 16 1 7.716 7.716 1 16 1c8.284 0 15 6.716 15 15 0 8.284-6.716 15-15 15zm0-13.704a1.296 1.296 0 100-2.592 1.296 1.296 0 000 2.592z\\\"/></symbol><symbol viewBox=\\\"0 0 32 32\\\" id=\\\"uploadcare--icon-error\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M18.122 23.93V21a.583.583 0 00-.179-.434.585.585 0 00-.423-.175h-2.616a.585.585 0 00-.424.175.583.583 0 00-.179.434v2.93c0 .172.06.316.18.433.118.117.26.175.423.175h2.616a.585.585 0 00.423-.175.583.583 0 00.18-.434zm-.037-6.326l.339-9.05a.404.404 0 00-.189-.351c-.163-.135-.313-.203-.452-.203H14.64c-.138 0-.288.068-.452.203-.125.086-.188.215-.188.388l.32 9.013c0 .123.063.224.188.304.126.08.277.12.452.12h2.484c.176 0 .324-.04.443-.12a.41.41 0 00.198-.304z\\\"/></symbol><symbol viewBox=\\\"0 0 32 32\\\" id=\\\"uploadcare--icon-evernote\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M7.998 8.648h2.245a.233.233 0 00.232-.233s-.028-1.931-.028-2.468v-.006c0-.441.093-.825.253-1.148l.077-.144a.05.05 0 00-.026.014l-4.359 4.34a.05.05 0 00-.016.025c.09-.044.213-.106.23-.113.38-.172.84-.267 1.392-.267M24.196 6.56c-.553-.2-1.675-.408-3.084-.575-1.134-.134-2.467-.123-3.272-.098-.097-.665-.56-1.272-1.08-1.482-1.384-.56-3.523-.424-4.071-.27-.437.123-.92.373-1.188.76-.18.258-.297.59-.298 1.051 0 .262.007.878.014 1.426.006.548.014 1.04.014 1.043a.887.887 0 01-.884.888H8.103c-.479 0-.845.08-1.124.208-.28.127-.478.3-.628.503-.3.404-.352.902-.351 1.411 0 0 .004.416.104 1.22.083.622.756 4.971 1.394 6.294.248.514.413.73.9.956 1.083.466 3.559.984 4.72 1.133 1.158.148 1.885.46 2.318-.451.002-.003.087-.227.204-.557.377-1.144.43-2.16.43-2.894 0-.075.108-.078.108 0 0 .519-.098 2.354 1.283 2.847.545.194 1.676.367 2.826.502 1.039.12 1.793.53 1.793 3.208 0 1.628-.34 1.851-2.122 1.851-1.444 0-1.994.038-1.994-1.113 0-.932.917-.834 1.596-.834.304 0 .083-.226.083-.8 0-.572.357-.902.02-.91-2.35-.066-3.733-.003-3.733 2.947 0 2.679 1.021 3.176 4.357 3.176 2.614 0 3.536-.086 4.616-3.45.213-.663.73-2.69 1.043-6.092.197-2.15-.187-8.644-.491-10.282-.178-.958-.746-1.43-1.259-1.616zm-3.3 8.792a4.75 4.75 0 00-.923.056c.081-.66.353-1.473 1.316-1.439 1.066.037 1.216 1.049 1.22 1.734-.45-.201-1.006-.33-1.613-.35\\\"/></symbol><symbol viewBox=\\\"0 0 32 32\\\" id=\\\"uploadcare--icon-facebook\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill-rule=\\\"evenodd\\\" d=\\\"M24.897 6H7.103C6.494 6 6 6.494 6 7.103v17.794C6 25.506 6.494 26 7.103 26h9.587v-7.734h-2.604v-3.028h2.604V13.01c0-2.582 1.579-3.99 3.882-3.99.777-.001 1.552.038 2.325.118v2.7H21.31c-1.255 0-1.5.593-1.5 1.469v1.927h3l-.39 3.028h-2.627V26h5.104c.609 0 1.103-.494 1.103-1.103V7.103C26 6.494 25.506 6 24.897 6z\\\"/></symbol><symbol viewBox=\\\"0 0 32 32\\\" id=\\\"uploadcare--icon-file\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M19 6l5 5h-4c-.556 0-1-.448-1-1V6zm5 7v11.192c0 .995-.808 1.808-1.804 1.808H9.804A1.808 1.808 0 018 24.2V7.74C8 6.602 8.627 6 9.778 6H17v4.994c0 1.12.898 2.006 2.006 2.006H24z\\\"/></symbol><symbol viewBox=\\\"0 0 32 32\\\" id=\\\"uploadcare--icon-flickr\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M11 20c-2.212 0-4-1.79-4-4s1.79-4 4-4a4 4 0 010 8zm10.001 0a4 4 0 11-.002-8 4 4 0 01.002 8z\\\"/></symbol><symbol viewBox=\\\"0 0 32 32\\\" id=\\\"uploadcare--icon-gdrive\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M19.461 6l7.109 12h-7.004L12.539 6h6.922zm-9.27 19l3.467-6H27l-3.466 6H10.192zM5 18.841l6.618-11.36 3.566 5.929-6.722 11.36L5 18.84z\\\"/></symbol><symbol viewBox=\\\"0 0 32 32\\\" id=\\\"uploadcare--icon-gphotos\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M8.797 9.5l-5.632 5.841c-.064.07-.165.228-.165.33 0 .202.127.329.33.329h8.869c1.444 0 2.501-1.09 2.501-2.534V9.5H8.797zM28.67 16H19.8c-1.444 0-2.501 1.09-2.501 2.534V22.5h5.903l5.632-5.841c.064-.07.165-.228.165-.33 0-.202-.127-.329-.33-.329zM16.659 3.165C16.589 3.1 16.43 3 16.329 3c-.202 0-.329.127-.329.33v8.869c0 1.444 1.09 2.501 2.534 2.501H22.5V8.797l-5.841-5.632zM13.466 17.3H9.5v5.903l5.841 5.632c.07.064.228.165.33.165.202 0 .329-.127.329-.33v-8.869c0-1.444-1.09-2.501-2.534-2.501z\\\"/></symbol><symbol viewBox=\\\"0 0 32 32\\\" id=\\\"uploadcare--icon-huddle\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M13.63 14.39c.07-.102.17-.26.2-.313 1.474-2.683 6.857-2.686 8.49 1.002.43.968.67 1.97.675 3.023.008 1.978.004 3.957.002 5.936 0 1.192-.68 1.945-1.763 1.962-1.087.016-1.856-.766-1.865-1.944-.014-1.874.003-3.749-.006-5.623-.006-1.351-.654-2.388-1.719-2.793-1.775-.675-3.59.305-3.892 2.159-.122.747-.104 1.52-.114 2.281-.016 1.336-.002 2.673-.005 4.01-.003 1.125-.669 1.866-1.707 1.907-1.06.042-1.828-.668-1.922-1.78-.007-.086-.003-.173-.003-.26 0-5.31-.002-10.622.002-15.932 0-1.2.731-2.016 1.79-2.025 1.05-.01 1.832.74 1.837 1.792.01 2.013.003 4.026.005 6.04 0 .12.002.391-.005.558\\\"/></symbol><symbol viewBox=\\\"0 0 32 32\\\" id=\\\"uploadcare--icon-instagram\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M16 5c2.987 0 3.362.013 4.535.066 1.171.054 1.97.24 2.67.511a5.391 5.391 0 011.949 1.27 5.392 5.392 0 011.269 1.948c.272.7.457 1.499.51 2.67.054 1.173.067 1.548.067 4.535s-.013 3.362-.066 4.535c-.054 1.171-.24 1.97-.511 2.67a5.392 5.392 0 01-1.27 1.949 5.391 5.391 0 01-1.948 1.269c-.7.271-1.499.457-2.67.51-1.173.054-1.548.067-4.535.067s-3.362-.013-4.535-.066c-1.171-.054-1.97-.24-2.67-.511a5.392 5.392 0 01-1.949-1.27 5.391 5.391 0 01-1.268-1.948c-.273-.7-.458-1.499-.512-2.67C5.013 19.362 5 18.987 5 16s.013-3.362.066-4.535c.054-1.171.24-1.97.512-2.67a5.391 5.391 0 011.268-1.949 5.392 5.392 0 011.949-1.269c.7-.271 1.499-.457 2.67-.51C12.638 5.012 13.013 5 16 5zm0 1.982c-2.937 0-3.285.011-4.445.064-1.072.049-1.655.228-2.042.379-.514.2-.88.438-1.265.823a3.41 3.41 0 00-.823 1.264c-.15.388-.33.97-.379 2.043-.053 1.16-.064 1.508-.064 4.445 0 2.937.011 3.285.064 4.445.049 1.072.228 1.655.379 2.043.2.513.438.88.823 1.264.385.385.751.624 1.265.823.387.15.97.33 2.042.379 1.16.053 1.508.064 4.445.064 2.937 0 3.285-.011 4.445-.064 1.072-.049 1.655-.228 2.042-.379.514-.2.88-.438 1.265-.823.385-.385.624-.751.823-1.264.15-.388.33-.97.379-2.043.053-1.16.064-1.508.064-4.445 0-2.937-.011-3.285-.064-4.445-.049-1.072-.228-1.655-.379-2.043-.2-.513-.438-.88-.823-1.264a3.408 3.408 0 00-1.265-.823c-.387-.15-.97-.33-2.042-.379-1.16-.053-1.508-.064-4.445-.064zm0 3.37a5.649 5.649 0 110 11.297 5.649 5.649 0 010-11.298zm0 9.315a3.667 3.667 0 100-7.334 3.667 3.667 0 000 7.334zm7.192-9.539a1.32 1.32 0 11-2.64 0 1.32 1.32 0 012.64 0z\\\"/></symbol><symbol viewBox=\\\"0 0 32 32\\\" id=\\\"uploadcare--icon-menu\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M7.5 10a1.5 1.5 0 010-3h17a1.5 1.5 0 010 3h-17zm0 7a1.5 1.5 0 010-3h17a1.5 1.5 0 010 3h-17zm0 7a1.5 1.5 0 010-3h17a1.5 1.5 0 010 3h-17z\\\"/></symbol><symbol viewBox=\\\"0 0 32 32\\\" id=\\\"uploadcare--icon-more\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M21 16a3 3 0 116 0 3 3 0 01-6 0zm-8 0a3 3 0 116 0 3 3 0 01-6 0zm-8 0a3 3 0 116 0 3 3 0 01-6 0z\\\"/></symbol><symbol viewBox=\\\"0 0 32 32\\\" id=\\\"uploadcare--icon-onedrive\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M11.715 16.427c.584-2.413 2.699-4.177 5.209-4.177 1.483 0 2.873.621 3.878 1.7.425-.14.922-.248 1.364-.258v-.16c0-3.054-2.214-5.532-4.944-5.532-1.952 0-3.624 1.278-4.428 3.115a3.55 3.55 0 00-2.033-.658c-2.142 0-3.877 1.94-3.877 4.336 0 .258.028.51.068.754-1.652.167-2.946 1.9-2.946 3.79 0 .02.005.037.005.056-.001.017-.011.035-.011.052 0 .757.257 1.449.673 2.007a3.14 3.14 0 002.568 1.317h1.513a4.49 4.49 0 01-.477-1.987c-.001-2.138 1.476-3.93 3.438-4.355zm13.752 2.375c-.03 0-.06.01-.09.01.008-.09.026-.18.026-.273 0-1.812-1.431-3.279-3.198-3.279-.703 0-1.347.24-1.877.635-.655-1.249-1.924-2.107-3.405-2.107-2.146 0-3.885 1.784-3.885 3.984 0 .029.008.053.009.082a2.764 2.764 0 00-.431-.045c-1.602 0-2.898 1.33-2.898 2.973 0 .205.02.406.059.599C10.05 22.87 11.322 24 12.856 24h12.847v-.023C26.99 23.85 28 22.753 28 21.402c0-1.435-1.134-2.6-2.533-2.6z\\\"/></symbol><symbol viewBox=\\\"0 0 32 32\\\" id=\\\"uploadcare--icon-remove\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M22.142 24.009c-.078 1.1-1.044 1.991-2.15 1.991h-7.983c-1.11 0-2.073-.897-2.151-1.991l-.786-11.002A.924.924 0 0110.007 12h11.986c.556 0 .975.45.935 1.007l-.786 11.002zM13 7V6c0-.556.444-1 .99-1h4.02A1 1 0 0119 6v1h4c.556 0 1 .447 1 .999v1.002A.997.997 0 0123 10H9c-.555 0-1-.447-1-.999V7.999A.996.996 0 019 7h4z\\\"/></symbol><symbol viewBox=\\\"0 0 32 32\\\" id=\\\"uploadcare--icon-uploadcare\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path fill=\\\"#ffd800\\\" d=\\\"M16 31C7.716 31 1 24.284 1 16 1 7.716 7.716 1 16 1c8.284 0 15 6.716 15 15 0 8.284-6.716 15-15 15zm0-13.704a1.296 1.296 0 100-2.592 1.296 1.296 0 000 2.592z\\\"/></symbol><symbol viewBox=\\\"0 0 32 32\\\" id=\\\"uploadcare--icon-url\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M16 5c6.074 0 11 4.926 11 11s-4.926 11-11 11S5 22.074 5 16 9.926 5 16 5zm6.076 6.327a.992.992 0 10-1.403-1.403l-1.128 1.128c-1.431-.92-3.47-.768-4.697.461l-3.186 3.185a3.7 3.7 0 00-1.09 2.636c0 .748.22 1.46.624 2.067l-1.272 1.272a.992.992 0 101.402 1.403l1.273-1.272c.606.405 1.32.623 2.067.623.997 0 1.933-.386 2.634-1.089l3.187-3.186a3.729 3.729 0 00.464-4.7l1.125-1.125zm-4.252 3.841a.982.982 0 00.701-.29l.95-.95c.067.188.114.385.114.591 0 .466-.178.904-.505 1.23l-3.186 3.187c-.472.47-1.197.588-1.813.382l.793-.792a.992.992 0 10-1.404-1.404l-.801.802a1.752 1.752 0 01-.115-.59c0-.468.179-.905.506-1.232l3.186-3.186a1.736 1.736 0 011.23-.507c.207 0 .404.049.592.116l-.948.95a.992.992 0 00.7 1.693z\\\"/></symbol><symbol viewBox=\\\"0 0 32 32\\\" id=\\\"uploadcare--icon-vk\\\" xmlns=\\\"http://www.w3.org/2000/svg\\\"><path d=\\\"M27.791 21.484c-.416-.767-1.212-1.708-2.386-2.824l-.038-.038c-.558-.532-.895-.882-1.037-1.06-.258-.341-.316-.686-.175-1.036.1-.264.475-.821 1.125-1.673.341-.451.612-.813.812-1.086 1.441-1.959 2.066-3.21 1.874-3.756l-.074-.127c-.05-.077-.18-.147-.387-.211-.209-.064-.475-.075-.8-.032l-3.599.025a.457.457 0 00-.25.007l-.163.038-.062.032-.05.039a.56.56 0 00-.137.134.882.882 0 00-.125.223 21.072 21.072 0 01-1.337 2.875 27.31 27.31 0 01-.85 1.373c-.258.388-.475.673-.65.856a4.57 4.57 0 01-.475.44c-.141.112-.25.158-.324.141a8.987 8.987 0 01-.213-.05.843.843 0 01-.281-.314 1.425 1.425 0 01-.144-.498c-.025-.2-.04-.373-.044-.518-.003-.144-.002-.349.007-.613.008-.264.012-.443.012-.536 0-.324.007-.675.019-1.054l.031-.901c.009-.222.013-.456.013-.703 0-.247-.015-.44-.044-.581a2.02 2.02 0 00-.131-.409.684.684 0 00-.256-.307 1.426 1.426 0 00-.419-.172c-.441-.102-1.004-.158-1.687-.166-1.55-.017-2.545.085-2.986.307a1.69 1.69 0 00-.475.383c-.15.187-.171.29-.063.306.5.077.854.26 1.062.55l.075.153c.059.11.117.307.175.588.059.28.096.592.113.932.041.622.041 1.154 0 1.597-.042.443-.081.788-.119 1.035a2.107 2.107 0 01-.169.6 2.55 2.55 0 01-.15.281.217.217 0 01-.062.064.918.918 0 01-.337.064c-.117 0-.259-.06-.425-.179a3.024 3.024 0 01-.519-.492c-.179-.208-.38-.5-.606-.875a15.385 15.385 0 01-.7-1.328l-.2-.37a32.156 32.156 0 01-.512-1.042 20.306 20.306 0 01-.575-1.323.84.84 0 00-.3-.408l-.062-.039a.85.85 0 00-.2-.108 1.304 1.304 0 00-.287-.083L4.8 9.64c-.35 0-.587.081-.712.243l-.05.077a.421.421 0 00-.038.204c0 .094.025.209.075.345.5 1.201 1.043 2.36 1.63 3.475C6.294 15.1 6.804 16 7.237 16.68c.433.681.875 1.324 1.325 1.929.45.604.748.992.893 1.162.146.17.26.298.344.384l.312.306c.2.205.494.45.881.735.388.285.817.566 1.287.843.471.277 1.019.503 1.644.677a5.564 5.564 0 001.824.211h1.437c.292-.026.512-.12.662-.281l.05-.064a.858.858 0 00.094-.236c.029-.107.044-.224.044-.351a4.301 4.301 0 01.08-.99c.063-.294.134-.516.213-.665a1.632 1.632 0 01.482-.562.806.806 0 01.1-.045c.2-.068.434-.002.705.199.271.2.525.447.763.74.237.295.522.625.856.99.333.367.625.64.874.818l.25.154c.167.102.384.196.65.28.266.086.5.107.7.065l3.199-.051c.316 0 .562-.054.737-.16.175-.107.279-.224.312-.351.034-.128.035-.273.007-.435a1.632 1.632 0 00-.088-.338 1.694 1.694 0 00-.082-.16z\\\"/></symbol></svg>\";\n\n  var JST = {\n    dialog: dialog,\n    dialog__panel: dialogPanel,\n    progress__text: progressText,\n    'tab-camera-capture': tabCameraCapture,\n    'tab-camera': tabCamera,\n    'tab-file': tabFile,\n    'tab-preview-error': tabPreviewError,\n    'tab-preview-image': tabPreviewImage,\n    'tab-preview-multiple-file': tabPreviewMultipleFile,\n    'tab-preview-multiple': tabPreviewMultiple,\n    'tab-preview-regular': tabPreviewRegular,\n    'tab-preview-unknown': tabPreviewUnknown,\n    'tab-preview-video': tabPreviewVideo,\n    'tab-url': tabUrl,\n    'widget-button': widgetButton,\n    'widget-file-name': widgetFileName,\n    widget: widget,\n    icons: function icons() {\n      return _icons;\n    },\n    styles: function styles() {\n      return _styles;\n    }\n  };\n\n  var tpl = function tpl(key) {\n    var ctx = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n    var fn = JST[key];\n    return fn != null ? fn(_objectSpread2({}, ctx)) : '';\n  };\n\n  isWindowDefined() && waitForSettings.add(function (settings) {\n    var css = tpl('styles', {\n      settings: settings\n    });\n    var style = document.createElement('style');\n    style.setAttribute('type', 'text/css');\n\n    if (style.styleSheet != null) {\n      style.styleSheet.cssText = css;\n    } else {\n      style.appendChild(document.createTextNode(css));\n    }\n\n    return $('head').prepend(style);\n  });\n\n  var canSubmit = function canSubmit(form) {\n    var notSubmittable;\n    notSubmittable = '[data-status=started], [data-status=error]';\n    return !form.find('.uploadcare--widget').is(notSubmittable);\n  };\n\n  var submitPreventionState = function submitPreventionState(form, prevent) {\n    form.attr('data-uploadcare-submitted', prevent);\n    return form.find(':submit').attr('disabled', prevent);\n  };\n\n  var uploadForm = '[role~=\"uploadcare-upload-form\"]';\n  var submittedForm = uploadForm + '[data-uploadcare-submitted]';\n\n  if (isWindowDefined()) {\n    $(document).on('submit', uploadForm, function () {\n      var form;\n      form = $(this);\n\n      if (canSubmit(form)) {\n        return true; // allow submit\n      } else {\n        submitPreventionState(form, true);\n        return false;\n      }\n    });\n    $(document).on('loaded.uploadcare', submittedForm, function () {\n      return $(this).submit();\n    });\n    var cancelEvents = 'ready.uploadcare error.uploadcare';\n    $(document).on(cancelEvents, submittedForm, function () {\n      var form;\n      form = $(this);\n\n      if (canSubmit(form)) {\n        return submitPreventionState(form, false);\n      }\n    });\n  }\n\n  var fakeButtons = ['.uploadcare--menu__item', '.uploadcare--file__description', '.uploadcare--crop-sizes__item'].join(', ');\n  var mouseFocusedClass = 'uploadcare--mouse-focused';\n  isWindowDefined() && $(document.documentElement).on('mousedown', fakeButtons, function (e) {\n    // http://wd.dizaina.net/internet-maintenance/on-outlines/\n    return defer(function () {\n      var activeElement;\n      activeElement = document.activeElement;\n\n      if (activeElement && activeElement !== document.body) {\n        return $(activeElement).addClass(mouseFocusedClass).one('blur', function () {\n          return $(activeElement).removeClass(mouseFocusedClass);\n        });\n      }\n    });\n  }).on('keypress', fakeButtons, function (e) {\n    // 13 = Return, 32 = Space\n    if (e.which === 13 || e.which === 32) {\n      $(this).click();\n      e.preventDefault();\n      return e.stopPropagation();\n    }\n  });\n\n  var Circle =\n  /*#__PURE__*/\n  function () {\n    function Circle(element) {\n      _classCallCheck(this, Circle);\n\n      if (canvas) {\n        this.renderer = new CanvasRenderer(element);\n      } else {\n        this.renderer = new TextRenderer(element);\n      }\n\n      this.observed = null;\n    }\n\n    _createClass(Circle, [{\n      key: \"listen\",\n      value: function listen(file, selector) {\n        var _this = this;\n\n        var selectorFn;\n        this.reset();\n        selectorFn = selector != null ? function (info) {\n          return info[selector];\n        } : function (x) {\n          return x;\n        };\n        this.observed = file;\n\n        if (this.observed.state() === 'resolved') {\n          this.renderer.setValue(1, true);\n        } else {\n          this.observed.progress(function (progress) {\n            // if we are still listening to this one\n            if (file === _this.observed) {\n              return _this.renderer.setValue(selectorFn(progress));\n            }\n          }).always(function (uploadedFile) {\n            if (file === _this.observed) {\n              return _this.renderer.setValue(1, false);\n            }\n          });\n        }\n\n        return this;\n      }\n    }, {\n      key: \"reset\",\n      value: function reset() {\n        var filled = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n        this.observed = null;\n        return this.renderer.setValue(filled ? 1 : 0, true);\n      }\n    }, {\n      key: \"update\",\n      value: function update() {\n        return this.renderer.update();\n      }\n    }]);\n\n    return Circle;\n  }();\n\n  var BaseRenderer =\n  /*#__PURE__*/\n  function () {\n    function BaseRenderer(el) {\n      _classCallCheck(this, BaseRenderer);\n\n      this.element = $(el);\n      this.element.data('uploadcare-progress-renderer', this);\n      this.element.addClass('uploadcare--progress');\n    }\n\n    _createClass(BaseRenderer, [{\n      key: \"update\",\n      value: function update() {}\n    }]);\n\n    return BaseRenderer;\n  }();\n\n  var TextRenderer =\n  /*#__PURE__*/\n  function (_BaseRenderer) {\n    _inherits(TextRenderer, _BaseRenderer);\n\n    function TextRenderer() {\n      var _this2;\n\n      _classCallCheck(this, TextRenderer);\n\n      _this2 = _possibleConstructorReturn(this, _getPrototypeOf(TextRenderer).apply(this, arguments));\n\n      _this2.element.addClass('uploadcare--progress_type_text');\n\n      _this2.element.html(tpl('progress__text'));\n\n      _this2.text = _this2.element.find('.uploadcare--progress__text');\n      return _this2;\n    }\n\n    _createClass(TextRenderer, [{\n      key: \"setValue\",\n      value: function setValue(val) {\n        val = Math.round(val * 100);\n        return this.text.html(\"\".concat(val, \" %\"));\n      }\n    }]);\n\n    return TextRenderer;\n  }(BaseRenderer);\n\n  var CanvasRenderer =\n  /*#__PURE__*/\n  function (_BaseRenderer2) {\n    _inherits(CanvasRenderer, _BaseRenderer2);\n\n    function CanvasRenderer() {\n      var _this3;\n\n      _classCallCheck(this, CanvasRenderer);\n\n      _this3 = _possibleConstructorReturn(this, _getPrototypeOf(CanvasRenderer).apply(this, arguments));\n      _this3.canvasEl = $('<canvas>').addClass('uploadcare--progress__canvas').get(0);\n\n      _this3.element.addClass('uploadcare--progress_type_canvas');\n\n      _this3.element.html(_this3.canvasEl);\n\n      _this3.setValue(0, true);\n\n      return _this3;\n    }\n\n    _createClass(CanvasRenderer, [{\n      key: \"update\",\n      value: function update() {\n        var arc, ctx, half, size;\n        half = Math.floor(Math.min(this.element.width(), this.element.height()));\n        size = half * 2;\n\n        if (half) {\n          if (this.canvasEl.width !== size || this.canvasEl.height !== size) {\n            this.canvasEl.width = size;\n            this.canvasEl.height = size;\n          }\n\n          ctx = this.canvasEl.getContext('2d');\n\n          arc = function arc(radius, val) {\n            var offset;\n            offset = -Math.PI / 2;\n            ctx.beginPath();\n            ctx.moveTo(half, half);\n            ctx.arc(half, half, radius, offset, offset + 2 * Math.PI * val, false);\n            return ctx.fill();\n          }; // Clear\n\n\n          ctx.clearRect(0, 0, size, size); // Background circle\n\n          ctx.globalCompositeOperation = 'source-over';\n          ctx.fillStyle = this.element.css('border-left-color');\n          arc(half - 0.5, 1); // Progress circle\n\n          ctx.fillStyle = this.element.css('color');\n          arc(half, this.val); // Make a hole\n\n          ctx.globalCompositeOperation = 'destination-out';\n          return arc(half / 7, 1);\n        }\n      }\n    }, {\n      key: \"__animateValue\",\n      value: function __animateValue(target) {\n        var _this4 = this;\n\n        var speed, start, val;\n        val = this.val;\n        start = new Date();\n        speed = target > val ? 2 : -2;\n        this.__animIntervalId = setInterval(function () {\n          var current;\n          current = val + (new Date() - start) / 1000 * speed;\n          current = (speed > 0 ? Math.min : Math.max)(current, target);\n\n          if (current === target) {\n            _this4.__stopAnimation();\n          }\n\n          return _this4.__setValue(current);\n        }, 15);\n        return this.__animIntervalId;\n      }\n    }, {\n      key: \"__stopAnimation\",\n      value: function __stopAnimation() {\n        if (this.__animIntervalId) {\n          clearInterval(this.__animIntervalId);\n        }\n\n        this.__animIntervalId = null;\n        return this.__animIntervalId;\n      }\n    }, {\n      key: \"__setValue\",\n      value: function __setValue(val) {\n        this.val = val;\n        this.element.attr('aria-valuenow', (val * 100).toFixed(0));\n        return this.update();\n      }\n    }, {\n      key: \"setValue\",\n      value: function setValue(val) {\n        var instant = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n        this.__stopAnimation();\n\n        if (instant) {\n          return this.__setValue(val);\n        } else {\n          return this.__animateValue(val);\n        }\n      }\n    }]);\n\n    return CanvasRenderer;\n  }(BaseRenderer);\n\n  var support = fileDragAndDrop;\n\n  var uploadDrop = function uploadDrop(el, callback, settings) {\n    settings = build(settings);\n    return receiveDrop(el, function (type, data) {\n      return callback(settings.multiple ? filesFrom(type, data, settings) : fileFrom(type, data[0], settings));\n    });\n  };\n\n  var receiveDrop = !support ? function () {} : function (el, callback) {\n    watchDragging(el);\n    $(el).on({\n      dragover: function dragover(e) {\n        e.preventDefault(); // Prevent opening files.\n        // This is way to change cursor.\n\n        e.originalEvent.dataTransfer.dropEffect = 'copy';\n      },\n      drop: function drop(e) {\n        var dt, i, len, ref, uri, uris;\n        e.preventDefault(); // Prevent opening files.\n\n        dt = e.originalEvent.dataTransfer;\n\n        if (!dt) {\n          return;\n        }\n\n        if (dt.files.length) {\n          // eslint-disable-next-line standard/no-callback-literal\n          return callback('object', dt.files);\n        } else {\n          uris = [];\n          ref = dt.getData('text/uri-list').split();\n\n          for (i = 0, len = ref.length; i < len; i++) {\n            uri = ref[i];\n            uri = $.trim(uri);\n\n            if (uri && uri[0] !== '#') {\n              uris.push(uri);\n            }\n          }\n\n          if (uris) {\n            // eslint-disable-next-line standard/no-callback-literal\n            return callback('url', uris);\n          }\n        }\n      }\n    });\n  };\n  var watchDragging = !support ? function () {} : function (el, receiver) {\n    var changeState, counter, lastActive;\n    lastActive = false;\n    counter = 0;\n\n    changeState = function changeState(active) {\n      if (lastActive !== active) {\n        lastActive = active;\n        return $(el).toggleClass('uploadcare--dragging', active);\n      }\n    };\n\n    return $(receiver || el).on({\n      dragenter: function dragenter() {\n        counter += 1;\n        return changeState(true);\n      },\n      dragleave: function dragleave() {\n        counter -= 1;\n\n        if (counter === 0) {\n          return changeState(false);\n        }\n      },\n      'drop mouseenter': function dropMouseenter() {\n        counter = 0;\n        return changeState(false);\n      }\n    });\n  };\n  isWindowDefined() && watchDragging('body', document);\n\n  var Template =\n  /*#__PURE__*/\n  function () {\n    function Template(settings, element) {\n      _classCallCheck(this, Template);\n\n      this.settings = settings;\n      this.element = element;\n      this.content = $(tpl('widget'));\n      this.element.after(this.content);\n      this.circle = new Circle(this.content.find('.uploadcare--widget__progress').removeClass('uploadcare--widget__progress'));\n      this.content.find('.uploadcare--progress').addClass('uploadcare--widget__progress');\n      this.statusText = this.content.find('.uploadcare--widget__text');\n      this.content.toggleClass('uploadcare--widget_option_clearable', this.settings.clearable);\n    }\n\n    _createClass(Template, [{\n      key: \"addButton\",\n      value: function addButton(name) {\n        var caption = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n        return $(tpl('widget-button', {\n          name: name,\n          caption: caption\n        })).appendTo(this.content);\n      }\n    }, {\n      key: \"setStatus\",\n      value: function setStatus(status) {\n        var prefix;\n        prefix = 'uploadcare--widget_status_';\n        this.content.removeClass(prefix + this.content.attr('data-status'));\n        this.content.attr('data-status', status);\n        this.content.addClass(prefix + status);\n        return this.element.trigger(\"\".concat(status, \".uploadcare\"));\n      }\n    }, {\n      key: \"reset\",\n      value: function reset() {\n        this.circle.reset();\n        this.setStatus('ready');\n        this.content.attr('aria-busy', false);\n        this.__file = undefined;\n        return this.__file;\n      }\n    }, {\n      key: \"loaded\",\n      value: function loaded() {\n        this.setStatus('loaded');\n        this.content.attr('aria-busy', false);\n        return this.circle.reset(true);\n      }\n    }, {\n      key: \"listen\",\n      value: function listen(file) {\n        var _this = this;\n\n        this.__file = file;\n        this.circle.listen(file, 'uploadProgress');\n        this.setStatus('started');\n        this.content.attr('aria-busy', true);\n        return file.progress(function (info) {\n          if (file === _this.__file) {\n            switch (info.state) {\n              case 'uploading':\n                return _this.statusText.text(locale.t('uploading'));\n\n              case 'uploaded':\n                return _this.statusText.text(locale.t('loadingInfo'));\n            }\n          }\n        });\n      }\n    }, {\n      key: \"error\",\n      value: function error(type) {\n        this.statusText.text(locale.t(\"errors.\".concat(type || 'default')));\n        this.content.attr('aria-busy', false);\n        return this.setStatus('error');\n      }\n    }, {\n      key: \"setFileInfo\",\n      value: function setFileInfo(info) {\n        return this.statusText.html(tpl('widget-file-name', info)).find('.uploadcare--widget__file-name').toggleClass('needsclick', this.settings.systemDialog);\n      }\n    }]);\n\n    return Template;\n  }();\n\n  var FileTab =\n  /*#__PURE__*/\n  function () {\n    function FileTab(container, tabButton1, dialogApi, settings, name1) {\n      _classCallCheck(this, FileTab);\n\n      this.__initTabsList = this.__initTabsList.bind(this);\n      this.container = container;\n      this.tabButton = tabButton1;\n      this.dialogApi = dialogApi;\n      this.settings = settings;\n      this.name = name1;\n      this.container.append(tpl('tab-file'));\n\n      this.__setupFileButton();\n\n      this.__initDragNDrop();\n\n      this.__initTabsList();\n    }\n\n    _createClass(FileTab, [{\n      key: \"__initDragNDrop\",\n      value: function __initDragNDrop() {\n        var _this = this;\n\n        var dropArea;\n        dropArea = this.container.find('.uploadcare--draganddrop');\n\n        if (fileDragAndDrop) {\n          receiveDrop(dropArea, function (type, files) {\n            _this.dialogApi.addFiles(type, files);\n\n            return _this.dialogApi.switchTab('preview');\n          });\n          return dropArea.addClass('uploadcare--draganddrop_supported');\n        }\n      }\n    }, {\n      key: \"__setupFileButton\",\n      value: function __setupFileButton() {\n        var _this2 = this;\n\n        var fileButton;\n        fileButton = this.container.find('.uploadcare--tab__action-button');\n\n        if (sendFileAPI) {\n          return fileButton.on('click', function () {\n            fileSelectDialog(_this2.container, _this2.settings, function (input) {\n              _this2.dialogApi.addFiles('object', input.files);\n\n              return _this2.dialogApi.switchTab('preview');\n            });\n            return false;\n          });\n        } else {\n          return fileInput(fileButton, this.settings, function (input) {\n            _this2.dialogApi.addFiles('input', [input]);\n\n            return _this2.dialogApi.switchTab('preview');\n          });\n        }\n      }\n    }, {\n      key: \"__initTabsList\",\n      value: function __initTabsList() {\n        var _this3 = this;\n\n        var i, len, list, n, ref, tab;\n        list = this.container.find('.uploadcare--file-sources__items');\n        list.remove('.uploadcare--file-sources__item:not(.uploadcare--file-source_all)');\n        n = 0;\n        ref = this.settings.tabs;\n\n        for (i = 0, len = ref.length; i < len; i++) {\n          tab = ref[i];\n\n          if (tab === 'file' || tab === 'url' || tab === 'camera') {\n            continue;\n          }\n\n          if (!this.dialogApi.isTabVisible(tab)) {\n            continue;\n          }\n\n          n += 1;\n\n          if (n > 5) {\n            continue;\n          }\n\n          list.append([this.__tabButton(tab), ' ']);\n        }\n\n        list.find('.uploadcare--file-source_all').on('click', function () {\n          return _this3.dialogApi.openMenu();\n        });\n\n        if (n > 5) {\n          list.addClass('uploadcare--file-sources__items_many');\n        }\n\n        return this.container.find('.uploadcare--file-sources').attr('hidden', n === 0);\n      }\n    }, {\n      key: \"__tabButton\",\n      value: function __tabButton(name) {\n        var _this4 = this;\n\n        var tabIcon;\n        tabIcon = $(\"<svg width='32' height='32'><use xlink:href='#uploadcare--icon-\".concat(name, \"'/></svg>\")).attr('role', 'presentation').attr('class', 'uploadcare--icon uploadcare--file-source__icon');\n        return $('<button>').addClass('uploadcare--button').addClass('uploadcare--button_icon').addClass('uploadcare--file-source').addClass(\"uploadcare--file-source_\".concat(name)).addClass('uploadcare--file-sources__item').attr('type', 'button').attr('title', locale.t(\"dialog.tabs.names.\".concat(name))).attr('data-tab', name).append(tabIcon).on('click', function () {\n          return _this4.dialogApi.switchTab(name);\n        });\n      }\n    }, {\n      key: \"displayed\",\n      value: function displayed() {\n        this.dialogApi.takeFocus() && this.container.find('.uploadcare--tab__action-button').focus();\n      }\n    }]);\n\n    return FileTab;\n  }();\n\n  var fixUrl, urlRegexp;\n\n  var UrlTab =\n  /*#__PURE__*/\n  function () {\n    function UrlTab(container, tabButton, dialogApi, settings, name) {\n      var _this = this;\n\n      _classCallCheck(this, UrlTab);\n\n      var button, input;\n      this.container = container;\n      this.tabButton = tabButton;\n      this.dialogApi = dialogApi;\n      this.settings = settings;\n      this.name = name;\n      this.container.append(tpl('tab-url'));\n      input = this.container.find('.uploadcare--input');\n      input.on('change keyup input', function () {\n        var isDisabled = !$.trim(this.value);\n        return button.attr('disabled', isDisabled).attr('aria-disabled', isDisabled);\n      });\n      button = this.container.find('.uploadcare--button[type=submit]').attr('disabled', true);\n      this.container.find('.uploadcare--form').on('submit', function () {\n        var url = fixUrl(input.val());\n\n        if (url) {\n          _this.dialogApi.addFiles('url', [[url, {\n            source: 'url-tab'\n          }]]);\n\n          input.val('').trigger('change');\n        }\n\n        return false;\n      });\n    }\n\n    _createClass(UrlTab, [{\n      key: \"displayed\",\n      value: function displayed() {\n        this.dialogApi.takeFocus() && this.container.find('.uploadcare--input').focus();\n      }\n    }]);\n\n    return UrlTab;\n  }(); // starts with scheme\n\n\n  urlRegexp = /^[a-z][a-z0-9+\\-.]*:?\\/\\//;\n\n  fixUrl = function fixUrl(url) {\n    url = $.trim(url);\n\n    if (urlRegexp.test(url)) {\n      return url;\n    } else {\n      return 'http://' + url;\n    }\n  };\n\n  var isSecure = isWindowDefined() && document.location.protocol === 'https:';\n\n  var CameraTab =\n  /*#__PURE__*/\n  function () {\n    function CameraTab(container1, tabButton, dialogApi, settings, name1) {\n      _classCallCheck(this, CameraTab);\n\n      var video;\n      this.__captureInput = this.__captureInput.bind(this);\n      this.__captureInputHandle = this.__captureInputHandle.bind(this);\n      this.__setState = this.__setState.bind(this);\n      this.__requestCamera = this.__requestCamera.bind(this);\n      this.__revoke = this.__revoke.bind(this);\n      this.__mirror = this.__mirror.bind(this);\n      this.__capture = this.__capture.bind(this);\n      this.__startRecording = this.__startRecording.bind(this);\n      this.__stopRecording = this.__stopRecording.bind(this);\n      this.__cancelRecording = this.__cancelRecording.bind(this);\n      this.container = container1;\n      this.tabButton = tabButton;\n      this.dialogApi = dialogApi;\n      this.settings = settings;\n      this.name = name1;\n\n      if (this.__checkCapture()) {\n        this.container.append(tpl('tab-camera-capture'));\n        this.container.addClass('uploadcare--camera');\n        this.container.find('.uploadcare--camera__button_type_photo').on('click', this.__captureInput('image/*'));\n        video = this.container.find('.uploadcare--camera__button_type_video').on('click', this.__captureInput('video/*'));\n\n        if (this.settings.imagesOnly) {\n          video.hide();\n        }\n      } else {\n        if (!this.__checkCompatibility()) {\n          this.dialogApi.hideTab(this.name);\n          return;\n        }\n\n        this.__initCamera();\n      }\n    }\n\n    _createClass(CameraTab, [{\n      key: \"__captureInput\",\n      value: function __captureInput(accept) {\n        var _this = this;\n\n        return function () {\n          return fileSelectDialog(_this.container, {\n            inputAcceptTypes: accept\n          }, _this.__captureInputHandle, {\n            capture: 'camera'\n          });\n        };\n      }\n    }, {\n      key: \"__captureInputHandle\",\n      value: function __captureInputHandle(input) {\n        this.dialogApi.addFiles('object', input.files);\n        return this.dialogApi.switchTab('preview');\n      }\n    }, {\n      key: \"__initCamera\",\n      value: function __initCamera() {\n        var _this2 = this;\n\n        var startRecord;\n        this.__loaded = false;\n        this.mirrored = true;\n        this.container.append(tpl('tab-camera'));\n        this.container.addClass('uploadcare--camera');\n        this.container.addClass('uploadcare--camera_status_requested');\n        this.container.find('.uploadcare--camera__button_type_capture').on('click', this.__capture);\n        startRecord = this.container.find('.uploadcare--camera__button_type_start-record').on('click', this.__startRecording);\n        this.container.find('.uploadcare--camera__button_type_stop-record').on('click', this.__stopRecording);\n        this.container.find('.uploadcare--camera__button_type_cancel-record').on('click', this.__cancelRecording);\n        this.container.find('.uploadcare--camera__button_type_mirror').on('click', this.__mirror);\n        this.container.find('.uploadcare--camera__button_type_retry').on('click', this.__requestCamera);\n\n        if (!this.MediaRecorder || this.settings.imagesOnly) {\n          startRecord.hide();\n        }\n\n        this.video = this.container.find('.uploadcare--camera__video');\n        this.video.on('loadeddata', function () {\n          return this.play();\n        });\n        this.dialogApi.progress(function (name) {\n          if (name === _this2.name) {\n            if (!_this2.__loaded) {\n              return _this2.__requestCamera();\n            }\n          } else {\n            if (_this2.__loaded && isSecure) {\n              return _this2.__revoke();\n            }\n          }\n        });\n        return this.dialogApi.always(this.__revoke);\n      }\n    }, {\n      key: \"__checkCompatibility\",\n      value: function __checkCompatibility() {\n        var isLocalhost;\n\n        if (navigator.mediaDevices && navigator.mediaDevices.getUserMedia) {\n          this.getUserMedia = function (constraints, successCallback, errorCallback) {\n            return navigator.mediaDevices.getUserMedia(constraints).then(successCallback).catch(errorCallback);\n          };\n        } else {\n          this.getUserMedia = navigator.getUserMedia || navigator.webkitGetUserMedia || navigator.mozGetUserMedia;\n        }\n\n        this.URL = window.URL || window.webkitURL;\n        this.MediaRecorder = window.MediaRecorder;\n\n        if (!isSecure) {\n          warn('Camera is not allowed for HTTP. Please use HTTPS connection.');\n        }\n\n        isLocalhost = document.location.hostname === 'localhost';\n        return !!this.getUserMedia && Uint8Array && (isSecure || isLocalhost);\n      }\n    }, {\n      key: \"__checkCapture\",\n      value: function __checkCapture() {\n        var input;\n        input = document.createElement('input');\n        input.setAttribute('capture', 'camera');\n        return !!input.capture;\n      }\n    }, {\n      key: \"__setState\",\n      value: function __setState(newState) {\n        var oldStates = ['', 'ready', 'requested', 'denied', 'not-founded', 'recording'].join(' uploadcare--camera_status_');\n        this.container.removeClass(oldStates).addClass(\"uploadcare--camera_status_\".concat(newState));\n        this.container.find('.uploadcare--camera__button').focus();\n      }\n    }, {\n      key: \"__requestCamera\",\n      value: function __requestCamera() {\n        var _this3 = this;\n\n        this.__loaded = true;\n        return this.getUserMedia.call(navigator, {\n          audio: true,\n          video: {\n            optional: [{\n              minWidth: 320\n            }, {\n              minWidth: 640\n            }, {\n              minWidth: 1024\n            }, {\n              minWidth: 1280\n            }, {\n              minWidth: 1920\n            }]\n          }\n        }, function (stream) {\n          _this3.__setState('ready');\n\n          _this3.__stream = stream;\n\n          if ('srcObject' in _this3.video[0]) {\n            _this3.video.prop('srcObject', stream);\n\n            return _this3.video.on('loadedmetadata', function () {\n              return _this3.video[0].play();\n            });\n          } else {\n            if (_this3.URL) {\n              _this3.__streamObject = _this3.URL.createObjectURL(stream);\n\n              _this3.video.prop('src', _this3.__streamObject);\n            } else {\n              _this3.video.prop('src', stream);\n            }\n\n            return _this3.video[0].play();\n          }\n        }, function (error) {\n          if (error === 'NO_DEVICES_FOUND' || error.name === 'DevicesNotFoundError') {\n            _this3.__setState('not-founded');\n          } else {\n            _this3.__setState('denied');\n          }\n\n          _this3.__loaded = false;\n          return _this3.__loaded;\n        });\n      }\n    }, {\n      key: \"__revoke\",\n      value: function __revoke() {\n        var base;\n\n        this.__setState('requested');\n\n        this.__loaded = false;\n\n        if (!this.__stream) {\n          return;\n        }\n\n        if (this.__streamObject) {\n          this.URL.revokeObjectURL(this.__streamObject);\n        }\n\n        if (this.__stream.getTracks) {\n          $.each(this.__stream.getTracks(), function () {\n            return typeof this.stop === 'function' ? this.stop() : undefined;\n          });\n        } else {\n          if (typeof (base = this.__stream).stop === 'function') {\n            base.stop();\n          }\n        }\n\n        this.__stream = null;\n        return this.__stream;\n      }\n    }, {\n      key: \"__mirror\",\n      value: function __mirror() {\n        this.mirrored = !this.mirrored;\n        return this.video.toggleClass('uploadcare--camera__video_mirrored', this.mirrored);\n      }\n    }, {\n      key: \"__capture\",\n      value: function __capture() {\n        var _this4 = this;\n\n        var canvas, ctx, h, video, w;\n        video = this.video[0];\n        w = video.videoWidth;\n        h = video.videoHeight;\n        canvas = document.createElement('canvas');\n        canvas.width = w;\n        canvas.height = h;\n        ctx = canvas.getContext('2d');\n\n        if (this.mirrored) {\n          ctx.translate(w, 0);\n          ctx.scale(-1, 1);\n        }\n\n        ctx.drawImage(video, 0, 0, w, h);\n        return canvasToBlob(canvas, 'image/jpeg', 0.9, function (blob) {\n          canvas.width = canvas.height = 1;\n          blob.name = 'camera.jpg';\n\n          _this4.dialogApi.addFiles('object', [[blob, {\n            source: 'camera'\n          }]]);\n\n          return _this4.dialogApi.switchTab('preview');\n        });\n      }\n    }, {\n      key: \"__startRecording\",\n      value: function __startRecording() {\n        var _this5 = this;\n\n        var __recorderOptions;\n\n        this.__setState('recording');\n\n        this.__chunks = [];\n        __recorderOptions = {};\n\n        if (this.settings.audioBitsPerSecond !== null) {\n          __recorderOptions.audioBitsPerSecond = this.settings.audioBitsPerSecond;\n        }\n\n        if (this.settings.videoBitsPerSecond !== null) {\n          __recorderOptions.videoBitsPerSecond = this.settings.videoBitsPerSecond;\n        }\n\n        if (Object.keys(__recorderOptions).length !== 0) {\n          this.__recorder = new this.MediaRecorder(this.__stream, __recorderOptions);\n        } else {\n          this.__recorder = new this.MediaRecorder(this.__stream);\n        }\n\n        this.__recorder.start();\n\n        this.__recorder.ondataavailable = function (e) {\n          return _this5.__chunks.push(e.data);\n        };\n\n        return this.__recorder.ondataavailable;\n      }\n    }, {\n      key: \"__stopRecording\",\n      value: function __stopRecording() {\n        var _this6 = this;\n\n        this.__setState('ready');\n\n        this.__recorder.onstop = function () {\n          var blob, ext;\n          blob = new window.Blob(_this6.__chunks, {\n            type: _this6.__recorder.mimeType\n          });\n          ext = _this6.__guessExtensionByMime(_this6.__recorder.mimeType);\n          blob.name = \"record.\".concat(ext);\n\n          _this6.dialogApi.addFiles('object', [[blob, {\n            source: 'camera'\n          }]]);\n\n          _this6.dialogApi.switchTab('preview');\n\n          _this6.__chunks = [];\n          return _this6.__chunks;\n        };\n\n        return this.__recorder.stop();\n      }\n    }, {\n      key: \"__cancelRecording\",\n      value: function __cancelRecording() {\n        this.__setState('ready');\n\n        this.__recorder.stop();\n\n        this.__chunks = [];\n        return this.__chunks;\n      }\n    }, {\n      key: \"__guessExtensionByMime\",\n      value: function __guessExtensionByMime(mime) {\n        var knownContainers = {\n          mp4: 'mp4',\n          ogg: 'ogg',\n          webm: 'webm',\n          quicktime: 'mov',\n          'x-matroska': 'mkv' // MediaRecorder.mimeType returns empty string in Firefox.\n          // Firefox record video as WebM now by default.\n          // @link https://bugzilla.mozilla.org/show_bug.cgi?id=1512175\n\n        };\n\n        if (mime === '') {\n          return 'webm';\n        } // e.g. \"video/x-matroska;codecs=avc1,opus\"\n\n\n        if (mime) {\n          // e.g. [\"video\", \"x-matroska;codecs=avc1,opus\"]\n          mime = mime.split('/');\n\n          if (mime[0] === 'video') {\n            // e.g. \"x-matroska;codecs=avc1,opus\"\n            mime = mime.slice(1).join('/'); // e.g. \"x-matroska\"\n\n            var container = mime.split(';')[0]; // e.g. \"mkv\"\n\n            if (knownContainers[container]) {\n              return knownContainers[container];\n            }\n          }\n        } // In all other cases just return the base extension for all times\n\n\n        return 'avi';\n      }\n    }, {\n      key: \"displayed\",\n      value: function displayed() {\n        this.dialogApi.takeFocus() && this.container.find('.uploadcare--camera__button').focus();\n      }\n    }]);\n\n    return CameraTab;\n  }();\n\n  /**\n   * jquery.Jcrop.js v0.9.10\n   * jQuery Image Cropping Plugin - released under MIT License \n   * Author: Kelly Hallman <khallman@gmail.com>\n   * http://github.com/tapmodo/Jcrop\n   * Copyright (c) 2008-2012 Tapmodo Interactive LLC {{{\n   *\n   * Permission is hereby granted, free of charge, to any person\n   * obtaining a copy of this software and associated documentation\n   * files (the \"Software\"), to deal in the Software without\n   * restriction, including without limitation the rights to use,\n   * copy, modify, merge, publish, distribute, sublicense, and/or sell\n   * copies of the Software, and to permit persons to whom the\n   * Software is furnished to do so, subject to the following\n   * conditions:\n   *\n   * The above copyright notice and this permission notice shall be\n   * included in all copies or substantial portions of the Software.\n   *\n   * THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,\n   * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES\n   * OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND\n   * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT\n   * HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,\n   * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING\n   * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR\n   * OTHER DEALINGS IN THE SOFTWARE.\n   *\n   * }}}\n   */\n\n  isWindowDefined() && function ($) {\n    $.Jcrop = function (obj, opt) {\n      var options = $.extend({}, $.Jcrop.defaults),\n          docOffset;\n   // Internal Methods {{{\n\n      function px(n) {\n        return Math.round(n) + 'px';\n      }\n\n      function cssClass(cl) {\n        return options.baseClass + '-' + cl;\n      }\n\n      function supportsColorFade() {\n        return $.fx.step.hasOwnProperty('backgroundColor');\n      }\n\n      function getPos(obj) //{{{\n      {\n        var pos = $(obj).offset();\n        return [pos.left, pos.top];\n      } //}}}\n\n\n      function mouseAbs(e) //{{{\n      {\n        return [e.pageX - docOffset[0], e.pageY - docOffset[1]];\n      } //}}}\n\n\n      function setOptions(opt) //{{{\n      {\n        if (_typeof(opt) !== 'object') opt = {};\n        options = $.extend(options, opt);\n        $.each(['onChange', 'onSelect', 'onRelease', 'onDblClick'], function (i, e) {\n          if (typeof options[e] !== 'function') options[e] = function () {};\n        });\n      } //}}}\n\n\n      function startDragMode(mode, pos) //{{{\n      {\n        docOffset = getPos($img);\n\n        if (mode === 'move') {\n          return Tracker.activateHandlers(createMover(pos), doneSelect);\n        }\n\n        var fc = Coords.getFixed();\n        var opp = oppLockCorner(mode);\n        var opc = Coords.getCorner(oppLockCorner(opp));\n        Coords.setPressed(Coords.getCorner(opp));\n        Coords.setCurrent(opc);\n        Tracker.activateHandlers(dragmodeHandler(mode, fc), doneSelect);\n      } //}}}\n\n\n      function dragmodeHandler(mode, f) //{{{\n      {\n        return function (pos) {\n          if (!options.aspectRatio) {\n            switch (mode) {\n              case 'e':\n                pos[1] = f.y2;\n                break;\n\n              case 'w':\n                pos[1] = f.y2;\n                break;\n\n              case 'n':\n                pos[0] = f.x2;\n                break;\n\n              case 's':\n                pos[0] = f.x2;\n                break;\n            }\n          } else {\n            switch (mode) {\n              case 'e':\n                pos[1] = f.y + 1;\n                break;\n\n              case 'w':\n                pos[1] = f.y + 1;\n                break;\n\n              case 'n':\n                pos[0] = f.x + 1;\n                break;\n\n              case 's':\n                pos[0] = f.x + 1;\n                break;\n            }\n          }\n\n          Coords.setCurrent(pos);\n          Selection.update();\n        };\n      } //}}}\n\n\n      function createMover(pos) //{{{\n      {\n        var lloc = pos;\n        KeyManager.watchKeys();\n        return function (pos) {\n          Coords.moveOffset([pos[0] - lloc[0], pos[1] - lloc[1]]);\n          lloc = pos;\n          Selection.update();\n        };\n      } //}}}\n\n\n      function oppLockCorner(ord) //{{{\n      {\n        switch (ord) {\n          case 'n':\n            return 'sw';\n\n          case 's':\n            return 'nw';\n\n          case 'e':\n            return 'nw';\n\n          case 'w':\n            return 'ne';\n\n          case 'ne':\n            return 'sw';\n\n          case 'nw':\n            return 'se';\n\n          case 'se':\n            return 'nw';\n\n          case 'sw':\n            return 'ne';\n        }\n      } //}}}\n\n\n      function createDragger(ord) //{{{\n      {\n        return function (e) {\n          if (options.disabled) {\n            return false;\n          }\n\n          if (ord === 'move' && !options.allowMove) {\n            return false;\n          } // Fix position of crop area when dragged the very first time.\n          // Necessary when crop image is in a hidden element when page is loaded.\n\n\n          docOffset = getPos($img);\n          btndown = true;\n          startDragMode(ord, mouseAbs(e));\n          e.stopPropagation();\n          e.preventDefault();\n          return false;\n        };\n      } //}}}\n\n\n      function presize($obj, w, h) //{{{\n      {\n        var nw = $obj.width(),\n            nh = $obj.height();\n\n        if (nw > w && w > 0) {\n          nw = w;\n          nh = w / $obj.width() * $obj.height();\n        }\n\n        if (nh > h && h > 0) {\n          nh = h;\n          nw = h / $obj.height() * $obj.width();\n        }\n\n        xscale = $obj.width() / nw;\n        yscale = $obj.height() / nh;\n        $obj.width(nw).height(nh);\n      } //}}}\n\n\n      function unscale(c) //{{{\n      {\n        return {\n          x: c.x * xscale,\n          y: c.y * yscale,\n          x2: c.x2 * xscale,\n          y2: c.y2 * yscale,\n          w: c.w * xscale,\n          h: c.h * yscale\n        };\n      } //}}}\n\n\n      function doneSelect(pos) //{{{\n      {\n        var c = Coords.getFixed();\n        Selection.enableHandles();\n        Selection.done();\n      } //}}}\n\n\n      function newTracker() //{{{\n      {\n        var trk = $('<div></div>').addClass(cssClass('tracker'));\n        trk.css({\n          opacity: 0,\n          backgroundColor: 'white'\n        });\n        return trk;\n      } //}}}\n      // }}}\n      // Initialization {{{\n      // Sanitize some options {{{\n\n\n      if (_typeof(obj) !== 'object') {\n        obj = $(obj)[0];\n      }\n\n      if (_typeof(opt) !== 'object') {\n        opt = {};\n      } // }}}\n\n\n      setOptions(opt); // Initialize some jQuery objects {{{\n      // The values are SET on the image(s) for the interface\n      // If the original image has any of these set, they will be reset\n      // However, if you destroy() the Jcrop instance the original image's\n      // character in the DOM will be as you left it.\n\n      var img_css = {\n        border: 'none',\n        visibility: 'visible',\n        margin: 0,\n        padding: 0,\n        position: 'absolute',\n        top: 0,\n        left: 0\n      };\n      var $origimg = $(obj),\n          img_mode = true;\n\n      if (obj.tagName == 'IMG') {\n        // Fix size of crop image.\n        // Necessary when crop image is within a hidden element when page is loaded.\n        if ($origimg[0].width != 0 && $origimg[0].height != 0) {\n          // Obtain dimensions from contained img element.\n          $origimg.width($origimg[0].width);\n          $origimg.height($origimg[0].height);\n        } else {\n          // Obtain dimensions from temporary image in case the original is not loaded yet (e.g. IE 7.0). \n          var tempImage = new Image();\n          tempImage.src = $origimg[0].src;\n          $origimg.width(tempImage.width);\n          $origimg.height(tempImage.height);\n        }\n\n        var $img = $origimg.clone().removeAttr('id').css(img_css).show();\n        $img.width($origimg.width());\n        $img.height($origimg.height());\n        $origimg.after($img).hide();\n      } else {\n        $img = $origimg.css(img_css).show();\n        img_mode = false;\n\n        if (options.shade === null) {\n          options.shade = true;\n        }\n      }\n\n      presize($img, options.boxWidth, options.boxHeight);\n      var boundx = $img.width(),\n          boundy = $img.height(),\n          $div = $('<div />').width(boundx).height(boundy).addClass(cssClass('holder')).css({\n        position: 'relative',\n        backgroundColor: options.bgColor\n      }).insertAfter($origimg).append($img);\n\n      if (options.addClass) {\n        $div.addClass(options.addClass);\n      }\n\n      var $img2 = $('<div />'),\n          $img_holder = $('<div />').width('100%').height('100%').css({\n        zIndex: 310,\n        position: 'absolute',\n        overflow: 'hidden'\n      }),\n          $sel = $('<div />').css({\n        position: 'absolute',\n        zIndex: 600\n      }).dblclick(function () {\n        var c = Coords.getFixed();\n        options.onDblClick.call(api, c);\n      }).insertBefore($img).append($img_holder);\n\n      if (img_mode) {\n        $img2 = $('<img />').attr('src', $img.attr('src')).css(img_css).width(boundx).height(boundy), $img_holder.append($img2);\n      }\n\n      var bound = options.boundary;\n      var $trk = newTracker().width(boundx + bound * 2).height(boundy + bound * 2).css({\n        position: 'absolute',\n        top: px(-bound),\n        left: px(-bound),\n        zIndex: 290\n      });\n      /* }}} */\n      // Set more variables {{{\n\n      var bgcolor = options.bgColor,\n          bgopacity = options.bgOpacity,\n          xlimit,\n          ylimit,\n          xmin,\n          ymin,\n          xscale,\n          yscale,\n          btndown,\n          shift_down;\n      docOffset = getPos($img); // }}}\n      // }}}\n      // Internal Modules {{{\n      // Touch Module {{{ \n\n      var Touch = function () {\n        // Touch support detection function adapted (under MIT License)\n        // from code by Jeffrey Sambells - http://github.com/iamamused/\n        function hasTouchSupport() {\n          var support = {},\n              events = ['touchstart', 'touchmove', 'touchend'],\n              el = document.createElement('div'),\n              i;\n\n          try {\n            for (i = 0; i < events.length; i++) {\n              var eventName = events[i];\n              eventName = 'on' + eventName;\n              var isSupported = eventName in el;\n\n              if (!isSupported) {\n                el.setAttribute(eventName, 'return;');\n                isSupported = typeof el[eventName] == 'function';\n              }\n\n              support[events[i]] = isSupported;\n            }\n\n            return support.touchstart && support.touchend && support.touchmove;\n          } catch (err) {\n            return false;\n          }\n        }\n\n        function detectSupport() {\n          if (options.touchSupport === true || options.touchSupport === false) return options.touchSupport;else return hasTouchSupport();\n        }\n\n        return {\n          createDragger: function createDragger(ord) {\n            return function (e) {\n              e.pageX = e.originalEvent.changedTouches[0].pageX;\n              e.pageY = e.originalEvent.changedTouches[0].pageY;\n\n              if (options.disabled) {\n                return false;\n              }\n\n              if (ord === 'move' && !options.allowMove) {\n                return false;\n              }\n\n              btndown = true;\n              startDragMode(ord, mouseAbs(e));\n              e.stopPropagation();\n              e.preventDefault();\n              return false;\n            };\n          },\n          isSupported: hasTouchSupport,\n          support: detectSupport()\n        };\n      }(); // }}}\n      // Coords Module {{{\n\n\n      var Coords = function () {\n        var x1 = 0,\n            y1 = 0,\n            x2 = 0,\n            y2 = 0,\n            ox,\n            oy;\n\n        function setPressed(pos) //{{{\n        {\n          pos = rebound(pos);\n          x2 = x1 = pos[0];\n          y2 = y1 = pos[1];\n        } //}}}\n\n\n        function setCurrent(pos) //{{{\n        {\n          pos = rebound(pos);\n          ox = pos[0] - x2;\n          oy = pos[1] - y2;\n          x2 = pos[0];\n          y2 = pos[1];\n        } //}}}\n\n\n        function getOffset() //{{{\n        {\n          return [ox, oy];\n        } //}}}\n\n\n        function moveOffset(offset) //{{{\n        {\n          var ox = offset[0],\n              oy = offset[1];\n\n          if (0 > x1 + ox) {\n            ox -= ox + x1;\n          }\n\n          if (0 > y1 + oy) {\n            oy -= oy + y1;\n          }\n\n          if (boundy < y2 + oy) {\n            oy += boundy - (y2 + oy);\n          }\n\n          if (boundx < x2 + ox) {\n            ox += boundx - (x2 + ox);\n          }\n\n          x1 += ox;\n          x2 += ox;\n          y1 += oy;\n          y2 += oy;\n        } //}}}\n\n\n        function getCorner(ord) //{{{\n        {\n          var c = getFixed();\n\n          switch (ord) {\n            case 'ne':\n              return [c.x2, c.y];\n\n            case 'nw':\n              return [c.x, c.y];\n\n            case 'se':\n              return [c.x2, c.y2];\n\n            case 'sw':\n              return [c.x, c.y2];\n          }\n        } //}}}\n\n\n        function getFixed() //{{{\n        {\n          if (!options.aspectRatio) {\n            return getRect();\n          } // This function could use some optimization I think...\n\n\n          var aspect = options.aspectRatio,\n              min_x = options.minSize[0] / xscale,\n              //min_y = options.minSize[1]/yscale,\n          max_x = options.maxSize[0] / xscale,\n              max_y = options.maxSize[1] / yscale,\n              rw = x2 - x1,\n              rh = y2 - y1,\n              rwa = Math.abs(rw),\n              rha = Math.abs(rh),\n              real_ratio = rwa / rha,\n              xx,\n              yy,\n              w,\n              h;\n\n          if (max_x === 0) {\n            max_x = boundx * 10;\n          }\n\n          if (max_y === 0) {\n            max_y = boundy * 10;\n          }\n\n          if (real_ratio < aspect) {\n            yy = y2;\n            w = rha * aspect;\n            xx = rw < 0 ? x1 - w : w + x1;\n\n            if (xx < 0) {\n              xx = 0;\n              h = Math.abs((xx - x1) / aspect);\n              yy = rh < 0 ? y1 - h : h + y1;\n            } else if (xx > boundx) {\n              xx = boundx;\n              h = Math.abs((xx - x1) / aspect);\n              yy = rh < 0 ? y1 - h : h + y1;\n            }\n          } else {\n            xx = x2;\n            h = rwa / aspect;\n            yy = rh < 0 ? y1 - h : y1 + h;\n\n            if (yy < 0) {\n              yy = 0;\n              w = Math.abs((yy - y1) * aspect);\n              xx = rw < 0 ? x1 - w : w + x1;\n            } else if (yy > boundy) {\n              yy = boundy;\n              w = Math.abs(yy - y1) * aspect;\n              xx = rw < 0 ? x1 - w : w + x1;\n            }\n          } // Magic %-)\n\n\n          if (xx > x1) {\n            // right side\n            if (xx - x1 < min_x) {\n              xx = x1 + min_x;\n            } else if (xx - x1 > max_x) {\n              xx = x1 + max_x;\n            }\n\n            if (yy > y1) {\n              yy = y1 + (xx - x1) / aspect;\n            } else {\n              yy = y1 - (xx - x1) / aspect;\n            }\n          } else if (xx < x1) {\n            // left side\n            if (x1 - xx < min_x) {\n              xx = x1 - min_x;\n            } else if (x1 - xx > max_x) {\n              xx = x1 - max_x;\n            }\n\n            if (yy > y1) {\n              yy = y1 + (x1 - xx) / aspect;\n            } else {\n              yy = y1 - (x1 - xx) / aspect;\n            }\n          }\n\n          if (xx < 0) {\n            x1 -= xx;\n            xx = 0;\n          } else if (xx > boundx) {\n            x1 -= xx - boundx;\n            xx = boundx;\n          }\n\n          if (yy < 0) {\n            y1 -= yy;\n            yy = 0;\n          } else if (yy > boundy) {\n            y1 -= yy - boundy;\n            yy = boundy;\n          }\n\n          return makeObj(flipCoords(x1, y1, xx, yy));\n        } //}}}\n\n\n        function rebound(p) //{{{\n        {\n          if (p[0] < 0) {\n            p[0] = 0;\n          }\n\n          if (p[1] < 0) {\n            p[1] = 0;\n          }\n\n          if (p[0] > boundx) {\n            p[0] = boundx;\n          }\n\n          if (p[1] > boundy) {\n            p[1] = boundy;\n          }\n\n          return [p[0], p[1]];\n        } //}}}\n\n\n        function flipCoords(x1, y1, x2, y2) //{{{\n        {\n          var xa = x1,\n              xb = x2,\n              ya = y1,\n              yb = y2;\n\n          if (x2 < x1) {\n            xa = x2;\n            xb = x1;\n          }\n\n          if (y2 < y1) {\n            ya = y2;\n            yb = y1;\n          }\n\n          return [xa, ya, xb, yb];\n        } //}}}\n\n\n        function getRect() //{{{\n        {\n          var xsize = x2 - x1,\n              ysize = y2 - y1,\n              delta;\n\n          if (xlimit && Math.abs(xsize) > xlimit) {\n            x2 = xsize > 0 ? x1 + xlimit : x1 - xlimit;\n          }\n\n          if (ylimit && Math.abs(ysize) > ylimit) {\n            y2 = ysize > 0 ? y1 + ylimit : y1 - ylimit;\n          }\n\n          if (ymin / yscale && Math.abs(ysize) < ymin / yscale) {\n            y2 = ysize > 0 ? y1 + ymin / yscale : y1 - ymin / yscale;\n          }\n\n          if (xmin / xscale && Math.abs(xsize) < xmin / xscale) {\n            x2 = xsize > 0 ? x1 + xmin / xscale : x1 - xmin / xscale;\n          }\n\n          if (x1 < 0) {\n            x2 -= x1;\n            x1 -= x1;\n          }\n\n          if (y1 < 0) {\n            y2 -= y1;\n            y1 -= y1;\n          }\n\n          if (x2 < 0) {\n            x1 -= x2;\n            x2 -= x2;\n          }\n\n          if (y2 < 0) {\n            y1 -= y2;\n            y2 -= y2;\n          }\n\n          if (x2 > boundx) {\n            delta = x2 - boundx;\n            x1 -= delta;\n            x2 -= delta;\n          }\n\n          if (y2 > boundy) {\n            delta = y2 - boundy;\n            y1 -= delta;\n            y2 -= delta;\n          }\n\n          if (x1 > boundx) {\n            delta = x1 - boundy;\n            y2 -= delta;\n            y1 -= delta;\n          }\n\n          if (y1 > boundy) {\n            delta = y1 - boundy;\n            y2 -= delta;\n            y1 -= delta;\n          }\n\n          return makeObj(flipCoords(x1, y1, x2, y2));\n        } //}}}\n\n\n        function makeObj(a) //{{{\n        {\n          return {\n            x: a[0],\n            y: a[1],\n            x2: a[2],\n            y2: a[3],\n            w: a[2] - a[0],\n            h: a[3] - a[1]\n          };\n        } //}}}\n\n\n        return {\n          flipCoords: flipCoords,\n          setPressed: setPressed,\n          setCurrent: setCurrent,\n          getOffset: getOffset,\n          moveOffset: moveOffset,\n          getCorner: getCorner,\n          getFixed: getFixed\n        };\n      }(); //}}}\n      // Shade Module {{{\n\n\n      var Shade = function () {\n        var enabled = false,\n            holder = $('<div />').css({\n          position: 'absolute',\n          zIndex: 240,\n          opacity: 0\n        }),\n            shades = {\n          top: createShade(),\n          left: createShade().height(boundy),\n          right: createShade().height(boundy),\n          bottom: createShade()\n        };\n\n        function resizeShades(w, h) {\n          shades.left.css({\n            height: px(h)\n          });\n          shades.right.css({\n            height: px(h)\n          });\n        }\n\n        function updateAuto() {\n          return updateShade(Coords.getFixed());\n        }\n\n        function updateShade(c) {\n          shades.top.css({\n            left: px(c.x),\n            width: px(c.w),\n            height: px(c.y)\n          });\n          shades.bottom.css({\n            top: px(c.y2),\n            left: px(c.x),\n            width: px(c.w),\n            height: px(boundy - c.y2)\n          });\n          shades.right.css({\n            left: px(c.x2),\n            width: px(boundx - c.x2)\n          });\n          shades.left.css({\n            width: px(c.x)\n          });\n        }\n\n        function createShade() {\n          return $('<div />').css({\n            position: 'absolute',\n            backgroundColor: options.shadeColor || options.bgColor\n          }).appendTo(holder);\n        }\n\n        function enableShade() {\n          if (!enabled) {\n            enabled = true;\n            holder.insertBefore($img);\n            updateAuto();\n            Selection.setBgOpacity(1, 0, 1);\n            $img2.hide();\n            setBgColor(options.shadeColor || options.bgColor, 1);\n\n            if (Selection.isAwake()) {\n              setOpacity(options.bgOpacity, 1);\n            } else setOpacity(1, 1);\n          }\n        }\n\n        function setBgColor(color, now) {\n          colorChangeMacro(getShades(), color, now);\n        }\n\n        function disableShade() {\n          if (enabled) {\n            holder.remove();\n            $img2.show();\n            enabled = false;\n\n            if (Selection.isAwake()) {\n              Selection.setBgOpacity(options.bgOpacity, 1, 1);\n            } else {\n              Selection.setBgOpacity(1, 1, 1);\n              Selection.disableHandles();\n            }\n\n            colorChangeMacro($div, 0, 1);\n          }\n        }\n\n        function setOpacity(opacity, now) {\n          if (enabled) {\n            if (options.bgFade && !now) {\n              holder.animate({\n                opacity: 1 - opacity\n              }, {\n                queue: false,\n                duration: options.fadeTime\n              });\n            } else holder.css({\n              opacity: 1 - opacity\n            });\n          }\n        }\n\n        function refreshAll() {\n          options.shade ? enableShade() : disableShade();\n          if (Selection.isAwake()) setOpacity(options.bgOpacity);\n        }\n\n        function getShades() {\n          return holder.children();\n        }\n\n        return {\n          update: updateAuto,\n          updateRaw: updateShade,\n          getShades: getShades,\n          setBgColor: setBgColor,\n          enable: enableShade,\n          disable: disableShade,\n          resize: resizeShades,\n          refresh: refreshAll,\n          opacity: setOpacity\n        };\n      }(); // }}}\n      // Selection Module {{{\n\n\n      var Selection = function () {\n        var awake,\n            borders = {},\n            handle = {};\n   // Private Methods\n\n        function insertBorder(type) //{{{\n        {\n          var jq = $('<div />').css({\n            position: 'absolute'\n          }).addClass(cssClass(type));\n          $sel.append(jq);\n          return jq;\n        } //}}}\n\n\n        function dragDiv(ord) //{{{\n        {\n          var jq = $('<div />').mousedown(createDragger(ord)).css({\n            cursor: ord + '-resize',\n            position: 'absolute'\n          }).append('<div/>').addClass('ord-' + ord);\n\n          if (Touch.support) {\n            jq.on('touchstart.jcrop', Touch.createDragger(ord));\n          }\n\n          $sel.append(jq);\n          return jq;\n        } //}}}\n\n\n        function insertHandle(ord) //{{{\n        {\n          return dragDiv(ord).addClass(cssClass('handle'));\n        } //}}}\n\n\n        function createBorders(li) //{{{\n        {\n          var cl, i;\n\n          for (i = 0; i < li.length; i++) {\n            switch (li[i]) {\n              case 'n':\n                cl = 'hline';\n                break;\n\n              case 's':\n                cl = 'hline bottom';\n                break;\n\n              case 'e':\n                cl = 'vline right';\n                break;\n\n              case 'w':\n                cl = 'vline';\n                break;\n            }\n\n            borders[li[i]] = insertBorder(cl);\n          }\n        } //}}}\n\n\n        function createHandles(li) //{{{\n        {\n          var i;\n\n          for (i = 0; i < li.length; i++) {\n            handle[li[i]] = insertHandle(li[i]);\n          }\n        } //}}}\n\n\n        function moveto(x, y) //{{{\n        {\n          if (!options.shade) {\n            $img2.css({\n              top: px(-y),\n              left: px(-x)\n            });\n          }\n\n          $sel.css({\n            top: px(y),\n            left: px(x)\n          });\n        } //}}}\n\n\n        function resize(w, h) //{{{\n        {\n          $sel.width(Math.round(w)).height(Math.round(h));\n        } //}}}\n\n\n        function refresh() //{{{\n        {\n          var c = Coords.getFixed();\n          Coords.setPressed([c.x, c.y]);\n          Coords.setCurrent([c.x2, c.y2]);\n          updateVisible();\n        } //}}}\n        // Internal Methods\n\n\n        function updateVisible(select) //{{{\n        {\n          if (awake) {\n            return update(select);\n          }\n        } //}}}\n\n\n        function update(select) //{{{\n        {\n          var c = Coords.getFixed();\n          resize(c.w, c.h);\n          moveto(c.x, c.y);\n          if (options.shade) Shade.updateRaw(c);\n          awake || show();\n\n          if (select) {\n            options.onSelect.call(api, unscale(c));\n          } else {\n            options.onChange.call(api, unscale(c));\n          }\n        } //}}}\n\n\n        function setBgOpacity(opacity, force, now) //{{{\n        {\n          if (!awake && !force) return;\n\n          if (options.bgFade && !now) {\n            $img.animate({\n              opacity: opacity\n            }, {\n              queue: false,\n              duration: options.fadeTime\n            });\n          } else {\n            $img.css('opacity', opacity);\n          }\n        } //}}}\n\n\n        function show() //{{{\n        {\n          $sel.show();\n          if (options.shade) Shade.opacity(bgopacity);else setBgOpacity(bgopacity, true);\n          awake = true;\n        } //}}}\n\n\n        function release() //{{{\n        {\n          $sel.hide();\n          if (options.shade) Shade.opacity(1);else setBgOpacity(1);\n          awake = false;\n          options.onRelease.call(api);\n        } //}}}\n\n\n        function enableHandles() //{{{\n        {\n\n          if (options.allowResize) {\n            return true;\n          }\n        } //}}}\n\n\n        function disableHandles() //{{{\n        {\n        } //}}}\n\n\n        function animMode(v) //{{{\n        {\n          if (v) ; else {\n            enableHandles();\n          }\n        } //}}}\n\n\n        function done() //{{{\n        {\n          animMode(false);\n          refresh();\n        } //}}}\n        // Insert draggable elements {{{\n        // Insert border divs for outline\n\n\n        if ($.isArray(options.createHandles)) createHandles(options.createHandles);\n        if (options.drawBorders && $.isArray(options.createBorders)) createBorders(options.createBorders); //}}}\n        // This is a hack for iOS5 to support drag/move touch functionality\n\n        $(document).on('touchstart.jcrop-ios', function (e) {\n          if ($(e.currentTarget).hasClass('jcrop-tracker')) e.stopPropagation();\n        });\n        var $track = newTracker().mousedown(createDragger('move')).css({\n          cursor: 'move',\n          position: 'absolute',\n          zIndex: 360\n        });\n\n        if (Touch.support) {\n          $track.on('touchstart.jcrop', Touch.createDragger('move'));\n        }\n\n        $img_holder.append($track);\n        return {\n          updateVisible: updateVisible,\n          update: update,\n          release: release,\n          refresh: refresh,\n          isAwake: function isAwake() {\n            return awake;\n          },\n          setCursor: function setCursor(cursor) {\n            $track.css('cursor', cursor);\n          },\n          enableHandles: enableHandles,\n          enableOnly: function enableOnly() {\n          },\n          disableHandles: disableHandles,\n          animMode: animMode,\n          setBgOpacity: setBgOpacity,\n          done: done\n        };\n      }(); //}}}\n      // Tracker Module {{{\n\n\n      var Tracker = function () {\n        var onMove = function onMove() {},\n            onDone = function onDone() {},\n            trackDoc = options.trackDocument;\n\n        function toFront() //{{{\n        {\n          $trk.css({\n            zIndex: 450\n          });\n\n          if (Touch.support) {\n            $(document).on('touchmove.jcrop', trackTouchMove).on('touchend.jcrop', trackTouchEnd);\n          }\n\n          if (trackDoc) {\n            $(document).on('mousemove.jcrop', trackMove).on('mouseup.jcrop', trackUp);\n          }\n        } //}}}\n\n\n        function toBack() //{{{\n        {\n          $trk.css({\n            zIndex: 290\n          });\n          $(document).off('.jcrop');\n        } //}}}\n\n\n        function trackMove(e) //{{{\n        {\n          onMove(mouseAbs(e));\n          return false;\n        } //}}}\n\n\n        function trackUp(e) //{{{\n        {\n          e.preventDefault();\n          e.stopPropagation();\n\n          if (btndown) {\n            btndown = false;\n            onDone(mouseAbs(e));\n\n            if (Selection.isAwake()) {\n              options.onSelect.call(api, unscale(Coords.getFixed()));\n            }\n\n            toBack();\n\n            onMove = function onMove() {};\n\n            onDone = function onDone() {};\n          }\n\n          return false;\n        } //}}}\n\n\n        function activateHandlers(move, done) //{{{\n        {\n          btndown = true;\n          onMove = move;\n          onDone = done;\n          toFront();\n          return false;\n        } //}}}\n\n\n        function trackTouchMove(e) //{{{\n        {\n          e.pageX = e.originalEvent.changedTouches[0].pageX;\n          e.pageY = e.originalEvent.changedTouches[0].pageY;\n          return trackMove(e);\n        } //}}}\n\n\n        function trackTouchEnd(e) //{{{\n        {\n          e.pageX = e.originalEvent.changedTouches[0].pageX;\n          e.pageY = e.originalEvent.changedTouches[0].pageY;\n          return trackUp(e);\n        } //}}}\n\n\n        if (!trackDoc) {\n          $trk.mousemove(trackMove).mouseup(trackUp).mouseout(trackUp);\n        }\n\n        $img.before($trk);\n        return {\n          activateHandlers: activateHandlers\n        };\n      }(); //}}}\n      // KeyManager Module {{{\n\n\n      var KeyManager = function () {\n        var $keymgr = $('<input type=\"radio\" />').css({\n          position: 'fixed',\n          left: '-120px',\n          width: '12px'\n        }).addClass('jcrop-keymgr'),\n            $keywrap = $('<div />').css({\n          position: 'absolute',\n          overflow: 'hidden'\n        }).append($keymgr);\n\n        function watchKeys() //{{{\n        {\n          if (options.keySupport) {\n            $keymgr.show();\n            $keymgr.focus();\n          }\n        } //}}}\n\n\n        function onBlur(e) //{{{\n        {\n          $keymgr.hide();\n        } //}}}\n\n\n        function doNudge(e, x, y) //{{{\n        {\n          if (options.allowMove) {\n            Coords.moveOffset([x, y]);\n            Selection.updateVisible(true);\n          }\n\n          e.preventDefault();\n          e.stopPropagation();\n        } //}}}\n\n\n        function parseKey(e) //{{{\n        {\n          if (e.ctrlKey || e.metaKey) {\n            return true;\n          }\n\n          shift_down = e.shiftKey ? true : false;\n          var nudge = shift_down ? 10 : 1;\n\n          switch (e.keyCode) {\n            case 37:\n              doNudge(e, -nudge, 0);\n              break;\n\n            case 39:\n              doNudge(e, nudge, 0);\n              break;\n\n            case 38:\n              doNudge(e, 0, -nudge);\n              break;\n\n            case 40:\n              doNudge(e, 0, nudge);\n              break;\n\n            case 9:\n              return true;\n          }\n\n          return false;\n        } //}}}\n\n\n        if (options.keySupport) {\n          $keymgr.keydown(parseKey).blur(onBlur);\n          $keymgr.css({\n            position: 'absolute',\n            left: '-20px'\n          });\n          $keywrap.append($keymgr).insertBefore($img);\n        }\n\n        return {\n          watchKeys: watchKeys\n        };\n      }(); //}}}\n      // }}}\n      // API methods {{{\n\n\n      function setClass(cname) //{{{\n      {\n        $div.removeClass().addClass(cssClass('holder')).addClass(cname);\n      } //}}}\n\n\n      function setSelect(rect) //{{{\n      {\n        setSelectRaw([rect[0] / xscale, rect[1] / yscale, rect[2] / xscale, rect[3] / yscale]);\n        options.onSelect.call(api, unscale(Coords.getFixed()));\n        Selection.enableHandles();\n      } //}}}\n\n\n      function setSelectRaw(l) //{{{\n      {\n        Coords.setPressed([l[0], l[1]]);\n        Coords.setCurrent([l[2], l[3]]);\n        Selection.update();\n      } //}}}\n\n\n      function tellSelect() //{{{\n      {\n        return unscale(Coords.getFixed());\n      } //}}}\n\n\n      function tellScaled() //{{{\n      {\n        return Coords.getFixed();\n      } //}}}\n\n\n      function setOptionsNew(opt) //{{{\n      {\n        setOptions(opt);\n        interfaceUpdate();\n      } //}}}\n\n\n      function disableCrop() //{{{\n      {\n        options.disabled = true;\n        Selection.disableHandles();\n        Selection.setCursor('default');\n      } //}}}\n\n\n      function enableCrop() //{{{\n      {\n        options.disabled = false;\n        interfaceUpdate();\n      } //}}}\n\n\n      function cancelCrop() //{{{\n      {\n        Selection.done();\n        Tracker.activateHandlers(null, null);\n      } //}}}\n\n\n      function destroy() //{{{\n      {\n        $div.remove();\n        $origimg.show();\n        $origimg.css('visibility', 'visible');\n        $(obj).removeData('Jcrop');\n      } //}}}\n\n\n      function colorChangeMacro($obj, color, now) {\n        var mycolor = color || options.bgColor;\n\n        if (options.bgFade && supportsColorFade() && options.fadeTime && !now) {\n          $obj.animate({\n            backgroundColor: mycolor\n          }, {\n            queue: false,\n            duration: options.fadeTime\n          });\n        } else {\n          $obj.css('backgroundColor', mycolor);\n        }\n      }\n\n      function interfaceUpdate(alt) //{{{\n      // This method tweaks the interface based on options object.\n      // Called when options are changed and at end of initialization.\n      {\n        if (options.allowResize) {\n          if (alt) {\n            Selection.enableOnly();\n          } else {\n            Selection.enableHandles();\n          }\n        } else {\n          Selection.disableHandles();\n        }\n\n        Selection.setCursor(options.allowMove ? 'move' : 'default');\n\n        if (options.hasOwnProperty('trueSize')) {\n          xscale = options.trueSize[0] / boundx;\n          yscale = options.trueSize[1] / boundy;\n        }\n\n        if (options.hasOwnProperty('setSelect')) {\n          setSelect(options.setSelect);\n          Selection.done();\n          delete options.setSelect;\n        }\n\n        Shade.refresh();\n\n        if (options.bgColor != bgcolor) {\n          colorChangeMacro(options.shade ? Shade.getShades() : $div, options.shade ? options.shadeColor || options.bgColor : options.bgColor);\n          bgcolor = options.bgColor;\n        }\n\n        if (bgopacity != options.bgOpacity) {\n          bgopacity = options.bgOpacity;\n          if (options.shade) Shade.refresh();else Selection.setBgOpacity(bgopacity);\n        }\n\n        xlimit = options.maxSize[0] || 0;\n        ylimit = options.maxSize[1] || 0;\n        xmin = options.minSize[0] || 0;\n        ymin = options.minSize[1] || 0;\n\n        if (options.hasOwnProperty('outerImage')) {\n          $img.attr('src', options.outerImage);\n          delete options.outerImage;\n        }\n\n        Selection.refresh();\n      } //}}}\n      //}}}\n\n\n      interfaceUpdate(true);\n      var api = {\n        setSelect: setSelect,\n        setOptions: setOptionsNew,\n        tellSelect: tellSelect,\n        tellScaled: tellScaled,\n        setClass: setClass,\n        disable: disableCrop,\n        enable: enableCrop,\n        cancel: cancelCrop,\n        release: Selection.release,\n        destroy: destroy,\n        focus: KeyManager.watchKeys,\n        getBounds: function getBounds() {\n          return [boundx * xscale, boundy * yscale];\n        },\n        getWidgetSize: function getWidgetSize() {\n          return [boundx, boundy];\n        },\n        getScaleFactor: function getScaleFactor() {\n          return [xscale, yscale];\n        },\n        getOptions: function getOptions() {\n          // careful: internal values are returned\n          return options;\n        },\n        ui: {\n          holder: $div,\n          selection: $sel\n        }\n      };\n      $origimg.data('Jcrop', api);\n      return api;\n    };\n\n    $.fn.Jcrop = function (options, callback) //{{{\n    {\n      var api; // Iterate over each object, attach Jcrop\n\n      this.each(function () {\n        // If we've already attached to this object\n        if ($(this).data('Jcrop')) {\n          // The API can be requested this way (undocumented)\n          if (options === 'api') return $(this).data('Jcrop'); // Otherwise, we just reset the options...\n          else $(this).data('Jcrop').setOptions(options);\n        } // If we haven't been attached, preload and attach\n        else {\n            if (this.tagName == 'IMG') $.Jcrop.Loader(this, function () {\n              $(this).css({\n                display: 'block',\n                visibility: 'hidden'\n              });\n              api = $.Jcrop(this, options);\n              if ($.isFunction(callback)) callback.call(api);\n            });else {\n              $(this).css({\n                display: 'block',\n                visibility: 'hidden'\n              });\n              api = $.Jcrop(this, options);\n              if ($.isFunction(callback)) callback.call(api);\n            }\n          }\n      }); // Return \"this\" so the object is chainable (jQuery-style)\n\n      return this;\n    }; //}}}\n    // $.Jcrop.Loader - basic image loader {{{\n\n\n    $.Jcrop.Loader = function (imgobj, success, error) {\n      var $img = $(imgobj),\n          img = $img[0];\n\n      function completeCheck() {\n        if (img.complete) {\n          $img.off('.jcloader');\n          if ($.isFunction(success)) success.call(img);\n        } else window.setTimeout(completeCheck, 50);\n      }\n\n      $img.on('load.jcloader', completeCheck).on('error.jcloader', function (e) {\n        $img.off('.jcloader');\n        if ($.isFunction(error)) error.call(img);\n      });\n\n      if (img.complete && $.isFunction(success)) {\n        $img.off('.jcloader');\n        success.call(img);\n      }\n    }; //}}}\n    // Global Defaults {{{\n\n\n    $.Jcrop.defaults = {\n      // Basic Settings\n      allowMove: true,\n      allowResize: true,\n      trackDocument: true,\n      // Styling Options\n      baseClass: 'jcrop',\n      addClass: null,\n      bgColor: 'black',\n      bgOpacity: 0.6,\n      bgFade: false,\n      aspectRatio: 0,\n      keySupport: true,\n      createHandles: ['n', 's', 'e', 'w', 'nw', 'ne', 'se', 'sw'],\n      createBorders: ['n', 's', 'e', 'w'],\n      drawBorders: true,\n      dragEdges: true,\n      fixedSupport: true,\n      touchSupport: null,\n      shade: null,\n      boxWidth: 0,\n      boxHeight: 0,\n      boundary: 2,\n      fadeTime: 400,\n      animationDelay: 20,\n      swingSpeed: 3,\n      maxSize: [0, 0],\n      minSize: [0, 0],\n      // Callbacks / Event Handlers\n      onChange: function onChange() {},\n      onSelect: function onSelect() {},\n      onDblClick: function onDblClick() {},\n      onRelease: function onRelease() {}\n    }; // }}}\n  }($);\n\n  var cropModifierRegExp = /-\\/crop\\/([0-9]+)x([0-9]+)(\\/(center|([0-9]+),([0-9]+)))?\\//i;\n\n  var CropWidget =\n  /*#__PURE__*/\n  function () {\n    function CropWidget(element, originalSize) {\n      var crop = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n      _classCallCheck(this, CropWidget);\n\n      this.element = element;\n      this.originalSize = originalSize;\n      this.__api = $.Jcrop(this.element[0], {\n        trueSize: this.originalSize,\n        baseClass: 'uploadcare--jcrop',\n        addClass: 'uploadcare--crop-widget',\n        createHandles: ['nw', 'ne', 'se', 'sw'],\n        bgColor: 'transparent',\n        bgOpacity: 0.8\n      });\n      this.setCrop(crop);\n      this.setSelection();\n    } //   downscale:\n    // If set to `true` \"-/resize/%preferedSize%/\" will be added\n    // if selected area bigger than `preferedSize`. Default false.\n    //   upscale:\n    // If set to `true` \"-/resize/%preferedSize%/\" will be added\n    // if selected area smaller than `preferedSize`. Default false.\n    //   notLess:\n    // Restrict selection to preferedSize area. Default false.\n    //   preferedSize:\n    // Defines image size you want to get at the end.\n    // If `downscale` option is set to `false`, it defines only\n    // the prefered aspect ratio.\n    // If set to `null` any aspect ratio will be acceptable.\n    // Array: [123, 123]. (optional)\n\n\n    _createClass(CropWidget, [{\n      key: \"setCrop\",\n      value: function setCrop(crop) {\n        this.crop = crop;\n        return this.__api.setOptions({\n          aspectRatio: crop.preferedSize ? crop.preferedSize[0] / crop.preferedSize[1] : 0,\n          minSize: crop.notLess ? fitSize(crop.preferedSize, this.originalSize) : [0, 0]\n        });\n      }\n    }, {\n      key: \"setSelection\",\n      value: function setSelection(selection) {\n        var center, left, size, top;\n\n        if (selection) {\n          center = selection.center;\n          size = [selection.width, selection.height];\n        } else {\n          center = true;\n          size = this.originalSize;\n        }\n\n        if (this.crop.preferedSize) {\n          size = fitSize(this.crop.preferedSize, size, true);\n        }\n\n        if (center) {\n          left = (this.originalSize[0] - size[0]) / 2;\n          top = (this.originalSize[1] - size[1]) / 2;\n        } else {\n          left = selection.left || 0;\n          top = selection.top || 0;\n        }\n\n        return this.__api.setSelect([left, top, size[0] + left, size[1] + top]);\n      }\n    }, {\n      key: \"__parseModifiers\",\n      value: function __parseModifiers(modifiers) {\n        var raw = modifiers != null ? modifiers.match(cropModifierRegExp) : undefined;\n\n        if (raw) {\n          return {\n            width: parseInt(raw[1], 10),\n            height: parseInt(raw[2], 10),\n            center: raw[4] === 'center',\n            left: parseInt(raw[5], 10) || undefined,\n            top: parseInt(raw[6], 10) || undefined\n          };\n        }\n      }\n    }, {\n      key: \"setSelectionFromModifiers\",\n      value: function setSelectionFromModifiers(modifiers) {\n        return this.setSelection(this.__parseModifiers(modifiers));\n      }\n    }, {\n      key: \"getSelection\",\n      value: function getSelection() {\n        var coords, left, top;\n        coords = this.__api.tellSelect();\n        left = Math.round(Math.max(0, coords.x));\n        top = Math.round(Math.max(0, coords.y));\n        return {\n          left: left,\n          top: top,\n          width: Math.round(Math.min(this.originalSize[0], coords.x2)) - left,\n          height: Math.round(Math.min(this.originalSize[1], coords.y2)) - top\n        };\n      }\n    }, {\n      key: \"applySelectionToFile\",\n      value: function applySelectionToFile(file) {\n        var _this = this;\n\n        return file.then(function (info) {\n          return applyCropCoordsToInfo(info, _this.crop, _this.originalSize, _this.getSelection());\n        });\n      }\n    }]);\n\n    return CropWidget;\n  }();\n\n  var BasePreviewTab =\n  /*#__PURE__*/\n  function () {\n    function BasePreviewTab(container, tabButton, dialogApi, settings, name) {\n      var _this = this;\n\n      _classCallCheck(this, BasePreviewTab);\n\n      var notDisabled;\n      this.container = container;\n      this.tabButton = tabButton;\n      this.dialogApi = dialogApi;\n      this.settings = settings;\n      this.name = name;\n\n      this.__initTabButtonCircle();\n\n      this.container.addClass('uploadcare--preview');\n      notDisabled = ':not(:disabled)';\n      this.container.on('click', '.uploadcare--preview__back' + notDisabled, function () {\n        return _this.dialogApi.fileColl.clear();\n      });\n      this.container.on('click', '.uploadcare--preview__done' + notDisabled, this.dialogApi.resolve);\n    }\n\n    _createClass(BasePreviewTab, [{\n      key: \"__initTabButtonCircle\",\n      value: function __initTabButtonCircle() {\n        var _this2 = this;\n\n        var circle, circleDf, circleEl, update;\n        circleEl = this.tabButton.find('.uploadcare--panel__icon');\n        circleDf = $.Deferred();\n\n        update = function update() {\n          var i, infos, len, progress, progressInfo;\n          infos = _this2.dialogApi.fileColl.lastProgresses();\n          progress = 0;\n\n          for (i = 0, len = infos.length; i < len; i++) {\n            progressInfo = infos[i];\n            progress += ((progressInfo != null ? progressInfo.progress : undefined) || 0) / infos.length;\n          }\n\n          return circleDf.notify(progress);\n        };\n\n        this.dialogApi.fileColl.onAnyProgress(update);\n        this.dialogApi.fileColl.onAdd.add(update);\n        this.dialogApi.fileColl.onRemove.add(update);\n        update();\n        circle = new Circle(circleEl).listen(circleDf.promise());\n        return this.dialogApi.progress(function () {\n          var _circle;\n\n          return (_circle = circle).update.apply(_circle, arguments);\n        });\n      }\n    }]);\n\n    return BasePreviewTab;\n  }();\n\n  var PreviewTab =\n  /*#__PURE__*/\n  function (_BasePreviewTab) {\n    _inherits(PreviewTab, _BasePreviewTab);\n\n    function PreviewTab(container, tabButton, dialogApi, settings, name) {\n      var _this;\n\n      _classCallCheck(this, PreviewTab);\n\n      _this = _possibleConstructorReturn(this, _getPrototypeOf(PreviewTab).apply(this, arguments)); // error\n      // unknown\n      // image\n      // video\n      // regular\n\n      _this.container = container;\n      _this.tabButton = tabButton;\n      _this.dialogApi = dialogApi;\n      _this.settings = settings;\n      _this.name = name;\n      $.each(_this.dialogApi.fileColl.get(), function (i, file) {\n        return _this.__setFile(file);\n      });\n\n      _this.dialogApi.fileColl.onAdd.add(_this.__setFile.bind(_assertThisInitialized(_this)));\n\n      _this.widget = null;\n      _this.__state = null;\n      return _this;\n    }\n\n    _createClass(PreviewTab, [{\n      key: \"__setFile\",\n      value: function __setFile(file) {\n        var _this2 = this;\n\n        var ifCur, tryToLoadImagePreview, tryToLoadVideoPreview;\n        this.file = file;\n\n        ifCur = function ifCur(fn) {\n          return function () {\n            if (file === _this2.file) {\n              for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {\n                args[_key] = arguments[_key];\n              }\n\n              return fn.apply(null, args);\n            }\n          };\n        };\n\n        tryToLoadImagePreview = once(this.__tryToLoadImagePreview.bind(this));\n        tryToLoadVideoPreview = once(this.__tryToLoadVideoPreview.bind(this));\n\n        this.__setState('unknown', {});\n\n        this.file.progress(ifCur(function (info) {\n          var blob, label, source;\n          info = info.incompleteFileInfo;\n          label = (info.name || '') + readableFileSize(info.size, '', ', ');\n\n          _this2.container.find('.uploadcare--preview__file-name').text(label);\n\n          source = info.sourceInfo;\n          blob = Blob;\n\n          if (source.file && blob && source.file instanceof blob) {\n            return tryToLoadImagePreview(file, source.file).fail(function () {\n              return tryToLoadVideoPreview(file, source.file);\n            });\n          }\n        }));\n        this.file.done(ifCur(function (info) {\n          var imgInfo, src;\n\n          if (_this2.__state === 'video') {\n            return;\n          }\n\n          if (info.isImage) {\n            // avoid subsequent image states\n            if (_this2.__state !== 'image') {\n              src = info.originalUrl; // 1162x684 is 1.5 size of conteiner\n\n              src += '-/preview/1162x693/-/setfill/ffffff/-/format/jpeg/-/progressive/yes/';\n\n              if (_this2.settings.previewUrlCallback) {\n                src = _this2.settings.previewUrlCallback(src, info);\n              }\n\n              imgInfo = info.originalImageInfo;\n\n              _this2.__setState('image', {\n                src: src,\n                name: info.name,\n                info: info\n              });\n\n              return _this2.initImage([imgInfo.width, imgInfo.height], info.cdnUrlModifiers);\n            }\n          } else {\n            // , but update if other\n            return _this2.__setState('regular', {\n              file: info\n            });\n          }\n        }));\n        return this.file.fail(ifCur(function (error, info) {\n          return _this2.__setState('error', {\n            error: error,\n            file: info\n          });\n        }));\n      }\n    }, {\n      key: \"__tryToLoadImagePreview\",\n      value: function __tryToLoadImagePreview(file, blob) {\n        var _this3 = this;\n\n        var df;\n        df = $.Deferred();\n\n        if (file.state() !== 'pending' || !blob.size || blob.size >= this.settings.multipartMinSize) {\n          return df.reject().promise();\n        }\n\n        drawFileToCanvas(blob, 1550, 924, '#ffffff', this.settings.imagePreviewMaxSize).done(function (canvas, size) {\n          return canvasToBlob(canvas, 'image/jpeg', 0.95, function (blob) {\n            var src;\n            df.resolve();\n            canvas.width = canvas.height = 1;\n\n            if (file.state() !== 'pending' || _this3.dialogApi.state() !== 'pending' || _this3.file !== file) {\n              return;\n            }\n\n            src = URL.createObjectURL(blob);\n\n            _this3.dialogApi.always(function () {\n              return URL.revokeObjectURL(src);\n            });\n\n            if (_this3.__state !== 'image') {\n              _this3.__setState('image', {\n                src: src,\n                name: ''\n              });\n\n              return _this3.initImage(size);\n            }\n          });\n        }).fail(df.reject);\n        return df.promise();\n      }\n    }, {\n      key: \"__tryToLoadVideoPreview\",\n      value: function __tryToLoadVideoPreview(file, blob) {\n        var _this4 = this;\n\n        var df, op, src;\n        df = $.Deferred();\n\n        if (!URL || !blob.size) {\n          return df.reject().promise();\n        }\n\n        src = URL.createObjectURL(blob);\n        op = videoLoader(src);\n        op.fail(function () {\n          URL.revokeObjectURL(src);\n          return df.reject();\n        }).done(function () {\n          var videoTag;\n          df.resolve();\n\n          _this4.dialogApi.always(function () {\n            return URL.revokeObjectURL(src);\n          });\n\n          _this4.__setState('video');\n\n          videoTag = _this4.container.find('.uploadcare--preview__video'); // hack to enable seeking due to bug in MediaRecorder API\n          // https://bugs.chromium.org/p/chromium/issues/detail?id=569840\n\n          videoTag.on('loadeddata', function () {\n            var el;\n            el = videoTag.get(0);\n            el.currentTime = 360000; // 100 hours\n\n            return videoTag.off('loadeddata');\n          });\n          videoTag.on('ended', function () {\n            var el;\n            el = videoTag.get(0);\n            el.currentTime = 0;\n            return videoTag.off('ended');\n          }); // end of hack\n\n          videoTag.attr('src', src); // hack to load first-frame poster on ios safari\n\n          return videoTag.get(0).load();\n        });\n        return df.promise();\n      }\n    }, {\n      key: \"__setState\",\n      value: function __setState(state, data) {\n        this.__state = state;\n        data = data || {};\n        data.crop = this.settings.crop;\n        this.container.empty().append(tpl(\"tab-preview-\".concat(state), data));\n        this.container.removeClass(function (index, classes) {\n          return classes.split(' ').filter(function (c) {\n            return !!~c.indexOf('uploadcare--preview_status_');\n          }).join(' ');\n        });\n\n        if (state === 'unknown' && this.settings.crop) {\n          this.container.find('.uploadcare--preview__done').hide();\n        }\n\n        if (state === 'error') {\n          this.container.addClass('uploadcare--preview_status_error-' + data.error);\n        }\n\n        this.container.find('.uploadcare--preview__done').focus();\n      }\n    }, {\n      key: \"initImage\",\n      value: function initImage(imgSize, cdnModifiers) {\n        var _this5 = this;\n\n        var done, img, imgLoader, startCrop;\n        img = this.container.find('.uploadcare--preview__image');\n        done = this.container.find('.uploadcare--preview__done');\n        imgLoader = imageLoader(img[0]).done(function () {\n          return _this5.container.addClass('uploadcare--preview_status_loaded');\n        }).fail(function () {\n          _this5.file = null;\n          return _this5.__setState('error', {\n            error: 'loadImage'\n          });\n        });\n\n        startCrop = function startCrop() {\n          _this5.container.find('.uploadcare--crop-sizes__item').attr('aria-disabled', false).attr('tabindex', 0);\n\n          done.attr('disabled', false).attr('aria-disabled', false);\n          _this5.widget = new CropWidget(img, imgSize, _this5.settings.crop[0]);\n\n          if (cdnModifiers) {\n            _this5.widget.setSelectionFromModifiers(cdnModifiers);\n          }\n\n          return done.on('click', function () {\n            var newFile;\n            newFile = _this5.widget.applySelectionToFile(_this5.file);\n\n            _this5.dialogApi.fileColl.replace(_this5.file, newFile);\n\n            return true;\n          });\n        };\n\n        if (this.settings.crop) {\n          this.container.find('.uploadcare--preview__title').text(locale.t('dialog.tabs.preview.crop.title'));\n          this.container.find('.uploadcare--preview__content').addClass('uploadcare--preview__content_crop');\n          done.attr('disabled', true).attr('aria-disabled', true);\n          done.text(locale.t('dialog.tabs.preview.crop.done'));\n          this.populateCropSizes();\n          this.container.find('.uploadcare--crop-sizes__item').attr('aria-disabled', true).attr('tabindex', -1);\n          return imgLoader.done(function () {\n            // Often IE 11 doesn't do reflow after image.onLoad\n            // and actual image remains 28x30 (broken image placeholder).\n            // Looks like defer always fixes it.\n            return defer(startCrop);\n          });\n        }\n      }\n    }, {\n      key: \"populateCropSizes\",\n      value: function populateCropSizes() {\n        var _this6 = this;\n\n        var control, currentClass, template;\n        control = this.container.find('.uploadcare--crop-sizes');\n        template = control.children();\n        currentClass = 'uploadcare--crop-sizes__item_current';\n        $.each(this.settings.crop, function (i, crop) {\n          var caption, gcd$1, icon, item, prefered, size;\n          prefered = crop.preferedSize;\n\n          if (prefered) {\n            gcd$1 = gcd(prefered[0], prefered[1]);\n            caption = \"\".concat(prefered[0] / gcd$1, \":\").concat(prefered[1] / gcd$1);\n          } else {\n            caption = locale.t('dialog.tabs.preview.crop.free');\n          }\n\n          item = template.clone().appendTo(control).attr('data-caption', caption).on('click', function (e) {\n            if ($(e.currentTarget).attr('aria-disabled') === 'true') {\n              return;\n            }\n\n            if (!$(e.currentTarget).hasClass(currentClass) && _this6.settings.crop.length > 1 && _this6.widget) {\n              _this6.widget.setCrop(crop);\n\n              control.find('>*').removeClass(currentClass);\n              item.addClass(currentClass);\n            }\n          });\n\n          if (prefered) {\n            size = fitSize(prefered, [30, 30], true);\n            return item.children().css({\n              width: Math.max(20, size[0]),\n              height: Math.max(12, size[1])\n            });\n          } else {\n            icon = $(\"<svg width='32' height='32'><use xlink:href='#uploadcare--icon-crop-free'/></svg>\").attr('role', 'presentation').attr('class', 'uploadcare--icon');\n            return item.children().append(icon).addClass('uploadcare--crop-sizes__icon_free');\n          }\n        });\n        template.remove();\n        return control.find('>*').eq(0).addClass(currentClass);\n      }\n    }, {\n      key: \"displayed\",\n      value: function displayed() {\n        this.dialogApi.takeFocus() && this.container.find('.uploadcare--preview__done').focus();\n      }\n    }]);\n\n    return PreviewTab;\n  }(BasePreviewTab);\n\n  isWindowDefined() && function ($) {\n    function nearestFinder(targets) {\n      this.targets = targets;\n      this.last = null;\n      this.update();\n    }\n\n    nearestFinder.prototype = {\n      update: function update() {\n        var rows = {};\n        this.targets.each(function (i) {\n          var offset = $(this).offset();\n\n          if (!(offset.top in rows)) {\n            rows[offset.top] = [];\n          }\n\n          rows[offset.top].push([offset.left + this.offsetWidth / 2, this]);\n        });\n        this.rows = rows;\n      },\n      find: function find(x, y) {\n        var minDistance = Infinity;\n        var rows = this.rows;\n        var nearestRow, top, nearest;\n\n        for (top in rows) {\n          var distance = Math.abs(top - y);\n\n          if (distance < minDistance) {\n            minDistance = distance;\n            nearestRow = rows[top];\n          }\n        }\n\n        minDistance = Math.abs(nearestRow[0][0] - x);\n        nearest = nearestRow[0][1];\n\n        for (var i = 1; i < nearestRow.length; i++) {\n          var distance = Math.abs(nearestRow[i][0] - x);\n\n          if (distance < minDistance) {\n            minDistance = distance;\n            nearest = nearestRow[i][1];\n          }\n        }\n\n        return nearest;\n      },\n      findNotLast: function findNotLast(x, y) {\n        var nearest = this.find(x, y);\n\n        if (this.last && nearest && this.last == nearest) {\n          return null;\n        }\n\n        return this.last = nearest;\n      }\n    };\n    var movableName = 'uploadcareMovable';\n    var sortableName = 'uploadcareSortable';\n    var extend = {};\n\n    extend[movableName] = function (o) {\n      o = $.extend({\n        distance: 4,\n        anyButton: false,\n        axis: false,\n        zIndex: 1000,\n        start: $.noop,\n        move: $.noop,\n        finish: $.noop,\n        items: null,\n        keepFake: false,\n        touch: true\n      }, o);\n\n      function fixTouch(e) {\n        if (!o.touch) {\n          return;\n        }\n\n        var touch, s;\n        s = e.originalEvent.touches;\n\n        if (s && s.length) {\n          touch = s[0];\n        } else {\n          s = e.originalEvent.changedTouches;\n\n          if (s && s.length) {\n            touch = s[0];\n          } else {\n            return;\n          }\n        }\n\n        e.pageX = touch.pageX;\n        e.pageY = touch.pageY;\n        e.which = 1;\n      }\n\n      var events = 'mousedown.{} touchstart.{}'.replace(/\\{}/g, movableName);\n      this.on(events, o.items, null, function (eDown) {\n        fixTouch(eDown);\n\n        if (!o.anyButton && eDown.which != 1) {\n          return;\n        }\n\n        eDown.preventDefault();\n        var dragged = false;\n        var $dragged = $(this);\n        var $fake = false;\n        var originalPos = $dragged.position(); // offset parent\n\n        originalPos.top += $dragged.offsetParent().scrollTop();\n        originalPos.left += $dragged.offsetParent().scrollLeft();\n        var events = 'mousemove.{} touchmove.{}'.replace(/\\{}/g, movableName);\n        $(document).on(events, function (eMove) {\n          fixTouch(eMove);\n\n          if (!dragged && (Math.abs(eMove.pageX - eDown.pageX) > o.distance || Math.abs(eMove.pageY - eDown.pageY) > o.distance)) {\n            dragged = true;\n            $fake = $dragged.clone().css({\n              position: 'absolute',\n              zIndex: o.zIndex,\n              width: $dragged.width()\n            }).appendTo($dragged.offsetParent());\n            o.start({\n              event: eMove,\n              dragged: $dragged,\n              fake: $fake\n            });\n          }\n\n          if (!dragged) {\n            return;\n          }\n\n          eMove.preventDefault();\n          var dx = o.axis == 'y' ? 0 : eMove.pageX - eDown.pageX;\n          var dy = o.axis == 'x' ? 0 : eMove.pageY - eDown.pageY;\n          $fake.css({\n            left: dx + originalPos.left,\n            top: dy + originalPos.top\n          });\n          o.move({\n            event: eMove,\n            dragged: $dragged,\n            fake: $fake,\n            dx: dx,\n            dy: dy\n          });\n        });\n        var events = 'mouseup.{} touchend.{} touchcancel.{} touchleave.{}';\n        $(document).on(events.replace(/\\{}/g, movableName), function (eUp) {\n          fixTouch(eUp);\n          var events = 'mousemove.{} touchmove.{} mouseup.{} touchend.{} touchcancel.{} touchleave.{}';\n          $(document).off(events.replace(/\\{}/g, movableName));\n\n          if (!dragged) {\n            return;\n          }\n\n          eUp.preventDefault();\n          var dx = eUp.pageX - eDown.pageX;\n          var dy = eUp.pageY - eDown.pageY;\n          dragged = false;\n          o.finish({\n            event: eUp,\n            dragged: $dragged,\n            fake: $fake,\n            dx: dx,\n            dy: dy\n          });\n\n          if (!o.keepFake) {\n            $fake.remove();\n          }\n        });\n      });\n    };\n\n    extend[sortableName] = function (o) {\n      var oMovable = $.extend({\n        items: '>*'\n      }, o);\n      var o = $.extend({\n        checkBounds: function checkBounds() {\n          return true;\n        },\n        start: $.noop,\n        attach: $.noop,\n        move: $.noop,\n        finish: $.noop\n      }, o);\n      var finder;\n      var initialNext = false;\n      var parent = this;\n\n      oMovable.start = function (info) {\n        o.start(info);\n        finder = new nearestFinder(parent.find(oMovable.items).not(info.fake));\n        initialNext = info.dragged.next();\n      };\n\n      oMovable.move = function (info) {\n        info.nearest = null;\n\n        if (o.checkBounds(info)) {\n          var offset = info.fake.offset();\n          var nearest = finder.findNotLast(offset.left + info.dragged.width() / 2, offset.top);\n          info.nearest = $(nearest);\n\n          if (nearest && nearest != info.dragged[0]) {\n            if (info.dragged.nextAll().filter(nearest).length > 0) {\n              info.dragged.insertAfter(nearest);\n            } else {\n              info.dragged.insertBefore(nearest);\n            }\n\n            o.attach(info);\n            finder.last = null;\n            finder.update();\n          }\n        } else if (finder.last !== null) {\n          finder.last = null;\n\n          if (initialNext.length) {\n            info.dragged.insertBefore(initialNext);\n          } else {\n            info.dragged.parent().append(info.dragged);\n          }\n\n          o.attach(info);\n          finder.update();\n        }\n\n        o.move(info);\n      };\n\n      oMovable.finish = function (info) {\n        var offset = info.fake.offset();\n        info.nearest = null;\n\n        if (o.checkBounds(info)) {\n          info.nearest = $(finder.find(offset.left + info.dragged.width() / 2, offset.top));\n        }\n\n        o.finish(info);\n        finder = null;\n      };\n\n      return this[movableName](oMovable);\n    };\n\n    $.fn.extend(extend);\n  }($);\n\n  var PreviewTabMultiple =\n  /*#__PURE__*/\n  function (_BasePreviewTab) {\n    _inherits(PreviewTabMultiple, _BasePreviewTab);\n\n    function PreviewTabMultiple() {\n      var _this;\n\n      _classCallCheck(this, PreviewTabMultiple);\n\n      _this = _possibleConstructorReturn(this, _getPrototypeOf(PreviewTabMultiple).apply(this, arguments));\n\n      _this.container.append(tpl('tab-preview-multiple'));\n\n      _this.__fileTpl = $(tpl('tab-preview-multiple-file'));\n      _this.fileListEl = _this.container.find('.uploadcare--files');\n      _this.doneBtnEl = _this.container.find('.uploadcare--preview__done');\n      $.each(_this.dialogApi.fileColl.get(), function (i, file) {\n        return _this.__fileAdded(file);\n      });\n\n      _this.__updateContainerView();\n\n      _this.dialogApi.fileColl.onAdd.add(_this.__fileAdded.bind(_assertThisInitialized(_this)), function () {\n        return _this.__updateContainerView();\n      });\n\n      _this.dialogApi.fileColl.onRemove.add(_this.__fileRemoved.bind(_assertThisInitialized(_this)), function () {\n        return _this.__updateContainerView();\n      });\n\n      _this.dialogApi.fileColl.onReplace.add(_this.__fileReplaced.bind(_assertThisInitialized(_this)), function () {\n        return _this.__updateContainerView();\n      });\n\n      _this.dialogApi.fileColl.onAnyProgress(_this.__fileProgress.bind(_assertThisInitialized(_this)));\n\n      _this.dialogApi.fileColl.onAnyDone(_this.__fileDone.bind(_assertThisInitialized(_this)));\n\n      _this.dialogApi.fileColl.onAnyFail(_this.__fileFailed.bind(_assertThisInitialized(_this)));\n\n      _this.fileListEl.addClass(_this.settings.imagesOnly ? 'uploadcare--files_type_tiles' : 'uploadcare--files_type_table');\n\n      _this.__setupSorting();\n\n      return _this;\n    }\n\n    _createClass(PreviewTabMultiple, [{\n      key: \"__setupSorting\",\n      value: function __setupSorting() {\n        var _this2 = this;\n\n        return this.fileListEl.uploadcareSortable({\n          touch: false,\n          axis: this.settings.imagesOnly ? 'xy' : 'y',\n          start: function start(info) {\n            return info.dragged.css('visibility', 'hidden');\n          },\n          finish: function finish(info) {\n            var elements, index;\n            info.dragged.css('visibility', 'visible');\n            elements = _this2.container.find('.uploadcare--file');\n\n            index = function index(file) {\n              return elements.index(_this2.__fileToEl(file));\n            };\n\n            return _this2.dialogApi.fileColl.sort(function (a, b) {\n              return index(a) - index(b);\n            });\n          }\n        });\n      }\n    }, {\n      key: \"__updateContainerView\",\n      value: function __updateContainerView() {\n        var errorContainer, files, hasWrongNumberFiles, title, tooFewFiles, tooManyFiles, wrongNumberFilesMessage;\n        files = this.dialogApi.fileColl.length();\n        tooManyFiles = files > this.settings.multipleMax;\n        tooFewFiles = files < this.settings.multipleMin;\n        hasWrongNumberFiles = tooManyFiles || tooFewFiles;\n        this.doneBtnEl.attr('disabled', hasWrongNumberFiles).attr('aria-disabled', hasWrongNumberFiles);\n        title = locale.t('dialog.tabs.preview.multiple.question').replace('%files%', locale.t('file', files));\n        this.container.find('.uploadcare--preview__title').text(title);\n        errorContainer = this.container.find('.uploadcare--preview__message');\n        errorContainer.empty();\n\n        if (hasWrongNumberFiles) {\n          wrongNumberFilesMessage = tooManyFiles ? locale.t('dialog.tabs.preview.multiple.tooManyFiles').replace('%max%', this.settings.multipleMax) : files && tooFewFiles ? locale.t('dialog.tabs.preview.multiple.tooFewFiles').replace('%min%', this.settings.multipleMin).replace('%files%', locale.t('file', files)) : undefined;\n          return errorContainer.addClass('uploadcare--error').text(wrongNumberFilesMessage);\n        }\n      }\n    }, {\n      key: \"__updateFileInfo\",\n      value: function __updateFileInfo(fileEl, info) {\n        var filename;\n        filename = info.name || locale.t('dialog.tabs.preview.unknownName');\n        fileEl.find('.uploadcare--file__name').text(filename);\n        fileEl.find('.uploadcare--file__description').attr('aria-label', locale.t('dialog.tabs.preview.multiple.file.preview').replace('%file%', filename));\n        fileEl.find('.uploadcare--file__remove').attr('title', locale.t('dialog.tabs.preview.multiple.file.remove').replace('%file%', filename)).attr('aria-label', locale.t('dialog.tabs.preview.multiple.file.remove').replace('%file%', filename));\n        return fileEl.find('.uploadcare--file__size').text(readableFileSize(info.size, '–'));\n      }\n    }, {\n      key: \"__fileProgress\",\n      value: function __fileProgress(file, progressInfo) {\n        var fileEl;\n        fileEl = this.__fileToEl(file);\n        fileEl.find('.uploadcare--progressbar__value').css('width', Math.round(progressInfo.progress * 100) + '%');\n        return this.__updateFileInfo(fileEl, progressInfo.incompleteFileInfo);\n      }\n    }, {\n      key: \"__fileDone\",\n      value: function __fileDone(file, info) {\n        var _this3 = this;\n\n        var cdnURL, fileEl, filePreview, filename;\n        fileEl = this.__fileToEl(file).removeClass('uploadcare--file_status_uploading').addClass('uploadcare--file_status_uploaded');\n        fileEl.find('.uploadcare--progressbar__value').css('width', '100%');\n\n        this.__updateFileInfo(fileEl, info);\n\n        if (info.isImage) {\n          cdnURL = \"\".concat(info.cdnUrl, \"-/quality/lightest/-/preview/108x108/\");\n\n          if (this.settings.previewUrlCallback) {\n            cdnURL = this.settings.previewUrlCallback(cdnURL, info);\n          }\n\n          filename = fileEl.find('.uploadcare--file__name').text();\n          filePreview = $('<img>').attr('src', cdnURL).attr('alt', filename).addClass('uploadcare--file__icon');\n        } else {\n          filePreview = $(\"<svg width='32' height='32'><use xlink:href='#uploadcare--icon-file'/></svg>\").attr('role', 'presentation').attr('class', 'uploadcare--icon uploadcare--file__icon');\n        }\n\n        fileEl.find('.uploadcare--file__preview').html(filePreview);\n        return fileEl.find('.uploadcare--file__description').on('click', function () {\n          return openPreviewDialog(file, _this3.settings).done(function (newFile) {\n            return _this3.dialogApi.fileColl.replace(file, newFile);\n          });\n        });\n      }\n    }, {\n      key: \"__fileFailed\",\n      value: function __fileFailed(file, error, info) {\n        var fileEl, filePreview;\n        fileEl = this.__fileToEl(file).removeClass('uploadcare--file_status_uploading').addClass('uploadcare--file_status_error');\n        fileEl.find('.uploadcare--file__error').text(locale.t(\"errors.\".concat(error)));\n        filePreview = $(\"<svg width='32' height='32'><use xlink:href='#uploadcare--icon-error'/></svg>\").attr('role', 'presentation').attr('class', 'uploadcare--icon uploadcare--file__icon');\n        return fileEl.find('.uploadcare--file__preview').html(filePreview);\n      }\n    }, {\n      key: \"__fileAdded\",\n      value: function __fileAdded(file) {\n        var fileEl;\n        fileEl = this.__createFileEl(file);\n        return fileEl.appendTo(this.fileListEl);\n      }\n    }, {\n      key: \"__fileRemoved\",\n      value: function __fileRemoved(file) {\n        this.__fileToEl(file).remove();\n\n        return $(file).removeData();\n      }\n    }, {\n      key: \"__fileReplaced\",\n      value: function __fileReplaced(oldFile, newFile) {\n        var fileEl;\n        fileEl = this.__createFileEl(newFile);\n        fileEl.insertAfter(this.__fileToEl(oldFile));\n        return this.__fileRemoved(oldFile);\n      }\n    }, {\n      key: \"__fileToEl\",\n      value: function __fileToEl(file) {\n        // File can be removed before.\n        return $(file).data('dpm-el') || $();\n      }\n    }, {\n      key: \"__createFileEl\",\n      value: function __createFileEl(file) {\n        var _this4 = this;\n\n        var fileEl;\n        fileEl = this.__fileTpl.clone().on('click', '.uploadcare--file__remove', function () {\n          return _this4.dialogApi.fileColl.remove(file);\n        });\n        $(file).data('dpm-el', fileEl);\n        return fileEl;\n      }\n    }, {\n      key: \"displayed\",\n      value: function displayed() {\n        this.container.find('.uploadcare--preview__done').focus();\n      }\n    }]);\n\n    return PreviewTabMultiple;\n  }(BasePreviewTab);\n\n  var lockDialogFocus = function lockDialogFocus(e) {\n    if (!e.shiftKey && focusableElements.last().is(e.target)) {\n      e.preventDefault();\n      return focusableElements.first().focus();\n    } else if (e.shiftKey && focusableElements.first().is(e.target)) {\n      e.preventDefault();\n      return focusableElements.last().focus();\n    }\n  };\n\n  var lockScroll = function lockScroll(el, toTop) {\n    var left, top;\n    top = el.scrollTop();\n    left = el.scrollLeft();\n\n    if (toTop) {\n      el.scrollTop(0).scrollLeft(0);\n    }\n\n    return function () {\n      return el.scrollTop(top).scrollLeft(left);\n    };\n  };\n\n  isWindowDefined() && $(window).on('keydown', function (e) {\n    if (isDialogOpened()) {\n      if (e.which === 27) {\n        // Escape\n        e.stopImmediatePropagation(); // close only topmost dialog\n\n        if (typeof currentDialogPr !== 'undefined' && currentDialogPr !== null) {\n          currentDialogPr.reject();\n        }\n      }\n\n      if (e.which === 9) {\n        // Tab\n        return lockDialogFocus(e);\n      }\n    }\n  });\n  var currentDialogPr = null;\n  var openedClass = 'uploadcare--page';\n  var originalFocusedElement = null;\n  var focusableElements = null;\n\n  var isDialogOpened = function isDialogOpened() {\n    return currentDialogPr !== null;\n  };\n\n  var closeDialog = function closeDialog() {\n    if (currentDialogPr) {\n      currentDialogPr.reject();\n      currentDialogPr = null;\n    }\n  };\n\n  var openDialog = function openDialog(files, tab, settings) {\n    var cancelLock, dialog, dialogPr;\n    closeDialog();\n    originalFocusedElement = document.activeElement;\n    dialog = $(tpl('dialog')).appendTo('body');\n    dialogPr = openPanel(dialog.find('.uploadcare--dialog__placeholder'), files, tab, settings, {\n      inModal: true\n    });\n    dialog.find('.uploadcare--panel').addClass('uploadcare--dialog__panel');\n    dialog.addClass('uploadcare--dialog_status_active');\n    dialogPr.dialogElement = dialog;\n    focusableElements = dialog.find('select, input, textarea, button, a[href]');\n    focusableElements.first().focus();\n    cancelLock = lockScroll($(window), dialog.css('position') === 'absolute');\n    $('html, body').addClass(openedClass);\n    dialog.find('.uploadcare--dialog__close').on('click', dialogPr.reject);\n    dialog.on('dblclick', function (e) {\n      var showStoppers; // handler can be called after element detached (close button)\n\n      if (!$.contains(document.documentElement, e.target)) {\n        return;\n      }\n\n      showStoppers = '.uploadcare--dialog__panel, .uploadcare--dialog__powered-by';\n\n      if ($(e.target).is(showStoppers) || $(e.target).parents(showStoppers).length) {\n        return;\n      }\n\n      return dialogPr.reject();\n    });\n    currentDialogPr = dialogPr.always(function () {\n      $('html, body').removeClass(openedClass);\n      currentDialogPr = null;\n      dialog.remove();\n      cancelLock();\n      return originalFocusedElement.focus();\n    });\n    return currentDialogPr;\n  };\n\n  var openPreviewDialog = function openPreviewDialog(file, settings) {\n    var dialog, oldDialogPr; // hide current opened dialog and open new one\n\n    oldDialogPr = currentDialogPr;\n    currentDialogPr = null;\n    settings = $.extend({}, settings, {\n      multiple: false,\n      tabs: ''\n    });\n    dialog = openDialog(file, 'preview', settings);\n\n    if (oldDialogPr != null) {\n      oldDialogPr.dialogElement.addClass('uploadcare--dialog_status_inactive');\n    }\n\n    dialog.always(function () {\n      currentDialogPr = oldDialogPr;\n\n      if (oldDialogPr != null) {\n        // still opened\n        $('html, body').addClass(openedClass);\n        return oldDialogPr.dialogElement.removeClass('uploadcare--dialog_status_inactive');\n      }\n    });\n    dialog.onTabVisibility(function (tab, shown) {\n      if (tab === 'preview' && !shown) {\n        return dialog.reject();\n      }\n    });\n    return dialog;\n  }; // files - null, or File object, or array of File objects, or FileGroup object\n  // result - File objects or FileGroup object (depends on settings.multiple)\n\n\n  var openPanel = function openPanel(placeholder, files, tab, settings) {\n    var opt = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : {\n      inModal: false\n    };\n    var filter, panel;\n\n    if ($.isPlainObject(tab)) {\n      settings = tab;\n      tab = null;\n    }\n\n    if (!files) {\n      files = [];\n    } else if (isFileGroup(files)) {\n      files = files.files();\n    } else if (!$.isArray(files)) {\n      files = [files];\n    }\n\n    settings = build(settings);\n    panel = new Panel(settings, placeholder, files, tab, opt).publicPromise();\n\n    filter = function filter(files) {\n      if (settings.multiple) {\n        return FileGroup$1(files, settings);\n      } else {\n        return files[0];\n      }\n    };\n\n    return then(panel, filter, filter).promise(panel);\n  };\n\n  var registeredTabs = {};\n\n  var registerTab = function registerTab(tabName, constructor) {\n    registeredTabs[tabName] = constructor;\n    return registeredTabs[tabName];\n  };\n\n  registerTab('file', FileTab);\n  registerTab('url', UrlTab);\n  registerTab('camera', CameraTab);\n  registerTab('facebook', RemoteTab);\n  registerTab('dropbox', RemoteTab);\n  registerTab('gdrive', RemoteTab);\n  registerTab('gphotos', RemoteTab);\n  registerTab('instagram', RemoteTab);\n  registerTab('flickr', RemoteTab);\n  registerTab('vk', RemoteTab);\n  registerTab('evernote', RemoteTab);\n  registerTab('box', RemoteTab);\n  registerTab('onedrive', RemoteTab);\n  registerTab('huddle', RemoteTab);\n  registerTab('empty-pubkey', function (tabPanel, _1, _2, settings) {\n    return tabPanel.append(emptyKeyText);\n  });\n  registerTab('preview', function (tabPanel, tabButton, dialogApi, settings, name) {\n    var tabCls;\n\n    if (!settings.previewStep && dialogApi.fileColl.length() === 0) {\n      return;\n    }\n\n    tabCls = settings.multiple ? PreviewTabMultiple : PreviewTab; // eslint-disable-next-line new-cap\n\n    return new tabCls(tabPanel, tabButton, dialogApi, settings, name);\n  });\n\n  var Panel =\n  /*#__PURE__*/\n  function () {\n    function Panel(settings1, placeholder, files, tab, opt) {\n      var _this = this;\n\n      _classCallCheck(this, Panel);\n\n      var sel;\n      this.inModal = opt.inModal || false; // (fileType, data) or ([fileObject, fileObject])\n\n      this.addFiles = this.addFiles.bind(this);\n      this.__resolve = this.__resolve.bind(this);\n      this.__reject = this.__reject.bind(this);\n      this.__updateFooter = this.__updateFooter.bind(this);\n      this.__closePanel = this.__closePanel.bind(this);\n      this.switchTab = this.switchTab.bind(this);\n      this.showTab = this.showTab.bind(this);\n      this.hideTab = this.hideTab.bind(this);\n      this.isTabVisible = this.isTabVisible.bind(this);\n      this.openMenu = this.openMenu.bind(this);\n      this.settings = settings1;\n      this.dfd = $.Deferred();\n      this.dfd.always(this.__closePanel);\n      sel = '.uploadcare--panel';\n      this.content = $(tpl('dialog__panel'));\n      this.panel = this.content.find(sel).add(this.content.filter(sel));\n      this.placeholder = $(placeholder);\n      this.placeholder.replaceWith(this.content);\n      this.panel.append($(tpl('icons')));\n\n      if (this.settings.multiple) {\n        this.panel.addClass('uploadcare--panel_multiple');\n      }\n\n      this.panel.find('.uploadcare--menu__toggle').on('click', function () {\n        return _this.panel.find('.uploadcare--menu').toggleClass('uploadcare--menu_opened');\n      }); // files collection\n\n      this.files = new CollectionOfPromises(files);\n      this.files.onRemove.add(function () {\n        if (_this.files.length() === 0) {\n          return _this.hideTab('preview');\n        }\n      });\n\n      this.__autoCrop(this.files);\n\n      this.tabs = {};\n\n      this.__prepareFooter();\n\n      this.onTabVisibility = $.Callbacks().add(function (tab, show) {\n        return _this.panel.find(\".uploadcare--menu__item_tab_\".concat(tab)).toggleClass('uploadcare--menu__item_hidden', !show);\n      });\n\n      if (this.settings.publicKey) {\n        this.__prepareTabs(tab);\n      } else {\n        this.__welcome();\n      }\n    }\n\n    _createClass(Panel, [{\n      key: \"takeFocus\",\n      value: function takeFocus() {\n        return this.inModal;\n      }\n    }, {\n      key: \"publicPromise\",\n      value: function publicPromise() {\n        if (!this.promise) {\n          this.promise = this.dfd.promise({\n            reject: this.__reject,\n            resolve: this.__resolve,\n            fileColl: this.files,\n            addFiles: this.addFiles,\n            switchTab: this.switchTab,\n            hideTab: this.hideTab,\n            showTab: this.showTab,\n            isTabVisible: this.isTabVisible,\n            openMenu: this.openMenu,\n            takeFocus: this.takeFocus.bind(this),\n            onTabVisibility: publicCallbacks(this.onTabVisibility)\n          });\n        }\n\n        return this.promise;\n      }\n    }, {\n      key: \"addFiles\",\n      value: function addFiles(files, data) {\n        var file, i, len;\n\n        if (data) {\n          // 'files' is actually file type\n          files = filesFrom(files, data, this.settings);\n        }\n\n        if (!this.settings.multiple) {\n          this.files.clear();\n          files = [files[0]];\n        }\n\n        for (i = 0, len = files.length; i < len; i++) {\n          file = files[i];\n\n          if (this.settings.multipleMaxStrict) {\n            if (this.files.length() >= this.settings.multipleMax) {\n              file.cancel();\n              continue;\n            }\n          }\n\n          this.files.add(file);\n        }\n\n        if (this.settings.previewStep) {\n          this.showTab('preview');\n\n          if (!this.settings.multiple) {\n            return this.switchTab('preview');\n          }\n        } else {\n          return this.__resolve();\n        }\n      }\n    }, {\n      key: \"__autoCrop\",\n      value: function __autoCrop(files) {\n        var _this2 = this;\n\n        var crop, i, len, ref;\n\n        if (!this.settings.crop || !this.settings.multiple) {\n          return;\n        }\n\n        ref = this.settings.crop;\n\n        for (i = 0, len = ref.length; i < len; i++) {\n          crop = ref[i]; // if even one of crop option sets allow free crop,\n          // we don't need to crop automatically\n\n          if (!crop.preferedSize) {\n            return;\n          }\n        }\n\n        return files.autoThen(function (fileInfo) {\n          var info, size; // .cdnUrlModifiers came from already cropped files\n          // .crop came from autocrop even if autocrop do not set cdnUrlModifiers\n\n          if (!fileInfo.isImage || fileInfo.cdnUrlModifiers || fileInfo.crop) {\n            return fileInfo;\n          }\n\n          info = fileInfo.originalImageInfo;\n          size = fitSize(_this2.settings.crop[0].preferedSize, [info.width, info.height], true);\n          return applyCropCoordsToInfo(fileInfo, _this2.settings.crop[0], [info.width, info.height], {\n            width: size[0],\n            height: size[1],\n            left: Math.round((info.width - size[0]) / 2),\n            top: Math.round((info.height - size[1]) / 2)\n          });\n        });\n      }\n    }, {\n      key: \"__resolve\",\n      value: function __resolve() {\n        return this.dfd.resolve(this.files.get());\n      }\n    }, {\n      key: \"__reject\",\n      value: function __reject() {\n        return this.dfd.reject(this.files.get());\n      }\n    }, {\n      key: \"__prepareTabs\",\n      value: function __prepareTabs(tab) {\n        var i, len, ref, tabName;\n        this.addTab('preview');\n        ref = this.settings.tabs;\n\n        for (i = 0, len = ref.length; i < len; i++) {\n          tabName = ref[i];\n          this.addTab(tabName);\n        }\n\n        if (this.files.length()) {\n          this.showTab('preview');\n          this.switchTab('preview');\n        } else {\n          this.hideTab('preview');\n          this.switchTab(tab || this.__firstVisibleTab());\n        }\n\n        if (this.settings.tabs.length === 0) {\n          this.panel.addClass('uploadcare--panel_menu-hidden');\n          return this.panel.find('.uploadcare--panel__menu').addClass('uploadcare--panel__menu_hidden');\n        }\n      }\n    }, {\n      key: \"__prepareFooter\",\n      value: function __prepareFooter() {\n        var _this3 = this;\n\n        var notDisabled;\n        this.footer = this.panel.find('.uploadcare--panel__footer');\n        notDisabled = ':not(:disabled)';\n        this.footer.on('click', '.uploadcare--panel__show-files' + notDisabled, function () {\n          return _this3.switchTab('preview');\n        });\n        this.footer.on('click', '.uploadcare--panel__done' + notDisabled, this.__resolve);\n\n        this.__updateFooter();\n\n        this.files.onAdd.add(this.__updateFooter);\n        return this.files.onRemove.add(this.__updateFooter);\n      }\n    }, {\n      key: \"__updateFooter\",\n      value: function __updateFooter() {\n        var footer, tooFewFiles, tooManyFiles;\n        var files = this.files.length();\n        tooManyFiles = files > this.settings.multipleMax;\n        tooFewFiles = files < this.settings.multipleMin;\n        this.footer.find('.uploadcare--panel__done').attr('disabled', tooManyFiles || tooFewFiles).attr('aria-disabled', tooManyFiles || tooFewFiles);\n        this.footer.find('.uploadcare--panel__show-files').attr('disabled', files === 0).attr('aria-disabled', files === 0);\n        footer = tooManyFiles ? locale.t('dialog.tabs.preview.multiple.tooManyFiles').replace('%max%', this.settings.multipleMax) : files && tooFewFiles ? locale.t('dialog.tabs.preview.multiple.tooFewFiles').replace('%min%', this.settings.multipleMin) : locale.t('dialog.tabs.preview.multiple.title');\n        this.footer.find('.uploadcare--panel__message').toggleClass('uploadcare--panel__message_hidden', files === 0).toggleClass('uploadcare--error', tooManyFiles || tooFewFiles).text(footer.replace('%files%', locale.t('file', files)));\n        return this.footer.find('.uploadcare--panel__file-counter').toggleClass('uploadcare--error', tooManyFiles || tooFewFiles).text(files ? \"(\".concat(files, \")\") : '');\n      }\n    }, {\n      key: \"__closePanel\",\n      value: function __closePanel() {\n        this.panel.replaceWith(this.placeholder);\n        return this.content.remove();\n      }\n    }, {\n      key: \"addTab\",\n      value: function addTab(name) {\n        var _this4 = this;\n\n        var TabCls, tabButton, tabIcon, tabPanel;\n\n        if (name in this.tabs) {\n          return;\n        }\n\n        TabCls = registeredTabs[name];\n\n        if (!TabCls) {\n          throw new Error(\"No such tab: \".concat(name));\n        }\n\n        tabPanel = $('<div>').addClass('uploadcare--tab').addClass(\"uploadcare--tab_name_\".concat(name)).insertBefore(this.footer);\n\n        if (name === 'preview') {\n          tabIcon = $('<div class=\"uploadcare--menu__icon uploadcare--panel__icon\" role=\"progressbar\" aria-valuenow=\"0\" aria-valuemin=\"0\" aria-valuemax=\"100\">');\n        } else {\n          tabIcon = $(\"<svg width='32' height='32'><use xlink:href='#uploadcare--icon-\".concat(name, \"'/></svg>\")).attr('role', 'presentation').attr('class', 'uploadcare--icon uploadcare--menu__icon');\n        }\n\n        tabButton = $('<div>', {\n          role: 'button',\n          tabindex: '0'\n        }).addClass('uploadcare--menu__item').addClass(\"uploadcare--menu__item_tab_\".concat(name)).attr('title', locale.t(\"dialog.tabs.names.\".concat(name))).append(tabIcon).appendTo(this.panel.find('.uploadcare--menu__items')).on('click', function () {\n          if (name === _this4.currentTab) {\n            return _this4.panel.find('.uploadcare--panel__menu').removeClass('uploadcare--menu_opened');\n          } else {\n            return _this4.switchTab(name);\n          }\n        });\n        this.tabs[name] = new TabCls(tabPanel, tabButton, this.publicPromise(), this.settings, name);\n        return this.tabs[name];\n      }\n    }, {\n      key: \"switchTab\",\n      value: function switchTab(tab) {\n        var className;\n\n        if (!tab || this.currentTab === tab) {\n          return;\n        }\n\n        this.currentTab = tab;\n        this.panel.find('.uploadcare--panel__menu').removeClass('uploadcare--menu_opened').attr('data-current', tab);\n        this.panel.find('.uploadcare--menu__item').removeClass('uploadcare--menu__item_current').filter(\".uploadcare--menu__item_tab_\".concat(tab)).addClass('uploadcare--menu__item_current');\n        className = 'uploadcare--tab';\n        this.panel.find(\".\".concat(className)).removeClass(\"\".concat(className, \"_current\")).filter(\".\".concat(className, \"_name_\").concat(tab)).addClass(\"\".concat(className, \"_current\"));\n\n        if (this.tabs[tab].displayed) {\n          this.tabs[tab].displayed();\n        }\n\n        return this.dfd.notify(tab);\n      }\n    }, {\n      key: \"showTab\",\n      value: function showTab(tab) {\n        return this.onTabVisibility.fire(tab, true);\n      }\n    }, {\n      key: \"hideTab\",\n      value: function hideTab(tab) {\n        this.onTabVisibility.fire(tab, false);\n\n        if (this.currentTab === tab) {\n          return this.switchTab(this.__firstVisibleTab());\n        }\n      }\n    }, {\n      key: \"isTabVisible\",\n      value: function isTabVisible(tab) {\n        return !this.panel.find(\".uploadcare--menu__item_tab_\".concat(tab)).is('.uploadcare--menu__item_hidden');\n      }\n    }, {\n      key: \"openMenu\",\n      value: function openMenu() {\n        return this.panel.find('.uploadcare--panel__menu').addClass('uploadcare--menu_opened');\n      }\n    }, {\n      key: \"__firstVisibleTab\",\n      value: function __firstVisibleTab() {\n        var i, len, ref, tab;\n        ref = this.settings.tabs;\n\n        for (i = 0, len = ref.length; i < len; i++) {\n          tab = ref[i];\n\n          if (this.isTabVisible(tab)) {\n            return tab;\n          }\n        }\n      }\n    }, {\n      key: \"__welcome\",\n      value: function __welcome() {\n        var i, len, ref, tabName;\n        this.addTab('empty-pubkey');\n        this.switchTab('empty-pubkey');\n        ref = this.settings.tabs;\n\n        for (i = 0, len = ref.length; i < len; i++) {\n          tabName = ref[i];\n\n          this.__addFakeTab(tabName);\n        }\n\n        return null;\n      }\n    }, {\n      key: \"__addFakeTab\",\n      value: function __addFakeTab(name) {\n        var tabIcon;\n        tabIcon = $(\"<svg width='32' height='32'><use xlink:href='#uploadcare--icon-\".concat(name, \"'/></svg>\")).attr('role', 'presentation').attr('class', 'uploadcare--icon uploadcare--menu__icon');\n\n        if (name === 'empty-pubkey') {\n          tabIcon.addClass('uploadcare--panel__icon');\n        }\n\n        return $('<div>').addClass('uploadcare--menu__item').addClass(\"uploadcare--menu__item_tab_\".concat(name)).attr('aria-disabled', true).attr('title', locale.t(\"dialog.tabs.names.\".concat(name))).append(tabIcon).appendTo(this.panel.find('.uploadcare--menu__items'));\n      }\n    }]);\n\n    return Panel;\n  }();\n\n  var BaseWidget =\n  /*#__PURE__*/\n  function () {\n    function BaseWidget(element, settings) {\n      var _this = this;\n\n      _classCallCheck(this, BaseWidget);\n\n      this.element = element;\n      this.settings = settings;\n      this.validators = this.settings.validators = [];\n      this.currentObject = null;\n      this.__onDialogOpen = $.Callbacks();\n      this.__onUploadComplete = $.Callbacks();\n      this.__onChange = $.Callbacks().add(function (object) {\n        return object != null ? object.promise().done(function (info) {\n          return _this.__onUploadComplete.fire(info);\n        }) : undefined;\n      });\n\n      this.__setupWidget();\n\n      this.element.on('change.uploadcare', this.reloadInfo.bind(this)); // Delay loading info to allow set custom validators on page load.\n\n      this.__hasValue = false;\n      defer(function () {\n        // Do not reload info if user call uc.Widget().value(uuid) manual.\n        if (!_this.__hasValue) {\n          return _this.reloadInfo();\n        }\n      });\n    }\n\n    _createClass(BaseWidget, [{\n      key: \"__setupWidget\",\n      value: function __setupWidget() {\n        var _this2 = this;\n\n        var path;\n        this.template = new Template(this.settings, this.element);\n        path = ['buttons.choose'];\n        path.push(this.settings.imagesOnly ? 'images' : 'files');\n        path.push(this.settings.multiple ? 'other' : 'one');\n        this.template.addButton('open', locale.t(path.join('.'))).toggleClass('needsclick', this.settings.systemDialog).on('click', function () {\n          return _this2.openDialog();\n        });\n        this.template.addButton('cancel', locale.t('buttons.cancel')).on('click', function () {\n          return _this2.__setObject(null);\n        });\n        this.template.addButton('remove', locale.t('buttons.remove')).on('click', function () {\n          return _this2.__setObject(null);\n        });\n        this.template.content.on('click', '.uploadcare--widget__file-name', function () {\n          return _this2.openDialog();\n        }); // Enable drag and drop\n\n        receiveDrop(this.template.content, this.__handleDirectSelection.bind(this));\n        return this.template.reset();\n      }\n    }, {\n      key: \"__infoToValue\",\n      value: function __infoToValue(info) {\n        if (info.cdnUrlModifiers || this.settings.pathValue) {\n          return info.cdnUrl;\n        } else {\n          return info.uuid;\n        }\n      }\n    }, {\n      key: \"__reset\",\n      value: function __reset() {\n        var object; // low-level primitive. @__setObject(null) could be better.\n\n        object = this.currentObject;\n        this.currentObject = null;\n\n        if (object != null) {\n          if (typeof object.cancel === 'function') {\n            object.cancel();\n          }\n        }\n\n        return this.template.reset();\n      }\n    }, {\n      key: \"__setObject\",\n      value: function __setObject(newFile) {\n        if (newFile === this.currentObject) {\n          return;\n        }\n\n        this.__reset();\n\n        if (newFile) {\n          this.currentObject = newFile;\n\n          this.__watchCurrentObject();\n        } else {\n          this.element.val('');\n        }\n\n        return this.__onChange.fire(this.currentObject);\n      }\n    }, {\n      key: \"__watchCurrentObject\",\n      value: function __watchCurrentObject() {\n        var _this3 = this;\n\n        var object;\n        object = this.__currentFile();\n\n        if (object) {\n          this.template.listen(object);\n          return object.done(function (info) {\n            if (object === _this3.__currentFile()) {\n              return _this3.__onUploadingDone(info);\n            }\n          }).fail(function (error) {\n            if (object === _this3.__currentFile()) {\n              return _this3.__onUploadingFailed(error);\n            }\n          });\n        }\n      }\n    }, {\n      key: \"__onUploadingDone\",\n      value: function __onUploadingDone(info) {\n        this.element.val(this.__infoToValue(info));\n        this.template.setFileInfo(info);\n        return this.template.loaded();\n      }\n    }, {\n      key: \"__onUploadingFailed\",\n      value: function __onUploadingFailed(error) {\n        this.template.reset();\n        return this.template.error(error);\n      }\n    }, {\n      key: \"__setExternalValue\",\n      value: function __setExternalValue(value) {\n        return this.__setObject(valueToFile(value, this.settings));\n      }\n    }, {\n      key: \"value\",\n      value: function value(_value) {\n        if (_value !== undefined) {\n          this.__hasValue = true;\n\n          this.__setExternalValue(_value);\n\n          return this;\n        } else {\n          return this.currentObject;\n        }\n      }\n    }, {\n      key: \"reloadInfo\",\n      value: function reloadInfo() {\n        return this.value(this.element.val());\n      }\n    }, {\n      key: \"openDialog\",\n      value: function openDialog(tab) {\n        var _this4 = this;\n\n        if (this.settings.systemDialog) {\n          return fileSelectDialog(this.template.content, this.settings, function (input) {\n            return _this4.__handleDirectSelection('object', input.files);\n          });\n        } else {\n          return this.__openDialog(tab);\n        }\n      }\n    }, {\n      key: \"__openDialog\",\n      value: function __openDialog(tab) {\n        var dialogApi;\n        dialogApi = openDialog(this.currentObject, tab, this.settings);\n\n        this.__onDialogOpen.fire(dialogApi);\n\n        return dialogApi.done(this.__setObject.bind(this));\n      }\n    }, {\n      key: \"api\",\n      value: function api() {\n        if (!this.__api) {\n          this.__api = bindAll(this, ['openDialog', 'reloadInfo', 'value', 'validators']);\n          this.__api.onChange = publicCallbacks(this.__onChange);\n          this.__api.onUploadComplete = publicCallbacks(this.__onUploadComplete);\n          this.__api.onDialogOpen = publicCallbacks(this.__onDialogOpen);\n          this.__api.inputElement = this.element.get(0);\n        }\n\n        return this.__api;\n      }\n    }]);\n\n    return BaseWidget;\n  }();\n\n  var Widget =\n  /*#__PURE__*/\n  function (_BaseWidget) {\n    _inherits(Widget, _BaseWidget);\n\n    function Widget() {\n      _classCallCheck(this, Widget);\n\n      return _possibleConstructorReturn(this, _getPrototypeOf(Widget).apply(this, arguments));\n    }\n\n    _createClass(Widget, [{\n      key: \"__currentFile\",\n      value: function __currentFile() {\n        return this.currentObject;\n      }\n    }, {\n      key: \"__handleDirectSelection\",\n      value: function __handleDirectSelection(type, data) {\n        var file = fileFrom(type, data[0], this.settings);\n\n        if (this.settings.systemDialog || !this.settings.previewStep) {\n          return this.__setObject(file);\n        } else {\n          return this.__openDialog('preview').addFiles([file]);\n        }\n      }\n    }]);\n\n    return Widget;\n  }(BaseWidget);\n\n  Widget._name = 'SingleWidget';\n\n  var MultipleWidget =\n  /*#__PURE__*/\n  function (_BaseWidget) {\n    _inherits(MultipleWidget, _BaseWidget);\n\n    function MultipleWidget() {\n      _classCallCheck(this, MultipleWidget);\n\n      return _possibleConstructorReturn(this, _getPrototypeOf(MultipleWidget).apply(this, arguments));\n    }\n\n    _createClass(MultipleWidget, [{\n      key: \"__currentFile\",\n      value: function __currentFile() {\n        var ref1;\n        return (ref1 = this.currentObject) != null ? ref1.promise() : undefined;\n      }\n    }, {\n      key: \"__setObject\",\n      value: function __setObject(group) {\n        if (!isFileGroupsEqual(this.currentObject, group)) {\n          return _get(_getPrototypeOf(MultipleWidget.prototype), \"__setObject\", this).call(this, group); // special case, when multiple widget is used with clearable\n          // and user or some external code clears the value after\n          // group loading error.\n        } else if (!group) {\n          this.__reset();\n\n          return this.element.val('');\n        }\n      }\n    }, {\n      key: \"__setExternalValue\",\n      value: function __setExternalValue(value) {\n        var _this = this;\n\n        var groupPr;\n        this.__lastGroupPr = groupPr = valueToGroup(value, this.settings);\n\n        if (value) {\n          this.template.setStatus('started');\n          this.template.statusText.text(locale.t('loadingInfo'));\n        }\n\n        return groupPr.done(function (group) {\n          if (_this.__lastGroupPr === groupPr) {\n            return _this.__setObject(group);\n          }\n        }).fail(function () {\n          if (_this.__lastGroupPr === groupPr) {\n            return _this.__onUploadingFailed('createGroup');\n          }\n        });\n      }\n    }, {\n      key: \"__handleDirectSelection\",\n      value: function __handleDirectSelection(type, data) {\n        var files = filesFrom(type, data, this.settings);\n\n        if (this.settings.systemDialog) {\n          return this.__setObject(FileGroup$1(files, this.settings));\n        } else {\n          return this.__openDialog('preview').addFiles(files);\n        }\n      }\n    }]);\n\n    return MultipleWidget;\n  }(BaseWidget);\n\n  MultipleWidget._name = 'MultipleWidget';\n\n  var dataAttr = 'uploadcareWidget';\n  var selector = '[role~=\"uploadcare-uploader\"]';\n\n  var initialize = function initialize() {\n    var container = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : ':root';\n    var el, i, len, ref, res, widgets;\n    res = [];\n    ref = $(container);\n\n    for (i = 0, len = ref.length; i < len; i++) {\n      el = ref[i];\n      widgets = _initialize(el.querySelectorAll(selector));\n      res = res.concat(widgets);\n    }\n\n    return res;\n  };\n\n  var _initialize = function _initialize(targets) {\n    var i, len, results, target, widget;\n    results = [];\n\n    for (i = 0, len = targets.length; i < len; i++) {\n      target = targets[i];\n      widget = $(target).data(dataAttr);\n\n      if (widget && widget.inputElement === target) {\n        // widget already exists\n        continue;\n      }\n\n      results.push(initializeWidget(target));\n    }\n\n    return results;\n  };\n\n  var SingleWidget = function SingleWidget(el) {\n    return initializeWidget(el, Widget);\n  };\n\n  var MultipleWidget$1 = function MultipleWidget$1(el) {\n    return initializeWidget(el, MultipleWidget);\n  };\n\n  var Widget$1 = function Widget(el) {\n    return initializeWidget(el);\n  };\n\n  var initializeWidget = function initializeWidget(input, targetClass) {\n    var inputArr = $(input);\n\n    if (inputArr.length === 0) {\n      throw new Error('No DOM elements found matching selector');\n    } else if (inputArr.length > 1) {\n      warn('There are multiple DOM elements matching selector');\n    }\n\n    input = inputArr.eq(0);\n    var s = build(input.data());\n    var Widget$1 = s.multiple ? MultipleWidget : Widget;\n\n    if (targetClass && Widget$1 !== targetClass) {\n      throw new Error(\"This element should be processed using \".concat(Widget$1._name));\n    }\n\n    var api = input.data(dataAttr);\n\n    if (!api || api.inputElement !== input[0]) {\n      cleanup(input);\n      var widget = new Widget$1(input, s);\n      api = widget.api();\n      input.data(dataAttr, api);\n      widget.template.content.data(dataAttr, api);\n    }\n\n    return api;\n  };\n\n  var cleanup = function cleanup(input) {\n    return input.off('.uploadcare').each(function () {\n      var widget, widgetElement;\n      widgetElement = $(this).next('.uploadcare--widget');\n      widget = widgetElement.data(dataAttr);\n\n      if (widget && widget.inputElement === this) {\n        return widgetElement.remove();\n      }\n    });\n  };\n\n  var start = once(function (s, isolated) {\n    // when isolated, call settings.common(s) only\n    s = common(s, isolated);\n\n    if (isolated) {\n      return;\n    }\n\n    if (s.live) {\n      setInterval(initialize, 100);\n    } // should be after settings.common(s) call\n\n\n    return initialize();\n  });\n  isWindowDefined() && $(function () {\n    if (!window.UPLOADCARE_MANUAL_START) {\n      start();\n    }\n  });\n\n  var namespace = _objectSpread2({}, _namespace, {\n    templates: {\n      JST: JST,\n      tpl: tpl\n    },\n    crop: {\n      CropWidget: CropWidget\n    },\n    dragdrop: {\n      support: support,\n      uploadDrop: uploadDrop,\n      watchDragging: watchDragging,\n      receiveDrop: receiveDrop\n    },\n    ui: {\n      progress: {\n        Circle: Circle,\n        BaseRenderer: BaseRenderer,\n        TextRenderer: TextRenderer,\n        CanvasRenderer: CanvasRenderer\n      }\n    },\n    widget: {\n      tabs: {\n        FileTab: FileTab,\n        UrlTab: UrlTab,\n        CameraTab: CameraTab,\n        RemoteTab: RemoteTab,\n        BasePreviewTab: BasePreviewTab,\n        PreviewTab: PreviewTab,\n        PreviewTabMultiple: PreviewTabMultiple\n      },\n      Template: Template,\n      BaseWidget: BaseWidget,\n      Widget: Widget,\n      MultipleWidget: MultipleWidget\n    },\n    isDialogOpened: isDialogOpened,\n    closeDialog: closeDialog,\n    openDialog: openDialog,\n    openPreviewDialog: openPreviewDialog,\n    openPanel: openPanel,\n    registerTab: registerTab,\n    initialize: initialize,\n    SingleWidget: SingleWidget,\n    MultipleWidget: MultipleWidget$1,\n    Widget: Widget$1,\n    start: start\n  });\n\n  var plugin$1 = createPlugin(namespace);\n\n  var uploadcare$1 = _objectSpread2({}, uploadcare, {\n    plugin: plugin$1,\n    start: start,\n    initialize: initialize,\n    openDialog: openDialog,\n    closeDialog: closeDialog,\n    openPanel: openPanel,\n    registerTab: registerTab,\n    Circle: Circle,\n    SingleWidget: SingleWidget,\n    MultipleWidget: MultipleWidget$1,\n    Widget: Widget$1,\n    tabsCss: tabsCss,\n    dragdrop: {\n      receiveDrop: receiveDrop,\n      support: support,\n      uploadDrop: uploadDrop\n    }\n  });\n\n  var namespace$1 = namespace;\n  var plugin$2 = createPlugin(namespace$1);\n\n  var uploadcare$2 = _objectSpread2({}, uploadcare$1, {\n    plugin: plugin$2,\n    locales: Object.keys(locale.translations)\n  });\n\n  return uploadcare$2;\n\n})));\n","/*! xlsx.js (C) 2013-present SheetJS -- http://sheetjs.com */\nvar DO_NOT_EXPORT_CODEPAGE=true;var DO_NOT_EXPORT_JSZIP=true;(function(e){if(\"object\"==typeof exports&&\"undefined\"!=typeof module&&\"undefined\"==typeof DO_NOT_EXPORT_JSZIP)module.exports=e();else if(\"function\"==typeof define&&define.amd&&\"undefined\"==typeof DO_NOT_EXPORT_JSZIP){JSZipSync=e();define([],e)}else{var r;\"undefined\"!=typeof window?r=window:\"undefined\"!=typeof global?r=global:\"undefined\"!=typeof $&&$.global?r=$.global:\"undefined\"!=typeof self&&(r=self),r.JSZipSync=e()}})(function(){var e,r,t;return function a(e,r,t){function n(s,f){if(!r[s]){if(!e[s]){var o=typeof require==\"function\"&&require;if(!f&&o)return o(s,!0);if(i)return i(s,!0);throw new Error(\"Cannot find module '\"+s+\"'\")}var l=r[s]={exports:{}};e[s][0].call(l.exports,function(r){var t=e[s][1][r];return n(t?t:r)},l,l.exports,a,e,r,t)}return r[s].exports}var i=typeof require==\"function\"&&require;for(var s=0;s<t.length;s++)n(t[s]);return n}({1:[function(e,r,t){\"use strict\";var a=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\";t.encode=function(e,r){var t=\"\";var n,i,s,f,o,l,c;var h=0;while(h<e.length){n=e.charCodeAt(h++);i=e.charCodeAt(h++);s=e.charCodeAt(h++);f=n>>2;o=(n&3)<<4|i>>4;l=(i&15)<<2|s>>6;c=s&63;if(isNaN(i)){l=c=64}else if(isNaN(s)){c=64}t=t+a.charAt(f)+a.charAt(o)+a.charAt(l)+a.charAt(c)}return t};t.decode=function(e,r){var t=\"\";var n,i,s;var f,o,l,c;var h=0;e=e.replace(/[^A-Za-z0-9\\+\\/\\=]/g,\"\");while(h<e.length){f=a.indexOf(e.charAt(h++));o=a.indexOf(e.charAt(h++));l=a.indexOf(e.charAt(h++));c=a.indexOf(e.charAt(h++));n=f<<2|o>>4;i=(o&15)<<4|l>>2;s=(l&3)<<6|c;t=t+String.fromCharCode(n);if(l!=64){t=t+String.fromCharCode(i)}if(c!=64){t=t+String.fromCharCode(s)}}return t}},{}],2:[function(e,r,t){\"use strict\";function a(){this.compressedSize=0;this.uncompressedSize=0;this.crc32=0;this.compressionMethod=null;this.compressedContent=null}a.prototype={getContent:function(){return null},getCompressedContent:function(){return null}};r.exports=a},{}],3:[function(e,r,t){\"use strict\";t.STORE={magic:\"\\0\\0\",compress:function(e){return e},uncompress:function(e){return e},compressInputType:null,uncompressInputType:null};t.DEFLATE=e(\"./flate\")},{\"./flate\":8}],4:[function(e,r,t){\"use strict\";var a=e(\"./utils\");var n=[0,1996959894,3993919788,2567524794,124634137,1886057615,3915621685,2657392035,249268274,2044508324,3772115230,2547177864,162941995,2125561021,3887607047,2428444049,498536548,1789927666,4089016648,2227061214,450548861,1843258603,4107580753,2211677639,325883990,1684777152,4251122042,2321926636,335633487,1661365465,4195302755,2366115317,997073096,1281953886,3579855332,2724688242,1006888145,1258607687,3524101629,2768942443,901097722,1119000684,3686517206,2898065728,853044451,1172266101,3705015759,2882616665,651767980,1373503546,3369554304,3218104598,565507253,1454621731,3485111705,3099436303,671266974,1594198024,3322730930,2970347812,795835527,1483230225,3244367275,3060149565,1994146192,31158534,2563907772,4023717930,1907459465,112637215,2680153253,3904427059,2013776290,251722036,2517215374,3775830040,2137656763,141376813,2439277719,3865271297,1802195444,476864866,2238001368,4066508878,1812370925,453092731,2181625025,4111451223,1706088902,314042704,2344532202,4240017532,1658658271,366619977,2362670323,4224994405,1303535960,984961486,2747007092,3569037538,1256170817,1037604311,2765210733,3554079995,1131014506,879679996,2909243462,3663771856,1141124467,855842277,2852801631,3708648649,1342533948,654459306,3188396048,3373015174,1466479909,544179635,3110523913,3462522015,1591671054,702138776,2966460450,3352799412,1504918807,783551873,3082640443,3233442989,3988292384,2596254646,62317068,1957810842,3939845945,2647816111,81470997,1943803523,3814918930,2489596804,225274430,2053790376,3826175755,2466906013,167816743,2097651377,4027552580,2265490386,503444072,1762050814,4150417245,2154129355,426522225,1852507879,4275313526,2312317920,282753626,1742555852,4189708143,2394877945,397917763,1622183637,3604390888,2714866558,953729732,1340076626,3518719985,2797360999,1068828381,1219638859,3624741850,2936675148,906185462,1090812512,3747672003,2825379669,829329135,1181335161,3412177804,3160834842,628085408,1382605366,3423369109,3138078467,570562233,1426400815,3317316542,2998733608,733239954,1555261956,3268935591,3050360625,752459403,1541320221,2607071920,3965973030,1969922972,40735498,2617837225,3943577151,1913087877,83908371,2512341634,3803740692,2075208622,213261112,2463272603,3855990285,2094854071,198958881,2262029012,4057260610,1759359992,534414190,2176718541,4139329115,1873836001,414664567,2282248934,4279200368,1711684554,285281116,2405801727,4167216745,1634467795,376229701,2685067896,3608007406,1308918612,956543938,2808555105,3495958263,1231636301,1047427035,2932959818,3654703836,1088359270,936918e3,2847714899,3736837829,1202900863,817233897,3183342108,3401237130,1404277552,615818150,3134207493,3453421203,1423857449,601450431,3009837614,3294710456,1567103746,711928724,3020668471,3272380065,1510334235,755167117];r.exports=function i(e,r){if(typeof e===\"undefined\"||!e.length){return 0}var t=a.getTypeOf(e)!==\"string\";if(typeof r==\"undefined\"){r=0}var i=0;var s=0;var f=0;r=r^-1;for(var o=0,l=e.length;o<l;o++){f=t?e[o]:e.charCodeAt(o);s=(r^f)&255;i=n[s];r=r>>>8^i}return r^-1}},{\"./utils\":21}],5:[function(e,r,t){\"use strict\";var a=e(\"./utils\");function n(e){this.data=null;this.length=0;this.index=0}n.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<e||e<0){throw new Error(\"End of data reached (data length = \"+this.length+\", asked index = \"+e+\"). Corrupted zip ?\")}},setIndex:function(e){this.checkIndex(e);this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(e){},readInt:function(e){var r=0,t;this.checkOffset(e);for(t=this.index+e-1;t>=this.index;t--){r=(r<<8)+this.byteAt(t)}this.index+=e;return r},readString:function(e){return a.transformTo(\"string\",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date((e>>25&127)+1980,(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(e&31)<<1)}};r.exports=n},{\"./utils\":21}],6:[function(e,r,t){\"use strict\";t.base64=false;t.binary=false;t.dir=false;t.createFolders=false;t.date=null;t.compression=null;t.comment=null},{}],7:[function(e,r,t){\"use strict\";var a=e(\"./utils\");t.string2binary=function(e){return a.string2binary(e)};t.string2Uint8Array=function(e){return a.transformTo(\"uint8array\",e)};t.uint8Array2String=function(e){return a.transformTo(\"string\",e)};t.string2Blob=function(e){var r=a.transformTo(\"arraybuffer\",e);return a.arrayBuffer2Blob(r)};t.arrayBuffer2Blob=function(e){return a.arrayBuffer2Blob(e)};t.transformTo=function(e,r){return a.transformTo(e,r)};t.getTypeOf=function(e){return a.getTypeOf(e)};t.checkSupport=function(e){return a.checkSupport(e)};t.MAX_VALUE_16BITS=a.MAX_VALUE_16BITS;t.MAX_VALUE_32BITS=a.MAX_VALUE_32BITS;t.pretty=function(e){return a.pretty(e)};t.findCompression=function(e){return a.findCompression(e)};t.isRegExp=function(e){return a.isRegExp(e)}},{\"./utils\":21}],8:[function(e,r,t){\"use strict\";var a=typeof Uint8Array!==\"undefined\"&&typeof Uint16Array!==\"undefined\"&&typeof Uint32Array!==\"undefined\";var n=e(\"pako\");t.uncompressInputType=a?\"uint8array\":\"array\";t.compressInputType=a?\"uint8array\":\"array\";t.magic=\"\\b\\0\";t.compress=function(e){return n.deflateRaw(e)};t.uncompress=function(e){return n.inflateRaw(e)}},{pako:24}],9:[function(e,r,t){\"use strict\";var a=e(\"./base64\");function n(e,r){if(!(this instanceof n))return new n(e,r);this.files={};this.comment=null;this.root=\"\";if(e){this.load(e,r)}this.clone=function(){var e=new n;for(var r in this){if(typeof this[r]!==\"function\"){e[r]=this[r]}}return e}}n.prototype=e(\"./object\");n.prototype.load=e(\"./load\");n.support=e(\"./support\");n.defaults=e(\"./defaults\");n.utils=e(\"./deprecatedPublicUtils\");n.base64={encode:function(e){return a.encode(e)},decode:function(e){return a.decode(e)}};n.compressions=e(\"./compressions\");r.exports=n},{\"./base64\":1,\"./compressions\":3,\"./defaults\":6,\"./deprecatedPublicUtils\":7,\"./load\":10,\"./object\":13,\"./support\":17}],10:[function(e,r,t){\"use strict\";var a=e(\"./base64\");var n=e(\"./zipEntries\");r.exports=function(e,r){var t,i,s,f;r=r||{};if(r.base64){e=a.decode(e)}i=new n(e,r);t=i.files;for(s=0;s<t.length;s++){f=t[s];this.file(f.fileName,f.decompressed,{binary:true,optimizedBinaryString:true,date:f.date,dir:f.dir,comment:f.fileComment.length?f.fileComment:null,createFolders:r.createFolders})}if(i.zipComment.length){this.comment=i.zipComment}return this}},{\"./base64\":1,\"./zipEntries\":22}],11:[function(e,r,t){(function(e){\"use strict\";var t=function(){};if(typeof e!==\"undefined\"){var a=!e.from;if(!a)try{e.from(\"foo\",\"utf8\")}catch(n){a=true}t=a?function(r,t){return t?new e(r,t):new e(r)}:e.from.bind(e);if(!e.alloc)e.alloc=function(r){return new e(r)}}r.exports=function(r,a){return typeof r==\"number\"?e.alloc(r):t(r,a)};r.exports.test=function(r){return e.isBuffer(r)}}).call(this,typeof Buffer!==\"undefined\"?Buffer:undefined)},{}],12:[function(e,r,t){\"use strict\";var a=e(\"./uint8ArrayReader\");function n(e){this.data=e;this.length=this.data.length;this.index=0}n.prototype=new a;n.prototype.readData=function(e){this.checkOffset(e);var r=this.data.slice(this.index,this.index+e);this.index+=e;return r};r.exports=n},{\"./uint8ArrayReader\":18}],13:[function(e,r,t){\"use strict\";var a=e(\"./support\");var n=e(\"./utils\");var i=e(\"./crc32\");var s=e(\"./signature\");var f=e(\"./defaults\");var o=e(\"./base64\");var l=e(\"./compressions\");var c=e(\"./compressedObject\");var h=e(\"./nodeBuffer\");var u=e(\"./utf8\");var d=e(\"./stringWriter\");var p=e(\"./uint8ArrayWriter\");var v=function(e){if(e._data instanceof c){e._data=e._data.getContent();e.options.binary=true;e.options.base64=false;if(n.getTypeOf(e._data)===\"uint8array\"){var r=e._data;e._data=new Uint8Array(r.length);if(r.length!==0){e._data.set(r,0)}}}return e._data};var g=function(e){var r=v(e),t=n.getTypeOf(r);if(t===\"string\"){if(!e.options.binary){if(a.nodebuffer){return h(r,\"utf-8\")}}return e.asBinary()}return r};var b=function(e){var r=v(this);if(r===null||typeof r===\"undefined\"){return\"\"}if(this.options.base64){r=o.decode(r)}if(e&&this.options.binary){r=T.utf8decode(r)}else{r=n.transformTo(\"string\",r)}if(!e&&!this.options.binary){r=n.transformTo(\"string\",T.utf8encode(r))}return r};var m=function(e,r,t){this.name=e;this.dir=t.dir;this.date=t.date;this.comment=t.comment;this._data=r;this.options=t;this._initialMetadata={dir:t.dir,date:t.date}};m.prototype={asText:function(){return b.call(this,true)},asBinary:function(){return b.call(this,false)},asNodeBuffer:function(){var e=g(this);return n.transformTo(\"nodebuffer\",e)},asUint8Array:function(){var e=g(this);return n.transformTo(\"uint8array\",e)},asArrayBuffer:function(){return this.asUint8Array().buffer}};var w=function(e,r){var t=\"\",a;for(a=0;a<r;a++){t+=String.fromCharCode(e&255);e=e>>>8}return t};var C=function(){var e={},r,t;for(r=0;r<arguments.length;r++){for(t in arguments[r]){if(arguments[r].hasOwnProperty(t)&&typeof e[t]===\"undefined\"){e[t]=arguments[r][t]}}}return e};var k=function(e){e=e||{};if(e.base64===true&&(e.binary===null||e.binary===undefined)){e.binary=true}e=C(e,f);e.date=e.date||new Date;if(e.compression!==null)e.compression=e.compression.toUpperCase();return e};var E=function(e,r,t){var a=n.getTypeOf(r),i;t=k(t);if(t.createFolders&&(i=S(e))){A.call(this,i,true)}if(t.dir||r===null||typeof r===\"undefined\"){t.base64=false;t.binary=false;r=null}else if(a===\"string\"){if(t.binary&&!t.base64){if(t.optimizedBinaryString!==true){r=n.string2binary(r)}}}else{t.base64=false;t.binary=true;if(!a&&!(r instanceof c)){throw new Error(\"The data of '\"+e+\"' is in an unsupported format !\")}if(a===\"arraybuffer\"){r=n.transformTo(\"uint8array\",r)}}var s=new m(e,r,t);this.files[e]=s;return s};var S=function(e){if(e.slice(-1)==\"/\"){e=e.substring(0,e.length-1)}var r=e.lastIndexOf(\"/\");return r>0?e.substring(0,r):\"\"};var A=function(e,r){if(e.slice(-1)!=\"/\"){e+=\"/\"}r=typeof r!==\"undefined\"?r:false;if(!this.files[e]){E.call(this,e,null,{dir:true,createFolders:r})}return this.files[e]};var _=function(e,r){var t=new c,a;if(e._data instanceof c){t.uncompressedSize=e._data.uncompressedSize;t.crc32=e._data.crc32;if(t.uncompressedSize===0||e.dir){r=l[\"STORE\"];t.compressedContent=\"\";t.crc32=0}else if(e._data.compressionMethod===r.magic){t.compressedContent=e._data.getCompressedContent()}else{a=e._data.getContent();t.compressedContent=r.compress(n.transformTo(r.compressInputType,a))}}else{a=g(e);if(!a||a.length===0||e.dir){r=l[\"STORE\"];a=\"\"}t.uncompressedSize=a.length;t.crc32=i(a);t.compressedContent=r.compress(n.transformTo(r.compressInputType,a))}t.compressedSize=t.compressedContent.length;t.compressionMethod=r.magic;return t};var B=function(e,r,t,a){var f=t.compressedContent,o=n.transformTo(\"string\",u.utf8encode(r.name)),l=r.comment||\"\",c=n.transformTo(\"string\",u.utf8encode(l)),h=o.length!==r.name.length,d=c.length!==l.length,p=r.options,v,g,b=\"\",m=\"\",C=\"\",k,E;if(r._initialMetadata.dir!==r.dir){k=r.dir}else{k=p.dir}if(r._initialMetadata.date!==r.date){E=r.date}else{E=p.date}v=E.getHours();v=v<<6;v=v|E.getMinutes();v=v<<5;v=v|E.getSeconds()/2;g=E.getFullYear()-1980;g=g<<4;g=g|E.getMonth()+1;g=g<<5;g=g|E.getDate();if(h){m=w(1,1)+w(i(o),4)+o;b+=\"up\"+w(m.length,2)+m}if(d){C=w(1,1)+w(this.crc32(c),4)+c;b+=\"uc\"+w(C.length,2)+C}var S=\"\";S+=\"\\n\\0\";S+=h||d?\"\\0\\b\":\"\\0\\0\";S+=t.compressionMethod;S+=w(v,2);S+=w(g,2);S+=w(t.crc32,4);S+=w(t.compressedSize,4);S+=w(t.uncompressedSize,4);S+=w(o.length,2);S+=w(b.length,2);var A=s.LOCAL_FILE_HEADER+S+o+b;var _=s.CENTRAL_FILE_HEADER+\"\u0014\\0\"+S+w(c.length,2)+\"\\0\\0\"+\"\\0\\0\"+(k===true?\"\u0010\\0\\0\\0\":\"\\0\\0\\0\\0\")+w(a,4)+o+b+c;return{fileRecord:A,dirRecord:_,compressedObject:t}};var T={load:function(e,r){throw new Error(\"Load method is not defined. Is the file jszip-load.js included ?\")},filter:function(e){var r=[],t,a,n,i;for(t in this.files){if(!this.files.hasOwnProperty(t)){continue}n=this.files[t];i=new m(n.name,n._data,C(n.options));a=t.slice(this.root.length,t.length);if(t.slice(0,this.root.length)===this.root&&e(a,i)){r.push(i)}}return r},file:function(e,r,t){if(arguments.length===1){if(n.isRegExp(e)){var a=e;return this.filter(function(e,r){return!r.dir&&a.test(e)})}else{return this.filter(function(r,t){return!t.dir&&r===e})[0]||null}}else{e=this.root+e;E.call(this,e,r,t)}return this},folder:function(e){if(!e){return this}if(n.isRegExp(e)){return this.filter(function(r,t){return t.dir&&e.test(r)})}var r=this.root+e;var t=A.call(this,r);var a=this.clone();a.root=t.name;return a},remove:function(e){e=this.root+e;var r=this.files[e];if(!r){if(e.slice(-1)!=\"/\"){e+=\"/\"}r=this.files[e]}if(r&&!r.dir){delete this.files[e]}else{var t=this.filter(function(r,t){return t.name.slice(0,e.length)===e});for(var a=0;a<t.length;a++){delete this.files[t[a].name]}}return this},generate:function(e){e=C(e||{},{base64:true,compression:\"STORE\",type:\"base64\",comment:null});n.checkSupport(e.type);var r=[],t=0,a=0,i,f,c=n.transformTo(\"string\",this.utf8encode(e.comment||this.comment||\"\"));for(var h in this.files){if(!this.files.hasOwnProperty(h)){continue}var u=this.files[h];var v=u.options.compression||e.compression.toUpperCase();var g=l[v];if(!g){throw new Error(v+\" is not a valid compression method !\")}var b=_.call(this,u,g);var m=B.call(this,h,u,b,t);t+=m.fileRecord.length+b.compressedSize;a+=m.dirRecord.length;r.push(m)}var k=\"\";k=s.CENTRAL_DIRECTORY_END+\"\\0\\0\"+\"\\0\\0\"+w(r.length,2)+w(r.length,2)+w(a,4)+w(t,4)+w(c.length,2)+c;var E=e.type.toLowerCase();if(E===\"uint8array\"||E===\"arraybuffer\"||E===\"blob\"||E===\"nodebuffer\"){i=new p(t+a+k.length)}else{i=new d(t+a+k.length)}for(f=0;f<r.length;f++){i.append(r[f].fileRecord);i.append(r[f].compressedObject.compressedContent)}for(f=0;f<r.length;f++){i.append(r[f].dirRecord)}i.append(k);var S=i.finalize();switch(e.type.toLowerCase()){case\"uint8array\":;case\"arraybuffer\":;case\"nodebuffer\":return n.transformTo(e.type.toLowerCase(),S);case\"blob\":return n.arrayBuffer2Blob(n.transformTo(\"arraybuffer\",S));case\"base64\":return e.base64?o.encode(S):S;default:return S;}},crc32:function(e,r){return i(e,r)},utf8encode:function(e){return n.transformTo(\"string\",u.utf8encode(e))},utf8decode:function(e){return u.utf8decode(e)}};r.exports=T},{\"./base64\":1,\"./compressedObject\":2,\"./compressions\":3,\"./crc32\":4,\"./defaults\":6,\"./nodeBuffer\":11,\"./signature\":14,\"./stringWriter\":16,\"./support\":17,\"./uint8ArrayWriter\":19,\"./utf8\":20,\"./utils\":21}],14:[function(e,r,t){\"use strict\";t.LOCAL_FILE_HEADER=\"PK\u0003\u0004\";t.CENTRAL_FILE_HEADER=\"PK\u0001\u0002\";t.CENTRAL_DIRECTORY_END=\"PK\u0005\u0006\";t.ZIP64_CENTRAL_DIRECTORY_LOCATOR=\"PK\u0006\u0007\";t.ZIP64_CENTRAL_DIRECTORY_END=\"PK\u0006\u0006\";t.DATA_DESCRIPTOR=\"PK\u0007\\b\"},{}],15:[function(e,r,t){\"use strict\";var a=e(\"./dataReader\");var n=e(\"./utils\");function i(e,r){this.data=e;if(!r){this.data=n.string2binary(this.data)}this.length=this.data.length;this.index=0}i.prototype=new a;i.prototype.byteAt=function(e){return this.data.charCodeAt(e)};i.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)};i.prototype.readData=function(e){this.checkOffset(e);var r=this.data.slice(this.index,this.index+e);this.index+=e;return r};r.exports=i},{\"./dataReader\":5,\"./utils\":21}],16:[function(e,r,t){\"use strict\";var a=e(\"./utils\");var n=function(){this.data=[]};n.prototype={append:function(e){e=a.transformTo(\"string\",e);this.data.push(e)},finalize:function(){return this.data.join(\"\")}};r.exports=n},{\"./utils\":21}],17:[function(e,r,t){(function(e){\"use strict\";t.base64=true;t.array=true;t.string=true;t.arraybuffer=typeof ArrayBuffer!==\"undefined\"&&typeof Uint8Array!==\"undefined\";t.nodebuffer=typeof e!==\"undefined\";t.uint8array=typeof Uint8Array!==\"undefined\";if(typeof ArrayBuffer===\"undefined\"){t.blob=false}else{var r=new ArrayBuffer(0);try{t.blob=new Blob([r],{type:\"application/zip\"}).size===0}catch(a){try{var n=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder;var i=new n;i.append(r);t.blob=i.getBlob(\"application/zip\").size===0}catch(a){t.blob=false}}}}).call(this,typeof Buffer!==\"undefined\"?Buffer:undefined)},{}],18:[function(e,r,t){\"use strict\";var a=e(\"./dataReader\");function n(e){if(e){this.data=e;this.length=this.data.length;this.index=0}}n.prototype=new a;n.prototype.byteAt=function(e){return this.data[e]};n.prototype.lastIndexOfSignature=function(e){var r=e.charCodeAt(0),t=e.charCodeAt(1),a=e.charCodeAt(2),n=e.charCodeAt(3);for(var i=this.length-4;i>=0;--i){if(this.data[i]===r&&this.data[i+1]===t&&this.data[i+2]===a&&this.data[i+3]===n){return i}}return-1};n.prototype.readData=function(e){this.checkOffset(e);if(e===0){return new Uint8Array(0)}var r=this.data.subarray(this.index,this.index+e);this.index+=e;return r};r.exports=n},{\"./dataReader\":5}],19:[function(e,r,t){\"use strict\";var a=e(\"./utils\");var n=function(e){this.data=new Uint8Array(e);this.index=0};n.prototype={append:function(e){if(e.length!==0){e=a.transformTo(\"uint8array\",e);this.data.set(e,this.index);this.index+=e.length}},finalize:function(){return this.data}};r.exports=n},{\"./utils\":21}],20:[function(e,r,t){\"use strict\";var a=e(\"./utils\");var n=e(\"./support\");var i=e(\"./nodeBuffer\");var s=new Array(256);for(var f=0;f<256;f++){s[f]=f>=252?6:f>=248?5:f>=240?4:f>=224?3:f>=192?2:1}s[254]=s[254]=1;var o=function(e){var r,t,a,i,s,f=e.length,o=0;for(i=0;i<f;i++){t=e.charCodeAt(i);if((t&64512)===55296&&i+1<f){a=e.charCodeAt(i+1);if((a&64512)===56320){t=65536+(t-55296<<10)+(a-56320);i++}}o+=t<128?1:t<2048?2:t<65536?3:4}if(n.uint8array){r=new Uint8Array(o)}else{r=new Array(o)}for(s=0,i=0;s<o;i++){t=e.charCodeAt(i);if((t&64512)===55296&&i+1<f){a=e.charCodeAt(i+1);if((a&64512)===56320){t=65536+(t-55296<<10)+(a-56320);i++}}if(t<128){r[s++]=t}else if(t<2048){r[s++]=192|t>>>6;r[s++]=128|t&63}else if(t<65536){r[s++]=224|t>>>12;r[s++]=128|t>>>6&63;r[s++]=128|t&63}else{r[s++]=240|t>>>18;r[s++]=128|t>>>12&63;r[s++]=128|t>>>6&63;r[s++]=128|t&63}}return r};var l=function(e,r){var t;r=r||e.length;if(r>e.length){r=e.length}t=r-1;while(t>=0&&(e[t]&192)===128){t--}if(t<0){return r}if(t===0){return r}return t+s[e[t]]>r?t:r};var c=function(e){var r,t,n,i,f;var o=e.length;var l=new Array(o*2);for(n=0,t=0;t<o;){i=e[t++];if(i<128){l[n++]=i;continue}f=s[i];if(f>4){l[n++]=65533;t+=f-1;continue}i&=f===2?31:f===3?15:7;while(f>1&&t<o){i=i<<6|e[t++]&63;f--}if(f>1){l[n++]=65533;continue}if(i<65536){l[n++]=i}else{i-=65536;l[n++]=55296|i>>10&1023;l[n++]=56320|i&1023}}if(l.length!==n){if(l.subarray){l=l.subarray(0,n)}else{l.length=n}}return a.applyFromCharCode(l)};t.utf8encode=function h(e){if(n.nodebuffer){return i(e,\"utf-8\")}return o(e)};t.utf8decode=function u(e){if(n.nodebuffer){return a.transformTo(\"nodebuffer\",e).toString(\"utf-8\")}e=a.transformTo(n.uint8array?\"uint8array\":\"array\",e);var r=[],t=0,i=e.length,s=65536;while(t<i){var f=l(e,Math.min(t+s,i));if(n.uint8array){r.push(c(e.subarray(t,f)))}else{r.push(c(e.slice(t,f)))}t=f}return r.join(\"\")}},{\"./nodeBuffer\":11,\"./support\":17,\"./utils\":21}],21:[function(e,r,t){\"use strict\";var a=e(\"./support\");var n=e(\"./compressions\");var i=e(\"./nodeBuffer\");t.string2binary=function(e){var r=\"\";for(var t=0;t<e.length;t++){r+=String.fromCharCode(e.charCodeAt(t)&255)}return r};t.arrayBuffer2Blob=function(e){t.checkSupport(\"blob\");try{return new Blob([e],{type:\"application/zip\"})}catch(r){try{var a=window.BlobBuilder||window.WebKitBlobBuilder||window.MozBlobBuilder||window.MSBlobBuilder;var n=new a;n.append(e);return n.getBlob(\"application/zip\")}catch(r){throw new Error(\"Bug : can't construct the Blob.\")}}};function s(e){return e}function f(e,r){for(var t=0;t<e.length;++t){r[t]=e.charCodeAt(t)&255}return r}function o(e){var r=65536;var a=[],n=e.length,s=t.getTypeOf(e),f=0,o=true;try{switch(s){case\"uint8array\":String.fromCharCode.apply(null,new Uint8Array(0));break;case\"nodebuffer\":String.fromCharCode.apply(null,i(0));break;}}catch(l){o=false}if(!o){var c=\"\";for(var h=0;h<e.length;h++){c+=String.fromCharCode(e[h])}return c}while(f<n&&r>1){try{if(s===\"array\"||s===\"nodebuffer\"){a.push(String.fromCharCode.apply(null,e.slice(f,Math.min(f+r,n))))}else{a.push(String.fromCharCode.apply(null,e.subarray(f,Math.min(f+r,n))))}f+=r}catch(l){r=Math.floor(r/2)}}return a.join(\"\")}t.applyFromCharCode=o;function l(e,r){for(var t=0;t<e.length;t++){r[t]=e[t]}return r}var c={};c[\"string\"]={string:s,array:function(e){return f(e,new Array(e.length))},arraybuffer:function(e){return c[\"string\"][\"uint8array\"](e).buffer},uint8array:function(e){return f(e,new Uint8Array(e.length))},nodebuffer:function(e){return f(e,i(e.length))}};c[\"array\"]={string:o,array:s,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return i(e)}};c[\"arraybuffer\"]={string:function(e){return o(new Uint8Array(e))},array:function(e){return l(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:s,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return i(new Uint8Array(e))}};c[\"uint8array\"]={string:o,array:function(e){return l(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:s,nodebuffer:function(e){return i(e)}};c[\"nodebuffer\"]={string:o,array:function(e){return l(e,new Array(e.length))},arraybuffer:function(e){return c[\"nodebuffer\"][\"uint8array\"](e).buffer},uint8array:function(e){return l(e,new Uint8Array(e.length))},nodebuffer:s};t.transformTo=function(e,r){if(!r){r=\"\"}if(!e){return r}t.checkSupport(e);var a=t.getTypeOf(r);var n=c[a][e](r);return n};t.getTypeOf=function(e){if(typeof e===\"string\"){return\"string\"}if(Object.prototype.toString.call(e)===\"[object Array]\"){return\"array\"}if(a.nodebuffer&&i.test(e)){return\"nodebuffer\"}if(a.uint8array&&e instanceof Uint8Array){return\"uint8array\"}if(a.arraybuffer&&e instanceof ArrayBuffer){return\"arraybuffer\"}};t.checkSupport=function(e){var r=a[e.toLowerCase()];if(!r){throw new Error(e+\" is not supported by this browser\")}};t.MAX_VALUE_16BITS=65535;t.MAX_VALUE_32BITS=-1;t.pretty=function(e){var r=\"\",t,a;for(a=0;a<(e||\"\").length;a++){t=e.charCodeAt(a);r+=\"\\\\x\"+(t<16?\"0\":\"\")+t.toString(16).toUpperCase()}return r};t.findCompression=function(e){for(var r in n){if(!n.hasOwnProperty(r)){continue}if(n[r].magic===e){return n[r]}}return null};t.isRegExp=function(e){return Object.prototype.toString.call(e)===\"[object RegExp]\"}},{\"./compressions\":3,\"./nodeBuffer\":11,\"./support\":17}],22:[function(e,r,t){\"use strict\";var a=e(\"./stringReader\");var n=e(\"./nodeBufferReader\");var i=e(\"./uint8ArrayReader\");var s=e(\"./utils\");var f=e(\"./signature\");var o=e(\"./zipEntry\");var l=e(\"./support\");var c=e(\"./object\");function h(e,r){this.files=[];this.loadOptions=r;if(e){this.load(e)}}h.prototype={checkSignature:function(e){var r=this.reader.readString(4);if(r!==e){throw new Error(\"Corrupted zip or bug : unexpected signature \"+\"(\"+s.pretty(r)+\", expected \"+s.pretty(e)+\")\")}},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2);this.diskWithCentralDirStart=this.reader.readInt(2);this.centralDirRecordsOnThisDisk=this.reader.readInt(2);this.centralDirRecords=this.reader.readInt(2);this.centralDirSize=this.reader.readInt(4);this.centralDirOffset=this.reader.readInt(4);this.zipCommentLength=this.reader.readInt(2);this.zipComment=this.reader.readString(this.zipCommentLength);this.zipComment=c.utf8decode(this.zipComment)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8);this.versionMadeBy=this.reader.readString(2);this.versionNeeded=this.reader.readInt(2);this.diskNumber=this.reader.readInt(4);this.diskWithCentralDirStart=this.reader.readInt(4);this.centralDirRecordsOnThisDisk=this.reader.readInt(8);this.centralDirRecords=this.reader.readInt(8);this.centralDirSize=this.reader.readInt(8);this.centralDirOffset=this.reader.readInt(8);this.zip64ExtensibleData={};var e=this.zip64EndOfCentralSize-44,r=0,t,a,n;while(r<e){t=this.reader.readInt(2);a=this.reader.readInt(4);n=this.reader.readString(a);this.zip64ExtensibleData[t]={id:t,length:a,value:n}}},readBlockZip64EndOfCentralLocator:function(){this.diskWithZip64CentralDirStart=this.reader.readInt(4);this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8);this.disksCount=this.reader.readInt(4);if(this.disksCount>1){throw new Error(\"Multi-volumes zip are not supported\")}},readLocalFiles:function(){var e,r;for(e=0;e<this.files.length;e++){r=this.files[e];this.reader.setIndex(r.localHeaderOffset);this.checkSignature(f.LOCAL_FILE_HEADER);r.readLocalPart(this.reader);r.handleUTF8()}},readCentralDir:function(){var e;this.reader.setIndex(this.centralDirOffset);while(this.reader.readString(4)===f.CENTRAL_FILE_HEADER){e=new o({zip64:this.zip64},this.loadOptions);e.readCentralPart(this.reader);this.files.push(e)}},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(f.CENTRAL_DIRECTORY_END);if(e===-1){throw new Error(\"Corrupted zip : can't find end of central directory\")}this.reader.setIndex(e);this.checkSignature(f.CENTRAL_DIRECTORY_END);this.readBlockEndOfCentral();if(this.diskNumber===s.MAX_VALUE_16BITS||this.diskWithCentralDirStart===s.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===s.MAX_VALUE_16BITS||this.centralDirRecords===s.MAX_VALUE_16BITS||this.centralDirSize===s.MAX_VALUE_32BITS||this.centralDirOffset===s.MAX_VALUE_32BITS){this.zip64=true;e=this.reader.lastIndexOfSignature(f.ZIP64_CENTRAL_DIRECTORY_LOCATOR);if(e===-1){throw new Error(\"Corrupted zip : can't find the ZIP64 end of central directory locator\")}this.reader.setIndex(e);this.checkSignature(f.ZIP64_CENTRAL_DIRECTORY_LOCATOR);this.readBlockZip64EndOfCentralLocator();this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir);this.checkSignature(f.ZIP64_CENTRAL_DIRECTORY_END);this.readBlockZip64EndOfCentral()}},prepareReader:function(e){var r=s.getTypeOf(e);if(r===\"string\"&&!l.uint8array){this.reader=new a(e,this.loadOptions.optimizedBinaryString)}else if(r===\"nodebuffer\"){this.reader=new n(e)}else{this.reader=new i(s.transformTo(\"uint8array\",e))}},load:function(e){this.prepareReader(e);this.readEndOfCentral();this.readCentralDir();this.readLocalFiles()}};r.exports=h},{\"./nodeBufferReader\":12,\"./object\":13,\"./signature\":14,\"./stringReader\":15,\"./support\":17,\"./uint8ArrayReader\":18,\"./utils\":21,\"./zipEntry\":23}],23:[function(e,r,t){\"use strict\";var a=e(\"./stringReader\");var n=e(\"./utils\");var i=e(\"./compressedObject\");var s=e(\"./object\");function f(e,r){this.options=e;this.loadOptions=r}f.prototype={isEncrypted:function(){return(this.bitFlag&1)===1},useUTF8:function(){return(this.bitFlag&2048)===2048},prepareCompressedContent:function(e,r,t){return function(){var a=e.index;e.setIndex(r);var n=e.readData(t);e.setIndex(a);return n}},prepareContent:function(e,r,t,a,i){return function(){var e=n.transformTo(a.uncompressInputType,this.getCompressedContent());var r=a.uncompress(e);if(r.length!==i){throw new Error(\"Bug : uncompressed data size mismatch\")}return r}},readLocalPart:function(e){var r,t;e.skip(22);this.fileNameLength=e.readInt(2);t=e.readInt(2);this.fileName=e.readString(this.fileNameLength);e.skip(t);if(this.compressedSize==-1||this.uncompressedSize==-1){throw new Error(\"Bug or corrupted zip : didn't get enough informations from the central directory \"+\"(compressedSize == -1 || uncompressedSize == -1)\")}r=n.findCompression(this.compressionMethod);if(r===null){throw new Error(\"Corrupted zip : compression \"+n.pretty(this.compressionMethod)+\" unknown (inner file : \"+this.fileName+\")\")}this.decompressed=new i;this.decompressed.compressedSize=this.compressedSize;this.decompressed.uncompressedSize=this.uncompressedSize;this.decompressed.crc32=this.crc32;this.decompressed.compressionMethod=this.compressionMethod;this.decompressed.getCompressedContent=this.prepareCompressedContent(e,e.index,this.compressedSize,r);this.decompressed.getContent=this.prepareContent(e,e.index,this.compressedSize,r,this.uncompressedSize);if(this.loadOptions.checkCRC32){this.decompressed=n.transformTo(\"string\",this.decompressed.getContent());if(s.crc32(this.decompressed)!==this.crc32){throw new Error(\"Corrupted zip : CRC32 mismatch\")}}},readCentralPart:function(e){this.versionMadeBy=e.readString(2);this.versionNeeded=e.readInt(2);this.bitFlag=e.readInt(2);this.compressionMethod=e.readString(2);this.date=e.readDate();this.crc32=e.readInt(4);this.compressedSize=e.readInt(4);this.uncompressedSize=e.readInt(4);this.fileNameLength=e.readInt(2);this.extraFieldsLength=e.readInt(2);this.fileCommentLength=e.readInt(2);this.diskNumberStart=e.readInt(2);this.internalFileAttributes=e.readInt(2);this.externalFileAttributes=e.readInt(4);this.localHeaderOffset=e.readInt(4);if(this.isEncrypted()){throw new Error(\"Encrypted zip are not supported\")}this.fileName=e.readString(this.fileNameLength);this.readExtraFields(e);this.parseZIP64ExtraField(e);this.fileComment=e.readString(this.fileCommentLength);this.dir=this.externalFileAttributes&16?true:false},parseZIP64ExtraField:function(e){if(!this.extraFields[1]){return}var r=new a(this.extraFields[1].value);if(this.uncompressedSize===n.MAX_VALUE_32BITS){this.uncompressedSize=r.readInt(8)}if(this.compressedSize===n.MAX_VALUE_32BITS){this.compressedSize=r.readInt(8)}if(this.localHeaderOffset===n.MAX_VALUE_32BITS){this.localHeaderOffset=r.readInt(8)}if(this.diskNumberStart===n.MAX_VALUE_32BITS){this.diskNumberStart=r.readInt(4)}},readExtraFields:function(e){var r=e.index,t,a,n;this.extraFields=this.extraFields||{};while(e.index<r+this.extraFieldsLength){t=e.readInt(2);a=e.readInt(2);n=e.readString(a);this.extraFields[t]={id:t,length:a,value:n}}},handleUTF8:function(){if(this.useUTF8()){this.fileName=s.utf8decode(this.fileName);this.fileComment=s.utf8decode(this.fileComment)}else{var e=this.findExtraFieldUnicodePath();if(e!==null){this.fileName=e}var r=this.findExtraFieldUnicodeComment();if(r!==null){this.fileComment=r}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var r=new a(e.value);if(r.readInt(1)!==1){return null}if(s.crc32(this.fileName)!==r.readInt(4)){\nreturn null}return s.utf8decode(r.readString(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var r=new a(e.value);if(r.readInt(1)!==1){return null}if(s.crc32(this.fileComment)!==r.readInt(4)){return null}return s.utf8decode(r.readString(e.length-5))}return null}};r.exports=f},{\"./compressedObject\":2,\"./object\":13,\"./stringReader\":15,\"./utils\":21}],24:[function(e,r,t){\"use strict\";var a=e(\"./lib/utils/common\").assign;var n=e(\"./lib/deflate\");var i=e(\"./lib/inflate\");var s=e(\"./lib/zlib/constants\");var f={};a(f,n,i,s);r.exports=f},{\"./lib/deflate\":25,\"./lib/inflate\":26,\"./lib/utils/common\":27,\"./lib/zlib/constants\":30}],25:[function(e,r,t){\"use strict\";var a=e(\"./zlib/deflate.js\");var n=e(\"./utils/common\");var i=e(\"./utils/strings\");var s=e(\"./zlib/messages\");var f=e(\"./zlib/zstream\");var o=0;var l=4;var c=0;var h=1;var u=-1;var d=0;var p=8;var v=function(e){this.options=n.assign({level:u,method:p,chunkSize:16384,windowBits:15,memLevel:8,strategy:d,to:\"\"},e||{});var r=this.options;if(r.raw&&r.windowBits>0){r.windowBits=-r.windowBits}else if(r.gzip&&r.windowBits>0&&r.windowBits<16){r.windowBits+=16}this.err=0;this.msg=\"\";this.ended=false;this.chunks=[];this.strm=new f;this.strm.avail_out=0;var t=a.deflateInit2(this.strm,r.level,r.method,r.windowBits,r.memLevel,r.strategy);if(t!==c){throw new Error(s[t])}if(r.header){a.deflateSetHeader(this.strm,r.header)}};v.prototype.push=function(e,r){var t=this.strm;var s=this.options.chunkSize;var f,u;if(this.ended){return false}u=r===~~r?r:r===true?l:o;if(typeof e===\"string\"){t.input=i.string2buf(e)}else{t.input=e}t.next_in=0;t.avail_in=t.input.length;do{if(t.avail_out===0){t.output=new n.Buf8(s);t.next_out=0;t.avail_out=s}f=a.deflate(t,u);if(f!==h&&f!==c){this.onEnd(f);this.ended=true;return false}if(t.avail_out===0||t.avail_in===0&&u===l){if(this.options.to===\"string\"){this.onData(i.buf2binstring(n.shrinkBuf(t.output,t.next_out)))}else{this.onData(n.shrinkBuf(t.output,t.next_out))}}}while((t.avail_in>0||t.avail_out===0)&&f!==h);if(u===l){f=a.deflateEnd(this.strm);this.onEnd(f);this.ended=true;return f===c}return true};v.prototype.onData=function(e){this.chunks.push(e)};v.prototype.onEnd=function(e){if(e===c){if(this.options.to===\"string\"){this.result=this.chunks.join(\"\")}else{this.result=n.flattenChunks(this.chunks)}}this.chunks=[];this.err=e;this.msg=this.strm.msg};function g(e,r){var t=new v(r);t.push(e,true);if(t.err){throw t.msg}return t.result}function b(e,r){r=r||{};r.raw=true;return g(e,r)}function m(e,r){r=r||{};r.gzip=true;return g(e,r)}t.Deflate=v;t.deflate=g;t.deflateRaw=b;t.gzip=m},{\"./utils/common\":27,\"./utils/strings\":28,\"./zlib/deflate.js\":32,\"./zlib/messages\":37,\"./zlib/zstream\":39}],26:[function(e,r,t){\"use strict\";var a=e(\"./zlib/inflate.js\");var n=e(\"./utils/common\");var i=e(\"./utils/strings\");var s=e(\"./zlib/constants\");var f=e(\"./zlib/messages\");var o=e(\"./zlib/zstream\");var l=e(\"./zlib/gzheader\");var c=function(e){this.options=n.assign({chunkSize:16384,windowBits:0,to:\"\"},e||{});var r=this.options;if(r.raw&&r.windowBits>=0&&r.windowBits<16){r.windowBits=-r.windowBits;if(r.windowBits===0){r.windowBits=-15}}if(r.windowBits>=0&&r.windowBits<16&&!(e&&e.windowBits)){r.windowBits+=32}if(r.windowBits>15&&r.windowBits<48){if((r.windowBits&15)===0){r.windowBits|=15}}this.err=0;this.msg=\"\";this.ended=false;this.chunks=[];this.strm=new o;this.strm.avail_out=0;var t=a.inflateInit2(this.strm,r.windowBits);if(t!==s.Z_OK){throw new Error(f[t])}this.header=new l;a.inflateGetHeader(this.strm,this.header)};c.prototype.push=function(e,r){var t=this.strm;var f=this.options.chunkSize;var o,l;var c,h,u;if(this.ended){return false}l=r===~~r?r:r===true?s.Z_FINISH:s.Z_NO_FLUSH;if(typeof e===\"string\"){t.input=i.binstring2buf(e)}else{t.input=e}t.next_in=0;t.avail_in=t.input.length;do{if(t.avail_out===0){t.output=new n.Buf8(f);t.next_out=0;t.avail_out=f}o=a.inflate(t,s.Z_NO_FLUSH);if(o!==s.Z_STREAM_END&&o!==s.Z_OK){this.onEnd(o);this.ended=true;return false}if(t.next_out){if(t.avail_out===0||o===s.Z_STREAM_END||t.avail_in===0&&l===s.Z_FINISH){if(this.options.to===\"string\"){c=i.utf8border(t.output,t.next_out);h=t.next_out-c;u=i.buf2string(t.output,c);t.next_out=h;t.avail_out=f-h;if(h){n.arraySet(t.output,t.output,c,h,0)}this.onData(u)}else{this.onData(n.shrinkBuf(t.output,t.next_out))}}}}while(t.avail_in>0&&o!==s.Z_STREAM_END);if(o===s.Z_STREAM_END){l=s.Z_FINISH}if(l===s.Z_FINISH){o=a.inflateEnd(this.strm);this.onEnd(o);this.ended=true;return o===s.Z_OK}return true};c.prototype.onData=function(e){this.chunks.push(e)};c.prototype.onEnd=function(e){if(e===s.Z_OK){if(this.options.to===\"string\"){this.result=this.chunks.join(\"\")}else{this.result=n.flattenChunks(this.chunks)}}this.chunks=[];this.err=e;this.msg=this.strm.msg};function h(e,r){var t=new c(r);t.push(e,true);if(t.err){throw t.msg}return t.result}function u(e,r){r=r||{};r.raw=true;return h(e,r)}t.Inflate=c;t.inflate=h;t.inflateRaw=u;t.ungzip=h},{\"./utils/common\":27,\"./utils/strings\":28,\"./zlib/constants\":30,\"./zlib/gzheader\":33,\"./zlib/inflate.js\":35,\"./zlib/messages\":37,\"./zlib/zstream\":39}],27:[function(e,r,t){\"use strict\";var a=typeof Uint8Array!==\"undefined\"&&typeof Uint16Array!==\"undefined\"&&typeof Int32Array!==\"undefined\";t.assign=function(e){var r=Array.prototype.slice.call(arguments,1);while(r.length){var t=r.shift();if(!t){continue}if(typeof t!==\"object\"){throw new TypeError(t+\"must be non-object\")}for(var a in t){if(t.hasOwnProperty(a)){e[a]=t[a]}}}return e};t.shrinkBuf=function(e,r){if(e.length===r){return e}if(e.subarray){return e.subarray(0,r)}e.length=r;return e};var n={arraySet:function(e,r,t,a,n){if(r.subarray&&e.subarray){e.set(r.subarray(t,t+a),n);return}for(var i=0;i<a;i++){e[n+i]=r[t+i]}},flattenChunks:function(e){var r,t,a,n,i,s;a=0;for(r=0,t=e.length;r<t;r++){a+=e[r].length}s=new Uint8Array(a);n=0;for(r=0,t=e.length;r<t;r++){i=e[r];s.set(i,n);n+=i.length}return s}};var i={arraySet:function(e,r,t,a,n){for(var i=0;i<a;i++){e[n+i]=r[t+i]}},flattenChunks:function(e){return[].concat.apply([],e)}};t.setTyped=function(e){if(e){t.Buf8=Uint8Array;t.Buf16=Uint16Array;t.Buf32=Int32Array;t.assign(t,n)}else{t.Buf8=Array;t.Buf16=Array;t.Buf32=Array;t.assign(t,i)}};t.setTyped(a)},{}],28:[function(e,r,t){\"use strict\";var a=e(\"./common\");var n=true;var i=true;try{String.fromCharCode.apply(null,[0])}catch(s){n=false}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(s){i=false}var f=new a.Buf8(256);for(var o=0;o<256;o++){f[o]=o>=252?6:o>=248?5:o>=240?4:o>=224?3:o>=192?2:1}f[254]=f[254]=1;t.string2buf=function(e){var r,t,n,i,s,f=e.length,o=0;for(i=0;i<f;i++){t=e.charCodeAt(i);if((t&64512)===55296&&i+1<f){n=e.charCodeAt(i+1);if((n&64512)===56320){t=65536+(t-55296<<10)+(n-56320);i++}}o+=t<128?1:t<2048?2:t<65536?3:4}r=new a.Buf8(o);for(s=0,i=0;s<o;i++){t=e.charCodeAt(i);if((t&64512)===55296&&i+1<f){n=e.charCodeAt(i+1);if((n&64512)===56320){t=65536+(t-55296<<10)+(n-56320);i++}}if(t<128){r[s++]=t}else if(t<2048){r[s++]=192|t>>>6;r[s++]=128|t&63}else if(t<65536){r[s++]=224|t>>>12;r[s++]=128|t>>>6&63;r[s++]=128|t&63}else{r[s++]=240|t>>>18;r[s++]=128|t>>>12&63;r[s++]=128|t>>>6&63;r[s++]=128|t&63}}return r};function l(e,r){if(r<65537){if(e.subarray&&i||!e.subarray&&n){return String.fromCharCode.apply(null,a.shrinkBuf(e,r))}}var t=\"\";for(var s=0;s<r;s++){t+=String.fromCharCode(e[s])}return t}t.buf2binstring=function(e){return l(e,e.length)};t.binstring2buf=function(e){var r=new a.Buf8(e.length);for(var t=0,n=r.length;t<n;t++){r[t]=e.charCodeAt(t)}return r};t.buf2string=function(e,r){var t,a,n,i;var s=r||e.length;var o=new Array(s*2);for(a=0,t=0;t<s;){n=e[t++];if(n<128){o[a++]=n;continue}i=f[n];if(i>4){o[a++]=65533;t+=i-1;continue}n&=i===2?31:i===3?15:7;while(i>1&&t<s){n=n<<6|e[t++]&63;i--}if(i>1){o[a++]=65533;continue}if(n<65536){o[a++]=n}else{n-=65536;o[a++]=55296|n>>10&1023;o[a++]=56320|n&1023}}return l(o,a)};t.utf8border=function(e,r){var t;r=r||e.length;if(r>e.length){r=e.length}t=r-1;while(t>=0&&(e[t]&192)===128){t--}if(t<0){return r}if(t===0){return r}return t+f[e[t]]>r?t:r}},{\"./common\":27}],29:[function(e,r,t){\"use strict\";function a(e,r,t,a){var n=e&65535|0,i=e>>>16&65535|0,s=0;while(t!==0){s=t>2e3?2e3:t;t-=s;do{n=n+r[a++]|0;i=i+n|0}while(--s);n%=65521;i%=65521}return n|i<<16|0}r.exports=a},{}],30:[function(e,r,t){r.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},{}],31:[function(e,r,t){\"use strict\";function a(){var e,r=[];for(var t=0;t<256;t++){e=t;for(var a=0;a<8;a++){e=e&1?3988292384^e>>>1:e>>>1}r[t]=e}return r}var n=a();function i(e,r,t,a){var i=n,s=a+t;e=e^-1;for(var f=a;f<s;f++){e=e>>>8^i[(e^r[f])&255]}return e^-1}r.exports=i},{}],32:[function(e,r,t){\"use strict\";var a=e(\"../utils/common\");var n=e(\"./trees\");var i=e(\"./adler32\");var s=e(\"./crc32\");var f=e(\"./messages\");var o=0;var l=1;var c=3;var h=4;var u=5;var d=0;var p=1;var v=-2;var g=-3;var b=-5;var m=-1;var w=1;var C=2;var k=3;var E=4;var S=0;var A=2;var _=8;var B=9;var T=15;var y=8;var x=29;var I=256;var R=I+1+x;var O=30;var D=19;var F=2*R+1;var P=15;var N=3;var L=258;var M=L+N+1;var U=32;var H=42;var W=69;var z=73;var V=91;var X=103;var G=113;var j=666;var K=1;var Y=2;var $=3;var Z=4;var Q=3;function J(e,r){e.msg=f[r];return r}function q(e){return(e<<1)-(e>4?9:0)}function ee(e){var r=e.length;while(--r>=0){e[r]=0}}function re(e){var r=e.state;var t=r.pending;if(t>e.avail_out){t=e.avail_out}if(t===0){return}a.arraySet(e.output,r.pending_buf,r.pending_out,t,e.next_out);e.next_out+=t;r.pending_out+=t;e.total_out+=t;e.avail_out-=t;r.pending-=t;if(r.pending===0){r.pending_out=0}}function te(e,r){n._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,r);e.block_start=e.strstart;re(e.strm)}function ae(e,r){e.pending_buf[e.pending++]=r}function ne(e,r){e.pending_buf[e.pending++]=r>>>8&255;e.pending_buf[e.pending++]=r&255}function ie(e,r,t,n){var f=e.avail_in;if(f>n){f=n}if(f===0){return 0}e.avail_in-=f;a.arraySet(r,e.input,e.next_in,f,t);if(e.state.wrap===1){e.adler=i(e.adler,r,f,t)}else if(e.state.wrap===2){e.adler=s(e.adler,r,f,t)}e.next_in+=f;e.total_in+=f;return f}function se(e,r){var t=e.max_chain_length;var a=e.strstart;var n;var i;var s=e.prev_length;var f=e.nice_match;var o=e.strstart>e.w_size-M?e.strstart-(e.w_size-M):0;var l=e.window;var c=e.w_mask;var h=e.prev;var u=e.strstart+L;var d=l[a+s-1];var p=l[a+s];if(e.prev_length>=e.good_match){t>>=2}if(f>e.lookahead){f=e.lookahead}do{n=r;if(l[n+s]!==p||l[n+s-1]!==d||l[n]!==l[a]||l[++n]!==l[a+1]){continue}a+=2;n++;do{}while(l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&l[++a]===l[++n]&&a<u);i=L-(u-a);a=u-L;if(i>s){e.match_start=r;s=i;if(i>=f){break}d=l[a+s-1];p=l[a+s]}}while((r=h[r&c])>o&&--t!==0);if(s<=e.lookahead){return s}return e.lookahead}function fe(e){var r=e.w_size;var t,n,i,s,f;do{s=e.window_size-e.lookahead-e.strstart;if(e.strstart>=r+(r-M)){a.arraySet(e.window,e.window,r,r,0);e.match_start-=r;e.strstart-=r;e.block_start-=r;n=e.hash_size;t=n;do{i=e.head[--t];e.head[t]=i>=r?i-r:0}while(--n);n=r;t=n;do{i=e.prev[--t];e.prev[t]=i>=r?i-r:0}while(--n);s+=r}if(e.strm.avail_in===0){break}n=ie(e.strm,e.window,e.strstart+e.lookahead,s);e.lookahead+=n;if(e.lookahead+e.insert>=N){f=e.strstart-e.insert;e.ins_h=e.window[f];e.ins_h=(e.ins_h<<e.hash_shift^e.window[f+1])&e.hash_mask;while(e.insert){e.ins_h=(e.ins_h<<e.hash_shift^e.window[f+N-1])&e.hash_mask;e.prev[f&e.w_mask]=e.head[e.ins_h];e.head[e.ins_h]=f;f++;e.insert--;if(e.lookahead+e.insert<N){break}}}}while(e.lookahead<M&&e.strm.avail_in!==0)}function oe(e,r){var t=65535;if(t>e.pending_buf_size-5){t=e.pending_buf_size-5}for(;;){if(e.lookahead<=1){fe(e);if(e.lookahead===0&&r===o){return K}if(e.lookahead===0){break}}e.strstart+=e.lookahead;e.lookahead=0;var a=e.block_start+t;if(e.strstart===0||e.strstart>=a){e.lookahead=e.strstart-a;e.strstart=a;te(e,false);if(e.strm.avail_out===0){return K}}if(e.strstart-e.block_start>=e.w_size-M){te(e,false);if(e.strm.avail_out===0){return K}}}e.insert=0;if(r===h){te(e,true);if(e.strm.avail_out===0){return $}return Z}if(e.strstart>e.block_start){te(e,false);if(e.strm.avail_out===0){return K}}return K}function le(e,r){var t;var a;for(;;){if(e.lookahead<M){fe(e);if(e.lookahead<M&&r===o){return K}if(e.lookahead===0){break}}t=0;if(e.lookahead>=N){e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+N-1])&e.hash_mask;t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h];e.head[e.ins_h]=e.strstart}if(t!==0&&e.strstart-t<=e.w_size-M){e.match_length=se(e,t)}if(e.match_length>=N){a=n._tr_tally(e,e.strstart-e.match_start,e.match_length-N);e.lookahead-=e.match_length;if(e.match_length<=e.max_lazy_match&&e.lookahead>=N){e.match_length--;do{e.strstart++;e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+N-1])&e.hash_mask;t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h];e.head[e.ins_h]=e.strstart}while(--e.match_length!==0);e.strstart++}else{e.strstart+=e.match_length;e.match_length=0;e.ins_h=e.window[e.strstart];e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask}}else{a=n._tr_tally(e,0,e.window[e.strstart]);e.lookahead--;e.strstart++}if(a){te(e,false);if(e.strm.avail_out===0){return K}}}e.insert=e.strstart<N-1?e.strstart:N-1;if(r===h){te(e,true);if(e.strm.avail_out===0){return $}return Z}if(e.last_lit){te(e,false);if(e.strm.avail_out===0){return K}}return Y}function ce(e,r){var t;var a;var i;for(;;){if(e.lookahead<M){fe(e);if(e.lookahead<M&&r===o){return K}if(e.lookahead===0){break}}t=0;if(e.lookahead>=N){e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+N-1])&e.hash_mask;t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h];e.head[e.ins_h]=e.strstart}e.prev_length=e.match_length;e.prev_match=e.match_start;e.match_length=N-1;if(t!==0&&e.prev_length<e.max_lazy_match&&e.strstart-t<=e.w_size-M){e.match_length=se(e,t);if(e.match_length<=5&&(e.strategy===w||e.match_length===N&&e.strstart-e.match_start>4096)){e.match_length=N-1}}if(e.prev_length>=N&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-N;a=n._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-N);e.lookahead-=e.prev_length-1;e.prev_length-=2;do{if(++e.strstart<=i){e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+N-1])&e.hash_mask;t=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h];e.head[e.ins_h]=e.strstart}}while(--e.prev_length!==0);e.match_available=0;e.match_length=N-1;e.strstart++;if(a){te(e,false);if(e.strm.avail_out===0){return K}}}else if(e.match_available){a=n._tr_tally(e,0,e.window[e.strstart-1]);if(a){te(e,false)}e.strstart++;e.lookahead--;if(e.strm.avail_out===0){return K}}else{e.match_available=1;e.strstart++;e.lookahead--}}if(e.match_available){a=n._tr_tally(e,0,e.window[e.strstart-1]);e.match_available=0}e.insert=e.strstart<N-1?e.strstart:N-1;if(r===h){te(e,true);if(e.strm.avail_out===0){return $}return Z}if(e.last_lit){te(e,false);if(e.strm.avail_out===0){return K}}return Y}function he(e,r){var t;var a;var i,s;var f=e.window;for(;;){if(e.lookahead<=L){fe(e);if(e.lookahead<=L&&r===o){return K}if(e.lookahead===0){break}}e.match_length=0;if(e.lookahead>=N&&e.strstart>0){i=e.strstart-1;a=f[i];if(a===f[++i]&&a===f[++i]&&a===f[++i]){s=e.strstart+L;do{}while(a===f[++i]&&a===f[++i]&&a===f[++i]&&a===f[++i]&&a===f[++i]&&a===f[++i]&&a===f[++i]&&a===f[++i]&&i<s);e.match_length=L-(s-i);if(e.match_length>e.lookahead){e.match_length=e.lookahead}}}if(e.match_length>=N){t=n._tr_tally(e,1,e.match_length-N);e.lookahead-=e.match_length;e.strstart+=e.match_length;e.match_length=0}else{t=n._tr_tally(e,0,e.window[e.strstart]);e.lookahead--;e.strstart++}if(t){te(e,false);if(e.strm.avail_out===0){return K}}}e.insert=0;if(r===h){te(e,true);if(e.strm.avail_out===0){return $}return Z}if(e.last_lit){te(e,false);if(e.strm.avail_out===0){return K}}return Y}function ue(e,r){var t;for(;;){if(e.lookahead===0){fe(e);if(e.lookahead===0){if(r===o){return K}break}}e.match_length=0;t=n._tr_tally(e,0,e.window[e.strstart]);e.lookahead--;e.strstart++;if(t){te(e,false);if(e.strm.avail_out===0){return K}}}e.insert=0;if(r===h){te(e,true);if(e.strm.avail_out===0){return $}return Z}if(e.last_lit){te(e,false);if(e.strm.avail_out===0){return K}}return Y}var de=function(e,r,t,a,n){this.good_length=e;this.max_lazy=r;this.nice_length=t;this.max_chain=a;this.func=n};var pe;pe=[new de(0,0,0,0,oe),new de(4,4,8,4,le),new de(4,5,16,8,le),new de(4,6,32,32,le),new de(4,4,16,16,ce),new de(8,16,32,32,ce),new de(8,16,128,128,ce),new de(8,32,128,256,ce),new de(32,128,258,1024,ce),new de(32,258,258,4096,ce)];function ve(e){e.window_size=2*e.w_size;ee(e.head);e.max_lazy_match=pe[e.level].max_lazy;e.good_match=pe[e.level].good_length;e.nice_match=pe[e.level].nice_length;e.max_chain_length=pe[e.level].max_chain;e.strstart=0;e.block_start=0;e.lookahead=0;e.insert=0;e.match_length=e.prev_length=N-1;e.match_available=0;e.ins_h=0}function ge(){this.strm=null;this.status=0;this.pending_buf=null;this.pending_buf_size=0;this.pending_out=0;this.pending=0;this.wrap=0;this.gzhead=null;this.gzindex=0;this.method=_;this.last_flush=-1;this.w_size=0;this.w_bits=0;this.w_mask=0;this.window=null;this.window_size=0;this.prev=null;this.head=null;this.ins_h=0;this.hash_size=0;this.hash_bits=0;this.hash_mask=0;this.hash_shift=0;this.block_start=0;this.match_length=0;this.prev_match=0;this.match_available=0;this.strstart=0;this.match_start=0;this.lookahead=0;this.prev_length=0;this.max_chain_length=0;this.max_lazy_match=0;this.level=0;this.strategy=0;this.good_match=0;this.nice_match=0;this.dyn_ltree=new a.Buf16(F*2);this.dyn_dtree=new a.Buf16((2*O+1)*2);this.bl_tree=new a.Buf16((2*D+1)*2);ee(this.dyn_ltree);ee(this.dyn_dtree);ee(this.bl_tree);this.l_desc=null;this.d_desc=null;this.bl_desc=null;this.bl_count=new a.Buf16(P+1);this.heap=new a.Buf16(2*R+1);ee(this.heap);this.heap_len=0;this.heap_max=0;this.depth=new a.Buf16(2*R+1);ee(this.depth);this.l_buf=0;this.lit_bufsize=0;this.last_lit=0;this.d_buf=0;this.opt_len=0;this.static_len=0;this.matches=0;this.insert=0;this.bi_buf=0;this.bi_valid=0}function be(e){var r;if(!e||!e.state){return J(e,v)}e.total_in=e.total_out=0;e.data_type=A;r=e.state;r.pending=0;r.pending_out=0;if(r.wrap<0){r.wrap=-r.wrap}r.status=r.wrap?H:G;e.adler=r.wrap===2?0:1;r.last_flush=o;n._tr_init(r);return d}function me(e){var r=be(e);if(r===d){ve(e.state)}return r}function we(e,r){if(!e||!e.state){return v}if(e.state.wrap!==2){return v}e.state.gzhead=r;return d}function Ce(e,r,t,n,i,s){if(!e){return v}var f=1;if(r===m){r=6}if(n<0){f=0;n=-n}else if(n>15){f=2;n-=16}if(i<1||i>B||t!==_||n<8||n>15||r<0||r>9||s<0||s>E){return J(e,v)}if(n===8){n=9}var o=new ge;e.state=o;o.strm=e;o.wrap=f;o.gzhead=null;o.w_bits=n;o.w_size=1<<o.w_bits;o.w_mask=o.w_size-1;o.hash_bits=i+7;o.hash_size=1<<o.hash_bits;o.hash_mask=o.hash_size-1;o.hash_shift=~~((o.hash_bits+N-1)/N);o.window=new a.Buf8(o.w_size*2);o.head=new a.Buf16(o.hash_size);o.prev=new a.Buf16(o.w_size);o.lit_bufsize=1<<i+6;o.pending_buf_size=o.lit_bufsize*4;o.pending_buf=new a.Buf8(o.pending_buf_size);o.d_buf=o.lit_bufsize>>1;o.l_buf=(1+2)*o.lit_bufsize;o.level=r;o.strategy=s;o.method=t;return me(e)}function ke(e,r){return Ce(e,r,_,T,y,S)}function Ee(e,r){var t,a;var i,f;if(!e||!e.state||r>u||r<0){return e?J(e,v):v}a=e.state;if(!e.output||!e.input&&e.avail_in!==0||a.status===j&&r!==h){return J(e,e.avail_out===0?b:v)}a.strm=e;t=a.last_flush;a.last_flush=r;if(a.status===H){if(a.wrap===2){e.adler=0;ae(a,31);ae(a,139);ae(a,8);if(!a.gzhead){ae(a,0);ae(a,0);ae(a,0);ae(a,0);ae(a,0);ae(a,a.level===9?2:a.strategy>=C||a.level<2?4:0);ae(a,Q);a.status=G}else{ae(a,(a.gzhead.text?1:0)+(a.gzhead.hcrc?2:0)+(!a.gzhead.extra?0:4)+(!a.gzhead.name?0:8)+(!a.gzhead.comment?0:16));ae(a,a.gzhead.time&255);ae(a,a.gzhead.time>>8&255);ae(a,a.gzhead.time>>16&255);ae(a,a.gzhead.time>>24&255);ae(a,a.level===9?2:a.strategy>=C||a.level<2?4:0);ae(a,a.gzhead.os&255);if(a.gzhead.extra&&a.gzhead.extra.length){ae(a,a.gzhead.extra.length&255);ae(a,a.gzhead.extra.length>>8&255)}if(a.gzhead.hcrc){e.adler=s(e.adler,a.pending_buf,a.pending,0)}a.gzindex=0;a.status=W}}else{var g=_+(a.w_bits-8<<4)<<8;var m=-1;if(a.strategy>=C||a.level<2){m=0}else if(a.level<6){m=1}else if(a.level===6){m=2}else{m=3}g|=m<<6;if(a.strstart!==0){g|=U}g+=31-g%31;a.status=G;ne(a,g);if(a.strstart!==0){ne(a,e.adler>>>16);ne(a,e.adler&65535)}e.adler=1}}if(a.status===W){if(a.gzhead.extra){i=a.pending;while(a.gzindex<(a.gzhead.extra.length&65535)){if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i){e.adler=s(e.adler,a.pending_buf,a.pending-i,i)}re(e);i=a.pending;if(a.pending===a.pending_buf_size){break}}ae(a,a.gzhead.extra[a.gzindex]&255);a.gzindex++}if(a.gzhead.hcrc&&a.pending>i){e.adler=s(e.adler,a.pending_buf,a.pending-i,i)}if(a.gzindex===a.gzhead.extra.length){a.gzindex=0;a.status=z}}else{a.status=z}}if(a.status===z){if(a.gzhead.name){i=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i){e.adler=s(e.adler,a.pending_buf,a.pending-i,i)}re(e);i=a.pending;if(a.pending===a.pending_buf_size){f=1;break}}if(a.gzindex<a.gzhead.name.length){f=a.gzhead.name.charCodeAt(a.gzindex++)&255}else{f=0}ae(a,f)}while(f!==0);if(a.gzhead.hcrc&&a.pending>i){e.adler=s(e.adler,a.pending_buf,a.pending-i,i)}if(f===0){a.gzindex=0;a.status=V}}else{a.status=V}}if(a.status===V){if(a.gzhead.comment){i=a.pending;do{if(a.pending===a.pending_buf_size){if(a.gzhead.hcrc&&a.pending>i){e.adler=s(e.adler,a.pending_buf,a.pending-i,i)}re(e);i=a.pending;if(a.pending===a.pending_buf_size){f=1;break}}if(a.gzindex<a.gzhead.comment.length){f=a.gzhead.comment.charCodeAt(a.gzindex++)&255}else{f=0}ae(a,f)}while(f!==0);if(a.gzhead.hcrc&&a.pending>i){e.adler=s(e.adler,a.pending_buf,a.pending-i,i)}if(f===0){a.status=X}}else{a.status=X}}if(a.status===X){if(a.gzhead.hcrc){if(a.pending+2>a.pending_buf_size){re(e)}if(a.pending+2<=a.pending_buf_size){ae(a,e.adler&255);ae(a,e.adler>>8&255);e.adler=0;a.status=G}}else{a.status=G}}if(a.pending!==0){re(e);if(e.avail_out===0){a.last_flush=-1;return d}}else if(e.avail_in===0&&q(r)<=q(t)&&r!==h){return J(e,b)}if(a.status===j&&e.avail_in!==0){return J(e,b)}if(e.avail_in!==0||a.lookahead!==0||r!==o&&a.status!==j){var w=a.strategy===C?ue(a,r):a.strategy===k?he(a,r):pe[a.level].func(a,r);if(w===$||w===Z){a.status=j}if(w===K||w===$){if(e.avail_out===0){a.last_flush=-1}return d}if(w===Y){if(r===l){n._tr_align(a)}else if(r!==u){n._tr_stored_block(a,0,0,false);if(r===c){ee(a.head);if(a.lookahead===0){a.strstart=0;a.block_start=0;a.insert=0}}}re(e);if(e.avail_out===0){a.last_flush=-1;return d}}}if(r!==h){return d}if(a.wrap<=0){return p}if(a.wrap===2){ae(a,e.adler&255);ae(a,e.adler>>8&255);ae(a,e.adler>>16&255);ae(a,e.adler>>24&255);ae(a,e.total_in&255);ae(a,e.total_in>>8&255);ae(a,e.total_in>>16&255);ae(a,e.total_in>>24&255)}else{ne(a,e.adler>>>16);ne(a,e.adler&65535)}re(e);if(a.wrap>0){a.wrap=-a.wrap}return a.pending!==0?d:p}function Se(e){var r;if(!e||!e.state){return v}r=e.state.status;if(r!==H&&r!==W&&r!==z&&r!==V&&r!==X&&r!==G&&r!==j){return J(e,v)}e.state=null;return r===G?J(e,g):d}t.deflateInit=ke;t.deflateInit2=Ce;t.deflateReset=me;t.deflateResetKeep=be;t.deflateSetHeader=we;t.deflate=Ee;t.deflateEnd=Se;t.deflateInfo=\"pako deflate (from Nodeca project)\"},{\"../utils/common\":27,\"./adler32\":29,\"./crc32\":31,\"./messages\":37,\"./trees\":38}],33:[function(e,r,t){\"use strict\";function a(){this.text=0;this.time=0;this.xflags=0;this.os=0;this.extra=null;this.extra_len=0;this.name=\"\";this.comment=\"\";this.hcrc=0;this.done=false}r.exports=a},{}],34:[function(e,r,t){\"use strict\";var a=30;var n=12;r.exports=function i(e,r){var t;var i;var s;var f;var o;var l;var c;var h;var u;var d;var p;var v;var g;var b;var m;var w;var C;var k;var E;var S;var A;var _;var B;var T,y;t=e.state;i=e.next_in;T=e.input;s=i+(e.avail_in-5);f=e.next_out;y=e.output;o=f-(r-e.avail_out);l=f+(e.avail_out-257);c=t.dmax;h=t.wsize;u=t.whave;d=t.wnext;p=t.window;v=t.hold;g=t.bits;b=t.lencode;m=t.distcode;w=(1<<t.lenbits)-1;C=(1<<t.distbits)-1;e:do{if(g<15){v+=T[i++]<<g;g+=8;v+=T[i++]<<g;g+=8}k=b[v&w];r:for(;;){E=k>>>24;v>>>=E;g-=E;E=k>>>16&255;if(E===0){y[f++]=k&65535}else if(E&16){S=k&65535;E&=15;if(E){if(g<E){v+=T[i++]<<g;g+=8}S+=v&(1<<E)-1;v>>>=E;g-=E}if(g<15){v+=T[i++]<<g;g+=8;v+=T[i++]<<g;g+=8}k=m[v&C];t:for(;;){E=k>>>24;v>>>=E;g-=E;E=k>>>16&255;if(E&16){A=k&65535;E&=15;if(g<E){v+=T[i++]<<g;g+=8;if(g<E){v+=T[i++]<<g;g+=8}}A+=v&(1<<E)-1;if(A>c){e.msg=\"invalid distance too far back\";t.mode=a;break e}v>>>=E;g-=E;E=f-o;if(A>E){E=A-E;if(E>u){if(t.sane){e.msg=\"invalid distance too far back\";t.mode=a;break e}}_=0;B=p;if(d===0){_+=h-E;if(E<S){S-=E;do{y[f++]=p[_++]}while(--E);_=f-A;B=y}}else if(d<E){_+=h+d-E;E-=d;if(E<S){S-=E;do{y[f++]=p[_++]}while(--E);_=0;if(d<S){E=d;S-=E;do{y[f++]=p[_++]}while(--E);_=f-A;B=y}}}else{_+=d-E;if(E<S){S-=E;do{y[f++]=p[_++]}while(--E);_=f-A;B=y}}while(S>2){y[f++]=B[_++];y[f++]=B[_++];y[f++]=B[_++];S-=3}if(S){y[f++]=B[_++];if(S>1){y[f++]=B[_++]}}}else{_=f-A;do{y[f++]=y[_++];y[f++]=y[_++];y[f++]=y[_++];S-=3}while(S>2);if(S){y[f++]=y[_++];if(S>1){y[f++]=y[_++]}}}}else if((E&64)===0){k=m[(k&65535)+(v&(1<<E)-1)];continue t}else{e.msg=\"invalid distance code\";t.mode=a;break e}break}}else if((E&64)===0){k=b[(k&65535)+(v&(1<<E)-1)];continue r}else if(E&32){t.mode=n;break e}else{e.msg=\"invalid literal/length code\";t.mode=a;break e}break}}while(i<s&&f<l);S=g>>3;i-=S;g-=S<<3;v&=(1<<g)-1;e.next_in=i;e.next_out=f;e.avail_in=i<s?5+(s-i):5-(i-s);e.avail_out=f<l?257+(l-f):257-(f-l);t.hold=v;t.bits=g;return}},{}],35:[function(e,r,t){\"use strict\";var a=e(\"../utils/common\");var n=e(\"./adler32\");var i=e(\"./crc32\");var s=e(\"./inffast\");var f=e(\"./inftrees\");var o=0;var l=1;var c=2;var h=4;var u=5;var d=6;var p=0;var v=1;var g=2;var b=-2;var m=-3;var w=-4;var C=-5;var k=8;var E=1;var S=2;var A=3;var _=4;var B=5;var T=6;var y=7;var x=8;var I=9;var R=10;var O=11;var D=12;var F=13;var P=14;var N=15;var L=16;var M=17;var U=18;var H=19;var W=20;var z=21;var V=22;var X=23;var G=24;var j=25;var K=26;var Y=27;var $=28;var Z=29;var Q=30;var J=31;var q=32;var ee=852;var re=592;var te=15;var ae=te;function ne(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function ie(){this.mode=0;this.last=false;this.wrap=0;this.havedict=false;this.flags=0;this.dmax=0;this.check=0;this.total=0;this.head=null;this.wbits=0;this.wsize=0;this.whave=0;this.wnext=0;this.window=null;this.hold=0;this.bits=0;this.length=0;this.offset=0;this.extra=0;this.lencode=null;this.distcode=null;this.lenbits=0;this.distbits=0;this.ncode=0;this.nlen=0;this.ndist=0;this.have=0;this.next=null;this.lens=new a.Buf16(320);this.work=new a.Buf16(288);this.lendyn=null;this.distdyn=null;this.sane=0;this.back=0;this.was=0}function se(e){var r;if(!e||!e.state){return b}r=e.state;e.total_in=e.total_out=r.total=0;e.msg=\"\";if(r.wrap){e.adler=r.wrap&1}r.mode=E;r.last=0;r.havedict=0;r.dmax=32768;r.head=null;r.hold=0;r.bits=0;r.lencode=r.lendyn=new a.Buf32(ee);r.distcode=r.distdyn=new a.Buf32(re);r.sane=1;r.back=-1;return p}function fe(e){var r;if(!e||!e.state){return b}r=e.state;r.wsize=0;r.whave=0;r.wnext=0;return se(e)}function oe(e,r){var t;var a;if(!e||!e.state){return b}a=e.state;if(r<0){t=0;r=-r}else{t=(r>>4)+1;if(r<48){r&=15}}if(r&&(r<8||r>15)){return b}if(a.window!==null&&a.wbits!==r){a.window=null}a.wrap=t;a.wbits=r;return fe(e)}function le(e,r){var t;var a;if(!e){return b}a=new ie;e.state=a;a.window=null;t=oe(e,r);if(t!==p){e.state=null}return t}function ce(e){return le(e,ae)}var he=true;var ue,de;function pe(e){if(he){var r;ue=new a.Buf32(512);de=new a.Buf32(32);r=0;while(r<144){e.lens[r++]=8}while(r<256){e.lens[r++]=9}while(r<280){e.lens[r++]=7}while(r<288){e.lens[r++]=8}f(l,e.lens,0,288,ue,0,e.work,{bits:9});r=0;while(r<32){e.lens[r++]=5}f(c,e.lens,0,32,de,0,e.work,{bits:5});he=false}e.lencode=ue;e.lenbits=9;e.distcode=de;e.distbits=5}function ve(e,r,t,n){var i;var s=e.state;if(s.window===null){s.wsize=1<<s.wbits;s.wnext=0;s.whave=0;s.window=new a.Buf8(s.wsize)}if(n>=s.wsize){a.arraySet(s.window,r,t-s.wsize,s.wsize,0);s.wnext=0;s.whave=s.wsize}else{i=s.wsize-s.wnext;if(i>n){i=n}a.arraySet(s.window,r,t-n,i,s.wnext);n-=i;if(n){a.arraySet(s.window,r,t-n,n,0);s.wnext=n;s.whave=s.wsize}else{s.wnext+=i;if(s.wnext===s.wsize){s.wnext=0}if(s.whave<s.wsize){s.whave+=i}}}return 0}function ge(e,r){var t;var ee,re;var te;var ae;var ie,se;var fe;var oe;var le,ce;var he;var ue;var de;var ge=0;var be,me,we;var Ce,ke,Ee;var Se;var Ae;var _e=new a.Buf8(4);var Be;var Te;var ye=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&e.avail_in!==0){return b}t=e.state;if(t.mode===D){t.mode=F}ae=e.next_out;re=e.output;se=e.avail_out;te=e.next_in;ee=e.input;ie=e.avail_in;fe=t.hold;oe=t.bits;le=ie;ce=se;Ae=p;e:for(;;){switch(t.mode){case E:if(t.wrap===0){t.mode=F;break}while(oe<16){if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}if(t.wrap&2&&fe===35615){t.check=0;_e[0]=fe&255;_e[1]=fe>>>8&255;t.check=i(t.check,_e,2,0);fe=0;oe=0;t.mode=S;break}t.flags=0;if(t.head){t.head.done=false}if(!(t.wrap&1)||(((fe&255)<<8)+(fe>>8))%31){e.msg=\"incorrect header check\";t.mode=Q;break}if((fe&15)!==k){e.msg=\"unknown compression method\";t.mode=Q;break}fe>>>=4;oe-=4;Se=(fe&15)+8;if(t.wbits===0){t.wbits=Se}else if(Se>t.wbits){e.msg=\"invalid window size\";t.mode=Q;break}t.dmax=1<<Se;e.adler=t.check=1;t.mode=fe&512?R:D;fe=0;oe=0;break;case S:while(oe<16){if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}t.flags=fe;if((t.flags&255)!==k){e.msg=\"unknown compression method\";t.mode=Q;break}if(t.flags&57344){e.msg=\"unknown header flags set\";t.mode=Q;break}if(t.head){t.head.text=fe>>8&1}if(t.flags&512){_e[0]=fe&255;_e[1]=fe>>>8&255;t.check=i(t.check,_e,2,0)}fe=0;oe=0;t.mode=A;case A:while(oe<32){if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}if(t.head){t.head.time=fe}if(t.flags&512){_e[0]=fe&255;_e[1]=fe>>>8&255;_e[2]=fe>>>16&255;_e[3]=fe>>>24&255;t.check=i(t.check,_e,4,0)}fe=0;oe=0;t.mode=_;case _:while(oe<16){if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}if(t.head){t.head.xflags=fe&255;t.head.os=fe>>8}if(t.flags&512){_e[0]=fe&255;_e[1]=fe>>>8&255;t.check=i(t.check,_e,2,0)}fe=0;oe=0;t.mode=B;case B:if(t.flags&1024){while(oe<16){if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}t.length=fe;if(t.head){t.head.extra_len=fe}if(t.flags&512){_e[0]=fe&255;_e[1]=fe>>>8&255;t.check=i(t.check,_e,2,0)}fe=0;oe=0}else if(t.head){t.head.extra=null}t.mode=T;case T:if(t.flags&1024){he=t.length;if(he>ie){he=ie}if(he){if(t.head){Se=t.head.extra_len-t.length;if(!t.head.extra){t.head.extra=new Array(t.head.extra_len)}a.arraySet(t.head.extra,ee,te,he,Se)}if(t.flags&512){t.check=i(t.check,ee,he,te)}ie-=he;te+=he;t.length-=he}if(t.length){break e}}t.length=0;t.mode=y;case y:if(t.flags&2048){if(ie===0){break e}he=0;do{Se=ee[te+he++];if(t.head&&Se&&t.length<65536){t.head.name+=String.fromCharCode(Se)}}while(Se&&he<ie);if(t.flags&512){t.check=i(t.check,ee,he,te)}ie-=he;te+=he;if(Se){break e}}else if(t.head){t.head.name=null}t.length=0;t.mode=x;case x:if(t.flags&4096){if(ie===0){break e}he=0;do{Se=ee[te+he++];if(t.head&&Se&&t.length<65536){t.head.comment+=String.fromCharCode(Se)}}while(Se&&he<ie);if(t.flags&512){t.check=i(t.check,ee,he,te)}ie-=he;te+=he;if(Se){break e}}else if(t.head){t.head.comment=null}t.mode=I;case I:if(t.flags&512){while(oe<16){if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}if(fe!==(t.check&65535)){e.msg=\"header crc mismatch\";t.mode=Q;break}fe=0;oe=0}if(t.head){t.head.hcrc=t.flags>>9&1;t.head.done=true}e.adler=t.check=0;t.mode=D;break;case R:while(oe<32){if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}e.adler=t.check=ne(fe);fe=0;oe=0;t.mode=O;case O:if(t.havedict===0){e.next_out=ae;e.avail_out=se;e.next_in=te;e.avail_in=ie;t.hold=fe;t.bits=oe;return g}e.adler=t.check=1;t.mode=D;case D:if(r===u||r===d){break e};case F:if(t.last){fe>>>=oe&7;\noe-=oe&7;t.mode=Y;break}while(oe<3){if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}t.last=fe&1;fe>>>=1;oe-=1;switch(fe&3){case 0:t.mode=P;break;case 1:pe(t);t.mode=W;if(r===d){fe>>>=2;oe-=2;break e}break;case 2:t.mode=M;break;case 3:e.msg=\"invalid block type\";t.mode=Q;}fe>>>=2;oe-=2;break;case P:fe>>>=oe&7;oe-=oe&7;while(oe<32){if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}if((fe&65535)!==(fe>>>16^65535)){e.msg=\"invalid stored block lengths\";t.mode=Q;break}t.length=fe&65535;fe=0;oe=0;t.mode=N;if(r===d){break e};case N:t.mode=L;case L:he=t.length;if(he){if(he>ie){he=ie}if(he>se){he=se}if(he===0){break e}a.arraySet(re,ee,te,he,ae);ie-=he;te+=he;se-=he;ae+=he;t.length-=he;break}t.mode=D;break;case M:while(oe<14){if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}t.nlen=(fe&31)+257;fe>>>=5;oe-=5;t.ndist=(fe&31)+1;fe>>>=5;oe-=5;t.ncode=(fe&15)+4;fe>>>=4;oe-=4;if(t.nlen>286||t.ndist>30){e.msg=\"too many length or distance symbols\";t.mode=Q;break}t.have=0;t.mode=U;case U:while(t.have<t.ncode){while(oe<3){if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}t.lens[ye[t.have++]]=fe&7;fe>>>=3;oe-=3}while(t.have<19){t.lens[ye[t.have++]]=0}t.lencode=t.lendyn;t.lenbits=7;Be={bits:t.lenbits};Ae=f(o,t.lens,0,19,t.lencode,0,t.work,Be);t.lenbits=Be.bits;if(Ae){e.msg=\"invalid code lengths set\";t.mode=Q;break}t.have=0;t.mode=H;case H:while(t.have<t.nlen+t.ndist){for(;;){ge=t.lencode[fe&(1<<t.lenbits)-1];be=ge>>>24;me=ge>>>16&255;we=ge&65535;if(be<=oe){break}if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}if(we<16){fe>>>=be;oe-=be;t.lens[t.have++]=we}else{if(we===16){Te=be+2;while(oe<Te){if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}fe>>>=be;oe-=be;if(t.have===0){e.msg=\"invalid bit length repeat\";t.mode=Q;break}Se=t.lens[t.have-1];he=3+(fe&3);fe>>>=2;oe-=2}else if(we===17){Te=be+3;while(oe<Te){if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}fe>>>=be;oe-=be;Se=0;he=3+(fe&7);fe>>>=3;oe-=3}else{Te=be+7;while(oe<Te){if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}fe>>>=be;oe-=be;Se=0;he=11+(fe&127);fe>>>=7;oe-=7}if(t.have+he>t.nlen+t.ndist){e.msg=\"invalid bit length repeat\";t.mode=Q;break}while(he--){t.lens[t.have++]=Se}}}if(t.mode===Q){break}if(t.lens[256]===0){e.msg=\"invalid code -- missing end-of-block\";t.mode=Q;break}t.lenbits=9;Be={bits:t.lenbits};Ae=f(l,t.lens,0,t.nlen,t.lencode,0,t.work,Be);t.lenbits=Be.bits;if(Ae){e.msg=\"invalid literal/lengths set\";t.mode=Q;break}t.distbits=6;t.distcode=t.distdyn;Be={bits:t.distbits};Ae=f(c,t.lens,t.nlen,t.ndist,t.distcode,0,t.work,Be);t.distbits=Be.bits;if(Ae){e.msg=\"invalid distances set\";t.mode=Q;break}t.mode=W;if(r===d){break e};case W:t.mode=z;case z:if(ie>=6&&se>=258){e.next_out=ae;e.avail_out=se;e.next_in=te;e.avail_in=ie;t.hold=fe;t.bits=oe;s(e,ce);ae=e.next_out;re=e.output;se=e.avail_out;te=e.next_in;ee=e.input;ie=e.avail_in;fe=t.hold;oe=t.bits;if(t.mode===D){t.back=-1}break}t.back=0;for(;;){ge=t.lencode[fe&(1<<t.lenbits)-1];be=ge>>>24;me=ge>>>16&255;we=ge&65535;if(be<=oe){break}if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}if(me&&(me&240)===0){Ce=be;ke=me;Ee=we;for(;;){ge=t.lencode[Ee+((fe&(1<<Ce+ke)-1)>>Ce)];be=ge>>>24;me=ge>>>16&255;we=ge&65535;if(Ce+be<=oe){break}if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}fe>>>=Ce;oe-=Ce;t.back+=Ce}fe>>>=be;oe-=be;t.back+=be;t.length=we;if(me===0){t.mode=K;break}if(me&32){t.back=-1;t.mode=D;break}if(me&64){e.msg=\"invalid literal/length code\";t.mode=Q;break}t.extra=me&15;t.mode=V;case V:if(t.extra){Te=t.extra;while(oe<Te){if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}t.length+=fe&(1<<t.extra)-1;fe>>>=t.extra;oe-=t.extra;t.back+=t.extra}t.was=t.length;t.mode=X;case X:for(;;){ge=t.distcode[fe&(1<<t.distbits)-1];be=ge>>>24;me=ge>>>16&255;we=ge&65535;if(be<=oe){break}if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}if((me&240)===0){Ce=be;ke=me;Ee=we;for(;;){ge=t.distcode[Ee+((fe&(1<<Ce+ke)-1)>>Ce)];be=ge>>>24;me=ge>>>16&255;we=ge&65535;if(Ce+be<=oe){break}if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}fe>>>=Ce;oe-=Ce;t.back+=Ce}fe>>>=be;oe-=be;t.back+=be;if(me&64){e.msg=\"invalid distance code\";t.mode=Q;break}t.offset=we;t.extra=me&15;t.mode=G;case G:if(t.extra){Te=t.extra;while(oe<Te){if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}t.offset+=fe&(1<<t.extra)-1;fe>>>=t.extra;oe-=t.extra;t.back+=t.extra}if(t.offset>t.dmax){e.msg=\"invalid distance too far back\";t.mode=Q;break}t.mode=j;case j:if(se===0){break e}he=ce-se;if(t.offset>he){he=t.offset-he;if(he>t.whave){if(t.sane){e.msg=\"invalid distance too far back\";t.mode=Q;break}}if(he>t.wnext){he-=t.wnext;ue=t.wsize-he}else{ue=t.wnext-he}if(he>t.length){he=t.length}de=t.window}else{de=re;ue=ae-t.offset;he=t.length}if(he>se){he=se}se-=he;t.length-=he;do{re[ae++]=de[ue++]}while(--he);if(t.length===0){t.mode=z}break;case K:if(se===0){break e}re[ae++]=t.length;se--;t.mode=z;break;case Y:if(t.wrap){while(oe<32){if(ie===0){break e}ie--;fe|=ee[te++]<<oe;oe+=8}ce-=se;e.total_out+=ce;t.total+=ce;if(ce){e.adler=t.check=t.flags?i(t.check,re,ce,ae-ce):n(t.check,re,ce,ae-ce)}ce=se;if((t.flags?fe:ne(fe))!==t.check){e.msg=\"incorrect data check\";t.mode=Q;break}fe=0;oe=0}t.mode=$;case $:if(t.wrap&&t.flags){while(oe<32){if(ie===0){break e}ie--;fe+=ee[te++]<<oe;oe+=8}if(fe!==(t.total&4294967295)){e.msg=\"incorrect length check\";t.mode=Q;break}fe=0;oe=0}t.mode=Z;case Z:Ae=v;break e;case Q:Ae=m;break e;case J:return w;case q:;default:return b;}}e.next_out=ae;e.avail_out=se;e.next_in=te;e.avail_in=ie;t.hold=fe;t.bits=oe;if(t.wsize||ce!==e.avail_out&&t.mode<Q&&(t.mode<Y||r!==h)){if(ve(e,e.output,e.next_out,ce-e.avail_out)){t.mode=J;return w}}le-=e.avail_in;ce-=e.avail_out;e.total_in+=le;e.total_out+=ce;t.total+=ce;if(t.wrap&&ce){e.adler=t.check=t.flags?i(t.check,re,ce,e.next_out-ce):n(t.check,re,ce,e.next_out-ce)}e.data_type=t.bits+(t.last?64:0)+(t.mode===D?128:0)+(t.mode===W||t.mode===N?256:0);if((le===0&&ce===0||r===h)&&Ae===p){Ae=C}return Ae}function be(e){if(!e||!e.state){return b}var r=e.state;if(r.window){r.window=null}e.state=null;return p}function me(e,r){var t;if(!e||!e.state){return b}t=e.state;if((t.wrap&2)===0){return b}t.head=r;r.done=false;return p}t.inflateReset=fe;t.inflateReset2=oe;t.inflateResetKeep=se;t.inflateInit=ce;t.inflateInit2=le;t.inflate=ge;t.inflateEnd=be;t.inflateGetHeader=me;t.inflateInfo=\"pako inflate (from Nodeca project)\"},{\"../utils/common\":27,\"./adler32\":29,\"./crc32\":31,\"./inffast\":34,\"./inftrees\":36}],36:[function(e,r,t){\"use strict\";var a=e(\"../utils/common\");var n=15;var i=852;var s=592;var f=0;var o=1;var l=2;var c=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0];var h=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78];var u=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0];var d=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];r.exports=function p(e,r,t,v,g,b,m,w){var C=w.bits;var k=0;var E=0;var S=0,A=0;var _=0;var B=0;var T=0;var y=0;var x=0;var I=0;var R;var O;var D;var F;var P;var N=null;var L=0;var M;var U=new a.Buf16(n+1);var H=new a.Buf16(n+1);var W=null;var z=0;var V,X,G;for(k=0;k<=n;k++){U[k]=0}for(E=0;E<v;E++){U[r[t+E]]++}_=C;for(A=n;A>=1;A--){if(U[A]!==0){break}}if(_>A){_=A}if(A===0){g[b++]=1<<24|64<<16|0;g[b++]=1<<24|64<<16|0;w.bits=1;return 0}for(S=1;S<A;S++){if(U[S]!==0){break}}if(_<S){_=S}y=1;for(k=1;k<=n;k++){y<<=1;y-=U[k];if(y<0){return-1}}if(y>0&&(e===f||A!==1)){return-1}H[1]=0;for(k=1;k<n;k++){H[k+1]=H[k]+U[k]}for(E=0;E<v;E++){if(r[t+E]!==0){m[H[r[t+E]]++]=E}}if(e===f){N=W=m;M=19}else if(e===o){N=c;L-=257;W=h;z-=257;M=256}else{N=u;W=d;M=-1}I=0;E=0;k=S;P=b;B=_;T=0;D=-1;x=1<<_;F=x-1;if(e===o&&x>i||e===l&&x>s){return 1}var j=0;for(;;){j++;V=k-T;if(m[E]<M){X=0;G=m[E]}else if(m[E]>M){X=W[z+m[E]];G=N[L+m[E]]}else{X=32+64;G=0}R=1<<k-T;O=1<<B;S=O;do{O-=R;g[P+(I>>T)+O]=V<<24|X<<16|G|0}while(O!==0);R=1<<k-1;while(I&R){R>>=1}if(R!==0){I&=R-1;I+=R}else{I=0}E++;if(--U[k]===0){if(k===A){break}k=r[t+m[E]]}if(k>_&&(I&F)!==D){if(T===0){T=_}P+=S;B=k-T;y=1<<B;while(B+T<A){y-=U[B+T];if(y<=0){break}B++;y<<=1}x+=1<<B;if(e===o&&x>i||e===l&&x>s){return 1}D=I&F;g[D]=_<<24|B<<16|P-b|0}}if(I!==0){g[P+I]=k-T<<24|64<<16|0}w.bits=_;return 0}},{\"../utils/common\":27}],37:[function(e,r,t){\"use strict\";r.exports={2:\"need dictionary\",1:\"stream end\",0:\"\",\"-1\":\"file error\",\"-2\":\"stream error\",\"-3\":\"data error\",\"-4\":\"insufficient memory\",\"-5\":\"buffer error\",\"-6\":\"incompatible version\"}},{}],38:[function(e,r,t){\"use strict\";var a=e(\"../utils/common\");var n=4;var i=0;var s=1;var f=2;function o(e){var r=e.length;while(--r>=0){e[r]=0}}var l=0;var c=1;var h=2;var u=3;var d=258;var p=29;var v=256;var g=v+1+p;var b=30;var m=19;var w=2*g+1;var C=15;var k=16;var E=7;var S=256;var A=16;var _=17;var B=18;var T=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0];var y=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13];var x=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7];var I=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];var R=512;var O=new Array((g+2)*2);o(O);var D=new Array(b*2);o(D);var F=new Array(R);o(F);var P=new Array(d-u+1);o(P);var N=new Array(p);o(N);var L=new Array(b);o(L);var M=function(e,r,t,a,n){this.static_tree=e;this.extra_bits=r;this.extra_base=t;this.elems=a;this.max_length=n;this.has_stree=e&&e.length};var U;var H;var W;var z=function(e,r){this.dyn_tree=e;this.max_code=0;this.stat_desc=r};function V(e){return e<256?F[e]:F[256+(e>>>7)]}function X(e,r){e.pending_buf[e.pending++]=r&255;e.pending_buf[e.pending++]=r>>>8&255}function G(e,r,t){if(e.bi_valid>k-t){e.bi_buf|=r<<e.bi_valid&65535;X(e,e.bi_buf);e.bi_buf=r>>k-e.bi_valid;e.bi_valid+=t-k}else{e.bi_buf|=r<<e.bi_valid&65535;e.bi_valid+=t}}function j(e,r,t){G(e,t[r*2],t[r*2+1])}function K(e,r){var t=0;do{t|=e&1;e>>>=1;t<<=1}while(--r>0);return t>>>1}function Y(e){if(e.bi_valid===16){X(e,e.bi_buf);e.bi_buf=0;e.bi_valid=0}else if(e.bi_valid>=8){e.pending_buf[e.pending++]=e.bi_buf&255;e.bi_buf>>=8;e.bi_valid-=8}}function $(e,r){var t=r.dyn_tree;var a=r.max_code;var n=r.stat_desc.static_tree;var i=r.stat_desc.has_stree;var s=r.stat_desc.extra_bits;var f=r.stat_desc.extra_base;var o=r.stat_desc.max_length;var l;var c,h;var u;var d;var p;var v=0;for(u=0;u<=C;u++){e.bl_count[u]=0}t[e.heap[e.heap_max]*2+1]=0;for(l=e.heap_max+1;l<w;l++){c=e.heap[l];u=t[t[c*2+1]*2+1]+1;if(u>o){u=o;v++}t[c*2+1]=u;if(c>a){continue}e.bl_count[u]++;d=0;if(c>=f){d=s[c-f]}p=t[c*2];e.opt_len+=p*(u+d);if(i){e.static_len+=p*(n[c*2+1]+d)}}if(v===0){return}do{u=o-1;while(e.bl_count[u]===0){u--}e.bl_count[u]--;e.bl_count[u+1]+=2;e.bl_count[o]--;v-=2}while(v>0);for(u=o;u!==0;u--){c=e.bl_count[u];while(c!==0){h=e.heap[--l];if(h>a){continue}if(t[h*2+1]!==u){e.opt_len+=(u-t[h*2+1])*t[h*2];t[h*2+1]=u}c--}}}function Z(e,r,t){var a=new Array(C+1);var n=0;var i;var s;for(i=1;i<=C;i++){a[i]=n=n+t[i-1]<<1}for(s=0;s<=r;s++){var f=e[s*2+1];if(f===0){continue}e[s*2]=K(a[f]++,f)}}function Q(){var e;var r;var t;var a;var n;var i=new Array(C+1);t=0;for(a=0;a<p-1;a++){N[a]=t;for(e=0;e<1<<T[a];e++){P[t++]=a}}P[t-1]=a;n=0;for(a=0;a<16;a++){L[a]=n;for(e=0;e<1<<y[a];e++){F[n++]=a}}n>>=7;for(;a<b;a++){L[a]=n<<7;for(e=0;e<1<<y[a]-7;e++){F[256+n++]=a}}for(r=0;r<=C;r++){i[r]=0}e=0;while(e<=143){O[e*2+1]=8;e++;i[8]++}while(e<=255){O[e*2+1]=9;e++;i[9]++}while(e<=279){O[e*2+1]=7;e++;i[7]++}while(e<=287){O[e*2+1]=8;e++;i[8]++}Z(O,g+1,i);for(e=0;e<b;e++){D[e*2+1]=5;D[e*2]=K(e,5)}U=new M(O,T,v+1,g,C);H=new M(D,y,0,b,C);W=new M(new Array(0),x,0,m,E)}function J(e){var r;for(r=0;r<g;r++){e.dyn_ltree[r*2]=0}for(r=0;r<b;r++){e.dyn_dtree[r*2]=0}for(r=0;r<m;r++){e.bl_tree[r*2]=0}e.dyn_ltree[S*2]=1;e.opt_len=e.static_len=0;e.last_lit=e.matches=0}function q(e){if(e.bi_valid>8){X(e,e.bi_buf)}else if(e.bi_valid>0){e.pending_buf[e.pending++]=e.bi_buf}e.bi_buf=0;e.bi_valid=0}function ee(e,r,t,n){q(e);if(n){X(e,t);X(e,~t)}a.arraySet(e.pending_buf,e.window,r,t,e.pending);e.pending+=t}function re(e,r,t,a){var n=r*2;var i=t*2;return e[n]<e[i]||e[n]===e[i]&&a[r]<=a[t]}function te(e,r,t){var a=e.heap[t];var n=t<<1;while(n<=e.heap_len){if(n<e.heap_len&&re(r,e.heap[n+1],e.heap[n],e.depth)){n++}if(re(r,a,e.heap[n],e.depth)){break}e.heap[t]=e.heap[n];t=n;n<<=1}e.heap[t]=a}function ae(e,r,t){var a;var n;var i=0;var s;var f;if(e.last_lit!==0){do{a=e.pending_buf[e.d_buf+i*2]<<8|e.pending_buf[e.d_buf+i*2+1];n=e.pending_buf[e.l_buf+i];i++;if(a===0){j(e,n,r)}else{s=P[n];j(e,s+v+1,r);f=T[s];if(f!==0){n-=N[s];G(e,n,f)}a--;s=V(a);j(e,s,t);f=y[s];if(f!==0){a-=L[s];G(e,a,f)}}}while(i<e.last_lit)}j(e,S,r)}function ne(e,r){var t=r.dyn_tree;var a=r.stat_desc.static_tree;var n=r.stat_desc.has_stree;var i=r.stat_desc.elems;var s,f;var o=-1;var l;e.heap_len=0;e.heap_max=w;for(s=0;s<i;s++){if(t[s*2]!==0){e.heap[++e.heap_len]=o=s;e.depth[s]=0}else{t[s*2+1]=0}}while(e.heap_len<2){l=e.heap[++e.heap_len]=o<2?++o:0;t[l*2]=1;e.depth[l]=0;e.opt_len--;if(n){e.static_len-=a[l*2+1]}}r.max_code=o;for(s=e.heap_len>>1;s>=1;s--){te(e,t,s)}l=i;do{s=e.heap[1];e.heap[1]=e.heap[e.heap_len--];te(e,t,1);f=e.heap[1];e.heap[--e.heap_max]=s;e.heap[--e.heap_max]=f;t[l*2]=t[s*2]+t[f*2];e.depth[l]=(e.depth[s]>=e.depth[f]?e.depth[s]:e.depth[f])+1;t[s*2+1]=t[f*2+1]=l;e.heap[1]=l++;te(e,t,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1];$(e,r);Z(t,o,e.bl_count)}function ie(e,r,t){var a;var n=-1;var i;var s=r[0*2+1];var f=0;var o=7;var l=4;if(s===0){o=138;l=3}r[(t+1)*2+1]=65535;for(a=0;a<=t;a++){i=s;s=r[(a+1)*2+1];if(++f<o&&i===s){continue}else if(f<l){e.bl_tree[i*2]+=f}else if(i!==0){if(i!==n){e.bl_tree[i*2]++}e.bl_tree[A*2]++}else if(f<=10){e.bl_tree[_*2]++}else{e.bl_tree[B*2]++}f=0;n=i;if(s===0){o=138;l=3}else if(i===s){o=6;l=3}else{o=7;l=4}}}function se(e,r,t){var a;var n=-1;var i;var s=r[0*2+1];var f=0;var o=7;var l=4;if(s===0){o=138;l=3}for(a=0;a<=t;a++){i=s;s=r[(a+1)*2+1];if(++f<o&&i===s){continue}else if(f<l){do{j(e,i,e.bl_tree)}while(--f!==0)}else if(i!==0){if(i!==n){j(e,i,e.bl_tree);f--}j(e,A,e.bl_tree);G(e,f-3,2)}else if(f<=10){j(e,_,e.bl_tree);G(e,f-3,3)}else{j(e,B,e.bl_tree);G(e,f-11,7)}f=0;n=i;if(s===0){o=138;l=3}else if(i===s){o=6;l=3}else{o=7;l=4}}}function fe(e){var r;ie(e,e.dyn_ltree,e.l_desc.max_code);ie(e,e.dyn_dtree,e.d_desc.max_code);ne(e,e.bl_desc);for(r=m-1;r>=3;r--){if(e.bl_tree[I[r]*2+1]!==0){break}}e.opt_len+=3*(r+1)+5+5+4;return r}function oe(e,r,t,a){var n;G(e,r-257,5);G(e,t-1,5);G(e,a-4,4);for(n=0;n<a;n++){G(e,e.bl_tree[I[n]*2+1],3)}se(e,e.dyn_ltree,r-1);se(e,e.dyn_dtree,t-1)}function le(e){var r=4093624447;var t;for(t=0;t<=31;t++,r>>>=1){if(r&1&&e.dyn_ltree[t*2]!==0){return i}}if(e.dyn_ltree[9*2]!==0||e.dyn_ltree[10*2]!==0||e.dyn_ltree[13*2]!==0){return s}for(t=32;t<v;t++){if(e.dyn_ltree[t*2]!==0){return s}}return i}var ce=false;function he(e){if(!ce){Q();ce=true}e.l_desc=new z(e.dyn_ltree,U);e.d_desc=new z(e.dyn_dtree,H);e.bl_desc=new z(e.bl_tree,W);e.bi_buf=0;e.bi_valid=0;J(e)}function ue(e,r,t,a){G(e,(l<<1)+(a?1:0),3);ee(e,r,t,true)}function de(e){G(e,c<<1,3);j(e,S,O);Y(e)}function pe(e,r,t,a){var i,s;var o=0;if(e.level>0){if(e.strm.data_type===f){e.strm.data_type=le(e)}ne(e,e.l_desc);ne(e,e.d_desc);o=fe(e);i=e.opt_len+3+7>>>3;s=e.static_len+3+7>>>3;if(s<=i){i=s}}else{i=s=t+5}if(t+4<=i&&r!==-1){ue(e,r,t,a)}else if(e.strategy===n||s===i){G(e,(c<<1)+(a?1:0),3);ae(e,O,D)}else{G(e,(h<<1)+(a?1:0),3);oe(e,e.l_desc.max_code+1,e.d_desc.max_code+1,o+1);ae(e,e.dyn_ltree,e.dyn_dtree)}J(e);if(a){q(e)}}function ve(e,r,t){e.pending_buf[e.d_buf+e.last_lit*2]=r>>>8&255;e.pending_buf[e.d_buf+e.last_lit*2+1]=r&255;e.pending_buf[e.l_buf+e.last_lit]=t&255;e.last_lit++;if(r===0){e.dyn_ltree[t*2]++}else{e.matches++;r--;e.dyn_ltree[(P[t]+v+1)*2]++;e.dyn_dtree[V(r)*2]++}return e.last_lit===e.lit_bufsize-1}t._tr_init=he;t._tr_stored_block=ue;t._tr_flush_block=pe;t._tr_tally=ve;t._tr_align=de},{\"../utils/common\":27}],39:[function(e,r,t){\"use strict\";function a(){this.input=null;this.next_in=0;this.avail_in=0;this.total_in=0;this.output=null;this.next_out=0;this.avail_out=0;this.total_out=0;this.msg=\"\";this.state=null;this.data_type=2;this.adler=0}r.exports=a},{}]},{},[9])(9)});var cptable={version:\"1.14.0\"};cptable[437]=function(){var e=\"\\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007\\b\\t\\n\\x0B\\f\\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜ¢£¥₧ƒáíóúñÑªº¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ \",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[620]=function(){var e=\"\\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007\\b\\t\\n\\x0B\\f\\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàąçêëèïîćÄĄĘęłôöĆûùŚÖÜ¢Ł¥śƒŹŻóÓńŃźż¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ \",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[737]=function(){var e=\"\\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007\\b\\t\\n\\x0B\\f\\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρσςτυφχψ░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀ωάέήϊίόύϋώΆΈΉΊΌΎΏ±≥≤ΪΫ÷≈°∙·√ⁿ²■ \",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[850]=function(){var e=\"\\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007\\b\\t\\n\\x0B\\f\\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñÑªº¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ðÐÊËÈıÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµþÞÚÛÙýÝ¯´­±‗¾¶§÷¸°¨·¹³²■ \",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[852]=function(){var e=\"\\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007\\b\\t\\n\\x0B\\f\\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäůćçłëŐőîŹÄĆÉĹĺôöĽľŚśÖÜŤťŁ×čáíóúĄąŽžĘę¬źČş«»░▒▓│┤ÁÂĚŞ╣║╗╝Żż┐└┴┬├─┼Ăă╚╔╩╦╠═╬¤đĐĎËďŇÍÎě┘┌█▄ŢŮ▀ÓßÔŃńňŠšŔÚŕŰýÝţ´­˝˛ˇ˘§÷¸°¨˙űŘř■ \",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[857]=function(){var e=\"\\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007\\b\\t\\n\\x0B\\f\\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèïîıÄÅÉæÆôöòûùİÖÜø£ØŞşáíóúñÑĞğ¿®¬½¼¡«»░▒▓│┤ÁÂÀ©╣║╗╝¢¥┐└┴┬├─┼ãÃ╚╔╩╦╠═╬¤ºªÊËÈ�ÍÎÏ┘┌█▄¦Ì▀ÓßÔÒõÕµ�×ÚÛÙìÿ¯´­±�¾¶§÷¸°¨·¹³²■ \",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[861]=function(){var e=\"\\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007\\b\\t\\n\\x0B\\f\\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèÐðÞÄÅÉæÆôöþûÝýÖÜø£Ø₧ƒáíóúÁÍÓÚ¿⌐¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ \",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[865]=function(){var e=\"\\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007\\b\\t\\n\\x0B\\f\\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø₧ƒáíóúñÑªº¿⌐¬½¼¡«¤░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ \",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[866]=function(){var e=\"\\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007\\b\\t\\n\\x0B\\f\\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмноп░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀рстуфхцчшщъыьэюяЁёЄєЇїЎў°∙·√№¤■ \",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[874]=function(){var e=\"\\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007\\b\\t\\n\\x0B\\f\\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€����…�����������‘’“”•–—�������� กขฃคฅฆงจฉชซฌญฎฏฐฑฒณดตถทธนบปผฝพฟภมยรฤลฦวศษสหฬอฮฯะัาำิีึืฺุู����฿เแโใไๅๆ็่้๊๋์ํ๎๏๐๑๒๓๔๕๖๗๘๙๚๛����\",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[895]=function(){var e=\"\\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007\\b\\t\\n\\x0B\\f\\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ČüéďäĎŤčěĚĹÍľǪÄÁÉžŽôöÓůÚýÖÜŠĽÝŘťáíóúňŇŮÔšřŕŔ¼§«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αßΓπΣσµτΦΘΩδ∞φε∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■ \",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[932]=function(){var e=[],r={},t=[],a;t[0]=\"\\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007\\b\\t\\n\\x0B\\f\\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~���������������������������������｡｢｣､･ｦｧｨｩｪｫｬｭｮｯｰｱｲｳｴｵｶｷｸｹｺｻｼｽｾｿﾀﾁﾂﾃﾄﾅﾆﾇﾈﾉﾊﾋﾌﾍﾎﾏﾐﾑﾒﾓﾔﾕﾖﾗﾘﾙﾚﾛﾜﾝﾞﾟ��������������������������������\".split(\"\");for(a=0;a!=t[0].length;++a)if(t[0][a].charCodeAt(0)!==65533){r[t[0][a]]=0+a;e[0+a]=t[0][a]}t[129]=\"����������������������������������������������������������������　、。，．・：；？！゛゜´｀¨＾￣＿ヽヾゝゞ〃仝々〆〇ー―‐／＼～∥｜…‥‘’“”（）〔〕［］｛｝〈〉《》「」『』【】＋－±×�÷＝≠＜＞≦≧∞∴♂♀°′″℃￥＄￠￡％＃＆＊＠§☆★○●◎◇◆□■△▲▽▼※〒→←↑↓〓�����������∈∋⊆⊇⊂⊃∪∩��������∧∨￢⇒⇔∀∃�����������∠⊥⌒∂∇≡≒≪≫√∽∝∵∫∬�������Å‰♯♭♪†‡¶����◯���\".split(\"\");for(a=0;a!=t[129].length;++a)if(t[129][a].charCodeAt(0)!==65533){r[t[129][a]]=33024+a;e[33024+a]=t[129][a]}t[130]=\"�������������������������������������������������������������������������������０１２３４５６７８９�������ＡＢＣＤＥＦＧＨＩＪＫＬＭＮＯＰＱＲＳＴＵＶＷＸＹＺ�������ａｂｃｄｅｆｇｈｉｊｋｌｍｎｏｐｑｒｓｔｕｖｗｘｙｚ����ぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞただちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽまみむめもゃやゅゆょよらりるれろゎわゐゑをん��������������\".split(\"\");for(a=0;a!=t[130].length;++a)if(t[130][a].charCodeAt(0)!==65533){r[t[130][a]]=33280+a;e[33280+a]=t[130][a]}t[131]=\"����������������������������������������������������������������ァアィイゥウェエォオカガキギクグケゲコゴサザシジスズセゼソゾタダチヂッツヅテデトドナニヌネノハバパヒビピフブプヘベペホボポマミ�ムメモャヤュユョヨラリルレロヮワヰヱヲンヴヵヶ��������ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ��������αβγδεζηθικλμνξοπρστυφχψω�����������������������������������������\".split(\"\");for(a=0;a!=t[131].length;++a)if(t[131][a].charCodeAt(0)!==65533){r[t[131][a]]=33536+a;e[33536+a]=t[131][a]}t[132]=\"����������������������������������������������������������������АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ���������������абвгдеёжзийклмн�опрстуфхцчшщъыьэюя�������������─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂�����������������������������������������������������������������\".split(\"\");for(a=0;a!=t[132].length;++a)if(t[132][a].charCodeAt(0)!==65533){r[t[132][a]]=33792+a;e[33792+a]=t[132][a]}t[135]=\"����������������������������������������������������������������①②③④⑤⑥⑦⑧⑨⑩⑪⑫⑬⑭⑮⑯⑰⑱⑲⑳ⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩ�㍉㌔㌢㍍㌘㌧㌃㌶㍑㍗㌍㌦㌣㌫㍊㌻㎜㎝㎞㎎㎏㏄㎡��������㍻�〝〟№㏍℡㊤㊥㊦㊧㊨㈱㈲㈹㍾㍽㍼≒≡∫∮∑√⊥∠∟⊿∵∩∪���������������������������������������������������������������������������������������������������\".split(\"\");for(a=0;a!=t[135].length;++a)if(t[135][a].charCodeAt(0)!==65533){r[t[135][a]]=34560+a;e[34560+a]=t[135][a]}t[136]=\"���������������������������������������������������������������������������������������������������������������������������������������������������������������亜唖娃阿哀愛挨姶逢葵茜穐悪握渥旭葦芦鯵梓圧斡扱宛姐虻飴絢綾鮎或粟袷安庵按暗案闇鞍杏以伊位依偉囲夷委威尉惟意慰易椅為畏異移維緯胃萎衣謂違遺医井亥域育郁磯一壱溢逸稲茨芋鰯允印咽員因姻引飲淫胤蔭���\".split(\"\");for(a=0;a!=t[136].length;++a)if(t[136][a].charCodeAt(0)!==65533){r[t[136][a]]=34816+a;e[34816+a]=t[136][a]}t[137]=\"����������������������������������������������������������������院陰隠韻吋右宇烏羽迂雨卯鵜窺丑碓臼渦嘘唄欝蔚鰻姥厩浦瓜閏噂云運雲荏餌叡営嬰影映曳栄永泳洩瑛盈穎頴英衛詠鋭液疫益駅悦謁越閲榎厭円�園堰奄宴延怨掩援沿演炎焔煙燕猿縁艶苑薗遠鉛鴛塩於汚甥凹央奥往応押旺横欧殴王翁襖鴬鴎黄岡沖荻億屋憶臆桶牡乙俺卸恩温穏音下化仮何伽価佳加可嘉夏嫁家寡科暇果架歌河火珂禍禾稼箇花苛茄荷華菓蝦課嘩貨迦過霞蚊俄峨我牙画臥芽蛾賀雅餓駕介会解回塊壊廻快怪悔恢懐戒拐改���\".split(\"\");for(a=0;a!=t[137].length;++a)if(t[137][a].charCodeAt(0)!==65533){r[t[137][a]]=35072+a;e[35072+a]=t[137][a]}t[138]=\"����������������������������������������������������������������魁晦械海灰界皆絵芥蟹開階貝凱劾外咳害崖慨概涯碍蓋街該鎧骸浬馨蛙垣柿蛎鈎劃嚇各廓拡撹格核殻獲確穫覚角赫較郭閣隔革学岳楽額顎掛笠樫�橿梶鰍潟割喝恰括活渇滑葛褐轄且鰹叶椛樺鞄株兜竃蒲釜鎌噛鴨栢茅萱粥刈苅瓦乾侃冠寒刊勘勧巻喚堪姦完官寛干幹患感慣憾換敢柑桓棺款歓汗漢澗潅環甘監看竿管簡緩缶翰肝艦莞観諌貫還鑑間閑関陥韓館舘丸含岸巌玩癌眼岩翫贋雁頑顔願企伎危喜器基奇嬉寄岐希幾忌揮机旗既期棋棄���\".split(\"\");for(a=0;a!=t[138].length;++a)if(t[138][a].charCodeAt(0)!==65533){r[t[138][a]]=35328+a;e[35328+a]=t[138][a]}t[139]=\"����������������������������������������������������������������機帰毅気汽畿祈季稀紀徽規記貴起軌輝飢騎鬼亀偽儀妓宜戯技擬欺犠疑祇義蟻誼議掬菊鞠吉吃喫桔橘詰砧杵黍却客脚虐逆丘久仇休及吸宮弓急救�朽求汲泣灸球究窮笈級糾給旧牛去居巨拒拠挙渠虚許距鋸漁禦魚亨享京供侠僑兇競共凶協匡卿叫喬境峡強彊怯恐恭挟教橋況狂狭矯胸脅興蕎郷鏡響饗驚仰凝尭暁業局曲極玉桐粁僅勤均巾錦斤欣欽琴禁禽筋緊芹菌衿襟謹近金吟銀九倶句区狗玖矩苦躯駆駈駒具愚虞喰空偶寓遇隅串櫛釧屑屈���\".split(\"\");for(a=0;a!=t[139].length;++a)if(t[139][a].charCodeAt(0)!==65533){r[t[139][a]]=35584+a;e[35584+a]=t[139][a]}t[140]=\"����������������������������������������������������������������掘窟沓靴轡窪熊隈粂栗繰桑鍬勲君薫訓群軍郡卦袈祁係傾刑兄啓圭珪型契形径恵慶慧憩掲携敬景桂渓畦稽系経継繋罫茎荊蛍計詣警軽頚鶏芸迎鯨�劇戟撃激隙桁傑欠決潔穴結血訣月件倹倦健兼券剣喧圏堅嫌建憲懸拳捲検権牽犬献研硯絹県肩見謙賢軒遣鍵険顕験鹸元原厳幻弦減源玄現絃舷言諺限乎個古呼固姑孤己庫弧戸故枯湖狐糊袴股胡菰虎誇跨鈷雇顧鼓五互伍午呉吾娯後御悟梧檎瑚碁語誤護醐乞鯉交佼侯候倖光公功効勾厚口向���\".split(\"\");for(a=0;a!=t[140].length;++a)if(t[140][a].charCodeAt(0)!==65533){r[t[140][a]]=35840+a;e[35840+a]=t[140][a]}t[141]=\"����������������������������������������������������������������后喉坑垢好孔孝宏工巧巷幸広庚康弘恒慌抗拘控攻昂晃更杭校梗構江洪浩港溝甲皇硬稿糠紅紘絞綱耕考肯肱腔膏航荒行衡講貢購郊酵鉱砿鋼閤降�項香高鴻剛劫号合壕拷濠豪轟麹克刻告国穀酷鵠黒獄漉腰甑忽惚骨狛込此頃今困坤墾婚恨懇昏昆根梱混痕紺艮魂些佐叉唆嵯左差査沙瑳砂詐鎖裟坐座挫債催再最哉塞妻宰彩才採栽歳済災采犀砕砦祭斎細菜裁載際剤在材罪財冴坂阪堺榊肴咲崎埼碕鷺作削咋搾昨朔柵窄策索錯桜鮭笹匙冊刷���\".split(\"\");for(a=0;a!=t[141].length;++a)if(t[141][a].charCodeAt(0)!==65533){r[t[141][a]]=36096+a;e[36096+a]=t[141][a]}t[142]=\"����������������������������������������������������������������察拶撮擦札殺薩雑皐鯖捌錆鮫皿晒三傘参山惨撒散桟燦珊産算纂蚕讃賛酸餐斬暫残仕仔伺使刺司史嗣四士始姉姿子屍市師志思指支孜斯施旨枝止�死氏獅祉私糸紙紫肢脂至視詞詩試誌諮資賜雌飼歯事似侍児字寺慈持時次滋治爾璽痔磁示而耳自蒔辞汐鹿式識鴫竺軸宍雫七叱執失嫉室悉湿漆疾質実蔀篠偲柴芝屡蕊縞舎写射捨赦斜煮社紗者謝車遮蛇邪借勺尺杓灼爵酌釈錫若寂弱惹主取守手朱殊狩珠種腫趣酒首儒受呪寿授樹綬需囚収周���\".split(\"\");for(a=0;a!=t[142].length;++a)if(t[142][a].charCodeAt(0)!==65533){r[t[142][a]]=36352+a;e[36352+a]=t[142][a]}t[143]=\"����������������������������������������������������������������宗就州修愁拾洲秀秋終繍習臭舟蒐衆襲讐蹴輯週酋酬集醜什住充十従戎柔汁渋獣縦重銃叔夙宿淑祝縮粛塾熟出術述俊峻春瞬竣舜駿准循旬楯殉淳�準潤盾純巡遵醇順処初所暑曙渚庶緒署書薯藷諸助叙女序徐恕鋤除傷償勝匠升召哨商唱嘗奨妾娼宵将小少尚庄床廠彰承抄招掌捷昇昌昭晶松梢樟樵沼消渉湘焼焦照症省硝礁祥称章笑粧紹肖菖蒋蕉衝裳訟証詔詳象賞醤鉦鍾鐘障鞘上丈丞乗冗剰城場壌嬢常情擾条杖浄状畳穣蒸譲醸錠嘱埴飾���\".split(\"\");for(a=0;a!=t[143].length;++a)if(t[143][a].charCodeAt(0)!==65533){r[t[143][a]]=36608+a;e[36608+a]=t[143][a]}t[144]=\"����������������������������������������������������������������拭植殖燭織職色触食蝕辱尻伸信侵唇娠寝審心慎振新晋森榛浸深申疹真神秦紳臣芯薪親診身辛進針震人仁刃塵壬尋甚尽腎訊迅陣靭笥諏須酢図厨�逗吹垂帥推水炊睡粋翠衰遂酔錐錘随瑞髄崇嵩数枢趨雛据杉椙菅頗雀裾澄摺寸世瀬畝是凄制勢姓征性成政整星晴棲栖正清牲生盛精聖声製西誠誓請逝醒青静斉税脆隻席惜戚斥昔析石積籍績脊責赤跡蹟碩切拙接摂折設窃節説雪絶舌蝉仙先千占宣専尖川戦扇撰栓栴泉浅洗染潜煎煽旋穿箭線���\".split(\"\");for(a=0;a!=t[144].length;++a)if(t[144][a].charCodeAt(0)!==65533){r[t[144][a]]=36864+a;e[36864+a]=t[144][a]}t[145]=\"����������������������������������������������������������������繊羨腺舛船薦詮賎践選遷銭銑閃鮮前善漸然全禅繕膳糎噌塑岨措曾曽楚狙疏疎礎祖租粗素組蘇訴阻遡鼠僧創双叢倉喪壮奏爽宋層匝惣想捜掃挿掻�操早曹巣槍槽漕燥争痩相窓糟総綜聡草荘葬蒼藻装走送遭鎗霜騒像増憎臓蔵贈造促側則即息捉束測足速俗属賊族続卒袖其揃存孫尊損村遜他多太汰詑唾堕妥惰打柁舵楕陀駄騨体堆対耐岱帯待怠態戴替泰滞胎腿苔袋貸退逮隊黛鯛代台大第醍題鷹滝瀧卓啄宅托択拓沢濯琢託鐸濁諾茸凧蛸只���\".split(\"\");for(a=0;a!=t[145].length;++a)if(t[145][a].charCodeAt(0)!==65533){r[t[145][a]]=37120+a;e[37120+a]=t[145][a]}t[146]=\"����������������������������������������������������������������叩但達辰奪脱巽竪辿棚谷狸鱈樽誰丹単嘆坦担探旦歎淡湛炭短端箪綻耽胆蛋誕鍛団壇弾断暖檀段男談値知地弛恥智池痴稚置致蜘遅馳築畜竹筑蓄�逐秩窒茶嫡着中仲宙忠抽昼柱注虫衷註酎鋳駐樗瀦猪苧著貯丁兆凋喋寵帖帳庁弔張彫徴懲挑暢朝潮牒町眺聴脹腸蝶調諜超跳銚長頂鳥勅捗直朕沈珍賃鎮陳津墜椎槌追鎚痛通塚栂掴槻佃漬柘辻蔦綴鍔椿潰坪壷嬬紬爪吊釣鶴亭低停偵剃貞呈堤定帝底庭廷弟悌抵挺提梯汀碇禎程締艇訂諦蹄逓���\".split(\"\");for(a=0;a!=t[146].length;++a)if(t[146][a].charCodeAt(0)!==65533){r[t[146][a]]=37376+a;e[37376+a]=t[146][a]}t[147]=\"����������������������������������������������������������������邸鄭釘鼎泥摘擢敵滴的笛適鏑溺哲徹撤轍迭鉄典填天展店添纏甜貼転顛点伝殿澱田電兎吐堵塗妬屠徒斗杜渡登菟賭途都鍍砥砺努度土奴怒倒党冬�凍刀唐塔塘套宕島嶋悼投搭東桃梼棟盗淘湯涛灯燈当痘祷等答筒糖統到董蕩藤討謄豆踏逃透鐙陶頭騰闘働動同堂導憧撞洞瞳童胴萄道銅峠鴇匿得徳涜特督禿篤毒独読栃橡凸突椴届鳶苫寅酉瀞噸屯惇敦沌豚遁頓呑曇鈍奈那内乍凪薙謎灘捺鍋楢馴縄畷南楠軟難汝二尼弐迩匂賑肉虹廿日乳入���\".split(\"\");for(a=0;a!=t[147].length;++a)if(t[147][a].charCodeAt(0)!==65533){r[t[147][a]]=37632+a;e[37632+a]=t[147][a]}t[148]=\"����������������������������������������������������������������如尿韮任妊忍認濡禰祢寧葱猫熱年念捻撚燃粘乃廼之埜嚢悩濃納能脳膿農覗蚤巴把播覇杷波派琶破婆罵芭馬俳廃拝排敗杯盃牌背肺輩配倍培媒梅�楳煤狽買売賠陪這蝿秤矧萩伯剥博拍柏泊白箔粕舶薄迫曝漠爆縛莫駁麦函箱硲箸肇筈櫨幡肌畑畠八鉢溌発醗髪伐罰抜筏閥鳩噺塙蛤隼伴判半反叛帆搬斑板氾汎版犯班畔繁般藩販範釆煩頒飯挽晩番盤磐蕃蛮匪卑否妃庇彼悲扉批披斐比泌疲皮碑秘緋罷肥被誹費避非飛樋簸備尾微枇毘琵眉美���\".split(\"\");for(a=0;a!=t[148].length;++a)if(t[148][a].charCodeAt(0)!==65533){r[t[148][a]]=37888+a;e[37888+a]=t[148][a]}t[149]=\"����������������������������������������������������������������鼻柊稗匹疋髭彦膝菱肘弼必畢筆逼桧姫媛紐百謬俵彪標氷漂瓢票表評豹廟描病秒苗錨鋲蒜蛭鰭品彬斌浜瀕貧賓頻敏瓶不付埠夫婦富冨布府怖扶敷�斧普浮父符腐膚芙譜負賦赴阜附侮撫武舞葡蕪部封楓風葺蕗伏副復幅服福腹複覆淵弗払沸仏物鮒分吻噴墳憤扮焚奮粉糞紛雰文聞丙併兵塀幣平弊柄並蔽閉陛米頁僻壁癖碧別瞥蔑箆偏変片篇編辺返遍便勉娩弁鞭保舗鋪圃捕歩甫補輔穂募墓慕戊暮母簿菩倣俸包呆報奉宝峰峯崩庖抱捧放方朋���\".split(\"\");for(a=0;a!=t[149].length;++a)if(t[149][a].charCodeAt(0)!==65533){r[t[149][a]]=38144+a;e[38144+a]=t[149][a]}t[150]=\"����������������������������������������������������������������法泡烹砲縫胞芳萌蓬蜂褒訪豊邦鋒飽鳳鵬乏亡傍剖坊妨帽忘忙房暴望某棒冒紡肪膨謀貌貿鉾防吠頬北僕卜墨撲朴牧睦穆釦勃没殆堀幌奔本翻凡盆�摩磨魔麻埋妹昧枚毎哩槙幕膜枕鮪柾鱒桝亦俣又抹末沫迄侭繭麿万慢満漫蔓味未魅巳箕岬密蜜湊蓑稔脈妙粍民眠務夢無牟矛霧鵡椋婿娘冥名命明盟迷銘鳴姪牝滅免棉綿緬面麺摸模茂妄孟毛猛盲網耗蒙儲木黙目杢勿餅尤戻籾貰問悶紋門匁也冶夜爺耶野弥矢厄役約薬訳躍靖柳薮鑓愉愈油癒���\".split(\"\");for(a=0;a!=t[150].length;++a)if(t[150][a].charCodeAt(0)!==65533){r[t[150][a]]=38400+a;e[38400+a]=t[150][a]}t[151]=\"����������������������������������������������������������������諭輸唯佑優勇友宥幽悠憂揖有柚湧涌猶猷由祐裕誘遊邑郵雄融夕予余与誉輿預傭幼妖容庸揚揺擁曜楊様洋溶熔用窯羊耀葉蓉要謡踊遥陽養慾抑欲�沃浴翌翼淀羅螺裸来莱頼雷洛絡落酪乱卵嵐欄濫藍蘭覧利吏履李梨理璃痢裏裡里離陸律率立葎掠略劉流溜琉留硫粒隆竜龍侶慮旅虜了亮僚両凌寮料梁涼猟療瞭稜糧良諒遼量陵領力緑倫厘林淋燐琳臨輪隣鱗麟瑠塁涙累類令伶例冷励嶺怜玲礼苓鈴隷零霊麗齢暦歴列劣烈裂廉恋憐漣煉簾練聯���\".split(\"\");for(a=0;a!=t[151].length;++a)if(t[151][a].charCodeAt(0)!==65533){r[t[151][a]]=38656+a;e[38656+a]=t[151][a]}t[152]=\"����������������������������������������������������������������蓮連錬呂魯櫓炉賂路露労婁廊弄朗楼榔浪漏牢狼篭老聾蝋郎六麓禄肋録論倭和話歪賄脇惑枠鷲亙亘鰐詫藁蕨椀湾碗腕��������������������������������������������弌丐丕个丱丶丼丿乂乖乘亂亅豫亊舒弍于亞亟亠亢亰亳亶从仍仄仆仂仗仞仭仟价伉佚估佛佝佗佇佶侈侏侘佻佩佰侑佯來侖儘俔俟俎俘俛俑俚俐俤俥倚倨倔倪倥倅伜俶倡倩倬俾俯們倆偃假會偕偐偈做偖偬偸傀傚傅傴傲���\".split(\"\");for(a=0;a!=t[152].length;++a)if(t[152][a].charCodeAt(0)!==65533){r[t[152][a]]=38912+a;e[38912+a]=t[152][a]}t[153]=\"����������������������������������������������������������������僉僊傳僂僖僞僥僭僣僮價僵儉儁儂儖儕儔儚儡儺儷儼儻儿兀兒兌兔兢竸兩兪兮冀冂囘册冉冏冑冓冕冖冤冦冢冩冪冫决冱冲冰况冽凅凉凛几處凩凭�凰凵凾刄刋刔刎刧刪刮刳刹剏剄剋剌剞剔剪剴剩剳剿剽劍劔劒剱劈劑辨辧劬劭劼劵勁勍勗勞勣勦飭勠勳勵勸勹匆匈甸匍匐匏匕匚匣匯匱匳匸區卆卅丗卉卍凖卞卩卮夘卻卷厂厖厠厦厥厮厰厶參簒雙叟曼燮叮叨叭叺吁吽呀听吭吼吮吶吩吝呎咏呵咎呟呱呷呰咒呻咀呶咄咐咆哇咢咸咥咬哄哈咨���\".split(\"\");for(a=0;a!=t[153].length;++a)if(t[153][a].charCodeAt(0)!==65533){r[t[153][a]]=39168+a;e[39168+a]=t[153][a]}t[154]=\"����������������������������������������������������������������咫哂咤咾咼哘哥哦唏唔哽哮哭哺哢唹啀啣啌售啜啅啖啗唸唳啝喙喀咯喊喟啻啾喘喞單啼喃喩喇喨嗚嗅嗟嗄嗜嗤嗔嘔嗷嘖嗾嗽嘛嗹噎噐營嘴嘶嘲嘸�噫噤嘯噬噪嚆嚀嚊嚠嚔嚏嚥嚮嚶嚴囂嚼囁囃囀囈囎囑囓囗囮囹圀囿圄圉圈國圍圓團圖嗇圜圦圷圸坎圻址坏坩埀垈坡坿垉垓垠垳垤垪垰埃埆埔埒埓堊埖埣堋堙堝塲堡塢塋塰毀塒堽塹墅墹墟墫墺壞墻墸墮壅壓壑壗壙壘壥壜壤壟壯壺壹壻壼壽夂夊夐夛梦夥夬夭夲夸夾竒奕奐奎奚奘奢奠奧奬奩���\".split(\"\");for(a=0;a!=t[154].length;++a)if(t[154][a].charCodeAt(0)!==65533){r[t[154][a]]=39424+a;e[39424+a]=t[154][a]}t[155]=\"����������������������������������������������������������������奸妁妝佞侫妣妲姆姨姜妍姙姚娥娟娑娜娉娚婀婬婉娵娶婢婪媚媼媾嫋嫂媽嫣嫗嫦嫩嫖嫺嫻嬌嬋嬖嬲嫐嬪嬶嬾孃孅孀孑孕孚孛孥孩孰孳孵學斈孺宀�它宦宸寃寇寉寔寐寤實寢寞寥寫寰寶寳尅將專對尓尠尢尨尸尹屁屆屎屓屐屏孱屬屮乢屶屹岌岑岔妛岫岻岶岼岷峅岾峇峙峩峽峺峭嶌峪崋崕崗嵜崟崛崑崔崢崚崙崘嵌嵒嵎嵋嵬嵳嵶嶇嶄嶂嶢嶝嶬嶮嶽嶐嶷嶼巉巍巓巒巖巛巫已巵帋帚帙帑帛帶帷幄幃幀幎幗幔幟幢幤幇幵并幺麼广庠廁廂廈廐廏���\".split(\"\");for(a=0;a!=t[155].length;++a)if(t[155][a].charCodeAt(0)!==65533){r[t[155][a]]=39680+a;e[39680+a]=t[155][a]}t[156]=\"����������������������������������������������������������������廖廣廝廚廛廢廡廨廩廬廱廳廰廴廸廾弃弉彝彜弋弑弖弩弭弸彁彈彌彎弯彑彖彗彙彡彭彳彷徃徂彿徊很徑徇從徙徘徠徨徭徼忖忻忤忸忱忝悳忿怡恠�怙怐怩怎怱怛怕怫怦怏怺恚恁恪恷恟恊恆恍恣恃恤恂恬恫恙悁悍惧悃悚悄悛悖悗悒悧悋惡悸惠惓悴忰悽惆悵惘慍愕愆惶惷愀惴惺愃愡惻惱愍愎慇愾愨愧慊愿愼愬愴愽慂慄慳慷慘慙慚慫慴慯慥慱慟慝慓慵憙憖憇憬憔憚憊憑憫憮懌懊應懷懈懃懆憺懋罹懍懦懣懶懺懴懿懽懼懾戀戈戉戍戌戔戛���\".split(\"\");for(a=0;a!=t[156].length;++a)if(t[156][a].charCodeAt(0)!==65533){r[t[156][a]]=39936+a;e[39936+a]=t[156][a]}t[157]=\"����������������������������������������������������������������戞戡截戮戰戲戳扁扎扞扣扛扠扨扼抂抉找抒抓抖拔抃抔拗拑抻拏拿拆擔拈拜拌拊拂拇抛拉挌拮拱挧挂挈拯拵捐挾捍搜捏掖掎掀掫捶掣掏掉掟掵捫�捩掾揩揀揆揣揉插揶揄搖搴搆搓搦搶攝搗搨搏摧摯摶摎攪撕撓撥撩撈撼據擒擅擇撻擘擂擱擧舉擠擡抬擣擯攬擶擴擲擺攀擽攘攜攅攤攣攫攴攵攷收攸畋效敖敕敍敘敞敝敲數斂斃變斛斟斫斷旃旆旁旄旌旒旛旙无旡旱杲昊昃旻杳昵昶昴昜晏晄晉晁晞晝晤晧晨晟晢晰暃暈暎暉暄暘暝曁暹曉暾暼���\".split(\"\");for(a=0;a!=t[157].length;++a)if(t[157][a].charCodeAt(0)!==65533){r[t[157][a]]=40192+a;e[40192+a]=t[157][a]}t[158]=\"����������������������������������������������������������������曄暸曖曚曠昿曦曩曰曵曷朏朖朞朦朧霸朮朿朶杁朸朷杆杞杠杙杣杤枉杰枩杼杪枌枋枦枡枅枷柯枴柬枳柩枸柤柞柝柢柮枹柎柆柧檜栞框栩桀桍栲桎�梳栫桙档桷桿梟梏梭梔條梛梃檮梹桴梵梠梺椏梍桾椁棊椈棘椢椦棡椌棍棔棧棕椶椒椄棗棣椥棹棠棯椨椪椚椣椡棆楹楷楜楸楫楔楾楮椹楴椽楙椰楡楞楝榁楪榲榮槐榿槁槓榾槎寨槊槝榻槃榧樮榑榠榜榕榴槞槨樂樛槿權槹槲槧樅榱樞槭樔槫樊樒櫁樣樓橄樌橲樶橸橇橢橙橦橈樸樢檐檍檠檄檢檣���\".split(\"\");for(a=0;a!=t[158].length;++a)if(t[158][a].charCodeAt(0)!==65533){r[t[158][a]]=40448+a;e[40448+a]=t[158][a]}t[159]=\"����������������������������������������������������������������檗蘗檻櫃櫂檸檳檬櫞櫑櫟檪櫚櫪櫻欅蘖櫺欒欖鬱欟欸欷盜欹飮歇歃歉歐歙歔歛歟歡歸歹歿殀殄殃殍殘殕殞殤殪殫殯殲殱殳殷殼毆毋毓毟毬毫毳毯�麾氈氓气氛氤氣汞汕汢汪沂沍沚沁沛汾汨汳沒沐泄泱泓沽泗泅泝沮沱沾沺泛泯泙泪洟衍洶洫洽洸洙洵洳洒洌浣涓浤浚浹浙涎涕濤涅淹渕渊涵淇淦涸淆淬淞淌淨淒淅淺淙淤淕淪淮渭湮渮渙湲湟渾渣湫渫湶湍渟湃渺湎渤滿渝游溂溪溘滉溷滓溽溯滄溲滔滕溏溥滂溟潁漑灌滬滸滾漿滲漱滯漲滌���\".split(\"\");\nfor(a=0;a!=t[159].length;++a)if(t[159][a].charCodeAt(0)!==65533){r[t[159][a]]=40704+a;e[40704+a]=t[159][a]}t[224]=\"����������������������������������������������������������������漾漓滷澆潺潸澁澀潯潛濳潭澂潼潘澎澑濂潦澳澣澡澤澹濆澪濟濕濬濔濘濱濮濛瀉瀋濺瀑瀁瀏濾瀛瀚潴瀝瀘瀟瀰瀾瀲灑灣炙炒炯烱炬炸炳炮烟烋烝�烙焉烽焜焙煥煕熈煦煢煌煖煬熏燻熄熕熨熬燗熹熾燒燉燔燎燠燬燧燵燼燹燿爍爐爛爨爭爬爰爲爻爼爿牀牆牋牘牴牾犂犁犇犒犖犢犧犹犲狃狆狄狎狒狢狠狡狹狷倏猗猊猜猖猝猴猯猩猥猾獎獏默獗獪獨獰獸獵獻獺珈玳珎玻珀珥珮珞璢琅瑯琥珸琲琺瑕琿瑟瑙瑁瑜瑩瑰瑣瑪瑶瑾璋璞璧瓊瓏瓔珱���\".split(\"\");for(a=0;a!=t[224].length;++a)if(t[224][a].charCodeAt(0)!==65533){r[t[224][a]]=57344+a;e[57344+a]=t[224][a]}t[225]=\"����������������������������������������������������������������瓠瓣瓧瓩瓮瓲瓰瓱瓸瓷甄甃甅甌甎甍甕甓甞甦甬甼畄畍畊畉畛畆畚畩畤畧畫畭畸當疆疇畴疊疉疂疔疚疝疥疣痂疳痃疵疽疸疼疱痍痊痒痙痣痞痾痿�痼瘁痰痺痲痳瘋瘍瘉瘟瘧瘠瘡瘢瘤瘴瘰瘻癇癈癆癜癘癡癢癨癩癪癧癬癰癲癶癸發皀皃皈皋皎皖皓皙皚皰皴皸皹皺盂盍盖盒盞盡盥盧盪蘯盻眈眇眄眩眤眞眥眦眛眷眸睇睚睨睫睛睥睿睾睹瞎瞋瞑瞠瞞瞰瞶瞹瞿瞼瞽瞻矇矍矗矚矜矣矮矼砌砒礦砠礪硅碎硴碆硼碚碌碣碵碪碯磑磆磋磔碾碼磅磊磬���\".split(\"\");for(a=0;a!=t[225].length;++a)if(t[225][a].charCodeAt(0)!==65533){r[t[225][a]]=57600+a;e[57600+a]=t[225][a]}t[226]=\"����������������������������������������������������������������磧磚磽磴礇礒礑礙礬礫祀祠祗祟祚祕祓祺祿禊禝禧齋禪禮禳禹禺秉秕秧秬秡秣稈稍稘稙稠稟禀稱稻稾稷穃穗穉穡穢穩龝穰穹穽窈窗窕窘窖窩竈窰�窶竅竄窿邃竇竊竍竏竕竓站竚竝竡竢竦竭竰笂笏笊笆笳笘笙笞笵笨笶筐筺笄筍笋筌筅筵筥筴筧筰筱筬筮箝箘箟箍箜箚箋箒箏筝箙篋篁篌篏箴篆篝篩簑簔篦篥籠簀簇簓篳篷簗簍篶簣簧簪簟簷簫簽籌籃籔籏籀籐籘籟籤籖籥籬籵粃粐粤粭粢粫粡粨粳粲粱粮粹粽糀糅糂糘糒糜糢鬻糯糲糴糶糺紆���\".split(\"\");for(a=0;a!=t[226].length;++a)if(t[226][a].charCodeAt(0)!==65533){r[t[226][a]]=57856+a;e[57856+a]=t[226][a]}t[227]=\"����������������������������������������������������������������紂紜紕紊絅絋紮紲紿紵絆絳絖絎絲絨絮絏絣經綉絛綏絽綛綺綮綣綵緇綽綫總綢綯緜綸綟綰緘緝緤緞緻緲緡縅縊縣縡縒縱縟縉縋縢繆繦縻縵縹繃縷�縲縺繧繝繖繞繙繚繹繪繩繼繻纃緕繽辮繿纈纉續纒纐纓纔纖纎纛纜缸缺罅罌罍罎罐网罕罔罘罟罠罨罩罧罸羂羆羃羈羇羌羔羞羝羚羣羯羲羹羮羶羸譱翅翆翊翕翔翡翦翩翳翹飜耆耄耋耒耘耙耜耡耨耿耻聊聆聒聘聚聟聢聨聳聲聰聶聹聽聿肄肆肅肛肓肚肭冐肬胛胥胙胝胄胚胖脉胯胱脛脩脣脯腋���\".split(\"\");for(a=0;a!=t[227].length;++a)if(t[227][a].charCodeAt(0)!==65533){r[t[227][a]]=58112+a;e[58112+a]=t[227][a]}t[228]=\"����������������������������������������������������������������隋腆脾腓腑胼腱腮腥腦腴膃膈膊膀膂膠膕膤膣腟膓膩膰膵膾膸膽臀臂膺臉臍臑臙臘臈臚臟臠臧臺臻臾舁舂舅與舊舍舐舖舩舫舸舳艀艙艘艝艚艟艤�艢艨艪艫舮艱艷艸艾芍芒芫芟芻芬苡苣苟苒苴苳苺莓范苻苹苞茆苜茉苙茵茴茖茲茱荀茹荐荅茯茫茗茘莅莚莪莟莢莖茣莎莇莊荼莵荳荵莠莉莨菴萓菫菎菽萃菘萋菁菷萇菠菲萍萢萠莽萸蔆菻葭萪萼蕚蒄葷葫蒭葮蒂葩葆萬葯葹萵蓊葢蒹蒿蒟蓙蓍蒻蓚蓐蓁蓆蓖蒡蔡蓿蓴蔗蔘蔬蔟蔕蔔蓼蕀蕣蕘蕈���\".split(\"\");for(a=0;a!=t[228].length;++a)if(t[228][a].charCodeAt(0)!==65533){r[t[228][a]]=58368+a;e[58368+a]=t[228][a]}t[229]=\"����������������������������������������������������������������蕁蘂蕋蕕薀薤薈薑薊薨蕭薔薛藪薇薜蕷蕾薐藉薺藏薹藐藕藝藥藜藹蘊蘓蘋藾藺蘆蘢蘚蘰蘿虍乕虔號虧虱蚓蚣蚩蚪蚋蚌蚶蚯蛄蛆蚰蛉蠣蚫蛔蛞蛩蛬�蛟蛛蛯蜒蜆蜈蜀蜃蛻蜑蜉蜍蛹蜊蜴蜿蜷蜻蜥蜩蜚蝠蝟蝸蝌蝎蝴蝗蝨蝮蝙蝓蝣蝪蠅螢螟螂螯蟋螽蟀蟐雖螫蟄螳蟇蟆螻蟯蟲蟠蠏蠍蟾蟶蟷蠎蟒蠑蠖蠕蠢蠡蠱蠶蠹蠧蠻衄衂衒衙衞衢衫袁衾袞衵衽袵衲袂袗袒袮袙袢袍袤袰袿袱裃裄裔裘裙裝裹褂裼裴裨裲褄褌褊褓襃褞褥褪褫襁襄褻褶褸襌褝襠襞���\".split(\"\");for(a=0;a!=t[229].length;++a)if(t[229][a].charCodeAt(0)!==65533){r[t[229][a]]=58624+a;e[58624+a]=t[229][a]}t[230]=\"����������������������������������������������������������������襦襤襭襪襯襴襷襾覃覈覊覓覘覡覩覦覬覯覲覺覽覿觀觚觜觝觧觴觸訃訖訐訌訛訝訥訶詁詛詒詆詈詼詭詬詢誅誂誄誨誡誑誥誦誚誣諄諍諂諚諫諳諧�諤諱謔諠諢諷諞諛謌謇謚諡謖謐謗謠謳鞫謦謫謾謨譁譌譏譎證譖譛譚譫譟譬譯譴譽讀讌讎讒讓讖讙讚谺豁谿豈豌豎豐豕豢豬豸豺貂貉貅貊貍貎貔豼貘戝貭貪貽貲貳貮貶賈賁賤賣賚賽賺賻贄贅贊贇贏贍贐齎贓賍贔贖赧赭赱赳趁趙跂趾趺跏跚跖跌跛跋跪跫跟跣跼踈踉跿踝踞踐踟蹂踵踰踴蹊���\".split(\"\");for(a=0;a!=t[230].length;++a)if(t[230][a].charCodeAt(0)!==65533){r[t[230][a]]=58880+a;e[58880+a]=t[230][a]}t[231]=\"����������������������������������������������������������������蹇蹉蹌蹐蹈蹙蹤蹠踪蹣蹕蹶蹲蹼躁躇躅躄躋躊躓躑躔躙躪躡躬躰軆躱躾軅軈軋軛軣軼軻軫軾輊輅輕輒輙輓輜輟輛輌輦輳輻輹轅轂輾轌轉轆轎轗轜�轢轣轤辜辟辣辭辯辷迚迥迢迪迯邇迴逅迹迺逑逕逡逍逞逖逋逧逶逵逹迸遏遐遑遒逎遉逾遖遘遞遨遯遶隨遲邂遽邁邀邊邉邏邨邯邱邵郢郤扈郛鄂鄒鄙鄲鄰酊酖酘酣酥酩酳酲醋醉醂醢醫醯醪醵醴醺釀釁釉釋釐釖釟釡釛釼釵釶鈞釿鈔鈬鈕鈑鉞鉗鉅鉉鉤鉈銕鈿鉋鉐銜銖銓銛鉚鋏銹銷鋩錏鋺鍄錮���\".split(\"\");for(a=0;a!=t[231].length;++a)if(t[231][a].charCodeAt(0)!==65533){r[t[231][a]]=59136+a;e[59136+a]=t[231][a]}t[232]=\"����������������������������������������������������������������錙錢錚錣錺錵錻鍜鍠鍼鍮鍖鎰鎬鎭鎔鎹鏖鏗鏨鏥鏘鏃鏝鏐鏈鏤鐚鐔鐓鐃鐇鐐鐶鐫鐵鐡鐺鑁鑒鑄鑛鑠鑢鑞鑪鈩鑰鑵鑷鑽鑚鑼鑾钁鑿閂閇閊閔閖閘閙�閠閨閧閭閼閻閹閾闊濶闃闍闌闕闔闖關闡闥闢阡阨阮阯陂陌陏陋陷陜陞陝陟陦陲陬隍隘隕隗險隧隱隲隰隴隶隸隹雎雋雉雍襍雜霍雕雹霄霆霈霓霎霑霏霖霙霤霪霰霹霽霾靄靆靈靂靉靜靠靤靦靨勒靫靱靹鞅靼鞁靺鞆鞋鞏鞐鞜鞨鞦鞣鞳鞴韃韆韈韋韜韭齏韲竟韶韵頏頌頸頤頡頷頽顆顏顋顫顯顰���\".split(\"\");for(a=0;a!=t[232].length;++a)if(t[232][a].charCodeAt(0)!==65533){r[t[232][a]]=59392+a;e[59392+a]=t[232][a]}t[233]=\"����������������������������������������������������������������顱顴顳颪颯颱颶飄飃飆飩飫餃餉餒餔餘餡餝餞餤餠餬餮餽餾饂饉饅饐饋饑饒饌饕馗馘馥馭馮馼駟駛駝駘駑駭駮駱駲駻駸騁騏騅駢騙騫騷驅驂驀驃�騾驕驍驛驗驟驢驥驤驩驫驪骭骰骼髀髏髑髓體髞髟髢髣髦髯髫髮髴髱髷髻鬆鬘鬚鬟鬢鬣鬥鬧鬨鬩鬪鬮鬯鬲魄魃魏魍魎魑魘魴鮓鮃鮑鮖鮗鮟鮠鮨鮴鯀鯊鮹鯆鯏鯑鯒鯣鯢鯤鯔鯡鰺鯲鯱鯰鰕鰔鰉鰓鰌鰆鰈鰒鰊鰄鰮鰛鰥鰤鰡鰰鱇鰲鱆鰾鱚鱠鱧鱶鱸鳧鳬鳰鴉鴈鳫鴃鴆鴪鴦鶯鴣鴟鵄鴕鴒鵁鴿鴾鵆鵈���\".split(\"\");for(a=0;a!=t[233].length;++a)if(t[233][a].charCodeAt(0)!==65533){r[t[233][a]]=59648+a;e[59648+a]=t[233][a]}t[234]=\"����������������������������������������������������������������鵝鵞鵤鵑鵐鵙鵲鶉鶇鶫鵯鵺鶚鶤鶩鶲鷄鷁鶻鶸鶺鷆鷏鷂鷙鷓鷸鷦鷭鷯鷽鸚鸛鸞鹵鹹鹽麁麈麋麌麒麕麑麝麥麩麸麪麭靡黌黎黏黐黔黜點黝黠黥黨黯�黴黶黷黹黻黼黽鼇鼈皷鼕鼡鼬鼾齊齒齔齣齟齠齡齦齧齬齪齷齲齶龕龜龠堯槇遙瑤凜熙�������������������������������������������������������������������������������������������\".split(\"\");for(a=0;a!=t[234].length;++a)if(t[234][a].charCodeAt(0)!==65533){r[t[234][a]]=59904+a;e[59904+a]=t[234][a]}t[237]=\"����������������������������������������������������������������纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏�塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱���\".split(\"\");for(a=0;a!=t[237].length;++a)if(t[237][a].charCodeAt(0)!==65533){r[t[237][a]]=60672+a;e[60672+a]=t[237][a]}t[238]=\"����������������������������������������������������������������犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙�蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑��ⅰⅱⅲⅳⅴⅵⅶⅷⅸⅹ￢￤＇＂���\".split(\"\");for(a=0;a!=t[238].length;++a)if(t[238][a].charCodeAt(0)!==65533){r[t[238][a]]=60928+a;e[60928+a]=t[238][a]}t[250]=\"����������������������������������������������������������������ⅰⅱⅲⅳⅴⅵⅶⅷⅸⅹⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩ￢￤＇＂㈱№℡∵纊褜鍈銈蓜俉炻昱棈鋹曻彅丨仡仼伀伃伹佖侒侊侚侔俍偀倢俿倞偆偰偂傔僴僘兊�兤冝冾凬刕劜劦勀勛匀匇匤卲厓厲叝﨎咜咊咩哿喆坙坥垬埈埇﨏塚增墲夋奓奛奝奣妤妺孖寀甯寘寬尞岦岺峵崧嵓﨑嵂嵭嶸嶹巐弡弴彧德忞恝悅悊惞惕愠惲愑愷愰憘戓抦揵摠撝擎敎昀昕昻昉昮昞昤晥晗晙晴晳暙暠暲暿曺朎朗杦枻桒柀栁桄棏﨓楨﨔榘槢樰橫橆橳橾櫢櫤毖氿汜沆汯泚洄涇浯���\".split(\"\");for(a=0;a!=t[250].length;++a)if(t[250][a].charCodeAt(0)!==65533){r[t[250][a]]=64e3+a;e[64e3+a]=t[250][a]}t[251]=\"����������������������������������������������������������������涖涬淏淸淲淼渹湜渧渼溿澈澵濵瀅瀇瀨炅炫焏焄煜煆煇凞燁燾犱犾猤猪獷玽珉珖珣珒琇珵琦琪琩琮瑢璉璟甁畯皂皜皞皛皦益睆劯砡硎硤硺礰礼神�祥禔福禛竑竧靖竫箞精絈絜綷綠緖繒罇羡羽茁荢荿菇菶葈蒴蕓蕙蕫﨟薰蘒﨡蠇裵訒訷詹誧誾諟諸諶譓譿賰賴贒赶﨣軏﨤逸遧郞都鄕鄧釚釗釞釭釮釤釥鈆鈐鈊鈺鉀鈼鉎鉙鉑鈹鉧銧鉷鉸鋧鋗鋙鋐﨧鋕鋠鋓錥錡鋻﨨錞鋿錝錂鍰鍗鎤鏆鏞鏸鐱鑅鑈閒隆﨩隝隯霳霻靃靍靏靑靕顗顥飯飼餧館馞驎髙���\".split(\"\");for(a=0;a!=t[251].length;++a)if(t[251][a].charCodeAt(0)!==65533){r[t[251][a]]=64256+a;e[64256+a]=t[251][a]}t[252]=\"����������������������������������������������������������������髜魵魲鮏鮱鮻鰀鵰鵫鶴鸙黑������������������������������������������������������������������������������������������������������������������������������������������������������������������������������������\".split(\"\");for(a=0;a!=t[252].length;++a)if(t[252][a].charCodeAt(0)!==65533){r[t[252][a]]=64512+a;e[64512+a]=t[252][a]}return{enc:r,dec:e}}();cptable[936]=function(){var e=[],r={},t=[],a;t[0]=\"\\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007\\b\\t\\n\\x0B\\f\\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�������������������������������������������������������������������������������������������������������������������������������\".split(\"\");for(a=0;a!=t[0].length;++a)if(t[0][a].charCodeAt(0)!==65533){r[t[0][a]]=0+a;e[0+a]=t[0][a]}t[129]=\"����������������������������������������������������������������丂丄丅丆丏丒丗丟丠両丣並丩丮丯丱丳丵丷丼乀乁乂乄乆乊乑乕乗乚乛乢乣乤乥乧乨乪乫乬乭乮乯乲乴乵乶乷乸乹乺乻乼乽乿亀亁亂亃亄亅亇亊�亐亖亗亙亜亝亞亣亪亯亰亱亴亶亷亸亹亼亽亾仈仌仏仐仒仚仛仜仠仢仦仧仩仭仮仯仱仴仸仹仺仼仾伀伂伃伄伅伆伇伈伋伌伒伓伔伕伖伜伝伡伣伨伩伬伭伮伱伳伵伷伹伻伾伿佀佁佂佄佅佇佈佉佊佋佌佒佔佖佡佢佦佨佪佫佭佮佱佲併佷佸佹佺佽侀侁侂侅來侇侊侌侎侐侒侓侕侖侘侙侚侜侞侟価侢�\".split(\"\");for(a=0;a!=t[129].length;++a)if(t[129][a].charCodeAt(0)!==65533){r[t[129][a]]=33024+a;e[33024+a]=t[129][a]}t[130]=\"����������������������������������������������������������������侤侫侭侰侱侲侳侴侶侷侸侹侺侻侼侽侾俀俁係俆俇俈俉俋俌俍俒俓俔俕俖俙俛俠俢俤俥俧俫俬俰俲俴俵俶俷俹俻俼俽俿倀倁倂倃倄倅倆倇倈倉倊�個倎倐們倓倕倖倗倛倝倞倠倢倣値倧倫倯倰倱倲倳倴倵倶倷倸倹倻倽倿偀偁偂偄偅偆偉偊偋偍偐偑偒偓偔偖偗偘偙偛偝偞偟偠偡偢偣偤偦偧偨偩偪偫偭偮偯偰偱偲偳側偵偸偹偺偼偽傁傂傃傄傆傇傉傊傋傌傎傏傐傑傒傓傔傕傖傗傘備傚傛傜傝傞傟傠傡傢傤傦傪傫傭傮傯傰傱傳傴債傶傷傸傹傼�\".split(\"\");for(a=0;a!=t[130].length;++a)if(t[130][a].charCodeAt(0)!==65533){r[t[130][a]]=33280+a;e[33280+a]=t[130][a]}t[131]=\"����������������������������������������������������������������傽傾傿僀僁僂僃僄僅僆僇僈僉僊僋僌働僎僐僑僒僓僔僕僗僘僙僛僜僝僞僟僠僡僢僣僤僥僨僩僪僫僯僰僱僲僴僶僷僸價僺僼僽僾僿儀儁儂儃億儅儈�儉儊儌儍儎儏儐儑儓儔儕儖儗儘儙儚儛儜儝儞償儠儢儣儤儥儦儧儨儩優儫儬儭儮儯儰儱儲儳儴儵儶儷儸儹儺儻儼儽儾兂兇兊兌兎兏児兒兓兗兘兙兛兝兞兟兠兡兣兤兦內兩兪兯兲兺兾兿冃冄円冇冊冋冎冏冐冑冓冔冘冚冝冞冟冡冣冦冧冨冩冪冭冮冴冸冹冺冾冿凁凂凃凅凈凊凍凎凐凒凓凔凕凖凗�\".split(\"\");for(a=0;a!=t[131].length;++a)if(t[131][a].charCodeAt(0)!==65533){r[t[131][a]]=33536+a;e[33536+a]=t[131][a]}t[132]=\"����������������������������������������������������������������凘凙凚凜凞凟凢凣凥処凧凨凩凪凬凮凱凲凴凷凾刄刅刉刋刌刏刐刓刔刕刜刞刟刡刢刣別刦刧刪刬刯刱刲刴刵刼刾剄剅剆則剈剉剋剎剏剒剓剕剗剘�剙剚剛剝剟剠剢剣剤剦剨剫剬剭剮剰剱剳剴創剶剷剸剹剺剻剼剾劀劃劄劅劆劇劉劊劋劌劍劎劏劑劒劔劕劖劗劘劙劚劜劤劥劦劧劮劯劰労劵劶劷劸効劺劻劼劽勀勁勂勄勅勆勈勊勌勍勎勏勑勓勔動勗務勚勛勜勝勞勠勡勢勣勥勦勧勨勩勪勫勬勭勮勯勱勲勳勴勵勶勷勸勻勼勽匁匂匃匄匇匉匊匋匌匎�\".split(\"\");for(a=0;a!=t[132].length;++a)if(t[132][a].charCodeAt(0)!==65533){r[t[132][a]]=33792+a;e[33792+a]=t[132][a]}t[133]=\"����������������������������������������������������������������匑匒匓匔匘匛匜匞匟匢匤匥匧匨匩匫匬匭匯匰匱匲匳匴匵匶匷匸匼匽區卂卄卆卋卌卍卐協単卙卛卝卥卨卪卬卭卲卶卹卻卼卽卾厀厁厃厇厈厊厎厏�厐厑厒厓厔厖厗厙厛厜厞厠厡厤厧厪厫厬厭厯厰厱厲厳厴厵厷厸厹厺厼厽厾叀參叄叅叆叇収叏叐叒叓叕叚叜叝叞叡叢叧叴叺叾叿吀吂吅吇吋吔吘吙吚吜吢吤吥吪吰吳吶吷吺吽吿呁呂呄呅呇呉呌呍呎呏呑呚呝呞呟呠呡呣呥呧呩呪呫呬呭呮呯呰呴呹呺呾呿咁咃咅咇咈咉咊咍咑咓咗咘咜咞咟咠咡�\".split(\"\");for(a=0;a!=t[133].length;++a)if(t[133][a].charCodeAt(0)!==65533){r[t[133][a]]=34048+a;e[34048+a]=t[133][a]}t[134]=\"����������������������������������������������������������������咢咥咮咰咲咵咶咷咹咺咼咾哃哅哊哋哖哘哛哠員哢哣哤哫哬哯哰哱哴哵哶哷哸哹哻哾唀唂唃唄唅唈唊唋唌唍唎唒唓唕唖唗唘唙唚唜唝唞唟唡唥唦�唨唩唫唭唲唴唵唶唸唹唺唻唽啀啂啅啇啈啋啌啍啎問啑啒啓啔啗啘啙啚啛啝啞啟啠啢啣啨啩啫啯啰啱啲啳啴啹啺啽啿喅喆喌喍喎喐喒喓喕喖喗喚喛喞喠喡喢喣喤喥喦喨喩喪喫喬喭單喯喰喲喴営喸喺喼喿嗀嗁嗂嗃嗆嗇嗈嗊嗋嗎嗏嗐嗕嗗嗘嗙嗚嗛嗞嗠嗢嗧嗩嗭嗮嗰嗱嗴嗶嗸嗹嗺嗻嗼嗿嘂嘃嘄嘅�\".split(\"\");for(a=0;a!=t[134].length;++a)if(t[134][a].charCodeAt(0)!==65533){r[t[134][a]]=34304+a;e[34304+a]=t[134][a]}t[135]=\"����������������������������������������������������������������嘆嘇嘊嘋嘍嘐嘑嘒嘓嘔嘕嘖嘗嘙嘚嘜嘝嘠嘡嘢嘥嘦嘨嘩嘪嘫嘮嘯嘰嘳嘵嘷嘸嘺嘼嘽嘾噀噁噂噃噄噅噆噇噈噉噊噋噏噐噑噒噓噕噖噚噛噝噞噟噠噡�噣噥噦噧噭噮噯噰噲噳噴噵噷噸噹噺噽噾噿嚀嚁嚂嚃嚄嚇嚈嚉嚊嚋嚌嚍嚐嚑嚒嚔嚕嚖嚗嚘嚙嚚嚛嚜嚝嚞嚟嚠嚡嚢嚤嚥嚦嚧嚨嚩嚪嚫嚬嚭嚮嚰嚱嚲嚳嚴嚵嚶嚸嚹嚺嚻嚽嚾嚿囀囁囂囃囄囅囆囇囈囉囋囌囍囎囏囐囑囒囓囕囖囘囙囜団囥囦囧囨囩囪囬囮囯囲図囶囷囸囻囼圀圁圂圅圇國圌圍圎圏圐圑�\".split(\"\");for(a=0;a!=t[135].length;++a)if(t[135][a].charCodeAt(0)!==65533){r[t[135][a]]=34560+a;e[34560+a]=t[135][a]}t[136]=\"����������������������������������������������������������������園圓圔圕圖圗團圙圚圛圝圞圠圡圢圤圥圦圧圫圱圲圴圵圶圷圸圼圽圿坁坃坄坅坆坈坉坋坒坓坔坕坖坘坙坢坣坥坧坬坮坰坱坲坴坵坸坹坺坽坾坿垀�垁垇垈垉垊垍垎垏垐垑垔垕垖垗垘垙垚垜垝垞垟垥垨垪垬垯垰垱垳垵垶垷垹垺垻垼垽垾垿埀埁埄埅埆埇埈埉埊埌埍埐埑埓埖埗埛埜埞埡埢埣埥埦埧埨埩埪埫埬埮埰埱埲埳埵埶執埻埼埾埿堁堃堄堅堈堉堊堌堎堏堐堒堓堔堖堗堘堚堛堜堝堟堢堣堥堦堧堨堩堫堬堭堮堯報堲堳場堶堷堸堹堺堻堼堽�\".split(\"\");for(a=0;a!=t[136].length;++a)if(t[136][a].charCodeAt(0)!==65533){r[t[136][a]]=34816+a;e[34816+a]=t[136][a]}t[137]=\"����������������������������������������������������������������堾堿塀塁塂塃塅塆塇塈塉塊塋塎塏塐塒塓塕塖塗塙塚塛塜塝塟塠塡塢塣塤塦塧塨塩塪塭塮塯塰塱塲塳塴塵塶塷塸塹塺塻塼塽塿墂墄墆墇墈墊墋墌�墍墎墏墐墑墔墕墖増墘墛墜墝墠墡墢墣墤墥墦墧墪墫墬墭墮墯墰墱墲墳墴墵墶墷墸墹墺墻墽墾墿壀壂壃壄壆壇壈壉壊壋壌壍壎壏壐壒壓壔壖壗壘壙壚壛壜壝壞壟壠壡壢壣壥壦壧壨壩壪壭壯壱売壴壵壷壸壺壻壼壽壾壿夀夁夃夅夆夈変夊夋夌夎夐夑夒夓夗夘夛夝夞夠夡夢夣夦夨夬夰夲夳夵夶夻�\".split(\"\");for(a=0;a!=t[137].length;++a)if(t[137][a].charCodeAt(0)!==65533){r[t[137][a]]=35072+a;e[35072+a]=t[137][a]}t[138]=\"����������������������������������������������������������������夽夾夿奀奃奅奆奊奌奍奐奒奓奙奛奜奝奞奟奡奣奤奦奧奨奩奪奫奬奭奮奯奰奱奲奵奷奺奻奼奾奿妀妅妉妋妌妎妏妐妑妔妕妘妚妛妜妝妟妠妡妢妦�妧妬妭妰妱妳妴妵妶妷妸妺妼妽妿姀姁姂姃姄姅姇姈姉姌姍姎姏姕姖姙姛姞姟姠姡姢姤姦姧姩姪姫姭姮姯姰姱姲姳姴姵姶姷姸姺姼姽姾娀娂娊娋娍娎娏娐娒娔娕娖娗娙娚娛娝娞娡娢娤娦娧娨娪娫娬娭娮娯娰娳娵娷娸娹娺娻娽娾娿婁婂婃婄婅婇婈婋婌婍婎婏婐婑婒婓婔婖婗婘婙婛婜婝婞婟婠�\".split(\"\");for(a=0;a!=t[138].length;++a)if(t[138][a].charCodeAt(0)!==65533){r[t[138][a]]=35328+a;e[35328+a]=t[138][a]}t[139]=\"����������������������������������������������������������������婡婣婤婥婦婨婩婫婬婭婮婯婰婱婲婳婸婹婻婼婽婾媀媁媂媃媄媅媆媇媈媉媊媋媌媍媎媏媐媑媓媔媕媖媗媘媙媜媝媞媟媠媡媢媣媤媥媦媧媨媩媫媬�媭媮媯媰媱媴媶媷媹媺媻媼媽媿嫀嫃嫄嫅嫆嫇嫈嫊嫋嫍嫎嫏嫐嫑嫓嫕嫗嫙嫚嫛嫝嫞嫟嫢嫤嫥嫧嫨嫪嫬嫭嫮嫯嫰嫲嫳嫴嫵嫶嫷嫸嫹嫺嫻嫼嫽嫾嫿嬀嬁嬂嬃嬄嬅嬆嬇嬈嬊嬋嬌嬍嬎嬏嬐嬑嬒嬓嬔嬕嬘嬙嬚嬛嬜嬝嬞嬟嬠嬡嬢嬣嬤嬥嬦嬧嬨嬩嬪嬫嬬嬭嬮嬯嬰嬱嬳嬵嬶嬸嬹嬺嬻嬼嬽嬾嬿孁孂孃孄孅孆孇�\".split(\"\");for(a=0;a!=t[139].length;++a)if(t[139][a].charCodeAt(0)!==65533){r[t[139][a]]=35584+a;e[35584+a]=t[139][a]}t[140]=\"����������������������������������������������������������������孈孉孊孋孌孍孎孏孒孖孞孠孡孧孨孫孭孮孯孲孴孶孷學孹孻孼孾孿宂宆宊宍宎宐宑宒宔宖実宧宨宩宬宭宮宯宱宲宷宺宻宼寀寁寃寈寉寊寋寍寎寏�寑寔寕寖寗寘寙寚寛寜寠寢寣實寧審寪寫寬寭寯寱寲寳寴寵寶寷寽対尀専尃尅將專尋尌對導尐尒尓尗尙尛尞尟尠尡尣尦尨尩尪尫尭尮尯尰尲尳尵尶尷屃屄屆屇屌屍屒屓屔屖屗屘屚屛屜屝屟屢層屧屨屩屪屫屬屭屰屲屳屴屵屶屷屸屻屼屽屾岀岃岄岅岆岇岉岊岋岎岏岒岓岕岝岞岟岠岡岤岥岦岧岨�\".split(\"\");for(a=0;a!=t[140].length;++a)if(t[140][a].charCodeAt(0)!==65533){r[t[140][a]]=35840+a;e[35840+a]=t[140][a]}t[141]=\"����������������������������������������������������������������岪岮岯岰岲岴岶岹岺岻岼岾峀峂峃峅峆峇峈峉峊峌峍峎峏峐峑峓峔峕峖峗峘峚峛峜峝峞峟峠峢峣峧峩峫峬峮峯峱峲峳峴峵島峷峸峹峺峼峽峾峿崀�崁崄崅崈崉崊崋崌崍崏崐崑崒崓崕崗崘崙崚崜崝崟崠崡崢崣崥崨崪崫崬崯崰崱崲崳崵崶崷崸崹崺崻崼崿嵀嵁嵂嵃嵄嵅嵆嵈嵉嵍嵎嵏嵐嵑嵒嵓嵔嵕嵖嵗嵙嵚嵜嵞嵟嵠嵡嵢嵣嵤嵥嵦嵧嵨嵪嵭嵮嵰嵱嵲嵳嵵嵶嵷嵸嵹嵺嵻嵼嵽嵾嵿嶀嶁嶃嶄嶅嶆嶇嶈嶉嶊嶋嶌嶍嶎嶏嶐嶑嶒嶓嶔嶕嶖嶗嶘嶚嶛嶜嶞嶟嶠�\".split(\"\");for(a=0;a!=t[141].length;++a)if(t[141][a].charCodeAt(0)!==65533){r[t[141][a]]=36096+a;e[36096+a]=t[141][a]}t[142]=\"����������������������������������������������������������������嶡嶢嶣嶤嶥嶦嶧嶨嶩嶪嶫嶬嶭嶮嶯嶰嶱嶲嶳嶴嶵嶶嶸嶹嶺嶻嶼嶽嶾嶿巀巁巂巃巄巆巇巈巉巊巋巌巎巏巐巑巒巓巔巕巖巗巘巙巚巜巟巠巣巤巪巬巭�巰巵巶巸巹巺巻巼巿帀帄帇帉帊帋帍帎帒帓帗帞帟帠帡帢帣帤帥帨帩帪師帬帯帰帲帳帴帵帶帹帺帾帿幀幁幃幆幇幈幉幊幋幍幎幏幐幑幒幓幖幗幘幙幚幜幝幟幠幣幤幥幦幧幨幩幪幫幬幭幮幯幰幱幵幷幹幾庁庂広庅庈庉庌庍庎庒庘庛庝庡庢庣庤庨庩庪庫庬庮庯庰庱庲庴庺庻庼庽庿廀廁廂廃廄廅�\".split(\"\");for(a=0;a!=t[142].length;++a)if(t[142][a].charCodeAt(0)!==65533){r[t[142][a]]=36352+a;e[36352+a]=t[142][a]}t[143]=\"����������������������������������������������������������������廆廇廈廋廌廍廎廏廐廔廕廗廘廙廚廜廝廞廟廠廡廢廣廤廥廦廧廩廫廬廭廮廯廰廱廲廳廵廸廹廻廼廽弅弆弇弉弌弍弎弐弒弔弖弙弚弜弝弞弡弢弣弤�弨弫弬弮弰弲弳弴張弶強弸弻弽弾弿彁彂彃彄彅彆彇彈彉彊彋彌彍彎彏彑彔彙彚彛彜彞彟彠彣彥彧彨彫彮彯彲彴彵彶彸彺彽彾彿徃徆徍徎徏徑従徔徖徚徛徝從徟徠徢徣徤徥徦徧復徫徬徯徰徱徲徳徴徶徸徹徺徻徾徿忀忁忂忇忈忊忋忎忓忔忕忚忛応忞忟忢忣忥忦忨忩忬忯忰忲忳忴忶忷忹忺忼怇�\".split(\"\");for(a=0;a!=t[143].length;++a)if(t[143][a].charCodeAt(0)!==65533){r[t[143][a]]=36608+a;e[36608+a]=t[143][a]}t[144]=\"����������������������������������������������������������������怈怉怋怌怐怑怓怗怘怚怞怟怢怣怤怬怭怮怰怱怲怳怴怶怷怸怹怺怽怾恀恄恅恆恇恈恉恊恌恎恏恑恓恔恖恗恘恛恜恞恟恠恡恥恦恮恱恲恴恵恷恾悀�悁悂悅悆悇悈悊悋悎悏悐悑悓悕悗悘悙悜悞悡悢悤悥悧悩悪悮悰悳悵悶悷悹悺悽悾悿惀惁惂惃惄惇惈惉惌惍惎惏惐惒惓惔惖惗惙惛惞惡惢惣惤惥惪惱惲惵惷惸惻惼惽惾惿愂愃愄愅愇愊愋愌愐愑愒愓愔愖愗愘愙愛愜愝愞愡愢愥愨愩愪愬愭愮愯愰愱愲愳愴愵愶愷愸愹愺愻愼愽愾慀慁慂慃慄慅慆�\".split(\"\");for(a=0;a!=t[144].length;++a)if(t[144][a].charCodeAt(0)!==65533){r[t[144][a]]=36864+a;e[36864+a]=t[144][a]}t[145]=\"����������������������������������������������������������������慇慉態慍慏慐慒慓慔慖慗慘慙慚慛慜慞慟慠慡慣慤慥慦慩慪慫慬慭慮慯慱慲慳慴慶慸慹慺慻慼慽慾慿憀憁憂憃憄憅憆憇憈憉憊憌憍憏憐憑憒憓憕�憖憗憘憙憚憛憜憞憟憠憡憢憣憤憥憦憪憫憭憮憯憰憱憲憳憴憵憶憸憹憺憻憼憽憿懀懁懃懄懅懆懇應懌懍懎懏懐懓懕懖懗懘懙懚懛懜懝懞懟懠懡懢懣懤懥懧懨懩懪懫懬懭懮懯懰懱懲懳懴懶懷懸懹懺懻懼懽懾戀戁戂戃戄戅戇戉戓戔戙戜戝戞戠戣戦戧戨戩戫戭戯戰戱戲戵戶戸戹戺戻戼扂扄扅扆扊�\".split(\"\");for(a=0;a!=t[145].length;++a)if(t[145][a].charCodeAt(0)!==65533){r[t[145][a]]=37120+a;e[37120+a]=t[145][a]}t[146]=\"����������������������������������������������������������������扏扐払扖扗扙扚扜扝扞扟扠扡扢扤扥扨扱扲扴扵扷扸扺扻扽抁抂抃抅抆抇抈抋抌抍抎抏抐抔抙抜抝択抣抦抧抩抪抭抮抯抰抲抳抴抶抷抸抺抾拀拁�拃拋拏拑拕拝拞拠拡拤拪拫拰拲拵拸拹拺拻挀挃挄挅挆挊挋挌挍挏挐挒挓挔挕挗挘挙挜挦挧挩挬挭挮挰挱挳挴挵挶挷挸挻挼挾挿捀捁捄捇捈捊捑捒捓捔捖捗捘捙捚捛捜捝捠捤捥捦捨捪捫捬捯捰捲捳捴捵捸捹捼捽捾捿掁掃掄掅掆掋掍掑掓掔掕掗掙掚掛掜掝掞掟採掤掦掫掯掱掲掵掶掹掻掽掿揀�\".split(\"\");for(a=0;a!=t[146].length;++a)if(t[146][a].charCodeAt(0)!==65533){r[t[146][a]]=37376+a;e[37376+a]=t[146][a]}t[147]=\"����������������������������������������������������������������揁揂揃揅揇揈揊揋揌揑揓揔揕揗揘揙揚換揜揝揟揢揤揥揦揧揨揫揬揮揯揰揱揳揵揷揹揺揻揼揾搃搄搆搇搈搉搊損搎搑搒搕搖搗搘搙搚搝搟搢搣搤�搥搧搨搩搫搮搯搰搱搲搳搵搶搷搸搹搻搼搾摀摂摃摉摋摌摍摎摏摐摑摓摕摖摗摙摚摛摜摝摟摠摡摢摣摤摥摦摨摪摫摬摮摯摰摱摲摳摴摵摶摷摻摼摽摾摿撀撁撃撆撈撉撊撋撌撍撎撏撐撓撔撗撘撚撛撜撝撟撠撡撢撣撥撦撧撨撪撫撯撱撲撳撴撶撹撻撽撾撿擁擃擄擆擇擈擉擊擋擌擏擑擓擔擕擖擙據�\".split(\"\");for(a=0;a!=t[147].length;++a)if(t[147][a].charCodeAt(0)!==65533){r[t[147][a]]=37632+a;e[37632+a]=t[147][a]}t[148]=\"����������������������������������������������������������������擛擜擝擟擠擡擣擥擧擨擩擪擫擬擭擮擯擰擱擲擳擴擵擶擷擸擹擺擻擼擽擾擿攁攂攃攄攅攆攇攈攊攋攌攍攎攏攐攑攓攔攕攖攗攙攚攛攜攝攞攟攠攡�攢攣攤攦攧攨攩攪攬攭攰攱攲攳攷攺攼攽敀敁敂敃敄敆敇敊敋敍敎敐敒敓敔敗敘敚敜敟敠敡敤敥敧敨敩敪敭敮敯敱敳敵敶數敹敺敻敼敽敾敿斀斁斂斃斄斅斆斈斉斊斍斎斏斒斔斕斖斘斚斝斞斠斢斣斦斨斪斬斮斱斲斳斴斵斶斷斸斺斻斾斿旀旂旇旈旉旊旍旐旑旓旔旕旘旙旚旛旜旝旞旟旡旣旤旪旫�\".split(\"\");for(a=0;a!=t[148].length;++a)if(t[148][a].charCodeAt(0)!==65533){r[t[148][a]]=37888+a;e[37888+a]=t[148][a]}t[149]=\"����������������������������������������������������������������旲旳旴旵旸旹旻旼旽旾旿昁昄昅昇昈昉昋昍昐昑昒昖昗昘昚昛昜昞昡昢昣昤昦昩昪昫昬昮昰昲昳昷昸昹昺昻昽昿晀時晄晅晆晇晈晉晊晍晎晐晑晘�晙晛晜晝晞晠晢晣晥晧晩晪晫晬晭晱晲晳晵晸晹晻晼晽晿暀暁暃暅暆暈暉暊暋暍暎暏暐暒暓暔暕暘暙暚暛暜暞暟暠暡暢暣暤暥暦暩暪暫暬暭暯暰暱暲暳暵暶暷暸暺暻暼暽暿曀曁曂曃曄曅曆曇曈曉曊曋曌曍曎曏曐曑曒曓曔曕曖曗曘曚曞曟曠曡曢曣曤曥曧曨曪曫曬曭曮曯曱曵曶書曺曻曽朁朂會�\".split(\"\");for(a=0;a!=t[149].length;++a)if(t[149][a].charCodeAt(0)!==65533){r[t[149][a]]=38144+a;e[38144+a]=t[149][a]}t[150]=\"����������������������������������������������������������������朄朅朆朇朌朎朏朑朒朓朖朘朙朚朜朞朠朡朢朣朤朥朧朩朮朰朲朳朶朷朸朹朻朼朾朿杁杄杅杇杊杋杍杒杔杕杗杘杙杚杛杝杢杣杤杦杧杫杬杮東杴杶�杸杹杺杻杽枀枂枃枅枆枈枊枌枍枎枏枑枒枓枔枖枙枛枟枠枡枤枦枩枬枮枱枲枴枹枺枻枼枽枾枿柀柂柅柆柇柈柉柊柋柌柍柎柕柖柗柛柟柡柣柤柦柧柨柪柫柭柮柲柵柶柷柸柹柺査柼柾栁栂栃栄栆栍栐栒栔栕栘栙栚栛栜栞栟栠栢栣栤栥栦栧栨栫栬栭栮栯栰栱栴栵栶栺栻栿桇桋桍桏桒桖桗桘桙桚桛�\".split(\"\");for(a=0;a!=t[150].length;++a)if(t[150][a].charCodeAt(0)!==65533){r[t[150][a]]=38400+a;e[38400+a]=t[150][a]}t[151]=\"����������������������������������������������������������������桜桝桞桟桪桬桭桮桯桰桱桲桳桵桸桹桺桻桼桽桾桿梀梂梄梇梈梉梊梋梌梍梎梐梑梒梔梕梖梘梙梚梛梜條梞梟梠梡梣梤梥梩梪梫梬梮梱梲梴梶梷梸�梹梺梻梼梽梾梿棁棃棄棅棆棇棈棊棌棎棏棐棑棓棔棖棗棙棛棜棝棞棟棡棢棤棥棦棧棨棩棪棫棬棭棯棲棳棴棶棷棸棻棽棾棿椀椂椃椄椆椇椈椉椊椌椏椑椓椔椕椖椗椘椙椚椛検椝椞椡椢椣椥椦椧椨椩椪椫椬椮椯椱椲椳椵椶椷椸椺椻椼椾楀楁楃楄楅楆楇楈楉楊楋楌楍楎楏楐楑楒楓楕楖楘楙楛楜楟�\".split(\"\");for(a=0;a!=t[151].length;++a)if(t[151][a].charCodeAt(0)!==65533){r[t[151][a]]=38656+a;e[38656+a]=t[151][a]}t[152]=\"����������������������������������������������������������������楡楢楤楥楧楨楩楪楬業楯楰楲楳楴極楶楺楻楽楾楿榁榃榅榊榋榌榎榏榐榑榒榓榖榗榙榚榝榞榟榠榡榢榣榤榥榦榩榪榬榮榯榰榲榳榵榶榸榹榺榼榽�榾榿槀槂槃槄槅槆槇槈槉構槍槏槑槒槓槕槖槗様槙槚槜槝槞槡槢槣槤槥槦槧槨槩槪槫槬槮槯槰槱槳槴槵槶槷槸槹槺槻槼槾樀樁樂樃樄樅樆樇樈樉樋樌樍樎樏樐樑樒樓樔樕樖標樚樛樜樝樞樠樢樣樤樥樦樧権樫樬樭樮樰樲樳樴樶樷樸樹樺樻樼樿橀橁橂橃橅橆橈橉橊橋橌橍橎橏橑橒橓橔橕橖橗橚�\".split(\"\");for(a=0;a!=t[152].length;++a)if(t[152][a].charCodeAt(0)!==65533){r[t[152][a]]=38912+a;e[38912+a]=t[152][a]}t[153]=\"����������������������������������������������������������������橜橝橞機橠橢橣橤橦橧橨橩橪橫橬橭橮橯橰橲橳橴橵橶橷橸橺橻橽橾橿檁檂檃檅檆檇檈檉檊檋檌檍檏檒檓檔檕檖檘檙檚檛檜檝檞檟檡檢檣檤檥檦�檧檨檪檭檮檯檰檱檲檳檴檵檶檷檸檹檺檻檼檽檾檿櫀櫁櫂櫃櫄櫅櫆櫇櫈櫉櫊櫋櫌櫍櫎櫏櫐櫑櫒櫓櫔櫕櫖櫗櫘櫙櫚櫛櫜櫝櫞櫟櫠櫡櫢櫣櫤櫥櫦櫧櫨櫩櫪櫫櫬櫭櫮櫯櫰櫱櫲櫳櫴櫵櫶櫷櫸櫹櫺櫻櫼櫽櫾櫿欀欁欂欃欄欅欆欇欈欉權欋欌欍欎欏欐欑欒欓欔欕欖欗欘欙欚欛欜欝欞欟欥欦欨欩欪欫欬欭欮�\".split(\"\");for(a=0;a!=t[153].length;++a)if(t[153][a].charCodeAt(0)!==65533){r[t[153][a]]=39168+a;e[39168+a]=t[153][a]}t[154]=\"����������������������������������������������������������������欯欰欱欳欴欵欶欸欻欼欽欿歀歁歂歄歅歈歊歋歍歎歏歐歑歒歓歔歕歖歗歘歚歛歜歝歞歟歠歡歨歩歫歬歭歮歯歰歱歲歳歴歵歶歷歸歺歽歾歿殀殅殈�殌殎殏殐殑殔殕殗殘殙殜殝殞殟殠殢殣殤殥殦殧殨殩殫殬殭殮殯殰殱殲殶殸殹殺殻殼殽殾毀毃毄毆毇毈毉毊毌毎毐毑毘毚毜毝毞毟毠毢毣毤毥毦毧毨毩毬毭毮毰毱毲毴毶毷毸毺毻毼毾毿氀氁氂氃氄氈氉氊氋氌氎氒気氜氝氞氠氣氥氫氬氭氱氳氶氷氹氺氻氼氾氿汃汄汅汈汋汌汍汎汏汑汒汓汖汘�\".split(\"\");for(a=0;a!=t[154].length;++a)if(t[154][a].charCodeAt(0)!==65533){r[t[154][a]]=39424+a;e[39424+a]=t[154][a]}t[155]=\"����������������������������������������������������������������汙汚汢汣汥汦汧汫汬汭汮汯汱汳汵汷汸決汻汼汿沀沄沇沊沋沍沎沑沒沕沖沗沘沚沜沝沞沠沢沨沬沯沰沴沵沶沷沺泀況泂泃泆泇泈泋泍泎泏泑泒泘�泙泚泜泝泟泤泦泧泩泬泭泲泴泹泿洀洂洃洅洆洈洉洊洍洏洐洑洓洔洕洖洘洜洝洟洠洡洢洣洤洦洨洩洬洭洯洰洴洶洷洸洺洿浀浂浄浉浌浐浕浖浗浘浛浝浟浡浢浤浥浧浨浫浬浭浰浱浲浳浵浶浹浺浻浽浾浿涀涁涃涄涆涇涊涋涍涏涐涒涖涗涘涙涚涜涢涥涬涭涰涱涳涴涶涷涹涺涻涼涽涾淁淂淃淈淉淊�\".split(\"\");for(a=0;a!=t[155].length;++a)if(t[155][a].charCodeAt(0)!==65533){r[t[155][a]]=39680+a;e[39680+a]=t[155][a]}t[156]=\"����������������������������������������������������������������淍淎淏淐淒淓淔淕淗淚淛淜淟淢淣淥淧淨淩淪淭淯淰淲淴淵淶淸淺淽淾淿渀渁渂渃渄渆渇済渉渋渏渒渓渕渘渙減渜渞渟渢渦渧渨渪測渮渰渱渳渵�渶渷渹渻渼渽渾渿湀湁湂湅湆湇湈湉湊湋湌湏湐湑湒湕湗湙湚湜湝湞湠湡湢湣湤湥湦湧湨湩湪湬湭湯湰湱湲湳湴湵湶湷湸湹湺湻湼湽満溁溂溄溇溈溊溋溌溍溎溑溒溓溔溕準溗溙溚溛溝溞溠溡溣溤溦溨溩溫溬溭溮溰溳溵溸溹溼溾溿滀滃滄滅滆滈滉滊滌滍滎滐滒滖滘滙滛滜滝滣滧滪滫滬滭滮滯�\".split(\"\");for(a=0;a!=t[156].length;++a)if(t[156][a].charCodeAt(0)!==65533){r[t[156][a]]=39936+a;e[39936+a]=t[156][a]}t[157]=\"����������������������������������������������������������������滰滱滲滳滵滶滷滸滺滻滼滽滾滿漀漁漃漄漅漇漈漊漋漌漍漎漐漑漒漖漗漘漙漚漛漜漝漞漟漡漢漣漥漦漧漨漬漮漰漲漴漵漷漸漹漺漻漼漽漿潀潁潂�潃潄潅潈潉潊潌潎潏潐潑潒潓潔潕潖潗潙潚潛潝潟潠潡潣潤潥潧潨潩潪潫潬潯潰潱潳潵潶潷潹潻潽潾潿澀澁澂澃澅澆澇澊澋澏澐澑澒澓澔澕澖澗澘澙澚澛澝澞澟澠澢澣澤澥澦澨澩澪澫澬澭澮澯澰澱澲澴澵澷澸澺澻澼澽澾澿濁濃濄濅濆濇濈濊濋濌濍濎濏濐濓濔濕濖濗濘濙濚濛濜濝濟濢濣濤濥�\".split(\"\");for(a=0;a!=t[157].length;++a)if(t[157][a].charCodeAt(0)!==65533){r[t[157][a]]=40192+a;e[40192+a]=t[157][a]}t[158]=\"����������������������������������������������������������������濦濧濨濩濪濫濬濭濰濱濲濳濴濵濶濷濸濹濺濻濼濽濾濿瀀瀁瀂瀃瀄瀅瀆瀇瀈瀉瀊瀋瀌瀍瀎瀏瀐瀒瀓瀔瀕瀖瀗瀘瀙瀜瀝瀞瀟瀠瀡瀢瀤瀥瀦瀧瀨瀩瀪�瀫瀬瀭瀮瀯瀰瀱瀲瀳瀴瀶瀷瀸瀺瀻瀼瀽瀾瀿灀灁灂灃灄灅灆灇灈灉灊灋灍灎灐灑灒灓灔灕灖灗灘灙灚灛灜灝灟灠灡灢灣灤灥灦灧灨灩灪灮灱灲灳灴灷灹灺灻災炁炂炃炄炆炇炈炋炌炍炏炐炑炓炗炘炚炛炞炟炠炡炢炣炤炥炦炧炨炩炪炰炲炴炵炶為炾炿烄烅烆烇烉烋烌烍烎烏烐烑烒烓烔烕烖烗烚�\".split(\"\");for(a=0;a!=t[158].length;++a)if(t[158][a].charCodeAt(0)!==65533){r[t[158][a]]=40448+a;e[40448+a]=t[158][a]}t[159]=\"����������������������������������������������������������������烜烝烞烠烡烢烣烥烪烮烰烱烲烳烴烵烶烸烺烻烼烾烿焀焁焂焃焄焅焆焇焈焋焌焍焎焏焑焒焔焗焛焜焝焞焟焠無焢焣焤焥焧焨焩焪焫焬焭焮焲焳焴�焵焷焸焹焺焻焼焽焾焿煀煁煂煃煄煆煇煈煉煋煍煏煐煑煒煓煔煕煖煗煘煙煚煛煝煟煠煡煢煣煥煩煪煫煬煭煯煰煱煴煵煶煷煹煻煼煾煿熀熁熂熃熅熆熇熈熉熋熌熍熎熐熑熒熓熕熖熗熚熛熜熝熞熡熢熣熤熥熦熧熩熪熫熭熮熯熰熱熲熴熶熷熸熺熻熼熽熾熿燀燁燂燄燅燆燇燈燉燊燋燌燍燏燐燑燒燓�\".split(\"\");for(a=0;a!=t[159].length;++a)if(t[159][a].charCodeAt(0)!==65533){r[t[159][a]]=40704+a;e[40704+a]=t[159][a]}t[160]=\"����������������������������������������������������������������燖燗燘燙燚燛燜燝燞營燡燢燣燤燦燨燩燪燫燬燭燯燰燱燲燳燴燵燶燷燸燺燻燼燽燾燿爀爁爂爃爄爅爇爈爉爊爋爌爍爎爏爐爑爒爓爔爕爖爗爘爙爚�爛爜爞爟爠爡爢爣爤爥爦爧爩爫爭爮爯爲爳爴爺爼爾牀牁牂牃牄牅牆牉牊牋牎牏牐牑牓牔牕牗牘牚牜牞牠牣牤牥牨牪牫牬牭牰牱牳牴牶牷牸牻牼牽犂犃犅犆犇犈犉犌犎犐犑犓犔犕犖犗犘犙犚犛犜犝犞犠犡犢犣犤犥犦犧犨犩犪犫犮犱犲犳犵犺犻犼犽犾犿狀狅狆狇狉狊狋狌狏狑狓狔狕狖狘狚狛�\".split(\"\");for(a=0;a!=t[160].length;++a)if(t[160][a].charCodeAt(0)!==65533){r[t[160][a]]=40960+a;e[40960+a]=t[160][a]}t[161]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������　、。·ˉˇ¨〃々—～‖…‘’“”〔〕〈〉《》「」『』〖〗【】±×÷∶∧∨∑∏∪∩∈∷√⊥∥∠⌒⊙∫∮≡≌≈∽∝≠≮≯≤≥∞∵∴♂♀°′″℃＄¤￠￡‰§№☆★○●◎◇◆□■△▲※→←↑↓〓�\".split(\"\");for(a=0;a!=t[161].length;++a)if(t[161][a].charCodeAt(0)!==65533){r[t[161][a]]=41216+a;e[41216+a]=t[161][a]}t[162]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������ⅰⅱⅲⅳⅴⅵⅶⅷⅸⅹ������⒈⒉⒊⒋⒌⒍⒎⒏⒐⒑⒒⒓⒔⒕⒖⒗⒘⒙⒚⒛⑴⑵⑶⑷⑸⑹⑺⑻⑼⑽⑾⑿⒀⒁⒂⒃⒄⒅⒆⒇①②③④⑤⑥⑦⑧⑨⑩��㈠㈡㈢㈣㈤㈥㈦㈧㈨㈩��ⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩⅪⅫ���\".split(\"\");for(a=0;a!=t[162].length;++a)if(t[162][a].charCodeAt(0)!==65533){r[t[162][a]]=41472+a;e[41472+a]=t[162][a]}t[163]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������！＂＃￥％＆＇（）＊＋，－．／０１２３４５６７８９：；＜＝＞？＠ＡＢＣＤＥＦＧＨＩＪＫＬＭＮＯＰＱＲＳＴＵＶＷＸＹＺ［＼］＾＿｀ａｂｃｄｅｆｇｈｉｊｋｌｍｎｏｐｑｒｓｔｕｖｗｘｙｚ｛｜｝￣�\".split(\"\");for(a=0;a!=t[163].length;++a)if(t[163][a].charCodeAt(0)!==65533){r[t[163][a]]=41728+a;e[41728+a]=t[163][a]}t[164]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������ぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞただちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽまみむめもゃやゅゆょよらりるれろゎわゐゑをん������������\".split(\"\");for(a=0;a!=t[164].length;++a)if(t[164][a].charCodeAt(0)!==65533){r[t[164][a]]=41984+a;e[41984+a]=t[164][a]}t[165]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������ァアィイゥウェエォオカガキギクグケゲコゴサザシジスズセゼソゾタダチヂッツヅテデトドナニヌネノハバパヒビピフブプヘベペホボポマミムメモャヤュユョヨラリルレロヮワヰヱヲンヴヵヶ���������\".split(\"\");for(a=0;a!=t[165].length;++a)if(t[165][a].charCodeAt(0)!==65533){r[t[165][a]]=42240+a;e[42240+a]=t[165][a]}t[166]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ��������αβγδεζηθικλμνξοπρστυφχψω�������︵︶︹︺︿﹀︽︾﹁﹂﹃﹄��︻︼︷︸︱�︳︴����������\".split(\"\");for(a=0;a!=t[166].length;++a)if(t[166][a].charCodeAt(0)!==65533){r[t[166][a]]=42496+a;e[42496+a]=t[166][a]}t[167]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ���������������абвгдеёжзийклмнопрстуфхцчшщъыьэюя��������������\".split(\"\");for(a=0;a!=t[167].length;++a)if(t[167][a].charCodeAt(0)!==65533){r[t[167][a]]=42752+a;e[42752+a]=t[167][a]}t[168]=\"����������������������������������������������������������������ˊˋ˙–―‥‵℅℉↖↗↘↙∕∟∣≒≦≧⊿═║╒╓╔╕╖╗╘╙╚╛╜╝╞╟╠╡╢╣╤╥╦╧╨╩╪╫╬╭╮╯╰╱╲╳▁▂▃▄▅▆▇�█▉▊▋▌▍▎▏▓▔▕▼▽◢◣◤◥☉⊕〒〝〞�����������āáǎàēéěèīíǐìōóǒòūúǔùǖǘǚǜüêɑ�ńň�ɡ����ㄅㄆㄇㄈㄉㄊㄋㄌㄍㄎㄏㄐㄑㄒㄓㄔㄕㄖㄗㄘㄙㄚㄛㄜㄝㄞㄟㄠㄡㄢㄣㄤㄥㄦㄧㄨㄩ����������������������\".split(\"\");for(a=0;a!=t[168].length;++a)if(t[168][a].charCodeAt(0)!==65533){r[t[168][a]]=43008+a;e[43008+a]=t[168][a]}t[169]=\"����������������������������������������������������������������〡〢〣〤〥〦〧〨〩㊣㎎㎏㎜㎝㎞㎡㏄㏎㏑㏒㏕︰￢￤�℡㈱�‐���ー゛゜ヽヾ〆ゝゞ﹉﹊﹋﹌﹍﹎﹏﹐﹑﹒﹔﹕﹖﹗﹙﹚﹛﹜﹝﹞﹟﹠﹡�﹢﹣﹤﹥﹦﹨﹩﹪﹫�������������〇�������������─━│┃┄┅┆┇┈┉┊┋┌┍┎┏┐┑┒┓└┕┖┗┘┙┚┛├┝┞┟┠┡┢┣┤┥┦┧┨┩┪┫┬┭┮┯┰┱┲┳┴┵┶┷┸┹┺┻┼┽┾┿╀╁╂╃╄╅╆╇╈╉╊╋����������������\".split(\"\");for(a=0;a!=t[169].length;++a)if(t[169][a].charCodeAt(0)!==65533){r[t[169][a]]=43264+a;e[43264+a]=t[169][a]}t[170]=\"����������������������������������������������������������������狜狝狟狢狣狤狥狦狧狪狫狵狶狹狽狾狿猀猂猄猅猆猇猈猉猋猌猍猏猐猑猒猔猘猙猚猟猠猣猤猦猧猨猭猯猰猲猳猵猶猺猻猼猽獀獁獂獃獄獅獆獇獈�獉獊獋獌獎獏獑獓獔獕獖獘獙獚獛獜獝獞獟獡獢獣獤獥獦獧獨獩獪獫獮獰獱�����������������������������������������������������������������������������������������������\".split(\"\");for(a=0;a!=t[170].length;++a)if(t[170][a].charCodeAt(0)!==65533){r[t[170][a]]=43520+a;e[43520+a]=t[170][a]}t[171]=\"����������������������������������������������������������������獲獳獴獵獶獷獸獹獺獻獼獽獿玀玁玂玃玅玆玈玊玌玍玏玐玒玓玔玕玗玘玙玚玜玝玞玠玡玣玤玥玦玧玨玪玬玭玱玴玵玶玸玹玼玽玾玿珁珃珄珅珆珇�珋珌珎珒珓珔珕珖珗珘珚珛珜珝珟珡珢珣珤珦珨珪珫珬珮珯珰珱珳珴珵珶珷�����������������������������������������������������������������������������������������������\".split(\"\");for(a=0;a!=t[171].length;++a)if(t[171][a].charCodeAt(0)!==65533){r[t[171][a]]=43776+a;e[43776+a]=t[171][a]}t[172]=\"����������������������������������������������������������������珸珹珺珻珼珽現珿琀琁琂琄琇琈琋琌琍琎琑琒琓琔琕琖琗琘琙琜琝琞琟琠琡琣琤琧琩琫琭琯琱琲琷琸琹琺琻琽琾琿瑀瑂瑃瑄瑅瑆瑇瑈瑉瑊瑋瑌瑍�瑎瑏瑐瑑瑒瑓瑔瑖瑘瑝瑠瑡瑢瑣瑤瑥瑦瑧瑨瑩瑪瑫瑬瑮瑯瑱瑲瑳瑴瑵瑸瑹瑺�����������������������������������������������������������������������������������������������\".split(\"\");for(a=0;a!=t[172].length;++a)if(t[172][a].charCodeAt(0)!==65533){r[t[172][a]]=44032+a;e[44032+a]=t[172][a]}t[173]=\"����������������������������������������������������������������瑻瑼瑽瑿璂璄璅璆璈璉璊璌璍璏璑璒璓璔璕璖璗璘璙璚璛璝璟璠璡璢璣璤璥璦璪璫璬璭璮璯環璱璲璳璴璵璶璷璸璹璻璼璽璾璿瓀瓁瓂瓃瓄瓅瓆瓇�瓈瓉瓊瓋瓌瓍瓎瓏瓐瓑瓓瓔瓕瓖瓗瓘瓙瓚瓛瓝瓟瓡瓥瓧瓨瓩瓪瓫瓬瓭瓰瓱瓲�����������������������������������������������������������������������������������������������\".split(\"\");for(a=0;a!=t[173].length;++a)if(t[173][a].charCodeAt(0)!==65533){r[t[173][a]]=44288+a;e[44288+a]=t[173][a]}t[174]=\"����������������������������������������������������������������瓳瓵瓸瓹瓺瓻瓼瓽瓾甀甁甂甃甅甆甇甈甉甊甋甌甎甐甒甔甕甖甗甛甝甞甠甡產産甤甦甧甪甮甴甶甹甼甽甿畁畂畃畄畆畇畉畊畍畐畑畒畓畕畖畗畘�畝畞畟畠畡畢畣畤畧畨畩畫畬畭畮畯異畱畳畵當畷畺畻畼畽畾疀疁疂疄疅疇�����������������������������������������������������������������������������������������������\".split(\"\");for(a=0;a!=t[174].length;++a)if(t[174][a].charCodeAt(0)!==65533){r[t[174][a]]=44544+a;e[44544+a]=t[174][a]}t[175]=\"����������������������������������������������������������������疈疉疊疌疍疎疐疓疕疘疛疜疞疢疦疧疨疩疪疭疶疷疺疻疿痀痁痆痋痌痎痏痐痑痓痗痙痚痜痝痟痠痡痥痩痬痭痮痯痲痳痵痶痷痸痺痻痽痾瘂瘄瘆瘇�瘈瘉瘋瘍瘎瘏瘑瘒瘓瘔瘖瘚瘜瘝瘞瘡瘣瘧瘨瘬瘮瘯瘱瘲瘶瘷瘹瘺瘻瘽癁療癄�����������������������������������������������������������������������������������������������\".split(\"\");for(a=0;a!=t[175].length;++a)if(t[175][a].charCodeAt(0)!==65533){r[t[175][a]]=44800+a;e[44800+a]=t[175][a]}t[176]=\"����������������������������������������������������������������癅癆癇癈癉癊癋癎癏癐癑癒癓癕癗癘癙癚癛癝癟癠癡癢癤癥癦癧癨癩癪癬癭癮癰癱癲癳癴癵癶癷癹発發癿皀皁皃皅皉皊皌皍皏皐皒皔皕皗皘皚皛�皜皝皞皟皠皡皢皣皥皦皧皨皩皪皫皬皭皯皰皳皵皶皷皸皹皺皻皼皽皾盀盁盃啊阿埃挨哎唉哀皑癌蔼矮艾碍爱隘鞍氨安俺按暗岸胺案肮昂盎凹敖熬翱袄傲奥懊澳芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸白柏百摆佰败拜稗斑班搬扳般颁板版扮拌伴瓣半办绊邦帮梆榜膀绑棒磅蚌镑傍谤苞胞包褒剥�\".split(\"\");for(a=0;a!=t[176].length;++a)if(t[176][a].charCodeAt(0)!==65533){r[t[176][a]]=45056+a;e[45056+a]=t[176][a]}t[177]=\"����������������������������������������������������������������盄盇盉盋盌盓盕盙盚盜盝盞盠盡盢監盤盦盧盨盩盪盫盬盭盰盳盵盶盷盺盻盽盿眀眂眃眅眆眊県眎眏眐眑眒眓眔眕眖眗眘眛眜眝眞眡眣眤眥眧眪眫�眬眮眰眱眲眳眴眹眻眽眾眿睂睄睅睆睈睉睊睋睌睍睎睏睒睓睔睕睖睗睘睙睜薄雹保堡饱宝抱报暴豹鲍爆杯碑悲卑北辈背贝钡倍狈备惫焙被奔苯本笨崩绷甭泵蹦迸逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛鞭边编贬扁便变卞辨辩辫遍标彪膘表鳖憋别瘪彬斌濒滨宾摈兵冰柄丙秉饼炳�\".split(\"\");for(a=0;a!=t[177].length;++a)if(t[177][a].charCodeAt(0)!==65533){r[t[177][a]]=45312+a;e[45312+a]=t[177][a]}t[178]=\"����������������������������������������������������������������睝睞睟睠睤睧睩睪睭睮睯睰睱睲睳睴睵睶睷睸睺睻睼瞁瞂瞃瞆瞇瞈瞉瞊瞋瞏瞐瞓瞔瞕瞖瞗瞘瞙瞚瞛瞜瞝瞞瞡瞣瞤瞦瞨瞫瞭瞮瞯瞱瞲瞴瞶瞷瞸瞹瞺�瞼瞾矀矁矂矃矄矅矆矇矈矉矊矋矌矎矏矐矑矒矓矔矕矖矘矙矚矝矞矟矠矡矤病并玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳捕卜哺补埠不布步簿部怖擦猜裁材才财睬踩采彩菜蔡餐参蚕残惭惨灿苍舱仓沧藏操糙槽曹草厕策侧册测层蹭插叉茬茶查碴搽察岔差诧拆柴豺搀掺蝉馋谗缠铲产阐颤昌猖�\".split(\"\");for(a=0;a!=t[178].length;++a)if(t[178][a].charCodeAt(0)!==65533){r[t[178][a]]=45568+a;e[45568+a]=t[178][a]}t[179]=\"����������������������������������������������������������������矦矨矪矯矰矱矲矴矵矷矹矺矻矼砃砄砅砆砇砈砊砋砎砏砐砓砕砙砛砞砠砡砢砤砨砪砫砮砯砱砲砳砵砶砽砿硁硂硃硄硆硈硉硊硋硍硏硑硓硔硘硙硚�硛硜硞硟硠硡硢硣硤硥硦硧硨硩硯硰硱硲硳硴硵硶硸硹硺硻硽硾硿碀碁碂碃场尝常长偿肠厂敞畅唱倡超抄钞朝嘲潮巢吵炒车扯撤掣彻澈郴臣辰尘晨忱沉陈趁衬撑称城橙成呈乘程惩澄诚承逞骋秤吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽充冲虫崇宠抽酬畴踌稠愁筹仇绸瞅丑臭初出橱厨躇锄雏滁除楚�\".split(\"\");for(a=0;a!=t[179].length;++a)if(t[179][a].charCodeAt(0)!==65533){r[t[179][a]]=45824+a;e[45824+a]=t[179][a]}t[180]=\"����������������������������������������������������������������碄碅碆碈碊碋碏碐碒碔碕碖碙碝碞碠碢碤碦碨碩碪碫碬碭碮碯碵碶碷碸確碻碼碽碿磀磂磃磄磆磇磈磌磍磎磏磑磒磓磖磗磘磚磛磜磝磞磟磠磡磢磣�磤磥磦磧磩磪磫磭磮磯磰磱磳磵磶磸磹磻磼磽磾磿礀礂礃礄礆礇礈礉礊礋礌础储矗搐触处揣川穿椽传船喘串疮窗幢床闯创吹炊捶锤垂春椿醇唇淳纯蠢戳绰疵茨磁雌辞慈瓷词此刺赐次聪葱囱匆从丛凑粗醋簇促蹿篡窜摧崔催脆瘁粹淬翠村存寸磋撮搓措挫错搭达答瘩打大呆歹傣戴带殆代贷袋待逮�\".split(\"\");for(a=0;a!=t[180].length;++a)if(t[180][a].charCodeAt(0)!==65533){r[t[180][a]]=46080+a;e[46080+a]=t[180][a]}t[181]=\"����������������������������������������������������������������礍礎礏礐礑礒礔礕礖礗礘礙礚礛礜礝礟礠礡礢礣礥礦礧礨礩礪礫礬礭礮礯礰礱礲礳礵礶礷礸礹礽礿祂祃祄祅祇祊祋祌祍祎祏祐祑祒祔祕祘祙祡祣�祤祦祩祪祫祬祮祰祱祲祳祴祵祶祹祻祼祽祾祿禂禃禆禇禈禉禋禌禍禎禐禑禒怠耽担丹单郸掸胆旦氮但惮淡诞弹蛋当挡党荡档刀捣蹈倒岛祷导到稻悼道盗德得的蹬灯登等瞪凳邓堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔颠掂滇碘点典靛垫电佃甸店惦奠淀殿碉叼雕凋刁掉吊钓调跌爹碟蝶迭谍叠�\".split(\"\");for(a=0;a!=t[181].length;++a)if(t[181][a].charCodeAt(0)!==65533){r[t[181][a]]=46336+a;e[46336+a]=t[181][a]}t[182]=\"����������������������������������������������������������������禓禔禕禖禗禘禙禛禜禝禞禟禠禡禢禣禤禥禦禨禩禪禫禬禭禮禯禰禱禲禴禵禶禷禸禼禿秂秄秅秇秈秊秌秎秏秐秓秔秖秗秙秚秛秜秝秞秠秡秢秥秨秪�秬秮秱秲秳秴秵秶秷秹秺秼秾秿稁稄稅稇稈稉稊稌稏稐稑稒稓稕稖稘稙稛稜丁盯叮钉顶鼎锭定订丢东冬董懂动栋侗恫冻洞兜抖斗陡豆逗痘都督毒犊独读堵睹赌杜镀肚度渡妒端短锻段断缎堆兑队对墩吨蹲敦顿囤钝盾遁掇哆多夺垛躲朵跺舵剁惰堕蛾峨鹅俄额讹娥恶厄扼遏鄂饿恩而儿耳尔饵洱二�\".split(\"\");for(a=0;a!=t[182].length;++a)if(t[182][a].charCodeAt(0)!==65533){r[t[182][a]]=46592+a;e[46592+a]=t[182][a]}t[183]=\"����������������������������������������������������������������稝稟稡稢稤稥稦稧稨稩稪稫稬稭種稯稰稱稲稴稵稶稸稺稾穀穁穂穃穄穅穇穈穉穊穋穌積穎穏穐穒穓穔穕穖穘穙穚穛穜穝穞穟穠穡穢穣穤穥穦穧穨�穩穪穫穬穭穮穯穱穲穳穵穻穼穽穾窂窅窇窉窊窋窌窎窏窐窓窔窙窚窛窞窡窢贰发罚筏伐乏阀法珐藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛坊芳方肪房防妨仿访纺放菲非啡飞肥匪诽吠肺废沸费芬酚吩氛分纷坟焚汾粉奋份忿愤粪丰封枫蜂峰锋风疯烽逢冯缝讽奉凤佛否夫敷肤孵扶拂辐幅氟符伏俘服�\".split(\"\");for(a=0;a!=t[183].length;++a)if(t[183][a].charCodeAt(0)!==65533){r[t[183][a]]=46848+a;e[46848+a]=t[183][a]}t[184]=\"����������������������������������������������������������������窣窤窧窩窪窫窮窯窰窱窲窴窵窶窷窸窹窺窻窼窽窾竀竁竂竃竄竅竆竇竈竉竊竌竍竎竏竐竑竒竓竔竕竗竘竚竛竜竝竡竢竤竧竨竩竪竫竬竮竰竱竲竳�竴竵競竷竸竻竼竾笀笁笂笅笇笉笌笍笎笐笒笓笖笗笘笚笜笝笟笡笢笣笧笩笭浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐噶嘎该改概钙盖溉干甘杆柑竿肝赶感秆敢赣冈刚钢缸肛纲岗港杠篙皋高膏羔糕搞镐稿告哥歌搁戈鸽胳疙割革葛格蛤阁隔铬个各给根跟耕更庚羹�\".split(\"\");for(a=0;a!=t[184].length;++a)if(t[184][a].charCodeAt(0)!==65533){r[t[184][a]]=47104+a;e[47104+a]=t[184][a]}t[185]=\"����������������������������������������������������������������笯笰笲笴笵笶笷笹笻笽笿筀筁筂筃筄筆筈筊筍筎筓筕筗筙筜筞筟筡筣筤筥筦筧筨筩筪筫筬筭筯筰筳筴筶筸筺筼筽筿箁箂箃箄箆箇箈箉箊箋箌箎箏�箑箒箓箖箘箙箚箛箞箟箠箣箤箥箮箯箰箲箳箵箶箷箹箺箻箼箽箾箿節篂篃範埂耿梗工攻功恭龚供躬公宫弓巩汞拱贡共钩勾沟苟狗垢构购够辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇刮瓜剐寡挂褂乖拐怪棺关官冠观管馆罐惯灌贯光广逛瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽辊滚棍锅郭国果裹过哈�\".split(\"\");for(a=0;a!=t[185].length;++a)if(t[185][a].charCodeAt(0)!==65533){r[t[185][a]]=47360+a;e[47360+a]=t[185][a]}t[186]=\"����������������������������������������������������������������篅篈築篊篋篍篎篏篐篒篔篕篖篗篘篛篜篞篟篠篢篣篤篧篨篩篫篬篭篯篰篲篳篴篵篶篸篹篺篻篽篿簀簁簂簃簄簅簆簈簉簊簍簎簐簑簒簓簔簕簗簘簙�簚簛簜簝簞簠簡簢簣簤簥簨簩簫簬簭簮簯簰簱簲簳簴簵簶簷簹簺簻簼簽簾籂骸孩海氦亥害骇酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉夯杭航壕嚎豪毫郝好耗号浩呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺嘿黑痕很狠恨哼亨横衡恒轰哄烘虹鸿洪宏弘红喉侯猴吼厚候后呼乎忽瑚壶葫胡蝴狐糊湖�\".split(\"\");for(a=0;a!=t[186].length;++a)if(t[186][a].charCodeAt(0)!==65533){r[t[186][a]]=47616+a;e[47616+a]=t[186][a]}t[187]=\"����������������������������������������������������������������籃籄籅籆籇籈籉籊籋籌籎籏籐籑籒籓籔籕籖籗籘籙籚籛籜籝籞籟籠籡籢籣籤籥籦籧籨籩籪籫籬籭籮籯籰籱籲籵籶籷籸籹籺籾籿粀粁粂粃粄粅粆粇�粈粊粋粌粍粎粏粐粓粔粖粙粚粛粠粡粣粦粧粨粩粫粬粭粯粰粴粵粶粷粸粺粻弧虎唬护互沪户花哗华猾滑画划化话槐徊怀淮坏欢环桓还缓换患唤痪豢焕涣宦幻荒慌黄磺蝗簧皇凰惶煌晃幌恍谎灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘荤昏婚魂浑混豁活伙火获或惑霍货祸击圾基机畸稽积箕�\".split(\"\");for(a=0;a!=t[187].length;++a)if(t[187][a].charCodeAt(0)!==65533){r[t[187][a]]=47872+a;e[47872+a]=t[187][a]}t[188]=\"����������������������������������������������������������������粿糀糂糃糄糆糉糋糎糏糐糑糒糓糔糘糚糛糝糞糡糢糣糤糥糦糧糩糪糫糬糭糮糰糱糲糳糴糵糶糷糹糺糼糽糾糿紀紁紂紃約紅紆紇紈紉紋紌納紎紏紐�紑紒紓純紕紖紗紘紙級紛紜紝紞紟紡紣紤紥紦紨紩紪紬紭紮細紱紲紳紴紵紶肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件�\".split(\"\");for(a=0;a!=t[188].length;++a)if(t[188][a].charCodeAt(0)!==65533){r[t[188][a]]=48128+a;e[48128+a]=t[188][a]}t[189]=\"����������������������������������������������������������������紷紸紹紺紻紼紽紾紿絀絁終絃組絅絆絇絈絉絊絋経絍絎絏結絑絒絓絔絕絖絗絘絙絚絛絜絝絞絟絠絡絢絣絤絥給絧絨絩絪絫絬絭絯絰統絲絳絴絵絶�絸絹絺絻絼絽絾絿綀綁綂綃綄綅綆綇綈綉綊綋綌綍綎綏綐綑綒經綔綕綖綗綘健舰剑饯渐溅涧建僵姜将浆江疆蒋桨奖讲匠酱降蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸�\".split(\"\");for(a=0;a!=t[189].length;++a)if(t[189][a].charCodeAt(0)!==65533){r[t[189][a]]=48384+a;e[48384+a]=t[189][a]}t[190]=\"����������������������������������������������������������������継続綛綜綝綞綟綠綡綢綣綤綥綧綨綩綪綫綬維綯綰綱網綳綴綵綶綷綸綹綺綻綼綽綾綿緀緁緂緃緄緅緆緇緈緉緊緋緌緍緎総緐緑緒緓緔緕緖緗緘緙�線緛緜緝緞緟締緡緢緣緤緥緦緧編緩緪緫緬緭緮緯緰緱緲緳練緵緶緷緸緹緺尽劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净炯窘揪究纠玖韭久灸九酒厩救旧臼舅咎就疚鞠拘狙疽居驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧捐鹃娟倦眷卷绢撅攫抉掘倔爵觉决诀绝均菌钧军君峻�\".split(\"\");for(a=0;a!=t[190].length;++a)if(t[190][a].charCodeAt(0)!==65533){r[t[190][a]]=48640+a;e[48640+a]=t[190][a]}t[191]=\"����������������������������������������������������������������緻緼緽緾緿縀縁縂縃縄縅縆縇縈縉縊縋縌縍縎縏縐縑縒縓縔縕縖縗縘縙縚縛縜縝縞縟縠縡縢縣縤縥縦縧縨縩縪縫縬縭縮縯縰縱縲縳縴縵縶縷縸縹�縺縼總績縿繀繂繃繄繅繆繈繉繊繋繌繍繎繏繐繑繒繓織繕繖繗繘繙繚繛繜繝俊竣浚郡骏喀咖卡咯开揩楷凯慨刊堪勘坎砍看康慷糠扛抗亢炕考拷烤靠坷苛柯棵磕颗科壳咳可渴克刻客课肯啃垦恳坑吭空恐孔控抠口扣寇枯哭窟苦酷库裤夸垮挎跨胯块筷侩快宽款匡筐狂框矿眶旷况亏盔岿窥葵奎魁傀�\".split(\"\");for(a=0;a!=t[191].length;++a)if(t[191][a].charCodeAt(0)!==65533){r[t[191][a]]=48896+a;e[48896+a]=t[191][a]}t[192]=\"����������������������������������������������������������������繞繟繠繡繢繣繤繥繦繧繨繩繪繫繬繭繮繯繰繱繲繳繴繵繶繷繸繹繺繻繼繽繾繿纀纁纃纄纅纆纇纈纉纊纋續纍纎纏纐纑纒纓纔纕纖纗纘纙纚纜纝纞�纮纴纻纼绖绤绬绹缊缐缞缷缹缻缼缽缾缿罀罁罃罆罇罈罉罊罋罌罍罎罏罒罓馈愧溃坤昆捆困括扩廓阔垃拉喇蜡腊辣啦莱来赖蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥琅榔狼廊郎朗浪捞劳牢老佬姥酪烙涝勒乐雷镭蕾磊累儡垒擂肋类泪棱楞冷厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐�\".split(\"\");for(a=0;a!=t[192].length;++a)if(t[192][a].charCodeAt(0)!==65533){r[t[192][a]]=49152+a;e[49152+a]=t[192][a]}t[193]=\"����������������������������������������������������������������罖罙罛罜罝罞罠罣罤罥罦罧罫罬罭罯罰罳罵罶罷罸罺罻罼罽罿羀羂羃羄羅羆羇羈羉羋羍羏羐羑羒羓羕羖羗羘羙羛羜羠羢羣羥羦羨義羪羫羬羭羮羱�羳羴羵羶羷羺羻羾翀翂翃翄翆翇翈翉翋翍翏翐翑習翓翖翗翙翚翛翜翝翞翢翣痢立粒沥隶力璃哩俩联莲连镰廉怜涟帘敛脸链恋炼练粮凉梁粱良两辆量晾亮谅撩聊僚疗燎寥辽潦了撂镣廖料列裂烈劣猎琳林磷霖临邻鳞淋凛赁吝拎玲菱零龄铃伶羚凌灵陵岭领另令溜琉榴硫馏留刘瘤流柳六龙聋咙笼窿�\".split(\"\");for(a=0;a!=t[193].length;++a)if(t[193][a].charCodeAt(0)!==65533){r[t[193][a]]=49408+a;e[49408+a]=t[193][a]}t[194]=\"����������������������������������������������������������������翤翧翨翪翫翬翭翯翲翴翵翶翷翸翹翺翽翾翿耂耇耈耉耊耎耏耑耓耚耛耝耞耟耡耣耤耫耬耭耮耯耰耲耴耹耺耼耾聀聁聄聅聇聈聉聎聏聐聑聓聕聖聗�聙聛聜聝聞聟聠聡聢聣聤聥聦聧聨聫聬聭聮聯聰聲聳聴聵聶職聸聹聺聻聼聽隆垄拢陇楼娄搂篓漏陋芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮驴吕铝侣旅履屡缕虑氯律率滤绿峦挛孪滦卵乱掠略抡轮伦仑沦纶论萝螺罗逻锣箩骡裸落洛骆络妈麻玛码蚂马骂嘛吗埋买麦卖迈脉瞒馒蛮满蔓曼慢漫�\".split(\"\");for(a=0;a!=t[194].length;++a)if(t[194][a].charCodeAt(0)!==65533){r[t[194][a]]=49664+a;e[49664+a]=t[194][a]}t[195]=\"����������������������������������������������������������������聾肁肂肅肈肊肍肎肏肐肑肒肔肕肗肙肞肣肦肧肨肬肰肳肵肶肸肹肻胅胇胈胉胊胋胏胐胑胒胓胔胕胘胟胠胢胣胦胮胵胷胹胻胾胿脀脁脃脄脅脇脈脋�脌脕脗脙脛脜脝脟脠脡脢脣脤脥脦脧脨脩脪脫脭脮脰脳脴脵脷脹脺脻脼脽脿谩芒茫盲氓忙莽猫茅锚毛矛铆卯茂冒帽貌贸么玫枚梅酶霉煤没眉媒镁每美昧寐妹媚门闷们萌蒙檬盟锰猛梦孟眯醚靡糜迷谜弥米秘觅泌蜜密幂棉眠绵冕免勉娩缅面苗描瞄藐秒渺庙妙蔑灭民抿皿敏悯闽明螟鸣铭名命谬摸�\".split(\"\");\nfor(a=0;a!=t[195].length;++a)if(t[195][a].charCodeAt(0)!==65533){r[t[195][a]]=49920+a;e[49920+a]=t[195][a]}t[196]=\"����������������������������������������������������������������腀腁腂腃腄腅腇腉腍腎腏腒腖腗腘腛腜腝腞腟腡腢腣腤腦腨腪腫腬腯腲腳腵腶腷腸膁膃膄膅膆膇膉膋膌膍膎膐膒膓膔膕膖膗膙膚膞膟膠膡膢膤膥�膧膩膫膬膭膮膯膰膱膲膴膵膶膷膸膹膼膽膾膿臄臅臇臈臉臋臍臎臏臐臑臒臓摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谋牟某拇牡亩姆母墓暮幕募慕木目睦牧穆拿哪呐钠那娜纳氖乃奶耐奈南男难囊挠脑恼闹淖呢馁内嫩能妮霓倪泥尼拟你匿腻逆溺蔫拈年碾撵捻念娘酿鸟尿捏聂孽啮镊镍涅您柠狞凝宁�\".split(\"\");for(a=0;a!=t[196].length;++a)if(t[196][a].charCodeAt(0)!==65533){r[t[196][a]]=50176+a;e[50176+a]=t[196][a]}t[197]=\"����������������������������������������������������������������臔臕臖臗臘臙臚臛臜臝臞臟臠臡臢臤臥臦臨臩臫臮臯臰臱臲臵臶臷臸臹臺臽臿舃與興舉舊舋舎舏舑舓舕舖舗舘舙舚舝舠舤舥舦舧舩舮舲舺舼舽舿�艀艁艂艃艅艆艈艊艌艍艎艐艑艒艓艔艕艖艗艙艛艜艝艞艠艡艢艣艤艥艦艧艩拧泞牛扭钮纽脓浓农弄奴努怒女暖虐疟挪懦糯诺哦欧鸥殴藕呕偶沤啪趴爬帕怕琶拍排牌徘湃派攀潘盘磐盼畔判叛乓庞旁耪胖抛咆刨炮袍跑泡呸胚培裴赔陪配佩沛喷盆砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯砒霹批披劈琵毗�\".split(\"\");for(a=0;a!=t[197].length;++a)if(t[197][a].charCodeAt(0)!==65533){r[t[197][a]]=50432+a;e[50432+a]=t[197][a]}t[198]=\"����������������������������������������������������������������艪艫艬艭艱艵艶艷艸艻艼芀芁芃芅芆芇芉芌芐芓芔芕芖芚芛芞芠芢芣芧芲芵芶芺芻芼芿苀苂苃苅苆苉苐苖苙苚苝苢苧苨苩苪苬苭苮苰苲苳苵苶苸�苺苼苽苾苿茀茊茋茍茐茒茓茖茘茙茝茞茟茠茡茢茣茤茥茦茩茪茮茰茲茷茻茽啤脾疲皮匹痞僻屁譬篇偏片骗飘漂瓢票撇瞥拼频贫品聘乒坪苹萍平凭瓶评屏坡泼颇婆破魄迫粕剖扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫掐�\".split(\"\");for(a=0;a!=t[198].length;++a)if(t[198][a].charCodeAt(0)!==65533){r[t[198][a]]=50688+a;e[50688+a]=t[198][a]}t[199]=\"����������������������������������������������������������������茾茿荁荂荄荅荈荊荋荌荍荎荓荕荖荗荘荙荝荢荰荱荲荳荴荵荶荹荺荾荿莀莁莂莃莄莇莈莊莋莌莍莏莐莑莔莕莖莗莙莚莝莟莡莢莣莤莥莦莧莬莭莮�莯莵莻莾莿菂菃菄菆菈菉菋菍菎菐菑菒菓菕菗菙菚菛菞菢菣菤菦菧菨菫菬菭恰洽牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉枪呛腔羌墙蔷强抢橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍切茄且怯窃钦侵亲秦琴勤芹擒禽寝沁青轻氢倾卿清擎晴氰情顷请庆琼穷秋丘邱球求囚酋泅趋区蛆曲躯屈驱渠�\".split(\"\");for(a=0;a!=t[199].length;++a)if(t[199][a].charCodeAt(0)!==65533){r[t[199][a]]=50944+a;e[50944+a]=t[199][a]}t[200]=\"����������������������������������������������������������������菮華菳菴菵菶菷菺菻菼菾菿萀萂萅萇萈萉萊萐萒萓萔萕萖萗萙萚萛萞萟萠萡萢萣萩萪萫萬萭萮萯萰萲萳萴萵萶萷萹萺萻萾萿葀葁葂葃葄葅葇葈葉�葊葋葌葍葎葏葐葒葓葔葕葖葘葝葞葟葠葢葤葥葦葧葨葪葮葯葰葲葴葷葹葻葼取娶龋趣去圈颧权醛泉全痊拳犬券劝缺炔瘸却鹊榷确雀裙群然燃冉染瓤壤攘嚷让饶扰绕惹热壬仁人忍韧任认刃妊纫扔仍日戎茸蓉荣融熔溶容绒冗揉柔肉茹蠕儒孺如辱乳汝入褥软阮蕊瑞锐闰润若弱撒洒萨腮鳃塞赛三叁�\".split(\"\");for(a=0;a!=t[200].length;++a)if(t[200][a].charCodeAt(0)!==65533){r[t[200][a]]=51200+a;e[51200+a]=t[200][a]}t[201]=\"����������������������������������������������������������������葽葾葿蒀蒁蒃蒄蒅蒆蒊蒍蒏蒐蒑蒒蒓蒔蒕蒖蒘蒚蒛蒝蒞蒟蒠蒢蒣蒤蒥蒦蒧蒨蒩蒪蒫蒬蒭蒮蒰蒱蒳蒵蒶蒷蒻蒼蒾蓀蓂蓃蓅蓆蓇蓈蓋蓌蓎蓏蓒蓔蓕蓗�蓘蓙蓚蓛蓜蓞蓡蓢蓤蓧蓨蓩蓪蓫蓭蓮蓯蓱蓲蓳蓴蓵蓶蓷蓸蓹蓺蓻蓽蓾蔀蔁蔂伞散桑嗓丧搔骚扫嫂瑟色涩森僧莎砂杀刹沙纱傻啥煞筛晒珊苫杉山删煽衫闪陕擅赡膳善汕扇缮墒伤商赏晌上尚裳梢捎稍烧芍勺韶少哨邵绍奢赊蛇舌舍赦摄射慑涉社设砷申呻伸身深娠绅神沈审婶甚肾慎渗声生甥牲升绳�\".split(\"\");for(a=0;a!=t[201].length;++a)if(t[201][a].charCodeAt(0)!==65533){r[t[201][a]]=51456+a;e[51456+a]=t[201][a]}t[202]=\"����������������������������������������������������������������蔃蔄蔅蔆蔇蔈蔉蔊蔋蔍蔎蔏蔐蔒蔔蔕蔖蔘蔙蔛蔜蔝蔞蔠蔢蔣蔤蔥蔦蔧蔨蔩蔪蔭蔮蔯蔰蔱蔲蔳蔴蔵蔶蔾蔿蕀蕁蕂蕄蕅蕆蕇蕋蕌蕍蕎蕏蕐蕑蕒蕓蕔蕕�蕗蕘蕚蕛蕜蕝蕟蕠蕡蕢蕣蕥蕦蕧蕩蕪蕫蕬蕭蕮蕯蕰蕱蕳蕵蕶蕷蕸蕼蕽蕿薀薁省盛剩胜圣师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试收手首守寿授售受瘦兽蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱�\".split(\"\");for(a=0;a!=t[202].length;++a)if(t[202][a].charCodeAt(0)!==65533){r[t[202][a]]=51712+a;e[51712+a]=t[202][a]}t[203]=\"����������������������������������������������������������������薂薃薆薈薉薊薋薌薍薎薐薑薒薓薔薕薖薗薘薙薚薝薞薟薠薡薢薣薥薦薧薩薫薬薭薱薲薳薴薵薶薸薺薻薼薽薾薿藀藂藃藄藅藆藇藈藊藋藌藍藎藑藒�藔藖藗藘藙藚藛藝藞藟藠藡藢藣藥藦藧藨藪藫藬藭藮藯藰藱藲藳藴藵藶藷藸恕刷耍摔衰甩帅栓拴霜双爽谁水睡税吮瞬顺舜说硕朔烁斯撕嘶思私司丝死肆寺嗣四伺似饲巳松耸怂颂送宋讼诵搜艘擞嗽苏酥俗素速粟僳塑溯宿诉肃酸蒜算虽隋随绥髓碎岁穗遂隧祟孙损笋蓑梭唆缩琐索锁所塌他它她塔�\".split(\"\");for(a=0;a!=t[203].length;++a)if(t[203][a].charCodeAt(0)!==65533){r[t[203][a]]=51968+a;e[51968+a]=t[203][a]}t[204]=\"����������������������������������������������������������������藹藺藼藽藾蘀蘁蘂蘃蘄蘆蘇蘈蘉蘊蘋蘌蘍蘎蘏蘐蘒蘓蘔蘕蘗蘘蘙蘚蘛蘜蘝蘞蘟蘠蘡蘢蘣蘤蘥蘦蘨蘪蘫蘬蘭蘮蘯蘰蘱蘲蘳蘴蘵蘶蘷蘹蘺蘻蘽蘾蘿虀�虁虂虃虄虅虆虇虈虉虊虋虌虒虓處虖虗虘虙虛虜虝號虠虡虣虤虥虦虧虨虩虪獭挞蹋踏胎苔抬台泰酞太态汰坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭汤塘搪堂棠膛唐糖倘躺淌趟烫掏涛滔绦萄桃逃淘陶讨套特藤腾疼誊梯剔踢锑提题蹄啼体替嚏惕涕剃屉天添填田甜恬舔腆挑条迢眺跳贴铁帖厅听烃�\".split(\"\");for(a=0;a!=t[204].length;++a)if(t[204][a].charCodeAt(0)!==65533){r[t[204][a]]=52224+a;e[52224+a]=t[204][a]}t[205]=\"����������������������������������������������������������������虭虯虰虲虳虴虵虶虷虸蚃蚄蚅蚆蚇蚈蚉蚎蚏蚐蚑蚒蚔蚖蚗蚘蚙蚚蚛蚞蚟蚠蚡蚢蚥蚦蚫蚭蚮蚲蚳蚷蚸蚹蚻蚼蚽蚾蚿蛁蛂蛃蛅蛈蛌蛍蛒蛓蛕蛖蛗蛚蛜�蛝蛠蛡蛢蛣蛥蛦蛧蛨蛪蛫蛬蛯蛵蛶蛷蛺蛻蛼蛽蛿蜁蜄蜅蜆蜋蜌蜎蜏蜐蜑蜔蜖汀廷停亭庭挺艇通桐酮瞳同铜彤童桶捅筒统痛偷投头透凸秃突图徒途涂屠土吐兔湍团推颓腿蜕褪退吞屯臀拖托脱鸵陀驮驼椭妥拓唾挖哇蛙洼娃瓦袜歪外豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕汪王亡枉网往旺望忘妄威�\".split(\"\");for(a=0;a!=t[205].length;++a)if(t[205][a].charCodeAt(0)!==65533){r[t[205][a]]=52480+a;e[52480+a]=t[205][a]}t[206]=\"����������������������������������������������������������������蜙蜛蜝蜟蜠蜤蜦蜧蜨蜪蜫蜬蜭蜯蜰蜲蜳蜵蜶蜸蜹蜺蜼蜽蝀蝁蝂蝃蝄蝅蝆蝊蝋蝍蝏蝐蝑蝒蝔蝕蝖蝘蝚蝛蝜蝝蝞蝟蝡蝢蝦蝧蝨蝩蝪蝫蝬蝭蝯蝱蝲蝳蝵�蝷蝸蝹蝺蝿螀螁螄螆螇螉螊螌螎螏螐螑螒螔螕螖螘螙螚螛螜螝螞螠螡螢螣螤巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫瘟温蚊文闻纹吻稳紊问嗡翁瓮挝蜗涡窝我斡卧握沃巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误昔熙析西硒矽晰嘻吸锡牺�\".split(\"\");for(a=0;a!=t[206].length;++a)if(t[206][a].charCodeAt(0)!==65533){r[t[206][a]]=52736+a;e[52736+a]=t[206][a]}t[207]=\"����������������������������������������������������������������螥螦螧螩螪螮螰螱螲螴螶螷螸螹螻螼螾螿蟁蟂蟃蟄蟅蟇蟈蟉蟌蟍蟎蟏蟐蟔蟕蟖蟗蟘蟙蟚蟜蟝蟞蟟蟡蟢蟣蟤蟦蟧蟨蟩蟫蟬蟭蟯蟰蟱蟲蟳蟴蟵蟶蟷蟸�蟺蟻蟼蟽蟿蠀蠁蠂蠄蠅蠆蠇蠈蠉蠋蠌蠍蠎蠏蠐蠑蠒蠔蠗蠘蠙蠚蠜蠝蠞蠟蠠蠣稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细瞎虾匣霞辖暇峡侠狭下厦夏吓掀锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象萧硝霄削哮嚣销消宵淆晓�\".split(\"\");for(a=0;a!=t[207].length;++a)if(t[207][a].charCodeAt(0)!==65533){r[t[207][a]]=52992+a;e[52992+a]=t[207][a]}t[208]=\"����������������������������������������������������������������蠤蠥蠦蠧蠨蠩蠪蠫蠬蠭蠮蠯蠰蠱蠳蠴蠵蠶蠷蠸蠺蠻蠽蠾蠿衁衂衃衆衇衈衉衊衋衎衏衐衑衒術衕衖衘衚衛衜衝衞衟衠衦衧衪衭衯衱衳衴衵衶衸衹衺�衻衼袀袃袆袇袉袊袌袎袏袐袑袓袔袕袗袘袙袚袛袝袞袟袠袡袣袥袦袧袨袩袪小孝校肖啸笑效楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑薪芯锌欣辛新忻心信衅星腥猩惺兴刑型形邢行醒幸杏性姓兄凶胸匈汹雄熊休修羞朽嗅锈秀袖绣墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续轩喧宣悬旋玄�\".split(\"\");for(a=0;a!=t[208].length;++a)if(t[208][a].charCodeAt(0)!==65533){r[t[208][a]]=53248+a;e[53248+a]=t[208][a]}t[209]=\"����������������������������������������������������������������袬袮袯袰袲袳袴袵袶袸袹袺袻袽袾袿裀裃裄裇裈裊裋裌裍裏裐裑裓裖裗裚裛補裝裞裠裡裦裧裩裪裫裬裭裮裯裲裵裶裷裺裻製裿褀褁褃褄褅褆複褈�褉褋褌褍褎褏褑褔褕褖褗褘褜褝褞褟褠褢褣褤褦褧褨褩褬褭褮褯褱褲褳褵褷选癣眩绚靴薛学穴雪血勋熏循旬询寻驯巡殉汛训讯逊迅压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾邀腰妖瑶�\".split(\"\");for(a=0;a!=t[209].length;++a)if(t[209][a].charCodeAt(0)!==65533){r[t[209][a]]=53504+a;e[53504+a]=t[209][a]}t[210]=\"����������������������������������������������������������������褸褹褺褻褼褽褾褿襀襂襃襅襆襇襈襉襊襋襌襍襎襏襐襑襒襓襔襕襖襗襘襙襚襛襜襝襠襡襢襣襤襥襧襨襩襪襫襬襭襮襯襰襱襲襳襴襵襶襷襸襹襺襼�襽襾覀覂覄覅覇覈覉覊見覌覍覎規覐覑覒覓覔覕視覗覘覙覚覛覜覝覞覟覠覡摇尧遥窑谣姚咬舀药要耀椰噎耶爷野冶也页掖业叶曳腋夜液一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎茵荫因殷音阴姻吟银淫寅饮尹引隐�\".split(\"\");for(a=0;a!=t[210].length;++a)if(t[210][a].charCodeAt(0)!==65533){r[t[210][a]]=53760+a;e[53760+a]=t[210][a]}t[211]=\"����������������������������������������������������������������覢覣覤覥覦覧覨覩親覫覬覭覮覯覰覱覲観覴覵覶覷覸覹覺覻覼覽覾覿觀觃觍觓觔觕觗觘觙觛觝觟觠觡觢觤觧觨觩觪觬觭觮觰觱觲觴觵觶觷觸觹觺�觻觼觽觾觿訁訂訃訄訅訆計訉訊訋訌訍討訏訐訑訒訓訔訕訖託記訙訚訛訜訝印英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映哟拥佣臃痈庸雍踊蛹咏泳涌永恿勇用幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉�\".split(\"\");for(a=0;a!=t[211].length;++a)if(t[211][a].charCodeAt(0)!==65533){r[t[211][a]]=54016+a;e[54016+a]=t[211][a]}t[212]=\"����������������������������������������������������������������訞訟訠訡訢訣訤訥訦訧訨訩訪訫訬設訮訯訰許訲訳訴訵訶訷訸訹診註証訽訿詀詁詂詃詄詅詆詇詉詊詋詌詍詎詏詐詑詒詓詔評詖詗詘詙詚詛詜詝詞�詟詠詡詢詣詤詥試詧詨詩詪詫詬詭詮詯詰話該詳詴詵詶詷詸詺詻詼詽詾詿誀浴寓裕预豫驭鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院曰约越跃钥岳粤月悦阅耘云郧匀陨允运蕴酝晕韵孕匝砸杂栽哉灾宰载再在咱攒暂赞赃脏葬遭糟凿藻枣早澡蚤躁噪造皂灶燥责择则泽贼怎增憎曾赠扎喳渣札轧�\".split(\"\");for(a=0;a!=t[212].length;++a)if(t[212][a].charCodeAt(0)!==65533){r[t[212][a]]=54272+a;e[54272+a]=t[212][a]}t[213]=\"����������������������������������������������������������������誁誂誃誄誅誆誇誈誋誌認誎誏誐誑誒誔誕誖誗誘誙誚誛誜誝語誟誠誡誢誣誤誥誦誧誨誩說誫説読誮誯誰誱課誳誴誵誶誷誸誹誺誻誼誽誾調諀諁諂�諃諄諅諆談諈諉諊請諌諍諎諏諐諑諒諓諔諕論諗諘諙諚諛諜諝諞諟諠諡諢諣铡闸眨栅榨咋乍炸诈摘斋宅窄债寨瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽樟章彰漳张掌涨杖丈帐账仗胀瘴障招昭找沼赵照罩兆肇召遮折哲蛰辙者锗蔗这浙珍斟真甄砧臻贞针侦枕疹诊震振镇阵蒸挣睁征狰争怔整拯正政�\".split(\"\");for(a=0;a!=t[213].length;++a)if(t[213][a].charCodeAt(0)!==65533){r[t[213][a]]=54528+a;e[54528+a]=t[213][a]}t[214]=\"����������������������������������������������������������������諤諥諦諧諨諩諪諫諬諭諮諯諰諱諲諳諴諵諶諷諸諹諺諻諼諽諾諿謀謁謂謃謄謅謆謈謉謊謋謌謍謎謏謐謑謒謓謔謕謖謗謘謙謚講謜謝謞謟謠謡謢謣�謤謥謧謨謩謪謫謬謭謮謯謰謱謲謳謴謵謶謷謸謹謺謻謼謽謾謿譀譁譂譃譄譅帧症郑证芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒中盅忠钟衷终种肿重仲众舟周州洲诌粥轴肘帚咒皱宙昼骤珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑�\".split(\"\");for(a=0;a!=t[214].length;++a)if(t[214][a].charCodeAt(0)!==65533){r[t[214][a]]=54784+a;e[54784+a]=t[214][a]}t[215]=\"����������������������������������������������������������������譆譇譈證譊譋譌譍譎譏譐譑譒譓譔譕譖譗識譙譚譛譜譝譞譟譠譡譢譣譤譥譧譨譩譪譫譭譮譯議譱譲譳譴譵譶護譸譹譺譻譼譽譾譿讀讁讂讃讄讅讆�讇讈讉變讋讌讍讎讏讐讑讒讓讔讕讖讗讘讙讚讛讜讝讞讟讬讱讻诇诐诪谉谞住注祝驻抓爪拽专砖转撰赚篆桩庄装妆撞壮状椎锥追赘坠缀谆准捉拙卓桌琢茁酌啄着灼浊兹咨资姿滋淄孜紫仔籽滓子自渍字鬃棕踪宗综总纵邹走奏揍租足卒族祖诅阻组钻纂嘴醉最罪尊遵昨左佐柞做作坐座������\".split(\"\");for(a=0;a!=t[215].length;++a)if(t[215][a].charCodeAt(0)!==65533){r[t[215][a]]=55040+a;e[55040+a]=t[215][a]}t[216]=\"����������������������������������������������������������������谸谹谺谻谼谽谾谿豀豂豃豄豅豈豊豋豍豎豏豐豑豒豓豔豖豗豘豙豛豜豝豞豟豠豣豤豥豦豧豨豩豬豭豮豯豰豱豲豴豵豶豷豻豼豽豾豿貀貁貃貄貆貇�貈貋貍貎貏貐貑貒貓貕貖貗貙貚貛貜貝貞貟負財貢貣貤貥貦貧貨販貪貫責貭亍丌兀丐廿卅丕亘丞鬲孬噩丨禺丿匕乇夭爻卮氐囟胤馗毓睾鼗丶亟鼐乜乩亓芈孛啬嘏仄厍厝厣厥厮靥赝匚叵匦匮匾赜卦卣刂刈刎刭刳刿剀剌剞剡剜蒯剽劂劁劐劓冂罔亻仃仉仂仨仡仫仞伛仳伢佤仵伥伧伉伫佞佧攸佚佝�\".split(\"\");for(a=0;a!=t[216].length;++a)if(t[216][a].charCodeAt(0)!==65533){r[t[216][a]]=55296+a;e[55296+a]=t[216][a]}t[217]=\"����������������������������������������������������������������貮貯貰貱貲貳貴貵貶買貸貹貺費貼貽貾貿賀賁賂賃賄賅賆資賈賉賊賋賌賍賎賏賐賑賒賓賔賕賖賗賘賙賚賛賜賝賞賟賠賡賢賣賤賥賦賧賨賩質賫賬�賭賮賯賰賱賲賳賴賵賶賷賸賹賺賻購賽賾賿贀贁贂贃贄贅贆贇贈贉贊贋贌贍佟佗伲伽佶佴侑侉侃侏佾佻侪佼侬侔俦俨俪俅俚俣俜俑俟俸倩偌俳倬倏倮倭俾倜倌倥倨偾偃偕偈偎偬偻傥傧傩傺僖儆僭僬僦僮儇儋仝氽佘佥俎龠汆籴兮巽黉馘冁夔勹匍訇匐凫夙兕亠兖亳衮袤亵脔裒禀嬴蠃羸冫冱冽冼�\".split(\"\");for(a=0;a!=t[217].length;++a)if(t[217][a].charCodeAt(0)!==65533){r[t[217][a]]=55552+a;e[55552+a]=t[217][a]}t[218]=\"����������������������������������������������������������������贎贏贐贑贒贓贔贕贖贗贘贙贚贛贜贠赑赒赗赟赥赨赩赪赬赮赯赱赲赸赹赺赻赼赽赾赿趀趂趃趆趇趈趉趌趍趎趏趐趒趓趕趖趗趘趙趚趛趜趝趞趠趡�趢趤趥趦趧趨趩趪趫趬趭趮趯趰趲趶趷趹趻趽跀跁跂跅跇跈跉跊跍跐跒跓跔凇冖冢冥讠讦讧讪讴讵讷诂诃诋诏诎诒诓诔诖诘诙诜诟诠诤诨诩诮诰诳诶诹诼诿谀谂谄谇谌谏谑谒谔谕谖谙谛谘谝谟谠谡谥谧谪谫谮谯谲谳谵谶卩卺阝阢阡阱阪阽阼陂陉陔陟陧陬陲陴隈隍隗隰邗邛邝邙邬邡邴邳邶邺�\".split(\"\");for(a=0;a!=t[218].length;++a)if(t[218][a].charCodeAt(0)!==65533){r[t[218][a]]=55808+a;e[55808+a]=t[218][a]}t[219]=\"����������������������������������������������������������������跕跘跙跜跠跡跢跥跦跧跩跭跮跰跱跲跴跶跼跾跿踀踁踂踃踄踆踇踈踋踍踎踐踑踒踓踕踖踗踘踙踚踛踜踠踡踤踥踦踧踨踫踭踰踲踳踴踶踷踸踻踼踾�踿蹃蹅蹆蹌蹍蹎蹏蹐蹓蹔蹕蹖蹗蹘蹚蹛蹜蹝蹞蹟蹠蹡蹢蹣蹤蹥蹧蹨蹪蹫蹮蹱邸邰郏郅邾郐郄郇郓郦郢郜郗郛郫郯郾鄄鄢鄞鄣鄱鄯鄹酃酆刍奂劢劬劭劾哿勐勖勰叟燮矍廴凵凼鬯厶弁畚巯坌垩垡塾墼壅壑圩圬圪圳圹圮圯坜圻坂坩垅坫垆坼坻坨坭坶坳垭垤垌垲埏垧垴垓垠埕埘埚埙埒垸埴埯埸埤埝�\".split(\"\");for(a=0;a!=t[219].length;++a)if(t[219][a].charCodeAt(0)!==65533){r[t[219][a]]=56064+a;e[56064+a]=t[219][a]}t[220]=\"����������������������������������������������������������������蹳蹵蹷蹸蹹蹺蹻蹽蹾躀躂躃躄躆躈躉躊躋躌躍躎躑躒躓躕躖躗躘躙躚躛躝躟躠躡躢躣躤躥躦躧躨躩躪躭躮躰躱躳躴躵躶躷躸躹躻躼躽躾躿軀軁軂�軃軄軅軆軇軈軉車軋軌軍軏軐軑軒軓軔軕軖軗軘軙軚軛軜軝軞軟軠軡転軣軤堋堍埽埭堀堞堙塄堠塥塬墁墉墚墀馨鼙懿艹艽艿芏芊芨芄芎芑芗芙芫芸芾芰苈苊苣芘芷芮苋苌苁芩芴芡芪芟苄苎芤苡茉苷苤茏茇苜苴苒苘茌苻苓茑茚茆茔茕苠苕茜荑荛荜茈莒茼茴茱莛荞茯荏荇荃荟荀茗荠茭茺茳荦荥�\".split(\"\");for(a=0;a!=t[220].length;++a)if(t[220][a].charCodeAt(0)!==65533){r[t[220][a]]=56320+a;e[56320+a]=t[220][a]}t[221]=\"����������������������������������������������������������������軥軦軧軨軩軪軫軬軭軮軯軰軱軲軳軴軵軶軷軸軹軺軻軼軽軾軿輀輁輂較輄輅輆輇輈載輊輋輌輍輎輏輐輑輒輓輔輕輖輗輘輙輚輛輜輝輞輟輠輡輢輣�輤輥輦輧輨輩輪輫輬輭輮輯輰輱輲輳輴輵輶輷輸輹輺輻輼輽輾輿轀轁轂轃轄荨茛荩荬荪荭荮莰荸莳莴莠莪莓莜莅荼莶莩荽莸荻莘莞莨莺莼菁萁菥菘堇萘萋菝菽菖萜萸萑萆菔菟萏萃菸菹菪菅菀萦菰菡葜葑葚葙葳蒇蒈葺蒉葸萼葆葩葶蒌蒎萱葭蓁蓍蓐蓦蒽蓓蓊蒿蒺蓠蒡蒹蒴蒗蓥蓣蔌甍蔸蓰蔹蔟蔺�\".split(\"\");for(a=0;a!=t[221].length;++a)if(t[221][a].charCodeAt(0)!==65533){r[t[221][a]]=56576+a;e[56576+a]=t[221][a]}t[222]=\"����������������������������������������������������������������轅轆轇轈轉轊轋轌轍轎轏轐轑轒轓轔轕轖轗轘轙轚轛轜轝轞轟轠轡轢轣轤轥轪辀辌辒辝辠辡辢辤辥辦辧辪辬辭辮辯農辳辴辵辷辸辺辻込辿迀迃迆�迉迊迋迌迍迏迒迖迗迚迠迡迣迧迬迯迱迲迴迵迶迺迻迼迾迿逇逈逌逎逓逕逘蕖蔻蓿蓼蕙蕈蕨蕤蕞蕺瞢蕃蕲蕻薤薨薇薏蕹薮薜薅薹薷薰藓藁藜藿蘧蘅蘩蘖蘼廾弈夼奁耷奕奚奘匏尢尥尬尴扌扪抟抻拊拚拗拮挢拶挹捋捃掭揶捱捺掎掴捭掬掊捩掮掼揲揸揠揿揄揞揎摒揆掾摅摁搋搛搠搌搦搡摞撄摭撖�\".split(\"\");for(a=0;a!=t[222].length;++a)if(t[222][a].charCodeAt(0)!==65533){r[t[222][a]]=56832+a;e[56832+a]=t[222][a]}t[223]=\"����������������������������������������������������������������這逜連逤逥逧逨逩逪逫逬逰週進逳逴逷逹逺逽逿遀遃遅遆遈遉遊運遌過達違遖遙遚遜遝遞遟遠遡遤遦遧適遪遫遬遯遰遱遲遳遶遷選遹遺遻遼遾邁�還邅邆邇邉邊邌邍邎邏邐邒邔邖邘邚邜邞邟邠邤邥邧邨邩邫邭邲邷邼邽邿郀摺撷撸撙撺擀擐擗擤擢攉攥攮弋忒甙弑卟叱叽叩叨叻吒吖吆呋呒呓呔呖呃吡呗呙吣吲咂咔呷呱呤咚咛咄呶呦咝哐咭哂咴哒咧咦哓哔呲咣哕咻咿哌哙哚哜咩咪咤哝哏哞唛哧唠哽唔哳唢唣唏唑唧唪啧喏喵啉啭啁啕唿啐唼�\".split(\"\");for(a=0;a!=t[223].length;++a)if(t[223][a].charCodeAt(0)!==65533){r[t[223][a]]=57088+a;e[57088+a]=t[223][a]}t[224]=\"����������������������������������������������������������������郂郃郆郈郉郋郌郍郒郔郕郖郘郙郚郞郟郠郣郤郥郩郪郬郮郰郱郲郳郵郶郷郹郺郻郼郿鄀鄁鄃鄅鄆鄇鄈鄉鄊鄋鄌鄍鄎鄏鄐鄑鄒鄓鄔鄕鄖鄗鄘鄚鄛鄜�鄝鄟鄠鄡鄤鄥鄦鄧鄨鄩鄪鄫鄬鄭鄮鄰鄲鄳鄴鄵鄶鄷鄸鄺鄻鄼鄽鄾鄿酀酁酂酄唷啖啵啶啷唳唰啜喋嗒喃喱喹喈喁喟啾嗖喑啻嗟喽喾喔喙嗪嗷嗉嘟嗑嗫嗬嗔嗦嗝嗄嗯嗥嗲嗳嗌嗍嗨嗵嗤辔嘞嘈嘌嘁嘤嘣嗾嘀嘧嘭噘嘹噗嘬噍噢噙噜噌噔嚆噤噱噫噻噼嚅嚓嚯囔囗囝囡囵囫囹囿圄圊圉圜帏帙帔帑帱帻帼�\".split(\"\");for(a=0;a!=t[224].length;++a)if(t[224][a].charCodeAt(0)!==65533){r[t[224][a]]=57344+a;e[57344+a]=t[224][a]}t[225]=\"����������������������������������������������������������������酅酇酈酑酓酔酕酖酘酙酛酜酟酠酦酧酨酫酭酳酺酻酼醀醁醂醃醄醆醈醊醎醏醓醔醕醖醗醘醙醜醝醞醟醠醡醤醥醦醧醨醩醫醬醰醱醲醳醶醷醸醹醻�醼醽醾醿釀釁釂釃釄釅釆釈釋釐釒釓釔釕釖釗釘釙釚釛針釞釟釠釡釢釣釤釥帷幄幔幛幞幡岌屺岍岐岖岈岘岙岑岚岜岵岢岽岬岫岱岣峁岷峄峒峤峋峥崂崃崧崦崮崤崞崆崛嵘崾崴崽嵬嵛嵯嵝嵫嵋嵊嵩嵴嶂嶙嶝豳嶷巅彳彷徂徇徉後徕徙徜徨徭徵徼衢彡犭犰犴犷犸狃狁狎狍狒狨狯狩狲狴狷猁狳猃狺�\".split(\"\");for(a=0;a!=t[225].length;++a)if(t[225][a].charCodeAt(0)!==65533){r[t[225][a]]=57600+a;e[57600+a]=t[225][a]}t[226]=\"����������������������������������������������������������������釦釧釨釩釪釫釬釭釮釯釰釱釲釳釴釵釶釷釸釹釺釻釼釽釾釿鈀鈁鈂鈃鈄鈅鈆鈇鈈鈉鈊鈋鈌鈍鈎鈏鈐鈑鈒鈓鈔鈕鈖鈗鈘鈙鈚鈛鈜鈝鈞鈟鈠鈡鈢鈣鈤�鈥鈦鈧鈨鈩鈪鈫鈬鈭鈮鈯鈰鈱鈲鈳鈴鈵鈶鈷鈸鈹鈺鈻鈼鈽鈾鈿鉀鉁鉂鉃鉄鉅狻猗猓猡猊猞猝猕猢猹猥猬猸猱獐獍獗獠獬獯獾舛夥飧夤夂饣饧饨饩饪饫饬饴饷饽馀馄馇馊馍馐馑馓馔馕庀庑庋庖庥庠庹庵庾庳赓廒廑廛廨廪膺忄忉忖忏怃忮怄忡忤忾怅怆忪忭忸怙怵怦怛怏怍怩怫怊怿怡恸恹恻恺恂�\".split(\"\");for(a=0;a!=t[226].length;++a)if(t[226][a].charCodeAt(0)!==65533){r[t[226][a]]=57856+a;e[57856+a]=t[226][a]}t[227]=\"����������������������������������������������������������������鉆鉇鉈鉉鉊鉋鉌鉍鉎鉏鉐鉑鉒鉓鉔鉕鉖鉗鉘鉙鉚鉛鉜鉝鉞鉟鉠鉡鉢鉣鉤鉥鉦鉧鉨鉩鉪鉫鉬鉭鉮鉯鉰鉱鉲鉳鉵鉶鉷鉸鉹鉺鉻鉼鉽鉾鉿銀銁銂銃銄銅�銆銇銈銉銊銋銌銍銏銐銑銒銓銔銕銖銗銘銙銚銛銜銝銞銟銠銡銢銣銤銥銦銧恪恽悖悚悭悝悃悒悌悛惬悻悱惝惘惆惚悴愠愦愕愣惴愀愎愫慊慵憬憔憧憷懔懵忝隳闩闫闱闳闵闶闼闾阃阄阆阈阊阋阌阍阏阒阕阖阗阙阚丬爿戕氵汔汜汊沣沅沐沔沌汨汩汴汶沆沩泐泔沭泷泸泱泗沲泠泖泺泫泮沱泓泯泾�\".split(\"\");for(a=0;a!=t[227].length;++a)if(t[227][a].charCodeAt(0)!==65533){r[t[227][a]]=58112+a;e[58112+a]=t[227][a]}t[228]=\"����������������������������������������������������������������銨銩銪銫銬銭銯銰銱銲銳銴銵銶銷銸銹銺銻銼銽銾銿鋀鋁鋂鋃鋄鋅鋆鋇鋉鋊鋋鋌鋍鋎鋏鋐鋑鋒鋓鋔鋕鋖鋗鋘鋙鋚鋛鋜鋝鋞鋟鋠鋡鋢鋣鋤鋥鋦鋧鋨�鋩鋪鋫鋬鋭鋮鋯鋰鋱鋲鋳鋴鋵鋶鋷鋸鋹鋺鋻鋼鋽鋾鋿錀錁錂錃錄錅錆錇錈錉洹洧洌浃浈洇洄洙洎洫浍洮洵洚浏浒浔洳涑浯涞涠浞涓涔浜浠浼浣渚淇淅淞渎涿淠渑淦淝淙渖涫渌涮渫湮湎湫溲湟溆湓湔渲渥湄滟溱溘滠漭滢溥溧溽溻溷滗溴滏溏滂溟潢潆潇漤漕滹漯漶潋潴漪漉漩澉澍澌潸潲潼潺濑�\".split(\"\");for(a=0;a!=t[228].length;++a)if(t[228][a].charCodeAt(0)!==65533){r[t[228][a]]=58368+a;e[58368+a]=t[228][a]}t[229]=\"����������������������������������������������������������������錊錋錌錍錎錏錐錑錒錓錔錕錖錗錘錙錚錛錜錝錞錟錠錡錢錣錤錥錦錧錨錩錪錫錬錭錮錯錰錱録錳錴錵錶錷錸錹錺錻錼錽錿鍀鍁鍂鍃鍄鍅鍆鍇鍈鍉�鍊鍋鍌鍍鍎鍏鍐鍑鍒鍓鍔鍕鍖鍗鍘鍙鍚鍛鍜鍝鍞鍟鍠鍡鍢鍣鍤鍥鍦鍧鍨鍩鍫濉澧澹澶濂濡濮濞濠濯瀚瀣瀛瀹瀵灏灞宀宄宕宓宥宸甯骞搴寤寮褰寰蹇謇辶迓迕迥迮迤迩迦迳迨逅逄逋逦逑逍逖逡逵逶逭逯遄遑遒遐遨遘遢遛暹遴遽邂邈邃邋彐彗彖彘尻咫屐屙孱屣屦羼弪弩弭艴弼鬻屮妁妃妍妩妪妣�\".split(\"\");for(a=0;a!=t[229].length;++a)if(t[229][a].charCodeAt(0)!==65533){r[t[229][a]]=58624+a;e[58624+a]=t[229][a]}t[230]=\"����������������������������������������������������������������鍬鍭鍮鍯鍰鍱鍲鍳鍴鍵鍶鍷鍸鍹鍺鍻鍼鍽鍾鍿鎀鎁鎂鎃鎄鎅鎆鎇鎈鎉鎊鎋鎌鎍鎎鎐鎑鎒鎓鎔鎕鎖鎗鎘鎙鎚鎛鎜鎝鎞鎟鎠鎡鎢鎣鎤鎥鎦鎧鎨鎩鎪鎫�鎬鎭鎮鎯鎰鎱鎲鎳鎴鎵鎶鎷鎸鎹鎺鎻鎼鎽鎾鎿鏀鏁鏂鏃鏄鏅鏆鏇鏈鏉鏋鏌鏍妗姊妫妞妤姒妲妯姗妾娅娆姝娈姣姘姹娌娉娲娴娑娣娓婀婧婊婕娼婢婵胬媪媛婷婺媾嫫媲嫒嫔媸嫠嫣嫱嫖嫦嫘嫜嬉嬗嬖嬲嬷孀尕尜孚孥孳孑孓孢驵驷驸驺驿驽骀骁骅骈骊骐骒骓骖骘骛骜骝骟骠骢骣骥骧纟纡纣纥纨纩�\".split(\"\");for(a=0;a!=t[230].length;++a)if(t[230][a].charCodeAt(0)!==65533){r[t[230][a]]=58880+a;e[58880+a]=t[230][a]}t[231]=\"����������������������������������������������������������������鏎鏏鏐鏑鏒鏓鏔鏕鏗鏘鏙鏚鏛鏜鏝鏞鏟鏠鏡鏢鏣鏤鏥鏦鏧鏨鏩鏪鏫鏬鏭鏮鏯鏰鏱鏲鏳鏴鏵鏶鏷鏸鏹鏺鏻鏼鏽鏾鏿鐀鐁鐂鐃鐄鐅鐆鐇鐈鐉鐊鐋鐌鐍�鐎鐏鐐鐑鐒鐓鐔鐕鐖鐗鐘鐙鐚鐛鐜鐝鐞鐟鐠鐡鐢鐣鐤鐥鐦鐧鐨鐩鐪鐫鐬鐭鐮纭纰纾绀绁绂绉绋绌绐绔绗绛绠绡绨绫绮绯绱绲缍绶绺绻绾缁缂缃缇缈缋缌缏缑缒缗缙缜缛缟缡缢缣缤缥缦缧缪缫缬缭缯缰缱缲缳缵幺畿巛甾邕玎玑玮玢玟珏珂珑玷玳珀珉珈珥珙顼琊珩珧珞玺珲琏琪瑛琦琥琨琰琮琬�\".split(\"\");for(a=0;a!=t[231].length;++a)if(t[231][a].charCodeAt(0)!==65533){r[t[231][a]]=59136+a;e[59136+a]=t[231][a]}t[232]=\"����������������������������������������������������������������鐯鐰鐱鐲鐳鐴鐵鐶鐷鐸鐹鐺鐻鐼鐽鐿鑀鑁鑂鑃鑄鑅鑆鑇鑈鑉鑊鑋鑌鑍鑎鑏鑐鑑鑒鑓鑔鑕鑖鑗鑘鑙鑚鑛鑜鑝鑞鑟鑠鑡鑢鑣鑤鑥鑦鑧鑨鑩鑪鑬鑭鑮鑯�鑰鑱鑲鑳鑴鑵鑶鑷鑸鑹鑺鑻鑼鑽鑾鑿钀钁钂钃钄钑钖钘铇铏铓铔铚铦铻锜锠琛琚瑁瑜瑗瑕瑙瑷瑭瑾璜璎璀璁璇璋璞璨璩璐璧瓒璺韪韫韬杌杓杞杈杩枥枇杪杳枘枧杵枨枞枭枋杷杼柰栉柘栊柩枰栌柙枵柚枳柝栀柃枸柢栎柁柽栲栳桠桡桎桢桄桤梃栝桕桦桁桧桀栾桊桉栩梵梏桴桷梓桫棂楮棼椟椠棹�\".split(\"\");for(a=0;a!=t[232].length;++a)if(t[232][a].charCodeAt(0)!==65533){r[t[232][a]]=59392+a;e[59392+a]=t[232][a]}t[233]=\"����������������������������������������������������������������锧锳锽镃镈镋镕镚镠镮镴镵長镸镹镺镻镼镽镾門閁閂閃閄閅閆閇閈閉閊開閌閍閎閏閐閑閒間閔閕閖閗閘閙閚閛閜閝閞閟閠閡関閣閤閥閦閧閨閩閪�閫閬閭閮閯閰閱閲閳閴閵閶閷閸閹閺閻閼閽閾閿闀闁闂闃闄闅闆闇闈闉闊闋椤棰椋椁楗棣椐楱椹楠楂楝榄楫榀榘楸椴槌榇榈槎榉楦楣楹榛榧榻榫榭槔榱槁槊槟榕槠榍槿樯槭樗樘橥槲橄樾檠橐橛樵檎橹樽樨橘橼檑檐檩檗檫猷獒殁殂殇殄殒殓殍殚殛殡殪轫轭轱轲轳轵轶轸轷轹轺轼轾辁辂辄辇辋�\".split(\"\");for(a=0;a!=t[233].length;++a)if(t[233][a].charCodeAt(0)!==65533){r[t[233][a]]=59648+a;e[59648+a]=t[233][a]}t[234]=\"����������������������������������������������������������������闌闍闎闏闐闑闒闓闔闕闖闗闘闙闚闛關闝闞闟闠闡闢闣闤闥闦闧闬闿阇阓阘阛阞阠阣阤阥阦阧阨阩阫阬阭阯阰阷阸阹阺阾陁陃陊陎陏陑陒陓陖陗�陘陙陚陜陝陞陠陣陥陦陫陭陮陯陰陱陳陸陹険陻陼陽陾陿隀隁隂隃隄隇隉隊辍辎辏辘辚軎戋戗戛戟戢戡戥戤戬臧瓯瓴瓿甏甑甓攴旮旯旰昊昙杲昃昕昀炅曷昝昴昱昶昵耆晟晔晁晏晖晡晗晷暄暌暧暝暾曛曜曦曩贲贳贶贻贽赀赅赆赈赉赇赍赕赙觇觊觋觌觎觏觐觑牮犟牝牦牯牾牿犄犋犍犏犒挈挲掰�\".split(\"\");for(a=0;a!=t[234].length;++a)if(t[234][a].charCodeAt(0)!==65533){r[t[234][a]]=59904+a;e[59904+a]=t[234][a]}t[235]=\"����������������������������������������������������������������隌階隑隒隓隕隖隚際隝隞隟隠隡隢隣隤隥隦隨隩險隫隬隭隮隯隱隲隴隵隷隸隺隻隿雂雃雈雊雋雐雑雓雔雖雗雘雙雚雛雜雝雞雟雡離難雤雥雦雧雫�雬雭雮雰雱雲雴雵雸雺電雼雽雿霂霃霅霊霋霌霐霑霒霔霕霗霘霙霚霛霝霟霠搿擘耄毪毳毽毵毹氅氇氆氍氕氘氙氚氡氩氤氪氲攵敕敫牍牒牖爰虢刖肟肜肓肼朊肽肱肫肭肴肷胧胨胩胪胛胂胄胙胍胗朐胝胫胱胴胭脍脎胲胼朕脒豚脶脞脬脘脲腈腌腓腴腙腚腱腠腩腼腽腭腧塍媵膈膂膑滕膣膪臌朦臊膻�\".split(\"\");for(a=0;a!=t[235].length;++a)if(t[235][a].charCodeAt(0)!==65533){r[t[235][a]]=60160+a;e[60160+a]=t[235][a]}t[236]=\"����������������������������������������������������������������霡霢霣霤霥霦霧霨霩霫霬霮霯霱霳霴霵霶霷霺霻霼霽霿靀靁靂靃靄靅靆靇靈靉靊靋靌靍靎靏靐靑靔靕靗靘靚靜靝靟靣靤靦靧靨靪靫靬靭靮靯靰靱�靲靵靷靸靹靺靻靽靾靿鞀鞁鞂鞃鞄鞆鞇鞈鞉鞊鞌鞎鞏鞐鞓鞕鞖鞗鞙鞚鞛鞜鞝臁膦欤欷欹歃歆歙飑飒飓飕飙飚殳彀毂觳斐齑斓於旆旄旃旌旎旒旖炀炜炖炝炻烀炷炫炱烨烊焐焓焖焯焱煳煜煨煅煲煊煸煺熘熳熵熨熠燠燔燧燹爝爨灬焘煦熹戾戽扃扈扉礻祀祆祉祛祜祓祚祢祗祠祯祧祺禅禊禚禧禳忑忐�\".split(\"\");for(a=0;a!=t[236].length;++a)if(t[236][a].charCodeAt(0)!==65533){r[t[236][a]]=60416+a;e[60416+a]=t[236][a]}t[237]=\"����������������������������������������������������������������鞞鞟鞡鞢鞤鞥鞦鞧鞨鞩鞪鞬鞮鞰鞱鞳鞵鞶鞷鞸鞹鞺鞻鞼鞽鞾鞿韀韁韂韃韄韅韆韇韈韉韊韋韌韍韎韏韐韑韒韓韔韕韖韗韘韙韚韛韜韝韞韟韠韡韢韣�韤韥韨韮韯韰韱韲韴韷韸韹韺韻韼韽韾響頀頁頂頃頄項順頇須頉頊頋頌頍頎怼恝恚恧恁恙恣悫愆愍慝憩憝懋懑戆肀聿沓泶淼矶矸砀砉砗砘砑斫砭砜砝砹砺砻砟砼砥砬砣砩硎硭硖硗砦硐硇硌硪碛碓碚碇碜碡碣碲碹碥磔磙磉磬磲礅磴礓礤礞礴龛黹黻黼盱眄眍盹眇眈眚眢眙眭眦眵眸睐睑睇睃睚睨�\".split(\"\");for(a=0;a!=t[237].length;++a)if(t[237][a].charCodeAt(0)!==65533){r[t[237][a]]=60672+a;e[60672+a]=t[237][a]}t[238]=\"����������������������������������������������������������������頏預頑頒頓頔頕頖頗領頙頚頛頜頝頞頟頠頡頢頣頤頥頦頧頨頩頪頫頬頭頮頯頰頱頲頳頴頵頶頷頸頹頺頻頼頽頾頿顀顁顂顃顄顅顆顇顈顉顊顋題額�顎顏顐顑顒顓顔顕顖顗願顙顚顛顜顝類顟顠顡顢顣顤顥顦顧顨顩顪顫顬顭顮睢睥睿瞍睽瞀瞌瞑瞟瞠瞰瞵瞽町畀畎畋畈畛畲畹疃罘罡罟詈罨罴罱罹羁罾盍盥蠲钅钆钇钋钊钌钍钏钐钔钗钕钚钛钜钣钤钫钪钭钬钯钰钲钴钶钷钸钹钺钼钽钿铄铈铉铊铋铌铍铎铐铑铒铕铖铗铙铘铛铞铟铠铢铤铥铧铨铪�\".split(\"\");for(a=0;a!=t[238].length;++a)if(t[238][a].charCodeAt(0)!==65533){r[t[238][a]]=60928+a;e[60928+a]=t[238][a]}t[239]=\"����������������������������������������������������������������顯顰顱顲顳顴颋颎颒颕颙颣風颩颪颫颬颭颮颯颰颱颲颳颴颵颶颷颸颹颺颻颼颽颾颿飀飁飂飃飄飅飆飇飈飉飊飋飌飍飏飐飔飖飗飛飜飝飠飡飢飣飤�飥飦飩飪飫飬飭飮飯飰飱飲飳飴飵飶飷飸飹飺飻飼飽飾飿餀餁餂餃餄餅餆餇铩铫铮铯铳铴铵铷铹铼铽铿锃锂锆锇锉锊锍锎锏锒锓锔锕锖锘锛锝锞锟锢锪锫锩锬锱锲锴锶锷锸锼锾锿镂锵镄镅镆镉镌镎镏镒镓镔镖镗镘镙镛镞镟镝镡镢镤镥镦镧镨镩镪镫镬镯镱镲镳锺矧矬雉秕秭秣秫稆嵇稃稂稞稔�\".split(\"\");for(a=0;a!=t[239].length;++a)if(t[239][a].charCodeAt(0)!==65533){r[t[239][a]]=61184+a;e[61184+a]=t[239][a]}t[240]=\"����������������������������������������������������������������餈餉養餋餌餎餏餑餒餓餔餕餖餗餘餙餚餛餜餝餞餟餠餡餢餣餤餥餦餧館餩餪餫餬餭餯餰餱餲餳餴餵餶餷餸餹餺餻餼餽餾餿饀饁饂饃饄饅饆饇饈饉�饊饋饌饍饎饏饐饑饒饓饖饗饘饙饚饛饜饝饞饟饠饡饢饤饦饳饸饹饻饾馂馃馉稹稷穑黏馥穰皈皎皓皙皤瓞瓠甬鸠鸢鸨鸩鸪鸫鸬鸲鸱鸶鸸鸷鸹鸺鸾鹁鹂鹄鹆鹇鹈鹉鹋鹌鹎鹑鹕鹗鹚鹛鹜鹞鹣鹦鹧鹨鹩鹪鹫鹬鹱鹭鹳疒疔疖疠疝疬疣疳疴疸痄疱疰痃痂痖痍痣痨痦痤痫痧瘃痱痼痿瘐瘀瘅瘌瘗瘊瘥瘘瘕瘙�\".split(\"\");for(a=0;a!=t[240].length;++a)if(t[240][a].charCodeAt(0)!==65533){r[t[240][a]]=61440+a;e[61440+a]=t[240][a]}t[241]=\"����������������������������������������������������������������馌馎馚馛馜馝馞馟馠馡馢馣馤馦馧馩馪馫馬馭馮馯馰馱馲馳馴馵馶馷馸馹馺馻馼馽馾馿駀駁駂駃駄駅駆駇駈駉駊駋駌駍駎駏駐駑駒駓駔駕駖駗駘�駙駚駛駜駝駞駟駠駡駢駣駤駥駦駧駨駩駪駫駬駭駮駯駰駱駲駳駴駵駶駷駸駹瘛瘼瘢瘠癀瘭瘰瘿瘵癃瘾瘳癍癞癔癜癖癫癯翊竦穸穹窀窆窈窕窦窠窬窨窭窳衤衩衲衽衿袂袢裆袷袼裉裢裎裣裥裱褚裼裨裾裰褡褙褓褛褊褴褫褶襁襦襻疋胥皲皴矜耒耔耖耜耠耢耥耦耧耩耨耱耋耵聃聆聍聒聩聱覃顸颀颃�\".split(\"\");for(a=0;a!=t[241].length;++a)if(t[241][a].charCodeAt(0)!==65533){r[t[241][a]]=61696+a;e[61696+a]=t[241][a]}t[242]=\"����������������������������������������������������������������駺駻駼駽駾駿騀騁騂騃騄騅騆騇騈騉騊騋騌騍騎騏騐騑騒験騔騕騖騗騘騙騚騛騜騝騞騟騠騡騢騣騤騥騦騧騨騩騪騫騬騭騮騯騰騱騲騳騴騵騶騷騸�騹騺騻騼騽騾騿驀驁驂驃驄驅驆驇驈驉驊驋驌驍驎驏驐驑驒驓驔驕驖驗驘驙颉颌颍颏颔颚颛颞颟颡颢颥颦虍虔虬虮虿虺虼虻蚨蚍蚋蚬蚝蚧蚣蚪蚓蚩蚶蛄蚵蛎蚰蚺蚱蚯蛉蛏蚴蛩蛱蛲蛭蛳蛐蜓蛞蛴蛟蛘蛑蜃蜇蛸蜈蜊蜍蜉蜣蜻蜞蜥蜮蜚蜾蝈蜴蜱蜩蜷蜿螂蜢蝽蝾蝻蝠蝰蝌蝮螋蝓蝣蝼蝤蝙蝥螓螯螨蟒�\".split(\"\");for(a=0;a!=t[242].length;++a)if(t[242][a].charCodeAt(0)!==65533){r[t[242][a]]=61952+a;e[61952+a]=t[242][a]}t[243]=\"����������������������������������������������������������������驚驛驜驝驞驟驠驡驢驣驤驥驦驧驨驩驪驫驲骃骉骍骎骔骕骙骦骩骪骫骬骭骮骯骲骳骴骵骹骻骽骾骿髃髄髆髇髈髉髊髍髎髏髐髒體髕髖髗髙髚髛髜�髝髞髠髢髣髤髥髧髨髩髪髬髮髰髱髲髳髴髵髶髷髸髺髼髽髾髿鬀鬁鬂鬄鬅鬆蟆螈螅螭螗螃螫蟥螬螵螳蟋蟓螽蟑蟀蟊蟛蟪蟠蟮蠖蠓蟾蠊蠛蠡蠹蠼缶罂罄罅舐竺竽笈笃笄笕笊笫笏筇笸笪笙笮笱笠笥笤笳笾笞筘筚筅筵筌筝筠筮筻筢筲筱箐箦箧箸箬箝箨箅箪箜箢箫箴篑篁篌篝篚篥篦篪簌篾篼簏簖簋�\".split(\"\");for(a=0;a!=t[243].length;++a)if(t[243][a].charCodeAt(0)!==65533){r[t[243][a]]=62208+a;e[62208+a]=t[243][a]}t[244]=\"����������������������������������������������������������������鬇鬉鬊鬋鬌鬍鬎鬐鬑鬒鬔鬕鬖鬗鬘鬙鬚鬛鬜鬝鬞鬠鬡鬢鬤鬥鬦鬧鬨鬩鬪鬫鬬鬭鬮鬰鬱鬳鬴鬵鬶鬷鬸鬹鬺鬽鬾鬿魀魆魊魋魌魎魐魒魓魕魖魗魘魙魚�魛魜魝魞魟魠魡魢魣魤魥魦魧魨魩魪魫魬魭魮魯魰魱魲魳魴魵魶魷魸魹魺魻簟簪簦簸籁籀臾舁舂舄臬衄舡舢舣舭舯舨舫舸舻舳舴舾艄艉艋艏艚艟艨衾袅袈裘裟襞羝羟羧羯羰羲籼敉粑粝粜粞粢粲粼粽糁糇糌糍糈糅糗糨艮暨羿翎翕翥翡翦翩翮翳糸絷綦綮繇纛麸麴赳趄趔趑趱赧赭豇豉酊酐酎酏酤�\".split(\"\");for(a=0;a!=t[244].length;++a)if(t[244][a].charCodeAt(0)!==65533){r[t[244][a]]=62464+a;e[62464+a]=t[244][a]}t[245]=\"����������������������������������������������������������������魼魽魾魿鮀鮁鮂鮃鮄鮅鮆鮇鮈鮉鮊鮋鮌鮍鮎鮏鮐鮑鮒鮓鮔鮕鮖鮗鮘鮙鮚鮛鮜鮝鮞鮟鮠鮡鮢鮣鮤鮥鮦鮧鮨鮩鮪鮫鮬鮭鮮鮯鮰鮱鮲鮳鮴鮵鮶鮷鮸鮹鮺�鮻鮼鮽鮾鮿鯀鯁鯂鯃鯄鯅鯆鯇鯈鯉鯊鯋鯌鯍鯎鯏鯐鯑鯒鯓鯔鯕鯖鯗鯘鯙鯚鯛酢酡酰酩酯酽酾酲酴酹醌醅醐醍醑醢醣醪醭醮醯醵醴醺豕鹾趸跫踅蹙蹩趵趿趼趺跄跖跗跚跞跎跏跛跆跬跷跸跣跹跻跤踉跽踔踝踟踬踮踣踯踺蹀踹踵踽踱蹉蹁蹂蹑蹒蹊蹰蹶蹼蹯蹴躅躏躔躐躜躞豸貂貊貅貘貔斛觖觞觚觜�\".split(\"\");for(a=0;a!=t[245].length;++a)if(t[245][a].charCodeAt(0)!==65533){r[t[245][a]]=62720+a;e[62720+a]=t[245][a]}t[246]=\"����������������������������������������������������������������鯜鯝鯞鯟鯠鯡鯢鯣鯤鯥鯦鯧鯨鯩鯪鯫鯬鯭鯮鯯鯰鯱鯲鯳鯴鯵鯶鯷鯸鯹鯺鯻鯼鯽鯾鯿鰀鰁鰂鰃鰄鰅鰆鰇鰈鰉鰊鰋鰌鰍鰎鰏鰐鰑鰒鰓鰔鰕鰖鰗鰘鰙鰚�鰛鰜鰝鰞鰟鰠鰡鰢鰣鰤鰥鰦鰧鰨鰩鰪鰫鰬鰭鰮鰯鰰鰱鰲鰳鰴鰵鰶鰷鰸鰹鰺鰻觥觫觯訾謦靓雩雳雯霆霁霈霏霎霪霭霰霾龀龃龅龆龇龈龉龊龌黾鼋鼍隹隼隽雎雒瞿雠銎銮鋈錾鍪鏊鎏鐾鑫鱿鲂鲅鲆鲇鲈稣鲋鲎鲐鲑鲒鲔鲕鲚鲛鲞鲟鲠鲡鲢鲣鲥鲦鲧鲨鲩鲫鲭鲮鲰鲱鲲鲳鲴鲵鲶鲷鲺鲻鲼鲽鳄鳅鳆鳇鳊鳋�\".split(\"\");for(a=0;a!=t[246].length;++a)if(t[246][a].charCodeAt(0)!==65533){r[t[246][a]]=62976+a;e[62976+a]=t[246][a]}t[247]=\"����������������������������������������������������������������鰼鰽鰾鰿鱀鱁鱂鱃鱄鱅鱆鱇鱈鱉鱊鱋鱌鱍鱎鱏鱐鱑鱒鱓鱔鱕鱖鱗鱘鱙鱚鱛鱜鱝鱞鱟鱠鱡鱢鱣鱤鱥鱦鱧鱨鱩鱪鱫鱬鱭鱮鱯鱰鱱鱲鱳鱴鱵鱶鱷鱸鱹鱺�鱻鱽鱾鲀鲃鲄鲉鲊鲌鲏鲓鲖鲗鲘鲙鲝鲪鲬鲯鲹鲾鲿鳀鳁鳂鳈鳉鳑鳒鳚鳛鳠鳡鳌鳍鳎鳏鳐鳓鳔鳕鳗鳘鳙鳜鳝鳟鳢靼鞅鞑鞒鞔鞯鞫鞣鞲鞴骱骰骷鹘骶骺骼髁髀髅髂髋髌髑魅魃魇魉魈魍魑飨餍餮饕饔髟髡髦髯髫髻髭髹鬈鬏鬓鬟鬣麽麾縻麂麇麈麋麒鏖麝麟黛黜黝黠黟黢黩黧黥黪黯鼢鼬鼯鼹鼷鼽鼾齄�\".split(\"\");for(a=0;a!=t[247].length;++a)if(t[247][a].charCodeAt(0)!==65533){r[t[247][a]]=63232+a;e[63232+a]=t[247][a]}t[248]=\"����������������������������������������������������������������鳣鳤鳥鳦鳧鳨鳩鳪鳫鳬鳭鳮鳯鳰鳱鳲鳳鳴鳵鳶鳷鳸鳹鳺鳻鳼鳽鳾鳿鴀鴁鴂鴃鴄鴅鴆鴇鴈鴉鴊鴋鴌鴍鴎鴏鴐鴑鴒鴓鴔鴕鴖鴗鴘鴙鴚鴛鴜鴝鴞鴟鴠鴡�鴢鴣鴤鴥鴦鴧鴨鴩鴪鴫鴬鴭鴮鴯鴰鴱鴲鴳鴴鴵鴶鴷鴸鴹鴺鴻鴼鴽鴾鴿鵀鵁鵂�����������������������������������������������������������������������������������������������\".split(\"\");for(a=0;a!=t[248].length;++a)if(t[248][a].charCodeAt(0)!==65533){r[t[248][a]]=63488+a;e[63488+a]=t[248][a]}t[249]=\"����������������������������������������������������������������鵃鵄鵅鵆鵇鵈鵉鵊鵋鵌鵍鵎鵏鵐鵑鵒鵓鵔鵕鵖鵗鵘鵙鵚鵛鵜鵝鵞鵟鵠鵡鵢鵣鵤鵥鵦鵧鵨鵩鵪鵫鵬鵭鵮鵯鵰鵱鵲鵳鵴鵵鵶鵷鵸鵹鵺鵻鵼鵽鵾鵿鶀鶁�鶂鶃鶄鶅鶆鶇鶈鶉鶊鶋鶌鶍鶎鶏鶐鶑鶒鶓鶔鶕鶖鶗鶘鶙鶚鶛鶜鶝鶞鶟鶠鶡鶢�����������������������������������������������������������������������������������������������\".split(\"\");for(a=0;a!=t[249].length;++a)if(t[249][a].charCodeAt(0)!==65533){r[t[249][a]]=63744+a;e[63744+a]=t[249][a]}t[250]=\"����������������������������������������������������������������鶣鶤鶥鶦鶧鶨鶩鶪鶫鶬鶭鶮鶯鶰鶱鶲鶳鶴鶵鶶鶷鶸鶹鶺鶻鶼鶽鶾鶿鷀鷁鷂鷃鷄鷅鷆鷇鷈鷉鷊鷋鷌鷍鷎鷏鷐鷑鷒鷓鷔鷕鷖鷗鷘鷙鷚鷛鷜鷝鷞鷟鷠鷡�鷢鷣鷤鷥鷦鷧鷨鷩鷪鷫鷬鷭鷮鷯鷰鷱鷲鷳鷴鷵鷶鷷鷸鷹鷺鷻鷼鷽鷾鷿鸀鸁鸂�����������������������������������������������������������������������������������������������\".split(\"\");for(a=0;a!=t[250].length;++a)if(t[250][a].charCodeAt(0)!==65533){r[t[250][a]]=64e3+a;e[64e3+a]=t[250][a]}t[251]=\"����������������������������������������������������������������鸃鸄鸅鸆鸇鸈鸉鸊鸋鸌鸍鸎鸏鸐鸑鸒鸓鸔鸕鸖鸗鸘鸙鸚鸛鸜鸝鸞鸤鸧鸮鸰鸴鸻鸼鹀鹍鹐鹒鹓鹔鹖鹙鹝鹟鹠鹡鹢鹥鹮鹯鹲鹴鹵鹶鹷鹸鹹鹺鹻鹼鹽麀�麁麃麄麅麆麉麊麌麍麎麏麐麑麔麕麖麗麘麙麚麛麜麞麠麡麢麣麤麥麧麨麩麪�����������������������������������������������������������������������������������������������\".split(\"\");for(a=0;a!=t[251].length;++a)if(t[251][a].charCodeAt(0)!==65533){r[t[251][a]]=64256+a;e[64256+a]=t[251][a]}t[252]=\"����������������������������������������������������������������麫麬麭麮麯麰麱麲麳麵麶麷麹麺麼麿黀黁黂黃黅黆黇黈黊黋黌黐黒黓黕黖黗黙黚點黡黣黤黦黨黫黬黭黮黰黱黲黳黴黵黶黷黸黺黽黿鼀鼁鼂鼃鼄鼅�鼆鼇鼈鼉鼊鼌鼏鼑鼒鼔鼕鼖鼘鼚鼛鼜鼝鼞鼟鼡鼣鼤鼥鼦鼧鼨鼩鼪鼫鼭鼮鼰鼱�����������������������������������������������������������������������������������������������\".split(\"\");for(a=0;a!=t[252].length;++a)if(t[252][a].charCodeAt(0)!==65533){r[t[252][a]]=64512+a;e[64512+a]=t[252][a]}t[253]=\"����������������������������������������������������������������鼲鼳鼴鼵鼶鼸鼺鼼鼿齀齁齂齃齅齆齇齈齉齊齋齌齍齎齏齒齓齔齕齖齗齘齙齚齛齜齝齞齟齠齡齢齣齤齥齦齧齨齩齪齫齬齭齮齯齰齱齲齳齴齵齶齷齸�齹齺齻齼齽齾龁龂龍龎龏龐龑龒龓龔龕龖龗龘龜龝龞龡龢龣龤龥郎凉秊裏隣�����������������������������������������������������������������������������������������������\".split(\"\");for(a=0;a!=t[253].length;++a)if(t[253][a].charCodeAt(0)!==65533){r[t[253][a]]=64768+a;e[64768+a]=t[253][a]}t[254]=\"����������������������������������������������������������������兀嗀﨎﨏﨑﨓﨔礼﨟蘒﨡﨣﨤﨧﨨﨩��������������������������������������������������������������������������������������������������������������������������������������������������������������������������������\".split(\"\");for(a=0;a!=t[254].length;++a)if(t[254][a].charCodeAt(0)!==65533){r[t[254][a]]=65024+a;e[65024+a]=t[254][a]}return{enc:r,dec:e}}();cptable[949]=function(){var e=[],r={},t=[],a;t[0]=\"\\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007\\b\\t\\n\\x0B\\f\\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~��������������������������������������������������������������������������������������������������������������������������������\".split(\"\");for(a=0;a!=t[0].length;++a)if(t[0][a].charCodeAt(0)!==65533){r[t[0][a]]=0+a;e[0+a]=t[0][a]}t[129]=\"�����������������������������������������������������������������갂갃갅갆갋갌갍갎갏갘갞갟갡갢갣갥갦갧갨갩갪갫갮갲갳갴������갵갶갷갺갻갽갾갿걁걂걃걄걅걆걇걈걉걊걌걎걏걐걑걒걓걕������걖걗걙걚걛걝걞걟걠걡걢걣걤걥걦걧걨걩걪걫걬걭걮걯걲걳걵걶걹걻걼걽걾걿겂겇겈겍겎겏겑겒겓겕겖겗겘겙겚겛겞겢겣겤겥겦겧겫겭겮겱겲겳겴겵겶겷겺겾겿곀곂곃곅곆곇곉곊곋곍곎곏곐곑곒곓곔곖곘곙곚곛곜곝곞곟곢곣곥곦곩곫곭곮곲곴곷곸곹곺곻곾곿괁괂괃괅괇괈괉괊괋괎괐괒괓�\".split(\"\");for(a=0;a!=t[129].length;++a)if(t[129][a].charCodeAt(0)!==65533){r[t[129][a]]=33024+a;e[33024+a]=t[129][a]}t[130]=\"�����������������������������������������������������������������괔괕괖괗괙괚괛괝괞괟괡괢괣괤괥괦괧괨괪괫괮괯괰괱괲괳������괶괷괹괺괻괽괾괿굀굁굂굃굆굈굊굋굌굍굎굏굑굒굓굕굖굗������굙굚굛굜굝굞굟굠굢굤굥굦굧굨굩굪굫굮굯굱굲굷굸굹굺굾궀궃궄궅궆궇궊궋궍궎궏궑궒궓궔궕궖궗궘궙궚궛궞궟궠궡궢궣궥궦궧궨궩궪궫궬궭궮궯궰궱궲궳궴궵궶궸궹궺궻궼궽궾궿귂귃귅귆귇귉귊귋귌귍귎귏귒귔귕귖귗귘귙귚귛귝귞귟귡귢귣귥귦귧귨귩귪귫귬귭귮귯귰귱귲귳귴귵귶귷�\".split(\"\");for(a=0;a!=t[130].length;++a)if(t[130][a].charCodeAt(0)!==65533){r[t[130][a]]=33280+a;e[33280+a]=t[130][a]}t[131]=\"�����������������������������������������������������������������귺귻귽귾긂긃긄긅긆긇긊긌긎긏긐긑긒긓긕긖긗긘긙긚긛긜������긝긞긟긠긡긢긣긤긥긦긧긨긩긪긫긬긭긮긯긲긳긵긶긹긻긼������긽긾긿깂깄깇깈깉깋깏깑깒깓깕깗깘깙깚깛깞깢깣깤깦깧깪깫깭깮깯깱깲깳깴깵깶깷깺깾깿꺀꺁꺂꺃꺆꺇꺈꺉꺊꺋꺍꺎꺏꺐꺑꺒꺓꺔꺕꺖꺗꺘꺙꺚꺛꺜꺝꺞꺟꺠꺡꺢꺣꺤꺥꺦꺧꺨꺩꺪꺫꺬꺭꺮꺯꺰꺱꺲꺳꺴꺵꺶꺷꺸꺹꺺꺻꺿껁껂껃껅껆껇껈껉껊껋껎껒껓껔껕껖껗껚껛껝껞껟껠껡껢껣껤껥�\".split(\"\");for(a=0;a!=t[131].length;++a)if(t[131][a].charCodeAt(0)!==65533){r[t[131][a]]=33536+a;e[33536+a]=t[131][a]}t[132]=\"�����������������������������������������������������������������껦껧껩껪껬껮껯껰껱껲껳껵껶껷껹껺껻껽껾껿꼀꼁꼂꼃꼄꼅������꼆꼉꼊꼋꼌꼎꼏꼑꼒꼓꼔꼕꼖꼗꼘꼙꼚꼛꼜꼝꼞꼟꼠꼡꼢꼣������꼤꼥꼦꼧꼨꼩꼪꼫꼮꼯꼱꼳꼵꼶꼷꼸꼹꼺꼻꼾꽀꽄꽅꽆꽇꽊꽋꽌꽍꽎꽏꽑꽒꽓꽔꽕꽖꽗꽘꽙꽚꽛꽞꽟꽠꽡꽢꽣꽦꽧꽨꽩꽪꽫꽬꽭꽮꽯꽰꽱꽲꽳꽴꽵꽶꽷꽸꽺꽻꽼꽽꽾꽿꾁꾂꾃꾅꾆꾇꾉꾊꾋꾌꾍꾎꾏꾒꾓꾔꾖꾗꾘꾙꾚꾛꾝꾞꾟꾠꾡꾢꾣꾤꾥꾦꾧꾨꾩꾪꾫꾬꾭꾮꾯꾰꾱꾲꾳꾴꾵꾶꾷꾺꾻꾽꾾�\".split(\"\");for(a=0;a!=t[132].length;++a)if(t[132][a].charCodeAt(0)!==65533){r[t[132][a]]=33792+a;e[33792+a]=t[132][a]}t[133]=\"�����������������������������������������������������������������꾿꿁꿂꿃꿄꿅꿆꿊꿌꿏꿐꿑꿒꿓꿕꿖꿗꿘꿙꿚꿛꿝꿞꿟꿠꿡������꿢꿣꿤꿥꿦꿧꿪꿫꿬꿭꿮꿯꿲꿳꿵꿶꿷꿹꿺꿻꿼꿽꿾꿿뀂뀃������뀅뀆뀇뀈뀉뀊뀋뀍뀎뀏뀑뀒뀓뀕뀖뀗뀘뀙뀚뀛뀞뀟뀠뀡뀢뀣뀤뀥뀦뀧뀩뀪뀫뀬뀭뀮뀯뀰뀱뀲뀳뀴뀵뀶뀷뀸뀹뀺뀻뀼뀽뀾뀿끀끁끂끃끆끇끉끋끍끏끐끑끒끖끘끚끛끜끞끟끠끡끢끣끤끥끦끧끨끩끪끫끬끭끮끯끰끱끲끳끴끵끶끷끸끹끺끻끾끿낁낂낃낅낆낇낈낉낊낋낎낐낒낓낔낕낖낗낛낝낞낣낤�\".split(\"\");for(a=0;a!=t[133].length;++a)if(t[133][a].charCodeAt(0)!==65533){r[t[133][a]]=34048+a;e[34048+a]=t[133][a]}t[134]=\"�����������������������������������������������������������������낥낦낧낪낰낲낶낷낹낺낻낽낾낿냀냁냂냃냆냊냋냌냍냎냏냒������냓냕냖냗냙냚냛냜냝냞냟냡냢냣냤냦냧냨냩냪냫냬냭냮냯냰������냱냲냳냴냵냶냷냸냹냺냻냼냽냾냿넀넁넂넃넄넅넆넇넊넍넎넏넑넔넕넖넗넚넞넟넠넡넢넦넧넩넪넫넭넮넯넰넱넲넳넶넺넻넼넽넾넿녂녃녅녆녇녉녊녋녌녍녎녏녒녓녖녗녙녚녛녝녞녟녡녢녣녤녥녦녧녨녩녪녫녬녭녮녯녰녱녲녳녴녵녶녷녺녻녽녾녿놁놃놄놅놆놇놊놌놎놏놐놑놕놖놗놙놚놛놝�\".split(\"\");for(a=0;a!=t[134].length;++a)if(t[134][a].charCodeAt(0)!==65533){r[t[134][a]]=34304+a;e[34304+a]=t[134][a]}t[135]=\"�����������������������������������������������������������������놞놟놠놡놢놣놤놥놦놧놩놪놫놬놭놮놯놰놱놲놳놴놵놶놷놸������놹놺놻놼놽놾놿뇀뇁뇂뇃뇄뇅뇆뇇뇈뇉뇊뇋뇍뇎뇏뇑뇒뇓뇕������뇖뇗뇘뇙뇚뇛뇞뇠뇡뇢뇣뇤뇥뇦뇧뇪뇫뇭뇮뇯뇱뇲뇳뇴뇵뇶뇷뇸뇺뇼뇾뇿눀눁눂눃눆눇눉눊눍눎눏눐눑눒눓눖눘눚눛눜눝눞눟눡눢눣눤눥눦눧눨눩눪눫눬눭눮눯눰눱눲눳눵눶눷눸눹눺눻눽눾눿뉀뉁뉂뉃뉄뉅뉆뉇뉈뉉뉊뉋뉌뉍뉎뉏뉐뉑뉒뉓뉔뉕뉖뉗뉙뉚뉛뉝뉞뉟뉡뉢뉣뉤뉥뉦뉧뉪뉫뉬뉭뉮�\".split(\"\");for(a=0;a!=t[135].length;++a)if(t[135][a].charCodeAt(0)!==65533){r[t[135][a]]=34560+a;e[34560+a]=t[135][a]}t[136]=\"�����������������������������������������������������������������뉯뉰뉱뉲뉳뉶뉷뉸뉹뉺뉻뉽뉾뉿늀늁늂늃늆늇늈늊늋늌늍늎������늏늒늓늕늖늗늛늜늝늞늟늢늤늧늨늩늫늭늮늯늱늲늳늵늶늷������늸늹늺늻늼늽늾늿닀닁닂닃닄닅닆닇닊닋닍닎닏닑닓닔닕닖닗닚닜닞닟닠닡닣닧닩닪닰닱닲닶닼닽닾댂댃댅댆댇댉댊댋댌댍댎댏댒댖댗댘댙댚댛댝댞댟댠댡댢댣댤댥댦댧댨댩댪댫댬댭댮댯댰댱댲댳댴댵댶댷댸댹댺댻댼댽댾댿덀덁덂덃덄덅덆덇덈덉덊덋덌덍덎덏덐덑덒덓덗덙덚덝덠덡덢덣�\".split(\"\");for(a=0;a!=t[136].length;++a)if(t[136][a].charCodeAt(0)!==65533){r[t[136][a]]=34816+a;e[34816+a]=t[136][a]}t[137]=\"�����������������������������������������������������������������덦덨덪덬덭덯덲덳덵덶덷덹덺덻덼덽덾덿뎂뎆뎇뎈뎉뎊뎋뎍������뎎뎏뎑뎒뎓뎕뎖뎗뎘뎙뎚뎛뎜뎝뎞뎟뎢뎣뎤뎥뎦뎧뎩뎪뎫뎭������뎮뎯뎰뎱뎲뎳뎴뎵뎶뎷뎸뎹뎺뎻뎼뎽뎾뎿돀돁돂돃돆돇돉돊돍돏돑돒돓돖돘돚돜돞돟돡돢돣돥돦돧돩돪돫돬돭돮돯돰돱돲돳돴돵돶돷돸돹돺돻돽돾돿됀됁됂됃됄됅됆됇됈됉됊됋됌됍됎됏됑됒됓됔됕됖됗됙됚됛됝됞됟됡됢됣됤됥됦됧됪됬됭됮됯됰됱됲됳됵됶됷됸됹됺됻됼됽됾됿둀둁둂둃둄�\".split(\"\");for(a=0;a!=t[137].length;++a)if(t[137][a].charCodeAt(0)!==65533){r[t[137][a]]=35072+a;e[35072+a]=t[137][a]}t[138]=\"�����������������������������������������������������������������둅둆둇둈둉둊둋둌둍둎둏둒둓둕둖둗둙둚둛둜둝둞둟둢둤둦������둧둨둩둪둫둭둮둯둰둱둲둳둴둵둶둷둸둹둺둻둼둽둾둿뒁뒂������뒃뒄뒅뒆뒇뒉뒊뒋뒌뒍뒎뒏뒐뒑뒒뒓뒔뒕뒖뒗뒘뒙뒚뒛뒜뒞뒟뒠뒡뒢뒣뒥뒦뒧뒩뒪뒫뒭뒮뒯뒰뒱뒲뒳뒴뒶뒸뒺뒻뒼뒽뒾뒿듁듂듃듅듆듇듉듊듋듌듍듎듏듑듒듓듔듖듗듘듙듚듛듞듟듡듢듥듧듨듩듪듫듮듰듲듳듴듵듶듷듹듺듻듼듽듾듿딀딁딂딃딄딅딆딇딈딉딊딋딌딍딎딏딐딑딒딓딖딗딙딚딝�\".split(\"\");for(a=0;a!=t[138].length;++a)if(t[138][a].charCodeAt(0)!==65533){r[t[138][a]]=35328+a;e[35328+a]=t[138][a]}t[139]=\"�����������������������������������������������������������������딞딟딠딡딢딣딦딫딬딭딮딯딲딳딵딶딷딹딺딻딼딽딾딿땂땆������땇땈땉땊땎땏땑땒땓땕땖땗땘땙땚땛땞땢땣땤땥땦땧땨땩땪������땫땬땭땮땯땰땱땲땳땴땵땶땷땸땹땺땻땼땽땾땿떀떁떂떃떄떅떆떇떈떉떊떋떌떍떎떏떐떑떒떓떔떕떖떗떘떙떚떛떜떝떞떟떢떣떥떦떧떩떬떭떮떯떲떶떷떸떹떺떾떿뗁뗂뗃뗅뗆뗇뗈뗉뗊뗋뗎뗒뗓뗔뗕뗖뗗뗙뗚뗛뗜뗝뗞뗟뗠뗡뗢뗣뗤뗥뗦뗧뗨뗩뗪뗫뗭뗮뗯뗰뗱뗲뗳뗴뗵뗶뗷뗸뗹뗺뗻뗼뗽뗾뗿�\".split(\"\");for(a=0;a!=t[139].length;++a)if(t[139][a].charCodeAt(0)!==65533){r[t[139][a]]=35584+a;e[35584+a]=t[139][a]}t[140]=\"�����������������������������������������������������������������똀똁똂똃똄똅똆똇똈똉똊똋똌똍똎똏똒똓똕똖똗똙똚똛똜똝������똞똟똠똡똢똣똤똦똧똨똩똪똫똭똮똯똰똱똲똳똵똶똷똸똹똺������똻똼똽똾똿뙀뙁뙂뙃뙄뙅뙆뙇뙉뙊뙋뙌뙍뙎뙏뙐뙑뙒뙓뙔뙕뙖뙗뙘뙙뙚뙛뙜뙝뙞뙟뙠뙡뙢뙣뙥뙦뙧뙩뙪뙫뙬뙭뙮뙯뙰뙱뙲뙳뙴뙵뙶뙷뙸뙹뙺뙻뙼뙽뙾뙿뚀뚁뚂뚃뚄뚅뚆뚇뚈뚉뚊뚋뚌뚍뚎뚏뚐뚑뚒뚓뚔뚕뚖뚗뚘뚙뚚뚛뚞뚟뚡뚢뚣뚥뚦뚧뚨뚩뚪뚭뚮뚯뚰뚲뚳뚴뚵뚶뚷뚸뚹뚺뚻뚼뚽뚾뚿뛀뛁뛂�\".split(\"\");for(a=0;a!=t[140].length;++a)if(t[140][a].charCodeAt(0)!==65533){r[t[140][a]]=35840+a;e[35840+a]=t[140][a]}t[141]=\"�����������������������������������������������������������������뛃뛄뛅뛆뛇뛈뛉뛊뛋뛌뛍뛎뛏뛐뛑뛒뛓뛕뛖뛗뛘뛙뛚뛛뛜뛝������뛞뛟뛠뛡뛢뛣뛤뛥뛦뛧뛨뛩뛪뛫뛬뛭뛮뛯뛱뛲뛳뛵뛶뛷뛹뛺������뛻뛼뛽뛾뛿뜂뜃뜄뜆뜇뜈뜉뜊뜋뜌뜍뜎뜏뜐뜑뜒뜓뜔뜕뜖뜗뜘뜙뜚뜛뜜뜝뜞뜟뜠뜡뜢뜣뜤뜥뜦뜧뜪뜫뜭뜮뜱뜲뜳뜴뜵뜶뜷뜺뜼뜽뜾뜿띀띁띂띃띅띆띇띉띊띋띍띎띏띐띑띒띓띖띗띘띙띚띛띜띝띞띟띡띢띣띥띦띧띩띪띫띬띭띮띯띲띴띶띷띸띹띺띻띾띿랁랂랃랅랆랇랈랉랊랋랎랓랔랕랚랛랝랞�\".split(\"\");for(a=0;a!=t[141].length;++a)if(t[141][a].charCodeAt(0)!==65533){r[t[141][a]]=36096+a;e[36096+a]=t[141][a]}t[142]=\"�����������������������������������������������������������������랟랡랢랣랤랥랦랧랪랮랯랰랱랲랳랶랷랹랺랻랼랽랾랿럀럁������럂럃럄럅럆럈럊럋럌럍럎럏럐럑럒럓럔럕럖럗럘럙럚럛럜럝������럞럟럠럡럢럣럤럥럦럧럨럩럪럫럮럯럱럲럳럵럶럷럸럹럺럻럾렂렃렄렅렆렊렋렍렎렏렑렒렓렔렕렖렗렚렜렞렟렠렡렢렣렦렧렩렪렫렭렮렯렰렱렲렳렶렺렻렼렽렾렿롁롂롃롅롆롇롈롉롊롋롌롍롎롏롐롒롔롕롖롗롘롙롚롛롞롟롡롢롣롥롦롧롨롩롪롫롮롰롲롳롴롵롶롷롹롺롻롽롾롿뢀뢁뢂뢃뢄�\".split(\"\");for(a=0;a!=t[142].length;++a)if(t[142][a].charCodeAt(0)!==65533){r[t[142][a]]=36352+a;e[36352+a]=t[142][a]}t[143]=\"�����������������������������������������������������������������뢅뢆뢇뢈뢉뢊뢋뢌뢎뢏뢐뢑뢒뢓뢔뢕뢖뢗뢘뢙뢚뢛뢜뢝뢞뢟������뢠뢡뢢뢣뢤뢥뢦뢧뢩뢪뢫뢬뢭뢮뢯뢱뢲뢳뢵뢶뢷뢹뢺뢻뢼뢽������뢾뢿룂룄룆룇룈룉룊룋룍룎룏룑룒룓룕룖룗룘룙룚룛룜룞룠룢룣룤룥룦룧룪룫룭룮룯룱룲룳룴룵룶룷룺룼룾룿뤀뤁뤂뤃뤅뤆뤇뤈뤉뤊뤋뤌뤍뤎뤏뤐뤑뤒뤓뤔뤕뤖뤗뤙뤚뤛뤜뤝뤞뤟뤡뤢뤣뤤뤥뤦뤧뤨뤩뤪뤫뤬뤭뤮뤯뤰뤱뤲뤳뤴뤵뤶뤷뤸뤹뤺뤻뤾뤿륁륂륃륅륆륇륈륉륊륋륍륎륐륒륓륔륕륖륗�\".split(\"\");for(a=0;a!=t[143].length;++a)if(t[143][a].charCodeAt(0)!==65533){r[t[143][a]]=36608+a;e[36608+a]=t[143][a]}t[144]=\"�����������������������������������������������������������������륚륛륝륞륟륡륢륣륤륥륦륧륪륬륮륯륰륱륲륳륶륷륹륺륻륽������륾륿릀릁릂릃릆릈릋릌릏릐릑릒릓릔릕릖릗릘릙릚릛릜릝릞������릟릠릡릢릣릤릥릦릧릨릩릪릫릮릯릱릲릳릵릶릷릸릹릺릻릾맀맂맃맄맅맆맇맊맋맍맓맔맕맖맗맚맜맟맠맢맦맧맩맪맫맭맮맯맰맱맲맳맶맻맼맽맾맿먂먃먄먅먆먇먉먊먋먌먍먎먏먐먑먒먓먔먖먗먘먙먚먛먜먝먞먟먠먡먢먣먤먥먦먧먨먩먪먫먬먭먮먯먰먱먲먳먴먵먶먷먺먻먽먾먿멁멃멄멅멆�\".split(\"\");for(a=0;a!=t[144].length;++a)if(t[144][a].charCodeAt(0)!==65533){r[t[144][a]]=36864+a;e[36864+a]=t[144][a]}t[145]=\"�����������������������������������������������������������������멇멊멌멏멐멑멒멖멗멙멚멛멝멞멟멠멡멢멣멦멪멫멬멭멮멯������멲멳멵멶멷멹멺멻멼멽멾멿몀몁몂몆몈몉몊몋몍몎몏몐몑몒������몓몔몕몖몗몘몙몚몛몜몝몞몟몠몡몢몣몤몥몦몧몪몭몮몯몱몳몴몵몶몷몺몼몾몿뫀뫁뫂뫃뫅뫆뫇뫉뫊뫋뫌뫍뫎뫏뫐뫑뫒뫓뫔뫕뫖뫗뫚뫛뫜뫝뫞뫟뫠뫡뫢뫣뫤뫥뫦뫧뫨뫩뫪뫫뫬뫭뫮뫯뫰뫱뫲뫳뫴뫵뫶뫷뫸뫹뫺뫻뫽뫾뫿묁묂묃묅묆묇묈묉묊묋묌묎묐묒묓묔묕묖묗묙묚묛묝묞묟묡묢묣묤묥묦묧�\".split(\"\");for(a=0;a!=t[145].length;++a)if(t[145][a].charCodeAt(0)!==65533){r[t[145][a]]=37120+a;e[37120+a]=t[145][a]}t[146]=\"�����������������������������������������������������������������묨묪묬묭묮묯묰묱묲묳묷묹묺묿뭀뭁뭂뭃뭆뭈뭊뭋뭌뭎뭑뭒������뭓뭕뭖뭗뭙뭚뭛뭜뭝뭞뭟뭠뭢뭤뭥뭦뭧뭨뭩뭪뭫뭭뭮뭯뭰뭱������뭲뭳뭴뭵뭶뭷뭸뭹뭺뭻뭼뭽뭾뭿뮀뮁뮂뮃뮄뮅뮆뮇뮉뮊뮋뮍뮎뮏뮑뮒뮓뮔뮕뮖뮗뮘뮙뮚뮛뮜뮝뮞뮟뮠뮡뮢뮣뮥뮦뮧뮩뮪뮫뮭뮮뮯뮰뮱뮲뮳뮵뮶뮸뮹뮺뮻뮼뮽뮾뮿믁믂믃믅믆믇믉믊믋믌믍믎믏믑믒믔믕믖믗믘믙믚믛믜믝믞믟믠믡믢믣믤믥믦믧믨믩믪믫믬믭믮믯믰믱믲믳믴믵믶믷믺믻믽믾밁�\".split(\"\");for(a=0;a!=t[146].length;++a)if(t[146][a].charCodeAt(0)!==65533){r[t[146][a]]=37376+a;e[37376+a]=t[146][a]}t[147]=\"�����������������������������������������������������������������밃밄밅밆밇밊밎밐밒밓밙밚밠밡밢밣밦밨밪밫밬밮밯밲밳밵������밶밷밹밺밻밼밽밾밿뱂뱆뱇뱈뱊뱋뱎뱏뱑뱒뱓뱔뱕뱖뱗뱘뱙������뱚뱛뱜뱞뱟뱠뱡뱢뱣뱤뱥뱦뱧뱨뱩뱪뱫뱬뱭뱮뱯뱰뱱뱲뱳뱴뱵뱶뱷뱸뱹뱺뱻뱼뱽뱾뱿벀벁벂벃벆벇벉벊벍벏벐벑벒벓벖벘벛벜벝벞벟벢벣벥벦벩벪벫벬벭벮벯벲벶벷벸벹벺벻벾벿볁볂볃볅볆볇볈볉볊볋볌볎볒볓볔볖볗볙볚볛볝볞볟볠볡볢볣볤볥볦볧볨볩볪볫볬볭볮볯볰볱볲볳볷볹볺볻볽�\".split(\"\");for(a=0;a!=t[147].length;++a)if(t[147][a].charCodeAt(0)!==65533){r[t[147][a]]=37632+a;e[37632+a]=t[147][a]}t[148]=\"�����������������������������������������������������������������볾볿봀봁봂봃봆봈봊봋봌봍봎봏봑봒봓봕봖봗봘봙봚봛봜봝������봞봟봠봡봢봣봥봦봧봨봩봪봫봭봮봯봰봱봲봳봴봵봶봷봸봹������봺봻봼봽봾봿뵁뵂뵃뵄뵅뵆뵇뵊뵋뵍뵎뵏뵑뵒뵓뵔뵕뵖뵗뵚뵛뵜뵝뵞뵟뵠뵡뵢뵣뵥뵦뵧뵩뵪뵫뵬뵭뵮뵯뵰뵱뵲뵳뵴뵵뵶뵷뵸뵹뵺뵻뵼뵽뵾뵿붂붃붅붆붋붌붍붎붏붒붔붖붗붘붛붝붞붟붠붡붢붣붥붦붧붨붩붪붫붬붭붮붯붱붲붳붴붵붶붷붹붺붻붼붽붾붿뷀뷁뷂뷃뷄뷅뷆뷇뷈뷉뷊뷋뷌뷍뷎뷏뷐뷑�\".split(\"\");for(a=0;a!=t[148].length;++a)if(t[148][a].charCodeAt(0)!==65533){r[t[148][a]]=37888+a;e[37888+a]=t[148][a]}t[149]=\"�����������������������������������������������������������������뷒뷓뷖뷗뷙뷚뷛뷝뷞뷟뷠뷡뷢뷣뷤뷥뷦뷧뷨뷪뷫뷬뷭뷮뷯뷱������뷲뷳뷵뷶뷷뷹뷺뷻뷼뷽뷾뷿븁븂븄븆븇븈븉븊븋븎븏븑븒븓������븕븖븗븘븙븚븛븞븠븡븢븣븤븥븦븧븨븩븪븫븬븭븮븯븰븱븲븳븴븵븶븷븸븹븺븻븼븽븾븿빀빁빂빃빆빇빉빊빋빍빏빐빑빒빓빖빘빜빝빞빟빢빣빥빦빧빩빫빬빭빮빯빲빶빷빸빹빺빾빿뺁뺂뺃뺅뺆뺇뺈뺉뺊뺋뺎뺒뺓뺔뺕뺖뺗뺚뺛뺜뺝뺞뺟뺠뺡뺢뺣뺤뺥뺦뺧뺩뺪뺫뺬뺭뺮뺯뺰뺱뺲뺳뺴뺵뺶뺷�\".split(\"\");for(a=0;a!=t[149].length;++a)if(t[149][a].charCodeAt(0)!==65533){r[t[149][a]]=38144+a;e[38144+a]=t[149][a]}t[150]=\"�����������������������������������������������������������������뺸뺹뺺뺻뺼뺽뺾뺿뻀뻁뻂뻃뻄뻅뻆뻇뻈뻉뻊뻋뻌뻍뻎뻏뻒뻓������뻕뻖뻙뻚뻛뻜뻝뻞뻟뻡뻢뻦뻧뻨뻩뻪뻫뻭뻮뻯뻰뻱뻲뻳뻴뻵������뻶뻷뻸뻹뻺뻻뻼뻽뻾뻿뼀뼂뼃뼄뼅뼆뼇뼊뼋뼌뼍뼎뼏뼐뼑뼒뼓뼔뼕뼖뼗뼚뼞뼟뼠뼡뼢뼣뼤뼥뼦뼧뼨뼩뼪뼫뼬뼭뼮뼯뼰뼱뼲뼳뼴뼵뼶뼷뼸뼹뼺뼻뼼뼽뼾뼿뽂뽃뽅뽆뽇뽉뽊뽋뽌뽍뽎뽏뽒뽓뽔뽖뽗뽘뽙뽚뽛뽜뽝뽞뽟뽠뽡뽢뽣뽤뽥뽦뽧뽨뽩뽪뽫뽬뽭뽮뽯뽰뽱뽲뽳뽴뽵뽶뽷뽸뽹뽺뽻뽼뽽뽾뽿뾀뾁뾂�\".split(\"\");for(a=0;a!=t[150].length;++a)if(t[150][a].charCodeAt(0)!==65533){r[t[150][a]]=38400+a;e[38400+a]=t[150][a]}t[151]=\"�����������������������������������������������������������������뾃뾄뾅뾆뾇뾈뾉뾊뾋뾌뾍뾎뾏뾐뾑뾒뾓뾕뾖뾗뾘뾙뾚뾛뾜뾝������뾞뾟뾠뾡뾢뾣뾤뾥뾦뾧뾨뾩뾪뾫뾬뾭뾮뾯뾱뾲뾳뾴뾵뾶뾷뾸������뾹뾺뾻뾼뾽뾾뾿뿀뿁뿂뿃뿄뿆뿇뿈뿉뿊뿋뿎뿏뿑뿒뿓뿕뿖뿗뿘뿙뿚뿛뿝뿞뿠뿢뿣뿤뿥뿦뿧뿨뿩뿪뿫뿬뿭뿮뿯뿰뿱뿲뿳뿴뿵뿶뿷뿸뿹뿺뿻뿼뿽뿾뿿쀀쀁쀂쀃쀄쀅쀆쀇쀈쀉쀊쀋쀌쀍쀎쀏쀐쀑쀒쀓쀔쀕쀖쀗쀘쀙쀚쀛쀜쀝쀞쀟쀠쀡쀢쀣쀤쀥쀦쀧쀨쀩쀪쀫쀬쀭쀮쀯쀰쀱쀲쀳쀴쀵쀶쀷쀸쀹쀺쀻쀽쀾쀿�\".split(\"\");for(a=0;a!=t[151].length;++a)if(t[151][a].charCodeAt(0)!==65533){r[t[151][a]]=38656+a;e[38656+a]=t[151][a]}t[152]=\"�����������������������������������������������������������������쁀쁁쁂쁃쁄쁅쁆쁇쁈쁉쁊쁋쁌쁍쁎쁏쁐쁒쁓쁔쁕쁖쁗쁙쁚쁛������쁝쁞쁟쁡쁢쁣쁤쁥쁦쁧쁪쁫쁬쁭쁮쁯쁰쁱쁲쁳쁴쁵쁶쁷쁸쁹������쁺쁻쁼쁽쁾쁿삀삁삂삃삄삅삆삇삈삉삊삋삌삍삎삏삒삓삕삖삗삙삚삛삜삝삞삟삢삤삦삧삨삩삪삫삮삱삲삷삸삹삺삻삾샂샃샄샆샇샊샋샍샎샏샑샒샓샔샕샖샗샚샞샟샠샡샢샣샦샧샩샪샫샭샮샯샰샱샲샳샶샸샺샻샼샽샾샿섁섂섃섅섆섇섉섊섋섌섍섎섏섑섒섓섔섖섗섘섙섚섛섡섢섥섨섩섪섫섮�\".split(\"\");\nfor(a=0;a!=t[152].length;++a)if(t[152][a].charCodeAt(0)!==65533){r[t[152][a]]=38912+a;e[38912+a]=t[152][a]}t[153]=\"�����������������������������������������������������������������섲섳섴섵섷섺섻섽섾섿셁셂셃셄셅셆셇셊셎셏셐셑셒셓셖셗������셙셚셛셝셞셟셠셡셢셣셦셪셫셬셭셮셯셱셲셳셵셶셷셹셺셻������셼셽셾셿솀솁솂솃솄솆솇솈솉솊솋솏솑솒솓솕솗솘솙솚솛솞솠솢솣솤솦솧솪솫솭솮솯솱솲솳솴솵솶솷솸솹솺솻솼솾솿쇀쇁쇂쇃쇅쇆쇇쇉쇊쇋쇍쇎쇏쇐쇑쇒쇓쇕쇖쇙쇚쇛쇜쇝쇞쇟쇡쇢쇣쇥쇦쇧쇩쇪쇫쇬쇭쇮쇯쇲쇴쇵쇶쇷쇸쇹쇺쇻쇾쇿숁숂숃숅숆숇숈숉숊숋숎숐숒숓숔숕숖숗숚숛숝숞숡숢숣�\".split(\"\");for(a=0;a!=t[153].length;++a)if(t[153][a].charCodeAt(0)!==65533){r[t[153][a]]=39168+a;e[39168+a]=t[153][a]}t[154]=\"�����������������������������������������������������������������숤숥숦숧숪숬숮숰숳숵숶숷숸숹숺숻숼숽숾숿쉀쉁쉂쉃쉄쉅������쉆쉇쉉쉊쉋쉌쉍쉎쉏쉒쉓쉕쉖쉗쉙쉚쉛쉜쉝쉞쉟쉡쉢쉣쉤쉦������쉧쉨쉩쉪쉫쉮쉯쉱쉲쉳쉵쉶쉷쉸쉹쉺쉻쉾슀슂슃슄슅슆슇슊슋슌슍슎슏슑슒슓슔슕슖슗슙슚슜슞슟슠슡슢슣슦슧슩슪슫슮슯슰슱슲슳슶슸슺슻슼슽슾슿싀싁싂싃싄싅싆싇싈싉싊싋싌싍싎싏싐싑싒싓싔싕싖싗싘싙싚싛싞싟싡싢싥싦싧싨싩싪싮싰싲싳싴싵싷싺싽싾싿쌁쌂쌃쌄쌅쌆쌇쌊쌋쌎쌏�\".split(\"\");for(a=0;a!=t[154].length;++a)if(t[154][a].charCodeAt(0)!==65533){r[t[154][a]]=39424+a;e[39424+a]=t[154][a]}t[155]=\"�����������������������������������������������������������������쌐쌑쌒쌖쌗쌙쌚쌛쌝쌞쌟쌠쌡쌢쌣쌦쌧쌪쌫쌬쌭쌮쌯쌰쌱쌲������쌳쌴쌵쌶쌷쌸쌹쌺쌻쌼쌽쌾쌿썀썁썂썃썄썆썇썈썉썊썋썌썍������썎썏썐썑썒썓썔썕썖썗썘썙썚썛썜썝썞썟썠썡썢썣썤썥썦썧썪썫썭썮썯썱썳썴썵썶썷썺썻썾썿쎀쎁쎂쎃쎅쎆쎇쎉쎊쎋쎍쎎쎏쎐쎑쎒쎓쎔쎕쎖쎗쎘쎙쎚쎛쎜쎝쎞쎟쎠쎡쎢쎣쎤쎥쎦쎧쎨쎩쎪쎫쎬쎭쎮쎯쎰쎱쎲쎳쎴쎵쎶쎷쎸쎹쎺쎻쎼쎽쎾쎿쏁쏂쏃쏄쏅쏆쏇쏈쏉쏊쏋쏌쏍쏎쏏쏐쏑쏒쏓쏔쏕쏖쏗쏚�\".split(\"\");for(a=0;a!=t[155].length;++a)if(t[155][a].charCodeAt(0)!==65533){r[t[155][a]]=39680+a;e[39680+a]=t[155][a]}t[156]=\"�����������������������������������������������������������������쏛쏝쏞쏡쏣쏤쏥쏦쏧쏪쏫쏬쏮쏯쏰쏱쏲쏳쏶쏷쏹쏺쏻쏼쏽쏾������쏿쐀쐁쐂쐃쐄쐅쐆쐇쐉쐊쐋쐌쐍쐎쐏쐑쐒쐓쐔쐕쐖쐗쐘쐙쐚������쐛쐜쐝쐞쐟쐠쐡쐢쐣쐥쐦쐧쐨쐩쐪쐫쐭쐮쐯쐱쐲쐳쐵쐶쐷쐸쐹쐺쐻쐾쐿쑀쑁쑂쑃쑄쑅쑆쑇쑉쑊쑋쑌쑍쑎쑏쑐쑑쑒쑓쑔쑕쑖쑗쑘쑙쑚쑛쑜쑝쑞쑟쑠쑡쑢쑣쑦쑧쑩쑪쑫쑭쑮쑯쑰쑱쑲쑳쑶쑷쑸쑺쑻쑼쑽쑾쑿쒁쒂쒃쒄쒅쒆쒇쒈쒉쒊쒋쒌쒍쒎쒏쒐쒑쒒쒓쒕쒖쒗쒘쒙쒚쒛쒝쒞쒟쒠쒡쒢쒣쒤쒥쒦쒧쒨쒩�\".split(\"\");for(a=0;a!=t[156].length;++a)if(t[156][a].charCodeAt(0)!==65533){r[t[156][a]]=39936+a;e[39936+a]=t[156][a]}t[157]=\"�����������������������������������������������������������������쒪쒫쒬쒭쒮쒯쒰쒱쒲쒳쒴쒵쒶쒷쒹쒺쒻쒽쒾쒿쓀쓁쓂쓃쓄쓅������쓆쓇쓈쓉쓊쓋쓌쓍쓎쓏쓐쓑쓒쓓쓔쓕쓖쓗쓘쓙쓚쓛쓜쓝쓞쓟������쓠쓡쓢쓣쓤쓥쓦쓧쓨쓪쓫쓬쓭쓮쓯쓲쓳쓵쓶쓷쓹쓻쓼쓽쓾씂씃씄씅씆씇씈씉씊씋씍씎씏씑씒씓씕씖씗씘씙씚씛씝씞씟씠씡씢씣씤씥씦씧씪씫씭씮씯씱씲씳씴씵씶씷씺씼씾씿앀앁앂앃앆앇앋앏앐앑앒앖앚앛앜앟앢앣앥앦앧앩앪앫앬앭앮앯앲앶앷앸앹앺앻앾앿얁얂얃얅얆얈얉얊얋얎얐얒얓얔�\".split(\"\");for(a=0;a!=t[157].length;++a)if(t[157][a].charCodeAt(0)!==65533){r[t[157][a]]=40192+a;e[40192+a]=t[157][a]}t[158]=\"�����������������������������������������������������������������얖얙얚얛얝얞얟얡얢얣얤얥얦얧얨얪얫얬얭얮얯얰얱얲얳얶������얷얺얿엀엁엂엃엋엍엏엒엓엕엖엗엙엚엛엜엝엞엟엢엤엦엧������엨엩엪엫엯엱엲엳엵엸엹엺엻옂옃옄옉옊옋옍옎옏옑옒옓옔옕옖옗옚옝옞옟옠옡옢옣옦옧옩옪옫옯옱옲옶옸옺옼옽옾옿왂왃왅왆왇왉왊왋왌왍왎왏왒왖왗왘왙왚왛왞왟왡왢왣왤왥왦왧왨왩왪왫왭왮왰왲왳왴왵왶왷왺왻왽왾왿욁욂욃욄욅욆욇욊욌욎욏욐욑욒욓욖욗욙욚욛욝욞욟욠욡욢욣욦�\".split(\"\");for(a=0;a!=t[158].length;++a)if(t[158][a].charCodeAt(0)!==65533){r[t[158][a]]=40448+a;e[40448+a]=t[158][a]}t[159]=\"�����������������������������������������������������������������욨욪욫욬욭욮욯욲욳욵욶욷욻욼욽욾욿웂웄웆웇웈웉웊웋웎������웏웑웒웓웕웖웗웘웙웚웛웞웟웢웣웤웥웦웧웪웫웭웮웯웱웲������웳웴웵웶웷웺웻웼웾웿윀윁윂윃윆윇윉윊윋윍윎윏윐윑윒윓윖윘윚윛윜윝윞윟윢윣윥윦윧윩윪윫윬윭윮윯윲윴윶윸윹윺윻윾윿읁읂읃읅읆읇읈읉읋읎읐읙읚읛읝읞읟읡읢읣읤읥읦읧읩읪읬읭읮읯읰읱읲읳읶읷읹읺읻읿잀잁잂잆잋잌잍잏잒잓잕잙잛잜잝잞잟잢잧잨잩잪잫잮잯잱잲잳잵잶잷�\".split(\"\");for(a=0;a!=t[159].length;++a)if(t[159][a].charCodeAt(0)!==65533){r[t[159][a]]=40704+a;e[40704+a]=t[159][a]}t[160]=\"�����������������������������������������������������������������잸잹잺잻잾쟂쟃쟄쟅쟆쟇쟊쟋쟍쟏쟑쟒쟓쟔쟕쟖쟗쟙쟚쟛쟜������쟞쟟쟠쟡쟢쟣쟥쟦쟧쟩쟪쟫쟭쟮쟯쟰쟱쟲쟳쟴쟵쟶쟷쟸쟹쟺������쟻쟼쟽쟾쟿젂젃젅젆젇젉젋젌젍젎젏젒젔젗젘젙젚젛젞젟젡젢젣젥젦젧젨젩젪젫젮젰젲젳젴젵젶젷젹젺젻젽젾젿졁졂졃졄졅졆졇졊졋졎졏졐졑졒졓졕졖졗졘졙졚졛졜졝졞졟졠졡졢졣졤졥졦졧졨졩졪졫졬졭졮졯졲졳졵졶졷졹졻졼졽졾졿좂좄좈좉좊좎좏좐좑좒좓좕좖좗좘좙좚좛좜좞좠좢좣좤�\".split(\"\");for(a=0;a!=t[160].length;++a)if(t[160][a].charCodeAt(0)!==65533){r[t[160][a]]=40960+a;e[40960+a]=t[160][a]}t[161]=\"�����������������������������������������������������������������좥좦좧좩좪좫좬좭좮좯좰좱좲좳좴좵좶좷좸좹좺좻좾좿죀죁������죂죃죅죆죇죉죊죋죍죎죏죐죑죒죓죖죘죚죛죜죝죞죟죢죣죥������죦죧죨죩죪죫죬죭죮죯죰죱죲죳죴죶죷죸죹죺죻죾죿줁줂줃줇줈줉줊줋줎　、。·‥…¨〃­―∥＼∼‘’“”〔〕〈〉《》「」『』【】±×÷≠≤≥∞∴°′″℃Å￠￡￥♂♀∠⊥⌒∂∇≡≒§※☆★○●◎◇◆□■△▲▽▼→←↑↓↔〓≪≫√∽∝∵∫∬∈∋⊆⊇⊂⊃∪∩∧∨￢�\".split(\"\");for(a=0;a!=t[161].length;++a)if(t[161][a].charCodeAt(0)!==65533){r[t[161][a]]=41216+a;e[41216+a]=t[161][a]}t[162]=\"�����������������������������������������������������������������줐줒줓줔줕줖줗줙줚줛줜줝줞줟줠줡줢줣줤줥줦줧줨줩줪줫������줭줮줯줰줱줲줳줵줶줷줸줹줺줻줼줽줾줿쥀쥁쥂쥃쥄쥅쥆쥇������쥈쥉쥊쥋쥌쥍쥎쥏쥒쥓쥕쥖쥗쥙쥚쥛쥜쥝쥞쥟쥢쥤쥥쥦쥧쥨쥩쥪쥫쥭쥮쥯⇒⇔∀∃´～ˇ˘˝˚˙¸˛¡¿ː∮∑∏¤℉‰◁◀▷▶♤♠♡♥♧♣⊙◈▣◐◑▒▤▥▨▧▦▩♨☏☎☜☞¶†‡↕↗↙↖↘♭♩♪♬㉿㈜№㏇™㏂㏘℡€®������������������������\".split(\"\");for(a=0;a!=t[162].length;++a)if(t[162][a].charCodeAt(0)!==65533){r[t[162][a]]=41472+a;e[41472+a]=t[162][a]}t[163]=\"�����������������������������������������������������������������쥱쥲쥳쥵쥶쥷쥸쥹쥺쥻쥽쥾쥿즀즁즂즃즄즅즆즇즊즋즍즎즏������즑즒즓즔즕즖즗즚즜즞즟즠즡즢즣즤즥즦즧즨즩즪즫즬즭즮������즯즰즱즲즳즴즵즶즷즸즹즺즻즼즽즾즿짂짃짅짆짉짋짌짍짎짏짒짔짗짘짛！＂＃＄％＆＇（）＊＋，－．／０１２３４５６７８９：；＜＝＞？＠ＡＢＣＤＥＦＧＨＩＪＫＬＭＮＯＰＱＲＳＴＵＶＷＸＹＺ［￦］＾＿｀ａｂｃｄｅｆｇｈｉｊｋｌｍｎｏｐｑｒｓｔｕｖｗｘｙｚ｛｜｝￣�\".split(\"\");for(a=0;a!=t[163].length;++a)if(t[163][a].charCodeAt(0)!==65533){r[t[163][a]]=41728+a;e[41728+a]=t[163][a]}t[164]=\"�����������������������������������������������������������������짞짟짡짣짥짦짨짩짪짫짮짲짳짴짵짶짷짺짻짽짾짿쨁쨂쨃쨄������쨅쨆쨇쨊쨎쨏쨐쨑쨒쨓쨕쨖쨗쨙쨚쨛쨜쨝쨞쨟쨠쨡쨢쨣쨤쨥������쨦쨧쨨쨪쨫쨬쨭쨮쨯쨰쨱쨲쨳쨴쨵쨶쨷쨸쨹쨺쨻쨼쨽쨾쨿쩀쩁쩂쩃쩄쩅쩆ㄱㄲㄳㄴㄵㄶㄷㄸㄹㄺㄻㄼㄽㄾㄿㅀㅁㅂㅃㅄㅅㅆㅇㅈㅉㅊㅋㅌㅍㅎㅏㅐㅑㅒㅓㅔㅕㅖㅗㅘㅙㅚㅛㅜㅝㅞㅟㅠㅡㅢㅣㅤㅥㅦㅧㅨㅩㅪㅫㅬㅭㅮㅯㅰㅱㅲㅳㅴㅵㅶㅷㅸㅹㅺㅻㅼㅽㅾㅿㆀㆁㆂㆃㆄㆅㆆㆇㆈㆉㆊㆋㆌㆍㆎ�\".split(\"\");for(a=0;a!=t[164].length;++a)if(t[164][a].charCodeAt(0)!==65533){r[t[164][a]]=41984+a;e[41984+a]=t[164][a]}t[165]=\"�����������������������������������������������������������������쩇쩈쩉쩊쩋쩎쩏쩑쩒쩓쩕쩖쩗쩘쩙쩚쩛쩞쩢쩣쩤쩥쩦쩧쩩쩪������쩫쩬쩭쩮쩯쩰쩱쩲쩳쩴쩵쩶쩷쩸쩹쩺쩻쩼쩾쩿쪀쪁쪂쪃쪅쪆������쪇쪈쪉쪊쪋쪌쪍쪎쪏쪐쪑쪒쪓쪔쪕쪖쪗쪙쪚쪛쪜쪝쪞쪟쪠쪡쪢쪣쪤쪥쪦쪧ⅰⅱⅲⅳⅴⅵⅶⅷⅸⅹ�����ⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩ�������ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ��������αβγδεζηθικλμνξοπρστυφχψω�������\".split(\"\");for(a=0;a!=t[165].length;++a)if(t[165][a].charCodeAt(0)!==65533){r[t[165][a]]=42240+a;e[42240+a]=t[165][a]}t[166]=\"�����������������������������������������������������������������쪨쪩쪪쪫쪬쪭쪮쪯쪰쪱쪲쪳쪴쪵쪶쪷쪸쪹쪺쪻쪾쪿쫁쫂쫃쫅������쫆쫇쫈쫉쫊쫋쫎쫐쫒쫔쫕쫖쫗쫚쫛쫜쫝쫞쫟쫡쫢쫣쫤쫥쫦쫧������쫨쫩쫪쫫쫭쫮쫯쫰쫱쫲쫳쫵쫶쫷쫸쫹쫺쫻쫼쫽쫾쫿쬀쬁쬂쬃쬄쬅쬆쬇쬉쬊─│┌┐┘└├┬┤┴┼━┃┏┓┛┗┣┳┫┻╋┠┯┨┷┿┝┰┥┸╂┒┑┚┙┖┕┎┍┞┟┡┢┦┧┩┪┭┮┱┲┵┶┹┺┽┾╀╁╃╄╅╆╇╈╉╊���������������������������\".split(\"\");for(a=0;a!=t[166].length;++a)if(t[166][a].charCodeAt(0)!==65533){r[t[166][a]]=42496+a;e[42496+a]=t[166][a]}t[167]=\"�����������������������������������������������������������������쬋쬌쬍쬎쬏쬑쬒쬓쬕쬖쬗쬙쬚쬛쬜쬝쬞쬟쬢쬣쬤쬥쬦쬧쬨쬩������쬪쬫쬬쬭쬮쬯쬰쬱쬲쬳쬴쬵쬶쬷쬸쬹쬺쬻쬼쬽쬾쬿쭀쭂쭃쭄������쭅쭆쭇쭊쭋쭍쭎쭏쭑쭒쭓쭔쭕쭖쭗쭚쭛쭜쭞쭟쭠쭡쭢쭣쭥쭦쭧쭨쭩쭪쭫쭬㎕㎖㎗ℓ㎘㏄㎣㎤㎥㎦㎙㎚㎛㎜㎝㎞㎟㎠㎡㎢㏊㎍㎎㎏㏏㎈㎉㏈㎧㎨㎰㎱㎲㎳㎴㎵㎶㎷㎸㎹㎀㎁㎂㎃㎄㎺㎻㎼㎽㎾㎿㎐㎑㎒㎓㎔Ω㏀㏁㎊㎋㎌㏖㏅㎭㎮㎯㏛㎩㎪㎫㎬㏝㏐㏓㏃㏉㏜㏆����������������\".split(\"\");for(a=0;a!=t[167].length;++a)if(t[167][a].charCodeAt(0)!==65533){r[t[167][a]]=42752+a;e[42752+a]=t[167][a]}t[168]=\"�����������������������������������������������������������������쭭쭮쭯쭰쭱쭲쭳쭴쭵쭶쭷쭺쭻쭼쭽쭾쭿쮀쮁쮂쮃쮄쮅쮆쮇쮈������쮉쮊쮋쮌쮍쮎쮏쮐쮑쮒쮓쮔쮕쮖쮗쮘쮙쮚쮛쮝쮞쮟쮠쮡쮢쮣������쮤쮥쮦쮧쮨쮩쮪쮫쮬쮭쮮쮯쮰쮱쮲쮳쮴쮵쮶쮷쮹쮺쮻쮼쮽쮾쮿쯀쯁쯂쯃쯄ÆÐªĦ�Ĳ�ĿŁØŒºÞŦŊ�㉠㉡㉢㉣㉤㉥㉦㉧㉨㉩㉪㉫㉬㉭㉮㉯㉰㉱㉲㉳㉴㉵㉶㉷㉸㉹㉺㉻ⓐⓑⓒⓓⓔⓕⓖⓗⓘⓙⓚⓛⓜⓝⓞⓟⓠⓡⓢⓣⓤⓥⓦⓧⓨⓩ①②③④⑤⑥⑦⑧⑨⑩⑪⑫⑬⑭⑮½⅓⅔¼¾⅛⅜⅝⅞�\".split(\"\");for(a=0;a!=t[168].length;++a)if(t[168][a].charCodeAt(0)!==65533){r[t[168][a]]=43008+a;e[43008+a]=t[168][a]}t[169]=\"�����������������������������������������������������������������쯅쯆쯇쯈쯉쯊쯋쯌쯍쯎쯏쯐쯑쯒쯓쯕쯖쯗쯘쯙쯚쯛쯜쯝쯞쯟������쯠쯡쯢쯣쯥쯦쯨쯪쯫쯬쯭쯮쯯쯰쯱쯲쯳쯴쯵쯶쯷쯸쯹쯺쯻쯼������쯽쯾쯿찀찁찂찃찄찅찆찇찈찉찊찋찎찏찑찒찓찕찖찗찘찙찚찛찞찟찠찣찤æđðħıĳĸŀłøœßþŧŋŉ㈀㈁㈂㈃㈄㈅㈆㈇㈈㈉㈊㈋㈌㈍㈎㈏㈐㈑㈒㈓㈔㈕㈖㈗㈘㈙㈚㈛⒜⒝⒞⒟⒠⒡⒢⒣⒤⒥⒦⒧⒨⒩⒪⒫⒬⒭⒮⒯⒰⒱⒲⒳⒴⒵⑴⑵⑶⑷⑸⑹⑺⑻⑼⑽⑾⑿⒀⒁⒂¹²³⁴ⁿ₁₂₃₄�\".split(\"\");for(a=0;a!=t[169].length;++a)if(t[169][a].charCodeAt(0)!==65533){r[t[169][a]]=43264+a;e[43264+a]=t[169][a]}t[170]=\"�����������������������������������������������������������������찥찦찪찫찭찯찱찲찳찴찵찶찷찺찿챀챁챂챃챆챇챉챊챋챍챎������챏챐챑챒챓챖챚챛챜챝챞챟챡챢챣챥챧챩챪챫챬챭챮챯챱챲������챳챴챶챷챸챹챺챻챼챽챾챿첀첁첂첃첄첅첆첇첈첉첊첋첌첍첎첏첐첑첒첓ぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞただちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽまみむめもゃやゅゆょよらりるれろゎわゐゑをん������������\".split(\"\");for(a=0;a!=t[170].length;++a)if(t[170][a].charCodeAt(0)!==65533){r[t[170][a]]=43520+a;e[43520+a]=t[170][a]}t[171]=\"�����������������������������������������������������������������첔첕첖첗첚첛첝첞첟첡첢첣첤첥첦첧첪첮첯첰첱첲첳첶첷첹������첺첻첽첾첿쳀쳁쳂쳃쳆쳈쳊쳋쳌쳍쳎쳏쳑쳒쳓쳕쳖쳗쳘쳙쳚������쳛쳜쳝쳞쳟쳠쳡쳢쳣쳥쳦쳧쳨쳩쳪쳫쳭쳮쳯쳱쳲쳳쳴쳵쳶쳷쳸쳹쳺쳻쳼쳽ァアィイゥウェエォオカガキギクグケゲコゴサザシジスズセゼソゾタダチヂッツヅテデトドナニヌネノハバパヒビピフブプヘベペホボポマミムメモャヤュユョヨラリルレロヮワヰヱヲンヴヵヶ���������\".split(\"\");for(a=0;a!=t[171].length;++a)if(t[171][a].charCodeAt(0)!==65533){r[t[171][a]]=43776+a;e[43776+a]=t[171][a]}t[172]=\"�����������������������������������������������������������������쳾쳿촀촂촃촄촅촆촇촊촋촍촎촏촑촒촓촔촕촖촗촚촜촞촟촠������촡촢촣촥촦촧촩촪촫촭촮촯촰촱촲촳촴촵촶촷촸촺촻촼촽촾������촿쵀쵁쵂쵃쵄쵅쵆쵇쵈쵉쵊쵋쵌쵍쵎쵏쵐쵑쵒쵓쵔쵕쵖쵗쵘쵙쵚쵛쵝쵞쵟АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ���������������абвгдеёжзийклмнопрстуфхцчшщъыьэюя��������������\".split(\"\");for(a=0;a!=t[172].length;++a)if(t[172][a].charCodeAt(0)!==65533){r[t[172][a]]=44032+a;e[44032+a]=t[172][a]}t[173]=\"�����������������������������������������������������������������쵡쵢쵣쵥쵦쵧쵨쵩쵪쵫쵮쵰쵲쵳쵴쵵쵶쵷쵹쵺쵻쵼쵽쵾쵿춀������춁춂춃춄춅춆춇춉춊춋춌춍춎춏춐춑춒춓춖춗춙춚춛춝춞춟������춠춡춢춣춦춨춪춫춬춭춮춯춱춲춳춴춵춶춷춸춹춺춻춼춽춾춿췀췁췂췃췅�����������������������������������������������������������������������������������������������\".split(\"\");for(a=0;a!=t[173].length;++a)if(t[173][a].charCodeAt(0)!==65533){r[t[173][a]]=44288+a;e[44288+a]=t[173][a]}t[174]=\"�����������������������������������������������������������������췆췇췈췉췊췋췍췎췏췑췒췓췔췕췖췗췘췙췚췛췜췝췞췟췠췡������췢췣췤췥췦췧췩췪췫췭췮췯췱췲췳췴췵췶췷췺췼췾췿츀츁츂������츃츅츆츇츉츊츋츍츎츏츐츑츒츓츕츖츗츘츚츛츜츝츞츟츢츣츥츦츧츩츪츫�����������������������������������������������������������������������������������������������\".split(\"\");for(a=0;a!=t[174].length;++a)if(t[174][a].charCodeAt(0)!==65533){r[t[174][a]]=44544+a;e[44544+a]=t[174][a]}t[175]=\"�����������������������������������������������������������������츬츭츮츯츲츴츶츷츸츹츺츻츼츽츾츿칀칁칂칃칄칅칆칇칈칉������칊칋칌칍칎칏칐칑칒칓칔칕칖칗칚칛칝칞칢칣칤칥칦칧칪칬������칮칯칰칱칲칳칶칷칹칺칻칽칾칿캀캁캂캃캆캈캊캋캌캍캎캏캒캓캕캖캗캙�����������������������������������������������������������������������������������������������\".split(\"\");for(a=0;a!=t[175].length;++a)if(t[175][a].charCodeAt(0)!==65533){r[t[175][a]]=44800+a;e[44800+a]=t[175][a]}t[176]=\"�����������������������������������������������������������������캚캛캜캝캞캟캢캦캧캨캩캪캫캮캯캰캱캲캳캴캵캶캷캸캹캺������캻캼캽캾캿컀컂컃컄컅컆컇컈컉컊컋컌컍컎컏컐컑컒컓컔컕������컖컗컘컙컚컛컜컝컞컟컠컡컢컣컦컧컩컪컭컮컯컰컱컲컳컶컺컻컼컽컾컿가각간갇갈갉갊감갑값갓갔강갖갗같갚갛개객갠갤갬갭갯갰갱갸갹갼걀걋걍걔걘걜거걱건걷걸걺검겁것겄겅겆겉겊겋게겐겔겜겝겟겠겡겨격겪견겯결겸겹겻겼경곁계곈곌곕곗고곡곤곧골곪곬곯곰곱곳공곶과곽관괄괆�\".split(\"\");for(a=0;a!=t[176].length;++a)if(t[176][a].charCodeAt(0)!==65533){r[t[176][a]]=45056+a;e[45056+a]=t[176][a]}t[177]=\"�����������������������������������������������������������������켂켃켅켆켇켉켊켋켌켍켎켏켒켔켖켗켘켙켚켛켝켞켟켡켢켣������켥켦켧켨켩켪켫켮켲켳켴켵켶켷켹켺켻켼켽켾켿콀콁콂콃콄������콅콆콇콈콉콊콋콌콍콎콏콐콑콒콓콖콗콙콚콛콝콞콟콠콡콢콣콦콨콪콫콬괌괍괏광괘괜괠괩괬괭괴괵괸괼굄굅굇굉교굔굘굡굣구국군굳굴굵굶굻굼굽굿궁궂궈궉권궐궜궝궤궷귀귁귄귈귐귑귓규균귤그극근귿글긁금급긋긍긔기긱긴긷길긺김깁깃깅깆깊까깍깎깐깔깖깜깝깟깠깡깥깨깩깬깰깸�\".split(\"\");for(a=0;a!=t[177].length;++a)if(t[177][a].charCodeAt(0)!==65533){r[t[177][a]]=45312+a;e[45312+a]=t[177][a]}t[178]=\"�����������������������������������������������������������������콭콮콯콲콳콵콶콷콹콺콻콼콽콾콿쾁쾂쾃쾄쾆쾇쾈쾉쾊쾋쾍������쾎쾏쾐쾑쾒쾓쾔쾕쾖쾗쾘쾙쾚쾛쾜쾝쾞쾟쾠쾢쾣쾤쾥쾦쾧쾩������쾪쾫쾬쾭쾮쾯쾱쾲쾳쾴쾵쾶쾷쾸쾹쾺쾻쾼쾽쾾쾿쿀쿁쿂쿃쿅쿆쿇쿈쿉쿊쿋깹깻깼깽꺄꺅꺌꺼꺽꺾껀껄껌껍껏껐껑께껙껜껨껫껭껴껸껼꼇꼈꼍꼐꼬꼭꼰꼲꼴꼼꼽꼿꽁꽂꽃꽈꽉꽐꽜꽝꽤꽥꽹꾀꾄꾈꾐꾑꾕꾜꾸꾹꾼꿀꿇꿈꿉꿋꿍꿎꿔꿜꿨꿩꿰꿱꿴꿸뀀뀁뀄뀌뀐뀔뀜뀝뀨끄끅끈끊끌끎끓끔끕끗끙�\".split(\"\");for(a=0;a!=t[178].length;++a)if(t[178][a].charCodeAt(0)!==65533){r[t[178][a]]=45568+a;e[45568+a]=t[178][a]}t[179]=\"�����������������������������������������������������������������쿌쿍쿎쿏쿐쿑쿒쿓쿔쿕쿖쿗쿘쿙쿚쿛쿜쿝쿞쿟쿢쿣쿥쿦쿧쿩������쿪쿫쿬쿭쿮쿯쿲쿴쿶쿷쿸쿹쿺쿻쿽쿾쿿퀁퀂퀃퀅퀆퀇퀈퀉퀊������퀋퀌퀍퀎퀏퀐퀒퀓퀔퀕퀖퀗퀙퀚퀛퀜퀝퀞퀟퀠퀡퀢퀣퀤퀥퀦퀧퀨퀩퀪퀫퀬끝끼끽낀낄낌낍낏낑나낙낚난낟날낡낢남납낫났낭낮낯낱낳내낵낸낼냄냅냇냈냉냐냑냔냘냠냥너넉넋넌널넒넓넘넙넛넜넝넣네넥넨넬넴넵넷넸넹녀녁년녈념녑녔녕녘녜녠노녹논놀놂놈놉놋농높놓놔놘놜놨뇌뇐뇔뇜뇝�\".split(\"\");for(a=0;a!=t[179].length;++a)if(t[179][a].charCodeAt(0)!==65533){r[t[179][a]]=45824+a;e[45824+a]=t[179][a]}t[180]=\"�����������������������������������������������������������������퀮퀯퀰퀱퀲퀳퀶퀷퀹퀺퀻퀽퀾퀿큀큁큂큃큆큈큊큋큌큍큎큏������큑큒큓큕큖큗큙큚큛큜큝큞큟큡큢큣큤큥큦큧큨큩큪큫큮큯������큱큲큳큵큶큷큸큹큺큻큾큿킀킂킃킄킅킆킇킈킉킊킋킌킍킎킏킐킑킒킓킔뇟뇨뇩뇬뇰뇹뇻뇽누눅눈눋눌눔눕눗눙눠눴눼뉘뉜뉠뉨뉩뉴뉵뉼늄늅늉느늑는늘늙늚늠늡늣능늦늪늬늰늴니닉닌닐닒님닙닛닝닢다닥닦단닫달닭닮닯닳담답닷닸당닺닻닿대댁댄댈댐댑댓댔댕댜더덕덖던덛덜덞덟덤덥�\".split(\"\");for(a=0;a!=t[180].length;++a)if(t[180][a].charCodeAt(0)!==65533){r[t[180][a]]=46080+a;e[46080+a]=t[180][a]}t[181]=\"�����������������������������������������������������������������킕킖킗킘킙킚킛킜킝킞킟킠킡킢킣킦킧킩킪킫킭킮킯킰킱킲������킳킶킸킺킻킼킽킾킿탂탃탅탆탇탊탋탌탍탎탏탒탖탗탘탙탚������탛탞탟탡탢탣탥탦탧탨탩탪탫탮탲탳탴탵탶탷탹탺탻탼탽탾탿턀턁턂턃턄덧덩덫덮데덱덴델뎀뎁뎃뎄뎅뎌뎐뎔뎠뎡뎨뎬도독돈돋돌돎돐돔돕돗동돛돝돠돤돨돼됐되된될됨됩됫됴두둑둔둘둠둡둣둥둬뒀뒈뒝뒤뒨뒬뒵뒷뒹듀듄듈듐듕드득든듣들듦듬듭듯등듸디딕딘딛딜딤딥딧딨딩딪따딱딴딸�\".split(\"\");for(a=0;a!=t[181].length;++a)if(t[181][a].charCodeAt(0)!==65533){r[t[181][a]]=46336+a;e[46336+a]=t[181][a]}t[182]=\"�����������������������������������������������������������������턅턆턇턈턉턊턋턌턎턏턐턑턒턓턔턕턖턗턘턙턚턛턜턝턞턟������턠턡턢턣턤턥턦턧턨턩턪턫턬턭턮턯턲턳턵턶턷턹턻턼턽턾������턿텂텆텇텈텉텊텋텎텏텑텒텓텕텖텗텘텙텚텛텞텠텢텣텤텥텦텧텩텪텫텭땀땁땃땄땅땋때땍땐땔땜땝땟땠땡떠떡떤떨떪떫떰떱떳떴떵떻떼떽뗀뗄뗌뗍뗏뗐뗑뗘뗬또똑똔똘똥똬똴뙈뙤뙨뚜뚝뚠뚤뚫뚬뚱뛔뛰뛴뛸뜀뜁뜅뜨뜩뜬뜯뜰뜸뜹뜻띄띈띌띔띕띠띤띨띰띱띳띵라락란랄람랍랏랐랑랒랖랗�\".split(\"\");for(a=0;a!=t[182].length;++a)if(t[182][a].charCodeAt(0)!==65533){r[t[182][a]]=46592+a;e[46592+a]=t[182][a]}t[183]=\"�����������������������������������������������������������������텮텯텰텱텲텳텴텵텶텷텸텹텺텻텽텾텿톀톁톂톃톅톆톇톉톊������톋톌톍톎톏톐톑톒톓톔톕톖톗톘톙톚톛톜톝톞톟톢톣톥톦톧������톩톪톫톬톭톮톯톲톴톶톷톸톹톻톽톾톿퇁퇂퇃퇄퇅퇆퇇퇈퇉퇊퇋퇌퇍퇎퇏래랙랜랠램랩랫랬랭랴략랸럇량러럭런럴럼럽럿렀렁렇레렉렌렐렘렙렛렝려력련렬렴렵렷렸령례롄롑롓로록론롤롬롭롯롱롸롼뢍뢨뢰뢴뢸룀룁룃룅료룐룔룝룟룡루룩룬룰룸룹룻룽뤄뤘뤠뤼뤽륀륄륌륏륑류륙륜률륨륩�\".split(\"\");for(a=0;a!=t[183].length;++a)if(t[183][a].charCodeAt(0)!==65533){r[t[183][a]]=46848+a;e[46848+a]=t[183][a]}t[184]=\"�����������������������������������������������������������������퇐퇑퇒퇓퇔퇕퇖퇗퇙퇚퇛퇜퇝퇞퇟퇠퇡퇢퇣퇤퇥퇦퇧퇨퇩퇪������퇫퇬퇭퇮퇯퇰퇱퇲퇳퇵퇶퇷퇹퇺퇻퇼퇽퇾퇿툀툁툂툃툄툅툆������툈툊툋툌툍툎툏툑툒툓툔툕툖툗툘툙툚툛툜툝툞툟툠툡툢툣툤툥툦툧툨툩륫륭르륵른를름릅릇릉릊릍릎리릭린릴림립릿링마막만많맏말맑맒맘맙맛망맞맡맣매맥맨맬맴맵맷맸맹맺먀먁먈먕머먹먼멀멂멈멉멋멍멎멓메멕멘멜멤멥멧멨멩며멱면멸몃몄명몇몌모목몫몬몰몲몸몹못몽뫄뫈뫘뫙뫼�\".split(\"\");for(a=0;a!=t[184].length;++a)if(t[184][a].charCodeAt(0)!==65533){r[t[184][a]]=47104+a;e[47104+a]=t[184][a]}t[185]=\"�����������������������������������������������������������������툪툫툮툯툱툲툳툵툶툷툸툹툺툻툾퉀퉂퉃퉄퉅퉆퉇퉉퉊퉋퉌������퉍퉎퉏퉐퉑퉒퉓퉔퉕퉖퉗퉘퉙퉚퉛퉝퉞퉟퉠퉡퉢퉣퉥퉦퉧퉨������퉩퉪퉫퉬퉭퉮퉯퉰퉱퉲퉳퉴퉵퉶퉷퉸퉹퉺퉻퉼퉽퉾퉿튂튃튅튆튇튉튊튋튌묀묄묍묏묑묘묜묠묩묫무묵묶문묻물묽묾뭄뭅뭇뭉뭍뭏뭐뭔뭘뭡뭣뭬뮈뮌뮐뮤뮨뮬뮴뮷므믄믈믐믓미믹민믿밀밂밈밉밋밌밍및밑바박밖밗반받발밝밞밟밤밥밧방밭배백밴밸뱀뱁뱃뱄뱅뱉뱌뱍뱐뱝버벅번벋벌벎범법벗�\".split(\"\");for(a=0;a!=t[185].length;++a)if(t[185][a].charCodeAt(0)!==65533){r[t[185][a]]=47360+a;e[47360+a]=t[185][a]}t[186]=\"�����������������������������������������������������������������튍튎튏튒튓튔튖튗튘튙튚튛튝튞튟튡튢튣튥튦튧튨튩튪튫튭������튮튯튰튲튳튴튵튶튷튺튻튽튾틁틃틄틅틆틇틊틌틍틎틏틐틑������틒틓틕틖틗틙틚틛틝틞틟틠틡틢틣틦틧틨틩틪틫틬틭틮틯틲틳틵틶틷틹틺벙벚베벡벤벧벨벰벱벳벴벵벼벽변별볍볏볐병볕볘볜보복볶본볼봄봅봇봉봐봔봤봬뵀뵈뵉뵌뵐뵘뵙뵤뵨부북분붇불붉붊붐붑붓붕붙붚붜붤붰붸뷔뷕뷘뷜뷩뷰뷴뷸븀븃븅브븍븐블븜븝븟비빅빈빌빎빔빕빗빙빚빛빠빡빤�\".split(\"\");for(a=0;a!=t[186].length;++a)if(t[186][a].charCodeAt(0)!==65533){r[t[186][a]]=47616+a;e[47616+a]=t[186][a]}t[187]=\"�����������������������������������������������������������������틻틼틽틾틿팂팄팆팇팈팉팊팋팏팑팒팓팕팗팘팙팚팛팞팢팣������팤팦팧팪팫팭팮팯팱팲팳팴팵팶팷팺팾팿퍀퍁퍂퍃퍆퍇퍈퍉������퍊퍋퍌퍍퍎퍏퍐퍑퍒퍓퍔퍕퍖퍗퍘퍙퍚퍛퍜퍝퍞퍟퍠퍡퍢퍣퍤퍥퍦퍧퍨퍩빨빪빰빱빳빴빵빻빼빽뺀뺄뺌뺍뺏뺐뺑뺘뺙뺨뻐뻑뻔뻗뻘뻠뻣뻤뻥뻬뼁뼈뼉뼘뼙뼛뼜뼝뽀뽁뽄뽈뽐뽑뽕뾔뾰뿅뿌뿍뿐뿔뿜뿟뿡쀼쁑쁘쁜쁠쁨쁩삐삑삔삘삠삡삣삥사삭삯산삳살삵삶삼삽삿샀상샅새색샌샐샘샙샛샜생샤�\".split(\"\");for(a=0;a!=t[187].length;++a)if(t[187][a].charCodeAt(0)!==65533){r[t[187][a]]=47872+a;e[47872+a]=t[187][a]}t[188]=\"�����������������������������������������������������������������퍪퍫퍬퍭퍮퍯퍰퍱퍲퍳퍴퍵퍶퍷퍸퍹퍺퍻퍾퍿펁펂펃펅펆펇������펈펉펊펋펎펒펓펔펕펖펗펚펛펝펞펟펡펢펣펤펥펦펧펪펬펮������펯펰펱펲펳펵펶펷펹펺펻펽펾펿폀폁폂폃폆폇폊폋폌폍폎폏폑폒폓폔폕폖샥샨샬샴샵샷샹섀섄섈섐섕서석섞섟선섣설섦섧섬섭섯섰성섶세섹센셀셈셉셋셌셍셔셕션셜셤셥셧셨셩셰셴셸솅소속솎손솔솖솜솝솟송솥솨솩솬솰솽쇄쇈쇌쇔쇗쇘쇠쇤쇨쇰쇱쇳쇼쇽숀숄숌숍숏숑수숙순숟술숨숩숫숭�\".split(\"\");for(a=0;a!=t[188].length;++a)if(t[188][a].charCodeAt(0)!==65533){r[t[188][a]]=48128+a;e[48128+a]=t[188][a]}t[189]=\"�����������������������������������������������������������������폗폙폚폛폜폝폞폟폠폢폤폥폦폧폨폩폪폫폮폯폱폲폳폵폶폷������폸폹폺폻폾퐀퐂퐃퐄퐅퐆퐇퐉퐊퐋퐌퐍퐎퐏퐐퐑퐒퐓퐔퐕퐖������퐗퐘퐙퐚퐛퐜퐞퐟퐠퐡퐢퐣퐤퐥퐦퐧퐨퐩퐪퐫퐬퐭퐮퐯퐰퐱퐲퐳퐴퐵퐶퐷숯숱숲숴쉈쉐쉑쉔쉘쉠쉥쉬쉭쉰쉴쉼쉽쉿슁슈슉슐슘슛슝스슥슨슬슭슴습슷승시식신싣실싫심십싯싱싶싸싹싻싼쌀쌈쌉쌌쌍쌓쌔쌕쌘쌜쌤쌥쌨쌩썅써썩썬썰썲썸썹썼썽쎄쎈쎌쏀쏘쏙쏜쏟쏠쏢쏨쏩쏭쏴쏵쏸쐈쐐쐤쐬쐰�\".split(\"\");for(a=0;a!=t[189].length;++a)if(t[189][a].charCodeAt(0)!==65533){r[t[189][a]]=48384+a;e[48384+a]=t[189][a]}t[190]=\"�����������������������������������������������������������������퐸퐹퐺퐻퐼퐽퐾퐿푁푂푃푅푆푇푈푉푊푋푌푍푎푏푐푑푒푓������푔푕푖푗푘푙푚푛푝푞푟푡푢푣푥푦푧푨푩푪푫푬푮푰푱푲������푳푴푵푶푷푺푻푽푾풁풃풄풅풆풇풊풌풎풏풐풑풒풓풕풖풗풘풙풚풛풜풝쐴쐼쐽쑈쑤쑥쑨쑬쑴쑵쑹쒀쒔쒜쒸쒼쓩쓰쓱쓴쓸쓺쓿씀씁씌씐씔씜씨씩씬씰씸씹씻씽아악안앉않알앍앎앓암압앗았앙앝앞애액앤앨앰앱앳앴앵야약얀얄얇얌얍얏양얕얗얘얜얠얩어억언얹얻얼얽얾엄업없엇었엉엊엌엎�\".split(\"\");for(a=0;a!=t[190].length;++a)if(t[190][a].charCodeAt(0)!==65533){r[t[190][a]]=48640+a;e[48640+a]=t[190][a]}t[191]=\"�����������������������������������������������������������������풞풟풠풡풢풣풤풥풦풧풨풪풫풬풭풮풯풰풱풲풳풴풵풶풷풸������풹풺풻풼풽풾풿퓀퓁퓂퓃퓄퓅퓆퓇퓈퓉퓊퓋퓍퓎퓏퓑퓒퓓퓕������퓖퓗퓘퓙퓚퓛퓝퓞퓠퓡퓢퓣퓤퓥퓦퓧퓩퓪퓫퓭퓮퓯퓱퓲퓳퓴퓵퓶퓷퓹퓺퓼에엑엔엘엠엡엣엥여역엮연열엶엷염엽엾엿였영옅옆옇예옌옐옘옙옛옜오옥온올옭옮옰옳옴옵옷옹옻와왁완왈왐왑왓왔왕왜왝왠왬왯왱외왹왼욀욈욉욋욍요욕욘욜욤욥욧용우욱운울욹욺움웁웃웅워웍원월웜웝웠웡웨�\".split(\"\");for(a=0;a!=t[191].length;++a)if(t[191][a].charCodeAt(0)!==65533){r[t[191][a]]=48896+a;e[48896+a]=t[191][a]}t[192]=\"�����������������������������������������������������������������퓾퓿픀픁픂픃픅픆픇픉픊픋픍픎픏픐픑픒픓픖픘픙픚픛픜픝������픞픟픠픡픢픣픤픥픦픧픨픩픪픫픬픭픮픯픰픱픲픳픴픵픶픷������픸픹픺픻픾픿핁핂핃핅핆핇핈핉핊핋핎핐핒핓핔핕핖핗핚핛핝핞핟핡핢핣웩웬웰웸웹웽위윅윈윌윔윕윗윙유육윤율윰윱윳융윷으윽은을읊음읍읏응읒읓읔읕읖읗의읜읠읨읫이익인일읽읾잃임입잇있잉잊잎자작잔잖잗잘잚잠잡잣잤장잦재잭잰잴잼잽잿쟀쟁쟈쟉쟌쟎쟐쟘쟝쟤쟨쟬저적전절젊�\".split(\"\");for(a=0;a!=t[192].length;++a)if(t[192][a].charCodeAt(0)!==65533){r[t[192][a]]=49152+a;e[49152+a]=t[192][a]}t[193]=\"�����������������������������������������������������������������핤핦핧핪핬핮핯핰핱핲핳핶핷핹핺핻핽핾핿햀햁햂햃햆햊햋������햌햍햎햏햑햒햓햔햕햖햗햘햙햚햛햜햝햞햟햠햡햢햣햤햦햧������햨햩햪햫햬햭햮햯햰햱햲햳햴햵햶햷햸햹햺햻햼햽햾햿헀헁헂헃헄헅헆헇점접젓정젖제젝젠젤젬젭젯젱져젼졀졈졉졌졍졔조족존졸졺좀좁좃종좆좇좋좌좍좔좝좟좡좨좼좽죄죈죌죔죕죗죙죠죡죤죵주죽준줄줅줆줌줍줏중줘줬줴쥐쥑쥔쥘쥠쥡쥣쥬쥰쥴쥼즈즉즌즐즘즙즛증지직진짇질짊짐집짓�\".split(\"\");for(a=0;a!=t[193].length;++a)if(t[193][a].charCodeAt(0)!==65533){r[t[193][a]]=49408+a;e[49408+a]=t[193][a]}t[194]=\"�����������������������������������������������������������������헊헋헍헎헏헑헓헔헕헖헗헚헜헞헟헠헡헢헣헦헧헩헪헫헭헮������헯헰헱헲헳헶헸헺헻헼헽헾헿혂혃혅혆혇혉혊혋혌혍혎혏혒������혖혗혘혙혚혛혝혞혟혡혢혣혥혦혧혨혩혪혫혬혮혯혰혱혲혳혴혵혶혷혺혻징짖짙짚짜짝짠짢짤짧짬짭짯짰짱째짹짼쨀쨈쨉쨋쨌쨍쨔쨘쨩쩌쩍쩐쩔쩜쩝쩟쩠쩡쩨쩽쪄쪘쪼쪽쫀쫄쫌쫍쫏쫑쫓쫘쫙쫠쫬쫴쬈쬐쬔쬘쬠쬡쭁쭈쭉쭌쭐쭘쭙쭝쭤쭸쭹쮜쮸쯔쯤쯧쯩찌찍찐찔찜찝찡찢찧차착찬찮찰참찹찻�\".split(\"\");for(a=0;a!=t[194].length;++a)if(t[194][a].charCodeAt(0)!==65533){r[t[194][a]]=49664+a;e[49664+a]=t[194][a]}t[195]=\"�����������������������������������������������������������������혽혾혿홁홂홃홄홆홇홊홌홎홏홐홒홓홖홗홙홚홛홝홞홟홠홡������홢홣홤홥홦홨홪홫홬홭홮홯홲홳홵홶홷홸홹홺홻홼홽홾홿횀������횁횂횄횆횇횈횉횊횋횎횏횑횒횓횕횖횗횘횙횚횛횜횞횠횢횣횤횥횦횧횩횪찼창찾채책챈챌챔챕챗챘챙챠챤챦챨챰챵처척천철첨첩첫첬청체첵첸첼쳄쳅쳇쳉쳐쳔쳤쳬쳰촁초촉촌촐촘촙촛총촤촨촬촹최쵠쵤쵬쵭쵯쵱쵸춈추축춘출춤춥춧충춰췄췌췐취췬췰췸췹췻췽츄츈츌츔츙츠측츤츨츰츱츳층�\".split(\"\");for(a=0;a!=t[195].length;++a)if(t[195][a].charCodeAt(0)!==65533){r[t[195][a]]=49920+a;e[49920+a]=t[195][a]}t[196]=\"�����������������������������������������������������������������횫횭횮횯횱횲횳횴횵횶횷횸횺횼횽횾횿훀훁훂훃훆훇훉훊훋������훍훎훏훐훒훓훕훖훘훚훛훜훝훞훟훡훢훣훥훦훧훩훪훫훬훭������훮훯훱훲훳훴훶훷훸훹훺훻훾훿휁휂휃휅휆휇휈휉휊휋휌휍휎휏휐휒휓휔치칙친칟칠칡침칩칫칭카칵칸칼캄캅캇캉캐캑캔캘캠캡캣캤캥캬캭컁커컥컨컫컬컴컵컷컸컹케켁켄켈켐켑켓켕켜켠켤켬켭켯켰켱켸코콕콘콜콤콥콧콩콰콱콴콸쾀쾅쾌쾡쾨쾰쿄쿠쿡쿤쿨쿰쿱쿳쿵쿼퀀퀄퀑퀘퀭퀴퀵퀸퀼�\".split(\"\");for(a=0;a!=t[196].length;++a)if(t[196][a].charCodeAt(0)!==65533){r[t[196][a]]=50176+a;e[50176+a]=t[196][a]}t[197]=\"�����������������������������������������������������������������휕휖휗휚휛휝휞휟휡휢휣휤휥휦휧휪휬휮휯휰휱휲휳휶휷휹������휺휻휽휾휿흀흁흂흃흅흆흈흊흋흌흍흎흏흒흓흕흚흛흜흝흞������흟흢흤흦흧흨흪흫흭흮흯흱흲흳흵흶흷흸흹흺흻흾흿힀힂힃힄힅힆힇힊힋큄큅큇큉큐큔큘큠크큭큰클큼큽킁키킥킨킬킴킵킷킹타탁탄탈탉탐탑탓탔탕태택탠탤탬탭탯탰탱탸턍터턱턴털턺텀텁텃텄텅테텍텐텔템텝텟텡텨텬텼톄톈토톡톤톨톰톱톳통톺톼퇀퇘퇴퇸툇툉툐투툭툰툴툼툽툿퉁퉈퉜�\".split(\"\");for(a=0;a!=t[197].length;++a)if(t[197][a].charCodeAt(0)!==65533){r[t[197][a]]=50432+a;e[50432+a]=t[197][a]}t[198]=\"�����������������������������������������������������������������힍힎힏힑힒힓힔힕힖힗힚힜힞힟힠힡힢힣������������������������������������������������������������������������������퉤튀튁튄튈튐튑튕튜튠튤튬튱트특튼튿틀틂틈틉틋틔틘틜틤틥티틱틴틸팀팁팃팅파팍팎판팔팖팜팝팟팠팡팥패팩팬팰팸팹팻팼팽퍄퍅퍼퍽펀펄펌펍펏펐펑페펙펜펠펨펩펫펭펴편펼폄폅폈평폐폘폡폣포폭폰폴폼폽폿퐁�\".split(\"\");for(a=0;a!=t[198].length;++a)if(t[198][a].charCodeAt(0)!==65533){r[t[198][a]]=50688+a;e[50688+a]=t[198][a]}t[199]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������퐈퐝푀푄표푠푤푭푯푸푹푼푿풀풂품풉풋풍풔풩퓌퓐퓔퓜퓟퓨퓬퓰퓸퓻퓽프픈플픔픕픗피픽핀필핌핍핏핑하학한할핥함합핫항해핵핸핼햄햅햇했행햐향허헉헌헐헒험헙헛헝헤헥헨헬헴헵헷헹혀혁현혈혐협혓혔형혜혠�\".split(\"\");for(a=0;a!=t[199].length;++a)if(t[199][a].charCodeAt(0)!==65533){r[t[199][a]]=50944+a;e[50944+a]=t[199][a]}t[200]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������혤혭호혹혼홀홅홈홉홋홍홑화확환활홧황홰홱홴횃횅회획횐횔횝횟횡효횬횰횹횻후훅훈훌훑훔훗훙훠훤훨훰훵훼훽휀휄휑휘휙휜휠휨휩휫휭휴휵휸휼흄흇흉흐흑흔흖흗흘흙흠흡흣흥흩희흰흴흼흽힁히힉힌힐힘힙힛힝�\".split(\"\");for(a=0;a!=t[200].length;++a)if(t[200][a].charCodeAt(0)!==65533){r[t[200][a]]=51200+a;e[51200+a]=t[200][a]}t[202]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������伽佳假價加可呵哥嘉嫁家暇架枷柯歌珂痂稼苛茄街袈訶賈跏軻迦駕刻却各恪慤殼珏脚覺角閣侃刊墾奸姦干幹懇揀杆柬桿澗癎看磵稈竿簡肝艮艱諫間乫喝曷渴碣竭葛褐蝎鞨勘坎堪嵌感憾戡敢柑橄減甘疳監瞰紺邯鑑鑒龕�\".split(\"\");for(a=0;a!=t[202].length;++a)if(t[202][a].charCodeAt(0)!==65533){r[t[202][a]]=51712+a;e[51712+a]=t[202][a]}t[203]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������匣岬甲胛鉀閘剛堈姜岡崗康强彊慷江畺疆糠絳綱羌腔舡薑襁講鋼降鱇介价個凱塏愷愾慨改槪漑疥皆盖箇芥蓋豈鎧開喀客坑更粳羹醵倨去居巨拒据據擧渠炬祛距踞車遽鉅鋸乾件健巾建愆楗腱虔蹇鍵騫乞傑杰桀儉劍劒檢�\".split(\"\");for(a=0;a!=t[203].length;++a)if(t[203][a].charCodeAt(0)!==65533){r[t[203][a]]=51968+a;e[51968+a]=t[203][a]}t[204]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������瞼鈐黔劫怯迲偈憩揭擊格檄激膈覡隔堅牽犬甄絹繭肩見譴遣鵑抉決潔結缺訣兼慊箝謙鉗鎌京俓倞傾儆勁勍卿坰境庚徑慶憬擎敬景暻更梗涇炅烱璟璥瓊痙硬磬竟競絅經耕耿脛莖警輕逕鏡頃頸驚鯨係啓堺契季屆悸戒桂械�\".split(\"\");for(a=0;a!=t[204].length;++a)if(t[204][a].charCodeAt(0)!==65533){r[t[204][a]]=52224+a;e[52224+a]=t[204][a]}t[205]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������棨溪界癸磎稽系繫繼計誡谿階鷄古叩告呱固姑孤尻庫拷攷故敲暠枯槁沽痼皐睾稿羔考股膏苦苽菰藁蠱袴誥賈辜錮雇顧高鼓哭斛曲梏穀谷鵠困坤崑昆梱棍滾琨袞鯤汨滑骨供公共功孔工恐恭拱控攻珙空蚣貢鞏串寡戈果瓜�\".split(\"\");for(a=0;a!=t[205].length;++a)if(t[205][a].charCodeAt(0)!==65533){r[t[205][a]]=52480+a;e[52480+a]=t[205][a]}t[206]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������科菓誇課跨過鍋顆廓槨藿郭串冠官寬慣棺款灌琯瓘管罐菅觀貫關館刮恝括适侊光匡壙廣曠洸炚狂珖筐胱鑛卦掛罫乖傀塊壞怪愧拐槐魁宏紘肱轟交僑咬喬嬌嶠巧攪敎校橋狡皎矯絞翹膠蕎蛟較轎郊餃驕鮫丘久九仇俱具勾�\".split(\"\");for(a=0;a!=t[206].length;++a)if(t[206][a].charCodeAt(0)!==65533){r[t[206][a]]=52736+a;e[52736+a]=t[206][a]}t[207]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������區口句咎嘔坵垢寇嶇廐懼拘救枸柩構歐毆毬求溝灸狗玖球瞿矩究絿耉臼舅舊苟衢謳購軀逑邱鉤銶駒驅鳩鷗龜國局菊鞠鞫麴君窘群裙軍郡堀屈掘窟宮弓穹窮芎躬倦券勸卷圈拳捲權淃眷厥獗蕨蹶闕机櫃潰詭軌饋句晷歸貴�\".split(\"\");for(a=0;a!=t[207].length;++a)if(t[207][a].charCodeAt(0)!==65533){r[t[207][a]]=52992+a;e[52992+a]=t[207][a]}t[208]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������鬼龜叫圭奎揆槻珪硅窺竅糾葵規赳逵閨勻均畇筠菌鈞龜橘克剋劇戟棘極隙僅劤勤懃斤根槿瑾筋芹菫覲謹近饉契今妗擒昑檎琴禁禽芩衾衿襟金錦伋及急扱汲級給亘兢矜肯企伎其冀嗜器圻基埼夔奇妓寄岐崎己幾忌技旗旣�\".split(\"\");for(a=0;a!=t[208].length;++a)if(t[208][a].charCodeAt(0)!==65533){r[t[208][a]]=53248+a;e[53248+a]=t[208][a]}t[209]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������朞期杞棋棄機欺氣汽沂淇玘琦琪璂璣畸畿碁磯祁祇祈祺箕紀綺羈耆耭肌記譏豈起錡錤飢饑騎騏驥麒緊佶吉拮桔金喫儺喇奈娜懦懶拏拿癩羅蘿螺裸邏那樂洛烙珞落諾酪駱亂卵暖欄煖爛蘭難鸞捏捺南嵐枏楠湳濫男藍襤拉�\".split(\"\");for(a=0;a!=t[209].length;++a)if(t[209][a].charCodeAt(0)!==65533){r[t[209][a]]=53504+a;e[53504+a]=t[209][a]}t[210]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������納臘蠟衲囊娘廊朗浪狼郎乃來內奈柰耐冷女年撚秊念恬拈捻寧寗努勞奴弩怒擄櫓爐瑙盧老蘆虜路露駑魯鷺碌祿綠菉錄鹿論壟弄濃籠聾膿農惱牢磊腦賂雷尿壘屢樓淚漏累縷陋嫩訥杻紐勒肋凜凌稜綾能菱陵尼泥匿溺多茶�\".split(\"\");for(a=0;a!=t[210].length;++a)if(t[210][a].charCodeAt(0)!==65533){r[t[210][a]]=53760+a;e[53760+a]=t[210][a]}t[211]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������丹亶但單團壇彖斷旦檀段湍短端簞緞蛋袒鄲鍛撻澾獺疸達啖坍憺擔曇淡湛潭澹痰聃膽蕁覃談譚錟沓畓答踏遝唐堂塘幢戇撞棠當糖螳黨代垈坮大對岱帶待戴擡玳臺袋貸隊黛宅德悳倒刀到圖堵塗導屠島嶋度徒悼挑掉搗桃�\".split(\"\");for(a=0;a!=t[211].length;++a)if(t[211][a].charCodeAt(0)!==65533){r[t[211][a]]=54016+a;e[54016+a]=t[211][a]}t[212]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������棹櫂淘渡滔濤燾盜睹禱稻萄覩賭跳蹈逃途道都鍍陶韜毒瀆牘犢獨督禿篤纛讀墩惇敦旽暾沌焞燉豚頓乭突仝冬凍動同憧東桐棟洞潼疼瞳童胴董銅兜斗杜枓痘竇荳讀豆逗頭屯臀芚遁遯鈍得嶝橙燈登等藤謄鄧騰喇懶拏癩羅�\".split(\"\");for(a=0;a!=t[212].length;++a)if(t[212][a].charCodeAt(0)!==65533){r[t[212][a]]=54272+a;e[54272+a]=t[212][a]}t[213]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������蘿螺裸邏樂洛烙珞絡落諾酪駱丹亂卵欄欒瀾爛蘭鸞剌辣嵐擥攬欖濫籃纜藍襤覽拉臘蠟廊朗浪狼琅瑯螂郞來崍徠萊冷掠略亮倆兩凉梁樑粮粱糧良諒輛量侶儷勵呂廬慮戾旅櫚濾礪藜蠣閭驢驪麗黎力曆歷瀝礫轢靂憐戀攣漣�\".split(\"\");for(a=0;a!=t[213].length;++a)if(t[213][a].charCodeAt(0)!==65533){r[t[213][a]]=54528+a;e[54528+a]=t[213][a]}t[214]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������煉璉練聯蓮輦連鍊冽列劣洌烈裂廉斂殮濂簾獵令伶囹寧岺嶺怜玲笭羚翎聆逞鈴零靈領齡例澧禮醴隷勞怒撈擄櫓潞瀘爐盧老蘆虜路輅露魯鷺鹵碌祿綠菉錄鹿麓論壟弄朧瀧瓏籠聾儡瀨牢磊賂賚賴雷了僚寮廖料燎療瞭聊蓼�\".split(\"\");for(a=0;a!=t[214].length;++a)if(t[214][a].charCodeAt(0)!==65533){r[t[214][a]]=54784+a;e[54784+a]=t[214][a]}t[215]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������遼鬧龍壘婁屢樓淚漏瘻累縷蔞褸鏤陋劉旒柳榴流溜瀏琉瑠留瘤硫謬類六戮陸侖倫崙淪綸輪律慄栗率隆勒肋凜凌楞稜綾菱陵俚利厘吏唎履悧李梨浬犁狸理璃異痢籬罹羸莉裏裡里釐離鯉吝潾燐璘藺躪隣鱗麟林淋琳臨霖砬�\".split(\"\");for(a=0;a!=t[215].length;++a)if(t[215][a].charCodeAt(0)!==65533){r[t[215][a]]=55040+a;e[55040+a]=t[215][a]}t[216]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������立笠粒摩瑪痲碼磨馬魔麻寞幕漠膜莫邈万卍娩巒彎慢挽晩曼滿漫灣瞞萬蔓蠻輓饅鰻唜抹末沫茉襪靺亡妄忘忙望網罔芒茫莽輞邙埋妹媒寐昧枚梅每煤罵買賣邁魅脈貊陌驀麥孟氓猛盲盟萌冪覓免冕勉棉沔眄眠綿緬面麵滅�\".split(\"\");for(a=0;a!=t[216].length;++a)if(t[216][a].charCodeAt(0)!==65533){r[t[216][a]]=55296+a;e[55296+a]=t[216][a]}t[217]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������蔑冥名命明暝椧溟皿瞑茗蓂螟酩銘鳴袂侮冒募姆帽慕摸摹暮某模母毛牟牡瑁眸矛耗芼茅謀謨貌木沐牧目睦穆鶩歿沒夢朦蒙卯墓妙廟描昴杳渺猫竗苗錨務巫憮懋戊拇撫无楙武毋無珷畝繆舞茂蕪誣貿霧鵡墨默們刎吻問文�\".split(\"\");for(a=0;a!=t[217].length;++a)if(t[217][a].charCodeAt(0)!==65533){r[t[217][a]]=55552+a;e[55552+a]=t[217][a]}t[218]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������汶紊紋聞蚊門雯勿沕物味媚尾嵋彌微未梶楣渼湄眉米美薇謎迷靡黴岷悶愍憫敏旻旼民泯玟珉緡閔密蜜謐剝博拍搏撲朴樸泊珀璞箔粕縛膊舶薄迫雹駁伴半反叛拌搬攀斑槃泮潘班畔瘢盤盼磐磻礬絆般蟠返頒飯勃拔撥渤潑�\".split(\"\");for(a=0;a!=t[218].length;++a)if(t[218][a].charCodeAt(0)!==65533){r[t[218][a]]=55808+a;e[55808+a]=t[218][a]}t[219]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������發跋醱鉢髮魃倣傍坊妨尨幇彷房放方旁昉枋榜滂磅紡肪膀舫芳蒡蚌訪謗邦防龐倍俳北培徘拜排杯湃焙盃背胚裴裵褙賠輩配陪伯佰帛柏栢白百魄幡樊煩燔番磻繁蕃藩飜伐筏罰閥凡帆梵氾汎泛犯範范法琺僻劈壁擘檗璧癖�\".split(\"\");for(a=0;a!=t[219].length;++a)if(t[219][a].charCodeAt(0)!==65533){r[t[219][a]]=56064+a;e[56064+a]=t[219][a]}t[220]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������碧蘗闢霹便卞弁變辨辯邊別瞥鱉鼈丙倂兵屛幷昞昺柄棅炳甁病秉竝輧餠騈保堡報寶普步洑湺潽珤甫菩補褓譜輔伏僕匐卜宓復服福腹茯蔔複覆輹輻馥鰒本乶俸奉封峯峰捧棒烽熢琫縫蓬蜂逢鋒鳳不付俯傅剖副否咐埠夫婦�\".split(\"\");for(a=0;a!=t[220].length;++a)if(t[220][a].charCodeAt(0)!==65533){r[t[220][a]]=56320+a;e[56320+a]=t[220][a]}t[221]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������孚孵富府復扶敷斧浮溥父符簿缶腐腑膚艀芙莩訃負賦賻赴趺部釜阜附駙鳧北分吩噴墳奔奮忿憤扮昐汾焚盆粉糞紛芬賁雰不佛弗彿拂崩朋棚硼繃鵬丕備匕匪卑妃婢庇悲憊扉批斐枇榧比毖毗毘沸泌琵痺砒碑秕秘粃緋翡肥�\".split(\"\");for(a=0;a!=t[221].length;++a)if(t[221][a].charCodeAt(0)!==65533){r[t[221][a]]=56576+a;e[56576+a]=t[221][a]}t[222]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������脾臂菲蜚裨誹譬費鄙非飛鼻嚬嬪彬斌檳殯浜濱瀕牝玭貧賓頻憑氷聘騁乍事些仕伺似使俟僿史司唆嗣四士奢娑寫寺射巳師徙思捨斜斯柶査梭死沙泗渣瀉獅砂社祀祠私篩紗絲肆舍莎蓑蛇裟詐詞謝賜赦辭邪飼駟麝削數朔索�\".split(\"\");for(a=0;a!=t[222].length;++a)if(t[222][a].charCodeAt(0)!==65533){r[t[222][a]]=56832+a;e[56832+a]=t[222][a]}t[223]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������傘刪山散汕珊産疝算蒜酸霰乷撒殺煞薩三參杉森渗芟蔘衫揷澁鈒颯上傷像償商喪嘗孀尙峠常床庠廂想桑橡湘爽牀狀相祥箱翔裳觴詳象賞霜塞璽賽嗇塞穡索色牲生甥省笙墅壻嶼序庶徐恕抒捿敍暑曙書栖棲犀瑞筮絮緖署�\".split(\"\");for(a=0;a!=t[223].length;++a)if(t[223][a].charCodeAt(0)!==65533){r[t[223][a]]=57088+a;e[57088+a]=t[223][a]}t[224]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������胥舒薯西誓逝鋤黍鼠夕奭席惜昔晳析汐淅潟石碩蓆釋錫仙僊先善嬋宣扇敾旋渲煽琁瑄璇璿癬禪線繕羨腺膳船蘚蟬詵跣選銑鐥饍鮮卨屑楔泄洩渫舌薛褻設說雪齧剡暹殲纖蟾贍閃陝攝涉燮葉城姓宬性惺成星晟猩珹盛省筬�\".split(\"\");for(a=0;a!=t[224].length;++a)if(t[224][a].charCodeAt(0)!==65533){r[t[224][a]]=57344+a;e[57344+a]=t[224][a]}t[225]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������聖聲腥誠醒世勢歲洗稅笹細說貰召嘯塑宵小少巢所掃搔昭梳沼消溯瀟炤燒甦疏疎瘙笑篠簫素紹蔬蕭蘇訴逍遡邵銷韶騷俗屬束涑粟續謖贖速孫巽損蓀遜飡率宋悚松淞訟誦送頌刷殺灑碎鎖衰釗修受嗽囚垂壽嫂守岫峀帥愁�\".split(\"\");for(a=0;a!=t[225].length;++a)if(t[225][a].charCodeAt(0)!==65533){r[t[225][a]]=57600+a;e[57600+a]=t[225][a]}t[226]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������戍手授搜收數樹殊水洙漱燧狩獸琇璲瘦睡秀穗竪粹綏綬繡羞脩茱蒐蓚藪袖誰讐輸遂邃酬銖銹隋隧隨雖需須首髓鬚叔塾夙孰宿淑潚熟琡璹肅菽巡徇循恂旬栒楯橓殉洵淳珣盾瞬筍純脣舜荀蓴蕣詢諄醇錞順馴戌術述鉥崇崧�\".split(\"\");for(a=0;a!=t[226].length;++a)if(t[226][a].charCodeAt(0)!==65533){r[t[226][a]]=57856+a;e[57856+a]=t[226][a]}t[227]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������嵩瑟膝蝨濕拾習褶襲丞乘僧勝升承昇繩蠅陞侍匙嘶始媤尸屎屍市弑恃施是時枾柴猜矢示翅蒔蓍視試詩諡豕豺埴寔式息拭植殖湜熄篒蝕識軾食飾伸侁信呻娠宸愼新晨燼申神紳腎臣莘薪藎蜃訊身辛辰迅失室實悉審尋心沁�\".split(\"\");for(a=0;a!=t[227].length;++a)if(t[227][a].charCodeAt(0)!==65533){r[t[227][a]]=58112+a;e[58112+a]=t[227][a]}t[228]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������沈深瀋甚芯諶什十拾雙氏亞俄兒啞娥峨我牙芽莪蛾衙訝阿雅餓鴉鵝堊岳嶽幄惡愕握樂渥鄂鍔顎鰐齷安岸按晏案眼雁鞍顔鮟斡謁軋閼唵岩巖庵暗癌菴闇壓押狎鴨仰央怏昻殃秧鴦厓哀埃崖愛曖涯碍艾隘靄厄扼掖液縊腋額�\".split(\"\");for(a=0;a!=t[228].length;++a)if(t[228][a].charCodeAt(0)!==65533){r[t[228][a]]=58368+a;e[58368+a]=t[228][a]}t[229]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������櫻罌鶯鸚也倻冶夜惹揶椰爺耶若野弱掠略約若葯蒻藥躍亮佯兩凉壤孃恙揚攘敭暘梁楊樣洋瀁煬痒瘍禳穰糧羊良襄諒讓釀陽量養圄御於漁瘀禦語馭魚齬億憶抑檍臆偃堰彦焉言諺孼蘖俺儼嚴奄掩淹嶪業円予余勵呂女如廬�\".split(\"\");for(a=0;a!=t[229].length;++a)if(t[229][a].charCodeAt(0)!==65533){r[t[229][a]]=58624+a;e[58624+a]=t[229][a]}t[230]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������旅歟汝濾璵礖礪與艅茹輿轝閭餘驪麗黎亦力域役易曆歷疫繹譯轢逆驛嚥堧姸娟宴年延憐戀捐挻撚椽沇沿涎涓淵演漣烟然煙煉燃燕璉硏硯秊筵緣練縯聯衍軟輦蓮連鉛鍊鳶列劣咽悅涅烈熱裂說閱厭廉念捻染殮炎焰琰艶苒�\".split(\"\");for(a=0;a!=t[230].length;++a)if(t[230][a].charCodeAt(0)!==65533){r[t[230][a]]=58880+a;e[58880+a]=t[230][a]}t[231]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������簾閻髥鹽曄獵燁葉令囹塋寧嶺嶸影怜映暎楹榮永泳渶潁濚瀛瀯煐營獰玲瑛瑩瓔盈穎纓羚聆英詠迎鈴鍈零霙靈領乂倪例刈叡曳汭濊猊睿穢芮藝蘂禮裔詣譽豫醴銳隸霓預五伍俉傲午吾吳嗚塢墺奧娛寤悟惡懊敖旿晤梧汚澳�\".split(\"\");for(a=0;a!=t[231].length;++a)if(t[231][a].charCodeAt(0)!==65533){r[t[231][a]]=59136+a;e[59136+a]=t[231][a]}t[232]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������烏熬獒筽蜈誤鰲鼇屋沃獄玉鈺溫瑥瘟穩縕蘊兀壅擁瓮甕癰翁邕雍饔渦瓦窩窪臥蛙蝸訛婉完宛梡椀浣玩琓琬碗緩翫脘腕莞豌阮頑曰往旺枉汪王倭娃歪矮外嵬巍猥畏了僚僥凹堯夭妖姚寥寮尿嶢拗搖撓擾料曜樂橈燎燿瑤療�\".split(\"\");for(a=0;a!=t[232].length;++a)if(t[232][a].charCodeAt(0)!==65533){r[t[232][a]]=59392+a;e[59392+a]=t[232][a]}t[233]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������窈窯繇繞耀腰蓼蟯要謠遙遼邀饒慾欲浴縟褥辱俑傭冗勇埇墉容庸慂榕涌湧溶熔瑢用甬聳茸蓉踊鎔鏞龍于佑偶優又友右宇寓尤愚憂旴牛玗瑀盂祐禑禹紆羽芋藕虞迂遇郵釪隅雨雩勖彧旭昱栯煜稶郁頊云暈橒殞澐熉耘芸蕓�\".split(\"\");for(a=0;a!=t[233].length;++a)if(t[233][a].charCodeAt(0)!==65533){r[t[233][a]]=59648+a;e[59648+a]=t[233][a]}t[234]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������運隕雲韻蔚鬱亐熊雄元原員圓園垣媛嫄寃怨愿援沅洹湲源爰猿瑗苑袁轅遠阮院願鴛月越鉞位偉僞危圍委威尉慰暐渭爲瑋緯胃萎葦蔿蝟衛褘謂違韋魏乳侑儒兪劉唯喩孺宥幼幽庾悠惟愈愉揄攸有杻柔柚柳楡楢油洧流游溜�\".split(\"\");for(a=0;a!=t[234].length;++a)if(t[234][a].charCodeAt(0)!==65533){r[t[234][a]]=59904+a;e[59904+a]=t[234][a]}t[235]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������濡猶猷琉瑜由留癒硫紐維臾萸裕誘諛諭踰蹂遊逾遺酉釉鍮類六堉戮毓肉育陸倫允奫尹崙淪潤玧胤贇輪鈗閏律慄栗率聿戎瀜絨融隆垠恩慇殷誾銀隱乙吟淫蔭陰音飮揖泣邑凝應膺鷹依倚儀宜意懿擬椅毅疑矣義艤薏蟻衣誼�\".split(\"\");for(a=0;a!=t[235].length;++a)if(t[235][a].charCodeAt(0)!==65533){r[t[235][a]]=60160+a;e[60160+a]=t[235][a]}t[236]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������議醫二以伊利吏夷姨履已弛彛怡易李梨泥爾珥理異痍痢移罹而耳肄苡荑裏裡貽貳邇里離飴餌匿溺瀷益翊翌翼謚人仁刃印吝咽因姻寅引忍湮燐璘絪茵藺蚓認隣靭靷鱗麟一佚佾壹日溢逸鎰馹任壬妊姙恁林淋稔臨荏賃入卄�\".split(\"\");for(a=0;a!=t[236].length;++a)if(t[236][a].charCodeAt(0)!==65533){r[t[236][a]]=60416+a;e[60416+a]=t[236][a]}t[237]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������立笠粒仍剩孕芿仔刺咨姉姿子字孜恣慈滋炙煮玆瓷疵磁紫者自茨蔗藉諮資雌作勺嚼斫昨灼炸爵綽芍酌雀鵲孱棧殘潺盞岑暫潛箴簪蠶雜丈仗匠場墻壯奬將帳庄張掌暲杖樟檣欌漿牆狀獐璋章粧腸臟臧莊葬蔣薔藏裝贓醬長�\".split(\"\");\nfor(a=0;a!=t[237].length;++a)if(t[237][a].charCodeAt(0)!==65533){r[t[237][a]]=60672+a;e[60672+a]=t[237][a]}t[238]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������障再哉在宰才材栽梓渽滓災縡裁財載齋齎爭箏諍錚佇低儲咀姐底抵杵楮樗沮渚狙猪疽箸紵苧菹著藷詛貯躇這邸雎齟勣吊嫡寂摘敵滴狄炙的積笛籍績翟荻謫賊赤跡蹟迪迹適鏑佃佺傳全典前剪塡塼奠專展廛悛戰栓殿氈澱�\".split(\"\");for(a=0;a!=t[238].length;++a)if(t[238][a].charCodeAt(0)!==65533){r[t[238][a]]=60928+a;e[60928+a]=t[238][a]}t[239]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������煎琠田甸畑癲筌箋箭篆纏詮輾轉鈿銓錢鐫電顚顫餞切截折浙癤竊節絶占岾店漸点粘霑鮎點接摺蝶丁井亭停偵呈姃定幀庭廷征情挺政整旌晶晸柾楨檉正汀淀淨渟湞瀞炡玎珽町睛碇禎程穽精綎艇訂諪貞鄭酊釘鉦鋌錠霆靖�\".split(\"\");for(a=0;a!=t[239].length;++a)if(t[239][a].charCodeAt(0)!==65533){r[t[239][a]]=61184+a;e[61184+a]=t[239][a]}t[240]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������靜頂鼎制劑啼堤帝弟悌提梯濟祭第臍薺製諸蹄醍除際霽題齊俎兆凋助嘲弔彫措操早晁曺曹朝條棗槽漕潮照燥爪璪眺祖祚租稠窕粗糟組繰肇藻蚤詔調趙躁造遭釣阻雕鳥族簇足鏃存尊卒拙猝倧宗從悰慫棕淙琮種終綜縱腫�\".split(\"\");for(a=0;a!=t[240].length;++a)if(t[240][a].charCodeAt(0)!==65533){r[t[240][a]]=61440+a;e[61440+a]=t[240][a]}t[241]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������踪踵鍾鐘佐坐左座挫罪主住侏做姝胄呪周嗾奏宙州廚晝朱柱株注洲湊澍炷珠疇籌紂紬綢舟蛛註誅走躊輳週酎酒鑄駐竹粥俊儁准埈寯峻晙樽浚準濬焌畯竣蠢逡遵雋駿茁中仲衆重卽櫛楫汁葺增憎曾拯烝甑症繒蒸證贈之只�\".split(\"\");for(a=0;a!=t[241].length;++a)if(t[241][a].charCodeAt(0)!==65533){r[t[241][a]]=61696+a;e[61696+a]=t[241][a]}t[242]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������咫地址志持指摯支旨智枝枳止池沚漬知砥祉祗紙肢脂至芝芷蜘誌識贄趾遲直稙稷織職唇嗔塵振搢晉晋桭榛殄津溱珍瑨璡畛疹盡眞瞋秦縉縝臻蔯袗診賑軫辰進鎭陣陳震侄叱姪嫉帙桎瓆疾秩窒膣蛭質跌迭斟朕什執潗緝輯�\".split(\"\");for(a=0;a!=t[242].length;++a)if(t[242][a].charCodeAt(0)!==65533){r[t[242][a]]=61952+a;e[61952+a]=t[242][a]}t[243]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������鏶集徵懲澄且侘借叉嗟嵯差次此磋箚茶蹉車遮捉搾着窄錯鑿齪撰澯燦璨瓚竄簒纂粲纘讚贊鑽餐饌刹察擦札紮僭參塹慘慙懺斬站讒讖倉倡創唱娼廠彰愴敞昌昶暢槍滄漲猖瘡窓脹艙菖蒼債埰寀寨彩採砦綵菜蔡采釵冊柵策�\".split(\"\");for(a=0;a!=t[243].length;++a)if(t[243][a].charCodeAt(0)!==65533){r[t[243][a]]=62208+a;e[62208+a]=t[243][a]}t[244]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������責凄妻悽處倜刺剔尺慽戚拓擲斥滌瘠脊蹠陟隻仟千喘天川擅泉淺玔穿舛薦賤踐遷釧闡阡韆凸哲喆徹撤澈綴輟轍鐵僉尖沾添甛瞻簽籤詹諂堞妾帖捷牒疊睫諜貼輒廳晴淸聽菁請靑鯖切剃替涕滯締諦逮遞體初剿哨憔抄招梢�\".split(\"\");for(a=0;a!=t[244].length;++a)if(t[244][a].charCodeAt(0)!==65533){r[t[244][a]]=62464+a;e[62464+a]=t[244][a]}t[245]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������椒楚樵炒焦硝礁礎秒稍肖艸苕草蕉貂超酢醋醮促囑燭矗蜀觸寸忖村邨叢塚寵悤憁摠總聰蔥銃撮催崔最墜抽推椎楸樞湫皺秋芻萩諏趨追鄒酋醜錐錘鎚雛騶鰍丑畜祝竺筑築縮蓄蹙蹴軸逐春椿瑃出朮黜充忠沖蟲衝衷悴膵萃�\".split(\"\");for(a=0;a!=t[245].length;++a)if(t[245][a].charCodeAt(0)!==65533){r[t[245][a]]=62720+a;e[62720+a]=t[245][a]}t[246]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������贅取吹嘴娶就炊翠聚脆臭趣醉驟鷲側仄厠惻測層侈値嗤峙幟恥梔治淄熾痔痴癡稚穉緇緻置致蚩輜雉馳齒則勅飭親七柒漆侵寢枕沈浸琛砧針鍼蟄秤稱快他咤唾墮妥惰打拖朶楕舵陀馱駝倬卓啄坼度托拓擢晫柝濁濯琢琸託�\".split(\"\");for(a=0;a!=t[246].length;++a)if(t[246][a].charCodeAt(0)!==65533){r[t[246][a]]=62976+a;e[62976+a]=t[246][a]}t[247]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������鐸呑嘆坦彈憚歎灘炭綻誕奪脫探眈耽貪塔搭榻宕帑湯糖蕩兌台太怠態殆汰泰笞胎苔跆邰颱宅擇澤撑攄兎吐土討慟桶洞痛筒統通堆槌腿褪退頹偸套妬投透鬪慝特闖坡婆巴把播擺杷波派爬琶破罷芭跛頗判坂板版瓣販辦鈑�\".split(\"\");for(a=0;a!=t[247].length;++a)if(t[247][a].charCodeAt(0)!==65533){r[t[247][a]]=63232+a;e[63232+a]=t[247][a]}t[248]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������阪八叭捌佩唄悖敗沛浿牌狽稗覇貝彭澎烹膨愎便偏扁片篇編翩遍鞭騙貶坪平枰萍評吠嬖幣廢弊斃肺蔽閉陛佈包匍匏咆哺圃布怖抛抱捕暴泡浦疱砲胞脯苞葡蒲袍褒逋鋪飽鮑幅暴曝瀑爆輻俵剽彪慓杓標漂瓢票表豹飇飄驃�\".split(\"\");for(a=0;a!=t[248].length;++a)if(t[248][a].charCodeAt(0)!==65533){r[t[248][a]]=63488+a;e[63488+a]=t[248][a]}t[249]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������品稟楓諷豊風馮彼披疲皮被避陂匹弼必泌珌畢疋筆苾馝乏逼下何厦夏廈昰河瑕荷蝦賀遐霞鰕壑學虐謔鶴寒恨悍旱汗漢澣瀚罕翰閑閒限韓割轄函含咸啣喊檻涵緘艦銜陷鹹合哈盒蛤閤闔陜亢伉姮嫦巷恒抗杭桁沆港缸肛航�\".split(\"\");for(a=0;a!=t[249].length;++a)if(t[249][a].charCodeAt(0)!==65533){r[t[249][a]]=63744+a;e[63744+a]=t[249][a]}t[250]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������行降項亥偕咳垓奚孩害懈楷海瀣蟹解該諧邂駭骸劾核倖幸杏荇行享向嚮珦鄕響餉饗香噓墟虛許憲櫶獻軒歇險驗奕爀赫革俔峴弦懸晛泫炫玄玹現眩睍絃絢縣舷衒見賢鉉顯孑穴血頁嫌俠協夾峽挾浹狹脅脇莢鋏頰亨兄刑型�\".split(\"\");for(a=0;a!=t[250].length;++a)if(t[250][a].charCodeAt(0)!==65533){r[t[250][a]]=64e3+a;e[64e3+a]=t[250][a]}t[251]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������形泂滎瀅灐炯熒珩瑩荊螢衡逈邢鎣馨兮彗惠慧暳蕙蹊醯鞋乎互呼壕壺好岵弧戶扈昊晧毫浩淏湖滸澔濠濩灝狐琥瑚瓠皓祜糊縞胡芦葫蒿虎號蝴護豪鎬頀顥惑或酷婚昏混渾琿魂忽惚笏哄弘汞泓洪烘紅虹訌鴻化和嬅樺火畵�\".split(\"\");for(a=0;a!=t[251].length;++a)if(t[251][a].charCodeAt(0)!==65533){r[t[251][a]]=64256+a;e[64256+a]=t[251][a]}t[252]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������禍禾花華話譁貨靴廓擴攫確碻穫丸喚奐宦幻患換歡晥桓渙煥環紈還驩鰥活滑猾豁闊凰幌徨恍惶愰慌晃晄榥況湟滉潢煌璜皇篁簧荒蝗遑隍黃匯回廻徊恢悔懷晦會檜淮澮灰獪繪膾茴蛔誨賄劃獲宖橫鐄哮嚆孝效斅曉梟涍淆�\".split(\"\");for(a=0;a!=t[252].length;++a)if(t[252][a].charCodeAt(0)!==65533){r[t[252][a]]=64512+a;e[64512+a]=t[252][a]}t[253]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������爻肴酵驍侯候厚后吼喉嗅帿後朽煦珝逅勛勳塤壎焄熏燻薰訓暈薨喧暄煊萱卉喙毁彙徽揮暉煇諱輝麾休携烋畦虧恤譎鷸兇凶匈洶胸黑昕欣炘痕吃屹紇訖欠欽歆吸恰洽翕興僖凞喜噫囍姬嬉希憙憘戱晞曦熙熹熺犧禧稀羲詰�\".split(\"\");for(a=0;a!=t[253].length;++a)if(t[253][a].charCodeAt(0)!==65533){r[t[253][a]]=64768+a;e[64768+a]=t[253][a]}return{enc:r,dec:e}}();cptable[950]=function(){var e=[],r={},t=[],a;t[0]=\"\\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007\\b\\t\\n\\x0B\\f\\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~��������������������������������������������������������������������������������������������������������������������������������\".split(\"\");for(a=0;a!=t[0].length;++a)if(t[0][a].charCodeAt(0)!==65533){r[t[0][a]]=0+a;e[0+a]=t[0][a]}t[161]=\"����������������������������������������������������������������　，、。．‧；：？！︰…‥﹐﹑﹒·﹔﹕﹖﹗｜–︱—︳╴︴﹏（）︵︶｛｝︷︸〔〕︹︺【】︻︼《》︽︾〈〉︿﹀「」﹁﹂『』﹃﹄﹙﹚����������������������������������﹛﹜﹝﹞‘’“”〝〞‵′＃＆＊※§〃○●△▲◎☆★◇◆□■▽▼㊣℅¯￣＿ˍ﹉﹊﹍﹎﹋﹌﹟﹠﹡＋－×÷±√＜＞＝≦≧≠∞≒≡﹢﹣﹤﹥﹦～∩∪⊥∠∟⊿㏒㏑∫∮∵∴♀♂⊕⊙↑↓←→↖↗↙↘∥∣／�\".split(\"\");for(a=0;a!=t[161].length;++a)if(t[161][a].charCodeAt(0)!==65533){r[t[161][a]]=41216+a;e[41216+a]=t[161][a]}t[162]=\"����������������������������������������������������������������＼∕﹨＄￥〒￠￡％＠℃℉﹩﹪﹫㏕㎜㎝㎞㏎㎡㎎㎏㏄°兙兛兞兝兡兣嗧瓩糎▁▂▃▄▅▆▇█▏▎▍▌▋▊▉┼┴┬┤├▔─│▕┌┐└┘╭����������������������������������╮╰╯═╞╪╡◢◣◥◤╱╲╳０１２３４５６７８９ⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩ〡〢〣〤〥〦〧〨〩十卄卅ＡＢＣＤＥＦＧＨＩＪＫＬＭＮＯＰＱＲＳＴＵＶＷＸＹＺａｂｃｄｅｆｇｈｉｊｋｌｍｎｏｐｑｒｓｔｕｖ�\".split(\"\");for(a=0;a!=t[162].length;++a)if(t[162][a].charCodeAt(0)!==65533){r[t[162][a]]=41472+a;e[41472+a]=t[162][a]}t[163]=\"����������������������������������������������������������������ｗｘｙｚΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩαβγδεζηθικλμνξοπρστυφχψωㄅㄆㄇㄈㄉㄊㄋㄌㄍㄎㄏ����������������������������������ㄐㄑㄒㄓㄔㄕㄖㄗㄘㄙㄚㄛㄜㄝㄞㄟㄠㄡㄢㄣㄤㄥㄦㄧㄨㄩ˙ˉˊˇˋ���������������������������������€������������������������������\".split(\"\");for(a=0;a!=t[163].length;++a)if(t[163][a].charCodeAt(0)!==65533){r[t[163][a]]=41728+a;e[41728+a]=t[163][a]}t[164]=\"����������������������������������������������������������������一乙丁七乃九了二人儿入八几刀刁力匕十卜又三下丈上丫丸凡久么也乞于亡兀刃勺千叉口土士夕大女子孑孓寸小尢尸山川工己已巳巾干廾弋弓才����������������������������������丑丐不中丰丹之尹予云井互五亢仁什仃仆仇仍今介仄元允內六兮公冗凶分切刈勻勾勿化匹午升卅卞厄友及反壬天夫太夭孔少尤尺屯巴幻廿弔引心戈戶手扎支文斗斤方日曰月木欠止歹毋比毛氏水火爪父爻片牙牛犬王丙�\".split(\"\");for(a=0;a!=t[164].length;++a)if(t[164][a].charCodeAt(0)!==65533){r[t[164][a]]=41984+a;e[41984+a]=t[164][a]}t[165]=\"����������������������������������������������������������������世丕且丘主乍乏乎以付仔仕他仗代令仙仞充兄冉冊冬凹出凸刊加功包匆北匝仟半卉卡占卯卮去可古右召叮叩叨叼司叵叫另只史叱台句叭叻四囚外����������������������������������央失奴奶孕它尼巨巧左市布平幼弁弘弗必戊打扔扒扑斥旦朮本未末札正母民氐永汁汀氾犯玄玉瓜瓦甘生用甩田由甲申疋白皮皿目矛矢石示禾穴立丞丟乒乓乩亙交亦亥仿伉伙伊伕伍伐休伏仲件任仰仳份企伋光兇兆先全�\".split(\"\");for(a=0;a!=t[165].length;++a)if(t[165][a].charCodeAt(0)!==65533){r[t[165][a]]=42240+a;e[42240+a]=t[165][a]}t[166]=\"����������������������������������������������������������������共再冰列刑划刎刖劣匈匡匠印危吉吏同吊吐吁吋各向名合吃后吆吒因回囝圳地在圭圬圯圩夙多夷夸妄奸妃好她如妁字存宇守宅安寺尖屹州帆并年����������������������������������式弛忙忖戎戌戍成扣扛托收早旨旬旭曲曳有朽朴朱朵次此死氖汝汗汙江池汐汕污汛汍汎灰牟牝百竹米糸缶羊羽老考而耒耳聿肉肋肌臣自至臼舌舛舟艮色艾虫血行衣西阡串亨位住佇佗佞伴佛何估佐佑伽伺伸佃佔似但佣�\".split(\"\");for(a=0;a!=t[166].length;++a)if(t[166][a].charCodeAt(0)!==65533){r[t[166][a]]=42496+a;e[42496+a]=t[166][a]}t[167]=\"����������������������������������������������������������������作你伯低伶余佝佈佚兌克免兵冶冷別判利刪刨劫助努劬匣即卵吝吭吞吾否呎吧呆呃吳呈呂君吩告吹吻吸吮吵吶吠吼呀吱含吟听囪困囤囫坊坑址坍����������������������������������均坎圾坐坏圻壯夾妝妒妨妞妣妙妖妍妤妓妊妥孝孜孚孛完宋宏尬局屁尿尾岐岑岔岌巫希序庇床廷弄弟彤形彷役忘忌志忍忱快忸忪戒我抄抗抖技扶抉扭把扼找批扳抒扯折扮投抓抑抆改攻攸旱更束李杏材村杜杖杞杉杆杠�\".split(\"\");for(a=0;a!=t[167].length;++a)if(t[167][a].charCodeAt(0)!==65533){r[t[167][a]]=42752+a;e[42752+a]=t[167][a]}t[168]=\"����������������������������������������������������������������杓杗步每求汞沙沁沈沉沅沛汪決沐汰沌汨沖沒汽沃汲汾汴沆汶沍沔沘沂灶灼災灸牢牡牠狄狂玖甬甫男甸皂盯矣私秀禿究系罕肖肓肝肘肛肚育良芒����������������������������������芋芍見角言谷豆豕貝赤走足身車辛辰迂迆迅迄巡邑邢邪邦那酉釆里防阮阱阪阬並乖乳事些亞享京佯依侍佳使佬供例來侃佰併侈佩佻侖佾侏侑佺兔兒兕兩具其典冽函刻券刷刺到刮制剁劾劻卒協卓卑卦卷卸卹取叔受味呵�\".split(\"\");for(a=0;a!=t[168].length;++a)if(t[168][a].charCodeAt(0)!==65533){r[t[168][a]]=43008+a;e[43008+a]=t[168][a]}t[169]=\"����������������������������������������������������������������咖呸咕咀呻呷咄咒咆呼咐呱呶和咚呢周咋命咎固垃坷坪坩坡坦坤坼夜奉奇奈奄奔妾妻委妹妮姑姆姐姍始姓姊妯妳姒姅孟孤季宗定官宜宙宛尚屈居����������������������������������屆岷岡岸岩岫岱岳帘帚帖帕帛帑幸庚店府底庖延弦弧弩往征彿彼忝忠忽念忿怏怔怯怵怖怪怕怡性怩怫怛或戕房戾所承拉拌拄抿拂抹拒招披拓拔拋拈抨抽押拐拙拇拍抵拚抱拘拖拗拆抬拎放斧於旺昔易昌昆昂明昀昏昕昊�\".split(\"\");for(a=0;a!=t[169].length;++a)if(t[169][a].charCodeAt(0)!==65533){r[t[169][a]]=43264+a;e[43264+a]=t[169][a]}t[170]=\"����������������������������������������������������������������昇服朋杭枋枕東果杳杷枇枝林杯杰板枉松析杵枚枓杼杪杲欣武歧歿氓氛泣注泳沱泌泥河沽沾沼波沫法泓沸泄油況沮泗泅泱沿治泡泛泊沬泯泜泖泠����������������������������������炕炎炒炊炙爬爭爸版牧物狀狎狙狗狐玩玨玟玫玥甽疝疙疚的盂盲直知矽社祀祁秉秈空穹竺糾罔羌羋者肺肥肢肱股肫肩肴肪肯臥臾舍芳芝芙芭芽芟芹花芬芥芯芸芣芰芾芷虎虱初表軋迎返近邵邸邱邶采金長門阜陀阿阻附�\".split(\"\");for(a=0;a!=t[170].length;++a)if(t[170][a].charCodeAt(0)!==65533){r[t[170][a]]=43520+a;e[43520+a]=t[170][a]}t[171]=\"����������������������������������������������������������������陂隹雨青非亟亭亮信侵侯便俠俑俏保促侶俘俟俊俗侮俐俄係俚俎俞侷兗冒冑冠剎剃削前剌剋則勇勉勃勁匍南卻厚叛咬哀咨哎哉咸咦咳哇哂咽咪品����������������������������������哄哈咯咫咱咻咩咧咿囿垂型垠垣垢城垮垓奕契奏奎奐姜姘姿姣姨娃姥姪姚姦威姻孩宣宦室客宥封屎屏屍屋峙峒巷帝帥帟幽庠度建弈弭彥很待徊律徇後徉怒思怠急怎怨恍恰恨恢恆恃恬恫恪恤扁拜挖按拼拭持拮拽指拱拷�\".split(\"\");for(a=0;a!=t[171].length;++a)if(t[171][a].charCodeAt(0)!==65533){r[t[171][a]]=43776+a;e[43776+a]=t[171][a]}t[172]=\"����������������������������������������������������������������拯括拾拴挑挂政故斫施既春昭映昧是星昨昱昤曷柿染柱柔某柬架枯柵柩柯柄柑枴柚查枸柏柞柳枰柙柢柝柒歪殃殆段毒毗氟泉洋洲洪流津洌洱洞洗����������������������������������活洽派洶洛泵洹洧洸洩洮洵洎洫炫為炳炬炯炭炸炮炤爰牲牯牴狩狠狡玷珊玻玲珍珀玳甚甭畏界畎畋疫疤疥疢疣癸皆皇皈盈盆盃盅省盹相眉看盾盼眇矜砂研砌砍祆祉祈祇禹禺科秒秋穿突竿竽籽紂紅紀紉紇約紆缸美羿耄�\".split(\"\");for(a=0;a!=t[172].length;++a)if(t[172][a].charCodeAt(0)!==65533){r[t[172][a]]=44032+a;e[44032+a]=t[172][a]}t[173]=\"����������������������������������������������������������������耐耍耑耶胖胥胚胃胄背胡胛胎胞胤胝致舢苧范茅苣苛苦茄若茂茉苒苗英茁苜苔苑苞苓苟苯茆虐虹虻虺衍衫要觔計訂訃貞負赴赳趴軍軌述迦迢迪迥����������������������������������迭迫迤迨郊郎郁郃酋酊重閂限陋陌降面革韋韭音頁風飛食首香乘亳倌倍倣俯倦倥俸倩倖倆值借倚倒們俺倀倔倨俱倡個候倘俳修倭倪俾倫倉兼冤冥冢凍凌准凋剖剜剔剛剝匪卿原厝叟哨唐唁唷哼哥哲唆哺唔哩哭員唉哮哪�\".split(\"\");for(a=0;a!=t[173].length;++a)if(t[173][a].charCodeAt(0)!==65533){r[t[173][a]]=44288+a;e[44288+a]=t[173][a]}t[174]=\"����������������������������������������������������������������哦唧唇哽唏圃圄埂埔埋埃堉夏套奘奚娑娘娜娟娛娓姬娠娣娩娥娌娉孫屘宰害家宴宮宵容宸射屑展屐峭峽峻峪峨峰島崁峴差席師庫庭座弱徒徑徐恙����������������������������������恣恥恐恕恭恩息悄悟悚悍悔悌悅悖扇拳挈拿捎挾振捕捂捆捏捉挺捐挽挪挫挨捍捌效敉料旁旅時晉晏晃晒晌晅晁書朔朕朗校核案框桓根桂桔栩梳栗桌桑栽柴桐桀格桃株桅栓栘桁殊殉殷氣氧氨氦氤泰浪涕消涇浦浸海浙涓�\".split(\"\");for(a=0;a!=t[174].length;++a)if(t[174][a].charCodeAt(0)!==65533){r[t[174][a]]=44544+a;e[44544+a]=t[174][a]}t[175]=\"����������������������������������������������������������������浬涉浮浚浴浩涌涊浹涅浥涔烊烘烤烙烈烏爹特狼狹狽狸狷玆班琉珮珠珪珞畔畝畜畚留疾病症疲疳疽疼疹痂疸皋皰益盍盎眩真眠眨矩砰砧砸砝破砷����������������������������������砥砭砠砟砲祕祐祠祟祖神祝祗祚秤秣秧租秦秩秘窄窈站笆笑粉紡紗紋紊素索純紐紕級紜納紙紛缺罟羔翅翁耆耘耕耙耗耽耿胱脂胰脅胭胴脆胸胳脈能脊胼胯臭臬舀舐航舫舨般芻茫荒荔荊茸荐草茵茴荏茲茹茶茗荀茱茨荃�\".split(\"\");for(a=0;a!=t[175].length;++a)if(t[175][a].charCodeAt(0)!==65533){r[t[175][a]]=44800+a;e[44800+a]=t[175][a]}t[176]=\"����������������������������������������������������������������虔蚊蚪蚓蚤蚩蚌蚣蚜衰衷袁袂衽衹記訐討訌訕訊託訓訖訏訑豈豺豹財貢起躬軒軔軏辱送逆迷退迺迴逃追逅迸邕郡郝郢酒配酌釘針釗釜釙閃院陣陡����������������������������������陛陝除陘陞隻飢馬骨高鬥鬲鬼乾偺偽停假偃偌做偉健偶偎偕偵側偷偏倏偯偭兜冕凰剪副勒務勘動匐匏匙匿區匾參曼商啪啦啄啞啡啃啊唱啖問啕唯啤唸售啜唬啣唳啁啗圈國圉域堅堊堆埠埤基堂堵執培夠奢娶婁婉婦婪婀�\".split(\"\");for(a=0;a!=t[176].length;++a)if(t[176][a].charCodeAt(0)!==65533){r[t[176][a]]=45056+a;e[45056+a]=t[176][a]}t[177]=\"����������������������������������������������������������������娼婢婚婆婊孰寇寅寄寂宿密尉專將屠屜屝崇崆崎崛崖崢崑崩崔崙崤崧崗巢常帶帳帷康庸庶庵庾張強彗彬彩彫得徙從徘御徠徜恿患悉悠您惋悴惦悽����������������������������������情悻悵惜悼惘惕惆惟悸惚惇戚戛扈掠控捲掖探接捷捧掘措捱掩掉掃掛捫推掄授掙採掬排掏掀捻捩捨捺敝敖救教敗啟敏敘敕敔斜斛斬族旋旌旎晝晚晤晨晦晞曹勗望梁梯梢梓梵桿桶梱梧梗械梃棄梭梆梅梔條梨梟梡梂欲殺�\".split(\"\");for(a=0;a!=t[177].length;++a)if(t[177][a].charCodeAt(0)!==65533){r[t[177][a]]=45312+a;e[45312+a]=t[177][a]}t[178]=\"����������������������������������������������������������������毫毬氫涎涼淳淙液淡淌淤添淺清淇淋涯淑涮淞淹涸混淵淅淒渚涵淚淫淘淪深淮淨淆淄涪淬涿淦烹焉焊烽烯爽牽犁猜猛猖猓猙率琅琊球理現琍瓠瓶����������������������������������瓷甜產略畦畢異疏痔痕疵痊痍皎盔盒盛眷眾眼眶眸眺硫硃硎祥票祭移窒窕笠笨笛第符笙笞笮粒粗粕絆絃統紮紹紼絀細紳組累終紲紱缽羞羚翌翎習耜聊聆脯脖脣脫脩脰脤舂舵舷舶船莎莞莘荸莢莖莽莫莒莊莓莉莠荷荻荼�\".split(\"\");for(a=0;a!=t[178].length;++a)if(t[178][a].charCodeAt(0)!==65533){r[t[178][a]]=45568+a;e[45568+a]=t[178][a]}t[179]=\"����������������������������������������������������������������莆莧處彪蛇蛀蚶蛄蚵蛆蛋蚱蚯蛉術袞袈被袒袖袍袋覓規訪訝訣訥許設訟訛訢豉豚販責貫貨貪貧赧赦趾趺軛軟這逍通逗連速逝逐逕逞造透逢逖逛途����������������������������������部郭都酗野釵釦釣釧釭釩閉陪陵陳陸陰陴陶陷陬雀雪雩章竟頂頃魚鳥鹵鹿麥麻傢傍傅備傑傀傖傘傚最凱割剴創剩勞勝勛博厥啻喀喧啼喊喝喘喂喜喪喔喇喋喃喳單喟唾喲喚喻喬喱啾喉喫喙圍堯堪場堤堰報堡堝堠壹壺奠�\".split(\"\");for(a=0;a!=t[179].length;++a)if(t[179][a].charCodeAt(0)!==65533){r[t[179][a]]=45824+a;e[45824+a]=t[179][a]}t[180]=\"����������������������������������������������������������������婷媚婿媒媛媧孳孱寒富寓寐尊尋就嵌嵐崴嵇巽幅帽幀幃幾廊廁廂廄弼彭復循徨惑惡悲悶惠愜愣惺愕惰惻惴慨惱愎惶愉愀愒戟扉掣掌描揀揩揉揆揍����������������������������������插揣提握揖揭揮捶援揪換摒揚揹敞敦敢散斑斐斯普晰晴晶景暑智晾晷曾替期朝棺棕棠棘棗椅棟棵森棧棹棒棲棣棋棍植椒椎棉棚楮棻款欺欽殘殖殼毯氮氯氬港游湔渡渲湧湊渠渥渣減湛湘渤湖湮渭渦湯渴湍渺測湃渝渾滋�\".split(\"\");for(a=0;a!=t[180].length;++a)if(t[180][a].charCodeAt(0)!==65533){r[t[180][a]]=46080+a;e[46080+a]=t[180][a]}t[181]=\"����������������������������������������������������������������溉渙湎湣湄湲湩湟焙焚焦焰無然煮焜牌犄犀猶猥猴猩琺琪琳琢琥琵琶琴琯琛琦琨甥甦畫番痢痛痣痙痘痞痠登發皖皓皴盜睏短硝硬硯稍稈程稅稀窘����������������������������������窗窖童竣等策筆筐筒答筍筋筏筑粟粥絞結絨絕紫絮絲絡給絢絰絳善翔翕耋聒肅腕腔腋腑腎脹腆脾腌腓腴舒舜菩萃菸萍菠菅萋菁華菱菴著萊菰萌菌菽菲菊萸萎萄菜萇菔菟虛蛟蛙蛭蛔蛛蛤蛐蛞街裁裂袱覃視註詠評詞証詁�\".split(\"\");for(a=0;a!=t[181].length;++a)if(t[181][a].charCodeAt(0)!==65533){r[t[181][a]]=46336+a;e[46336+a]=t[181][a]}t[182]=\"����������������������������������������������������������������詔詛詐詆訴診訶詖象貂貯貼貳貽賁費賀貴買貶貿貸越超趁跎距跋跚跑跌跛跆軻軸軼辜逮逵週逸進逶鄂郵鄉郾酣酥量鈔鈕鈣鈉鈞鈍鈐鈇鈑閔閏開閑����������������������������������間閒閎隊階隋陽隅隆隍陲隄雁雅雄集雇雯雲韌項順須飧飪飯飩飲飭馮馭黃黍黑亂傭債傲傳僅傾催傷傻傯僇剿剷剽募勦勤勢勣匯嗟嗨嗓嗦嗎嗜嗇嗑嗣嗤嗯嗚嗡嗅嗆嗥嗉園圓塞塑塘塗塚塔填塌塭塊塢塒塋奧嫁嫉嫌媾媽媼�\".split(\"\");for(a=0;a!=t[182].length;++a)if(t[182][a].charCodeAt(0)!==65533){r[t[182][a]]=46592+a;e[46592+a]=t[182][a]}t[183]=\"����������������������������������������������������������������媳嫂媲嵩嵯幌幹廉廈弒彙徬微愚意慈感想愛惹愁愈慎慌慄慍愾愴愧愍愆愷戡戢搓搾搞搪搭搽搬搏搜搔損搶搖搗搆敬斟新暗暉暇暈暖暄暘暍會榔業����������������������������������楚楷楠楔極椰概楊楨楫楞楓楹榆楝楣楛歇歲毀殿毓毽溢溯滓溶滂源溝滇滅溥溘溼溺溫滑準溜滄滔溪溧溴煎煙煩煤煉照煜煬煦煌煥煞煆煨煖爺牒猷獅猿猾瑯瑚瑕瑟瑞瑁琿瑙瑛瑜當畸瘀痰瘁痲痱痺痿痴痳盞盟睛睫睦睞督�\".split(\"\");for(a=0;a!=t[183].length;++a)if(t[183][a].charCodeAt(0)!==65533){r[t[183][a]]=46848+a;e[46848+a]=t[183][a]}t[184]=\"����������������������������������������������������������������睹睪睬睜睥睨睢矮碎碰碗碘碌碉硼碑碓硿祺祿禁萬禽稜稚稠稔稟稞窟窠筷節筠筮筧粱粳粵經絹綑綁綏絛置罩罪署義羨群聖聘肆肄腱腰腸腥腮腳腫����������������������������������腹腺腦舅艇蒂葷落萱葵葦葫葉葬葛萼萵葡董葩葭葆虞虜號蛹蜓蜈蜇蜀蛾蛻蜂蜃蜆蜊衙裟裔裙補裘裝裡裊裕裒覜解詫該詳試詩詰誇詼詣誠話誅詭詢詮詬詹詻訾詨豢貊貉賊資賈賄貲賃賂賅跡跟跨路跳跺跪跤跦躲較載軾輊�\".split(\"\");for(a=0;a!=t[184].length;++a)if(t[184][a].charCodeAt(0)!==65533){r[t[184][a]]=47104+a;e[47104+a]=t[184][a]}t[185]=\"����������������������������������������������������������������辟農運遊道遂達逼違遐遇遏過遍遑逾遁鄒鄗酬酪酩釉鈷鉗鈸鈽鉀鈾鉛鉋鉤鉑鈴鉉鉍鉅鈹鈿鉚閘隘隔隕雍雋雉雊雷電雹零靖靴靶預頑頓頊頒頌飼飴����������������������������������飽飾馳馱馴髡鳩麂鼎鼓鼠僧僮僥僖僭僚僕像僑僱僎僩兢凳劃劂匱厭嗾嘀嘛嘗嗽嘔嘆嘉嘍嘎嗷嘖嘟嘈嘐嗶團圖塵塾境墓墊塹墅塽壽夥夢夤奪奩嫡嫦嫩嫗嫖嫘嫣孵寞寧寡寥實寨寢寤察對屢嶄嶇幛幣幕幗幔廓廖弊彆彰徹慇�\".split(\"\");for(a=0;a!=t[185].length;++a)if(t[185][a].charCodeAt(0)!==65533){r[t[185][a]]=47360+a;e[47360+a]=t[185][a]}t[186]=\"����������������������������������������������������������������愿態慷慢慣慟慚慘慵截撇摘摔撤摸摟摺摑摧搴摭摻敲斡旗旖暢暨暝榜榨榕槁榮槓構榛榷榻榫榴槐槍榭槌榦槃榣歉歌氳漳演滾漓滴漩漾漠漬漏漂漢����������������������������������滿滯漆漱漸漲漣漕漫漯澈漪滬漁滲滌滷熔熙煽熊熄熒爾犒犖獄獐瑤瑣瑪瑰瑭甄疑瘧瘍瘋瘉瘓盡監瞄睽睿睡磁碟碧碳碩碣禎福禍種稱窪窩竭端管箕箋筵算箝箔箏箸箇箄粹粽精綻綰綜綽綾綠緊綴網綱綺綢綿綵綸維緒緇綬�\".split(\"\");for(a=0;a!=t[186].length;++a)if(t[186][a].charCodeAt(0)!==65533){r[t[186][a]]=47616+a;e[47616+a]=t[186][a]}t[187]=\"����������������������������������������������������������������罰翠翡翟聞聚肇腐膀膏膈膊腿膂臧臺與舔舞艋蓉蒿蓆蓄蒙蒞蒲蒜蓋蒸蓀蓓蒐蒼蓑蓊蜿蜜蜻蜢蜥蜴蜘蝕蜷蜩裳褂裴裹裸製裨褚裯誦誌語誣認誡誓誤����������������������������������說誥誨誘誑誚誧豪貍貌賓賑賒赫趙趕跼輔輒輕輓辣遠遘遜遣遙遞遢遝遛鄙鄘鄞酵酸酷酴鉸銀銅銘銖鉻銓銜銨鉼銑閡閨閩閣閥閤隙障際雌雒需靼鞅韶頗領颯颱餃餅餌餉駁骯骰髦魁魂鳴鳶鳳麼鼻齊億儀僻僵價儂儈儉儅凜�\".split(\"\");for(a=0;a!=t[187].length;++a)if(t[187][a].charCodeAt(0)!==65533){r[t[187][a]]=47872+a;e[47872+a]=t[187][a]}t[188]=\"����������������������������������������������������������������劇劈劉劍劊勰厲嘮嘻嘹嘲嘿嘴嘩噓噎噗噴嘶嘯嘰墀墟增墳墜墮墩墦奭嬉嫻嬋嫵嬌嬈寮寬審寫層履嶝嶔幢幟幡廢廚廟廝廣廠彈影德徵慶慧慮慝慕憂����������������������������������慼慰慫慾憧憐憫憎憬憚憤憔憮戮摩摯摹撞撲撈撐撰撥撓撕撩撒撮播撫撚撬撙撢撳敵敷數暮暫暴暱樣樟槨樁樞標槽模樓樊槳樂樅槭樑歐歎殤毅毆漿潼澄潑潦潔澆潭潛潸潮澎潺潰潤澗潘滕潯潠潟熟熬熱熨牖犛獎獗瑩璋璃�\".split(\"\");for(a=0;a!=t[188].length;++a)if(t[188][a].charCodeAt(0)!==65533){r[t[188][a]]=48128+a;e[48128+a]=t[188][a]}t[189]=\"����������������������������������������������������������������瑾璀畿瘠瘩瘟瘤瘦瘡瘢皚皺盤瞎瞇瞌瞑瞋磋磅確磊碾磕碼磐稿稼穀稽稷稻窯窮箭箱範箴篆篇篁箠篌糊締練緯緻緘緬緝編緣線緞緩綞緙緲緹罵罷羯����������������������������������翩耦膛膜膝膠膚膘蔗蔽蔚蓮蔬蔭蔓蔑蔣蔡蔔蓬蔥蓿蔆螂蝴蝶蝠蝦蝸蝨蝙蝗蝌蝓衛衝褐複褒褓褕褊誼諒談諄誕請諸課諉諂調誰論諍誶誹諛豌豎豬賠賞賦賤賬賭賢賣賜質賡赭趟趣踫踐踝踢踏踩踟踡踞躺輝輛輟輩輦輪輜輞�\".split(\"\");for(a=0;a!=t[189].length;++a)if(t[189][a].charCodeAt(0)!==65533){r[t[189][a]]=48384+a;e[48384+a]=t[189][a]}t[190]=\"����������������������������������������������������������������輥適遮遨遭遷鄰鄭鄧鄱醇醉醋醃鋅銻銷鋪銬鋤鋁銳銼鋒鋇鋰銲閭閱霄霆震霉靠鞍鞋鞏頡頫頜颳養餓餒餘駝駐駟駛駑駕駒駙骷髮髯鬧魅魄魷魯鴆鴉����������������������������������鴃麩麾黎墨齒儒儘儔儐儕冀冪凝劑劓勳噙噫噹噩噤噸噪器噥噱噯噬噢噶壁墾壇壅奮嬝嬴學寰導彊憲憑憩憊懍憶憾懊懈戰擅擁擋撻撼據擄擇擂操撿擒擔撾整曆曉暹曄曇暸樽樸樺橙橫橘樹橄橢橡橋橇樵機橈歙歷氅濂澱澡�\".split(\"\");for(a=0;a!=t[190].length;++a)if(t[190][a].charCodeAt(0)!==65533){r[t[190][a]]=48640+a;e[48640+a]=t[190][a]}t[191]=\"����������������������������������������������������������������濃澤濁澧澳激澹澶澦澠澴熾燉燐燒燈燕熹燎燙燜燃燄獨璜璣璘璟璞瓢甌甍瘴瘸瘺盧盥瞠瞞瞟瞥磨磚磬磧禦積穎穆穌穋窺篙簑築篤篛篡篩篦糕糖縊����������������������������������縑縈縛縣縞縝縉縐罹羲翰翱翮耨膳膩膨臻興艘艙蕊蕙蕈蕨蕩蕃蕉蕭蕪蕞螃螟螞螢融衡褪褲褥褫褡親覦諦諺諫諱謀諜諧諮諾謁謂諷諭諳諶諼豫豭貓賴蹄踱踴蹂踹踵輻輯輸輳辨辦遵遴選遲遼遺鄴醒錠錶鋸錳錯錢鋼錫錄錚�\".split(\"\");for(a=0;a!=t[191].length;++a)if(t[191][a].charCodeAt(0)!==65533){r[t[191][a]]=48896+a;e[48896+a]=t[191][a]}t[192]=\"����������������������������������������������������������������錐錦錡錕錮錙閻隧隨險雕霎霑霖霍霓霏靛靜靦鞘頰頸頻頷頭頹頤餐館餞餛餡餚駭駢駱骸骼髻髭鬨鮑鴕鴣鴦鴨鴒鴛默黔龍龜優償儡儲勵嚎嚀嚐嚅嚇����������������������������������嚏壕壓壑壎嬰嬪嬤孺尷屨嶼嶺嶽嶸幫彌徽應懂懇懦懋戲戴擎擊擘擠擰擦擬擱擢擭斂斃曙曖檀檔檄檢檜櫛檣橾檗檐檠歜殮毚氈濘濱濟濠濛濤濫濯澀濬濡濩濕濮濰燧營燮燦燥燭燬燴燠爵牆獰獲璩環璦璨癆療癌盪瞳瞪瞰瞬�\".split(\"\");for(a=0;a!=t[192].length;++a)if(t[192][a].charCodeAt(0)!==65533){r[t[192][a]]=49152+a;e[49152+a]=t[192][a]}t[193]=\"����������������������������������������������������������������瞧瞭矯磷磺磴磯礁禧禪穗窿簇簍篾篷簌篠糠糜糞糢糟糙糝縮績繆縷縲繃縫總縱繅繁縴縹繈縵縿縯罄翳翼聱聲聰聯聳臆臃膺臂臀膿膽臉膾臨舉艱薪����������������������������������薄蕾薜薑薔薯薛薇薨薊虧蟀蟑螳蟒蟆螫螻螺蟈蟋褻褶襄褸褽覬謎謗謙講謊謠謝謄謐豁谿豳賺賽購賸賻趨蹉蹋蹈蹊轄輾轂轅輿避遽還邁邂邀鄹醣醞醜鍍鎂錨鍵鍊鍥鍋錘鍾鍬鍛鍰鍚鍔闊闋闌闈闆隱隸雖霜霞鞠韓顆颶餵騁�\".split(\"\");for(a=0;a!=t[193].length;++a)if(t[193][a].charCodeAt(0)!==65533){r[t[193][a]]=49408+a;e[49408+a]=t[193][a]}t[194]=\"����������������������������������������������������������������駿鮮鮫鮪鮭鴻鴿麋黏點黜黝黛鼾齋叢嚕嚮壙壘嬸彝懣戳擴擲擾攆擺擻擷斷曜朦檳檬櫃檻檸櫂檮檯歟歸殯瀉瀋濾瀆濺瀑瀏燻燼燾燸獷獵璧璿甕癖癘����������������������������������癒瞽瞿瞻瞼礎禮穡穢穠竄竅簫簧簪簞簣簡糧織繕繞繚繡繒繙罈翹翻職聶臍臏舊藏薩藍藐藉薰薺薹薦蟯蟬蟲蟠覆覲觴謨謹謬謫豐贅蹙蹣蹦蹤蹟蹕軀轉轍邇邃邈醫醬釐鎔鎊鎖鎢鎳鎮鎬鎰鎘鎚鎗闔闖闐闕離雜雙雛雞霤鞣鞦�\".split(\"\");for(a=0;a!=t[194].length;++a)if(t[194][a].charCodeAt(0)!==65533){r[t[194][a]]=49664+a;e[49664+a]=t[194][a]}t[195]=\"����������������������������������������������������������������鞭韹額顏題顎顓颺餾餿餽餮馥騎髁鬃鬆魏魎魍鯊鯉鯽鯈鯀鵑鵝鵠黠鼕鼬儳嚥壞壟壢寵龐廬懲懷懶懵攀攏曠曝櫥櫝櫚櫓瀛瀟瀨瀚瀝瀕瀘爆爍牘犢獸����������������������������������獺璽瓊瓣疇疆癟癡矇礙禱穫穩簾簿簸簽簷籀繫繭繹繩繪羅繳羶羹羸臘藩藝藪藕藤藥藷蟻蠅蠍蟹蟾襠襟襖襞譁譜識證譚譎譏譆譙贈贊蹼蹲躇蹶蹬蹺蹴轔轎辭邊邋醱醮鏡鏑鏟鏃鏈鏜鏝鏖鏢鏍鏘鏤鏗鏨關隴難霪霧靡韜韻類�\".split(\"\");for(a=0;a!=t[195].length;++a)if(t[195][a].charCodeAt(0)!==65533){r[t[195][a]]=49920+a;e[49920+a]=t[195][a]}t[196]=\"����������������������������������������������������������������願顛颼饅饉騖騙鬍鯨鯧鯖鯛鶉鵡鵲鵪鵬麒麗麓麴勸嚨嚷嚶嚴嚼壤孀孃孽寶巉懸懺攘攔攙曦朧櫬瀾瀰瀲爐獻瓏癢癥礦礪礬礫竇競籌籃籍糯糰辮繽繼����������������������������������纂罌耀臚艦藻藹蘑藺蘆蘋蘇蘊蠔蠕襤覺觸議譬警譯譟譫贏贍躉躁躅躂醴釋鐘鐃鏽闡霰飄饒饑馨騫騰騷騵鰓鰍鹹麵黨鼯齟齣齡儷儸囁囀囂夔屬巍懼懾攝攜斕曩櫻欄櫺殲灌爛犧瓖瓔癩矓籐纏續羼蘗蘭蘚蠣蠢蠡蠟襪襬覽譴�\".split(\"\");for(a=0;a!=t[196].length;++a)if(t[196][a].charCodeAt(0)!==65533){r[t[196][a]]=50176+a;e[50176+a]=t[196][a]}t[197]=\"����������������������������������������������������������������護譽贓躊躍躋轟辯醺鐮鐳鐵鐺鐸鐲鐫闢霸霹露響顧顥饗驅驃驀騾髏魔魑鰭鰥鶯鶴鷂鶸麝黯鼙齜齦齧儼儻囈囊囉孿巔巒彎懿攤權歡灑灘玀瓤疊癮癬����������������������������������禳籠籟聾聽臟襲襯觼讀贖贗躑躓轡酈鑄鑑鑒霽霾韃韁顫饕驕驍髒鬚鱉鰱鰾鰻鷓鷗鼴齬齪龔囌巖戀攣攫攪曬欐瓚竊籤籣籥纓纖纔臢蘸蘿蠱變邐邏鑣鑠鑤靨顯饜驚驛驗髓體髑鱔鱗鱖鷥麟黴囑壩攬灞癱癲矗罐羈蠶蠹衢讓讒�\".split(\"\");for(a=0;a!=t[197].length;++a)if(t[197][a].charCodeAt(0)!==65533){r[t[197][a]]=50432+a;e[50432+a]=t[197][a]}t[198]=\"����������������������������������������������������������������讖艷贛釀鑪靂靈靄韆顰驟鬢魘鱟鷹鷺鹼鹽鼇齷齲廳欖灣籬籮蠻觀躡釁鑲鑰顱饞髖鬣黌灤矚讚鑷韉驢驥纜讜躪釅鑽鑾鑼鱷鱸黷豔鑿鸚爨驪鬱鸛鸞籲���������������������������������������������������������������������������������������������������������������������������������\".split(\"\");for(a=0;a!=t[198].length;++a)if(t[198][a].charCodeAt(0)!==65533){r[t[198][a]]=50688+a;e[50688+a]=t[198][a]}t[201]=\"����������������������������������������������������������������乂乜凵匚厂万丌乇亍囗兀屮彳丏冇与丮亓仂仉仈冘勼卬厹圠夃夬尐巿旡殳毌气爿丱丼仨仜仩仡仝仚刌匜卌圢圣夗夯宁宄尒尻屴屳帄庀庂忉戉扐氕����������������������������������氶汃氿氻犮犰玊禸肊阞伎优伬仵伔仱伀价伈伝伂伅伢伓伄仴伒冱刓刉刐劦匢匟卍厊吇囡囟圮圪圴夼妀奼妅奻奾奷奿孖尕尥屼屺屻屾巟幵庄异弚彴忕忔忏扜扞扤扡扦扢扙扠扚扥旯旮朾朹朸朻机朿朼朳氘汆汒汜汏汊汔汋�\".split(\"\");for(a=0;a!=t[201].length;++a)if(t[201][a].charCodeAt(0)!==65533){r[t[201][a]]=51456+a;e[51456+a]=t[201][a]}t[202]=\"����������������������������������������������������������������汌灱牞犴犵玎甪癿穵网艸艼芀艽艿虍襾邙邗邘邛邔阢阤阠阣佖伻佢佉体佤伾佧佒佟佁佘伭伳伿佡冏冹刜刞刡劭劮匉卣卲厎厏吰吷吪呔呅吙吜吥吘����������������������������������吽呏呁吨吤呇囮囧囥坁坅坌坉坋坒夆奀妦妘妠妗妎妢妐妏妧妡宎宒尨尪岍岏岈岋岉岒岊岆岓岕巠帊帎庋庉庌庈庍弅弝彸彶忒忑忐忭忨忮忳忡忤忣忺忯忷忻怀忴戺抃抌抎抏抔抇扱扻扺扰抁抈扷扽扲扴攷旰旴旳旲旵杅杇�\".split(\"\");for(a=0;a!=t[202].length;++a)if(t[202][a].charCodeAt(0)!==65533){r[t[202][a]]=51712+a;e[51712+a]=t[202][a]}t[203]=\"����������������������������������������������������������������杙杕杌杈杝杍杚杋毐氙氚汸汧汫沄沋沏汱汯汩沚汭沇沕沜汦汳汥汻沎灴灺牣犿犽狃狆狁犺狅玕玗玓玔玒町甹疔疕皁礽耴肕肙肐肒肜芐芏芅芎芑芓����������������������������������芊芃芄豸迉辿邟邡邥邞邧邠阰阨阯阭丳侘佼侅佽侀侇佶佴侉侄佷佌侗佪侚佹侁佸侐侜侔侞侒侂侕佫佮冞冼冾刵刲刳剆刱劼匊匋匼厒厔咇呿咁咑咂咈呫呺呾呥呬呴呦咍呯呡呠咘呣呧呤囷囹坯坲坭坫坱坰坶垀坵坻坳坴坢�\".split(\"\");for(a=0;a!=t[203].length;++a)if(t[203][a].charCodeAt(0)!==65533){r[t[203][a]]=51968+a;e[51968+a]=t[203][a]}t[204]=\"����������������������������������������������������������������坨坽夌奅妵妺姏姎妲姌姁妶妼姃姖妱妽姀姈妴姇孢孥宓宕屄屇岮岤岠岵岯岨岬岟岣岭岢岪岧岝岥岶岰岦帗帔帙弨弢弣弤彔徂彾彽忞忥怭怦怙怲怋����������������������������������怴怊怗怳怚怞怬怢怍怐怮怓怑怌怉怜戔戽抭抴拑抾抪抶拊抮抳抯抻抩抰抸攽斨斻昉旼昄昒昈旻昃昋昍昅旽昑昐曶朊枅杬枎枒杶杻枘枆构杴枍枌杺枟枑枙枃杽极杸杹枔欥殀歾毞氝沓泬泫泮泙沶泔沭泧沷泐泂沺泃泆泭泲�\".split(\"\");for(a=0;a!=t[204].length;++a)if(t[204][a].charCodeAt(0)!==65533){r[t[204][a]]=52224+a;e[52224+a]=t[204][a]}t[205]=\"����������������������������������������������������������������泒泝沴沊沝沀泞泀洰泍泇沰泹泏泩泑炔炘炅炓炆炄炑炖炂炚炃牪狖狋狘狉狜狒狔狚狌狑玤玡玭玦玢玠玬玝瓝瓨甿畀甾疌疘皯盳盱盰盵矸矼矹矻矺����������������������������������矷祂礿秅穸穻竻籵糽耵肏肮肣肸肵肭舠芠苀芫芚芘芛芵芧芮芼芞芺芴芨芡芩苂芤苃芶芢虰虯虭虮豖迒迋迓迍迖迕迗邲邴邯邳邰阹阽阼阺陃俍俅俓侲俉俋俁俔俜俙侻侳俛俇俖侺俀侹俬剄剉勀勂匽卼厗厖厙厘咺咡咭咥哏�\".split(\"\");for(a=0;a!=t[205].length;++a)if(t[205][a].charCodeAt(0)!==65533){r[t[205][a]]=52480+a;e[52480+a]=t[205][a]}t[206]=\"����������������������������������������������������������������哃茍咷咮哖咶哅哆咠呰咼咢咾呲哞咰垵垞垟垤垌垗垝垛垔垘垏垙垥垚垕壴复奓姡姞姮娀姱姝姺姽姼姶姤姲姷姛姩姳姵姠姾姴姭宨屌峐峘峌峗峋峛����������������������������������峞峚峉峇峊峖峓峔峏峈峆峎峟峸巹帡帢帣帠帤庰庤庢庛庣庥弇弮彖徆怷怹恔恲恞恅恓恇恉恛恌恀恂恟怤恄恘恦恮扂扃拏挍挋拵挎挃拫拹挏挌拸拶挀挓挔拺挕拻拰敁敃斪斿昶昡昲昵昜昦昢昳昫昺昝昴昹昮朏朐柁柲柈枺�\".split(\"\");for(a=0;a!=t[206].length;++a)if(t[206][a].charCodeAt(0)!==65533){r[t[206][a]]=52736+a;e[52736+a]=t[206][a]}t[207]=\"����������������������������������������������������������������柜枻柸柘柀枷柅柫柤柟枵柍枳柷柶柮柣柂枹柎柧柰枲柼柆柭柌枮柦柛柺柉柊柃柪柋欨殂殄殶毖毘毠氠氡洨洴洭洟洼洿洒洊泚洳洄洙洺洚洑洀洝浂����������������������������������洁洘洷洃洏浀洇洠洬洈洢洉洐炷炟炾炱炰炡炴炵炩牁牉牊牬牰牳牮狊狤狨狫狟狪狦狣玅珌珂珈珅玹玶玵玴珫玿珇玾珃珆玸珋瓬瓮甮畇畈疧疪癹盄眈眃眄眅眊盷盻盺矧矨砆砑砒砅砐砏砎砉砃砓祊祌祋祅祄秕种秏秖秎窀�\".split(\"\");for(a=0;a!=t[207].length;++a)if(t[207][a].charCodeAt(0)!==65533){r[t[207][a]]=52992+a;e[52992+a]=t[207][a]}t[208]=\"����������������������������������������������������������������穾竑笀笁籺籸籹籿粀粁紃紈紁罘羑羍羾耇耎耏耔耷胘胇胠胑胈胂胐胅胣胙胜胊胕胉胏胗胦胍臿舡芔苙苾苹茇苨茀苕茺苫苖苴苬苡苲苵茌苻苶苰苪����������������������������������苤苠苺苳苭虷虴虼虳衁衎衧衪衩觓訄訇赲迣迡迮迠郱邽邿郕郅邾郇郋郈釔釓陔陏陑陓陊陎倞倅倇倓倢倰倛俵俴倳倷倬俶俷倗倜倠倧倵倯倱倎党冔冓凊凄凅凈凎剡剚剒剞剟剕剢勍匎厞唦哢唗唒哧哳哤唚哿唄唈哫唑唅哱�\".split(\"\");for(a=0;a!=t[208].length;++a)if(t[208][a].charCodeAt(0)!==65533){r[t[208][a]]=53248+a;e[53248+a]=t[208][a]}t[209]=\"����������������������������������������������������������������唊哻哷哸哠唎唃唋圁圂埌堲埕埒垺埆垽垼垸垶垿埇埐垹埁夎奊娙娖娭娮娕娏娗娊娞娳孬宧宭宬尃屖屔峬峿峮峱峷崀峹帩帨庨庮庪庬弳弰彧恝恚恧����������������������������������恁悢悈悀悒悁悝悃悕悛悗悇悜悎戙扆拲挐捖挬捄捅挶捃揤挹捋捊挼挩捁挴捘捔捙挭捇挳捚捑挸捗捀捈敊敆旆旃旄旂晊晟晇晑朒朓栟栚桉栲栳栻桋桏栖栱栜栵栫栭栯桎桄栴栝栒栔栦栨栮桍栺栥栠欬欯欭欱欴歭肂殈毦毤�\".split(\"\");for(a=0;a!=t[209].length;++a)if(t[209][a].charCodeAt(0)!==65533){r[t[209][a]]=53504+a;e[53504+a]=t[209][a]}t[210]=\"����������������������������������������������������������������毨毣毢毧氥浺浣浤浶洍浡涒浘浢浭浯涑涍淯浿涆浞浧浠涗浰浼浟涂涘洯浨涋浾涀涄洖涃浻浽浵涐烜烓烑烝烋缹烢烗烒烞烠烔烍烅烆烇烚烎烡牂牸����������������������������������牷牶猀狺狴狾狶狳狻猁珓珙珥珖玼珧珣珩珜珒珛珔珝珚珗珘珨瓞瓟瓴瓵甡畛畟疰痁疻痄痀疿疶疺皊盉眝眛眐眓眒眣眑眕眙眚眢眧砣砬砢砵砯砨砮砫砡砩砳砪砱祔祛祏祜祓祒祑秫秬秠秮秭秪秜秞秝窆窉窅窋窌窊窇竘笐�\".split(\"\");for(a=0;a!=t[210].length;++a)if(t[210][a].charCodeAt(0)!==65533){r[t[210][a]]=53760+a;e[53760+a]=t[210][a]}t[211]=\"����������������������������������������������������������������笄笓笅笏笈笊笎笉笒粄粑粊粌粈粍粅紞紝紑紎紘紖紓紟紒紏紌罜罡罞罠罝罛羖羒翃翂翀耖耾耹胺胲胹胵脁胻脀舁舯舥茳茭荄茙荑茥荖茿荁茦茜茢����������������������������������荂荎茛茪茈茼荍茖茤茠茷茯茩荇荅荌荓茞茬荋茧荈虓虒蚢蚨蚖蚍蚑蚞蚇蚗蚆蚋蚚蚅蚥蚙蚡蚧蚕蚘蚎蚝蚐蚔衃衄衭衵衶衲袀衱衿衯袃衾衴衼訒豇豗豻貤貣赶赸趵趷趶軑軓迾迵适迿迻逄迼迶郖郠郙郚郣郟郥郘郛郗郜郤酐�\".split(\"\");for(a=0;a!=t[211].length;++a)if(t[211][a].charCodeAt(0)!==65533){r[t[211][a]]=54016+a;e[54016+a]=t[211][a]}t[212]=\"����������������������������������������������������������������酎酏釕釢釚陜陟隼飣髟鬯乿偰偪偡偞偠偓偋偝偲偈偍偁偛偊偢倕偅偟偩偫偣偤偆偀偮偳偗偑凐剫剭剬剮勖勓匭厜啵啶唼啍啐唴唪啑啢唶唵唰啒啅����������������������������������唌唲啥啎唹啈唭唻啀啋圊圇埻堔埢埶埜埴堀埭埽堈埸堋埳埏堇埮埣埲埥埬埡堎埼堐埧堁堌埱埩埰堍堄奜婠婘婕婧婞娸娵婭婐婟婥婬婓婤婗婃婝婒婄婛婈媎娾婍娹婌婰婩婇婑婖婂婜孲孮寁寀屙崞崋崝崚崠崌崨崍崦崥崏�\".split(\"\");for(a=0;a!=t[212].length;++a)if(t[212][a].charCodeAt(0)!==65533){r[t[212][a]]=54272+a;e[54272+a]=t[212][a]}t[213]=\"����������������������������������������������������������������崰崒崣崟崮帾帴庱庴庹庲庳弶弸徛徖徟悊悐悆悾悰悺惓惔惏惤惙惝惈悱惛悷惊悿惃惍惀挲捥掊掂捽掽掞掭掝掗掫掎捯掇掐据掯捵掜捭掮捼掤挻掟����������������������������������捸掅掁掑掍捰敓旍晥晡晛晙晜晢朘桹梇梐梜桭桮梮梫楖桯梣梬梩桵桴梲梏桷梒桼桫桲梪梀桱桾梛梖梋梠梉梤桸桻梑梌梊桽欶欳欷欸殑殏殍殎殌氪淀涫涴涳湴涬淩淢涷淶淔渀淈淠淟淖涾淥淜淝淛淴淊涽淭淰涺淕淂淏淉�\".split(\"\");for(a=0;a!=t[213].length;++a)if(t[213][a].charCodeAt(0)!==65533){r[t[213][a]]=54528+a;e[54528+a]=t[213][a]}t[214]=\"����������������������������������������������������������������淐淲淓淽淗淍淣涻烺焍烷焗烴焌烰焄烳焐烼烿焆焓焀烸烶焋焂焎牾牻牼牿猝猗猇猑猘猊猈狿猏猞玈珶珸珵琄琁珽琇琀珺珼珿琌琋珴琈畤畣痎痒痏����������������������������������痋痌痑痐皏皉盓眹眯眭眱眲眴眳眽眥眻眵硈硒硉硍硊硌砦硅硐祤祧祩祪祣祫祡离秺秸秶秷窏窔窐笵筇笴笥笰笢笤笳笘笪笝笱笫笭笯笲笸笚笣粔粘粖粣紵紽紸紶紺絅紬紩絁絇紾紿絊紻紨罣羕羜羝羛翊翋翍翐翑翇翏翉耟�\".split(\"\");for(a=0;a!=t[214].length;++a)if(t[214][a].charCodeAt(0)!==65533){r[t[214][a]]=54784+a;e[54784+a]=t[214][a]}t[215]=\"����������������������������������������������������������������耞耛聇聃聈脘脥脙脛脭脟脬脞脡脕脧脝脢舑舸舳舺舴舲艴莐莣莨莍荺荳莤荴莏莁莕莙荵莔莩荽莃莌莝莛莪莋荾莥莯莈莗莰荿莦莇莮荶莚虙虖蚿蚷����������������������������������蛂蛁蛅蚺蚰蛈蚹蚳蚸蛌蚴蚻蚼蛃蚽蚾衒袉袕袨袢袪袚袑袡袟袘袧袙袛袗袤袬袌袓袎覂觖觙觕訰訧訬訞谹谻豜豝豽貥赽赻赹趼跂趹趿跁軘軞軝軜軗軠軡逤逋逑逜逌逡郯郪郰郴郲郳郔郫郬郩酖酘酚酓酕釬釴釱釳釸釤釹釪�\".split(\"\");for(a=0;a!=t[215].length;++a)if(t[215][a].charCodeAt(0)!==65533){r[t[215][a]]=55040+a;e[55040+a]=t[215][a]}t[216]=\"����������������������������������������������������������������釫釷釨釮镺閆閈陼陭陫陱陯隿靪頄飥馗傛傕傔傞傋傣傃傌傎傝偨傜傒傂傇兟凔匒匑厤厧喑喨喥喭啷噅喢喓喈喏喵喁喣喒喤啽喌喦啿喕喡喎圌堩堷����������������������������������堙堞堧堣堨埵塈堥堜堛堳堿堶堮堹堸堭堬堻奡媯媔媟婺媢媞婸媦婼媥媬媕媮娷媄媊媗媃媋媩婻婽媌媜媏媓媝寪寍寋寔寑寊寎尌尰崷嵃嵫嵁嵋崿崵嵑嵎嵕崳崺嵒崽崱嵙嵂崹嵉崸崼崲崶嵀嵅幄幁彘徦徥徫惉悹惌惢惎惄愔�\".split(\"\");for(a=0;a!=t[216].length;++a)if(t[216][a].charCodeAt(0)!==65533){r[t[216][a]]=55296+a;e[55296+a]=t[216][a]}t[217]=\"����������������������������������������������������������������惲愊愖愅惵愓惸惼惾惁愃愘愝愐惿愄愋扊掔掱掰揎揥揨揯揃撝揳揊揠揶揕揲揵摡揟掾揝揜揄揘揓揂揇揌揋揈揰揗揙攲敧敪敤敜敨敥斌斝斞斮旐旒����������������������������������晼晬晻暀晱晹晪晲朁椌棓椄棜椪棬棪棱椏棖棷棫棤棶椓椐棳棡椇棌椈楰梴椑棯棆椔棸棐棽棼棨椋椊椗棎棈棝棞棦棴棑椆棔棩椕椥棇欹欻欿欼殔殗殙殕殽毰毲毳氰淼湆湇渟湉溈渼渽湅湢渫渿湁湝湳渜渳湋湀湑渻渃渮湞�\".split(\"\");for(a=0;a!=t[217].length;++a)if(t[217][a].charCodeAt(0)!==65533){r[t[217][a]]=55552+a;e[55552+a]=t[217][a]}t[218]=\"����������������������������������������������������������������湨湜湡渱渨湠湱湫渹渢渰湓湥渧湸湤湷湕湹湒湦渵渶湚焠焞焯烻焮焱焣焥焢焲焟焨焺焛牋牚犈犉犆犅犋猒猋猰猢猱猳猧猲猭猦猣猵猌琮琬琰琫琖����������������������������������琚琡琭琱琤琣琝琩琠琲瓻甯畯畬痧痚痡痦痝痟痤痗皕皒盚睆睇睄睍睅睊睎睋睌矞矬硠硤硥硜硭硱硪确硰硩硨硞硢祴祳祲祰稂稊稃稌稄窙竦竤筊笻筄筈筌筎筀筘筅粢粞粨粡絘絯絣絓絖絧絪絏絭絜絫絒絔絩絑絟絎缾缿罥�\".split(\"\");for(a=0;a!=t[218].length;++a)if(t[218][a].charCodeAt(0)!==65533){r[t[218][a]]=55808+a;e[55808+a]=t[218][a]}t[219]=\"����������������������������������������������������������������罦羢羠羡翗聑聏聐胾胔腃腊腒腏腇脽腍脺臦臮臷臸臹舄舼舽舿艵茻菏菹萣菀菨萒菧菤菼菶萐菆菈菫菣莿萁菝菥菘菿菡菋菎菖菵菉萉萏菞萑萆菂菳����������������������������������菕菺菇菑菪萓菃菬菮菄菻菗菢萛菛菾蛘蛢蛦蛓蛣蛚蛪蛝蛫蛜蛬蛩蛗蛨蛑衈衖衕袺裗袹袸裀袾袶袼袷袽袲褁裉覕覘覗觝觚觛詎詍訹詙詀詗詘詄詅詒詈詑詊詌詏豟貁貀貺貾貰貹貵趄趀趉跘跓跍跇跖跜跏跕跙跈跗跅軯軷軺�\".split(\"\");for(a=0;a!=t[219].length;++a)if(t[219][a].charCodeAt(0)!==65533){r[t[219][a]]=56064+a;e[56064+a]=t[219][a]}t[220]=\"����������������������������������������������������������������軹軦軮軥軵軧軨軶軫軱軬軴軩逭逴逯鄆鄬鄄郿郼鄈郹郻鄁鄀鄇鄅鄃酡酤酟酢酠鈁鈊鈥鈃鈚鈦鈏鈌鈀鈒釿釽鈆鈄鈧鈂鈜鈤鈙鈗鈅鈖镻閍閌閐隇陾隈����������������������������������隉隃隀雂雈雃雱雰靬靰靮頇颩飫鳦黹亃亄亶傽傿僆傮僄僊傴僈僂傰僁傺傱僋僉傶傸凗剺剸剻剼嗃嗛嗌嗐嗋嗊嗝嗀嗔嗄嗩喿嗒喍嗏嗕嗢嗖嗈嗲嗍嗙嗂圔塓塨塤塏塍塉塯塕塎塝塙塥塛堽塣塱壼嫇嫄嫋媺媸媱媵媰媿嫈媻嫆�\".split(\"\");for(a=0;a!=t[220].length;++a)if(t[220][a].charCodeAt(0)!==65533){r[t[220][a]]=56320+a;e[56320+a]=t[220][a]}t[221]=\"����������������������������������������������������������������媷嫀嫊媴媶嫍媹媐寖寘寙尟尳嵱嵣嵊嵥嵲嵬嵞嵨嵧嵢巰幏幎幊幍幋廅廌廆廋廇彀徯徭惷慉慊愫慅愶愲愮慆愯慏愩慀戠酨戣戥戤揅揱揫搐搒搉搠搤����������������������������������搳摃搟搕搘搹搷搢搣搌搦搰搨摁搵搯搊搚摀搥搧搋揧搛搮搡搎敯斒旓暆暌暕暐暋暊暙暔晸朠楦楟椸楎楢楱椿楅楪椹楂楗楙楺楈楉椵楬椳椽楥棰楸椴楩楀楯楄楶楘楁楴楌椻楋椷楜楏楑椲楒椯楻椼歆歅歃歂歈歁殛嗀毻毼�\".split(\"\");for(a=0;a!=t[221].length;++a)if(t[221][a].charCodeAt(0)!==65533){r[t[221][a]]=56576+a;e[56576+a]=t[221][a]}t[222]=\"����������������������������������������������������������������毹毷毸溛滖滈溏滀溟溓溔溠溱溹滆滒溽滁溞滉溷溰滍溦滏溲溾滃滜滘溙溒溎溍溤溡溿溳滐滊溗溮溣煇煔煒煣煠煁煝煢煲煸煪煡煂煘煃煋煰煟煐煓����������������������������������煄煍煚牏犍犌犑犐犎猼獂猻猺獀獊獉瑄瑊瑋瑒瑑瑗瑀瑏瑐瑎瑂瑆瑍瑔瓡瓿瓾瓽甝畹畷榃痯瘏瘃痷痾痼痹痸瘐痻痶痭痵痽皙皵盝睕睟睠睒睖睚睩睧睔睙睭矠碇碚碔碏碄碕碅碆碡碃硹碙碀碖硻祼禂祽祹稑稘稙稒稗稕稢稓�\".split(\"\");for(a=0;a!=t[222].length;++a)if(t[222][a].charCodeAt(0)!==65533){r[t[222][a]]=56832+a;e[56832+a]=t[222][a]}t[223]=\"����������������������������������������������������������������稛稐窣窢窞竫筦筤筭筴筩筲筥筳筱筰筡筸筶筣粲粴粯綈綆綀綍絿綅絺綎絻綃絼綌綔綄絽綒罭罫罧罨罬羦羥羧翛翜耡腤腠腷腜腩腛腢腲朡腞腶腧腯����������������������������������腄腡舝艉艄艀艂艅蓱萿葖葶葹蒏蒍葥葑葀蒆葧萰葍葽葚葙葴葳葝蔇葞萷萺萴葺葃葸萲葅萩菙葋萯葂萭葟葰萹葎葌葒葯蓅蒎萻葇萶萳葨葾葄萫葠葔葮葐蜋蜄蛷蜌蛺蛖蛵蝍蛸蜎蜉蜁蛶蜍蜅裖裋裍裎裞裛裚裌裐覅覛觟觥觤�\".split(\"\");for(a=0;a!=t[223].length;++a)if(t[223][a].charCodeAt(0)!==65533){r[t[223][a]]=57088+a;e[57088+a]=t[223][a]}t[224]=\"����������������������������������������������������������������觡觠觢觜触詶誆詿詡訿詷誂誄詵誃誁詴詺谼豋豊豥豤豦貆貄貅賌赨赩趑趌趎趏趍趓趔趐趒跰跠跬跱跮跐跩跣跢跧跲跫跴輆軿輁輀輅輇輈輂輋遒逿����������������������������������遄遉逽鄐鄍鄏鄑鄖鄔鄋鄎酮酯鉈鉒鈰鈺鉦鈳鉥鉞銃鈮鉊鉆鉭鉬鉏鉠鉧鉯鈶鉡鉰鈱鉔鉣鉐鉲鉎鉓鉌鉖鈲閟閜閞閛隒隓隑隗雎雺雽雸雵靳靷靸靲頏頍頎颬飶飹馯馲馰馵骭骫魛鳪鳭鳧麀黽僦僔僗僨僳僛僪僝僤僓僬僰僯僣僠�\".split(\"\");for(a=0;a!=t[224].length;++a)if(t[224][a].charCodeAt(0)!==65533){r[t[224][a]]=57344+a;e[57344+a]=t[224][a]}t[225]=\"����������������������������������������������������������������凘劀劁勩勫匰厬嘧嘕嘌嘒嗼嘏嘜嘁嘓嘂嗺嘝嘄嗿嗹墉塼墐墘墆墁塿塴墋塺墇墑墎塶墂墈塻墔墏壾奫嫜嫮嫥嫕嫪嫚嫭嫫嫳嫢嫠嫛嫬嫞嫝嫙嫨嫟孷寠����������������������������������寣屣嶂嶀嵽嶆嵺嶁嵷嶊嶉嶈嵾嵼嶍嵹嵿幘幙幓廘廑廗廎廜廕廙廒廔彄彃彯徶愬愨慁慞慱慳慒慓慲慬憀慴慔慺慛慥愻慪慡慖戩戧戫搫摍摛摝摴摶摲摳摽摵摦撦摎撂摞摜摋摓摠摐摿搿摬摫摙摥摷敳斠暡暠暟朅朄朢榱榶槉�\".split(\"\");for(a=0;a!=t[225].length;++a)if(t[225][a].charCodeAt(0)!==65533){r[t[225][a]]=57600+a;e[57600+a]=t[225][a]}t[226]=\"����������������������������������������������������������������榠槎榖榰榬榼榑榙榎榧榍榩榾榯榿槄榽榤槔榹槊榚槏榳榓榪榡榞槙榗榐槂榵榥槆歊歍歋殞殟殠毃毄毾滎滵滱漃漥滸漷滻漮漉潎漙漚漧漘漻漒滭漊����������������������������������漶潳滹滮漭潀漰漼漵滫漇漎潃漅滽滶漹漜滼漺漟漍漞漈漡熇熐熉熀熅熂熏煻熆熁熗牄牓犗犕犓獃獍獑獌瑢瑳瑱瑵瑲瑧瑮甀甂甃畽疐瘖瘈瘌瘕瘑瘊瘔皸瞁睼瞅瞂睮瞀睯睾瞃碲碪碴碭碨硾碫碞碥碠碬碢碤禘禊禋禖禕禔禓�\".split(\"\");for(a=0;a!=t[226].length;++a)if(t[226][a].charCodeAt(0)!==65533){r[t[226][a]]=57856+a;e[57856+a]=t[226][a]}t[227]=\"����������������������������������������������������������������禗禈禒禐稫穊稰稯稨稦窨窫窬竮箈箜箊箑箐箖箍箌箛箎箅箘劄箙箤箂粻粿粼粺綧綷緂綣綪緁緀緅綝緎緄緆緋緌綯綹綖綼綟綦綮綩綡緉罳翢翣翥翞����������������������������������耤聝聜膉膆膃膇膍膌膋舕蒗蒤蒡蒟蒺蓎蓂蒬蒮蒫蒹蒴蓁蓍蒪蒚蒱蓐蒝蒧蒻蒢蒔蓇蓌蒛蒩蒯蒨蓖蒘蒶蓏蒠蓗蓔蓒蓛蒰蒑虡蜳蜣蜨蝫蝀蜮蜞蜡蜙蜛蝃蜬蝁蜾蝆蜠蜲蜪蜭蜼蜒蜺蜱蜵蝂蜦蜧蜸蜤蜚蜰蜑裷裧裱裲裺裾裮裼裶裻�\".split(\"\");for(a=0;a!=t[227].length;++a)if(t[227][a].charCodeAt(0)!==65533){r[t[227][a]]=58112+a;e[58112+a]=t[227][a]}t[228]=\"����������������������������������������������������������������裰裬裫覝覡覟覞觩觫觨誫誙誋誒誏誖谽豨豩賕賏賗趖踉踂跿踍跽踊踃踇踆踅跾踀踄輐輑輎輍鄣鄜鄠鄢鄟鄝鄚鄤鄡鄛酺酲酹酳銥銤鉶銛鉺銠銔銪銍����������������������������������銦銚銫鉹銗鉿銣鋮銎銂銕銢鉽銈銡銊銆銌銙銧鉾銇銩銝銋鈭隞隡雿靘靽靺靾鞃鞀鞂靻鞄鞁靿韎韍頖颭颮餂餀餇馝馜駃馹馻馺駂馽駇骱髣髧鬾鬿魠魡魟鳱鳲鳵麧僿儃儰僸儆儇僶僾儋儌僽儊劋劌勱勯噈噂噌嘵噁噊噉噆噘�\".split(\"\");for(a=0;a!=t[228].length;++a)if(t[228][a].charCodeAt(0)!==65533){r[t[228][a]]=58368+a;e[58368+a]=t[228][a]}t[229]=\"����������������������������������������������������������������噚噀嘳嘽嘬嘾嘸嘪嘺圚墫墝墱墠墣墯墬墥墡壿嫿嫴嫽嫷嫶嬃嫸嬂嫹嬁嬇嬅嬏屧嶙嶗嶟嶒嶢嶓嶕嶠嶜嶡嶚嶞幩幝幠幜緳廛廞廡彉徲憋憃慹憱憰憢憉����������������������������������憛憓憯憭憟憒憪憡憍慦憳戭摮摰撖撠撅撗撜撏撋撊撌撣撟摨撱撘敶敺敹敻斲斳暵暰暩暲暷暪暯樀樆樗槥槸樕槱槤樠槿槬槢樛樝槾樧槲槮樔槷槧橀樈槦槻樍槼槫樉樄樘樥樏槶樦樇槴樖歑殥殣殢殦氁氀毿氂潁漦潾澇濆澒�\".split(\"\");\nfor(a=0;a!=t[229].length;++a)if(t[229][a].charCodeAt(0)!==65533){r[t[229][a]]=58624+a;e[58624+a]=t[229][a]}t[230]=\"����������������������������������������������������������������澍澉澌潢潏澅潚澖潶潬澂潕潲潒潐潗澔澓潝漀潡潫潽潧澐潓澋潩潿澕潣潷潪潻熲熯熛熰熠熚熩熵熝熥熞熤熡熪熜熧熳犘犚獘獒獞獟獠獝獛獡獚獙����������������������������������獢璇璉璊璆璁瑽璅璈瑼瑹甈甇畾瘥瘞瘙瘝瘜瘣瘚瘨瘛皜皝皞皛瞍瞏瞉瞈磍碻磏磌磑磎磔磈磃磄磉禚禡禠禜禢禛歶稹窲窴窳箷篋箾箬篎箯箹篊箵糅糈糌糋緷緛緪緧緗緡縃緺緦緶緱緰緮緟罶羬羰羭翭翫翪翬翦翨聤聧膣膟�\".split(\"\");for(a=0;a!=t[230].length;++a)if(t[230][a].charCodeAt(0)!==65533){r[t[230][a]]=58880+a;e[58880+a]=t[230][a]}t[231]=\"����������������������������������������������������������������膞膕膢膙膗舖艏艓艒艐艎艑蔤蔻蔏蔀蔩蔎蔉蔍蔟蔊蔧蔜蓻蔫蓺蔈蔌蓴蔪蓲蔕蓷蓫蓳蓼蔒蓪蓩蔖蓾蔨蔝蔮蔂蓽蔞蓶蔱蔦蓧蓨蓰蓯蓹蔘蔠蔰蔋蔙蔯虢����������������������������������蝖蝣蝤蝷蟡蝳蝘蝔蝛蝒蝡蝚蝑蝞蝭蝪蝐蝎蝟蝝蝯蝬蝺蝮蝜蝥蝏蝻蝵蝢蝧蝩衚褅褌褔褋褗褘褙褆褖褑褎褉覢覤覣觭觰觬諏諆誸諓諑諔諕誻諗誾諀諅諘諃誺誽諙谾豍貏賥賟賙賨賚賝賧趠趜趡趛踠踣踥踤踮踕踛踖踑踙踦踧�\".split(\"\");for(a=0;a!=t[231].length;++a)if(t[231][a].charCodeAt(0)!==65533){r[t[231][a]]=59136+a;e[59136+a]=t[231][a]}t[232]=\"����������������������������������������������������������������踔踒踘踓踜踗踚輬輤輘輚輠輣輖輗遳遰遯遧遫鄯鄫鄩鄪鄲鄦鄮醅醆醊醁醂醄醀鋐鋃鋄鋀鋙銶鋏鋱鋟鋘鋩鋗鋝鋌鋯鋂鋨鋊鋈鋎鋦鋍鋕鋉鋠鋞鋧鋑鋓����������������������������������銵鋡鋆銴镼閬閫閮閰隤隢雓霅霈霂靚鞊鞎鞈韐韏頞頝頦頩頨頠頛頧颲餈飺餑餔餖餗餕駜駍駏駓駔駎駉駖駘駋駗駌骳髬髫髳髲髱魆魃魧魴魱魦魶魵魰魨魤魬鳼鳺鳽鳿鳷鴇鴀鳹鳻鴈鴅鴄麃黓鼏鼐儜儓儗儚儑凞匴叡噰噠噮�\".split(\"\");for(a=0;a!=t[232].length;++a)if(t[232][a].charCodeAt(0)!==65533){r[t[232][a]]=59392+a;e[59392+a]=t[232][a]}t[233]=\"����������������������������������������������������������������噳噦噣噭噲噞噷圜圛壈墽壉墿墺壂墼壆嬗嬙嬛嬡嬔嬓嬐嬖嬨嬚嬠嬞寯嶬嶱嶩嶧嶵嶰嶮嶪嶨嶲嶭嶯嶴幧幨幦幯廩廧廦廨廥彋徼憝憨憖懅憴懆懁懌憺����������������������������������憿憸憌擗擖擐擏擉撽撉擃擛擳擙攳敿敼斢曈暾曀曊曋曏暽暻暺曌朣樴橦橉橧樲橨樾橝橭橶橛橑樨橚樻樿橁橪橤橐橏橔橯橩橠樼橞橖橕橍橎橆歕歔歖殧殪殫毈毇氄氃氆澭濋澣濇澼濎濈潞濄澽澞濊澨瀄澥澮澺澬澪濏澿澸�\".split(\"\");for(a=0;a!=t[233].length;++a)if(t[233][a].charCodeAt(0)!==65533){r[t[233][a]]=59648+a;e[59648+a]=t[233][a]}t[234]=\"����������������������������������������������������������������澢濉澫濍澯澲澰燅燂熿熸燖燀燁燋燔燊燇燏熽燘熼燆燚燛犝犞獩獦獧獬獥獫獪瑿璚璠璔璒璕璡甋疀瘯瘭瘱瘽瘳瘼瘵瘲瘰皻盦瞚瞝瞡瞜瞛瞢瞣瞕瞙����������������������������������瞗磝磩磥磪磞磣磛磡磢磭磟磠禤穄穈穇窶窸窵窱窷篞篣篧篝篕篥篚篨篹篔篪篢篜篫篘篟糒糔糗糐糑縒縡縗縌縟縠縓縎縜縕縚縢縋縏縖縍縔縥縤罃罻罼罺羱翯耪耩聬膱膦膮膹膵膫膰膬膴膲膷膧臲艕艖艗蕖蕅蕫蕍蕓蕡蕘�\".split(\"\");for(a=0;a!=t[234].length;++a)if(t[234][a].charCodeAt(0)!==65533){r[t[234][a]]=59904+a;e[59904+a]=t[234][a]}t[235]=\"����������������������������������������������������������������蕀蕆蕤蕁蕢蕄蕑蕇蕣蔾蕛蕱蕎蕮蕵蕕蕧蕠薌蕦蕝蕔蕥蕬虣虥虤螛螏螗螓螒螈螁螖螘蝹螇螣螅螐螑螝螄螔螜螚螉褞褦褰褭褮褧褱褢褩褣褯褬褟觱諠����������������������������������諢諲諴諵諝謔諤諟諰諈諞諡諨諿諯諻貑貒貐賵賮賱賰賳赬赮趥趧踳踾踸蹀蹅踶踼踽蹁踰踿躽輶輮輵輲輹輷輴遶遹遻邆郺鄳鄵鄶醓醐醑醍醏錧錞錈錟錆錏鍺錸錼錛錣錒錁鍆錭錎錍鋋錝鋺錥錓鋹鋷錴錂錤鋿錩錹錵錪錔錌�\".split(\"\");for(a=0;a!=t[235].length;++a)if(t[235][a].charCodeAt(0)!==65533){r[t[235][a]]=60160+a;e[60160+a]=t[235][a]}t[236]=\"����������������������������������������������������������������錋鋾錉錀鋻錖閼闍閾閹閺閶閿閵閽隩雔霋霒霐鞙鞗鞔韰韸頵頯頲餤餟餧餩馞駮駬駥駤駰駣駪駩駧骹骿骴骻髶髺髹髷鬳鮀鮅鮇魼魾魻鮂鮓鮒鮐魺鮕����������������������������������魽鮈鴥鴗鴠鴞鴔鴩鴝鴘鴢鴐鴙鴟麈麆麇麮麭黕黖黺鼒鼽儦儥儢儤儠儩勴嚓嚌嚍嚆嚄嚃噾嚂噿嚁壖壔壏壒嬭嬥嬲嬣嬬嬧嬦嬯嬮孻寱寲嶷幬幪徾徻懃憵憼懧懠懥懤懨懞擯擩擣擫擤擨斁斀斶旚曒檍檖檁檥檉檟檛檡檞檇檓檎�\".split(\"\");for(a=0;a!=t[236].length;++a)if(t[236][a].charCodeAt(0)!==65533){r[t[236][a]]=60416+a;e[60416+a]=t[236][a]}t[237]=\"����������������������������������������������������������������檕檃檨檤檑橿檦檚檅檌檒歛殭氉濌澩濴濔濣濜濭濧濦濞濲濝濢濨燡燱燨燲燤燰燢獳獮獯璗璲璫璐璪璭璱璥璯甐甑甒甏疄癃癈癉癇皤盩瞵瞫瞲瞷瞶����������������������������������瞴瞱瞨矰磳磽礂磻磼磲礅磹磾礄禫禨穜穛穖穘穔穚窾竀竁簅簏篲簀篿篻簎篴簋篳簂簉簃簁篸篽簆篰篱簐簊糨縭縼繂縳顈縸縪繉繀繇縩繌縰縻縶繄縺罅罿罾罽翴翲耬膻臄臌臊臅臇膼臩艛艚艜薃薀薏薧薕薠薋薣蕻薤薚薞�\".split(\"\");for(a=0;a!=t[237].length;++a)if(t[237][a].charCodeAt(0)!==65533){r[t[237][a]]=60672+a;e[60672+a]=t[237][a]}t[238]=\"����������������������������������������������������������������蕷蕼薉薡蕺蕸蕗薎薖薆薍薙薝薁薢薂薈薅蕹蕶薘薐薟虨螾螪螭蟅螰螬螹螵螼螮蟉蟃蟂蟌螷螯蟄蟊螴螶螿螸螽蟞螲褵褳褼褾襁襒褷襂覭覯覮觲觳謞����������������������������������謘謖謑謅謋謢謏謒謕謇謍謈謆謜謓謚豏豰豲豱豯貕貔賹赯蹎蹍蹓蹐蹌蹇轃轀邅遾鄸醚醢醛醙醟醡醝醠鎡鎃鎯鍤鍖鍇鍼鍘鍜鍶鍉鍐鍑鍠鍭鎏鍌鍪鍹鍗鍕鍒鍏鍱鍷鍻鍡鍞鍣鍧鎀鍎鍙闇闀闉闃闅閷隮隰隬霠霟霘霝霙鞚鞡鞜�\".split(\"\");for(a=0;a!=t[238].length;++a)if(t[238][a].charCodeAt(0)!==65533){r[t[238][a]]=60928+a;e[60928+a]=t[238][a]}t[239]=\"����������������������������������������������������������������鞞鞝韕韔韱顁顄顊顉顅顃餥餫餬餪餳餲餯餭餱餰馘馣馡騂駺駴駷駹駸駶駻駽駾駼騃骾髾髽鬁髼魈鮚鮨鮞鮛鮦鮡鮥鮤鮆鮢鮠鮯鴳鵁鵧鴶鴮鴯鴱鴸鴰����������������������������������鵅鵂鵃鴾鴷鵀鴽翵鴭麊麉麍麰黈黚黻黿鼤鼣鼢齔龠儱儭儮嚘嚜嚗嚚嚝嚙奰嬼屩屪巀幭幮懘懟懭懮懱懪懰懫懖懩擿攄擽擸攁攃擼斔旛曚曛曘櫅檹檽櫡櫆檺檶檷櫇檴檭歞毉氋瀇瀌瀍瀁瀅瀔瀎濿瀀濻瀦濼濷瀊爁燿燹爃燽獶�\".split(\"\");for(a=0;a!=t[239].length;++a)if(t[239][a].charCodeAt(0)!==65533){r[t[239][a]]=61184+a;e[61184+a]=t[239][a]}t[240]=\"����������������������������������������������������������������璸瓀璵瓁璾璶璻瓂甔甓癜癤癙癐癓癗癚皦皽盬矂瞺磿礌礓礔礉礐礒礑禭禬穟簜簩簙簠簟簭簝簦簨簢簥簰繜繐繖繣繘繢繟繑繠繗繓羵羳翷翸聵臑臒����������������������������������臐艟艞薴藆藀藃藂薳薵薽藇藄薿藋藎藈藅薱薶藒蘤薸薷薾虩蟧蟦蟢蟛蟫蟪蟥蟟蟳蟤蟔蟜蟓蟭蟘蟣螤蟗蟙蠁蟴蟨蟝襓襋襏襌襆襐襑襉謪謧謣謳謰謵譇謯謼謾謱謥謷謦謶謮謤謻謽謺豂豵貙貘貗賾贄贂贀蹜蹢蹠蹗蹖蹞蹥蹧�\".split(\"\");for(a=0;a!=t[240].length;++a)if(t[240][a].charCodeAt(0)!==65533){r[t[240][a]]=61440+a;e[61440+a]=t[240][a]}t[241]=\"����������������������������������������������������������������蹛蹚蹡蹝蹩蹔轆轇轈轋鄨鄺鄻鄾醨醥醧醯醪鎵鎌鎒鎷鎛鎝鎉鎧鎎鎪鎞鎦鎕鎈鎙鎟鎍鎱鎑鎲鎤鎨鎴鎣鎥闒闓闑隳雗雚巂雟雘雝霣霢霥鞬鞮鞨鞫鞤鞪����������������������������������鞢鞥韗韙韖韘韺顐顑顒颸饁餼餺騏騋騉騍騄騑騊騅騇騆髀髜鬈鬄鬅鬩鬵魊魌魋鯇鯆鯃鮿鯁鮵鮸鯓鮶鯄鮹鮽鵜鵓鵏鵊鵛鵋鵙鵖鵌鵗鵒鵔鵟鵘鵚麎麌黟鼁鼀鼖鼥鼫鼪鼩鼨齌齕儴儵劖勷厴嚫嚭嚦嚧嚪嚬壚壝壛夒嬽嬾嬿巃幰�\".split(\"\");for(a=0;a!=t[241].length;++a)if(t[241][a].charCodeAt(0)!==65533){r[t[241][a]]=61696+a;e[61696+a]=t[241][a]}t[242]=\"����������������������������������������������������������������徿懻攇攐攍攉攌攎斄旞旝曞櫧櫠櫌櫑櫙櫋櫟櫜櫐櫫櫏櫍櫞歠殰氌瀙瀧瀠瀖瀫瀡瀢瀣瀩瀗瀤瀜瀪爌爊爇爂爅犥犦犤犣犡瓋瓅璷瓃甖癠矉矊矄矱礝礛����������������������������������礡礜礗礞禰穧穨簳簼簹簬簻糬糪繶繵繸繰繷繯繺繲繴繨罋罊羃羆羷翽翾聸臗臕艤艡艣藫藱藭藙藡藨藚藗藬藲藸藘藟藣藜藑藰藦藯藞藢蠀蟺蠃蟶蟷蠉蠌蠋蠆蟼蠈蟿蠊蠂襢襚襛襗襡襜襘襝襙覈覷覶觶譐譈譊譀譓譖譔譋譕�\".split(\"\");for(a=0;a!=t[242].length;++a)if(t[242][a].charCodeAt(0)!==65533){r[t[242][a]]=61952+a;e[61952+a]=t[242][a]}t[243]=\"����������������������������������������������������������������譑譂譒譗豃豷豶貚贆贇贉趬趪趭趫蹭蹸蹳蹪蹯蹻軂轒轑轏轐轓辴酀鄿醰醭鏞鏇鏏鏂鏚鏐鏹鏬鏌鏙鎩鏦鏊鏔鏮鏣鏕鏄鏎鏀鏒鏧镽闚闛雡霩霫霬霨霦����������������������������������鞳鞷鞶韝韞韟顜顙顝顗颿颽颻颾饈饇饃馦馧騚騕騥騝騤騛騢騠騧騣騞騜騔髂鬋鬊鬎鬌鬷鯪鯫鯠鯞鯤鯦鯢鯰鯔鯗鯬鯜鯙鯥鯕鯡鯚鵷鶁鶊鶄鶈鵱鶀鵸鶆鶋鶌鵽鵫鵴鵵鵰鵩鶅鵳鵻鶂鵯鵹鵿鶇鵨麔麑黀黼鼭齀齁齍齖齗齘匷嚲�\".split(\"\");for(a=0;a!=t[243].length;++a)if(t[243][a].charCodeAt(0)!==65533){r[t[243][a]]=62208+a;e[62208+a]=t[243][a]}t[244]=\"����������������������������������������������������������������嚵嚳壣孅巆巇廮廯忀忁懹攗攖攕攓旟曨曣曤櫳櫰櫪櫨櫹櫱櫮櫯瀼瀵瀯瀷瀴瀱灂瀸瀿瀺瀹灀瀻瀳灁爓爔犨獽獼璺皫皪皾盭矌矎矏矍矲礥礣礧礨礤礩����������������������������������禲穮穬穭竷籉籈籊籇籅糮繻繾纁纀羺翿聹臛臙舋艨艩蘢藿蘁藾蘛蘀藶蘄蘉蘅蘌藽蠙蠐蠑蠗蠓蠖襣襦覹觷譠譪譝譨譣譥譧譭趮躆躈躄轙轖轗轕轘轚邍酃酁醷醵醲醳鐋鐓鏻鐠鐏鐔鏾鐕鐐鐨鐙鐍鏵鐀鏷鐇鐎鐖鐒鏺鐉鏸鐊鏿�\".split(\"\");for(a=0;a!=t[244].length;++a)if(t[244][a].charCodeAt(0)!==65533){r[t[244][a]]=62464+a;e[62464+a]=t[244][a]}t[245]=\"����������������������������������������������������������������鏼鐌鏶鐑鐆闞闠闟霮霯鞹鞻韽韾顠顢顣顟飁飂饐饎饙饌饋饓騲騴騱騬騪騶騩騮騸騭髇髊髆鬐鬒鬑鰋鰈鯷鰅鰒鯸鱀鰇鰎鰆鰗鰔鰉鶟鶙鶤鶝鶒鶘鶐鶛����������������������������������鶠鶔鶜鶪鶗鶡鶚鶢鶨鶞鶣鶿鶩鶖鶦鶧麙麛麚黥黤黧黦鼰鼮齛齠齞齝齙龑儺儹劘劗囃嚽嚾孈孇巋巏廱懽攛欂櫼欃櫸欀灃灄灊灈灉灅灆爝爚爙獾甗癪矐礭礱礯籔籓糲纊纇纈纋纆纍罍羻耰臝蘘蘪蘦蘟蘣蘜蘙蘧蘮蘡蘠蘩蘞蘥�\".split(\"\");for(a=0;a!=t[245].length;++a)if(t[245][a].charCodeAt(0)!==65533){r[t[245][a]]=62720+a;e[62720+a]=t[245][a]}t[246]=\"����������������������������������������������������������������蠩蠝蠛蠠蠤蠜蠫衊襭襩襮襫觺譹譸譅譺譻贐贔趯躎躌轞轛轝酆酄酅醹鐿鐻鐶鐩鐽鐼鐰鐹鐪鐷鐬鑀鐱闥闤闣霵霺鞿韡顤飉飆飀饘饖騹騽驆驄驂驁騺����������������������������������騿髍鬕鬗鬘鬖鬺魒鰫鰝鰜鰬鰣鰨鰩鰤鰡鶷鶶鶼鷁鷇鷊鷏鶾鷅鷃鶻鶵鷎鶹鶺鶬鷈鶱鶭鷌鶳鷍鶲鹺麜黫黮黭鼛鼘鼚鼱齎齥齤龒亹囆囅囋奱孋孌巕巑廲攡攠攦攢欋欈欉氍灕灖灗灒爞爟犩獿瓘瓕瓙瓗癭皭礵禴穰穱籗籜籙籛籚�\".split(\"\");for(a=0;a!=t[246].length;++a)if(t[246][a].charCodeAt(0)!==65533){r[t[246][a]]=62976+a;e[62976+a]=t[246][a]}t[247]=\"����������������������������������������������������������������糴糱纑罏羇臞艫蘴蘵蘳蘬蘲蘶蠬蠨蠦蠪蠥襱覿覾觻譾讄讂讆讅譿贕躕躔躚躒躐躖躗轠轢酇鑌鑐鑊鑋鑏鑇鑅鑈鑉鑆霿韣顪顩飋饔饛驎驓驔驌驏驈驊����������������������������������驉驒驐髐鬙鬫鬻魖魕鱆鱈鰿鱄鰹鰳鱁鰼鰷鰴鰲鰽鰶鷛鷒鷞鷚鷋鷐鷜鷑鷟鷩鷙鷘鷖鷵鷕鷝麶黰鼵鼳鼲齂齫龕龢儽劙壨壧奲孍巘蠯彏戁戃戄攩攥斖曫欑欒欏毊灛灚爢玂玁玃癰矔籧籦纕艬蘺虀蘹蘼蘱蘻蘾蠰蠲蠮蠳襶襴襳觾�\".split(\"\");for(a=0;a!=t[247].length;++a)if(t[247][a].charCodeAt(0)!==65533){r[t[247][a]]=63232+a;e[63232+a]=t[247][a]}t[248]=\"����������������������������������������������������������������讌讎讋讈豅贙躘轤轣醼鑢鑕鑝鑗鑞韄韅頀驖驙鬞鬟鬠鱒鱘鱐鱊鱍鱋鱕鱙鱌鱎鷻鷷鷯鷣鷫鷸鷤鷶鷡鷮鷦鷲鷰鷢鷬鷴鷳鷨鷭黂黐黲黳鼆鼜鼸鼷鼶齃齏����������������������������������齱齰齮齯囓囍孎屭攭曭曮欓灟灡灝灠爣瓛瓥矕礸禷禶籪纗羉艭虃蠸蠷蠵衋讔讕躞躟躠躝醾醽釂鑫鑨鑩雥靆靃靇韇韥驞髕魙鱣鱧鱦鱢鱞鱠鸂鷾鸇鸃鸆鸅鸀鸁鸉鷿鷽鸄麠鼞齆齴齵齶囔攮斸欘欙欗欚灢爦犪矘矙礹籩籫糶纚�\".split(\"\");for(a=0;a!=t[248].length;++a)if(t[248][a].charCodeAt(0)!==65533){r[t[248][a]]=63488+a;e[63488+a]=t[248][a]}t[249]=\"����������������������������������������������������������������纘纛纙臠臡虆虇虈襹襺襼襻觿讘讙躥躤躣鑮鑭鑯鑱鑳靉顲饟鱨鱮鱭鸋鸍鸐鸏鸒鸑麡黵鼉齇齸齻齺齹圞灦籯蠼趲躦釃鑴鑸鑶鑵驠鱴鱳鱱鱵鸔鸓黶鼊����������������������������������龤灨灥糷虪蠾蠽蠿讞貜躩軉靋顳顴飌饡馫驤驦驧鬤鸕鸗齈戇欞爧虌躨钂钀钁驩驨鬮鸙爩虋讟钃鱹麷癵驫鱺鸝灩灪麤齾齉龘碁銹裏墻恒粧嫺╔╦╗╠╬╣╚╩╝╒╤╕╞╪╡╘╧╛╓╥╖╟╫╢╙╨╜║═╭╮╰╯▓�\".split(\"\");for(a=0;a!=t[249].length;++a)if(t[249][a].charCodeAt(0)!==65533){r[t[249][a]]=63744+a;e[63744+a]=t[249][a]}return{enc:r,dec:e}}();cptable[1250]=function(){var e=\"\\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007\\b\\t\\n\\x0B\\f\\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�‚�„…†‡�‰Š‹ŚŤŽŹ�‘’“”•–—�™š›śťžź ˇ˘Ł¤Ą¦§¨©Ş«¬­®Ż°±˛ł´µ¶·¸ąş»Ľ˝ľżŔÁÂĂÄĹĆÇČÉĘËĚÍÎĎĐŃŇÓÔŐÖ×ŘŮÚŰÜÝŢßŕáâăäĺćçčéęëěíîďđńňóôőö÷řůúűüýţ˙\",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[1251]=function(){var e=\"\\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007\\b\\t\\n\\x0B\\f\\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ЂЃ‚ѓ„…†‡€‰Љ‹ЊЌЋЏђ‘’“”•–—�™љ›њќћџ ЎўЈ¤Ґ¦§Ё©Є«¬­®Ї°±Ііґµ¶·ё№є»јЅѕїАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯабвгдежзийклмнопрстуфхцчшщъыьэюя\",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[1252]=function(){var e=\"\\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007\\b\\t\\n\\x0B\\f\\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�‚ƒ„…†‡ˆ‰Š‹Œ�Ž��‘’“”•–—˜™š›œ�žŸ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏÐÑÒÓÔÕÖ×ØÙÚÛÜÝÞßàáâãäåæçèéêëìíîïðñòóôõö÷øùúûüýþÿ\",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[1253]=function(){var e=\"\\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007\\b\\t\\n\\x0B\\f\\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�‚ƒ„…†‡�‰�‹�����‘’“”•–—�™�›���� ΅Ά£¤¥¦§¨©�«¬­®―°±²³΄µ¶·ΈΉΊ»Ό½ΎΏΐΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡ�ΣΤΥΦΧΨΩΪΫάέήίΰαβγδεζηθικλμνξοπρςστυφχψωϊϋόύώ�\",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[1254]=function(){var e=\"\\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007\\b\\t\\n\\x0B\\f\\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�‚ƒ„…†‡ˆ‰Š‹Œ����‘’“”•–—˜™š›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂÃÄÅÆÇÈÉÊËÌÍÎÏĞÑÒÓÔÕÖ×ØÙÚÛÜİŞßàáâãäåæçèéêëìíîïğñòóôõö÷øùúûüışÿ\",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[1255]=function(){var e=\"\\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007\\b\\t\\n\\x0B\\f\\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�‚ƒ„…†‡ˆ‰�‹�����‘’“”•–—˜™�›���� ¡¢£₪¥¦§¨©×«¬­®¯°±²³´µ¶·¸¹÷»¼½¾¿ְֱֲֳִֵֶַָֹ�ֻּֽ־ֿ׀ׁׂ׃װױײ׳״�������אבגדהוזחטיךכלםמןנסעףפץצקרשת��‎‏�\",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[1256]=function(){var e=\"\\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007\\b\\t\\n\\x0B\\f\\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€پ‚ƒ„…†‡ˆ‰ٹ‹Œچژڈگ‘’“”•–—ک™ڑ›œ‌‍ں ،¢£¤¥¦§¨©ھ«¬­®¯°±²³´µ¶·¸¹؛»¼½¾؟ہءآأؤإئابةتثجحخدذرزسشصض×طظعغـفقكàلâمنهوçèéêëىيîïًٌٍَôُِ÷ّùْûü‎‏ے\",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[1257]=function(){var e=\"\\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007\\b\\t\\n\\x0B\\f\\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�‚�„…†‡�‰�‹�¨ˇ¸�‘’“”•–—�™�›�¯˛� �¢£¤�¦§Ø©Ŗ«¬­®Æ°±²³´µ¶·ø¹ŗ»¼½¾æĄĮĀĆÄÅĘĒČÉŹĖĢĶĪĻŠŃŅÓŌÕÖ×ŲŁŚŪÜŻŽßąįāćäåęēčéźėģķīļšńņóōõö÷ųłśūüżž˙\",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[1258]=function(){var e=\"\\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007\\b\\t\\n\\x0B\\f\\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~€�‚ƒ„…†‡ˆ‰�‹Œ����‘’“”•–—˜™�›œ��Ÿ ¡¢£¤¥¦§¨©ª«¬­®¯°±²³´µ¶·¸¹º»¼½¾¿ÀÁÂĂÄÅÆÇÈÉÊË̀ÍÎÏĐÑ̉ÓÔƠÖ×ØÙÚÛÜỮßàáâăäåæçèéêë́íîïđṇ̃óôơö÷øùúûüư₫ÿ\",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[1e4]=function(){var e=\"\\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007\\b\\t\\n\\x0B\\f\\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤‹›ﬁﬂ‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ\",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[10006]=function(){var e=\"\\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007\\b\\t\\n\\x0B\\f\\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~Ä¹²É³ÖÜ΅àâä΄¨çéèêë£™îï•½‰ôö¦­ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩάΝ¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“”‘’÷ΉΊΌΎέήίόΏύαβψδεφγηιξκλμνοπώρστθωςχυζϊϋΐΰ�\",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[10007]=function(){var e=\"\\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007\\b\\t\\n\\x0B\\f\\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~АБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°¢£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµ∂ЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“”‘’÷„ЎўЏџ№Ёёяабвгдежзийклмнопрстуфхцчшщъыьэю¤\",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[10008]=function(){var e=[],r={},t=[],a;t[0]=\"\\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007\\b\\t\\n\\x0B\\f\\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~���������������������������������������������������������������������������������������\".split(\"\");for(a=0;a!=t[0].length;++a)if(t[0][a].charCodeAt(0)!==65533){r[t[0][a]]=0+a;e[0+a]=t[0][a]}t[161]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������　、。・ˉˇ¨〃々―～�…‘’“”〔〕〈〉《》「」『』〖〗【】±×÷∶∧∨∑∏∪∩∈∷√⊥∥∠⌒⊙∫∮≡≌≈∽∝≠≮≯≤≥∞∵∴♂♀°′″℃＄¤￠￡‰§№☆★○●◎◇◆□■△▲※→←↑↓〓�\".split(\"\");for(a=0;a!=t[161].length;++a)if(t[161][a].charCodeAt(0)!==65533){r[t[161][a]]=41216+a;e[41216+a]=t[161][a]}t[162]=\"���������������������������������������������������������������������������������������������������������������������������������������������������������������������������������⒈⒉⒊⒋⒌⒍⒎⒏⒐⒑⒒⒓⒔⒕⒖⒗⒘⒙⒚⒛⑴⑵⑶⑷⑸⑹⑺⑻⑼⑽⑾⑿⒀⒁⒂⒃⒄⒅⒆⒇①②③④⑤⑥⑦⑧⑨⑩��㈠㈡㈢㈣㈤㈥㈦㈧㈨㈩��ⅠⅡⅢⅣⅤⅥⅦⅧⅨⅩⅪⅫ���\".split(\"\");for(a=0;a!=t[162].length;++a)if(t[162][a].charCodeAt(0)!==65533){r[t[162][a]]=41472+a;e[41472+a]=t[162][a]}t[163]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������！＂＃￥％＆＇（）＊＋，－．／０１２３４５６７８９：；＜＝＞？＠ＡＢＣＤＥＦＧＨＩＪＫＬＭＮＯＰＱＲＳＴＵＶＷＸＹＺ［＼］＾＿｀ａｂｃｄｅｆｇｈｉｊｋｌｍｎｏｐｑｒｓｔｕｖｗｘｙｚ｛｜｝￣�\".split(\"\");for(a=0;a!=t[163].length;++a)if(t[163][a].charCodeAt(0)!==65533){r[t[163][a]]=41728+a;e[41728+a]=t[163][a]}t[164]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������ぁあぃいぅうぇえぉおかがきぎくぐけげこごさざしじすずせぜそぞただちぢっつづてでとどなにぬねのはばぱひびぴふぶぷへべぺほぼぽまみむめもゃやゅゆょよらりるれろゎわゐゑをん������������\".split(\"\");for(a=0;a!=t[164].length;++a)if(t[164][a].charCodeAt(0)!==65533){r[t[164][a]]=41984+a;e[41984+a]=t[164][a]}t[165]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������ァアィイゥウェエォオカガキギクグケゲコゴサザシジスズセゼソゾタダチヂッツヅテデトドナニヌネノハバパヒビピフブプヘベペホボポマミムメモャヤュユョヨラリルレロヮワヰヱヲンヴヵヶ���������\".split(\"\");for(a=0;a!=t[165].length;++a)if(t[165][a].charCodeAt(0)!==65533){r[t[165][a]]=42240+a;e[42240+a]=t[165][a]}t[166]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������ΑΒΓΔΕΖΗΘΙΚΛΜΝΞΟΠΡΣΤΥΦΧΨΩ��������αβγδεζηθικλμνξοπρστυφχψω���������������������������������������\".split(\"\");for(a=0;a!=t[166].length;++a)if(t[166][a].charCodeAt(0)!==65533){r[t[166][a]]=42496+a;e[42496+a]=t[166][a]}t[167]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������АБВГДЕЁЖЗИЙКЛМНОПРСТУФХЦЧШЩЪЫЬЭЮЯ���������������абвгдеёжзийклмнопрстуфхцчшщъыьэюя��������������\".split(\"\");for(a=0;a!=t[167].length;++a)if(t[167][a].charCodeAt(0)!==65533){r[t[167][a]]=42752+a;e[42752+a]=t[167][a]}t[168]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������āáǎàēéěèīíǐìōóǒòūúǔùǖǘǚǜüê����������ㄅㄆㄇㄈㄉㄊㄋㄌㄍㄎㄏㄐㄑㄒㄓㄔㄕㄖㄗㄘㄙㄚㄛㄜㄝㄞㄟㄠㄡㄢㄣㄤㄥㄦㄧㄨㄩ����������������������\".split(\"\");for(a=0;a!=t[168].length;++a)if(t[168][a].charCodeAt(0)!==65533){r[t[168][a]]=43008+a;e[43008+a]=t[168][a]}t[169]=\"��������������������������������������������������������������������������������������������������������������������������������������������������������������������─━│┃┄┅┆┇┈┉┊┋┌┍┎┏┐┑┒┓└┕┖┗┘┙┚┛├┝┞┟┠┡┢┣┤┥┦┧┨┩┪┫┬┭┮┯┰┱┲┳┴┵┶┷┸┹┺┻┼┽┾┿╀╁╂╃╄╅╆╇╈╉╊╋����������������\".split(\"\");for(a=0;a!=t[169].length;++a)if(t[169][a].charCodeAt(0)!==65533){r[t[169][a]]=43264+a;e[43264+a]=t[169][a]}t[176]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������啊阿埃挨哎唉哀皑癌蔼矮艾碍爱隘鞍氨安俺按暗岸胺案肮昂盎凹敖熬翱袄傲奥懊澳芭捌扒叭吧笆八疤巴拔跋靶把耙坝霸罢爸白柏百摆佰败拜稗斑班搬扳般颁板版扮拌伴瓣半办绊邦帮梆榜膀绑棒磅蚌镑傍谤苞胞包褒剥�\".split(\"\");for(a=0;a!=t[176].length;++a)if(t[176][a].charCodeAt(0)!==65533){r[t[176][a]]=45056+a;e[45056+a]=t[176][a]}t[177]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������薄雹保堡饱宝抱报暴豹鲍爆杯碑悲卑北辈背贝钡倍狈备惫焙被奔苯本笨崩绷甭泵蹦迸逼鼻比鄙笔彼碧蓖蔽毕毙毖币庇痹闭敝弊必辟壁臂避陛鞭边编贬扁便变卞辨辩辫遍标彪膘表鳖憋别瘪彬斌濒滨宾摈兵冰柄丙秉饼炳�\".split(\"\");for(a=0;a!=t[177].length;++a)if(t[177][a].charCodeAt(0)!==65533){r[t[177][a]]=45312+a;e[45312+a]=t[177][a]}t[178]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������病并玻菠播拨钵波博勃搏铂箔伯帛舶脖膊渤泊驳捕卜哺补埠不布步簿部怖擦猜裁材才财睬踩采彩菜蔡餐参蚕残惭惨灿苍舱仓沧藏操糙槽曹草厕策侧册测层蹭插叉茬茶查碴搽察岔差诧拆柴豺搀掺蝉馋谗缠铲产阐颤昌猖�\".split(\"\");for(a=0;a!=t[178].length;++a)if(t[178][a].charCodeAt(0)!==65533){r[t[178][a]]=45568+a;e[45568+a]=t[178][a]}t[179]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������场尝常长偿肠厂敞畅唱倡超抄钞朝嘲潮巢吵炒车扯撤掣彻澈郴臣辰尘晨忱沉陈趁衬撑称城橙成呈乘程惩澄诚承逞骋秤吃痴持匙池迟弛驰耻齿侈尺赤翅斥炽充冲虫崇宠抽酬畴踌稠愁筹仇绸瞅丑臭初出橱厨躇锄雏滁除楚�\".split(\"\");for(a=0;a!=t[179].length;++a)if(t[179][a].charCodeAt(0)!==65533){r[t[179][a]]=45824+a;e[45824+a]=t[179][a]}t[180]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������础储矗搐触处揣川穿椽传船喘串疮窗幢床闯创吹炊捶锤垂春椿醇唇淳纯蠢戳绰疵茨磁雌辞慈瓷词此刺赐次聪葱囱匆从丛凑粗醋簇促蹿篡窜摧崔催脆瘁粹淬翠村存寸磋撮搓措挫错搭达答瘩打大呆歹傣戴带殆代贷袋待逮�\".split(\"\");for(a=0;a!=t[180].length;++a)if(t[180][a].charCodeAt(0)!==65533){r[t[180][a]]=46080+a;e[46080+a]=t[180][a]}t[181]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������怠耽担丹单郸掸胆旦氮但惮淡诞弹蛋当挡党荡档刀捣蹈倒岛祷导到稻悼道盗德得的蹬灯登等瞪凳邓堤低滴迪敌笛狄涤翟嫡抵底地蒂第帝弟递缔颠掂滇碘点典靛垫电佃甸店惦奠淀殿碉叼雕凋刁掉吊钓调跌爹碟蝶迭谍叠�\".split(\"\");for(a=0;a!=t[181].length;++a)if(t[181][a].charCodeAt(0)!==65533){r[t[181][a]]=46336+a;e[46336+a]=t[181][a]}t[182]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������丁盯叮钉顶鼎锭定订丢东冬董懂动栋侗恫冻洞兜抖斗陡豆逗痘都督毒犊独读堵睹赌杜镀肚度渡妒端短锻段断缎堆兑队对墩吨蹲敦顿囤钝盾遁掇哆多夺垛躲朵跺舵剁惰堕蛾峨鹅俄额讹娥恶厄扼遏鄂饿恩而儿耳尔饵洱二�\".split(\"\");for(a=0;a!=t[182].length;++a)if(t[182][a].charCodeAt(0)!==65533){r[t[182][a]]=46592+a;e[46592+a]=t[182][a]}t[183]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������贰发罚筏伐乏阀法珐藩帆番翻樊矾钒繁凡烦反返范贩犯饭泛坊芳方肪房防妨仿访纺放菲非啡飞肥匪诽吠肺废沸费芬酚吩氛分纷坟焚汾粉奋份忿愤粪丰封枫蜂峰锋风疯烽逢冯缝讽奉凤佛否夫敷肤孵扶拂辐幅氟符伏俘服�\".split(\"\");for(a=0;a!=t[183].length;++a)if(t[183][a].charCodeAt(0)!==65533){r[t[183][a]]=46848+a;e[46848+a]=t[183][a]}t[184]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������浮涪福袱弗甫抚辅俯釜斧脯腑府腐赴副覆赋复傅付阜父腹负富讣附妇缚咐噶嘎该改概钙盖溉干甘杆柑竿肝赶感秆敢赣冈刚钢缸肛纲岗港杠篙皋高膏羔糕搞镐稿告哥歌搁戈鸽胳疙割革葛格蛤阁隔铬个各给根跟耕更庚羹�\".split(\"\");for(a=0;a!=t[184].length;++a)if(t[184][a].charCodeAt(0)!==65533){r[t[184][a]]=47104+a;e[47104+a]=t[184][a]}t[185]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������埂耿梗工攻功恭龚供躬公宫弓巩汞拱贡共钩勾沟苟狗垢构购够辜菇咕箍估沽孤姑鼓古蛊骨谷股故顾固雇刮瓜剐寡挂褂乖拐怪棺关官冠观管馆罐惯灌贯光广逛瑰规圭硅归龟闺轨鬼诡癸桂柜跪贵刽辊滚棍锅郭国果裹过哈�\".split(\"\");for(a=0;a!=t[185].length;++a)if(t[185][a].charCodeAt(0)!==65533){r[t[185][a]]=47360+a;e[47360+a]=t[185][a]}t[186]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������骸孩海氦亥害骇酣憨邯韩含涵寒函喊罕翰撼捍旱憾悍焊汗汉夯杭航壕嚎豪毫郝好耗号浩呵喝荷菏核禾和何合盒貉阂河涸赫褐鹤贺嘿黑痕很狠恨哼亨横衡恒轰哄烘虹鸿洪宏弘红喉侯猴吼厚候后呼乎忽瑚壶葫胡蝴狐糊湖�\".split(\"\");for(a=0;a!=t[186].length;++a)if(t[186][a].charCodeAt(0)!==65533){r[t[186][a]]=47616+a;e[47616+a]=t[186][a]}t[187]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������弧虎唬护互沪户花哗华猾滑画划化话槐徊怀淮坏欢环桓还缓换患唤痪豢焕涣宦幻荒慌黄磺蝗簧皇凰惶煌晃幌恍谎灰挥辉徽恢蛔回毁悔慧卉惠晦贿秽会烩汇讳诲绘荤昏婚魂浑混豁活伙火获或惑霍货祸击圾基机畸稽积箕�\".split(\"\");for(a=0;a!=t[187].length;++a)if(t[187][a].charCodeAt(0)!==65533){r[t[187][a]]=47872+a;e[47872+a]=t[187][a]}t[188]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������肌饥迹激讥鸡姬绩缉吉极棘辑籍集及急疾汲即嫉级挤几脊己蓟技冀季伎祭剂悸济寄寂计记既忌际妓继纪嘉枷夹佳家加荚颊贾甲钾假稼价架驾嫁歼监坚尖笺间煎兼肩艰奸缄茧检柬碱硷拣捡简俭剪减荐槛鉴践贱见键箭件�\".split(\"\");for(a=0;a!=t[188].length;++a)if(t[188][a].charCodeAt(0)!==65533){r[t[188][a]]=48128+a;e[48128+a]=t[188][a]}t[189]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������健舰剑饯渐溅涧建僵姜将浆江疆蒋桨奖讲匠酱降蕉椒礁焦胶交郊浇骄娇嚼搅铰矫侥脚狡角饺缴绞剿教酵轿较叫窖揭接皆秸街阶截劫节桔杰捷睫竭洁结解姐戒藉芥界借介疥诫届巾筋斤金今津襟紧锦仅谨进靳晋禁近烬浸�\".split(\"\");for(a=0;a!=t[189].length;++a)if(t[189][a].charCodeAt(0)!==65533){r[t[189][a]]=48384+a;e[48384+a]=t[189][a]}t[190]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������尽劲荆兢茎睛晶鲸京惊精粳经井警景颈静境敬镜径痉靖竟竞净炯窘揪究纠玖韭久灸九酒厩救旧臼舅咎就疚鞠拘狙疽居驹菊局咀矩举沮聚拒据巨具距踞锯俱句惧炬剧捐鹃娟倦眷卷绢撅攫抉掘倔爵觉决诀绝均菌钧军君峻�\".split(\"\");for(a=0;a!=t[190].length;++a)if(t[190][a].charCodeAt(0)!==65533){r[t[190][a]]=48640+a;e[48640+a]=t[190][a]}t[191]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������俊竣浚郡骏喀咖卡咯开揩楷凯慨刊堪勘坎砍看康慷糠扛抗亢炕考拷烤靠坷苛柯棵磕颗科壳咳可渴克刻客课肯啃垦恳坑吭空恐孔控抠口扣寇枯哭窟苦酷库裤夸垮挎跨胯块筷侩快宽款匡筐狂框矿眶旷况亏盔岿窥葵奎魁傀�\".split(\"\");for(a=0;a!=t[191].length;++a)if(t[191][a].charCodeAt(0)!==65533){r[t[191][a]]=48896+a;e[48896+a]=t[191][a]}t[192]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������馈愧溃坤昆捆困括扩廓阔垃拉喇蜡腊辣啦莱来赖蓝婪栏拦篮阑兰澜谰揽览懒缆烂滥琅榔狼廊郎朗浪捞劳牢老佬姥酪烙涝勒乐雷镭蕾磊累儡垒擂肋类泪棱楞冷厘梨犁黎篱狸离漓理李里鲤礼莉荔吏栗丽厉励砾历利傈例俐�\".split(\"\");for(a=0;a!=t[192].length;++a)if(t[192][a].charCodeAt(0)!==65533){r[t[192][a]]=49152+a;e[49152+a]=t[192][a]}t[193]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������痢立粒沥隶力璃哩俩联莲连镰廉怜涟帘敛脸链恋炼练粮凉梁粱良两辆量晾亮谅撩聊僚疗燎寥辽潦了撂镣廖料列裂烈劣猎琳林磷霖临邻鳞淋凛赁吝拎玲菱零龄铃伶羚凌灵陵岭领另令溜琉榴硫馏留刘瘤流柳六龙聋咙笼窿�\".split(\"\");for(a=0;a!=t[193].length;++a)if(t[193][a].charCodeAt(0)!==65533){r[t[193][a]]=49408+a;e[49408+a]=t[193][a]}t[194]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������隆垄拢陇楼娄搂篓漏陋芦卢颅庐炉掳卤虏鲁麓碌露路赂鹿潞禄录陆戮驴吕铝侣旅履屡缕虑氯律率滤绿峦挛孪滦卵乱掠略抡轮伦仑沦纶论萝螺罗逻锣箩骡裸落洛骆络妈麻玛码蚂马骂嘛吗埋买麦卖迈脉瞒馒蛮满蔓曼慢漫�\".split(\"\");for(a=0;a!=t[194].length;++a)if(t[194][a].charCodeAt(0)!==65533){r[t[194][a]]=49664+a;e[49664+a]=t[194][a]}t[195]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������谩芒茫盲氓忙莽猫茅锚毛矛铆卯茂冒帽貌贸么玫枚梅酶霉煤没眉媒镁每美昧寐妹媚门闷们萌蒙檬盟锰猛梦孟眯醚靡糜迷谜弥米秘觅泌蜜密幂棉眠绵冕免勉娩缅面苗描瞄藐秒渺庙妙蔑灭民抿皿敏悯闽明螟鸣铭名命谬摸�\".split(\"\");for(a=0;a!=t[195].length;++a)if(t[195][a].charCodeAt(0)!==65533){r[t[195][a]]=49920+a;e[49920+a]=t[195][a]}t[196]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������摹蘑模膜磨摩魔抹末莫墨默沫漠寞陌谋牟某拇牡亩姆母墓暮幕募慕木目睦牧穆拿哪呐钠那娜纳氖乃奶耐奈南男难囊挠脑恼闹淖呢馁内嫩能妮霓倪泥尼拟你匿腻逆溺蔫拈年碾撵捻念娘酿鸟尿捏聂孽啮镊镍涅您柠狞凝宁�\".split(\"\");for(a=0;a!=t[196].length;++a)if(t[196][a].charCodeAt(0)!==65533){r[t[196][a]]=50176+a;e[50176+a]=t[196][a]}t[197]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������拧泞牛扭钮纽脓浓农弄奴努怒女暖虐疟挪懦糯诺哦欧鸥殴藕呕偶沤啪趴爬帕怕琶拍排牌徘湃派攀潘盘磐盼畔判叛乓庞旁耪胖抛咆刨炮袍跑泡呸胚培裴赔陪配佩沛喷盆砰抨烹澎彭蓬棚硼篷膨朋鹏捧碰坯砒霹批披劈琵毗�\".split(\"\");for(a=0;a!=t[197].length;++a)if(t[197][a].charCodeAt(0)!==65533){r[t[197][a]]=50432+a;e[50432+a]=t[197][a]}t[198]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������啤脾疲皮匹痞僻屁譬篇偏片骗飘漂瓢票撇瞥拼频贫品聘乒坪苹萍平凭瓶评屏坡泼颇婆破魄迫粕剖扑铺仆莆葡菩蒲埔朴圃普浦谱曝瀑期欺栖戚妻七凄漆柒沏其棋奇歧畦崎脐齐旗祈祁骑起岂乞企启契砌器气迄弃汽泣讫掐�\".split(\"\");for(a=0;a!=t[198].length;++a)if(t[198][a].charCodeAt(0)!==65533){r[t[198][a]]=50688+a;e[50688+a]=t[198][a]}t[199]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������恰洽牵扦钎铅千迁签仟谦乾黔钱钳前潜遣浅谴堑嵌欠歉枪呛腔羌墙蔷强抢橇锹敲悄桥瞧乔侨巧鞘撬翘峭俏窍切茄且怯窃钦侵亲秦琴勤芹擒禽寝沁青轻氢倾卿清擎晴氰情顷请庆琼穷秋丘邱球求囚酋泅趋区蛆曲躯屈驱渠�\".split(\"\");for(a=0;a!=t[199].length;++a)if(t[199][a].charCodeAt(0)!==65533){r[t[199][a]]=50944+a;e[50944+a]=t[199][a]}t[200]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������取娶龋趣去圈颧权醛泉全痊拳犬券劝缺炔瘸却鹊榷确雀裙群然燃冉染瓤壤攘嚷让饶扰绕惹热壬仁人忍韧任认刃妊纫扔仍日戎茸蓉荣融熔溶容绒冗揉柔肉茹蠕儒孺如辱乳汝入褥软阮蕊瑞锐闰润若弱撒洒萨腮鳃塞赛三叁�\".split(\"\");for(a=0;a!=t[200].length;++a)if(t[200][a].charCodeAt(0)!==65533){r[t[200][a]]=51200+a;e[51200+a]=t[200][a]}t[201]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������伞散桑嗓丧搔骚扫嫂瑟色涩森僧莎砂杀刹沙纱傻啥煞筛晒珊苫杉山删煽衫闪陕擅赡膳善汕扇缮墒伤商赏晌上尚裳梢捎稍烧芍勺韶少哨邵绍奢赊蛇舌舍赦摄射慑涉社设砷申呻伸身深娠绅神沈审婶甚肾慎渗声生甥牲升绳�\".split(\"\");for(a=0;a!=t[201].length;++a)if(t[201][a].charCodeAt(0)!==65533){r[t[201][a]]=51456+a;e[51456+a]=t[201][a]}t[202]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������省盛剩胜圣师失狮施湿诗尸虱十石拾时什食蚀实识史矢使屎驶始式示士世柿事拭誓逝势是嗜噬适仕侍释饰氏市恃室视试收手首守寿授售受瘦兽蔬枢梳殊抒输叔舒淑疏书赎孰熟薯暑曙署蜀黍鼠属术述树束戍竖墅庶数漱�\".split(\"\");for(a=0;a!=t[202].length;++a)if(t[202][a].charCodeAt(0)!==65533){r[t[202][a]]=51712+a;e[51712+a]=t[202][a]}t[203]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������恕刷耍摔衰甩帅栓拴霜双爽谁水睡税吮瞬顺舜说硕朔烁斯撕嘶思私司丝死肆寺嗣四伺似饲巳松耸怂颂送宋讼诵搜艘擞嗽苏酥俗素速粟僳塑溯宿诉肃酸蒜算虽隋随绥髓碎岁穗遂隧祟孙损笋蓑梭唆缩琐索锁所塌他它她塔�\".split(\"\");for(a=0;a!=t[203].length;++a)if(t[203][a].charCodeAt(0)!==65533){r[t[203][a]]=51968+a;e[51968+a]=t[203][a]}t[204]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������獭挞蹋踏胎苔抬台泰酞太态汰坍摊贪瘫滩坛檀痰潭谭谈坦毯袒碳探叹炭汤塘搪堂棠膛唐糖倘躺淌趟烫掏涛滔绦萄桃逃淘陶讨套特藤腾疼誊梯剔踢锑提题蹄啼体替嚏惕涕剃屉天添填田甜恬舔腆挑条迢眺跳贴铁帖厅听烃�\".split(\"\");for(a=0;a!=t[204].length;++a)if(t[204][a].charCodeAt(0)!==65533){r[t[204][a]]=52224+a;e[52224+a]=t[204][a]}t[205]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������汀廷停亭庭挺艇通桐酮瞳同铜彤童桶捅筒统痛偷投头透凸秃突图徒途涂屠土吐兔湍团推颓腿蜕褪退吞屯臀拖托脱鸵陀驮驼椭妥拓唾挖哇蛙洼娃瓦袜歪外豌弯湾玩顽丸烷完碗挽晚皖惋宛婉万腕汪王亡枉网往旺望忘妄威�\".split(\"\");for(a=0;a!=t[205].length;++a)if(t[205][a].charCodeAt(0)!==65533){r[t[205][a]]=52480+a;e[52480+a]=t[205][a]}t[206]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������巍微危韦违桅围唯惟为潍维苇萎委伟伪尾纬未蔚味畏胃喂魏位渭谓尉慰卫瘟温蚊文闻纹吻稳紊问嗡翁瓮挝蜗涡窝我斡卧握沃巫呜钨乌污诬屋无芜梧吾吴毋武五捂午舞伍侮坞戊雾晤物勿务悟误昔熙析西硒矽晰嘻吸锡牺�\".split(\"\");for(a=0;a!=t[206].length;++a)if(t[206][a].charCodeAt(0)!==65533){r[t[206][a]]=52736+a;e[52736+a]=t[206][a]}t[207]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������稀息希悉膝夕惜熄烯溪汐犀檄袭席习媳喜铣洗系隙戏细瞎虾匣霞辖暇峡侠狭下厦夏吓掀锨先仙鲜纤咸贤衔舷闲涎弦嫌显险现献县腺馅羡宪陷限线相厢镶香箱襄湘乡翔祥详想响享项巷橡像向象萧硝霄削哮嚣销消宵淆晓�\".split(\"\");for(a=0;a!=t[207].length;++a)if(t[207][a].charCodeAt(0)!==65533){r[t[207][a]]=52992+a;e[52992+a]=t[207][a]}t[208]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������小孝校肖啸笑效楔些歇蝎鞋协挟携邪斜胁谐写械卸蟹懈泄泻谢屑薪芯锌欣辛新忻心信衅星腥猩惺兴刑型形邢行醒幸杏性姓兄凶胸匈汹雄熊休修羞朽嗅锈秀袖绣墟戌需虚嘘须徐许蓄酗叙旭序畜恤絮婿绪续轩喧宣悬旋玄�\".split(\"\");for(a=0;a!=t[208].length;++a)if(t[208][a].charCodeAt(0)!==65533){r[t[208][a]]=53248+a;e[53248+a]=t[208][a]}t[209]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������选癣眩绚靴薛学穴雪血勋熏循旬询寻驯巡殉汛训讯逊迅压押鸦鸭呀丫芽牙蚜崖衙涯雅哑亚讶焉咽阉烟淹盐严研蜒岩延言颜阎炎沿奄掩眼衍演艳堰燕厌砚雁唁彦焰宴谚验殃央鸯秧杨扬佯疡羊洋阳氧仰痒养样漾邀腰妖瑶�\".split(\"\");for(a=0;a!=t[209].length;++a)if(t[209][a].charCodeAt(0)!==65533){r[t[209][a]]=53504+a;e[53504+a]=t[209][a]}t[210]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������摇尧遥窑谣姚咬舀药要耀椰噎耶爷野冶也页掖业叶曳腋夜液一壹医揖铱依伊衣颐夷遗移仪胰疑沂宜姨彝椅蚁倚已乙矣以艺抑易邑屹亿役臆逸肄疫亦裔意毅忆义益溢诣议谊译异翼翌绎茵荫因殷音阴姻吟银淫寅饮尹引隐�\".split(\"\");for(a=0;a!=t[210].length;++a)if(t[210][a].charCodeAt(0)!==65533){r[t[210][a]]=53760+a;e[53760+a]=t[210][a]}t[211]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������印英樱婴鹰应缨莹萤营荧蝇迎赢盈影颖硬映哟拥佣臃痈庸雍踊蛹咏泳涌永恿勇用幽优悠忧尤由邮铀犹油游酉有友右佑釉诱又幼迂淤于盂榆虞愚舆余俞逾鱼愉渝渔隅予娱雨与屿禹宇语羽玉域芋郁吁遇喻峪御愈欲狱育誉�\".split(\"\");for(a=0;a!=t[211].length;++a)if(t[211][a].charCodeAt(0)!==65533){r[t[211][a]]=54016+a;e[54016+a]=t[211][a]}t[212]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������浴寓裕预豫驭鸳渊冤元垣袁原援辕园员圆猿源缘远苑愿怨院曰约越跃钥岳粤月悦阅耘云郧匀陨允运蕴酝晕韵孕匝砸杂栽哉灾宰载再在咱攒暂赞赃脏葬遭糟凿藻枣早澡蚤躁噪造皂灶燥责择则泽贼怎增憎曾赠扎喳渣札轧�\".split(\"\");for(a=0;a!=t[212].length;++a)if(t[212][a].charCodeAt(0)!==65533){r[t[212][a]]=54272+a;e[54272+a]=t[212][a]}t[213]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������铡闸眨栅榨咋乍炸诈摘斋宅窄债寨瞻毡詹粘沾盏斩辗崭展蘸栈占战站湛绽樟章彰漳张掌涨杖丈帐账仗胀瘴障招昭找沼赵照罩兆肇召遮折哲蛰辙者锗蔗这浙珍斟真甄砧臻贞针侦枕疹诊震振镇阵蒸挣睁征狰争怔整拯正政�\".split(\"\");for(a=0;a!=t[213].length;++a)if(t[213][a].charCodeAt(0)!==65533){r[t[213][a]]=54528+a;e[54528+a]=t[213][a]}t[214]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������帧症郑证芝枝支吱蜘知肢脂汁之织职直植殖执值侄址指止趾只旨纸志挚掷至致置帜峙制智秩稚质炙痔滞治窒中盅忠钟衷终种肿重仲众舟周州洲诌粥轴肘帚咒皱宙昼骤珠株蛛朱猪诸诛逐竹烛煮拄瞩嘱主著柱助蛀贮铸筑�\".split(\"\");for(a=0;a!=t[214].length;++a)if(t[214][a].charCodeAt(0)!==65533){r[t[214][a]]=54784+a;e[54784+a]=t[214][a]}t[215]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������住注祝驻抓爪拽专砖转撰赚篆桩庄装妆撞壮状椎锥追赘坠缀谆准捉拙卓桌琢茁酌啄着灼浊兹咨资姿滋淄孜紫仔籽滓子自渍字鬃棕踪宗综总纵邹走奏揍租足卒族祖诅阻组钻纂嘴醉最罪尊遵昨左佐柞做作坐座������\".split(\"\");for(a=0;a!=t[215].length;++a)if(t[215][a].charCodeAt(0)!==65533){\nr[t[215][a]]=55040+a;e[55040+a]=t[215][a]}t[216]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������亍丌兀丐廿卅丕亘丞鬲孬噩丨禺丿匕乇夭爻卮氐囟胤馗毓睾鼗丶亟鼐乜乩亓芈孛啬嘏仄厍厝厣厥厮靥赝匚叵匦匮匾赜卦卣刂刈刎刭刳刿剀剌剞剡剜蒯剽劂劁劐劓冂罔亻仃仉仂仨仡仫仞伛仳伢佤仵伥伧伉伫佞佧攸佚佝�\".split(\"\");for(a=0;a!=t[216].length;++a)if(t[216][a].charCodeAt(0)!==65533){r[t[216][a]]=55296+a;e[55296+a]=t[216][a]}t[217]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������佟佗伲伽佶佴侑侉侃侏佾佻侪佼侬侔俦俨俪俅俚俣俜俑俟俸倩偌俳倬倏倮倭俾倜倌倥倨偾偃偕偈偎偬偻傥傧傩傺僖儆僭僬僦僮儇儋仝氽佘佥俎龠汆籴兮巽黉馘冁夔勹匍訇匐凫夙兕亠兖亳衮袤亵脔裒禀嬴蠃羸冫冱冽冼�\".split(\"\");for(a=0;a!=t[217].length;++a)if(t[217][a].charCodeAt(0)!==65533){r[t[217][a]]=55552+a;e[55552+a]=t[217][a]}t[218]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������凇冖冢冥讠讦讧讪讴讵讷诂诃诋诏诎诒诓诔诖诘诙诜诟诠诤诨诩诮诰诳诶诹诼诿谀谂谄谇谌谏谑谒谔谕谖谙谛谘谝谟谠谡谥谧谪谫谮谯谲谳谵谶卩卺阝阢阡阱阪阽阼陂陉陔陟陧陬陲陴隈隍隗隰邗邛邝邙邬邡邴邳邶邺�\".split(\"\");for(a=0;a!=t[218].length;++a)if(t[218][a].charCodeAt(0)!==65533){r[t[218][a]]=55808+a;e[55808+a]=t[218][a]}t[219]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������邸邰郏郅邾郐郄郇郓郦郢郜郗郛郫郯郾鄄鄢鄞鄣鄱鄯鄹酃酆刍奂劢劬劭劾哿勐勖勰叟燮矍廴凵凼鬯厶弁畚巯坌垩垡塾墼壅壑圩圬圪圳圹圮圯坜圻坂坩垅坫垆坼坻坨坭坶坳垭垤垌垲埏垧垴垓垠埕埘埚埙埒垸埴埯埸埤埝�\".split(\"\");for(a=0;a!=t[219].length;++a)if(t[219][a].charCodeAt(0)!==65533){r[t[219][a]]=56064+a;e[56064+a]=t[219][a]}t[220]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������堋堍埽埭堀堞堙塄堠塥塬墁墉墚墀馨鼙懿艹艽艿芏芊芨芄芎芑芗芙芫芸芾芰苈苊苣芘芷芮苋苌苁芩芴芡芪芟苄苎芤苡茉苷苤茏茇苜苴苒苘茌苻苓茑茚茆茔茕苠苕茜荑荛荜茈莒茼茴茱莛荞茯荏荇荃荟荀茗荠茭茺茳荦荥�\".split(\"\");for(a=0;a!=t[220].length;++a)if(t[220][a].charCodeAt(0)!==65533){r[t[220][a]]=56320+a;e[56320+a]=t[220][a]}t[221]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������荨茛荩荬荪荭荮莰荸莳莴莠莪莓莜莅荼莶莩荽莸荻莘莞莨莺莼菁萁菥菘堇萘萋菝菽菖萜萸萑萆菔菟萏萃菸菹菪菅菀萦菰菡葜葑葚葙葳蒇蒈葺蒉葸萼葆葩葶蒌蒎萱葭蓁蓍蓐蓦蒽蓓蓊蒿蒺蓠蒡蒹蒴蒗蓥蓣蔌甍蔸蓰蔹蔟蔺�\".split(\"\");for(a=0;a!=t[221].length;++a)if(t[221][a].charCodeAt(0)!==65533){r[t[221][a]]=56576+a;e[56576+a]=t[221][a]}t[222]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������蕖蔻蓿蓼蕙蕈蕨蕤蕞蕺瞢蕃蕲蕻薤薨薇薏蕹薮薜薅薹薷薰藓藁藜藿蘧蘅蘩蘖蘼廾弈夼奁耷奕奚奘匏尢尥尬尴扌扪抟抻拊拚拗拮挢拶挹捋捃掭揶捱捺掎掴捭掬掊捩掮掼揲揸揠揿揄揞揎摒揆掾摅摁搋搛搠搌搦搡摞撄摭撖�\".split(\"\");for(a=0;a!=t[222].length;++a)if(t[222][a].charCodeAt(0)!==65533){r[t[222][a]]=56832+a;e[56832+a]=t[222][a]}t[223]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������摺撷撸撙撺擀擐擗擤擢攉攥攮弋忒甙弑卟叱叽叩叨叻吒吖吆呋呒呓呔呖呃吡呗呙吣吲咂咔呷呱呤咚咛咄呶呦咝哐咭哂咴哒咧咦哓哔呲咣哕咻咿哌哙哚哜咩咪咤哝哏哞唛哧唠哽唔哳唢唣唏唑唧唪啧喏喵啉啭啁啕唿啐唼�\".split(\"\");for(a=0;a!=t[223].length;++a)if(t[223][a].charCodeAt(0)!==65533){r[t[223][a]]=57088+a;e[57088+a]=t[223][a]}t[224]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������唷啖啵啶啷唳唰啜喋嗒喃喱喹喈喁喟啾嗖喑啻嗟喽喾喔喙嗪嗷嗉嘟嗑嗫嗬嗔嗦嗝嗄嗯嗥嗲嗳嗌嗍嗨嗵嗤辔嘞嘈嘌嘁嘤嘣嗾嘀嘧嘭噘嘹噗嘬噍噢噙噜噌噔嚆噤噱噫噻噼嚅嚓嚯囔囗囝囡囵囫囹囿圄圊圉圜帏帙帔帑帱帻帼�\".split(\"\");for(a=0;a!=t[224].length;++a)if(t[224][a].charCodeAt(0)!==65533){r[t[224][a]]=57344+a;e[57344+a]=t[224][a]}t[225]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������帷幄幔幛幞幡岌屺岍岐岖岈岘岙岑岚岜岵岢岽岬岫岱岣峁岷峄峒峤峋峥崂崃崧崦崮崤崞崆崛嵘崾崴崽嵬嵛嵯嵝嵫嵋嵊嵩嵴嶂嶙嶝豳嶷巅彳彷徂徇徉後徕徙徜徨徭徵徼衢彡犭犰犴犷犸狃狁狎狍狒狨狯狩狲狴狷猁狳猃狺�\".split(\"\");for(a=0;a!=t[225].length;++a)if(t[225][a].charCodeAt(0)!==65533){r[t[225][a]]=57600+a;e[57600+a]=t[225][a]}t[226]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������狻猗猓猡猊猞猝猕猢猹猥猬猸猱獐獍獗獠獬獯獾舛夥飧夤夂饣饧饨饩饪饫饬饴饷饽馀馄馇馊馍馐馑馓馔馕庀庑庋庖庥庠庹庵庾庳赓廒廑廛廨廪膺忄忉忖忏怃忮怄忡忤忾怅怆忪忭忸怙怵怦怛怏怍怩怫怊怿怡恸恹恻恺恂�\".split(\"\");for(a=0;a!=t[226].length;++a)if(t[226][a].charCodeAt(0)!==65533){r[t[226][a]]=57856+a;e[57856+a]=t[226][a]}t[227]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������恪恽悖悚悭悝悃悒悌悛惬悻悱惝惘惆惚悴愠愦愕愣惴愀愎愫慊慵憬憔憧憷懔懵忝隳闩闫闱闳闵闶闼闾阃阄阆阈阊阋阌阍阏阒阕阖阗阙阚丬爿戕氵汔汜汊沣沅沐沔沌汨汩汴汶沆沩泐泔沭泷泸泱泗沲泠泖泺泫泮沱泓泯泾�\".split(\"\");for(a=0;a!=t[227].length;++a)if(t[227][a].charCodeAt(0)!==65533){r[t[227][a]]=58112+a;e[58112+a]=t[227][a]}t[228]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������洹洧洌浃浈洇洄洙洎洫浍洮洵洚浏浒浔洳涑浯涞涠浞涓涔浜浠浼浣渚淇淅淞渎涿淠渑淦淝淙渖涫渌涮渫湮湎湫溲湟溆湓湔渲渥湄滟溱溘滠漭滢溥溧溽溻溷滗溴滏溏滂溟潢潆潇漤漕滹漯漶潋潴漪漉漩澉澍澌潸潲潼潺濑�\".split(\"\");for(a=0;a!=t[228].length;++a)if(t[228][a].charCodeAt(0)!==65533){r[t[228][a]]=58368+a;e[58368+a]=t[228][a]}t[229]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������濉澧澹澶濂濡濮濞濠濯瀚瀣瀛瀹瀵灏灞宀宄宕宓宥宸甯骞搴寤寮褰寰蹇謇辶迓迕迥迮迤迩迦迳迨逅逄逋逦逑逍逖逡逵逶逭逯遄遑遒遐遨遘遢遛暹遴遽邂邈邃邋彐彗彖彘尻咫屐屙孱屣屦羼弪弩弭艴弼鬻屮妁妃妍妩妪妣�\".split(\"\");for(a=0;a!=t[229].length;++a)if(t[229][a].charCodeAt(0)!==65533){r[t[229][a]]=58624+a;e[58624+a]=t[229][a]}t[230]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������妗姊妫妞妤姒妲妯姗妾娅娆姝娈姣姘姹娌娉娲娴娑娣娓婀婧婊婕娼婢婵胬媪媛婷婺媾嫫媲嫒嫔媸嫠嫣嫱嫖嫦嫘嫜嬉嬗嬖嬲嬷孀尕尜孚孥孳孑孓孢驵驷驸驺驿驽骀骁骅骈骊骐骒骓骖骘骛骜骝骟骠骢骣骥骧纟纡纣纥纨纩�\".split(\"\");for(a=0;a!=t[230].length;++a)if(t[230][a].charCodeAt(0)!==65533){r[t[230][a]]=58880+a;e[58880+a]=t[230][a]}t[231]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������纭纰纾绀绁绂绉绋绌绐绔绗绛绠绡绨绫绮绯绱绲缍绶绺绻绾缁缂缃缇缈缋缌缏缑缒缗缙缜缛缟缡缢缣缤缥缦缧缪缫缬缭缯缰缱缲缳缵幺畿巛甾邕玎玑玮玢玟珏珂珑玷玳珀珉珈珥珙顼琊珩珧珞玺珲琏琪瑛琦琥琨琰琮琬�\".split(\"\");for(a=0;a!=t[231].length;++a)if(t[231][a].charCodeAt(0)!==65533){r[t[231][a]]=59136+a;e[59136+a]=t[231][a]}t[232]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������琛琚瑁瑜瑗瑕瑙瑷瑭瑾璜璎璀璁璇璋璞璨璩璐璧瓒璺韪韫韬杌杓杞杈杩枥枇杪杳枘枧杵枨枞枭枋杷杼柰栉柘栊柩枰栌柙枵柚枳柝栀柃枸柢栎柁柽栲栳桠桡桎桢桄桤梃栝桕桦桁桧桀栾桊桉栩梵梏桴桷梓桫棂楮棼椟椠棹�\".split(\"\");for(a=0;a!=t[232].length;++a)if(t[232][a].charCodeAt(0)!==65533){r[t[232][a]]=59392+a;e[59392+a]=t[232][a]}t[233]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������椤棰椋椁楗棣椐楱椹楠楂楝榄楫榀榘楸椴槌榇榈槎榉楦楣楹榛榧榻榫榭槔榱槁槊槟榕槠榍槿樯槭樗樘橥槲橄樾檠橐橛樵檎橹樽樨橘橼檑檐檩檗檫猷獒殁殂殇殄殒殓殍殚殛殡殪轫轭轱轲轳轵轶轸轷轹轺轼轾辁辂辄辇辋�\".split(\"\");for(a=0;a!=t[233].length;++a)if(t[233][a].charCodeAt(0)!==65533){r[t[233][a]]=59648+a;e[59648+a]=t[233][a]}t[234]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������辍辎辏辘辚軎戋戗戛戟戢戡戥戤戬臧瓯瓴瓿甏甑甓攴旮旯旰昊昙杲昃昕昀炅曷昝昴昱昶昵耆晟晔晁晏晖晡晗晷暄暌暧暝暾曛曜曦曩贲贳贶贻贽赀赅赆赈赉赇赍赕赙觇觊觋觌觎觏觐觑牮犟牝牦牯牾牿犄犋犍犏犒挈挲掰�\".split(\"\");for(a=0;a!=t[234].length;++a)if(t[234][a].charCodeAt(0)!==65533){r[t[234][a]]=59904+a;e[59904+a]=t[234][a]}t[235]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������搿擘耄毪毳毽毵毹氅氇氆氍氕氘氙氚氡氩氤氪氲攵敕敫牍牒牖爰虢刖肟肜肓肼朊肽肱肫肭肴肷胧胨胩胪胛胂胄胙胍胗朐胝胫胱胴胭脍脎胲胼朕脒豚脶脞脬脘脲腈腌腓腴腙腚腱腠腩腼腽腭腧塍媵膈膂膑滕膣膪臌朦臊膻�\".split(\"\");for(a=0;a!=t[235].length;++a)if(t[235][a].charCodeAt(0)!==65533){r[t[235][a]]=60160+a;e[60160+a]=t[235][a]}t[236]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������臁膦欤欷欹歃歆歙飑飒飓飕飙飚殳彀毂觳斐齑斓於旆旄旃旌旎旒旖炀炜炖炝炻烀炷炫炱烨烊焐焓焖焯焱煳煜煨煅煲煊煸煺熘熳熵熨熠燠燔燧燹爝爨灬焘煦熹戾戽扃扈扉礻祀祆祉祛祜祓祚祢祗祠祯祧祺禅禊禚禧禳忑忐�\".split(\"\");for(a=0;a!=t[236].length;++a)if(t[236][a].charCodeAt(0)!==65533){r[t[236][a]]=60416+a;e[60416+a]=t[236][a]}t[237]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������怼恝恚恧恁恙恣悫愆愍慝憩憝懋懑戆肀聿沓泶淼矶矸砀砉砗砘砑斫砭砜砝砹砺砻砟砼砥砬砣砩硎硭硖硗砦硐硇硌硪碛碓碚碇碜碡碣碲碹碥磔磙磉磬磲礅磴礓礤礞礴龛黹黻黼盱眄眍盹眇眈眚眢眙眭眦眵眸睐睑睇睃睚睨�\".split(\"\");for(a=0;a!=t[237].length;++a)if(t[237][a].charCodeAt(0)!==65533){r[t[237][a]]=60672+a;e[60672+a]=t[237][a]}t[238]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������睢睥睿瞍睽瞀瞌瞑瞟瞠瞰瞵瞽町畀畎畋畈畛畲畹疃罘罡罟詈罨罴罱罹羁罾盍盥蠲钅钆钇钋钊钌钍钏钐钔钗钕钚钛钜钣钤钫钪钭钬钯钰钲钴钶钷钸钹钺钼钽钿铄铈铉铊铋铌铍铎铐铑铒铕铖铗铙铘铛铞铟铠铢铤铥铧铨铪�\".split(\"\");for(a=0;a!=t[238].length;++a)if(t[238][a].charCodeAt(0)!==65533){r[t[238][a]]=60928+a;e[60928+a]=t[238][a]}t[239]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������铩铫铮铯铳铴铵铷铹铼铽铿锃锂锆锇锉锊锍锎锏锒锓锔锕锖锘锛锝锞锟锢锪锫锩锬锱锲锴锶锷锸锼锾锿镂锵镄镅镆镉镌镎镏镒镓镔镖镗镘镙镛镞镟镝镡镢镤镥镦镧镨镩镪镫镬镯镱镲镳锺矧矬雉秕秭秣秫稆嵇稃稂稞稔�\".split(\"\");for(a=0;a!=t[239].length;++a)if(t[239][a].charCodeAt(0)!==65533){r[t[239][a]]=61184+a;e[61184+a]=t[239][a]}t[240]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������稹稷穑黏馥穰皈皎皓皙皤瓞瓠甬鸠鸢鸨鸩鸪鸫鸬鸲鸱鸶鸸鸷鸹鸺鸾鹁鹂鹄鹆鹇鹈鹉鹋鹌鹎鹑鹕鹗鹚鹛鹜鹞鹣鹦鹧鹨鹩鹪鹫鹬鹱鹭鹳疒疔疖疠疝疬疣疳疴疸痄疱疰痃痂痖痍痣痨痦痤痫痧瘃痱痼痿瘐瘀瘅瘌瘗瘊瘥瘘瘕瘙�\".split(\"\");for(a=0;a!=t[240].length;++a)if(t[240][a].charCodeAt(0)!==65533){r[t[240][a]]=61440+a;e[61440+a]=t[240][a]}t[241]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������瘛瘼瘢瘠癀瘭瘰瘿瘵癃瘾瘳癍癞癔癜癖癫癯翊竦穸穹窀窆窈窕窦窠窬窨窭窳衤衩衲衽衿袂袢裆袷袼裉裢裎裣裥裱褚裼裨裾裰褡褙褓褛褊褴褫褶襁襦襻疋胥皲皴矜耒耔耖耜耠耢耥耦耧耩耨耱耋耵聃聆聍聒聩聱覃顸颀颃�\".split(\"\");for(a=0;a!=t[241].length;++a)if(t[241][a].charCodeAt(0)!==65533){r[t[241][a]]=61696+a;e[61696+a]=t[241][a]}t[242]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������颉颌颍颏颔颚颛颞颟颡颢颥颦虍虔虬虮虿虺虼虻蚨蚍蚋蚬蚝蚧蚣蚪蚓蚩蚶蛄蚵蛎蚰蚺蚱蚯蛉蛏蚴蛩蛱蛲蛭蛳蛐蜓蛞蛴蛟蛘蛑蜃蜇蛸蜈蜊蜍蜉蜣蜻蜞蜥蜮蜚蜾蝈蜴蜱蜩蜷蜿螂蜢蝽蝾蝻蝠蝰蝌蝮螋蝓蝣蝼蝤蝙蝥螓螯螨蟒�\".split(\"\");for(a=0;a!=t[242].length;++a)if(t[242][a].charCodeAt(0)!==65533){r[t[242][a]]=61952+a;e[61952+a]=t[242][a]}t[243]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������蟆螈螅螭螗螃螫蟥螬螵螳蟋蟓螽蟑蟀蟊蟛蟪蟠蟮蠖蠓蟾蠊蠛蠡蠹蠼缶罂罄罅舐竺竽笈笃笄笕笊笫笏筇笸笪笙笮笱笠笥笤笳笾笞筘筚筅筵筌筝筠筮筻筢筲筱箐箦箧箸箬箝箨箅箪箜箢箫箴篑篁篌篝篚篥篦篪簌篾篼簏簖簋�\".split(\"\");for(a=0;a!=t[243].length;++a)if(t[243][a].charCodeAt(0)!==65533){r[t[243][a]]=62208+a;e[62208+a]=t[243][a]}t[244]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������簟簪簦簸籁籀臾舁舂舄臬衄舡舢舣舭舯舨舫舸舻舳舴舾艄艉艋艏艚艟艨衾袅袈裘裟襞羝羟羧羯羰羲籼敉粑粝粜粞粢粲粼粽糁糇糌糍糈糅糗糨艮暨羿翎翕翥翡翦翩翮翳糸絷綦綮繇纛麸麴赳趄趔趑趱赧赭豇豉酊酐酎酏酤�\".split(\"\");for(a=0;a!=t[244].length;++a)if(t[244][a].charCodeAt(0)!==65533){r[t[244][a]]=62464+a;e[62464+a]=t[244][a]}t[245]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������酢酡酰酩酯酽酾酲酴酹醌醅醐醍醑醢醣醪醭醮醯醵醴醺豕鹾趸跫踅蹙蹩趵趿趼趺跄跖跗跚跞跎跏跛跆跬跷跸跣跹跻跤踉跽踔踝踟踬踮踣踯踺蹀踹踵踽踱蹉蹁蹂蹑蹒蹊蹰蹶蹼蹯蹴躅躏躔躐躜躞豸貂貊貅貘貔斛觖觞觚觜�\".split(\"\");for(a=0;a!=t[245].length;++a)if(t[245][a].charCodeAt(0)!==65533){r[t[245][a]]=62720+a;e[62720+a]=t[245][a]}t[246]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������觥觫觯訾謦靓雩雳雯霆霁霈霏霎霪霭霰霾龀龃龅龆龇龈龉龊龌黾鼋鼍隹隼隽雎雒瞿雠銎銮鋈錾鍪鏊鎏鐾鑫鱿鲂鲅鲆鲇鲈稣鲋鲎鲐鲑鲒鲔鲕鲚鲛鲞鲟鲠鲡鲢鲣鲥鲦鲧鲨鲩鲫鲭鲮鲰鲱鲲鲳鲴鲵鲶鲷鲺鲻鲼鲽鳄鳅鳆鳇鳊鳋�\".split(\"\");for(a=0;a!=t[246].length;++a)if(t[246][a].charCodeAt(0)!==65533){r[t[246][a]]=62976+a;e[62976+a]=t[246][a]}t[247]=\"�����������������������������������������������������������������������������������������������������������������������������������������������������������������鳌鳍鳎鳏鳐鳓鳔鳕鳗鳘鳙鳜鳝鳟鳢靼鞅鞑鞒鞔鞯鞫鞣鞲鞴骱骰骷鹘骶骺骼髁髀髅髂髋髌髑魅魃魇魉魈魍魑飨餍餮饕饔髟髡髦髯髫髻髭髹鬈鬏鬓鬟鬣麽麾縻麂麇麈麋麒鏖麝麟黛黜黝黠黟黢黩黧黥黪黯鼢鼬鼯鼹鼷鼽鼾齄�\".split(\"\");for(a=0;a!=t[247].length;++a)if(t[247][a].charCodeAt(0)!==65533){r[t[247][a]]=63232+a;e[63232+a]=t[247][a]}return{enc:r,dec:e}}();cptable[10029]=function(){var e=\"\\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007\\b\\t\\n\\x0B\\f\\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄĀāÉĄÖÜáąČäčĆćéŹźĎíďĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņŃ¬√ńŇ∆«»… ňŐÕőŌ–—“”‘’÷◊ōŔŕŘ‹›řŖŗŠ‚„šŚśÁŤťÍŽžŪÓÔūŮÚůŰűŲųÝýķŻŁżĢˇ\",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[10079]=function(){var e=\"\\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007\\b\\t\\n\\x0B\\f\\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûüÝ°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸ⁄¤ÐðÞþý·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙıˆ˜¯˘˙˚¸˝˛ˇ\",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();cptable[10081]=function(){var e=\"\\0\u0001\u0002\u0003\u0004\u0005\u0006\u0007\\b\\t\\n\\x0B\\f\\r\u000e\u000f\u0010\u0011\u0012\u0013\u0014\u0015\u0016\u0017\u0018\u0019\u001a\u001b\u001c\u001d\u001e\u001f !\\\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\\\]^_`abcdefghijklmnopqrstuvwxyz{|}~ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑∏π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“”‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊÁËÈÍÎÏÌÓÔ�ÒÚÛÙ�ˆ˜¯˘˙˚¸˝˛ˇ\",r=[],t={};for(var a=0;a!=e.length;++a){if(e.charCodeAt(a)!==65533)t[e.charAt(a)]=a;r[a]=e.charAt(a)}return{enc:t,dec:r}}();if(typeof module!==\"undefined\"&&module.exports&&typeof DO_NOT_EXPORT_CODEPAGE===\"undefined\")module.exports=cptable;(function(e,r){\"use strict\";if(typeof cptable===\"undefined\"){if(typeof require!==\"undefined\"){var t=cptable;if(typeof module!==\"undefined\"&&module.exports&&typeof DO_NOT_EXPORT_CODEPAGE===\"undefined\")module.exports=r(t);else e.cptable=r(t)}else throw new Error(\"cptable not found\")}else cptable=r(cptable)})(this,function(e){\"use strict\";var r={1200:\"utf16le\",1201:\"utf16be\",12000:\"utf32le\",12001:\"utf32be\",16969:\"utf64le\",20127:\"ascii\",65000:\"utf7\",65001:\"utf8\"};var t=[874,1250,1251,1252,1253,1254,1255,1256,1e4];var a=[932,936,949,950];var n=[65001];var i={};var s={};var f={};var o={};var l=function F(e){return String.fromCharCode(e)};var c=function P(e){return e.charCodeAt(0)};var h=typeof Buffer!==\"undefined\";var u=function(){};if(h){var d=!Buffer.from;if(!d)try{Buffer.from(\"foo\",\"utf8\")}catch(p){d=true}u=d?function(e,r){return r?new Buffer(e,r):new Buffer(e)}:Buffer.from.bind(Buffer);if(!Buffer.allocUnsafe)Buffer.allocUnsafe=function(e){return new Buffer(e)};var v=1024,g=Buffer.allocUnsafe(v);var b=function N(e){var r=Buffer.allocUnsafe(65536);for(var t=0;t<65536;++t)r[t]=0;var a=Object.keys(e),n=a.length;for(var i=0,s=a[i];i<n;++i){if(!(s=a[i]))continue;r[s.charCodeAt(0)]=e[s]}return r};var m=function L(r){var t=b(e[r].enc);return function a(e,r){var a=e.length;var n,i=0,s=0,f=0,o=0;if(typeof e===\"string\"){n=Buffer.allocUnsafe(a);for(i=0;i<a;++i)n[i]=t[e.charCodeAt(i)]}else if(Buffer.isBuffer(e)){n=Buffer.allocUnsafe(2*a);s=0;for(i=0;i<a;++i){f=e[i];if(f<128)n[s++]=t[f];else if(f<224){n[s++]=t[((f&31)<<6)+(e[i+1]&63)];++i}else if(f<240){n[s++]=t[((f&15)<<12)+((e[i+1]&63)<<6)+(e[i+2]&63)];i+=2}else{o=((f&7)<<18)+((e[i+1]&63)<<12)+((e[i+2]&63)<<6)+(e[i+3]&63);i+=3;if(o<65536)n[s++]=t[o];else{o-=65536;n[s++]=t[55296+(o>>10&1023)];n[s++]=t[56320+(o&1023)]}}}n=n.slice(0,s)}else{n=Buffer.allocUnsafe(a);for(i=0;i<a;++i)n[i]=t[e[i].charCodeAt(0)]}if(!r||r===\"buf\")return n;if(r!==\"arr\")return n.toString(\"binary\");return[].slice.call(n)}};var w=function M(r){var t=e[r].dec;var a=Buffer.allocUnsafe(131072),n=0,i=\"\";for(n=0;n<t.length;++n){if(!(i=t[n]))continue;var s=i.charCodeAt(0);a[2*n]=s&255;a[2*n+1]=s>>8}return function f(e){var r=e.length,t=0,n=0;if(2*r>v){v=2*r;g=Buffer.allocUnsafe(v)}if(Buffer.isBuffer(e)){for(t=0;t<r;t++){n=2*e[t];g[2*t]=a[n];g[2*t+1]=a[n+1]}}else if(typeof e===\"string\"){for(t=0;t<r;t++){n=2*e.charCodeAt(t);g[2*t]=a[n];g[2*t+1]=a[n+1]}}else{for(t=0;t<r;t++){n=2*e[t];g[2*t]=a[n];g[2*t+1]=a[n+1]}}return g.slice(0,2*r).toString(\"ucs2\")}};var C=function U(r){var t=e[r].enc;var a=Buffer.allocUnsafe(131072);for(var n=0;n<131072;++n)a[n]=0;var i=Object.keys(t);for(var s=0,f=i[s];s<i.length;++s){if(!(f=i[s]))continue;var o=f.charCodeAt(0);a[2*o]=t[f]&255;a[2*o+1]=t[f]>>8}return function l(e,r){var t=e.length,n=Buffer.allocUnsafe(2*t),i=0,s=0,f=0,o=0,l=0;if(typeof e===\"string\"){for(i=o=0;i<t;++i){s=e.charCodeAt(i)*2;n[o++]=a[s+1]||a[s];if(a[s+1]>0)n[o++]=a[s]}n=n.slice(0,o)}else if(Buffer.isBuffer(e)){for(i=o=0;i<t;++i){l=e[i];if(l<128)s=l;else if(l<224){s=((l&31)<<6)+(e[i+1]&63);++i}else if(l<240){s=((l&15)<<12)+((e[i+1]&63)<<6)+(e[i+2]&63);i+=2}else{s=((l&7)<<18)+((e[i+1]&63)<<12)+((e[i+2]&63)<<6)+(e[i+3]&63);i+=3}if(s<65536){s*=2;n[o++]=a[s+1]||a[s];if(a[s+1]>0)n[o++]=a[s]}else{f=s-65536;s=2*(55296+(f>>10&1023));n[o++]=a[s+1]||a[s];if(a[s+1]>0)n[o++]=a[s];s=2*(56320+(f&1023));n[o++]=a[s+1]||a[s];if(a[s+1]>0)n[o++]=a[s]}}n=n.slice(0,o)}else{for(i=o=0;i<t;i++){s=e[i].charCodeAt(0)*2;n[o++]=a[s+1]||a[s];if(a[s+1]>0)n[o++]=a[s]}}if(!r||r===\"buf\")return n;if(r!==\"arr\")return n.toString(\"binary\");return[].slice.call(n)}};var k=function H(r){var t=e[r].dec;var a=Buffer.allocUnsafe(131072),n=0,i,s=0,f=0,o=0;for(o=0;o<65536;++o){a[2*o]=255;a[2*o+1]=253}for(n=0;n<t.length;++n){if(!(i=t[n]))continue;s=i.charCodeAt(0);f=2*n;a[f]=s&255;a[f+1]=s>>8}return function l(e){var r=e.length,t=Buffer.allocUnsafe(2*r),n=0,i=0,s=0;if(Buffer.isBuffer(e)){for(n=0;n<r;n++){i=2*e[n];if(a[i]===255&&a[i+1]===253){i=2*((e[n]<<8)+e[n+1]);++n}t[s++]=a[i];t[s++]=a[i+1]}}else if(typeof e===\"string\"){for(n=0;n<r;n++){i=2*e.charCodeAt(n);if(a[i]===255&&a[i+1]===253){i=2*((e.charCodeAt(n)<<8)+e.charCodeAt(n+1));++n}t[s++]=a[i];t[s++]=a[i+1]}}else{for(n=0;n<r;n++){i=2*e[n];if(a[i]===255&&a[i+1]===253){i=2*((e[n]<<8)+e[n+1]);++n}t[s++]=a[i];t[s++]=a[i+1]}}return t.slice(0,s).toString(\"ucs2\")}};i[65001]=function W(e){if(typeof e===\"string\")return W(e.split(\"\").map(c));var r=e.length,t=0,a=0;if(4*r>v){v=4*r;g=Buffer.allocUnsafe(v)}var n=0;if(r>=3&&e[0]==239)if(e[1]==187&&e[2]==191)n=3;for(var i=1,s=0,f=0;n<r;n+=i){i=1;f=e[n];if(f<128)t=f;else if(f<224){t=(f&31)*64+(e[n+1]&63);i=2}else if(f<240){t=((f&15)<<12)+(e[n+1]&63)*64+(e[n+2]&63);i=3}else{t=(f&7)*262144+((e[n+1]&63)<<12)+(e[n+2]&63)*64+(e[n+3]&63);i=4}if(t<65536){g[s++]=t&255;g[s++]=t>>8}else{t-=65536;a=55296+(t>>10&1023);t=56320+(t&1023);g[s++]=a&255;g[s++]=a>>>8;g[s++]=t&255;g[s++]=t>>>8&255}}return g.slice(0,s).toString(\"ucs2\")};s[65001]=function z(e,r){if(h&&Buffer.isBuffer(e)){if(!r||r===\"buf\")return e;if(r!==\"arr\")return e.toString(\"binary\");return[].slice.call(e)}var t=e.length,a=0,n=0,i=0;var s=typeof e===\"string\";if(4*t>v){v=4*t;g=Buffer.allocUnsafe(v)}for(var f=0;f<t;++f){a=s?e.charCodeAt(f):e[f].charCodeAt(0);if(a<=127)g[i++]=a;else if(a<=2047){g[i++]=192+(a>>6);g[i++]=128+(a&63)}else if(a>=55296&&a<=57343){a-=55296;++f;n=(s?e.charCodeAt(f):e[f].charCodeAt(0))-56320+(a<<10);g[i++]=240+(n>>>18&7);g[i++]=144+(n>>>12&63);g[i++]=128+(n>>>6&63);g[i++]=128+(n&63)}else{g[i++]=224+(a>>12);g[i++]=128+(a>>6&63);g[i++]=128+(a&63)}}if(!r||r===\"buf\")return g.slice(0,i);if(r!==\"arr\")return g.slice(0,i).toString(\"binary\");return[].slice.call(g,0,i)}}var E=function V(){if(h){if(f[t[0]])return;var r=0,l=0;for(r=0;r<t.length;++r){l=t[r];if(e[l]){f[l]=w(l);o[l]=m(l)}}for(r=0;r<a.length;++r){l=a[r];if(e[l]){f[l]=k(l);o[l]=C(l)}}for(r=0;r<n.length;++r){l=n[r];if(i[l])f[l]=i[l];if(s[l])o[l]=s[l]}}};var S=function(e,r){void r;return\"\"};var A=function X(e){delete f[e];delete o[e]};var _=function G(){if(h){if(!f[t[0]])return;t.forEach(A);a.forEach(A);n.forEach(A)}x=S;I=0};var B={encache:E,decache:_,sbcs:t,dbcs:a};E();var T=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\";var y=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789'(),-./:?\";var x=S,I=0;var R=function j(t,a,n){if(t===I&&x){return x(a,n)}if(o[t]){x=o[I=t];return x(a,n)}if(h&&Buffer.isBuffer(a))a=a.toString(\"utf8\");var i=a.length;var s=h?Buffer.allocUnsafe(4*i):[],f=0,c=0,d=0,p=0;var v=e[t],g,b=\"\";var m=typeof a===\"string\";if(v&&(g=v.enc))for(c=0;c<i;++c,++d){f=g[m?a.charAt(c):a[c]];if(f>255){s[d]=f>>8;s[++d]=f&255}else s[d]=f&255}else if(b=r[t])switch(b){case\"utf8\":if(h&&m){s=u(a,b);d=s.length;break}for(c=0;c<i;++c,++d){f=m?a.charCodeAt(c):a[c].charCodeAt(0);if(f<=127)s[d]=f;else if(f<=2047){s[d]=192+(f>>6);s[++d]=128+(f&63)}else if(f>=55296&&f<=57343){f-=55296;p=(m?a.charCodeAt(++c):a[++c].charCodeAt(0))-56320+(f<<10);s[d]=240+(p>>>18&7);s[++d]=144+(p>>>12&63);s[++d]=128+(p>>>6&63);s[++d]=128+(p&63)}else{s[d]=224+(f>>12);s[++d]=128+(f>>6&63);s[++d]=128+(f&63)}}break;case\"ascii\":if(h&&typeof a===\"string\"){s=u(a,b);d=s.length;break}for(c=0;c<i;++c,++d){f=m?a.charCodeAt(c):a[c].charCodeAt(0);if(f<=127)s[d]=f;else throw new Error(\"bad ascii \"+f)}break;case\"utf16le\":if(h&&typeof a===\"string\"){s=u(a,b);d=s.length;break}for(c=0;c<i;++c){f=m?a.charCodeAt(c):a[c].charCodeAt(0);s[d++]=f&255;s[d++]=f>>8}break;case\"utf16be\":for(c=0;c<i;++c){f=m?a.charCodeAt(c):a[c].charCodeAt(0);s[d++]=f>>8;s[d++]=f&255}break;case\"utf32le\":for(c=0;c<i;++c){f=m?a.charCodeAt(c):a[c].charCodeAt(0);if(f>=55296&&f<=57343)f=65536+(f-55296<<10)+(a[++c].charCodeAt(0)-56320);s[d++]=f&255;f>>=8;s[d++]=f&255;f>>=8;s[d++]=f&255;f>>=8;s[d++]=f&255}break;case\"utf32be\":for(c=0;c<i;++c){f=m?a.charCodeAt(c):a[c].charCodeAt(0);if(f>=55296&&f<=57343)f=65536+(f-55296<<10)+(a[++c].charCodeAt(0)-56320);s[d+3]=f&255;f>>=8;s[d+2]=f&255;f>>=8;s[d+1]=f&255;f>>=8;s[d]=f&255;d+=4}break;case\"utf7\":for(c=0;c<i;c++){var w=m?a.charAt(c):a[c].charAt(0);if(w===\"+\"){s[d++]=43;s[d++]=45;continue}if(y.indexOf(w)>-1){s[d++]=w.charCodeAt(0);continue}var C=j(1201,w);s[d++]=43;s[d++]=T.charCodeAt(C[0]>>2);s[d++]=T.charCodeAt(((C[0]&3)<<4)+((C[1]||0)>>4));s[d++]=T.charCodeAt(((C[1]&15)<<2)+((C[2]||0)>>6));s[d++]=45}break;default:throw new Error(\"Unsupported magic: \"+t+\" \"+r[t]);}else throw new Error(\"Unrecognized CP: \"+t);s=s.slice(0,d);if(!h)return n==\"str\"?s.map(l).join(\"\"):s;if(!n||n===\"buf\")return s;if(n!==\"arr\")return s.toString(\"binary\");return[].slice.call(s)};var O=function K(t,a){var n;if(n=f[t])return n(a);if(typeof a===\"string\")return K(t,a.split(\"\").map(c));var i=a.length,s=new Array(i),o=\"\",l=0,u=0,d=1,p=0,v=0;var g=e[t],b,m=\"\";if(g&&(b=g.dec)){for(u=0;u<i;u+=d){d=2;o=b[(a[u]<<8)+a[u+1]];if(!o){d=1;o=b[a[u]]}if(!o)throw new Error(\"Unrecognized code: \"+a[u]+\" \"+a[u+d-1]+\" \"+u+\" \"+d+\" \"+b[a[u]]);s[p++]=o}}else if(m=r[t])switch(m){case\"utf8\":if(i>=3&&a[0]==239)if(a[1]==187&&a[2]==191)u=3;for(;u<i;u+=d){d=1;if(a[u]<128)l=a[u];else if(a[u]<224){l=(a[u]&31)*64+(a[u+1]&63);d=2}else if(a[u]<240){l=((a[u]&15)<<12)+(a[u+1]&63)*64+(a[u+2]&63);d=3}else{l=(a[u]&7)*262144+((a[u+1]&63)<<12)+(a[u+2]&63)*64+(a[u+3]&63);d=4}if(l<65536){s[p++]=String.fromCharCode(l)}else{l-=65536;v=55296+(l>>10&1023);l=56320+(l&1023);s[p++]=String.fromCharCode(v);s[p++]=String.fromCharCode(l)}}break;case\"ascii\":if(h&&Buffer.isBuffer(a))return a.toString(m);for(u=0;u<i;u++)s[u]=String.fromCharCode(a[u]);p=i;break;case\"utf16le\":if(i>=2&&a[0]==255)if(a[1]==254)u=2;if(h&&Buffer.isBuffer(a))return a.toString(m);d=2;for(;u+1<i;u+=d){s[p++]=String.fromCharCode((a[u+1]<<8)+a[u])}break;case\"utf16be\":if(i>=2&&a[0]==254)if(a[1]==255)u=2;d=2;for(;u+1<i;u+=d){s[p++]=String.fromCharCode((a[u]<<8)+a[u+1])}break;case\"utf32le\":if(i>=4&&a[0]==255)if(a[1]==254&&a[2]===0&&a[3]===0)u=4;d=4;for(;u<i;u+=d){l=(a[u+3]<<24)+(a[u+2]<<16)+(a[u+1]<<8)+a[u];if(l>65535){l-=65536;s[p++]=String.fromCharCode(55296+(l>>10&1023));s[p++]=String.fromCharCode(56320+(l&1023))}else s[p++]=String.fromCharCode(l)}break;case\"utf32be\":if(i>=4&&a[3]==255)if(a[2]==254&&a[1]===0&&a[0]===0)u=4;d=4;for(;u<i;u+=d){l=(a[u]<<24)+(a[u+1]<<16)+(a[u+2]<<8)+a[u+3];if(l>65535){l-=65536;s[p++]=String.fromCharCode(55296+(l>>10&1023));s[p++]=String.fromCharCode(56320+(l&1023))}else s[p++]=String.fromCharCode(l)}break;case\"utf7\":if(i>=4&&a[0]==43&&a[1]==47&&a[2]==118){if(i>=5&&a[3]==56&&a[4]==45)u=5;else if(a[3]==56||a[3]==57||a[3]==43||a[3]==47)u=4}for(;u<i;u+=d){if(a[u]!==43){d=1;s[p++]=String.fromCharCode(a[u]);continue}d=1;if(a[u+1]===45){d=2;s[p++]=\"+\";continue}while(String.fromCharCode(a[u+d]).match(/[A-Za-z0-9+\\/]/))d++;var w=0;if(a[u+d]===45){++d;w=1}var C=[];var k=\"\";var E=0,S=0,A=0;var _=0,B=0,y=0,x=0;for(var I=1;I<d-w;){_=T.indexOf(String.fromCharCode(a[u+I++]));B=T.indexOf(String.fromCharCode(a[u+I++]));E=_<<2|B>>4;C.push(E);y=T.indexOf(String.fromCharCode(a[u+I++]));if(y===-1)break;S=(B&15)<<4|y>>2;C.push(S);x=T.indexOf(String.fromCharCode(a[u+I++]));if(x===-1)break;A=(y&3)<<6|x;if(x<64)C.push(A)}k=K(1201,C);for(I=0;I<k.length;++I)s[p++]=k.charAt(I)}break;default:throw new Error(\"Unsupported magic: \"+t+\" \"+r[t]);}else throw new Error(\"Unrecognized CP: \"+t);return s.slice(0,p).join(\"\")};var D=function Y(t){return!!(e[t]||r[t])};e.utils={decode:O,encode:R,hascp:D,magic:r,cache:B};return e});var XLSX={};function make_xlsx_lib(e){e.version=\"0.15.6\";var r=1200,t=1252;if(typeof module!==\"undefined\"&&typeof require!==\"undefined\"){if(typeof cptable===\"undefined\"){if(typeof global!==\"undefined\")global.cptable=undefined;else if(typeof window!==\"undefined\")window.cptable=undefined}}var a=[874,932,936,949,950];for(var n=0;n<=8;++n)a.push(1250+n);var i={0:1252,1:65001,2:65001,77:1e4,128:932,129:949,130:1361,134:936,136:950,161:1253,162:1254,163:1258,177:1255,178:1256,186:1257,204:1251,222:874,238:1250,255:1252,69:6969};var s=function(e){if(a.indexOf(e)==-1)return;t=i[0]=e};function f(){s(1252)}var o=function(e){r=e;s(e)};function l(){o(1200);f()}function c(e){var r=[];for(var t=0,a=e.length;t<a;++t)r[t]=e.charCodeAt(t);return r}function h(e){var r=[];for(var t=0;t<e.length>>1;++t)r[t]=String.fromCharCode(e.charCodeAt(2*t)+(e.charCodeAt(2*t+1)<<8));return r.join(\"\")}function u(e){var r=[];for(var t=0;t<e.length>>1;++t)r[t]=String.fromCharCode(e.charCodeAt(2*t+1)+(e.charCodeAt(2*t)<<8));return r.join(\"\")}var d=function(e){var r=e.charCodeAt(0),t=e.charCodeAt(1);if(r==255&&t==254)return h(e.slice(2));if(r==254&&t==255)return u(e.slice(2));if(r==65279)return e.slice(1);return e};var p=function tb(e){return String.fromCharCode(e)};var v=function ab(e){return String.fromCharCode(e)};if(typeof cptable!==\"undefined\"){o=function(e){r=e;s(e)};d=function(e){if(e.charCodeAt(0)===255&&e.charCodeAt(1)===254){return cptable.utils.decode(1200,c(e.slice(2)))}return e};p=function nb(e){if(r===1200)return String.fromCharCode(e);return cptable.utils.decode(r,[e&255,e>>8])[0]};v=function ib(e){return cptable.utils.decode(t,[e])[0]}}var g=null;var b=true;var m=function sb(){var e=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\";return{encode:function(r){var t=\"\";var a=0,n=0,i=0,s=0,f=0,o=0,l=0;for(var c=0;c<r.length;){a=r.charCodeAt(c++);s=a>>2;n=r.charCodeAt(c++);f=(a&3)<<4|n>>4;i=r.charCodeAt(c++);o=(n&15)<<2|i>>6;l=i&63;if(isNaN(n)){o=l=64}else if(isNaN(i)){l=64}t+=e.charAt(s)+e.charAt(f)+e.charAt(o)+e.charAt(l)}return t},decode:function r(t){var a=\"\";var n=0,i=0,s=0,f=0,o=0,l=0,c=0;t=t.replace(/[^\\w\\+\\/\\=]/g,\"\");for(var h=0;h<t.length;){f=e.indexOf(t.charAt(h++));o=e.indexOf(t.charAt(h++));n=f<<2|o>>4;a+=String.fromCharCode(n);l=e.indexOf(t.charAt(h++));i=(o&15)<<4|l>>2;if(l!==64){a+=String.fromCharCode(i)}c=e.indexOf(t.charAt(h++));s=(l&3)<<6|c;if(c!==64){a+=String.fromCharCode(s)}}return a}}}();var w=typeof Buffer!==\"undefined\"&&typeof process!==\"undefined\"&&typeof process.versions!==\"undefined\"&&!!process.versions.node;var C=function(){};if(typeof Buffer!==\"undefined\"){var k=!Buffer.from;if(!k)try{Buffer.from(\"foo\",\"utf8\")}catch(E){k=true}C=k?function(e,r){return r?new Buffer(e,r):new Buffer(e)}:Buffer.from.bind(Buffer);if(!Buffer.alloc)Buffer.alloc=function(e){return new Buffer(e)};if(!Buffer.allocUnsafe)Buffer.allocUnsafe=function(e){return new Buffer(e)}}function S(e){return w?Buffer.alloc(e):new Array(e)}function A(e){return w?Buffer.allocUnsafe(e):new Array(e)}var _=function fb(e){if(w)return C(e,\"binary\");return e.split(\"\").map(function(e){return e.charCodeAt(0)&255})};function B(e){if(typeof ArrayBuffer===\"undefined\")return _(e);var r=new ArrayBuffer(e.length),t=new Uint8Array(r);for(var a=0;a!=e.length;++a)t[a]=e.charCodeAt(a)&255;return r}function T(e){if(Array.isArray(e))return e.map(function(e){return String.fromCharCode(e)}).join(\"\");var r=[];for(var t=0;t<e.length;++t)r[t]=String.fromCharCode(e[t]);return r.join(\"\")}function y(e){if(typeof Uint8Array===\"undefined\")throw new Error(\"Unsupported\");return new Uint8Array(e)}function x(e){if(typeof ArrayBuffer==\"undefined\")throw new Error(\"Unsupported\");if(e instanceof ArrayBuffer)return x(new Uint8Array(e));var r=new Array(e.length);for(var t=0;t<e.length;++t)r[t]=e[t];return r}var I=function(e){return[].concat.apply([],e)};var R=/\\u0000/g,O=/[\\u0001-\\u0006]/g;var D={};var F=function ob(e){e.version=\"0.10.3\";function r(e){var r=\"\",t=e.length-1;while(t>=0)r+=e.charAt(t--);return r}function t(e,r){var t=\"\";while(t.length<r)t+=e;return t}function a(e,r){var a=\"\"+e;return a.length>=r?a:t(\"0\",r-a.length)+a}function n(e,r){var a=\"\"+e;return a.length>=r?a:t(\" \",r-a.length)+a}function i(e,r){var a=\"\"+e;return a.length>=r?a:a+t(\" \",r-a.length)}function s(e,r){var a=\"\"+Math.round(e);return a.length>=r?a:t(\"0\",r-a.length)+a}function f(e,r){var a=\"\"+e;return a.length>=r?a:t(\"0\",r-a.length)+a}var o=Math.pow(2,32);function l(e,r){if(e>o||e<-o)return s(e,r);var t=Math.round(e);return f(t,r)}function c(e,r){r=r||0;return e.length>=7+r&&(e.charCodeAt(r)|32)===103&&(e.charCodeAt(r+1)|32)===101&&(e.charCodeAt(r+2)|32)===110&&(e.charCodeAt(r+3)|32)===101&&(e.charCodeAt(r+4)|32)===114&&(e.charCodeAt(r+5)|32)===97&&(e.charCodeAt(r+6)|32)===108}var h=[[\"Sun\",\"Sunday\"],[\"Mon\",\"Monday\"],[\"Tue\",\"Tuesday\"],[\"Wed\",\"Wednesday\"],[\"Thu\",\"Thursday\"],[\"Fri\",\"Friday\"],[\"Sat\",\"Saturday\"]];var u=[[\"J\",\"Jan\",\"January\"],[\"F\",\"Feb\",\"February\"],[\"M\",\"Mar\",\"March\"],[\"A\",\"Apr\",\"April\"],[\"M\",\"May\",\"May\"],[\"J\",\"Jun\",\"June\"],[\"J\",\"Jul\",\"July\"],[\"A\",\"Aug\",\"August\"],[\"S\",\"Sep\",\"September\"],[\"O\",\"Oct\",\"October\"],[\"N\",\"Nov\",\"November\"],[\"D\",\"Dec\",\"December\"]];function d(e){e[0]=\"General\";e[1]=\"0\";e[2]=\"0.00\";e[3]=\"#,##0\";e[4]=\"#,##0.00\";e[9]=\"0%\";e[10]=\"0.00%\";e[11]=\"0.00E+00\";e[12]=\"# ?/?\";e[13]=\"# ??/??\";e[14]=\"m/d/yy\";e[15]=\"d-mmm-yy\";e[16]=\"d-mmm\";e[17]=\"mmm-yy\";e[18]=\"h:mm AM/PM\";e[19]=\"h:mm:ss AM/PM\";e[20]=\"h:mm\";e[21]=\"h:mm:ss\";e[22]=\"m/d/yy h:mm\";e[37]=\"#,##0 ;(#,##0)\";e[38]=\"#,##0 ;[Red](#,##0)\";e[39]=\"#,##0.00;(#,##0.00)\";e[40]=\"#,##0.00;[Red](#,##0.00)\";e[45]=\"mm:ss\";e[46]=\"[h]:mm:ss\";e[47]=\"mmss.0\";e[48]=\"##0.0E+0\";e[49]=\"@\";e[56]='\"上午/下午 \"hh\"時\"mm\"分\"ss\"秒 \"';e[65535]=\"General\"}var p={};d(p);function v(e,r,t){var a=e<0?-1:1;var n=e*a;var i=0,s=1,f=0;var o=1,l=0,c=0;var h=Math.floor(n);while(l<r){h=Math.floor(n);f=h*s+i;c=h*l+o;if(n-h<5e-8)break;n=1/(n-h);i=s;s=f;o=l;l=c}if(c>r){if(l>r){c=o;f=i}else{c=l;f=s}}if(!t)return[0,a*f,c];var u=Math.floor(a*f/c);return[u,a*f-u*c,c]}function g(e,r,t){if(e>2958465||e<0)return null;var a=e|0,n=Math.floor(86400*(e-a)),i=0;var s=[];var f={D:a,T:n,u:86400*(e-a)-n,y:0,m:0,d:0,H:0,M:0,S:0,q:0};if(Math.abs(f.u)<1e-6)f.u=0;if(r&&r.date1904)a+=1462;if(f.u>.9999){f.u=0;if(++n==86400){f.T=n=0;++a;++f.D}}if(a===60){s=t?[1317,10,29]:[1900,2,29];i=3}else if(a===0){s=t?[1317,8,29]:[1900,1,0];i=6}else{if(a>60)--a;var o=new Date(1900,0,1);o.setDate(o.getDate()+a-1);s=[o.getFullYear(),o.getMonth()+1,o.getDate()];i=o.getDay();if(a<60)i=(i+6)%7;if(t)i=A(o,s)}f.y=s[0];f.m=s[1];f.d=s[2];f.S=n%60;n=Math.floor(n/60);f.M=n%60;n=Math.floor(n/60);f.H=n;f.q=i;return f}e.parse_date_code=g;var b=new Date(1899,11,31,0,0,0);var m=b.getTime();var w=new Date(1900,2,1,0,0,0);function C(e,r){var t=e.getTime();if(r)t-=1461*24*60*60*1e3;else if(e>=w)t+=24*60*60*1e3;return(t-(m+(e.getTimezoneOffset()-b.getTimezoneOffset())*6e4))/(24*60*60*1e3)}function k(e){return e.toString(10);\n}e._general_int=k;var E=function M(){var e=/\\.(\\d*[1-9])0+$/,r=/\\.0*$/,t=/\\.(\\d*[1-9])0+/,a=/\\.0*[Ee]/,n=/(E[+-])(\\d)$/;function i(e){var r=e<0?12:11;var t=o(e.toFixed(12));if(t.length<=r)return t;t=e.toPrecision(10);if(t.length<=r)return t;return e.toExponential(5)}function s(r){var t=r.toFixed(11).replace(e,\".$1\");if(t.length>(r<0?12:11))t=r.toPrecision(6);return t}function f(e){for(var r=0;r!=e.length;++r)if((e.charCodeAt(r)|32)===101)return e.replace(t,\".$1\").replace(a,\"E\").replace(\"e\",\"E\").replace(n,\"$10$2\");return e}function o(t){return t.indexOf(\".\")>-1?t.replace(r,\"\").replace(e,\".$1\"):t}return function l(e){var r=Math.floor(Math.log(Math.abs(e))*Math.LOG10E),t;if(r>=-4&&r<=-1)t=e.toPrecision(10+r);else if(Math.abs(r)<=9)t=i(e);else if(r===10)t=e.toFixed(10).substr(0,12);else t=s(e);return o(f(t))}}();e._general_num=E;function S(e,r){switch(typeof e){case\"string\":return e;case\"boolean\":return e?\"TRUE\":\"FALSE\";case\"number\":return(e|0)===e?e.toString(10):E(e);case\"undefined\":return\"\";case\"object\":if(e==null)return\"\";if(e instanceof Date)return N(14,C(e,r&&r.date1904),r);}throw new Error(\"unsupported value in General format: \"+e)}e._general=S;function A(){return 0}function _(e,r,t,n){var i=\"\",s=0,f=0,o=t.y,l,c=0;switch(e){case 98:o=t.y+543;case 121:switch(r.length){case 1:;case 2:l=o%100;c=2;break;default:l=o%1e4;c=4;break;}break;case 109:switch(r.length){case 1:;case 2:l=t.m;c=r.length;break;case 3:return u[t.m-1][1];case 5:return u[t.m-1][0];default:return u[t.m-1][2];}break;case 100:switch(r.length){case 1:;case 2:l=t.d;c=r.length;break;case 3:return h[t.q][0];default:return h[t.q][1];}break;case 104:switch(r.length){case 1:;case 2:l=1+(t.H+11)%12;c=r.length;break;default:throw\"bad hour format: \"+r;}break;case 72:switch(r.length){case 1:;case 2:l=t.H;c=r.length;break;default:throw\"bad hour format: \"+r;}break;case 77:switch(r.length){case 1:;case 2:l=t.M;c=r.length;break;default:throw\"bad minute format: \"+r;}break;case 115:if(r!=\"s\"&&r!=\"ss\"&&r!=\".0\"&&r!=\".00\"&&r!=\".000\")throw\"bad second format: \"+r;if(t.u===0&&(r==\"s\"||r==\"ss\"))return a(t.S,r.length);if(n>=2)f=n===3?1e3:100;else f=n===1?10:1;s=Math.round(f*(t.S+t.u));if(s>=60*f)s=0;if(r===\"s\")return s===0?\"0\":\"\"+s/f;i=a(s,2+n);if(r===\"ss\")return i.substr(0,2);return\".\"+i.substr(2,r.length-1);case 90:switch(r){case\"[h]\":;case\"[hh]\":l=t.D*24+t.H;break;case\"[m]\":;case\"[mm]\":l=(t.D*24+t.H)*60+t.M;break;case\"[s]\":;case\"[ss]\":l=((t.D*24+t.H)*60+t.M)*60+Math.round(t.S+t.u);break;default:throw\"bad abstime format: \"+r;}c=r.length===3?1:2;break;case 101:l=o;c=1;}if(c>0)return a(l,c);else return\"\"}function B(e){var r=3;if(e.length<=r)return e;var t=e.length%r,a=e.substr(0,t);for(;t!=e.length;t+=r)a+=(a.length>0?\",\":\"\")+e.substr(t,r);return a}var T=function U(){var e=/%/g;function s(r,a,n){var i=a.replace(e,\"\"),s=a.length-i.length;return T(r,i,n*Math.pow(10,2*s))+t(\"%\",s)}function f(e,r,t){var a=r.length-1;while(r.charCodeAt(a-1)===44)--a;return T(e,r.substr(0,a),t/Math.pow(10,3*(r.length-a)))}function o(e,r){var t;var a=e.indexOf(\"E\")-e.indexOf(\".\")-1;if(e.match(/^#+0.0E\\+0$/)){if(r==0)return\"0.0E+0\";else if(r<0)return\"-\"+o(e,-r);var n=e.indexOf(\".\");if(n===-1)n=e.indexOf(\"E\");var i=Math.floor(Math.log(r)*Math.LOG10E)%n;if(i<0)i+=n;t=(r/Math.pow(10,i)).toPrecision(a+1+(n+i)%n);if(t.indexOf(\"e\")===-1){var s=Math.floor(Math.log(r)*Math.LOG10E);if(t.indexOf(\".\")===-1)t=t.charAt(0)+\".\"+t.substr(1)+\"E+\"+(s-t.length+i);else t+=\"E+\"+(s-i);while(t.substr(0,2)===\"0.\"){t=t.charAt(0)+t.substr(2,n)+\".\"+t.substr(2+n);t=t.replace(/^0+([1-9])/,\"$1\").replace(/^0+\\./,\"0.\")}t=t.replace(/\\+-/,\"-\")}t=t.replace(/^([+-]?)(\\d*)\\.(\\d*)[Ee]/,function(e,r,t,a){return r+t+a.substr(0,(n+i)%n)+\".\"+a.substr(i)+\"E\"})}else t=r.toExponential(a);if(e.match(/E\\+00$/)&&t.match(/e[+-]\\d$/))t=t.substr(0,t.length-1)+\"0\"+t.charAt(t.length-1);if(e.match(/E\\-/)&&t.match(/e\\+/))t=t.replace(/e\\+/,\"e\");return t.replace(\"e\",\"E\")}var c=/# (\\?+)( ?)\\/( ?)(\\d+)/;function h(e,r,i){var s=parseInt(e[4],10),f=Math.round(r*s),o=Math.floor(f/s);var l=f-o*s,c=s;return i+(o===0?\"\":\"\"+o)+\" \"+(l===0?t(\" \",e[1].length+1+e[4].length):n(l,e[1].length)+e[2]+\"/\"+e[3]+a(c,e[4].length))}function u(e,r,a){return a+(r===0?\"\":\"\"+r)+t(\" \",e[1].length+2+e[4].length)}var d=/^#*0*\\.([0#]+)/;var p=/\\).*[0#]/;var g=/\\(###\\) ###\\\\?-####/;function b(e){var r=\"\",t;for(var a=0;a!=e.length;++a)switch(t=e.charCodeAt(a)){case 35:break;case 63:r+=\" \";break;case 48:r+=\"0\";break;default:r+=String.fromCharCode(t);}return r}function m(e,r){var t=Math.pow(10,r);return\"\"+Math.round(e*t)/t}function w(e,r){if(r<(\"\"+Math.round((e-Math.floor(e))*Math.pow(10,r))).length){return 0}return Math.round((e-Math.floor(e))*Math.pow(10,r))}function C(e,r){if(r<(\"\"+Math.round((e-Math.floor(e))*Math.pow(10,r))).length){return 1}return 0}function k(e){if(e<2147483647&&e>-2147483648)return\"\"+(e>=0?e|0:e-1|0);return\"\"+Math.floor(e)}function E(e,u,S){if(e.charCodeAt(0)===40&&!u.match(p)){var A=u.replace(/\\( */,\"\").replace(/ \\)/,\"\").replace(/\\)/,\"\");if(S>=0)return E(\"n\",A,S);return\"(\"+E(\"n\",A,-S)+\")\"}if(u.charCodeAt(u.length-1)===44)return f(e,u,S);if(u.indexOf(\"%\")!==-1)return s(e,u,S);if(u.indexOf(\"E\")!==-1)return o(u,S);if(u.charCodeAt(0)===36)return\"$\"+E(e,u.substr(u.charAt(1)==\" \"?2:1),S);var _;var y,x,I,R=Math.abs(S),O=S<0?\"-\":\"\";if(u.match(/^00+$/))return O+l(R,u.length);if(u.match(/^[#?]+$/)){_=l(S,0);if(_===\"0\")_=\"\";return _.length>u.length?_:b(u.substr(0,u.length-_.length))+_}if(y=u.match(c))return h(y,R,O);if(u.match(/^#+0+$/))return O+l(R,u.length-u.indexOf(\"0\"));if(y=u.match(d)){_=m(S,y[1].length).replace(/^([^\\.]+)$/,\"$1.\"+b(y[1])).replace(/\\.$/,\".\"+b(y[1])).replace(/\\.(\\d*)$/,function(e,r){return\".\"+r+t(\"0\",b(y[1]).length-r.length)});return u.indexOf(\"0.\")!==-1?_:_.replace(/^0\\./,\".\")}u=u.replace(/^#+([0.])/,\"$1\");if(y=u.match(/^(0*)\\.(#*)$/)){return O+m(R,y[2].length).replace(/\\.(\\d*[1-9])0*$/,\".$1\").replace(/^(-?\\d*)$/,\"$1.\").replace(/^0\\./,y[1].length?\"0.\":\".\")}if(y=u.match(/^#{1,3},##0(\\.?)$/))return O+B(l(R,0));if(y=u.match(/^#,##0\\.([#0]*0)$/)){return S<0?\"-\"+E(e,u,-S):B(\"\"+(Math.floor(S)+C(S,y[1].length)))+\".\"+a(w(S,y[1].length),y[1].length)}if(y=u.match(/^#,#*,#0/))return E(e,u.replace(/^#,#*,/,\"\"),S);if(y=u.match(/^([0#]+)(\\\\?-([0#]+))+$/)){_=r(E(e,u.replace(/[\\\\-]/g,\"\"),S));x=0;return r(r(u.replace(/\\\\/g,\"\")).replace(/[0#]/g,function(e){return x<_.length?_.charAt(x++):e===\"0\"?\"0\":\"\"}))}if(u.match(g)){_=E(e,\"##########\",S);return\"(\"+_.substr(0,3)+\") \"+_.substr(3,3)+\"-\"+_.substr(6)}var D=\"\";if(y=u.match(/^([#0?]+)( ?)\\/( ?)([#0?]+)/)){x=Math.min(y[4].length,7);I=v(R,Math.pow(10,x)-1,false);_=\"\"+O;D=T(\"n\",y[1],I[1]);if(D.charAt(D.length-1)==\" \")D=D.substr(0,D.length-1)+\"0\";_+=D+y[2]+\"/\"+y[3];D=i(I[2],x);if(D.length<y[4].length)D=b(y[4].substr(y[4].length-D.length))+D;_+=D;return _}if(y=u.match(/^# ([#0?]+)( ?)\\/( ?)([#0?]+)/)){x=Math.min(Math.max(y[1].length,y[4].length),7);I=v(R,Math.pow(10,x)-1,true);return O+(I[0]||(I[1]?\"\":\"0\"))+\" \"+(I[1]?n(I[1],x)+y[2]+\"/\"+y[3]+i(I[2],x):t(\" \",2*x+1+y[2].length+y[3].length))}if(y=u.match(/^[#0?]+$/)){_=l(S,0);if(u.length<=_.length)return _;return b(u.substr(0,u.length-_.length))+_}if(y=u.match(/^([#0?]+)\\.([#0]+)$/)){_=\"\"+S.toFixed(Math.min(y[2].length,10)).replace(/([^0])0+$/,\"$1\");x=_.indexOf(\".\");var F=u.indexOf(\".\")-x,P=u.length-_.length-F;return b(u.substr(0,F)+_+u.substr(u.length-P))}if(y=u.match(/^00,000\\.([#0]*0)$/)){x=w(S,y[1].length);return S<0?\"-\"+E(e,u,-S):B(k(S)).replace(/^\\d,\\d{3}$/,\"0$&\").replace(/^\\d*$/,function(e){return\"00,\"+(e.length<3?a(0,3-e.length):\"\")+e})+\".\"+a(x,y[1].length)}switch(u){case\"###,##0.00\":return E(e,\"#,##0.00\",S);case\"###,###\":;case\"##,###\":;case\"#,###\":var N=B(l(R,0));return N!==\"0\"?O+N:\"\";case\"###,###.00\":return E(e,\"###,##0.00\",S).replace(/^0\\./,\".\");case\"#,###.00\":return E(e,\"#,##0.00\",S).replace(/^0\\./,\".\");default:;}throw new Error(\"unsupported format |\"+u+\"|\")}function S(e,r,t){var a=r.length-1;while(r.charCodeAt(a-1)===44)--a;return T(e,r.substr(0,a),t/Math.pow(10,3*(r.length-a)))}function A(r,a,n){var i=a.replace(e,\"\"),s=a.length-i.length;return T(r,i,n*Math.pow(10,2*s))+t(\"%\",s)}function _(e,r){var t;var a=e.indexOf(\"E\")-e.indexOf(\".\")-1;if(e.match(/^#+0.0E\\+0$/)){if(r==0)return\"0.0E+0\";else if(r<0)return\"-\"+_(e,-r);var n=e.indexOf(\".\");if(n===-1)n=e.indexOf(\"E\");var i=Math.floor(Math.log(r)*Math.LOG10E)%n;if(i<0)i+=n;t=(r/Math.pow(10,i)).toPrecision(a+1+(n+i)%n);if(!t.match(/[Ee]/)){var s=Math.floor(Math.log(r)*Math.LOG10E);if(t.indexOf(\".\")===-1)t=t.charAt(0)+\".\"+t.substr(1)+\"E+\"+(s-t.length+i);else t+=\"E+\"+(s-i);t=t.replace(/\\+-/,\"-\")}t=t.replace(/^([+-]?)(\\d*)\\.(\\d*)[Ee]/,function(e,r,t,a){return r+t+a.substr(0,(n+i)%n)+\".\"+a.substr(i)+\"E\"})}else t=r.toExponential(a);if(e.match(/E\\+00$/)&&t.match(/e[+-]\\d$/))t=t.substr(0,t.length-1)+\"0\"+t.charAt(t.length-1);if(e.match(/E\\-/)&&t.match(/e\\+/))t=t.replace(/e\\+/,\"e\");return t.replace(\"e\",\"E\")}function y(e,s,f){if(e.charCodeAt(0)===40&&!s.match(p)){var o=s.replace(/\\( */,\"\").replace(/ \\)/,\"\").replace(/\\)/,\"\");if(f>=0)return y(\"n\",o,f);return\"(\"+y(\"n\",o,-f)+\")\"}if(s.charCodeAt(s.length-1)===44)return S(e,s,f);if(s.indexOf(\"%\")!==-1)return A(e,s,f);if(s.indexOf(\"E\")!==-1)return _(s,f);if(s.charCodeAt(0)===36)return\"$\"+y(e,s.substr(s.charAt(1)==\" \"?2:1),f);var l;var h,m,w,C=Math.abs(f),k=f<0?\"-\":\"\";if(s.match(/^00+$/))return k+a(C,s.length);if(s.match(/^[#?]+$/)){l=\"\"+f;if(f===0)l=\"\";return l.length>s.length?l:b(s.substr(0,s.length-l.length))+l}if(h=s.match(c))return u(h,C,k);if(s.match(/^#+0+$/))return k+a(C,s.length-s.indexOf(\"0\"));if(h=s.match(d)){l=(\"\"+f).replace(/^([^\\.]+)$/,\"$1.\"+b(h[1])).replace(/\\.$/,\".\"+b(h[1]));l=l.replace(/\\.(\\d*)$/,function(e,r){return\".\"+r+t(\"0\",b(h[1]).length-r.length)});return s.indexOf(\"0.\")!==-1?l:l.replace(/^0\\./,\".\")}s=s.replace(/^#+([0.])/,\"$1\");if(h=s.match(/^(0*)\\.(#*)$/)){return k+(\"\"+C).replace(/\\.(\\d*[1-9])0*$/,\".$1\").replace(/^(-?\\d*)$/,\"$1.\").replace(/^0\\./,h[1].length?\"0.\":\".\")}if(h=s.match(/^#{1,3},##0(\\.?)$/))return k+B(\"\"+C);if(h=s.match(/^#,##0\\.([#0]*0)$/)){return f<0?\"-\"+y(e,s,-f):B(\"\"+f)+\".\"+t(\"0\",h[1].length)}if(h=s.match(/^#,#*,#0/))return y(e,s.replace(/^#,#*,/,\"\"),f);if(h=s.match(/^([0#]+)(\\\\?-([0#]+))+$/)){l=r(y(e,s.replace(/[\\\\-]/g,\"\"),f));m=0;return r(r(s.replace(/\\\\/g,\"\")).replace(/[0#]/g,function(e){return m<l.length?l.charAt(m++):e===\"0\"?\"0\":\"\"}))}if(s.match(g)){l=y(e,\"##########\",f);return\"(\"+l.substr(0,3)+\") \"+l.substr(3,3)+\"-\"+l.substr(6)}var E=\"\";if(h=s.match(/^([#0?]+)( ?)\\/( ?)([#0?]+)/)){m=Math.min(h[4].length,7);w=v(C,Math.pow(10,m)-1,false);l=\"\"+k;E=T(\"n\",h[1],w[1]);if(E.charAt(E.length-1)==\" \")E=E.substr(0,E.length-1)+\"0\";l+=E+h[2]+\"/\"+h[3];E=i(w[2],m);if(E.length<h[4].length)E=b(h[4].substr(h[4].length-E.length))+E;l+=E;return l}if(h=s.match(/^# ([#0?]+)( ?)\\/( ?)([#0?]+)/)){m=Math.min(Math.max(h[1].length,h[4].length),7);w=v(C,Math.pow(10,m)-1,true);return k+(w[0]||(w[1]?\"\":\"0\"))+\" \"+(w[1]?n(w[1],m)+h[2]+\"/\"+h[3]+i(w[2],m):t(\" \",2*m+1+h[2].length+h[3].length))}if(h=s.match(/^[#0?]+$/)){l=\"\"+f;if(s.length<=l.length)return l;return b(s.substr(0,s.length-l.length))+l}if(h=s.match(/^([#0]+)\\.([#0]+)$/)){l=\"\"+f.toFixed(Math.min(h[2].length,10)).replace(/([^0])0+$/,\"$1\");m=l.indexOf(\".\");var x=s.indexOf(\".\")-m,I=s.length-l.length-x;return b(s.substr(0,x)+l+s.substr(s.length-I))}if(h=s.match(/^00,000\\.([#0]*0)$/)){return f<0?\"-\"+y(e,s,-f):B(\"\"+f).replace(/^\\d,\\d{3}$/,\"0$&\").replace(/^\\d*$/,function(e){return\"00,\"+(e.length<3?a(0,3-e.length):\"\")+e})+\".\"+a(0,h[1].length)}switch(s){case\"###,###\":;case\"##,###\":;case\"#,###\":var R=B(\"\"+C);return R!==\"0\"?k+R:\"\";default:if(s.match(/\\.[0#?]*$/))return y(e,s.slice(0,s.lastIndexOf(\".\")),f)+b(s.slice(s.lastIndexOf(\".\")));}throw new Error(\"unsupported format |\"+s+\"|\")}return function x(e,r,t){return(t|0)===t?y(e,r,t):E(e,r,t)}}();function y(e){var r=[];var t=false;for(var a=0,n=0;a<e.length;++a)switch(e.charCodeAt(a)){case 34:t=!t;break;case 95:;case 42:;case 92:++a;break;case 59:r[r.length]=e.substr(n,a-n);n=a+1;}r[r.length]=e.substr(n);if(t===true)throw new Error(\"Format |\"+e+\"| unterminated string \");return r}e._split=y;var x=/\\[[HhMmSs]*\\]/;function I(e){var r=0,t=\"\",a=\"\";while(r<e.length){switch(t=e.charAt(r)){case\"G\":if(c(e,r))r+=6;r++;break;case'\"':for(;e.charCodeAt(++r)!==34&&r<e.length;){}++r;break;case\"\\\\\":r+=2;break;case\"_\":r+=2;break;case\"@\":++r;break;case\"B\":;case\"b\":if(e.charAt(r+1)===\"1\"||e.charAt(r+1)===\"2\")return true;case\"M\":;case\"D\":;case\"Y\":;case\"H\":;case\"S\":;case\"E\":;case\"m\":;case\"d\":;case\"y\":;case\"h\":;case\"s\":;case\"e\":;case\"g\":return true;case\"A\":;case\"a\":if(e.substr(r,3).toUpperCase()===\"A/P\")return true;if(e.substr(r,5).toUpperCase()===\"AM/PM\")return true;++r;break;case\"[\":a=t;while(e.charAt(r++)!==\"]\"&&r<e.length)a+=e.charAt(r);if(a.match(x))return true;break;case\".\":;case\"0\":;case\"#\":while(r<e.length&&(\"0#?.,E+-%\".indexOf(t=e.charAt(++r))>-1||t==\"\\\\\"&&e.charAt(r+1)==\"-\"&&\"0#\".indexOf(e.charAt(r+2))>-1)){}break;case\"?\":while(e.charAt(++r)===t){}break;case\"*\":++r;if(e.charAt(r)==\" \"||e.charAt(r)==\"*\")++r;break;case\"(\":;case\")\":++r;break;case\"1\":;case\"2\":;case\"3\":;case\"4\":;case\"5\":;case\"6\":;case\"7\":;case\"8\":;case\"9\":while(r<e.length&&\"0123456789\".indexOf(e.charAt(++r))>-1){}break;case\" \":++r;break;default:++r;break;}}return false}e.is_date=I;function R(e,r,t,a){var n=[],i=\"\",s=0,f=\"\",o=\"t\",l,h,u;var d=\"H\";while(s<e.length){switch(f=e.charAt(s)){case\"G\":if(!c(e,s))throw new Error(\"unrecognized character \"+f+\" in \"+e);n[n.length]={t:\"G\",v:\"General\"};s+=7;break;case'\"':for(i=\"\";(u=e.charCodeAt(++s))!==34&&s<e.length;)i+=String.fromCharCode(u);n[n.length]={t:\"t\",v:i};++s;break;case\"\\\\\":var p=e.charAt(++s),v=p===\"(\"||p===\")\"?p:\"t\";n[n.length]={t:v,v:p};++s;break;case\"_\":n[n.length]={t:\"t\",v:\" \"};s+=2;break;case\"@\":n[n.length]={t:\"T\",v:r};++s;break;case\"B\":;case\"b\":if(e.charAt(s+1)===\"1\"||e.charAt(s+1)===\"2\"){if(l==null){l=g(r,t,e.charAt(s+1)===\"2\");if(l==null)return\"\"}n[n.length]={t:\"X\",v:e.substr(s,2)};o=f;s+=2;break};case\"M\":;case\"D\":;case\"Y\":;case\"H\":;case\"S\":;case\"E\":f=f.toLowerCase();case\"m\":;case\"d\":;case\"y\":;case\"h\":;case\"s\":;case\"e\":;case\"g\":if(r<0)return\"\";if(l==null){l=g(r,t);if(l==null)return\"\"}i=f;while(++s<e.length&&e.charAt(s).toLowerCase()===f)i+=f;if(f===\"m\"&&o.toLowerCase()===\"h\")f=\"M\";if(f===\"h\")f=d;n[n.length]={t:f,v:i};o=f;break;case\"A\":;case\"a\":var b={t:f,v:f};if(l==null)l=g(r,t);if(e.substr(s,3).toUpperCase()===\"A/P\"){if(l!=null)b.v=l.H>=12?\"P\":\"A\";b.t=\"T\";d=\"h\";s+=3}else if(e.substr(s,5).toUpperCase()===\"AM/PM\"){if(l!=null)b.v=l.H>=12?\"PM\":\"AM\";b.t=\"T\";s+=5;d=\"h\"}else{b.t=\"t\";++s}if(l==null&&b.t===\"T\")return\"\";n[n.length]=b;o=f;break;case\"[\":i=f;while(e.charAt(s++)!==\"]\"&&s<e.length)i+=e.charAt(s);if(i.slice(-1)!==\"]\")throw'unterminated \"[\" block: |'+i+\"|\";if(i.match(x)){if(l==null){l=g(r,t);if(l==null)return\"\"}n[n.length]={t:\"Z\",v:i.toLowerCase()};o=i.charAt(1)}else if(i.indexOf(\"$\")>-1){i=(i.match(/\\$([^-\\[\\]]*)/)||[])[1]||\"$\";if(!I(e))n[n.length]={t:\"t\",v:i}}break;case\".\":if(l!=null){i=f;while(++s<e.length&&(f=e.charAt(s))===\"0\")i+=f;n[n.length]={t:\"s\",v:i};break};case\"0\":;case\"#\":i=f;while(++s<e.length&&\"0#?.,E+-%\".indexOf(f=e.charAt(s))>-1||f==\"\\\\\"&&e.charAt(s+1)==\"-\"&&s<e.length-2&&\"0#\".indexOf(e.charAt(s+2))>-1)i+=f;n[n.length]={t:\"n\",v:i};break;case\"?\":i=f;while(e.charAt(++s)===f)i+=f;n[n.length]={t:f,v:i};o=f;break;case\"*\":++s;if(e.charAt(s)==\" \"||e.charAt(s)==\"*\")++s;break;case\"(\":;case\")\":n[n.length]={t:a===1?\"t\":f,v:f};++s;break;case\"1\":;case\"2\":;case\"3\":;case\"4\":;case\"5\":;case\"6\":;case\"7\":;case\"8\":;case\"9\":i=f;while(s<e.length&&\"0123456789\".indexOf(e.charAt(++s))>-1)i+=e.charAt(s);n[n.length]={t:\"D\",v:i};break;case\" \":n[n.length]={t:f,v:f};++s;break;case\"$\":n[n.length]={t:\"t\",v:\"$\"};++s;break;default:if(\",$-+/():!^&'~{}<>=€acfijklopqrtuvwxzP\".indexOf(f)===-1)throw new Error(\"unrecognized character \"+f+\" in \"+e);n[n.length]={t:\"t\",v:f};++s;break;}}var m=0,w=0,C;for(s=n.length-1,o=\"t\";s>=0;--s){switch(n[s].t){case\"h\":;case\"H\":n[s].t=d;o=\"h\";if(m<1)m=1;break;case\"s\":if(C=n[s].v.match(/\\.0+$/))w=Math.max(w,C[0].length-1);if(m<3)m=3;case\"d\":;case\"y\":;case\"M\":;case\"e\":o=n[s].t;break;case\"m\":if(o===\"s\"){n[s].t=\"M\";if(m<2)m=2}break;case\"X\":break;case\"Z\":if(m<1&&n[s].v.match(/[Hh]/))m=1;if(m<2&&n[s].v.match(/[Mm]/))m=2;if(m<3&&n[s].v.match(/[Ss]/))m=3;}}switch(m){case 0:break;case 1:if(l.u>=.5){l.u=0;++l.S}if(l.S>=60){l.S=0;++l.M}if(l.M>=60){l.M=0;++l.H}break;case 2:if(l.u>=.5){l.u=0;++l.S}if(l.S>=60){l.S=0;++l.M}break;}var k=\"\",E;for(s=0;s<n.length;++s){switch(n[s].t){case\"t\":;case\"T\":;case\" \":;case\"D\":break;case\"X\":n[s].v=\"\";n[s].t=\";\";break;case\"d\":;case\"m\":;case\"y\":;case\"h\":;case\"H\":;case\"M\":;case\"s\":;case\"e\":;case\"b\":;case\"Z\":n[s].v=_(n[s].t.charCodeAt(0),n[s].v,l,w);n[s].t=\"t\";break;case\"n\":;case\"(\":;case\"?\":E=s+1;while(n[E]!=null&&((f=n[E].t)===\"?\"||f===\"D\"||(f===\" \"||f===\"t\")&&n[E+1]!=null&&(n[E+1].t===\"?\"||n[E+1].t===\"t\"&&n[E+1].v===\"/\")||n[s].t===\"(\"&&(f===\" \"||f===\"n\"||f===\")\")||f===\"t\"&&(n[E].v===\"/\"||n[E].v===\" \"&&n[E+1]!=null&&n[E+1].t==\"?\"))){n[s].v+=n[E].v;n[E]={v:\"\",t:\";\"};++E}k+=n[s].v;s=E-1;break;case\"G\":n[s].t=\"t\";n[s].v=S(r,t);break;}}var A=\"\",B,y;if(k.length>0){if(k.charCodeAt(0)==40){B=r<0&&k.charCodeAt(0)===45?-r:r;y=T(\"(\",k,B)}else{B=r<0&&a>1?-r:r;y=T(\"n\",k,B);if(B<0&&n[0]&&n[0].t==\"t\"){y=y.substr(1);n[0].v=\"-\"+n[0].v}}E=y.length-1;var R=n.length;for(s=0;s<n.length;++s)if(n[s]!=null&&n[s].t!=\"t\"&&n[s].v.indexOf(\".\")>-1){R=s;break}var O=n.length;if(R===n.length&&y.indexOf(\"E\")===-1){for(s=n.length-1;s>=0;--s){if(n[s]==null||\"n?(\".indexOf(n[s].t)===-1)continue;if(E>=n[s].v.length-1){E-=n[s].v.length;n[s].v=y.substr(E+1,n[s].v.length)}else if(E<0)n[s].v=\"\";else{n[s].v=y.substr(0,E+1);E=-1}n[s].t=\"t\";O=s}if(E>=0&&O<n.length)n[O].v=y.substr(0,E+1)+n[O].v}else if(R!==n.length&&y.indexOf(\"E\")===-1){E=y.indexOf(\".\")-1;for(s=R;s>=0;--s){if(n[s]==null||\"n?(\".indexOf(n[s].t)===-1)continue;h=n[s].v.indexOf(\".\")>-1&&s===R?n[s].v.indexOf(\".\")-1:n[s].v.length-1;A=n[s].v.substr(h+1);for(;h>=0;--h){if(E>=0&&(n[s].v.charAt(h)===\"0\"||n[s].v.charAt(h)===\"#\"))A=y.charAt(E--)+A}n[s].v=A;n[s].t=\"t\";O=s}if(E>=0&&O<n.length)n[O].v=y.substr(0,E+1)+n[O].v;E=y.indexOf(\".\")+1;for(s=R;s<n.length;++s){if(n[s]==null||\"n?(\".indexOf(n[s].t)===-1&&s!==R)continue;h=n[s].v.indexOf(\".\")>-1&&s===R?n[s].v.indexOf(\".\")+1:0;A=n[s].v.substr(0,h);for(;h<n[s].v.length;++h){if(E<y.length)A+=y.charAt(E++)}n[s].v=A;n[s].t=\"t\";O=s}}}for(s=0;s<n.length;++s)if(n[s]!=null&&\"n(?\".indexOf(n[s].t)>-1){B=a>1&&r<0&&s>0&&n[s-1].v===\"-\"?-r:r;n[s].v=T(n[s].t,n[s].v,B);n[s].t=\"t\"}var D=\"\";for(s=0;s!==n.length;++s)if(n[s]!=null)D+=n[s].v;return D}e._eval=R;var O=/\\[[=<>]/;var D=/\\[(=|>[=]?|<[>=]?)(-?\\d+(?:\\.\\d*)?)\\]/;function F(e,r){if(r==null)return false;var t=parseFloat(r[2]);switch(r[1]){case\"=\":if(e==t)return true;break;case\">\":if(e>t)return true;break;case\"<\":if(e<t)return true;break;case\"<>\":if(e!=t)return true;break;case\">=\":if(e>=t)return true;break;case\"<=\":if(e<=t)return true;break;}return false}function P(e,r){var t=y(e);var a=t.length,n=t[a-1].indexOf(\"@\");if(a<4&&n>-1)--a;if(t.length>4)throw new Error(\"cannot find right format for |\"+t.join(\"|\")+\"|\");if(typeof r!==\"number\")return[4,t.length===4||n>-1?t[t.length-1]:\"@\"];switch(t.length){case 1:t=n>-1?[\"General\",\"General\",\"General\",t[0]]:[t[0],t[0],t[0],\"@\"];break;case 2:t=n>-1?[t[0],t[0],t[0],t[1]]:[t[0],t[1],t[0],\"@\"];break;case 3:t=n>-1?[t[0],t[1],t[0],t[2]]:[t[0],t[1],t[2],\"@\"];break;case 4:break;}var i=r>0?t[0]:r<0?t[1]:t[2];if(t[0].indexOf(\"[\")===-1&&t[1].indexOf(\"[\")===-1)return[a,i];if(t[0].match(O)!=null||t[1].match(O)!=null){var s=t[0].match(D);var f=t[1].match(D);return F(r,s)?[a,t[0]]:F(r,f)?[a,t[1]]:[a,t[s!=null&&f!=null?2:1]]}return[a,i]}function N(e,r,t){if(t==null)t={};var a=\"\";switch(typeof e){case\"string\":if(e==\"m/d/yy\"&&t.dateNF)a=t.dateNF;else a=e;break;case\"number\":if(e==14&&t.dateNF)a=t.dateNF;else a=(t.table!=null?t.table:p)[e];break;}if(c(a,0))return S(r,t);if(r instanceof Date)r=C(r,t.date1904);var n=P(a,r);if(c(n[1]))return S(r,t);if(r===true)r=\"TRUE\";else if(r===false)r=\"FALSE\";else if(r===\"\"||r==null)return\"\";return R(n[1],r,t,n[0])}function L(e,r){if(typeof r!=\"number\"){r=+r||-1;for(var t=0;t<392;++t){if(p[t]==undefined){if(r<0)r=t;continue}if(p[t]==e){r=t;break}}if(r<0)r=391}p[r]=e;return r}e.load=L;e._table=p;e.get_table=function H(){return p};e.load_table=function W(e){for(var r=0;r!=392;++r)if(e[r]!==undefined)L(e[r],r)};e.init_table=d;e.format=N};F(D);var P={\"General Number\":\"General\",\"General Date\":D._table[22],\"Long Date\":\"dddd, mmmm dd, yyyy\",\"Medium Date\":D._table[15],\"Short Date\":D._table[14],\"Long Time\":D._table[19],\"Medium Time\":D._table[18],\"Short Time\":D._table[20],Currency:'\"$\"#,##0.00_);[Red]\\\\(\"$\"#,##0.00\\\\)',Fixed:D._table[2],Standard:D._table[4],Percent:D._table[10],Scientific:D._table[11],\"Yes/No\":'\"Yes\";\"Yes\";\"No\";@',\"True/False\":'\"True\";\"True\";\"False\";@',\"On/Off\":'\"Yes\";\"Yes\";\"No\";@'};var N={5:'\"$\"#,##0_);\\\\(\"$\"#,##0\\\\)',6:'\"$\"#,##0_);[Red]\\\\(\"$\"#,##0\\\\)',7:'\"$\"#,##0.00_);\\\\(\"$\"#,##0.00\\\\)',8:'\"$\"#,##0.00_);[Red]\\\\(\"$\"#,##0.00\\\\)',23:\"General\",24:\"General\",25:\"General\",26:\"General\",27:\"m/d/yy\",28:\"m/d/yy\",29:\"m/d/yy\",30:\"m/d/yy\",31:\"m/d/yy\",32:\"h:mm:ss\",33:\"h:mm:ss\",34:\"h:mm:ss\",35:\"h:mm:ss\",36:\"m/d/yy\",41:'_(* #,##0_);_(* (#,##0);_(* \"-\"_);_(@_)',42:'_(\"$\"* #,##0_);_(\"$\"* (#,##0);_(\"$\"* \"-\"_);_(@_)',43:'_(* #,##0.00_);_(* (#,##0.00);_(* \"-\"??_);_(@_)',44:'_(\"$\"* #,##0.00_);_(\"$\"* (#,##0.00);_(\"$\"* \"-\"??_);_(@_)',50:\"m/d/yy\",51:\"m/d/yy\",52:\"m/d/yy\",53:\"m/d/yy\",54:\"m/d/yy\",55:\"m/d/yy\",56:\"m/d/yy\",57:\"m/d/yy\",58:\"m/d/yy\",59:\"0\",60:\"0.00\",61:\"#,##0\",62:\"#,##0.00\",63:'\"$\"#,##0_);\\\\(\"$\"#,##0\\\\)',64:'\"$\"#,##0_);[Red]\\\\(\"$\"#,##0\\\\)',65:'\"$\"#,##0.00_);\\\\(\"$\"#,##0.00\\\\)',66:'\"$\"#,##0.00_);[Red]\\\\(\"$\"#,##0.00\\\\)',67:\"0%\",68:\"0.00%\",69:\"# ?/?\",70:\"# ??/??\",71:\"m/d/yy\",72:\"m/d/yy\",73:\"d-mmm-yy\",74:\"d-mmm\",75:\"mmm-yy\",76:\"h:mm\",77:\"h:mm:ss\",78:\"m/d/yy h:mm\",79:\"mm:ss\",80:\"[h]:mm:ss\",81:\"mmss.0\"};var L=/[dD]+|[mM]+|[yYeE]+|[Hh]+|[Ss]+/g;function M(e){var r=typeof e==\"number\"?D._table[e]:e;r=r.replace(L,\"(\\\\d+)\");return new RegExp(\"^\"+r+\"$\")}function U(e,r,t){var a=-1,n=-1,i=-1,s=-1,f=-1,o=-1;(r.match(L)||[]).forEach(function(e,r){var l=parseInt(t[r+1],10);switch(e.toLowerCase().charAt(0)){case\"y\":a=l;break;case\"d\":i=l;break;case\"h\":s=l;break;case\"s\":o=l;break;case\"m\":if(s>=0)f=l;else n=l;break;}});if(o>=0&&f==-1&&n>=0){f=n;n=-1}var l=(\"\"+(a>=0?a:(new Date).getFullYear())).slice(-4)+\"-\"+(\"00\"+(n>=1?n:1)).slice(-2)+\"-\"+(\"00\"+(i>=1?i:1)).slice(-2);if(l.length==7)l=\"0\"+l;if(l.length==8)l=\"20\"+l;var c=(\"00\"+(s>=0?s:0)).slice(-2)+\":\"+(\"00\"+(f>=0?f:0)).slice(-2)+\":\"+(\"00\"+(o>=0?o:0)).slice(-2);if(s==-1&&f==-1&&o==-1)return l;if(a==-1&&n==-1&&i==-1)return c;return l+\"T\"+c}var H=true;var W;(function(e){e(W={})})(function(e){e.version=\"1.2.0\";function r(){var e=0,r=new Array(256);for(var t=0;t!=256;++t){e=t;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;e=e&1?-306674912^e>>>1:e>>>1;r[t]=e}return typeof Int32Array!==\"undefined\"?new Int32Array(r):r}var t=r();function a(e,r){var a=r^-1,n=e.length-1;for(var i=0;i<n;){a=a>>>8^t[(a^e.charCodeAt(i++))&255];a=a>>>8^t[(a^e.charCodeAt(i++))&255]}if(i===n)a=a>>>8^t[(a^e.charCodeAt(i))&255];return a^-1}function n(e,r){if(e.length>1e4)return i(e,r);var a=r^-1,n=e.length-3;for(var s=0;s<n;){a=a>>>8^t[(a^e[s++])&255];a=a>>>8^t[(a^e[s++])&255];a=a>>>8^t[(a^e[s++])&255];a=a>>>8^t[(a^e[s++])&255]}while(s<n+3)a=a>>>8^t[(a^e[s++])&255];return a^-1}function i(e,r){var a=r^-1,n=e.length-7;for(var i=0;i<n;){a=a>>>8^t[(a^e[i++])&255];a=a>>>8^t[(a^e[i++])&255];a=a>>>8^t[(a^e[i++])&255];a=a>>>8^t[(a^e[i++])&255];a=a>>>8^t[(a^e[i++])&255];a=a>>>8^t[(a^e[i++])&255];a=a>>>8^t[(a^e[i++])&255];a=a>>>8^t[(a^e[i++])&255]}while(i<n+7)a=a>>>8^t[(a^e[i++])&255];return a^-1}function s(e,r){var a=r^-1;for(var n=0,i=e.length,s,f;n<i;){s=e.charCodeAt(n++);if(s<128){a=a>>>8^t[(a^s)&255]}else if(s<2048){a=a>>>8^t[(a^(192|s>>6&31))&255];a=a>>>8^t[(a^(128|s&63))&255]}else if(s>=55296&&s<57344){s=(s&1023)+64;f=e.charCodeAt(n++)&1023;a=a>>>8^t[(a^(240|s>>8&7))&255];a=a>>>8^t[(a^(128|s>>2&63))&255];a=a>>>8^t[(a^(128|f>>6&15|(s&3)<<4))&255];a=a>>>8^t[(a^(128|f&63))&255]}else{a=a>>>8^t[(a^(224|s>>12&15))&255];a=a>>>8^t[(a^(128|s>>6&63))&255];a=a>>>8^t[(a^(128|s&63))&255]}}return a^-1}e.table=t;e.bstr=a;e.buf=n;e.str=s});var z=function lb(){var e={};e.version=\"1.1.4\";function r(e,r){var t=e.split(\"/\"),a=r.split(\"/\");for(var n=0,i=0,s=Math.min(t.length,a.length);n<s;++n){if(i=t[n].length-a[n].length)return i;if(t[n]!=a[n])return t[n]<a[n]?-1:1}return t.length-a.length}function t(e){if(e.charAt(e.length-1)==\"/\")return e.slice(0,-1).indexOf(\"/\")===-1?e:t(e.slice(0,-1));var r=e.lastIndexOf(\"/\");return r===-1?e:e.slice(0,r+1)}function a(e){if(e.charAt(e.length-1)==\"/\")return a(e.slice(0,-1));var r=e.lastIndexOf(\"/\");return r===-1?e:e.slice(r+1)}function n(e,r){if(typeof r===\"string\")r=new Date(r);var t=r.getHours();t=t<<6|r.getMinutes();t=t<<5|r.getSeconds()>>>1;e._W(2,t);var a=r.getFullYear()-1980;a=a<<4|r.getMonth()+1;a=a<<5|r.getDate();e._W(2,a)}function i(e){var r=e._R(2)&65535;var t=e._R(2)&65535;var a=new Date;var n=t&31;t>>>=5;var i=t&15;t>>>=4;a.setMilliseconds(0);a.setFullYear(t+1980);a.setMonth(i-1);a.setDate(n);var s=r&31;r>>>=5;var f=r&63;r>>>=6;a.setHours(r);a.setMinutes(f);a.setSeconds(s<<1);return a}function s(e){Kr(e,0);var r={};var t=0;while(e.l<=e.length-4){var a=e._R(2);var n=e._R(2),i=e.l+n;var s={};switch(a){case 21589:{t=e._R(1);if(t&1)s.mtime=e._R(4);if(n>5){if(t&2)s.atime=e._R(4);if(t&4)s.ctime=e._R(4)}if(s.mtime)s.mt=new Date(s.mtime*1e3)}break;}e.l=i;r[a]=s}return r}var f;function o(){return f||(f=require(\"fs\"))}function l(e,r){if(e[0]==80&&e[1]==75)return Be(e,r);if(e.length<512)throw new Error(\"CFB file size \"+e.length+\" < 512\");var t=3;var a=512;var n=0;var i=0;var s=0;var f=0;var o=0;var l=[];var p=e.slice(0,512);Kr(p,0);var g=c(p);t=g[0];switch(t){case 3:a=512;break;case 4:a=4096;break;case 0:if(g[1]==0)return Be(e,r);default:throw new Error(\"Major Version: Expected 3 or 4 saw \"+t);}if(a!==512){p=e.slice(0,a);Kr(p,28)}var m=e.slice(0,a);h(p,t);var w=p._R(4,\"i\");if(t===3&&w!==0)throw new Error(\"# Directory Sectors: Expected 0 saw \"+w);p.l+=4;s=p._R(4,\"i\");p.l+=4;p.chk(\"00100000\",\"Mini Stream Cutoff Size: \");f=p._R(4,\"i\");n=p._R(4,\"i\");o=p._R(4,\"i\");i=p._R(4,\"i\");for(var k=-1,E=0;E<109;++E){k=p._R(4,\"i\");if(k<0)break;l[E]=k}var S=u(e,a);v(o,i,S,a,l);var A=b(S,s,l,a);A[s].name=\"!Directory\";if(n>0&&f!==N)A[f].name=\"!MiniFAT\";A[l[0]].name=\"!FAT\";A.fat_addrs=l;A.ssz=a;var _={},B=[],T=[],y=[];C(s,A,S,B,n,_,T,f);d(T,y,B);B.shift();var x={FileIndex:T,FullPaths:y};if(r&&r.raw)x.raw={header:m,sectors:S};return x}function c(e){if(e[e.l]==80&&e[e.l+1]==75)return[0,0];e.chk(L,\"Header Signature: \");e.l+=16;var r=e._R(2,\"u\");return[e._R(2,\"u\"),r]}function h(e,r){var t=9;e.l+=2;switch(t=e._R(2)){case 9:if(r!=3)throw new Error(\"Sector Shift: Expected 9 saw \"+t);break;case 12:if(r!=4)throw new Error(\"Sector Shift: Expected 12 saw \"+t);break;default:throw new Error(\"Sector Shift: Expected 9 or 12 saw \"+t);}e.chk(\"0600\",\"Mini Sector Shift: \");e.chk(\"000000000000\",\"Reserved: \")}function u(e,r){var t=Math.ceil(e.length/r)-1;var a=[];for(var n=1;n<t;++n)a[n-1]=e.slice(n*r,(n+1)*r);a[t-1]=e.slice(t*r);return a}function d(e,r,t){var a=0,n=0,i=0,s=0,f=0,o=t.length;var l=[],c=[];for(;a<o;++a){l[a]=c[a]=a;r[a]=t[a]}for(;f<c.length;++f){a=c[f];n=e[a].L;i=e[a].R;s=e[a].C;if(l[a]===a){if(n!==-1&&l[n]!==n)l[a]=l[n];if(i!==-1&&l[i]!==i)l[a]=l[i]}if(s!==-1)l[s]=a;if(n!==-1&&a!=l[a]){l[n]=l[a];if(c.lastIndexOf(n)<f)c.push(n)}if(i!==-1&&a!=l[a]){l[i]=l[a];if(c.lastIndexOf(i)<f)c.push(i)}}for(a=1;a<o;++a)if(l[a]===a){if(i!==-1&&l[i]!==i)l[a]=l[i];else if(n!==-1&&l[n]!==n)l[a]=l[n]}for(a=1;a<o;++a){if(e[a].type===0)continue;f=a;if(f!=l[f])do{f=l[f];r[a]=r[f]+\"/\"+r[a]}while(f!==0&&-1!==l[f]&&f!=l[f]);l[a]=-1}r[0]+=\"/\";for(a=1;a<o;++a){if(e[a].type!==2)r[a]+=\"/\"}}function p(e,r,t){var a=e.start,n=e.size;var i=[];var s=a;while(t&&n>0&&s>=0){i.push(r.slice(s*P,s*P+P));n-=P;s=Ur(t,s*4)}if(i.length===0)return $r(0);return I(i).slice(0,e.size)}function v(e,r,t,a,n){var i=N;if(e===N){if(r!==0)throw new Error(\"DIFAT chain shorter than expected\")}else if(e!==-1){var s=t[e],f=(a>>>2)-1;if(!s)return;for(var o=0;o<f;++o){if((i=Ur(s,o*4))===N)break;n.push(i)}v(Ur(s,a-4),r-1,t,a,n)}}function g(e,r,t,a,n){var i=[],s=[];if(!n)n=[];var f=a-1,o=0,l=0;for(o=r;o>=0;){n[o]=true;i[i.length]=o;s.push(e[o]);var c=t[Math.floor(o*4/a)];l=o*4&f;if(a<4+l)throw new Error(\"FAT boundary crossed: \"+o+\" 4 \"+a);if(!e[c])break;o=Ur(e[c],l)}return{nodes:i,data:pr([s])}}function b(e,r,t,a){var n=e.length,i=[];var s=[],f=[],o=[];var l=a-1,c=0,h=0,u=0,d=0;for(c=0;c<n;++c){f=[];u=c+r;if(u>=n)u-=n;if(s[u])continue;o=[];var p=[];for(h=u;h>=0;){p[h]=true;s[h]=true;f[f.length]=h;o.push(e[h]);var v=t[Math.floor(h*4/a)];d=h*4&l;if(a<4+d)throw new Error(\"FAT boundary crossed: \"+h+\" 4 \"+a);if(!e[v])break;h=Ur(e[v],d);if(p[h])break}i[u]={nodes:f,data:pr([o])}}return i}function C(e,r,t,a,n,i,s,f){var o=0,l=a.length?2:0;var c=r[e].data;var h=0,u=0,d;for(;h<c.length;h+=128){var v=c.slice(h,h+128);Kr(v,64);u=v._R(2);d=gr(v,0,u-l);a.push(d);var b={name:d,type:v._R(1),color:v._R(1),L:v._R(4,\"i\"),R:v._R(4,\"i\"),C:v._R(4,\"i\"),clsid:v._R(16),state:v._R(4,\"i\"),start:0,size:0};var m=v._R(2)+v._R(2)+v._R(2)+v._R(2);if(m!==0)b.ct=k(v,v.l-8);var w=v._R(2)+v._R(2)+v._R(2)+v._R(2);if(w!==0)b.mt=k(v,v.l-8);b.start=v._R(4,\"i\");b.size=v._R(4,\"i\");if(b.size<0&&b.start<0){b.size=b.type=0;b.start=N;b.name=\"\"}if(b.type===5){o=b.start;if(n>0&&o!==N)r[o].name=\"!StreamData\"}else if(b.size>=4096){b.storage=\"fat\";if(r[b.start]===undefined)r[b.start]=g(t,b.start,r.fat_addrs,r.ssz);r[b.start].name=b.name;b.content=r[b.start].data.slice(0,b.size)}else{b.storage=\"minifat\";if(b.size<0)b.size=0;else if(o!==N&&b.start!==N&&r[o]){b.content=p(b,r[o].data,(r[f]||{}).data)}}if(b.content)Kr(b.content,0);i[d]=b;s.push(b)}}function k(e,r){return new Date((Mr(e,r+4)/1e7*Math.pow(2,32)+Mr(e,r)/1e7-11644473600)*1e3)}function E(e,r){o();return l(f.readFileSync(e),r)}function B(e,r){switch(r&&r.type||\"base64\"){case\"file\":return E(e,r);case\"base64\":return l(_(m.decode(e)),r);case\"binary\":return l(_(e),r);}return l(e,r)}function T(e,r){var t=r||{},a=t.root||\"Root Entry\";if(!e.FullPaths)e.FullPaths=[];if(!e.FileIndex)e.FileIndex=[];if(e.FullPaths.length!==e.FileIndex.length)throw new Error(\"inconsistent CFB structure\");if(e.FullPaths.length===0){e.FullPaths[0]=a+\"/\";e.FileIndex[0]={name:a,type:5}}if(t.CLSID)e.FileIndex[0].clsid=t.CLSID;y(e)}function y(e){var r=\"\u0001Sh33tJ5\";if(z.find(e,\"/\"+r))return;var t=$r(4);t[0]=55;t[1]=t[3]=50;t[2]=54;e.FileIndex.push({name:r,type:2,content:t,size:4,L:69,R:69,C:69});e.FullPaths.push(e.FullPaths[0]+r);x(e)}function x(e,n){T(e);var i=false,s=false;for(var f=e.FullPaths.length-1;f>=0;--f){var o=e.FileIndex[f];switch(o.type){case 0:if(s)i=true;else{e.FileIndex.pop();e.FullPaths.pop()}break;case 1:;case 2:;case 5:s=true;if(isNaN(o.R*o.L*o.C))i=true;if(o.R>-1&&o.L>-1&&o.R==o.L)i=true;break;default:i=true;break;}}if(!i&&!n)return;var l=new Date(1987,1,19),c=0;var h=[];for(f=0;f<e.FullPaths.length;++f){if(e.FileIndex[f].type===0)continue;h.push([e.FullPaths[f],e.FileIndex[f]])}for(f=0;f<h.length;++f){var u=t(h[f][0]);s=false;for(c=0;c<h.length;++c)if(h[c][0]===u)s=true;if(!s)h.push([u,{name:a(u).replace(\"/\",\"\"),type:1,clsid:U,ct:l,mt:l,content:null}])}h.sort(function(e,t){return r(e[0],t[0])});e.FullPaths=[];e.FileIndex=[];for(f=0;f<h.length;++f){e.FullPaths[f]=h[f][0];e.FileIndex[f]=h[f][1]}for(f=0;f<h.length;++f){var d=e.FileIndex[f];var p=e.FullPaths[f];d.name=a(p).replace(\"/\",\"\");d.L=d.R=d.C=-(d.color=1);d.size=d.content?d.content.length:0;\nd.start=0;d.clsid=d.clsid||U;if(f===0){d.C=h.length>1?1:-1;d.size=0;d.type=5}else if(p.slice(-1)==\"/\"){for(c=f+1;c<h.length;++c)if(t(e.FullPaths[c])==p)break;d.C=c>=h.length?-1:c;for(c=f+1;c<h.length;++c)if(t(e.FullPaths[c])==t(p))break;d.R=c>=h.length?-1:c;d.type=1}else{if(t(e.FullPaths[f+1]||\"\")==t(p))d.R=f+1;d.type=2}}}function D(e,r){var t=r||{};x(e);if(t.fileType==\"zip\")return ye(e,t);var a=function(e){var r=0,t=0;for(var a=0;a<e.FileIndex.length;++a){var n=e.FileIndex[a];if(!n.content)continue;var i=n.content.length;if(i>0){if(i<4096)r+=i+63>>6;else t+=i+511>>9}}var s=e.FullPaths.length+3>>2;var f=r+7>>3;var o=r+127>>7;var l=f+t+s+o;var c=l+127>>7;var h=c<=109?0:Math.ceil((c-109)/127);while(l+c+h+127>>7>c)h=++c<=109?0:Math.ceil((c-109)/127);var u=[1,h,c,o,s,t,r,0];e.FileIndex[0].size=r<<6;u[7]=(e.FileIndex[0].start=u[0]+u[1]+u[2]+u[3]+u[4]+u[5])+(u[6]+7>>3);return u}(e);var n=$r(a[7]<<9);var i=0,s=0;{for(i=0;i<8;++i)n._W(1,M[i]);for(i=0;i<8;++i)n._W(2,0);n._W(2,62);n._W(2,3);n._W(2,65534);n._W(2,9);n._W(2,6);for(i=0;i<3;++i)n._W(2,0);n._W(4,0);n._W(4,a[2]);n._W(4,a[0]+a[1]+a[2]+a[3]-1);n._W(4,0);n._W(4,1<<12);n._W(4,a[3]?a[0]+a[1]+a[2]-1:N);n._W(4,a[3]);n._W(-4,a[1]?a[0]-1:N);n._W(4,a[1]);for(i=0;i<109;++i)n._W(-4,i<a[2]?a[1]+i:-1)}if(a[1]){for(s=0;s<a[1];++s){for(;i<236+s*127;++i)n._W(-4,i<a[2]?a[1]+i:-1);n._W(-4,s===a[1]-1?N:s+1)}}var f=function(e){for(s+=e;i<s-1;++i)n._W(-4,i+1);if(e){++i;n._W(-4,N)}};s=i=0;for(s+=a[1];i<s;++i)n._W(-4,H.DIFSECT);for(s+=a[2];i<s;++i)n._W(-4,H.FATSECT);f(a[3]);f(a[4]);var o=0,l=0;var c=e.FileIndex[0];for(;o<e.FileIndex.length;++o){c=e.FileIndex[o];if(!c.content)continue;l=c.content.length;if(l<4096)continue;c.start=s;f(l+511>>9)}f(a[6]+7>>3);while(n.l&511)n._W(-4,H.ENDOFCHAIN);s=i=0;for(o=0;o<e.FileIndex.length;++o){c=e.FileIndex[o];if(!c.content)continue;l=c.content.length;if(!l||l>=4096)continue;c.start=s;f(l+63>>6)}while(n.l&511)n._W(-4,H.ENDOFCHAIN);for(i=0;i<a[4]<<2;++i){var h=e.FullPaths[i];if(!h||h.length===0){for(o=0;o<17;++o)n._W(4,0);for(o=0;o<3;++o)n._W(4,-1);for(o=0;o<12;++o)n._W(4,0);continue}c=e.FileIndex[i];if(i===0)c.start=c.size?c.start-1:N;var u=i===0&&t.root||c.name;l=2*(u.length+1);n._W(64,u,\"utf16le\");n._W(2,l);n._W(1,c.type);n._W(1,c.color);n._W(-4,c.L);n._W(-4,c.R);n._W(-4,c.C);if(!c.clsid)for(o=0;o<4;++o)n._W(4,0);else n._W(16,c.clsid,\"hex\");n._W(4,c.state||0);n._W(4,0);n._W(4,0);n._W(4,0);n._W(4,0);n._W(4,c.start);n._W(4,c.size);n._W(4,0)}for(i=1;i<e.FileIndex.length;++i){c=e.FileIndex[i];if(c.size>=4096){n.l=c.start+1<<9;for(o=0;o<c.size;++o)n._W(1,c.content[o]);for(;o&511;++o)n._W(1,0)}}for(i=1;i<e.FileIndex.length;++i){c=e.FileIndex[i];if(c.size>0&&c.size<4096){for(o=0;o<c.size;++o)n._W(1,c.content[o]);for(;o&63;++o)n._W(1,0)}}while(n.l<n.length)n._W(1,0);return n}function F(e,r){var t=e.FullPaths.map(function(e){return e.toUpperCase()});var a=t.map(function(e){var r=e.split(\"/\");return r[r.length-(e.slice(-1)==\"/\"?2:1)]});var n=false;if(r.charCodeAt(0)===47){n=true;r=t[0].slice(0,-1)+r}else n=r.indexOf(\"/\")!==-1;var i=r.toUpperCase();var s=n===true?t.indexOf(i):a.indexOf(i);if(s!==-1)return e.FileIndex[s];var f=!i.match(O);i=i.replace(R,\"\");if(f)i=i.replace(O,\"!\");for(s=0;s<t.length;++s){if((f?t[s].replace(O,\"!\"):t[s]).replace(R,\"\")==i)return e.FileIndex[s];if((f?a[s].replace(O,\"!\"):a[s]).replace(R,\"\")==i)return e.FileIndex[s]}return null}var P=64;var N=-2;var L=\"d0cf11e0a1b11ae1\";var M=[208,207,17,224,161,177,26,225];var U=\"00000000000000000000000000000000\";var H={MAXREGSECT:-6,DIFSECT:-4,FATSECT:-3,ENDOFCHAIN:N,FREESECT:-1,HEADER_SIGNATURE:L,HEADER_MINOR_VERSION:\"3e00\",MAXREGSID:-6,NOSTREAM:-1,HEADER_CLSID:U,EntryTypes:[\"unknown\",\"storage\",\"stream\",\"lockbytes\",\"property\",\"root\"]};function V(e,r,t){o();var a=D(e,t);f.writeFileSync(r,a)}function X(e){var r=new Array(e.length);for(var t=0;t<e.length;++t)r[t]=String.fromCharCode(e[t]);return r.join(\"\")}function G(e,r){var t=D(e,r);switch(r&&r.type){case\"file\":o();f.writeFileSync(r.filename,t);return t;case\"binary\":return X(t);case\"base64\":return m.encode(X(t));}return t}var j;function K(e){try{var r=e.InflateRaw;var t=new r;t._processChunk(new Uint8Array([3,0]),t._finishFlushFlag);if(t.bytesRead)j=e;else throw new Error(\"zlib does not expose bytesRead\")}catch(a){console.error(\"cannot use native zlib: \"+(a.message||a))}}function Y(e,r){if(!j)return Ae(e,r);var t=j.InflateRaw;var a=new t;var n=a._processChunk(e.slice(e.l),a._finishFlushFlag);e.l+=a.bytesRead;return n}function $(e){return j?j.deflateRawSync(e):ue(e)}var Z=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];var Q=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258];var J=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577];function q(e){var r=(e<<1|e<<11)&139536|(e<<5|e<<15)&558144;return(r>>16|r>>8|r)&255}var ee=typeof Uint8Array!==\"undefined\";var re=ee?new Uint8Array(1<<8):[];for(var te=0;te<1<<8;++te)re[te]=q(te);function ae(e,r){var t=re[e&255];if(r<=8)return t>>>8-r;t=t<<8|re[e>>8&255];if(r<=16)return t>>>16-r;t=t<<8|re[e>>16&255];return t>>>24-r}function ne(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=6?0:e[a+1]<<8))>>>t&3}function ie(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=5?0:e[a+1]<<8))>>>t&7}function se(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=4?0:e[a+1]<<8))>>>t&15}function fe(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=3?0:e[a+1]<<8))>>>t&31}function oe(e,r){var t=r&7,a=r>>>3;return(e[a]|(t<=1?0:e[a+1]<<8))>>>t&127}function le(e,r,t){var a=r&7,n=r>>>3,i=(1<<t)-1;var s=e[n]>>>a;if(t<8-a)return s&i;s|=e[n+1]<<8-a;if(t<16-a)return s&i;s|=e[n+2]<<16-a;if(t<24-a)return s&i;s|=e[n+3]<<24-a;return s&i}function ce(e,r){var t=e.length,a=2*t>r?2*t:r+5,n=0;if(t>=r)return e;if(w){var i=A(a);if(e.copy)e.copy(i);else for(;n<e.length;++n)i[n]=e[n];return i}else if(ee){var s=new Uint8Array(a);if(s.set)s.set(e);else for(;n<e.length;++n)s[n]=e[n];return s}e.length=a;return e}function he(e){var r=new Array(e);for(var t=0;t<e;++t)r[t]=0;return r}var ue=function(){var e=function(){return function e(r,t){var a=0;while(a<r.length){var n=Math.min(65535,r.length-a);var i=a+n==r.length;t._W(1,+i);t._W(2,n);t._W(2,~n&65535);while(n-- >0)t[t.l++]=r[a++]}return t.l}}();return function(r){var t=$r(50+Math.floor(r.length*1.1));var a=e(r,t);return t.slice(0,a)}}();function de(e,r,t){var a=1,n=0,i=0,s=0,f=0,o=e.length;var l=ee?new Uint16Array(32):he(32);for(i=0;i<32;++i)l[i]=0;for(i=o;i<t;++i)e[i]=0;o=e.length;var c=ee?new Uint16Array(o):he(o);for(i=0;i<o;++i){l[n=e[i]]++;if(a<n)a=n;c[i]=0}l[0]=0;for(i=1;i<=a;++i)l[i+16]=f=f+l[i-1]<<1;for(i=0;i<o;++i){f=e[i];if(f!=0)c[i]=l[f+16]++}var h=0;for(i=0;i<o;++i){h=e[i];if(h!=0){f=ae(c[i],a)>>a-h;for(s=(1<<a+4-h)-1;s>=0;--s)r[f|s<<h]=h&15|i<<4}}return a}var pe=ee?new Uint16Array(512):he(512);var ve=ee?new Uint16Array(32):he(32);if(!ee){for(var ge=0;ge<512;++ge)pe[ge]=0;for(ge=0;ge<32;++ge)ve[ge]=0}(function(){var e=[];var r=0;for(;r<32;r++)e.push(5);de(e,ve,32);var t=[];r=0;for(;r<=143;r++)t.push(8);for(;r<=255;r++)t.push(9);for(;r<=279;r++)t.push(7);for(;r<=287;r++)t.push(8);de(t,pe,288)})();var be=ee?new Uint16Array(32768):he(32768);var me=ee?new Uint16Array(32768):he(32768);var we=ee?new Uint16Array(128):he(128);var Ce=1,ke=1;function Ee(e,r){var t=fe(e,r)+257;r+=5;var a=fe(e,r)+1;r+=5;var n=se(e,r)+4;r+=4;var i=0;var s=ee?new Uint8Array(19):he(19);var f=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];var o=1;var l=ee?new Uint8Array(8):he(8);var c=ee?new Uint8Array(8):he(8);var h=s.length;for(var u=0;u<n;++u){s[Z[u]]=i=ie(e,r);if(o<i)o=i;l[i]++;r+=3}var d=0;l[0]=0;for(u=1;u<=o;++u)c[u]=d=d+l[u-1]<<1;for(u=0;u<h;++u)if((d=s[u])!=0)f[u]=c[d]++;var p=0;for(u=0;u<h;++u){p=s[u];if(p!=0){d=re[f[u]]>>8-p;for(var v=(1<<7-p)-1;v>=0;--v)we[d|v<<p]=p&7|u<<3}}var g=[];o=1;for(;g.length<t+a;){d=we[oe(e,r)];r+=d&7;switch(d>>>=3){case 16:i=3+ne(e,r);r+=2;d=g[g.length-1];while(i-- >0)g.push(d);break;case 17:i=3+ie(e,r);r+=3;while(i-- >0)g.push(0);break;case 18:i=11+oe(e,r);r+=7;while(i-- >0)g.push(0);break;default:g.push(d);if(o<d)o=d;break;}}var b=g.slice(0,t),m=g.slice(t);for(u=t;u<286;++u)b[u]=0;for(u=a;u<30;++u)m[u]=0;Ce=de(b,be,286);ke=de(m,me,30);return r}function Se(e,r){if(e[0]==3&&!(e[1]&3)){return[S(r),2]}var t=0;var a=0;var n=A(r?r:1<<18);var i=0;var s=n.length>>>0;var f=0,o=0;while((a&1)==0){a=ie(e,t);t+=3;if(a>>>1==0){if(t&7)t+=8-(t&7);var l=e[t>>>3]|e[(t>>>3)+1]<<8;t+=32;if(!r&&s<i+l){n=ce(n,i+l);s=n.length}if(typeof e.copy===\"function\"){e.copy(n,i,t>>>3,(t>>>3)+l);i+=l;t+=8*l}else while(l-- >0){n[i++]=e[t>>>3];t+=8}continue}else if(a>>>1==1){f=9;o=5}else{t=Ee(e,t);f=Ce;o=ke}if(!r&&s<i+32767){n=ce(n,i+32767);s=n.length}for(;;){var c=le(e,t,f);var h=a>>>1==1?pe[c]:be[c];t+=h&15;h>>>=4;if((h>>>8&255)===0)n[i++]=h;else if(h==256)break;else{h-=257;var u=h<8?0:h-4>>2;if(u>5)u=0;var d=i+Q[h];if(u>0){d+=le(e,t,u);t+=u}c=le(e,t,o);h=a>>>1==1?ve[c]:me[c];t+=h&15;h>>>=4;var p=h<4?0:h-2>>1;var v=J[h];if(p>0){v+=le(e,t,p);t+=p}if(!r&&s<d){n=ce(n,d);s=n.length}while(i<d){n[i]=n[i-v];++i}}}}return[r?n:n.slice(0,i),t+7>>>3]}function Ae(e,r){var t=e.slice(e.l||0);var a=Se(t,r);e.l+=a[1];return a[0]}function _e(e,r){if(e){if(typeof console!==\"undefined\")console.error(r)}else throw new Error(r)}function Be(e,r){var t=e;Kr(t,0);var a=[],n=[];var i={FileIndex:a,FullPaths:n};T(i,{root:r.root});var f=t.length-4;while((t[f]!=80||t[f+1]!=75||t[f+2]!=5||t[f+3]!=6)&&f>=0)--f;t.l=f+4;t.l+=4;var o=t._R(2);t.l+=6;var l=t._R(4);t.l=l;for(f=0;f<o;++f){t.l+=20;var c=t._R(4);var h=t._R(4);var u=t._R(2);var d=t._R(2);var p=t._R(2);t.l+=8;var v=t._R(4);var g=s(t.slice(t.l+u,t.l+u+d));t.l+=u+d+p;var b=t.l;t.l=v+4;Te(t,c,h,i,g);t.l=b}return i}function Te(e,r,t,a,n){e.l+=2;var f=e._R(2);var o=e._R(2);var l=i(e);if(f&8257)throw new Error(\"Unsupported ZIP encryption\");var c=e._R(4);var h=e._R(4);var u=e._R(4);var d=e._R(2);var p=e._R(2);var v=\"\";for(var g=0;g<d;++g)v+=String.fromCharCode(e[e.l++]);if(p){var b=s(e.slice(e.l,e.l+p));if((b[21589]||{}).mt)l=b[21589].mt;if(((n||{})[21589]||{}).mt)l=n[21589].mt}e.l+=p;var m=e.slice(e.l,e.l+h);switch(o){case 8:m=Y(e,u);break;case 0:break;default:throw new Error(\"Unsupported ZIP Compression method \"+o);}var w=false;if(f&8){c=e._R(4);if(c==134695760){c=e._R(4);w=true}h=e._R(4);u=e._R(4)}if(h!=r)_e(w,\"Bad compressed size: \"+r+\" != \"+h);if(u!=t)_e(w,\"Bad uncompressed size: \"+t+\" != \"+u);var C=W.buf(m,0);if(c>>0!=C>>0)_e(w,\"Bad CRC32 checksum: \"+c+\" != \"+C);Ie(a,v,m,{unsafe:true,mt:l})}function ye(e,r){var t=r||{};var a=[],i=[];var s=$r(1);var f=t.compression?8:0,o=0;var l=false;if(l)o|=8;var c=0,h=0;var u=0,d=0;var p=e.FullPaths[0],v=p,g=e.FileIndex[0];var b=[];var m=0;for(c=1;c<e.FullPaths.length;++c){v=e.FullPaths[c].slice(p.length);g=e.FileIndex[c];if(!g.size||!g.content||v==\"\u0001Sh33tJ5\")continue;var w=u;var C=$r(v.length);for(h=0;h<v.length;++h)C._W(1,v.charCodeAt(h)&127);C=C.slice(0,C.l);b[d]=W.buf(g.content,0);var k=g.content;if(f==8)k=$(k);s=$r(30);s._W(4,67324752);s._W(2,20);s._W(2,o);s._W(2,f);if(g.mt)n(s,g.mt);else s._W(4,0);s._W(-4,o&8?0:b[d]);s._W(4,o&8?0:k.length);s._W(4,o&8?0:g.content.length);s._W(2,C.length);s._W(2,0);u+=s.length;a.push(s);u+=C.length;a.push(C);u+=k.length;a.push(k);if(o&8){s=$r(12);s._W(-4,b[d]);s._W(4,k.length);s._W(4,g.content.length);u+=s.l;a.push(s)}s=$r(46);s._W(4,33639248);s._W(2,0);s._W(2,20);s._W(2,o);s._W(2,f);s._W(4,0);s._W(-4,b[d]);s._W(4,k.length);s._W(4,g.content.length);s._W(2,C.length);s._W(2,0);s._W(2,0);s._W(2,0);s._W(2,0);s._W(4,0);s._W(4,w);m+=s.l;i.push(s);m+=C.length;i.push(C);++d}s=$r(22);s._W(4,101010256);s._W(2,0);s._W(2,0);s._W(2,d);s._W(2,d);s._W(4,m);s._W(4,u);s._W(2,0);return I([I(a),I(i),s])}function xe(e){var r={};T(r,e);return r}function Ie(e,r,t,n){var i=n&&n.unsafe;if(!i)T(e);var s=!i&&z.find(e,r);if(!s){var f=e.FullPaths[0];if(r.slice(0,f.length)==f)f=r;else{if(f.slice(-1)!=\"/\")f+=\"/\";f=(f+r).replace(\"//\",\"/\")}s={name:a(r),type:2};e.FileIndex.push(s);e.FullPaths.push(f);if(!i)z.utils.cfb_gc(e)}s.content=t;s.size=t?t.length:0;if(n){if(n.CLSID)s.clsid=n.CLSID;if(n.mt)s.mt=n.mt;if(n.ct)s.ct=n.ct}return s}function Re(e,r){T(e);var t=z.find(e,r);if(t)for(var a=0;a<e.FileIndex.length;++a)if(e.FileIndex[a]==t){e.FileIndex.splice(a,1);e.FullPaths.splice(a,1);return true}return false}function Oe(e,r,t){T(e);var n=z.find(e,r);if(n)for(var i=0;i<e.FileIndex.length;++i)if(e.FileIndex[i]==n){e.FileIndex[i].name=a(t);e.FullPaths[i]=t;return true}return false}function De(e){x(e,true)}e.find=F;e.read=B;e.parse=l;e.write=G;e.writeFile=V;e.utils={cfb_new:xe,cfb_add:Ie,cfb_del:Re,cfb_mov:Oe,cfb_gc:De,ReadShift:Wr,CheckField:jr,prep_blob:Kr,bconcat:I,use_zlib:K,_deflateRaw:ue,_inflateRaw:Ae,consts:H};return e}();if(typeof require!==\"undefined\"&&typeof module!==\"undefined\"&&typeof H===\"undefined\"){module.exports=z}var V;if(typeof require!==\"undefined\")try{V=require(\"fs\")}catch(E){}function X(e){if(typeof e===\"string\")return B(e);if(Array.isArray(e))return y(e);return e}function G(e,r,t){if(typeof V!==\"undefined\"&&V.writeFileSync)return t?V.writeFileSync(e,r,t):V.writeFileSync(e,r);var a=t==\"utf8\"?Ye(r):r;if(typeof IE_SaveFile!==\"undefined\")return IE_SaveFile(a,e);if(typeof Blob!==\"undefined\"){var n=new Blob([X(a)],{type:\"application/octet-stream\"});if(typeof navigator!==\"undefined\"&&navigator.msSaveBlob)return navigator.msSaveBlob(n,e);if(typeof saveAs!==\"undefined\")return saveAs(n,e);if(typeof URL!==\"undefined\"&&typeof document!==\"undefined\"&&document.createElement&&URL.createObjectURL){var i=URL.createObjectURL(n);if(typeof chrome===\"object\"&&typeof(chrome.downloads||{}).download==\"function\"){if(URL.revokeObjectURL&&typeof setTimeout!==\"undefined\")setTimeout(function(){URL.revokeObjectURL(i)},6e4);return chrome.downloads.download({url:i,filename:e,saveAs:true})}var s=document.createElement(\"a\");if(s.download!=null){s.download=e;s.href=i;document.body.appendChild(s);s.click();document.body.removeChild(s);if(URL.revokeObjectURL&&typeof setTimeout!==\"undefined\")setTimeout(function(){URL.revokeObjectURL(i)},6e4);return i}}}if(typeof $!==\"undefined\"&&typeof File!==\"undefined\"&&typeof Folder!==\"undefined\")try{var f=File(e);f.open(\"w\");f.encoding=\"binary\";if(Array.isArray(r))r=T(r);f.write(r);f.close();return r}catch(o){if(!o.message||!o.message.match(/onstruct/))throw o}throw new Error(\"cannot save file \"+e)}function j(e){if(typeof V!==\"undefined\")return V.readFileSync(e);if(typeof $!==\"undefined\"&&typeof File!==\"undefined\"&&typeof Folder!==\"undefined\")try{var r=File(e);r.open(\"r\");r.encoding=\"binary\";var t=r.read();r.close();return t}catch(a){if(!a.message||!a.message.match(/onstruct/))throw a}throw new Error(\"Cannot access file \"+e)}function K(e){var r=Object.keys(e),t=[];for(var a=0;a<r.length;++a)if(Object.prototype.hasOwnProperty.call(e,r[a]))t.push(r[a]);return t}function Y(e,r){var t=[],a=K(e);for(var n=0;n!==a.length;++n)if(t[e[a[n]][r]]==null)t[e[a[n]][r]]=a[n];return t}function Z(e){var r=[],t=K(e);for(var a=0;a!==t.length;++a)r[e[t[a]]]=t[a];return r}function Q(e){var r=[],t=K(e);for(var a=0;a!==t.length;++a)r[e[t[a]]]=parseInt(t[a],10);return r}function J(e){var r=[],t=K(e);for(var a=0;a!==t.length;++a){if(r[e[t[a]]]==null)r[e[t[a]]]=[];r[e[t[a]]].push(t[a])}return r}var q=new Date(1899,11,30,0,0,0);var ee=q.getTime()+((new Date).getTimezoneOffset()-q.getTimezoneOffset())*6e4;function re(e,r){var t=e.getTime();if(r)t-=1462*24*60*60*1e3;return(t-ee)/(24*60*60*1e3)}function te(e){var r=new Date;r.setTime(e*24*60*60*1e3+ee);return r}function ae(e){var r=0,t=0,a=false;var n=e.match(/P([0-9\\.]+Y)?([0-9\\.]+M)?([0-9\\.]+D)?T([0-9\\.]+H)?([0-9\\.]+M)?([0-9\\.]+S)?/);if(!n)throw new Error(\"|\"+e+\"| is not an ISO8601 Duration\");for(var i=1;i!=n.length;++i){if(!n[i])continue;t=1;if(i>3)a=true;switch(n[i].slice(n[i].length-1)){case\"Y\":throw new Error(\"Unsupported ISO Duration Field: \"+n[i].slice(n[i].length-1));case\"D\":t*=24;case\"H\":t*=60;case\"M\":if(!a)throw new Error(\"Unsupported ISO Duration Field: M\");else t*=60;case\"S\":break;}r+=t*parseInt(n[i],10)}return r}var ne=new Date(\"2017-02-19T19:06:09.000Z\");if(isNaN(ne.getFullYear()))ne=new Date(\"2/19/17\");var ie=ne.getFullYear()==2017;function se(e,r){var t=new Date(e);if(ie){if(r>0)t.setTime(t.getTime()+t.getTimezoneOffset()*60*1e3);else if(r<0)t.setTime(t.getTime()-t.getTimezoneOffset()*60*1e3);return t}if(e instanceof Date)return e;if(ne.getFullYear()==1917&&!isNaN(t.getFullYear())){var a=t.getFullYear();if(e.indexOf(\"\"+a)>-1)return t;t.setFullYear(t.getFullYear()+100);return t}var n=e.match(/\\d+/g)||[\"2017\",\"2\",\"19\",\"0\",\"0\",\"0\"];var i=new Date(+n[0],+n[1]-1,+n[2],+n[3]||0,+n[4]||0,+n[5]||0);if(e.indexOf(\"Z\")>-1)i=new Date(i.getTime()-i.getTimezoneOffset()*60*1e3);return i}function fe(e){var r=\"\";for(var t=0;t!=e.length;++t)r+=String.fromCharCode(e[t]);return r}function oe(e){if(typeof JSON!=\"undefined\"&&!Array.isArray(e))return JSON.parse(JSON.stringify(e));if(typeof e!=\"object\"||e==null)return e;if(e instanceof Date)return new Date(e.getTime());var r={};for(var t in e)if(Object.prototype.hasOwnProperty.call(e,t))r[t]=oe(e[t]);return r}function le(e,r){var t=\"\";while(t.length<r)t+=e;return t}function ce(e){var r=Number(e);if(!isNaN(r))return r;var t=1;var a=e.replace(/([\\d]),([\\d])/g,\"$1$2\").replace(/[$]/g,\"\").replace(/[%]/g,function(){t*=100;return\"\"});if(!isNaN(r=Number(a)))return r/t;a=a.replace(/[(](.*)[)]/,function(e,r){t=-t;return r});if(!isNaN(r=Number(a)))return r/t;return r}function he(e){var r=new Date(e),t=new Date(NaN);var a=r.getYear(),n=r.getMonth(),i=r.getDate();if(isNaN(i))return t;if(a<0||a>8099)return t;if((n>0||i>1)&&a!=101)return r;if(e.toLowerCase().match(/jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec/))return r;if(e.match(/[^-0-9:,\\/\\\\]/))return t;return r}var ue=\"abacaba\".split(/(:?b)/i).length==5;function de(e,r,t){if(ue||typeof r==\"string\")return e.split(r);var a=e.split(r),n=[a[0]];for(var i=1;i<a.length;++i){n.push(t);n.push(a[i])}return n}function pe(e){if(!e)return null;if(e.data)return d(e.data);if(e.asNodeBuffer&&w)return d(e.asNodeBuffer().toString(\"binary\"));if(e.asBinary)return d(e.asBinary());if(e._data&&e._data.getContent)return d(fe(Array.prototype.slice.call(e._data.getContent(),0)));if(e.content&&e.type)return d(fe(e.content));return null}function ve(e){if(!e)return null;if(e.data)return c(e.data);if(e.asNodeBuffer&&w)return e.asNodeBuffer();if(e._data&&e._data.getContent){var r=e._data.getContent();if(typeof r==\"string\")return c(r);return Array.prototype.slice.call(r)}if(e.content&&e.type)return e.content;return null}function ge(e){return e&&e.name.slice(-4)===\".bin\"?ve(e):pe(e)}function be(e,r){var t=e.FullPaths||K(e.files);var a=r.toLowerCase(),n=a.replace(/\\//g,\"\\\\\");for(var i=0;i<t.length;++i){var s=t[i].toLowerCase();if(a==s||n==s)return e.files[t[i]]}return null}function me(e,r){var t=be(e,r);if(t==null)throw new Error(\"Cannot find file \"+r+\" in zip\");return t}function we(e,r,t){if(!t)return ge(me(e,r));if(!r)return null;try{return we(e,r)}catch(a){return null}}function Ce(e,r,t){if(!t)return pe(me(e,r));if(!r)return null;try{return Ce(e,r)}catch(a){return null}}function ke(e){var r=e.FullPaths||K(e.files),t=[];for(var a=0;a<r.length;++a)if(r[a].slice(-1)!=\"/\")t.push(r[a]);return t.sort()}function Ee(e,r,t){if(e.FullPaths)z.utils.cfb_add(e,r,t);else e.file(r,t)}var Se;if(typeof JSZipSync!==\"undefined\")Se=JSZipSync;if(typeof exports!==\"undefined\"){if(typeof module!==\"undefined\"&&module.exports){if(typeof Se===\"undefined\")Se=undefined}}function Ae(){if(!Se)return z.utils.cfb_new();return new Se}function _e(e,r){var t;if(Se)switch(r.type){case\"base64\":t=new Se(e,{base64:true});break;case\"binary\":;case\"array\":t=new Se(e,{base64:false});break;case\"buffer\":t=new Se(e);break;default:throw new Error(\"Unrecognized type \"+r.type);}else switch(r.type){case\"base64\":t=z.read(e,{type:\"base64\"});break;case\"binary\":t=z.read(e,{type:\"binary\"});break;case\"buffer\":;case\"array\":t=z.read(e,{type:\"buffer\"});break;default:throw new Error(\"Unrecognized type \"+r.type);}return t}function Be(e,r){if(e.charAt(0)==\"/\")return e.slice(1);var t=r.split(\"/\");if(r.slice(-1)!=\"/\")t.pop();var a=e.split(\"/\");while(a.length!==0){var n=a.shift();if(n===\"..\")t.pop();else if(n!==\".\")t.push(n)}return t.join(\"/\")}var Te='<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?>\\r\\n';var ye=/([^\"\\s?>\\/]+)\\s*=\\s*((?:\")([^\"]*)(?:\")|(?:')([^']*)(?:')|([^'\">\\s]+))/g;var xe=/<[\\/\\?]?[a-zA-Z0-9:_-]+(?:\\s+[^\"\\s?>\\/]+\\s*=\\s*(?:\"[^\"]*\"|'[^']*'|[^'\">\\s=]+))*\\s?[\\/\\?]?>/g;if(!Te.match(xe))xe=/<[^>]*>/g;var Ie=/<\\w*:/,Re=/<(\\/?)\\w+:/;function Oe(e,r,t){var a={};var n=0,i=0;for(;n!==e.length;++n)if((i=e.charCodeAt(n))===32||i===10||i===13)break;if(!r)a[0]=e.slice(0,n);if(n===e.length)return a;var s=e.match(ye),f=0,o=\"\",l=0,c=\"\",h=\"\",u=1;if(s)for(l=0;l!=s.length;++l){h=s[l];for(i=0;i!=h.length;++i)if(h.charCodeAt(i)===61)break;c=h.slice(0,i).trim();while(h.charCodeAt(i+1)==32)++i;u=(n=h.charCodeAt(i+1))==34||n==39?1:0;o=h.slice(i+1+u,h.length-u);for(f=0;f!=c.length;++f)if(c.charCodeAt(f)===58)break;if(f===c.length){if(c.indexOf(\"_\")>0)c=c.slice(0,c.indexOf(\"_\"));a[c]=o;if(!t)a[c.toLowerCase()]=o}else{var d=(f===5&&c.slice(0,5)===\"xmlns\"?\"xmlns\":\"\")+c.slice(f+1);if(a[d]&&c.slice(f-3,f)==\"ext\")continue;a[d]=o;if(!t)a[d.toLowerCase()]=o}}return a}function De(e){return e.replace(Re,\"<$1\")}var Fe={\"&quot;\":'\"',\"&apos;\":\"'\",\"&gt;\":\">\",\"&lt;\":\"<\",\"&amp;\":\"&\"};var Pe=Z(Fe);var Ne=function(){var e=/&(?:quot|apos|gt|lt|amp|#x?([\\da-fA-F]+));/gi,r=/_x([\\da-fA-F]{4})_/gi;return function t(a){var n=a+\"\",i=n.indexOf(\"<![CDATA[\");if(i==-1)return n.replace(e,function(e,r){return Fe[e]||String.fromCharCode(parseInt(r,e.indexOf(\"x\")>-1?16:10))||e}).replace(r,function(e,r){return String.fromCharCode(parseInt(r,16))});var s=n.indexOf(\"]]>\");return t(n.slice(0,i))+n.slice(i+9,s)+t(n.slice(s+3))}}();var Le=/[&<>'\"]/g,Me=/[\\u0000-\\u0008\\u000b-\\u001f]/g;function Ue(e){var r=e+\"\";return r.replace(Le,function(e){return Pe[e]}).replace(Me,function(e){return\"_x\"+(\"000\"+e.charCodeAt(0).toString(16)).slice(-4)+\"_\"})}function He(e){return Ue(e).replace(/ /g,\"_x0020_\")}var We=/[\\u0000-\\u001f]/g;function ze(e){var r=e+\"\";return r.replace(Le,function(e){return Pe[e]}).replace(/\\n/g,\"<br/>\").replace(We,function(e){return\"&#x\"+(\"000\"+e.charCodeAt(0).toString(16)).slice(-4)+\";\"})}function Ve(e){var r=e+\"\";return r.replace(Le,function(e){return Pe[e]}).replace(We,function(e){return\"&#x\"+e.charCodeAt(0).toString(16).toUpperCase()+\";\"})}var Xe=function(){var e=/&#(\\d+);/g;function r(e,r){return String.fromCharCode(parseInt(r,10))}return function t(a){return a.replace(e,r)}}();var Ge=function(){return function e(r){return r.replace(/(\\r\\n|[\\r\\n])/g,\"&#10;\")}}();function je(e){switch(e){case 1:;case true:;case\"1\":;case\"true\":;case\"TRUE\":return true;default:return false;}}var Ke=function cb(e){var r=\"\",t=0,a=0,n=0,i=0,s=0,f=0;while(t<e.length){a=e.charCodeAt(t++);if(a<128){r+=String.fromCharCode(a);continue}n=e.charCodeAt(t++);if(a>191&&a<224){s=(a&31)<<6;s|=n&63;r+=String.fromCharCode(s);continue}i=e.charCodeAt(t++);if(a<240){r+=String.fromCharCode((a&15)<<12|(n&63)<<6|i&63);continue}s=e.charCodeAt(t++);f=((a&7)<<18|(n&63)<<12|(i&63)<<6|s&63)-65536;r+=String.fromCharCode(55296+(f>>>10&1023));r+=String.fromCharCode(56320+(f&1023))}return r};var Ye=function(e){var r=[],t=0,a=0,n=0;while(t<e.length){a=e.charCodeAt(t++);switch(true){case a<128:r.push(String.fromCharCode(a));break;case a<2048:r.push(String.fromCharCode(192+(a>>6)));r.push(String.fromCharCode(128+(a&63)));break;case a>=55296&&a<57344:a-=55296;n=e.charCodeAt(t++)-56320+(a<<10);r.push(String.fromCharCode(240+(n>>18&7)));r.push(String.fromCharCode(144+(n>>12&63)));r.push(String.fromCharCode(128+(n>>6&63)));r.push(String.fromCharCode(128+(n&63)));break;default:r.push(String.fromCharCode(224+(a>>12)));r.push(String.fromCharCode(128+(a>>6&63)));r.push(String.fromCharCode(128+(a&63)));}}return r.join(\"\")};if(w){var $e=function hb(e){var r=Buffer.alloc(2*e.length),t,a,n=1,i=0,s=0,f;for(a=0;a<e.length;a+=n){n=1;if((f=e.charCodeAt(a))<128)t=f;else if(f<224){t=(f&31)*64+(e.charCodeAt(a+1)&63);n=2}else if(f<240){t=(f&15)*4096+(e.charCodeAt(a+1)&63)*64+(e.charCodeAt(a+2)&63);n=3}else{n=4;t=(f&7)*262144+(e.charCodeAt(a+1)&63)*4096+(e.charCodeAt(a+2)&63)*64+(e.charCodeAt(a+3)&63);t-=65536;s=55296+(t>>>10&1023);t=56320+(t&1023)}if(s!==0){r[i++]=s&255;r[i++]=s>>>8;s=0}r[i++]=t%256;r[i++]=t>>>8}return r.slice(0,i).toString(\"ucs2\")};var Ze=\"foo bar bazâð£\";if(Ke(Ze)==$e(Ze))Ke=$e;var Qe=function ub(e){return C(e,\"binary\").toString(\"utf8\")};if(Ke(Ze)==Qe(Ze))Ke=Qe;Ye=function(e){return C(e,\"utf8\").toString(\"binary\")}}var Je=function(){var e={};return function r(t,a){var n=t+\"|\"+(a||\"\");if(e[n])return e[n];return e[n]=new RegExp(\"<(?:\\\\w+:)?\"+t+'(?: xml:space=\"preserve\")?(?:[^>]*)>([\\\\s\\\\S]*?)</(?:\\\\w+:)?'+t+\">\",a||\"\")}}();var qe=function(){var e=[[\"nbsp\",\" \"],[\"middot\",\"·\"],[\"quot\",'\"'],[\"apos\",\"'\"],[\"gt\",\">\"],[\"lt\",\"<\"],[\"amp\",\"&\"]].map(function(e){return[new RegExp(\"&\"+e[0]+\";\",\"ig\"),e[1]]});return function r(t){var a=t.replace(/^[\\t\\n\\r ]+/,\"\").replace(/[\\t\\n\\r ]+$/,\"\").replace(/>\\s+/g,\">\").replace(/\\s+</g,\"<\").replace(/[\\t\\n\\r ]+/g,\" \").replace(/<\\s*[bB][rR]\\s*\\/?>/g,\"\\n\").replace(/<[^>]*>/g,\"\");for(var n=0;n<e.length;++n)a=a.replace(e[n][0],e[n][1]);return a}}();var er=function(){var e={};return function r(t){if(e[t]!==undefined)return e[t];return e[t]=new RegExp(\"<(?:vt:)?\"+t+\">([\\\\s\\\\S]*?)</(?:vt:)?\"+t+\">\",\"g\")}}();var rr=/<\\/?(?:vt:)?variant>/g,tr=/<(?:vt:)([^>]*)>([\\s\\S]*)</;function ar(e,r){var t=Oe(e);var a=e.match(er(t.baseType))||[];var n=[];if(a.length!=t.size){if(r.WTF)throw new Error(\"unexpected vector length \"+a.length+\" != \"+t.size);return n}a.forEach(function(e){var r=e.replace(rr,\"\").match(tr);if(r)n.push({v:Ke(r[2]),t:r[1]})});return n}var nr=/(^\\s|\\s$|\\n)/;function ir(e,r){return\"<\"+e+(r.match(nr)?' xml:space=\"preserve\"':\"\")+\">\"+r+\"</\"+e+\">\"}function sr(e){return K(e).map(function(r){return\" \"+r+'=\"'+e[r]+'\"'}).join(\"\")}function fr(e,r,t){return\"<\"+e+(t!=null?sr(t):\"\")+(r!=null?(r.match(nr)?' xml:space=\"preserve\"':\"\")+\">\"+r+\"</\"+e:\"/\")+\">\"}function or(e,r){try{return e.toISOString().replace(/\\.\\d*/,\"\")}catch(t){if(r)throw t}return\"\"}function lr(e){switch(typeof e){case\"string\":return fr(\"vt:lpwstr\",Ue(e));case\"number\":return fr((e|0)==e?\"vt:i4\":\"vt:r8\",Ue(String(e)));case\"boolean\":return fr(\"vt:bool\",e?\"true\":\"false\");}if(e instanceof Date)return fr(\"vt:filetime\",or(e));throw new Error(\"Unable to serialize \"+e)}var cr={dc:\"http://purl.org/dc/elements/1.1/\",dcterms:\"http://purl.org/dc/terms/\",dcmitype:\"http://purl.org/dc/dcmitype/\",mx:\"http://schemas.microsoft.com/office/mac/excel/2008/main\",r:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships\",sjs:\"http://schemas.openxmlformats.org/package/2006/sheetjs/core-properties\",vt:\"http://schemas.openxmlformats.org/officeDocument/2006/docPropsVTypes\",xsi:\"http://www.w3.org/2001/XMLSchema-instance\",xsd:\"http://www.w3.org/2001/XMLSchema\"};cr.main=[\"http://schemas.openxmlformats.org/spreadsheetml/2006/main\",\"http://purl.oclc.org/ooxml/spreadsheetml/main\",\"http://schemas.microsoft.com/office/excel/2006/main\",\"http://schemas.microsoft.com/office/excel/2006/2\"];var hr={o:\"urn:schemas-microsoft-com:office:office\",x:\"urn:schemas-microsoft-com:office:excel\",ss:\"urn:schemas-microsoft-com:office:spreadsheet\",dt:\"uuid:C2F41010-65B3-11d1-A29F-00AA00C14882\",mv:\"http://macVmlSchemaUri\",v:\"urn:schemas-microsoft-com:vml\",html:\"http://www.w3.org/TR/REC-html40\"};function ur(e,r){var t=1-2*(e[r+7]>>>7);var a=((e[r+7]&127)<<4)+(e[r+6]>>>4&15);var n=e[r+6]&15;for(var i=5;i>=0;--i)n=n*256+e[r+i];if(a==2047)return n==0?t*Infinity:NaN;if(a==0)a=-1022;else{a-=1023;n+=Math.pow(2,52)}return t*Math.pow(2,a-52)*n}function dr(e,r,t){var a=(r<0||1/r==-Infinity?1:0)<<7,n=0,i=0;var s=a?-r:r;if(!isFinite(s)){n=2047;i=isNaN(r)?26985:0}else if(s==0)n=i=0;else{n=Math.floor(Math.log(s)/Math.LN2);i=s*Math.pow(2,52-n);if(n<=-1023&&(!isFinite(i)||i<Math.pow(2,52))){n=-1022}else{i-=Math.pow(2,52);n+=1023}}for(var f=0;f<=5;++f,i/=256)e[t+f]=i&255;e[t+6]=(n&15)<<4|i&15;e[t+7]=n>>4|a}var pr=function(e){var r=[],t=10240;for(var a=0;a<e[0].length;++a)if(e[0][a])for(var n=0,i=e[0][a].length;n<i;n+=t)r.push.apply(r,e[0][a].slice(n,n+t));return r};var vr=pr;var gr=function(e,r,t){var a=[];for(var n=r;n<t;n+=2)a.push(String.fromCharCode(Nr(e,n)));return a.join(\"\").replace(R,\"\")};var br=gr;var mr=function(e,r,t){var a=[];for(var n=r;n<r+t;++n)a.push((\"0\"+e[n].toString(16)).slice(-2));return a.join(\"\")};var wr=mr;var Cr=function(e,r,t){var a=[];for(var n=r;n<t;n++)a.push(String.fromCharCode(Pr(e,n)));return a.join(\"\")};var kr=Cr;var Er=function(e,r){var t=Mr(e,r);return t>0?Cr(e,r+4,r+4+t-1):\"\"};var Sr=Er;var Ar=function(e,r){var t=Mr(e,r);return t>0?Cr(e,r+4,r+4+t-1):\"\"};var _r=Ar;var Br=function(e,r){var t=2*Mr(e,r);return t>0?Cr(e,r+4,r+4+t-1):\"\"};var Tr=Br;var yr,xr;yr=xr=function db(e,r){var t=Mr(e,r);return t>0?gr(e,r+4,r+4+t):\"\"};var Ir=function(e,r){var t=Mr(e,r);return t>0?Cr(e,r+4,r+4+t):\"\"};var Rr=Ir;var Or,Dr;Or=Dr=function(e,r){return ur(e,r)};var Fr=function pb(e){return Array.isArray(e)};if(w){gr=function(e,r,t){if(!Buffer.isBuffer(e))return br(e,r,t);return e.toString(\"utf16le\",r,t).replace(R,\"\")};mr=function(e,r,t){return Buffer.isBuffer(e)?e.toString(\"hex\",r,r+t):wr(e,r,t)};Er=function vb(e,r){if(!Buffer.isBuffer(e))return Sr(e,r);var t=e.readUInt32LE(r);return t>0?e.toString(\"utf8\",r+4,r+4+t-1):\"\"};Ar=function gb(e,r){if(!Buffer.isBuffer(e))return _r(e,r);var t=e.readUInt32LE(r);return t>0?e.toString(\"utf8\",r+4,r+4+t-1):\"\"};Br=function bb(e,r){if(!Buffer.isBuffer(e))return Tr(e,r);var t=2*e.readUInt32LE(r);return e.toString(\"utf16le\",r+4,r+4+t-1)};yr=function mb(e,r){if(!Buffer.isBuffer(e))return xr(e,r);var t=e.readUInt32LE(r);return e.toString(\"utf16le\",r+4,r+4+t)};Ir=function wb(e,r){if(!Buffer.isBuffer(e))return Rr(e,r);var t=e.readUInt32LE(r);return e.toString(\"utf8\",r+4,r+4+t)};Cr=function Cb(e,r,t){return Buffer.isBuffer(e)?e.toString(\"utf8\",r,t):kr(e,r,t)};pr=function(e){return e[0].length>0&&Buffer.isBuffer(e[0][0])?Buffer.concat(e[0]):vr(e)};I=function(e){return Buffer.isBuffer(e[0])?Buffer.concat(e):[].concat.apply([],e)};Or=function kb(e,r){if(Buffer.isBuffer(e))return e.readDoubleLE(r);return Dr(e,r)};Fr=function Eb(e){return Buffer.isBuffer(e)||Array.isArray(e)}}if(typeof cptable!==\"undefined\"){gr=function(e,r,t){return cptable.utils.decode(1200,e.slice(r,t)).replace(R,\"\")};Cr=function(e,r,t){return cptable.utils.decode(65001,e.slice(r,t))};Er=function(e,r){var a=Mr(e,r);return a>0?cptable.utils.decode(t,e.slice(r+4,r+4+a-1)):\"\"};Ar=function(e,t){var a=Mr(e,t);return a>0?cptable.utils.decode(r,e.slice(t+4,t+4+a-1)):\"\"};Br=function(e,r){var t=2*Mr(e,r);return t>0?cptable.utils.decode(1200,e.slice(r+4,r+4+t-1)):\"\"};yr=function(e,r){var t=Mr(e,r);return t>0?cptable.utils.decode(1200,e.slice(r+4,r+4+t)):\"\"};Ir=function(e,r){var t=Mr(e,r);return t>0?cptable.utils.decode(65001,e.slice(r+4,r+4+t)):\"\"}}var Pr=function(e,r){return e[r]};var Nr=function(e,r){return e[r+1]*(1<<8)+e[r]};var Lr=function(e,r){var t=e[r+1]*(1<<8)+e[r];\nreturn t<32768?t:(65535-t+1)*-1};var Mr=function(e,r){return e[r+3]*(1<<24)+(e[r+2]<<16)+(e[r+1]<<8)+e[r]};var Ur=function(e,r){return e[r+3]<<24|e[r+2]<<16|e[r+1]<<8|e[r]};var Hr=function(e,r){return e[r]<<24|e[r+1]<<16|e[r+2]<<8|e[r+3]};function Wr(e,t){var a=\"\",n,i,s=[],f,o,l,c;switch(t){case\"dbcs\":c=this.l;if(w&&Buffer.isBuffer(this))a=this.slice(this.l,this.l+2*e).toString(\"utf16le\");else for(l=0;l<e;++l){a+=String.fromCharCode(Nr(this,c));c+=2}e*=2;break;case\"utf8\":a=Cr(this,this.l,this.l+e);break;case\"utf16le\":e*=2;a=gr(this,this.l,this.l+e);break;case\"wstr\":if(typeof cptable!==\"undefined\")a=cptable.utils.decode(r,this.slice(this.l,this.l+2*e));else return Wr.call(this,e,\"dbcs\");e=2*e;break;case\"lpstr-ansi\":a=Er(this,this.l);e=4+Mr(this,this.l);break;case\"lpstr-cp\":a=Ar(this,this.l);e=4+Mr(this,this.l);break;case\"lpwstr\":a=Br(this,this.l);e=4+2*Mr(this,this.l);break;case\"lpp4\":e=4+Mr(this,this.l);a=yr(this,this.l);if(e&2)e+=2;break;case\"8lpp4\":e=4+Mr(this,this.l);a=Ir(this,this.l);if(e&3)e+=4-(e&3);break;case\"cstr\":e=0;a=\"\";while((f=Pr(this,this.l+e++))!==0)s.push(p(f));a=s.join(\"\");break;case\"_wstr\":e=0;a=\"\";while((f=Nr(this,this.l+e))!==0){s.push(p(f));e+=2}e+=2;a=s.join(\"\");break;case\"dbcs-cont\":a=\"\";c=this.l;for(l=0;l<e;++l){if(this.lens&&this.lens.indexOf(c)!==-1){f=Pr(this,c);this.l=c+1;o=Wr.call(this,e-l,f?\"dbcs-cont\":\"sbcs-cont\");return s.join(\"\")+o}s.push(p(Nr(this,c)));c+=2}a=s.join(\"\");e*=2;break;case\"cpstr\":if(typeof cptable!==\"undefined\"){a=cptable.utils.decode(r,this.slice(this.l,this.l+e));break};case\"sbcs-cont\":a=\"\";c=this.l;for(l=0;l!=e;++l){if(this.lens&&this.lens.indexOf(c)!==-1){f=Pr(this,c);this.l=c+1;o=Wr.call(this,e-l,f?\"dbcs-cont\":\"sbcs-cont\");return s.join(\"\")+o}s.push(p(Pr(this,c)));c+=1}a=s.join(\"\");break;default:switch(e){case 1:n=Pr(this,this.l);this.l++;return n;case 2:n=(t===\"i\"?Lr:Nr)(this,this.l);this.l+=2;return n;case 4:;case-4:if(t===\"i\"||(this[this.l+3]&128)===0){n=(e>0?Ur:Hr)(this,this.l);this.l+=4;return n}else{i=Mr(this,this.l);this.l+=4}return i;case 8:;case-8:if(t===\"f\"){if(e==8)i=Or(this,this.l);else i=Or([this[this.l+7],this[this.l+6],this[this.l+5],this[this.l+4],this[this.l+3],this[this.l+2],this[this.l+1],this[this.l+0]],0);this.l+=8;return i}else e=8;case 16:a=mr(this,this.l,e);break;};}this.l+=e;return a}var zr=function(e,r,t){e[t]=r&255;e[t+1]=r>>>8&255;e[t+2]=r>>>16&255;e[t+3]=r>>>24&255};var Vr=function(e,r,t){e[t]=r&255;e[t+1]=r>>8&255;e[t+2]=r>>16&255;e[t+3]=r>>24&255};var Xr=function(e,r,t){e[t]=r&255;e[t+1]=r>>>8&255};function Gr(e,r,a){var n=0,i=0;if(a===\"dbcs\"){for(i=0;i!=r.length;++i)Xr(this,r.charCodeAt(i),this.l+2*i);n=2*r.length}else if(a===\"sbcs\"){if(typeof cptable!==\"undefined\"&&t==874){for(i=0;i!=r.length;++i){var s=cptable.utils.encode(t,r.charAt(i));this[this.l+i]=s[0]}}else{r=r.replace(/[^\\x00-\\x7F]/g,\"_\");for(i=0;i!=r.length;++i)this[this.l+i]=r.charCodeAt(i)&255}n=r.length}else if(a===\"hex\"){for(;i<e;++i){this[this.l++]=parseInt(r.slice(2*i,2*i+2),16)||0}return this}else if(a===\"utf16le\"){var f=Math.min(this.l+e,this.length);for(i=0;i<Math.min(r.length,e);++i){var o=r.charCodeAt(i);this[this.l++]=o&255;this[this.l++]=o>>8}while(this.l<f)this[this.l++]=0;return this}else switch(e){case 1:n=1;this[this.l]=r&255;break;case 2:n=2;this[this.l]=r&255;r>>>=8;this[this.l+1]=r&255;break;case 3:n=3;this[this.l]=r&255;r>>>=8;this[this.l+1]=r&255;r>>>=8;this[this.l+2]=r&255;break;case 4:n=4;zr(this,r,this.l);break;case 8:n=8;if(a===\"f\"){dr(this,r,this.l);break};case 16:break;case-4:n=4;Vr(this,r,this.l);break;}this.l+=n;return this}function jr(e,r){var t=mr(this,this.l,e.length>>1);if(t!==e)throw new Error(r+\"Expected \"+e+\" saw \"+t);this.l+=e.length>>1}function Kr(e,r){e.l=r;e._R=Wr;e.chk=jr;e._W=Gr}function Yr(e,r){e.l+=r}function $r(e){var r=S(e);Kr(r,0);return r}function Zr(e,r,t){if(!e)return;var a,n,i;Kr(e,e.l||0);var s=e.length,f=0,o=0;while(e.l<s){f=e._R(1);if(f&128)f=(f&127)+((e._R(1)&127)<<7);var l=Tv[f]||Tv[65535];a=e._R(1);i=a&127;for(n=1;n<4&&a&128;++n)i+=((a=e._R(1))&127)<<7*n;o=e.l+i;var c=(l.f||Yr)(e,i,t);e.l=o;if(r(c,l.n,f))return}}function Qr(){var e=[],r=w?256:2048;var t=function o(e){var r=$r(e);Kr(r,0);return r};var a=t(r);var n=function l(){if(!a)return;if(a.length>a.l){a=a.slice(0,a.l);a.l=a.length}if(a.length>0)e.push(a);a=null};var i=function c(e){if(a&&e<a.length-a.l)return a;n();return a=t(Math.max(e+1,r))};var s=function h(){n();return pr([e])};var f=function u(e){n();a=e;if(a.l==null)a.l=a.length;i(r)};return{next:i,push:f,end:s,_bufs:e}}function Jr(e,r,t,a){var n=+yv[r],i;if(isNaN(n))return;if(!a)a=Tv[n].p||(t||[]).length||0;i=1+(n>=128?1:0)+1;if(a>=128)++i;if(a>=16384)++i;if(a>=2097152)++i;var s=e.next(i);if(n<=127)s._W(1,n);else{s._W(1,(n&127)+128);s._W(1,n>>7)}for(var f=0;f!=4;++f){if(a>=128){s._W(1,(a&127)+128);a>>=7}else{s._W(1,a);break}}if(a>0&&Fr(t))e.push(t)}function qr(e,r,t){var a=oe(e);if(r.s){if(a.cRel)a.c+=r.s.c;if(a.rRel)a.r+=r.s.r}else{if(a.cRel)a.c+=r.c;if(a.rRel)a.r+=r.r}if(!t||t.biff<12){while(a.c>=256)a.c-=256;while(a.r>=65536)a.r-=65536}return a}function et(e,r,t){var a=oe(e);a.s=qr(a.s,r.s,t);a.e=qr(a.e,r.s,t);return a}function rt(e,r){if(e.cRel&&e.c<0){e=oe(e);while(e.c<0)e.c+=r>8?16384:256}if(e.rRel&&e.r<0){e=oe(e);while(e.r<0)e.r+=r>8?1048576:r>5?65536:16384}var t=vt(e);if(!e.cRel&&e.cRel!=null)t=ht(t);if(!e.rRel&&e.rRel!=null)t=ft(t);return t}function tt(e,r){if(e.s.r==0&&!e.s.rRel){if(e.e.r==(r.biff>=12?1048575:r.biff>=8?65536:16384)&&!e.e.rRel){return(e.s.cRel?\"\":\"$\")+ct(e.s.c)+\":\"+(e.e.cRel?\"\":\"$\")+ct(e.e.c)}}if(e.s.c==0&&!e.s.cRel){if(e.e.c==(r.biff>=12?16383:255)&&!e.e.cRel){return(e.s.rRel?\"\":\"$\")+st(e.s.r)+\":\"+(e.e.rRel?\"\":\"$\")+st(e.e.r)}}return rt(e.s,r.biff)+\":\"+rt(e.e,r.biff)}var at={};var nt=function(e,r){var t;if(typeof r!==\"undefined\")t=r;else if(typeof require!==\"undefined\"){try{t=undefined}catch(a){t=null}}e.rc4=function(e,r){var t=new Array(256);var a=0,n=0,i=0,s=0;for(n=0;n!=256;++n)t[n]=n;for(n=0;n!=256;++n){i=i+t[n]+e[n%e.length].charCodeAt(0)&255;s=t[n];t[n]=t[i];t[i]=s}n=i=0;var f=Buffer(r.length);for(a=0;a!=r.length;++a){n=n+1&255;i=(i+t[n])%256;s=t[n];t[n]=t[i];t[i]=s;f[a]=r[a]^t[t[n]+t[i]&255]}return f};e.md5=function(e){if(!t)throw new Error(\"Unsupported crypto\");return t.createHash(\"md5\").update(e).digest(\"hex\")}};nt(at,typeof crypto!==\"undefined\"?crypto:undefined);function it(e){return parseInt(ot(e),10)-1}function st(e){return\"\"+(e+1)}function ft(e){return e.replace(/([A-Z]|^)(\\d+)$/,\"$1$$$2\")}function ot(e){return e.replace(/\\$(\\d+)$/,\"$1\")}function lt(e){var r=ut(e),t=0,a=0;for(;a!==r.length;++a)t=26*t+r.charCodeAt(a)-64;return t-1}function ct(e){if(e<0)throw new Error(\"invalid column \"+e);var r=\"\";for(++e;e;e=Math.floor((e-1)/26))r=String.fromCharCode((e-1)%26+65)+r;return r}function ht(e){return e.replace(/^([A-Z])/,\"$$$1\")}function ut(e){return e.replace(/^\\$([A-Z])/,\"$1\")}function dt(e){return e.replace(/(\\$?[A-Z]*)(\\$?\\d*)/,\"$1,$2\").split(\",\")}function pt(e){var r=dt(e);return{c:lt(r[0]),r:it(r[1])}}function vt(e){return ct(e.c)+st(e.r)}function gt(e){var r=e.split(\":\").map(pt);return{s:r[0],e:r[r.length-1]}}function bt(e,r){if(typeof r===\"undefined\"||typeof r===\"number\"){return bt(e.s,e.e)}if(typeof e!==\"string\")e=vt(e);if(typeof r!==\"string\")r=vt(r);return e==r?e:e+\":\"+r}function mt(e){var r={s:{c:0,r:0},e:{c:0,r:0}};var t=0,a=0,n=0;var i=e.length;for(t=0;a<i;++a){if((n=e.charCodeAt(a)-64)<1||n>26)break;t=26*t+n}r.s.c=--t;for(t=0;a<i;++a){if((n=e.charCodeAt(a)-48)<0||n>9)break;t=10*t+n}r.s.r=--t;if(a===i||e.charCodeAt(++a)===58){r.e.c=r.s.c;r.e.r=r.s.r;return r}for(t=0;a!=i;++a){if((n=e.charCodeAt(a)-64)<1||n>26)break;t=26*t+n}r.e.c=--t;for(t=0;a!=i;++a){if((n=e.charCodeAt(a)-48)<0||n>9)break;t=10*t+n}r.e.r=--t;return r}function wt(e,r){var t=e.t==\"d\"&&r instanceof Date;if(e.z!=null)try{return e.w=D.format(e.z,t?re(r):r)}catch(a){}try{return e.w=D.format((e.XF||{}).numFmtId||(t?14:0),t?re(r):r)}catch(a){return\"\"+r}}function Ct(e,r,t){if(e==null||e.t==null||e.t==\"z\")return\"\";if(e.w!==undefined)return e.w;if(e.t==\"d\"&&!e.z&&t&&t.dateNF)e.z=t.dateNF;if(r==undefined)return wt(e,e.v);return wt(e,r)}function kt(e,r){var t=r&&r.sheet?r.sheet:\"Sheet1\";var a={};a[t]=e;return{SheetNames:[t],Sheets:a}}function Et(e,r,t){var a=t||{};var n=e?Array.isArray(e):a.dense;if(g!=null&&n==null)n=g;var i=e||(n?[]:{});var s=0,f=0;if(i&&a.origin!=null){if(typeof a.origin==\"number\")s=a.origin;else{var o=typeof a.origin==\"string\"?pt(a.origin):a.origin;s=o.r;f=o.c}}var l={s:{c:1e7,r:1e7},e:{c:0,r:0}};if(i[\"!ref\"]){var c=mt(i[\"!ref\"]);l.s.c=c.s.c;l.s.r=c.s.r;l.e.c=Math.max(l.e.c,c.e.c);l.e.r=Math.max(l.e.r,c.e.r);if(s==-1)l.e.r=s=c.e.r+1}for(var h=0;h!=r.length;++h){if(!r[h])continue;if(!Array.isArray(r[h]))throw new Error(\"aoa_to_sheet expects an array of arrays\");for(var u=0;u!=r[h].length;++u){if(typeof r[h][u]===\"undefined\")continue;var d={v:r[h][u]};var p=s+h,v=f+u;if(l.s.r>p)l.s.r=p;if(l.s.c>v)l.s.c=v;if(l.e.r<p)l.e.r=p;if(l.e.c<v)l.e.c=v;if(r[h][u]&&typeof r[h][u]===\"object\"&&!Array.isArray(r[h][u])&&!(r[h][u]instanceof Date))d=r[h][u];else{if(Array.isArray(d.v)){d.f=r[h][u][1];d.v=d.v[0]}if(d.v===null){if(d.f)d.t=\"n\";else if(!a.sheetStubs)continue;else d.t=\"z\"}else if(typeof d.v===\"number\")d.t=\"n\";else if(typeof d.v===\"boolean\")d.t=\"b\";else if(d.v instanceof Date){d.z=a.dateNF||D._table[14];if(a.cellDates){d.t=\"d\";d.w=D.format(d.z,re(d.v))}else{d.t=\"n\";d.v=re(d.v);d.w=D.format(d.z,d.v)}}else d.t=\"s\"}if(n){if(!i[p])i[p]=[];if(i[p][v]&&i[p][v].z)d.z=i[p][v].z;i[p][v]=d}else{var b=vt({c:v,r:p});if(i[b]&&i[b].z)d.z=i[b].z;i[b]=d}}}if(l.s.c<1e7)i[\"!ref\"]=bt(l);return i}function St(e,r){return Et(null,e,r)}function At(e,r){if(!r)r=$r(4);r._W(4,e);return r}function _t(e){var r=e._R(4);return r===0?\"\":e._R(r,\"dbcs\")}function Bt(e,r){var t=false;if(r==null){t=true;r=$r(4+2*e.length)}r._W(4,e.length);if(e.length>0)r._W(0,e,\"dbcs\");return t?r.slice(0,r.l):r}function Tt(e){return{ich:e._R(2),ifnt:e._R(2)}}function yt(e,r){if(!r)r=$r(4);r._W(2,e.ich||0);r._W(2,e.ifnt||0);return r}function xt(e,r){var t=e.l;var a=e._R(1);var n=_t(e);var i=[];var s={t:n,h:n};if((a&1)!==0){var f=e._R(4);for(var o=0;o!=f;++o)i.push(Tt(e));s.r=i}else s.r=[{ich:0,ifnt:0}];e.l=t+r;return s}function It(e,r){var t=false;if(r==null){t=true;r=$r(15+4*e.t.length)}r._W(1,0);Bt(e.t,r);return t?r.slice(0,r.l):r}var Rt=xt;function Ot(e,r){var t=false;if(r==null){t=true;r=$r(23+4*e.t.length)}r._W(1,1);Bt(e.t,r);r._W(4,1);yt({ich:0,ifnt:0},r);return t?r.slice(0,r.l):r}function Dt(e){var r=e._R(4);var t=e._R(2);t+=e._R(1)<<16;e.l++;return{c:r,iStyleRef:t}}function Ft(e,r){if(r==null)r=$r(8);r._W(-4,e.c);r._W(3,e.iStyleRef||e.s);r._W(1,0);return r}var Pt=_t;var Nt=Bt;function Lt(e){var r=e._R(4);return r===0||r===4294967295?\"\":e._R(r,\"dbcs\")}function Mt(e,r){var t=false;if(r==null){t=true;r=$r(127)}r._W(4,e.length>0?e.length:4294967295);if(e.length>0)r._W(0,e,\"dbcs\");return t?r.slice(0,r.l):r}var Ut=_t;var Ht=Lt;var Wt=Mt;function zt(e){var r=e.slice(e.l,e.l+4);var t=r[0]&1,a=r[0]&2;e.l+=4;r[0]&=252;var n=a===0?Or([0,0,0,0,r[0],r[1],r[2],r[3]],0):Ur(r,0)>>2;return t?n/100:n}function Vt(e,r){if(r==null)r=$r(4);var t=0,a=0,n=e*100;if(e==(e|0)&&e>=-(1<<29)&&e<1<<29){a=1}else if(n==(n|0)&&n>=-(1<<29)&&n<1<<29){a=1;t=1}if(a)r._W(-4,((t?n:e)<<2)+(t+2));else throw new Error(\"unsupported RkNumber \"+e)}function Xt(e){var r={s:{},e:{}};r.s.r=e._R(4);r.e.r=e._R(4);r.s.c=e._R(4);r.e.c=e._R(4);return r}function Gt(e,r){if(!r)r=$r(16);r._W(4,e.s.r);r._W(4,e.e.r);r._W(4,e.s.c);r._W(4,e.e.c);return r}var jt=Xt;var Kt=Gt;function Yt(e){return e._R(8,\"f\")}function $t(e,r){return(r||$r(8))._W(8,e,\"f\")}var Zt={0:\"#NULL!\",7:\"#DIV/0!\",15:\"#VALUE!\",23:\"#REF!\",29:\"#NAME?\",36:\"#NUM!\",42:\"#N/A\",43:\"#GETTING_DATA\",255:\"#WTF?\"};var Qt=Q(Zt);function Jt(e){var r={};var t=e._R(1);var a=t>>>1;var n=e._R(1);var i=e._R(2,\"i\");var s=e._R(1);var f=e._R(1);var o=e._R(1);e.l++;switch(a){case 0:r.auto=1;break;case 1:r.index=n;var l=Ta[n];if(l)r.rgb=ao(l);break;case 2:r.rgb=ao([s,f,o]);break;case 3:r.theme=n;break;}if(i!=0)r.tint=i>0?i/32767:i/32768;return r}function qt(e,r){if(!r)r=$r(8);if(!e||e.auto){r._W(4,0);r._W(4,0);return r}if(e.index!=null){r._W(1,2);r._W(1,e.index)}else if(e.theme!=null){r._W(1,6);r._W(1,e.theme)}else{r._W(1,5);r._W(1,0)}var t=e.tint||0;if(t>0)t*=32767;else if(t<0)t*=32768;r._W(2,t);if(!e.rgb||e.theme!=null){r._W(2,0);r._W(1,0);r._W(1,0)}else{var a=e.rgb||\"FFFFFF\";if(typeof a==\"number\")a=(\"000000\"+a.toString(16)).slice(-6);r._W(1,parseInt(a.slice(0,2),16));r._W(1,parseInt(a.slice(2,4),16));r._W(1,parseInt(a.slice(4,6),16));r._W(1,255)}return r}function ea(e){var r=e._R(1);e.l++;var t={fBold:r&1,fItalic:r&2,fUnderline:r&4,fStrikeout:r&8,fOutline:r&16,fShadow:r&32,fCondense:r&64,fExtend:r&128};return t}function ra(e,r){if(!r)r=$r(2);var t=(e.italic?2:0)|(e.strike?8:0)|(e.outline?16:0)|(e.shadow?32:0)|(e.condense?64:0)|(e.extend?128:0);r._W(1,t);r._W(1,0);return r}function ta(e,r){var t={2:\"BITMAP\",3:\"METAFILEPICT\",8:\"DIB\",14:\"ENHMETAFILE\"};var a=e._R(4);switch(a){case 0:return\"\";case 4294967295:;case 4294967294:return t[e._R(4)]||\"\";}if(a>400)throw new Error(\"Unsupported Clipboard: \"+a.toString(16));e.l-=4;return e._R(0,r==1?\"lpstr\":\"lpwstr\")}function aa(e){return ta(e,1)}function na(e){return ta(e,2)}var ia=2;var sa=3;var fa=11;var oa=12;var la=19;var ca=30;var ha=64;var ua=65;var da=71;var pa=4096;var va=80;var ga=81;var ba=[va,ga];var ma={1:{n:\"CodePage\",t:ia},2:{n:\"Category\",t:va},3:{n:\"PresentationFormat\",t:va},4:{n:\"ByteCount\",t:sa},5:{n:\"LineCount\",t:sa},6:{n:\"ParagraphCount\",t:sa},7:{n:\"SlideCount\",t:sa},8:{n:\"NoteCount\",t:sa},9:{n:\"HiddenCount\",t:sa},10:{n:\"MultimediaClipCount\",t:sa},11:{n:\"ScaleCrop\",t:fa},12:{n:\"HeadingPairs\",t:pa|oa},13:{n:\"TitlesOfParts\",t:pa|ca},14:{n:\"Manager\",t:va},15:{n:\"Company\",t:va},16:{n:\"LinksUpToDate\",t:fa},17:{n:\"CharacterCount\",t:sa},19:{n:\"SharedDoc\",t:fa},22:{n:\"HyperlinksChanged\",t:fa},23:{n:\"AppVersion\",t:sa,p:\"version\"},24:{n:\"DigSig\",t:ua},26:{n:\"ContentType\",t:va},27:{n:\"ContentStatus\",t:va},28:{n:\"Language\",t:va},29:{n:\"Version\",t:va},255:{}};var wa={1:{n:\"CodePage\",t:ia},2:{n:\"Title\",t:va},3:{n:\"Subject\",t:va},4:{n:\"Author\",t:va},5:{n:\"Keywords\",t:va},6:{n:\"Comments\",t:va},7:{n:\"Template\",t:va},8:{n:\"LastAuthor\",t:va},9:{n:\"RevNumber\",t:va},10:{n:\"EditTime\",t:ha},11:{n:\"LastPrinted\",t:ha},12:{n:\"CreatedDate\",t:ha},13:{n:\"ModifiedDate\",t:ha},14:{n:\"PageCount\",t:sa},15:{n:\"WordCount\",t:sa},16:{n:\"CharCount\",t:sa},17:{n:\"Thumbnail\",t:da},18:{n:\"Application\",t:va},19:{n:\"DocSecurity\",t:sa},255:{}};var Ca={2147483648:{n:\"Locale\",t:la},2147483651:{n:\"Behavior\",t:la},1919054434:{}};(function(){for(var e in Ca)if(Object.prototype.hasOwnProperty.call(Ca,e))ma[e]=wa[e]=Ca[e]})();var ka=Y(ma,\"n\");var Ea=Y(wa,\"n\");var Sa={1:\"US\",2:\"CA\",3:\"\",7:\"RU\",20:\"EG\",30:\"GR\",31:\"NL\",32:\"BE\",33:\"FR\",34:\"ES\",36:\"HU\",39:\"IT\",41:\"CH\",43:\"AT\",44:\"GB\",45:\"DK\",46:\"SE\",47:\"NO\",48:\"PL\",49:\"DE\",52:\"MX\",55:\"BR\",61:\"AU\",64:\"NZ\",66:\"TH\",81:\"JP\",82:\"KR\",84:\"VN\",86:\"CN\",90:\"TR\",105:\"JS\",213:\"DZ\",216:\"MA\",218:\"LY\",351:\"PT\",354:\"IS\",358:\"FI\",420:\"CZ\",886:\"TW\",961:\"LB\",962:\"JO\",963:\"SY\",964:\"IQ\",965:\"KW\",966:\"SA\",971:\"AE\",972:\"IL\",974:\"QA\",981:\"IR\",65535:\"US\"};var Aa=[null,\"solid\",\"mediumGray\",\"darkGray\",\"lightGray\",\"darkHorizontal\",\"darkVertical\",\"darkDown\",\"darkUp\",\"darkGrid\",\"darkTrellis\",\"lightHorizontal\",\"lightVertical\",\"lightDown\",\"lightUp\",\"lightGrid\",\"lightTrellis\",\"gray125\",\"gray0625\"];function _a(e){return e.map(function(e){return[e>>16&255,e>>8&255,e&255]})}var Ba=_a([0,16777215,16711680,65280,255,16776960,16711935,65535,0,16777215,16711680,65280,255,16776960,16711935,65535,8388608,32768,128,8421376,8388736,32896,12632256,8421504,10066431,10040166,16777164,13434879,6684774,16744576,26316,13421823,128,16711935,16776960,65535,8388736,8388608,32896,255,52479,13434879,13434828,16777113,10079487,16751052,13408767,16764057,3368703,3394764,10079232,16763904,16750848,16737792,6710937,9868950,13158,3381606,13056,3355392,10040064,10040166,3355545,3355443,16777215,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);var Ta=oe(Ba);var ya={\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml\":\"workbooks\",\"application/vnd.ms-excel.binIndexWs\":\"TODO\",\"application/vnd.ms-excel.intlmacrosheet\":\"TODO\",\"application/vnd.ms-excel.binIndexMs\":\"TODO\",\"application/vnd.openxmlformats-package.core-properties+xml\":\"coreprops\",\"application/vnd.openxmlformats-officedocument.custom-properties+xml\":\"custprops\",\"application/vnd.openxmlformats-officedocument.extended-properties+xml\":\"extprops\",\"application/vnd.openxmlformats-officedocument.customXmlProperties+xml\":\"TODO\",\"application/vnd.openxmlformats-officedocument.spreadsheetml.customProperty\":\"TODO\",\"application/vnd.ms-excel.pivotTable\":\"TODO\",\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotTable+xml\":\"TODO\",\"application/vnd.openxmlformats-officedocument.drawingml.chart+xml\":\"TODO\",\"application/vnd.ms-office.chartcolorstyle+xml\":\"TODO\",\"application/vnd.ms-office.chartstyle+xml\":\"TODO\",\"application/vnd.ms-office.chartex+xml\":\"TODO\",\"application/vnd.ms-excel.calcChain\":\"calcchains\",\"application/vnd.openxmlformats-officedocument.spreadsheetml.calcChain+xml\":\"calcchains\",\"application/vnd.openxmlformats-officedocument.spreadsheetml.printerSettings\":\"TODO\",\"application/vnd.ms-office.activeX\":\"TODO\",\"application/vnd.ms-office.activeX+xml\":\"TODO\",\"application/vnd.ms-excel.attachedToolbars\":\"TODO\",\"application/vnd.ms-excel.connections\":\"TODO\",\"application/vnd.openxmlformats-officedocument.spreadsheetml.connections+xml\":\"TODO\",\"application/vnd.ms-excel.externalLink\":\"links\",\"application/vnd.openxmlformats-officedocument.spreadsheetml.externalLink+xml\":\"links\",\"application/vnd.ms-excel.sheetMetadata\":\"TODO\",\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheetMetadata+xml\":\"TODO\",\"application/vnd.ms-excel.pivotCacheDefinition\":\"TODO\",\"application/vnd.ms-excel.pivotCacheRecords\":\"TODO\",\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheDefinition+xml\":\"TODO\",\"application/vnd.openxmlformats-officedocument.spreadsheetml.pivotCacheRecords+xml\":\"TODO\",\"application/vnd.ms-excel.queryTable\":\"TODO\",\"application/vnd.openxmlformats-officedocument.spreadsheetml.queryTable+xml\":\"TODO\",\"application/vnd.ms-excel.userNames\":\"TODO\",\"application/vnd.ms-excel.revisionHeaders\":\"TODO\",\"application/vnd.ms-excel.revisionLog\":\"TODO\",\"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionHeaders+xml\":\"TODO\",\"application/vnd.openxmlformats-officedocument.spreadsheetml.revisionLog+xml\":\"TODO\",\"application/vnd.openxmlformats-officedocument.spreadsheetml.userNames+xml\":\"TODO\",\"application/vnd.ms-excel.tableSingleCells\":\"TODO\",\"application/vnd.openxmlformats-officedocument.spreadsheetml.tableSingleCells+xml\":\"TODO\",\"application/vnd.ms-excel.slicer\":\"TODO\",\"application/vnd.ms-excel.slicerCache\":\"TODO\",\"application/vnd.ms-excel.slicer+xml\":\"TODO\",\"application/vnd.ms-excel.slicerCache+xml\":\"TODO\",\"application/vnd.ms-excel.wsSortMap\":\"TODO\",\"application/vnd.ms-excel.table\":\"TODO\",\"application/vnd.openxmlformats-officedocument.spreadsheetml.table+xml\":\"TODO\",\"application/vnd.openxmlformats-officedocument.theme+xml\":\"themes\",\"application/vnd.openxmlformats-officedocument.themeOverride+xml\":\"TODO\",\"application/vnd.ms-excel.Timeline+xml\":\"TODO\",\"application/vnd.ms-excel.TimelineCache+xml\":\"TODO\",\"application/vnd.ms-office.vbaProject\":\"vba\",\"application/vnd.ms-office.vbaProjectSignature\":\"vba\",\"application/vnd.ms-office.volatileDependencies\":\"TODO\",\"application/vnd.openxmlformats-officedocument.spreadsheetml.volatileDependencies+xml\":\"TODO\",\"application/vnd.ms-excel.controlproperties+xml\":\"TODO\",\"application/vnd.openxmlformats-officedocument.model+data\":\"TODO\",\"application/vnd.ms-excel.Survey+xml\":\"TODO\",\"application/vnd.openxmlformats-officedocument.drawing+xml\":\"drawings\",\"application/vnd.openxmlformats-officedocument.drawingml.chartshapes+xml\":\"TODO\",\"application/vnd.openxmlformats-officedocument.drawingml.diagramColors+xml\":\"TODO\",\"application/vnd.openxmlformats-officedocument.drawingml.diagramData+xml\":\"TODO\",\"application/vnd.openxmlformats-officedocument.drawingml.diagramLayout+xml\":\"TODO\",\"application/vnd.openxmlformats-officedocument.drawingml.diagramStyle+xml\":\"TODO\",\"application/vnd.openxmlformats-officedocument.vmlDrawing\":\"TODO\",\"application/vnd.openxmlformats-package.relationships+xml\":\"rels\",\"application/vnd.openxmlformats-officedocument.oleObject\":\"TODO\",\"image/png\":\"TODO\",sheet:\"js\"};var xa=function(){var e={workbooks:{xlsx:\"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml\",xlsm:\"application/vnd.ms-excel.sheet.macroEnabled.main+xml\",xlsb:\"application/vnd.ms-excel.sheet.binary.macroEnabled.main\",xlam:\"application/vnd.ms-excel.addin.macroEnabled.main+xml\",xltx:\"application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml\"},strs:{xlsx:\"application/vnd.openxmlformats-officedocument.spreadsheetml.sharedStrings+xml\",xlsb:\"application/vnd.ms-excel.sharedStrings\"},comments:{xlsx:\"application/vnd.openxmlformats-officedocument.spreadsheetml.comments+xml\",xlsb:\"application/vnd.ms-excel.comments\"},sheets:{xlsx:\"application/vnd.openxmlformats-officedocument.spreadsheetml.worksheet+xml\",xlsb:\"application/vnd.ms-excel.worksheet\"},charts:{xlsx:\"application/vnd.openxmlformats-officedocument.spreadsheetml.chartsheet+xml\",xlsb:\"application/vnd.ms-excel.chartsheet\"},dialogs:{xlsx:\"application/vnd.openxmlformats-officedocument.spreadsheetml.dialogsheet+xml\",xlsb:\"application/vnd.ms-excel.dialogsheet\"},macros:{xlsx:\"application/vnd.ms-excel.macrosheet+xml\",xlsb:\"application/vnd.ms-excel.macrosheet\"},styles:{xlsx:\"application/vnd.openxmlformats-officedocument.spreadsheetml.styles+xml\",xlsb:\"application/vnd.ms-excel.styles\"}};K(e).forEach(function(r){[\"xlsm\",\"xlam\"].forEach(function(t){if(!e[r][t])e[r][t]=e[r].xlsx})});K(e).forEach(function(r){K(e[r]).forEach(function(t){ya[e[r][t]]=r})});return e}();var Ia=J(ya);cr.CT=\"http://schemas.openxmlformats.org/package/2006/content-types\";function Ra(){return{workbooks:[],sheets:[],charts:[],dialogs:[],macros:[],rels:[],strs:[],comments:[],links:[],coreprops:[],extprops:[],custprops:[],themes:[],styles:[],calcchains:[],vba:[],drawings:[],TODO:[],xmlns:\"\"}}function Oa(e){var r=Ra();if(!e||!e.match)return r;var t={};(e.match(xe)||[]).forEach(function(e){var a=Oe(e);switch(a[0].replace(Ie,\"<\")){case\"<?xml\":break;case\"<Types\":r.xmlns=a[\"xmlns\"+(a[0].match(/<(\\w+):/)||[\"\",\"\"])[1]];break;case\"<Default\":t[a.Extension]=a.ContentType;break;case\"<Override\":if(r[ya[a.ContentType]]!==undefined)r[ya[a.ContentType]].push(a.PartName);break;}});if(r.xmlns!==cr.CT)throw new Error(\"Unknown Namespace: \"+r.xmlns);r.calcchain=r.calcchains.length>0?r.calcchains[0]:\"\";r.sst=r.strs.length>0?r.strs[0]:\"\";r.style=r.styles.length>0?r.styles[0]:\"\";r.defaults=t;delete r.calcchains;return r}var Da=fr(\"Types\",null,{xmlns:cr.CT,\"xmlns:xsd\":cr.xsd,\"xmlns:xsi\":cr.xsi});var Fa=[[\"xml\",\"application/xml\"],[\"bin\",\"application/vnd.ms-excel.sheet.binary.macroEnabled.main\"],[\"vml\",\"application/vnd.openxmlformats-officedocument.vmlDrawing\"],[\"data\",\"application/vnd.openxmlformats-officedocument.model+data\"],[\"bmp\",\"image/bmp\"],[\"png\",\"image/png\"],[\"gif\",\"image/gif\"],[\"emf\",\"image/x-emf\"],[\"wmf\",\"image/x-wmf\"],[\"jpg\",\"image/jpeg\"],[\"jpeg\",\"image/jpeg\"],[\"tif\",\"image/tiff\"],[\"tiff\",\"image/tiff\"],[\"pdf\",\"application/pdf\"],[\"rels\",Ia.rels[0]]].map(function(e){return fr(\"Default\",null,{Extension:e[0],ContentType:e[1]})});function Pa(e,r){var t=[],a;t[t.length]=Te;t[t.length]=Da;t=t.concat(Fa);var n=function(n){if(e[n]&&e[n].length>0){a=e[n][0];t[t.length]=fr(\"Override\",null,{PartName:(a[0]==\"/\"?\"\":\"/\")+a,ContentType:xa[n][r.bookType||\"xlsx\"]})}};var i=function(a){(e[a]||[]).forEach(function(e){t[t.length]=fr(\"Override\",null,{PartName:(e[0]==\"/\"?\"\":\"/\")+e,ContentType:xa[a][r.bookType||\"xlsx\"]})})};var s=function(r){(e[r]||[]).forEach(function(e){t[t.length]=fr(\"Override\",null,{PartName:(e[0]==\"/\"?\"\":\"/\")+e,ContentType:Ia[r][0]})})};n(\"workbooks\");i(\"sheets\");i(\"charts\");s(\"themes\");[\"strs\",\"styles\"].forEach(n);[\"coreprops\",\"extprops\",\"custprops\"].forEach(s);s(\"vba\");s(\"comments\");s(\"drawings\");if(t.length>2){t[t.length]=\"</Types>\";t[1]=t[1].replace(\"/>\",\">\")}return t.join(\"\")}var Na={WB:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/officeDocument\",SHEET:\"http://sheetjs.openxmlformats.org/officeDocument/2006/relationships/officeDocument\",HLINK:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/hyperlink\",VML:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/vmlDrawing\",XPATH:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLinkPath\",XMISS:\"http://schemas.microsoft.com/office/2006/relationships/xlExternalLinkPath/xlPathMissing\",XLINK:\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/externalLink\",VBA:\"http://schemas.microsoft.com/office/2006/relationships/vbaProject\"};function La(e){var r=e.lastIndexOf(\"/\");return e.slice(0,r+1)+\"_rels/\"+e.slice(r+1)+\".rels\"}function Ma(e,r){var t={\"!id\":{}};if(!e)return t;if(r.charAt(0)!==\"/\"){r=\"/\"+r}var a={};(e.match(xe)||[]).forEach(function(e){var n=Oe(e);if(n[0]===\"<Relationship\"){var i={};i.Type=n.Type;i.Target=n.Target;i.Id=n.Id;i.TargetMode=n.TargetMode;var s=n.TargetMode===\"External\"?n.Target:Be(n.Target,r);t[s]=i;a[n.Id]=i}});t[\"!id\"]=a;return t}cr.RELS=\"http://schemas.openxmlformats.org/package/2006/relationships\";var Ua=fr(\"Relationships\",null,{xmlns:cr.RELS});function Ha(e){var r=[Te,Ua];K(e[\"!id\"]).forEach(function(t){r[r.length]=fr(\"Relationship\",null,e[\"!id\"][t])});if(r.length>2){r[r.length]=\"</Relationships>\";r[1]=r[1].replace(\"/>\",\">\")}return r.join(\"\")}var Wa=[Na.HLINK,Na.XPATH,Na.XMISS];function za(e,r,t,a,n,i){if(!n)n={};if(!e[\"!id\"])e[\"!id\"]={};if(r<0)for(r=1;e[\"!id\"][\"rId\"+r];++r){}n.Id=\"rId\"+r;n.Type=a;n.Target=t;if(i)n.TargetMode=i;else if(Wa.indexOf(n.Type)>-1)n.TargetMode=\"External\";if(e[\"!id\"][n.Id])throw new Error(\"Cannot rewrite rId \"+r);e[\"!id\"][n.Id]=n;e[(\"/\"+n.Target).replace(\"//\",\"/\")]=n;return r}var Va=\"application/vnd.oasis.opendocument.spreadsheet\";function Xa(e,r){var t=ev(e);var a;var n;while(a=rv.exec(t))switch(a[3]){case\"manifest\":break;case\"file-entry\":n=Oe(a[0],false);if(n.path==\"/\"&&n.type!==Va)throw new Error(\"This OpenDocument is not a spreadsheet\");break;case\"encryption-data\":;case\"algorithm\":;case\"start-key-generation\":;case\"key-derivation\":throw new Error(\"Unsupported ODS Encryption\");default:if(r&&r.WTF)throw a;}}function Ga(e){var r=[Te];r.push('<manifest:manifest xmlns:manifest=\"urn:oasis:names:tc:opendocument:xmlns:manifest:1.0\" manifest:version=\"1.2\">\\n');r.push('  <manifest:file-entry manifest:full-path=\"/\" manifest:version=\"1.2\" manifest:media-type=\"application/vnd.oasis.opendocument.spreadsheet\"/>\\n');for(var t=0;t<e.length;++t)r.push('  <manifest:file-entry manifest:full-path=\"'+e[t][0]+'\" manifest:media-type=\"'+e[t][1]+'\"/>\\n');r.push(\"</manifest:manifest>\");return r.join(\"\")}function ja(e,r,t){return['  <rdf:Description rdf:about=\"'+e+'\">\\n','    <rdf:type rdf:resource=\"http://docs.oasis-open.org/ns/office/1.2/meta/'+(t||\"odf\")+\"#\"+r+'\"/>\\n',\"  </rdf:Description>\\n\"].join(\"\")}function Ka(e,r){return['  <rdf:Description rdf:about=\"'+e+'\">\\n','    <ns0:hasPart xmlns:ns0=\"http://docs.oasis-open.org/ns/office/1.2/meta/pkg#\" rdf:resource=\"'+r+'\"/>\\n',\"  </rdf:Description>\\n\"].join(\"\")}function Ya(e){var r=[Te];r.push('<rdf:RDF xmlns:rdf=\"http://www.w3.org/1999/02/22-rdf-syntax-ns#\">\\n');for(var t=0;t!=e.length;++t){r.push(ja(e[t][0],e[t][1]));r.push(Ka(\"\",e[t][0]))}r.push(ja(\"\",\"Document\",\"pkg\"));r.push(\"</rdf:RDF>\");return r.join(\"\")}var $a=function(){var r='<?xml version=\"1.0\" encoding=\"UTF-8\" standalone=\"yes\"?><office:document-meta xmlns:office=\"urn:oasis:names:tc:opendocument:xmlns:office:1.0\" xmlns:meta=\"urn:oasis:names:tc:opendocument:xmlns:meta:1.0\" xmlns:dc=\"http://purl.org/dc/elements/1.1/\" xmlns:xlink=\"http://www.w3.org/1999/xlink\" office:version=\"1.2\"><office:meta><meta:generator>Sheet'+\"JS \"+e.version+\"</meta:generator></office:meta></office:document-meta>\";return function t(){return r}}();var Za=[[\"cp:category\",\"Category\"],[\"cp:contentStatus\",\"ContentStatus\"],[\"cp:keywords\",\"Keywords\"],[\"cp:lastModifiedBy\",\"LastAuthor\"],[\"cp:lastPrinted\",\"LastPrinted\"],[\"cp:revision\",\"RevNumber\"],[\"cp:version\",\"Version\"],[\"dc:creator\",\"Author\"],[\"dc:description\",\"Comments\"],[\"dc:identifier\",\"Identifier\"],[\"dc:language\",\"Language\"],[\"dc:subject\",\"Subject\"],[\"dc:title\",\"Title\"],[\"dcterms:created\",\"CreatedDate\",\"date\"],[\"dcterms:modified\",\"ModifiedDate\",\"date\"]];cr.CORE_PROPS=\"http://schemas.openxmlformats.org/package/2006/metadata/core-properties\";Na.CORE_PROPS=\"http://schemas.openxmlformats.org/package/2006/relationships/metadata/core-properties\";var Qa=function(){var e=new Array(Za.length);for(var r=0;r<Za.length;++r){var t=Za[r];var a=\"(?:\"+t[0].slice(0,t[0].indexOf(\":\"))+\":)\"+t[0].slice(t[0].indexOf(\":\")+1);e[r]=new RegExp(\"<\"+a+\"[^>]*>([\\\\s\\\\S]*?)</\"+a+\">\")}return e}();function Ja(e){var r={};e=Ke(e);for(var t=0;t<Za.length;++t){var a=Za[t],n=e.match(Qa[t]);if(n!=null&&n.length>0)r[a[1]]=Ne(n[1]);if(a[2]===\"date\"&&r[a[1]])r[a[1]]=se(r[a[1]])}return r}var qa=fr(\"cp:coreProperties\",null,{\"xmlns:cp\":cr.CORE_PROPS,\"xmlns:dc\":cr.dc,\"xmlns:dcterms\":cr.dcterms,\"xmlns:dcmitype\":cr.dcmitype,\"xmlns:xsi\":cr.xsi});function en(e,r,t,a,n){if(n[e]!=null||r==null||r===\"\")return;n[e]=r;r=Ue(r);a[a.length]=t?fr(e,r,t):ir(e,r)}function rn(e,r){var t=r||{};var a=[Te,qa],n={};if(!e&&!t.Props)return a.join(\"\");if(e){if(e.CreatedDate!=null)en(\"dcterms:created\",typeof e.CreatedDate===\"string\"?e.CreatedDate:or(e.CreatedDate,t.WTF),{\"xsi:type\":\"dcterms:W3CDTF\"},a,n);if(e.ModifiedDate!=null)en(\"dcterms:modified\",typeof e.ModifiedDate===\"string\"?e.ModifiedDate:or(e.ModifiedDate,t.WTF),{\"xsi:type\":\"dcterms:W3CDTF\"},a,n)}for(var i=0;i!=Za.length;++i){var s=Za[i];var f=t.Props&&t.Props[s[1]]!=null?t.Props[s[1]]:e?e[s[1]]:null;if(f===true)f=\"1\";else if(f===false)f=\"0\";else if(typeof f==\"number\")f=String(f);if(f!=null)en(s[0],f,null,a,n)}if(a.length>2){a[a.length]=\"</cp:coreProperties>\";a[1]=a[1].replace(\"/>\",\">\")}return a.join(\"\")}var tn=[[\"Application\",\"Application\",\"string\"],[\"AppVersion\",\"AppVersion\",\"string\"],[\"Company\",\"Company\",\"string\"],[\"DocSecurity\",\"DocSecurity\",\"string\"],[\"Manager\",\"Manager\",\"string\"],[\"HyperlinksChanged\",\"HyperlinksChanged\",\"bool\"],[\"SharedDoc\",\"SharedDoc\",\"bool\"],[\"LinksUpToDate\",\"LinksUpToDate\",\"bool\"],[\"ScaleCrop\",\"ScaleCrop\",\"bool\"],[\"HeadingPairs\",\"HeadingPairs\",\"raw\"],[\"TitlesOfParts\",\"TitlesOfParts\",\"raw\"]];cr.EXT_PROPS=\"http://schemas.openxmlformats.org/officeDocument/2006/extended-properties\";Na.EXT_PROPS=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/extended-properties\";var an=[\"Worksheets\",\"SheetNames\",\"NamedRanges\",\"DefinedNames\",\"Chartsheets\",\"ChartNames\"];function nn(e,r,t,a){var n=[];if(typeof e==\"string\")n=ar(e,a);else for(var i=0;i<e.length;++i)n=n.concat(e[i].map(function(e){return{v:e}}));var s=typeof r==\"string\"?ar(r,a).map(function(e){return e.v}):r;var f=0,o=0;if(s.length>0)for(var l=0;l!==n.length;l+=2){o=+n[l+1].v;switch(n[l].v){case\"Worksheets\":;case\"工作表\":;case\"Листы\":;case\"أوراق العمل\":;case\"ワークシート\":;case\"גליונות עבודה\":;case\"Arbeitsblätter\":;case\"Çalışma Sayfaları\":;case\"Feuilles de calcul\":;case\"Fogli di lavoro\":;case\"Folhas de cálculo\":;case\"Planilhas\":;case\"Regneark\":;case\"Hojas de cálculo\":;case\"Werkbladen\":\nt.Worksheets=o;t.SheetNames=s.slice(f,f+o);break;case\"Named Ranges\":;case\"Rangos con nombre\":;case\"名前付き一覧\":;case\"Benannte Bereiche\":;case\"Navngivne områder\":t.NamedRanges=o;t.DefinedNames=s.slice(f,f+o);break;case\"Charts\":;case\"Diagramme\":t.Chartsheets=o;t.ChartNames=s.slice(f,f+o);break;}f+=o}}function sn(e,r,t){var a={};if(!r)r={};e=Ke(e);tn.forEach(function(t){var n=(e.match(Je(t[0]))||[])[1];switch(t[2]){case\"string\":r[t[1]]=Ne(n||\"\");break;case\"bool\":r[t[1]]=n===\"true\";break;case\"raw\":var i=e.match(new RegExp(\"<\"+t[0]+\"[^>]*>([\\\\s\\\\S]*?)</\"+t[0]+\">\"));if(i&&i.length>0)a[t[1]]=i[1];break;}});if(a.HeadingPairs&&a.TitlesOfParts)nn(a.HeadingPairs,a.TitlesOfParts,r,t);return r}var fn=fr(\"Properties\",null,{xmlns:cr.EXT_PROPS,\"xmlns:vt\":cr.vt});function on(e){var r=[],t=fr;if(!e)e={};e.Application=\"SheetJS\";r[r.length]=Te;r[r.length]=fn;tn.forEach(function(a){if(e[a[1]]===undefined)return;var n;switch(a[2]){case\"string\":n=Ue(String(e[a[1]]));break;case\"bool\":n=e[a[1]]?\"true\":\"false\";break;}if(n!==undefined)r[r.length]=t(a[0],n)});r[r.length]=t(\"HeadingPairs\",t(\"vt:vector\",t(\"vt:variant\",\"<vt:lpstr>Worksheets</vt:lpstr>\")+t(\"vt:variant\",t(\"vt:i4\",String(e.Worksheets))),{size:2,baseType:\"variant\"}));r[r.length]=t(\"TitlesOfParts\",t(\"vt:vector\",e.SheetNames.map(function(e){return\"<vt:lpstr>\"+Ue(e)+\"</vt:lpstr>\"}).join(\"\"),{size:e.Worksheets,baseType:\"lpstr\"}));if(r.length>2){r[r.length]=\"</Properties>\";r[1]=r[1].replace(\"/>\",\">\")}return r.join(\"\")}cr.CUST_PROPS=\"http://schemas.openxmlformats.org/officeDocument/2006/custom-properties\";Na.CUST_PROPS=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/custom-properties\";var ln=/<[^>]+>[^<]*/g;function cn(e,r){var t={},a=\"\";var n=e.match(ln);if(n)for(var i=0;i!=n.length;++i){var s=n[i],f=Oe(s);switch(f[0]){case\"<?xml\":break;case\"<Properties\":break;case\"<property\":a=Ne(f.name);break;case\"</property>\":a=null;break;default:if(s.indexOf(\"<vt:\")===0){var o=s.split(\">\");var l=o[0].slice(4),c=o[1];switch(l){case\"lpstr\":;case\"bstr\":;case\"lpwstr\":t[a]=Ne(c);break;case\"bool\":t[a]=je(c);break;case\"i1\":;case\"i2\":;case\"i4\":;case\"i8\":;case\"int\":;case\"uint\":t[a]=parseInt(c,10);break;case\"r4\":;case\"r8\":;case\"decimal\":t[a]=parseFloat(c);break;case\"filetime\":;case\"date\":t[a]=se(c);break;case\"cy\":;case\"error\":t[a]=Ne(c);break;default:if(l.slice(-1)==\"/\")break;if(r.WTF&&typeof console!==\"undefined\")console.warn(\"Unexpected\",s,l,o);}}else if(s.slice(0,2)===\"</\"){}else if(r.WTF)throw new Error(s);}}return t}var hn=fr(\"Properties\",null,{xmlns:cr.CUST_PROPS,\"xmlns:vt\":cr.vt});function un(e){var r=[Te,hn];if(!e)return r.join(\"\");var t=1;K(e).forEach(function a(n){++t;r[r.length]=fr(\"property\",lr(e[n]),{fmtid:\"{D5CDD505-2E9C-101B-9397-08002B2CF9AE}\",pid:t,name:Ue(n)})});if(r.length>2){r[r.length]=\"</Properties>\";r[1]=r[1].replace(\"/>\",\">\")}return r.join(\"\")}var dn={Title:\"Title\",Subject:\"Subject\",Author:\"Author\",Keywords:\"Keywords\",Comments:\"Description\",LastAuthor:\"LastAuthor\",RevNumber:\"Revision\",Application:\"AppName\",LastPrinted:\"LastPrinted\",CreatedDate:\"Created\",ModifiedDate:\"LastSaved\",Category:\"Category\",Manager:\"Manager\",Company:\"Company\",AppVersion:\"Version\",ContentStatus:\"ContentStatus\",Identifier:\"Identifier\",Language:\"Language\"};var pn=Z(dn);function vn(e,r,t){r=pn[r]||r;e[r]=t}function gn(e,r){var t=[];K(dn).map(function(e){for(var r=0;r<Za.length;++r)if(Za[r][1]==e)return Za[r];for(r=0;r<tn.length;++r)if(tn[r][1]==e)return tn[r];throw e}).forEach(function(a){if(e[a[1]]==null)return;var n=r&&r.Props&&r.Props[a[1]]!=null?r.Props[a[1]]:e[a[1]];switch(a[2]){case\"date\":n=new Date(n).toISOString().replace(/\\.\\d*Z/,\"Z\");break;}if(typeof n==\"number\")n=String(n);else if(n===true||n===false){n=n?\"1\":\"0\"}else if(n instanceof Date)n=new Date(n).toISOString().replace(/\\.\\d*Z/,\"\");t.push(ir(dn[a[1]]||a[1],n))});return fr(\"DocumentProperties\",t.join(\"\"),{xmlns:hr.o})}function bn(e,r){var t=[\"Worksheets\",\"SheetNames\"];var a=\"CustomDocumentProperties\";var n=[];if(e)K(e).forEach(function(r){if(!Object.prototype.hasOwnProperty.call(e,r))return;for(var a=0;a<Za.length;++a)if(r==Za[a][1])return;for(a=0;a<tn.length;++a)if(r==tn[a][1])return;for(a=0;a<t.length;++a)if(r==t[a])return;var i=e[r];var s=\"string\";if(typeof i==\"number\"){s=\"float\";i=String(i)}else if(i===true||i===false){s=\"boolean\";i=i?\"1\":\"0\"}else i=String(i);n.push(fr(He(r),i,{\"dt:dt\":s}))});if(r)K(r).forEach(function(t){if(!Object.prototype.hasOwnProperty.call(r,t))return;if(e&&Object.prototype.hasOwnProperty.call(e,t))return;var a=r[t];var i=\"string\";if(typeof a==\"number\"){i=\"float\";a=String(a)}else if(a===true||a===false){i=\"boolean\";a=a?\"1\":\"0\"}else if(a instanceof Date){i=\"dateTime.tz\";a=a.toISOString()}else a=String(a);n.push(fr(He(t),a,{\"dt:dt\":i}))});return\"<\"+a+' xmlns=\"'+hr.o+'\">'+n.join(\"\")+\"</\"+a+\">\"}function mn(e){var r=e._R(4),t=e._R(4);return new Date((t/1e7*Math.pow(2,32)+r/1e7-11644473600)*1e3).toISOString().replace(/\\.000/,\"\")}function wn(e){var r=typeof e==\"string\"?new Date(Date.parse(e)):e;var t=r.getTime()/1e3+11644473600;var a=t%Math.pow(2,32),n=(t-a)/Math.pow(2,32);a*=1e7;n*=1e7;var i=a/Math.pow(2,32)|0;if(i>0){a=a%Math.pow(2,32);n+=i}var s=$r(8);s._W(4,a);s._W(4,n);return s}function Cn(e,r,t){var a=e.l;var n=e._R(0,\"lpstr-cp\");if(t)while(e.l-a&3)++e.l;return n}function kn(e,r,t){var a=e._R(0,\"lpwstr\");if(t)e.l+=4-(a.length+1&3)&3;return a}function En(e,r,t){if(r===31)return kn(e);return Cn(e,r,t)}function Sn(e,r,t){return En(e,r,t===false?0:4)}function An(e,r){if(!r)throw new Error(\"VtUnalignedString must have positive length\");return En(e,r,0)}function _n(e){var r=e._R(4);var t=[];for(var a=0;a!=r;++a)t[a]=e._R(0,\"lpstr-cp\").replace(R,\"\");return t}function Bn(e){return _n(e)}function Tn(e){var r=Dn(e,ga);var t=Dn(e,sa);return[r,t]}function yn(e){var r=e._R(4);var t=[];for(var a=0;a!=r/2;++a)t.push(Tn(e));return t}function xn(e){return yn(e)}function In(e,r){var t=e._R(4);var a={};for(var n=0;n!=t;++n){var i=e._R(4);var s=e._R(4);a[i]=e._R(s,r===1200?\"utf16le\":\"utf8\").replace(R,\"\").replace(O,\"!\");if(r===1200&&s%2)e.l+=2}if(e.l&3)e.l=e.l>>2+1<<2;return a}function Rn(e){var r=e._R(4);var t=e.slice(e.l,e.l+r);e.l+=r;if((r&3)>0)e.l+=4-(r&3)&3;return t}function On(e){var r={};r.Size=e._R(4);e.l+=r.Size+3-(r.Size-1)%4;return r}function Dn(e,r,t){var a=e._R(2),n,i=t||{};e.l+=2;if(r!==oa)if(a!==r&&ba.indexOf(r)===-1)throw new Error(\"Expected type \"+r+\" saw \"+a);switch(r===oa?a:r){case 2:n=e._R(2,\"i\");if(!i.raw)e.l+=2;return n;case 3:n=e._R(4,\"i\");return n;case 11:return e._R(4)!==0;case 19:n=e._R(4);return n;case 30:return Cn(e,a,4).replace(R,\"\");case 31:return kn(e);case 64:return mn(e);case 65:return Rn(e);case 71:return On(e);case 80:return Sn(e,a,!i.raw).replace(R,\"\");case 81:return An(e,a).replace(R,\"\");case 4108:return xn(e);case 4126:return Bn(e);default:throw new Error(\"TypedPropertyValue unrecognized type \"+r+\" \"+a);}}function Fn(e,r){var t=$r(4),a=$r(4);t._W(4,e==80?31:e);switch(e){case 3:a._W(-4,r);break;case 5:a=$r(8);a._W(8,r,\"f\");break;case 11:a._W(4,r?1:0);break;case 64:a=wn(r);break;case 31:;case 80:a=$r(4+2*(r.length+1)+(r.length%2?0:2));a._W(4,r.length+1);a._W(0,r,\"dbcs\");while(a.l!=a.length)a._W(1,0);break;default:throw new Error(\"TypedPropertyValue unrecognized type \"+e+\" \"+r);}return I([t,a])}function Pn(e,r){var t=e.l;var a=e._R(4);var n=e._R(4);var i=[],s=0;var f=0;var l=-1,c={};for(s=0;s!=n;++s){var h=e._R(4);var u=e._R(4);i[s]=[h,u+t]}i.sort(function(e,r){return e[1]-r[1]});var d={};for(s=0;s!=n;++s){if(e.l!==i[s][1]){var p=true;if(s>0&&r)switch(r[i[s-1][0]].t){case 2:if(e.l+2===i[s][1]){e.l+=2;p=false}break;case 80:if(e.l<=i[s][1]){e.l=i[s][1];p=false}break;case 4108:if(e.l<=i[s][1]){e.l=i[s][1];p=false}break;}if((!r||s==0)&&e.l<=i[s][1]){p=false;e.l=i[s][1]}if(p)throw new Error(\"Read Error: Expected address \"+i[s][1]+\" at \"+e.l+\" :\"+s)}if(r){var v=r[i[s][0]];d[v.n]=Dn(e,v.t,{raw:true});if(v.p===\"version\")d[v.n]=String(d[v.n]>>16)+\".\"+(\"0000\"+String(d[v.n]&65535)).slice(-4);if(v.n==\"CodePage\")switch(d[v.n]){case 0:d[v.n]=1252;case 874:;case 932:;case 936:;case 949:;case 950:;case 1250:;case 1251:;case 1253:;case 1254:;case 1255:;case 1256:;case 1257:;case 1258:;case 1e4:;case 1200:;case 1201:;case 1252:;case 65e3:;case-536:;case 65001:;case-535:o(f=d[v.n]>>>0&65535);break;default:throw new Error(\"Unsupported CodePage: \"+d[v.n]);}}else{if(i[s][0]===1){f=d.CodePage=Dn(e,ia);o(f);if(l!==-1){var g=e.l;e.l=i[l][1];c=In(e,f);e.l=g}}else if(i[s][0]===0){if(f===0){l=s;e.l=i[s+1][1];continue}c=In(e,f)}else{var b=c[i[s][0]];var m;switch(e[e.l]){case 65:e.l+=4;m=Rn(e);break;case 30:e.l+=4;m=Sn(e,e[e.l-4]).replace(/\\u0000+$/,\"\");break;case 31:e.l+=4;m=Sn(e,e[e.l-4]).replace(/\\u0000+$/,\"\");break;case 3:e.l+=4;m=e._R(4,\"i\");break;case 19:e.l+=4;m=e._R(4);break;case 5:e.l+=4;m=e._R(8,\"f\");break;case 11:e.l+=4;m=Xn(e,4);break;case 64:e.l+=4;m=se(mn(e));break;default:throw new Error(\"unparsed value: \"+e[e.l]);}d[b]=m}}}e.l=t+a;return d}var Nn=[\"CodePage\",\"Thumbnail\",\"_PID_LINKBASE\",\"_PID_HLINKS\",\"SystemIdentifier\",\"FMTID\"].concat(an);function Ln(e){switch(typeof e){case\"boolean\":return 11;case\"number\":return(e|0)==e?3:5;case\"string\":return 31;case\"object\":if(e instanceof Date)return 64;break;}return-1}function Mn(e,r,t){var a=$r(8),n=[],i=[];var s=8,f=0;var o=$r(8),l=$r(8);o._W(4,2);o._W(4,1200);l._W(4,1);i.push(o);n.push(l);s+=8+o.length;if(!r){l=$r(8);l._W(4,0);n.unshift(l);var c=[$r(4)];c[0]._W(4,e.length);for(f=0;f<e.length;++f){var h=e[f][0];o=$r(4+4+2*(h.length+1)+(h.length%2?0:2));o._W(4,f+2);o._W(4,h.length+1);o._W(0,h,\"dbcs\");while(o.l!=o.length)o._W(1,0);c.push(o)}o=I(c);i.unshift(o);s+=8+o.length}for(f=0;f<e.length;++f){if(r&&!r[e[f][0]])continue;if(Nn.indexOf(e[f][0])>-1)continue;if(e[f][1]==null)continue;var u=e[f][1],d=0;if(r){d=+r[e[f][0]];var p=t[d];if(p.p==\"version\"&&typeof u==\"string\"){var v=u.split(\".\");u=(+v[0]<<16)+(+v[1]||0)}o=Fn(p.t,u)}else{var g=Ln(u);if(g==-1){g=31;u=String(u)}o=Fn(g,u)}i.push(o);l=$r(8);l._W(4,!r?2+f:d);n.push(l);s+=8+o.length}var b=8*(i.length+1);for(f=0;f<i.length;++f){n[f]._W(4,b);b+=i[f].length}a._W(4,s);a._W(4,i.length);return I([a].concat(n).concat(i))}function Un(e,r,t){var a=e.content;if(!a)return{};Kr(a,0);var n,i,s,f,o=0;a.chk(\"feff\",\"Byte Order: \");a._R(2);var l=a._R(4);var c=a._R(16);if(c!==z.utils.consts.HEADER_CLSID&&c!==t)throw new Error(\"Bad PropertySet CLSID \"+c);n=a._R(4);if(n!==1&&n!==2)throw new Error(\"Unrecognized #Sets: \"+n);i=a._R(16);f=a._R(4);if(n===1&&f!==a.l)throw new Error(\"Length mismatch: \"+f+\" !== \"+a.l);else if(n===2){s=a._R(16);o=a._R(4)}var h=Pn(a,r);var u={SystemIdentifier:l};for(var d in h)u[d]=h[d];u.FMTID=i;if(n===1)return u;if(o-a.l==2)a.l+=2;if(a.l!==o)throw new Error(\"Length mismatch 2: \"+a.l+\" !== \"+o);var p;try{p=Pn(a,null)}catch(v){}for(d in p)u[d]=p[d];u.FMTID=[i,s];return u}function Hn(e,r,t,a,n,i){var s=$r(n?68:48);var f=[s];s._W(2,65534);s._W(2,0);s._W(4,842412599);s._W(16,z.utils.consts.HEADER_CLSID,\"hex\");s._W(4,n?2:1);s._W(16,r,\"hex\");s._W(4,n?68:48);var o=Mn(e,t,a);f.push(o);if(n){var l=Mn(n,null,null);s._W(16,i,\"hex\");s._W(4,68+o.length);f.push(l)}return I(f)}function Wn(e,r){e._R(r);return null}function zn(e,r){if(!r)r=$r(e);for(var t=0;t<e;++t)r._W(1,0);return r}function Vn(e,r,t){var a=[],n=e.l+r;while(e.l<n)a.push(t(e,n-e.l));if(n!==e.l)throw new Error(\"Slurp error\");return a}function Xn(e,r){return e._R(r)===1}function Gn(e,r){if(!r)r=$r(2);r._W(2,+!!e);return r}function jn(e){return e._R(2,\"u\")}function Kn(e,r){if(!r)r=$r(2);r._W(2,e);return r}function Yn(e,r){return Vn(e,r,jn)}function $n(e){var r=e._R(1),t=e._R(1);return t===1?r:r===1}function Zn(e,r,t){if(!t)t=$r(2);t._W(1,+e);t._W(1,r==\"e\"?1:0);return t}function Qn(e,t,a){var n=e._R(a&&a.biff>=12?2:1);var i=\"sbcs-cont\";var s=r;if(a&&a.biff>=8)r=1200;if(!a||a.biff==8){var f=e._R(1);if(f){i=\"dbcs-cont\"}}else if(a.biff==12){i=\"wstr\"}if(a.biff>=2&&a.biff<=5)i=\"cpstr\";var o=n?e._R(n,i):\"\";r=s;return o}function Jn(e){var t=r;r=1200;var a=e._R(2),n=e._R(1);var i=n&4,s=n&8;var f=1+(n&1);var o=0,l;var c={};if(s)o=e._R(2);if(i)l=e._R(4);var h=f==2?\"dbcs-cont\":\"sbcs-cont\";var u=a===0?\"\":e._R(a,h);if(s)e.l+=4*o;if(i)e.l+=l;c.t=u;if(!s){c.raw=\"<t>\"+c.t+\"</t>\";c.r=c.t}r=t;return c}function qn(e,r,t){var a;if(t){if(t.biff>=2&&t.biff<=5)return e._R(r,\"cpstr\");if(t.biff>=12)return e._R(r,\"dbcs-cont\")}var n=e._R(1);if(n===0){a=e._R(r,\"sbcs-cont\")}else{a=e._R(r,\"dbcs-cont\")}return a}function ei(e,r,t){var a=e._R(t&&t.biff==2?1:2);if(a===0){e.l++;return\"\"}return qn(e,a,t)}function ri(e,r,t){if(t.biff>5)return ei(e,r,t);var a=e._R(1);if(a===0){e.l++;return\"\"}return e._R(a,t.biff<=4||!e.lens?\"cpstr\":\"sbcs-cont\")}function ti(e,r,t){if(!t)t=$r(3+2*e.length);t._W(2,e.length);t._W(1,1);t._W(31,e,\"utf16le\");return t}function ai(e){var r=e._R(1);e.l++;var t=e._R(2);e.l+=2;return[r,t]}function ni(e){var r=e._R(4),t=e.l;var a=false;if(r>24){e.l+=r-24;if(e._R(16)===\"795881f43b1d7f48af2c825dc4852763\")a=true;e.l=t}var n=e._R((a?r-24:r)>>1,\"utf16le\").replace(R,\"\");if(a)e.l+=24;return n}function ii(e){e.l+=2;var r=e._R(0,\"lpstr-ansi\");e.l+=2;if(e._R(2)!=57005)throw new Error(\"Bad FileMoniker\");var t=e._R(4);if(t===0)return r.replace(/\\\\/g,\"/\");var a=e._R(4);if(e._R(2)!=3)throw new Error(\"Bad FileMoniker\");var n=e._R(a>>1,\"utf16le\").replace(R,\"\");return n}function si(e,r){var t=e._R(16);r-=16;switch(t){case\"e0c9ea79f9bace118c8200aa004ba90b\":return ni(e,r);case\"0303000000000000c000000000000046\":return ii(e,r);default:throw new Error(\"Unsupported Moniker \"+t);}}function fi(e){var r=e._R(4);var t=r>0?e._R(r,\"utf16le\").replace(R,\"\"):\"\";return t}function oi(e,r){var t=e.l+r;var a=e._R(4);if(a!==2)throw new Error(\"Unrecognized streamVersion: \"+a);var n=e._R(2);e.l+=2;var i,s,f,o,l=\"\",c,h;if(n&16)i=fi(e,t-e.l);if(n&128)s=fi(e,t-e.l);if((n&257)===257)f=fi(e,t-e.l);if((n&257)===1)o=si(e,t-e.l);if(n&8)l=fi(e,t-e.l);if(n&32)c=e._R(16);if(n&64)h=mn(e);e.l=t;var u=s||f||o||\"\";if(u&&l)u+=\"#\"+l;if(!u)u=\"#\"+l;var d={Target:u};if(c)d.guid=c;if(h)d.time=h;if(i)d.Tooltip=i;return d}function li(e){var r=$r(512),t=0;var a=e.Target;var n=a.indexOf(\"#\")>-1?31:23;switch(a.charAt(0)){case\"#\":n=28;break;case\".\":n&=~2;break;}r._W(4,2);r._W(4,n);var i=[8,6815827,6619237,4849780,83];for(t=0;t<i.length;++t)r._W(4,i[t]);if(n==28){a=a.slice(1);r._W(4,a.length+1);for(t=0;t<a.length;++t)r._W(2,a.charCodeAt(t));r._W(2,0)}else if(n&2){i=\"e0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b\".split(\" \");for(t=0;t<i.length;++t)r._W(1,parseInt(i[t],16));r._W(4,2*(a.length+1));for(t=0;t<a.length;++t)r._W(2,a.charCodeAt(t));r._W(2,0)}else{i=\"03 03 00 00 00 00 00 00 c0 00 00 00 00 00 00 46\".split(\" \");for(t=0;t<i.length;++t)r._W(1,parseInt(i[t],16));var s=0;while(a.slice(s*3,s*3+3)==\"../\"||a.slice(s*3,s*3+3)==\"..\\\\\")++s;r._W(2,s);r._W(4,a.length+1);for(t=0;t<a.length;++t)r._W(1,a.charCodeAt(t)&255);r._W(1,0);r._W(2,65535);r._W(2,57005);for(t=0;t<6;++t)r._W(4,0)}return r.slice(0,r.l)}function ci(e){var r=e._R(1),t=e._R(1),a=e._R(1),n=e._R(1);return[r,t,a,n]}function hi(e,r){var t=ci(e,r);t[3]=0;return t}function ui(e){var r=e._R(2);var t=e._R(2);var a=e._R(2);return{r:r,c:t,ixfe:a}}function di(e,r,t,a){if(!a)a=$r(6);a._W(2,e);a._W(2,r);a._W(2,t||0);return a}function pi(e){var r=e._R(2);var t=e._R(2);e.l+=8;return{type:r,flags:t}}function vi(e,r,t){return r===0?\"\":ri(e,r,t)}function gi(e,r,t){var a=t.biff>8?4:2;var n=e._R(a),i=e._R(a,\"i\"),s=e._R(a,\"i\");return[n,i,s]}function bi(e){var r=e._R(2);var t=zt(e);return[r,t]}function mi(e,r,t){e.l+=4;r-=4;var a=e.l+r;var n=Qn(e,r,t);var i=e._R(2);a-=e.l;if(i!==a)throw new Error(\"Malformed AddinUdf: padding = \"+a+\" != \"+i);e.l+=i;return n}function wi(e){var r=e._R(2);var t=e._R(2);var a=e._R(2);var n=e._R(2);return{s:{c:a,r:r},e:{c:n,r:t}}}function Ci(e,r){if(!r)r=$r(8);r._W(2,e.s.r);r._W(2,e.e.r);r._W(2,e.s.c);r._W(2,e.e.c);return r}function ki(e){var r=e._R(2);var t=e._R(2);var a=e._R(1);var n=e._R(1);return{s:{c:a,r:r},e:{c:n,r:t}}}var Ei=ki;function Si(e){e.l+=4;var r=e._R(2);var t=e._R(2);var a=e._R(2);e.l+=12;return[t,r,a]}function Ai(e){var r={};e.l+=4;e.l+=16;r.fSharedNote=e._R(2);e.l+=4;return r}function _i(e){var r={};e.l+=4;e.cf=e._R(2);return r}function Bi(e){e.l+=2;e.l+=e._R(2)}var Ti={0:Bi,4:Bi,5:Bi,6:Bi,7:_i,8:Bi,9:Bi,10:Bi,11:Bi,12:Bi,13:Ai,14:Bi,15:Bi,16:Bi,17:Bi,18:Bi,19:Bi,20:Bi,21:Si};function yi(e,r){var t=e.l+r;var a=[];while(e.l<t){var n=e._R(2);e.l-=2;try{a.push(Ti[n](e,t-e.l))}catch(i){e.l=t;return a}}if(e.l!=t)e.l=t;return a}function xi(e,r){var t={BIFFVer:0,dt:0};t.BIFFVer=e._R(2);r-=2;if(r>=2){t.dt=e._R(2);e.l-=2}switch(t.BIFFVer){case 1536:;case 1280:;case 1024:;case 768:;case 512:;case 2:;case 7:break;default:if(r>6)throw new Error(\"Unexpected BIFF Ver \"+t.BIFFVer);}e._R(r);return t}function Ii(e,r,t){var a=1536,n=16;switch(t.bookType){case\"biff8\":break;case\"biff5\":a=1280;n=8;break;case\"biff4\":a=4;n=6;break;case\"biff3\":a=3;n=6;break;case\"biff2\":a=2;n=4;break;case\"xla\":break;default:throw new Error(\"unsupported BIFF version\");}var i=$r(n);i._W(2,a);i._W(2,r);if(n>4)i._W(2,29282);if(n>6)i._W(2,1997);if(n>8){i._W(2,49161);i._W(2,1);i._W(2,1798);i._W(2,0)}return i}function Ri(e,r){if(r===0)return 1200;if(e._R(2)!==1200){}return 1200}function Oi(e,r,t){if(t.enc){e.l+=r;return\"\"}var a=e.l;var n=ri(e,0,t);e._R(r+a-e.l);return n}function Di(e,r){var t=!r||r.biff==8;var a=$r(t?112:54);a._W(r.biff==8?2:1,7);if(t)a._W(1,0);a._W(4,859007059);a._W(4,5458548|(t?0:536870912));while(a.l<a.length)a._W(1,t?0:32);return a}function Fi(e,r,t){var a=t&&t.biff==8||r==2?e._R(2):(e.l+=r,0);return{fDialog:a&16}}function Pi(e,r,t){var a=e._R(4);var n=e._R(1)&3;var i=e._R(1);switch(i){case 0:i=\"Worksheet\";break;case 1:i=\"Macrosheet\";break;case 2:i=\"Chartsheet\";break;case 6:i=\"VBAModule\";break;}var s=Qn(e,0,t);if(s.length===0)s=\"Sheet1\";return{pos:a,hs:n,dt:i,name:s}}function Ni(e,r){var t=!r||r.biff>=8?2:1;var a=$r(8+t*e.name.length);a._W(4,e.pos);a._W(1,e.hs||0);a._W(1,e.dt);a._W(1,e.name.length);if(r.biff>=8)a._W(1,1);a._W(t*e.name.length,e.name,r.biff<8?\"sbcs\":\"utf16le\");var n=a.slice(0,a.l);n.l=a.l;return n}function Li(e,r){var t=e.l+r;var a=e._R(4);var n=e._R(4);var i=[];for(var s=0;s!=n&&e.l<t;++s){i.push(Jn(e))}i.Count=a;i.Unique=n;return i}function Mi(e,r){var t={};t.dsst=e._R(2);e.l+=r-2;return t}function Ui(e){var r={};r.r=e._R(2);r.c=e._R(2);r.cnt=e._R(2)-r.c;var t=e._R(2);e.l+=4;var a=e._R(1);e.l+=3;if(a&7)r.level=a&7;if(a&32)r.hidden=true;if(a&64)r.hpt=t/20;return r}function Hi(e){var r=pi(e);if(r.type!=2211)throw new Error(\"Invalid Future Record \"+r.type);var t=e._R(4);return t!==0}function Wi(e){e._R(2);return e._R(4)}function zi(e,r,t){var a=0;if(!(t&&t.biff==2)){a=e._R(2)}var n=e._R(2);if(t&&t.biff==2){a=1-(n>>15);n&=32767}var i={Unsynced:a&1,DyZero:(a&2)>>1,ExAsc:(a&4)>>2,ExDsc:(a&8)>>3};return[i,n]}function Vi(e){var r=e._R(2),t=e._R(2),a=e._R(2),n=e._R(2);var i=e._R(2),s=e._R(2),f=e._R(2);var o=e._R(2),l=e._R(2);return{Pos:[r,t],Dim:[a,n],Flags:i,CurTab:s,FirstTab:f,Selected:o,TabRatio:l}}function Xi(){var e=$r(18);e._W(2,0);e._W(2,0);e._W(2,29280);e._W(2,17600);e._W(2,56);e._W(2,0);e._W(2,0);e._W(2,1);e._W(2,500);return e}function Gi(e,r,t){if(t&&t.biff>=2&&t.biff<5)return{};var a=e._R(2);return{RTL:a&64}}function ji(e){var r=$r(18),t=1718;if(e&&e.RTL)t|=64;r._W(2,t);r._W(4,0);r._W(4,64);r._W(4,0);r._W(4,0);return r}function Ki(){}function Yi(e,r,t){var a={dyHeight:e._R(2),fl:e._R(2)};switch(t&&t.biff||8){case 2:break;case 3:;case 4:e.l+=2;break;default:e.l+=10;break;}a.name=Qn(e,0,t);return a}function $i(e,r){var t=e.name||\"Arial\";var a=r&&r.biff==5,n=a?15+t.length:16+2*t.length;var i=$r(n);i._W(2,(e.sz||12)*20);i._W(4,0);i._W(2,400);i._W(4,0);i._W(2,0);i._W(1,t.length);if(!a)i._W(1,1);i._W((a?1:2)*t.length,t,a?\"sbcs\":\"utf16le\");return i}function Zi(e){var r=ui(e);r.isst=e._R(4);return r}function Qi(e,r,t){var a=e.l+r;var n=ui(e,6);if(t.biff==2)e.l++;var i=ei(e,a-e.l,t);n.val=i;return n}function Ji(e,r,t,a,n){var i=!n||n.biff==8;var s=$r(6+2+ +i+(1+i)*t.length);di(e,r,a,s);s._W(2,t.length);if(i)s._W(1,1);s._W((1+i)*t.length,t,i?\"utf16le\":\"sbcs\");return s}function qi(e,r,t){var a=e._R(2);var n=ri(e,0,t);return[a,n]}function es(e,r,t,a){var n=t&&t.biff==5;if(!a)a=$r(n?3+r.length:5+2*r.length);a._W(2,e);a._W(n?1:2,r.length);if(!n)a._W(1,1);a._W((n?1:2)*r.length,r,n?\"sbcs\":\"utf16le\");var i=a.length>a.l?a.slice(0,a.l):a;if(i.l==null)i.l=i.length;return i}var rs=ri;function ts(e,r,t){var a=e.l+r;var n=t.biff==8||!t.biff?4:2;var i=e._R(n),s=e._R(n);var f=e._R(2),o=e._R(2);e.l=a;return{s:{r:i,c:f},e:{r:s,c:o}}}function as(e,r){var t=r.biff==8||!r.biff?4:2;var a=$r(2*t+6);a._W(t,e.s.r);a._W(t,e.e.r+1);a._W(2,e.s.c);a._W(2,e.e.c+1);a._W(2,0);return a}function ns(e){var r=e._R(2),t=e._R(2);var a=bi(e);return{r:r,c:t,ixfe:a[0],rknum:a[1]}}function is(e,r){var t=e.l+r-2;var a=e._R(2),n=e._R(2);var i=[];while(e.l<t)i.push(bi(e));if(e.l!==t)throw new Error(\"MulRK read error\");var s=e._R(2);if(i.length!=s-n+1)throw new Error(\"MulRK length mismatch\");return{r:a,c:n,C:s,rkrec:i}}function ss(e,r){var t=e.l+r-2;var a=e._R(2),n=e._R(2);var i=[];while(e.l<t)i.push(e._R(2));if(e.l!==t)throw new Error(\"MulBlank read error\");var s=e._R(2);if(i.length!=s-n+1)throw new Error(\"MulBlank length mismatch\");return{r:a,c:n,C:s,ixfe:i}}function fs(e,r,t,a){var n={};var i=e._R(4),s=e._R(4);var f=e._R(4),o=e._R(2);n.patternType=Aa[f>>26];if(!a.cellStyles)return n;n.alc=i&7;n.fWrap=i>>3&1;n.alcV=i>>4&7;n.fJustLast=i>>7&1;n.trot=i>>8&255;n.cIndent=i>>16&15;n.fShrinkToFit=i>>20&1;n.iReadOrder=i>>22&2;n.fAtrNum=i>>26&1;n.fAtrFnt=i>>27&1;n.fAtrAlc=i>>28&1;n.fAtrBdr=i>>29&1;n.fAtrPat=i>>30&1;n.fAtrProt=i>>31&1;n.dgLeft=s&15;n.dgRight=s>>4&15;n.dgTop=s>>8&15;n.dgBottom=s>>12&15;n.icvLeft=s>>16&127;n.icvRight=s>>23&127;n.grbitDiag=s>>30&3;n.icvTop=f&127;n.icvBottom=f>>7&127;n.icvDiag=f>>14&127;n.dgDiag=f>>21&15;n.icvFore=o&127;n.icvBack=o>>7&127;n.fsxButton=o>>14&1;return n}function os(e,r,t){var a={};a.ifnt=e._R(2);a.numFmtId=e._R(2);a.flags=e._R(2);a.fStyle=a.flags>>2&1;r-=6;a.data=fs(e,r,a.fStyle,t);return a}function ls(e,r,t,a){var n=t&&t.biff==5;if(!a)a=$r(n?16:20);a._W(2,0);if(e.style){a._W(2,e.numFmtId||0);a._W(2,65524)}else{a._W(2,e.numFmtId||0);a._W(2,r<<4)}a._W(4,0);a._W(4,0);if(!n)a._W(4,0);a._W(2,0);return a}function cs(e){e.l+=4;var r=[e._R(2),e._R(2)];if(r[0]!==0)r[0]--;if(r[1]!==0)r[1]--;if(r[0]>7||r[1]>7)throw new Error(\"Bad Gutters: \"+r.join(\"|\"));return r}function hs(e){var r=$r(8);r._W(4,0);r._W(2,e[0]?e[0]+1:0);r._W(2,e[1]?e[1]+1:0);return r}function us(e,r,t){var a=ui(e,6);if(t.biff==2)++e.l;var n=$n(e,2);a.val=n;a.t=n===true||n===false?\"b\":\"e\";return a}function ds(e,r,t,a,n,i){var s=$r(8);di(e,r,a,s);Zn(t,i,s);return s}function ps(e){var r=ui(e,6);var t=Yt(e,8);r.val=t;return r}function vs(e,r,t,a){var n=$r(14);di(e,r,a,n);$t(t,n);return n}var gs=vi;function bs(e,r,t){var a=e.l+r;var n=e._R(2);var i=e._R(2);t.sbcch=i;if(i==1025||i==14849)return[i,n];if(i<1||i>255)throw new Error(\"Unexpected SupBook type: \"+i);var s=qn(e,i);var f=[];while(a>e.l)f.push(ei(e));return[i,n,s,f]}function ms(e,r,t){var a=e._R(2);var n;var i={fBuiltIn:a&1,fWantAdvise:a>>>1&1,fWantPict:a>>>2&1,fOle:a>>>3&1,fOleLink:a>>>4&1,cf:a>>>5&1023,fIcon:a>>>15&1};if(t.sbcch===14849)n=mi(e,r-2,t);i.body=n||e._R(r-2);if(typeof n===\"string\")i.Name=n;return i}var ws=[\"_xlnm.Consolidate_Area\",\"_xlnm.Auto_Open\",\"_xlnm.Auto_Close\",\"_xlnm.Extract\",\"_xlnm.Database\",\"_xlnm.Criteria\",\"_xlnm.Print_Area\",\"_xlnm.Print_Titles\",\"_xlnm.Recorder\",\"_xlnm.Data_Form\",\"_xlnm.Auto_Activate\",\"_xlnm.Auto_Deactivate\",\"_xlnm.Sheet_Title\",\"_xlnm._FilterDatabase\"];function Cs(e,r,t){var a=e.l+r;var n=e._R(2);var i=e._R(1);var s=e._R(1);var f=e._R(t&&t.biff==2?1:2);var o=0;if(!t||t.biff>=5){if(t.biff!=5)e.l+=2;o=e._R(2);if(t.biff==5)e.l+=2;e.l+=4}var l=qn(e,s,t);if(n&32)l=ws[l.charCodeAt(0)];var c=a-e.l;if(t&&t.biff==2)--c;var h=a==e.l||f===0?[]:Lh(e,c,t,f);return{chKey:i,Name:l,itab:o,rgce:h}}function ks(e,r,t){if(t.biff<8)return Es(e,r,t);var a=[],n=e.l+r,i=e._R(t.biff>8?4:2);while(i--!==0)a.push(gi(e,t.biff>8?12:6,t));if(e.l!=n)throw new Error(\"Bad ExternSheet: \"+e.l+\" != \"+n);return a}function Es(e,r,t){if(e[e.l+1]==3)e[e.l]++;var a=Qn(e,r,t);return a.charCodeAt(0)==3?a.slice(1):a}function Ss(e,r,t){if(t.biff<8){e.l+=r;return}var a=e._R(2);var n=e._R(2);var i=qn(e,a,t);var s=qn(e,n,t);return[i,s]}function As(e,r,t){var a=ki(e,6);e.l++;var n=e._R(1);r-=8;return[Mh(e,r,t),n,a]}function _s(e,r,t){var a=Ei(e,6);switch(t.biff){case 2:e.l++;r-=7;break;case 3:;case 4:e.l+=2;r-=8;break;default:e.l+=6;r-=12;}return[a,Ph(e,r,t,a)]}function Bs(e){var r=e._R(4)!==0;var t=e._R(4)!==0;var a=e._R(4);return[r,t,a]}function Ts(e,r,t){if(t.biff<8)return;var a=e._R(2),n=e._R(2);var i=e._R(2),s=e._R(2);var f=ri(e,0,t);if(t.biff<8)e._R(1);return[{r:a,c:n},f,s,i]}function ys(e,r,t){return Ts(e,r,t)}function xs(e,r){var t=[];var a=e._R(2);while(a--)t.push(wi(e,r));return t}function Is(e){var r=$r(2+e.length*8);r._W(2,e.length);for(var t=0;t<e.length;++t)Ci(e[t],r);return r}function Rs(e,r,t){if(t&&t.biff<8)return Ds(e,r,t);var a=Si(e,22);var n=yi(e,r-22,a[1]);return{cmo:a,ft:n}}var Os=[];Os[8]=function(e,r){var t=e.l+r;e.l+=10;var a=e._R(2);e.l+=4;e.l+=2;e.l+=2;e.l+=2;e.l+=4;var n=e._R(1);e.l+=n;e.l=t;return{fmt:a}};function Ds(e,r,t){e.l+=4;var a=e._R(2);var n=e._R(2);var i=e._R(2);e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=2;e.l+=6;r-=36;var s=[];s.push((Os[a]||Yr)(e,r,t));return{cmo:[n,a,i],ft:s}}function Fs(e,r,t){var a=e.l;var n=\"\";try{e.l+=4;var i=(t.lastobj||{cmo:[0,0]}).cmo[1];var s;if([0,5,7,11,12,14].indexOf(i)==-1)e.l+=6;else s=ai(e,6,t);var f=e._R(2);e._R(2);jn(e,2);var o=e._R(2);e.l+=o;for(var l=1;l<e.lens.length-1;++l){if(e.l-a!=e.lens[l])throw new Error(\"TxO: bad continue record\");var c=e[e.l];var h=qn(e,e.lens[l+1]-e.lens[l]-1);n+=h;if(n.length>=(c?f:2*f))break}if(n.length!==f&&n.length!==f*2){throw new Error(\"cchText: \"+f+\" != \"+n.length)}e.l=a+r;return{t:n}}catch(u){e.l=a+r;return{t:n}}}function Ps(e,r){var t=wi(e,8);e.l+=16;var a=oi(e,r-24);return[t,a]}function Ns(e){var r=$r(24);var t=pt(e[0]);r._W(2,t.r);r._W(2,t.r);r._W(2,t.c);r._W(2,t.c);var a=\"d0 c9 ea 79 f9 ba ce 11 8c 82 00 aa 00 4b a9 0b\".split(\" \");for(var n=0;n<16;++n)r._W(1,parseInt(a[n],16));return I([r,li(e[1])])}function Ls(e,r){e._R(2);var t=wi(e,8);var a=e._R((r-10)/2,\"dbcs-cont\");a=a.replace(R,\"\");return[t,a]}function Ms(e){var r=e[1].Tooltip;var t=$r(10+2*(r.length+1));t._W(2,2048);var a=pt(e[0]);t._W(2,a.r);t._W(2,a.r);t._W(2,a.c);t._W(2,a.c);for(var n=0;n<r.length;++n)t._W(2,r.charCodeAt(n));t._W(2,0);return t}function Us(e){var r=[0,0],t;t=e._R(2);r[0]=Sa[t]||t;t=e._R(2);r[1]=Sa[t]||t;return r}function Hs(e){if(!e)e=$r(4);e._W(2,1);e._W(2,1);return e}function Ws(e){var r=e._R(2);var t=[];while(r-- >0)t.push(hi(e,8));return t}function zs(e){var r=e._R(2);var t=[];while(r-- >0)t.push(hi(e,8));return t}function Vs(e){e.l+=2;var r={cxfs:0,crc:0};r.cxfs=e._R(2);r.crc=e._R(4);return r}function Xs(e,r,t){if(!t.cellStyles)return Yr(e,r);var a=t&&t.biff>=12?4:2;var n=e._R(a);var i=e._R(a);var s=e._R(a);var f=e._R(a);var o=e._R(2);if(a==2)e.l+=2;var l={s:n,e:i,w:s,ixfe:f,flags:o};if(t.biff>=5||!t.biff)l.level=o>>8&7;return l}function Gs(e,r){var t={};if(r<32)return t;e.l+=16;t.header=Yt(e,8);t.footer=Yt(e,8);e.l+=2;return t}function js(e,r,t){var a={area:false};if(t.biff!=5){e.l+=r;return a}var n=e._R(1);e.l+=3;if(n&16)a.area=true;return a}function Ks(e){var r=$r(2*e);for(var t=0;t<e;++t)r._W(2,t+1);return r}var Ys=ui;var $s=Yn;var Zs=ei;function Qs(e){var r=e._R(2);var t=e._R(2);var a=e._R(4);var n={fmt:r,env:t,len:a,data:e.slice(e.l,e.l+a)};e.l+=a;return n}function Js(e,r,t){var a=ui(e,6);++e.l;var n=ri(e,r-7,t);a.t=\"str\";a.val=n;return a}function qs(e){var r=ui(e,6);++e.l;var t=Yt(e,8);r.t=\"n\";r.val=t;return r}function ef(e,r,t){var a=$r(15);Ov(a,e,r);a._W(8,t,\"f\");return a}function rf(e){var r=ui(e,6);++e.l;var t=e._R(2);r.t=\"n\";r.val=t;return r}function tf(e,r,t){var a=$r(9);Ov(a,e,r);a._W(2,t);return a}function af(e){var r=e._R(1);if(r===0){e.l++;return\"\"}return e._R(r,\"sbcs-cont\")}function nf(e,r){e.l+=6;e.l+=2;e.l+=1;e.l+=3;e.l+=1;e.l+=r-13}function sf(e,r,t){var a=e.l+r;var n=ui(e,6);var i=e._R(2);var s=qn(e,i,t);e.l=a;n.t=\"str\";n.val=s;return n}var ff=function(){var e={1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127,8:865,9:437,10:850,11:437,13:437,14:850,15:437,16:850,17:437,18:850,19:932,20:850,21:437,22:850,23:865,24:437,25:437,26:850,27:437,28:863,29:850,31:852,34:852,35:852,36:860,37:850,38:866,55:850,64:852,77:936,78:949,79:950,80:874,87:1252,88:1252,89:1252,255:16969};var r=Z({1:437,2:850,3:1252,4:1e4,100:852,101:866,102:865,103:861,104:895,105:620,106:737,107:857,120:950,121:949,122:936,123:932,124:874,125:1255,126:1256,150:10007,151:10029,152:10006,200:1250,201:1251,202:1254,203:1253,0:20127});function a(r,t){var a=[];var n=S(1);switch(t.type){case\"base64\":n=_(m.decode(r));break;case\"binary\":n=_(r);break;case\"buffer\":;case\"array\":\nn=r;break;}Kr(n,0);var i=n._R(1);var s=false;var f=false,o=false;switch(i){case 2:;case 3:break;case 48:f=true;s=true;break;case 49:f=true;break;case 131:s=true;break;case 139:s=true;break;case 140:s=true;o=true;break;case 245:s=true;break;default:throw new Error(\"DBF Unsupported Version: \"+i.toString(16));}var l=0,c=0;if(i==2)l=n._R(2);n.l+=3;if(i!=2)l=n._R(4);if(i!=2)c=n._R(2);var h=n._R(2);var u=1252;if(i!=2){n.l+=16;n._R(1);if(n[n.l]!==0)u=e[n[n.l]];n.l+=1;n.l+=2}if(o)n.l+=36;var d=[],p={};var v=c-10-(f?264:0),g=o?32:11;while(i==2?n.l<n.length&&n[n.l]!=13:n.l<v){p={};p.name=cptable.utils.decode(u,n.slice(n.l,n.l+g)).replace(/[\\u0000\\r\\n].*$/g,\"\");n.l+=g;p.type=String.fromCharCode(n._R(1));if(i!=2&&!o)p.offset=n._R(4);p.len=n._R(1);if(i==2)p.offset=n._R(2);p.dec=n._R(1);if(p.name.length)d.push(p);if(i!=2)n.l+=o?13:14;switch(p.type){case\"B\":if((!f||p.len!=8)&&t.WTF)console.log(\"Skipping \"+p.name+\":\"+p.type);break;case\"G\":;case\"P\":if(t.WTF)console.log(\"Skipping \"+p.name+\":\"+p.type);break;case\"C\":;case\"D\":;case\"F\":;case\"I\":;case\"L\":;case\"M\":;case\"N\":;case\"O\":;case\"T\":;case\"Y\":;case\"0\":;case\"@\":;case\"+\":break;default:throw new Error(\"Unknown Field Type: \"+p.type);}}if(n[n.l]!==13)n.l=c-1;else if(i==2)n.l=521;if(i!=2){if(n._R(1)!==13)throw new Error(\"DBF Terminator not found \"+n.l+\" \"+n[n.l]);n.l=c}var b=0,w=0;a[0]=[];for(w=0;w!=d.length;++w)a[0][w]=d[w].name;while(l-- >0){if(n[n.l]===42){n.l+=h;continue}++n.l;a[++b]=[];w=0;for(w=0;w!=d.length;++w){var C=n.slice(n.l,n.l+d[w].len);n.l+=d[w].len;Kr(C,0);var k=cptable.utils.decode(u,C);switch(d[w].type){case\"C\":a[b][w]=cptable.utils.decode(u,C);a[b][w]=a[b][w].trim();break;case\"D\":if(k.length===8)a[b][w]=new Date(+k.slice(0,4),+k.slice(4,6)-1,+k.slice(6,8));else a[b][w]=k;break;case\"F\":a[b][w]=parseFloat(k.trim());break;case\"+\":;case\"I\":a[b][w]=o?C._R(-4,\"i\")^2147483648:C._R(4,\"i\");break;case\"L\":switch(k.toUpperCase()){case\"Y\":;case\"T\":a[b][w]=true;break;case\"N\":;case\"F\":a[b][w]=false;break;case\" \":;case\"?\":a[b][w]=false;break;default:throw new Error(\"DBF Unrecognized L:|\"+k+\"|\");}break;case\"M\":if(!s)throw new Error(\"DBF Unexpected MEMO for type \"+i.toString(16));a[b][w]=\"##MEMO##\"+(o?parseInt(k.trim(),10):C._R(4));break;case\"N\":a[b][w]=+k.replace(/\\u0000/g,\"\").trim();break;case\"@\":a[b][w]=new Date(C._R(-8,\"f\")-621356832e5);break;case\"T\":a[b][w]=new Date((C._R(4)-2440588)*864e5+C._R(4));break;case\"Y\":a[b][w]=C._R(4,\"i\")/1e4;break;case\"O\":a[b][w]=-C._R(-8,\"f\");break;case\"B\":if(f&&d[w].len==8){a[b][w]=C._R(8,\"f\");break};case\"G\":;case\"P\":C.l+=d[w].len;break;case\"0\":if(d[w].name===\"_NullFlags\")break;default:throw new Error(\"DBF Unsupported data type \"+d[w].type);}}}if(i!=2)if(n.l<n.length&&n[n.l++]!=26)throw new Error(\"DBF EOF Marker missing \"+(n.l-1)+\" of \"+n.length+\" \"+n[n.l-1].toString(16));if(t&&t.sheetRows)a=a.slice(0,t.sheetRows);return a}function n(e,r){var t=r||{};if(!t.dateNF)t.dateNF=\"yyyymmdd\";return St(a(e,t),t)}function i(e,r){try{return kt(n(e,r),r)}catch(t){if(r&&r.WTF)throw t}return{SheetNames:[],Sheets:{}}}var s={B:8,C:250,L:1,D:8,\"?\":0,\"\":0};function f(e,a){var n=a||{};if(+n.codepage>=0)o(+n.codepage);if(n.type==\"string\")throw new Error(\"Cannot write DBF to JS string\");var i=Qr();var f=Kg(e,{header:1,raw:true,cellDates:true});var l=f[0],c=f.slice(1);var h=0,u=0,d=0,p=1;for(h=0;h<l.length;++h){if(h==null)continue;++d;if(typeof l[h]===\"number\")l[h]=l[h].toString(10);if(typeof l[h]!==\"string\")throw new Error(\"DBF Invalid column name \"+l[h]+\" |\"+typeof l[h]+\"|\");if(l.indexOf(l[h])!==h)for(u=0;u<1024;++u)if(l.indexOf(l[h]+\"_\"+u)==-1){l[h]+=\"_\"+u;break}}var v=mt(e[\"!ref\"]);var g=[];for(h=0;h<=v.e.c-v.s.c;++h){var b=[];for(u=0;u<c.length;++u){if(c[u][h]!=null)b.push(c[u][h])}if(b.length==0||l[h]==null){g[h]=\"?\";continue}var m=\"\",w=\"\";for(u=0;u<b.length;++u){switch(typeof b[u]){case\"number\":w=\"B\";break;case\"string\":w=\"C\";break;case\"boolean\":w=\"L\";break;case\"object\":w=b[u]instanceof Date?\"D\":\"C\";break;default:w=\"C\";}m=m&&m!=w?\"C\":w;if(m==\"C\")break}p+=s[m]||0;g[h]=m}var C=i.next(32);C._W(4,318902576);C._W(4,c.length);C._W(2,296+32*d);C._W(2,p);for(h=0;h<4;++h)C._W(4,0);C._W(4,0|(+r[t]||3)<<8);for(h=0,u=0;h<l.length;++h){if(l[h]==null)continue;var k=i.next(32);var E=(l[h].slice(-10)+\"\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\\0\").slice(0,11);k._W(1,E,\"sbcs\");k._W(1,g[h]==\"?\"?\"C\":g[h],\"sbcs\");k._W(4,u);k._W(1,s[g[h]]||0);k._W(1,0);k._W(1,2);k._W(4,0);k._W(1,0);k._W(4,0);k._W(4,0);u+=s[g[h]]||0}var S=i.next(264);S._W(4,13);for(h=0;h<65;++h)S._W(4,0);for(h=0;h<c.length;++h){var A=i.next(p);A._W(1,0);for(u=0;u<l.length;++u){if(l[u]==null)continue;switch(g[u]){case\"L\":A._W(1,c[h][u]==null?63:c[h][u]?84:70);break;case\"B\":A._W(8,c[h][u]||0,\"f\");break;case\"D\":if(!c[h][u])A._W(8,\"00000000\",\"sbcs\");else{A._W(4,(\"0000\"+c[h][u].getFullYear()).slice(-4),\"sbcs\");A._W(2,(\"00\"+(c[h][u].getMonth()+1)).slice(-2),\"sbcs\");A._W(2,(\"00\"+c[h][u].getDate()).slice(-2),\"sbcs\")}break;case\"C\":var _=String(c[h][u]||\"\");A._W(1,_,\"sbcs\");for(d=0;d<250-_.length;++d)A._W(1,32);break;}}}i.next(1)._W(1,26);return i.end()}return{to_workbook:i,to_sheet:n,from_sheet:f}}();var of=function(){var e={AA:\"À\",BA:\"Á\",CA:\"Â\",DA:195,HA:\"Ä\",JA:197,AE:\"È\",BE:\"É\",CE:\"Ê\",HE:\"Ë\",AI:\"Ì\",BI:\"Í\",CI:\"Î\",HI:\"Ï\",AO:\"Ò\",BO:\"Ó\",CO:\"Ô\",DO:213,HO:\"Ö\",AU:\"Ù\",BU:\"Ú\",CU:\"Û\",HU:\"Ü\",Aa:\"à\",Ba:\"á\",Ca:\"â\",Da:227,Ha:\"ä\",Ja:229,Ae:\"è\",Be:\"é\",Ce:\"ê\",He:\"ë\",Ai:\"ì\",Bi:\"í\",Ci:\"î\",Hi:\"ï\",Ao:\"ò\",Bo:\"ó\",Co:\"ô\",Do:245,Ho:\"ö\",Au:\"ù\",Bu:\"ú\",Cu:\"û\",Hu:\"ü\",KC:\"Ç\",Kc:\"ç\",q:\"æ\",z:\"œ\",a:\"Æ\",j:\"Œ\",DN:209,Dn:241,Hy:255,S:169,c:170,R:174,B:180,0:176,1:177,2:178,3:179,5:181,6:182,7:183,Q:185,k:186,b:208,i:216,l:222,s:240,y:248,\"!\":161,'\"':162,\"#\":163,\"(\":164,\"%\":165,\"'\":167,\"H \":168,\"+\":171,\";\":187,\"<\":188,\"=\":189,\">\":190,\"?\":191,\"{\":223};var r=new RegExp(\"\u001bN(\"+K(e).join(\"|\").replace(/\\|\\|\\|/,\"|\\\\||\").replace(/([?()+])/g,\"\\\\$1\")+\"|\\\\|)\",\"gm\");var t=function(r,t){var a=e[t];return typeof a==\"number\"?v(a):a};var a=function(e,r,t){var a=r.charCodeAt(0)-32<<4|t.charCodeAt(0)-48;return a==59?e:v(a)};e[\"|\"]=254;function n(e,r){switch(r.type){case\"base64\":return i(m.decode(e),r);case\"binary\":return i(e,r);case\"buffer\":return i(e.toString(\"binary\"),r);case\"array\":return i(fe(e),r);}throw new Error(\"Unrecognized type \"+r.type)}function i(e,n){var i=e.split(/[\\n\\r]+/),s=-1,f=-1,l=0,c=0,h=[];var u=[];var d=null;var p={},v=[],g=[],b=[];var m=0,w;if(+n.codepage>=0)o(+n.codepage);for(;l!==i.length;++l){m=0;var C=i[l].trim().replace(/\\x1B([\\x20-\\x2F])([\\x30-\\x3F])/g,a).replace(r,t);var k=C.replace(/;;/g,\"\\0\").split(\";\").map(function(e){return e.replace(/\\u0000/g,\";\")});var E=k[0],S;if(C.length>0)switch(E){case\"ID\":break;case\"E\":break;case\"B\":break;case\"O\":break;case\"P\":if(k[1].charAt(0)==\"P\")u.push(C.slice(3).replace(/;;/g,\";\"));break;case\"C\":var A=false,_=false;for(c=1;c<k.length;++c)switch(k[c].charAt(0)){case\"X\":f=parseInt(k[c].slice(1))-1;_=true;break;case\"Y\":s=parseInt(k[c].slice(1))-1;if(!_)f=0;for(w=h.length;w<=s;++w)h[w]=[];break;case\"K\":S=k[c].slice(1);if(S.charAt(0)==='\"')S=S.slice(1,S.length-1);else if(S===\"TRUE\")S=true;else if(S===\"FALSE\")S=false;else if(!isNaN(ce(S))){S=ce(S);if(d!==null&&D.is_date(d))S=te(S)}else if(!isNaN(he(S).getDate())){S=se(S)}if(typeof cptable!==\"undefined\"&&typeof S==\"string\"&&(n||{}).type!=\"string\"&&(n||{}).codepage)S=cptable.utils.decode(n.codepage,S);A=true;break;case\"E\":var B=ql(k[c].slice(1),{r:s,c:f});h[s][f]=[h[s][f],B];break;default:if(n&&n.WTF)throw new Error(\"SYLK bad record \"+C);}if(A){h[s][f]=S;d=null}break;case\"F\":var T=0;for(c=1;c<k.length;++c)switch(k[c].charAt(0)){case\"X\":f=parseInt(k[c].slice(1))-1;++T;break;case\"Y\":s=parseInt(k[c].slice(1))-1;for(w=h.length;w<=s;++w)h[w]=[];break;case\"M\":m=parseInt(k[c].slice(1))/20;break;case\"F\":break;case\"G\":break;case\"P\":d=u[parseInt(k[c].slice(1))];break;case\"S\":break;case\"D\":break;case\"N\":break;case\"W\":b=k[c].slice(1).split(\" \");for(w=parseInt(b[0],10);w<=parseInt(b[1],10);++w){m=parseInt(b[2],10);g[w-1]=m===0?{hidden:true}:{wch:m};bo(g[w-1])}break;case\"C\":f=parseInt(k[c].slice(1))-1;if(!g[f])g[f]={};break;case\"R\":s=parseInt(k[c].slice(1))-1;if(!v[s])v[s]={};if(m>0){v[s].hpt=m;v[s].hpx=ko(m)}else if(m===0)v[s].hidden=true;break;default:if(n&&n.WTF)throw new Error(\"SYLK bad record \"+C);}if(T<1)d=null;break;default:if(n&&n.WTF)throw new Error(\"SYLK bad record \"+C);}}if(v.length>0)p[\"!rows\"]=v;if(g.length>0)p[\"!cols\"]=g;if(n&&n.sheetRows)h=h.slice(0,n.sheetRows);return[h,p]}function s(e,r){var t=n(e,r);var a=t[0],i=t[1];var s=St(a,r);K(i).forEach(function(e){s[e]=i[e]});return s}function f(e,r){return kt(s(e,r),r)}function l(e,r,t,a){var n=\"C;Y\"+(t+1)+\";X\"+(a+1)+\";K\";switch(e.t){case\"n\":n+=e.v||0;if(e.f&&!e.F)n+=\";E\"+rc(e.f,{r:t,c:a});break;case\"b\":n+=e.v?\"TRUE\":\"FALSE\";break;case\"e\":n+=e.w||e.v;break;case\"d\":n+='\"'+(e.w||e.v)+'\"';break;case\"s\":n+='\"'+e.v.replace(/\"/g,\"\")+'\"';break;}return n}function c(e,r){r.forEach(function(r,t){var a=\"F;W\"+(t+1)+\" \"+(t+1)+\" \";if(r.hidden)a+=\"0\";else{if(typeof r.width==\"number\")r.wpx=ho(r.width);if(typeof r.wpx==\"number\")r.wch=uo(r.wpx);if(typeof r.wch==\"number\")a+=Math.round(r.wch)}if(a.charAt(a.length-1)!=\" \")e.push(a)})}function h(e,r){r.forEach(function(r,t){var a=\"F;\";if(r.hidden)a+=\"M0;\";else if(r.hpt)a+=\"M\"+20*r.hpt+\";\";else if(r.hpx)a+=\"M\"+20*Co(r.hpx)+\";\";if(a.length>2)e.push(a+\"R\"+(t+1))})}function u(e,r){var t=[\"ID;PWXL;N;E\"],a=[];var n=mt(e[\"!ref\"]),i;var s=Array.isArray(e);var f=\"\\r\\n\";t.push(\"P;PGeneral\");t.push(\"F;P0;DG0G8;M255\");if(e[\"!cols\"])c(t,e[\"!cols\"]);if(e[\"!rows\"])h(t,e[\"!rows\"]);t.push(\"B;Y\"+(n.e.r-n.s.r+1)+\";X\"+(n.e.c-n.s.c+1)+\";D\"+[n.s.c,n.s.r,n.e.c,n.e.r].join(\" \"));for(var o=n.s.r;o<=n.e.r;++o){for(var u=n.s.c;u<=n.e.c;++u){var d=vt({r:o,c:u});i=s?(e[o]||[])[u]:e[d];if(!i||i.v==null&&(!i.f||i.F))continue;a.push(l(i,e,o,u,r))}}return t.join(f)+f+a.join(f)+f+\"E\"+f}return{to_workbook:f,to_sheet:s,from_sheet:u}}();var lf=function(){function e(e,t){switch(t.type){case\"base64\":return r(m.decode(e),t);case\"binary\":return r(e,t);case\"buffer\":return r(e.toString(\"binary\"),t);case\"array\":return r(fe(e),t);}throw new Error(\"Unrecognized type \"+t.type)}function r(e,r){var t=e.split(\"\\n\"),a=-1,n=-1,i=0,s=[];for(;i!==t.length;++i){if(t[i].trim()===\"BOT\"){s[++a]=[];n=0;continue}if(a<0)continue;var f=t[i].trim().split(\",\");var o=f[0],l=f[1];++i;var c=t[i].trim();switch(+o){case-1:if(c===\"BOT\"){s[++a]=[];n=0;continue}else if(c!==\"EOD\")throw new Error(\"Unrecognized DIF special command \"+c);break;case 0:if(c===\"TRUE\")s[a][n]=true;else if(c===\"FALSE\")s[a][n]=false;else if(!isNaN(ce(l)))s[a][n]=ce(l);else if(!isNaN(he(l).getDate()))s[a][n]=se(l);else s[a][n]=l;++n;break;case 1:c=c.slice(1,c.length-1);s[a][n++]=c!==\"\"?c:null;break;}if(c===\"EOD\")break}if(r&&r.sheetRows)s=s.slice(0,r.sheetRows);return s}function t(r,t){return St(e(r,t),t)}function a(e,r){return kt(t(e,r),r)}var n=function(){var e=function t(e,r,a,n,i){e.push(r);e.push(a+\",\"+n);e.push('\"'+i.replace(/\"/g,'\"\"')+'\"')};var r=function a(e,r,t,n){e.push(r+\",\"+t);e.push(r==1?'\"'+n.replace(/\"/g,'\"\"')+'\"':n)};return function n(t){var a=[];var n=mt(t[\"!ref\"]),i;var s=Array.isArray(t);e(a,\"TABLE\",0,1,\"sheetjs\");e(a,\"VECTORS\",0,n.e.r-n.s.r+1,\"\");e(a,\"TUPLES\",0,n.e.c-n.s.c+1,\"\");e(a,\"DATA\",0,0,\"\");for(var f=n.s.r;f<=n.e.r;++f){r(a,-1,0,\"BOT\");for(var o=n.s.c;o<=n.e.c;++o){var l=vt({r:f,c:o});i=s?(t[f]||[])[o]:t[l];if(!i){r(a,1,0,\"\");continue}switch(i.t){case\"n\":var c=b?i.w:i.v;if(!c&&i.v!=null)c=i.v;if(c==null){if(b&&i.f&&!i.F)r(a,1,0,\"=\"+i.f);else r(a,1,0,\"\")}else r(a,0,c,\"V\");break;case\"b\":r(a,0,i.v?1:0,i.v?\"TRUE\":\"FALSE\");break;case\"s\":r(a,1,0,!b||isNaN(i.v)?i.v:'=\"'+i.v+'\"');break;case\"d\":if(!i.w)i.w=D.format(i.z||D._table[14],re(se(i.v)));if(b)r(a,0,i.w,\"V\");else r(a,1,0,i.w);break;default:r(a,1,0,\"\");}}}r(a,-1,0,\"EOD\");var h=\"\\r\\n\";var u=a.join(h);return u}}();return{to_workbook:a,to_sheet:t,from_sheet:n}}();var cf=function(){function e(e){return e.replace(/\\\\b/g,\"\\\\\").replace(/\\\\c/g,\":\").replace(/\\\\n/g,\"\\n\")}function r(e){return e.replace(/\\\\/g,\"\\\\b\").replace(/:/g,\"\\\\c\").replace(/\\n/g,\"\\\\n\")}function t(r,t){var a=r.split(\"\\n\"),n=-1,i=-1,s=0,f=[];for(;s!==a.length;++s){var o=a[s].trim().split(\":\");if(o[0]!==\"cell\")continue;var l=pt(o[1]);if(f.length<=l.r)for(n=f.length;n<=l.r;++n)if(!f[n])f[n]=[];n=l.r;i=l.c;switch(o[2]){case\"t\":f[n][i]=e(o[3]);break;case\"v\":f[n][i]=+o[3];break;case\"vtf\":var c=o[o.length-1];case\"vtc\":switch(o[3]){case\"nl\":f[n][i]=+o[4]?true:false;break;default:f[n][i]=+o[4];break;}if(o[2]==\"vtf\")f[n][i]=[f[n][i],c];}}if(t&&t.sheetRows)f=f.slice(0,t.sheetRows);return f}function a(e,r){return St(t(e,r),r)}function n(e,r){return kt(a(e,r),r)}var i=[\"socialcalc:version:1.5\",\"MIME-Version: 1.0\",\"Content-Type: multipart/mixed; boundary=SocialCalcSpreadsheetControlSave\"].join(\"\\n\");var s=[\"--SocialCalcSpreadsheetControlSave\",\"Content-type: text/plain; charset=UTF-8\"].join(\"\\n\")+\"\\n\";var f=[\"# SocialCalc Spreadsheet Control Save\",\"part:sheet\"].join(\"\\n\");var o=\"--SocialCalcSpreadsheetControlSave--\";function l(e){if(!e||!e[\"!ref\"])return\"\";var t=[],a=[],n,i=\"\";var s=gt(e[\"!ref\"]);var f=Array.isArray(e);for(var o=s.s.r;o<=s.e.r;++o){for(var l=s.s.c;l<=s.e.c;++l){i=vt({r:o,c:l});n=f?(e[o]||[])[l]:e[i];if(!n||n.v==null||n.t===\"z\")continue;a=[\"cell\",i,\"t\"];switch(n.t){case\"s\":;case\"str\":a.push(r(n.v));break;case\"n\":if(!n.f){a[2]=\"v\";a[3]=n.v}else{a[2]=\"vtf\";a[3]=\"n\";a[4]=n.v;a[5]=r(n.f)}break;case\"b\":a[2]=\"vt\"+(n.f?\"f\":\"c\");a[3]=\"nl\";a[4]=n.v?\"1\":\"0\";a[5]=r(n.f||(n.v?\"TRUE\":\"FALSE\"));break;case\"d\":var c=re(se(n.v));a[2]=\"vtc\";a[3]=\"nd\";a[4]=\"\"+c;a[5]=n.w||D.format(n.z||D._table[14],c);break;case\"e\":continue;}t.push(a.join(\":\"))}}t.push(\"sheet:c:\"+(s.e.c-s.s.c+1)+\":r:\"+(s.e.r-s.s.r+1)+\":tvf:1\");t.push(\"valueformat:1:text-wiki\");return t.join(\"\\n\")}function c(e){return[i,s,f,s,l(e),o].join(\"\\n\")}return{to_workbook:n,to_sheet:a,from_sheet:c}}();var hf=function(){function e(e,r,t,a,n){if(n.raw)r[t][a]=e;else if(e===\"TRUE\")r[t][a]=true;else if(e===\"FALSE\")r[t][a]=false;else if(e===\"\"){}else if(!isNaN(ce(e)))r[t][a]=ce(e);else if(!isNaN(he(e).getDate()))r[t][a]=se(e);else r[t][a]=e}function r(r,t){var a=t||{};var n=[];if(!r||r.length===0)return n;var i=r.split(/[\\r\\n]/);var s=i.length-1;while(s>=0&&i[s].length===0)--s;var f=10,o=0;var l=0;for(;l<=s;++l){o=i[l].indexOf(\" \");if(o==-1)o=i[l].length;else o++;f=Math.max(f,o)}for(l=0;l<=s;++l){n[l]=[];var c=0;e(i[l].slice(0,f).trim(),n,l,c,a);for(c=1;c<=(i[l].length-f)/10+1;++c)e(i[l].slice(f+(c-1)*10,f+c*10).trim(),n,l,c,a)}if(a.sheetRows)n=n.slice(0,a.sheetRows);return n}var t={44:\",\",9:\"\\t\",59:\";\"};var a={44:3,9:2,59:1};function n(e){var r={},n=false,i=0,s=0;for(;i<e.length;++i){if((s=e.charCodeAt(i))==34)n=!n;else if(!n&&s in t)r[s]=(r[s]||0)+1}s=[];for(i in r)if(Object.prototype.hasOwnProperty.call(r,i)){s.push([r[i],i])}if(!s.length){r=a;for(i in r)if(Object.prototype.hasOwnProperty.call(r,i)){s.push([r[i],i])}}s.sort(function(e,r){return e[0]-r[0]||a[e[1]]-a[r[1]]});return t[s.pop()[1]]}function i(e,r){var t=r||{};var a=\"\";if(g!=null&&t.dense==null)t.dense=g;var i=t.dense?[]:{};var s={s:{c:0,r:0},e:{c:0,r:0}};if(e.slice(0,4)==\"sep=\"&&e.charCodeAt(5)==10){a=e.charAt(4);e=e.slice(6)}else a=n(e.slice(0,1024));var f=0,o=0,l=0;var c=0,h=0,u=a.charCodeAt(0),d=false,p=0;e=e.replace(/\\r\\n/gm,\"\\n\");var v=t.dateNF!=null?M(t.dateNF):null;function b(){var r=e.slice(c,h);var a={};if(r.charAt(0)=='\"'&&r.charAt(r.length-1)=='\"')r=r.slice(1,-1).replace(/\"\"/g,'\"');if(r.length===0)a.t=\"z\";else if(t.raw){a.t=\"s\";a.v=r}else if(r.trim().length===0){a.t=\"s\";a.v=r}else if(r.charCodeAt(0)==61){if(r.charCodeAt(1)==34&&r.charCodeAt(r.length-1)==34){a.t=\"s\";a.v=r.slice(2,-1).replace(/\"\"/g,'\"')}else if(nc(r)){a.t=\"n\";a.f=r.slice(1)}else{a.t=\"s\";a.v=r}}else if(r==\"TRUE\"){a.t=\"b\";a.v=true}else if(r==\"FALSE\"){a.t=\"b\";a.v=false}else if(!isNaN(l=ce(r))){a.t=\"n\";if(t.cellText!==false)a.w=r;a.v=l}else if(!isNaN(he(r).getDate())||v&&r.match(v)){a.z=t.dateNF||D._table[14];var n=0;if(v&&r.match(v)){r=U(r,t.dateNF,r.match(v)||[]);n=1}if(t.cellDates){a.t=\"d\";a.v=se(r,n)}else{a.t=\"n\";a.v=re(se(r,n))}if(t.cellText!==false)a.w=D.format(a.z,a.v instanceof Date?re(a.v):a.v);if(!t.cellNF)delete a.z}else{a.t=\"s\";a.v=r}if(a.t==\"z\"){}else if(t.dense){if(!i[f])i[f]=[];i[f][o]=a}else i[vt({c:o,r:f})]=a;c=h+1;if(s.e.c<o)s.e.c=o;if(s.e.r<f)s.e.r=f;if(p==u)++o;else{o=0;++f;if(t.sheetRows&&t.sheetRows<=f)return true}}e:for(;h<e.length;++h)switch(p=e.charCodeAt(h)){case 34:d=!d;break;case u:;case 10:;case 13:if(!d&&b())break e;break;default:break;}if(h-c>0)b();i[\"!ref\"]=bt(s);return i}function s(e,t){if(e.slice(0,4)==\"sep=\")return i(e,t);if(e.indexOf(\"\\t\")>=0||e.indexOf(\",\")>=0||e.indexOf(\";\")>=0)return i(e,t);return St(r(e,t),t)}function f(e,r){var t=\"\",a=r.type==\"string\"?[0,0,0,0]:Bg(e,r);switch(r.type){case\"base64\":t=m.decode(e);break;case\"binary\":t=e;break;case\"buffer\":if(r.codepage==65001)t=e.toString(\"utf8\");else if(r.codepage&&typeof cptable!==\"undefined\")t=cptable.utils.decode(r.codepage,e);else t=e.toString(\"binary\");break;case\"array\":t=fe(e);break;case\"string\":t=e;break;default:throw new Error(\"Unrecognized type \"+r.type);}if(a[0]==239&&a[1]==187&&a[2]==191)t=Ke(t.slice(3));else if(r.type==\"binary\"&&typeof cptable!==\"undefined\"&&r.codepage)t=cptable.utils.decode(r.codepage,cptable.utils.encode(1252,t));if(t.slice(0,19)==\"socialcalc:version:\")return cf.to_sheet(r.type==\"string\"?t:Ke(t),r);return s(t,r)}function o(e,r){return kt(f(e,r),r)}function l(e){var r=[];var t=mt(e[\"!ref\"]),a;var n=Array.isArray(e);for(var i=t.s.r;i<=t.e.r;++i){var s=[];for(var f=t.s.c;f<=t.e.c;++f){var o=vt({r:i,c:f});a=n?(e[i]||[])[f]:e[o];if(!a||a.v==null){s.push(\"          \");continue}var l=(a.w||(Ct(a),a.w)||\"\").slice(0,10);while(l.length<10)l+=\" \";s.push(l+(f===0?\" \":\"\"))}r.push(s.join(\"\"))}return r.join(\"\\n\")}return{to_workbook:o,to_sheet:f,from_sheet:l}}();function uf(e,r){var t=r||{},a=!!t.WTF;t.WTF=true;try{var n=of.to_workbook(e,t);t.WTF=a;return n}catch(i){t.WTF=a;if(!i.message.match(/SYLK bad record ID/)&&a)throw i;return hf.to_workbook(e,r)}}var df=function(){function e(e,r,t){if(!e)return;Kr(e,e.l||0);var a=t.Enum||w;while(e.l<e.length){var n=e._R(2);var i=a[n]||a[255];var s=e._R(2);var f=e.l+s;var o=(i.f||Yr)(e,s,t);e.l=f;if(r(o,i.n,n))return}}function r(e,r){switch(r.type){case\"base64\":return t(_(m.decode(e)),r);case\"binary\":return t(_(e),r);case\"buffer\":;case\"array\":return t(e,r);}throw\"Unsupported type \"+r.type}function t(r,t){if(!r)return r;var a=t||{};if(g!=null&&a.dense==null)a.dense=g;var n=a.dense?[]:{},i=\"Sheet1\",s=0;var f={},o=[i];var l={s:{r:0,c:0},e:{r:0,c:0}};var c=a.sheetRows||0;if(r[2]==2)a.Enum=w;else if(r[2]==26)a.Enum=C;else if(r[2]==14){a.Enum=C;a.qpro=true;r.l=0}else throw new Error(\"Unrecognized LOTUS BOF \"+r[2]);e(r,function(e,t,h){if(r[2]==2)switch(h){case 0:a.vers=e;if(e>=4096)a.qpro=true;break;case 6:l=e;break;case 15:if(!a.qpro)e[1].v=e[1].v.slice(1);case 13:;case 14:;case 16:;case 51:if(h==14&&(e[2]&112)==112&&(e[2]&15)>1&&(e[2]&15)<15){e[1].z=a.dateNF||D._table[14];if(a.cellDates){e[1].t=\"d\";e[1].v=te(e[1].v)}}if(a.dense){if(!n[e[0].r])n[e[0].r]=[];n[e[0].r][e[0].c]=e[1]}else n[vt(e[0])]=e[1];break;}else switch(h){case 22:e[1].v=e[1].v.slice(1);case 23:;case 24:;case 25:;case 37:;case 39:;case 40:if(e[3]>s){n[\"!ref\"]=bt(l);f[i]=n;n=a.dense?[]:{};l={s:{r:0,c:0},e:{r:0,c:0}};s=e[3];i=\"Sheet\"+(s+1);o.push(i)}if(c>0&&e[0].r>=c)break;if(a.dense){if(!n[e[0].r])n[e[0].r]=[];n[e[0].r][e[0].c]=e[1]}else n[vt(e[0])]=e[1];if(l.e.c<e[0].c)l.e.c=e[0].c;if(l.e.r<e[0].r)l.e.r=e[0].r;break;default:break;}},a);n[\"!ref\"]=bt(l);f[i]=n;return{SheetNames:o,Sheets:f}}function a(e){var r={s:{c:0,r:0},e:{c:0,r:0}};r.s.c=e._R(2);r.s.r=e._R(2);r.e.c=e._R(2);r.e.r=e._R(2);if(r.s.c==65535)r.s.c=r.e.c=r.s.r=r.e.r=0;return r}function n(e,r,t){var a=[{c:0,r:0},{t:\"n\",v:0},0];if(t.qpro&&t.vers!=20768){a[0].c=e._R(1);e.l++;a[0].r=e._R(2);e.l+=2}else{a[2]=e._R(1);a[0].c=e._R(2);a[0].r=e._R(2)}return a}function i(e,r,t){var a=e.l+r;var i=n(e,r,t);i[1].t=\"s\";if(t.vers==20768){e.l++;var s=e._R(1);i[1].v=e._R(s,\"utf8\");return i}if(t.qpro)e.l++;i[1].v=e._R(a-e.l,\"cstr\");return i}function s(e,r,t){var a=n(e,r,t);a[1].v=e._R(2,\"i\");return a}function f(e,r,t){var a=n(e,r,t);a[1].v=e._R(8,\"f\");return a}function o(e,r,t){var a=e.l+r;var i=n(e,r,t);i[1].v=e._R(8,\"f\");if(t.qpro)e.l=a;else{var s=e._R(2);e.l+=s}return i}function l(e){var r=[{c:0,r:0},{t:\"n\",v:0},0];r[0].r=e._R(2);r[3]=e[e.l++];r[0].c=e[e.l++];return r}function c(e,r){var t=l(e,r);t[1].t=\"s\";t[1].v=e._R(r-4,\"cstr\");return t}function h(e,r){var t=l(e,r);t[1].v=e._R(2);var a=t[1].v>>1;if(t[1].v&1){switch(a&7){case 1:a=(a>>3)*500;break;case 2:a=(a>>3)/20;break;case 4:a=(a>>3)/2e3;break;case 6:a=(a>>3)/16;break;case 7:a=(a>>3)/64;break;default:throw\"unknown NUMBER_18 encoding \"+(a&7);}}t[1].v=a;return t}function u(e,r){var t=l(e,r);var a=e._R(4);var n=e._R(4);var i=e._R(2);if(i==65535){t[1].v=0;return t}var s=i&32768;i=(i&32767)-16446;t[1].v=(s*2-1)*((i>0?n<<i:n>>>-i)+(i>-32?a<<i+32:a>>>-(i+32)));return t}function d(e,r){var t=u(e,14);e.l+=r-14;return t}function p(e,r){var t=l(e,r);var a=e._R(4);t[1].v=a>>6;return t}function v(e,r){var t=l(e,r);var a=e._R(8,\"f\");t[1].v=a;return t}function b(e,r){var t=v(e,14);e.l+=r-10;return t}var w={0:{n:\"BOF\",f:jn},1:{n:\"EOF\"},2:{n:\"CALCMODE\"},3:{n:\"CALCORDER\"},4:{n:\"SPLIT\"},5:{n:\"SYNC\"},6:{n:\"RANGE\",f:a},7:{n:\"WINDOW1\"},8:{n:\"COLW1\"},9:{n:\"WINTWO\"},10:{n:\"COLW2\"},11:{n:\"NAME\"},12:{n:\"BLANK\"},13:{n:\"INTEGER\",f:s},14:{n:\"NUMBER\",f:f},15:{n:\"LABEL\",f:i},16:{n:\"FORMULA\",f:o},24:{n:\"TABLE\"},25:{n:\"ORANGE\"},26:{n:\"PRANGE\"},27:{n:\"SRANGE\"},28:{n:\"FRANGE\"},29:{n:\"KRANGE1\"},32:{n:\"HRANGE\"},35:{n:\"KRANGE2\"},36:{n:\"PROTEC\"},37:{n:\"FOOTER\"},38:{n:\"HEADER\"},39:{n:\"SETUP\"},40:{n:\"MARGINS\"},41:{n:\"LABELFMT\"},42:{n:\"TITLES\"},43:{n:\"SHEETJS\"},45:{n:\"GRAPH\"},46:{n:\"NGRAPH\"},47:{n:\"CALCCOUNT\"},48:{n:\"UNFORMATTED\"},49:{n:\"CURSORW12\"},50:{n:\"WINDOW\"},51:{n:\"STRING\",f:i},55:{n:\"PASSWORD\"},56:{n:\"LOCKED\"},60:{n:\"QUERY\"},61:{n:\"QUERYNAME\"},62:{n:\"PRINT\"},63:{n:\"PRINTNAME\"},64:{n:\"GRAPH2\"},65:{n:\"GRAPHNAME\"},66:{n:\"ZOOM\"},67:{n:\"SYMSPLIT\"},68:{n:\"NSROWS\"},69:{n:\"NSCOLS\"},70:{n:\"RULER\"},71:{n:\"NNAME\"},72:{n:\"ACOMM\"},73:{n:\"AMACRO\"},74:{n:\"PARSE\"},255:{n:\"\",f:Yr}};var C={0:{n:\"BOF\"},1:{n:\"EOF\"},3:{n:\"??\"},4:{n:\"??\"},5:{n:\"??\"},6:{n:\"??\"},7:{n:\"??\"},9:{n:\"??\"},10:{n:\"??\"},11:{n:\"??\"},12:{n:\"??\"},14:{n:\"??\"},15:{n:\"??\"},16:{n:\"??\"},17:{n:\"??\"},18:{n:\"??\"},19:{n:\"??\"},21:{n:\"??\"},22:{n:\"LABEL16\",f:c},23:{n:\"NUMBER17\",f:u},24:{n:\"NUMBER18\",f:h},25:{n:\"FORMULA19\",f:d},26:{n:\"??\"},27:{n:\"??\"},28:{n:\"??\"},29:{n:\"??\"},30:{n:\"??\"},31:{n:\"??\"},33:{n:\"??\"},37:{n:\"NUMBER25\",f:p},39:{n:\"NUMBER27\",f:v},40:{n:\"FORMULA28\",f:b},255:{n:\"\",f:Yr}};return{to_workbook:r}}();function pf(e){var r={},t=e.match(xe),a=0;var n=false;if(t)for(;a!=t.length;++a){var s=Oe(t[a]);switch(s[0].replace(/\\w*:/g,\"\")){case\"<condense\":break;case\"<extend\":break;case\"<shadow\":if(!s.val)break;case\"<shadow>\":;case\"<shadow/>\":r.shadow=1;break;case\"</shadow>\":break;case\"<charset\":if(s.val==\"1\")break;r.cp=i[parseInt(s.val,10)];break;case\"<outline\":if(!s.val)break;case\"<outline>\":;case\"<outline/>\":r.outline=1;break;case\"</outline>\":break;case\"<rFont\":r.name=s.val;break;case\"<sz\":r.sz=s.val;break;case\"<strike\":if(!s.val)break;case\"<strike>\":;case\"<strike/>\":r.strike=1;break;case\"</strike>\":break;case\"<u\":if(!s.val)break;switch(s.val){case\"double\":r.uval=\"double\";break;case\"singleAccounting\":r.uval=\"single-accounting\";break;case\"doubleAccounting\":r.uval=\"double-accounting\";break;};case\"<u>\":;case\"<u/>\":r.u=1;break;case\"</u>\":break;case\"<b\":if(s.val==\"0\")break;case\"<b>\":;case\"<b/>\":r.b=1;break;case\"</b>\":break;case\"<i\":if(s.val==\"0\")break;case\"<i>\":;case\"<i/>\":r.i=1;break;case\"</i>\":break;case\"<color\":if(s.rgb)r.color=s.rgb.slice(2,8);break;case\"<family\":r.family=s.val;break;case\"<vertAlign\":r.valign=s.val;break;case\"<scheme\":break;case\"<extLst\":;case\"<extLst>\":;case\"</extLst>\":break;case\"<ext\":n=true;break;case\"</ext>\":n=false;break;default:if(s[0].charCodeAt(1)!==47&&!n)throw new Error(\"Unrecognized rich format \"+s[0]);}}return r}var vf=function(){var e=Je(\"t\"),r=Je(\"rPr\");function t(t){var a=t.match(e);if(!a)return{t:\"s\",v:\"\"};var n={t:\"s\",v:Ne(a[1])};var i=t.match(r);if(i)n.s=pf(i[1]);return n}var a=/<(?:\\w+:)?r>/g,n=/<\\/(?:\\w+:)?r>/;return function i(e){return e.replace(a,\"\").split(n).map(t).filter(function(e){return e.v})}}();var gf=function Sb(){var e=/(\\r\\n|\\n)/g;function r(e,r,t){var a=[];if(e.u)a.push(\"text-decoration: underline;\");if(e.uval)a.push(\"text-underline-style:\"+e.uval+\";\");if(e.sz)a.push(\"font-size:\"+e.sz+\"pt;\");if(e.outline)a.push(\"text-effect: outline;\");if(e.shadow)a.push(\"text-shadow: auto;\");r.push('<span style=\"'+a.join(\"\")+'\">');if(e.b){r.push(\"<b>\");t.push(\"</b>\")}if(e.i){r.push(\"<i>\");t.push(\"</i>\")}if(e.strike){r.push(\"<s>\");t.push(\"</s>\")}var n=e.valign||\"\";if(n==\"superscript\"||n==\"super\")n=\"sup\";else if(n==\"subscript\")n=\"sub\";if(n!=\"\"){r.push(\"<\"+n+\">\");t.push(\"</\"+n+\">\")}t.push(\"</span>\");return e}function t(t){var a=[[],t.v,[]];if(!t.v)return\"\";if(t.s)r(t.s,a[0],a[2]);return a[0].join(\"\")+a[1].replace(e,\"<br/>\")+a[2].join(\"\")}return function a(e){return e.map(t).join(\"\")}}();var bf=/<(?:\\w+:)?t[^>]*>([^<]*)<\\/(?:\\w+:)?t>/g,mf=/<(?:\\w+:)?r>/;var wf=/<(?:\\w+:)?rPh.*?>([\\s\\S]*?)<\\/(?:\\w+:)?rPh>/g;function Cf(e,r){var t=r?r.cellHTML:true;var a={};if(!e)return null;if(e.match(/^\\s*<(?:\\w+:)?t[^>]*>/)){a.t=Ne(Ke(e.slice(e.indexOf(\">\")+1).split(/<\\/(?:\\w+:)?t>/)[0]||\"\"));a.r=Ke(e);if(t)a.h=ze(a.t)}else if(e.match(mf)){a.r=Ke(e);a.t=Ne(Ke((e.replace(wf,\"\").match(bf)||[]).join(\"\").replace(xe,\"\")));if(t)a.h=gf(vf(a.r))}return a}var kf=/<(?:\\w+:)?sst([^>]*)>([\\s\\S]*)<\\/(?:\\w+:)?sst>/;var Ef=/<(?:\\w+:)?(?:si|sstItem)>/g;var Sf=/<\\/(?:\\w+:)?(?:si|sstItem)>/;function Af(e,r){var t=[],a=\"\";if(!e)return t;var n=e.match(kf);if(n){a=n[2].replace(Ef,\"\").split(Sf);for(var i=0;i!=a.length;++i){var s=Cf(a[i].trim(),r);if(s!=null)t[t.length]=s}n=Oe(n[1]);t.Count=n.count;t.Unique=n.uniqueCount}return t}Na.SST=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/sharedStrings\";var _f=/^\\s|\\s$|[\\t\\n\\r]/;function Bf(e,r){if(!r.bookSST)return\"\";var t=[Te];t[t.length]=fr(\"sst\",null,{xmlns:cr.main[0],count:e.Count,uniqueCount:e.Unique});for(var a=0;a!=e.length;++a){if(e[a]==null)continue;var n=e[a];var i=\"<si>\";if(n.r)i+=n.r;else{i+=\"<t\";if(!n.t)n.t=\"\";if(n.t.match(_f))i+=' xml:space=\"preserve\"';i+=\">\"+Ue(n.t)+\"</t>\"}i+=\"</si>\";t[t.length]=i}if(t.length>2){t[t.length]=\"</sst>\";t[1]=t[1].replace(\"/>\",\">\")}return t.join(\"\")}function Tf(e){return[e._R(4),e._R(4)]}function yf(e,r){var t=[];var a=false;Zr(e,function n(e,i,s){switch(s){case 159:t.Count=e[0];t.Unique=e[1];break;case 19:t.push(e);break;case 160:return true;case 35:a=true;break;case 36:a=false;break;default:if(i.indexOf(\"Begin\")>0){}else if(i.indexOf(\"End\")>0){}if(!a||r.WTF)throw new Error(\"Unexpected record \"+s+\" \"+i);}});return t}function xf(e,r){if(!r)r=$r(8);r._W(4,e.Count);r._W(4,e.Unique);return r}var If=It;function Rf(e){var r=Qr();Jr(r,\"BrtBeginSst\",xf(e));for(var t=0;t<e.length;++t)Jr(r,\"BrtSSTItem\",If(e[t]));Jr(r,\"BrtEndSst\");return r.end()}function Of(e){if(typeof cptable!==\"undefined\")return cptable.utils.encode(t,e);var r=[],a=e.split(\"\");for(var n=0;n<a.length;++n)r[n]=a[n].charCodeAt(0);return r}function Df(e,r){var t={};t.Major=e._R(2);t.Minor=e._R(2);if(r>=4)e.l+=r-4;return t}function Ff(e){var r={};r.id=e._R(0,\"lpp4\");r.R=Df(e,4);r.U=Df(e,4);r.W=Df(e,4);return r}function Pf(e){var r=e._R(4);var t=e.l+r-4;var a={};var n=e._R(4);var i=[];while(n-- >0)i.push({t:e._R(4),v:e._R(0,\"lpp4\")});a.name=e._R(0,\"lpp4\");a.comps=i;if(e.l!=t)throw new Error(\"Bad DataSpaceMapEntry: \"+e.l+\" != \"+t);return a}function Nf(e){var r=[];e.l+=4;var t=e._R(4);while(t-- >0)r.push(Pf(e));return r}function Lf(e){var r=[];e.l+=4;var t=e._R(4);while(t-- >0)r.push(e._R(0,\"lpp4\"));return r}function Mf(e){var r={};e._R(4);e.l+=4;r.id=e._R(0,\"lpp4\");r.name=e._R(0,\"lpp4\");r.R=Df(e,4);r.U=Df(e,4);r.W=Df(e,4);return r}function Uf(e){var r=Mf(e);r.ename=e._R(0,\"8lpp4\");r.blksz=e._R(4);r.cmode=e._R(4);if(e._R(4)!=4)throw new Error(\"Bad !Primary record\");return r}function Hf(e,r){var t=e.l+r;var a={};a.Flags=e._R(4)&63;e.l+=4;a.AlgID=e._R(4);var n=false;switch(a.AlgID){case 26126:;case 26127:;case 26128:n=a.Flags==36;break;case 26625:n=a.Flags==4;break;case 0:n=a.Flags==16||a.Flags==4||a.Flags==36;break;default:throw\"Unrecognized encryption algorithm: \"+a.AlgID;}if(!n)throw new Error(\"Encryption Flags/AlgID mismatch\");a.AlgIDHash=e._R(4);a.KeySize=e._R(4);a.ProviderType=e._R(4);e.l+=8;a.CSPName=e._R(t-e.l>>1,\"utf16le\");e.l=t;return a}function Wf(e,r){var t={},a=e.l+r;e.l+=4;t.Salt=e.slice(e.l,e.l+16);e.l+=16;t.Verifier=e.slice(e.l,e.l+16);e.l+=16;e._R(4);t.VerifierHash=e.slice(e.l,a);e.l=a;return t}function zf(e){var r=Df(e);switch(r.Minor){case 2:return[r.Minor,Vf(e,r)];case 3:return[r.Minor,Xf(e,r)];case 4:return[r.Minor,Gf(e,r)];}throw new Error(\"ECMA-376 Encrypted file unrecognized Version: \"+r.Minor)}function Vf(e){var r=e._R(4);if((r&63)!=36)throw new Error(\"EncryptionInfo mismatch\");var t=e._R(4);var a=Hf(e,t);var n=Wf(e,e.length-e.l);return{t:\"Std\",h:a,v:n}}function Xf(){throw new Error(\"File is password-protected: ECMA-376 Extensible\")}function Gf(e){var r=[\"saltSize\",\"blockSize\",\"keyBits\",\"hashSize\",\"cipherAlgorithm\",\"cipherChaining\",\"hashAlgorithm\",\"saltValue\"];e.l+=4;var t=e._R(e.length-e.l,\"utf8\");var a={};t.replace(xe,function n(e){var t=Oe(e);switch(De(t[0])){case\"<?xml\":break;case\"<encryption\":;case\"</encryption>\":break;case\"<keyData\":r.forEach(function(e){a[e]=t[e]});break;case\"<dataIntegrity\":a.encryptedHmacKey=t.encryptedHmacKey;a.encryptedHmacValue=t.encryptedHmacValue;break;case\"<keyEncryptors>\":;case\"<keyEncryptors\":a.encs=[];break;case\"</keyEncryptors>\":break;case\"<keyEncryptor\":a.uri=t.uri;break;case\"</keyEncryptor>\":break;case\"<encryptedKey\":a.encs.push(t);break;default:throw t[0];}});return a}function jf(e,r){var t={};var a=t.EncryptionVersionInfo=Df(e,4);r-=4;if(a.Minor!=2)throw new Error(\"unrecognized minor version code: \"+a.Minor);if(a.Major>4||a.Major<2)throw new Error(\"unrecognized major version code: \"+a.Major);t.Flags=e._R(4);r-=4;var n=e._R(4);r-=4;t.EncryptionHeader=Hf(e,n);r-=n;t.EncryptionVerifier=Wf(e,r);return t}function Kf(e){var r={};var t=r.EncryptionVersionInfo=Df(e,4);if(t.Major!=1||t.Minor!=1)throw\"unrecognized version code \"+t.Major+\" : \"+t.Minor;r.Salt=e._R(16);r.EncryptedVerifier=e._R(16);r.EncryptedVerifierHash=e._R(16);return r}function Yf(e){var r=0,t;var a=Of(e);var n=a.length+1,i,s;var f,o,l;t=S(n);t[0]=a.length;for(i=1;i!=n;++i)t[i]=a[i-1];for(i=n-1;i>=0;--i){s=t[i];f=(r&16384)===0?0:1;o=r<<1&32767;l=f|o;r=l^s}return r^52811}var $f=function(){var e=[187,255,255,186,255,255,185,128,0,190,15,0,191,15,0];var r=[57840,7439,52380,33984,4364,3600,61902,12606,6258,57657,54287,34041,10252,43370,20163];var t=[44796,19929,39858,10053,20106,40212,10761,31585,63170,64933,60267,50935,40399,11199,17763,35526,1453,2906,5812,11624,23248,885,1770,3540,7080,14160,28320,56640,55369,41139,20807,41614,21821,43642,17621,28485,56970,44341,19019,38038,14605,29210,60195,50791,40175,10751,21502,43004,24537,18387,36774,3949,7898,15796,31592,63184,47201,24803,49606,37805,14203,28406,56812,17824,35648,1697,3394,6788,13576,27152,43601,17539,35078,557,1114,2228,4456,30388,60776,51953,34243,7079,14158,28316,14128,28256,56512,43425,17251,34502,7597,13105,26210,52420,35241,883,1766,3532,4129,8258,16516,33032,4657,9314,18628];\nvar a=function(e){return(e/2|e*128)&255};var n=function(e,r){return a(e^r)};var i=function(e){var a=r[e.length-1];var n=104;for(var i=e.length-1;i>=0;--i){var s=e[i];for(var f=0;f!=7;++f){if(s&64)a^=t[n];s*=2;--n}}return a};return function(r){var t=Of(r);var a=i(t);var s=t.length;var f=S(16);for(var o=0;o!=16;++o)f[o]=0;var l,c,h;if((s&1)===1){l=a>>8;f[s]=n(e[0],l);--s;l=a&255;c=t[t.length-1];f[s]=n(c,l)}while(s>0){--s;l=a>>8;f[s]=n(t[s],l);--s;l=a&255;f[s]=n(t[s],l)}s=15;h=15-t.length;while(h>0){l=a>>8;f[s]=n(e[h],l);--s;--h;l=a&255;f[s]=n(t[s],l);--s;--h}return f}}();var Zf=function(e,r,t,a,n){if(!n)n=r;if(!a)a=$f(e);var i,s;for(i=0;i!=r.length;++i){s=r[i];s^=a[t];s=(s>>5|s<<3)&255;n[i]=s;++t}return[n,t,a]};var Qf=function(e){var r=0,t=$f(e);return function(e){var a=Zf(\"\",e,r,t);r=a[1];return a[0]}};function Jf(e,r,t,a){var n={key:jn(e),verificationBytes:jn(e)};if(t.password)n.verifier=Yf(t.password);a.valid=n.verificationBytes===n.verifier;if(a.valid)a.insitu=Qf(t.password);return n}function qf(e,r,t){var a=t||{};a.Info=e._R(2);e.l-=2;if(a.Info===1)a.Data=Kf(e,r);else a.Data=jf(e,r);return a}function eo(e,r,t){var a={Type:t.biff>=8?e._R(2):0};if(a.Type)qf(e,r-2,a);else Jf(e,t.biff>=8?r:r-2,t,a);return a}var ro=function(){function e(e,t){switch(t.type){case\"base64\":return r(m.decode(e),t);case\"binary\":return r(e,t);case\"buffer\":return r(e.toString(\"binary\"),t);case\"array\":return r(fe(e),t);}throw new Error(\"Unrecognized type \"+t.type)}function r(e,r){var t=r||{};var a=t.dense?[]:{};var n={s:{c:0,r:0},e:{c:0,r:0}};if(!e.match(/\\\\trowd/))throw new Error(\"RTF missing table\");a[\"!ref\"]=bt(n);return a}function t(r,t){return kt(e(r,t),t)}function a(e){var r=[\"{\\\\rtf1\\\\ansi\"];var t=mt(e[\"!ref\"]),a;var n=Array.isArray(e);for(var i=t.s.r;i<=t.e.r;++i){r.push(\"\\\\trowd\\\\trautofit1\");for(var s=t.s.c;s<=t.e.c;++s)r.push(\"\\\\cellx\"+(s+1));r.push(\"\\\\pard\\\\intbl\");for(s=t.s.c;s<=t.e.c;++s){var f=vt({r:i,c:s});a=n?(e[i]||[])[s]:e[f];if(!a||a.v==null&&(!a.f||a.F))continue;r.push(\" \"+(a.w||(Ct(a),a.w)));r.push(\"\\\\cell\")}r.push(\"\\\\pard\\\\intbl\\\\row\")}return r.join(\"\")+\"}\"}return{to_workbook:t,to_sheet:e,from_sheet:a}}();function to(e){var r=e.slice(e[0]===\"#\"?1:0).slice(0,6);return[parseInt(r.slice(0,2),16),parseInt(r.slice(2,4),16),parseInt(r.slice(4,6),16)]}function ao(e){for(var r=0,t=1;r!=3;++r)t=t*256+(e[r]>255?255:e[r]<0?0:e[r]);return t.toString(16).toUpperCase().slice(1)}function no(e){var r=e[0]/255,t=e[1]/255,a=e[2]/255;var n=Math.max(r,t,a),i=Math.min(r,t,a),s=n-i;if(s===0)return[0,0,r];var f=0,o=0,l=n+i;o=s/(l>1?2-l:l);switch(n){case r:f=((t-a)/s+6)%6;break;case t:f=(a-r)/s+2;break;case a:f=(r-t)/s+4;break;}return[f/6,o,l/2]}function io(e){var r=e[0],t=e[1],a=e[2];var n=t*2*(a<.5?a:1-a),i=a-n/2;var s=[i,i,i],f=6*r;var o;if(t!==0)switch(f|0){case 0:;case 6:o=n*f;s[0]+=n;s[1]+=o;break;case 1:o=n*(2-f);s[0]+=o;s[1]+=n;break;case 2:o=n*(f-2);s[1]+=n;s[2]+=o;break;case 3:o=n*(4-f);s[1]+=o;s[2]+=n;break;case 4:o=n*(f-4);s[2]+=n;s[0]+=o;break;case 5:o=n*(6-f);s[2]+=o;s[0]+=n;break;}for(var l=0;l!=3;++l)s[l]=Math.round(s[l]*255);return s}function so(e,r){if(r===0)return e;var t=no(to(e));if(r<0)t[2]=t[2]*(1+r);else t[2]=1-(1-t[2])*(1-r);return ao(io(t))}var fo=6,oo=15,lo=1,co=fo;function ho(e){return Math.floor((e+Math.round(128/co)/256)*co)}function uo(e){return Math.floor((e-5)/co*100+.5)/100}function po(e){return Math.round((e*co+5)/co*256)/256}function vo(e){return po(uo(ho(e)))}function go(e){var r=Math.abs(e-vo(e)),t=co;if(r>.005)for(co=lo;co<oo;++co)if(Math.abs(e-vo(e))<=r){r=Math.abs(e-vo(e));t=co}co=t}function bo(e){if(e.width){e.wpx=ho(e.width);e.wch=uo(e.wpx);e.MDW=co}else if(e.wpx){e.wch=uo(e.wpx);e.width=po(e.wch);e.MDW=co}else if(typeof e.wch==\"number\"){e.width=po(e.wch);e.wpx=ho(e.width);e.MDW=co}if(e.customWidth)delete e.customWidth}var mo=96,wo=mo;function Co(e){return e*96/wo}function ko(e){return e*wo/96}var Eo={None:\"none\",Solid:\"solid\",Gray50:\"mediumGray\",Gray75:\"darkGray\",Gray25:\"lightGray\",HorzStripe:\"darkHorizontal\",VertStripe:\"darkVertical\",ReverseDiagStripe:\"darkDown\",DiagStripe:\"darkUp\",DiagCross:\"darkGrid\",ThickDiagCross:\"darkTrellis\",ThinHorzStripe:\"lightHorizontal\",ThinVertStripe:\"lightVertical\",ThinReverseDiagStripe:\"lightDown\",ThinHorzCross:\"lightGrid\"};function So(e,r,t,a){r.Borders=[];var n={};var i=false;(e[0].match(xe)||[]).forEach(function(e){var t=Oe(e);switch(De(t[0])){case\"<borders\":;case\"<borders>\":;case\"</borders>\":break;case\"<border\":;case\"<border>\":;case\"<border/>\":n={};if(t.diagonalUp)n.diagonalUp=je(t.diagonalUp);if(t.diagonalDown)n.diagonalDown=je(t.diagonalDown);r.Borders.push(n);break;case\"</border>\":break;case\"<left/>\":break;case\"<left\":;case\"<left>\":break;case\"</left>\":break;case\"<right/>\":break;case\"<right\":;case\"<right>\":break;case\"</right>\":break;case\"<top/>\":break;case\"<top\":;case\"<top>\":break;case\"</top>\":break;case\"<bottom/>\":break;case\"<bottom\":;case\"<bottom>\":break;case\"</bottom>\":break;case\"<diagonal\":;case\"<diagonal>\":;case\"<diagonal/>\":break;case\"</diagonal>\":break;case\"<horizontal\":;case\"<horizontal>\":;case\"<horizontal/>\":break;case\"</horizontal>\":break;case\"<vertical\":;case\"<vertical>\":;case\"<vertical/>\":break;case\"</vertical>\":break;case\"<start\":;case\"<start>\":;case\"<start/>\":break;case\"</start>\":break;case\"<end\":;case\"<end>\":;case\"<end/>\":break;case\"</end>\":break;case\"<color\":;case\"<color>\":break;case\"<color/>\":;case\"</color>\":break;case\"<extLst\":;case\"<extLst>\":;case\"</extLst>\":break;case\"<ext\":i=true;break;case\"</ext>\":i=false;break;default:if(a&&a.WTF){if(!i)throw new Error(\"unrecognized \"+t[0]+\" in borders\")};}})}function Ao(e,r,t,a){r.Fills=[];var n={};var i=false;(e[0].match(xe)||[]).forEach(function(e){var t=Oe(e);switch(De(t[0])){case\"<fills\":;case\"<fills>\":;case\"</fills>\":break;case\"<fill>\":;case\"<fill\":;case\"<fill/>\":n={};r.Fills.push(n);break;case\"</fill>\":break;case\"<gradientFill>\":break;case\"<gradientFill\":;case\"</gradientFill>\":r.Fills.push(n);n={};break;case\"<patternFill\":;case\"<patternFill>\":if(t.patternType)n.patternType=t.patternType;break;case\"<patternFill/>\":;case\"</patternFill>\":break;case\"<bgColor\":if(!n.bgColor)n.bgColor={};if(t.indexed)n.bgColor.indexed=parseInt(t.indexed,10);if(t.theme)n.bgColor.theme=parseInt(t.theme,10);if(t.tint)n.bgColor.tint=parseFloat(t.tint);if(t.rgb)n.bgColor.rgb=t.rgb.slice(-6);break;case\"<bgColor/>\":;case\"</bgColor>\":break;case\"<fgColor\":if(!n.fgColor)n.fgColor={};if(t.theme)n.fgColor.theme=parseInt(t.theme,10);if(t.tint)n.fgColor.tint=parseFloat(t.tint);if(t.rgb!=null)n.fgColor.rgb=t.rgb.slice(-6);break;case\"<fgColor/>\":;case\"</fgColor>\":break;case\"<stop\":;case\"<stop/>\":break;case\"</stop>\":break;case\"<color\":;case\"<color/>\":break;case\"</color>\":break;case\"<extLst\":;case\"<extLst>\":;case\"</extLst>\":break;case\"<ext\":i=true;break;case\"</ext>\":i=false;break;default:if(a&&a.WTF){if(!i)throw new Error(\"unrecognized \"+t[0]+\" in fills\")};}})}function _o(e,r,t,a){r.Fonts=[];var n={};var s=false;(e[0].match(xe)||[]).forEach(function(e){var f=Oe(e);switch(De(f[0])){case\"<fonts\":;case\"<fonts>\":;case\"</fonts>\":break;case\"<font\":;case\"<font>\":break;case\"</font>\":;case\"<font/>\":r.Fonts.push(n);n={};break;case\"<name\":if(f.val)n.name=Ke(f.val);break;case\"<name/>\":;case\"</name>\":break;case\"<b\":n.bold=f.val?je(f.val):1;break;case\"<b/>\":n.bold=1;break;case\"<i\":n.italic=f.val?je(f.val):1;break;case\"<i/>\":n.italic=1;break;case\"<u\":switch(f.val){case\"none\":n.underline=0;break;case\"single\":n.underline=1;break;case\"double\":n.underline=2;break;case\"singleAccounting\":n.underline=33;break;case\"doubleAccounting\":n.underline=34;break;}break;case\"<u/>\":n.underline=1;break;case\"<strike\":n.strike=f.val?je(f.val):1;break;case\"<strike/>\":n.strike=1;break;case\"<outline\":n.outline=f.val?je(f.val):1;break;case\"<outline/>\":n.outline=1;break;case\"<shadow\":n.shadow=f.val?je(f.val):1;break;case\"<shadow/>\":n.shadow=1;break;case\"<condense\":n.condense=f.val?je(f.val):1;break;case\"<condense/>\":n.condense=1;break;case\"<extend\":n.extend=f.val?je(f.val):1;break;case\"<extend/>\":n.extend=1;break;case\"<sz\":if(f.val)n.sz=+f.val;break;case\"<sz/>\":;case\"</sz>\":break;case\"<vertAlign\":if(f.val)n.vertAlign=f.val;break;case\"<vertAlign/>\":;case\"</vertAlign>\":break;case\"<family\":if(f.val)n.family=parseInt(f.val,10);break;case\"<family/>\":;case\"</family>\":break;case\"<scheme\":if(f.val)n.scheme=f.val;break;case\"<scheme/>\":;case\"</scheme>\":break;case\"<charset\":if(f.val==\"1\")break;f.codepage=i[parseInt(f.val,10)];break;case\"<color\":if(!n.color)n.color={};if(f.auto)n.color.auto=je(f.auto);if(f.rgb)n.color.rgb=f.rgb.slice(-6);else if(f.indexed){n.color.index=parseInt(f.indexed,10);var o=Ta[n.color.index];if(n.color.index==81)o=Ta[1];if(!o)throw new Error(e);n.color.rgb=o[0].toString(16)+o[1].toString(16)+o[2].toString(16)}else if(f.theme){n.color.theme=parseInt(f.theme,10);if(f.tint)n.color.tint=parseFloat(f.tint);if(f.theme&&t.themeElements&&t.themeElements.clrScheme){n.color.rgb=so(t.themeElements.clrScheme[n.color.theme].rgb,n.color.tint||0)}}break;case\"<color/>\":;case\"</color>\":break;case\"<AlternateContent\":s=true;break;case\"</AlternateContent>\":s=false;break;case\"<extLst\":;case\"<extLst>\":;case\"</extLst>\":break;case\"<ext\":s=true;break;case\"</ext>\":s=false;break;default:if(a&&a.WTF){if(!s)throw new Error(\"unrecognized \"+f[0]+\" in fonts\")};}})}function Bo(e,r,t){r.NumberFmt=[];var a=K(D._table);for(var n=0;n<a.length;++n)r.NumberFmt[a[n]]=D._table[a[n]];var i=e[0].match(xe);if(!i)return;for(n=0;n<i.length;++n){var s=Oe(i[n]);switch(De(s[0])){case\"<numFmts\":;case\"</numFmts>\":;case\"<numFmts/>\":;case\"<numFmts>\":break;case\"<numFmt\":{var f=Ne(Ke(s.formatCode)),o=parseInt(s.numFmtId,10);r.NumberFmt[o]=f;if(o>0){if(o>392){for(o=392;o>60;--o)if(r.NumberFmt[o]==null)break;r.NumberFmt[o]=f}D.load(f,o)}}break;case\"</numFmt>\":break;default:if(t.WTF)throw new Error(\"unrecognized \"+s[0]+\" in numFmts\");}}}function To(e){var r=[\"<numFmts>\"];[[5,8],[23,26],[41,44],[50,392]].forEach(function(t){for(var a=t[0];a<=t[1];++a)if(e[a]!=null)r[r.length]=fr(\"numFmt\",null,{numFmtId:a,formatCode:Ue(e[a])})});if(r.length===1)return\"\";r[r.length]=\"</numFmts>\";r[0]=fr(\"numFmts\",null,{count:r.length-2}).replace(\"/>\",\">\");return r.join(\"\")}var yo=[\"numFmtId\",\"fillId\",\"fontId\",\"borderId\",\"xfId\"];var xo=[\"applyAlignment\",\"applyBorder\",\"applyFill\",\"applyFont\",\"applyNumberFormat\",\"applyProtection\",\"pivotButton\",\"quotePrefix\"];function Io(e,r,t){r.CellXf=[];var a;var n=false;(e[0].match(xe)||[]).forEach(function(e){var i=Oe(e),s=0;switch(De(i[0])){case\"<cellXfs\":;case\"<cellXfs>\":;case\"<cellXfs/>\":;case\"</cellXfs>\":break;case\"<xf\":;case\"<xf/>\":a=i;delete a[0];for(s=0;s<yo.length;++s)if(a[yo[s]])a[yo[s]]=parseInt(a[yo[s]],10);for(s=0;s<xo.length;++s)if(a[xo[s]])a[xo[s]]=je(a[xo[s]]);if(a.numFmtId>392){for(s=392;s>60;--s)if(r.NumberFmt[a.numFmtId]==r.NumberFmt[s]){a.numFmtId=s;break}}r.CellXf.push(a);break;case\"</xf>\":break;case\"<alignment\":;case\"<alignment/>\":var f={};if(i.vertical)f.vertical=i.vertical;if(i.horizontal)f.horizontal=i.horizontal;if(i.textRotation!=null)f.textRotation=i.textRotation;if(i.indent)f.indent=i.indent;if(i.wrapText)f.wrapText=je(i.wrapText);a.alignment=f;break;case\"</alignment>\":break;case\"<protection\":break;case\"</protection>\":;case\"<protection/>\":break;case\"<AlternateContent\":n=true;break;case\"</AlternateContent>\":n=false;break;case\"<extLst\":;case\"<extLst>\":;case\"</extLst>\":break;case\"<ext\":n=true;break;case\"</ext>\":n=false;break;default:if(t&&t.WTF){if(!n)throw new Error(\"unrecognized \"+i[0]+\" in cellXfs\")};}})}function Ro(e){var r=[];r[r.length]=fr(\"cellXfs\",null);e.forEach(function(e){r[r.length]=fr(\"xf\",null,e)});r[r.length]=\"</cellXfs>\";if(r.length===2)return\"\";r[0]=fr(\"cellXfs\",null,{count:r.length-2}).replace(\"/>\",\">\");return r.join(\"\")}var Oo=function Ab(){var e=/<(?:\\w+:)?numFmts([^>]*)>[\\S\\s]*?<\\/(?:\\w+:)?numFmts>/;var r=/<(?:\\w+:)?cellXfs([^>]*)>[\\S\\s]*?<\\/(?:\\w+:)?cellXfs>/;var t=/<(?:\\w+:)?fills([^>]*)>[\\S\\s]*?<\\/(?:\\w+:)?fills>/;var a=/<(?:\\w+:)?fonts([^>]*)>[\\S\\s]*?<\\/(?:\\w+:)?fonts>/;var n=/<(?:\\w+:)?borders([^>]*)>[\\S\\s]*?<\\/(?:\\w+:)?borders>/;return function i(s,f,o){var l={};if(!s)return l;s=s.replace(/<!--([\\s\\S]*?)-->/gm,\"\").replace(/<!DOCTYPE[^\\[]*\\[[^\\]]*\\]>/gm,\"\");var c;if(c=s.match(e))Bo(c,l,o);if(c=s.match(a))_o(c,l,f,o);if(c=s.match(t))Ao(c,l,f,o);if(c=s.match(n))So(c,l,f,o);if(c=s.match(r))Io(c,l,o);return l}}();var Do=fr(\"styleSheet\",null,{xmlns:cr.main[0],\"xmlns:vt\":cr.vt});Na.STY=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/styles\";function Fo(e,r){var t=[Te,Do],a;if(e.SSF&&(a=To(e.SSF))!=null)t[t.length]=a;t[t.length]='<fonts count=\"1\"><font><sz val=\"12\"/><color theme=\"1\"/><name val=\"Calibri\"/><family val=\"2\"/><scheme val=\"minor\"/></font></fonts>';t[t.length]='<fills count=\"2\"><fill><patternFill patternType=\"none\"/></fill><fill><patternFill patternType=\"gray125\"/></fill></fills>';t[t.length]='<borders count=\"1\"><border><left/><right/><top/><bottom/><diagonal/></border></borders>';t[t.length]='<cellStyleXfs count=\"1\"><xf numFmtId=\"0\" fontId=\"0\" fillId=\"0\" borderId=\"0\"/></cellStyleXfs>';if(a=Ro(r.cellXfs))t[t.length]=a;t[t.length]='<cellStyles count=\"1\"><cellStyle name=\"Normal\" xfId=\"0\" builtinId=\"0\"/></cellStyles>';t[t.length]='<dxfs count=\"0\"/>';t[t.length]='<tableStyles count=\"0\" defaultTableStyle=\"TableStyleMedium9\" defaultPivotStyle=\"PivotStyleMedium4\"/>';if(t.length>2){t[t.length]=\"</styleSheet>\";t[1]=t[1].replace(\"/>\",\">\")}return t.join(\"\")}function Po(e,r){var t=e._R(2);var a=_t(e,r-2);return[t,a]}function No(e,r,t){if(!t)t=$r(6+4*r.length);t._W(2,e);Bt(r,t);var a=t.length>t.l?t.slice(0,t.l):t;if(t.l==null)t.l=t.length;return a}function Lo(e,r,t){var a={};a.sz=e._R(2)/20;var n=ea(e,2,t);if(n.fItalic)a.italic=1;if(n.fCondense)a.condense=1;if(n.fExtend)a.extend=1;if(n.fShadow)a.shadow=1;if(n.fOutline)a.outline=1;if(n.fStrikeout)a.strike=1;var i=e._R(2);if(i===700)a.bold=1;switch(e._R(2)){case 1:a.vertAlign=\"superscript\";break;case 2:a.vertAlign=\"subscript\";break;}var s=e._R(1);if(s!=0)a.underline=s;var f=e._R(1);if(f>0)a.family=f;var o=e._R(1);if(o>0)a.charset=o;e.l++;a.color=Jt(e,8);switch(e._R(1)){case 1:a.scheme=\"major\";break;case 2:a.scheme=\"minor\";break;}a.name=_t(e,r-21);return a}function Mo(e,r){if(!r)r=$r(25+4*32);r._W(2,e.sz*20);ra(e,r);r._W(2,e.bold?700:400);var t=0;if(e.vertAlign==\"superscript\")t=1;else if(e.vertAlign==\"subscript\")t=2;r._W(2,t);r._W(1,e.underline||0);r._W(1,e.family||0);r._W(1,e.charset||0);r._W(1,0);qt(e.color,r);var a=0;if(e.scheme==\"major\")a=1;if(e.scheme==\"minor\")a=2;r._W(1,a);Bt(e.name,r);return r.length>r.l?r.slice(0,r.l):r}var Uo=[\"none\",\"solid\",\"mediumGray\",\"darkGray\",\"lightGray\",\"darkHorizontal\",\"darkVertical\",\"darkDown\",\"darkUp\",\"darkGrid\",\"darkTrellis\",\"lightHorizontal\",\"lightVertical\",\"lightDown\",\"lightUp\",\"lightGrid\",\"lightTrellis\",\"gray125\",\"gray0625\"];var Ho=Z(Uo);var Wo=Yr;function zo(e,r){if(!r)r=$r(4*3+8*7+16*1);var t=Ho[e.patternType];if(t==null)t=40;r._W(4,t);var a=0;if(t!=40){qt({auto:1},r);qt({auto:1},r);for(;a<12;++a)r._W(4,0)}else{for(;a<4;++a)r._W(4,0);for(;a<12;++a)r._W(4,0)}return r.length>r.l?r.slice(0,r.l):r}function Vo(e,r){var t=e.l+r;var a=e._R(2);var n=e._R(2);e.l=t;return{ixfe:a,numFmtId:n}}function Xo(e,r,t){if(!t)t=$r(16);t._W(2,r||0);t._W(2,e.numFmtId||0);t._W(2,0);t._W(2,0);t._W(2,0);t._W(1,0);t._W(1,0);var a=0;t._W(1,a);t._W(1,0);t._W(1,0);t._W(1,0);return t}function Go(e,r){if(!r)r=$r(10);r._W(1,0);r._W(1,0);r._W(4,0);r._W(4,0);return r}var jo=Yr;function Ko(e,r){if(!r)r=$r(51);r._W(1,0);Go(null,r);Go(null,r);Go(null,r);Go(null,r);Go(null,r);return r.length>r.l?r.slice(0,r.l):r}function Yo(e,r){if(!r)r=$r(12+4*10);r._W(4,e.xfId);r._W(2,1);r._W(1,+e.builtinId);r._W(1,0);Mt(e.name||\"\",r);return r.length>r.l?r.slice(0,r.l):r}function $o(e,r,t){var a=$r(4+256*2*4);a._W(4,e);Mt(r,a);Mt(t,a);return a.length>a.l?a.slice(0,a.l):a}function Zo(e,r,t){var a={};a.NumberFmt=[];for(var n in D._table)a.NumberFmt[n]=D._table[n];a.CellXf=[];a.Fonts=[];var i=[];var s=false;Zr(e,function f(e,n,o){switch(o){case 44:a.NumberFmt[e[0]]=e[1];D.load(e[1],e[0]);break;case 43:a.Fonts.push(e);if(e.color.theme!=null&&r&&r.themeElements&&r.themeElements.clrScheme){e.color.rgb=so(r.themeElements.clrScheme[e.color.theme].rgb,e.color.tint||0)}break;case 1025:break;case 45:break;case 46:break;case 47:if(i[i.length-1]==\"BrtBeginCellXFs\"){a.CellXf.push(e)}break;case 48:;case 507:;case 572:;case 475:break;case 1171:;case 2102:;case 1130:;case 512:;case 2095:;case 3072:break;case 35:s=true;break;case 36:s=false;break;case 37:i.push(n);s=true;break;case 38:i.pop();s=false;break;default:if((n||\"\").indexOf(\"Begin\")>0)i.push(n);else if((n||\"\").indexOf(\"End\")>0)i.pop();else if(!s||t.WTF&&i[i.length-1]!=\"BrtACBegin\")throw new Error(\"Unexpected record \"+o+\" \"+n);}});return a}function Qo(e,r){if(!r)return;var t=0;[[5,8],[23,26],[41,44],[50,392]].forEach(function(e){for(var a=e[0];a<=e[1];++a)if(r[a]!=null)++t});if(t==0)return;Jr(e,\"BrtBeginFmts\",At(t));[[5,8],[23,26],[41,44],[50,392]].forEach(function(t){for(var a=t[0];a<=t[1];++a)if(r[a]!=null)Jr(e,\"BrtFmt\",No(a,r[a]))});Jr(e,\"BrtEndFmts\")}function Jo(e){var r=1;if(r==0)return;Jr(e,\"BrtBeginFonts\",At(r));Jr(e,\"BrtFont\",Mo({sz:12,color:{theme:1},name:\"Calibri\",family:2,scheme:\"minor\"}));Jr(e,\"BrtEndFonts\")}function qo(e){var r=2;if(r==0)return;Jr(e,\"BrtBeginFills\",At(r));Jr(e,\"BrtFill\",zo({patternType:\"none\"}));Jr(e,\"BrtFill\",zo({patternType:\"gray125\"}));Jr(e,\"BrtEndFills\")}function el(e){var r=1;if(r==0)return;Jr(e,\"BrtBeginBorders\",At(r));Jr(e,\"BrtBorder\",Ko({}));Jr(e,\"BrtEndBorders\")}function rl(e){var r=1;Jr(e,\"BrtBeginCellStyleXFs\",At(r));Jr(e,\"BrtXF\",Xo({numFmtId:0,fontId:0,fillId:0,borderId:0},65535));Jr(e,\"BrtEndCellStyleXFs\")}function tl(e,r){Jr(e,\"BrtBeginCellXFs\",At(r.length));r.forEach(function(r){Jr(e,\"BrtXF\",Xo(r,0))});Jr(e,\"BrtEndCellXFs\")}function al(e){var r=1;Jr(e,\"BrtBeginStyles\",At(r));Jr(e,\"BrtStyle\",Yo({xfId:0,builtinId:0,name:\"Normal\"}));Jr(e,\"BrtEndStyles\")}function nl(e){var r=0;Jr(e,\"BrtBeginDXFs\",At(r));Jr(e,\"BrtEndDXFs\")}function il(e){var r=0;Jr(e,\"BrtBeginTableStyles\",$o(r,\"TableStyleMedium9\",\"PivotStyleMedium4\"));Jr(e,\"BrtEndTableStyles\")}function sl(){return}function fl(e,r){var t=Qr();Jr(t,\"BrtBeginStyleSheet\");Qo(t,e.SSF);Jo(t,e);qo(t,e);el(t,e);rl(t,e);tl(t,r.cellXfs);al(t,e);nl(t,e);il(t,e);sl(t,e);Jr(t,\"BrtEndStyleSheet\");return t.end()}Na.THEME=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/theme\";var ol=[\"</a:lt1>\",\"</a:dk1>\",\"</a:lt2>\",\"</a:dk2>\",\"</a:accent1>\",\"</a:accent2>\",\"</a:accent3>\",\"</a:accent4>\",\"</a:accent5>\",\"</a:accent6>\",\"</a:hlink>\",\"</a:folHlink>\"];function ll(e,r,t){r.themeElements.clrScheme=[];var a={};(e[0].match(xe)||[]).forEach(function(e){var n=Oe(e);switch(n[0]){case\"<a:clrScheme\":;case\"</a:clrScheme>\":break;case\"<a:srgbClr\":a.rgb=n.val;break;case\"<a:sysClr\":a.rgb=n.lastClr;break;case\"<a:dk1>\":;case\"</a:dk1>\":;case\"<a:lt1>\":;case\"</a:lt1>\":;case\"<a:dk2>\":;case\"</a:dk2>\":;case\"<a:lt2>\":;case\"</a:lt2>\":;case\"<a:accent1>\":;case\"</a:accent1>\":;case\"<a:accent2>\":;case\"</a:accent2>\":;case\"<a:accent3>\":;case\"</a:accent3>\":;case\"<a:accent4>\":;case\"</a:accent4>\":;case\"<a:accent5>\":;case\"</a:accent5>\":;case\"<a:accent6>\":;case\"</a:accent6>\":;case\"<a:hlink>\":;case\"</a:hlink>\":;case\"<a:folHlink>\":;case\"</a:folHlink>\":if(n[0].charAt(1)===\"/\"){r.themeElements.clrScheme[ol.indexOf(n[0])]=a;a={}}else{a.name=n[0].slice(3,n[0].length-1)}break;default:if(t&&t.WTF)throw new Error(\"Unrecognized \"+n[0]+\" in clrScheme\");}})}function cl(){}function hl(){}var ul=/<a:clrScheme([^>]*)>[\\s\\S]*<\\/a:clrScheme>/;var dl=/<a:fontScheme([^>]*)>[\\s\\S]*<\\/a:fontScheme>/;var pl=/<a:fmtScheme([^>]*)>[\\s\\S]*<\\/a:fmtScheme>/;function vl(e,r,t){r.themeElements={};var a;[[\"clrScheme\",ul,ll],[\"fontScheme\",dl,cl],[\"fmtScheme\",pl,hl]].forEach(function(n){if(!(a=e.match(n[1])))throw new Error(n[0]+\" not found in themeElements\");n[2](a,r,t)})}var gl=/<a:themeElements([^>]*)>[\\s\\S]*<\\/a:themeElements>/;function bl(e,r){if(!e||e.length===0)return bl(ml());var t;var a={};if(!(t=e.match(gl)))throw new Error(\"themeElements not found in theme\");vl(t[0],a,r);a.raw=e;return a}function ml(e,r){if(r&&r.themeXLSX)return r.themeXLSX;if(e&&typeof e.raw==\"string\")return e.raw;var t=[Te];t[t.length]='<a:theme xmlns:a=\"http://schemas.openxmlformats.org/drawingml/2006/main\" name=\"Office Theme\">';t[t.length]=\"<a:themeElements>\";t[t.length]='<a:clrScheme name=\"Office\">';t[t.length]='<a:dk1><a:sysClr val=\"windowText\" lastClr=\"000000\"/></a:dk1>';t[t.length]='<a:lt1><a:sysClr val=\"window\" lastClr=\"FFFFFF\"/></a:lt1>';t[t.length]='<a:dk2><a:srgbClr val=\"1F497D\"/></a:dk2>';t[t.length]='<a:lt2><a:srgbClr val=\"EEECE1\"/></a:lt2>';t[t.length]='<a:accent1><a:srgbClr val=\"4F81BD\"/></a:accent1>';t[t.length]='<a:accent2><a:srgbClr val=\"C0504D\"/></a:accent2>';t[t.length]='<a:accent3><a:srgbClr val=\"9BBB59\"/></a:accent3>';t[t.length]='<a:accent4><a:srgbClr val=\"8064A2\"/></a:accent4>';t[t.length]='<a:accent5><a:srgbClr val=\"4BACC6\"/></a:accent5>';t[t.length]='<a:accent6><a:srgbClr val=\"F79646\"/></a:accent6>';t[t.length]='<a:hlink><a:srgbClr val=\"0000FF\"/></a:hlink>';t[t.length]='<a:folHlink><a:srgbClr val=\"800080\"/></a:folHlink>';t[t.length]=\"</a:clrScheme>\";t[t.length]='<a:fontScheme name=\"Office\">';t[t.length]=\"<a:majorFont>\";t[t.length]='<a:latin typeface=\"Cambria\"/>';t[t.length]='<a:ea typeface=\"\"/>';t[t.length]='<a:cs typeface=\"\"/>';t[t.length]='<a:font script=\"Jpan\" typeface=\"ＭＳ Ｐゴシック\"/>';t[t.length]='<a:font script=\"Hang\" typeface=\"맑은 고딕\"/>';t[t.length]='<a:font script=\"Hans\" typeface=\"宋体\"/>';t[t.length]='<a:font script=\"Hant\" typeface=\"新細明體\"/>';t[t.length]='<a:font script=\"Arab\" typeface=\"Times New Roman\"/>';t[t.length]='<a:font script=\"Hebr\" typeface=\"Times New Roman\"/>';t[t.length]='<a:font script=\"Thai\" typeface=\"Tahoma\"/>';t[t.length]='<a:font script=\"Ethi\" typeface=\"Nyala\"/>';t[t.length]='<a:font script=\"Beng\" typeface=\"Vrinda\"/>';t[t.length]='<a:font script=\"Gujr\" typeface=\"Shruti\"/>';t[t.length]='<a:font script=\"Khmr\" typeface=\"MoolBoran\"/>';t[t.length]='<a:font script=\"Knda\" typeface=\"Tunga\"/>';t[t.length]='<a:font script=\"Guru\" typeface=\"Raavi\"/>';t[t.length]='<a:font script=\"Cans\" typeface=\"Euphemia\"/>';t[t.length]='<a:font script=\"Cher\" typeface=\"Plantagenet Cherokee\"/>';t[t.length]='<a:font script=\"Yiii\" typeface=\"Microsoft Yi Baiti\"/>';t[t.length]='<a:font script=\"Tibt\" typeface=\"Microsoft Himalaya\"/>';t[t.length]='<a:font script=\"Thaa\" typeface=\"MV Boli\"/>';t[t.length]='<a:font script=\"Deva\" typeface=\"Mangal\"/>';t[t.length]='<a:font script=\"Telu\" typeface=\"Gautami\"/>';t[t.length]='<a:font script=\"Taml\" typeface=\"Latha\"/>';t[t.length]='<a:font script=\"Syrc\" typeface=\"Estrangelo Edessa\"/>';t[t.length]='<a:font script=\"Orya\" typeface=\"Kalinga\"/>';t[t.length]='<a:font script=\"Mlym\" typeface=\"Kartika\"/>';t[t.length]='<a:font script=\"Laoo\" typeface=\"DokChampa\"/>';t[t.length]='<a:font script=\"Sinh\" typeface=\"Iskoola Pota\"/>';t[t.length]='<a:font script=\"Mong\" typeface=\"Mongolian Baiti\"/>';t[t.length]='<a:font script=\"Viet\" typeface=\"Times New Roman\"/>';t[t.length]='<a:font script=\"Uigh\" typeface=\"Microsoft Uighur\"/>';t[t.length]='<a:font script=\"Geor\" typeface=\"Sylfaen\"/>';t[t.length]=\"</a:majorFont>\";t[t.length]=\"<a:minorFont>\";t[t.length]='<a:latin typeface=\"Calibri\"/>';t[t.length]='<a:ea typeface=\"\"/>';t[t.length]='<a:cs typeface=\"\"/>';t[t.length]='<a:font script=\"Jpan\" typeface=\"ＭＳ Ｐゴシック\"/>';t[t.length]='<a:font script=\"Hang\" typeface=\"맑은 고딕\"/>';t[t.length]='<a:font script=\"Hans\" typeface=\"宋体\"/>';t[t.length]='<a:font script=\"Hant\" typeface=\"新細明體\"/>';t[t.length]='<a:font script=\"Arab\" typeface=\"Arial\"/>';t[t.length]='<a:font script=\"Hebr\" typeface=\"Arial\"/>';t[t.length]='<a:font script=\"Thai\" typeface=\"Tahoma\"/>';t[t.length]='<a:font script=\"Ethi\" typeface=\"Nyala\"/>';t[t.length]='<a:font script=\"Beng\" typeface=\"Vrinda\"/>';t[t.length]='<a:font script=\"Gujr\" typeface=\"Shruti\"/>';t[t.length]='<a:font script=\"Khmr\" typeface=\"DaunPenh\"/>';t[t.length]='<a:font script=\"Knda\" typeface=\"Tunga\"/>';t[t.length]='<a:font script=\"Guru\" typeface=\"Raavi\"/>';t[t.length]='<a:font script=\"Cans\" typeface=\"Euphemia\"/>';t[t.length]='<a:font script=\"Cher\" typeface=\"Plantagenet Cherokee\"/>';t[t.length]='<a:font script=\"Yiii\" typeface=\"Microsoft Yi Baiti\"/>';t[t.length]='<a:font script=\"Tibt\" typeface=\"Microsoft Himalaya\"/>';t[t.length]='<a:font script=\"Thaa\" typeface=\"MV Boli\"/>';t[t.length]='<a:font script=\"Deva\" typeface=\"Mangal\"/>';t[t.length]='<a:font script=\"Telu\" typeface=\"Gautami\"/>';t[t.length]='<a:font script=\"Taml\" typeface=\"Latha\"/>';t[t.length]='<a:font script=\"Syrc\" typeface=\"Estrangelo Edessa\"/>';t[t.length]='<a:font script=\"Orya\" typeface=\"Kalinga\"/>';t[t.length]='<a:font script=\"Mlym\" typeface=\"Kartika\"/>';t[t.length]='<a:font script=\"Laoo\" typeface=\"DokChampa\"/>';t[t.length]='<a:font script=\"Sinh\" typeface=\"Iskoola Pota\"/>';t[t.length]='<a:font script=\"Mong\" typeface=\"Mongolian Baiti\"/>';t[t.length]='<a:font script=\"Viet\" typeface=\"Arial\"/>';t[t.length]='<a:font script=\"Uigh\" typeface=\"Microsoft Uighur\"/>';t[t.length]='<a:font script=\"Geor\" typeface=\"Sylfaen\"/>';t[t.length]=\"</a:minorFont>\";t[t.length]=\"</a:fontScheme>\";t[t.length]='<a:fmtScheme name=\"Office\">';t[t.length]=\"<a:fillStyleLst>\";t[t.length]='<a:solidFill><a:schemeClr val=\"phClr\"/></a:solidFill>';t[t.length]='<a:gradFill rotWithShape=\"1\">';t[t.length]=\"<a:gsLst>\";t[t.length]='<a:gs pos=\"0\"><a:schemeClr val=\"phClr\"><a:tint val=\"50000\"/><a:satMod val=\"300000\"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos=\"35000\"><a:schemeClr val=\"phClr\"><a:tint val=\"37000\"/><a:satMod val=\"300000\"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos=\"100000\"><a:schemeClr val=\"phClr\"><a:tint val=\"15000\"/><a:satMod val=\"350000\"/></a:schemeClr></a:gs>';t[t.length]=\"</a:gsLst>\";t[t.length]='<a:lin ang=\"16200000\" scaled=\"1\"/>';t[t.length]=\"</a:gradFill>\";t[t.length]='<a:gradFill rotWithShape=\"1\">';t[t.length]=\"<a:gsLst>\";t[t.length]='<a:gs pos=\"0\"><a:schemeClr val=\"phClr\"><a:tint val=\"100000\"/><a:shade val=\"100000\"/><a:satMod val=\"130000\"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos=\"100000\"><a:schemeClr val=\"phClr\"><a:tint val=\"50000\"/><a:shade val=\"100000\"/><a:satMod val=\"350000\"/></a:schemeClr></a:gs>';t[t.length]=\"</a:gsLst>\";t[t.length]='<a:lin ang=\"16200000\" scaled=\"0\"/>';t[t.length]=\"</a:gradFill>\";t[t.length]=\"</a:fillStyleLst>\";t[t.length]=\"<a:lnStyleLst>\";t[t.length]='<a:ln w=\"9525\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\"><a:solidFill><a:schemeClr val=\"phClr\"><a:shade val=\"95000\"/><a:satMod val=\"105000\"/></a:schemeClr></a:solidFill><a:prstDash val=\"solid\"/></a:ln>';t[t.length]='<a:ln w=\"25400\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\"><a:solidFill><a:schemeClr val=\"phClr\"/></a:solidFill><a:prstDash val=\"solid\"/></a:ln>';t[t.length]='<a:ln w=\"38100\" cap=\"flat\" cmpd=\"sng\" algn=\"ctr\"><a:solidFill><a:schemeClr val=\"phClr\"/></a:solidFill><a:prstDash val=\"solid\"/></a:ln>';t[t.length]=\"</a:lnStyleLst>\";t[t.length]=\"<a:effectStyleLst>\";t[t.length]=\"<a:effectStyle>\";t[t.length]=\"<a:effectLst>\";t[t.length]='<a:outerShdw blurRad=\"40000\" dist=\"20000\" dir=\"5400000\" rotWithShape=\"0\"><a:srgbClr val=\"000000\"><a:alpha val=\"38000\"/></a:srgbClr></a:outerShdw>';t[t.length]=\"</a:effectLst>\";t[t.length]=\"</a:effectStyle>\";t[t.length]=\"<a:effectStyle>\";t[t.length]=\"<a:effectLst>\";t[t.length]='<a:outerShdw blurRad=\"40000\" dist=\"23000\" dir=\"5400000\" rotWithShape=\"0\"><a:srgbClr val=\"000000\"><a:alpha val=\"35000\"/></a:srgbClr></a:outerShdw>';t[t.length]=\"</a:effectLst>\";t[t.length]=\"</a:effectStyle>\";t[t.length]=\"<a:effectStyle>\";t[t.length]=\"<a:effectLst>\";t[t.length]='<a:outerShdw blurRad=\"40000\" dist=\"23000\" dir=\"5400000\" rotWithShape=\"0\"><a:srgbClr val=\"000000\"><a:alpha val=\"35000\"/></a:srgbClr></a:outerShdw>';t[t.length]=\"</a:effectLst>\";t[t.length]='<a:scene3d><a:camera prst=\"orthographicFront\"><a:rot lat=\"0\" lon=\"0\" rev=\"0\"/></a:camera><a:lightRig rig=\"threePt\" dir=\"t\"><a:rot lat=\"0\" lon=\"0\" rev=\"1200000\"/></a:lightRig></a:scene3d>';t[t.length]='<a:sp3d><a:bevelT w=\"63500\" h=\"25400\"/></a:sp3d>';t[t.length]=\"</a:effectStyle>\";t[t.length]=\"</a:effectStyleLst>\";t[t.length]=\"<a:bgFillStyleLst>\";t[t.length]='<a:solidFill><a:schemeClr val=\"phClr\"/></a:solidFill>';t[t.length]='<a:gradFill rotWithShape=\"1\">';t[t.length]=\"<a:gsLst>\";t[t.length]='<a:gs pos=\"0\"><a:schemeClr val=\"phClr\"><a:tint val=\"40000\"/><a:satMod val=\"350000\"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos=\"40000\"><a:schemeClr val=\"phClr\"><a:tint val=\"45000\"/><a:shade val=\"99000\"/><a:satMod val=\"350000\"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos=\"100000\"><a:schemeClr val=\"phClr\"><a:shade val=\"20000\"/><a:satMod val=\"255000\"/></a:schemeClr></a:gs>';t[t.length]=\"</a:gsLst>\";t[t.length]='<a:path path=\"circle\"><a:fillToRect l=\"50000\" t=\"-80000\" r=\"50000\" b=\"180000\"/></a:path>';t[t.length]=\"</a:gradFill>\";t[t.length]='<a:gradFill rotWithShape=\"1\">';t[t.length]=\"<a:gsLst>\";t[t.length]='<a:gs pos=\"0\"><a:schemeClr val=\"phClr\"><a:tint val=\"80000\"/><a:satMod val=\"300000\"/></a:schemeClr></a:gs>';t[t.length]='<a:gs pos=\"100000\"><a:schemeClr val=\"phClr\"><a:shade val=\"30000\"/><a:satMod val=\"200000\"/></a:schemeClr></a:gs>';t[t.length]=\"</a:gsLst>\";t[t.length]='<a:path path=\"circle\"><a:fillToRect l=\"50000\" t=\"50000\" r=\"50000\" b=\"50000\"/></a:path>';t[t.length]=\"</a:gradFill>\";t[t.length]=\"</a:bgFillStyleLst>\";t[t.length]=\"</a:fmtScheme>\";t[t.length]=\"</a:themeElements>\";t[t.length]=\"<a:objectDefaults>\";t[t.length]=\"<a:spDef>\";t[t.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx=\"1\"><a:schemeClr val=\"accent1\"/></a:lnRef><a:fillRef idx=\"3\"><a:schemeClr val=\"accent1\"/></a:fillRef><a:effectRef idx=\"2\"><a:schemeClr val=\"accent1\"/></a:effectRef><a:fontRef idx=\"minor\"><a:schemeClr val=\"lt1\"/></a:fontRef></a:style>';t[t.length]=\"</a:spDef>\";t[t.length]=\"<a:lnDef>\";t[t.length]='<a:spPr/><a:bodyPr/><a:lstStyle/><a:style><a:lnRef idx=\"2\"><a:schemeClr val=\"accent1\"/></a:lnRef><a:fillRef idx=\"0\"><a:schemeClr val=\"accent1\"/></a:fillRef><a:effectRef idx=\"1\"><a:schemeClr val=\"accent1\"/></a:effectRef><a:fontRef idx=\"minor\"><a:schemeClr val=\"tx1\"/></a:fontRef></a:style>';t[t.length]=\"</a:lnDef>\";t[t.length]=\"</a:objectDefaults>\";t[t.length]=\"<a:extraClrSchemeLst/>\";t[t.length]=\"</a:theme>\";return t.join(\"\")}function wl(e,r,t){var a=e.l+r;var n=e._R(4);if(n===124226)return;if(!t.cellStyles||!Se){e.l=a;return}var i=e.slice(e.l);e.l=a;var s;try{s=new Se(i)}catch(f){return}var o=Ce(s,\"theme/theme/theme1.xml\",true);if(!o)return;return bl(o,t)}function Cl(e){return e._R(4)}function kl(e){var r={};r.xclrType=e._R(2);r.nTintShade=e._R(2);switch(r.xclrType){case 0:e.l+=4;break;case 1:r.xclrValue=El(e,4);break;case 2:r.xclrValue=ci(e,4);break;case 3:r.xclrValue=Cl(e,4);break;case 4:e.l+=4;break;}e.l+=8;return r}function El(e,r){return Yr(e,r)}function Sl(e,r){return Yr(e,r)}function Al(e){var r=e._R(2);var t=e._R(2)-4;var a=[r];switch(r){case 4:;case 5:;case 7:;case 8:;case 9:;case 10:;case 11:;case 13:a[1]=kl(e,t);break;case 6:a[1]=Sl(e,t);break;case 14:;case 15:a[1]=e._R(t===1?1:2);break;default:throw new Error(\"Unrecognized ExtProp type: \"+r+\" \"+t);}return a}function _l(e,r){var t=e.l+r;e.l+=2;var a=e._R(2);e.l+=2;var n=e._R(2);var i=[];while(n-- >0)i.push(Al(e,t-e.l));return{ixfe:a,ext:i}}function Bl(e,r){r.forEach(function(e){switch(e[0]){case 4:break;case 5:break;case 6:break;case 7:break;case 8:break;case 9:break;case 10:break;case 11:break;case 13:break;case 14:break;case 15:break;}})}function Tl(e){var r=[];if(!e)return r;var t=1;(e.match(xe)||[]).forEach(function(e){var a=Oe(e);switch(a[0]){case\"<?xml\":break;case\"<calcChain\":;case\"<calcChain>\":;case\"</calcChain>\":break;case\"<c\":delete a[0];if(a.i)t=a.i;else a.i=t;\nr.push(a);break;}});return r}function yl(e){var r={};r.i=e._R(4);var t={};t.r=e._R(4);t.c=e._R(4);r.r=vt(t);var a=e._R(1);if(a&2)r.l=\"1\";if(a&8)r.a=\"1\";return r}function xl(e,r,t){var a=[];var n=false;Zr(e,function i(e,r,s){switch(s){case 63:a.push(e);break;default:if((r||\"\").indexOf(\"Begin\")>0){}else if((r||\"\").indexOf(\"End\")>0){}else if(!n||t.WTF)throw new Error(\"Unexpected record \"+s+\" \"+r);}});return a}function Il(){}function Rl(e,r,t,a){if(!e)return e;var n=a||{};var i=false,s=false;Zr(e,function f(e,r,t){if(s)return;switch(t){case 359:;case 363:;case 364:;case 366:;case 367:;case 368:;case 369:;case 370:;case 371:;case 472:;case 577:;case 578:;case 579:;case 580:;case 581:;case 582:;case 583:;case 584:;case 585:;case 586:;case 587:break;case 35:i=true;break;case 36:i=false;break;default:if((r||\"\").indexOf(\"Begin\")>0){}else if((r||\"\").indexOf(\"End\")>0){}else if(!i||n.WTF)throw new Error(\"Unexpected record \"+t.toString(16)+\" \"+r);}},n)}Na.IMG=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/image\";Na.DRAW=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/drawing\";function Ol(e,r){if(!e)return\"??\";var t=(e.match(/<c:chart [^>]*r:id=\"([^\"]*)\"/)||[\"\",\"\"])[1];return r[\"!id\"][t].Target}var Dl=1024;function Fl(e,r){var t=[21600,21600];var a=[\"m0,0l0\",t[1],t[0],t[1],t[0],\"0xe\"].join(\",\");var n=[fr(\"xml\",null,{\"xmlns:v\":hr.v,\"xmlns:o\":hr.o,\"xmlns:x\":hr.x,\"xmlns:mv\":hr.mv}).replace(/\\/>/,\">\"),fr(\"o:shapelayout\",fr(\"o:idmap\",null,{\"v:ext\":\"edit\",data:e}),{\"v:ext\":\"edit\"}),fr(\"v:shapetype\",[fr(\"v:stroke\",null,{joinstyle:\"miter\"}),fr(\"v:path\",null,{gradientshapeok:\"t\",\"o:connecttype\":\"rect\"})].join(\"\"),{id:\"_x0000_t202\",\"o:spt\":202,coordsize:t.join(\",\"),path:a})];while(Dl<e*1e3)Dl+=1e3;r.forEach(function(e){var r=pt(e[0]);var t={color2:\"#BEFF82\",type:\"gradient\"};if(t.type==\"gradient\")t.angle=\"-180\";var a=t.type==\"gradient\"?fr(\"o:fill\",null,{type:\"gradientUnscaled\",\"v:ext\":\"view\"}):null;var i=fr(\"v:fill\",a,t);var s={on:\"t\",obscured:\"t\"};++Dl;n=n.concat([\"<v:shape\"+sr({id:\"_x0000_s\"+Dl,type:\"#_x0000_t202\",style:\"position:absolute; margin-left:80pt;margin-top:5pt;width:104pt;height:64pt;z-index:10\"+(e[1].hidden?\";visibility:hidden\":\"\"),fillcolor:\"#ECFAD4\",strokecolor:\"#edeaa1\"})+\">\",i,fr(\"v:shadow\",null,s),fr(\"v:path\",null,{\"o:connecttype\":\"none\"}),'<v:textbox><div style=\"text-align:left\"></div></v:textbox>','<x:ClientData ObjectType=\"Note\">',\"<x:MoveWithCells/>\",\"<x:SizeWithCells/>\",ir(\"x:Anchor\",[r.c+1,0,r.r+1,0,r.c+3,20,r.r+5,20].join(\",\")),ir(\"x:AutoFill\",\"False\"),ir(\"x:Row\",String(r.r)),ir(\"x:Column\",String(r.c)),e[1].hidden?\"\":\"<x:Visible/>\",\"</x:ClientData>\",\"</v:shape>\"])});n.push(\"</xml>\");return n.join(\"\")}Na.CMNT=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/comments\";function Pl(e,r){var t=Array.isArray(e);var a;r.forEach(function(r){var n=pt(r.ref);if(t){if(!e[n.r])e[n.r]=[];a=e[n.r][n.c]}else a=e[r.ref];if(!a){a={t:\"z\"};if(t)e[n.r][n.c]=a;else e[r.ref]=a;var i=mt(e[\"!ref\"]||\"BDWGO1000001:A1\");if(i.s.r>n.r)i.s.r=n.r;if(i.e.r<n.r)i.e.r=n.r;if(i.s.c>n.c)i.s.c=n.c;if(i.e.c<n.c)i.e.c=n.c;var s=bt(i);if(s!==e[\"!ref\"])e[\"!ref\"]=s}if(!a.c)a.c=[];var f={a:r.author,t:r.t,r:r.r};if(r.h)f.h=r.h;a.c.push(f)})}function Nl(e,r){if(e.match(/<(?:\\w+:)?comments *\\/>/))return[];var t=[];var a=[];var n=e.match(/<(?:\\w+:)?authors>([\\s\\S]*)<\\/(?:\\w+:)?authors>/);if(n&&n[1])n[1].split(/<\\/\\w*:?author>/).forEach(function(e){if(e===\"\"||e.trim()===\"\")return;var r=e.match(/<(?:\\w+:)?author[^>]*>(.*)/);if(r)t.push(r[1])});var i=e.match(/<(?:\\w+:)?commentList>([\\s\\S]*)<\\/(?:\\w+:)?commentList>/);if(i&&i[1])i[1].split(/<\\/\\w*:?comment>/).forEach(function(e){if(e===\"\"||e.trim()===\"\")return;var n=e.match(/<(?:\\w+:)?comment[^>]*>/);if(!n)return;var i=Oe(n[0]);var s={author:i.authorId&&t[i.authorId]||\"sheetjsghost\",ref:i.ref,guid:i.guid};var f=pt(i.ref);if(r.sheetRows&&r.sheetRows<=f.r)return;var o=e.match(/<(?:\\w+:)?text>([\\s\\S]*)<\\/(?:\\w+:)?text>/);var l=!!o&&!!o[1]&&Cf(o[1])||{r:\"\",t:\"\",h:\"\"};s.r=l.r;if(l.r==\"<t></t>\")l.t=l.h=\"\";s.t=l.t.replace(/\\r\\n/g,\"\\n\").replace(/\\r/g,\"\\n\");if(r.cellHTML)s.h=l.h;a.push(s)});return a}var Ll=fr(\"comments\",null,{xmlns:cr.main[0]});function Ml(e){var r=[Te,Ll];var t=[];r.push(\"<authors>\");e.forEach(function(e){e[1].forEach(function(e){var a=Ue(e.a);if(t.indexOf(a)>-1)return;t.push(a);r.push(\"<author>\"+a+\"</author>\")})});r.push(\"</authors>\");r.push(\"<commentList>\");e.forEach(function(e){e[1].forEach(function(a){r.push('<comment ref=\"'+e[0]+'\" authorId=\"'+t.indexOf(Ue(a.a))+'\"><text>');r.push(ir(\"t\",a.t==null?\"\":Ue(a.t)));r.push(\"</text></comment>\")})});r.push(\"</commentList>\");if(r.length>2){r[r.length]=\"</comments>\";r[1]=r[1].replace(\"/>\",\">\")}return r.join(\"\")}function Ul(e){var r={};r.iauthor=e._R(4);var t=jt(e,16);r.rfx=t.s;r.ref=vt(t.s);e.l+=16;return r}function Hl(e,r){if(r==null)r=$r(36);r._W(4,e[1].iauthor);Kt(e[0],r);r._W(4,0);r._W(4,0);r._W(4,0);r._W(4,0);return r}var Wl=_t;function zl(e){return Bt(e.slice(0,54))}function Vl(e,r){var t=[];var a=[];var n={};var i=false;Zr(e,function s(e,f,o){switch(o){case 632:a.push(e);break;case 635:n=e;break;case 637:n.t=e.t;n.h=e.h;n.r=e.r;break;case 636:n.author=a[n.iauthor];delete n.iauthor;if(r.sheetRows&&n.rfx&&r.sheetRows<=n.rfx.r)break;if(!n.t)n.t=\"\";delete n.rfx;t.push(n);break;case 3072:break;case 35:i=true;break;case 36:i=false;break;case 37:break;case 38:break;default:if((f||\"\").indexOf(\"Begin\")>0){}else if((f||\"\").indexOf(\"End\")>0){}else if(!i||r.WTF)throw new Error(\"Unexpected record \"+o+\" \"+f);}});return t}function Xl(e){var r=Qr();var t=[];Jr(r,\"BrtBeginComments\");Jr(r,\"BrtBeginCommentAuthors\");e.forEach(function(e){e[1].forEach(function(e){if(t.indexOf(e.a)>-1)return;t.push(e.a.slice(0,54));Jr(r,\"BrtCommentAuthor\",zl(e.a))})});Jr(r,\"BrtEndCommentAuthors\");Jr(r,\"BrtBeginCommentList\");e.forEach(function(e){e[1].forEach(function(a){a.iauthor=t.indexOf(a.a);var n={s:pt(e[0]),e:pt(e[0])};Jr(r,\"BrtBeginComment\",Hl([n,a]));if(a.t&&a.t.length>0)Jr(r,\"BrtCommentText\",Ot(a));Jr(r,\"BrtEndComment\");delete a.iauthor})});Jr(r,\"BrtEndCommentList\");Jr(r,\"BrtEndComments\");return r.end()}var Gl=\"application/vnd.ms-office.vbaProject\";function jl(e){var r=z.utils.cfb_new({root:\"R\"});e.FullPaths.forEach(function(t,a){if(t.slice(-1)===\"/\"||!t.match(/_VBA_PROJECT_CUR/))return;var n=t.replace(/^[^\\/]*/,\"R\").replace(/\\/_VBA_PROJECT_CUR\\u0000*/,\"\");z.utils.cfb_add(r,n,e.FileIndex[a].content)});return z.write(r)}function Kl(e,r){r.FullPaths.forEach(function(t,a){if(a==0)return;var n=t.replace(/[^\\/]*[\\/]/,\"/_VBA_PROJECT_CUR/\");if(n.slice(-1)!==\"/\")z.utils.cfb_add(e,n,r.FileIndex[a].content)})}var Yl=[\"xlsb\",\"xlsm\",\"xlam\",\"biff8\",\"xla\"];Na.DS=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/dialogsheet\";Na.MS=\"http://schemas.microsoft.com/office/2006/relationships/xlMacrosheet\";function $l(){return{\"!type\":\"dialog\"}}function Zl(){return{\"!type\":\"dialog\"}}function Ql(){return{\"!type\":\"macro\"}}function Jl(){return{\"!type\":\"macro\"}}var ql=function(){var e=/(^|[^A-Za-z_])R(\\[?-?\\d+\\]|[1-9]\\d*|)C(\\[?-?\\d+\\]|[1-9]\\d*|)(?![A-Za-z0-9_])/g;var r={r:0,c:0};function t(e,t,a,n){var i=false,s=false;if(a.length==0)s=true;else if(a.charAt(0)==\"[\"){s=true;a=a.slice(1,-1)}if(n.length==0)i=true;else if(n.charAt(0)==\"[\"){i=true;n=n.slice(1,-1)}var f=a.length>0?parseInt(a,10)|0:0,o=n.length>0?parseInt(n,10)|0:0;if(i)o+=r.c;else--o;if(s)f+=r.r;else--f;return t+(i?\"\":\"$\")+ct(o)+(s?\"\":\"$\")+st(f)}return function a(n,i){r=i;return n.replace(e,t)}}();var ec=/(^|[^._A-Z0-9])([$]?)([A-Z]{1,2}|[A-W][A-Z]{2}|X[A-E][A-Z]|XF[A-D])([$]?)(10[0-3]\\d{4}|104[0-7]\\d{3}|1048[0-4]\\d{2}|10485[0-6]\\d|104857[0-6]|[1-9]\\d{0,5})(?![_.\\(A-Za-z0-9])/g;var rc=function(){return function e(r,t){return r.replace(ec,function(e,r,a,n,i,s){var f=lt(n)-(a?0:t.c);var o=it(s)-(i?0:t.r);var l=o==0?\"\":!i?\"[\"+o+\"]\":o+1;var c=f==0?\"\":!a?\"[\"+f+\"]\":f+1;return r+\"R\"+l+\"C\"+c})}}();function tc(e,r){return e.replace(ec,function(e,t,a,n,i,s){return t+(a==\"$\"?a+n:ct(lt(n)+r.c))+(i==\"$\"?i+s:st(it(s)+r.r))})}function ac(e,r,t){var a=gt(r),n=a.s,i=pt(t);var s={r:i.r-n.r,c:i.c-n.c};return tc(e,s)}function nc(e){if(e.length==1)return false;return true}function ic(e){return e.replace(/_xlfn\\./g,\"\")}function sc(e){e.l+=1;return}function fc(e,r){var t=e._R(r==1?1:2);return[t&16383,t>>14&1,t>>15&1]}function oc(e,r,t){var a=2;if(t){if(t.biff>=2&&t.biff<=5)return lc(e,r,t);else if(t.biff==12)a=4}var n=e._R(a),i=e._R(a);var s=fc(e,2);var f=fc(e,2);return{s:{r:n,c:s[0],cRel:s[1],rRel:s[2]},e:{r:i,c:f[0],cRel:f[1],rRel:f[2]}}}function lc(e){var r=fc(e,2),t=fc(e,2);var a=e._R(1);var n=e._R(1);return{s:{r:r[0],c:a,cRel:r[1],rRel:r[2]},e:{r:t[0],c:n,cRel:t[1],rRel:t[2]}}}function cc(e,r,t){if(t.biff<8)return lc(e,r,t);var a=e._R(t.biff==12?4:2),n=e._R(t.biff==12?4:2);var i=fc(e,2);var s=fc(e,2);return{s:{r:a,c:i[0],cRel:i[1],rRel:i[2]},e:{r:n,c:s[0],cRel:s[1],rRel:s[2]}}}function hc(e,r,t){if(t&&t.biff>=2&&t.biff<=5)return uc(e,r,t);var a=e._R(t&&t.biff==12?4:2);var n=fc(e,2);return{r:a,c:n[0],cRel:n[1],rRel:n[2]}}function uc(e){var r=fc(e,2);var t=e._R(1);return{r:r[0],c:t,cRel:r[1],rRel:r[2]}}function dc(e){var r=e._R(2);var t=e._R(2);return{r:r,c:t&255,fQuoted:!!(t&16384),cRel:t>>15,rRel:t>>15}}function pc(e,r,t){var a=t&&t.biff?t.biff:8;if(a>=2&&a<=5)return vc(e,r,t);var n=e._R(a>=12?4:2);var i=e._R(2);var s=(i&16384)>>14,f=(i&32768)>>15;i&=16383;if(f==1)while(n>524287)n-=1048576;if(s==1)while(i>8191)i=i-16384;return{r:n,c:i,cRel:s,rRel:f}}function vc(e){var r=e._R(2);var t=e._R(1);var a=(r&32768)>>15,n=(r&16384)>>14;r&=16383;if(a==1&&r>=8192)r=r-16384;if(n==1&&t>=128)t=t-256;return{r:r,c:t,cRel:n,rRel:a}}function gc(e,r,t){var a=(e[e.l++]&96)>>5;var n=oc(e,t.biff>=2&&t.biff<=5?6:8,t);return[a,n]}function bc(e,r,t){var a=(e[e.l++]&96)>>5;var n=e._R(2,\"i\");var i=8;if(t)switch(t.biff){case 5:e.l+=12;i=6;break;case 12:i=12;break;}var s=oc(e,i,t);return[a,n,s]}function mc(e,r,t){var a=(e[e.l++]&96)>>5;e.l+=t&&t.biff>8?12:t.biff<8?6:8;return[a]}function wc(e,r,t){var a=(e[e.l++]&96)>>5;var n=e._R(2);var i=8;if(t)switch(t.biff){case 5:e.l+=12;i=6;break;case 12:i=12;break;}e.l+=i;return[a,n]}function Cc(e,r,t){var a=(e[e.l++]&96)>>5;var n=cc(e,r-1,t);return[a,n]}function kc(e,r,t){var a=(e[e.l++]&96)>>5;e.l+=t.biff==2?6:t.biff==12?14:7;return[a]}function Ec(e){var r=e[e.l+1]&1;var t=1;e.l+=4;return[r,t]}function Sc(e,r,t){e.l+=2;var a=e._R(t&&t.biff==2?1:2);var n=[];for(var i=0;i<=a;++i)n.push(e._R(t&&t.biff==2?1:2));return n}function Ac(e,r,t){var a=e[e.l+1]&255?1:0;e.l+=2;return[a,e._R(t&&t.biff==2?1:2)]}function _c(e,r,t){var a=e[e.l+1]&255?1:0;e.l+=2;return[a,e._R(t&&t.biff==2?1:2)]}function Bc(e){var r=e[e.l+1]&255?1:0;e.l+=2;return[r,e._R(2)]}function Tc(e,r,t){var a=e[e.l+1]&255?1:0;e.l+=t&&t.biff==2?3:4;return[a]}function yc(e){var r=e._R(1),t=e._R(1);return[r,t]}function xc(e){e._R(2);return yc(e,2)}function Ic(e){e._R(2);return yc(e,2)}function Rc(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=hc(e,0,t);return[a,n]}function Oc(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=pc(e,0,t);return[a,n]}function Dc(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=e._R(2);if(t&&t.biff==5)e.l+=12;var i=hc(e,0,t);return[a,n,i]}function Fc(e,r,t){var a=(e[e.l]&96)>>5;e.l+=1;var n=e._R(t&&t.biff<=3?1:2);return[Zh[n],$h[n],a]}function Pc(e,r,t){var a=e[e.l++];var n=e._R(1),i=t&&t.biff<=3?[a==88?-1:0,e._R(1)]:Nc(e);return[n,(i[0]===0?$h:Yh)[i[1]]]}function Nc(e){return[e[e.l+1]>>7,e._R(2)&32767]}function Lc(e,r,t){e.l+=t&&t.biff==2?3:4;return}function Mc(e,r,t){e.l++;if(t&&t.biff==12)return[e._R(4,\"i\"),0];var a=e._R(2);var n=e._R(t&&t.biff==2?1:2);return[a,n]}function Uc(e){e.l++;return Zt[e._R(1)]}function Hc(e){e.l++;return e._R(2)}function Wc(e){e.l++;return e._R(1)!==0}function zc(e){e.l++;return Yt(e,8)}function Vc(e,r,t){e.l++;return Qn(e,r-1,t)}function Xc(e,r){var t=[e._R(1)];if(r==12)switch(t[0]){case 2:t[0]=4;break;case 4:t[0]=16;break;case 0:t[0]=1;break;case 1:t[0]=2;break;}switch(t[0]){case 4:t[1]=Xn(e,1)?\"TRUE\":\"FALSE\";if(r!=12)e.l+=7;break;case 37:;case 16:t[1]=Zt[e[e.l]];e.l+=r==12?4:8;break;case 0:e.l+=8;break;case 1:t[1]=Yt(e,8);break;case 2:t[1]=ri(e,0,{biff:r>0&&r<8?2:r});break;default:throw new Error(\"Bad SerAr: \"+t[0]);}return t}function Gc(e,r,t){var a=e._R(t.biff==12?4:2);var n=[];for(var i=0;i!=a;++i)n.push((t.biff==12?jt:wi)(e,8));return n}function jc(e,r,t){var a=0,n=0;if(t.biff==12){a=e._R(4);n=e._R(4)}else{n=1+e._R(1);a=1+e._R(2)}if(t.biff>=2&&t.biff<8){--a;if(--n==0)n=256}for(var i=0,s=[];i!=a&&(s[i]=[]);++i)for(var f=0;f!=n;++f)s[i][f]=Xc(e,t.biff);return s}function Kc(e,r,t){var a=e._R(1)>>>5&3;var n=!t||t.biff>=8?4:2;var i=e._R(n);switch(t.biff){case 2:e.l+=5;break;case 3:;case 4:e.l+=8;break;case 5:e.l+=12;break;}return[a,0,i]}function Yc(e,r,t){if(t.biff==5)return $c(e,r,t);var a=e._R(1)>>>5&3;var n=e._R(2);var i=e._R(4);return[a,n,i]}function $c(e){var r=e._R(1)>>>5&3;var t=e._R(2,\"i\");e.l+=8;var a=e._R(2);e.l+=12;return[r,t,a]}function Zc(e,r,t){var a=e._R(1)>>>5&3;e.l+=t&&t.biff==2?3:4;var n=e._R(t&&t.biff==2?1:2);return[a,n]}function Qc(e,r,t){var a=e._R(1)>>>5&3;var n=e._R(t&&t.biff==2?1:2);return[a,n]}function Jc(e,r,t){var a=e._R(1)>>>5&3;e.l+=4;if(t.biff<8)e.l--;if(t.biff==12)e.l+=2;return[a]}function qc(e,r,t){var a=(e[e.l++]&96)>>5;var n=e._R(2);var i=4;if(t)switch(t.biff){case 5:i=15;break;case 12:i=6;break;}e.l+=i;return[a,n]}var eh=Yr;var rh=Yr;var th=Yr;function ah(e,r,t){e.l+=2;return[dc(e,4,t)]}function nh(e){e.l+=6;return[]}var ih=ah;var sh=nh;var fh=nh;var oh=ah;function lh(e){e.l+=2;return[jn(e),e._R(2)&1]}var ch=ah;var hh=lh;var uh=nh;var dh=ah;var ph=ah;var vh=[\"Data\",\"All\",\"Headers\",\"??\",\"?Data2\",\"??\",\"?DataHeaders\",\"??\",\"Totals\",\"??\",\"??\",\"??\",\"?DataTotals\",\"??\",\"??\",\"??\",\"?Current\"];function gh(e){e.l+=2;var r=e._R(2);var t=e._R(2);var a=e._R(4);var n=e._R(2);var i=e._R(2);var s=vh[t>>2&31];return{ixti:r,coltype:t&3,rt:s,idx:a,c:n,C:i}}function bh(e){e.l+=2;return[e._R(4)]}function mh(e,r,t){e.l+=5;e.l+=2;e.l+=t.biff==2?1:4;return[\"PTGSHEET\"]}function wh(e,r,t){e.l+=t.biff==2?4:5;return[\"PTGENDSHEET\"]}function Ch(e){var r=e._R(1)>>>5&3;var t=e._R(2);return[r,t]}function kh(e){var r=e._R(1)>>>5&3;var t=e._R(2);return[r,t]}function Eh(e){e.l+=4;return[0,0]}var Sh={1:{n:\"PtgExp\",f:Mc},2:{n:\"PtgTbl\",f:th},3:{n:\"PtgAdd\",f:sc},4:{n:\"PtgSub\",f:sc},5:{n:\"PtgMul\",f:sc},6:{n:\"PtgDiv\",f:sc},7:{n:\"PtgPower\",f:sc},8:{n:\"PtgConcat\",f:sc},9:{n:\"PtgLt\",f:sc},10:{n:\"PtgLe\",f:sc},11:{n:\"PtgEq\",f:sc},12:{n:\"PtgGe\",f:sc},13:{n:\"PtgGt\",f:sc},14:{n:\"PtgNe\",f:sc},15:{n:\"PtgIsect\",f:sc},16:{n:\"PtgUnion\",f:sc},17:{n:\"PtgRange\",f:sc},18:{n:\"PtgUplus\",f:sc},19:{n:\"PtgUminus\",f:sc},20:{n:\"PtgPercent\",f:sc},21:{n:\"PtgParen\",f:sc},22:{n:\"PtgMissArg\",f:sc},23:{n:\"PtgStr\",f:Vc},26:{n:\"PtgSheet\",f:mh},27:{n:\"PtgEndSheet\",f:wh},28:{n:\"PtgErr\",f:Uc},29:{n:\"PtgBool\",f:Wc},30:{n:\"PtgInt\",f:Hc},31:{n:\"PtgNum\",f:zc},32:{n:\"PtgArray\",f:kc},33:{n:\"PtgFunc\",f:Fc},34:{n:\"PtgFuncVar\",f:Pc},35:{n:\"PtgName\",f:Kc},36:{n:\"PtgRef\",f:Rc},37:{n:\"PtgArea\",f:gc},38:{n:\"PtgMemArea\",f:Zc},39:{n:\"PtgMemErr\",f:eh},40:{n:\"PtgMemNoMem\",f:rh},41:{n:\"PtgMemFunc\",f:Qc},42:{n:\"PtgRefErr\",f:Jc},43:{n:\"PtgAreaErr\",f:mc},44:{n:\"PtgRefN\",f:Oc},45:{n:\"PtgAreaN\",f:Cc},46:{n:\"PtgMemAreaN\",f:Ch},47:{n:\"PtgMemNoMemN\",f:kh},57:{n:\"PtgNameX\",f:Yc},58:{n:\"PtgRef3d\",f:Dc},59:{n:\"PtgArea3d\",f:bc},60:{n:\"PtgRefErr3d\",f:qc},61:{n:\"PtgAreaErr3d\",f:wc},255:{}};var Ah={64:32,96:32,65:33,97:33,66:34,98:34,67:35,99:35,68:36,100:36,69:37,101:37,70:38,102:38,71:39,103:39,72:40,104:40,73:41,105:41,74:42,106:42,75:43,107:43,76:44,108:44,77:45,109:45,78:46,110:46,79:47,111:47,88:34,120:34,89:57,121:57,90:58,122:58,91:59,123:59,92:60,124:60,93:61,125:61};(function(){for(var e in Ah)Sh[e]=Sh[Ah[e]]})();var _h={1:{n:\"PtgElfLel\",f:lh},2:{n:\"PtgElfRw\",f:dh},3:{n:\"PtgElfCol\",f:ih},6:{n:\"PtgElfRwV\",f:ph},7:{n:\"PtgElfColV\",f:oh},10:{n:\"PtgElfRadical\",f:ch},11:{n:\"PtgElfRadicalS\",f:uh},13:{n:\"PtgElfColS\",f:sh},15:{n:\"PtgElfColSV\",f:fh},16:{n:\"PtgElfRadicalLel\",f:hh},25:{n:\"PtgList\",f:gh},29:{n:\"PtgSxName\",f:bh},255:{}};var Bh={0:{n:\"PtgAttrNoop\",f:Eh},1:{n:\"PtgAttrSemi\",f:Tc},2:{n:\"PtgAttrIf\",f:_c},4:{n:\"PtgAttrChoose\",f:Sc},8:{n:\"PtgAttrGoto\",f:Ac},16:{n:\"PtgAttrSum\",f:Lc},32:{n:\"PtgAttrBaxcel\",f:Ec},64:{n:\"PtgAttrSpace\",f:xc},65:{n:\"PtgAttrSpaceSemi\",f:Ic},128:{n:\"PtgAttrIfError\",f:Bc},255:{}};Bh[33]=Bh[32];function Th(e,r,t,a){if(a.biff<8)return Yr(e,r);var n=e.l+r;var i=[];for(var s=0;s!==t.length;++s){switch(t[s][0]){case\"PtgArray\":t[s][1]=jc(e,0,a);i.push(t[s][1]);break;case\"PtgMemArea\":t[s][2]=Gc(e,t[s][1],a);i.push(t[s][2]);break;case\"PtgExp\":if(a&&a.biff==12){t[s][1][1]=e._R(4);i.push(t[s][1])}break;case\"PtgList\":;case\"PtgElfRadicalS\":;case\"PtgElfColS\":;case\"PtgElfColSV\":throw\"Unsupported \"+t[s][0];default:break;}}r=n-e.l;if(r!==0)i.push(Yr(e,r));return i}function yh(e,r,t){var a=e.l+r;var n,i,s=[];while(a!=e.l){r=a-e.l;i=e[e.l];n=Sh[i];if(i===24||i===25)n=(i===24?_h:Bh)[e[e.l+1]];if(!n||!n.f){Yr(e,r)}else{s.push([n.n,n.f(e,r,t)])}}return s}function xh(e){var r=[];for(var t=0;t<e.length;++t){var a=e[t],n=[];for(var i=0;i<a.length;++i){var s=a[i];if(s)switch(s[0]){case 2:n.push('\"'+s[1].replace(/\"/g,'\"\"')+'\"');break;default:n.push(s[1]);}else n.push(\"\")}r.push(n.join(\",\"))}return r.join(\";\")}var Ih={PtgAdd:\"+\",PtgConcat:\"&\",PtgDiv:\"/\",PtgEq:\"=\",PtgGe:\">=\",PtgGt:\">\",PtgLe:\"<=\",PtgLt:\"<\",PtgMul:\"*\",PtgNe:\"<>\",PtgPower:\"^\",PtgSub:\"-\"};function Rh(e,r){if(!e&&!(r&&r.biff<=5&&r.biff>=2))throw new Error(\"empty sheet name\");if(e.indexOf(\" \")>-1)return\"'\"+e+\"'\";return e}function Oh(e,r,t){if(!e)return\"SH33TJSERR0\";if(t.biff>8&&(!e.XTI||!e.XTI[r]))return e.SheetNames[r];if(!e.XTI)return\"SH33TJSERR6\";var a=e.XTI[r];if(t.biff<8){if(r>1e4)r-=65536;if(r<0)r=-r;return r==0?\"\":e.XTI[r-1]}if(!a)return\"SH33TJSERR1\";var n=\"\";if(t.biff>8)switch(e[a[0]][0]){case 357:n=a[1]==-1?\"#REF\":e.SheetNames[a[1]];return a[1]==a[2]?n:n+\":\"+e.SheetNames[a[2]];case 358:if(t.SID!=null)return e.SheetNames[t.SID];return\"SH33TJSSAME\"+e[a[0]][0];case 355:;default:return\"SH33TJSSRC\"+e[a[0]][0];}switch(e[a[0]][0][0]){case 1025:n=a[1]==-1?\"#REF\":e.SheetNames[a[1]]||\"SH33TJSERR3\";return a[1]==a[2]?n:n+\":\"+e.SheetNames[a[2]];case 14849:return e[a[0]].slice(1).map(function(e){return e.Name}).join(\";;\");default:if(!e[a[0]][0][3])return\"SH33TJSERR2\";n=a[1]==-1?\"#REF\":e[a[0]][0][3][a[1]]||\"SH33TJSERR4\";return a[1]==a[2]?n:n+\":\"+e[a[0]][0][3][a[2]];}}function Dh(e,r,t){return Rh(Oh(e,r,t),t)}function Fh(e,r,t,a,n){var i=n&&n.biff||8;var s={s:{c:0,r:0},e:{c:0,r:0}};var f=[],o,l,c,h=0,u=0,d,p=\"\";if(!e[0]||!e[0][0])return\"\";var v=-1,g=\"\";for(var b=0,m=e[0].length;b<m;++b){var w=e[0][b];switch(w[0]){case\"PtgUminus\":f.push(\"-\"+f.pop());break;case\"PtgUplus\":f.push(\"+\"+f.pop());break;case\"PtgPercent\":f.push(f.pop()+\"%\");break;case\"PtgAdd\":;case\"PtgConcat\":;case\"PtgDiv\":;case\"PtgEq\":;case\"PtgGe\":;case\"PtgGt\":;case\"PtgLe\":;case\"PtgLt\":;case\"PtgMul\":;case\"PtgNe\":;case\"PtgPower\":;case\"PtgSub\":o=f.pop();l=f.pop();if(v>=0){switch(e[0][v][1][0]){case 0:g=le(\" \",e[0][v][1][1]);break;case 1:g=le(\"\\r\",e[0][v][1][1]);break;default:g=\"\";if(n.WTF)throw new Error(\"Unexpected PtgAttrSpaceType \"+e[0][v][1][0]);}l=l+g;v=-1}f.push(l+Ih[w[0]]+o);break;case\"PtgIsect\":o=f.pop();l=f.pop();f.push(l+\" \"+o);break;case\"PtgUnion\":o=f.pop();l=f.pop();f.push(l+\",\"+o);break;case\"PtgRange\":o=f.pop();l=f.pop();f.push(l+\":\"+o);break;case\"PtgAttrChoose\":break;case\"PtgAttrGoto\":break;case\"PtgAttrIf\":break;case\"PtgAttrIfError\":break;case\"PtgRef\":c=qr(w[1][1],s,n);f.push(rt(c,i));break;case\"PtgRefN\":c=t?qr(w[1][1],t,n):w[1][1];f.push(rt(c,i));break;case\"PtgRef3d\":h=w[1][1];c=qr(w[1][2],s,n);p=Dh(a,h,n);var C=p;f.push(p+\"!\"+rt(c,i));break;case\"PtgFunc\":;case\"PtgFuncVar\":var k=w[1][0],E=w[1][1];if(!k)k=0;k&=127;var S=k==0?[]:f.slice(-k);f.length-=k;if(E===\"User\")E=S.shift();f.push(E+\"(\"+S.join(\",\")+\")\");break;case\"PtgBool\":f.push(w[1]?\"TRUE\":\"FALSE\");break;case\"PtgInt\":f.push(w[1]);break;case\"PtgNum\":f.push(String(w[1]));break;case\"PtgStr\":f.push('\"'+w[1].replace(/\"/g,'\"\"')+'\"');break;case\"PtgErr\":f.push(w[1]);break;case\"PtgAreaN\":d=et(w[1][1],t?{s:t}:s,n);f.push(tt(d,n));break;case\"PtgArea\":d=et(w[1][1],s,n);f.push(tt(d,n));break;case\"PtgArea3d\":h=w[1][1];d=w[1][2];p=Dh(a,h,n);f.push(p+\"!\"+tt(d,n));break;case\"PtgAttrSum\":f.push(\"SUM(\"+f.pop()+\")\");break;case\"PtgAttrBaxcel\":;case\"PtgAttrSemi\":break;case\"PtgName\":u=w[1][2];var A=(a.names||[])[u-1]||(a[0]||[])[u];var _=A?A.Name:\"SH33TJSNAME\"+String(u);if(_ in Qh)_=Qh[_];f.push(_);break;case\"PtgNameX\":var B=w[1][1];u=w[1][2];var T;if(n.biff<=5){if(B<0)B=-B;if(a[B])T=a[B][u]}else{var y=\"\";if(((a[B]||[])[0]||[])[0]==14849){}else if(((a[B]||[])[0]||[])[0]==1025){if(a[B][u]&&a[B][u].itab>0){y=a.SheetNames[a[B][u].itab-1]+\"!\"}}else y=a.SheetNames[u-1]+\"!\";if(a[B]&&a[B][u])y+=a[B][u].Name;else if(a[0]&&a[0][u])y+=a[0][u].Name;else{var x=Oh(a,B,n).split(\";;\");if(x[u-1])y=x[u-1];else y+=\"SH33TJSERRX\"}f.push(y);break}if(!T)T={Name:\"SH33TJSERRY\"};f.push(T.Name);break;case\"PtgParen\":var I=\"(\",R=\")\";if(v>=0){g=\"\";switch(e[0][v][1][0]){case 2:I=le(\" \",e[0][v][1][1])+I;break;case 3:I=le(\"\\r\",e[0][v][1][1])+I;break;case 4:R=le(\" \",e[0][v][1][1])+R;break;case 5:R=le(\"\\r\",e[0][v][1][1])+R;break;default:if(n.WTF)throw new Error(\"Unexpected PtgAttrSpaceType \"+e[0][v][1][0]);}v=-1}f.push(I+f.pop()+R);break;case\"PtgRefErr\":f.push(\"#REF!\");break;case\"PtgRefErr3d\":f.push(\"#REF!\");break;case\"PtgExp\":c={c:w[1][1],r:w[1][0]};var O={c:t.c,r:t.r};if(a.sharedf[vt(c)]){var D=a.sharedf[vt(c)];f.push(Fh(D,s,O,a,n))}else{var F=false;for(o=0;o!=a.arrayf.length;++o){l=a.arrayf[o];if(c.c<l[0].s.c||c.c>l[0].e.c)continue;if(c.r<l[0].s.r||c.r>l[0].e.r)continue;f.push(Fh(l[1],s,O,a,n));F=true;break}if(!F)f.push(w[1])}break;case\"PtgArray\":f.push(\"{\"+xh(w[1])+\"}\");break;case\"PtgMemArea\":break;case\"PtgAttrSpace\":;case\"PtgAttrSpaceSemi\":v=b;break;case\"PtgTbl\":break;case\"PtgMemErr\":break;case\"PtgMissArg\":f.push(\"\");break;case\"PtgAreaErr\":f.push(\"#REF!\");break;case\"PtgAreaErr3d\":f.push(\"#REF!\");break;case\"PtgList\":f.push(\"Table\"+w[1].idx+\"[#\"+w[1].rt+\"]\");break;case\"PtgMemAreaN\":;case\"PtgMemNoMemN\":;case\"PtgAttrNoop\":;case\"PtgSheet\":;case\"PtgEndSheet\":break;case\"PtgMemFunc\":break;case\"PtgMemNoMem\":break;case\"PtgElfCol\":;case\"PtgElfColS\":;case\"PtgElfColSV\":;case\"PtgElfColV\":;case\"PtgElfLel\":;case\"PtgElfRadical\":;case\"PtgElfRadicalLel\":;case\"PtgElfRadicalS\":;case\"PtgElfRw\":;case\"PtgElfRwV\":throw new Error(\"Unsupported ELFs\");case\"PtgSxName\":throw new Error(\"Unrecognized Formula Token: \"+String(w));default:throw new Error(\"Unrecognized Formula Token: \"+String(w));}var P=[\"PtgAttrSpace\",\"PtgAttrSpaceSemi\",\"PtgAttrGoto\"];if(n.biff!=3)if(v>=0&&P.indexOf(e[0][b][0])==-1){w=e[0][v];var N=true;switch(w[1][0]){case 4:N=false;case 0:g=le(\" \",w[1][1]);break;case 5:N=false;case 1:g=le(\"\\r\",w[1][1]);break;default:g=\"\";if(n.WTF)throw new Error(\"Unexpected PtgAttrSpaceType \"+w[1][0]);}f.push((N?g:\"\")+f.pop()+(N?\"\":g));v=-1}}if(f.length>1&&n.WTF)throw new Error(\"bad formula stack\");return f[0]}function Ph(e,r,t){var a=e.l+r,n=t.biff==2?1:2;var i,s=e._R(n);if(s==65535)return[[],Yr(e,r-2)];var f=yh(e,s,t);if(r!==s+n)i=Th(e,r-s-n,f,t);e.l=a;return[f,i]}function Nh(e,r,t){var a=e.l+r,n=t.biff==2?1:2;var i,s=e._R(n);if(s==65535)return[[],Yr(e,r-2)];var f=yh(e,s,t);if(r!==s+n)i=Th(e,r-s-n,f,t);e.l=a;return[f,i]}function Lh(e,r,t,a){var n=e.l+r;var i=yh(e,a,t);var s;if(n!==e.l)s=Th(e,n-e.l,i,t);return[i,s]}function Mh(e,r,t){var a=e.l+r;var n,i=e._R(2);var s=yh(e,i,t);if(i==65535)return[[],Yr(e,r-2)];if(r!==i+2)n=Th(e,a-i-2,s,t);return[s,n]}function Uh(e){var r;if(Nr(e,e.l+6)!==65535)return[Yt(e),\"n\"];switch(e[e.l]){case 0:e.l+=8;return[\"String\",\"s\"];case 1:r=e[e.l+2]===1;e.l+=8;return[r,\"b\"];case 2:r=e[e.l+2];e.l+=8;return[r,\"e\"];case 3:e.l+=8;return[\"\",\"s\"];}return[]}function Hh(e){if(e==null){var r=$r(8);r._W(1,3);r._W(1,0);r._W(2,0);r._W(2,0);r._W(2,65535);return r}else if(typeof e==\"number\")return $t(e);return $t(0)}function Wh(e,r,t){var a=e.l+r;var n=ui(e,6);if(t.biff==2)++e.l;var i=Uh(e,8);var s=e._R(1);if(t.biff!=2){e._R(1);if(t.biff>=5){e._R(4)}}var f=Nh(e,a-e.l,t);return{cell:n,val:i[0],formula:f,shared:s>>3&1,tt:i[1]}}function zh(e,r,t,a,n){var i=di(r,t,n);var s=Hh(e.v);var f=$r(6);var o=1|32;f._W(2,o);f._W(4,0);var l=$r(e.bf.length);for(var c=0;c<e.bf.length;++c)l[c]=e.bf[c];var h=I([i,s,f,l]);return h}function Vh(e,r,t){var a=e._R(4);var n=yh(e,a,t);var i=e._R(4);var s=i>0?Th(e,i,n,t):null;return[n,s]}var Xh=Vh;var Gh=Vh;var jh=Vh;var Kh=Vh;var Yh={0:\"BEEP\",1:\"OPEN\",2:\"OPEN.LINKS\",3:\"CLOSE.ALL\",4:\"SAVE\",5:\"SAVE.AS\",6:\"FILE.DELETE\",7:\"PAGE.SETUP\",8:\"PRINT\",9:\"PRINTER.SETUP\",10:\"QUIT\",11:\"NEW.WINDOW\",12:\"ARRANGE.ALL\",13:\"WINDOW.SIZE\",14:\"WINDOW.MOVE\",15:\"FULL\",16:\"CLOSE\",17:\"RUN\",22:\"SET.PRINT.AREA\",23:\"SET.PRINT.TITLES\",24:\"SET.PAGE.BREAK\",25:\"REMOVE.PAGE.BREAK\",26:\"FONT\",27:\"DISPLAY\",28:\"PROTECT.DOCUMENT\",29:\"PRECISION\",30:\"A1.R1C1\",31:\"CALCULATE.NOW\",32:\"CALCULATION\",34:\"DATA.FIND\",35:\"EXTRACT\",36:\"DATA.DELETE\",37:\"SET.DATABASE\",38:\"SET.CRITERIA\",39:\"SORT\",40:\"DATA.SERIES\",41:\"TABLE\",42:\"FORMAT.NUMBER\",43:\"ALIGNMENT\",44:\"STYLE\",45:\"BORDER\",46:\"CELL.PROTECTION\",47:\"COLUMN.WIDTH\",48:\"UNDO\",49:\"CUT\",50:\"COPY\",51:\"PASTE\",52:\"CLEAR\",53:\"PASTE.SPECIAL\",54:\"EDIT.DELETE\",55:\"INSERT\",56:\"FILL.RIGHT\",57:\"FILL.DOWN\",61:\"DEFINE.NAME\",62:\"CREATE.NAMES\",63:\"FORMULA.GOTO\",64:\"FORMULA.FIND\",65:\"SELECT.LAST.CELL\",66:\"SHOW.ACTIVE.CELL\",67:\"GALLERY.AREA\",68:\"GALLERY.BAR\",69:\"GALLERY.COLUMN\",70:\"GALLERY.LINE\",71:\"GALLERY.PIE\",72:\"GALLERY.SCATTER\",73:\"COMBINATION\",74:\"PREFERRED\",75:\"ADD.OVERLAY\",76:\"GRIDLINES\",77:\"SET.PREFERRED\",78:\"AXES\",79:\"LEGEND\",80:\"ATTACH.TEXT\",81:\"ADD.ARROW\",82:\"SELECT.CHART\",83:\"SELECT.PLOT.AREA\",84:\"PATTERNS\",85:\"MAIN.CHART\",86:\"OVERLAY\",87:\"SCALE\",88:\"FORMAT.LEGEND\",89:\"FORMAT.TEXT\",90:\"EDIT.REPEAT\",91:\"PARSE\",92:\"JUSTIFY\",93:\"HIDE\",94:\"UNHIDE\",95:\"WORKSPACE\",96:\"FORMULA\",97:\"FORMULA.FILL\",98:\"FORMULA.ARRAY\",99:\"DATA.FIND.NEXT\",100:\"DATA.FIND.PREV\",101:\"FORMULA.FIND.NEXT\",102:\"FORMULA.FIND.PREV\",103:\"ACTIVATE\",104:\"ACTIVATE.NEXT\",105:\"ACTIVATE.PREV\",106:\"UNLOCKED.NEXT\",107:\"UNLOCKED.PREV\",108:\"COPY.PICTURE\",109:\"SELECT\",110:\"DELETE.NAME\",111:\"DELETE.FORMAT\",112:\"VLINE\",113:\"HLINE\",114:\"VPAGE\",115:\"HPAGE\",116:\"VSCROLL\",117:\"HSCROLL\",118:\"ALERT\",119:\"NEW\",120:\"CANCEL.COPY\",121:\"SHOW.CLIPBOARD\",122:\"MESSAGE\",124:\"PASTE.LINK\",125:\"APP.ACTIVATE\",126:\"DELETE.ARROW\",127:\"ROW.HEIGHT\",128:\"FORMAT.MOVE\",129:\"FORMAT.SIZE\",130:\"FORMULA.REPLACE\",131:\"SEND.KEYS\",132:\"SELECT.SPECIAL\",133:\"APPLY.NAMES\",134:\"REPLACE.FONT\",135:\"FREEZE.PANES\",136:\"SHOW.INFO\",137:\"SPLIT\",138:\"ON.WINDOW\",139:\"ON.DATA\",140:\"DISABLE.INPUT\",142:\"OUTLINE\",143:\"LIST.NAMES\",144:\"FILE.CLOSE\",145:\"SAVE.WORKBOOK\",146:\"DATA.FORM\",147:\"COPY.CHART\",148:\"ON.TIME\",149:\"WAIT\",150:\"FORMAT.FONT\",151:\"FILL.UP\",152:\"FILL.LEFT\",153:\"DELETE.OVERLAY\",155:\"SHORT.MENUS\",159:\"SET.UPDATE.STATUS\",161:\"COLOR.PALETTE\",162:\"DELETE.STYLE\",163:\"WINDOW.RESTORE\",164:\"WINDOW.MAXIMIZE\",166:\"CHANGE.LINK\",167:\"CALCULATE.DOCUMENT\",168:\"ON.KEY\",169:\"APP.RESTORE\",170:\"APP.MOVE\",171:\"APP.SIZE\",172:\"APP.MINIMIZE\",173:\"APP.MAXIMIZE\",174:\"BRING.TO.FRONT\",175:\"SEND.TO.BACK\",185:\"MAIN.CHART.TYPE\",186:\"OVERLAY.CHART.TYPE\",187:\"SELECT.END\",188:\"OPEN.MAIL\",189:\"SEND.MAIL\",190:\"STANDARD.FONT\",191:\"CONSOLIDATE\",192:\"SORT.SPECIAL\",193:\"GALLERY.3D.AREA\",194:\"GALLERY.3D.COLUMN\",195:\"GALLERY.3D.LINE\",196:\"GALLERY.3D.PIE\",197:\"VIEW.3D\",198:\"GOAL.SEEK\",199:\"WORKGROUP\",200:\"FILL.GROUP\",201:\"UPDATE.LINK\",202:\"PROMOTE\",203:\"DEMOTE\",204:\"SHOW.DETAIL\",206:\"UNGROUP\",207:\"OBJECT.PROPERTIES\",208:\"SAVE.NEW.OBJECT\",209:\"SHARE\",210:\"SHARE.NAME\",211:\"DUPLICATE\",212:\"APPLY.STYLE\",213:\"ASSIGN.TO.OBJECT\",214:\"OBJECT.PROTECTION\",215:\"HIDE.OBJECT\",216:\"SET.EXTRACT\",217:\"CREATE.PUBLISHER\",218:\"SUBSCRIBE.TO\",219:\"ATTRIBUTES\",220:\"SHOW.TOOLBAR\",222:\"PRINT.PREVIEW\",223:\"EDIT.COLOR\",224:\"SHOW.LEVELS\",225:\"FORMAT.MAIN\",226:\"FORMAT.OVERLAY\",227:\"ON.RECALC\",228:\"EDIT.SERIES\",229:\"DEFINE.STYLE\",240:\"LINE.PRINT\",243:\"ENTER.DATA\",249:\"GALLERY.RADAR\",250:\"MERGE.STYLES\",251:\"EDITION.OPTIONS\",252:\"PASTE.PICTURE\",253:\"PASTE.PICTURE.LINK\",254:\"SPELLING\",256:\"ZOOM\",259:\"INSERT.OBJECT\",260:\"WINDOW.MINIMIZE\",265:\"SOUND.NOTE\",266:\"SOUND.PLAY\",267:\"FORMAT.SHAPE\",268:\"EXTEND.POLYGON\",269:\"FORMAT.AUTO\",272:\"GALLERY.3D.BAR\",273:\"GALLERY.3D.SURFACE\",274:\"FILL.AUTO\",276:\"CUSTOMIZE.TOOLBAR\",277:\"ADD.TOOL\",278:\"EDIT.OBJECT\",279:\"ON.DOUBLECLICK\",280:\"ON.ENTRY\",281:\"WORKBOOK.ADD\",282:\"WORKBOOK.MOVE\",283:\"WORKBOOK.COPY\",284:\"WORKBOOK.OPTIONS\",285:\"SAVE.WORKSPACE\",288:\"CHART.WIZARD\",289:\"DELETE.TOOL\",290:\"MOVE.TOOL\",291:\"WORKBOOK.SELECT\",292:\"WORKBOOK.ACTIVATE\",293:\"ASSIGN.TO.TOOL\",295:\"COPY.TOOL\",296:\"RESET.TOOL\",297:\"CONSTRAIN.NUMERIC\",298:\"PASTE.TOOL\",302:\"WORKBOOK.NEW\",305:\"SCENARIO.CELLS\",306:\"SCENARIO.DELETE\",307:\"SCENARIO.ADD\",308:\"SCENARIO.EDIT\",309:\"SCENARIO.SHOW\",310:\"SCENARIO.SHOW.NEXT\",311:\"SCENARIO.SUMMARY\",312:\"PIVOT.TABLE.WIZARD\",313:\"PIVOT.FIELD.PROPERTIES\",314:\"PIVOT.FIELD\",315:\"PIVOT.ITEM\",316:\"PIVOT.ADD.FIELDS\",318:\"OPTIONS.CALCULATION\",319:\"OPTIONS.EDIT\",320:\"OPTIONS.VIEW\",321:\"ADDIN.MANAGER\",322:\"MENU.EDITOR\",323:\"ATTACH.TOOLBARS\",324:\"VBAActivate\",325:\"OPTIONS.CHART\",328:\"VBA.INSERT.FILE\",330:\"VBA.PROCEDURE.DEFINITION\",336:\"ROUTING.SLIP\",338:\"ROUTE.DOCUMENT\",339:\"MAIL.LOGON\",342:\"INSERT.PICTURE\",343:\"EDIT.TOOL\",344:\"GALLERY.DOUGHNUT\",350:\"CHART.TREND\",352:\"PIVOT.ITEM.PROPERTIES\",354:\"WORKBOOK.INSERT\",355:\"OPTIONS.TRANSITION\",356:\"OPTIONS.GENERAL\",370:\"FILTER.ADVANCED\",373:\"MAIL.ADD.MAILER\",374:\"MAIL.DELETE.MAILER\",375:\"MAIL.REPLY\",376:\"MAIL.REPLY.ALL\",377:\"MAIL.FORWARD\",378:\"MAIL.NEXT.LETTER\",379:\"DATA.LABEL\",380:\"INSERT.TITLE\",381:\"FONT.PROPERTIES\",382:\"MACRO.OPTIONS\",383:\"WORKBOOK.HIDE\",384:\"WORKBOOK.UNHIDE\",385:\"WORKBOOK.DELETE\",386:\"WORKBOOK.NAME\",388:\"GALLERY.CUSTOM\",390:\"ADD.CHART.AUTOFORMAT\",391:\"DELETE.CHART.AUTOFORMAT\",392:\"CHART.ADD.DATA\",393:\"AUTO.OUTLINE\",394:\"TAB.ORDER\",395:\"SHOW.DIALOG\",396:\"SELECT.ALL\",397:\"UNGROUP.SHEETS\",398:\"SUBTOTAL.CREATE\",399:\"SUBTOTAL.REMOVE\",400:\"RENAME.OBJECT\",412:\"WORKBOOK.SCROLL\",413:\"WORKBOOK.NEXT\",414:\"WORKBOOK.PREV\",415:\"WORKBOOK.TAB.SPLIT\",416:\"FULL.SCREEN\",417:\"WORKBOOK.PROTECT\",420:\"SCROLLBAR.PROPERTIES\",421:\"PIVOT.SHOW.PAGES\",422:\"TEXT.TO.COLUMNS\",423:\"FORMAT.CHARTTYPE\",424:\"LINK.FORMAT\",425:\"TRACER.DISPLAY\",430:\"TRACER.NAVIGATE\",431:\"TRACER.CLEAR\",432:\"TRACER.ERROR\",433:\"PIVOT.FIELD.GROUP\",434:\"PIVOT.FIELD.UNGROUP\",435:\"CHECKBOX.PROPERTIES\",436:\"LABEL.PROPERTIES\",437:\"LISTBOX.PROPERTIES\",438:\"EDITBOX.PROPERTIES\",439:\"PIVOT.REFRESH\",440:\"LINK.COMBO\",441:\"OPEN.TEXT\",442:\"HIDE.DIALOG\",443:\"SET.DIALOG.FOCUS\",444:\"ENABLE.OBJECT\",445:\"PUSHBUTTON.PROPERTIES\",446:\"SET.DIALOG.DEFAULT\",447:\"FILTER\",448:\"FILTER.SHOW.ALL\",449:\"CLEAR.OUTLINE\",450:\"FUNCTION.WIZARD\",451:\"ADD.LIST.ITEM\",452:\"SET.LIST.ITEM\",453:\"REMOVE.LIST.ITEM\",454:\"SELECT.LIST.ITEM\",455:\"SET.CONTROL.VALUE\",456:\"SAVE.COPY.AS\",458:\"OPTIONS.LISTS.ADD\",459:\"OPTIONS.LISTS.DELETE\",460:\"SERIES.AXES\",461:\"SERIES.X\",462:\"SERIES.Y\",463:\"ERRORBAR.X\",464:\"ERRORBAR.Y\",465:\"FORMAT.CHART\",466:\"SERIES.ORDER\",467:\"MAIL.LOGOFF\",468:\"CLEAR.ROUTING.SLIP\",469:\"APP.ACTIVATE.MICROSOFT\",470:\"MAIL.EDIT.MAILER\",471:\"ON.SHEET\",472:\"STANDARD.WIDTH\",473:\"SCENARIO.MERGE\",474:\"SUMMARY.INFO\",475:\"FIND.FILE\",476:\"ACTIVE.CELL.FONT\",477:\"ENABLE.TIPWIZARD\",478:\"VBA.MAKE.ADDIN\",480:\"INSERTDATATABLE\",481:\"WORKGROUP.OPTIONS\",482:\"MAIL.SEND.MAILER\",485:\"AUTOCORRECT\",489:\"POST.DOCUMENT\",491:\"PICKLIST\",493:\"VIEW.SHOW\",\n494:\"VIEW.DEFINE\",495:\"VIEW.DELETE\",509:\"SHEET.BACKGROUND\",510:\"INSERT.MAP.OBJECT\",511:\"OPTIONS.MENONO\",517:\"MSOCHECKS\",518:\"NORMAL\",519:\"LAYOUT\",520:\"RM.PRINT.AREA\",521:\"CLEAR.PRINT.AREA\",522:\"ADD.PRINT.AREA\",523:\"MOVE.BRK\",545:\"HIDECURR.NOTE\",546:\"HIDEALL.NOTES\",547:\"DELETE.NOTE\",548:\"TRAVERSE.NOTES\",549:\"ACTIVATE.NOTES\",620:\"PROTECT.REVISIONS\",621:\"UNPROTECT.REVISIONS\",647:\"OPTIONS.ME\",653:\"WEB.PUBLISH\",667:\"NEWWEBQUERY\",673:\"PIVOT.TABLE.CHART\",753:\"OPTIONS.SAVE\",755:\"OPTIONS.SPELL\",808:\"HIDEALL.INKANNOTS\"};var $h={0:\"COUNT\",1:\"IF\",2:\"ISNA\",3:\"ISERROR\",4:\"SUM\",5:\"AVERAGE\",6:\"MIN\",7:\"MAX\",8:\"ROW\",9:\"COLUMN\",10:\"NA\",11:\"NPV\",12:\"STDEV\",13:\"DOLLAR\",14:\"FIXED\",15:\"SIN\",16:\"COS\",17:\"TAN\",18:\"ATAN\",19:\"PI\",20:\"SQRT\",21:\"EXP\",22:\"LN\",23:\"LOG10\",24:\"ABS\",25:\"INT\",26:\"SIGN\",27:\"ROUND\",28:\"LOOKUP\",29:\"INDEX\",30:\"REPT\",31:\"MID\",32:\"LEN\",33:\"VALUE\",34:\"TRUE\",35:\"FALSE\",36:\"AND\",37:\"OR\",38:\"NOT\",39:\"MOD\",40:\"DCOUNT\",41:\"DSUM\",42:\"DAVERAGE\",43:\"DMIN\",44:\"DMAX\",45:\"DSTDEV\",46:\"VAR\",47:\"DVAR\",48:\"TEXT\",49:\"LINEST\",50:\"TREND\",51:\"LOGEST\",52:\"GROWTH\",53:\"GOTO\",54:\"HALT\",55:\"RETURN\",56:\"PV\",57:\"FV\",58:\"NPER\",59:\"PMT\",60:\"RATE\",61:\"MIRR\",62:\"IRR\",63:\"RAND\",64:\"MATCH\",65:\"DATE\",66:\"TIME\",67:\"DAY\",68:\"MONTH\",69:\"YEAR\",70:\"WEEKDAY\",71:\"HOUR\",72:\"MINUTE\",73:\"SECOND\",74:\"NOW\",75:\"AREAS\",76:\"ROWS\",77:\"COLUMNS\",78:\"OFFSET\",79:\"ABSREF\",80:\"RELREF\",81:\"ARGUMENT\",82:\"SEARCH\",83:\"TRANSPOSE\",84:\"ERROR\",85:\"STEP\",86:\"TYPE\",87:\"ECHO\",88:\"SET.NAME\",89:\"CALLER\",90:\"DEREF\",91:\"WINDOWS\",92:\"SERIES\",93:\"DOCUMENTS\",94:\"ACTIVE.CELL\",95:\"SELECTION\",96:\"RESULT\",97:\"ATAN2\",98:\"ASIN\",99:\"ACOS\",100:\"CHOOSE\",101:\"HLOOKUP\",102:\"VLOOKUP\",103:\"LINKS\",104:\"INPUT\",105:\"ISREF\",106:\"GET.FORMULA\",107:\"GET.NAME\",108:\"SET.VALUE\",109:\"LOG\",110:\"EXEC\",111:\"CHAR\",112:\"LOWER\",113:\"UPPER\",114:\"PROPER\",115:\"LEFT\",116:\"RIGHT\",117:\"EXACT\",118:\"TRIM\",119:\"REPLACE\",120:\"SUBSTITUTE\",121:\"CODE\",122:\"NAMES\",123:\"DIRECTORY\",124:\"FIND\",125:\"CELL\",126:\"ISERR\",127:\"ISTEXT\",128:\"ISNUMBER\",129:\"ISBLANK\",130:\"T\",131:\"N\",132:\"FOPEN\",133:\"FCLOSE\",134:\"FSIZE\",135:\"FREADLN\",136:\"FREAD\",137:\"FWRITELN\",138:\"FWRITE\",139:\"FPOS\",140:\"DATEVALUE\",141:\"TIMEVALUE\",142:\"SLN\",143:\"SYD\",144:\"DDB\",145:\"GET.DEF\",146:\"REFTEXT\",147:\"TEXTREF\",148:\"INDIRECT\",149:\"REGISTER\",150:\"CALL\",151:\"ADD.BAR\",152:\"ADD.MENU\",153:\"ADD.COMMAND\",154:\"ENABLE.COMMAND\",155:\"CHECK.COMMAND\",156:\"RENAME.COMMAND\",157:\"SHOW.BAR\",158:\"DELETE.MENU\",159:\"DELETE.COMMAND\",160:\"GET.CHART.ITEM\",161:\"DIALOG.BOX\",162:\"CLEAN\",163:\"MDETERM\",164:\"MINVERSE\",165:\"MMULT\",166:\"FILES\",167:\"IPMT\",168:\"PPMT\",169:\"COUNTA\",170:\"CANCEL.KEY\",171:\"FOR\",172:\"WHILE\",173:\"BREAK\",174:\"NEXT\",175:\"INITIATE\",176:\"REQUEST\",177:\"POKE\",178:\"EXECUTE\",179:\"TERMINATE\",180:\"RESTART\",181:\"HELP\",182:\"GET.BAR\",183:\"PRODUCT\",184:\"FACT\",185:\"GET.CELL\",186:\"GET.WORKSPACE\",187:\"GET.WINDOW\",188:\"GET.DOCUMENT\",189:\"DPRODUCT\",190:\"ISNONTEXT\",191:\"GET.NOTE\",192:\"NOTE\",193:\"STDEVP\",194:\"VARP\",195:\"DSTDEVP\",196:\"DVARP\",197:\"TRUNC\",198:\"ISLOGICAL\",199:\"DCOUNTA\",200:\"DELETE.BAR\",201:\"UNREGISTER\",204:\"USDOLLAR\",205:\"FINDB\",206:\"SEARCHB\",207:\"REPLACEB\",208:\"LEFTB\",209:\"RIGHTB\",210:\"MIDB\",211:\"LENB\",212:\"ROUNDUP\",213:\"ROUNDDOWN\",214:\"ASC\",215:\"DBCS\",216:\"RANK\",219:\"ADDRESS\",220:\"DAYS360\",221:\"TODAY\",222:\"VDB\",223:\"ELSE\",224:\"ELSE.IF\",225:\"END.IF\",226:\"FOR.CELL\",227:\"MEDIAN\",228:\"SUMPRODUCT\",229:\"SINH\",230:\"COSH\",231:\"TANH\",232:\"ASINH\",233:\"ACOSH\",234:\"ATANH\",235:\"DGET\",236:\"CREATE.OBJECT\",237:\"VOLATILE\",238:\"LAST.ERROR\",239:\"CUSTOM.UNDO\",240:\"CUSTOM.REPEAT\",241:\"FORMULA.CONVERT\",242:\"GET.LINK.INFO\",243:\"TEXT.BOX\",244:\"INFO\",245:\"GROUP\",246:\"GET.OBJECT\",247:\"DB\",248:\"PAUSE\",251:\"RESUME\",252:\"FREQUENCY\",253:\"ADD.TOOLBAR\",254:\"DELETE.TOOLBAR\",255:\"User\",256:\"RESET.TOOLBAR\",257:\"EVALUATE\",258:\"GET.TOOLBAR\",259:\"GET.TOOL\",260:\"SPELLING.CHECK\",261:\"ERROR.TYPE\",262:\"APP.TITLE\",263:\"WINDOW.TITLE\",264:\"SAVE.TOOLBAR\",265:\"ENABLE.TOOL\",266:\"PRESS.TOOL\",267:\"REGISTER.ID\",268:\"GET.WORKBOOK\",269:\"AVEDEV\",270:\"BETADIST\",271:\"GAMMALN\",272:\"BETAINV\",273:\"BINOMDIST\",274:\"CHIDIST\",275:\"CHIINV\",276:\"COMBIN\",277:\"CONFIDENCE\",278:\"CRITBINOM\",279:\"EVEN\",280:\"EXPONDIST\",281:\"FDIST\",282:\"FINV\",283:\"FISHER\",284:\"FISHERINV\",285:\"FLOOR\",286:\"GAMMADIST\",287:\"GAMMAINV\",288:\"CEILING\",289:\"HYPGEOMDIST\",290:\"LOGNORMDIST\",291:\"LOGINV\",292:\"NEGBINOMDIST\",293:\"NORMDIST\",294:\"NORMSDIST\",295:\"NORMINV\",296:\"NORMSINV\",297:\"STANDARDIZE\",298:\"ODD\",299:\"PERMUT\",300:\"POISSON\",301:\"TDIST\",302:\"WEIBULL\",303:\"SUMXMY2\",304:\"SUMX2MY2\",305:\"SUMX2PY2\",306:\"CHITEST\",307:\"CORREL\",308:\"COVAR\",309:\"FORECAST\",310:\"FTEST\",311:\"INTERCEPT\",312:\"PEARSON\",313:\"RSQ\",314:\"STEYX\",315:\"SLOPE\",316:\"TTEST\",317:\"PROB\",318:\"DEVSQ\",319:\"GEOMEAN\",320:\"HARMEAN\",321:\"SUMSQ\",322:\"KURT\",323:\"SKEW\",324:\"ZTEST\",325:\"LARGE\",326:\"SMALL\",327:\"QUARTILE\",328:\"PERCENTILE\",329:\"PERCENTRANK\",330:\"MODE\",331:\"TRIMMEAN\",332:\"TINV\",334:\"MOVIE.COMMAND\",335:\"GET.MOVIE\",336:\"CONCATENATE\",337:\"POWER\",338:\"PIVOT.ADD.DATA\",339:\"GET.PIVOT.TABLE\",340:\"GET.PIVOT.FIELD\",341:\"GET.PIVOT.ITEM\",342:\"RADIANS\",343:\"DEGREES\",344:\"SUBTOTAL\",345:\"SUMIF\",346:\"COUNTIF\",347:\"COUNTBLANK\",348:\"SCENARIO.GET\",349:\"OPTIONS.LISTS.GET\",350:\"ISPMT\",351:\"DATEDIF\",352:\"DATESTRING\",353:\"NUMBERSTRING\",354:\"ROMAN\",355:\"OPEN.DIALOG\",356:\"SAVE.DIALOG\",357:\"VIEW.GET\",358:\"GETPIVOTDATA\",359:\"HYPERLINK\",360:\"PHONETIC\",361:\"AVERAGEA\",362:\"MAXA\",363:\"MINA\",364:\"STDEVPA\",365:\"VARPA\",366:\"STDEVA\",367:\"VARA\",368:\"BAHTTEXT\",369:\"THAIDAYOFWEEK\",370:\"THAIDIGIT\",371:\"THAIMONTHOFYEAR\",372:\"THAINUMSOUND\",373:\"THAINUMSTRING\",374:\"THAISTRINGLENGTH\",375:\"ISTHAIDIGIT\",376:\"ROUNDBAHTDOWN\",377:\"ROUNDBAHTUP\",378:\"THAIYEAR\",379:\"RTD\",380:\"CUBEVALUE\",381:\"CUBEMEMBER\",382:\"CUBEMEMBERPROPERTY\",383:\"CUBERANKEDMEMBER\",384:\"HEX2BIN\",385:\"HEX2DEC\",386:\"HEX2OCT\",387:\"DEC2BIN\",388:\"DEC2HEX\",389:\"DEC2OCT\",390:\"OCT2BIN\",391:\"OCT2HEX\",392:\"OCT2DEC\",393:\"BIN2DEC\",394:\"BIN2OCT\",395:\"BIN2HEX\",396:\"IMSUB\",397:\"IMDIV\",398:\"IMPOWER\",399:\"IMABS\",400:\"IMSQRT\",401:\"IMLN\",402:\"IMLOG2\",403:\"IMLOG10\",404:\"IMSIN\",405:\"IMCOS\",406:\"IMEXP\",407:\"IMARGUMENT\",408:\"IMCONJUGATE\",409:\"IMAGINARY\",410:\"IMREAL\",411:\"COMPLEX\",412:\"IMSUM\",413:\"IMPRODUCT\",414:\"SERIESSUM\",415:\"FACTDOUBLE\",416:\"SQRTPI\",417:\"QUOTIENT\",418:\"DELTA\",419:\"GESTEP\",420:\"ISEVEN\",421:\"ISODD\",422:\"MROUND\",423:\"ERF\",424:\"ERFC\",425:\"BESSELJ\",426:\"BESSELK\",427:\"BESSELY\",428:\"BESSELI\",429:\"XIRR\",430:\"XNPV\",431:\"PRICEMAT\",432:\"YIELDMAT\",433:\"INTRATE\",434:\"RECEIVED\",435:\"DISC\",436:\"PRICEDISC\",437:\"YIELDDISC\",438:\"TBILLEQ\",439:\"TBILLPRICE\",440:\"TBILLYIELD\",441:\"PRICE\",442:\"YIELD\",443:\"DOLLARDE\",444:\"DOLLARFR\",445:\"NOMINAL\",446:\"EFFECT\",447:\"CUMPRINC\",448:\"CUMIPMT\",449:\"EDATE\",450:\"EOMONTH\",451:\"YEARFRAC\",452:\"COUPDAYBS\",453:\"COUPDAYS\",454:\"COUPDAYSNC\",455:\"COUPNCD\",456:\"COUPNUM\",457:\"COUPPCD\",458:\"DURATION\",459:\"MDURATION\",460:\"ODDLPRICE\",461:\"ODDLYIELD\",462:\"ODDFPRICE\",463:\"ODDFYIELD\",464:\"RANDBETWEEN\",465:\"WEEKNUM\",466:\"AMORDEGRC\",467:\"AMORLINC\",468:\"CONVERT\",724:\"SHEETJS\",469:\"ACCRINT\",470:\"ACCRINTM\",471:\"WORKDAY\",472:\"NETWORKDAYS\",473:\"GCD\",474:\"MULTINOMIAL\",475:\"LCM\",476:\"FVSCHEDULE\",477:\"CUBEKPIMEMBER\",478:\"CUBESET\",479:\"CUBESETCOUNT\",480:\"IFERROR\",481:\"COUNTIFS\",482:\"SUMIFS\",483:\"AVERAGEIF\",484:\"AVERAGEIFS\"};var Zh={2:1,3:1,10:0,15:1,16:1,17:1,18:1,19:0,20:1,21:1,22:1,23:1,24:1,25:1,26:1,27:2,30:2,31:3,32:1,33:1,34:0,35:0,38:1,39:2,40:3,41:3,42:3,43:3,44:3,45:3,47:3,48:2,53:1,61:3,63:0,65:3,66:3,67:1,68:1,69:1,70:1,71:1,72:1,73:1,74:0,75:1,76:1,77:1,79:2,80:2,83:1,85:0,86:1,89:0,90:1,94:0,95:0,97:2,98:1,99:1,101:3,102:3,105:1,106:1,108:2,111:1,112:1,113:1,114:1,117:2,118:1,119:4,121:1,126:1,127:1,128:1,129:1,130:1,131:1,133:1,134:1,135:1,136:2,137:2,138:2,140:1,141:1,142:3,143:4,144:4,161:1,162:1,163:1,164:1,165:2,172:1,175:2,176:2,177:3,178:2,179:1,184:1,186:1,189:3,190:1,195:3,196:3,197:1,198:1,199:3,201:1,207:4,210:3,211:1,212:2,213:2,214:1,215:1,225:0,229:1,230:1,231:1,232:1,233:1,234:1,235:3,244:1,247:4,252:2,257:1,261:1,271:1,273:4,274:2,275:2,276:2,277:3,278:3,279:1,280:3,281:3,282:3,283:1,284:1,285:2,286:4,287:3,288:2,289:4,290:3,291:3,292:3,293:4,294:1,295:3,296:1,297:3,298:1,299:2,300:3,301:3,302:4,303:2,304:2,305:2,306:2,307:2,308:2,309:3,310:2,311:2,312:2,313:2,314:2,315:2,316:4,325:2,326:2,327:2,328:2,331:2,332:2,337:2,342:1,343:1,346:2,347:1,350:4,351:3,352:1,353:2,360:1,368:1,369:1,370:1,371:1,372:1,373:1,374:1,375:1,376:1,377:1,378:1,382:3,385:1,392:1,393:1,396:2,397:2,398:2,399:1,400:1,401:1,402:1,403:1,404:1,405:1,406:1,407:1,408:1,409:1,410:1,414:4,415:1,416:1,417:2,420:1,421:1,422:2,424:1,425:2,426:2,427:2,428:2,430:3,438:3,439:3,440:3,443:2,444:2,445:2,446:2,447:6,448:6,449:2,450:2,464:2,468:3,476:2,479:1,480:2,65535:0};var Qh={\"_xlfn.ACOT\":\"ACOT\",\"_xlfn.ACOTH\":\"ACOTH\",\"_xlfn.AGGREGATE\":\"AGGREGATE\",\"_xlfn.ARABIC\":\"ARABIC\",\"_xlfn.AVERAGEIF\":\"AVERAGEIF\",\"_xlfn.AVERAGEIFS\":\"AVERAGEIFS\",\"_xlfn.BASE\":\"BASE\",\"_xlfn.BETA.DIST\":\"BETA.DIST\",\"_xlfn.BETA.INV\":\"BETA.INV\",\"_xlfn.BINOM.DIST\":\"BINOM.DIST\",\"_xlfn.BINOM.DIST.RANGE\":\"BINOM.DIST.RANGE\",\"_xlfn.BINOM.INV\":\"BINOM.INV\",\"_xlfn.BITAND\":\"BITAND\",\"_xlfn.BITLSHIFT\":\"BITLSHIFT\",\"_xlfn.BITOR\":\"BITOR\",\"_xlfn.BITRSHIFT\":\"BITRSHIFT\",\"_xlfn.BITXOR\":\"BITXOR\",\"_xlfn.CEILING.MATH\":\"CEILING.MATH\",\"_xlfn.CEILING.PRECISE\":\"CEILING.PRECISE\",\"_xlfn.CHISQ.DIST\":\"CHISQ.DIST\",\"_xlfn.CHISQ.DIST.RT\":\"CHISQ.DIST.RT\",\"_xlfn.CHISQ.INV\":\"CHISQ.INV\",\"_xlfn.CHISQ.INV.RT\":\"CHISQ.INV.RT\",\"_xlfn.CHISQ.TEST\":\"CHISQ.TEST\",\"_xlfn.COMBINA\":\"COMBINA\",\"_xlfn.CONCAT\":\"CONCAT\",\"_xlfn.CONFIDENCE.NORM\":\"CONFIDENCE.NORM\",\"_xlfn.CONFIDENCE.T\":\"CONFIDENCE.T\",\"_xlfn.COT\":\"COT\",\"_xlfn.COTH\":\"COTH\",\"_xlfn.COUNTIFS\":\"COUNTIFS\",\"_xlfn.COVARIANCE.P\":\"COVARIANCE.P\",\"_xlfn.COVARIANCE.S\":\"COVARIANCE.S\",\"_xlfn.CSC\":\"CSC\",\"_xlfn.CSCH\":\"CSCH\",\"_xlfn.DAYS\":\"DAYS\",\"_xlfn.DECIMAL\":\"DECIMAL\",\"_xlfn.ECMA.CEILING\":\"ECMA.CEILING\",\"_xlfn.ERF.PRECISE\":\"ERF.PRECISE\",\"_xlfn.ERFC.PRECISE\":\"ERFC.PRECISE\",\"_xlfn.EXPON.DIST\":\"EXPON.DIST\",\"_xlfn.F.DIST\":\"F.DIST\",\"_xlfn.F.DIST.RT\":\"F.DIST.RT\",\"_xlfn.F.INV\":\"F.INV\",\"_xlfn.F.INV.RT\":\"F.INV.RT\",\"_xlfn.F.TEST\":\"F.TEST\",\"_xlfn.FILTERXML\":\"FILTERXML\",\"_xlfn.FLOOR.MATH\":\"FLOOR.MATH\",\"_xlfn.FLOOR.PRECISE\":\"FLOOR.PRECISE\",\"_xlfn.FORECAST.ETS\":\"FORECAST.ETS\",\"_xlfn.FORECAST.ETS.CONFINT\":\"FORECAST.ETS.CONFINT\",\"_xlfn.FORECAST.ETS.SEASONALITY\":\"FORECAST.ETS.SEASONALITY\",\"_xlfn.FORECAST.ETS.STAT\":\"FORECAST.ETS.STAT\",\"_xlfn.FORECAST.LINEAR\":\"FORECAST.LINEAR\",\"_xlfn.FORMULATEXT\":\"FORMULATEXT\",\"_xlfn.GAMMA\":\"GAMMA\",\"_xlfn.GAMMA.DIST\":\"GAMMA.DIST\",\"_xlfn.GAMMA.INV\":\"GAMMA.INV\",\"_xlfn.GAMMALN.PRECISE\":\"GAMMALN.PRECISE\",\"_xlfn.GAUSS\":\"GAUSS\",\"_xlfn.HYPGEOM.DIST\":\"HYPGEOM.DIST\",\"_xlfn.IFERROR\":\"IFERROR\",\"_xlfn.IFNA\":\"IFNA\",\"_xlfn.IFS\":\"IFS\",\"_xlfn.IMCOSH\":\"IMCOSH\",\"_xlfn.IMCOT\":\"IMCOT\",\"_xlfn.IMCSC\":\"IMCSC\",\"_xlfn.IMCSCH\":\"IMCSCH\",\"_xlfn.IMSEC\":\"IMSEC\",\"_xlfn.IMSECH\":\"IMSECH\",\"_xlfn.IMSINH\":\"IMSINH\",\"_xlfn.IMTAN\":\"IMTAN\",\"_xlfn.ISFORMULA\":\"ISFORMULA\",\"_xlfn.ISO.CEILING\":\"ISO.CEILING\",\"_xlfn.ISOWEEKNUM\":\"ISOWEEKNUM\",\"_xlfn.LOGNORM.DIST\":\"LOGNORM.DIST\",\"_xlfn.LOGNORM.INV\":\"LOGNORM.INV\",\"_xlfn.MAXIFS\":\"MAXIFS\",\"_xlfn.MINIFS\":\"MINIFS\",\"_xlfn.MODE.MULT\":\"MODE.MULT\",\"_xlfn.MODE.SNGL\":\"MODE.SNGL\",\"_xlfn.MUNIT\":\"MUNIT\",\"_xlfn.NEGBINOM.DIST\":\"NEGBINOM.DIST\",\"_xlfn.NETWORKDAYS.INTL\":\"NETWORKDAYS.INTL\",\"_xlfn.NIGBINOM\":\"NIGBINOM\",\"_xlfn.NORM.DIST\":\"NORM.DIST\",\"_xlfn.NORM.INV\":\"NORM.INV\",\"_xlfn.NORM.S.DIST\":\"NORM.S.DIST\",\"_xlfn.NORM.S.INV\":\"NORM.S.INV\",\"_xlfn.NUMBERVALUE\":\"NUMBERVALUE\",\"_xlfn.PDURATION\":\"PDURATION\",\"_xlfn.PERCENTILE.EXC\":\"PERCENTILE.EXC\",\"_xlfn.PERCENTILE.INC\":\"PERCENTILE.INC\",\"_xlfn.PERCENTRANK.EXC\":\"PERCENTRANK.EXC\",\"_xlfn.PERCENTRANK.INC\":\"PERCENTRANK.INC\",\"_xlfn.PERMUTATIONA\":\"PERMUTATIONA\",\"_xlfn.PHI\":\"PHI\",\"_xlfn.POISSON.DIST\":\"POISSON.DIST\",\"_xlfn.QUARTILE.EXC\":\"QUARTILE.EXC\",\"_xlfn.QUARTILE.INC\":\"QUARTILE.INC\",\"_xlfn.QUERYSTRING\":\"QUERYSTRING\",\"_xlfn.RANK.AVG\":\"RANK.AVG\",\"_xlfn.RANK.EQ\":\"RANK.EQ\",\"_xlfn.RRI\":\"RRI\",\"_xlfn.SEC\":\"SEC\",\"_xlfn.SECH\":\"SECH\",\"_xlfn.SHEET\":\"SHEET\",\"_xlfn.SHEETS\":\"SHEETS\",\"_xlfn.SKEW.P\":\"SKEW.P\",\"_xlfn.STDEV.P\":\"STDEV.P\",\"_xlfn.STDEV.S\":\"STDEV.S\",\"_xlfn.SUMIFS\":\"SUMIFS\",\"_xlfn.SWITCH\":\"SWITCH\",\"_xlfn.T.DIST\":\"T.DIST\",\"_xlfn.T.DIST.2T\":\"T.DIST.2T\",\"_xlfn.T.DIST.RT\":\"T.DIST.RT\",\"_xlfn.T.INV\":\"T.INV\",\"_xlfn.T.INV.2T\":\"T.INV.2T\",\"_xlfn.T.TEST\":\"T.TEST\",\"_xlfn.TEXTJOIN\":\"TEXTJOIN\",\"_xlfn.UNICHAR\":\"UNICHAR\",\"_xlfn.UNICODE\":\"UNICODE\",\"_xlfn.VAR.P\":\"VAR.P\",\"_xlfn.VAR.S\":\"VAR.S\",\"_xlfn.WEBSERVICE\":\"WEBSERVICE\",\"_xlfn.WEIBULL.DIST\":\"WEIBULL.DIST\",\"_xlfn.WORKDAY.INTL\":\"WORKDAY.INTL\",\"_xlfn.XOR\":\"XOR\",\"_xlfn.Z.TEST\":\"Z.TEST\"};function Jh(e){if(e.slice(0,3)==\"of:\")e=e.slice(3);if(e.charCodeAt(0)==61){e=e.slice(1);if(e.charCodeAt(0)==61)e=e.slice(1)}e=e.replace(/COM\\.MICROSOFT\\./g,\"\");e=e.replace(/\\[((?:\\.[A-Z]+[0-9]+)(?::\\.[A-Z]+[0-9]+)?)\\]/g,function(e,r){return r.replace(/\\./g,\"\")});e=e.replace(/\\[.(#[A-Z]*[?!])\\]/g,\"$1\");return e.replace(/[;~]/g,\",\").replace(/\\|/g,\";\")}function qh(e){var r=\"of:=\"+e.replace(ec,\"$1[.$2$3$4$5]\").replace(/\\]:\\[/g,\":\");return r.replace(/;/g,\"|\").replace(/,/g,\";\")}function eu(e){var r=e.split(\":\");var t=r[0].split(\".\")[0];return[t,r[0].split(\".\")[1]+(r.length>1?\":\"+(r[1].split(\".\")[1]||r[1].split(\".\")[0]):\"\")]}function ru(e){return e.replace(/\\./,\"!\")}var tu={};var au={};Na.WS=[\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/worksheet\",\"http://purl.oclc.org/ooxml/officeDocument/relationships/worksheet\"];var nu=typeof Map!==\"undefined\";function iu(e,r,t){var a=0,n=e.length;if(t){if(nu?t.has(r):Object.prototype.hasOwnProperty.call(t,r)){var i=nu?t.get(r):t[r];for(;a<i.length;++a){if(e[i[a]].t===r){e.Count++;return i[a]}}}}else for(;a<n;++a){if(e[a].t===r){e.Count++;return a}}e[n]={t:r};e.Count++;e.Unique++;if(t){if(nu){if(!t.has(r))t.set(r,[]);t.get(r).push(n)}else{if(!Object.prototype.hasOwnProperty.call(t,r))t[r]=[];t[r].push(n)}}return n}function su(e,r){var t={min:e+1,max:e+1};var a=-1;if(r.MDW)co=r.MDW;if(r.width!=null)t.customWidth=1;else if(r.wpx!=null)a=uo(r.wpx);else if(r.wch!=null)a=r.wch;if(a>-1){t.width=po(a);t.customWidth=1}else if(r.width!=null)t.width=r.width;if(r.hidden)t.hidden=true;return t}function fu(e,r){if(!e)return;var t=[.7,.7,.75,.75,.3,.3];if(r==\"xlml\")t=[1,1,1,1,.5,.5];if(e.left==null)e.left=t[0];if(e.right==null)e.right=t[1];if(e.top==null)e.top=t[2];if(e.bottom==null)e.bottom=t[3];if(e.header==null)e.header=t[4];if(e.footer==null)e.footer=t[5]}function ou(e,r,t){var a=t.revssf[r.z!=null?r.z:\"General\"];var n=60,i=e.length;if(a==null&&t.ssf){for(;n<392;++n)if(t.ssf[n]==null){D.load(r.z,n);t.ssf[n]=r.z;t.revssf[r.z]=a=n;break}}for(n=0;n!=i;++n)if(e[n].numFmtId===a)return n;e[i]={numFmtId:a,fontId:0,fillId:0,borderId:0,xfId:0,applyNumberFormat:1};return i}function lu(e,r,t,a,n,i){try{if(a.cellNF)e.z=D._table[r]}catch(s){if(a.WTF)throw s}if(e.t===\"z\")return;if(e.t===\"d\"&&typeof e.v===\"string\")e.v=se(e.v);if(!a||a.cellText!==false)try{if(D._table[r]==null)D.load(N[r]||\"General\",r);if(e.t===\"e\")e.w=e.w||Zt[e.v];else if(r===0){if(e.t===\"n\"){if((e.v|0)===e.v)e.w=D._general_int(e.v);else e.w=D._general_num(e.v)}else if(e.t===\"d\"){var f=re(e.v);if((f|0)===f)e.w=D._general_int(f);else e.w=D._general_num(f)}else if(e.v===undefined)return\"\";else e.w=D._general(e.v,au)}else if(e.t===\"d\")e.w=D.format(r,re(e.v),au);else e.w=D.format(r,e.v,au)}catch(s){if(a.WTF)throw s}if(!a.cellStyles)return;if(t!=null)try{e.s=i.Fills[t];if(e.s.fgColor&&e.s.fgColor.theme&&!e.s.fgColor.rgb){e.s.fgColor.rgb=so(n.themeElements.clrScheme[e.s.fgColor.theme].rgb,e.s.fgColor.tint||0);if(a.WTF)e.s.fgColor.raw_rgb=n.themeElements.clrScheme[e.s.fgColor.theme].rgb}if(e.s.bgColor&&e.s.bgColor.theme){e.s.bgColor.rgb=so(n.themeElements.clrScheme[e.s.bgColor.theme].rgb,e.s.bgColor.tint||0);if(a.WTF)e.s.bgColor.raw_rgb=n.themeElements.clrScheme[e.s.bgColor.theme].rgb}}catch(s){if(a.WTF&&i.Fills)throw s}}function cu(e,r,t){if(e&&e[\"!ref\"]){var a=mt(e[\"!ref\"]);if(a.e.c<a.s.c||a.e.r<a.s.r)throw new Error(\"Bad range (\"+t+\"): \"+e[\"!ref\"])}}function hu(e,r){var t=mt(r);if(t.s.r<=t.e.r&&t.s.c<=t.e.c&&t.s.r>=0&&t.s.c>=0)e[\"!ref\"]=bt(t)}var uu=/<(?:\\w:)?mergeCell ref=\"[A-Z0-9:]+\"\\s*[\\/]?>/g;var du=/<(?:\\w+:)?sheetData[^>]*>([\\s\\S]*)<\\/(?:\\w+:)?sheetData>/;var pu=/<(?:\\w:)?hyperlink [^>]*>/gm;var vu=/\"(\\w*:\\w*)\"/;var gu=/<(?:\\w:)?col\\b[^>]*[\\/]?>/g;var bu=/<(?:\\w:)?autoFilter[^>]*([\\/]|>([\\s\\S]*)<\\/(?:\\w:)?autoFilter)>/g;var mu=/<(?:\\w:)?pageMargins[^>]*\\/>/g;var wu=/<(?:\\w:)?sheetPr\\b(?:[^>a-z][^>]*)?\\/>/;var Cu=/<(?:\\w:)?sheetViews[^>]*(?:[\\/]|>([\\s\\S]*)<\\/(?:\\w:)?sheetViews)>/;function ku(e,r,t,a,n,i,s){if(!e)return e;if(!a)a={\"!id\":{}};if(g!=null&&r.dense==null)r.dense=g;var f=r.dense?[]:{};var o={s:{r:2e6,c:2e6},e:{r:0,c:0}};var l=\"\",c=\"\";var h=e.match(du);if(h){l=e.slice(0,h.index);c=e.slice(h.index+h[0].length)}else l=c=e;var u=l.match(wu);if(u)Su(u[0],f,n,t);var d=(l.match(/<(?:\\w*:)?dimension/)||{index:-1}).index;if(d>0){var p=l.slice(d,d+50).match(vu);if(p)hu(f,p[1])}var v=l.match(Cu);if(v&&v[1])Nu(v[1],n);var b=[];if(r.cellStyles){var m=l.match(gu);if(m)Ru(b,m)}if(h)Uu(h[1],f,r,o,i,s);var w=c.match(bu);if(w)f[\"!autofilter\"]=Du(w[0]);var C=[];var k=c.match(uu);if(k)for(d=0;d!=k.length;++d)C[d]=mt(k[d].slice(k[d].indexOf('\"')+1));var E=c.match(pu);if(E)yu(f,E,a);var S=c.match(mu);if(S)f[\"!margins\"]=xu(Oe(S[0]));if(!f[\"!ref\"]&&o.e.c>=o.s.c&&o.e.r>=o.s.r)f[\"!ref\"]=bt(o);if(r.sheetRows>0&&f[\"!ref\"]){var A=mt(f[\"!ref\"]);if(r.sheetRows<=+A.e.r){A.e.r=r.sheetRows-1;if(A.e.r>o.e.r)A.e.r=o.e.r;if(A.e.r<A.s.r)A.s.r=A.e.r;if(A.e.c>o.e.c)A.e.c=o.e.c;if(A.e.c<A.s.c)A.s.c=A.e.c;f[\"!fullref\"]=f[\"!ref\"];f[\"!ref\"]=bt(A)}}if(b.length>0)f[\"!cols\"]=b;if(C.length>0)f[\"!merges\"]=C;return f}function Eu(e){if(e.length===0)return\"\";var r='<mergeCells count=\"'+e.length+'\">';for(var t=0;t!=e.length;++t)r+='<mergeCell ref=\"'+bt(e[t])+'\"/>';return r+\"</mergeCells>\"}function Su(e,r,t,a){var n=Oe(e);if(!t.Sheets[a])t.Sheets[a]={};if(n.codeName)t.Sheets[a].CodeName=n.codeName}function Au(e,r,t,a,n){var i=false;var s={},f=null;if(a.bookType!==\"xlsx\"&&r.vbaraw){var o=r.SheetNames[t];try{if(r.Workbook)o=r.Workbook.Sheets[t].CodeName||o}catch(l){}i=true;s.codeName=Ue(o)}if(!i&&!f)return;n[n.length]=fr(\"sheetPr\",f,s)}var _u=[\"objects\",\"scenarios\",\"selectLockedCells\",\"selectUnlockedCells\"];var Bu=[\"formatColumns\",\"formatRows\",\"formatCells\",\"insertColumns\",\"insertRows\",\"insertHyperlinks\",\"deleteColumns\",\"deleteRows\",\"sort\",\"autoFilter\",\"pivotTables\"];function Tu(e){var r={sheet:1};_u.forEach(function(t){if(e[t]!=null&&e[t])r[t]=\"1\"});Bu.forEach(function(t){if(e[t]!=null&&!e[t])r[t]=\"0\"});if(e.password)r.password=Yf(e.password).toString(16).toUpperCase();return fr(\"sheetProtection\",null,r)}function yu(e,r,t){var a=Array.isArray(e);for(var n=0;n!=r.length;++n){var i=Oe(Ke(r[n]),true);if(!i.ref)return;var s=((t||{})[\"!id\"]||[])[i.id];if(s){i.Target=s.Target;if(i.location)i.Target+=\"#\"+i.location}else{i.Target=\"#\"+i.location;s={Target:i.Target,TargetMode:\"Internal\"}}i.Rel=s;if(i.tooltip){i.Tooltip=i.tooltip;delete i.tooltip}var f=mt(i.ref);for(var o=f.s.r;o<=f.e.r;++o)for(var l=f.s.c;l<=f.e.c;++l){var c=vt({c:l,r:o});if(a){if(!e[o])e[o]=[];if(!e[o][l])e[o][l]={t:\"z\",v:undefined};e[o][l].l=i}else{if(!e[c])e[c]={t:\"z\",v:undefined};e[c].l=i}}}}function xu(e){var r={};[\"left\",\"right\",\"top\",\"bottom\",\"header\",\"footer\"].forEach(function(t){if(e[t])r[t]=parseFloat(e[t])});return r}function Iu(e){fu(e);return fr(\"pageMargins\",null,e)}function Ru(e,r){var t=false;for(var a=0;a!=r.length;++a){var n=Oe(r[a],true);if(n.hidden)n.hidden=je(n.hidden);var i=parseInt(n.min,10)-1,s=parseInt(n.max,10)-1;delete n.min;delete n.max;n.width=+n.width;if(!t&&n.width){t=true;go(n.width)}bo(n);while(i<=s)e[i++]=oe(n)}}function Ou(e,r){var t=[\"<cols>\"],a;for(var n=0;n!=r.length;++n){if(!(a=r[n]))continue;t[t.length]=fr(\"col\",null,su(n,a))}t[t.length]=\"</cols>\";return t.join(\"\")}function Du(e){var r={ref:(e.match(/ref=\"([^\"]*)\"/)||[])[1]};return r}function Fu(e,r,t,a){var n=typeof e.ref==\"string\"?e.ref:bt(e.ref);if(!t.Workbook)t.Workbook={Sheets:[]};if(!t.Workbook.Names)t.Workbook.Names=[];var i=t.Workbook.Names;var s=gt(n);if(s.s.r==s.e.r){s.e.r=gt(r[\"!ref\"]).e.r;n=bt(s)}for(var f=0;f<i.length;++f){var o=i[f];if(o.Name!=\"_xlnm._FilterDatabase\")continue;if(o.Sheet!=a)continue;o.Ref=\"'\"+t.SheetNames[a]+\"'!\"+n;break}if(f==i.length)i.push({Name:\"_xlnm._FilterDatabase\",Sheet:a,Ref:\"'\"+t.SheetNames[a]+\"'!\"+n});return fr(\"autoFilter\",null,{ref:n})}var Pu=/<(?:\\w:)?sheetView(?:[^>a-z][^>]*)?\\/?>/;function Nu(e,r){if(!r.Views)r.Views=[{}];(e.match(Pu)||[]).forEach(function(e,t){var a=Oe(e);if(!r.Views[t])r.Views[t]={};if(je(a.rightToLeft))r.Views[t].RTL=true})}function Lu(e,r,t,a){var n={workbookViewId:\"0\"};if((((a||{}).Workbook||{}).Views||[])[0])n.rightToLeft=a.Workbook.Views[0].RTL?\"1\":\"0\";return fr(\"sheetViews\",fr(\"sheetView\",null,n),{})}function Mu(e,r,t,a){if(e.v===undefined&&e.f===undefined||e.t===\"z\")return\"\";var n=\"\";var i=e.t,s=e.v;if(e.t!==\"z\")switch(e.t){case\"b\":n=e.v?\"1\":\"0\";break;case\"n\":n=\"\"+e.v;break;case\"e\":n=Zt[e.v];break;case\"d\":if(a&&a.cellDates)n=se(e.v,-1).toISOString();else{e=oe(e);e.t=\"n\";n=\"\"+(e.v=re(se(e.v)))}if(typeof e.z===\"undefined\")e.z=D._table[14];break;default:n=e.v;break;}var f=ir(\"v\",Ue(n)),o={r:r};var l=ou(a.cellXfs,e,a);if(l!==0)o.s=l;switch(e.t){case\"n\":break;case\"d\":o.t=\"d\";break;case\"b\":o.t=\"b\";break;case\"e\":o.t=\"e\";break;case\"z\":break;default:if(e.v==null){delete e.t;break}if(a&&a.bookSST){f=ir(\"v\",\"\"+iu(a.Strings,e.v,a.revStrings));o.t=\"s\";break}o.t=\"str\";break;}if(e.t!=i){e.t=i;e.v=s}if(e.f){var c=e.F&&e.F.slice(0,r.length)==r?{t:\"array\",ref:e.F}:null;f=fr(\"f\",Ue(e.f),c)+(e.v!=null?f:\"\")}if(e.l)t[\"!links\"].push([r,e.l]);if(e.c)t[\"!comments\"].push([r,e.c]);return fr(\"c\",f,o)}var Uu=function(){var e=/<(?:\\w+:)?c[ >]/,r=/<\\/(?:\\w+:)?row>/;var t=/r=[\"']([^\"']*)[\"']/,a=/<(?:\\w+:)?is>([\\S\\s]*?)<\\/(?:\\w+:)?is>/;var n=/ref=[\"']([^\"']*)[\"']/;var i=Je(\"v\"),s=Je(\"f\");return function f(o,l,c,h,u,d){var p=0,v=\"\",g=[],b=[],m=0,w=0,C=0,k=\"\",E;var S,A=0,_=0;var B,T;var y=0,x=0;var I=Array.isArray(d.CellXf),R;var O=[];var F=[];var P=Array.isArray(l);var N=[],L={},M=false;for(var U=o.split(r),H=0,W=U.length;H!=W;++H){v=U[H].trim();var z=v.length;if(z===0)continue;for(p=0;p<z;++p)if(v.charCodeAt(p)===62)break;++p;S=Oe(v.slice(0,p),true);A=S.r!=null?parseInt(S.r,10):A+1;_=-1;if(c.sheetRows&&c.sheetRows<A)continue;if(h.s.r>A-1)h.s.r=A-1;if(h.e.r<A-1)h.e.r=A-1;if(c&&c.cellStyles){L={};M=false;if(S.ht){M=true;L.hpt=parseFloat(S.ht);L.hpx=ko(L.hpt)}if(S.hidden==\"1\"){M=true;L.hidden=true}if(S.outlineLevel!=null){M=true;L.level=+S.outlineLevel}if(M)N[A-1]=L}g=v.slice(p).split(e);for(var V=0;V!=g.length;++V)if(g[V].trim().charAt(0)!=\"<\")break;g=g.slice(V);for(p=0;p!=g.length;++p){v=g[p].trim();if(v.length===0)continue;b=v.match(t);m=p;w=0;C=0;v=\"<c \"+(v.slice(0,1)==\"<\"?\">\":\"\")+v;if(b!=null&&b.length===2){m=0;k=b[1];for(w=0;w!=k.length;++w){if((C=k.charCodeAt(w)-64)<1||C>26)break;m=26*m+C}--m;_=m}else++_;for(w=0;w!=v.length;++w)if(v.charCodeAt(w)===62)break;++w;S=Oe(v.slice(0,w),true);if(!S.r)S.r=vt({r:A-1,c:_});k=v.slice(w);E={t:\"\"};if((b=k.match(i))!=null&&b[1]!==\"\")E.v=Ne(b[1]);if(c.cellFormula){if((b=k.match(s))!=null&&b[1]!==\"\"){E.f=ic(Ne(Ke(b[1])));if(b[0].indexOf('t=\"array\"')>-1){E.F=(k.match(n)||[])[1];if(E.F.indexOf(\":\")>-1)O.push([mt(E.F),E.F])}else if(b[0].indexOf('t=\"shared\"')>-1){T=Oe(b[0]);F[parseInt(T.si,10)]=[T,ic(Ne(Ke(b[1]))),S.r]}}else if(b=k.match(/<f[^>]*\\/>/)){T=Oe(b[0]);if(F[T.si])E.f=ac(F[T.si][1],F[T.si][2],S.r)}var X=pt(S.r);for(w=0;w<O.length;++w)if(X.r>=O[w][0].s.r&&X.r<=O[w][0].e.r)if(X.c>=O[w][0].s.c&&X.c<=O[w][0].e.c)E.F=O[w][1]}if(S.t==null&&E.v===undefined){if(E.f||E.F){E.v=0;E.t=\"n\"}else if(!c.sheetStubs)continue;else E.t=\"z\"}else E.t=S.t||\"n\";if(h.s.c>_)h.s.c=_;if(h.e.c<_)h.e.c=_;switch(E.t){case\"n\":if(E.v==\"\"||E.v==null){if(!c.sheetStubs)continue;E.t=\"z\"}else E.v=parseFloat(E.v);break;case\"s\":if(typeof E.v==\"undefined\"){if(!c.sheetStubs)continue;E.t=\"z\"}else{B=tu[parseInt(E.v,10)];E.v=B.t;E.r=B.r;if(c.cellHTML)E.h=B.h}break;case\"str\":E.t=\"s\";E.v=E.v!=null?Ke(E.v):\"\";if(c.cellHTML)E.h=ze(E.v);break;case\"inlineStr\":b=k.match(a);E.t=\"s\";if(b!=null&&(B=Cf(b[1]))){E.v=B.t;if(c.cellHTML)E.h=B.h}else E.v=\"\";break;case\"b\":E.v=je(E.v);break;case\"d\":if(c.cellDates)E.v=se(E.v,1);else{E.v=re(se(E.v,1));E.t=\"n\"}break;case\"e\":if(!c||c.cellText!==false)E.w=E.v;E.v=Qt[E.v];break;}y=x=0;R=null;if(I&&S.s!==undefined){R=d.CellXf[S.s];if(R!=null){if(R.numFmtId!=null)y=R.numFmtId;if(c.cellStyles){if(R.fillId!=null)x=R.fillId}}}lu(E,y,x,c,u,d);if(c.cellDates&&I&&E.t==\"n\"&&D.is_date(D._table[y])){E.t=\"d\";E.v=te(E.v)}if(P){var G=pt(S.r);if(!l[G.r])l[G.r]=[];l[G.r][G.c]=E}else l[S.r]=E}}if(N.length>0)l[\"!rows\"]=N}}();function Hu(e,r,t,a){var n=[],i=[],s=mt(e[\"!ref\"]),f=\"\",o,l=\"\",c=[],h=0,u=0,d=e[\"!rows\"];var p=Array.isArray(e);var v={r:l},g,b=-1;for(u=s.s.c;u<=s.e.c;++u)c[u]=ct(u);for(h=s.s.r;h<=s.e.r;++h){i=[];l=st(h);for(u=s.s.c;u<=s.e.c;++u){o=c[u]+l;var m=p?(e[h]||[])[u]:e[o];if(m===undefined)continue;if((f=Mu(m,o,e,r,t,a))!=null)i.push(f)}if(i.length>0||d&&d[h]){v={r:l};if(d&&d[h]){g=d[h];if(g.hidden)v.hidden=1;b=-1;if(g.hpx)b=Co(g.hpx);else if(g.hpt)b=g.hpt;if(b>-1){v.ht=b;v.customHeight=1}if(g.level){v.outlineLevel=g.level}}n[n.length]=fr(\"row\",i.join(\"\"),v)}}if(d)for(;h<d.length;++h){if(d&&d[h]){v={r:h+1};g=d[h];if(g.hidden)v.hidden=1;b=-1;if(g.hpx)b=Co(g.hpx);else if(g.hpt)b=g.hpt;if(b>-1){v.ht=b;v.customHeight=1}if(g.level){v.outlineLevel=g.level}n[n.length]=fr(\"row\",\"\",v)}}return n.join(\"\")}var Wu=fr(\"worksheet\",null,{xmlns:cr.main[0],\"xmlns:r\":cr.r});function zu(e,r,t,a){var n=[Te,Wu];var i=t.SheetNames[e],s=0,f=\"\";var o=t.Sheets[i];if(o==null)o={};var l=o[\"!ref\"]||\"A1\";var c=mt(l);if(c.e.c>16383||c.e.r>1048575){if(r.WTF)throw new Error(\"Range \"+l+\" exceeds format limit A1:XFD1048576\");c.e.c=Math.min(c.e.c,16383);c.e.r=Math.min(c.e.c,1048575);l=bt(c)}if(!a)a={};o[\"!comments\"]=[];var h=[];Au(o,t,e,r,n);n[n.length]=fr(\"dimension\",null,{ref:l});n[n.length]=Lu(o,r,e,t);if(r.sheetFormat)n[n.length]=fr(\"sheetFormatPr\",null,{defaultRowHeight:r.sheetFormat.defaultRowHeight||\"16\",baseColWidth:r.sheetFormat.baseColWidth||\"10\",outlineLevelRow:r.sheetFormat.outlineLevelRow||\"7\"});if(o[\"!cols\"]!=null&&o[\"!cols\"].length>0)n[n.length]=Ou(o,o[\"!cols\"]);n[s=n.length]=\"<sheetData/>\";o[\"!links\"]=[];if(o[\"!ref\"]!=null){f=Hu(o,r,e,t,a);if(f.length>0)n[n.length]=f}if(n.length>s+1){n[n.length]=\"</sheetData>\";n[s]=n[s].replace(\"/>\",\">\")}if(o[\"!protect\"]!=null)n[n.length]=Tu(o[\"!protect\"]);if(o[\"!autofilter\"]!=null)n[n.length]=Fu(o[\"!autofilter\"],o,t,e);if(o[\"!merges\"]!=null&&o[\"!merges\"].length>0)n[n.length]=Eu(o[\"!merges\"]);var u=-1,d,p=-1;if(o[\"!links\"].length>0){n[n.length]=\"<hyperlinks>\";o[\"!links\"].forEach(function(e){if(!e[1].Target)return;d={ref:e[0]};if(e[1].Target.charAt(0)!=\"#\"){p=za(a,-1,Ue(e[1].Target).replace(/#.*$/,\"\"),Na.HLINK);d[\"r:id\"]=\"rId\"+p}if((u=e[1].Target.indexOf(\"#\"))>-1)d.location=Ue(e[1].Target.slice(u+1));if(e[1].Tooltip)d.tooltip=Ue(e[1].Tooltip);n[n.length]=fr(\"hyperlink\",null,d)});n[n.length]=\"</hyperlinks>\"}delete o[\"!links\"];if(o[\"!margins\"]!=null)n[n.length]=Iu(o[\"!margins\"]);if(!r||r.ignoreEC||r.ignoreEC==void 0)n[n.length]=ir(\"ignoredErrors\",fr(\"ignoredError\",null,{numberStoredAsText:1,sqref:l}));if(h.length>0){p=za(a,-1,\"../drawings/drawing\"+(e+1)+\".xml\",Na.DRAW);n[n.length]=fr(\"drawing\",null,{\"r:id\":\"rId\"+p});o[\"!drawing\"]=h}if(o[\"!comments\"].length>0){p=za(a,-1,\"../drawings/vmlDrawing\"+(e+1)+\".vml\",Na.VML);n[n.length]=fr(\"legacyDrawing\",null,{\"r:id\":\"rId\"+p});o[\"!legacy\"]=p}if(n.length>1){n[n.length]=\"</worksheet>\";n[1]=n[1].replace(\"/>\",\">\")}return n.join(\"\")}function Vu(e,r){var t={};var a=e.l+r;t.r=e._R(4);e.l+=4;var n=e._R(2);e.l+=1;var i=e._R(1);e.l=a;if(i&7)t.level=i&7;if(i&16)t.hidden=true;if(i&32)t.hpt=n/20;return t}function Xu(e,r,t){var a=$r(17+8*16);var n=(t[\"!rows\"]||[])[e]||{};a._W(4,e);a._W(4,0);var i=320;if(n.hpx)i=Co(n.hpx)*20;else if(n.hpt)i=n.hpt*20;a._W(2,i);a._W(1,0);var s=0;if(n.level)s|=n.level;if(n.hidden)s|=16;if(n.hpx||n.hpt)s|=32;a._W(1,s);a._W(1,0);var f=0,o=a.l;a.l+=4;var l={r:e,c:0};for(var c=0;c<16;++c){if(r.s.c>c+1<<10||r.e.c<c<<10)continue;var h=-1,u=-1;for(var d=c<<10;d<c+1<<10;++d){l.c=d;var p=Array.isArray(t)?(t[l.r]||[])[l.c]:t[vt(l)];if(p){if(h<0)h=d;u=d}}if(h<0)continue;++f;a._W(4,h);a._W(4,u)}var v=a.l;a.l=o;a._W(4,f);a.l=v;return a.length>a.l?a.slice(0,a.l):a}function Gu(e,r,t,a){var n=Xu(a,t,r);if(n.length>17||(r[\"!rows\"]||[])[a])Jr(e,\"BrtRowHdr\",n)}var ju=jt;var Ku=Kt;function Yu(){}function $u(e,r){var t={};e.l+=19;t.name=Pt(e,r-19);return t}function Zu(e,r){if(r==null)r=$r(84+4*e.length);for(var t=0;t<3;++t)r._W(1,0);qt({auto:1},r);r._W(-4,-1);r._W(-4,-1);Nt(e,r);return r.slice(0,r.l)}function Qu(e){var r=Dt(e);return[r]}function Ju(e,r,t){if(t==null)t=$r(8);return Ft(r,t)}function qu(e){var r=Dt(e);var t=e._R(1);return[r,t,\"b\"]}function ed(e,r,t){if(t==null)t=$r(9);Ft(r,t);t._W(1,e.v?1:0);return t}function rd(e){var r=Dt(e);var t=e._R(1);return[r,t,\"e\"]}function td(e){var r=Dt(e);var t=e._R(4);return[r,t,\"s\"]}function ad(e,r,t){if(t==null)t=$r(12);Ft(r,t);t._W(4,r.v);return t}function nd(e){var r=Dt(e);var t=Yt(e);return[r,t,\"n\"]}function id(e,r,t){if(t==null)t=$r(16);Ft(r,t);$t(e.v,t);return t}function sd(e){var r=Dt(e);var t=zt(e);return[r,t,\"n\"]}function fd(e,r,t){if(t==null)t=$r(12);Ft(r,t);Vt(e.v,t);return t}function od(e){var r=Dt(e);var t=_t(e);return[r,t,\"str\"]}function ld(e,r,t){if(t==null)t=$r(12+4*e.v.length);Ft(r,t);Bt(e.v,t);return t.length>t.l?t.slice(0,t.l):t}function cd(e,r,t){var a=e.l+r;var n=Dt(e);n.r=t[\"!row\"];var i=e._R(1);var s=[n,i,\"b\"];if(t.cellFormula){e.l+=2;var f=Gh(e,a-e.l,t);s[3]=Fh(f,null,n,t.supbooks,t)}else e.l=a;return s}function hd(e,r,t){var a=e.l+r;var n=Dt(e);n.r=t[\"!row\"];var i=e._R(1);var s=[n,i,\"e\"];if(t.cellFormula){e.l+=2;var f=Gh(e,a-e.l,t);s[3]=Fh(f,null,n,t.supbooks,t)}else e.l=a;return s}function ud(e,r,t){var a=e.l+r;var n=Dt(e);n.r=t[\"!row\"];var i=Yt(e);var s=[n,i,\"n\"];if(t.cellFormula){e.l+=2;var f=Gh(e,a-e.l,t);s[3]=Fh(f,null,n,t.supbooks,t)}else e.l=a;return s}function dd(e,r,t){var a=e.l+r;var n=Dt(e);n.r=t[\"!row\"];var i=_t(e);var s=[n,i,\"str\"];if(t.cellFormula){e.l+=2;var f=Gh(e,a-e.l,t);s[3]=Fh(f,null,n,t.supbooks,t)}else e.l=a;return s}var pd=jt;var vd=Kt;function gd(e,r){if(r==null)r=$r(4);r._W(4,e);return r}function bd(e,r){var t=e.l+r;var a=jt(e,16);var n=Lt(e);var i=_t(e);var s=_t(e);var f=_t(e);e.l=t;var o={rfx:a,relId:n,loc:i,display:f};if(s)o.Tooltip=s;return o}function md(e,r){var t=$r(50+4*(e[1].Target.length+(e[1].Tooltip||\"\").length));Kt({s:pt(e[0]),e:pt(e[0])},t);Wt(\"rId\"+r,t);var a=e[1].Target.indexOf(\"#\");var n=a==-1?\"\":e[1].Target.slice(a+1);Bt(n||\"\",t);Bt(e[1].Tooltip||\"\",t);Bt(\"\",t);return t.slice(0,t.l)}function wd(){}function Cd(e,r,t){var a=e.l+r;var n=Xt(e,16);var i=e._R(1);var s=[n];s[2]=i;if(t.cellFormula){var f=Xh(e,a-e.l,t);s[1]=f}else e.l=a;return s}function kd(e,r,t){var a=e.l+r;var n=jt(e,16);var i=[n];if(t.cellFormula){var s=Kh(e,a-e.l,t);i[1]=s;e.l=a}else e.l=a;return i}function Ed(e,r,t){if(t==null)t=$r(18);var a=su(e,r);t._W(-4,e);t._W(-4,e);t._W(4,(a.width||10)*256);t._W(4,0);var n=0;if(r.hidden)n|=1;if(typeof a.width==\"number\")n|=2;if(r.level)n|=r.level<<8;t._W(2,n);return t}var Sd=[\"left\",\"right\",\"top\",\"bottom\",\"header\",\"footer\"];function Ad(e){var r={};Sd.forEach(function(t){r[t]=Yt(e,8)});return r}function _d(e,r){if(r==null)r=$r(6*8);fu(e);Sd.forEach(function(t){$t(e[t],r)});return r}function Bd(e){var r=e._R(2);e.l+=28;return{RTL:r&32}}function Td(e,r,t){if(t==null)t=$r(30);var a=924;if((((r||{}).Views||[])[0]||{}).RTL)a|=32;t._W(2,a);t._W(4,0);t._W(4,0);t._W(4,0);t._W(1,0);t._W(1,0);t._W(2,0);t._W(2,100);t._W(2,0);t._W(2,0);t._W(2,0);t._W(4,0);return t}function yd(e){var r=$r(24);r._W(4,4);r._W(4,1);Kt(e,r);return r}function xd(e,r){if(r==null)r=$r(16*4+2);r._W(2,e.password?Yf(e.password):0);r._W(4,1);\n[[\"objects\",false],[\"scenarios\",false],[\"formatCells\",true],[\"formatColumns\",true],[\"formatRows\",true],[\"insertColumns\",true],[\"insertRows\",true],[\"insertHyperlinks\",true],[\"deleteColumns\",true],[\"deleteRows\",true],[\"selectLockedCells\",false],[\"sort\",true],[\"autoFilter\",true],[\"pivotTables\",true],[\"selectUnlockedCells\",false]].forEach(function(t){if(t[1])r._W(4,e[t[0]]!=null&&!e[t[0]]?1:0);else r._W(4,e[t[0]]!=null&&e[t[0]]?0:1)});return r}function Id(){}function Rd(){}function Od(e,r,t,a,n,i,s){if(!e)return e;var f=r||{};if(!a)a={\"!id\":{}};if(g!=null&&f.dense==null)f.dense=g;var o=f.dense?[]:{};var l;var c={s:{r:2e6,c:2e6},e:{r:0,c:0}};var h=[];var u=false,d=false;var p,v,b,m,w,C,k,E,S;var A=[];f.biff=12;f[\"!row\"]=0;var _=0,B=false;var T=[];var y={};var x=f.supbooks||n.supbooks||[[]];x.sharedf=y;x.arrayf=T;x.SheetNames=n.SheetNames||n.Sheets.map(function(e){return e.name});if(!f.supbooks){f.supbooks=x;if(n.Names)for(var I=0;I<n.Names.length;++I)x[0][I+1]=n.Names[I]}var R=[],O=[];var F=false;Zr(e,function N(e,r,g){if(d)return;switch(g){case 148:l=e;break;case 0:p=e;if(f.sheetRows&&f.sheetRows<=p.r)d=true;E=st(m=p.r);f[\"!row\"]=p.r;if(e.hidden||e.hpt||e.level!=null){if(e.hpt)e.hpx=ko(e.hpt);O[e.r]=e}break;case 2:;case 3:;case 4:;case 5:;case 6:;case 7:;case 8:;case 9:;case 10:;case 11:v={t:e[2]};switch(e[2]){case\"n\":v.v=e[1];break;case\"s\":k=tu[e[1]];v.v=k.t;v.r=k.r;break;case\"b\":v.v=e[1]?true:false;break;case\"e\":v.v=e[1];if(f.cellText!==false)v.w=Zt[v.v];break;case\"str\":v.t=\"s\";v.v=e[1];break;}if(b=s.CellXf[e[0].iStyleRef])lu(v,b.numFmtId,null,f,i,s);w=e[0].c;if(f.dense){if(!o[m])o[m]=[];o[m][w]=v}else o[ct(w)+E]=v;if(f.cellFormula){B=false;for(_=0;_<T.length;++_){var I=T[_];if(p.r>=I[0].s.r&&p.r<=I[0].e.r)if(w>=I[0].s.c&&w<=I[0].e.c){v.F=bt(I[0]);B=true}}if(!B&&e.length>3)v.f=e[3]}if(c.s.r>p.r)c.s.r=p.r;if(c.s.c>w)c.s.c=w;if(c.e.r<p.r)c.e.r=p.r;if(c.e.c<w)c.e.c=w;if(f.cellDates&&b&&v.t==\"n\"&&D.is_date(D._table[b.numFmtId])){var P=D.parse_date_code(v.v);if(P){v.t=\"d\";v.v=new Date(P.y,P.m-1,P.d,P.H,P.M,P.S,P.u)}}break;case 1:if(!f.sheetStubs||u)break;v={t:\"z\",v:undefined};w=e[0].c;if(f.dense){if(!o[m])o[m]=[];o[m][w]=v}else o[ct(w)+E]=v;if(c.s.r>p.r)c.s.r=p.r;if(c.s.c>w)c.s.c=w;if(c.e.r<p.r)c.e.r=p.r;if(c.e.c<w)c.e.c=w;break;case 176:A.push(e);break;case 494:var N=a[\"!id\"][e.relId];if(N){e.Target=N.Target;if(e.loc)e.Target+=\"#\"+e.loc;e.Rel=N}else if(e.relId==\"\"){e.Target=\"#\"+e.loc}for(m=e.rfx.s.r;m<=e.rfx.e.r;++m)for(w=e.rfx.s.c;w<=e.rfx.e.c;++w){if(f.dense){if(!o[m])o[m]=[];if(!o[m][w])o[m][w]={t:\"z\",v:undefined};o[m][w].l=e}else{C=vt({c:w,r:m});if(!o[C])o[C]={t:\"z\",v:undefined};o[C].l=e}}break;case 426:if(!f.cellFormula)break;T.push(e);S=f.dense?o[m][w]:o[ct(w)+E];S.f=Fh(e[1],c,{r:p.r,c:w},x,f);S.F=bt(e[0]);break;case 427:if(!f.cellFormula)break;y[vt(e[0].s)]=e[1];S=f.dense?o[m][w]:o[ct(w)+E];S.f=Fh(e[1],c,{r:p.r,c:w},x,f);break;case 60:if(!f.cellStyles)break;while(e.e>=e.s){R[e.e--]={width:e.w/256,hidden:!!(e.flags&1),level:e.level};if(!F){F=true;go(e.w/256)}bo(R[e.e+1])}break;case 161:o[\"!autofilter\"]={ref:bt(e)};break;case 476:o[\"!margins\"]=e;break;case 147:if(!n.Sheets[t])n.Sheets[t]={};if(e.name)n.Sheets[t].CodeName=e.name;break;case 137:if(!n.Views)n.Views=[{}];if(!n.Views[0])n.Views[0]={};if(e.RTL)n.Views[0].RTL=true;break;case 485:break;case 64:;case 1053:break;case 151:break;case 175:;case 644:;case 625:;case 562:;case 396:;case 1112:;case 1146:;case 471:;case 1050:;case 649:;case 1105:;case 49:;case 589:;case 607:;case 564:;case 1055:;case 168:;case 174:;case 1180:;case 499:;case 550:;case 171:;case 167:;case 1177:;case 169:;case 1181:;case 551:;case 552:;case 661:;case 639:;case 478:;case 537:;case 477:;case 536:;case 1103:;case 680:;case 1104:;case 1024:;case 152:;case 663:;case 535:;case 678:;case 504:;case 1043:;case 428:;case 170:;case 3072:;case 50:;case 2070:;case 1045:break;case 35:u=true;break;case 36:u=false;break;case 37:h.push(r);u=true;break;case 38:h.pop();u=false;break;default:if((r||\"\").indexOf(\"Begin\")>0){}else if((r||\"\").indexOf(\"End\")>0){}else if(!u||f.WTF)throw new Error(\"Unexpected record \"+g+\" \"+r);}},f);delete f.supbooks;delete f[\"!row\"];if(!o[\"!ref\"]&&(c.s.r<2e6||l&&(l.e.r>0||l.e.c>0||l.s.r>0||l.s.c>0)))o[\"!ref\"]=bt(l||c);if(f.sheetRows&&o[\"!ref\"]){var P=mt(o[\"!ref\"]);if(f.sheetRows<=+P.e.r){P.e.r=f.sheetRows-1;if(P.e.r>c.e.r)P.e.r=c.e.r;if(P.e.r<P.s.r)P.s.r=P.e.r;if(P.e.c>c.e.c)P.e.c=c.e.c;if(P.e.c<P.s.c)P.s.c=P.e.c;o[\"!fullref\"]=o[\"!ref\"];o[\"!ref\"]=bt(P)}}if(A.length>0)o[\"!merges\"]=A;if(R.length>0)o[\"!cols\"]=R;if(O.length>0)o[\"!rows\"]=O;return o}function Dd(e,r,t,a,n,i){if(r.v===undefined)return;var s=\"\";switch(r.t){case\"b\":s=r.v?\"1\":\"0\";break;case\"d\":r=oe(r);r.z=r.z||D._table[14];r.v=re(se(r.v));r.t=\"n\";break;case\"n\":;case\"e\":s=\"\"+r.v;break;default:s=r.v;break;}var f={r:t,c:a};f.s=ou(n.cellXfs,r,n);if(r.l)i[\"!links\"].push([vt(f),r.l]);if(r.c)i[\"!comments\"].push([vt(f),r.c]);switch(r.t){case\"s\":;case\"str\":if(n.bookSST){s=iu(n.Strings,r.v,n.revStrings);f.t=\"s\";f.v=s;Jr(e,\"BrtCellIsst\",ad(r,f))}else{f.t=\"str\";Jr(e,\"BrtCellSt\",ld(r,f))}return;case\"n\":if(r.v==(r.v|0)&&r.v>-1e3&&r.v<1e3)Jr(e,\"BrtCellRk\",fd(r,f));else Jr(e,\"BrtCellReal\",id(r,f));return;case\"b\":f.t=\"b\";Jr(e,\"BrtCellBool\",ed(r,f));return;case\"e\":f.t=\"e\";break;}Jr(e,\"BrtCellBlank\",Ju(r,f))}function Fd(e,r,t,a){var n=mt(r[\"!ref\"]||\"A1\"),i,s=\"\",f=[];Jr(e,\"BrtBeginSheetData\");var o=Array.isArray(r);var l=n.e.r;if(r[\"!rows\"])l=Math.max(n.e.r,r[\"!rows\"].length-1);for(var c=n.s.r;c<=l;++c){s=st(c);Gu(e,r,n,c);if(c<=n.e.r)for(var h=n.s.c;h<=n.e.c;++h){if(c===n.s.r)f[h]=ct(h);i=f[h]+s;var u=o?(r[c]||[])[h]:r[i];if(!u)continue;Dd(e,u,c,h,a,r)}}Jr(e,\"BrtEndSheetData\")}function Pd(e,r){if(!r||!r[\"!merges\"])return;Jr(e,\"BrtBeginMergeCells\",gd(r[\"!merges\"].length));r[\"!merges\"].forEach(function(r){Jr(e,\"BrtMergeCell\",vd(r))});Jr(e,\"BrtEndMergeCells\")}function Nd(e,r){if(!r||!r[\"!cols\"])return;Jr(e,\"BrtBeginColInfos\");r[\"!cols\"].forEach(function(r,t){if(r)Jr(e,\"BrtColInfo\",Ed(t,r))});Jr(e,\"BrtEndColInfos\")}function Ld(e,r){if(!r||!r[\"!ref\"])return;Jr(e,\"BrtBeginCellIgnoreECs\");Jr(e,\"BrtCellIgnoreEC\",yd(mt(r[\"!ref\"])));Jr(e,\"BrtEndCellIgnoreECs\")}function Md(e,r,t){r[\"!links\"].forEach(function(r){if(!r[1].Target)return;var a=za(t,-1,r[1].Target.replace(/#.*$/,\"\"),Na.HLINK);Jr(e,\"BrtHLink\",md(r,a))});delete r[\"!links\"]}function Ud(e,r,t,a){if(r[\"!comments\"].length>0){var n=za(a,-1,\"../drawings/vmlDrawing\"+(t+1)+\".vml\",Na.VML);Jr(e,\"BrtLegacyDrawing\",Wt(\"rId\"+n));r[\"!legacy\"]=n}}function Hd(e,r,t,a){if(!r[\"!autofilter\"])return;var n=r[\"!autofilter\"];var i=typeof n.ref===\"string\"?n.ref:bt(n.ref);if(!t.Workbook)t.Workbook={Sheets:[]};if(!t.Workbook.Names)t.Workbook.Names=[];var s=t.Workbook.Names;var f=gt(i);if(f.s.r==f.e.r){f.e.r=gt(r[\"!ref\"]).e.r;i=bt(f)}for(var o=0;o<s.length;++o){var l=s[o];if(l.Name!=\"_xlnm._FilterDatabase\")continue;if(l.Sheet!=a)continue;l.Ref=\"'\"+t.SheetNames[a]+\"'!\"+i;break}if(o==s.length)s.push({Name:\"_xlnm._FilterDatabase\",Sheet:a,Ref:\"'\"+t.SheetNames[a]+\"'!\"+i});Jr(e,\"BrtBeginAFilter\",Kt(mt(i)));Jr(e,\"BrtEndAFilter\")}function Wd(e,r,t){Jr(e,\"BrtBeginWsViews\");{Jr(e,\"BrtBeginWsView\",Td(r,t));Jr(e,\"BrtEndWsView\")}Jr(e,\"BrtEndWsViews\")}function zd(){}function Vd(e,r){if(!r[\"!protect\"])return;Jr(e,\"BrtSheetProtection\",xd(r[\"!protect\"]))}function Xd(e,r,t,a){var n=Qr();var i=t.SheetNames[e],s=t.Sheets[i]||{};var f=i;try{if(t&&t.Workbook)f=t.Workbook.Sheets[e].CodeName||f}catch(o){}var l=mt(s[\"!ref\"]||\"A1\");if(l.e.c>16383||l.e.r>1048575){if(r.WTF)throw new Error(\"Range \"+(s[\"!ref\"]||\"A1\")+\" exceeds format limit A1:XFD1048576\");l.e.c=Math.min(l.e.c,16383);l.e.r=Math.min(l.e.c,1048575)}s[\"!links\"]=[];s[\"!comments\"]=[];Jr(n,\"BrtBeginSheet\");if(t.vbaraw)Jr(n,\"BrtWsProp\",Zu(f));Jr(n,\"BrtWsDim\",Ku(l));Wd(n,s,t.Workbook);zd(n,s);Nd(n,s,e,r,t);Fd(n,s,e,r,t);Vd(n,s);Hd(n,s,t,e);Pd(n,s);Md(n,s,a);if(s[\"!margins\"])Jr(n,\"BrtMargins\",_d(s[\"!margins\"]));if(!r||r.ignoreEC||r.ignoreEC==void 0)Ld(n,s);Ud(n,s,e,a);Jr(n,\"BrtEndSheet\");return n.end()}Na.CHART=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chart\";Na.CHARTEX=\"http://schemas.microsoft.com/office/2014/relationships/chartEx\";function Gd(e){var r=[];var t=e.match(/^<c:numCache>/);var a;(e.match(/<c:pt idx=\"(\\d*)\">(.*?)<\\/c:pt>/gm)||[]).forEach(function(e){var a=e.match(/<c:pt idx=\"(\\d*?)\"><c:v>(.*)<\\/c:v><\\/c:pt>/);if(!a)return;r[+a[1]]=t?+a[2]:a[2]});var n=Ne((e.match(/<c:formatCode>([\\s\\S]*?)<\\/c:formatCode>/)||[\"\",\"General\"])[1]);(e.match(/<c:f>(.*?)<\\/c:f>/gm)||[]).forEach(function(e){a=e.replace(/<.*?>/g,\"\")});return[r,n,a]}function jd(e,r,t,a,n,i){var s=i||{\"!type\":\"chart\"};if(!e)return i;var f=0,o=0,l=\"A\";var c={s:{r:2e6,c:2e6},e:{r:0,c:0}};(e.match(/<c:numCache>[\\s\\S]*?<\\/c:numCache>/gm)||[]).forEach(function(e){var r=Gd(e);c.s.r=c.s.c=0;c.e.c=f;l=ct(f);r[0].forEach(function(e,t){s[l+st(t)]={t:\"n\",v:e,z:r[1]};o=t});if(c.e.r<o)c.e.r=o;++f});if(f>0)s[\"!ref\"]=bt(c);return s}Na.CS=\"http://schemas.openxmlformats.org/officeDocument/2006/relationships/chartsheet\";var Kd=fr(\"chartsheet\",null,{xmlns:cr.main[0],\"xmlns:r\":cr.r});function Yd(e,r,t,a,n){if(!e)return e;if(!a)a={\"!id\":{}};var i={\"!type\":\"chart\",\"!drawel\":null,\"!rel\":\"\"};var s;var f=e.match(wu);if(f)Su(f[0],i,n,t);if(s=e.match(/drawing r:id=\"(.*?)\"/))i[\"!rel\"]=s[1];if(a[\"!id\"][i[\"!rel\"]])i[\"!drawel\"]=a[\"!id\"][i[\"!rel\"]];return i}function $d(e,r,t,a){var n=[Te,Kd];n[n.length]=fr(\"drawing\",null,{\"r:id\":\"rId1\"});za(a,-1,\"../drawings/drawing\"+(e+1)+\".xml\",Na.DRAW);if(n.length>2){n[n.length]=\"</chartsheet>\";n[1]=n[1].replace(\"/>\",\">\")}return n.join(\"\")}function Zd(e,r){e.l+=10;var t=_t(e,r-10);return{name:t}}function Qd(e,r,t,a,n){if(!e)return e;if(!a)a={\"!id\":{}};var i={\"!type\":\"chart\",\"!drawel\":null,\"!rel\":\"\"};var s=[];var f=false;Zr(e,function o(e,a,l){switch(l){case 550:i[\"!rel\"]=e;break;case 651:if(!n.Sheets[t])n.Sheets[t]={};if(e.name)n.Sheets[t].CodeName=e.name;break;case 562:;case 652:;case 669:;case 679:;case 551:;case 552:;case 476:;case 3072:break;case 35:f=true;break;case 36:f=false;break;case 37:s.push(a);break;case 38:s.pop();break;default:if((a||\"\").indexOf(\"Begin\")>0)s.push(a);else if((a||\"\").indexOf(\"End\")>0)s.pop();else if(!f||r.WTF)throw new Error(\"Unexpected record \"+l+\" \"+a);}},r);if(a[\"!id\"][i[\"!rel\"]])i[\"!drawel\"]=a[\"!id\"][i[\"!rel\"]];return i}function Jd(){var e=Qr();Jr(e,\"BrtBeginSheet\");Jr(e,\"BrtEndSheet\");return e.end()}var qd=[[\"allowRefreshQuery\",false,\"bool\"],[\"autoCompressPictures\",true,\"bool\"],[\"backupFile\",false,\"bool\"],[\"checkCompatibility\",false,\"bool\"],[\"CodeName\",\"\"],[\"date1904\",false,\"bool\"],[\"defaultThemeVersion\",0,\"int\"],[\"filterPrivacy\",false,\"bool\"],[\"hidePivotFieldList\",false,\"bool\"],[\"promptedSolutions\",false,\"bool\"],[\"publishItems\",false,\"bool\"],[\"refreshAllConnections\",false,\"bool\"],[\"saveExternalLinkValues\",true,\"bool\"],[\"showBorderUnselectedTables\",true,\"bool\"],[\"showInkAnnotation\",true,\"bool\"],[\"showObjects\",\"all\"],[\"showPivotChartFilter\",false,\"bool\"],[\"updateLinks\",\"userSet\"]];var ep=[[\"activeTab\",0,\"int\"],[\"autoFilterDateGrouping\",true,\"bool\"],[\"firstSheet\",0,\"int\"],[\"minimized\",false,\"bool\"],[\"showHorizontalScroll\",true,\"bool\"],[\"showSheetTabs\",true,\"bool\"],[\"showVerticalScroll\",true,\"bool\"],[\"tabRatio\",600,\"int\"],[\"visibility\",\"visible\"]];var rp=[];var tp=[[\"calcCompleted\",\"true\"],[\"calcMode\",\"auto\"],[\"calcOnSave\",\"true\"],[\"concurrentCalc\",\"true\"],[\"fullCalcOnLoad\",\"false\"],[\"fullPrecision\",\"true\"],[\"iterate\",\"false\"],[\"iterateCount\",\"100\"],[\"iterateDelta\",\"0.001\"],[\"refMode\",\"A1\"]];function ap(e,r){for(var t=0;t!=e.length;++t){var a=e[t];for(var n=0;n!=r.length;++n){var i=r[n];if(a[i[0]]==null)a[i[0]]=i[1];else switch(i[2]){case\"bool\":if(typeof a[i[0]]==\"string\")a[i[0]]=je(a[i[0]]);break;case\"int\":if(typeof a[i[0]]==\"string\")a[i[0]]=parseInt(a[i[0]],10);break;}}}}function np(e,r){for(var t=0;t!=r.length;++t){var a=r[t];if(e[a[0]]==null)e[a[0]]=a[1];else switch(a[2]){case\"bool\":if(typeof e[a[0]]==\"string\")e[a[0]]=je(e[a[0]]);break;case\"int\":if(typeof e[a[0]]==\"string\")e[a[0]]=parseInt(e[a[0]],10);break;}}}function ip(e){np(e.WBProps,qd);np(e.CalcPr,tp);ap(e.WBView,ep);ap(e.Sheets,rp);au.date1904=je(e.WBProps.date1904)}function sp(e){if(!e.Workbook)return\"false\";if(!e.Workbook.WBProps)return\"false\";return je(e.Workbook.WBProps.date1904)?\"true\":\"false\"}var fp=\"][*?/\\\\\".split(\"\");function op(e,r){if(e.length>31){if(r)return false;throw new Error(\"Sheet names cannot exceed 31 chars\")}var t=true;fp.forEach(function(a){if(e.indexOf(a)==-1)return;if(!r)throw new Error(\"Sheet name cannot contain : \\\\ / ? * [ ]\");t=false});return t}function lp(e,r,t){e.forEach(function(a,n){op(a);for(var i=0;i<n;++i)if(a==e[i])throw new Error(\"Duplicate Sheet Name: \"+a);if(t){var s=r&&r[n]&&r[n].CodeName||a;if(s.charCodeAt(0)==95&&s.length>22)throw new Error(\"Bad Code Name: Worksheet\"+s)}})}function cp(e){if(!e||!e.SheetNames||!e.Sheets)throw new Error(\"Invalid Workbook\");if(!e.SheetNames.length)throw new Error(\"Workbook is empty\");var r=e.Workbook&&e.Workbook.Sheets||[];lp(e.SheetNames,r,!!e.vbaraw);for(var t=0;t<e.SheetNames.length;++t)cu(e.Sheets[e.SheetNames[t]],e.SheetNames[t],t)}var hp=/<\\w+:workbook/;function up(e,r){if(!e)throw new Error(\"Could not find file\");var t={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},Names:[],xmlns:\"\"};var a=false,n=\"xmlns\";var i={},s=0;e.replace(xe,function f(o,l){var c=Oe(o);switch(De(c[0])){case\"<?xml\":break;case\"<workbook\":if(o.match(hp))n=\"xmlns\"+o.match(/<(\\w+):/)[1];t.xmlns=c[n];break;case\"</workbook>\":break;case\"<fileVersion\":delete c[0];t.AppVersion=c;break;case\"<fileVersion/>\":;case\"</fileVersion>\":break;case\"<fileSharing\":break;case\"<fileSharing/>\":break;case\"<workbookPr\":;case\"<workbookPr/>\":qd.forEach(function(e){if(c[e[0]]==null)return;switch(e[2]){case\"bool\":t.WBProps[e[0]]=je(c[e[0]]);break;case\"int\":t.WBProps[e[0]]=parseInt(c[e[0]],10);break;default:t.WBProps[e[0]]=c[e[0]];}});if(c.codeName)t.WBProps.CodeName=c.codeName;break;case\"</workbookPr>\":break;case\"<workbookProtection\":break;case\"<workbookProtection/>\":break;case\"<bookViews\":;case\"<bookViews>\":;case\"</bookViews>\":break;case\"<workbookView\":;case\"<workbookView/>\":delete c[0];t.WBView.push(c);break;case\"</workbookView>\":break;case\"<sheets\":;case\"<sheets>\":;case\"</sheets>\":break;case\"<sheet\":switch(c.state){case\"hidden\":c.Hidden=1;break;case\"veryHidden\":c.Hidden=2;break;default:c.Hidden=0;}delete c.state;c.name=Ne(Ke(c.name));delete c[0];t.Sheets.push(c);break;case\"</sheet>\":break;case\"<functionGroups\":;case\"<functionGroups/>\":break;case\"<functionGroup\":break;case\"<externalReferences\":;case\"</externalReferences>\":;case\"<externalReferences>\":break;case\"<externalReference\":break;case\"<definedNames/>\":break;case\"<definedNames>\":;case\"<definedNames\":a=true;break;case\"</definedNames>\":a=false;break;case\"<definedName\":{i={};i.Name=Ke(c.name);if(c.comment)i.Comment=c.comment;if(c.localSheetId)i.Sheet=+c.localSheetId;if(je(c.hidden||\"0\"))i.Hidden=true;s=l+o.length}break;case\"</definedName>\":{i.Ref=Ne(Ke(e.slice(s,l)));t.Names.push(i)}break;case\"<definedName/>\":break;case\"<calcPr\":delete c[0];t.CalcPr=c;break;case\"<calcPr/>\":delete c[0];t.CalcPr=c;break;case\"</calcPr>\":break;case\"<oleSize\":break;case\"<customWorkbookViews>\":;case\"</customWorkbookViews>\":;case\"<customWorkbookViews\":break;case\"<customWorkbookView\":;case\"</customWorkbookView>\":break;case\"<pivotCaches>\":;case\"</pivotCaches>\":;case\"<pivotCaches\":break;case\"<pivotCache\":break;case\"<smartTagPr\":;case\"<smartTagPr/>\":break;case\"<smartTagTypes\":;case\"<smartTagTypes>\":;case\"</smartTagTypes>\":break;case\"<smartTagType\":break;case\"<webPublishing\":;case\"<webPublishing/>\":break;case\"<fileRecoveryPr\":;case\"<fileRecoveryPr/>\":break;case\"<webPublishObjects>\":;case\"<webPublishObjects\":;case\"</webPublishObjects>\":break;case\"<webPublishObject\":break;case\"<extLst\":;case\"<extLst>\":;case\"</extLst>\":;case\"<extLst/>\":break;case\"<ext\":a=true;break;case\"</ext>\":a=false;break;case\"<ArchID\":break;case\"<AlternateContent\":;case\"<AlternateContent>\":a=true;break;case\"</AlternateContent>\":a=false;break;case\"<revisionPtr\":break;default:if(!a&&r.WTF)throw new Error(\"unrecognized \"+c[0]+\" in workbook\");}return o});if(cr.main.indexOf(t.xmlns)===-1)throw new Error(\"Unknown Namespace: \"+t.xmlns);ip(t);return t}var dp=fr(\"workbook\",null,{xmlns:cr.main[0],\"xmlns:r\":cr.r});function pp(e){var r=[Te];r[r.length]=dp;var t=e.Workbook&&(e.Workbook.Names||[]).length>0;var a={codeName:\"ThisWorkbook\"};if(e.Workbook&&e.Workbook.WBProps){qd.forEach(function(r){if(e.Workbook.WBProps[r[0]]==null)return;if(e.Workbook.WBProps[r[0]]==r[1])return;a[r[0]]=e.Workbook.WBProps[r[0]]});if(e.Workbook.WBProps.CodeName){a.codeName=e.Workbook.WBProps.CodeName;delete a.CodeName}}r[r.length]=fr(\"workbookPr\",null,a);var n=e.Workbook&&e.Workbook.Sheets||[];var i=0;r[r.length]=\"<sheets>\";for(i=0;i!=e.SheetNames.length;++i){var s={name:Ue(e.SheetNames[i].slice(0,31))};s.sheetId=\"\"+(i+1);s[\"r:id\"]=\"rId\"+(i+1);if(n[i])switch(n[i].Hidden){case 1:s.state=\"hidden\";break;case 2:s.state=\"veryHidden\";break;}r[r.length]=fr(\"sheet\",null,s)}r[r.length]=\"</sheets>\";if(t){r[r.length]=\"<definedNames>\";if(e.Workbook&&e.Workbook.Names)e.Workbook.Names.forEach(function(e){var t={name:e.Name};if(e.Comment)t.comment=e.Comment;if(e.Sheet!=null)t.localSheetId=\"\"+e.Sheet;if(e.Hidden)t.hidden=\"1\";if(!e.Ref)return;r[r.length]=fr(\"definedName\",Ue(e.Ref),t)});r[r.length]=\"</definedNames>\"}if(r.length>2){r[r.length]=\"</workbook>\";r[1]=r[1].replace(\"/>\",\">\")}return r.join(\"\")}function vp(e,r){var t={};t.Hidden=e._R(4);t.iTabID=e._R(4);t.strRelID=Ht(e,r-8);t.name=_t(e);return t}function gp(e,r){if(!r)r=$r(127);r._W(4,e.Hidden);r._W(4,e.iTabID);Wt(e.strRelID,r);Bt(e.name.slice(0,31),r);return r.length>r.l?r.slice(0,r.l):r}function bp(e,r){var t={};var a=e._R(4);t.defaultThemeVersion=e._R(4);var n=r>8?_t(e):\"\";if(n.length>0)t.CodeName=n;t.autoCompressPictures=!!(a&65536);t.backupFile=!!(a&64);t.checkCompatibility=!!(a&4096);t.date1904=!!(a&1);t.filterPrivacy=!!(a&8);t.hidePivotFieldList=!!(a&1024);t.promptedSolutions=!!(a&16);t.publishItems=!!(a&2048);t.refreshAllConnections=!!(a&262144);t.saveExternalLinkValues=!!(a&128);t.showBorderUnselectedTables=!!(a&4);t.showInkAnnotation=!!(a&32);t.showObjects=[\"all\",\"placeholders\",\"none\"][a>>13&3];t.showPivotChartFilter=!!(a&32768);t.updateLinks=[\"userSet\",\"never\",\"always\"][a>>8&3];return t}function mp(e,r){if(!r)r=$r(72);var t=0;if(e){if(e.filterPrivacy)t|=8}r._W(4,t);r._W(4,0);Nt(e&&e.CodeName||\"ThisWorkbook\",r);return r.slice(0,r.l)}function wp(e,r){var t={};e._R(4);t.ArchID=e._R(4);e.l+=r-8;return t}function Cp(e,r,t){var a=e.l+r;e.l+=4;e.l+=1;var n=e._R(4);var i=Ut(e);var s=jh(e,0,t);var f=Lt(e);e.l=a;var o={Name:i,Ptg:s};if(n<268435455)o.Sheet=n;if(f)o.Comment=f;return o}function kp(e,r){var t={AppVersion:{},WBProps:{},WBView:[],Sheets:[],CalcPr:{},xmlns:\"\"};var a=[];var n=false;if(!r)r={};r.biff=12;var i=[];var s=[[]];s.SheetNames=[];s.XTI=[];Zr(e,function f(e,o,l){switch(l){case 156:s.SheetNames.push(e.name);t.Sheets.push(e);break;case 153:t.WBProps=e;break;case 39:if(e.Sheet!=null)r.SID=e.Sheet;e.Ref=Fh(e.Ptg,null,null,s,r);delete r.SID;delete e.Ptg;i.push(e);break;case 1036:break;case 357:;case 358:;case 355:;case 667:if(!s[0].length)s[0]=[l,e];else s.push([l,e]);s[s.length-1].XTI=[];break;case 362:if(s.length===0){s[0]=[];s[0].XTI=[]}s[s.length-1].XTI=s[s.length-1].XTI.concat(e);s.XTI=s.XTI.concat(e);break;case 361:break;case 3072:;case 3073:;case 2071:;case 534:;case 677:;case 158:;case 157:;case 610:;case 2050:;case 155:;case 548:;case 676:;case 128:;case 665:;case 2128:;case 2125:;case 549:;case 2053:;case 596:;case 2076:;case 2075:;case 2082:;case 397:;case 154:;case 1117:;case 553:;case 2091:break;case 35:a.push(o);n=true;break;case 36:a.pop();n=false;break;case 37:a.push(o);n=true;break;case 38:a.pop();n=false;break;case 16:break;default:if((o||\"\").indexOf(\"Begin\")>0){}else if((o||\"\").indexOf(\"End\")>0){}else if(!n||r.WTF&&a[a.length-1]!=\"BrtACBegin\"&&a[a.length-1]!=\"BrtFRTBegin\")throw new Error(\"Unexpected record \"+l+\" \"+o);}},r);ip(t);t.Names=i;t.supbooks=s;return t}function Ep(e,r){Jr(e,\"BrtBeginBundleShs\");for(var t=0;t!=r.SheetNames.length;++t){var a=r.Workbook&&r.Workbook.Sheets&&r.Workbook.Sheets[t]&&r.Workbook.Sheets[t].Hidden||0;var n={Hidden:a,iTabID:t+1,strRelID:\"rId\"+(t+1),name:r.SheetNames[t]};Jr(e,\"BrtBundleSh\",gp(n))}Jr(e,\"BrtEndBundleShs\")}function Sp(r,t){if(!t)t=$r(127);for(var a=0;a!=4;++a)t._W(4,0);Bt(\"SheetJS\",t);Bt(e.version,t);Bt(e.version,t);Bt(\"7262\",t);t.length=t.l;return t.length>t.l?t.slice(0,t.l):t}function Ap(e,r){if(!r)r=$r(29);r._W(-4,0);r._W(-4,460);r._W(4,28800);r._W(4,17600);r._W(4,500);r._W(4,e);r._W(4,e);var t=120;r._W(1,t);return r.length>r.l?r.slice(0,r.l):r}function _p(e,r){if(!r.Workbook||!r.Workbook.Sheets)return;var t=r.Workbook.Sheets;var a=0,n=-1,i=-1;for(;a<t.length;++a){if(!t[a]||!t[a].Hidden&&n==-1)n=a;else if(t[a].Hidden==1&&i==-1)i=a}if(i>n)return;Jr(e,\"BrtBeginBookViews\");Jr(e,\"BrtBookView\",Ap(n));Jr(e,\"BrtEndBookViews\")}function Bp(e,r){var t=Qr();Jr(t,\"BrtBeginBook\");Jr(t,\"BrtFileVersion\",Sp());Jr(t,\"BrtWbProp\",mp(e.Workbook&&e.Workbook.WBProps||null));_p(t,e,r);Ep(t,e,r);Jr(t,\"BrtEndBook\");return t.end()}function Tp(e,r,t){if(r.slice(-4)===\".bin\")return kp(e,t);return up(e,t)}function yp(e,r,t,a,n,i,s,f){if(r.slice(-4)===\".bin\")return Od(e,a,t,n,i,s,f);return ku(e,a,t,n,i,s,f)}function xp(e,r,t,a,n,i,s,f){if(r.slice(-4)===\".bin\")return Qd(e,a,t,n,i,s,f);return Yd(e,a,t,n,i,s,f)}function Ip(e,r,t,a,n,i,s,f){if(r.slice(-4)===\".bin\")return Ql(e,a,t,n,i,s,f);return Jl(e,a,t,n,i,s,f)}function Rp(e,r,t,a,n,i,s,f){if(r.slice(-4)===\".bin\")return $l(e,a,t,n,i,s,f);return Zl(e,a,t,n,i,s,f)}function Op(e,r,t,a){if(r.slice(-4)===\".bin\")return Zo(e,t,a);return Oo(e,t,a)}function Dp(e,r,t){return bl(e,t)}function Fp(e,r,t){if(r.slice(-4)===\".bin\")return yf(e,t);return Af(e,t)}function Pp(e,r,t){if(r.slice(-4)===\".bin\")return Vl(e,t);return Nl(e,t)}function Np(e,r,t){if(r.slice(-4)===\".bin\")return xl(e,r,t);return Tl(e,r,t)}function Lp(e,r,t,a){if(t.slice(-4)===\".bin\")return Rl(e,r,t,a);return Il(e,r,t,a)}function Mp(e,r,t){return(r.slice(-4)===\".bin\"?Bp:pp)(e,t)}function Up(e,r,t,a,n){return(r.slice(-4)===\".bin\"?Xd:zu)(e,t,a,n)}function Hp(e,r,t,a,n){return(r.slice(-4)===\".bin\"?Jd:$d)(e,t,a,n)}function Wp(e,r,t){return(r.slice(-4)===\".bin\"?fl:Fo)(e,t)}function zp(e,r,t){return(r.slice(-4)===\".bin\"?Rf:Bf)(e,t)}function Vp(e,r,t){return(r.slice(-4)===\".bin\"?Xl:Ml)(e,t)}var Xp=/([\\w:]+)=((?:\")([^\"]*)(?:\")|(?:')([^']*)(?:'))/g;var Gp=/([\\w:]+)=((?:\")(?:[^\"]*)(?:\")|(?:')(?:[^']*)(?:'))/;function jp(e,r){var t=e.split(/\\s+/);var a=[];if(!r)a[0]=t[0];if(t.length===1)return a;var n=e.match(Xp),i,s,f,o;if(n)for(o=0;o!=n.length;++o){i=n[o].match(Gp);if((s=i[1].indexOf(\":\"))===-1)a[i[1]]=i[2].slice(1,i[2].length-1);else{if(i[1].slice(0,6)===\"xmlns:\")f=\"xmlns\"+i[1].slice(6);else f=i[1].slice(s+1);a[f]=i[2].slice(1,i[2].length-1)}}return a}function Kp(e){var r=e.split(/\\s+/);var t={};if(r.length===1)return t;var a=e.match(Xp),n,i,s,f;if(a)for(f=0;f!=a.length;++f){n=a[f].match(Gp);if((i=n[1].indexOf(\":\"))===-1)t[n[1]]=n[2].slice(1,n[2].length-1);else{if(n[1].slice(0,6)===\"xmlns:\")s=\"xmlns\"+n[1].slice(6);else s=n[1].slice(i+1);t[s]=n[2].slice(1,n[2].length-1)}}return t}function Yp(e,r){var t=P[e]||Ne(e);if(t===\"General\")return D._general(r);return D.format(t,r)}function $p(e,r,t,a){var n=a;switch((t[0].match(/dt:dt=\"([\\w.]+)\"/)||[\"\",\"\"])[1]){case\"boolean\":n=je(a);break;case\"i2\":;case\"int\":n=parseInt(a,10);break;case\"r4\":;case\"float\":n=parseFloat(a);break;case\"date\":;case\"dateTime.tz\":n=se(a);break;case\"i8\":;case\"string\":;case\"fixed\":;case\"uuid\":;case\"bin.base64\":break;default:throw new Error(\"bad custprop:\"+t[0]);}e[Ne(r)]=n}function Zp(e,r,t){if(e.t===\"z\")return;if(!t||t.cellText!==false)try{if(e.t===\"e\"){e.w=e.w||Zt[e.v]}else if(r===\"General\"){if(e.t===\"n\"){if((e.v|0)===e.v)e.w=D._general_int(e.v);else e.w=D._general_num(e.v)}else e.w=D._general(e.v)}else e.w=Yp(r||\"General\",e.v)}catch(a){if(t.WTF)throw a}try{var n=P[r]||r||\"General\";if(t.cellNF)e.z=n;if(t.cellDates&&e.t==\"n\"&&D.is_date(n)){var i=D.parse_date_code(e.v);if(i){e.t=\"d\";e.v=new Date(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u)}}}catch(a){if(t.WTF)throw a}}function Qp(e,r,t){if(t.cellStyles){if(r.Interior){var a=r.Interior;if(a.Pattern)a.patternType=Eo[a.Pattern]||a.Pattern}}e[r.ID]=r}function Jp(e,r,t,a,n,i,s,f,o,l){var c=\"General\",h=a.StyleID,u={};l=l||{};var d=[];var p=0;if(h===undefined&&f)h=f.StyleID;if(h===undefined&&s)h=s.StyleID;while(i[h]!==undefined){if(i[h].nf)c=i[h].nf;if(i[h].Interior)d.push(i[h].Interior);if(!i[h].Parent)break;h=i[h].Parent}switch(t.Type){case\"Boolean\":a.t=\"b\";a.v=je(e);break;case\"String\":a.t=\"s\";a.r=Xe(Ne(e));a.v=e.indexOf(\"<\")>-1?Ne(r||e):a.r;break;case\"DateTime\":if(e.slice(-1)!=\"Z\")e+=\"Z\";a.v=(se(e)-new Date(Date.UTC(1899,11,30)))/(24*60*60*1e3);if(a.v!==a.v)a.v=Ne(e);else if(a.v<60)a.v=a.v-1;if(!c||c==\"General\")c=\"yyyy-mm-dd\";case\"Number\":if(a.v===undefined)a.v=+e;if(!a.t)a.t=\"n\";break;case\"Error\":a.t=\"e\";a.v=Qt[e];if(l.cellText!==false)a.w=e;break;default:if(e==\"\"&&r==\"\"){a.t=\"z\"}else{a.t=\"s\";a.v=Xe(r||e)}break;}Zp(a,c,l);if(l.cellFormula!==false){if(a.Formula){var v=Ne(a.Formula);if(v.charCodeAt(0)==61)v=v.slice(1);a.f=ql(v,n);delete a.Formula;if(a.ArrayRange==\"RC\")a.F=ql(\"RC:RC\",n);else if(a.ArrayRange){a.F=ql(a.ArrayRange,n);o.push([mt(a.F),a.F])}}else{for(p=0;p<o.length;++p)if(n.r>=o[p][0].s.r&&n.r<=o[p][0].e.r)if(n.c>=o[p][0].s.c&&n.c<=o[p][0].e.c)a.F=o[p][1]}}if(l.cellStyles){d.forEach(function(e){if(!u.patternType&&e.patternType)u.patternType=e.patternType});a.s=u}if(a.StyleID!==undefined)a.ixfe=a.StyleID}function qp(e){e.t=e.v||\"\";e.t=e.t.replace(/\\r\\n/g,\"\\n\").replace(/\\r/g,\"\\n\");e.v=e.w=e.ixfe=undefined}function ev(e){if(w&&Buffer.isBuffer(e))return e.toString(\"utf8\");if(typeof e===\"string\")return e;if(typeof Uint8Array!==\"undefined\"&&e instanceof Uint8Array)return Ke(T(x(e)));throw new Error(\"Bad input format: expected Buffer or string\")}var rv=/<(\\/?)([^\\s?>!\\/:]*:|)([^\\s?>:\\/]+)[^>]*>/gm;function tv(e,r){var t=r||{};F(D);var a=d(ev(e));if(t.type==\"binary\"||t.type==\"array\"||t.type==\"base64\"){if(typeof cptable!==\"undefined\")a=cptable.utils.decode(65001,c(a));else a=Ke(a)}var n=a.slice(0,1024).toLowerCase(),i=false;if(n.indexOf(\"<?xml\")==-1)[\"html\",\"table\",\"head\",\"meta\",\"script\",\"style\",\"div\"].forEach(function(e){if(n.indexOf(\"<\"+e)>=0)i=true});if(i)return Yv.to_workbook(a,t);var s;var f=[],o;if(g!=null&&t.dense==null)t.dense=g;var l={},h=[],u=t.dense?[]:{},p=\"\";var v={},b={},m={};var w=jp('<Data ss:Type=\"String\">'),C=0;var k=0,E=0;var S={s:{r:2e6,c:2e6},e:{r:0,c:0}};var A={},_={};var B=\"\",T=0;var y=[];var x={},I={},R=0,O=[];var N=[],L={};var M=[],U,H=false;var W=[];var z=[],V={},X=0,G=0;var j={Sheets:[],WBProps:{date1904:false}},K={};rv.lastIndex=0;a=a.replace(/<!--([\\s\\S]*?)-->/gm,\"\");while(s=rv.exec(a))switch(s[3]){case\"Data\":if(f[f.length-1][1])break;if(s[1]===\"/\")Jp(a.slice(C,s.index),B,w,f[f.length-1][0]==\"Comment\"?L:b,{c:k,r:E},A,M[k],m,W,t);else{B=\"\";w=jp(s[0]);C=s.index+s[0].length}break;case\"Cell\":if(s[1]===\"/\"){if(N.length>0)b.c=N;if((!t.sheetRows||t.sheetRows>E)&&b.v!==undefined){if(t.dense){if(!u[E])u[E]=[];u[E][k]=b}else u[ct(k)+st(E)]=b}if(b.HRef){b.l={Target:b.HRef};if(b.HRefScreenTip)b.l.Tooltip=b.HRefScreenTip;delete b.HRef;delete b.HRefScreenTip}if(b.MergeAcross||b.MergeDown){X=k+(parseInt(b.MergeAcross,10)|0);G=E+(parseInt(b.MergeDown,10)|0);y.push({s:{c:k,r:E},e:{c:X,r:G}})}if(!t.sheetStubs){if(b.MergeAcross)k=X+1;else++k}else if(b.MergeAcross||b.MergeDown){for(var Y=k;Y<=X;++Y){for(var $=E;$<=G;++$){if(Y>k||$>E){if(t.dense){if(!u[$])u[$]=[];u[$][Y]={t:\"z\"}}else u[ct(Y)+st($)]={t:\"z\"}}}}k=X+1}else++k}else{b=Kp(s[0]);if(b.Index)k=+b.Index-1;if(k<S.s.c)S.s.c=k;if(k>S.e.c)S.e.c=k;if(s[0].slice(-2)===\"/>\")++k;N=[]}break;case\"Row\":if(s[1]===\"/\"||s[0].slice(-2)===\"/>\"){if(E<S.s.r)S.s.r=E;if(E>S.e.r)S.e.r=E;if(s[0].slice(-2)===\"/>\"){m=jp(s[0]);if(m.Index)E=+m.Index-1}k=0;++E}else{m=jp(s[0]);if(m.Index)E=+m.Index-1;V={};if(m.AutoFitHeight==\"0\"||m.Height){V.hpx=parseInt(m.Height,10);V.hpt=Co(V.hpx);z[E]=V}if(m.Hidden==\"1\"){V.hidden=true;z[E]=V}}break;case\"Worksheet\":if(s[1]===\"/\"){if((o=f.pop())[0]!==s[3])throw new Error(\"Bad state: \"+o.join(\"|\"));h.push(p);if(S.s.r<=S.e.r&&S.s.c<=S.e.c){u[\"!ref\"]=bt(S);if(t.sheetRows&&t.sheetRows<=S.e.r){u[\"!fullref\"]=u[\"!ref\"];S.e.r=t.sheetRows-1;u[\"!ref\"]=bt(S)}}if(y.length)u[\"!merges\"]=y;if(M.length>0)u[\"!cols\"]=M;if(z.length>0)u[\"!rows\"]=z;l[p]=u}else{S={s:{r:2e6,c:2e6},e:{r:0,c:0}};E=k=0;f.push([s[3],false]);o=jp(s[0]);p=Ne(o.Name);u=t.dense?[]:{};y=[];W=[];z=[];K={name:p,Hidden:0};j.Sheets.push(K)}break;case\"Table\":if(s[1]===\"/\"){if((o=f.pop())[0]!==s[3])throw new Error(\"Bad state: \"+o.join(\"|\"))}else if(s[0].slice(-2)==\"/>\")break;else{v=jp(s[0]);f.push([s[3],false]);M=[];H=false}break;case\"Style\":if(s[1]===\"/\")Qp(A,_,t);else _=jp(s[0]);break;case\"NumberFormat\":_.nf=Ne(jp(s[0]).Format||\"General\");if(P[_.nf])_.nf=P[_.nf];for(var Z=0;Z!=392;++Z)if(D._table[Z]==_.nf)break;if(Z==392)for(Z=57;Z!=392;++Z)if(D._table[Z]==null){D.load(_.nf,Z);break}break;case\"Column\":if(f[f.length-1][0]!==\"Table\")break;U=jp(s[0]);if(U.Hidden){U.hidden=true;delete U.Hidden}if(U.Width)U.wpx=parseInt(U.Width,10);if(!H&&U.wpx>10){H=true;co=fo;for(var Q=0;Q<M.length;++Q)if(M[Q])bo(M[Q])}if(H)bo(U);M[U.Index-1||M.length]=U;for(var J=0;J<+U.Span;++J)M[M.length]=oe(U);break;case\"NamedRange\":if(!j.Names)j.Names=[];var q=Oe(s[0]);var ee={Name:q.Name,Ref:ql(q.RefersTo.slice(1),{r:0,c:0})};if(j.Sheets.length>0)ee.Sheet=j.Sheets.length-1;j.Names.push(ee);break;case\"NamedCell\":break;case\"B\":break;case\"I\":break;case\"U\":break;case\"S\":break;case\"Sub\":break;case\"Sup\":break;case\"Span\":break;case\"Alignment\":break;case\"Borders\":break;case\"Border\":break;case\"Font\":if(s[0].slice(-2)===\"/>\")break;else if(s[1]===\"/\")B+=a.slice(T,s.index);else T=s.index+s[0].length;break;case\"Interior\":if(!t.cellStyles)break;_.Interior=jp(s[0]);break;case\"Protection\":break;case\"Author\":;case\"Title\":;case\"Description\":;case\"Created\":;case\"Keywords\":;case\"Subject\":;case\"Category\":;case\"Company\":;case\"LastAuthor\":;case\"LastSaved\":;case\"LastPrinted\":;case\"Version\":;case\"Revision\":;case\"TotalTime\":;case\"HyperlinkBase\":;case\"Manager\":;case\"ContentStatus\":;case\"Identifier\":;case\"Language\":;case\"AppName\":if(s[0].slice(-2)===\"/>\")break;else if(s[1]===\"/\")vn(x,s[3],a.slice(R,s.index));else R=s.index+s[0].length;break;case\"Paragraphs\":break;case\"Styles\":;case\"Workbook\":if(s[1]===\"/\"){if((o=f.pop())[0]!==s[3])throw new Error(\"Bad state: \"+o.join(\"|\"))}else f.push([s[3],false]);break;case\"Comment\":if(s[1]===\"/\"){if((o=f.pop())[0]!==s[3])throw new Error(\"Bad state: \"+o.join(\"|\"));qp(L);N.push(L)}else{f.push([s[3],false]);o=jp(s[0]);L={a:o.Author}}break;case\"AutoFilter\":if(s[1]===\"/\"){if((o=f.pop())[0]!==s[3])throw new Error(\"Bad state: \"+o.join(\"|\"))}else if(s[0].charAt(s[0].length-2)!==\"/\"){var re=jp(s[0]);u[\"!autofilter\"]={ref:ql(re.Range).replace(/\\$/g,\"\")};f.push([s[3],true])}break;case\"Name\":break;case\"DataValidation\":if(s[1]===\"/\"){if((o=f.pop())[0]!==s[3])throw new Error(\"Bad state: \"+o.join(\"|\"))}else{if(s[0].charAt(s[0].length-2)!==\"/\")f.push([s[3],true])}break;case\"ComponentOptions\":;case\"DocumentProperties\":;case\"CustomDocumentProperties\":;case\"OfficeDocumentSettings\":;case\"PivotTable\":;case\"PivotCache\":;case\"Names\":;case\"MapInfo\":;case\"PageBreaks\":;case\"QueryTable\":;case\"Sorting\":;case\"Schema\":;case\"data\":;case\"ConditionalFormatting\":;case\"SmartTagType\":;case\"SmartTags\":;case\"ExcelWorkbook\":;case\"WorkbookOptions\":;case\"WorksheetOptions\":if(s[1]===\"/\"){if((o=f.pop())[0]!==s[3])throw new Error(\"Bad state: \"+o.join(\"|\"))}else if(s[0].charAt(s[0].length-2)!==\"/\")f.push([s[3],true]);break;default:if(f.length==0&&s[3]==\"document\")return rg(a,t);if(f.length==0&&s[3]==\"UOF\")return rg(a,t);var te=true;switch(f[f.length-1][0]){case\"OfficeDocumentSettings\":\nswitch(s[3]){case\"AllowPNG\":break;case\"RemovePersonalInformation\":break;case\"DownloadComponents\":break;case\"LocationOfComponents\":break;case\"Colors\":break;case\"Color\":break;case\"Index\":break;case\"RGB\":break;case\"PixelsPerInch\":break;case\"TargetScreenSize\":break;case\"ReadOnlyRecommended\":break;default:te=false;}break;case\"ComponentOptions\":switch(s[3]){case\"Toolbar\":break;case\"HideOfficeLogo\":break;case\"SpreadsheetAutoFit\":break;case\"Label\":break;case\"Caption\":break;case\"MaxHeight\":break;case\"MaxWidth\":break;case\"NextSheetNumber\":break;default:te=false;}break;case\"ExcelWorkbook\":switch(s[3]){case\"Date1904\":j.WBProps.date1904=true;break;case\"WindowHeight\":break;case\"WindowWidth\":break;case\"WindowTopX\":break;case\"WindowTopY\":break;case\"TabRatio\":break;case\"ProtectStructure\":break;case\"ProtectWindow\":break;case\"ProtectWindows\":break;case\"ActiveSheet\":break;case\"DisplayInkNotes\":break;case\"FirstVisibleSheet\":break;case\"SupBook\":break;case\"SheetName\":break;case\"SheetIndex\":break;case\"SheetIndexFirst\":break;case\"SheetIndexLast\":break;case\"Dll\":break;case\"AcceptLabelsInFormulas\":break;case\"DoNotSaveLinkValues\":break;case\"Iteration\":break;case\"MaxIterations\":break;case\"MaxChange\":break;case\"Path\":break;case\"Xct\":break;case\"Count\":break;case\"SelectedSheets\":break;case\"Calculation\":break;case\"Uncalced\":break;case\"StartupPrompt\":break;case\"Crn\":break;case\"ExternName\":break;case\"Formula\":break;case\"ColFirst\":break;case\"ColLast\":break;case\"WantAdvise\":break;case\"Boolean\":break;case\"Error\":break;case\"Text\":break;case\"OLE\":break;case\"NoAutoRecover\":break;case\"PublishObjects\":break;case\"DoNotCalculateBeforeSave\":break;case\"Number\":break;case\"RefModeR1C1\":break;case\"EmbedSaveSmartTags\":break;default:te=false;}break;case\"WorkbookOptions\":switch(s[3]){case\"OWCVersion\":break;case\"Height\":break;case\"Width\":break;default:te=false;}break;case\"WorksheetOptions\":switch(s[3]){case\"Visible\":if(s[0].slice(-2)===\"/>\"){}else if(s[1]===\"/\")switch(a.slice(R,s.index)){case\"SheetHidden\":K.Hidden=1;break;case\"SheetVeryHidden\":K.Hidden=2;break;}else R=s.index+s[0].length;break;case\"Header\":if(!u[\"!margins\"])fu(u[\"!margins\"]={},\"xlml\");u[\"!margins\"].header=Oe(s[0]).Margin;break;case\"Footer\":if(!u[\"!margins\"])fu(u[\"!margins\"]={},\"xlml\");u[\"!margins\"].footer=Oe(s[0]).Margin;break;case\"PageMargins\":var ae=Oe(s[0]);if(!u[\"!margins\"])fu(u[\"!margins\"]={},\"xlml\");if(ae.Top)u[\"!margins\"].top=ae.Top;if(ae.Left)u[\"!margins\"].left=ae.Left;if(ae.Right)u[\"!margins\"].right=ae.Right;if(ae.Bottom)u[\"!margins\"].bottom=ae.Bottom;break;case\"DisplayRightToLeft\":if(!j.Views)j.Views=[];if(!j.Views[0])j.Views[0]={};j.Views[0].RTL=true;break;case\"FreezePanes\":break;case\"FrozenNoSplit\":break;case\"SplitHorizontal\":;case\"SplitVertical\":break;case\"DoNotDisplayGridlines\":break;case\"TopRowBottomPane\":break;case\"LeftColumnRightPane\":break;case\"Unsynced\":break;case\"Print\":break;case\"Panes\":break;case\"Scale\":break;case\"Pane\":break;case\"Number\":break;case\"Layout\":break;case\"PageSetup\":break;case\"Selected\":break;case\"ProtectObjects\":break;case\"EnableSelection\":break;case\"ProtectScenarios\":break;case\"ValidPrinterInfo\":break;case\"HorizontalResolution\":break;case\"VerticalResolution\":break;case\"NumberofCopies\":break;case\"ActiveRow\":break;case\"ActiveCol\":break;case\"ActivePane\":break;case\"TopRowVisible\":break;case\"LeftColumnVisible\":break;case\"FitToPage\":break;case\"RangeSelection\":break;case\"PaperSizeIndex\":break;case\"PageLayoutZoom\":break;case\"PageBreakZoom\":break;case\"FilterOn\":break;case\"FitWidth\":break;case\"FitHeight\":break;case\"CommentsLayout\":break;case\"Zoom\":break;case\"LeftToRight\":break;case\"Gridlines\":break;case\"AllowSort\":break;case\"AllowFilter\":break;case\"AllowInsertRows\":break;case\"AllowDeleteRows\":break;case\"AllowInsertCols\":break;case\"AllowDeleteCols\":break;case\"AllowInsertHyperlinks\":break;case\"AllowFormatCells\":break;case\"AllowSizeCols\":break;case\"AllowSizeRows\":break;case\"NoSummaryRowsBelowDetail\":break;case\"TabColorIndex\":break;case\"DoNotDisplayHeadings\":break;case\"ShowPageLayoutZoom\":break;case\"NoSummaryColumnsRightDetail\":break;case\"BlackAndWhite\":break;case\"DoNotDisplayZeros\":break;case\"DisplayPageBreak\":break;case\"RowColHeadings\":break;case\"DoNotDisplayOutline\":break;case\"NoOrientation\":break;case\"AllowUsePivotTables\":break;case\"ZeroHeight\":break;case\"ViewableRange\":break;case\"Selection\":break;case\"ProtectContents\":break;default:te=false;}break;case\"PivotTable\":;case\"PivotCache\":switch(s[3]){case\"ImmediateItemsOnDrop\":break;case\"ShowPageMultipleItemLabel\":break;case\"CompactRowIndent\":break;case\"Location\":break;case\"PivotField\":break;case\"Orientation\":break;case\"LayoutForm\":break;case\"LayoutSubtotalLocation\":break;case\"LayoutCompactRow\":break;case\"Position\":break;case\"PivotItem\":break;case\"DataType\":break;case\"DataField\":break;case\"SourceName\":break;case\"ParentField\":break;case\"PTLineItems\":break;case\"PTLineItem\":break;case\"CountOfSameItems\":break;case\"Item\":break;case\"ItemType\":break;case\"PTSource\":break;case\"CacheIndex\":break;case\"ConsolidationReference\":break;case\"FileName\":break;case\"Reference\":break;case\"NoColumnGrand\":break;case\"NoRowGrand\":break;case\"BlankLineAfterItems\":break;case\"Hidden\":break;case\"Subtotal\":break;case\"BaseField\":break;case\"MapChildItems\":break;case\"Function\":break;case\"RefreshOnFileOpen\":break;case\"PrintSetTitles\":break;case\"MergeLabels\":break;case\"DefaultVersion\":break;case\"RefreshName\":break;case\"RefreshDate\":break;case\"RefreshDateCopy\":break;case\"VersionLastRefresh\":break;case\"VersionLastUpdate\":break;case\"VersionUpdateableMin\":break;case\"VersionRefreshableMin\":break;case\"Calculation\":break;default:te=false;}break;case\"PageBreaks\":switch(s[3]){case\"ColBreaks\":break;case\"ColBreak\":break;case\"RowBreaks\":break;case\"RowBreak\":break;case\"ColStart\":break;case\"ColEnd\":break;case\"RowEnd\":break;default:te=false;}break;case\"AutoFilter\":switch(s[3]){case\"AutoFilterColumn\":break;case\"AutoFilterCondition\":break;case\"AutoFilterAnd\":break;case\"AutoFilterOr\":break;default:te=false;}break;case\"QueryTable\":switch(s[3]){case\"Id\":break;case\"AutoFormatFont\":break;case\"AutoFormatPattern\":break;case\"QuerySource\":break;case\"QueryType\":break;case\"EnableRedirections\":break;case\"RefreshedInXl9\":break;case\"URLString\":break;case\"HTMLTables\":break;case\"Connection\":break;case\"CommandText\":break;case\"RefreshInfo\":break;case\"NoTitles\":break;case\"NextId\":break;case\"ColumnInfo\":break;case\"OverwriteCells\":break;case\"DoNotPromptForFile\":break;case\"TextWizardSettings\":break;case\"Source\":break;case\"Number\":break;case\"Decimal\":break;case\"ThousandSeparator\":break;case\"TrailingMinusNumbers\":break;case\"FormatSettings\":break;case\"FieldType\":break;case\"Delimiters\":break;case\"Tab\":break;case\"Comma\":break;case\"AutoFormatName\":break;case\"VersionLastEdit\":break;case\"VersionLastRefresh\":break;default:te=false;}break;case\"DataValidation\":switch(s[3]){case\"Range\":break;case\"Type\":break;case\"Min\":break;case\"Max\":break;case\"Sort\":break;case\"Descending\":break;case\"Order\":break;case\"CaseSensitive\":break;case\"Value\":break;case\"ErrorStyle\":break;case\"ErrorMessage\":break;case\"ErrorTitle\":break;case\"InputMessage\":break;case\"InputTitle\":break;case\"ComboHide\":break;case\"InputHide\":break;case\"Condition\":break;case\"Qualifier\":break;case\"UseBlank\":break;case\"Value1\":break;case\"Value2\":break;case\"Format\":break;case\"CellRangeList\":break;default:te=false;}break;case\"Sorting\":;case\"ConditionalFormatting\":switch(s[3]){case\"Range\":break;case\"Type\":break;case\"Min\":break;case\"Max\":break;case\"Sort\":break;case\"Descending\":break;case\"Order\":break;case\"CaseSensitive\":break;case\"Value\":break;case\"ErrorStyle\":break;case\"ErrorMessage\":break;case\"ErrorTitle\":break;case\"CellRangeList\":break;case\"InputMessage\":break;case\"InputTitle\":break;case\"ComboHide\":break;case\"InputHide\":break;case\"Condition\":break;case\"Qualifier\":break;case\"UseBlank\":break;case\"Value1\":break;case\"Value2\":break;case\"Format\":break;default:te=false;}break;case\"MapInfo\":;case\"Schema\":;case\"data\":switch(s[3]){case\"Map\":break;case\"Entry\":break;case\"Range\":break;case\"XPath\":break;case\"Field\":break;case\"XSDType\":break;case\"FilterOn\":break;case\"Aggregate\":break;case\"ElementType\":break;case\"AttributeType\":break;case\"schema\":;case\"element\":;case\"complexType\":;case\"datatype\":;case\"all\":;case\"attribute\":;case\"extends\":break;case\"row\":break;default:te=false;}break;case\"SmartTags\":break;default:te=false;break;}if(te)break;if(s[3].match(/!\\[CDATA/))break;if(!f[f.length-1][1])throw\"Unrecognized tag: \"+s[3]+\"|\"+f.join(\"|\");if(f[f.length-1][0]===\"CustomDocumentProperties\"){if(s[0].slice(-2)===\"/>\")break;else if(s[1]===\"/\")$p(I,s[3],O,a.slice(R,s.index));else{O=s;R=s.index+s[0].length}break}if(t.WTF)throw\"Unrecognized tag: \"+s[3]+\"|\"+f.join(\"|\");}var ne={};if(!t.bookSheets&&!t.bookProps)ne.Sheets=l;ne.SheetNames=h;ne.Workbook=j;ne.SSF=D.get_table();ne.Props=x;ne.Custprops=I;return ne}function av(e,r){bg(r=r||{});switch(r.type||\"base64\"){case\"base64\":return tv(m.decode(e),r);case\"binary\":;case\"buffer\":;case\"file\":return tv(e,r);case\"array\":return tv(T(e),r);}}function nv(e,r){var t=[];if(e.Props)t.push(gn(e.Props,r));if(e.Custprops)t.push(bn(e.Props,e.Custprops,r));return t.join(\"\")}function iv(){return\"\"}function sv(e,r){var t=['<Style ss:ID=\"Default\" ss:Name=\"Normal\"><NumberFormat/></Style>'];r.cellXfs.forEach(function(e,r){var a=[];a.push(fr(\"NumberFormat\",null,{\"ss:Format\":Ue(D._table[e.numFmtId])}));var n={\"ss:ID\":\"s\"+(21+r)};t.push(fr(\"Style\",a.join(\"\"),n))});return fr(\"Styles\",t.join(\"\"))}function fv(e){return fr(\"NamedRange\",null,{\"ss:Name\":e.Name,\"ss:RefersTo\":\"=\"+rc(e.Ref,{r:0,c:0})})}function ov(e){if(!((e||{}).Workbook||{}).Names)return\"\";var r=e.Workbook.Names;var t=[];for(var a=0;a<r.length;++a){var n=r[a];if(n.Sheet!=null)continue;if(n.Name.match(/^_xlfn\\./))continue;t.push(fv(n))}return fr(\"Names\",t.join(\"\"))}function lv(e,r,t,a){if(!e)return\"\";if(!((a||{}).Workbook||{}).Names)return\"\";var n=a.Workbook.Names;var i=[];for(var s=0;s<n.length;++s){var f=n[s];if(f.Sheet!=t)continue;if(f.Name.match(/^_xlfn\\./))continue;i.push(fv(f))}return i.join(\"\")}function cv(e,r,t,a){if(!e)return\"\";var n=[];if(e[\"!margins\"]){n.push(\"<PageSetup>\");if(e[\"!margins\"].header)n.push(fr(\"Header\",null,{\"x:Margin\":e[\"!margins\"].header}));if(e[\"!margins\"].footer)n.push(fr(\"Footer\",null,{\"x:Margin\":e[\"!margins\"].footer}));n.push(fr(\"PageMargins\",null,{\"x:Bottom\":e[\"!margins\"].bottom||\"0.75\",\"x:Left\":e[\"!margins\"].left||\"0.7\",\"x:Right\":e[\"!margins\"].right||\"0.7\",\"x:Top\":e[\"!margins\"].top||\"0.75\"}));n.push(\"</PageSetup>\")}if(a&&a.Workbook&&a.Workbook.Sheets&&a.Workbook.Sheets[t]){if(a.Workbook.Sheets[t].Hidden)n.push(fr(\"Visible\",a.Workbook.Sheets[t].Hidden==1?\"SheetHidden\":\"SheetVeryHidden\",{}));else{for(var i=0;i<t;++i)if(a.Workbook.Sheets[i]&&!a.Workbook.Sheets[i].Hidden)break;if(i==t)n.push(\"<Selected/>\")}}if(((((a||{}).Workbook||{}).Views||[])[0]||{}).RTL)n.push(\"<DisplayRightToLeft/>\");if(e[\"!protect\"]){n.push(ir(\"ProtectContents\",\"True\"));if(e[\"!protect\"].objects)n.push(ir(\"ProtectObjects\",\"True\"));if(e[\"!protect\"].scenarios)n.push(ir(\"ProtectScenarios\",\"True\"));if(e[\"!protect\"].selectLockedCells!=null&&!e[\"!protect\"].selectLockedCells)n.push(ir(\"EnableSelection\",\"NoSelection\"));else if(e[\"!protect\"].selectUnlockedCells!=null&&!e[\"!protect\"].selectUnlockedCells)n.push(ir(\"EnableSelection\",\"UnlockedCells\"));[[\"formatCells\",\"AllowFormatCells\"],[\"formatColumns\",\"AllowSizeCols\"],[\"formatRows\",\"AllowSizeRows\"],[\"insertColumns\",\"AllowInsertCols\"],[\"insertRows\",\"AllowInsertRows\"],[\"insertHyperlinks\",\"AllowInsertHyperlinks\"],[\"deleteColumns\",\"AllowDeleteCols\"],[\"deleteRows\",\"AllowDeleteRows\"],[\"sort\",\"AllowSort\"],[\"autoFilter\",\"AllowFilter\"],[\"pivotTables\",\"AllowUsePivotTables\"]].forEach(function(r){if(e[\"!protect\"][r[0]])n.push(\"<\"+r[1]+\"/>\")})}if(n.length==0)return\"\";return fr(\"WorksheetOptions\",n.join(\"\"),{xmlns:hr.x})}function hv(e){return e.map(function(e){var r=Ge(e.t||\"\");var t=fr(\"ss:Data\",r,{xmlns:\"http://www.w3.org/TR/REC-html40\"});return fr(\"Comment\",t,{\"ss:Author\":e.a})}).join(\"\")}function uv(e,r,t,a,n,i,s){if(!e||e.v==undefined&&e.f==undefined)return\"\";var f={};if(e.f)f[\"ss:Formula\"]=\"=\"+Ue(rc(e.f,s));if(e.F&&e.F.slice(0,r.length)==r){var o=pt(e.F.slice(r.length+1));f[\"ss:ArrayRange\"]=\"RC:R\"+(o.r==s.r?\"\":\"[\"+(o.r-s.r)+\"]\")+\"C\"+(o.c==s.c?\"\":\"[\"+(o.c-s.c)+\"]\")}if(e.l&&e.l.Target){f[\"ss:HRef\"]=Ue(e.l.Target);if(e.l.Tooltip)f[\"x:HRefScreenTip\"]=Ue(e.l.Tooltip)}if(t[\"!merges\"]){var l=t[\"!merges\"];for(var c=0;c!=l.length;++c){if(l[c].s.c!=s.c||l[c].s.r!=s.r)continue;if(l[c].e.c>l[c].s.c)f[\"ss:MergeAcross\"]=l[c].e.c-l[c].s.c;if(l[c].e.r>l[c].s.r)f[\"ss:MergeDown\"]=l[c].e.r-l[c].s.r}}var h=\"\",u=\"\";switch(e.t){case\"z\":if(!a.sheetStubs)return\"\";break;case\"n\":h=\"Number\";u=String(e.v);break;case\"b\":h=\"Boolean\";u=e.v?\"1\":\"0\";break;case\"e\":h=\"Error\";u=Zt[e.v];break;case\"d\":h=\"DateTime\";u=new Date(e.v).toISOString();if(e.z==null)e.z=e.z||D._table[14];break;case\"s\":h=\"String\";u=Ve(e.v||\"\");break;}var d=ou(a.cellXfs,e,a);f[\"ss:StyleID\"]=\"s\"+(21+d);f[\"ss:Index\"]=s.c+1;var p=e.v!=null?u:\"\";var v=e.t==\"z\"?\"\":'<Data ss:Type=\"'+h+'\">'+p+\"</Data>\";if((e.c||[]).length>0)v+=hv(e.c);return fr(\"Cell\",v,f)}function dv(e,r){var t='<Row ss:Index=\"'+(e+1)+'\"';if(r){if(r.hpt&&!r.hpx)r.hpx=ko(r.hpt);if(r.hpx)t+=' ss:AutoFitHeight=\"0\" ss:Height=\"'+r.hpx+'\"';if(r.hidden)t+=' ss:Hidden=\"1\"'}return t+\">\"}function pv(e,r,t,a){if(!e[\"!ref\"])return\"\";var n=mt(e[\"!ref\"]);var i=e[\"!merges\"]||[],s=0;var f=[];if(e[\"!cols\"])e[\"!cols\"].forEach(function(e,r){bo(e);var t=!!e.width;var a=su(r,e);var n={\"ss:Index\":r+1};if(t)n[\"ss:Width\"]=ho(a.width);if(e.hidden)n[\"ss:Hidden\"]=\"1\";f.push(fr(\"Column\",null,n))});var o=Array.isArray(e);for(var l=n.s.r;l<=n.e.r;++l){var c=[dv(l,(e[\"!rows\"]||[])[l])];for(var h=n.s.c;h<=n.e.c;++h){var u=false;for(s=0;s!=i.length;++s){if(i[s].s.c>h)continue;if(i[s].s.r>l)continue;if(i[s].e.c<h)continue;if(i[s].e.r<l)continue;if(i[s].s.c!=h||i[s].s.r!=l)u=true;break}if(u)continue;var d={r:l,c:h};var p=vt(d),v=o?(e[l]||[])[h]:e[p];c.push(uv(v,p,e,r,t,a,d))}c.push(\"</Row>\");if(c.length>2)f.push(c.join(\"\"))}return f.join(\"\")}function vv(e,r,t){var a=[];var n=t.SheetNames[e];var i=t.Sheets[n];var s=i?lv(i,r,e,t):\"\";if(s.length>0)a.push(\"<Names>\"+s+\"</Names>\");s=i?pv(i,r,e,t):\"\";if(s.length>0)a.push(\"<Table>\"+s+\"</Table>\");a.push(cv(i,r,e,t));return a.join(\"\")}function gv(e,r){if(!r)r={};if(!e.SSF)e.SSF=D.get_table();if(e.SSF){F(D);D.load_table(e.SSF);r.revssf=Q(e.SSF);r.revssf[e.SSF[65535]]=0;r.ssf=e.SSF;r.cellXfs=[];ou(r.cellXfs,{},{revssf:{General:0}})}var t=[];t.push(nv(e,r));t.push(iv(e,r));t.push(\"\");t.push(\"\");for(var a=0;a<e.SheetNames.length;++a)t.push(fr(\"Worksheet\",vv(a,r,e),{\"ss:Name\":Ue(e.SheetNames[a])}));t[2]=sv(e,r);t[3]=ov(e,r);return Te+fr(\"Workbook\",t.join(\"\"),{xmlns:hr.ss,\"xmlns:o\":hr.o,\"xmlns:x\":hr.x,\"xmlns:ss\":hr.ss,\"xmlns:dt\":hr.dt,\"xmlns:html\":hr.html})}function bv(e){var r={};var t=e.content;t.l=28;r.AnsiUserType=t._R(0,\"lpstr-ansi\");r.AnsiClipboardFormat=aa(t);if(t.length-t.l<=4)return r;var a=t._R(4);if(a==0||a>40)return r;t.l-=4;r.Reserved1=t._R(0,\"lpstr-ansi\");if(t.length-t.l<=4)return r;a=t._R(4);if(a!==1907505652)return r;r.UnicodeClipboardFormat=na(t);a=t._R(4);if(a==0||a>40)return r;t.l-=4;r.Reserved2=t._R(0,\"lpwstr\")}function mv(e,r,t,a){var n=t;var i=[];var s=r.slice(r.l,r.l+n);if(a&&a.enc&&a.enc.insitu)switch(e.n){case\"BOF\":;case\"FilePass\":;case\"FileLock\":;case\"InterfaceHdr\":;case\"RRDInfo\":;case\"RRDHead\":;case\"UsrExcl\":break;default:if(s.length===0)break;a.enc.insitu(s);}i.push(s);r.l+=n;var f=xv[Nr(r,r.l)];var o=0;while(f!=null&&f.n.slice(0,8)===\"Continue\"){n=Nr(r,r.l+2);o=r.l+4;if(f.n==\"ContinueFrt\")o+=4;else if(f.n.slice(0,11)==\"ContinueFrt\")o+=12;i.push(r.slice(o,r.l+4+n));r.l+=4+n;f=xv[Nr(r,r.l)]}var l=I(i);Kr(l,0);var c=0;l.lens=[];for(var h=0;h<i.length;++h){l.lens.push(c);c+=i[h].length}return e.f(l,l.length,a)}function wv(e,r,t){if(e.t===\"z\")return;if(!e.XF)return;var a=0;try{a=e.z||e.XF.numFmtId||0;if(r.cellNF)e.z=D._table[a]}catch(n){if(r.WTF)throw n}if(!r||r.cellText!==false)try{if(e.t===\"e\"){e.w=e.w||Zt[e.v]}else if(a===0||a==\"General\"){if(e.t===\"n\"){if((e.v|0)===e.v)e.w=D._general_int(e.v);else e.w=D._general_num(e.v)}else e.w=D._general(e.v)}else e.w=D.format(a,e.v,{date1904:!!t})}catch(n){if(r.WTF)throw n}if(r.cellDates&&a&&e.t==\"n\"&&D.is_date(D._table[a]||String(a))){var i=D.parse_date_code(e.v);if(i){e.t=\"d\";e.v=new Date(i.y,i.m-1,i.d,i.H,i.M,i.S,i.u)}}}function Cv(e,r,t){return{v:e,ixfe:r,t:t}}function kv(e,r){var t={opts:{}};var a={};if(g!=null&&r.dense==null)r.dense=g;var n=r.dense?[]:{};var i={};var s={};var f=null;var l=[];var c=\"\";var h={};var u,d=\"\",p,v,b,m;var w={};var C=[];var k;var E;var S=true;var A=[];var _=[];var B={Sheets:[],WBProps:{date1904:false},Views:[{}]},T={};var y=function we(e){if(e<8)return Ta[e];if(e<64)return _[e-8]||Ta[e];return Ta[e]};var x=function Ce(e,r,t){var a=r.XF.data;if(!a||!a.patternType||!t||!t.cellStyles)return;r.s={};r.s.patternType=a.patternType;var n;if(n=ao(y(a.icvFore))){r.s.fgColor={rgb:n}}if(n=ao(y(a.icvBack))){r.s.bgColor={rgb:n}}};var I=function ke(e,r,t){if(V>1)return;if(t.sheetRows&&e.r>=t.sheetRows)S=false;if(!S)return;if(t.cellStyles&&r.XF&&r.XF.data)x(e,r,t);delete r.ixfe;delete r.XF;u=e;d=vt(e);if(!s||!s.s||!s.e)s={s:{r:0,c:0},e:{r:0,c:0}};if(e.r<s.s.r)s.s.r=e.r;if(e.c<s.s.c)s.s.c=e.c;if(e.r+1>s.e.r)s.e.r=e.r+1;if(e.c+1>s.e.c)s.e.c=e.c+1;if(t.cellFormula&&r.f){for(var a=0;a<C.length;++a){if(C[a][0].s.c>e.c||C[a][0].s.r>e.r)continue;if(C[a][0].e.c<e.c||C[a][0].e.r<e.r)continue;r.F=bt(C[a][0]);if(C[a][0].s.c!=e.c||C[a][0].s.r!=e.r)delete r.f;if(r.f)r.f=\"\"+Fh(C[a][1],s,e,W,R);break}}{if(t.dense){if(!n[e.r])n[e.r]=[];n[e.r][e.c]=r}else n[d]=r}};var R={enc:false,sbcch:0,snames:[],sharedf:w,arrayf:C,rrtabid:[],lastuser:\"\",biff:8,codepage:0,winlocked:0,cellStyles:!!r&&!!r.cellStyles,WTF:!!r&&!!r.wtf};if(r.password)R.password=r.password;var O;var F=[];var P=[];var N=[],L=[];var M=0,U=0;var H=false;var W=[];W.SheetNames=R.snames;W.sharedf=R.sharedf;W.arrayf=R.arrayf;W.names=[];W.XTI=[];var z=\"\";var V=0;var X=0,G=[];var j=[];var Y;R.codepage=1200;o(1200);var $=false;while(e.l<e.length-1){var Z=e.l;var Q=e._R(2);if(Q===0&&z===\"EOF\")break;var J=e.l===e.length?0:e._R(2);var q=xv[Q];if(q&&q.f){if(r.bookSheets){if(z===\"BoundSheet8\"&&q.n!==\"BoundSheet8\")break}z=q.n;if(q.r===2||q.r==12){var ee=e._R(2);J-=2;if(!R.enc&&ee!==Q&&((ee&255)<<8|ee>>8)!==Q)throw new Error(\"rt mismatch: \"+ee+\"!=\"+Q);if(q.r==12){e.l+=10;J-=10}}var re={};if(q.n===\"EOF\")re=q.f(e,J,R);else re=mv(q,e,J,R);var te=q.n;if(V==0&&te!=\"BOF\")continue;switch(te){case\"Date1904\":t.opts.Date1904=B.WBProps.date1904=re;break;case\"WriteProtect\":t.opts.WriteProtect=true;break;case\"FilePass\":if(!R.enc)e.l=0;R.enc=re;if(!r.password)throw new Error(\"File is password-protected\");if(re.valid==null)throw new Error(\"Encryption scheme unsupported\");if(!re.valid)throw new Error(\"Password is incorrect\");break;case\"WriteAccess\":R.lastuser=re;break;case\"FileSharing\":break;case\"CodePage\":var ae=Number(re);switch(ae){case 21010:ae=1200;break;case 32768:ae=1e4;break;case 32769:ae=1252;break;}o(R.codepage=ae);$=true;break;case\"RRTabId\":R.rrtabid=re;break;case\"WinProtect\":R.winlocked=re;break;case\"Template\":break;case\"BookBool\":break;case\"UsesELFs\":break;case\"MTRSettings\":break;case\"RefreshAll\":;case\"CalcCount\":;case\"CalcDelta\":;case\"CalcIter\":;case\"CalcMode\":;case\"CalcPrecision\":;case\"CalcSaveRecalc\":t.opts[te]=re;break;case\"CalcRefMode\":R.CalcRefMode=re;break;case\"Uncalced\":break;case\"ForceFullCalculation\":t.opts.FullCalc=re;break;case\"WsBool\":if(re.fDialog)n[\"!type\"]=\"dialog\";break;case\"XF\":A.push(re);break;case\"ExtSST\":break;case\"BookExt\":break;case\"RichTextStream\":break;case\"BkHim\":break;case\"SupBook\":W.push([re]);W[W.length-1].XTI=[];break;case\"ExternName\":W[W.length-1].push(re);break;case\"Index\":break;case\"Lbl\":Y={Name:re.Name,Ref:Fh(re.rgce,s,null,W,R)};if(re.itab>0)Y.Sheet=re.itab-1;W.names.push(Y);if(!W[0]){W[0]=[];W[0].XTI=[]}W[W.length-1].push(re);if(re.Name==\"_xlnm._FilterDatabase\"&&re.itab>0)if(re.rgce&&re.rgce[0]&&re.rgce[0][0]&&re.rgce[0][0][0]==\"PtgArea3d\")j[re.itab-1]={ref:bt(re.rgce[0][0][1][2])};break;case\"ExternCount\":R.ExternCount=re;break;case\"ExternSheet\":if(W.length==0){W[0]=[];W[0].XTI=[]}W[W.length-1].XTI=W[W.length-1].XTI.concat(re);W.XTI=W.XTI.concat(re);break;case\"NameCmt\":if(R.biff<8)break;if(Y!=null)Y.Comment=re[1];break;case\"Protect\":n[\"!protect\"]=re;break;case\"Password\":if(re!==0&&R.WTF)console.error(\"Password verifier: \"+re);break;case\"Prot4Rev\":;case\"Prot4RevPass\":break;case\"BoundSheet8\":{i[re.pos]=re;R.snames.push(re.name)}break;case\"EOF\":{if(--V)break;if(s.e){if(s.e.r>0&&s.e.c>0){s.e.r--;s.e.c--;n[\"!ref\"]=bt(s);if(r.sheetRows&&r.sheetRows<=s.e.r){var ne=s.e.r;s.e.r=r.sheetRows-1;n[\"!fullref\"]=n[\"!ref\"];n[\"!ref\"]=bt(s);s.e.r=ne}s.e.r++;s.e.c++}if(F.length>0)n[\"!merges\"]=F;if(P.length>0)n[\"!objects\"]=P;if(N.length>0)n[\"!cols\"]=N;if(L.length>0)n[\"!rows\"]=L;B.Sheets.push(T)}if(c===\"\")h=n;else a[c]=n;n=r.dense?[]:{}}break;case\"BOF\":{if(R.biff===8)R.biff={9:2,521:3,1033:4}[Q]||{512:2,768:3,1024:4,1280:5,1536:8,2:2,7:2}[re.BIFFVer]||8;if(R.biff==8&&re.BIFFVer==0&&re.dt==16)R.biff=2;if(V++)break;S=true;n=r.dense?[]:{};if(R.biff<8&&!$){$=true;o(R.codepage=r.codepage||1252)}if(R.biff<5){if(c===\"\")c=\"Sheet1\";s={s:{r:0,c:0},e:{r:0,c:0}};var ie={pos:e.l-J,name:c};i[ie.pos]=ie;R.snames.push(c)}else c=(i[Z]||{name:\"\"}).name;if(re.dt==32)n[\"!type\"]=\"chart\";if(re.dt==64)n[\"!type\"]=\"macro\";F=[];P=[];R.arrayf=C=[];N=[];L=[];M=U=0;H=false;T={Hidden:(i[Z]||{hs:0}).hs,name:c}}break;case\"Number\":;case\"BIFF2NUM\":;case\"BIFF2INT\":{if(n[\"!type\"]==\"chart\")if(r.dense?(n[re.r]||[])[re.c]:n[vt({c:re.c,r:re.r})])++re.c;k={ixfe:re.ixfe,XF:A[re.ixfe]||{},v:re.val,t:\"n\"};if(X>0)k.z=G[k.ixfe>>8&31];wv(k,r,t.opts.Date1904);I({c:re.c,r:re.r},k,r)}break;case\"BoolErr\":{k={ixfe:re.ixfe,XF:A[re.ixfe],v:re.val,t:re.t};if(X>0)k.z=G[k.ixfe>>8&31];wv(k,r,t.opts.Date1904);I({c:re.c,r:re.r},k,r)}break;case\"RK\":{k={ixfe:re.ixfe,XF:A[re.ixfe],v:re.rknum,t:\"n\"};if(X>0)k.z=G[k.ixfe>>8&31];wv(k,r,t.opts.Date1904);I({c:re.c,r:re.r},k,r)}break;case\"MulRk\":{for(var se=re.c;se<=re.C;++se){var fe=re.rkrec[se-re.c][0];k={ixfe:fe,XF:A[fe],v:re.rkrec[se-re.c][1],t:\"n\"};if(X>0)k.z=G[k.ixfe>>8&31];wv(k,r,t.opts.Date1904);I({c:se,r:re.r},k,r)}}break;case\"Formula\":{if(re.val==\"String\"){f=re;break}k=Cv(re.val,re.cell.ixfe,re.tt);k.XF=A[k.ixfe];if(r.cellFormula){var oe=re.formula;if(oe&&oe[0]&&oe[0][0]&&oe[0][0][0]==\"PtgExp\"){var le=oe[0][0][1][0],ce=oe[0][0][1][1];var he=vt({r:le,c:ce});if(w[he])k.f=\"\"+Fh(re.formula,s,re.cell,W,R);else k.F=((r.dense?(n[le]||[])[ce]:n[he])||{}).F}else k.f=\"\"+Fh(re.formula,s,re.cell,W,R)}if(X>0)k.z=G[k.ixfe>>8&31];wv(k,r,t.opts.Date1904);I(re.cell,k,r);f=re}break;case\"String\":{if(f){f.val=re;k=Cv(re,f.cell.ixfe,\"s\");k.XF=A[k.ixfe];if(r.cellFormula){k.f=\"\"+Fh(f.formula,s,f.cell,W,R)}if(X>0)k.z=G[k.ixfe>>8&31];wv(k,r,t.opts.Date1904);I(f.cell,k,r);f=null}else throw new Error(\"String record expects Formula\")}break;case\"Array\":{C.push(re);var ue=vt(re[0].s);p=r.dense?(n[re[0].s.r]||[])[re[0].s.c]:n[ue];if(r.cellFormula&&p){if(!f)break;if(!ue||!p)break;p.f=\"\"+Fh(re[1],s,re[0],W,R);p.F=bt(re[0])}}break;case\"ShrFmla\":{if(!S)break;if(!r.cellFormula)break;if(d){if(!f)break;w[vt(f.cell)]=re[0];p=r.dense?(n[f.cell.r]||[])[f.cell.c]:n[vt(f.cell)];(p||{}).f=\"\"+Fh(re[0],s,u,W,R)}}break;case\"LabelSst\":k=Cv(l[re.isst].t,re.ixfe,\"s\");if(l[re.isst].h)k.h=l[re.isst].h;k.XF=A[k.ixfe];if(X>0)k.z=G[k.ixfe>>8&31];wv(k,r,t.opts.Date1904);I({c:re.c,r:re.r},k,r);break;case\"Blank\":if(r.sheetStubs){k={ixfe:re.ixfe,XF:A[re.ixfe],t:\"z\"};if(X>0)k.z=G[k.ixfe>>8&31];wv(k,r,t.opts.Date1904);I({c:re.c,r:re.r},k,r)}break;case\"MulBlank\":if(r.sheetStubs){for(var de=re.c;de<=re.C;++de){var pe=re.ixfe[de-re.c];k={ixfe:pe,XF:A[pe],t:\"z\"};if(X>0)k.z=G[k.ixfe>>8&31];wv(k,r,t.opts.Date1904);I({c:de,r:re.r},k,r)}}break;case\"RString\":;case\"Label\":;case\"BIFF2STR\":k=Cv(re.val,re.ixfe,\"s\");k.XF=A[k.ixfe];if(X>0)k.z=G[k.ixfe>>8&31];wv(k,r,t.opts.Date1904);I({c:re.c,r:re.r},k,r);break;case\"Dimensions\":{if(V===1)s=re}break;case\"SST\":{l=re}break;case\"Format\":{if(R.biff==4){G[X++]=re[1];for(var ve=0;ve<X+163;++ve)if(D._table[ve]==re[1])break;if(ve>=163)D.load(re[1],X+163)}else D.load(re[1],re[0])}break;case\"BIFF2FORMAT\":{G[X++]=re;for(var ge=0;ge<X+163;++ge)if(D._table[ge]==re)break;if(ge>=163)D.load(re,X+163)}break;case\"MergeCells\":F=F.concat(re);break;case\"Obj\":P[re.cmo[0]]=R.lastobj=re;break;case\"TxO\":R.lastobj.TxO=re;break;case\"ImData\":R.lastobj.ImData=re;break;case\"HLink\":{for(m=re[0].s.r;m<=re[0].e.r;++m)for(b=re[0].s.c;b<=re[0].e.c;++b){p=r.dense?(n[m]||[])[b]:n[vt({c:b,r:m})];if(p)p.l=re[1]}}break;case\"HLinkTooltip\":{for(m=re[0].s.r;m<=re[0].e.r;++m)for(b=re[0].s.c;b<=re[0].e.c;++b){p=r.dense?(n[m]||[])[b]:n[vt({c:b,r:m})];if(p&&p.l)p.l.Tooltip=re[1]}}break;case\"Note\":{if(R.biff<=5&&R.biff>=2)break;p=r.dense?(n[re[0].r]||[])[re[0].c]:n[vt(re[0])];var be=P[re[2]];if(!p){if(r.dense){if(!n[re[0].r])n[re[0].r]=[];p=n[re[0].r][re[0].c]={t:\"z\"}}else{p=n[vt(re[0])]={t:\"z\"}}s.e.r=Math.max(s.e.r,re[0].r);s.s.r=Math.min(s.s.r,re[0].r);s.e.c=Math.max(s.e.c,re[0].c);s.s.c=Math.min(s.s.c,re[0].c)}if(!p.c)p.c=[];v={a:re[1],t:be.TxO.t};p.c.push(v)}break;default:switch(q.n){case\"ClrtClient\":break;case\"XFExt\":Bl(A[re.ixfe],re.ext);break;case\"DefColWidth\":M=re;break;case\"DefaultRowHeight\":U=re[1];break;case\"ColInfo\":{if(!R.cellStyles)break;while(re.e>=re.s){N[re.e--]={width:re.w/256};if(!H){H=true;go(re.w/256)}bo(N[re.e+1])}}break;case\"Row\":{var me={};if(re.level!=null){L[re.r]=me;me.level=re.level}if(re.hidden){L[re.r]=me;me.hidden=true}if(re.hpt){L[re.r]=me;me.hpt=re.hpt;me.hpx=ko(re.hpt)}}break;case\"LeftMargin\":;case\"RightMargin\":;case\"TopMargin\":;case\"BottomMargin\":if(!n[\"!margins\"])fu(n[\"!margins\"]={});n[\"!margins\"][te.slice(0,-6).toLowerCase()]=re;break;case\"Setup\":if(!n[\"!margins\"])fu(n[\"!margins\"]={});n[\"!margins\"].header=re.header;n[\"!margins\"].footer=re.footer;break;case\"Window2\":if(re.RTL)B.Views[0].RTL=true;break;case\"Header\":break;case\"Footer\":break;case\"HCenter\":break;case\"VCenter\":break;case\"Pls\":break;case\"GCW\":break;case\"LHRecord\":break;case\"DBCell\":break;case\"EntExU2\":break;case\"SxView\":break;case\"Sxvd\":break;case\"SXVI\":break;case\"SXVDEx\":break;case\"SxIvd\":break;case\"SXString\":break;case\"Sync\":break;case\"Addin\":break;case\"SXDI\":break;case\"SXLI\":break;case\"SXEx\":break;case\"QsiSXTag\":break;case\"Selection\":break;case\"Feat\":break;case\"FeatHdr\":;case\"FeatHdr11\":break;case\"Feature11\":;case\"Feature12\":;case\"List12\":break;case\"Country\":E=re;break;case\"RecalcId\":break;case\"DxGCol\":break;case\"Fbi\":;case\"Fbi2\":;case\"GelFrame\":break;case\"Font\":break;case\"XFCRC\":break;case\"Style\":break;case\"StyleExt\":break;case\"Palette\":_=re;break;case\"Theme\":O=re;break;case\"ScenarioProtect\":break;case\"ObjProtect\":break;case\"CondFmt12\":break;case\"Table\":break;case\"TableStyles\":break;case\"TableStyle\":break;case\"TableStyleElement\":break;case\"SXStreamID\":break;case\"SXVS\":break;case\"DConRef\":break;case\"SXAddl\":break;case\"DConBin\":break;case\"DConName\":break;case\"SXPI\":break;case\"SxFormat\":break;case\"SxSelect\":break;case\"SxRule\":break;case\"SxFilt\":break;case\"SxItm\":break;case\"SxDXF\":break;case\"ScenMan\":break;case\"DCon\":break;case\"CellWatch\":break;case\"PrintRowCol\":break;case\"PrintGrid\":break;case\"PrintSize\":break;case\"XCT\":break;case\"CRN\":break;case\"Scl\":{}break;case\"SheetExt\":{}break;case\"SheetExtOptional\":{}break;case\"ObNoMacros\":{}break;case\"ObProj\":{}break;case\"CodeName\":{if(!c)B.WBProps.CodeName=re||\"ThisWorkbook\";else T.CodeName=re||T.name}break;case\"GUIDTypeLib\":{}break;case\"WOpt\":break;case\"PhoneticInfo\":break;case\"OleObjectSize\":break;case\"DXF\":;case\"DXFN\":;case\"DXFN12\":;case\"DXFN12List\":;case\"DXFN12NoCB\":break;case\"Dv\":;case\"DVal\":break;case\"BRAI\":;case\"Series\":;case\"SeriesText\":break;case\"DConn\":break;case\"DbOrParamQry\":break;case\"DBQueryExt\":break;case\"OleDbConn\":break;case\"ExtString\":break;case\"IFmtRecord\":break;case\"CondFmt\":;case\"CF\":;case\"CF12\":;case\"CFEx\":break;case\"Excel9File\":break;case\"Units\":break;case\"InterfaceHdr\":;case\"Mms\":;case\"InterfaceEnd\":;case\"DSF\":break;case\"BuiltInFnGroupCount\":break;case\"Window1\":;case\"HideObj\":;case\"GridSet\":;case\"Guts\":;case\"UserBView\":;case\"UserSViewBegin\":;case\"UserSViewEnd\":break;case\"Pane\":break;default:switch(q.n){case\"Dat\":;case\"Begin\":;case\"End\":;case\"StartBlock\":;case\"EndBlock\":;case\"Frame\":;case\"Area\":;case\"Axis\":;case\"AxisLine\":;case\"Tick\":break;case\"AxesUsed\":;case\"CrtLayout12\":;case\"CrtLayout12A\":;case\"CrtLink\":;case\"CrtLine\":;case\"CrtMlFrt\":;case\"CrtMlFrtContinue\":break;case\"LineFormat\":;case\"AreaFormat\":;case\"Chart\":;case\"Chart3d\":;case\"Chart3DBarShape\":;case\"ChartFormat\":;case\"ChartFrtInfo\":break;case\"PlotArea\":;case\"PlotGrowth\":break;case\"SeriesList\":;case\"SerParent\":;case\"SerAuxTrend\":break;case\"DataFormat\":;case\"SerToCrt\":;case\"FontX\":break;case\"CatSerRange\":;case\"AxcExt\":;case\"SerFmt\":break;case\"ShtProps\":break;case\"DefaultText\":;case\"Text\":;case\"CatLab\":break;case\"DataLabExtContents\":break;case\"Legend\":;case\"LegendException\":break;case\"Pie\":;case\"Scatter\":break;case\"PieFormat\":;case\"MarkerFormat\":break;case\"StartObject\":;case\"EndObject\":break;case\"AlRuns\":;case\"ObjectLink\":break;case\"SIIndex\":break;case\"AttachedLabel\":;case\"YMult\":break;case\"Line\":;case\"Bar\":break;case\"Surf\":break;case\"AxisParent\":break;case\"Pos\":break;case\"ValueRange\":break;case\"SXViewEx9\":break;case\"SXViewLink\":break;case\"PivotChartBits\":break;case\"SBaseRef\":break;case\"TextPropsStream\":break;case\"LnExt\":break;case\"MkrExt\":break;case\"CrtCoopt\":break;case\"Qsi\":;case\"Qsif\":;case\"Qsir\":;case\"QsiSXTag\":break;case\"TxtQry\":break;case\"FilterMode\":break;case\"AutoFilter\":;case\"AutoFilterInfo\":break;case\"AutoFilter12\":break;case\"DropDownObjIds\":break;case\"Sort\":break;case\"SortData\":break;case\"ShapePropsStream\":break;case\"MsoDrawing\":;case\"MsoDrawingGroup\":;case\"MsoDrawingSelection\":break;case\"WebPub\":;case\"AutoWebPub\":break;case\"HeaderFooter\":;case\"HFPicture\":;case\"PLV\":;case\"HorizontalPageBreaks\":;case\"VerticalPageBreaks\":break;case\"Backup\":;case\"CompressPictures\":;case\"Compat12\":break;case\"Continue\":;case\"ContinueFrt12\":break;case\"FrtFontList\":;case\"FrtWrapper\":break;default:switch(q.n){case\"TabIdConf\":;case\"Radar\":;case\"RadarArea\":;case\"DropBar\":;case\"Intl\":;case\"CoordList\":;case\"SerAuxErrBar\":break;case\"BIFF2FONTCLR\":;case\"BIFF2FMTCNT\":;case\"BIFF2FONTXTRA\":break;case\"BIFF2XF\":;case\"BIFF3XF\":;case\"BIFF4XF\":break;case\"BIFF4FMTCNT\":;case\"BIFF2ROW\":;case\"BIFF2WINDOW2\":break;case\"SCENARIO\":;case\"DConBin\":;case\"PicF\":;case\"DataLabExt\":;case\"Lel\":;case\"BopPop\":;case\"BopPopCustom\":;case\"RealTimeData\":;case\"Name\":break;case\"LHNGraph\":;case\"FnGroupName\":;case\"AddMenu\":;case\"LPr\":break;case\"ListObj\":;case\"ListField\":break;case\"RRSort\":break;case\"BigName\":break;case\"ToolbarHdr\":;case\"ToolbarEnd\":break;case\"DDEObjName\":break;case\"FRTArchId$\":break;default:if(r.WTF)throw\"Unrecognized Record \"+q.n;};};};}}else e.l+=J}t.SheetNames=K(i).sort(function(e,r){return Number(e)-Number(r)}).map(function(e){return i[e].name});if(!r.bookSheets)t.Sheets=a;if(t.Sheets)j.forEach(function(e,r){t.Sheets[t.SheetNames[r]][\"!autofilter\"]=e});t.Preamble=h;t.Strings=l;t.SSF=D.get_table();if(R.enc)t.Encryption=R.enc;if(O)t.Themes=O;t.Metadata={};if(E!==undefined)t.Metadata.Country=E;if(W.names.length>0)B.Names=W.names;t.Workbook=B;return t}var Ev={SI:\"e0859ff2f94f6810ab9108002b27b3d9\",DSI:\"02d5cdd59c2e1b10939708002b2cf9ae\",UDI:\"05d5cdd59c2e1b10939708002b2cf9ae\"};function Sv(e,r,t){var a=z.find(e,\"!DocumentSummaryInformation\");if(a&&a.size>0)try{var n=Un(a,ma,Ev.DSI);for(var i in n)r[i]=n[i]}catch(s){if(t.WTF)throw s}var f=z.find(e,\"!SummaryInformation\");if(f&&f.size>0)try{var o=Un(f,wa,Ev.SI);for(var l in o)if(r[l]==null)r[l]=o[l]}catch(s){if(t.WTF)throw s}if(r.HeadingPairs&&r.TitlesOfParts){nn(r.HeadingPairs,r.TitlesOfParts,r,t);delete r.HeadingPairs;delete r.TitlesOfParts}}function Av(e,r){var t=[],a=[],n=[];var i=0,s;if(e.Props){s=K(e.Props);for(i=0;i<s.length;++i)(Object.prototype.hasOwnProperty.call(ka,s[i])?t:Object.prototype.hasOwnProperty.call(Ea,s[i])?a:n).push([s[i],e.Props[s[i]]]);\n}if(e.Custprops){s=K(e.Custprops);for(i=0;i<s.length;++i)if(!Object.prototype.hasOwnProperty.call(e.Props||{},s[i]))(Object.prototype.hasOwnProperty.call(ka,s[i])?t:Object.prototype.hasOwnProperty.call(Ea,s[i])?a:n).push([s[i],e.Custprops[s[i]]])}var f=[];for(i=0;i<n.length;++i){if(Nn.indexOf(n[i][0])>-1)continue;if(n[i][1]==null)continue;f.push(n[i])}if(a.length)z.utils.cfb_add(r,\"/\u0005SummaryInformation\",Hn(a,Ev.SI,Ea,wa));if(t.length||f.length)z.utils.cfb_add(r,\"/\u0005DocumentSummaryInformation\",Hn(t,Ev.DSI,ka,ma,f.length?f:null,Ev.UDI))}function _v(e,r){if(!r)r={};bg(r);l();if(r.codepage)s(r.codepage);var t,a;if(e.FullPaths){if(z.find(e,\"/encryption\"))throw new Error(\"File is password-protected\");t=z.find(e,\"!CompObj\");a=z.find(e,\"/Workbook\")||z.find(e,\"/Book\")}else{switch(r.type){case\"base64\":e=_(m.decode(e));break;case\"binary\":e=_(e);break;case\"buffer\":break;case\"array\":if(!Array.isArray(e))e=Array.prototype.slice.call(e);break;}Kr(e,0);a={content:e}}var n;var i;if(t)bv(t);if(r.bookProps&&!r.bookSheets)n={};else{var f=w?\"buffer\":\"array\";if(a&&a.content)n=kv(a.content,r);else if((i=z.find(e,\"PerfectOffice_MAIN\"))&&i.content)n=df.to_workbook(i.content,(r.type=f,r));else if((i=z.find(e,\"NativeContent_MAIN\"))&&i.content)n=df.to_workbook(i.content,(r.type=f,r));else throw new Error(\"Cannot find Workbook stream\");if(r.bookVBA&&e.FullPaths&&z.find(e,\"/_VBA_PROJECT_CUR/VBA/dir\"))n.vbaraw=jl(e)}var o={};if(e.FullPaths)Sv(e,o,r);n.Props=n.Custprops=o;if(r.bookFiles)n.cfb=e;return n}function Bv(e,r){var t=r||{};var a=z.utils.cfb_new({root:\"R\"});var n=\"/Workbook\";switch(t.bookType||\"xls\"){case\"xls\":t.bookType=\"biff8\";case\"xla\":if(!t.bookType)t.bookType=\"xla\";case\"biff8\":n=\"/Workbook\";t.biff=8;break;case\"biff5\":n=\"/Book\";t.biff=5;break;default:throw new Error(\"invalid type \"+t.bookType+\" for XLS CFB\");}z.utils.cfb_add(a,n,Kv(e,t));if(t.biff==8&&(e.Props||e.Custprops))Av(e,a);if(t.biff==8&&e.vbaraw)Kl(a,z.read(e.vbaraw,{type:typeof e.vbaraw==\"string\"?\"binary\":\"buffer\"}));return a}var Tv={0:{n:\"BrtRowHdr\",f:Vu},1:{n:\"BrtCellBlank\",f:Qu},2:{n:\"BrtCellRk\",f:sd},3:{n:\"BrtCellError\",f:rd},4:{n:\"BrtCellBool\",f:qu},5:{n:\"BrtCellReal\",f:nd},6:{n:\"BrtCellSt\",f:od},7:{n:\"BrtCellIsst\",f:td},8:{n:\"BrtFmlaString\",f:dd},9:{n:\"BrtFmlaNum\",f:ud},10:{n:\"BrtFmlaBool\",f:cd},11:{n:\"BrtFmlaError\",f:hd},16:{n:\"BrtFRTArchID$\",f:wp},19:{n:\"BrtSSTItem\",f:xt},20:{n:\"BrtPCDIMissing\"},21:{n:\"BrtPCDINumber\"},22:{n:\"BrtPCDIBoolean\"},23:{n:\"BrtPCDIError\"},24:{n:\"BrtPCDIString\"},25:{n:\"BrtPCDIDatetime\"},26:{n:\"BrtPCDIIndex\"},27:{n:\"BrtPCDIAMissing\"},28:{n:\"BrtPCDIANumber\"},29:{n:\"BrtPCDIABoolean\"},30:{n:\"BrtPCDIAError\"},31:{n:\"BrtPCDIAString\"},32:{n:\"BrtPCDIADatetime\"},33:{n:\"BrtPCRRecord\"},34:{n:\"BrtPCRRecordDt\"},35:{n:\"BrtFRTBegin\"},36:{n:\"BrtFRTEnd\"},37:{n:\"BrtACBegin\"},38:{n:\"BrtACEnd\"},39:{n:\"BrtName\",f:Cp},40:{n:\"BrtIndexRowBlock\"},42:{n:\"BrtIndexBlock\"},43:{n:\"BrtFont\",f:Lo},44:{n:\"BrtFmt\",f:Po},45:{n:\"BrtFill\",f:Wo},46:{n:\"BrtBorder\",f:jo},47:{n:\"BrtXF\",f:Vo},48:{n:\"BrtStyle\"},49:{n:\"BrtCellMeta\"},50:{n:\"BrtValueMeta\"},51:{n:\"BrtMdb\"},52:{n:\"BrtBeginFmd\"},53:{n:\"BrtEndFmd\"},54:{n:\"BrtBeginMdx\"},55:{n:\"BrtEndMdx\"},56:{n:\"BrtBeginMdxTuple\"},57:{n:\"BrtEndMdxTuple\"},58:{n:\"BrtMdxMbrIstr\"},59:{n:\"BrtStr\"},60:{n:\"BrtColInfo\",f:Xs},62:{n:\"BrtCellRString\"},63:{n:\"BrtCalcChainItem$\",f:yl},64:{n:\"BrtDVal\",f:Id},65:{n:\"BrtSxvcellNum\"},66:{n:\"BrtSxvcellStr\"},67:{n:\"BrtSxvcellBool\"},68:{n:\"BrtSxvcellErr\"},69:{n:\"BrtSxvcellDate\"},70:{n:\"BrtSxvcellNil\"},128:{n:\"BrtFileVersion\"},129:{n:\"BrtBeginSheet\"},130:{n:\"BrtEndSheet\"},131:{n:\"BrtBeginBook\",f:Yr,p:0},132:{n:\"BrtEndBook\"},133:{n:\"BrtBeginWsViews\"},134:{n:\"BrtEndWsViews\"},135:{n:\"BrtBeginBookViews\"},136:{n:\"BrtEndBookViews\"},137:{n:\"BrtBeginWsView\",f:Bd},138:{n:\"BrtEndWsView\"},139:{n:\"BrtBeginCsViews\"},140:{n:\"BrtEndCsViews\"},141:{n:\"BrtBeginCsView\"},142:{n:\"BrtEndCsView\"},143:{n:\"BrtBeginBundleShs\"},144:{n:\"BrtEndBundleShs\"},145:{n:\"BrtBeginSheetData\"},146:{n:\"BrtEndSheetData\"},147:{n:\"BrtWsProp\",f:$u},148:{n:\"BrtWsDim\",f:ju,p:16},151:{n:\"BrtPane\",f:wd},152:{n:\"BrtSel\"},153:{n:\"BrtWbProp\",f:bp},154:{n:\"BrtWbFactoid\"},155:{n:\"BrtFileRecover\"},156:{n:\"BrtBundleSh\",f:vp},157:{n:\"BrtCalcProp\"},158:{n:\"BrtBookView\"},159:{n:\"BrtBeginSst\",f:Tf},160:{n:\"BrtEndSst\"},161:{n:\"BrtBeginAFilter\",f:jt},162:{n:\"BrtEndAFilter\"},163:{n:\"BrtBeginFilterColumn\"},164:{n:\"BrtEndFilterColumn\"},165:{n:\"BrtBeginFilters\"},166:{n:\"BrtEndFilters\"},167:{n:\"BrtFilter\"},168:{n:\"BrtColorFilter\"},169:{n:\"BrtIconFilter\"},170:{n:\"BrtTop10Filter\"},171:{n:\"BrtDynamicFilter\"},172:{n:\"BrtBeginCustomFilters\"},173:{n:\"BrtEndCustomFilters\"},174:{n:\"BrtCustomFilter\"},175:{n:\"BrtAFilterDateGroupItem\"},176:{n:\"BrtMergeCell\",f:pd},177:{n:\"BrtBeginMergeCells\"},178:{n:\"BrtEndMergeCells\"},179:{n:\"BrtBeginPivotCacheDef\"},180:{n:\"BrtEndPivotCacheDef\"},181:{n:\"BrtBeginPCDFields\"},182:{n:\"BrtEndPCDFields\"},183:{n:\"BrtBeginPCDField\"},184:{n:\"BrtEndPCDField\"},185:{n:\"BrtBeginPCDSource\"},186:{n:\"BrtEndPCDSource\"},187:{n:\"BrtBeginPCDSRange\"},188:{n:\"BrtEndPCDSRange\"},189:{n:\"BrtBeginPCDFAtbl\"},190:{n:\"BrtEndPCDFAtbl\"},191:{n:\"BrtBeginPCDIRun\"},192:{n:\"BrtEndPCDIRun\"},193:{n:\"BrtBeginPivotCacheRecords\"},194:{n:\"BrtEndPivotCacheRecords\"},195:{n:\"BrtBeginPCDHierarchies\"},196:{n:\"BrtEndPCDHierarchies\"},197:{n:\"BrtBeginPCDHierarchy\"},198:{n:\"BrtEndPCDHierarchy\"},199:{n:\"BrtBeginPCDHFieldsUsage\"},200:{n:\"BrtEndPCDHFieldsUsage\"},201:{n:\"BrtBeginExtConnection\"},202:{n:\"BrtEndExtConnection\"},203:{n:\"BrtBeginECDbProps\"},204:{n:\"BrtEndECDbProps\"},205:{n:\"BrtBeginECOlapProps\"},206:{n:\"BrtEndECOlapProps\"},207:{n:\"BrtBeginPCDSConsol\"},208:{n:\"BrtEndPCDSConsol\"},209:{n:\"BrtBeginPCDSCPages\"},210:{n:\"BrtEndPCDSCPages\"},211:{n:\"BrtBeginPCDSCPage\"},212:{n:\"BrtEndPCDSCPage\"},213:{n:\"BrtBeginPCDSCPItem\"},214:{n:\"BrtEndPCDSCPItem\"},215:{n:\"BrtBeginPCDSCSets\"},216:{n:\"BrtEndPCDSCSets\"},217:{n:\"BrtBeginPCDSCSet\"},218:{n:\"BrtEndPCDSCSet\"},219:{n:\"BrtBeginPCDFGroup\"},220:{n:\"BrtEndPCDFGroup\"},221:{n:\"BrtBeginPCDFGItems\"},222:{n:\"BrtEndPCDFGItems\"},223:{n:\"BrtBeginPCDFGRange\"},224:{n:\"BrtEndPCDFGRange\"},225:{n:\"BrtBeginPCDFGDiscrete\"},226:{n:\"BrtEndPCDFGDiscrete\"},227:{n:\"BrtBeginPCDSDTupleCache\"},228:{n:\"BrtEndPCDSDTupleCache\"},229:{n:\"BrtBeginPCDSDTCEntries\"},230:{n:\"BrtEndPCDSDTCEntries\"},231:{n:\"BrtBeginPCDSDTCEMembers\"},232:{n:\"BrtEndPCDSDTCEMembers\"},233:{n:\"BrtBeginPCDSDTCEMember\"},234:{n:\"BrtEndPCDSDTCEMember\"},235:{n:\"BrtBeginPCDSDTCQueries\"},236:{n:\"BrtEndPCDSDTCQueries\"},237:{n:\"BrtBeginPCDSDTCQuery\"},238:{n:\"BrtEndPCDSDTCQuery\"},239:{n:\"BrtBeginPCDSDTCSets\"},240:{n:\"BrtEndPCDSDTCSets\"},241:{n:\"BrtBeginPCDSDTCSet\"},242:{n:\"BrtEndPCDSDTCSet\"},243:{n:\"BrtBeginPCDCalcItems\"},244:{n:\"BrtEndPCDCalcItems\"},245:{n:\"BrtBeginPCDCalcItem\"},246:{n:\"BrtEndPCDCalcItem\"},247:{n:\"BrtBeginPRule\"},248:{n:\"BrtEndPRule\"},249:{n:\"BrtBeginPRFilters\"},250:{n:\"BrtEndPRFilters\"},251:{n:\"BrtBeginPRFilter\"},252:{n:\"BrtEndPRFilter\"},253:{n:\"BrtBeginPNames\"},254:{n:\"BrtEndPNames\"},255:{n:\"BrtBeginPName\"},256:{n:\"BrtEndPName\"},257:{n:\"BrtBeginPNPairs\"},258:{n:\"BrtEndPNPairs\"},259:{n:\"BrtBeginPNPair\"},260:{n:\"BrtEndPNPair\"},261:{n:\"BrtBeginECWebProps\"},262:{n:\"BrtEndECWebProps\"},263:{n:\"BrtBeginEcWpTables\"},264:{n:\"BrtEndECWPTables\"},265:{n:\"BrtBeginECParams\"},266:{n:\"BrtEndECParams\"},267:{n:\"BrtBeginECParam\"},268:{n:\"BrtEndECParam\"},269:{n:\"BrtBeginPCDKPIs\"},270:{n:\"BrtEndPCDKPIs\"},271:{n:\"BrtBeginPCDKPI\"},272:{n:\"BrtEndPCDKPI\"},273:{n:\"BrtBeginDims\"},274:{n:\"BrtEndDims\"},275:{n:\"BrtBeginDim\"},276:{n:\"BrtEndDim\"},277:{n:\"BrtIndexPartEnd\"},278:{n:\"BrtBeginStyleSheet\"},279:{n:\"BrtEndStyleSheet\"},280:{n:\"BrtBeginSXView\"},281:{n:\"BrtEndSXVI\"},282:{n:\"BrtBeginSXVI\"},283:{n:\"BrtBeginSXVIs\"},284:{n:\"BrtEndSXVIs\"},285:{n:\"BrtBeginSXVD\"},286:{n:\"BrtEndSXVD\"},287:{n:\"BrtBeginSXVDs\"},288:{n:\"BrtEndSXVDs\"},289:{n:\"BrtBeginSXPI\"},290:{n:\"BrtEndSXPI\"},291:{n:\"BrtBeginSXPIs\"},292:{n:\"BrtEndSXPIs\"},293:{n:\"BrtBeginSXDI\"},294:{n:\"BrtEndSXDI\"},295:{n:\"BrtBeginSXDIs\"},296:{n:\"BrtEndSXDIs\"},297:{n:\"BrtBeginSXLI\"},298:{n:\"BrtEndSXLI\"},299:{n:\"BrtBeginSXLIRws\"},300:{n:\"BrtEndSXLIRws\"},301:{n:\"BrtBeginSXLICols\"},302:{n:\"BrtEndSXLICols\"},303:{n:\"BrtBeginSXFormat\"},304:{n:\"BrtEndSXFormat\"},305:{n:\"BrtBeginSXFormats\"},306:{n:\"BrtEndSxFormats\"},307:{n:\"BrtBeginSxSelect\"},308:{n:\"BrtEndSxSelect\"},309:{n:\"BrtBeginISXVDRws\"},310:{n:\"BrtEndISXVDRws\"},311:{n:\"BrtBeginISXVDCols\"},312:{n:\"BrtEndISXVDCols\"},313:{n:\"BrtEndSXLocation\"},314:{n:\"BrtBeginSXLocation\"},315:{n:\"BrtEndSXView\"},316:{n:\"BrtBeginSXTHs\"},317:{n:\"BrtEndSXTHs\"},318:{n:\"BrtBeginSXTH\"},319:{n:\"BrtEndSXTH\"},320:{n:\"BrtBeginISXTHRws\"},321:{n:\"BrtEndISXTHRws\"},322:{n:\"BrtBeginISXTHCols\"},323:{n:\"BrtEndISXTHCols\"},324:{n:\"BrtBeginSXTDMPS\"},325:{n:\"BrtEndSXTDMPs\"},326:{n:\"BrtBeginSXTDMP\"},327:{n:\"BrtEndSXTDMP\"},328:{n:\"BrtBeginSXTHItems\"},329:{n:\"BrtEndSXTHItems\"},330:{n:\"BrtBeginSXTHItem\"},331:{n:\"BrtEndSXTHItem\"},332:{n:\"BrtBeginMetadata\"},333:{n:\"BrtEndMetadata\"},334:{n:\"BrtBeginEsmdtinfo\"},335:{n:\"BrtMdtinfo\"},336:{n:\"BrtEndEsmdtinfo\"},337:{n:\"BrtBeginEsmdb\"},338:{n:\"BrtEndEsmdb\"},339:{n:\"BrtBeginEsfmd\"},340:{n:\"BrtEndEsfmd\"},341:{n:\"BrtBeginSingleCells\"},342:{n:\"BrtEndSingleCells\"},343:{n:\"BrtBeginList\"},344:{n:\"BrtEndList\"},345:{n:\"BrtBeginListCols\"},346:{n:\"BrtEndListCols\"},347:{n:\"BrtBeginListCol\"},348:{n:\"BrtEndListCol\"},349:{n:\"BrtBeginListXmlCPr\"},350:{n:\"BrtEndListXmlCPr\"},351:{n:\"BrtListCCFmla\"},352:{n:\"BrtListTrFmla\"},353:{n:\"BrtBeginExternals\"},354:{n:\"BrtEndExternals\"},355:{n:\"BrtSupBookSrc\",f:Ht},357:{n:\"BrtSupSelf\"},358:{n:\"BrtSupSame\"},359:{n:\"BrtSupTabs\"},360:{n:\"BrtBeginSupBook\"},361:{n:\"BrtPlaceholderName\"},362:{n:\"BrtExternSheet\",f:ks},363:{n:\"BrtExternTableStart\"},364:{n:\"BrtExternTableEnd\"},366:{n:\"BrtExternRowHdr\"},367:{n:\"BrtExternCellBlank\"},368:{n:\"BrtExternCellReal\"},369:{n:\"BrtExternCellBool\"},370:{n:\"BrtExternCellError\"},371:{n:\"BrtExternCellString\"},372:{n:\"BrtBeginEsmdx\"},373:{n:\"BrtEndEsmdx\"},374:{n:\"BrtBeginMdxSet\"},375:{n:\"BrtEndMdxSet\"},376:{n:\"BrtBeginMdxMbrProp\"},377:{n:\"BrtEndMdxMbrProp\"},378:{n:\"BrtBeginMdxKPI\"},379:{n:\"BrtEndMdxKPI\"},380:{n:\"BrtBeginEsstr\"},381:{n:\"BrtEndEsstr\"},382:{n:\"BrtBeginPRFItem\"},383:{n:\"BrtEndPRFItem\"},384:{n:\"BrtBeginPivotCacheIDs\"},385:{n:\"BrtEndPivotCacheIDs\"},386:{n:\"BrtBeginPivotCacheID\"},387:{n:\"BrtEndPivotCacheID\"},388:{n:\"BrtBeginISXVIs\"},389:{n:\"BrtEndISXVIs\"},390:{n:\"BrtBeginColInfos\"},391:{n:\"BrtEndColInfos\"},392:{n:\"BrtBeginRwBrk\"},393:{n:\"BrtEndRwBrk\"},394:{n:\"BrtBeginColBrk\"},395:{n:\"BrtEndColBrk\"},396:{n:\"BrtBrk\"},397:{n:\"BrtUserBookView\"},398:{n:\"BrtInfo\"},399:{n:\"BrtCUsr\"},400:{n:\"BrtUsr\"},401:{n:\"BrtBeginUsers\"},403:{n:\"BrtEOF\"},404:{n:\"BrtUCR\"},405:{n:\"BrtRRInsDel\"},406:{n:\"BrtRREndInsDel\"},407:{n:\"BrtRRMove\"},408:{n:\"BrtRREndMove\"},409:{n:\"BrtRRChgCell\"},410:{n:\"BrtRREndChgCell\"},411:{n:\"BrtRRHeader\"},412:{n:\"BrtRRUserView\"},413:{n:\"BrtRRRenSheet\"},414:{n:\"BrtRRInsertSh\"},415:{n:\"BrtRRDefName\"},416:{n:\"BrtRRNote\"},417:{n:\"BrtRRConflict\"},418:{n:\"BrtRRTQSIF\"},419:{n:\"BrtRRFormat\"},420:{n:\"BrtRREndFormat\"},421:{n:\"BrtRRAutoFmt\"},422:{n:\"BrtBeginUserShViews\"},423:{n:\"BrtBeginUserShView\"},424:{n:\"BrtEndUserShView\"},425:{n:\"BrtEndUserShViews\"},426:{n:\"BrtArrFmla\",f:Cd},427:{n:\"BrtShrFmla\",f:kd},428:{n:\"BrtTable\"},429:{n:\"BrtBeginExtConnections\"},430:{n:\"BrtEndExtConnections\"},431:{n:\"BrtBeginPCDCalcMems\"},432:{n:\"BrtEndPCDCalcMems\"},433:{n:\"BrtBeginPCDCalcMem\"},434:{n:\"BrtEndPCDCalcMem\"},435:{n:\"BrtBeginPCDHGLevels\"},436:{n:\"BrtEndPCDHGLevels\"},437:{n:\"BrtBeginPCDHGLevel\"},438:{n:\"BrtEndPCDHGLevel\"},439:{n:\"BrtBeginPCDHGLGroups\"},440:{n:\"BrtEndPCDHGLGroups\"},441:{n:\"BrtBeginPCDHGLGroup\"},442:{n:\"BrtEndPCDHGLGroup\"},443:{n:\"BrtBeginPCDHGLGMembers\"},444:{n:\"BrtEndPCDHGLGMembers\"},445:{n:\"BrtBeginPCDHGLGMember\"},446:{n:\"BrtEndPCDHGLGMember\"},447:{n:\"BrtBeginQSI\"},448:{n:\"BrtEndQSI\"},449:{n:\"BrtBeginQSIR\"},450:{n:\"BrtEndQSIR\"},451:{n:\"BrtBeginDeletedNames\"},452:{n:\"BrtEndDeletedNames\"},453:{n:\"BrtBeginDeletedName\"},454:{n:\"BrtEndDeletedName\"},455:{n:\"BrtBeginQSIFs\"},456:{n:\"BrtEndQSIFs\"},457:{n:\"BrtBeginQSIF\"},458:{n:\"BrtEndQSIF\"},459:{n:\"BrtBeginAutoSortScope\"},460:{n:\"BrtEndAutoSortScope\"},461:{n:\"BrtBeginConditionalFormatting\"},462:{n:\"BrtEndConditionalFormatting\"},463:{n:\"BrtBeginCFRule\"},464:{n:\"BrtEndCFRule\"},465:{n:\"BrtBeginIconSet\"},466:{n:\"BrtEndIconSet\"},467:{n:\"BrtBeginDatabar\"},468:{n:\"BrtEndDatabar\"},469:{n:\"BrtBeginColorScale\"},470:{n:\"BrtEndColorScale\"},471:{n:\"BrtCFVO\"},472:{n:\"BrtExternValueMeta\"},473:{n:\"BrtBeginColorPalette\"},474:{n:\"BrtEndColorPalette\"},475:{n:\"BrtIndexedColor\"},476:{n:\"BrtMargins\",f:Ad},477:{n:\"BrtPrintOptions\"},478:{n:\"BrtPageSetup\"},479:{n:\"BrtBeginHeaderFooter\"},480:{n:\"BrtEndHeaderFooter\"},481:{n:\"BrtBeginSXCrtFormat\"},482:{n:\"BrtEndSXCrtFormat\"},483:{n:\"BrtBeginSXCrtFormats\"},484:{n:\"BrtEndSXCrtFormats\"},485:{n:\"BrtWsFmtInfo\",f:Yu},486:{n:\"BrtBeginMgs\"},487:{n:\"BrtEndMGs\"},488:{n:\"BrtBeginMGMaps\"},489:{n:\"BrtEndMGMaps\"},490:{n:\"BrtBeginMG\"},491:{n:\"BrtEndMG\"},492:{n:\"BrtBeginMap\"},493:{n:\"BrtEndMap\"},494:{n:\"BrtHLink\",f:bd},495:{n:\"BrtBeginDCon\"},496:{n:\"BrtEndDCon\"},497:{n:\"BrtBeginDRefs\"},498:{n:\"BrtEndDRefs\"},499:{n:\"BrtDRef\"},500:{n:\"BrtBeginScenMan\"},501:{n:\"BrtEndScenMan\"},502:{n:\"BrtBeginSct\"},503:{n:\"BrtEndSct\"},504:{n:\"BrtSlc\"},505:{n:\"BrtBeginDXFs\"},506:{n:\"BrtEndDXFs\"},507:{n:\"BrtDXF\"},508:{n:\"BrtBeginTableStyles\"},509:{n:\"BrtEndTableStyles\"},510:{n:\"BrtBeginTableStyle\"},511:{n:\"BrtEndTableStyle\"},512:{n:\"BrtTableStyleElement\"},513:{n:\"BrtTableStyleClient\"},514:{n:\"BrtBeginVolDeps\"},515:{n:\"BrtEndVolDeps\"},516:{n:\"BrtBeginVolType\"},517:{n:\"BrtEndVolType\"},518:{n:\"BrtBeginVolMain\"},519:{n:\"BrtEndVolMain\"},520:{n:\"BrtBeginVolTopic\"},521:{n:\"BrtEndVolTopic\"},522:{n:\"BrtVolSubtopic\"},523:{n:\"BrtVolRef\"},524:{n:\"BrtVolNum\"},525:{n:\"BrtVolErr\"},526:{n:\"BrtVolStr\"},527:{n:\"BrtVolBool\"},528:{n:\"BrtBeginCalcChain$\"},529:{n:\"BrtEndCalcChain$\"},530:{n:\"BrtBeginSortState\"},531:{n:\"BrtEndSortState\"},532:{n:\"BrtBeginSortCond\"},533:{n:\"BrtEndSortCond\"},534:{n:\"BrtBookProtection\"},535:{n:\"BrtSheetProtection\"},536:{n:\"BrtRangeProtection\"},537:{n:\"BrtPhoneticInfo\"},538:{n:\"BrtBeginECTxtWiz\"},539:{n:\"BrtEndECTxtWiz\"},540:{n:\"BrtBeginECTWFldInfoLst\"},541:{n:\"BrtEndECTWFldInfoLst\"},542:{n:\"BrtBeginECTwFldInfo\"},548:{n:\"BrtFileSharing\"},549:{n:\"BrtOleSize\"},550:{n:\"BrtDrawing\",f:Ht},551:{n:\"BrtLegacyDrawing\"},552:{n:\"BrtLegacyDrawingHF\"},553:{n:\"BrtWebOpt\"},554:{n:\"BrtBeginWebPubItems\"},555:{n:\"BrtEndWebPubItems\"},556:{n:\"BrtBeginWebPubItem\"},557:{n:\"BrtEndWebPubItem\"},558:{n:\"BrtBeginSXCondFmt\"},559:{n:\"BrtEndSXCondFmt\"},560:{n:\"BrtBeginSXCondFmts\"},561:{n:\"BrtEndSXCondFmts\"},562:{n:\"BrtBkHim\"},564:{n:\"BrtColor\"},565:{n:\"BrtBeginIndexedColors\"},566:{n:\"BrtEndIndexedColors\"},569:{n:\"BrtBeginMRUColors\"},570:{n:\"BrtEndMRUColors\"},572:{n:\"BrtMRUColor\"},573:{n:\"BrtBeginDVals\"},574:{n:\"BrtEndDVals\"},577:{n:\"BrtSupNameStart\"},578:{n:\"BrtSupNameValueStart\"},579:{n:\"BrtSupNameValueEnd\"},580:{n:\"BrtSupNameNum\"},581:{n:\"BrtSupNameErr\"},582:{n:\"BrtSupNameSt\"},583:{n:\"BrtSupNameNil\"},584:{n:\"BrtSupNameBool\"},585:{n:\"BrtSupNameFmla\"},586:{n:\"BrtSupNameBits\"},587:{n:\"BrtSupNameEnd\"},588:{n:\"BrtEndSupBook\"},589:{n:\"BrtCellSmartTagProperty\"},590:{n:\"BrtBeginCellSmartTag\"},591:{n:\"BrtEndCellSmartTag\"},592:{n:\"BrtBeginCellSmartTags\"},593:{n:\"BrtEndCellSmartTags\"},594:{n:\"BrtBeginSmartTags\"},595:{n:\"BrtEndSmartTags\"},596:{n:\"BrtSmartTagType\"},597:{n:\"BrtBeginSmartTagTypes\"},598:{n:\"BrtEndSmartTagTypes\"},599:{n:\"BrtBeginSXFilters\"},600:{n:\"BrtEndSXFilters\"},601:{n:\"BrtBeginSXFILTER\"},602:{n:\"BrtEndSXFilter\"},603:{n:\"BrtBeginFills\"},604:{n:\"BrtEndFills\"},605:{n:\"BrtBeginCellWatches\"},606:{n:\"BrtEndCellWatches\"},607:{n:\"BrtCellWatch\"},608:{n:\"BrtBeginCRErrs\"},609:{n:\"BrtEndCRErrs\"},610:{n:\"BrtCrashRecErr\"},611:{n:\"BrtBeginFonts\"},612:{n:\"BrtEndFonts\"},613:{n:\"BrtBeginBorders\"},614:{n:\"BrtEndBorders\"},615:{n:\"BrtBeginFmts\"},616:{n:\"BrtEndFmts\"},617:{n:\"BrtBeginCellXFs\"},618:{n:\"BrtEndCellXFs\"},619:{n:\"BrtBeginStyles\"},620:{n:\"BrtEndStyles\"},625:{n:\"BrtBigName\"},626:{n:\"BrtBeginCellStyleXFs\"},627:{n:\"BrtEndCellStyleXFs\"},628:{n:\"BrtBeginComments\"},629:{n:\"BrtEndComments\"},630:{n:\"BrtBeginCommentAuthors\"},631:{n:\"BrtEndCommentAuthors\"},632:{n:\"BrtCommentAuthor\",f:Wl},633:{n:\"BrtBeginCommentList\"},634:{n:\"BrtEndCommentList\"},635:{n:\"BrtBeginComment\",f:Ul},636:{n:\"BrtEndComment\"},637:{n:\"BrtCommentText\",f:Rt},638:{n:\"BrtBeginOleObjects\"},639:{n:\"BrtOleObject\"},640:{n:\"BrtEndOleObjects\"},641:{n:\"BrtBeginSxrules\"},642:{n:\"BrtEndSxRules\"},643:{n:\"BrtBeginActiveXControls\"},644:{n:\"BrtActiveX\"},645:{n:\"BrtEndActiveXControls\"},646:{n:\"BrtBeginPCDSDTCEMembersSortBy\"},648:{n:\"BrtBeginCellIgnoreECs\"},649:{n:\"BrtCellIgnoreEC\"},650:{n:\"BrtEndCellIgnoreECs\"},651:{n:\"BrtCsProp\",f:Zd},652:{n:\"BrtCsPageSetup\"},653:{n:\"BrtBeginUserCsViews\"},654:{n:\"BrtEndUserCsViews\"},655:{n:\"BrtBeginUserCsView\"},656:{n:\"BrtEndUserCsView\"},657:{n:\"BrtBeginPcdSFCIEntries\"},658:{n:\"BrtEndPCDSFCIEntries\"},659:{n:\"BrtPCDSFCIEntry\"},660:{n:\"BrtBeginListParts\"},661:{n:\"BrtListPart\"},662:{n:\"BrtEndListParts\"},663:{n:\"BrtSheetCalcProp\"},664:{n:\"BrtBeginFnGroup\"},665:{n:\"BrtFnGroup\"},666:{n:\"BrtEndFnGroup\"},667:{n:\"BrtSupAddin\"},668:{n:\"BrtSXTDMPOrder\"},669:{n:\"BrtCsProtection\"},671:{n:\"BrtBeginWsSortMap\"},672:{n:\"BrtEndWsSortMap\"},673:{n:\"BrtBeginRRSort\"},674:{n:\"BrtEndRRSort\"},675:{n:\"BrtRRSortItem\"},676:{n:\"BrtFileSharingIso\"},677:{n:\"BrtBookProtectionIso\"},678:{n:\"BrtSheetProtectionIso\"},679:{n:\"BrtCsProtectionIso\"},680:{n:\"BrtRangeProtectionIso\"},681:{n:\"BrtDValList\"},1024:{n:\"BrtRwDescent\"},1025:{n:\"BrtKnownFonts\"},1026:{n:\"BrtBeginSXTupleSet\"},1027:{n:\"BrtEndSXTupleSet\"},1028:{n:\"BrtBeginSXTupleSetHeader\"},1029:{n:\"BrtEndSXTupleSetHeader\"},1030:{n:\"BrtSXTupleSetHeaderItem\"},1031:{n:\"BrtBeginSXTupleSetData\"},1032:{n:\"BrtEndSXTupleSetData\"},1033:{n:\"BrtBeginSXTupleSetRow\"},1034:{n:\"BrtEndSXTupleSetRow\"},1035:{n:\"BrtSXTupleSetRowItem\"},1036:{n:\"BrtNameExt\"},1037:{n:\"BrtPCDH14\"},1038:{n:\"BrtBeginPCDCalcMem14\"},1039:{n:\"BrtEndPCDCalcMem14\"},1040:{n:\"BrtSXTH14\"},1041:{n:\"BrtBeginSparklineGroup\"},1042:{n:\"BrtEndSparklineGroup\"},1043:{n:\"BrtSparkline\"},1044:{n:\"BrtSXDI14\"},1045:{n:\"BrtWsFmtInfoEx14\"},1046:{n:\"BrtBeginConditionalFormatting14\"},1047:{n:\"BrtEndConditionalFormatting14\"},1048:{n:\"BrtBeginCFRule14\"},1049:{n:\"BrtEndCFRule14\"},1050:{n:\"BrtCFVO14\"},1051:{n:\"BrtBeginDatabar14\"},1052:{n:\"BrtBeginIconSet14\"},1053:{n:\"BrtDVal14\",f:Rd},1054:{n:\"BrtBeginDVals14\"},1055:{n:\"BrtColor14\"},1056:{n:\"BrtBeginSparklines\"},1057:{n:\"BrtEndSparklines\"},1058:{n:\"BrtBeginSparklineGroups\"},1059:{n:\"BrtEndSparklineGroups\"},1061:{n:\"BrtSXVD14\"},1062:{n:\"BrtBeginSXView14\"},1063:{n:\"BrtEndSXView14\"},1064:{n:\"BrtBeginSXView16\"},1065:{n:\"BrtEndSXView16\"},1066:{n:\"BrtBeginPCD14\"},1067:{n:\"BrtEndPCD14\"},1068:{n:\"BrtBeginExtConn14\"},1069:{n:\"BrtEndExtConn14\"},1070:{n:\"BrtBeginSlicerCacheIDs\"},1071:{n:\"BrtEndSlicerCacheIDs\"},1072:{n:\"BrtBeginSlicerCacheID\"},1073:{n:\"BrtEndSlicerCacheID\"},1075:{n:\"BrtBeginSlicerCache\"},1076:{n:\"BrtEndSlicerCache\"},1077:{n:\"BrtBeginSlicerCacheDef\"},1078:{n:\"BrtEndSlicerCacheDef\"},1079:{n:\"BrtBeginSlicersEx\"},1080:{n:\"BrtEndSlicersEx\"},1081:{n:\"BrtBeginSlicerEx\"},1082:{n:\"BrtEndSlicerEx\"},1083:{n:\"BrtBeginSlicer\"},1084:{n:\"BrtEndSlicer\"},1085:{n:\"BrtSlicerCachePivotTables\"},1086:{n:\"BrtBeginSlicerCacheOlapImpl\"},1087:{n:\"BrtEndSlicerCacheOlapImpl\"},1088:{n:\"BrtBeginSlicerCacheLevelsData\"},1089:{n:\"BrtEndSlicerCacheLevelsData\"},1090:{n:\"BrtBeginSlicerCacheLevelData\"},1091:{n:\"BrtEndSlicerCacheLevelData\"},1092:{n:\"BrtBeginSlicerCacheSiRanges\"},1093:{n:\"BrtEndSlicerCacheSiRanges\"},1094:{n:\"BrtBeginSlicerCacheSiRange\"},1095:{n:\"BrtEndSlicerCacheSiRange\"},1096:{n:\"BrtSlicerCacheOlapItem\"},1097:{n:\"BrtBeginSlicerCacheSelections\"},1098:{n:\"BrtSlicerCacheSelection\"},1099:{n:\"BrtEndSlicerCacheSelections\"},1100:{n:\"BrtBeginSlicerCacheNative\"},1101:{n:\"BrtEndSlicerCacheNative\"},1102:{n:\"BrtSlicerCacheNativeItem\"},1103:{n:\"BrtRangeProtection14\"},1104:{n:\"BrtRangeProtectionIso14\"},1105:{n:\"BrtCellIgnoreEC14\"},1111:{n:\"BrtList14\"},1112:{n:\"BrtCFIcon\"},1113:{n:\"BrtBeginSlicerCachesPivotCacheIDs\"},1114:{n:\"BrtEndSlicerCachesPivotCacheIDs\"},1115:{n:\"BrtBeginSlicers\"},1116:{n:\"BrtEndSlicers\"},1117:{n:\"BrtWbProp14\"},1118:{n:\"BrtBeginSXEdit\"},1119:{n:\"BrtEndSXEdit\"},1120:{n:\"BrtBeginSXEdits\"},1121:{n:\"BrtEndSXEdits\"},1122:{n:\"BrtBeginSXChange\"},1123:{n:\"BrtEndSXChange\"},1124:{n:\"BrtBeginSXChanges\"},1125:{n:\"BrtEndSXChanges\"},1126:{n:\"BrtSXTupleItems\"},1128:{n:\"BrtBeginSlicerStyle\"},1129:{n:\"BrtEndSlicerStyle\"},1130:{n:\"BrtSlicerStyleElement\"},1131:{n:\"BrtBeginStyleSheetExt14\"},1132:{n:\"BrtEndStyleSheetExt14\"},1133:{n:\"BrtBeginSlicerCachesPivotCacheID\"},1134:{n:\"BrtEndSlicerCachesPivotCacheID\"},1135:{n:\"BrtBeginConditionalFormattings\"},1136:{n:\"BrtEndConditionalFormattings\"},1137:{n:\"BrtBeginPCDCalcMemExt\"},1138:{n:\"BrtEndPCDCalcMemExt\"},1139:{n:\"BrtBeginPCDCalcMemsExt\"},1140:{n:\"BrtEndPCDCalcMemsExt\"},1141:{n:\"BrtPCDField14\"},1142:{n:\"BrtBeginSlicerStyles\"},1143:{n:\"BrtEndSlicerStyles\"},1144:{n:\"BrtBeginSlicerStyleElements\"},1145:{n:\"BrtEndSlicerStyleElements\"},1146:{n:\"BrtCFRuleExt\"},1147:{n:\"BrtBeginSXCondFmt14\"},1148:{n:\"BrtEndSXCondFmt14\"},1149:{n:\"BrtBeginSXCondFmts14\"},1150:{n:\"BrtEndSXCondFmts14\"},1152:{n:\"BrtBeginSortCond14\"},1153:{n:\"BrtEndSortCond14\"},1154:{n:\"BrtEndDVals14\"},1155:{n:\"BrtEndIconSet14\"},1156:{n:\"BrtEndDatabar14\"},1157:{n:\"BrtBeginColorScale14\"},1158:{n:\"BrtEndColorScale14\"},1159:{n:\"BrtBeginSxrules14\"},1160:{n:\"BrtEndSxrules14\"},1161:{n:\"BrtBeginPRule14\"},1162:{n:\"BrtEndPRule14\"},1163:{n:\"BrtBeginPRFilters14\"},1164:{n:\"BrtEndPRFilters14\"},1165:{n:\"BrtBeginPRFilter14\"},1166:{n:\"BrtEndPRFilter14\"},1167:{n:\"BrtBeginPRFItem14\"},1168:{n:\"BrtEndPRFItem14\"},1169:{n:\"BrtBeginCellIgnoreECs14\"},1170:{n:\"BrtEndCellIgnoreECs14\"},1171:{n:\"BrtDxf14\"},1172:{n:\"BrtBeginDxF14s\"},1173:{n:\"BrtEndDxf14s\"},1177:{n:\"BrtFilter14\"},1178:{n:\"BrtBeginCustomFilters14\"},1180:{n:\"BrtCustomFilter14\"},1181:{n:\"BrtIconFilter14\"},1182:{n:\"BrtPivotCacheConnectionName\"},2048:{n:\"BrtBeginDecoupledPivotCacheIDs\"},2049:{n:\"BrtEndDecoupledPivotCacheIDs\"},2050:{n:\"BrtDecoupledPivotCacheID\"},2051:{n:\"BrtBeginPivotTableRefs\"},2052:{n:\"BrtEndPivotTableRefs\"},2053:{n:\"BrtPivotTableRef\"},2054:{n:\"BrtSlicerCacheBookPivotTables\"},2055:{n:\"BrtBeginSxvcells\"},2056:{n:\"BrtEndSxvcells\"},2057:{n:\"BrtBeginSxRow\"},2058:{n:\"BrtEndSxRow\"},2060:{n:\"BrtPcdCalcMem15\"},2067:{n:\"BrtQsi15\"},2068:{n:\"BrtBeginWebExtensions\"},2069:{n:\"BrtEndWebExtensions\"},2070:{n:\"BrtWebExtension\"},2071:{n:\"BrtAbsPath15\"},2072:{n:\"BrtBeginPivotTableUISettings\"},2073:{n:\"BrtEndPivotTableUISettings\"},2075:{n:\"BrtTableSlicerCacheIDs\"},2076:{n:\"BrtTableSlicerCacheID\"},2077:{n:\"BrtBeginTableSlicerCache\"},2078:{n:\"BrtEndTableSlicerCache\"},2079:{n:\"BrtSxFilter15\"},2080:{n:\"BrtBeginTimelineCachePivotCacheIDs\"},2081:{n:\"BrtEndTimelineCachePivotCacheIDs\"},2082:{n:\"BrtTimelineCachePivotCacheID\"},2083:{n:\"BrtBeginTimelineCacheIDs\"},2084:{n:\"BrtEndTimelineCacheIDs\"},2085:{n:\"BrtBeginTimelineCacheID\"},2086:{n:\"BrtEndTimelineCacheID\"},2087:{n:\"BrtBeginTimelinesEx\"},2088:{n:\"BrtEndTimelinesEx\"},2089:{n:\"BrtBeginTimelineEx\"},2090:{n:\"BrtEndTimelineEx\"},2091:{n:\"BrtWorkBookPr15\"},2092:{n:\"BrtPCDH15\"},2093:{n:\"BrtBeginTimelineStyle\"},2094:{n:\"BrtEndTimelineStyle\"},2095:{n:\"BrtTimelineStyleElement\"},2096:{n:\"BrtBeginTimelineStylesheetExt15\"},2097:{n:\"BrtEndTimelineStylesheetExt15\"},2098:{n:\"BrtBeginTimelineStyles\"},2099:{n:\"BrtEndTimelineStyles\"},2100:{n:\"BrtBeginTimelineStyleElements\"},2101:{n:\"BrtEndTimelineStyleElements\"},2102:{n:\"BrtDxf15\"},2103:{n:\"BrtBeginDxfs15\"},2104:{n:\"brtEndDxfs15\"},2105:{n:\"BrtSlicerCacheHideItemsWithNoData\"},2106:{n:\"BrtBeginItemUniqueNames\"},2107:{n:\"BrtEndItemUniqueNames\"},2108:{n:\"BrtItemUniqueName\"},2109:{n:\"BrtBeginExtConn15\"},2110:{n:\"BrtEndExtConn15\"},2111:{n:\"BrtBeginOledbPr15\"},2112:{n:\"BrtEndOledbPr15\"},2113:{n:\"BrtBeginDataFeedPr15\"},2114:{n:\"BrtEndDataFeedPr15\"},2115:{n:\"BrtTextPr15\"},2116:{n:\"BrtRangePr15\"},2117:{n:\"BrtDbCommand15\"},2118:{n:\"BrtBeginDbTables15\"},2119:{n:\"BrtEndDbTables15\"},2120:{n:\"BrtDbTable15\"},2121:{n:\"BrtBeginDataModel\"},2122:{n:\"BrtEndDataModel\"},2123:{n:\"BrtBeginModelTables\"},2124:{n:\"BrtEndModelTables\"},2125:{n:\"BrtModelTable\"},2126:{n:\"BrtBeginModelRelationships\"},2127:{n:\"BrtEndModelRelationships\"},2128:{n:\"BrtModelRelationship\"},2129:{n:\"BrtBeginECTxtWiz15\"},2130:{n:\"BrtEndECTxtWiz15\"},2131:{n:\"BrtBeginECTWFldInfoLst15\"},2132:{n:\"BrtEndECTWFldInfoLst15\"},2133:{n:\"BrtBeginECTWFldInfo15\"},2134:{n:\"BrtFieldListActiveItem\"},2135:{n:\"BrtPivotCacheIdVersion\"},2136:{n:\"BrtSXDI15\"},2137:{n:\"BrtBeginModelTimeGroupings\"},2138:{n:\"BrtEndModelTimeGroupings\"},2139:{n:\"BrtBeginModelTimeGrouping\"},2140:{n:\"BrtEndModelTimeGrouping\"},2141:{n:\"BrtModelTimeGroupingCalcCol\"},3072:{n:\"BrtUid\"},3073:{n:\"BrtRevisionPtr\"},5095:{n:\"BrtBeginCalcFeatures\"},5096:{n:\"BrtEndCalcFeatures\"},5097:{n:\"BrtCalcFeature\"},65535:{n:\"\"}};var yv=Y(Tv,\"n\");var xv={3:{n:\"BIFF2NUM\",f:qs},4:{n:\"BIFF2STR\",f:Js},6:{n:\"Formula\",f:Wh},9:{n:\"BOF\",f:xi},10:{n:\"EOF\",f:Wn},12:{n:\"CalcCount\",f:jn},13:{n:\"CalcMode\",f:jn},14:{n:\"CalcPrecision\",f:Xn},15:{n:\"CalcRefMode\",f:Xn},16:{n:\"CalcDelta\",f:Yt},17:{n:\"CalcIter\",f:Xn},18:{n:\"Protect\",f:Xn},19:{n:\"Password\",f:jn},20:{n:\"Header\",f:gs},21:{n:\"Footer\",f:gs},23:{n:\"ExternSheet\",f:ks},24:{n:\"Lbl\",f:Cs},25:{n:\"WinProtect\",f:Xn},26:{n:\"VerticalPageBreaks\"},27:{n:\"HorizontalPageBreaks\"},28:{n:\"Note\",f:ys},29:{n:\"Selection\"},34:{n:\"Date1904\",f:Xn},35:{n:\"ExternName\",f:ms},36:{n:\"COLWIDTH\"},38:{n:\"LeftMargin\",f:Yt},39:{n:\"RightMargin\",f:Yt},40:{n:\"TopMargin\",f:Yt},41:{n:\"BottomMargin\",f:Yt},42:{n:\"PrintRowCol\",f:Xn},43:{n:\"PrintGrid\",f:Xn},47:{n:\"FilePass\",f:eo},49:{n:\"Font\",f:Yi},51:{n:\"PrintSize\",f:jn},60:{n:\"Continue\"},61:{n:\"Window1\",f:Vi},64:{n:\"Backup\",f:Xn},65:{n:\"Pane\",f:Ki},66:{n:\"CodePage\",f:jn},77:{n:\"Pls\"},80:{n:\"DCon\"},81:{n:\"DConRef\"},82:{n:\"DConName\"},85:{n:\"DefColWidth\",f:jn},89:{n:\"XCT\"},90:{n:\"CRN\"},91:{n:\"FileSharing\"},92:{n:\"WriteAccess\",f:Oi},93:{n:\"Obj\",f:Rs},94:{n:\"Uncalced\"},95:{n:\"CalcSaveRecalc\",f:Xn},96:{n:\"Template\"},97:{n:\"Intl\"},99:{n:\"ObjProtect\",f:Xn},125:{n:\"ColInfo\",f:Xs},128:{n:\"Guts\",f:cs},129:{n:\"WsBool\",f:Fi},130:{n:\"GridSet\",f:jn},131:{n:\"HCenter\",f:Xn},132:{n:\"VCenter\",f:Xn},133:{n:\"BoundSheet8\",f:Pi},134:{n:\"WriteProtect\"},140:{n:\"Country\",f:Us},141:{n:\"HideObj\",f:jn},144:{n:\"Sort\"},146:{n:\"Palette\",f:zs},151:{n:\"Sync\"},152:{n:\"LPr\"},153:{n:\"DxGCol\"},154:{n:\"FnGroupName\"},155:{n:\"FilterMode\"},156:{n:\"BuiltInFnGroupCount\",f:jn},157:{n:\"AutoFilterInfo\"},158:{n:\"AutoFilter\"},160:{n:\"Scl\",f:$s},161:{n:\"Setup\",f:Gs},174:{n:\"ScenMan\"},175:{n:\"SCENARIO\"},176:{n:\"SxView\"},177:{n:\"Sxvd\"},178:{n:\"SXVI\"},180:{n:\"SxIvd\"},181:{n:\"SXLI\"},182:{n:\"SXPI\"},184:{n:\"DocRoute\"},185:{n:\"RecipName\"},189:{n:\"MulRk\",f:is},190:{n:\"MulBlank\",f:ss},193:{n:\"Mms\",f:Wn},197:{n:\"SXDI\"},198:{n:\"SXDB\"},199:{n:\"SXFDB\"},200:{n:\"SXDBB\"},201:{n:\"SXNum\"},202:{n:\"SxBool\",f:Xn},203:{n:\"SxErr\"},204:{n:\"SXInt\"},205:{n:\"SXString\"},206:{n:\"SXDtr\"},207:{n:\"SxNil\"},208:{n:\"SXTbl\"},209:{n:\"SXTBRGIITM\"},210:{n:\"SxTbpg\"},211:{n:\"ObProj\"},213:{n:\"SXStreamID\"},215:{n:\"DBCell\"},216:{n:\"SXRng\"},217:{n:\"SxIsxoper\"},218:{n:\"BookBool\",f:jn},220:{n:\"DbOrParamQry\"},221:{n:\"ScenarioProtect\",f:Xn},222:{n:\"OleObjectSize\"},224:{n:\"XF\",f:os},225:{n:\"InterfaceHdr\",f:Ri},226:{n:\"InterfaceEnd\",f:Wn},227:{n:\"SXVS\"},229:{n:\"MergeCells\",f:xs},233:{n:\"BkHim\"},235:{n:\"MsoDrawingGroup\"},236:{n:\"MsoDrawing\"},237:{n:\"MsoDrawingSelection\"},239:{n:\"PhoneticInfo\"},240:{n:\"SxRule\"},241:{n:\"SXEx\"},242:{n:\"SxFilt\"},244:{n:\"SxDXF\"},245:{n:\"SxItm\"},246:{n:\"SxName\"},247:{n:\"SxSelect\"},248:{n:\"SXPair\"},249:{n:\"SxFmla\"},251:{n:\"SxFormat\"},252:{n:\"SST\",f:Li},253:{n:\"LabelSst\",f:Zi},255:{n:\"ExtSST\",f:Mi},256:{n:\"SXVDEx\"},259:{n:\"SXFormula\"},290:{n:\"SXDBEx\"},311:{n:\"RRDInsDel\"},312:{n:\"RRDHead\"},315:{n:\"RRDChgCell\"},317:{n:\"RRTabId\",f:Yn},318:{n:\"RRDRenSheet\"},319:{n:\"RRSort\"},320:{n:\"RRDMove\"},330:{n:\"RRFormat\"},331:{n:\"RRAutoFmt\"},333:{n:\"RRInsertSh\"},334:{n:\"RRDMoveBegin\"},335:{n:\"RRDMoveEnd\"},336:{n:\"RRDInsDelBegin\"},337:{n:\"RRDInsDelEnd\"},338:{n:\"RRDConflict\"},339:{n:\"RRDDefName\"},340:{n:\"RRDRstEtxp\"},351:{n:\"LRng\"},352:{n:\"UsesELFs\",f:Xn},353:{n:\"DSF\",f:Wn},401:{n:\"CUsr\"},402:{n:\"CbUsr\"},403:{n:\"UsrInfo\"},404:{n:\"UsrExcl\"},405:{n:\"FileLock\"},406:{n:\"RRDInfo\"},407:{n:\"BCUsrs\"},408:{n:\"UsrChk\"},425:{n:\"UserBView\"},426:{n:\"UserSViewBegin\"},427:{n:\"UserSViewEnd\"},428:{n:\"RRDUserView\"},429:{n:\"Qsi\"},430:{n:\"SupBook\",f:bs},431:{n:\"Prot4Rev\",f:Xn},432:{n:\"CondFmt\"},433:{n:\"CF\"},434:{n:\"DVal\"},437:{n:\"DConBin\"},438:{n:\"TxO\",f:Fs},439:{n:\"RefreshAll\",f:Xn},440:{n:\"HLink\",f:Ps},441:{n:\"Lel\"},442:{n:\"CodeName\",f:ei},443:{n:\"SXFDBType\"},444:{n:\"Prot4RevPass\",f:jn},445:{n:\"ObNoMacros\"},446:{n:\"Dv\"},448:{n:\"Excel9File\",f:Wn},449:{n:\"RecalcId\",f:Wi,r:2},450:{n:\"EntExU2\",f:Wn},512:{n:\"Dimensions\",f:ts},513:{n:\"Blank\",f:Ys},515:{n:\"Number\",f:ps},516:{n:\"Label\",f:Qi},517:{n:\"BoolErr\",f:us},518:{n:\"Formula\",f:Wh},519:{n:\"String\",f:Zs},520:{n:\"Row\",f:Ui},523:{n:\"Index\"},545:{n:\"Array\",f:_s},549:{n:\"DefaultRowHeight\",f:zi},566:{n:\"Table\"},574:{n:\"Window2\",f:Gi},638:{n:\"RK\",f:ns},659:{n:\"Style\"},1030:{n:\"Formula\",f:Wh},1048:{n:\"BigName\"},1054:{n:\"Format\",f:qi},1084:{n:\"ContinueBigName\"},1212:{n:\"ShrFmla\",f:As},2048:{n:\"HLinkTooltip\",f:Ls},2049:{n:\"WebPub\"},2050:{n:\"QsiSXTag\"},2051:{n:\"DBQueryExt\"},2052:{n:\"ExtString\"},2053:{n:\"TxtQry\"},2054:{n:\"Qsir\"},2055:{n:\"Qsif\"},2056:{n:\"RRDTQSIF\"},2057:{n:\"BOF\",f:xi},2058:{n:\"OleDbConn\"},2059:{n:\"WOpt\"},2060:{n:\"SXViewEx\"},2061:{n:\"SXTH\"},2062:{n:\"SXPIEx\"},2063:{n:\"SXVDTEx\"},2064:{n:\"SXViewEx9\"},2066:{n:\"ContinueFrt\"},2067:{n:\"RealTimeData\"},2128:{n:\"ChartFrtInfo\"},2129:{n:\"FrtWrapper\"},2130:{n:\"StartBlock\"},2131:{n:\"EndBlock\"},2132:{n:\"StartObject\"},2133:{n:\"EndObject\"},2134:{n:\"CatLab\"},2135:{n:\"YMult\"},2136:{n:\"SXViewLink\"},2137:{n:\"PivotChartBits\"},2138:{n:\"FrtFontList\"},2146:{n:\"SheetExt\"},2147:{n:\"BookExt\",r:12},2148:{n:\"SXAddl\"},2149:{n:\"CrErr\"},2150:{n:\"HFPicture\"},2151:{n:\"FeatHdr\",f:Wn},2152:{n:\"Feat\"},2154:{n:\"DataLabExt\"},2155:{n:\"DataLabExtContents\"},2156:{n:\"CellWatch\"},2161:{n:\"FeatHdr11\"},2162:{n:\"Feature11\"},2164:{n:\"DropDownObjIds\"},2165:{n:\"ContinueFrt11\"},2166:{n:\"DConn\"},2167:{n:\"List12\"},2168:{n:\"Feature12\"},2169:{n:\"CondFmt12\"},2170:{n:\"CF12\"},2171:{n:\"CFEx\"},2172:{n:\"XFCRC\",f:Vs,r:12},2173:{n:\"XFExt\",f:_l,r:12},2174:{n:\"AutoFilter12\"},2175:{n:\"ContinueFrt12\"},2180:{n:\"MDTInfo\"},2181:{n:\"MDXStr\"},2182:{n:\"MDXTuple\"},2183:{n:\"MDXSet\"},2184:{n:\"MDXProp\"},2185:{n:\"MDXKPI\"},2186:{n:\"MDB\"},2187:{n:\"PLV\"},2188:{n:\"Compat12\",f:Xn,r:12},2189:{n:\"DXF\"},2190:{n:\"TableStyles\",r:12},2191:{n:\"TableStyle\"},2192:{n:\"TableStyleElement\"},2194:{n:\"StyleExt\"},2195:{n:\"NamePublish\"},2196:{n:\"NameCmt\",f:Ss,r:12},2197:{n:\"SortData\"},2198:{n:\"Theme\",f:wl,r:12},2199:{n:\"GUIDTypeLib\"},2200:{n:\"FnGrp12\"},2201:{n:\"NameFnGrp12\"},2202:{n:\"MTRSettings\",f:Bs,r:12},2203:{n:\"CompressPictures\",f:Wn},2204:{n:\"HeaderFooter\"},2205:{n:\"CrtLayout12\"},2206:{n:\"CrtMlFrt\"},2207:{n:\"CrtMlFrtContinue\"},2211:{n:\"ForceFullCalculation\",f:Hi},2212:{n:\"ShapePropsStream\"},2213:{n:\"TextPropsStream\"},2214:{n:\"RichTextStream\"},2215:{n:\"CrtLayout12A\"},4097:{n:\"Units\"},4098:{n:\"Chart\"},4099:{n:\"Series\"},4102:{n:\"DataFormat\"},4103:{n:\"LineFormat\"},4105:{n:\"MarkerFormat\"},4106:{n:\"AreaFormat\"},4107:{n:\"PieFormat\"},4108:{n:\"AttachedLabel\"},4109:{n:\"SeriesText\"},4116:{n:\"ChartFormat\"},4117:{n:\"Legend\"},4118:{n:\"SeriesList\"},4119:{n:\"Bar\"},4120:{n:\"Line\"},4121:{n:\"Pie\"},4122:{n:\"Area\"},4123:{n:\"Scatter\"},4124:{n:\"CrtLine\"},4125:{n:\"Axis\"},4126:{n:\"Tick\"},4127:{n:\"ValueRange\"},4128:{n:\"CatSerRange\"},4129:{n:\"AxisLine\"},4130:{n:\"CrtLink\"},4132:{n:\"DefaultText\"},4133:{n:\"Text\"},4134:{n:\"FontX\",f:jn},4135:{n:\"ObjectLink\"},4146:{n:\"Frame\"},4147:{n:\"Begin\"},4148:{n:\"End\"},4149:{n:\"PlotArea\"},4154:{n:\"Chart3d\"},4156:{n:\"PicF\"},4157:{n:\"DropBar\"},4158:{n:\"Radar\"},4159:{n:\"Surf\"},4160:{n:\"RadarArea\"},4161:{n:\"AxisParent\"},4163:{n:\"LegendException\"},4164:{n:\"ShtProps\",f:js},4165:{n:\"SerToCrt\"},4166:{n:\"AxesUsed\"},4168:{n:\"SBaseRef\"},4170:{n:\"SerParent\"},4171:{n:\"SerAuxTrend\"},4174:{n:\"IFmtRecord\"},4175:{n:\"Pos\"},4176:{n:\"AlRuns\"},4177:{n:\"BRAI\"},4187:{n:\"SerAuxErrBar\"},4188:{n:\"ClrtClient\",f:Ws},4189:{n:\"SerFmt\"\n},4191:{n:\"Chart3DBarShape\"},4192:{n:\"Fbi\"},4193:{n:\"BopPop\"},4194:{n:\"AxcExt\"},4195:{n:\"Dat\"},4196:{n:\"PlotGrowth\"},4197:{n:\"SIIndex\"},4198:{n:\"GelFrame\"},4199:{n:\"BopPopCustom\"},4200:{n:\"Fbi2\"},0:{n:\"Dimensions\",f:ts},2:{n:\"BIFF2INT\",f:rf},5:{n:\"BoolErr\",f:us},7:{n:\"String\",f:af},8:{n:\"BIFF2ROW\"},11:{n:\"Index\"},22:{n:\"ExternCount\",f:jn},30:{n:\"BIFF2FORMAT\",f:rs},31:{n:\"BIFF2FMTCNT\"},32:{n:\"BIFF2COLINFO\"},33:{n:\"Array\",f:_s},37:{n:\"DefaultRowHeight\",f:zi},50:{n:\"BIFF2FONTXTRA\",f:nf},52:{n:\"DDEObjName\"},62:{n:\"BIFF2WINDOW2\"},67:{n:\"BIFF2XF\"},69:{n:\"BIFF2FONTCLR\"},86:{n:\"BIFF4FMTCNT\"},126:{n:\"RK\"},127:{n:\"ImData\",f:Qs},135:{n:\"Addin\"},136:{n:\"Edg\"},137:{n:\"Pub\"},145:{n:\"Sub\"},148:{n:\"LHRecord\"},149:{n:\"LHNGraph\"},150:{n:\"Sound\"},169:{n:\"CoordList\"},171:{n:\"GCW\"},188:{n:\"ShrFmla\"},191:{n:\"ToolbarHdr\"},192:{n:\"ToolbarEnd\"},194:{n:\"AddMenu\"},195:{n:\"DelMenu\"},214:{n:\"RString\",f:sf},223:{n:\"UDDesc\"},234:{n:\"TabIdConf\"},354:{n:\"XL5Modify\"},421:{n:\"FileSharing2\"},521:{n:\"BOF\",f:xi},536:{n:\"Lbl\",f:Cs},547:{n:\"ExternName\",f:ms},561:{n:\"Font\"},579:{n:\"BIFF3XF\"},1033:{n:\"BOF\",f:xi},1091:{n:\"BIFF4XF\"},2157:{n:\"FeatInfo\"},2163:{n:\"FeatInfo11\"},2177:{n:\"SXAddl12\"},2240:{n:\"AutoWebPub\"},2241:{n:\"ListObj\"},2242:{n:\"ListField\"},2243:{n:\"ListDV\"},2244:{n:\"ListCondFmt\"},2245:{n:\"ListCF\"},2246:{n:\"FMQry\"},2247:{n:\"FMSQry\"},2248:{n:\"PLV\"},2249:{n:\"LnExt\"},2250:{n:\"MkrExt\"},2251:{n:\"CrtCoopt\"},2262:{n:\"FRTArchId$\",r:12},29282:{}};var Iv=Y(xv,\"n\");function Rv(e,r,t,a){var n=+r||+Iv[r];if(isNaN(n))return;var i=a||(t||[]).length||0;var s=e.next(4);s._W(2,n);s._W(2,i);if(i>0&&Fr(t))e.push(t)}function Ov(e,r,t){if(!e)e=$r(7);e._W(2,r);e._W(2,t);e._W(2,0);e._W(1,0);return e}function Dv(e,r,t,a){var n=$r(9);Ov(n,e,r);if(a==\"e\"){n._W(1,t);n._W(1,1)}else{n._W(1,t?1:0);n._W(1,0)}return n}function Fv(e,r,t){var a=$r(8+2*t.length);Ov(a,e,r);a._W(1,t.length);a._W(t.length,t,\"sbcs\");return a.l<a.length?a.slice(0,a.l):a}function Pv(e,r,t,a){if(r.v!=null)switch(r.t){case\"d\":;case\"n\":var n=r.t==\"d\"?re(se(r.v)):r.v;if(n==(n|0)&&n>=0&&n<65536)Rv(e,2,tf(t,a,n));else Rv(e,3,ef(t,a,n));return;case\"b\":;case\"e\":Rv(e,5,Dv(t,a,r.v,r.t));return;case\"s\":;case\"str\":Rv(e,4,Fv(t,a,r.v));return;}Rv(e,1,Ov(null,t,a))}function Nv(e,r,t,a){var n=Array.isArray(r);var i=mt(r[\"!ref\"]||\"A1\"),s,f=\"\",o=[];if(i.e.c>255||i.e.r>16383){if(a.WTF)throw new Error(\"Range \"+(r[\"!ref\"]||\"A1\")+\" exceeds format limit A1:IV16384\");i.e.c=Math.min(i.e.c,255);i.e.r=Math.min(i.e.c,16383);s=bt(i)}for(var l=i.s.r;l<=i.e.r;++l){f=st(l);for(var c=i.s.c;c<=i.e.c;++c){if(l===i.s.r)o[c]=ct(c);s=o[c]+f;var h=n?(r[l]||[])[c]:r[s];if(!h)continue;Pv(e,h,l,c,a)}}}function Lv(e,r){var t=r||{};if(g!=null&&t.dense==null)t.dense=g;var a=Qr();var n=0;for(var i=0;i<e.SheetNames.length;++i)if(e.SheetNames[i]==t.sheet)n=i;if(n==0&&!!t.sheet&&e.SheetNames[0]!=t.sheet)throw new Error(\"Sheet not found: \"+t.sheet);Rv(a,9,Ii(e,16,t));Nv(a,e.Sheets[e.SheetNames[n]],n,t,e);Rv(a,10);return a.end()}function Mv(e,r,t){Rv(e,\"Font\",$i({sz:12,color:{theme:1},name:\"Arial\",family:2,scheme:\"minor\"},t))}function Uv(e,r,t){if(!r)return;[[5,8],[23,26],[41,44],[50,392]].forEach(function(a){for(var n=a[0];n<=a[1];++n)if(r[n]!=null)Rv(e,\"Format\",es(n,r[n],t))})}function Hv(e,r){var t=$r(19);t._W(4,2151);t._W(4,0);t._W(4,0);t._W(2,3);t._W(1,1);t._W(4,0);Rv(e,\"FeatHdr\",t);t=$r(39);t._W(4,2152);t._W(4,0);t._W(4,0);t._W(2,3);t._W(1,0);t._W(4,0);t._W(2,1);t._W(4,4);t._W(2,0);Ci(mt(r[\"!ref\"]||\"A1\"),t);t._W(4,4);Rv(e,\"Feat\",t)}function Wv(e,r){for(var t=0;t<16;++t)Rv(e,\"XF\",ls({numFmtId:0,style:true},0,r));r.cellXfs.forEach(function(t){Rv(e,\"XF\",ls(t,0,r))})}function zv(e,r){for(var t=0;t<r[\"!links\"].length;++t){var a=r[\"!links\"][t];Rv(e,\"HLink\",Ns(a));if(a[1].Tooltip)Rv(e,\"HLinkTooltip\",Ms(a))}delete r[\"!links\"]}function Vv(e,r,t,a,n){var i=16+ou(n.cellXfs,r,n);if(r.v==null&&!r.bf){Rv(e,\"Blank\",di(t,a,i));return}if(r.bf)Rv(e,\"Formula\",zh(r,t,a,n,i));else switch(r.t){case\"d\":;case\"n\":var s=r.t==\"d\"?re(se(r.v)):r.v;Rv(e,\"Number\",vs(t,a,s,i,n));break;case\"b\":;case\"e\":Rv(e,517,ds(t,a,r.v,i,n,r.t));break;case\"s\":;case\"str\":Rv(e,\"Label\",Ji(t,a,r.v,i,n));break;default:Rv(e,\"Blank\",di(t,a,i));}}function Xv(e,r,t){var a=Qr();var n=t.SheetNames[e],i=t.Sheets[n]||{};var s=(t||{}).Workbook||{};var f=(s.Sheets||[])[e]||{};var o=Array.isArray(i);var l=r.biff==8;var c,h=\"\",u=[];var d=mt(i[\"!ref\"]||\"A1\");var p=l?65536:16384;if(d.e.c>255||d.e.r>=p){if(r.WTF)throw new Error(\"Range \"+(i[\"!ref\"]||\"A1\")+\" exceeds format limit A1:IV16384\");d.e.c=Math.min(d.e.c,255);d.e.r=Math.min(d.e.c,p-1)}Rv(a,2057,Ii(t,16,r));Rv(a,\"CalcMode\",Kn(1));Rv(a,\"CalcCount\",Kn(100));Rv(a,\"CalcRefMode\",Gn(true));Rv(a,\"CalcIter\",Gn(false));Rv(a,\"CalcDelta\",$t(.001));Rv(a,\"CalcSaveRecalc\",Gn(true));Rv(a,\"PrintRowCol\",Gn(false));Rv(a,\"PrintGrid\",Gn(false));Rv(a,\"GridSet\",Kn(1));Rv(a,\"Guts\",hs([0,0]));Rv(a,\"HCenter\",Gn(false));Rv(a,\"VCenter\",Gn(false));Rv(a,512,as(d,r));if(l)i[\"!links\"]=[];for(var v=d.s.r;v<=d.e.r;++v){h=st(v);for(var g=d.s.c;g<=d.e.c;++g){if(v===d.s.r)u[g]=ct(g);c=u[g]+h;var b=o?(i[v]||[])[g]:i[c];if(!b)continue;Vv(a,b,v,g,r);if(l&&b.l)i[\"!links\"].push([c,b.l])}}var m=f.CodeName||f.name||n;if(l&&s.Views)Rv(a,\"Window2\",ji(s.Views[0]));if(l&&(i[\"!merges\"]||[]).length)Rv(a,\"MergeCells\",Is(i[\"!merges\"]));if(l)zv(a,i);Rv(a,\"CodeName\",ti(m,r));if(l)Hv(a,i);Rv(a,\"EOF\");return a.end()}function Gv(e,r,t){var a=Qr();var n=(e||{}).Workbook||{};var i=n.Sheets||[];var s=n.WBProps||{};var f=t.biff==8,o=t.biff==5;Rv(a,2057,Ii(e,5,t));if(t.bookType==\"xla\")Rv(a,\"Addin\");Rv(a,\"InterfaceHdr\",f?Kn(1200):null);Rv(a,\"Mms\",zn(2));if(o)Rv(a,\"ToolbarHdr\");if(o)Rv(a,\"ToolbarEnd\");Rv(a,\"InterfaceEnd\");Rv(a,\"WriteAccess\",Di(\"SheetJS\",t));Rv(a,\"CodePage\",Kn(f?1200:1252));if(f)Rv(a,\"DSF\",Kn(0));if(f)Rv(a,\"Excel9File\");Rv(a,\"RRTabId\",Ks(e.SheetNames.length));if(f&&e.vbaraw)Rv(a,\"ObProj\");if(f&&e.vbaraw){var l=s.CodeName||\"ThisWorkbook\";Rv(a,\"CodeName\",ti(l,t))}Rv(a,\"BuiltInFnGroupCount\",Kn(17));Rv(a,\"WinProtect\",Gn(false));Rv(a,\"Protect\",Gn(false));Rv(a,\"Password\",Kn(0));if(f)Rv(a,\"Prot4Rev\",Gn(false));if(f)Rv(a,\"Prot4RevPass\",Kn(0));Rv(a,\"Window1\",Xi(t));Rv(a,\"Backup\",Gn(false));Rv(a,\"HideObj\",Kn(0));Rv(a,\"Date1904\",Gn(sp(e)==\"true\"));Rv(a,\"CalcPrecision\",Gn(true));if(f)Rv(a,\"RefreshAll\",Gn(false));Rv(a,\"BookBool\",Kn(0));Mv(a,e,t);Uv(a,e.SSF,t);Wv(a,t);if(f)Rv(a,\"UsesELFs\",Gn(false));var c=a.end();var h=Qr();if(f)Rv(h,\"Country\",Hs());Rv(h,\"EOF\");var u=h.end();var d=Qr();var p=0,v=0;for(v=0;v<e.SheetNames.length;++v)p+=(f?12:11)+(f?2:1)*e.SheetNames[v].length;var g=c.length+p+u.length;for(v=0;v<e.SheetNames.length;++v){var b=i[v]||{};Rv(d,\"BoundSheet8\",Ni({pos:g,hs:b.Hidden||0,dt:0,name:e.SheetNames[v]},t));g+=r[v].length}var m=d.end();if(p!=m.length)throw new Error(\"BS8 \"+p+\" != \"+m.length);var w=[];if(c.length)w.push(c);if(m.length)w.push(m);if(u.length)w.push(u);return pr([w])}function jv(e,r){var t=r||{};var a=[];if(e&&!e.SSF){e.SSF=D.get_table()}if(e&&e.SSF){F(D);D.load_table(e.SSF);t.revssf=Q(e.SSF);t.revssf[e.SSF[65535]]=0;t.ssf=e.SSF}t.Strings=[];t.Strings.Count=0;t.Strings.Unique=0;mg(t);t.cellXfs=[];ou(t.cellXfs,{},{revssf:{General:0}});if(!e.Props)e.Props={};for(var n=0;n<e.SheetNames.length;++n)a[a.length]=Xv(n,t,e);a.unshift(Gv(e,a,t));return pr([a])}function Kv(e,r){var t=r||{};switch(t.biff||2){case 8:;case 5:return jv(e,r);case 4:;case 3:;case 2:return Lv(e,r);}throw new Error(\"invalid type \"+t.bookType+\" for BIFF\")}var Yv=function(){function e(e,r){var t=r||{};if(g!=null&&t.dense==null)t.dense=g;var a=t.dense?[]:{};e=e.replace(/<!--.*?-->/g,\"\");var n=e.match(/<table/i);if(!n)throw new Error(\"Invalid HTML: could not find <table>\");var i=e.match(/<\\/table/i);var s=n.index,f=i&&i.index||e.length;var o=de(e.slice(s,f),/(:?<tr[^>]*>)/i,\"<tr>\");var l=-1,c=0,h=0,u=0;var d={s:{r:1e7,c:1e7},e:{r:0,c:0}};var p=[];for(s=0;s<o.length;++s){var v=o[s].trim();var b=v.slice(0,3).toLowerCase();if(b==\"<tr\"){++l;if(t.sheetRows&&t.sheetRows<=l){--l;break}c=0;continue}if(b!=\"<td\"&&b!=\"<th\")continue;var m=v.split(/<\\/t[dh]>/i);for(f=0;f<m.length;++f){var w=m[f].trim();if(!w.match(/<t[dh]/i))continue;var C=w,k=0;while(C.charAt(0)==\"<\"&&(k=C.indexOf(\">\"))>-1)C=C.slice(k+1);for(var E=0;E<p.length;++E){var S=p[E];if(S.s.c==c&&S.s.r<l&&l<=S.e.r){c=S.e.c+1;E=-1}}var A=Oe(w.slice(0,w.indexOf(\">\")));u=A.colspan?+A.colspan:1;if((h=+A.rowspan)>1||u>1)p.push({s:{r:l,c:c},e:{r:l+(h||1)-1,c:c+u-1}});var _=A.t||\"\";if(!C.length){c+=u;continue}C=qe(C);if(d.s.r>l)d.s.r=l;if(d.e.r<l)d.e.r=l;if(d.s.c>c)d.s.c=c;if(d.e.c<c)d.e.c=c;if(!C.length)continue;var B={t:\"s\",v:C};if(t.raw||!C.trim().length||_==\"s\"){}else if(C===\"TRUE\")B={t:\"b\",v:true};else if(C===\"FALSE\")B={t:\"b\",v:false};else if(!isNaN(ce(C)))B={t:\"n\",v:ce(C)};else if(!isNaN(he(C).getDate())){B={t:\"d\",v:se(C)};if(!t.cellDates)B={t:\"n\",v:re(B.v)};B.z=t.dateNF||D._table[14]}if(t.dense){if(!a[l])a[l]=[];a[l][c]=B}else a[vt({r:l,c:c})]=B;c+=u}}a[\"!ref\"]=bt(d);if(p.length)a[\"!merges\"]=p;return a}function r(r,t){return kt(e(r,t),t)}function t(e,r,t,a){var n=e[\"!merges\"]||[];var i=[];for(var s=r.s.c;s<=r.e.c;++s){var f=0,o=0;for(var l=0;l<n.length;++l){if(n[l].s.r>t||n[l].s.c>s)continue;if(n[l].e.r<t||n[l].e.c<s)continue;if(n[l].s.r<t||n[l].s.c<s){f=-1;break}f=n[l].e.r-n[l].s.r+1;o=n[l].e.c-n[l].s.c+1;break}if(f<0)continue;var c=vt({r:t,c:s});var h=a.dense?(e[t]||[])[s]:e[c];var u=h&&h.v!=null&&(h.h||ze(h.w||(Ct(h),h.w)||\"\"))||\"\";var d={};if(f>1)d.rowspan=f;if(o>1)d.colspan=o;d.t=h&&h.t||\"z\";if(a.editable)u='<span contenteditable=\"true\">'+u+\"</span>\";d.id=(a.id||\"sjs\")+\"-\"+c;i.push(fr(\"td\",u,d))}var p=\"<tr>\";return p+i.join(\"\")+\"</tr>\"}function a(e,r,t){var a=[];return a.join(\"\")+\"<table\"+(t&&t.id?' id=\"'+t.id+'\"':\"\")+\">\"}var n='<html><head><meta charset=\"utf-8\"/><title>SheetJS Table Export</title></head><body>';var i=\"</body></html>\";function s(e,r){var s=r||{};var f=s.header!=null?s.header:n;var o=s.footer!=null?s.footer:i;var l=[f];var c=gt(e[\"!ref\"]);s.dense=Array.isArray(e);l.push(a(e,c,s));for(var h=c.s.r;h<=c.e.r;++h)l.push(t(e,c,h,s));l.push(\"</table>\"+o);return l.join(\"\")}return{to_workbook:r,to_sheet:e,_row:t,BEGIN:n,END:i,_preamble:a,from_sheet:s}}();function $v(e,r){var t=r||{};if(g!=null)t.dense=g;var a=t.dense?[]:{};var n=e.getElementsByTagName(\"tr\");var i=t.sheetRows||1e7;var s={s:{r:0,c:0},e:{r:0,c:0}};var f=[],o=0;var l=[];var c=0,h=0,u=0,d=0,p=0,v=0;for(;c<n.length&&h<i;++c){var b=n[c];if(Qv(b)){if(t.display)continue;l[h]={hidden:true}}var m=b.children;for(u=d=0;u<m.length;++u){var w=m[u];if(t.display&&Qv(w))continue;var C=qe(w.innerHTML);for(o=0;o<f.length;++o){var k=f[o];if(k.s.c==d&&k.s.r<=h&&h<=k.e.r){d=k.e.c+1;o=-1}}v=+w.getAttribute(\"colspan\")||1;if((p=+w.getAttribute(\"rowspan\"))>0||v>1)f.push({s:{r:h,c:d},e:{r:h+(p||1)-1,c:d+v-1}});var E={t:\"s\",v:C};var S=w.getAttribute(\"t\")||\"\";if(C!=null){if(C.length==0)E.t=S||\"z\";else if(t.raw||C.trim().length==0||S==\"s\"){}else if(C===\"TRUE\")E={t:\"b\",v:true};else if(C===\"FALSE\")E={t:\"b\",v:false};else if(!isNaN(ce(C)))E={t:\"n\",v:ce(C)};else if(!isNaN(he(C).getDate())){E={t:\"d\",v:se(C)};if(!t.cellDates)E={t:\"n\",v:re(E.v)};E.z=t.dateNF||D._table[14]}}if(t.dense){if(!a[h])a[h]=[];a[h][d]=E}else a[vt({c:d,r:h})]=E;if(s.e.c<d)s.e.c=d;d+=v}++h}if(f.length)a[\"!merges\"]=f;if(l.length)a[\"!rows\"]=l;s.e.r=h-1;a[\"!ref\"]=bt(s);if(h>=i)a[\"!fullref\"]=bt((s.e.r=n.length-c+h-1,s));return a}function Zv(e,r){return kt($v(e,r),r)}function Qv(e){var r=\"\";var t=Jv(e);if(t)r=t(e).getPropertyValue(\"display\");if(!r)r=e.style.display;return r===\"none\"}function Jv(e){if(e.ownerDocument.defaultView&&typeof e.ownerDocument.defaultView.getComputedStyle===\"function\")return e.ownerDocument.defaultView.getComputedStyle;if(typeof getComputedStyle===\"function\")return getComputedStyle;return null}var qv=function(){var e=function(e){var r=e.replace(/[\\t\\r\\n]/g,\" \").trim().replace(/ +/g,\" \").replace(/<text:s\\/>/g,\" \").replace(/<text:s text:c=\"(\\d+)\"\\/>/g,function(e,r){return Array(parseInt(r,10)+1).join(\" \")}).replace(/<text:tab[^>]*\\/>/g,\"\\t\").replace(/<text:line-break\\/>/g,\"\\n\");var t=Ne(r.replace(/<[^>]*>/g,\"\"));return[t]};var r={day:[\"d\",\"dd\"],month:[\"m\",\"mm\"],year:[\"y\",\"yy\"],hours:[\"h\",\"hh\"],minutes:[\"m\",\"mm\"],seconds:[\"s\",\"ss\"],\"am-pm\":[\"A/P\",\"AM/PM\"],\"day-of-week\":[\"ddd\",\"dddd\"],era:[\"e\",\"ee\"],quarter:[\"\\\\Qm\",'m\\\\\"th quarter\"']};return function t(a,n){var i=n||{};if(g!=null&&i.dense==null)i.dense=g;var s=ev(a);var f=[],o;var l;var c={name:\"\"},h=\"\",u=0;var d;var p;var v={},b=[];var m=i.dense?[]:{};var w,C;var k={value:\"\"};var E=\"\",S=0,A;var _=[];var B=-1,T=-1,y={s:{r:1e6,c:1e7},e:{r:0,c:0}};var x=0;var I={};var R=[],O={},D=0,F=0;var P=[],N=1,L=1;var M=[];var U={Names:[]};var H={};var W=[\"\",\"\"];var z=[],V={};var X=\"\",G=0;var j=false,K=false;var Y=0;rv.lastIndex=0;s=s.replace(/<!--([\\s\\S]*?)-->/gm,\"\").replace(/<!DOCTYPE[^\\[]*\\[[^\\]]*\\]>/gm,\"\");while(w=rv.exec(s))switch(w[3]=w[3].replace(/_.*$/,\"\")){case\"table\":;case\"工作表\":if(w[1]===\"/\"){if(y.e.c>=y.s.c&&y.e.r>=y.s.r)m[\"!ref\"]=bt(y);if(i.sheetRows>0&&i.sheetRows<=y.e.r){m[\"!fullref\"]=m[\"!ref\"];y.e.r=i.sheetRows-1;m[\"!ref\"]=bt(y)}if(R.length)m[\"!merges\"]=R;if(P.length)m[\"!rows\"]=P;d.name=d[\"名称\"]||d.name;if(typeof JSON!==\"undefined\")JSON.stringify(d);b.push(d.name);v[d.name]=m;K=false}else if(w[0].charAt(w[0].length-2)!==\"/\"){d=Oe(w[0],false);B=T=-1;y.s.r=y.s.c=1e7;y.e.r=y.e.c=0;m=i.dense?[]:{};R=[];P=[];K=true}break;case\"table-row-group\":if(w[1]===\"/\")--x;else++x;break;case\"table-row\":;case\"行\":if(w[1]===\"/\"){B+=N;N=1;break}p=Oe(w[0],false);if(p[\"行号\"])B=p[\"行号\"]-1;else if(B==-1)B=0;N=+p[\"number-rows-repeated\"]||1;if(N<10)for(Y=0;Y<N;++Y)if(x>0)P[B+Y]={level:x};T=-1;break;case\"covered-table-cell\":if(w[1]!==\"/\")++T;if(i.sheetStubs){if(i.dense){if(!m[B])m[B]=[];m[B][T]={t:\"z\"}}else m[vt({r:B,c:T})]={t:\"z\"}}E=\"\";_=[];break;case\"table-cell\":;case\"数据\":if(w[0].charAt(w[0].length-2)===\"/\"){++T;k=Oe(w[0],false);L=parseInt(k[\"number-columns-repeated\"]||\"1\",10);C={t:\"z\",v:null};if(k.formula&&i.cellFormula!=false)C.f=Jh(Ne(k.formula));if((k[\"数据类型\"]||k[\"value-type\"])==\"string\"){C.t=\"s\";C.v=Ne(k[\"string-value\"]||\"\");if(i.dense){if(!m[B])m[B]=[];m[B][T]=C}else{m[vt({r:B,c:T})]=C}}T+=L-1}else if(w[1]!==\"/\"){++T;L=1;var $=N?B+N-1:B;if(T>y.e.c)y.e.c=T;if(T<y.s.c)y.s.c=T;if(B<y.s.r)y.s.r=B;if($>y.e.r)y.e.r=$;k=Oe(w[0],false);z=[];V={};C={t:k[\"数据类型\"]||k[\"value-type\"],v:null};if(i.cellFormula){if(k.formula)k.formula=Ne(k.formula);if(k[\"number-matrix-columns-spanned\"]&&k[\"number-matrix-rows-spanned\"]){D=parseInt(k[\"number-matrix-rows-spanned\"],10)||0;F=parseInt(k[\"number-matrix-columns-spanned\"],10)||0;O={s:{r:B,c:T},e:{r:B+D-1,c:T+F-1}};C.F=bt(O);M.push([O,C.F])}if(k.formula)C.f=Jh(k.formula);else for(Y=0;Y<M.length;++Y)if(B>=M[Y][0].s.r&&B<=M[Y][0].e.r)if(T>=M[Y][0].s.c&&T<=M[Y][0].e.c)C.F=M[Y][1]}if(k[\"number-columns-spanned\"]||k[\"number-rows-spanned\"]){D=parseInt(k[\"number-rows-spanned\"],10)||0;F=parseInt(k[\"number-columns-spanned\"],10)||0;O={s:{r:B,c:T},e:{r:B+D-1,c:T+F-1}};R.push(O)}if(k[\"number-columns-repeated\"])L=parseInt(k[\"number-columns-repeated\"],10);switch(C.t){case\"boolean\":C.t=\"b\";C.v=je(k[\"boolean-value\"]);break;case\"float\":C.t=\"n\";C.v=parseFloat(k.value);break;case\"percentage\":C.t=\"n\";C.v=parseFloat(k.value);break;case\"currency\":C.t=\"n\";C.v=parseFloat(k.value);break;case\"date\":C.t=\"d\";C.v=se(k[\"date-value\"]);if(!i.cellDates){C.t=\"n\";C.v=re(C.v)}C.z=\"m/d/yy\";break;case\"time\":C.t=\"n\";C.v=ae(k[\"time-value\"])/86400;break;case\"number\":C.t=\"n\";C.v=parseFloat(k[\"数据数值\"]);break;default:if(C.t===\"string\"||C.t===\"text\"||!C.t){C.t=\"s\";if(k[\"string-value\"]!=null){E=Ne(k[\"string-value\"]);_=[]}}else throw new Error(\"Unsupported value type \"+C.t);}}else{j=false;if(C.t===\"s\"){C.v=E||\"\";if(_.length)C.R=_;j=S==0}if(H.Target)C.l=H;if(z.length>0){C.c=z;z=[]}if(E&&i.cellText!==false)C.w=E;if(j){C.t=\"z\";delete C.v}if(!j||i.sheetStubs){if(!(i.sheetRows&&i.sheetRows<=B)){for(var Z=0;Z<N;++Z){L=parseInt(k[\"number-columns-repeated\"]||\"1\",10);if(i.dense){if(!m[B+Z])m[B+Z]=[];m[B+Z][T]=Z==0?C:oe(C);while(--L>0)m[B+Z][T+L]=oe(C)}else{m[vt({r:B+Z,c:T})]=C;while(--L>0)m[vt({r:B+Z,c:T+L})]=oe(C)}if(y.e.c<=T)y.e.c=T}}}L=parseInt(k[\"number-columns-repeated\"]||\"1\",10);T+=L-1;L=0;C={};E=\"\";_=[]}H={};break;case\"document\":;case\"document-content\":;case\"电子表格文档\":;case\"spreadsheet\":;case\"主体\":;case\"scripts\":;case\"styles\":;case\"font-face-decls\":if(w[1]===\"/\"){if((o=f.pop())[0]!==w[3])throw\"Bad state: \"+o}else if(w[0].charAt(w[0].length-2)!==\"/\")f.push([w[3],true]);break;case\"annotation\":if(w[1]===\"/\"){if((o=f.pop())[0]!==w[3])throw\"Bad state: \"+o;V.t=E;if(_.length)V.R=_;V.a=X;z.push(V)}else if(w[0].charAt(w[0].length-2)!==\"/\"){f.push([w[3],false])}X=\"\";G=0;E=\"\";S=0;_=[];break;case\"creator\":if(w[1]===\"/\"){X=s.slice(G,w.index)}else G=w.index+w[0].length;break;case\"meta\":;case\"元数据\":;case\"settings\":;case\"config-item-set\":;case\"config-item-map-indexed\":;case\"config-item-map-entry\":;case\"config-item-map-named\":;case\"shapes\":;case\"frame\":;case\"text-box\":;case\"image\":;case\"data-pilot-tables\":;case\"list-style\":;case\"form\":;case\"dde-links\":;case\"event-listeners\":;case\"chart\":if(w[1]===\"/\"){if((o=f.pop())[0]!==w[3])throw\"Bad state: \"+o}else if(w[0].charAt(w[0].length-2)!==\"/\")f.push([w[3],false]);E=\"\";S=0;_=[];break;case\"scientific-number\":break;case\"currency-symbol\":break;case\"currency-style\":break;case\"number-style\":;case\"percentage-style\":;case\"date-style\":;case\"time-style\":if(w[1]===\"/\"){I[c.name]=h;if((o=f.pop())[0]!==w[3])throw\"Bad state: \"+o}else if(w[0].charAt(w[0].length-2)!==\"/\"){h=\"\";c=Oe(w[0],false);f.push([w[3],true])}break;case\"script\":break;case\"libraries\":break;case\"automatic-styles\":break;case\"master-styles\":break;case\"default-style\":;case\"page-layout\":break;case\"style\":break;case\"map\":break;case\"font-face\":break;case\"paragraph-properties\":break;case\"table-properties\":break;case\"table-column-properties\":break;case\"table-row-properties\":break;case\"table-cell-properties\":break;case\"number\":switch(f[f.length-1][0]){case\"time-style\":;case\"date-style\":l=Oe(w[0],false);h+=r[w[3]][l.style===\"long\"?1:0];break;}break;case\"fraction\":break;case\"day\":;case\"month\":;case\"year\":;case\"era\":;case\"day-of-week\":;case\"week-of-year\":;case\"quarter\":;case\"hours\":;case\"minutes\":;case\"seconds\":;case\"am-pm\":switch(f[f.length-1][0]){case\"time-style\":;case\"date-style\":l=Oe(w[0],false);h+=r[w[3]][l.style===\"long\"?1:0];break;}break;case\"boolean-style\":break;case\"boolean\":break;case\"text-style\":break;case\"text\":if(w[0].slice(-2)===\"/>\")break;else if(w[1]===\"/\")switch(f[f.length-1][0]){case\"number-style\":;case\"date-style\":;case\"time-style\":h+=s.slice(u,w.index);break;}else u=w.index+w[0].length;break;case\"named-range\":l=Oe(w[0],false);W=eu(l[\"cell-range-address\"]);var Q={Name:l.name,Ref:W[0]+\"!\"+W[1]};if(K)Q.Sheet=b.length;U.Names.push(Q);break;case\"text-content\":break;case\"text-properties\":break;case\"embedded-text\":break;case\"body\":;case\"电子表格\":break;case\"forms\":break;case\"table-column\":break;case\"table-header-rows\":break;case\"table-rows\":break;case\"table-column-group\":break;case\"table-header-columns\":break;case\"table-columns\":break;case\"null-date\":break;case\"graphic-properties\":break;case\"calculation-settings\":break;case\"named-expressions\":break;case\"label-range\":break;case\"label-ranges\":break;case\"named-expression\":break;case\"sort\":break;case\"sort-by\":break;case\"sort-groups\":break;case\"tab\":break;case\"line-break\":break;case\"span\":break;case\"p\":;case\"文本串\":if(w[1]===\"/\"&&(!k||!k[\"string-value\"])){var J=e(s.slice(S,w.index),A);E=(E.length>0?E+\"\\n\":\"\")+J[0]}else{A=Oe(w[0],false);S=w.index+w[0].length}break;case\"s\":break;case\"database-range\":if(w[1]===\"/\")break;try{W=eu(Oe(w[0])[\"target-range-address\"]);v[W[0]][\"!autofilter\"]={ref:W[1]}}catch(q){}break;case\"date\":break;case\"object\":break;case\"title\":;case\"标题\":break;case\"desc\":break;case\"binary-data\":break;case\"table-source\":break;case\"scenario\":break;case\"iteration\":break;case\"content-validations\":break;case\"content-validation\":break;case\"help-message\":break;case\"error-message\":break;case\"database-ranges\":break;case\"filter\":break;case\"filter-and\":break;case\"filter-or\":break;case\"filter-condition\":break;case\"list-level-style-bullet\":break;case\"list-level-style-number\":break;case\"list-level-properties\":break;case\"sender-firstname\":;case\"sender-lastname\":;case\"sender-initials\":;case\"sender-title\":;case\"sender-position\":;case\"sender-email\":;case\"sender-phone-private\":;case\"sender-fax\":;case\"sender-company\":;case\"sender-phone-work\":;case\"sender-street\":;case\"sender-city\":;case\"sender-postal-code\":;case\"sender-country\":;case\"sender-state-or-province\":;case\"author-name\":;case\"author-initials\":;case\"chapter\":;case\"file-name\":;case\"template-name\":;case\"sheet-name\":break;case\"event-listener\":break;case\"initial-creator\":;case\"creation-date\":;case\"print-date\":;case\"generator\":;case\"document-statistic\":;case\"user-defined\":;case\"editing-duration\":;case\"editing-cycles\":break;case\"config-item\":break;case\"page-number\":break;case\"page-count\":break;case\"time\":break;case\"cell-range-source\":break;case\"detective\":break;case\"operation\":break;case\"highlighted-range\":break;case\"data-pilot-table\":;case\"source-cell-range\":;case\"source-service\":;case\"data-pilot-field\":;case\"data-pilot-level\":;case\"data-pilot-subtotals\":;case\"data-pilot-subtotal\":;case\"data-pilot-members\":;case\"data-pilot-member\":;case\"data-pilot-display-info\":;case\"data-pilot-sort-info\":;case\"data-pilot-layout-info\":;case\"data-pilot-field-reference\":;case\"data-pilot-groups\":;case\"data-pilot-group\":;case\"data-pilot-group-member\":break;case\"rect\":break;case\"dde-connection-decls\":;case\"dde-connection-decl\":;case\"dde-link\":;case\"dde-source\":break;case\"properties\":break;case\"property\":break;case\"a\":if(w[1]!==\"/\"){H=Oe(w[0],false);if(!H.href)break;H.Target=H.href;delete H.href;if(H.Target.charAt(0)==\"#\"&&H.Target.indexOf(\".\")>-1){W=eu(H.Target.slice(1));H.Target=\"#\"+W[0]+\"!\"+W[1]}}break;case\"table-protection\":break;case\"data-pilot-grand-total\":break;case\"office-document-common-attrs\":break;default:switch(w[2]){case\"dc:\":;case\"calcext:\":;case\"loext:\":;case\"ooo:\":;case\"chartooo:\":;case\"draw:\":;case\"style:\":;case\"chart:\":;case\"form:\":;case\"uof:\":;case\"表:\":;case\"字:\":break;default:if(i.WTF)throw new Error(w);};}var ee={Sheets:v,SheetNames:b,Workbook:U};if(i.bookSheets)delete ee.Sheets;return ee}}();function eg(e,r){r=r||{};var t=!!be(e,\"objectdata\");if(t)Xa(we(e,\"META-INF/manifest.xml\"),r);var a=Ce(e,\"content.xml\");if(!a)throw new Error(\"Missing content.xml in \"+(t?\"ODS\":\"UOF\")+\" file\");var n=qv(t?a:Ke(a),r);if(be(e,\"meta.xml\"))n.Props=Ja(we(e,\"meta.xml\"));return n}function rg(e,r){return qv(e,r)}var tg=function(){var e=\"<office:document-styles \"+sr({\"xmlns:office\":\"urn:oasis:names:tc:opendocument:xmlns:office:1.0\",\"xmlns:table\":\"urn:oasis:names:tc:opendocument:xmlns:table:1.0\",\"xmlns:style\":\"urn:oasis:names:tc:opendocument:xmlns:style:1.0\",\"xmlns:text\":\"urn:oasis:names:tc:opendocument:xmlns:text:1.0\",\"xmlns:draw\":\"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0\",\"xmlns:fo\":\"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0\",\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"xmlns:dc\":\"http://purl.org/dc/elements/1.1/\",\"xmlns:number\":\"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0\",\"xmlns:svg\":\"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0\",\"xmlns:of\":\"urn:oasis:names:tc:opendocument:xmlns:of:1.2\",\"office:version\":\"1.2\"})+\"></office:document-styles>\";return function r(){return Te+e}}();var ag=function(){var e=function(e){return Ue(e).replace(/  +/g,function(e){return'<text:s text:c=\"'+e.length+'\"/>'}).replace(/\\t/g,\"<text:tab/>\").replace(/\\n/g,\"<text:line-break/>\").replace(/^ /,\"<text:s/>\").replace(/ $/,\"<text:s/>\")};var r=\"          <table:table-cell />\\n\";var t=\"          <table:covered-table-cell/>\\n\";var a=function(a,n,i){var s=[];s.push('      <table:table table:name=\"'+Ue(n.SheetNames[i])+'\">\\n');var f=0,o=0,l=gt(a[\"!ref\"]);var c=a[\"!merges\"]||[],h=0;var u=Array.isArray(a);for(f=0;f<l.s.r;++f)s.push(\"        <table:table-row></table:table-row>\\n\");for(;f<=l.e.r;++f){s.push(\"        <table:table-row>\\n\");for(o=0;o<l.s.c;++o)s.push(r);for(;o<=l.e.c;++o){var d=false,p={},v=\"\";for(h=0;h!=c.length;++h){if(c[h].s.c>o)continue;if(c[h].s.r>f)continue;if(c[h].e.c<o)continue;if(c[h].e.r<f)continue;if(c[h].s.c!=o||c[h].s.r!=f)d=true;p[\"table:number-columns-spanned\"]=c[h].e.c-c[h].s.c+1;p[\"table:number-rows-spanned\"]=c[h].e.r-c[h].s.r+1;break}if(d){s.push(t);continue}var g=vt({r:f,c:o}),b=u?(a[f]||[])[o]:a[g];if(b&&b.f){p[\"table:formula\"]=Ue(qh(b.f));if(b.F){if(b.F.slice(0,g.length)==g){var m=gt(b.F);p[\"table:number-matrix-columns-spanned\"]=m.e.c-m.s.c+1;p[\"table:number-matrix-rows-spanned\"]=m.e.r-m.s.r+1}}}if(!b){s.push(r);continue}switch(b.t){case\"b\":v=b.v?\"TRUE\":\"FALSE\";p[\"office:value-type\"]=\"boolean\";p[\"office:boolean-value\"]=b.v?\"true\":\"false\";break;case\"n\":v=b.w||String(b.v||0);p[\"office:value-type\"]=\"float\";p[\"office:value\"]=b.v||0;break;case\"s\":;case\"str\":v=b.v;p[\"office:value-type\"]=\"string\";break;case\"d\":v=b.w||se(b.v).toISOString();p[\"office:value-type\"]=\"date\";p[\"office:date-value\"]=se(b.v).toISOString();p[\"table:style-name\"]=\"ce1\";break;default:s.push(r);continue;}var w=e(v);if(b.l&&b.l.Target){var C=b.l.Target;C=C.charAt(0)==\"#\"?\"#\"+ru(C.slice(1)):C;w=fr(\"text:a\",w,{\"xlink:href\":C})}s.push(\"          \"+fr(\"table:table-cell\",fr(\"text:p\",w,{}),p)+\"\\n\")}s.push(\"        </table:table-row>\\n\")}s.push(\"      </table:table>\\n\");return s.join(\"\")};var n=function(e){e.push(\" <office:automatic-styles>\\n\");e.push('  <number:date-style style:name=\"N37\" number:automatic-order=\"true\">\\n');e.push('   <number:month number:style=\"long\"/>\\n');e.push(\"   <number:text>/</number:text>\\n\");e.push('   <number:day number:style=\"long\"/>\\n');e.push(\"   <number:text>/</number:text>\\n\");e.push(\"   <number:year/>\\n\");e.push(\"  </number:date-style>\\n\");e.push('  <style:style style:name=\"ta1\" style:family=\"table\">\\n');e.push('   <style:table-properties table:display=\"true\" style:writing-mode=\"lr-tb\"/>\\n');e.push(\"  </style:style>\\n\");e.push('  <style:style style:name=\"ce1\" style:family=\"table-cell\" style:parent-style-name=\"Default\" style:data-style-name=\"N37\"/>\\n');e.push(\" </office:automatic-styles>\\n\")};return function i(e,r){var t=[Te];var i=sr({\"xmlns:office\":\"urn:oasis:names:tc:opendocument:xmlns:office:1.0\",\"xmlns:table\":\"urn:oasis:names:tc:opendocument:xmlns:table:1.0\",\"xmlns:style\":\"urn:oasis:names:tc:opendocument:xmlns:style:1.0\",\"xmlns:text\":\"urn:oasis:names:tc:opendocument:xmlns:text:1.0\",\"xmlns:draw\":\"urn:oasis:names:tc:opendocument:xmlns:drawing:1.0\",\"xmlns:fo\":\"urn:oasis:names:tc:opendocument:xmlns:xsl-fo-compatible:1.0\",\"xmlns:xlink\":\"http://www.w3.org/1999/xlink\",\"xmlns:dc\":\"http://purl.org/dc/elements/1.1/\",\"xmlns:meta\":\"urn:oasis:names:tc:opendocument:xmlns:meta:1.0\",\"xmlns:number\":\"urn:oasis:names:tc:opendocument:xmlns:datastyle:1.0\",\"xmlns:presentation\":\"urn:oasis:names:tc:opendocument:xmlns:presentation:1.0\",\"xmlns:svg\":\"urn:oasis:names:tc:opendocument:xmlns:svg-compatible:1.0\",\"xmlns:chart\":\"urn:oasis:names:tc:opendocument:xmlns:chart:1.0\",\"xmlns:dr3d\":\"urn:oasis:names:tc:opendocument:xmlns:dr3d:1.0\",\"xmlns:math\":\"http://www.w3.org/1998/Math/MathML\",\"xmlns:form\":\"urn:oasis:names:tc:opendocument:xmlns:form:1.0\",\"xmlns:script\":\"urn:oasis:names:tc:opendocument:xmlns:script:1.0\",\"xmlns:ooo\":\"http://openoffice.org/2004/office\",\"xmlns:ooow\":\"http://openoffice.org/2004/writer\",\"xmlns:oooc\":\"http://openoffice.org/2004/calc\",\"xmlns:dom\":\"http://www.w3.org/2001/xml-events\",\"xmlns:xforms\":\"http://www.w3.org/2002/xforms\",\"xmlns:xsd\":\"http://www.w3.org/2001/XMLSchema\",\"xmlns:xsi\":\"http://www.w3.org/2001/XMLSchema-instance\",\"xmlns:sheet\":\"urn:oasis:names:tc:opendocument:sh33tjs:1.0\",\"xmlns:rpt\":\"http://openoffice.org/2005/report\",\"xmlns:of\":\"urn:oasis:names:tc:opendocument:xmlns:of:1.2\",\"xmlns:xhtml\":\"http://www.w3.org/1999/xhtml\",\"xmlns:grddl\":\"http://www.w3.org/2003/g/data-view#\",\"xmlns:tableooo\":\"http://openoffice.org/2009/table\",\"xmlns:drawooo\":\"http://openoffice.org/2010/draw\",\"xmlns:calcext\":\"urn:org:documentfoundation:names:experimental:calc:xmlns:calcext:1.0\",\"xmlns:loext\":\"urn:org:documentfoundation:names:experimental:office:xmlns:loext:1.0\",\"xmlns:field\":\"urn:openoffice:names:experimental:ooo-ms-interop:xmlns:field:1.0\",\"xmlns:formx\":\"urn:openoffice:names:experimental:ooxml-odf-interop:xmlns:form:1.0\",\"xmlns:css3t\":\"http://www.w3.org/TR/css3-text/\",\"office:version\":\"1.2\"});var s=sr({\"xmlns:config\":\"urn:oasis:names:tc:opendocument:xmlns:config:1.0\",\"office:mimetype\":\"application/vnd.oasis.opendocument.spreadsheet\"});if(r.bookType==\"fods\")t.push(\"<office:document\"+i+s+\">\\n\");else t.push(\"<office:document-content\"+i+\">\\n\");n(t);t.push(\"  <office:body>\\n\");t.push(\"    <office:spreadsheet>\\n\");for(var f=0;f!=e.SheetNames.length;++f)t.push(a(e.Sheets[e.SheetNames[f]],e,f,r));t.push(\"    </office:spreadsheet>\\n\");t.push(\"  </office:body>\\n\");if(r.bookType==\"fods\")t.push(\"</office:document>\");else t.push(\"</office:document-content>\");return t.join(\"\")}}();function ng(e,r){if(r.bookType==\"fods\")return ag(e,r);var t=Ae();var a=\"\";var n=[];var i=[];a=\"mimetype\";Ee(t,a,\"application/vnd.oasis.opendocument.spreadsheet\");a=\"content.xml\";Ee(t,a,ag(e,r));n.push([a,\"text/xml\"]);i.push([a,\"ContentFile\"]);a=\"styles.xml\";Ee(t,a,tg(e,r));n.push([a,\"text/xml\"]);i.push([a,\"StylesFile\"]);a=\"meta.xml\";Ee(t,a,$a());n.push([a,\"text/xml\"]);i.push([a,\"MetadataFile\"]);a=\"manifest.rdf\";Ee(t,a,Ya(i));n.push([a,\"application/rdf+xml\"]);a=\"META-INF/manifest.xml\";Ee(t,a,Ga(n));return t}function ig(e,r){if(!r)return 0;var t=e.SheetNames.indexOf(r);if(t==-1)throw new Error(\"Sheet not found: \"+r);return t}function sg(e){return function r(t,a){var n=ig(t,a.sheet);return e.from_sheet(t.Sheets[t.SheetNames[n]],a,t)}}var fg=sg(Yv);var og=sg({from_sheet:Zg});var lg=sg(typeof of!==\"undefined\"?of:{});var cg=sg(typeof lf!==\"undefined\"?lf:{});var hg=sg(typeof hf!==\"undefined\"?hf:{});var ug=sg(typeof ro!==\"undefined\"?ro:{});var dg=sg({from_sheet:Qg});var pg=sg(typeof ff!==\"undefined\"?ff:{});var vg=sg(typeof cf!==\"undefined\"?cf:{});function gg(e){return function r(t){for(var a=0;a!=e.length;++a){var n=e[a];if(t[n[0]]===undefined)t[n[0]]=n[1];if(n[2]===\"n\")t[n[0]]=Number(t[n[0]])}}}var bg=gg([[\"cellNF\",false],[\"cellHTML\",true],[\"cellFormula\",true],[\"cellStyles\",false],[\"cellText\",true],[\"cellDates\",false],[\"sheetStubs\",false],[\"sheetRows\",0,\"n\"],[\"bookDeps\",false],[\"bookSheets\",false],[\"bookProps\",false],[\"bookFiles\",false],[\"bookVBA\",false],[\"password\",\"\"],[\"WTF\",false]]);var mg=gg([[\"cellDates\",false],[\"bookSST\",false],[\"bookType\",\"xlsx\"],[\"compression\",false],[\"WTF\",false]]);function wg(e){if(Na.WS.indexOf(e)>-1)return\"sheet\";if(Na.CS&&e==Na.CS)return\"chart\";if(Na.DS&&e==Na.DS)return\"dialog\";if(Na.MS&&e==Na.MS)return\"macro\";return e&&e.length?e:\"sheet\"}function Cg(e,r){if(!e)return 0;try{e=r.map(function a(r){if(!r.id)r.id=r.strRelID;return[r.name,e[\"!id\"][r.id].Target,wg(e[\"!id\"][r.id].Type)]})}catch(t){return null}return!e||e.length===0?null:e}function kg(e,r,t,a,n,i,s,f,o,l,c,h){try{i[a]=Ma(Ce(e,t,true),r);var u=we(e,r);var d;switch(f){case\"sheet\":d=yp(u,r,n,o,i[a],l,c,h);break;case\"chart\":d=xp(u,r,n,o,i[a],l,c,h);if(!d||!d[\"!drawel\"])break;var p=Be(d[\"!drawel\"].Target,r);var v=La(p);var g=Ol(Ce(e,p,true),Ma(Ce(e,v,true),p));var b=Be(g,p);var m=La(b);d=jd(Ce(e,b,true),b,o,Ma(Ce(e,m,true),b),l,d);break;case\"macro\":d=Ip(u,r,n,o,i[a],l,c,h);break;case\"dialog\":d=Rp(u,r,n,o,i[a],l,c,h);break;default:throw new Error(\"Unrecognized sheet type \"+f);}s[a]=d;var w=[];if(i&&i[a])K(i[a]).forEach(function(t){if(i[a][t].Type==Na.CMNT){var n=Be(i[a][t].Target,r);w=Pp(we(e,n,true),n,o);if(!w||!w.length)return;Pl(d,w)}})}catch(C){if(o.WTF)throw C}}function Eg(e){return e.charAt(0)==\"/\"?e.slice(1):e}function Sg(e,r){F(D);r=r||{};bg(r);if(be(e,\"META-INF/manifest.xml\"))return eg(e,r);if(be(e,\"objectdata.xml\"))return eg(e,r);if(be(e,\"Index/Document.iwa\"))throw new Error(\"Unsupported NUMBERS file\");\nvar t=ke(e);var a=Oa(Ce(e,\"[Content_Types].xml\"));var n=false;var i,s;if(a.workbooks.length===0){s=\"xl/workbook.xml\";if(we(e,s,true))a.workbooks.push(s)}if(a.workbooks.length===0){s=\"xl/workbook.bin\";if(!we(e,s,true))throw new Error(\"Could not find workbook\");a.workbooks.push(s);n=true}if(a.workbooks[0].slice(-3)==\"bin\")n=true;var f={};var o={};if(!r.bookSheets&&!r.bookProps){tu=[];if(a.sst)try{tu=Fp(we(e,Eg(a.sst)),a.sst,r)}catch(l){if(r.WTF)throw l}if(r.cellStyles&&a.themes.length)f=Dp(Ce(e,a.themes[0].replace(/^\\//,\"\"),true)||\"\",a.themes[0],r);if(a.style)o=Op(we(e,Eg(a.style)),a.style,f,r)}a.links.map(function(t){try{var a=Ma(Ce(e,La(Eg(t))),t);return Lp(we(e,Eg(t)),a,t,r)}catch(n){}});var c=Tp(we(e,Eg(a.workbooks[0])),a.workbooks[0],r);var h={},u=\"\";if(a.coreprops.length){u=we(e,Eg(a.coreprops[0]),true);if(u)h=Ja(u);if(a.extprops.length!==0){u=we(e,Eg(a.extprops[0]),true);if(u)sn(u,h,r)}}var d={};if(!r.bookSheets||r.bookProps){if(a.custprops.length!==0){u=Ce(e,Eg(a.custprops[0]),true);if(u)d=cn(u,r)}}var p={};if(r.bookSheets||r.bookProps){if(c.Sheets)i=c.Sheets.map(function I(e){return e.name});else if(h.Worksheets&&h.SheetNames.length>0)i=h.SheetNames;if(r.bookProps){p.Props=h;p.Custprops=d}if(r.bookSheets&&typeof i!==\"undefined\")p.SheetNames=i;if(r.bookSheets?p.SheetNames:r.bookProps)return p}i={};var v={};if(r.bookDeps&&a.calcchain)v=Np(we(e,Eg(a.calcchain)),a.calcchain,r);var g=0;var b={};var m,w;{var C=c.Sheets;h.Worksheets=C.length;h.SheetNames=[];for(var k=0;k!=C.length;++k){h.SheetNames[k]=C[k].name}}var E=n?\"bin\":\"xml\";var S=a.workbooks[0].lastIndexOf(\"/\");var A=(a.workbooks[0].slice(0,S+1)+\"_rels/\"+a.workbooks[0].slice(S+1)+\".rels\").replace(/^\\//,\"\");if(!be(e,A))A=\"xl/_rels/workbook.\"+E+\".rels\";var _=Ma(Ce(e,A,true),A);if(_)_=Cg(_,c.Sheets);var B=we(e,\"xl/worksheets/sheet.xml\",true)?1:0;e:for(g=0;g!=h.Worksheets;++g){var T=\"sheet\";if(_&&_[g]){m=\"xl/\"+_[g][1].replace(/[\\/]?xl\\//,\"\");if(!be(e,m))m=_[g][1];if(!be(e,m))m=A.replace(/_rels\\/.*$/,\"\")+_[g][1];T=_[g][2]}else{m=\"xl/worksheets/sheet\"+(g+1-B)+\".\"+E;m=m.replace(/sheet0\\./,\"sheet.\")}w=m.replace(/^(.*)(\\/)([^\\/]*)$/,\"$1/_rels/$3.rels\");if(r&&r.sheets!=null)switch(typeof r.sheets){case\"number\":if(g!=r.sheets)continue e;break;case\"string\":if(h.SheetNames[g].toLowerCase()!=r.sheets.toLowerCase())continue e;break;default:if(Array.isArray&&Array.isArray(r.sheets)){var y=false;for(var x=0;x!=r.sheets.length;++x){if(typeof r.sheets[x]==\"number\"&&r.sheets[x]==g)y=1;if(typeof r.sheets[x]==\"string\"&&r.sheets[x].toLowerCase()==h.SheetNames[g].toLowerCase())y=1}if(!y)continue e};}kg(e,m,w,h.SheetNames[g],g,b,i,T,r,c,f,o)}p={Directory:a,Workbook:c,Props:h,Custprops:d,Deps:v,Sheets:i,SheetNames:h.SheetNames,Strings:tu,Styles:o,Themes:f,SSF:D.get_table()};if(r&&r.bookFiles){p.keys=t;p.files=e.files}if(r&&r.bookVBA){if(a.vba.length>0)p.vbaraw=we(e,Eg(a.vba[0]),true);else if(a.defaults&&a.defaults.bin===Gl)p.vbaraw=we(e,\"xl/vbaProject.bin\",true)}return p}function Ag(e,r){var t=r||{};var a=\"Workbook\",n=z.find(e,a);try{a=\"/!DataSpaces/Version\";n=z.find(e,a);if(!n||!n.content)throw new Error(\"ECMA-376 Encrypted file missing \"+a);Ff(n.content);a=\"/!DataSpaces/DataSpaceMap\";n=z.find(e,a);if(!n||!n.content)throw new Error(\"ECMA-376 Encrypted file missing \"+a);var i=Nf(n.content);if(i.length!==1||i[0].comps.length!==1||i[0].comps[0].t!==0||i[0].name!==\"StrongEncryptionDataSpace\"||i[0].comps[0].v!==\"EncryptedPackage\")throw new Error(\"ECMA-376 Encrypted file bad \"+a);a=\"/!DataSpaces/DataSpaceInfo/StrongEncryptionDataSpace\";n=z.find(e,a);if(!n||!n.content)throw new Error(\"ECMA-376 Encrypted file missing \"+a);var s=Lf(n.content);if(s.length!=1||s[0]!=\"StrongEncryptionTransform\")throw new Error(\"ECMA-376 Encrypted file bad \"+a);a=\"/!DataSpaces/TransformInfo/StrongEncryptionTransform/!Primary\";n=z.find(e,a);if(!n||!n.content)throw new Error(\"ECMA-376 Encrypted file missing \"+a);Uf(n.content)}catch(f){}a=\"/EncryptionInfo\";n=z.find(e,a);if(!n||!n.content)throw new Error(\"ECMA-376 Encrypted file missing \"+a);var o=zf(n.content);a=\"/EncryptedPackage\";n=z.find(e,a);if(!n||!n.content)throw new Error(\"ECMA-376 Encrypted file missing \"+a);if(o[0]==4&&typeof decrypt_agile!==\"undefined\")return decrypt_agile(o[1],n.content,t.password||\"\",t);if(o[0]==2&&typeof decrypt_std76!==\"undefined\")return decrypt_std76(o[1],n.content,t.password||\"\",t);throw new Error(\"File is password-protected\")}function _g(e,r){Dl=1024;if(r.bookType==\"ods\")return ng(e,r);if(e&&!e.SSF){e.SSF=D.get_table()}if(e&&e.SSF){F(D);D.load_table(e.SSF);r.revssf=Q(e.SSF);r.revssf[e.SSF[65535]]=0;r.ssf=e.SSF}r.rels={};r.wbrels={};r.Strings=[];r.Strings.Count=0;r.Strings.Unique=0;if(nu)r.revStrings=new Map;else{r.revStrings={};r.revStrings.foo=[];delete r.revStrings.foo}var t=r.bookType==\"xlsb\"?\"bin\":\"xml\";var a=Yl.indexOf(r.bookType)>-1;var n=Ra();mg(r=r||{});var i=Ae();var s=\"\",f=0;r.cellXfs=[];ou(r.cellXfs,{},{revssf:{General:0}});if(!e.Props)e.Props={};s=\"docProps/core.xml\";Ee(i,s,rn(e.Props,r));n.coreprops.push(s);za(r.rels,2,s,Na.CORE_PROPS);s=\"docProps/app.xml\";if(e.Props&&e.Props.SheetNames){}else if(!e.Workbook||!e.Workbook.Sheets)e.Props.SheetNames=e.SheetNames;else{var o=[];for(var l=0;l<e.SheetNames.length;++l)if((e.Workbook.Sheets[l]||{}).Hidden!=2)o.push(e.SheetNames[l]);e.Props.SheetNames=o}e.Props.Worksheets=e.Props.SheetNames.length;Ee(i,s,on(e.Props,r));n.extprops.push(s);za(r.rels,3,s,Na.EXT_PROPS);if(e.Custprops!==e.Props&&K(e.Custprops||{}).length>0){s=\"docProps/custom.xml\";Ee(i,s,un(e.Custprops,r));n.custprops.push(s);za(r.rels,4,s,Na.CUST_PROPS)}for(f=1;f<=e.SheetNames.length;++f){var c={\"!id\":{}};var h=e.Sheets[e.SheetNames[f-1]];var u=(h||{})[\"!type\"]||\"sheet\";switch(u){case\"chart\":;default:s=\"xl/worksheets/sheet\"+f+\".\"+t;Ee(i,s,Up(f-1,s,r,e,c));n.sheets.push(s);za(r.wbrels,-1,\"worksheets/sheet\"+f+\".\"+t,Na.WS[0]);}if(h){var d=h[\"!comments\"];var p=false;if(d&&d.length>0){var v=\"xl/comments\"+f+\".\"+t;Ee(i,v,Vp(d,v,r));n.comments.push(v);za(c,-1,\"../comments\"+f+\".\"+t,Na.CMNT);p=true}if(h[\"!legacy\"]){if(p)Ee(i,\"xl/drawings/vmlDrawing\"+f+\".vml\",Fl(f,h[\"!comments\"]))}delete h[\"!comments\"];delete h[\"!legacy\"]}if(c[\"!id\"].rId1)Ee(i,La(s),Ha(c))}if(r.Strings!=null&&r.Strings.length>0){s=\"xl/sharedStrings.\"+t;Ee(i,s,zp(r.Strings,s,r));n.strs.push(s);za(r.wbrels,-1,\"sharedStrings.\"+t,Na.SST)}s=\"xl/workbook.\"+t;Ee(i,s,Mp(e,s,r));n.workbooks.push(s);za(r.rels,1,s,Na.WB);s=\"xl/theme/theme1.xml\";Ee(i,s,ml(e.Themes,r));n.themes.push(s);za(r.wbrels,-1,\"theme/theme1.xml\",Na.THEME);s=\"xl/styles.\"+t;Ee(i,s,Wp(e,s,r));n.styles.push(s);za(r.wbrels,-1,\"styles.\"+t,Na.STY);if(e.vbaraw&&a){s=\"xl/vbaProject.bin\";Ee(i,s,e.vbaraw);n.vba.push(s);za(r.wbrels,-1,\"vbaProject.bin\",Na.VBA)}Ee(i,\"[Content_Types].xml\",Pa(n,r));Ee(i,\"_rels/.rels\",Ha(r.rels));Ee(i,\"xl/_rels/workbook.\"+t+\".rels\",Ha(r.wbrels));delete r.revssf;delete r.ssf;return i}function Bg(e,r){var t=\"\";switch((r||{}).type||\"base64\"){case\"buffer\":return[e[0],e[1],e[2],e[3]];case\"base64\":t=m.decode(e.slice(0,24));break;case\"binary\":t=e;break;case\"array\":return[e[0],e[1],e[2],e[3]];default:throw new Error(\"Unrecognized type \"+(r&&r.type||\"undefined\"));}return[t.charCodeAt(0),t.charCodeAt(1),t.charCodeAt(2),t.charCodeAt(3)]}function Tg(e,r){if(z.find(e,\"EncryptedPackage\"))return Ag(e,r);return _v(e,r)}function yg(e,r){var t,a=e;var n=r||{};if(!n.type)n.type=w&&Buffer.isBuffer(e)?\"buffer\":\"base64\";t=_e(a,n);return Sg(t,n)}function xg(e,r){var t=0;e:while(t<e.length)switch(e.charCodeAt(t)){case 10:;case 13:;case 32:++t;break;case 60:return av(e.slice(t),r);default:break e;}return hf.to_workbook(e,r)}function Ig(e,r){var t=\"\",a=Bg(e,r);switch(r.type){case\"base64\":t=m.decode(e);break;case\"binary\":t=e;break;case\"buffer\":t=e.toString(\"binary\");break;case\"array\":t=fe(e);break;default:throw new Error(\"Unrecognized type \"+r.type);}if(a[0]==239&&a[1]==187&&a[2]==191)t=Ke(t);return xg(t,r)}function Rg(e,r){var t=e;if(r.type==\"base64\")t=m.decode(t);t=cptable.utils.decode(1200,t.slice(2),\"str\");r.type=\"binary\";return xg(t,r)}function Og(e){return!e.match(/[^\\x00-\\x7F]/)?e:Ye(e)}function Dg(e,r,t,a){if(a){t.type=\"string\";return hf.to_workbook(e,t)}return hf.to_workbook(r,t)}function Fg(e,r){l();if(typeof ArrayBuffer!==\"undefined\"&&e instanceof ArrayBuffer)return Fg(new Uint8Array(e),r);var t=e,a=[0,0,0,0],n=false;var i=r||{};if(i.cellStyles){i.cellNF=true;i.sheetStubs=true}au={};if(i.dateNF)au.dateNF=i.dateNF;if(!i.type)i.type=w&&Buffer.isBuffer(e)?\"buffer\":\"base64\";if(i.type==\"file\"){i.type=w?\"buffer\":\"binary\";t=j(e)}if(i.type==\"string\"){n=true;i.type=\"binary\";i.codepage=65001;t=Og(e)}if(i.type==\"array\"&&typeof Uint8Array!==\"undefined\"&&e instanceof Uint8Array&&typeof ArrayBuffer!==\"undefined\"){var s=new ArrayBuffer(3),f=new Uint8Array(s);f.foo=\"bar\";if(!f.foo){i=oe(i);i.type=\"array\";return Fg(x(t),i)}}switch((a=Bg(t,i))[0]){case 208:return Tg(z.read(t,i),i);case 9:if(a[1]<=4)return _v(t,i);break;case 60:return av(t,i);case 73:if(a[1]===68)return uf(t,i);break;case 84:if(a[1]===65&&a[2]===66&&a[3]===76)return lf.to_workbook(t,i);break;case 80:return a[1]===75&&a[2]<9&&a[3]<9?yg(t,i):Dg(e,t,i,n);case 239:return a[3]===60?av(t,i):Dg(e,t,i,n);case 255:if(a[1]===254){return Rg(t,i)}break;case 0:if(a[1]===0&&a[2]>=2&&a[3]===0)return df.to_workbook(t,i);break;case 3:;case 131:;case 139:;case 140:return ff.to_workbook(t,i);case 123:if(a[1]===92&&a[2]===114&&a[3]===116)return ro.to_workbook(t,i);break;case 10:;case 13:;case 32:return Ig(t,i);}if(a[2]<=12&&a[3]<=31)return ff.to_workbook(t,i);return Dg(e,t,i,n)}function Pg(e,r){var t=r||{};t.type=\"file\";return Fg(e,t)}function Ng(e,r){switch(r.type){case\"base64\":;case\"binary\":break;case\"buffer\":;case\"array\":r.type=\"\";break;case\"file\":return G(r.file,z.write(e,{type:w?\"buffer\":\"\"}));case\"string\":throw new Error(\"'string' output type invalid for '\"+r.bookType+\"' files\");default:throw new Error(\"Unrecognized type \"+r.type);}return z.write(e,r)}function Lg(e,r){var t=r||{};var a=_g(e,t);var n={};if(t.compression)n.compression=\"DEFLATE\";if(t.password)n.type=w?\"nodebuffer\":\"string\";else switch(t.type){case\"base64\":n.type=\"base64\";break;case\"binary\":n.type=\"string\";break;case\"string\":throw new Error(\"'string' output type invalid for '\"+t.bookType+\"' files\");case\"buffer\":;case\"file\":n.type=w?\"nodebuffer\":\"string\";break;default:throw new Error(\"Unrecognized type \"+t.type);}var i=a.FullPaths?z.write(a,{fileType:\"zip\",type:{nodebuffer:\"buffer\",string:\"binary\"}[n.type]||n.type}):a.generate(n);if(t.password&&typeof encrypt_agile!==\"undefined\")return Ng(encrypt_agile(i,t.password),t);if(t.type===\"file\")return G(t.file,i);return t.type==\"string\"?Ke(i):i}function Mg(e,r){var t=r||{};var a=Bv(e,t);return Ng(a,t)}function Ug(e,r,t){if(!t)t=\"\";var a=t+e;switch(r.type){case\"base64\":return m.encode(Ye(a));case\"binary\":return Ye(a);case\"string\":return e;case\"file\":return G(r.file,a,\"utf8\");case\"buffer\":{if(w)return C(a,\"utf8\");else return Ug(a,{type:\"binary\"}).split(\"\").map(function(e){return e.charCodeAt(0)})};}throw new Error(\"Unrecognized type \"+r.type)}function Hg(e,r){switch(r.type){case\"base64\":return m.encode(e);case\"binary\":return e;case\"string\":return e;case\"file\":return G(r.file,e,\"binary\");case\"buffer\":{if(w)return C(e,\"binary\");else return e.split(\"\").map(function(e){return e.charCodeAt(0)})};}throw new Error(\"Unrecognized type \"+r.type)}function Wg(e,r){switch(r.type){case\"string\":;case\"base64\":;case\"binary\":var t=\"\";for(var a=0;a<e.length;++a)t+=String.fromCharCode(e[a]);return r.type==\"base64\"?m.encode(t):r.type==\"string\"?Ke(t):t;case\"file\":return G(r.file,e);case\"buffer\":return e;default:throw new Error(\"Unrecognized type \"+r.type);}}function zg(e,r){l();cp(e);var t=r||{};if(t.cellStyles){t.cellNF=true;t.sheetStubs=true}if(t.type==\"array\"){t.type=\"binary\";var a=zg(e,t);t.type=\"array\";return B(a)}switch(t.bookType||\"xlsb\"){case\"xml\":;case\"xlml\":return Ug(gv(e,t),t);case\"slk\":;case\"sylk\":return Ug(lg(e,t),t);case\"htm\":;case\"html\":return Ug(fg(e,t),t);case\"txt\":return Hg(dg(e,t),t);case\"csv\":return Ug(og(e,t),t,\"\\ufeff\");case\"dif\":return Ug(cg(e,t),t);case\"dbf\":return Wg(pg(e,t),t);case\"prn\":return Ug(hg(e,t),t);case\"rtf\":return Ug(ug(e,t),t);case\"eth\":return Ug(vg(e,t),t);case\"fods\":return Ug(ng(e,t),t);case\"biff2\":if(!t.biff)t.biff=2;case\"biff3\":if(!t.biff)t.biff=3;case\"biff4\":if(!t.biff)t.biff=4;return Wg(Kv(e,t),t);case\"biff5\":if(!t.biff)t.biff=5;case\"biff8\":;case\"xla\":;case\"xls\":if(!t.biff)t.biff=8;return Mg(e,t);case\"xlsx\":;case\"xlsm\":;case\"xlam\":;case\"xlsb\":;case\"ods\":return Lg(e,t);default:throw new Error(\"Unrecognized bookType |\"+t.bookType+\"|\");}}function Vg(e){if(e.bookType)return;var r={xls:\"biff8\",htm:\"html\",slk:\"sylk\",socialcalc:\"eth\",Sh33tJS:\"WTF\"};var t=e.file.slice(e.file.lastIndexOf(\".\")).toLowerCase();if(t.match(/^\\.[a-z]+$/))e.bookType=t.slice(1);e.bookType=r[e.bookType]||e.bookType}function Xg(e,r,t){var a=t||{};a.type=\"file\";a.file=r;Vg(a);return zg(e,a)}function Gg(e,r,t,a){var n=t||{};n.type=\"file\";n.file=e;Vg(n);n.type=\"buffer\";var i=a;if(!(i instanceof Function))i=t;return V.writeFile(e,zg(r,n),i)}function jg(e,r,t,a,n,i,s,f){var o=st(t);var l=f.defval,c=f.raw||!Object.prototype.hasOwnProperty.call(f,\"raw\");var h=true;var u=n===1?[]:{};if(n!==1){if(Object.defineProperty)try{Object.defineProperty(u,\"__rowNum__\",{value:t,enumerable:false})}catch(d){u.__rowNum__=t}else u.__rowNum__=t}if(!s||e[t])for(var p=r.s.c;p<=r.e.c;++p){var v=s?e[t][p]:e[a[p]+o];if(v===undefined||v.t===undefined){if(l===undefined)continue;if(i[p]!=null){u[i[p]]=l}continue}var g=v.v;switch(v.t){case\"z\":if(g==null)break;continue;case\"e\":g=void 0;break;case\"s\":;case\"d\":;case\"b\":;case\"n\":break;default:throw new Error(\"unrecognized type \"+v.t);}if(i[p]!=null){if(g==null){if(l!==undefined)u[i[p]]=l;else if(c&&g===null)u[i[p]]=null;else continue}else{u[i[p]]=c?g:Ct(v,g,f)}if(g!=null)h=false}}return{row:u,isempty:h}}function Kg(e,r){if(e==null||e[\"!ref\"]==null)return[];var t={t:\"n\",v:0},a=0,n=1,i=[],s=0,f=\"\";var o={s:{r:0,c:0},e:{r:0,c:0}};var l=r||{};var c=l.range!=null?l.range:e[\"!ref\"];if(l.header===1)a=1;else if(l.header===\"A\")a=2;else if(Array.isArray(l.header))a=3;else if(l.header==null)a=0;switch(typeof c){case\"string\":o=mt(c);break;case\"number\":o=mt(e[\"!ref\"]);o.s.r=c;break;default:o=c;}if(a>0)n=0;var h=st(o.s.r);var u=[];var d=[];var p=0,v=0;var g=Array.isArray(e);var b=o.s.r,m=0,w=0;if(g&&!e[b])e[b]=[];for(m=o.s.c;m<=o.e.c;++m){u[m]=ct(m);t=g?e[b][m]:e[u[m]+h];switch(a){case 1:i[m]=m-o.s.c;break;case 2:i[m]=u[m];break;case 3:i[m]=l.header[m-o.s.c];break;default:if(t==null)t={w:\"__EMPTY\",t:\"s\"};f=s=Ct(t,null,l);v=0;for(w=0;w<i.length;++w)if(i[w]==f)f=s+\"_\"+ ++v;i[m]=f;}}for(b=o.s.r+n;b<=o.e.r;++b){var C=jg(e,o,b,u,a,i,g,l);if(C.isempty===false||(a===1?l.blankrows!==false:!!l.blankrows))d[p++]=C.row}d.length=p;return d}var Yg=/\"/g;function $g(e,r,t,a,n,i,s,f){var o=true;var l=[],c=\"\",h=st(t);for(var u=r.s.c;u<=r.e.c;++u){if(!a[u])continue;var d=f.dense?(e[t]||[])[u]:e[a[u]+h];if(d==null)c=\"\";else if(d.v!=null){o=false;c=\"\"+Ct(d,null,f);for(var p=0,v=0;p!==c.length;++p)if((v=c.charCodeAt(p))===n||v===i||v===34){c='\"'+c.replace(Yg,'\"\"')+'\"';break}if(c==\"ID\")c='\"ID\"'}else if(d.f!=null&&!d.F){o=false;c=\"=\"+d.f;if(c.indexOf(\",\")>=0)c='\"'+c.replace(Yg,'\"\"')+'\"'}else c=\"\";l.push(c)}if(f.blankrows===false&&o)return null;return l.join(s)}function Zg(e,r){var t=[];var a=r==null?{}:r;if(e==null||e[\"!ref\"]==null)return\"\";var n=mt(e[\"!ref\"]);var i=a.FS!==undefined?a.FS:\",\",s=i.charCodeAt(0);var f=a.RS!==undefined?a.RS:\"\\n\",o=f.charCodeAt(0);var l=new RegExp((i==\"|\"?\"\\\\|\":i)+\"+$\");var c=\"\",h=[];a.dense=Array.isArray(e);var u=a.skipHidden&&e[\"!cols\"]||[];var d=a.skipHidden&&e[\"!rows\"]||[];for(var p=n.s.c;p<=n.e.c;++p)if(!(u[p]||{}).hidden)h[p]=ct(p);for(var v=n.s.r;v<=n.e.r;++v){if((d[v]||{}).hidden)continue;c=$g(e,n,v,h,s,o,i,a);if(c==null){continue}if(a.strip)c=c.replace(l,\"\");t.push(c+f)}delete a.dense;return t.join(\"\")}function Qg(e,r){if(!r)r={};r.FS=\"\\t\";r.RS=\"\\n\";var t=Zg(e,r);if(typeof cptable==\"undefined\"||r.type==\"string\")return t;var a=cptable.utils.encode(1200,t,\"str\");return String.fromCharCode(255)+String.fromCharCode(254)+a}function Jg(e){var r=\"\",t,a=\"\";if(e==null||e[\"!ref\"]==null)return[];var n=mt(e[\"!ref\"]),i=\"\",s=[],f;var o=[];var l=Array.isArray(e);for(f=n.s.c;f<=n.e.c;++f)s[f]=ct(f);for(var c=n.s.r;c<=n.e.r;++c){i=st(c);for(f=n.s.c;f<=n.e.c;++f){r=s[f]+i;t=l?(e[c]||[])[f]:e[r];a=\"\";if(t===undefined)continue;else if(t.F!=null){r=t.F;if(!t.f)continue;a=t.f;if(r.indexOf(\":\")==-1)r=r+\":\"+r}if(t.f!=null)a=t.f;else if(t.t==\"z\")continue;else if(t.t==\"n\"&&t.v!=null)a=\"\"+t.v;else if(t.t==\"b\")a=t.v?\"TRUE\":\"FALSE\";else if(t.w!==undefined)a=\"'\"+t.w;else if(t.v===undefined)continue;else if(t.t==\"s\")a=\"'\"+t.v;else a=\"\"+t.v;o[o.length]=r+\"=\"+a}}return o}function qg(e,r,t){var a=t||{};var n=+!a.skipHeader;var i=e||{};var s=0,f=0;if(i&&a.origin!=null){if(typeof a.origin==\"number\")s=a.origin;else{var o=typeof a.origin==\"string\"?pt(a.origin):a.origin;s=o.r;f=o.c}}var l;var c={s:{c:0,r:0},e:{c:f,r:s+r.length-1+n}};if(i[\"!ref\"]){var h=mt(i[\"!ref\"]);c.e.c=Math.max(c.e.c,h.e.c);c.e.r=Math.max(c.e.r,h.e.r);if(s==-1){s=c.e.r+1;c.e.r=s+r.length-1+n}}var u=a.header||[],d=0;r.forEach(function(e,r){K(e).forEach(function(t){if((d=u.indexOf(t))==-1)u[d=u.length]=t;var o=e[t];var c=\"z\";var h=\"\";var p=vt({c:f+d,r:s+r+n});l=rb.sheet_get_cell(i,p);if(o&&typeof o===\"object\"&&!(o instanceof Date)){i[p]=o}else{if(typeof o==\"number\")c=\"n\";else if(typeof o==\"boolean\")c=\"b\";else if(typeof o==\"string\")c=\"s\";else if(o instanceof Date){c=\"d\";if(!a.cellDates){c=\"n\";o=re(o)}h=a.dateNF||D._table[14]}if(!l)i[p]=l={t:c,v:o};else{l.t=c;l.v=o;delete l.w;delete l.R;if(h)l.z=h}if(h)l.z=h}})});c.e.c=Math.max(c.e.c,f+u.length-1);var p=st(s);if(n)for(d=0;d<u.length;++d)i[ct(d+f)+p]={t:\"s\",v:u[d]};i[\"!ref\"]=bt(c);return i}function eb(e,r){return qg(null,e,r)}var rb={encode_col:ct,encode_row:st,encode_cell:vt,encode_range:bt,decode_col:lt,decode_row:it,split_cell:dt,decode_cell:pt,decode_range:gt,format_cell:Ct,get_formulae:Jg,make_csv:Zg,make_json:Kg,make_formulae:Jg,sheet_add_aoa:Et,sheet_add_json:qg,aoa_to_sheet:St,json_to_sheet:eb,table_to_sheet:$v,table_to_book:Zv,sheet_to_csv:Zg,sheet_to_txt:Qg,sheet_to_json:Kg,sheet_to_html:Yv.from_sheet,sheet_to_formulae:Jg,sheet_to_row_object_array:Kg};(function(e){e.consts=e.consts||{};function r(r){r.forEach(function(r){e.consts[r[0]]=r[1]})}function t(e,r,t){return e[r]!=null?e[r]:e[r]=t}function a(e,r,t){if(typeof r==\"string\"){if(Array.isArray(e)){var n=pt(r);if(!e[n.r])e[n.r]=[];return e[n.r][n.c]||(e[n.r][n.c]={t:\"z\"})}return e[r]||(e[r]={t:\"z\"})}if(typeof r!=\"number\")return a(e,vt(r));return a(e,vt({r:r,c:t||0}))}e.sheet_get_cell=a;function n(e,r){if(typeof r==\"number\"){if(r>=0&&e.SheetNames.length>r)return r;throw new Error(\"Cannot find sheet # \"+r)}else if(typeof r==\"string\"){var t=e.SheetNames.indexOf(r);if(t>-1)return t;throw new Error(\"Cannot find sheet name |\"+r+\"|\")}else throw new Error(\"Cannot find sheet |\"+r+\"|\")}e.book_new=function(){return{SheetNames:[],Sheets:{}}};e.book_append_sheet=function(e,r,t){if(!t)for(var a=1;a<=65535;++a)if(e.SheetNames.indexOf(t=\"Sheet\"+a)==-1)break;if(!t)throw new Error(\"Too many worksheets\");op(t);if(e.SheetNames.indexOf(t)>=0)throw new Error(\"Worksheet with name |\"+t+\"| already exists!\");e.SheetNames.push(t);e.Sheets[t]=r};e.book_set_sheet_visibility=function(e,r,a){t(e,\"Workbook\",{});t(e.Workbook,\"Sheets\",[]);var i=n(e,r);t(e.Workbook.Sheets,i,{});switch(a){case 0:;case 1:;case 2:break;default:throw new Error(\"Bad sheet visibility setting \"+a);}e.Workbook.Sheets[i].Hidden=a};r([[\"SHEET_VISIBLE\",0],[\"SHEET_HIDDEN\",1],[\"SHEET_VERY_HIDDEN\",2]]);e.cell_set_number_format=function(e,r){e.z=r;return e};e.cell_set_hyperlink=function(e,r,t){if(!r){delete e.l}else{e.l={Target:r};if(t)e.l.Tooltip=t}return e};e.cell_set_internal_link=function(r,t,a){return e.cell_set_hyperlink(r,\"#\"+t,a)};e.cell_add_comment=function(e,r,t){if(!e.c)e.c=[];e.c.push({t:r,a:t||\"SheetJS\"})};e.sheet_set_array_formula=function(e,r,t){var n=typeof r!=\"string\"?r:mt(r);var i=typeof r==\"string\"?r:bt(r);for(var s=n.s.r;s<=n.e.r;++s)for(var f=n.s.c;f<=n.e.c;++f){var o=a(e,s,f);o.t=\"n\";o.F=i;delete o.v;if(s==n.s.r&&f==n.s.c)o.f=t}return e};return e})(rb);if(w&&typeof require!=\"undefined\")(function(){var r={}.Readable;var t=function(e,t){var a=r();var n=t==null?{}:t;if(e==null||e[\"!ref\"]==null){a.push(null);return a}var i=mt(e[\"!ref\"]);var s=n.FS!==undefined?n.FS:\",\",f=s.charCodeAt(0);var o=n.RS!==undefined?n.RS:\"\\n\",l=o.charCodeAt(0);var c=new RegExp((s==\"|\"?\"\\\\|\":s)+\"+$\");var h=\"\",u=[];n.dense=Array.isArray(e);var d=n.skipHidden&&e[\"!cols\"]||[];var p=n.skipHidden&&e[\"!rows\"]||[];for(var v=i.s.c;v<=i.e.c;++v)if(!(d[v]||{}).hidden)u[v]=ct(v);var g=i.s.r;var b=false;a._read=function(){if(!b){b=true;return a.push(\"\\ufeff\")}while(g<=i.e.r){++g;if((p[g-1]||{}).hidden)continue;h=$g(e,i,g-1,u,f,l,s,n);if(h!=null){if(n.strip)h=h.replace(c,\"\");a.push(h+o);break}}if(g>i.e.r)return a.push(null)};return a};var a=function(e,t){var a=r();var n=t||{};var i=n.header!=null?n.header:Yv.BEGIN;var s=n.footer!=null?n.footer:Yv.END;a.push(i);var f=gt(e[\"!ref\"]);n.dense=Array.isArray(e);a.push(Yv._preamble(e,f,n));var o=f.s.r;var l=false;a._read=function(){if(o>f.e.r){if(!l){l=true;a.push(\"</table>\"+s)}return a.push(null)}while(o<=f.e.r){a.push(Yv._row(e,f,o,n));++o;break}};return a};var n=function(e,t){var a=r({objectMode:true});if(e==null||e[\"!ref\"]==null){a.push(null);return a}var n={t:\"n\",v:0},i=0,s=1,f=[],o=0,l=\"\";var c={s:{r:0,c:0},e:{r:0,c:0}};var h=t||{};var u=h.range!=null?h.range:e[\"!ref\"];if(h.header===1)i=1;else if(h.header===\"A\")i=2;else if(Array.isArray(h.header))i=3;switch(typeof u){case\"string\":c=mt(u);break;case\"number\":c=mt(e[\"!ref\"]);c.s.r=u;break;default:c=u;}if(i>0)s=0;var d=st(c.s.r);var p=[];var v=0;var g=Array.isArray(e);var b=c.s.r,m=0,w=0;if(g&&!e[b])e[b]=[];for(m=c.s.c;m<=c.e.c;++m){p[m]=ct(m);n=g?e[b][m]:e[p[m]+d];switch(i){case 1:f[m]=m-c.s.c;break;case 2:f[m]=p[m];break;case 3:f[m]=h.header[m-c.s.c];break;default:if(n==null)n={w:\"__EMPTY\",t:\"s\"};l=o=Ct(n,null,h);v=0;for(w=0;w<f.length;++w)if(f[w]==l)l=o+\"_\"+ ++v;f[m]=l;}}b=c.s.r+s;a._read=function(){if(b>c.e.r)return a.push(null);while(b<=c.e.r){var r=jg(e,c,b,p,i,f,g,h);++b;if(r.isempty===false||(i===1?h.blankrows!==false:!!h.blankrows)){a.push(r.row);break}}};return a};e.stream={to_json:n,to_html:a,to_csv:t}})();if(typeof _v!==\"undefined\")e.parse_xlscfb=_v;e.parse_zip=Sg;e.read=Fg;e.readFile=Pg;e.readFileSync=Pg;e.write=zg;e.writeFile=Xg;e.writeFileSync=Xg;e.writeFileAsync=Gg;e.utils=rb;e.SSF=D;if(typeof z!==\"undefined\")e.CFB=z}if(typeof exports!==\"undefined\")make_xlsx_lib(exports);else if(typeof module!==\"undefined\"&&module.exports)make_xlsx_lib(module.exports);else if(typeof define===\"function\"&&define.amd)define(\"xlsx\",function(){if(!XLSX.version)make_xlsx_lib(XLSX);return XLSX});else make_xlsx_lib(XLSX);var XLS=XLSX,ODS=XLSX;\n","/*\n* FileSaver.js\n* A saveAs() FileSaver implementation.\n*\n* By Eli Grey, http://eligrey.com\n*\n* License : https://github.com/eligrey/FileSaver.js/blob/master/LICENSE.md (MIT)\n* source  : http://purl.eligrey.com/github/FileSaver.js\n*/\n\n// The one and only way of getting global scope in all environments\n// https://stackoverflow.com/q/3277182/1008999\nvar _global = typeof window === 'object' && window.window === window\n  ? window : typeof self === 'object' && self.self === self\n  ? self : typeof global === 'object' && global.global === global\n  ? global\n  : this\n\nfunction bom (blob, opts) {\n  if (typeof opts === 'undefined') opts = { autoBom: false }\n  else if (typeof opts !== 'object') {\n    console.warn('Deprecated: Expected third argument to be a object')\n    opts = { autoBom: !opts }\n  }\n\n  // prepend BOM for UTF-8 XML and text/* types (including HTML)\n  // note: your browser will automatically convert UTF-16 U+FEFF to EF BB BF\n  if (opts.autoBom && /^\\s*(?:text\\/\\S*|application\\/xml|\\S*\\/\\S*\\+xml)\\s*;.*charset\\s*=\\s*utf-8/i.test(blob.type)) {\n    return new Blob([String.fromCharCode(0xFEFF), blob], { type: blob.type })\n  }\n  return blob\n}\n\nfunction download (url, name, opts) {\n  var xhr = new XMLHttpRequest()\n  xhr.open('GET', url)\n  xhr.responseType = 'blob'\n  xhr.onload = function () {\n    saveAs(xhr.response, name, opts)\n  }\n  xhr.onerror = function () {\n    console.error('could not download file')\n  }\n  xhr.send()\n}\n\nfunction corsEnabled (url) {\n  var xhr = new XMLHttpRequest()\n  // use sync to avoid popup blocker\n  xhr.open('HEAD', url, false)\n  try {\n    xhr.send()\n  } catch (e) {}\n  return xhr.status >= 200 && xhr.status <= 299\n}\n\n// `a.click()` doesn't work for all browsers (#465)\nfunction click (node) {\n  try {\n    node.dispatchEvent(new MouseEvent('click'))\n  } catch (e) {\n    var evt = document.createEvent('MouseEvents')\n    evt.initMouseEvent('click', true, true, window, 0, 0, 0, 80,\n                          20, false, false, false, false, 0, null)\n    node.dispatchEvent(evt)\n  }\n}\n\nvar saveAs = _global.saveAs || (\n  // probably in some web worker\n  (typeof window !== 'object' || window !== _global)\n    ? function saveAs () { /* noop */ }\n\n  // Use download attribute first if possible (#193 Lumia mobile)\n  : 'download' in HTMLAnchorElement.prototype\n  ? function saveAs (blob, name, opts) {\n    var URL = _global.URL || _global.webkitURL\n    var a = document.createElement('a')\n    name = name || blob.name || 'download'\n\n    a.download = name\n    a.rel = 'noopener' // tabnabbing\n\n    // TODO: detect chrome extensions & packaged apps\n    // a.target = '_blank'\n\n    if (typeof blob === 'string') {\n      // Support regular links\n      a.href = blob\n      if (a.origin !== location.origin) {\n        corsEnabled(a.href)\n          ? download(blob, name, opts)\n          : click(a, a.target = '_blank')\n      } else {\n        click(a)\n      }\n    } else {\n      // Support blobs\n      a.href = URL.createObjectURL(blob)\n      setTimeout(function () { URL.revokeObjectURL(a.href) }, 4E4) // 40s\n      setTimeout(function () { click(a) }, 0)\n    }\n  }\n\n  // Use msSaveOrOpenBlob as a second approach\n  : 'msSaveOrOpenBlob' in navigator\n  ? function saveAs (blob, name, opts) {\n    name = name || blob.name || 'download'\n\n    if (typeof blob === 'string') {\n      if (corsEnabled(blob)) {\n        download(blob, name, opts)\n      } else {\n        var a = document.createElement('a')\n        a.href = blob\n        a.target = '_blank'\n        setTimeout(function () { click(a) })\n      }\n    } else {\n      navigator.msSaveOrOpenBlob(bom(blob, opts), name)\n    }\n  }\n\n  // Fallback to using FileReader and a popup\n  : function saveAs (blob, name, opts, popup) {\n    // Open a popup immediately do go around popup blocker\n    // Mostly only available on user interaction and the fileReader is async so...\n    popup = popup || open('', '_blank')\n    if (popup) {\n      popup.document.title =\n      popup.document.body.innerText = 'downloading...'\n    }\n\n    if (typeof blob === 'string') return download(blob, name, opts)\n\n    var force = blob.type === 'application/octet-stream'\n    var isSafari = /constructor/i.test(_global.HTMLElement) || _global.safari\n    var isChromeIOS = /CriOS\\/[\\d]+/.test(navigator.userAgent)\n\n    if ((isChromeIOS || (force && isSafari)) && typeof FileReader === 'object') {\n      // Safari doesn't allow downloading of blob URLs\n      var reader = new FileReader()\n      reader.onloadend = function () {\n        var url = reader.result\n        url = isChromeIOS ? url : url.replace(/^data:[^;]*;/, 'data:attachment/file;')\n        if (popup) popup.location.href = url\n        else location = url\n        popup = null // reverse-tabnabbing #460\n      }\n      reader.readAsDataURL(blob)\n    } else {\n      var URL = _global.URL || _global.webkitURL\n      var url = URL.createObjectURL(blob)\n      if (popup) popup.location = url\n      else location.href = url\n      popup = null // reverse-tabnabbing #460\n      setTimeout(function () { URL.revokeObjectURL(url) }, 4E4) // 40s\n    }\n  }\n)\n\n_global.saveAs = saveAs.saveAs = saveAs\n\nif (typeof module !== 'undefined') {\n  module.exports = saveAs;\n}\n","!function(t,e){\"object\"==typeof exports&&\"undefined\"!=typeof module?e(exports):\"function\"==typeof define&&define.amd?define([\"exports\"],e):e((t=t||self).exprEval={})}(this,function(t){\"use strict\";var y=\"INUMBER\",x=\"IOP1\",w=\"IOP2\",d=\"IOP3\",g=\"IVAR\",M=\"IVARNAME\",E=\"IFUNCALL\",m=\"IFUNDEF\",A=\"IEXPR\",b=\"IEXPREVAL\",k=\"IMEMBER\",O=\"IENDSTATEMENT\",T=\"IARRAY\";function C(t,e){this.type=t,this.value=null!=e?e:0}function c(t){return new C(x,t)}function f(t){return new C(w,t)}function l(t){return new C(d,t)}function N(t,i,o){var e,r,s,n,a,p,h=[];if(I(t))return P(t,o);for(var u=t.length,c=0;c<u;c++){var f=t[c],l=f.type;if(l===y||l===M)h.push(f.value);else if(l===w)r=h.pop(),e=h.pop(),\"and\"===f.value?h.push(!!e&&!!N(r,i,o)):\"or\"===f.value?h.push(!!e||!!N(r,i,o)):\"=\"===f.value?(n=i.binaryOps[f.value],h.push(n(e,N(r,i,o),o))):(n=i.binaryOps[f.value],h.push(n(P(e,o),P(r,o))));else if(l===d)s=h.pop(),r=h.pop(),e=h.pop(),\"?\"===f.value?h.push(N(e?r:s,i,o)):(n=i.ternaryOps[f.value],h.push(n(P(e,o),P(r,o),P(s,o))));else if(l===g)if(f.value in i.functions)h.push(i.functions[f.value]);else if(f.value in i.unaryOps&&i.parser.isOperatorEnabled(f.value))h.push(i.unaryOps[f.value]);else{var v=o[f.value];if(void 0===v)throw new Error(\"undefined variable: \"+f.value);h.push(v)}else if(l===x)e=h.pop(),n=i.unaryOps[f.value],h.push(n(P(e,o)));else if(l===E){for(p=f.value,a=[];0<p--;)a.unshift(P(h.pop(),o));if(!(n=h.pop()).apply||!n.call)throw new Error(n+\" is not a function\");h.push(n.apply(void 0,a))}else if(l===m)h.push(function(){for(var s=h.pop(),n=[],t=f.value;0<t--;)n.unshift(h.pop());function e(){for(var t=Object.assign({},o),e=0,r=n.length;e<r;e++)t[n[e]]=arguments[e];return N(s,i,t)}var r=h.pop();return Object.defineProperty(e,\"name\",{value:r,writable:!1}),o[r]=e}());else if(l===A)h.push(S(f,i));else if(l===b)h.push(f);else if(l===k)e=h.pop(),h.push(e[f.value]);else if(l===O)h.pop();else{if(l!==T)throw new Error(\"invalid Expression\");for(p=f.value,a=[];0<p--;)a.unshift(h.pop());h.push(a)}}if(1<h.length)throw new Error(\"invalid Expression (parity)\");return 0===h[0]?0:P(h[0],o)}function S(e,r){return I(e)?e:{type:b,value:function(t){return N(e.value,r,t)}}}function I(t){return t&&t.type===b}function P(t,e){return I(t)?t.value(e):t}function v(t,e){for(var r,s,n,i,o,a,p=[],h=0;h<t.length;h++){var u=t[h],c=u.type;if(c===y)\"number\"==typeof u.value&&u.value<0?p.push(\"(\"+u.value+\")\"):Array.isArray(u.value)?p.push(\"[\"+u.value.map(F).join(\", \")+\"]\"):p.push(F(u.value));else if(c===w)s=p.pop(),r=p.pop(),i=u.value,e?\"^\"===i?p.push(\"Math.pow(\"+r+\", \"+s+\")\"):\"and\"===i?p.push(\"(!!\"+r+\" && !!\"+s+\")\"):\"or\"===i?p.push(\"(!!\"+r+\" || !!\"+s+\")\"):\"||\"===i?p.push(\"(function(a,b){ return Array.isArray(a) && Array.isArray(b) ? a.concat(b) : String(a) + String(b); }((\"+r+\"),(\"+s+\")))\"):\"==\"===i?p.push(\"(\"+r+\" === \"+s+\")\"):\"!=\"===i?p.push(\"(\"+r+\" !== \"+s+\")\"):\"[\"===i?p.push(r+\"[(\"+s+\") | 0]\"):p.push(\"(\"+r+\" \"+i+\" \"+s+\")\"):\"[\"===i?p.push(r+\"[\"+s+\"]\"):p.push(\"(\"+r+\" \"+i+\" \"+s+\")\");else if(c===d){if(n=p.pop(),s=p.pop(),r=p.pop(),\"?\"!==(i=u.value))throw new Error(\"invalid Expression\");p.push(\"(\"+r+\" ? \"+s+\" : \"+n+\")\")}else if(c===g||c===M)p.push(u.value);else if(c===x)r=p.pop(),\"-\"===(i=u.value)||\"+\"===i?p.push(\"(\"+i+r+\")\"):e?\"not\"===i?p.push(\"(!\"+r+\")\"):\"!\"===i?p.push(\"fac(\"+r+\")\"):p.push(i+\"(\"+r+\")\"):\"!\"===i?p.push(\"(\"+r+\"!)\"):p.push(\"(\"+i+\" \"+r+\")\");else if(c===E){for(a=u.value,o=[];0<a--;)o.unshift(p.pop());i=p.pop(),p.push(i+\"(\"+o.join(\", \")+\")\")}else if(c===m){for(s=p.pop(),a=u.value,o=[];0<a--;)o.unshift(p.pop());r=p.pop(),e?p.push(\"(\"+r+\" = function(\"+o.join(\", \")+\") { return \"+s+\" })\"):p.push(\"(\"+r+\"(\"+o.join(\", \")+\") = \"+s+\")\")}else if(c===k)r=p.pop(),p.push(r+\".\"+u.value);else if(c===T){for(a=u.value,o=[];0<a--;)o.unshift(p.pop());p.push(\"[\"+o.join(\", \")+\"]\")}else if(c===A)p.push(\"(\"+v(u.value,e)+\")\");else if(c!==O)throw new Error(\"invalid Expression\")}return 1<p.length&&(p=e?[p.join(\",\")]:[p.join(\";\")]),String(p[0])}function F(t){return\"string\"==typeof t?JSON.stringify(t).replace(/\\u2028/g,\"\\\\u2028\").replace(/\\u2029/g,\"\\\\u2029\"):t}function a(t,e){for(var r=0;r<t.length;r++)if(t[r]===e)return!0;return!1}function p(t,e,r){for(var s=!!(r=r||{}).withMembers,n=null,i=0;i<t.length;i++){var o=t[i];o.type===g||o.type===M?s||a(e,o.value)?n=(null!==n&&(a(e,n)||e.push(n)),o.value):e.push(o.value):o.type===k&&s&&null!==n?n+=\".\"+o.value:o.type===A?p(o.value,e,r):null!==n&&(a(e,n)||e.push(n),n=null)}null===n||a(e,n)||e.push(n)}function s(t,e){this.tokens=t,this.parser=e,this.unaryOps=e.unaryOps,this.binaryOps=e.binaryOps,this.ternaryOps=e.ternaryOps,this.functions=e.functions}C.prototype.toString=function(){switch(this.type){case y:case x:case w:case d:case g:case M:case O:return this.value;case E:return\"CALL \"+this.value;case m:return\"DEF \"+this.value;case T:return\"ARRAY \"+this.value;case k:return\".\"+this.value;default:return\"Invalid Instruction\"}},s.prototype.simplify=function(t){return t=t||{},new s(function t(e,r,s,n,i){for(var o,a,p,h,u=[],c=[],f=0;f<e.length;f++){var l=e[f],v=l.type;if(v===y||v===M)Array.isArray(l.value)?u.push.apply(u,t(l.value.map(function(t){return new C(y,t)}).concat(new C(T,l.value.length)),r,s,n,i)):u.push(l);else if(v===g&&i.hasOwnProperty(l.value))l=new C(y,i[l.value]),u.push(l);else if(v===w&&1<u.length)a=u.pop(),o=u.pop(),h=s[l.value],l=new C(y,h(o.value,a.value)),u.push(l);else if(v===d&&2<u.length)p=u.pop(),a=u.pop(),o=u.pop(),\"?\"===l.value?u.push(o.value?a.value:p.value):(h=n[l.value],l=new C(y,h(o.value,a.value,p.value)),u.push(l));else if(v===x&&0<u.length)o=u.pop(),h=r[l.value],l=new C(y,h(o.value)),u.push(l);else if(v===A){for(;0<u.length;)c.push(u.shift());c.push(new C(A,t(l.value,r,s,n,i)))}else if(v===k&&0<u.length)o=u.pop(),u.push(new C(y,o.value[l.value]));else{for(;0<u.length;)c.push(u.shift());c.push(l)}}for(;0<u.length;)c.push(u.shift());return c}(this.tokens,this.unaryOps,this.binaryOps,this.ternaryOps,t),this.parser)},s.prototype.substitute=function(t,e){return e instanceof s||(e=this.parser.parse(String(e))),new s(function t(e,r,s){for(var n=[],i=0;i<e.length;i++){var o=e[i],a=o.type;if(a===g&&o.value===r)for(var p=0;p<s.tokens.length;p++){var h,u=s.tokens[p];h=u.type===x?c(u.value):u.type===w?f(u.value):u.type===d?l(u.value):new C(u.type,u.value),n.push(h)}else a===A?n.push(new C(A,t(o.value,r,s))):n.push(o)}return n}(this.tokens,t,e),this.parser)},s.prototype.evaluate=function(t){return t=t||{},N(this.tokens,this,t)},s.prototype.toString=function(){return v(this.tokens,!1)},s.prototype.symbols=function(t){t=t||{};var e=[];return p(this.tokens,e,t),e},s.prototype.variables=function(t){t=t||{};var e=[];p(this.tokens,e,t);var r=this.functions;return e.filter(function(t){return!(t in r)})},s.prototype.toJSFunction=function(t,e){var r=this,s=new Function(t,\"with(this.functions) with (this.ternaryOps) with (this.binaryOps) with (this.unaryOps) { return \"+v(this.simplify(e).tokens,!0)+\"; }\");return function(){return s.apply(r,arguments)}};var n=\"TEOF\",h=\"TOP\",u=\"TNUMBER\",i=\"TSTRING\",o=\"TPAREN\",R=\"TBRACKET\",L=\"TCOMMA\",j=\"TNAME\",U=\"TSEMICOLON\";function q(t,e,r){this.type=t,this.value=e,this.index=r}function B(t,e){this.pos=0,this.current=null,this.unaryOps=t.unaryOps,this.binaryOps=t.binaryOps,this.ternaryOps=t.ternaryOps,this.consts=t.consts,this.expression=e,this.savedPosition=0,this.savedCurrent=null,this.options=t.options,this.parser=t}q.prototype.toString=function(){return this.type+\": \"+this.value},B.prototype.newToken=function(t,e,r){return new q(t,e,null!=r?r:this.pos)},B.prototype.save=function(){this.savedPosition=this.pos,this.savedCurrent=this.current},B.prototype.restore=function(){this.pos=this.savedPosition,this.current=this.savedCurrent},B.prototype.next=function(){return this.pos>=this.expression.length?this.newToken(n,\"EOF\"):this.isWhitespace()||this.isComment()?this.next():this.isRadixInteger()||this.isNumber()||this.isOperator()||this.isString()||this.isParen()||this.isBracket()||this.isComma()||this.isSemicolon()||this.isNamedOp()||this.isConst()||this.isName()?this.current:void this.parseError('Unknown character \"'+this.expression.charAt(this.pos)+'\"')},B.prototype.isString=function(){var t=!1,e=this.pos,r=this.expression.charAt(e);if(\"'\"===r||'\"'===r)for(var s=this.expression.indexOf(r,e+1);0<=s&&this.pos<this.expression.length;){if(this.pos=s+1,\"\\\\\"!==this.expression.charAt(s-1)){var n=this.expression.substring(e+1,s);this.current=this.newToken(i,this.unescape(n),e),t=!0;break}s=this.expression.indexOf(r,s+1)}return t},B.prototype.isParen=function(){var t=this.expression.charAt(this.pos);return(\"(\"===t||\")\"===t)&&(this.current=this.newToken(o,t),this.pos++,!0)},B.prototype.isBracket=function(){var t=this.expression.charAt(this.pos);return!(\"[\"!==t&&\"]\"!==t||!this.isOperatorEnabled(\"[\"))&&(this.current=this.newToken(R,t),this.pos++,!0)},B.prototype.isComma=function(){return\",\"===this.expression.charAt(this.pos)&&(this.current=this.newToken(L,\",\"),this.pos++,!0)},B.prototype.isSemicolon=function(){return\";\"===this.expression.charAt(this.pos)&&(this.current=this.newToken(U,\";\"),this.pos++,!0)},B.prototype.isConst=function(){for(var t=this.pos,e=t;e<this.expression.length;e++){var r=this.expression.charAt(e);if(r.toUpperCase()===r.toLowerCase()&&(e===this.pos||\"_\"!==r&&\".\"!==r&&(r<\"0\"||\"9\"<r)))break}if(t<e){var s=this.expression.substring(t,e);if(s in this.consts)return this.current=this.newToken(u,this.consts[s]),this.pos+=s.length,!0}return!1},B.prototype.isNamedOp=function(){for(var t=this.pos,e=t;e<this.expression.length;e++){var r=this.expression.charAt(e);if(r.toUpperCase()===r.toLowerCase()&&(e===this.pos||\"_\"!==r&&(r<\"0\"||\"9\"<r)))break}if(t<e){var s=this.expression.substring(t,e);if(this.isOperatorEnabled(s)&&(s in this.binaryOps||s in this.unaryOps||s in this.ternaryOps))return this.current=this.newToken(h,s),this.pos+=s.length,!0}return!1},B.prototype.isName=function(){for(var t=this.pos,e=t,r=!1;e<this.expression.length;e++){var s=this.expression.charAt(e);if(s.toUpperCase()===s.toLowerCase()){if(e===this.pos&&(\"$\"===s||\"_\"===s)){\"_\"===s&&(r=!0);continue}if(e===this.pos||!r||\"_\"!==s&&(s<\"0\"||\"9\"<s))break}else r=!0}if(r){var n=this.expression.substring(t,e);return this.current=this.newToken(j,n),this.pos+=n.length,!0}return!1},B.prototype.isWhitespace=function(){for(var t=!1,e=this.expression.charAt(this.pos);!(\" \"!==e&&\"\\t\"!==e&&\"\\n\"!==e&&\"\\r\"!==e||(t=!0,this.pos++,this.pos>=this.expression.length));)e=this.expression.charAt(this.pos);return t};var V=/^[0-9a-f]{4}$/i;function _(t,e,r){this.parser=t,this.tokens=e,this.current=null,this.nextToken=null,this.next(),this.savedCurrent=null,this.savedNextToken=null,this.allowMemberAccess=!1!==r.allowMemberAccess}B.prototype.unescape=function(t){var e=t.indexOf(\"\\\\\");if(e<0)return t;for(var r=t.substring(0,e);0<=e;){var s=t.charAt(++e);switch(s){case\"'\":r+=\"'\";break;case'\"':r+='\"';break;case\"\\\\\":r+=\"\\\\\";break;case\"/\":r+=\"/\";break;case\"b\":r+=\"\\b\";break;case\"f\":r+=\"\\f\";break;case\"n\":r+=\"\\n\";break;case\"r\":r+=\"\\r\";break;case\"t\":r+=\"\\t\";break;case\"u\":var n=t.substring(e+1,e+5);V.test(n)||this.parseError(\"Illegal escape sequence: \\\\u\"+n),r+=String.fromCharCode(parseInt(n,16)),e+=4;break;default:throw this.parseError('Illegal escape sequence: \"\\\\'+s+'\"')}++e;var i=t.indexOf(\"\\\\\",e);r+=t.substring(e,i<0?t.length:i),e=i}return r},B.prototype.isComment=function(){return\"/\"===this.expression.charAt(this.pos)&&\"*\"===this.expression.charAt(this.pos+1)&&(this.pos=this.expression.indexOf(\"*/\",this.pos)+2,1===this.pos&&(this.pos=this.expression.length),!0)},B.prototype.isRadixInteger=function(){var t,e,r=this.pos;if(r>=this.expression.length-2||\"0\"!==this.expression.charAt(r))return!1;if(++r,\"x\"===this.expression.charAt(r))t=16,e=/^[0-9a-f]$/i,++r;else{if(\"b\"!==this.expression.charAt(r))return!1;t=2,e=/^[01]$/i,++r}for(var s=!1,n=r;r<this.expression.length;){var i=this.expression.charAt(r);if(!e.test(i))break;r++,s=!0}return s&&(this.current=this.newToken(u,parseInt(this.expression.substring(n,r),t)),this.pos=r),s},B.prototype.isNumber=function(){for(var t,e=!1,r=this.pos,s=r,n=r,i=!1,o=!1;r<this.expression.length&&(\"0\"<=(t=this.expression.charAt(r))&&t<=\"9\"||!i&&\".\"===t);)\".\"===t?i=!0:o=!0,r++,e=o;if(e&&(n=r),\"e\"===t||\"E\"===t){r++;for(var a=!0,p=!1;r<this.expression.length;){if(t=this.expression.charAt(r),!a||\"+\"!==t&&\"-\"!==t){if(!(\"0\"<=t&&t<=\"9\"))break;a=!(p=!0)}else a=!1;r++}p||(r=n)}return e?(this.current=this.newToken(u,parseFloat(this.expression.substring(s,r))),this.pos=r):this.pos=n,e},B.prototype.isOperator=function(){var t=this.pos,e=this.expression.charAt(this.pos);if(\"+\"===e||\"-\"===e||\"*\"===e||\"/\"===e||\"%\"===e||\"^\"===e||\"?\"===e||\":\"===e||\".\"===e)this.current=this.newToken(h,e);else if(\"∙\"===e||\"•\"===e)this.current=this.newToken(h,\"*\");else if(\">\"===e)\"=\"===this.expression.charAt(this.pos+1)?(this.current=this.newToken(h,\">=\"),this.pos++):this.current=this.newToken(h,\">\");else if(\"<\"===e)\"=\"===this.expression.charAt(this.pos+1)?(this.current=this.newToken(h,\"<=\"),this.pos++):this.current=this.newToken(h,\"<\");else if(\"|\"===e){if(\"|\"!==this.expression.charAt(this.pos+1))return!1;this.current=this.newToken(h,\"||\"),this.pos++}else if(\"=\"===e)\"=\"===this.expression.charAt(this.pos+1)?(this.current=this.newToken(h,\"==\"),this.pos++):this.current=this.newToken(h,e);else{if(\"!\"!==e)return!1;\"=\"===this.expression.charAt(this.pos+1)?(this.current=this.newToken(h,\"!=\"),this.pos++):this.current=this.newToken(h,e)}return this.pos++,!!this.isOperatorEnabled(this.current.value)||(this.pos=t,!1)},B.prototype.isOperatorEnabled=function(t){return this.parser.isOperatorEnabled(t)},B.prototype.getCoordinates=function(){for(var t,e=0,r=-1;e++,t=this.pos-r,0<=(r=this.expression.indexOf(\"\\n\",r+1))&&r<this.pos;);return{line:e,column:t}},B.prototype.parseError=function(t){var e=this.getCoordinates();throw new Error(\"parse error [\"+e.line+\":\"+e.column+\"]: \"+t)},_.prototype.next=function(){return this.current=this.nextToken,this.nextToken=this.tokens.next()},_.prototype.tokenMatches=function(t,e){return void 0===e||(Array.isArray(e)?a(e,t.value):\"function\"==typeof e?e(t):t.value===e)},_.prototype.save=function(){this.savedCurrent=this.current,this.savedNextToken=this.nextToken,this.tokens.save()},_.prototype.restore=function(){this.tokens.restore(),this.current=this.savedCurrent,this.nextToken=this.savedNextToken},_.prototype.accept=function(t,e){return!(this.nextToken.type!==t||!this.tokenMatches(this.nextToken,e))&&(this.next(),!0)},_.prototype.expect=function(t,e){if(!this.accept(t,e)){var r=this.tokens.getCoordinates();throw new Error(\"parse error [\"+r.line+\":\"+r.column+\"]: Expected \"+(e||t))}},_.prototype.parseAtom=function(t){var e=this.tokens.unaryOps;if(this.accept(j)||this.accept(h,function(t){return t.value in e}))t.push(new C(g,this.current.value));else if(this.accept(u))t.push(new C(y,this.current.value));else if(this.accept(i))t.push(new C(y,this.current.value));else if(this.accept(o,\"(\"))this.parseExpression(t),this.expect(o,\")\");else{if(!this.accept(R,\"[\"))throw new Error(\"unexpected \"+this.nextToken);if(this.accept(R,\"]\"))t.push(new C(T,0));else{var r=this.parseArrayList(t);t.push(new C(T,r))}}},_.prototype.parseExpression=function(t){var e=[];this.parseUntilEndStatement(t,e)||(this.parseVariableAssignmentExpression(e),this.parseUntilEndStatement(t,e)||this.pushExpression(t,e))},_.prototype.pushExpression=function(t,e){for(var r=0,s=e.length;r<s;r++)t.push(e[r])},_.prototype.parseUntilEndStatement=function(t,e){return!!this.accept(U)&&(!this.nextToken||this.nextToken.type===n||this.nextToken.type===o&&\")\"===this.nextToken.value||e.push(new C(O)),this.nextToken.type!==n&&this.parseExpression(e),t.push(new C(A,e)),!0)},_.prototype.parseArrayList=function(t){for(var e=0;!this.accept(R,\"]\");)for(this.parseExpression(t),++e;this.accept(L);)this.parseExpression(t),++e;return e},_.prototype.parseVariableAssignmentExpression=function(t){for(this.parseConditionalExpression(t);this.accept(h,\"=\");){var e=t.pop(),r=[],s=t.length-1;if(e.type!==E){if(e.type!==g&&e.type!==k)throw new Error(\"expected variable for assignment\");this.parseVariableAssignmentExpression(r),t.push(new C(M,e.value)),t.push(new C(A,r)),t.push(f(\"=\"))}else{if(!this.tokens.isOperatorEnabled(\"()=\"))throw new Error(\"function definition is not permitted\");for(var n=0,i=e.value+1;n<i;n++){var o=s-n;t[o].type===g&&(t[o]=new C(M,t[o].value))}this.parseVariableAssignmentExpression(r),t.push(new C(A,r)),t.push(new C(m,e.value))}}},_.prototype.parseConditionalExpression=function(t){for(this.parseOrExpression(t);this.accept(h,\"?\");){var e=[],r=[];this.parseConditionalExpression(e),this.expect(h,\":\"),this.parseConditionalExpression(r),t.push(new C(A,e)),t.push(new C(A,r)),t.push(l(\"?\"))}},_.prototype.parseOrExpression=function(t){for(this.parseAndExpression(t);this.accept(h,\"or\");){var e=[];this.parseAndExpression(e),t.push(new C(A,e)),t.push(f(\"or\"))}},_.prototype.parseAndExpression=function(t){for(this.parseComparison(t);this.accept(h,\"and\");){var e=[];this.parseComparison(e),t.push(new C(A,e)),t.push(f(\"and\"))}};var r=[\"==\",\"!=\",\"<\",\"<=\",\">=\",\">\",\"in\"];_.prototype.parseComparison=function(t){for(this.parseAddSub(t);this.accept(h,r);){var e=this.current;this.parseAddSub(t),t.push(f(e.value))}};var $=[\"+\",\"-\",\"||\"];_.prototype.parseAddSub=function(t){for(this.parseTerm(t);this.accept(h,$);){var e=this.current;this.parseTerm(t),t.push(f(e.value))}};var D=[\"*\",\"/\",\"%\"];function e(t,e){return Number(t)+Number(e)}function G(t,e){return t-e}function J(t,e){return t*e}function W(t,e){return t/e}function X(t,e){return t%e}function Y(t,e){return Array.isArray(t)&&Array.isArray(e)?t.concat(e):\"\"+t+e}function K(t,e){return t===e}function z(t,e){return t!==e}function H(t,e){return e<t}function Q(t,e){return t<e}function Z(t,e){return e<=t}function tt(t,e){return t<=e}function et(t,e){return Boolean(t&&e)}function rt(t,e){return Boolean(t||e)}function st(t,e){return a(e,t)}function nt(t){return(Math.exp(t)-Math.exp(-t))/2}function it(t){return(Math.exp(t)+Math.exp(-t))/2}function ot(t){return t===1/0?1:t===-1/0?-1:(Math.exp(t)-Math.exp(-t))/(Math.exp(t)+Math.exp(-t))}function at(t){return t===-1/0?t:Math.log(t+Math.sqrt(t*t+1))}function pt(t){return Math.log(t+Math.sqrt(t*t-1))}function ht(t){return Math.log((1+t)/(1-t))/2}function ut(t){return Math.log(t)*Math.LOG10E}function ct(t){return-t}function ft(t){return!t}function lt(t){return t<0?Math.ceil(t):Math.floor(t)}function vt(t){return Math.random()*(t||1)}function yt(t){return dt(t+1)}_.prototype.parseTerm=function(t){for(this.parseFactor(t);this.accept(h,D);){var e=this.current;this.parseFactor(t),t.push(f(e.value))}},_.prototype.parseFactor=function(t){var e=this.tokens.unaryOps;if(this.save(),this.accept(h,function(t){return t.value in e})){if(\"-\"!==this.current.value&&\"+\"!==this.current.value){if(this.nextToken.type===o&&\"(\"===this.nextToken.value)return this.restore(),void this.parseExponential(t);if(this.nextToken.type===U||this.nextToken.type===L||this.nextToken.type===n||this.nextToken.type===o&&\")\"===this.nextToken.value)return this.restore(),void this.parseAtom(t)}var r=this.current;this.parseFactor(t),t.push(c(r.value))}else this.parseExponential(t)},_.prototype.parseExponential=function(t){for(this.parsePostfixExpression(t);this.accept(h,\"^\");)this.parseFactor(t),t.push(f(\"^\"))},_.prototype.parsePostfixExpression=function(t){for(this.parseFunctionCall(t);this.accept(h,\"!\");)t.push(c(\"!\"))},_.prototype.parseFunctionCall=function(t){var e=this.tokens.unaryOps;if(this.accept(h,function(t){return t.value in e})){var r=this.current;this.parseAtom(t),t.push(c(r.value))}else for(this.parseMemberExpression(t);this.accept(o,\"(\");)if(this.accept(o,\")\"))t.push(new C(E,0));else{var s=this.parseArgumentList(t);t.push(new C(E,s))}},_.prototype.parseArgumentList=function(t){for(var e=0;!this.accept(o,\")\");)for(this.parseExpression(t),++e;this.accept(L);)this.parseExpression(t),++e;return e},_.prototype.parseMemberExpression=function(t){for(this.parseAtom(t);this.accept(h,\".\")||this.accept(R,\"[\");){var e=this.current;if(\".\"===e.value){if(!this.allowMemberAccess)throw new Error('unexpected \".\", member access is not permitted');this.expect(j),t.push(new C(k,this.current.value))}else{if(\"[\"!==e.value)throw new Error(\"unexpected symbol: \"+e.value);if(!this.tokens.isOperatorEnabled(\"[\"))throw new Error('unexpected \"[]\", arrays are disabled');this.parseExpression(t),this.expect(R,\"]\"),t.push(f(\"[\"))}}};var xt=4.7421875,wt=[.9999999999999971,57.15623566586292,-59.59796035547549,14.136097974741746,-.4919138160976202,3399464998481189e-20,4652362892704858e-20,-9837447530487956e-20,.0001580887032249125,-.00021026444172410488,.00021743961811521265,-.0001643181065367639,8441822398385275e-20,-26190838401581408e-21,36899182659531625e-22];function dt(t){var e,r;if(function(t){return isFinite(t)&&t===Math.round(t)}(t)){if(t<=0)return isFinite(t)?1/0:NaN;if(171<t)return 1/0;for(var s=t-2,n=t-1;1<s;)n*=s,s--;return 0===n&&(n=1),n}if(t<.5)return Math.PI/(Math.sin(Math.PI*t)*dt(1-t));if(171.35<=t)return 1/0;if(85<t){var i=t*t,o=i*t,a=o*t,p=a*t;return Math.sqrt(2*Math.PI/t)*Math.pow(t/Math.E,t)*(1+1/(12*t)+1/(288*i)-139/(51840*o)-571/(2488320*a)+163879/(209018880*p)+5246819/(75246796800*p*t))}--t,r=wt[0];for(var h=1;h<wt.length;++h)r+=wt[h]/(t+h);return e=t+xt+.5,Math.sqrt(2*Math.PI)*Math.pow(e,t+.5)*Math.exp(-e)*r}function gt(t){return Array.isArray(t)?t.length:String(t).length}function Mt(){for(var t=0,e=0,r=0;r<arguments.length;r++){var s,n=Math.abs(arguments[r]);e<n?(t=t*(s=e/n)*s+1,e=n):t+=0<n?(s=n/e)*s:n}return e===1/0?1/0:e*Math.sqrt(t)}function Et(t,e,r){return t?e:r}function mt(t,e){return void 0===e||0==+e?Math.round(t):(t=+t,e=-+e,isNaN(t)||\"number\"!=typeof e||e%1!=0?NaN:(t=t.toString().split(\"e\"),+((t=(t=Math.round(+(t[0]+\"e\"+(t[1]?+t[1]-e:-e)))).toString().split(\"e\"))[0]+\"e\"+(t[1]?+t[1]+e:e))))}function At(t,e,r){return r&&(r[t]=e),e}function bt(t,e){return t[0|e]}function kt(t){return 1===arguments.length&&Array.isArray(t)?Math.max.apply(Math,t):Math.max.apply(Math,arguments)}function Ot(t){return 1===arguments.length&&Array.isArray(t)?Math.min.apply(Math,t):Math.min.apply(Math,arguments)}function Tt(r,t){if(\"function\"!=typeof r)throw new Error(\"First argument to map is not a function\");if(!Array.isArray(t))throw new Error(\"Second argument to map is not an array\");return t.map(function(t,e){return r(t,e)})}function Ct(s,t,e){if(\"function\"!=typeof s)throw new Error(\"First argument to fold is not a function\");if(!Array.isArray(e))throw new Error(\"Second argument to fold is not an array\");return e.reduce(function(t,e,r){return s(t,e,r)},t)}function Nt(r,t){if(\"function\"!=typeof r)throw new Error(\"First argument to filter is not a function\");if(!Array.isArray(t))throw new Error(\"Second argument to filter is not an array\");return t.filter(function(t,e){return r(t,e)})}function St(t,e){if(!Array.isArray(e)&&\"string\"!=typeof e)throw new Error(\"Second argument to indexOf is not a string or array\");return e.indexOf(t)}function It(t,e){if(!Array.isArray(e))throw new Error(\"Second argument to join is not an array\");return e.join(t)}function Pt(t){return(0<t)-(t<0)||+t}var Ft=1/3;function Rt(t){return t<0?-Math.pow(-t,Ft):Math.pow(t,Ft)}function Lt(t){return Math.exp(t)-1}function jt(t){return Math.log(1+t)}function Ut(t){return Math.log(t)/Math.LN2}function qt(t){this.options=t||{},this.unaryOps={sin:Math.sin,cos:Math.cos,tan:Math.tan,asin:Math.asin,acos:Math.acos,atan:Math.atan,sinh:Math.sinh||nt,cosh:Math.cosh||it,tanh:Math.tanh||ot,asinh:Math.asinh||at,acosh:Math.acosh||pt,atanh:Math.atanh||ht,sqrt:Math.sqrt,cbrt:Math.cbrt||Rt,log:Math.log,log2:Math.log2||Ut,ln:Math.log,lg:Math.log10||ut,log10:Math.log10||ut,expm1:Math.expm1||Lt,log1p:Math.log1p||jt,abs:Math.abs,ceil:Math.ceil,floor:Math.floor,round:Math.round,trunc:Math.trunc||lt,\"-\":ct,\"+\":Number,exp:Math.exp,not:ft,length:gt,\"!\":yt,sign:Math.sign||Pt},this.binaryOps={\"+\":e,\"-\":G,\"*\":J,\"/\":W,\"%\":X,\"^\":Math.pow,\"||\":Y,\"==\":K,\"!=\":z,\">\":H,\"<\":Q,\">=\":Z,\"<=\":tt,and:et,or:rt,in:st,\"=\":At,\"[\":bt},this.ternaryOps={\"?\":Et},this.functions={random:vt,fac:yt,min:Ot,max:kt,hypot:Math.hypot||Mt,pyt:Math.hypot||Mt,pow:Math.pow,atan2:Math.atan2,if:Et,gamma:dt,roundTo:mt,map:Tt,fold:Ct,filter:Nt,indexOf:St,join:It},this.consts={E:Math.E,PI:Math.PI,true:!0,false:!1}}qt.prototype.parse=function(t){var e=[],r=new _(this,new B(this,t),{allowMemberAccess:this.options.allowMemberAccess});return r.parseExpression(e),r.expect(n,\"EOF\"),new s(e,this)},qt.prototype.evaluate=function(t,e){return this.parse(t).evaluate(e)};var Bt=new qt;qt.parse=function(t){return Bt.parse(t)},qt.evaluate=function(t,e){return Bt.parse(t).evaluate(e)};var Vt={\"+\":\"add\",\"-\":\"subtract\",\"*\":\"multiply\",\"/\":\"divide\",\"%\":\"remainder\",\"^\":\"power\",\"!\":\"factorial\",\"<\":\"comparison\",\">\":\"comparison\",\"<=\":\"comparison\",\">=\":\"comparison\",\"==\":\"comparison\",\"!=\":\"comparison\",\"||\":\"concatenate\",and:\"logical\",or:\"logical\",not:\"logical\",\"?\":\"conditional\",\":\":\"conditional\",\"=\":\"assignment\",\"[\":\"array\",\"()=\":\"fndef\"};qt.prototype.isOperatorEnabled=function(t){var e=function(t){return Vt.hasOwnProperty(t)?Vt[t]:t}(t),r=this.options.operators||{};return!(e in r&&!r[e])};var _t={Parser:qt,Expression:s};t.Expression=s,t.Parser=qt,t.default=_t,Object.defineProperty(t,\"__esModule\",{value:!0})});\n","/*!\n * ==========================================================\n *  COLOR PICKER PLUGIN 1.4.2\n * ==========================================================\n * Author: Taufik Nurrohman <https://github.com/tovic>\n * License: MIT\n * ----------------------------------------------------------\n */\n!function(t,n,e){function r(t){return void 0!==t}function i(t){return\"string\"==typeof t}function o(t){return\"object\"==typeof t}function u(t){return Object.keys(t).length}function c(t,n,e){return n>t?n:t>e?e:t}function s(t,n){return parseInt(t,n||10)}function a(t){return Math.round(t)}function f(t){var n,e,r,i,o,u,c,s,f=+t[0],l=+t[1],h=+t[2];switch(i=Math.floor(6*f),o=6*f-i,u=h*(1-l),c=h*(1-o*l),s=h*(1-(1-o)*l),i=i||0,c=c||0,s=s||0,i%6){case 0:n=h,e=s,r=u;break;case 1:n=c,e=h,r=u;break;case 2:n=u,e=h,r=s;break;case 3:n=u,e=c,r=h;break;case 4:n=s,e=u,r=h;break;case 5:n=h,e=u,r=c}return[a(255*n),a(255*e),a(255*r)]}function l(t){return p(f(t))}function h(t){var n,e=+t[0],r=+t[1],i=+t[2],o=Math.max(e,r,i),u=Math.min(e,r,i),c=o-u,s=0===o?0:c/o,a=o/255;switch(o){case u:n=0;break;case e:n=r-i+c*(i>r?6:0),n/=6*c;break;case r:n=i-e+2*c,n/=6*c;break;case i:n=e-r+4*c,n/=6*c}return[n,s,a]}function p(t){var n=+t[2]|+t[1]<<8|+t[0]<<16;return n=\"000000\"+n.toString(16),n.slice(-6)}function v(t){return h(d(t))}function d(t){return 3===t.length&&(t=t.replace(/./g,\"$&$&\")),[s(t[0]+t[1],16),s(t[2]+t[3],16),s(t[4]+t[5],16)]}function g(t){return[+t[0]/360,+t[1]/100,+t[2]/100]}function y(t){return[a(360*+t[0]),a(100*+t[1]),a(100*+t[2])]}function x(t){return[+t[0]/255,+t[1]/255,+t[2]/255]}function H(t){if(o(t))return t;var n=/\\s*rgb\\s*\\(\\s*(\\d+)\\s*,\\s*(\\d+)\\s*,\\s*(\\d+)\\s*\\)\\s*$/i.exec(t),e=/\\s*hsv\\s*\\(\\s*(\\d+)\\s*,\\s*(\\d+)%\\s*,\\s*(\\d+)%\\s*\\)\\s*$/i.exec(t),r=\"#\"===t[0]&&t.match(/^#([\\da-f]{3}|[\\da-f]{6})$/i);return r?v(t.slice(1)):e?g([+e[1],+e[2],+e[3]]):n?h([+n[1],+n[2],+n[3]]):[0,1,1]}var b=\"__instance__\",m=\"firstChild\",k=setTimeout;!function(t){t.version=\"1.4.2\",t[b]={},t.each=function(n,e){return k(function(){var e,r=t[b];for(e in r)n.call(r[e],e,r)},0===e?0:e||1),t},t.parse=H,t._HSV2RGB=f,t._HSV2HEX=l,t._RGB2HSV=h,t._HEX2HSV=v,t._HEX2RGB=function(t){return x(d(t))},t.HSV2RGB=function(t){return f(g(t))},t.HSV2HEX=function(t){return l(g(t))},t.RGB2HSV=function(t){return y(h(t))},t.RGB2HEX=p,t.HEX2HSV=function(t){return y(v(t))},t.HEX2RGB=d}(t[e]=function(s,a,h){function p(t,n,e){t=t.split(/\\s+/);for(var r=0,i=t.length;i>r;++r)n.addEventListener(t[r],e,!1)}function v(t,n,e){t=t.split(/\\s+/);for(var r=0,i=t.length;i>r;++r)n.removeEventListener(t[r],e)}function d(t,n){var e=\"touches\",r=\"clientX\",i=\"clientY\",o=n[e]?n[e][0][r]:n[r],u=n[e]?n[e][0][i]:n[i],c=g(t);return{x:o-c.l,y:u-c.t}}function g(n){var e,r,i;return n===t?(e=t.pageXOffset||M.scrollLeft,r=t.pageYOffset||M.scrollTop):(i=n.getBoundingClientRect(),e=i.left,r=i.top),{l:e,t:r}}function y(t,n){for(;(t=t.parentElement)&&t!==n;);return t}function x(t){t&&t.preventDefault()}function H(n){return n===t?{w:t.innerWidth,h:t.innerHeight}:{w:n.offsetWidth,h:n.offsetHeight}}function w(t){return j||(r(t)?t:!1)}function E(t){j=t}function S(t,n,e){return r(t)?r(n)?(r(O[t])||(O[t]={}),r(e)||(e=u(O[t])),O[t][e]=n,$):O[t]:O}function X(t,n){return r(t)?r(n)?(delete O[t][n],$):(O[t]={},$):(O={},$)}function _(t,n,e){if(!r(O[t]))return $;if(r(e))r(O[t][e])&&O[t][e].apply($,n);else for(var i in O[t])O[t][i].apply($,n);return $}function B(t,n){t&&\"h\"!==t||_(\"change:h\",n),t&&\"sv\"!==t||_(\"change:sv\",n),_(\"change\",n)}function R(){return T.parentNode}function V(e,r){function i(t){var n=t.target,e=n===s||y(n,s)===s;e?!R()&&(V(),_(\"enter\")):$.exit()}function o(t){var n=(f(I),f([I[0],1,1]));q.style.backgroundColor=\"rgb(\"+n.join(\",\")+\")\",E(I),x(t)}function u(t){var n=c(d(P,t).y,0,L);I[0]=(L-n)/L,F.style.top=n-D/2+\"px\",o(t)}function g(t){var n=d(q,t),e=c(n.x,0,j),r=c(n.y,0,O);I[1]=1-(j-e)/j,I[2]=(O-r)/O,J.style.right=j-e-tn/2+\"px\",J.style.top=r-nn/2+\"px\",o(t)}function b(t){U&&(u(t),on=[l(I)],K||(_(\"drag:h\",on),_(\"drag\",on),B(\"h\",on))),Z&&(g(t),on=[l(I)],Q||(_(\"drag:sv\",on),_(\"drag\",on),B(\"sv\",on))),K=0,Q=0}function m(t){var n=t.target,e=U?\"h\":\"sv\",r=[l(I),$],i=n===s||y(n,s)===s,o=n===T||y(n,T)===T;i||o?o&&(_(\"stop:\"+e,r),_(\"stop\",r),B(e,r)):R()&&a!==!1&&($.exit(),B(0,r)),U=0,Z=0}function k(t){K=1,U=1,b(t),x(t),_(\"start:h\",on),_(\"start\",on),B(\"h\",on)}function S(t){Q=1,Z=1,b(t),x(t),_(\"start:sv\",on),_(\"start\",on),B(\"sv\",on)}e||((h||r||C).appendChild(T),$.visible=!0),en=H(T).w,rn=H(T).h;var X=H(q),M=H(J),L=H(P).h,j=X.w,O=X.h,D=H(F).h,tn=M.w,nn=M.h;e?(T.style.left=T.style.top=\"-9999px\",a!==!1&&p(a,s,i),$.create=function(){return V(1),_(\"create\"),$},$.destroy=function(){return a!==!1&&v(a,s,i),$.exit(),E(!1),_(\"destroy\"),$}):G(),A=function(){I=w(I),o(),F.style.top=L-D/2-L*+I[0]+\"px\",J.style.right=j-tn/2-j*+I[1]+\"px\",J.style.top=O-nn/2-O*+I[2]+\"px\"},$.exit=function(){var e=R();return e&&(e.removeChild(T),$.visible=!1),v(N,P,k),v(N,q,S),v(W,n,b),v(Y,n,m),v(z,t,G),_(\"exit\"),$},A(),e||(p(N,P,k),p(N,q,S),p(W,n,b),p(Y,n,m),p(z,t,G))}function G(){return $.fit()}var C=n.body,M=n.documentElement,$=this,L=t[e],j=!1,O={},T=n.createElement(\"div\"),N=\"touchstart mousedown\",W=\"touchmove mousemove\",Y=\"touchend mouseup\",z=\"orientationchange resize\";if(!($ instanceof L))return new L(s,a);L[b][s.id||s.name||u(L[b])]=$,r(a)&&a!==!0||(a=N),E(L.parse(s.getAttribute(\"data-color\")||s.value||[0,1,1])),T.className=\"color-picker\",T.innerHTML='<div class=\"color-picker-container\"><span class=\"color-picker-h\"><i></i></span><span class=\"color-picker-sv\"><i></i></span></div>';var A,D=T[m].children,I=w([0,1,1]),P=D[0],q=D[1],F=P[m],J=q[m],K=0,Q=0,U=0,Z=0,tn=0,nn=0,en=0,rn=0,on=[l(I)];return V(1),k(function(){var t=[l(I)];_(\"create\",t),B(0,t)},0),$.fit=function(n){var e=H(t),i=H(M),u=e.w-i.w,a=e.h-M.clientHeight,f=g(t),l=g(s);if(tn=l.l+f.l,nn=l.t+f.t+H(s).h,o(n))r(n[0])&&(tn=n[0]),r(n[1])&&(nn=n[1]);else{var h=f.l,p=f.t,v=f.l+e.w-en-u,d=f.t+e.h-rn-a;tn=c(tn,h,v)>>0,nn=c(nn,p,d)>>0}return T.style.left=tn+\"px\",T.style.top=nn+\"px\",_(\"fit\"),$},$.set=function(t){return r(t)?(i(t)&&(t=L.parse(t)),E(t),A(),$):w()},$.get=function(t){return w(t)},$.source=s,$.self=T,$.visible=!1,$.on=S,$.off=X,$.fire=_,$.hooks=O,$.enter=function(t){return V(0,t),_(\"enter\"),$},$})}(window,document,\"CP\");","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"grapesjs\"] = factory();\n\telse\n\t\troot[\"grapesjs\"] = factory();\n})(typeof globalThis !== 'undefined' ? globalThis : (typeof window !== 'undefined' ? window : this), function() {\nreturn ","module.exports = require(\"regenerator-runtime\");\n","/*!\n * Backbone.Undo.js v0.2\n * \n * Copyright (c)2013 Oliver Sartun\n * Released under the MIT License\n *\n * Documentation and full license available at\n * https://github.com/osartun/Backbone.Undo.js\n */\n\n\n(function (factory) {\n\tif (typeof define === \"function\" && define.amd) {\n\t\t// AMD support\n\t\tdefine([\"underscore\", \"backbone\"], factory);\n\t} else if (typeof exports !== 'undefined') {\n\t\t// CommonJS support\n\t\tmodule.exports = factory(\n\t\t\trequire(\"underscore\"),\n\t\t\trequire(\"backbone\")\n\t\t);\n\t} else {\n\t\t// Non-modular execution\n\t\tfactory(_, Backbone);\n        }\n})(function (_, Backbone) {\n\n\tvar core_slice = Array.prototype.slice;\n\n\t/**\n\t * As call is faster than apply, this is a faster version of apply as it uses call.\n\t * \n\t * @param  {Function} fn \tThe function to execute \n\t * @param  {Object}   ctx \tThe context the function should be called in\n\t * @param  {Array}    args \tThe array of arguments that should be applied to the function\n\t * @return Forwards whatever the called function returns\n\t */\n\tfunction apply (fn, ctx, args) {\n\t\treturn args.length <= 4 ?\n\t\t\tfn.call(ctx, args[0], args[1], args[2], args[3]) :\n\t\t\tfn.apply(ctx, args);\n\t}\n\n\t/**\n\t * Uses slice on an array or an array-like object.\n\t * \n\t * @param  {Array|Object} \tarr \tThe array or array-like object.\n\t * @param  {Number} \t\t[index]\tThe index from where the array should be sliced. Default is 0.\n\t * @return {Array} The sliced array\n\t */\n\tfunction slice (arr, index) {\n\t\treturn core_slice.call(arr, index);\n\t}\n\n\t/**\n\t * Checks if an object has one or more specific keys. The keys \n\t * don't have to be an owned property.\n\t * You can call this function either this way:\n\t * hasKeys(obj, [\"a\", \"b\", \"c\"])\n\t * or this way:\n\t * hasKeys(obj, \"a\", \"b\", \"c\")\n\t * \n\t * @param  {Object}  \tobj \tThe object to check on\n\t * @param  {Array}  \tkeys \tThe keys to check for\n\t * @return {Boolean} True, if the object has all those keys\n\t */\n\tfunction hasKeys (obj, keys) {\n\t\tif (obj == null) return false;\n\t\tif (!_.isArray(keys)) {\n\t\t\tkeys = slice(arguments, 1);\n\t\t}\n\t\treturn _.all(keys, function (key) {\n\t\t\treturn key in obj;\n\t\t});\n\t}\n\n\t/**\n\t * Returns a number that is unique per call stack. The number gets \n\t * changed after the call stack has been completely processed.\n\t * \n\t * @return {number} MagicFusionIndex\n\t */\n\tvar getMagicFusionIndex = (function () {\n\t\t// If you add several models to a collection or set several\n\t\t// attributes on a model all in sequence and yet all for\n\t\t// example in one function, then several Undo-Actions are\n\t\t// generated.\n\t\t// If you want to undo your last action only the last model\n\t\t// would be removed from the collection or the last set\n\t\t// attribute would be changed back to its previous value.\n\t\t// To prevent that we have to figure out a way to combine\n\t\t// all those actions that happened \"at the same time\". \n\t\t// Timestamps aren't exact enough. A complex routine could \n\t\t// run several milliseconds and in that time produce a lot \n\t\t// of actions with different timestamps.\n\t\t// Instead we take advantage of the single-threadedness of\n\t\t// JavaScript:\n\n\t\tvar callstackWasIndexed = false, magicFusionIndex = -1;\n\t\tfunction indexCycle() {\n\t\t\tmagicFusionIndex++;\n\t\t\tcallstackWasIndexed = true;\n\t\t\t_.defer(function () {\n\t\t\t\t// Here comes the magic. With a Timeout of 0 \n\t\t\t\t// milliseconds this function gets called whenever\n\t\t\t\t// the current callstack is completed\n\t\t\t\tcallstackWasIndexed = false;\n\t\t\t})\n\t\t}\n\t\treturn function () {\n\t\t\tif (!callstackWasIndexed) {\n\t\t\t\tindexCycle();\n\t\t\t}\n\t\t\treturn magicFusionIndex;\n\t\t}\n\t})();\n\n\t/**\n\t * To prevent binding a listener several times to one \n\t * object, we register the objects in an ObjectRegistry\n\t *\n\t * @constructor\n\t */\n\tfunction ObjectRegistry () {\n\t\t// This uses two different ways of storing\n\t\t// objects: In case the object has a cid\n\t\t// (which Backbone objects typically have)\n\t\t// it uses this cid as an index. That way\n\t\t// the Array's length attribute doesn't \n\t\t// change and the object isn't an item \n\t\t// in the array, but an object-property.\n\t\t// Otherwise it's added to the Array as an\n\t\t// item.\n\t\t// That way we can use the fast property-\n\t\t// lookup and only have to fall back to \n\t\t// iterating over the array in case \n\t\t// non-Backbone-objects are registered.\n\t\tthis.registeredObjects = [];\n\t\t// To return a list of all registered \n\t\t// objects in the 'get' method we have to\n\t\t// store the objects that have a cid in\n\t\t// an additional array. \n\t\tthis.cidIndexes = [];\n\t}\n\tObjectRegistry.prototype = {\n\t\t/**\n\t\t * Returns whether the object is already registered in this ObjectRegistry or not.\n\t\t * \n\t\t * @this \t{ObjectRegistry}\n\t\t * @param  \t{Object} \t\t obj \tThe object to check\n\t\t * @return \t{Boolean} True if the object is already registered\n\t\t */\n\t\tisRegistered: function (obj) {\n\t\t\t// This is where we get a performance boost \n\t\t\t// by using the two different ways of storing \n\t\t\t// objects.\n\t\t\treturn obj && obj.cid ? this.registeredObjects[obj.cid] : _.contains(this.registeredObjects, obj);\n\t\t},\n\t\t/**\n\t\t * Registers an object in this ObjectRegistry.\n\t\t * \n\t\t * @this \t{ObjectRegistry}\n\t\t * @param  \t{Object} \t\t obj \tThe object to register\n\t\t * @return \t{undefined}\n\t\t */\n\t\tregister: function (obj) {\n\t\t\tif (!this.isRegistered(obj)) {\n\t\t\t\tif (obj && obj.cid) {\n\t\t\t\t\tthis.registeredObjects[obj.cid] = obj;\n\t\t\t\t\tthis.cidIndexes.push(obj.cid);\n\t\t\t\t} else {\n\t\t\t\t\tthis.registeredObjects.push(obj);\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\treturn false;\n\t\t},\n\t\t/**\n\t\t * Unregisters an object from this ObjectRegistry.\n\t\t * \n\t\t * @this {ObjectRegistry}\n\t\t * @param  {Object} obj The object to unregister\n\t\t * @return {undefined}\n\t\t */\n\t\tunregister: function (obj) {\n\t\t\tif (this.isRegistered(obj)) {\n\t\t\t\tif (obj && obj.cid) {\n\t\t\t\t\tdelete this.registeredObjects[obj.cid];\n\t\t\t\t\tthis.cidIndexes.splice(_.indexOf(this.cidIndexes, obj.cid), 1);\n\t\t\t\t} else {\n\t\t\t\t\tvar i = _.indexOf(this.registeredObjects, obj);\n\t\t\t\t\tthis.registeredObjects.splice(i, 1);\n\t\t\t\t}\n\t\t\t\treturn true;\n\t\t\t}\n\t\t\treturn false;\n\t\t},\n\t\t/**\n\t\t * Returns an array of all objects that are currently in this ObjectRegistry.\n\t\t * \n\t\t * @return {Array} An array of all the objects which are currently in the ObjectRegistry\n\t\t */\n\t\tget: function () {\n\t\t\treturn (_.map(this.cidIndexes, function (cid) {return this.registeredObjects[cid];}, this)).concat(this.registeredObjects);\n\t\t}\n\t}\n\n\t/**\n\t * Binds or unbinds the \"all\"-listener for one or more objects.\n\t * \n\t * @param  {String}   which \tEither \"on\" or \"off\"\n\t * @param  {Object[]} objects \tArray of the objects on which the \"all\"-listener should be bound / unbound to\n\t * @param  {Function} [fn] \t\tThe function that should be bound / unbound. Optional in case of \"off\"\n\t * @param  {Object}   [ctx] \tThe context the function should be called in\n\t * @return {undefined}\n\t */\n\tfunction onoff(which, objects, fn, ctx) {\n\t\tfor (var i = 0, l = objects.length, obj; i < l; i++) {\n\t\t\tobj = objects[i];\n\t\t\tif (!obj) continue;\n\t\t\tif (which === \"on\") {\n\t\t\t\tif (!ctx.objectRegistry.register(obj)) {\n\t\t\t\t\t// register returned false, so obj was already registered\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tif (!ctx.objectRegistry.unregister(obj)) {\n\t\t\t\t\t// unregister returned false, so obj wasn't registered\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t}\n\t\t\tif (_.isFunction(obj[which])) {\n\t\t\t\tobj[which](\"all\", fn, ctx);\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t * Calls the undo/redo-function for a specific action.\n\t * \n\t * @param  {String} which \tEither \"undo\" or \"redo\"\n\t * @param  {Object} action \tThe Action's attributes\n\t * @return {undefined}\n\t */\n\tfunction actionUndoRedo (which, action) {\n\t\tvar type = action.type, undoTypes = action.undoTypes, fn = !undoTypes[type] || undoTypes[type][which];\n\t\tif (_.isFunction(fn)) {\n\t\t\tfn(action.object, action.before, action.after, action.options);\n\t\t}\n\t}\n\n\t/**\n\t * The main undo/redo function.\n\t *\n\t * @param  {String} \t\twhich \t    Either \"undo\" or \"redo\"\n\t * @param  {UndoManager} \tmanager\t    The UndoManager-instance on which an \"undo\"/\"redo\"-Event is triggered afterwards\n\t * @param  {UndoStack} \t\tstack \t    The UndoStack on which we perform\n\t * @param  {Boolean} \t\tmagic \t    If true, undoes / redoes all actions with the same magicFusionIndex\n\t * @param  {Boolean} \t\teverything  If true, undoes / redoes every action that had been tracked\n\t * @return {undefined}\n\t */\n\tfunction managerUndoRedo (which, manager, stack, magic, everything) {\n\t\tif (stack.isCurrentlyUndoRedoing || \n\t\t\t(which === \"undo\" && stack.pointer === -1) ||\n\t\t\t(which === \"redo\" && stack.pointer === stack.length - 1)) {\n\t\t\t// We're either currently in an undo- / redo-process or \n\t\t\t// we reached the end of the stack\n\t\t\treturn;\n\t\t}\n\t\tstack.isCurrentlyUndoRedoing = true;\n\t\tvar action, actions, isUndo = which === \"undo\";\n\t\tif (everything) {\n\t\t\t// Undo / Redo all steps until you reach the stack's beginning / end\n\t\t\tactions = isUndo && stack.pointer === stack.length - 1 || // If at the stack's end calling undo\n\t\t\t\t\t  !isUndo && stack.pointer === -1 ? // or at the stack's beginning calling redo\n\t\t\t\t\t  _.clone(stack.models) : // => Take all the models. Otherwise:\n\t\t\t\t\t  core_slice.apply(stack.models, isUndo ? [0, stack.pointer] : [stack.pointer, stack.length - 1]);\n\t\t} else {\n\t\t\t// Undo / Redo only one step\n\t\t\taction = stack.at(isUndo ? stack.pointer : stack.pointer + 1);\n\t\t\tactions = magic ? stack.where({\"magicFusionIndex\": action.get(\"magicFusionIndex\")}) : [action];\n\t\t}\n\t\t\n\t\tstack.pointer += (isUndo ? -1 : 1) * actions.length;\n\t\twhile (action = isUndo ? actions.pop() : actions.shift()) {\n\t\t\t// Here we're calling the Action's undo / redo method\n\t\t\taction[which]();\n\t\t}\n\t\tstack.isCurrentlyUndoRedoing = false;\n\n\t\tmanager.trigger(which, manager);\n\t}\n\n\t/**\n\t * Checks whether an UndoAction should be created or not. Therefore it checks\n\t * whether a \"condition\" property is set in the undoTypes-object of the specific\n\t * event type. If not, it returns true. If it's set and a boolean, it returns it.\n\t * If it's a function, it returns its result, converting it into a boolean. \n\t * Otherwise it returns true.\n\t * \n\t * @param  {Object} \tundoTypesType \tThe object within the UndoTypes that holds the function for this event type (i.e. \"change\")\n\t * @param  {Arguments} \targs       \t\tThe arguments the \"condition\" function is called with\n\t * @return {Boolean} \tTrue, if an UndoAction should be created\n\t */\n\tfunction validateUndoActionCreation (undoTypesType, args) {\n\t\tvar condition = undoTypesType.condition, type = typeof condition;\n\t\treturn type === \"function\" ? !!apply(condition, undoTypesType, args) :\n\t\t\ttype === \"boolean\" ? condition : true;\n\t}\n\n\t/**\n\t * Adds an Undo-Action to the stack.\n\t * \n\t * @param {UndoStack} \t\tstack \t\tThe undostack the action should be added to.\n\t * @param {String} \t\t\ttype \t\tThe event type (i.e. \"change\")\n\t * @param {Arguments} \t\targs \t\tThe arguments passed to the undoTypes' \"on\"-handler\n\t * @param {OwnedUndoTypes} \tundoTypes \tThe undoTypes-object which has the \"on\"-handler\n\t * @return {undefined}\n\t */\n\tfunction addToStack(stack, type, args, undoTypes) {\n\t\tif (stack.track && !stack.isCurrentlyUndoRedoing && type in undoTypes &&\n\t\t\tvalidateUndoActionCreation(undoTypes[type], args)) {\n\t\t\t// An UndoAction should be created\n\t\t\tvar res = apply(undoTypes[type][\"on\"], undoTypes[type], args), diff;\n\t\t\tif (hasKeys(res, \"object\", \"before\", \"after\")) {\n\t\t\t\tres.type = type;\n\t\t\t\tres.magicFusionIndex = getMagicFusionIndex();\n\t\t\t\tres.undoTypes = undoTypes;\n\t\t\t\tif (stack.pointer < stack.length - 1) {\n\t\t\t\t\t// New Actions must always be added to the end of the stack.\n\t\t\t\t\t// If the pointer is not pointed to the last action in the\n\t\t\t\t\t// stack, presumably because actions were undone before, then\n\t\t\t\t\t// all following actions must be discarded\n\t\t\t\t\tvar diff = stack.length - stack.pointer - 1;\n\t\t\t\t\twhile (diff--) {\n\t\t\t\t\t\tstack.pop();\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tstack.pointer = stack.length;\n\t\t\t\tstack.add(res);\n\t\t\t\tif (stack.length > stack.maximumStackLength) {\n\t\t\t\t\tstack.shift();\n\t\t\t\t\tstack.pointer--;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n\n\t/**\n\t * Predefined UndoTypes object with default handlers for the most common events.\n\t * @type {Object}\n\t */\n\tvar UndoTypes = {\n\t\t\"add\": {\n\t\t\t\"undo\": function (collection, ignore, model, options) {\n\t\t\t\t// Undo add = remove\n\t\t\t\tcollection.remove(model, options);\n\t\t\t},\n\t\t\t\"redo\": function (collection, ignore, model, options) {\n\t\t\t\t// Redo add = add\n\t\t\t\tif (options.index) {\n\t\t\t\t\toptions.at = options.index;\n\t\t\t\t}\n\t\t\t\tcollection.add(model, options);\n\t\t\t},\n\t\t\t\"on\": function (model, collection, options) {\n\t\t\t\treturn {\n\t\t\t\t\tobject: collection,\n\t\t\t\t\tbefore: undefined,\n\t\t\t\t\tafter: model,\n\t\t\t\t\toptions: _.clone(options)\n\t\t\t\t};\n\t\t\t}\n\t\t},\n\t\t\"remove\": {\n\t\t\t\"undo\": function (collection, model, ignore, options) {\n\t\t\t\tif (\"index\" in options) {\n\t\t\t\t\toptions.at = options.index;\n\t\t\t\t}\n\t\t\t\tcollection.add(model, options);\n\t\t\t},\n\t\t\t\"redo\": function (collection, model, ignore, options) {\n\t\t\t\tcollection.remove(model, options);\n\t\t\t},\n\t\t\t\"on\": function (model, collection, options) {\n\t\t\t\treturn {\n\t\t\t\t\tobject: collection,\n\t\t\t\t\tbefore: model,\n\t\t\t\t\tafter: undefined,\n\t\t\t\t\toptions: _.clone(options)\n\t\t\t\t};\n\t\t\t}\n\t\t},\n\t\t\"change\": {\n\t\t\t\"undo\": function (model, before, after, options) {\n\t\t\t\tif (_.isEmpty(before)) {\n\t\t\t\t\t_.each(_.keys(after), model.unset, model);\n\t\t\t\t} else {\n\t\t\t\t\tmodel.set(before);\n\t\t\t\t\tif (options && options.unsetData && options.unsetData.before && options.unsetData.before.length) {\n\t\t\t\t\t\t_.each(options.unsetData.before, model.unset, model);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"redo\": function (model, before, after, options) {\n\t\t\t\tif (_.isEmpty(after)) {\n\t\t\t\t\t_.each(_.keys(before), model.unset, model);\n\t\t\t\t} else {\n\t\t\t\t\tmodel.set(after);\n\t\t\t\t\tif (options && options.unsetData && options.unsetData.after && options.unsetData.after.length) {\n\t\t\t\t\t\t_.each(options.unsetData.after, model.unset, model);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t},\n\t\t\t\"on\": function (model, options) {\n\t\t\t\tvar\n\t\t\t\tafterAttributes = model.changedAttributes(),\n\t\t\t\tkeysAfter = _.keys(afterAttributes),\n\t\t\t\tpreviousAttributes = _.pick(model.previousAttributes(), keysAfter),\n\t\t\t\tkeysPrevious = _.keys(previousAttributes),\n\t\t\t\tunsetData = (options || (options = {})).unsetData = {\n\t\t\t\t\tafter: [],\n\t\t\t\t\tbefore: []\n\t\t\t\t};\n\n\t\t\t\tif (keysAfter.length != keysPrevious.length) {\n\t\t\t\t\t// There are new attributes or old attributes have been unset\n\t\t\t\t\tif (keysAfter.length > keysPrevious.length) {\n\t\t\t\t\t\t// New attributes have been added\n\t\t\t\t\t\t_.each(keysAfter, function (val) {\n\t\t\t\t\t\t\tif (!(val in previousAttributes)) {\n\t\t\t\t\t\t\t\tunsetData.before.push(val);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}, this);\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// Old attributes have been unset\n\t\t\t\t\t\t_.each(keysPrevious, function (val) {\n\t\t\t\t\t\t\tif (!(val in afterAttributes)) {\n\t\t\t\t\t\t\t\tunsetData.after.push(val);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t})\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\treturn {\n\t\t\t\t\tobject: model,\n\t\t\t\t\tbefore: previousAttributes,\n\t\t\t\t\tafter: afterAttributes,\n\t\t\t\t\toptions: _.clone(options)\n\t\t\t\t};\n\t\t\t}\n\t\t},\n\t\t\"reset\": {\n\t\t\t\"undo\": function (collection, before, after) {\n\t\t\t\tcollection.reset(before);\n\t\t\t},\n\t\t\t\"redo\": function (collection, before, after) {\n\t\t\t\tcollection.reset(after);\n\t\t\t},\n\t\t\t\"on\": function (collection, options) {\n\t\t\t\treturn {\n\t\t\t\t\tobject: collection,\n\t\t\t\t\tbefore: options.previousModels,\n\t\t\t\t\tafter: _.clone(collection.models)\n\t\t\t\t};\n\t\t\t}\n\t\t}\n\t};\n\n\t/**\n\t * Every UndoManager instance has an own undoTypes object\n\t * which is an instance of OwnedUndoTypes. OwnedUndoTypes' \n\t * prototype is the global UndoTypes object. Changes to the \n\t * global UndoTypes object take effect on every instance of\n\t * UndoManager as the object is its prototype. And yet every \n\t * local UndoTypes object can be changed individually.\n\t *\n\t * @constructor\n\t */\n\tfunction OwnedUndoTypes () {}\n\tOwnedUndoTypes.prototype = UndoTypes;\n\n\t/**\n\t * Adds, changes or removes an undo-type from an UndoTypes-object.\n\t * You can call it this way:\n\t * manipulateUndoType (1, \"reset\", {\"on\": function () {}}, undoTypes)\n\t * or this way to perform bulk actions:\n\t * manipulateUndoType (1, {\"reset\": {\"on\": function () {}}}, undoTypes)\n\t * In case of removing undo-types you can pass an Array for performing\n\t * bulk actions:\n\t * manipulateUndoType(2, [\"reset\", \"change\"], undoTypes)\n\t * \n\t * @param  {Number} \t\t\t\t  manipType \t\tIndicates the kind of action to execute: 0 for add, 1 for change, 2 for remove\n\t * @param  {String|Object|Array} \t  undoType \t\t\tThe type of undoType that should be added/changed/removed. Can be an object / array to perform bulk actions\n\t * @param  {Object} \t\t\t\t  [fns] \t\t\tObject with the functions to add / change. Is optional in case you passed an object as undoType that contains these functions\n\t * @param  {OwnedUndoTypes|UndoTypes} undoTypesInstance The undoTypes object to act on\n\t * @return {undefined}\n\t */\n\tfunction manipulateUndoType (manipType, undoType, fns, undoTypesInstance) {\n\t\t// manipType, passed by the calling function\n\t\t// 0: add\n\t\t// 1: change\n\t\t// 2: remove\n\t\tif (typeof undoType === \"object\") {\n\t\t\t// bulk action. Iterate over this data.\n\t\t\treturn _.each(undoType, function (val, key) {\n\t\t\t\t\tif (manipType === 2) { // remove\n\t\t\t\t\t\t// undoType is an array\n\t\t\t\t\t\tmanipulateUndoType (manipType, val, fns, undoTypesInstance);\n\t\t\t\t\t} else {\n\t\t\t\t\t\t// undoType is an object\n\t\t\t\t\t\tmanipulateUndoType (manipType, key, val, fns);\n\t\t\t\t\t}\n\t\t\t\t})\n\t\t}\n\n\t\tswitch (manipType) {\n\t\t\tcase 0: // add\n\t\t\t\tif (hasKeys(fns, \"undo\", \"redo\", \"on\") && _.all(_.pick(fns, \"undo\", \"redo\", \"on\"), _.isFunction)) {\n\t\t\t\t\tundoTypesInstance[undoType] = fns;\n\t\t\t\t} \n\t\t\tbreak;\n\t\t\tcase 1: // change\n\t\t\t\tif (undoTypesInstance[undoType] && _.isObject(fns)) {\n\t\t\t\t\t// undoTypeInstance[undoType] may be a prototype's property\n\t\t\t\t\t// So, if we did this _.extend(undoTypeInstance[undoType], fns)\n\t\t\t\t\t// we would extend the object on the prototype which means\n\t\t\t\t\t// that this change would have a global effect\n\t\t\t\t\t// Instead we just want to manipulate this instance. That's why\n\t\t\t\t\t// we're doing this:\n\t\t\t\t\tundoTypesInstance[undoType] = _.extend({}, undoTypesInstance[undoType], fns);\n\t\t\t\t} \n\t\t\tbreak;\n\t\t\tcase 2: // remove\n\t\t\t\tdelete undoTypesInstance[undoType]; \n\t\t\tbreak;\n\t\t}\n\t\treturn this;\n\t}\n\n\t/**\n\t * Instantiating \"Action\" creates the UndoActions that \n\t * are collected in an UndoStack. It holds all relevant \n\t * data to undo / redo an action and has an undo / redo \n\t * method.\n\t */\n\tvar Action = Backbone.Model.extend({\n\t\tdefaults: {\n\t\t\ttype: null, // \"add\", \"change\", \"reset\", etc.\n\t\t\tobject: null, // The object on which the action occurred\n\t\t\tbefore: null, // The previous values which were changed with this action\n\t\t\tafter: null, // The values after this action\n\t\t\tmagicFusionIndex: null // The magicFusionIndex helps to combine \n\t\t\t// all actions that occurred \"at the same time\" to undo/redo them altogether\n\t\t},\n\t\t/**\n\t\t * Undoes this action.\n\t\t * @param  {OwnedUndoTypes|UndoTypes} undoTypes The undoTypes object which contains the \"undo\"-handler that should be used\n\t\t * @return {undefined}\n\t\t */\n\t\tundo: function (undoTypes) {\n\t\t\tactionUndoRedo(\"undo\", this.attributes);\n\t\t},\n\t\t/**\n\t\t * Redoes this action.\n\t\t * @param  {OwnedUndoTypes|UndoTypes} undoTypes The undoTypes object which contains the \"redo\"-handler that should be used\n\t\t * @return {undefined}\n\t\t */\n\t\tredo: function (undoTypes) {\n\t\t\tactionUndoRedo(\"redo\", this.attributes);\n\t\t}\n\t}),\n\t/**\n\t * An UndoStack is a collection of UndoActions in \n\t * chronological order.\n\t */\n\tUndoStack = Backbone.Collection.extend({\n\t\tmodel: Action,\n\t\tpointer: -1, // The pointer indicates the index where we are located within the stack. We start at -1\n\t\ttrack: false,\n\t\tisCurrentlyUndoRedoing: false,\n\t\tmaximumStackLength: Infinity,\n\t\tsetMaxLength: function (val) {\n\t\t\tthis.maximumStackLength = val;\n\t\t}\n\t}),\n\t/**\n\t * An instance of UndoManager can keep track of \n\t * changes to objects and helps to undo them.\n\t */\n\tUndoManager = Backbone.Model.extend({\n\t\tdefaults: {\n\t\t\tmaximumStackLength: Infinity,\n\t\t\ttrack: false\n\t\t},\n\t\t/**\n\t\t * The constructor function.\n\t\t * @param  {attr} \t\t[attr] Object with parameters. The available parameters are:\n\t\t *                         \t   - maximumStackLength {number} \tSet the undo-stack's maximum size\n\t\t *                             - track \t\t\t\t{boolean}\tStart tracking changes right away\n\t\t * @return {undefined}\n\t\t */\n\t\tinitialize: function (attr) {\n\t\t\tthis.stack = new UndoStack;\n\t\t\tthis.objectRegistry = new ObjectRegistry();\n\t\t\tthis.undoTypes = new OwnedUndoTypes();\n\n\t\t\t// sync the maximumStackLength attribute with our stack\n\t\t\tthis.stack.setMaxLength(this.get(\"maximumStackLength\"));\n\t\t\tthis.on(\"change:maximumStackLength\", function (model, value) {\n\t\t\t\tthis.stack.setMaxLength(value);\n\t\t\t}, this);\n\n\t\t\t// Start tracking, if attr.track == true\n\t\t\tif (attr && attr.track) {\n\t\t\t\tthis.startTracking();\n\t\t\t}\n\n\t\t\t// Register objects passed in the \"register\" attribute\n\t\t\tif (attr && attr.register) {\n\t\t\t\tif (_.isArray(attr.register) || _.isArguments(attr.register)) {\n\t\t\t\t\tapply(this.register, this, attr.register);\n\t\t\t\t} else {\n\t\t\t\t\tthis.register(attr.register);\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Starts tracking. Changes of registered objects won't be processed until you've called this function\n\t\t * @return {undefined}\n\t\t */\n\t\tstartTracking: function () {\n\t\t\tthis.set(\"track\", true);\n\t\t\tthis.stack.track = true;\n\t\t},\n\t\t/**\n\t\t * Stops tracking. Afterwards changes of registered objects won't be processed.\n\t\t * @return {undefined}\n\t\t */\n\t\tstopTracking: function () {\n\t\t\tthis.set(\"track\", false);\n\t\t\tthis.stack.track = false;\n\t\t},\n\t\t/**\n\t\t * Return the state of the tracking\n\t\t * @return {boolean}\n\t\t */\n\t\tisTracking: function () {\n\t\t\treturn this.get(\"track\");\n\t\t},\n\t\t/**\n\t\t * This is the \"all\"-handler which is bound to registered \n\t\t * objects. It creates an UndoAction from the event and adds \n\t\t * it to the stack.\n\t\t * \n\t\t * @param  {String} \ttype \tThe event type\n\t\t * @return {undefined}\n\t\t */\n\t\t_addToStack: function (type) {\n\t\t\taddToStack(this.stack, type, slice(arguments, 1), this.undoTypes);\n\t\t},\n\t\t/**\n\t\t * Registers one or more objects to track their changes.\n\t\t * @param {...Object} \tobj \tThe object or objects of which changes should be tracked\n\t\t * @return {undefined}\n\t\t */\n\t\tregister: function () {\n\t\t\tonoff(\"on\", arguments, this._addToStack, this);\n\t\t},\n\t\t/**\n\t\t * Unregisters one or more objects.\n\t\t * @param {...Object} \tobj \tThe object or objects of which changes shouldn't be tracked any longer\n\t\t * @return {undefined}\n\t\t */\n\t\tunregister: function () {\n\t\t\tonoff(\"off\", arguments, this._addToStack, this);\n\t\t},\n\t\t/**\n\t\t * Unregisters all previously registered objects.\n\t\t * @return {undefined}\n\t\t */\n\t\tunregisterAll: function () {\n\t\t\tapply(this.unregister, this, this.objectRegistry.get());\n\t\t},\n\t\t/**\n\t\t * Undoes the last action or the last set of actions in case 'magic' is true.\n\t\t * @param {Boolean} \t[magic] \tIf true, all actions that happened basically at the same time are undone together\n\t\t * @return {undefined}\n\t\t */\n\t\tundo: function (magic) {\n\t\t\tmanagerUndoRedo(\"undo\", this, this.stack, magic);\n\t\t},\n\n\t\t/**\n\t\t * Undoes all actions ever tracked by the undo manager\n\t\t * @return {undefined}\n\t\t */\n\t\tundoAll: function () {\n\t\t\tmanagerUndoRedo(\"undo\", this, this.stack, false, true);\n\t\t},\n\n\t\t/**\n\t\t * Redoes a previously undone action or a set of actions.\n\t\t * @param {Boolean} \t[magic] \tIf true, all actions that happened basically at the same time are redone together\n\t\t * @return {undefined}\n\t\t */\n\t\tredo: function (magic) {\n\t\t\tmanagerUndoRedo(\"redo\", this, this.stack, magic);\n\t\t},\n\n\t\t/**\n\t\t * Redoes all actions ever tracked by the undo manager\n\t\t * @return {undefined}\n\t\t */\n\t\tredoAll: function () {\n\t\t\tmanagerUndoRedo(\"redo\", this, this.stack, false, true);\n\t\t},\n\t\t/**\n\t\t * Checks if there's an action in the stack that can be undone / redone\n\t\t * @param  {String} \ttype \tEither \"undo\" or \"redo\"\n\t\t * @return {Boolean} True if there is a set of actions which can be undone / redone\n\t\t */\n\t\tisAvailable: function (type) {\n\t\t\tvar s = this.stack, l = s.length;\n\n\t\t\tswitch (type) {\n\t\t\t\tcase \"undo\": return l > 0 && s.pointer > -1;\n\t\t\t\tcase \"redo\": return l > 0 && s.pointer < l - 1;\n\t\t\t\tdefault: return false;\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Sets the stack-reference to the stack of another undoManager.\n\t\t * @param  {UndoManager} \tundoManager \tThe undoManager whose stack-reference is set to this stack\n\t\t * @return {undefined}\n\t\t */\n\t\tmerge: function (undoManager) {\n\t\t\t// This sets the stack-reference to the stack of another \n\t\t\t// undoManager so that the stack of this other undoManager \n\t\t\t// is used by two different managers.\n\t\t\t// This enables to set up a main-undoManager and besides it\n\t\t\t// several others for special, exceptional cases (by using\n\t\t\t// instance-based custom UndoTypes). Models / collections \n\t\t\t// which need this special treatment are only registered at \n\t\t\t// those special undoManagers. Those special ones are then \n\t\t\t// merged into the main-undoManager to write on its stack. \n\t\t\t// That way it's easier to manage exceptional cases.\n\t\t\tvar args = _.isArray(undoManager) ? undoManager : slice(arguments), manager;\n\t\t\twhile (manager = args.pop()) {\n\t\t\t\tif (manager instanceof UndoManager &&\n\t\t\t\t\tmanager.stack instanceof UndoStack) {\n\t\t\t\t\t// set the stack reference to our stack\n\t\t\t\t\tmanager.stack = this.stack;\n\t\t\t\t}\n\t\t\t}\n\t\t},\n\t\t/**\n\t\t * Add an UndoType to this specific UndoManager-instance.\n\t\t * @param {String} type The event this UndoType is made for\n\t\t * @param {Object} fns  An object of functions that are called to generate the data for an UndoAction or to process it. Must have the properties \"undo\", \"redo\" and \"on\". Can have the property \"condition\".\n\t\t * @return {undefined}\n\t\t */\n\t\taddUndoType: function (type, fns) {\n\t\t\tmanipulateUndoType(0, type, fns, this.undoTypes);\n\t\t},\n\t\t/**\n\t\t * Overwrite properties of an existing UndoType for this specific UndoManager-instance.\n\t\t * @param  {String} type The event the UndoType is made for\n\t\t * @param  {Object} fns  An object of functions that are called to generate the data for an UndoAction or to process it. It extends the existing object.\n\t\t * @return {undefined}\n\t\t */\n\t\tchangeUndoType: function (type, fns) {\n\t\t\tmanipulateUndoType(1, type, fns, this.undoTypes);\n\t\t},\n\t\t/**\n\t\t * Remove one or more UndoTypes of this specific UndoManager-instance to fall back to the global UndoTypes.\n\t\t * @param  {String|Array} type The event the UndoType that should be removed is made for. You can also pass an array of events.\n\t\t * @return {undefined}\n\t\t */\n\t\tremoveUndoType: function (type) {\n\t\t\tmanipulateUndoType(2, type, undefined, this.undoTypes);\n\t\t},\n\n\t\t/**\n\t\t * Removes all actions from the stack.\n\t\t * @return {undefined}\n\t\t */\n\t\tclear: function() {\n\t\t\tthis.stack.reset();\n\t\t\tthis.stack.pointer = -1;\n\t\t}\n\t});\n\n\t_.extend(UndoManager, {\n\t\t/**\n\t\t * Change the UndoManager's default attributes\n\t\t * @param  {Object} defaultAttributes An object with the new default values.\n\t\t * @return {undefined}\n\t\t */\n\t\tdefaults: function (defaultAttributes) {\n\t\t\t_.extend(UndoManager.prototype.defaults, defaultAttributes);\n\t\t},\n\t\t/**\n\t\t * Add an UndoType to the global UndoTypes-object.\n\t\t * @param  {String} type The event this UndoType is made for\n\t\t * @param  {Object} fns  An object of functions that are called to generate the data for an UndoAction or to process it. Must have the properties \"undo\", \"redo\" and \"on\". Can have the property \"condition\".\n\t\t * @return {undefined}\n\t\t */\n\t\t\"addUndoType\": function (type, fns) {\n\t\t\tmanipulateUndoType(0, type, fns, UndoTypes);\n\t\t},\n\t\t/**\n\t\t * Overwrite properties of an existing UndoType in the global UndoTypes-object.\n\t\t * @param  {String} type The event the UndoType is made for\n\t\t * @param  {Object} fns  An object of functions that are called to generate the data for an UndoAction or to process it. It extends the existing object.\n\t\t * @return {undefined}\n\t\t */\n\t\t\"changeUndoType\": function (type, fns) {\n\t\t\tmanipulateUndoType(1, type, fns, UndoTypes)\n\t\t},\n\t\t/**\n\t\t * Remove one or more UndoTypes of this specific UndoManager-instance to fall back to the global UndoTypes.\n\t\t * @param  {String|Array} type The event the UndoType that should be removed is made for. You can also pass an array of events.\n\t\t * @return {undefined}\n\t\t */\n\t\t\"removeUndoType\": function (type) {\n\t\t\tmanipulateUndoType(2, type, undefined, UndoTypes);\n\t\t}\n\t})\n\n\treturn Backbone.UndoManager = UndoManager;\n\n});\n","//     Backbone.js 1.3.3\n\n//     (c) 2010-2016 Jeremy Ashkenas, DocumentCloud and Investigative Reporters & Editors\n//     Backbone may be freely distributed under the MIT license.\n//     For all details and documentation:\n//     http://backbonejs.org\n\n(function(factory) {\n\n  // Establish the root object, `window` (`self`) in the browser, or `global` on the server.\n  // We use `self` instead of `window` for `WebWorker` support.\n  var root = (typeof self == 'object' && self.self === self && self) ||\n            (typeof global == 'object' && global.global === global && global);\n\n  // Set up Backbone appropriately for the environment. Start with AMD.\n  if (typeof define === 'function' && define.amd) {\n    define(['underscore', 'jquery', 'exports'], function(_, $, exports) {\n      // Export global even in AMD case in case this script is loaded with\n      // others that may still expect a global Backbone.\n      root.Backbone = factory(root, exports, _, $);\n    });\n\n  // Next for Node.js or CommonJS. jQuery may not be needed as a module.\n  } else if (typeof exports !== 'undefined') {\n    var _ = require('underscore'), $;\n    try { $ = require('jquery'); } catch (e) {}\n    factory(root, exports, _, $);\n\n  // Finally, as a browser global.\n  } else {\n    root.Backbone = factory(root, {}, root._, (root.jQuery || root.Zepto || root.ender || root.$));\n  }\n\n})(function(root, Backbone, _, $) {\n\n  // Initial Setup\n  // -------------\n\n  // Save the previous value of the `Backbone` variable, so that it can be\n  // restored later on, if `noConflict` is used.\n  var previousBackbone = root.Backbone;\n\n  // Create a local reference to a common array method we'll want to use later.\n  var slice = Array.prototype.slice;\n\n  // Current version of the library. Keep in sync with `package.json`.\n  Backbone.VERSION = '1.3.3';\n\n  // For Backbone's purposes, jQuery, Zepto, Ender, or My Library (kidding) owns\n  // the `$` variable.\n  Backbone.$ = $;\n\n  // Runs Backbone.js in *noConflict* mode, returning the `Backbone` variable\n  // to its previous owner. Returns a reference to this Backbone object.\n  Backbone.noConflict = function() {\n    root.Backbone = previousBackbone;\n    return this;\n  };\n\n  // Turn on `emulateHTTP` to support legacy HTTP servers. Setting this option\n  // will fake `\"PATCH\"`, `\"PUT\"` and `\"DELETE\"` requests via the `_method` parameter and\n  // set a `X-Http-Method-Override` header.\n  Backbone.emulateHTTP = false;\n\n  // Turn on `emulateJSON` to support legacy servers that can't deal with direct\n  // `application/json` requests ... this will encode the body as\n  // `application/x-www-form-urlencoded` instead and will send the model in a\n  // form param named `model`.\n  Backbone.emulateJSON = false;\n\n  // Proxy Backbone class methods to Underscore functions, wrapping the model's\n  // `attributes` object or collection's `models` array behind the scenes.\n  //\n  // collection.filter(function(model) { return model.get('age') > 10 });\n  // collection.each(this.addView);\n  //\n  // `Function#apply` can be slow so we use the method's arg count, if we know it.\n  var addMethod = function(length, method, attribute) {\n    switch (length) {\n      case 1: return function() {\n        return _[method](this[attribute]);\n      };\n      case 2: return function(value) {\n        return _[method](this[attribute], value);\n      };\n      case 3: return function(iteratee, context) {\n        return _[method](this[attribute], cb(iteratee, this), context);\n      };\n      case 4: return function(iteratee, defaultVal, context) {\n        return _[method](this[attribute], cb(iteratee, this), defaultVal, context);\n      };\n      default: return function() {\n        var args = slice.call(arguments);\n        args.unshift(this[attribute]);\n        return _[method].apply(_, args);\n      };\n    }\n  };\n  var addUnderscoreMethods = function(Class, methods, attribute) {\n    _.each(methods, function(length, method) {\n      if (_[method]) Class.prototype[method] = addMethod(length, method, attribute);\n    });\n  };\n\n  // Support `collection.sortBy('attr')` and `collection.findWhere({id: 1})`.\n  var cb = function(iteratee, instance) {\n    if (_.isFunction(iteratee)) return iteratee;\n    if (_.isObject(iteratee) && !instance._isModel(iteratee)) return modelMatcher(iteratee);\n    if (_.isString(iteratee)) return function(model) { return model.get(iteratee); };\n    return iteratee;\n  };\n  var modelMatcher = function(attrs) {\n    var matcher = _.matches(attrs);\n    return function(model) {\n      return matcher(model.attributes);\n    };\n  };\n\n  // Backbone.Events\n  // ---------------\n\n  // A module that can be mixed in to *any object* in order to provide it with\n  // a custom event channel. You may bind a callback to an event with `on` or\n  // remove with `off`; `trigger`-ing an event fires all callbacks in\n  // succession.\n  //\n  //     var object = {};\n  //     _.extend(object, Backbone.Events);\n  //     object.on('expand', function(){ alert('expanded'); });\n  //     object.trigger('expand');\n  //\n  var Events = Backbone.Events = {};\n\n  // Regular expression used to split event strings.\n  var eventSplitter = /\\s+/;\n\n  // Iterates over the standard `event, callback` (as well as the fancy multiple\n  // space-separated events `\"change blur\", callback` and jQuery-style event\n  // maps `{event: callback}`).\n  var eventsApi = function(iteratee, events, name, callback, opts) {\n    var i = 0, names;\n    if (name && typeof name === 'object') {\n      // Handle event maps.\n      if (callback !== void 0 && 'context' in opts && opts.context === void 0) opts.context = callback;\n      for (names = _.keys(name); i < names.length ; i++) {\n        events = eventsApi(iteratee, events, names[i], name[names[i]], opts);\n      }\n    } else if (name && eventSplitter.test(name)) {\n      // Handle space-separated event names by delegating them individually.\n      for (names = name.split(eventSplitter); i < names.length; i++) {\n        events = iteratee(events, names[i], callback, opts);\n      }\n    } else {\n      // Finally, standard events.\n      events = iteratee(events, name, callback, opts);\n    }\n    return events;\n  };\n\n  // Bind an event to a `callback` function. Passing `\"all\"` will bind\n  // the callback to all events fired.\n  Events.on = function(name, callback, context) {\n    return internalOn(this, name, callback, context);\n  };\n\n  // Guard the `listening` argument from the public API.\n  var internalOn = function(obj, name, callback, context, listening) {\n    obj._events = eventsApi(onApi, obj._events || {}, name, callback, {\n      context: context,\n      ctx: obj,\n      listening: listening\n    });\n\n    if (listening) {\n      var listeners = obj._listeners || (obj._listeners = {});\n      listeners[listening.id] = listening;\n    }\n\n    return obj;\n  };\n\n  // Inversion-of-control versions of `on`. Tell *this* object to listen to\n  // an event in another object... keeping track of what it's listening to\n  // for easier unbinding later.\n  Events.listenTo = function(obj, name, callback) {\n    if (!obj) return this;\n    var id = obj._listenId || (obj._listenId = _.uniqueId('l'));\n    var listeningTo = this._listeningTo || (this._listeningTo = {});\n    var listening = listeningTo[id];\n\n    // This object is not listening to any other events on `obj` yet.\n    // Setup the necessary references to track the listening callbacks.\n    if (!listening) {\n      var thisId = this._listenId || (this._listenId = _.uniqueId('l'));\n      listening = listeningTo[id] = {obj: obj, objId: id, id: thisId, listeningTo: listeningTo, count: 0};\n    }\n\n    // Bind callbacks on obj, and keep track of them on listening.\n    internalOn(obj, name, callback, this, listening);\n    return this;\n  };\n\n  // The reducing API that adds a callback to the `events` object.\n  var onApi = function(events, name, callback, options) {\n    if (callback) {\n      var handlers = events[name] || (events[name] = []);\n      var context = options.context, ctx = options.ctx, listening = options.listening;\n      if (listening) listening.count++;\n\n      handlers.push({callback: callback, context: context, ctx: context || ctx, listening: listening});\n    }\n    return events;\n  };\n\n  // Remove one or many callbacks. If `context` is null, removes all\n  // callbacks with that function. If `callback` is null, removes all\n  // callbacks for the event. If `name` is null, removes all bound\n  // callbacks for all events.\n  Events.off = function(name, callback, context) {\n    if (!this._events) return this;\n    this._events = eventsApi(offApi, this._events, name, callback, {\n      context: context,\n      listeners: this._listeners\n    });\n    return this;\n  };\n\n  // Tell this object to stop listening to either specific events ... or\n  // to every object it's currently listening to.\n  Events.stopListening = function(obj, name, callback) {\n    var listeningTo = this._listeningTo;\n    if (!listeningTo) return this;\n\n    var ids = obj ? [obj._listenId] : _.keys(listeningTo);\n\n    for (var i = 0; i < ids.length; i++) {\n      var listening = listeningTo[ids[i]];\n\n      // If listening doesn't exist, this object is not currently\n      // listening to obj. Break out early.\n      if (!listening) break;\n\n      listening.obj.off(name, callback, this);\n    }\n\n    return this;\n  };\n\n  // The reducing API that removes a callback from the `events` object.\n  var offApi = function(events, name, callback, options) {\n    if (!events) return;\n\n    var i = 0, listening;\n    var context = options.context, listeners = options.listeners;\n\n    // Delete all events listeners and \"drop\" events.\n    if (!name && !callback && !context) {\n      var ids = _.keys(listeners);\n      for (; i < ids.length; i++) {\n        listening = listeners[ids[i]];\n        delete listeners[listening.id];\n        delete listening.listeningTo[listening.objId];\n      }\n      return;\n    }\n\n    var names = name ? [name] : _.keys(events);\n    for (; i < names.length; i++) {\n      name = names[i];\n      var handlers = events[name];\n\n      // Bail out if there are no events stored.\n      if (!handlers) break;\n\n      // Replace events if there are any remaining.  Otherwise, clean up.\n      var remaining = [];\n      for (var j = 0; j < handlers.length; j++) {\n        var handler = handlers[j];\n        if (\n          callback && callback !== handler.callback &&\n            callback !== handler.callback._callback ||\n              context && context !== handler.context\n        ) {\n          remaining.push(handler);\n        } else {\n          listening = handler.listening;\n          if (listening && --listening.count === 0) {\n            delete listeners[listening.id];\n            delete listening.listeningTo[listening.objId];\n          }\n        }\n      }\n\n      // Update tail event if the list has any events.  Otherwise, clean up.\n      if (remaining.length) {\n        events[name] = remaining;\n      } else {\n        delete events[name];\n      }\n    }\n    return events;\n  };\n\n  // Bind an event to only be triggered a single time. After the first time\n  // the callback is invoked, its listener will be removed. If multiple events\n  // are passed in using the space-separated syntax, the handler will fire\n  // once for each event, not once for a combination of all events.\n  Events.once = function(name, callback, context) {\n    // Map the event into a `{event: once}` object.\n    var events = eventsApi(onceMap, {}, name, callback, _.bind(this.off, this));\n    if (typeof name === 'string' && context == null) callback = void 0;\n    return this.on(events, callback, context);\n  };\n\n  // Inversion-of-control versions of `once`.\n  Events.listenToOnce = function(obj, name, callback) {\n    // Map the event into a `{event: once}` object.\n    var events = eventsApi(onceMap, {}, name, callback, _.bind(this.stopListening, this, obj));\n    return this.listenTo(obj, events);\n  };\n\n  // Reduces the event callbacks into a map of `{event: onceWrapper}`.\n  // `offer` unbinds the `onceWrapper` after it has been called.\n  var onceMap = function(map, name, callback, offer) {\n    if (callback) {\n      var once = map[name] = _.once(function() {\n        offer(name, once);\n        callback.apply(this, arguments);\n      });\n      once._callback = callback;\n    }\n    return map;\n  };\n\n  // Trigger one or many events, firing all bound callbacks. Callbacks are\n  // passed the same arguments as `trigger` is, apart from the event name\n  // (unless you're listening on `\"all\"`, which will cause your callback to\n  // receive the true name of the event as the first argument).\n  Events.trigger = function(name) {\n    if (!this._events) return this;\n\n    var length = Math.max(0, arguments.length - 1);\n    var args = Array(length);\n    for (var i = 0; i < length; i++) args[i] = arguments[i + 1];\n\n    eventsApi(triggerApi, this._events, name, void 0, args);\n    return this;\n  };\n\n  // Handles triggering the appropriate event callbacks.\n  var triggerApi = function(objEvents, name, callback, args) {\n    if (objEvents) {\n      var events = objEvents[name];\n      var allEvents = objEvents.all;\n      if (events && allEvents) allEvents = allEvents.slice();\n      if (events) triggerEvents(events, args);\n      if (allEvents) triggerEvents(allEvents, [name].concat(args));\n    }\n    return objEvents;\n  };\n\n  // A difficult-to-believe, but optimized internal dispatch function for\n  // triggering events. Tries to keep the usual cases speedy (most internal\n  // Backbone events have 3 arguments).\n  var triggerEvents = function(events, args) {\n    var ev, i = -1, l = events.length, a1 = args[0], a2 = args[1], a3 = args[2];\n    switch (args.length) {\n      case 0: while (++i < l) (ev = events[i]).callback.call(ev.ctx); return;\n      case 1: while (++i < l) (ev = events[i]).callback.call(ev.ctx, a1); return;\n      case 2: while (++i < l) (ev = events[i]).callback.call(ev.ctx, a1, a2); return;\n      case 3: while (++i < l) (ev = events[i]).callback.call(ev.ctx, a1, a2, a3); return;\n      default: while (++i < l) (ev = events[i]).callback.apply(ev.ctx, args); return;\n    }\n  };\n\n  // Aliases for backwards compatibility.\n  Events.bind   = Events.on;\n  Events.unbind = Events.off;\n\n  // Allow the `Backbone` object to serve as a global event bus, for folks who\n  // want global \"pubsub\" in a convenient place.\n  _.extend(Backbone, Events);\n\n  // Backbone.Model\n  // --------------\n\n  // Backbone **Models** are the basic data object in the framework --\n  // frequently representing a row in a table in a database on your server.\n  // A discrete chunk of data and a bunch of useful, related methods for\n  // performing computations and transformations on that data.\n\n  // Create a new model with the specified attributes. A client id (`cid`)\n  // is automatically generated and assigned for you.\n  var Model = Backbone.Model = function(attributes, options) {\n    var attrs = attributes || {};\n    options || (options = {});\n    this.cid = _.uniqueId(this.cidPrefix);\n    this.attributes = {};\n    if (options.collection) this.collection = options.collection;\n    if (options.parse) attrs = this.parse(attrs, options) || {};\n    var defaults = _.result(this, 'defaults');\n    attrs = _.defaults(_.extend({}, defaults, attrs), defaults);\n    this.set(attrs, options);\n    this.changed = {};\n    this.initialize.apply(this, arguments);\n  };\n\n  // Attach all inheritable methods to the Model prototype.\n  _.extend(Model.prototype, Events, {\n\n    // A hash of attributes whose current and previous value differ.\n    changed: null,\n\n    // The value returned during the last failed validation.\n    validationError: null,\n\n    // The default name for the JSON `id` attribute is `\"id\"`. MongoDB and\n    // CouchDB users may want to set this to `\"_id\"`.\n    idAttribute: 'id',\n\n    // The prefix is used to create the client id which is used to identify models locally.\n    // You may want to override this if you're experiencing name clashes with model ids.\n    cidPrefix: 'c',\n\n    // Initialize is an empty function by default. Override it with your own\n    // initialization logic.\n    initialize: function(){},\n\n    // Return a copy of the model's `attributes` object.\n    toJSON: function(options) {\n      return _.clone(this.attributes);\n    },\n\n    // Proxy `Backbone.sync` by default -- but override this if you need\n    // custom syncing semantics for *this* particular model.\n    sync: function() {\n      return Backbone.sync.apply(this, arguments);\n    },\n\n    // Get the value of an attribute.\n    get: function(attr) {\n      return this.attributes[attr];\n    },\n\n    // Get the HTML-escaped value of an attribute.\n    escape: function(attr) {\n      return _.escape(this.get(attr));\n    },\n\n    // Returns `true` if the attribute contains a value that is not null\n    // or undefined.\n    has: function(attr) {\n      return this.get(attr) != null;\n    },\n\n    // Special-cased proxy to underscore's `_.matches` method.\n    matches: function(attrs) {\n      return !!_.iteratee(attrs, this)(this.attributes);\n    },\n\n    // Set a hash of model attributes on the object, firing `\"change\"`. This is\n    // the core primitive operation of a model, updating the data and notifying\n    // anyone who needs to know about the change in state. The heart of the beast.\n    set: function(key, val, options) {\n      if (key == null) return this;\n\n      // Handle both `\"key\", value` and `{key: value}` -style arguments.\n      var attrs;\n      if (typeof key === 'object') {\n        attrs = key;\n        options = val;\n      } else {\n        (attrs = {})[key] = val;\n      }\n\n      options || (options = {});\n\n      // Run validation.\n      if (!this._validate(attrs, options)) return false;\n\n      // Extract attributes and options.\n      var unset      = options.unset;\n      var silent     = options.silent;\n      var changes    = [];\n      var changing   = this._changing;\n      this._changing = true;\n\n      if (!changing) {\n        this._previousAttributes = _.clone(this.attributes);\n        this.changed = {};\n      }\n\n      var current = this.attributes;\n      var changed = this.changed;\n      var prev    = this._previousAttributes;\n\n      // For each `set` attribute, update or delete the current value.\n      for (var attr in attrs) {\n        val = attrs[attr];\n        if (!_.isEqual(current[attr], val)) changes.push(attr);\n        if (!_.isEqual(prev[attr], val)) {\n          changed[attr] = val;\n        } else {\n          delete changed[attr];\n        }\n        unset ? delete current[attr] : current[attr] = val;\n      }\n\n      // Update the `id`.\n      if (this.idAttribute in attrs) this.id = this.get(this.idAttribute);\n\n      // Trigger all relevant attribute changes.\n      if (!silent) {\n        if (changes.length) this._pending = options;\n        for (var i = 0; i < changes.length; i++) {\n          this.trigger('change:' + changes[i], this, current[changes[i]], options);\n        }\n      }\n\n      // You might be wondering why there's a `while` loop here. Changes can\n      // be recursively nested within `\"change\"` events.\n      if (changing) return this;\n      if (!silent) {\n        while (this._pending) {\n          options = this._pending;\n          this._pending = false;\n          this.trigger('change', this, options);\n        }\n      }\n      this._pending = false;\n      this._changing = false;\n      return this;\n    },\n\n    // Remove an attribute from the model, firing `\"change\"`. `unset` is a noop\n    // if the attribute doesn't exist.\n    unset: function(attr, options) {\n      return this.set(attr, void 0, _.extend({}, options, {unset: true}));\n    },\n\n    // Clear all attributes on the model, firing `\"change\"`.\n    clear: function(options) {\n      var attrs = {};\n      for (var key in this.attributes) attrs[key] = void 0;\n      return this.set(attrs, _.extend({}, options, {unset: true}));\n    },\n\n    // Determine if the model has changed since the last `\"change\"` event.\n    // If you specify an attribute name, determine if that attribute has changed.\n    hasChanged: function(attr) {\n      if (attr == null) return !_.isEmpty(this.changed);\n      return _.has(this.changed, attr);\n    },\n\n    // Return an object containing all the attributes that have changed, or\n    // false if there are no changed attributes. Useful for determining what\n    // parts of a view need to be updated and/or what attributes need to be\n    // persisted to the server. Unset attributes will be set to undefined.\n    // You can also pass an attributes object to diff against the model,\n    // determining if there *would be* a change.\n    changedAttributes: function(diff) {\n      if (!diff) return this.hasChanged() ? _.clone(this.changed) : false;\n      var old = this._changing ? this._previousAttributes : this.attributes;\n      var changed = {};\n      for (var attr in diff) {\n        var val = diff[attr];\n        if (_.isEqual(old[attr], val)) continue;\n        changed[attr] = val;\n      }\n      return _.size(changed) ? changed : false;\n    },\n\n    // Get the previous value of an attribute, recorded at the time the last\n    // `\"change\"` event was fired.\n    previous: function(attr) {\n      if (attr == null || !this._previousAttributes) return null;\n      return this._previousAttributes[attr];\n    },\n\n    // Get all of the attributes of the model at the time of the previous\n    // `\"change\"` event.\n    previousAttributes: function() {\n      return _.clone(this._previousAttributes);\n    },\n\n    // Fetch the model from the server, merging the response with the model's\n    // local attributes. Any changed attributes will trigger a \"change\" event.\n    fetch: function(options) {\n      options = _.extend({parse: true}, options);\n      var model = this;\n      var success = options.success;\n      options.success = function(resp) {\n        var serverAttrs = options.parse ? model.parse(resp, options) : resp;\n        if (!model.set(serverAttrs, options)) return false;\n        if (success) success.call(options.context, model, resp, options);\n        model.trigger('sync', model, resp, options);\n      };\n      wrapError(this, options);\n      return this.sync('read', this, options);\n    },\n\n    // Set a hash of model attributes, and sync the model to the server.\n    // If the server returns an attributes hash that differs, the model's\n    // state will be `set` again.\n    save: function(key, val, options) {\n      // Handle both `\"key\", value` and `{key: value}` -style arguments.\n      var attrs;\n      if (key == null || typeof key === 'object') {\n        attrs = key;\n        options = val;\n      } else {\n        (attrs = {})[key] = val;\n      }\n\n      options = _.extend({validate: true, parse: true}, options);\n      var wait = options.wait;\n\n      // If we're not waiting and attributes exist, save acts as\n      // `set(attr).save(null, opts)` with validation. Otherwise, check if\n      // the model will be valid when the attributes, if any, are set.\n      if (attrs && !wait) {\n        if (!this.set(attrs, options)) return false;\n      } else if (!this._validate(attrs, options)) {\n        return false;\n      }\n\n      // After a successful server-side save, the client is (optionally)\n      // updated with the server-side state.\n      var model = this;\n      var success = options.success;\n      var attributes = this.attributes;\n      options.success = function(resp) {\n        // Ensure attributes are restored during synchronous saves.\n        model.attributes = attributes;\n        var serverAttrs = options.parse ? model.parse(resp, options) : resp;\n        if (wait) serverAttrs = _.extend({}, attrs, serverAttrs);\n        if (serverAttrs && !model.set(serverAttrs, options)) return false;\n        if (success) success.call(options.context, model, resp, options);\n        model.trigger('sync', model, resp, options);\n      };\n      wrapError(this, options);\n\n      // Set temporary attributes if `{wait: true}` to properly find new ids.\n      if (attrs && wait) this.attributes = _.extend({}, attributes, attrs);\n\n      var method = this.isNew() ? 'create' : (options.patch ? 'patch' : 'update');\n      if (method === 'patch' && !options.attrs) options.attrs = attrs;\n      var xhr = this.sync(method, this, options);\n\n      // Restore attributes.\n      this.attributes = attributes;\n\n      return xhr;\n    },\n\n    // Destroy this model on the server if it was already persisted.\n    // Optimistically removes the model from its collection, if it has one.\n    // If `wait: true` is passed, waits for the server to respond before removal.\n    destroy: function(options) {\n      options = options ? _.clone(options) : {};\n      var model = this;\n      var success = options.success;\n      var wait = options.wait;\n\n      var destroy = function() {\n        model.stopListening();\n        model.trigger('destroy', model, model.collection, options);\n      };\n\n      options.success = function(resp) {\n        if (wait) destroy();\n        if (success) success.call(options.context, model, resp, options);\n        if (!model.isNew()) model.trigger('sync', model, resp, options);\n      };\n\n      var xhr = false;\n      if (this.isNew()) {\n        _.defer(options.success);\n      } else {\n        wrapError(this, options);\n        xhr = this.sync('delete', this, options);\n      }\n      if (!wait) destroy();\n      return xhr;\n    },\n\n    // Default URL for the model's representation on the server -- if you're\n    // using Backbone's restful methods, override this to change the endpoint\n    // that will be called.\n    url: function() {\n      var base =\n        _.result(this, 'urlRoot') ||\n        _.result(this.collection, 'url') ||\n        urlError();\n      if (this.isNew()) return base;\n      var id = this.get(this.idAttribute);\n      return base.replace(/[^\\/]$/, '$&/') + encodeURIComponent(id);\n    },\n\n    // **parse** converts a response into the hash of attributes to be `set` on\n    // the model. The default implementation is just to pass the response along.\n    parse: function(resp, options) {\n      return resp;\n    },\n\n    // Create a new model with identical attributes to this one.\n    clone: function() {\n      return new this.constructor(this.attributes);\n    },\n\n    // A model is new if it has never been saved to the server, and lacks an id.\n    isNew: function() {\n      return !this.has(this.idAttribute);\n    },\n\n    // Check if the model is currently in a valid state.\n    isValid: function(options) {\n      return this._validate({}, _.extend({}, options, {validate: true}));\n    },\n\n    // Run validation against the next complete set of model attributes,\n    // returning `true` if all is well. Otherwise, fire an `\"invalid\"` event.\n    _validate: function(attrs, options) {\n      if (!options.validate || !this.validate) return true;\n      attrs = _.extend({}, this.attributes, attrs);\n      var error = this.validationError = this.validate(attrs, options) || null;\n      if (!error) return true;\n      this.trigger('invalid', this, error, _.extend(options, {validationError: error}));\n      return false;\n    }\n\n  });\n\n  // Underscore methods that we want to implement on the Model, mapped to the\n  // number of arguments they take.\n  var modelMethods = {keys: 1, values: 1, pairs: 1, invert: 1, pick: 0,\n      omit: 0, chain: 1, isEmpty: 1};\n\n  // Mix in each Underscore method as a proxy to `Model#attributes`.\n  addUnderscoreMethods(Model, modelMethods, 'attributes');\n\n  // Backbone.Collection\n  // -------------------\n\n  // If models tend to represent a single row of data, a Backbone Collection is\n  // more analogous to a table full of data ... or a small slice or page of that\n  // table, or a collection of rows that belong together for a particular reason\n  // -- all of the messages in this particular folder, all of the documents\n  // belonging to this particular author, and so on. Collections maintain\n  // indexes of their models, both in order, and for lookup by `id`.\n\n  // Create a new **Collection**, perhaps to contain a specific type of `model`.\n  // If a `comparator` is specified, the Collection will maintain\n  // its models in sort order, as they're added and removed.\n  var Collection = Backbone.Collection = function(models, options) {\n    options || (options = {});\n    if (options.model) this.model = options.model;\n    if (options.comparator !== void 0) this.comparator = options.comparator;\n    this._reset();\n    this.initialize.apply(this, arguments);\n    if (models) this.reset(models, _.extend({silent: true}, options));\n  };\n\n  // Default options for `Collection#set`.\n  var setOptions = {add: true, remove: true, merge: true};\n  var addOptions = {add: true, remove: false};\n\n  // Splices `insert` into `array` at index `at`.\n  var splice = function(array, insert, at) {\n    at = Math.min(Math.max(at, 0), array.length);\n    var tail = Array(array.length - at);\n    var length = insert.length;\n    var i;\n    for (i = 0; i < tail.length; i++) tail[i] = array[i + at];\n    for (i = 0; i < length; i++) array[i + at] = insert[i];\n    for (i = 0; i < tail.length; i++) array[i + length + at] = tail[i];\n  };\n\n  // Define the Collection's inheritable methods.\n  _.extend(Collection.prototype, Events, {\n\n    // The default model for a collection is just a **Backbone.Model**.\n    // This should be overridden in most cases.\n    model: Model,\n\n    // Initialize is an empty function by default. Override it with your own\n    // initialization logic.\n    initialize: function(){},\n\n    // The JSON representation of a Collection is an array of the\n    // models' attributes.\n    toJSON: function(options) {\n      return this.map(function(model) { return model.toJSON(options); });\n    },\n\n    // Proxy `Backbone.sync` by default.\n    sync: function() {\n      return Backbone.sync.apply(this, arguments);\n    },\n\n    // Add a model, or list of models to the set. `models` may be Backbone\n    // Models or raw JavaScript objects to be converted to Models, or any\n    // combination of the two.\n    add: function(models, options) {\n      return this.set(models, _.extend({merge: false}, options, addOptions));\n    },\n\n    // Remove a model, or a list of models from the set.\n    remove: function(models, options) {\n      options = _.extend({}, options);\n      var singular = !_.isArray(models);\n      models = singular ? [models] : models.slice();\n      var removed = this._removeModels(models, options);\n      if (!options.silent && removed.length) {\n        options.changes = {added: [], merged: [], removed: removed};\n        this.trigger('update', this, options);\n      }\n      return singular ? removed[0] : removed;\n    },\n\n    // Update a collection by `set`-ing a new list of models, adding new ones,\n    // removing models that are no longer present, and merging models that\n    // already exist in the collection, as necessary. Similar to **Model#set**,\n    // the core operation for updating the data contained by the collection.\n    set: function(models, options) {\n      if (models == null) return;\n\n      options = _.extend({}, setOptions, options);\n      if (options.parse && !this._isModel(models)) {\n        models = this.parse(models, options) || [];\n      }\n\n      var singular = !_.isArray(models);\n      models = singular ? [models] : models.slice();\n\n      var at = options.at;\n      if (at != null) at = +at;\n      if (at > this.length) at = this.length;\n      if (at < 0) at += this.length + 1;\n\n      var set = [];\n      var toAdd = [];\n      var toMerge = [];\n      var toRemove = [];\n      var modelMap = {};\n\n      var add = options.add;\n      var merge = options.merge;\n      var remove = options.remove;\n\n      var sort = false;\n      var sortable = this.comparator && at == null && options.sort !== false;\n      var sortAttr = _.isString(this.comparator) ? this.comparator : null;\n\n      // Turn bare objects into model references, and prevent invalid models\n      // from being added.\n      var model, i;\n      for (i = 0; i < models.length; i++) {\n        model = models[i];\n\n        // If a duplicate is found, prevent it from being added and\n        // optionally merge it into the existing model.\n        var existing = this.get(model);\n        if (existing) {\n          if (merge && model !== existing) {\n            var attrs = this._isModel(model) ? model.attributes : model;\n            if (options.parse) attrs = existing.parse(attrs, options);\n            existing.set(attrs, options);\n            toMerge.push(existing);\n            if (sortable && !sort) sort = existing.hasChanged(sortAttr);\n          }\n          if (!modelMap[existing.cid]) {\n            modelMap[existing.cid] = true;\n            set.push(existing);\n          }\n          models[i] = existing;\n\n        // If this is a new, valid model, push it to the `toAdd` list.\n        } else if (add) {\n          model = models[i] = this._prepareModel(model, options);\n          if (model) {\n            toAdd.push(model);\n            this._addReference(model, options);\n            modelMap[model.cid] = true;\n            set.push(model);\n          }\n        }\n      }\n\n      // Remove stale models.\n      if (remove) {\n        for (i = 0; i < this.length; i++) {\n          model = this.models[i];\n          if (!modelMap[model.cid]) toRemove.push(model);\n        }\n        if (toRemove.length) this._removeModels(toRemove, options);\n      }\n\n      // See if sorting is needed, update `length` and splice in new models.\n      var orderChanged = false;\n      var replace = !sortable && add && remove;\n      if (set.length && replace) {\n        orderChanged = this.length !== set.length || _.some(this.models, function(m, index) {\n          return m !== set[index];\n        });\n        this.models.length = 0;\n        splice(this.models, set, 0);\n        this.length = this.models.length;\n      } else if (toAdd.length) {\n        if (sortable) sort = true;\n        splice(this.models, toAdd, at == null ? this.length : at);\n        this.length = this.models.length;\n      }\n\n      // Silently sort the collection if appropriate.\n      if (sort) this.sort({silent: true});\n\n      // Unless silenced, it's time to fire all appropriate add/sort/update events.\n      if (!options.silent) {\n        for (i = 0; i < toAdd.length; i++) {\n          if (at != null) options.index = at + i;\n          model = toAdd[i];\n          model.trigger('add', model, this, options);\n        }\n        if (sort || orderChanged) this.trigger('sort', this, options);\n        if (toAdd.length || toRemove.length || toMerge.length) {\n          options.changes = {\n            added: toAdd,\n            removed: toRemove,\n            merged: toMerge\n          };\n          this.trigger('update', this, options);\n        }\n      }\n\n      // Return the added (or merged) model (or models).\n      return singular ? models[0] : models;\n    },\n\n    // When you have more items than you want to add or remove individually,\n    // you can reset the entire set with a new list of models, without firing\n    // any granular `add` or `remove` events. Fires `reset` when finished.\n    // Useful for bulk operations and optimizations.\n    reset: function(models, options) {\n      options = options ? _.clone(options) : {};\n      for (var i = 0; i < this.models.length; i++) {\n        this._removeReference(this.models[i], options);\n      }\n      options.previousModels = this.models;\n      this._reset();\n      models = this.add(models, _.extend({silent: true}, options));\n      if (!options.silent) this.trigger('reset', this, options);\n      return models;\n    },\n\n    // Add a model to the end of the collection.\n    push: function(model, options) {\n      return this.add(model, _.extend({at: this.length}, options));\n    },\n\n    // Remove a model from the end of the collection.\n    pop: function(options) {\n      var model = this.at(this.length - 1);\n      return this.remove(model, options);\n    },\n\n    // Add a model to the beginning of the collection.\n    unshift: function(model, options) {\n      return this.add(model, _.extend({at: 0}, options));\n    },\n\n    // Remove a model from the beginning of the collection.\n    shift: function(options) {\n      var model = this.at(0);\n      return this.remove(model, options);\n    },\n\n    // Slice out a sub-array of models from the collection.\n    slice: function() {\n      return slice.apply(this.models, arguments);\n    },\n\n    // Get a model from the set by id, cid, model object with id or cid\n    // properties, or an attributes object that is transformed through modelId.\n    get: function(obj) {\n      if (obj == null) return void 0;\n      return this._byId[obj] ||\n        this._byId[this.modelId(obj.attributes || obj)] ||\n        obj.cid && this._byId[obj.cid];\n    },\n\n    // Returns `true` if the model is in the collection.\n    has: function(obj) {\n      return this.get(obj) != null;\n    },\n\n    // Get the model at the given index.\n    at: function(index) {\n      if (index < 0) index += this.length;\n      return this.models[index];\n    },\n\n    // Return models with matching attributes. Useful for simple cases of\n    // `filter`.\n    where: function(attrs, first) {\n      return this[first ? 'find' : 'filter'](attrs);\n    },\n\n    // Return the first model with matching attributes. Useful for simple cases\n    // of `find`.\n    findWhere: function(attrs) {\n      return this.where(attrs, true);\n    },\n\n    // Force the collection to re-sort itself. You don't need to call this under\n    // normal circumstances, as the set will maintain sort order as each item\n    // is added.\n    sort: function(options) {\n      var comparator = this.comparator;\n      if (!comparator) throw new Error('Cannot sort a set without a comparator');\n      options || (options = {});\n\n      var length = comparator.length;\n      if (_.isFunction(comparator)) comparator = _.bind(comparator, this);\n\n      // Run sort based on type of `comparator`.\n      if (length === 1 || _.isString(comparator)) {\n        this.models = this.sortBy(comparator);\n      } else {\n        this.models.sort(comparator);\n      }\n      if (!options.silent) this.trigger('sort', this, options);\n      return this;\n    },\n\n    // Pluck an attribute from each model in the collection.\n    pluck: function(attr) {\n      return this.map(attr + '');\n    },\n\n    // Fetch the default set of models for this collection, resetting the\n    // collection when they arrive. If `reset: true` is passed, the response\n    // data will be passed through the `reset` method instead of `set`.\n    fetch: function(options) {\n      options = _.extend({parse: true}, options);\n      var success = options.success;\n      var collection = this;\n      options.success = function(resp) {\n        var method = options.reset ? 'reset' : 'set';\n        collection[method](resp, options);\n        if (success) success.call(options.context, collection, resp, options);\n        collection.trigger('sync', collection, resp, options);\n      };\n      wrapError(this, options);\n      return this.sync('read', this, options);\n    },\n\n    // Create a new instance of a model in this collection. Add the model to the\n    // collection immediately, unless `wait: true` is passed, in which case we\n    // wait for the server to agree.\n    create: function(model, options) {\n      options = options ? _.clone(options) : {};\n      var wait = options.wait;\n      model = this._prepareModel(model, options);\n      if (!model) return false;\n      if (!wait) this.add(model, options);\n      var collection = this;\n      var success = options.success;\n      options.success = function(m, resp, callbackOpts) {\n        if (wait) collection.add(m, callbackOpts);\n        if (success) success.call(callbackOpts.context, m, resp, callbackOpts);\n      };\n      model.save(null, options);\n      return model;\n    },\n\n    // **parse** converts a response into a list of models to be added to the\n    // collection. The default implementation is just to pass it through.\n    parse: function(resp, options) {\n      return resp;\n    },\n\n    // Create a new collection with an identical list of models as this one.\n    clone: function() {\n      return new this.constructor(this.models, {\n        model: this.model,\n        comparator: this.comparator\n      });\n    },\n\n    // Define how to uniquely identify models in the collection.\n    modelId: function(attrs) {\n      return attrs[this.model.prototype.idAttribute || 'id'];\n    },\n\n    // Private method to reset all internal state. Called when the collection\n    // is first initialized or reset.\n    _reset: function() {\n      this.length = 0;\n      this.models = [];\n      this._byId  = {};\n    },\n\n    // Prepare a hash of attributes (or other model) to be added to this\n    // collection.\n    _prepareModel: function(attrs, options) {\n      if (this._isModel(attrs)) {\n        if (!attrs.collection) attrs.collection = this;\n        return attrs;\n      }\n      options = options ? _.clone(options) : {};\n      options.collection = this;\n      var model = new this.model(attrs, options);\n      if (!model.validationError) return model;\n      this.trigger('invalid', this, model.validationError, options);\n      return false;\n    },\n\n    // Internal method called by both remove and set.\n    _removeModels: function(models, options) {\n      var removed = [];\n      for (var i = 0; i < models.length; i++) {\n        var model = this.get(models[i]);\n        if (!model) continue;\n\n        var index = this.indexOf(model);\n        this.models.splice(index, 1);\n        this.length--;\n\n        // Remove references before triggering 'remove' event to prevent an\n        // infinite loop. #3693\n        delete this._byId[model.cid];\n        var id = this.modelId(model.attributes);\n        if (id != null) delete this._byId[id];\n\n        if (!options.silent) {\n          options.index = index;\n          model.trigger('remove', model, this, options);\n        }\n\n        removed.push(model);\n        this._removeReference(model, options);\n      }\n      return removed;\n    },\n\n    // Method for checking whether an object should be considered a model for\n    // the purposes of adding to the collection.\n    _isModel: function(model) {\n      return model instanceof Model;\n    },\n\n    // Internal method to create a model's ties to a collection.\n    _addReference: function(model, options) {\n      this._byId[model.cid] = model;\n      var id = this.modelId(model.attributes);\n      if (id != null) this._byId[id] = model;\n      model.on('all', this._onModelEvent, this);\n    },\n\n    // Internal method to sever a model's ties to a collection.\n    _removeReference: function(model, options) {\n      delete this._byId[model.cid];\n      var id = this.modelId(model.attributes);\n      if (id != null) delete this._byId[id];\n      if (this === model.collection) delete model.collection;\n      model.off('all', this._onModelEvent, this);\n    },\n\n    // Internal method called every time a model in the set fires an event.\n    // Sets need to update their indexes when models change ids. All other\n    // events simply proxy through. \"add\" and \"remove\" events that originate\n    // in other collections are ignored.\n    _onModelEvent: function(event, model, collection, options) {\n      if (model) {\n        if ((event === 'add' || event === 'remove') && collection !== this) return;\n        if (event === 'destroy') this.remove(model, options);\n        if (event === 'change') {\n          var prevId = this.modelId(model.previousAttributes());\n          var id = this.modelId(model.attributes);\n          if (prevId !== id) {\n            if (prevId != null) delete this._byId[prevId];\n            if (id != null) this._byId[id] = model;\n          }\n        }\n      }\n      this.trigger.apply(this, arguments);\n    }\n\n  });\n\n  // Underscore methods that we want to implement on the Collection.\n  // 90% of the core usefulness of Backbone Collections is actually implemented\n  // right here:\n  var collectionMethods = {forEach: 3, each: 3, map: 3, collect: 3, reduce: 0,\n      foldl: 0, inject: 0, reduceRight: 0, foldr: 0, find: 3, detect: 3, filter: 3,\n      select: 3, reject: 3, every: 3, all: 3, some: 3, any: 3, include: 3, includes: 3,\n      contains: 3, invoke: 0, max: 3, min: 3, toArray: 1, size: 1, first: 3,\n      head: 3, take: 3, initial: 3, rest: 3, tail: 3, drop: 3, last: 3,\n      without: 0, difference: 0, indexOf: 3, shuffle: 1, lastIndexOf: 3,\n      isEmpty: 1, chain: 1, sample: 3, partition: 3, groupBy: 3, countBy: 3,\n      sortBy: 3, indexBy: 3, findIndex: 3, findLastIndex: 3};\n\n  // Mix in each Underscore method as a proxy to `Collection#models`.\n  addUnderscoreMethods(Collection, collectionMethods, 'models');\n\n  // Backbone.View\n  // -------------\n\n  // Backbone Views are almost more convention than they are actual code. A View\n  // is simply a JavaScript object that represents a logical chunk of UI in the\n  // DOM. This might be a single item, an entire list, a sidebar or panel, or\n  // even the surrounding frame which wraps your whole app. Defining a chunk of\n  // UI as a **View** allows you to define your DOM events declaratively, without\n  // having to worry about render order ... and makes it easy for the view to\n  // react to specific changes in the state of your models.\n\n  // Creating a Backbone.View creates its initial element outside of the DOM,\n  // if an existing element is not provided...\n  var View = Backbone.View = function(options) {\n    this.cid = _.uniqueId('view');\n    _.extend(this, _.pick(options, viewOptions));\n    this._ensureElement();\n    this.initialize.apply(this, arguments);\n  };\n\n  // Cached regex to split keys for `delegate`.\n  var delegateEventSplitter = /^(\\S+)\\s*(.*)$/;\n\n  // List of view options to be set as properties.\n  var viewOptions = ['model', 'collection', 'el', 'id', 'attributes', 'className', 'tagName', 'events'];\n\n  // Set up all inheritable **Backbone.View** properties and methods.\n  _.extend(View.prototype, Events, {\n\n    // The default `tagName` of a View's element is `\"div\"`.\n    tagName: 'div',\n\n    // jQuery delegate for element lookup, scoped to DOM elements within the\n    // current view. This should be preferred to global lookups where possible.\n    $: function(selector) {\n      return this.$el.find(selector);\n    },\n\n    // Initialize is an empty function by default. Override it with your own\n    // initialization logic.\n    initialize: function(){},\n\n    // **render** is the core function that your view should override, in order\n    // to populate its element (`this.el`), with the appropriate HTML. The\n    // convention is for **render** to always return `this`.\n    render: function() {\n      return this;\n    },\n\n    // Remove this view by taking the element out of the DOM, and removing any\n    // applicable Backbone.Events listeners.\n    remove: function() {\n      this._removeElement();\n      this.stopListening();\n      return this;\n    },\n\n    // Remove this view's element from the document and all event listeners\n    // attached to it. Exposed for subclasses using an alternative DOM\n    // manipulation API.\n    _removeElement: function() {\n      this.$el.remove();\n    },\n\n    // Change the view's element (`this.el` property) and re-delegate the\n    // view's events on the new element.\n    setElement: function(element) {\n      this.undelegateEvents();\n      this._setElement(element);\n      this.delegateEvents();\n      return this;\n    },\n\n    // Creates the `this.el` and `this.$el` references for this view using the\n    // given `el`. `el` can be a CSS selector or an HTML string, a jQuery\n    // context or an element. Subclasses can override this to utilize an\n    // alternative DOM manipulation API and are only required to set the\n    // `this.el` property.\n    _setElement: function(el) {\n      this.$el = el instanceof Backbone.$ ? el : Backbone.$(el);\n      this.el = this.$el[0];\n    },\n\n    // Set callbacks, where `this.events` is a hash of\n    //\n    // *{\"event selector\": \"callback\"}*\n    //\n    //     {\n    //       'mousedown .title':  'edit',\n    //       'click .button':     'save',\n    //       'click .open':       function(e) { ... }\n    //     }\n    //\n    // pairs. Callbacks will be bound to the view, with `this` set properly.\n    // Uses event delegation for efficiency.\n    // Omitting the selector binds the event to `this.el`.\n    delegateEvents: function(events) {\n      events || (events = _.result(this, 'events'));\n      if (!events) return this;\n      this.undelegateEvents();\n      for (var key in events) {\n        var method = events[key];\n        if (!_.isFunction(method)) method = this[method];\n        if (!method) continue;\n        var match = key.match(delegateEventSplitter);\n        this.delegate(match[1], match[2], _.bind(method, this));\n      }\n      return this;\n    },\n\n    // Add a single event listener to the view's element (or a child element\n    // using `selector`). This only works for delegate-able events: not `focus`,\n    // `blur`, and not `change`, `submit`, and `reset` in Internet Explorer.\n    delegate: function(eventName, selector, listener) {\n      this.$el.on(eventName + '.delegateEvents' + this.cid, selector, listener);\n      return this;\n    },\n\n    // Clears all callbacks previously bound to the view by `delegateEvents`.\n    // You usually don't need to use this, but may wish to if you have multiple\n    // Backbone views attached to the same DOM element.\n    undelegateEvents: function() {\n      if (this.$el) this.$el.off('.delegateEvents' + this.cid);\n      return this;\n    },\n\n    // A finer-grained `undelegateEvents` for removing a single delegated event.\n    // `selector` and `listener` are both optional.\n    undelegate: function(eventName, selector, listener) {\n      this.$el.off(eventName + '.delegateEvents' + this.cid, selector, listener);\n      return this;\n    },\n\n    // Produces a DOM element to be assigned to your view. Exposed for\n    // subclasses using an alternative DOM manipulation API.\n    _createElement: function(tagName) {\n      return document.createElement(tagName);\n    },\n\n    // Ensure that the View has a DOM element to render into.\n    // If `this.el` is a string, pass it through `$()`, take the first\n    // matching element, and re-assign it to `el`. Otherwise, create\n    // an element from the `id`, `className` and `tagName` properties.\n    _ensureElement: function() {\n      if (!this.el) {\n        var attrs = _.extend({}, _.result(this, 'attributes'));\n        if (this.id) attrs.id = _.result(this, 'id');\n        if (this.className) attrs['class'] = _.result(this, 'className');\n        this.setElement(this._createElement(_.result(this, 'tagName')));\n        this._setAttributes(attrs);\n      } else {\n        this.setElement(_.result(this, 'el'));\n      }\n    },\n\n    // Set attributes from a hash on this view's element.  Exposed for\n    // subclasses using an alternative DOM manipulation API.\n    _setAttributes: function(attributes) {\n      this.$el.attr(attributes);\n    }\n\n  });\n\n  // Backbone.sync\n  // -------------\n\n  // Override this function to change the manner in which Backbone persists\n  // models to the server. You will be passed the type of request, and the\n  // model in question. By default, makes a RESTful Ajax request\n  // to the model's `url()`. Some possible customizations could be:\n  //\n  // * Use `setTimeout` to batch rapid-fire updates into a single request.\n  // * Send up the models as XML instead of JSON.\n  // * Persist models via WebSockets instead of Ajax.\n  //\n  // Turn on `Backbone.emulateHTTP` in order to send `PUT` and `DELETE` requests\n  // as `POST`, with a `_method` parameter containing the true HTTP method,\n  // as well as all requests with the body as `application/x-www-form-urlencoded`\n  // instead of `application/json` with the model in a param named `model`.\n  // Useful when interfacing with server-side languages like **PHP** that make\n  // it difficult to read the body of `PUT` requests.\n  Backbone.sync = function(method, model, options) {\n    var type = methodMap[method];\n\n    // Default options, unless specified.\n    _.defaults(options || (options = {}), {\n      emulateHTTP: Backbone.emulateHTTP,\n      emulateJSON: Backbone.emulateJSON\n    });\n\n    // Default JSON-request options.\n    var params = {type: type, dataType: 'json'};\n\n    // Ensure that we have a URL.\n    if (!options.url) {\n      params.url = _.result(model, 'url') || urlError();\n    }\n\n    // Ensure that we have the appropriate request data.\n    if (options.data == null && model && (method === 'create' || method === 'update' || method === 'patch')) {\n      params.contentType = 'application/json';\n      params.data = JSON.stringify(options.attrs || model.toJSON(options));\n    }\n\n    // For older servers, emulate JSON by encoding the request into an HTML-form.\n    if (options.emulateJSON) {\n      params.contentType = 'application/x-www-form-urlencoded';\n      params.data = params.data ? {model: params.data} : {};\n    }\n\n    // For older servers, emulate HTTP by mimicking the HTTP method with `_method`\n    // And an `X-HTTP-Method-Override` header.\n    if (options.emulateHTTP && (type === 'PUT' || type === 'DELETE' || type === 'PATCH')) {\n      params.type = 'POST';\n      if (options.emulateJSON) params.data._method = type;\n      var beforeSend = options.beforeSend;\n      options.beforeSend = function(xhr) {\n        xhr.setRequestHeader('X-HTTP-Method-Override', type);\n        if (beforeSend) return beforeSend.apply(this, arguments);\n      };\n    }\n\n    // Don't process data on a non-GET request.\n    if (params.type !== 'GET' && !options.emulateJSON) {\n      params.processData = false;\n    }\n\n    // Pass along `textStatus` and `errorThrown` from jQuery.\n    var error = options.error;\n    options.error = function(xhr, textStatus, errorThrown) {\n      options.textStatus = textStatus;\n      options.errorThrown = errorThrown;\n      if (error) error.call(options.context, xhr, textStatus, errorThrown);\n    };\n\n    // Make the request, allowing the user to override any Ajax options.\n    var xhr = options.xhr = Backbone.ajax(_.extend(params, options));\n    model.trigger('request', model, xhr, options);\n    return xhr;\n  };\n\n  // Map from CRUD to HTTP for our default `Backbone.sync` implementation.\n  var methodMap = {\n    'create': 'POST',\n    'update': 'PUT',\n    'patch': 'PATCH',\n    'delete': 'DELETE',\n    'read': 'GET'\n  };\n\n  // Set the default implementation of `Backbone.ajax` to proxy through to `$`.\n  // Override this if you'd like to use a different library.\n  Backbone.ajax = function() {\n    return Backbone.$.ajax.apply(Backbone.$, arguments);\n  };\n\n  // Backbone.Router\n  // ---------------\n\n  // Routers map faux-URLs to actions, and fire events when routes are\n  // matched. Creating a new one sets its `routes` hash, if not set statically.\n  var Router = Backbone.Router = function(options) {\n    options || (options = {});\n    if (options.routes) this.routes = options.routes;\n    this._bindRoutes();\n    this.initialize.apply(this, arguments);\n  };\n\n  // Cached regular expressions for matching named param parts and splatted\n  // parts of route strings.\n  var optionalParam = /\\((.*?)\\)/g;\n  var namedParam    = /(\\(\\?)?:\\w+/g;\n  var splatParam    = /\\*\\w+/g;\n  var escapeRegExp  = /[\\-{}\\[\\]+?.,\\\\\\^$|#\\s]/g;\n\n  // Set up all inheritable **Backbone.Router** properties and methods.\n  _.extend(Router.prototype, Events, {\n\n    // Initialize is an empty function by default. Override it with your own\n    // initialization logic.\n    initialize: function(){},\n\n    // Manually bind a single named route to a callback. For example:\n    //\n    //     this.route('search/:query/p:num', 'search', function(query, num) {\n    //       ...\n    //     });\n    //\n    route: function(route, name, callback) {\n      if (!_.isRegExp(route)) route = this._routeToRegExp(route);\n      if (_.isFunction(name)) {\n        callback = name;\n        name = '';\n      }\n      if (!callback) callback = this[name];\n      var router = this;\n      Backbone.history.route(route, function(fragment) {\n        var args = router._extractParameters(route, fragment);\n        if (router.execute(callback, args, name) !== false) {\n          router.trigger.apply(router, ['route:' + name].concat(args));\n          router.trigger('route', name, args);\n          Backbone.history.trigger('route', router, name, args);\n        }\n      });\n      return this;\n    },\n\n    // Execute a route handler with the provided parameters.  This is an\n    // excellent place to do pre-route setup or post-route cleanup.\n    execute: function(callback, args, name) {\n      if (callback) callback.apply(this, args);\n    },\n\n    // Simple proxy to `Backbone.history` to save a fragment into the history.\n    navigate: function(fragment, options) {\n      Backbone.history.navigate(fragment, options);\n      return this;\n    },\n\n    // Bind all defined routes to `Backbone.history`. We have to reverse the\n    // order of the routes here to support behavior where the most general\n    // routes can be defined at the bottom of the route map.\n    _bindRoutes: function() {\n      if (!this.routes) return;\n      this.routes = _.result(this, 'routes');\n      var route, routes = _.keys(this.routes);\n      while ((route = routes.pop()) != null) {\n        this.route(route, this.routes[route]);\n      }\n    },\n\n    // Convert a route string into a regular expression, suitable for matching\n    // against the current location hash.\n    _routeToRegExp: function(route) {\n      route = route.replace(escapeRegExp, '\\\\$&')\n                   .replace(optionalParam, '(?:$1)?')\n                   .replace(namedParam, function(match, optional) {\n                     return optional ? match : '([^/?]+)';\n                   })\n                   .replace(splatParam, '([^?]*?)');\n      return new RegExp('^' + route + '(?:\\\\?([\\\\s\\\\S]*))?$');\n    },\n\n    // Given a route, and a URL fragment that it matches, return the array of\n    // extracted decoded parameters. Empty or unmatched parameters will be\n    // treated as `null` to normalize cross-browser behavior.\n    _extractParameters: function(route, fragment) {\n      var params = route.exec(fragment).slice(1);\n      return _.map(params, function(param, i) {\n        // Don't decode the search params.\n        if (i === params.length - 1) return param || null;\n        return param ? decodeURIComponent(param) : null;\n      });\n    }\n\n  });\n\n  // Backbone.History\n  // ----------------\n\n  // Handles cross-browser history management, based on either\n  // [pushState](http://diveintohtml5.info/history.html) and real URLs, or\n  // [onhashchange](https://developer.mozilla.org/en-US/docs/DOM/window.onhashchange)\n  // and URL fragments. If the browser supports neither (old IE, natch),\n  // falls back to polling.\n  var History = Backbone.History = function() {\n    this.handlers = [];\n    this.checkUrl = _.bind(this.checkUrl, this);\n\n    // Ensure that `History` can be used outside of the browser.\n    if (typeof window !== 'undefined') {\n      this.location = window.location;\n      this.history = window.history;\n    }\n  };\n\n  // Cached regex for stripping a leading hash/slash and trailing space.\n  var routeStripper = /^[#\\/]|\\s+$/g;\n\n  // Cached regex for stripping leading and trailing slashes.\n  var rootStripper = /^\\/+|\\/+$/g;\n\n  // Cached regex for stripping urls of hash.\n  var pathStripper = /#.*$/;\n\n  // Has the history handling already been started?\n  History.started = false;\n\n  // Set up all inheritable **Backbone.History** properties and methods.\n  _.extend(History.prototype, Events, {\n\n    // The default interval to poll for hash changes, if necessary, is\n    // twenty times a second.\n    interval: 50,\n\n    // Are we at the app root?\n    atRoot: function() {\n      var path = this.location.pathname.replace(/[^\\/]$/, '$&/');\n      return path === this.root && !this.getSearch();\n    },\n\n    // Does the pathname match the root?\n    matchRoot: function() {\n      var path = this.decodeFragment(this.location.pathname);\n      var rootPath = path.slice(0, this.root.length - 1) + '/';\n      return rootPath === this.root;\n    },\n\n    // Unicode characters in `location.pathname` are percent encoded so they're\n    // decoded for comparison. `%25` should not be decoded since it may be part\n    // of an encoded parameter.\n    decodeFragment: function(fragment) {\n      return decodeURI(fragment.replace(/%25/g, '%2525'));\n    },\n\n    // In IE6, the hash fragment and search params are incorrect if the\n    // fragment contains `?`.\n    getSearch: function() {\n      var match = this.location.href.replace(/#.*/, '').match(/\\?.+/);\n      return match ? match[0] : '';\n    },\n\n    // Gets the true hash value. Cannot use location.hash directly due to bug\n    // in Firefox where location.hash will always be decoded.\n    getHash: function(window) {\n      var match = (window || this).location.href.match(/#(.*)$/);\n      return match ? match[1] : '';\n    },\n\n    // Get the pathname and search params, without the root.\n    getPath: function() {\n      var path = this.decodeFragment(\n        this.location.pathname + this.getSearch()\n      ).slice(this.root.length - 1);\n      return path.charAt(0) === '/' ? path.slice(1) : path;\n    },\n\n    // Get the cross-browser normalized URL fragment from the path or hash.\n    getFragment: function(fragment) {\n      if (fragment == null) {\n        if (this._usePushState || !this._wantsHashChange) {\n          fragment = this.getPath();\n        } else {\n          fragment = this.getHash();\n        }\n      }\n      return fragment.replace(routeStripper, '');\n    },\n\n    // Start the hash change handling, returning `true` if the current URL matches\n    // an existing route, and `false` otherwise.\n    start: function(options) {\n      if (History.started) throw new Error('Backbone.history has already been started');\n      History.started = true;\n\n      // Figure out the initial configuration. Do we need an iframe?\n      // Is pushState desired ... is it available?\n      this.options          = _.extend({root: '/'}, this.options, options);\n      this.root             = this.options.root;\n      this._wantsHashChange = this.options.hashChange !== false;\n      this._hasHashChange   = 'onhashchange' in window && (document.documentMode === void 0 || document.documentMode > 7);\n      this._useHashChange   = this._wantsHashChange && this._hasHashChange;\n      this._wantsPushState  = !!this.options.pushState;\n      this._hasPushState    = !!(this.history && this.history.pushState);\n      this._usePushState    = this._wantsPushState && this._hasPushState;\n      this.fragment         = this.getFragment();\n\n      // Normalize root to always include a leading and trailing slash.\n      this.root = ('/' + this.root + '/').replace(rootStripper, '/');\n\n      // Transition from hashChange to pushState or vice versa if both are\n      // requested.\n      if (this._wantsHashChange && this._wantsPushState) {\n\n        // If we've started off with a route from a `pushState`-enabled\n        // browser, but we're currently in a browser that doesn't support it...\n        if (!this._hasPushState && !this.atRoot()) {\n          var rootPath = this.root.slice(0, -1) || '/';\n          this.location.replace(rootPath + '#' + this.getPath());\n          // Return immediately as browser will do redirect to new url\n          return true;\n\n        // Or if we've started out with a hash-based route, but we're currently\n        // in a browser where it could be `pushState`-based instead...\n        } else if (this._hasPushState && this.atRoot()) {\n          this.navigate(this.getHash(), {replace: true});\n        }\n\n      }\n\n      // Proxy an iframe to handle location events if the browser doesn't\n      // support the `hashchange` event, HTML5 history, or the user wants\n      // `hashChange` but not `pushState`.\n      if (!this._hasHashChange && this._wantsHashChange && !this._usePushState) {\n        this.iframe = document.createElement('iframe');\n        this.iframe.src = 'javascript:0';\n        this.iframe.style.display = 'none';\n        this.iframe.tabIndex = -1;\n        var body = document.body;\n        // Using `appendChild` will throw on IE < 9 if the document is not ready.\n        var iWindow = body.insertBefore(this.iframe, body.firstChild).contentWindow;\n        iWindow.document.open();\n        iWindow.document.close();\n        iWindow.location.hash = '#' + this.fragment;\n      }\n\n      // Add a cross-platform `addEventListener` shim for older browsers.\n      var addEventListener = window.addEventListener || function(eventName, listener) {\n        return attachEvent('on' + eventName, listener);\n      };\n\n      // Depending on whether we're using pushState or hashes, and whether\n      // 'onhashchange' is supported, determine how we check the URL state.\n      if (this._usePushState) {\n        addEventListener('popstate', this.checkUrl, false);\n      } else if (this._useHashChange && !this.iframe) {\n        addEventListener('hashchange', this.checkUrl, false);\n      } else if (this._wantsHashChange) {\n        this._checkUrlInterval = setInterval(this.checkUrl, this.interval);\n      }\n\n      if (!this.options.silent) return this.loadUrl();\n    },\n\n    // Disable Backbone.history, perhaps temporarily. Not useful in a real app,\n    // but possibly useful for unit testing Routers.\n    stop: function() {\n      // Add a cross-platform `removeEventListener` shim for older browsers.\n      var removeEventListener = window.removeEventListener || function(eventName, listener) {\n        return detachEvent('on' + eventName, listener);\n      };\n\n      // Remove window listeners.\n      if (this._usePushState) {\n        removeEventListener('popstate', this.checkUrl, false);\n      } else if (this._useHashChange && !this.iframe) {\n        removeEventListener('hashchange', this.checkUrl, false);\n      }\n\n      // Clean up the iframe if necessary.\n      if (this.iframe) {\n        document.body.removeChild(this.iframe);\n        this.iframe = null;\n      }\n\n      // Some environments will throw when clearing an undefined interval.\n      if (this._checkUrlInterval) clearInterval(this._checkUrlInterval);\n      History.started = false;\n    },\n\n    // Add a route to be tested when the fragment changes. Routes added later\n    // may override previous routes.\n    route: function(route, callback) {\n      this.handlers.unshift({route: route, callback: callback});\n    },\n\n    // Checks the current URL to see if it has changed, and if it has,\n    // calls `loadUrl`, normalizing across the hidden iframe.\n    checkUrl: function(e) {\n      var current = this.getFragment();\n\n      // If the user pressed the back button, the iframe's hash will have\n      // changed and we should use that for comparison.\n      if (current === this.fragment && this.iframe) {\n        current = this.getHash(this.iframe.contentWindow);\n      }\n\n      if (current === this.fragment) return false;\n      if (this.iframe) this.navigate(current);\n      this.loadUrl();\n    },\n\n    // Attempt to load the current URL fragment. If a route succeeds with a\n    // match, returns `true`. If no defined routes matches the fragment,\n    // returns `false`.\n    loadUrl: function(fragment) {\n      // If the root doesn't match, no routes can match either.\n      if (!this.matchRoot()) return false;\n      fragment = this.fragment = this.getFragment(fragment);\n      return _.some(this.handlers, function(handler) {\n        if (handler.route.test(fragment)) {\n          handler.callback(fragment);\n          return true;\n        }\n      });\n    },\n\n    // Save a fragment into the hash history, or replace the URL state if the\n    // 'replace' option is passed. You are responsible for properly URL-encoding\n    // the fragment in advance.\n    //\n    // The options object can contain `trigger: true` if you wish to have the\n    // route callback be fired (not usually desirable), or `replace: true`, if\n    // you wish to modify the current URL without adding an entry to the history.\n    navigate: function(fragment, options) {\n      if (!History.started) return false;\n      if (!options || options === true) options = {trigger: !!options};\n\n      // Normalize the fragment.\n      fragment = this.getFragment(fragment || '');\n\n      // Don't include a trailing slash on the root.\n      var rootPath = this.root;\n      if (fragment === '' || fragment.charAt(0) === '?') {\n        rootPath = rootPath.slice(0, -1) || '/';\n      }\n      var url = rootPath + fragment;\n\n      // Strip the hash and decode for matching.\n      fragment = this.decodeFragment(fragment.replace(pathStripper, ''));\n\n      if (this.fragment === fragment) return;\n      this.fragment = fragment;\n\n      // If pushState is available, we use it to set the fragment as a real URL.\n      if (this._usePushState) {\n        this.history[options.replace ? 'replaceState' : 'pushState']({}, document.title, url);\n\n      // If hash changes haven't been explicitly disabled, update the hash\n      // fragment to store history.\n      } else if (this._wantsHashChange) {\n        this._updateHash(this.location, fragment, options.replace);\n        if (this.iframe && fragment !== this.getHash(this.iframe.contentWindow)) {\n          var iWindow = this.iframe.contentWindow;\n\n          // Opening and closing the iframe tricks IE7 and earlier to push a\n          // history entry on hash-tag change.  When replace is true, we don't\n          // want this.\n          if (!options.replace) {\n            iWindow.document.open();\n            iWindow.document.close();\n          }\n\n          this._updateHash(iWindow.location, fragment, options.replace);\n        }\n\n      // If you've told us that you explicitly don't want fallback hashchange-\n      // based history, then `navigate` becomes a page refresh.\n      } else {\n        return this.location.assign(url);\n      }\n      if (options.trigger) return this.loadUrl(fragment);\n    },\n\n    // Update the hash location, either replacing the current entry, or adding\n    // a new one to the browser history.\n    _updateHash: function(location, fragment, replace) {\n      if (replace) {\n        var href = location.href.replace(/(javascript:|#).*$/, '');\n        location.replace(href + '#' + fragment);\n      } else {\n        // Some browsers require that `hash` contains a leading #.\n        location.hash = '#' + fragment;\n      }\n    }\n\n  });\n\n  // Create the default Backbone.history.\n  Backbone.history = new History;\n\n  // Helpers\n  // -------\n\n  // Helper function to correctly set up the prototype chain for subclasses.\n  // Similar to `goog.inherits`, but uses a hash of prototype properties and\n  // class properties to be extended.\n  var extend = function(protoProps, staticProps) {\n    var parent = this;\n    var child;\n\n    // The constructor function for the new subclass is either defined by you\n    // (the \"constructor\" property in your `extend` definition), or defaulted\n    // by us to simply call the parent constructor.\n    if (protoProps && _.has(protoProps, 'constructor')) {\n      child = protoProps.constructor;\n    } else {\n      child = function(){ return parent.apply(this, arguments); };\n    }\n\n    // Add static properties to the constructor function, if supplied.\n    _.extend(child, parent, staticProps);\n\n    // Set the prototype chain to inherit from `parent`, without calling\n    // `parent`'s constructor function and add the prototype properties.\n    child.prototype = _.create(parent.prototype, protoProps);\n    child.prototype.constructor = child;\n\n    // Set a convenience property in case the parent's prototype is needed\n    // later.\n    child.__super__ = parent.prototype;\n\n    return child;\n  };\n\n  // Set up inheritance for the model, collection, router, view and history.\n  Model.extend = Collection.extend = Router.extend = View.extend = History.extend = extend;\n\n  // Throw an error when a URL is needed, and none is supplied.\n  var urlError = function() {\n    throw new Error('A \"url\" property or function must be specified');\n  };\n\n  // Wrap an optional error callback with a fallback error event.\n  var wrapError = function(model, options) {\n    var error = options.error;\n    options.error = function(resp) {\n      if (error) error.call(options.context, model, resp, options);\n      model.trigger('error', model, resp, options);\n    };\n  };\n\n  return Backbone;\n});\n","(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"codemirror/lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"codemirror/lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\n  CodeMirror.extendMode(\"css\", {\n    commentStart: \"/*\",\n    commentEnd: \"*/\",\n    newlineAfterToken: function(_type, content) {\n      return /^[;{}]$/.test(content);\n    }\n  });\n\n  CodeMirror.extendMode(\"javascript\", {\n    commentStart: \"/*\",\n    commentEnd: \"*/\",\n    // FIXME semicolons inside of for\n    newlineAfterToken: function(_type, content, textAfter, state) {\n      if (this.jsonMode) {\n        return /^[\\[,{]$/.test(content) || /^}/.test(textAfter);\n      } else {\n        if (content == \";\" && state.lexical && state.lexical.type == \")\") return false;\n        return /^[;{}]$/.test(content) && !/^;/.test(textAfter);\n      }\n    }\n  });\n\n  var inlineElements = /^(a|abbr|acronym|area|base|bdo|big|br|button|caption|cite|code|col|colgroup|dd|del|dfn|em|frame|hr|iframe|img|input|ins|kbd|label|legend|link|map|object|optgroup|option|param|q|samp|script|select|small|span|strong|sub|sup|textarea|tt|var)$/;\n\n  CodeMirror.extendMode(\"xml\", {\n    commentStart: \"<!--\",\n    commentEnd: \"-->\",\n    newlineAfterToken: function(type, content, textAfter, state) {\n      var inline = false;\n      if (this.configuration == \"html\")\n        inline = state.context ? inlineElements.test(state.context.tagName) : false;\n      return !inline && ((type == \"tag\" && />$/.test(content) && state.context) ||\n                         /^</.test(textAfter));\n    }\n  });\n\n  // Comment/uncomment the specified range\n  CodeMirror.defineExtension(\"commentRange\", function (isComment, from, to) {\n    var cm = this, curMode = CodeMirror.innerMode(cm.getMode(), cm.getTokenAt(from).state).mode;\n    cm.operation(function() {\n      if (isComment) { // Comment range\n        cm.replaceRange(curMode.commentEnd, to);\n        cm.replaceRange(curMode.commentStart, from);\n        if (from.line == to.line && from.ch == to.ch) // An empty comment inserted - put cursor inside\n          cm.setCursor(from.line, from.ch + curMode.commentStart.length);\n      } else { // Uncomment range\n        var selText = cm.getRange(from, to);\n        var startIndex = selText.indexOf(curMode.commentStart);\n        var endIndex = selText.lastIndexOf(curMode.commentEnd);\n        if (startIndex > -1 && endIndex > -1 && endIndex > startIndex) {\n          // Take string till comment start\n          selText = selText.substr(0, startIndex) +\n          // From comment start till comment end\n             selText.substring(startIndex + curMode.commentStart.length, endIndex) +\n          // From comment end till string end\n             selText.substr(endIndex + curMode.commentEnd.length);\n        }\n        cm.replaceRange(selText, from, to);\n      }\n    });\n  });\n\n  // Applies automatic mode-aware indentation to the specified range\n  CodeMirror.defineExtension(\"autoIndentRange\", function (from, to) {\n    var cmInstance = this;\n    this.operation(function () {\n      for (var i = from.line; i <= to.line; i++) {\n        cmInstance.indentLine(i, \"smart\");\n      }\n    });\n  });\n\n  // Applies automatic formatting to the specified range\n  CodeMirror.defineExtension(\"autoFormatRange\", function (from, to) {\n    var cm = this;\n    var outer = cm.getMode(), text = cm.getRange(from, to).split(\"\\n\");\n    var state = CodeMirror.copyState(outer, cm.getTokenAt(from).state);\n    var tabSize = cm.getOption(\"tabSize\");\n\n    var out = \"\", lines = 0, atSol = from.ch === 0;\n    function newline() {\n      out += \"\\n\";\n      atSol = true;\n      ++lines;\n    }\n\n    for (var i = 0; i < text.length; ++i) {\n      var stream = new CodeMirror.StringStream(text[i], tabSize);\n      while (!stream.eol()) {\n        var inner = CodeMirror.innerMode(outer, state);\n        var style = outer.token(stream, state), cur = stream.current();\n        stream.start = stream.pos;\n        if (!atSol || /\\S/.test(cur)) {\n          out += cur;\n          atSol = false;\n        }\n        if (!atSol && inner.mode.newlineAfterToken &&\n            inner.mode.newlineAfterToken(style, cur, stream.string.slice(stream.pos) || text[i+1] || \"\", inner.state))\n          newline();\n      }\n      if (!stream.pos && outer.blankLine) outer.blankLine(state);\n      if (!atSol && i < text.length - 1) newline();\n    }\n\n    cm.operation(function () {\n      cm.replaceRange(out, from, to);\n      for (var cur = from.line + 1, end = from.line + lines; cur <= end; ++cur)\n        cm.indentLine(cur, \"smart\");\n      cm.setSelection(from, cm.getCursor(false));\n    });\n  });\n});\n","// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: https://codemirror.net/LICENSE\n\n// This is CodeMirror (https://codemirror.net), a code editor\n// implemented in JavaScript on top of the browser's DOM.\n//\n// You can find some technical background for some of the code below\n// at http://marijnhaverbeke.nl/blog/#cm-internals .\n\n(function (global, factory) {\n  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n  typeof define === 'function' && define.amd ? define(factory) :\n  (global = global || self, global.CodeMirror = factory());\n}(this, (function () { 'use strict';\n\n  // Kludges for bugs and behavior differences that can't be feature\n  // detected are enabled based on userAgent etc sniffing.\n  var userAgent = navigator.userAgent;\n  var platform = navigator.platform;\n\n  var gecko = /gecko\\/\\d/i.test(userAgent);\n  var ie_upto10 = /MSIE \\d/.test(userAgent);\n  var ie_11up = /Trident\\/(?:[7-9]|\\d{2,})\\..*rv:(\\d+)/.exec(userAgent);\n  var edge = /Edge\\/(\\d+)/.exec(userAgent);\n  var ie = ie_upto10 || ie_11up || edge;\n  var ie_version = ie && (ie_upto10 ? document.documentMode || 6 : +(edge || ie_11up)[1]);\n  var webkit = !edge && /WebKit\\//.test(userAgent);\n  var qtwebkit = webkit && /Qt\\/\\d+\\.\\d+/.test(userAgent);\n  var chrome = !edge && /Chrome\\//.test(userAgent);\n  var presto = /Opera\\//.test(userAgent);\n  var safari = /Apple Computer/.test(navigator.vendor);\n  var mac_geMountainLion = /Mac OS X 1\\d\\D([8-9]|\\d\\d)\\D/.test(userAgent);\n  var phantom = /PhantomJS/.test(userAgent);\n\n  var ios = safari && (/Mobile\\/\\w+/.test(userAgent) || navigator.maxTouchPoints > 2);\n  var android = /Android/.test(userAgent);\n  // This is woefully incomplete. Suggestions for alternative methods welcome.\n  var mobile = ios || android || /webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(userAgent);\n  var mac = ios || /Mac/.test(platform);\n  var chromeOS = /\\bCrOS\\b/.test(userAgent);\n  var windows = /win/i.test(platform);\n\n  var presto_version = presto && userAgent.match(/Version\\/(\\d*\\.\\d*)/);\n  if (presto_version) { presto_version = Number(presto_version[1]); }\n  if (presto_version && presto_version >= 15) { presto = false; webkit = true; }\n  // Some browsers use the wrong event properties to signal cmd/ctrl on OS X\n  var flipCtrlCmd = mac && (qtwebkit || presto && (presto_version == null || presto_version < 12.11));\n  var captureRightClick = gecko || (ie && ie_version >= 9);\n\n  function classTest(cls) { return new RegExp(\"(^|\\\\s)\" + cls + \"(?:$|\\\\s)\\\\s*\") }\n\n  var rmClass = function(node, cls) {\n    var current = node.className;\n    var match = classTest(cls).exec(current);\n    if (match) {\n      var after = current.slice(match.index + match[0].length);\n      node.className = current.slice(0, match.index) + (after ? match[1] + after : \"\");\n    }\n  };\n\n  function removeChildren(e) {\n    for (var count = e.childNodes.length; count > 0; --count)\n      { e.removeChild(e.firstChild); }\n    return e\n  }\n\n  function removeChildrenAndAdd(parent, e) {\n    return removeChildren(parent).appendChild(e)\n  }\n\n  function elt(tag, content, className, style) {\n    var e = document.createElement(tag);\n    if (className) { e.className = className; }\n    if (style) { e.style.cssText = style; }\n    if (typeof content == \"string\") { e.appendChild(document.createTextNode(content)); }\n    else if (content) { for (var i = 0; i < content.length; ++i) { e.appendChild(content[i]); } }\n    return e\n  }\n  // wrapper for elt, which removes the elt from the accessibility tree\n  function eltP(tag, content, className, style) {\n    var e = elt(tag, content, className, style);\n    e.setAttribute(\"role\", \"presentation\");\n    return e\n  }\n\n  var range;\n  if (document.createRange) { range = function(node, start, end, endNode) {\n    var r = document.createRange();\n    r.setEnd(endNode || node, end);\n    r.setStart(node, start);\n    return r\n  }; }\n  else { range = function(node, start, end) {\n    var r = document.body.createTextRange();\n    try { r.moveToElementText(node.parentNode); }\n    catch(e) { return r }\n    r.collapse(true);\n    r.moveEnd(\"character\", end);\n    r.moveStart(\"character\", start);\n    return r\n  }; }\n\n  function contains(parent, child) {\n    if (child.nodeType == 3) // Android browser always returns false when child is a textnode\n      { child = child.parentNode; }\n    if (parent.contains)\n      { return parent.contains(child) }\n    do {\n      if (child.nodeType == 11) { child = child.host; }\n      if (child == parent) { return true }\n    } while (child = child.parentNode)\n  }\n\n  function activeElt() {\n    // IE and Edge may throw an \"Unspecified Error\" when accessing document.activeElement.\n    // IE < 10 will throw when accessed while the page is loading or in an iframe.\n    // IE > 9 and Edge will throw when accessed in an iframe if document.body is unavailable.\n    var activeElement;\n    try {\n      activeElement = document.activeElement;\n    } catch(e) {\n      activeElement = document.body || null;\n    }\n    while (activeElement && activeElement.shadowRoot && activeElement.shadowRoot.activeElement)\n      { activeElement = activeElement.shadowRoot.activeElement; }\n    return activeElement\n  }\n\n  function addClass(node, cls) {\n    var current = node.className;\n    if (!classTest(cls).test(current)) { node.className += (current ? \" \" : \"\") + cls; }\n  }\n  function joinClasses(a, b) {\n    var as = a.split(\" \");\n    for (var i = 0; i < as.length; i++)\n      { if (as[i] && !classTest(as[i]).test(b)) { b += \" \" + as[i]; } }\n    return b\n  }\n\n  var selectInput = function(node) { node.select(); };\n  if (ios) // Mobile Safari apparently has a bug where select() is broken.\n    { selectInput = function(node) { node.selectionStart = 0; node.selectionEnd = node.value.length; }; }\n  else if (ie) // Suppress mysterious IE10 errors\n    { selectInput = function(node) { try { node.select(); } catch(_e) {} }; }\n\n  function bind(f) {\n    var args = Array.prototype.slice.call(arguments, 1);\n    return function(){return f.apply(null, args)}\n  }\n\n  function copyObj(obj, target, overwrite) {\n    if (!target) { target = {}; }\n    for (var prop in obj)\n      { if (obj.hasOwnProperty(prop) && (overwrite !== false || !target.hasOwnProperty(prop)))\n        { target[prop] = obj[prop]; } }\n    return target\n  }\n\n  // Counts the column offset in a string, taking tabs into account.\n  // Used mostly to find indentation.\n  function countColumn(string, end, tabSize, startIndex, startValue) {\n    if (end == null) {\n      end = string.search(/[^\\s\\u00a0]/);\n      if (end == -1) { end = string.length; }\n    }\n    for (var i = startIndex || 0, n = startValue || 0;;) {\n      var nextTab = string.indexOf(\"\\t\", i);\n      if (nextTab < 0 || nextTab >= end)\n        { return n + (end - i) }\n      n += nextTab - i;\n      n += tabSize - (n % tabSize);\n      i = nextTab + 1;\n    }\n  }\n\n  var Delayed = function() {\n    this.id = null;\n    this.f = null;\n    this.time = 0;\n    this.handler = bind(this.onTimeout, this);\n  };\n  Delayed.prototype.onTimeout = function (self) {\n    self.id = 0;\n    if (self.time <= +new Date) {\n      self.f();\n    } else {\n      setTimeout(self.handler, self.time - +new Date);\n    }\n  };\n  Delayed.prototype.set = function (ms, f) {\n    this.f = f;\n    var time = +new Date + ms;\n    if (!this.id || time < this.time) {\n      clearTimeout(this.id);\n      this.id = setTimeout(this.handler, ms);\n      this.time = time;\n    }\n  };\n\n  function indexOf(array, elt) {\n    for (var i = 0; i < array.length; ++i)\n      { if (array[i] == elt) { return i } }\n    return -1\n  }\n\n  // Number of pixels added to scroller and sizer to hide scrollbar\n  var scrollerGap = 50;\n\n  // Returned or thrown by various protocols to signal 'I'm not\n  // handling this'.\n  var Pass = {toString: function(){return \"CodeMirror.Pass\"}};\n\n  // Reused option objects for setSelection & friends\n  var sel_dontScroll = {scroll: false}, sel_mouse = {origin: \"*mouse\"}, sel_move = {origin: \"+move\"};\n\n  // The inverse of countColumn -- find the offset that corresponds to\n  // a particular column.\n  function findColumn(string, goal, tabSize) {\n    for (var pos = 0, col = 0;;) {\n      var nextTab = string.indexOf(\"\\t\", pos);\n      if (nextTab == -1) { nextTab = string.length; }\n      var skipped = nextTab - pos;\n      if (nextTab == string.length || col + skipped >= goal)\n        { return pos + Math.min(skipped, goal - col) }\n      col += nextTab - pos;\n      col += tabSize - (col % tabSize);\n      pos = nextTab + 1;\n      if (col >= goal) { return pos }\n    }\n  }\n\n  var spaceStrs = [\"\"];\n  function spaceStr(n) {\n    while (spaceStrs.length <= n)\n      { spaceStrs.push(lst(spaceStrs) + \" \"); }\n    return spaceStrs[n]\n  }\n\n  function lst(arr) { return arr[arr.length-1] }\n\n  function map(array, f) {\n    var out = [];\n    for (var i = 0; i < array.length; i++) { out[i] = f(array[i], i); }\n    return out\n  }\n\n  function insertSorted(array, value, score) {\n    var pos = 0, priority = score(value);\n    while (pos < array.length && score(array[pos]) <= priority) { pos++; }\n    array.splice(pos, 0, value);\n  }\n\n  function nothing() {}\n\n  function createObj(base, props) {\n    var inst;\n    if (Object.create) {\n      inst = Object.create(base);\n    } else {\n      nothing.prototype = base;\n      inst = new nothing();\n    }\n    if (props) { copyObj(props, inst); }\n    return inst\n  }\n\n  var nonASCIISingleCaseWordChar = /[\\u00df\\u0587\\u0590-\\u05f4\\u0600-\\u06ff\\u3040-\\u309f\\u30a0-\\u30ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\uac00-\\ud7af]/;\n  function isWordCharBasic(ch) {\n    return /\\w/.test(ch) || ch > \"\\x80\" &&\n      (ch.toUpperCase() != ch.toLowerCase() || nonASCIISingleCaseWordChar.test(ch))\n  }\n  function isWordChar(ch, helper) {\n    if (!helper) { return isWordCharBasic(ch) }\n    if (helper.source.indexOf(\"\\\\w\") > -1 && isWordCharBasic(ch)) { return true }\n    return helper.test(ch)\n  }\n\n  function isEmpty(obj) {\n    for (var n in obj) { if (obj.hasOwnProperty(n) && obj[n]) { return false } }\n    return true\n  }\n\n  // Extending unicode characters. A series of a non-extending char +\n  // any number of extending chars is treated as a single unit as far\n  // as editing and measuring is concerned. This is not fully correct,\n  // since some scripts/fonts/browsers also treat other configurations\n  // of code points as a group.\n  var extendingChars = /[\\u0300-\\u036f\\u0483-\\u0489\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u064b-\\u065e\\u0670\\u06d6-\\u06dc\\u06de-\\u06e4\\u06e7\\u06e8\\u06ea-\\u06ed\\u0711\\u0730-\\u074a\\u07a6-\\u07b0\\u07eb-\\u07f3\\u0816-\\u0819\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0900-\\u0902\\u093c\\u0941-\\u0948\\u094d\\u0951-\\u0955\\u0962\\u0963\\u0981\\u09bc\\u09be\\u09c1-\\u09c4\\u09cd\\u09d7\\u09e2\\u09e3\\u0a01\\u0a02\\u0a3c\\u0a41\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a70\\u0a71\\u0a75\\u0a81\\u0a82\\u0abc\\u0ac1-\\u0ac5\\u0ac7\\u0ac8\\u0acd\\u0ae2\\u0ae3\\u0b01\\u0b3c\\u0b3e\\u0b3f\\u0b41-\\u0b44\\u0b4d\\u0b56\\u0b57\\u0b62\\u0b63\\u0b82\\u0bbe\\u0bc0\\u0bcd\\u0bd7\\u0c3e-\\u0c40\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62\\u0c63\\u0cbc\\u0cbf\\u0cc2\\u0cc6\\u0ccc\\u0ccd\\u0cd5\\u0cd6\\u0ce2\\u0ce3\\u0d3e\\u0d41-\\u0d44\\u0d4d\\u0d57\\u0d62\\u0d63\\u0dca\\u0dcf\\u0dd2-\\u0dd4\\u0dd6\\u0ddf\\u0e31\\u0e34-\\u0e3a\\u0e47-\\u0e4e\\u0eb1\\u0eb4-\\u0eb9\\u0ebb\\u0ebc\\u0ec8-\\u0ecd\\u0f18\\u0f19\\u0f35\\u0f37\\u0f39\\u0f71-\\u0f7e\\u0f80-\\u0f84\\u0f86\\u0f87\\u0f90-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u102d-\\u1030\\u1032-\\u1037\\u1039\\u103a\\u103d\\u103e\\u1058\\u1059\\u105e-\\u1060\\u1071-\\u1074\\u1082\\u1085\\u1086\\u108d\\u109d\\u135f\\u1712-\\u1714\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17b7-\\u17bd\\u17c6\\u17c9-\\u17d3\\u17dd\\u180b-\\u180d\\u18a9\\u1920-\\u1922\\u1927\\u1928\\u1932\\u1939-\\u193b\\u1a17\\u1a18\\u1a56\\u1a58-\\u1a5e\\u1a60\\u1a62\\u1a65-\\u1a6c\\u1a73-\\u1a7c\\u1a7f\\u1b00-\\u1b03\\u1b34\\u1b36-\\u1b3a\\u1b3c\\u1b42\\u1b6b-\\u1b73\\u1b80\\u1b81\\u1ba2-\\u1ba5\\u1ba8\\u1ba9\\u1c2c-\\u1c33\\u1c36\\u1c37\\u1cd0-\\u1cd2\\u1cd4-\\u1ce0\\u1ce2-\\u1ce8\\u1ced\\u1dc0-\\u1de6\\u1dfd-\\u1dff\\u200c\\u200d\\u20d0-\\u20f0\\u2cef-\\u2cf1\\u2de0-\\u2dff\\u302a-\\u302f\\u3099\\u309a\\ua66f-\\ua672\\ua67c\\ua67d\\ua6f0\\ua6f1\\ua802\\ua806\\ua80b\\ua825\\ua826\\ua8c4\\ua8e0-\\ua8f1\\ua926-\\ua92d\\ua947-\\ua951\\ua980-\\ua982\\ua9b3\\ua9b6-\\ua9b9\\ua9bc\\uaa29-\\uaa2e\\uaa31\\uaa32\\uaa35\\uaa36\\uaa43\\uaa4c\\uaab0\\uaab2-\\uaab4\\uaab7\\uaab8\\uaabe\\uaabf\\uaac1\\uabe5\\uabe8\\uabed\\udc00-\\udfff\\ufb1e\\ufe00-\\ufe0f\\ufe20-\\ufe26\\uff9e\\uff9f]/;\n  function isExtendingChar(ch) { return ch.charCodeAt(0) >= 768 && extendingChars.test(ch) }\n\n  // Returns a number from the range [`0`; `str.length`] unless `pos` is outside that range.\n  function skipExtendingChars(str, pos, dir) {\n    while ((dir < 0 ? pos > 0 : pos < str.length) && isExtendingChar(str.charAt(pos))) { pos += dir; }\n    return pos\n  }\n\n  // Returns the value from the range [`from`; `to`] that satisfies\n  // `pred` and is closest to `from`. Assumes that at least `to`\n  // satisfies `pred`. Supports `from` being greater than `to`.\n  function findFirst(pred, from, to) {\n    // At any point we are certain `to` satisfies `pred`, don't know\n    // whether `from` does.\n    var dir = from > to ? -1 : 1;\n    for (;;) {\n      if (from == to) { return from }\n      var midF = (from + to) / 2, mid = dir < 0 ? Math.ceil(midF) : Math.floor(midF);\n      if (mid == from) { return pred(mid) ? from : to }\n      if (pred(mid)) { to = mid; }\n      else { from = mid + dir; }\n    }\n  }\n\n  // BIDI HELPERS\n\n  function iterateBidiSections(order, from, to, f) {\n    if (!order) { return f(from, to, \"ltr\", 0) }\n    var found = false;\n    for (var i = 0; i < order.length; ++i) {\n      var part = order[i];\n      if (part.from < to && part.to > from || from == to && part.to == from) {\n        f(Math.max(part.from, from), Math.min(part.to, to), part.level == 1 ? \"rtl\" : \"ltr\", i);\n        found = true;\n      }\n    }\n    if (!found) { f(from, to, \"ltr\"); }\n  }\n\n  var bidiOther = null;\n  function getBidiPartAt(order, ch, sticky) {\n    var found;\n    bidiOther = null;\n    for (var i = 0; i < order.length; ++i) {\n      var cur = order[i];\n      if (cur.from < ch && cur.to > ch) { return i }\n      if (cur.to == ch) {\n        if (cur.from != cur.to && sticky == \"before\") { found = i; }\n        else { bidiOther = i; }\n      }\n      if (cur.from == ch) {\n        if (cur.from != cur.to && sticky != \"before\") { found = i; }\n        else { bidiOther = i; }\n      }\n    }\n    return found != null ? found : bidiOther\n  }\n\n  // Bidirectional ordering algorithm\n  // See http://unicode.org/reports/tr9/tr9-13.html for the algorithm\n  // that this (partially) implements.\n\n  // One-char codes used for character types:\n  // L (L):   Left-to-Right\n  // R (R):   Right-to-Left\n  // r (AL):  Right-to-Left Arabic\n  // 1 (EN):  European Number\n  // + (ES):  European Number Separator\n  // % (ET):  European Number Terminator\n  // n (AN):  Arabic Number\n  // , (CS):  Common Number Separator\n  // m (NSM): Non-Spacing Mark\n  // b (BN):  Boundary Neutral\n  // s (B):   Paragraph Separator\n  // t (S):   Segment Separator\n  // w (WS):  Whitespace\n  // N (ON):  Other Neutrals\n\n  // Returns null if characters are ordered as they appear\n  // (left-to-right), or an array of sections ({from, to, level}\n  // objects) in the order in which they occur visually.\n  var bidiOrdering = (function() {\n    // Character types for codepoints 0 to 0xff\n    var lowTypes = \"bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN\";\n    // Character types for codepoints 0x600 to 0x6f9\n    var arabicTypes = \"nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111\";\n    function charType(code) {\n      if (code <= 0xf7) { return lowTypes.charAt(code) }\n      else if (0x590 <= code && code <= 0x5f4) { return \"R\" }\n      else if (0x600 <= code && code <= 0x6f9) { return arabicTypes.charAt(code - 0x600) }\n      else if (0x6ee <= code && code <= 0x8ac) { return \"r\" }\n      else if (0x2000 <= code && code <= 0x200b) { return \"w\" }\n      else if (code == 0x200c) { return \"b\" }\n      else { return \"L\" }\n    }\n\n    var bidiRE = /[\\u0590-\\u05f4\\u0600-\\u06ff\\u0700-\\u08ac]/;\n    var isNeutral = /[stwN]/, isStrong = /[LRr]/, countsAsLeft = /[Lb1n]/, countsAsNum = /[1n]/;\n\n    function BidiSpan(level, from, to) {\n      this.level = level;\n      this.from = from; this.to = to;\n    }\n\n    return function(str, direction) {\n      var outerType = direction == \"ltr\" ? \"L\" : \"R\";\n\n      if (str.length == 0 || direction == \"ltr\" && !bidiRE.test(str)) { return false }\n      var len = str.length, types = [];\n      for (var i = 0; i < len; ++i)\n        { types.push(charType(str.charCodeAt(i))); }\n\n      // W1. Examine each non-spacing mark (NSM) in the level run, and\n      // change the type of the NSM to the type of the previous\n      // character. If the NSM is at the start of the level run, it will\n      // get the type of sor.\n      for (var i$1 = 0, prev = outerType; i$1 < len; ++i$1) {\n        var type = types[i$1];\n        if (type == \"m\") { types[i$1] = prev; }\n        else { prev = type; }\n      }\n\n      // W2. Search backwards from each instance of a European number\n      // until the first strong type (R, L, AL, or sor) is found. If an\n      // AL is found, change the type of the European number to Arabic\n      // number.\n      // W3. Change all ALs to R.\n      for (var i$2 = 0, cur = outerType; i$2 < len; ++i$2) {\n        var type$1 = types[i$2];\n        if (type$1 == \"1\" && cur == \"r\") { types[i$2] = \"n\"; }\n        else if (isStrong.test(type$1)) { cur = type$1; if (type$1 == \"r\") { types[i$2] = \"R\"; } }\n      }\n\n      // W4. A single European separator between two European numbers\n      // changes to a European number. A single common separator between\n      // two numbers of the same type changes to that type.\n      for (var i$3 = 1, prev$1 = types[0]; i$3 < len - 1; ++i$3) {\n        var type$2 = types[i$3];\n        if (type$2 == \"+\" && prev$1 == \"1\" && types[i$3+1] == \"1\") { types[i$3] = \"1\"; }\n        else if (type$2 == \",\" && prev$1 == types[i$3+1] &&\n                 (prev$1 == \"1\" || prev$1 == \"n\")) { types[i$3] = prev$1; }\n        prev$1 = type$2;\n      }\n\n      // W5. A sequence of European terminators adjacent to European\n      // numbers changes to all European numbers.\n      // W6. Otherwise, separators and terminators change to Other\n      // Neutral.\n      for (var i$4 = 0; i$4 < len; ++i$4) {\n        var type$3 = types[i$4];\n        if (type$3 == \",\") { types[i$4] = \"N\"; }\n        else if (type$3 == \"%\") {\n          var end = (void 0);\n          for (end = i$4 + 1; end < len && types[end] == \"%\"; ++end) {}\n          var replace = (i$4 && types[i$4-1] == \"!\") || (end < len && types[end] == \"1\") ? \"1\" : \"N\";\n          for (var j = i$4; j < end; ++j) { types[j] = replace; }\n          i$4 = end - 1;\n        }\n      }\n\n      // W7. Search backwards from each instance of a European number\n      // until the first strong type (R, L, or sor) is found. If an L is\n      // found, then change the type of the European number to L.\n      for (var i$5 = 0, cur$1 = outerType; i$5 < len; ++i$5) {\n        var type$4 = types[i$5];\n        if (cur$1 == \"L\" && type$4 == \"1\") { types[i$5] = \"L\"; }\n        else if (isStrong.test(type$4)) { cur$1 = type$4; }\n      }\n\n      // N1. A sequence of neutrals takes the direction of the\n      // surrounding strong text if the text on both sides has the same\n      // direction. European and Arabic numbers act as if they were R in\n      // terms of their influence on neutrals. Start-of-level-run (sor)\n      // and end-of-level-run (eor) are used at level run boundaries.\n      // N2. Any remaining neutrals take the embedding direction.\n      for (var i$6 = 0; i$6 < len; ++i$6) {\n        if (isNeutral.test(types[i$6])) {\n          var end$1 = (void 0);\n          for (end$1 = i$6 + 1; end$1 < len && isNeutral.test(types[end$1]); ++end$1) {}\n          var before = (i$6 ? types[i$6-1] : outerType) == \"L\";\n          var after = (end$1 < len ? types[end$1] : outerType) == \"L\";\n          var replace$1 = before == after ? (before ? \"L\" : \"R\") : outerType;\n          for (var j$1 = i$6; j$1 < end$1; ++j$1) { types[j$1] = replace$1; }\n          i$6 = end$1 - 1;\n        }\n      }\n\n      // Here we depart from the documented algorithm, in order to avoid\n      // building up an actual levels array. Since there are only three\n      // levels (0, 1, 2) in an implementation that doesn't take\n      // explicit embedding into account, we can build up the order on\n      // the fly, without following the level-based algorithm.\n      var order = [], m;\n      for (var i$7 = 0; i$7 < len;) {\n        if (countsAsLeft.test(types[i$7])) {\n          var start = i$7;\n          for (++i$7; i$7 < len && countsAsLeft.test(types[i$7]); ++i$7) {}\n          order.push(new BidiSpan(0, start, i$7));\n        } else {\n          var pos = i$7, at = order.length, isRTL = direction == \"rtl\" ? 1 : 0;\n          for (++i$7; i$7 < len && types[i$7] != \"L\"; ++i$7) {}\n          for (var j$2 = pos; j$2 < i$7;) {\n            if (countsAsNum.test(types[j$2])) {\n              if (pos < j$2) { order.splice(at, 0, new BidiSpan(1, pos, j$2)); at += isRTL; }\n              var nstart = j$2;\n              for (++j$2; j$2 < i$7 && countsAsNum.test(types[j$2]); ++j$2) {}\n              order.splice(at, 0, new BidiSpan(2, nstart, j$2));\n              at += isRTL;\n              pos = j$2;\n            } else { ++j$2; }\n          }\n          if (pos < i$7) { order.splice(at, 0, new BidiSpan(1, pos, i$7)); }\n        }\n      }\n      if (direction == \"ltr\") {\n        if (order[0].level == 1 && (m = str.match(/^\\s+/))) {\n          order[0].from = m[0].length;\n          order.unshift(new BidiSpan(0, 0, m[0].length));\n        }\n        if (lst(order).level == 1 && (m = str.match(/\\s+$/))) {\n          lst(order).to -= m[0].length;\n          order.push(new BidiSpan(0, len - m[0].length, len));\n        }\n      }\n\n      return direction == \"rtl\" ? order.reverse() : order\n    }\n  })();\n\n  // Get the bidi ordering for the given line (and cache it). Returns\n  // false for lines that are fully left-to-right, and an array of\n  // BidiSpan objects otherwise.\n  function getOrder(line, direction) {\n    var order = line.order;\n    if (order == null) { order = line.order = bidiOrdering(line.text, direction); }\n    return order\n  }\n\n  // EVENT HANDLING\n\n  // Lightweight event framework. on/off also work on DOM nodes,\n  // registering native DOM handlers.\n\n  var noHandlers = [];\n\n  var on = function(emitter, type, f) {\n    if (emitter.addEventListener) {\n      emitter.addEventListener(type, f, false);\n    } else if (emitter.attachEvent) {\n      emitter.attachEvent(\"on\" + type, f);\n    } else {\n      var map = emitter._handlers || (emitter._handlers = {});\n      map[type] = (map[type] || noHandlers).concat(f);\n    }\n  };\n\n  function getHandlers(emitter, type) {\n    return emitter._handlers && emitter._handlers[type] || noHandlers\n  }\n\n  function off(emitter, type, f) {\n    if (emitter.removeEventListener) {\n      emitter.removeEventListener(type, f, false);\n    } else if (emitter.detachEvent) {\n      emitter.detachEvent(\"on\" + type, f);\n    } else {\n      var map = emitter._handlers, arr = map && map[type];\n      if (arr) {\n        var index = indexOf(arr, f);\n        if (index > -1)\n          { map[type] = arr.slice(0, index).concat(arr.slice(index + 1)); }\n      }\n    }\n  }\n\n  function signal(emitter, type /*, values...*/) {\n    var handlers = getHandlers(emitter, type);\n    if (!handlers.length) { return }\n    var args = Array.prototype.slice.call(arguments, 2);\n    for (var i = 0; i < handlers.length; ++i) { handlers[i].apply(null, args); }\n  }\n\n  // The DOM events that CodeMirror handles can be overridden by\n  // registering a (non-DOM) handler on the editor for the event name,\n  // and preventDefault-ing the event in that handler.\n  function signalDOMEvent(cm, e, override) {\n    if (typeof e == \"string\")\n      { e = {type: e, preventDefault: function() { this.defaultPrevented = true; }}; }\n    signal(cm, override || e.type, cm, e);\n    return e_defaultPrevented(e) || e.codemirrorIgnore\n  }\n\n  function signalCursorActivity(cm) {\n    var arr = cm._handlers && cm._handlers.cursorActivity;\n    if (!arr) { return }\n    var set = cm.curOp.cursorActivityHandlers || (cm.curOp.cursorActivityHandlers = []);\n    for (var i = 0; i < arr.length; ++i) { if (indexOf(set, arr[i]) == -1)\n      { set.push(arr[i]); } }\n  }\n\n  function hasHandler(emitter, type) {\n    return getHandlers(emitter, type).length > 0\n  }\n\n  // Add on and off methods to a constructor's prototype, to make\n  // registering events on such objects more convenient.\n  function eventMixin(ctor) {\n    ctor.prototype.on = function(type, f) {on(this, type, f);};\n    ctor.prototype.off = function(type, f) {off(this, type, f);};\n  }\n\n  // Due to the fact that we still support jurassic IE versions, some\n  // compatibility wrappers are needed.\n\n  function e_preventDefault(e) {\n    if (e.preventDefault) { e.preventDefault(); }\n    else { e.returnValue = false; }\n  }\n  function e_stopPropagation(e) {\n    if (e.stopPropagation) { e.stopPropagation(); }\n    else { e.cancelBubble = true; }\n  }\n  function e_defaultPrevented(e) {\n    return e.defaultPrevented != null ? e.defaultPrevented : e.returnValue == false\n  }\n  function e_stop(e) {e_preventDefault(e); e_stopPropagation(e);}\n\n  function e_target(e) {return e.target || e.srcElement}\n  function e_button(e) {\n    var b = e.which;\n    if (b == null) {\n      if (e.button & 1) { b = 1; }\n      else if (e.button & 2) { b = 3; }\n      else if (e.button & 4) { b = 2; }\n    }\n    if (mac && e.ctrlKey && b == 1) { b = 3; }\n    return b\n  }\n\n  // Detect drag-and-drop\n  var dragAndDrop = function() {\n    // There is *some* kind of drag-and-drop support in IE6-8, but I\n    // couldn't get it to work yet.\n    if (ie && ie_version < 9) { return false }\n    var div = elt('div');\n    return \"draggable\" in div || \"dragDrop\" in div\n  }();\n\n  var zwspSupported;\n  function zeroWidthElement(measure) {\n    if (zwspSupported == null) {\n      var test = elt(\"span\", \"\\u200b\");\n      removeChildrenAndAdd(measure, elt(\"span\", [test, document.createTextNode(\"x\")]));\n      if (measure.firstChild.offsetHeight != 0)\n        { zwspSupported = test.offsetWidth <= 1 && test.offsetHeight > 2 && !(ie && ie_version < 8); }\n    }\n    var node = zwspSupported ? elt(\"span\", \"\\u200b\") :\n      elt(\"span\", \"\\u00a0\", null, \"display: inline-block; width: 1px; margin-right: -1px\");\n    node.setAttribute(\"cm-text\", \"\");\n    return node\n  }\n\n  // Feature-detect IE's crummy client rect reporting for bidi text\n  var badBidiRects;\n  function hasBadBidiRects(measure) {\n    if (badBidiRects != null) { return badBidiRects }\n    var txt = removeChildrenAndAdd(measure, document.createTextNode(\"A\\u062eA\"));\n    var r0 = range(txt, 0, 1).getBoundingClientRect();\n    var r1 = range(txt, 1, 2).getBoundingClientRect();\n    removeChildren(measure);\n    if (!r0 || r0.left == r0.right) { return false } // Safari returns null in some cases (#2780)\n    return badBidiRects = (r1.right - r0.right < 3)\n  }\n\n  // See if \"\".split is the broken IE version, if so, provide an\n  // alternative way to split lines.\n  var splitLinesAuto = \"\\n\\nb\".split(/\\n/).length != 3 ? function (string) {\n    var pos = 0, result = [], l = string.length;\n    while (pos <= l) {\n      var nl = string.indexOf(\"\\n\", pos);\n      if (nl == -1) { nl = string.length; }\n      var line = string.slice(pos, string.charAt(nl - 1) == \"\\r\" ? nl - 1 : nl);\n      var rt = line.indexOf(\"\\r\");\n      if (rt != -1) {\n        result.push(line.slice(0, rt));\n        pos += rt + 1;\n      } else {\n        result.push(line);\n        pos = nl + 1;\n      }\n    }\n    return result\n  } : function (string) { return string.split(/\\r\\n?|\\n/); };\n\n  var hasSelection = window.getSelection ? function (te) {\n    try { return te.selectionStart != te.selectionEnd }\n    catch(e) { return false }\n  } : function (te) {\n    var range;\n    try {range = te.ownerDocument.selection.createRange();}\n    catch(e) {}\n    if (!range || range.parentElement() != te) { return false }\n    return range.compareEndPoints(\"StartToEnd\", range) != 0\n  };\n\n  var hasCopyEvent = (function () {\n    var e = elt(\"div\");\n    if (\"oncopy\" in e) { return true }\n    e.setAttribute(\"oncopy\", \"return;\");\n    return typeof e.oncopy == \"function\"\n  })();\n\n  var badZoomedRects = null;\n  function hasBadZoomedRects(measure) {\n    if (badZoomedRects != null) { return badZoomedRects }\n    var node = removeChildrenAndAdd(measure, elt(\"span\", \"x\"));\n    var normal = node.getBoundingClientRect();\n    var fromRange = range(node, 0, 1).getBoundingClientRect();\n    return badZoomedRects = Math.abs(normal.left - fromRange.left) > 1\n  }\n\n  // Known modes, by name and by MIME\n  var modes = {}, mimeModes = {};\n\n  // Extra arguments are stored as the mode's dependencies, which is\n  // used by (legacy) mechanisms like loadmode.js to automatically\n  // load a mode. (Preferred mechanism is the require/define calls.)\n  function defineMode(name, mode) {\n    if (arguments.length > 2)\n      { mode.dependencies = Array.prototype.slice.call(arguments, 2); }\n    modes[name] = mode;\n  }\n\n  function defineMIME(mime, spec) {\n    mimeModes[mime] = spec;\n  }\n\n  // Given a MIME type, a {name, ...options} config object, or a name\n  // string, return a mode config object.\n  function resolveMode(spec) {\n    if (typeof spec == \"string\" && mimeModes.hasOwnProperty(spec)) {\n      spec = mimeModes[spec];\n    } else if (spec && typeof spec.name == \"string\" && mimeModes.hasOwnProperty(spec.name)) {\n      var found = mimeModes[spec.name];\n      if (typeof found == \"string\") { found = {name: found}; }\n      spec = createObj(found, spec);\n      spec.name = found.name;\n    } else if (typeof spec == \"string\" && /^[\\w\\-]+\\/[\\w\\-]+\\+xml$/.test(spec)) {\n      return resolveMode(\"application/xml\")\n    } else if (typeof spec == \"string\" && /^[\\w\\-]+\\/[\\w\\-]+\\+json$/.test(spec)) {\n      return resolveMode(\"application/json\")\n    }\n    if (typeof spec == \"string\") { return {name: spec} }\n    else { return spec || {name: \"null\"} }\n  }\n\n  // Given a mode spec (anything that resolveMode accepts), find and\n  // initialize an actual mode object.\n  function getMode(options, spec) {\n    spec = resolveMode(spec);\n    var mfactory = modes[spec.name];\n    if (!mfactory) { return getMode(options, \"text/plain\") }\n    var modeObj = mfactory(options, spec);\n    if (modeExtensions.hasOwnProperty(spec.name)) {\n      var exts = modeExtensions[spec.name];\n      for (var prop in exts) {\n        if (!exts.hasOwnProperty(prop)) { continue }\n        if (modeObj.hasOwnProperty(prop)) { modeObj[\"_\" + prop] = modeObj[prop]; }\n        modeObj[prop] = exts[prop];\n      }\n    }\n    modeObj.name = spec.name;\n    if (spec.helperType) { modeObj.helperType = spec.helperType; }\n    if (spec.modeProps) { for (var prop$1 in spec.modeProps)\n      { modeObj[prop$1] = spec.modeProps[prop$1]; } }\n\n    return modeObj\n  }\n\n  // This can be used to attach properties to mode objects from\n  // outside the actual mode definition.\n  var modeExtensions = {};\n  function extendMode(mode, properties) {\n    var exts = modeExtensions.hasOwnProperty(mode) ? modeExtensions[mode] : (modeExtensions[mode] = {});\n    copyObj(properties, exts);\n  }\n\n  function copyState(mode, state) {\n    if (state === true) { return state }\n    if (mode.copyState) { return mode.copyState(state) }\n    var nstate = {};\n    for (var n in state) {\n      var val = state[n];\n      if (val instanceof Array) { val = val.concat([]); }\n      nstate[n] = val;\n    }\n    return nstate\n  }\n\n  // Given a mode and a state (for that mode), find the inner mode and\n  // state at the position that the state refers to.\n  function innerMode(mode, state) {\n    var info;\n    while (mode.innerMode) {\n      info = mode.innerMode(state);\n      if (!info || info.mode == mode) { break }\n      state = info.state;\n      mode = info.mode;\n    }\n    return info || {mode: mode, state: state}\n  }\n\n  function startState(mode, a1, a2) {\n    return mode.startState ? mode.startState(a1, a2) : true\n  }\n\n  // STRING STREAM\n\n  // Fed to the mode parsers, provides helper functions to make\n  // parsers more succinct.\n\n  var StringStream = function(string, tabSize, lineOracle) {\n    this.pos = this.start = 0;\n    this.string = string;\n    this.tabSize = tabSize || 8;\n    this.lastColumnPos = this.lastColumnValue = 0;\n    this.lineStart = 0;\n    this.lineOracle = lineOracle;\n  };\n\n  StringStream.prototype.eol = function () {return this.pos >= this.string.length};\n  StringStream.prototype.sol = function () {return this.pos == this.lineStart};\n  StringStream.prototype.peek = function () {return this.string.charAt(this.pos) || undefined};\n  StringStream.prototype.next = function () {\n    if (this.pos < this.string.length)\n      { return this.string.charAt(this.pos++) }\n  };\n  StringStream.prototype.eat = function (match) {\n    var ch = this.string.charAt(this.pos);\n    var ok;\n    if (typeof match == \"string\") { ok = ch == match; }\n    else { ok = ch && (match.test ? match.test(ch) : match(ch)); }\n    if (ok) {++this.pos; return ch}\n  };\n  StringStream.prototype.eatWhile = function (match) {\n    var start = this.pos;\n    while (this.eat(match)){}\n    return this.pos > start\n  };\n  StringStream.prototype.eatSpace = function () {\n    var start = this.pos;\n    while (/[\\s\\u00a0]/.test(this.string.charAt(this.pos))) { ++this.pos; }\n    return this.pos > start\n  };\n  StringStream.prototype.skipToEnd = function () {this.pos = this.string.length;};\n  StringStream.prototype.skipTo = function (ch) {\n    var found = this.string.indexOf(ch, this.pos);\n    if (found > -1) {this.pos = found; return true}\n  };\n  StringStream.prototype.backUp = function (n) {this.pos -= n;};\n  StringStream.prototype.column = function () {\n    if (this.lastColumnPos < this.start) {\n      this.lastColumnValue = countColumn(this.string, this.start, this.tabSize, this.lastColumnPos, this.lastColumnValue);\n      this.lastColumnPos = this.start;\n    }\n    return this.lastColumnValue - (this.lineStart ? countColumn(this.string, this.lineStart, this.tabSize) : 0)\n  };\n  StringStream.prototype.indentation = function () {\n    return countColumn(this.string, null, this.tabSize) -\n      (this.lineStart ? countColumn(this.string, this.lineStart, this.tabSize) : 0)\n  };\n  StringStream.prototype.match = function (pattern, consume, caseInsensitive) {\n    if (typeof pattern == \"string\") {\n      var cased = function (str) { return caseInsensitive ? str.toLowerCase() : str; };\n      var substr = this.string.substr(this.pos, pattern.length);\n      if (cased(substr) == cased(pattern)) {\n        if (consume !== false) { this.pos += pattern.length; }\n        return true\n      }\n    } else {\n      var match = this.string.slice(this.pos).match(pattern);\n      if (match && match.index > 0) { return null }\n      if (match && consume !== false) { this.pos += match[0].length; }\n      return match\n    }\n  };\n  StringStream.prototype.current = function (){return this.string.slice(this.start, this.pos)};\n  StringStream.prototype.hideFirstChars = function (n, inner) {\n    this.lineStart += n;\n    try { return inner() }\n    finally { this.lineStart -= n; }\n  };\n  StringStream.prototype.lookAhead = function (n) {\n    var oracle = this.lineOracle;\n    return oracle && oracle.lookAhead(n)\n  };\n  StringStream.prototype.baseToken = function () {\n    var oracle = this.lineOracle;\n    return oracle && oracle.baseToken(this.pos)\n  };\n\n  // Find the line object corresponding to the given line number.\n  function getLine(doc, n) {\n    n -= doc.first;\n    if (n < 0 || n >= doc.size) { throw new Error(\"There is no line \" + (n + doc.first) + \" in the document.\") }\n    var chunk = doc;\n    while (!chunk.lines) {\n      for (var i = 0;; ++i) {\n        var child = chunk.children[i], sz = child.chunkSize();\n        if (n < sz) { chunk = child; break }\n        n -= sz;\n      }\n    }\n    return chunk.lines[n]\n  }\n\n  // Get the part of a document between two positions, as an array of\n  // strings.\n  function getBetween(doc, start, end) {\n    var out = [], n = start.line;\n    doc.iter(start.line, end.line + 1, function (line) {\n      var text = line.text;\n      if (n == end.line) { text = text.slice(0, end.ch); }\n      if (n == start.line) { text = text.slice(start.ch); }\n      out.push(text);\n      ++n;\n    });\n    return out\n  }\n  // Get the lines between from and to, as array of strings.\n  function getLines(doc, from, to) {\n    var out = [];\n    doc.iter(from, to, function (line) { out.push(line.text); }); // iter aborts when callback returns truthy value\n    return out\n  }\n\n  // Update the height of a line, propagating the height change\n  // upwards to parent nodes.\n  function updateLineHeight(line, height) {\n    var diff = height - line.height;\n    if (diff) { for (var n = line; n; n = n.parent) { n.height += diff; } }\n  }\n\n  // Given a line object, find its line number by walking up through\n  // its parent links.\n  function lineNo(line) {\n    if (line.parent == null) { return null }\n    var cur = line.parent, no = indexOf(cur.lines, line);\n    for (var chunk = cur.parent; chunk; cur = chunk, chunk = chunk.parent) {\n      for (var i = 0;; ++i) {\n        if (chunk.children[i] == cur) { break }\n        no += chunk.children[i].chunkSize();\n      }\n    }\n    return no + cur.first\n  }\n\n  // Find the line at the given vertical position, using the height\n  // information in the document tree.\n  function lineAtHeight(chunk, h) {\n    var n = chunk.first;\n    outer: do {\n      for (var i$1 = 0; i$1 < chunk.children.length; ++i$1) {\n        var child = chunk.children[i$1], ch = child.height;\n        if (h < ch) { chunk = child; continue outer }\n        h -= ch;\n        n += child.chunkSize();\n      }\n      return n\n    } while (!chunk.lines)\n    var i = 0;\n    for (; i < chunk.lines.length; ++i) {\n      var line = chunk.lines[i], lh = line.height;\n      if (h < lh) { break }\n      h -= lh;\n    }\n    return n + i\n  }\n\n  function isLine(doc, l) {return l >= doc.first && l < doc.first + doc.size}\n\n  function lineNumberFor(options, i) {\n    return String(options.lineNumberFormatter(i + options.firstLineNumber))\n  }\n\n  // A Pos instance represents a position within the text.\n  function Pos(line, ch, sticky) {\n    if ( sticky === void 0 ) sticky = null;\n\n    if (!(this instanceof Pos)) { return new Pos(line, ch, sticky) }\n    this.line = line;\n    this.ch = ch;\n    this.sticky = sticky;\n  }\n\n  // Compare two positions, return 0 if they are the same, a negative\n  // number when a is less, and a positive number otherwise.\n  function cmp(a, b) { return a.line - b.line || a.ch - b.ch }\n\n  function equalCursorPos(a, b) { return a.sticky == b.sticky && cmp(a, b) == 0 }\n\n  function copyPos(x) {return Pos(x.line, x.ch)}\n  function maxPos(a, b) { return cmp(a, b) < 0 ? b : a }\n  function minPos(a, b) { return cmp(a, b) < 0 ? a : b }\n\n  // Most of the external API clips given positions to make sure they\n  // actually exist within the document.\n  function clipLine(doc, n) {return Math.max(doc.first, Math.min(n, doc.first + doc.size - 1))}\n  function clipPos(doc, pos) {\n    if (pos.line < doc.first) { return Pos(doc.first, 0) }\n    var last = doc.first + doc.size - 1;\n    if (pos.line > last) { return Pos(last, getLine(doc, last).text.length) }\n    return clipToLen(pos, getLine(doc, pos.line).text.length)\n  }\n  function clipToLen(pos, linelen) {\n    var ch = pos.ch;\n    if (ch == null || ch > linelen) { return Pos(pos.line, linelen) }\n    else if (ch < 0) { return Pos(pos.line, 0) }\n    else { return pos }\n  }\n  function clipPosArray(doc, array) {\n    var out = [];\n    for (var i = 0; i < array.length; i++) { out[i] = clipPos(doc, array[i]); }\n    return out\n  }\n\n  var SavedContext = function(state, lookAhead) {\n    this.state = state;\n    this.lookAhead = lookAhead;\n  };\n\n  var Context = function(doc, state, line, lookAhead) {\n    this.state = state;\n    this.doc = doc;\n    this.line = line;\n    this.maxLookAhead = lookAhead || 0;\n    this.baseTokens = null;\n    this.baseTokenPos = 1;\n  };\n\n  Context.prototype.lookAhead = function (n) {\n    var line = this.doc.getLine(this.line + n);\n    if (line != null && n > this.maxLookAhead) { this.maxLookAhead = n; }\n    return line\n  };\n\n  Context.prototype.baseToken = function (n) {\n    if (!this.baseTokens) { return null }\n    while (this.baseTokens[this.baseTokenPos] <= n)\n      { this.baseTokenPos += 2; }\n    var type = this.baseTokens[this.baseTokenPos + 1];\n    return {type: type && type.replace(/( |^)overlay .*/, \"\"),\n            size: this.baseTokens[this.baseTokenPos] - n}\n  };\n\n  Context.prototype.nextLine = function () {\n    this.line++;\n    if (this.maxLookAhead > 0) { this.maxLookAhead--; }\n  };\n\n  Context.fromSaved = function (doc, saved, line) {\n    if (saved instanceof SavedContext)\n      { return new Context(doc, copyState(doc.mode, saved.state), line, saved.lookAhead) }\n    else\n      { return new Context(doc, copyState(doc.mode, saved), line) }\n  };\n\n  Context.prototype.save = function (copy) {\n    var state = copy !== false ? copyState(this.doc.mode, this.state) : this.state;\n    return this.maxLookAhead > 0 ? new SavedContext(state, this.maxLookAhead) : state\n  };\n\n\n  // Compute a style array (an array starting with a mode generation\n  // -- for invalidation -- followed by pairs of end positions and\n  // style strings), which is used to highlight the tokens on the\n  // line.\n  function highlightLine(cm, line, context, forceToEnd) {\n    // A styles array always starts with a number identifying the\n    // mode/overlays that it is based on (for easy invalidation).\n    var st = [cm.state.modeGen], lineClasses = {};\n    // Compute the base array of styles\n    runMode(cm, line.text, cm.doc.mode, context, function (end, style) { return st.push(end, style); },\n            lineClasses, forceToEnd);\n    var state = context.state;\n\n    // Run overlays, adjust style array.\n    var loop = function ( o ) {\n      context.baseTokens = st;\n      var overlay = cm.state.overlays[o], i = 1, at = 0;\n      context.state = true;\n      runMode(cm, line.text, overlay.mode, context, function (end, style) {\n        var start = i;\n        // Ensure there's a token end at the current position, and that i points at it\n        while (at < end) {\n          var i_end = st[i];\n          if (i_end > end)\n            { st.splice(i, 1, end, st[i+1], i_end); }\n          i += 2;\n          at = Math.min(end, i_end);\n        }\n        if (!style) { return }\n        if (overlay.opaque) {\n          st.splice(start, i - start, end, \"overlay \" + style);\n          i = start + 2;\n        } else {\n          for (; start < i; start += 2) {\n            var cur = st[start+1];\n            st[start+1] = (cur ? cur + \" \" : \"\") + \"overlay \" + style;\n          }\n        }\n      }, lineClasses);\n      context.state = state;\n      context.baseTokens = null;\n      context.baseTokenPos = 1;\n    };\n\n    for (var o = 0; o < cm.state.overlays.length; ++o) loop( o );\n\n    return {styles: st, classes: lineClasses.bgClass || lineClasses.textClass ? lineClasses : null}\n  }\n\n  function getLineStyles(cm, line, updateFrontier) {\n    if (!line.styles || line.styles[0] != cm.state.modeGen) {\n      var context = getContextBefore(cm, lineNo(line));\n      var resetState = line.text.length > cm.options.maxHighlightLength && copyState(cm.doc.mode, context.state);\n      var result = highlightLine(cm, line, context);\n      if (resetState) { context.state = resetState; }\n      line.stateAfter = context.save(!resetState);\n      line.styles = result.styles;\n      if (result.classes) { line.styleClasses = result.classes; }\n      else if (line.styleClasses) { line.styleClasses = null; }\n      if (updateFrontier === cm.doc.highlightFrontier)\n        { cm.doc.modeFrontier = Math.max(cm.doc.modeFrontier, ++cm.doc.highlightFrontier); }\n    }\n    return line.styles\n  }\n\n  function getContextBefore(cm, n, precise) {\n    var doc = cm.doc, display = cm.display;\n    if (!doc.mode.startState) { return new Context(doc, true, n) }\n    var start = findStartLine(cm, n, precise);\n    var saved = start > doc.first && getLine(doc, start - 1).stateAfter;\n    var context = saved ? Context.fromSaved(doc, saved, start) : new Context(doc, startState(doc.mode), start);\n\n    doc.iter(start, n, function (line) {\n      processLine(cm, line.text, context);\n      var pos = context.line;\n      line.stateAfter = pos == n - 1 || pos % 5 == 0 || pos >= display.viewFrom && pos < display.viewTo ? context.save() : null;\n      context.nextLine();\n    });\n    if (precise) { doc.modeFrontier = context.line; }\n    return context\n  }\n\n  // Lightweight form of highlight -- proceed over this line and\n  // update state, but don't save a style array. Used for lines that\n  // aren't currently visible.\n  function processLine(cm, text, context, startAt) {\n    var mode = cm.doc.mode;\n    var stream = new StringStream(text, cm.options.tabSize, context);\n    stream.start = stream.pos = startAt || 0;\n    if (text == \"\") { callBlankLine(mode, context.state); }\n    while (!stream.eol()) {\n      readToken(mode, stream, context.state);\n      stream.start = stream.pos;\n    }\n  }\n\n  function callBlankLine(mode, state) {\n    if (mode.blankLine) { return mode.blankLine(state) }\n    if (!mode.innerMode) { return }\n    var inner = innerMode(mode, state);\n    if (inner.mode.blankLine) { return inner.mode.blankLine(inner.state) }\n  }\n\n  function readToken(mode, stream, state, inner) {\n    for (var i = 0; i < 10; i++) {\n      if (inner) { inner[0] = innerMode(mode, state).mode; }\n      var style = mode.token(stream, state);\n      if (stream.pos > stream.start) { return style }\n    }\n    throw new Error(\"Mode \" + mode.name + \" failed to advance stream.\")\n  }\n\n  var Token = function(stream, type, state) {\n    this.start = stream.start; this.end = stream.pos;\n    this.string = stream.current();\n    this.type = type || null;\n    this.state = state;\n  };\n\n  // Utility for getTokenAt and getLineTokens\n  function takeToken(cm, pos, precise, asArray) {\n    var doc = cm.doc, mode = doc.mode, style;\n    pos = clipPos(doc, pos);\n    var line = getLine(doc, pos.line), context = getContextBefore(cm, pos.line, precise);\n    var stream = new StringStream(line.text, cm.options.tabSize, context), tokens;\n    if (asArray) { tokens = []; }\n    while ((asArray || stream.pos < pos.ch) && !stream.eol()) {\n      stream.start = stream.pos;\n      style = readToken(mode, stream, context.state);\n      if (asArray) { tokens.push(new Token(stream, style, copyState(doc.mode, context.state))); }\n    }\n    return asArray ? tokens : new Token(stream, style, context.state)\n  }\n\n  function extractLineClasses(type, output) {\n    if (type) { for (;;) {\n      var lineClass = type.match(/(?:^|\\s+)line-(background-)?(\\S+)/);\n      if (!lineClass) { break }\n      type = type.slice(0, lineClass.index) + type.slice(lineClass.index + lineClass[0].length);\n      var prop = lineClass[1] ? \"bgClass\" : \"textClass\";\n      if (output[prop] == null)\n        { output[prop] = lineClass[2]; }\n      else if (!(new RegExp(\"(?:^|\\\\s)\" + lineClass[2] + \"(?:$|\\\\s)\")).test(output[prop]))\n        { output[prop] += \" \" + lineClass[2]; }\n    } }\n    return type\n  }\n\n  // Run the given mode's parser over a line, calling f for each token.\n  function runMode(cm, text, mode, context, f, lineClasses, forceToEnd) {\n    var flattenSpans = mode.flattenSpans;\n    if (flattenSpans == null) { flattenSpans = cm.options.flattenSpans; }\n    var curStart = 0, curStyle = null;\n    var stream = new StringStream(text, cm.options.tabSize, context), style;\n    var inner = cm.options.addModeClass && [null];\n    if (text == \"\") { extractLineClasses(callBlankLine(mode, context.state), lineClasses); }\n    while (!stream.eol()) {\n      if (stream.pos > cm.options.maxHighlightLength) {\n        flattenSpans = false;\n        if (forceToEnd) { processLine(cm, text, context, stream.pos); }\n        stream.pos = text.length;\n        style = null;\n      } else {\n        style = extractLineClasses(readToken(mode, stream, context.state, inner), lineClasses);\n      }\n      if (inner) {\n        var mName = inner[0].name;\n        if (mName) { style = \"m-\" + (style ? mName + \" \" + style : mName); }\n      }\n      if (!flattenSpans || curStyle != style) {\n        while (curStart < stream.start) {\n          curStart = Math.min(stream.start, curStart + 5000);\n          f(curStart, curStyle);\n        }\n        curStyle = style;\n      }\n      stream.start = stream.pos;\n    }\n    while (curStart < stream.pos) {\n      // Webkit seems to refuse to render text nodes longer than 57444\n      // characters, and returns inaccurate measurements in nodes\n      // starting around 5000 chars.\n      var pos = Math.min(stream.pos, curStart + 5000);\n      f(pos, curStyle);\n      curStart = pos;\n    }\n  }\n\n  // Finds the line to start with when starting a parse. Tries to\n  // find a line with a stateAfter, so that it can start with a\n  // valid state. If that fails, it returns the line with the\n  // smallest indentation, which tends to need the least context to\n  // parse correctly.\n  function findStartLine(cm, n, precise) {\n    var minindent, minline, doc = cm.doc;\n    var lim = precise ? -1 : n - (cm.doc.mode.innerMode ? 1000 : 100);\n    for (var search = n; search > lim; --search) {\n      if (search <= doc.first) { return doc.first }\n      var line = getLine(doc, search - 1), after = line.stateAfter;\n      if (after && (!precise || search + (after instanceof SavedContext ? after.lookAhead : 0) <= doc.modeFrontier))\n        { return search }\n      var indented = countColumn(line.text, null, cm.options.tabSize);\n      if (minline == null || minindent > indented) {\n        minline = search - 1;\n        minindent = indented;\n      }\n    }\n    return minline\n  }\n\n  function retreatFrontier(doc, n) {\n    doc.modeFrontier = Math.min(doc.modeFrontier, n);\n    if (doc.highlightFrontier < n - 10) { return }\n    var start = doc.first;\n    for (var line = n - 1; line > start; line--) {\n      var saved = getLine(doc, line).stateAfter;\n      // change is on 3\n      // state on line 1 looked ahead 2 -- so saw 3\n      // test 1 + 2 < 3 should cover this\n      if (saved && (!(saved instanceof SavedContext) || line + saved.lookAhead < n)) {\n        start = line + 1;\n        break\n      }\n    }\n    doc.highlightFrontier = Math.min(doc.highlightFrontier, start);\n  }\n\n  // Optimize some code when these features are not used.\n  var sawReadOnlySpans = false, sawCollapsedSpans = false;\n\n  function seeReadOnlySpans() {\n    sawReadOnlySpans = true;\n  }\n\n  function seeCollapsedSpans() {\n    sawCollapsedSpans = true;\n  }\n\n  // TEXTMARKER SPANS\n\n  function MarkedSpan(marker, from, to) {\n    this.marker = marker;\n    this.from = from; this.to = to;\n  }\n\n  // Search an array of spans for a span matching the given marker.\n  function getMarkedSpanFor(spans, marker) {\n    if (spans) { for (var i = 0; i < spans.length; ++i) {\n      var span = spans[i];\n      if (span.marker == marker) { return span }\n    } }\n  }\n\n  // Remove a span from an array, returning undefined if no spans are\n  // left (we don't store arrays for lines without spans).\n  function removeMarkedSpan(spans, span) {\n    var r;\n    for (var i = 0; i < spans.length; ++i)\n      { if (spans[i] != span) { (r || (r = [])).push(spans[i]); } }\n    return r\n  }\n\n  // Add a span to a line.\n  function addMarkedSpan(line, span, op) {\n    var inThisOp = op && window.WeakSet && (op.markedSpans || (op.markedSpans = new WeakSet));\n    if (inThisOp && inThisOp.has(line.markedSpans)) {\n      line.markedSpans.push(span);\n    } else {\n      line.markedSpans = line.markedSpans ? line.markedSpans.concat([span]) : [span];\n      if (inThisOp) { inThisOp.add(line.markedSpans); }\n    }\n    span.marker.attachLine(line);\n  }\n\n  // Used for the algorithm that adjusts markers for a change in the\n  // document. These functions cut an array of spans at a given\n  // character position, returning an array of remaining chunks (or\n  // undefined if nothing remains).\n  function markedSpansBefore(old, startCh, isInsert) {\n    var nw;\n    if (old) { for (var i = 0; i < old.length; ++i) {\n      var span = old[i], marker = span.marker;\n      var startsBefore = span.from == null || (marker.inclusiveLeft ? span.from <= startCh : span.from < startCh);\n      if (startsBefore || span.from == startCh && marker.type == \"bookmark\" && (!isInsert || !span.marker.insertLeft)) {\n        var endsAfter = span.to == null || (marker.inclusiveRight ? span.to >= startCh : span.to > startCh)\n        ;(nw || (nw = [])).push(new MarkedSpan(marker, span.from, endsAfter ? null : span.to));\n      }\n    } }\n    return nw\n  }\n  function markedSpansAfter(old, endCh, isInsert) {\n    var nw;\n    if (old) { for (var i = 0; i < old.length; ++i) {\n      var span = old[i], marker = span.marker;\n      var endsAfter = span.to == null || (marker.inclusiveRight ? span.to >= endCh : span.to > endCh);\n      if (endsAfter || span.from == endCh && marker.type == \"bookmark\" && (!isInsert || span.marker.insertLeft)) {\n        var startsBefore = span.from == null || (marker.inclusiveLeft ? span.from <= endCh : span.from < endCh)\n        ;(nw || (nw = [])).push(new MarkedSpan(marker, startsBefore ? null : span.from - endCh,\n                                              span.to == null ? null : span.to - endCh));\n      }\n    } }\n    return nw\n  }\n\n  // Given a change object, compute the new set of marker spans that\n  // cover the line in which the change took place. Removes spans\n  // entirely within the change, reconnects spans belonging to the\n  // same marker that appear on both sides of the change, and cuts off\n  // spans partially within the change. Returns an array of span\n  // arrays with one element for each line in (after) the change.\n  function stretchSpansOverChange(doc, change) {\n    if (change.full) { return null }\n    var oldFirst = isLine(doc, change.from.line) && getLine(doc, change.from.line).markedSpans;\n    var oldLast = isLine(doc, change.to.line) && getLine(doc, change.to.line).markedSpans;\n    if (!oldFirst && !oldLast) { return null }\n\n    var startCh = change.from.ch, endCh = change.to.ch, isInsert = cmp(change.from, change.to) == 0;\n    // Get the spans that 'stick out' on both sides\n    var first = markedSpansBefore(oldFirst, startCh, isInsert);\n    var last = markedSpansAfter(oldLast, endCh, isInsert);\n\n    // Next, merge those two ends\n    var sameLine = change.text.length == 1, offset = lst(change.text).length + (sameLine ? startCh : 0);\n    if (first) {\n      // Fix up .to properties of first\n      for (var i = 0; i < first.length; ++i) {\n        var span = first[i];\n        if (span.to == null) {\n          var found = getMarkedSpanFor(last, span.marker);\n          if (!found) { span.to = startCh; }\n          else if (sameLine) { span.to = found.to == null ? null : found.to + offset; }\n        }\n      }\n    }\n    if (last) {\n      // Fix up .from in last (or move them into first in case of sameLine)\n      for (var i$1 = 0; i$1 < last.length; ++i$1) {\n        var span$1 = last[i$1];\n        if (span$1.to != null) { span$1.to += offset; }\n        if (span$1.from == null) {\n          var found$1 = getMarkedSpanFor(first, span$1.marker);\n          if (!found$1) {\n            span$1.from = offset;\n            if (sameLine) { (first || (first = [])).push(span$1); }\n          }\n        } else {\n          span$1.from += offset;\n          if (sameLine) { (first || (first = [])).push(span$1); }\n        }\n      }\n    }\n    // Make sure we didn't create any zero-length spans\n    if (first) { first = clearEmptySpans(first); }\n    if (last && last != first) { last = clearEmptySpans(last); }\n\n    var newMarkers = [first];\n    if (!sameLine) {\n      // Fill gap with whole-line-spans\n      var gap = change.text.length - 2, gapMarkers;\n      if (gap > 0 && first)\n        { for (var i$2 = 0; i$2 < first.length; ++i$2)\n          { if (first[i$2].to == null)\n            { (gapMarkers || (gapMarkers = [])).push(new MarkedSpan(first[i$2].marker, null, null)); } } }\n      for (var i$3 = 0; i$3 < gap; ++i$3)\n        { newMarkers.push(gapMarkers); }\n      newMarkers.push(last);\n    }\n    return newMarkers\n  }\n\n  // Remove spans that are empty and don't have a clearWhenEmpty\n  // option of false.\n  function clearEmptySpans(spans) {\n    for (var i = 0; i < spans.length; ++i) {\n      var span = spans[i];\n      if (span.from != null && span.from == span.to && span.marker.clearWhenEmpty !== false)\n        { spans.splice(i--, 1); }\n    }\n    if (!spans.length) { return null }\n    return spans\n  }\n\n  // Used to 'clip' out readOnly ranges when making a change.\n  function removeReadOnlyRanges(doc, from, to) {\n    var markers = null;\n    doc.iter(from.line, to.line + 1, function (line) {\n      if (line.markedSpans) { for (var i = 0; i < line.markedSpans.length; ++i) {\n        var mark = line.markedSpans[i].marker;\n        if (mark.readOnly && (!markers || indexOf(markers, mark) == -1))\n          { (markers || (markers = [])).push(mark); }\n      } }\n    });\n    if (!markers) { return null }\n    var parts = [{from: from, to: to}];\n    for (var i = 0; i < markers.length; ++i) {\n      var mk = markers[i], m = mk.find(0);\n      for (var j = 0; j < parts.length; ++j) {\n        var p = parts[j];\n        if (cmp(p.to, m.from) < 0 || cmp(p.from, m.to) > 0) { continue }\n        var newParts = [j, 1], dfrom = cmp(p.from, m.from), dto = cmp(p.to, m.to);\n        if (dfrom < 0 || !mk.inclusiveLeft && !dfrom)\n          { newParts.push({from: p.from, to: m.from}); }\n        if (dto > 0 || !mk.inclusiveRight && !dto)\n          { newParts.push({from: m.to, to: p.to}); }\n        parts.splice.apply(parts, newParts);\n        j += newParts.length - 3;\n      }\n    }\n    return parts\n  }\n\n  // Connect or disconnect spans from a line.\n  function detachMarkedSpans(line) {\n    var spans = line.markedSpans;\n    if (!spans) { return }\n    for (var i = 0; i < spans.length; ++i)\n      { spans[i].marker.detachLine(line); }\n    line.markedSpans = null;\n  }\n  function attachMarkedSpans(line, spans) {\n    if (!spans) { return }\n    for (var i = 0; i < spans.length; ++i)\n      { spans[i].marker.attachLine(line); }\n    line.markedSpans = spans;\n  }\n\n  // Helpers used when computing which overlapping collapsed span\n  // counts as the larger one.\n  function extraLeft(marker) { return marker.inclusiveLeft ? -1 : 0 }\n  function extraRight(marker) { return marker.inclusiveRight ? 1 : 0 }\n\n  // Returns a number indicating which of two overlapping collapsed\n  // spans is larger (and thus includes the other). Falls back to\n  // comparing ids when the spans cover exactly the same range.\n  function compareCollapsedMarkers(a, b) {\n    var lenDiff = a.lines.length - b.lines.length;\n    if (lenDiff != 0) { return lenDiff }\n    var aPos = a.find(), bPos = b.find();\n    var fromCmp = cmp(aPos.from, bPos.from) || extraLeft(a) - extraLeft(b);\n    if (fromCmp) { return -fromCmp }\n    var toCmp = cmp(aPos.to, bPos.to) || extraRight(a) - extraRight(b);\n    if (toCmp) { return toCmp }\n    return b.id - a.id\n  }\n\n  // Find out whether a line ends or starts in a collapsed span. If\n  // so, return the marker for that span.\n  function collapsedSpanAtSide(line, start) {\n    var sps = sawCollapsedSpans && line.markedSpans, found;\n    if (sps) { for (var sp = (void 0), i = 0; i < sps.length; ++i) {\n      sp = sps[i];\n      if (sp.marker.collapsed && (start ? sp.from : sp.to) == null &&\n          (!found || compareCollapsedMarkers(found, sp.marker) < 0))\n        { found = sp.marker; }\n    } }\n    return found\n  }\n  function collapsedSpanAtStart(line) { return collapsedSpanAtSide(line, true) }\n  function collapsedSpanAtEnd(line) { return collapsedSpanAtSide(line, false) }\n\n  function collapsedSpanAround(line, ch) {\n    var sps = sawCollapsedSpans && line.markedSpans, found;\n    if (sps) { for (var i = 0; i < sps.length; ++i) {\n      var sp = sps[i];\n      if (sp.marker.collapsed && (sp.from == null || sp.from < ch) && (sp.to == null || sp.to > ch) &&\n          (!found || compareCollapsedMarkers(found, sp.marker) < 0)) { found = sp.marker; }\n    } }\n    return found\n  }\n\n  // Test whether there exists a collapsed span that partially\n  // overlaps (covers the start or end, but not both) of a new span.\n  // Such overlap is not allowed.\n  function conflictingCollapsedRange(doc, lineNo, from, to, marker) {\n    var line = getLine(doc, lineNo);\n    var sps = sawCollapsedSpans && line.markedSpans;\n    if (sps) { for (var i = 0; i < sps.length; ++i) {\n      var sp = sps[i];\n      if (!sp.marker.collapsed) { continue }\n      var found = sp.marker.find(0);\n      var fromCmp = cmp(found.from, from) || extraLeft(sp.marker) - extraLeft(marker);\n      var toCmp = cmp(found.to, to) || extraRight(sp.marker) - extraRight(marker);\n      if (fromCmp >= 0 && toCmp <= 0 || fromCmp <= 0 && toCmp >= 0) { continue }\n      if (fromCmp <= 0 && (sp.marker.inclusiveRight && marker.inclusiveLeft ? cmp(found.to, from) >= 0 : cmp(found.to, from) > 0) ||\n          fromCmp >= 0 && (sp.marker.inclusiveRight && marker.inclusiveLeft ? cmp(found.from, to) <= 0 : cmp(found.from, to) < 0))\n        { return true }\n    } }\n  }\n\n  // A visual line is a line as drawn on the screen. Folding, for\n  // example, can cause multiple logical lines to appear on the same\n  // visual line. This finds the start of the visual line that the\n  // given line is part of (usually that is the line itself).\n  function visualLine(line) {\n    var merged;\n    while (merged = collapsedSpanAtStart(line))\n      { line = merged.find(-1, true).line; }\n    return line\n  }\n\n  function visualLineEnd(line) {\n    var merged;\n    while (merged = collapsedSpanAtEnd(line))\n      { line = merged.find(1, true).line; }\n    return line\n  }\n\n  // Returns an array of logical lines that continue the visual line\n  // started by the argument, or undefined if there are no such lines.\n  function visualLineContinued(line) {\n    var merged, lines;\n    while (merged = collapsedSpanAtEnd(line)) {\n      line = merged.find(1, true).line\n      ;(lines || (lines = [])).push(line);\n    }\n    return lines\n  }\n\n  // Get the line number of the start of the visual line that the\n  // given line number is part of.\n  function visualLineNo(doc, lineN) {\n    var line = getLine(doc, lineN), vis = visualLine(line);\n    if (line == vis) { return lineN }\n    return lineNo(vis)\n  }\n\n  // Get the line number of the start of the next visual line after\n  // the given line.\n  function visualLineEndNo(doc, lineN) {\n    if (lineN > doc.lastLine()) { return lineN }\n    var line = getLine(doc, lineN), merged;\n    if (!lineIsHidden(doc, line)) { return lineN }\n    while (merged = collapsedSpanAtEnd(line))\n      { line = merged.find(1, true).line; }\n    return lineNo(line) + 1\n  }\n\n  // Compute whether a line is hidden. Lines count as hidden when they\n  // are part of a visual line that starts with another line, or when\n  // they are entirely covered by collapsed, non-widget span.\n  function lineIsHidden(doc, line) {\n    var sps = sawCollapsedSpans && line.markedSpans;\n    if (sps) { for (var sp = (void 0), i = 0; i < sps.length; ++i) {\n      sp = sps[i];\n      if (!sp.marker.collapsed) { continue }\n      if (sp.from == null) { return true }\n      if (sp.marker.widgetNode) { continue }\n      if (sp.from == 0 && sp.marker.inclusiveLeft && lineIsHiddenInner(doc, line, sp))\n        { return true }\n    } }\n  }\n  function lineIsHiddenInner(doc, line, span) {\n    if (span.to == null) {\n      var end = span.marker.find(1, true);\n      return lineIsHiddenInner(doc, end.line, getMarkedSpanFor(end.line.markedSpans, span.marker))\n    }\n    if (span.marker.inclusiveRight && span.to == line.text.length)\n      { return true }\n    for (var sp = (void 0), i = 0; i < line.markedSpans.length; ++i) {\n      sp = line.markedSpans[i];\n      if (sp.marker.collapsed && !sp.marker.widgetNode && sp.from == span.to &&\n          (sp.to == null || sp.to != span.from) &&\n          (sp.marker.inclusiveLeft || span.marker.inclusiveRight) &&\n          lineIsHiddenInner(doc, line, sp)) { return true }\n    }\n  }\n\n  // Find the height above the given line.\n  function heightAtLine(lineObj) {\n    lineObj = visualLine(lineObj);\n\n    var h = 0, chunk = lineObj.parent;\n    for (var i = 0; i < chunk.lines.length; ++i) {\n      var line = chunk.lines[i];\n      if (line == lineObj) { break }\n      else { h += line.height; }\n    }\n    for (var p = chunk.parent; p; chunk = p, p = chunk.parent) {\n      for (var i$1 = 0; i$1 < p.children.length; ++i$1) {\n        var cur = p.children[i$1];\n        if (cur == chunk) { break }\n        else { h += cur.height; }\n      }\n    }\n    return h\n  }\n\n  // Compute the character length of a line, taking into account\n  // collapsed ranges (see markText) that might hide parts, and join\n  // other lines onto it.\n  function lineLength(line) {\n    if (line.height == 0) { return 0 }\n    var len = line.text.length, merged, cur = line;\n    while (merged = collapsedSpanAtStart(cur)) {\n      var found = merged.find(0, true);\n      cur = found.from.line;\n      len += found.from.ch - found.to.ch;\n    }\n    cur = line;\n    while (merged = collapsedSpanAtEnd(cur)) {\n      var found$1 = merged.find(0, true);\n      len -= cur.text.length - found$1.from.ch;\n      cur = found$1.to.line;\n      len += cur.text.length - found$1.to.ch;\n    }\n    return len\n  }\n\n  // Find the longest line in the document.\n  function findMaxLine(cm) {\n    var d = cm.display, doc = cm.doc;\n    d.maxLine = getLine(doc, doc.first);\n    d.maxLineLength = lineLength(d.maxLine);\n    d.maxLineChanged = true;\n    doc.iter(function (line) {\n      var len = lineLength(line);\n      if (len > d.maxLineLength) {\n        d.maxLineLength = len;\n        d.maxLine = line;\n      }\n    });\n  }\n\n  // LINE DATA STRUCTURE\n\n  // Line objects. These hold state related to a line, including\n  // highlighting info (the styles array).\n  var Line = function(text, markedSpans, estimateHeight) {\n    this.text = text;\n    attachMarkedSpans(this, markedSpans);\n    this.height = estimateHeight ? estimateHeight(this) : 1;\n  };\n\n  Line.prototype.lineNo = function () { return lineNo(this) };\n  eventMixin(Line);\n\n  // Change the content (text, markers) of a line. Automatically\n  // invalidates cached information and tries to re-estimate the\n  // line's height.\n  function updateLine(line, text, markedSpans, estimateHeight) {\n    line.text = text;\n    if (line.stateAfter) { line.stateAfter = null; }\n    if (line.styles) { line.styles = null; }\n    if (line.order != null) { line.order = null; }\n    detachMarkedSpans(line);\n    attachMarkedSpans(line, markedSpans);\n    var estHeight = estimateHeight ? estimateHeight(line) : 1;\n    if (estHeight != line.height) { updateLineHeight(line, estHeight); }\n  }\n\n  // Detach a line from the document tree and its markers.\n  function cleanUpLine(line) {\n    line.parent = null;\n    detachMarkedSpans(line);\n  }\n\n  // Convert a style as returned by a mode (either null, or a string\n  // containing one or more styles) to a CSS style. This is cached,\n  // and also looks for line-wide styles.\n  var styleToClassCache = {}, styleToClassCacheWithMode = {};\n  function interpretTokenStyle(style, options) {\n    if (!style || /^\\s*$/.test(style)) { return null }\n    var cache = options.addModeClass ? styleToClassCacheWithMode : styleToClassCache;\n    return cache[style] ||\n      (cache[style] = style.replace(/\\S+/g, \"cm-$&\"))\n  }\n\n  // Render the DOM representation of the text of a line. Also builds\n  // up a 'line map', which points at the DOM nodes that represent\n  // specific stretches of text, and is used by the measuring code.\n  // The returned object contains the DOM node, this map, and\n  // information about line-wide styles that were set by the mode.\n  function buildLineContent(cm, lineView) {\n    // The padding-right forces the element to have a 'border', which\n    // is needed on Webkit to be able to get line-level bounding\n    // rectangles for it (in measureChar).\n    var content = eltP(\"span\", null, null, webkit ? \"padding-right: .1px\" : null);\n    var builder = {pre: eltP(\"pre\", [content], \"CodeMirror-line\"), content: content,\n                   col: 0, pos: 0, cm: cm,\n                   trailingSpace: false,\n                   splitSpaces: cm.getOption(\"lineWrapping\")};\n    lineView.measure = {};\n\n    // Iterate over the logical lines that make up this visual line.\n    for (var i = 0; i <= (lineView.rest ? lineView.rest.length : 0); i++) {\n      var line = i ? lineView.rest[i - 1] : lineView.line, order = (void 0);\n      builder.pos = 0;\n      builder.addToken = buildToken;\n      // Optionally wire in some hacks into the token-rendering\n      // algorithm, to deal with browser quirks.\n      if (hasBadBidiRects(cm.display.measure) && (order = getOrder(line, cm.doc.direction)))\n        { builder.addToken = buildTokenBadBidi(builder.addToken, order); }\n      builder.map = [];\n      var allowFrontierUpdate = lineView != cm.display.externalMeasured && lineNo(line);\n      insertLineContent(line, builder, getLineStyles(cm, line, allowFrontierUpdate));\n      if (line.styleClasses) {\n        if (line.styleClasses.bgClass)\n          { builder.bgClass = joinClasses(line.styleClasses.bgClass, builder.bgClass || \"\"); }\n        if (line.styleClasses.textClass)\n          { builder.textClass = joinClasses(line.styleClasses.textClass, builder.textClass || \"\"); }\n      }\n\n      // Ensure at least a single node is present, for measuring.\n      if (builder.map.length == 0)\n        { builder.map.push(0, 0, builder.content.appendChild(zeroWidthElement(cm.display.measure))); }\n\n      // Store the map and a cache object for the current logical line\n      if (i == 0) {\n        lineView.measure.map = builder.map;\n        lineView.measure.cache = {};\n      } else {\n  (lineView.measure.maps || (lineView.measure.maps = [])).push(builder.map)\n        ;(lineView.measure.caches || (lineView.measure.caches = [])).push({});\n      }\n    }\n\n    // See issue #2901\n    if (webkit) {\n      var last = builder.content.lastChild;\n      if (/\\bcm-tab\\b/.test(last.className) || (last.querySelector && last.querySelector(\".cm-tab\")))\n        { builder.content.className = \"cm-tab-wrap-hack\"; }\n    }\n\n    signal(cm, \"renderLine\", cm, lineView.line, builder.pre);\n    if (builder.pre.className)\n      { builder.textClass = joinClasses(builder.pre.className, builder.textClass || \"\"); }\n\n    return builder\n  }\n\n  function defaultSpecialCharPlaceholder(ch) {\n    var token = elt(\"span\", \"\\u2022\", \"cm-invalidchar\");\n    token.title = \"\\\\u\" + ch.charCodeAt(0).toString(16);\n    token.setAttribute(\"aria-label\", token.title);\n    return token\n  }\n\n  // Build up the DOM representation for a single token, and add it to\n  // the line map. Takes care to render special characters separately.\n  function buildToken(builder, text, style, startStyle, endStyle, css, attributes) {\n    if (!text) { return }\n    var displayText = builder.splitSpaces ? splitSpaces(text, builder.trailingSpace) : text;\n    var special = builder.cm.state.specialChars, mustWrap = false;\n    var content;\n    if (!special.test(text)) {\n      builder.col += text.length;\n      content = document.createTextNode(displayText);\n      builder.map.push(builder.pos, builder.pos + text.length, content);\n      if (ie && ie_version < 9) { mustWrap = true; }\n      builder.pos += text.length;\n    } else {\n      content = document.createDocumentFragment();\n      var pos = 0;\n      while (true) {\n        special.lastIndex = pos;\n        var m = special.exec(text);\n        var skipped = m ? m.index - pos : text.length - pos;\n        if (skipped) {\n          var txt = document.createTextNode(displayText.slice(pos, pos + skipped));\n          if (ie && ie_version < 9) { content.appendChild(elt(\"span\", [txt])); }\n          else { content.appendChild(txt); }\n          builder.map.push(builder.pos, builder.pos + skipped, txt);\n          builder.col += skipped;\n          builder.pos += skipped;\n        }\n        if (!m) { break }\n        pos += skipped + 1;\n        var txt$1 = (void 0);\n        if (m[0] == \"\\t\") {\n          var tabSize = builder.cm.options.tabSize, tabWidth = tabSize - builder.col % tabSize;\n          txt$1 = content.appendChild(elt(\"span\", spaceStr(tabWidth), \"cm-tab\"));\n          txt$1.setAttribute(\"role\", \"presentation\");\n          txt$1.setAttribute(\"cm-text\", \"\\t\");\n          builder.col += tabWidth;\n        } else if (m[0] == \"\\r\" || m[0] == \"\\n\") {\n          txt$1 = content.appendChild(elt(\"span\", m[0] == \"\\r\" ? \"\\u240d\" : \"\\u2424\", \"cm-invalidchar\"));\n          txt$1.setAttribute(\"cm-text\", m[0]);\n          builder.col += 1;\n        } else {\n          txt$1 = builder.cm.options.specialCharPlaceholder(m[0]);\n          txt$1.setAttribute(\"cm-text\", m[0]);\n          if (ie && ie_version < 9) { content.appendChild(elt(\"span\", [txt$1])); }\n          else { content.appendChild(txt$1); }\n          builder.col += 1;\n        }\n        builder.map.push(builder.pos, builder.pos + 1, txt$1);\n        builder.pos++;\n      }\n    }\n    builder.trailingSpace = displayText.charCodeAt(text.length - 1) == 32;\n    if (style || startStyle || endStyle || mustWrap || css || attributes) {\n      var fullStyle = style || \"\";\n      if (startStyle) { fullStyle += startStyle; }\n      if (endStyle) { fullStyle += endStyle; }\n      var token = elt(\"span\", [content], fullStyle, css);\n      if (attributes) {\n        for (var attr in attributes) { if (attributes.hasOwnProperty(attr) && attr != \"style\" && attr != \"class\")\n          { token.setAttribute(attr, attributes[attr]); } }\n      }\n      return builder.content.appendChild(token)\n    }\n    builder.content.appendChild(content);\n  }\n\n  // Change some spaces to NBSP to prevent the browser from collapsing\n  // trailing spaces at the end of a line when rendering text (issue #1362).\n  function splitSpaces(text, trailingBefore) {\n    if (text.length > 1 && !/  /.test(text)) { return text }\n    var spaceBefore = trailingBefore, result = \"\";\n    for (var i = 0; i < text.length; i++) {\n      var ch = text.charAt(i);\n      if (ch == \" \" && spaceBefore && (i == text.length - 1 || text.charCodeAt(i + 1) == 32))\n        { ch = \"\\u00a0\"; }\n      result += ch;\n      spaceBefore = ch == \" \";\n    }\n    return result\n  }\n\n  // Work around nonsense dimensions being reported for stretches of\n  // right-to-left text.\n  function buildTokenBadBidi(inner, order) {\n    return function (builder, text, style, startStyle, endStyle, css, attributes) {\n      style = style ? style + \" cm-force-border\" : \"cm-force-border\";\n      var start = builder.pos, end = start + text.length;\n      for (;;) {\n        // Find the part that overlaps with the start of this text\n        var part = (void 0);\n        for (var i = 0; i < order.length; i++) {\n          part = order[i];\n          if (part.to > start && part.from <= start) { break }\n        }\n        if (part.to >= end) { return inner(builder, text, style, startStyle, endStyle, css, attributes) }\n        inner(builder, text.slice(0, part.to - start), style, startStyle, null, css, attributes);\n        startStyle = null;\n        text = text.slice(part.to - start);\n        start = part.to;\n      }\n    }\n  }\n\n  function buildCollapsedSpan(builder, size, marker, ignoreWidget) {\n    var widget = !ignoreWidget && marker.widgetNode;\n    if (widget) { builder.map.push(builder.pos, builder.pos + size, widget); }\n    if (!ignoreWidget && builder.cm.display.input.needsContentAttribute) {\n      if (!widget)\n        { widget = builder.content.appendChild(document.createElement(\"span\")); }\n      widget.setAttribute(\"cm-marker\", marker.id);\n    }\n    if (widget) {\n      builder.cm.display.input.setUneditable(widget);\n      builder.content.appendChild(widget);\n    }\n    builder.pos += size;\n    builder.trailingSpace = false;\n  }\n\n  // Outputs a number of spans to make up a line, taking highlighting\n  // and marked text into account.\n  function insertLineContent(line, builder, styles) {\n    var spans = line.markedSpans, allText = line.text, at = 0;\n    if (!spans) {\n      for (var i$1 = 1; i$1 < styles.length; i$1+=2)\n        { builder.addToken(builder, allText.slice(at, at = styles[i$1]), interpretTokenStyle(styles[i$1+1], builder.cm.options)); }\n      return\n    }\n\n    var len = allText.length, pos = 0, i = 1, text = \"\", style, css;\n    var nextChange = 0, spanStyle, spanEndStyle, spanStartStyle, collapsed, attributes;\n    for (;;) {\n      if (nextChange == pos) { // Update current marker set\n        spanStyle = spanEndStyle = spanStartStyle = css = \"\";\n        attributes = null;\n        collapsed = null; nextChange = Infinity;\n        var foundBookmarks = [], endStyles = (void 0);\n        for (var j = 0; j < spans.length; ++j) {\n          var sp = spans[j], m = sp.marker;\n          if (m.type == \"bookmark\" && sp.from == pos && m.widgetNode) {\n            foundBookmarks.push(m);\n          } else if (sp.from <= pos && (sp.to == null || sp.to > pos || m.collapsed && sp.to == pos && sp.from == pos)) {\n            if (sp.to != null && sp.to != pos && nextChange > sp.to) {\n              nextChange = sp.to;\n              spanEndStyle = \"\";\n            }\n            if (m.className) { spanStyle += \" \" + m.className; }\n            if (m.css) { css = (css ? css + \";\" : \"\") + m.css; }\n            if (m.startStyle && sp.from == pos) { spanStartStyle += \" \" + m.startStyle; }\n            if (m.endStyle && sp.to == nextChange) { (endStyles || (endStyles = [])).push(m.endStyle, sp.to); }\n            // support for the old title property\n            // https://github.com/codemirror/CodeMirror/pull/5673\n            if (m.title) { (attributes || (attributes = {})).title = m.title; }\n            if (m.attributes) {\n              for (var attr in m.attributes)\n                { (attributes || (attributes = {}))[attr] = m.attributes[attr]; }\n            }\n            if (m.collapsed && (!collapsed || compareCollapsedMarkers(collapsed.marker, m) < 0))\n              { collapsed = sp; }\n          } else if (sp.from > pos && nextChange > sp.from) {\n            nextChange = sp.from;\n          }\n        }\n        if (endStyles) { for (var j$1 = 0; j$1 < endStyles.length; j$1 += 2)\n          { if (endStyles[j$1 + 1] == nextChange) { spanEndStyle += \" \" + endStyles[j$1]; } } }\n\n        if (!collapsed || collapsed.from == pos) { for (var j$2 = 0; j$2 < foundBookmarks.length; ++j$2)\n          { buildCollapsedSpan(builder, 0, foundBookmarks[j$2]); } }\n        if (collapsed && (collapsed.from || 0) == pos) {\n          buildCollapsedSpan(builder, (collapsed.to == null ? len + 1 : collapsed.to) - pos,\n                             collapsed.marker, collapsed.from == null);\n          if (collapsed.to == null) { return }\n          if (collapsed.to == pos) { collapsed = false; }\n        }\n      }\n      if (pos >= len) { break }\n\n      var upto = Math.min(len, nextChange);\n      while (true) {\n        if (text) {\n          var end = pos + text.length;\n          if (!collapsed) {\n            var tokenText = end > upto ? text.slice(0, upto - pos) : text;\n            builder.addToken(builder, tokenText, style ? style + spanStyle : spanStyle,\n                             spanStartStyle, pos + tokenText.length == nextChange ? spanEndStyle : \"\", css, attributes);\n          }\n          if (end >= upto) {text = text.slice(upto - pos); pos = upto; break}\n          pos = end;\n          spanStartStyle = \"\";\n        }\n        text = allText.slice(at, at = styles[i++]);\n        style = interpretTokenStyle(styles[i++], builder.cm.options);\n      }\n    }\n  }\n\n\n  // These objects are used to represent the visible (currently drawn)\n  // part of the document. A LineView may correspond to multiple\n  // logical lines, if those are connected by collapsed ranges.\n  function LineView(doc, line, lineN) {\n    // The starting line\n    this.line = line;\n    // Continuing lines, if any\n    this.rest = visualLineContinued(line);\n    // Number of logical lines in this visual line\n    this.size = this.rest ? lineNo(lst(this.rest)) - lineN + 1 : 1;\n    this.node = this.text = null;\n    this.hidden = lineIsHidden(doc, line);\n  }\n\n  // Create a range of LineView objects for the given lines.\n  function buildViewArray(cm, from, to) {\n    var array = [], nextPos;\n    for (var pos = from; pos < to; pos = nextPos) {\n      var view = new LineView(cm.doc, getLine(cm.doc, pos), pos);\n      nextPos = pos + view.size;\n      array.push(view);\n    }\n    return array\n  }\n\n  var operationGroup = null;\n\n  function pushOperation(op) {\n    if (operationGroup) {\n      operationGroup.ops.push(op);\n    } else {\n      op.ownsGroup = operationGroup = {\n        ops: [op],\n        delayedCallbacks: []\n      };\n    }\n  }\n\n  function fireCallbacksForOps(group) {\n    // Calls delayed callbacks and cursorActivity handlers until no\n    // new ones appear\n    var callbacks = group.delayedCallbacks, i = 0;\n    do {\n      for (; i < callbacks.length; i++)\n        { callbacks[i].call(null); }\n      for (var j = 0; j < group.ops.length; j++) {\n        var op = group.ops[j];\n        if (op.cursorActivityHandlers)\n          { while (op.cursorActivityCalled < op.cursorActivityHandlers.length)\n            { op.cursorActivityHandlers[op.cursorActivityCalled++].call(null, op.cm); } }\n      }\n    } while (i < callbacks.length)\n  }\n\n  function finishOperation(op, endCb) {\n    var group = op.ownsGroup;\n    if (!group) { return }\n\n    try { fireCallbacksForOps(group); }\n    finally {\n      operationGroup = null;\n      endCb(group);\n    }\n  }\n\n  var orphanDelayedCallbacks = null;\n\n  // Often, we want to signal events at a point where we are in the\n  // middle of some work, but don't want the handler to start calling\n  // other methods on the editor, which might be in an inconsistent\n  // state or simply not expect any other events to happen.\n  // signalLater looks whether there are any handlers, and schedules\n  // them to be executed when the last operation ends, or, if no\n  // operation is active, when a timeout fires.\n  function signalLater(emitter, type /*, values...*/) {\n    var arr = getHandlers(emitter, type);\n    if (!arr.length) { return }\n    var args = Array.prototype.slice.call(arguments, 2), list;\n    if (operationGroup) {\n      list = operationGroup.delayedCallbacks;\n    } else if (orphanDelayedCallbacks) {\n      list = orphanDelayedCallbacks;\n    } else {\n      list = orphanDelayedCallbacks = [];\n      setTimeout(fireOrphanDelayed, 0);\n    }\n    var loop = function ( i ) {\n      list.push(function () { return arr[i].apply(null, args); });\n    };\n\n    for (var i = 0; i < arr.length; ++i)\n      loop( i );\n  }\n\n  function fireOrphanDelayed() {\n    var delayed = orphanDelayedCallbacks;\n    orphanDelayedCallbacks = null;\n    for (var i = 0; i < delayed.length; ++i) { delayed[i](); }\n  }\n\n  // When an aspect of a line changes, a string is added to\n  // lineView.changes. This updates the relevant part of the line's\n  // DOM structure.\n  function updateLineForChanges(cm, lineView, lineN, dims) {\n    for (var j = 0; j < lineView.changes.length; j++) {\n      var type = lineView.changes[j];\n      if (type == \"text\") { updateLineText(cm, lineView); }\n      else if (type == \"gutter\") { updateLineGutter(cm, lineView, lineN, dims); }\n      else if (type == \"class\") { updateLineClasses(cm, lineView); }\n      else if (type == \"widget\") { updateLineWidgets(cm, lineView, dims); }\n    }\n    lineView.changes = null;\n  }\n\n  // Lines with gutter elements, widgets or a background class need to\n  // be wrapped, and have the extra elements added to the wrapper div\n  function ensureLineWrapped(lineView) {\n    if (lineView.node == lineView.text) {\n      lineView.node = elt(\"div\", null, null, \"position: relative\");\n      if (lineView.text.parentNode)\n        { lineView.text.parentNode.replaceChild(lineView.node, lineView.text); }\n      lineView.node.appendChild(lineView.text);\n      if (ie && ie_version < 8) { lineView.node.style.zIndex = 2; }\n    }\n    return lineView.node\n  }\n\n  function updateLineBackground(cm, lineView) {\n    var cls = lineView.bgClass ? lineView.bgClass + \" \" + (lineView.line.bgClass || \"\") : lineView.line.bgClass;\n    if (cls) { cls += \" CodeMirror-linebackground\"; }\n    if (lineView.background) {\n      if (cls) { lineView.background.className = cls; }\n      else { lineView.background.parentNode.removeChild(lineView.background); lineView.background = null; }\n    } else if (cls) {\n      var wrap = ensureLineWrapped(lineView);\n      lineView.background = wrap.insertBefore(elt(\"div\", null, cls), wrap.firstChild);\n      cm.display.input.setUneditable(lineView.background);\n    }\n  }\n\n  // Wrapper around buildLineContent which will reuse the structure\n  // in display.externalMeasured when possible.\n  function getLineContent(cm, lineView) {\n    var ext = cm.display.externalMeasured;\n    if (ext && ext.line == lineView.line) {\n      cm.display.externalMeasured = null;\n      lineView.measure = ext.measure;\n      return ext.built\n    }\n    return buildLineContent(cm, lineView)\n  }\n\n  // Redraw the line's text. Interacts with the background and text\n  // classes because the mode may output tokens that influence these\n  // classes.\n  function updateLineText(cm, lineView) {\n    var cls = lineView.text.className;\n    var built = getLineContent(cm, lineView);\n    if (lineView.text == lineView.node) { lineView.node = built.pre; }\n    lineView.text.parentNode.replaceChild(built.pre, lineView.text);\n    lineView.text = built.pre;\n    if (built.bgClass != lineView.bgClass || built.textClass != lineView.textClass) {\n      lineView.bgClass = built.bgClass;\n      lineView.textClass = built.textClass;\n      updateLineClasses(cm, lineView);\n    } else if (cls) {\n      lineView.text.className = cls;\n    }\n  }\n\n  function updateLineClasses(cm, lineView) {\n    updateLineBackground(cm, lineView);\n    if (lineView.line.wrapClass)\n      { ensureLineWrapped(lineView).className = lineView.line.wrapClass; }\n    else if (lineView.node != lineView.text)\n      { lineView.node.className = \"\"; }\n    var textClass = lineView.textClass ? lineView.textClass + \" \" + (lineView.line.textClass || \"\") : lineView.line.textClass;\n    lineView.text.className = textClass || \"\";\n  }\n\n  function updateLineGutter(cm, lineView, lineN, dims) {\n    if (lineView.gutter) {\n      lineView.node.removeChild(lineView.gutter);\n      lineView.gutter = null;\n    }\n    if (lineView.gutterBackground) {\n      lineView.node.removeChild(lineView.gutterBackground);\n      lineView.gutterBackground = null;\n    }\n    if (lineView.line.gutterClass) {\n      var wrap = ensureLineWrapped(lineView);\n      lineView.gutterBackground = elt(\"div\", null, \"CodeMirror-gutter-background \" + lineView.line.gutterClass,\n                                      (\"left: \" + (cm.options.fixedGutter ? dims.fixedPos : -dims.gutterTotalWidth) + \"px; width: \" + (dims.gutterTotalWidth) + \"px\"));\n      cm.display.input.setUneditable(lineView.gutterBackground);\n      wrap.insertBefore(lineView.gutterBackground, lineView.text);\n    }\n    var markers = lineView.line.gutterMarkers;\n    if (cm.options.lineNumbers || markers) {\n      var wrap$1 = ensureLineWrapped(lineView);\n      var gutterWrap = lineView.gutter = elt(\"div\", null, \"CodeMirror-gutter-wrapper\", (\"left: \" + (cm.options.fixedGutter ? dims.fixedPos : -dims.gutterTotalWidth) + \"px\"));\n      gutterWrap.setAttribute(\"aria-hidden\", \"true\");\n      cm.display.input.setUneditable(gutterWrap);\n      wrap$1.insertBefore(gutterWrap, lineView.text);\n      if (lineView.line.gutterClass)\n        { gutterWrap.className += \" \" + lineView.line.gutterClass; }\n      if (cm.options.lineNumbers && (!markers || !markers[\"CodeMirror-linenumbers\"]))\n        { lineView.lineNumber = gutterWrap.appendChild(\n          elt(\"div\", lineNumberFor(cm.options, lineN),\n              \"CodeMirror-linenumber CodeMirror-gutter-elt\",\n              (\"left: \" + (dims.gutterLeft[\"CodeMirror-linenumbers\"]) + \"px; width: \" + (cm.display.lineNumInnerWidth) + \"px\"))); }\n      if (markers) { for (var k = 0; k < cm.display.gutterSpecs.length; ++k) {\n        var id = cm.display.gutterSpecs[k].className, found = markers.hasOwnProperty(id) && markers[id];\n        if (found)\n          { gutterWrap.appendChild(elt(\"div\", [found], \"CodeMirror-gutter-elt\",\n                                     (\"left: \" + (dims.gutterLeft[id]) + \"px; width: \" + (dims.gutterWidth[id]) + \"px\"))); }\n      } }\n    }\n  }\n\n  function updateLineWidgets(cm, lineView, dims) {\n    if (lineView.alignable) { lineView.alignable = null; }\n    var isWidget = classTest(\"CodeMirror-linewidget\");\n    for (var node = lineView.node.firstChild, next = (void 0); node; node = next) {\n      next = node.nextSibling;\n      if (isWidget.test(node.className)) { lineView.node.removeChild(node); }\n    }\n    insertLineWidgets(cm, lineView, dims);\n  }\n\n  // Build a line's DOM representation from scratch\n  function buildLineElement(cm, lineView, lineN, dims) {\n    var built = getLineContent(cm, lineView);\n    lineView.text = lineView.node = built.pre;\n    if (built.bgClass) { lineView.bgClass = built.bgClass; }\n    if (built.textClass) { lineView.textClass = built.textClass; }\n\n    updateLineClasses(cm, lineView);\n    updateLineGutter(cm, lineView, lineN, dims);\n    insertLineWidgets(cm, lineView, dims);\n    return lineView.node\n  }\n\n  // A lineView may contain multiple logical lines (when merged by\n  // collapsed spans). The widgets for all of them need to be drawn.\n  function insertLineWidgets(cm, lineView, dims) {\n    insertLineWidgetsFor(cm, lineView.line, lineView, dims, true);\n    if (lineView.rest) { for (var i = 0; i < lineView.rest.length; i++)\n      { insertLineWidgetsFor(cm, lineView.rest[i], lineView, dims, false); } }\n  }\n\n  function insertLineWidgetsFor(cm, line, lineView, dims, allowAbove) {\n    if (!line.widgets) { return }\n    var wrap = ensureLineWrapped(lineView);\n    for (var i = 0, ws = line.widgets; i < ws.length; ++i) {\n      var widget = ws[i], node = elt(\"div\", [widget.node], \"CodeMirror-linewidget\" + (widget.className ? \" \" + widget.className : \"\"));\n      if (!widget.handleMouseEvents) { node.setAttribute(\"cm-ignore-events\", \"true\"); }\n      positionLineWidget(widget, node, lineView, dims);\n      cm.display.input.setUneditable(node);\n      if (allowAbove && widget.above)\n        { wrap.insertBefore(node, lineView.gutter || lineView.text); }\n      else\n        { wrap.appendChild(node); }\n      signalLater(widget, \"redraw\");\n    }\n  }\n\n  function positionLineWidget(widget, node, lineView, dims) {\n    if (widget.noHScroll) {\n  (lineView.alignable || (lineView.alignable = [])).push(node);\n      var width = dims.wrapperWidth;\n      node.style.left = dims.fixedPos + \"px\";\n      if (!widget.coverGutter) {\n        width -= dims.gutterTotalWidth;\n        node.style.paddingLeft = dims.gutterTotalWidth + \"px\";\n      }\n      node.style.width = width + \"px\";\n    }\n    if (widget.coverGutter) {\n      node.style.zIndex = 5;\n      node.style.position = \"relative\";\n      if (!widget.noHScroll) { node.style.marginLeft = -dims.gutterTotalWidth + \"px\"; }\n    }\n  }\n\n  function widgetHeight(widget) {\n    if (widget.height != null) { return widget.height }\n    var cm = widget.doc.cm;\n    if (!cm) { return 0 }\n    if (!contains(document.body, widget.node)) {\n      var parentStyle = \"position: relative;\";\n      if (widget.coverGutter)\n        { parentStyle += \"margin-left: -\" + cm.display.gutters.offsetWidth + \"px;\"; }\n      if (widget.noHScroll)\n        { parentStyle += \"width: \" + cm.display.wrapper.clientWidth + \"px;\"; }\n      removeChildrenAndAdd(cm.display.measure, elt(\"div\", [widget.node], null, parentStyle));\n    }\n    return widget.height = widget.node.parentNode.offsetHeight\n  }\n\n  // Return true when the given mouse event happened in a widget\n  function eventInWidget(display, e) {\n    for (var n = e_target(e); n != display.wrapper; n = n.parentNode) {\n      if (!n || (n.nodeType == 1 && n.getAttribute(\"cm-ignore-events\") == \"true\") ||\n          (n.parentNode == display.sizer && n != display.mover))\n        { return true }\n    }\n  }\n\n  // POSITION MEASUREMENT\n\n  function paddingTop(display) {return display.lineSpace.offsetTop}\n  function paddingVert(display) {return display.mover.offsetHeight - display.lineSpace.offsetHeight}\n  function paddingH(display) {\n    if (display.cachedPaddingH) { return display.cachedPaddingH }\n    var e = removeChildrenAndAdd(display.measure, elt(\"pre\", \"x\", \"CodeMirror-line-like\"));\n    var style = window.getComputedStyle ? window.getComputedStyle(e) : e.currentStyle;\n    var data = {left: parseInt(style.paddingLeft), right: parseInt(style.paddingRight)};\n    if (!isNaN(data.left) && !isNaN(data.right)) { display.cachedPaddingH = data; }\n    return data\n  }\n\n  function scrollGap(cm) { return scrollerGap - cm.display.nativeBarWidth }\n  function displayWidth(cm) {\n    return cm.display.scroller.clientWidth - scrollGap(cm) - cm.display.barWidth\n  }\n  function displayHeight(cm) {\n    return cm.display.scroller.clientHeight - scrollGap(cm) - cm.display.barHeight\n  }\n\n  // Ensure the lineView.wrapping.heights array is populated. This is\n  // an array of bottom offsets for the lines that make up a drawn\n  // line. When lineWrapping is on, there might be more than one\n  // height.\n  function ensureLineHeights(cm, lineView, rect) {\n    var wrapping = cm.options.lineWrapping;\n    var curWidth = wrapping && displayWidth(cm);\n    if (!lineView.measure.heights || wrapping && lineView.measure.width != curWidth) {\n      var heights = lineView.measure.heights = [];\n      if (wrapping) {\n        lineView.measure.width = curWidth;\n        var rects = lineView.text.firstChild.getClientRects();\n        for (var i = 0; i < rects.length - 1; i++) {\n          var cur = rects[i], next = rects[i + 1];\n          if (Math.abs(cur.bottom - next.bottom) > 2)\n            { heights.push((cur.bottom + next.top) / 2 - rect.top); }\n        }\n      }\n      heights.push(rect.bottom - rect.top);\n    }\n  }\n\n  // Find a line map (mapping character offsets to text nodes) and a\n  // measurement cache for the given line number. (A line view might\n  // contain multiple lines when collapsed ranges are present.)\n  function mapFromLineView(lineView, line, lineN) {\n    if (lineView.line == line)\n      { return {map: lineView.measure.map, cache: lineView.measure.cache} }\n    for (var i = 0; i < lineView.rest.length; i++)\n      { if (lineView.rest[i] == line)\n        { return {map: lineView.measure.maps[i], cache: lineView.measure.caches[i]} } }\n    for (var i$1 = 0; i$1 < lineView.rest.length; i$1++)\n      { if (lineNo(lineView.rest[i$1]) > lineN)\n        { return {map: lineView.measure.maps[i$1], cache: lineView.measure.caches[i$1], before: true} } }\n  }\n\n  // Render a line into the hidden node display.externalMeasured. Used\n  // when measurement is needed for a line that's not in the viewport.\n  function updateExternalMeasurement(cm, line) {\n    line = visualLine(line);\n    var lineN = lineNo(line);\n    var view = cm.display.externalMeasured = new LineView(cm.doc, line, lineN);\n    view.lineN = lineN;\n    var built = view.built = buildLineContent(cm, view);\n    view.text = built.pre;\n    removeChildrenAndAdd(cm.display.lineMeasure, built.pre);\n    return view\n  }\n\n  // Get a {top, bottom, left, right} box (in line-local coordinates)\n  // for a given character.\n  function measureChar(cm, line, ch, bias) {\n    return measureCharPrepared(cm, prepareMeasureForLine(cm, line), ch, bias)\n  }\n\n  // Find a line view that corresponds to the given line number.\n  function findViewForLine(cm, lineN) {\n    if (lineN >= cm.display.viewFrom && lineN < cm.display.viewTo)\n      { return cm.display.view[findViewIndex(cm, lineN)] }\n    var ext = cm.display.externalMeasured;\n    if (ext && lineN >= ext.lineN && lineN < ext.lineN + ext.size)\n      { return ext }\n  }\n\n  // Measurement can be split in two steps, the set-up work that\n  // applies to the whole line, and the measurement of the actual\n  // character. Functions like coordsChar, that need to do a lot of\n  // measurements in a row, can thus ensure that the set-up work is\n  // only done once.\n  function prepareMeasureForLine(cm, line) {\n    var lineN = lineNo(line);\n    var view = findViewForLine(cm, lineN);\n    if (view && !view.text) {\n      view = null;\n    } else if (view && view.changes) {\n      updateLineForChanges(cm, view, lineN, getDimensions(cm));\n      cm.curOp.forceUpdate = true;\n    }\n    if (!view)\n      { view = updateExternalMeasurement(cm, line); }\n\n    var info = mapFromLineView(view, line, lineN);\n    return {\n      line: line, view: view, rect: null,\n      map: info.map, cache: info.cache, before: info.before,\n      hasHeights: false\n    }\n  }\n\n  // Given a prepared measurement object, measures the position of an\n  // actual character (or fetches it from the cache).\n  function measureCharPrepared(cm, prepared, ch, bias, varHeight) {\n    if (prepared.before) { ch = -1; }\n    var key = ch + (bias || \"\"), found;\n    if (prepared.cache.hasOwnProperty(key)) {\n      found = prepared.cache[key];\n    } else {\n      if (!prepared.rect)\n        { prepared.rect = prepared.view.text.getBoundingClientRect(); }\n      if (!prepared.hasHeights) {\n        ensureLineHeights(cm, prepared.view, prepared.rect);\n        prepared.hasHeights = true;\n      }\n      found = measureCharInner(cm, prepared, ch, bias);\n      if (!found.bogus) { prepared.cache[key] = found; }\n    }\n    return {left: found.left, right: found.right,\n            top: varHeight ? found.rtop : found.top,\n            bottom: varHeight ? found.rbottom : found.bottom}\n  }\n\n  var nullRect = {left: 0, right: 0, top: 0, bottom: 0};\n\n  function nodeAndOffsetInLineMap(map, ch, bias) {\n    var node, start, end, collapse, mStart, mEnd;\n    // First, search the line map for the text node corresponding to,\n    // or closest to, the target character.\n    for (var i = 0; i < map.length; i += 3) {\n      mStart = map[i];\n      mEnd = map[i + 1];\n      if (ch < mStart) {\n        start = 0; end = 1;\n        collapse = \"left\";\n      } else if (ch < mEnd) {\n        start = ch - mStart;\n        end = start + 1;\n      } else if (i == map.length - 3 || ch == mEnd && map[i + 3] > ch) {\n        end = mEnd - mStart;\n        start = end - 1;\n        if (ch >= mEnd) { collapse = \"right\"; }\n      }\n      if (start != null) {\n        node = map[i + 2];\n        if (mStart == mEnd && bias == (node.insertLeft ? \"left\" : \"right\"))\n          { collapse = bias; }\n        if (bias == \"left\" && start == 0)\n          { while (i && map[i - 2] == map[i - 3] && map[i - 1].insertLeft) {\n            node = map[(i -= 3) + 2];\n            collapse = \"left\";\n          } }\n        if (bias == \"right\" && start == mEnd - mStart)\n          { while (i < map.length - 3 && map[i + 3] == map[i + 4] && !map[i + 5].insertLeft) {\n            node = map[(i += 3) + 2];\n            collapse = \"right\";\n          } }\n        break\n      }\n    }\n    return {node: node, start: start, end: end, collapse: collapse, coverStart: mStart, coverEnd: mEnd}\n  }\n\n  function getUsefulRect(rects, bias) {\n    var rect = nullRect;\n    if (bias == \"left\") { for (var i = 0; i < rects.length; i++) {\n      if ((rect = rects[i]).left != rect.right) { break }\n    } } else { for (var i$1 = rects.length - 1; i$1 >= 0; i$1--) {\n      if ((rect = rects[i$1]).left != rect.right) { break }\n    } }\n    return rect\n  }\n\n  function measureCharInner(cm, prepared, ch, bias) {\n    var place = nodeAndOffsetInLineMap(prepared.map, ch, bias);\n    var node = place.node, start = place.start, end = place.end, collapse = place.collapse;\n\n    var rect;\n    if (node.nodeType == 3) { // If it is a text node, use a range to retrieve the coordinates.\n      for (var i$1 = 0; i$1 < 4; i$1++) { // Retry a maximum of 4 times when nonsense rectangles are returned\n        while (start && isExtendingChar(prepared.line.text.charAt(place.coverStart + start))) { --start; }\n        while (place.coverStart + end < place.coverEnd && isExtendingChar(prepared.line.text.charAt(place.coverStart + end))) { ++end; }\n        if (ie && ie_version < 9 && start == 0 && end == place.coverEnd - place.coverStart)\n          { rect = node.parentNode.getBoundingClientRect(); }\n        else\n          { rect = getUsefulRect(range(node, start, end).getClientRects(), bias); }\n        if (rect.left || rect.right || start == 0) { break }\n        end = start;\n        start = start - 1;\n        collapse = \"right\";\n      }\n      if (ie && ie_version < 11) { rect = maybeUpdateRectForZooming(cm.display.measure, rect); }\n    } else { // If it is a widget, simply get the box for the whole widget.\n      if (start > 0) { collapse = bias = \"right\"; }\n      var rects;\n      if (cm.options.lineWrapping && (rects = node.getClientRects()).length > 1)\n        { rect = rects[bias == \"right\" ? rects.length - 1 : 0]; }\n      else\n        { rect = node.getBoundingClientRect(); }\n    }\n    if (ie && ie_version < 9 && !start && (!rect || !rect.left && !rect.right)) {\n      var rSpan = node.parentNode.getClientRects()[0];\n      if (rSpan)\n        { rect = {left: rSpan.left, right: rSpan.left + charWidth(cm.display), top: rSpan.top, bottom: rSpan.bottom}; }\n      else\n        { rect = nullRect; }\n    }\n\n    var rtop = rect.top - prepared.rect.top, rbot = rect.bottom - prepared.rect.top;\n    var mid = (rtop + rbot) / 2;\n    var heights = prepared.view.measure.heights;\n    var i = 0;\n    for (; i < heights.length - 1; i++)\n      { if (mid < heights[i]) { break } }\n    var top = i ? heights[i - 1] : 0, bot = heights[i];\n    var result = {left: (collapse == \"right\" ? rect.right : rect.left) - prepared.rect.left,\n                  right: (collapse == \"left\" ? rect.left : rect.right) - prepared.rect.left,\n                  top: top, bottom: bot};\n    if (!rect.left && !rect.right) { result.bogus = true; }\n    if (!cm.options.singleCursorHeightPerLine) { result.rtop = rtop; result.rbottom = rbot; }\n\n    return result\n  }\n\n  // Work around problem with bounding client rects on ranges being\n  // returned incorrectly when zoomed on IE10 and below.\n  function maybeUpdateRectForZooming(measure, rect) {\n    if (!window.screen || screen.logicalXDPI == null ||\n        screen.logicalXDPI == screen.deviceXDPI || !hasBadZoomedRects(measure))\n      { return rect }\n    var scaleX = screen.logicalXDPI / screen.deviceXDPI;\n    var scaleY = screen.logicalYDPI / screen.deviceYDPI;\n    return {left: rect.left * scaleX, right: rect.right * scaleX,\n            top: rect.top * scaleY, bottom: rect.bottom * scaleY}\n  }\n\n  function clearLineMeasurementCacheFor(lineView) {\n    if (lineView.measure) {\n      lineView.measure.cache = {};\n      lineView.measure.heights = null;\n      if (lineView.rest) { for (var i = 0; i < lineView.rest.length; i++)\n        { lineView.measure.caches[i] = {}; } }\n    }\n  }\n\n  function clearLineMeasurementCache(cm) {\n    cm.display.externalMeasure = null;\n    removeChildren(cm.display.lineMeasure);\n    for (var i = 0; i < cm.display.view.length; i++)\n      { clearLineMeasurementCacheFor(cm.display.view[i]); }\n  }\n\n  function clearCaches(cm) {\n    clearLineMeasurementCache(cm);\n    cm.display.cachedCharWidth = cm.display.cachedTextHeight = cm.display.cachedPaddingH = null;\n    if (!cm.options.lineWrapping) { cm.display.maxLineChanged = true; }\n    cm.display.lineNumChars = null;\n  }\n\n  function pageScrollX() {\n    // Work around https://bugs.chromium.org/p/chromium/issues/detail?id=489206\n    // which causes page_Offset and bounding client rects to use\n    // different reference viewports and invalidate our calculations.\n    if (chrome && android) { return -(document.body.getBoundingClientRect().left - parseInt(getComputedStyle(document.body).marginLeft)) }\n    return window.pageXOffset || (document.documentElement || document.body).scrollLeft\n  }\n  function pageScrollY() {\n    if (chrome && android) { return -(document.body.getBoundingClientRect().top - parseInt(getComputedStyle(document.body).marginTop)) }\n    return window.pageYOffset || (document.documentElement || document.body).scrollTop\n  }\n\n  function widgetTopHeight(lineObj) {\n    var height = 0;\n    if (lineObj.widgets) { for (var i = 0; i < lineObj.widgets.length; ++i) { if (lineObj.widgets[i].above)\n      { height += widgetHeight(lineObj.widgets[i]); } } }\n    return height\n  }\n\n  // Converts a {top, bottom, left, right} box from line-local\n  // coordinates into another coordinate system. Context may be one of\n  // \"line\", \"div\" (display.lineDiv), \"local\"./null (editor), \"window\",\n  // or \"page\".\n  function intoCoordSystem(cm, lineObj, rect, context, includeWidgets) {\n    if (!includeWidgets) {\n      var height = widgetTopHeight(lineObj);\n      rect.top += height; rect.bottom += height;\n    }\n    if (context == \"line\") { return rect }\n    if (!context) { context = \"local\"; }\n    var yOff = heightAtLine(lineObj);\n    if (context == \"local\") { yOff += paddingTop(cm.display); }\n    else { yOff -= cm.display.viewOffset; }\n    if (context == \"page\" || context == \"window\") {\n      var lOff = cm.display.lineSpace.getBoundingClientRect();\n      yOff += lOff.top + (context == \"window\" ? 0 : pageScrollY());\n      var xOff = lOff.left + (context == \"window\" ? 0 : pageScrollX());\n      rect.left += xOff; rect.right += xOff;\n    }\n    rect.top += yOff; rect.bottom += yOff;\n    return rect\n  }\n\n  // Coverts a box from \"div\" coords to another coordinate system.\n  // Context may be \"window\", \"page\", \"div\", or \"local\"./null.\n  function fromCoordSystem(cm, coords, context) {\n    if (context == \"div\") { return coords }\n    var left = coords.left, top = coords.top;\n    // First move into \"page\" coordinate system\n    if (context == \"page\") {\n      left -= pageScrollX();\n      top -= pageScrollY();\n    } else if (context == \"local\" || !context) {\n      var localBox = cm.display.sizer.getBoundingClientRect();\n      left += localBox.left;\n      top += localBox.top;\n    }\n\n    var lineSpaceBox = cm.display.lineSpace.getBoundingClientRect();\n    return {left: left - lineSpaceBox.left, top: top - lineSpaceBox.top}\n  }\n\n  function charCoords(cm, pos, context, lineObj, bias) {\n    if (!lineObj) { lineObj = getLine(cm.doc, pos.line); }\n    return intoCoordSystem(cm, lineObj, measureChar(cm, lineObj, pos.ch, bias), context)\n  }\n\n  // Returns a box for a given cursor position, which may have an\n  // 'other' property containing the position of the secondary cursor\n  // on a bidi boundary.\n  // A cursor Pos(line, char, \"before\") is on the same visual line as `char - 1`\n  // and after `char - 1` in writing order of `char - 1`\n  // A cursor Pos(line, char, \"after\") is on the same visual line as `char`\n  // and before `char` in writing order of `char`\n  // Examples (upper-case letters are RTL, lower-case are LTR):\n  //     Pos(0, 1, ...)\n  //     before   after\n  // ab     a|b     a|b\n  // aB     a|B     aB|\n  // Ab     |Ab     A|b\n  // AB     B|A     B|A\n  // Every position after the last character on a line is considered to stick\n  // to the last character on the line.\n  function cursorCoords(cm, pos, context, lineObj, preparedMeasure, varHeight) {\n    lineObj = lineObj || getLine(cm.doc, pos.line);\n    if (!preparedMeasure) { preparedMeasure = prepareMeasureForLine(cm, lineObj); }\n    function get(ch, right) {\n      var m = measureCharPrepared(cm, preparedMeasure, ch, right ? \"right\" : \"left\", varHeight);\n      if (right) { m.left = m.right; } else { m.right = m.left; }\n      return intoCoordSystem(cm, lineObj, m, context)\n    }\n    var order = getOrder(lineObj, cm.doc.direction), ch = pos.ch, sticky = pos.sticky;\n    if (ch >= lineObj.text.length) {\n      ch = lineObj.text.length;\n      sticky = \"before\";\n    } else if (ch <= 0) {\n      ch = 0;\n      sticky = \"after\";\n    }\n    if (!order) { return get(sticky == \"before\" ? ch - 1 : ch, sticky == \"before\") }\n\n    function getBidi(ch, partPos, invert) {\n      var part = order[partPos], right = part.level == 1;\n      return get(invert ? ch - 1 : ch, right != invert)\n    }\n    var partPos = getBidiPartAt(order, ch, sticky);\n    var other = bidiOther;\n    var val = getBidi(ch, partPos, sticky == \"before\");\n    if (other != null) { val.other = getBidi(ch, other, sticky != \"before\"); }\n    return val\n  }\n\n  // Used to cheaply estimate the coordinates for a position. Used for\n  // intermediate scroll updates.\n  function estimateCoords(cm, pos) {\n    var left = 0;\n    pos = clipPos(cm.doc, pos);\n    if (!cm.options.lineWrapping) { left = charWidth(cm.display) * pos.ch; }\n    var lineObj = getLine(cm.doc, pos.line);\n    var top = heightAtLine(lineObj) + paddingTop(cm.display);\n    return {left: left, right: left, top: top, bottom: top + lineObj.height}\n  }\n\n  // Positions returned by coordsChar contain some extra information.\n  // xRel is the relative x position of the input coordinates compared\n  // to the found position (so xRel > 0 means the coordinates are to\n  // the right of the character position, for example). When outside\n  // is true, that means the coordinates lie outside the line's\n  // vertical range.\n  function PosWithInfo(line, ch, sticky, outside, xRel) {\n    var pos = Pos(line, ch, sticky);\n    pos.xRel = xRel;\n    if (outside) { pos.outside = outside; }\n    return pos\n  }\n\n  // Compute the character position closest to the given coordinates.\n  // Input must be lineSpace-local (\"div\" coordinate system).\n  function coordsChar(cm, x, y) {\n    var doc = cm.doc;\n    y += cm.display.viewOffset;\n    if (y < 0) { return PosWithInfo(doc.first, 0, null, -1, -1) }\n    var lineN = lineAtHeight(doc, y), last = doc.first + doc.size - 1;\n    if (lineN > last)\n      { return PosWithInfo(doc.first + doc.size - 1, getLine(doc, last).text.length, null, 1, 1) }\n    if (x < 0) { x = 0; }\n\n    var lineObj = getLine(doc, lineN);\n    for (;;) {\n      var found = coordsCharInner(cm, lineObj, lineN, x, y);\n      var collapsed = collapsedSpanAround(lineObj, found.ch + (found.xRel > 0 || found.outside > 0 ? 1 : 0));\n      if (!collapsed) { return found }\n      var rangeEnd = collapsed.find(1);\n      if (rangeEnd.line == lineN) { return rangeEnd }\n      lineObj = getLine(doc, lineN = rangeEnd.line);\n    }\n  }\n\n  function wrappedLineExtent(cm, lineObj, preparedMeasure, y) {\n    y -= widgetTopHeight(lineObj);\n    var end = lineObj.text.length;\n    var begin = findFirst(function (ch) { return measureCharPrepared(cm, preparedMeasure, ch - 1).bottom <= y; }, end, 0);\n    end = findFirst(function (ch) { return measureCharPrepared(cm, preparedMeasure, ch).top > y; }, begin, end);\n    return {begin: begin, end: end}\n  }\n\n  function wrappedLineExtentChar(cm, lineObj, preparedMeasure, target) {\n    if (!preparedMeasure) { preparedMeasure = prepareMeasureForLine(cm, lineObj); }\n    var targetTop = intoCoordSystem(cm, lineObj, measureCharPrepared(cm, preparedMeasure, target), \"line\").top;\n    return wrappedLineExtent(cm, lineObj, preparedMeasure, targetTop)\n  }\n\n  // Returns true if the given side of a box is after the given\n  // coordinates, in top-to-bottom, left-to-right order.\n  function boxIsAfter(box, x, y, left) {\n    return box.bottom <= y ? false : box.top > y ? true : (left ? box.left : box.right) > x\n  }\n\n  function coordsCharInner(cm, lineObj, lineNo, x, y) {\n    // Move y into line-local coordinate space\n    y -= heightAtLine(lineObj);\n    var preparedMeasure = prepareMeasureForLine(cm, lineObj);\n    // When directly calling `measureCharPrepared`, we have to adjust\n    // for the widgets at this line.\n    var widgetHeight = widgetTopHeight(lineObj);\n    var begin = 0, end = lineObj.text.length, ltr = true;\n\n    var order = getOrder(lineObj, cm.doc.direction);\n    // If the line isn't plain left-to-right text, first figure out\n    // which bidi section the coordinates fall into.\n    if (order) {\n      var part = (cm.options.lineWrapping ? coordsBidiPartWrapped : coordsBidiPart)\n                   (cm, lineObj, lineNo, preparedMeasure, order, x, y);\n      ltr = part.level != 1;\n      // The awkward -1 offsets are needed because findFirst (called\n      // on these below) will treat its first bound as inclusive,\n      // second as exclusive, but we want to actually address the\n      // characters in the part's range\n      begin = ltr ? part.from : part.to - 1;\n      end = ltr ? part.to : part.from - 1;\n    }\n\n    // A binary search to find the first character whose bounding box\n    // starts after the coordinates. If we run across any whose box wrap\n    // the coordinates, store that.\n    var chAround = null, boxAround = null;\n    var ch = findFirst(function (ch) {\n      var box = measureCharPrepared(cm, preparedMeasure, ch);\n      box.top += widgetHeight; box.bottom += widgetHeight;\n      if (!boxIsAfter(box, x, y, false)) { return false }\n      if (box.top <= y && box.left <= x) {\n        chAround = ch;\n        boxAround = box;\n      }\n      return true\n    }, begin, end);\n\n    var baseX, sticky, outside = false;\n    // If a box around the coordinates was found, use that\n    if (boxAround) {\n      // Distinguish coordinates nearer to the left or right side of the box\n      var atLeft = x - boxAround.left < boxAround.right - x, atStart = atLeft == ltr;\n      ch = chAround + (atStart ? 0 : 1);\n      sticky = atStart ? \"after\" : \"before\";\n      baseX = atLeft ? boxAround.left : boxAround.right;\n    } else {\n      // (Adjust for extended bound, if necessary.)\n      if (!ltr && (ch == end || ch == begin)) { ch++; }\n      // To determine which side to associate with, get the box to the\n      // left of the character and compare it's vertical position to the\n      // coordinates\n      sticky = ch == 0 ? \"after\" : ch == lineObj.text.length ? \"before\" :\n        (measureCharPrepared(cm, preparedMeasure, ch - (ltr ? 1 : 0)).bottom + widgetHeight <= y) == ltr ?\n        \"after\" : \"before\";\n      // Now get accurate coordinates for this place, in order to get a\n      // base X position\n      var coords = cursorCoords(cm, Pos(lineNo, ch, sticky), \"line\", lineObj, preparedMeasure);\n      baseX = coords.left;\n      outside = y < coords.top ? -1 : y >= coords.bottom ? 1 : 0;\n    }\n\n    ch = skipExtendingChars(lineObj.text, ch, 1);\n    return PosWithInfo(lineNo, ch, sticky, outside, x - baseX)\n  }\n\n  function coordsBidiPart(cm, lineObj, lineNo, preparedMeasure, order, x, y) {\n    // Bidi parts are sorted left-to-right, and in a non-line-wrapping\n    // situation, we can take this ordering to correspond to the visual\n    // ordering. This finds the first part whose end is after the given\n    // coordinates.\n    var index = findFirst(function (i) {\n      var part = order[i], ltr = part.level != 1;\n      return boxIsAfter(cursorCoords(cm, Pos(lineNo, ltr ? part.to : part.from, ltr ? \"before\" : \"after\"),\n                                     \"line\", lineObj, preparedMeasure), x, y, true)\n    }, 0, order.length - 1);\n    var part = order[index];\n    // If this isn't the first part, the part's start is also after\n    // the coordinates, and the coordinates aren't on the same line as\n    // that start, move one part back.\n    if (index > 0) {\n      var ltr = part.level != 1;\n      var start = cursorCoords(cm, Pos(lineNo, ltr ? part.from : part.to, ltr ? \"after\" : \"before\"),\n                               \"line\", lineObj, preparedMeasure);\n      if (boxIsAfter(start, x, y, true) && start.top > y)\n        { part = order[index - 1]; }\n    }\n    return part\n  }\n\n  function coordsBidiPartWrapped(cm, lineObj, _lineNo, preparedMeasure, order, x, y) {\n    // In a wrapped line, rtl text on wrapping boundaries can do things\n    // that don't correspond to the ordering in our `order` array at\n    // all, so a binary search doesn't work, and we want to return a\n    // part that only spans one line so that the binary search in\n    // coordsCharInner is safe. As such, we first find the extent of the\n    // wrapped line, and then do a flat search in which we discard any\n    // spans that aren't on the line.\n    var ref = wrappedLineExtent(cm, lineObj, preparedMeasure, y);\n    var begin = ref.begin;\n    var end = ref.end;\n    if (/\\s/.test(lineObj.text.charAt(end - 1))) { end--; }\n    var part = null, closestDist = null;\n    for (var i = 0; i < order.length; i++) {\n      var p = order[i];\n      if (p.from >= end || p.to <= begin) { continue }\n      var ltr = p.level != 1;\n      var endX = measureCharPrepared(cm, preparedMeasure, ltr ? Math.min(end, p.to) - 1 : Math.max(begin, p.from)).right;\n      // Weigh against spans ending before this, so that they are only\n      // picked if nothing ends after\n      var dist = endX < x ? x - endX + 1e9 : endX - x;\n      if (!part || closestDist > dist) {\n        part = p;\n        closestDist = dist;\n      }\n    }\n    if (!part) { part = order[order.length - 1]; }\n    // Clip the part to the wrapped line.\n    if (part.from < begin) { part = {from: begin, to: part.to, level: part.level}; }\n    if (part.to > end) { part = {from: part.from, to: end, level: part.level}; }\n    return part\n  }\n\n  var measureText;\n  // Compute the default text height.\n  function textHeight(display) {\n    if (display.cachedTextHeight != null) { return display.cachedTextHeight }\n    if (measureText == null) {\n      measureText = elt(\"pre\", null, \"CodeMirror-line-like\");\n      // Measure a bunch of lines, for browsers that compute\n      // fractional heights.\n      for (var i = 0; i < 49; ++i) {\n        measureText.appendChild(document.createTextNode(\"x\"));\n        measureText.appendChild(elt(\"br\"));\n      }\n      measureText.appendChild(document.createTextNode(\"x\"));\n    }\n    removeChildrenAndAdd(display.measure, measureText);\n    var height = measureText.offsetHeight / 50;\n    if (height > 3) { display.cachedTextHeight = height; }\n    removeChildren(display.measure);\n    return height || 1\n  }\n\n  // Compute the default character width.\n  function charWidth(display) {\n    if (display.cachedCharWidth != null) { return display.cachedCharWidth }\n    var anchor = elt(\"span\", \"xxxxxxxxxx\");\n    var pre = elt(\"pre\", [anchor], \"CodeMirror-line-like\");\n    removeChildrenAndAdd(display.measure, pre);\n    var rect = anchor.getBoundingClientRect(), width = (rect.right - rect.left) / 10;\n    if (width > 2) { display.cachedCharWidth = width; }\n    return width || 10\n  }\n\n  // Do a bulk-read of the DOM positions and sizes needed to draw the\n  // view, so that we don't interleave reading and writing to the DOM.\n  function getDimensions(cm) {\n    var d = cm.display, left = {}, width = {};\n    var gutterLeft = d.gutters.clientLeft;\n    for (var n = d.gutters.firstChild, i = 0; n; n = n.nextSibling, ++i) {\n      var id = cm.display.gutterSpecs[i].className;\n      left[id] = n.offsetLeft + n.clientLeft + gutterLeft;\n      width[id] = n.clientWidth;\n    }\n    return {fixedPos: compensateForHScroll(d),\n            gutterTotalWidth: d.gutters.offsetWidth,\n            gutterLeft: left,\n            gutterWidth: width,\n            wrapperWidth: d.wrapper.clientWidth}\n  }\n\n  // Computes display.scroller.scrollLeft + display.gutters.offsetWidth,\n  // but using getBoundingClientRect to get a sub-pixel-accurate\n  // result.\n  function compensateForHScroll(display) {\n    return display.scroller.getBoundingClientRect().left - display.sizer.getBoundingClientRect().left\n  }\n\n  // Returns a function that estimates the height of a line, to use as\n  // first approximation until the line becomes visible (and is thus\n  // properly measurable).\n  function estimateHeight(cm) {\n    var th = textHeight(cm.display), wrapping = cm.options.lineWrapping;\n    var perLine = wrapping && Math.max(5, cm.display.scroller.clientWidth / charWidth(cm.display) - 3);\n    return function (line) {\n      if (lineIsHidden(cm.doc, line)) { return 0 }\n\n      var widgetsHeight = 0;\n      if (line.widgets) { for (var i = 0; i < line.widgets.length; i++) {\n        if (line.widgets[i].height) { widgetsHeight += line.widgets[i].height; }\n      } }\n\n      if (wrapping)\n        { return widgetsHeight + (Math.ceil(line.text.length / perLine) || 1) * th }\n      else\n        { return widgetsHeight + th }\n    }\n  }\n\n  function estimateLineHeights(cm) {\n    var doc = cm.doc, est = estimateHeight(cm);\n    doc.iter(function (line) {\n      var estHeight = est(line);\n      if (estHeight != line.height) { updateLineHeight(line, estHeight); }\n    });\n  }\n\n  // Given a mouse event, find the corresponding position. If liberal\n  // is false, it checks whether a gutter or scrollbar was clicked,\n  // and returns null if it was. forRect is used by rectangular\n  // selections, and tries to estimate a character position even for\n  // coordinates beyond the right of the text.\n  function posFromMouse(cm, e, liberal, forRect) {\n    var display = cm.display;\n    if (!liberal && e_target(e).getAttribute(\"cm-not-content\") == \"true\") { return null }\n\n    var x, y, space = display.lineSpace.getBoundingClientRect();\n    // Fails unpredictably on IE[67] when mouse is dragged around quickly.\n    try { x = e.clientX - space.left; y = e.clientY - space.top; }\n    catch (e$1) { return null }\n    var coords = coordsChar(cm, x, y), line;\n    if (forRect && coords.xRel > 0 && (line = getLine(cm.doc, coords.line).text).length == coords.ch) {\n      var colDiff = countColumn(line, line.length, cm.options.tabSize) - line.length;\n      coords = Pos(coords.line, Math.max(0, Math.round((x - paddingH(cm.display).left) / charWidth(cm.display)) - colDiff));\n    }\n    return coords\n  }\n\n  // Find the view element corresponding to a given line. Return null\n  // when the line isn't visible.\n  function findViewIndex(cm, n) {\n    if (n >= cm.display.viewTo) { return null }\n    n -= cm.display.viewFrom;\n    if (n < 0) { return null }\n    var view = cm.display.view;\n    for (var i = 0; i < view.length; i++) {\n      n -= view[i].size;\n      if (n < 0) { return i }\n    }\n  }\n\n  // Updates the display.view data structure for a given change to the\n  // document. From and to are in pre-change coordinates. Lendiff is\n  // the amount of lines added or subtracted by the change. This is\n  // used for changes that span multiple lines, or change the way\n  // lines are divided into visual lines. regLineChange (below)\n  // registers single-line changes.\n  function regChange(cm, from, to, lendiff) {\n    if (from == null) { from = cm.doc.first; }\n    if (to == null) { to = cm.doc.first + cm.doc.size; }\n    if (!lendiff) { lendiff = 0; }\n\n    var display = cm.display;\n    if (lendiff && to < display.viewTo &&\n        (display.updateLineNumbers == null || display.updateLineNumbers > from))\n      { display.updateLineNumbers = from; }\n\n    cm.curOp.viewChanged = true;\n\n    if (from >= display.viewTo) { // Change after\n      if (sawCollapsedSpans && visualLineNo(cm.doc, from) < display.viewTo)\n        { resetView(cm); }\n    } else if (to <= display.viewFrom) { // Change before\n      if (sawCollapsedSpans && visualLineEndNo(cm.doc, to + lendiff) > display.viewFrom) {\n        resetView(cm);\n      } else {\n        display.viewFrom += lendiff;\n        display.viewTo += lendiff;\n      }\n    } else if (from <= display.viewFrom && to >= display.viewTo) { // Full overlap\n      resetView(cm);\n    } else if (from <= display.viewFrom) { // Top overlap\n      var cut = viewCuttingPoint(cm, to, to + lendiff, 1);\n      if (cut) {\n        display.view = display.view.slice(cut.index);\n        display.viewFrom = cut.lineN;\n        display.viewTo += lendiff;\n      } else {\n        resetView(cm);\n      }\n    } else if (to >= display.viewTo) { // Bottom overlap\n      var cut$1 = viewCuttingPoint(cm, from, from, -1);\n      if (cut$1) {\n        display.view = display.view.slice(0, cut$1.index);\n        display.viewTo = cut$1.lineN;\n      } else {\n        resetView(cm);\n      }\n    } else { // Gap in the middle\n      var cutTop = viewCuttingPoint(cm, from, from, -1);\n      var cutBot = viewCuttingPoint(cm, to, to + lendiff, 1);\n      if (cutTop && cutBot) {\n        display.view = display.view.slice(0, cutTop.index)\n          .concat(buildViewArray(cm, cutTop.lineN, cutBot.lineN))\n          .concat(display.view.slice(cutBot.index));\n        display.viewTo += lendiff;\n      } else {\n        resetView(cm);\n      }\n    }\n\n    var ext = display.externalMeasured;\n    if (ext) {\n      if (to < ext.lineN)\n        { ext.lineN += lendiff; }\n      else if (from < ext.lineN + ext.size)\n        { display.externalMeasured = null; }\n    }\n  }\n\n  // Register a change to a single line. Type must be one of \"text\",\n  // \"gutter\", \"class\", \"widget\"\n  function regLineChange(cm, line, type) {\n    cm.curOp.viewChanged = true;\n    var display = cm.display, ext = cm.display.externalMeasured;\n    if (ext && line >= ext.lineN && line < ext.lineN + ext.size)\n      { display.externalMeasured = null; }\n\n    if (line < display.viewFrom || line >= display.viewTo) { return }\n    var lineView = display.view[findViewIndex(cm, line)];\n    if (lineView.node == null) { return }\n    var arr = lineView.changes || (lineView.changes = []);\n    if (indexOf(arr, type) == -1) { arr.push(type); }\n  }\n\n  // Clear the view.\n  function resetView(cm) {\n    cm.display.viewFrom = cm.display.viewTo = cm.doc.first;\n    cm.display.view = [];\n    cm.display.viewOffset = 0;\n  }\n\n  function viewCuttingPoint(cm, oldN, newN, dir) {\n    var index = findViewIndex(cm, oldN), diff, view = cm.display.view;\n    if (!sawCollapsedSpans || newN == cm.doc.first + cm.doc.size)\n      { return {index: index, lineN: newN} }\n    var n = cm.display.viewFrom;\n    for (var i = 0; i < index; i++)\n      { n += view[i].size; }\n    if (n != oldN) {\n      if (dir > 0) {\n        if (index == view.length - 1) { return null }\n        diff = (n + view[index].size) - oldN;\n        index++;\n      } else {\n        diff = n - oldN;\n      }\n      oldN += diff; newN += diff;\n    }\n    while (visualLineNo(cm.doc, newN) != newN) {\n      if (index == (dir < 0 ? 0 : view.length - 1)) { return null }\n      newN += dir * view[index - (dir < 0 ? 1 : 0)].size;\n      index += dir;\n    }\n    return {index: index, lineN: newN}\n  }\n\n  // Force the view to cover a given range, adding empty view element\n  // or clipping off existing ones as needed.\n  function adjustView(cm, from, to) {\n    var display = cm.display, view = display.view;\n    if (view.length == 0 || from >= display.viewTo || to <= display.viewFrom) {\n      display.view = buildViewArray(cm, from, to);\n      display.viewFrom = from;\n    } else {\n      if (display.viewFrom > from)\n        { display.view = buildViewArray(cm, from, display.viewFrom).concat(display.view); }\n      else if (display.viewFrom < from)\n        { display.view = display.view.slice(findViewIndex(cm, from)); }\n      display.viewFrom = from;\n      if (display.viewTo < to)\n        { display.view = display.view.concat(buildViewArray(cm, display.viewTo, to)); }\n      else if (display.viewTo > to)\n        { display.view = display.view.slice(0, findViewIndex(cm, to)); }\n    }\n    display.viewTo = to;\n  }\n\n  // Count the number of lines in the view whose DOM representation is\n  // out of date (or nonexistent).\n  function countDirtyView(cm) {\n    var view = cm.display.view, dirty = 0;\n    for (var i = 0; i < view.length; i++) {\n      var lineView = view[i];\n      if (!lineView.hidden && (!lineView.node || lineView.changes)) { ++dirty; }\n    }\n    return dirty\n  }\n\n  function updateSelection(cm) {\n    cm.display.input.showSelection(cm.display.input.prepareSelection());\n  }\n\n  function prepareSelection(cm, primary) {\n    if ( primary === void 0 ) primary = true;\n\n    var doc = cm.doc, result = {};\n    var curFragment = result.cursors = document.createDocumentFragment();\n    var selFragment = result.selection = document.createDocumentFragment();\n\n    for (var i = 0; i < doc.sel.ranges.length; i++) {\n      if (!primary && i == doc.sel.primIndex) { continue }\n      var range = doc.sel.ranges[i];\n      if (range.from().line >= cm.display.viewTo || range.to().line < cm.display.viewFrom) { continue }\n      var collapsed = range.empty();\n      if (collapsed || cm.options.showCursorWhenSelecting)\n        { drawSelectionCursor(cm, range.head, curFragment); }\n      if (!collapsed)\n        { drawSelectionRange(cm, range, selFragment); }\n    }\n    return result\n  }\n\n  // Draws a cursor for the given range\n  function drawSelectionCursor(cm, head, output) {\n    var pos = cursorCoords(cm, head, \"div\", null, null, !cm.options.singleCursorHeightPerLine);\n\n    var cursor = output.appendChild(elt(\"div\", \"\\u00a0\", \"CodeMirror-cursor\"));\n    cursor.style.left = pos.left + \"px\";\n    cursor.style.top = pos.top + \"px\";\n    cursor.style.height = Math.max(0, pos.bottom - pos.top) * cm.options.cursorHeight + \"px\";\n\n    if (/\\bcm-fat-cursor\\b/.test(cm.getWrapperElement().className)) {\n      var charPos = charCoords(cm, head, \"div\", null, null);\n      if (charPos.right - charPos.left > 0) {\n        cursor.style.width = (charPos.right - charPos.left) + \"px\";\n      }\n    }\n\n    if (pos.other) {\n      // Secondary cursor, shown when on a 'jump' in bi-directional text\n      var otherCursor = output.appendChild(elt(\"div\", \"\\u00a0\", \"CodeMirror-cursor CodeMirror-secondarycursor\"));\n      otherCursor.style.display = \"\";\n      otherCursor.style.left = pos.other.left + \"px\";\n      otherCursor.style.top = pos.other.top + \"px\";\n      otherCursor.style.height = (pos.other.bottom - pos.other.top) * .85 + \"px\";\n    }\n  }\n\n  function cmpCoords(a, b) { return a.top - b.top || a.left - b.left }\n\n  // Draws the given range as a highlighted selection\n  function drawSelectionRange(cm, range, output) {\n    var display = cm.display, doc = cm.doc;\n    var fragment = document.createDocumentFragment();\n    var padding = paddingH(cm.display), leftSide = padding.left;\n    var rightSide = Math.max(display.sizerWidth, displayWidth(cm) - display.sizer.offsetLeft) - padding.right;\n    var docLTR = doc.direction == \"ltr\";\n\n    function add(left, top, width, bottom) {\n      if (top < 0) { top = 0; }\n      top = Math.round(top);\n      bottom = Math.round(bottom);\n      fragment.appendChild(elt(\"div\", null, \"CodeMirror-selected\", (\"position: absolute; left: \" + left + \"px;\\n                             top: \" + top + \"px; width: \" + (width == null ? rightSide - left : width) + \"px;\\n                             height: \" + (bottom - top) + \"px\")));\n    }\n\n    function drawForLine(line, fromArg, toArg) {\n      var lineObj = getLine(doc, line);\n      var lineLen = lineObj.text.length;\n      var start, end;\n      function coords(ch, bias) {\n        return charCoords(cm, Pos(line, ch), \"div\", lineObj, bias)\n      }\n\n      function wrapX(pos, dir, side) {\n        var extent = wrappedLineExtentChar(cm, lineObj, null, pos);\n        var prop = (dir == \"ltr\") == (side == \"after\") ? \"left\" : \"right\";\n        var ch = side == \"after\" ? extent.begin : extent.end - (/\\s/.test(lineObj.text.charAt(extent.end - 1)) ? 2 : 1);\n        return coords(ch, prop)[prop]\n      }\n\n      var order = getOrder(lineObj, doc.direction);\n      iterateBidiSections(order, fromArg || 0, toArg == null ? lineLen : toArg, function (from, to, dir, i) {\n        var ltr = dir == \"ltr\";\n        var fromPos = coords(from, ltr ? \"left\" : \"right\");\n        var toPos = coords(to - 1, ltr ? \"right\" : \"left\");\n\n        var openStart = fromArg == null && from == 0, openEnd = toArg == null && to == lineLen;\n        var first = i == 0, last = !order || i == order.length - 1;\n        if (toPos.top - fromPos.top <= 3) { // Single line\n          var openLeft = (docLTR ? openStart : openEnd) && first;\n          var openRight = (docLTR ? openEnd : openStart) && last;\n          var left = openLeft ? leftSide : (ltr ? fromPos : toPos).left;\n          var right = openRight ? rightSide : (ltr ? toPos : fromPos).right;\n          add(left, fromPos.top, right - left, fromPos.bottom);\n        } else { // Multiple lines\n          var topLeft, topRight, botLeft, botRight;\n          if (ltr) {\n            topLeft = docLTR && openStart && first ? leftSide : fromPos.left;\n            topRight = docLTR ? rightSide : wrapX(from, dir, \"before\");\n            botLeft = docLTR ? leftSide : wrapX(to, dir, \"after\");\n            botRight = docLTR && openEnd && last ? rightSide : toPos.right;\n          } else {\n            topLeft = !docLTR ? leftSide : wrapX(from, dir, \"before\");\n            topRight = !docLTR && openStart && first ? rightSide : fromPos.right;\n            botLeft = !docLTR && openEnd && last ? leftSide : toPos.left;\n            botRight = !docLTR ? rightSide : wrapX(to, dir, \"after\");\n          }\n          add(topLeft, fromPos.top, topRight - topLeft, fromPos.bottom);\n          if (fromPos.bottom < toPos.top) { add(leftSide, fromPos.bottom, null, toPos.top); }\n          add(botLeft, toPos.top, botRight - botLeft, toPos.bottom);\n        }\n\n        if (!start || cmpCoords(fromPos, start) < 0) { start = fromPos; }\n        if (cmpCoords(toPos, start) < 0) { start = toPos; }\n        if (!end || cmpCoords(fromPos, end) < 0) { end = fromPos; }\n        if (cmpCoords(toPos, end) < 0) { end = toPos; }\n      });\n      return {start: start, end: end}\n    }\n\n    var sFrom = range.from(), sTo = range.to();\n    if (sFrom.line == sTo.line) {\n      drawForLine(sFrom.line, sFrom.ch, sTo.ch);\n    } else {\n      var fromLine = getLine(doc, sFrom.line), toLine = getLine(doc, sTo.line);\n      var singleVLine = visualLine(fromLine) == visualLine(toLine);\n      var leftEnd = drawForLine(sFrom.line, sFrom.ch, singleVLine ? fromLine.text.length + 1 : null).end;\n      var rightStart = drawForLine(sTo.line, singleVLine ? 0 : null, sTo.ch).start;\n      if (singleVLine) {\n        if (leftEnd.top < rightStart.top - 2) {\n          add(leftEnd.right, leftEnd.top, null, leftEnd.bottom);\n          add(leftSide, rightStart.top, rightStart.left, rightStart.bottom);\n        } else {\n          add(leftEnd.right, leftEnd.top, rightStart.left - leftEnd.right, leftEnd.bottom);\n        }\n      }\n      if (leftEnd.bottom < rightStart.top)\n        { add(leftSide, leftEnd.bottom, null, rightStart.top); }\n    }\n\n    output.appendChild(fragment);\n  }\n\n  // Cursor-blinking\n  function restartBlink(cm) {\n    if (!cm.state.focused) { return }\n    var display = cm.display;\n    clearInterval(display.blinker);\n    var on = true;\n    display.cursorDiv.style.visibility = \"\";\n    if (cm.options.cursorBlinkRate > 0)\n      { display.blinker = setInterval(function () {\n        if (!cm.hasFocus()) { onBlur(cm); }\n        display.cursorDiv.style.visibility = (on = !on) ? \"\" : \"hidden\";\n      }, cm.options.cursorBlinkRate); }\n    else if (cm.options.cursorBlinkRate < 0)\n      { display.cursorDiv.style.visibility = \"hidden\"; }\n  }\n\n  function ensureFocus(cm) {\n    if (!cm.hasFocus()) {\n      cm.display.input.focus();\n      if (!cm.state.focused) { onFocus(cm); }\n    }\n  }\n\n  function delayBlurEvent(cm) {\n    cm.state.delayingBlurEvent = true;\n    setTimeout(function () { if (cm.state.delayingBlurEvent) {\n      cm.state.delayingBlurEvent = false;\n      if (cm.state.focused) { onBlur(cm); }\n    } }, 100);\n  }\n\n  function onFocus(cm, e) {\n    if (cm.state.delayingBlurEvent && !cm.state.draggingText) { cm.state.delayingBlurEvent = false; }\n\n    if (cm.options.readOnly == \"nocursor\") { return }\n    if (!cm.state.focused) {\n      signal(cm, \"focus\", cm, e);\n      cm.state.focused = true;\n      addClass(cm.display.wrapper, \"CodeMirror-focused\");\n      // This test prevents this from firing when a context\n      // menu is closed (since the input reset would kill the\n      // select-all detection hack)\n      if (!cm.curOp && cm.display.selForContextMenu != cm.doc.sel) {\n        cm.display.input.reset();\n        if (webkit) { setTimeout(function () { return cm.display.input.reset(true); }, 20); } // Issue #1730\n      }\n      cm.display.input.receivedFocus();\n    }\n    restartBlink(cm);\n  }\n  function onBlur(cm, e) {\n    if (cm.state.delayingBlurEvent) { return }\n\n    if (cm.state.focused) {\n      signal(cm, \"blur\", cm, e);\n      cm.state.focused = false;\n      rmClass(cm.display.wrapper, \"CodeMirror-focused\");\n    }\n    clearInterval(cm.display.blinker);\n    setTimeout(function () { if (!cm.state.focused) { cm.display.shift = false; } }, 150);\n  }\n\n  // Read the actual heights of the rendered lines, and update their\n  // stored heights to match.\n  function updateHeightsInViewport(cm) {\n    var display = cm.display;\n    var prevBottom = display.lineDiv.offsetTop;\n    var viewTop = Math.max(0, display.scroller.getBoundingClientRect().top);\n    var oldHeight = display.lineDiv.getBoundingClientRect().top;\n    var mustScroll = 0;\n    for (var i = 0; i < display.view.length; i++) {\n      var cur = display.view[i], wrapping = cm.options.lineWrapping;\n      var height = (void 0), width = 0;\n      if (cur.hidden) { continue }\n      oldHeight += cur.line.height;\n      if (ie && ie_version < 8) {\n        var bot = cur.node.offsetTop + cur.node.offsetHeight;\n        height = bot - prevBottom;\n        prevBottom = bot;\n      } else {\n        var box = cur.node.getBoundingClientRect();\n        height = box.bottom - box.top;\n        // Check that lines don't extend past the right of the current\n        // editor width\n        if (!wrapping && cur.text.firstChild)\n          { width = cur.text.firstChild.getBoundingClientRect().right - box.left - 1; }\n      }\n      var diff = cur.line.height - height;\n      if (diff > .005 || diff < -.005) {\n        if (oldHeight < viewTop) { mustScroll -= diff; }\n        updateLineHeight(cur.line, height);\n        updateWidgetHeight(cur.line);\n        if (cur.rest) { for (var j = 0; j < cur.rest.length; j++)\n          { updateWidgetHeight(cur.rest[j]); } }\n      }\n      if (width > cm.display.sizerWidth) {\n        var chWidth = Math.ceil(width / charWidth(cm.display));\n        if (chWidth > cm.display.maxLineLength) {\n          cm.display.maxLineLength = chWidth;\n          cm.display.maxLine = cur.line;\n          cm.display.maxLineChanged = true;\n        }\n      }\n    }\n    if (Math.abs(mustScroll) > 2) { display.scroller.scrollTop += mustScroll; }\n  }\n\n  // Read and store the height of line widgets associated with the\n  // given line.\n  function updateWidgetHeight(line) {\n    if (line.widgets) { for (var i = 0; i < line.widgets.length; ++i) {\n      var w = line.widgets[i], parent = w.node.parentNode;\n      if (parent) { w.height = parent.offsetHeight; }\n    } }\n  }\n\n  // Compute the lines that are visible in a given viewport (defaults\n  // the the current scroll position). viewport may contain top,\n  // height, and ensure (see op.scrollToPos) properties.\n  function visibleLines(display, doc, viewport) {\n    var top = viewport && viewport.top != null ? Math.max(0, viewport.top) : display.scroller.scrollTop;\n    top = Math.floor(top - paddingTop(display));\n    var bottom = viewport && viewport.bottom != null ? viewport.bottom : top + display.wrapper.clientHeight;\n\n    var from = lineAtHeight(doc, top), to = lineAtHeight(doc, bottom);\n    // Ensure is a {from: {line, ch}, to: {line, ch}} object, and\n    // forces those lines into the viewport (if possible).\n    if (viewport && viewport.ensure) {\n      var ensureFrom = viewport.ensure.from.line, ensureTo = viewport.ensure.to.line;\n      if (ensureFrom < from) {\n        from = ensureFrom;\n        to = lineAtHeight(doc, heightAtLine(getLine(doc, ensureFrom)) + display.wrapper.clientHeight);\n      } else if (Math.min(ensureTo, doc.lastLine()) >= to) {\n        from = lineAtHeight(doc, heightAtLine(getLine(doc, ensureTo)) - display.wrapper.clientHeight);\n        to = ensureTo;\n      }\n    }\n    return {from: from, to: Math.max(to, from + 1)}\n  }\n\n  // SCROLLING THINGS INTO VIEW\n\n  // If an editor sits on the top or bottom of the window, partially\n  // scrolled out of view, this ensures that the cursor is visible.\n  function maybeScrollWindow(cm, rect) {\n    if (signalDOMEvent(cm, \"scrollCursorIntoView\")) { return }\n\n    var display = cm.display, box = display.sizer.getBoundingClientRect(), doScroll = null;\n    if (rect.top + box.top < 0) { doScroll = true; }\n    else if (rect.bottom + box.top > (window.innerHeight || document.documentElement.clientHeight)) { doScroll = false; }\n    if (doScroll != null && !phantom) {\n      var scrollNode = elt(\"div\", \"\\u200b\", null, (\"position: absolute;\\n                         top: \" + (rect.top - display.viewOffset - paddingTop(cm.display)) + \"px;\\n                         height: \" + (rect.bottom - rect.top + scrollGap(cm) + display.barHeight) + \"px;\\n                         left: \" + (rect.left) + \"px; width: \" + (Math.max(2, rect.right - rect.left)) + \"px;\"));\n      cm.display.lineSpace.appendChild(scrollNode);\n      scrollNode.scrollIntoView(doScroll);\n      cm.display.lineSpace.removeChild(scrollNode);\n    }\n  }\n\n  // Scroll a given position into view (immediately), verifying that\n  // it actually became visible (as line heights are accurately\n  // measured, the position of something may 'drift' during drawing).\n  function scrollPosIntoView(cm, pos, end, margin) {\n    if (margin == null) { margin = 0; }\n    var rect;\n    if (!cm.options.lineWrapping && pos == end) {\n      // Set pos and end to the cursor positions around the character pos sticks to\n      // If pos.sticky == \"before\", that is around pos.ch - 1, otherwise around pos.ch\n      // If pos == Pos(_, 0, \"before\"), pos and end are unchanged\n      end = pos.sticky == \"before\" ? Pos(pos.line, pos.ch + 1, \"before\") : pos;\n      pos = pos.ch ? Pos(pos.line, pos.sticky == \"before\" ? pos.ch - 1 : pos.ch, \"after\") : pos;\n    }\n    for (var limit = 0; limit < 5; limit++) {\n      var changed = false;\n      var coords = cursorCoords(cm, pos);\n      var endCoords = !end || end == pos ? coords : cursorCoords(cm, end);\n      rect = {left: Math.min(coords.left, endCoords.left),\n              top: Math.min(coords.top, endCoords.top) - margin,\n              right: Math.max(coords.left, endCoords.left),\n              bottom: Math.max(coords.bottom, endCoords.bottom) + margin};\n      var scrollPos = calculateScrollPos(cm, rect);\n      var startTop = cm.doc.scrollTop, startLeft = cm.doc.scrollLeft;\n      if (scrollPos.scrollTop != null) {\n        updateScrollTop(cm, scrollPos.scrollTop);\n        if (Math.abs(cm.doc.scrollTop - startTop) > 1) { changed = true; }\n      }\n      if (scrollPos.scrollLeft != null) {\n        setScrollLeft(cm, scrollPos.scrollLeft);\n        if (Math.abs(cm.doc.scrollLeft - startLeft) > 1) { changed = true; }\n      }\n      if (!changed) { break }\n    }\n    return rect\n  }\n\n  // Scroll a given set of coordinates into view (immediately).\n  function scrollIntoView(cm, rect) {\n    var scrollPos = calculateScrollPos(cm, rect);\n    if (scrollPos.scrollTop != null) { updateScrollTop(cm, scrollPos.scrollTop); }\n    if (scrollPos.scrollLeft != null) { setScrollLeft(cm, scrollPos.scrollLeft); }\n  }\n\n  // Calculate a new scroll position needed to scroll the given\n  // rectangle into view. Returns an object with scrollTop and\n  // scrollLeft properties. When these are undefined, the\n  // vertical/horizontal position does not need to be adjusted.\n  function calculateScrollPos(cm, rect) {\n    var display = cm.display, snapMargin = textHeight(cm.display);\n    if (rect.top < 0) { rect.top = 0; }\n    var screentop = cm.curOp && cm.curOp.scrollTop != null ? cm.curOp.scrollTop : display.scroller.scrollTop;\n    var screen = displayHeight(cm), result = {};\n    if (rect.bottom - rect.top > screen) { rect.bottom = rect.top + screen; }\n    var docBottom = cm.doc.height + paddingVert(display);\n    var atTop = rect.top < snapMargin, atBottom = rect.bottom > docBottom - snapMargin;\n    if (rect.top < screentop) {\n      result.scrollTop = atTop ? 0 : rect.top;\n    } else if (rect.bottom > screentop + screen) {\n      var newTop = Math.min(rect.top, (atBottom ? docBottom : rect.bottom) - screen);\n      if (newTop != screentop) { result.scrollTop = newTop; }\n    }\n\n    var gutterSpace = cm.options.fixedGutter ? 0 : display.gutters.offsetWidth;\n    var screenleft = cm.curOp && cm.curOp.scrollLeft != null ? cm.curOp.scrollLeft : display.scroller.scrollLeft - gutterSpace;\n    var screenw = displayWidth(cm) - display.gutters.offsetWidth;\n    var tooWide = rect.right - rect.left > screenw;\n    if (tooWide) { rect.right = rect.left + screenw; }\n    if (rect.left < 10)\n      { result.scrollLeft = 0; }\n    else if (rect.left < screenleft)\n      { result.scrollLeft = Math.max(0, rect.left + gutterSpace - (tooWide ? 0 : 10)); }\n    else if (rect.right > screenw + screenleft - 3)\n      { result.scrollLeft = rect.right + (tooWide ? 0 : 10) - screenw; }\n    return result\n  }\n\n  // Store a relative adjustment to the scroll position in the current\n  // operation (to be applied when the operation finishes).\n  function addToScrollTop(cm, top) {\n    if (top == null) { return }\n    resolveScrollToPos(cm);\n    cm.curOp.scrollTop = (cm.curOp.scrollTop == null ? cm.doc.scrollTop : cm.curOp.scrollTop) + top;\n  }\n\n  // Make sure that at the end of the operation the current cursor is\n  // shown.\n  function ensureCursorVisible(cm) {\n    resolveScrollToPos(cm);\n    var cur = cm.getCursor();\n    cm.curOp.scrollToPos = {from: cur, to: cur, margin: cm.options.cursorScrollMargin};\n  }\n\n  function scrollToCoords(cm, x, y) {\n    if (x != null || y != null) { resolveScrollToPos(cm); }\n    if (x != null) { cm.curOp.scrollLeft = x; }\n    if (y != null) { cm.curOp.scrollTop = y; }\n  }\n\n  function scrollToRange(cm, range) {\n    resolveScrollToPos(cm);\n    cm.curOp.scrollToPos = range;\n  }\n\n  // When an operation has its scrollToPos property set, and another\n  // scroll action is applied before the end of the operation, this\n  // 'simulates' scrolling that position into view in a cheap way, so\n  // that the effect of intermediate scroll commands is not ignored.\n  function resolveScrollToPos(cm) {\n    var range = cm.curOp.scrollToPos;\n    if (range) {\n      cm.curOp.scrollToPos = null;\n      var from = estimateCoords(cm, range.from), to = estimateCoords(cm, range.to);\n      scrollToCoordsRange(cm, from, to, range.margin);\n    }\n  }\n\n  function scrollToCoordsRange(cm, from, to, margin) {\n    var sPos = calculateScrollPos(cm, {\n      left: Math.min(from.left, to.left),\n      top: Math.min(from.top, to.top) - margin,\n      right: Math.max(from.right, to.right),\n      bottom: Math.max(from.bottom, to.bottom) + margin\n    });\n    scrollToCoords(cm, sPos.scrollLeft, sPos.scrollTop);\n  }\n\n  // Sync the scrollable area and scrollbars, ensure the viewport\n  // covers the visible area.\n  function updateScrollTop(cm, val) {\n    if (Math.abs(cm.doc.scrollTop - val) < 2) { return }\n    if (!gecko) { updateDisplaySimple(cm, {top: val}); }\n    setScrollTop(cm, val, true);\n    if (gecko) { updateDisplaySimple(cm); }\n    startWorker(cm, 100);\n  }\n\n  function setScrollTop(cm, val, forceScroll) {\n    val = Math.max(0, Math.min(cm.display.scroller.scrollHeight - cm.display.scroller.clientHeight, val));\n    if (cm.display.scroller.scrollTop == val && !forceScroll) { return }\n    cm.doc.scrollTop = val;\n    cm.display.scrollbars.setScrollTop(val);\n    if (cm.display.scroller.scrollTop != val) { cm.display.scroller.scrollTop = val; }\n  }\n\n  // Sync scroller and scrollbar, ensure the gutter elements are\n  // aligned.\n  function setScrollLeft(cm, val, isScroller, forceScroll) {\n    val = Math.max(0, Math.min(val, cm.display.scroller.scrollWidth - cm.display.scroller.clientWidth));\n    if ((isScroller ? val == cm.doc.scrollLeft : Math.abs(cm.doc.scrollLeft - val) < 2) && !forceScroll) { return }\n    cm.doc.scrollLeft = val;\n    alignHorizontally(cm);\n    if (cm.display.scroller.scrollLeft != val) { cm.display.scroller.scrollLeft = val; }\n    cm.display.scrollbars.setScrollLeft(val);\n  }\n\n  // SCROLLBARS\n\n  // Prepare DOM reads needed to update the scrollbars. Done in one\n  // shot to minimize update/measure roundtrips.\n  function measureForScrollbars(cm) {\n    var d = cm.display, gutterW = d.gutters.offsetWidth;\n    var docH = Math.round(cm.doc.height + paddingVert(cm.display));\n    return {\n      clientHeight: d.scroller.clientHeight,\n      viewHeight: d.wrapper.clientHeight,\n      scrollWidth: d.scroller.scrollWidth, clientWidth: d.scroller.clientWidth,\n      viewWidth: d.wrapper.clientWidth,\n      barLeft: cm.options.fixedGutter ? gutterW : 0,\n      docHeight: docH,\n      scrollHeight: docH + scrollGap(cm) + d.barHeight,\n      nativeBarWidth: d.nativeBarWidth,\n      gutterWidth: gutterW\n    }\n  }\n\n  var NativeScrollbars = function(place, scroll, cm) {\n    this.cm = cm;\n    var vert = this.vert = elt(\"div\", [elt(\"div\", null, null, \"min-width: 1px\")], \"CodeMirror-vscrollbar\");\n    var horiz = this.horiz = elt(\"div\", [elt(\"div\", null, null, \"height: 100%; min-height: 1px\")], \"CodeMirror-hscrollbar\");\n    vert.tabIndex = horiz.tabIndex = -1;\n    place(vert); place(horiz);\n\n    on(vert, \"scroll\", function () {\n      if (vert.clientHeight) { scroll(vert.scrollTop, \"vertical\"); }\n    });\n    on(horiz, \"scroll\", function () {\n      if (horiz.clientWidth) { scroll(horiz.scrollLeft, \"horizontal\"); }\n    });\n\n    this.checkedZeroWidth = false;\n    // Need to set a minimum width to see the scrollbar on IE7 (but must not set it on IE8).\n    if (ie && ie_version < 8) { this.horiz.style.minHeight = this.vert.style.minWidth = \"18px\"; }\n  };\n\n  NativeScrollbars.prototype.update = function (measure) {\n    var needsH = measure.scrollWidth > measure.clientWidth + 1;\n    var needsV = measure.scrollHeight > measure.clientHeight + 1;\n    var sWidth = measure.nativeBarWidth;\n\n    if (needsV) {\n      this.vert.style.display = \"block\";\n      this.vert.style.bottom = needsH ? sWidth + \"px\" : \"0\";\n      var totalHeight = measure.viewHeight - (needsH ? sWidth : 0);\n      // A bug in IE8 can cause this value to be negative, so guard it.\n      this.vert.firstChild.style.height =\n        Math.max(0, measure.scrollHeight - measure.clientHeight + totalHeight) + \"px\";\n    } else {\n      this.vert.style.display = \"\";\n      this.vert.firstChild.style.height = \"0\";\n    }\n\n    if (needsH) {\n      this.horiz.style.display = \"block\";\n      this.horiz.style.right = needsV ? sWidth + \"px\" : \"0\";\n      this.horiz.style.left = measure.barLeft + \"px\";\n      var totalWidth = measure.viewWidth - measure.barLeft - (needsV ? sWidth : 0);\n      this.horiz.firstChild.style.width =\n        Math.max(0, measure.scrollWidth - measure.clientWidth + totalWidth) + \"px\";\n    } else {\n      this.horiz.style.display = \"\";\n      this.horiz.firstChild.style.width = \"0\";\n    }\n\n    if (!this.checkedZeroWidth && measure.clientHeight > 0) {\n      if (sWidth == 0) { this.zeroWidthHack(); }\n      this.checkedZeroWidth = true;\n    }\n\n    return {right: needsV ? sWidth : 0, bottom: needsH ? sWidth : 0}\n  };\n\n  NativeScrollbars.prototype.setScrollLeft = function (pos) {\n    if (this.horiz.scrollLeft != pos) { this.horiz.scrollLeft = pos; }\n    if (this.disableHoriz) { this.enableZeroWidthBar(this.horiz, this.disableHoriz, \"horiz\"); }\n  };\n\n  NativeScrollbars.prototype.setScrollTop = function (pos) {\n    if (this.vert.scrollTop != pos) { this.vert.scrollTop = pos; }\n    if (this.disableVert) { this.enableZeroWidthBar(this.vert, this.disableVert, \"vert\"); }\n  };\n\n  NativeScrollbars.prototype.zeroWidthHack = function () {\n    var w = mac && !mac_geMountainLion ? \"12px\" : \"18px\";\n    this.horiz.style.height = this.vert.style.width = w;\n    this.horiz.style.pointerEvents = this.vert.style.pointerEvents = \"none\";\n    this.disableHoriz = new Delayed;\n    this.disableVert = new Delayed;\n  };\n\n  NativeScrollbars.prototype.enableZeroWidthBar = function (bar, delay, type) {\n    bar.style.pointerEvents = \"auto\";\n    function maybeDisable() {\n      // To find out whether the scrollbar is still visible, we\n      // check whether the element under the pixel in the bottom\n      // right corner of the scrollbar box is the scrollbar box\n      // itself (when the bar is still visible) or its filler child\n      // (when the bar is hidden). If it is still visible, we keep\n      // it enabled, if it's hidden, we disable pointer events.\n      var box = bar.getBoundingClientRect();\n      var elt = type == \"vert\" ? document.elementFromPoint(box.right - 1, (box.top + box.bottom) / 2)\n          : document.elementFromPoint((box.right + box.left) / 2, box.bottom - 1);\n      if (elt != bar) { bar.style.pointerEvents = \"none\"; }\n      else { delay.set(1000, maybeDisable); }\n    }\n    delay.set(1000, maybeDisable);\n  };\n\n  NativeScrollbars.prototype.clear = function () {\n    var parent = this.horiz.parentNode;\n    parent.removeChild(this.horiz);\n    parent.removeChild(this.vert);\n  };\n\n  var NullScrollbars = function () {};\n\n  NullScrollbars.prototype.update = function () { return {bottom: 0, right: 0} };\n  NullScrollbars.prototype.setScrollLeft = function () {};\n  NullScrollbars.prototype.setScrollTop = function () {};\n  NullScrollbars.prototype.clear = function () {};\n\n  function updateScrollbars(cm, measure) {\n    if (!measure) { measure = measureForScrollbars(cm); }\n    var startWidth = cm.display.barWidth, startHeight = cm.display.barHeight;\n    updateScrollbarsInner(cm, measure);\n    for (var i = 0; i < 4 && startWidth != cm.display.barWidth || startHeight != cm.display.barHeight; i++) {\n      if (startWidth != cm.display.barWidth && cm.options.lineWrapping)\n        { updateHeightsInViewport(cm); }\n      updateScrollbarsInner(cm, measureForScrollbars(cm));\n      startWidth = cm.display.barWidth; startHeight = cm.display.barHeight;\n    }\n  }\n\n  // Re-synchronize the fake scrollbars with the actual size of the\n  // content.\n  function updateScrollbarsInner(cm, measure) {\n    var d = cm.display;\n    var sizes = d.scrollbars.update(measure);\n\n    d.sizer.style.paddingRight = (d.barWidth = sizes.right) + \"px\";\n    d.sizer.style.paddingBottom = (d.barHeight = sizes.bottom) + \"px\";\n    d.heightForcer.style.borderBottom = sizes.bottom + \"px solid transparent\";\n\n    if (sizes.right && sizes.bottom) {\n      d.scrollbarFiller.style.display = \"block\";\n      d.scrollbarFiller.style.height = sizes.bottom + \"px\";\n      d.scrollbarFiller.style.width = sizes.right + \"px\";\n    } else { d.scrollbarFiller.style.display = \"\"; }\n    if (sizes.bottom && cm.options.coverGutterNextToScrollbar && cm.options.fixedGutter) {\n      d.gutterFiller.style.display = \"block\";\n      d.gutterFiller.style.height = sizes.bottom + \"px\";\n      d.gutterFiller.style.width = measure.gutterWidth + \"px\";\n    } else { d.gutterFiller.style.display = \"\"; }\n  }\n\n  var scrollbarModel = {\"native\": NativeScrollbars, \"null\": NullScrollbars};\n\n  function initScrollbars(cm) {\n    if (cm.display.scrollbars) {\n      cm.display.scrollbars.clear();\n      if (cm.display.scrollbars.addClass)\n        { rmClass(cm.display.wrapper, cm.display.scrollbars.addClass); }\n    }\n\n    cm.display.scrollbars = new scrollbarModel[cm.options.scrollbarStyle](function (node) {\n      cm.display.wrapper.insertBefore(node, cm.display.scrollbarFiller);\n      // Prevent clicks in the scrollbars from killing focus\n      on(node, \"mousedown\", function () {\n        if (cm.state.focused) { setTimeout(function () { return cm.display.input.focus(); }, 0); }\n      });\n      node.setAttribute(\"cm-not-content\", \"true\");\n    }, function (pos, axis) {\n      if (axis == \"horizontal\") { setScrollLeft(cm, pos); }\n      else { updateScrollTop(cm, pos); }\n    }, cm);\n    if (cm.display.scrollbars.addClass)\n      { addClass(cm.display.wrapper, cm.display.scrollbars.addClass); }\n  }\n\n  // Operations are used to wrap a series of changes to the editor\n  // state in such a way that each change won't have to update the\n  // cursor and display (which would be awkward, slow, and\n  // error-prone). Instead, display updates are batched and then all\n  // combined and executed at once.\n\n  var nextOpId = 0;\n  // Start a new operation.\n  function startOperation(cm) {\n    cm.curOp = {\n      cm: cm,\n      viewChanged: false,      // Flag that indicates that lines might need to be redrawn\n      startHeight: cm.doc.height, // Used to detect need to update scrollbar\n      forceUpdate: false,      // Used to force a redraw\n      updateInput: 0,       // Whether to reset the input textarea\n      typing: false,           // Whether this reset should be careful to leave existing text (for compositing)\n      changeObjs: null,        // Accumulated changes, for firing change events\n      cursorActivityHandlers: null, // Set of handlers to fire cursorActivity on\n      cursorActivityCalled: 0, // Tracks which cursorActivity handlers have been called already\n      selectionChanged: false, // Whether the selection needs to be redrawn\n      updateMaxLine: false,    // Set when the widest line needs to be determined anew\n      scrollLeft: null, scrollTop: null, // Intermediate scroll position, not pushed to DOM yet\n      scrollToPos: null,       // Used to scroll to a specific position\n      focus: false,\n      id: ++nextOpId,          // Unique ID\n      markArrays: null         // Used by addMarkedSpan\n    };\n    pushOperation(cm.curOp);\n  }\n\n  // Finish an operation, updating the display and signalling delayed events\n  function endOperation(cm) {\n    var op = cm.curOp;\n    if (op) { finishOperation(op, function (group) {\n      for (var i = 0; i < group.ops.length; i++)\n        { group.ops[i].cm.curOp = null; }\n      endOperations(group);\n    }); }\n  }\n\n  // The DOM updates done when an operation finishes are batched so\n  // that the minimum number of relayouts are required.\n  function endOperations(group) {\n    var ops = group.ops;\n    for (var i = 0; i < ops.length; i++) // Read DOM\n      { endOperation_R1(ops[i]); }\n    for (var i$1 = 0; i$1 < ops.length; i$1++) // Write DOM (maybe)\n      { endOperation_W1(ops[i$1]); }\n    for (var i$2 = 0; i$2 < ops.length; i$2++) // Read DOM\n      { endOperation_R2(ops[i$2]); }\n    for (var i$3 = 0; i$3 < ops.length; i$3++) // Write DOM (maybe)\n      { endOperation_W2(ops[i$3]); }\n    for (var i$4 = 0; i$4 < ops.length; i$4++) // Read DOM\n      { endOperation_finish(ops[i$4]); }\n  }\n\n  function endOperation_R1(op) {\n    var cm = op.cm, display = cm.display;\n    maybeClipScrollbars(cm);\n    if (op.updateMaxLine) { findMaxLine(cm); }\n\n    op.mustUpdate = op.viewChanged || op.forceUpdate || op.scrollTop != null ||\n      op.scrollToPos && (op.scrollToPos.from.line < display.viewFrom ||\n                         op.scrollToPos.to.line >= display.viewTo) ||\n      display.maxLineChanged && cm.options.lineWrapping;\n    op.update = op.mustUpdate &&\n      new DisplayUpdate(cm, op.mustUpdate && {top: op.scrollTop, ensure: op.scrollToPos}, op.forceUpdate);\n  }\n\n  function endOperation_W1(op) {\n    op.updatedDisplay = op.mustUpdate && updateDisplayIfNeeded(op.cm, op.update);\n  }\n\n  function endOperation_R2(op) {\n    var cm = op.cm, display = cm.display;\n    if (op.updatedDisplay) { updateHeightsInViewport(cm); }\n\n    op.barMeasure = measureForScrollbars(cm);\n\n    // If the max line changed since it was last measured, measure it,\n    // and ensure the document's width matches it.\n    // updateDisplay_W2 will use these properties to do the actual resizing\n    if (display.maxLineChanged && !cm.options.lineWrapping) {\n      op.adjustWidthTo = measureChar(cm, display.maxLine, display.maxLine.text.length).left + 3;\n      cm.display.sizerWidth = op.adjustWidthTo;\n      op.barMeasure.scrollWidth =\n        Math.max(display.scroller.clientWidth, display.sizer.offsetLeft + op.adjustWidthTo + scrollGap(cm) + cm.display.barWidth);\n      op.maxScrollLeft = Math.max(0, display.sizer.offsetLeft + op.adjustWidthTo - displayWidth(cm));\n    }\n\n    if (op.updatedDisplay || op.selectionChanged)\n      { op.preparedSelection = display.input.prepareSelection(); }\n  }\n\n  function endOperation_W2(op) {\n    var cm = op.cm;\n\n    if (op.adjustWidthTo != null) {\n      cm.display.sizer.style.minWidth = op.adjustWidthTo + \"px\";\n      if (op.maxScrollLeft < cm.doc.scrollLeft)\n        { setScrollLeft(cm, Math.min(cm.display.scroller.scrollLeft, op.maxScrollLeft), true); }\n      cm.display.maxLineChanged = false;\n    }\n\n    var takeFocus = op.focus && op.focus == activeElt();\n    if (op.preparedSelection)\n      { cm.display.input.showSelection(op.preparedSelection, takeFocus); }\n    if (op.updatedDisplay || op.startHeight != cm.doc.height)\n      { updateScrollbars(cm, op.barMeasure); }\n    if (op.updatedDisplay)\n      { setDocumentHeight(cm, op.barMeasure); }\n\n    if (op.selectionChanged) { restartBlink(cm); }\n\n    if (cm.state.focused && op.updateInput)\n      { cm.display.input.reset(op.typing); }\n    if (takeFocus) { ensureFocus(op.cm); }\n  }\n\n  function endOperation_finish(op) {\n    var cm = op.cm, display = cm.display, doc = cm.doc;\n\n    if (op.updatedDisplay) { postUpdateDisplay(cm, op.update); }\n\n    // Abort mouse wheel delta measurement, when scrolling explicitly\n    if (display.wheelStartX != null && (op.scrollTop != null || op.scrollLeft != null || op.scrollToPos))\n      { display.wheelStartX = display.wheelStartY = null; }\n\n    // Propagate the scroll position to the actual DOM scroller\n    if (op.scrollTop != null) { setScrollTop(cm, op.scrollTop, op.forceScroll); }\n\n    if (op.scrollLeft != null) { setScrollLeft(cm, op.scrollLeft, true, true); }\n    // If we need to scroll a specific position into view, do so.\n    if (op.scrollToPos) {\n      var rect = scrollPosIntoView(cm, clipPos(doc, op.scrollToPos.from),\n                                   clipPos(doc, op.scrollToPos.to), op.scrollToPos.margin);\n      maybeScrollWindow(cm, rect);\n    }\n\n    // Fire events for markers that are hidden/unidden by editing or\n    // undoing\n    var hidden = op.maybeHiddenMarkers, unhidden = op.maybeUnhiddenMarkers;\n    if (hidden) { for (var i = 0; i < hidden.length; ++i)\n      { if (!hidden[i].lines.length) { signal(hidden[i], \"hide\"); } } }\n    if (unhidden) { for (var i$1 = 0; i$1 < unhidden.length; ++i$1)\n      { if (unhidden[i$1].lines.length) { signal(unhidden[i$1], \"unhide\"); } } }\n\n    if (display.wrapper.offsetHeight)\n      { doc.scrollTop = cm.display.scroller.scrollTop; }\n\n    // Fire change events, and delayed event handlers\n    if (op.changeObjs)\n      { signal(cm, \"changes\", cm, op.changeObjs); }\n    if (op.update)\n      { op.update.finish(); }\n  }\n\n  // Run the given function in an operation\n  function runInOp(cm, f) {\n    if (cm.curOp) { return f() }\n    startOperation(cm);\n    try { return f() }\n    finally { endOperation(cm); }\n  }\n  // Wraps a function in an operation. Returns the wrapped function.\n  function operation(cm, f) {\n    return function() {\n      if (cm.curOp) { return f.apply(cm, arguments) }\n      startOperation(cm);\n      try { return f.apply(cm, arguments) }\n      finally { endOperation(cm); }\n    }\n  }\n  // Used to add methods to editor and doc instances, wrapping them in\n  // operations.\n  function methodOp(f) {\n    return function() {\n      if (this.curOp) { return f.apply(this, arguments) }\n      startOperation(this);\n      try { return f.apply(this, arguments) }\n      finally { endOperation(this); }\n    }\n  }\n  function docMethodOp(f) {\n    return function() {\n      var cm = this.cm;\n      if (!cm || cm.curOp) { return f.apply(this, arguments) }\n      startOperation(cm);\n      try { return f.apply(this, arguments) }\n      finally { endOperation(cm); }\n    }\n  }\n\n  // HIGHLIGHT WORKER\n\n  function startWorker(cm, time) {\n    if (cm.doc.highlightFrontier < cm.display.viewTo)\n      { cm.state.highlight.set(time, bind(highlightWorker, cm)); }\n  }\n\n  function highlightWorker(cm) {\n    var doc = cm.doc;\n    if (doc.highlightFrontier >= cm.display.viewTo) { return }\n    var end = +new Date + cm.options.workTime;\n    var context = getContextBefore(cm, doc.highlightFrontier);\n    var changedLines = [];\n\n    doc.iter(context.line, Math.min(doc.first + doc.size, cm.display.viewTo + 500), function (line) {\n      if (context.line >= cm.display.viewFrom) { // Visible\n        var oldStyles = line.styles;\n        var resetState = line.text.length > cm.options.maxHighlightLength ? copyState(doc.mode, context.state) : null;\n        var highlighted = highlightLine(cm, line, context, true);\n        if (resetState) { context.state = resetState; }\n        line.styles = highlighted.styles;\n        var oldCls = line.styleClasses, newCls = highlighted.classes;\n        if (newCls) { line.styleClasses = newCls; }\n        else if (oldCls) { line.styleClasses = null; }\n        var ischange = !oldStyles || oldStyles.length != line.styles.length ||\n          oldCls != newCls && (!oldCls || !newCls || oldCls.bgClass != newCls.bgClass || oldCls.textClass != newCls.textClass);\n        for (var i = 0; !ischange && i < oldStyles.length; ++i) { ischange = oldStyles[i] != line.styles[i]; }\n        if (ischange) { changedLines.push(context.line); }\n        line.stateAfter = context.save();\n        context.nextLine();\n      } else {\n        if (line.text.length <= cm.options.maxHighlightLength)\n          { processLine(cm, line.text, context); }\n        line.stateAfter = context.line % 5 == 0 ? context.save() : null;\n        context.nextLine();\n      }\n      if (+new Date > end) {\n        startWorker(cm, cm.options.workDelay);\n        return true\n      }\n    });\n    doc.highlightFrontier = context.line;\n    doc.modeFrontier = Math.max(doc.modeFrontier, context.line);\n    if (changedLines.length) { runInOp(cm, function () {\n      for (var i = 0; i < changedLines.length; i++)\n        { regLineChange(cm, changedLines[i], \"text\"); }\n    }); }\n  }\n\n  // DISPLAY DRAWING\n\n  var DisplayUpdate = function(cm, viewport, force) {\n    var display = cm.display;\n\n    this.viewport = viewport;\n    // Store some values that we'll need later (but don't want to force a relayout for)\n    this.visible = visibleLines(display, cm.doc, viewport);\n    this.editorIsHidden = !display.wrapper.offsetWidth;\n    this.wrapperHeight = display.wrapper.clientHeight;\n    this.wrapperWidth = display.wrapper.clientWidth;\n    this.oldDisplayWidth = displayWidth(cm);\n    this.force = force;\n    this.dims = getDimensions(cm);\n    this.events = [];\n  };\n\n  DisplayUpdate.prototype.signal = function (emitter, type) {\n    if (hasHandler(emitter, type))\n      { this.events.push(arguments); }\n  };\n  DisplayUpdate.prototype.finish = function () {\n    for (var i = 0; i < this.events.length; i++)\n      { signal.apply(null, this.events[i]); }\n  };\n\n  function maybeClipScrollbars(cm) {\n    var display = cm.display;\n    if (!display.scrollbarsClipped && display.scroller.offsetWidth) {\n      display.nativeBarWidth = display.scroller.offsetWidth - display.scroller.clientWidth;\n      display.heightForcer.style.height = scrollGap(cm) + \"px\";\n      display.sizer.style.marginBottom = -display.nativeBarWidth + \"px\";\n      display.sizer.style.borderRightWidth = scrollGap(cm) + \"px\";\n      display.scrollbarsClipped = true;\n    }\n  }\n\n  function selectionSnapshot(cm) {\n    if (cm.hasFocus()) { return null }\n    var active = activeElt();\n    if (!active || !contains(cm.display.lineDiv, active)) { return null }\n    var result = {activeElt: active};\n    if (window.getSelection) {\n      var sel = window.getSelection();\n      if (sel.anchorNode && sel.extend && contains(cm.display.lineDiv, sel.anchorNode)) {\n        result.anchorNode = sel.anchorNode;\n        result.anchorOffset = sel.anchorOffset;\n        result.focusNode = sel.focusNode;\n        result.focusOffset = sel.focusOffset;\n      }\n    }\n    return result\n  }\n\n  function restoreSelection(snapshot) {\n    if (!snapshot || !snapshot.activeElt || snapshot.activeElt == activeElt()) { return }\n    snapshot.activeElt.focus();\n    if (!/^(INPUT|TEXTAREA)$/.test(snapshot.activeElt.nodeName) &&\n        snapshot.anchorNode && contains(document.body, snapshot.anchorNode) && contains(document.body, snapshot.focusNode)) {\n      var sel = window.getSelection(), range = document.createRange();\n      range.setEnd(snapshot.anchorNode, snapshot.anchorOffset);\n      range.collapse(false);\n      sel.removeAllRanges();\n      sel.addRange(range);\n      sel.extend(snapshot.focusNode, snapshot.focusOffset);\n    }\n  }\n\n  // Does the actual updating of the line display. Bails out\n  // (returning false) when there is nothing to be done and forced is\n  // false.\n  function updateDisplayIfNeeded(cm, update) {\n    var display = cm.display, doc = cm.doc;\n\n    if (update.editorIsHidden) {\n      resetView(cm);\n      return false\n    }\n\n    // Bail out if the visible area is already rendered and nothing changed.\n    if (!update.force &&\n        update.visible.from >= display.viewFrom && update.visible.to <= display.viewTo &&\n        (display.updateLineNumbers == null || display.updateLineNumbers >= display.viewTo) &&\n        display.renderedView == display.view && countDirtyView(cm) == 0)\n      { return false }\n\n    if (maybeUpdateLineNumberWidth(cm)) {\n      resetView(cm);\n      update.dims = getDimensions(cm);\n    }\n\n    // Compute a suitable new viewport (from & to)\n    var end = doc.first + doc.size;\n    var from = Math.max(update.visible.from - cm.options.viewportMargin, doc.first);\n    var to = Math.min(end, update.visible.to + cm.options.viewportMargin);\n    if (display.viewFrom < from && from - display.viewFrom < 20) { from = Math.max(doc.first, display.viewFrom); }\n    if (display.viewTo > to && display.viewTo - to < 20) { to = Math.min(end, display.viewTo); }\n    if (sawCollapsedSpans) {\n      from = visualLineNo(cm.doc, from);\n      to = visualLineEndNo(cm.doc, to);\n    }\n\n    var different = from != display.viewFrom || to != display.viewTo ||\n      display.lastWrapHeight != update.wrapperHeight || display.lastWrapWidth != update.wrapperWidth;\n    adjustView(cm, from, to);\n\n    display.viewOffset = heightAtLine(getLine(cm.doc, display.viewFrom));\n    // Position the mover div to align with the current scroll position\n    cm.display.mover.style.top = display.viewOffset + \"px\";\n\n    var toUpdate = countDirtyView(cm);\n    if (!different && toUpdate == 0 && !update.force && display.renderedView == display.view &&\n        (display.updateLineNumbers == null || display.updateLineNumbers >= display.viewTo))\n      { return false }\n\n    // For big changes, we hide the enclosing element during the\n    // update, since that speeds up the operations on most browsers.\n    var selSnapshot = selectionSnapshot(cm);\n    if (toUpdate > 4) { display.lineDiv.style.display = \"none\"; }\n    patchDisplay(cm, display.updateLineNumbers, update.dims);\n    if (toUpdate > 4) { display.lineDiv.style.display = \"\"; }\n    display.renderedView = display.view;\n    // There might have been a widget with a focused element that got\n    // hidden or updated, if so re-focus it.\n    restoreSelection(selSnapshot);\n\n    // Prevent selection and cursors from interfering with the scroll\n    // width and height.\n    removeChildren(display.cursorDiv);\n    removeChildren(display.selectionDiv);\n    display.gutters.style.height = display.sizer.style.minHeight = 0;\n\n    if (different) {\n      display.lastWrapHeight = update.wrapperHeight;\n      display.lastWrapWidth = update.wrapperWidth;\n      startWorker(cm, 400);\n    }\n\n    display.updateLineNumbers = null;\n\n    return true\n  }\n\n  function postUpdateDisplay(cm, update) {\n    var viewport = update.viewport;\n\n    for (var first = true;; first = false) {\n      if (!first || !cm.options.lineWrapping || update.oldDisplayWidth == displayWidth(cm)) {\n        // Clip forced viewport to actual scrollable area.\n        if (viewport && viewport.top != null)\n          { viewport = {top: Math.min(cm.doc.height + paddingVert(cm.display) - displayHeight(cm), viewport.top)}; }\n        // Updated line heights might result in the drawn area not\n        // actually covering the viewport. Keep looping until it does.\n        update.visible = visibleLines(cm.display, cm.doc, viewport);\n        if (update.visible.from >= cm.display.viewFrom && update.visible.to <= cm.display.viewTo)\n          { break }\n      } else if (first) {\n        update.visible = visibleLines(cm.display, cm.doc, viewport);\n      }\n      if (!updateDisplayIfNeeded(cm, update)) { break }\n      updateHeightsInViewport(cm);\n      var barMeasure = measureForScrollbars(cm);\n      updateSelection(cm);\n      updateScrollbars(cm, barMeasure);\n      setDocumentHeight(cm, barMeasure);\n      update.force = false;\n    }\n\n    update.signal(cm, \"update\", cm);\n    if (cm.display.viewFrom != cm.display.reportedViewFrom || cm.display.viewTo != cm.display.reportedViewTo) {\n      update.signal(cm, \"viewportChange\", cm, cm.display.viewFrom, cm.display.viewTo);\n      cm.display.reportedViewFrom = cm.display.viewFrom; cm.display.reportedViewTo = cm.display.viewTo;\n    }\n  }\n\n  function updateDisplaySimple(cm, viewport) {\n    var update = new DisplayUpdate(cm, viewport);\n    if (updateDisplayIfNeeded(cm, update)) {\n      updateHeightsInViewport(cm);\n      postUpdateDisplay(cm, update);\n      var barMeasure = measureForScrollbars(cm);\n      updateSelection(cm);\n      updateScrollbars(cm, barMeasure);\n      setDocumentHeight(cm, barMeasure);\n      update.finish();\n    }\n  }\n\n  // Sync the actual display DOM structure with display.view, removing\n  // nodes for lines that are no longer in view, and creating the ones\n  // that are not there yet, and updating the ones that are out of\n  // date.\n  function patchDisplay(cm, updateNumbersFrom, dims) {\n    var display = cm.display, lineNumbers = cm.options.lineNumbers;\n    var container = display.lineDiv, cur = container.firstChild;\n\n    function rm(node) {\n      var next = node.nextSibling;\n      // Works around a throw-scroll bug in OS X Webkit\n      if (webkit && mac && cm.display.currentWheelTarget == node)\n        { node.style.display = \"none\"; }\n      else\n        { node.parentNode.removeChild(node); }\n      return next\n    }\n\n    var view = display.view, lineN = display.viewFrom;\n    // Loop over the elements in the view, syncing cur (the DOM nodes\n    // in display.lineDiv) with the view as we go.\n    for (var i = 0; i < view.length; i++) {\n      var lineView = view[i];\n      if (lineView.hidden) ; else if (!lineView.node || lineView.node.parentNode != container) { // Not drawn yet\n        var node = buildLineElement(cm, lineView, lineN, dims);\n        container.insertBefore(node, cur);\n      } else { // Already drawn\n        while (cur != lineView.node) { cur = rm(cur); }\n        var updateNumber = lineNumbers && updateNumbersFrom != null &&\n          updateNumbersFrom <= lineN && lineView.lineNumber;\n        if (lineView.changes) {\n          if (indexOf(lineView.changes, \"gutter\") > -1) { updateNumber = false; }\n          updateLineForChanges(cm, lineView, lineN, dims);\n        }\n        if (updateNumber) {\n          removeChildren(lineView.lineNumber);\n          lineView.lineNumber.appendChild(document.createTextNode(lineNumberFor(cm.options, lineN)));\n        }\n        cur = lineView.node.nextSibling;\n      }\n      lineN += lineView.size;\n    }\n    while (cur) { cur = rm(cur); }\n  }\n\n  function updateGutterSpace(display) {\n    var width = display.gutters.offsetWidth;\n    display.sizer.style.marginLeft = width + \"px\";\n    // Send an event to consumers responding to changes in gutter width.\n    signalLater(display, \"gutterChanged\", display);\n  }\n\n  function setDocumentHeight(cm, measure) {\n    cm.display.sizer.style.minHeight = measure.docHeight + \"px\";\n    cm.display.heightForcer.style.top = measure.docHeight + \"px\";\n    cm.display.gutters.style.height = (measure.docHeight + cm.display.barHeight + scrollGap(cm)) + \"px\";\n  }\n\n  // Re-align line numbers and gutter marks to compensate for\n  // horizontal scrolling.\n  function alignHorizontally(cm) {\n    var display = cm.display, view = display.view;\n    if (!display.alignWidgets && (!display.gutters.firstChild || !cm.options.fixedGutter)) { return }\n    var comp = compensateForHScroll(display) - display.scroller.scrollLeft + cm.doc.scrollLeft;\n    var gutterW = display.gutters.offsetWidth, left = comp + \"px\";\n    for (var i = 0; i < view.length; i++) { if (!view[i].hidden) {\n      if (cm.options.fixedGutter) {\n        if (view[i].gutter)\n          { view[i].gutter.style.left = left; }\n        if (view[i].gutterBackground)\n          { view[i].gutterBackground.style.left = left; }\n      }\n      var align = view[i].alignable;\n      if (align) { for (var j = 0; j < align.length; j++)\n        { align[j].style.left = left; } }\n    } }\n    if (cm.options.fixedGutter)\n      { display.gutters.style.left = (comp + gutterW) + \"px\"; }\n  }\n\n  // Used to ensure that the line number gutter is still the right\n  // size for the current document size. Returns true when an update\n  // is needed.\n  function maybeUpdateLineNumberWidth(cm) {\n    if (!cm.options.lineNumbers) { return false }\n    var doc = cm.doc, last = lineNumberFor(cm.options, doc.first + doc.size - 1), display = cm.display;\n    if (last.length != display.lineNumChars) {\n      var test = display.measure.appendChild(elt(\"div\", [elt(\"div\", last)],\n                                                 \"CodeMirror-linenumber CodeMirror-gutter-elt\"));\n      var innerW = test.firstChild.offsetWidth, padding = test.offsetWidth - innerW;\n      display.lineGutter.style.width = \"\";\n      display.lineNumInnerWidth = Math.max(innerW, display.lineGutter.offsetWidth - padding) + 1;\n      display.lineNumWidth = display.lineNumInnerWidth + padding;\n      display.lineNumChars = display.lineNumInnerWidth ? last.length : -1;\n      display.lineGutter.style.width = display.lineNumWidth + \"px\";\n      updateGutterSpace(cm.display);\n      return true\n    }\n    return false\n  }\n\n  function getGutters(gutters, lineNumbers) {\n    var result = [], sawLineNumbers = false;\n    for (var i = 0; i < gutters.length; i++) {\n      var name = gutters[i], style = null;\n      if (typeof name != \"string\") { style = name.style; name = name.className; }\n      if (name == \"CodeMirror-linenumbers\") {\n        if (!lineNumbers) { continue }\n        else { sawLineNumbers = true; }\n      }\n      result.push({className: name, style: style});\n    }\n    if (lineNumbers && !sawLineNumbers) { result.push({className: \"CodeMirror-linenumbers\", style: null}); }\n    return result\n  }\n\n  // Rebuild the gutter elements, ensure the margin to the left of the\n  // code matches their width.\n  function renderGutters(display) {\n    var gutters = display.gutters, specs = display.gutterSpecs;\n    removeChildren(gutters);\n    display.lineGutter = null;\n    for (var i = 0; i < specs.length; ++i) {\n      var ref = specs[i];\n      var className = ref.className;\n      var style = ref.style;\n      var gElt = gutters.appendChild(elt(\"div\", null, \"CodeMirror-gutter \" + className));\n      if (style) { gElt.style.cssText = style; }\n      if (className == \"CodeMirror-linenumbers\") {\n        display.lineGutter = gElt;\n        gElt.style.width = (display.lineNumWidth || 1) + \"px\";\n      }\n    }\n    gutters.style.display = specs.length ? \"\" : \"none\";\n    updateGutterSpace(display);\n  }\n\n  function updateGutters(cm) {\n    renderGutters(cm.display);\n    regChange(cm);\n    alignHorizontally(cm);\n  }\n\n  // The display handles the DOM integration, both for input reading\n  // and content drawing. It holds references to DOM nodes and\n  // display-related state.\n\n  function Display(place, doc, input, options) {\n    var d = this;\n    this.input = input;\n\n    // Covers bottom-right square when both scrollbars are present.\n    d.scrollbarFiller = elt(\"div\", null, \"CodeMirror-scrollbar-filler\");\n    d.scrollbarFiller.setAttribute(\"cm-not-content\", \"true\");\n    // Covers bottom of gutter when coverGutterNextToScrollbar is on\n    // and h scrollbar is present.\n    d.gutterFiller = elt(\"div\", null, \"CodeMirror-gutter-filler\");\n    d.gutterFiller.setAttribute(\"cm-not-content\", \"true\");\n    // Will contain the actual code, positioned to cover the viewport.\n    d.lineDiv = eltP(\"div\", null, \"CodeMirror-code\");\n    // Elements are added to these to represent selection and cursors.\n    d.selectionDiv = elt(\"div\", null, null, \"position: relative; z-index: 1\");\n    d.cursorDiv = elt(\"div\", null, \"CodeMirror-cursors\");\n    // A visibility: hidden element used to find the size of things.\n    d.measure = elt(\"div\", null, \"CodeMirror-measure\");\n    // When lines outside of the viewport are measured, they are drawn in this.\n    d.lineMeasure = elt(\"div\", null, \"CodeMirror-measure\");\n    // Wraps everything that needs to exist inside the vertically-padded coordinate system\n    d.lineSpace = eltP(\"div\", [d.measure, d.lineMeasure, d.selectionDiv, d.cursorDiv, d.lineDiv],\n                      null, \"position: relative; outline: none\");\n    var lines = eltP(\"div\", [d.lineSpace], \"CodeMirror-lines\");\n    // Moved around its parent to cover visible view.\n    d.mover = elt(\"div\", [lines], null, \"position: relative\");\n    // Set to the height of the document, allowing scrolling.\n    d.sizer = elt(\"div\", [d.mover], \"CodeMirror-sizer\");\n    d.sizerWidth = null;\n    // Behavior of elts with overflow: auto and padding is\n    // inconsistent across browsers. This is used to ensure the\n    // scrollable area is big enough.\n    d.heightForcer = elt(\"div\", null, null, \"position: absolute; height: \" + scrollerGap + \"px; width: 1px;\");\n    // Will contain the gutters, if any.\n    d.gutters = elt(\"div\", null, \"CodeMirror-gutters\");\n    d.lineGutter = null;\n    // Actual scrollable element.\n    d.scroller = elt(\"div\", [d.sizer, d.heightForcer, d.gutters], \"CodeMirror-scroll\");\n    d.scroller.setAttribute(\"tabIndex\", \"-1\");\n    // The element in which the editor lives.\n    d.wrapper = elt(\"div\", [d.scrollbarFiller, d.gutterFiller, d.scroller], \"CodeMirror\");\n\n    // This attribute is respected by automatic translation systems such as Google Translate,\n    // and may also be respected by tools used by human translators.\n    d.wrapper.setAttribute('translate', 'no');\n\n    // Work around IE7 z-index bug (not perfect, hence IE7 not really being supported)\n    if (ie && ie_version < 8) { d.gutters.style.zIndex = -1; d.scroller.style.paddingRight = 0; }\n    if (!webkit && !(gecko && mobile)) { d.scroller.draggable = true; }\n\n    if (place) {\n      if (place.appendChild) { place.appendChild(d.wrapper); }\n      else { place(d.wrapper); }\n    }\n\n    // Current rendered range (may be bigger than the view window).\n    d.viewFrom = d.viewTo = doc.first;\n    d.reportedViewFrom = d.reportedViewTo = doc.first;\n    // Information about the rendered lines.\n    d.view = [];\n    d.renderedView = null;\n    // Holds info about a single rendered line when it was rendered\n    // for measurement, while not in view.\n    d.externalMeasured = null;\n    // Empty space (in pixels) above the view\n    d.viewOffset = 0;\n    d.lastWrapHeight = d.lastWrapWidth = 0;\n    d.updateLineNumbers = null;\n\n    d.nativeBarWidth = d.barHeight = d.barWidth = 0;\n    d.scrollbarsClipped = false;\n\n    // Used to only resize the line number gutter when necessary (when\n    // the amount of lines crosses a boundary that makes its width change)\n    d.lineNumWidth = d.lineNumInnerWidth = d.lineNumChars = null;\n    // Set to true when a non-horizontal-scrolling line widget is\n    // added. As an optimization, line widget aligning is skipped when\n    // this is false.\n    d.alignWidgets = false;\n\n    d.cachedCharWidth = d.cachedTextHeight = d.cachedPaddingH = null;\n\n    // Tracks the maximum line length so that the horizontal scrollbar\n    // can be kept static when scrolling.\n    d.maxLine = null;\n    d.maxLineLength = 0;\n    d.maxLineChanged = false;\n\n    // Used for measuring wheel scrolling granularity\n    d.wheelDX = d.wheelDY = d.wheelStartX = d.wheelStartY = null;\n\n    // True when shift is held down.\n    d.shift = false;\n\n    // Used to track whether anything happened since the context menu\n    // was opened.\n    d.selForContextMenu = null;\n\n    d.activeTouch = null;\n\n    d.gutterSpecs = getGutters(options.gutters, options.lineNumbers);\n    renderGutters(d);\n\n    input.init(d);\n  }\n\n  // Since the delta values reported on mouse wheel events are\n  // unstandardized between browsers and even browser versions, and\n  // generally horribly unpredictable, this code starts by measuring\n  // the scroll effect that the first few mouse wheel events have,\n  // and, from that, detects the way it can convert deltas to pixel\n  // offsets afterwards.\n  //\n  // The reason we want to know the amount a wheel event will scroll\n  // is that it gives us a chance to update the display before the\n  // actual scrolling happens, reducing flickering.\n\n  var wheelSamples = 0, wheelPixelsPerUnit = null;\n  // Fill in a browser-detected starting value on browsers where we\n  // know one. These don't have to be accurate -- the result of them\n  // being wrong would just be a slight flicker on the first wheel\n  // scroll (if it is large enough).\n  if (ie) { wheelPixelsPerUnit = -.53; }\n  else if (gecko) { wheelPixelsPerUnit = 15; }\n  else if (chrome) { wheelPixelsPerUnit = -.7; }\n  else if (safari) { wheelPixelsPerUnit = -1/3; }\n\n  function wheelEventDelta(e) {\n    var dx = e.wheelDeltaX, dy = e.wheelDeltaY;\n    if (dx == null && e.detail && e.axis == e.HORIZONTAL_AXIS) { dx = e.detail; }\n    if (dy == null && e.detail && e.axis == e.VERTICAL_AXIS) { dy = e.detail; }\n    else if (dy == null) { dy = e.wheelDelta; }\n    return {x: dx, y: dy}\n  }\n  function wheelEventPixels(e) {\n    var delta = wheelEventDelta(e);\n    delta.x *= wheelPixelsPerUnit;\n    delta.y *= wheelPixelsPerUnit;\n    return delta\n  }\n\n  function onScrollWheel(cm, e) {\n    var delta = wheelEventDelta(e), dx = delta.x, dy = delta.y;\n\n    var display = cm.display, scroll = display.scroller;\n    // Quit if there's nothing to scroll here\n    var canScrollX = scroll.scrollWidth > scroll.clientWidth;\n    var canScrollY = scroll.scrollHeight > scroll.clientHeight;\n    if (!(dx && canScrollX || dy && canScrollY)) { return }\n\n    // Webkit browsers on OS X abort momentum scrolls when the target\n    // of the scroll event is removed from the scrollable element.\n    // This hack (see related code in patchDisplay) makes sure the\n    // element is kept around.\n    if (dy && mac && webkit) {\n      outer: for (var cur = e.target, view = display.view; cur != scroll; cur = cur.parentNode) {\n        for (var i = 0; i < view.length; i++) {\n          if (view[i].node == cur) {\n            cm.display.currentWheelTarget = cur;\n            break outer\n          }\n        }\n      }\n    }\n\n    // On some browsers, horizontal scrolling will cause redraws to\n    // happen before the gutter has been realigned, causing it to\n    // wriggle around in a most unseemly way. When we have an\n    // estimated pixels/delta value, we just handle horizontal\n    // scrolling entirely here. It'll be slightly off from native, but\n    // better than glitching out.\n    if (dx && !gecko && !presto && wheelPixelsPerUnit != null) {\n      if (dy && canScrollY)\n        { updateScrollTop(cm, Math.max(0, scroll.scrollTop + dy * wheelPixelsPerUnit)); }\n      setScrollLeft(cm, Math.max(0, scroll.scrollLeft + dx * wheelPixelsPerUnit));\n      // Only prevent default scrolling if vertical scrolling is\n      // actually possible. Otherwise, it causes vertical scroll\n      // jitter on OSX trackpads when deltaX is small and deltaY\n      // is large (issue #3579)\n      if (!dy || (dy && canScrollY))\n        { e_preventDefault(e); }\n      display.wheelStartX = null; // Abort measurement, if in progress\n      return\n    }\n\n    // 'Project' the visible viewport to cover the area that is being\n    // scrolled into view (if we know enough to estimate it).\n    if (dy && wheelPixelsPerUnit != null) {\n      var pixels = dy * wheelPixelsPerUnit;\n      var top = cm.doc.scrollTop, bot = top + display.wrapper.clientHeight;\n      if (pixels < 0) { top = Math.max(0, top + pixels - 50); }\n      else { bot = Math.min(cm.doc.height, bot + pixels + 50); }\n      updateDisplaySimple(cm, {top: top, bottom: bot});\n    }\n\n    if (wheelSamples < 20) {\n      if (display.wheelStartX == null) {\n        display.wheelStartX = scroll.scrollLeft; display.wheelStartY = scroll.scrollTop;\n        display.wheelDX = dx; display.wheelDY = dy;\n        setTimeout(function () {\n          if (display.wheelStartX == null) { return }\n          var movedX = scroll.scrollLeft - display.wheelStartX;\n          var movedY = scroll.scrollTop - display.wheelStartY;\n          var sample = (movedY && display.wheelDY && movedY / display.wheelDY) ||\n            (movedX && display.wheelDX && movedX / display.wheelDX);\n          display.wheelStartX = display.wheelStartY = null;\n          if (!sample) { return }\n          wheelPixelsPerUnit = (wheelPixelsPerUnit * wheelSamples + sample) / (wheelSamples + 1);\n          ++wheelSamples;\n        }, 200);\n      } else {\n        display.wheelDX += dx; display.wheelDY += dy;\n      }\n    }\n  }\n\n  // Selection objects are immutable. A new one is created every time\n  // the selection changes. A selection is one or more non-overlapping\n  // (and non-touching) ranges, sorted, and an integer that indicates\n  // which one is the primary selection (the one that's scrolled into\n  // view, that getCursor returns, etc).\n  var Selection = function(ranges, primIndex) {\n    this.ranges = ranges;\n    this.primIndex = primIndex;\n  };\n\n  Selection.prototype.primary = function () { return this.ranges[this.primIndex] };\n\n  Selection.prototype.equals = function (other) {\n    if (other == this) { return true }\n    if (other.primIndex != this.primIndex || other.ranges.length != this.ranges.length) { return false }\n    for (var i = 0; i < this.ranges.length; i++) {\n      var here = this.ranges[i], there = other.ranges[i];\n      if (!equalCursorPos(here.anchor, there.anchor) || !equalCursorPos(here.head, there.head)) { return false }\n    }\n    return true\n  };\n\n  Selection.prototype.deepCopy = function () {\n    var out = [];\n    for (var i = 0; i < this.ranges.length; i++)\n      { out[i] = new Range(copyPos(this.ranges[i].anchor), copyPos(this.ranges[i].head)); }\n    return new Selection(out, this.primIndex)\n  };\n\n  Selection.prototype.somethingSelected = function () {\n    for (var i = 0; i < this.ranges.length; i++)\n      { if (!this.ranges[i].empty()) { return true } }\n    return false\n  };\n\n  Selection.prototype.contains = function (pos, end) {\n    if (!end) { end = pos; }\n    for (var i = 0; i < this.ranges.length; i++) {\n      var range = this.ranges[i];\n      if (cmp(end, range.from()) >= 0 && cmp(pos, range.to()) <= 0)\n        { return i }\n    }\n    return -1\n  };\n\n  var Range = function(anchor, head) {\n    this.anchor = anchor; this.head = head;\n  };\n\n  Range.prototype.from = function () { return minPos(this.anchor, this.head) };\n  Range.prototype.to = function () { return maxPos(this.anchor, this.head) };\n  Range.prototype.empty = function () { return this.head.line == this.anchor.line && this.head.ch == this.anchor.ch };\n\n  // Take an unsorted, potentially overlapping set of ranges, and\n  // build a selection out of it. 'Consumes' ranges array (modifying\n  // it).\n  function normalizeSelection(cm, ranges, primIndex) {\n    var mayTouch = cm && cm.options.selectionsMayTouch;\n    var prim = ranges[primIndex];\n    ranges.sort(function (a, b) { return cmp(a.from(), b.from()); });\n    primIndex = indexOf(ranges, prim);\n    for (var i = 1; i < ranges.length; i++) {\n      var cur = ranges[i], prev = ranges[i - 1];\n      var diff = cmp(prev.to(), cur.from());\n      if (mayTouch && !cur.empty() ? diff > 0 : diff >= 0) {\n        var from = minPos(prev.from(), cur.from()), to = maxPos(prev.to(), cur.to());\n        var inv = prev.empty() ? cur.from() == cur.head : prev.from() == prev.head;\n        if (i <= primIndex) { --primIndex; }\n        ranges.splice(--i, 2, new Range(inv ? to : from, inv ? from : to));\n      }\n    }\n    return new Selection(ranges, primIndex)\n  }\n\n  function simpleSelection(anchor, head) {\n    return new Selection([new Range(anchor, head || anchor)], 0)\n  }\n\n  // Compute the position of the end of a change (its 'to' property\n  // refers to the pre-change end).\n  function changeEnd(change) {\n    if (!change.text) { return change.to }\n    return Pos(change.from.line + change.text.length - 1,\n               lst(change.text).length + (change.text.length == 1 ? change.from.ch : 0))\n  }\n\n  // Adjust a position to refer to the post-change position of the\n  // same text, or the end of the change if the change covers it.\n  function adjustForChange(pos, change) {\n    if (cmp(pos, change.from) < 0) { return pos }\n    if (cmp(pos, change.to) <= 0) { return changeEnd(change) }\n\n    var line = pos.line + change.text.length - (change.to.line - change.from.line) - 1, ch = pos.ch;\n    if (pos.line == change.to.line) { ch += changeEnd(change).ch - change.to.ch; }\n    return Pos(line, ch)\n  }\n\n  function computeSelAfterChange(doc, change) {\n    var out = [];\n    for (var i = 0; i < doc.sel.ranges.length; i++) {\n      var range = doc.sel.ranges[i];\n      out.push(new Range(adjustForChange(range.anchor, change),\n                         adjustForChange(range.head, change)));\n    }\n    return normalizeSelection(doc.cm, out, doc.sel.primIndex)\n  }\n\n  function offsetPos(pos, old, nw) {\n    if (pos.line == old.line)\n      { return Pos(nw.line, pos.ch - old.ch + nw.ch) }\n    else\n      { return Pos(nw.line + (pos.line - old.line), pos.ch) }\n  }\n\n  // Used by replaceSelections to allow moving the selection to the\n  // start or around the replaced test. Hint may be \"start\" or \"around\".\n  function computeReplacedSel(doc, changes, hint) {\n    var out = [];\n    var oldPrev = Pos(doc.first, 0), newPrev = oldPrev;\n    for (var i = 0; i < changes.length; i++) {\n      var change = changes[i];\n      var from = offsetPos(change.from, oldPrev, newPrev);\n      var to = offsetPos(changeEnd(change), oldPrev, newPrev);\n      oldPrev = change.to;\n      newPrev = to;\n      if (hint == \"around\") {\n        var range = doc.sel.ranges[i], inv = cmp(range.head, range.anchor) < 0;\n        out[i] = new Range(inv ? to : from, inv ? from : to);\n      } else {\n        out[i] = new Range(from, from);\n      }\n    }\n    return new Selection(out, doc.sel.primIndex)\n  }\n\n  // Used to get the editor into a consistent state again when options change.\n\n  function loadMode(cm) {\n    cm.doc.mode = getMode(cm.options, cm.doc.modeOption);\n    resetModeState(cm);\n  }\n\n  function resetModeState(cm) {\n    cm.doc.iter(function (line) {\n      if (line.stateAfter) { line.stateAfter = null; }\n      if (line.styles) { line.styles = null; }\n    });\n    cm.doc.modeFrontier = cm.doc.highlightFrontier = cm.doc.first;\n    startWorker(cm, 100);\n    cm.state.modeGen++;\n    if (cm.curOp) { regChange(cm); }\n  }\n\n  // DOCUMENT DATA STRUCTURE\n\n  // By default, updates that start and end at the beginning of a line\n  // are treated specially, in order to make the association of line\n  // widgets and marker elements with the text behave more intuitive.\n  function isWholeLineUpdate(doc, change) {\n    return change.from.ch == 0 && change.to.ch == 0 && lst(change.text) == \"\" &&\n      (!doc.cm || doc.cm.options.wholeLineUpdateBefore)\n  }\n\n  // Perform a change on the document data structure.\n  function updateDoc(doc, change, markedSpans, estimateHeight) {\n    function spansFor(n) {return markedSpans ? markedSpans[n] : null}\n    function update(line, text, spans) {\n      updateLine(line, text, spans, estimateHeight);\n      signalLater(line, \"change\", line, change);\n    }\n    function linesFor(start, end) {\n      var result = [];\n      for (var i = start; i < end; ++i)\n        { result.push(new Line(text[i], spansFor(i), estimateHeight)); }\n      return result\n    }\n\n    var from = change.from, to = change.to, text = change.text;\n    var firstLine = getLine(doc, from.line), lastLine = getLine(doc, to.line);\n    var lastText = lst(text), lastSpans = spansFor(text.length - 1), nlines = to.line - from.line;\n\n    // Adjust the line structure\n    if (change.full) {\n      doc.insert(0, linesFor(0, text.length));\n      doc.remove(text.length, doc.size - text.length);\n    } else if (isWholeLineUpdate(doc, change)) {\n      // This is a whole-line replace. Treated specially to make\n      // sure line objects move the way they are supposed to.\n      var added = linesFor(0, text.length - 1);\n      update(lastLine, lastLine.text, lastSpans);\n      if (nlines) { doc.remove(from.line, nlines); }\n      if (added.length) { doc.insert(from.line, added); }\n    } else if (firstLine == lastLine) {\n      if (text.length == 1) {\n        update(firstLine, firstLine.text.slice(0, from.ch) + lastText + firstLine.text.slice(to.ch), lastSpans);\n      } else {\n        var added$1 = linesFor(1, text.length - 1);\n        added$1.push(new Line(lastText + firstLine.text.slice(to.ch), lastSpans, estimateHeight));\n        update(firstLine, firstLine.text.slice(0, from.ch) + text[0], spansFor(0));\n        doc.insert(from.line + 1, added$1);\n      }\n    } else if (text.length == 1) {\n      update(firstLine, firstLine.text.slice(0, from.ch) + text[0] + lastLine.text.slice(to.ch), spansFor(0));\n      doc.remove(from.line + 1, nlines);\n    } else {\n      update(firstLine, firstLine.text.slice(0, from.ch) + text[0], spansFor(0));\n      update(lastLine, lastText + lastLine.text.slice(to.ch), lastSpans);\n      var added$2 = linesFor(1, text.length - 1);\n      if (nlines > 1) { doc.remove(from.line + 1, nlines - 1); }\n      doc.insert(from.line + 1, added$2);\n    }\n\n    signalLater(doc, \"change\", doc, change);\n  }\n\n  // Call f for all linked documents.\n  function linkedDocs(doc, f, sharedHistOnly) {\n    function propagate(doc, skip, sharedHist) {\n      if (doc.linked) { for (var i = 0; i < doc.linked.length; ++i) {\n        var rel = doc.linked[i];\n        if (rel.doc == skip) { continue }\n        var shared = sharedHist && rel.sharedHist;\n        if (sharedHistOnly && !shared) { continue }\n        f(rel.doc, shared);\n        propagate(rel.doc, doc, shared);\n      } }\n    }\n    propagate(doc, null, true);\n  }\n\n  // Attach a document to an editor.\n  function attachDoc(cm, doc) {\n    if (doc.cm) { throw new Error(\"This document is already in use.\") }\n    cm.doc = doc;\n    doc.cm = cm;\n    estimateLineHeights(cm);\n    loadMode(cm);\n    setDirectionClass(cm);\n    cm.options.direction = doc.direction;\n    if (!cm.options.lineWrapping) { findMaxLine(cm); }\n    cm.options.mode = doc.modeOption;\n    regChange(cm);\n  }\n\n  function setDirectionClass(cm) {\n  (cm.doc.direction == \"rtl\" ? addClass : rmClass)(cm.display.lineDiv, \"CodeMirror-rtl\");\n  }\n\n  function directionChanged(cm) {\n    runInOp(cm, function () {\n      setDirectionClass(cm);\n      regChange(cm);\n    });\n  }\n\n  function History(prev) {\n    // Arrays of change events and selections. Doing something adds an\n    // event to done and clears undo. Undoing moves events from done\n    // to undone, redoing moves them in the other direction.\n    this.done = []; this.undone = [];\n    this.undoDepth = prev ? prev.undoDepth : Infinity;\n    // Used to track when changes can be merged into a single undo\n    // event\n    this.lastModTime = this.lastSelTime = 0;\n    this.lastOp = this.lastSelOp = null;\n    this.lastOrigin = this.lastSelOrigin = null;\n    // Used by the isClean() method\n    this.generation = this.maxGeneration = prev ? prev.maxGeneration : 1;\n  }\n\n  // Create a history change event from an updateDoc-style change\n  // object.\n  function historyChangeFromChange(doc, change) {\n    var histChange = {from: copyPos(change.from), to: changeEnd(change), text: getBetween(doc, change.from, change.to)};\n    attachLocalSpans(doc, histChange, change.from.line, change.to.line + 1);\n    linkedDocs(doc, function (doc) { return attachLocalSpans(doc, histChange, change.from.line, change.to.line + 1); }, true);\n    return histChange\n  }\n\n  // Pop all selection events off the end of a history array. Stop at\n  // a change event.\n  function clearSelectionEvents(array) {\n    while (array.length) {\n      var last = lst(array);\n      if (last.ranges) { array.pop(); }\n      else { break }\n    }\n  }\n\n  // Find the top change event in the history. Pop off selection\n  // events that are in the way.\n  function lastChangeEvent(hist, force) {\n    if (force) {\n      clearSelectionEvents(hist.done);\n      return lst(hist.done)\n    } else if (hist.done.length && !lst(hist.done).ranges) {\n      return lst(hist.done)\n    } else if (hist.done.length > 1 && !hist.done[hist.done.length - 2].ranges) {\n      hist.done.pop();\n      return lst(hist.done)\n    }\n  }\n\n  // Register a change in the history. Merges changes that are within\n  // a single operation, or are close together with an origin that\n  // allows merging (starting with \"+\") into a single event.\n  function addChangeToHistory(doc, change, selAfter, opId) {\n    var hist = doc.history;\n    hist.undone.length = 0;\n    var time = +new Date, cur;\n    var last;\n\n    if ((hist.lastOp == opId ||\n         hist.lastOrigin == change.origin && change.origin &&\n         ((change.origin.charAt(0) == \"+\" && hist.lastModTime > time - (doc.cm ? doc.cm.options.historyEventDelay : 500)) ||\n          change.origin.charAt(0) == \"*\")) &&\n        (cur = lastChangeEvent(hist, hist.lastOp == opId))) {\n      // Merge this change into the last event\n      last = lst(cur.changes);\n      if (cmp(change.from, change.to) == 0 && cmp(change.from, last.to) == 0) {\n        // Optimized case for simple insertion -- don't want to add\n        // new changesets for every character typed\n        last.to = changeEnd(change);\n      } else {\n        // Add new sub-event\n        cur.changes.push(historyChangeFromChange(doc, change));\n      }\n    } else {\n      // Can not be merged, start a new event.\n      var before = lst(hist.done);\n      if (!before || !before.ranges)\n        { pushSelectionToHistory(doc.sel, hist.done); }\n      cur = {changes: [historyChangeFromChange(doc, change)],\n             generation: hist.generation};\n      hist.done.push(cur);\n      while (hist.done.length > hist.undoDepth) {\n        hist.done.shift();\n        if (!hist.done[0].ranges) { hist.done.shift(); }\n      }\n    }\n    hist.done.push(selAfter);\n    hist.generation = ++hist.maxGeneration;\n    hist.lastModTime = hist.lastSelTime = time;\n    hist.lastOp = hist.lastSelOp = opId;\n    hist.lastOrigin = hist.lastSelOrigin = change.origin;\n\n    if (!last) { signal(doc, \"historyAdded\"); }\n  }\n\n  function selectionEventCanBeMerged(doc, origin, prev, sel) {\n    var ch = origin.charAt(0);\n    return ch == \"*\" ||\n      ch == \"+\" &&\n      prev.ranges.length == sel.ranges.length &&\n      prev.somethingSelected() == sel.somethingSelected() &&\n      new Date - doc.history.lastSelTime <= (doc.cm ? doc.cm.options.historyEventDelay : 500)\n  }\n\n  // Called whenever the selection changes, sets the new selection as\n  // the pending selection in the history, and pushes the old pending\n  // selection into the 'done' array when it was significantly\n  // different (in number of selected ranges, emptiness, or time).\n  function addSelectionToHistory(doc, sel, opId, options) {\n    var hist = doc.history, origin = options && options.origin;\n\n    // A new event is started when the previous origin does not match\n    // the current, or the origins don't allow matching. Origins\n    // starting with * are always merged, those starting with + are\n    // merged when similar and close together in time.\n    if (opId == hist.lastSelOp ||\n        (origin && hist.lastSelOrigin == origin &&\n         (hist.lastModTime == hist.lastSelTime && hist.lastOrigin == origin ||\n          selectionEventCanBeMerged(doc, origin, lst(hist.done), sel))))\n      { hist.done[hist.done.length - 1] = sel; }\n    else\n      { pushSelectionToHistory(sel, hist.done); }\n\n    hist.lastSelTime = +new Date;\n    hist.lastSelOrigin = origin;\n    hist.lastSelOp = opId;\n    if (options && options.clearRedo !== false)\n      { clearSelectionEvents(hist.undone); }\n  }\n\n  function pushSelectionToHistory(sel, dest) {\n    var top = lst(dest);\n    if (!(top && top.ranges && top.equals(sel)))\n      { dest.push(sel); }\n  }\n\n  // Used to store marked span information in the history.\n  function attachLocalSpans(doc, change, from, to) {\n    var existing = change[\"spans_\" + doc.id], n = 0;\n    doc.iter(Math.max(doc.first, from), Math.min(doc.first + doc.size, to), function (line) {\n      if (line.markedSpans)\n        { (existing || (existing = change[\"spans_\" + doc.id] = {}))[n] = line.markedSpans; }\n      ++n;\n    });\n  }\n\n  // When un/re-doing restores text containing marked spans, those\n  // that have been explicitly cleared should not be restored.\n  function removeClearedSpans(spans) {\n    if (!spans) { return null }\n    var out;\n    for (var i = 0; i < spans.length; ++i) {\n      if (spans[i].marker.explicitlyCleared) { if (!out) { out = spans.slice(0, i); } }\n      else if (out) { out.push(spans[i]); }\n    }\n    return !out ? spans : out.length ? out : null\n  }\n\n  // Retrieve and filter the old marked spans stored in a change event.\n  function getOldSpans(doc, change) {\n    var found = change[\"spans_\" + doc.id];\n    if (!found) { return null }\n    var nw = [];\n    for (var i = 0; i < change.text.length; ++i)\n      { nw.push(removeClearedSpans(found[i])); }\n    return nw\n  }\n\n  // Used for un/re-doing changes from the history. Combines the\n  // result of computing the existing spans with the set of spans that\n  // existed in the history (so that deleting around a span and then\n  // undoing brings back the span).\n  function mergeOldSpans(doc, change) {\n    var old = getOldSpans(doc, change);\n    var stretched = stretchSpansOverChange(doc, change);\n    if (!old) { return stretched }\n    if (!stretched) { return old }\n\n    for (var i = 0; i < old.length; ++i) {\n      var oldCur = old[i], stretchCur = stretched[i];\n      if (oldCur && stretchCur) {\n        spans: for (var j = 0; j < stretchCur.length; ++j) {\n          var span = stretchCur[j];\n          for (var k = 0; k < oldCur.length; ++k)\n            { if (oldCur[k].marker == span.marker) { continue spans } }\n          oldCur.push(span);\n        }\n      } else if (stretchCur) {\n        old[i] = stretchCur;\n      }\n    }\n    return old\n  }\n\n  // Used both to provide a JSON-safe object in .getHistory, and, when\n  // detaching a document, to split the history in two\n  function copyHistoryArray(events, newGroup, instantiateSel) {\n    var copy = [];\n    for (var i = 0; i < events.length; ++i) {\n      var event = events[i];\n      if (event.ranges) {\n        copy.push(instantiateSel ? Selection.prototype.deepCopy.call(event) : event);\n        continue\n      }\n      var changes = event.changes, newChanges = [];\n      copy.push({changes: newChanges});\n      for (var j = 0; j < changes.length; ++j) {\n        var change = changes[j], m = (void 0);\n        newChanges.push({from: change.from, to: change.to, text: change.text});\n        if (newGroup) { for (var prop in change) { if (m = prop.match(/^spans_(\\d+)$/)) {\n          if (indexOf(newGroup, Number(m[1])) > -1) {\n            lst(newChanges)[prop] = change[prop];\n            delete change[prop];\n          }\n        } } }\n      }\n    }\n    return copy\n  }\n\n  // The 'scroll' parameter given to many of these indicated whether\n  // the new cursor position should be scrolled into view after\n  // modifying the selection.\n\n  // If shift is held or the extend flag is set, extends a range to\n  // include a given position (and optionally a second position).\n  // Otherwise, simply returns the range between the given positions.\n  // Used for cursor motion and such.\n  function extendRange(range, head, other, extend) {\n    if (extend) {\n      var anchor = range.anchor;\n      if (other) {\n        var posBefore = cmp(head, anchor) < 0;\n        if (posBefore != (cmp(other, anchor) < 0)) {\n          anchor = head;\n          head = other;\n        } else if (posBefore != (cmp(head, other) < 0)) {\n          head = other;\n        }\n      }\n      return new Range(anchor, head)\n    } else {\n      return new Range(other || head, head)\n    }\n  }\n\n  // Extend the primary selection range, discard the rest.\n  function extendSelection(doc, head, other, options, extend) {\n    if (extend == null) { extend = doc.cm && (doc.cm.display.shift || doc.extend); }\n    setSelection(doc, new Selection([extendRange(doc.sel.primary(), head, other, extend)], 0), options);\n  }\n\n  // Extend all selections (pos is an array of selections with length\n  // equal the number of selections)\n  function extendSelections(doc, heads, options) {\n    var out = [];\n    var extend = doc.cm && (doc.cm.display.shift || doc.extend);\n    for (var i = 0; i < doc.sel.ranges.length; i++)\n      { out[i] = extendRange(doc.sel.ranges[i], heads[i], null, extend); }\n    var newSel = normalizeSelection(doc.cm, out, doc.sel.primIndex);\n    setSelection(doc, newSel, options);\n  }\n\n  // Updates a single range in the selection.\n  function replaceOneSelection(doc, i, range, options) {\n    var ranges = doc.sel.ranges.slice(0);\n    ranges[i] = range;\n    setSelection(doc, normalizeSelection(doc.cm, ranges, doc.sel.primIndex), options);\n  }\n\n  // Reset the selection to a single range.\n  function setSimpleSelection(doc, anchor, head, options) {\n    setSelection(doc, simpleSelection(anchor, head), options);\n  }\n\n  // Give beforeSelectionChange handlers a change to influence a\n  // selection update.\n  function filterSelectionChange(doc, sel, options) {\n    var obj = {\n      ranges: sel.ranges,\n      update: function(ranges) {\n        this.ranges = [];\n        for (var i = 0; i < ranges.length; i++)\n          { this.ranges[i] = new Range(clipPos(doc, ranges[i].anchor),\n                                     clipPos(doc, ranges[i].head)); }\n      },\n      origin: options && options.origin\n    };\n    signal(doc, \"beforeSelectionChange\", doc, obj);\n    if (doc.cm) { signal(doc.cm, \"beforeSelectionChange\", doc.cm, obj); }\n    if (obj.ranges != sel.ranges) { return normalizeSelection(doc.cm, obj.ranges, obj.ranges.length - 1) }\n    else { return sel }\n  }\n\n  function setSelectionReplaceHistory(doc, sel, options) {\n    var done = doc.history.done, last = lst(done);\n    if (last && last.ranges) {\n      done[done.length - 1] = sel;\n      setSelectionNoUndo(doc, sel, options);\n    } else {\n      setSelection(doc, sel, options);\n    }\n  }\n\n  // Set a new selection.\n  function setSelection(doc, sel, options) {\n    setSelectionNoUndo(doc, sel, options);\n    addSelectionToHistory(doc, doc.sel, doc.cm ? doc.cm.curOp.id : NaN, options);\n  }\n\n  function setSelectionNoUndo(doc, sel, options) {\n    if (hasHandler(doc, \"beforeSelectionChange\") || doc.cm && hasHandler(doc.cm, \"beforeSelectionChange\"))\n      { sel = filterSelectionChange(doc, sel, options); }\n\n    var bias = options && options.bias ||\n      (cmp(sel.primary().head, doc.sel.primary().head) < 0 ? -1 : 1);\n    setSelectionInner(doc, skipAtomicInSelection(doc, sel, bias, true));\n\n    if (!(options && options.scroll === false) && doc.cm && doc.cm.getOption(\"readOnly\") != \"nocursor\")\n      { ensureCursorVisible(doc.cm); }\n  }\n\n  function setSelectionInner(doc, sel) {\n    if (sel.equals(doc.sel)) { return }\n\n    doc.sel = sel;\n\n    if (doc.cm) {\n      doc.cm.curOp.updateInput = 1;\n      doc.cm.curOp.selectionChanged = true;\n      signalCursorActivity(doc.cm);\n    }\n    signalLater(doc, \"cursorActivity\", doc);\n  }\n\n  // Verify that the selection does not partially select any atomic\n  // marked ranges.\n  function reCheckSelection(doc) {\n    setSelectionInner(doc, skipAtomicInSelection(doc, doc.sel, null, false));\n  }\n\n  // Return a selection that does not partially select any atomic\n  // ranges.\n  function skipAtomicInSelection(doc, sel, bias, mayClear) {\n    var out;\n    for (var i = 0; i < sel.ranges.length; i++) {\n      var range = sel.ranges[i];\n      var old = sel.ranges.length == doc.sel.ranges.length && doc.sel.ranges[i];\n      var newAnchor = skipAtomic(doc, range.anchor, old && old.anchor, bias, mayClear);\n      var newHead = skipAtomic(doc, range.head, old && old.head, bias, mayClear);\n      if (out || newAnchor != range.anchor || newHead != range.head) {\n        if (!out) { out = sel.ranges.slice(0, i); }\n        out[i] = new Range(newAnchor, newHead);\n      }\n    }\n    return out ? normalizeSelection(doc.cm, out, sel.primIndex) : sel\n  }\n\n  function skipAtomicInner(doc, pos, oldPos, dir, mayClear) {\n    var line = getLine(doc, pos.line);\n    if (line.markedSpans) { for (var i = 0; i < line.markedSpans.length; ++i) {\n      var sp = line.markedSpans[i], m = sp.marker;\n\n      // Determine if we should prevent the cursor being placed to the left/right of an atomic marker\n      // Historically this was determined using the inclusiveLeft/Right option, but the new way to control it\n      // is with selectLeft/Right\n      var preventCursorLeft = (\"selectLeft\" in m) ? !m.selectLeft : m.inclusiveLeft;\n      var preventCursorRight = (\"selectRight\" in m) ? !m.selectRight : m.inclusiveRight;\n\n      if ((sp.from == null || (preventCursorLeft ? sp.from <= pos.ch : sp.from < pos.ch)) &&\n          (sp.to == null || (preventCursorRight ? sp.to >= pos.ch : sp.to > pos.ch))) {\n        if (mayClear) {\n          signal(m, \"beforeCursorEnter\");\n          if (m.explicitlyCleared) {\n            if (!line.markedSpans) { break }\n            else {--i; continue}\n          }\n        }\n        if (!m.atomic) { continue }\n\n        if (oldPos) {\n          var near = m.find(dir < 0 ? 1 : -1), diff = (void 0);\n          if (dir < 0 ? preventCursorRight : preventCursorLeft)\n            { near = movePos(doc, near, -dir, near && near.line == pos.line ? line : null); }\n          if (near && near.line == pos.line && (diff = cmp(near, oldPos)) && (dir < 0 ? diff < 0 : diff > 0))\n            { return skipAtomicInner(doc, near, pos, dir, mayClear) }\n        }\n\n        var far = m.find(dir < 0 ? -1 : 1);\n        if (dir < 0 ? preventCursorLeft : preventCursorRight)\n          { far = movePos(doc, far, dir, far.line == pos.line ? line : null); }\n        return far ? skipAtomicInner(doc, far, pos, dir, mayClear) : null\n      }\n    } }\n    return pos\n  }\n\n  // Ensure a given position is not inside an atomic range.\n  function skipAtomic(doc, pos, oldPos, bias, mayClear) {\n    var dir = bias || 1;\n    var found = skipAtomicInner(doc, pos, oldPos, dir, mayClear) ||\n        (!mayClear && skipAtomicInner(doc, pos, oldPos, dir, true)) ||\n        skipAtomicInner(doc, pos, oldPos, -dir, mayClear) ||\n        (!mayClear && skipAtomicInner(doc, pos, oldPos, -dir, true));\n    if (!found) {\n      doc.cantEdit = true;\n      return Pos(doc.first, 0)\n    }\n    return found\n  }\n\n  function movePos(doc, pos, dir, line) {\n    if (dir < 0 && pos.ch == 0) {\n      if (pos.line > doc.first) { return clipPos(doc, Pos(pos.line - 1)) }\n      else { return null }\n    } else if (dir > 0 && pos.ch == (line || getLine(doc, pos.line)).text.length) {\n      if (pos.line < doc.first + doc.size - 1) { return Pos(pos.line + 1, 0) }\n      else { return null }\n    } else {\n      return new Pos(pos.line, pos.ch + dir)\n    }\n  }\n\n  function selectAll(cm) {\n    cm.setSelection(Pos(cm.firstLine(), 0), Pos(cm.lastLine()), sel_dontScroll);\n  }\n\n  // UPDATING\n\n  // Allow \"beforeChange\" event handlers to influence a change\n  function filterChange(doc, change, update) {\n    var obj = {\n      canceled: false,\n      from: change.from,\n      to: change.to,\n      text: change.text,\n      origin: change.origin,\n      cancel: function () { return obj.canceled = true; }\n    };\n    if (update) { obj.update = function (from, to, text, origin) {\n      if (from) { obj.from = clipPos(doc, from); }\n      if (to) { obj.to = clipPos(doc, to); }\n      if (text) { obj.text = text; }\n      if (origin !== undefined) { obj.origin = origin; }\n    }; }\n    signal(doc, \"beforeChange\", doc, obj);\n    if (doc.cm) { signal(doc.cm, \"beforeChange\", doc.cm, obj); }\n\n    if (obj.canceled) {\n      if (doc.cm) { doc.cm.curOp.updateInput = 2; }\n      return null\n    }\n    return {from: obj.from, to: obj.to, text: obj.text, origin: obj.origin}\n  }\n\n  // Apply a change to a document, and add it to the document's\n  // history, and propagating it to all linked documents.\n  function makeChange(doc, change, ignoreReadOnly) {\n    if (doc.cm) {\n      if (!doc.cm.curOp) { return operation(doc.cm, makeChange)(doc, change, ignoreReadOnly) }\n      if (doc.cm.state.suppressEdits) { return }\n    }\n\n    if (hasHandler(doc, \"beforeChange\") || doc.cm && hasHandler(doc.cm, \"beforeChange\")) {\n      change = filterChange(doc, change, true);\n      if (!change) { return }\n    }\n\n    // Possibly split or suppress the update based on the presence\n    // of read-only spans in its range.\n    var split = sawReadOnlySpans && !ignoreReadOnly && removeReadOnlyRanges(doc, change.from, change.to);\n    if (split) {\n      for (var i = split.length - 1; i >= 0; --i)\n        { makeChangeInner(doc, {from: split[i].from, to: split[i].to, text: i ? [\"\"] : change.text, origin: change.origin}); }\n    } else {\n      makeChangeInner(doc, change);\n    }\n  }\n\n  function makeChangeInner(doc, change) {\n    if (change.text.length == 1 && change.text[0] == \"\" && cmp(change.from, change.to) == 0) { return }\n    var selAfter = computeSelAfterChange(doc, change);\n    addChangeToHistory(doc, change, selAfter, doc.cm ? doc.cm.curOp.id : NaN);\n\n    makeChangeSingleDoc(doc, change, selAfter, stretchSpansOverChange(doc, change));\n    var rebased = [];\n\n    linkedDocs(doc, function (doc, sharedHist) {\n      if (!sharedHist && indexOf(rebased, doc.history) == -1) {\n        rebaseHist(doc.history, change);\n        rebased.push(doc.history);\n      }\n      makeChangeSingleDoc(doc, change, null, stretchSpansOverChange(doc, change));\n    });\n  }\n\n  // Revert a change stored in a document's history.\n  function makeChangeFromHistory(doc, type, allowSelectionOnly) {\n    var suppress = doc.cm && doc.cm.state.suppressEdits;\n    if (suppress && !allowSelectionOnly) { return }\n\n    var hist = doc.history, event, selAfter = doc.sel;\n    var source = type == \"undo\" ? hist.done : hist.undone, dest = type == \"undo\" ? hist.undone : hist.done;\n\n    // Verify that there is a useable event (so that ctrl-z won't\n    // needlessly clear selection events)\n    var i = 0;\n    for (; i < source.length; i++) {\n      event = source[i];\n      if (allowSelectionOnly ? event.ranges && !event.equals(doc.sel) : !event.ranges)\n        { break }\n    }\n    if (i == source.length) { return }\n    hist.lastOrigin = hist.lastSelOrigin = null;\n\n    for (;;) {\n      event = source.pop();\n      if (event.ranges) {\n        pushSelectionToHistory(event, dest);\n        if (allowSelectionOnly && !event.equals(doc.sel)) {\n          setSelection(doc, event, {clearRedo: false});\n          return\n        }\n        selAfter = event;\n      } else if (suppress) {\n        source.push(event);\n        return\n      } else { break }\n    }\n\n    // Build up a reverse change object to add to the opposite history\n    // stack (redo when undoing, and vice versa).\n    var antiChanges = [];\n    pushSelectionToHistory(selAfter, dest);\n    dest.push({changes: antiChanges, generation: hist.generation});\n    hist.generation = event.generation || ++hist.maxGeneration;\n\n    var filter = hasHandler(doc, \"beforeChange\") || doc.cm && hasHandler(doc.cm, \"beforeChange\");\n\n    var loop = function ( i ) {\n      var change = event.changes[i];\n      change.origin = type;\n      if (filter && !filterChange(doc, change, false)) {\n        source.length = 0;\n        return {}\n      }\n\n      antiChanges.push(historyChangeFromChange(doc, change));\n\n      var after = i ? computeSelAfterChange(doc, change) : lst(source);\n      makeChangeSingleDoc(doc, change, after, mergeOldSpans(doc, change));\n      if (!i && doc.cm) { doc.cm.scrollIntoView({from: change.from, to: changeEnd(change)}); }\n      var rebased = [];\n\n      // Propagate to the linked documents\n      linkedDocs(doc, function (doc, sharedHist) {\n        if (!sharedHist && indexOf(rebased, doc.history) == -1) {\n          rebaseHist(doc.history, change);\n          rebased.push(doc.history);\n        }\n        makeChangeSingleDoc(doc, change, null, mergeOldSpans(doc, change));\n      });\n    };\n\n    for (var i$1 = event.changes.length - 1; i$1 >= 0; --i$1) {\n      var returned = loop( i$1 );\n\n      if ( returned ) return returned.v;\n    }\n  }\n\n  // Sub-views need their line numbers shifted when text is added\n  // above or below them in the parent document.\n  function shiftDoc(doc, distance) {\n    if (distance == 0) { return }\n    doc.first += distance;\n    doc.sel = new Selection(map(doc.sel.ranges, function (range) { return new Range(\n      Pos(range.anchor.line + distance, range.anchor.ch),\n      Pos(range.head.line + distance, range.head.ch)\n    ); }), doc.sel.primIndex);\n    if (doc.cm) {\n      regChange(doc.cm, doc.first, doc.first - distance, distance);\n      for (var d = doc.cm.display, l = d.viewFrom; l < d.viewTo; l++)\n        { regLineChange(doc.cm, l, \"gutter\"); }\n    }\n  }\n\n  // More lower-level change function, handling only a single document\n  // (not linked ones).\n  function makeChangeSingleDoc(doc, change, selAfter, spans) {\n    if (doc.cm && !doc.cm.curOp)\n      { return operation(doc.cm, makeChangeSingleDoc)(doc, change, selAfter, spans) }\n\n    if (change.to.line < doc.first) {\n      shiftDoc(doc, change.text.length - 1 - (change.to.line - change.from.line));\n      return\n    }\n    if (change.from.line > doc.lastLine()) { return }\n\n    // Clip the change to the size of this doc\n    if (change.from.line < doc.first) {\n      var shift = change.text.length - 1 - (doc.first - change.from.line);\n      shiftDoc(doc, shift);\n      change = {from: Pos(doc.first, 0), to: Pos(change.to.line + shift, change.to.ch),\n                text: [lst(change.text)], origin: change.origin};\n    }\n    var last = doc.lastLine();\n    if (change.to.line > last) {\n      change = {from: change.from, to: Pos(last, getLine(doc, last).text.length),\n                text: [change.text[0]], origin: change.origin};\n    }\n\n    change.removed = getBetween(doc, change.from, change.to);\n\n    if (!selAfter) { selAfter = computeSelAfterChange(doc, change); }\n    if (doc.cm) { makeChangeSingleDocInEditor(doc.cm, change, spans); }\n    else { updateDoc(doc, change, spans); }\n    setSelectionNoUndo(doc, selAfter, sel_dontScroll);\n\n    if (doc.cantEdit && skipAtomic(doc, Pos(doc.firstLine(), 0)))\n      { doc.cantEdit = false; }\n  }\n\n  // Handle the interaction of a change to a document with the editor\n  // that this document is part of.\n  function makeChangeSingleDocInEditor(cm, change, spans) {\n    var doc = cm.doc, display = cm.display, from = change.from, to = change.to;\n\n    var recomputeMaxLength = false, checkWidthStart = from.line;\n    if (!cm.options.lineWrapping) {\n      checkWidthStart = lineNo(visualLine(getLine(doc, from.line)));\n      doc.iter(checkWidthStart, to.line + 1, function (line) {\n        if (line == display.maxLine) {\n          recomputeMaxLength = true;\n          return true\n        }\n      });\n    }\n\n    if (doc.sel.contains(change.from, change.to) > -1)\n      { signalCursorActivity(cm); }\n\n    updateDoc(doc, change, spans, estimateHeight(cm));\n\n    if (!cm.options.lineWrapping) {\n      doc.iter(checkWidthStart, from.line + change.text.length, function (line) {\n        var len = lineLength(line);\n        if (len > display.maxLineLength) {\n          display.maxLine = line;\n          display.maxLineLength = len;\n          display.maxLineChanged = true;\n          recomputeMaxLength = false;\n        }\n      });\n      if (recomputeMaxLength) { cm.curOp.updateMaxLine = true; }\n    }\n\n    retreatFrontier(doc, from.line);\n    startWorker(cm, 400);\n\n    var lendiff = change.text.length - (to.line - from.line) - 1;\n    // Remember that these lines changed, for updating the display\n    if (change.full)\n      { regChange(cm); }\n    else if (from.line == to.line && change.text.length == 1 && !isWholeLineUpdate(cm.doc, change))\n      { regLineChange(cm, from.line, \"text\"); }\n    else\n      { regChange(cm, from.line, to.line + 1, lendiff); }\n\n    var changesHandler = hasHandler(cm, \"changes\"), changeHandler = hasHandler(cm, \"change\");\n    if (changeHandler || changesHandler) {\n      var obj = {\n        from: from, to: to,\n        text: change.text,\n        removed: change.removed,\n        origin: change.origin\n      };\n      if (changeHandler) { signalLater(cm, \"change\", cm, obj); }\n      if (changesHandler) { (cm.curOp.changeObjs || (cm.curOp.changeObjs = [])).push(obj); }\n    }\n    cm.display.selForContextMenu = null;\n  }\n\n  function replaceRange(doc, code, from, to, origin) {\n    var assign;\n\n    if (!to) { to = from; }\n    if (cmp(to, from) < 0) { (assign = [to, from], from = assign[0], to = assign[1]); }\n    if (typeof code == \"string\") { code = doc.splitLines(code); }\n    makeChange(doc, {from: from, to: to, text: code, origin: origin});\n  }\n\n  // Rebasing/resetting history to deal with externally-sourced changes\n\n  function rebaseHistSelSingle(pos, from, to, diff) {\n    if (to < pos.line) {\n      pos.line += diff;\n    } else if (from < pos.line) {\n      pos.line = from;\n      pos.ch = 0;\n    }\n  }\n\n  // Tries to rebase an array of history events given a change in the\n  // document. If the change touches the same lines as the event, the\n  // event, and everything 'behind' it, is discarded. If the change is\n  // before the event, the event's positions are updated. Uses a\n  // copy-on-write scheme for the positions, to avoid having to\n  // reallocate them all on every rebase, but also avoid problems with\n  // shared position objects being unsafely updated.\n  function rebaseHistArray(array, from, to, diff) {\n    for (var i = 0; i < array.length; ++i) {\n      var sub = array[i], ok = true;\n      if (sub.ranges) {\n        if (!sub.copied) { sub = array[i] = sub.deepCopy(); sub.copied = true; }\n        for (var j = 0; j < sub.ranges.length; j++) {\n          rebaseHistSelSingle(sub.ranges[j].anchor, from, to, diff);\n          rebaseHistSelSingle(sub.ranges[j].head, from, to, diff);\n        }\n        continue\n      }\n      for (var j$1 = 0; j$1 < sub.changes.length; ++j$1) {\n        var cur = sub.changes[j$1];\n        if (to < cur.from.line) {\n          cur.from = Pos(cur.from.line + diff, cur.from.ch);\n          cur.to = Pos(cur.to.line + diff, cur.to.ch);\n        } else if (from <= cur.to.line) {\n          ok = false;\n          break\n        }\n      }\n      if (!ok) {\n        array.splice(0, i + 1);\n        i = 0;\n      }\n    }\n  }\n\n  function rebaseHist(hist, change) {\n    var from = change.from.line, to = change.to.line, diff = change.text.length - (to - from) - 1;\n    rebaseHistArray(hist.done, from, to, diff);\n    rebaseHistArray(hist.undone, from, to, diff);\n  }\n\n  // Utility for applying a change to a line by handle or number,\n  // returning the number and optionally registering the line as\n  // changed.\n  function changeLine(doc, handle, changeType, op) {\n    var no = handle, line = handle;\n    if (typeof handle == \"number\") { line = getLine(doc, clipLine(doc, handle)); }\n    else { no = lineNo(handle); }\n    if (no == null) { return null }\n    if (op(line, no) && doc.cm) { regLineChange(doc.cm, no, changeType); }\n    return line\n  }\n\n  // The document is represented as a BTree consisting of leaves, with\n  // chunk of lines in them, and branches, with up to ten leaves or\n  // other branch nodes below them. The top node is always a branch\n  // node, and is the document object itself (meaning it has\n  // additional methods and properties).\n  //\n  // All nodes have parent links. The tree is used both to go from\n  // line numbers to line objects, and to go from objects to numbers.\n  // It also indexes by height, and is used to convert between height\n  // and line object, and to find the total height of the document.\n  //\n  // See also http://marijnhaverbeke.nl/blog/codemirror-line-tree.html\n\n  function LeafChunk(lines) {\n    this.lines = lines;\n    this.parent = null;\n    var height = 0;\n    for (var i = 0; i < lines.length; ++i) {\n      lines[i].parent = this;\n      height += lines[i].height;\n    }\n    this.height = height;\n  }\n\n  LeafChunk.prototype = {\n    chunkSize: function() { return this.lines.length },\n\n    // Remove the n lines at offset 'at'.\n    removeInner: function(at, n) {\n      for (var i = at, e = at + n; i < e; ++i) {\n        var line = this.lines[i];\n        this.height -= line.height;\n        cleanUpLine(line);\n        signalLater(line, \"delete\");\n      }\n      this.lines.splice(at, n);\n    },\n\n    // Helper used to collapse a small branch into a single leaf.\n    collapse: function(lines) {\n      lines.push.apply(lines, this.lines);\n    },\n\n    // Insert the given array of lines at offset 'at', count them as\n    // having the given height.\n    insertInner: function(at, lines, height) {\n      this.height += height;\n      this.lines = this.lines.slice(0, at).concat(lines).concat(this.lines.slice(at));\n      for (var i = 0; i < lines.length; ++i) { lines[i].parent = this; }\n    },\n\n    // Used to iterate over a part of the tree.\n    iterN: function(at, n, op) {\n      for (var e = at + n; at < e; ++at)\n        { if (op(this.lines[at])) { return true } }\n    }\n  };\n\n  function BranchChunk(children) {\n    this.children = children;\n    var size = 0, height = 0;\n    for (var i = 0; i < children.length; ++i) {\n      var ch = children[i];\n      size += ch.chunkSize(); height += ch.height;\n      ch.parent = this;\n    }\n    this.size = size;\n    this.height = height;\n    this.parent = null;\n  }\n\n  BranchChunk.prototype = {\n    chunkSize: function() { return this.size },\n\n    removeInner: function(at, n) {\n      this.size -= n;\n      for (var i = 0; i < this.children.length; ++i) {\n        var child = this.children[i], sz = child.chunkSize();\n        if (at < sz) {\n          var rm = Math.min(n, sz - at), oldHeight = child.height;\n          child.removeInner(at, rm);\n          this.height -= oldHeight - child.height;\n          if (sz == rm) { this.children.splice(i--, 1); child.parent = null; }\n          if ((n -= rm) == 0) { break }\n          at = 0;\n        } else { at -= sz; }\n      }\n      // If the result is smaller than 25 lines, ensure that it is a\n      // single leaf node.\n      if (this.size - n < 25 &&\n          (this.children.length > 1 || !(this.children[0] instanceof LeafChunk))) {\n        var lines = [];\n        this.collapse(lines);\n        this.children = [new LeafChunk(lines)];\n        this.children[0].parent = this;\n      }\n    },\n\n    collapse: function(lines) {\n      for (var i = 0; i < this.children.length; ++i) { this.children[i].collapse(lines); }\n    },\n\n    insertInner: function(at, lines, height) {\n      this.size += lines.length;\n      this.height += height;\n      for (var i = 0; i < this.children.length; ++i) {\n        var child = this.children[i], sz = child.chunkSize();\n        if (at <= sz) {\n          child.insertInner(at, lines, height);\n          if (child.lines && child.lines.length > 50) {\n            // To avoid memory thrashing when child.lines is huge (e.g. first view of a large file), it's never spliced.\n            // Instead, small slices are taken. They're taken in order because sequential memory accesses are fastest.\n            var remaining = child.lines.length % 25 + 25;\n            for (var pos = remaining; pos < child.lines.length;) {\n              var leaf = new LeafChunk(child.lines.slice(pos, pos += 25));\n              child.height -= leaf.height;\n              this.children.splice(++i, 0, leaf);\n              leaf.parent = this;\n            }\n            child.lines = child.lines.slice(0, remaining);\n            this.maybeSpill();\n          }\n          break\n        }\n        at -= sz;\n      }\n    },\n\n    // When a node has grown, check whether it should be split.\n    maybeSpill: function() {\n      if (this.children.length <= 10) { return }\n      var me = this;\n      do {\n        var spilled = me.children.splice(me.children.length - 5, 5);\n        var sibling = new BranchChunk(spilled);\n        if (!me.parent) { // Become the parent node\n          var copy = new BranchChunk(me.children);\n          copy.parent = me;\n          me.children = [copy, sibling];\n          me = copy;\n       } else {\n          me.size -= sibling.size;\n          me.height -= sibling.height;\n          var myIndex = indexOf(me.parent.children, me);\n          me.parent.children.splice(myIndex + 1, 0, sibling);\n        }\n        sibling.parent = me.parent;\n      } while (me.children.length > 10)\n      me.parent.maybeSpill();\n    },\n\n    iterN: function(at, n, op) {\n      for (var i = 0; i < this.children.length; ++i) {\n        var child = this.children[i], sz = child.chunkSize();\n        if (at < sz) {\n          var used = Math.min(n, sz - at);\n          if (child.iterN(at, used, op)) { return true }\n          if ((n -= used) == 0) { break }\n          at = 0;\n        } else { at -= sz; }\n      }\n    }\n  };\n\n  // Line widgets are block elements displayed above or below a line.\n\n  var LineWidget = function(doc, node, options) {\n    if (options) { for (var opt in options) { if (options.hasOwnProperty(opt))\n      { this[opt] = options[opt]; } } }\n    this.doc = doc;\n    this.node = node;\n  };\n\n  LineWidget.prototype.clear = function () {\n    var cm = this.doc.cm, ws = this.line.widgets, line = this.line, no = lineNo(line);\n    if (no == null || !ws) { return }\n    for (var i = 0; i < ws.length; ++i) { if (ws[i] == this) { ws.splice(i--, 1); } }\n    if (!ws.length) { line.widgets = null; }\n    var height = widgetHeight(this);\n    updateLineHeight(line, Math.max(0, line.height - height));\n    if (cm) {\n      runInOp(cm, function () {\n        adjustScrollWhenAboveVisible(cm, line, -height);\n        regLineChange(cm, no, \"widget\");\n      });\n      signalLater(cm, \"lineWidgetCleared\", cm, this, no);\n    }\n  };\n\n  LineWidget.prototype.changed = function () {\n      var this$1 = this;\n\n    var oldH = this.height, cm = this.doc.cm, line = this.line;\n    this.height = null;\n    var diff = widgetHeight(this) - oldH;\n    if (!diff) { return }\n    if (!lineIsHidden(this.doc, line)) { updateLineHeight(line, line.height + diff); }\n    if (cm) {\n      runInOp(cm, function () {\n        cm.curOp.forceUpdate = true;\n        adjustScrollWhenAboveVisible(cm, line, diff);\n        signalLater(cm, \"lineWidgetChanged\", cm, this$1, lineNo(line));\n      });\n    }\n  };\n  eventMixin(LineWidget);\n\n  function adjustScrollWhenAboveVisible(cm, line, diff) {\n    if (heightAtLine(line) < ((cm.curOp && cm.curOp.scrollTop) || cm.doc.scrollTop))\n      { addToScrollTop(cm, diff); }\n  }\n\n  function addLineWidget(doc, handle, node, options) {\n    var widget = new LineWidget(doc, node, options);\n    var cm = doc.cm;\n    if (cm && widget.noHScroll) { cm.display.alignWidgets = true; }\n    changeLine(doc, handle, \"widget\", function (line) {\n      var widgets = line.widgets || (line.widgets = []);\n      if (widget.insertAt == null) { widgets.push(widget); }\n      else { widgets.splice(Math.min(widgets.length, Math.max(0, widget.insertAt)), 0, widget); }\n      widget.line = line;\n      if (cm && !lineIsHidden(doc, line)) {\n        var aboveVisible = heightAtLine(line) < doc.scrollTop;\n        updateLineHeight(line, line.height + widgetHeight(widget));\n        if (aboveVisible) { addToScrollTop(cm, widget.height); }\n        cm.curOp.forceUpdate = true;\n      }\n      return true\n    });\n    if (cm) { signalLater(cm, \"lineWidgetAdded\", cm, widget, typeof handle == \"number\" ? handle : lineNo(handle)); }\n    return widget\n  }\n\n  // TEXTMARKERS\n\n  // Created with markText and setBookmark methods. A TextMarker is a\n  // handle that can be used to clear or find a marked position in the\n  // document. Line objects hold arrays (markedSpans) containing\n  // {from, to, marker} object pointing to such marker objects, and\n  // indicating that such a marker is present on that line. Multiple\n  // lines may point to the same marker when it spans across lines.\n  // The spans will have null for their from/to properties when the\n  // marker continues beyond the start/end of the line. Markers have\n  // links back to the lines they currently touch.\n\n  // Collapsed markers have unique ids, in order to be able to order\n  // them, which is needed for uniquely determining an outer marker\n  // when they overlap (they may nest, but not partially overlap).\n  var nextMarkerId = 0;\n\n  var TextMarker = function(doc, type) {\n    this.lines = [];\n    this.type = type;\n    this.doc = doc;\n    this.id = ++nextMarkerId;\n  };\n\n  // Clear the marker.\n  TextMarker.prototype.clear = function () {\n    if (this.explicitlyCleared) { return }\n    var cm = this.doc.cm, withOp = cm && !cm.curOp;\n    if (withOp) { startOperation(cm); }\n    if (hasHandler(this, \"clear\")) {\n      var found = this.find();\n      if (found) { signalLater(this, \"clear\", found.from, found.to); }\n    }\n    var min = null, max = null;\n    for (var i = 0; i < this.lines.length; ++i) {\n      var line = this.lines[i];\n      var span = getMarkedSpanFor(line.markedSpans, this);\n      if (cm && !this.collapsed) { regLineChange(cm, lineNo(line), \"text\"); }\n      else if (cm) {\n        if (span.to != null) { max = lineNo(line); }\n        if (span.from != null) { min = lineNo(line); }\n      }\n      line.markedSpans = removeMarkedSpan(line.markedSpans, span);\n      if (span.from == null && this.collapsed && !lineIsHidden(this.doc, line) && cm)\n        { updateLineHeight(line, textHeight(cm.display)); }\n    }\n    if (cm && this.collapsed && !cm.options.lineWrapping) { for (var i$1 = 0; i$1 < this.lines.length; ++i$1) {\n      var visual = visualLine(this.lines[i$1]), len = lineLength(visual);\n      if (len > cm.display.maxLineLength) {\n        cm.display.maxLine = visual;\n        cm.display.maxLineLength = len;\n        cm.display.maxLineChanged = true;\n      }\n    } }\n\n    if (min != null && cm && this.collapsed) { regChange(cm, min, max + 1); }\n    this.lines.length = 0;\n    this.explicitlyCleared = true;\n    if (this.atomic && this.doc.cantEdit) {\n      this.doc.cantEdit = false;\n      if (cm) { reCheckSelection(cm.doc); }\n    }\n    if (cm) { signalLater(cm, \"markerCleared\", cm, this, min, max); }\n    if (withOp) { endOperation(cm); }\n    if (this.parent) { this.parent.clear(); }\n  };\n\n  // Find the position of the marker in the document. Returns a {from,\n  // to} object by default. Side can be passed to get a specific side\n  // -- 0 (both), -1 (left), or 1 (right). When lineObj is true, the\n  // Pos objects returned contain a line object, rather than a line\n  // number (used to prevent looking up the same line twice).\n  TextMarker.prototype.find = function (side, lineObj) {\n    if (side == null && this.type == \"bookmark\") { side = 1; }\n    var from, to;\n    for (var i = 0; i < this.lines.length; ++i) {\n      var line = this.lines[i];\n      var span = getMarkedSpanFor(line.markedSpans, this);\n      if (span.from != null) {\n        from = Pos(lineObj ? line : lineNo(line), span.from);\n        if (side == -1) { return from }\n      }\n      if (span.to != null) {\n        to = Pos(lineObj ? line : lineNo(line), span.to);\n        if (side == 1) { return to }\n      }\n    }\n    return from && {from: from, to: to}\n  };\n\n  // Signals that the marker's widget changed, and surrounding layout\n  // should be recomputed.\n  TextMarker.prototype.changed = function () {\n      var this$1 = this;\n\n    var pos = this.find(-1, true), widget = this, cm = this.doc.cm;\n    if (!pos || !cm) { return }\n    runInOp(cm, function () {\n      var line = pos.line, lineN = lineNo(pos.line);\n      var view = findViewForLine(cm, lineN);\n      if (view) {\n        clearLineMeasurementCacheFor(view);\n        cm.curOp.selectionChanged = cm.curOp.forceUpdate = true;\n      }\n      cm.curOp.updateMaxLine = true;\n      if (!lineIsHidden(widget.doc, line) && widget.height != null) {\n        var oldHeight = widget.height;\n        widget.height = null;\n        var dHeight = widgetHeight(widget) - oldHeight;\n        if (dHeight)\n          { updateLineHeight(line, line.height + dHeight); }\n      }\n      signalLater(cm, \"markerChanged\", cm, this$1);\n    });\n  };\n\n  TextMarker.prototype.attachLine = function (line) {\n    if (!this.lines.length && this.doc.cm) {\n      var op = this.doc.cm.curOp;\n      if (!op.maybeHiddenMarkers || indexOf(op.maybeHiddenMarkers, this) == -1)\n        { (op.maybeUnhiddenMarkers || (op.maybeUnhiddenMarkers = [])).push(this); }\n    }\n    this.lines.push(line);\n  };\n\n  TextMarker.prototype.detachLine = function (line) {\n    this.lines.splice(indexOf(this.lines, line), 1);\n    if (!this.lines.length && this.doc.cm) {\n      var op = this.doc.cm.curOp\n      ;(op.maybeHiddenMarkers || (op.maybeHiddenMarkers = [])).push(this);\n    }\n  };\n  eventMixin(TextMarker);\n\n  // Create a marker, wire it up to the right lines, and\n  function markText(doc, from, to, options, type) {\n    // Shared markers (across linked documents) are handled separately\n    // (markTextShared will call out to this again, once per\n    // document).\n    if (options && options.shared) { return markTextShared(doc, from, to, options, type) }\n    // Ensure we are in an operation.\n    if (doc.cm && !doc.cm.curOp) { return operation(doc.cm, markText)(doc, from, to, options, type) }\n\n    var marker = new TextMarker(doc, type), diff = cmp(from, to);\n    if (options) { copyObj(options, marker, false); }\n    // Don't connect empty markers unless clearWhenEmpty is false\n    if (diff > 0 || diff == 0 && marker.clearWhenEmpty !== false)\n      { return marker }\n    if (marker.replacedWith) {\n      // Showing up as a widget implies collapsed (widget replaces text)\n      marker.collapsed = true;\n      marker.widgetNode = eltP(\"span\", [marker.replacedWith], \"CodeMirror-widget\");\n      if (!options.handleMouseEvents) { marker.widgetNode.setAttribute(\"cm-ignore-events\", \"true\"); }\n      if (options.insertLeft) { marker.widgetNode.insertLeft = true; }\n    }\n    if (marker.collapsed) {\n      if (conflictingCollapsedRange(doc, from.line, from, to, marker) ||\n          from.line != to.line && conflictingCollapsedRange(doc, to.line, from, to, marker))\n        { throw new Error(\"Inserting collapsed marker partially overlapping an existing one\") }\n      seeCollapsedSpans();\n    }\n\n    if (marker.addToHistory)\n      { addChangeToHistory(doc, {from: from, to: to, origin: \"markText\"}, doc.sel, NaN); }\n\n    var curLine = from.line, cm = doc.cm, updateMaxLine;\n    doc.iter(curLine, to.line + 1, function (line) {\n      if (cm && marker.collapsed && !cm.options.lineWrapping && visualLine(line) == cm.display.maxLine)\n        { updateMaxLine = true; }\n      if (marker.collapsed && curLine != from.line) { updateLineHeight(line, 0); }\n      addMarkedSpan(line, new MarkedSpan(marker,\n                                         curLine == from.line ? from.ch : null,\n                                         curLine == to.line ? to.ch : null), doc.cm && doc.cm.curOp);\n      ++curLine;\n    });\n    // lineIsHidden depends on the presence of the spans, so needs a second pass\n    if (marker.collapsed) { doc.iter(from.line, to.line + 1, function (line) {\n      if (lineIsHidden(doc, line)) { updateLineHeight(line, 0); }\n    }); }\n\n    if (marker.clearOnEnter) { on(marker, \"beforeCursorEnter\", function () { return marker.clear(); }); }\n\n    if (marker.readOnly) {\n      seeReadOnlySpans();\n      if (doc.history.done.length || doc.history.undone.length)\n        { doc.clearHistory(); }\n    }\n    if (marker.collapsed) {\n      marker.id = ++nextMarkerId;\n      marker.atomic = true;\n    }\n    if (cm) {\n      // Sync editor state\n      if (updateMaxLine) { cm.curOp.updateMaxLine = true; }\n      if (marker.collapsed)\n        { regChange(cm, from.line, to.line + 1); }\n      else if (marker.className || marker.startStyle || marker.endStyle || marker.css ||\n               marker.attributes || marker.title)\n        { for (var i = from.line; i <= to.line; i++) { regLineChange(cm, i, \"text\"); } }\n      if (marker.atomic) { reCheckSelection(cm.doc); }\n      signalLater(cm, \"markerAdded\", cm, marker);\n    }\n    return marker\n  }\n\n  // SHARED TEXTMARKERS\n\n  // A shared marker spans multiple linked documents. It is\n  // implemented as a meta-marker-object controlling multiple normal\n  // markers.\n  var SharedTextMarker = function(markers, primary) {\n    this.markers = markers;\n    this.primary = primary;\n    for (var i = 0; i < markers.length; ++i)\n      { markers[i].parent = this; }\n  };\n\n  SharedTextMarker.prototype.clear = function () {\n    if (this.explicitlyCleared) { return }\n    this.explicitlyCleared = true;\n    for (var i = 0; i < this.markers.length; ++i)\n      { this.markers[i].clear(); }\n    signalLater(this, \"clear\");\n  };\n\n  SharedTextMarker.prototype.find = function (side, lineObj) {\n    return this.primary.find(side, lineObj)\n  };\n  eventMixin(SharedTextMarker);\n\n  function markTextShared(doc, from, to, options, type) {\n    options = copyObj(options);\n    options.shared = false;\n    var markers = [markText(doc, from, to, options, type)], primary = markers[0];\n    var widget = options.widgetNode;\n    linkedDocs(doc, function (doc) {\n      if (widget) { options.widgetNode = widget.cloneNode(true); }\n      markers.push(markText(doc, clipPos(doc, from), clipPos(doc, to), options, type));\n      for (var i = 0; i < doc.linked.length; ++i)\n        { if (doc.linked[i].isParent) { return } }\n      primary = lst(markers);\n    });\n    return new SharedTextMarker(markers, primary)\n  }\n\n  function findSharedMarkers(doc) {\n    return doc.findMarks(Pos(doc.first, 0), doc.clipPos(Pos(doc.lastLine())), function (m) { return m.parent; })\n  }\n\n  function copySharedMarkers(doc, markers) {\n    for (var i = 0; i < markers.length; i++) {\n      var marker = markers[i], pos = marker.find();\n      var mFrom = doc.clipPos(pos.from), mTo = doc.clipPos(pos.to);\n      if (cmp(mFrom, mTo)) {\n        var subMark = markText(doc, mFrom, mTo, marker.primary, marker.primary.type);\n        marker.markers.push(subMark);\n        subMark.parent = marker;\n      }\n    }\n  }\n\n  function detachSharedMarkers(markers) {\n    var loop = function ( i ) {\n      var marker = markers[i], linked = [marker.primary.doc];\n      linkedDocs(marker.primary.doc, function (d) { return linked.push(d); });\n      for (var j = 0; j < marker.markers.length; j++) {\n        var subMarker = marker.markers[j];\n        if (indexOf(linked, subMarker.doc) == -1) {\n          subMarker.parent = null;\n          marker.markers.splice(j--, 1);\n        }\n      }\n    };\n\n    for (var i = 0; i < markers.length; i++) loop( i );\n  }\n\n  var nextDocId = 0;\n  var Doc = function(text, mode, firstLine, lineSep, direction) {\n    if (!(this instanceof Doc)) { return new Doc(text, mode, firstLine, lineSep, direction) }\n    if (firstLine == null) { firstLine = 0; }\n\n    BranchChunk.call(this, [new LeafChunk([new Line(\"\", null)])]);\n    this.first = firstLine;\n    this.scrollTop = this.scrollLeft = 0;\n    this.cantEdit = false;\n    this.cleanGeneration = 1;\n    this.modeFrontier = this.highlightFrontier = firstLine;\n    var start = Pos(firstLine, 0);\n    this.sel = simpleSelection(start);\n    this.history = new History(null);\n    this.id = ++nextDocId;\n    this.modeOption = mode;\n    this.lineSep = lineSep;\n    this.direction = (direction == \"rtl\") ? \"rtl\" : \"ltr\";\n    this.extend = false;\n\n    if (typeof text == \"string\") { text = this.splitLines(text); }\n    updateDoc(this, {from: start, to: start, text: text});\n    setSelection(this, simpleSelection(start), sel_dontScroll);\n  };\n\n  Doc.prototype = createObj(BranchChunk.prototype, {\n    constructor: Doc,\n    // Iterate over the document. Supports two forms -- with only one\n    // argument, it calls that for each line in the document. With\n    // three, it iterates over the range given by the first two (with\n    // the second being non-inclusive).\n    iter: function(from, to, op) {\n      if (op) { this.iterN(from - this.first, to - from, op); }\n      else { this.iterN(this.first, this.first + this.size, from); }\n    },\n\n    // Non-public interface for adding and removing lines.\n    insert: function(at, lines) {\n      var height = 0;\n      for (var i = 0; i < lines.length; ++i) { height += lines[i].height; }\n      this.insertInner(at - this.first, lines, height);\n    },\n    remove: function(at, n) { this.removeInner(at - this.first, n); },\n\n    // From here, the methods are part of the public interface. Most\n    // are also available from CodeMirror (editor) instances.\n\n    getValue: function(lineSep) {\n      var lines = getLines(this, this.first, this.first + this.size);\n      if (lineSep === false) { return lines }\n      return lines.join(lineSep || this.lineSeparator())\n    },\n    setValue: docMethodOp(function(code) {\n      var top = Pos(this.first, 0), last = this.first + this.size - 1;\n      makeChange(this, {from: top, to: Pos(last, getLine(this, last).text.length),\n                        text: this.splitLines(code), origin: \"setValue\", full: true}, true);\n      if (this.cm) { scrollToCoords(this.cm, 0, 0); }\n      setSelection(this, simpleSelection(top), sel_dontScroll);\n    }),\n    replaceRange: function(code, from, to, origin) {\n      from = clipPos(this, from);\n      to = to ? clipPos(this, to) : from;\n      replaceRange(this, code, from, to, origin);\n    },\n    getRange: function(from, to, lineSep) {\n      var lines = getBetween(this, clipPos(this, from), clipPos(this, to));\n      if (lineSep === false) { return lines }\n      if (lineSep === '') { return lines.join('') }\n      return lines.join(lineSep || this.lineSeparator())\n    },\n\n    getLine: function(line) {var l = this.getLineHandle(line); return l && l.text},\n\n    getLineHandle: function(line) {if (isLine(this, line)) { return getLine(this, line) }},\n    getLineNumber: function(line) {return lineNo(line)},\n\n    getLineHandleVisualStart: function(line) {\n      if (typeof line == \"number\") { line = getLine(this, line); }\n      return visualLine(line)\n    },\n\n    lineCount: function() {return this.size},\n    firstLine: function() {return this.first},\n    lastLine: function() {return this.first + this.size - 1},\n\n    clipPos: function(pos) {return clipPos(this, pos)},\n\n    getCursor: function(start) {\n      var range = this.sel.primary(), pos;\n      if (start == null || start == \"head\") { pos = range.head; }\n      else if (start == \"anchor\") { pos = range.anchor; }\n      else if (start == \"end\" || start == \"to\" || start === false) { pos = range.to(); }\n      else { pos = range.from(); }\n      return pos\n    },\n    listSelections: function() { return this.sel.ranges },\n    somethingSelected: function() {return this.sel.somethingSelected()},\n\n    setCursor: docMethodOp(function(line, ch, options) {\n      setSimpleSelection(this, clipPos(this, typeof line == \"number\" ? Pos(line, ch || 0) : line), null, options);\n    }),\n    setSelection: docMethodOp(function(anchor, head, options) {\n      setSimpleSelection(this, clipPos(this, anchor), clipPos(this, head || anchor), options);\n    }),\n    extendSelection: docMethodOp(function(head, other, options) {\n      extendSelection(this, clipPos(this, head), other && clipPos(this, other), options);\n    }),\n    extendSelections: docMethodOp(function(heads, options) {\n      extendSelections(this, clipPosArray(this, heads), options);\n    }),\n    extendSelectionsBy: docMethodOp(function(f, options) {\n      var heads = map(this.sel.ranges, f);\n      extendSelections(this, clipPosArray(this, heads), options);\n    }),\n    setSelections: docMethodOp(function(ranges, primary, options) {\n      if (!ranges.length) { return }\n      var out = [];\n      for (var i = 0; i < ranges.length; i++)\n        { out[i] = new Range(clipPos(this, ranges[i].anchor),\n                           clipPos(this, ranges[i].head || ranges[i].anchor)); }\n      if (primary == null) { primary = Math.min(ranges.length - 1, this.sel.primIndex); }\n      setSelection(this, normalizeSelection(this.cm, out, primary), options);\n    }),\n    addSelection: docMethodOp(function(anchor, head, options) {\n      var ranges = this.sel.ranges.slice(0);\n      ranges.push(new Range(clipPos(this, anchor), clipPos(this, head || anchor)));\n      setSelection(this, normalizeSelection(this.cm, ranges, ranges.length - 1), options);\n    }),\n\n    getSelection: function(lineSep) {\n      var ranges = this.sel.ranges, lines;\n      for (var i = 0; i < ranges.length; i++) {\n        var sel = getBetween(this, ranges[i].from(), ranges[i].to());\n        lines = lines ? lines.concat(sel) : sel;\n      }\n      if (lineSep === false) { return lines }\n      else { return lines.join(lineSep || this.lineSeparator()) }\n    },\n    getSelections: function(lineSep) {\n      var parts = [], ranges = this.sel.ranges;\n      for (var i = 0; i < ranges.length; i++) {\n        var sel = getBetween(this, ranges[i].from(), ranges[i].to());\n        if (lineSep !== false) { sel = sel.join(lineSep || this.lineSeparator()); }\n        parts[i] = sel;\n      }\n      return parts\n    },\n    replaceSelection: function(code, collapse, origin) {\n      var dup = [];\n      for (var i = 0; i < this.sel.ranges.length; i++)\n        { dup[i] = code; }\n      this.replaceSelections(dup, collapse, origin || \"+input\");\n    },\n    replaceSelections: docMethodOp(function(code, collapse, origin) {\n      var changes = [], sel = this.sel;\n      for (var i = 0; i < sel.ranges.length; i++) {\n        var range = sel.ranges[i];\n        changes[i] = {from: range.from(), to: range.to(), text: this.splitLines(code[i]), origin: origin};\n      }\n      var newSel = collapse && collapse != \"end\" && computeReplacedSel(this, changes, collapse);\n      for (var i$1 = changes.length - 1; i$1 >= 0; i$1--)\n        { makeChange(this, changes[i$1]); }\n      if (newSel) { setSelectionReplaceHistory(this, newSel); }\n      else if (this.cm) { ensureCursorVisible(this.cm); }\n    }),\n    undo: docMethodOp(function() {makeChangeFromHistory(this, \"undo\");}),\n    redo: docMethodOp(function() {makeChangeFromHistory(this, \"redo\");}),\n    undoSelection: docMethodOp(function() {makeChangeFromHistory(this, \"undo\", true);}),\n    redoSelection: docMethodOp(function() {makeChangeFromHistory(this, \"redo\", true);}),\n\n    setExtending: function(val) {this.extend = val;},\n    getExtending: function() {return this.extend},\n\n    historySize: function() {\n      var hist = this.history, done = 0, undone = 0;\n      for (var i = 0; i < hist.done.length; i++) { if (!hist.done[i].ranges) { ++done; } }\n      for (var i$1 = 0; i$1 < hist.undone.length; i$1++) { if (!hist.undone[i$1].ranges) { ++undone; } }\n      return {undo: done, redo: undone}\n    },\n    clearHistory: function() {\n      var this$1 = this;\n\n      this.history = new History(this.history);\n      linkedDocs(this, function (doc) { return doc.history = this$1.history; }, true);\n    },\n\n    markClean: function() {\n      this.cleanGeneration = this.changeGeneration(true);\n    },\n    changeGeneration: function(forceSplit) {\n      if (forceSplit)\n        { this.history.lastOp = this.history.lastSelOp = this.history.lastOrigin = null; }\n      return this.history.generation\n    },\n    isClean: function (gen) {\n      return this.history.generation == (gen || this.cleanGeneration)\n    },\n\n    getHistory: function() {\n      return {done: copyHistoryArray(this.history.done),\n              undone: copyHistoryArray(this.history.undone)}\n    },\n    setHistory: function(histData) {\n      var hist = this.history = new History(this.history);\n      hist.done = copyHistoryArray(histData.done.slice(0), null, true);\n      hist.undone = copyHistoryArray(histData.undone.slice(0), null, true);\n    },\n\n    setGutterMarker: docMethodOp(function(line, gutterID, value) {\n      return changeLine(this, line, \"gutter\", function (line) {\n        var markers = line.gutterMarkers || (line.gutterMarkers = {});\n        markers[gutterID] = value;\n        if (!value && isEmpty(markers)) { line.gutterMarkers = null; }\n        return true\n      })\n    }),\n\n    clearGutter: docMethodOp(function(gutterID) {\n      var this$1 = this;\n\n      this.iter(function (line) {\n        if (line.gutterMarkers && line.gutterMarkers[gutterID]) {\n          changeLine(this$1, line, \"gutter\", function () {\n            line.gutterMarkers[gutterID] = null;\n            if (isEmpty(line.gutterMarkers)) { line.gutterMarkers = null; }\n            return true\n          });\n        }\n      });\n    }),\n\n    lineInfo: function(line) {\n      var n;\n      if (typeof line == \"number\") {\n        if (!isLine(this, line)) { return null }\n        n = line;\n        line = getLine(this, line);\n        if (!line) { return null }\n      } else {\n        n = lineNo(line);\n        if (n == null) { return null }\n      }\n      return {line: n, handle: line, text: line.text, gutterMarkers: line.gutterMarkers,\n              textClass: line.textClass, bgClass: line.bgClass, wrapClass: line.wrapClass,\n              widgets: line.widgets}\n    },\n\n    addLineClass: docMethodOp(function(handle, where, cls) {\n      return changeLine(this, handle, where == \"gutter\" ? \"gutter\" : \"class\", function (line) {\n        var prop = where == \"text\" ? \"textClass\"\n                 : where == \"background\" ? \"bgClass\"\n                 : where == \"gutter\" ? \"gutterClass\" : \"wrapClass\";\n        if (!line[prop]) { line[prop] = cls; }\n        else if (classTest(cls).test(line[prop])) { return false }\n        else { line[prop] += \" \" + cls; }\n        return true\n      })\n    }),\n    removeLineClass: docMethodOp(function(handle, where, cls) {\n      return changeLine(this, handle, where == \"gutter\" ? \"gutter\" : \"class\", function (line) {\n        var prop = where == \"text\" ? \"textClass\"\n                 : where == \"background\" ? \"bgClass\"\n                 : where == \"gutter\" ? \"gutterClass\" : \"wrapClass\";\n        var cur = line[prop];\n        if (!cur) { return false }\n        else if (cls == null) { line[prop] = null; }\n        else {\n          var found = cur.match(classTest(cls));\n          if (!found) { return false }\n          var end = found.index + found[0].length;\n          line[prop] = cur.slice(0, found.index) + (!found.index || end == cur.length ? \"\" : \" \") + cur.slice(end) || null;\n        }\n        return true\n      })\n    }),\n\n    addLineWidget: docMethodOp(function(handle, node, options) {\n      return addLineWidget(this, handle, node, options)\n    }),\n    removeLineWidget: function(widget) { widget.clear(); },\n\n    markText: function(from, to, options) {\n      return markText(this, clipPos(this, from), clipPos(this, to), options, options && options.type || \"range\")\n    },\n    setBookmark: function(pos, options) {\n      var realOpts = {replacedWith: options && (options.nodeType == null ? options.widget : options),\n                      insertLeft: options && options.insertLeft,\n                      clearWhenEmpty: false, shared: options && options.shared,\n                      handleMouseEvents: options && options.handleMouseEvents};\n      pos = clipPos(this, pos);\n      return markText(this, pos, pos, realOpts, \"bookmark\")\n    },\n    findMarksAt: function(pos) {\n      pos = clipPos(this, pos);\n      var markers = [], spans = getLine(this, pos.line).markedSpans;\n      if (spans) { for (var i = 0; i < spans.length; ++i) {\n        var span = spans[i];\n        if ((span.from == null || span.from <= pos.ch) &&\n            (span.to == null || span.to >= pos.ch))\n          { markers.push(span.marker.parent || span.marker); }\n      } }\n      return markers\n    },\n    findMarks: function(from, to, filter) {\n      from = clipPos(this, from); to = clipPos(this, to);\n      var found = [], lineNo = from.line;\n      this.iter(from.line, to.line + 1, function (line) {\n        var spans = line.markedSpans;\n        if (spans) { for (var i = 0; i < spans.length; i++) {\n          var span = spans[i];\n          if (!(span.to != null && lineNo == from.line && from.ch >= span.to ||\n                span.from == null && lineNo != from.line ||\n                span.from != null && lineNo == to.line && span.from >= to.ch) &&\n              (!filter || filter(span.marker)))\n            { found.push(span.marker.parent || span.marker); }\n        } }\n        ++lineNo;\n      });\n      return found\n    },\n    getAllMarks: function() {\n      var markers = [];\n      this.iter(function (line) {\n        var sps = line.markedSpans;\n        if (sps) { for (var i = 0; i < sps.length; ++i)\n          { if (sps[i].from != null) { markers.push(sps[i].marker); } } }\n      });\n      return markers\n    },\n\n    posFromIndex: function(off) {\n      var ch, lineNo = this.first, sepSize = this.lineSeparator().length;\n      this.iter(function (line) {\n        var sz = line.text.length + sepSize;\n        if (sz > off) { ch = off; return true }\n        off -= sz;\n        ++lineNo;\n      });\n      return clipPos(this, Pos(lineNo, ch))\n    },\n    indexFromPos: function (coords) {\n      coords = clipPos(this, coords);\n      var index = coords.ch;\n      if (coords.line < this.first || coords.ch < 0) { return 0 }\n      var sepSize = this.lineSeparator().length;\n      this.iter(this.first, coords.line, function (line) { // iter aborts when callback returns a truthy value\n        index += line.text.length + sepSize;\n      });\n      return index\n    },\n\n    copy: function(copyHistory) {\n      var doc = new Doc(getLines(this, this.first, this.first + this.size),\n                        this.modeOption, this.first, this.lineSep, this.direction);\n      doc.scrollTop = this.scrollTop; doc.scrollLeft = this.scrollLeft;\n      doc.sel = this.sel;\n      doc.extend = false;\n      if (copyHistory) {\n        doc.history.undoDepth = this.history.undoDepth;\n        doc.setHistory(this.getHistory());\n      }\n      return doc\n    },\n\n    linkedDoc: function(options) {\n      if (!options) { options = {}; }\n      var from = this.first, to = this.first + this.size;\n      if (options.from != null && options.from > from) { from = options.from; }\n      if (options.to != null && options.to < to) { to = options.to; }\n      var copy = new Doc(getLines(this, from, to), options.mode || this.modeOption, from, this.lineSep, this.direction);\n      if (options.sharedHist) { copy.history = this.history\n      ; }(this.linked || (this.linked = [])).push({doc: copy, sharedHist: options.sharedHist});\n      copy.linked = [{doc: this, isParent: true, sharedHist: options.sharedHist}];\n      copySharedMarkers(copy, findSharedMarkers(this));\n      return copy\n    },\n    unlinkDoc: function(other) {\n      if (other instanceof CodeMirror) { other = other.doc; }\n      if (this.linked) { for (var i = 0; i < this.linked.length; ++i) {\n        var link = this.linked[i];\n        if (link.doc != other) { continue }\n        this.linked.splice(i, 1);\n        other.unlinkDoc(this);\n        detachSharedMarkers(findSharedMarkers(this));\n        break\n      } }\n      // If the histories were shared, split them again\n      if (other.history == this.history) {\n        var splitIds = [other.id];\n        linkedDocs(other, function (doc) { return splitIds.push(doc.id); }, true);\n        other.history = new History(null);\n        other.history.done = copyHistoryArray(this.history.done, splitIds);\n        other.history.undone = copyHistoryArray(this.history.undone, splitIds);\n      }\n    },\n    iterLinkedDocs: function(f) {linkedDocs(this, f);},\n\n    getMode: function() {return this.mode},\n    getEditor: function() {return this.cm},\n\n    splitLines: function(str) {\n      if (this.lineSep) { return str.split(this.lineSep) }\n      return splitLinesAuto(str)\n    },\n    lineSeparator: function() { return this.lineSep || \"\\n\" },\n\n    setDirection: docMethodOp(function (dir) {\n      if (dir != \"rtl\") { dir = \"ltr\"; }\n      if (dir == this.direction) { return }\n      this.direction = dir;\n      this.iter(function (line) { return line.order = null; });\n      if (this.cm) { directionChanged(this.cm); }\n    })\n  });\n\n  // Public alias.\n  Doc.prototype.eachLine = Doc.prototype.iter;\n\n  // Kludge to work around strange IE behavior where it'll sometimes\n  // re-fire a series of drag-related events right after the drop (#1551)\n  var lastDrop = 0;\n\n  function onDrop(e) {\n    var cm = this;\n    clearDragCursor(cm);\n    if (signalDOMEvent(cm, e) || eventInWidget(cm.display, e))\n      { return }\n    e_preventDefault(e);\n    if (ie) { lastDrop = +new Date; }\n    var pos = posFromMouse(cm, e, true), files = e.dataTransfer.files;\n    if (!pos || cm.isReadOnly()) { return }\n    // Might be a file drop, in which case we simply extract the text\n    // and insert it.\n    if (files && files.length && window.FileReader && window.File) {\n      var n = files.length, text = Array(n), read = 0;\n      var markAsReadAndPasteIfAllFilesAreRead = function () {\n        if (++read == n) {\n          operation(cm, function () {\n            pos = clipPos(cm.doc, pos);\n            var change = {from: pos, to: pos,\n                          text: cm.doc.splitLines(\n                              text.filter(function (t) { return t != null; }).join(cm.doc.lineSeparator())),\n                          origin: \"paste\"};\n            makeChange(cm.doc, change);\n            setSelectionReplaceHistory(cm.doc, simpleSelection(clipPos(cm.doc, pos), clipPos(cm.doc, changeEnd(change))));\n          })();\n        }\n      };\n      var readTextFromFile = function (file, i) {\n        if (cm.options.allowDropFileTypes &&\n            indexOf(cm.options.allowDropFileTypes, file.type) == -1) {\n          markAsReadAndPasteIfAllFilesAreRead();\n          return\n        }\n        var reader = new FileReader;\n        reader.onerror = function () { return markAsReadAndPasteIfAllFilesAreRead(); };\n        reader.onload = function () {\n          var content = reader.result;\n          if (/[\\x00-\\x08\\x0e-\\x1f]{2}/.test(content)) {\n            markAsReadAndPasteIfAllFilesAreRead();\n            return\n          }\n          text[i] = content;\n          markAsReadAndPasteIfAllFilesAreRead();\n        };\n        reader.readAsText(file);\n      };\n      for (var i = 0; i < files.length; i++) { readTextFromFile(files[i], i); }\n    } else { // Normal drop\n      // Don't do a replace if the drop happened inside of the selected text.\n      if (cm.state.draggingText && cm.doc.sel.contains(pos) > -1) {\n        cm.state.draggingText(e);\n        // Ensure the editor is re-focused\n        setTimeout(function () { return cm.display.input.focus(); }, 20);\n        return\n      }\n      try {\n        var text$1 = e.dataTransfer.getData(\"Text\");\n        if (text$1) {\n          var selected;\n          if (cm.state.draggingText && !cm.state.draggingText.copy)\n            { selected = cm.listSelections(); }\n          setSelectionNoUndo(cm.doc, simpleSelection(pos, pos));\n          if (selected) { for (var i$1 = 0; i$1 < selected.length; ++i$1)\n            { replaceRange(cm.doc, \"\", selected[i$1].anchor, selected[i$1].head, \"drag\"); } }\n          cm.replaceSelection(text$1, \"around\", \"paste\");\n          cm.display.input.focus();\n        }\n      }\n      catch(e$1){}\n    }\n  }\n\n  function onDragStart(cm, e) {\n    if (ie && (!cm.state.draggingText || +new Date - lastDrop < 100)) { e_stop(e); return }\n    if (signalDOMEvent(cm, e) || eventInWidget(cm.display, e)) { return }\n\n    e.dataTransfer.setData(\"Text\", cm.getSelection());\n    e.dataTransfer.effectAllowed = \"copyMove\";\n\n    // Use dummy image instead of default browsers image.\n    // Recent Safari (~6.0.2) have a tendency to segfault when this happens, so we don't do it there.\n    if (e.dataTransfer.setDragImage && !safari) {\n      var img = elt(\"img\", null, null, \"position: fixed; left: 0; top: 0;\");\n      img.src = \"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\";\n      if (presto) {\n        img.width = img.height = 1;\n        cm.display.wrapper.appendChild(img);\n        // Force a relayout, or Opera won't use our image for some obscure reason\n        img._top = img.offsetTop;\n      }\n      e.dataTransfer.setDragImage(img, 0, 0);\n      if (presto) { img.parentNode.removeChild(img); }\n    }\n  }\n\n  function onDragOver(cm, e) {\n    var pos = posFromMouse(cm, e);\n    if (!pos) { return }\n    var frag = document.createDocumentFragment();\n    drawSelectionCursor(cm, pos, frag);\n    if (!cm.display.dragCursor) {\n      cm.display.dragCursor = elt(\"div\", null, \"CodeMirror-cursors CodeMirror-dragcursors\");\n      cm.display.lineSpace.insertBefore(cm.display.dragCursor, cm.display.cursorDiv);\n    }\n    removeChildrenAndAdd(cm.display.dragCursor, frag);\n  }\n\n  function clearDragCursor(cm) {\n    if (cm.display.dragCursor) {\n      cm.display.lineSpace.removeChild(cm.display.dragCursor);\n      cm.display.dragCursor = null;\n    }\n  }\n\n  // These must be handled carefully, because naively registering a\n  // handler for each editor will cause the editors to never be\n  // garbage collected.\n\n  function forEachCodeMirror(f) {\n    if (!document.getElementsByClassName) { return }\n    var byClass = document.getElementsByClassName(\"CodeMirror\"), editors = [];\n    for (var i = 0; i < byClass.length; i++) {\n      var cm = byClass[i].CodeMirror;\n      if (cm) { editors.push(cm); }\n    }\n    if (editors.length) { editors[0].operation(function () {\n      for (var i = 0; i < editors.length; i++) { f(editors[i]); }\n    }); }\n  }\n\n  var globalsRegistered = false;\n  function ensureGlobalHandlers() {\n    if (globalsRegistered) { return }\n    registerGlobalHandlers();\n    globalsRegistered = true;\n  }\n  function registerGlobalHandlers() {\n    // When the window resizes, we need to refresh active editors.\n    var resizeTimer;\n    on(window, \"resize\", function () {\n      if (resizeTimer == null) { resizeTimer = setTimeout(function () {\n        resizeTimer = null;\n        forEachCodeMirror(onResize);\n      }, 100); }\n    });\n    // When the window loses focus, we want to show the editor as blurred\n    on(window, \"blur\", function () { return forEachCodeMirror(onBlur); });\n  }\n  // Called when the window resizes\n  function onResize(cm) {\n    var d = cm.display;\n    // Might be a text scaling operation, clear size caches.\n    d.cachedCharWidth = d.cachedTextHeight = d.cachedPaddingH = null;\n    d.scrollbarsClipped = false;\n    cm.setSize();\n  }\n\n  var keyNames = {\n    3: \"Pause\", 8: \"Backspace\", 9: \"Tab\", 13: \"Enter\", 16: \"Shift\", 17: \"Ctrl\", 18: \"Alt\",\n    19: \"Pause\", 20: \"CapsLock\", 27: \"Esc\", 32: \"Space\", 33: \"PageUp\", 34: \"PageDown\", 35: \"End\",\n    36: \"Home\", 37: \"Left\", 38: \"Up\", 39: \"Right\", 40: \"Down\", 44: \"PrintScrn\", 45: \"Insert\",\n    46: \"Delete\", 59: \";\", 61: \"=\", 91: \"Mod\", 92: \"Mod\", 93: \"Mod\",\n    106: \"*\", 107: \"=\", 109: \"-\", 110: \".\", 111: \"/\", 145: \"ScrollLock\",\n    173: \"-\", 186: \";\", 187: \"=\", 188: \",\", 189: \"-\", 190: \".\", 191: \"/\", 192: \"`\", 219: \"[\", 220: \"\\\\\",\n    221: \"]\", 222: \"'\", 224: \"Mod\", 63232: \"Up\", 63233: \"Down\", 63234: \"Left\", 63235: \"Right\", 63272: \"Delete\",\n    63273: \"Home\", 63275: \"End\", 63276: \"PageUp\", 63277: \"PageDown\", 63302: \"Insert\"\n  };\n\n  // Number keys\n  for (var i = 0; i < 10; i++) { keyNames[i + 48] = keyNames[i + 96] = String(i); }\n  // Alphabetic keys\n  for (var i$1 = 65; i$1 <= 90; i$1++) { keyNames[i$1] = String.fromCharCode(i$1); }\n  // Function keys\n  for (var i$2 = 1; i$2 <= 12; i$2++) { keyNames[i$2 + 111] = keyNames[i$2 + 63235] = \"F\" + i$2; }\n\n  var keyMap = {};\n\n  keyMap.basic = {\n    \"Left\": \"goCharLeft\", \"Right\": \"goCharRight\", \"Up\": \"goLineUp\", \"Down\": \"goLineDown\",\n    \"End\": \"goLineEnd\", \"Home\": \"goLineStartSmart\", \"PageUp\": \"goPageUp\", \"PageDown\": \"goPageDown\",\n    \"Delete\": \"delCharAfter\", \"Backspace\": \"delCharBefore\", \"Shift-Backspace\": \"delCharBefore\",\n    \"Tab\": \"defaultTab\", \"Shift-Tab\": \"indentAuto\",\n    \"Enter\": \"newlineAndIndent\", \"Insert\": \"toggleOverwrite\",\n    \"Esc\": \"singleSelection\"\n  };\n  // Note that the save and find-related commands aren't defined by\n  // default. User code or addons can define them. Unknown commands\n  // are simply ignored.\n  keyMap.pcDefault = {\n    \"Ctrl-A\": \"selectAll\", \"Ctrl-D\": \"deleteLine\", \"Ctrl-Z\": \"undo\", \"Shift-Ctrl-Z\": \"redo\", \"Ctrl-Y\": \"redo\",\n    \"Ctrl-Home\": \"goDocStart\", \"Ctrl-End\": \"goDocEnd\", \"Ctrl-Up\": \"goLineUp\", \"Ctrl-Down\": \"goLineDown\",\n    \"Ctrl-Left\": \"goGroupLeft\", \"Ctrl-Right\": \"goGroupRight\", \"Alt-Left\": \"goLineStart\", \"Alt-Right\": \"goLineEnd\",\n    \"Ctrl-Backspace\": \"delGroupBefore\", \"Ctrl-Delete\": \"delGroupAfter\", \"Ctrl-S\": \"save\", \"Ctrl-F\": \"find\",\n    \"Ctrl-G\": \"findNext\", \"Shift-Ctrl-G\": \"findPrev\", \"Shift-Ctrl-F\": \"replace\", \"Shift-Ctrl-R\": \"replaceAll\",\n    \"Ctrl-[\": \"indentLess\", \"Ctrl-]\": \"indentMore\",\n    \"Ctrl-U\": \"undoSelection\", \"Shift-Ctrl-U\": \"redoSelection\", \"Alt-U\": \"redoSelection\",\n    \"fallthrough\": \"basic\"\n  };\n  // Very basic readline/emacs-style bindings, which are standard on Mac.\n  keyMap.emacsy = {\n    \"Ctrl-F\": \"goCharRight\", \"Ctrl-B\": \"goCharLeft\", \"Ctrl-P\": \"goLineUp\", \"Ctrl-N\": \"goLineDown\",\n    \"Ctrl-A\": \"goLineStart\", \"Ctrl-E\": \"goLineEnd\", \"Ctrl-V\": \"goPageDown\", \"Shift-Ctrl-V\": \"goPageUp\",\n    \"Ctrl-D\": \"delCharAfter\", \"Ctrl-H\": \"delCharBefore\", \"Alt-Backspace\": \"delWordBefore\", \"Ctrl-K\": \"killLine\",\n    \"Ctrl-T\": \"transposeChars\", \"Ctrl-O\": \"openLine\"\n  };\n  keyMap.macDefault = {\n    \"Cmd-A\": \"selectAll\", \"Cmd-D\": \"deleteLine\", \"Cmd-Z\": \"undo\", \"Shift-Cmd-Z\": \"redo\", \"Cmd-Y\": \"redo\",\n    \"Cmd-Home\": \"goDocStart\", \"Cmd-Up\": \"goDocStart\", \"Cmd-End\": \"goDocEnd\", \"Cmd-Down\": \"goDocEnd\", \"Alt-Left\": \"goGroupLeft\",\n    \"Alt-Right\": \"goGroupRight\", \"Cmd-Left\": \"goLineLeft\", \"Cmd-Right\": \"goLineRight\", \"Alt-Backspace\": \"delGroupBefore\",\n    \"Ctrl-Alt-Backspace\": \"delGroupAfter\", \"Alt-Delete\": \"delGroupAfter\", \"Cmd-S\": \"save\", \"Cmd-F\": \"find\",\n    \"Cmd-G\": \"findNext\", \"Shift-Cmd-G\": \"findPrev\", \"Cmd-Alt-F\": \"replace\", \"Shift-Cmd-Alt-F\": \"replaceAll\",\n    \"Cmd-[\": \"indentLess\", \"Cmd-]\": \"indentMore\", \"Cmd-Backspace\": \"delWrappedLineLeft\", \"Cmd-Delete\": \"delWrappedLineRight\",\n    \"Cmd-U\": \"undoSelection\", \"Shift-Cmd-U\": \"redoSelection\", \"Ctrl-Up\": \"goDocStart\", \"Ctrl-Down\": \"goDocEnd\",\n    \"fallthrough\": [\"basic\", \"emacsy\"]\n  };\n  keyMap[\"default\"] = mac ? keyMap.macDefault : keyMap.pcDefault;\n\n  // KEYMAP DISPATCH\n\n  function normalizeKeyName(name) {\n    var parts = name.split(/-(?!$)/);\n    name = parts[parts.length - 1];\n    var alt, ctrl, shift, cmd;\n    for (var i = 0; i < parts.length - 1; i++) {\n      var mod = parts[i];\n      if (/^(cmd|meta|m)$/i.test(mod)) { cmd = true; }\n      else if (/^a(lt)?$/i.test(mod)) { alt = true; }\n      else if (/^(c|ctrl|control)$/i.test(mod)) { ctrl = true; }\n      else if (/^s(hift)?$/i.test(mod)) { shift = true; }\n      else { throw new Error(\"Unrecognized modifier name: \" + mod) }\n    }\n    if (alt) { name = \"Alt-\" + name; }\n    if (ctrl) { name = \"Ctrl-\" + name; }\n    if (cmd) { name = \"Cmd-\" + name; }\n    if (shift) { name = \"Shift-\" + name; }\n    return name\n  }\n\n  // This is a kludge to keep keymaps mostly working as raw objects\n  // (backwards compatibility) while at the same time support features\n  // like normalization and multi-stroke key bindings. It compiles a\n  // new normalized keymap, and then updates the old object to reflect\n  // this.\n  function normalizeKeyMap(keymap) {\n    var copy = {};\n    for (var keyname in keymap) { if (keymap.hasOwnProperty(keyname)) {\n      var value = keymap[keyname];\n      if (/^(name|fallthrough|(de|at)tach)$/.test(keyname)) { continue }\n      if (value == \"...\") { delete keymap[keyname]; continue }\n\n      var keys = map(keyname.split(\" \"), normalizeKeyName);\n      for (var i = 0; i < keys.length; i++) {\n        var val = (void 0), name = (void 0);\n        if (i == keys.length - 1) {\n          name = keys.join(\" \");\n          val = value;\n        } else {\n          name = keys.slice(0, i + 1).join(\" \");\n          val = \"...\";\n        }\n        var prev = copy[name];\n        if (!prev) { copy[name] = val; }\n        else if (prev != val) { throw new Error(\"Inconsistent bindings for \" + name) }\n      }\n      delete keymap[keyname];\n    } }\n    for (var prop in copy) { keymap[prop] = copy[prop]; }\n    return keymap\n  }\n\n  function lookupKey(key, map, handle, context) {\n    map = getKeyMap(map);\n    var found = map.call ? map.call(key, context) : map[key];\n    if (found === false) { return \"nothing\" }\n    if (found === \"...\") { return \"multi\" }\n    if (found != null && handle(found)) { return \"handled\" }\n\n    if (map.fallthrough) {\n      if (Object.prototype.toString.call(map.fallthrough) != \"[object Array]\")\n        { return lookupKey(key, map.fallthrough, handle, context) }\n      for (var i = 0; i < map.fallthrough.length; i++) {\n        var result = lookupKey(key, map.fallthrough[i], handle, context);\n        if (result) { return result }\n      }\n    }\n  }\n\n  // Modifier key presses don't count as 'real' key presses for the\n  // purpose of keymap fallthrough.\n  function isModifierKey(value) {\n    var name = typeof value == \"string\" ? value : keyNames[value.keyCode];\n    return name == \"Ctrl\" || name == \"Alt\" || name == \"Shift\" || name == \"Mod\"\n  }\n\n  function addModifierNames(name, event, noShift) {\n    var base = name;\n    if (event.altKey && base != \"Alt\") { name = \"Alt-\" + name; }\n    if ((flipCtrlCmd ? event.metaKey : event.ctrlKey) && base != \"Ctrl\") { name = \"Ctrl-\" + name; }\n    if ((flipCtrlCmd ? event.ctrlKey : event.metaKey) && base != \"Mod\") { name = \"Cmd-\" + name; }\n    if (!noShift && event.shiftKey && base != \"Shift\") { name = \"Shift-\" + name; }\n    return name\n  }\n\n  // Look up the name of a key as indicated by an event object.\n  function keyName(event, noShift) {\n    if (presto && event.keyCode == 34 && event[\"char\"]) { return false }\n    var name = keyNames[event.keyCode];\n    if (name == null || event.altGraphKey) { return false }\n    // Ctrl-ScrollLock has keyCode 3, same as Ctrl-Pause,\n    // so we'll use event.code when available (Chrome 48+, FF 38+, Safari 10.1+)\n    if (event.keyCode == 3 && event.code) { name = event.code; }\n    return addModifierNames(name, event, noShift)\n  }\n\n  function getKeyMap(val) {\n    return typeof val == \"string\" ? keyMap[val] : val\n  }\n\n  // Helper for deleting text near the selection(s), used to implement\n  // backspace, delete, and similar functionality.\n  function deleteNearSelection(cm, compute) {\n    var ranges = cm.doc.sel.ranges, kill = [];\n    // Build up a set of ranges to kill first, merging overlapping\n    // ranges.\n    for (var i = 0; i < ranges.length; i++) {\n      var toKill = compute(ranges[i]);\n      while (kill.length && cmp(toKill.from, lst(kill).to) <= 0) {\n        var replaced = kill.pop();\n        if (cmp(replaced.from, toKill.from) < 0) {\n          toKill.from = replaced.from;\n          break\n        }\n      }\n      kill.push(toKill);\n    }\n    // Next, remove those actual ranges.\n    runInOp(cm, function () {\n      for (var i = kill.length - 1; i >= 0; i--)\n        { replaceRange(cm.doc, \"\", kill[i].from, kill[i].to, \"+delete\"); }\n      ensureCursorVisible(cm);\n    });\n  }\n\n  function moveCharLogically(line, ch, dir) {\n    var target = skipExtendingChars(line.text, ch + dir, dir);\n    return target < 0 || target > line.text.length ? null : target\n  }\n\n  function moveLogically(line, start, dir) {\n    var ch = moveCharLogically(line, start.ch, dir);\n    return ch == null ? null : new Pos(start.line, ch, dir < 0 ? \"after\" : \"before\")\n  }\n\n  function endOfLine(visually, cm, lineObj, lineNo, dir) {\n    if (visually) {\n      if (cm.doc.direction == \"rtl\") { dir = -dir; }\n      var order = getOrder(lineObj, cm.doc.direction);\n      if (order) {\n        var part = dir < 0 ? lst(order) : order[0];\n        var moveInStorageOrder = (dir < 0) == (part.level == 1);\n        var sticky = moveInStorageOrder ? \"after\" : \"before\";\n        var ch;\n        // With a wrapped rtl chunk (possibly spanning multiple bidi parts),\n        // it could be that the last bidi part is not on the last visual line,\n        // since visual lines contain content order-consecutive chunks.\n        // Thus, in rtl, we are looking for the first (content-order) character\n        // in the rtl chunk that is on the last line (that is, the same line\n        // as the last (content-order) character).\n        if (part.level > 0 || cm.doc.direction == \"rtl\") {\n          var prep = prepareMeasureForLine(cm, lineObj);\n          ch = dir < 0 ? lineObj.text.length - 1 : 0;\n          var targetTop = measureCharPrepared(cm, prep, ch).top;\n          ch = findFirst(function (ch) { return measureCharPrepared(cm, prep, ch).top == targetTop; }, (dir < 0) == (part.level == 1) ? part.from : part.to - 1, ch);\n          if (sticky == \"before\") { ch = moveCharLogically(lineObj, ch, 1); }\n        } else { ch = dir < 0 ? part.to : part.from; }\n        return new Pos(lineNo, ch, sticky)\n      }\n    }\n    return new Pos(lineNo, dir < 0 ? lineObj.text.length : 0, dir < 0 ? \"before\" : \"after\")\n  }\n\n  function moveVisually(cm, line, start, dir) {\n    var bidi = getOrder(line, cm.doc.direction);\n    if (!bidi) { return moveLogically(line, start, dir) }\n    if (start.ch >= line.text.length) {\n      start.ch = line.text.length;\n      start.sticky = \"before\";\n    } else if (start.ch <= 0) {\n      start.ch = 0;\n      start.sticky = \"after\";\n    }\n    var partPos = getBidiPartAt(bidi, start.ch, start.sticky), part = bidi[partPos];\n    if (cm.doc.direction == \"ltr\" && part.level % 2 == 0 && (dir > 0 ? part.to > start.ch : part.from < start.ch)) {\n      // Case 1: We move within an ltr part in an ltr editor. Even with wrapped lines,\n      // nothing interesting happens.\n      return moveLogically(line, start, dir)\n    }\n\n    var mv = function (pos, dir) { return moveCharLogically(line, pos instanceof Pos ? pos.ch : pos, dir); };\n    var prep;\n    var getWrappedLineExtent = function (ch) {\n      if (!cm.options.lineWrapping) { return {begin: 0, end: line.text.length} }\n      prep = prep || prepareMeasureForLine(cm, line);\n      return wrappedLineExtentChar(cm, line, prep, ch)\n    };\n    var wrappedLineExtent = getWrappedLineExtent(start.sticky == \"before\" ? mv(start, -1) : start.ch);\n\n    if (cm.doc.direction == \"rtl\" || part.level == 1) {\n      var moveInStorageOrder = (part.level == 1) == (dir < 0);\n      var ch = mv(start, moveInStorageOrder ? 1 : -1);\n      if (ch != null && (!moveInStorageOrder ? ch >= part.from && ch >= wrappedLineExtent.begin : ch <= part.to && ch <= wrappedLineExtent.end)) {\n        // Case 2: We move within an rtl part or in an rtl editor on the same visual line\n        var sticky = moveInStorageOrder ? \"before\" : \"after\";\n        return new Pos(start.line, ch, sticky)\n      }\n    }\n\n    // Case 3: Could not move within this bidi part in this visual line, so leave\n    // the current bidi part\n\n    var searchInVisualLine = function (partPos, dir, wrappedLineExtent) {\n      var getRes = function (ch, moveInStorageOrder) { return moveInStorageOrder\n        ? new Pos(start.line, mv(ch, 1), \"before\")\n        : new Pos(start.line, ch, \"after\"); };\n\n      for (; partPos >= 0 && partPos < bidi.length; partPos += dir) {\n        var part = bidi[partPos];\n        var moveInStorageOrder = (dir > 0) == (part.level != 1);\n        var ch = moveInStorageOrder ? wrappedLineExtent.begin : mv(wrappedLineExtent.end, -1);\n        if (part.from <= ch && ch < part.to) { return getRes(ch, moveInStorageOrder) }\n        ch = moveInStorageOrder ? part.from : mv(part.to, -1);\n        if (wrappedLineExtent.begin <= ch && ch < wrappedLineExtent.end) { return getRes(ch, moveInStorageOrder) }\n      }\n    };\n\n    // Case 3a: Look for other bidi parts on the same visual line\n    var res = searchInVisualLine(partPos + dir, dir, wrappedLineExtent);\n    if (res) { return res }\n\n    // Case 3b: Look for other bidi parts on the next visual line\n    var nextCh = dir > 0 ? wrappedLineExtent.end : mv(wrappedLineExtent.begin, -1);\n    if (nextCh != null && !(dir > 0 && nextCh == line.text.length)) {\n      res = searchInVisualLine(dir > 0 ? 0 : bidi.length - 1, dir, getWrappedLineExtent(nextCh));\n      if (res) { return res }\n    }\n\n    // Case 4: Nowhere to move\n    return null\n  }\n\n  // Commands are parameter-less actions that can be performed on an\n  // editor, mostly used for keybindings.\n  var commands = {\n    selectAll: selectAll,\n    singleSelection: function (cm) { return cm.setSelection(cm.getCursor(\"anchor\"), cm.getCursor(\"head\"), sel_dontScroll); },\n    killLine: function (cm) { return deleteNearSelection(cm, function (range) {\n      if (range.empty()) {\n        var len = getLine(cm.doc, range.head.line).text.length;\n        if (range.head.ch == len && range.head.line < cm.lastLine())\n          { return {from: range.head, to: Pos(range.head.line + 1, 0)} }\n        else\n          { return {from: range.head, to: Pos(range.head.line, len)} }\n      } else {\n        return {from: range.from(), to: range.to()}\n      }\n    }); },\n    deleteLine: function (cm) { return deleteNearSelection(cm, function (range) { return ({\n      from: Pos(range.from().line, 0),\n      to: clipPos(cm.doc, Pos(range.to().line + 1, 0))\n    }); }); },\n    delLineLeft: function (cm) { return deleteNearSelection(cm, function (range) { return ({\n      from: Pos(range.from().line, 0), to: range.from()\n    }); }); },\n    delWrappedLineLeft: function (cm) { return deleteNearSelection(cm, function (range) {\n      var top = cm.charCoords(range.head, \"div\").top + 5;\n      var leftPos = cm.coordsChar({left: 0, top: top}, \"div\");\n      return {from: leftPos, to: range.from()}\n    }); },\n    delWrappedLineRight: function (cm) { return deleteNearSelection(cm, function (range) {\n      var top = cm.charCoords(range.head, \"div\").top + 5;\n      var rightPos = cm.coordsChar({left: cm.display.lineDiv.offsetWidth + 100, top: top}, \"div\");\n      return {from: range.from(), to: rightPos }\n    }); },\n    undo: function (cm) { return cm.undo(); },\n    redo: function (cm) { return cm.redo(); },\n    undoSelection: function (cm) { return cm.undoSelection(); },\n    redoSelection: function (cm) { return cm.redoSelection(); },\n    goDocStart: function (cm) { return cm.extendSelection(Pos(cm.firstLine(), 0)); },\n    goDocEnd: function (cm) { return cm.extendSelection(Pos(cm.lastLine())); },\n    goLineStart: function (cm) { return cm.extendSelectionsBy(function (range) { return lineStart(cm, range.head.line); },\n      {origin: \"+move\", bias: 1}\n    ); },\n    goLineStartSmart: function (cm) { return cm.extendSelectionsBy(function (range) { return lineStartSmart(cm, range.head); },\n      {origin: \"+move\", bias: 1}\n    ); },\n    goLineEnd: function (cm) { return cm.extendSelectionsBy(function (range) { return lineEnd(cm, range.head.line); },\n      {origin: \"+move\", bias: -1}\n    ); },\n    goLineRight: function (cm) { return cm.extendSelectionsBy(function (range) {\n      var top = cm.cursorCoords(range.head, \"div\").top + 5;\n      return cm.coordsChar({left: cm.display.lineDiv.offsetWidth + 100, top: top}, \"div\")\n    }, sel_move); },\n    goLineLeft: function (cm) { return cm.extendSelectionsBy(function (range) {\n      var top = cm.cursorCoords(range.head, \"div\").top + 5;\n      return cm.coordsChar({left: 0, top: top}, \"div\")\n    }, sel_move); },\n    goLineLeftSmart: function (cm) { return cm.extendSelectionsBy(function (range) {\n      var top = cm.cursorCoords(range.head, \"div\").top + 5;\n      var pos = cm.coordsChar({left: 0, top: top}, \"div\");\n      if (pos.ch < cm.getLine(pos.line).search(/\\S/)) { return lineStartSmart(cm, range.head) }\n      return pos\n    }, sel_move); },\n    goLineUp: function (cm) { return cm.moveV(-1, \"line\"); },\n    goLineDown: function (cm) { return cm.moveV(1, \"line\"); },\n    goPageUp: function (cm) { return cm.moveV(-1, \"page\"); },\n    goPageDown: function (cm) { return cm.moveV(1, \"page\"); },\n    goCharLeft: function (cm) { return cm.moveH(-1, \"char\"); },\n    goCharRight: function (cm) { return cm.moveH(1, \"char\"); },\n    goColumnLeft: function (cm) { return cm.moveH(-1, \"column\"); },\n    goColumnRight: function (cm) { return cm.moveH(1, \"column\"); },\n    goWordLeft: function (cm) { return cm.moveH(-1, \"word\"); },\n    goGroupRight: function (cm) { return cm.moveH(1, \"group\"); },\n    goGroupLeft: function (cm) { return cm.moveH(-1, \"group\"); },\n    goWordRight: function (cm) { return cm.moveH(1, \"word\"); },\n    delCharBefore: function (cm) { return cm.deleteH(-1, \"codepoint\"); },\n    delCharAfter: function (cm) { return cm.deleteH(1, \"char\"); },\n    delWordBefore: function (cm) { return cm.deleteH(-1, \"word\"); },\n    delWordAfter: function (cm) { return cm.deleteH(1, \"word\"); },\n    delGroupBefore: function (cm) { return cm.deleteH(-1, \"group\"); },\n    delGroupAfter: function (cm) { return cm.deleteH(1, \"group\"); },\n    indentAuto: function (cm) { return cm.indentSelection(\"smart\"); },\n    indentMore: function (cm) { return cm.indentSelection(\"add\"); },\n    indentLess: function (cm) { return cm.indentSelection(\"subtract\"); },\n    insertTab: function (cm) { return cm.replaceSelection(\"\\t\"); },\n    insertSoftTab: function (cm) {\n      var spaces = [], ranges = cm.listSelections(), tabSize = cm.options.tabSize;\n      for (var i = 0; i < ranges.length; i++) {\n        var pos = ranges[i].from();\n        var col = countColumn(cm.getLine(pos.line), pos.ch, tabSize);\n        spaces.push(spaceStr(tabSize - col % tabSize));\n      }\n      cm.replaceSelections(spaces);\n    },\n    defaultTab: function (cm) {\n      if (cm.somethingSelected()) { cm.indentSelection(\"add\"); }\n      else { cm.execCommand(\"insertTab\"); }\n    },\n    // Swap the two chars left and right of each selection's head.\n    // Move cursor behind the two swapped characters afterwards.\n    //\n    // Doesn't consider line feeds a character.\n    // Doesn't scan more than one line above to find a character.\n    // Doesn't do anything on an empty line.\n    // Doesn't do anything with non-empty selections.\n    transposeChars: function (cm) { return runInOp(cm, function () {\n      var ranges = cm.listSelections(), newSel = [];\n      for (var i = 0; i < ranges.length; i++) {\n        if (!ranges[i].empty()) { continue }\n        var cur = ranges[i].head, line = getLine(cm.doc, cur.line).text;\n        if (line) {\n          if (cur.ch == line.length) { cur = new Pos(cur.line, cur.ch - 1); }\n          if (cur.ch > 0) {\n            cur = new Pos(cur.line, cur.ch + 1);\n            cm.replaceRange(line.charAt(cur.ch - 1) + line.charAt(cur.ch - 2),\n                            Pos(cur.line, cur.ch - 2), cur, \"+transpose\");\n          } else if (cur.line > cm.doc.first) {\n            var prev = getLine(cm.doc, cur.line - 1).text;\n            if (prev) {\n              cur = new Pos(cur.line, 1);\n              cm.replaceRange(line.charAt(0) + cm.doc.lineSeparator() +\n                              prev.charAt(prev.length - 1),\n                              Pos(cur.line - 1, prev.length - 1), cur, \"+transpose\");\n            }\n          }\n        }\n        newSel.push(new Range(cur, cur));\n      }\n      cm.setSelections(newSel);\n    }); },\n    newlineAndIndent: function (cm) { return runInOp(cm, function () {\n      var sels = cm.listSelections();\n      for (var i = sels.length - 1; i >= 0; i--)\n        { cm.replaceRange(cm.doc.lineSeparator(), sels[i].anchor, sels[i].head, \"+input\"); }\n      sels = cm.listSelections();\n      for (var i$1 = 0; i$1 < sels.length; i$1++)\n        { cm.indentLine(sels[i$1].from().line, null, true); }\n      ensureCursorVisible(cm);\n    }); },\n    openLine: function (cm) { return cm.replaceSelection(\"\\n\", \"start\"); },\n    toggleOverwrite: function (cm) { return cm.toggleOverwrite(); }\n  };\n\n\n  function lineStart(cm, lineN) {\n    var line = getLine(cm.doc, lineN);\n    var visual = visualLine(line);\n    if (visual != line) { lineN = lineNo(visual); }\n    return endOfLine(true, cm, visual, lineN, 1)\n  }\n  function lineEnd(cm, lineN) {\n    var line = getLine(cm.doc, lineN);\n    var visual = visualLineEnd(line);\n    if (visual != line) { lineN = lineNo(visual); }\n    return endOfLine(true, cm, line, lineN, -1)\n  }\n  function lineStartSmart(cm, pos) {\n    var start = lineStart(cm, pos.line);\n    var line = getLine(cm.doc, start.line);\n    var order = getOrder(line, cm.doc.direction);\n    if (!order || order[0].level == 0) {\n      var firstNonWS = Math.max(start.ch, line.text.search(/\\S/));\n      var inWS = pos.line == start.line && pos.ch <= firstNonWS && pos.ch;\n      return Pos(start.line, inWS ? 0 : firstNonWS, start.sticky)\n    }\n    return start\n  }\n\n  // Run a handler that was bound to a key.\n  function doHandleBinding(cm, bound, dropShift) {\n    if (typeof bound == \"string\") {\n      bound = commands[bound];\n      if (!bound) { return false }\n    }\n    // Ensure previous input has been read, so that the handler sees a\n    // consistent view of the document\n    cm.display.input.ensurePolled();\n    var prevShift = cm.display.shift, done = false;\n    try {\n      if (cm.isReadOnly()) { cm.state.suppressEdits = true; }\n      if (dropShift) { cm.display.shift = false; }\n      done = bound(cm) != Pass;\n    } finally {\n      cm.display.shift = prevShift;\n      cm.state.suppressEdits = false;\n    }\n    return done\n  }\n\n  function lookupKeyForEditor(cm, name, handle) {\n    for (var i = 0; i < cm.state.keyMaps.length; i++) {\n      var result = lookupKey(name, cm.state.keyMaps[i], handle, cm);\n      if (result) { return result }\n    }\n    return (cm.options.extraKeys && lookupKey(name, cm.options.extraKeys, handle, cm))\n      || lookupKey(name, cm.options.keyMap, handle, cm)\n  }\n\n  // Note that, despite the name, this function is also used to check\n  // for bound mouse clicks.\n\n  var stopSeq = new Delayed;\n\n  function dispatchKey(cm, name, e, handle) {\n    var seq = cm.state.keySeq;\n    if (seq) {\n      if (isModifierKey(name)) { return \"handled\" }\n      if (/\\'$/.test(name))\n        { cm.state.keySeq = null; }\n      else\n        { stopSeq.set(50, function () {\n          if (cm.state.keySeq == seq) {\n            cm.state.keySeq = null;\n            cm.display.input.reset();\n          }\n        }); }\n      if (dispatchKeyInner(cm, seq + \" \" + name, e, handle)) { return true }\n    }\n    return dispatchKeyInner(cm, name, e, handle)\n  }\n\n  function dispatchKeyInner(cm, name, e, handle) {\n    var result = lookupKeyForEditor(cm, name, handle);\n\n    if (result == \"multi\")\n      { cm.state.keySeq = name; }\n    if (result == \"handled\")\n      { signalLater(cm, \"keyHandled\", cm, name, e); }\n\n    if (result == \"handled\" || result == \"multi\") {\n      e_preventDefault(e);\n      restartBlink(cm);\n    }\n\n    return !!result\n  }\n\n  // Handle a key from the keydown event.\n  function handleKeyBinding(cm, e) {\n    var name = keyName(e, true);\n    if (!name) { return false }\n\n    if (e.shiftKey && !cm.state.keySeq) {\n      // First try to resolve full name (including 'Shift-'). Failing\n      // that, see if there is a cursor-motion command (starting with\n      // 'go') bound to the keyname without 'Shift-'.\n      return dispatchKey(cm, \"Shift-\" + name, e, function (b) { return doHandleBinding(cm, b, true); })\n          || dispatchKey(cm, name, e, function (b) {\n               if (typeof b == \"string\" ? /^go[A-Z]/.test(b) : b.motion)\n                 { return doHandleBinding(cm, b) }\n             })\n    } else {\n      return dispatchKey(cm, name, e, function (b) { return doHandleBinding(cm, b); })\n    }\n  }\n\n  // Handle a key from the keypress event\n  function handleCharBinding(cm, e, ch) {\n    return dispatchKey(cm, \"'\" + ch + \"'\", e, function (b) { return doHandleBinding(cm, b, true); })\n  }\n\n  var lastStoppedKey = null;\n  function onKeyDown(e) {\n    var cm = this;\n    if (e.target && e.target != cm.display.input.getField()) { return }\n    cm.curOp.focus = activeElt();\n    if (signalDOMEvent(cm, e)) { return }\n    // IE does strange things with escape.\n    if (ie && ie_version < 11 && e.keyCode == 27) { e.returnValue = false; }\n    var code = e.keyCode;\n    cm.display.shift = code == 16 || e.shiftKey;\n    var handled = handleKeyBinding(cm, e);\n    if (presto) {\n      lastStoppedKey = handled ? code : null;\n      // Opera has no cut event... we try to at least catch the key combo\n      if (!handled && code == 88 && !hasCopyEvent && (mac ? e.metaKey : e.ctrlKey))\n        { cm.replaceSelection(\"\", null, \"cut\"); }\n    }\n    if (gecko && !mac && !handled && code == 46 && e.shiftKey && !e.ctrlKey && document.execCommand)\n      { document.execCommand(\"cut\"); }\n\n    // Turn mouse into crosshair when Alt is held on Mac.\n    if (code == 18 && !/\\bCodeMirror-crosshair\\b/.test(cm.display.lineDiv.className))\n      { showCrossHair(cm); }\n  }\n\n  function showCrossHair(cm) {\n    var lineDiv = cm.display.lineDiv;\n    addClass(lineDiv, \"CodeMirror-crosshair\");\n\n    function up(e) {\n      if (e.keyCode == 18 || !e.altKey) {\n        rmClass(lineDiv, \"CodeMirror-crosshair\");\n        off(document, \"keyup\", up);\n        off(document, \"mouseover\", up);\n      }\n    }\n    on(document, \"keyup\", up);\n    on(document, \"mouseover\", up);\n  }\n\n  function onKeyUp(e) {\n    if (e.keyCode == 16) { this.doc.sel.shift = false; }\n    signalDOMEvent(this, e);\n  }\n\n  function onKeyPress(e) {\n    var cm = this;\n    if (e.target && e.target != cm.display.input.getField()) { return }\n    if (eventInWidget(cm.display, e) || signalDOMEvent(cm, e) || e.ctrlKey && !e.altKey || mac && e.metaKey) { return }\n    var keyCode = e.keyCode, charCode = e.charCode;\n    if (presto && keyCode == lastStoppedKey) {lastStoppedKey = null; e_preventDefault(e); return}\n    if ((presto && (!e.which || e.which < 10)) && handleKeyBinding(cm, e)) { return }\n    var ch = String.fromCharCode(charCode == null ? keyCode : charCode);\n    // Some browsers fire keypress events for backspace\n    if (ch == \"\\x08\") { return }\n    if (handleCharBinding(cm, e, ch)) { return }\n    cm.display.input.onKeyPress(e);\n  }\n\n  var DOUBLECLICK_DELAY = 400;\n\n  var PastClick = function(time, pos, button) {\n    this.time = time;\n    this.pos = pos;\n    this.button = button;\n  };\n\n  PastClick.prototype.compare = function (time, pos, button) {\n    return this.time + DOUBLECLICK_DELAY > time &&\n      cmp(pos, this.pos) == 0 && button == this.button\n  };\n\n  var lastClick, lastDoubleClick;\n  function clickRepeat(pos, button) {\n    var now = +new Date;\n    if (lastDoubleClick && lastDoubleClick.compare(now, pos, button)) {\n      lastClick = lastDoubleClick = null;\n      return \"triple\"\n    } else if (lastClick && lastClick.compare(now, pos, button)) {\n      lastDoubleClick = new PastClick(now, pos, button);\n      lastClick = null;\n      return \"double\"\n    } else {\n      lastClick = new PastClick(now, pos, button);\n      lastDoubleClick = null;\n      return \"single\"\n    }\n  }\n\n  // A mouse down can be a single click, double click, triple click,\n  // start of selection drag, start of text drag, new cursor\n  // (ctrl-click), rectangle drag (alt-drag), or xwin\n  // middle-click-paste. Or it might be a click on something we should\n  // not interfere with, such as a scrollbar or widget.\n  function onMouseDown(e) {\n    var cm = this, display = cm.display;\n    if (signalDOMEvent(cm, e) || display.activeTouch && display.input.supportsTouch()) { return }\n    display.input.ensurePolled();\n    display.shift = e.shiftKey;\n\n    if (eventInWidget(display, e)) {\n      if (!webkit) {\n        // Briefly turn off draggability, to allow widgets to do\n        // normal dragging things.\n        display.scroller.draggable = false;\n        setTimeout(function () { return display.scroller.draggable = true; }, 100);\n      }\n      return\n    }\n    if (clickInGutter(cm, e)) { return }\n    var pos = posFromMouse(cm, e), button = e_button(e), repeat = pos ? clickRepeat(pos, button) : \"single\";\n    window.focus();\n\n    // #3261: make sure, that we're not starting a second selection\n    if (button == 1 && cm.state.selectingText)\n      { cm.state.selectingText(e); }\n\n    if (pos && handleMappedButton(cm, button, pos, repeat, e)) { return }\n\n    if (button == 1) {\n      if (pos) { leftButtonDown(cm, pos, repeat, e); }\n      else if (e_target(e) == display.scroller) { e_preventDefault(e); }\n    } else if (button == 2) {\n      if (pos) { extendSelection(cm.doc, pos); }\n      setTimeout(function () { return display.input.focus(); }, 20);\n    } else if (button == 3) {\n      if (captureRightClick) { cm.display.input.onContextMenu(e); }\n      else { delayBlurEvent(cm); }\n    }\n  }\n\n  function handleMappedButton(cm, button, pos, repeat, event) {\n    var name = \"Click\";\n    if (repeat == \"double\") { name = \"Double\" + name; }\n    else if (repeat == \"triple\") { name = \"Triple\" + name; }\n    name = (button == 1 ? \"Left\" : button == 2 ? \"Middle\" : \"Right\") + name;\n\n    return dispatchKey(cm,  addModifierNames(name, event), event, function (bound) {\n      if (typeof bound == \"string\") { bound = commands[bound]; }\n      if (!bound) { return false }\n      var done = false;\n      try {\n        if (cm.isReadOnly()) { cm.state.suppressEdits = true; }\n        done = bound(cm, pos) != Pass;\n      } finally {\n        cm.state.suppressEdits = false;\n      }\n      return done\n    })\n  }\n\n  function configureMouse(cm, repeat, event) {\n    var option = cm.getOption(\"configureMouse\");\n    var value = option ? option(cm, repeat, event) : {};\n    if (value.unit == null) {\n      var rect = chromeOS ? event.shiftKey && event.metaKey : event.altKey;\n      value.unit = rect ? \"rectangle\" : repeat == \"single\" ? \"char\" : repeat == \"double\" ? \"word\" : \"line\";\n    }\n    if (value.extend == null || cm.doc.extend) { value.extend = cm.doc.extend || event.shiftKey; }\n    if (value.addNew == null) { value.addNew = mac ? event.metaKey : event.ctrlKey; }\n    if (value.moveOnDrag == null) { value.moveOnDrag = !(mac ? event.altKey : event.ctrlKey); }\n    return value\n  }\n\n  function leftButtonDown(cm, pos, repeat, event) {\n    if (ie) { setTimeout(bind(ensureFocus, cm), 0); }\n    else { cm.curOp.focus = activeElt(); }\n\n    var behavior = configureMouse(cm, repeat, event);\n\n    var sel = cm.doc.sel, contained;\n    if (cm.options.dragDrop && dragAndDrop && !cm.isReadOnly() &&\n        repeat == \"single\" && (contained = sel.contains(pos)) > -1 &&\n        (cmp((contained = sel.ranges[contained]).from(), pos) < 0 || pos.xRel > 0) &&\n        (cmp(contained.to(), pos) > 0 || pos.xRel < 0))\n      { leftButtonStartDrag(cm, event, pos, behavior); }\n    else\n      { leftButtonSelect(cm, event, pos, behavior); }\n  }\n\n  // Start a text drag. When it ends, see if any dragging actually\n  // happen, and treat as a click if it didn't.\n  function leftButtonStartDrag(cm, event, pos, behavior) {\n    var display = cm.display, moved = false;\n    var dragEnd = operation(cm, function (e) {\n      if (webkit) { display.scroller.draggable = false; }\n      cm.state.draggingText = false;\n      if (cm.state.delayingBlurEvent) {\n        if (cm.hasFocus()) { cm.state.delayingBlurEvent = false; }\n        else { delayBlurEvent(cm); }\n      }\n      off(display.wrapper.ownerDocument, \"mouseup\", dragEnd);\n      off(display.wrapper.ownerDocument, \"mousemove\", mouseMove);\n      off(display.scroller, \"dragstart\", dragStart);\n      off(display.scroller, \"drop\", dragEnd);\n      if (!moved) {\n        e_preventDefault(e);\n        if (!behavior.addNew)\n          { extendSelection(cm.doc, pos, null, null, behavior.extend); }\n        // Work around unexplainable focus problem in IE9 (#2127) and Chrome (#3081)\n        if ((webkit && !safari) || ie && ie_version == 9)\n          { setTimeout(function () {display.wrapper.ownerDocument.body.focus({preventScroll: true}); display.input.focus();}, 20); }\n        else\n          { display.input.focus(); }\n      }\n    });\n    var mouseMove = function(e2) {\n      moved = moved || Math.abs(event.clientX - e2.clientX) + Math.abs(event.clientY - e2.clientY) >= 10;\n    };\n    var dragStart = function () { return moved = true; };\n    // Let the drag handler handle this.\n    if (webkit) { display.scroller.draggable = true; }\n    cm.state.draggingText = dragEnd;\n    dragEnd.copy = !behavior.moveOnDrag;\n    on(display.wrapper.ownerDocument, \"mouseup\", dragEnd);\n    on(display.wrapper.ownerDocument, \"mousemove\", mouseMove);\n    on(display.scroller, \"dragstart\", dragStart);\n    on(display.scroller, \"drop\", dragEnd);\n\n    cm.state.delayingBlurEvent = true;\n    setTimeout(function () { return display.input.focus(); }, 20);\n    // IE's approach to draggable\n    if (display.scroller.dragDrop) { display.scroller.dragDrop(); }\n  }\n\n  function rangeForUnit(cm, pos, unit) {\n    if (unit == \"char\") { return new Range(pos, pos) }\n    if (unit == \"word\") { return cm.findWordAt(pos) }\n    if (unit == \"line\") { return new Range(Pos(pos.line, 0), clipPos(cm.doc, Pos(pos.line + 1, 0))) }\n    var result = unit(cm, pos);\n    return new Range(result.from, result.to)\n  }\n\n  // Normal selection, as opposed to text dragging.\n  function leftButtonSelect(cm, event, start, behavior) {\n    if (ie) { delayBlurEvent(cm); }\n    var display = cm.display, doc = cm.doc;\n    e_preventDefault(event);\n\n    var ourRange, ourIndex, startSel = doc.sel, ranges = startSel.ranges;\n    if (behavior.addNew && !behavior.extend) {\n      ourIndex = doc.sel.contains(start);\n      if (ourIndex > -1)\n        { ourRange = ranges[ourIndex]; }\n      else\n        { ourRange = new Range(start, start); }\n    } else {\n      ourRange = doc.sel.primary();\n      ourIndex = doc.sel.primIndex;\n    }\n\n    if (behavior.unit == \"rectangle\") {\n      if (!behavior.addNew) { ourRange = new Range(start, start); }\n      start = posFromMouse(cm, event, true, true);\n      ourIndex = -1;\n    } else {\n      var range = rangeForUnit(cm, start, behavior.unit);\n      if (behavior.extend)\n        { ourRange = extendRange(ourRange, range.anchor, range.head, behavior.extend); }\n      else\n        { ourRange = range; }\n    }\n\n    if (!behavior.addNew) {\n      ourIndex = 0;\n      setSelection(doc, new Selection([ourRange], 0), sel_mouse);\n      startSel = doc.sel;\n    } else if (ourIndex == -1) {\n      ourIndex = ranges.length;\n      setSelection(doc, normalizeSelection(cm, ranges.concat([ourRange]), ourIndex),\n                   {scroll: false, origin: \"*mouse\"});\n    } else if (ranges.length > 1 && ranges[ourIndex].empty() && behavior.unit == \"char\" && !behavior.extend) {\n      setSelection(doc, normalizeSelection(cm, ranges.slice(0, ourIndex).concat(ranges.slice(ourIndex + 1)), 0),\n                   {scroll: false, origin: \"*mouse\"});\n      startSel = doc.sel;\n    } else {\n      replaceOneSelection(doc, ourIndex, ourRange, sel_mouse);\n    }\n\n    var lastPos = start;\n    function extendTo(pos) {\n      if (cmp(lastPos, pos) == 0) { return }\n      lastPos = pos;\n\n      if (behavior.unit == \"rectangle\") {\n        var ranges = [], tabSize = cm.options.tabSize;\n        var startCol = countColumn(getLine(doc, start.line).text, start.ch, tabSize);\n        var posCol = countColumn(getLine(doc, pos.line).text, pos.ch, tabSize);\n        var left = Math.min(startCol, posCol), right = Math.max(startCol, posCol);\n        for (var line = Math.min(start.line, pos.line), end = Math.min(cm.lastLine(), Math.max(start.line, pos.line));\n             line <= end; line++) {\n          var text = getLine(doc, line).text, leftPos = findColumn(text, left, tabSize);\n          if (left == right)\n            { ranges.push(new Range(Pos(line, leftPos), Pos(line, leftPos))); }\n          else if (text.length > leftPos)\n            { ranges.push(new Range(Pos(line, leftPos), Pos(line, findColumn(text, right, tabSize)))); }\n        }\n        if (!ranges.length) { ranges.push(new Range(start, start)); }\n        setSelection(doc, normalizeSelection(cm, startSel.ranges.slice(0, ourIndex).concat(ranges), ourIndex),\n                     {origin: \"*mouse\", scroll: false});\n        cm.scrollIntoView(pos);\n      } else {\n        var oldRange = ourRange;\n        var range = rangeForUnit(cm, pos, behavior.unit);\n        var anchor = oldRange.anchor, head;\n        if (cmp(range.anchor, anchor) > 0) {\n          head = range.head;\n          anchor = minPos(oldRange.from(), range.anchor);\n        } else {\n          head = range.anchor;\n          anchor = maxPos(oldRange.to(), range.head);\n        }\n        var ranges$1 = startSel.ranges.slice(0);\n        ranges$1[ourIndex] = bidiSimplify(cm, new Range(clipPos(doc, anchor), head));\n        setSelection(doc, normalizeSelection(cm, ranges$1, ourIndex), sel_mouse);\n      }\n    }\n\n    var editorSize = display.wrapper.getBoundingClientRect();\n    // Used to ensure timeout re-tries don't fire when another extend\n    // happened in the meantime (clearTimeout isn't reliable -- at\n    // least on Chrome, the timeouts still happen even when cleared,\n    // if the clear happens after their scheduled firing time).\n    var counter = 0;\n\n    function extend(e) {\n      var curCount = ++counter;\n      var cur = posFromMouse(cm, e, true, behavior.unit == \"rectangle\");\n      if (!cur) { return }\n      if (cmp(cur, lastPos) != 0) {\n        cm.curOp.focus = activeElt();\n        extendTo(cur);\n        var visible = visibleLines(display, doc);\n        if (cur.line >= visible.to || cur.line < visible.from)\n          { setTimeout(operation(cm, function () {if (counter == curCount) { extend(e); }}), 150); }\n      } else {\n        var outside = e.clientY < editorSize.top ? -20 : e.clientY > editorSize.bottom ? 20 : 0;\n        if (outside) { setTimeout(operation(cm, function () {\n          if (counter != curCount) { return }\n          display.scroller.scrollTop += outside;\n          extend(e);\n        }), 50); }\n      }\n    }\n\n    function done(e) {\n      cm.state.selectingText = false;\n      counter = Infinity;\n      // If e is null or undefined we interpret this as someone trying\n      // to explicitly cancel the selection rather than the user\n      // letting go of the mouse button.\n      if (e) {\n        e_preventDefault(e);\n        display.input.focus();\n      }\n      off(display.wrapper.ownerDocument, \"mousemove\", move);\n      off(display.wrapper.ownerDocument, \"mouseup\", up);\n      doc.history.lastSelOrigin = null;\n    }\n\n    var move = operation(cm, function (e) {\n      if (e.buttons === 0 || !e_button(e)) { done(e); }\n      else { extend(e); }\n    });\n    var up = operation(cm, done);\n    cm.state.selectingText = up;\n    on(display.wrapper.ownerDocument, \"mousemove\", move);\n    on(display.wrapper.ownerDocument, \"mouseup\", up);\n  }\n\n  // Used when mouse-selecting to adjust the anchor to the proper side\n  // of a bidi jump depending on the visual position of the head.\n  function bidiSimplify(cm, range) {\n    var anchor = range.anchor;\n    var head = range.head;\n    var anchorLine = getLine(cm.doc, anchor.line);\n    if (cmp(anchor, head) == 0 && anchor.sticky == head.sticky) { return range }\n    var order = getOrder(anchorLine);\n    if (!order) { return range }\n    var index = getBidiPartAt(order, anchor.ch, anchor.sticky), part = order[index];\n    if (part.from != anchor.ch && part.to != anchor.ch) { return range }\n    var boundary = index + ((part.from == anchor.ch) == (part.level != 1) ? 0 : 1);\n    if (boundary == 0 || boundary == order.length) { return range }\n\n    // Compute the relative visual position of the head compared to the\n    // anchor (<0 is to the left, >0 to the right)\n    var leftSide;\n    if (head.line != anchor.line) {\n      leftSide = (head.line - anchor.line) * (cm.doc.direction == \"ltr\" ? 1 : -1) > 0;\n    } else {\n      var headIndex = getBidiPartAt(order, head.ch, head.sticky);\n      var dir = headIndex - index || (head.ch - anchor.ch) * (part.level == 1 ? -1 : 1);\n      if (headIndex == boundary - 1 || headIndex == boundary)\n        { leftSide = dir < 0; }\n      else\n        { leftSide = dir > 0; }\n    }\n\n    var usePart = order[boundary + (leftSide ? -1 : 0)];\n    var from = leftSide == (usePart.level == 1);\n    var ch = from ? usePart.from : usePart.to, sticky = from ? \"after\" : \"before\";\n    return anchor.ch == ch && anchor.sticky == sticky ? range : new Range(new Pos(anchor.line, ch, sticky), head)\n  }\n\n\n  // Determines whether an event happened in the gutter, and fires the\n  // handlers for the corresponding event.\n  function gutterEvent(cm, e, type, prevent) {\n    var mX, mY;\n    if (e.touches) {\n      mX = e.touches[0].clientX;\n      mY = e.touches[0].clientY;\n    } else {\n      try { mX = e.clientX; mY = e.clientY; }\n      catch(e$1) { return false }\n    }\n    if (mX >= Math.floor(cm.display.gutters.getBoundingClientRect().right)) { return false }\n    if (prevent) { e_preventDefault(e); }\n\n    var display = cm.display;\n    var lineBox = display.lineDiv.getBoundingClientRect();\n\n    if (mY > lineBox.bottom || !hasHandler(cm, type)) { return e_defaultPrevented(e) }\n    mY -= lineBox.top - display.viewOffset;\n\n    for (var i = 0; i < cm.display.gutterSpecs.length; ++i) {\n      var g = display.gutters.childNodes[i];\n      if (g && g.getBoundingClientRect().right >= mX) {\n        var line = lineAtHeight(cm.doc, mY);\n        var gutter = cm.display.gutterSpecs[i];\n        signal(cm, type, cm, line, gutter.className, e);\n        return e_defaultPrevented(e)\n      }\n    }\n  }\n\n  function clickInGutter(cm, e) {\n    return gutterEvent(cm, e, \"gutterClick\", true)\n  }\n\n  // CONTEXT MENU HANDLING\n\n  // To make the context menu work, we need to briefly unhide the\n  // textarea (making it as unobtrusive as possible) to let the\n  // right-click take effect on it.\n  function onContextMenu(cm, e) {\n    if (eventInWidget(cm.display, e) || contextMenuInGutter(cm, e)) { return }\n    if (signalDOMEvent(cm, e, \"contextmenu\")) { return }\n    if (!captureRightClick) { cm.display.input.onContextMenu(e); }\n  }\n\n  function contextMenuInGutter(cm, e) {\n    if (!hasHandler(cm, \"gutterContextMenu\")) { return false }\n    return gutterEvent(cm, e, \"gutterContextMenu\", false)\n  }\n\n  function themeChanged(cm) {\n    cm.display.wrapper.className = cm.display.wrapper.className.replace(/\\s*cm-s-\\S+/g, \"\") +\n      cm.options.theme.replace(/(^|\\s)\\s*/g, \" cm-s-\");\n    clearCaches(cm);\n  }\n\n  var Init = {toString: function(){return \"CodeMirror.Init\"}};\n\n  var defaults = {};\n  var optionHandlers = {};\n\n  function defineOptions(CodeMirror) {\n    var optionHandlers = CodeMirror.optionHandlers;\n\n    function option(name, deflt, handle, notOnInit) {\n      CodeMirror.defaults[name] = deflt;\n      if (handle) { optionHandlers[name] =\n        notOnInit ? function (cm, val, old) {if (old != Init) { handle(cm, val, old); }} : handle; }\n    }\n\n    CodeMirror.defineOption = option;\n\n    // Passed to option handlers when there is no old value.\n    CodeMirror.Init = Init;\n\n    // These two are, on init, called from the constructor because they\n    // have to be initialized before the editor can start at all.\n    option(\"value\", \"\", function (cm, val) { return cm.setValue(val); }, true);\n    option(\"mode\", null, function (cm, val) {\n      cm.doc.modeOption = val;\n      loadMode(cm);\n    }, true);\n\n    option(\"indentUnit\", 2, loadMode, true);\n    option(\"indentWithTabs\", false);\n    option(\"smartIndent\", true);\n    option(\"tabSize\", 4, function (cm) {\n      resetModeState(cm);\n      clearCaches(cm);\n      regChange(cm);\n    }, true);\n\n    option(\"lineSeparator\", null, function (cm, val) {\n      cm.doc.lineSep = val;\n      if (!val) { return }\n      var newBreaks = [], lineNo = cm.doc.first;\n      cm.doc.iter(function (line) {\n        for (var pos = 0;;) {\n          var found = line.text.indexOf(val, pos);\n          if (found == -1) { break }\n          pos = found + val.length;\n          newBreaks.push(Pos(lineNo, found));\n        }\n        lineNo++;\n      });\n      for (var i = newBreaks.length - 1; i >= 0; i--)\n        { replaceRange(cm.doc, val, newBreaks[i], Pos(newBreaks[i].line, newBreaks[i].ch + val.length)); }\n    });\n    option(\"specialChars\", /[\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u061c\\u200b\\u200e\\u200f\\u2028\\u2029\\ufeff\\ufff9-\\ufffc]/g, function (cm, val, old) {\n      cm.state.specialChars = new RegExp(val.source + (val.test(\"\\t\") ? \"\" : \"|\\t\"), \"g\");\n      if (old != Init) { cm.refresh(); }\n    });\n    option(\"specialCharPlaceholder\", defaultSpecialCharPlaceholder, function (cm) { return cm.refresh(); }, true);\n    option(\"electricChars\", true);\n    option(\"inputStyle\", mobile ? \"contenteditable\" : \"textarea\", function () {\n      throw new Error(\"inputStyle can not (yet) be changed in a running editor\") // FIXME\n    }, true);\n    option(\"spellcheck\", false, function (cm, val) { return cm.getInputField().spellcheck = val; }, true);\n    option(\"autocorrect\", false, function (cm, val) { return cm.getInputField().autocorrect = val; }, true);\n    option(\"autocapitalize\", false, function (cm, val) { return cm.getInputField().autocapitalize = val; }, true);\n    option(\"rtlMoveVisually\", !windows);\n    option(\"wholeLineUpdateBefore\", true);\n\n    option(\"theme\", \"default\", function (cm) {\n      themeChanged(cm);\n      updateGutters(cm);\n    }, true);\n    option(\"keyMap\", \"default\", function (cm, val, old) {\n      var next = getKeyMap(val);\n      var prev = old != Init && getKeyMap(old);\n      if (prev && prev.detach) { prev.detach(cm, next); }\n      if (next.attach) { next.attach(cm, prev || null); }\n    });\n    option(\"extraKeys\", null);\n    option(\"configureMouse\", null);\n\n    option(\"lineWrapping\", false, wrappingChanged, true);\n    option(\"gutters\", [], function (cm, val) {\n      cm.display.gutterSpecs = getGutters(val, cm.options.lineNumbers);\n      updateGutters(cm);\n    }, true);\n    option(\"fixedGutter\", true, function (cm, val) {\n      cm.display.gutters.style.left = val ? compensateForHScroll(cm.display) + \"px\" : \"0\";\n      cm.refresh();\n    }, true);\n    option(\"coverGutterNextToScrollbar\", false, function (cm) { return updateScrollbars(cm); }, true);\n    option(\"scrollbarStyle\", \"native\", function (cm) {\n      initScrollbars(cm);\n      updateScrollbars(cm);\n      cm.display.scrollbars.setScrollTop(cm.doc.scrollTop);\n      cm.display.scrollbars.setScrollLeft(cm.doc.scrollLeft);\n    }, true);\n    option(\"lineNumbers\", false, function (cm, val) {\n      cm.display.gutterSpecs = getGutters(cm.options.gutters, val);\n      updateGutters(cm);\n    }, true);\n    option(\"firstLineNumber\", 1, updateGutters, true);\n    option(\"lineNumberFormatter\", function (integer) { return integer; }, updateGutters, true);\n    option(\"showCursorWhenSelecting\", false, updateSelection, true);\n\n    option(\"resetSelectionOnContextMenu\", true);\n    option(\"lineWiseCopyCut\", true);\n    option(\"pasteLinesPerSelection\", true);\n    option(\"selectionsMayTouch\", false);\n\n    option(\"readOnly\", false, function (cm, val) {\n      if (val == \"nocursor\") {\n        onBlur(cm);\n        cm.display.input.blur();\n      }\n      cm.display.input.readOnlyChanged(val);\n    });\n\n    option(\"screenReaderLabel\", null, function (cm, val) {\n      val = (val === '') ? null : val;\n      cm.display.input.screenReaderLabelChanged(val);\n    });\n\n    option(\"disableInput\", false, function (cm, val) {if (!val) { cm.display.input.reset(); }}, true);\n    option(\"dragDrop\", true, dragDropChanged);\n    option(\"allowDropFileTypes\", null);\n\n    option(\"cursorBlinkRate\", 530);\n    option(\"cursorScrollMargin\", 0);\n    option(\"cursorHeight\", 1, updateSelection, true);\n    option(\"singleCursorHeightPerLine\", true, updateSelection, true);\n    option(\"workTime\", 100);\n    option(\"workDelay\", 100);\n    option(\"flattenSpans\", true, resetModeState, true);\n    option(\"addModeClass\", false, resetModeState, true);\n    option(\"pollInterval\", 100);\n    option(\"undoDepth\", 200, function (cm, val) { return cm.doc.history.undoDepth = val; });\n    option(\"historyEventDelay\", 1250);\n    option(\"viewportMargin\", 10, function (cm) { return cm.refresh(); }, true);\n    option(\"maxHighlightLength\", 10000, resetModeState, true);\n    option(\"moveInputWithCursor\", true, function (cm, val) {\n      if (!val) { cm.display.input.resetPosition(); }\n    });\n\n    option(\"tabindex\", null, function (cm, val) { return cm.display.input.getField().tabIndex = val || \"\"; });\n    option(\"autofocus\", null);\n    option(\"direction\", \"ltr\", function (cm, val) { return cm.doc.setDirection(val); }, true);\n    option(\"phrases\", null);\n  }\n\n  function dragDropChanged(cm, value, old) {\n    var wasOn = old && old != Init;\n    if (!value != !wasOn) {\n      var funcs = cm.display.dragFunctions;\n      var toggle = value ? on : off;\n      toggle(cm.display.scroller, \"dragstart\", funcs.start);\n      toggle(cm.display.scroller, \"dragenter\", funcs.enter);\n      toggle(cm.display.scroller, \"dragover\", funcs.over);\n      toggle(cm.display.scroller, \"dragleave\", funcs.leave);\n      toggle(cm.display.scroller, \"drop\", funcs.drop);\n    }\n  }\n\n  function wrappingChanged(cm) {\n    if (cm.options.lineWrapping) {\n      addClass(cm.display.wrapper, \"CodeMirror-wrap\");\n      cm.display.sizer.style.minWidth = \"\";\n      cm.display.sizerWidth = null;\n    } else {\n      rmClass(cm.display.wrapper, \"CodeMirror-wrap\");\n      findMaxLine(cm);\n    }\n    estimateLineHeights(cm);\n    regChange(cm);\n    clearCaches(cm);\n    setTimeout(function () { return updateScrollbars(cm); }, 100);\n  }\n\n  // A CodeMirror instance represents an editor. This is the object\n  // that user code is usually dealing with.\n\n  function CodeMirror(place, options) {\n    var this$1 = this;\n\n    if (!(this instanceof CodeMirror)) { return new CodeMirror(place, options) }\n\n    this.options = options = options ? copyObj(options) : {};\n    // Determine effective options based on given values and defaults.\n    copyObj(defaults, options, false);\n\n    var doc = options.value;\n    if (typeof doc == \"string\") { doc = new Doc(doc, options.mode, null, options.lineSeparator, options.direction); }\n    else if (options.mode) { doc.modeOption = options.mode; }\n    this.doc = doc;\n\n    var input = new CodeMirror.inputStyles[options.inputStyle](this);\n    var display = this.display = new Display(place, doc, input, options);\n    display.wrapper.CodeMirror = this;\n    themeChanged(this);\n    if (options.lineWrapping)\n      { this.display.wrapper.className += \" CodeMirror-wrap\"; }\n    initScrollbars(this);\n\n    this.state = {\n      keyMaps: [],  // stores maps added by addKeyMap\n      overlays: [], // highlighting overlays, as added by addOverlay\n      modeGen: 0,   // bumped when mode/overlay changes, used to invalidate highlighting info\n      overwrite: false,\n      delayingBlurEvent: false,\n      focused: false,\n      suppressEdits: false, // used to disable editing during key handlers when in readOnly mode\n      pasteIncoming: -1, cutIncoming: -1, // help recognize paste/cut edits in input.poll\n      selectingText: false,\n      draggingText: false,\n      highlight: new Delayed(), // stores highlight worker timeout\n      keySeq: null,  // Unfinished key sequence\n      specialChars: null\n    };\n\n    if (options.autofocus && !mobile) { display.input.focus(); }\n\n    // Override magic textarea content restore that IE sometimes does\n    // on our hidden textarea on reload\n    if (ie && ie_version < 11) { setTimeout(function () { return this$1.display.input.reset(true); }, 20); }\n\n    registerEventHandlers(this);\n    ensureGlobalHandlers();\n\n    startOperation(this);\n    this.curOp.forceUpdate = true;\n    attachDoc(this, doc);\n\n    if ((options.autofocus && !mobile) || this.hasFocus())\n      { setTimeout(function () {\n        if (this$1.hasFocus() && !this$1.state.focused) { onFocus(this$1); }\n      }, 20); }\n    else\n      { onBlur(this); }\n\n    for (var opt in optionHandlers) { if (optionHandlers.hasOwnProperty(opt))\n      { optionHandlers[opt](this, options[opt], Init); } }\n    maybeUpdateLineNumberWidth(this);\n    if (options.finishInit) { options.finishInit(this); }\n    for (var i = 0; i < initHooks.length; ++i) { initHooks[i](this); }\n    endOperation(this);\n    // Suppress optimizelegibility in Webkit, since it breaks text\n    // measuring on line wrapping boundaries.\n    if (webkit && options.lineWrapping &&\n        getComputedStyle(display.lineDiv).textRendering == \"optimizelegibility\")\n      { display.lineDiv.style.textRendering = \"auto\"; }\n  }\n\n  // The default configuration options.\n  CodeMirror.defaults = defaults;\n  // Functions to run when options are changed.\n  CodeMirror.optionHandlers = optionHandlers;\n\n  // Attach the necessary event handlers when initializing the editor\n  function registerEventHandlers(cm) {\n    var d = cm.display;\n    on(d.scroller, \"mousedown\", operation(cm, onMouseDown));\n    // Older IE's will not fire a second mousedown for a double click\n    if (ie && ie_version < 11)\n      { on(d.scroller, \"dblclick\", operation(cm, function (e) {\n        if (signalDOMEvent(cm, e)) { return }\n        var pos = posFromMouse(cm, e);\n        if (!pos || clickInGutter(cm, e) || eventInWidget(cm.display, e)) { return }\n        e_preventDefault(e);\n        var word = cm.findWordAt(pos);\n        extendSelection(cm.doc, word.anchor, word.head);\n      })); }\n    else\n      { on(d.scroller, \"dblclick\", function (e) { return signalDOMEvent(cm, e) || e_preventDefault(e); }); }\n    // Some browsers fire contextmenu *after* opening the menu, at\n    // which point we can't mess with it anymore. Context menu is\n    // handled in onMouseDown for these browsers.\n    on(d.scroller, \"contextmenu\", function (e) { return onContextMenu(cm, e); });\n    on(d.input.getField(), \"contextmenu\", function (e) {\n      if (!d.scroller.contains(e.target)) { onContextMenu(cm, e); }\n    });\n\n    // Used to suppress mouse event handling when a touch happens\n    var touchFinished, prevTouch = {end: 0};\n    function finishTouch() {\n      if (d.activeTouch) {\n        touchFinished = setTimeout(function () { return d.activeTouch = null; }, 1000);\n        prevTouch = d.activeTouch;\n        prevTouch.end = +new Date;\n      }\n    }\n    function isMouseLikeTouchEvent(e) {\n      if (e.touches.length != 1) { return false }\n      var touch = e.touches[0];\n      return touch.radiusX <= 1 && touch.radiusY <= 1\n    }\n    function farAway(touch, other) {\n      if (other.left == null) { return true }\n      var dx = other.left - touch.left, dy = other.top - touch.top;\n      return dx * dx + dy * dy > 20 * 20\n    }\n    on(d.scroller, \"touchstart\", function (e) {\n      if (!signalDOMEvent(cm, e) && !isMouseLikeTouchEvent(e) && !clickInGutter(cm, e)) {\n        d.input.ensurePolled();\n        clearTimeout(touchFinished);\n        var now = +new Date;\n        d.activeTouch = {start: now, moved: false,\n                         prev: now - prevTouch.end <= 300 ? prevTouch : null};\n        if (e.touches.length == 1) {\n          d.activeTouch.left = e.touches[0].pageX;\n          d.activeTouch.top = e.touches[0].pageY;\n        }\n      }\n    });\n    on(d.scroller, \"touchmove\", function () {\n      if (d.activeTouch) { d.activeTouch.moved = true; }\n    });\n    on(d.scroller, \"touchend\", function (e) {\n      var touch = d.activeTouch;\n      if (touch && !eventInWidget(d, e) && touch.left != null &&\n          !touch.moved && new Date - touch.start < 300) {\n        var pos = cm.coordsChar(d.activeTouch, \"page\"), range;\n        if (!touch.prev || farAway(touch, touch.prev)) // Single tap\n          { range = new Range(pos, pos); }\n        else if (!touch.prev.prev || farAway(touch, touch.prev.prev)) // Double tap\n          { range = cm.findWordAt(pos); }\n        else // Triple tap\n          { range = new Range(Pos(pos.line, 0), clipPos(cm.doc, Pos(pos.line + 1, 0))); }\n        cm.setSelection(range.anchor, range.head);\n        cm.focus();\n        e_preventDefault(e);\n      }\n      finishTouch();\n    });\n    on(d.scroller, \"touchcancel\", finishTouch);\n\n    // Sync scrolling between fake scrollbars and real scrollable\n    // area, ensure viewport is updated when scrolling.\n    on(d.scroller, \"scroll\", function () {\n      if (d.scroller.clientHeight) {\n        updateScrollTop(cm, d.scroller.scrollTop);\n        setScrollLeft(cm, d.scroller.scrollLeft, true);\n        signal(cm, \"scroll\", cm);\n      }\n    });\n\n    // Listen to wheel events in order to try and update the viewport on time.\n    on(d.scroller, \"mousewheel\", function (e) { return onScrollWheel(cm, e); });\n    on(d.scroller, \"DOMMouseScroll\", function (e) { return onScrollWheel(cm, e); });\n\n    // Prevent wrapper from ever scrolling\n    on(d.wrapper, \"scroll\", function () { return d.wrapper.scrollTop = d.wrapper.scrollLeft = 0; });\n\n    d.dragFunctions = {\n      enter: function (e) {if (!signalDOMEvent(cm, e)) { e_stop(e); }},\n      over: function (e) {if (!signalDOMEvent(cm, e)) { onDragOver(cm, e); e_stop(e); }},\n      start: function (e) { return onDragStart(cm, e); },\n      drop: operation(cm, onDrop),\n      leave: function (e) {if (!signalDOMEvent(cm, e)) { clearDragCursor(cm); }}\n    };\n\n    var inp = d.input.getField();\n    on(inp, \"keyup\", function (e) { return onKeyUp.call(cm, e); });\n    on(inp, \"keydown\", operation(cm, onKeyDown));\n    on(inp, \"keypress\", operation(cm, onKeyPress));\n    on(inp, \"focus\", function (e) { return onFocus(cm, e); });\n    on(inp, \"blur\", function (e) { return onBlur(cm, e); });\n  }\n\n  var initHooks = [];\n  CodeMirror.defineInitHook = function (f) { return initHooks.push(f); };\n\n  // Indent the given line. The how parameter can be \"smart\",\n  // \"add\"/null, \"subtract\", or \"prev\". When aggressive is false\n  // (typically set to true for forced single-line indents), empty\n  // lines are not indented, and places where the mode returns Pass\n  // are left alone.\n  function indentLine(cm, n, how, aggressive) {\n    var doc = cm.doc, state;\n    if (how == null) { how = \"add\"; }\n    if (how == \"smart\") {\n      // Fall back to \"prev\" when the mode doesn't have an indentation\n      // method.\n      if (!doc.mode.indent) { how = \"prev\"; }\n      else { state = getContextBefore(cm, n).state; }\n    }\n\n    var tabSize = cm.options.tabSize;\n    var line = getLine(doc, n), curSpace = countColumn(line.text, null, tabSize);\n    if (line.stateAfter) { line.stateAfter = null; }\n    var curSpaceString = line.text.match(/^\\s*/)[0], indentation;\n    if (!aggressive && !/\\S/.test(line.text)) {\n      indentation = 0;\n      how = \"not\";\n    } else if (how == \"smart\") {\n      indentation = doc.mode.indent(state, line.text.slice(curSpaceString.length), line.text);\n      if (indentation == Pass || indentation > 150) {\n        if (!aggressive) { return }\n        how = \"prev\";\n      }\n    }\n    if (how == \"prev\") {\n      if (n > doc.first) { indentation = countColumn(getLine(doc, n-1).text, null, tabSize); }\n      else { indentation = 0; }\n    } else if (how == \"add\") {\n      indentation = curSpace + cm.options.indentUnit;\n    } else if (how == \"subtract\") {\n      indentation = curSpace - cm.options.indentUnit;\n    } else if (typeof how == \"number\") {\n      indentation = curSpace + how;\n    }\n    indentation = Math.max(0, indentation);\n\n    var indentString = \"\", pos = 0;\n    if (cm.options.indentWithTabs)\n      { for (var i = Math.floor(indentation / tabSize); i; --i) {pos += tabSize; indentString += \"\\t\";} }\n    if (pos < indentation) { indentString += spaceStr(indentation - pos); }\n\n    if (indentString != curSpaceString) {\n      replaceRange(doc, indentString, Pos(n, 0), Pos(n, curSpaceString.length), \"+input\");\n      line.stateAfter = null;\n      return true\n    } else {\n      // Ensure that, if the cursor was in the whitespace at the start\n      // of the line, it is moved to the end of that space.\n      for (var i$1 = 0; i$1 < doc.sel.ranges.length; i$1++) {\n        var range = doc.sel.ranges[i$1];\n        if (range.head.line == n && range.head.ch < curSpaceString.length) {\n          var pos$1 = Pos(n, curSpaceString.length);\n          replaceOneSelection(doc, i$1, new Range(pos$1, pos$1));\n          break\n        }\n      }\n    }\n  }\n\n  // This will be set to a {lineWise: bool, text: [string]} object, so\n  // that, when pasting, we know what kind of selections the copied\n  // text was made out of.\n  var lastCopied = null;\n\n  function setLastCopied(newLastCopied) {\n    lastCopied = newLastCopied;\n  }\n\n  function applyTextInput(cm, inserted, deleted, sel, origin) {\n    var doc = cm.doc;\n    cm.display.shift = false;\n    if (!sel) { sel = doc.sel; }\n\n    var recent = +new Date - 200;\n    var paste = origin == \"paste\" || cm.state.pasteIncoming > recent;\n    var textLines = splitLinesAuto(inserted), multiPaste = null;\n    // When pasting N lines into N selections, insert one line per selection\n    if (paste && sel.ranges.length > 1) {\n      if (lastCopied && lastCopied.text.join(\"\\n\") == inserted) {\n        if (sel.ranges.length % lastCopied.text.length == 0) {\n          multiPaste = [];\n          for (var i = 0; i < lastCopied.text.length; i++)\n            { multiPaste.push(doc.splitLines(lastCopied.text[i])); }\n        }\n      } else if (textLines.length == sel.ranges.length && cm.options.pasteLinesPerSelection) {\n        multiPaste = map(textLines, function (l) { return [l]; });\n      }\n    }\n\n    var updateInput = cm.curOp.updateInput;\n    // Normal behavior is to insert the new text into every selection\n    for (var i$1 = sel.ranges.length - 1; i$1 >= 0; i$1--) {\n      var range = sel.ranges[i$1];\n      var from = range.from(), to = range.to();\n      if (range.empty()) {\n        if (deleted && deleted > 0) // Handle deletion\n          { from = Pos(from.line, from.ch - deleted); }\n        else if (cm.state.overwrite && !paste) // Handle overwrite\n          { to = Pos(to.line, Math.min(getLine(doc, to.line).text.length, to.ch + lst(textLines).length)); }\n        else if (paste && lastCopied && lastCopied.lineWise && lastCopied.text.join(\"\\n\") == textLines.join(\"\\n\"))\n          { from = to = Pos(from.line, 0); }\n      }\n      var changeEvent = {from: from, to: to, text: multiPaste ? multiPaste[i$1 % multiPaste.length] : textLines,\n                         origin: origin || (paste ? \"paste\" : cm.state.cutIncoming > recent ? \"cut\" : \"+input\")};\n      makeChange(cm.doc, changeEvent);\n      signalLater(cm, \"inputRead\", cm, changeEvent);\n    }\n    if (inserted && !paste)\n      { triggerElectric(cm, inserted); }\n\n    ensureCursorVisible(cm);\n    if (cm.curOp.updateInput < 2) { cm.curOp.updateInput = updateInput; }\n    cm.curOp.typing = true;\n    cm.state.pasteIncoming = cm.state.cutIncoming = -1;\n  }\n\n  function handlePaste(e, cm) {\n    var pasted = e.clipboardData && e.clipboardData.getData(\"Text\");\n    if (pasted) {\n      e.preventDefault();\n      if (!cm.isReadOnly() && !cm.options.disableInput)\n        { runInOp(cm, function () { return applyTextInput(cm, pasted, 0, null, \"paste\"); }); }\n      return true\n    }\n  }\n\n  function triggerElectric(cm, inserted) {\n    // When an 'electric' character is inserted, immediately trigger a reindent\n    if (!cm.options.electricChars || !cm.options.smartIndent) { return }\n    var sel = cm.doc.sel;\n\n    for (var i = sel.ranges.length - 1; i >= 0; i--) {\n      var range = sel.ranges[i];\n      if (range.head.ch > 100 || (i && sel.ranges[i - 1].head.line == range.head.line)) { continue }\n      var mode = cm.getModeAt(range.head);\n      var indented = false;\n      if (mode.electricChars) {\n        for (var j = 0; j < mode.electricChars.length; j++)\n          { if (inserted.indexOf(mode.electricChars.charAt(j)) > -1) {\n            indented = indentLine(cm, range.head.line, \"smart\");\n            break\n          } }\n      } else if (mode.electricInput) {\n        if (mode.electricInput.test(getLine(cm.doc, range.head.line).text.slice(0, range.head.ch)))\n          { indented = indentLine(cm, range.head.line, \"smart\"); }\n      }\n      if (indented) { signalLater(cm, \"electricInput\", cm, range.head.line); }\n    }\n  }\n\n  function copyableRanges(cm) {\n    var text = [], ranges = [];\n    for (var i = 0; i < cm.doc.sel.ranges.length; i++) {\n      var line = cm.doc.sel.ranges[i].head.line;\n      var lineRange = {anchor: Pos(line, 0), head: Pos(line + 1, 0)};\n      ranges.push(lineRange);\n      text.push(cm.getRange(lineRange.anchor, lineRange.head));\n    }\n    return {text: text, ranges: ranges}\n  }\n\n  function disableBrowserMagic(field, spellcheck, autocorrect, autocapitalize) {\n    field.setAttribute(\"autocorrect\", autocorrect ? \"\" : \"off\");\n    field.setAttribute(\"autocapitalize\", autocapitalize ? \"\" : \"off\");\n    field.setAttribute(\"spellcheck\", !!spellcheck);\n  }\n\n  function hiddenTextarea() {\n    var te = elt(\"textarea\", null, null, \"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; outline: none\");\n    var div = elt(\"div\", [te], null, \"overflow: hidden; position: relative; width: 3px; height: 0px;\");\n    // The textarea is kept positioned near the cursor to prevent the\n    // fact that it'll be scrolled into view on input from scrolling\n    // our fake cursor out of view. On webkit, when wrap=off, paste is\n    // very slow. So make the area wide instead.\n    if (webkit) { te.style.width = \"1000px\"; }\n    else { te.setAttribute(\"wrap\", \"off\"); }\n    // If border: 0; -- iOS fails to open keyboard (issue #1287)\n    if (ios) { te.style.border = \"1px solid black\"; }\n    disableBrowserMagic(te);\n    return div\n  }\n\n  // The publicly visible API. Note that methodOp(f) means\n  // 'wrap f in an operation, performed on its `this` parameter'.\n\n  // This is not the complete set of editor methods. Most of the\n  // methods defined on the Doc type are also injected into\n  // CodeMirror.prototype, for backwards compatibility and\n  // convenience.\n\n  function addEditorMethods(CodeMirror) {\n    var optionHandlers = CodeMirror.optionHandlers;\n\n    var helpers = CodeMirror.helpers = {};\n\n    CodeMirror.prototype = {\n      constructor: CodeMirror,\n      focus: function(){window.focus(); this.display.input.focus();},\n\n      setOption: function(option, value) {\n        var options = this.options, old = options[option];\n        if (options[option] == value && option != \"mode\") { return }\n        options[option] = value;\n        if (optionHandlers.hasOwnProperty(option))\n          { operation(this, optionHandlers[option])(this, value, old); }\n        signal(this, \"optionChange\", this, option);\n      },\n\n      getOption: function(option) {return this.options[option]},\n      getDoc: function() {return this.doc},\n\n      addKeyMap: function(map, bottom) {\n        this.state.keyMaps[bottom ? \"push\" : \"unshift\"](getKeyMap(map));\n      },\n      removeKeyMap: function(map) {\n        var maps = this.state.keyMaps;\n        for (var i = 0; i < maps.length; ++i)\n          { if (maps[i] == map || maps[i].name == map) {\n            maps.splice(i, 1);\n            return true\n          } }\n      },\n\n      addOverlay: methodOp(function(spec, options) {\n        var mode = spec.token ? spec : CodeMirror.getMode(this.options, spec);\n        if (mode.startState) { throw new Error(\"Overlays may not be stateful.\") }\n        insertSorted(this.state.overlays,\n                     {mode: mode, modeSpec: spec, opaque: options && options.opaque,\n                      priority: (options && options.priority) || 0},\n                     function (overlay) { return overlay.priority; });\n        this.state.modeGen++;\n        regChange(this);\n      }),\n      removeOverlay: methodOp(function(spec) {\n        var overlays = this.state.overlays;\n        for (var i = 0; i < overlays.length; ++i) {\n          var cur = overlays[i].modeSpec;\n          if (cur == spec || typeof spec == \"string\" && cur.name == spec) {\n            overlays.splice(i, 1);\n            this.state.modeGen++;\n            regChange(this);\n            return\n          }\n        }\n      }),\n\n      indentLine: methodOp(function(n, dir, aggressive) {\n        if (typeof dir != \"string\" && typeof dir != \"number\") {\n          if (dir == null) { dir = this.options.smartIndent ? \"smart\" : \"prev\"; }\n          else { dir = dir ? \"add\" : \"subtract\"; }\n        }\n        if (isLine(this.doc, n)) { indentLine(this, n, dir, aggressive); }\n      }),\n      indentSelection: methodOp(function(how) {\n        var ranges = this.doc.sel.ranges, end = -1;\n        for (var i = 0; i < ranges.length; i++) {\n          var range = ranges[i];\n          if (!range.empty()) {\n            var from = range.from(), to = range.to();\n            var start = Math.max(end, from.line);\n            end = Math.min(this.lastLine(), to.line - (to.ch ? 0 : 1)) + 1;\n            for (var j = start; j < end; ++j)\n              { indentLine(this, j, how); }\n            var newRanges = this.doc.sel.ranges;\n            if (from.ch == 0 && ranges.length == newRanges.length && newRanges[i].from().ch > 0)\n              { replaceOneSelection(this.doc, i, new Range(from, newRanges[i].to()), sel_dontScroll); }\n          } else if (range.head.line > end) {\n            indentLine(this, range.head.line, how, true);\n            end = range.head.line;\n            if (i == this.doc.sel.primIndex) { ensureCursorVisible(this); }\n          }\n        }\n      }),\n\n      // Fetch the parser token for a given character. Useful for hacks\n      // that want to inspect the mode state (say, for completion).\n      getTokenAt: function(pos, precise) {\n        return takeToken(this, pos, precise)\n      },\n\n      getLineTokens: function(line, precise) {\n        return takeToken(this, Pos(line), precise, true)\n      },\n\n      getTokenTypeAt: function(pos) {\n        pos = clipPos(this.doc, pos);\n        var styles = getLineStyles(this, getLine(this.doc, pos.line));\n        var before = 0, after = (styles.length - 1) / 2, ch = pos.ch;\n        var type;\n        if (ch == 0) { type = styles[2]; }\n        else { for (;;) {\n          var mid = (before + after) >> 1;\n          if ((mid ? styles[mid * 2 - 1] : 0) >= ch) { after = mid; }\n          else if (styles[mid * 2 + 1] < ch) { before = mid + 1; }\n          else { type = styles[mid * 2 + 2]; break }\n        } }\n        var cut = type ? type.indexOf(\"overlay \") : -1;\n        return cut < 0 ? type : cut == 0 ? null : type.slice(0, cut - 1)\n      },\n\n      getModeAt: function(pos) {\n        var mode = this.doc.mode;\n        if (!mode.innerMode) { return mode }\n        return CodeMirror.innerMode(mode, this.getTokenAt(pos).state).mode\n      },\n\n      getHelper: function(pos, type) {\n        return this.getHelpers(pos, type)[0]\n      },\n\n      getHelpers: function(pos, type) {\n        var found = [];\n        if (!helpers.hasOwnProperty(type)) { return found }\n        var help = helpers[type], mode = this.getModeAt(pos);\n        if (typeof mode[type] == \"string\") {\n          if (help[mode[type]]) { found.push(help[mode[type]]); }\n        } else if (mode[type]) {\n          for (var i = 0; i < mode[type].length; i++) {\n            var val = help[mode[type][i]];\n            if (val) { found.push(val); }\n          }\n        } else if (mode.helperType && help[mode.helperType]) {\n          found.push(help[mode.helperType]);\n        } else if (help[mode.name]) {\n          found.push(help[mode.name]);\n        }\n        for (var i$1 = 0; i$1 < help._global.length; i$1++) {\n          var cur = help._global[i$1];\n          if (cur.pred(mode, this) && indexOf(found, cur.val) == -1)\n            { found.push(cur.val); }\n        }\n        return found\n      },\n\n      getStateAfter: function(line, precise) {\n        var doc = this.doc;\n        line = clipLine(doc, line == null ? doc.first + doc.size - 1: line);\n        return getContextBefore(this, line + 1, precise).state\n      },\n\n      cursorCoords: function(start, mode) {\n        var pos, range = this.doc.sel.primary();\n        if (start == null) { pos = range.head; }\n        else if (typeof start == \"object\") { pos = clipPos(this.doc, start); }\n        else { pos = start ? range.from() : range.to(); }\n        return cursorCoords(this, pos, mode || \"page\")\n      },\n\n      charCoords: function(pos, mode) {\n        return charCoords(this, clipPos(this.doc, pos), mode || \"page\")\n      },\n\n      coordsChar: function(coords, mode) {\n        coords = fromCoordSystem(this, coords, mode || \"page\");\n        return coordsChar(this, coords.left, coords.top)\n      },\n\n      lineAtHeight: function(height, mode) {\n        height = fromCoordSystem(this, {top: height, left: 0}, mode || \"page\").top;\n        return lineAtHeight(this.doc, height + this.display.viewOffset)\n      },\n      heightAtLine: function(line, mode, includeWidgets) {\n        var end = false, lineObj;\n        if (typeof line == \"number\") {\n          var last = this.doc.first + this.doc.size - 1;\n          if (line < this.doc.first) { line = this.doc.first; }\n          else if (line > last) { line = last; end = true; }\n          lineObj = getLine(this.doc, line);\n        } else {\n          lineObj = line;\n        }\n        return intoCoordSystem(this, lineObj, {top: 0, left: 0}, mode || \"page\", includeWidgets || end).top +\n          (end ? this.doc.height - heightAtLine(lineObj) : 0)\n      },\n\n      defaultTextHeight: function() { return textHeight(this.display) },\n      defaultCharWidth: function() { return charWidth(this.display) },\n\n      getViewport: function() { return {from: this.display.viewFrom, to: this.display.viewTo}},\n\n      addWidget: function(pos, node, scroll, vert, horiz) {\n        var display = this.display;\n        pos = cursorCoords(this, clipPos(this.doc, pos));\n        var top = pos.bottom, left = pos.left;\n        node.style.position = \"absolute\";\n        node.setAttribute(\"cm-ignore-events\", \"true\");\n        this.display.input.setUneditable(node);\n        display.sizer.appendChild(node);\n        if (vert == \"over\") {\n          top = pos.top;\n        } else if (vert == \"above\" || vert == \"near\") {\n          var vspace = Math.max(display.wrapper.clientHeight, this.doc.height),\n          hspace = Math.max(display.sizer.clientWidth, display.lineSpace.clientWidth);\n          // Default to positioning above (if specified and possible); otherwise default to positioning below\n          if ((vert == 'above' || pos.bottom + node.offsetHeight > vspace) && pos.top > node.offsetHeight)\n            { top = pos.top - node.offsetHeight; }\n          else if (pos.bottom + node.offsetHeight <= vspace)\n            { top = pos.bottom; }\n          if (left + node.offsetWidth > hspace)\n            { left = hspace - node.offsetWidth; }\n        }\n        node.style.top = top + \"px\";\n        node.style.left = node.style.right = \"\";\n        if (horiz == \"right\") {\n          left = display.sizer.clientWidth - node.offsetWidth;\n          node.style.right = \"0px\";\n        } else {\n          if (horiz == \"left\") { left = 0; }\n          else if (horiz == \"middle\") { left = (display.sizer.clientWidth - node.offsetWidth) / 2; }\n          node.style.left = left + \"px\";\n        }\n        if (scroll)\n          { scrollIntoView(this, {left: left, top: top, right: left + node.offsetWidth, bottom: top + node.offsetHeight}); }\n      },\n\n      triggerOnKeyDown: methodOp(onKeyDown),\n      triggerOnKeyPress: methodOp(onKeyPress),\n      triggerOnKeyUp: onKeyUp,\n      triggerOnMouseDown: methodOp(onMouseDown),\n\n      execCommand: function(cmd) {\n        if (commands.hasOwnProperty(cmd))\n          { return commands[cmd].call(null, this) }\n      },\n\n      triggerElectric: methodOp(function(text) { triggerElectric(this, text); }),\n\n      findPosH: function(from, amount, unit, visually) {\n        var dir = 1;\n        if (amount < 0) { dir = -1; amount = -amount; }\n        var cur = clipPos(this.doc, from);\n        for (var i = 0; i < amount; ++i) {\n          cur = findPosH(this.doc, cur, dir, unit, visually);\n          if (cur.hitSide) { break }\n        }\n        return cur\n      },\n\n      moveH: methodOp(function(dir, unit) {\n        var this$1 = this;\n\n        this.extendSelectionsBy(function (range) {\n          if (this$1.display.shift || this$1.doc.extend || range.empty())\n            { return findPosH(this$1.doc, range.head, dir, unit, this$1.options.rtlMoveVisually) }\n          else\n            { return dir < 0 ? range.from() : range.to() }\n        }, sel_move);\n      }),\n\n      deleteH: methodOp(function(dir, unit) {\n        var sel = this.doc.sel, doc = this.doc;\n        if (sel.somethingSelected())\n          { doc.replaceSelection(\"\", null, \"+delete\"); }\n        else\n          { deleteNearSelection(this, function (range) {\n            var other = findPosH(doc, range.head, dir, unit, false);\n            return dir < 0 ? {from: other, to: range.head} : {from: range.head, to: other}\n          }); }\n      }),\n\n      findPosV: function(from, amount, unit, goalColumn) {\n        var dir = 1, x = goalColumn;\n        if (amount < 0) { dir = -1; amount = -amount; }\n        var cur = clipPos(this.doc, from);\n        for (var i = 0; i < amount; ++i) {\n          var coords = cursorCoords(this, cur, \"div\");\n          if (x == null) { x = coords.left; }\n          else { coords.left = x; }\n          cur = findPosV(this, coords, dir, unit);\n          if (cur.hitSide) { break }\n        }\n        return cur\n      },\n\n      moveV: methodOp(function(dir, unit) {\n        var this$1 = this;\n\n        var doc = this.doc, goals = [];\n        var collapse = !this.display.shift && !doc.extend && doc.sel.somethingSelected();\n        doc.extendSelectionsBy(function (range) {\n          if (collapse)\n            { return dir < 0 ? range.from() : range.to() }\n          var headPos = cursorCoords(this$1, range.head, \"div\");\n          if (range.goalColumn != null) { headPos.left = range.goalColumn; }\n          goals.push(headPos.left);\n          var pos = findPosV(this$1, headPos, dir, unit);\n          if (unit == \"page\" && range == doc.sel.primary())\n            { addToScrollTop(this$1, charCoords(this$1, pos, \"div\").top - headPos.top); }\n          return pos\n        }, sel_move);\n        if (goals.length) { for (var i = 0; i < doc.sel.ranges.length; i++)\n          { doc.sel.ranges[i].goalColumn = goals[i]; } }\n      }),\n\n      // Find the word at the given position (as returned by coordsChar).\n      findWordAt: function(pos) {\n        var doc = this.doc, line = getLine(doc, pos.line).text;\n        var start = pos.ch, end = pos.ch;\n        if (line) {\n          var helper = this.getHelper(pos, \"wordChars\");\n          if ((pos.sticky == \"before\" || end == line.length) && start) { --start; } else { ++end; }\n          var startChar = line.charAt(start);\n          var check = isWordChar(startChar, helper)\n            ? function (ch) { return isWordChar(ch, helper); }\n            : /\\s/.test(startChar) ? function (ch) { return /\\s/.test(ch); }\n            : function (ch) { return (!/\\s/.test(ch) && !isWordChar(ch)); };\n          while (start > 0 && check(line.charAt(start - 1))) { --start; }\n          while (end < line.length && check(line.charAt(end))) { ++end; }\n        }\n        return new Range(Pos(pos.line, start), Pos(pos.line, end))\n      },\n\n      toggleOverwrite: function(value) {\n        if (value != null && value == this.state.overwrite) { return }\n        if (this.state.overwrite = !this.state.overwrite)\n          { addClass(this.display.cursorDiv, \"CodeMirror-overwrite\"); }\n        else\n          { rmClass(this.display.cursorDiv, \"CodeMirror-overwrite\"); }\n\n        signal(this, \"overwriteToggle\", this, this.state.overwrite);\n      },\n      hasFocus: function() { return this.display.input.getField() == activeElt() },\n      isReadOnly: function() { return !!(this.options.readOnly || this.doc.cantEdit) },\n\n      scrollTo: methodOp(function (x, y) { scrollToCoords(this, x, y); }),\n      getScrollInfo: function() {\n        var scroller = this.display.scroller;\n        return {left: scroller.scrollLeft, top: scroller.scrollTop,\n                height: scroller.scrollHeight - scrollGap(this) - this.display.barHeight,\n                width: scroller.scrollWidth - scrollGap(this) - this.display.barWidth,\n                clientHeight: displayHeight(this), clientWidth: displayWidth(this)}\n      },\n\n      scrollIntoView: methodOp(function(range, margin) {\n        if (range == null) {\n          range = {from: this.doc.sel.primary().head, to: null};\n          if (margin == null) { margin = this.options.cursorScrollMargin; }\n        } else if (typeof range == \"number\") {\n          range = {from: Pos(range, 0), to: null};\n        } else if (range.from == null) {\n          range = {from: range, to: null};\n        }\n        if (!range.to) { range.to = range.from; }\n        range.margin = margin || 0;\n\n        if (range.from.line != null) {\n          scrollToRange(this, range);\n        } else {\n          scrollToCoordsRange(this, range.from, range.to, range.margin);\n        }\n      }),\n\n      setSize: methodOp(function(width, height) {\n        var this$1 = this;\n\n        var interpret = function (val) { return typeof val == \"number\" || /^\\d+$/.test(String(val)) ? val + \"px\" : val; };\n        if (width != null) { this.display.wrapper.style.width = interpret(width); }\n        if (height != null) { this.display.wrapper.style.height = interpret(height); }\n        if (this.options.lineWrapping) { clearLineMeasurementCache(this); }\n        var lineNo = this.display.viewFrom;\n        this.doc.iter(lineNo, this.display.viewTo, function (line) {\n          if (line.widgets) { for (var i = 0; i < line.widgets.length; i++)\n            { if (line.widgets[i].noHScroll) { regLineChange(this$1, lineNo, \"widget\"); break } } }\n          ++lineNo;\n        });\n        this.curOp.forceUpdate = true;\n        signal(this, \"refresh\", this);\n      }),\n\n      operation: function(f){return runInOp(this, f)},\n      startOperation: function(){return startOperation(this)},\n      endOperation: function(){return endOperation(this)},\n\n      refresh: methodOp(function() {\n        var oldHeight = this.display.cachedTextHeight;\n        regChange(this);\n        this.curOp.forceUpdate = true;\n        clearCaches(this);\n        scrollToCoords(this, this.doc.scrollLeft, this.doc.scrollTop);\n        updateGutterSpace(this.display);\n        if (oldHeight == null || Math.abs(oldHeight - textHeight(this.display)) > .5 || this.options.lineWrapping)\n          { estimateLineHeights(this); }\n        signal(this, \"refresh\", this);\n      }),\n\n      swapDoc: methodOp(function(doc) {\n        var old = this.doc;\n        old.cm = null;\n        // Cancel the current text selection if any (#5821)\n        if (this.state.selectingText) { this.state.selectingText(); }\n        attachDoc(this, doc);\n        clearCaches(this);\n        this.display.input.reset();\n        scrollToCoords(this, doc.scrollLeft, doc.scrollTop);\n        this.curOp.forceScroll = true;\n        signalLater(this, \"swapDoc\", this, old);\n        return old\n      }),\n\n      phrase: function(phraseText) {\n        var phrases = this.options.phrases;\n        return phrases && Object.prototype.hasOwnProperty.call(phrases, phraseText) ? phrases[phraseText] : phraseText\n      },\n\n      getInputField: function(){return this.display.input.getField()},\n      getWrapperElement: function(){return this.display.wrapper},\n      getScrollerElement: function(){return this.display.scroller},\n      getGutterElement: function(){return this.display.gutters}\n    };\n    eventMixin(CodeMirror);\n\n    CodeMirror.registerHelper = function(type, name, value) {\n      if (!helpers.hasOwnProperty(type)) { helpers[type] = CodeMirror[type] = {_global: []}; }\n      helpers[type][name] = value;\n    };\n    CodeMirror.registerGlobalHelper = function(type, name, predicate, value) {\n      CodeMirror.registerHelper(type, name, value);\n      helpers[type]._global.push({pred: predicate, val: value});\n    };\n  }\n\n  // Used for horizontal relative motion. Dir is -1 or 1 (left or\n  // right), unit can be \"codepoint\", \"char\", \"column\" (like char, but\n  // doesn't cross line boundaries), \"word\" (across next word), or\n  // \"group\" (to the start of next group of word or\n  // non-word-non-whitespace chars). The visually param controls\n  // whether, in right-to-left text, direction 1 means to move towards\n  // the next index in the string, or towards the character to the right\n  // of the current position. The resulting position will have a\n  // hitSide=true property if it reached the end of the document.\n  function findPosH(doc, pos, dir, unit, visually) {\n    var oldPos = pos;\n    var origDir = dir;\n    var lineObj = getLine(doc, pos.line);\n    var lineDir = visually && doc.direction == \"rtl\" ? -dir : dir;\n    function findNextLine() {\n      var l = pos.line + lineDir;\n      if (l < doc.first || l >= doc.first + doc.size) { return false }\n      pos = new Pos(l, pos.ch, pos.sticky);\n      return lineObj = getLine(doc, l)\n    }\n    function moveOnce(boundToLine) {\n      var next;\n      if (unit == \"codepoint\") {\n        var ch = lineObj.text.charCodeAt(pos.ch + (dir > 0 ? 0 : -1));\n        if (isNaN(ch)) {\n          next = null;\n        } else {\n          var astral = dir > 0 ? ch >= 0xD800 && ch < 0xDC00 : ch >= 0xDC00 && ch < 0xDFFF;\n          next = new Pos(pos.line, Math.max(0, Math.min(lineObj.text.length, pos.ch + dir * (astral ? 2 : 1))), -dir);\n        }\n      } else if (visually) {\n        next = moveVisually(doc.cm, lineObj, pos, dir);\n      } else {\n        next = moveLogically(lineObj, pos, dir);\n      }\n      if (next == null) {\n        if (!boundToLine && findNextLine())\n          { pos = endOfLine(visually, doc.cm, lineObj, pos.line, lineDir); }\n        else\n          { return false }\n      } else {\n        pos = next;\n      }\n      return true\n    }\n\n    if (unit == \"char\" || unit == \"codepoint\") {\n      moveOnce();\n    } else if (unit == \"column\") {\n      moveOnce(true);\n    } else if (unit == \"word\" || unit == \"group\") {\n      var sawType = null, group = unit == \"group\";\n      var helper = doc.cm && doc.cm.getHelper(pos, \"wordChars\");\n      for (var first = true;; first = false) {\n        if (dir < 0 && !moveOnce(!first)) { break }\n        var cur = lineObj.text.charAt(pos.ch) || \"\\n\";\n        var type = isWordChar(cur, helper) ? \"w\"\n          : group && cur == \"\\n\" ? \"n\"\n          : !group || /\\s/.test(cur) ? null\n          : \"p\";\n        if (group && !first && !type) { type = \"s\"; }\n        if (sawType && sawType != type) {\n          if (dir < 0) {dir = 1; moveOnce(); pos.sticky = \"after\";}\n          break\n        }\n\n        if (type) { sawType = type; }\n        if (dir > 0 && !moveOnce(!first)) { break }\n      }\n    }\n    var result = skipAtomic(doc, pos, oldPos, origDir, true);\n    if (equalCursorPos(oldPos, result)) { result.hitSide = true; }\n    return result\n  }\n\n  // For relative vertical movement. Dir may be -1 or 1. Unit can be\n  // \"page\" or \"line\". The resulting position will have a hitSide=true\n  // property if it reached the end of the document.\n  function findPosV(cm, pos, dir, unit) {\n    var doc = cm.doc, x = pos.left, y;\n    if (unit == \"page\") {\n      var pageSize = Math.min(cm.display.wrapper.clientHeight, window.innerHeight || document.documentElement.clientHeight);\n      var moveAmount = Math.max(pageSize - .5 * textHeight(cm.display), 3);\n      y = (dir > 0 ? pos.bottom : pos.top) + dir * moveAmount;\n\n    } else if (unit == \"line\") {\n      y = dir > 0 ? pos.bottom + 3 : pos.top - 3;\n    }\n    var target;\n    for (;;) {\n      target = coordsChar(cm, x, y);\n      if (!target.outside) { break }\n      if (dir < 0 ? y <= 0 : y >= doc.height) { target.hitSide = true; break }\n      y += dir * 5;\n    }\n    return target\n  }\n\n  // CONTENTEDITABLE INPUT STYLE\n\n  var ContentEditableInput = function(cm) {\n    this.cm = cm;\n    this.lastAnchorNode = this.lastAnchorOffset = this.lastFocusNode = this.lastFocusOffset = null;\n    this.polling = new Delayed();\n    this.composing = null;\n    this.gracePeriod = false;\n    this.readDOMTimeout = null;\n  };\n\n  ContentEditableInput.prototype.init = function (display) {\n      var this$1 = this;\n\n    var input = this, cm = input.cm;\n    var div = input.div = display.lineDiv;\n    div.contentEditable = true;\n    disableBrowserMagic(div, cm.options.spellcheck, cm.options.autocorrect, cm.options.autocapitalize);\n\n    function belongsToInput(e) {\n      for (var t = e.target; t; t = t.parentNode) {\n        if (t == div) { return true }\n        if (/\\bCodeMirror-(?:line)?widget\\b/.test(t.className)) { break }\n      }\n      return false\n    }\n\n    on(div, \"paste\", function (e) {\n      if (!belongsToInput(e) || signalDOMEvent(cm, e) || handlePaste(e, cm)) { return }\n      // IE doesn't fire input events, so we schedule a read for the pasted content in this way\n      if (ie_version <= 11) { setTimeout(operation(cm, function () { return this$1.updateFromDOM(); }), 20); }\n    });\n\n    on(div, \"compositionstart\", function (e) {\n      this$1.composing = {data: e.data, done: false};\n    });\n    on(div, \"compositionupdate\", function (e) {\n      if (!this$1.composing) { this$1.composing = {data: e.data, done: false}; }\n    });\n    on(div, \"compositionend\", function (e) {\n      if (this$1.composing) {\n        if (e.data != this$1.composing.data) { this$1.readFromDOMSoon(); }\n        this$1.composing.done = true;\n      }\n    });\n\n    on(div, \"touchstart\", function () { return input.forceCompositionEnd(); });\n\n    on(div, \"input\", function () {\n      if (!this$1.composing) { this$1.readFromDOMSoon(); }\n    });\n\n    function onCopyCut(e) {\n      if (!belongsToInput(e) || signalDOMEvent(cm, e)) { return }\n      if (cm.somethingSelected()) {\n        setLastCopied({lineWise: false, text: cm.getSelections()});\n        if (e.type == \"cut\") { cm.replaceSelection(\"\", null, \"cut\"); }\n      } else if (!cm.options.lineWiseCopyCut) {\n        return\n      } else {\n        var ranges = copyableRanges(cm);\n        setLastCopied({lineWise: true, text: ranges.text});\n        if (e.type == \"cut\") {\n          cm.operation(function () {\n            cm.setSelections(ranges.ranges, 0, sel_dontScroll);\n            cm.replaceSelection(\"\", null, \"cut\");\n          });\n        }\n      }\n      if (e.clipboardData) {\n        e.clipboardData.clearData();\n        var content = lastCopied.text.join(\"\\n\");\n        // iOS exposes the clipboard API, but seems to discard content inserted into it\n        e.clipboardData.setData(\"Text\", content);\n        if (e.clipboardData.getData(\"Text\") == content) {\n          e.preventDefault();\n          return\n        }\n      }\n      // Old-fashioned briefly-focus-a-textarea hack\n      var kludge = hiddenTextarea(), te = kludge.firstChild;\n      cm.display.lineSpace.insertBefore(kludge, cm.display.lineSpace.firstChild);\n      te.value = lastCopied.text.join(\"\\n\");\n      var hadFocus = activeElt();\n      selectInput(te);\n      setTimeout(function () {\n        cm.display.lineSpace.removeChild(kludge);\n        hadFocus.focus();\n        if (hadFocus == div) { input.showPrimarySelection(); }\n      }, 50);\n    }\n    on(div, \"copy\", onCopyCut);\n    on(div, \"cut\", onCopyCut);\n  };\n\n  ContentEditableInput.prototype.screenReaderLabelChanged = function (label) {\n    // Label for screenreaders, accessibility\n    if(label) {\n      this.div.setAttribute('aria-label', label);\n    } else {\n      this.div.removeAttribute('aria-label');\n    }\n  };\n\n  ContentEditableInput.prototype.prepareSelection = function () {\n    var result = prepareSelection(this.cm, false);\n    result.focus = activeElt() == this.div;\n    return result\n  };\n\n  ContentEditableInput.prototype.showSelection = function (info, takeFocus) {\n    if (!info || !this.cm.display.view.length) { return }\n    if (info.focus || takeFocus) { this.showPrimarySelection(); }\n    this.showMultipleSelections(info);\n  };\n\n  ContentEditableInput.prototype.getSelection = function () {\n    return this.cm.display.wrapper.ownerDocument.getSelection()\n  };\n\n  ContentEditableInput.prototype.showPrimarySelection = function () {\n    var sel = this.getSelection(), cm = this.cm, prim = cm.doc.sel.primary();\n    var from = prim.from(), to = prim.to();\n\n    if (cm.display.viewTo == cm.display.viewFrom || from.line >= cm.display.viewTo || to.line < cm.display.viewFrom) {\n      sel.removeAllRanges();\n      return\n    }\n\n    var curAnchor = domToPos(cm, sel.anchorNode, sel.anchorOffset);\n    var curFocus = domToPos(cm, sel.focusNode, sel.focusOffset);\n    if (curAnchor && !curAnchor.bad && curFocus && !curFocus.bad &&\n        cmp(minPos(curAnchor, curFocus), from) == 0 &&\n        cmp(maxPos(curAnchor, curFocus), to) == 0)\n      { return }\n\n    var view = cm.display.view;\n    var start = (from.line >= cm.display.viewFrom && posToDOM(cm, from)) ||\n        {node: view[0].measure.map[2], offset: 0};\n    var end = to.line < cm.display.viewTo && posToDOM(cm, to);\n    if (!end) {\n      var measure = view[view.length - 1].measure;\n      var map = measure.maps ? measure.maps[measure.maps.length - 1] : measure.map;\n      end = {node: map[map.length - 1], offset: map[map.length - 2] - map[map.length - 3]};\n    }\n\n    if (!start || !end) {\n      sel.removeAllRanges();\n      return\n    }\n\n    var old = sel.rangeCount && sel.getRangeAt(0), rng;\n    try { rng = range(start.node, start.offset, end.offset, end.node); }\n    catch(e) {} // Our model of the DOM might be outdated, in which case the range we try to set can be impossible\n    if (rng) {\n      if (!gecko && cm.state.focused) {\n        sel.collapse(start.node, start.offset);\n        if (!rng.collapsed) {\n          sel.removeAllRanges();\n          sel.addRange(rng);\n        }\n      } else {\n        sel.removeAllRanges();\n        sel.addRange(rng);\n      }\n      if (old && sel.anchorNode == null) { sel.addRange(old); }\n      else if (gecko) { this.startGracePeriod(); }\n    }\n    this.rememberSelection();\n  };\n\n  ContentEditableInput.prototype.startGracePeriod = function () {\n      var this$1 = this;\n\n    clearTimeout(this.gracePeriod);\n    this.gracePeriod = setTimeout(function () {\n      this$1.gracePeriod = false;\n      if (this$1.selectionChanged())\n        { this$1.cm.operation(function () { return this$1.cm.curOp.selectionChanged = true; }); }\n    }, 20);\n  };\n\n  ContentEditableInput.prototype.showMultipleSelections = function (info) {\n    removeChildrenAndAdd(this.cm.display.cursorDiv, info.cursors);\n    removeChildrenAndAdd(this.cm.display.selectionDiv, info.selection);\n  };\n\n  ContentEditableInput.prototype.rememberSelection = function () {\n    var sel = this.getSelection();\n    this.lastAnchorNode = sel.anchorNode; this.lastAnchorOffset = sel.anchorOffset;\n    this.lastFocusNode = sel.focusNode; this.lastFocusOffset = sel.focusOffset;\n  };\n\n  ContentEditableInput.prototype.selectionInEditor = function () {\n    var sel = this.getSelection();\n    if (!sel.rangeCount) { return false }\n    var node = sel.getRangeAt(0).commonAncestorContainer;\n    return contains(this.div, node)\n  };\n\n  ContentEditableInput.prototype.focus = function () {\n    if (this.cm.options.readOnly != \"nocursor\") {\n      if (!this.selectionInEditor() || activeElt() != this.div)\n        { this.showSelection(this.prepareSelection(), true); }\n      this.div.focus();\n    }\n  };\n  ContentEditableInput.prototype.blur = function () { this.div.blur(); };\n  ContentEditableInput.prototype.getField = function () { return this.div };\n\n  ContentEditableInput.prototype.supportsTouch = function () { return true };\n\n  ContentEditableInput.prototype.receivedFocus = function () {\n      var this$1 = this;\n\n    var input = this;\n    if (this.selectionInEditor())\n      { setTimeout(function () { return this$1.pollSelection(); }, 20); }\n    else\n      { runInOp(this.cm, function () { return input.cm.curOp.selectionChanged = true; }); }\n\n    function poll() {\n      if (input.cm.state.focused) {\n        input.pollSelection();\n        input.polling.set(input.cm.options.pollInterval, poll);\n      }\n    }\n    this.polling.set(this.cm.options.pollInterval, poll);\n  };\n\n  ContentEditableInput.prototype.selectionChanged = function () {\n    var sel = this.getSelection();\n    return sel.anchorNode != this.lastAnchorNode || sel.anchorOffset != this.lastAnchorOffset ||\n      sel.focusNode != this.lastFocusNode || sel.focusOffset != this.lastFocusOffset\n  };\n\n  ContentEditableInput.prototype.pollSelection = function () {\n    if (this.readDOMTimeout != null || this.gracePeriod || !this.selectionChanged()) { return }\n    var sel = this.getSelection(), cm = this.cm;\n    // On Android Chrome (version 56, at least), backspacing into an\n    // uneditable block element will put the cursor in that element,\n    // and then, because it's not editable, hide the virtual keyboard.\n    // Because Android doesn't allow us to actually detect backspace\n    // presses in a sane way, this code checks for when that happens\n    // and simulates a backspace press in this case.\n    if (android && chrome && this.cm.display.gutterSpecs.length && isInGutter(sel.anchorNode)) {\n      this.cm.triggerOnKeyDown({type: \"keydown\", keyCode: 8, preventDefault: Math.abs});\n      this.blur();\n      this.focus();\n      return\n    }\n    if (this.composing) { return }\n    this.rememberSelection();\n    var anchor = domToPos(cm, sel.anchorNode, sel.anchorOffset);\n    var head = domToPos(cm, sel.focusNode, sel.focusOffset);\n    if (anchor && head) { runInOp(cm, function () {\n      setSelection(cm.doc, simpleSelection(anchor, head), sel_dontScroll);\n      if (anchor.bad || head.bad) { cm.curOp.selectionChanged = true; }\n    }); }\n  };\n\n  ContentEditableInput.prototype.pollContent = function () {\n    if (this.readDOMTimeout != null) {\n      clearTimeout(this.readDOMTimeout);\n      this.readDOMTimeout = null;\n    }\n\n    var cm = this.cm, display = cm.display, sel = cm.doc.sel.primary();\n    var from = sel.from(), to = sel.to();\n    if (from.ch == 0 && from.line > cm.firstLine())\n      { from = Pos(from.line - 1, getLine(cm.doc, from.line - 1).length); }\n    if (to.ch == getLine(cm.doc, to.line).text.length && to.line < cm.lastLine())\n      { to = Pos(to.line + 1, 0); }\n    if (from.line < display.viewFrom || to.line > display.viewTo - 1) { return false }\n\n    var fromIndex, fromLine, fromNode;\n    if (from.line == display.viewFrom || (fromIndex = findViewIndex(cm, from.line)) == 0) {\n      fromLine = lineNo(display.view[0].line);\n      fromNode = display.view[0].node;\n    } else {\n      fromLine = lineNo(display.view[fromIndex].line);\n      fromNode = display.view[fromIndex - 1].node.nextSibling;\n    }\n    var toIndex = findViewIndex(cm, to.line);\n    var toLine, toNode;\n    if (toIndex == display.view.length - 1) {\n      toLine = display.viewTo - 1;\n      toNode = display.lineDiv.lastChild;\n    } else {\n      toLine = lineNo(display.view[toIndex + 1].line) - 1;\n      toNode = display.view[toIndex + 1].node.previousSibling;\n    }\n\n    if (!fromNode) { return false }\n    var newText = cm.doc.splitLines(domTextBetween(cm, fromNode, toNode, fromLine, toLine));\n    var oldText = getBetween(cm.doc, Pos(fromLine, 0), Pos(toLine, getLine(cm.doc, toLine).text.length));\n    while (newText.length > 1 && oldText.length > 1) {\n      if (lst(newText) == lst(oldText)) { newText.pop(); oldText.pop(); toLine--; }\n      else if (newText[0] == oldText[0]) { newText.shift(); oldText.shift(); fromLine++; }\n      else { break }\n    }\n\n    var cutFront = 0, cutEnd = 0;\n    var newTop = newText[0], oldTop = oldText[0], maxCutFront = Math.min(newTop.length, oldTop.length);\n    while (cutFront < maxCutFront && newTop.charCodeAt(cutFront) == oldTop.charCodeAt(cutFront))\n      { ++cutFront; }\n    var newBot = lst(newText), oldBot = lst(oldText);\n    var maxCutEnd = Math.min(newBot.length - (newText.length == 1 ? cutFront : 0),\n                             oldBot.length - (oldText.length == 1 ? cutFront : 0));\n    while (cutEnd < maxCutEnd &&\n           newBot.charCodeAt(newBot.length - cutEnd - 1) == oldBot.charCodeAt(oldBot.length - cutEnd - 1))\n      { ++cutEnd; }\n    // Try to move start of change to start of selection if ambiguous\n    if (newText.length == 1 && oldText.length == 1 && fromLine == from.line) {\n      while (cutFront && cutFront > from.ch &&\n             newBot.charCodeAt(newBot.length - cutEnd - 1) == oldBot.charCodeAt(oldBot.length - cutEnd - 1)) {\n        cutFront--;\n        cutEnd++;\n      }\n    }\n\n    newText[newText.length - 1] = newBot.slice(0, newBot.length - cutEnd).replace(/^\\u200b+/, \"\");\n    newText[0] = newText[0].slice(cutFront).replace(/\\u200b+$/, \"\");\n\n    var chFrom = Pos(fromLine, cutFront);\n    var chTo = Pos(toLine, oldText.length ? lst(oldText).length - cutEnd : 0);\n    if (newText.length > 1 || newText[0] || cmp(chFrom, chTo)) {\n      replaceRange(cm.doc, newText, chFrom, chTo, \"+input\");\n      return true\n    }\n  };\n\n  ContentEditableInput.prototype.ensurePolled = function () {\n    this.forceCompositionEnd();\n  };\n  ContentEditableInput.prototype.reset = function () {\n    this.forceCompositionEnd();\n  };\n  ContentEditableInput.prototype.forceCompositionEnd = function () {\n    if (!this.composing) { return }\n    clearTimeout(this.readDOMTimeout);\n    this.composing = null;\n    this.updateFromDOM();\n    this.div.blur();\n    this.div.focus();\n  };\n  ContentEditableInput.prototype.readFromDOMSoon = function () {\n      var this$1 = this;\n\n    if (this.readDOMTimeout != null) { return }\n    this.readDOMTimeout = setTimeout(function () {\n      this$1.readDOMTimeout = null;\n      if (this$1.composing) {\n        if (this$1.composing.done) { this$1.composing = null; }\n        else { return }\n      }\n      this$1.updateFromDOM();\n    }, 80);\n  };\n\n  ContentEditableInput.prototype.updateFromDOM = function () {\n      var this$1 = this;\n\n    if (this.cm.isReadOnly() || !this.pollContent())\n      { runInOp(this.cm, function () { return regChange(this$1.cm); }); }\n  };\n\n  ContentEditableInput.prototype.setUneditable = function (node) {\n    node.contentEditable = \"false\";\n  };\n\n  ContentEditableInput.prototype.onKeyPress = function (e) {\n    if (e.charCode == 0 || this.composing) { return }\n    e.preventDefault();\n    if (!this.cm.isReadOnly())\n      { operation(this.cm, applyTextInput)(this.cm, String.fromCharCode(e.charCode == null ? e.keyCode : e.charCode), 0); }\n  };\n\n  ContentEditableInput.prototype.readOnlyChanged = function (val) {\n    this.div.contentEditable = String(val != \"nocursor\");\n  };\n\n  ContentEditableInput.prototype.onContextMenu = function () {};\n  ContentEditableInput.prototype.resetPosition = function () {};\n\n  ContentEditableInput.prototype.needsContentAttribute = true;\n\n  function posToDOM(cm, pos) {\n    var view = findViewForLine(cm, pos.line);\n    if (!view || view.hidden) { return null }\n    var line = getLine(cm.doc, pos.line);\n    var info = mapFromLineView(view, line, pos.line);\n\n    var order = getOrder(line, cm.doc.direction), side = \"left\";\n    if (order) {\n      var partPos = getBidiPartAt(order, pos.ch);\n      side = partPos % 2 ? \"right\" : \"left\";\n    }\n    var result = nodeAndOffsetInLineMap(info.map, pos.ch, side);\n    result.offset = result.collapse == \"right\" ? result.end : result.start;\n    return result\n  }\n\n  function isInGutter(node) {\n    for (var scan = node; scan; scan = scan.parentNode)\n      { if (/CodeMirror-gutter-wrapper/.test(scan.className)) { return true } }\n    return false\n  }\n\n  function badPos(pos, bad) { if (bad) { pos.bad = true; } return pos }\n\n  function domTextBetween(cm, from, to, fromLine, toLine) {\n    var text = \"\", closing = false, lineSep = cm.doc.lineSeparator(), extraLinebreak = false;\n    function recognizeMarker(id) { return function (marker) { return marker.id == id; } }\n    function close() {\n      if (closing) {\n        text += lineSep;\n        if (extraLinebreak) { text += lineSep; }\n        closing = extraLinebreak = false;\n      }\n    }\n    function addText(str) {\n      if (str) {\n        close();\n        text += str;\n      }\n    }\n    function walk(node) {\n      if (node.nodeType == 1) {\n        var cmText = node.getAttribute(\"cm-text\");\n        if (cmText) {\n          addText(cmText);\n          return\n        }\n        var markerID = node.getAttribute(\"cm-marker\"), range;\n        if (markerID) {\n          var found = cm.findMarks(Pos(fromLine, 0), Pos(toLine + 1, 0), recognizeMarker(+markerID));\n          if (found.length && (range = found[0].find(0)))\n            { addText(getBetween(cm.doc, range.from, range.to).join(lineSep)); }\n          return\n        }\n        if (node.getAttribute(\"contenteditable\") == \"false\") { return }\n        var isBlock = /^(pre|div|p|li|table|br)$/i.test(node.nodeName);\n        if (!/^br$/i.test(node.nodeName) && node.textContent.length == 0) { return }\n\n        if (isBlock) { close(); }\n        for (var i = 0; i < node.childNodes.length; i++)\n          { walk(node.childNodes[i]); }\n\n        if (/^(pre|p)$/i.test(node.nodeName)) { extraLinebreak = true; }\n        if (isBlock) { closing = true; }\n      } else if (node.nodeType == 3) {\n        addText(node.nodeValue.replace(/\\u200b/g, \"\").replace(/\\u00a0/g, \" \"));\n      }\n    }\n    for (;;) {\n      walk(from);\n      if (from == to) { break }\n      from = from.nextSibling;\n      extraLinebreak = false;\n    }\n    return text\n  }\n\n  function domToPos(cm, node, offset) {\n    var lineNode;\n    if (node == cm.display.lineDiv) {\n      lineNode = cm.display.lineDiv.childNodes[offset];\n      if (!lineNode) { return badPos(cm.clipPos(Pos(cm.display.viewTo - 1)), true) }\n      node = null; offset = 0;\n    } else {\n      for (lineNode = node;; lineNode = lineNode.parentNode) {\n        if (!lineNode || lineNode == cm.display.lineDiv) { return null }\n        if (lineNode.parentNode && lineNode.parentNode == cm.display.lineDiv) { break }\n      }\n    }\n    for (var i = 0; i < cm.display.view.length; i++) {\n      var lineView = cm.display.view[i];\n      if (lineView.node == lineNode)\n        { return locateNodeInLineView(lineView, node, offset) }\n    }\n  }\n\n  function locateNodeInLineView(lineView, node, offset) {\n    var wrapper = lineView.text.firstChild, bad = false;\n    if (!node || !contains(wrapper, node)) { return badPos(Pos(lineNo(lineView.line), 0), true) }\n    if (node == wrapper) {\n      bad = true;\n      node = wrapper.childNodes[offset];\n      offset = 0;\n      if (!node) {\n        var line = lineView.rest ? lst(lineView.rest) : lineView.line;\n        return badPos(Pos(lineNo(line), line.text.length), bad)\n      }\n    }\n\n    var textNode = node.nodeType == 3 ? node : null, topNode = node;\n    if (!textNode && node.childNodes.length == 1 && node.firstChild.nodeType == 3) {\n      textNode = node.firstChild;\n      if (offset) { offset = textNode.nodeValue.length; }\n    }\n    while (topNode.parentNode != wrapper) { topNode = topNode.parentNode; }\n    var measure = lineView.measure, maps = measure.maps;\n\n    function find(textNode, topNode, offset) {\n      for (var i = -1; i < (maps ? maps.length : 0); i++) {\n        var map = i < 0 ? measure.map : maps[i];\n        for (var j = 0; j < map.length; j += 3) {\n          var curNode = map[j + 2];\n          if (curNode == textNode || curNode == topNode) {\n            var line = lineNo(i < 0 ? lineView.line : lineView.rest[i]);\n            var ch = map[j] + offset;\n            if (offset < 0 || curNode != textNode) { ch = map[j + (offset ? 1 : 0)]; }\n            return Pos(line, ch)\n          }\n        }\n      }\n    }\n    var found = find(textNode, topNode, offset);\n    if (found) { return badPos(found, bad) }\n\n    // FIXME this is all really shaky. might handle the few cases it needs to handle, but likely to cause problems\n    for (var after = topNode.nextSibling, dist = textNode ? textNode.nodeValue.length - offset : 0; after; after = after.nextSibling) {\n      found = find(after, after.firstChild, 0);\n      if (found)\n        { return badPos(Pos(found.line, found.ch - dist), bad) }\n      else\n        { dist += after.textContent.length; }\n    }\n    for (var before = topNode.previousSibling, dist$1 = offset; before; before = before.previousSibling) {\n      found = find(before, before.firstChild, -1);\n      if (found)\n        { return badPos(Pos(found.line, found.ch + dist$1), bad) }\n      else\n        { dist$1 += before.textContent.length; }\n    }\n  }\n\n  // TEXTAREA INPUT STYLE\n\n  var TextareaInput = function(cm) {\n    this.cm = cm;\n    // See input.poll and input.reset\n    this.prevInput = \"\";\n\n    // Flag that indicates whether we expect input to appear real soon\n    // now (after some event like 'keypress' or 'input') and are\n    // polling intensively.\n    this.pollingFast = false;\n    // Self-resetting timeout for the poller\n    this.polling = new Delayed();\n    // Used to work around IE issue with selection being forgotten when focus moves away from textarea\n    this.hasSelection = false;\n    this.composing = null;\n  };\n\n  TextareaInput.prototype.init = function (display) {\n      var this$1 = this;\n\n    var input = this, cm = this.cm;\n    this.createField(display);\n    var te = this.textarea;\n\n    display.wrapper.insertBefore(this.wrapper, display.wrapper.firstChild);\n\n    // Needed to hide big blue blinking cursor on Mobile Safari (doesn't seem to work in iOS 8 anymore)\n    if (ios) { te.style.width = \"0px\"; }\n\n    on(te, \"input\", function () {\n      if (ie && ie_version >= 9 && this$1.hasSelection) { this$1.hasSelection = null; }\n      input.poll();\n    });\n\n    on(te, \"paste\", function (e) {\n      if (signalDOMEvent(cm, e) || handlePaste(e, cm)) { return }\n\n      cm.state.pasteIncoming = +new Date;\n      input.fastPoll();\n    });\n\n    function prepareCopyCut(e) {\n      if (signalDOMEvent(cm, e)) { return }\n      if (cm.somethingSelected()) {\n        setLastCopied({lineWise: false, text: cm.getSelections()});\n      } else if (!cm.options.lineWiseCopyCut) {\n        return\n      } else {\n        var ranges = copyableRanges(cm);\n        setLastCopied({lineWise: true, text: ranges.text});\n        if (e.type == \"cut\") {\n          cm.setSelections(ranges.ranges, null, sel_dontScroll);\n        } else {\n          input.prevInput = \"\";\n          te.value = ranges.text.join(\"\\n\");\n          selectInput(te);\n        }\n      }\n      if (e.type == \"cut\") { cm.state.cutIncoming = +new Date; }\n    }\n    on(te, \"cut\", prepareCopyCut);\n    on(te, \"copy\", prepareCopyCut);\n\n    on(display.scroller, \"paste\", function (e) {\n      if (eventInWidget(display, e) || signalDOMEvent(cm, e)) { return }\n      if (!te.dispatchEvent) {\n        cm.state.pasteIncoming = +new Date;\n        input.focus();\n        return\n      }\n\n      // Pass the `paste` event to the textarea so it's handled by its event listener.\n      var event = new Event(\"paste\");\n      event.clipboardData = e.clipboardData;\n      te.dispatchEvent(event);\n    });\n\n    // Prevent normal selection in the editor (we handle our own)\n    on(display.lineSpace, \"selectstart\", function (e) {\n      if (!eventInWidget(display, e)) { e_preventDefault(e); }\n    });\n\n    on(te, \"compositionstart\", function () {\n      var start = cm.getCursor(\"from\");\n      if (input.composing) { input.composing.range.clear(); }\n      input.composing = {\n        start: start,\n        range: cm.markText(start, cm.getCursor(\"to\"), {className: \"CodeMirror-composing\"})\n      };\n    });\n    on(te, \"compositionend\", function () {\n      if (input.composing) {\n        input.poll();\n        input.composing.range.clear();\n        input.composing = null;\n      }\n    });\n  };\n\n  TextareaInput.prototype.createField = function (_display) {\n    // Wraps and hides input textarea\n    this.wrapper = hiddenTextarea();\n    // The semihidden textarea that is focused when the editor is\n    // focused, and receives input.\n    this.textarea = this.wrapper.firstChild;\n  };\n\n  TextareaInput.prototype.screenReaderLabelChanged = function (label) {\n    // Label for screenreaders, accessibility\n    if(label) {\n      this.textarea.setAttribute('aria-label', label);\n    } else {\n      this.textarea.removeAttribute('aria-label');\n    }\n  };\n\n  TextareaInput.prototype.prepareSelection = function () {\n    // Redraw the selection and/or cursor\n    var cm = this.cm, display = cm.display, doc = cm.doc;\n    var result = prepareSelection(cm);\n\n    // Move the hidden textarea near the cursor to prevent scrolling artifacts\n    if (cm.options.moveInputWithCursor) {\n      var headPos = cursorCoords(cm, doc.sel.primary().head, \"div\");\n      var wrapOff = display.wrapper.getBoundingClientRect(), lineOff = display.lineDiv.getBoundingClientRect();\n      result.teTop = Math.max(0, Math.min(display.wrapper.clientHeight - 10,\n                                          headPos.top + lineOff.top - wrapOff.top));\n      result.teLeft = Math.max(0, Math.min(display.wrapper.clientWidth - 10,\n                                           headPos.left + lineOff.left - wrapOff.left));\n    }\n\n    return result\n  };\n\n  TextareaInput.prototype.showSelection = function (drawn) {\n    var cm = this.cm, display = cm.display;\n    removeChildrenAndAdd(display.cursorDiv, drawn.cursors);\n    removeChildrenAndAdd(display.selectionDiv, drawn.selection);\n    if (drawn.teTop != null) {\n      this.wrapper.style.top = drawn.teTop + \"px\";\n      this.wrapper.style.left = drawn.teLeft + \"px\";\n    }\n  };\n\n  // Reset the input to correspond to the selection (or to be empty,\n  // when not typing and nothing is selected)\n  TextareaInput.prototype.reset = function (typing) {\n    if (this.contextMenuPending || this.composing) { return }\n    var cm = this.cm;\n    if (cm.somethingSelected()) {\n      this.prevInput = \"\";\n      var content = cm.getSelection();\n      this.textarea.value = content;\n      if (cm.state.focused) { selectInput(this.textarea); }\n      if (ie && ie_version >= 9) { this.hasSelection = content; }\n    } else if (!typing) {\n      this.prevInput = this.textarea.value = \"\";\n      if (ie && ie_version >= 9) { this.hasSelection = null; }\n    }\n  };\n\n  TextareaInput.prototype.getField = function () { return this.textarea };\n\n  TextareaInput.prototype.supportsTouch = function () { return false };\n\n  TextareaInput.prototype.focus = function () {\n    if (this.cm.options.readOnly != \"nocursor\" && (!mobile || activeElt() != this.textarea)) {\n      try { this.textarea.focus(); }\n      catch (e) {} // IE8 will throw if the textarea is display: none or not in DOM\n    }\n  };\n\n  TextareaInput.prototype.blur = function () { this.textarea.blur(); };\n\n  TextareaInput.prototype.resetPosition = function () {\n    this.wrapper.style.top = this.wrapper.style.left = 0;\n  };\n\n  TextareaInput.prototype.receivedFocus = function () { this.slowPoll(); };\n\n  // Poll for input changes, using the normal rate of polling. This\n  // runs as long as the editor is focused.\n  TextareaInput.prototype.slowPoll = function () {\n      var this$1 = this;\n\n    if (this.pollingFast) { return }\n    this.polling.set(this.cm.options.pollInterval, function () {\n      this$1.poll();\n      if (this$1.cm.state.focused) { this$1.slowPoll(); }\n    });\n  };\n\n  // When an event has just come in that is likely to add or change\n  // something in the input textarea, we poll faster, to ensure that\n  // the change appears on the screen quickly.\n  TextareaInput.prototype.fastPoll = function () {\n    var missed = false, input = this;\n    input.pollingFast = true;\n    function p() {\n      var changed = input.poll();\n      if (!changed && !missed) {missed = true; input.polling.set(60, p);}\n      else {input.pollingFast = false; input.slowPoll();}\n    }\n    input.polling.set(20, p);\n  };\n\n  // Read input from the textarea, and update the document to match.\n  // When something is selected, it is present in the textarea, and\n  // selected (unless it is huge, in which case a placeholder is\n  // used). When nothing is selected, the cursor sits after previously\n  // seen text (can be empty), which is stored in prevInput (we must\n  // not reset the textarea when typing, because that breaks IME).\n  TextareaInput.prototype.poll = function () {\n      var this$1 = this;\n\n    var cm = this.cm, input = this.textarea, prevInput = this.prevInput;\n    // Since this is called a *lot*, try to bail out as cheaply as\n    // possible when it is clear that nothing happened. hasSelection\n    // will be the case when there is a lot of text in the textarea,\n    // in which case reading its value would be expensive.\n    if (this.contextMenuPending || !cm.state.focused ||\n        (hasSelection(input) && !prevInput && !this.composing) ||\n        cm.isReadOnly() || cm.options.disableInput || cm.state.keySeq)\n      { return false }\n\n    var text = input.value;\n    // If nothing changed, bail.\n    if (text == prevInput && !cm.somethingSelected()) { return false }\n    // Work around nonsensical selection resetting in IE9/10, and\n    // inexplicable appearance of private area unicode characters on\n    // some key combos in Mac (#2689).\n    if (ie && ie_version >= 9 && this.hasSelection === text ||\n        mac && /[\\uf700-\\uf7ff]/.test(text)) {\n      cm.display.input.reset();\n      return false\n    }\n\n    if (cm.doc.sel == cm.display.selForContextMenu) {\n      var first = text.charCodeAt(0);\n      if (first == 0x200b && !prevInput) { prevInput = \"\\u200b\"; }\n      if (first == 0x21da) { this.reset(); return this.cm.execCommand(\"undo\") }\n    }\n    // Find the part of the input that is actually new\n    var same = 0, l = Math.min(prevInput.length, text.length);\n    while (same < l && prevInput.charCodeAt(same) == text.charCodeAt(same)) { ++same; }\n\n    runInOp(cm, function () {\n      applyTextInput(cm, text.slice(same), prevInput.length - same,\n                     null, this$1.composing ? \"*compose\" : null);\n\n      // Don't leave long text in the textarea, since it makes further polling slow\n      if (text.length > 1000 || text.indexOf(\"\\n\") > -1) { input.value = this$1.prevInput = \"\"; }\n      else { this$1.prevInput = text; }\n\n      if (this$1.composing) {\n        this$1.composing.range.clear();\n        this$1.composing.range = cm.markText(this$1.composing.start, cm.getCursor(\"to\"),\n                                           {className: \"CodeMirror-composing\"});\n      }\n    });\n    return true\n  };\n\n  TextareaInput.prototype.ensurePolled = function () {\n    if (this.pollingFast && this.poll()) { this.pollingFast = false; }\n  };\n\n  TextareaInput.prototype.onKeyPress = function () {\n    if (ie && ie_version >= 9) { this.hasSelection = null; }\n    this.fastPoll();\n  };\n\n  TextareaInput.prototype.onContextMenu = function (e) {\n    var input = this, cm = input.cm, display = cm.display, te = input.textarea;\n    if (input.contextMenuPending) { input.contextMenuPending(); }\n    var pos = posFromMouse(cm, e), scrollPos = display.scroller.scrollTop;\n    if (!pos || presto) { return } // Opera is difficult.\n\n    // Reset the current text selection only if the click is done outside of the selection\n    // and 'resetSelectionOnContextMenu' option is true.\n    var reset = cm.options.resetSelectionOnContextMenu;\n    if (reset && cm.doc.sel.contains(pos) == -1)\n      { operation(cm, setSelection)(cm.doc, simpleSelection(pos), sel_dontScroll); }\n\n    var oldCSS = te.style.cssText, oldWrapperCSS = input.wrapper.style.cssText;\n    var wrapperBox = input.wrapper.offsetParent.getBoundingClientRect();\n    input.wrapper.style.cssText = \"position: static\";\n    te.style.cssText = \"position: absolute; width: 30px; height: 30px;\\n      top: \" + (e.clientY - wrapperBox.top - 5) + \"px; left: \" + (e.clientX - wrapperBox.left - 5) + \"px;\\n      z-index: 1000; background: \" + (ie ? \"rgba(255, 255, 255, .05)\" : \"transparent\") + \";\\n      outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);\";\n    var oldScrollY;\n    if (webkit) { oldScrollY = window.scrollY; } // Work around Chrome issue (#2712)\n    display.input.focus();\n    if (webkit) { window.scrollTo(null, oldScrollY); }\n    display.input.reset();\n    // Adds \"Select all\" to context menu in FF\n    if (!cm.somethingSelected()) { te.value = input.prevInput = \" \"; }\n    input.contextMenuPending = rehide;\n    display.selForContextMenu = cm.doc.sel;\n    clearTimeout(display.detectingSelectAll);\n\n    // Select-all will be greyed out if there's nothing to select, so\n    // this adds a zero-width space so that we can later check whether\n    // it got selected.\n    function prepareSelectAllHack() {\n      if (te.selectionStart != null) {\n        var selected = cm.somethingSelected();\n        var extval = \"\\u200b\" + (selected ? te.value : \"\");\n        te.value = \"\\u21da\"; // Used to catch context-menu undo\n        te.value = extval;\n        input.prevInput = selected ? \"\" : \"\\u200b\";\n        te.selectionStart = 1; te.selectionEnd = extval.length;\n        // Re-set this, in case some other handler touched the\n        // selection in the meantime.\n        display.selForContextMenu = cm.doc.sel;\n      }\n    }\n    function rehide() {\n      if (input.contextMenuPending != rehide) { return }\n      input.contextMenuPending = false;\n      input.wrapper.style.cssText = oldWrapperCSS;\n      te.style.cssText = oldCSS;\n      if (ie && ie_version < 9) { display.scrollbars.setScrollTop(display.scroller.scrollTop = scrollPos); }\n\n      // Try to detect the user choosing select-all\n      if (te.selectionStart != null) {\n        if (!ie || (ie && ie_version < 9)) { prepareSelectAllHack(); }\n        var i = 0, poll = function () {\n          if (display.selForContextMenu == cm.doc.sel && te.selectionStart == 0 &&\n              te.selectionEnd > 0 && input.prevInput == \"\\u200b\") {\n            operation(cm, selectAll)(cm);\n          } else if (i++ < 10) {\n            display.detectingSelectAll = setTimeout(poll, 500);\n          } else {\n            display.selForContextMenu = null;\n            display.input.reset();\n          }\n        };\n        display.detectingSelectAll = setTimeout(poll, 200);\n      }\n    }\n\n    if (ie && ie_version >= 9) { prepareSelectAllHack(); }\n    if (captureRightClick) {\n      e_stop(e);\n      var mouseup = function () {\n        off(window, \"mouseup\", mouseup);\n        setTimeout(rehide, 20);\n      };\n      on(window, \"mouseup\", mouseup);\n    } else {\n      setTimeout(rehide, 50);\n    }\n  };\n\n  TextareaInput.prototype.readOnlyChanged = function (val) {\n    if (!val) { this.reset(); }\n    this.textarea.disabled = val == \"nocursor\";\n    this.textarea.readOnly = !!val;\n  };\n\n  TextareaInput.prototype.setUneditable = function () {};\n\n  TextareaInput.prototype.needsContentAttribute = false;\n\n  function fromTextArea(textarea, options) {\n    options = options ? copyObj(options) : {};\n    options.value = textarea.value;\n    if (!options.tabindex && textarea.tabIndex)\n      { options.tabindex = textarea.tabIndex; }\n    if (!options.placeholder && textarea.placeholder)\n      { options.placeholder = textarea.placeholder; }\n    // Set autofocus to true if this textarea is focused, or if it has\n    // autofocus and no other element is focused.\n    if (options.autofocus == null) {\n      var hasFocus = activeElt();\n      options.autofocus = hasFocus == textarea ||\n        textarea.getAttribute(\"autofocus\") != null && hasFocus == document.body;\n    }\n\n    function save() {textarea.value = cm.getValue();}\n\n    var realSubmit;\n    if (textarea.form) {\n      on(textarea.form, \"submit\", save);\n      // Deplorable hack to make the submit method do the right thing.\n      if (!options.leaveSubmitMethodAlone) {\n        var form = textarea.form;\n        realSubmit = form.submit;\n        try {\n          var wrappedSubmit = form.submit = function () {\n            save();\n            form.submit = realSubmit;\n            form.submit();\n            form.submit = wrappedSubmit;\n          };\n        } catch(e) {}\n      }\n    }\n\n    options.finishInit = function (cm) {\n      cm.save = save;\n      cm.getTextArea = function () { return textarea; };\n      cm.toTextArea = function () {\n        cm.toTextArea = isNaN; // Prevent this from being ran twice\n        save();\n        textarea.parentNode.removeChild(cm.getWrapperElement());\n        textarea.style.display = \"\";\n        if (textarea.form) {\n          off(textarea.form, \"submit\", save);\n          if (!options.leaveSubmitMethodAlone && typeof textarea.form.submit == \"function\")\n            { textarea.form.submit = realSubmit; }\n        }\n      };\n    };\n\n    textarea.style.display = \"none\";\n    var cm = CodeMirror(function (node) { return textarea.parentNode.insertBefore(node, textarea.nextSibling); },\n      options);\n    return cm\n  }\n\n  function addLegacyProps(CodeMirror) {\n    CodeMirror.off = off;\n    CodeMirror.on = on;\n    CodeMirror.wheelEventPixels = wheelEventPixels;\n    CodeMirror.Doc = Doc;\n    CodeMirror.splitLines = splitLinesAuto;\n    CodeMirror.countColumn = countColumn;\n    CodeMirror.findColumn = findColumn;\n    CodeMirror.isWordChar = isWordCharBasic;\n    CodeMirror.Pass = Pass;\n    CodeMirror.signal = signal;\n    CodeMirror.Line = Line;\n    CodeMirror.changeEnd = changeEnd;\n    CodeMirror.scrollbarModel = scrollbarModel;\n    CodeMirror.Pos = Pos;\n    CodeMirror.cmpPos = cmp;\n    CodeMirror.modes = modes;\n    CodeMirror.mimeModes = mimeModes;\n    CodeMirror.resolveMode = resolveMode;\n    CodeMirror.getMode = getMode;\n    CodeMirror.modeExtensions = modeExtensions;\n    CodeMirror.extendMode = extendMode;\n    CodeMirror.copyState = copyState;\n    CodeMirror.startState = startState;\n    CodeMirror.innerMode = innerMode;\n    CodeMirror.commands = commands;\n    CodeMirror.keyMap = keyMap;\n    CodeMirror.keyName = keyName;\n    CodeMirror.isModifierKey = isModifierKey;\n    CodeMirror.lookupKey = lookupKey;\n    CodeMirror.normalizeKeyMap = normalizeKeyMap;\n    CodeMirror.StringStream = StringStream;\n    CodeMirror.SharedTextMarker = SharedTextMarker;\n    CodeMirror.TextMarker = TextMarker;\n    CodeMirror.LineWidget = LineWidget;\n    CodeMirror.e_preventDefault = e_preventDefault;\n    CodeMirror.e_stopPropagation = e_stopPropagation;\n    CodeMirror.e_stop = e_stop;\n    CodeMirror.addClass = addClass;\n    CodeMirror.contains = contains;\n    CodeMirror.rmClass = rmClass;\n    CodeMirror.keyNames = keyNames;\n  }\n\n  // EDITOR CONSTRUCTOR\n\n  defineOptions(CodeMirror);\n\n  addEditorMethods(CodeMirror);\n\n  // Set up methods on CodeMirror's prototype to redirect to the editor's document.\n  var dontDelegate = \"iter insert remove copy getEditor constructor\".split(\" \");\n  for (var prop in Doc.prototype) { if (Doc.prototype.hasOwnProperty(prop) && indexOf(dontDelegate, prop) < 0)\n    { CodeMirror.prototype[prop] = (function(method) {\n      return function() {return method.apply(this.doc, arguments)}\n    })(Doc.prototype[prop]); } }\n\n  eventMixin(Doc);\n  CodeMirror.inputStyles = {\"textarea\": TextareaInput, \"contenteditable\": ContentEditableInput};\n\n  // Extra arguments are stored as the mode's dependencies, which is\n  // used by (legacy) mechanisms like loadmode.js to automatically\n  // load a mode. (Preferred mechanism is the require/define calls.)\n  CodeMirror.defineMode = function(name/*, mode, …*/) {\n    if (!CodeMirror.defaults.mode && name != \"null\") { CodeMirror.defaults.mode = name; }\n    defineMode.apply(this, arguments);\n  };\n\n  CodeMirror.defineMIME = defineMIME;\n\n  // Minimal default mode.\n  CodeMirror.defineMode(\"null\", function () { return ({token: function (stream) { return stream.skipToEnd(); }}); });\n  CodeMirror.defineMIME(\"text/plain\", \"null\");\n\n  // EXTENSIONS\n\n  CodeMirror.defineExtension = function (name, func) {\n    CodeMirror.prototype[name] = func;\n  };\n  CodeMirror.defineDocExtension = function (name, func) {\n    Doc.prototype[name] = func;\n  };\n\n  CodeMirror.fromTextArea = fromTextArea;\n\n  addLegacyProps(CodeMirror);\n\n  CodeMirror.version = \"5.63.0\";\n\n  return CodeMirror;\n\n})));\n","// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: https://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"css\", function(config, parserConfig) {\n  var inline = parserConfig.inline\n  if (!parserConfig.propertyKeywords) parserConfig = CodeMirror.resolveMode(\"text/css\");\n\n  var indentUnit = config.indentUnit,\n      tokenHooks = parserConfig.tokenHooks,\n      documentTypes = parserConfig.documentTypes || {},\n      mediaTypes = parserConfig.mediaTypes || {},\n      mediaFeatures = parserConfig.mediaFeatures || {},\n      mediaValueKeywords = parserConfig.mediaValueKeywords || {},\n      propertyKeywords = parserConfig.propertyKeywords || {},\n      nonStandardPropertyKeywords = parserConfig.nonStandardPropertyKeywords || {},\n      fontProperties = parserConfig.fontProperties || {},\n      counterDescriptors = parserConfig.counterDescriptors || {},\n      colorKeywords = parserConfig.colorKeywords || {},\n      valueKeywords = parserConfig.valueKeywords || {},\n      allowNested = parserConfig.allowNested,\n      lineComment = parserConfig.lineComment,\n      supportsAtComponent = parserConfig.supportsAtComponent === true,\n      highlightNonStandardPropertyKeywords = config.highlightNonStandardPropertyKeywords !== false;\n\n  var type, override;\n  function ret(style, tp) { type = tp; return style; }\n\n  // Tokenizers\n\n  function tokenBase(stream, state) {\n    var ch = stream.next();\n    if (tokenHooks[ch]) {\n      var result = tokenHooks[ch](stream, state);\n      if (result !== false) return result;\n    }\n    if (ch == \"@\") {\n      stream.eatWhile(/[\\w\\\\\\-]/);\n      return ret(\"def\", stream.current());\n    } else if (ch == \"=\" || (ch == \"~\" || ch == \"|\") && stream.eat(\"=\")) {\n      return ret(null, \"compare\");\n    } else if (ch == \"\\\"\" || ch == \"'\") {\n      state.tokenize = tokenString(ch);\n      return state.tokenize(stream, state);\n    } else if (ch == \"#\") {\n      stream.eatWhile(/[\\w\\\\\\-]/);\n      return ret(\"atom\", \"hash\");\n    } else if (ch == \"!\") {\n      stream.match(/^\\s*\\w*/);\n      return ret(\"keyword\", \"important\");\n    } else if (/\\d/.test(ch) || ch == \".\" && stream.eat(/\\d/)) {\n      stream.eatWhile(/[\\w.%]/);\n      return ret(\"number\", \"unit\");\n    } else if (ch === \"-\") {\n      if (/[\\d.]/.test(stream.peek())) {\n        stream.eatWhile(/[\\w.%]/);\n        return ret(\"number\", \"unit\");\n      } else if (stream.match(/^-[\\w\\\\\\-]*/)) {\n        stream.eatWhile(/[\\w\\\\\\-]/);\n        if (stream.match(/^\\s*:/, false))\n          return ret(\"variable-2\", \"variable-definition\");\n        return ret(\"variable-2\", \"variable\");\n      } else if (stream.match(/^\\w+-/)) {\n        return ret(\"meta\", \"meta\");\n      }\n    } else if (/[,+>*\\/]/.test(ch)) {\n      return ret(null, \"select-op\");\n    } else if (ch == \".\" && stream.match(/^-?[_a-z][_a-z0-9-]*/i)) {\n      return ret(\"qualifier\", \"qualifier\");\n    } else if (/[:;{}\\[\\]\\(\\)]/.test(ch)) {\n      return ret(null, ch);\n    } else if (stream.match(/^[\\w-.]+(?=\\()/)) {\n      if (/^(url(-prefix)?|domain|regexp)$/i.test(stream.current())) {\n        state.tokenize = tokenParenthesized;\n      }\n      return ret(\"variable callee\", \"variable\");\n    } else if (/[\\w\\\\\\-]/.test(ch)) {\n      stream.eatWhile(/[\\w\\\\\\-]/);\n      return ret(\"property\", \"word\");\n    } else {\n      return ret(null, null);\n    }\n  }\n\n  function tokenString(quote) {\n    return function(stream, state) {\n      var escaped = false, ch;\n      while ((ch = stream.next()) != null) {\n        if (ch == quote && !escaped) {\n          if (quote == \")\") stream.backUp(1);\n          break;\n        }\n        escaped = !escaped && ch == \"\\\\\";\n      }\n      if (ch == quote || !escaped && quote != \")\") state.tokenize = null;\n      return ret(\"string\", \"string\");\n    };\n  }\n\n  function tokenParenthesized(stream, state) {\n    stream.next(); // Must be '('\n    if (!stream.match(/^\\s*[\\\"\\')]/, false))\n      state.tokenize = tokenString(\")\");\n    else\n      state.tokenize = null;\n    return ret(null, \"(\");\n  }\n\n  // Context management\n\n  function Context(type, indent, prev) {\n    this.type = type;\n    this.indent = indent;\n    this.prev = prev;\n  }\n\n  function pushContext(state, stream, type, indent) {\n    state.context = new Context(type, stream.indentation() + (indent === false ? 0 : indentUnit), state.context);\n    return type;\n  }\n\n  function popContext(state) {\n    if (state.context.prev)\n      state.context = state.context.prev;\n    return state.context.type;\n  }\n\n  function pass(type, stream, state) {\n    return states[state.context.type](type, stream, state);\n  }\n  function popAndPass(type, stream, state, n) {\n    for (var i = n || 1; i > 0; i--)\n      state.context = state.context.prev;\n    return pass(type, stream, state);\n  }\n\n  // Parser\n\n  function wordAsValue(stream) {\n    var word = stream.current().toLowerCase();\n    if (valueKeywords.hasOwnProperty(word))\n      override = \"atom\";\n    else if (colorKeywords.hasOwnProperty(word))\n      override = \"keyword\";\n    else\n      override = \"variable\";\n  }\n\n  var states = {};\n\n  states.top = function(type, stream, state) {\n    if (type == \"{\") {\n      return pushContext(state, stream, \"block\");\n    } else if (type == \"}\" && state.context.prev) {\n      return popContext(state);\n    } else if (supportsAtComponent && /@component/i.test(type)) {\n      return pushContext(state, stream, \"atComponentBlock\");\n    } else if (/^@(-moz-)?document$/i.test(type)) {\n      return pushContext(state, stream, \"documentTypes\");\n    } else if (/^@(media|supports|(-moz-)?document|import)$/i.test(type)) {\n      return pushContext(state, stream, \"atBlock\");\n    } else if (/^@(font-face|counter-style)/i.test(type)) {\n      state.stateArg = type;\n      return \"restricted_atBlock_before\";\n    } else if (/^@(-(moz|ms|o|webkit)-)?keyframes$/i.test(type)) {\n      return \"keyframes\";\n    } else if (type && type.charAt(0) == \"@\") {\n      return pushContext(state, stream, \"at\");\n    } else if (type == \"hash\") {\n      override = \"builtin\";\n    } else if (type == \"word\") {\n      override = \"tag\";\n    } else if (type == \"variable-definition\") {\n      return \"maybeprop\";\n    } else if (type == \"interpolation\") {\n      return pushContext(state, stream, \"interpolation\");\n    } else if (type == \":\") {\n      return \"pseudo\";\n    } else if (allowNested && type == \"(\") {\n      return pushContext(state, stream, \"parens\");\n    }\n    return state.context.type;\n  };\n\n  states.block = function(type, stream, state) {\n    if (type == \"word\") {\n      var word = stream.current().toLowerCase();\n      if (propertyKeywords.hasOwnProperty(word)) {\n        override = \"property\";\n        return \"maybeprop\";\n      } else if (nonStandardPropertyKeywords.hasOwnProperty(word)) {\n        override = highlightNonStandardPropertyKeywords ? \"string-2\" : \"property\";\n        return \"maybeprop\";\n      } else if (allowNested) {\n        override = stream.match(/^\\s*:(?:\\s|$)/, false) ? \"property\" : \"tag\";\n        return \"block\";\n      } else {\n        override += \" error\";\n        return \"maybeprop\";\n      }\n    } else if (type == \"meta\") {\n      return \"block\";\n    } else if (!allowNested && (type == \"hash\" || type == \"qualifier\")) {\n      override = \"error\";\n      return \"block\";\n    } else {\n      return states.top(type, stream, state);\n    }\n  };\n\n  states.maybeprop = function(type, stream, state) {\n    if (type == \":\") return pushContext(state, stream, \"prop\");\n    return pass(type, stream, state);\n  };\n\n  states.prop = function(type, stream, state) {\n    if (type == \";\") return popContext(state);\n    if (type == \"{\" && allowNested) return pushContext(state, stream, \"propBlock\");\n    if (type == \"}\" || type == \"{\") return popAndPass(type, stream, state);\n    if (type == \"(\") return pushContext(state, stream, \"parens\");\n\n    if (type == \"hash\" && !/^#([0-9a-fA-f]{3,4}|[0-9a-fA-f]{6}|[0-9a-fA-f]{8})$/.test(stream.current())) {\n      override += \" error\";\n    } else if (type == \"word\") {\n      wordAsValue(stream);\n    } else if (type == \"interpolation\") {\n      return pushContext(state, stream, \"interpolation\");\n    }\n    return \"prop\";\n  };\n\n  states.propBlock = function(type, _stream, state) {\n    if (type == \"}\") return popContext(state);\n    if (type == \"word\") { override = \"property\"; return \"maybeprop\"; }\n    return state.context.type;\n  };\n\n  states.parens = function(type, stream, state) {\n    if (type == \"{\" || type == \"}\") return popAndPass(type, stream, state);\n    if (type == \")\") return popContext(state);\n    if (type == \"(\") return pushContext(state, stream, \"parens\");\n    if (type == \"interpolation\") return pushContext(state, stream, \"interpolation\");\n    if (type == \"word\") wordAsValue(stream);\n    return \"parens\";\n  };\n\n  states.pseudo = function(type, stream, state) {\n    if (type == \"meta\") return \"pseudo\";\n\n    if (type == \"word\") {\n      override = \"variable-3\";\n      return state.context.type;\n    }\n    return pass(type, stream, state);\n  };\n\n  states.documentTypes = function(type, stream, state) {\n    if (type == \"word\" && documentTypes.hasOwnProperty(stream.current())) {\n      override = \"tag\";\n      return state.context.type;\n    } else {\n      return states.atBlock(type, stream, state);\n    }\n  };\n\n  states.atBlock = function(type, stream, state) {\n    if (type == \"(\") return pushContext(state, stream, \"atBlock_parens\");\n    if (type == \"}\" || type == \";\") return popAndPass(type, stream, state);\n    if (type == \"{\") return popContext(state) && pushContext(state, stream, allowNested ? \"block\" : \"top\");\n\n    if (type == \"interpolation\") return pushContext(state, stream, \"interpolation\");\n\n    if (type == \"word\") {\n      var word = stream.current().toLowerCase();\n      if (word == \"only\" || word == \"not\" || word == \"and\" || word == \"or\")\n        override = \"keyword\";\n      else if (mediaTypes.hasOwnProperty(word))\n        override = \"attribute\";\n      else if (mediaFeatures.hasOwnProperty(word))\n        override = \"property\";\n      else if (mediaValueKeywords.hasOwnProperty(word))\n        override = \"keyword\";\n      else if (propertyKeywords.hasOwnProperty(word))\n        override = \"property\";\n      else if (nonStandardPropertyKeywords.hasOwnProperty(word))\n        override = highlightNonStandardPropertyKeywords ? \"string-2\" : \"property\";\n      else if (valueKeywords.hasOwnProperty(word))\n        override = \"atom\";\n      else if (colorKeywords.hasOwnProperty(word))\n        override = \"keyword\";\n      else\n        override = \"error\";\n    }\n    return state.context.type;\n  };\n\n  states.atComponentBlock = function(type, stream, state) {\n    if (type == \"}\")\n      return popAndPass(type, stream, state);\n    if (type == \"{\")\n      return popContext(state) && pushContext(state, stream, allowNested ? \"block\" : \"top\", false);\n    if (type == \"word\")\n      override = \"error\";\n    return state.context.type;\n  };\n\n  states.atBlock_parens = function(type, stream, state) {\n    if (type == \")\") return popContext(state);\n    if (type == \"{\" || type == \"}\") return popAndPass(type, stream, state, 2);\n    return states.atBlock(type, stream, state);\n  };\n\n  states.restricted_atBlock_before = function(type, stream, state) {\n    if (type == \"{\")\n      return pushContext(state, stream, \"restricted_atBlock\");\n    if (type == \"word\" && state.stateArg == \"@counter-style\") {\n      override = \"variable\";\n      return \"restricted_atBlock_before\";\n    }\n    return pass(type, stream, state);\n  };\n\n  states.restricted_atBlock = function(type, stream, state) {\n    if (type == \"}\") {\n      state.stateArg = null;\n      return popContext(state);\n    }\n    if (type == \"word\") {\n      if ((state.stateArg == \"@font-face\" && !fontProperties.hasOwnProperty(stream.current().toLowerCase())) ||\n          (state.stateArg == \"@counter-style\" && !counterDescriptors.hasOwnProperty(stream.current().toLowerCase())))\n        override = \"error\";\n      else\n        override = \"property\";\n      return \"maybeprop\";\n    }\n    return \"restricted_atBlock\";\n  };\n\n  states.keyframes = function(type, stream, state) {\n    if (type == \"word\") { override = \"variable\"; return \"keyframes\"; }\n    if (type == \"{\") return pushContext(state, stream, \"top\");\n    return pass(type, stream, state);\n  };\n\n  states.at = function(type, stream, state) {\n    if (type == \";\") return popContext(state);\n    if (type == \"{\" || type == \"}\") return popAndPass(type, stream, state);\n    if (type == \"word\") override = \"tag\";\n    else if (type == \"hash\") override = \"builtin\";\n    return \"at\";\n  };\n\n  states.interpolation = function(type, stream, state) {\n    if (type == \"}\") return popContext(state);\n    if (type == \"{\" || type == \";\") return popAndPass(type, stream, state);\n    if (type == \"word\") override = \"variable\";\n    else if (type != \"variable\" && type != \"(\" && type != \")\") override = \"error\";\n    return \"interpolation\";\n  };\n\n  return {\n    startState: function(base) {\n      return {tokenize: null,\n              state: inline ? \"block\" : \"top\",\n              stateArg: null,\n              context: new Context(inline ? \"block\" : \"top\", base || 0, null)};\n    },\n\n    token: function(stream, state) {\n      if (!state.tokenize && stream.eatSpace()) return null;\n      var style = (state.tokenize || tokenBase)(stream, state);\n      if (style && typeof style == \"object\") {\n        type = style[1];\n        style = style[0];\n      }\n      override = style;\n      if (type != \"comment\")\n        state.state = states[state.state](type, stream, state);\n      return override;\n    },\n\n    indent: function(state, textAfter) {\n      var cx = state.context, ch = textAfter && textAfter.charAt(0);\n      var indent = cx.indent;\n      if (cx.type == \"prop\" && (ch == \"}\" || ch == \")\")) cx = cx.prev;\n      if (cx.prev) {\n        if (ch == \"}\" && (cx.type == \"block\" || cx.type == \"top\" ||\n                          cx.type == \"interpolation\" || cx.type == \"restricted_atBlock\")) {\n          // Resume indentation from parent context.\n          cx = cx.prev;\n          indent = cx.indent;\n        } else if (ch == \")\" && (cx.type == \"parens\" || cx.type == \"atBlock_parens\") ||\n            ch == \"{\" && (cx.type == \"at\" || cx.type == \"atBlock\")) {\n          // Dedent relative to current context.\n          indent = Math.max(0, cx.indent - indentUnit);\n        }\n      }\n      return indent;\n    },\n\n    electricChars: \"}\",\n    blockCommentStart: \"/*\",\n    blockCommentEnd: \"*/\",\n    blockCommentContinue: \" * \",\n    lineComment: lineComment,\n    fold: \"brace\"\n  };\n});\n\n  function keySet(array) {\n    var keys = {};\n    for (var i = 0; i < array.length; ++i) {\n      keys[array[i].toLowerCase()] = true;\n    }\n    return keys;\n  }\n\n  var documentTypes_ = [\n    \"domain\", \"regexp\", \"url\", \"url-prefix\"\n  ], documentTypes = keySet(documentTypes_);\n\n  var mediaTypes_ = [\n    \"all\", \"aural\", \"braille\", \"handheld\", \"print\", \"projection\", \"screen\",\n    \"tty\", \"tv\", \"embossed\"\n  ], mediaTypes = keySet(mediaTypes_);\n\n  var mediaFeatures_ = [\n    \"width\", \"min-width\", \"max-width\", \"height\", \"min-height\", \"max-height\",\n    \"device-width\", \"min-device-width\", \"max-device-width\", \"device-height\",\n    \"min-device-height\", \"max-device-height\", \"aspect-ratio\",\n    \"min-aspect-ratio\", \"max-aspect-ratio\", \"device-aspect-ratio\",\n    \"min-device-aspect-ratio\", \"max-device-aspect-ratio\", \"color\", \"min-color\",\n    \"max-color\", \"color-index\", \"min-color-index\", \"max-color-index\",\n    \"monochrome\", \"min-monochrome\", \"max-monochrome\", \"resolution\",\n    \"min-resolution\", \"max-resolution\", \"scan\", \"grid\", \"orientation\",\n    \"device-pixel-ratio\", \"min-device-pixel-ratio\", \"max-device-pixel-ratio\",\n    \"pointer\", \"any-pointer\", \"hover\", \"any-hover\", \"prefers-color-scheme\"\n  ], mediaFeatures = keySet(mediaFeatures_);\n\n  var mediaValueKeywords_ = [\n    \"landscape\", \"portrait\", \"none\", \"coarse\", \"fine\", \"on-demand\", \"hover\",\n    \"interlace\", \"progressive\",\n    \"dark\", \"light\"\n  ], mediaValueKeywords = keySet(mediaValueKeywords_);\n\n  var propertyKeywords_ = [\n    \"align-content\", \"align-items\", \"align-self\", \"alignment-adjust\",\n    \"alignment-baseline\", \"all\", \"anchor-point\", \"animation\", \"animation-delay\",\n    \"animation-direction\", \"animation-duration\", \"animation-fill-mode\",\n    \"animation-iteration-count\", \"animation-name\", \"animation-play-state\",\n    \"animation-timing-function\", \"appearance\", \"azimuth\", \"backdrop-filter\",\n    \"backface-visibility\", \"background\", \"background-attachment\",\n    \"background-blend-mode\", \"background-clip\", \"background-color\",\n    \"background-image\", \"background-origin\", \"background-position\",\n    \"background-position-x\", \"background-position-y\", \"background-repeat\",\n    \"background-size\", \"baseline-shift\", \"binding\", \"bleed\", \"block-size\",\n    \"bookmark-label\", \"bookmark-level\", \"bookmark-state\", \"bookmark-target\",\n    \"border\", \"border-bottom\", \"border-bottom-color\", \"border-bottom-left-radius\",\n    \"border-bottom-right-radius\", \"border-bottom-style\", \"border-bottom-width\",\n    \"border-collapse\", \"border-color\", \"border-image\", \"border-image-outset\",\n    \"border-image-repeat\", \"border-image-slice\", \"border-image-source\",\n    \"border-image-width\", \"border-left\", \"border-left-color\", \"border-left-style\",\n    \"border-left-width\", \"border-radius\", \"border-right\", \"border-right-color\",\n    \"border-right-style\", \"border-right-width\", \"border-spacing\", \"border-style\",\n    \"border-top\", \"border-top-color\", \"border-top-left-radius\",\n    \"border-top-right-radius\", \"border-top-style\", \"border-top-width\",\n    \"border-width\", \"bottom\", \"box-decoration-break\", \"box-shadow\", \"box-sizing\",\n    \"break-after\", \"break-before\", \"break-inside\", \"caption-side\", \"caret-color\",\n    \"clear\", \"clip\", \"color\", \"color-profile\", \"column-count\", \"column-fill\",\n    \"column-gap\", \"column-rule\", \"column-rule-color\", \"column-rule-style\",\n    \"column-rule-width\", \"column-span\", \"column-width\", \"columns\", \"contain\",\n    \"content\", \"counter-increment\", \"counter-reset\", \"crop\", \"cue\", \"cue-after\",\n    \"cue-before\", \"cursor\", \"direction\", \"display\", \"dominant-baseline\",\n    \"drop-initial-after-adjust\", \"drop-initial-after-align\",\n    \"drop-initial-before-adjust\", \"drop-initial-before-align\", \"drop-initial-size\",\n    \"drop-initial-value\", \"elevation\", \"empty-cells\", \"fit\", \"fit-content\", \"fit-position\",\n    \"flex\", \"flex-basis\", \"flex-direction\", \"flex-flow\", \"flex-grow\",\n    \"flex-shrink\", \"flex-wrap\", \"float\", \"float-offset\", \"flow-from\", \"flow-into\",\n    \"font\", \"font-family\", \"font-feature-settings\", \"font-kerning\",\n    \"font-language-override\", \"font-optical-sizing\", \"font-size\",\n    \"font-size-adjust\", \"font-stretch\", \"font-style\", \"font-synthesis\",\n    \"font-variant\", \"font-variant-alternates\", \"font-variant-caps\",\n    \"font-variant-east-asian\", \"font-variant-ligatures\", \"font-variant-numeric\",\n    \"font-variant-position\", \"font-variation-settings\", \"font-weight\", \"gap\",\n    \"grid\", \"grid-area\", \"grid-auto-columns\", \"grid-auto-flow\", \"grid-auto-rows\",\n    \"grid-column\", \"grid-column-end\", \"grid-column-gap\", \"grid-column-start\",\n    \"grid-gap\", \"grid-row\", \"grid-row-end\", \"grid-row-gap\", \"grid-row-start\",\n    \"grid-template\", \"grid-template-areas\", \"grid-template-columns\",\n    \"grid-template-rows\", \"hanging-punctuation\", \"height\", \"hyphens\", \"icon\",\n    \"image-orientation\", \"image-rendering\", \"image-resolution\", \"inline-box-align\",\n    \"inset\", \"inset-block\", \"inset-block-end\", \"inset-block-start\", \"inset-inline\",\n    \"inset-inline-end\", \"inset-inline-start\", \"isolation\", \"justify-content\",\n    \"justify-items\", \"justify-self\", \"left\", \"letter-spacing\", \"line-break\",\n    \"line-height\", \"line-height-step\", \"line-stacking\", \"line-stacking-ruby\",\n    \"line-stacking-shift\", \"line-stacking-strategy\", \"list-style\",\n    \"list-style-image\", \"list-style-position\", \"list-style-type\", \"margin\",\n    \"margin-bottom\", \"margin-left\", \"margin-right\", \"margin-top\", \"marks\",\n    \"marquee-direction\", \"marquee-loop\", \"marquee-play-count\", \"marquee-speed\",\n    \"marquee-style\", \"mask-clip\", \"mask-composite\", \"mask-image\", \"mask-mode\",\n    \"mask-origin\", \"mask-position\", \"mask-repeat\", \"mask-size\",\"mask-type\",\n    \"max-block-size\", \"max-height\", \"max-inline-size\",\n    \"max-width\", \"min-block-size\", \"min-height\", \"min-inline-size\", \"min-width\",\n    \"mix-blend-mode\", \"move-to\", \"nav-down\", \"nav-index\", \"nav-left\", \"nav-right\",\n    \"nav-up\", \"object-fit\", \"object-position\", \"offset\", \"offset-anchor\",\n    \"offset-distance\", \"offset-path\", \"offset-position\", \"offset-rotate\",\n    \"opacity\", \"order\", \"orphans\", \"outline\", \"outline-color\", \"outline-offset\",\n    \"outline-style\", \"outline-width\", \"overflow\", \"overflow-style\",\n    \"overflow-wrap\", \"overflow-x\", \"overflow-y\", \"padding\", \"padding-bottom\",\n    \"padding-left\", \"padding-right\", \"padding-top\", \"page\", \"page-break-after\",\n    \"page-break-before\", \"page-break-inside\", \"page-policy\", \"pause\",\n    \"pause-after\", \"pause-before\", \"perspective\", \"perspective-origin\", \"pitch\",\n    \"pitch-range\", \"place-content\", \"place-items\", \"place-self\", \"play-during\",\n    \"position\", \"presentation-level\", \"punctuation-trim\", \"quotes\",\n    \"region-break-after\", \"region-break-before\", \"region-break-inside\",\n    \"region-fragment\", \"rendering-intent\", \"resize\", \"rest\", \"rest-after\",\n    \"rest-before\", \"richness\", \"right\", \"rotate\", \"rotation\", \"rotation-point\",\n    \"row-gap\", \"ruby-align\", \"ruby-overhang\", \"ruby-position\", \"ruby-span\",\n    \"scale\", \"scroll-behavior\", \"scroll-margin\", \"scroll-margin-block\",\n    \"scroll-margin-block-end\", \"scroll-margin-block-start\", \"scroll-margin-bottom\",\n    \"scroll-margin-inline\", \"scroll-margin-inline-end\",\n    \"scroll-margin-inline-start\", \"scroll-margin-left\", \"scroll-margin-right\",\n    \"scroll-margin-top\", \"scroll-padding\", \"scroll-padding-block\",\n    \"scroll-padding-block-end\", \"scroll-padding-block-start\",\n    \"scroll-padding-bottom\", \"scroll-padding-inline\", \"scroll-padding-inline-end\",\n    \"scroll-padding-inline-start\", \"scroll-padding-left\", \"scroll-padding-right\",\n    \"scroll-padding-top\", \"scroll-snap-align\", \"scroll-snap-type\",\n    \"shape-image-threshold\", \"shape-inside\", \"shape-margin\", \"shape-outside\",\n    \"size\", \"speak\", \"speak-as\", \"speak-header\", \"speak-numeral\",\n    \"speak-punctuation\", \"speech-rate\", \"stress\", \"string-set\", \"tab-size\",\n    \"table-layout\", \"target\", \"target-name\", \"target-new\", \"target-position\",\n    \"text-align\", \"text-align-last\", \"text-combine-upright\", \"text-decoration\",\n    \"text-decoration-color\", \"text-decoration-line\", \"text-decoration-skip\",\n    \"text-decoration-skip-ink\", \"text-decoration-style\", \"text-emphasis\",\n    \"text-emphasis-color\", \"text-emphasis-position\", \"text-emphasis-style\",\n    \"text-height\", \"text-indent\", \"text-justify\", \"text-orientation\",\n    \"text-outline\", \"text-overflow\", \"text-rendering\", \"text-shadow\",\n    \"text-size-adjust\", \"text-space-collapse\", \"text-transform\",\n    \"text-underline-position\", \"text-wrap\", \"top\", \"touch-action\", \"transform\", \"transform-origin\",\n    \"transform-style\", \"transition\", \"transition-delay\", \"transition-duration\",\n    \"transition-property\", \"transition-timing-function\", \"translate\",\n    \"unicode-bidi\", \"user-select\", \"vertical-align\", \"visibility\", \"voice-balance\",\n    \"voice-duration\", \"voice-family\", \"voice-pitch\", \"voice-range\", \"voice-rate\",\n    \"voice-stress\", \"voice-volume\", \"volume\", \"white-space\", \"widows\", \"width\",\n    \"will-change\", \"word-break\", \"word-spacing\", \"word-wrap\", \"writing-mode\", \"z-index\",\n    // SVG-specific\n    \"clip-path\", \"clip-rule\", \"mask\", \"enable-background\", \"filter\", \"flood-color\",\n    \"flood-opacity\", \"lighting-color\", \"stop-color\", \"stop-opacity\", \"pointer-events\",\n    \"color-interpolation\", \"color-interpolation-filters\",\n    \"color-rendering\", \"fill\", \"fill-opacity\", \"fill-rule\", \"image-rendering\",\n    \"marker\", \"marker-end\", \"marker-mid\", \"marker-start\", \"paint-order\", \"shape-rendering\", \"stroke\",\n    \"stroke-dasharray\", \"stroke-dashoffset\", \"stroke-linecap\", \"stroke-linejoin\",\n    \"stroke-miterlimit\", \"stroke-opacity\", \"stroke-width\", \"text-rendering\",\n    \"baseline-shift\", \"dominant-baseline\", \"glyph-orientation-horizontal\",\n    \"glyph-orientation-vertical\", \"text-anchor\", \"writing-mode\",\n  ], propertyKeywords = keySet(propertyKeywords_);\n\n  var nonStandardPropertyKeywords_ = [\n    \"accent-color\", \"aspect-ratio\", \"border-block\", \"border-block-color\", \"border-block-end\",\n    \"border-block-end-color\", \"border-block-end-style\", \"border-block-end-width\",\n    \"border-block-start\", \"border-block-start-color\", \"border-block-start-style\",\n    \"border-block-start-width\", \"border-block-style\", \"border-block-width\",\n    \"border-inline\", \"border-inline-color\", \"border-inline-end\",\n    \"border-inline-end-color\", \"border-inline-end-style\",\n    \"border-inline-end-width\", \"border-inline-start\", \"border-inline-start-color\",\n    \"border-inline-start-style\", \"border-inline-start-width\",\n    \"border-inline-style\", \"border-inline-width\", \"content-visibility\", \"margin-block\",\n    \"margin-block-end\", \"margin-block-start\", \"margin-inline\", \"margin-inline-end\",\n    \"margin-inline-start\", \"overflow-anchor\", \"overscroll-behavior\", \"padding-block\", \"padding-block-end\",\n    \"padding-block-start\", \"padding-inline\", \"padding-inline-end\",\n    \"padding-inline-start\", \"scroll-snap-stop\", \"scrollbar-3d-light-color\",\n    \"scrollbar-arrow-color\", \"scrollbar-base-color\", \"scrollbar-dark-shadow-color\",\n    \"scrollbar-face-color\", \"scrollbar-highlight-color\", \"scrollbar-shadow-color\",\n    \"scrollbar-track-color\", \"searchfield-cancel-button\", \"searchfield-decoration\",\n    \"searchfield-results-button\", \"searchfield-results-decoration\", \"shape-inside\", \"zoom\"\n  ], nonStandardPropertyKeywords = keySet(nonStandardPropertyKeywords_);\n\n  var fontProperties_ = [\n    \"font-display\", \"font-family\", \"src\", \"unicode-range\", \"font-variant\",\n     \"font-feature-settings\", \"font-stretch\", \"font-weight\", \"font-style\"\n  ], fontProperties = keySet(fontProperties_);\n\n  var counterDescriptors_ = [\n    \"additive-symbols\", \"fallback\", \"negative\", \"pad\", \"prefix\", \"range\",\n    \"speak-as\", \"suffix\", \"symbols\", \"system\"\n  ], counterDescriptors = keySet(counterDescriptors_);\n\n  var colorKeywords_ = [\n    \"aliceblue\", \"antiquewhite\", \"aqua\", \"aquamarine\", \"azure\", \"beige\",\n    \"bisque\", \"black\", \"blanchedalmond\", \"blue\", \"blueviolet\", \"brown\",\n    \"burlywood\", \"cadetblue\", \"chartreuse\", \"chocolate\", \"coral\", \"cornflowerblue\",\n    \"cornsilk\", \"crimson\", \"cyan\", \"darkblue\", \"darkcyan\", \"darkgoldenrod\",\n    \"darkgray\", \"darkgreen\", \"darkgrey\", \"darkkhaki\", \"darkmagenta\", \"darkolivegreen\",\n    \"darkorange\", \"darkorchid\", \"darkred\", \"darksalmon\", \"darkseagreen\",\n    \"darkslateblue\", \"darkslategray\", \"darkslategrey\", \"darkturquoise\", \"darkviolet\",\n    \"deeppink\", \"deepskyblue\", \"dimgray\", \"dimgrey\", \"dodgerblue\", \"firebrick\",\n    \"floralwhite\", \"forestgreen\", \"fuchsia\", \"gainsboro\", \"ghostwhite\",\n    \"gold\", \"goldenrod\", \"gray\", \"grey\", \"green\", \"greenyellow\", \"honeydew\",\n    \"hotpink\", \"indianred\", \"indigo\", \"ivory\", \"khaki\", \"lavender\",\n    \"lavenderblush\", \"lawngreen\", \"lemonchiffon\", \"lightblue\", \"lightcoral\",\n    \"lightcyan\", \"lightgoldenrodyellow\", \"lightgray\", \"lightgreen\", \"lightgrey\", \"lightpink\",\n    \"lightsalmon\", \"lightseagreen\", \"lightskyblue\", \"lightslategray\", \"lightslategrey\",\n    \"lightsteelblue\", \"lightyellow\", \"lime\", \"limegreen\", \"linen\", \"magenta\",\n    \"maroon\", \"mediumaquamarine\", \"mediumblue\", \"mediumorchid\", \"mediumpurple\",\n    \"mediumseagreen\", \"mediumslateblue\", \"mediumspringgreen\", \"mediumturquoise\",\n    \"mediumvioletred\", \"midnightblue\", \"mintcream\", \"mistyrose\", \"moccasin\",\n    \"navajowhite\", \"navy\", \"oldlace\", \"olive\", \"olivedrab\", \"orange\", \"orangered\",\n    \"orchid\", \"palegoldenrod\", \"palegreen\", \"paleturquoise\", \"palevioletred\",\n    \"papayawhip\", \"peachpuff\", \"peru\", \"pink\", \"plum\", \"powderblue\",\n    \"purple\", \"rebeccapurple\", \"red\", \"rosybrown\", \"royalblue\", \"saddlebrown\",\n    \"salmon\", \"sandybrown\", \"seagreen\", \"seashell\", \"sienna\", \"silver\", \"skyblue\",\n    \"slateblue\", \"slategray\", \"slategrey\", \"snow\", \"springgreen\", \"steelblue\", \"tan\",\n    \"teal\", \"thistle\", \"tomato\", \"turquoise\", \"violet\", \"wheat\", \"white\",\n    \"whitesmoke\", \"yellow\", \"yellowgreen\"\n  ], colorKeywords = keySet(colorKeywords_);\n\n  var valueKeywords_ = [\n    \"above\", \"absolute\", \"activeborder\", \"additive\", \"activecaption\", \"afar\",\n    \"after-white-space\", \"ahead\", \"alias\", \"all\", \"all-scroll\", \"alphabetic\", \"alternate\",\n    \"always\", \"amharic\", \"amharic-abegede\", \"antialiased\", \"appworkspace\",\n    \"arabic-indic\", \"armenian\", \"asterisks\", \"attr\", \"auto\", \"auto-flow\", \"avoid\", \"avoid-column\", \"avoid-page\",\n    \"avoid-region\", \"axis-pan\", \"background\", \"backwards\", \"baseline\", \"below\", \"bidi-override\", \"binary\",\n    \"bengali\", \"blink\", \"block\", \"block-axis\", \"blur\", \"bold\", \"bolder\", \"border\", \"border-box\",\n    \"both\", \"bottom\", \"break\", \"break-all\", \"break-word\", \"brightness\", \"bullets\", \"button\", \"button-bevel\",\n    \"buttonface\", \"buttonhighlight\", \"buttonshadow\", \"buttontext\", \"calc\", \"cambodian\",\n    \"capitalize\", \"caps-lock-indicator\", \"caption\", \"captiontext\", \"caret\",\n    \"cell\", \"center\", \"checkbox\", \"circle\", \"cjk-decimal\", \"cjk-earthly-branch\",\n    \"cjk-heavenly-stem\", \"cjk-ideographic\", \"clear\", \"clip\", \"close-quote\",\n    \"col-resize\", \"collapse\", \"color\", \"color-burn\", \"color-dodge\", \"column\", \"column-reverse\",\n    \"compact\", \"condensed\", \"contain\", \"content\", \"contents\",\n    \"content-box\", \"context-menu\", \"continuous\", \"contrast\", \"copy\", \"counter\", \"counters\", \"cover\", \"crop\",\n    \"cross\", \"crosshair\", \"cubic-bezier\", \"currentcolor\", \"cursive\", \"cyclic\", \"darken\", \"dashed\", \"decimal\",\n    \"decimal-leading-zero\", \"default\", \"default-button\", \"dense\", \"destination-atop\",\n    \"destination-in\", \"destination-out\", \"destination-over\", \"devanagari\", \"difference\",\n    \"disc\", \"discard\", \"disclosure-closed\", \"disclosure-open\", \"document\",\n    \"dot-dash\", \"dot-dot-dash\",\n    \"dotted\", \"double\", \"down\", \"drop-shadow\", \"e-resize\", \"ease\", \"ease-in\", \"ease-in-out\", \"ease-out\",\n    \"element\", \"ellipse\", \"ellipsis\", \"embed\", \"end\", \"ethiopic\", \"ethiopic-abegede\",\n    \"ethiopic-abegede-am-et\", \"ethiopic-abegede-gez\", \"ethiopic-abegede-ti-er\",\n    \"ethiopic-abegede-ti-et\", \"ethiopic-halehame-aa-er\",\n    \"ethiopic-halehame-aa-et\", \"ethiopic-halehame-am-et\",\n    \"ethiopic-halehame-gez\", \"ethiopic-halehame-om-et\",\n    \"ethiopic-halehame-sid-et\", \"ethiopic-halehame-so-et\",\n    \"ethiopic-halehame-ti-er\", \"ethiopic-halehame-ti-et\", \"ethiopic-halehame-tig\",\n    \"ethiopic-numeric\", \"ew-resize\", \"exclusion\", \"expanded\", \"extends\", \"extra-condensed\",\n    \"extra-expanded\", \"fantasy\", \"fast\", \"fill\", \"fill-box\", \"fixed\", \"flat\", \"flex\", \"flex-end\", \"flex-start\", \"footnotes\",\n    \"forwards\", \"from\", \"geometricPrecision\", \"georgian\", \"grayscale\", \"graytext\", \"grid\", \"groove\",\n    \"gujarati\", \"gurmukhi\", \"hand\", \"hangul\", \"hangul-consonant\", \"hard-light\", \"hebrew\",\n    \"help\", \"hidden\", \"hide\", \"higher\", \"highlight\", \"highlighttext\",\n    \"hiragana\", \"hiragana-iroha\", \"horizontal\", \"hsl\", \"hsla\", \"hue\", \"hue-rotate\", \"icon\", \"ignore\",\n    \"inactiveborder\", \"inactivecaption\", \"inactivecaptiontext\", \"infinite\",\n    \"infobackground\", \"infotext\", \"inherit\", \"initial\", \"inline\", \"inline-axis\",\n    \"inline-block\", \"inline-flex\", \"inline-grid\", \"inline-table\", \"inset\", \"inside\", \"intrinsic\", \"invert\",\n    \"italic\", \"japanese-formal\", \"japanese-informal\", \"justify\", \"kannada\",\n    \"katakana\", \"katakana-iroha\", \"keep-all\", \"khmer\",\n    \"korean-hangul-formal\", \"korean-hanja-formal\", \"korean-hanja-informal\",\n    \"landscape\", \"lao\", \"large\", \"larger\", \"left\", \"level\", \"lighter\", \"lighten\",\n    \"line-through\", \"linear\", \"linear-gradient\", \"lines\", \"list-item\", \"listbox\", \"listitem\",\n    \"local\", \"logical\", \"loud\", \"lower\", \"lower-alpha\", \"lower-armenian\",\n    \"lower-greek\", \"lower-hexadecimal\", \"lower-latin\", \"lower-norwegian\",\n    \"lower-roman\", \"lowercase\", \"ltr\", \"luminosity\", \"malayalam\", \"manipulation\", \"match\", \"matrix\", \"matrix3d\",\n    \"media-controls-background\", \"media-current-time-display\",\n    \"media-fullscreen-button\", \"media-mute-button\", \"media-play-button\",\n    \"media-return-to-realtime-button\", \"media-rewind-button\",\n    \"media-seek-back-button\", \"media-seek-forward-button\", \"media-slider\",\n    \"media-sliderthumb\", \"media-time-remaining-display\", \"media-volume-slider\",\n    \"media-volume-slider-container\", \"media-volume-sliderthumb\", \"medium\",\n    \"menu\", \"menulist\", \"menulist-button\", \"menulist-text\",\n    \"menulist-textfield\", \"menutext\", \"message-box\", \"middle\", \"min-intrinsic\",\n    \"mix\", \"mongolian\", \"monospace\", \"move\", \"multiple\", \"multiple_mask_images\", \"multiply\", \"myanmar\", \"n-resize\",\n    \"narrower\", \"ne-resize\", \"nesw-resize\", \"no-close-quote\", \"no-drop\",\n    \"no-open-quote\", \"no-repeat\", \"none\", \"normal\", \"not-allowed\", \"nowrap\",\n    \"ns-resize\", \"numbers\", \"numeric\", \"nw-resize\", \"nwse-resize\", \"oblique\", \"octal\", \"opacity\", \"open-quote\",\n    \"optimizeLegibility\", \"optimizeSpeed\", \"oriya\", \"oromo\", \"outset\",\n    \"outside\", \"outside-shape\", \"overlay\", \"overline\", \"padding\", \"padding-box\",\n    \"painted\", \"page\", \"paused\", \"persian\", \"perspective\", \"pinch-zoom\", \"plus-darker\", \"plus-lighter\",\n    \"pointer\", \"polygon\", \"portrait\", \"pre\", \"pre-line\", \"pre-wrap\", \"preserve-3d\",\n    \"progress\", \"push-button\", \"radial-gradient\", \"radio\", \"read-only\",\n    \"read-write\", \"read-write-plaintext-only\", \"rectangle\", \"region\",\n    \"relative\", \"repeat\", \"repeating-linear-gradient\",\n    \"repeating-radial-gradient\", \"repeat-x\", \"repeat-y\", \"reset\", \"reverse\",\n    \"rgb\", \"rgba\", \"ridge\", \"right\", \"rotate\", \"rotate3d\", \"rotateX\", \"rotateY\",\n    \"rotateZ\", \"round\", \"row\", \"row-resize\", \"row-reverse\", \"rtl\", \"run-in\", \"running\",\n    \"s-resize\", \"sans-serif\", \"saturate\", \"saturation\", \"scale\", \"scale3d\", \"scaleX\", \"scaleY\", \"scaleZ\", \"screen\",\n    \"scroll\", \"scrollbar\", \"scroll-position\", \"se-resize\", \"searchfield\",\n    \"searchfield-cancel-button\", \"searchfield-decoration\",\n    \"searchfield-results-button\", \"searchfield-results-decoration\", \"self-start\", \"self-end\",\n    \"semi-condensed\", \"semi-expanded\", \"separate\", \"sepia\", \"serif\", \"show\", \"sidama\",\n    \"simp-chinese-formal\", \"simp-chinese-informal\", \"single\",\n    \"skew\", \"skewX\", \"skewY\", \"skip-white-space\", \"slide\", \"slider-horizontal\",\n    \"slider-vertical\", \"sliderthumb-horizontal\", \"sliderthumb-vertical\", \"slow\",\n    \"small\", \"small-caps\", \"small-caption\", \"smaller\", \"soft-light\", \"solid\", \"somali\",\n    \"source-atop\", \"source-in\", \"source-out\", \"source-over\", \"space\", \"space-around\", \"space-between\", \"space-evenly\", \"spell-out\", \"square\",\n    \"square-button\", \"start\", \"static\", \"status-bar\", \"stretch\", \"stroke\", \"stroke-box\", \"sub\",\n    \"subpixel-antialiased\", \"svg_masks\", \"super\", \"sw-resize\", \"symbolic\", \"symbols\", \"system-ui\", \"table\",\n    \"table-caption\", \"table-cell\", \"table-column\", \"table-column-group\",\n    \"table-footer-group\", \"table-header-group\", \"table-row\", \"table-row-group\",\n    \"tamil\",\n    \"telugu\", \"text\", \"text-bottom\", \"text-top\", \"textarea\", \"textfield\", \"thai\",\n    \"thick\", \"thin\", \"threeddarkshadow\", \"threedface\", \"threedhighlight\",\n    \"threedlightshadow\", \"threedshadow\", \"tibetan\", \"tigre\", \"tigrinya-er\",\n    \"tigrinya-er-abegede\", \"tigrinya-et\", \"tigrinya-et-abegede\", \"to\", \"top\",\n    \"trad-chinese-formal\", \"trad-chinese-informal\", \"transform\",\n    \"translate\", \"translate3d\", \"translateX\", \"translateY\", \"translateZ\",\n    \"transparent\", \"ultra-condensed\", \"ultra-expanded\", \"underline\", \"unidirectional-pan\", \"unset\", \"up\",\n    \"upper-alpha\", \"upper-armenian\", \"upper-greek\", \"upper-hexadecimal\",\n    \"upper-latin\", \"upper-norwegian\", \"upper-roman\", \"uppercase\", \"urdu\", \"url\",\n    \"var\", \"vertical\", \"vertical-text\", \"view-box\", \"visible\", \"visibleFill\", \"visiblePainted\",\n    \"visibleStroke\", \"visual\", \"w-resize\", \"wait\", \"wave\", \"wider\",\n    \"window\", \"windowframe\", \"windowtext\", \"words\", \"wrap\", \"wrap-reverse\", \"x-large\", \"x-small\", \"xor\",\n    \"xx-large\", \"xx-small\"\n  ], valueKeywords = keySet(valueKeywords_);\n\n  var allWords = documentTypes_.concat(mediaTypes_).concat(mediaFeatures_).concat(mediaValueKeywords_)\n    .concat(propertyKeywords_).concat(nonStandardPropertyKeywords_).concat(colorKeywords_)\n    .concat(valueKeywords_);\n  CodeMirror.registerHelper(\"hintWords\", \"css\", allWords);\n\n  function tokenCComment(stream, state) {\n    var maybeEnd = false, ch;\n    while ((ch = stream.next()) != null) {\n      if (maybeEnd && ch == \"/\") {\n        state.tokenize = null;\n        break;\n      }\n      maybeEnd = (ch == \"*\");\n    }\n    return [\"comment\", \"comment\"];\n  }\n\n  CodeMirror.defineMIME(\"text/css\", {\n    documentTypes: documentTypes,\n    mediaTypes: mediaTypes,\n    mediaFeatures: mediaFeatures,\n    mediaValueKeywords: mediaValueKeywords,\n    propertyKeywords: propertyKeywords,\n    nonStandardPropertyKeywords: nonStandardPropertyKeywords,\n    fontProperties: fontProperties,\n    counterDescriptors: counterDescriptors,\n    colorKeywords: colorKeywords,\n    valueKeywords: valueKeywords,\n    tokenHooks: {\n      \"/\": function(stream, state) {\n        if (!stream.eat(\"*\")) return false;\n        state.tokenize = tokenCComment;\n        return tokenCComment(stream, state);\n      }\n    },\n    name: \"css\"\n  });\n\n  CodeMirror.defineMIME(\"text/x-scss\", {\n    mediaTypes: mediaTypes,\n    mediaFeatures: mediaFeatures,\n    mediaValueKeywords: mediaValueKeywords,\n    propertyKeywords: propertyKeywords,\n    nonStandardPropertyKeywords: nonStandardPropertyKeywords,\n    colorKeywords: colorKeywords,\n    valueKeywords: valueKeywords,\n    fontProperties: fontProperties,\n    allowNested: true,\n    lineComment: \"//\",\n    tokenHooks: {\n      \"/\": function(stream, state) {\n        if (stream.eat(\"/\")) {\n          stream.skipToEnd();\n          return [\"comment\", \"comment\"];\n        } else if (stream.eat(\"*\")) {\n          state.tokenize = tokenCComment;\n          return tokenCComment(stream, state);\n        } else {\n          return [\"operator\", \"operator\"];\n        }\n      },\n      \":\": function(stream) {\n        if (stream.match(/^\\s*\\{/, false))\n          return [null, null]\n        return false;\n      },\n      \"$\": function(stream) {\n        stream.match(/^[\\w-]+/);\n        if (stream.match(/^\\s*:/, false))\n          return [\"variable-2\", \"variable-definition\"];\n        return [\"variable-2\", \"variable\"];\n      },\n      \"#\": function(stream) {\n        if (!stream.eat(\"{\")) return false;\n        return [null, \"interpolation\"];\n      }\n    },\n    name: \"css\",\n    helperType: \"scss\"\n  });\n\n  CodeMirror.defineMIME(\"text/x-less\", {\n    mediaTypes: mediaTypes,\n    mediaFeatures: mediaFeatures,\n    mediaValueKeywords: mediaValueKeywords,\n    propertyKeywords: propertyKeywords,\n    nonStandardPropertyKeywords: nonStandardPropertyKeywords,\n    colorKeywords: colorKeywords,\n    valueKeywords: valueKeywords,\n    fontProperties: fontProperties,\n    allowNested: true,\n    lineComment: \"//\",\n    tokenHooks: {\n      \"/\": function(stream, state) {\n        if (stream.eat(\"/\")) {\n          stream.skipToEnd();\n          return [\"comment\", \"comment\"];\n        } else if (stream.eat(\"*\")) {\n          state.tokenize = tokenCComment;\n          return tokenCComment(stream, state);\n        } else {\n          return [\"operator\", \"operator\"];\n        }\n      },\n      \"@\": function(stream) {\n        if (stream.eat(\"{\")) return [null, \"interpolation\"];\n        if (stream.match(/^(charset|document|font-face|import|(-(moz|ms|o|webkit)-)?keyframes|media|namespace|page|supports)\\b/i, false)) return false;\n        stream.eatWhile(/[\\w\\\\\\-]/);\n        if (stream.match(/^\\s*:/, false))\n          return [\"variable-2\", \"variable-definition\"];\n        return [\"variable-2\", \"variable\"];\n      },\n      \"&\": function() {\n        return [\"atom\", \"atom\"];\n      }\n    },\n    name: \"css\",\n    helperType: \"less\"\n  });\n\n  CodeMirror.defineMIME(\"text/x-gss\", {\n    documentTypes: documentTypes,\n    mediaTypes: mediaTypes,\n    mediaFeatures: mediaFeatures,\n    propertyKeywords: propertyKeywords,\n    nonStandardPropertyKeywords: nonStandardPropertyKeywords,\n    fontProperties: fontProperties,\n    counterDescriptors: counterDescriptors,\n    colorKeywords: colorKeywords,\n    valueKeywords: valueKeywords,\n    supportsAtComponent: true,\n    tokenHooks: {\n      \"/\": function(stream, state) {\n        if (!stream.eat(\"*\")) return false;\n        state.tokenize = tokenCComment;\n        return tokenCComment(stream, state);\n      }\n    },\n    name: \"css\",\n    helperType: \"gss\"\n  });\n\n});\n","// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: https://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"), require(\"../xml/xml\"), require(\"../javascript/javascript\"), require(\"../css/css\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\", \"../xml/xml\", \"../javascript/javascript\", \"../css/css\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n  \"use strict\";\n\n  var defaultTags = {\n    script: [\n      [\"lang\", /(javascript|babel)/i, \"javascript\"],\n      [\"type\", /^(?:text|application)\\/(?:x-)?(?:java|ecma)script$|^module$|^$/i, \"javascript\"],\n      [\"type\", /./, \"text/plain\"],\n      [null, null, \"javascript\"]\n    ],\n    style:  [\n      [\"lang\", /^css$/i, \"css\"],\n      [\"type\", /^(text\\/)?(x-)?(stylesheet|css)$/i, \"css\"],\n      [\"type\", /./, \"text/plain\"],\n      [null, null, \"css\"]\n    ]\n  };\n\n  function maybeBackup(stream, pat, style) {\n    var cur = stream.current(), close = cur.search(pat);\n    if (close > -1) {\n      stream.backUp(cur.length - close);\n    } else if (cur.match(/<\\/?$/)) {\n      stream.backUp(cur.length);\n      if (!stream.match(pat, false)) stream.match(cur);\n    }\n    return style;\n  }\n\n  var attrRegexpCache = {};\n  function getAttrRegexp(attr) {\n    var regexp = attrRegexpCache[attr];\n    if (regexp) return regexp;\n    return attrRegexpCache[attr] = new RegExp(\"\\\\s+\" + attr + \"\\\\s*=\\\\s*('|\\\")?([^'\\\"]+)('|\\\")?\\\\s*\");\n  }\n\n  function getAttrValue(text, attr) {\n    var match = text.match(getAttrRegexp(attr))\n    return match ? /^\\s*(.*?)\\s*$/.exec(match[2])[1] : \"\"\n  }\n\n  function getTagRegexp(tagName, anchored) {\n    return new RegExp((anchored ? \"^\" : \"\") + \"<\\/\\s*\" + tagName + \"\\s*>\", \"i\");\n  }\n\n  function addTags(from, to) {\n    for (var tag in from) {\n      var dest = to[tag] || (to[tag] = []);\n      var source = from[tag];\n      for (var i = source.length - 1; i >= 0; i--)\n        dest.unshift(source[i])\n    }\n  }\n\n  function findMatchingMode(tagInfo, tagText) {\n    for (var i = 0; i < tagInfo.length; i++) {\n      var spec = tagInfo[i];\n      if (!spec[0] || spec[1].test(getAttrValue(tagText, spec[0]))) return spec[2];\n    }\n  }\n\n  CodeMirror.defineMode(\"htmlmixed\", function (config, parserConfig) {\n    var htmlMode = CodeMirror.getMode(config, {\n      name: \"xml\",\n      htmlMode: true,\n      multilineTagIndentFactor: parserConfig.multilineTagIndentFactor,\n      multilineTagIndentPastTag: parserConfig.multilineTagIndentPastTag,\n      allowMissingTagName: parserConfig.allowMissingTagName,\n    });\n\n    var tags = {};\n    var configTags = parserConfig && parserConfig.tags, configScript = parserConfig && parserConfig.scriptTypes;\n    addTags(defaultTags, tags);\n    if (configTags) addTags(configTags, tags);\n    if (configScript) for (var i = configScript.length - 1; i >= 0; i--)\n      tags.script.unshift([\"type\", configScript[i].matches, configScript[i].mode])\n\n    function html(stream, state) {\n      var style = htmlMode.token(stream, state.htmlState), tag = /\\btag\\b/.test(style), tagName\n      if (tag && !/[<>\\s\\/]/.test(stream.current()) &&\n          (tagName = state.htmlState.tagName && state.htmlState.tagName.toLowerCase()) &&\n          tags.hasOwnProperty(tagName)) {\n        state.inTag = tagName + \" \"\n      } else if (state.inTag && tag && />$/.test(stream.current())) {\n        var inTag = /^([\\S]+) (.*)/.exec(state.inTag)\n        state.inTag = null\n        var modeSpec = stream.current() == \">\" && findMatchingMode(tags[inTag[1]], inTag[2])\n        var mode = CodeMirror.getMode(config, modeSpec)\n        var endTagA = getTagRegexp(inTag[1], true), endTag = getTagRegexp(inTag[1], false);\n        state.token = function (stream, state) {\n          if (stream.match(endTagA, false)) {\n            state.token = html;\n            state.localState = state.localMode = null;\n            return null;\n          }\n          return maybeBackup(stream, endTag, state.localMode.token(stream, state.localState));\n        };\n        state.localMode = mode;\n        state.localState = CodeMirror.startState(mode, htmlMode.indent(state.htmlState, \"\", \"\"));\n      } else if (state.inTag) {\n        state.inTag += stream.current()\n        if (stream.eol()) state.inTag += \" \"\n      }\n      return style;\n    };\n\n    return {\n      startState: function () {\n        var state = CodeMirror.startState(htmlMode);\n        return {token: html, inTag: null, localMode: null, localState: null, htmlState: state};\n      },\n\n      copyState: function (state) {\n        var local;\n        if (state.localState) {\n          local = CodeMirror.copyState(state.localMode, state.localState);\n        }\n        return {token: state.token, inTag: state.inTag,\n                localMode: state.localMode, localState: local,\n                htmlState: CodeMirror.copyState(htmlMode, state.htmlState)};\n      },\n\n      token: function (stream, state) {\n        return state.token(stream, state);\n      },\n\n      indent: function (state, textAfter, line) {\n        if (!state.localMode || /^\\s*<\\//.test(textAfter))\n          return htmlMode.indent(state.htmlState, textAfter, line);\n        else if (state.localMode.indent)\n          return state.localMode.indent(state.localState, textAfter, line);\n        else\n          return CodeMirror.Pass;\n      },\n\n      innerMode: function (state) {\n        return {state: state.localState || state.htmlState, mode: state.localMode || htmlMode};\n      }\n    };\n  }, \"xml\", \"javascript\", \"css\");\n\n  CodeMirror.defineMIME(\"text/html\", \"htmlmixed\");\n});\n","// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: https://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nCodeMirror.defineMode(\"javascript\", function(config, parserConfig) {\n  var indentUnit = config.indentUnit;\n  var statementIndent = parserConfig.statementIndent;\n  var jsonldMode = parserConfig.jsonld;\n  var jsonMode = parserConfig.json || jsonldMode;\n  var trackScope = parserConfig.trackScope !== false\n  var isTS = parserConfig.typescript;\n  var wordRE = parserConfig.wordCharacters || /[\\w$\\xa1-\\uffff]/;\n\n  // Tokenizer\n\n  var keywords = function(){\n    function kw(type) {return {type: type, style: \"keyword\"};}\n    var A = kw(\"keyword a\"), B = kw(\"keyword b\"), C = kw(\"keyword c\"), D = kw(\"keyword d\");\n    var operator = kw(\"operator\"), atom = {type: \"atom\", style: \"atom\"};\n\n    return {\n      \"if\": kw(\"if\"), \"while\": A, \"with\": A, \"else\": B, \"do\": B, \"try\": B, \"finally\": B,\n      \"return\": D, \"break\": D, \"continue\": D, \"new\": kw(\"new\"), \"delete\": C, \"void\": C, \"throw\": C,\n      \"debugger\": kw(\"debugger\"), \"var\": kw(\"var\"), \"const\": kw(\"var\"), \"let\": kw(\"var\"),\n      \"function\": kw(\"function\"), \"catch\": kw(\"catch\"),\n      \"for\": kw(\"for\"), \"switch\": kw(\"switch\"), \"case\": kw(\"case\"), \"default\": kw(\"default\"),\n      \"in\": operator, \"typeof\": operator, \"instanceof\": operator,\n      \"true\": atom, \"false\": atom, \"null\": atom, \"undefined\": atom, \"NaN\": atom, \"Infinity\": atom,\n      \"this\": kw(\"this\"), \"class\": kw(\"class\"), \"super\": kw(\"atom\"),\n      \"yield\": C, \"export\": kw(\"export\"), \"import\": kw(\"import\"), \"extends\": C,\n      \"await\": C\n    };\n  }();\n\n  var isOperatorChar = /[+\\-*&%=<>!?|~^@]/;\n  var isJsonldKeyword = /^@(context|id|value|language|type|container|list|set|reverse|index|base|vocab|graph)\"/;\n\n  function readRegexp(stream) {\n    var escaped = false, next, inSet = false;\n    while ((next = stream.next()) != null) {\n      if (!escaped) {\n        if (next == \"/\" && !inSet) return;\n        if (next == \"[\") inSet = true;\n        else if (inSet && next == \"]\") inSet = false;\n      }\n      escaped = !escaped && next == \"\\\\\";\n    }\n  }\n\n  // Used as scratch variables to communicate multiple values without\n  // consing up tons of objects.\n  var type, content;\n  function ret(tp, style, cont) {\n    type = tp; content = cont;\n    return style;\n  }\n  function tokenBase(stream, state) {\n    var ch = stream.next();\n    if (ch == '\"' || ch == \"'\") {\n      state.tokenize = tokenString(ch);\n      return state.tokenize(stream, state);\n    } else if (ch == \".\" && stream.match(/^\\d[\\d_]*(?:[eE][+\\-]?[\\d_]+)?/)) {\n      return ret(\"number\", \"number\");\n    } else if (ch == \".\" && stream.match(\"..\")) {\n      return ret(\"spread\", \"meta\");\n    } else if (/[\\[\\]{}\\(\\),;\\:\\.]/.test(ch)) {\n      return ret(ch);\n    } else if (ch == \"=\" && stream.eat(\">\")) {\n      return ret(\"=>\", \"operator\");\n    } else if (ch == \"0\" && stream.match(/^(?:x[\\dA-Fa-f_]+|o[0-7_]+|b[01_]+)n?/)) {\n      return ret(\"number\", \"number\");\n    } else if (/\\d/.test(ch)) {\n      stream.match(/^[\\d_]*(?:n|(?:\\.[\\d_]*)?(?:[eE][+\\-]?[\\d_]+)?)?/);\n      return ret(\"number\", \"number\");\n    } else if (ch == \"/\") {\n      if (stream.eat(\"*\")) {\n        state.tokenize = tokenComment;\n        return tokenComment(stream, state);\n      } else if (stream.eat(\"/\")) {\n        stream.skipToEnd();\n        return ret(\"comment\", \"comment\");\n      } else if (expressionAllowed(stream, state, 1)) {\n        readRegexp(stream);\n        stream.match(/^\\b(([gimyus])(?![gimyus]*\\2))+\\b/);\n        return ret(\"regexp\", \"string-2\");\n      } else {\n        stream.eat(\"=\");\n        return ret(\"operator\", \"operator\", stream.current());\n      }\n    } else if (ch == \"`\") {\n      state.tokenize = tokenQuasi;\n      return tokenQuasi(stream, state);\n    } else if (ch == \"#\" && stream.peek() == \"!\") {\n      stream.skipToEnd();\n      return ret(\"meta\", \"meta\");\n    } else if (ch == \"#\" && stream.eatWhile(wordRE)) {\n      return ret(\"variable\", \"property\")\n    } else if (ch == \"<\" && stream.match(\"!--\") ||\n               (ch == \"-\" && stream.match(\"->\") && !/\\S/.test(stream.string.slice(0, stream.start)))) {\n      stream.skipToEnd()\n      return ret(\"comment\", \"comment\")\n    } else if (isOperatorChar.test(ch)) {\n      if (ch != \">\" || !state.lexical || state.lexical.type != \">\") {\n        if (stream.eat(\"=\")) {\n          if (ch == \"!\" || ch == \"=\") stream.eat(\"=\")\n        } else if (/[<>*+\\-|&?]/.test(ch)) {\n          stream.eat(ch)\n          if (ch == \">\") stream.eat(ch)\n        }\n      }\n      if (ch == \"?\" && stream.eat(\".\")) return ret(\".\")\n      return ret(\"operator\", \"operator\", stream.current());\n    } else if (wordRE.test(ch)) {\n      stream.eatWhile(wordRE);\n      var word = stream.current()\n      if (state.lastType != \".\") {\n        if (keywords.propertyIsEnumerable(word)) {\n          var kw = keywords[word]\n          return ret(kw.type, kw.style, word)\n        }\n        if (word == \"async\" && stream.match(/^(\\s|\\/\\*([^*]|\\*(?!\\/))*?\\*\\/)*[\\[\\(\\w]/, false))\n          return ret(\"async\", \"keyword\", word)\n      }\n      return ret(\"variable\", \"variable\", word)\n    }\n  }\n\n  function tokenString(quote) {\n    return function(stream, state) {\n      var escaped = false, next;\n      if (jsonldMode && stream.peek() == \"@\" && stream.match(isJsonldKeyword)){\n        state.tokenize = tokenBase;\n        return ret(\"jsonld-keyword\", \"meta\");\n      }\n      while ((next = stream.next()) != null) {\n        if (next == quote && !escaped) break;\n        escaped = !escaped && next == \"\\\\\";\n      }\n      if (!escaped) state.tokenize = tokenBase;\n      return ret(\"string\", \"string\");\n    };\n  }\n\n  function tokenComment(stream, state) {\n    var maybeEnd = false, ch;\n    while (ch = stream.next()) {\n      if (ch == \"/\" && maybeEnd) {\n        state.tokenize = tokenBase;\n        break;\n      }\n      maybeEnd = (ch == \"*\");\n    }\n    return ret(\"comment\", \"comment\");\n  }\n\n  function tokenQuasi(stream, state) {\n    var escaped = false, next;\n    while ((next = stream.next()) != null) {\n      if (!escaped && (next == \"`\" || next == \"$\" && stream.eat(\"{\"))) {\n        state.tokenize = tokenBase;\n        break;\n      }\n      escaped = !escaped && next == \"\\\\\";\n    }\n    return ret(\"quasi\", \"string-2\", stream.current());\n  }\n\n  var brackets = \"([{}])\";\n  // This is a crude lookahead trick to try and notice that we're\n  // parsing the argument patterns for a fat-arrow function before we\n  // actually hit the arrow token. It only works if the arrow is on\n  // the same line as the arguments and there's no strange noise\n  // (comments) in between. Fallback is to only notice when we hit the\n  // arrow, and not declare the arguments as locals for the arrow\n  // body.\n  function findFatArrow(stream, state) {\n    if (state.fatArrowAt) state.fatArrowAt = null;\n    var arrow = stream.string.indexOf(\"=>\", stream.start);\n    if (arrow < 0) return;\n\n    if (isTS) { // Try to skip TypeScript return type declarations after the arguments\n      var m = /:\\s*(?:\\w+(?:<[^>]*>|\\[\\])?|\\{[^}]*\\})\\s*$/.exec(stream.string.slice(stream.start, arrow))\n      if (m) arrow = m.index\n    }\n\n    var depth = 0, sawSomething = false;\n    for (var pos = arrow - 1; pos >= 0; --pos) {\n      var ch = stream.string.charAt(pos);\n      var bracket = brackets.indexOf(ch);\n      if (bracket >= 0 && bracket < 3) {\n        if (!depth) { ++pos; break; }\n        if (--depth == 0) { if (ch == \"(\") sawSomething = true; break; }\n      } else if (bracket >= 3 && bracket < 6) {\n        ++depth;\n      } else if (wordRE.test(ch)) {\n        sawSomething = true;\n      } else if (/[\"'\\/`]/.test(ch)) {\n        for (;; --pos) {\n          if (pos == 0) return\n          var next = stream.string.charAt(pos - 1)\n          if (next == ch && stream.string.charAt(pos - 2) != \"\\\\\") { pos--; break }\n        }\n      } else if (sawSomething && !depth) {\n        ++pos;\n        break;\n      }\n    }\n    if (sawSomething && !depth) state.fatArrowAt = pos;\n  }\n\n  // Parser\n\n  var atomicTypes = {\"atom\": true, \"number\": true, \"variable\": true, \"string\": true,\n                     \"regexp\": true, \"this\": true, \"import\": true, \"jsonld-keyword\": true};\n\n  function JSLexical(indented, column, type, align, prev, info) {\n    this.indented = indented;\n    this.column = column;\n    this.type = type;\n    this.prev = prev;\n    this.info = info;\n    if (align != null) this.align = align;\n  }\n\n  function inScope(state, varname) {\n    if (!trackScope) return false\n    for (var v = state.localVars; v; v = v.next)\n      if (v.name == varname) return true;\n    for (var cx = state.context; cx; cx = cx.prev) {\n      for (var v = cx.vars; v; v = v.next)\n        if (v.name == varname) return true;\n    }\n  }\n\n  function parseJS(state, style, type, content, stream) {\n    var cc = state.cc;\n    // Communicate our context to the combinators.\n    // (Less wasteful than consing up a hundred closures on every call.)\n    cx.state = state; cx.stream = stream; cx.marked = null, cx.cc = cc; cx.style = style;\n\n    if (!state.lexical.hasOwnProperty(\"align\"))\n      state.lexical.align = true;\n\n    while(true) {\n      var combinator = cc.length ? cc.pop() : jsonMode ? expression : statement;\n      if (combinator(type, content)) {\n        while(cc.length && cc[cc.length - 1].lex)\n          cc.pop()();\n        if (cx.marked) return cx.marked;\n        if (type == \"variable\" && inScope(state, content)) return \"variable-2\";\n        return style;\n      }\n    }\n  }\n\n  // Combinator utils\n\n  var cx = {state: null, column: null, marked: null, cc: null};\n  function pass() {\n    for (var i = arguments.length - 1; i >= 0; i--) cx.cc.push(arguments[i]);\n  }\n  function cont() {\n    pass.apply(null, arguments);\n    return true;\n  }\n  function inList(name, list) {\n    for (var v = list; v; v = v.next) if (v.name == name) return true\n    return false;\n  }\n  function register(varname) {\n    var state = cx.state;\n    cx.marked = \"def\";\n    if (!trackScope) return\n    if (state.context) {\n      if (state.lexical.info == \"var\" && state.context && state.context.block) {\n        // FIXME function decls are also not block scoped\n        var newContext = registerVarScoped(varname, state.context)\n        if (newContext != null) {\n          state.context = newContext\n          return\n        }\n      } else if (!inList(varname, state.localVars)) {\n        state.localVars = new Var(varname, state.localVars)\n        return\n      }\n    }\n    // Fall through means this is global\n    if (parserConfig.globalVars && !inList(varname, state.globalVars))\n      state.globalVars = new Var(varname, state.globalVars)\n  }\n  function registerVarScoped(varname, context) {\n    if (!context) {\n      return null\n    } else if (context.block) {\n      var inner = registerVarScoped(varname, context.prev)\n      if (!inner) return null\n      if (inner == context.prev) return context\n      return new Context(inner, context.vars, true)\n    } else if (inList(varname, context.vars)) {\n      return context\n    } else {\n      return new Context(context.prev, new Var(varname, context.vars), false)\n    }\n  }\n\n  function isModifier(name) {\n    return name == \"public\" || name == \"private\" || name == \"protected\" || name == \"abstract\" || name == \"readonly\"\n  }\n\n  // Combinators\n\n  function Context(prev, vars, block) { this.prev = prev; this.vars = vars; this.block = block }\n  function Var(name, next) { this.name = name; this.next = next }\n\n  var defaultVars = new Var(\"this\", new Var(\"arguments\", null))\n  function pushcontext() {\n    cx.state.context = new Context(cx.state.context, cx.state.localVars, false)\n    cx.state.localVars = defaultVars\n  }\n  function pushblockcontext() {\n    cx.state.context = new Context(cx.state.context, cx.state.localVars, true)\n    cx.state.localVars = null\n  }\n  function popcontext() {\n    cx.state.localVars = cx.state.context.vars\n    cx.state.context = cx.state.context.prev\n  }\n  popcontext.lex = true\n  function pushlex(type, info) {\n    var result = function() {\n      var state = cx.state, indent = state.indented;\n      if (state.lexical.type == \"stat\") indent = state.lexical.indented;\n      else for (var outer = state.lexical; outer && outer.type == \")\" && outer.align; outer = outer.prev)\n        indent = outer.indented;\n      state.lexical = new JSLexical(indent, cx.stream.column(), type, null, state.lexical, info);\n    };\n    result.lex = true;\n    return result;\n  }\n  function poplex() {\n    var state = cx.state;\n    if (state.lexical.prev) {\n      if (state.lexical.type == \")\")\n        state.indented = state.lexical.indented;\n      state.lexical = state.lexical.prev;\n    }\n  }\n  poplex.lex = true;\n\n  function expect(wanted) {\n    function exp(type) {\n      if (type == wanted) return cont();\n      else if (wanted == \";\" || type == \"}\" || type == \")\" || type == \"]\") return pass();\n      else return cont(exp);\n    };\n    return exp;\n  }\n\n  function statement(type, value) {\n    if (type == \"var\") return cont(pushlex(\"vardef\", value), vardef, expect(\";\"), poplex);\n    if (type == \"keyword a\") return cont(pushlex(\"form\"), parenExpr, statement, poplex);\n    if (type == \"keyword b\") return cont(pushlex(\"form\"), statement, poplex);\n    if (type == \"keyword d\") return cx.stream.match(/^\\s*$/, false) ? cont() : cont(pushlex(\"stat\"), maybeexpression, expect(\";\"), poplex);\n    if (type == \"debugger\") return cont(expect(\";\"));\n    if (type == \"{\") return cont(pushlex(\"}\"), pushblockcontext, block, poplex, popcontext);\n    if (type == \";\") return cont();\n    if (type == \"if\") {\n      if (cx.state.lexical.info == \"else\" && cx.state.cc[cx.state.cc.length - 1] == poplex)\n        cx.state.cc.pop()();\n      return cont(pushlex(\"form\"), parenExpr, statement, poplex, maybeelse);\n    }\n    if (type == \"function\") return cont(functiondef);\n    if (type == \"for\") return cont(pushlex(\"form\"), pushblockcontext, forspec, statement, popcontext, poplex);\n    if (type == \"class\" || (isTS && value == \"interface\")) {\n      cx.marked = \"keyword\"\n      return cont(pushlex(\"form\", type == \"class\" ? type : value), className, poplex)\n    }\n    if (type == \"variable\") {\n      if (isTS && value == \"declare\") {\n        cx.marked = \"keyword\"\n        return cont(statement)\n      } else if (isTS && (value == \"module\" || value == \"enum\" || value == \"type\") && cx.stream.match(/^\\s*\\w/, false)) {\n        cx.marked = \"keyword\"\n        if (value == \"enum\") return cont(enumdef);\n        else if (value == \"type\") return cont(typename, expect(\"operator\"), typeexpr, expect(\";\"));\n        else return cont(pushlex(\"form\"), pattern, expect(\"{\"), pushlex(\"}\"), block, poplex, poplex)\n      } else if (isTS && value == \"namespace\") {\n        cx.marked = \"keyword\"\n        return cont(pushlex(\"form\"), expression, statement, poplex)\n      } else if (isTS && value == \"abstract\") {\n        cx.marked = \"keyword\"\n        return cont(statement)\n      } else {\n        return cont(pushlex(\"stat\"), maybelabel);\n      }\n    }\n    if (type == \"switch\") return cont(pushlex(\"form\"), parenExpr, expect(\"{\"), pushlex(\"}\", \"switch\"), pushblockcontext,\n                                      block, poplex, poplex, popcontext);\n    if (type == \"case\") return cont(expression, expect(\":\"));\n    if (type == \"default\") return cont(expect(\":\"));\n    if (type == \"catch\") return cont(pushlex(\"form\"), pushcontext, maybeCatchBinding, statement, poplex, popcontext);\n    if (type == \"export\") return cont(pushlex(\"stat\"), afterExport, poplex);\n    if (type == \"import\") return cont(pushlex(\"stat\"), afterImport, poplex);\n    if (type == \"async\") return cont(statement)\n    if (value == \"@\") return cont(expression, statement)\n    return pass(pushlex(\"stat\"), expression, expect(\";\"), poplex);\n  }\n  function maybeCatchBinding(type) {\n    if (type == \"(\") return cont(funarg, expect(\")\"))\n  }\n  function expression(type, value) {\n    return expressionInner(type, value, false);\n  }\n  function expressionNoComma(type, value) {\n    return expressionInner(type, value, true);\n  }\n  function parenExpr(type) {\n    if (type != \"(\") return pass()\n    return cont(pushlex(\")\"), maybeexpression, expect(\")\"), poplex)\n  }\n  function expressionInner(type, value, noComma) {\n    if (cx.state.fatArrowAt == cx.stream.start) {\n      var body = noComma ? arrowBodyNoComma : arrowBody;\n      if (type == \"(\") return cont(pushcontext, pushlex(\")\"), commasep(funarg, \")\"), poplex, expect(\"=>\"), body, popcontext);\n      else if (type == \"variable\") return pass(pushcontext, pattern, expect(\"=>\"), body, popcontext);\n    }\n\n    var maybeop = noComma ? maybeoperatorNoComma : maybeoperatorComma;\n    if (atomicTypes.hasOwnProperty(type)) return cont(maybeop);\n    if (type == \"function\") return cont(functiondef, maybeop);\n    if (type == \"class\" || (isTS && value == \"interface\")) { cx.marked = \"keyword\"; return cont(pushlex(\"form\"), classExpression, poplex); }\n    if (type == \"keyword c\" || type == \"async\") return cont(noComma ? expressionNoComma : expression);\n    if (type == \"(\") return cont(pushlex(\")\"), maybeexpression, expect(\")\"), poplex, maybeop);\n    if (type == \"operator\" || type == \"spread\") return cont(noComma ? expressionNoComma : expression);\n    if (type == \"[\") return cont(pushlex(\"]\"), arrayLiteral, poplex, maybeop);\n    if (type == \"{\") return contCommasep(objprop, \"}\", null, maybeop);\n    if (type == \"quasi\") return pass(quasi, maybeop);\n    if (type == \"new\") return cont(maybeTarget(noComma));\n    return cont();\n  }\n  function maybeexpression(type) {\n    if (type.match(/[;\\}\\)\\],]/)) return pass();\n    return pass(expression);\n  }\n\n  function maybeoperatorComma(type, value) {\n    if (type == \",\") return cont(maybeexpression);\n    return maybeoperatorNoComma(type, value, false);\n  }\n  function maybeoperatorNoComma(type, value, noComma) {\n    var me = noComma == false ? maybeoperatorComma : maybeoperatorNoComma;\n    var expr = noComma == false ? expression : expressionNoComma;\n    if (type == \"=>\") return cont(pushcontext, noComma ? arrowBodyNoComma : arrowBody, popcontext);\n    if (type == \"operator\") {\n      if (/\\+\\+|--/.test(value) || isTS && value == \"!\") return cont(me);\n      if (isTS && value == \"<\" && cx.stream.match(/^([^<>]|<[^<>]*>)*>\\s*\\(/, false))\n        return cont(pushlex(\">\"), commasep(typeexpr, \">\"), poplex, me);\n      if (value == \"?\") return cont(expression, expect(\":\"), expr);\n      return cont(expr);\n    }\n    if (type == \"quasi\") { return pass(quasi, me); }\n    if (type == \";\") return;\n    if (type == \"(\") return contCommasep(expressionNoComma, \")\", \"call\", me);\n    if (type == \".\") return cont(property, me);\n    if (type == \"[\") return cont(pushlex(\"]\"), maybeexpression, expect(\"]\"), poplex, me);\n    if (isTS && value == \"as\") { cx.marked = \"keyword\"; return cont(typeexpr, me) }\n    if (type == \"regexp\") {\n      cx.state.lastType = cx.marked = \"operator\"\n      cx.stream.backUp(cx.stream.pos - cx.stream.start - 1)\n      return cont(expr)\n    }\n  }\n  function quasi(type, value) {\n    if (type != \"quasi\") return pass();\n    if (value.slice(value.length - 2) != \"${\") return cont(quasi);\n    return cont(maybeexpression, continueQuasi);\n  }\n  function continueQuasi(type) {\n    if (type == \"}\") {\n      cx.marked = \"string-2\";\n      cx.state.tokenize = tokenQuasi;\n      return cont(quasi);\n    }\n  }\n  function arrowBody(type) {\n    findFatArrow(cx.stream, cx.state);\n    return pass(type == \"{\" ? statement : expression);\n  }\n  function arrowBodyNoComma(type) {\n    findFatArrow(cx.stream, cx.state);\n    return pass(type == \"{\" ? statement : expressionNoComma);\n  }\n  function maybeTarget(noComma) {\n    return function(type) {\n      if (type == \".\") return cont(noComma ? targetNoComma : target);\n      else if (type == \"variable\" && isTS) return cont(maybeTypeArgs, noComma ? maybeoperatorNoComma : maybeoperatorComma)\n      else return pass(noComma ? expressionNoComma : expression);\n    };\n  }\n  function target(_, value) {\n    if (value == \"target\") { cx.marked = \"keyword\"; return cont(maybeoperatorComma); }\n  }\n  function targetNoComma(_, value) {\n    if (value == \"target\") { cx.marked = \"keyword\"; return cont(maybeoperatorNoComma); }\n  }\n  function maybelabel(type) {\n    if (type == \":\") return cont(poplex, statement);\n    return pass(maybeoperatorComma, expect(\";\"), poplex);\n  }\n  function property(type) {\n    if (type == \"variable\") {cx.marked = \"property\"; return cont();}\n  }\n  function objprop(type, value) {\n    if (type == \"async\") {\n      cx.marked = \"property\";\n      return cont(objprop);\n    } else if (type == \"variable\" || cx.style == \"keyword\") {\n      cx.marked = \"property\";\n      if (value == \"get\" || value == \"set\") return cont(getterSetter);\n      var m // Work around fat-arrow-detection complication for detecting typescript typed arrow params\n      if (isTS && cx.state.fatArrowAt == cx.stream.start && (m = cx.stream.match(/^\\s*:\\s*/, false)))\n        cx.state.fatArrowAt = cx.stream.pos + m[0].length\n      return cont(afterprop);\n    } else if (type == \"number\" || type == \"string\") {\n      cx.marked = jsonldMode ? \"property\" : (cx.style + \" property\");\n      return cont(afterprop);\n    } else if (type == \"jsonld-keyword\") {\n      return cont(afterprop);\n    } else if (isTS && isModifier(value)) {\n      cx.marked = \"keyword\"\n      return cont(objprop)\n    } else if (type == \"[\") {\n      return cont(expression, maybetype, expect(\"]\"), afterprop);\n    } else if (type == \"spread\") {\n      return cont(expressionNoComma, afterprop);\n    } else if (value == \"*\") {\n      cx.marked = \"keyword\";\n      return cont(objprop);\n    } else if (type == \":\") {\n      return pass(afterprop)\n    }\n  }\n  function getterSetter(type) {\n    if (type != \"variable\") return pass(afterprop);\n    cx.marked = \"property\";\n    return cont(functiondef);\n  }\n  function afterprop(type) {\n    if (type == \":\") return cont(expressionNoComma);\n    if (type == \"(\") return pass(functiondef);\n  }\n  function commasep(what, end, sep) {\n    function proceed(type, value) {\n      if (sep ? sep.indexOf(type) > -1 : type == \",\") {\n        var lex = cx.state.lexical;\n        if (lex.info == \"call\") lex.pos = (lex.pos || 0) + 1;\n        return cont(function(type, value) {\n          if (type == end || value == end) return pass()\n          return pass(what)\n        }, proceed);\n      }\n      if (type == end || value == end) return cont();\n      if (sep && sep.indexOf(\";\") > -1) return pass(what)\n      return cont(expect(end));\n    }\n    return function(type, value) {\n      if (type == end || value == end) return cont();\n      return pass(what, proceed);\n    };\n  }\n  function contCommasep(what, end, info) {\n    for (var i = 3; i < arguments.length; i++)\n      cx.cc.push(arguments[i]);\n    return cont(pushlex(end, info), commasep(what, end), poplex);\n  }\n  function block(type) {\n    if (type == \"}\") return cont();\n    return pass(statement, block);\n  }\n  function maybetype(type, value) {\n    if (isTS) {\n      if (type == \":\") return cont(typeexpr);\n      if (value == \"?\") return cont(maybetype);\n    }\n  }\n  function maybetypeOrIn(type, value) {\n    if (isTS && (type == \":\" || value == \"in\")) return cont(typeexpr)\n  }\n  function mayberettype(type) {\n    if (isTS && type == \":\") {\n      if (cx.stream.match(/^\\s*\\w+\\s+is\\b/, false)) return cont(expression, isKW, typeexpr)\n      else return cont(typeexpr)\n    }\n  }\n  function isKW(_, value) {\n    if (value == \"is\") {\n      cx.marked = \"keyword\"\n      return cont()\n    }\n  }\n  function typeexpr(type, value) {\n    if (value == \"keyof\" || value == \"typeof\" || value == \"infer\" || value == \"readonly\") {\n      cx.marked = \"keyword\"\n      return cont(value == \"typeof\" ? expressionNoComma : typeexpr)\n    }\n    if (type == \"variable\" || value == \"void\") {\n      cx.marked = \"type\"\n      return cont(afterType)\n    }\n    if (value == \"|\" || value == \"&\") return cont(typeexpr)\n    if (type == \"string\" || type == \"number\" || type == \"atom\") return cont(afterType);\n    if (type == \"[\") return cont(pushlex(\"]\"), commasep(typeexpr, \"]\", \",\"), poplex, afterType)\n    if (type == \"{\") return cont(pushlex(\"}\"), typeprops, poplex, afterType)\n    if (type == \"(\") return cont(commasep(typearg, \")\"), maybeReturnType, afterType)\n    if (type == \"<\") return cont(commasep(typeexpr, \">\"), typeexpr)\n    if (type == \"quasi\") { return pass(quasiType, afterType); }\n  }\n  function maybeReturnType(type) {\n    if (type == \"=>\") return cont(typeexpr)\n  }\n  function typeprops(type) {\n    if (type.match(/[\\}\\)\\]]/)) return cont()\n    if (type == \",\" || type == \";\") return cont(typeprops)\n    return pass(typeprop, typeprops)\n  }\n  function typeprop(type, value) {\n    if (type == \"variable\" || cx.style == \"keyword\") {\n      cx.marked = \"property\"\n      return cont(typeprop)\n    } else if (value == \"?\" || type == \"number\" || type == \"string\") {\n      return cont(typeprop)\n    } else if (type == \":\") {\n      return cont(typeexpr)\n    } else if (type == \"[\") {\n      return cont(expect(\"variable\"), maybetypeOrIn, expect(\"]\"), typeprop)\n    } else if (type == \"(\") {\n      return pass(functiondecl, typeprop)\n    } else if (!type.match(/[;\\}\\)\\],]/)) {\n      return cont()\n    }\n  }\n  function quasiType(type, value) {\n    if (type != \"quasi\") return pass();\n    if (value.slice(value.length - 2) != \"${\") return cont(quasiType);\n    return cont(typeexpr, continueQuasiType);\n  }\n  function continueQuasiType(type) {\n    if (type == \"}\") {\n      cx.marked = \"string-2\";\n      cx.state.tokenize = tokenQuasi;\n      return cont(quasiType);\n    }\n  }\n  function typearg(type, value) {\n    if (type == \"variable\" && cx.stream.match(/^\\s*[?:]/, false) || value == \"?\") return cont(typearg)\n    if (type == \":\") return cont(typeexpr)\n    if (type == \"spread\") return cont(typearg)\n    return pass(typeexpr)\n  }\n  function afterType(type, value) {\n    if (value == \"<\") return cont(pushlex(\">\"), commasep(typeexpr, \">\"), poplex, afterType)\n    if (value == \"|\" || type == \".\" || value == \"&\") return cont(typeexpr)\n    if (type == \"[\") return cont(typeexpr, expect(\"]\"), afterType)\n    if (value == \"extends\" || value == \"implements\") { cx.marked = \"keyword\"; return cont(typeexpr) }\n    if (value == \"?\") return cont(typeexpr, expect(\":\"), typeexpr)\n  }\n  function maybeTypeArgs(_, value) {\n    if (value == \"<\") return cont(pushlex(\">\"), commasep(typeexpr, \">\"), poplex, afterType)\n  }\n  function typeparam() {\n    return pass(typeexpr, maybeTypeDefault)\n  }\n  function maybeTypeDefault(_, value) {\n    if (value == \"=\") return cont(typeexpr)\n  }\n  function vardef(_, value) {\n    if (value == \"enum\") {cx.marked = \"keyword\"; return cont(enumdef)}\n    return pass(pattern, maybetype, maybeAssign, vardefCont);\n  }\n  function pattern(type, value) {\n    if (isTS && isModifier(value)) { cx.marked = \"keyword\"; return cont(pattern) }\n    if (type == \"variable\") { register(value); return cont(); }\n    if (type == \"spread\") return cont(pattern);\n    if (type == \"[\") return contCommasep(eltpattern, \"]\");\n    if (type == \"{\") return contCommasep(proppattern, \"}\");\n  }\n  function proppattern(type, value) {\n    if (type == \"variable\" && !cx.stream.match(/^\\s*:/, false)) {\n      register(value);\n      return cont(maybeAssign);\n    }\n    if (type == \"variable\") cx.marked = \"property\";\n    if (type == \"spread\") return cont(pattern);\n    if (type == \"}\") return pass();\n    if (type == \"[\") return cont(expression, expect(']'), expect(':'), proppattern);\n    return cont(expect(\":\"), pattern, maybeAssign);\n  }\n  function eltpattern() {\n    return pass(pattern, maybeAssign)\n  }\n  function maybeAssign(_type, value) {\n    if (value == \"=\") return cont(expressionNoComma);\n  }\n  function vardefCont(type) {\n    if (type == \",\") return cont(vardef);\n  }\n  function maybeelse(type, value) {\n    if (type == \"keyword b\" && value == \"else\") return cont(pushlex(\"form\", \"else\"), statement, poplex);\n  }\n  function forspec(type, value) {\n    if (value == \"await\") return cont(forspec);\n    if (type == \"(\") return cont(pushlex(\")\"), forspec1, poplex);\n  }\n  function forspec1(type) {\n    if (type == \"var\") return cont(vardef, forspec2);\n    if (type == \"variable\") return cont(forspec2);\n    return pass(forspec2)\n  }\n  function forspec2(type, value) {\n    if (type == \")\") return cont()\n    if (type == \";\") return cont(forspec2)\n    if (value == \"in\" || value == \"of\") { cx.marked = \"keyword\"; return cont(expression, forspec2) }\n    return pass(expression, forspec2)\n  }\n  function functiondef(type, value) {\n    if (value == \"*\") {cx.marked = \"keyword\"; return cont(functiondef);}\n    if (type == \"variable\") {register(value); return cont(functiondef);}\n    if (type == \"(\") return cont(pushcontext, pushlex(\")\"), commasep(funarg, \")\"), poplex, mayberettype, statement, popcontext);\n    if (isTS && value == \"<\") return cont(pushlex(\">\"), commasep(typeparam, \">\"), poplex, functiondef)\n  }\n  function functiondecl(type, value) {\n    if (value == \"*\") {cx.marked = \"keyword\"; return cont(functiondecl);}\n    if (type == \"variable\") {register(value); return cont(functiondecl);}\n    if (type == \"(\") return cont(pushcontext, pushlex(\")\"), commasep(funarg, \")\"), poplex, mayberettype, popcontext);\n    if (isTS && value == \"<\") return cont(pushlex(\">\"), commasep(typeparam, \">\"), poplex, functiondecl)\n  }\n  function typename(type, value) {\n    if (type == \"keyword\" || type == \"variable\") {\n      cx.marked = \"type\"\n      return cont(typename)\n    } else if (value == \"<\") {\n      return cont(pushlex(\">\"), commasep(typeparam, \">\"), poplex)\n    }\n  }\n  function funarg(type, value) {\n    if (value == \"@\") cont(expression, funarg)\n    if (type == \"spread\") return cont(funarg);\n    if (isTS && isModifier(value)) { cx.marked = \"keyword\"; return cont(funarg); }\n    if (isTS && type == \"this\") return cont(maybetype, maybeAssign)\n    return pass(pattern, maybetype, maybeAssign);\n  }\n  function classExpression(type, value) {\n    // Class expressions may have an optional name.\n    if (type == \"variable\") return className(type, value);\n    return classNameAfter(type, value);\n  }\n  function className(type, value) {\n    if (type == \"variable\") {register(value); return cont(classNameAfter);}\n  }\n  function classNameAfter(type, value) {\n    if (value == \"<\") return cont(pushlex(\">\"), commasep(typeparam, \">\"), poplex, classNameAfter)\n    if (value == \"extends\" || value == \"implements\" || (isTS && type == \",\")) {\n      if (value == \"implements\") cx.marked = \"keyword\";\n      return cont(isTS ? typeexpr : expression, classNameAfter);\n    }\n    if (type == \"{\") return cont(pushlex(\"}\"), classBody, poplex);\n  }\n  function classBody(type, value) {\n    if (type == \"async\" ||\n        (type == \"variable\" &&\n         (value == \"static\" || value == \"get\" || value == \"set\" || (isTS && isModifier(value))) &&\n         cx.stream.match(/^\\s+[\\w$\\xa1-\\uffff]/, false))) {\n      cx.marked = \"keyword\";\n      return cont(classBody);\n    }\n    if (type == \"variable\" || cx.style == \"keyword\") {\n      cx.marked = \"property\";\n      return cont(classfield, classBody);\n    }\n    if (type == \"number\" || type == \"string\") return cont(classfield, classBody);\n    if (type == \"[\")\n      return cont(expression, maybetype, expect(\"]\"), classfield, classBody)\n    if (value == \"*\") {\n      cx.marked = \"keyword\";\n      return cont(classBody);\n    }\n    if (isTS && type == \"(\") return pass(functiondecl, classBody)\n    if (type == \";\" || type == \",\") return cont(classBody);\n    if (type == \"}\") return cont();\n    if (value == \"@\") return cont(expression, classBody)\n  }\n  function classfield(type, value) {\n    if (value == \"!\") return cont(classfield)\n    if (value == \"?\") return cont(classfield)\n    if (type == \":\") return cont(typeexpr, maybeAssign)\n    if (value == \"=\") return cont(expressionNoComma)\n    var context = cx.state.lexical.prev, isInterface = context && context.info == \"interface\"\n    return pass(isInterface ? functiondecl : functiondef)\n  }\n  function afterExport(type, value) {\n    if (value == \"*\") { cx.marked = \"keyword\"; return cont(maybeFrom, expect(\";\")); }\n    if (value == \"default\") { cx.marked = \"keyword\"; return cont(expression, expect(\";\")); }\n    if (type == \"{\") return cont(commasep(exportField, \"}\"), maybeFrom, expect(\";\"));\n    return pass(statement);\n  }\n  function exportField(type, value) {\n    if (value == \"as\") { cx.marked = \"keyword\"; return cont(expect(\"variable\")); }\n    if (type == \"variable\") return pass(expressionNoComma, exportField);\n  }\n  function afterImport(type) {\n    if (type == \"string\") return cont();\n    if (type == \"(\") return pass(expression);\n    if (type == \".\") return pass(maybeoperatorComma);\n    return pass(importSpec, maybeMoreImports, maybeFrom);\n  }\n  function importSpec(type, value) {\n    if (type == \"{\") return contCommasep(importSpec, \"}\");\n    if (type == \"variable\") register(value);\n    if (value == \"*\") cx.marked = \"keyword\";\n    return cont(maybeAs);\n  }\n  function maybeMoreImports(type) {\n    if (type == \",\") return cont(importSpec, maybeMoreImports)\n  }\n  function maybeAs(_type, value) {\n    if (value == \"as\") { cx.marked = \"keyword\"; return cont(importSpec); }\n  }\n  function maybeFrom(_type, value) {\n    if (value == \"from\") { cx.marked = \"keyword\"; return cont(expression); }\n  }\n  function arrayLiteral(type) {\n    if (type == \"]\") return cont();\n    return pass(commasep(expressionNoComma, \"]\"));\n  }\n  function enumdef() {\n    return pass(pushlex(\"form\"), pattern, expect(\"{\"), pushlex(\"}\"), commasep(enummember, \"}\"), poplex, poplex)\n  }\n  function enummember() {\n    return pass(pattern, maybeAssign);\n  }\n\n  function isContinuedStatement(state, textAfter) {\n    return state.lastType == \"operator\" || state.lastType == \",\" ||\n      isOperatorChar.test(textAfter.charAt(0)) ||\n      /[,.]/.test(textAfter.charAt(0));\n  }\n\n  function expressionAllowed(stream, state, backUp) {\n    return state.tokenize == tokenBase &&\n      /^(?:operator|sof|keyword [bcd]|case|new|export|default|spread|[\\[{}\\(,;:]|=>)$/.test(state.lastType) ||\n      (state.lastType == \"quasi\" && /\\{\\s*$/.test(stream.string.slice(0, stream.pos - (backUp || 0))))\n  }\n\n  // Interface\n\n  return {\n    startState: function(basecolumn) {\n      var state = {\n        tokenize: tokenBase,\n        lastType: \"sof\",\n        cc: [],\n        lexical: new JSLexical((basecolumn || 0) - indentUnit, 0, \"block\", false),\n        localVars: parserConfig.localVars,\n        context: parserConfig.localVars && new Context(null, null, false),\n        indented: basecolumn || 0\n      };\n      if (parserConfig.globalVars && typeof parserConfig.globalVars == \"object\")\n        state.globalVars = parserConfig.globalVars;\n      return state;\n    },\n\n    token: function(stream, state) {\n      if (stream.sol()) {\n        if (!state.lexical.hasOwnProperty(\"align\"))\n          state.lexical.align = false;\n        state.indented = stream.indentation();\n        findFatArrow(stream, state);\n      }\n      if (state.tokenize != tokenComment && stream.eatSpace()) return null;\n      var style = state.tokenize(stream, state);\n      if (type == \"comment\") return style;\n      state.lastType = type == \"operator\" && (content == \"++\" || content == \"--\") ? \"incdec\" : type;\n      return parseJS(state, style, type, content, stream);\n    },\n\n    indent: function(state, textAfter) {\n      if (state.tokenize == tokenComment || state.tokenize == tokenQuasi) return CodeMirror.Pass;\n      if (state.tokenize != tokenBase) return 0;\n      var firstChar = textAfter && textAfter.charAt(0), lexical = state.lexical, top\n      // Kludge to prevent 'maybelse' from blocking lexical scope pops\n      if (!/^\\s*else\\b/.test(textAfter)) for (var i = state.cc.length - 1; i >= 0; --i) {\n        var c = state.cc[i];\n        if (c == poplex) lexical = lexical.prev;\n        else if (c != maybeelse && c != popcontext) break;\n      }\n      while ((lexical.type == \"stat\" || lexical.type == \"form\") &&\n             (firstChar == \"}\" || ((top = state.cc[state.cc.length - 1]) &&\n                                   (top == maybeoperatorComma || top == maybeoperatorNoComma) &&\n                                   !/^[,\\.=+\\-*:?[\\(]/.test(textAfter))))\n        lexical = lexical.prev;\n      if (statementIndent && lexical.type == \")\" && lexical.prev.type == \"stat\")\n        lexical = lexical.prev;\n      var type = lexical.type, closing = firstChar == type;\n\n      if (type == \"vardef\") return lexical.indented + (state.lastType == \"operator\" || state.lastType == \",\" ? lexical.info.length + 1 : 0);\n      else if (type == \"form\" && firstChar == \"{\") return lexical.indented;\n      else if (type == \"form\") return lexical.indented + indentUnit;\n      else if (type == \"stat\")\n        return lexical.indented + (isContinuedStatement(state, textAfter) ? statementIndent || indentUnit : 0);\n      else if (lexical.info == \"switch\" && !closing && parserConfig.doubleIndentSwitch != false)\n        return lexical.indented + (/^(?:case|default)\\b/.test(textAfter) ? indentUnit : 2 * indentUnit);\n      else if (lexical.align) return lexical.column + (closing ? 0 : 1);\n      else return lexical.indented + (closing ? 0 : indentUnit);\n    },\n\n    electricInput: /^\\s*(?:case .*?:|default:|\\{|\\})$/,\n    blockCommentStart: jsonMode ? null : \"/*\",\n    blockCommentEnd: jsonMode ? null : \"*/\",\n    blockCommentContinue: jsonMode ? null : \" * \",\n    lineComment: jsonMode ? null : \"//\",\n    fold: \"brace\",\n    closeBrackets: \"()[]{}''\\\"\\\"``\",\n\n    helperType: jsonMode ? \"json\" : \"javascript\",\n    jsonldMode: jsonldMode,\n    jsonMode: jsonMode,\n\n    expressionAllowed: expressionAllowed,\n\n    skipExpression: function(state) {\n      parseJS(state, \"atom\", \"atom\", \"true\", new CodeMirror.StringStream(\"\", 2, null))\n    }\n  };\n});\n\nCodeMirror.registerHelper(\"wordChars\", \"javascript\", /[\\w$]/);\n\nCodeMirror.defineMIME(\"text/javascript\", \"javascript\");\nCodeMirror.defineMIME(\"text/ecmascript\", \"javascript\");\nCodeMirror.defineMIME(\"application/javascript\", \"javascript\");\nCodeMirror.defineMIME(\"application/x-javascript\", \"javascript\");\nCodeMirror.defineMIME(\"application/ecmascript\", \"javascript\");\nCodeMirror.defineMIME(\"application/json\", { name: \"javascript\", json: true });\nCodeMirror.defineMIME(\"application/x-json\", { name: \"javascript\", json: true });\nCodeMirror.defineMIME(\"application/manifest+json\", { name: \"javascript\", json: true })\nCodeMirror.defineMIME(\"application/ld+json\", { name: \"javascript\", jsonld: true });\nCodeMirror.defineMIME(\"text/typescript\", { name: \"javascript\", typescript: true });\nCodeMirror.defineMIME(\"application/typescript\", { name: \"javascript\", typescript: true });\n\n});\n","// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: https://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nvar htmlConfig = {\n  autoSelfClosers: {'area': true, 'base': true, 'br': true, 'col': true, 'command': true,\n                    'embed': true, 'frame': true, 'hr': true, 'img': true, 'input': true,\n                    'keygen': true, 'link': true, 'meta': true, 'param': true, 'source': true,\n                    'track': true, 'wbr': true, 'menuitem': true},\n  implicitlyClosed: {'dd': true, 'li': true, 'optgroup': true, 'option': true, 'p': true,\n                     'rp': true, 'rt': true, 'tbody': true, 'td': true, 'tfoot': true,\n                     'th': true, 'tr': true},\n  contextGrabbers: {\n    'dd': {'dd': true, 'dt': true},\n    'dt': {'dd': true, 'dt': true},\n    'li': {'li': true},\n    'option': {'option': true, 'optgroup': true},\n    'optgroup': {'optgroup': true},\n    'p': {'address': true, 'article': true, 'aside': true, 'blockquote': true, 'dir': true,\n          'div': true, 'dl': true, 'fieldset': true, 'footer': true, 'form': true,\n          'h1': true, 'h2': true, 'h3': true, 'h4': true, 'h5': true, 'h6': true,\n          'header': true, 'hgroup': true, 'hr': true, 'menu': true, 'nav': true, 'ol': true,\n          'p': true, 'pre': true, 'section': true, 'table': true, 'ul': true},\n    'rp': {'rp': true, 'rt': true},\n    'rt': {'rp': true, 'rt': true},\n    'tbody': {'tbody': true, 'tfoot': true},\n    'td': {'td': true, 'th': true},\n    'tfoot': {'tbody': true},\n    'th': {'td': true, 'th': true},\n    'thead': {'tbody': true, 'tfoot': true},\n    'tr': {'tr': true}\n  },\n  doNotIndent: {\"pre\": true},\n  allowUnquoted: true,\n  allowMissing: true,\n  caseFold: true\n}\n\nvar xmlConfig = {\n  autoSelfClosers: {},\n  implicitlyClosed: {},\n  contextGrabbers: {},\n  doNotIndent: {},\n  allowUnquoted: false,\n  allowMissing: false,\n  allowMissingTagName: false,\n  caseFold: false\n}\n\nCodeMirror.defineMode(\"xml\", function(editorConf, config_) {\n  var indentUnit = editorConf.indentUnit\n  var config = {}\n  var defaults = config_.htmlMode ? htmlConfig : xmlConfig\n  for (var prop in defaults) config[prop] = defaults[prop]\n  for (var prop in config_) config[prop] = config_[prop]\n\n  // Return variables for tokenizers\n  var type, setStyle;\n\n  function inText(stream, state) {\n    function chain(parser) {\n      state.tokenize = parser;\n      return parser(stream, state);\n    }\n\n    var ch = stream.next();\n    if (ch == \"<\") {\n      if (stream.eat(\"!\")) {\n        if (stream.eat(\"[\")) {\n          if (stream.match(\"CDATA[\")) return chain(inBlock(\"atom\", \"]]>\"));\n          else return null;\n        } else if (stream.match(\"--\")) {\n          return chain(inBlock(\"comment\", \"-->\"));\n        } else if (stream.match(\"DOCTYPE\", true, true)) {\n          stream.eatWhile(/[\\w\\._\\-]/);\n          return chain(doctype(1));\n        } else {\n          return null;\n        }\n      } else if (stream.eat(\"?\")) {\n        stream.eatWhile(/[\\w\\._\\-]/);\n        state.tokenize = inBlock(\"meta\", \"?>\");\n        return \"meta\";\n      } else {\n        type = stream.eat(\"/\") ? \"closeTag\" : \"openTag\";\n        state.tokenize = inTag;\n        return \"tag bracket\";\n      }\n    } else if (ch == \"&\") {\n      var ok;\n      if (stream.eat(\"#\")) {\n        if (stream.eat(\"x\")) {\n          ok = stream.eatWhile(/[a-fA-F\\d]/) && stream.eat(\";\");\n        } else {\n          ok = stream.eatWhile(/[\\d]/) && stream.eat(\";\");\n        }\n      } else {\n        ok = stream.eatWhile(/[\\w\\.\\-:]/) && stream.eat(\";\");\n      }\n      return ok ? \"atom\" : \"error\";\n    } else {\n      stream.eatWhile(/[^&<]/);\n      return null;\n    }\n  }\n  inText.isInText = true;\n\n  function inTag(stream, state) {\n    var ch = stream.next();\n    if (ch == \">\" || (ch == \"/\" && stream.eat(\">\"))) {\n      state.tokenize = inText;\n      type = ch == \">\" ? \"endTag\" : \"selfcloseTag\";\n      return \"tag bracket\";\n    } else if (ch == \"=\") {\n      type = \"equals\";\n      return null;\n    } else if (ch == \"<\") {\n      state.tokenize = inText;\n      state.state = baseState;\n      state.tagName = state.tagStart = null;\n      var next = state.tokenize(stream, state);\n      return next ? next + \" tag error\" : \"tag error\";\n    } else if (/[\\'\\\"]/.test(ch)) {\n      state.tokenize = inAttribute(ch);\n      state.stringStartCol = stream.column();\n      return state.tokenize(stream, state);\n    } else {\n      stream.match(/^[^\\s\\u00a0=<>\\\"\\']*[^\\s\\u00a0=<>\\\"\\'\\/]/);\n      return \"word\";\n    }\n  }\n\n  function inAttribute(quote) {\n    var closure = function(stream, state) {\n      while (!stream.eol()) {\n        if (stream.next() == quote) {\n          state.tokenize = inTag;\n          break;\n        }\n      }\n      return \"string\";\n    };\n    closure.isInAttribute = true;\n    return closure;\n  }\n\n  function inBlock(style, terminator) {\n    return function(stream, state) {\n      while (!stream.eol()) {\n        if (stream.match(terminator)) {\n          state.tokenize = inText;\n          break;\n        }\n        stream.next();\n      }\n      return style;\n    }\n  }\n\n  function doctype(depth) {\n    return function(stream, state) {\n      var ch;\n      while ((ch = stream.next()) != null) {\n        if (ch == \"<\") {\n          state.tokenize = doctype(depth + 1);\n          return state.tokenize(stream, state);\n        } else if (ch == \">\") {\n          if (depth == 1) {\n            state.tokenize = inText;\n            break;\n          } else {\n            state.tokenize = doctype(depth - 1);\n            return state.tokenize(stream, state);\n          }\n        }\n      }\n      return \"meta\";\n    };\n  }\n\n  function lower(tagName) {\n    return tagName && tagName.toLowerCase();\n  }\n\n  function Context(state, tagName, startOfLine) {\n    this.prev = state.context;\n    this.tagName = tagName || \"\";\n    this.indent = state.indented;\n    this.startOfLine = startOfLine;\n    if (config.doNotIndent.hasOwnProperty(tagName) || (state.context && state.context.noIndent))\n      this.noIndent = true;\n  }\n  function popContext(state) {\n    if (state.context) state.context = state.context.prev;\n  }\n  function maybePopContext(state, nextTagName) {\n    var parentTagName;\n    while (true) {\n      if (!state.context) {\n        return;\n      }\n      parentTagName = state.context.tagName;\n      if (!config.contextGrabbers.hasOwnProperty(lower(parentTagName)) ||\n          !config.contextGrabbers[lower(parentTagName)].hasOwnProperty(lower(nextTagName))) {\n        return;\n      }\n      popContext(state);\n    }\n  }\n\n  function baseState(type, stream, state) {\n    if (type == \"openTag\") {\n      state.tagStart = stream.column();\n      return tagNameState;\n    } else if (type == \"closeTag\") {\n      return closeTagNameState;\n    } else {\n      return baseState;\n    }\n  }\n  function tagNameState(type, stream, state) {\n    if (type == \"word\") {\n      state.tagName = stream.current();\n      setStyle = \"tag\";\n      return attrState;\n    } else if (config.allowMissingTagName && type == \"endTag\") {\n      setStyle = \"tag bracket\";\n      return attrState(type, stream, state);\n    } else {\n      setStyle = \"error\";\n      return tagNameState;\n    }\n  }\n  function closeTagNameState(type, stream, state) {\n    if (type == \"word\") {\n      var tagName = stream.current();\n      if (state.context && state.context.tagName != tagName &&\n          config.implicitlyClosed.hasOwnProperty(lower(state.context.tagName)))\n        popContext(state);\n      if ((state.context && state.context.tagName == tagName) || config.matchClosing === false) {\n        setStyle = \"tag\";\n        return closeState;\n      } else {\n        setStyle = \"tag error\";\n        return closeStateErr;\n      }\n    } else if (config.allowMissingTagName && type == \"endTag\") {\n      setStyle = \"tag bracket\";\n      return closeState(type, stream, state);\n    } else {\n      setStyle = \"error\";\n      return closeStateErr;\n    }\n  }\n\n  function closeState(type, _stream, state) {\n    if (type != \"endTag\") {\n      setStyle = \"error\";\n      return closeState;\n    }\n    popContext(state);\n    return baseState;\n  }\n  function closeStateErr(type, stream, state) {\n    setStyle = \"error\";\n    return closeState(type, stream, state);\n  }\n\n  function attrState(type, _stream, state) {\n    if (type == \"word\") {\n      setStyle = \"attribute\";\n      return attrEqState;\n    } else if (type == \"endTag\" || type == \"selfcloseTag\") {\n      var tagName = state.tagName, tagStart = state.tagStart;\n      state.tagName = state.tagStart = null;\n      if (type == \"selfcloseTag\" ||\n          config.autoSelfClosers.hasOwnProperty(lower(tagName))) {\n        maybePopContext(state, tagName);\n      } else {\n        maybePopContext(state, tagName);\n        state.context = new Context(state, tagName, tagStart == state.indented);\n      }\n      return baseState;\n    }\n    setStyle = \"error\";\n    return attrState;\n  }\n  function attrEqState(type, stream, state) {\n    if (type == \"equals\") return attrValueState;\n    if (!config.allowMissing) setStyle = \"error\";\n    return attrState(type, stream, state);\n  }\n  function attrValueState(type, stream, state) {\n    if (type == \"string\") return attrContinuedState;\n    if (type == \"word\" && config.allowUnquoted) {setStyle = \"string\"; return attrState;}\n    setStyle = \"error\";\n    return attrState(type, stream, state);\n  }\n  function attrContinuedState(type, stream, state) {\n    if (type == \"string\") return attrContinuedState;\n    return attrState(type, stream, state);\n  }\n\n  return {\n    startState: function(baseIndent) {\n      var state = {tokenize: inText,\n                   state: baseState,\n                   indented: baseIndent || 0,\n                   tagName: null, tagStart: null,\n                   context: null}\n      if (baseIndent != null) state.baseIndent = baseIndent\n      return state\n    },\n\n    token: function(stream, state) {\n      if (!state.tagName && stream.sol())\n        state.indented = stream.indentation();\n\n      if (stream.eatSpace()) return null;\n      type = null;\n      var style = state.tokenize(stream, state);\n      if ((style || type) && style != \"comment\") {\n        setStyle = null;\n        state.state = state.state(type || style, stream, state);\n        if (setStyle)\n          style = setStyle == \"error\" ? style + \" error\" : setStyle;\n      }\n      return style;\n    },\n\n    indent: function(state, textAfter, fullLine) {\n      var context = state.context;\n      // Indent multi-line strings (e.g. css).\n      if (state.tokenize.isInAttribute) {\n        if (state.tagStart == state.indented)\n          return state.stringStartCol + 1;\n        else\n          return state.indented + indentUnit;\n      }\n      if (context && context.noIndent) return CodeMirror.Pass;\n      if (state.tokenize != inTag && state.tokenize != inText)\n        return fullLine ? fullLine.match(/^(\\s*)/)[0].length : 0;\n      // Indent the starts of attribute names.\n      if (state.tagName) {\n        if (config.multilineTagIndentPastTag !== false)\n          return state.tagStart + state.tagName.length + 2;\n        else\n          return state.tagStart + indentUnit * (config.multilineTagIndentFactor || 1);\n      }\n      if (config.alignCDATA && /<!\\[CDATA\\[/.test(textAfter)) return 0;\n      var tagAfter = textAfter && /^<(\\/)?([\\w_:\\.-]*)/.exec(textAfter);\n      if (tagAfter && tagAfter[1]) { // Closing tag spotted\n        while (context) {\n          if (context.tagName == tagAfter[2]) {\n            context = context.prev;\n            break;\n          } else if (config.implicitlyClosed.hasOwnProperty(lower(context.tagName))) {\n            context = context.prev;\n          } else {\n            break;\n          }\n        }\n      } else if (tagAfter) { // Opening tag spotted\n        while (context) {\n          var grabbers = config.contextGrabbers[lower(context.tagName)];\n          if (grabbers && grabbers.hasOwnProperty(lower(tagAfter[2])))\n            context = context.prev;\n          else\n            break;\n        }\n      }\n      while (context && context.prev && !context.startOfLine)\n        context = context.prev;\n      if (context) return context.indent + indentUnit;\n      else return state.baseIndent || 0;\n    },\n\n    electricInput: /<\\/[\\s\\w:]+>$/,\n    blockCommentStart: \"<!--\",\n    blockCommentEnd: \"-->\",\n\n    configuration: config.htmlMode ? \"html\" : \"xml\",\n    helperType: config.htmlMode ? \"html\" : \"xml\",\n\n    skipAttribute: function(state) {\n      if (state.state == attrValueState)\n        state.state = attrState\n    },\n\n    xmlCurrentTag: function(state) {\n      return state.tagName ? {name: state.tagName, close: state.type == \"closeTag\"} : null\n    },\n\n    xmlCurrentContext: function(state) {\n      var context = []\n      for (var cx = state.context; cx; cx = cx.prev)\n        context.push(cx.tagName)\n      return context.reverse()\n    }\n  };\n});\n\nCodeMirror.defineMIME(\"text/xml\", \"xml\");\nCodeMirror.defineMIME(\"application/xml\", \"xml\");\nif (!CodeMirror.mimeModes.hasOwnProperty(\"text/html\"))\n  CodeMirror.defineMIME(\"text/html\", {name: \"xml\", htmlMode: true});\n\n});\n","export default {\n  // Default assets\n  // eg. [\n  //  'https://...image1.png',\n  //  'https://...image2.png',\n  //  {type: 'image', src: 'https://...image3.png', someOtherCustomProp: 1},\n  //  ..\n  // ]\n  assets: [],\n\n  // Content to add where there is no assets to show\n  // eg. 'No <b>assets</b> here, drag to upload'\n  noAssets: '',\n\n  // Style prefix\n  stylePrefix: 'am-',\n\n  // Upload endpoint, set `false` to disable upload\n  // upload: 'https://endpoint/upload/assets',\n  // upload: false,\n  upload: 0,\n\n  // The name used in POST to pass uploaded files\n  uploadName: 'files',\n\n  // Custom headers to pass with the upload request\n  headers: {},\n\n  // Custom parameters to pass with the upload request, eg. csrf token\n  params: {},\n\n  // The credentials setting for the upload request, eg. 'include', 'omit'\n  credentials: 'include',\n\n  // Allow uploading multiple files per request.\n  // If disabled filename will not have '[]' appended\n  multiUpload: true,\n\n  // If true, tries to add automatically uploaded assets.\n  // To make it work the server should respond with a JSON containing assets\n  // in a data key, eg:\n  // {\n  //  data: [\n  //    'https://.../image.png',\n  //    ...\n  //    {src: 'https://.../image2.png'},\n  //    ...\n  //  ]\n  // }\n  autoAdd: true,\n\n  // To upload your assets, the module uses Fetch API, with this option you\n  // overwrite it with something else.\n  // It should return a Promise\n  // @example\n  // customFetch: (url, options) => axios(url, { data: options.body }),\n  customFetch: null,\n\n  // Custom uploadFile function.\n  // Differently from the `customFetch` option, this gives a total control\n  // over the uploading process, but you also have to emit all `asset:upload:*` events\n  // by yourself (if you need to use them somewhere)\n  // @example\n  // uploadFile: (e) => {\n  //   var files = e.dataTransfer ? e.dataTransfer.files : e.target.files;\n  //   // ...send somewhere\n  // }\n  uploadFile: null,\n\n  // In the absence of 'uploadFile' or 'upload' assets will be embedded as Base64\n  embedAsBase64: true,\n\n  // Handle the image url submit from the built-in 'Add image' form\n  // @example\n  // handleAdd: (textFromInput) => {\n  //   // some check...\n  //   editor.AssetManager.add(textFromInput);\n  // }\n  handleAdd: null,\n\n  // Method called before upload, on return false upload is canceled.\n  // @example\n  // beforeUpload: (files) => {\n  //   // logic...\n  //   var stopUpload = true;\n  //   if(stopUpload) return false;\n  // }\n  beforeUpload: null,\n\n  // Toggles visiblity of assets url input\n  showUrlInput: true,\n\n  // Avoid rendering the default asset manager.\n  custom: false,\n\n  // WARNING: all the options below are considered DEPRECATED.\n  // ---------------------------------------------------------------\n\n  // Enable an upload dropzone on the entire editor (not document) when dragging\n  // files over it\n  // If active the dropzone disable/hide the upload dropzone in asset modal,\n  // otherwise you will get double drops (#507)\n  dropzone: false,\n\n  // Open the asset manager once files are been dropped via the dropzone\n  openAssetsOnDrop: 1,\n\n  // Any dropzone content to append inside dropzone element\n  dropzoneContent: ''\n};\n","import { result } from 'underscore';\nimport { Model } from 'common';\n\n/**\n * @property {String} type Asset type, eg. 'image'.\n * @property {String} src Asset URL, eg. 'https://.../image.png'.\n */\nexport default class Asset extends Model {\n  defaults() {\n    return {\n      type: '',\n      src: ''\n    };\n  }\n\n  /**\n   * Get asset type.\n   * @returns {String}\n   * @example\n   * // Asset: { src: 'https://.../image.png', type: 'image' }\n   * asset.getType(); // -> 'image'\n   * */\n  getType() {\n    return this.get('type');\n  }\n\n  /**\n   * Get asset URL.\n   * @returns {String}\n   * @example\n   * // Asset: { src: 'https://.../image.png'  }\n   * asset.getSrc(); // -> 'https://.../image.png'\n   * */\n  getSrc() {\n    return this.get('src');\n  }\n\n  /**\n   * Get filename of the asset (based on `src`).\n   * @returns {String}\n   * @example\n   * // Asset: { src: 'https://.../image.png' }\n   * asset.getFilename(); // -> 'image.png'\n   * // Asset: { src: 'https://.../image' }\n   * asset.getFilename(); // -> 'image'\n   * */\n  getFilename() {\n    return this.get('src')\n      .split('/')\n      .pop()\n      .split('?')\n      .shift();\n  }\n\n  /**\n   * Get extension of the asset (based on `src`).\n   * @returns {String}\n   * @example\n   * // Asset: { src: 'https://.../image.png' }\n   * asset.getExtension(); // -> 'png'\n   * // Asset: { src: 'https://.../image' }\n   * asset.getExtension(); // -> ''\n   * */\n  getExtension() {\n    return this.getFilename()\n      .split('.')\n      .pop();\n  }\n}\n\nAsset.prototype.idAttribute = 'src';\n\nAsset.getDefaults = function() {\n  return result(this.prototype, 'defaults');\n};\n","import Asset from './Asset';\n\nexport default class AssetImage extends Asset {\n  defaults() {\n    return {\n      ...Asset.getDefaults(),\n      type: 'image',\n      unitDim: 'px',\n      height: 0,\n      width: 0\n    };\n  }\n}\n","import Backbone from 'backbone';\nimport { clone } from 'underscore';\n\nexport default Backbone.View.extend({\n  initialize(o = {}) {\n    this.options = o;\n    this.collection = o.collection;\n    const config = o.config || {};\n    this.config = config;\n    this.pfx = config.stylePrefix || '';\n    this.ppfx = config.pStylePrefix || '';\n    this.em = config.em;\n    this.className = this.pfx + 'asset';\n    this.listenTo(this.model, 'destroy remove', this.remove);\n    this.model.view = this;\n    const init = this.init && this.init.bind(this);\n    init && init(o);\n  },\n\n  __getBhv() {\n    const { em } = this;\n    const am = em && em.get('AssetManager');\n    return (am && am.__getBehaviour()) || {};\n  },\n\n  template() {\n    const pfx = this.pfx;\n    return `\n      <div class=\"${pfx}preview-cont\">\n        ${this.getPreview()}\n      </div>\n      <div class=\"${pfx}meta\">\n        ${this.getInfo()}\n      </div>\n      <div class=\"${pfx}close\" data-toggle=\"asset-remove\">\n        &Cross;\n      </div>\n    `;\n  },\n\n  /**\n   * Update target if exists\n   * @param {Model} target\n   * @private\n   * */\n  updateTarget(target) {\n    if (target && target.set) {\n      target.set('attributes', clone(target.get('attributes')));\n      target.set('src', this.model.get('src'));\n    }\n  },\n\n  getPreview() {\n    return '';\n  },\n\n  getInfo() {\n    return '';\n  },\n\n  render() {\n    const el = this.el;\n    el.innerHTML = this.template(this, this.model);\n    el.className = this.className;\n    return this;\n  }\n});\n","import { isFunction } from 'underscore';\nimport AssetView from './AssetView';\nimport html from 'utils/html';\n\nexport default AssetView.extend({\n  events: {\n    'click [data-toggle=asset-remove]': 'onRemove',\n    click: 'onClick',\n    dblclick: 'onDblClick'\n  },\n\n  getPreview() {\n    const { pfx, ppfx, model } = this;\n    const src = model.get('src');\n    return html`\n      <div class=\"${pfx}preview\" style=\"background-image: url('${src}');\"></div>\n      <div class=\"${pfx}preview-bg ${ppfx}checker-bg\"></div>\n    `;\n  },\n\n  getInfo() {\n    const { pfx, model } = this;\n    let name = model.get('name');\n    let width = model.get('width');\n    let height = model.get('height');\n    let unit = model.get('unitDim');\n    let dim = width && height ? `${width}x${height}${unit}` : '';\n    name = name || model.getFilename();\n    return html`\n      <div class=\"${pfx}name\">${name}</div>\n      <div class=\"${pfx}dimensions\">${dim}</div>\n    `;\n  },\n\n  init(o) {\n    const pfx = this.pfx;\n    this.className += ` ${pfx}asset-image`;\n  },\n\n  /**\n   * Triggered when the asset is clicked\n   * @private\n   * */\n  onClick() {\n    const { model, pfx } = this;\n    const { select } = this.__getBhv();\n    const { onClick } = this.config;\n    const coll = this.collection;\n    coll.trigger('deselectAll');\n    this.$el.addClass(pfx + 'highlight');\n\n    if (isFunction(select)) {\n      select(model, false);\n    } else if (isFunction(onClick)) {\n      onClick(model);\n    } else {\n      this.updateTarget(coll.target);\n    }\n  },\n\n  /**\n   * Triggered when the asset is double clicked\n   * @private\n   * */\n  onDblClick() {\n    const { em, model } = this;\n    const { select } = this.__getBhv();\n    const { onDblClick } = this.config;\n    const { target, onSelect } = this.collection;\n\n    if (isFunction(select)) {\n      select(model, true);\n    } else if (isFunction(onDblClick)) {\n      onDblClick(model);\n    } else {\n      this.updateTarget(target);\n      em && em.get('Modal').close();\n    }\n    isFunction(onSelect) && onSelect(model);\n  },\n\n  /**\n   * Remove asset from collection\n   * @private\n   * */\n  onRemove(e) {\n    e.stopImmediatePropagation();\n    this.model.collection.remove(this.model);\n  }\n});\n","import Backbone from 'backbone';\nimport AssetImage from './AssetImage';\nimport AssetImageView from './../view/AssetImageView';\nimport TypeableCollection from 'domain_abstract/model/TypeableCollection';\n\nexport default Backbone.Collection.extend(TypeableCollection).extend({\n  types: [\n    {\n      id: 'image',\n      model: AssetImage,\n      view: AssetImageView,\n      isType(value) {\n        if (typeof value == 'string') {\n          return {\n            type: 'image',\n            src: value\n          };\n        }\n        return value;\n      }\n    }\n  ]\n});\n","import Backbone from 'backbone';\n\nexport default Backbone.View.extend({\n  events: {\n    submit: 'handleSubmit'\n  },\n\n  template({ pfx, ppfx, em, ...view }) {\n    let form = '';\n    if (this.config.showUrlInput) {\n      form = `\n          <form class=\"${pfx}add-asset\">\n            <div class=\"${ppfx}field ${pfx}add-field\">\n              <input placeholder=\"${em && em.t('assetManager.inputPlh')}\"/>\n            </div>\n            <button class=\"${ppfx}btn-prim\">${em &&\n        em.t('assetManager.addButton')}</button>\n            <div style=\"clear:both\"></div>\n          </form>\n      `;\n    }\n\n    return `\n    <div class=\"${pfx}assets-cont\">\n      <div class=\"${pfx}assets-header\">\n        ${form}\n      </div>\n      <div class=\"${pfx}assets\" data-el=\"assets\"></div>\n      <div style=\"clear:both\"></div>\n    </div>\n    `;\n  },\n\n  initialize(o) {\n    this.options = o;\n    this.config = o.config;\n    this.pfx = this.config.stylePrefix || '';\n    this.ppfx = this.config.pStylePrefix || '';\n    this.em = this.config.em;\n    const coll = this.collection;\n    this.listenTo(coll, 'reset', this.renderAssets);\n    this.listenTo(coll, 'add', this.addToAsset);\n    this.listenTo(coll, 'remove', this.removedAsset);\n    this.listenTo(coll, 'deselectAll', this.deselectAll);\n  },\n\n  /**\n   * Add new asset to the collection via string\n   * @param {Event} e Event object\n   * @return {this}\n   * @private\n   */\n  handleSubmit(e) {\n    e.preventDefault();\n    const input = this.getAddInput();\n    const url = input && input.value.trim();\n    const handleAdd = this.config.handleAdd;\n\n    if (!url) {\n      return;\n    }\n\n    input.value = '';\n    this.getAssetsEl().scrollTop = 0;\n\n    if (handleAdd) {\n      handleAdd.bind(this)(url);\n    } else {\n      this.options.globalCollection.add(url, { at: 0 });\n    }\n  },\n\n  /**\n   * Returns assets element\n   * @return {HTMLElement}\n   * @private\n   */\n  getAssetsEl() {\n    //if(!this.assets) // Not able to cache as after the rerender it losses the ref\n    return this.el.querySelector(`.${this.pfx}assets`);\n  },\n\n  /**\n   * Returns input url element\n   * @return {HTMLElement}\n   * @private\n   */\n  getAddInput() {\n    if (!this.inputUrl || !this.inputUrl.value)\n      this.inputUrl = this.el.querySelector(`.${this.pfx}add-asset input`);\n    return this.inputUrl;\n  },\n\n  /**\n   * Triggered when an asset is removed\n   * @param {Asset} model Removed asset\n   * @private\n   */\n  removedAsset(model) {\n    if (!this.collection.length) {\n      this.toggleNoAssets();\n    }\n  },\n\n  /**\n   * Add asset to collection\n   * @private\n   * */\n  addToAsset(model) {\n    if (this.collection.length == 1) {\n      this.toggleNoAssets(1);\n    }\n    this.addAsset(model);\n  },\n\n  /**\n   * Add new asset to collection\n   * @param Object Model\n   * @param Object Fragment collection\n   * @return Object Object created\n   * @private\n   * */\n  addAsset(model, fragmentEl = null) {\n    const fragment = fragmentEl;\n    const collection = this.collection;\n    const config = this.config;\n    const rendered = new model.typeView({\n      model,\n      collection,\n      config\n    }).render().el;\n\n    if (fragment) {\n      fragment.appendChild(rendered);\n    } else {\n      const assetsEl = this.getAssetsEl();\n      if (assetsEl) {\n        assetsEl.insertBefore(rendered, assetsEl.firstChild);\n      }\n    }\n\n    return rendered;\n  },\n\n  /**\n   * Checks if to show noAssets\n   * @param {Boolean} hide\n   * @private\n   */\n  toggleNoAssets(hide) {\n    const assetsEl = this.$el.find(`.${this.pfx}assets`);\n\n    if (hide) {\n      assetsEl.empty();\n    } else {\n      const noAssets = this.config.noAssets;\n      noAssets && assetsEl.append(noAssets);\n    }\n  },\n\n  /**\n   * Deselect all assets\n   * @private\n   * */\n  deselectAll() {\n    const pfx = this.pfx;\n    this.$el.find(`.${pfx}highlight`).removeClass(`${pfx}highlight`);\n  },\n\n  renderAssets() {\n    const fragment = document.createDocumentFragment();\n    const assets = this.$el.find(`.${this.pfx}assets`);\n    assets.empty();\n    this.toggleNoAssets(this.collection.length);\n    this.collection.each(model => this.addAsset(model, fragment));\n    assets.append(fragment);\n  },\n\n  render() {\n    const fuRendered = this.options.fu.render().el;\n    this.$el.empty();\n    this.$el.append(fuRendered).append(this.template(this));\n    this.el.className = `${this.ppfx}asset-manager`;\n    this.renderAssets();\n    return this;\n  }\n});\n","import Backbone from 'backbone';\nimport fetch from 'utils/fetch';\nimport html from 'utils/html';\n\nexport default Backbone.View.extend(\n  {\n    template({ pfx, title, uploadId, disabled, multiUpload }) {\n      return html`\n        <form>\n          <div id=\"${pfx}title\">${title}</div>\n          <input\n            type=\"file\"\n            id=\"${uploadId}\"\n            name=\"file\"\n            accept=\"*/*\"\n            ${disabled ? 'disabled' : ''}\n            ${multiUpload ? 'multiple' : ''}\n          />\n          <div style=\"clear:both;\"></div>\n        </form>\n      `;\n    },\n\n    events: {},\n\n    initialize(opts = {}) {\n      this.options = opts;\n      const c = opts.config || {};\n      this.module = opts.module;\n      this.config = c;\n      this.em = this.config.em;\n      this.pfx = c.stylePrefix || '';\n      this.ppfx = c.pStylePrefix || '';\n      this.target = this.options.globalCollection || {};\n      this.uploadId = this.pfx + 'uploadFile';\n      this.disabled =\n        c.disableUpload !== undefined\n          ? c.disableUpload\n          : !c.upload && !c.embedAsBase64;\n      this.multiUpload = c.multiUpload !== undefined ? c.multiUpload : true;\n      this.events['change #' + this.uploadId] = 'uploadFile';\n      let uploadFile = c.uploadFile;\n\n      if (uploadFile) {\n        this.uploadFile = uploadFile.bind(this);\n      } else if (!c.upload && c.embedAsBase64) {\n        this.uploadFile = this.constructor.embedAsBase64;\n      }\n\n      this.delegateEvents();\n    },\n\n    /**\n     * Triggered before the upload is started\n     * @private\n     */\n    onUploadStart() {\n      const { module } = this;\n      module && module.__propEv('asset:upload:start');\n    },\n\n    /**\n     * Triggered after the upload is ended\n     * @param  {Object|string} res End result\n     * @private\n     */\n    onUploadEnd(res) {\n      const { $el, module } = this;\n      module && module.__propEv('asset:upload:end', res);\n      const input = $el.find('input');\n      input && input.val('');\n    },\n\n    /**\n     * Triggered on upload error\n     * @param  {Object} err Error\n     * @private\n     */\n    onUploadError(err) {\n      const { module } = this;\n      console.error(err);\n      this.onUploadEnd(err);\n      module && module.__propEv('asset:upload:error', err);\n    },\n\n    /**\n     * Triggered on upload response\n     * @param  {string} text Response text\n     * @private\n     */\n    onUploadResponse(text, clb) {\n      const { module, config, target } = this;\n      let json;\n      try {\n        json = typeof text === 'string' ? JSON.parse(text) : text;\n      } catch (e) {\n        json = text;\n      }\n\n      module && module.__propEv('asset:upload:response', json);\n\n      if (config.autoAdd && target) {\n        target.add(json.data, { at: 0 });\n      }\n\n      this.onUploadEnd(text);\n      clb && clb(json);\n    },\n\n    /**\n     * Upload files\n     * @param  {Object}  e Event\n     * @return {Promise}\n     * @private\n     * */\n    uploadFile(e, clb) {\n      const files = e.dataTransfer ? e.dataTransfer.files : e.target.files;\n      const { config } = this;\n      const { beforeUpload } = config;\n\n      const beforeUploadResponse = beforeUpload && beforeUpload(files);\n      if (beforeUploadResponse === false) return;\n\n      const body = new FormData();\n      const { params, customFetch } = config;\n\n      for (let param in params) {\n        body.append(param, params[param]);\n      }\n\n      if (this.multiUpload) {\n        for (let i = 0; i < files.length; i++) {\n          body.append(`${config.uploadName}[]`, files[i]);\n        }\n      } else if (files.length) {\n        body.append(config.uploadName, files[0]);\n      }\n\n      var target = this.target;\n      const url = config.upload;\n      const headers = config.headers;\n      const reqHead = 'X-Requested-With';\n\n      if (typeof headers[reqHead] == 'undefined') {\n        headers[reqHead] = 'XMLHttpRequest';\n      }\n\n      if (url) {\n        this.onUploadStart();\n        const fetchOpts = {\n          method: 'post',\n          credentials: config.credentials || 'include',\n          headers,\n          body\n        };\n        const fetchResult = customFetch\n          ? customFetch(url, fetchOpts)\n          : fetch(url, fetchOpts).then(res =>\n              ((res.status / 200) | 0) == 1\n                ? res.text()\n                : res.text().then(text => Promise.reject(text))\n            );\n        return fetchResult\n          .then(text => this.onUploadResponse(text, clb))\n          .catch(err => this.onUploadError(err));\n      }\n    },\n\n    /**\n     * Make input file droppable\n     * @private\n     * */\n    initDrop() {\n      var that = this;\n      if (!this.uploadForm) {\n        this.uploadForm = this.$el.find('form').get(0);\n        if ('draggable' in this.uploadForm) {\n          var uploadFile = this.uploadFile;\n          this.uploadForm.ondragover = function() {\n            this.className = that.pfx + 'hover';\n            return false;\n          };\n          this.uploadForm.ondragleave = function() {\n            this.className = '';\n            return false;\n          };\n          this.uploadForm.ondrop = function(e) {\n            this.className = '';\n            e.preventDefault();\n            that.uploadFile(e);\n            return;\n          };\n        }\n      }\n    },\n\n    initDropzone(ev) {\n      let addedCls = 0;\n      const c = this.config;\n      const em = ev.model;\n      const edEl = ev.el;\n      const editor = em.get('Editor');\n      const container = em.get('Config').el;\n      const frameEl = em.get('Canvas').getBody();\n      const ppfx = this.ppfx;\n      const updatedCls = `${ppfx}dropzone-active`;\n      const dropzoneCls = `${ppfx}dropzone`;\n      const cleanEditorElCls = () => {\n        edEl.className = edEl.className.replace(updatedCls, '').trim();\n        addedCls = 0;\n      };\n      const onDragOver = () => {\n        if (!addedCls) {\n          edEl.className += ` ${updatedCls}`;\n          addedCls = 1;\n        }\n        return false;\n      };\n      const onDragLeave = () => {\n        cleanEditorElCls();\n        return false;\n      };\n      const onDrop = e => {\n        cleanEditorElCls();\n        e.preventDefault();\n        e.stopPropagation();\n        this.uploadFile(e);\n\n        if (c.openAssetsOnDrop && editor) {\n          const target = editor.getSelected();\n          editor.runCommand('open-assets', {\n            target,\n            onSelect() {\n              editor.Modal.close();\n              editor.AssetManager.setTarget(null);\n            }\n          });\n        }\n\n        return false;\n      };\n\n      ev.$el.append(`<div class=\"${dropzoneCls}\">${c.dropzoneContent}</div>`);\n      cleanEditorElCls();\n\n      if ('draggable' in edEl) {\n        [edEl, frameEl].forEach(item => {\n          item.ondragover = onDragOver;\n          item.ondragleave = onDragLeave;\n          item.ondrop = onDrop;\n        });\n      }\n    },\n\n    render() {\n      const { $el, pfx, em } = this;\n      $el.html(\n        this.template({\n          title: em && em.t('assetManager.uploadTitle'),\n          uploadId: this.uploadId,\n          disabled: this.disabled,\n          multiUpload: this.multiUpload,\n          pfx\n        })\n      );\n      this.initDrop();\n      $el.attr('class', pfx + 'file-uploader');\n      return this;\n    }\n  },\n  {\n    embedAsBase64: function(e, clb) {\n      // List files dropped\n      const files = e.dataTransfer ? e.dataTransfer.files : e.target.files;\n      const response = { data: [] };\n\n      // Unlikely, widely supported now\n      if (!FileReader) {\n        this.onUploadError(\n          new Error('Unsupported platform, FileReader is not defined')\n        );\n        return;\n      }\n\n      const promises = [];\n      const mimeTypeMatcher = /^(.+)\\/(.+)$/;\n\n      for (const file of files) {\n        // For each file a reader (to read the base64 URL)\n        // and a promise (to track and merge results and errors)\n        const promise = new Promise((resolve, reject) => {\n          const reader = new FileReader();\n          reader.addEventListener('load', event => {\n            let type;\n            const name = file.name;\n\n            // Try to find the MIME type of the file.\n            const match = mimeTypeMatcher.exec(file.type);\n            if (match) {\n              type = match[1]; // The first part in the MIME, \"image\" in image/png\n            } else {\n              type = file.type;\n            }\n\n            /*\n          // Show local video files, http://jsfiddle.net/dsbonev/cCCZ2/embedded/result,js,html,css/\n          var URL = window.URL || window.webkitURL\n          var file = this.files[0]\n          var type = file.type\n          var videoNode = document.createElement('video');\n          var canPlay = videoNode.canPlayType(type) // can use also for 'audio' types\n          if (canPlay === '') canPlay = 'no'\n          var message = 'Can play type \"' + type + '\": ' + canPlay\n          var isError = canPlay === 'no'\n          displayMessage(message, isError)\n\n          if (isError) {\n            return\n          }\n\n          var fileURL = URL.createObjectURL(file)\n          videoNode.src = fileURL\n           */\n\n            // If it's an image, try to find its size\n            if (type === 'image') {\n              const data = {\n                src: reader.result,\n                name,\n                type,\n                height: 0,\n                width: 0\n              };\n\n              const image = new Image();\n              image.addEventListener('error', error => {\n                reject(error);\n              });\n              image.addEventListener('load', () => {\n                data.height = image.height;\n                data.width = image.width;\n                resolve(data);\n              });\n              image.src = data.src;\n            } else if (type) {\n              // Not an image, but has a type\n              resolve({\n                src: reader.result,\n                name,\n                type\n              });\n            } else {\n              // No type found, resolve with the URL only\n              resolve(reader.result);\n            }\n          });\n          reader.addEventListener('error', error => {\n            reject(error);\n          });\n          reader.addEventListener('abort', error => {\n            reject('Aborted');\n          });\n\n          reader.readAsDataURL(file);\n        });\n\n        promises.push(promise);\n      }\n\n      Promise.all(promises).then(\n        data => {\n          response.data = data;\n          this.onUploadResponse(response, clb);\n        },\n        error => {\n          this.onUploadError(error);\n        }\n      );\n    }\n  }\n);\n","/**\n * You can customize the initial state of the module from the editor initialization, by passing the following [Configuration Object](https://github.com/artf/grapesjs/blob/master/src/asset_manager/config/config.js)\n * ```js\n * const editor = grapesjs.init({\n *  assetManager: {\n *    // options\n *  }\n * })\n * ```\n *\n * Once the editor is instantiated you can use its API. Before using these methods you should get the module from the instance\n *\n * ```js\n * const assetManager = editor.AssetManager;\n * ```\n *\n * ## Available Events\n * * `asset:open` - Asset Manager opened.\n * * `asset:close` - Asset Manager closed.\n * * `asset:add` - Asset added. The [Asset] is passed as an argument to the callback.\n * * `asset:remove` - Asset removed. The [Asset] is passed as an argument to the callback.\n * * `asset:update` - Asset updated. The updated [Asset] and the object containing changes are passed as arguments to the callback.\n * * `asset:upload:start` - Before the upload is started.\n * * `asset:upload:end` - After the upload is ended.\n * * `asset:upload:error` - On any error in upload, passes the error as an argument.\n * * `asset:upload:response` - On upload response, passes the result as an argument.\n * * `asset` - Catch-all event for all the events mentioned above. An object containing all the available data about the triggered event is passed as an argument to the callback.\n * * `asset:custom` - Event for handling custom Asset Manager UI.\n *\n * ## Methods\n * * [open](#open)\n * * [close](#close)\n * * [isOpen](#isopen)\n * * [add](#add)\n * * [get](#get)\n * * [getAll](#getall)\n * * [getAllVisible](#getallvisible)\n * * [remove](#remove)\n * * [store](#store)\n * * [load](#load)\n * * [getContainer](#getcontainer)\n *\n * [Asset]: asset.html\n *\n * @module AssetManager\n */\n\nimport { debounce, isFunction } from 'underscore';\nimport Module from 'common/module';\nimport defaults from './config/config';\nimport Asset from './model/Assets';\nimport Assets from './model/Assets';\nimport AssetsView from './view/AssetsView';\nimport FileUpload from './view/FileUploader';\n\nexport const evAll = 'asset';\nexport const evPfx = `${evAll}:`;\nexport const evSelect = `${evPfx}select`;\nexport const evUpdate = `${evPfx}update`;\nexport const evAdd = `${evPfx}add`;\nexport const evRemove = `${evPfx}remove`;\nexport const evRemoveBefore = `${evRemove}:before`;\nexport const evCustom = `${evPfx}custom`;\nexport const evOpen = `${evPfx}open`;\nexport const evClose = `${evPfx}close`;\nexport const evUpload = `${evPfx}upload`;\nexport const evUploadStart = `${evUpload}:start`;\nexport const evUploadEnd = `${evUpload}:end`;\nexport const evUploadError = `${evUpload}:error`;\nexport const evUploadRes = `${evUpload}:response`;\n\nexport default () => {\n  let c = {};\n  let assets, assetsVis, am, fu;\n  const assetCmd = 'open-assets';\n\n  return {\n    ...Module,\n\n    name: 'AssetManager',\n\n    storageKey: 'assets',\n\n    Asset,\n\n    Assets,\n\n    events: {\n      all: evAll,\n      select: evSelect,\n      update: evUpdate,\n      add: evAdd,\n      remove: evRemove,\n      removeBefore: evRemoveBefore,\n      custom: evCustom,\n      open: evOpen,\n      close: evClose,\n      uploadStart: evUploadStart,\n      uploadEnd: evUploadEnd,\n      uploadError: evUploadError,\n      uploadResponse: evUploadRes,\n    },\n\n    init(config = {}) {\n      c = { ...defaults, ...config };\n      const ppfx = c.pStylePrefix;\n      const { em } = c;\n      this.config = c;\n      this.em = em;\n\n      if (ppfx) {\n        c.stylePrefix = ppfx + c.stylePrefix;\n      }\n\n      // Global assets collection\n      assets = new Assets([]);\n      assetsVis = new Assets([]);\n      this.all = assets;\n      this.__initListen();\n\n      // Setup the sync between the global and public collections\n      assets.on('add', model => this.getAllVisible().add(model));\n      assets.on('remove', model => this.getAllVisible().remove(model));\n\n      return this;\n    },\n\n    __propEv(ev, ...data) {\n      this.em.trigger(ev, ...data);\n      this.getAll().trigger(ev, ...data);\n    },\n\n    __onAllEvent: debounce(function () {\n      this.__trgCustom();\n    }),\n\n    __trgCustom() {\n      const bhv = this.__getBehaviour();\n      if (!bhv.container && !this.getConfig('custom').open) {\n        return;\n      }\n      this.em.trigger(this.events.custom, this.__customData());\n    },\n\n    __customData() {\n      const bhv = this.__getBehaviour();\n      return {\n        am: this,\n        open: this.isOpen(),\n        assets: this.getAll().models,\n        types: bhv.types || [],\n        container: bhv.container,\n        close: () => this.close(),\n        remove: (...args) => this.remove(...args),\n        select: (asset, complete) => {\n          const res = this.add(asset);\n          isFunction(bhv.select) && bhv.select(res, complete);\n        },\n        // extra\n        options: bhv.options || {},\n      };\n    },\n\n    /**\n     * Open the asset manager.\n     * @param {Object} [options] Options for the asset manager.\n     * @param {Array<String>} [options.types=['image']] Types of assets to show.\n     * @param {Function} [options.select] Type of operation to perform on asset selection. If not specified, nothing will happen.\n     * @example\n     * assetManager.open({\n     *  select(asset, complete) {\n     *    const selected = editor.getSelected();\n     *    if (selected && selected.is('image')) {\n     *      selected.addAttributes({ src: asset.getSrc() });\n     *      // The default AssetManager UI will trigger `select(asset, false)` on asset click\n     *      // and `select(asset, true)` on double-click\n     *      complete && assetManager.close();\n     *    }\n     *  }\n     * });\n     * // with your custom types (you should have assets with those types declared)\n     * assetManager.open({ types: ['doc'], ... });\n     */\n    open(options = {}) {\n      const cmd = this.em.get('Commands');\n      cmd.run(assetCmd, {\n        types: ['image'],\n        select: () => {},\n        ...options,\n      });\n    },\n\n    /**\n     * Close the asset manager.\n     * @example\n     * assetManager.close();\n     */\n    close() {\n      const cmd = this.em.get('Commands');\n      cmd.stop(assetCmd);\n    },\n\n    /**\n     * Checks if the asset manager is open\n     * @returns {Boolean}\n     * @example\n     * assetManager.isOpen(); // true | false\n     */\n    isOpen() {\n      const cmd = this.em.get('Commands');\n      return !!(cmd && cmd.isActive(assetCmd));\n    },\n\n    /**\n     * Add new asset/s to the collection. URLs are supposed to be unique\n     * @param {String|Object|Array<String>|Array<Object>} asset URL strings or an objects representing the resource.\n     * @param {Object} [opts] Options\n     * @returns {[Asset]}\n     * @example\n     * // As strings\n     * assetManager.add('http://img.jpg');\n     * assetManager.add(['http://img.jpg', './path/to/img.png']);\n     *\n     * // Using objects you can indicate the type and other meta informations\n     * assetManager.add({\n     *  // type: 'image',\t// image is default\n     * \tsrc: 'http://img.jpg',\n     * \theight: 300,\n     *\twidth: 200,\n     * });\n     * assetManager.add([{ src: 'img2.jpg' }, { src: 'img2.png' }]);\n     */\n    add(asset, opts = {}) {\n      // Put the model at the beginning\n      if (typeof opts.at == 'undefined') {\n        opts.at = 0;\n      }\n\n      return assets.add(asset, opts);\n    },\n\n    /**\n     * Return asset by URL\n     * @param  {String} src URL of the asset\n     * @returns {[Asset]|null}\n     * @example\n     * const asset = assetManager.get('http://img.jpg');\n     */\n    get(src) {\n      return assets.where({ src })[0] || null;\n    },\n\n    /**\n     * Return the global collection, containing all the assets\n     * @returns {Collection<[Asset]>}\n     */\n    getAll() {\n      return assets;\n    },\n\n    /**\n     * Return the visible collection, which contains assets actually rendered\n     * @returns {Collection<[Asset]>}\n     */\n    getAllVisible() {\n      return assetsVis;\n    },\n\n    /**\n     * Remove asset\n     * @param {String|[Asset]} asset Asset or asset URL\n     * @returns {[Asset]} Removed asset\n     * @example\n     * const removed = assetManager.remove('http://img.jpg');\n     * // or by passing the Asset\n     * const asset = assetManager.get('http://img.jpg');\n     * assetManager.remove(asset);\n     */\n    remove(asset, opts) {\n      return this.__remove(asset, opts);\n    },\n\n    /**\n     * Store assets data to the selected storage\n     * @param {Boolean} noStore If true, won't store\n     * @returns {Object} Data to store\n     * @example\n     * var assets = assetManager.store();\n     */\n    store(noStore) {\n      const obj = {};\n      const assets = JSON.stringify(this.getAll().toJSON());\n      obj[this.storageKey] = assets;\n      if (!noStore && c.stm) c.stm.store(obj);\n      return obj;\n    },\n\n    /**\n     * Load data from the passed object.\n     * The fetched data will be added to the collection.\n     * @param {Object} data Object of data to load\n     * @returns {Object} Loaded assets\n     * @example\n     * var assets = assetManager.load({\n     * \tassets: [...]\n     * })\n     *\n     */\n    load(data = {}) {\n      const name = this.storageKey;\n      let assets = data[name] || [];\n\n      if (typeof assets == 'string') {\n        try {\n          assets = JSON.parse(data[name]);\n        } catch (err) {}\n      }\n\n      if (assets && assets.length) {\n        this.getAll().reset(assets);\n      }\n\n      return assets;\n    },\n\n    /**\n     * Return the Asset Manager Container\n     * @returns {HTMLElement}\n     */\n    getContainer() {\n      const bhv = this.__getBehaviour();\n      return bhv.container || (am && am.el);\n    },\n\n    /**\n     *  Get assets element container\n     * @returns {HTMLElement}\n     * @private\n     */\n    getAssetsEl() {\n      return am.el.querySelector('[data-el=assets]');\n    },\n\n    /**\n     * Render assets\n     * @param  {array} assets Assets to render, without the argument will render all global assets\n     * @returns {HTMLElement}\n     * @example\n     * // Render all assets\n     * assetManager.render();\n     *\n     * // Render some of the assets\n     * const assets = assetManager.getAll();\n     * assetManager.render(assets.filter(\n     *  asset => asset.get('category') == 'cats'\n     * ));\n     */\n    render(assts) {\n      if (this.getConfig('custom')) return;\n      const toRender = assts || this.getAll().models;\n\n      if (!am) {\n        const obj = this.__viewParams();\n        obj.fu = this.FileUploader();\n        const el = am && am.el;\n        am = new AssetsView({\n          el,\n          ...obj,\n        });\n        am.render();\n      }\n\n      assetsVis.reset(toRender);\n      return this.getContainer();\n    },\n\n    __viewParams() {\n      return {\n        collection: assetsVis, // Collection visible in asset manager\n        globalCollection: assets,\n        config: c,\n        module: this,\n      };\n    },\n\n    /**\n     * Add new type. If you want to get more about type definition we suggest to read the [module's page](/modules/Assets.html)\n     * @param {string} id Type ID\n     * @param {Object} definition Definition of the type. Each definition contains\n     *                            `model` (business logic), `view` (presentation logic)\n     *                            and `isType` function which recognize the type of the\n     *                            passed entity\n     * @private\n     * @example\n     * assetManager.addType('my-type', {\n     *  model: {},\n     *  view: {},\n     *  isType: (value) => {},\n     * })\n     */\n    addType(id, definition) {\n      this.getAll().addType(id, definition);\n    },\n\n    /**\n     * Get type\n     * @param {string} id Type ID\n     * @returns {Object} Type definition\n     * @private\n     */\n    getType(id) {\n      return this.getAll().getType(id);\n    },\n\n    /**\n     * Get types\n     * @returns {Array}\n     * @private\n     */\n    getTypes() {\n      return this.getAll().getTypes();\n    },\n\n    //-------\n\n    AssetsView() {\n      return am;\n    },\n\n    FileUploader() {\n      if (!fu) {\n        fu = new FileUpload(this.__viewParams());\n      }\n      return fu;\n    },\n\n    onLoad() {\n      this.getAll().reset(c.assets);\n      const { em, events } = this;\n      em.on(`run:${assetCmd}`, () => this.__propEv(events.open));\n      em.on(`stop:${assetCmd}`, () => this.__propEv(events.close));\n    },\n\n    postRender(editorView) {\n      c.dropzone && fu && fu.initDropzone(editorView);\n    },\n\n    /**\n     * Set new target\n     * @param\t{Object}\tm Model\n     * @private\n     * */\n    setTarget(m) {\n      assetsVis.target = m;\n    },\n\n    /**\n     * Set callback after asset was selected\n     * @param\t{Object}\tf Callback function\n     * @private\n     * */\n    onSelect(f) {\n      assetsVis.onSelect = f;\n    },\n\n    /**\n     * Set callback to fire when the asset is clicked\n     * @param {function} func\n     * @private\n     */\n    onClick(func) {\n      c.onClick = func;\n    },\n\n    /**\n     * Set callback to fire when the asset is double clicked\n     * @param {function} func\n     * @private\n     */\n    onDblClick(func) {\n      c.onDblClick = func;\n    },\n\n    __behaviour(opts = {}) {\n      return (this._bhv = {\n        ...(this._bhv || {}),\n        ...opts,\n      });\n    },\n\n    __getBehaviour(opts = {}) {\n      return this._bhv || {};\n    },\n\n    destroy() {\n      assets.stopListening();\n      assetsVis.stopListening();\n      assets.reset();\n      assetsVis.reset();\n      fu && fu.remove();\n      am && am.remove();\n      [assets, assetsVis, am, fu].forEach(i => (i = null));\n      this._bhv = {};\n      this.all = {};\n      c = {};\n    },\n  };\n};\n","export default {\n  // Specify the element to use as a container, string (query) or HTMLElement\n  // With the empty value, nothing will be rendered\n  appendTo: '',\n\n  // Append blocks to canvas on click.\n  // With the `true` value, it will try to append the block to the selected component.\n  // If there is no selected component, the block will be appened to the wrapper.\n  // You can also pass a function to this option, use it as a catch-all for all block\n  // clicks and implement a custom logic for each block.\n  // appendOnClick: (block, editor) => {\n  //   if (block.get('id') === 'some-id')\n  //    editor.getSelected().append(block.get('content'))\n  //   else\n  //    editor.getWrapper().append(block.get('content'))\n  // }\n  appendOnClick: false,\n\n  // Default blocks\n  blocks: [],\n\n  // Avoid rendering the default block manager.\n  custom: false\n};\n","import { Model } from 'common';\nimport { isFunction } from 'underscore';\n\n/**\n * @property {String} label Block label, eg. `My block`\n * @property {String|Object} content The content of the block. Might be an HTML string or a [Component Defintion](/modules/Components.html#component-definition)\n * @property {String} [media=''] HTML string for the media/icon of the block, eg. `<svg ...`, `<img ...`, etc.\n * @property {String} [category=''] Block category, eg. `Basic blocks`\n * @property {Boolean} [activate=false] If true, triggers the `active` event on the dropped component.\n * @property {Boolean} [select=false] If true, the dropped component will be selected.\n * @property {Boolean} [resetId=false] If true, all IDs of dropped components and their styles will be changed.\n * @property {Boolean} [disable=false] Disable the block from being interacted\n * @property {Function} [onClick] Custom behavior on click, eg. `(block, editor) => editor.getWrapper().append(block.get('content'))`\n * @property {Object} [attributes={}] Block attributes to apply in the view element\n */\nexport default class Block extends Model {\n  defaults() {\n    return {\n      label: '',\n      content: '',\n      media: '',\n      category: '',\n      activate: false,\n      select: null,\n      resetId: false,\n      disable: false,\n      onClick: null,\n      attributes: {}\n    };\n  }\n\n  /**\n   * Get block id\n   * @returns {String}\n   */\n  getId() {\n    return this.id;\n  }\n\n  /**\n   * Get block label\n   * @returns {String}\n   */\n  getLabel() {\n    return this.get('label');\n  }\n\n  /**\n   * Get block media\n   * @returns {String}\n   */\n  getMedia() {\n    return this.get('media');\n  }\n\n  /**\n   * Get block content\n   * @returns {Object|String|Array<Object|String>} Component definition | HTML string\n   */\n  getContent() {\n    return this.get('content');\n  }\n\n  /**\n   * Get block category label\n   * @returns {String}\n   */\n  getCategoryLabel() {\n    const ctg = this.get('category');\n    return isFunction(ctg.get) ? ctg.get('label') : ctg.label ? ctg.label : ctg;\n  }\n}\n","import { Collection } from 'common';\nimport Block from './Block';\n\nexport default class Blocks extends Collection {}\n\nBlocks.prototype.model = Block;\n","import { Model } from 'common';\n\nexport default class Category extends Model {\n  defaults() {\n    return {\n      id: '',\n      label: '',\n      open: true,\n      attributes: {}\n    };\n  }\n}\n","import { Collection } from 'common';\nimport Category from './Category';\n\nexport default class Categories extends Collection {}\n\nCategories.prototype.model = Category;\n","import Backbone from 'backbone';\nimport { isFunction } from 'underscore';\nimport { on, off, hasDnd } from 'utils/mixins';\n\nexport default Backbone.View.extend({\n  events: {\n    click: 'handleClick',\n    mousedown: 'startDrag',\n    dragstart: 'handleDragStart',\n    drag: 'handleDrag',\n    dragend: 'handleDragEnd'\n  },\n\n  initialize(o, config = {}) {\n    const { model } = this;\n    this.em = config.em;\n    this.config = config;\n    this.endDrag = this.endDrag.bind(this);\n    this.ppfx = config.pStylePrefix || '';\n    this.listenTo(model, 'destroy remove', this.remove);\n    this.listenTo(model, 'change', this.render);\n  },\n\n  __getModule() {\n    return this.em.get('BlockManager');\n  },\n\n  handleClick(ev) {\n    const { config, model, em } = this;\n    const onClick = model.get('onClick') || config.appendOnClick;\n    em.trigger('block:click', model, ev);\n    if (!onClick) {\n      return;\n    } else if (isFunction(onClick)) {\n      return onClick(model, em.getEditor(), { event: ev });\n    }\n    const sorter = config.getSorter();\n    const content = model.get('content');\n    const selected = em.getSelected();\n    sorter.setDropContent(content);\n    let target, valid;\n\n    // If there is a selected component, try first to append\n    // the block inside, otherwise, try to place it as a next sibling\n    if (selected) {\n      valid = sorter.validTarget(selected.getEl(), content);\n\n      if (valid.valid) {\n        target = selected;\n      } else {\n        const parent = selected.parent();\n        valid = sorter.validTarget(parent.getEl(), content);\n        if (valid.valid) target = parent;\n      }\n    }\n\n    // If no target found yet, try to append the block to the wrapper\n    if (!target) {\n      const wrapper = em.getWrapper();\n      valid = sorter.validTarget(wrapper.getEl(), content);\n      if (valid.valid) target = wrapper;\n    }\n\n    const result = target && target.append(content)[0];\n    result && em.setSelected(result, { scroll: 1 });\n  },\n\n  /**\n   * Start block dragging\n   * @private\n   */\n  startDrag(e) {\n    const { config, em, model } = this;\n    const disable = model.get('disable');\n    //Right or middel click\n    if (e.button !== 0 || !config.getSorter || this.el.draggable || disable)\n      return;\n    em.refreshCanvas();\n    const sorter = config.getSorter();\n    sorter.setDragHelper(this.el, e);\n    sorter.setDropContent(this.model.get('content'));\n    sorter.startSort(this.el);\n    on(document, 'mouseup', this.endDrag);\n  },\n\n  handleDragStart(ev) {\n    this.__getModule().__startDrag(this.model, ev);\n  },\n\n  handleDrag(ev) {\n    this.__getModule().__drag(ev);\n  },\n\n  handleDragEnd() {\n    this.__getModule().__endDrag();\n  },\n\n  /**\n   * Drop block\n   * @private\n   */\n  endDrag(e) {\n    off(document, 'mouseup', this.endDrag);\n    const sorter = this.config.getSorter();\n\n    // After dropping the block in the canvas the mouseup event is not yet\n    // triggerd on 'this.doc' and so clicking outside, the sorter, tries to move\n    // things (throws false positives). As this method just need to drop away\n    // the block helper I use the trick of 'moved = 0' to void those errors.\n    sorter.moved = 0;\n    sorter.endMove();\n  },\n\n  render() {\n    const { em, el, $el, ppfx, model } = this;\n    const disable = model.get('disable');\n    const attr = model.get('attributes') || {};\n    const cls = attr.class || '';\n    const className = `${ppfx}block`;\n    const label =\n      (em && em.t(`blockManager.labels.${model.id}`)) || model.get('label');\n    const render = model.get('render');\n    const media = model.get('media');\n    const clsAdd = disable ? `${className}--disable` : `${ppfx}four-color-h`;\n    $el.attr(attr);\n    el.className = `${cls} ${className} ${ppfx}one-bg ${clsAdd}`.trim();\n    el.innerHTML = `\n      ${media ? `<div class=\"${className}__media\">${media}</div>` : ''}\n      <div class=\"${className}-label\">${label}</div>\n    `;\n    el.title = attr.title || el.textContent.trim();\n    el.setAttribute('draggable', hasDnd(em) && !disable ? true : false);\n    const result = render && render({ el, model, className, prefix: ppfx });\n    if (result) el.innerHTML = result;\n    return this;\n  }\n});\n","import { View } from 'backbone';\nimport html from 'utils/html';\n\nexport default class CategoryView extends View {\n  template({ pfx, label }) {\n    return html`\n      <div class=\"${pfx}title\">\n        <i class=\"${pfx}caret-icon\"></i>\n        ${label}\n      </div>\n      <div class=\"${pfx}blocks-c\"></div>\n    `;\n  }\n\n  attributes() {\n    return this.model.get('attributes');\n  }\n\n  initialize(o = {}, config = {}) {\n    this.config = config;\n    const pfx = config.pStylePrefix || '';\n    this.em = config.em;\n    this.pfx = pfx;\n    this.caretR = 'fa fa-caret-right';\n    this.caretD = 'fa fa-caret-down';\n    this.iconClass = `${pfx}caret-icon`;\n    this.activeClass = `${pfx}open`;\n    this.className = `${pfx}block-category`;\n    this.events = {};\n    this.events[`click .${pfx}title`] = 'toggle';\n    this.listenTo(this.model, 'change:open', this.updateVisibility);\n    this.delegateEvents();\n    this.model.view = this;\n  }\n\n  updateVisibility() {\n    if (this.model.get('open')) this.open();\n    else this.close();\n  }\n\n  open() {\n    this.$el.addClass(this.activeClass);\n    this.getIconEl().className = `${this.iconClass} ${this.caretD}`;\n    this.getBlocksEl().style.display = '';\n  }\n\n  close() {\n    this.$el.removeClass(this.activeClass);\n    this.getIconEl().className = `${this.iconClass} ${this.caretR}`;\n    this.getBlocksEl().style.display = 'none';\n  }\n\n  toggle() {\n    var model = this.model;\n    model.set('open', !model.get('open'));\n  }\n\n  getIconEl() {\n    if (!this.iconEl) {\n      this.iconEl = this.el.querySelector('.' + this.iconClass);\n    }\n\n    return this.iconEl;\n  }\n\n  getBlocksEl() {\n    if (!this.blocksEl) {\n      this.blocksEl = this.el.querySelector('.' + this.pfx + 'blocks-c');\n    }\n\n    return this.blocksEl;\n  }\n\n  append(el) {\n    this.getBlocksEl().appendChild(el);\n  }\n\n  render() {\n    const { em, el, $el, model, pfx } = this;\n    const label =\n      em.t(`blockManager.categories.${model.id}`) || model.get('label');\n    el.innerHTML = this.template({ pfx, label });\n    $el.addClass(this.className);\n    $el.css({ order: model.get('order') });\n    this.updateVisibility();\n\n    return this;\n  }\n}\n","import Backbone from 'backbone';\nimport { isString, isObject, bindAll } from 'underscore';\nimport BlockView from './BlockView';\nimport CategoryView from './CategoryView';\n\nexport default Backbone.View.extend({\n  initialize(opts, config) {\n    bindAll(this, 'getSorter', 'onDrag', 'onDrop', 'onMove');\n    this.config = config || {};\n    this.categories = opts.categories || '';\n    this.renderedCategories = [];\n    var ppfx = this.config.pStylePrefix || '';\n    this.ppfx = ppfx;\n    this.noCatClass = `${ppfx}blocks-no-cat`;\n    this.blockContClass = `${ppfx}blocks-c`;\n    this.catsClass = `${ppfx}block-categories`;\n    const coll = this.collection;\n    this.listenTo(coll, 'add', this.addTo);\n    this.listenTo(coll, 'reset', this.render);\n    this.em = this.config.em;\n    this.tac = 'test-tac';\n    this.grabbingCls = this.ppfx + 'grabbing';\n\n    if (this.em) {\n      this.config.getSorter = this.getSorter;\n      this.canvas = this.em.get('Canvas');\n    }\n  },\n\n  updateConfig(opts = {}) {\n    this.config = {\n      ...this.config,\n      ...opts\n    };\n  },\n\n  /**\n   * Get sorter\n   * @private\n   */\n  getSorter() {\n    if (!this.em) return;\n    if (!this.sorter) {\n      var utils = this.em.get('Utils');\n      var canvas = this.canvas;\n      this.sorter = new utils.Sorter({\n        container: canvas.getBody(),\n        placer: canvas.getPlacerEl(),\n        containerSel: '*',\n        itemSel: '*',\n        pfx: this.ppfx,\n        onStart: this.onDrag,\n        onEndMove: this.onDrop,\n        onMove: this.onMove,\n        document: canvas.getFrameEl().contentDocument,\n        direction: 'a',\n        wmargin: 1,\n        nested: 1,\n        em: this.em,\n        canvasRelative: 1\n      });\n    }\n    return this.sorter;\n  },\n\n  /**\n   * Callback when block is on drag\n   * @private\n   */\n  onDrag(e) {\n    this.em.stopDefault();\n    this.em.trigger('block:drag:start', e);\n  },\n\n  onMove(e) {\n    this.em.trigger('block:drag:move', e);\n  },\n\n  /**\n   * Callback when block is dropped\n   * @private\n   */\n  onDrop(model) {\n    const { em } = this;\n    em.runDefault();\n\n    if (model && model.get) {\n      const oldActive = 'activeOnRender';\n\n      if (model.get(oldActive)) {\n        model.trigger('active');\n        model.unset(oldActive);\n      }\n\n      em.trigger('block:drag:stop', model);\n    }\n  },\n\n  /**\n   * Add new model to the collection\n   * @param {Model} model\n   * @private\n   * */\n  addTo(model) {\n    this.add(model);\n  },\n\n  /**\n   * Render new model inside the view\n   * @param {Model} model\n   * @param {Object} fragment Fragment collection\n   * @private\n   * */\n  add(model, fragment) {\n    const { config } = this;\n    var frag = fragment || null;\n    var view = new BlockView(\n      {\n        model,\n        attributes: model.get('attributes')\n      },\n      config\n    );\n    var rendered = view.render().el;\n    var category = model.get('category');\n\n    // Check for categories\n    if (category && this.categories && !config.ignoreCategories) {\n      if (isString(category)) {\n        category = {\n          id: category,\n          label: category\n        };\n      } else if (isObject(category) && !category.id) {\n        category.id = category.label;\n      }\n\n      var catModel = this.categories.add(category);\n      var catId = catModel.get('id');\n      var catView = this.renderedCategories[catId];\n      var categories = this.getCategoriesEl();\n      model.set('category', catModel, { silent: true });\n\n      if (!catView && categories) {\n        catView = new CategoryView(\n          {\n            model: catModel\n          },\n          this.config\n        ).render();\n        this.renderedCategories[catId] = catView;\n        categories.appendChild(catView.el);\n      }\n\n      catView && catView.append(rendered);\n      return;\n    }\n\n    if (frag) frag.appendChild(rendered);\n    else this.append(rendered);\n  },\n\n  getCategoriesEl() {\n    if (!this.catsEl) {\n      this.catsEl = this.el.querySelector(`.${this.catsClass}`);\n    }\n\n    return this.catsEl;\n  },\n\n  getBlocksEl() {\n    if (!this.blocksEl) {\n      this.blocksEl = this.el.querySelector(\n        `.${this.noCatClass} .${this.blockContClass}`\n      );\n    }\n\n    return this.blocksEl;\n  },\n\n  append(el) {\n    let blocks = this.getBlocksEl();\n    blocks && blocks.appendChild(el);\n  },\n\n  render() {\n    const ppfx = this.ppfx;\n    const frag = document.createDocumentFragment();\n    this.catsEl = null;\n    this.blocksEl = null;\n    this.renderedCategories = [];\n    this.el.innerHTML = `\n      <div class=\"${this.catsClass}\"></div>\n      <div class=\"${this.noCatClass}\">\n        <div class=\"${this.blockContClass}\"></div>\n      </div>\n    `;\n\n    this.collection.each(model => this.add(model, frag));\n    this.append(frag);\n    const cls = `${this.blockContClass}s ${ppfx}one-bg ${ppfx}two-color`;\n    this.$el.addClass(cls);\n    this.rendered = true;\n    return this;\n  }\n});\n","/**\n * You can customize the initial state of the module from the editor initialization, by passing the following [Configuration Object](https://github.com/artf/grapesjs/blob/master/src/block_manager/config/config.js)\n * ```js\n * const editor = grapesjs.init({\n *  blockManager: {\n *    // options\n *  }\n * })\n * ```\n *\n * Once the editor is instantiated you can use its API and listen to its events. Before using these methods, you should get the module from the instance.\n *\n * ```js\n * // Listen to events\n * editor.on('block:add', (block) => { ... });\n *\n * // Use the API\n * const blockManager = editor.BlockManager;\n * blockManager.add(...);\n * ```\n *\n * ## Available Events\n * * `block:add` - Block added. The [Block] is passed as an argument to the callback.\n * * `block:remove` - Block removed. The [Block] is passed as an argument to the callback.\n * * `block:update` - Block updated. The [Block] and the object containing changes are passed as arguments to the callback.\n * * `block:drag:start` - Started dragging block, the [Block] is passed as an argument.\n * * `block:drag` - Dragging block, the [Block] is passed as an argument.\n * * `block:drag:stop` - Dragging of the block is stopped. The dropped [Component] (if dropped successfully) and the [Block] are passed as arguments.\n * * `block` - Catch-all event for all the events mentioned above. An object containing all the available data about the triggered event is passed as an argument to the callback.\n *\n * ## Methods\n * * [add](#add)\n * * [get](#get)\n * * [getAll](#getall)\n * * [getAllVisible](#getallvisible)\n * * [remove](#remove)\n * * [getConfig](#getconfig)\n * * [getCategories](#getcategories)\n * * [getContainer](#getcontainer)\n * * [render](#render)\n *\n * [Block]: block.html\n * [Component]: component.html\n *\n * @module BlockManager\n */\nimport { isElement, isArray } from 'underscore';\nimport Module from 'common/module';\nimport defaults from './config/config';\nimport Block from './model/Block';\nimport Blocks from './model/Blocks';\nimport Category from './model/Category';\nimport Categories from './model/Categories';\nimport BlocksView from './view/BlocksView';\n\nexport const evAll = 'block';\nexport const evPfx = `${evAll}:`;\nexport const evAdd = `${evPfx}add`;\nexport const evUpdate = `${evPfx}update`;\nexport const evRemove = `${evPfx}remove`;\nexport const evRemoveBefore = `${evRemove}:before`;\nexport const evDrag = `${evPfx}drag`;\nexport const evDragStart = `${evDrag}:start`;\nexport const evDragStop = `${evDrag}:stop`;\nexport const evCustom = `${evPfx}custom`;\n\nexport default () => {\n  var c = {};\n  var blocks, blocksVisible, blocksView;\n  var categories = [];\n\n  return {\n    ...Module,\n\n    name: 'BlockManager',\n\n    Block,\n\n    Blocks,\n\n    Category,\n\n    Categories,\n\n    events: {\n      all: evAll,\n      update: evUpdate,\n      add: evAdd,\n      remove: evRemove,\n      removeBefore: evRemoveBefore,\n      drag: evDrag,\n      dragStart: evDragStart,\n      dragEnd: evDragStop,\n      custom: evCustom,\n    },\n\n    init(config = {}) {\n      c = { ...defaults, ...config };\n      const { em } = c;\n      this.em = em;\n\n      // Global blocks collection\n      blocks = new Blocks(c.blocks);\n      blocksVisible = new Blocks(blocks.models);\n      categories = new Categories();\n      this.all = blocks;\n      this.__initListen();\n\n      // Setup the sync between the global and public collections\n      blocks.on('add', model => blocksVisible.add(model));\n      blocks.on('remove', model => blocksVisible.remove(model));\n      blocks.on('reset', coll => blocksVisible.reset(coll.models));\n\n      return this;\n    },\n\n    __trgCustom() {\n      this.em.trigger(this.events.custom, this.__customData());\n    },\n\n    __customData() {\n      const bhv = this.__getBehaviour();\n      return {\n        bm: this,\n        blocks: this.getAll().models,\n        container: bhv.container,\n        dragStart: (block, ev) => this.startDrag(block, ev),\n        drag: ev => this.__drag(ev),\n        dragStop: cancel => this.endDrag(cancel),\n      };\n    },\n\n    __startDrag(block, ev) {\n      const { em, events } = this;\n      const content = block.getContent ? block.getContent() : block;\n      this._dragBlock = block;\n      em.set({ dragResult: null, dragContent: content });\n      [em, blocks].map(i => i.trigger(events.dragStart, block, ev));\n    },\n\n    __drag(ev) {\n      const { em, events } = this;\n      const block = this._dragBlock;\n      [em, blocks].map(i => i.trigger(events.drag, block, ev));\n    },\n\n    __endDrag() {\n      const { em, events } = this;\n      const block = this._dragBlock;\n      const cmp = em.get('dragResult');\n      this._dragBlock = null;\n\n      if (cmp) {\n        const oldKey = 'activeOnRender';\n        const oldActive = cmp.get && cmp.get(oldKey);\n        const toActive = block.get('activate') || oldActive;\n        const toSelect = block.get('select');\n        const first = isArray(cmp) ? cmp[0] : cmp;\n\n        if (toSelect || (toActive && toSelect !== false)) {\n          em.setSelected(first);\n        }\n\n        if (toActive) {\n          first.trigger('active');\n          oldActive && first.unset(oldKey);\n        }\n\n        if (block.get('resetId')) {\n          first.onAll(block => block.resetId());\n        }\n      }\n\n      em.set({ dragResult: null, dragContent: null });\n      [em, blocks].map(i => i.trigger(events.dragEnd, cmp, block));\n    },\n\n    __getFrameViews() {\n      return this.em\n        .get('Canvas')\n        .getFrames()\n        .map(frame => frame.view);\n    },\n\n    __behaviour(opts = {}) {\n      return (this._bhv = {\n        ...(this._bhv || {}),\n        ...opts,\n      });\n    },\n\n    __getBehaviour() {\n      return this._bhv || {};\n    },\n\n    startDrag(block, ev) {\n      this.__startDrag(block, ev);\n      this.__getFrameViews().forEach(fv => fv.droppable.startCustom());\n    },\n\n    endDrag(cancel) {\n      this.__getFrameViews().forEach(fv => fv.droppable.endCustom(cancel));\n      this.__endDrag();\n    },\n\n    /**\n     * Get configuration object\n     * @return {Object}\n     */\n    getConfig() {\n      return c;\n    },\n\n    postRender() {\n      const collection = blocksVisible;\n      blocksView = new BlocksView({ collection, categories }, c);\n      const elTo = this.getConfig().appendTo;\n\n      if (elTo) {\n        const el = isElement(elTo) ? elTo : document.querySelector(elTo);\n        if (!el) return this.__logWarn('\"appendTo\" element not found');\n        el.appendChild(this.render(blocksVisible.models));\n      }\n\n      this.__trgCustom();\n    },\n\n    /**\n     * Add new block.\n     * @param {String} id Block ID\n     * @param {[Block]} props Block properties\n     * @returns {[Block]} Added block\n     * @example\n     * blockManager.add('h1-block', {\n     *   label: 'Heading',\n     *   content: '<h1>Put your title here</h1>',\n     *   category: 'Basic',\n     *   attributes: {\n     *     title: 'Insert h1 block'\n     *   }\n     * });\n     */\n    add(id, props, opts = {}) {\n      const prp = props || {};\n      prp.id = id;\n      return blocks.add(prp, opts);\n    },\n\n    /**\n     * Get the block by id.\n     * @param  {String} id Block id\n     * @returns {[Block]}\n     * @example\n     * const block = blockManager.get('h1-block');\n     * console.log(JSON.stringify(block));\n     * // {label: 'Heading', content: '<h1>Put your ...', ...}\n     */\n    get(id) {\n      return blocks.get(id);\n    },\n\n    /**\n     * Return all blocks.\n     * @returns {Collection<[Block]>}\n     * @example\n     * const blocks = blockManager.getAll();\n     * console.log(JSON.stringify(blocks));\n     * // [{label: 'Heading', content: '<h1>Put your ...'}, ...]\n     */\n    getAll() {\n      return blocks;\n    },\n\n    /**\n     * Return the visible collection, which containes blocks actually rendered\n     * @returns {Collection<[Block]>}\n     */\n    getAllVisible() {\n      return blocksVisible;\n    },\n\n    /**\n     * Remove block.\n     * @param {String|[Block]} block Block or block ID\n     * @returns {[Block]} Removed block\n     * @example\n     * const removed = blockManager.remove('BLOCK_ID');\n     * // or by passing the Block\n     * const block = blockManager.get('BLOCK_ID');\n     * blockManager.remove(block);\n     */\n    remove(block, opts = {}) {\n      return this.__remove(block, opts);\n    },\n\n    /**\n     * Get all available categories.\n     * It's possible to add categories only within blocks via 'add()' method\n     * @return {Array|Collection}\n     */\n    getCategories() {\n      return categories;\n    },\n\n    /**\n     * Return the Blocks container element\n     * @return {HTMLElement}\n     */\n    getContainer() {\n      return blocksView.el;\n    },\n\n    /**\n     * Render blocks\n     * @param  {Array} blocks Blocks to render, without the argument will render all global blocks\n     * @param  {Object} [opts={}] Options\n     * @param  {Boolean} [opts.external] Render blocks in a new container (HTMLElement will be returned)\n     * @param  {Boolean} [opts.ignoreCategories] Render blocks without categories\n     * @return {HTMLElement} Rendered element\n     * @example\n     * // Render all blocks (inside the global collection)\n     * blockManager.render();\n     *\n     * // Render new set of blocks\n     * const blocks = blockManager.getAll();\n     * const filtered = blocks.filter(block => block.get('category') == 'sections')\n     *\n     * blockManager.render(filtered);\n     * // Or a new set from an array\n     * blockManager.render([\n     *  {label: 'Label text', content: '<div>Content</div>'}\n     * ]);\n     *\n     * // Back to blocks from the global collection\n     * blockManager.render();\n     *\n     * // You can also render your blocks outside of the main block container\n     * const newBlocksEl = blockManager.render(filtered, { external: true });\n     * document.getElementById('some-id').appendChild(newBlocksEl);\n     */\n    render(blocks, opts = {}) {\n      const toRender = blocks || this.getAll().models;\n\n      if (opts.external) {\n        const collection = new Blocks(toRender);\n        return new BlocksView({ collection, categories }, { ...c, ...opts }).render().el;\n      }\n\n      if (blocksView) {\n        blocksView.updateConfig(opts);\n        blocksView.collection.reset(toRender);\n\n        if (!blocksView.rendered) {\n          blocksView.render();\n          blocksView.rendered = 1;\n        }\n      }\n\n      return this.getContainer();\n    },\n\n    destroy() {\n      const colls = [blocks, blocksVisible, categories];\n      colls.map(c => c.stopListening());\n      colls.map(c => c.reset());\n      blocksView && blocksView.remove();\n      c = {};\n      blocks = {};\n      blocksVisible = {};\n      blocksView = {};\n      categories = [];\n      this.all = {};\n    },\n  };\n};\n","export default {\n  stylePrefix: 'cv-',\n\n  /*\n   * Append external scripts to the `<head>` of the iframe.\n   * Be aware that these scripts will not be printed in the export code\n   * @example\n   * scripts: [ 'https://...1.js', 'https://...2.js' ]\n   * * // or passing objects as attributes\n   * scripts: [ { src: '/file.js', someattr: 'value' }, ... ]\n   */\n  scripts: [],\n\n  /*\n   * Append external styles to the `<head>` of the iframe\n   * Be aware that these styles will not be printed in the export code\n   * @example\n   * styles: [ 'https://...1.css', 'https://...2.css' ]\n   * // or passing objects as attributes\n   * styles: [ { href: '/style.css', someattr: 'value' }, ... ]\n   */\n  styles: [],\n\n  /**\n   * Add custom badge naming strategy\n   * @example\n   * customBadgeLabel: function(component) {\n   *  return component.getName();\n   * }\n   */\n  customBadgeLabel: '',\n\n  /**\n   * Indicate when to start the auto scroll of the canvas on component/block dragging (value in px )\n   */\n  autoscrollLimit: 50,\n\n  // Experimental: external highlighter box\n  extHl: 0,\n\n  /**\n   * When some textable component is selected and focused (eg. input or text component) the editor\n   * stops some commands (eg. disables the copy/paste of components with CTRL+C/V to allow the copy/paste of the text).\n   * This option allows to customize, by a selector, which element should not be considered textable\n   */\n  notTextable: ['button', 'a', 'input[type=checkbox]', 'input[type=radio]']\n};\n","import { Model } from 'common';\nimport { evPageSelect } from 'pages';\nimport Frames from './Frames';\n\nexport default class Canvas extends Model {\n  defaults() {\n    return {\n      frame: '',\n      frames: '',\n      rulers: false,\n      zoom: 100,\n      x: 0,\n      y: 0,\n      // Scripts to apply on all frames\n      scripts: [],\n      // Styles to apply on all frames\n      styles: [],\n    };\n  }\n\n  initialize(props, config = {}) {\n    const { em } = config;\n    this.config = config;\n    this.em = em;\n    this.set('frames', new Frames());\n    this.listenTo(this, 'change:zoom', this.onZoomChange);\n    this.listenTo(em, 'change:device', this.updateDevice);\n    this.listenTo(em, evPageSelect, this._pageUpdated);\n  }\n\n  init() {\n    const { em } = this;\n    const mainPage = em.get('PageManager').getMain();\n    const frame = mainPage.getMainFrame();\n    this.set('frames', mainPage.getFrames());\n    this.updateDevice({ frame });\n  }\n\n  _pageUpdated(page, prev) {\n    const { em } = this;\n    em.setSelected();\n    em.get('readyCanvas') && em.stopDefault(); // We have to stop before changing current frames\n    prev && prev.getFrames().map(frame => frame.disable());\n    this.set('frames', page.getFrames());\n  }\n\n  updateDevice(opts = {}) {\n    const { em } = this;\n    const device = em.getDeviceModel();\n    const model = opts.frame || em.getCurrentFrameModel();\n\n    if (model && device) {\n      const { width, height } = device.attributes;\n      model.set({ width, height }, { noUndo: 1 });\n    }\n  }\n\n  onZoomChange() {\n    const zoom = this.get('zoom');\n    zoom < 1 && this.set('zoom', 1);\n  }\n}\n","/*\n  This class makes the canvas droppable\n */\n\nimport { on, off } from 'utils/mixins';\nimport { bindAll, indexOf } from 'underscore';\n\nexport default class Droppable {\n  constructor(em, rootEl) {\n    this.em = em;\n    const el =\n      rootEl ||\n      em\n        .get('Canvas')\n        .getFrames()\n        .map(frame => frame.getComponent().getEl());\n    const els = Array.isArray(el) ? el : [el];\n    this.el = el;\n    this.counter = 0;\n    bindAll(\n      this,\n      'handleDragEnter',\n      'handleDragOver',\n      'handleDrop',\n      'handleDragLeave'\n    );\n    els.forEach(el => this.toggleEffects(el, 1));\n\n    return this;\n  }\n\n  toggleEffects(el, enable) {\n    const methods = { on, off };\n    const method = enable ? 'on' : 'off';\n    methods[method](el, 'dragenter', this.handleDragEnter);\n    methods[method](el, 'dragover', this.handleDragOver);\n    methods[method](el, 'drop', this.handleDrop);\n    methods[method](el, 'dragleave', this.handleDragLeave);\n  }\n\n  __customTglEff(enable) {\n    const method = enable ? on : off;\n    const doc = this.el.ownerDocument;\n    const frameEl = doc.defaultView.frameElement;\n    this.sortOpts = enable\n      ? {\n          onStart({ sorter }) {\n            on(frameEl, 'pointermove', sorter.onMove);\n          },\n          onEnd({ sorter }) {\n            off(frameEl, 'pointermove', sorter.onMove);\n          },\n          customTarget({ event }) {\n            return doc.elementFromPoint(event.clientX, event.clientY);\n          }\n        }\n      : null;\n    method(frameEl, 'pointerenter', this.handleDragEnter);\n    method(frameEl, 'pointermove', this.handleDragOver);\n    method(document, 'pointerup', this.handleDrop);\n    method(frameEl, 'pointerout', this.handleDragLeave);\n\n    // Test with touche devices (seems like frameEl is not capturing pointer events).\n    // on/off(document, 'pointermove', sorter.onMove); // for the sorter\n    // enable && this.handleDragEnter({}); // no way to use pointerenter/pointerout\n  }\n\n  startCustom() {\n    this.__customTglEff(true);\n  }\n\n  endCustom(cancel) {\n    this.over ? this.endDrop(cancel) : this.__customTglEff(false);\n  }\n\n  endDrop(cancel, ev) {\n    const { em, dragStop } = this;\n    this.counter = 0;\n    dragStop && dragStop(cancel);\n    this.__customTglEff(false);\n    em.trigger('canvas:dragend', ev);\n  }\n\n  handleDragLeave(ev) {\n    this.updateCounter(-1, ev);\n  }\n\n  updateCounter(value, ev) {\n    this.counter += value;\n    this.counter === 0 && this.endDrop(1, ev);\n  }\n\n  handleDragEnter(ev) {\n    const { em } = this;\n    const dt = ev.dataTransfer;\n    this.updateCounter(1, ev);\n    if (this.over) return;\n    this.over = 1;\n    const utils = em.get('Utils');\n    const canvas = em.get('Canvas');\n    // For security reason I can't read the drag data on dragenter, but\n    // as I need it for the Sorter context I will use `dragContent` or just\n    // any not empty element\n    let content = em.get('dragContent') || '<br>';\n    let dragStop, dragContent;\n    em.stopDefault();\n\n    // Select the right drag provider\n    if (em.inAbsoluteMode()) {\n      const wrapper = em.get('DomComponents').getWrapper();\n      const target = wrapper.append({})[0];\n      const dragger = em.get('Commands').run('core:component-drag', {\n        event: ev,\n        guidesInfo: 1,\n        center: 1,\n        target,\n        onEnd: (ev, dragger, { cancelled }) => {\n          let comp;\n          if (!cancelled) {\n            comp = wrapper.append(content)[0];\n            const { left, top, position } = target.getStyle();\n            comp.addStyle({ left, top, position });\n          }\n          this.handleDragEnd(comp, dt);\n          target.remove();\n        }\n      });\n      dragStop = cancel => dragger.stop(ev, { cancel });\n      dragContent = cnt => (content = cnt);\n    } else {\n      const sorter = new utils.Sorter({\n        em,\n        wmargin: 1,\n        nested: 1,\n        canvasRelative: 1,\n        direction: 'a',\n        container: this.el,\n        placer: canvas.getPlacerEl(),\n        containerSel: '*',\n        itemSel: '*',\n        pfx: 'gjs-',\n        onEndMove: model => this.handleDragEnd(model, dt),\n        document: this.el.ownerDocument,\n        ...(this.sortOpts || {})\n      });\n      sorter.setDropContent(content);\n      sorter.startSort();\n      this.sorter = sorter;\n      dragStop = cancel => {\n        cancel && (sorter.moved = 0);\n        sorter.endMove();\n      };\n      dragContent = content => sorter.setDropContent(content);\n    }\n\n    this.dragStop = dragStop;\n    this.dragContent = dragContent;\n    em.trigger('canvas:dragenter', dt, content);\n  }\n\n  handleDragEnd(model, dt) {\n    const { em } = this;\n    this.over = 0;\n    if (model) {\n      em.set('dragResult', model);\n      em.trigger('canvas:drop', dt, model);\n    }\n    em.runDefault({ preserveSelected: 1 });\n  }\n\n  /**\n   * Always need to have this handler active for enabling the drop\n   * @param {Event} ev\n   */\n  handleDragOver(ev) {\n    ev.preventDefault();\n    this.em.trigger('canvas:dragover', ev);\n  }\n\n  /**\n   * WARNING: This function might fail to run on drop, for example, when the\n   * drop, accidentally, happens on some external element (DOM not inside the iframe)\n   */\n  handleDrop(ev) {\n    ev.preventDefault();\n    const { dragContent } = this;\n    const dt = ev.dataTransfer;\n    const content = this.getContentByData(dt).content;\n    ev.target.style.border = '';\n    content && dragContent && dragContent(content);\n    this.endDrop(!content, ev);\n  }\n\n  getContentByData(dt) {\n    const em = this.em;\n    const types = dt && dt.types;\n    const files = (dt && dt.files) || [];\n    const dragContent = em.get('dragContent');\n    let content = dt && dt.getData('text');\n\n    if (files.length) {\n      content = [];\n      for (let i = 0; i < files.length; i++) {\n        const file = files[i];\n        const type = file.type.split('/')[0];\n\n        if (type == 'image') {\n          content.push({\n            type,\n            file,\n            attributes: { alt: file.name }\n          });\n        }\n      }\n    } else if (dragContent) {\n      content = dragContent;\n    } else if (indexOf(types, 'text/html') >= 0) {\n      content = dt && dt.getData('text/html').replace(/<\\/?meta[^>]*>/g, '');\n    } else if (indexOf(types, 'text/uri-list') >= 0) {\n      content = {\n        type: 'link',\n        attributes: { href: content },\n        content: content\n      };\n    } else if (indexOf(types, 'text/json') >= 0) {\n      const json = dt && dt.getData('text/json');\n      json && (content = JSON.parse(json));\n    } else if (types.length === 1 && types[0] === 'text/plain') {\n      // Avoid dropping non-selectable and non-editable text nodes inside the editor\n      content = `<div>${content}</div>`;\n    }\n\n    const result = { content };\n    em.trigger('canvas:dragdata', dt, result);\n\n    return result;\n  }\n}\n","import Backbone from 'backbone';\nimport { bindAll, isString, debounce, isUndefined } from 'underscore';\nimport CssRulesView from 'css_composer/view/CssRulesView';\nimport Droppable from 'utils/Droppable';\nimport { appendVNodes, append, createEl, createCustomEvent, motionsEv } from 'utils/dom';\nimport { on, off, setViewEl, hasDnd, getPointerEvent } from 'utils/mixins';\n\nexport default Backbone.View.extend({\n  tagName: 'iframe',\n\n  attributes: {\n    allowfullscreen: 'allowfullscreen',\n    'data-frame-el': true,\n  },\n\n  initialize(o) {\n    bindAll(this, 'updateClientY', 'stopAutoscroll', 'autoscroll', '_emitUpdate');\n    const { model, el } = this;\n    this.tools = {};\n    this.config = {\n      ...(o.config || {}),\n      frameView: this,\n    };\n    this.ppfx = this.config.pStylePrefix || '';\n    this.em = this.config.em;\n    const cvModel = this.getCanvasModel();\n    this.listenTo(model, 'change:head', this.updateHead);\n    this.listenTo(cvModel, 'change:styles', this.renderStyles);\n    model.view = this;\n    setViewEl(el, this);\n  },\n\n  /**\n   * Update `<head>` content of the frame\n   */\n  updateHead() {\n    const { model } = this;\n    const headEl = this.getHead();\n    const toRemove = [];\n    const toAdd = [];\n    const current = model.get('head');\n    const prev = model.previous('head');\n    const attrStr = (attr = {}) =>\n      Object.keys(attr)\n        .sort()\n        .map(i => `[${i}=\"${attr[i]}\"]`)\n        .join('');\n    const find = (items, stack, res) => {\n      items.forEach(item => {\n        const { tag, attributes } = item;\n        const has = stack.some(s => s.tag === tag && attrStr(s.attributes) === attrStr(attributes));\n        !has && res.push(item);\n      });\n    };\n    find(current, prev, toAdd);\n    find(prev, current, toRemove);\n    toRemove.forEach(stl => {\n      const el = headEl.querySelector(`${stl.tag}${attrStr(stl.attributes)}`);\n      el && el.parentNode.removeChild(el);\n    });\n    appendVNodes(headEl, toAdd);\n  },\n\n  getEl() {\n    return this.el;\n  },\n\n  getCanvasModel() {\n    return this.em.get('Canvas').getModel();\n  },\n\n  getWindow() {\n    return this.getEl().contentWindow;\n  },\n\n  getDoc() {\n    return this.getEl().contentDocument;\n  },\n\n  getHead() {\n    return this.getDoc().querySelector('head');\n  },\n\n  getBody() {\n    return this.getDoc().querySelector('body');\n  },\n\n  getWrapper() {\n    return this.getBody().querySelector('[data-gjs-type=wrapper]');\n  },\n\n  getJsContainer() {\n    if (!this.jsContainer) {\n      this.jsContainer = createEl('div', { class: `${this.ppfx}js-cont` });\n    }\n\n    return this.jsContainer;\n  },\n\n  getToolsEl() {\n    const { frameWrapView } = this.config;\n    return frameWrapView && frameWrapView.elTools;\n  },\n\n  getGlobalToolsEl() {\n    return this.em.get('Canvas').getGlobalToolsEl();\n  },\n\n  getHighlighter() {\n    return this._getTool('[data-hl]');\n  },\n\n  getBadgeEl() {\n    return this._getTool('[data-badge]');\n  },\n\n  getOffsetViewerEl() {\n    return this._getTool('[data-offset]');\n  },\n\n  getRect() {\n    if (!this.rect) {\n      this.rect = this.el.getBoundingClientRect();\n    }\n\n    return this.rect;\n  },\n\n  /**\n   * Get rect data, not affected by the canvas zoom\n   */\n  getOffsetRect() {\n    const { el } = this;\n    const { scrollTop, scrollLeft } = this.getBody();\n    const height = el.offsetHeight;\n    const width = el.offsetWidth;\n\n    return {\n      top: el.offsetTop,\n      left: el.offsetLeft,\n      height,\n      width,\n      scrollTop,\n      scrollLeft,\n      scrollBottom: scrollTop + height,\n      scrollRight: scrollLeft + width,\n    };\n  },\n\n  _getTool(name) {\n    const { tools } = this;\n    const toolsEl = this.getToolsEl();\n\n    if (!tools[name]) {\n      tools[name] = toolsEl.querySelector(name);\n    }\n\n    return tools[name];\n  },\n\n  remove() {\n    const wrp = this.wrapper;\n    this._toggleEffects();\n    this.tools = {};\n    wrp && wrp.remove();\n    Backbone.View.prototype.remove.apply(this, arguments);\n  },\n\n  startAutoscroll() {\n    this.lastMaxHeight = this.getWrapper().offsetHeight - this.el.offsetHeight;\n\n    // By detaching those from the stack avoid browsers lags\n    // Noticeable with \"fast\" drag of blocks\n    setTimeout(() => {\n      this._toggleAutoscrollFx(1);\n      requestAnimationFrame(this.autoscroll);\n    }, 0);\n  },\n\n  autoscroll() {\n    if (this.dragging) {\n      const { lastClientY } = this;\n      const canvas = this.em.get('Canvas');\n      const win = this.getWindow();\n      const body = this.getBody();\n      const actualTop = body.scrollTop;\n      const clientY = lastClientY || 0;\n      const limitTop = canvas.getConfig().autoscrollLimit;\n      const limitBottom = this.getRect().height - limitTop;\n      let nextTop = actualTop;\n\n      if (clientY < limitTop) {\n        nextTop -= limitTop - clientY;\n      }\n\n      if (clientY > limitBottom) {\n        nextTop += clientY - limitBottom;\n      }\n\n      if (\n        !isUndefined(lastClientY) && // Fixes #3134\n        nextTop !== actualTop &&\n        nextTop > 0 &&\n        nextTop < this.lastMaxHeight\n      ) {\n        const toolsEl = this.getGlobalToolsEl();\n        toolsEl.style.opacity = 0;\n        this.showGlobalTools();\n        win.scrollTo(0, nextTop);\n      }\n\n      requestAnimationFrame(this.autoscroll);\n    }\n  },\n\n  updateClientY(ev) {\n    ev.preventDefault();\n    this.lastClientY = getPointerEvent(ev).clientY * this.em.getZoomDecimal();\n  },\n\n  showGlobalTools: debounce(function () {\n    this.getGlobalToolsEl().style.opacity = '';\n  }, 50),\n\n  stopAutoscroll() {\n    this.dragging && this._toggleAutoscrollFx();\n  },\n\n  _toggleAutoscrollFx(enable) {\n    this.dragging = enable;\n    const win = this.getWindow();\n    const method = enable ? 'on' : 'off';\n    const mt = { on, off };\n    mt[method](win, 'mousemove dragover', this.updateClientY);\n    mt[method](win, 'mouseup', this.stopAutoscroll);\n  },\n\n  render() {\n    const { $el, ppfx } = this;\n    $el.attr({ class: `${ppfx}frame` });\n    this.renderScripts();\n    return this;\n  },\n\n  renderScripts() {\n    const { el, model, em } = this;\n    const evLoad = 'frame:load';\n    const evOpts = { el, model, view: this };\n    const canvas = this.getCanvasModel();\n    const appendScript = scripts => {\n      if (scripts.length > 0) {\n        const src = scripts.shift();\n        const scriptEl = createEl('script', {\n          type: 'text/javascript',\n          ...(isString(src) ? { src } : src),\n        });\n        scriptEl.onerror = scriptEl.onload = appendScript.bind(null, scripts);\n        el.contentDocument.head.appendChild(scriptEl);\n      } else {\n        this.renderBody();\n        em && em.trigger(evLoad, evOpts);\n      }\n    };\n\n    el.onload = () => {\n      em && em.trigger(`${evLoad}:before`, evOpts);\n      appendScript([...canvas.get('scripts')]);\n    };\n  },\n\n  renderStyles(opts = {}) {\n    const head = this.getHead();\n    const canvas = this.getCanvasModel();\n    const normalize = stls =>\n      stls.map(href => ({\n        tag: 'link',\n        attributes: {\n          rel: 'stylesheet',\n          ...(isString(href) ? { href } : href),\n        },\n      }));\n    const prevStyles = normalize(opts.prev || canvas.previous('styles'));\n    const styles = normalize(canvas.get('styles'));\n    const toRemove = [];\n    const toAdd = [];\n    const find = (items, stack, res) => {\n      items.forEach(item => {\n        const { href } = item.attributes;\n        const has = stack.some(s => s.attributes.href === href);\n        !has && res.push(item);\n      });\n    };\n    find(styles, prevStyles, toAdd);\n    find(prevStyles, styles, toRemove);\n    toRemove.forEach(stl => {\n      const el = head.querySelector(`link[href=\"${stl.attributes.href}\"]`);\n      el && el.parentNode.removeChild(el);\n    });\n    appendVNodes(head, toAdd);\n  },\n\n  renderBody() {\n    const { config, model, ppfx } = this;\n    const { em } = config;\n    const doc = this.getDoc();\n    const body = this.getBody();\n    const win = this.getWindow();\n    const conf = em.get('Config');\n    win._isEditor = true;\n    this.renderStyles({ prev: [] });\n\n    const colorWarn = '#ffca6f';\n\n    // I need all this styles to make the editor work properly\n    // Remove `html { height: 100%;}` from the baseCss as it gives jumpings\n    // effects (on ENTER) with RTE like CKEditor (maybe some bug there?!?)\n    // With `body {height: auto;}` jumps in CKEditor are removed but in\n    // Firefox is impossible to drag stuff in empty canvas, so bring back\n    // `body {height: 100%;}`.\n    // For the moment I give the priority to Firefox as it might be\n    // CKEditor's issue\n    append(\n      body,\n      `<style>\n      ${conf.baseCss || ''}\n\n      .${ppfx}dashed *[data-gjs-highlightable] {\n        outline: 1px dashed rgba(170,170,170,0.7);\n        outline-offset: -2px;\n      }\n\n      .${ppfx}selected {\n        outline: 2px solid #3b97e3 !important;\n        outline-offset: -2px;\n      }\n\n      .${ppfx}selected-parent {\n        outline: 2px solid ${colorWarn} !important\n      }\n\n      .${ppfx}no-select {\n        user-select: none;\n        -webkit-user-select:none;\n        -moz-user-select: none;\n      }\n\n      .${ppfx}freezed {\n        opacity: 0.5;\n        pointer-events: none;\n      }\n\n      .${ppfx}no-pointer {\n        pointer-events: none;\n      }\n\n      .${ppfx}plh-image {\n        background: #f5f5f5;\n        border: none;\n        height: 100px;\n        width: 100px;\n        display: block;\n        outline: 3px solid #ffca6f;\n        cursor: pointer;\n        outline-offset: -2px\n      }\n\n      .${ppfx}grabbing {\n        cursor: grabbing;\n        cursor: -webkit-grabbing;\n      }\n\n      .${ppfx}is__grabbing {\n        overflow-x: hidden;\n      }\n\n      .${ppfx}is__grabbing,\n      .${ppfx}is__grabbing * {\n        cursor: grabbing !important;\n      }\n\n      ${conf.canvasCss || ''}\n      ${conf.protectedCss || ''}\n    </style>`\n    );\n    const component = model.getComponent();\n    const { view } = em.get('DomComponents').getType('wrapper');\n    this.wrapper = new view({\n      model: component,\n      config: {\n        ...component.config,\n        frameView: this,\n      },\n    }).render();\n    append(body, this.wrapper.el);\n    append(\n      body,\n      new CssRulesView({\n        collection: model.getStyles(),\n        config: {\n          ...em.get('CssComposer').getConfig(),\n          frameView: this,\n        },\n      }).render().el\n    );\n    append(body, this.getJsContainer());\n    // em.trigger('loaded'); // I need to manage only the first one maybe\n    //this.updateOffset(); // TOFIX (check if I need it)\n\n    // Avoid some default behaviours\n    on(body, 'click', ev => ev && ev.target.tagName == 'A' && ev.preventDefault());\n    on(body, 'submit', ev => ev && ev.preventDefault());\n\n    // When the iframe is focused the event dispatcher is not the same so\n    // I need to delegate all events to the parent document\n    [\n      { event: 'keydown keyup keypress', class: 'KeyboardEvent' },\n      { event: 'mousedown mousemove mouseup', class: 'MouseEvent' },\n      { event: 'pointerdown pointermove pointerup', class: 'PointerEvent' },\n      { event: 'wheel', class: 'WheelEvent' },\n    ].forEach(obj =>\n      obj.event.split(' ').forEach(event => {\n        doc.addEventListener(event, ev => this.el.dispatchEvent(createCustomEvent(ev, obj.class)));\n      })\n    );\n\n    this._toggleEffects(1);\n    this.droppable = hasDnd(em) && new Droppable(em, this.wrapper.el);\n    model.trigger('loaded');\n  },\n\n  _toggleEffects(enable) {\n    const method = enable ? on : off;\n    const win = this.getWindow();\n    win && method(win, `${motionsEv} resize`, this._emitUpdate);\n  },\n\n  _emitUpdate() {\n    this.model._emitUpdated();\n  },\n});\n","import Backbone from 'backbone';\nimport FrameView from './FrameView';\nimport { bindAll, isNumber, isNull, debounce } from 'underscore';\nimport { createEl, removeEl } from 'utils/dom';\nimport Dragger from 'utils/Dragger';\n\nexport default Backbone.View.extend({\n  events: {\n    'click [data-action-remove]': 'remove',\n    'mousedown [data-action-move]': 'startDrag'\n  },\n\n  initialize(opts = {}, conf = {}) {\n    bindAll(\n      this,\n      'onScroll',\n      'frameLoaded',\n      'updateOffset',\n      'remove',\n      'startDrag'\n    );\n    const { model } = this;\n    const config = {\n      ...(opts.config || conf),\n      frameWrapView: this\n    };\n    const { canvasView, em } = config;\n    this.cv = canvasView;\n    this.config = config;\n    this.em = em;\n    this.canvas = em && em.get('Canvas');\n    this.ppfx = config.pStylePrefix || '';\n    this.frame = new FrameView({ model, config });\n    this.classAnim = `${this.ppfx}frame-wrapper--anim`;\n    this.updateOffset = debounce(this.updateOffset.bind(this));\n    this.updateSize = debounce(this.updateSize.bind(this));\n    this.listenTo(model, 'loaded', this.frameLoaded);\n    this.listenTo(model, 'change:x change:y', this.updatePos);\n    this.listenTo(model, 'change:width change:height', this.updateSize);\n    this.listenTo(model, 'destroy remove', this.remove);\n    this.updatePos();\n    this.setupDragger();\n  },\n\n  setupDragger() {\n    const { canvas, model } = this;\n    let dragX, dragY, zoom;\n    const toggleEffects = on => {\n      canvas.toggleFramesEvents(on);\n    };\n\n    this.dragger = new Dragger({\n      onStart: () => {\n        const { x, y } = model.attributes;\n        zoom = this.em.getZoomMultiplier();\n        dragX = x;\n        dragY = y;\n        toggleEffects();\n      },\n      onEnd: () => toggleEffects(1),\n      setPosition: posOpts => {\n        model.set({\n          x: dragX + posOpts.x * zoom,\n          y: dragY + posOpts.y * zoom\n        });\n      }\n    });\n  },\n\n  startDrag(ev) {\n    ev && this.dragger.start(ev);\n  },\n\n  __clear(opts) {\n    const { frame } = this;\n    frame && frame.remove(opts);\n    removeEl(this.elTools);\n  },\n\n  remove(opts) {\n    this.__clear(opts);\n    Backbone.View.prototype.remove.apply(this, arguments);\n    ['frame', 'dragger', 'cv', 'em', 'canvas', 'elTools'].forEach(\n      i => (this[i] = 0)\n    );\n    return this;\n  },\n\n  updateOffset() {\n    const { em, $el, frame } = this;\n    if (!em) return;\n    em.runDefault({ preserveSelected: 1 });\n    $el.removeClass(this.classAnim);\n    frame.model._emitUpdated();\n  },\n\n  updatePos(md) {\n    const { model, el } = this;\n    const { x, y } = model.attributes;\n    const { style } = el;\n    this.frame.rect = 0;\n    style.left = isNaN(x) ? x : `${x}px`;\n    style.top = isNaN(y) ? y : `${y}px`;\n    md && this.updateOffset();\n  },\n\n  updateSize() {\n    this.updateDim();\n  },\n\n  /**\n   * Update dimensions of the frame\n   * @private\n   */\n  updateDim() {\n    const { em, el, $el, model, classAnim, frame } = this;\n    if (!frame) return;\n    frame.rect = 0;\n    $el.addClass(classAnim);\n    const { noChanges, width, height } = this.__handleSize();\n\n    // Set width and height from DOM (should be done only once)\n    if (isNull(width) || isNull(height)) {\n      model.set(\n        {\n          ...(!width ? { width: el.offsetWidth } : {}),\n          ...(!height ? { height: el.offsetHeight } : {})\n        },\n        { silent: 1 }\n      );\n    }\n\n    // Prevent fixed highlighting box which appears when on\n    // component hover during the animation\n    em.stopDefault({ preserveSelected: 1 });\n    noChanges ? this.updateOffset() : setTimeout(this.updateOffset, 350);\n  },\n\n  onScroll() {\n    const { frame, em } = this;\n    em.trigger('frame:scroll', {\n      frame,\n      body: frame.getBody(),\n      target: frame.getWindow()\n    });\n  },\n\n  frameLoaded() {\n    const { frame } = this;\n    frame.getWindow().onscroll = this.onScroll;\n    this.updateDim();\n  },\n\n  __handleSize() {\n    const un = 'px';\n    const { model, el } = this;\n    const { style } = el;\n    const { width, height } = model.attributes;\n    const currW = style.width || '';\n    const currH = style.height || '';\n    const newW = width || '';\n    const newH = height || '';\n    const noChanges = currW == newW && currH == newH;\n    style.width = isNumber(newW) ? `${newW}${un}` : newW;\n    style.height = isNumber(newH) ? `${newH}${un}` : newH;\n    return { noChanges, width, height, newW, newH };\n  },\n\n  render() {\n    const { frame, $el, ppfx, cv, model, el } = this;\n    const { onRender } = model.attributes;\n    this.__clear();\n    this.__handleSize();\n    frame.render();\n    $el\n      .empty()\n      .attr({ class: `${ppfx}frame-wrapper` })\n      .append(\n        `\n      <div class=\"${ppfx}frame-wrapper__top gjs-two-color\" data-frame-top>\n        <div class=\"${ppfx}frame-wrapper__name\" data-action-move>\n          ${model.get('name') || ''}\n        </div>\n        <div class=\"${ppfx}frame-wrapper__top-r\">\n          <div class=\"${ppfx}frame-wrapper__icon\" data-action-remove style=\"display: none\">\n            <svg viewBox=\"0 0 24 24\"><path d=\"M19 4h-3.5l-1-1h-5l-1 1H5v2h14M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6v12z\"></path></svg>\n          </div>\n        </div>\n      </div>\n      <div class=\"${ppfx}frame-wrapper__right\" data-frame-right></div>\n      <div class=\"${ppfx}frame-wrapper__left\" data-frame-left></div>\n      <div class=\"${ppfx}frame-wrapper__bottom\" data-frame-bottom></div>\n      `\n      )\n      .append(frame.el);\n    const elTools = createEl(\n      'div',\n      {\n        class: `${ppfx}tools`,\n        style: 'pointer-events:none; display: none'\n      },\n      `\n      <div class=\"${ppfx}highlighter\" data-hl></div>\n      <div class=\"${ppfx}badge\" data-badge></div>\n      <div class=\"${ppfx}placeholder\">\n        <div class=\"${ppfx}placeholder-int\"></div>\n      </div>\n      <div class=\"${ppfx}ghost\"></div>\n      <div class=\"${ppfx}toolbar\" style=\"pointer-events:all\"></div>\n      <div class=\"${ppfx}resizer\"></div>\n      <div class=\"${ppfx}offset-v\" data-offset>\n        <div class=\"gjs-marginName\" data-offset-m>\n          <div class=\"gjs-margin-v-el gjs-margin-v-top\" data-offset-m-t></div>\n          <div class=\"gjs-margin-v-el gjs-margin-v-bottom\" data-offset-m-b></div>\n          <div class=\"gjs-margin-v-el gjs-margin-v-left\" data-offset-m-l></div>\n          <div class=\"gjs-margin-v-el gjs-margin-v-right\" data-offset-m-r></div>\n        </div>\n        <div class=\"gjs-paddingName\" data-offset-m>\n          <div class=\"gjs-padding-v-el gjs-padding-v-top\" data-offset-p-t></div>\n          <div class=\"gjs-padding-v-el gjs-padding-v-bottom\" data-offset-p-b></div>\n          <div class=\"gjs-padding-v-el gjs-padding-v-left\" data-offset-p-l></div>\n          <div class=\"gjs-padding-v-el gjs-padding-v-right\" data-offset-p-r></div>\n        </div>\n      </div>\n      <div class=\"${ppfx}offset-fixed-v\"></div>\n    `\n    );\n    this.elTools = elTools;\n    const twrp = cv.toolsWrapper;\n    twrp && twrp.appendChild(elTools); // TODO remove on frame remove\n    onRender &&\n      onRender({\n        el,\n        elTop: el.querySelector('[data-frame-top]'),\n        elRight: el.querySelector('[data-frame-right]'),\n        elBottom: el.querySelector('[data-frame-bottom]'),\n        elLeft: el.querySelector('[data-frame-left]'),\n        frame: model,\n        frameWrapperView: this,\n        remove: this.remove,\n        startDrag: this.startDrag\n      });\n    return this;\n  }\n});\n","import DomainViews from 'domain_abstract/view/DomainViews';\nimport FrameWrapView from './FrameWrapView';\n\nexport default DomainViews.extend({\n  itemView: FrameWrapView,\n  autoAdd: 1,\n\n  init() {\n    this.listenTo(this.collection, 'reset', this.render);\n  },\n\n  onRemoveBefore(items, opts) {\n    items.forEach(item => item.remove(opts));\n  },\n\n  onRender() {\n    const { config, $el } = this;\n    const { em } = config;\n    em && $el.attr({ class: `${em.getConfig('stylePrefix')}frames` });\n  }\n});\n","import Backbone from 'backbone';\nimport { bindAll } from 'underscore';\nimport {\n  on,\n  off,\n  getElement,\n  getKeyChar,\n  isTextNode,\n  getElRect,\n  getUiClass\n} from 'utils/mixins';\nimport FramesView from './FramesView';\n\nconst $ = Backbone.$;\nlet timerZoom;\n\nexport default Backbone.View.extend({\n  events: {\n    wheel: 'onWheel'\n  },\n\n  template() {\n    const { pfx } = this;\n    return `\n      <div class=\"${pfx}canvas__frames\" data-frames></div>\n      <div id=\"${pfx}tools\" class=\"${pfx}canvas__tools\" data-tools></div>\n    `;\n  },\n\n  initialize(o) {\n    bindAll(this, 'clearOff', 'onKeyPress', 'onCanvasMove');\n    const { model } = this;\n    this.config = o.config || {};\n    this.em = this.config.em || {};\n    this.pfx = this.config.stylePrefix || '';\n    this.ppfx = this.config.pStylePrefix || '';\n    this.className = this.config.stylePrefix + 'canvas';\n    const { em } = this;\n    this._initFrames();\n    this.listenTo(em, 'change:canvasOffset', this.clearOff);\n    this.listenTo(em, 'component:selected', this.checkSelected);\n    this.listenTo(model, 'change:zoom change:x change:y', this.updateFrames);\n    this.listenTo(model, 'change:frames', this._onFramesUpdate);\n    this.toggleListeners(1);\n  },\n\n  _onFramesUpdate() {\n    this._initFrames();\n    this._renderFrames();\n  },\n\n  _initFrames() {\n    const { frames, model, config, em } = this;\n    const collection = model.get('frames');\n    em.set('readyCanvas', 0);\n    collection.once('loaded:all', () => em.set('readyCanvas', 1));\n    frames && frames.remove();\n    this.frames = new FramesView({\n      collection,\n      config: {\n        ...config,\n        canvasView: this\n      }\n    });\n  },\n\n  checkSelected(component, opts = {}) {\n    const { scroll } = opts;\n    const currFrame = this.em.get('currentFrame');\n\n    scroll &&\n      component.views.forEach(view => {\n        view._getFrame() === currFrame && view.scrollIntoView(scroll);\n      });\n  },\n\n  remove() {\n    this.frames.remove();\n    this.frames = {};\n    Backbone.View.prototype.remove.apply(this, arguments);\n    this.toggleListeners();\n  },\n\n  preventDefault(ev) {\n    if (ev) {\n      ev.preventDefault();\n      ev._parentEvent && ev._parentEvent.preventDefault();\n    }\n  },\n\n  onCanvasMove(ev) {\n    // const data = { x: ev.clientX, y: ev.clientY };\n    // const data2 = this.em.get('Canvas').getMouseRelativeCanvas(ev);\n    // const data3 = this.em.get('Canvas').getMouseRelativePos(ev);\n    // this.em.trigger('canvas:over', data, data2, data3);\n  },\n\n  toggleListeners(enable) {\n    const { el } = this;\n    const fn = enable ? on : off;\n    fn(document, 'keypress', this.onKeyPress);\n    fn(window, 'scroll resize', this.clearOff);\n    // fn(el, 'mousemove dragover', this.onCanvasMove);\n  },\n\n  onKeyPress(ev) {\n    const { em } = this;\n    const key = getKeyChar(ev);\n\n    if (\n      key === ' ' &&\n      em.getZoomDecimal() !== 1 &&\n      !em.get('Canvas').isInputFocused()\n    ) {\n      this.preventDefault(ev);\n      em.get('Editor').runCommand('core:canvas-move');\n    }\n  },\n\n  onWheel(ev) {\n    if ((ev.ctrlKey || ev.metaKey) && this.em.getConfig('multiFrames')) {\n      this.preventDefault(ev);\n      const { model } = this;\n      const delta = Math.max(-1, Math.min(1, ev.wheelDelta || -ev.detail));\n      const zoom = model.get('zoom');\n      model.set('zoom', zoom + delta * 2);\n    }\n  },\n\n  updateFrames(ev) {\n    const { em, model } = this;\n    const { x, y } = model.attributes;\n    const zoom = this.getZoom();\n    const defOpts = { preserveSelected: 1 };\n    const mpl = zoom ? 1 / zoom : 1;\n    this.framesArea.style.transform = `scale(${zoom}) translate(${x *\n      mpl}px, ${y * mpl}px)`;\n    this.clearOff();\n    em.stopDefault(defOpts);\n    em.trigger('canvas:update', ev);\n    timerZoom && clearTimeout(timerZoom);\n    timerZoom = setTimeout(() => em.runDefault(defOpts), 300);\n  },\n\n  getZoom() {\n    return this.em.getZoomDecimal();\n  },\n\n  /**\n   * Checks if the element is visible in the canvas's viewport\n   * @param  {HTMLElement}  el\n   * @return {Boolean}\n   */\n  isElInViewport(el) {\n    const elem = getElement(el);\n    const rect = getElRect(elem);\n    const frameRect = this.getFrameOffset(elem);\n    const rTop = rect.top;\n    const rLeft = rect.left;\n    return (\n      rTop >= 0 &&\n      rLeft >= 0 &&\n      rTop <= frameRect.height &&\n      rLeft <= frameRect.width\n    );\n  },\n\n  /**\n   * Get the offset of the element\n   * @param  {HTMLElement} el\n   * @return {Object}\n   */\n  offset(el, opts = {}) {\n    const rect = getElRect(el);\n    const docBody = el.ownerDocument.body;\n    const { noScroll } = opts;\n\n    return {\n      top: rect.top + (noScroll ? 0 : docBody.scrollTop),\n      left: rect.left + (noScroll ? 0 : docBody.scrollLeft),\n      width: rect.width,\n      height: rect.height\n    };\n  },\n\n  /**\n   * Cleare cached offsets\n   * @private\n   */\n  clearOff() {\n    this.frmOff = null;\n    this.cvsOff = null;\n  },\n\n  /**\n   * Return frame offset\n   * @return {Object}\n   * @private\n   */\n  getFrameOffset(el) {\n    if (!this.frmOff || el) {\n      const frame = this.frame.el;\n      const winEl = el && el.ownerDocument.defaultView;\n      const frEl = winEl ? winEl.frameElement : frame;\n      this.frmOff = this.offset(frEl || frame);\n    }\n    return this.frmOff;\n  },\n\n  /**\n   * Return canvas offset\n   * @return {Object}\n   * @private\n   */\n  getCanvasOffset() {\n    if (!this.cvsOff) this.cvsOff = this.offset(this.el);\n    return this.cvsOff;\n  },\n\n  /**\n   * Returns element's rect info\n   * @param {HTMLElement} el\n   * @return {Object}\n   * @private\n   */\n  getElementPos(el, opts) {\n    const zoom = this.getZoom();\n    var opt = opts || {};\n    var frmOff = this.getFrameOffset(el);\n    var cvsOff = this.getCanvasOffset();\n    var eo = this.offset(el, opts);\n\n    var frmTop = opt.avoidFrameOffset ? 0 : frmOff.top;\n    var frmLeft = opt.avoidFrameOffset ? 0 : frmOff.left;\n\n    const top = eo.top * zoom + frmTop - cvsOff.top;\n    const left = eo.left * zoom + frmLeft - cvsOff.left;\n    const height = eo.height * zoom;\n    const width = eo.width * zoom;\n\n    return { top, left, height, width, zoom, rect: eo };\n  },\n\n  /**\n   * Returns element's offsets like margins and paddings\n   * @param {HTMLElement} el\n   * @return {Object}\n   * @private\n   */\n  getElementOffsets(el) {\n    if (!el || isTextNode(el)) return {};\n    const result = {};\n    const styles = window.getComputedStyle(el);\n    [\n      'marginTop',\n      'marginRight',\n      'marginBottom',\n      'marginLeft',\n      'paddingTop',\n      'paddingRight',\n      'paddingBottom',\n      'paddingLeft'\n    ].forEach(offset => {\n      result[offset] = parseFloat(styles[offset]) * this.getZoom();\n    });\n\n    return result;\n  },\n\n  /**\n   * Returns position data of the canvas element\n   * @return {Object} obj Position object\n   * @private\n   */\n  getPosition(opts = {}) {\n    const doc = this.frame.el.contentDocument;\n    if (!doc) return;\n    const bEl = doc.body;\n    const zoom = this.getZoom();\n    const fo = this.getFrameOffset();\n    const co = this.getCanvasOffset();\n    const { noScroll } = opts;\n\n    return {\n      top: fo.top + (noScroll ? 0 : bEl.scrollTop) * zoom - co.top,\n      left: fo.left + (noScroll ? 0 : bEl.scrollLeft) * zoom - co.left,\n      width: co.width,\n      height: co.height\n    };\n  },\n\n  /**\n   * Update javascript of a specific component passed by its View\n   * @param {View} view Component's View\n   * @private\n   */\n  updateScript(view) {\n    const model = view.model;\n    const id = model.getId();\n\n    if (!view.scriptContainer) {\n      view.scriptContainer = $(`<div data-id=\"${id}\">`);\n      this.getJsContainer().appendChild(view.scriptContainer.get(0));\n    }\n\n    view.el.id = id;\n    view.scriptContainer.html('');\n    // In editor, I make use of setTimeout as during the append process of elements\n    // those will not be available immediately, therefore 'item' variable\n    const script = document.createElement('script');\n    const scriptFn = model.getScriptString();\n    const scriptFnStr = model.get('script-props')\n      ? scriptFn\n      : `function(){\\n${scriptFn}\\n;}`;\n    const scriptProps = JSON.stringify(model.__getScriptProps());\n    script.innerHTML = `\n      setTimeout(function() {\n        var item = document.getElementById('${id}');\n        if (!item) return;\n        (${scriptFnStr}.bind(item))(${scriptProps})\n      }, 1);`;\n    // #873\n    // Adding setTimeout will make js components work on init of the editor\n    setTimeout(() => {\n      const scr = view.scriptContainer;\n      scr && scr.get(0).appendChild(script);\n    }, 0);\n  },\n\n  /**\n   * Get javascript container\n   * @private\n   */\n  getJsContainer(view) {\n    const frameView = this.getFrameView(view);\n    return frameView && frameView.getJsContainer();\n  },\n\n  getFrameView(view) {\n    return (view && view._getFrame()) || this.em.get('currentFrame');\n  },\n\n  _renderFrames() {\n    if (!this.ready) return;\n    const { model, frames, em, framesArea } = this;\n    const frms = model.get('frames');\n    frms.listenToLoad();\n    frames.render();\n    const mainFrame = frms.at(0);\n    const currFrame = mainFrame && mainFrame.view;\n    em.setCurrentFrame(currFrame);\n    framesArea && framesArea.appendChild(frames.el);\n    this.frame = currFrame;\n  },\n\n  render() {\n    const { el, $el, ppfx, config, em } = this;\n    $el.html(this.template());\n    const $frames = $el.find('[data-frames]');\n    this.framesArea = $frames.get(0);\n\n    const toolsWrp = $el.find('[data-tools]');\n    this.toolsWrapper = toolsWrp.get(0);\n    toolsWrp.append(`\n      <div class=\"${ppfx}tools ${ppfx}tools-gl\" style=\"pointer-events:none\">\n        <div class=\"${ppfx}placeholder\">\n          <div class=\"${ppfx}placeholder-int\"></div>\n        </div>\n      </div>\n      <div id=\"${ppfx}tools\" style=\"pointer-events:none\">\n        ${config.extHl ? `<div class=\"${ppfx}highlighter-sel\"></div>` : ''}\n        <div class=\"${ppfx}badge\"></div>\n        <div class=\"${ppfx}ghost\"></div>\n        <div class=\"${ppfx}toolbar\" style=\"pointer-events:all\"></div>\n        <div class=\"${ppfx}resizer\"></div>\n        <div class=\"${ppfx}offset-v\"></div>\n        <div class=\"${ppfx}offset-fixed-v\"></div>\n      </div>\n    `);\n    const toolsEl = el.querySelector(`#${ppfx}tools`);\n    this.hlEl = el.querySelector(`.${ppfx}highlighter`);\n    this.badgeEl = el.querySelector(`.${ppfx}badge`);\n    this.placerEl = el.querySelector(`.${ppfx}placeholder`);\n    this.ghostEl = el.querySelector(`.${ppfx}ghost`);\n    this.toolbarEl = el.querySelector(`.${ppfx}toolbar`);\n    this.resizerEl = el.querySelector(`.${ppfx}resizer`);\n    this.offsetEl = el.querySelector(`.${ppfx}offset-v`);\n    this.fixedOffsetEl = el.querySelector(`.${ppfx}offset-fixed-v`);\n    this.toolsGlobEl = el.querySelector(`.${ppfx}tools-gl`);\n    this.toolsEl = toolsEl;\n    this.el.className = getUiClass(em, this.className);\n    this.ready = 1;\n    this._renderFrames();\n\n    return this;\n  }\n});\n","/**\n * You can customize the initial state of the module from the editor initialization, by passing the following [Configuration Object](https://github.com/artf/grapesjs/blob/master/src/canvas/config/config.js)\n * ```js\n * const editor = grapesjs.init({\n *  canvas: {\n *    // options\n *  }\n * })\n * ```\n *\n * Once the editor is instantiated you can use its API and listen to its events. Before using these methods, you should get the module from the instance.\n *\n * ```js\n * // Listen to events\n * editor.on('canvas:drop', () => { ... });\n *\n * // Use the API\n * const canvas = editor.Canvas;\n * canvas.setCoords(...);\n * ```\n * ## Available Events\n * * `canvas:dragenter` - When something is dragged inside the canvas, `DataTransfer` instance passed as an argument\n * * `canvas:dragover` - When something is dragging on canvas, `DataTransfer` instance passed as an argument\n * * `canvas:drop` - Something is dropped in canvas, `DataTransfer` instance and the dropped model are passed as arguments\n * * `canvas:dragend` - When a drag operation is ended, `DataTransfer` instance passed as an argument\n * * `canvas:dragdata` - On any dataTransfer parse, `DataTransfer` instance and the `result` are passed as arguments.\n *  By changing `result.content` you're able to customize what is dropped\n *\n * ## Methods\n * * [getConfig](#getconfig)\n * * [getElement](#getelement)\n * * [getFrameEl](#getframeel)\n * * [getWindow](#getwindow)\n * * [getDocument](#getdocument)\n * * [getBody](#getbody)\n * * [setCustomBadgeLabel](#setcustombadgelabel)\n * * [hasFocus](#hasfocus)\n * * [scrollTo](#scrollto)\n * * [setZoom](#setzoom)\n * * [getZoom](#getzoom)\n * * [getCoords](#getcoords)\n * * [setCoords](#setcoords)\n *\n * [Component]: component.html\n * [Frame]: frame.html\n *\n * @module Canvas\n */\n\nimport { isUndefined } from 'underscore';\nimport { getElement, getViewEl } from 'utils/mixins';\nimport defaults from './config/config';\nimport Canvas from './model/Canvas';\nimport canvasView from './view/CanvasView';\n\nexport default () => {\n  let c = {};\n  let canvas;\n  let CanvasView;\n\n  return {\n    /**\n     * Used inside RTE\n     * @private\n     */\n    getCanvasView() {\n      return CanvasView;\n    },\n\n    name: 'Canvas',\n\n    /**\n     * Initialize module. Automatically called with a new instance of the editor\n     * @param {Object} config Configurations\n     * @private\n     */\n    init(config = {}) {\n      c = {\n        ...defaults,\n        ...config,\n        module: this,\n      };\n\n      this.em = c.em;\n      const { scripts, styles } = c;\n      const ppfx = c.pStylePrefix;\n      if (ppfx) c.stylePrefix = ppfx + c.stylePrefix;\n      canvas = new Canvas({ scripts, styles }, config);\n      this.model = canvas;\n      this.startAutoscroll = this.startAutoscroll.bind(this);\n      this.stopAutoscroll = this.stopAutoscroll.bind(this);\n      return this;\n    },\n\n    onLoad() {\n      this.model.init();\n    },\n\n    getModel() {\n      return canvas;\n    },\n\n    /**\n     * Get the configuration object\n     * @returns {Object} Configuration object\n     * @example\n     * console.log(canvas.getConfig())\n     */\n    getConfig() {\n      return c;\n    },\n\n    /**\n     * Get the canvas element\n     * @returns {HTMLElement}\n     */\n    getElement() {\n      return CanvasView.el;\n    },\n\n    getFrame(index) {\n      return this.getFrames()[index || 0];\n    },\n\n    /**\n     * Get the main frame element of the canvas\n     * @returns {HTMLIFrameElement}\n     */\n    getFrameEl() {\n      const { frame } = CanvasView || {};\n      return frame && frame.el;\n    },\n\n    getFramesEl() {\n      return CanvasView.framesArea;\n    },\n\n    /**\n     * Get the main frame window instance\n     * @returns {Window}\n     */\n    getWindow() {\n      return this.getFrameEl().contentWindow;\n    },\n\n    /**\n     * Get the main frame document element\n     * @returns {HTMLDocument}\n     */\n    getDocument() {\n      const frame = this.getFrameEl();\n      return frame && frame.contentDocument;\n    },\n\n    /**\n     * Get the main frame body element\n     * @return {HTMLBodyElement}\n     */\n    getBody() {\n      const doc = this.getDocument();\n      return doc && doc.body;\n    },\n\n    _getCompFrame(compView) {\n      return compView && compView._getFrame();\n    },\n\n    _getLocalEl(globalEl, compView, method) {\n      let result = globalEl;\n      const frameView = this._getCompFrame(compView);\n      result = frameView ? frameView[method]() : result;\n\n      return result;\n    },\n\n    /**\n     * Returns element containing all global canvas tools\n     * @returns {HTMLElement}\n     * @private\n     */\n    getGlobalToolsEl() {\n      return CanvasView.toolsGlobEl;\n    },\n\n    /**\n     * Returns element containing all canvas tools\n     * @returns {HTMLElement}\n     * @private\n     */\n    getToolsEl(compView) {\n      return this._getLocalEl(CanvasView.toolsEl, compView, 'getToolsEl');\n    },\n\n    /**\n     * Returns highlighter element\n     * @returns {HTMLElement}\n     * @private\n     */\n    getHighlighter(compView) {\n      return this._getLocalEl(CanvasView.hlEl, compView, 'getHighlighter');\n    },\n\n    /**\n     * Returns badge element\n     * @returns {HTMLElement}\n     * @private\n     */\n    getBadgeEl(compView) {\n      return this._getLocalEl(CanvasView.badgeEl, compView, 'getBadgeEl');\n    },\n\n    /**\n     * Returns placer element\n     * @returns {HTMLElement}\n     * @private\n     */\n    getPlacerEl() {\n      return CanvasView.placerEl;\n    },\n\n    /**\n     * Returns ghost element\n     * @returns {HTMLElement}\n     * @private\n     */\n    getGhostEl() {\n      return CanvasView.ghostEl;\n    },\n\n    /**\n     * Returns toolbar element\n     * @returns {HTMLElement}\n     * @private\n     */\n    getToolbarEl() {\n      return CanvasView.toolbarEl;\n    },\n\n    /**\n     * Returns resizer element\n     * @returns {HTMLElement}\n     * @private\n     */\n    getResizerEl() {\n      return CanvasView.resizerEl;\n    },\n\n    /**\n     * Returns offset viewer element\n     * @returns {HTMLElement}\n     * @private\n     */\n    getOffsetViewerEl(compView) {\n      return this._getLocalEl(CanvasView.offsetEl, compView, 'getOffsetViewerEl');\n    },\n\n    /**\n     * Returns fixed offset viewer element\n     * @returns {HTMLElement}\n     * @private\n     */\n    getFixedOffsetViewerEl() {\n      return CanvasView.fixedOffsetEl;\n    },\n\n    render() {\n      CanvasView && CanvasView.remove();\n      CanvasView = new canvasView({\n        model: canvas,\n        config: c,\n      });\n      return CanvasView.render().el;\n    },\n\n    /**\n     * Get frame position\n     * @returns {Object}\n     * @private\n     */\n    getOffset() {\n      var frameOff = this.offset(this.getFrameEl());\n      var canvasOff = this.offset(this.getElement());\n      return {\n        top: frameOff.top - canvasOff.top,\n        left: frameOff.left - canvasOff.left,\n      };\n    },\n\n    /**\n     * Get the offset of the passed component element\n     * @param  {HTMLElement} el\n     * @returns {Object}\n     * @private\n     */\n    offset(el) {\n      return CanvasView.offset(el);\n    },\n\n    /**\n     * Set custom badge naming strategy\n     * @param  {Function} f\n     * @example\n     * canvas.setCustomBadgeLabel(function(component){\n     *  return component.getName();\n     * });\n     */\n    setCustomBadgeLabel(f) {\n      c.customBadgeLabel = f;\n    },\n\n    /**\n     * Get element position relative to the canvas\n     * @param {HTMLElement} el\n     * @returns {Object}\n     * @private\n     */\n    getElementPos(el, opts) {\n      return CanvasView.getElementPos(el, opts);\n    },\n\n    /**\n     * Returns element's offsets like margins and paddings\n     * @param {HTMLElement} el\n     * @returns {Object}\n     * @private\n     */\n    getElementOffsets(el) {\n      return CanvasView.getElementOffsets(el);\n    },\n\n    /**\n     * Get canvas rectangular data\n     * @returns {Object}\n     */\n    getRect() {\n      const { top, left } = CanvasView.getPosition();\n      return {\n        ...CanvasView.getCanvasOffset(),\n        topScroll: top,\n        leftScroll: left,\n      };\n    },\n\n    /**\n     * This method comes handy when you need to attach something like toolbars\n     * to elements inside the canvas, dealing with all relative position,\n     * offsets, etc. and returning as result the object with positions which are\n     * viewable by the user (when the canvas is scrolled the top edge of the element\n     * is not viewable by the user anymore so the new top edge is the one of the canvas)\n     *\n     * The target should be visible before being passed here as invisible elements\n     * return empty string as width\n     * @param {HTMLElement} target The target in this case could be the toolbar\n     * @param {HTMLElement} element The element on which I'd attach the toolbar\n     * @param {Object} options Custom options\n     * @param {Boolean} options.toRight Set to true if you want the toolbar attached to the right\n     * @return {Object}\n     * @private\n     */\n    getTargetToElementDim(target, element, options = {}) {\n      var opts = options || {};\n      var canvasPos = CanvasView.getPosition();\n      if (!canvasPos) return;\n      var pos = opts.elPos || CanvasView.getElementPos(element);\n      var toRight = options.toRight || 0;\n      var targetHeight = opts.targetHeight || target.offsetHeight;\n      var targetWidth = opts.targetWidth || target.offsetWidth;\n      var eventToTrigger = opts.event || null;\n\n      var elTop = pos.top - targetHeight;\n      var elLeft = pos.left;\n      elLeft += toRight ? pos.width : 0;\n      elLeft = toRight ? elLeft - targetWidth : elLeft;\n\n      var leftPos = elLeft < canvasPos.left ? canvasPos.left : elLeft;\n      var topPos = elTop < canvasPos.top ? canvasPos.top : elTop;\n      topPos = topPos > pos.top + pos.height ? pos.top + pos.height : topPos;\n\n      var result = {\n        top: topPos,\n        left: leftPos,\n        elementTop: pos.top,\n        elementLeft: pos.left,\n        elementWidth: pos.width,\n        elementHeight: pos.height,\n        targetWidth: target.offsetWidth,\n        targetHeight: target.offsetHeight,\n        canvasTop: canvasPos.top,\n        canvasLeft: canvasPos.left,\n        canvasWidth: canvasPos.width,\n        canvasHeight: canvasPos.height,\n      };\n\n      // In this way I can catch data and also change the position strategy\n      if (eventToTrigger && c.em) {\n        c.em.trigger(eventToTrigger, result);\n      }\n\n      return result;\n    },\n\n    canvasRectOffset(el, pos, opts = {}) {\n      const getFrameElFromDoc = doc => {\n        const { defaultView } = doc;\n        return defaultView && defaultView.frameElement;\n      };\n\n      const rectOff = (el, top = 1, pos) => {\n        const zoom = this.em.getZoomDecimal();\n        const side = top ? 'top' : 'left';\n        const doc = el.ownerDocument;\n        const { offsetTop = 0, offsetLeft = 0 } = opts.offset ? getFrameElFromDoc(doc) : {};\n        const { scrollTop = 0, scrollLeft = 0 } = doc.body || {};\n        const scroll = top ? scrollTop : scrollLeft;\n        const offset = top ? offsetTop : offsetLeft;\n\n        // if (!top) {\n        //   console.log('LEFT', { posLeft: pos[side], scroll, offset }, el);\n        // }\n\n        return pos[side] - (scroll - offset) * zoom;\n      };\n\n      return {\n        top: rectOff(el, 1, pos),\n        left: rectOff(el, 0, pos),\n      };\n    },\n\n    getTargetToElementFixed(el, elToMove, opts = {}) {\n      const pos = opts.pos || this.getElementPos(el);\n      const cvOff = opts.canvasOff || this.canvasRectOffset(el, pos);\n      const toolbarH = elToMove.offsetHeight || 0;\n      const toolbarW = elToMove.offsetWidth || 0;\n      const elRight = pos.left + pos.width;\n      const cv = this.getCanvasView();\n      const frCvOff = cv.getPosition();\n      const frameOffset = cv.getFrameOffset(el);\n      const { event } = opts;\n\n      let top = -toolbarH;\n      let left = !isUndefined(opts.left) ? opts.left : pos.width - toolbarW;\n      left = pos.left < -left ? -pos.left : left;\n      left = elRight > frCvOff.width ? left - (elRight - frCvOff.width) : left;\n\n      // Scroll with the window if the top edge is reached and the\n      // element is bigger than the canvas\n      const fullHeight = pos.height + toolbarH;\n      const elIsShort = fullHeight < frameOffset.height;\n\n      if (cvOff.top < toolbarH) {\n        if (elIsShort) {\n          top = top + fullHeight;\n        } else {\n          top = -cvOff.top < pos.height ? -cvOff.top : pos.height;\n        }\n      }\n\n      const result = {\n        top,\n        left,\n        canvasOffsetTop: cvOff.top,\n        canvasOffsetLeft: cvOff.left,\n      };\n\n      // In this way I can catch data and also change the position strategy\n      event && this.em.trigger(event, result);\n\n      return result;\n    },\n\n    /**\n     * Instead of simply returning e.clientX and e.clientY this function\n     * calculates also the offset based on the canvas. This is helpful when you\n     * need to get X and Y position while moving between the editor area and\n     * canvas area, which is in the iframe\n     * @param {Event} e\n     * @return {Object}\n     * @private\n     */\n    getMouseRelativePos(e, options) {\n      var opts = options || {};\n      var addTop = 0;\n      var addLeft = 0;\n      var subWinOffset = opts.subWinOffset;\n      var doc = e.target.ownerDocument;\n      var win = doc.defaultView || doc.parentWindow;\n      var frame = win.frameElement;\n      var yOffset = subWinOffset ? win.pageYOffset : 0;\n      var xOffset = subWinOffset ? win.pageXOffset : 0;\n\n      if (frame) {\n        var frameRect = frame.getBoundingClientRect();\n        addTop = frameRect.top || 0;\n        addLeft = frameRect.left || 0;\n      }\n\n      return {\n        y: e.clientY + addTop - yOffset,\n        x: e.clientX + addLeft - xOffset,\n      };\n    },\n\n    /**\n     * X and Y mouse position relative to the canvas\n     * @param {Event} ev\n     * @return {Object}\n     * @private\n     */\n    getMouseRelativeCanvas(ev, opts) {\n      const zoom = this.getZoomDecimal();\n      const { top, left } = CanvasView.getPosition(opts);\n\n      return {\n        y: ev.clientY * zoom + top,\n        x: ev.clientX * zoom + left,\n      };\n    },\n\n    /**\n     * Check if the canvas is focused\n     * @returns {Boolean}\n     */\n    hasFocus() {\n      return this.getDocument().hasFocus();\n    },\n\n    /**\n     * Detects if some input is focused (input elements, text components, etc.)\n     * @return {Boolean}\n     * @private\n     */\n    isInputFocused() {\n      const doc = this.getDocument();\n      const frame = this.getFrameEl();\n      const toIgnore = ['body', ...this.getConfig().notTextable];\n      const docActive = frame && document.activeElement === frame;\n      const focused = docActive ? doc && doc.activeElement : document.activeElement;\n\n      return focused && !toIgnore.some(item => focused.matches(item));\n    },\n\n    /**\n     * Scroll canvas to the element if it's not visible. The scrolling is\n     * executed via `scrollIntoView` API and options of this method are\n     * passed to it. For instance, you can scroll smoothly by using\n     * `{ behavior: 'smooth' }`.\n     * @param  {HTMLElement|[Component]} el\n     * @param  {Object} [opts={}] Options, same as options for `scrollIntoView`\n     * @param  {Boolean} [opts.force=false] Force the scroll, even if the element is already visible\n     * @example\n     * const selected = editor.getSelected();\n     * // Scroll smoothly (this behavior can be polyfilled)\n     * canvas.scrollTo(selected, { behavior: 'smooth' });\n     * // Force the scroll, even if the element is alredy visible\n     * canvas.scrollTo(selected, { force: true });\n     */\n    scrollTo(el, opts = {}) {\n      const elem = getElement(el);\n      const view = elem && getViewEl(elem);\n      view && view.scrollIntoView(opts);\n    },\n\n    /**\n     * Start autoscroll\n     * @private\n     */\n    startAutoscroll(frame) {\n      const fr = (frame && frame.view) || this.em.getCurrentFrame();\n      fr && fr.startAutoscroll();\n    },\n\n    /**\n     * Stop autoscroll\n     * @private\n     */\n    stopAutoscroll(frame) {\n      const fr = (frame && frame.view) || this.em.getCurrentFrame();\n      fr && fr.stopAutoscroll();\n    },\n\n    /**\n     * Set canvas zoom value\n     * @param {Number} value The zoom value, from 0 to 100\n     * @returns {this}\n     * @example\n     * canvas.setZoom(50); // set zoom to 50%\n     */\n    setZoom(value) {\n      canvas.set('zoom', parseFloat(value));\n      return this;\n    },\n\n    /**\n     * Get canvas zoom value\n     * @returns {Number}\n     * @example\n     * canvas.setZoom(50); // set zoom to 50%\n     * const zoom = canvas.getZoom(); // 50\n     */\n    getZoom() {\n      return parseFloat(canvas.get('zoom'));\n    },\n\n    /**\n     * Set canvas position coordinates\n     * @param {Number} x Horizontal position\n     * @param {Number} y Vertical position\n     * @returns {this}\n     * @example\n     * canvas.setCoords(100, 100);\n     */\n    setCoords(x, y) {\n      canvas.set({ x: parseFloat(x), y: parseFloat(y) });\n      return this;\n    },\n\n    /**\n     * Get canvas position coordinates\n     * @returns {Object} Object containing coordinates\n     * @example\n     * canvas.setCoords(100, 100);\n     * const coords = canvas.getCoords();\n     * // { x: 100, y: 100 }\n     */\n    getCoords() {\n      const { x, y } = canvas.attributes;\n      return { x, y };\n    },\n\n    getZoomDecimal() {\n      return this.getZoom() / 100;\n    },\n\n    getZoomMultiplier() {\n      const zoom = this.getZoomDecimal();\n      return zoom ? 1 / zoom : 1;\n    },\n\n    toggleFramesEvents(on) {\n      const { style } = this.getFramesEl();\n      style.pointerEvents = on ? '' : 'none';\n    },\n\n    getFrames() {\n      return canvas.get('frames').map(item => item);\n    },\n\n    /**\n     * Add new frame to the canvas\n     * @param {Object} props Frame properties\n     * @returns {[Frame]}\n     * @example\n     * canvas.addFrame({\n     *   name: 'Mobile home page',\n     *   x: 100, // Position in canvas\n     *   y: 100,\n     *   width: 500, // Frame dimensions\n     *   height: 600,\n     *   // device: 'DEVICE-ID',\n     *   components: [\n     *     '<h1 class=\"testh\">Title frame</h1>',\n     *     '<p class=\"testp\">Paragraph frame</p>',\n     *   ],\n     *   styles: `\n     *     .testh { color: red; }\n     *     .testp { color: blue; }\n     *   `,\n     * });\n     */\n    addFrame(props = {}, opts = {}) {\n      return canvas.get('frames').add(\n        {\n          ...props,\n        },\n        {\n          ...opts,\n          em: this.em,\n        }\n      );\n    },\n\n    destroy() {\n      canvas.stopListening();\n      CanvasView && CanvasView.remove();\n      [c, canvas, CanvasView].forEach(i => (i = {}));\n      ['em', 'model', 'droppable'].forEach(i => (this[i] = {}));\n    },\n  };\n};\n","import { Model } from 'common';\nimport { result, forEach, isEmpty, isString } from 'underscore';\nimport { isComponent, isObject } from 'utils/mixins';\n\nconst keyAutoW = '__aw';\nconst keyAutoH = '__ah';\n\n/**\n * @property {Object|String} component Wrapper component definition. You can also pass an HTML string as components of the default wrapper component.\n * @property {String} [width=''] Width of the frame. By default, the canvas width will be taken.\n * @property {String} [height=''] Height of the frame. By default, the canvas height will be taken.\n * @property {Number} [x=0] Horizontal position of the frame in the canvas.\n * @property {Number} [y=0] Vertical position of the frame in the canvas.\n *\n */\nexport default class Frame extends Model {\n  defaults() {\n    return {\n      x: 0,\n      y: 0,\n      changesCount: 0,\n      attributes: {},\n      width: null,\n      height: null,\n      head: [],\n      component: '',\n      styles: '',\n      _undo: true,\n      _undoexc: ['changesCount']\n    };\n  }\n\n  initialize(props, opts = {}) {\n    const { config } = opts;\n    const { em } = config;\n    const { styles, component } = this.attributes;\n    const domc = em.get('DomComponents');\n    const conf = domc.getConfig();\n    const allRules = em.get('CssComposer').getAll();\n    const idMap = {};\n    this.em = em;\n    const modOpts = { em, config: conf, frame: this, idMap };\n\n    if (!isComponent(component)) {\n      const wrp = isObject(component) ? component : { components: component };\n      !wrp.type && (wrp.type = 'wrapper');\n      const Wrapper = domc.getType('wrapper').model;\n      this.set('component', new Wrapper(wrp, modOpts));\n    }\n\n    if (!styles) {\n      this.set('styles', allRules);\n    } else if (!isObject(styles)) {\n      // Avoid losing styles on remapped components\n      const idMapKeys = Object.keys(idMap);\n      if (idMapKeys.length && Array.isArray(styles)) {\n        styles.forEach(style => {\n          const sel = style.selectors;\n          if (sel && sel.length == 1) {\n            const sSel = sel[0];\n            const idSel = sSel.name && sSel.type === 2 && sSel;\n            if (idSel && idMap[idSel.name]) {\n              idSel.name = idMap[idSel.name];\n            } else if (isString(sSel) && sSel[0] === '#') {\n              const prevId = sSel.substring(1);\n              if (prevId && idMap[prevId]) {\n                sel[0] = `#${idMap[prevId]}`;\n              }\n            }\n          }\n        });\n      }\n\n      allRules.add(styles);\n      this.set('styles', allRules);\n    }\n\n    !props.width && this.set(keyAutoW, 1);\n    !props.height && this.set(keyAutoH, 1);\n  }\n\n  onRemove() {\n    this.getComponent().remove({ root: 1 });\n  }\n\n  changesUp(opt = {}) {\n    if (opt.temporary || opt.noCount || opt.avoidStore) {\n      return;\n    }\n    this.set('changesCount', this.get('changesCount') + 1);\n  }\n\n  getComponent() {\n    return this.get('component');\n  }\n\n  getStyles() {\n    return this.get('styles');\n  }\n\n  disable() {\n    this.trigger('disable');\n  }\n\n  remove() {\n    this.view = 0;\n    const coll = this.collection;\n    return coll && coll.remove(this);\n  }\n\n  getHead() {\n    const head = this.get('head') || [];\n    return [...head];\n  }\n\n  setHead(value) {\n    return this.set('head', [...value]);\n  }\n\n  addHeadItem(item) {\n    const head = this.getHead();\n    head.push(item);\n    this.setHead(head);\n  }\n\n  getHeadByAttr(attr, value, tag) {\n    const head = this.getHead();\n    return head.filter(\n      item =>\n        item.attributes &&\n        item.attributes[attr] == value &&\n        (!tag || tag === item.tag)\n    )[0];\n  }\n\n  removeHeadByAttr(attr, value, tag) {\n    const head = this.getHead();\n    const item = this.getHeadByAttr(attr, value, tag);\n    const index = head.indexOf(item);\n\n    if (index >= 0) {\n      head.splice(index, 1);\n      this.setHead(head);\n    }\n  }\n\n  addLink(href) {\n    const tag = 'link';\n    !this.getHeadByAttr('href', href, tag) &&\n      this.addHeadItem({\n        tag,\n        attributes: {\n          href,\n          rel: 'stylesheet'\n        }\n      });\n  }\n\n  removeLink(href) {\n    this.removeHeadByAttr('href', href, 'link');\n  }\n\n  addScript(src) {\n    const tag = 'script';\n    !this.getHeadByAttr('src', src, tag) &&\n      this.addHeadItem({\n        tag,\n        attributes: { src }\n      });\n  }\n\n  removeScript(src) {\n    this.removeHeadByAttr('src', src, 'script');\n  }\n\n  getPage() {\n    const coll = this.collection;\n    return coll && coll.page;\n  }\n\n  _emitUpdated(data = {}) {\n    this.em.trigger('frame:updated', { frame: this, ...data });\n  }\n\n  toJSON(opts = {}) {\n    const obj = Model.prototype.toJSON.call(this, opts);\n    const { em } = this;\n    const sm = em && em.get('StorageManager');\n    const smc = sm && sm.getConfig();\n    const defaults = result(this, 'defaults');\n\n    if (smc && !opts.fromUndo) {\n      const opts = { component: this.getComponent() };\n      if (smc.storeHtml) obj.html = em.getHtml(opts);\n      if (smc.storeCss) obj.css = em.getCss(opts);\n    }\n\n    if (opts.fromUndo) delete obj.component;\n    delete obj.styles;\n    delete obj.changesCount;\n    obj[keyAutoW] && delete obj.width;\n    obj[keyAutoH] && delete obj.height;\n\n    // Remove private keys\n    forEach(obj, (value, key) => {\n      key.indexOf('_') === 0 && delete obj[key];\n    });\n\n    forEach(defaults, (value, key) => {\n      if (obj[key] === value) delete obj[key];\n    });\n\n    forEach(['attributes', 'head'], prop => {\n      if (isEmpty(obj[prop])) delete obj[prop];\n    });\n\n    return obj;\n  }\n}\n","import { bindAll } from 'underscore';\nimport { Collection } from 'common';\nimport model from './Frame';\n\nexport default class Frames extends Collection {\n  initialize(models, config = {}) {\n    bindAll(this, 'itemLoaded');\n    this.config = config;\n    this.on('reset', this.onReset);\n    this.on('remove', this.onRemove);\n  }\n\n  onReset(m, opts = {}) {\n    const prev = opts.previousModels || [];\n    prev.map(p => this.onRemove(p));\n  }\n\n  onRemove(removed) {\n    removed && removed.onRemove();\n  }\n\n  itemLoaded() {\n    this.loadedItems++;\n\n    if (this.loadedItems >= this.itemsToLoad) {\n      this.trigger('loaded:all');\n      this.listenToLoadItems(0);\n    }\n  }\n\n  listenToLoad() {\n    this.loadedItems = 0;\n    this.itemsToLoad = this.length;\n    this.listenToLoadItems(1);\n  }\n\n  listenToLoadItems(on) {\n    this.forEach(item => item[on ? 'on' : 'off']('loaded', this.itemLoaded));\n  }\n\n  add(m, o = {}) {\n    const { config } = this;\n    return Collection.prototype.add.call(this, m, { ...o, config });\n  }\n}\n\nFrames.prototype.model = model;\n","export default {\n  // Style prefix\n  stylePrefix: 'cm-',\n\n  inlineCss: false\n};\n","import { Model } from 'backbone';\n\nexport default class HTMLGenerator extends Model {\n  build(model, opts = {}) {\n    const htmlOpts = {};\n    const { em } = opts;\n\n    // Remove unnecessary IDs\n    if (opts.cleanId && em) {\n      const rules = em.get('CssComposer').getAll();\n      const idRules = rules\n        .toJSON()\n        .map(rule => {\n          const sels = rule.selectors;\n          const sel = sels && sels.length === 1 && sels.models[0];\n          return sel && sel.isId() && sel.get('name');\n        })\n        .filter(i => i);\n\n      htmlOpts.attributes = (mod, attrs) => {\n        const { id } = attrs;\n        if (\n          id &&\n          id[0] === 'i' && // all autogenerated IDs start with 'i'\n          !mod.get('script') && // if the component has script, we have to leave the ID\n          !mod.get('attributes').id && // id is not intentionally in attributes\n          idRules.indexOf(id) < 0 // we shouldn't have any rule with this ID\n        ) {\n          delete attrs.id;\n        }\n        return attrs;\n      };\n    }\n\n    return model.toHTML(htmlOpts);\n  }\n}\n","import { each } from 'underscore';\nimport Backbone from 'backbone';\n\nexport default Backbone.Model.extend({\n  /** @inheritdoc */\n  build(model) {\n    var json = model.toJSON();\n    this.beforeEach(json);\n\n    each(\n      json,\n      function(v, attr) {\n        var obj = json[attr];\n        if (obj instanceof Backbone.Model) {\n          json[attr] = this.build(obj);\n        } else if (obj instanceof Backbone.Collection) {\n          var coll = obj;\n          json[attr] = [];\n          if (coll.length) {\n            coll.each(function(el, index) {\n              json[attr][index] = this.build(el);\n            }, this);\n          }\n        }\n      },\n      this\n    );\n\n    return json;\n  },\n\n  /**\n   * Execute on each object\n   * @param {Object} obj\n   */\n  beforeEach(obj) {\n    delete obj.status;\n  }\n});\n","import { extend } from 'underscore';\nimport Backbone from 'backbone';\n\nfunction isFunctionEmpty(fn) {\n  const content = fn.toString().match(/\\{([\\s\\S]*)\\}/m)[1]; // content between first and last { }\n  return content.replace(/^\\s*\\/\\/.*$/gm, '').trim().length === 0; // remove comments\n}\n\nexport default Backbone.Model.extend({\n  mapModel(model) {\n    var code = '';\n    var script = model.get('script-export') || model.get('script');\n    var type = model.get('type');\n    var comps = model.get('components');\n    var id = model.getId();\n\n    if (script) {\n      // If the component has scripts we need to expose his ID\n      var attr = model.get('attributes');\n      attr = extend({}, attr, { id });\n      model.set('attributes', attr, { silent: 1 });\n      var scrStr = model.getScriptString(script);\n      const scrProps = model.get('script-props');\n\n      // If the script was updated, I'll put its code in a separate container\n      if (model.get('scriptUpdated') && !scrProps) {\n        this.mapJs[type + '-' + id] = { ids: [id], code: scrStr };\n      } else {\n        let props;\n        const mapType = this.mapJs[type];\n\n        if (scrProps) {\n          props = model.__getScriptProps();\n        }\n\n        if (mapType) {\n          mapType.ids.push(id);\n          if (props) mapType.props[id] = props;\n        } else {\n          const res = { ids: [id], code: scrStr };\n          if (props) res.props = { [id]: props };\n          this.mapJs[type] = res;\n        }\n      }\n    }\n\n    comps.each(function (model) {\n      code += this.mapModel(model);\n    }, this);\n\n    return code;\n  },\n\n  build(model) {\n    this.mapJs = {};\n    this.mapModel(model);\n    let code = '';\n\n    for (let type in this.mapJs) {\n      const mapType = this.mapJs[type];\n\n      if (!mapType.code) {\n        continue;\n      }\n\n      if (mapType.props) {\n        if (isFunctionEmpty(mapType.code)) {\n          continue;\n        }\n\n        code += `\n          var props = ${JSON.stringify(mapType.props)};\n          var ids = Object.keys(props).map(function(id) { return '#'+id }).join(',');\n          var els = document.querySelectorAll(ids);\n          for (var i = 0, len = els.length; i < len; i++) {\n            var el = els[i];\n            (${mapType.code}.bind(el))(props[el.id]);\n          }`;\n      } else {\n        // Deprecated\n        const ids = '#' + mapType.ids.join(', #');\n        code += `\n          var items = document.querySelectorAll('${ids}');\n          for (var i = 0, len = items.length; i < len; i++) {\n            (function(){\\n${mapType.code}\\n}.bind(items[i]))();\n          }`;\n      }\n    }\n\n    return code;\n  },\n});\n","import { bindAll } from 'underscore';\nimport Backbone from 'backbone';\nimport { hasWin } from 'utils/mixins';\n\nlet CodeMirror;\n\nif (hasWin()) {\n  CodeMirror = require('codemirror/lib/codemirror');\n  require('codemirror/mode/htmlmixed/htmlmixed');\n  require('codemirror/mode/css/css');\n  require('codemirror-formatting');\n}\n\nexport default Backbone.Model.extend({\n  CodeMirror,\n\n  defaults: {\n    input: '',\n    label: '',\n    codeName: '',\n    theme: 'hopscotch',\n    readOnly: true,\n    lineNumbers: true\n  },\n\n  /** @inheritdoc */\n  init(el) {\n    bindAll(this, 'onChange');\n    this.editor = CodeMirror.fromTextArea(el, {\n      dragDrop: false,\n      lineWrapping: true,\n      mode: this.get('codeName'),\n      ...this.attributes\n    });\n    this.element = el;\n    this.editor.on('change', this.onChange);\n\n    return this;\n  },\n\n  onChange() {\n    this.trigger('update', this);\n  },\n\n  getEditor() {\n    return this.editor;\n  },\n\n  /**\n   * The element where the viewer is attached\n   * @return {HTMLElement}\n   */\n  getElement() {\n    return this.element;\n  },\n\n  /**\n   * Set the element which contains the viewer attached.\n   * Generally, it should be just a textarea, but some editor might require\n   * a container for it some in that case this method can be used\n   * @param {HTMLElement} el\n   * @return {self}\n   */\n  setElement(el) {\n    this.element = el;\n    return this;\n  },\n\n  /**\n   * Refresh the viewer\n   * @return {self}\n   */\n  refresh() {\n    this.getEditor().refresh();\n    return this;\n  },\n\n  /**\n   * Focus the viewer\n   * @return {self}\n   */\n  focus() {\n    this.getEditor().focus();\n    return this;\n  },\n\n  getContent() {\n    const ed = this.getEditor();\n    return ed && ed.getValue();\n  },\n\n  /** @inheritdoc */\n  setContent(v, opts = {}) {\n    const { editor } = this;\n    if (!editor) return;\n    editor.setValue(v);\n\n    if (editor.autoFormatRange) {\n      CodeMirror.commands.selectAll(editor);\n      editor.autoFormatRange(editor.getCursor(true), editor.getCursor(false));\n      CodeMirror.commands.goDocStart(editor);\n    }\n\n    !opts.noRefresh && setTimeout(() => this.refresh());\n  }\n});\n","import html from 'utils/html';\nimport { View } from 'backbone';\n\nexport default class EditorView extends View {\n  template({ pfx, codeName, label }) {\n    return html`\n      <div class=\"${pfx}editor\" id=\"${pfx}${codeName}\">\n        <div id=\"${pfx}title\">${label}</div>\n        <div id=\"${pfx}code\"></div>\n      </div>\n    `;\n  }\n\n  initialize(o) {\n    this.config = o.config || {};\n    this.pfx = this.config.stylePrefix;\n  }\n\n  render() {\n    const { model, pfx, $el } = this;\n    const obj = model.toJSON();\n    obj.pfx = pfx;\n    $el.html(this.template(obj));\n    $el.attr('class', `${pfx}editor-c`);\n    $el.find(`#${pfx}code`).append(model.get('input'));\n    return this;\n  }\n}\n","/**\n * - [addGenerator](#addgenerator)\n * - [getGenerator](#getgenerator)\n * - [getGenerators](#getgenerators)\n * - [addViewer](#addviewer)\n * - [getViewer](#getviewer)\n * - [getViewers](#getviewers)\n * - [updateViewer](#updateviewer)\n * - [getCode](#getcode)\n *\n *\n * Before using methods you should get first the module from the editor instance, in this way:\n *\n * ```js\n * var codeManager = editor.CodeManager;\n * ```\n *\n * @module CodeManager\n */\nimport { isUndefined } from 'underscore';\nimport defaults from './config/config';\nimport gHtml from './model/HtmlGenerator';\nimport gCss from './model/CssGenerator';\nimport gJson from './model/JsonGenerator';\nimport gJs from './model/JsGenerator';\nimport eCM from './model/CodeMirrorEditor';\nimport editorView from './view/EditorView';\n\nexport default () => {\n  var c = {};\n  var generators = {},\n    defGenerators = {},\n    viewers = {},\n    defViewers = {};\n\n  const defaultViewer = 'CodeMirror';\n\n  return {\n    getConfig() {\n      return c;\n    },\n\n    config: c,\n\n    EditorView: editorView,\n\n    /**\n     * Name of the module\n     * @type {String}\n     * @private\n     */\n    name: 'CodeManager',\n\n    /**\n     * Initialize module. Automatically called with a new instance of the editor\n     * @param {Object} config Configurations\n     */\n    init(config) {\n      c = config || {};\n      for (var name in defaults) {\n        if (!(name in c)) c[name] = defaults[name];\n      }\n\n      var ppfx = c.pStylePrefix;\n      if (ppfx) c.stylePrefix = ppfx + c.stylePrefix;\n\n      defGenerators.html = new gHtml();\n      defGenerators.css = new gCss();\n      defGenerators.json = new gJson();\n      defGenerators.js = new gJs();\n      defViewers.CodeMirror = new eCM();\n      this.loadDefaultGenerators().loadDefaultViewers();\n\n      return this;\n    },\n\n    /**\n     * Add new code generator to the collection\n     * @param  {string} id Code generator ID\n     * @param  {Object} generator Code generator wrapper\n     * @param {Function} generator.build Function that builds the code\n     * @return {this}\n     * @example\n     * codeManager.addGenerator('html7',{\n     *   build: function(model){\n     *    return 'myCode';\n     *   }\n     * });\n     * */\n    addGenerator(id, generator) {\n      generators[id] = generator;\n      return this;\n    },\n\n    /**\n     * Get code generator by id\n     * @param  {string} id Code generator ID\n     * @return {Object|null}\n     * @example\n     * var generator = codeManager.getGenerator('html7');\n     * generator.build = function(model){\n     *   //extend\n     * };\n     * */\n    getGenerator(id) {\n      return generators[id] || null;\n    },\n\n    /**\n     * Returns all code generators\n     * @return {Array<Object>}\n     * */\n    getGenerators() {\n      return generators;\n    },\n\n    /**\n     * Add new code viewer\n     * @param  {string} id Code viewer ID\n     * @param  {Object} viewer Code viewer wrapper\n     * @param {Function} viewer.init Set element on which viewer will be displayed\n     * @param {Function} viewer.setContent Set content to the viewer\n     * @return {this}\n     * @example\n     * codeManager.addViewer('ace',{\n     *   init: function(el){\n     *     var ace = require('ace-editor');\n     *     this.editor  = ace.edit(el.id);\n     *   },\n     *   setContent: function(code){\n     *    this.editor.setValue(code);\n     *   }\n     * });\n     * */\n    addViewer(id, viewer) {\n      viewers[id] = viewer;\n      return this;\n    },\n\n    /**\n     * Get code viewer by id\n     * @param  {string} id Code viewer ID\n     * @return {Object|null}\n     * @example\n     * var viewer = codeManager.getViewer('ace');\n     * */\n    getViewer(id) {\n      return viewers[id] || null;\n    },\n\n    /**\n     * Returns all code viewers\n     * @return {Array<Object>}\n     * */\n    getViewers() {\n      return viewers;\n    },\n\n    createViewer(opts = {}) {\n      const type = !isUndefined(opts.type) ? opts.type : defaultViewer;\n      const viewer = this.getViewer(type) && this.getViewer(type).clone();\n      const cont = document.createElement('div');\n      const txtarea = document.createElement('textarea');\n      cont.appendChild(txtarea);\n      viewer.set(opts);\n      viewer.init(txtarea);\n      viewer.setElement(cont);\n\n      return viewer;\n    },\n\n    /**\n     * Update code viewer content\n     * @param  {Object} viewer Viewer instance\n     * @param  {string} code  Code string\n     * @example\n     * var AceViewer = codeManager.getViewer('ace');\n     * // ...\n     * var viewer = AceViewer.init(el);\n     * // ...\n     * codeManager.updateViewer(AceViewer, 'code');\n     * */\n    updateViewer(viewer, code) {\n      viewer.setContent(code);\n    },\n\n    /**\n     * Get code from model\n     * @param  {Object} model Any kind of model that will be passed to the build method of generator\n     * @param  {string} genId Code generator id\n     * @param  {Object} [opt] Options\n     * @return {string}\n     * @example\n     * var codeStr = codeManager.getCode(model, 'html');\n     * */\n    getCode(model, genId, opt = {}) {\n      opt.em = c.em;\n      var generator = this.getGenerator(genId);\n      return generator ? generator.build(model, opt) : '';\n    },\n\n    /**\n     * Load default code generators\n     * @return {this}\n     * @private\n     * */\n    loadDefaultGenerators() {\n      for (var id in defGenerators) this.addGenerator(id, defGenerators[id]);\n\n      return this;\n    },\n\n    /**\n     * Load default code viewers\n     * @return {this}\n     * @private\n     * */\n    loadDefaultViewers() {\n      for (var id in defViewers) this.addViewer(id, defViewers[id]);\n\n      return this;\n    },\n\n    destroy() {\n      [c, generators, defGenerators, viewers, defViewers].forEach(\n        i => (i = {})\n      );\n    }\n  };\n};\n","import Backbone from 'backbone';\nimport { bindAll, isUndefined, each } from 'underscore';\nimport { hasWin } from 'utils/mixins';\n\nconst maxValue = Number.MAX_VALUE;\n\nexport const getMediaLength = mediaQuery => {\n  const length = /(-?\\d*\\.?\\d+)\\w{0,}/.exec(mediaQuery);\n  return !length ? '' : length[0];\n};\n\nexport default Backbone.Model.extend({\n  initialize() {\n    bindAll(this, 'sortRules');\n    this.compCls = [];\n    this.ids = [];\n  },\n\n  /**\n   * Get CSS from a component\n   * @param {Model} model\n   * @return {String}\n   */\n  buildFromModel(model, opts = {}) {\n    let code = '';\n    const em = this.em;\n    const avoidInline = em && em.getConfig('avoidInlineStyle');\n    const style = model.styleToString();\n    const classes = model.get('classes');\n    this.ids.push(`#${model.getId()}`);\n\n    // Let's know what classes I've found\n    classes.each(model => this.compCls.push(model.getFullName()));\n\n    if (!avoidInline && style) {\n      code = `#${model.getId()}{${style}}`;\n    }\n\n    const components = model.components();\n    components.each(model => (code += this.buildFromModel(model, opts)));\n    return code;\n  },\n\n  build(model, opts = {}) {\n    const { json } = opts;\n    const em = opts.em || '';\n    const cssc = opts.cssc || (em && em.get('CssComposer'));\n    this.em = em;\n    this.compCls = [];\n    this.ids = [];\n    this.model = model;\n    const codeJson = [];\n    let code = model ? this.buildFromModel(model, opts) : '';\n    const clearStyles = isUndefined(opts.clearStyles) && em ? em.getConfig('clearStyles') : opts.clearStyles;\n\n    if (cssc) {\n      let rules = opts.rules || cssc.getAll();\n      const atRules = {};\n      const dump = [];\n\n      if (opts.onlyMatched && model && hasWin()) {\n        rules = this.matchedRules(model, rules);\n      }\n\n      rules.forEach(rule => {\n        const atRule = rule.getAtRule();\n\n        if (atRule) {\n          const mRules = atRules[atRule];\n          if (mRules) {\n            mRules.push(rule);\n          } else {\n            atRules[atRule] = [rule];\n          }\n          return;\n        }\n\n        const res = this.buildFromRule(rule, dump, opts);\n\n        if (json) {\n          codeJson.push(res);\n        } else {\n          code += res;\n        }\n      });\n\n      this.sortMediaObject(atRules).forEach(item => {\n        let rulesStr = '';\n        const atRule = item.key;\n        const mRules = item.value;\n\n        mRules.forEach(rule => {\n          const ruleStr = this.buildFromRule(rule, dump, opts);\n\n          if (rule.get('singleAtRule')) {\n            code += `${atRule}{${ruleStr}}`;\n          } else {\n            rulesStr += ruleStr;\n          }\n\n          json && codeJson.push(ruleStr);\n        });\n\n        if (rulesStr) {\n          code += `${atRule}{${rulesStr}}`;\n        }\n      });\n\n      em && clearStyles && rules.remove && rules.remove(dump);\n    }\n\n    return json ? codeJson.filter(r => r) : code;\n  },\n\n  /**\n   * Get CSS from the rule model\n   * @param {Model} rule\n   * @return {string} CSS string\n   */\n  buildFromRule(rule, dump, opts = {}) {\n    let result = '';\n    const { model } = this;\n    const selectorStrNoAdd = rule.selectorsToString({ skipAdd: 1 });\n    const selectorsAdd = rule.get('selectorsAdd');\n    const singleAtRule = rule.get('singleAtRule');\n    let found;\n\n    // This will not render a rule if there is no its component\n    rule.get('selectors').each(selector => {\n      const name = selector.getFullName();\n      if (this.compCls.indexOf(name) >= 0 || this.ids.indexOf(name) >= 0 || opts.keepUnusedStyles) {\n        found = 1;\n      }\n    });\n\n    if ((selectorStrNoAdd && found) || selectorsAdd || singleAtRule || !model) {\n      const block = rule.getDeclaration({ body: 1 });\n      block && (opts.json ? (result = rule) : (result += block));\n    } else {\n      dump.push(rule);\n    }\n\n    return result;\n  },\n\n  /**\n   * Get matched rules of a component\n   * @param {Component} component\n   * @param {Array<CSSRule>} rules\n   * @returns {Array<CSSRule>}\n   */\n  matchedRules(component, rules) {\n    const el = component.getEl();\n    let result = [];\n\n    rules.forEach(rule => {\n      try {\n        if (\n          rule\n            .selectorsToString()\n            .split(',')\n            .some(selector => el.matches(this.__cleanSelector(selector)))\n        ) {\n          result.push(rule);\n        }\n      } catch (err) {}\n    });\n\n    component.components().forEach(component => {\n      result = result.concat(this.matchedRules(component, rules));\n    });\n\n    // Remove duplicates\n    result = result.filter((rule, i) => result.indexOf(rule) === i);\n\n    return result;\n  },\n\n  /**\n   * Get the numeric length of the media query string\n   * @param  {String} mediaQuery Media query string\n   * @return {Number}\n   */\n  getQueryLength(mediaQuery) {\n    const length = /(-?\\d*\\.?\\d+)\\w{0,}/.exec(mediaQuery);\n    if (!length) return maxValue;\n\n    return parseFloat(length[1]);\n  },\n\n  /**\n   * Return a sorted array from media query object\n   * @param  {Object} items\n   * @return {Array}\n   */\n  sortMediaObject(items = {}) {\n    const itemsArr = [];\n    each(items, (value, key) => itemsArr.push({ key, value }));\n    return itemsArr.sort((a, b) => {\n      const isMobFirst = [a.key, b.key].every(mquery => mquery.indexOf('min-width') !== -1);\n      const left = isMobFirst ? a.key : b.key;\n      const right = isMobFirst ? b.key : a.key;\n      return this.getQueryLength(left) - this.getQueryLength(right);\n    });\n  },\n\n  sortRules(a, b) {\n    const getKey = rule => rule.get('mediaText');\n    const isMobFirst = [getKey(a), getKey(b)].every(q => q.indexOf('min-width') !== -1);\n    const left = isMobFirst ? getKey(a) : getKey(b);\n    const right = isMobFirst ? getKey(b) : getKey(a);\n    return this.getQueryLength(left) - this.getQueryLength(right);\n  },\n\n  /**\n   * Return passed selector without states\n   * @param {String} selector\n   * @returns {String}\n   * @private\n   */\n  __cleanSelector(selector) {\n    return selector\n      .split(' ')\n      .map(item => item.split(':')[0])\n      .join(' ');\n  },\n});\n","export default {\n  stylePrefix: 'com-',\n\n  // Default array of commands\n  defaults: [],\n\n  // If true, stateful commands (with `run` and `stop` methods) can't be runned multiple times.\n  // So, if the command is already active, running it again will not execute the `run` method\n  strict: 1\n};\n","/**\n * You can customize the initial state of the module from the editor initialization, by passing the following [Configuration Object](https://github.com/artf/grapesjs/blob/master/src/commands/config/config.js)\n * ```js\n * const editor = grapesjs.init({\n *  commands: {\n *    // options\n *  }\n * })\n * ```\n *\n * Once the editor is instantiated you can use its API and listen to its events. Before using these methods, you should get the module from the instance.\n *\n * ```js\n * // Listen to events\n * editor.on('run', () => { ... });\n *\n * // Use the API\n * const commands = editor.Commands;\n * commands.add(...);\n * ```\n *\n ** ## Available Events\n * * `run:{commandName}` - Triggered when some command is called to run (eg. editor.runCommand('preview'))\n * * `stop:{commandName}` - Triggered when some command is called to stop (eg. editor.stopCommand('preview'))\n * * `run:{commandName}:before` - Triggered before the command is called\n * * `stop:{commandName}:before` - Triggered before the command is called to stop\n * * `abort:{commandName}` - Triggered when the command execution is aborted (`editor.on(`run:preview:before`, opts => opts.abort = 1);`)\n * * `run` - Triggered on run of any command. The id and the result are passed as arguments to the callback\n * * `stop` - Triggered on stop of any command. The id and the result are passed as arguments to the callback\n *\n * ## Methods\n * * [add](#add)\n * * [get](#get)\n * * [getAll](#getall)\n * * [extend](#extend)\n * * [has](#has)\n * * [run](#run)\n * * [stop](#stop)\n * * [isActive](#isactive)\n * * [getActive](#getactive)\n *\n * @module Commands\n */\n\nimport { isFunction, includes } from 'underscore';\nimport CommandAbstract from './view/CommandAbstract';\nimport defaults from './config/config';\nimport { eventDrag } from 'dom_components/model/Component';\n\nconst commandsDef = [\n  ['preview', 'Preview', 'preview'],\n  ['resize', 'Resize', 'resize'],\n  ['fullscreen', 'Fullscreen', 'fullscreen'],\n  ['copy', 'CopyComponent'],\n  ['paste', 'PasteComponent'],\n  ['canvas-move', 'CanvasMove'],\n  ['canvas-clear', 'CanvasClear'],\n  ['open-code', 'ExportTemplate', 'export-template'],\n  ['open-layers', 'OpenLayers', 'open-layers'],\n  ['open-styles', 'OpenStyleManager', 'open-sm'],\n  ['open-traits', 'OpenTraitManager', 'open-tm'],\n  ['open-blocks', 'OpenBlocks', 'open-blocks'],\n  ['open-assets', 'OpenAssets', 'open-assets'],\n  ['component-select', 'SelectComponent', 'select-comp'],\n  ['component-outline', 'SwitchVisibility', 'sw-visibility'],\n  ['component-offset', 'ShowOffset', 'show-offset'],\n  ['component-move', 'MoveComponent', 'move-comp'],\n  ['component-next', 'ComponentNext'],\n  ['component-prev', 'ComponentPrev'],\n  ['component-enter', 'ComponentEnter'],\n  ['component-exit', 'ComponentExit', 'select-parent'],\n  ['component-delete', 'ComponentDelete'],\n  ['component-style-clear', 'ComponentStyleClear'],\n  ['component-drag', 'ComponentDrag'],\n];\n\nexport default () => {\n  let em;\n  let c = {};\n  const commands = {};\n  const defaultCommands = {};\n  const active = {};\n\n  // Need it here as it would be used below\n  const add = function (id, obj) {\n    if (isFunction(obj)) obj = { run: obj };\n    if (!obj.stop) obj.noStop = 1;\n    delete obj.initialize;\n    obj.id = id;\n    commands[id] = CommandAbstract.extend(obj);\n    return this;\n  };\n\n  return {\n    CommandAbstract,\n\n    /**\n     * Name of the module\n     * @type {String}\n     * @private\n     */\n    name: 'Commands',\n\n    /**\n     * Initialize module. Automatically called with a new instance of the editor\n     * @param {Object} config Configurations\n     * @private\n     */\n    init(config = {}) {\n      c = {\n        ...defaults,\n        ...config,\n      };\n      em = c.em;\n      const ppfx = c.pStylePrefix;\n      if (ppfx) c.stylePrefix = ppfx + c.stylePrefix;\n\n      // Load commands passed via configuration\n      Object.keys(c.defaults).forEach(k => {\n        const obj = c.defaults[k];\n        if (obj.id) this.add(obj.id, obj);\n      });\n\n      defaultCommands['tlb-delete'] = {\n        run(ed) {\n          return ed.runCommand('core:component-delete');\n        },\n      };\n\n      defaultCommands['tlb-clone'] = {\n        run(ed) {\n          ed.runCommand('core:copy');\n          ed.runCommand('core:paste', { action: 'clone-component' });\n        },\n      };\n\n      defaultCommands['tlb-move'] = {\n        run(ed, sender, opts = {}) {\n          let dragger;\n          const em = ed.getModel();\n          const event = opts && opts.event;\n          const { target } = opts;\n          const sel = target || ed.getSelected();\n          const selAll = target ? [target] : [...ed.getSelectedAll()];\n          const nativeDrag = event && event.type == 'dragstart';\n          const defComOptions = { preserveSelected: 1 };\n          const modes = ['absolute', 'translate'];\n\n          if (!sel || !sel.get('draggable')) {\n            return em.logWarning('The element is not draggable');\n          }\n\n          const mode = sel.get('dmode') || em.get('dmode');\n          const hideTlb = () => em.stopDefault(defComOptions);\n          const altMode = includes(modes, mode);\n          selAll.forEach(sel => sel.trigger('disable'));\n\n          // Without setTimeout the ghost image disappears\n          nativeDrag ? setTimeout(hideTlb, 0) : hideTlb();\n\n          const onStart = data => {\n            em.trigger(`${eventDrag}:start`, data);\n          };\n          const onDrag = data => {\n            em.trigger(eventDrag, data);\n          };\n          const onEnd = (e, opts, data) => {\n            selAll.forEach(sel => sel.set('status', 'selected'));\n            ed.select(selAll);\n            sel.emitUpdate();\n            em.trigger(`${eventDrag}:end`, data);\n\n            // Defer selectComponent in order to prevent canvas \"freeze\" #2692\n            setTimeout(() => em.runDefault(defComOptions));\n\n            // Dirty patch to prevent parent selection on drop\n            (altMode || data.cancelled) && em.set('_cmpDrag', 1);\n          };\n\n          if (altMode) {\n            // TODO move grabbing func in editor/canvas from the Sorter\n            dragger = ed.runCommand('core:component-drag', {\n              guidesInfo: 1,\n              mode,\n              target: sel,\n              onStart,\n              onDrag,\n              onEnd,\n              event,\n            });\n          } else {\n            if (nativeDrag) {\n              event.dataTransfer.setDragImage(sel.view.el, 0, 0);\n              //sel.set('status', 'freezed');\n            }\n\n            const cmdMove = ed.Commands.get('move-comp');\n            cmdMove.onStart = onStart;\n            cmdMove.onDrag = onDrag;\n            cmdMove.onEndMoveFromModel = onEnd;\n            cmdMove.initSorterFromModels(selAll);\n          }\n\n          selAll.forEach(sel => sel.set('status', 'freezed-selected'));\n        },\n      };\n\n      // Core commands\n      defaultCommands['core:undo'] = e => e.UndoManager.undo();\n      defaultCommands['core:redo'] = e => e.UndoManager.redo();\n      commandsDef.forEach(item => {\n        const oldCmd = item[2];\n        const cmd = require(`./view/${item[1]}`).default;\n        const cmdName = `core:${item[0]}`;\n        defaultCommands[cmdName] = cmd;\n        if (oldCmd) {\n          defaultCommands[oldCmd] = cmd;\n          // Propogate old commands (can be removed once we stop to call old commands)\n          ['run', 'stop'].forEach(name => {\n            em.on(`${name}:${oldCmd}`, (...args) => em.trigger(`${name}:${cmdName}`, ...args));\n          });\n        }\n      });\n\n      if (c.em) c.model = c.em.get('Canvas');\n\n      this.loadDefaultCommands();\n\n      return this;\n    },\n\n    /**\n     * Add new command to the collection\n     * @param\t{string} id Command's ID\n     * @param\t{Object|Function} command Object representing your command,\n     *  By passing just a function it's intended as a stateless command\n     *  (just like passing an object with only `run` method).\n     * @return {this}\n     * @example\n     * commands.add('myCommand', {\n     * \trun(editor, sender) {\n     * \t\talert('Hello world!');\n     * \t},\n     * \tstop(editor, sender) {\n     * \t},\n     * });\n     * // As a function\n     * commands.add('myCommand2', editor => { ... });\n     * */\n    add,\n\n    /**\n     * Get command by ID\n     * @param\t{string}\tid Command's ID\n     * @return {Object} Object representing the command\n     * @example\n     * var myCommand = commands.get('myCommand');\n     * myCommand.run();\n     * */\n    get(id) {\n      let el = commands[id];\n\n      if (isFunction(el)) {\n        el = new el(c);\n        commands[id] = el;\n      } else if (!el) {\n        em.logWarning(`'${id}' command not found`);\n      }\n\n      return el;\n    },\n\n    /**\n     * Extend the command. The command to extend should be defined as an object\n     * @param\t{string}\tid Command's ID\n     * @param {Object} Object with the new command functions\n     * @returns {this}\n     * @example\n     * commands.extend('old-command', {\n     *  someInnerFunction() {\n     *  // ...\n     *  }\n     * });\n     * */\n    extend(id, cmd = {}) {\n      const command = this.get(id);\n      if (command) {\n        const cmdObj = {\n          ...command.constructor.prototype,\n          ...cmd,\n        };\n        this.add(id, cmdObj);\n        // Extend also old name commands if exist\n        const oldCmd = commandsDef.filter(cmd => `core:${cmd[0]}` === id && cmd[2])[0];\n        oldCmd && this.add(oldCmd[2], cmdObj);\n      }\n      return this;\n    },\n\n    /**\n     * Check if command exists\n     * @param\t{string}\tid Command's ID\n     * @return {Boolean}\n     * */\n    has(id) {\n      return !!commands[id];\n    },\n\n    /**\n     * Get an object containing all the commands\n     * @return {Object}\n     */\n    getAll() {\n      return commands;\n    },\n\n    /**\n     * Execute the command\n     * @param {String} id Command ID\n     * @param {Object} [options={}] Options\n     * @return {*} The return is defined by the command\n     * @example\n     * commands.run('myCommand', { someOption: 1 });\n     */\n    run(id, options = {}) {\n      return this.runCommand(this.get(id), options);\n    },\n\n    /**\n     * Stop the command\n     * @param {String} id Command ID\n     * @param {Object} [options={}] Options\n     * @return {*} The return is defined by the command\n     * @example\n     * commands.stop('myCommand', { someOption: 1 });\n     */\n    stop(id, options = {}) {\n      return this.stopCommand(this.get(id), options);\n    },\n\n    /**\n     * Check if the command is active. You activate commands with `run`\n     * and disable them with `stop`. If the command was created without `stop`\n     * method it can't be registered as active\n     * @param  {String}  id Command id\n     * @return {Boolean}\n     * @example\n     * const cId = 'some-command';\n     * commands.run(cId);\n     * commands.isActive(cId);\n     * // -> true\n     * commands.stop(cId);\n     * commands.isActive(cId);\n     * // -> false\n     */\n    isActive(id) {\n      return this.getActive().hasOwnProperty(id);\n    },\n\n    /**\n     * Get all active commands\n     * @return {Object}\n     * @example\n     * console.log(commands.getActive());\n     * // -> { someCommand: itsLastReturn, anotherOne: ... };\n     */\n    getActive() {\n      return active;\n    },\n\n    /**\n     * Load default commands\n     * @return {this}\n     * @private\n     * */\n    loadDefaultCommands() {\n      for (var id in defaultCommands) {\n        this.add(id, defaultCommands[id]);\n      }\n\n      return this;\n    },\n\n    /**\n     * Run command via its object\n     * @param  {Object} command\n     * @param {Object} options\n     * @return {*} Result of the command\n     * @private\n     */\n    runCommand(command, options = {}) {\n      let result;\n\n      if (command && command.run) {\n        const id = command.id;\n        const editor = em.get('Editor');\n\n        if (!this.isActive(id) || options.force || !c.strict) {\n          result = editor && command.callRun(editor, options);\n          if (id && command.stop && !command.noStop && !options.abort) {\n            active[id] = result;\n          }\n        }\n      }\n\n      return result;\n    },\n\n    /**\n     * Stop the command\n     * @param  {Object} command\n     * @param {Object} options\n     * @return {*} Result of the command\n     * @private\n     */\n    stopCommand(command, options = {}) {\n      let result;\n\n      if (command && command.run) {\n        const id = command.id;\n        const editor = em.get('Editor');\n\n        if (this.isActive(id) || options.force || !c.strict) {\n          if (id) delete active[id];\n          result = command.callStop(editor, options);\n        }\n      }\n\n      return result;\n    },\n\n    /**\n     * Create anonymous Command instance\n     * @param {Object} command Command object\n     * @return {Command}\n     * @private\n     * */\n    create(command) {\n      if (!command.stop) command.noStop = 1;\n      const cmd = CommandAbstract.extend(command);\n      return new cmd(c);\n    },\n\n    destroy() {\n      [em, c, commands, defaultCommands, active].forEach(i => (i = {}));\n    },\n  };\n};\n","export default {\n  run(ed) {\n    ed.DomComponents.clear();\n    ed.CssComposer.clear();\n  }\n};\n","import { bindAll } from 'underscore';\nimport { on, off, getKeyChar } from 'utils/mixins';\nimport Dragger from 'utils/Dragger';\n\nexport default {\n  run(ed) {\n    bindAll(this, 'onKeyUp', 'enableDragger', 'disableDragger');\n    this.editor = ed;\n    this.canvasModel = this.canvas.getCanvasView().model;\n    this.toggleMove(1);\n  },\n  stop(ed) {\n    this.toggleMove();\n    this.disableDragger();\n  },\n\n  onKeyUp(ev) {\n    if (getKeyChar(ev) === ' ') {\n      this.editor.stopCommand(this.id);\n    }\n  },\n\n  enableDragger(ev) {\n    this.toggleDragger(1, ev);\n  },\n\n  disableDragger(ev) {\n    this.toggleDragger(0, ev);\n  },\n\n  toggleDragger(enable, ev) {\n    const { canvasModel, em } = this;\n    let { dragger } = this;\n    const methodCls = enable ? 'add' : 'remove';\n    this.getCanvas().classList[methodCls](`${this.ppfx}is__grabbing`);\n\n    if (!dragger) {\n      dragger = new Dragger({\n        getPosition() {\n          return {\n            x: canvasModel.get('x'),\n            y: canvasModel.get('y')\n          };\n        },\n        setPosition({ x, y }) {\n          canvasModel.set({ x, y });\n        },\n        onStart(ev, dragger) {\n          em.trigger('canvas:move:start', dragger);\n        },\n        onDrag(ev, dragger) {\n          em.trigger('canvas:move', dragger);\n        },\n        onEnd(ev, dragger) {\n          em.trigger('canvas:move:end', dragger);\n        }\n      });\n      this.dragger = dragger;\n    }\n\n    enable ? dragger.start(ev) : dragger.stop();\n  },\n\n  toggleMove(enable) {\n    const { ppfx } = this;\n    const methodCls = enable ? 'add' : 'remove';\n    const methodEv = enable ? 'on' : 'off';\n    const methodsEv = { on, off };\n    const canvas = this.getCanvas();\n    const classes = [`${ppfx}is__grab`];\n    !enable && classes.push(`${ppfx}is__grabbing`);\n    classes.forEach(cls => canvas.classList[methodCls](cls));\n    methodsEv[methodEv](document, 'keyup', this.onKeyUp);\n    methodsEv[methodEv](canvas, 'mousedown', this.enableDragger);\n    methodsEv[methodEv](document, 'mouseup', this.disableDragger);\n  }\n};\n","import { Model } from 'backbone';\n\nexport default Model.extend({\n  /**\n   * Initialize method that can't be removed\n   * @param  {Object}  o Options\n   * @private\n   * */\n  initialize(o) {\n    this.config = o || {};\n    this.editorModel = this.em = this.config.em || {};\n    this.pfx = this.config.stylePrefix;\n    this.ppfx = this.config.pStylePrefix;\n    this.hoverClass = this.pfx + 'hover';\n    this.badgeClass = this.pfx + 'badge';\n    this.plhClass = this.pfx + 'placeholder';\n    this.freezClass = this.ppfx + 'freezed';\n\n    this.canvas = this.em.get && this.em.get('Canvas');\n    this.init(this.config);\n  },\n\n  /**\n   * On frame scroll callback\n   * @param  {[type]} e [description]\n   * @return {[type]}   [description]\n   */\n  onFrameScroll(e) {},\n\n  /**\n   * Returns canval element\n   * @return {HTMLElement}\n   */\n  getCanvas() {\n    return this.canvas.getElement();\n  },\n\n  /**\n   * Get canvas body element\n   * @return {HTMLElement}\n   */\n  getCanvasBody() {\n    return this.canvas.getBody();\n  },\n\n  /**\n   * Get canvas wrapper element\n   * @return {HTMLElement}\n   */\n  getCanvasTools() {\n    return this.canvas.getToolsEl();\n  },\n\n  /**\n   * Get the offset of the element\n   * @param  {HTMLElement} el\n   * @return {Object}\n   */\n  offset(el) {\n    var rect = el.getBoundingClientRect();\n    return {\n      top: rect.top + el.ownerDocument.body.scrollTop,\n      left: rect.left + el.ownerDocument.body.scrollLeft\n    };\n  },\n\n  /**\n   * Callback triggered after initialize\n   * @param  {Object}  o   Options\n   * @private\n   * */\n  init(o) {},\n\n  /**\n   * Method that run command\n   * @param  {Object}  editor Editor instance\n   * @param  {Object}  [options={}] Options\n   * @private\n   * */\n  callRun(editor, options = {}) {\n    const id = this.id;\n    editor.trigger(`run:${id}:before`, options);\n\n    if (options && options.abort) {\n      editor.trigger(`abort:${id}`, options);\n      return;\n    }\n\n    const sender = options.sender || editor;\n    const result = this.run(editor, sender, options);\n    editor.trigger(`run:${id}`, result, options);\n    editor.trigger('run', id, result, options);\n    return result;\n  },\n\n  /**\n   * Method that run command\n   * @param  {Object}  editor Editor instance\n   * @param  {Object}  [options={}] Options\n   * @private\n   * */\n  callStop(editor, options = {}) {\n    const id = this.id;\n    const sender = options.sender || editor;\n    editor.trigger(`stop:${id}:before`, options);\n    const result = this.stop(editor, sender, options);\n    editor.trigger(`stop:${id}`, result, options);\n    editor.trigger('stop', id, result, options);\n    return result;\n  },\n\n  /**\n   * Stop current command\n   */\n  stopCommand() {\n    this.em.get('Commands').stop(this.id);\n  },\n\n  /**\n   * Method that run command\n   * @param  {Object}  em     Editor model\n   * @param  {Object}  sender  Button sender\n   * @private\n   * */\n  run(em, sender) {},\n\n  /**\n   * Method that stop command\n   * @param  {Object}  em Editor model\n   * @param  {Object}  sender  Button sender\n   * @private\n   * */\n  stop(em, sender) {}\n});\n","import { isArray } from 'underscore';\n\nexport default {\n  run(ed, s, opts = {}) {\n    const toSelect = [];\n    let components = opts.component || ed.getSelectedAll();\n    components = isArray(components) ? [...components] : [components];\n\n    components.filter(Boolean).forEach(component => {\n      if (!component.get('removable')) {\n        toSelect.push(component);\n        return this.em.logWarning('The element is not removable', {\n          component,\n        });\n      }\n      component.remove();\n    });\n\n    ed.select(toSelect);\n\n    return components;\n  },\n};\n","import { keys, bindAll, each, isUndefined, debounce } from 'underscore';\nimport Dragger from 'utils/Dragger';\n\nconst evName = 'dmode';\n\nexport default {\n  run(editor, sender, opts = {}) {\n    bindAll(\n      this,\n      'setPosition',\n      'onStart',\n      'onDrag',\n      'onEnd',\n      'getPosition',\n      'getGuidesStatic',\n      'renderGuide',\n      'getGuidesTarget'\n    );\n    const { target, event, mode, dragger = {} } = opts;\n    const el = target.getEl();\n    const config = {\n      doc: el.ownerDocument,\n      onStart: this.onStart,\n      onEnd: this.onEnd,\n      onDrag: this.onDrag,\n      getPosition: this.getPosition,\n      setPosition: this.setPosition,\n      guidesStatic: () => this.guidesStatic,\n      guidesTarget: () => this.guidesTarget,\n      ...dragger\n    };\n    this.setupGuides();\n    this.opts = opts;\n    this.editor = editor;\n    this.em = editor.getModel();\n    this.target = target;\n    this.isTran = mode == 'translate';\n    this.guidesContainer = this.getGuidesContainer();\n    this.guidesTarget = this.getGuidesTarget();\n    this.guidesStatic = this.getGuidesStatic();\n    let drg = this.dragger;\n\n    if (!drg) {\n      drg = new Dragger(config);\n      this.dragger = drg;\n    } else {\n      drg.setOptions(config);\n    }\n\n    event && drg.start(event);\n    this.toggleDrag(1);\n    this.em.trigger(`${evName}:start`, this.getEventOpts());\n\n    return drg;\n  },\n\n  getEventOpts() {\n    return {\n      mode: this.opts.mode,\n      target: this.target,\n      guidesTarget: this.guidesTarget,\n      guidesStatic: this.guidesStatic\n    };\n  },\n\n  stop() {\n    this.toggleDrag();\n  },\n\n  setupGuides() {\n    (this.guides || []).forEach(item => {\n      const { guide } = item;\n      guide && guide.parentNode.removeChild(guide);\n    });\n    this.guides = [];\n  },\n\n  getGuidesContainer() {\n    let { guidesEl } = this;\n\n    if (!guidesEl) {\n      const { editor, em, opts } = this;\n      const pfx = editor.getConfig('stylePrefix');\n      const elInfoX = document.createElement('div');\n      const elInfoY = document.createElement('div');\n      const guideContent = `<div class=\"${pfx}guide-info__line ${pfx}danger-bg\">\n        <div class=\"${pfx}guide-info__content ${pfx}danger-color\"></div>\n      </div>`;\n      guidesEl = document.createElement('div');\n      guidesEl.className = `${pfx}guides`;\n      elInfoX.className = `${pfx}guide-info ${pfx}guide-info__x`;\n      elInfoY.className = `${pfx}guide-info ${pfx}guide-info__y`;\n      elInfoX.innerHTML = guideContent;\n      elInfoY.innerHTML = guideContent;\n      guidesEl.appendChild(elInfoX);\n      guidesEl.appendChild(elInfoY);\n      editor.Canvas.getGlobalToolsEl().appendChild(guidesEl);\n      this.guidesEl = guidesEl;\n      this.elGuideInfoX = elInfoX;\n      this.elGuideInfoY = elInfoY;\n      this.elGuideInfoContentX = elInfoX.querySelector(\n        `.${pfx}guide-info__content`\n      );\n      this.elGuideInfoContentY = elInfoY.querySelector(\n        `.${pfx}guide-info__content`\n      );\n\n      em.on(\n        'canvas:update frame:scroll',\n        debounce(() => {\n          this.updateGuides();\n          opts.debug && this.guides.forEach(item => this.renderGuide(item));\n        }, 200)\n      );\n    }\n\n    return guidesEl;\n  },\n\n  getGuidesStatic() {\n    let result = [];\n    const el = this.target.getEl();\n    const { parentNode = {} } = el;\n    each(\n      parentNode.children,\n      item =>\n        (result = result.concat(el !== item ? this.getElementGuides(item) : []))\n    );\n\n    return result.concat(this.getElementGuides(parentNode));\n  },\n\n  getGuidesTarget() {\n    return this.getElementGuides(this.target.getEl());\n  },\n\n  updateGuides(guides) {\n    let lastEl, lastPos;\n    (guides || this.guides).forEach(item => {\n      const { origin } = item;\n      const pos = lastEl === origin ? lastPos : this.getElementPos(origin);\n      lastEl = origin;\n      lastPos = pos;\n      each(this.getGuidePosUpdate(item, pos), (val, key) => (item[key] = val));\n      item.originRect = pos;\n    });\n  },\n\n  getGuidePosUpdate(item, rect) {\n    const result = {};\n    const { top, height, left, width } = rect;\n\n    switch (item.type) {\n      case 't':\n        result.y = top;\n        break;\n      case 'b':\n        result.y = top + height;\n        break;\n      case 'l':\n        result.x = left;\n        break;\n      case 'r':\n        result.x = left + width;\n        break;\n      case 'x':\n        result.x = left + width / 2;\n        break;\n      case 'y':\n        result.y = top + height / 2;\n        break;\n    }\n\n    return result;\n  },\n\n  renderGuide(item = {}) {\n    const el = item.guide || document.createElement('div');\n    const un = 'px';\n    const guideSize = item.active ? 2 : 1;\n    let numEl = el.children[0];\n    el.style = `position: absolute; background-color: ${\n      item.active ? 'green' : 'red'\n    };`;\n\n    if (!el.children.length) {\n      numEl = document.createElement('div');\n      numEl.style =\n        'position: absolute; color: red; padding: 5px; top: 0; left: 0;';\n      el.appendChild(numEl);\n    }\n\n    if (item.y) {\n      el.style.width = '100%';\n      el.style.height = `${guideSize}${un}`;\n      el.style.top = `${item.y}${un}`;\n      el.style.left = 0;\n    } else {\n      el.style.width = `${guideSize}${un}`;\n      el.style.height = '100%';\n      el.style.left = `${item.x}${un}`;\n      el.style.top = `0${un}`;\n    }\n\n    !item.guide && this.guidesContainer.appendChild(el);\n    return el;\n  },\n\n  getElementPos(el) {\n    return this.editor.Canvas.getElementPos(el, { noScroll: 1 });\n  },\n\n  getElementGuides(el) {\n    const { opts } = this;\n    const originRect = this.getElementPos(el);\n    const { top, height, left, width } = originRect;\n    const guides = [\n      { type: 't', y: top }, // Top\n      { type: 'b', y: top + height }, // Bottom\n      { type: 'l', x: left }, // Left\n      { type: 'r', x: left + width }, // Right\n      { type: 'x', x: left + width / 2 }, // Mid x\n      { type: 'y', y: top + height / 2 } // Mid y\n    ].map(item => ({\n      ...item,\n      origin: el,\n      originRect,\n      guide: opts.debug && this.renderGuide(item)\n    }));\n    guides.forEach(item => this.guides.push(item));\n\n    return guides;\n  },\n\n  getTranslate(transform, axis = 'x') {\n    let result = 0;\n    (transform || '').split(' ').forEach(item => {\n      const itemStr = item.trim();\n      const fn = `translate${axis.toUpperCase()}(`;\n      if (itemStr.indexOf(fn) === 0)\n        result = parseFloat(itemStr.replace(fn, ''));\n    });\n    return result;\n  },\n\n  setTranslate(transform, axis, value) {\n    const fn = `translate${axis.toUpperCase()}(`;\n    const val = `${fn}${value})`;\n    let result = (transform || '')\n      .split(' ')\n      .map(item => {\n        const itemStr = item.trim();\n        if (itemStr.indexOf(fn) === 0) item = val;\n        return item;\n      })\n      .join(' ');\n    if (result.indexOf(fn) < 0) result += ` ${val}`;\n\n    return result;\n  },\n\n  getPosition() {\n    const { target, isTran } = this;\n    const { left, top, transform } = target.getStyle();\n    let x = 0;\n    let y = 0;\n\n    if (isTran) {\n      x = this.getTranslate(transform);\n      y = this.getTranslate(transform, 'y');\n    } else {\n      x = parseFloat(left || 0);\n      y = parseFloat(top || 0);\n    }\n\n    return { x, y };\n  },\n\n  setPosition({ x, y, end, position, width, height }) {\n    const { target, isTran, em } = this;\n    const unit = 'px';\n    const en = !end ? 1 : ''; // this will trigger the final change\n    const left = `${x}${unit}`;\n    const top = `${y}${unit}`;\n    let styleUp = {};\n\n    if (isTran) {\n      let transform = target.getStyle()['transform'] || '';\n      transform = this.setTranslate(transform, 'x', left);\n      transform = this.setTranslate(transform, 'y', top);\n      styleUp = { transform, en };\n      target.addStyle(styleUp, { avoidStore: !end });\n    } else {\n      const adds = { position, width, height };\n      const style = { left, top, en };\n      keys(adds).forEach(add => {\n        const prop = adds[add];\n        if (prop) style[add] = prop;\n      });\n      styleUp = style;\n      target.addStyle(styleUp, { avoidStore: !end });\n    }\n\n    // Update StyleManager properties\n    em.getSelected() &&\n      keys(styleUp).forEach(i => em.trigger(`update:component:style:${i}`));\n  },\n\n  _getDragData() {\n    const { target } = this;\n    return {\n      target,\n      parent: target.parent(),\n      index: target.index()\n    };\n  },\n\n  onStart(event) {\n    const { target, editor, isTran, opts } = this;\n    const { center, onStart } = opts;\n    const { Canvas } = editor;\n    const style = target.getStyle();\n    const position = 'absolute';\n    const relPos = [position, 'relative'];\n    onStart && onStart(this._getDragData());\n    if (isTran) return;\n\n    if (style.position !== position) {\n      let { left, top, width, height } = Canvas.offset(target.getEl());\n      let parent = target.parent();\n      let parentRel;\n\n      // Check for the relative parent\n      do {\n        const pStyle = parent.getStyle();\n        parentRel = relPos.indexOf(pStyle.position) >= 0 ? parent : null;\n        parent = parent.parent();\n      } while (parent && !parentRel);\n\n      // Center the target to the pointer position (used in Droppable for Blocks)\n      if (center) {\n        const { x, y } = Canvas.getMouseRelativeCanvas(event);\n        left = x;\n        top = y;\n      } else if (parentRel) {\n        const offsetP = Canvas.offset(parentRel.getEl());\n        left = left - offsetP.left;\n        top = top - offsetP.top;\n      }\n\n      this.setPosition({\n        x: left,\n        y: top,\n        width: `${width}px`,\n        height: `${height}px`,\n        position\n      });\n    }\n  },\n\n  onDrag(...args) {\n    const { guidesTarget, opts } = this;\n    const { onDrag } = opts;\n    this.updateGuides(guidesTarget);\n    opts.debug && guidesTarget.forEach(item => this.renderGuide(item));\n    opts.guidesInfo &&\n      this.renderGuideInfo(guidesTarget.filter(item => item.active));\n    onDrag && onDrag(this._getDragData());\n  },\n\n  onEnd(ev, dragger, opt = {}) {\n    const { editor, opts, id } = this;\n    const { onEnd } = opts;\n    onEnd && onEnd(ev, opt, { event: ev, ...opt, ...this._getDragData() });\n    editor.stopCommand(id);\n    this.hideGuidesInfo();\n    this.em.trigger(`${evName}:end`, this.getEventOpts());\n  },\n\n  hideGuidesInfo() {\n    ['X', 'Y'].forEach(item => {\n      const guide = this[`elGuideInfo${item}`];\n      if (guide) guide.style.display = 'none';\n    });\n  },\n\n  /**\n   * Render guides with spacing information\n   */\n  renderGuideInfo(guides = []) {\n    const { guidesStatic } = this;\n    this.hideGuidesInfo();\n    guides.forEach(item => {\n      const { origin, x } = item;\n      const rectOrigin = this.getElementPos(origin);\n      const axis = isUndefined(x) ? 'y' : 'x';\n      const isY = axis === 'y';\n      const origEdge1 = rectOrigin[isY ? 'left' : 'top'];\n      const origEdge1Raw = rectOrigin.rect[isY ? 'left' : 'top'];\n      const origEdge2 = isY\n        ? origEdge1 + rectOrigin.width\n        : origEdge1 + rectOrigin.height;\n      const origEdge2Raw = isY\n        ? origEdge1Raw + rectOrigin.rect.width\n        : origEdge1Raw + rectOrigin.rect.height;\n      const elGuideInfo = this[`elGuideInfo${axis.toUpperCase()}`];\n      const elGuideInfoCnt = this[`elGuideInfoContent${axis.toUpperCase()}`];\n      const guideInfoStyle = elGuideInfo.style;\n\n      // Find the nearest element\n      const res = guidesStatic\n        .filter(stat => stat.type === item.type)\n        .map(stat => {\n          const { left, width, top, height } = stat.originRect;\n          const statEdge1 = isY ? left : top;\n          const statEdge2 = isY ? left + width : top + height;\n          return {\n            gap:\n              statEdge2 < origEdge1\n                ? origEdge1 - statEdge2\n                : statEdge1 - origEdge2,\n            guide: stat\n          };\n        })\n        .filter(item => item.gap > 0)\n        .sort((a, b) => a.gap - b.gap)\n        .map(item => item.guide)[0];\n\n      if (res) {\n        const { left, width, top, height, rect } = res.originRect;\n        const isEdge1 = isY ? left < rectOrigin.left : top < rectOrigin.top;\n        const statEdge1 = isY ? left : top;\n        const statEdge1Raw = isY ? rect.left : rect.top;\n        const statEdge2 = isY ? left + width : top + height;\n        const statEdge2Raw = isY\n          ? rect.left + rect.width\n          : rect.top + rect.height;\n        const posFirst = isY ? item.y : item.x;\n        const posSecond = isEdge1 ? statEdge2 : origEdge2;\n        const pos2 = `${posFirst}px`;\n        const size = isEdge1 ? origEdge1 - statEdge2 : statEdge1 - origEdge2;\n        const sizeRaw = isEdge1\n          ? origEdge1Raw - statEdge2Raw\n          : statEdge1Raw - origEdge2Raw;\n        guideInfoStyle.display = '';\n        guideInfoStyle[isY ? 'top' : 'left'] = pos2;\n        guideInfoStyle[isY ? 'left' : 'top'] = `${posSecond}px`;\n        guideInfoStyle[isY ? 'width' : 'height'] = `${size}px`;\n        elGuideInfoCnt.innerHTML = `${Math.round(sizeRaw)}px`;\n        this.em.trigger(`${evName}:active`, {\n          ...this.getEventOpts(),\n          guide: item,\n          guidesStatic,\n          matched: res,\n          posFirst,\n          posSecond,\n          size,\n          sizeRaw,\n          elGuideInfo,\n          elGuideInfoCnt\n        });\n      }\n    });\n  },\n\n  toggleDrag(enable) {\n    const { ppfx, editor } = this;\n    const methodCls = enable ? 'add' : 'remove';\n    const classes = [`${ppfx}is__grabbing`];\n    const { Canvas } = editor;\n    const body = Canvas.getBody();\n    classes.forEach(cls => body.classList[methodCls](cls));\n    Canvas[enable ? 'startAutoscroll' : 'stopAutoscroll']();\n  }\n};\n","export default {\n  run(ed) {\n    if (!ed.Canvas.hasFocus()) return;\n    const toSelect = [];\n\n    ed.getSelectedAll().forEach(component => {\n      const coll = component.components();\n      const next = coll && coll.filter(c => c.get('selectable'))[0];\n      next && toSelect.push(next);\n    });\n\n    toSelect.length && ed.select(toSelect);\n  }\n};\n","export default {\n  run(ed, snd, opts = {}) {\n    if (!ed.Canvas.hasFocus() && !opts.force) return;\n    const toSelect = [];\n\n    ed.getSelectedAll().forEach(component => {\n      let next = component.parent();\n\n      // Recurse through the parent() chain until a selectable parent is found\n      while (next && !next.get('selectable')) {\n        next = next.parent();\n      }\n\n      next && toSelect.push(next);\n    });\n\n    toSelect.length && ed.select(toSelect);\n  }\n};\n","export default {\n  run(ed) {\n    if (!ed.Canvas.hasFocus()) return;\n    const toSelect = [];\n\n    ed.getSelectedAll().forEach(cmp => {\n      const parent = cmp.parent();\n      if (!parent) return;\n\n      const len = parent.components().length;\n      let incr = 0;\n      let at = 0;\n      let next;\n\n      // Get the next selectable component\n      do {\n        incr++;\n        at = cmp.index() + incr;\n        next = at <= len ? parent.getChildAt(at) : null;\n      } while (next && !next.get('selectable'));\n\n      toSelect.push(next || cmp);\n    });\n\n    toSelect.length && ed.select(toSelect);\n  }\n};\n","export default {\n  run(ed) {\n    if (!ed.Canvas.hasFocus()) return;\n    const toSelect = [];\n\n    ed.getSelectedAll().forEach(cmp => {\n      const parent = cmp.parent();\n      if (!parent) return;\n\n      let incr = 0;\n      let at = 0;\n      let next;\n\n      // Get the first selectable component\n      do {\n        incr++;\n        at = cmp.index() - incr;\n        next = at >= 0 ? parent.getChildAt(at) : null;\n      } while (next && !next.get('selectable'));\n\n      toSelect.push(next || cmp);\n    });\n\n    toSelect.length && ed.select(toSelect);\n  }\n};\n","import { isArray, flatten } from 'underscore';\n\nexport default {\n  run(ed, s, opts = {}) {\n    const { target } = opts;\n    let toRemove = [];\n\n    if (!target.get('styles')) return toRemove;\n\n    // Find all components in the project, of the target component type\n    const type = target.get('type');\n    const wrappers = ed.Pages.getAllWrappers();\n    const len = flatten(wrappers.map(wrp => wrp.findType(type))).length;\n\n    // Remove component related styles only if there are no more components\n    // of that type in the project\n    if (!len) {\n      const rules = ed.CssComposer.getAll();\n      toRemove = rules.filter(rule => rule.get('group') === `cmp:${type}`);\n      rules.remove(toRemove);\n    }\n\n    return toRemove;\n  }\n};\n","export default {\n  run(ed) {\n    const em = ed.getModel();\n    const models = [...ed.getSelectedAll()];\n    models.length && em.set('clipboard', models);\n  }\n};\n","import { extend, bindAll } from 'underscore';\nimport Backbone from 'backbone';\nimport SelectComponent from './SelectComponent';\n\nconst $ = Backbone.$;\n\nexport default extend({}, SelectComponent, {\n  init(o) {\n    bindAll(this, 'startDelete', 'stopDelete', 'onDelete');\n    this.hoverClass = this.pfx + 'hover-delete';\n    this.badgeClass = this.pfx + 'badge-red';\n  },\n\n  enable() {\n    var that = this;\n    this.$el\n      .find('*')\n      .mouseover(this.startDelete)\n      .mouseout(this.stopDelete)\n      .click(this.onDelete);\n  },\n\n  /**\n   * Start command\n   * @param {Object}  e\n   * @private\n   */\n  startDelete(e) {\n    e.stopPropagation();\n    var $this = $(e.target);\n\n    // Show badge if possible\n    if ($this.data('model').get('removable')) {\n      $this.addClass(this.hoverClass);\n      this.attachBadge($this.get(0));\n    }\n  },\n\n  /**\n   * Stop command\n   * @param {Object}  e\n   * @private\n   */\n  stopDelete(e) {\n    e.stopPropagation();\n    var $this = $(e.target);\n    $this.removeClass(this.hoverClass);\n\n    // Hide badge if possible\n    if (this.badge) this.badge.css({ left: -1000, top: -1000 });\n  },\n\n  /**\n   * Delete command\n   * @param {Object}  e\n   * @private\n   */\n  onDelete(e) {\n    e.stopPropagation();\n    var $this = $(e.target);\n\n    // Do nothing in case can't remove\n    if (!$this.data('model').get('removable')) return;\n\n    $this.data('model').destroy();\n    this.removeBadge();\n    this.clean();\n  },\n\n  /**\n   * Updates badge label\n   * @param   {Object}  model\n   * @private\n   * */\n  updateBadgeLabel(model) {\n    this.badge.html('Remove ' + model.getName());\n  }\n});\n","import Backbone from 'backbone';\nconst $ = Backbone.$;\n\nexport default {\n  run(editor, sender, opts = {}) {\n    sender && sender.set && sender.set('active', 0);\n    const config = editor.getConfig();\n    const modal = editor.Modal;\n    const pfx = config.stylePrefix;\n    this.cm = editor.CodeManager || null;\n\n    if (!this.$editors) {\n      const oHtmlEd = this.buildEditor('htmlmixed', 'hopscotch', 'HTML');\n      const oCsslEd = this.buildEditor('css', 'hopscotch', 'CSS');\n      this.htmlEditor = oHtmlEd.el;\n      this.cssEditor = oCsslEd.el;\n      const $editors = $(`<div class=\"${pfx}export-dl\"></div>`);\n      $editors.append(oHtmlEd.$el).append(oCsslEd.$el);\n      this.$editors = $editors;\n    }\n\n    modal\n      .open({\n        title: config.textViewCode,\n        content: this.$editors\n      })\n      .getModel()\n      .once('change:open', () => editor.stopCommand(this.id));\n    this.htmlEditor.setContent(editor.getHtml());\n    this.cssEditor.setContent(editor.getCss());\n  },\n\n  stop(editor) {\n    const modal = editor.Modal;\n    modal && modal.close();\n  },\n\n  buildEditor(codeName, theme, label) {\n    const input = document.createElement('textarea');\n    !this.codeMirror && (this.codeMirror = this.cm.getViewer('CodeMirror'));\n\n    const el = this.codeMirror.clone().set({\n      label,\n      codeName,\n      theme,\n      input\n    });\n\n    const $el = new this.cm.EditorView({\n      model: el,\n      config: this.cm.getConfig()\n    }).render().$el;\n\n    el.init(input);\n\n    return { el, $el };\n  }\n};\n","import { isElement } from 'underscore';\n\nexport default {\n  /**\n   * Check if fullscreen mode is enabled\n   * @return {Boolean}\n   */\n  isEnabled() {\n    var d = document;\n    if (\n      d.fullscreenElement ||\n      d.webkitFullscreenElement ||\n      d.mozFullScreenElement\n    )\n      return 1;\n    else return 0;\n  },\n\n  /**\n   * Enable fullscreen mode and return browser prefix\n   * @param  {HTMLElement} el\n   * @return {string}\n   */\n  enable(el) {\n    var pfx = '';\n    if (el.requestFullscreen) el.requestFullscreen();\n    else if (el.webkitRequestFullscreen) {\n      pfx = 'webkit';\n      el.webkitRequestFullscreen();\n    } else if (el.mozRequestFullScreen) {\n      pfx = 'moz';\n      el.mozRequestFullScreen();\n    } else if (el.msRequestFullscreen) el.msRequestFullscreen();\n    else console.warn('Fullscreen not supported');\n    return pfx;\n  },\n\n  /**\n   * Disable fullscreen mode\n   */\n  disable() {\n    const d = document;\n    if (this.isEnabled()) {\n      if (d.exitFullscreen) d.exitFullscreen();\n      else if (d.webkitExitFullscreen) d.webkitExitFullscreen();\n      else if (d.mozCancelFullScreen) d.mozCancelFullScreen();\n      else if (d.msExitFullscreen) d.msExitFullscreen();\n    }\n  },\n\n  /**\n   * Triggered when the state of the fullscreen is changed. Inside detects if\n   * it's enabled\n   * @param  {strinf} pfx Browser prefix\n   * @param  {Event} e\n   */\n  fsChanged(pfx, e) {\n    var d = document;\n    var ev = (pfx || '') + 'fullscreenchange';\n    if (!this.isEnabled()) {\n      this.stop(null, this.sender);\n      document.removeEventListener(ev, this.fsChanged);\n    }\n  },\n\n  run(editor, sender, opts = {}) {\n    this.sender = sender;\n    const { target } = opts;\n    const targetEl = isElement(target)\n      ? target\n      : document.querySelector(target);\n    const pfx = this.enable(targetEl || editor.getContainer());\n    this.fsChanged = this.fsChanged.bind(this, pfx);\n    document.addEventListener(pfx + 'fullscreenchange', this.fsChanged);\n    editor.trigger('change:canvasOffset');\n  },\n\n  stop(editor, sender) {\n    if (sender && sender.set) sender.set('active', false);\n    this.disable();\n    if (editor) editor.trigger('change:canvasOffset');\n  }\n};\n","import { extend, bindAll } from 'underscore';\nimport Backbone from 'backbone';\nimport { on, off } from 'utils/mixins';\nimport SelectComponent from './SelectComponent';\nimport SelectPosition from './SelectPosition';\n\nconst $ = Backbone.$;\n\nexport default extend({}, SelectPosition, SelectComponent, {\n  init(o) {\n    SelectComponent.init.apply(this, arguments);\n    bindAll(this, 'initSorter', 'rollback', 'onEndMove');\n    this.opt = o;\n    this.hoverClass = this.ppfx + 'highlighter-warning';\n    this.badgeClass = this.ppfx + 'badge-warning';\n    this.noSelClass = this.ppfx + 'no-select';\n  },\n\n  enable(...args) {\n    SelectComponent.enable.apply(this, args);\n    this.getBadgeEl().addClass(this.badgeClass);\n    this.getHighlighterEl().addClass(this.hoverClass);\n    var wp = this.$wrapper;\n    wp.css('cursor', 'move');\n    wp.on('mousedown', this.initSorter);\n\n    // Avoid strange moving behavior\n    wp.addClass(this.noSelClass);\n  },\n\n  /**\n   * Overwrite for doing nothing\n   * @private\n   */\n  toggleClipboard() {},\n\n  /**\n   * Delegate sorting\n   * @param  {Event} e\n   * @private\n   * */\n  initSorter(e) {\n    var el = $(e.target).data('model');\n    var drag = el.get('draggable');\n    if (!drag) return;\n\n    // Avoid badge showing on move\n    this.cacheEl = null;\n    this.startSelectPosition(e.target, this.frameEl.contentDocument);\n    this.sorter.draggable = drag;\n    this.sorter.onEndMove = this.onEndMove.bind(this);\n    this.stopSelectComponent();\n    this.$wrapper.off('mousedown', this.initSorter);\n    on(this.getContentWindow(), 'keydown', this.rollback);\n  },\n\n  /**\n   * Init sorter from model\n   * @param  {Object} model\n   * @private\n   */\n  initSorterFromModel(model) {\n    var drag = model.get('draggable');\n    if (!drag) return;\n    // Avoid badge showing on move\n    this.cacheEl = null;\n    var el = model.view.el;\n    this.startSelectPosition(el, this.frameEl.contentDocument);\n    this.sorter.draggable = drag;\n    this.sorter.onEndMove = this.onEndMoveFromModel.bind(this);\n\n    /*\n    this.sorter.setDragHelper(el);\n    var dragHelper = this.sorter.dragHelper;\n    dragHelper.className = this.ppfx + 'drag-helper';\n    dragHelper.innerHTML = '';\n    dragHelper.backgroundColor = 'white';\n    */\n\n    this.stopSelectComponent();\n    on(this.getContentWindow(), 'keydown', this.rollback);\n  },\n\n  /**\n   * Init sorter from models\n   * @param  {Object} model\n   * @private\n   */\n  initSorterFromModels(models) {\n    // TODO: if one only check for `draggable`\n    // Avoid badge showing on move\n    this.cacheEl = null;\n    const lastModel = models[models.length - 1];\n    const frame = (this.em.get('currentFrame') || {}).model;\n    const el = lastModel.getEl(frame);\n    const doc = el.ownerDocument;\n    this.startSelectPosition(el, doc, { onStart: this.onStart });\n    this.sorter.draggable = lastModel.get('draggable');\n    this.sorter.toMove = models;\n    this.sorter.onMoveClb = this.onDrag;\n    this.sorter.onEndMove = this.onEndMoveFromModel.bind(this);\n    this.stopSelectComponent();\n    on(this.getContentWindow(), 'keydown', this.rollback);\n  },\n\n  onEndMoveFromModel() {\n    off(this.getContentWindow(), 'keydown', this.rollback);\n  },\n\n  /**\n   * Callback after sorting\n   * @private\n   */\n  onEndMove() {\n    this.enable();\n    off(this.getContentWindow(), 'keydown', this.rollback);\n  },\n\n  /**\n   * Say what to do after the component was selected (selectComponent)\n   * @param {Event} e\n   * @param {Object} Selected element\n   * @private\n   * */\n  onSelect(e, el) {},\n\n  /**\n   * Used to bring the previous situation before start moving the component\n   * @param {Event} e\n   * @param {Boolean} Indicates if rollback in anycase\n   * @private\n   * */\n  rollback(e, force) {\n    var key = e.which || e.keyCode;\n    if (key == 27 || force) {\n      this.sorter.moved = false;\n      this.sorter.endMove();\n    }\n    return;\n  },\n\n  /**\n   * Returns badge element\n   * @return {HTMLElement}\n   * @private\n   */\n  getBadgeEl() {\n    if (!this.$badge) this.$badge = $(this.getBadge());\n    return this.$badge;\n  },\n\n  /**\n   * Returns highlighter element\n   * @return {HTMLElement}\n   * @private\n   */\n  getHighlighterEl() {\n    if (!this.$hl) this.$hl = $(this.canvas.getHighlighter());\n    return this.$hl;\n  },\n\n  stop(...args) {\n    SelectComponent.stop.apply(this, args);\n    this.getBadgeEl().removeClass(this.badgeClass);\n    this.getHighlighterEl().removeClass(this.hoverClass);\n    var wp = this.$wrapper;\n    wp.css('cursor', '')\n      .unbind()\n      .removeClass(this.noSelClass);\n  }\n});\n","import { isFunction } from 'underscore';\nimport { createEl } from '../../utils/dom';\n\nexport default {\n  open(content) {\n    const { editor, title, config, am } = this;\n    const { custom } = config;\n    if (isFunction(custom.open)) {\n      return custom.open(am.__customData());\n    }\n    const { Modal } = editor;\n    Modal.open({ title, content }).onceClose(() => editor.stopCommand(this.id));\n  },\n\n  close() {\n    const { custom } = this.config;\n    if (isFunction(custom.close)) {\n      return custom.close(this.am.__customData());\n    }\n    const { Modal } = this.editor;\n    Modal && Modal.close();\n  },\n\n  run(editor, sender, opts = {}) {\n    const am = editor.AssetManager;\n    const config = am.getConfig();\n    const { types = [], accept, select } = opts;\n    this.title = opts.modalTitle || editor.t('assetManager.modalTitle') || '';\n    this.editor = editor;\n    this.config = config;\n    this.am = am;\n\n    am.setTarget(opts.target);\n    am.onClick(opts.onClick);\n    am.onDblClick(opts.onDblClick);\n    am.onSelect(opts.onSelect);\n    am.__behaviour({\n      select,\n      types,\n      options: opts\n    });\n\n    if (config.custom) {\n      this.rendered = this.rendered || createEl('div');\n      this.rendered.className = `${config.stylePrefix}custom-wrp`;\n      am.__behaviour({ container: this.rendered });\n      am.__trgCustom();\n    } else {\n      if (!this.rendered || types) {\n        let assets = am.getAll().filter(i => i);\n\n        if (types && types.length) {\n          assets = assets.filter(a => types.indexOf(a.get('type')) !== -1);\n        }\n\n        am.render(assets);\n        this.rendered = am.getContainer();\n      }\n\n      if (accept) {\n        const uploadEl = this.rendered.querySelector(\n          `input#${config.stylePrefix}uploadFile`\n        );\n        uploadEl && uploadEl.setAttribute('accept', accept);\n      }\n    }\n\n    this.open(this.rendered);\n    return this;\n  },\n\n  stop(editor) {\n    this.editor = editor;\n    this.close(this.rendered);\n  }\n};\n","import { isFunction } from 'underscore';\nimport { createEl } from '../../utils/dom';\n\nexport default {\n  open() {\n    const { container, editor, bm, config } = this;\n    const { custom, appendTo } = config;\n\n    if (isFunction(custom.open)) {\n      return custom.open(bm.__customData());\n    }\n\n    if (this.firstRender && !appendTo) {\n      const id = 'views-container';\n      const pn = editor.Panels;\n      const panels = pn.getPanel(id) || pn.addPanel({ id });\n      panels.set('appendContent', container).trigger('change:appendContent');\n      if (!custom) container.appendChild(bm.render());\n    }\n\n    if (container) container.style.display = 'block';\n  },\n\n  close() {\n    const { container, config } = this;\n    const { custom } = config;\n\n    if (isFunction(custom.close)) {\n      return custom.close(this.bm.__customData());\n    }\n\n    if (container) container.style.display = 'none';\n  },\n\n  run(editor) {\n    const bm = editor.Blocks;\n    this.config = bm.getConfig();\n    this.firstRender = !this.container;\n    this.container = this.container || createEl('div');\n    this.editor = editor;\n    this.bm = bm;\n    const { container } = this;\n    bm.__behaviour({\n      container\n    });\n\n    if (this.config.custom) {\n      bm.__trgCustom();\n    }\n\n    this.open();\n  },\n\n  stop() {\n    this.close();\n  }\n};\n","export default {\n  run(editor) {\n    const lm = editor.LayerManager;\n    const pn = editor.Panels;\n\n    if (lm.getConfig().appendTo) return;\n\n    if (!this.layers) {\n      const id = 'views-container';\n      const layers = document.createElement('div');\n      const panels = pn.getPanel(id) || pn.addPanel({ id });\n      layers.appendChild(lm.render());\n      panels.set('appendContent', layers).trigger('change:appendContent');\n      this.layers = layers;\n    }\n\n    this.layers.style.display = 'block';\n  },\n\n  stop() {\n    const { layers } = this;\n    layers && (layers.style.display = 'none');\n  }\n};\n","import Backbone from 'backbone';\nconst $ = Backbone.$;\n\nexport default {\n  run(editor, sender) {\n    this.sender = sender;\n\n    if (!this.$cn) {\n      const config = editor.getConfig();\n      const panels = editor.Panels;\n      const trgEvCnt = 'change:appendContent';\n      this.$cn = $('<div></div>');\n      this.$cn2 = $('<div></div>');\n      this.$cn.append(this.$cn2);\n\n      // Device Manager\n      const dvm = editor.DeviceManager;\n      if (dvm && config.showDevices) {\n        const devicePanel = panels.addPanel({ id: 'devices-c' });\n        const dvEl = dvm.render();\n        devicePanel.set('appendContent', dvEl).trigger(trgEvCnt);\n      }\n\n      // Selector Manager container\n      const slm = editor.SelectorManager;\n      this.slm = slm;\n      const slmConfig = slm.getConfig();\n      if (slmConfig.custom) {\n        slm.__trgCustom({ container: this.$cn2.get(0) });\n      } else if (!slmConfig.appendTo) {\n        this.$cn2.append(slm.render([]));\n      }\n\n      // Style Manager\n      const sm = editor.StyleManager;\n      this.sm = sm;\n      const smConfig = sm.getConfig();\n      const pfx = smConfig.stylePrefix;\n      this.$header = $(`<div class=\"${pfx}header\">${editor.t('styleManager.empty')}</div>`);\n      this.$cn.append(this.$header);\n\n      if (smConfig.custom) {\n        sm.__trgCustom({ container: this.$cn2.get(0) });\n      } else if (!smConfig.appendTo) {\n        this.$cn2.append(sm.render());\n      }\n\n      // Create panel if not exists\n      const pnCnt = 'views-container';\n      this.panel = panels.getPanel(pnCnt);\n      if (!this.panel) this.panel = panels.addPanel({ id: pnCnt });\n\n      // Add all containers to the panel\n      this.panel.set('appendContent', this.$cn).trigger(trgEvCnt);\n\n      // Toggle Style Manager on target selection\n      this.em = editor.getModel();\n      this.listenTo(this.em, sm.events.target, this.toggleSm);\n    }\n\n    this.toggleSm();\n  },\n\n  /**\n   * Toggle Style Manager visibility\n   * @private\n   */\n  toggleSm() {\n    const { sender, sm } = this;\n    if ((sender && sender.get && !sender.get('active')) || !sm) return;\n\n    if (sm.getSelected()) {\n      this.$cn2?.show();\n      this.$header?.hide();\n    } else {\n      this.$cn2?.hide();\n      this.$header?.show();\n    }\n  },\n\n  stop() {\n    this.$cn2?.hide();\n    this.$header?.hide();\n  },\n};\n","import Backbone from 'backbone';\n\nconst $ = Backbone.$;\n\nexport default {\n  run(editor, sender) {\n    this.sender = sender;\n    const em = editor.getModel();\n\n    const config = editor.Config;\n    const pfx = config.stylePrefix;\n    const tm = editor.TraitManager;\n    const confTm = tm.getConfig();\n    let panelC;\n\n    if (confTm.appendTo) return;\n\n    if (!this.$cn) {\n      this.$cn = $('<div></div>');\n      this.$cn2 = $('<div></div>');\n      this.$cn.append(this.$cn2);\n      this.$header = $('<div>').append(\n        `<div class=\"${confTm.stylePrefix}header\">${em.t(\n          'traitManager.empty'\n        )}</div>`\n      );\n      this.$cn.append(this.$header);\n      this.$cn2.append(\n        `<div class=\"${pfx}traits-label\">${em.t('traitManager.label')}</div>`\n      );\n      this.$cn2.append(tm.render());\n      var panels = editor.Panels;\n\n      if (!panels.getPanel('views-container'))\n        panelC = panels.addPanel({ id: 'views-container' });\n      else panelC = panels.getPanel('views-container');\n\n      panelC\n        .set('appendContent', this.$cn.get(0))\n        .trigger('change:appendContent');\n\n      this.target = editor.getModel();\n      this.listenTo(this.target, 'component:toggled', this.toggleTm);\n    }\n\n    this.toggleTm();\n  },\n\n  /**\n   * Toggle Trait Manager visibility\n   * @private\n   */\n  toggleTm() {\n    const sender = this.sender;\n    if (sender && sender.get && !sender.get('active')) return;\n\n    if (this.target.getSelectedAll().length === 1) {\n      this.$cn2.show();\n      this.$header.hide();\n    } else {\n      this.$cn2.hide();\n      this.$header.show();\n    }\n  },\n\n  stop() {\n    this.$cn2 && this.$cn2.hide();\n    this.$header && this.$header.hide();\n  }\n};\n","import { isArray, contains } from 'underscore';\n\nexport default {\n  run(ed, s, opts = {}) {\n    const em = ed.getModel();\n    const clp = em.get('clipboard');\n    const selected = ed.getSelected();\n\n    if (clp && selected) {\n      ed.getSelectedAll().forEach(comp => {\n        if (!comp) return;\n\n        const coll = comp.collection;\n        if (!coll) return;\n\n        const at = coll.indexOf(comp) + 1;\n        const addOpts = { at, action: opts.action || 'paste-component' };\n        const copyable = clp.filter(cop => cop.get('copyable'));\n        let added;\n\n        if (contains(clp, comp) && comp.get('copyable')) {\n          added = coll.add(comp.clone(), addOpts);\n        } else {\n          added = coll.add(\n            copyable.map(cop => cop.clone()),\n            addOpts\n          );\n        }\n\n        added = isArray(added) ? added : [added];\n        added.forEach(add => ed.trigger('component:paste', add));\n      });\n\n      selected.emitUpdate();\n    }\n  },\n};\n","import { each } from 'underscore';\n\nconst cmdVis = 'sw-visibility';\n\nexport default {\n  getPanels(editor) {\n    if (!this.panels) {\n      this.panels = editor.Panels.getPanels();\n    }\n\n    return this.panels;\n  },\n\n  preventDrag(opts) {\n    opts.abort = 1;\n  },\n\n  tglEffects(on) {\n    const { em } = this;\n    const mthEv = on ? 'on' : 'off';\n    if (em) {\n      const canvas = em.get('Canvas');\n      const body = canvas.getBody();\n      const tlb = canvas.getToolbarEl();\n      tlb && (tlb.style.display = on ? 'none' : '');\n      const elP = body.querySelectorAll(`.${this.ppfx}no-pointer`);\n      each(elP, item => (item.style.pointerEvents = on ? 'all' : ''));\n      em[mthEv]('run:tlb-move:before', this.preventDrag);\n    }\n  },\n\n  run(editor, sender) {\n    this.sender = sender;\n    this.selected = [...editor.getSelectedAll()];\n    editor.select();\n\n    if (!this.shouldRunSwVisibility) {\n      this.shouldRunSwVisibility = editor.Commands.isActive(cmdVis);\n    }\n\n    this.shouldRunSwVisibility && editor.stopCommand(cmdVis);\n    editor.getModel().stopDefault();\n\n    const panels = this.getPanels(editor);\n    const canvas = editor.Canvas.getElement();\n    const editorEl = editor.getEl();\n    const pfx = editor.Config.stylePrefix;\n\n    if (!this.helper) {\n      const helper = document.createElement('span');\n      helper.className = `${pfx}off-prv fa fa-eye-slash`;\n      editorEl.appendChild(helper);\n      helper.onclick = () => this.stopCommand();\n      this.helper = helper;\n    }\n\n    this.helper.style.display = 'inline-block';\n\n    panels.forEach(panel => panel.set('visible', false));\n\n    const canvasS = canvas.style;\n    canvasS.width = '100%';\n    canvasS.height = '100%';\n    canvasS.top = '0';\n    canvasS.left = '0';\n    canvasS.padding = '0';\n    canvasS.margin = '0';\n    editor.refresh();\n    this.tglEffects(1);\n  },\n\n  stop(editor) {\n    const { sender = {}, selected } = this;\n    sender.set && sender.set('active', 0);\n    const panels = this.getPanels(editor);\n\n    if (this.shouldRunSwVisibility) {\n      editor.runCommand(cmdVis);\n      this.shouldRunSwVisibility = false;\n    }\n\n    editor.getModel().runDefault();\n    panels.forEach(panel => panel.set('visible', true));\n\n    const canvas = editor.Canvas.getElement();\n    canvas.setAttribute('style', '');\n    selected && editor.select(selected);\n    delete this.selected;\n\n    if (this.helper) {\n      this.helper.style.display = 'none';\n    }\n\n    editor.refresh();\n    this.tglEffects();\n  }\n};\n","export default {\n  run(editor, sender, opts) {\n    const opt = opts || {};\n    const canvas = editor.Canvas;\n    const canvasView = canvas.getCanvasView();\n    const options = {\n      appendTo: canvas.getResizerEl(),\n      prefix: editor.getConfig().stylePrefix,\n      posFetcher: canvasView.getElementPos.bind(canvasView),\n      mousePosFetcher: canvas.getMouseRelativePos,\n      ...(opt.options || {}),\n    };\n    let { canvasResizer } = this;\n\n    // Create the resizer for the canvas if not yet created\n    if (!canvasResizer || opt.forceNew) {\n      this.canvasResizer = editor.Utils.Resizer.init(options);\n      canvasResizer = this.canvasResizer;\n    }\n\n    canvasResizer.setOptions(options);\n    canvasResizer.blur();\n    canvasResizer.focus(opt.el);\n    return canvasResizer;\n  },\n\n  stop() {\n    this.canvasResizer?.blur();\n  },\n};\n","import Backbone from 'backbone';\n\nexport default Backbone.View.extend({\n  events() {\n    return (\n      this.model.get('events') || {\n        mousedown: 'handleClick'\n      }\n    );\n  },\n\n  attributes() {\n    return this.model.get('attributes');\n  },\n\n  initialize(opts = {}) {\n    const { config = {} } = opts;\n    this.em = config.em;\n    this.editor = config.editor;\n  },\n\n  handleClick(event) {\n    event.preventDefault();\n    event.stopPropagation();\n\n    /*\n     * Since the toolbar lives outside the canvas frame, the event's\n     * generated on it have clientX and clientY relative to the page.\n     *\n     * This causes issues during events like dragging, where they depend\n     * on the clientX and clientY.\n     *\n     * This makes sure the offsets are calculated.\n     *\n     * More information on\n     * https://github.com/artf/grapesjs/issues/2372\n     * https://github.com/artf/grapesjs/issues/2207\n     */\n\n    const { editor, em } = this;\n    const { left, top } = editor.Canvas.getFrameEl().getBoundingClientRect();\n\n    const calibrated = {\n      ...event,\n      clientX: event.clientX - left,\n      clientY: event.clientY - top\n    };\n\n    em.trigger('toolbar:run:before');\n    this.execCommand(calibrated);\n  },\n\n  execCommand(event) {\n    const opts = { event };\n    const command = this.model.get('command');\n    const editor = this.editor;\n\n    if (typeof command === 'function') {\n      command(editor, null, opts);\n    }\n\n    if (typeof command === 'string') {\n      editor.runCommand(command, opts);\n    }\n  },\n\n  render() {\n    const { editor, $el, model } = this;\n    const id = model.get('id');\n    const label = model.get('label');\n    const pfx = editor.getConfig('stylePrefix');\n    $el.addClass(`${pfx}toolbar-item`);\n    id && $el.addClass(`${pfx}toolbar-item__${id}`);\n    label && $el.append(label);\n    return this;\n  }\n});\n","import DomainViews from 'domain_abstract/view/DomainViews';\nimport ToolbarButtonView from './ToolbarButtonView';\n\nexport default DomainViews.extend({\n  itemView: ToolbarButtonView,\n\n  initialize(opts = {}) {\n    this.config = { editor: opts.editor || '', em: opts.em };\n    this.listenTo(this.collection, 'reset', this.render);\n  }\n});\n","import Backbone from 'backbone';\n\nexport default Backbone.Model.extend({\n  defaults: {\n    command: '',\n    attributes: {}\n  }\n});\n","import Backbone from 'backbone';\nimport ToolbarButton from './ToolbarButton';\n\nexport default Backbone.Collection.extend({ model: ToolbarButton });\n","import Backbone from 'backbone';\nimport { bindAll, isElement, isUndefined, debounce } from 'underscore';\nimport { on, off, getUnitFromValue, isTaggableNode, getViewEl, hasWin } from 'utils/mixins';\nimport { isVisible, isDoc } from 'utils/dom';\nimport ToolbarView from 'dom_components/view/ToolbarView';\nimport Toolbar from 'dom_components/model/Toolbar';\n\nconst $ = Backbone.$;\nlet showOffsets;\n/**\n * This command is responsible for show selecting components and displaying\n * all the necessary tools around (component toolbar, badge, highlight box, etc.)\n *\n * The command manages different boxes to display tools and when something in\n * the canvas is updated, the command triggers the appropriate method to update\n * their position (across multiple frames/components):\n * - Global Tools (updateToolsGlobal/updateGlobalPos)\n * This box contains tools intended to be displayed only on ONE component per time,\n * like Component Toolbar (updated by updateToolbar/updateToolbarPos), this means\n * you won't be able to see more than one Component Toolbar (even with multiple\n * frames or multiple selected components)\n * - Local Tools (updateToolsLocal/updateLocalPos)\n * Each frame in the canvas has its own local box, so we're able to see more than\n * one active container at the same time. When you put a mouse over an element\n * you can see stuff like the highlight box, badge, margins/paddings offsets, etc.\n * so those elements are inside the Local Tools box\n *\n *\n */\nexport default {\n  init(o) {\n    bindAll(this, 'onHover', 'onOut', 'onClick', 'onFrameScroll', 'onFrameUpdated', 'onContainerChange');\n  },\n\n  enable() {\n    this.frameOff = this.canvasOff = this.adjScroll = null;\n    this.startSelectComponent();\n    showOffsets = 1;\n  },\n\n  /**\n   * Start select component event\n   * @private\n   * */\n  startSelectComponent() {\n    this.toggleSelectComponent(1);\n    this.em.getSelected() && this.onSelect();\n  },\n\n  /**\n   * Stop select component event\n   * @private\n   * */\n  stopSelectComponent() {\n    this.toggleSelectComponent();\n  },\n\n  /**\n   * Toggle select component event\n   * @private\n   * */\n  toggleSelectComponent(enable) {\n    const { em } = this;\n    const listenToEl = em.getConfig('listenToEl');\n    const { parentNode } = em.getContainer();\n    const method = enable ? 'on' : 'off';\n    const methods = { on, off };\n    !listenToEl.length && parentNode && listenToEl.push(parentNode);\n    const trigger = (win, body) => {\n      methods[method](body, 'mouseover', this.onHover);\n      methods[method](body, 'mouseleave', this.onOut);\n      methods[method](body, 'click touchend', this.onClick);\n      methods[method](win, 'scroll', this.onFrameScroll, true);\n    };\n    methods[method](window, 'resize', this.onFrameUpdated);\n    methods[method](listenToEl, 'scroll', this.onContainerChange);\n    em[method]('component:toggled component:update undo redo', this.onSelect, this);\n    em[method]('change:componentHovered', this.onHovered, this);\n    em[method](\n      'component:resize styleable:change component:input', // component:styleUpdate\n      this.updateGlobalPos,\n      this\n    );\n    em[method]('component:update:toolbar', this._upToolbar, this);\n    em[method]('change:canvasOffset', this.updateAttached, this);\n    em[method]('frame:updated', this.onFrameUpdated, this);\n    em[method]('canvas:updateTools', this.onFrameUpdated, this);\n    em.get('Canvas')\n      .getFrames()\n      .forEach(frame => {\n        const { view } = frame;\n        const win = view?.getWindow();\n        win && trigger(win, view.getBody());\n      });\n  },\n\n  /**\n   * Hover command\n   * @param {Object}  e\n   * @private\n   */\n  onHover(e) {\n    e.stopPropagation();\n    const { em } = this;\n    const trg = e.target;\n    const view = getViewEl(trg);\n    const frameView = view && view._getFrame();\n    const $el = $(trg);\n    let model = $el.data('model');\n\n    // Get first valid model\n    if (!model) {\n      let parent = $el.parent();\n      while (!model && parent.length && !isDoc(parent[0])) {\n        model = parent.data('model');\n        parent = parent.parent();\n      }\n    }\n\n    this.currentDoc = trg.ownerDocument;\n    em.setHovered(model, { useValid: true });\n    frameView && em.set('currentFrame', frameView);\n  },\n\n  onFrameUpdated() {\n    this.updateLocalPos();\n    this.updateGlobalPos();\n  },\n\n  onHovered(em, component) {\n    let result = {};\n\n    if (component) {\n      component.views.forEach(view => {\n        const el = view.el;\n        const pos = this.getElementPos(el);\n        result = { el, pos, component, view: getViewEl(el) };\n        this.updateToolsLocal(result);\n\n        if (el.ownerDocument === this.currentDoc) this.elHovered = result;\n      });\n    } else {\n      this.currentDoc = null;\n      this.elHovered = 0;\n      this.updateToolsLocal();\n      this.canvas.getFrames().forEach(frame => {\n        const { view } = frame;\n        const el = view && view.getToolsEl();\n        el && this.toggleToolsEl(0, 0, { el });\n      });\n    }\n  },\n\n  /**\n   * Say what to do after the component was selected\n   * @param {Object}  e\n   * @param {Object}  el\n   * @private\n   * */\n  onSelect: debounce(function () {\n    const { em } = this;\n    const component = em.getSelected();\n    const currentFrame = em.get('currentFrame') || {};\n    const view = component && component.getView(currentFrame.model);\n    let el = view && view.el;\n    let result = {};\n\n    if (el && isVisible(el)) {\n      const pos = this.getElementPos(el);\n      result = { el, pos, component, view: getViewEl(el) };\n    }\n\n    this.elSelected = result;\n    this.updateToolsGlobal();\n    // This will hide some elements from the select component\n    this.updateLocalPos(result);\n    this.initResize(component);\n  }),\n\n  updateGlobalPos() {\n    const sel = this.getElSelected();\n    if (!sel.el) return;\n    sel.pos = this.getElementPos(sel.el);\n    this.updateToolsGlobal();\n  },\n\n  updateLocalPos(data) {\n    const sel = this.getElHovered();\n    if (!sel.el) return;\n    sel.pos = this.getElementPos(sel.el);\n    this.updateToolsLocal(data);\n  },\n\n  getElHovered() {\n    return this.elHovered || {};\n  },\n\n  getElSelected() {\n    return this.elSelected || {};\n  },\n\n  onOut() {\n    this.em.setHovered(0);\n  },\n\n  toggleToolsEl(on, view, opts = {}) {\n    const el = opts.el || this.canvas.getToolsEl(view);\n    el && (el.style.display = on ? '' : 'none');\n    return el || {};\n  },\n\n  /**\n   * Show element offset viewer\n   * @param {HTMLElement}  el\n   * @param {Object} pos\n   */\n  showElementOffset(el, pos, opts = {}) {\n    if (!showOffsets) return;\n    this.editor.runCommand('show-offset', {\n      el,\n      elPos: pos,\n      view: opts.view,\n      force: 1,\n      top: 0,\n      left: 0,\n    });\n  },\n\n  /**\n   * Hide element offset viewer\n   * @param {HTMLElement}  el\n   * @param {Object} pos\n   */\n  hideElementOffset(view) {\n    this.editor.stopCommand('show-offset', {\n      view,\n    });\n  },\n\n  /**\n   * Show fixed element offset viewer\n   * @param {HTMLElement}  el\n   * @param {Object} pos\n   */\n  showFixedElementOffset(el, pos) {\n    this.editor.runCommand('show-offset', {\n      el,\n      elPos: pos,\n      state: 'Fixed',\n    });\n  },\n\n  /**\n   * Hide fixed element offset viewer\n   * @param {HTMLElement}  el\n   * @param {Object} pos\n   */\n  hideFixedElementOffset(el, pos) {\n    if (this.editor) this.editor.stopCommand('show-offset', { state: 'Fixed' });\n  },\n\n  /**\n   * Hide Highlighter element\n   */\n  hideHighlighter(view) {\n    this.canvas.getHighlighter(view).style.opacity = 0;\n  },\n\n  /**\n   * On element click\n   * @param {Event}  e\n   * @private\n   */\n  onClick(ev) {\n    ev.stopPropagation();\n    ev.preventDefault();\n    const { em } = this;\n    if (em.get('_cmpDrag')) return em.set('_cmpDrag');\n    const $el = $(ev.target);\n    let model = $el.data('model');\n\n    if (!model) {\n      let parent = $el.parent();\n      while (!model && parent.length && !isDoc(parent[0])) {\n        model = parent.data('model');\n        parent = parent.parent();\n      }\n    }\n\n    if (model) {\n      // Avoid selection of inner text components during editing\n      if (em.isEditing() && !model.get('textable') && model.isChildOf('text')) {\n        return;\n      }\n      this.select(model, ev);\n    }\n  },\n\n  /**\n   * Select component\n   * @param  {Component} model\n   * @param  {Event} event\n   */\n  select(model, event = {}) {\n    if (!model) return;\n    this.editor.select(model, { event, useValid: true });\n    this.initResize(model);\n  },\n\n  /**\n   * Update badge for the component\n   * @param {Object} Component\n   * @param {Object} pos Position object\n   * @private\n   * */\n  updateBadge(el, pos, opts = {}) {\n    const { canvas } = this;\n    const model = $(el).data('model');\n    if (!model || !model.get('badgable')) return;\n    const badge = this.getBadge(opts);\n\n    if (!opts.posOnly) {\n      const config = this.canvas.getConfig();\n      const icon = model.getIcon();\n      const ppfx = config.pStylePrefix || '';\n      const clsBadge = `${ppfx}badge`;\n      const customeLabel = config.customBadgeLabel;\n      const badgeLabel = `${icon ? `<div class=\"${clsBadge}__icon\">${icon}</div>` : ''}\n        <div class=\"${clsBadge}__name\">${model.getName()}</div>`;\n      badge.innerHTML = customeLabel ? customeLabel(model) : badgeLabel;\n    }\n\n    const un = 'px';\n    const bStyle = badge.style;\n    bStyle.display = 'block';\n\n    const targetToElem = canvas.getTargetToElementFixed(el, badge, {\n      pos: pos,\n    });\n\n    const top = targetToElem.top; //opts.topOff - badgeH < 0 ? -opts.topOff : posTop;\n    const left = opts.leftOff < 0 ? -opts.leftOff : 0;\n\n    bStyle.top = top + un;\n    bStyle.left = left + un;\n  },\n\n  /**\n   * Update highlighter element\n   * @param {HTMLElement} el\n   * @param {Object} pos Position object\n   * @private\n   */\n  showHighlighter(view) {\n    this.canvas.getHighlighter(view).style.opacity = '';\n  },\n\n  /**\n   * Init resizer on the element if possible\n   * @param  {HTMLElement|Component} elem\n   * @private\n   */\n  initResize(elem) {\n    const { em, canvas } = this;\n    const editor = em ? em.get('Editor') : '';\n    const config = em ? em.get('Config') : '';\n    const pfx = config.stylePrefix || '';\n    const resizeClass = `${pfx}resizing`;\n    const model = !isElement(elem) && isTaggableNode(elem) ? elem : em.getSelected();\n    const resizable = model && model.get('resizable');\n    let options = {};\n    let modelToStyle;\n\n    var toggleBodyClass = (method, e, opts) => {\n      const docs = opts.docs;\n      docs &&\n        docs.forEach(doc => {\n          const body = doc.body;\n          const cls = body.className || '';\n          body.className = (method == 'add' ? `${cls} ${resizeClass}` : cls.replace(resizeClass, '')).trim();\n        });\n    };\n\n    if (editor && resizable) {\n      const el = isElement(elem) ? elem : model.getEl();\n      options = {\n        // Here the resizer is updated with the current element height and width\n        onStart(e, opts = {}) {\n          const { el, config, resizer } = opts;\n          const { keyHeight, keyWidth, currentUnit, keepAutoHeight, keepAutoWidth } = config;\n          toggleBodyClass('add', e, opts);\n          modelToStyle = em.get('StyleManager').getModelToStyle(model);\n          canvas.toggleFramesEvents();\n          const computedStyle = getComputedStyle(el);\n          const modelStyle = modelToStyle.getStyle();\n\n          let currentWidth = modelStyle[keyWidth];\n          config.autoWidth = keepAutoWidth && currentWidth === 'auto';\n          if (isNaN(parseFloat(currentWidth))) {\n            currentWidth = computedStyle[keyWidth];\n          }\n\n          let currentHeight = modelStyle[keyHeight];\n          config.autoHeight = keepAutoHeight && currentHeight === 'auto';\n          if (isNaN(parseFloat(currentHeight))) {\n            currentHeight = computedStyle[keyHeight];\n          }\n\n          resizer.startDim.w = parseFloat(currentWidth);\n          resizer.startDim.h = parseFloat(currentHeight);\n          showOffsets = 0;\n\n          if (currentUnit) {\n            config.unitHeight = getUnitFromValue(currentHeight);\n            config.unitWidth = getUnitFromValue(currentWidth);\n          }\n        },\n\n        // Update all positioned elements (eg. component toolbar)\n        onMove() {\n          editor.trigger('component:resize');\n        },\n\n        onEnd(e, opts) {\n          toggleBodyClass('remove', e, opts);\n          editor.trigger('component:resize');\n          canvas.toggleFramesEvents(1);\n          showOffsets = 1;\n        },\n\n        updateTarget(el, rect, options = {}) {\n          if (!modelToStyle) {\n            return;\n          }\n\n          const { store, selectedHandler, config } = options;\n          const { keyHeight, keyWidth, autoHeight, autoWidth, unitWidth, unitHeight } = config;\n          const onlyHeight = ['tc', 'bc'].indexOf(selectedHandler) >= 0;\n          const onlyWidth = ['cl', 'cr'].indexOf(selectedHandler) >= 0;\n          const style = {};\n          const en = !store ? 1 : ''; // this will trigger the final change\n\n          if (!onlyHeight) {\n            const bodyw = canvas.getBody().offsetWidth;\n            const width = rect.w < bodyw ? rect.w : bodyw;\n            style[keyWidth] = autoWidth ? 'auto' : `${width}${unitWidth}`;\n          }\n\n          if (!onlyWidth) {\n            style[keyHeight] = autoHeight ? 'auto' : `${rect.h}${unitHeight}`;\n          }\n\n          modelToStyle.addStyle({ ...style, en }, { avoidStore: !store });\n          const updateEvent = `update:component:style`;\n          const eventToListen = `${updateEvent}:${keyHeight} ${updateEvent}:${keyWidth}`;\n          em && em.trigger(eventToListen, null, null, { noEmit: 1 });\n        },\n      };\n\n      if (typeof resizable == 'object') {\n        options = { ...options, ...resizable, parent: options };\n      }\n\n      this.resizer = editor.runCommand('resize', { el, options, force: 1 });\n    } else {\n      editor.stopCommand('resize');\n      this.resizer = null;\n    }\n  },\n\n  /**\n   * Update toolbar if the component has one\n   * @param {Object} mod\n   */\n  updateToolbar(mod) {\n    const { em } = this.config;\n    const model = mod == em ? em.getSelected() : mod;\n    const toolbarEl = this.canvas.getToolbarEl();\n    const toolbarStyle = toolbarEl.style;\n    const toolbar = model.get('toolbar');\n    const showToolbar = em.get('Config').showToolbar;\n\n    if (model && showToolbar && toolbar && toolbar.length) {\n      toolbarStyle.display = '';\n      if (!this.toolbar) {\n        toolbarEl.innerHTML = '';\n        this.toolbar = new Toolbar(toolbar);\n        const toolbarView = new ToolbarView({\n          collection: this.toolbar,\n          editor: this.editor,\n          em,\n        });\n        toolbarEl.appendChild(toolbarView.render().el);\n      }\n\n      this.toolbar.reset(toolbar);\n      toolbarStyle.top = '-100px';\n      toolbarStyle.left = 0;\n    } else {\n      toolbarStyle.display = 'none';\n    }\n  },\n\n  /**\n   * Update toolbar positions\n   * @param {HTMLElement} el\n   * @param {Object} pos\n   */\n  updateToolbarPos(pos) {\n    const unit = 'px';\n    const { style } = this.canvas.getToolbarEl();\n    style.top = `${pos.top}${unit}`;\n    style.left = `${pos.left}${unit}`;\n    style.opacity = '';\n  },\n\n  /**\n   * Return canvas dimensions and positions\n   * @return {Object}\n   */\n  getCanvasPosition() {\n    return this.canvas.getCanvasView().getPosition();\n  },\n\n  /**\n   * Returns badge element\n   * @return {HTMLElement}\n   * @private\n   */\n  getBadge(opts = {}) {\n    return this.canvas.getBadgeEl(opts.view);\n  },\n\n  /**\n   * On frame scroll callback\n   * @private\n   */\n  onFrameScroll() {\n    this.updateTools();\n  },\n\n  updateTools() {\n    this.updateLocalPos();\n    this.updateGlobalPos();\n  },\n\n  isCompSelected(comp) {\n    return comp && comp.get('status') === 'selected';\n  },\n\n  /**\n   * Update tools visible on hover\n   * @param {HTMLElement} el\n   * @param {Object} pos\n   */\n  updateToolsLocal(data) {\n    const { el, pos, view, component } = data || this.getElHovered();\n\n    if (!el) {\n      this.lastHovered = 0;\n      return;\n    }\n\n    const isHoverEn = component.get('hoverable');\n    const isNewEl = this.lastHovered !== el;\n    const badgeOpts = isNewEl ? {} : { posOnly: 1 };\n\n    if (isNewEl && isHoverEn) {\n      this.lastHovered = el;\n      this.showHighlighter(view);\n      this.showElementOffset(el, pos, { view });\n    }\n\n    if (this.isCompSelected(component)) {\n      this.hideHighlighter(view);\n      this.hideElementOffset(view);\n    }\n\n    const unit = 'px';\n    const toolsEl = this.toggleToolsEl(1, view);\n    const { style } = toolsEl;\n    const frameOff = this.canvas.canvasRectOffset(el, pos);\n    const topOff = frameOff.top;\n    const leftOff = frameOff.left;\n\n    this.updateBadge(el, pos, {\n      ...badgeOpts,\n      view,\n      topOff,\n      leftOff,\n    });\n\n    style.top = topOff + unit;\n    style.left = leftOff + unit;\n    style.width = pos.width + unit;\n    style.height = pos.height + unit;\n\n    this._trgToolUp('local', {\n      component,\n      el: toolsEl,\n      top: topOff,\n      left: leftOff,\n      width: pos.width,\n      height: pos.height,\n    });\n  },\n\n  _upToolbar: debounce(function () {\n    this.updateToolsGlobal({ force: 1 });\n  }),\n\n  _trgToolUp(type, opts = {}) {\n    this.em.trigger('canvas:tools:update', {\n      type,\n      ...opts,\n    });\n  },\n\n  updateToolsGlobal(opts = {}) {\n    const { el, pos, component } = this.getElSelected();\n\n    if (!el) {\n      this.toggleToolsEl(); // Hides toolbar\n      this.lastSelected = 0;\n      return;\n    }\n\n    const { canvas } = this;\n    const isNewEl = this.lastSelected !== el;\n\n    if (isNewEl || opts.force) {\n      this.lastSelected = el;\n      this.updateToolbar(component);\n    }\n\n    const unit = 'px';\n    const toolsEl = this.toggleToolsEl(1);\n    const { style } = toolsEl;\n    const targetToElem = canvas.getTargetToElementFixed(el, canvas.getToolbarEl(), { pos });\n    const topOff = targetToElem.canvasOffsetTop;\n    const leftOff = targetToElem.canvasOffsetLeft;\n    style.top = topOff + unit;\n    style.left = leftOff + unit;\n    style.width = pos.width + unit;\n    style.height = pos.height + unit;\n\n    this.updateToolbarPos({ top: targetToElem.top, left: targetToElem.left });\n    this._trgToolUp('global', {\n      component,\n      el: toolsEl,\n      top: topOff,\n      left: leftOff,\n      width: pos.width,\n      height: pos.height,\n    });\n  },\n\n  /**\n   * Update attached elements, eg. component toolbar\n   */\n  updateAttached: debounce(function () {\n    this.updateGlobalPos();\n  }),\n\n  onContainerChange: debounce(function () {\n    this.em.refreshCanvas();\n  }, 150),\n\n  /**\n   * Returns element's data info\n   * @param {HTMLElement} el\n   * @return {Object}\n   * @private\n   */\n  getElementPos(el) {\n    return this.canvas.getCanvasView().getElementPos(el);\n  },\n\n  /**\n   * Hide badge\n   * @private\n   * */\n  hideBadge() {\n    this.getBadge().style.display = 'none';\n  },\n\n  /**\n   * Clean previous model from different states\n   * @param {Component} model\n   * @private\n   */\n  cleanPrevious(model) {\n    model &&\n      model.set({\n        status: '',\n        state: '',\n      });\n  },\n\n  /**\n   * Returns content window\n   * @private\n   */\n  getContentWindow() {\n    return this.canvas.getWindow();\n  },\n\n  run(editor) {\n    if (!hasWin()) return;\n    this.editor = editor && editor.get('Editor');\n    this.enable();\n  },\n\n  stop(ed, sender, opts = {}) {\n    if (!hasWin()) return;\n    const { em, editor } = this;\n    this.onHovered(); // force to hide toolbar\n    this.stopSelectComponent();\n    !opts.preserveSelected && em.setSelected(null);\n    this.toggleToolsEl();\n    editor && editor.stopCommand('resize');\n  },\n};\n","import Backbone from 'backbone';\nconst $ = Backbone.$;\n\nexport default {\n  /**\n   * Start select position event\n   * @param {HTMLElement} trg\n   * @private\n   * */\n  startSelectPosition(trg, doc, opts = {}) {\n    this.isPointed = false;\n    var utils = this.editorModel.get('Utils');\n    const container = trg.ownerDocument.body;\n\n    if (utils && !this.sorter)\n      this.sorter = new utils.Sorter({\n        container,\n        placer: this.canvas.getPlacerEl(),\n        containerSel: '*',\n        itemSel: '*',\n        pfx: this.ppfx,\n        direction: 'a',\n        document: doc,\n        wmargin: 1,\n        nested: 1,\n        em: this.editorModel,\n        canvasRelative: 1,\n        scale: () => this.em.getZoomDecimal()\n      });\n\n    if (opts.onStart) this.sorter.onStart = opts.onStart;\n    trg && this.sorter.startSort(trg, { container });\n  },\n\n  /**\n   * Get frame position\n   * @return {Object}\n   * @private\n   */\n  getOffsetDim() {\n    var frameOff = this.offset(this.canvas.getFrameEl());\n    var canvasOff = this.offset(this.canvas.getElement());\n    var top = frameOff.top - canvasOff.top;\n    var left = frameOff.left - canvasOff.left;\n    return { top, left };\n  },\n\n  /**\n   * Stop select position event\n   * @private\n   * */\n  stopSelectPosition() {\n    this.posTargetCollection = null;\n    this.posIndex =\n      this.posMethod == 'after' && this.cDim.length !== 0\n        ? this.posIndex + 1\n        : this.posIndex; //Normalize\n    if (this.sorter) {\n      this.sorter.moved = 0;\n      this.sorter.endMove();\n    }\n    if (this.cDim) {\n      this.posIsLastEl =\n        this.cDim.length !== 0 &&\n        this.posMethod == 'after' &&\n        this.posIndex == this.cDim.length;\n      this.posTargetEl =\n        this.cDim.length === 0\n          ? $(this.outsideElem)\n          : !this.posIsLastEl && this.cDim[this.posIndex]\n          ? $(this.cDim[this.posIndex][5]).parent()\n          : $(this.outsideElem);\n      this.posTargetModel = this.posTargetEl.data('model');\n      this.posTargetCollection = this.posTargetEl.data('model-comp');\n    }\n  },\n\n  /**\n   * Enabel select position\n   * @private\n   */\n  enable() {\n    this.startSelectPosition();\n  },\n\n  /**\n   * Check if the pointer is near to the float component\n   * @param {number} index\n   * @param {string} method\n   * @param {Array<Array>} dims\n   * @return {Boolean}\n   * @private\n   * */\n  nearFloat(index, method, dims) {\n    var i = index || 0;\n    var m = method || 'before';\n    var len = dims.length;\n    var isLast = len !== 0 && m == 'after' && i == len;\n    if (\n      len !== 0 &&\n      ((!isLast && !dims[i][4]) ||\n        (dims[i - 1] && !dims[i - 1][4]) ||\n        (isLast && !dims[i - 1][4]))\n    )\n      return 1;\n    return 0;\n  },\n\n  run() {\n    this.enable();\n  },\n\n  stop() {\n    this.stopSelectPosition();\n    this.$wrapper.css('cursor', '');\n    this.$wrapper.unbind();\n  }\n};\n","import Backbone from 'backbone';\nimport { isUndefined } from 'underscore';\nimport { isTextNode } from 'utils/mixins';\nconst $ = Backbone.$;\n\nexport default {\n  getOffsetMethod(state) {\n    var method = state || '';\n    return 'get' + method + 'OffsetViewerEl';\n  },\n\n  run(editor, sender, opts) {\n    var opt = opts || {};\n    var state = opt.state || '';\n    var config = editor.getConfig();\n    const zoom = this.em.getZoomDecimal();\n    const el = opt.el || '';\n\n    if (\n      !config.showOffsets ||\n      isTextNode(el) ||\n      (!config.showOffsetsSelected && state == 'Fixed')\n    ) {\n      editor.stopCommand(this.id, opts);\n      return;\n    }\n\n    var canvas = editor.Canvas;\n    var pos = { ...(opt.elPos || canvas.getElementPos(el)) };\n\n    if (!isUndefined(opt.top)) {\n      pos.top = opt.top;\n    }\n    if (!isUndefined(opt.left)) {\n      pos.left = opt.left;\n    }\n\n    var style = window.getComputedStyle(el);\n    var ppfx = this.ppfx;\n    var stateVar = state + 'State';\n    var method = this.getOffsetMethod(state);\n    var offsetViewer = canvas[method](opts.view);\n    offsetViewer.style.opacity = '';\n\n    let marginT = this['marginT' + state];\n    let marginB = this['marginB' + state];\n    let marginL = this['marginL' + state];\n    let marginR = this['marginR' + state];\n    let padT = this['padT' + state];\n    let padB = this['padB' + state];\n    let padL = this['padL' + state];\n    let padR = this['padR' + state];\n\n    if (offsetViewer.childNodes.length) {\n      this[stateVar] = '1';\n      marginT = offsetViewer.querySelector('[data-offset-m-t]');\n      marginB = offsetViewer.querySelector('[data-offset-m-b]');\n      marginL = offsetViewer.querySelector('[data-offset-m-l]');\n      marginR = offsetViewer.querySelector('[data-offset-m-r]');\n      padT = offsetViewer.querySelector('[data-offset-p-t]');\n      padB = offsetViewer.querySelector('[data-offset-p-b]');\n      padL = offsetViewer.querySelector('[data-offset-p-l]');\n      padR = offsetViewer.querySelector('[data-offset-p-r]');\n    }\n\n    if (!this[stateVar]) {\n      var stateLow = state.toLowerCase();\n      var marginName = stateLow + 'margin-v';\n      var paddingName = stateLow + 'padding-v';\n      var marginV = $(`<div class=\"${ppfx}marginName\">`).get(0);\n      var paddingV = $(`<div class=\"${ppfx}paddingName\">`).get(0);\n      var marginEls = ppfx + marginName + '-el';\n      var paddingEls = ppfx + paddingName + '-el';\n      const fullMargName = `${marginEls} ${ppfx + marginName}`;\n      const fullPadName = `${paddingEls} ${ppfx + paddingName}`;\n      marginT = $(`<div class=\"${fullMargName}-top\"></div>`).get(0);\n      marginB = $(`<div class=\"${fullMargName}-bottom\"></div>`).get(0);\n      marginL = $(`<div class=\"${fullMargName}-left\"></div>`).get(0);\n      marginR = $(`<div class=\"${fullMargName}-right\"></div>`).get(0);\n      padT = $(`<div class=\"${fullPadName}-top\"></div>`).get(0);\n      padB = $(`<div class=\"${fullPadName}-bottom\"></div>`).get(0);\n      padL = $(`<div class=\"${fullPadName}-left\"></div>`).get(0);\n      padR = $(`<div class=\"${fullPadName}-right\"></div>`).get(0);\n      this['marginT' + state] = marginT;\n      this['marginB' + state] = marginB;\n      this['marginL' + state] = marginL;\n      this['marginR' + state] = marginR;\n      this['padT' + state] = padT;\n      this['padB' + state] = padB;\n      this['padL' + state] = padL;\n      this['padR' + state] = padR;\n      marginV.appendChild(marginT);\n      marginV.appendChild(marginB);\n      marginV.appendChild(marginL);\n      marginV.appendChild(marginR);\n      paddingV.appendChild(padT);\n      paddingV.appendChild(padB);\n      paddingV.appendChild(padL);\n      paddingV.appendChild(padR);\n      offsetViewer.appendChild(marginV);\n      offsetViewer.appendChild(paddingV);\n      this[stateVar] = '1';\n    }\n\n    var unit = 'px';\n    var marginLeftSt = parseFloat(style.marginLeft.replace(unit, '')) * zoom;\n    var marginRightSt = parseFloat(style.marginRight.replace(unit, '')) * zoom;\n    var marginTopSt = parseFloat(style.marginTop.replace(unit, '')) * zoom;\n    var marginBottomSt =\n      parseFloat(style.marginBottom.replace(unit, '')) * zoom;\n    var mtStyle = marginT.style;\n    var mbStyle = marginB.style;\n    var mlStyle = marginL.style;\n    var mrStyle = marginR.style;\n    var ptStyle = padT.style;\n    var pbStyle = padB.style;\n    var plStyle = padL.style;\n    var prStyle = padR.style;\n    var posLeft = parseFloat(pos.left);\n    var widthEl = parseFloat(style.width) * zoom + unit;\n\n    // Margin style\n    mtStyle.height = marginTopSt + unit;\n    mtStyle.width = widthEl;\n    mtStyle.top = pos.top - marginTopSt + unit;\n    mtStyle.left = posLeft + unit;\n\n    mbStyle.height = marginBottomSt + unit;\n    mbStyle.width = widthEl;\n    mbStyle.top = pos.top + pos.height + unit;\n    mbStyle.left = posLeft + unit;\n\n    var marginSideH = pos.height + marginTopSt + marginBottomSt + unit;\n    var marginSideT = pos.top - marginTopSt + unit;\n    mlStyle.height = marginSideH;\n    mlStyle.width = marginLeftSt + unit;\n    mlStyle.top = marginSideT;\n    mlStyle.left = posLeft - marginLeftSt + unit;\n\n    mrStyle.height = marginSideH;\n    mrStyle.width = marginRightSt + unit;\n    mrStyle.top = marginSideT;\n    mrStyle.left = posLeft + pos.width + unit;\n\n    // Padding style\n    var padTop = parseFloat(style.paddingTop) * zoom;\n    ptStyle.height = padTop + unit;\n    // ptStyle.width = widthEl;\n    // ptStyle.top = pos.top + unit;\n    // ptStyle.left = posLeft + unit;\n\n    var padBot = parseFloat(style.paddingBottom) * zoom;\n    pbStyle.height = padBot + unit;\n    // pbStyle.width = widthEl;\n    // pbStyle.top = pos.top + pos.height - padBot + unit;\n    // pbStyle.left = posLeft + unit;\n\n    var padSideH = pos.height - padBot - padTop + unit;\n    var padSideT = pos.top + padTop + unit;\n    plStyle.height = padSideH;\n    plStyle.width = parseFloat(style.paddingLeft) * zoom + unit;\n    plStyle.top = padSideT;\n    // plStyle.left = pos.left + unit;\n    //  plStyle.right = 0;\n\n    var padRight = parseFloat(style.paddingRight) * zoom;\n    prStyle.height = padSideH;\n    prStyle.width = padRight + unit;\n    prStyle.top = padSideT;\n    // prStyle.left = pos.left + pos.width - padRight + unit;\n    //  prStyle.left = 0;\n  },\n\n  stop(editor, sender, opts = {}) {\n    var opt = opts || {};\n    var state = opt.state || '';\n    var method = this.getOffsetMethod(state);\n    var canvas = editor.Canvas;\n    var offsetViewer = canvas[method](opts.view);\n    offsetViewer.style.opacity = 0;\n  }\n};\n","import { bindAll } from 'underscore';\n\nexport default {\n  init() {\n    bindAll(this, '_onFramesChange');\n  },\n\n  run(ed) {\n    this.toggleVis(ed);\n  },\n\n  stop(ed) {\n    this.toggleVis(ed, 0);\n  },\n\n  toggleVis(ed, active = 1) {\n    if (!ed.Commands.isActive('preview')) {\n      const cv = ed.Canvas;\n      const mth = active ? 'on' : 'off';\n      cv.getFrames().forEach(frame => this._upFrame(frame, active));\n      cv.getModel()[mth]('change:frames', this._onFramesChange);\n    }\n  },\n\n  _onFramesChange(m, frames) {\n    frames.forEach(frame => this._upFrame(frame, 1));\n  },\n\n  _upFrame(frame, active) {\n    const method = active ? 'add' : 'remove';\n    frame.view.getBody().classList[method](`${this.ppfx}dashed`);\n  }\n};\n","import { isString, isElement } from 'underscore';\nimport { createId } from 'utils/mixins';\n\nexport default {\n  getConfig(name) {\n    return this.__getConfig(name);\n  },\n\n  __getConfig(name) {\n    const res = this.config || {};\n    return name ? res[name] : res;\n  },\n\n  getAll(opts = {}) {\n    return this.all ? (opts.array ? [...this.all.models] : this.all) : [];\n  },\n\n  getAllMap() {\n    return this.getAll().reduce((acc, i) => {\n      acc[i.get(i.idAttribute)] = i;\n      return acc;\n    }, {});\n  },\n\n  __initConfig(def = {}, conf = {}) {\n    this.config = {\n      ...def,\n      ...conf,\n    };\n    this.em = this.config.em;\n    this.cls = [];\n  },\n\n  __initListen(opts = {}) {\n    const { all, em, events } = this;\n    all &&\n      em &&\n      all\n        .on('add', (m, c, o) => em.trigger(events.add, m, o))\n        .on('remove', (m, c, o) => em.trigger(events.remove, m, o))\n        .on('change', (p, c) => em.trigger(events.update, p, p.changedAttributes(), c))\n        .on('all', this.__catchAllEvent, this);\n    // Register collections\n    this.cls = [all].concat(opts.collections || []);\n    // Propagate events\n    (opts.propagate || []).forEach(({ entity, event }) => {\n      entity.on('all', (ev, model, coll, opts) => {\n        const options = opts || coll;\n        const opt = { event: ev, ...options };\n        [em, all].map(md => md.trigger(event, model, opt));\n      });\n    });\n  },\n\n  __remove(model, opts = {}) {\n    const { em } = this;\n    const md = isString(model) ? this.get(model) : model;\n    const rm = () => {\n      md && this.all.remove(md, opts);\n      return md;\n    };\n    !opts.silent && em && em.trigger(this.events.removeBefore, md, rm, opts);\n    return !opts.abort && rm();\n  },\n\n  __catchAllEvent(event, model, coll, opts) {\n    const { em, events } = this;\n    const options = opts || coll;\n    em && events.all && em.trigger(events.all, { event, model, options });\n    this.__onAllEvent();\n  },\n\n  __appendTo() {\n    const elTo = this.getConfig().appendTo;\n\n    if (elTo) {\n      const el = isElement(elTo) ? elTo : document.querySelector(elTo);\n      if (!el) return this.__logWarn('\"appendTo\" element not found');\n      el.appendChild(this.render());\n    }\n  },\n\n  __onAllEvent() {},\n\n  __logWarn(str) {\n    this.em.logWarning(`[${this.name}]: ${str}`);\n  },\n\n  _createId(len = 16) {\n    const all = this.getAll();\n    const ln = all.length + len;\n    const allMap = this.getAllMap();\n    let id;\n\n    do {\n      id = createId(ln);\n    } while (allMap[id]);\n\n    return id;\n  },\n\n  __listenAdd(model, event) {\n    model.on('add', (m, c, o) => this.em.trigger(event, m, o));\n  },\n\n  __listenRemove(model, event) {\n    model.on('remove', (m, c, o) => this.em.trigger(event, m, o));\n  },\n\n  __listenUpdate(model, event) {\n    model.on('change', (p, c) => this.em.trigger(event, p, p.changedAttributes(), c));\n  },\n\n  __destroy() {\n    this.cls.forEach(coll => {\n      coll.stopListening();\n      coll.reset();\n    });\n    this.em = 0;\n    this.config = 0;\n    this.view?.remove();\n    this.view = 0;\n  },\n};\n","export default {\n  // Style prefix\n  stylePrefix: 'css-',\n\n  // Default CSS style\n  rules: [],\n\n  /**\n   * Adjust style object before creation/update.\n   * @example\n   * onBeforeStyle(style) {\n   *    const padValue = style.padding;\n   *    if (padValue === '10px') {\n   *      delete style.padding;\n   *      style['padding-top'] = padValue;\n   *      // ...\n   *    }\n   *    return style;\n   * }\n   */\n  onBeforeStyle: null\n};\n","import { Model } from 'backbone';\nimport Styleable from 'domain_abstract/model/Styleable';\nimport { isEmpty, forEach, isString, isArray } from 'underscore';\nimport Selectors from 'selector_manager/model/Selectors';\nimport { getMediaLength } from 'code_manager/model/CssGenerator';\nimport { isEmptyObj, hasWin } from 'utils/mixins';\n\nconst { CSS } = hasWin() ? window : {};\n\n/**\n * @typedef CssRule\n * @property {Array<Selector>} selectors Array of selectors\n * @property {Object} style Object containing style definitions\n * @property {String} [selectorsAdd=''] Additional string css selectors\n * @property {String} [atRuleType=''] Type of at-rule, eg. `media`, 'font-face'\n * @property {String} [mediaText=''] At-rule value, eg. `(max-width: 1000px)`\n * @property {Boolean} [singleAtRule=false] This property is used only on at-rules, like 'page' or 'font-face', where the block containes only style declarations\n * @property {String} [state=''] State of the rule, eg: `hover`, `focused`\n * @property {Boolean|Array<String>} [important=false] If true, sets `!important` on all properties. You can also pass an array to specify properties on which use important\n * @property {Boolean} [stylable=true] Indicates if the rule is stylable from the editor\n *\n * [Device]: device.html\n * [State]: state.html\n * [Component]: component.html\n */\nexport default class CssRule extends Model.extend(Styleable) {\n  defaults() {\n    return {\n      selectors: [],\n      selectorsAdd: '',\n      style: {},\n      mediaText: '',\n      state: '',\n      stylable: true,\n      atRuleType: '',\n      singleAtRule: false,\n      important: false,\n      group: '',\n      // If true, won't be stored in JSON or showed in CSS\n      shallow: false,\n      _undo: true,\n    };\n  }\n\n  initialize(c, opt = {}) {\n    this.config = c || {};\n    this.opt = opt;\n    this.em = opt.em;\n    this.ensureSelectors();\n    this.on('change', this.__onChange);\n  }\n\n  __onChange(m, opts) {\n    const { em } = this;\n    const changed = this.changedAttributes();\n    !isEmptyObj(changed) && em && em.changesUp(opts);\n  }\n\n  clone() {\n    const opts = { ...this.opt };\n    const attr = { ...this.attributes };\n    attr.selectors = this.get('selectors').map(s => s.clone());\n    return new this.constructor(attr, opts);\n  }\n\n  ensureSelectors(m, c, opts) {\n    const { em } = this;\n    const sm = em && em.get('SelectorManager');\n    const toListen = [this, 'change:selectors', this.ensureSelectors];\n    let sels = this.getSelectors();\n    this.stopListening(...toListen);\n\n    if (sels.models) {\n      sels = [...sels.models];\n    }\n\n    sels = isString(sels) ? [sels] : sels;\n\n    if (Array.isArray(sels)) {\n      const res = sels.filter(i => i).map(i => (sm ? sm.add(i) : i));\n      sels = new Selectors(res);\n    }\n\n    this.set('selectors', sels, opts);\n    this.listenTo(...toListen);\n  }\n\n  /**\n   * Returns the at-rule statement when exists, eg. `@media (...)`, `@keyframes`\n   * @returns {String}\n   * @example\n   * const cssRule = editor.Css.setRule('.class1', { color: 'red' }, {\n   *  atRuleType: 'media',\n   *  atRuleParams: '(min-width: 500px)'\n   * });\n   * cssRule.getAtRule(); // \"@media (min-width: 500px)\"\n   */\n  getAtRule() {\n    const type = this.get('atRuleType');\n    const condition = this.get('mediaText');\n    // Avoid breaks with the last condition\n    const typeStr = type ? `@${type}` : condition ? '@media' : '';\n\n    return typeStr + (condition && typeStr ? ` ${condition}` : '');\n  }\n\n  /**\n   * Return selectors of the rule as a string\n   * @param {Object} [opts] Options\n   * @param {Boolean} [opts.skipState] Skip state from the result\n   * @returns {String}\n   * @example\n   * const cssRule = editor.Css.setRule('.class1:hover', { color: 'red' });\n   * cssRule.selectorsToString(); // \".class1:hover\"\n   * cssRule.selectorsToString({ skipState: true }); // \".class1\"\n   */\n  selectorsToString(opts = {}) {\n    const result = [];\n    const state = this.get('state');\n    const addSelector = this.get('selectorsAdd');\n    const selOpts = {\n      escape: str => (CSS && CSS.escape ? CSS.escape(str) : str),\n    };\n    const selectors = this.get('selectors').getFullString(0, selOpts);\n    const stateStr = state && !opts.skipState ? `:${state}` : '';\n    selectors && result.push(`${selectors}${stateStr}`);\n    addSelector && !opts.skipAdd && result.push(addSelector);\n    return result.join(', ');\n  }\n\n  /**\n   * Get declaration block (without the at-rule statement)\n   * @param {Object} [opts={}] Options (same as in `selectorsToString`)\n   * @returns {String}\n   * @example\n   * const cssRule = editor.Css.setRule('.class1', { color: 'red' }, {\n   *  atRuleType: 'media',\n   *  atRuleParams: '(min-width: 500px)'\n   * });\n   * cssRule.getDeclaration() // \".class1{color:red;}\"\n   */\n  getDeclaration(opts = {}) {\n    let result = '';\n    const selectors = this.selectorsToString(opts);\n    const style = this.styleToString(opts);\n    const singleAtRule = this.get('singleAtRule');\n\n    if ((selectors || singleAtRule) && (style || opts.allowEmpty)) {\n      result = singleAtRule ? style : `${selectors}{${style}}`;\n    }\n\n    return result;\n  }\n\n  /**\n   * Get the Device the rule is related to.\n   * @returns {[Device]|null}\n   * @example\n   * const device = rule.getDevice();\n   * console.log(device?.getName());\n   */\n  getDevice() {\n    const { em } = this;\n    const { atRuleType, mediaText } = this.attributes;\n    const devices = em?.get('DeviceManager').getDevices() || [];\n    const deviceDefault = devices.filter(d => d.getWidthMedia() === '')[0];\n    if (atRuleType !== 'media' || !mediaText) {\n      return deviceDefault || null;\n    }\n    return devices.filter(d => d.getWidthMedia() === getMediaLength(mediaText))[0] || null;\n  }\n\n  /**\n   * Get the State the rule is related to.\n   * @returns {[State]|null}\n   * @example\n   * const state = rule.getState();\n   * console.log(state?.getLabel());\n   */\n  getState() {\n    const { em } = this;\n    const stateValue = this.get('state');\n    const states = em.get('SelectorManager').getStates() || [];\n    return states.filter(s => s.getName() === stateValue)[0] || null;\n  }\n\n  /**\n   * Returns the related Component (valid only for component-specific rules).\n   * @returns {[Component]|null}\n   * @example\n   * const cmp = rule.getComponent();\n   * console.log(cmp?.toHTML());\n   */\n  getComponent() {\n    const sel = this.getSelectors();\n    const sngl = sel.length == 1 && sel.at(0);\n    const cmpId = sngl && sngl.isId() && sngl.get('name');\n    return (cmpId && this.em?.get('DomComponents').getById(cmpId)) || null;\n  }\n\n  /**\n   * Return the CSS string of the rule\n   * @param {Object} [opts={}] Options (same as in `getDeclaration`)\n   * @return {String} CSS string\n   * @example\n   * const cssRule = editor.Css.setRule('.class1', { color: 'red' }, {\n   *  atRuleType: 'media',\n   *  atRuleParams: '(min-width: 500px)'\n   * });\n   * cssRule.toCSS() // \"@media (min-width: 500px){.class1{color:red;}}\"\n   */\n  toCSS(opts = {}) {\n    let result = '';\n    const atRule = this.getAtRule();\n    const block = this.getDeclaration(opts);\n    if (block || opts.allowEmpty) {\n      result = block;\n    }\n\n    if (atRule && result) {\n      result = `${atRule}{${result}}`;\n    }\n\n    return result;\n  }\n\n  toJSON(...args) {\n    const obj = Model.prototype.toJSON.apply(this, args);\n\n    if (this.em.getConfig('avoidDefaults')) {\n      const defaults = this.defaults();\n\n      forEach(defaults, (value, key) => {\n        if (obj[key] === value) {\n          delete obj[key];\n        }\n      });\n\n      if (isEmpty(obj.selectors)) delete obj.selectors;\n      if (isEmpty(obj.style)) delete obj.style;\n    }\n\n    return obj;\n  }\n\n  /**\n   * Compare the actual model with parameters\n   * @param {Object} selectors Collection of selectors\n   * @param {String} state Css rule state\n   * @param {String} width For which device this style is oriented\n   * @param {Object} ruleProps Other rule props\n   * @returns  {Boolean}\n   * @private\n   */\n  compare(selectors, state, width, ruleProps = {}) {\n    const st = state || '';\n    const wd = width || '';\n    const selAdd = ruleProps.selectorsAdd || '';\n    let atRule = ruleProps.atRuleType || '';\n    const sel = !isArray(selectors) && !selectors.models ? [selectors] : selectors.models || selectors;\n\n    // Fix atRuleType in case is not specified with width\n    if (wd && !atRule) atRule = 'media';\n\n    const a1 = sel.map(model => model.getFullName());\n    const a2 = this.get('selectors').map(model => model.getFullName());\n\n    // Check selectors\n    const a1S = a1.slice().sort();\n    const a2S = a2.slice().sort();\n    if (a1.length !== a2.length || !a1S.every((v, i) => v === a2S[i])) {\n      return false;\n    }\n\n    // Check other properties\n    if (\n      this.get('state') !== st ||\n      this.get('mediaText') !== wd ||\n      this.get('selectorsAdd') !== selAdd ||\n      this.get('atRuleType') !== atRule\n    ) {\n      return false;\n    }\n\n    return true;\n  }\n}\n","import Backbone from 'backbone';\nimport CssRule from './CssRule';\n\nconst { Collection } = Backbone;\n\nexport default Collection.extend({\n  model: CssRule,\n\n  initialize(models, opt) {\n    // Inject editor\n    if (opt && opt.em) this.editor = opt.em;\n\n    // This will put the listener post CssComposer.postLoad\n    setTimeout(() => {\n      this.on('remove', this.onRemove);\n      this.on('add', this.onAdd);\n    });\n  },\n\n  toJSON(opts) {\n    const result = Collection.prototype.toJSON.call(this, opts);\n    return result.filter(rule => rule.style && !rule.shallow);\n  },\n\n  onAdd(model, c, o) {\n    model.ensureSelectors(model, c, o); // required for undo\n  },\n\n  onRemove(removed) {\n    const em = this.editor;\n    em.stopListening(removed);\n    em.get('UndoManager').remove(removed);\n  },\n\n  add(models, opt = {}) {\n    if (typeof models === 'string') {\n      models = this.editor.get('Parser').parseCss(models);\n    }\n    opt.em = this.editor;\n    return Collection.prototype.add.apply(this, [models, opt]);\n  },\n});\n","/**\n * This module manages CSS rules in the canvas.\n * You can customize the initial state of the module from the editor initialization, by passing the following [Configuration Object](https://github.com/artf/grapesjs/blob/master/src/css_composer/config/config.js)\n * ```js\n * const editor = grapesjs.init({\n *  cssComposer: {\n *    // options\n *  }\n * })\n * ```\n *\n * Once the editor is instantiated you can use its API. Before using these methods you should get the module from the instance\n *\n * ```js\n * const css = editor.Css;\n * ```\n *\n * * [addRules](#addrules)\n * * [setRule](#setrule)\n * * [getRule](#getrule)\n * * [getRules](#getrules)\n * * [remove](#remove)\n * * [clear](#clear)\n *\n * [CssRule]: css_rule.html\n *\n * @module CssComposer\n */\n\nimport { isArray, isString, isUndefined, each } from 'underscore';\nimport { isObject } from 'utils/mixins';\nimport defaults from './config/config';\nimport CssRule from './model/CssRule';\nimport CssRules from './model/CssRules';\nimport CssRulesView from './view/CssRulesView';\nimport Selectors from 'selector_manager/model/Selectors';\nimport Selector from 'selector_manager/model/Selector';\n\nexport default () => {\n  let em;\n  var c = {};\n  var rules, rulesView;\n\n  return {\n    Selectors,\n\n    /**\n     * Name of the module\n     * @type {String}\n     * @private\n     */\n    name: 'CssComposer',\n\n    getConfig() {\n      return c;\n    },\n\n    /**\n     * Mandatory for the storage manager\n     * @type {String}\n     * @private\n     */\n    storageKey() {\n      var keys = [];\n      var smc = (c.stm && c.stm.getConfig()) || {};\n      if (smc.storeCss) keys.push('css');\n      if (smc.storeStyles) keys.push('styles');\n      return keys;\n    },\n\n    /**\n     * Initializes module. Automatically called with a new instance of the editor\n     * @param {Object} config Configurations\n     * @private\n     */\n    init(config) {\n      c = config || {};\n      for (var name in defaults) {\n        if (!(name in c)) c[name] = defaults[name];\n      }\n\n      var ppfx = c.pStylePrefix;\n      if (ppfx) c.stylePrefix = ppfx + c.stylePrefix;\n\n      var elStyle = (c.em && c.em.config.style) || '';\n      c.rules = elStyle || c.rules;\n\n      em = c.em;\n      rules = new CssRules([], c);\n      return this;\n    },\n\n    /**\n     * On load callback\n     * @private\n     */\n    onLoad() {\n      rules.add(c.rules, { silent: 1 });\n    },\n\n    /**\n     * Do stuff after load\n     * @param  {Editor} em\n     * @private\n     */\n    postLoad() {\n      const um = em && em.get('UndoManager');\n      um && um.add(this.getAll());\n    },\n\n    /**\n     * Load data from the passed object, if the object is empty will try to fetch them\n     * autonomously from the storage manager.\n     * The fetched data will be added to the collection\n     * @param {Object} data Object of data to load\n     * @return {Object} Loaded rules\n     * @private\n     */\n    load(data) {\n      var d = data || '';\n\n      if (!d && c.stm) {\n        d = c.em.getCacheLoad();\n      }\n\n      var obj = d.styles || '';\n\n      if (d.styles) {\n        try {\n          obj = JSON.parse(d.styles);\n        } catch (err) {}\n      } else if (d.css) {\n        obj = c.em.get('Parser').parseCss(d.css);\n      }\n\n      if (isArray(obj)) {\n        obj.length && rules.reset(obj);\n      } else if (obj) {\n        rules.reset(obj);\n      }\n\n      return obj;\n    },\n\n    /**\n     * Store data to the selected storage\n     * @param {Boolean} noStore If true, won't store\n     * @return {Object} Data to store\n     * @private\n     */\n    store(noStore) {\n      if (!c.stm) return;\n      const obj = {};\n      const keys = this.storageKey();\n      const hasPages = em && em.get('hasPages');\n      if (keys.indexOf('css') >= 0 && !hasPages) obj.css = c.em.getCss();\n      if (keys.indexOf('styles') >= 0) obj.styles = JSON.stringify(rules);\n      if (!noStore) c.stm.store(obj);\n      return obj;\n    },\n\n    /**\n     * Add new rule to the collection, if not yet exists with the same selectors\n     * @param {Array<Selector>} selectors Array of selectors\n     * @param {String} state Css rule state\n     * @param {String} width For which device this style is oriented\n     * @param {Object} props Other props for the rule\n     * @param {Object} opts Options for the add of new rule\n     * @return {Model}\n     * @private\n     * @example\n     * var sm = editor.SelectorManager;\n     * var sel1 = sm.add('myClass1');\n     * var sel2 = sm.add('myClass2');\n     * var rule = cssComposer.add([sel1, sel2], 'hover');\n     * rule.set('style', {\n     *   width: '100px',\n     *   color: '#fff',\n     * });\n     * */\n    add(selectors, state, width, opts = {}, addOpts = {}) {\n      var s = state || '';\n      var w = width || '';\n      var opt = { ...opts };\n      var rule = this.get(selectors, s, w, opt);\n\n      // do not create rules that were found before\n      // unless this is a single at-rule, for which multiple declarations\n      // make sense (e.g. multiple `@font-type`s)\n      if (rule && rule.config && !rule.config.singleAtRule) {\n        return rule;\n      } else {\n        opt.state = s;\n        opt.mediaText = w;\n        opt.selectors = [];\n        w && (opt.atRuleType = 'media');\n        rule = new CssRule(opt, c);\n        rule.get('selectors').add(selectors, addOpts);\n        rules.add(rule, addOpts);\n        return rule;\n      }\n    },\n\n    /**\n     * Get the rule\n     * @param {String|Array<Selector>} selectors Array of selectors or selector string, eg `.myClass1.myClass2`\n     * @param {String} state Css rule state, eg. 'hover'\n     * @param {String} width Media rule value, eg. '(max-width: 992px)'\n     * @param {Object} ruleProps Other rule props\n     * @return  {Model|null}\n     * @private\n     * @example\n     * const sm = editor.SelectorManager;\n     * const sel1 = sm.add('myClass1');\n     * const sel2 = sm.add('myClass2');\n     * const rule = cssComposer.get([sel1, sel2], 'hover', '(max-width: 992px)');\n     * // Update the style\n     * rule.set('style', {\n     *   width: '300px',\n     *   color: '#000',\n     * });\n     * */\n    get(selectors, state, width, ruleProps) {\n      let slc = selectors;\n      if (isString(selectors)) {\n        const sm = em.get('SelectorManager');\n        const singleSel = selectors.split(',')[0].trim();\n        const node = em.get('Parser').parserCss.checkNode({ selectors: singleSel })[0];\n        slc = sm.get(node.selectors);\n      }\n      return rules.find(rule => rule.compare(slc, state, width, ruleProps)) || null;\n    },\n\n    getAll() {\n      return rules;\n    },\n\n    /**\n     * Add a raw collection of rule objects\n     * This method overrides styles, in case, of already defined rule\n     * @param {String|Array<Object>} data CSS string or an array of rule objects, eg. [{selectors: ['class1'], style: {....}}, ..]\n     * @param {Object} opts Options\n     * @param {Object} props Additional properties to add on rules\n     * @return {Array<Model>}\n     * @private\n     */\n    addCollection(data, opts = {}, props = {}) {\n      const result = [];\n\n      if (isString(data)) {\n        data = em.get('Parser').parseCss(data);\n      }\n\n      const d = data instanceof Array ? data : [data];\n\n      for (var i = 0, l = d.length; i < l; i++) {\n        var rule = d[i] || {};\n        if (!rule.selectors) continue;\n        var sm = c.em && c.em.get('SelectorManager');\n        if (!sm) console.warn('Selector Manager not found');\n        var sl = rule.selectors;\n        var sels = sl instanceof Array ? sl : [sl];\n        var newSels = [];\n\n        for (var j = 0, le = sels.length; j < le; j++) {\n          var selec = sm.add(sels[j]);\n          newSels.push(selec);\n        }\n\n        var modelExists = this.get(newSels, rule.state, rule.mediaText, rule);\n        var model = this.add(newSels, rule.state, rule.mediaText, rule, opts);\n        var updateStyle = !modelExists || !opts.avoidUpdateStyle;\n        const style = rule.style || {};\n\n        isObject(props) && model.set(props, opts);\n\n        if (updateStyle) {\n          let styleUpdate = opts.extend ? { ...model.get('style'), ...style } : style;\n          model.set('style', styleUpdate, opts);\n        }\n\n        result.push(model);\n      }\n\n      return result;\n    },\n\n    /**\n     * Add CssRules via CSS string.\n     * @param {String} css CSS string of rules to add.\n     * @returns {Array<[CssRule]>} Array of rules\n     * @example\n     * const addedRules = css.addRules('.my-cls{ color: red } @media (max-width: 992px) { .my-cls{ color: darkred } }');\n     * // Check rules\n     * console.log(addedRules.map(rule => rule.toCSS()));\n     */\n    addRules(css) {\n      return this.addCollection(css);\n    },\n\n    /**\n     * Add/update the CssRule.\n     * @param {String} selectors Selector string, eg. `.myclass`\n     * @param {Object} style  Style properties and values\n     * @param {Object} [opts={}]  Additional properties\n     * @param {String} [opts.atRuleType='']  At-rule type, eg. `media`\n     * @param {String} [opts.atRuleParams='']  At-rule parameters, eg. `(min-width: 500px)`\n     * @returns {[CssRule]} The new/updated CssRule\n     * @example\n     * // Simple class-based rule\n     * const rule = css.setRule('.class1.class2', { color: 'red' });\n     * console.log(rule.toCSS()) // output: .class1.class2 { color: red }\n     * // With state and other mixed selector\n     * const rule = css.setRule('.class1.class2:hover, div#myid', { color: 'red' });\n     * // output: .class1.class2:hover, div#myid { color: red }\n     * // With media\n     * const rule = css.setRule('.class1:hover', { color: 'red' }, {\n     *  atRuleType: 'media',\n     *  atRuleParams: '(min-width: 500px)',\n     * });\n     * // output: @media (min-width: 500px) { .class1:hover { color: red } }\n     */\n    setRule(selectors, style, opts = {}) {\n      const { atRuleType, atRuleParams } = opts;\n      const node = em.get('Parser').parserCss.checkNode({\n        selectors,\n        style,\n      })[0];\n      const { state, selectorsAdd } = node;\n      const sm = em.get('SelectorManager');\n      const selector = sm.add(node.selectors);\n      const rule = this.add(selector, state, atRuleParams, {\n        selectorsAdd,\n        atRule: atRuleType,\n      });\n      rule.setStyle(style, opts);\n      return rule;\n    },\n\n    /**\n     * Get the CssRule.\n     * @param {String} selectors Selector string, eg. `.myclass:hover`\n     * @param {Object} [opts={}]  Additional properties\n     * @param {String} [opts.atRuleType='']  At-rule type, eg. `media`\n     * @param {String} [opts.atRuleParams='']  At-rule parameters, eg. '(min-width: 500px)'\n     * @returns {[CssRule]}\n     * @example\n     * const rule = css.getRule('.myclass1:hover');\n     * const rule2 = css.getRule('.myclass1:hover, div#myid');\n     * const rule3 = css.getRule('.myclass1', {\n     *  atRuleType: 'media',\n     *  atRuleParams: '(min-width: 500px)',\n     * });\n     */\n    getRule(selectors, opts = {}) {\n      const sm = em.get('SelectorManager');\n      const node = em.get('Parser').parserCss.checkNode({ selectors })[0];\n      const selector = sm.get(node.selectors);\n      const { state, selectorsAdd } = node;\n      const { atRuleType, atRuleParams } = opts;\n      return (\n        selector &&\n        this.get(selector, state, atRuleParams, {\n          selectorsAdd,\n          atRule: atRuleType,\n        })\n      );\n    },\n\n    /**\n     * Get all rules or filtered by a matching selector.\n     * @param {String} [selector=''] Selector, eg. `.myclass`\n     * @returns {Array<[CssRule]>}\n     * @example\n     * // Take all the component specific rules\n     * const id = someComponent.getId();\n     * const rules = css.getRules(`#${id}`);\n     * console.log(rules.map(rule => rule.toCSS()))\n     * // All rules in the project\n     * console.log(css.getRules())\n     */\n    getRules(selector) {\n      const rules = this.getAll();\n      if (!selector) return [...rules.models];\n      const sels = isString(selector) ? selector.split(',').map(s => s.trim()) : selector;\n      const result = rules.filter(r => sels.indexOf(r.getSelectors().getFullString()) >= 0);\n      return result;\n    },\n\n    /**\n     * Add/update the CSS rule with id selector\n     * @param {string} name Id selector name, eg. 'my-id'\n     * @param {Object} style  Style properties and values\n     * @param {Object} [opts={}]  Custom options, like `state` and `mediaText`\n     * @return {CssRule} The new/updated rule\n     * @private\n     * @example\n     * const rule = css.setIdRule('myid', { color: 'red' });\n     * const ruleHover = css.setIdRule('myid', { color: 'blue' }, { state: 'hover' });\n     * // This will add current CSS:\n     * // #myid { color: red }\n     * // #myid:hover { color: blue }\n     */\n    setIdRule(name, style = {}, opts = {}) {\n      const { addOpts = {}, mediaText } = opts;\n      const state = opts.state || '';\n      const media = !isUndefined(mediaText) ? mediaText : em.getCurrentMedia();\n      const sm = em.get('SelectorManager');\n      const selector = sm.add({ name, type: Selector.TYPE_ID }, addOpts);\n      const rule = this.add(selector, state, media, {}, addOpts);\n      rule.setStyle(style, { ...opts, ...addOpts });\n      return rule;\n    },\n\n    /**\n     * Get the CSS rule by id selector\n     * @param {string} name Id selector name, eg. 'my-id'\n     * @param  {Object} [opts={}]  Custom options, like `state` and `mediaText`\n     * @return {CssRule}\n     * @private\n     * @example\n     * const rule = css.getIdRule('myid');\n     * const ruleHover = css.setIdRule('myid', { state: 'hover' });\n     */\n    getIdRule(name, opts = {}) {\n      const { mediaText } = opts;\n      const state = opts.state || '';\n      const media = !isUndefined(mediaText) ? mediaText : em.getCurrentMedia();\n      const selector = em.get('SelectorManager').get(name, Selector.TYPE_ID);\n      return selector && this.get(selector, state, media);\n    },\n\n    /**\n     * Add/update the CSS rule with class selector\n     * @param {string} name Class selector name, eg. 'my-class'\n     * @param {Object} style  Style properties and values\n     * @param {Object} [opts={}]  Custom options, like `state` and `mediaText`\n     * @return {CssRule} The new/updated rule\n     * @private\n     * @example\n     * const rule = css.setClassRule('myclass', { color: 'red' });\n     * const ruleHover = css.setClassRule('myclass', { color: 'blue' }, { state: 'hover' });\n     * // This will add current CSS:\n     * // .myclass { color: red }\n     * // .myclass:hover { color: blue }\n     */\n    setClassRule(name, style = {}, opts = {}) {\n      const state = opts.state || '';\n      const media = opts.mediaText || em.getCurrentMedia();\n      const sm = em.get('SelectorManager');\n      const selector = sm.add({ name, type: Selector.TYPE_CLASS });\n      const rule = this.add(selector, state, media);\n      rule.setStyle(style, opts);\n      return rule;\n    },\n\n    /**\n     * Get the CSS rule by class selector\n     * @param {string} name Class selector name, eg. 'my-class'\n     * @param  {Object} [opts={}]  Custom options, like `state` and `mediaText`\n     * @return {CssRule}\n     * @private\n     * @example\n     * const rule = css.getClassRule('myclass');\n     * const ruleHover = css.getClassRule('myclass', { state: 'hover' });\n     */\n    getClassRule(name, opts = {}) {\n      const state = opts.state || '';\n      const media = opts.mediaText || em.getCurrentMedia();\n      const selector = em.get('SelectorManager').get(name, Selector.TYPE_CLASS);\n      return selector && this.get(selector, state, media);\n    },\n\n    /**\n     * Remove rule, by CssRule or matching selector (eg. the selector will match also at-rules like `@media`)\n     * @param {String|[CssRule]|Array<[CssRule]>} rule CssRule or matching selector.\n     * @return {Array<[CssRule]>} Removed rules\n     * @example\n     * // Remove by CssRule\n     * const toRemove = css.getRules('.my-cls');\n     * css.remove(toRemove);\n     * // Remove by selector\n     * css.remove('.my-cls-2');\n     */\n    remove(rule, opts) {\n      const toRemove = isString(rule) ? this.getRules(rule) : rule;\n      const result = this.getAll().remove(toRemove, opts);\n      return isArray(result) ? result : [result];\n    },\n\n    /**\n     * Remove all rules\n     * @return {this}\n     */\n    clear(opts = {}) {\n      this.getAll().reset(null, opts);\n      return this;\n    },\n\n    getComponentRules(cmp, opts = {}) {\n      let { state, mediaText, current } = opts;\n      if (current) {\n        state = em.get('state') || '';\n        mediaText = em.getCurrentMedia();\n      }\n      const id = cmp.getId();\n      const rules = this.getAll().filter(r => {\n        if (!isUndefined(state) && r.get('state') !== state) return;\n        if (!isUndefined(mediaText) && r.get('mediaText') !== mediaText) return;\n        return r.getSelectorsString() === `#${id}`;\n      });\n      return rules;\n    },\n\n    /**\n     * Render the block of CSS rules\n     * @return {HTMLElement}\n     * @private\n     */\n    render() {\n      rulesView && rulesView.remove();\n      rulesView = new CssRulesView({\n        collection: rules,\n        config: c,\n      });\n      return rulesView.render().el;\n    },\n\n    destroy() {\n      rules.reset();\n      rules.stopListening();\n      rulesView && rulesView.remove();\n      [em, rules, rulesView].forEach(i => (i = null));\n      c = {};\n    },\n  };\n};\n","import Backbone from 'backbone';\n\nexport default Backbone.View.extend({\n  tagName: 'style',\n\n  initialize(o = {}) {\n    this.config = o.config || {};\n    const { model } = this;\n    this.listenTo(model, 'change', this.render);\n    this.listenTo(model, 'destroy remove', this.remove);\n    this.listenTo(model.get('selectors'), 'change', this.render);\n  },\n\n  render() {\n    const { model, el } = this;\n    const important = model.get('important');\n    el.innerHTML = model.toCSS({ important });\n    return this;\n  }\n});\n","import CssRuleView from './CssRuleView';\n\nexport default CssRuleView.extend({\n  _createElement: function(tagName) {\n    return document.createTextNode('');\n  },\n\n  render() {\n    const model = this.model;\n    const important = model.get('important');\n    this.el.textContent = model.getDeclaration({ important });\n    return this;\n  }\n});\n","import Backbone from 'backbone';\nimport CssRuleView from './CssRuleView';\nimport CssGroupRuleView from './CssGroupRuleView';\n\nconst $ = Backbone.$;\n\nconst getBlockId = (pfx, order) =>\n  `${pfx}${order ? `-${parseFloat(order)}` : ''}`;\n\nexport default Backbone.View.extend({\n  initialize(o) {\n    const config = o.config || {};\n    this.atRules = {};\n    this.config = config;\n    this.em = config.em;\n    this.pfx = config.stylePrefix || '';\n    this.className = this.pfx + 'rules';\n    const coll = this.collection;\n    this.listenTo(coll, 'add', this.addTo);\n    this.listenTo(coll, 'reset', this.render);\n  },\n\n  /**\n   * Add to collection\n   * @param {Object} model\n   * @private\n   * */\n  addTo(model) {\n    this.addToCollection(model);\n  },\n\n  /**\n   * Add new object to collection\n   * @param {Object} model\n   * @param {Object} fragmentEl\n   * @return {Object}\n   * @private\n   * */\n  addToCollection(model, fragmentEl) {\n    // If the render is not yet started\n    if (!this.renderStarted) {\n      return;\n    }\n\n    const fragment = fragmentEl || null;\n    const { config } = this;\n    const opts = { model, config };\n    let rendered, view;\n\n    // I have to render keyframes of the same name together\n    // Unfortunately at the moment I didn't find the way of appending them\n    // if not staticly, via appendData\n    if (model.get('atRuleType') === 'keyframes') {\n      const atRule = model.getAtRule();\n      let atRuleEl = this.atRules[atRule];\n\n      if (!atRuleEl) {\n        const styleEl = document.createElement('style');\n        atRuleEl = document.createTextNode('');\n        styleEl.appendChild(document.createTextNode(`${atRule}{`));\n        styleEl.appendChild(atRuleEl);\n        styleEl.appendChild(document.createTextNode(`}`));\n        this.atRules[atRule] = atRuleEl;\n        rendered = styleEl;\n      }\n\n      view = new CssGroupRuleView(opts);\n      atRuleEl.appendData(view.render().el.textContent);\n    } else {\n      view = new CssRuleView(opts);\n      rendered = view.render().el;\n    }\n\n    const clsName = this.className;\n    const mediaText = model.get('mediaText');\n    const defaultBlockId = getBlockId(clsName);\n    let blockId = defaultBlockId;\n\n    // If the rule contains a media query it might have a different container\n    // for it (eg. rules created with Device Manager)\n    if (mediaText) {\n      blockId = getBlockId(clsName, this.getMediaWidth(mediaText));\n    }\n\n    if (rendered) {\n      const container = fragment || this.el;\n      let contRules;\n\n      // Try to find a specific container for the rule (if it\n      // containes a media query), otherwise get the default one\n      try {\n        contRules = container.querySelector(`#${blockId}`);\n      } catch (e) {}\n\n      if (!contRules) {\n        contRules = container.querySelector(`#${defaultBlockId}`);\n      }\n\n      contRules.appendChild(rendered);\n    }\n\n    return rendered;\n  },\n\n  getMediaWidth(mediaText) {\n    return (\n      mediaText &&\n      mediaText\n        .replace(`(${this.em.getConfig('mediaCondition')}: `, '')\n        .replace(')', '')\n    );\n  },\n\n  render() {\n    this.renderStarted = 1;\n    this.atRules = {};\n    const { em, $el, className, collection } = this;\n    const frag = document.createDocumentFragment();\n    $el.empty();\n\n    // Create devices related DOM structure, ensure also to have a default container\n    const prs = em\n      .get('DeviceManager')\n      .getAll()\n      .pluck('priority');\n    prs.every(pr => pr) && prs.unshift(0);\n    prs.forEach(pr =>\n      $(`<div id=\"${getBlockId(className, pr)}\"></div>`).appendTo(frag)\n    );\n\n    collection.each(model => this.addToCollection(model, frag));\n    $el.append(frag);\n    $el.attr('class', className);\n    return this;\n  }\n});\n","export default {\n  // The device `id` to select on start, if not indicated, the first available from `devices` will be used.\n  default: null,\n\n  // Default devices\n  devices: [\n    {\n      id: 'desktop',\n      name: 'Desktop',\n      width: '',\n    },\n    {\n      id: 'tablet',\n      name: 'Tablet',\n      width: '770px',\n      widthMedia: '992px',\n    },\n    {\n      id: 'mobileLandscape',\n      name: 'Mobile landscape',\n      width: '568px',\n      widthMedia: '768px',\n    },\n    {\n      id: 'mobilePortrait',\n      name: 'Mobile portrait',\n      width: '320px',\n      widthMedia: '480px',\n    },\n  ],\n};\n","import { Model } from 'backbone';\n\n/**\n * @typedef Device\n * @property {String} [name=''] Device type, eg. `Mobile`\n * @property {String} [width] Width to set for the editor iframe, eg. '900px'\n * @property {String} [height=''] Height to set for the editor iframe, eg. '600px'\n * @property {String} [widthMedia=''] The width which will be used in media queries, If empty the width will be used\n * @property {Number} [priority=null] Setup the order of media queries\n */\nexport default class Device extends Model {\n  defaults() {\n    return {\n      name: '',\n      width: null,\n      height: '',\n      widthMedia: null,\n      priority: null\n    };\n  }\n\n  initialize() {\n    this.get('widthMedia') === null &&\n      this.set('widthMedia', this.get('width'));\n    this.get('width') === null && this.set('width', this.get('widthMedia'));\n    !this.get('priority') &&\n      this.set('priority', parseFloat(this.get('widthMedia')) || 0);\n    const toCheck = ['width', 'height', 'widthMedia'];\n    toCheck.forEach(prop => this.checkUnit(prop));\n  }\n\n  checkUnit(prop) {\n    const pr = this.get(prop) || '';\n    const noUnit = (parseFloat(pr) || 0).toString() === pr.toString();\n    noUnit && this.set(prop, `${pr}px`);\n  }\n\n  getName() {\n    return this.get('name') || this.get('id');\n  }\n\n  getWidthMedia() {\n    return this.get('widthMedia') || '';\n  }\n}\n","import { Collection } from 'backbone';\nimport Device from './Device';\n\nexport default class Devices extends Collection {\n  comparator(left, right) {\n    const max = Number.MAX_VALUE;\n    return (right.get('priority') || max) - (left.get('priority') || max);\n  }\n\n  getSorted() {\n    return this.sort();\n  }\n}\n\nDevices.prototype.model = Device;\n","import { View } from 'backbone';\nimport html from 'utils/html';\n\nexport default class DevicesView extends View {\n  template({ ppfx, label }) {\n    return html`\n      <div class=\"${ppfx}device-label\">${label}</div>\n      <div class=\"${ppfx}field ${ppfx}select\">\n        <span id=\"${ppfx}input-holder\">\n          <select class=\"${ppfx}devices\"></select>\n        </span>\n        <div class=\"${ppfx}sel-arrow\">\n          <div class=\"${ppfx}d-s-arrow\"></div>\n        </div>\n      </div>\n      <button style=\"display:none\" class=\"${ppfx}add-trasp\">+</button>\n    `;\n  }\n\n  events() {\n    return {\n      change: 'updateDevice'\n    };\n  }\n\n  initialize(o) {\n    this.config = o.config || {};\n    this.em = this.config.em;\n    this.ppfx = this.config.pStylePrefix || '';\n    this.events['click .' + this.ppfx + 'add-trasp'] = this.startAdd;\n    this.listenTo(this.em, 'change:device', this.updateSelect);\n    this.delegateEvents();\n  }\n\n  /**\n   * Start adding new device\n   * @return {[type]} [description]\n   * @private\n   */\n  startAdd() {}\n\n  /**\n   * Update device of the editor\n   * @private\n   */\n  updateDevice() {\n    var em = this.em;\n    if (em) {\n      var devEl = this.devicesEl;\n      var val = devEl ? devEl.val() : '';\n      em.set('device', val);\n    }\n  }\n\n  /**\n   * Update select value on device update\n   * @private\n   */\n  updateSelect() {\n    var em = this.em;\n    var devEl = this.devicesEl;\n    if (em && em.getDeviceModel && devEl) {\n      var device = em.getDeviceModel();\n      var name = device ? device.get('id') : '';\n      devEl.val(name);\n    }\n  }\n\n  /**\n   * Return devices options\n   * @return {string} String of options\n   * @private\n   */\n  getOptions() {\n    const { collection, em } = this;\n    let result = '';\n\n    collection.each(device => {\n      const { name, id } = device.attributes;\n      const label = (em && em.t && em.t(`deviceManager.devices.${id}`)) || name;\n      result += `<option value=\"${id || name}\">${label}</option>`;\n    });\n\n    return result;\n  }\n\n  render() {\n    const { em, ppfx, $el, el } = this;\n    const label = em && em.t && em.t('deviceManager.device');\n    $el.html(this.template({ ppfx, label }));\n    this.devicesEl = $el.find(`.${ppfx}devices`);\n    this.devicesEl.append(this.getOptions());\n    this.devicesEl.val(em.get('device'));\n    el.className = `${ppfx}devices-c`;\n    return this;\n  }\n}\n","/**\n * You can customize the initial state of the module from the editor initialization, by passing the following [Configuration Object](https://github.com/artf/grapesjs/blob/master/src/device_manager/config/config.js)\n * ```js\n * const editor = grapesjs.init({\n *  deviceManager: {\n *    // options\n *  }\n * })\n * ```\n *\n * Once the editor is instantiated you can use its API. Before using these methods you should get the module from the instance\n *\n * ```js\n * const deviceManager = editor.Devices;\n * ```\n * ## Available Events\n * * `device:add` - Added new device. The [Device] is passed as an argument to the callback\n * * `device:remove` - Device removed. The [Device] is passed as an argument to the callback\n * * `device:select` - New device selected. The newly selected [Device] and the previous one, are passed as arguments to the callback\n * * `device:update` - Device updated. The updated [Device] and the object containing changes are passed as arguments to the callback\n * * `device` - Catch-all event for all the events mentioned above. An object containing all the available data about the triggered event is passed as an argument to the callback\n *\n * ## Methods\n * * [add](#add)\n * * [get](#get)\n * * [getDevices](#getdevices)\n * * [remove](#remove)\n * * [select](#select)\n * * [getSelected](#getselected)\n *\n * [Device]: device.html\n *\n * @module Devices\n */\nimport { isString } from 'underscore';\nimport Module from 'common/module';\nimport defaults from './config/config';\nimport Device from './model/Device';\nimport Devices from './model/Devices';\nimport DevicesView from './view/DevicesView';\n\nexport const evAll = 'device';\nexport const evPfx = `${evAll}:`;\nexport const evSelect = `${evPfx}select`;\nexport const evSelectBefore = `${evSelect}:before`;\nexport const evUpdate = `${evPfx}update`;\nexport const evAdd = `${evPfx}add`;\nexport const evAddBefore = `${evAdd}:before`;\nexport const evRemove = `${evPfx}remove`;\nexport const evRemoveBefore = `${evRemove}:before`;\nconst chnSel = 'change:device';\n\nexport default () => {\n  let c = {};\n  let devices;\n  let view;\n\n  return {\n    ...Module,\n\n    name: 'DeviceManager',\n\n    Device,\n\n    Devices,\n\n    events: {\n      all: evAll,\n      select: evSelect,\n      // selectBefore: evSelectBefore,\n      update: evUpdate,\n      add: evAdd,\n      // addBefore: evAddBefore,\n      remove: evRemove,\n      removeBefore: evRemoveBefore\n    },\n\n    init(config = {}) {\n      c = { ...defaults, ...config };\n      const { em } = c;\n\n      devices = new Devices();\n      c.devices.forEach(dv => this.add(dv));\n      this.em = em;\n      this.all = devices;\n      this.select(c.default || devices.at(0));\n      this.__initListen();\n      em.on(chnSel, this._onSelect, this);\n\n      return this;\n    },\n\n    _onSelect(m, deviceId, opts) {\n      const { em, events } = this;\n      const prevId = m.previous('device');\n      const newDevice = this.get(deviceId);\n      const ev = events.select;\n      em.trigger(ev, newDevice, this.get(prevId));\n      this.__catchAllEvent(ev, newDevice, opts);\n    },\n\n    /**\n     * Add new device\n     * @param {Object} props Device properties\n     * @returns {[Device]} Added device\n     * @example\n     * const device1 = deviceManager.add({\n     *  // Without an explicit ID, the `name` will be taken. In case of missing `name`, a random ID will be created.\n     *  id: 'tablet',\n     *  name: 'Tablet',\n     *  width: '900px', // This width will be applied on the canvas frame and for the CSS media\n     * });\n     * const device2 = deviceManager.add({\n     *  id: 'tablet2',\n     *  name: 'Tablet 2',\n     *  width: '800px', // This width will be applied on the canvas frame\n     *  widthMedia: '810px', // This width that will be used for the CSS media\n     *  height: '600px', // Height will be applied on the canvas frame\n     * });\n     */\n    add(props, options = {}) {\n      let result;\n      let opts = options;\n\n      // Support old API\n      if (isString(props)) {\n        const width = options;\n        opts = arguments[2] || {};\n        result = {\n          ...opts,\n          id: props,\n          name: opts.name || props,\n          width\n        };\n      } else {\n        result = props;\n      }\n\n      if (!result.id) {\n        result.id = result.name || this._createId();\n      }\n\n      return devices.add(result, opts);\n    },\n\n    /**\n     * Return device by ID\n     * @param  {String} id ID of the device\n     * @returns {[Device]|null}\n     * @example\n     * const device = deviceManager.get('Tablet');\n     * console.log(JSON.stringify(device));\n     * // {name: 'Tablet', width: '900px'}\n     */\n    get(id) {\n      // Support old API\n      const byName = this.getAll().filter(d => d.get('name') === id)[0];\n      return byName || devices.get(id) || null;\n    },\n\n    /**\n     * Remove device\n     * @param {String|[Device]} device Device or device id\n     * @returns {[Device]} Removed device\n     * @example\n     * const removed = deviceManager.remove('device-id');\n     * // or by passing the Device\n     * const device = deviceManager.get('device-id');\n     * deviceManager.remove(device);\n     */\n    remove(device, opts = {}) {\n      return this.__remove(device, opts);\n    },\n\n    /**\n     * Return all devices\n     * @returns {Array<[Device]>}\n     * @example\n     * const devices = deviceManager.getDevices();\n     * console.log(JSON.stringify(devices));\n     * // [{name: 'Desktop', width: ''}, ...]\n     */\n    getDevices() {\n      return devices.models;\n    },\n\n    /**\n     * Change the selected device. This will update the frame in the canvas\n     * @param {String|[Device]} device Device or device id\n     * @example\n     * deviceManager.select('some-id');\n     * // or by passing the page\n     * const device = deviceManager.get('some-id');\n     * deviceManager.select(device);\n     */\n    select(device, opts = {}) {\n      const md = isString(device) ? this.get(device) : device;\n      md && this.em.set('device', md.get('id'), opts);\n      return this;\n    },\n\n    /**\n     * Get the selected device\n     * @returns {[Device]}\n     * @example\n     * const selected = deviceManager.getSelected();\n     */\n    getSelected() {\n      return this.get(this.em.get('device'));\n    },\n\n    getAll() {\n      return devices;\n    },\n\n    render() {\n      view && view.remove();\n      view = new DevicesView({\n        collection: devices,\n        config: c\n      });\n      return view.render().el;\n    },\n\n    destroy() {\n      devices.stopListening();\n      devices.reset();\n      view && view.remove();\n      [devices, view].forEach(i => (i = null));\n      c = {};\n    }\n  };\n};\n","export default {\n  stylePrefix: 'comp-',\n\n  // Could be used for default components\n  components: [],\n\n  // If the component is draggable you can drag the component itself (not only from the toolbar)\n  draggableComponents: 1,\n\n  // Generally, if you don't edit the wrapper in the editor, like\n  // custom attributes, you don't need the wrapper stored in your JSON\n  // structure, but in case you need it you can use this option.\n  // If you have `config.avoidInlineStyle` disabled the wrapper will be stored\n  // as we need to store inlined style.\n  storeWrapper: 0,\n\n  /**\n   * You can setup a custom component definition processor before adding it into the editor.\n   * It might be useful to transform custom objects (es. some framework specific JSX) to GrapesJS component one.\n   * This custom function will be executed on ANY new added component to the editor so make smart checks/conditions\n   * to avoid doing useless executions\n   * By default, GrapesJS supports already elements generated from React JSX preset\n   * @example\n   * processor: (obj) => {\n   *  if (obj.$$typeof) { // eg. this is a React Element\n   *     const gjsComponent = {\n   *      type: obj.type,\n   *      components: obj.props.children,\n   *      ...\n   *     };\n   *     ...\n   *     return gjsComponent;\n   *  }\n   * }\n   */\n  processor: 0,\n\n  // List of HTML void elements\n  // https://www.w3.org/TR/2011/WD-html-markup-20110113/syntax.html#void-elements\n  voidElements: [\n    'area',\n    'base',\n    'br',\n    'col',\n    'embed',\n    'hr',\n    'img',\n    'input',\n    'keygen',\n    'link',\n    'menuitem',\n    'meta',\n    'param',\n    'source',\n    'track',\n    'wbr'\n  ]\n};\n","import ComponentView from './ComponentView';\n\nexport default class ComponentWrapperView extends ComponentView {\n  tagName() {\n    return 'div';\n  }\n}\n","import Component from './Component';\nimport { toLowerCase } from 'utils/mixins';\n\nexport default Component.extend(\n  {\n    defaults: {\n      ...Component.prototype.defaults,\n      type: 'cell',\n      tagName: 'td',\n      draggable: ['tr']\n    }\n  },\n  {\n    isComponent: el => ['td', 'th'].indexOf(toLowerCase(el.tagName)) >= 0\n  }\n);\n","import ComponentView from './ComponentView';\n\nexport default ComponentView.extend({});\n","import Component from './Component';\nimport { toLowerCase } from 'utils/mixins';\n\nconst tagName = 'tr';\n\nexport default Component.extend(\n  {\n    defaults: {\n      ...Component.prototype.defaults,\n      tagName,\n      draggable: ['thead', 'tbody', 'tfoot'],\n      droppable: ['th', 'td']\n    }\n  },\n  {\n    isComponent: el => toLowerCase(el.tagName) === tagName\n  }\n);\n","import ComponentView from './ComponentView';\n\nexport default ComponentView.extend({});\n","import Component from './Component';\nimport { toLowerCase } from 'utils/mixins';\n\nconst type = 'table';\n\nexport default Component.extend(\n  {\n    defaults: {\n      ...Component.prototype.defaults,\n      type,\n      tagName: type,\n      droppable: ['tbody', 'thead', 'tfoot']\n    },\n\n    initialize(o, opt) {\n      Component.prototype.initialize.apply(this, arguments);\n      const components = this.get('components');\n      !components.length && components.add({ type: 'tbody' });\n    }\n  },\n  {\n    isComponent: el => toLowerCase(el.tagName) === type\n  }\n);\n","import ComponentView from './ComponentView';\n\nexport default ComponentView.extend({\n  events: {}\n});\n","import Component from './Component';\nimport { toLowerCase } from 'utils/mixins';\n\nconst type = 'tbody';\n\nexport default Component.extend(\n  {\n    defaults: {\n      ...Component.prototype.defaults,\n      type,\n      tagName: type,\n      draggable: ['table'],\n      droppable: ['tr'],\n      columns: 1,\n      rows: 1\n    },\n\n    initialize(o, opt) {\n      Component.prototype.initialize.apply(this, arguments);\n      const components = this.get('components');\n      let columns = this.get('columns');\n      let rows = this.get('rows');\n\n      // Init components if empty\n      if (!components.length) {\n        const rowsToAdd = [];\n\n        while (rows--) {\n          const columnsToAdd = [];\n          let clm = columns;\n\n          while (clm--) {\n            columnsToAdd.push({\n              type: 'cell',\n              classes: ['cell']\n            });\n          }\n\n          rowsToAdd.push({\n            type: 'row',\n            classes: ['row'],\n            components: columnsToAdd\n          });\n        }\n\n        components.add(rowsToAdd);\n      }\n    }\n  },\n  {\n    isComponent: el => toLowerCase(el.tagName) === type\n  }\n);\n","import ComponentTableBody from './ComponentTableBody';\nimport { toLowerCase } from 'utils/mixins';\n\nconst type = 'thead';\n\nexport default ComponentTableBody.extend(\n  {\n    defaults: {\n      ...ComponentTableBody.prototype.defaults,\n      type,\n      tagName: type\n    }\n  },\n  {\n    isComponent: el => toLowerCase(el.tagName) === type\n  }\n);\n","import ComponentView from './ComponentView';\n\nexport default ComponentView.extend({});\n","import ComponentView from './ComponentView';\n\nexport default ComponentView.extend({});\n","import ComponentTableBody from './ComponentTableBody';\nimport { toLowerCase } from 'utils/mixins';\n\nconst type = 'tfoot';\n\nexport default ComponentTableBody.extend(\n  {\n    defaults: {\n      ...ComponentTableBody.prototype.defaults,\n      type,\n      tagName: type\n    }\n  },\n  {\n    isComponent: el => toLowerCase(el.tagName) === type\n  }\n);\n","import ComponentView from './ComponentView';\n\nexport default ComponentView.extend({});\n","import { result } from 'underscore';\nimport Component from './Component';\nimport { toLowerCase } from 'utils/mixins';\n\nconst svgAttrs =\n  'xmlns=\"http://www.w3.org/2000/svg\" width=\"100\" viewBox=\"0 0 24 24\" style=\"fill: rgba(0,0,0,0.15); transform: scale(0.75)\"';\n\nexport default Component.extend(\n  {\n    defaults: {\n      ...Component.prototype.defaults,\n      type: 'image',\n      tagName: 'img',\n      void: true,\n      droppable: 0,\n      editable: 1,\n      highlightable: 0,\n      resizable: { ratioDefault: 1 },\n      traits: ['alt'],\n\n      src: `<svg ${svgAttrs}>\n        <path d=\"M8.5 13.5l2.5 3 3.5-4.5 4.5 6H5m16 1V5a2 2 0 0 0-2-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2z\"></path>\n      </svg>`,\n\n      // Fallback image in case the src can't be loaded\n      // If you use SVG, xmlns=\"http://www.w3.org/2000/svg\" is required\n      fallback: `<svg ${svgAttrs}>\n        <path d=\"M2.28 3L1 4.27l2 2V19c0 1.1.9 2 2 2h12.73l2 2L21 21.72 2.28 3m2.55 0L21 19.17V5a2 2 0 0 0-2-2H4.83M8.5 13.5l2.5 3 1-1.25L14.73 18H5l3.5-4.5z\"></path>\n      </svg>`,\n\n      // File to load asynchronously once the model is rendered\n      file: ''\n    },\n\n    initialize(o, opt) {\n      Component.prototype.initialize.apply(this, arguments);\n      const { src } = this.get('attributes');\n      if (src) this.set('src', src, { silent: 1 });\n    },\n\n    initToolbar(...args) {\n      Component.prototype.initToolbar.apply(this, args);\n      const em = this.em;\n\n      if (em) {\n        var cmd = em.get('Commands');\n        var cmdName = 'image-editor';\n\n        // Add Image Editor button only if the default command exists\n        if (cmd.has(cmdName)) {\n          let hasButtonBool = false;\n          var tb = this.get('toolbar');\n\n          for (let i = 0; i < tb.length; i++) {\n            if (tb[i].command === 'image-editor') {\n              hasButtonBool = true;\n              break;\n            }\n          }\n\n          if (!hasButtonBool) {\n            tb.push({\n              attributes: { class: 'fa fa-pencil' },\n              command: cmdName\n            });\n            this.set('toolbar', tb);\n          }\n        }\n      }\n    },\n\n    /**\n     * Returns object of attributes for HTML\n     * @return {Object}\n     * @private\n     */\n    getAttrToHTML(...args) {\n      const attr = Component.prototype.getAttrToHTML.apply(this, args);\n      const src = this.getSrcResult();\n      if (src) attr.src = src;\n      return attr;\n    },\n\n    getSrcResult(opt = {}) {\n      const src = this.get(opt.fallback ? 'fallback' : 'src') || '';\n      let result = src;\n\n      if (src && src.substr(0, 4) === '<svg') {\n        result = `data:image/svg+xml;base64,${window.btoa(src)}`;\n      }\n\n      return result;\n    },\n\n    isDefaultSrc() {\n      return this.get('src') === result(this, 'defaults').src;\n    },\n\n    /**\n     * Return a shallow copy of the model's attributes for JSON\n     * stringification.\n     * @return {Object}\n     * @private\n     */\n    toJSON(...args) {\n      const obj = Component.prototype.toJSON.apply(this, args);\n      if (obj.attributes && obj.src === obj.attributes.src) {\n        delete obj.src;\n      }\n\n      return obj;\n    },\n\n    /**\n     * Parse uri\n     * @param  {string} uri\n     * @return {object}\n     * @private\n     */\n    parseUri(uri) {\n      var el = document.createElement('a');\n      el.href = uri;\n      var query = {};\n      var qrs = el.search.substring(1).split('&');\n      for (var i = 0; i < qrs.length; i++) {\n        var pair = qrs[i].split('=');\n        var name = decodeURIComponent(pair[0]);\n        if (name) query[name] = decodeURIComponent(pair[1]);\n      }\n      return {\n        hostname: el.hostname,\n        pathname: el.pathname,\n        protocol: el.protocol,\n        search: el.search,\n        hash: el.hash,\n        port: el.port,\n        query\n      };\n    }\n  },\n  {\n    isComponent: el => toLowerCase(el.tagName) === 'img'\n  }\n);\n","import Component from './ComponentImage';\nimport OComponent from './Component';\nimport { toLowerCase } from 'utils/mixins';\n\nexport default Component.extend(\n  {\n    defaults: {\n      ...Component.prototype.defaults,\n      type: 'map',\n      src: '',\n      void: 0,\n      mapUrl: 'https://maps.google.com/maps',\n      tagName: 'iframe',\n      mapType: 'q',\n      address: '',\n      zoom: '1',\n      attributes: { frameborder: 0 },\n      toolbar: OComponent.prototype.defaults.toolbar,\n      traits: [\n        {\n          label: 'Address',\n          name: 'address',\n          placeholder: 'eg. London, UK',\n          changeProp: 1\n        },\n        {\n          type: 'select',\n          label: 'Map type',\n          name: 'mapType',\n          changeProp: 1,\n          options: [\n            { value: 'q', name: 'Roadmap' },\n            { value: 'w', name: 'Satellite' }\n          ]\n        },\n        {\n          label: 'Zoom',\n          name: 'zoom',\n          type: 'range',\n          min: '1',\n          max: '20',\n          changeProp: 1\n        }\n      ]\n    },\n\n    initialize(o, opt) {\n      if (this.get('src')) this.parseFromSrc();\n      else this.updateSrc();\n      Component.prototype.initialize.apply(this, arguments);\n      this.listenTo(\n        this,\n        'change:address change:zoom change:mapType',\n        this.updateSrc\n      );\n    },\n\n    updateSrc() {\n      this.set('src', this.getMapUrl());\n    },\n\n    /**\n     * Returns url of the map\n     * @return {string}\n     * @private\n     */\n    getMapUrl() {\n      var md = this;\n      var addr = md.get('address');\n      var zoom = md.get('zoom');\n      var type = md.get('mapType');\n      var size = '';\n      addr = addr ? '&q=' + addr : '';\n      zoom = zoom ? '&z=' + zoom : '';\n      type = type ? '&t=' + type : '';\n      var result = md.get('mapUrl') + '?' + addr + zoom + type;\n      result += '&output=embed';\n      return result;\n    },\n\n    /**\n     * Set attributes by src string\n     * @private\n     */\n    parseFromSrc() {\n      var uri = this.parseUri(this.get('src'));\n      var qr = uri.query;\n      if (qr.q) this.set('address', qr.q);\n      if (qr.z) this.set('zoom', qr.z);\n      if (qr.t) this.set('mapType', qr.t);\n    }\n  },\n  {\n    /**\n     * Detect if the passed element is a valid component.\n     * In case the element is valid an object abstracted\n     * from the element will be returned\n     * @param {HTMLElement}\n     * @return {Object}\n     * @private\n     */\n    isComponent(el) {\n      var result = '';\n      if (\n        toLowerCase(el.tagName) == 'iframe' &&\n        /maps\\.google\\.com/.test(el.src)\n      ) {\n        result = { type: 'map', src: el.src };\n      }\n      return result;\n    }\n  }\n);\n","import { isString } from 'underscore';\nimport ComponentView from './ComponentView';\n\nexport default ComponentView.extend({\n  tagName: 'img',\n\n  events: {\n    dblclick: 'onActive',\n    click: 'initResize',\n    error: 'onError',\n    load: 'onLoad',\n    dragstart: 'noDrag',\n  },\n\n  initialize(o) {\n    ComponentView.prototype.initialize.apply(this, arguments);\n    this.listenTo(this.model, 'change:src', this.updateSrc);\n    this.classEmpty = `${this.ppfx}plh-image`;\n    this.fetchFile();\n  },\n\n  /**\n   * Fetch file if exists\n   */\n  fetchFile() {\n    if (this.modelOpt.temporary) return;\n    const { model, em } = this;\n    const file = model.get('file');\n\n    if (file && em) {\n      const fu = em.get('AssetManager').FileUploader();\n      fu?.uploadFile({ dataTransfer: { files: [file] } }, res => {\n        const obj = res && res.data && res.data[0];\n        const src = obj && (isString(obj) ? obj : obj.src);\n        src && model.set({ src });\n      });\n      model.set('file', '');\n    }\n  },\n\n  /**\n   * Update src attribute\n   * @private\n   * */\n  updateSrc() {\n    const { model, classEmpty, $el } = this;\n    const src = model.getSrcResult();\n    const srcExists = src && !model.isDefaultSrc();\n    model.addAttributes({ src });\n    $el[srcExists ? 'removeClass' : 'addClass'](classEmpty);\n  },\n\n  /**\n   * Open dialog for image changing\n   * @param  {Object}  e  Event\n   * @private\n   * */\n  onActive(ev) {\n    ev && ev.stopPropagation();\n    const { em, model } = this;\n    const am = em && em.get('AssetManager');\n\n    if (am && model.get('editable')) {\n      am.open({\n        select(asset, complete) {\n          model.set({ src: asset.getSrc() });\n          complete && am.close();\n        },\n        target: model,\n        types: ['image'],\n        accept: 'image/*',\n      });\n    }\n  },\n\n  onError() {\n    const fallback = this.model.getSrcResult({ fallback: 1 });\n    if (fallback) this.el.src = fallback;\n  },\n\n  onLoad() {\n    // Used to update component tools box (eg. toolbar, resizer) once the image is loaded\n    this.em.trigger('change:canvasOffset');\n  },\n\n  noDrag(ev) {\n    ev.preventDefault();\n    return false;\n  },\n\n  render() {\n    this.renderAttributes();\n    if (this.modelOpt.temporary) return this;\n    this.updateSrc();\n    const { $el, model } = this;\n    const cls = $el.attr('class') || '';\n    !model.get('src') && $el.attr('class', `${cls} ${this.classEmpty}`.trim());\n    this.postRender();\n\n    return this;\n  },\n});\n","import Backbone from 'backbone';\nimport ComponentView from './ComponentImageView';\n\nexport default ComponentView.extend({\n  tagName: 'div',\n\n  events: {},\n\n  initialize(o) {\n    ComponentView.prototype.initialize.apply(this, arguments);\n    this.classEmpty = this.ppfx + 'plh-map';\n  },\n\n  /**\n   * Update the map on the canvas\n   * @private\n   */\n  updateSrc() {\n    this.getIframe().src = this.model.get('src');\n  },\n\n  getIframe() {\n    if (!this.iframe) {\n      var ifrm = document.createElement('iframe');\n      ifrm.src = this.model.get('src');\n      ifrm.frameBorder = 0;\n      ifrm.style.height = '100%';\n      ifrm.style.width = '100%';\n      ifrm.className = this.ppfx + 'no-pointer';\n      this.iframe = ifrm;\n    }\n    return this.iframe;\n  },\n\n  render(...args) {\n    ComponentView.prototype.render.apply(this, args);\n    this.updateClasses();\n    this.el.appendChild(this.getIframe());\n    return this;\n  }\n});\n","import Component from './Component';\n\nexport default class ComponentText extends Component {}\n\nComponentText.prototype.defaults = {\n  ...Component.getDefaults(),\n  type: 'text',\n  droppable: false,\n  editable: true,\n};\n","import { forEach } from 'underscore';\nimport { toLowerCase } from 'utils/mixins';\nimport ComponentText from './ComponentText';\n\nconst type = 'link';\n\nexport default class ComponentLink extends ComponentText {}\n\nComponentLink.prototype.defaults = {\n  ...ComponentText.getDefaults(),\n  type,\n  tagName: 'a',\n  traits: ['title', 'href', 'target'],\n};\n\nComponentLink.isComponent = (el, opts = {}) => {\n  let result;\n\n  if (toLowerCase(el.tagName) === 'a') {\n    const textTags = opts.textTags || [];\n    result = { type, editable: false };\n\n    // The link is editable only if, at least, one of its\n    // children is a text node (not empty one)\n    const children = el.childNodes;\n    const len = children.length;\n    if (!len) delete result.editable;\n\n    forEach(children, child => {\n      const { tagName } = child;\n      if (\n        (child.nodeType == 3 && child.textContent.trim() !== '') ||\n        (tagName && textTags.indexOf(toLowerCase(tagName)) >= 0)\n      ) {\n        delete result.editable;\n      }\n    });\n  }\n\n  return result;\n};\n","import { on, off, getModel } from 'utils/mixins';\nimport ComponentView from './ComponentView';\nimport { bindAll } from 'underscore';\n\nconst compProt = ComponentView.prototype;\n\nexport default ComponentView.extend({\n  events: {\n    dblclick: 'onActive',\n    input: 'onInput',\n  },\n\n  initialize(o) {\n    compProt.initialize.apply(this, arguments);\n    bindAll(this, 'disableEditing', 'onDisable');\n    const model = this.model;\n    const em = this.em;\n    this.listenTo(model, 'focus', this.onActive);\n    this.listenTo(model, 'change:content', this.updateContentText);\n    this.listenTo(model, 'sync:content', this.syncContent);\n    this.rte = em && em.get('RichTextEditor');\n  },\n\n  updateContentText(m, v, opts = {}) {\n    !opts.fromDisable && this.disableEditing();\n  },\n\n  canActivate() {\n    const { model, rteEnabled, em } = this;\n    const modelInEdit = em?.getEditing();\n    const sameInEdit = modelInEdit === model;\n    let result = true;\n    let isInnerText = false;\n    let delegate;\n\n    if (rteEnabled || !model.get('editable') || sameInEdit || (isInnerText = model.isChildOf('text'))) {\n      result = false;\n      // If the current is inner text, select the closest text\n      if (isInnerText && !model.get('textable')) {\n        let parent = model.parent();\n\n        while (parent && !parent.isInstanceOf('text')) {\n          parent = parent.parent();\n        }\n\n        if (parent && parent.get('editable')) {\n          delegate = parent;\n        } else {\n          result = true;\n        }\n      }\n    }\n\n    return { result, delegate };\n  },\n\n  /**\n   * Enable element content editing\n   * @private\n   * */\n  async onActive(ev) {\n    const { rte, em } = this;\n    const { result, delegate } = this.canActivate();\n\n    // We place this before stopPropagation in case of nested\n    // text components will not block the editing (#1394)\n    if (!result) {\n      if (delegate) {\n        ev?.stopPropagation?.();\n        em.setSelected(delegate);\n        delegate.trigger('active', ev);\n      }\n      return;\n    }\n\n    ev?.stopPropagation?.();\n    this.lastContent = this.getContent();\n\n    if (rte) {\n      try {\n        this.activeRte = await rte.enable(this, this.activeRte, { event: ev });\n      } catch (err) {\n        em.logError(err);\n      }\n    }\n\n    this.toggleEvents(1);\n  },\n\n  onDisable() {\n    this.disableEditing();\n  },\n\n  /**\n   * Disable element content editing\n   * @private\n   * */\n  async disableEditing(opts = {}) {\n    const { model, rte, activeRte, em } = this;\n    // There are rare cases when disableEditing is called when the view is already removed\n    // so, we have to check for the model, this will avoid breaking stuff.\n    const editable = model && model.get('editable');\n\n    if (rte) {\n      try {\n        await rte.disable(this, activeRte);\n      } catch (err) {\n        em.logError(err);\n      }\n\n      if (editable && this.getContent() !== this.lastContent) {\n        this.syncContent(opts);\n        this.lastContent = '';\n      }\n    }\n\n    this.toggleEvents();\n  },\n\n  /**\n   * get content from RTE\n   * @return string\n   */\n  getContent() {\n    const { activeRte } = this;\n    const canGetRteContent = activeRte && typeof activeRte.getContent === 'function';\n\n    return canGetRteContent ? activeRte.getContent() : this.getChildrenContainer().innerHTML;\n  },\n\n  /**\n   * Merge content from the DOM to the model\n   */\n  syncContent(opts = {}) {\n    const { model, rte, rteEnabled } = this;\n    if (!rteEnabled && !opts.force) return;\n    const content = this.getContent();\n    const comps = model.components();\n    const contentOpt = { fromDisable: 1, ...opts };\n    model.set('content', '', contentOpt);\n\n    // If there is a custom RTE the content is just baked staticly\n    // inside 'content'\n    if (rte.customRte) {\n      comps.length && comps.reset(null, opts);\n      model.set('content', content, contentOpt);\n    } else {\n      comps.resetFromString(content, opts);\n    }\n  },\n\n  insertComponent(content, opts = {}) {\n    const { model, el } = this;\n    const doc = el.ownerDocument;\n    const selection = doc.getSelection();\n\n    if (selection?.rangeCount) {\n      const range = selection.getRangeAt(0);\n      const textNode = range.startContainer;\n      const offset = range.startOffset;\n      const textModel = getModel(textNode);\n      const newCmps = [];\n\n      if (textModel && textModel.is?.('textnode')) {\n        const cmps = textModel.collection;\n        cmps.forEach(cmp => {\n          if (cmp === textModel) {\n            const type = 'textnode';\n            const cnt = cmp.get('content');\n            newCmps.push({ type, content: cnt.slice(0, offset) });\n            newCmps.push(content);\n            newCmps.push({ type, content: cnt.slice(offset) });\n          } else {\n            newCmps.push(cmp);\n          }\n        });\n\n        const result = newCmps.filter(Boolean);\n        const index = result.indexOf(content);\n        cmps.reset(result, opts);\n\n        return cmps.at(index);\n      }\n    }\n\n    return model.append(content, opts);\n  },\n\n  /**\n   * Callback on input event\n   * @param  {Event} e\n   */\n  onInput() {\n    const { em } = this;\n    const evPfx = 'component';\n    const ev = [`${evPfx}:update`, `${evPfx}:input`].join(' ');\n\n    // Update toolbars\n    em && em.trigger(ev, this.model);\n  },\n\n  /**\n   * Isolate disable propagation method\n   * @param {Event}\n   * @private\n   * */\n  disablePropagation(e) {\n    e.stopPropagation();\n  },\n\n  /**\n   * Enable/Disable events\n   * @param {Boolean} enable\n   */\n  toggleEvents(enable) {\n    const { em, model, $el } = this;\n    const mixins = { on, off };\n    const method = enable ? 'on' : 'off';\n    em.setEditing(enable ? this : 0);\n    this.rteEnabled = !!enable;\n\n    // The ownerDocument is from the frame\n    var elDocs = [this.el.ownerDocument, document];\n    mixins.off(elDocs, 'mousedown', this.onDisable);\n    mixins[method](elDocs, 'mousedown', this.onDisable);\n    em[method]('toolbar:run:before', this.onDisable);\n    if (model) {\n      model[method]('removed', this.onDisable);\n      model.trigger(`rte:${enable ? 'enable' : 'disable'}`);\n    }\n\n    // Avoid closing edit mode on component click\n    $el && $el.off('mousedown', this.disablePropagation);\n    $el && $el[method]('mousedown', this.disablePropagation);\n\n    // Fixes #2210 but use this also as a replacement\n    // of this fix: bd7b804f3b46eb45b4398304b2345ce870f232d2\n    if (this.config.draggableComponents) {\n      let { el } = this;\n\n      while (el) {\n        el.draggable = enable ? !1 : !0;\n        // Note: el.parentNode is sometimes null here\n        el = el.parentNode;\n        el && el.tagName == 'BODY' && (el = 0);\n      }\n    }\n  },\n});\n","import ComponentView from './ComponentTextView';\n\nexport default ComponentView.extend({\n  render(...args) {\n    ComponentView.prototype.render.apply(this, args);\n\n    // I need capturing instead of bubbling as bubbled clicks from other\n    // children will execute the link event\n    this.el.addEventListener('click', this.prevDef, true);\n\n    return this;\n  }\n});\n","import Component from './ComponentText';\nimport { toLowerCase } from 'utils/mixins';\n\nconst type = 'label';\n\nexport default Component.extend(\n  {\n    defaults: {\n      ...Component.prototype.defaults,\n      type,\n      tagName: type,\n      traits: ['id', 'title', 'for']\n    }\n  },\n  {\n    isComponent: el => toLowerCase(el.tagName) === type\n  }\n);\n","import ComponentLinkView from './ComponentLinkView';\n\nexport default ComponentLinkView.extend({\n  tagName: 'span' // Avoid Firefox bug with label editing #2332\n});\n","import Component from './ComponentImage';\nimport { toLowerCase } from 'utils/mixins';\n\nconst type = 'video';\nconst yt = 'yt';\nconst vi = 'vi';\nconst ytnc = 'ytnc';\n\nexport default Component.extend(\n  {\n    defaults: {\n      ...Component.prototype.defaults,\n      type,\n      tagName: type,\n      videoId: '',\n      void: 0,\n      provider: 'so', // on change of provider, traits are switched\n      ytUrl: 'https://www.youtube.com/embed/',\n      ytncUrl: 'https://www.youtube-nocookie.com/embed/',\n      viUrl: 'https://player.vimeo.com/video/',\n      loop: 0,\n      poster: '',\n      muted: 0,\n      autoplay: 0,\n      controls: 1,\n      color: '',\n      list: '',\n      rel: 1, // YT related videos\n      modestbranding: 0, // YT modest branding\n      sources: [],\n      attributes: { allowfullscreen: 'allowfullscreen' }\n    },\n\n    initialize(o, opt) {\n      this.em = opt.em;\n      if (this.get('src')) this.parseFromSrc();\n      this.updateTraits();\n      this.listenTo(this, 'change:provider', this.updateTraits);\n      this.listenTo(this, 'change:videoId change:provider', this.updateSrc);\n      Component.prototype.initialize.apply(this, arguments);\n    },\n\n    /**\n     * Update traits by provider\n     * @private\n     */\n    updateTraits() {\n      const prov = this.get('provider');\n      let tagName = 'iframe';\n      let traits;\n\n      switch (prov) {\n        case yt:\n        case ytnc:\n          traits = this.getYoutubeTraits();\n          break;\n        case vi:\n          traits = this.getVimeoTraits();\n          break;\n        default:\n          tagName = 'video';\n          traits = this.getSourceTraits();\n      }\n\n      this.set({ tagName }, { silent: 1 }); // avoid break in view\n      this.set({ traits });\n      this.em.trigger('component:toggled');\n    },\n\n    /**\n     * Set attributes by src string\n     */\n    parseFromSrc() {\n      var prov = this.get('provider');\n      var uri = this.parseUri(this.get('src'));\n      var qr = uri.query;\n      switch (prov) {\n        case yt:\n        case ytnc:\n        case vi:\n          var videoId = uri.pathname.split('/').pop();\n          this.set('videoId', videoId);\n          qr.list && this.set('list', qr.list);\n          if (qr.autoplay) this.set('autoplay', 1);\n          if (qr.loop) this.set('loop', 1);\n          if (parseInt(qr.controls) === 0) this.set('controls', 0);\n          if (qr.color) this.set('color', qr.color);\n          if (qr.rel === '0') this.set('rel', 0);\n          if (qr.modestbranding === '1') this.set('modestbranding', 1);\n          break;\n        default:\n      }\n    },\n\n    /**\n     * Update src on change of video ID\n     * @private\n     */\n    updateSrc() {\n      const prov = this.get('provider');\n      let src = '';\n\n      switch (prov) {\n        case yt:\n          src = this.getYoutubeSrc();\n          break;\n        case ytnc:\n          src = this.getYoutubeNoCookieSrc();\n          break;\n        case vi:\n          src = this.getVimeoSrc();\n          break;\n      }\n\n      this.set({ src });\n    },\n\n    /**\n     * Returns object of attributes for HTML\n     * @return {Object}\n     * @private\n     */\n    getAttrToHTML(...args) {\n      var attr = Component.prototype.getAttrToHTML.apply(this, args);\n      var prov = this.get('provider');\n      switch (prov) {\n        case yt:\n        case ytnc:\n        case vi:\n          break;\n        default:\n          if (this.get('loop')) attr.loop = 'loop';\n          if (this.get('autoplay')) attr.autoplay = 'autoplay';\n          if (this.get('controls')) attr.controls = 'controls';\n      }\n      return attr;\n    },\n\n    // Listen provider change and switch traits, in TraitView listen traits change\n\n    /**\n     * Return the provider trait\n     * @return {Object}\n     * @private\n     */\n    getProviderTrait() {\n      return {\n        type: 'select',\n        label: 'Provider',\n        name: 'provider',\n        changeProp: 1,\n        options: [\n          { value: 'so', name: 'HTML5 Source' },\n          { value: yt, name: 'Youtube' },\n          { value: ytnc, name: 'Youtube (no cookie)' },\n          { value: vi, name: 'Vimeo' }\n        ]\n      };\n    },\n\n    /**\n     * Return traits for the source provider\n     * @return {Array<Object>}\n     * @private\n     */\n    getSourceTraits() {\n      return [\n        this.getProviderTrait(),\n        {\n          label: 'Source',\n          name: 'src',\n          placeholder: 'eg. ./media/video.mp4',\n          changeProp: 1\n        },\n        {\n          label: 'Poster',\n          name: 'poster',\n          placeholder: 'eg. ./media/image.jpg'\n          // changeProp: 1\n        },\n        this.getAutoplayTrait(),\n        this.getLoopTrait(),\n        this.getControlsTrait()\n      ];\n    },\n    /**\n     * Return traits for the source provider\n     * @return {Array<Object>}\n     * @private\n     */\n    getYoutubeTraits() {\n      return [\n        this.getProviderTrait(),\n        {\n          label: 'Video ID',\n          name: 'videoId',\n          placeholder: 'eg. jNQXAC9IVRw',\n          changeProp: 1\n        },\n        this.getAutoplayTrait(),\n        this.getLoopTrait(),\n        this.getControlsTrait(),\n        {\n          type: 'checkbox',\n          label: 'Related',\n          name: 'rel',\n          changeProp: 1\n        },\n        {\n          type: 'checkbox',\n          label: 'Modest',\n          name: 'modestbranding',\n          changeProp: 1\n        }\n      ];\n    },\n\n    /**\n     * Return traits for the source provider\n     * @return {Array<Object>}\n     * @private\n     */\n    getVimeoTraits() {\n      return [\n        this.getProviderTrait(),\n        {\n          label: 'Video ID',\n          name: 'videoId',\n          placeholder: 'eg. 123456789',\n          changeProp: 1\n        },\n        {\n          label: 'Color',\n          name: 'color',\n          placeholder: 'eg. FF0000',\n          changeProp: 1\n        },\n        this.getAutoplayTrait(),\n        this.getLoopTrait()\n      ];\n    },\n\n    /**\n     * Return object trait\n     * @return {Object}\n     * @private\n     */\n    getAutoplayTrait() {\n      return {\n        type: 'checkbox',\n        label: 'Autoplay',\n        name: 'autoplay',\n        changeProp: 1\n      };\n    },\n\n    /**\n     * Return object trait\n     * @return {Object}\n     * @private\n     */\n    getLoopTrait() {\n      return {\n        type: 'checkbox',\n        label: 'Loop',\n        name: 'loop',\n        changeProp: 1\n      };\n    },\n\n    /**\n     * Return object trait\n     * @return {Object}\n     * @private\n     */\n    getControlsTrait() {\n      return {\n        type: 'checkbox',\n        label: 'Controls',\n        name: 'controls',\n        changeProp: 1\n      };\n    },\n\n    /**\n     * Returns url to youtube video\n     * @return {string}\n     * @private\n     */\n    getYoutubeSrc() {\n      const id = this.get('videoId');\n      let url = this.get('ytUrl');\n      const list = this.get('list');\n      url += id + (id.indexOf('?') < 0 ? '?' : '');\n      url += list ? `&list=${list}` : '';\n      url += this.get('autoplay') ? '&autoplay=1' : '';\n      url += !this.get('controls') ? '&controls=0&showinfo=0' : '';\n      // Loop works only with playlist enabled\n      // https://stackoverflow.com/questions/25779966/youtube-iframe-loop-doesnt-work\n      url += this.get('loop') ? `&loop=1&playlist=${id}` : '';\n      url += this.get('rel') ? '' : '&rel=0';\n      url += this.get('modestbranding') ? '&modestbranding=1' : '';\n      return url;\n    },\n\n    /**\n     * Returns url to youtube no cookie video\n     * @return {string}\n     * @private\n     */\n    getYoutubeNoCookieSrc() {\n      let url = this.getYoutubeSrc();\n      url = url.replace(this.get('ytUrl'), this.get('ytncUrl'));\n      return url;\n    },\n\n    /**\n     * Returns url to vimeo video\n     * @return {string}\n     * @private\n     */\n    getVimeoSrc() {\n      var url = this.get('viUrl');\n      url += this.get('videoId') + '?';\n      url += this.get('autoplay') ? '&autoplay=1' : '';\n      url += this.get('loop') ? '&loop=1' : '';\n      url += !this.get('controls') ? '&title=0&portrait=0&badge=0' : '';\n      url += this.get('color') ? '&color=' + this.get('color') : '';\n      return url;\n    }\n  },\n  {\n    /**\n     * Detect if the passed element is a valid component.\n     * In case the element is valid an object abstracted\n     * from the element will be returned\n     * @param {HTMLElement}\n     * @return {Object}\n     * @private\n     */\n    isComponent(el) {\n      let result = '';\n      const { tagName, src } = el;\n      const isYtProv = /youtube\\.com\\/embed/.test(src);\n      const isYtncProv = /youtube-nocookie\\.com\\/embed/.test(src);\n      const isViProv = /player\\.vimeo\\.com\\/video/.test(src);\n      const isExtProv = isYtProv || isYtncProv || isViProv;\n      if (\n        toLowerCase(tagName) == type ||\n        (toLowerCase(tagName) == 'iframe' && isExtProv)\n      ) {\n        result = { type: 'video' };\n        if (src) result.src = src;\n        if (isExtProv) {\n          if (isYtProv) result.provider = yt;\n          else if (isYtncProv) result.provider = ytnc;\n          else if (isViProv) result.provider = vi;\n        }\n      }\n      return result;\n    }\n  }\n);\n","import ComponentView from './ComponentImageView';\nimport OComponentView from './ComponentView';\n\nexport default ComponentView.extend({\n  tagName: 'div',\n\n  events: {},\n\n  initialize(o) {\n    OComponentView.prototype.initialize.apply(this, arguments);\n    const { model } = this;\n    const props = [\n      'loop',\n      'autoplay',\n      'controls',\n      'color',\n      'rel',\n      'modestbranding',\n      'poster'\n    ];\n    const events = props.map(p => `change:${p}`).join(' ');\n    this.listenTo(model, 'change:provider', this.updateProvider);\n    this.listenTo(model, 'change:src', this.updateSrc);\n    this.listenTo(model, events, this.updateVideo);\n  },\n\n  /**\n   * Rerender on update of the provider\n   * @private\n   */\n  updateProvider() {\n    var prov = this.model.get('provider');\n    this.el.innerHTML = '';\n    this.el.appendChild(this.renderByProvider(prov));\n  },\n\n  /**\n   * Update the source of the video\n   * @private\n   */\n  updateSrc() {\n    const { model, videoEl } = this;\n    if (!videoEl) return;\n    const prov = model.get('provider');\n    let src = model.get('src');\n\n    switch (prov) {\n      case 'yt':\n        src = model.getYoutubeSrc();\n        break;\n      case 'ytnc':\n        src = model.getYoutubeNoCookieSrc();\n        break;\n      case 'vi':\n        src = model.getVimeoSrc();\n        break;\n    }\n\n    videoEl.src = src;\n  },\n\n  /**\n   * Update video parameters\n   * @private\n   */\n  updateVideo() {\n    var prov = this.model.get('provider');\n    var videoEl = this.videoEl;\n    var md = this.model;\n    switch (prov) {\n      case 'yt':\n      case 'ytnc':\n      case 'vi':\n        this.model.trigger('change:videoId');\n        break;\n      default:\n        videoEl.loop = md.get('loop');\n        videoEl.autoplay = md.get('autoplay');\n        videoEl.controls = md.get('controls');\n        videoEl.poster = md.get('poster');\n    }\n  },\n\n  renderByProvider(prov) {\n    var videoEl;\n    switch (prov) {\n      case 'yt':\n        videoEl = this.renderYoutube();\n        break;\n      case 'ytnc':\n        videoEl = this.renderYoutubeNoCookie();\n        break;\n      case 'vi':\n        videoEl = this.renderVimeo();\n        break;\n      default:\n        videoEl = this.renderSource();\n    }\n    this.videoEl = videoEl;\n    return videoEl;\n  },\n\n  renderSource() {\n    var el = document.createElement('video');\n    el.src = this.model.get('src');\n    this.initVideoEl(el);\n    return el;\n  },\n\n  renderYoutube() {\n    var el = document.createElement('iframe');\n    el.src = this.model.getYoutubeSrc();\n    el.frameBorder = 0;\n    el.setAttribute('allowfullscreen', true);\n    this.initVideoEl(el);\n    return el;\n  },\n\n  renderYoutubeNoCookie() {\n    var el = document.createElement('iframe');\n    el.src = this.model.getYoutubeNoCookieSrc();\n    el.frameBorder = 0;\n    el.setAttribute('allowfullscreen', true);\n    this.initVideoEl(el);\n    return el;\n  },\n\n  renderVimeo() {\n    var el = document.createElement('iframe');\n    el.src = this.model.getVimeoSrc();\n    el.frameBorder = 0;\n    el.setAttribute('allowfullscreen', true);\n    this.initVideoEl(el);\n    return el;\n  },\n\n  initVideoEl(el) {\n    el.className = this.ppfx + 'no-pointer';\n    el.style.height = '100%';\n    el.style.width = '100%';\n  },\n\n  render(...args) {\n    ComponentView.prototype.render.apply(this, args);\n    this.updateClasses();\n    var prov = this.model.get('provider');\n    this.el.appendChild(this.renderByProvider(prov));\n    this.updateVideo();\n    return this;\n  }\n});\n","import Component from './Component';\nimport { toLowerCase } from 'utils/mixins';\n\nconst type = 'script';\n\nexport default Component.extend(\n  {\n    defaults: {\n      ...Component.prototype.defaults,\n      type,\n      tagName: type,\n      droppable: false,\n      draggable: false,\n      layerable: false\n    }\n  },\n  {\n    isComponent(el) {\n      if (toLowerCase(el.tagName) == type) {\n        const result = { type };\n\n        if (el.src) {\n          result.src = el.src;\n          result.onload = el.onload;\n        }\n\n        return result;\n      }\n    }\n  }\n);\n","import ComponentView from './ComponentImageView';\n\nexport default ComponentView.extend({\n  tagName: 'script',\n\n  events: {},\n\n  render() {\n    const { model, em } = this;\n    const src = model.get('src');\n    const scrCnt = em && em.get('scriptCount');\n    const scriptCount = scrCnt ? scrCnt : 0;\n    let content = '';\n\n    // If it's an external script\n    if (src) {\n      const onload = model.get('onload');\n      const svar = `script${scriptCount}`;\n      const svarNext = `script${scriptCount + 1}`;\n      const svarFn = `${svar}Start`;\n      const svarNextFn = `${svarNext}Start`;\n      // Load multiple external scripts in the correct order\n      content = `\n        var ${svar} = document.createElement('script');\n        ${svar}.onload = function() {\n          ${onload ? `${onload}();\\n` : ''}\n          typeof ${svarNextFn} == 'function' && ${svarNextFn}();\n        };\n        ${svar}.src = '${src}';\n        function ${svarFn}() { document.body.appendChild(${svar}); };\n        ${!scriptCount ? `${svarFn}();` : ''}\n      `;\n      em && em.set('scriptCount', scriptCount + 1);\n    } else {\n      content = model.__innerHTML();\n    }\n\n    this.el.innerHTML = content;\n    this.postRender();\n    return this;\n  }\n});\n","import Component from './Component';\nimport { toLowerCase } from 'utils/mixins';\n\nconst type = 'svg';\n\nexport default Component.extend(\n  {\n    defaults: {\n      ...Component.prototype.defaults,\n      type,\n      tagName: type,\n      highlightable: 0,\n      resizable: { ratioDefault: 1 }\n    },\n\n    getName() {\n      let name = this.get('tagName');\n      let customName = this.get('custom-name');\n      name = name.charAt(0).toUpperCase() + name.slice(1);\n      return customName || name;\n    }\n  },\n  {\n    isComponent: el => toLowerCase(el.tagName) === type\n  }\n);\n","import Component from './ComponentSvg';\n\n/**\n * Component for inner SVG elements\n */\nexport default Component.extend(\n  {\n    defaults: {\n      ...Component.prototype.defaults,\n      selectable: false,\n      hoverable: false,\n      layerable: false\n    }\n  },\n  {\n    isComponent: (el, opts = {}) => !!opts.inSvg\n  }\n);\n","import ComponentView from './ComponentView';\n\nexport default ComponentView.extend({\n  _createElement: function(tagName) {\n    return document.createElementNS('http://www.w3.org/2000/svg', tagName);\n  }\n});\n","import Component from './Component';\nimport { escape } from 'utils/mixins';\n\nexport default Component.extend(\n  {\n    defaults: {\n      ...Component.prototype.defaults,\n      tagName: '',\n      droppable: false,\n      layerable: false,\n      selectable: false,\n      editable: true\n    },\n\n    toHTML() {\n      const parent = this.parent();\n      const cnt = this.get('content');\n      return parent && parent.is('script') ? cnt : escape(cnt);\n    }\n  },\n  {\n    isComponent(el) {\n      var result = '';\n      if (el.nodeType === 3) {\n        result = {\n          type: 'textnode',\n          content: el.textContent\n        };\n      }\n      return result;\n    }\n  }\n);\n","import Component from './ComponentTextNode';\n\nexport default Component.extend(\n  {\n    defaults: {\n      ...Component.prototype.defaults\n    },\n\n    toHTML() {\n      return `<!--${this.get('content')}-->`;\n    }\n  },\n  {\n    isComponent(el) {\n      if (el.nodeType == 8) {\n        return {\n          tagName: 'NULL',\n          type: 'comment',\n          content: el.textContent\n        };\n      }\n    }\n  }\n);\n","import ComponentView from './ComponentView';\n\nexport default ComponentView.extend({\n  initialize() {\n    ComponentView.prototype.initialize.apply(this, arguments);\n  },\n\n  // Clear methods used on Nodes with attributes\n  _setAttributes() {},\n  renderAttributes() {},\n  updateStatus() {},\n  updateClasses() {},\n  setAttribute() {},\n  updateAttributes() {},\n  initClasses() {},\n  initComponents() {},\n  delegateEvents() {},\n\n  _createElement() {\n    return document.createTextNode('');\n  },\n\n  render() {\n    const { model, el } = this;\n    if (model.opt.temporary) return this;\n    el.textContent = model.get('content');\n    return this;\n  }\n});\n","import ComponentView from './ComponentTextNodeView';\n\nexport default ComponentView.extend({\n  _createElement() {\n    return document.createComment(this.model.get('content'));\n  }\n});\n","import Component from './Component';\n\nexport default class ComponentWrapper extends Component {\n  defaults() {\n    return {\n      ...Component.getDefaults(),\n      tagName: 'body',\n      removable: false,\n      copyable: false,\n      draggable: false,\n      components: [],\n      traits: [],\n      stylable: [\n        'background',\n        'background-color',\n        'background-image',\n        'background-repeat',\n        'background-attachment',\n        'background-position',\n        'background-size',\n      ],\n    };\n  }\n\n  __postAdd() {\n    const um = this.em && this.em.get('UndoManager');\n    um && !this.__hasUm && um.add(this);\n    return Component.prototype.__postAdd.call(this, arguments);\n  }\n\n  __postRemove() {\n    const um = this.em && this.em.get('UndoManager');\n    um && um.remove(this);\n    return Component.prototype.__postRemove.call(this, arguments);\n  }\n}\n\nComponentWrapper.isComponent = () => false;\n","import Component from './Component';\nimport { toLowerCase } from 'utils/mixins';\n\nconst type = 'iframe';\n\nexport default Component.extend(\n  {\n    defaults() {\n      return {\n        ...Component.prototype.defaults,\n        type,\n        tagName: type,\n        droppable: false,\n        resizable: true,\n        traits: ['id', 'title', 'src'],\n        attributes: { frameborder: '0' }\n      };\n    }\n  },\n  {\n    isComponent: el => toLowerCase(el.tagName) === type\n  }\n);\n","import ComponentView from './ComponentView';\nimport { createEl, find, attrUp } from 'utils/dom';\n\nexport default ComponentView.extend({\n  tagName: 'div',\n\n  initialize(...args) {\n    ComponentView.prototype.initialize.apply(this, args);\n    this.listenTo(this.model, 'change:attributes:src', this.updateSrc);\n  },\n\n  updateSrc() {\n    const frame = find(this.el, 'iframe')[0];\n    frame && attrUp(frame, { src: this.__getSrc() });\n  },\n\n  render(...args) {\n    ComponentView.prototype.render.apply(this, args);\n    const frame = createEl('iframe', {\n      class: `${this.ppfx}no-pointer`,\n      style: 'width: 100%; height: 100%; border: none',\n      src: this.__getSrc()\n    });\n    this.el.appendChild(frame);\n    return this;\n  },\n\n  __getSrc() {\n    return this.model.getAttributes().src || '';\n  }\n});\n","/**\n * With this module is possible to manage components inside the canvas. You can customize the initial state of the module from the editor initialization, by passing the following [Configuration Object](https://github.com/artf/grapesjs/blob/master/src/dom_components/config/config.js)\n * ```js\n * const editor = grapesjs.init({\n *  domComponents: {\n *    // options\n *  }\n * })\n * ```\n *\n * Once the editor is instantiated you can use its API and listen to its events. Before using these methods, you should get the module from the instance.\n *\n * ```js\n * // Listen to events\n * editor.on('component:create', () => { ... });\n *\n * // Use the API\n * const cmp = editor.Components;\n * cmp.addType(...);\n * ```\n *\n * ## Available Events\n * * `component:create` - Component is created (only the model, is not yet mounted in the canvas), called after the init() method\n * * `component:mount` - Component is mounted to an element and rendered in canvas\n * * `component:add` - Triggered when a new component is added to the editor, the model is passed as an argument to the callback\n * * `component:remove` - Triggered when a component is removed, the model is passed as an argument to the callback\n * * `component:remove:before` - Triggered before the remove of the component, the model, remove function (if aborted via options, with this function you can complete the remove) and options (use options.abort = true to prevent remove), are passed as arguments to the callback\n * * `component:clone` - Triggered when a component is cloned, the new model is passed as an argument to the callback\n * * `component:update` - Triggered when a component is updated (moved, styled, etc.), the model is passed as an argument to the callback\n * * `component:update:{propertyName}` - Listen any property change, the model is passed as an argument to the callback\n * * `component:styleUpdate` - Triggered when the style of the component is updated, the model is passed as an argument to the callback\n * * `component:styleUpdate:{propertyName}` - Listen for a specific style property change, the model is passed as an argument to the callback\n * * `component:selected` - New component selected, the selected model is passed as an argument to the callback\n * * `component:deselected` - Component deselected, the deselected model is passed as an argument to the callback\n * * `component:toggled` - Component selection changed, toggled model is passed as an argument to the callback\n * * `component:type:add` - New component type added, the new type is passed as an argument to the callback\n * * `component:type:update` - Component type updated, the updated type is passed as an argument to the callback\n * * `component:drag:start` - Component drag started. Passed an object, to the callback, containing the `target` (component to drag), `parent` (parent of the component) and `index` (component index in the parent)\n * * `component:drag` - During component drag. Passed the same object as in `component:drag:start` event, but in this case, `parent` and `index` are updated by the current pointer\n * * `component:drag:end` - Component drag ended. Passed the same object as in `component:drag:start` event, but in this case, `parent` and `index` are updated by the final pointer\n *\n * ## Methods\n * * [getWrapper](#getwrapper)\n * * [getComponents](#getcomponents)\n * * [addComponent](#addcomponent)\n * * [clear](#clear)\n * * [load](#load)\n * * [store](#store)\n * * [addType](#addtype)\n * * [getType](#gettype)\n * * [getTypes](#gettypes)\n * * [render](#render)\n *\n * @module Components\n */\nimport { isEmpty, isObject, isArray, isFunction, isString, result, debounce } from 'underscore';\nimport defaults from './config/config';\nimport Component, { keyUpdate, keyUpdateInside } from './model/Component';\nimport Components from './model/Components';\nimport ComponentView from './view/ComponentView';\nimport ComponentWrapperView from './view/ComponentWrapperView';\nimport ComponentsView from './view/ComponentsView';\nimport ComponentTableCell from './model/ComponentTableCell';\nimport ComponentTableCellView from './view/ComponentTableCellView';\nimport ComponentTableRow from './model/ComponentTableRow';\nimport ComponentTableRowView from './view/ComponentTableRowView';\nimport ComponentTable from './model/ComponentTable';\nimport ComponentTableView from './view/ComponentTableView';\nimport ComponentTableHead from './model/ComponentTableHead';\nimport ComponentTableHeadView from './view/ComponentTableHeadView';\nimport ComponentTableBody from './model/ComponentTableBody';\nimport ComponentTableBodyView from './view/ComponentTableBodyView';\nimport ComponentTableFoot from './model/ComponentTableFoot';\nimport ComponentTableFootView from './view/ComponentTableFootView';\nimport ComponentMap from './model/ComponentMap';\nimport ComponentMapView from './view/ComponentMapView';\nimport ComponentLink from './model/ComponentLink';\nimport ComponentLinkView from './view/ComponentLinkView';\nimport ComponentLabel from './model/ComponentLabel';\nimport ComponentLabelView from './view/ComponentLabelView';\nimport ComponentVideo from './model/ComponentVideo';\nimport ComponentVideoView from './view/ComponentVideoView';\nimport ComponentImage from './model/ComponentImage';\nimport ComponentImageView from './view/ComponentImageView';\nimport ComponentScript from './model/ComponentScript';\nimport ComponentScriptView from './view/ComponentScriptView';\nimport ComponentSvg from './model/ComponentSvg';\nimport ComponentSvgIn from './model/ComponentSvgIn';\nimport ComponentSvgView from './view/ComponentSvgView';\nimport ComponentComment from './model/ComponentComment';\nimport ComponentCommentView from './view/ComponentCommentView';\nimport ComponentTextNode from './model/ComponentTextNode';\nimport ComponentTextNodeView from './view/ComponentTextNodeView';\nimport ComponentText from './model/ComponentText';\nimport ComponentTextView from './view/ComponentTextView';\nimport ComponentWrapper from './model/ComponentWrapper';\nimport ComponentFrame from './model/ComponentFrame';\nimport ComponentFrameView from './view/ComponentFrameView';\n\nexport default () => {\n  var c = {};\n  let em;\n  const componentsById = {};\n\n  var component, componentView;\n  var componentTypes = [\n    {\n      id: 'cell',\n      model: ComponentTableCell,\n      view: ComponentTableCellView,\n    },\n    {\n      id: 'row',\n      model: ComponentTableRow,\n      view: ComponentTableRowView,\n    },\n    {\n      id: 'table',\n      model: ComponentTable,\n      view: ComponentTableView,\n    },\n    {\n      id: 'thead',\n      model: ComponentTableHead,\n      view: ComponentTableHeadView,\n    },\n    {\n      id: 'tbody',\n      model: ComponentTableBody,\n      view: ComponentTableBodyView,\n    },\n    {\n      id: 'tfoot',\n      model: ComponentTableFoot,\n      view: ComponentTableFootView,\n    },\n    {\n      id: 'map',\n      model: ComponentMap,\n      view: ComponentMapView,\n    },\n    {\n      id: 'link',\n      model: ComponentLink,\n      view: ComponentLinkView,\n    },\n    {\n      id: 'label',\n      model: ComponentLabel,\n      view: ComponentLabelView,\n    },\n    {\n      id: 'video',\n      model: ComponentVideo,\n      view: ComponentVideoView,\n    },\n    {\n      id: 'image',\n      model: ComponentImage,\n      view: ComponentImageView,\n    },\n    {\n      id: 'script',\n      model: ComponentScript,\n      view: ComponentScriptView,\n    },\n    {\n      id: 'svg-in',\n      model: ComponentSvgIn,\n      view: ComponentSvgView,\n    },\n    {\n      id: 'svg',\n      model: ComponentSvg,\n      view: ComponentSvgView,\n    },\n    {\n      id: 'iframe',\n      model: ComponentFrame,\n      view: ComponentFrameView,\n    },\n    {\n      id: 'comment',\n      model: ComponentComment,\n      view: ComponentCommentView,\n    },\n    {\n      id: 'textnode',\n      model: ComponentTextNode,\n      view: ComponentTextNodeView,\n    },\n    {\n      id: 'text',\n      model: ComponentText,\n      view: ComponentTextView,\n    },\n    {\n      id: 'wrapper',\n      model: ComponentWrapper,\n      view: ComponentWrapperView,\n    },\n    {\n      id: 'default',\n      model: Component,\n      view: ComponentView,\n    },\n  ];\n\n  return {\n    Component,\n\n    Components,\n\n    ComponentsView,\n\n    componentTypes,\n\n    componentsById,\n\n    /**\n     * Name of the module\n     * @type {String}\n     * @private\n     */\n    name: 'DomComponents',\n\n    /**\n     * Returns config\n     * @return {Object} Config object\n     * @private\n     */\n    getConfig() {\n      return c;\n    },\n\n    /**\n     * Mandatory for the storage manager\n     * @type {String}\n     * @private\n     */\n    storageKey() {\n      var keys = [];\n      var smc = (c.stm && c.stm.getConfig()) || {};\n      if (smc.storeHtml) keys.push('html');\n      if (smc.storeComponents) keys.push('components');\n      return keys;\n    },\n\n    /**\n     * Initialize module. Called on a new instance of the editor with configurations passed\n     * inside 'domComponents' field\n     * @param {Object} config Configurations\n     * @private\n     */\n    init(config) {\n      c = config || {};\n      em = c.em;\n      this.em = em;\n\n      if (em) {\n        c.components = em.config.components || c.components;\n      }\n\n      for (var name in defaults) {\n        if (!(name in c)) c[name] = defaults[name];\n      }\n\n      var ppfx = c.pStylePrefix;\n      if (ppfx) c.stylePrefix = ppfx + c.stylePrefix;\n\n      // Load dependencies\n      if (em) {\n        c.modal = em.get('Modal') || '';\n        c.am = em.get('AssetManager') || '';\n        em.get('Parser').compTypes = componentTypes;\n        em.on('change:componentHovered', this.componentHovered, this);\n\n        const selected = em.get('selected');\n        em.listenTo(selected, 'add', (sel, c, opts) => this.selectAdd(selected.getComponent(sel), opts));\n        em.listenTo(selected, 'remove', (sel, c, opts) => this.selectRemove(selected.getComponent(sel), opts));\n      }\n\n      if (em.get('hasPages')) {\n        c.components = '';\n      }\n\n      return this;\n    },\n\n    /**\n     * On load callback\n     * @private\n     */\n    onLoad() {\n      c.components && this.setComponents(c.components, { silent: 1 });\n    },\n\n    /**\n     * Load components from the passed object, if the object is empty will try to fetch them\n     * autonomously from the selected storage\n     * The fetched data will be added to the collection\n     * @param {Object} data Object of data to load\n     * @return {Object} Loaded data\n     */\n    load(data = '') {\n      const { em } = this;\n      let result = '';\n\n      if (!data && c.stm) {\n        data = c.em.getCacheLoad();\n      }\n\n      const { components, html } = data;\n\n      if (components) {\n        if (isObject(components) || isArray(components)) {\n          result = components;\n        } else {\n          try {\n            result = JSON.parse(components);\n          } catch (err) {\n            em && em.logError(err);\n          }\n        }\n      } else if (html) {\n        result = html;\n      }\n\n      const isObj = result && result.constructor === Object;\n\n      if ((result && result.length) || isObj) {\n        this.clear();\n\n        // If the result is an object I consider it the wrapper\n        if (isObj) {\n          this.getWrapper().set(result);\n        } else {\n          this.getComponents().add(result);\n        }\n      }\n\n      return result;\n    },\n\n    /**\n     * Store components on the selected storage\n     * @param {Boolean} noStore If true, won't store\n     * @return {Object} Data to store\n     */\n    store(noStore) {\n      if (!c.stm || this.em.get('hasPages')) {\n        return {};\n      }\n\n      var obj = {};\n      var keys = this.storageKey();\n\n      if (keys.indexOf('html') >= 0) {\n        obj.html = c.em.getHtml();\n      }\n\n      if (keys.indexOf('components') >= 0) {\n        // const storeWrap = (em && !em.getConfig('avoidInlineStyle')) || c.storeWrapper;\n        const storeWrap = c.storeWrapper;\n        const toStore = storeWrap ? this.getWrapper() : this.getComponents();\n        obj.components = JSON.stringify(toStore);\n      }\n\n      if (!noStore) {\n        c.stm.store(obj);\n      }\n\n      return obj;\n    },\n\n    /**\n     * Returns privately the main wrapper\n     * @return {Object}\n     * @private\n     */\n    getComponent() {\n      const sel = this.em.get('PageManager').getSelected();\n      const frame = sel && sel.getMainFrame();\n      return frame && frame.getComponent();\n    },\n\n    /**\n     * Returns root component inside the canvas. Something like `<body>` inside HTML page\n     * The wrapper doesn't differ from the original Component Model\n     * @return {Component} Root Component\n     * @example\n     * // Change background of the wrapper and set some attribute\n     * var wrapper = cmp.getWrapper();\n     * wrapper.set('style', {'background-color': 'red'});\n     * wrapper.set('attributes', {'title': 'Hello!'});\n     */\n    getWrapper() {\n      return this.getComponent();\n    },\n\n    /**\n     * Returns wrapper's children collection. Once you have the collection you can\n     * add other Components(Models) inside. Each component can have several nested\n     * components inside and you can nest them as more as you wish.\n     * @return {Components} Collection of components\n     * @example\n     * // Let's add some component\n     * var wrapperChildren = cmp.getComponents();\n     * var comp1 = wrapperChildren.add({\n     *   style: { 'background-color': 'red'}\n     * });\n     * var comp2 = wrapperChildren.add({\n     *   tagName: 'span',\n     *   attributes: { title: 'Hello!'}\n     * });\n     * // Now let's add an other one inside first component\n     * // First we have to get the collection inside. Each\n     * // component has 'components' property\n     * var comp1Children = comp1.get('components');\n     * // Procede as before. You could also add multiple objects\n     * comp1Children.add([\n     *   { style: { 'background-color': 'blue'}},\n     *   { style: { height: '100px', width: '100px'}}\n     * ]);\n     * // Remove comp2\n     * wrapperChildren.remove(comp2);\n     */\n    getComponents() {\n      const wrp = this.getWrapper();\n      return wrp && wrp.get('components');\n    },\n\n    /**\n     * Add new components to the wrapper's children. It's the same\n     * as 'cmp.getComponents().add(...)'\n     * @param {Object|Component|Array<Object>} component Component/s to add\n     * @param {string} [component.tagName='div'] Tag name\n     * @param {string} [component.type=''] Type of the component. Available: ''(default), 'text', 'image'\n     * @param {boolean} [component.removable=true] If component is removable\n     * @param {boolean} [component.draggable=true] If is possible to move the component around the structure\n     * @param {boolean} [component.droppable=true] If is possible to drop inside other components\n     * @param {boolean} [component.badgable=true] If the badge is visible when the component is selected\n     * @param {boolean} [component.stylable=true] If is possible to style component\n     * @param {boolean} [component.copyable=true] If is possible to copy&paste the component\n     * @param {string} [component.content=''] String inside component\n     * @param {Object} [component.style={}] Style object\n     * @param {Object} [component.attributes={}] Attribute object\n     * @param {Object} opt the options object to be used by the [Components.add]{@link getComponents} method\n     * @return {Component|Array<Component>} Component/s added\n     * @example\n     * // Example of a new component with some extra property\n     * var comp1 = cmp.addComponent({\n     *   tagName: 'div',\n     *   removable: true, // Can't remove it\n     *   draggable: true, // Can't move it\n     *   copyable: true, // Disable copy/past\n     *   content: 'Content text', // Text inside component\n     *   style: { color: 'red'},\n     *   attributes: { title: 'here' }\n     * });\n     */\n    addComponent(component, opt = {}) {\n      return this.getComponents().add(component, opt);\n    },\n\n    /**\n     * Render and returns wrapper element with all components inside.\n     * Once the wrapper is rendered, and it's what happens when you init the editor,\n     * the all new components will be added automatically and property changes are all\n     * updated immediately\n     * @return {HTMLElement}\n     */\n    render() {\n      return componentView.render().el;\n    },\n\n    /**\n     * Remove all components\n     * @return {this}\n     */\n    clear(opts = {}) {\n      this.getComponents()\n        .map(i => i)\n        .forEach(i => i.remove(opts));\n      return this;\n    },\n\n    /**\n     * Set components\n     * @param {Object|string} components HTML string or components model\n     * @param {Object} opt the options object to be used by the {@link addComponent} method\n     * @return {this}\n     * @private\n     */\n    setComponents(components, opt = {}) {\n      this.clear(opt).addComponent(components, opt);\n    },\n\n    /**\n     * Add new component type.\n     * Read more about this in [Define New Component](https://grapesjs.com/docs/modules/Components.html#define-new-component)\n     * @param {string} type Component ID\n     * @param {Object} methods Component methods\n     * @return {this}\n     */\n    addType(type, methods) {\n      const { em } = this;\n      const { model = {}, view = {}, isComponent, extend, extendView, extendFn = [], extendFnView = [] } = methods;\n      const compType = this.getType(type);\n      const extendType = this.getType(extend);\n      const extendViewType = this.getType(extendView);\n      const typeToExtend = extendType ? extendType : compType ? compType : this.getType('default');\n      const modelToExt = typeToExtend.model;\n      const viewToExt = extendViewType ? extendViewType.view : typeToExtend.view;\n\n      // Function for extending source object methods\n      const getExtendedObj = (fns, target, srcToExt) =>\n        fns.reduce((res, next) => {\n          const fn = target[next];\n          const parentFn = srcToExt.prototype[next];\n          if (fn && parentFn) {\n            res[next] = function (...args) {\n              parentFn.bind(this)(...args);\n              fn.bind(this)(...args);\n            };\n          }\n          return res;\n        }, {});\n\n      // If the model/view is a simple object I need to extend it\n      if (typeof model === 'object') {\n        methods.model = modelToExt.extend(\n          {\n            ...model,\n            ...getExtendedObj(extendFn, model, modelToExt),\n            defaults: {\n              ...(result(modelToExt.prototype, 'defaults') || {}),\n              ...(result(model, 'defaults') || {}),\n            },\n          },\n          {\n            isComponent: compType && !extendType && !isComponent ? modelToExt.isComponent : isComponent || (() => 0),\n          }\n        );\n      }\n\n      if (typeof view === 'object') {\n        methods.view = viewToExt.extend({\n          ...view,\n          ...getExtendedObj(extendFnView, view, viewToExt),\n        });\n      }\n\n      if (compType) {\n        compType.model = methods.model;\n        compType.view = methods.view;\n      } else {\n        methods.id = type;\n        componentTypes.unshift(methods);\n      }\n\n      const event = `component:type:${compType ? 'update' : 'add'}`;\n      em && em.trigger(event, compType || methods);\n\n      return this;\n    },\n\n    /**\n     * Get component type.\n     * Read more about this in [Define New Component](https://grapesjs.com/docs/modules/Components.html#define-new-component)\n     * @param {string} type Component ID\n     * @return {Object} Component type definition, eg. `{ model: ..., view: ... }`\n     */\n    getType(type) {\n      var df = componentTypes;\n\n      for (var it = 0; it < df.length; it++) {\n        var dfId = df[it].id;\n        if (dfId == type) {\n          return df[it];\n        }\n      }\n      return;\n    },\n\n    /**\n     * Remove component type\n     * @param {string} type Component ID\n     * @returns {Object|undefined} Removed component type, undefined otherwise\n     */\n    removeType(id) {\n      const df = componentTypes;\n      const type = this.getType(id);\n      if (!type) return;\n      const index = df.indexOf(type);\n      df.splice(index, 1);\n      return type;\n    },\n\n    /**\n     * Return the array of all types\n     * @return {Array}\n     */\n    getTypes() {\n      return componentTypes;\n    },\n\n    selectAdd(component, opts = {}) {\n      if (component) {\n        component.set({\n          status: 'selected',\n        });\n        ['component:selected', 'component:toggled'].forEach(event => this.em.trigger(event, component, opts));\n      }\n    },\n\n    selectRemove(component, opts = {}) {\n      if (component) {\n        const { em } = this;\n        component.set({\n          status: '',\n          state: '',\n        });\n        ['component:deselected', 'component:toggled'].forEach(event => this.em.trigger(event, component, opts));\n      }\n    },\n\n    /**\n     * Triggered when the component is hovered\n     * @private\n     */\n    componentHovered() {\n      const em = c.em;\n      const model = em.get('componentHovered');\n      const previous = em.previous('componentHovered');\n      const state = 'hovered';\n\n      // Deselect the previous component\n      previous &&\n        previous.get('status') == state &&\n        previous.set({\n          status: '',\n          state: '',\n        });\n\n      model && isEmpty(model.get('status')) && model.set('status', state);\n    },\n\n    getShallowWrapper() {\n      let { shallow, em } = this;\n\n      if (!shallow && em) {\n        const shallowEm = em.get('shallow');\n        if (!shallowEm) return;\n        const domc = shallowEm.get('DomComponents');\n        domc.componentTypes = this.componentTypes;\n        shallow = domc.getWrapper();\n        if (shallow) {\n          const events = [keyUpdate, keyUpdateInside].join(' ');\n          shallow.on(\n            events,\n            debounce(() => shallow.components(''), 100)\n          );\n        }\n        this.shallow = shallow;\n      }\n\n      return shallow;\n    },\n\n    /**\n     * Check if the component can be moved inside another.\n     * @param {[Component]} target The target Component is the one that is supposed to receive the source one.\n     * @param {[Component]|String} source The source can be another Component or an HTML string.\n     * @param {Number} [index] Index position. If not specified, the check will perform against appending the source to target.\n     * @returns {Object} Object containing the `result` (Boolean), `source`, `target` (as Components), and a `reason` (Number) with these meanings:\n     * * `0` - Invalid source. This is a default value and should be ignored in case the `result` is true.\n     * * `1` - Source doesn't accept target as destination.\n     * * `2` - Target doesn't accept source.\n     * @private\n     */\n    canMove(target, source, index) {\n      const at = index || index === 0 ? index : null;\n      const result = {\n        result: false,\n        reason: 0,\n        target,\n        source: null,\n      };\n\n      if (!source) return result;\n\n      let srcModel = source?.toHTML ? source : null;\n\n      if (!srcModel) {\n        const wrapper = this.getShallowWrapper();\n        srcModel = wrapper?.append(source)[0];\n      }\n\n      result.source = srcModel;\n\n      if (!srcModel) return result;\n\n      // Check if the source is draggable in the target\n      let draggable = srcModel.get('draggable');\n\n      if (isFunction(draggable)) {\n        draggable = !!draggable(srcModel, target, at);\n      } else {\n        const el = target.getEl();\n        draggable = isArray(draggable) ? draggable.join(',') : draggable;\n        draggable = isString(draggable) ? el?.matches(draggable) : draggable;\n      }\n\n      if (!draggable) return { ...result, reason: 1 };\n\n      // Check if the target accepts the source\n      let droppable = target.get('droppable');\n\n      if (isFunction(droppable)) {\n        droppable = !!droppable(srcModel, target, at);\n      } else {\n        if (droppable === false && target.isInstanceOf('text') && srcModel.get('textable')) {\n          droppable = true;\n        } else {\n          const el = srcModel.getEl();\n          droppable = isArray(droppable) ? droppable.join(',') : droppable;\n          droppable = isString(droppable) ? el?.matches(droppable) : droppable;\n        }\n      }\n\n      if (!droppable) return { ...result, reason: 2 };\n\n      return { ...result, result: true };\n    },\n\n    allById() {\n      return componentsById;\n    },\n\n    getById(id) {\n      return componentsById[id] || null;\n    },\n\n    destroy() {\n      const all = this.allById();\n      Object.keys(all).forEach(id => all[id] && all[id].remove());\n      componentView && componentView.remove();\n      [c, em, componentsById, component, componentView].forEach(i => (i = {}));\n      this.em = {};\n    },\n  };\n};\n","import { Model } from 'common';\nimport { isUndefined } from 'underscore';\n\n/**\n * @typedef Trait\n * @property {String} id Trait id, eg. `my-trait-id`.\n * @property {String} type Trait type, defines how the trait should rendered. Possible values: `text` (default), `number`, `select`, `checkbox`, `color`, `button`\n * @property {String} label The trait label to show for the rendered trait.\n * @property {String} name The name of the trait used as a key for the attribute/property. By default, the name is used as attribute name or property in case `changeProp` in enabled.\n * @property {Boolean} changeProp If `true` the trait value is applied on component\n *\n */\nexport default class Trait extends Model {\n  initialize() {\n    const { target, name, changeProp } = this.attributes;\n    !this.get('id') && this.set('id', name);\n\n    if (target) {\n      this.target = target;\n      this.unset('target');\n      const targetEvent = changeProp ? `change:${name}` : `change:attributes:${name}`;\n      this.listenTo(target, targetEvent, this.targetUpdated);\n    }\n  }\n\n  /**\n   * Get the trait id.\n   * @returns {String}\n   */\n  getId() {\n    return this.get('id');\n  }\n\n  /**\n   * Get the trait type.\n   * @returns {String}\n   */\n  getType() {\n    return this.get('type');\n  }\n\n  /**\n   * Get the trait name.\n   * @returns {String}\n   */\n  getName() {\n    return this.get('name');\n  }\n\n  /**\n   * Get the trait label.\n   * @param {Object} [opts={}] Options.\n   * @param {Boolean} [opts.locale=true] Use the locale string from i18n module.\n   * @returns {String}\n   */\n  getLabel(opts = {}) {\n    const { locale = true } = opts;\n    const id = this.getId();\n    const name = this.get('label') || this.getName();\n    return (locale && this.em?.t(`traitManager.traits.labels.${id}`)) || name;\n  }\n\n  /**\n   * Get the trait value.\n   * The value is taken from component attributes by default or from properties if the trait has the `changeProp` enabled.\n   * @returns {any}\n   */\n  getValue() {\n    return this.getTargetValue();\n  }\n\n  /**\n   * Update the trait value.\n   * The value is applied on component attributes by default or on properties if the trait has the `changeProp` enabled.\n   * @param {any} value Value of the trait.\n   * @param {Object} [opts={}] Options.\n   * @param {Boolean} [opts.partial] If `true` the update won't be considered complete (not stored in UndoManager).\n   */\n  setValue(value, opts = {}) {\n    const valueOpts = {};\n\n    if (opts.partial) {\n      valueOpts.avoidStore = true;\n    }\n\n    this.setTargetValue(value, valueOpts);\n\n    if (opts.partial === false) {\n      this.setTargetValue('');\n      this.setTargetValue(value);\n    }\n  }\n\n  props() {\n    return this.attributes;\n  }\n\n  targetUpdated() {\n    const value = this.getTargetValue();\n    this.set({ value }, { fromTarget: 1 });\n    this.em?.trigger('trait:update', {\n      trait: this,\n      component: this.target,\n    });\n  }\n\n  getTargetValue() {\n    const name = this.get('name');\n    const target = this.target;\n    let value;\n\n    if (this.get('changeProp')) {\n      value = target.get(name);\n    } else {\n      value = target.getAttributes()[name];\n    }\n\n    return !isUndefined(value) ? value : '';\n  }\n\n  setTargetValue(value, opts = {}) {\n    const target = this.target;\n    const name = this.get('name');\n    if (isUndefined(value)) return;\n    let valueToSet = value;\n\n    if (value === 'false') {\n      valueToSet = false;\n    } else if (value === 'true') {\n      valueToSet = true;\n    }\n\n    if (this.get('changeProp')) {\n      target.set(name, valueToSet, opts);\n    } else {\n      const attrs = { ...target.get('attributes') };\n      attrs[name] = valueToSet;\n      target.set('attributes', attrs, opts);\n    }\n  }\n\n  setValueFromInput(value, final = 1, opts = {}) {\n    const toSet = { value };\n    this.set(toSet, { ...opts, avoidStore: 1 });\n\n    // Have to trigger the change\n    if (final) {\n      this.set('value', '', opts);\n      this.set(toSet, opts);\n    }\n  }\n\n  getInitValue() {\n    const target = this.target;\n    const name = this.get('name');\n    let value;\n\n    if (target) {\n      const attrs = target.get('attributes');\n      value = this.get('changeProp') ? target.get(name) : attrs[name];\n    }\n\n    return value || this.get('value') || this.get('default');\n  }\n}\n\nTrait.prototype.defaults = {\n  type: 'text',\n  label: '',\n  name: '',\n  min: '',\n  max: '',\n  unit: '',\n  step: 1,\n  value: '',\n  target: '',\n  default: '',\n  placeholder: '',\n  changeProp: 0,\n  options: [],\n};\n","import { Collection } from 'common';\nimport { isString, isArray } from 'underscore';\nimport Trait from './Trait';\nimport TraitFactory from './TraitFactory';\n\nexport default class Traits extends Collection {\n  initialize(coll, options = {}) {\n    this.em = options.em;\n    this.listenTo(this, 'add', this.handleAdd);\n    this.listenTo(this, 'reset', this.handleReset);\n  }\n\n  handleReset(coll, { previousModels = [] } = {}) {\n    previousModels.forEach(model => model.trigger('remove'));\n  }\n\n  handleAdd(model) {\n    model.em = this.em;\n    const target = this.target;\n\n    if (target) {\n      model.target = target;\n    }\n  }\n\n  setTarget(target) {\n    this.target = target;\n  }\n\n  add(models, opt) {\n    const em = this.em;\n\n    // Use TraitFactory if necessary\n    if (isString(models) || isArray(models)) {\n      const tm = em && em.get && em.get('TraitManager');\n      const tmOpts = tm && tm.getConfig();\n      const tf = TraitFactory(tmOpts);\n\n      if (isString(models)) {\n        models = [models];\n      }\n\n      for (var i = 0, len = models.length; i < len; i++) {\n        const str = models[i];\n        const model = isString(str) ? tf.build(str)[0] : str;\n        model.target = this.target;\n        models[i] = model;\n      }\n    }\n\n    return Collection.prototype.add.apply(this, [models, opt]);\n  }\n}\n\nTraits.prototype.model = Trait;\n","export default (config = {}) => ({\n  /**\n   * Build props object by their name\n   * @param  {Array<string>|string} props Array of properties name\n   * @return {Array<Object>}\n   */\n  build(props) {\n    const objs = [];\n\n    if (typeof props === 'string') props = [props];\n\n    for (let i = 0; i < props.length; i++) {\n      const obj = {};\n      const prop = props[i];\n      obj.name = prop;\n\n      switch (prop) {\n        case 'target':\n          obj.type = 'select';\n          obj.default = false;\n          obj.options = config.optionsTarget;\n          break;\n      }\n\n      objs.push(obj);\n    }\n\n    return objs;\n  }\n});\n","import {\n  isUndefined,\n  isFunction,\n  isArray,\n  isEmpty,\n  isBoolean,\n  has,\n  isString,\n  forEach,\n  result,\n  bindAll,\n  keys,\n} from 'underscore';\nimport { shallowDiff, capitalize, isEmptyObj, isObject, toLowerCase } from 'utils/mixins';\nimport Styleable from 'domain_abstract/model/Styleable';\nimport { Model } from 'backbone';\nimport Components from './Components';\nimport Selector from 'selector_manager/model/Selector';\nimport Selectors from 'selector_manager/model/Selectors';\nimport Traits from 'trait_manager/model/Traits';\n\nconst escapeRegExp = str => {\n  return str.replace(/[|\\\\{}()[\\]^$+*?.]/g, '\\\\$&');\n};\n\nconst avoidInline = em => em && em.getConfig('avoidInlineStyle');\n\nexport const eventDrag = 'component:drag';\nexport const keySymbols = '__symbols';\nexport const keySymbol = '__symbol';\nexport const keySymbolOvrd = '__symbol_ovrd';\nexport const keyUpdate = 'component:update';\nexport const keyUpdateInside = `${keyUpdate}-inside`;\n\n/**\n * The Component object represents a single node of our template structure, so when you update its properties the changes are\n * immediately reflected on the canvas and in the code to export (indeed, when you ask to export the code we just go through all\n * the tree of nodes).\n * An example on how to update properties:\n * ```js\n * component.set({\n *  tagName: 'span',\n *  attributes: { ... },\n *  removable: false,\n * });\n * component.get('tagName');\n * // -> 'span'\n * ```\n *\n * [Component]: component.html\n *\n * @typedef Component\n * @property {String} [type=''] Component type, eg. `text`, `image`, `video`, etc.\n * @property {String} [tagName='div'] HTML tag of the component, eg. `span`. Default: `div`\n * @property {Object} [attributes={}] Key-value object of the component's attributes, eg. `{ title: 'Hello' }` Default: `{}`\n * @property {String} [name=''] Name of the component. Will be used, for example, in Layers and badges\n * @property {Boolean} [removable=true] When `true` the component is removable from the canvas, default: `true`\n * @property {Boolean|String|Function} [draggable=true] Indicates if it's possible to drag the component inside others.\n *  You can also specify a query string to indentify elements,\n *  eg. `'.some-class[title=Hello], [data-gjs-type=column]'` means you can drag the component only inside elements\n *  containing `some-class` class and `Hello` title, and `column` components. In the case of a function, target and destination components are passed as arguments, return a Boolean to indicate if the drag is possible. Default: `true`\n * @property {Boolean|String|Function} [droppable=true] Indicates if it's possible to drop other components inside. You can use\n * a query string as with `draggable`. In the case of a function, target and destination components are passed as arguments, return a Boolean to indicate if the drop is possible. Default: `true`\n * @property {Boolean} [badgable=true] Set to false if you don't want to see the badge (with the name) over the component. Default: `true`\n * @property {Boolean|Array<String>} [stylable=true] True if it's possible to style the component.\n * You can also indicate an array of CSS properties which is possible to style, eg. `['color', 'width']`, all other properties\n * will be hidden from the style manager. Default: `true`\n * @property {Array<String>} [stylable-require=[]] Indicate an array of style properties to show up which has been marked as `toRequire`. Default: `[]`\n * @property {Array<String>} [unstylable=[]] Indicate an array of style properties which should be hidden from the style manager. Default: `[]`\n * @property {Boolean} [highlightable=true] It can be highlighted with 'dotted' borders if true. Default: `true`\n * @property {Boolean} [copyable=true] True if it's possible to clone the component. Default: `true`\n * @property {Boolean} [resizable=false] Indicates if it's possible to resize the component. It's also possible to pass an object as [options for the Resizer](https://github.com/artf/grapesjs/blob/master/src/utils/Resizer.js). Default: `false`\n * @property {Boolean} [editable=false] Allow to edit the content of the component (used on Text components). Default: `false`\n * @property {Boolean} [layerable=true] Set to `false` if you need to hide the component inside Layers. Default: `true`\n * @property {Boolean} [selectable=true] Allow component to be selected when clicked. Default: `true`\n * @property {Boolean} [hoverable=true] Shows a highlight outline when hovering on the element if `true`. Default: `true`\n * @property {Boolean} [void=false] This property is used by the HTML exporter as void elements don't have closing tags, eg. `<br/>`, `<hr/>`, etc. Default: `false`\n * @property {Object} [style={}] Component default style, eg. `{ width: '100px', height: '100px', 'background-color': 'red' }`\n * @property {String} [styles=''] Component related styles, eg. `.my-component-class { color: red }`\n * @property {String} [content=''] Content of the component (not escaped) which will be appended before children rendering. Default: `''`\n * @property {String} [icon=''] Component's icon, this string will be inserted before the name (in Layers and badge), eg. it can be an HTML string '<i class=\"fa fa-square-o\"></i>'. Default: `''`\n * @property {String|Function} [script=''] Component's javascript. More about it [here](/modules/Components-js.html). Default: `''`\n * @property {String|Function} [script-export=''] You can specify javascript available only in export functions (eg. when you get the HTML).\n * If this property is defined it will overwrite the `script` one (in export functions). Default: `''`\n * @property {Array<Object|String>} [traits=''] Component's traits. More about it [here](/modules/Traits.html). Default: `['id', 'title']`\n * @property {Array<String>} [propagate=[]] Indicates an array of properties which will be inhereted by all NEW appended children.\n *  For example if you create a component likes this: `{ removable: false, draggable: false, propagate: ['removable', 'draggable'] }`\n *  and append some new component inside, the new added component will get the exact same properties indicated in the `propagate` array (and the `propagate` property itself). Default: `[]`\n * @property {Array<Object>} [toolbar=null] Set an array of items to show up inside the toolbar when the component is selected (move, clone, delete).\n * Eg. `toolbar: [ { attributes: {class: 'fa fa-arrows'}, command: 'tlb-move' }, ... ]`.\n * By default, when `toolbar` property is falsy the editor will add automatically commands `core:component-exit` (select parent component, added if there is one), `tlb-move` (added if `draggable`) , `tlb-clone` (added if `copyable`), `tlb-delete` (added if `removable`).\n * @property {Collection<Component>} [components=null] Children components. Default: `null`\n */\nexport default class Component extends Model.extend(Styleable) {\n  /**\n   * Hook method, called once the model is created\n   */\n  init() {}\n\n  /**\n   * Hook method, called when the model has been updated (eg. updated some model's property)\n   * @param {String} property Property name, if triggered after some property update\n   * @param {*} value Property value, if triggered after some property update\n   * @param {*} previous Property previous value, if triggered after some property update\n   */\n  updated(property, value, previous) {}\n\n  /**\n   * Hook method, called once the model has been removed\n   */\n  removed() {}\n\n  initialize(props = {}, opt = {}) {\n    bindAll(this, '__upSymbProps', '__upSymbCls', '__upSymbComps');\n    const em = opt.em;\n\n    // Propagate properties from parent if indicated\n    const parent = this.parent();\n    const parentAttr = parent && parent.attributes;\n    const propagate = this.get('propagate');\n    propagate && this.set('propagate', isArray(propagate) ? propagate : [propagate]);\n\n    if (parentAttr && parentAttr.propagate && !propagate) {\n      const newAttr = {};\n      const toPropagate = parentAttr.propagate;\n      toPropagate.forEach(prop => (newAttr[prop] = parent.get(prop)));\n      newAttr.propagate = toPropagate;\n      this.set({ ...newAttr, ...props });\n    }\n\n    // Check void elements\n    if (opt && opt.config && opt.config.voidElements.indexOf(this.get('tagName')) >= 0) {\n      this.set('void', true);\n    }\n\n    opt.em = em;\n    this.opt = opt;\n    this.em = em;\n    this.frame = opt.frame;\n    this.config = opt.config || {};\n    this.set('attributes', {\n      ...(result(this, 'defaults').attributes || {}),\n      ...(this.get('attributes') || {}),\n    });\n    this.ccid = Component.createId(this, opt);\n    this.initClasses();\n    this.initTraits();\n    this.initComponents();\n    this.initToolbar();\n    this.initScriptProps();\n    this.listenTo(this, 'change:script', this.scriptUpdated);\n    this.listenTo(this, 'change:tagName', this.tagUpdated);\n    this.listenTo(this, 'change:attributes', this.attrUpdated);\n    this.listenTo(this, 'change:attributes:id', this._idUpdated);\n    this.on('change:toolbar', this.__emitUpdateTlb);\n    this.on('change', this.__onChange);\n    this.on(keyUpdateInside, this.__propToParent);\n    this.set('status', '');\n    this.views = [];\n\n    // Register global updates for collection properties\n    ['classes', 'traits', 'components'].forEach(name => {\n      const events = `add remove ${name !== 'components' ? 'change' : ''}`;\n      this.listenTo(this.get(name), events.trim(), (...args) => this.emitUpdate(name, ...args));\n    });\n\n    if (!opt.temporary) {\n      // Add component styles\n      const cssc = em && em.get('CssComposer');\n      const { styles, type } = this.attributes;\n      if (styles && cssc) {\n        cssc.addCollection(styles, {}, { group: `cmp:${type}` });\n      }\n\n      this.__postAdd();\n      this.init();\n      this.__isSymbolOrInst() && this.__initSymb();\n      em && em.trigger('component:create', this);\n    }\n  }\n\n  __postAdd(opts = {}) {\n    const { em } = this;\n    const um = em && em.get('UndoManager');\n    const comps = this.components();\n    if (um && !this.__hasUm) {\n      um.add(comps);\n      um.add(this.getSelectors());\n      this.__hasUm = 1;\n    }\n    opts.recursive && comps.map(c => c.__postAdd(opts));\n  }\n\n  __postRemove() {\n    const { em } = this;\n    const um = em && em.get('UndoManager');\n    if (um) {\n      um.remove(this.components());\n      um.remove(this.getSelectors());\n      delete this.__hasUm;\n    }\n  }\n\n  __onChange(m, opts) {\n    const changed = this.changedAttributes();\n    ['status', 'open', 'toolbar', 'traits'].forEach(name => delete changed[name]);\n    // Propagate component prop changes\n    if (!isEmptyObj(changed)) {\n      this.__changesUp(opts);\n      this.__propSelfToParent({ component: this, changed, options: opts });\n    }\n  }\n\n  __changesUp(opts) {\n    const { em, frame } = this;\n    [frame, em].forEach(md => md && md.changesUp(opts));\n  }\n\n  __propSelfToParent(props) {\n    this.trigger(keyUpdate, props);\n    this.__propToParent(props);\n  }\n\n  __propToParent(props) {\n    const parent = this.parent();\n    parent && parent.trigger(keyUpdateInside, props);\n  }\n\n  __emitUpdateTlb() {\n    this.emitUpdate('toolbar');\n  }\n\n  /**\n   * Check component's type\n   * @param  {string}  type Component type\n   * @return {Boolean}\n   * @example\n   * component.is('image')\n   * // -> false\n   */\n  is(type) {\n    return !!(this.get('type') == type);\n  }\n\n  /**\n   * Return all the propeties\n   * @returns {Object}\n   */\n  props() {\n    return this.attributes;\n  }\n\n  /**\n   * Get the index of the component in the parent collection.\n   * @return {Number}\n   */\n  index() {\n    const { collection } = this;\n    return collection ? collection.indexOf(this) : 0;\n  }\n\n  /**\n   * Change the drag mode of the component.\n   * To get more about this feature read: https://github.com/artf/grapesjs/issues/1936\n   * @param {String} value Drag mode, options: 'absolute' | 'translate'\n   * @returns {this}\n   */\n  setDragMode(value) {\n    return this.set('dmode', value);\n  }\n\n  /**\n   * Find inner components by query string.\n   * **ATTENTION**: this method works only with already rendered component\n   * @param  {String} query Query string\n   * @return {Array} Array of components\n   * @example\n   * component.find('div > .class');\n   * // -> [Component, Component, ...]\n   */\n  find(query) {\n    const result = [];\n    const $els = this.view.$el.find(query);\n    $els.each(i => {\n      const $el = $els.eq(i);\n      const model = $el.data('model');\n      model && result.push(model);\n    });\n\n    return result;\n  }\n\n  /**\n   * Find all inner components by component type.\n   * The advantage of this method over `find` is that you can use it\n   * also before rendering the component\n   * @param {String} type Component type\n   * @returns {Array<Component>}\n   * @example\n   * const allImages = component.findType('image');\n   * console.log(allImages[0]) // prints the first found component\n   */\n  findType(type) {\n    const result = [];\n    const find = components =>\n      components.forEach(item => {\n        item.is(type) && result.push(item);\n        find(item.components());\n      });\n    find(this.components());\n    return result;\n  }\n\n  /**\n   * Find the closest parent component by query string.\n   * **ATTENTION**: this method works only with already rendered component\n   * @param  {string} query Query string\n   * @return {Component}\n   * @example\n   * component.closest('div.some-class');\n   * // -> Component\n   */\n  closest(query) {\n    const result = this.view.$el.closest(query);\n    return result.length && result.data('model');\n  }\n\n  /**\n   * Find the closest parent component by its type.\n   * The advantage of this method over `closest` is that you can use it\n   * also before rendering the component\n   * @param {String} type Component type\n   * @returns {Component} Found component, otherwise `undefined`\n   * @example\n   * const Section = component.closestType('section');\n   * console.log(Section);\n   */\n  closestType(type) {\n    let parent = this.parent();\n\n    while (parent && !parent.is(type)) {\n      parent = parent.parent();\n    }\n\n    return parent;\n  }\n\n  /**\n   * The method returns a Boolean value indicating whether the passed\n   * component is a descendant of a given component\n   * @param {Component} component Component to check\n   * @returns {Boolean}\n   */\n  contains(component) {\n    let result = !1;\n    if (!component) return result;\n    const contains = components => {\n      !result &&\n        components.forEach(item => {\n          if (item === component) result = !0;\n          !result && contains(item.components());\n        });\n    };\n    contains(this.components());\n    return result;\n  }\n\n  /**\n   * Once the tag is updated I have to rerender the element\n   * @private\n   */\n  tagUpdated() {\n    this.trigger('rerender');\n  }\n\n  /**\n   * Replace a component with another one\n   * @param {String|Component} el Component or HTML string\n   * @return {Component|Array<Component>} New added component/s\n   * @example\n   * component.replaceWith('<div>Some new content</div>');\n   * // -> Component\n   */\n  replaceWith(el) {\n    const coll = this.collection;\n    const at = coll.indexOf(this);\n    coll.remove(this);\n    return coll.add(el, { at });\n  }\n\n  /**\n   * Emit changes for each updated attribute\n   * @private\n   */\n  attrUpdated(m, v, opts = {}) {\n    const attrs = this.get('attributes');\n    // Handle classes\n    const classes = attrs.class;\n    classes && this.setClass(classes);\n    delete attrs.class;\n\n    // Handle style\n    const style = attrs.style;\n    style && this.setStyle(style);\n    delete attrs.style;\n\n    const attrPrev = { ...this.previous('attributes') };\n    const diff = shallowDiff(attrPrev, this.get('attributes'));\n    keys(diff).forEach(pr => this.trigger(`change:attributes:${pr}`, this, diff[pr], opts));\n  }\n\n  /**\n   * Update attributes of the component\n   * @param {Object} attrs Key value attributes\n   * @param {Object} options Options for the model update\n   * @return {this}\n   * @example\n   * component.setAttributes({ id: 'test', 'data-key': 'value' });\n   */\n  setAttributes(attrs, opts = {}) {\n    this.set('attributes', { ...attrs }, opts);\n    return this;\n  }\n\n  /**\n   * Add attributes to the component\n   * @param {Object} attrs Key value attributes\n   * @param {Object} options Options for the model update\n   * @return {this}\n   * @example\n   * component.addAttributes({ 'data-key': 'value' });\n   */\n  addAttributes(attrs, opts = {}) {\n    return this.setAttributes(\n      {\n        ...this.getAttributes({ noClass: 1 }),\n        ...attrs,\n      },\n      opts\n    );\n  }\n\n  /**\n   * Remove attributes from the component\n   * @param {String|Array<String>} attrs Array of attributes to remove\n   * @param {Object} options Options for the model update\n   * @return {this}\n   * @example\n   * component.removeAttributes('some-attr');\n   * component.removeAttributes(['some-attr1', 'some-attr2']);\n   */\n  removeAttributes(attrs = [], opts = {}) {\n    const attrArr = Array.isArray(attrs) ? attrs : [attrs];\n    const compAttr = this.getAttributes();\n    attrArr.map(i => delete compAttr[i]);\n    return this.setAttributes(compAttr, opts);\n  }\n\n  /**\n   * Get the style of the component\n   * @return {Object}\n   */\n  getStyle(options = {}, optsAdd = {}) {\n    const em = this.em;\n    const prop = isString(options) ? options : '';\n    const opts = prop ? optsAdd : options;\n\n    if (em && em.getConfig('avoidInlineStyle') && !opts.inline) {\n      const state = em.get('state');\n      const cc = em.get('CssComposer');\n      const rule = cc.getIdRule(this.getId(), { state, ...opts });\n      this.rule = rule;\n\n      if (rule) {\n        return rule.getStyle(prop);\n      }\n    }\n\n    return Styleable.getStyle.call(this, prop);\n  }\n\n  /**\n   * Set the style on the component\n   * @param {Object} prop Key value style object\n   * @return {Object}\n   * @example\n   * component.setStyle({ color: 'red' });\n   */\n  setStyle(prop = {}, opts = {}) {\n    const em = this.em;\n    const { opt } = this;\n\n    if (em && em.getConfig('avoidInlineStyle') && !opt.temporary && !opts.inline) {\n      const style = this.get('style') || {};\n      prop = isString(prop) ? this.parseStyle(prop) : prop;\n      prop = { ...prop, ...style };\n      const state = em.get('state');\n      const cc = em.get('CssComposer');\n      const propOrig = this.getStyle(opts);\n      this.rule = cc.setIdRule(this.getId(), prop, { ...opts, state });\n      const diff = shallowDiff(propOrig, prop);\n      this.set('style', '', { silent: 1 });\n      keys(diff).forEach(pr => this.trigger(`change:style:${pr}`));\n    } else {\n      prop = Styleable.setStyle.apply(this, arguments);\n    }\n\n    return prop;\n  }\n\n  /**\n   * Return all component's attributes\n   * @return {Object}\n   */\n  getAttributes(opts = {}) {\n    const { em } = this;\n    const classes = [];\n    const attributes = { ...this.get('attributes') };\n    const sm = em && em.get('SelectorManager');\n    const id = this.getId();\n\n    // Add classes\n    if (!opts.noClass) {\n      this.get('classes').forEach(cls => classes.push(isString(cls) ? cls : cls.get('name')));\n      classes.length && (attributes.class = classes.join(' '));\n    }\n\n    // Add style\n    if (!opts.noStyle) {\n      const style = this.get('style');\n      if (isObject(style) && !isEmptyObj(style)) {\n        attributes.style = this.styleToString({ inline: 1 });\n      }\n    }\n\n    // Check if we need an ID on the component\n    if (!has(attributes, 'id')) {\n      let addId;\n\n      // If we don't rely on inline styling we have to check\n      // for the ID selector\n      if (avoidInline(em)) {\n        addId = sm && sm.get(id, sm.Selector.TYPE_ID);\n      } else if (!isEmpty(this.getStyle())) {\n        addId = 1;\n      }\n\n      // Symbols should always have an id\n      if (this.__getSymbol() || this.__getSymbols()) {\n        addId = 1;\n      }\n\n      if (addId) {\n        attributes.id = id;\n      }\n    }\n\n    return attributes;\n  }\n\n  /**\n   * Add classes\n   * @param {Array<String>|String} classes Array or string of classes\n   * @return {Array} Array of added selectors\n   * @example\n   * model.addClass('class1');\n   * model.addClass('class1 class2');\n   * model.addClass(['class1', 'class2']);\n   * // -> [SelectorObject, ...]\n   */\n  addClass(classes) {\n    const added = this.em.get('SelectorManager').addClass(classes);\n    return this.get('classes').add(added);\n  }\n\n  /**\n   * Set classes (resets current collection)\n   * @param {Array<String>|String} classes Array or string of classes\n   * @return {Array} Array of added selectors\n   * @example\n   * model.setClass('class1');\n   * model.setClass('class1 class2');\n   * model.setClass(['class1', 'class2']);\n   * // -> [SelectorObject, ...]\n   */\n  setClass(classes) {\n    this.get('classes').reset();\n    return this.addClass(classes);\n  }\n\n  /**\n   * Remove classes\n   * @param {Array<String>|String} classes Array or string of classes\n   * @return {Array} Array of removed selectors\n   * @example\n   * model.removeClass('class1');\n   * model.removeClass('class1 class2');\n   * model.removeClass(['class1', 'class2']);\n   * // -> [SelectorObject, ...]\n   */\n  removeClass(classes) {\n    const removed = [];\n    classes = isArray(classes) ? classes : [classes];\n    const selectors = this.get('classes');\n    const type = Selector.TYPE_CLASS;\n\n    classes.forEach(classe => {\n      const classes = classe.split(' ');\n      classes.forEach(name => {\n        const selector = selectors.where({ name, type })[0];\n        selector && removed.push(selectors.remove(selector));\n      });\n    });\n\n    return removed;\n  }\n\n  /**\n   * Returns component's classes as an array of strings\n   * @return {Array}\n   */\n  getClasses() {\n    const attr = this.getAttributes();\n    const classStr = attr.class;\n    return classStr ? classStr.split(' ') : [];\n  }\n\n  __logSymbol(type, toUp, opts = {}) {\n    const symbol = this.__getSymbol();\n    const symbols = this.__getSymbols();\n    if (!symbol && !symbols) return;\n    this.em.log(type, { model: this, toUp, context: 'symbols', opts });\n  }\n\n  __initSymb() {\n    if (this.__symbReady) return;\n    this.on('change', this.__upSymbProps);\n    this.__symbReady = 1;\n  }\n\n  __isSymbol() {\n    return isArray(this.get(keySymbols));\n  }\n\n  __isSymbolOrInst() {\n    return !!(this.__isSymbol() || this.get(keySymbol));\n  }\n\n  __isSymbolTop() {\n    const parent = this.parent();\n    const symb = this.__isSymbolOrInst();\n    return symb && (!parent || (parent && !parent.__isSymbol() && !parent.__getSymbol()));\n  }\n\n  __isSymbolNested() {\n    if (!this.__isSymbolOrInst() || this.__isSymbolTop()) return false;\n    const symbTopSelf = (this.__isSymbol() ? this : this.__getSymbol()).__getSymbTop();\n    const symbTop = this.__getSymbTop();\n    const symbTopMain = symbTop.__isSymbol() ? symbTop : symbTop.__getSymbol();\n    return symbTopMain !== symbTopSelf;\n  }\n\n  __getAllById() {\n    const { em } = this;\n    return em ? em.get('DomComponents').allById() : {};\n  }\n\n  __getSymbol() {\n    let symb = this.get(keySymbol);\n    if (symb && isString(symb)) {\n      const ref = this.__getAllById()[symb];\n      if (ref) {\n        symb = ref;\n        this.set(keySymbol, ref);\n      } else {\n        symb = 0;\n      }\n    }\n    return symb;\n  }\n\n  __getSymbols() {\n    let symbs = this.get(keySymbols);\n    if (symbs && isArray(symbs)) {\n      symbs.forEach((symb, idx) => {\n        if (symb && isString(symb)) {\n          symbs[idx] = this.__getAllById()[symb];\n        }\n      });\n      symbs = symbs.filter(symb => symb && !isString(symb));\n    }\n    return symbs;\n  }\n\n  __isSymbOvrd(prop = '') {\n    const ovrd = this.get(keySymbolOvrd);\n    const [prp] = prop.split(':');\n    const props = prop !== prp ? [prop, prp] : [prop];\n    return ovrd === true || (isArray(ovrd) && props.some(p => ovrd.indexOf(p) >= 0));\n  }\n\n  __getSymbToUp(opts = {}) {\n    let result = [];\n    const { em } = this;\n    const { changed } = opts;\n    const symbEnabled = em && em.get('symbols');\n\n    if (\n      opts.fromInstance ||\n      opts.noPropagate ||\n      opts.fromUndo ||\n      !symbEnabled ||\n      // Avoid updating others if the current component has override\n      (changed && this.__isSymbOvrd(changed))\n    ) {\n      return result;\n    }\n\n    const symbols = this.__getSymbols() || [];\n    const symbol = this.__getSymbol();\n    const all = symbol ? [symbol, ...(symbol.__getSymbols() || [])] : symbols;\n    result = all\n      .filter(s => s !== this)\n      // Avoid updating those with override\n      .filter(s => !(changed && s.__isSymbOvrd(changed)));\n\n    return result;\n  }\n\n  __getSymbTop(opts) {\n    let result = this;\n    let parent = this.parent(opts);\n\n    while (parent && (parent.__isSymbol() || parent.__getSymbol())) {\n      result = parent;\n      parent = parent.parent(opts);\n    }\n\n    return result;\n  }\n\n  __upSymbProps(m, opts = {}) {\n    const changed = this.changedAttributes();\n    const attrs = changed.attributes || {};\n    delete changed.status;\n    delete changed.open;\n    delete changed[keySymbols];\n    delete changed[keySymbol];\n    delete changed[keySymbolOvrd];\n    delete changed.attributes;\n    delete attrs.id;\n    if (!isEmptyObj(attrs)) changed.attributes = attrs;\n    if (!isEmptyObj(changed)) {\n      const toUp = this.__getSymbToUp(opts);\n      // Avoid propagating overrides to other symbols\n      keys(changed).map(prop => {\n        if (this.__isSymbOvrd(prop)) delete changed[prop];\n      });\n\n      this.__logSymbol('props', toUp, { opts, changed });\n      toUp.forEach(child => {\n        const propsChanged = { ...changed };\n        // Avoid updating those with override\n        keys(propsChanged).map(prop => {\n          if (child.__isSymbOvrd(prop)) delete propsChanged[prop];\n        });\n        child.set(propsChanged, { fromInstance: this, ...opts });\n      });\n    }\n  }\n\n  __upSymbCls(m, c, opts = {}) {\n    const toUp = this.__getSymbToUp(opts);\n    this.__logSymbol('classes', toUp, { opts });\n    toUp.forEach(child => {\n      // This will propagate the change up to __upSymbProps\n      child.set('classes', this.get('classes'), { fromInstance: this });\n    });\n    this.__changesUp(opts);\n  }\n\n  __upSymbComps(m, c, o) {\n    const optUp = o || c || {};\n    const { fromInstance, fromUndo } = optUp;\n    const toUpOpts = { fromInstance, fromUndo };\n    const isTemp = m.opt.temporary;\n\n    // Reset\n    if (!o) {\n      const toUp = this.__getSymbToUp({\n        ...toUpOpts,\n        changed: 'components:reset',\n      });\n      this.__logSymbol('reset', toUp, { components: m.models });\n      toUp.forEach(symb => {\n        const newMods = m.models.map(mod => mod.clone({ symbol: 1 }));\n        symb.components().reset(newMods, { fromInstance: this, ...c });\n      });\n      // Add\n    } else if (o.add) {\n      let addedInstances = [];\n      const isMainSymb = !!this.__getSymbols();\n      const toUp = this.__getSymbToUp({\n        ...toUpOpts,\n        changed: 'components:add',\n      });\n      if (toUp.length) {\n        const addSymb = m.__getSymbol();\n        addedInstances = (addSymb ? addSymb.__getSymbols() : m.__getSymbols()) || [];\n        addedInstances = [...addedInstances];\n        addedInstances.push(addSymb ? addSymb : m);\n      }\n      !isTemp &&\n        this.__logSymbol('add', toUp, {\n          opts: o,\n          addedInstances: addedInstances.map(c => c.cid),\n          added: m.cid,\n        });\n      // Here, before appending a new symbol, I have to ensure there are no previously\n      // created symbols (eg. used mainly when drag components around)\n      toUp.forEach(symb => {\n        const symbTop = symb.__getSymbTop();\n        const symbPrev = addedInstances.filter(addedInst => {\n          const addedTop = addedInst.__getSymbTop({ prev: 1 });\n          return symbTop && addedTop && addedTop === symbTop;\n        })[0];\n        const toAppend = symbPrev || m.clone({ symbol: 1, symbolInv: isMainSymb });\n        symb.append(toAppend, { fromInstance: this, ...o });\n      });\n      // Remove\n    } else {\n      // Remove instance reference from the symbol\n      const symb = m.__getSymbol();\n      symb &&\n        !o.temporary &&\n        symb.set(\n          keySymbols,\n          symb.__getSymbols().filter(i => i !== m)\n        );\n\n      // Propagate remove only if the component is an inner symbol\n      if (!m.__isSymbolTop()) {\n        const changed = 'components:remove';\n        const { index } = o;\n        const parent = m.parent();\n        const opts = { fromInstance: m, ...o };\n        const isSymbNested = m.__isSymbolNested();\n        let toUpFn = symb => {\n          const symbPrnt = symb.parent();\n          symbPrnt && !symbPrnt.__isSymbOvrd(changed) && symb.remove(opts);\n        };\n        // Check if the parent allows the removing\n        let toUp = !parent.__isSymbOvrd(changed) ? m.__getSymbToUp(toUpOpts) : [];\n\n        if (isSymbNested) {\n          toUp = parent.__getSymbToUp({ ...toUpOpts, changed });\n          toUpFn = symb => {\n            const toRemove = symb.components().at(index);\n            toRemove && toRemove.remove({ fromInstance: parent, ...opts });\n          };\n        }\n\n        !isTemp &&\n          this.__logSymbol('remove', toUp, {\n            opts: o,\n            removed: m.cid,\n            isSymbNested,\n          });\n        toUp.forEach(toUpFn);\n      }\n    }\n\n    this.__changesUp(optUp);\n  }\n\n  initClasses(m, c, opts = {}) {\n    const event = 'change:classes';\n    const attrCls = this.get('attributes').class || [];\n    const toListen = [this, event, this.initClasses];\n    const cls = this.get('classes') || attrCls;\n    const clsArr = isString(cls) ? cls.split(' ') : cls;\n    this.stopListening(...toListen);\n    const classes = this.normalizeClasses(clsArr);\n    const selectors = new Selectors([]);\n    this.set('classes', selectors, opts);\n    selectors.add(classes);\n    selectors.on('add remove reset', this.__upSymbCls);\n    this.listenTo(...toListen);\n    return this;\n  }\n\n  initComponents() {\n    const event = 'change:components';\n    const toListen = [this, event, this.initComponents];\n    this.stopListening(...toListen);\n    // Have to add components after the init, otherwise the parent\n    // is not visible\n    const comps = new Components(null, this.opt);\n    comps.parent = this;\n    const components = this.get('components');\n    const addChild = !this.opt.avoidChildren;\n    this.set('components', comps);\n    addChild && components && comps.add(isFunction(components) ? components(this) : components, this.opt);\n    comps.on('add remove reset', this.__upSymbComps);\n    this.listenTo(...toListen);\n    return this;\n  }\n\n  initTraits(changed) {\n    const { em } = this;\n    const event = 'change:traits';\n    this.off(event, this.initTraits);\n    this.__loadTraits();\n    const attrs = { ...this.get('attributes') };\n    const traits = this.get('traits');\n    traits.each(trait => {\n      if (!trait.get('changeProp')) {\n        const name = trait.get('name');\n        const value = trait.getInitValue();\n        if (name && value) attrs[name] = value;\n      }\n    });\n    traits.length && this.set('attributes', attrs);\n    this.on(event, this.initTraits);\n    changed && em && em.trigger('component:toggled');\n    return this;\n  }\n\n  initScriptProps() {\n    if (this.opt.temporary) return;\n    const prop = 'script-props';\n    const toListen = [`change:${prop}`, this.initScriptProps];\n    this.off(...toListen);\n    const prevProps = this.previous(prop) || [];\n    const newProps = this.get(prop) || [];\n    const prevPropsEv = prevProps.map(e => `change:${e}`).join(' ');\n    const newPropsEv = newProps.map(e => `change:${e}`).join(' ');\n    prevPropsEv && this.off(prevPropsEv, this.__scriptPropsChange);\n    newPropsEv && this.on(newPropsEv, this.__scriptPropsChange);\n    this.on(...toListen);\n  }\n\n  __scriptPropsChange(m, v, opts = {}) {\n    if (opts.avoidStore) return;\n    this.trigger('rerender');\n  }\n\n  /**\n   * Add new component children\n   * @param  {Component|String} components Component to add\n   * @param {Object} [opts={}] Options for the append action\n   * @return {Array} Array of appended components\n   * @example\n   * someComponent.get('components').length // -> 0\n   * const videoComponent = someComponent.append('<video></video><div></div>')[0];\n   * // This will add 2 components (`video` and `div`) to your `someComponent`\n   * someComponent.get('components').length // -> 2\n   * // You can pass components directly\n   * otherComponent.append(otherComponent2);\n   * otherComponent.append([otherComponent3, otherComponent4]);\n   * // append at specific index (eg. at the beginning)\n   * someComponent.append(otherComponent, { at: 0 });\n   */\n  append(components, opts = {}) {\n    const compArr = isArray(components) ? components : [components];\n    const toAppend = compArr.map(comp => {\n      if (isString(comp)) {\n        return comp;\n      } else {\n        // I have to remove components from the old container before adding them to a new one\n        comp.collection && comp.collection.remove(comp, { temporary: 1 });\n        return comp;\n      }\n    });\n    const result = this.components().add(toAppend, opts);\n    return isArray(result) ? result : [result];\n  }\n\n  /**\n   * Set new collection if `components` are provided, otherwise the\n   * current collection is returned\n   * @param  {Component|String} [components] Component Definitions or HTML string\n   * @param {Object} [opts={}] Options, same as in `Component.append()`\n   * @returns {Collection|Array<[Component]>}\n   * @example\n   * // Set new collection\n   * component.components('<span></span><div></div>');\n   * // Get current collection\n   * const collection = component.components();\n   * console.log(collection.length);\n   * // -> 2\n   */\n  components(components, opts = {}) {\n    const coll = this.get('components');\n\n    if (isUndefined(components)) {\n      return coll;\n    } else {\n      coll.reset(null, opts);\n      return components ? this.append(components, opts) : [];\n    }\n  }\n\n  /**\n   * If exists, returns the child component at specific index.\n   * @param {Number} index Index of the component to return\n   * @returns {[Component]|null}\n   * @example\n   * // Return first child\n   * component.getChildAt(0);\n   * // Return second child\n   * component.getChildAt(1);\n   */\n  getChildAt(index) {\n    return this.components().at(index || 0) || null;\n  }\n\n  /**\n   * If exists, returns the last child component.\n   * @returns {[Component]|null}\n   * @example\n   * const lastChild = component.getLastChild();\n   */\n  getLastChild() {\n    const children = this.components();\n    return children.at(children.length - 1) || null;\n  }\n\n  /**\n   * Remove all inner components\n   * * @return {this}\n   */\n  empty(opts = {}) {\n    this.components().reset(null, opts);\n    return this;\n  }\n\n  /**\n   * Get the parent component, if exists\n   * @return {Component|null}\n   * @example\n   * component.parent();\n   * // -> Component\n   */\n  parent(opts = {}) {\n    const coll = this.collection || (opts.prev && this.prevColl);\n    return coll ? coll.parent : null;\n  }\n\n  /**\n   * Script updated\n   * @private\n   */\n  scriptUpdated() {\n    this.set('scriptUpdated', 1);\n  }\n\n  /**\n   * Init toolbar\n   * @private\n   */\n  initToolbar() {\n    const { em } = this;\n    const model = this;\n    const ppfx = (em && em.getConfig('stylePrefix')) || '';\n\n    if (!model.get('toolbar') && em) {\n      const tb = [];\n      model.collection &&\n        tb.push({\n          label: em.getIcon('arrowUp'),\n          command: ed => ed.runCommand('core:component-exit', { force: 1 }),\n        });\n      model.get('draggable') &&\n        tb.push({\n          attributes: { class: `${ppfx}no-touch-actions`, draggable: true },\n          label: em.getIcon('move'),\n          command: 'tlb-move',\n        });\n      model.get('copyable') &&\n        tb.push({\n          label: em.getIcon('copy'),\n          command: 'tlb-clone',\n        });\n      model.get('removable') &&\n        tb.push({\n          label: em.getIcon('delete'),\n          command: 'tlb-delete',\n        });\n      model.set('toolbar', tb);\n    }\n  }\n\n  __loadTraits(tr, opts = {}) {\n    let traitsI = tr || this.get('traits');\n\n    if (!(traitsI instanceof Traits)) {\n      traitsI = isFunction(traitsI) ? traitsI(this) : traitsI;\n      const traits = new Traits([], this.opt);\n      traits.setTarget(this);\n\n      if (traitsI.length) {\n        traitsI.forEach(tr => tr.attributes && delete tr.attributes.value);\n        traits.add(traitsI);\n      }\n\n      this.set({ traits }, opts);\n    }\n\n    return this;\n  }\n\n  /**\n   * Get traits.\n   * @returns {Array<Trait>}\n   * @example\n   * const traits = component.getTraits();\n   * console.log(traits);\n   * // [Trait, Trait, Trait, ...]\n   */\n  getTraits() {\n    this.__loadTraits();\n    return [...this.get('traits').models];\n  }\n\n  /**\n   * Replace current collection of traits with a new one.\n   * @param {Array<Object>} traits Array of trait definitions\n   * @returns {Array<Trait>}\n   * @example\n   * const traits = component.setTraits([{ type: 'checkbox', name: 'disabled'}, ...]);\n   * console.log(traits);\n   * // [Trait, ...]\n   */\n  setTraits(traits) {\n    const tr = isArray(traits) ? traits : [traits];\n    this.set({ traits: tr });\n    return this.getTraits();\n  }\n\n  /**\n   * Get the trait by id/name.\n   * @param  {String} id The `id` or `name` of the trait\n   * @return {Trait|null} Trait getModelToStyle\n   * @example\n   * const traitTitle = component.getTrait('title');\n   * traitTitle && traitTitle.set('label', 'New label');\n   */\n  getTrait(id) {\n    return (\n      this.getTraits().filter(trait => {\n        return trait.get('id') === id || trait.get('name') === id;\n      })[0] || null\n    );\n  }\n\n  /**\n   * Update a trait.\n   * @param  {String} id The `id` or `name` of the trait\n   * @param  {Object} props Object with the props to update\n   * @return {this}\n   * @example\n   * component.updateTrait('title', {\n   *  type: 'select',\n   *  options: [ 'Option 1', 'Option 2' ],\n   * });\n   */\n  updateTrait(id, props) {\n    const trait = this.getTrait(id);\n    trait && trait.set(props);\n    this.em?.trigger('component:toggled');\n    return this;\n  }\n\n  /**\n   * Get the trait position index by id/name. Useful in case you want to\n   * replace some trait, at runtime, with something else.\n   * @param  {String} id The `id` or `name` of the trait\n   * @return {Number} Index position of the current trait\n   * @example\n   * const traitTitle = component.getTraitIndex('title');\n   * console.log(traitTitle); // 1\n   */\n  getTraitIndex(id) {\n    const trait = this.getTrait(id);\n    return trait ? this.get('traits').indexOf(trait) : -1;\n  }\n\n  /**\n   * Remove trait/s by id/s.\n   * @param  {String|Array<String>} id The `id`/`name` of the trait (or an array)\n   * @return {Array<Trait>} Array of removed traits\n   * @example\n   * component.removeTrait('title');\n   * component.removeTrait(['title', 'id']);\n   */\n  removeTrait(id) {\n    const ids = isArray(id) ? id : [id];\n    const toRemove = ids.map(id => this.getTrait(id));\n    const traits = this.get('traits');\n    const removed = toRemove.length ? traits.remove(toRemove) : [];\n    this.em?.trigger('component:toggled');\n    return isArray(removed) ? removed : [removed];\n  }\n\n  /**\n   * Add new trait/s.\n   * @param  {String|Object|Array<String|Object>} trait Trait to add (or an array of traits)\n   * @param  {Options} opts Options for the add\n   * @return {Array<Trait>} Array of added traits\n   * @example\n   * component.addTrait('title', { at: 1 }); // Add title trait (`at` option is the position index)\n   * component.addTrait({\n   *  type: 'checkbox',\n   *  name: 'disabled',\n   * });\n   * component.addTrait(['title', {...}, ...]);\n   */\n  addTrait(trait, opts = {}) {\n    this.__loadTraits();\n    const added = this.get('traits').add(trait, opts);\n    this.em?.trigger('component:toggled');\n    return isArray(added) ? added : [added];\n  }\n\n  /**\n   * Normalize input classes from array to array of objects\n   * @param {Array} arr\n   * @return {Array}\n   * @private\n   */\n  normalizeClasses(arr) {\n    const res = [];\n    const { em } = this;\n    const clm = em && em.get('SelectorManager');\n    if (!clm) return;\n    if (arr.models) return [...arr.models];\n    arr.forEach(val => res.push(clm.add(val)));\n    return res;\n  }\n\n  /**\n   * Override original clone method\n   * @private\n   */\n  clone(opt = {}) {\n    const em = this.em;\n    const attr = { ...this.attributes };\n    const opts = { ...this.opt };\n    const id = this.getId();\n    const cssc = em && em.get('CssComposer');\n    attr.attributes = { ...attr.attributes };\n    delete attr.attributes.id;\n    attr.components = [];\n    attr.classes = [];\n    attr.traits = [];\n\n    if (this.__isSymbolTop()) {\n      opt.symbol = 1;\n    }\n\n    this.get('components').each((md, i) => {\n      attr.components[i] = md.clone({ ...opt, _inner: 1 });\n    });\n    this.get('traits').each((md, i) => {\n      attr.traits[i] = md.clone();\n    });\n    this.get('classes').each((md, i) => {\n      attr.classes[i] = md.get('name');\n    });\n\n    attr.status = '';\n    opts.collection = null;\n\n    const cloned = new this.constructor(attr, opts);\n\n    // Clone component specific rules\n    const newId = `#${cloned.getId()}`;\n    const rulesToClone = cssc ? cssc.getRules(`#${id}`) : [];\n    rulesToClone.forEach(rule => {\n      const newRule = rule.clone();\n      newRule.set('selectors', [newId]);\n      cssc.getAll().add(newRule);\n    });\n\n    // Symbols\n    // If I clone an inner symbol, I have to reset it\n    cloned.set(keySymbols, 0);\n    const symbol = this.__getSymbol();\n    const symbols = this.__getSymbols();\n\n    if (!opt.symbol && (symbol || symbols)) {\n      cloned.set(keySymbol, 0);\n      cloned.set(keySymbols, 0);\n    } else if (symbol) {\n      // Contains already a reference to a symbol\n      symbol.set(keySymbols, [...symbol.__getSymbols(), cloned]);\n      cloned.__initSymb();\n    } else if (opt.symbol) {\n      // Request to create a symbol\n      if (this.__isSymbol()) {\n        // Already a symbol, cloned should be an instance\n        this.set(keySymbols, [...symbols, cloned]);\n        cloned.set(keySymbol, this);\n        cloned.__initSymb();\n      } else if (opt.symbolInv) {\n        // Inverted, cloned is the instance, the origin is the main symbol\n        this.set(keySymbols, [cloned]);\n        cloned.set(keySymbol, this);\n        [this, cloned].map(i => i.__initSymb());\n      } else {\n        // Cloned becomes the main symbol\n        cloned.set(keySymbols, [this]);\n        [this, cloned].map(i => i.__initSymb());\n        this.set(keySymbol, cloned);\n      }\n    }\n\n    const event = 'component:clone';\n    em && em.trigger(event, cloned);\n    this.trigger(event, cloned);\n\n    return cloned;\n  }\n\n  /**\n   * Get the name of the component\n   * @return {String}\n   * */\n  getName() {\n    const { em } = this;\n    const { type, tagName, name } = this.attributes;\n    const defName = type || tagName;\n    const nameTag = !type && tagName;\n    const i18nPfx = 'domComponents.names.';\n    const i18nName = name && em?.t(`${i18nPfx}${name}`);\n    const i18nNameTag = nameTag && em?.t(`${i18nPfx}${nameTag}`);\n    const i18nDefName = em && (em.t(`${i18nPfx}${type}`) || em.t(`${i18nPfx}${tagName}`));\n    return (\n      this.get('custom-name') || // Used in Layers (when the user changes the name)\n      i18nName || // Use local component `name` key (eg. `domComponents.names.myComponentName`)\n      name || // Use component `name` key\n      i18nNameTag || // Use local component `tagName` key (eg. `domComponents.names.div`)\n      capitalize(nameTag) || // Use component `tagName` key\n      i18nDefName || // Use local component `type` key (eg. `domComponents.names.image`)\n      capitalize(defName) // Use component `type` key\n    );\n  }\n\n  /**\n   * Get the icon string\n   * @return {String}\n   */\n  getIcon() {\n    let icon = this.get('icon');\n    return icon ? icon + ' ' : '';\n  }\n\n  /**\n   * Return HTML string of the component\n   * @param {Object} [opts={}] Options\n   * @param {String} [opts.tag] Custom tagName\n   * @param {Object|Function} [opts.attributes=null] You can pass an object of custom attributes to replace with the current ones or you can even pass a function to generate attributes dynamically.\n   * @param {Boolean} [opts.withProps] Include component properties as `data-gjs-*` attributes. This allows you to have re-importable HTML.\n   * @param {Boolean} [opts.altQuoteAttr] In case the attribute value contains a `\"` char, instead of escaping it (`attr=\"value &quot;\"`), the attribute will be quoted using single quotes (`attr='value \"'`).\n   * @return {String} HTML string\n   * @example\n   * // Simple HTML return\n   * component.set({ tagName: 'span' });\n   * component.setAttributes({ title: 'Hello' });\n   * component.toHTML();\n   * // -> <span title=\"Hello\"></span>\n   *\n   * // Custom attributes\n   * component.toHTML({ attributes: { 'data-test': 'Hello' } });\n   * // -> <span data-test=\"Hello\"></span>\n   *\n   * // Custom dynamic attributes\n   * component.toHTML({\n   *  attributes(component, attributes) {\n   *    if (component.get('tagName') == 'span') {\n   *      attributes.title = 'Custom attribute';\n   *    }\n   *    return attributes;\n   *  },\n   * });\n   * // -> <span title=\"Custom attribute\"></span>\n   */\n  toHTML(opts = {}) {\n    const model = this;\n    const attrs = [];\n    const customTag = opts.tag;\n    const tag = customTag || model.get('tagName');\n    const sTag = model.get('void');\n    const customAttr = opts.attributes;\n    let attributes = this.getAttrToHTML();\n    delete opts.tag;\n\n    // Get custom attributes if requested\n    if (customAttr) {\n      if (isFunction(customAttr)) {\n        attributes = customAttr(model, attributes) || {};\n      } else if (isObject(customAttr)) {\n        attributes = customAttr;\n      }\n    }\n\n    if (opts.withProps) {\n      const props = this.toJSON();\n\n      forEach(props, (value, key) => {\n        const skipProps = ['classes', 'attributes', 'components'];\n        if (key[0] !== '_' && skipProps.indexOf(key) < 0) {\n          attributes[`data-gjs-${key}`] = isArray(value) || isObject(value) ? JSON.stringify(value) : value;\n        }\n      });\n    }\n\n    for (let attr in attributes) {\n      const val = attributes[attr];\n\n      if (!isUndefined(val) && val !== null) {\n        if (isBoolean(val)) {\n          val && attrs.push(attr);\n        } else {\n          let valueRes = '';\n          if (opts.altQuoteAttr && isString(val) && val.indexOf('\"') >= 0) {\n            valueRes = `'${val.replace(/'/g, '&apos;')}'`;\n          } else {\n            const value = isString(val) ? val.replace(/\"/g, '&quot;') : val;\n            valueRes = `\"${value}\"`;\n          }\n\n          attrs.push(`${attr}=${valueRes}`);\n        }\n      }\n    }\n\n    const attrString = attrs.length ? ` ${attrs.join(' ')}` : '';\n    const inner = model.getInnerHTML(opts);\n    let code = `<${tag}${attrString}${sTag ? '/' : ''}>${inner}`;\n    !sTag && (code += `</${tag}>`);\n\n    return code;\n  }\n\n  /**\n   * Get inner HTML of the component\n   * @param {Object} [opts={}] Same options of `toHTML`\n   * @returns {String} HTML string\n   */\n  getInnerHTML(opts) {\n    return this.__innerHTML(opts);\n  }\n\n  __innerHTML(opts = {}) {\n    const cmps = this.components();\n    return !cmps.length ? this.get('content') : cmps.map(c => c.toHTML(opts)).join('');\n  }\n\n  /**\n   * Returns object of attributes for HTML\n   * @return {Object}\n   * @private\n   */\n  getAttrToHTML() {\n    var attr = this.getAttributes();\n    delete attr.style;\n    return attr;\n  }\n\n  /**\n   * Return a shallow copy of the model's attributes for JSON\n   * stringification.\n   * @return {Object}\n   * @private\n   */\n  toJSON(opts = {}) {\n    const obj = Model.prototype.toJSON.call(this, opts);\n    obj.attributes = this.getAttributes();\n    delete obj.attributes.class;\n    delete obj.toolbar;\n    delete obj.traits;\n    delete obj.status;\n    delete obj.open; // used in Layers\n\n    if (!opts.fromUndo) {\n      const symbol = obj[keySymbol];\n      const symbols = obj[keySymbols];\n      if (symbols && isArray(symbols)) {\n        obj[keySymbols] = symbols.filter(i => i).map(i => (i.getId ? i.getId() : i));\n      }\n      if (symbol && !isString(symbol)) {\n        obj[keySymbol] = symbol.getId();\n      }\n    }\n\n    if (this.em.getConfig('avoidDefaults')) {\n      this.getChangedProps(obj);\n    }\n\n    return obj;\n  }\n\n  /**\n   * Return an object containing only changed props\n   */\n  getChangedProps(res) {\n    const obj = res || Model.prototype.toJSON.apply(this);\n    const defaults = result(this, 'defaults');\n\n    forEach(defaults, (value, key) => {\n      if (['type'].indexOf(key) === -1 && obj[key] === value) {\n        delete obj[key];\n      }\n    });\n\n    if (isEmpty(obj.type)) {\n      delete obj.type;\n    }\n\n    forEach(['attributes', 'style'], prop => {\n      if (isEmpty(defaults[prop]) && isEmpty(obj[prop])) {\n        delete obj[prop];\n      }\n    });\n\n    forEach(['classes', 'components'], prop => {\n      if (!obj[prop] || (isEmpty(defaults[prop]) && !obj[prop].length)) {\n        delete obj[prop];\n      }\n    });\n\n    return obj;\n  }\n\n  /**\n   * Return the component id\n   * @return {String}\n   */\n  getId() {\n    let attrs = this.get('attributes') || {};\n    return attrs.id || this.ccid || this.cid;\n  }\n\n  /**\n   * Set new id on the component\n   * @param {String} id\n   * @return {this}\n   */\n  setId(id, opts) {\n    const attrs = { ...this.get('attributes') };\n    attrs.id = id;\n    this.set('attributes', attrs, opts);\n    return this;\n  }\n\n  /**\n   * Get the DOM element of the component.\n   * This works only if the component is already rendered\n   * @param {Frame} frame Specific frame from which taking the element\n   * @return {HTMLElement}\n   */\n  getEl(frame) {\n    const view = this.getView(frame);\n    return view && view.el;\n  }\n\n  /**\n   * Get the View of the component.\n   * This works only if the component is already rendered\n   * @param {Frame} frame Get View of a specific frame\n   * @return {ComponentView}\n   */\n  getView(frame) {\n    let { view, views } = this;\n\n    if (frame) {\n      view = views.filter(view => view._getFrame() === frame.view)[0];\n    }\n\n    return view;\n  }\n\n  getCurrentView() {\n    const frame = (this.em.get('currentFrame') || {}).model;\n    return this.getView(frame);\n  }\n\n  __getScriptProps() {\n    const modelProps = this.props();\n    const scrProps = this.get('script-props') || [];\n    return scrProps.reduce((acc, prop) => {\n      acc[prop] = modelProps[prop];\n      return acc;\n    }, {});\n  }\n\n  /**\n   * Return script in string format, cleans 'function() {..' from scripts\n   * if it's a function\n   * @param {string|Function} script\n   * @return {string}\n   * @private\n   */\n  getScriptString(script) {\n    let scr = script || this.get('script');\n\n    if (!scr) {\n      return scr;\n    }\n\n    if (this.get('script-props')) {\n      scr = scr.toString().trim();\n    } else {\n      // Deprecated\n      // Need to convert script functions to strings\n      if (typeof scr == 'function') {\n        var scrStr = scr.toString().trim();\n        scrStr = scrStr.replace(/^function[\\s\\w]*\\(\\)\\s?\\{/, '').replace(/\\}$/, '');\n        scr = scrStr.trim();\n      }\n\n      var config = this.em.getConfig();\n      var tagVarStart = escapeRegExp(config.tagVarStart || '{[ ');\n      var tagVarEnd = escapeRegExp(config.tagVarEnd || ' ]}');\n      var reg = new RegExp(`${tagVarStart}([\\\\w\\\\d-]*)${tagVarEnd}`, 'g');\n      scr = scr.replace(reg, (match, v) => {\n        // If at least one match is found I have to track this change for a\n        // better optimization inside JS generator\n        this.scriptUpdated();\n        const result = this.attributes[v] || '';\n        return isArray(result) || typeof result == 'object' ? JSON.stringify(result) : result;\n      });\n    }\n    return scr;\n  }\n\n  emitUpdate(property, ...args) {\n    const { em } = this;\n    const event = keyUpdate + (property ? `:${property}` : '');\n    const item = property && this.get(property);\n    property && this.updated(property, item, property && this.previous(property), ...args);\n    this.trigger(event, ...args);\n    em && em.trigger(event, this, ...args);\n    ['components', 'classes'].indexOf(property) >= 0 &&\n      this.__propSelfToParent({\n        component: this,\n        changed: { [property]: item },\n        options: args[2] || args[1] || {},\n      });\n  }\n\n  /**\n   * Execute callback function on itself and all inner components\n   * @param  {Function} clb Callback function, the model is passed as an argument\n   * @return {this}\n   * @example\n   * component.onAll(component => {\n   *  // do something with component\n   * })\n   */\n  onAll(clb) {\n    if (isFunction(clb)) {\n      clb(this);\n      this.components().forEach(model => model.onAll(clb));\n    }\n    return this;\n  }\n\n  /**\n   * Remove the component\n   * @return {this}\n   */\n  remove(opts = {}) {\n    const { em } = this;\n    const coll = this.collection;\n    const remove = () => {\n      coll && coll.remove(this, { ...opts, action: 'remove-component' });\n      opts.root && this.components('');\n    };\n    const rmOpts = { ...opts };\n    [this, em].map(i => i.trigger('component:remove:before', this, remove, rmOpts));\n    !rmOpts.abort && remove();\n    return this;\n  }\n\n  /**\n   * Move the component to another destination component\n   * @param {Component} component Destination component (so the current one will be appended as a child)\n   * @param {Object} opts Options for the append action\n   * @returns {this}\n   * @example\n   * // Move the selected component on top of the wrapper\n   * const dest = editor.getWrapper();\n   * editor.getSelected().move(dest, { at: 0 });\n   */\n  move(component, opts = {}) {\n    this.remove({ temporary: 1 });\n    component && component.append(this, opts);\n    return this;\n  }\n\n  /**\n   * Check if the component is an instance of some component type.\n   * @param {String} type Component type\n   * @returns {Boolean}\n   * @example\n   * // Add a new component type by extending an existing one\n   * editor.Components.addType('text-ext', { extend: 'text' });\n   * // Append a new component somewhere\n   * const newTextExt = editor.getSelected().append({ type: 'text-ext' })[0];\n   * newTextExt.isInstanceOf('text-ext'); // true\n   * newTextExt.isInstanceOf('text'); // true\n   */\n  isInstanceOf(type) {\n    const cmp = this.em?.get('DomComponents').getType(type)?.model;\n\n    if (!cmp) return false;\n\n    return this instanceof cmp;\n  }\n\n  /**\n   * Check if the component is a child of some other component (or component type)\n   * @param {[Component]|String} component Component parent to check. In case a string is passed,\n   *  the check will be performed on the component type.\n   * @returns {Boolean}\n   * @example\n   * const newTextComponent = editor.getSelected().append({\n   *  type: 'text',\n   *  components: 'My text <b>here</b>',\n   * })[0];\n   * const innerComponent = newTextComponent.find('b')[0];\n   * innerComponent.isChildOf(newTextComponent); // true\n   * innerComponent.isChildOf('text'); // true\n   */\n  isChildOf(component) {\n    const byType = isString(component);\n    let parent = this.parent();\n\n    while (parent) {\n      if (byType) {\n        if (parent.isInstanceOf(component)) {\n          return true;\n        }\n      } else {\n        if (parent === component) {\n          return true;\n        }\n      }\n\n      parent = parent.parent();\n    }\n\n    return false;\n  }\n\n  /**\n   * Reset id of the component and any of its style rule\n   * @param {Object} [opts={}] Options\n   * @return {this}\n   * @private\n   */\n  resetId(opts = {}) {\n    const { em } = this;\n    const oldId = this.getId();\n    if (!oldId) return;\n    const newId = Component.createId(this);\n    this.setId(newId);\n    const rule = em && em.get('CssComposer').getIdRule(oldId);\n    const selector = rule && rule.get('selectors').at(0);\n    selector && selector.set('name', newId);\n    return this;\n  }\n\n  _getStyleRule({ id } = {}) {\n    const { em } = this;\n    const idS = id || this.getId();\n    return em && em.get('CssComposer').getIdRule(idS);\n  }\n\n  _getStyleSelector(opts) {\n    const rule = this._getStyleRule(opts);\n    return rule && rule.get('selectors').at(0);\n  }\n\n  _idUpdated(m, v, opts = {}) {\n    if (opts.idUpdate) return;\n\n    const { ccid } = this;\n    const { id } = this.get('attributes') || {};\n    const idPrev = (this.previous('attributes') || {}).id || ccid;\n    const list = Component.getList(this);\n\n    // If the ID already exists I need to rollback to the old one\n    if (list[id] || (!id && idPrev)) {\n      return this.setId(idPrev, { idUpdate: 1 });\n    }\n\n    // Remove the old ID reference and add the new one\n    delete list[idPrev];\n    list[id] = this;\n    this.ccid = id;\n\n    // Update the style selector name\n    const selector = this._getStyleSelector({ id: idPrev });\n    selector && selector.set({ name: id, label: id });\n  }\n}\n\n/**\n * Detect if the passed element is a valid component.\n * In case the element is valid an object abstracted\n * from the element will be returned\n * @param {HTMLElement}\n * @return {Object}\n * @private\n */\nComponent.isComponent = el => {\n  return { tagName: toLowerCase(el.tagName) };\n};\n\nComponent.ensureInList = model => {\n  const list = Component.getList(model);\n  const id = model.getId();\n  const current = list[id];\n\n  if (!current) {\n    // Insert in list\n    list[id] = model;\n  } else if (current !== model) {\n    // Create new ID\n    const nextId = Component.getIncrementId(id, list);\n    model.setId(nextId);\n    list[nextId] = model;\n  }\n\n  model.components().forEach(i => Component.ensureInList(i));\n};\n\n/**\n * Relying simply on the number of components becomes a problem when you\n * store and load them back, you might hit collisions with new components\n * @param  {Model} model\n * @return {string}\n * @private\n */\nComponent.createId = (model, opts = {}) => {\n  const list = Component.getList(model);\n  const { idMap = {} } = opts;\n  let { id } = model.get('attributes');\n  let nextId;\n\n  if (id) {\n    nextId = Component.getIncrementId(id, list, opts);\n    model.setId(nextId);\n    if (id !== nextId) idMap[id] = nextId;\n  } else {\n    nextId = Component.getNewId(list);\n  }\n\n  list[nextId] = model;\n  return nextId;\n};\n\nComponent.getNewId = list => {\n  const count = Object.keys(list).length;\n  // Testing 1000000 components with `+ 2` returns 0 collisions\n  const ilen = count.toString().length + 2;\n  const uid = (Math.random() + 1.1).toString(36).slice(-ilen);\n  let newId = `i${uid}`;\n\n  while (list[newId]) {\n    newId = Component.getNewId(list);\n  }\n\n  return newId;\n};\n\nComponent.getIncrementId = (id, list, opts = {}) => {\n  const { keepIds = [] } = opts;\n  let counter = 1;\n  let newId = id;\n\n  if (keepIds.indexOf(id) < 0) {\n    while (list[newId]) {\n      counter++;\n      newId = `${id}-${counter}`;\n    }\n  }\n\n  return newId;\n};\n\n/**\n * The list of components is taken from the Components module.\n * Initially, the list, was set statically on the Component object but it was\n * not ok, as it was shared between multiple editor instances\n * @private\n */\nComponent.getList = model => {\n  const { opt = {} } = model;\n  const { domc, em } = opt;\n  const dm = domc || (em && em.get('DomComponents'));\n  return dm ? dm.componentsById : {};\n};\n\n/**\n * This method checks, for each parsed component and style object\n * (are not Components/CSSRules yet), for duplicated id and fixes them\n * This method is used in Components.js just after the parsing\n * @private\n */\nComponent.checkId = (components, styles = [], list = {}, opts = {}) => {\n  const comps = isArray(components) ? components : [components];\n  const { keepIds = [] } = opts;\n  comps.forEach(comp => {\n    const { attributes = {}, components } = comp;\n    const { id } = attributes;\n\n    // Check if we have collisions with current components\n    if (id && list[id] && keepIds.indexOf(id) < 0) {\n      const newId = Component.getIncrementId(id, list);\n      attributes.id = newId;\n      // Update passed styles\n      isArray(styles) &&\n        styles.forEach(style => {\n          const { selectors } = style;\n          selectors.forEach((sel, idx) => {\n            if (sel === `#${id}`) selectors[idx] = `#${newId}`;\n          });\n        });\n    }\n\n    components && Component.checkId(components, styles, list, opts);\n  });\n};\n\nComponent.getDefaults = function () {\n  return result(this.prototype, 'defaults');\n};\n\nComponent.prototype.defaults = {\n  tagName: 'div',\n  type: '',\n  name: '',\n  removable: true,\n  draggable: true,\n  droppable: true,\n  badgable: true,\n  stylable: true,\n  'stylable-require': '',\n  'style-signature': '',\n  unstylable: '',\n  highlightable: true,\n  copyable: true,\n  resizable: false,\n  editable: false,\n  layerable: true,\n  selectable: true,\n  hoverable: true,\n  void: false,\n  state: '', // Indicates if the component is in some CSS state like ':hover', ':active', etc.\n  status: '', // State, eg. 'selected'\n  content: '',\n  icon: '',\n  style: '',\n  styles: '', // Component related styles\n  classes: '', // Array of classes\n  script: '',\n  'script-props': '',\n  'script-export': '',\n  attributes: '',\n  traits: ['id', 'title'],\n  propagate: '',\n  dmode: '',\n  toolbar: null,\n  [keySymbol]: 0,\n  [keySymbols]: 0,\n  [keySymbolOvrd]: 0,\n  _undo: true,\n  _undoexc: ['status', 'open'],\n};\n","import Backbone from 'backbone';\nimport { isEmpty, isArray, isString, isFunction, each, includes, extend, flatten, debounce } from 'underscore';\nimport Component, { keySymbol, keySymbols } from './Component';\n\nexport const getComponentIds = (cmp, res = []) => {\n  if (!cmp) return [];\n  const cmps = isArray(cmp) || isFunction(cmp.map) ? cmp : [cmp];\n  cmps.map(cmp => {\n    res.push(cmp.getId());\n    getComponentIds(cmp.components().models, res);\n  });\n  return res;\n};\n\nconst getComponentsFromDefs = (items, all = {}, opts = {}) => {\n  const itms = isArray(items) ? items : [items];\n\n  return itms.map(item => {\n    const { attributes = {}, components, tagName } = item;\n    const { id } = attributes;\n    let result = item;\n\n    if (id && all[id]) {\n      result = all[id];\n      tagName && result.set({ tagName }, { ...opts, silent: true });\n    }\n\n    if (components) {\n      const newComponents = getComponentsFromDefs(components, all);\n\n      if (isFunction(result.components)) {\n        const cmps = result.components();\n        cmps.length > 0 && cmps.reset(newComponents, opts);\n      } else {\n        result.components = newComponents;\n      }\n    }\n\n    return result;\n  });\n};\n\nexport default Backbone.Collection.extend({\n  initialize(models, opt = {}) {\n    this.opt = opt;\n    this.listenTo(this, 'add', this.onAdd);\n    this.listenTo(this, 'remove', this.removeChildren);\n    this.listenTo(this, 'reset', this.resetChildren);\n    const { em, config } = opt;\n    this.config = config;\n    this.em = em;\n    this.domc = opt.domc || (em && em.get('DomComponents'));\n  },\n\n  resetChildren(models, opts = {}) {\n    const coll = this;\n    const prev = opts.previousModels || [];\n    const toRemove = prev.filter(prev => !models.get(prev.cid));\n    const newIds = getComponentIds(models);\n    opts.keepIds = getComponentIds(prev).filter(pr => newIds.indexOf(pr) >= 0);\n    toRemove.forEach(md => this.removeChildren(md, coll, opts));\n    models.each(model => this.onAdd(model));\n  },\n\n  resetFromString(input = '', opts = {}) {\n    opts.keepIds = getComponentIds(this);\n    const { domc } = this;\n    const allByID = domc?.allById() || {};\n    const parsed = this.parseString(input, opts);\n    const cmps = isArray(parsed) ? parsed : [parsed];\n    const newCmps = getComponentsFromDefs(cmps, allByID, opts);\n    this.reset(newCmps, opts);\n    this.em?.trigger('component:content', this.parent, opts, input);\n  },\n\n  removeChildren(removed, coll, opts = {}) {\n    // Removing a parent component can cause this function\n    // to be called with an already removed child element\n    if (!removed) {\n      return;\n    }\n\n    const { domc, em } = this;\n    const isTemp = opts.temporary || opts.fromUndo;\n    removed.prevColl = this; // This one is required for symbols\n\n    if (!isTemp) {\n      // Remove the component from the global list\n      const id = removed.getId();\n      const sels = em.get('SelectorManager').getAll();\n      const rules = em.get('CssComposer').getAll();\n      const canRemoveStyle = (opts.keepIds || []).indexOf(id) < 0;\n      const allByID = domc ? domc.allById() : {};\n      delete allByID[id];\n\n      // Remove all component related styles\n      const rulesRemoved = canRemoveStyle\n        ? rules.remove(\n            rules.filter(r => r.getSelectors().getFullString() === `#${id}`),\n            opts\n          )\n        : [];\n\n      // Clean selectors\n      sels.remove(rulesRemoved.map(rule => rule.getSelectors().at(0)));\n\n      if (!removed.opt.temporary) {\n        em.get('Commands').run('core:component-style-clear', {\n          target: removed,\n        });\n        removed.removed();\n        removed.trigger('removed');\n        em.trigger('component:remove', removed);\n      }\n\n      const inner = removed.components();\n      inner.forEach(it => this.removeChildren(it, coll, opts));\n    }\n\n    // Remove stuff registered in DomComponents.handleChanges\n    const inner = removed.components();\n    em.stopListening(inner);\n    em.stopListening(removed);\n    em.stopListening(removed.get('classes'));\n    removed.__postRemove();\n  },\n\n  model(attrs, options) {\n    const { opt } = options.collection;\n    const { em } = opt;\n    let model;\n    const df = em.get('DomComponents').componentTypes;\n    options.em = em;\n    options.config = opt.config;\n    options.componentTypes = df;\n    options.domc = opt.domc;\n\n    for (let it = 0; it < df.length; it++) {\n      const dfId = df[it].id;\n      if (dfId == attrs.type) {\n        model = df[it].model;\n        break;\n      }\n    }\n\n    // If no model found, get the default one\n    if (!model) {\n      model = df[df.length - 1].model;\n      em &&\n        attrs.type &&\n        em.logWarning(`Component type '${attrs.type}' not found`, {\n          attrs,\n          options,\n        });\n    }\n\n    return new model(attrs, options);\n  },\n\n  parseString(value, opt = {}) {\n    const { em, domc } = this;\n    const cssc = em.get('CssComposer');\n    const parsed = em.get('Parser').parseHtml(value);\n    // We need this to avoid duplicate IDs\n    Component.checkId(parsed.html, parsed.css, domc.componentsById, opt);\n\n    if (parsed.css && cssc && !opt.temporary) {\n      const { at, ...optsToPass } = opt;\n      cssc.addCollection(parsed.css, {\n        ...optsToPass,\n        extend: 1,\n      });\n    }\n\n    return parsed.html;\n  },\n\n  add(models, opt = {}) {\n    opt.keepIds = [...(opt.keepIds || []), ...getComponentIds(opt.previousModels)];\n\n    if (isString(models)) {\n      models = this.parseString(models, opt);\n    } else if (isArray(models)) {\n      models = [...models];\n      models.forEach((item, index) => {\n        if (isString(item)) {\n          const nodes = this.parseString(item, opt);\n          models[index] = isArray(nodes) && !nodes.length ? null : nodes;\n        }\n      });\n    }\n\n    const isMult = isArray(models);\n    models = (isMult ? models : [models]).filter(i => i).map(model => this.processDef(model));\n    models = isMult ? flatten(models, 1) : models[0];\n\n    const result = Backbone.Collection.prototype.add.apply(this, [models, opt]);\n    this.__firstAdd = result;\n    return result;\n  },\n\n  /**\n   * Process component definition.\n   */\n  processDef(mdl) {\n    // Avoid processing Models\n    if (mdl.cid && mdl.ccid) return mdl;\n    const { em, config = {} } = this;\n    const { processor } = config;\n    let model = mdl;\n\n    if (processor) {\n      model = { ...model }; // Avoid 'Cannot delete property ...'\n      const modelPr = processor(model);\n      if (modelPr) {\n        each(model, (val, key) => delete model[key]);\n        extend(model, modelPr);\n      }\n    }\n\n    // React JSX preset\n    if (model.$$typeof && typeof model.props == 'object') {\n      model = { ...model };\n      model.props = { ...model.props };\n      const domc = em.get('DomComponents');\n      const parser = em.get('Parser');\n      const { parserHtml } = parser;\n\n      each(model, (value, key) => {\n        if (!includes(['props', 'type'], key)) delete model[key];\n      });\n      const { props } = model;\n      const comps = props.children;\n      delete props.children;\n      delete model.props;\n      const res = parserHtml.splitPropsFromAttr(props);\n      model.attributes = res.attrs;\n\n      if (comps) {\n        model.components = comps;\n      }\n      if (!model.type) {\n        model.type = 'textnode';\n      } else if (!domc.getType(model.type)) {\n        model.tagName = model.type;\n        delete model.type;\n      }\n\n      extend(model, res.props);\n    }\n\n    return model;\n  },\n\n  onAdd(model, c, opts = {}) {\n    const { domc, em } = this;\n    const style = model.getStyle();\n    const avoidInline = em && em.getConfig('avoidInlineStyle');\n    domc && domc.Component.ensureInList(model);\n\n    if (!isEmpty(style) && !avoidInline && em && em.get && em.getConfig('forceClass') && !opts.temporary) {\n      const name = model.cid;\n      const rule = em.get('CssComposer').setClassRule(name, style);\n      model.setStyle({});\n      model.addClass(name);\n    }\n\n    model.__postAdd({ recursive: 1 });\n    this.__onAddEnd();\n  },\n\n  __onAddEnd: debounce(function () {\n    // TODO to check symbols on load, probably this might be removed as symbols\n    // are always recovered from the model\n    // const { domc } = this;\n    // const allComp = (domc && domc.allById()) || {};\n    // const firstAdd = this.__firstAdd;\n    // const toCheck = isArray(firstAdd) ? firstAdd : [firstAdd];\n    // const silent = { silent: true };\n    // const onAll = comps => {\n    //   comps.forEach(comp => {\n    //     const symbol = comp.get(keySymbols);\n    //     const symbolOf = comp.get(keySymbol);\n    //     if (symbol && isArray(symbol) && isString(symbol[0])) {\n    //       comp.set(\n    //         keySymbols,\n    //         symbol.map(smb => allComp[smb]).filter(i => i),\n    //         silent\n    //       );\n    //     }\n    //     if (isString(symbolOf)) {\n    //       comp.set(keySymbol, allComp[symbolOf], silent);\n    //     }\n    //     onAll(comp.components());\n    //   });\n    // };\n    // onAll(toCheck);\n  }),\n});\n","import Backbone from 'backbone';\nimport { isEmpty, each, keys } from 'underscore';\nimport Components from '../model/Components';\nimport ComponentsView from './ComponentsView';\nimport Selectors from 'selector_manager/model/Selectors';\nimport { replaceWith } from 'utils/dom';\nimport { setViewEl } from 'utils/mixins';\n\nexport default Backbone.View.extend({\n  className() {\n    return this.getClasses();\n  },\n\n  tagName() {\n    return this.model.get('tagName');\n  },\n\n  initialize(opt = {}) {\n    const model = this.model;\n    const config = opt.config || {};\n    const em = config.em;\n    const modelOpt = model.opt || {};\n    const { $el, el } = this;\n    this.opts = opt;\n    this.modelOpt = modelOpt;\n    this.config = config;\n    this.em = em || '';\n    this.pfx = config.stylePrefix || '';\n    this.ppfx = config.pStylePrefix || '';\n    this.attr = model.get('attributes');\n    this.classe = this.attr.class || [];\n    this.listenTo(model, 'change:style', this.updateStyle);\n    this.listenTo(model, 'change:attributes', this.renderAttributes);\n    this.listenTo(model, 'change:highlightable', this.updateHighlight);\n    this.listenTo(model, 'change:status', this.updateStatus);\n    this.listenTo(model, 'change:script rerender', this.reset);\n    this.listenTo(model, 'change:content', this.updateContent);\n    this.listenTo(model, 'change', this.handleChange);\n    this.listenTo(model, 'active', this.onActive);\n    this.listenTo(model, 'disable', this.onDisable);\n    $el.data('model', model);\n    setViewEl(el, this);\n    model.view = this;\n    this._getFrame() && model.views.push(this);\n    this.initClasses();\n    this.initComponents({ avoidRender: 1 });\n    this.events = {\n      ...this.events,\n      dragstart: 'handleDragStart',\n    };\n    this.delegateEvents();\n    !modelOpt.temporary && this.init(this._clbObj());\n  },\n\n  __isDraggable() {\n    const { model, config } = this;\n    const { draggable } = model.attributes;\n    return config.draggableComponents && draggable;\n  },\n\n  _clbObj() {\n    const { em, model, el } = this;\n    return {\n      editor: em && em.getEditor(),\n      model,\n      el,\n    };\n  },\n\n  /**\n   * Initialize callback\n   */\n  init() {},\n\n  /**\n   * Remove callback\n   */\n  removed() {},\n\n  /**\n   * Callback executed when the `active` event is triggered on component\n   */\n  onActive() {},\n\n  /**\n   * Callback executed when the `disable` event is triggered on component\n   */\n  onDisable() {},\n\n  remove() {\n    Backbone.View.prototype.remove.apply(this, arguments);\n    const { model, $el } = this;\n    const { views } = model;\n    const frame = this._getFrame() || {};\n    model.components().forEach(comp => {\n      const view = comp.getView(frame.model);\n      view?.remove();\n    });\n    this.childrenView?.remove();\n    views.splice(views.indexOf(this), 1);\n    this.removed(this._clbObj());\n    $el.data({ model: '', collection: '', view: '' });\n    // delete model.view; // Sorter relies on this property\n    return this;\n  },\n\n  handleDragStart(event) {\n    if (!this.__isDraggable()) return false;\n    event.stopPropagation();\n    event.preventDefault();\n    this.em.get('Commands').run('tlb-move', {\n      target: this.model,\n      event,\n    });\n  },\n\n  initClasses() {\n    const { model } = this;\n    const event = 'change:classes';\n    const classes = model.get('classes');\n\n    if (classes instanceof Selectors) {\n      this.stopListening(model, event, this.initClasses);\n      this.listenTo(model, event, this.initClasses);\n      this.listenTo(classes, 'add remove change', this.updateClasses);\n      classes.length && this.importClasses();\n    }\n  },\n\n  initComponents(opts = {}) {\n    const { model, $el, childrenView } = this;\n    const event = 'change:components';\n    const comps = model.get('components');\n    const toListen = [model, event, this.initComponents];\n\n    if (comps instanceof Components) {\n      $el.data('collection', comps);\n      childrenView && childrenView.remove();\n      this.stopListening(...toListen);\n      !opts.avoidRender && this.renderChildren();\n      this.listenTo(...toListen);\n    }\n  },\n\n  /**\n   * Handle any property change\n   * @private\n   */\n  handleChange() {\n    const { model } = this;\n    const chgArr = keys(model.changed);\n    if (chgArr.length === 1 && chgArr[0] === 'status') return;\n    model.emitUpdate();\n\n    for (let prop in model.changed) {\n      model.emitUpdate(prop);\n    }\n  },\n\n  /**\n   * Import, if possible, classes inside main container\n   * @private\n   * */\n  importClasses() {\n    var clm = this.config.em.get('SelectorManager');\n\n    if (clm) {\n      this.model.get('classes').each(m => {\n        clm.add(m.get('name'));\n      });\n    }\n  },\n\n  /**\n   * Update item on status change\n   * @param  {Event} e\n   * @private\n   * */\n  updateStatus(opts = {}) {\n    const { em } = this;\n    const { extHl } = em ? em.get('Canvas').getConfig() : {};\n    const el = this.el;\n    const status = this.model.get('status');\n    const ppfx = this.ppfx;\n    const selectedCls = `${ppfx}selected`;\n    const selectedParentCls = `${selectedCls}-parent`;\n    const freezedCls = `${ppfx}freezed`;\n    const hoveredCls = `${ppfx}hovered`;\n    const toRemove = [selectedCls, selectedParentCls, freezedCls, hoveredCls];\n    const selCls = extHl && !opts.noExtHl ? '' : selectedCls;\n    this.$el.removeClass(toRemove.join(' '));\n    var actualCls = el.getAttribute('class') || '';\n    var cls = '';\n\n    switch (status) {\n      case 'selected':\n        cls = `${actualCls} ${selCls}`;\n        break;\n      case 'selected-parent':\n        cls = `${actualCls} ${selectedParentCls}`;\n        break;\n      case 'freezed':\n        cls = `${actualCls} ${freezedCls}`;\n        break;\n      case 'freezed-selected':\n        cls = `${actualCls} ${freezedCls} ${selCls}`;\n        break;\n      case 'hovered':\n        cls = !opts.avoidHover ? `${actualCls} ${hoveredCls}` : '';\n        break;\n    }\n\n    cls = cls.trim();\n    cls && el.setAttribute('class', cls);\n  },\n\n  /**\n   * Update highlight attribute\n   * @private\n   * */\n  updateHighlight() {\n    const { model } = this;\n    const isTextable = model.get('textable');\n    const hl = model.get('highlightable') && (isTextable || !model.isChildOf('text'));\n    this.setAttribute('data-gjs-highlightable', hl ? true : '');\n  },\n\n  /**\n   * Update style attribute\n   * @private\n   * */\n  updateStyle(m, v, opts = {}) {\n    const { model, em } = this;\n\n    if (em && em.getConfig('avoidInlineStyle') && !opts.inline) {\n      const style = model.getStyle();\n      !isEmpty(style) && model.setStyle(style);\n    } else {\n      this.setAttribute('style', model.styleToString(opts));\n    }\n  },\n\n  /**\n   * Update classe attribute\n   * @private\n   * */\n  updateClasses() {\n    const str = this.model.get('classes').pluck('name').join(' ');\n    this.setAttribute('class', str);\n\n    // Regenerate status class\n    this.updateStatus();\n    this.onAttrUpdate();\n  },\n\n  /**\n   * Update single attribute\n   * @param {[type]} name  [description]\n   * @param {[type]} value [description]\n   */\n  setAttribute(name, value) {\n    const el = this.$el;\n    value ? el.attr(name, value) : el.removeAttr(name);\n  },\n\n  /**\n   * Get classes from attributes.\n   * This method is called before initialize\n   *\n   * @return  {Array}|null\n   * @private\n   * */\n  getClasses() {\n    return this.model.getClasses().join(' ');\n  },\n\n  /**\n   * Update attributes\n   * @private\n   * */\n  updateAttributes() {\n    const attrs = [];\n    const { model, $el, el } = this;\n    const { textable, type } = model.attributes;\n\n    const defaultAttr = {\n      id: model.getId(),\n      'data-gjs-type': type || 'default',\n      ...(this.__isDraggable() && { draggable: true }),\n      ...(textable && { contenteditable: 'false' }),\n    };\n\n    // Remove all current attributes\n    each(el.attributes, attr => attrs.push(attr.nodeName));\n    attrs.forEach(attr => $el.removeAttr(attr));\n    this.updateStyle();\n    this.updateHighlight();\n    const attr = {\n      ...defaultAttr,\n      ...model.getAttributes(),\n    };\n\n    // Remove all `false` attributes\n    keys(attr).forEach(key => attr[key] === false && delete attr[key]);\n\n    $el.attr(attr);\n  },\n\n  /**\n   * Update component content\n   * @private\n   * */\n  updateContent() {\n    const content = this.model.get('content');\n    const hasComps = this.model.components().length;\n    this.getChildrenContainer().innerHTML = hasComps ? '' : content;\n  },\n\n  /**\n   * Prevent default helper\n   * @param  {Event} e\n   * @private\n   */\n  prevDef(e) {\n    e.preventDefault();\n  },\n\n  /**\n   * Render component's script\n   * @private\n   */\n  updateScript() {\n    const { model, em } = this;\n    if (!model.get('script')) return;\n    em && em.get('Canvas').getCanvasView().updateScript(this);\n  },\n\n  /**\n   * Return children container\n   * Differently from a simple component where children container is the\n   * component itself\n   * <my-comp>\n   *  <!--\n   *    <child></child> ...\n   *   -->\n   * </my-comp>\n   * You could have the children container more deeper\n   * <my-comp>\n   *  <div></div>\n   *  <div></div>\n   *  <div>\n   *    <div>\n   *      <!--\n   *        <child></child> ...\n   *      -->\n   *    </div>\n   *  </div>\n   * </my-comp>\n   * @return HTMLElement\n   * @private\n   */\n  getChildrenContainer() {\n    var container = this.el;\n\n    if (typeof this.getChildrenSelector == 'function') {\n      container = this.el.querySelector(this.getChildrenSelector());\n    } else if (typeof this.getTemplate == 'function') {\n      // Need to find deepest first child\n    }\n\n    return container;\n  },\n\n  /**\n   * This returns rect informations not affected by the canvas zoom.\n   * The method `getBoundingClientRect` doesn't work here and we\n   * have to take in account offsetParent\n   */\n  getOffsetRect() {\n    const rect = {};\n    const target = this.el;\n    let gtop = 0;\n    let gleft = 0;\n\n    const assignRect = el => {\n      const { offsetParent } = el;\n\n      if (offsetParent) {\n        gtop += offsetParent.offsetTop;\n        gleft += offsetParent.offsetLeft;\n        assignRect(offsetParent);\n      } else {\n        rect.top = target.offsetTop + gtop;\n        rect.left = target.offsetLeft + gleft;\n        rect.bottom = rect.top + target.offsetHeight;\n        rect.right = rect.left + target.offsetWidth;\n      }\n    };\n    assignRect(target);\n\n    return rect;\n  },\n\n  isInViewport({ rect } = {}) {\n    const { el } = this;\n    const elDoc = el.ownerDocument;\n    const { body } = elDoc;\n    const { frameElement } = elDoc.defaultView;\n    const { top, left } = rect || this.getOffsetRect();\n    const frame = this._getFrame().getOffsetRect();\n\n    return (\n      top >= frame.scrollTop &&\n      left >= frame.scrollLeft &&\n      top <= frame.scrollBottom &&\n      left <= frameElement.offsetWidth + body.scrollLeft\n    );\n  },\n\n  scrollIntoView(opts = {}) {\n    const rect = this.getOffsetRect();\n    const isInViewport = this.isInViewport({ rect });\n\n    if (!isInViewport || opts.force) {\n      const { el } = this;\n\n      // PATCH: scrollIntoView won't work with multiple requests from iframes\n      if (opts.behavior !== 'smooth') {\n        el.ownerDocument.defaultView.scrollTo(0, rect.top);\n      } else {\n        el.scrollIntoView({\n          behavior: 'smooth',\n          block: 'nearest',\n          ...opts,\n        });\n      }\n    }\n  },\n\n  /**\n   * Recreate the element of the view\n   */\n  reset() {\n    const { el } = this;\n    this.el = '';\n    this._ensureElement();\n    this._setData();\n    replaceWith(el, this.el);\n    this.render();\n  },\n\n  _setData() {\n    const { model } = this;\n    const collection = model.components();\n    const view = this;\n    this.$el.data({ model, collection, view });\n  },\n\n  _getFrame() {\n    return this.config.frameView;\n  },\n\n  /**\n   * Render children components\n   * @private\n   */\n  renderChildren() {\n    this.updateContent();\n    const container = this.getChildrenContainer();\n    const view =\n      this.childrenView ||\n      new ComponentsView({\n        collection: this.model.get('components'),\n        config: this.config,\n        componentTypes: this.opts.componentTypes,\n      });\n\n    view.render(container);\n    this.childrenView = view;\n    const childNodes = Array.prototype.slice.call(view.el.childNodes);\n\n    for (var i = 0, len = childNodes.length; i < len; i++) {\n      container.appendChild(childNodes.shift());\n    }\n  },\n\n  renderAttributes() {\n    this.updateAttributes();\n    this.updateClasses();\n  },\n\n  onAttrUpdate() {},\n\n  render() {\n    this.renderAttributes();\n    if (this.modelOpt.temporary) return this;\n    this.renderChildren();\n    this.updateScript();\n    setViewEl(this.el, this);\n    this.postRender();\n\n    return this;\n  },\n\n  postRender() {\n    if (!this.modelOpt.temporary) {\n      this.onRender(this._clbObj());\n    }\n  },\n\n  onRender() {},\n});\n","import Backbone from 'backbone';\nimport { isUndefined } from 'underscore';\n\nexport default Backbone.View.extend({\n  initialize(o) {\n    this.opts = o || {};\n    this.config = o.config || {};\n    this.em = this.config.em;\n    const coll = this.collection;\n    this.listenTo(coll, 'add', this.addTo);\n    this.listenTo(coll, 'reset', this.resetChildren);\n    this.listenTo(coll, 'remove', this.removeChildren);\n  },\n\n  removeChildren(removed, coll, opts = {}) {\n    removed.views.forEach(view => {\n      if (!view) return;\n      const { childrenView, scriptContainer } = view;\n      childrenView && childrenView.stopListening();\n      scriptContainer && scriptContainer.remove();\n      view.remove.apply(view);\n    });\n\n    const inner = removed.components();\n    inner.forEach(it => this.removeChildren(it, coll, opts));\n  },\n\n  /**\n   * Add to collection\n   * @param {Model} model\n   * @param {Collection} coll\n   * @param {Object} opts\n   * @private\n   * */\n  addTo(model, coll = {}, opts = {}) {\n    const em = this.config.em;\n    const i = this.collection.indexOf(model);\n    this.addToCollection(model, null, i);\n\n    if (em && !opts.temporary) {\n      const triggerAdd = model => {\n        em.trigger('component:add', model);\n        model.components().forEach(comp => triggerAdd(comp));\n      };\n      triggerAdd(model);\n    }\n  },\n\n  /**\n   * Add new object to collection\n   * @param  {Object}  Model\n   * @param  {Object}   Fragment collection\n   * @param  {Integer}  Index of append\n   *\n   * @return   {Object}   Object rendered\n   * @private\n   * */\n  addToCollection(model, fragmentEl, index) {\n    if (!this.compView) this.compView = require('./ComponentView').default;\n    const { config, opts, em } = this;\n    const fragment = fragmentEl || null;\n    const { frameView = {} } = config;\n    const sameFrameView = frameView.model && model.getView(frameView.model);\n    const dt = opts.componentTypes || (em && em.get('DomComponents').getTypes());\n    const type = model.get('type') || 'default';\n    let viewObject = this.compView;\n\n    for (let it = 0; it < dt.length; it++) {\n      if (dt[it].id == type) {\n        viewObject = dt[it].view;\n        break;\n      }\n    }\n    const view =\n      sameFrameView ||\n      new viewObject({\n        model,\n        config,\n        componentTypes: dt,\n      });\n    let rendered;\n\n    try {\n      // Avoid breaking on DOM rendering (eg. invalid attribute name)\n      rendered = view.render().el;\n    } catch (error) {\n      rendered = document.createTextNode('');\n      em.logError(error);\n    }\n\n    if (fragment) {\n      fragment.appendChild(rendered);\n    } else {\n      const parent = this.parentEl;\n      const children = parent.childNodes;\n\n      if (!isUndefined(index)) {\n        const lastIndex = children.length == index;\n\n        // If the added model is the last of collection\n        // need to change the logic of append\n        if (lastIndex) {\n          index--;\n        }\n\n        // In case the added is new in the collection index will be -1\n        if (lastIndex || !children.length) {\n          parent.appendChild(rendered);\n        } else {\n          parent.insertBefore(rendered, children[index]);\n        }\n      } else {\n        parent.appendChild(rendered);\n      }\n    }\n\n    if (!model.opt.temporary) {\n      em?.trigger('component:mount', model);\n    }\n\n    return rendered;\n  },\n\n  resetChildren(models, { previousModels = [] } = {}) {\n    this.parentEl.innerHTML = '';\n    previousModels.forEach(md => this.removeChildren(md, this.collection));\n    models.each(model => this.addToCollection(model));\n  },\n\n  render(parent) {\n    const el = this.el;\n    const frag = document.createDocumentFragment();\n    this.parentEl = parent || this.el;\n    this.collection.each(model => this.addToCollection(model, frag));\n    el.innerHTML = '';\n    el.appendChild(frag);\n    return this;\n  },\n});\n","import { isString, isArray, keys, isUndefined } from 'underscore';\nimport { shallowDiff } from 'utils/mixins';\nimport ParserHtml from 'parser/model/ParserHtml';\n\nconst parseStyle = ParserHtml().parseStyle;\n\nexport default {\n  parseStyle,\n\n  /**\n   * To trigger the style change event on models I have to\n   * pass a new object instance\n   * @param {Object} prop\n   * @return {Object}\n   */\n  extendStyle(prop) {\n    return { ...this.getStyle(), ...prop };\n  },\n\n  /**\n   * Get style object\n   * @return {Object}\n   */\n  getStyle(prop) {\n    const style = this.get('style') || {};\n    const result = { ...style };\n    return prop && isString(prop) ? result[prop] : result;\n  },\n\n  /**\n   * Set new style object\n   * @param {Object|string} prop\n   * @param {Object} opts\n   * @return {Object} Applied properties\n   */\n  setStyle(prop = {}, opts = {}) {\n    if (isString(prop)) {\n      prop = parseStyle(prop);\n    }\n\n    const propOrig = this.getStyle(opts);\n    const propNew = { ...prop };\n    this.set('style', propNew, opts);\n    const diff = shallowDiff(propOrig, propNew);\n    keys(diff).forEach(pr => {\n      const em = this.em;\n      if (opts.noEvent) return;\n      this.trigger(`change:style:${pr}`);\n      if (em) {\n        em.trigger(`styleable:change`, this, pr, opts);\n        em.trigger(`styleable:change:${pr}`, this, pr, opts);\n      }\n    });\n\n    return propNew;\n  },\n\n  /**\n   * Add style property\n   * @param {Object|string} prop\n   * @param {string} value\n   * @example\n   * this.addStyle({color: 'red'});\n   * this.addStyle('color', 'blue');\n   */\n  addStyle(prop, value = '', opts = {}) {\n    if (typeof prop == 'string') {\n      prop = {\n        prop: value,\n      };\n    } else {\n      opts = value || {};\n    }\n\n    prop = this.extendStyle(prop);\n    this.setStyle(prop, opts);\n  },\n\n  /**\n   * Remove style property\n   * @param {string} prop\n   */\n  removeStyle(prop) {\n    let style = this.getStyle();\n    delete style[prop];\n    this.setStyle(style);\n  },\n\n  /**\n   * Returns string of style properties\n   * @param {Object} [opts={}] Options\n   * @return {String}\n   */\n  styleToString(opts = {}) {\n    const result = [];\n    const style = this.getStyle(opts);\n\n    for (let prop in style) {\n      const imp = opts.important;\n      const important = isArray(imp) ? imp.indexOf(prop) >= 0 : imp;\n      const value = `${style[prop]}${important ? ' !important' : ''}`;\n      const propPrv = prop.substr(0, 2) == '__';\n      value && !propPrv && result.push(`${prop}:${value};`);\n    }\n\n    return result.join('');\n  },\n\n  getSelectors() {\n    return this.get('selectors') || this.get('classes');\n  },\n\n  getSelectorsString(opts) {\n    return this.selectorsToString ? this.selectorsToString(opts) : this.getSelectors().getFullString();\n  },\n\n  _validate(attr, opts) {\n    const { style } = attr;\n    const em = this.em || opts.em;\n    const onBeforeStyle = em?.get('CssComposer')?.getConfig().onBeforeStyle;\n\n    if (style && onBeforeStyle) {\n      const newStyle = onBeforeStyle({ ...style });\n      newStyle &&\n        keys(style).map(prop => {\n          if (isUndefined(newStyle[prop])) delete attr.style[prop];\n        });\n      newStyle &&\n        keys(newStyle).map(prop => {\n          attr.style[prop] = newStyle[prop];\n        });\n    }\n\n    return true;\n  },\n};\n","import { isFunction } from 'underscore';\nimport Backbone from 'backbone';\n\nconst Model = Backbone.Model;\nconst View = Backbone.View;\n\nexport default {\n  types: [],\n\n  initialize(models, opts = {}) {\n    const { em } = opts;\n    this.em = em;\n    this.opts = opts;\n    this.model = (attrs = {}, options = {}) => {\n      let Model, View, type;\n\n      if (attrs && attrs.type) {\n        const baseType = this.getBaseType();\n        type = this.getType(attrs.type);\n        Model = type ? type.model : baseType.model;\n        View = type ? type.view : baseType.view;\n      } else {\n        const typeFound = this.recognizeType(attrs);\n        type = typeFound.type;\n        Model = type.model;\n        View = type.view;\n        attrs = typeFound.attributes;\n      }\n\n      const model = new Model(attrs, { ...options, em });\n      model.typeView = View;\n      return model;\n    };\n    const init = this.init && this.init.bind(this);\n    init && init();\n  },\n\n  /**\n   * Recognize type by any value\n   * @param  {mixed} value\n   * @return {Object} Found type\n   */\n  recognizeType(value) {\n    const types = this.getTypes();\n\n    for (let i = 0; i < types.length; i++) {\n      const type = types[i];\n      let typeFound = type.isType(value);\n      typeFound = typeof typeFound == 'boolean' && typeFound ? { type: type.id } : typeFound;\n\n      if (typeFound) {\n        return {\n          type,\n          attributes: typeFound,\n        };\n      }\n    }\n\n    // If, for any reason, the type is not found it'll return the base one\n    return {\n      type: this.getBaseType(),\n      attributes: value,\n    };\n  },\n\n  /**\n   * Returns the base type (last object in the stack)\n   * @return {Object}\n   */\n  getBaseType() {\n    const types = this.getTypes();\n    return types[types.length - 1];\n  },\n\n  /**\n   * Get types\n   * @return {Array}\n   */\n  getTypes() {\n    return this.types;\n  },\n\n  /**\n   * Get type\n   * @param {string} id Type ID\n   * @return {Object} Type definition\n   */\n  getType(id) {\n    const types = this.getTypes();\n\n    for (let i = 0; i < types.length; i++) {\n      const type = types[i];\n      if (type.id === id) {\n        return type;\n      }\n    }\n  },\n\n  /**\n   * Add new type\n   * @param {string} id Type ID\n   * @param {Object} definition Definition of the type. Each definition contains\n   *                            `model` (business logic), `view` (presentation logic)\n   *                            and `isType` function which recognize the type of the\n   *                            passed entity\n   * addType('my-type', {\n   *  model: {},\n   *  view: {},\n   *  isType: (value) => {},\n   * })\n   */\n  addType(id, definition) {\n    const type = this.getType(id);\n    const baseType = this.getBaseType();\n    const ModelInst = type ? type.model : baseType.model;\n    const ViewInst = type ? type.view : baseType.view;\n    let { model, view, isType } = definition;\n    model = model instanceof Model || isFunction(model) ? model : ModelInst.extend(model || {});\n    view = view instanceof View || isFunction(view) ? view : ViewInst.extend(view || {});\n\n    // New API\n    if (this.extendViewApi && !definition.model && !definition.view) {\n      view = view.extend(definition);\n    }\n\n    if (type) {\n      type.model = model;\n      type.view = view;\n      type.isType = isType || type.isType;\n    } else {\n      definition.id = id;\n      definition.model = model;\n      definition.view = view;\n      definition.isType =\n        isType ||\n        function (value) {\n          if (value && value.type == id) {\n            return true;\n          }\n        };\n      this.getTypes().unshift(definition);\n    }\n  },\n};\n","import Backbone from 'backbone';\n\nconst $ = Backbone.$;\n\nexport default Backbone.View.extend({\n  events: {\n    change: 'handleChange',\n  },\n\n  template() {\n    return `<span class=\"${this.holderClass()}\"></span>`;\n  },\n\n  inputClass() {\n    return `${this.ppfx}field`;\n  },\n\n  holderClass() {\n    return `${this.ppfx}input-holder`;\n  },\n\n  initialize(opts = {}) {\n    const ppfx = opts.ppfx || '';\n    this.opts = opts;\n    this.ppfx = ppfx;\n    this.em = opts.target || {};\n    !opts.onChange && this.listenTo(this.model, 'change:value', this.handleModelChange);\n  },\n\n  /**\n   * Fired when the element of the property is updated\n   */\n  elementUpdated() {\n    this.model.trigger('el:change');\n  },\n\n  /**\n   * Set value to the input element\n   * @param {string} value\n   */\n  setValue(value) {\n    const model = this.model;\n    let val = value || model.get('defaults');\n    const input = this.getInputEl();\n    input && (input.value = val);\n  },\n\n  /**\n   * Updates the view when the model is changed\n   * */\n  handleModelChange(model, value, opts) {\n    this.setValue(value, opts);\n  },\n\n  /**\n   * Handled when the view is changed\n   */\n  handleChange(e) {\n    e.stopPropagation();\n    const value = this.getInputEl().value;\n    this.__onInputChange(value);\n    this.elementUpdated();\n  },\n\n  __onInputChange(value) {\n    this.model.set({ value }, { fromInput: 1 });\n  },\n\n  /**\n   * Get the input element\n   * @return {HTMLElement}\n   */\n  getInputEl() {\n    if (!this.inputEl) {\n      const { model, opts } = this;\n      const type = opts.type || 'text';\n      const plh = model.get('placeholder') || model.get('defaults') || model.get('default') || '';\n      this.inputEl = $(`<input type=\"${type}\" placeholder=\"${plh}\">`);\n    }\n\n    return this.inputEl.get(0);\n  },\n\n  render() {\n    this.inputEl = null;\n    const el = this.$el;\n    el.addClass(this.inputClass());\n    el.html(this.template());\n    el.find(`.${this.holderClass()}`).append(this.getInputEl());\n    return this;\n  },\n});\n","import Backbone from 'backbone';\nimport { isUndefined } from 'underscore';\nimport ColorPicker from 'utils/ColorPicker';\nimport Input from './Input';\n\nconst { $ } = Backbone;\n$ && ColorPicker($);\n\nconst getColor = color => {\n  const name = color.getFormat() === 'name' && color.toName();\n  const cl = color.getAlpha() == 1 ? color.toHexString() : color.toRgbString();\n  return name || cl.replace(/ /g, '');\n};\n\nexport default Input.extend({\n  template() {\n    const ppfx = this.ppfx;\n    return `\n      <div class=\"${this.holderClass()}\"></div>\n      <div class=\"${ppfx}field-colorp\">\n        <div class=\"${ppfx}field-colorp-c\" data-colorp-c>\n          <div class=\"${ppfx}checker-bg\"></div>\n        </div>\n      </div>\n    `;\n  },\n\n  inputClass() {\n    const ppfx = this.ppfx;\n    return `${ppfx}field ${ppfx}field-color`;\n  },\n\n  holderClass() {\n    return `${this.ppfx}input-holder`;\n  },\n\n  remove() {\n    Input.prototype.remove.apply(this, arguments);\n    this.colorEl.spectrum('destroy');\n  },\n\n  handleChange(e) {\n    e.stopPropagation();\n    const { value } = e.target;\n    if (isUndefined(value)) return;\n    this.__onInputChange(value);\n  },\n\n  __onInputChange(val) {\n    const { model, opts } = this;\n    const { onChange } = opts;\n    let value = val;\n    const colorEl = this.getColorEl();\n\n    // Check the color by using the ColorPicker's parser\n    if (colorEl) {\n      colorEl.spectrum('set', value);\n      const tc = colorEl.spectrum('get');\n      const color = value && getColor(tc);\n      color && (value = color);\n    }\n\n    onChange ? onChange(value) : model.set({ value }, { fromInput: 1 });\n  },\n\n  /**\n   * Set value to the model\n   * @param {string} val\n   * @param {Object} opts\n   */\n  setValue(val, opts = {}) {\n    const { model } = this;\n    const def = !isUndefined(opts.def) ? opts.def : model.get('defaults');\n    const value = !isUndefined(val) ? val : !isUndefined(def) ? def : '';\n    const inputEl = this.getInputEl();\n    const colorEl = this.getColorEl();\n    const valueClr = value != 'none' ? value : '';\n    inputEl.value = value;\n    colorEl.get(0).style.backgroundColor = valueClr;\n\n    // This prevents from adding multiple thumbs in spectrum\n    if (opts.fromTarget || (opts.fromInput && !opts.avoidStore)) {\n      colorEl.spectrum('set', valueClr);\n      this.noneColor = value == 'none';\n    }\n  },\n\n  /**\n   * Get the color input element\n   * @return {HTMLElement}\n   */\n  getColorEl() {\n    if (!this.colorEl) {\n      const { em, model, opts } = this;\n      const self = this;\n      const ppfx = this.ppfx;\n      const { onChange } = opts;\n\n      var colorEl = $(`<div class=\"${this.ppfx}field-color-picker\"></div>`);\n      var cpStyle = colorEl.get(0).style;\n      var elToAppend = em && em.config ? em.config.el : '';\n      var colorPickerConfig = (em && em.getConfig && em.getConfig('colorPicker')) || {};\n\n      let changed = 0;\n      let previousColor;\n      this.$el.find(`[data-colorp-c]`).append(colorEl);\n      colorEl.spectrum({\n        color: model.getValue() || false,\n        containerClassName: `${ppfx}one-bg ${ppfx}two-color`,\n        appendTo: elToAppend || 'body',\n        maxSelectionSize: 8,\n        showPalette: true,\n        showAlpha: true,\n        chooseText: 'Ok',\n        cancelText: '⨯',\n        palette: [],\n\n        // config expanded here so that the functions below are not overridden\n        ...colorPickerConfig,\n        ...(model.get('colorPicker') || {}),\n\n        move(color) {\n          const cl = getColor(color);\n          cpStyle.backgroundColor = cl;\n          onChange ? onChange(cl, true) : model.setValueFromInput(cl, 0);\n        },\n        change(color) {\n          changed = 1;\n          const cl = getColor(color);\n          cpStyle.backgroundColor = cl;\n          if (onChange) {\n            onChange(cl);\n          } else {\n            model.setValueFromInput(0, 0); // for UndoManager\n            model.setValueFromInput(cl);\n          }\n          self.noneColor = 0;\n        },\n        show(color) {\n          changed = 0;\n          previousColor = onChange ? model.getValue({ noDefault: true }) : getColor(color);\n        },\n        hide(color) {\n          if (!changed && (previousColor || onChange)) {\n            if (self.noneColor) {\n              previousColor = '';\n            }\n            cpStyle.backgroundColor = previousColor;\n            colorEl.spectrum('set', previousColor);\n            onChange ? onChange(previousColor, true) : model.setValueFromInput(previousColor, 0);\n          }\n        },\n      });\n\n      if (em && em.on) {\n        this.listenTo(em, 'component:selected', () => {\n          changed = 1;\n          colorEl.spectrum('hide');\n        });\n      }\n\n      this.colorEl = colorEl;\n    }\n    return this.colorEl;\n  },\n\n  render() {\n    Input.prototype.render.call(this);\n    // This will make the color input available on render\n    this.getColorEl();\n    return this;\n  },\n});\n","// Without jquery I have to update few stuff\n//\n// Spectrum Colorpicker v1.8.0\n// https://github.com/bgrins/spectrum\n// Author: Brian Grinstead\n// License: MIT\nimport { hasWin } from 'utils/mixins';\n\nexport default function ($, undefined) {\n  'use strict';\n  if (!hasWin()) return;\n\n  var defaultOpts = {\n      // Callbacks\n      beforeShow: noop,\n      move: noop,\n      change: noop,\n      show: noop,\n      hide: noop,\n\n      // Options\n      color: false,\n      flat: false,\n      showInput: false,\n      allowEmpty: false,\n      showButtons: true,\n      clickoutFiresChange: true,\n      showInitial: false,\n      showPalette: false,\n      showPaletteOnly: false,\n      hideAfterPaletteSelect: false,\n      togglePaletteOnly: false,\n      showSelectionPalette: true,\n      localStorageKey: false,\n      appendTo: 'body',\n      maxSelectionSize: 7,\n      cancelText: 'cancel',\n      chooseText: 'choose',\n      togglePaletteMoreText: 'more',\n      togglePaletteLessText: 'less',\n      clearText: 'Clear Color Selection',\n      noColorSelectedText: 'No Color Selected',\n      preferredFormat: false,\n      className: '', // Deprecated - use containerClassName and replacerClassName instead.\n      containerClassName: '',\n      replacerClassName: '',\n      showAlpha: false,\n      theme: 'sp-light',\n      palette: [['#ffffff', '#000000', '#ff0000', '#ff8000', '#ffff00', '#008000', '#0000ff', '#4b0082', '#9400d3']],\n      selectionPalette: [],\n      disabled: false,\n      offset: null,\n    },\n    spectrums = [],\n    IE = !!/msie/i.exec(window.navigator.userAgent),\n    rgbaSupport = (function () {\n      function contains(str, substr) {\n        return !!~('' + str).indexOf(substr);\n      }\n\n      var elem = document.createElement('div');\n      var style = elem.style;\n      style.cssText = 'background-color:rgba(0,0,0,.5)';\n      return contains(style.backgroundColor, 'rgba') || contains(style.backgroundColor, 'hsla');\n    })(),\n    replaceInput = [\n      \"<div class='sp-replacer'>\",\n      \"<div class='sp-preview'><div class='sp-preview-inner'></div></div>\",\n      \"<div class='sp-dd'>&#9660;</div>\",\n      '</div>',\n    ].join(''),\n    markup = (function () {\n      // IE does not support gradients with multiple stops, so we need to simulate\n      //  that for the rainbow slider with 8 divs that each have a single gradient\n      var gradientFix = '';\n      if (IE) {\n        for (var i = 1; i <= 6; i++) {\n          gradientFix += \"<div class='sp-\" + i + \"'></div>\";\n        }\n      }\n\n      return [\n        \"<div class='sp-container sp-hidden'>\",\n        \"<div class='sp-palette-container'>\",\n        \"<div class='sp-palette sp-thumb sp-cf'></div>\",\n        \"<div class='sp-palette-button-container sp-cf'>\",\n        \"<button type='button' class='sp-palette-toggle'></button>\",\n        '</div>',\n        '</div>',\n        \"<div class='sp-picker-container'>\",\n        \"<div class='sp-top sp-cf'>\",\n        \"<div class='sp-fill'></div>\",\n        \"<div class='sp-top-inner'>\",\n        \"<div class='sp-color'>\",\n        \"<div class='sp-sat'>\",\n        \"<div class='sp-val'>\",\n        \"<div class='sp-dragger'></div>\",\n        '</div>',\n        '</div>',\n        '</div>',\n        \"<div class='sp-clear sp-clear-display'>\",\n        '</div>',\n        \"<div class='sp-hue'>\",\n        \"<div class='sp-slider'></div>\",\n        gradientFix,\n        '</div>',\n        '</div>',\n        \"<div class='sp-alpha'><div class='sp-alpha-inner'><div class='sp-alpha-handle'></div></div></div>\",\n        '</div>',\n        \"<div class='sp-input-container sp-cf'>\",\n        \"<input class='sp-input' type='text' spellcheck='false'  />\",\n        '</div>',\n        \"<div class='sp-initial sp-thumb sp-cf'></div>\",\n        \"<div class='sp-button-container sp-cf'>\",\n        \"<a class='sp-cancel' href='#'></a>\",\n        \"<button type='button' class='sp-choose'></button>\",\n        '</div>',\n        '</div>',\n        '</div>',\n      ].join('');\n    })();\n\n  function paletteTemplate(p, color, className, opts) {\n    var html = [];\n    for (var i = 0; i < p.length; i++) {\n      var current = p[i];\n      if (current) {\n        var tiny = tinycolor(current);\n        var c = tiny.toHsl().l < 0.5 ? 'sp-thumb-el sp-thumb-dark' : 'sp-thumb-el sp-thumb-light';\n        c += tinycolor.equals(color, current) ? ' sp-thumb-active' : '';\n        var formattedString = tiny.toString(opts.preferredFormat || 'rgb');\n        var swatchStyle = rgbaSupport ? 'background-color:' + tiny.toRgbString() : 'filter:' + tiny.toFilter();\n        html.push(\n          '<span title=\"' +\n            formattedString +\n            '\" data-color=\"' +\n            tiny.toRgbString() +\n            '\" class=\"' +\n            c +\n            '\"><span class=\"sp-thumb-inner\" style=\"' +\n            swatchStyle +\n            ';\"></span></span>'\n        );\n      } else {\n        var cls = 'sp-clear-display';\n        html.push(\n          $('<div />')\n            .append(\n              $('<span data-color=\"\" style=\"background-color:transparent;\" class=\"' + cls + '\"></span>').attr(\n                'title',\n                opts.noColorSelectedText\n              )\n            )\n            .html()\n        );\n      }\n    }\n    return \"<div class='sp-cf \" + className + \"'>\" + html.join('') + '</div>';\n  }\n\n  function hideAll() {\n    for (var i = 0; i < spectrums.length; i++) {\n      if (spectrums[i]) {\n        spectrums[i].hide();\n      }\n    }\n  }\n\n  function instanceOptions(o, callbackContext) {\n    var opts = $.extend({}, defaultOpts, o);\n    opts.callbacks = {\n      move: bind(opts.move, callbackContext),\n      change: bind(opts.change, callbackContext),\n      show: bind(opts.show, callbackContext),\n      hide: bind(opts.hide, callbackContext),\n      beforeShow: bind(opts.beforeShow, callbackContext),\n    };\n    return opts;\n  }\n\n  function spectrum(element, o) {\n    var opts = instanceOptions(o, element),\n      flat = opts.flat,\n      showSelectionPalette = opts.showSelectionPalette,\n      localStorageKey = opts.localStorageKey,\n      theme = opts.theme,\n      callbacks = opts.callbacks,\n      resize = throttle(reflow, 10),\n      visible = false,\n      isDragging = false,\n      isDefault = true,\n      dragWidth = 0,\n      dragHeight = 0,\n      dragHelperHeight = 0,\n      slideHeight = 0,\n      slideWidth = 0,\n      alphaWidth = 0,\n      alphaSlideHelperWidth = 0,\n      slideHelperHeight = 0,\n      currentHue = 0,\n      currentSaturation = 0,\n      currentValue = 0,\n      currentAlpha = 1,\n      palette = [],\n      paletteArray = [],\n      paletteLookup = {},\n      selectionPalette = opts.selectionPalette.slice(0),\n      maxSelectionSize = opts.maxSelectionSize,\n      draggingClass = 'sp-dragging',\n      shiftMovementDirection = null;\n\n    var doc = element.ownerDocument,\n      body = doc.body,\n      boundElement = $(element),\n      disabled = false,\n      container = $(markup, doc).addClass(theme),\n      pickerContainer = container.find('.sp-picker-container'),\n      dragger = container.find('.sp-color'),\n      dragHelper = container.find('.sp-dragger'),\n      slider = container.find('.sp-hue'),\n      slideHelper = container.find('.sp-slider'),\n      alphaSliderInner = container.find('.sp-alpha-inner'),\n      alphaSlider = container.find('.sp-alpha'),\n      alphaSlideHelper = container.find('.sp-alpha-handle'),\n      textInput = container.find('.sp-input'),\n      paletteContainer = container.find('.sp-palette'),\n      initialColorContainer = container.find('.sp-initial'),\n      cancelButton = container.find('.sp-cancel'),\n      clearButton = container.find('.sp-clear'),\n      chooseButton = container.find('.sp-choose'),\n      toggleButton = container.find('.sp-palette-toggle'),\n      isInput = boundElement.is('input'),\n      isInputTypeColor = isInput && boundElement.attr('type') === 'color' && inputTypeColorSupport(),\n      shouldReplace = isInput && !flat,\n      replacer = shouldReplace\n        ? $(replaceInput).addClass(theme).addClass(opts.className).addClass(opts.replacerClassName)\n        : $([]),\n      offsetElement = shouldReplace ? replacer : boundElement,\n      previewElement = replacer.find('.sp-preview-inner'),\n      initialColor = opts.color || (isInput && boundElement.val()),\n      colorOnShow = false,\n      currentPreferredFormat = opts.preferredFormat,\n      clickoutFiresChange = !opts.showButtons || opts.clickoutFiresChange,\n      isEmpty = !initialColor,\n      allowEmpty = opts.allowEmpty && !isInputTypeColor;\n\n    function applyOptions() {\n      if (opts.showPaletteOnly) {\n        opts.showPalette = true;\n      }\n\n      toggleButton.text(opts.showPaletteOnly ? opts.togglePaletteMoreText : opts.togglePaletteLessText);\n\n      if (opts.palette) {\n        palette = opts.palette.slice(0);\n        paletteArray = $.isArray(palette[0]) ? palette : [palette];\n        paletteLookup = {};\n        for (var i = 0; i < paletteArray.length; i++) {\n          for (var j = 0; j < paletteArray[i].length; j++) {\n            var rgb = tinycolor(paletteArray[i][j]).toRgbString();\n            paletteLookup[rgb] = true;\n          }\n        }\n      }\n\n      container.toggleClass('sp-flat', flat);\n      container.toggleClass('sp-input-disabled', !opts.showInput);\n      container.toggleClass('sp-alpha-enabled', opts.showAlpha);\n      container.toggleClass('sp-clear-enabled', allowEmpty);\n      container.toggleClass('sp-buttons-disabled', !opts.showButtons);\n      container.toggleClass('sp-palette-buttons-disabled', !opts.togglePaletteOnly);\n      container.toggleClass('sp-palette-disabled', !opts.showPalette);\n      container.toggleClass('sp-palette-only', opts.showPaletteOnly);\n      container.toggleClass('sp-initial-disabled', !opts.showInitial);\n      container.addClass(opts.className).addClass(opts.containerClassName);\n\n      reflow();\n    }\n\n    function initialize() {\n      if (IE) {\n        container.find('*:not(input)').attr('unselectable', 'on');\n      }\n\n      applyOptions();\n\n      if (shouldReplace) {\n        boundElement.after(replacer).hide();\n      }\n\n      if (!allowEmpty) {\n        clearButton.hide();\n      }\n\n      if (flat) {\n        boundElement.after(container).hide();\n      } else {\n        var appendTo = opts.appendTo === 'parent' ? boundElement.parent() : $(opts.appendTo);\n        if (appendTo.length !== 1) {\n          appendTo = $('body');\n        }\n\n        appendTo.append(container);\n      }\n\n      updateSelectionPaletteFromStorage();\n\n      offsetElement.bind('click.spectrum touchstart.spectrum', function (e) {\n        if (!disabled) {\n          toggle();\n        }\n\n        e.stopPropagation();\n\n        if (!$(e.target).is('input')) {\n          e.preventDefault();\n        }\n      });\n\n      if (boundElement.is(':disabled') || opts.disabled === true) {\n        disable();\n      }\n\n      // Prevent clicks from bubbling up to document.  This would cause it to be hidden.\n      container.click(stopPropagation);\n\n      // Handle user typed input\n      textInput.change(setFromTextInput);\n      textInput.bind('paste', function () {\n        setTimeout(setFromTextInput, 1);\n      });\n      textInput.keydown(function (e) {\n        if (e.keyCode == 13) {\n          setFromTextInput();\n        }\n      });\n\n      cancelButton.text(opts.cancelText);\n      cancelButton.bind('click.spectrum', function (e) {\n        e.stopPropagation();\n        e.preventDefault();\n        revert();\n        hide();\n      });\n\n      clearButton.attr('title', opts.clearText);\n      clearButton.bind('click.spectrum', function (e) {\n        e.stopPropagation();\n        e.preventDefault();\n        isEmpty = true;\n        move();\n\n        if (flat) {\n          //for the flat style, this is a change event\n          updateOriginalInput(true);\n        }\n      });\n\n      chooseButton.text(opts.chooseText);\n      chooseButton.bind('click.spectrum', function (e) {\n        e.stopPropagation();\n        e.preventDefault();\n\n        if (IE && textInput.is(':focus')) {\n          textInput.trigger('change');\n        }\n\n        if (isValid()) {\n          updateOriginalInput(true);\n          hide();\n        }\n      });\n\n      toggleButton.text(opts.showPaletteOnly ? opts.togglePaletteMoreText : opts.togglePaletteLessText);\n      toggleButton.bind('click.spectrum', function (e) {\n        e.stopPropagation();\n        e.preventDefault();\n\n        opts.showPaletteOnly = !opts.showPaletteOnly;\n\n        // To make sure the Picker area is drawn on the right, next to the\n        // Palette area (and not below the palette), first move the Palette\n        // to the left to make space for the picker, plus 5px extra.\n        // The 'applyOptions' function puts the whole container back into place\n        // and takes care of the button-text and the sp-palette-only CSS class.\n        if (!opts.showPaletteOnly && !flat) {\n          container.css('left', '-=' + (pickerContainer.outerWidth(true) + 5));\n        }\n        applyOptions();\n      });\n\n      draggable(\n        alphaSlider,\n        function (dragX, dragY, e) {\n          currentAlpha = dragX / alphaWidth;\n          isEmpty = false;\n          if (e.shiftKey) {\n            currentAlpha = Math.round(currentAlpha * 10) / 10;\n          }\n\n          move();\n        },\n        dragStart,\n        dragStop\n      );\n\n      draggable(\n        slider,\n        function (dragX, dragY) {\n          currentHue = parseFloat(dragY / slideHeight);\n          isEmpty = false;\n          if (!opts.showAlpha) {\n            currentAlpha = 1;\n          }\n          move();\n        },\n        dragStart,\n        dragStop\n      );\n\n      draggable(\n        dragger,\n        function (dragX, dragY, e) {\n          // shift+drag should snap the movement to either the x or y axis.\n          if (!e.shiftKey) {\n            shiftMovementDirection = null;\n          } else if (!shiftMovementDirection) {\n            var oldDragX = currentSaturation * dragWidth;\n            var oldDragY = dragHeight - currentValue * dragHeight;\n            var furtherFromX = Math.abs(dragX - oldDragX) > Math.abs(dragY - oldDragY);\n\n            shiftMovementDirection = furtherFromX ? 'x' : 'y';\n          }\n\n          var setSaturation = !shiftMovementDirection || shiftMovementDirection === 'x';\n          var setValue = !shiftMovementDirection || shiftMovementDirection === 'y';\n\n          if (setSaturation) {\n            currentSaturation = parseFloat(dragX / dragWidth);\n          }\n          if (setValue) {\n            currentValue = parseFloat((dragHeight - dragY) / dragHeight);\n          }\n\n          isEmpty = false;\n          if (!opts.showAlpha) {\n            currentAlpha = 1;\n          }\n\n          move();\n        },\n        dragStart,\n        dragStop\n      );\n\n      if (!!initialColor) {\n        set(initialColor);\n\n        // In case color was black - update the preview UI and set the format\n        // since the set function will not run (default color is black).\n        updateUI();\n        currentPreferredFormat = opts.preferredFormat || tinycolor(initialColor).getFormat();\n\n        addColorToSelectionPalette(initialColor);\n      } else {\n        updateUI();\n      }\n\n      if (flat) {\n        show();\n      }\n\n      function paletteElementClick(e) {\n        if (e.data && e.data.ignore) {\n          set($(e.target).closest('.sp-thumb-el').data('color'));\n          move();\n        } else {\n          set($(e.target).closest('.sp-thumb-el').data('color'));\n          move();\n          if (opts.hideAfterPaletteSelect) {\n            updateOriginalInput(true);\n            hide();\n          }\n        }\n\n        return false;\n      }\n\n      var paletteEvent = IE ? 'mousedown.spectrum' : 'click.spectrum touchstart.spectrum';\n      paletteContainer.delegate('.sp-thumb-el', paletteEvent, paletteElementClick);\n      initialColorContainer.delegate('.sp-thumb-el:nth-child(1)', paletteEvent, { ignore: true }, paletteElementClick);\n    }\n\n    function updateSelectionPaletteFromStorage() {\n      if (localStorageKey && window.localStorage) {\n        // Migrate old palettes over to new format.  May want to remove this eventually.\n        try {\n          var oldPalette = window.localStorage[localStorageKey].split(',#');\n          if (oldPalette.length > 1) {\n            delete window.localStorage[localStorageKey];\n            $.each(oldPalette, function (i, c) {\n              addColorToSelectionPalette(c);\n            });\n          }\n        } catch (e) {}\n\n        try {\n          selectionPalette = window.localStorage[localStorageKey].split(';');\n        } catch (e) {}\n      }\n    }\n\n    function addColorToSelectionPalette(color) {\n      if (showSelectionPalette) {\n        var rgb = tinycolor(color).toRgbString();\n        if (!paletteLookup[rgb] && $.inArray(rgb, selectionPalette) === -1) {\n          selectionPalette.push(rgb);\n          while (selectionPalette.length > maxSelectionSize) {\n            selectionPalette.shift();\n          }\n        }\n\n        if (localStorageKey && window.localStorage) {\n          try {\n            window.localStorage[localStorageKey] = selectionPalette.join(';');\n          } catch (e) {}\n        }\n      }\n    }\n\n    function getUniqueSelectionPalette() {\n      var unique = [];\n      if (opts.showPalette) {\n        for (var i = 0; i < selectionPalette.length; i++) {\n          var rgb = tinycolor(selectionPalette[i]).toRgbString();\n\n          if (!paletteLookup[rgb]) {\n            unique.push(selectionPalette[i]);\n          }\n        }\n      }\n\n      return unique.reverse().slice(0, opts.maxSelectionSize);\n    }\n\n    function drawPalette() {\n      var currentColor = get();\n\n      var html = $.map(paletteArray, function (palette, i) {\n        return paletteTemplate(palette, currentColor, 'sp-palette-row sp-palette-row-' + i, opts);\n      });\n\n      updateSelectionPaletteFromStorage();\n\n      if (selectionPalette) {\n        html.push(\n          paletteTemplate(getUniqueSelectionPalette(), currentColor, 'sp-palette-row sp-palette-row-selection', opts)\n        );\n      }\n\n      paletteContainer.html(html.join(''));\n    }\n\n    function drawInitial() {\n      if (opts.showInitial) {\n        var initial = colorOnShow;\n        var current = get();\n        initialColorContainer.html(paletteTemplate([initial, current], current, 'sp-palette-row-initial', opts));\n      }\n    }\n\n    function dragStart() {\n      if (dragHeight <= 0 || dragWidth <= 0 || slideHeight <= 0) {\n        reflow();\n      }\n      isDragging = true;\n      container.addClass(draggingClass);\n      shiftMovementDirection = null;\n      boundElement.trigger('dragstart.spectrum', [get()]);\n    }\n\n    function dragStop() {\n      isDragging = false;\n      container.removeClass(draggingClass);\n      boundElement.trigger('dragstop.spectrum', [get()]);\n    }\n\n    function setFromTextInput() {\n      var value = textInput.val();\n\n      if ((value === null || value === '') && allowEmpty) {\n        set(null);\n        updateOriginalInput(true);\n      } else {\n        var tiny = tinycolor(value);\n        if (tiny.isValid()) {\n          set(tiny);\n          updateOriginalInput(true);\n        } else {\n          textInput.addClass('sp-validation-error');\n        }\n      }\n    }\n\n    function toggle() {\n      if (visible) {\n        hide();\n      } else {\n        show();\n      }\n    }\n\n    function show() {\n      var event = $.Event('beforeShow.spectrum');\n\n      if (visible) {\n        reflow();\n        return;\n      }\n\n      boundElement.trigger('beforeShow.spectrum', [get()]);\n\n      if (callbacks.beforeShow(get()) === false || event.isDefaultPrevented()) {\n        return;\n      }\n\n      hideAll();\n      visible = true;\n\n      var $doc = $(doc);\n      $doc.bind('keydown.spectrum', onkeydown);\n      $doc.bind('click.spectrum', clickout);\n      $(window).bind('resize.spectrum', resize);\n      replacer.addClass('sp-active');\n      container.removeClass('sp-hidden');\n\n      reflow();\n      updateUI();\n\n      colorOnShow = get();\n\n      drawInitial();\n      callbacks.show(colorOnShow);\n      boundElement.trigger('show.spectrum', [colorOnShow]);\n    }\n\n    function onkeydown(e) {\n      // Close on ESC\n      if (e.keyCode === 27) {\n        hide();\n      }\n    }\n\n    function clickout(e) {\n      // Return on right click.\n      if (e.button == 2) {\n        return;\n      }\n\n      // If a drag event was happening during the mouseup, don't hide\n      // on click.\n      if (isDragging) {\n        return;\n      }\n\n      if (clickoutFiresChange) {\n        updateOriginalInput(true);\n      } else {\n        revert();\n      }\n      hide();\n    }\n\n    function hide() {\n      // Return if hiding is unnecessary\n      if (!visible || flat) {\n        return;\n      }\n      visible = false;\n\n      $(doc).unbind('keydown.spectrum', onkeydown);\n      $(doc).unbind('click.spectrum', clickout);\n      $(window).unbind('resize.spectrum', resize);\n\n      replacer.removeClass('sp-active');\n      container.addClass('sp-hidden');\n\n      callbacks.hide(get());\n      boundElement.trigger('hide.spectrum', [get()]);\n    }\n\n    function revert() {\n      set(colorOnShow, true);\n    }\n\n    function set(color, ignoreFormatChange) {\n      if (tinycolor.equals(color, get())) {\n        // Update UI just in case a validation error needs\n        // to be cleared.\n        updateUI();\n        return;\n      }\n\n      var newColor, newHsv;\n      if (!color && allowEmpty) {\n        isEmpty = true;\n      } else {\n        isEmpty = false;\n        isDefault = !color; // if no color is available an empty string will be passed.  tinycolor will then set it to #000\n        newColor = tinycolor(color);\n        newHsv = newColor.toHsv();\n\n        currentHue = (newHsv.h % 360) / 360;\n        currentSaturation = newHsv.s;\n        currentValue = newHsv.v;\n        currentAlpha = newHsv.a;\n      }\n      updateUI();\n\n      if (newColor && newColor.isValid() && !ignoreFormatChange) {\n        currentPreferredFormat = opts.preferredFormat || newColor.getFormat();\n      }\n    }\n\n    function get(opts) {\n      opts = opts || {};\n\n      if (allowEmpty && isEmpty) {\n        return null;\n      }\n\n      return tinycolor.fromRatio(\n        {\n          h: currentHue,\n          s: currentSaturation,\n          v: currentValue,\n          a: Math.round(currentAlpha * 100) / 100,\n        },\n        { format: opts.format || currentPreferredFormat }\n      );\n    }\n\n    function isValid() {\n      return !textInput.hasClass('sp-validation-error');\n    }\n\n    function move() {\n      updateUI();\n\n      callbacks.move(get());\n      boundElement.trigger('move.spectrum', [get()]);\n    }\n\n    function updateUI() {\n      textInput.removeClass('sp-validation-error');\n\n      updateHelperLocations();\n\n      // Update dragger background color (gradients take care of saturation and value).\n      var flatColor = tinycolor.fromRatio({ h: currentHue, s: 1, v: 1 });\n      dragger.css('background-color', flatColor.toHexString());\n\n      // Get a format that alpha will be included in (hex and names ignore alpha)\n      var format = currentPreferredFormat;\n      if (currentAlpha < 1 && !(currentAlpha === 0 && format === 'name')) {\n        if (format === 'hex' || format === 'hex3' || format === 'hex6' || format === 'name') {\n          format = 'rgb';\n        }\n      }\n\n      var realColor = get({ format: format }),\n        displayColor = '';\n\n      //reset background info for preview element\n      previewElement.removeClass('sp-clear-display');\n      previewElement.css('background-color', 'transparent');\n\n      if (!realColor && allowEmpty) {\n        // Update the replaced elements background with icon indicating no color selection\n        previewElement.addClass('sp-clear-display');\n      } else {\n        var realHex = realColor.toHexString(),\n          realRgb = realColor.toRgbString();\n\n        // Update the replaced elements background color (with actual selected color)\n        if (rgbaSupport || realColor.alpha === 1) {\n          previewElement.css('background-color', realRgb);\n        } else {\n          previewElement.css('background-color', 'transparent');\n          previewElement.css('filter', realColor.toFilter());\n        }\n\n        if (opts.showAlpha) {\n          var rgb = realColor.toRgb();\n          rgb.a = 0;\n          var realAlpha = tinycolor(rgb).toRgbString();\n          var gradient = 'linear-gradient(left, ' + realAlpha + ', ' + realHex + ')';\n\n          if (IE) {\n            alphaSliderInner.css('filter', tinycolor(realAlpha).toFilter({ gradientType: 1 }, realHex));\n          } else {\n            alphaSliderInner.css('background', '-webkit-' + gradient);\n            alphaSliderInner.css('background', '-moz-' + gradient);\n            alphaSliderInner.css('background', '-ms-' + gradient);\n            // Use current syntax gradient on unprefixed property.\n            alphaSliderInner.css('background', 'linear-gradient(to right, ' + realAlpha + ', ' + realHex + ')');\n          }\n        }\n\n        displayColor = realColor.toString(format);\n      }\n\n      // Update the text entry input as it changes happen\n      if (opts.showInput) {\n        textInput.val(displayColor);\n      }\n\n      if (opts.showPalette) {\n        drawPalette();\n      }\n\n      drawInitial();\n    }\n\n    function updateHelperLocations() {\n      var s = currentSaturation;\n      var v = currentValue;\n\n      if (allowEmpty && isEmpty) {\n        //if selected color is empty, hide the helpers\n        alphaSlideHelper.hide();\n        slideHelper.hide();\n        dragHelper.hide();\n      } else {\n        //make sure helpers are visible\n        alphaSlideHelper.show();\n        slideHelper.show();\n        dragHelper.show();\n\n        // Where to show the little circle in that displays your current selected color\n        var dragX = s * dragWidth;\n        var dragY = dragHeight - v * dragHeight;\n        dragX = Math.max(-dragHelperHeight, Math.min(dragWidth - dragHelperHeight, dragX - dragHelperHeight));\n        dragY = Math.max(-dragHelperHeight, Math.min(dragHeight - dragHelperHeight, dragY - dragHelperHeight));\n        dragHelper.css({\n          top: dragY + 'px',\n          left: dragX + 'px',\n        });\n\n        var alphaX = currentAlpha * alphaWidth;\n        alphaSlideHelper.css({\n          left: alphaX - alphaSlideHelperWidth / 2 + 'px',\n        });\n\n        // Where to show the bar that displays your current selected hue\n        var slideY = currentHue * slideHeight;\n        slideHelper.css({\n          top: slideY - slideHelperHeight + 'px',\n        });\n      }\n    }\n\n    function updateOriginalInput(fireCallback) {\n      var color = get(),\n        displayColor = '',\n        hasChanged = isDefault ? true : !tinycolor.equals(color, colorOnShow);\n\n      if (color) {\n        displayColor = color.toString(currentPreferredFormat);\n        // Update the selection palette with the current color\n        !visible && addColorToSelectionPalette(color);\n      }\n\n      if (isInput) {\n        boundElement.val(displayColor);\n      }\n\n      if (fireCallback && hasChanged) {\n        callbacks.change(color);\n        boundElement.trigger('change', [color]);\n      }\n    }\n\n    function reflow() {\n      if (!visible) {\n        return; // Calculations would be useless and wouldn't be reliable anyways\n      }\n      dragWidth = dragger.width();\n      dragHeight = dragger.height();\n      dragHelperHeight = dragHelper.height();\n      slideWidth = slider.width();\n      slideHeight = slider.height();\n      slideHelperHeight = slideHelper.height();\n      alphaWidth = alphaSlider.width();\n      alphaSlideHelperWidth = alphaSlideHelper.width();\n\n      if (!flat) {\n        container.css('position', 'absolute');\n        if (opts.offset) {\n          container.offset(opts.offset);\n        } else {\n          container.offset(getOffset(container, offsetElement));\n        }\n      }\n\n      updateHelperLocations();\n\n      if (opts.showPalette) {\n        drawPalette();\n      }\n\n      boundElement.trigger('reflow.spectrum');\n    }\n\n    function destroy() {\n      boundElement.show();\n      offsetElement.unbind('click.spectrum touchstart.spectrum');\n      container.remove();\n      replacer.remove();\n      spectrums[spect.id] = null;\n    }\n\n    function option(optionName, optionValue) {\n      if (optionName === undefined) {\n        return $.extend({}, opts);\n      }\n      if (optionValue === undefined) {\n        return opts[optionName];\n      }\n\n      opts[optionName] = optionValue;\n\n      if (optionName === 'preferredFormat') {\n        currentPreferredFormat = opts.preferredFormat;\n      }\n      applyOptions();\n    }\n\n    function enable() {\n      disabled = false;\n      boundElement.attr('disabled', false);\n      offsetElement.removeClass('sp-disabled');\n    }\n\n    function disable() {\n      hide();\n      disabled = true;\n      boundElement.attr('disabled', true);\n      offsetElement.addClass('sp-disabled');\n    }\n\n    function setOffset(coord) {\n      opts.offset = coord;\n      reflow();\n    }\n\n    initialize();\n\n    var spect = {\n      show: show,\n      hide: hide,\n      toggle: toggle,\n      reflow: reflow,\n      option: option,\n      enable: enable,\n      disable: disable,\n      offset: setOffset,\n      set: function (c) {\n        set(c);\n        updateOriginalInput();\n      },\n      get: get,\n      destroy: destroy,\n      container: container,\n    };\n\n    spect.id = spectrums.push(spect) - 1;\n\n    return spect;\n  }\n\n  /**\n   * checkOffset - get the offset below/above and left/right element depending on screen position\n   * Thanks https://github.com/jquery/jquery-ui/blob/master/ui/jquery.ui.datepicker.js\n   */\n  function getOffset(picker, input) {\n    var extraY = 0;\n    var dpWidth = picker.outerWidth();\n    var dpHeight = picker.outerHeight();\n    var inputHeight = input.outerHeight();\n    var doc = picker[0].ownerDocument;\n    var docElem = doc.documentElement;\n    var cW = docElem.clientWidth;\n    var cH = docElem.clientHeight;\n    var scL = $(doc).scrollLeft();\n    var scT = $(doc).scrollTop();\n    var viewWidth = cW + scL;\n    var viewHeight = cH + scT;\n    var offset = input.offset();\n\n    offset.top += inputHeight;\n\n    offset.left -= Math.min(\n      offset.left,\n      offset.left + dpWidth > viewWidth && viewWidth > dpWidth ? Math.abs(offset.left + dpWidth - viewWidth) : 0\n    );\n\n    offset.top -= Math.min(\n      offset.top,\n      offset.top + dpHeight > viewHeight && viewHeight > dpHeight ? Math.abs(dpHeight + inputHeight - extraY) : extraY\n    );\n\n    return offset;\n  }\n\n  /**\n   * noop - do nothing\n   */\n  function noop() {}\n\n  /**\n   * stopPropagation - makes the code only doing this a little easier to read in line\n   */\n  function stopPropagation(e) {\n    e.stopPropagation();\n  }\n\n  /**\n   * Create a function bound to a given object\n   * Thanks to underscore.js\n   */\n  function bind(func, obj) {\n    var slice = Array.prototype.slice;\n    var args = slice.call(arguments, 2);\n    return function () {\n      return func.apply(obj, args.concat(slice.call(arguments)));\n    };\n  }\n\n  /**\n   * Lightweight drag helper.  Handles containment within the element, so that\n   * when dragging, the x is within [0,element.width] and y is within [0,element.height]\n   */\n  function draggable(element, onmove, onstart, onstop) {\n    onmove = onmove || function () {};\n    onstart = onstart || function () {};\n    onstop = onstop || function () {};\n    var doc = document;\n    var dragging = false;\n    var offset = {};\n    var maxHeight = 0;\n    var maxWidth = 0;\n    var hasTouch = 'ontouchstart' in window;\n\n    var duringDragEvents = {};\n    duringDragEvents['selectstart'] = prevent;\n    duringDragEvents['dragstart'] = prevent;\n    duringDragEvents['touchmove mousemove'] = move;\n    duringDragEvents['touchend mouseup'] = stop;\n\n    function prevent(e) {\n      if (e.stopPropagation) {\n        e.stopPropagation();\n      }\n      if (e.preventDefault) {\n        e.preventDefault();\n      }\n      e.returnValue = false;\n    }\n\n    function move(e) {\n      if (dragging) {\n        // Mouseup happened outside of window\n        if (IE && doc.documentMode < 9 && !e.button) {\n          return stop();\n        }\n\n        var t0 = e && e.touches && e.touches[0];\n        var pageX = (t0 && t0.pageX) || e.pageX;\n        var pageY = (t0 && t0.pageY) || e.pageY;\n\n        var dragX = Math.max(0, Math.min(pageX - offset.left, maxWidth));\n        var dragY = Math.max(0, Math.min(pageY - offset.top, maxHeight));\n\n        if (hasTouch) {\n          // Stop scrolling in iOS\n          prevent(e);\n        }\n\n        onmove.apply(element, [dragX, dragY, e]);\n      }\n    }\n\n    function start(e) {\n      var rightclick = e.which ? e.which == 3 : e.button == 2;\n\n      if (!rightclick && !dragging) {\n        if (onstart.apply(element, arguments) !== false) {\n          dragging = true;\n          maxHeight = $(element).height();\n          maxWidth = $(element).width();\n          offset = $(element).offset();\n\n          $(doc).bind(duringDragEvents);\n          $(doc.body).addClass('sp-dragging');\n\n          move(e);\n\n          prevent(e);\n        }\n      }\n    }\n\n    function stop() {\n      if (dragging) {\n        $(doc).unbind(duringDragEvents);\n        $(doc.body).removeClass('sp-dragging');\n\n        // Wait a tick before notifying observers to allow the click event\n        // to fire in Chrome.\n        setTimeout(function () {\n          onstop.apply(element, arguments);\n        }, 0);\n      }\n      dragging = false;\n    }\n\n    $(element).bind('touchstart mousedown', start);\n  }\n\n  function throttle(func, wait, debounce) {\n    var timeout;\n    return function () {\n      var context = this,\n        args = arguments;\n      var throttler = function () {\n        timeout = null;\n        func.apply(context, args);\n      };\n      if (debounce) clearTimeout(timeout);\n      if (debounce || !timeout) timeout = setTimeout(throttler, wait);\n    };\n  }\n\n  function inputTypeColorSupport() {\n    return $.fn.spectrum.inputTypeColorSupport();\n  }\n\n  /**\n   * Define a jQuery plugin\n   */\n  var dataID = 'spectrum.id';\n  $.fn.spectrum = function (opts, extra) {\n    if (typeof opts == 'string') {\n      var returnValue = this;\n      var args = Array.prototype.slice.call(arguments, 1);\n\n      this.each(function () {\n        var spect = spectrums[$(this).data(dataID)];\n        if (spect) {\n          var method = spect[opts];\n          if (!method) {\n            throw new Error(\"Spectrum: no such method: '\" + opts + \"'\");\n          }\n\n          if (opts == 'get') {\n            returnValue = spect.get();\n          } else if (opts == 'container') {\n            returnValue = spect.container;\n          } else if (opts == 'option') {\n            returnValue = spect.option.apply(spect, args);\n          } else if (opts == 'destroy') {\n            spect.destroy();\n            $(this).removeData(dataID);\n          } else {\n            method.apply(spect, args);\n          }\n        }\n      });\n\n      return returnValue;\n    }\n\n    // Initializing a new instance of spectrum\n    return this.spectrum('destroy').each(function () {\n      var options = $.extend({}, opts, $(this).data());\n      var spect = spectrum(this, options);\n      $(this).data(dataID, spect.id);\n    });\n  };\n\n  $.fn.spectrum.load = true;\n  $.fn.spectrum.loadOpts = {};\n  $.fn.spectrum.draggable = draggable;\n  $.fn.spectrum.defaults = defaultOpts;\n  $.fn.spectrum.inputTypeColorSupport = function inputTypeColorSupport() {\n    if (typeof inputTypeColorSupport._cachedResult === 'undefined') {\n      var colorInput = $(\"<input type='color'/>\")[0]; // if color element is supported, value will default to not null\n      inputTypeColorSupport._cachedResult = colorInput.type === 'color' && colorInput.value !== '';\n    }\n    return inputTypeColorSupport._cachedResult;\n  };\n\n  $.spectrum = {};\n  $.spectrum.localization = {};\n  $.spectrum.palettes = {};\n\n  $.fn.spectrum.processNativeColorInputs = function () {\n    var colorInputs = $('input[type=color]');\n    if (colorInputs.length && !inputTypeColorSupport()) {\n      colorInputs.spectrum({\n        preferredFormat: 'hex6',\n      });\n    }\n  };\n\n  // TinyColor v1.1.2\n  // https://github.com/bgrins/TinyColor\n  // Brian Grinstead, MIT License\n\n  //(function() {\n\n  var trimLeft = /^[\\s,#]+/,\n    trimRight = /\\s+$/,\n    tinyCounter = 0,\n    math = Math,\n    mathRound = math.round,\n    mathMin = math.min,\n    mathMax = math.max,\n    mathRandom = math.random;\n\n  var tinycolor = function (color, opts) {\n    color = color ? color : '';\n    opts = opts || {};\n\n    // If input is already a tinycolor, return itself\n    if (color instanceof tinycolor) {\n      return color;\n    }\n    // If we are called as a function, call using new instead\n    if (!(this instanceof tinycolor)) {\n      return new tinycolor(color, opts);\n    }\n\n    var rgb = inputToRGB(color);\n    (this._originalInput = color),\n      (this._r = rgb.r),\n      (this._g = rgb.g),\n      (this._b = rgb.b),\n      (this._a = rgb.a),\n      (this._roundA = mathRound(100 * this._a) / 100),\n      (this._format = opts.format || rgb.format);\n    this._gradientType = opts.gradientType;\n\n    // Don't let the range of [0,255] come back in [0,1].\n    // Potentially lose a little bit of precision here, but will fix issues where\n    // .5 gets interpreted as half of the total, instead of half of 1\n    // If it was supposed to be 128, this was already taken care of by `inputToRgb`\n    if (this._r < 1) {\n      this._r = mathRound(this._r);\n    }\n    if (this._g < 1) {\n      this._g = mathRound(this._g);\n    }\n    if (this._b < 1) {\n      this._b = mathRound(this._b);\n    }\n\n    this._ok = rgb.ok;\n    this._tc_id = tinyCounter++;\n  };\n\n  tinycolor.prototype = {\n    isDark: function () {\n      return this.getBrightness() < 128;\n    },\n    isLight: function () {\n      return !this.isDark();\n    },\n    isValid: function () {\n      return this._ok;\n    },\n    getOriginalInput: function () {\n      return this._originalInput;\n    },\n    getFormat: function () {\n      return this._format;\n    },\n    getAlpha: function () {\n      return this._a;\n    },\n    getBrightness: function () {\n      var rgb = this.toRgb();\n      return (rgb.r * 299 + rgb.g * 587 + rgb.b * 114) / 1000;\n    },\n    setAlpha: function (value) {\n      this._a = boundAlpha(value);\n      this._roundA = mathRound(100 * this._a) / 100;\n      return this;\n    },\n    toHsv: function () {\n      var hsv = rgbToHsv(this._r, this._g, this._b);\n      return { h: hsv.h * 360, s: hsv.s, v: hsv.v, a: this._a };\n    },\n    toHsvString: function () {\n      var hsv = rgbToHsv(this._r, this._g, this._b);\n      var h = mathRound(hsv.h * 360),\n        s = mathRound(hsv.s * 100),\n        v = mathRound(hsv.v * 100);\n      return this._a == 1\n        ? 'hsv(' + h + ', ' + s + '%, ' + v + '%)'\n        : 'hsva(' + h + ', ' + s + '%, ' + v + '%, ' + this._roundA + ')';\n    },\n    toHsl: function () {\n      var hsl = rgbToHsl(this._r, this._g, this._b);\n      return { h: hsl.h * 360, s: hsl.s, l: hsl.l, a: this._a };\n    },\n    toHslString: function () {\n      var hsl = rgbToHsl(this._r, this._g, this._b);\n      var h = mathRound(hsl.h * 360),\n        s = mathRound(hsl.s * 100),\n        l = mathRound(hsl.l * 100);\n      return this._a == 1\n        ? 'hsl(' + h + ', ' + s + '%, ' + l + '%)'\n        : 'hsla(' + h + ', ' + s + '%, ' + l + '%, ' + this._roundA + ')';\n    },\n    toHex: function (allow3Char) {\n      return rgbToHex(this._r, this._g, this._b, allow3Char);\n    },\n    toHexString: function (allow3Char) {\n      return '#' + this.toHex(allow3Char);\n    },\n    toHex8: function () {\n      return rgbaToHex(this._r, this._g, this._b, this._a);\n    },\n    toHex8String: function () {\n      return '#' + this.toHex8();\n    },\n    toRgb: function () {\n      return {\n        r: mathRound(this._r),\n        g: mathRound(this._g),\n        b: mathRound(this._b),\n        a: this._a,\n      };\n    },\n    toRgbString: function () {\n      return this._a == 1\n        ? 'rgb(' + mathRound(this._r) + ', ' + mathRound(this._g) + ', ' + mathRound(this._b) + ')'\n        : 'rgba(' +\n            mathRound(this._r) +\n            ', ' +\n            mathRound(this._g) +\n            ', ' +\n            mathRound(this._b) +\n            ', ' +\n            this._roundA +\n            ')';\n    },\n    toPercentageRgb: function () {\n      return {\n        r: mathRound(bound01(this._r, 255) * 100) + '%',\n        g: mathRound(bound01(this._g, 255) * 100) + '%',\n        b: mathRound(bound01(this._b, 255) * 100) + '%',\n        a: this._a,\n      };\n    },\n    toPercentageRgbString: function () {\n      return this._a == 1\n        ? 'rgb(' +\n            mathRound(bound01(this._r, 255) * 100) +\n            '%, ' +\n            mathRound(bound01(this._g, 255) * 100) +\n            '%, ' +\n            mathRound(bound01(this._b, 255) * 100) +\n            '%)'\n        : 'rgba(' +\n            mathRound(bound01(this._r, 255) * 100) +\n            '%, ' +\n            mathRound(bound01(this._g, 255) * 100) +\n            '%, ' +\n            mathRound(bound01(this._b, 255) * 100) +\n            '%, ' +\n            this._roundA +\n            ')';\n    },\n    toName: function () {\n      if (this._a === 0) {\n        return 'transparent';\n      }\n\n      if (this._a < 1) {\n        return false;\n      }\n\n      return hexNames[rgbToHex(this._r, this._g, this._b, true)] || false;\n    },\n    toFilter: function (secondColor) {\n      var hex8String = '#' + rgbaToHex(this._r, this._g, this._b, this._a);\n      var secondHex8String = hex8String;\n      var gradientType = this._gradientType ? 'GradientType = 1, ' : '';\n\n      if (secondColor) {\n        var s = tinycolor(secondColor);\n        secondHex8String = s.toHex8String();\n      }\n\n      return (\n        'progid:DXImageTransform.Microsoft.gradient(' +\n        gradientType +\n        'startColorstr=' +\n        hex8String +\n        ',endColorstr=' +\n        secondHex8String +\n        ')'\n      );\n    },\n    toString: function (format) {\n      var formatSet = !!format;\n      format = format || this._format;\n\n      var formattedString = false;\n      var hasAlpha = this._a < 1 && this._a >= 0;\n      var needsAlphaFormat =\n        !formatSet && hasAlpha && (format === 'hex' || format === 'hex6' || format === 'hex3' || format === 'name');\n\n      if (needsAlphaFormat) {\n        // Special case for \"transparent\", all other non-alpha formats\n        // will return rgba when there is transparency.\n        if (format === 'name' && this._a === 0) {\n          return this.toName();\n        }\n        return this.toRgbString();\n      }\n      if (format === 'rgb') {\n        formattedString = this.toRgbString();\n      }\n      if (format === 'prgb') {\n        formattedString = this.toPercentageRgbString();\n      }\n      if (format === 'hex' || format === 'hex6') {\n        formattedString = this.toHexString();\n      }\n      if (format === 'hex3') {\n        formattedString = this.toHexString(true);\n      }\n      if (format === 'hex8') {\n        formattedString = this.toHex8String();\n      }\n      if (format === 'name') {\n        formattedString = this.toName();\n      }\n      if (format === 'hsl') {\n        formattedString = this.toHslString();\n      }\n      if (format === 'hsv') {\n        formattedString = this.toHsvString();\n      }\n\n      return formattedString || this.toHexString();\n    },\n\n    _applyModification: function (fn, args) {\n      var color = fn.apply(null, [this].concat([].slice.call(args)));\n      this._r = color._r;\n      this._g = color._g;\n      this._b = color._b;\n      this.setAlpha(color._a);\n      return this;\n    },\n    lighten: function () {\n      return this._applyModification(lighten, arguments);\n    },\n    brighten: function () {\n      return this._applyModification(brighten, arguments);\n    },\n    darken: function () {\n      return this._applyModification(darken, arguments);\n    },\n    desaturate: function () {\n      return this._applyModification(desaturate, arguments);\n    },\n    saturate: function () {\n      return this._applyModification(saturate, arguments);\n    },\n    greyscale: function () {\n      return this._applyModification(greyscale, arguments);\n    },\n    spin: function () {\n      return this._applyModification(spin, arguments);\n    },\n\n    _applyCombination: function (fn, args) {\n      return fn.apply(null, [this].concat([].slice.call(args)));\n    },\n    analogous: function () {\n      return this._applyCombination(analogous, arguments);\n    },\n    complement: function () {\n      return this._applyCombination(complement, arguments);\n    },\n    monochromatic: function () {\n      return this._applyCombination(monochromatic, arguments);\n    },\n    splitcomplement: function () {\n      return this._applyCombination(splitcomplement, arguments);\n    },\n    triad: function () {\n      return this._applyCombination(triad, arguments);\n    },\n    tetrad: function () {\n      return this._applyCombination(tetrad, arguments);\n    },\n  };\n\n  // If input is an object, force 1 into \"1.0\" to handle ratios properly\n  // String input requires \"1.0\" as input, so 1 will be treated as 1\n  tinycolor.fromRatio = function (color, opts) {\n    if (typeof color == 'object') {\n      var newColor = {};\n      for (var i in color) {\n        if (color.hasOwnProperty(i)) {\n          if (i === 'a') {\n            newColor[i] = color[i];\n          } else {\n            newColor[i] = convertToPercentage(color[i]);\n          }\n        }\n      }\n      color = newColor;\n    }\n\n    return tinycolor(color, opts);\n  };\n\n  // Given a string or object, convert that input to RGB\n  // Possible string inputs:\n  //\n  //     \"red\"\n  //     \"#f00\" or \"f00\"\n  //     \"#ff0000\" or \"ff0000\"\n  //     \"#ff000000\" or \"ff000000\"\n  //     \"rgb 255 0 0\" or \"rgb (255, 0, 0)\"\n  //     \"rgb 1.0 0 0\" or \"rgb (1, 0, 0)\"\n  //     \"rgba (255, 0, 0, 1)\" or \"rgba 255, 0, 0, 1\"\n  //     \"rgba (1.0, 0, 0, 1)\" or \"rgba 1.0, 0, 0, 1\"\n  //     \"hsl(0, 100%, 50%)\" or \"hsl 0 100% 50%\"\n  //     \"hsla(0, 100%, 50%, 1)\" or \"hsla 0 100% 50%, 1\"\n  //     \"hsv(0, 100%, 100%)\" or \"hsv 0 100% 100%\"\n  //\n  function inputToRGB(color) {\n    var rgb = { r: 0, g: 0, b: 0 };\n    var a = 1;\n    var ok = false;\n    var format = false;\n\n    if (typeof color == 'string') {\n      color = stringInputToObject(color);\n    }\n\n    if (typeof color == 'object') {\n      if (color.hasOwnProperty('r') && color.hasOwnProperty('g') && color.hasOwnProperty('b')) {\n        rgb = rgbToRgb(color.r, color.g, color.b);\n        ok = true;\n        format = String(color.r).substr(-1) === '%' ? 'prgb' : 'rgb';\n      } else if (color.hasOwnProperty('h') && color.hasOwnProperty('s') && color.hasOwnProperty('v')) {\n        color.s = convertToPercentage(color.s);\n        color.v = convertToPercentage(color.v);\n        rgb = hsvToRgb(color.h, color.s, color.v);\n        ok = true;\n        format = 'hsv';\n      } else if (color.hasOwnProperty('h') && color.hasOwnProperty('s') && color.hasOwnProperty('l')) {\n        color.s = convertToPercentage(color.s);\n        color.l = convertToPercentage(color.l);\n        rgb = hslToRgb(color.h, color.s, color.l);\n        ok = true;\n        format = 'hsl';\n      }\n\n      if (color.hasOwnProperty('a')) {\n        a = color.a;\n      }\n    }\n\n    a = boundAlpha(a);\n\n    return {\n      ok: ok,\n      format: color.format || format,\n      r: mathMin(255, mathMax(rgb.r, 0)),\n      g: mathMin(255, mathMax(rgb.g, 0)),\n      b: mathMin(255, mathMax(rgb.b, 0)),\n      a: a,\n    };\n  }\n\n  // Conversion Functions\n  // --------------------\n\n  // `rgbToHsl`, `rgbToHsv`, `hslToRgb`, `hsvToRgb` modified from:\n  // <http://mjijackson.com/2008/02/rgb-to-hsl-and-rgb-to-hsv-color-model-conversion-algorithms-in-javascript>\n\n  // `rgbToRgb`\n  // Handle bounds / percentage checking to conform to CSS color spec\n  // <http://www.w3.org/TR/css3-color/>\n  // *Assumes:* r, g, b in [0, 255] or [0, 1]\n  // *Returns:* { r, g, b } in [0, 255]\n  function rgbToRgb(r, g, b) {\n    return {\n      r: bound01(r, 255) * 255,\n      g: bound01(g, 255) * 255,\n      b: bound01(b, 255) * 255,\n    };\n  }\n\n  // `rgbToHsl`\n  // Converts an RGB color value to HSL.\n  // *Assumes:* r, g, and b are contained in [0, 255] or [0, 1]\n  // *Returns:* { h, s, l } in [0,1]\n  function rgbToHsl(r, g, b) {\n    r = bound01(r, 255);\n    g = bound01(g, 255);\n    b = bound01(b, 255);\n\n    var max = mathMax(r, g, b),\n      min = mathMin(r, g, b);\n    var h,\n      s,\n      l = (max + min) / 2;\n\n    if (max == min) {\n      h = s = 0; // achromatic\n    } else {\n      var d = max - min;\n      s = l > 0.5 ? d / (2 - max - min) : d / (max + min);\n      switch (max) {\n        case r:\n          h = (g - b) / d + (g < b ? 6 : 0);\n          break;\n        case g:\n          h = (b - r) / d + 2;\n          break;\n        case b:\n          h = (r - g) / d + 4;\n          break;\n      }\n\n      h /= 6;\n    }\n\n    return { h: h, s: s, l: l };\n  }\n\n  // `hslToRgb`\n  // Converts an HSL color value to RGB.\n  // *Assumes:* h is contained in [0, 1] or [0, 360] and s and l are contained [0, 1] or [0, 100]\n  // *Returns:* { r, g, b } in the set [0, 255]\n  function hslToRgb(h, s, l) {\n    var r, g, b;\n\n    h = bound01(h, 360);\n    s = bound01(s, 100);\n    l = bound01(l, 100);\n\n    function hue2rgb(p, q, t) {\n      if (t < 0) t += 1;\n      if (t > 1) t -= 1;\n      if (t < 1 / 6) return p + (q - p) * 6 * t;\n      if (t < 1 / 2) return q;\n      if (t < 2 / 3) return p + (q - p) * (2 / 3 - t) * 6;\n      return p;\n    }\n\n    if (s === 0) {\n      r = g = b = l; // achromatic\n    } else {\n      var q = l < 0.5 ? l * (1 + s) : l + s - l * s;\n      var p = 2 * l - q;\n      r = hue2rgb(p, q, h + 1 / 3);\n      g = hue2rgb(p, q, h);\n      b = hue2rgb(p, q, h - 1 / 3);\n    }\n\n    return { r: r * 255, g: g * 255, b: b * 255 };\n  }\n\n  // `rgbToHsv`\n  // Converts an RGB color value to HSV\n  // *Assumes:* r, g, and b are contained in the set [0, 255] or [0, 1]\n  // *Returns:* { h, s, v } in [0,1]\n  function rgbToHsv(r, g, b) {\n    r = bound01(r, 255);\n    g = bound01(g, 255);\n    b = bound01(b, 255);\n\n    var max = mathMax(r, g, b),\n      min = mathMin(r, g, b);\n    var h,\n      s,\n      v = max;\n\n    var d = max - min;\n    s = max === 0 ? 0 : d / max;\n\n    if (max == min) {\n      h = 0; // achromatic\n    } else {\n      switch (max) {\n        case r:\n          h = (g - b) / d + (g < b ? 6 : 0);\n          break;\n        case g:\n          h = (b - r) / d + 2;\n          break;\n        case b:\n          h = (r - g) / d + 4;\n          break;\n      }\n      h /= 6;\n    }\n    return { h: h, s: s, v: v };\n  }\n\n  // `hsvToRgb`\n  // Converts an HSV color value to RGB.\n  // *Assumes:* h is contained in [0, 1] or [0, 360] and s and v are contained in [0, 1] or [0, 100]\n  // *Returns:* { r, g, b } in the set [0, 255]\n  function hsvToRgb(h, s, v) {\n    h = bound01(h, 360) * 6;\n    s = bound01(s, 100);\n    v = bound01(v, 100);\n\n    var i = math.floor(h),\n      f = h - i,\n      p = v * (1 - s),\n      q = v * (1 - f * s),\n      t = v * (1 - (1 - f) * s),\n      mod = i % 6,\n      r = [v, q, p, p, t, v][mod],\n      g = [t, v, v, q, p, p][mod],\n      b = [p, p, t, v, v, q][mod];\n\n    return { r: r * 255, g: g * 255, b: b * 255 };\n  }\n\n  // `rgbToHex`\n  // Converts an RGB color to hex\n  // Assumes r, g, and b are contained in the set [0, 255]\n  // Returns a 3 or 6 character hex\n  function rgbToHex(r, g, b, allow3Char) {\n    var hex = [pad2(mathRound(r).toString(16)), pad2(mathRound(g).toString(16)), pad2(mathRound(b).toString(16))];\n\n    // Return a 3 character hex if possible\n    if (\n      allow3Char &&\n      hex[0].charAt(0) == hex[0].charAt(1) &&\n      hex[1].charAt(0) == hex[1].charAt(1) &&\n      hex[2].charAt(0) == hex[2].charAt(1)\n    ) {\n      return hex[0].charAt(0) + hex[1].charAt(0) + hex[2].charAt(0);\n    }\n\n    return hex.join('');\n  }\n  // `rgbaToHex`\n  // Converts an RGBA color plus alpha transparency to hex\n  // Assumes r, g, b and a are contained in the set [0, 255]\n  // Returns an 8 character hex\n  function rgbaToHex(r, g, b, a) {\n    var hex = [\n      pad2(convertDecimalToHex(a)),\n      pad2(mathRound(r).toString(16)),\n      pad2(mathRound(g).toString(16)),\n      pad2(mathRound(b).toString(16)),\n    ];\n\n    return hex.join('');\n  }\n\n  // `equals`\n  // Can be called with any tinycolor input\n  tinycolor.equals = function (color1, color2) {\n    if (!color1 || !color2) {\n      return false;\n    }\n    return tinycolor(color1).toRgbString() == tinycolor(color2).toRgbString();\n  };\n  tinycolor.random = function () {\n    return tinycolor.fromRatio({\n      r: mathRandom(),\n      g: mathRandom(),\n      b: mathRandom(),\n    });\n  };\n\n  // Modification Functions\n  // ----------------------\n  // Thanks to less.js for some of the basics here\n  // <https://github.com/cloudhead/less.js/blob/master/lib/less/functions.js>\n\n  function desaturate(color, amount) {\n    amount = amount === 0 ? 0 : amount || 10;\n    var hsl = tinycolor(color).toHsl();\n    hsl.s -= amount / 100;\n    hsl.s = clamp01(hsl.s);\n    return tinycolor(hsl);\n  }\n\n  function saturate(color, amount) {\n    amount = amount === 0 ? 0 : amount || 10;\n    var hsl = tinycolor(color).toHsl();\n    hsl.s += amount / 100;\n    hsl.s = clamp01(hsl.s);\n    return tinycolor(hsl);\n  }\n\n  function greyscale(color) {\n    return tinycolor(color).desaturate(100);\n  }\n\n  function lighten(color, amount) {\n    amount = amount === 0 ? 0 : amount || 10;\n    var hsl = tinycolor(color).toHsl();\n    hsl.l += amount / 100;\n    hsl.l = clamp01(hsl.l);\n    return tinycolor(hsl);\n  }\n\n  function brighten(color, amount) {\n    amount = amount === 0 ? 0 : amount || 10;\n    var rgb = tinycolor(color).toRgb();\n    rgb.r = mathMax(0, mathMin(255, rgb.r - mathRound(255 * -(amount / 100))));\n    rgb.g = mathMax(0, mathMin(255, rgb.g - mathRound(255 * -(amount / 100))));\n    rgb.b = mathMax(0, mathMin(255, rgb.b - mathRound(255 * -(amount / 100))));\n    return tinycolor(rgb);\n  }\n\n  function darken(color, amount) {\n    amount = amount === 0 ? 0 : amount || 10;\n    var hsl = tinycolor(color).toHsl();\n    hsl.l -= amount / 100;\n    hsl.l = clamp01(hsl.l);\n    return tinycolor(hsl);\n  }\n\n  // Spin takes a positive or negative amount within [-360, 360] indicating the change of hue.\n  // Values outside of this range will be wrapped into this range.\n  function spin(color, amount) {\n    var hsl = tinycolor(color).toHsl();\n    var hue = (mathRound(hsl.h) + amount) % 360;\n    hsl.h = hue < 0 ? 360 + hue : hue;\n    return tinycolor(hsl);\n  }\n\n  // Combination Functions\n  // ---------------------\n  // Thanks to jQuery xColor for some of the ideas behind these\n  // <https://github.com/infusion/jQuery-xcolor/blob/master/jquery.xcolor.js>\n\n  function complement(color) {\n    var hsl = tinycolor(color).toHsl();\n    hsl.h = (hsl.h + 180) % 360;\n    return tinycolor(hsl);\n  }\n\n  function triad(color) {\n    var hsl = tinycolor(color).toHsl();\n    var h = hsl.h;\n    return [\n      tinycolor(color),\n      tinycolor({ h: (h + 120) % 360, s: hsl.s, l: hsl.l }),\n      tinycolor({ h: (h + 240) % 360, s: hsl.s, l: hsl.l }),\n    ];\n  }\n\n  function tetrad(color) {\n    var hsl = tinycolor(color).toHsl();\n    var h = hsl.h;\n    return [\n      tinycolor(color),\n      tinycolor({ h: (h + 90) % 360, s: hsl.s, l: hsl.l }),\n      tinycolor({ h: (h + 180) % 360, s: hsl.s, l: hsl.l }),\n      tinycolor({ h: (h + 270) % 360, s: hsl.s, l: hsl.l }),\n    ];\n  }\n\n  function splitcomplement(color) {\n    var hsl = tinycolor(color).toHsl();\n    var h = hsl.h;\n    return [\n      tinycolor(color),\n      tinycolor({ h: (h + 72) % 360, s: hsl.s, l: hsl.l }),\n      tinycolor({ h: (h + 216) % 360, s: hsl.s, l: hsl.l }),\n    ];\n  }\n\n  function analogous(color, results, slices) {\n    results = results || 6;\n    slices = slices || 30;\n\n    var hsl = tinycolor(color).toHsl();\n    var part = 360 / slices;\n    var ret = [tinycolor(color)];\n\n    for (hsl.h = (hsl.h - ((part * results) >> 1) + 720) % 360; --results; ) {\n      hsl.h = (hsl.h + part) % 360;\n      ret.push(tinycolor(hsl));\n    }\n    return ret;\n  }\n\n  function monochromatic(color, results) {\n    results = results || 6;\n    var hsv = tinycolor(color).toHsv();\n    var h = hsv.h,\n      s = hsv.s,\n      v = hsv.v;\n    var ret = [];\n    var modification = 1 / results;\n\n    while (results--) {\n      ret.push(tinycolor({ h: h, s: s, v: v }));\n      v = (v + modification) % 1;\n    }\n\n    return ret;\n  }\n\n  // Utility Functions\n  // ---------------------\n\n  tinycolor.mix = function (color1, color2, amount) {\n    amount = amount === 0 ? 0 : amount || 50;\n\n    var rgb1 = tinycolor(color1).toRgb();\n    var rgb2 = tinycolor(color2).toRgb();\n\n    var p = amount / 100;\n    var w = p * 2 - 1;\n    var a = rgb2.a - rgb1.a;\n\n    var w1;\n\n    if (w * a == -1) {\n      w1 = w;\n    } else {\n      w1 = (w + a) / (1 + w * a);\n    }\n\n    w1 = (w1 + 1) / 2;\n\n    var w2 = 1 - w1;\n\n    var rgba = {\n      r: rgb2.r * w1 + rgb1.r * w2,\n      g: rgb2.g * w1 + rgb1.g * w2,\n      b: rgb2.b * w1 + rgb1.b * w2,\n      a: rgb2.a * p + rgb1.a * (1 - p),\n    };\n\n    return tinycolor(rgba);\n  };\n\n  // Readability Functions\n  // ---------------------\n  // <http://www.w3.org/TR/AERT#color-contrast>\n\n  // `readability`\n  // Analyze the 2 colors and returns an object with the following properties:\n  //    `brightness`: difference in brightness between the two colors\n  //    `color`: difference in color/hue between the two colors\n  tinycolor.readability = function (color1, color2) {\n    var c1 = tinycolor(color1);\n    var c2 = tinycolor(color2);\n    var rgb1 = c1.toRgb();\n    var rgb2 = c2.toRgb();\n    var brightnessA = c1.getBrightness();\n    var brightnessB = c2.getBrightness();\n    var colorDiff =\n      Math.max(rgb1.r, rgb2.r) -\n      Math.min(rgb1.r, rgb2.r) +\n      Math.max(rgb1.g, rgb2.g) -\n      Math.min(rgb1.g, rgb2.g) +\n      Math.max(rgb1.b, rgb2.b) -\n      Math.min(rgb1.b, rgb2.b);\n\n    return {\n      brightness: Math.abs(brightnessA - brightnessB),\n      color: colorDiff,\n    };\n  };\n\n  // `readable`\n  // http://www.w3.org/TR/AERT#color-contrast\n  // Ensure that foreground and background color combinations provide sufficient contrast.\n  // *Example*\n  //    tinycolor.isReadable(\"#000\", \"#111\") => false\n  tinycolor.isReadable = function (color1, color2) {\n    var readability = tinycolor.readability(color1, color2);\n    return readability.brightness > 125 && readability.color > 500;\n  };\n\n  // `mostReadable`\n  // Given a base color and a list of possible foreground or background\n  // colors for that base, returns the most readable color.\n  // *Example*\n  //    tinycolor.mostReadable(\"#123\", [\"#fff\", \"#000\"]) => \"#000\"\n  tinycolor.mostReadable = function (baseColor, colorList) {\n    var bestColor = null;\n    var bestScore = 0;\n    var bestIsReadable = false;\n    for (var i = 0; i < colorList.length; i++) {\n      // We normalize both around the \"acceptable\" breaking point,\n      // but rank brightness constrast higher than hue.\n\n      var readability = tinycolor.readability(baseColor, colorList[i]);\n      var readable = readability.brightness > 125 && readability.color > 500;\n      var score = 3 * (readability.brightness / 125) + readability.color / 500;\n\n      if (\n        (readable && !bestIsReadable) ||\n        (readable && bestIsReadable && score > bestScore) ||\n        (!readable && !bestIsReadable && score > bestScore)\n      ) {\n        bestIsReadable = readable;\n        bestScore = score;\n        bestColor = tinycolor(colorList[i]);\n      }\n    }\n    return bestColor;\n  };\n\n  // Big List of Colors\n  // ------------------\n  // <http://www.w3.org/TR/css3-color/#svg-color>\n  var names = (tinycolor.names = {\n    aliceblue: 'f0f8ff',\n    antiquewhite: 'faebd7',\n    aqua: '0ff',\n    aquamarine: '7fffd4',\n    azure: 'f0ffff',\n    beige: 'f5f5dc',\n    bisque: 'ffe4c4',\n    black: '000',\n    blanchedalmond: 'ffebcd',\n    blue: '00f',\n    blueviolet: '8a2be2',\n    brown: 'a52a2a',\n    burlywood: 'deb887',\n    burntsienna: 'ea7e5d',\n    cadetblue: '5f9ea0',\n    chartreuse: '7fff00',\n    chocolate: 'd2691e',\n    coral: 'ff7f50',\n    cornflowerblue: '6495ed',\n    cornsilk: 'fff8dc',\n    crimson: 'dc143c',\n    cyan: '0ff',\n    darkblue: '00008b',\n    darkcyan: '008b8b',\n    darkgoldenrod: 'b8860b',\n    darkgray: 'a9a9a9',\n    darkgreen: '006400',\n    darkgrey: 'a9a9a9',\n    darkkhaki: 'bdb76b',\n    darkmagenta: '8b008b',\n    darkolivegreen: '556b2f',\n    darkorange: 'ff8c00',\n    darkorchid: '9932cc',\n    darkred: '8b0000',\n    darksalmon: 'e9967a',\n    darkseagreen: '8fbc8f',\n    darkslateblue: '483d8b',\n    darkslategray: '2f4f4f',\n    darkslategrey: '2f4f4f',\n    darkturquoise: '00ced1',\n    darkviolet: '9400d3',\n    deeppink: 'ff1493',\n    deepskyblue: '00bfff',\n    dimgray: '696969',\n    dimgrey: '696969',\n    dodgerblue: '1e90ff',\n    firebrick: 'b22222',\n    floralwhite: 'fffaf0',\n    forestgreen: '228b22',\n    fuchsia: 'f0f',\n    gainsboro: 'dcdcdc',\n    ghostwhite: 'f8f8ff',\n    gold: 'ffd700',\n    goldenrod: 'daa520',\n    gray: '808080',\n    green: '008000',\n    greenyellow: 'adff2f',\n    grey: '808080',\n    honeydew: 'f0fff0',\n    hotpink: 'ff69b4',\n    indianred: 'cd5c5c',\n    indigo: '4b0082',\n    ivory: 'fffff0',\n    khaki: 'f0e68c',\n    lavender: 'e6e6fa',\n    lavenderblush: 'fff0f5',\n    lawngreen: '7cfc00',\n    lemonchiffon: 'fffacd',\n    lightblue: 'add8e6',\n    lightcoral: 'f08080',\n    lightcyan: 'e0ffff',\n    lightgoldenrodyellow: 'fafad2',\n    lightgray: 'd3d3d3',\n    lightgreen: '90ee90',\n    lightgrey: 'd3d3d3',\n    lightpink: 'ffb6c1',\n    lightsalmon: 'ffa07a',\n    lightseagreen: '20b2aa',\n    lightskyblue: '87cefa',\n    lightslategray: '789',\n    lightslategrey: '789',\n    lightsteelblue: 'b0c4de',\n    lightyellow: 'ffffe0',\n    lime: '0f0',\n    limegreen: '32cd32',\n    linen: 'faf0e6',\n    magenta: 'f0f',\n    maroon: '800000',\n    mediumaquamarine: '66cdaa',\n    mediumblue: '0000cd',\n    mediumorchid: 'ba55d3',\n    mediumpurple: '9370db',\n    mediumseagreen: '3cb371',\n    mediumslateblue: '7b68ee',\n    mediumspringgreen: '00fa9a',\n    mediumturquoise: '48d1cc',\n    mediumvioletred: 'c71585',\n    midnightblue: '191970',\n    mintcream: 'f5fffa',\n    mistyrose: 'ffe4e1',\n    moccasin: 'ffe4b5',\n    navajowhite: 'ffdead',\n    navy: '000080',\n    oldlace: 'fdf5e6',\n    olive: '808000',\n    olivedrab: '6b8e23',\n    orange: 'ffa500',\n    orangered: 'ff4500',\n    orchid: 'da70d6',\n    palegoldenrod: 'eee8aa',\n    palegreen: '98fb98',\n    paleturquoise: 'afeeee',\n    palevioletred: 'db7093',\n    papayawhip: 'ffefd5',\n    peachpuff: 'ffdab9',\n    peru: 'cd853f',\n    pink: 'ffc0cb',\n    plum: 'dda0dd',\n    powderblue: 'b0e0e6',\n    purple: '800080',\n    rebeccapurple: '663399',\n    red: 'f00',\n    rosybrown: 'bc8f8f',\n    royalblue: '4169e1',\n    saddlebrown: '8b4513',\n    salmon: 'fa8072',\n    sandybrown: 'f4a460',\n    seagreen: '2e8b57',\n    seashell: 'fff5ee',\n    sienna: 'a0522d',\n    silver: 'c0c0c0',\n    skyblue: '87ceeb',\n    slateblue: '6a5acd',\n    slategray: '708090',\n    slategrey: '708090',\n    snow: 'fffafa',\n    springgreen: '00ff7f',\n    steelblue: '4682b4',\n    tan: 'd2b48c',\n    teal: '008080',\n    thistle: 'd8bfd8',\n    tomato: 'ff6347',\n    turquoise: '40e0d0',\n    violet: 'ee82ee',\n    wheat: 'f5deb3',\n    white: 'fff',\n    whitesmoke: 'f5f5f5',\n    yellow: 'ff0',\n    yellowgreen: '9acd32',\n  });\n\n  // Make it easy to access colors via `hexNames[hex]`\n  var hexNames = (tinycolor.hexNames = flip(names));\n\n  // Utilities\n  // ---------\n\n  // `{ 'name1': 'val1' }` becomes `{ 'val1': 'name1' }`\n  function flip(o) {\n    var flipped = {};\n    for (var i in o) {\n      if (o.hasOwnProperty(i)) {\n        flipped[o[i]] = i;\n      }\n    }\n    return flipped;\n  }\n\n  // Return a valid alpha value [0,1] with all invalid values being set to 1\n  function boundAlpha(a) {\n    a = parseFloat(a);\n\n    if (isNaN(a) || a < 0 || a > 1) {\n      a = 1;\n    }\n\n    return a;\n  }\n\n  // Take input from [0, n] and return it as [0, 1]\n  function bound01(n, max) {\n    if (isOnePointZero(n)) {\n      n = '100%';\n    }\n\n    var processPercent = isPercentage(n);\n    n = mathMin(max, mathMax(0, parseFloat(n)));\n\n    // Automatically convert percentage into number\n    if (processPercent) {\n      n = parseInt(n * max, 10) / 100;\n    }\n\n    // Handle floating point rounding errors\n    if (math.abs(n - max) < 0.000001) {\n      return 1;\n    }\n\n    // Convert into [0, 1] range if it isn't already\n    return (n % max) / parseFloat(max);\n  }\n\n  // Force a number between 0 and 1\n  function clamp01(val) {\n    return mathMin(1, mathMax(0, val));\n  }\n\n  // Parse a base-16 hex value into a base-10 integer\n  function parseIntFromHex(val) {\n    return parseInt(val, 16);\n  }\n\n  // Need to handle 1.0 as 100%, since once it is a number, there is no difference between it and 1\n  // <http://stackoverflow.com/questions/7422072/javascript-how-to-detect-number-as-a-decimal-including-1-0>\n  function isOnePointZero(n) {\n    return typeof n == 'string' && n.indexOf('.') != -1 && parseFloat(n) === 1;\n  }\n\n  // Check to see if string passed in is a percentage\n  function isPercentage(n) {\n    return typeof n === 'string' && n.indexOf('%') != -1;\n  }\n\n  // Force a hex value to have 2 characters\n  function pad2(c) {\n    return c.length == 1 ? '0' + c : '' + c;\n  }\n\n  // Replace a decimal with it's percentage value\n  function convertToPercentage(n) {\n    if (n <= 1) {\n      n = n * 100 + '%';\n    }\n\n    return n;\n  }\n\n  // Converts a decimal to a hex value\n  function convertDecimalToHex(d) {\n    return Math.round(parseFloat(d) * 255).toString(16);\n  }\n  // Converts a hex value to a decimal\n  function convertHexToDecimal(h) {\n    return parseIntFromHex(h) / 255;\n  }\n\n  var matchers = (function () {\n    // <http://www.w3.org/TR/css3-values/#integers>\n    var CSS_INTEGER = '[-\\\\+]?\\\\d+%?';\n\n    // <http://www.w3.org/TR/css3-values/#number-value>\n    var CSS_NUMBER = '[-\\\\+]?\\\\d*\\\\.\\\\d+%?';\n\n    // Allow positive/negative integer/number.  Don't capture the either/or, just the entire outcome.\n    var CSS_UNIT = '(?:' + CSS_NUMBER + ')|(?:' + CSS_INTEGER + ')';\n\n    // Actual matching.\n    // Parentheses and commas are optional, but not required.\n    // Whitespace can take the place of commas or opening paren\n    var PERMISSIVE_MATCH3 = '[\\\\s|\\\\(]+(' + CSS_UNIT + ')[,|\\\\s]+(' + CSS_UNIT + ')[,|\\\\s]+(' + CSS_UNIT + ')\\\\s*\\\\)?';\n    var PERMISSIVE_MATCH4 =\n      '[\\\\s|\\\\(]+(' +\n      CSS_UNIT +\n      ')[,|\\\\s]+(' +\n      CSS_UNIT +\n      ')[,|\\\\s]+(' +\n      CSS_UNIT +\n      ')[,|\\\\s]+(' +\n      CSS_UNIT +\n      ')\\\\s*\\\\)?';\n\n    return {\n      rgb: new RegExp('rgb' + PERMISSIVE_MATCH3),\n      rgba: new RegExp('rgba' + PERMISSIVE_MATCH4),\n      hsl: new RegExp('hsl' + PERMISSIVE_MATCH3),\n      hsla: new RegExp('hsla' + PERMISSIVE_MATCH4),\n      hsv: new RegExp('hsv' + PERMISSIVE_MATCH3),\n      hsva: new RegExp('hsva' + PERMISSIVE_MATCH4),\n      hex3: /^([0-9a-fA-F]{1})([0-9a-fA-F]{1})([0-9a-fA-F]{1})$/,\n      hex6: /^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,\n      hex8: /^([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})([0-9a-fA-F]{2})$/,\n    };\n  })();\n\n  // `stringInputToObject`\n  // Permissive string parsing.  Take in a number of formats, and output an object\n  // based on detected format.  Returns `{ r, g, b }` or `{ h, s, l }` or `{ h, s, v}`\n  function stringInputToObject(color) {\n    color = color.replace(trimLeft, '').replace(trimRight, '').toLowerCase();\n    var named = false;\n    if (names[color]) {\n      color = names[color];\n      named = true;\n    } else if (color == 'transparent') {\n      return { r: 0, g: 0, b: 0, a: 0, format: 'name' };\n    }\n\n    // Try to match string input using regular expressions.\n    // Keep most of the number bounding out of this function - don't worry about [0,1] or [0,100] or [0,360]\n    // Just return an object and let the conversion functions handle that.\n    // This way the result will be the same whether the tinycolor is initialized with string or object.\n    var match;\n    if ((match = matchers.rgb.exec(color))) {\n      return { r: match[1], g: match[2], b: match[3] };\n    }\n    if ((match = matchers.rgba.exec(color))) {\n      return { r: match[1], g: match[2], b: match[3], a: match[4] };\n    }\n    if ((match = matchers.hsl.exec(color))) {\n      return { h: match[1], s: match[2], l: match[3] };\n    }\n    if ((match = matchers.hsla.exec(color))) {\n      return { h: match[1], s: match[2], l: match[3], a: match[4] };\n    }\n    if ((match = matchers.hsv.exec(color))) {\n      return { h: match[1], s: match[2], v: match[3] };\n    }\n    if ((match = matchers.hsva.exec(color))) {\n      return { h: match[1], s: match[2], v: match[3], a: match[4] };\n    }\n    if ((match = matchers.hex8.exec(color))) {\n      return {\n        a: convertHexToDecimal(match[1]),\n        r: parseIntFromHex(match[2]),\n        g: parseIntFromHex(match[3]),\n        b: parseIntFromHex(match[4]),\n        format: named ? 'name' : 'hex8',\n      };\n    }\n    if ((match = matchers.hex6.exec(color))) {\n      return {\n        r: parseIntFromHex(match[1]),\n        g: parseIntFromHex(match[2]),\n        b: parseIntFromHex(match[3]),\n        format: named ? 'name' : 'hex',\n      };\n    }\n    if ((match = matchers.hex3.exec(color))) {\n      return {\n        r: parseIntFromHex(match[1] + '' + match[1]),\n        g: parseIntFromHex(match[2] + '' + match[2]),\n        b: parseIntFromHex(match[3] + '' + match[3]),\n        format: named ? 'name' : 'hex',\n      };\n    }\n\n    return false;\n  }\n\n  window.tinycolor = tinycolor;\n  //})();\n\n  $(function () {\n    if ($.fn.spectrum.load) {\n      $.fn.spectrum.processNativeColorInputs();\n    }\n  });\n}\n","import Backbone from 'backbone';\nimport { bindAll, isUndefined, indexOf } from 'underscore';\nimport { on, off } from 'utils/mixins';\nimport Input from './Input';\n\nconst $ = Backbone.$;\n\nexport default Input.extend({\n  events: {\n    'change input': 'handleChange',\n    'change select': 'handleUnitChange',\n    'click [data-arrow-up]': 'upArrowClick',\n    'click [data-arrow-down]': 'downArrowClick',\n    'mousedown [data-arrows]': 'downIncrement',\n    keydown: 'handleKeyDown',\n  },\n\n  template() {\n    const ppfx = this.ppfx;\n    return `\n      <span class=\"${ppfx}input-holder\"></span>\n      <span class=\"${ppfx}field-units\"></span>\n      <div class=\"${ppfx}field-arrows\" data-arrows>\n        <div class=\"${ppfx}field-arrow-u\" data-arrow-up></div>\n        <div class=\"${ppfx}field-arrow-d\" data-arrow-down></div>\n      </div>\n    `;\n  },\n\n  inputClass() {\n    const ppfx = this.ppfx;\n    return this.opts.contClass || `${ppfx}field ${ppfx}field-integer`;\n  },\n\n  initialize(opts = {}) {\n    Input.prototype.initialize.apply(this, arguments);\n    bindAll(this, 'moveIncrement', 'upIncrement');\n    this.doc = document;\n    this.listenTo(this.model, 'change:unit', this.handleModelChange);\n  },\n\n  /**\n   * Set value to the model\n   * @param {string} value\n   * @param {Object} opts\n   */\n  setValue(value, opts) {\n    var opt = opts || {};\n    var valid = this.validateInputValue(value, { deepCheck: 1 });\n    var validObj = { value: valid.value };\n\n    // If found some unit value\n    if (valid.unit || valid.force) {\n      validObj.unit = valid.unit;\n    }\n\n    this.model.set(validObj, opt);\n\n    // Generally I get silent when I need to reflect data to view without\n    // reupdating the target\n    if (opt.silent) {\n      this.handleModelChange();\n    }\n  },\n\n  /**\n   * Handled when the view is changed\n   */\n  handleChange(e) {\n    e.stopPropagation();\n    this.setValue(this.getInputEl().value);\n    this.elementUpdated();\n  },\n\n  /**\n   * Handled when the view is changed\n   */\n  handleUnitChange(e) {\n    e.stopPropagation();\n    var value = this.getUnitEl().value;\n    this.model.set('unit', value);\n    this.elementUpdated();\n  },\n\n  /**\n   * Handled when user uses keyboard\n   */\n  handleKeyDown(e) {\n    if (e.key === 'ArrowUp') {\n      e.preventDefault();\n      this.upArrowClick();\n    }\n\n    if (e.key === 'ArrowDown') {\n      e.preventDefault();\n      this.downArrowClick();\n    }\n  },\n\n  /**\n   * Fired when the element of the property is updated\n   */\n  elementUpdated() {\n    this.model.trigger('el:change');\n  },\n\n  /**\n   * Updates the view when the model is changed\n   * */\n  handleModelChange() {\n    const model = this.model;\n    this.getInputEl().value = model.get('value');\n    const unitEl = this.getUnitEl();\n    unitEl && (unitEl.value = model.get('unit') || '');\n  },\n\n  /**\n   * Get the unit element\n   * @return {HTMLElement}\n   */\n  getUnitEl() {\n    if (!this.unitEl) {\n      const model = this.model;\n      const units = model.get('units') || [];\n\n      if (units.length) {\n        const options = ['<option value=\"\" disabled hidden>-</option>'];\n\n        units.forEach(unit => {\n          const selected = unit == model.get('unit') ? 'selected' : '';\n          options.push(`<option ${selected}>${unit}</option>`);\n        });\n\n        const temp = document.createElement('div');\n        temp.innerHTML = `<select class=\"${this.ppfx}input-unit\">${options.join('')}</select>`;\n        this.unitEl = temp.firstChild;\n      }\n    }\n\n    return this.unitEl;\n  },\n\n  /**\n   * Invoked when the up arrow is clicked\n   * */\n  upArrowClick() {\n    const { model } = this;\n    const step = model.get('step');\n    let value = parseFloat(model.get('value'));\n    this.setValue(this.normalizeValue(value + step));\n    this.elementUpdated();\n  },\n\n  /**\n   * Invoked when the down arrow is clicked\n   * */\n  downArrowClick() {\n    const { model } = this;\n    const step = model.get('step');\n    const value = parseFloat(model.get('value'));\n    this.setValue(this.normalizeValue(value - step));\n    this.elementUpdated();\n  },\n\n  /**\n   * Change easily integer input value with click&drag method\n   * @param Event\n   *\n   * @return void\n   * */\n  downIncrement(e) {\n    e.preventDefault();\n    this.moved = 0;\n    var value = this.model.get('value') || 0;\n    value = this.normalizeValue(value);\n    this.current = { y: e.pageY, val: value };\n    on(this.doc, 'mousemove', this.moveIncrement);\n    on(this.doc, 'mouseup', this.upIncrement);\n  },\n\n  /** While the increment is clicked, moving the mouse will update input value\n   * @param Object\n   *\n   * @return bool\n   * */\n  moveIncrement(ev) {\n    this.moved = 1;\n    const model = this.model;\n    const step = model.get('step');\n    const data = this.current;\n    var pos = this.normalizeValue(data.val + (data.y - ev.pageY) * step);\n    const { value, unit } = this.validateInputValue(pos);\n    this.prValue = value;\n    model.set({ value, unit }, { avoidStore: 1 });\n    return false;\n  },\n\n  /**\n   * Stop moveIncrement method\n   * */\n  upIncrement() {\n    const model = this.model;\n    const step = model.get('step');\n    off(this.doc, 'mouseup', this.upIncrement);\n    off(this.doc, 'mousemove', this.moveIncrement);\n\n    if (this.prValue && this.moved) {\n      var value = this.prValue - step;\n      model.set('value', value, { avoidStore: 1 }).set('value', value + step);\n      this.elementUpdated();\n    }\n  },\n\n  normalizeValue(value, defValue = 0) {\n    const model = this.model;\n    const step = model.get('step');\n    let stepDecimals = 0;\n\n    if (isNaN(value)) {\n      return defValue;\n    }\n\n    value = parseFloat(value);\n\n    if (Math.floor(value) !== value) {\n      const side = step.toString().split('.')[1];\n      stepDecimals = side ? side.length : 0;\n    }\n\n    return stepDecimals ? parseFloat(value.toFixed(stepDecimals)) : value;\n  },\n\n  /**\n   * Validate input value\n   * @param {String} value Raw value\n   * @param {Object} opts Options\n   * @return {Object} Validated string\n   */\n  validateInputValue(value, opts = {}) {\n    var force = 0;\n    var opt = opts || {};\n    var model = this.model;\n    const defValue = ''; //model.get('defaults');\n    var val = !isUndefined(value) ? value : defValue;\n    var units = opts.units || model.get('units') || [];\n    var unit = model.get('unit') || (units.length && units[0]) || '';\n    var max = !isUndefined(opts.max) ? opts.max : model.get('max');\n    var min = !isUndefined(opts.min) ? opts.min : model.get('min');\n    var limitlessMax = !!model.get('limitlessMax');\n    var limitlessMin = !!model.get('limitlessMin');\n\n    if (opt.deepCheck) {\n      var fixed = model.get('fixedValues') || [];\n\n      if (val === '') unit = '';\n\n      if (val) {\n        // If the value is one of the fixed values I leave it as it is\n        var regFixed = new RegExp('^' + fixed.join('|'), 'g');\n        if (fixed.length && regFixed.test(val)) {\n          val = val.match(regFixed)[0];\n          unit = '';\n          force = 1;\n        } else {\n          var valCopy = val + '';\n          val += ''; // Make it suitable for replace\n          val = parseFloat(val.replace(',', '.'));\n          val = !isNaN(val) ? val : defValue;\n          var uN = valCopy.replace(val, '');\n          // Check if exists as unit\n          if (indexOf(units, uN) >= 0) unit = uN;\n        }\n      }\n    }\n\n    if (!limitlessMax && !isUndefined(max) && max !== '') val = val > max ? max : val;\n    if (!limitlessMin && !isUndefined(min) && min !== '') val = val < min ? min : val;\n\n    return {\n      force,\n      value: val,\n      unit,\n    };\n  },\n\n  render() {\n    Input.prototype.render.call(this);\n    this.unitEl = null;\n    const unit = this.getUnitEl();\n    unit && this.$el.find(`.${this.ppfx}field-units`).get(0).appendChild(unit);\n    return this;\n  },\n});\n","import { includes } from 'underscore';\nimport Backbone from 'backbone';\n\nexport default Backbone.View.extend({\n  // Default view\n  itemView: '',\n\n  // Defines the View per type\n  itemsView: '',\n\n  itemType: 'type',\n\n  autoAdd: 0,\n\n  initialize(opts = {}, config) {\n    this.config = config || opts.config || {};\n    this.autoAdd && this.listenTo(this.collection, 'add', this.addTo);\n    this.items = [];\n    this.init();\n  },\n\n  init() {},\n\n  /**\n   * Add new model to the collection\n   * @param {Model} model\n   * @private\n   * */\n  addTo(model) {\n    this.add(model);\n  },\n\n  itemViewNotFound(type) {\n    const { config, ns } = this;\n    const { em } = config;\n    const warn = `${ns ? `[${ns}]: ` : ''}'${type}' type not found`;\n    em && em.logWarning(warn);\n  },\n\n  /**\n   * Render new model inside the view\n   * @param {Model} model\n   * @param {Object} fragment Fragment collection\n   * @private\n   * */\n  add(model, fragment) {\n    const { config, reuseView, items, itemsView = {} } = this;\n    const inputTypes = [\n      'button',\n      'checkbox',\n      'color',\n      'date',\n      'datetime-local',\n      'email',\n      'file',\n      'hidden',\n      'image',\n      'month',\n      'number',\n      'password',\n      'radio',\n      'range',\n      'reset',\n      'search',\n      'submit',\n      'tel',\n      'text',\n      'time',\n      'url',\n      'week'\n    ];\n    var frag = fragment || null;\n    var itemView = this.itemView;\n    var typeField = model.get(this.itemType);\n    let view;\n\n    if (itemsView[typeField]) {\n      itemView = itemsView[typeField];\n    } else if (\n      typeField &&\n      !itemsView[typeField] &&\n      !includes(inputTypes, typeField)\n    ) {\n      this.itemViewNotFound(typeField);\n    }\n\n    if (model.view && reuseView) {\n      view = model.view;\n    } else {\n      view = new itemView({ model, config }, config);\n    }\n\n    items && items.push(view);\n    const rendered = view.render().el;\n\n    if (frag) frag.appendChild(rendered);\n    else this.$el.append(rendered);\n  },\n\n  render() {\n    var frag = document.createDocumentFragment();\n    this.clearItems();\n    this.$el.empty();\n\n    if (this.collection.length)\n      this.collection.each(function(model) {\n        this.add(model, frag);\n      }, this);\n\n    this.$el.append(frag);\n    this.onRender();\n    return this;\n  },\n\n  onRender() {},\n\n  onRemoveBefore() {},\n  onRemove() {},\n\n  remove(opts = {}) {\n    const { items } = this;\n    this.onRemoveBefore(items, opts);\n    this.clearItems();\n    Backbone.View.prototype.remove.apply(this, arguments);\n    this.onRemove(items, opts);\n  },\n\n  clearItems() {\n    const items = this.items || [];\n    // TODO Traits do not update the target anymore\n    // items.forEach(item => item.remove());\n    // this.items = [];\n  }\n});\n","const traitInputAttr = { placeholder: 'eg. Text here' };\n\nexport default {\n  assetManager: {\n    addButton: 'Add image',\n    inputPlh: 'http://path/to/the/image.jpg',\n    modalTitle: 'Select Image',\n    uploadTitle: 'Drop files here or click to upload',\n  },\n  // Here just as a reference, GrapesJS core doesn't contain any block,\n  // so this should be omitted from other local files\n  blockManager: {\n    labels: {\n      // 'block-id': 'Block Label',\n    },\n    categories: {\n      // 'category-id': 'Category Label',\n    },\n  },\n  domComponents: {\n    names: {\n      '': 'Box',\n      wrapper: 'Body',\n      text: 'Text',\n      comment: 'Comment',\n      image: 'Image',\n      video: 'Video',\n      label: 'Label',\n      link: 'Link',\n      map: 'Map',\n      tfoot: 'Table foot',\n      tbody: 'Table body',\n      thead: 'Table head',\n      table: 'Table',\n      row: 'Table row',\n      cell: 'Table cell',\n    },\n  },\n  deviceManager: {\n    device: 'Device',\n    devices: {\n      desktop: 'Desktop',\n      tablet: 'Tablet',\n      mobileLandscape: 'Mobile Landscape',\n      mobilePortrait: 'Mobile Portrait',\n    },\n  },\n  panels: {\n    buttons: {\n      titles: {\n        preview: 'Preview',\n        fullscreen: 'Fullscreen',\n        'sw-visibility': 'View components',\n        'export-template': 'View code',\n        'open-sm': 'Open Style Manager',\n        'open-tm': 'Settings',\n        'open-layers': 'Open Layer Manager',\n        'open-blocks': 'Open Blocks',\n      },\n    },\n  },\n  selectorManager: {\n    label: 'Classes',\n    selected: 'Selected',\n    emptyState: '- State -',\n    states: {\n      hover: 'Hover',\n      active: 'Click',\n      'nth-of-type(2n)': 'Even/Odd',\n    },\n  },\n  styleManager: {\n    empty: 'Select an element before using Style Manager',\n    layer: 'Layer',\n    fileButton: 'Images',\n    sectors: {\n      general: 'General',\n      layout: 'Layout',\n      typography: 'Typography',\n      decorations: 'Decorations',\n      extra: 'Extra',\n      flex: 'Flex',\n      dimension: 'Dimension',\n    },\n    // Default names for sub properties in Composite and Stack types.\n    // Other labels are generated directly from their property names (eg. 'font-size' will be 'Font size').\n    properties: {\n      'text-shadow-h': 'X',\n      'text-shadow-v': 'Y',\n      'text-shadow-blur': 'Blur',\n      'text-shadow-color': 'Color',\n      'box-shadow-h': 'X',\n      'box-shadow-v': 'Y',\n      'box-shadow-blur': 'Blur',\n      'box-shadow-spread': 'Spread',\n      'box-shadow-color': 'Color',\n      'box-shadow-type': 'Type',\n      'margin-top-sub': 'Top',\n      'margin-right-sub': 'Right',\n      'margin-bottom-sub': 'Bottom',\n      'margin-left-sub': 'Left',\n      'padding-top-sub': 'Top',\n      'padding-right-sub': 'Right',\n      'padding-bottom-sub': 'Bottom',\n      'padding-left-sub': 'Left',\n      'border-width-sub': 'Width',\n      'border-style-sub': 'Style',\n      'border-color-sub': 'Color',\n      'border-top-left-radius-sub': 'Top Left',\n      'border-top-right-radius-sub': 'Top Right',\n      'border-bottom-right-radius-sub': 'Bottom Right',\n      'border-bottom-left-radius-sub': 'Bottom Left',\n      'transform-rotate-x': 'Rotate X',\n      'transform-rotate-y': 'Rotate Y',\n      'transform-rotate-z': 'Rotate Z',\n      'transform-scale-x': 'Scale X',\n      'transform-scale-y': 'Scale Y',\n      'transform-scale-z': 'Scale Z',\n      'transition-property-sub': 'Property',\n      'transition-duration-sub': 'Duration',\n      'transition-timing-function-sub': 'Timing',\n      'background-image-sub': 'Image',\n      'background-repeat-sub': 'Repeat',\n      'background-position-sub': 'Position',\n      'background-attachment-sub': 'Attachment',\n      'background-size-sub': 'Size',\n    },\n    // Translate options in style properties\n    // options: {\n    //   float: { // Id of the property\n    //     ...\n    //     left: 'Left', // {option id}: {Option label}\n    //   }\n    // }\n  },\n  traitManager: {\n    empty: 'Select an element before using Trait Manager',\n    label: 'Component settings',\n    traits: {\n      // The core library generates the name by their `name` property\n      labels: {\n        // id: 'Id',\n        // alt: 'Alt',\n        // title: 'Title',\n        // href: 'Href',\n      },\n      // In a simple trait, like text input, these are used on input attributes\n      attributes: {\n        id: traitInputAttr,\n        alt: traitInputAttr,\n        title: traitInputAttr,\n        href: { placeholder: 'eg. https://google.com' },\n      },\n      // In a trait like select, these are used to translate option names\n      options: {\n        target: {\n          false: 'This window',\n          _blank: 'New window',\n        },\n      },\n    },\n  },\n};\n","import en from './locale/en';\n\nexport default {\n  // Locale value\n  locale: 'en',\n\n  // Fallback locale\n  localeFallback: 'en',\n\n  // Detect locale by checking browser language\n  detectLocale: true,\n\n  // Show warnings when some of the i18n resources are missing\n  debug: false,\n\n  // Messages to translate\n  messages: {\n    en,\n  },\n\n  // Additional messages. This allows extending the default `messages` set directly from the configuration.\n  messagesAdd: null,\n};\n","/**\n * You can customize the initial state of the module from the editor initialization, by passing the following [Configuration Object](https://github.com/artf/grapesjs/blob/master/src/i18n/config.js)\n * ```js\n * const editor = grapesjs.init({\n *  i18n: {\n *    locale: 'en',\n *    localeFallback: 'en',\n *    messages: {\n *      it: { hello: 'Ciao', ... },\n *      ...\n *    }\n *  }\n * })\n * ```\n *\n * Once the editor is instantiated you can use its API. Before using these methods you should get the module from the instance\n *\n * ```js\n * const i18n = editor.I18n;\n * ```\n *\n * ### Events\n * * `i18n:add` - New set of messages is added\n * * `i18n:update` - The set of messages is updated\n * * `i18n:locale` - Locale changed\n *\n * @module I18n\n */\nimport { isUndefined, isString } from 'underscore';\nimport { hasWin } from 'utils/mixins';\nimport config from './config';\n\nconst isObj = el => !Array.isArray(el) && el !== null && typeof el === 'object';\n\nconst deepAssign = (...args) => {\n  const target = { ...args[0] };\n\n  for (let i = 1; i < args.length; i++) {\n    const source = { ...args[i] };\n\n    for (let key in source) {\n      const targValue = target[key];\n      const srcValue = source[key];\n\n      if (isObj(targValue) && isObj(srcValue)) {\n        target[key] = deepAssign(targValue, srcValue);\n      } else {\n        target[key] = srcValue;\n      }\n    }\n  }\n\n  return target;\n};\n\nexport default () => {\n  return {\n    name: 'I18n',\n\n    config,\n\n    /**\n     * Initialize module\n     * @param {Object} config Configurations\n     * @private\n     */\n    init(opts = {}) {\n      this.config = {\n        ...config,\n        ...opts,\n        messages: {\n          ...config.messages,\n          ...(opts.messages || {}),\n        },\n      };\n      const add = this.config.messagesAdd;\n      add && this.addMessages(add);\n\n      if (this.config.detectLocale) {\n        this.config.locale = this._localLang();\n      }\n\n      this.em = opts.em;\n      return this;\n    },\n\n    /**\n     * Get module configurations\n     * @returns {Object} Configuration object\n     */\n    getConfig() {\n      return this.config;\n    },\n\n    /**\n     * Update current locale\n     * @param {String} locale Locale value\n     * @returns {this}\n     * @example\n     * i18n.setLocale('it');\n     */\n    setLocale(locale) {\n      const { em, config } = this;\n      const evObj = { value: locale, valuePrev: config.locale };\n      em && em.trigger('i18n:locale', evObj);\n      config.locale = locale;\n      return this;\n    },\n\n    /**\n     * Get current locale\n     * @returns {String} Current locale value\n     */\n    getLocale() {\n      return this.config.locale;\n    },\n\n    /**\n     * Get all messages\n     * @param {String} [lang] Specify the language of messages to return\n     * @param {Object} [opts] Options\n     * @param {Boolean} [opts.debug] Show warnings in case of missing language\n     * @returns {Object}\n     * @example\n     * i18n.getMessages();\n     * // -> { en: { hello: '...' }, ... }\n     * i18n.getMessages('en');\n     * // -> { hello: '...' }\n     */\n    getMessages(lang, opts = {}) {\n      const { messages } = this.config;\n      lang && !messages[lang] && this._debug(`'${lang}' i18n lang not found`, opts);\n      return lang ? messages[lang] : messages;\n    },\n\n    /**\n     * Set new set of messages\n     * @param {Object} msg Set of messages\n     * @returns {this}\n     * @example\n     * i18n.getMessages();\n     * // -> { en: { msg1: 'Msg 1', msg2: 'Msg 2', } }\n     * i18n.setMessages({ en: { msg2: 'Msg 2 up', msg3: 'Msg 3', } });\n     * // Set replaced\n     * i18n.getMessages();\n     * // -> { en: { msg2: 'Msg 2 up', msg3: 'Msg 3', } }\n     */\n    setMessages(msg) {\n      const { em, config } = this;\n      config.messages = msg;\n      em && em.trigger('i18n:update', msg);\n      return this;\n    },\n\n    /**\n     * Update messages\n     * @param {Object} msg Set of messages to add\n     * @returns {this}\n     * @example\n     * i18n.getMessages();\n     * // -> { en: { msg1: 'Msg 1', msg2: 'Msg 2', } }\n     * i18n.addMessages({ en: { msg2: 'Msg 2 up', msg3: 'Msg 3', } });\n     * // Set updated\n     * i18n.getMessages();\n     * // -> { en: { msg1: 'Msg 1', msg2: 'Msg 2 up', msg3: 'Msg 3', } }\n     */\n    addMessages(msg) {\n      const { em } = this;\n      const { messages } = this.config;\n      em && em.trigger('i18n:add', msg);\n      this.setMessages(deepAssign(messages, msg));\n\n      return this;\n    },\n\n    /**\n     * Translate the locale message\n     * @param {String} key Label to translate\n     * @param {Object} [opts] Options for the translation\n     * @param {Object} [opts.params] Params for the translation\n     * @param {Boolean} [opts.debug] Show warnings in case of missing resources\n     * @returns {String}\n     * @example\n     * obj.setMessages({\n     *  en: { msg: 'Msg', msg2: 'Msg {test}'},\n     *  it: { msg2: 'Msg {test} it'},\n     * });\n     * obj.t('msg');\n     * // -> outputs `Msg`\n     * obj.t('msg2', { params: { test: 'hello' } });  // use params\n     * // -> outputs `Msg hello`\n     * obj.t('msg2', { l: 'it', params: { test: 'hello' } });  // custom local\n     * // -> outputs `Msg hello it`\n     */\n    t(key, opts = {}) {\n      const { config } = this;\n      const param = opts.params || {};\n      const locale = opts.l || this.getLocale();\n      const localeFlb = opts.lFlb || config.localeFallback;\n      let result = this._getMsg(key, locale, opts);\n\n      // Try with fallback\n      if (!result) result = this._getMsg(key, localeFlb, opts);\n\n      !result && this._debug(`'${key}' i18n key not found in '${locale}' lang`, opts);\n      result = result && isString(result) ? this._addParams(result, param) : result;\n\n      return result;\n    },\n\n    _localLang() {\n      const nav = (hasWin() && window.navigator) || {};\n      const lang = nav.language || nav.userLanguage;\n      return lang ? lang.split('-')[0] : 'en';\n    },\n\n    _addParams(str, params) {\n      const reg = new RegExp(`\\{([\\\\w\\\\d-]*)\\}`, 'g');\n      return str.replace(reg, (m, val) => params[val] || '').trim();\n    },\n\n    _getMsg(key, locale, opts = {}) {\n      const msgSet = this.getMessages(locale, opts);\n\n      // Lang set is missing\n      if (!msgSet) return;\n\n      let result = msgSet[key];\n\n      // Check for nested getter\n      if (!result && key.indexOf('.') > 0) {\n        result = key.split('.').reduce((lang, key) => {\n          if (isUndefined(lang)) return;\n          return lang[key];\n        }, msgSet);\n      }\n\n      return result;\n    },\n\n    _debug(str, opts = {}) {\n      const { em, config } = this;\n      (opts.debug || config.debug) && em && em.logWarning(str);\n    },\n\n    destroy() {\n      this.config = config;\n      this.em = {};\n    },\n  };\n};\n","// The initial version of this library was borrowed from https://github.com/madrobby/keymaster\n// and adapted to the GrapesJS's need\n\nvar k,\n  _handlers = {},\n  _mods = {\n    16: false,\n    18: false,\n    17: false,\n    91: false,\n  },\n  _scope = 'all',\n  // modifier keys\n  _MODIFIERS = {\n    '⇧': 16,\n    shift: 16,\n    '⌥': 18,\n    alt: 18,\n    option: 18,\n    '⌃': 17,\n    ctrl: 17,\n    control: 17,\n    '⌘': 91,\n    command: 91,\n  },\n  // special keys\n  _MAP = {\n    backspace: 8,\n    tab: 9,\n    clear: 12,\n    enter: 13,\n    return: 13,\n    esc: 27,\n    escape: 27,\n    space: 32,\n    left: 37,\n    up: 38,\n    right: 39,\n    down: 40,\n    del: 46,\n    delete: 46,\n    home: 36,\n    end: 35,\n    pageup: 33,\n    pagedown: 34,\n    ',': 188,\n    '.': 190,\n    '/': 191,\n    '`': 192,\n    '-': 189,\n    '=': 187,\n    ';': 186,\n    \"'\": 222,\n    '[': 219,\n    ']': 221,\n    '\\\\': 220,\n  },\n  code = function (x) {\n    return _MAP[x] || x.toUpperCase().charCodeAt(0);\n  },\n  _downKeys = [];\n\nfor (k = 1; k < 20; k++) _MAP['f' + k] = 111 + k;\n\n// IE doesn't support Array#indexOf, so have a simple replacement\nfunction index(array, item) {\n  var i = array.length;\n  while (i--) if (array[i] === item) return i;\n  return -1;\n}\n\n// for comparing mods before unassignment\nfunction compareArray(a1, a2) {\n  if (a1.length != a2.length) return false;\n  for (var i = 0; i < a1.length; i++) {\n    if (a1[i] !== a2[i]) return false;\n  }\n  return true;\n}\n\nvar modifierMap = {\n  16: 'shiftKey',\n  18: 'altKey',\n  17: 'ctrlKey',\n  91: 'metaKey',\n};\n\nfunction updateModifierKey(event) {\n  for (k in _mods) _mods[k] = event[modifierMap[k]];\n}\n\n// handle keydown event\nfunction dispatch(event) {\n  var key, handler, k, i, modifiersMatch, scope;\n  key = event.keyCode;\n\n  if (index(_downKeys, key) == -1) {\n    _downKeys.push(key);\n  }\n\n  // if a modifier key, set the key.<modifierkeyname> property to true and return\n  if (key == 93 || key == 224) key = 91; // right command on webkit, command on Gecko\n  if (key in _mods) {\n    _mods[key] = true;\n    // 'assignKey' from inside this closure is exported to window.key\n    for (k in _MODIFIERS) if (_MODIFIERS[k] == key) assignKey[k] = true;\n    return;\n  }\n  updateModifierKey(event);\n\n  // see if we need to ignore the keypress (filter() can can be overridden)\n  // by default ignore key presses if a select, textarea, or input is focused\n  if (!assignKey.filter.call(this, event)) return;\n\n  // abort if no potentially matching shortcuts found\n  if (!(key in _handlers)) return;\n\n  scope = getScope();\n\n  // for each potential shortcut\n  for (i = 0; i < _handlers[key].length; i++) {\n    handler = _handlers[key][i];\n\n    // see if it's in the current scope\n    if (handler.scope == scope || handler.scope == 'all') {\n      // check if modifiers match if any\n      modifiersMatch = handler.mods.length > 0;\n      for (k in _mods)\n        if ((!_mods[k] && index(handler.mods, +k) > -1) || (_mods[k] && index(handler.mods, +k) == -1))\n          modifiersMatch = false;\n      // call the handler and stop the event if neccessary\n      if ((handler.mods.length == 0 && !_mods[16] && !_mods[18] && !_mods[17] && !_mods[91]) || modifiersMatch) {\n        if (handler.method(event, handler) === false) {\n          if (event.preventDefault) event.preventDefault();\n          else event.returnValue = false;\n          if (event.stopPropagation) event.stopPropagation();\n          if (event.cancelBubble) event.cancelBubble = true;\n        }\n      }\n    }\n  }\n}\n\n// unset modifier keys on keyup\nfunction clearModifier(event) {\n  var key = event.keyCode,\n    k,\n    i = index(_downKeys, key);\n\n  // remove key from _downKeys\n  if (i >= 0) {\n    _downKeys.splice(i, 1);\n  }\n\n  if (key == 93 || key == 224) key = 91;\n  if (key in _mods) {\n    _mods[key] = false;\n    for (k in _MODIFIERS) if (_MODIFIERS[k] == key) assignKey[k] = false;\n  }\n}\n\nfunction resetModifiers() {\n  for (k in _mods) _mods[k] = false;\n  for (k in _MODIFIERS) assignKey[k] = false;\n}\n\n// parse and assign shortcut\nfunction assignKey(key, scope, method) {\n  var keys, mods;\n  keys = getKeys(key);\n  if (method === undefined) {\n    method = scope;\n    scope = 'all';\n  }\n\n  // for each shortcut\n  for (var i = 0; i < keys.length; i++) {\n    // set modifier keys if any\n    mods = [];\n    key = keys[i].split('+');\n    if (key.length > 1) {\n      mods = getMods(key);\n      key = [key[key.length - 1]];\n    }\n    // convert to keycode and...\n    key = key[0];\n    key = code(key);\n    // ...store handler\n    if (!(key in _handlers)) _handlers[key] = [];\n    _handlers[key].push({\n      shortcut: keys[i],\n      scope: scope,\n      method: method,\n      key: keys[i],\n      mods: mods,\n    });\n  }\n}\n\n// unbind all handlers for given key in current scope\nfunction unbindKey(key, scope) {\n  var multipleKeys,\n    keys,\n    mods = [],\n    i,\n    j,\n    obj;\n\n  multipleKeys = getKeys(key);\n\n  for (j = 0; j < multipleKeys.length; j++) {\n    keys = multipleKeys[j].split('+');\n\n    if (keys.length > 1) {\n      mods = getMods(keys);\n    }\n\n    key = keys[keys.length - 1];\n    key = code(key);\n\n    if (scope === undefined) {\n      scope = getScope();\n    }\n    if (!_handlers[key]) {\n      return;\n    }\n    for (i = 0; i < _handlers[key].length; i++) {\n      obj = _handlers[key][i];\n      // only clear handlers if correct scope and mods match\n      if (obj.scope === scope && compareArray(obj.mods, mods)) {\n        _handlers[key][i] = {};\n      }\n    }\n  }\n}\n\n// Returns true if the key with code 'keyCode' is currently down\n// Converts strings into key codes.\nfunction isPressed(keyCode) {\n  if (typeof keyCode == 'string') {\n    keyCode = code(keyCode);\n  }\n  return index(_downKeys, keyCode) != -1;\n}\n\nfunction getPressedKeyCodes() {\n  return _downKeys.slice(0);\n}\n\nfunction filter(event) {\n  var tagName = (event.target || event.srcElement).tagName;\n  // ignore keypressed in any elements that support keyboard data input\n  return !(tagName == 'INPUT' || tagName == 'SELECT' || tagName == 'TEXTAREA');\n}\n\n// initialize key.<modifier> to false\nfor (k in _MODIFIERS) assignKey[k] = false;\n\n// set current scope (default 'all')\nfunction setScope(scope) {\n  _scope = scope || 'all';\n}\n\nfunction getScope() {\n  return _scope || 'all';\n}\n\n// delete all handlers for a given scope\nfunction deleteScope(scope) {\n  var key, handlers, i;\n\n  for (key in _handlers) {\n    handlers = _handlers[key];\n    for (i = 0; i < handlers.length; ) {\n      if (handlers[i].scope === scope) handlers.splice(i, 1);\n      else i++;\n    }\n  }\n}\n\n// abstract key logic for assign and unassign\nfunction getKeys(key) {\n  var keys;\n  key = key.replace(/\\s/g, '');\n  keys = key.split(',');\n  if (keys[keys.length - 1] == '') {\n    keys[keys.length - 2] += ',';\n  }\n  return keys;\n}\n\n// abstract mods logic for assign and unassign\nfunction getMods(key) {\n  var mods = key.slice(0, key.length - 1);\n  for (var mi = 0; mi < mods.length; mi++) mods[mi] = _MODIFIERS[mods[mi]];\n  return mods;\n}\n\n// cross-browser events\nfunction addEvent(object, event, method) {\n  if (object.addEventListener) object.addEventListener(event, method, false);\n  else if (object.attachEvent)\n    object.attachEvent('on' + event, function () {\n      method(window.event);\n    });\n}\n\n// set window.key and window.key.set/get/deleteScope, and the default filter\nassignKey.setScope = setScope;\nassignKey.getScope = getScope;\nassignKey.deleteScope = deleteScope;\nassignKey.filter = filter;\nassignKey.isPressed = isPressed;\nassignKey.getPressedKeyCodes = getPressedKeyCodes;\nassignKey.unbind = unbindKey;\nassignKey.handlers = _handlers;\nassignKey.init = win => {\n  // set the handlers globally on document\n  // Passing _scope to a callback to ensure it remains the same by execution. Fixes #48\n  addEvent(win.document, 'keydown', function (event) {\n    dispatch(event);\n  });\n  addEvent(win.document, 'keyup', clearModifier);\n  addEvent(win, 'focus', resetModifiers);\n};\n\nexport default assignKey;\n","/**\n * You can customize the initial state of the module from the editor initialization\n * ```js\n * const editor = grapesjs.init({\n *  keymaps: {\n *     // Object of keymaps\n *    defaults: {\n *      'your-namespace:keymap-name' {\n *        keys: '⌘+z, ctrl+z',\n *        handler: 'some-command-id'\n *      },\n *      ...\n *    }\n *  }\n * })\n * ```\n *\n * Once the editor is instantiated you can use its API and listen to its events. Before using these methods, you should get the module from the instance.\n *\n * ```js\n * // Listen to events\n * editor.on('keymap:add', () => { ... });\n *\n * // Use the API\n * const keymaps = editor.Keymaps;\n * keymaps.add(...);\n * ```\n *\n * ## Available Events\n * * `keymap:add` - New keymap added. The new keyamp object is passed as an argument\n * * `keymap:remove` - Keymap removed. The removed keyamp object is passed as an argument\n * * `keymap:emit` - Some keymap emitted, in arguments you get keymapId, shortcutUsed, Event\n * * `keymap:emit:{keymapId}` - `keymapId` emitted, in arguments you get keymapId, shortcutUsed, Event\n *\n * ## Methods\n * * [getConfig](#getconfig)\n * * [add](#add)\n * * [get](#get)\n * * [getAll](#getAll)\n * * [remove](#remove)\n * * [removeAll](#removeall)\n *\n * @module Keymaps\n */\n\nimport { isString } from 'underscore';\nimport { hasWin } from 'utils/mixins';\nimport keymaster from 'utils/keymaster';\n\nhasWin() && keymaster.init(window);\n\nexport default () => {\n  const configDef = {\n    defaults: {\n      'core:undo': {\n        keys: '⌘+z, ctrl+z',\n        handler: 'core:undo',\n      },\n      'core:redo': {\n        keys: '⌘+shift+z, ctrl+shift+z',\n        handler: 'core:redo',\n      },\n      'core:copy': {\n        keys: '⌘+c, ctrl+c',\n        handler: 'core:copy',\n      },\n      'core:paste': {\n        keys: '⌘+v, ctrl+v',\n        handler: 'core:paste',\n      },\n      'core:component-next': {\n        keys: 's',\n        handler: 'core:component-next',\n      },\n      'core:component-prev': {\n        keys: 'w',\n        handler: 'core:component-prev',\n      },\n      'core:component-enter': {\n        keys: 'd',\n        handler: 'core:component-enter',\n      },\n      'core:component-exit': {\n        keys: 'a',\n        handler: 'core:component-exit',\n      },\n      'core:component-delete': {\n        keys: 'backspace, delete',\n        handler: 'core:component-delete',\n        opts: { prevent: 1 },\n      },\n    },\n  };\n\n  return {\n    keymaster,\n\n    name: 'Keymaps',\n\n    /**\n     * Get module configurations\n     * @return {Object} Configuration object\n     */\n    getConfig() {\n      return this.config;\n    },\n\n    /**\n     * Initialize module\n     * @param {Object} config Configurations\n     * @private\n     */\n    init(opts = {}) {\n      this.config = { ...configDef, ...opts };\n      this.em = this.config.em;\n      this.keymaps = {};\n      return this;\n    },\n\n    onLoad() {\n      const defKeys = this.config.defaults;\n\n      for (let id in defKeys) {\n        const value = defKeys[id];\n        this.add(id, value.keys, value.handler, value.opts || {});\n      }\n    },\n\n    /**\n     * Add new keymap\n     * @param {string} id Keymap id\n     * @param {string} keys Keymap keys, eg. `ctrl+a`, `⌘+z, ctrl+z`\n     * @param {Function|string} handler Keymap handler, might be a function\n     * @param {Object} [opts={}] Options\n     * @return {Object} Added keymap\n     *  or just a command id as a string\n     * @example\n     * // 'ns' is just a custom namespace\n     * keymaps.add('ns:my-keymap', '⌘+j, ⌘+u, ctrl+j, alt+u', editor => {\n     *  console.log('do stuff');\n     * });\n     * // or\n     * keymaps.add('ns:my-keymap', '⌘+s, ctrl+s', 'some-gjs-command');\n     *\n     * // listen to events\n     * editor.on('keymap:emit', (id, shortcut, e) => {\n     *  // ...\n     * })\n     */\n    add(id, keys, handler, opts = {}) {\n      const { em } = this;\n      const cmd = em.get('Commands');\n      const editor = em.getEditor();\n      const canvas = em.get('Canvas');\n      const keymap = { id, keys, handler };\n      const pk = this.keymaps[id];\n      pk && this.remove(id);\n      this.keymaps[id] = keymap;\n      keymaster(keys, (e, h) => {\n        // It's safer putting handlers resolution inside the callback\n        const opt = { event: e, h };\n        handler = isString(handler) ? cmd.get(handler) : handler;\n        const ableTorun = !em.isEditing() && !editor.Canvas.isInputFocused();\n        if (ableTorun || opts.force) {\n          opts.prevent && canvas.getCanvasView().preventDefault(e);\n          typeof handler == 'object' ? cmd.runCommand(handler, opt) : handler(editor, 0, opt);\n          const args = [id, h.shortcut, e];\n          em.trigger('keymap:emit', ...args);\n          em.trigger(`keymap:emit:${id}`, ...args);\n        }\n      });\n      em.trigger('keymap:add', keymap);\n      return keymap;\n    },\n\n    /**\n     * Get the keymap by id\n     * @param {string} id Keymap id\n     * @return {Object} Keymap object\n     * @example\n     * keymaps.get('ns:my-keymap');\n     * // -> {keys, handler};\n     */\n    get(id) {\n      return this.keymaps[id];\n    },\n\n    /**\n     * Get all keymaps\n     * @return {Object}\n     * @example\n     * keymaps.getAll();\n     * // -> {id1: {}, id2: {}};\n     */\n    getAll() {\n      return this.keymaps;\n    },\n\n    /**\n     * Remove the keymap by id\n     * @param {string} id Keymap id\n     * @return {Object} Removed keymap\n     * @example\n     * keymaps.remove('ns:my-keymap');\n     * // -> {keys, handler};\n     */\n    remove(id) {\n      const em = this.em;\n      const keymap = this.get(id);\n\n      if (keymap) {\n        delete this.keymaps[id];\n        keymap.keys.split(', ').forEach(k => keymaster.unbind(k.trim()));\n        em && em.trigger('keymap:remove', keymap);\n        return keymap;\n      }\n    },\n\n    /**\n     * Remove all binded keymaps\n     * @return {this}\n     */\n    removeAll() {\n      Object.keys(this.keymaps).forEach(keymap => this.remove(keymap));\n      keymaster.handlers = {};\n      return this;\n    },\n\n    destroy() {\n      this.removeAll();\n      this.keymaps = {};\n      this.em = {};\n    },\n  };\n};\n","export default {\n  stylePrefix: 'mdl-',\n\n  title: '',\n\n  content: '',\n\n  backdrop: true,\n\n  // Avoid rendering the default modal.\n  custom: false,\n\n  /**\n   * Extend ModalView object (view/ModalView.js)\n   * @example\n   * extend: {\n   *   template() {\n   *     return '<div>...New modal template...</div>';\n   *   },\n   * },\n   */\n  extend: {}\n};\n","import { Model } from 'backbone';\n\nexport default class Modal extends Model {\n  defaults() {\n    return {\n      title: '',\n      content: '',\n      attributes: {},\n      open: false\n    };\n  }\n\n  open() {\n    this.set('open', true);\n  }\n\n  close() {\n    this.set('open', false);\n  }\n}\n","import { View } from 'backbone';\n\nexport default class ModalView extends View {\n  template({ pfx, ppfx, content, title }) {\n    return `<div class=\"${pfx}dialog ${ppfx}one-bg ${ppfx}two-color\">\n      <div class=\"${pfx}header\">\n        <div class=\"${pfx}title\">${title}</div>\n        <div class=\"${pfx}btn-close\" data-close-modal>&Cross;</div>\n      </div>\n      <div class=\"${pfx}content\">\n        <div id=\"${pfx}c\">${content}</div>\n        <div style=\"clear:both\"></div>\n      </div>\n    </div>\n    <div class=\"${pfx}collector\" style=\"display: none\"></div>`;\n  }\n\n  events() {\n    return {\n      click: 'onClick',\n      'click [data-close-modal]': 'hide'\n    };\n  }\n\n  initialize(o) {\n    const model = this.model;\n    const config = o.config || {};\n    const pfx = config.stylePrefix || '';\n    this.config = config;\n    this.pfx = pfx;\n    this.ppfx = config.pStylePrefix || '';\n    this.listenTo(model, 'change:open', this.updateOpen);\n    this.listenTo(model, 'change:title', this.updateTitle);\n    this.listenTo(model, 'change:content', this.updateContent);\n  }\n\n  onClick(e) {\n    const bkd = this.config.backdrop;\n    bkd && e.target === this.el && this.hide();\n  }\n\n  /**\n   * Returns collector element\n   * @return {HTMLElement}\n   * @private\n   */\n  getCollector() {\n    if (!this.$collector)\n      this.$collector = this.$el.find('.' + this.pfx + 'collector');\n    return this.$collector;\n  }\n\n  /**\n   * Returns content element\n   * @return {HTMLElement}\n   * @private\n   */\n  getContent() {\n    const pfx = this.pfx;\n\n    if (!this.$content) {\n      this.$content = this.$el.find(`.${pfx}content #${pfx}c`);\n    }\n\n    return this.$content;\n  }\n\n  /**\n   * Returns title element\n   * @return {HTMLElement}\n   * @private\n   */\n  getTitle(opts = {}) {\n    if (!this.$title) this.$title = this.$el.find('.' + this.pfx + 'title');\n    return opts.$ ? this.$title : this.$title.get(0);\n  }\n\n  /**\n   * Update content\n   * @private\n   * */\n  updateContent() {\n    var content = this.getContent();\n    const children = content.children();\n    const coll = this.getCollector();\n    const body = this.model.get('content');\n    children.length && coll.append(children);\n    content.empty().append(body);\n  }\n\n  /**\n   * Update title\n   * @private\n   * */\n  updateTitle() {\n    const title = this.getTitle({ $: true });\n    title && title.empty().append(this.model.get('title'));\n  }\n\n  /**\n   * Update open\n   * @private\n   * */\n  updateOpen() {\n    this.el.style.display = this.model.get('open') ? '' : 'none';\n  }\n\n  /**\n   * Hide modal\n   * @private\n   * */\n  hide() {\n    this.model.close();\n  }\n\n  /**\n   * Show modal\n   * @private\n   * */\n  show() {\n    this.model.open();\n  }\n\n  updateAttr(attr) {\n    const { pfx, $el, el } = this;\n    const currAttr = [].slice.call(el.attributes).map(i => i.name);\n    $el.removeAttr(currAttr.join(' '));\n    $el.attr({\n      ...(attr || {}),\n      class: `${pfx}container ${(attr && attr.class) || ''}`.trim()\n    });\n  }\n\n  render() {\n    const el = this.$el;\n    const obj = this.model.toJSON();\n    obj.pfx = this.pfx;\n    obj.ppfx = this.ppfx;\n    el.html(this.template(obj));\n    this.updateAttr();\n    this.updateOpen();\n    return this;\n  }\n}\n","/**\n * You can customize the initial state of the module from the editor initialization, by passing the following [Configuration Object](https://github.com/artf/grapesjs/blob/master/src/modal_dialog/config/config.js)\n * ```js\n * const editor = grapesjs.init({\n *  modal: {\n *    // options\n *  }\n * })\n * ```\n *\n * Once the editor is instantiated you can use its API. Before using these methods you should get the module from the instance\n *\n * ```js\n * const modal = editor.Modal;\n * ```\n *\n * ## Available Events\n * * `modal:open` - Modal is opened\n * * `modal:close` - Modal is closed\n * * `modal` - Event triggered on any change related to the modal. An object containing all the available data about the triggered event is passed as an argument to the callback.\n *\n * ## Methods\n * * [open](#open)\n * * [close](#close)\n * * [isOpen](#isopen)\n * * [setTitle](#settitle)\n * * [getTitle](#gettitle)\n * * [setContent](#setcontent)\n * * [getContent](#getcontent)\n * * [onceClose](#onceclose)\n * * [onceOpen](#onceopen)\n *\n * @module Modal\n */\n\nimport { debounce, isFunction, isString } from 'underscore';\nimport { createText } from '../utils/dom';\nimport defaults from './config/config';\nimport ModalM from './model/Modal';\nimport ModalView from './view/ModalView';\n\nexport default () => {\n  var c = {};\n  var model, modal;\n\n  const triggerEvent = (enable, em) => {\n    em && em.trigger(`modal:${enable ? 'open' : 'close'}`);\n  };\n\n  return {\n    /**\n     * Name of the module\n     * @type {String}\n     * @private\n     */\n    name: 'Modal',\n\n    getConfig() {\n      return c;\n    },\n\n    /**\n     * Initialize module. Automatically called with a new instance of the editor\n     * @param {Object} config Configurations\n     * @private\n     */\n    init(config = {}) {\n      c = {\n        ...defaults,\n        ...config\n      };\n\n      const em = c.em;\n      this.em = em;\n      var ppfx = c.pStylePrefix;\n      if (ppfx) c.stylePrefix = ppfx + c.stylePrefix;\n\n      model = new ModalM(c);\n      model.on('change:open', (m, enb) => triggerEvent(enb, em));\n      model.on(\n        'change',\n        debounce(() => {\n          const data = this._evData();\n          const { custom } = this.getConfig();\n          isFunction(custom) && custom(data);\n          em.trigger('modal', data);\n        })\n      );\n\n      return this;\n    },\n\n    _evData() {\n      const titl = this.getTitle();\n      const cnt = this.getContent();\n      const { open, attributes } = model.attributes;\n      return {\n        open,\n        attributes,\n        title: isString(titl) ? createText(titl) : titl,\n        content: isString(cnt) ? createText(cnt) : cnt.get ? cnt.get(0) : cnt,\n        close: () => this.close()\n      };\n    },\n\n    postRender(view) {\n      const el = view.model.getConfig().el || view.el;\n      const res = this.render();\n      res && res.appendTo(el);\n    },\n\n    /**\n     * Open the modal window\n     * @param {Object} [opts={}] Options\n     * @param {String|HTMLElement} [opts.title] Title to set for the modal\n     * @param {String|HTMLElement} [opts.content] Content to set for the modal\n     * @param {Object} [opts.attributes] Updates the modal wrapper with custom attributes\n     * @returns {this}\n     * @example\n     * modal.open({\n     *   title: 'My title',\n     *   content: 'My content',\n     *   attributes: { class: 'my-class' },\n     * });\n     */\n    open(opts = {}) {\n      const attr = opts.attributes || {};\n      opts.title && this.setTitle(opts.title);\n      opts.content && this.setContent(opts.content);\n      model.set('attributes', attr);\n      model.open();\n      modal && modal.updateAttr(attr);\n      return this;\n    },\n\n    /**\n     * Close the modal window\n     * @returns {this}\n     * @example\n     * modal.close();\n     */\n    close() {\n      model.close();\n      return this;\n    },\n\n    /**\n     * Execute callback when the modal will be closed.\n     * The callback will be called one only time\n     * @param {Function} clb Callback to call\n     * @returns {this}\n     * @example\n     * modal.onceClose(() => {\n     *  console.log('The modal is closed');\n     * });\n     */\n    onceClose(clb) {\n      this.em.once('modal:close', clb);\n      return this;\n    },\n\n    /**\n     * Execute callback when the modal will be opened.\n     * The callback will be called one only time\n     * @param {Function} clb Callback to call\n     * @returns {this}\n     * @example\n     * modal.onceOpen(() => {\n     *  console.log('The modal is opened');\n     * });\n     */\n    onceOpen(clb) {\n      this.em.once('modal:open', clb);\n      return this;\n    },\n\n    /**\n     * Checks if the modal window is open\n     * @returns {Boolean}\n     * @example\n     * modal.isOpen(); // true | false\n     */\n    isOpen() {\n      return !!model.get('open');\n    },\n\n    /**\n     * Set the title to the modal window\n     * @param {string | HTMLElement} title Title\n     * @returns {this}\n     * @example\n     * // pass a string\n     * modal.setTitle('Some title');\n     * // or an HTMLElement\n     * const el = document.createElement('div');\n     * el.innerText =  'New title';\n     * modal.setTitle(el);\n     */\n    setTitle(title) {\n      model.set('title', title);\n      return this;\n    },\n\n    /**\n     * Returns the title of the modal window\n     * @returns {string | HTMLElement}\n     * @example\n     * modal.getTitle();\n     */\n    getTitle() {\n      return model.get('title');\n    },\n\n    /**\n     * Set the content of the modal window\n     * @param {string | HTMLElement} content Content\n     * @returns {this}\n     * @example\n     * // pass a string\n     * modal.setContent('Some content');\n     * // or an HTMLElement\n     * const el = document.createElement('div');\n     * el.innerText =  'New content';\n     * modal.setContent(el);\n     */\n    setContent(content) {\n      model.set('content', ' ');\n      model.set('content', content);\n      return this;\n    },\n\n    /**\n     * Get the content of the modal window\n     * @returns {string | HTMLElement}\n     * @example\n     * modal.getContent();\n     */\n    getContent() {\n      return model.get('content');\n    },\n\n    /**\n     * Returns content element\n     * @return {HTMLElement}\n     * @private\n     */\n    getContentEl() {\n      return modal.getContent().get(0);\n    },\n\n    /**\n     * Returns modal model\n     * @return {Model}\n     * @private\n     */\n    getModel() {\n      return model;\n    },\n\n    /**\n     * Render the modal window\n     * @return {HTMLElement}\n     * @private\n     */\n    render() {\n      if (this.getConfig().custom) return;\n      const View = ModalView.extend(c.extend);\n      const el = modal && modal.el;\n      modal = new View({\n        el,\n        model,\n        config: c\n      });\n      return modal.render().$el;\n    },\n\n    destroy() {\n      modal && modal.remove();\n      [c, model, modal].forEach(i => (i = {}));\n      this.em = {};\n    }\n  };\n};\n","export default {\n  stylePrefix: '',\n\n  // Specify the element to use as a container, string (query) or HTMLElement\n  // With the empty value, nothing will be rendered\n  appendTo: '',\n\n  // Enable/Disable globally the possibility to sort layers\n  sortable: 1,\n\n  // Enable/Disable globally the possibility to hide layers\n  hidable: 1,\n\n  // Hide textnodes\n  hideTextnode: 1,\n\n  // Indicate a query string of the element to be selected as the root of layers.\n  // By default the root is the wrapper\n  root: '',\n\n  // Indicates if the wrapper is visible in layers\n  showWrapper: 1,\n\n  // Show hovered components in canvas\n  showHover: 1,\n\n  // Scroll to selected component in Canvas when it's selected in Layers\n  // true, false or `scrollIntoView`-like options,\n  // `block: 'nearest'` avoids the issue of window scrolling\n  scrollCanvas: { behavior: 'smooth', block: 'nearest' },\n\n  // Scroll to selected component in Layers when it's selected in Canvas\n  // true, false or `scrollIntoView`-like options\n  scrollLayers: { behavior: 'auto', block: 'nearest' },\n\n  // Highlight when a layer component is hovered\n  highlightHover: 1,\n\n  /**\n   * WARNING: Experimental option\n   * A callback triggered once the component layer is initialized.\n   * Useful to trigger updates on some component prop change.\n   * @example\n   * onInit({ component, render, listenTo }) {\n   *  listenTo(component, 'change:some-prop', render);\n   * };\n   */\n  onInit: () => {},\n\n  /**\n   * WARNING: Experimental option\n   * A callback triggered once the component layer is rendered.\n   * A callback useful to update the layer DOM on some component change\n   * @example\n   * onRender({ component, el }) { // el is the DOM of the layer\n   *  if (component.get('some-prop')) {\n   *    // do changes using the `el` DOM\n   *  }\n   * }\n   */\n  onRender: () => {},\n\n  /**\n   * Extend Layer view object (view/ItemView.js)\n   * @example\n   * extend: {\n   *   setName(name) {\n   *     // this.model is the component of the layer\n   *     this.model.set('another-prop-for-name', name);\n   *   },\n   * },\n   */\n  extend: {}\n};\n","import { isUndefined, isString, bindAll } from 'underscore';\nimport { getModel, isEscKey, isEnterKey } from 'utils/mixins';\nimport Backbone from 'backbone';\nimport ComponentView from 'dom_components/view/ComponentView';\nimport { eventDrag } from 'dom_components/model/Component';\n\nconst inputProp = 'contentEditable';\nconst styleOpts = { mediaText: '' };\nconst $ = Backbone.$;\nconst isStyleHidden = (style = {}) => {\n  return (style.display || '').trim().indexOf('none') === 0;\n};\nlet ItemsView;\n\nexport default Backbone.View.extend({\n  events: {\n    'mousedown [data-toggle-move]': 'startSort',\n    'touchstart [data-toggle-move]': 'startSort',\n    'click [data-toggle-visible]': 'toggleVisibility',\n    'click [data-toggle-open]': 'toggleOpening',\n    'click [data-toggle-select]': 'handleSelect',\n    'mouseover [data-toggle-select]': 'handleHover',\n    'mouseout [data-toggle-select]': 'handleHoverOut',\n    'dblclick [data-name]': 'handleEdit',\n    'keydown [data-name]': 'handleEditKey',\n    'focusout [data-name]': 'handleEditEnd',\n  },\n\n  template(model) {\n    const { pfx, ppfx, config, clsNoEdit } = this;\n    const { hidable } = config;\n    const count = this.countChildren(model);\n    const addClass = !count ? this.clsNoChild : '';\n    const clsTitle = `${this.clsTitle} ${addClass}`;\n    const clsTitleC = `${this.clsTitleC} ${ppfx}one-bg`;\n    const clsCaret = `${this.clsCaret} fa fa-chevron-right`;\n    const clsInput = `${this.inputNameCls} ${clsNoEdit} ${ppfx}no-app`;\n    const level = this.level + 1;\n    const gut = `${30 + level * 10}px`;\n    const name = model.getName();\n    const icon = model.getIcon();\n    const clsBase = `${pfx}layer`;\n\n    return `\n      ${\n        hidable\n          ? `<i class=\"${pfx}layer-vis fa fa-eye ${this.isVisible() ? '' : 'fa-eye-slash'}\" data-toggle-visible></i>`\n          : ''\n      }\n      <div class=\"${clsTitleC}\">\n        <div class=\"${clsTitle}\" style=\"padding-left: ${gut}\" data-toggle-select>\n          <div class=\"${pfx}layer-title-inn\" title=\"${name}\">\n            <i class=\"${clsCaret}\" data-toggle-open></i>\n            ${icon ? `<span class=\"${clsBase}__icon\">${icon}</span>` : ''}\n            <span class=\"${clsInput}\" data-name>${name}</span>\n          </div>\n        </div>\n      </div>\n      <div class=\"${this.clsCount}\" data-count>${count || ''}</div>\n      <div class=\"${this.clsMove}\" data-toggle-move>\n        <i class=\"fa fa-arrows\"></i>\n      </div>\n      <div class=\"${this.clsChildren}\"></div>`;\n  },\n\n  initialize(o = {}) {\n    bindAll(this, '__render');\n    this.opt = o;\n    this.level = o.level;\n    const config = o.config || {};\n    const { onInit } = config;\n    this.config = config;\n    this.em = o.config.em;\n    this.ppfx = this.em.get('Config').stylePrefix;\n    this.sorter = o.sorter || '';\n    this.pfx = this.config.stylePrefix;\n    this.parentView = o.parentView;\n    const pfx = this.pfx;\n    const ppfx = this.ppfx;\n    const model = this.model;\n    const components = model.get('components');\n    const type = model.get('type') || 'default';\n    model.set('open', false);\n    this.listenTo(components, 'remove add reset', this.checkChildren);\n    [\n      ['change:status', this.updateStatus],\n      ['change:open', this.updateOpening],\n      ['change:layerable', this.updateLayerable],\n      ['change:style:display', this.updateVisibility],\n      ['rerender:layer', this.render],\n      ['change:name change:custom-name', this.updateName],\n    ].forEach(item => this.listenTo(model, item[0], item[1]));\n    this.className = `${pfx}layer ${pfx}layer__t-${type} no-select ${ppfx}two-color`;\n    this.inputNameCls = `${ppfx}layer-name`;\n    this.clsTitleC = `${pfx}layer-title-c`;\n    this.clsTitle = `${pfx}layer-title`;\n    this.clsCaret = `${pfx}layer-caret`;\n    this.clsCount = `${pfx}layer-count`;\n    this.clsMove = `${pfx}layer-move`;\n    this.clsChildren = `${pfx}layer-children`;\n    this.clsNoChild = `${pfx}layer-no-chld`;\n    this.clsEdit = `${this.inputNameCls}--edit`;\n    this.clsNoEdit = `${this.inputNameCls}--no-edit`;\n    this.$el.data('model', model);\n    this.$el.data('collection', components);\n    model.viewLayer = this;\n    onInit.bind(this)({\n      component: model,\n      render: this.__render,\n      listenTo: this.listenTo,\n    });\n  },\n\n  updateName() {\n    this.getInputName().innerText = this.model.getName();\n  },\n\n  getVisibilityEl() {\n    if (!this.eyeEl) {\n      this.eyeEl = this.$el.children(`.${this.pfx}layer-vis`);\n    }\n\n    return this.eyeEl;\n  },\n\n  updateVisibility() {\n    const pfx = this.pfx;\n    const model = this.model;\n    const hClass = `${pfx}layer-hidden`;\n    const hideIcon = 'fa-eye-slash';\n    const hidden = isStyleHidden(model.getStyle(styleOpts));\n    const method = hidden ? 'addClass' : 'removeClass';\n    this.$el[method](hClass);\n    this.getVisibilityEl()[method](hideIcon);\n  },\n\n  /**\n   * Toggle visibility\n   * @param\tEvent\n   *\n   * @return \tvoid\n   * */\n  toggleVisibility(e) {\n    e && e.stopPropagation();\n    const { model, em } = this;\n    const prevDspKey = '__prev-display';\n    const prevDisplay = model.get(prevDspKey);\n    const style = model.getStyle(styleOpts);\n    const { display } = style;\n    const hidden = isStyleHidden(style);\n\n    if (hidden) {\n      delete style.display;\n\n      if (prevDisplay) {\n        style.display = prevDisplay;\n        model.unset(prevDspKey);\n      }\n    } else {\n      display && model.set(prevDspKey, display);\n      style.display = 'none';\n    }\n\n    model.setStyle(style, styleOpts);\n    em && em.trigger('component:toggled'); // Updates Style Manager #2938\n  },\n\n  /**\n   * Handle the edit of the component name\n   */\n  handleEdit(e) {\n    e && e.stopPropagation();\n    const { em, $el, clsNoEdit, clsEdit } = this;\n    const inputEl = this.getInputName();\n    inputEl[inputProp] = true;\n    inputEl.focus();\n    document.execCommand('selectAll', false, null);\n    em && em.setEditing(1);\n    $el.find(`.${this.inputNameCls}`).removeClass(clsNoEdit).addClass(clsEdit);\n  },\n\n  handleEditKey(ev) {\n    ev.stopPropagation();\n    (isEscKey(ev) || isEnterKey(ev)) && this.handleEditEnd(ev);\n  },\n\n  /**\n   * Handle with the end of editing of the component name\n   */\n  handleEditEnd(e) {\n    e && e.stopPropagation();\n    const { em, $el, clsNoEdit, clsEdit } = this;\n    const inputEl = this.getInputName();\n    const name = inputEl.textContent;\n    inputEl.scrollLeft = 0;\n    inputEl[inputProp] = false;\n    this.setName(name, { component: this.model, propName: 'custom-name' });\n    em && em.setEditing(0);\n    $el.find(`.${this.inputNameCls}`).addClass(clsNoEdit).removeClass(clsEdit);\n  },\n\n  setName(name, { propName }) {\n    this.model.set(propName, name);\n  },\n\n  /**\n   * Get the input containing the name of the component\n   * @return {HTMLElement}\n   */\n  getInputName() {\n    if (!this.inputName) {\n      this.inputName = this.el.querySelector(`.${this.inputNameCls}`);\n    }\n    return this.inputName;\n  },\n\n  /**\n   * Update item opening\n   *\n   * @return void\n   * */\n  updateOpening() {\n    var opened = this.opt.opened || {};\n    var model = this.model;\n    const chvDown = 'fa-chevron-down';\n\n    if (model.get('open')) {\n      this.$el.addClass('open');\n      this.getCaret().addClass(chvDown);\n      opened[model.cid] = model;\n    } else {\n      this.$el.removeClass('open');\n      this.getCaret().removeClass(chvDown);\n      delete opened[model.cid];\n    }\n  },\n\n  /**\n   * Toggle item opening\n   * @param {Object}\te\n   *\n   * @return void\n   * */\n  toggleOpening(e) {\n    const { model } = this;\n    e.stopImmediatePropagation();\n\n    if (!model.get('components').length) return;\n\n    model.set('open', !model.get('open'));\n  },\n\n  /**\n   * Handle component selection\n   */\n  handleSelect(e) {\n    e.stopPropagation();\n    const { em, config, model } = this;\n\n    if (em) {\n      em.setSelected(model, { fromLayers: 1, event: e });\n      const scroll = config.scrollCanvas;\n      scroll && model.views.forEach(view => view.scrollIntoView(scroll));\n    }\n  },\n\n  /**\n   * Handle component selection\n   */\n  handleHover(e) {\n    e.stopPropagation();\n    const { em, config, model } = this;\n    em && config.showHover && em.setHovered(model, { fromLayers: 1 });\n  },\n\n  handleHoverOut(ev) {\n    ev.stopPropagation();\n    const { em, config } = this;\n    em && config.showHover && em.setHovered(0, { fromLayers: 1 });\n  },\n\n  /**\n   * Delegate to sorter\n   * @param\tEvent\n   * */\n  startSort(e) {\n    e.stopPropagation();\n    const { em, sorter } = this;\n    // Right or middel click\n    if (e.button && e.button !== 0) return;\n\n    if (sorter) {\n      sorter.onStart = data => em.trigger(`${eventDrag}:start`, data);\n      sorter.onMoveClb = data => em.trigger(eventDrag, data);\n      sorter.startSort(e.target);\n    }\n  },\n\n  /**\n   * Freeze item\n   * @return\tvoid\n   * */\n  freeze() {\n    this.$el.addClass(this.pfx + 'opac50');\n    this.model.set('open', 0);\n  },\n\n  /**\n   * Unfreeze item\n   * @return\tvoid\n   * */\n  unfreeze() {\n    this.$el.removeClass(this.pfx + 'opac50');\n  },\n\n  /**\n   * Update item on status change\n   * @param\tEvent\n   * */\n  updateStatus(e) {\n    ComponentView.prototype.updateStatus.apply(this, [\n      {\n        avoidHover: !this.config.highlightHover,\n        noExtHl: 1,\n      },\n    ]);\n  },\n\n  /**\n   * Check if component is visible\n   *\n   * @return boolean\n   * */\n  isVisible() {\n    return !isStyleHidden(this.model.getStyle());\n  },\n\n  /**\n   * Update item aspect after children changes\n   *\n   * @return void\n   * */\n  checkChildren() {\n    const { model, clsNoChild } = this;\n    const count = this.countChildren(model);\n    const title = this.$el.children(`.${this.clsTitleC}`).children(`.${this.clsTitle}`);\n    let { cnt } = this;\n\n    if (!cnt) {\n      cnt = this.$el.children('[data-count]').get(0);\n      this.cnt = cnt;\n    }\n\n    title[count ? 'removeClass' : 'addClass'](clsNoChild);\n    if (cnt) cnt.innerHTML = count || '';\n    !count && model.set('open', 0);\n  },\n\n  /**\n   * Count children inside model\n   * @param  {Object} model\n   * @return {number}\n   * @private\n   */\n  countChildren(model) {\n    var count = 0;\n    model.get('components').each(function (m) {\n      var isCountable = this.opt.isCountable;\n      var hide = this.config.hideTextnode;\n      if (isCountable && !isCountable(m, hide)) return;\n      count++;\n    }, this);\n    return count;\n  },\n\n  getCaret() {\n    if (!this.caret || !this.caret.length) {\n      const pfx = this.pfx;\n      this.caret = this.$el.children(`.${this.clsTitleC}`).find(`.${this.clsCaret}`);\n    }\n\n    return this.caret;\n  },\n\n  setRoot(el) {\n    el = isString(el) ? this.em.getWrapper().find(el)[0] : el;\n    const model = getModel(el, $);\n    if (!model) return;\n    this.stopListening();\n    this.model = model;\n    this.initialize(this.opt);\n    this._rendered && this.render();\n  },\n\n  updateLayerable() {\n    const { parentView } = this;\n    const toRerender = parentView || this;\n    toRerender.render();\n  },\n\n  __clearItems() {\n    const { items } = this;\n    items && items.remove();\n  },\n\n  remove() {\n    Backbone.View.prototype.remove.apply(this, arguments);\n    this.__clearItems();\n  },\n\n  render() {\n    const { model, config, pfx, ppfx, opt } = this;\n    this.__clearItems();\n    const { isCountable } = opt;\n    const hidden = isCountable && !isCountable(model, config.hideTextnode);\n    const vis = this.isVisible();\n    const el = this.$el.empty();\n    const level = this.level + 1;\n    this.inputName = 0;\n\n    if (isUndefined(ItemsView)) {\n      ItemsView = require('./ItemsView').default;\n    }\n\n    this.items = new ItemsView({\n      ItemView: opt.ItemView,\n      collection: model.get('components'),\n      config: this.config,\n      sorter: this.sorter,\n      opened: this.opt.opened,\n      parentView: this,\n      parent: model,\n      level,\n    });\n    const children = this.items.render().$el;\n\n    if (!this.config.showWrapper && level === 1) {\n      el.append(children);\n    } else {\n      el.html(this.template(model));\n      el.find(`.${this.clsChildren}`).append(children);\n    }\n\n    if (!model.get('draggable') || !this.config.sortable) {\n      el.children(`.${this.clsMove}`).remove();\n    }\n\n    !vis && (this.className += ` ${pfx}hide`);\n    hidden && (this.className += ` ${ppfx}hidden`);\n    el.attr('class', this.className);\n    this.updateOpening();\n    this.updateStatus();\n    this.updateVisibility();\n    this.__render();\n    this._rendered = 1;\n    return this;\n  },\n\n  __render() {\n    const { model, config, el } = this;\n    const { onRender } = config;\n    const opt = { component: model, el };\n    onRender.bind(this)(opt);\n    this.em.trigger('layer:render', opt);\n  },\n});\n","import defaults from './config/config';\nimport View from './view/ItemView';\nimport { isElement } from 'underscore';\n\nexport default () => {\n  let em;\n  let layers;\n  let config = {};\n\n  return {\n    name: 'LayerManager',\n\n    init(opts = {}) {\n      config = { ...defaults, ...opts };\n      config.stylePrefix = opts.pStylePrefix;\n      em = config.em;\n      return this;\n    },\n\n    getConfig() {\n      return config;\n    },\n\n    onLoad() {\n      em && em.on('component:selected', this.componentChanged);\n      this.componentChanged();\n    },\n\n    postRender() {\n      const elTo = config.appendTo;\n      const root = config.root;\n      root && this.setRoot(root);\n\n      if (elTo) {\n        const el = isElement(elTo) ? elTo : document.querySelector(elTo);\n        el.appendChild(this.render());\n      }\n    },\n\n    /**\n     * Set new root for layers\n     * @param {HTMLElement|Component|String} el Component to be set as the root\n     * @return {self}\n     */\n    setRoot(el) {\n      layers && layers.setRoot(el);\n      return this;\n    },\n\n    /**\n     * Get the root of layers\n     * @return {Component}\n     */\n    getRoot() {\n      return layers && layers.model;\n    },\n\n    /**\n     * Return the view of layers\n     * @return {View}\n     */\n    getAll() {\n      return layers;\n    },\n\n    /**\n     * Triggered when the selected component is changed\n     * @private\n     */\n    componentChanged(selected, opts = {}) {\n      if (opts.fromLayers) return;\n      const opened = em.get('opened');\n      const model = em.getSelected();\n      const scroll = config.scrollLayers;\n      let parent = model && model.collection ? model.collection.parent : null;\n      for (let cid in opened) opened[cid].set('open', 0);\n\n      while (parent) {\n        parent.set('open', 1);\n        opened[parent.cid] = parent;\n        parent = parent.collection ? parent.collection.parent : null;\n      }\n\n      if (model && scroll) {\n        const el = model.viewLayer && model.viewLayer.el;\n        el && el.scrollIntoView(scroll);\n      }\n    },\n\n    render() {\n      const ItemView = View.extend(config.extend);\n      layers && layers.remove();\n      layers = new ItemView({\n        ItemView,\n        level: 0,\n        config,\n        opened: config.opened || {},\n        model: em.get('DomComponents').getWrapper()\n      });\n      return layers.render().el;\n    },\n\n    destroy() {\n      layers && layers.remove();\n      [em, layers, config].forEach(i => (i = {}));\n    }\n  };\n};\n","import { View } from 'backbone';\nimport { eventDrag } from 'dom_components/model/Component';\n\nexport default View.extend({\n  initialize(o = {}) {\n    this.items = [];\n    this.opt = o;\n    const config = o.config || {};\n    this.level = o.level;\n    this.config = config;\n    this.preview = o.preview;\n    this.ppfx = config.pStylePrefix || '';\n    this.pfx = config.stylePrefix || '';\n    this.parent = o.parent;\n    this.parentView = o.parentView;\n    const pfx = this.pfx;\n    const ppfx = this.ppfx;\n    const parent = this.parent;\n    const coll = this.collection;\n    this.listenTo(coll, 'add', this.addTo);\n    this.listenTo(coll, 'reset resetNavigator', this.render);\n    this.listenTo(coll, 'remove', this.removeChildren);\n    this.className = `${pfx}layers`;\n    const em = config.em;\n\n    if (config.sortable && !this.opt.sorter) {\n      const utils = em.get('Utils');\n      this.opt.sorter = new utils.Sorter({\n        container: config.sortContainer || this.el,\n        containerSel: `.${this.className}`,\n        itemSel: `.${pfx}layer`,\n        ignoreViewChildren: 1,\n        onEndMove(created, sorter, data) {\n          const srcModel = sorter.getSourceModel();\n          em.setSelected(srcModel, { forceChange: 1 });\n          em.trigger(`${eventDrag}:end`, data);\n        },\n        avoidSelectOnEnd: 1,\n        nested: 1,\n        ppfx,\n        pfx\n      });\n    }\n\n    this.sorter = this.opt.sorter || '';\n\n    // For the sorter\n    this.$el.data('collection', coll);\n    parent && this.$el.data('model', parent);\n  },\n\n  removeChildren(removed) {\n    const view = removed.viewLayer;\n    if (!view) return;\n    view.remove();\n    removed.viewLayer = 0;\n  },\n\n  /**\n   * Add to collection\n   * @param Object Model\n   *\n   * @return Object\n   * */\n  addTo(model) {\n    var i = this.collection.indexOf(model);\n    this.addToCollection(model, null, i);\n  },\n\n  /**\n   * Add new object to collection\n   * @param  Object  Model\n   * @param  Object   Fragment collection\n   * @param  integer  Index of append\n   *\n   * @return Object Object created\n   * */\n  addToCollection(model, fragmentEl, index) {\n    const { level, parentView, opt } = this;\n    const { ItemView } = opt;\n    const fragment = fragmentEl || null;\n    const item = new ItemView({\n      ItemView,\n      level,\n      model,\n      parentView,\n      config: this.config,\n      sorter: this.sorter,\n      isCountable: this.isCountable,\n      opened: this.opt.opened\n    });\n    const rendered = item.render().el;\n\n    if (fragment) {\n      fragment.appendChild(rendered);\n    } else {\n      if (typeof index != 'undefined') {\n        var method = 'before';\n        // If the added model is the last of collection\n        // need to change the logic of append\n        if (this.$el.children().length == index) {\n          index--;\n          method = 'after';\n        }\n        // In case the added is new in the collection index will be -1\n        if (index < 0) {\n          this.$el.append(rendered);\n        } else\n          this.$el\n            .children()\n            .eq(index)\n            [method](rendered);\n      } else this.$el.append(rendered);\n    }\n    this.items.push(item);\n    return rendered;\n  },\n\n  remove() {\n    View.prototype.remove.apply(this, arguments);\n    this.items.map(i => i.remove());\n  },\n\n  /**\n   * Check if the model could be count by the navigator\n   * @param  {Object}  model\n   * @return {Boolean}\n   * @private\n   */\n  isCountable(model, hide) {\n    var type = model.get('type');\n    var tag = model.get('tagName');\n    if (\n      ((type == 'textnode' || tag == 'br') && hide) ||\n      !model.get('layerable')\n    ) {\n      return false;\n    }\n    return true;\n  },\n\n  render() {\n    const frag = document.createDocumentFragment();\n    const el = this.el;\n    el.innerHTML = '';\n    this.collection.each(model => this.addToCollection(model, frag));\n    el.appendChild(frag);\n    el.className = this.className;\n    return this;\n  }\n});\n","import { Model } from 'common';\nimport { result, forEach } from 'underscore';\nimport Frames from 'canvas/model/Frames';\n\nexport default class Page extends Model {\n  defaults() {\n    return {\n      frames: [],\n      _undo: true\n    };\n  }\n\n  initialize(props, opts = {}) {\n    const { config = {} } = opts;\n    const { em } = config;\n    const defFrame = {};\n    this.em = em;\n    if (!props.frames) {\n      defFrame.component = props.component;\n      defFrame.styles = props.styles;\n      ['component', 'styles'].map(i => this.unset(i));\n    }\n    const frms = props.frames || [defFrame];\n    const frames = new Frames(frms, config);\n    frames.page = this;\n    this.set('frames', frames);\n    const um = em && em.get('UndoManager');\n    um && um.add(frames);\n  }\n\n  onRemove() {\n    this.get('frames').reset();\n  }\n\n  getFrames() {\n    return this.get('frames');\n  }\n\n  /**\n   * Get page id\n   * @returns {String}\n   */\n  getId() {\n    return this.id;\n  }\n\n  /**\n   * Get page name\n   * @returns {String}\n   */\n  getName() {\n    return this.get('name');\n  }\n\n  /**\n   * Update page name\n   * @param {String} name New page name\n   * @example\n   * page.setName('New name');\n   */\n  setName(name) {\n    return this.get({ name });\n  }\n\n  /**\n   * Get all frames\n   * @returns {Array<Frame>}\n   * @example\n   * const arrayOfFrames = page.getAllFrames();\n   */\n  getAllFrames() {\n    return this.getFrames().models || [];\n  }\n\n  /**\n   * Get the first frame of the page (identified always as the main one)\n   * @returns {Frame}\n   * @example\n   * const mainFrame = page.getMainFrame();\n   */\n  getMainFrame() {\n    return this.getFrames().at(0);\n  }\n\n  /**\n   * Get the root component (usually is the `wrapper` component) from the main frame\n   * @returns {Component}\n   * @example\n   * const rootComponent = page.getMainComponent();\n   * console.log(rootComponent.toHTML());\n   */\n  getMainComponent() {\n    const frame = this.getMainFrame();\n    return frame && frame.getComponent();\n  }\n\n  toJSON(opts = {}) {\n    const obj = Model.prototype.toJSON.call(this, opts);\n    const defaults = result(this, 'defaults');\n\n    // Remove private keys\n    forEach(obj, (value, key) => {\n      key.indexOf('_') === 0 && delete obj[key];\n    });\n\n    forEach(defaults, (value, key) => {\n      if (obj[key] === value) delete obj[key];\n    });\n\n    return obj;\n  }\n}\n","import { Collection } from 'backbone';\nimport Page from './Page';\n\nexport default class Pages extends Collection {\n  initialize(models, config = {}) {\n    this.config = config;\n    this.on('reset', this.onReset);\n    this.on('remove', this.onRemove);\n  }\n\n  onReset(m, opts = {}) {\n    const prev = opts.previousModels || [];\n    prev.map(p => this.onRemove(p));\n  }\n\n  onRemove(removed) {\n    removed && removed.onRemove();\n  }\n\n  add(m, o = {}) {\n    const { config } = this;\n    return Collection.prototype.add.call(this, m, { ...o, config });\n  }\n}\n\nPages.prototype.model = Page;\n","/**\n * You can customize the initial state of the module from the editor initialization\n * ```js\n * const editor = grapesjs.init({\n *  ....\n *  pageManager: {\n *    pages: [\n *      {\n *        id: 'page-id',\n *        styles: `.my-class { color: red }`, // or a JSON of styles\n *        component: '<div class=\"my-class\">My element</div>', // or a JSON of components\n *      }\n *   ]\n *  },\n * })\n * ```\n *\n * Once the editor is instantiated you can use its API. Before using these methods you should get the module from the instance\n *\n * ```js\n * const pageManager = editor.Pages;\n * ```\n *\n * ## Available Events\n * * `page:add` - Added new page. The page is passed as an argument to the callback\n * * `page:remove` - Page removed. The page is passed as an argument to the callback\n * * `page:select` - New page selected. The newly selected page and the previous one, are passed as arguments to the callback\n * * `page:update` - Page updated. The updated page and the object containing changes are passed as arguments to the callback\n * * `page` - Catch-all event for all the events mentioned above. An object containing all the available data about the triggered event is passed as an argument to the callback\n *\n * ## Methods\n * * [add](#add)\n * * [get](#get)\n * * [getAll](#getall)\n * * [getAllWrappers](#getallwrappers)\n * * [getMain](#getmain)\n * * [remove](#remove)\n * * [select](#select)\n * * [getSelected](#getselected)\n *\n * [Page]: page.html\n * [Component]: component.html\n *\n * @module Pages\n */\n\nimport { isString, bindAll, unique, flatten } from 'underscore';\nimport { createId } from 'utils/mixins';\nimport { Model } from 'backbone';\nimport Pages from './model/Pages';\nimport Page from './model/Page';\n\nexport const evAll = 'page';\nexport const evPfx = `${evAll}:`;\nexport const evPageSelect = `${evPfx}select`;\nexport const evPageSelectBefore = `${evPageSelect}:before`;\nexport const evPageUpdate = `${evPfx}update`;\nexport const evPageAdd = `${evPfx}add`;\nexport const evPageAddBefore = `${evPageAdd}:before`;\nexport const evPageRemove = `${evPfx}remove`;\nexport const evPageRemoveBefore = `${evPageRemove}:before`;\nconst chnSel = 'change:selected';\nconst typeMain = 'main';\n\nexport default () => {\n  return {\n    name: 'PageManager',\n\n    storageKey: 'pages',\n\n    Page,\n\n    Pages,\n\n    events: {\n      all: evAll,\n      select: evPageSelect,\n      selectBefore: evPageSelectBefore,\n      update: evPageUpdate,\n      add: evPageAdd,\n      addBefore: evPageAddBefore,\n      remove: evPageRemove,\n      removeBefore: evPageRemoveBefore\n    },\n\n    /**\n     * Initialize module\n     * @param {Object} config Configurations\n     * @private\n     */\n    init(opts = {}) {\n      bindAll(this, '_onPageChange');\n      const { em } = opts;\n      const cnf = { ...opts };\n      this.config = cnf;\n      this.em = em;\n      const pages = new Pages([], cnf);\n      this.pages = pages;\n      const model = new Model({ _undo: true });\n      this.model = model;\n      pages.on('add', (p, c, o) => em.trigger(evPageAdd, p, o));\n      pages.on('remove', (p, c, o) => em.trigger(evPageRemove, p, o));\n      pages.on('change', (p, c) => {\n        em.trigger(evPageUpdate, p, p.changedAttributes(), c);\n      });\n      pages.on('reset', coll => coll.at(0) && this.select(coll.at(0)));\n      pages.on('all', this.__onChange, this);\n      model.on(chnSel, this._onPageChange);\n\n      return this;\n    },\n\n    __onChange(event, page, coll, opts) {\n      const options = opts || coll;\n      this.em.trigger(evAll, { event, page, options });\n    },\n\n    onLoad() {\n      const { pages } = this;\n      const opt = { silent: true };\n      pages.add(this.config.pages || [], opt);\n      const mainPage = !pages.length\n        ? this.add({ type: typeMain }, opt)\n        : this.getMain();\n      this.select(mainPage, opt);\n    },\n\n    _onPageChange(m, page, opts) {\n      const { em } = this;\n      const lm = em.get('LayerManager');\n      const mainComp = page.getMainComponent();\n      lm && mainComp && lm.setRoot(mainComp);\n      em.trigger(evPageSelect, page, m.previous('selected'));\n      this.__onChange(chnSel, page, opts);\n    },\n\n    postLoad() {\n      const { em, model } = this;\n      const um = em.get('UndoManager');\n      um && um.add(model);\n      um && um.add(this.pages);\n    },\n\n    /**\n     * Add new page\n     * @param {Object} props Page properties\n     * @param {Object} [opts] Options\n     * @returns {[Page]}\n     * @example\n     * const newPage = pageManager.add({\n     *  id: 'new-page-id', // without an explicit ID, a random one will be created\n     *  styles: `.my-class { color: red }`, // or a JSON of styles\n     *  component: '<div class=\"my-class\">My element</div>', // or a JSON of components\n     * });\n     */\n    add(props, opts = {}) {\n      const { em } = this;\n      props.id = props.id || this._createId();\n      const add = () => {\n        const page = this.pages.add(props, opts);\n        opts.select && this.select(page);\n        return page;\n      };\n      !opts.silent && em.trigger(evPageAddBefore, props, add, opts);\n      return !opts.abort && add();\n    },\n\n    /**\n     * Remove page\n     * @param {String|[Page]} page Page or page id\n     * @returns {[Page]} Removed Page\n     * @example\n     * const removedPage = pageManager.remove('page-id');\n     * // or by passing the page\n     * const somePage = pageManager.get('page-id');\n     * pageManager.remove(somePage);\n     */\n    remove(page, opts = {}) {\n      const { em } = this;\n      const pg = isString(page) ? this.get(page) : page;\n      const rm = () => {\n        pg && this.pages.remove(pg, opts);\n        return pg;\n      };\n      !opts.silent && em.trigger(evPageRemoveBefore, pg, rm, opts);\n      return !opts.abort && rm();\n    },\n\n    /**\n     * Get page by id\n     * @param {String} id Page id\n     * @returns {[Page]}\n     * @example\n     * const somePage = pageManager.get('page-id');\n     */\n    get(id) {\n      return this.pages.filter(p => p.get('id') === id)[0];\n    },\n\n    /**\n     * Get main page (the first one available)\n     * @returns {[Page]}\n     * @example\n     * const mainPage = pageManager.getMain();\n     */\n    getMain() {\n      const { pages } = this;\n      return pages.filter(p => p.get('type') === typeMain)[0] || pages.at(0);\n    },\n\n    /**\n     * Get all pages\n     * @returns {Array<[Page]>}\n     * @example\n     * const arrayOfPages = pageManager.getAll();\n     */\n    getAll() {\n      return [...this.pages.models];\n    },\n\n    /**\n     * Get wrapper components (aka body) from all pages and frames.\n     * @returns {Array<[Component]>}\n     * @example\n     * const wrappers = pageManager.getAllWrappers();\n     * // Get all `image` components from the project\n     * const allImages = wrappers.map(wrp => wrp.findType('image')).flat();\n     */\n    getAllWrappers() {\n      const pages = this.getAll();\n      return unique(\n        flatten(\n          pages.map(page =>\n            page.getAllFrames().map(frame => frame.getComponent())\n          )\n        )\n      );\n    },\n\n    getAllMap() {\n      return this.getAll().reduce((acc, i) => {\n        acc[i.get('id')] = i;\n        return acc;\n      }, {});\n    },\n\n    /**\n     * Change the selected page. This will switch the page rendered in canvas\n     * @param {String|[Page]} page Page or page id\n     * @returns {this}\n     * @example\n     * pageManager.select('page-id');\n     * // or by passing the page\n     * const somePage = pageManager.get('page-id');\n     * pageManager.select(somePage);\n     */\n    select(page, opts = {}) {\n      const pg = isString(page) ? this.get(page) : page;\n      if (pg) {\n        this.em.trigger(evPageSelectBefore, pg, opts);\n        this.model.set('selected', pg, opts);\n      }\n      return this;\n    },\n\n    /**\n     * Get the selected page\n     * @returns {[Page]}\n     * @example\n     * const selectedPage = pageManager.getSelected();\n     */\n    getSelected() {\n      return this.model.get('selected');\n    },\n\n    destroy() {\n      this.pages.off().reset();\n      this.model.stopListening();\n      this.model.clear({ silent: true });\n      ['selected', 'config', 'em', 'pages', 'model'].map(i => (this[i] = 0));\n    },\n\n    store(noStore) {\n      if (!this.em.get('hasPages')) return {};\n      const obj = {};\n      const cnf = this.config;\n      obj[this.storageKey] = JSON.stringify(this.getAll());\n      if (!noStore && cnf.stm) cnf.stm.store(obj);\n      return obj;\n    },\n\n    load(data = {}) {\n      const key = this.storageKey;\n      let res = data[key] || [];\n\n      if (typeof res == 'string') {\n        try {\n          res = JSON.parse(data[key]);\n        } catch (err) {}\n      }\n\n      res && res.length && this.pages.reset(res);\n\n      return res;\n    },\n\n    _createId() {\n      const pages = this.getAll();\n      const len = pages.length + 16;\n      const pagesMap = this.getAllMap();\n      let id;\n\n      do {\n        id = createId(len);\n      } while (pagesMap[id]);\n\n      return id;\n    }\n  };\n};\n","const swv = 'sw-visibility';\nconst expt = 'export-template';\nconst osm = 'open-sm';\nconst otm = 'open-tm';\nconst ola = 'open-layers';\nconst obl = 'open-blocks';\nconst ful = 'fullscreen';\nconst prv = 'preview';\n\nexport default {\n  stylePrefix: 'pn-',\n\n  // Default panels fa-sliders for features\n  defaults: [\n    {\n      id: 'commands',\n      buttons: [{}]\n    },\n    {\n      id: 'options',\n      buttons: [\n        {\n          active: true,\n          id: swv,\n          className: 'fa fa-square-o',\n          command: swv,\n          context: swv,\n          attributes: { title: 'View components' }\n        },\n        {\n          id: prv,\n          className: 'fa fa-eye',\n          command: prv,\n          context: prv,\n          attributes: { title: 'Preview' }\n        },\n        {\n          id: ful,\n          className: 'fa fa-arrows-alt',\n          command: ful,\n          context: ful,\n          attributes: { title: 'Fullscreen' }\n        },\n        {\n          id: expt,\n          className: 'fa fa-code',\n          command: expt,\n          attributes: { title: 'View code' }\n        }\n      ]\n    },\n    {\n      id: 'views',\n      buttons: [\n        {\n          id: osm,\n          className: 'fa fa-paint-brush',\n          command: osm,\n          active: true,\n          togglable: 0,\n          attributes: { title: 'Open Style Manager' }\n        },\n        {\n          id: otm,\n          className: 'fa fa-cog',\n          command: otm,\n          togglable: 0,\n          attributes: { title: 'Settings' }\n        },\n        {\n          id: ola,\n          className: 'fa fa-bars',\n          command: ola,\n          togglable: 0,\n          attributes: { title: 'Open Layer Manager' }\n        },\n        {\n          id: obl,\n          className: 'fa fa-th-large',\n          command: obl,\n          togglable: 0,\n          attributes: { title: 'Open Blocks' }\n        }\n      ]\n    }\n  ],\n\n  // Editor model\n  em: null,\n\n  // Delay before show children buttons (in milliseconds)\n  delayBtnsShow: 300\n};\n","import Backbone from 'backbone';\nimport Buttons from './Buttons';\n\nexport default Backbone.Model.extend({\n  defaults: {\n    id: '',\n    content: '',\n    visible: true,\n    buttons: [],\n    attributes: {}\n  },\n\n  initialize(options) {\n    this.btn = this.get('buttons') || [];\n    this.buttons = new Buttons(this.btn);\n    this.set('buttons', this.buttons);\n  }\n});\n","import Backbone from 'backbone';\nimport Panel from './Panel';\n\nexport default Backbone.Collection.extend({\n  model: Panel\n});\n","import Backbone from 'backbone';\nimport { isString, isObject, isFunction } from 'underscore';\n\nconst $ = Backbone.$;\n\nexport default Backbone.View.extend({\n  tagName() {\n    return this.model.get('tagName');\n  },\n\n  events: {\n    click: 'clicked'\n  },\n\n  initialize(o) {\n    const { model } = this;\n    const cls = model.get('className');\n    const { command, listen } = model.attributes;\n    const config = o.config || {};\n    const { em } = config;\n    this.config = config;\n    this.em = em;\n    const pfx = this.config.stylePrefix || '';\n    const ppfx = this.config.pStylePrefix || '';\n    this.pfx = pfx;\n    this.ppfx = this.config.pStylePrefix || '';\n    this.id = pfx + model.get('id');\n    this.activeCls = `${pfx}active ${ppfx}four-color`;\n    this.disableCls = `${ppfx}disabled`;\n    this.btnsVisCls = `${pfx}visible`;\n    this.className = pfx + 'btn' + (cls ? ' ' + cls : '');\n    this.listenTo(model, 'change', this.render);\n    this.listenTo(model, 'change:active updateActive', this.updateActive);\n    this.listenTo(model, 'checkActive', this.checkActive);\n    this.listenTo(model, 'change:bntsVis', this.updateBtnsVis);\n    this.listenTo(model, 'change:attributes', this.updateAttributes);\n    this.listenTo(model, 'change:className', this.updateClassName);\n    this.listenTo(model, 'change:disable', this.updateDisable);\n\n    if (em && isString(command) && listen) {\n      const chnOpt = { fromListen: 1 };\n      this.listenTo(em, `run:${command}`, () =>\n        model.set('active', true, chnOpt)\n      );\n      this.listenTo(em, `stop:${command}`, () =>\n        model.set('active', false, chnOpt)\n      );\n    }\n\n    if (em && em.get) this.commands = em.get('Commands');\n  },\n\n  /**\n   * Updates class name of the button\n   *\n   * @return   void\n   * */\n  updateClassName() {\n    const { model, pfx } = this;\n    const cls = model.get('className');\n    const attrCls = model.get('attributes').class;\n    const classStr = `${attrCls ? attrCls : ''} ${pfx}btn ${cls ? cls : ''}`;\n    this.$el.attr('class', classStr.trim());\n  },\n\n  /**\n   * Updates attributes of the button\n   *\n   * @return   void\n   * */\n  updateAttributes() {\n    const { em, model, $el } = this;\n    const attr = model.get('attributes') || {};\n    const title = em && em.t && em.t(`panels.buttons.titles.${model.id}`);\n    $el.attr(attr);\n    title && $el.attr({ title });\n\n    this.updateClassName();\n  },\n\n  /**\n   * Updates visibility of children buttons\n   *\n   * @return  void\n   * */\n  updateBtnsVis() {\n    if (!this.$buttons) return;\n\n    if (this.model.get('bntsVis')) this.$buttons.addClass(this.btnsVisCls);\n    else this.$buttons.removeClass(this.btnsVisCls);\n  },\n\n  /**\n   * Update active status of the button\n   *\n   * @return   void\n   * */\n  updateActive(m, v, opts = {}) {\n    const { model, commands, $el, activeCls } = this;\n    const { fromCollection, fromListen } = opts;\n    const context = model.get('context');\n    const options = model.get('options');\n    const commandName = model.get('command');\n    let command = {};\n\n    if (!commandName) return;\n\n    if (commands && isString(commandName)) {\n      command = commands.get(commandName) || {};\n    } else if (isFunction(commandName)) {\n      command = commands.create({ run: commandName });\n    } else if (commandName !== null && isObject(commandName)) {\n      command = commands.create(commandName);\n    }\n\n    if (model.get('active')) {\n      !fromCollection && model.collection.deactivateAll(context, model);\n      model.set('active', true, { silent: true }).trigger('checkActive');\n      !fromListen &&\n        commands.runCommand(command, { ...options, sender: model });\n\n      // Disable button if the command has no stop method\n      command.noStop && model.set('active', false);\n    } else {\n      $el.removeClass(activeCls);\n      !fromListen &&\n        commands.stopCommand(command, { ...options, sender: model, force: 1 });\n    }\n  },\n\n  updateDisable() {\n    const { disableCls, model } = this;\n    const disable = model.get('disable');\n    this.$el[disable ? 'addClass' : 'removeClass'](disableCls);\n  },\n\n  /**\n   * Update active style status\n   *\n   * @return   void\n   * */\n  checkActive() {\n    const { model, $el, activeCls } = this;\n    model.get('active') ? $el.addClass(activeCls) : $el.removeClass(activeCls);\n  },\n\n  /**\n   * Triggered when button is clicked\n   * @param  {Object}  e  Event\n   *\n   * @return   void\n   * */\n  clicked(e) {\n    const { model } = this;\n\n    if (model.get('bntsVis') || model.get('disable') || !model.get('command'))\n      return;\n\n    this.toggleActive();\n  },\n\n  toggleActive() {\n    const { model, em } = this;\n    const { active, togglable } = model.attributes;\n\n    if (active && !togglable) return;\n\n    model.set('active', !active);\n\n    // If the stop is requested\n    if (active) {\n      if (model.get('runDefaultCommand')) em.runDefault();\n    } else {\n      if (model.get('stopDefaultCommand')) em.stopDefault();\n    }\n  },\n\n  render() {\n    const { model } = this;\n    const label = model.get('label');\n    const { $el } = this;\n    !model.get('el') && $el.empty();\n    this.updateAttributes();\n    label && $el.append(label);\n    this.checkActive();\n    this.updateDisable();\n\n    return this;\n  }\n});\n","import Backbone from 'backbone';\nimport ButtonView from './ButtonView';\nimport { result } from 'underscore';\n\nexport default Backbone.View.extend({\n  initialize(o) {\n    this.opt = o || {};\n    this.config = this.opt.config || {};\n    this.pfx = this.config.stylePrefix || '';\n    this.parentM = this.opt.parentM || null;\n    this.listenTo(this.collection, 'add', this.addTo);\n    this.listenTo(this.collection, 'reset remove', this.render);\n    this.className = this.pfx + 'buttons';\n  },\n\n  /**\n   * Add to collection\n   * @param Object Model\n   *\n   * @return Object\n   * */\n  addTo(model) {\n    this.addToCollection(model);\n  },\n\n  /**\n   * Add new object to collection\n   * @param  Object  Model\n   * @param  Object   Fragment collection\n   *\n   * @return Object Object created\n   * */\n  addToCollection(model, fragmentEl) {\n    const fragment = fragmentEl || null;\n    const viewObject = ButtonView;\n    const el = model.get('el');\n    const view = new viewObject({\n      el,\n      model,\n      config: this.config,\n      parentM: this.parentM\n    });\n    const rendered = view.render().el;\n\n    if (fragment) {\n      fragment.appendChild(rendered);\n    } else {\n      this.$el.append(rendered);\n    }\n\n    return rendered;\n  },\n\n  render() {\n    var fragment = document.createDocumentFragment();\n    this.$el.empty();\n\n    this.collection.each(function(model) {\n      this.addToCollection(model, fragment);\n    }, this);\n\n    this.$el.append(fragment);\n    this.$el.attr('class', result(this, 'className'));\n    return this;\n  }\n});\n","import Backbone from 'backbone';\nimport ButtonsView from './ButtonsView';\n\nexport default Backbone.View.extend({\n  initialize(o) {\n    const config = o.config || {};\n    const model = this.model;\n    this.config = config;\n    this.pfx = config.stylePrefix || '';\n    this.ppfx = config.pStylePrefix || '';\n    this.buttons = model.get('buttons');\n    this.className = this.pfx + 'panel';\n    this.id = this.pfx + model.get('id');\n    this.listenTo(model, 'change:appendContent', this.appendContent);\n    this.listenTo(model, 'change:content', this.updateContent);\n    this.listenTo(model, 'change:visible', this.toggleVisible);\n    model.view = this;\n  },\n\n  /**\n   * Append content of the panel\n   * */\n  appendContent() {\n    this.$el.append(this.model.get('appendContent'));\n  },\n\n  /**\n   * Update content\n   * */\n  updateContent() {\n    this.$el.html(this.model.get('content'));\n  },\n\n  toggleVisible() {\n    if (!this.model.get('visible')) {\n      this.$el.addClass(`${this.ppfx}hidden`);\n      return;\n    }\n    this.$el.removeClass(`${this.ppfx}hidden`);\n  },\n\n  attributes() {\n    return this.model.get('attributes');\n  },\n\n  initResize() {\n    const em = this.config.em;\n    const editor = em ? em.get('Editor') : '';\n    const resizable = this.model.get('resizable');\n\n    if (editor && resizable) {\n      var resz = resizable === true ? [1, 1, 1, 1] : resizable;\n      var resLen = resz.length;\n      var tc,\n        cr,\n        bc,\n        cl = 0;\n\n      // Choose which sides of the panel are resizable\n      if (resLen == 2) {\n        tc = resz[0];\n        bc = resz[0];\n        cr = resz[1];\n        cl = resz[1];\n      } else if (resLen == 4) {\n        tc = resz[0];\n        cr = resz[1];\n        bc = resz[2];\n        cl = resz[3];\n      }\n\n      var resizer = editor.Utils.Resizer.init({\n        tc,\n        cr,\n        bc,\n        cl,\n        tl: 0,\n        tr: 0,\n        bl: 0,\n        br: 0,\n        appendTo: this.el,\n        silentFrames: 1,\n        avoidContainerUpdate: 1,\n        prefix: editor.getConfig().stylePrefix,\n        onEnd() {\n          em && em.trigger('change:canvasOffset');\n        },\n        posFetcher: (el, { target }) => {\n          const style = el.style;\n          const config = resizer.getConfig();\n          const keyWidth = config.keyWidth;\n          const keyHeight = config.keyHeight;\n          const rect = el.getBoundingClientRect();\n          const forContainer = target == 'container';\n          const styleWidth = style[keyWidth];\n          const styleHeight = style[keyHeight];\n          const width =\n            styleWidth && !forContainer ? parseFloat(styleWidth) : rect.width;\n          const height =\n            styleHeight && !forContainer\n              ? parseFloat(styleHeight)\n              : rect.height;\n          return {\n            left: 0,\n            top: 0,\n            width,\n            height\n          };\n        },\n        ...resizable\n      });\n      resizer.blur = () => {};\n      resizer.focus(this.el);\n    }\n  },\n\n  render() {\n    const $el = this.$el;\n    const ppfx = this.ppfx;\n    const cls = `${this.className} ${this.id} ${ppfx}one-bg ${ppfx}two-color`;\n    $el.addClass(cls);\n\n    this.toggleVisible();\n\n    if (this.buttons.length) {\n      var buttons = new ButtonsView({\n        collection: this.buttons,\n        config: this.config\n      });\n      $el.append(buttons.render().el);\n    }\n\n    $el.append(this.model.get('content'));\n    return this;\n  }\n});\n","import Backbone from 'backbone';\nimport PanelView from './PanelView';\n\nexport default Backbone.View.extend({\n  initialize(o) {\n    this.opt = o || {};\n    this.config = this.opt.config || {};\n    this.pfx = this.config.stylePrefix || '';\n    const items = this.collection;\n    this.listenTo(items, 'add', this.addTo);\n    this.listenTo(items, 'reset', this.render);\n    this.listenTo(items, 'remove', this.onRemove);\n    this.className = this.pfx + 'panels';\n  },\n\n  onRemove(model) {\n    const view = model.view;\n    view && view.remove();\n  },\n\n  /**\n   * Add to collection\n   * @param Object Model\n   *\n   * @return Object\n   * @private\n   * */\n  addTo(model) {\n    this.addToCollection(model);\n  },\n\n  /**\n   * Add new object to collection\n   * @param  Object  Model\n   * @param  Object   Fragment collection\n   * @param  integer  Index of append\n   *\n   * @return Object Object created\n   * @private\n   * */\n  addToCollection(model, fragmentEl) {\n    const fragment = fragmentEl || null;\n    const config = this.config;\n    const el = model.get('el');\n    const view = new PanelView({\n      el,\n      model,\n      config\n    });\n    const rendered = view.render().el;\n    const appendTo = model.get('appendTo');\n\n    // Do nothing if the panel was requested to be another element\n    if (el) {\n    } else if (appendTo) {\n      var appendEl = document.querySelector(appendTo);\n      appendEl.appendChild(rendered);\n    } else {\n      if (fragment) {\n        fragment.appendChild(rendered);\n      } else {\n        this.$el.append(rendered);\n      }\n    }\n\n    view.initResize();\n    return rendered;\n  },\n\n  render() {\n    const $el = this.$el;\n    const frag = document.createDocumentFragment();\n    $el.empty();\n    this.collection.each(model => this.addToCollection(model, frag));\n    $el.append(frag);\n    $el.attr('class', this.className);\n    return this;\n  }\n});\n","/**\n * You can customize the initial state of the module from the editor initialization, by passing the following [Configuration Object](https://github.com/artf/grapesjs/blob/master/src/panels/config/config.js)\n * ```js\n * const editor = grapesjs.init({\n *  panels: {\n *    // options\n *  }\n * })\n * ```\n *\n * Once the editor is instantiated you can use its API. Before using these methods you should get the module from the instance\n *\n * ```js\n * const panelManager = editor.Panels;\n * ```\n *\n * * [addPanel](#addpanel)\n * * [addButton](#addbutton)\n * * [getButton](#getbutton)\n * * [getPanel](#getpanel)\n * * [getPanels](#getpanels)\n * * [getPanelsEl](#getpanelsel)\n * * [removePanel](#removepanel)\n * * [removeButton](#removebutton)\n *\n * @module Panels\n */\nimport defaults from './config/config';\nimport Panel from './model/Panel';\nimport Panels from './model/Panels';\nimport PanelsView from './view/PanelsView';\n\nexport default () => {\n  var c = {};\n  var panels, PanelsViewObj;\n\n  return {\n    /**\n     * Name of the module\n     * @type {String}\n     * @private\n     */\n    name: 'Panels',\n\n    /**\n     * Initialize module. Automatically called with a new instance of the editor\n     * @param {Object} config Configurations\n     * @private\n     */\n    init(config) {\n      c = config || {};\n      for (var name in defaults) {\n        if (!(name in c)) c[name] = defaults[name];\n      }\n\n      var ppfx = c.pStylePrefix;\n      if (ppfx) c.stylePrefix = ppfx + c.stylePrefix;\n\n      panels = new Panels(c.defaults);\n      return this;\n    },\n\n    /**\n     * Returns the collection of panels\n     * @return {Collection} Collection of panel\n     */\n    getPanels() {\n      return panels;\n    },\n\n    /**\n     * Returns panels element\n     * @return {HTMLElement}\n     */\n    getPanelsEl() {\n      return PanelsViewObj && PanelsViewObj.el;\n    },\n\n    /**\n     * Add new panel to the collection\n     * @param {Object|Panel} panel Object with right properties or an instance of Panel\n     * @return {Panel} Added panel. Useful in case passed argument was an Object\n     * @example\n     * var newPanel = panelManager.addPanel({\n     *   id: 'myNewPanel',\n     *  visible  : true,\n     *  buttons  : [...],\n     * });\n     */\n    addPanel(panel) {\n      return panels.add(panel);\n    },\n\n    /**\n     * Remove a panel from the collection\n     * @param {Object|Panel|String} panel Object with right properties or an instance of Panel or Painel id\n     * @return {Panel} Removed panel. Useful in case passed argument was an Object\n     * @example\n     * const newPanel = panelManager.removePanel({\n     *   id: 'myNewPanel',\n     *  visible  : true,\n     *  buttons  : [...],\n     * });\n     *\n     * const newPanel = panelManager.removePanel('myNewPanel');\n     *\n     */\n    removePanel(panel) {\n      return panels.remove(panel);\n    },\n\n    /**\n     * Get panel by ID\n     * @param  {string} id Id string\n     * @return {Panel|null}\n     * @example\n     * var myPanel = panelManager.getPanel('myNewPanel');\n     */\n    getPanel(id) {\n      var res = panels.where({ id });\n      return res.length ? res[0] : null;\n    },\n\n    /**\n     * Add button to the panel\n     * @param {string} panelId Panel's ID\n     * @param {Object|Button} button Button object or instance of Button\n     * @return {Button|null} Added button. Useful in case passed button was an Object\n     * @example\n     * var newButton = panelManager.addButton('myNewPanel',{\n     *   id: 'myNewButton',\n     *   className: 'someClass',\n     *   command: 'someCommand',\n     *   attributes: { title: 'Some title'},\n     *   active: false,\n     * });\n     * // It's also possible to pass the command as an object\n     * // with .run and .stop methods\n     * ...\n     * command: {\n     *   run: function(editor) {\n     *     ...\n     *   },\n     *   stop: function(editor) {\n     *     ...\n     *   }\n     * },\n     * // Or simply like a function which will be evaluated as a single .run command\n     * ...\n     * command: function(editor) {\n     *   ...\n     * }\n     */\n    addButton(panelId, button) {\n      var pn = this.getPanel(panelId);\n      return pn ? pn.get('buttons').add(button) : null;\n    },\n\n    /**\n     * Remove button from the panel\n     * @param {String} panelId Panel's ID\n     * @param {String} buttonId Button's ID\n     * @return {Button|null} Removed button.\n     * @example\n     * const removedButton = panelManager.addButton('myNewPanel',{\n     *   id: 'myNewButton',\n     *   className: 'someClass',\n     *   command: 'someCommand',\n     *   attributes: { title: 'Some title'},\n     *   active: false,\n     * });\n     *\n     * const removedButton = panelManager.removeButton('myNewPanel', 'myNewButton');\n     *\n     */\n    removeButton(panelId, button) {\n      var pn = this.getPanel(panelId);\n      return pn && pn.get('buttons').remove(button);\n    },\n\n    /**\n     * Get button from the panel\n     * @param {string} panelId Panel's ID\n     * @param {string} id Button's ID\n     * @return {Button|null}\n     * @example\n     * var button = panelManager.getButton('myPanel','myButton');\n     */\n    getButton(panelId, id) {\n      var pn = this.getPanel(panelId);\n      if (pn) {\n        var res = pn.get('buttons').where({ id });\n        return res.length ? res[0] : null;\n      }\n      return null;\n    },\n\n    /**\n     * Render panels and buttons\n     * @return {HTMLElement}\n     * @private\n     */\n    render() {\n      PanelsViewObj && PanelsViewObj.remove();\n      PanelsViewObj = new PanelsView({\n        collection: panels,\n        config: c\n      });\n      return PanelsViewObj.render().el;\n    },\n\n    /**\n     * Active activable buttons\n     * @private\n     */\n    active() {\n      this.getPanels().each(p => {\n        p.get('buttons').each(btn => {\n          btn.get('active') && btn.trigger('updateActive');\n        });\n      });\n    },\n\n    /**\n     * Disable buttons flagged as disabled\n     * @private\n     */\n    disableButtons() {\n      this.getPanels().each(p => {\n        p.get('buttons').each(btn => {\n          if (btn.get('disable')) btn.trigger('change:disable');\n        });\n      });\n    },\n\n    destroy() {\n      panels.reset();\n      panels.stopListening();\n      PanelsViewObj && PanelsViewObj.remove();\n      [c, panels, PanelsViewObj].forEach(i => (i = {}));\n    },\n\n    Panel\n  };\n};\n","import Backbone from 'backbone';\n\nexport default Backbone.Model.extend({\n  defaults: {\n    id: '',\n    label: '',\n    tagName: 'span',\n    className: '',\n    command: '',\n    context: '',\n    buttons: [],\n    attributes: {},\n    options: {},\n    active: false,\n    dragDrop: false,\n    togglable: true,\n    runDefaultCommand: true,\n    stopDefaultCommand: false,\n    disable: false\n  },\n\n  initialize(options) {\n    if (this.get('buttons').length) {\n      var Buttons = require('./Buttons').default;\n      this.set('buttons', new Buttons(this.get('buttons')));\n    }\n  }\n});\n","import Backbone from 'backbone';\nimport Button from './Button';\n\nexport default Backbone.Collection.extend({\n  model: Button,\n\n  /**\n   * Deactivate all buttons, except one passed\n   * @param  {Object}  except  Model to ignore\n   * @param  {Boolean}  r     Recursive flag\n   *\n   * @return  void\n   * */\n  deactivateAllExceptOne(except, r) {\n    this.forEach((model, index) => {\n      if (model !== except) {\n        model.set('active', false);\n        if (r && model.get('buttons').length)\n          model.get('buttons').deactivateAllExceptOne(except, r);\n      }\n    });\n  },\n\n  /**\n   * Deactivate all buttons\n   * @param  {String}  ctx Context string\n   *\n   * @return  void\n   * */\n  deactivateAll(ctx, sender) {\n    const context = ctx || '';\n    this.forEach(model => {\n      if (model.get('context') == context && model !== sender) {\n        model.set('active', false, { fromCollection: 1 });\n      }\n    });\n  },\n\n  /**\n   * Disables all buttons\n   * @param  {String}  ctx Context string\n   *\n   * @return  void\n   * */\n  disableAllButtons(ctx) {\n    var context = ctx || '';\n    this.forEach((model, index) => {\n      if (model.get('context') == context) {\n        model.set('disable', true);\n      }\n    });\n  },\n\n  /**\n   * Disables all buttons, except one passed\n   * @param  {Object}  except  Model to ignore\n   * @param  {Boolean}  r     Recursive flag\n   *\n   * @return  void\n   * */\n  disableAllButtonsExceptOne(except, r) {\n    this.forEach((model, index) => {\n      if (model !== except) {\n        model.set('disable', true);\n        if (r && model.get('buttons').length)\n          model.get('buttons').disableAllButtonsExceptOne(except, r);\n      }\n    });\n  }\n});\n","export default {\n  textTags: ['br', 'b', 'i', 'u', 'a', 'ul', 'ol'],\n\n  // Custom CSS parser\n  // @see https://grapesjs.com/docs/guides/Custom-CSS-parser.html\n  parserCss: null,\n\n  // Custom HTML parser\n  // At the moment, the custom HTML parser should rely on DOM Node instance as the result\n  // @example\n  // The return should be an instance of an Node as the root to traverse\n  // https://developer.mozilla.org/en-US/docs/Web/API/Node\n  // parserHtml: (input, opts = {}) => (new DOMParser()).parseFromString(input, 'text/xml')\n  // Here the result will be XMLDocument, which extends Node\n  parserHtml: null,\n\n  // Default HTML parser options (used in `parserModule.parseHtml('<div...', options)`)\n  optionsHtml: {\n    // DOMParser mime type (default 'text/html')\n    // @see https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/parseFromString\n    // If you use the `text/html` parser, it will fix the invalid syntax automatically\n    htmlType: null,\n\n    // Allow <script> tags\n    allowScripts: false,\n\n    // Allow unsafe HTML attributes (eg. `on*` inline event handlers)\n    allowUnsafeAttr: false,\n  },\n};\n","import { keys } from 'underscore';\n\n// At-rules\n// https://developer.mozilla.org/it/docs/Web/API/CSSRule#Type_constants\nconst atRules = {\n  4: 'media',\n  5: 'font-face',\n  6: 'page',\n  7: 'keyframes',\n  11: 'counter-style',\n  12: 'supports',\n  13: 'document',\n  14: 'font-feature-values',\n  15: 'viewport'\n};\nconst atRuleKeys = keys(atRules);\nconst singleAtRules = ['5', '6', '11', '15'];\nconst singleAtRulesNames = ['font-face', 'page', 'counter-style', 'viewport'];\n\n/**\n * Parse selector string to array.\n * Only classe based are valid as CSS rules inside editor, not valid\n * selectors will be dropped as additional\n * It's ok with the last part of the string as state (:hover, :active)\n * @param  {string} str Selectors string\n * @return {Object}\n * @example\n * var res = parseSelector('.test1, .test1.test2, .test2 .test3');\n * console.log(res);\n * // {\n * //result: [['test1'], ['test1', 'test2']],\n * //add: ['.test2 .test3']\n * //}\n */\nexport const parseSelector = (str = '') => {\n  const add = [];\n  const result = [];\n  const sels = str.split(',');\n\n  for (var i = 0, len = sels.length; i < len; i++) {\n    var sel = sels[i].trim();\n\n    // Will accept only concatenated classes and last\n    // class might be with state (eg. :hover), nothing else.\n    // Can also accept SINGLE ID selectors, eg. `#myid`, `#myid:hover`\n    // Composed are not valid: `#myid.some-class`, `#myid.some-class:hover`\n    if (\n      /^(\\.{1}[\\w\\-]+)+(:{1,2}[\\w\\-()]+)?$/gi.test(sel) ||\n      /^(#{1}[\\w\\-]+){1}(:{1,2}[\\w\\-()]+)?$/gi.test(sel)\n    ) {\n      var cls = sel.split('.').filter(Boolean);\n      result.push(cls);\n    } else {\n      add.push(sel);\n    }\n  }\n\n  return {\n    result,\n    add\n  };\n};\n\n/**\n * Parse style declarations of the node\n * @param {CSSRule} node\n * @return {Object}\n */\nexport const parseStyle = node => {\n  const stl = node.style;\n  const style = {};\n\n  for (var i = 0, len = stl.length; i < len; i++) {\n    const propName = stl[i];\n    const propValue = stl.getPropertyValue(propName);\n    const important = stl.getPropertyPriority(propName);\n    style[propName] = `${propValue}${important ? ` !${important}` : ''}`;\n  }\n\n  return style;\n};\n\n/**\n * Get the condition when possible\n * @param  {CSSRule} node\n * @return {string}\n */\nexport const parseCondition = node => {\n  const condition =\n    node.conditionText ||\n    (node.media && node.media.mediaText) ||\n    node.name ||\n    node.selectorText ||\n    '';\n  return condition.trim();\n};\n\n/**\n * Create node for the editor\n * @param  {Array<String>} selectors Array containing strings of classes\n * @param {Object} style Key-value object of style declarations\n * @return {Object}\n */\nexport const createNode = (selectors, style = {}, opts = {}) => {\n  const node = {};\n  const selLen = selectors.length;\n  const lastClass = selectors[selLen - 1];\n  const stateArr = lastClass ? lastClass.split(/:(.+)/) : [];\n  const state = stateArr[1];\n  const { atRule, selectorsAdd, mediaText } = opts;\n  const singleAtRule = singleAtRulesNames.indexOf(atRule) >= 0;\n  singleAtRule && (node.singleAtRule = 1);\n  atRule && (node.atRuleType = atRule);\n  selectorsAdd && (node.selectorsAdd = selectorsAdd);\n  mediaText && (node.mediaText = mediaText);\n\n  // Isolate the state from selectors\n  if (state) {\n    selectors[selLen - 1] = stateArr[0];\n    node.state = state;\n    stateArr.splice(stateArr.length - 1, 1);\n  }\n\n  node.selectors = selectors;\n  node.style = style;\n\n  return node;\n};\n\n/**\n * Fetch data from node\n * @param  {StyleSheet|CSSRule} el\n * @return {Array<Object>}\n */\nexport const parseNode = el => {\n  var result = [];\n  var nodes = el.cssRules || [];\n\n  for (var i = 0, len = nodes.length; i < len; i++) {\n    const node = nodes[i];\n    const type = node.type.toString();\n    let singleAtRule = 0;\n    let atRuleType = '';\n    let condition = '';\n    // keyText is for CSSKeyframeRule\n    let sels = node.selectorText || node.keyText;\n    const isSingleAtRule = singleAtRules.indexOf(type) >= 0;\n\n    // Check if the node is an at-rule\n    if (isSingleAtRule) {\n      singleAtRule = 1;\n      atRuleType = atRules[type];\n      condition = parseCondition(node);\n    } else if (atRuleKeys.indexOf(type) >= 0) {\n      var subRules = parseNode(node);\n      condition = parseCondition(node);\n\n      for (var s = 0, lens = subRules.length; s < lens; s++) {\n        var subRule = subRules[s];\n        condition && (subRule.mediaText = condition);\n        subRule.atRuleType = atRules[type];\n      }\n      result = result.concat(subRules);\n    }\n\n    if (!sels && !isSingleAtRule) continue;\n    const style = parseStyle(node);\n    const selsParsed = parseSelector(sels);\n    const selsAdd = selsParsed.add;\n    sels = selsParsed.result;\n\n    let lastRule;\n    // For each group of selectors\n    for (var k = 0, len3 = sels.length; k < len3; k++) {\n      const model = createNode(sels[k], style, {\n        atRule: atRules[type]\n      });\n      result.push(model);\n      lastRule = model;\n    }\n\n    // Need to push somewhere not class-based selectors, if some rule was\n    // created will push them there, otherwise will create a new rule\n    if (selsAdd.length) {\n      var selsAddStr = selsAdd.join(', ');\n      if (lastRule) {\n        lastRule.selectorsAdd = selsAddStr;\n      } else {\n        const model = {\n          selectors: [],\n          selectorsAdd: selsAddStr,\n          style\n        };\n        singleAtRule && (model.singleAtRule = singleAtRule);\n        atRuleType && (model.atRuleType = atRuleType);\n        condition && (model.mediaText = condition);\n        result.push(model);\n      }\n    }\n  }\n\n  return result;\n};\n\n/**\n * Parse CSS string and return the array of objects\n * @param  {String} str CSS string\n * @return {Array<Object>} Array of objects for the definition of CSSRules\n */\nexport default str => {\n  const el = document.createElement('style');\n  el.innerHTML = str;\n\n  // There is no .sheet before adding it to the <head>\n  document.head.appendChild(el);\n  const sheet = el.sheet;\n  document.head.removeChild(el);\n\n  return parseNode(sheet);\n};\n","import { isString } from 'underscore';\nimport BrowserCssParser, {\n  parseSelector,\n  createNode\n} from './BrowserParserCss';\n\nexport default (config = {}) => ({\n  /**\n   * Parse CSS string to a desired model object\n   * @param  {String} str CSS string\n   * @return {Array<Object>}\n   */\n  parse(str) {\n    let result = [];\n    const { parserCss, em } = config;\n    const editor = em && em.get && em.get('Editor');\n    const nodes = parserCss ? parserCss(str, editor) : BrowserCssParser(str);\n    nodes.forEach(node => (result = result.concat(this.checkNode(node))));\n    em && em.trigger('parse:css', { input: str, output: result });\n\n    return result;\n  },\n\n  /**\n   * Check the returned node from a custom parser and transforms it to\n   * a valid object for the CSS composer\n   * @return {[type]}\n   */\n  checkNode(node) {\n    const { selectors, style } = node;\n\n    if (isString(selectors)) {\n      const nodes = [];\n      const selsParsed = parseSelector(selectors);\n      const classSets = selsParsed.result;\n      const selectorsAdd = selsParsed.add.join(', ');\n      const opts = {\n        atRule: node.atRule,\n        mediaText: node.params\n      };\n\n      if (classSets.length) {\n        classSets.forEach(classSet => {\n          nodes.push(createNode(classSet, style, opts));\n        });\n      } else {\n        nodes.push(createNode([], style, opts));\n      }\n\n      if (selectorsAdd) {\n        const lastNode = nodes[nodes.length - 1];\n        lastNode.selectorsAdd = selectorsAdd;\n      }\n\n      node = nodes;\n    }\n\n    return node;\n  }\n});\n","/**\n * You can customize the initial state of the module from the editor initialization, by passing the following [Configuration Object](https://github.com/artf/grapesjs/blob/master/src/parser/config/config.js)\n * ```js\n * const editor = grapesjs.init({\n *  parser: {\n *    // options\n *  }\n * })\n * ```\n *\n * Once the editor is instantiated you can use its API. Before using these methods you should get the module from the instance\n *\n * ```js\n * const { Parser } = editor;\n * ```\n * ## Available Events\n * * `parse:html` - On HTML parse, an object containing the input and the output of the parser is passed as an argument\n * * `parse:css` - On CSS parse, an object containing the input and the output of the parser is passed as an argument\n *\n * ## Methods\n * * [getConfig](#getconfig)\n * * [parseHtml](#parsehtml)\n * * [parseCss](#parsecss)\n *\n * @module Parser\n */\nimport defaults from './config/config';\nimport parserCss from './model/ParserCss';\nimport parserHtml from './model/ParserHtml';\n\nexport default () => {\n  let conf = {};\n  let pHtml, pCss;\n\n  return {\n    compTypes: '',\n\n    parserCss: null,\n\n    parserHtml: null,\n\n    name: 'Parser',\n\n    init(config = {}) {\n      conf = { ...defaults, ...config };\n      conf.Parser = this;\n      pHtml = new parserHtml(conf);\n      pCss = new parserCss(conf);\n      this.em = conf.em;\n      this.parserCss = pCss;\n      this.parserHtml = pHtml;\n      return this;\n    },\n\n    /**\n     * Get the configuration object\n     * @returns {Object} Configuration object\n     * @example\n     * console.log(Parser.getConfig())\n     */\n    getConfig() {\n      return conf;\n    },\n\n    /**\n     * Parse HTML string and return the object containing the Component Definition\n     * @param  {String} input HTML string to parse\n     * @param  {Object} [options] Options\n     * @param  {String} [options.htmlType] [HTML mime type](https://developer.mozilla.org/en-US/docs/Web/API/DOMParser/parseFromString#Argument02) to parse\n     * @param  {Boolean} [options.allowScripts=false] Allow `<script>` tags\n     * @param  {Boolean} [options.allowUnsafeAttr=false] Allow unsafe HTML attributes (eg. `on*` inline event handlers)\n     * @returns {Object} Object containing the result `{ html: ..., css: ... }`\n     * @example\n     * const resHtml = Parser.parseHtml(`<table><div>Hi</div></table>`, {\n     *   htmlType: 'text/html', // default\n     * });\n     * // By using the `text/html`, this will fix automatically all the HTML syntax issues\n     * // Indeed the final representation, in this case, will be `<div>Hi</div><table></table>`\n     * const resXml = Parser.parseHtml(`<table><div>Hi</div></table>`, {\n     *   htmlType: 'application/xml',\n     * });\n     * // This will preserve the original format as, from the XML point of view, is a valid format\n     */\n    parseHtml(input, options = {}) {\n      const { em, compTypes } = this;\n      pHtml.compTypes = em ? em.get('DomComponents').getTypes() : compTypes;\n      return pHtml.parse(input, pCss, options);\n    },\n\n    /**\n     * Parse CSS string and return an array of valid definition objects for CSSRules\n     * @param  {String} input CSS string to parse\n     * @returns {Array<Object>} Array containing the result\n     * @example\n     * const res = Parser.parseCss('.cls { color: red }');\n     * // [{ ... }]\n     */\n    parseCss(input) {\n      return pCss.parse(input);\n    },\n\n    destroy() {\n      [conf, pHtml, pCss].forEach(i => (i = {}));\n      ['em', 'parserCss', 'parserHtml'].forEach(i => (this[i] = {}));\n    },\n  };\n};\n","import { each } from 'underscore';\n\nconst htmlType = 'text/html';\nconst defaultType = htmlType; // 'application/xml';\n\nexport default (str, config = {}) => {\n  const parser = new DOMParser();\n  const mimeType = config.htmlType || defaultType;\n  const toHTML = mimeType === htmlType;\n  const strF = toHTML ? str : `<div>${str}</div>`;\n  const doc = parser.parseFromString(strF, mimeType);\n  let res;\n\n  if (toHTML) {\n    // Replicate the old parser in order to avoid breaking changes\n    const { head, body } = doc;\n    // Move all scripts at the bottom of the page\n    const scripts = head.querySelectorAll('script');\n    each(scripts, node => body.appendChild(node));\n    // Move inside body all head children\n    const hEls = [];\n    each(head.children, n => hEls.push(n));\n    each(hEls, (node, i) => body.insertBefore(node, body.children[i]));\n    res = body;\n  } else {\n    res = doc.firstChild;\n  }\n\n  return res;\n};\n\n/**\n * POC, custom html parser specs\n * Parse an HTML string to an array of nodes\n * example\n * parse(`<div class=\"mycls\" data-test>Hello</div><span>World <b>example</b></span>`)\n * // result\n * [\n *  {\n *      tagName: 'div',\n *      attributes: { class: 'mycls', 'data-test': '' },\n *      childNodes: ['Hello'],\n *  },{\n *      tagName: 'span',\n *      childNodes: [\n *          'World ',\n *          {\n *              tagName: 'b',\n *              childNodes: ['example'],\n *          }\n *       ],\n *  }\n * ]\n *\n\nexport const parseNodes = nodes => {\n  const result = [];\n\n  for (let i = 0; i < nodes.length; i++) {\n    result.push(parseNode(nodes[i]));\n  }\n\n  return result;\n};\n\nexport const parseAttributes = attrs => {\n  const result = {};\n\n  for (let j = 0; j < attrs.length; j++) {\n    const attr = attrs[j];\n    const nodeName = attr.nodeName;\n    const nodeValue = attr.nodeValue;\n    result[nodeName] = nodeValue;\n  }\n\n  return result;\n};\n\nexport const parseNode = el => {\n  // Return the string of the textnode element\n  if (el.nodeType === 3) {\n    return el.nodeValue;\n  }\n\n  const tagName = node.tagName ? node.tagName.toLowerCase() : '';\n  const attrs = el.attributes || [];\n  const nodes = el.childNodes || [];\n\n  return {\n    ...(tagName && { tagName }),\n    ...(attrs.length && {\n      attributes: parseAttributes(attrs)\n    }),\n    ...(nodes.length && {\n      childNodes: parseNodes(nodes)\n    })\n  };\n};\n\nexport default (str, config = {}) => {\n  const result = [];\n  const el = document.createElement('div');\n  el.innerHTML = str;\n  const nodes = el.childNodes;\n  const len = nodes.length;\n\n  for (let i = 0; i < len; i++) {\n    result.push(parseNode(nodes[i]));\n  }\n\n  return result;\n};\n */\n","import { each, isString, isFunction, isUndefined } from 'underscore';\nimport BrowserParserHtml from './BrowserParserHtml';\n\nexport default config => {\n  let c = config;\n  const modelAttrStart = 'data-gjs-';\n  const event = 'parse:html';\n\n  return {\n    compTypes: '',\n\n    modelAttrStart,\n\n    /**\n     * Extract component props from an attribute object\n     * @param {Object} attr\n     * @returns {Object} An object containing props and attributes without them\n     */\n    splitPropsFromAttr(attr = {}) {\n      const props = {};\n      const attrs = {};\n\n      each(attr, (value, key) => {\n        if (key.indexOf(this.modelAttrStart) === 0) {\n          const modelAttr = key.replace(modelAttrStart, '');\n          const valueLen = value.length;\n          const valStr = value && isString(value);\n          const firstChar = valStr && value.substr(0, 1);\n          const lastChar = valStr && value.substr(valueLen - 1);\n          value = value === 'true' ? true : value;\n          value = value === 'false' ? false : value;\n\n          // Try to parse JSON where it's possible\n          // I can get false positive here (eg. a selector '[data-attr]')\n          // so put it under try/catch and let fail silently\n          try {\n            value =\n              (firstChar == '{' && lastChar == '}') || (firstChar == '[' && lastChar == ']')\n                ? JSON.parse(value)\n                : value;\n          } catch (e) {}\n\n          props[modelAttr] = value;\n        } else {\n          attrs[key] = value;\n        }\n      });\n\n      return {\n        props,\n        attrs,\n      };\n    },\n\n    /**\n     * Parse style string to object\n     * @param {string} str\n     * @return {Object}\n     * @example\n     * var stl = ParserHtml.parseStyle('color:black; width:100px; test:value;');\n     * console.log(stl);\n     * // {color: 'black', width: '100px', test: 'value'}\n     */\n    parseStyle(str) {\n      var result = {};\n      var decls = str.split(';');\n      for (var i = 0, len = decls.length; i < len; i++) {\n        var decl = decls[i].trim();\n        if (!decl) continue;\n        var prop = decl.split(':');\n        result[prop[0].trim()] = prop.slice(1).join(':').trim();\n      }\n      return result;\n    },\n\n    /**\n     * Parse class string to array\n     * @param {string} str\n     * @return {Array<string>}\n     * @example\n     * var res = ParserHtml.parseClass('test1 test2 test3');\n     * console.log(res);\n     * // ['test1', 'test2', 'test3']\n     */\n    parseClass(str) {\n      const result = [];\n      const cls = str.split(' ');\n      for (let i = 0, len = cls.length; i < len; i++) {\n        const cl = cls[i].trim();\n        if (!cl) continue;\n        result.push(cl);\n      }\n      return result;\n    },\n\n    /**\n     * Get data from the node element\n     * @param  {HTMLElement} el DOM element to traverse\n     * @return {Array<Object>}\n     */\n    parseNode(el, opts = {}) {\n      const result = [];\n      const nodes = el.childNodes;\n\n      for (var i = 0, len = nodes.length; i < len; i++) {\n        const node = nodes[i];\n        const attrs = node.attributes || [];\n        const attrsLen = attrs.length;\n        const nodePrev = result[result.length - 1];\n        const nodeChild = node.childNodes.length;\n        const ct = this.compTypes;\n        let model = {};\n\n        // Start with understanding what kind of component it is\n        if (ct) {\n          let obj = '';\n          let type = node.getAttribute && node.getAttribute(`${modelAttrStart}type`);\n\n          // If the type is already defined, use it\n          if (type) {\n            model = { type };\n          } else {\n            // Iterate over all available Component Types and\n            // the first with a valid result will be that component\n            for (let it = 0; it < ct.length; it++) {\n              const compType = ct[it];\n              obj = compType.model.isComponent(node, opts);\n\n              if (obj) {\n                if (typeof obj !== 'object') {\n                  obj = { type: compType.id };\n                }\n                break;\n              }\n            }\n\n            model = obj;\n          }\n        }\n\n        // Set tag name if not yet done\n        if (!model.tagName) {\n          const tag = node.tagName || '';\n          const ns = node.namespaceURI || '';\n          model.tagName = tag && ns === 'http://www.w3.org/1999/xhtml' ? tag.toLowerCase() : tag;\n        }\n\n        if (attrsLen) {\n          model.attributes = {};\n        }\n\n        // Parse attributes\n        for (let j = 0; j < attrsLen; j++) {\n          const nodeName = attrs[j].nodeName;\n          let nodeValue = attrs[j].nodeValue;\n\n          // Isolate attributes\n          if (nodeName == 'style') {\n            model.style = this.parseStyle(nodeValue);\n          } else if (nodeName == 'class') {\n            model.classes = this.parseClass(nodeValue);\n          } else if (nodeName == 'contenteditable') {\n            continue;\n          } else if (nodeName.indexOf(modelAttrStart) === 0) {\n            const modelAttr = nodeName.replace(modelAttrStart, '');\n            const valueLen = nodeValue.length;\n            const firstChar = nodeValue && nodeValue.substr(0, 1);\n            const lastChar = nodeValue && nodeValue.substr(valueLen - 1);\n            nodeValue = nodeValue === 'true' ? true : nodeValue;\n            nodeValue = nodeValue === 'false' ? false : nodeValue;\n\n            // Try to parse JSON where it's possible\n            // I can get false positive here (eg. a selector '[data-attr]')\n            // so put it under try/catch and let fail silently\n            try {\n              nodeValue =\n                (firstChar == '{' && lastChar == '}') || (firstChar == '[' && lastChar == ']')\n                  ? JSON.parse(nodeValue)\n                  : nodeValue;\n            } catch (e) {}\n\n            model[modelAttr] = nodeValue;\n          } else {\n            // Check for attributes from props (eg. required, disabled)\n            if (nodeValue === '' && node[nodeName] === true) {\n              nodeValue = true;\n            }\n\n            model.attributes[nodeName] = nodeValue;\n          }\n        }\n\n        // Check for nested elements but avoid it if already provided\n        if (nodeChild && !model.components) {\n          // Avoid infinite nested text nodes\n          const firstChild = node.childNodes[0];\n\n          // If there is only one child and it's a TEXTNODE\n          // just make it content of the current node\n          if (nodeChild === 1 && firstChild.nodeType === 3) {\n            !model.type && (model.type = 'text');\n            model.components = {\n              type: 'textnode',\n              content: firstChild.nodeValue,\n            };\n          } else {\n            model.components = this.parseNode(node, {\n              ...opts,\n              inSvg: opts.inSvg || model.type === 'svg',\n            });\n          }\n        }\n\n        // Check if it's a text node and if could be moved to the prevous model\n        if (model.type == 'textnode') {\n          if (nodePrev && nodePrev.type == 'textnode') {\n            nodePrev.content += model.content;\n            continue;\n          }\n\n          // Throw away empty nodes (keep spaces)\n          if (!config.keepEmptyTextNodes) {\n            const content = node.nodeValue;\n            if (content != ' ' && !content.trim()) {\n              continue;\n            }\n          }\n        }\n\n        // Check for custom void elements (valid in XML)\n        if (!nodeChild && `${node.outerHTML}`.slice(-2) === '/>') {\n          model.void = true;\n        }\n\n        // If all children are texts and there is some textnode the parent should\n        // be text too otherwise I'm unable to edit texnodes\n        const comps = model.components;\n        if (!model.type && comps) {\n          let allTxt = 1;\n          let foundTextNode = 0;\n\n          for (let ci = 0; ci < comps.length; ci++) {\n            const comp = comps[ci];\n            const cType = comp.type;\n\n            if (['text', 'textnode'].indexOf(cType) < 0 && c.textTags.indexOf(comp.tagName) < 0) {\n              allTxt = 0;\n              break;\n            }\n\n            if (cType == 'textnode') {\n              foundTextNode = 1;\n            }\n          }\n\n          if (allTxt && foundTextNode) {\n            model.type = 'text';\n          }\n        }\n\n        // If tagName is still empty and is not a textnode, do not push it\n        if (!model.tagName && model.type != 'textnode') {\n          continue;\n        }\n\n        result.push(model);\n      }\n\n      return result;\n    },\n\n    /**\n     * Parse HTML string to a desired model object\n     * @param  {string} str HTML string\n     * @param  {ParserCss} parserCss In case there is style tags inside HTML\n     * @return {Object}\n     */\n    parse(str, parserCss, opts = {}) {\n      const { em } = c;\n      const conf = (em && em.get('Config')) || {};\n      const res = { html: null, css: null };\n      const cf = { ...config, ...opts };\n      const options = {\n        ...config.optionsHtml,\n        // Support previous `configParser.htmlType` option\n        htmlType: config.optionsHtml?.htmlType || config.htmlType,\n        ...opts,\n      };\n      const el = isFunction(cf.parserHtml) ? cf.parserHtml(str, options) : BrowserParserHtml(str, options);\n      const scripts = el.querySelectorAll('script');\n      let i = scripts.length;\n\n      // Support previous `configMain.allowScripts` option\n      const allowScripts = !isUndefined(conf.allowScripts) ? conf.allowScripts : options.allowScripts;\n\n      // Remove script tags\n      if (!allowScripts) {\n        while (i--) scripts[i].parentNode.removeChild(scripts[i]);\n      }\n\n      // Remove unsafe attributes\n      if (!options.allowUnsafeAttr) {\n        this.__clearUnsafeAttr(el);\n      }\n\n      // Detach style tags and parse them\n      if (parserCss) {\n        const styles = el.querySelectorAll('style');\n        let j = styles.length;\n        let styleStr = '';\n\n        while (j--) {\n          styleStr = styles[j].innerHTML + styleStr;\n          styles[j].parentNode.removeChild(styles[j]);\n        }\n\n        if (styleStr) res.css = parserCss.parse(styleStr);\n      }\n\n      em && em.trigger(`${event}:root`, { input: str, root: el });\n      const result = this.parseNode(el, cf);\n      // I have to keep it otherwise it breaks the DomComponents.addComponent (returns always array)\n      const resHtml = result.length === 1 && !c.returnArray ? result[0] : result;\n      res.html = resHtml;\n      em && em.trigger(event, { input: str, output: res });\n\n      return res;\n    },\n\n    __clearUnsafeAttr(node) {\n      const attrs = node.attributes || [];\n      const nodes = node.childNodes || [];\n      const toRemove = [];\n      each(attrs, attr => {\n        const name = attr.nodeName || '';\n        name.indexOf('on') === 0 && toRemove.push(name);\n      });\n      toRemove.map(name => node.removeAttribute(name));\n      each(nodes, node => this.__clearUnsafeAttr(node));\n    },\n  };\n};\n","// The initial version of this RTE was borrowed from https://github.com/jaredreich/pell\n// and adapted to the GrapesJS's need\n\nimport { isString } from 'underscore';\nimport { on, off, getPointerEvent, getModel } from 'utils/mixins';\n\nconst RTE_KEY = '_rte';\n\nconst btnState = {\n  ACTIVE: 1,\n  INACTIVE: 0,\n  DISABLED: -1,\n};\nconst isValidTag = (rte, tagName = 'A') => {\n  const { anchorNode, focusNode } = rte.selection();\n  const parentAnchor = anchorNode?.parentNode;\n  const parentFocus = focusNode?.parentNode;\n  return parentAnchor?.nodeName == tagName || parentFocus?.nodeName == tagName;\n};\n\nconst customElAttr = 'data-selectme';\n\nconst defActions = {\n  bold: {\n    name: 'bold',\n    icon: '<b>B</b>',\n    attributes: { title: 'Bold' },\n    result: rte => rte.exec('bold'),\n  },\n  italic: {\n    name: 'italic',\n    icon: '<i>I</i>',\n    attributes: { title: 'Italic' },\n    result: rte => rte.exec('italic'),\n  },\n  underline: {\n    name: 'underline',\n    icon: '<u>U</u>',\n    attributes: { title: 'Underline' },\n    result: rte => rte.exec('underline'),\n  },\n  strikethrough: {\n    name: 'strikethrough',\n    icon: '<s>S</s>',\n    attributes: { title: 'Strike-through' },\n    result: rte => rte.exec('strikeThrough'),\n  },\n  link: {\n    icon: `<svg viewBox=\"0 0 24 24\">\n          <path fill=\"currentColor\" d=\"M3.9,12C3.9,10.29 5.29,8.9 7,8.9H11V7H7A5,5 0 0,0 2,12A5,5 0 0,0 7,17H11V15.1H7C5.29,15.1 3.9,13.71 3.9,12M8,13H16V11H8V13M17,7H13V8.9H17C18.71,8.9 20.1,10.29 20.1,12C20.1,13.71 18.71,15.1 17,15.1H13V17H17A5,5 0 0,0 22,12A5,5 0 0,0 17,7Z\" />\n        </svg>`,\n    name: 'link',\n    attributes: {\n      style: 'font-size:1.4rem;padding:0 4px 2px;',\n      title: 'Link',\n    },\n    state: rte => {\n      return rte && rte.selection() && isValidTag(rte) ? btnState.ACTIVE : btnState.INACTIVE;\n    },\n    result: rte => {\n      if (isValidTag(rte)) {\n        rte.exec('unlink');\n      } else {\n        rte.insertHTML(`<a href=\"\" ${customElAttr}>${rte.selection()}</a>`, { select: true });\n      }\n    },\n  },\n  wrap: {\n    icon: `<svg viewBox=\"0 0 24 24\">\n            <path fill=\"currentColor\" d=\"M20.71,4.63L19.37,3.29C19,2.9 18.35,2.9 17.96,3.29L9,12.25L11.75,15L20.71,6.04C21.1,5.65 21.1,5 20.71,4.63M7,14A3,3 0 0,0 4,17C4,18.31 2.84,19 2,19C2.92,20.22 4.5,21 6,21A4,4 0 0,0 10,17A3,3 0 0,0 7,14Z\" />\n        </svg>`,\n    attributes: { title: 'Wrap for style' },\n    state: rte => {\n      return rte?.selection() && isValidTag(rte, 'SPAN') ? btnState.DISABLED : btnState.INACTIVE;\n    },\n    result: rte => {\n      !isValidTag(rte, 'SPAN') && rte.insertHTML(`<span ${customElAttr}>${rte.selection()}</span>`, { select: true });\n    },\n  },\n};\n\nexport default class RichTextEditor {\n  constructor(settings = {}) {\n    const { el, em } = settings;\n    this.em = em;\n\n    if (el[RTE_KEY]) {\n      return el[RTE_KEY];\n    }\n\n    el[RTE_KEY] = this;\n    this.setEl(el);\n    this.updateActiveActions = this.updateActiveActions.bind(this);\n    this.__onKeydown = this.__onKeydown.bind(this);\n    this.__onPaste = this.__onPaste.bind(this);\n\n    const acts = (settings.actions || []).map(action => {\n      let result = action;\n      if (typeof action === 'string') {\n        result = { ...defActions[action] };\n      } else if (defActions[action.name]) {\n        result = { ...defActions[action.name], ...action };\n      }\n      return result;\n    });\n    const actions = acts.length ? acts : Object.keys(defActions).map(a => defActions[a]);\n\n    settings.classes = {\n      ...{\n        actionbar: 'actionbar',\n        button: 'action',\n        active: 'active',\n        disabled: 'disabled',\n        inactive: 'inactive',\n      },\n      ...settings.classes,\n    };\n\n    const classes = settings.classes;\n    let actionbar = settings.actionbar;\n    this.actionbar = actionbar;\n    this.settings = settings;\n    this.classes = classes;\n    this.actions = actions;\n\n    if (!actionbar) {\n      const actionbarCont = settings.actionbarContainer;\n      actionbar = document.createElement('div');\n      actionbar.className = classes.actionbar;\n      actionbarCont.appendChild(actionbar);\n      this.actionbar = actionbar;\n      actions.forEach(action => this.addAction(action));\n    }\n\n    settings.styleWithCSS && this.exec('styleWithCSS');\n    return this;\n  }\n\n  destroy() {\n    this.el = 0;\n    this.doc = 0;\n    this.actionbar = 0;\n    this.settings = {};\n    this.classes = {};\n    this.actions = [];\n  }\n\n  setEl(el) {\n    this.el = el;\n    this.doc = el.ownerDocument;\n  }\n\n  updateActiveActions() {\n    this.getActions().forEach(action => {\n      const btn = action.btn;\n      const update = action.update;\n      const { active, inactive, disabled } = { ...this.classes };\n      const state = action.state;\n      const name = action.name;\n      const doc = this.doc;\n      btn.className = btn.className.replace(active, '').trim();\n      btn.className = btn.className.replace(inactive, '').trim();\n      btn.className = btn.className.replace(disabled, '').trim();\n\n      // if there is a state function, which depicts the state,\n      // i.e. `active`, `disabled`, then call it\n      if (state) {\n        switch (state(this, doc)) {\n          case btnState.ACTIVE:\n            btn.className += ` ${active}`;\n            break;\n          case btnState.INACTIVE:\n            btn.className += ` ${inactive}`;\n            break;\n          case btnState.DISABLED:\n            btn.className += ` ${disabled}`;\n            break;\n        }\n      } else {\n        // otherwise default to checking if the name command is supported & enabled\n        if (doc.queryCommandSupported(name) && doc.queryCommandState(name)) {\n          btn.className += ` ${active}`;\n        }\n      }\n      update && update(this, action);\n    });\n  }\n\n  enable(opts) {\n    if (this.enabled) return this;\n    return this.__toggleEffects(true, opts);\n  }\n\n  disable() {\n    return this.__toggleEffects(false);\n  }\n\n  __toggleEffects(enable = false, opts = {}) {\n    const method = enable ? on : off;\n    const { el, doc } = this;\n    this.actionbarEl().style.display = enable ? '' : 'none';\n    el.contentEditable = !!enable;\n    method(el, 'mouseup keyup', this.updateActiveActions);\n    method(doc, 'keydown', this.__onKeydown);\n    method(doc, 'paste', this.__onPaste);\n    this.enabled = enable;\n\n    if (enable) {\n      const { event } = opts;\n      this.syncActions();\n      this.updateActiveActions();\n\n      if (event) {\n        let range = null;\n\n        if (doc.caretRangeFromPoint) {\n          const poiner = getPointerEvent(event);\n          range = doc.caretRangeFromPoint(poiner.clientX, poiner.clientY);\n        } else if (event.rangeParent) {\n          range = doc.createRange();\n          range.setStart(event.rangeParent, event.rangeOffset);\n        }\n\n        const sel = doc.getSelection();\n        sel.removeAllRanges();\n        range && sel.addRange(range);\n      }\n\n      el.focus();\n    }\n\n    return this;\n  }\n\n  __onKeydown(event) {\n    if (event.key === 'Enter') {\n      this.doc.execCommand('insertLineBreak');\n      event.preventDefault();\n    }\n  }\n\n  __onPaste(ev) {\n    const clipboardData = ev.clipboardData || window.clipboardData;\n    const text = clipboardData.getData('text');\n    const textHtml = clipboardData.getData('text/html');\n    // Replace \\n with <br> in case of plain text\n    if (text && !textHtml) {\n      ev.preventDefault();\n      const html = text.replace(/(?:\\r\\n|\\r|\\n)/g, '<br/>');\n      this.doc.execCommand('insertHTML', false, html);\n    }\n  }\n\n  /**\n   * Sync actions with the current RTE\n   */\n  syncActions() {\n    this.getActions().forEach(action => {\n      if (this.actionbar) {\n        if (!action.state || (action.state && action.state(this, this.doc) >= 0)) {\n          const event = action.event || 'click';\n          action.btn[`on${event}`] = e => {\n            action.result(this, action);\n            this.updateActiveActions();\n          };\n        }\n      }\n    });\n  }\n\n  /**\n   * Add new action to the actionbar\n   * @param {Object} action\n   * @param {Object} [opts={}]\n   */\n  addAction(action, opts = {}) {\n    const sync = opts.sync;\n    const btn = document.createElement('span');\n    const icon = action.icon;\n    const attr = action.attributes || {};\n    btn.className = this.classes.button;\n    action.btn = btn;\n\n    for (let key in attr) {\n      btn.setAttribute(key, attr[key]);\n    }\n\n    if (typeof icon == 'string') {\n      btn.innerHTML = icon;\n    } else {\n      btn.appendChild(icon);\n    }\n\n    this.actionbarEl().appendChild(btn);\n\n    if (sync) {\n      this.actions.push(action);\n      this.syncActions();\n    }\n  }\n\n  /**\n   * Get the array of current actions\n   * @return {Array}\n   */\n  getActions() {\n    return this.actions;\n  }\n\n  /**\n   * Returns the Selection instance\n   * @return {Selection}\n   */\n  selection() {\n    return this.doc.getSelection();\n  }\n\n  /**\n   * Execute the command\n   * @param  {string} command Command name\n   * @param  {any} [value=null Command's arguments\n   */\n  exec(command, value = null) {\n    this.doc.execCommand(command, false, value);\n  }\n\n  /**\n   * Get the actionbar element\n   * @return {HTMLElement}\n   */\n  actionbarEl() {\n    return this.actionbar;\n  }\n\n  /**\n   * Set custom HTML to the selection, useful as the default 'insertHTML' command\n   * doesn't work in the same way on all browsers\n   * @param  {string} value HTML string\n   */\n  insertHTML(value, { select } = {}) {\n    const { em, doc, el } = this;\n    const sel = doc.getSelection();\n\n    if (sel && sel.rangeCount) {\n      const model = getModel(el);\n      const node = doc.createElement('div');\n      const range = sel.getRangeAt(0);\n      range.deleteContents();\n\n      if (isString(value)) {\n        node.innerHTML = value;\n      } else if (value) {\n        node.appendChild(value);\n      }\n\n      Array.prototype.slice.call(node.childNodes).forEach(nd => {\n        range.insertNode(nd);\n      });\n\n      sel.removeAllRanges();\n      sel.addRange(range);\n      el.focus();\n\n      if (select && model) {\n        model.once('rte:disable', () => {\n          const toSel = model.find(`[${customElAttr}]`)[0];\n          if (!toSel) return;\n          em.setSelected(toSel);\n          toSel.removeAttributes(customElAttr);\n        });\n        model.trigger('disable');\n      }\n    }\n  }\n}\n","export default {\n  stylePrefix: 'rte-',\n\n  // If true, moves the toolbar below the element when the top canvas\n  // edge is reached\n  adjustToolbar: 1,\n\n  // Default RTE actions\n  actions: ['bold', 'italic', 'underline', 'strikethrough', 'link', 'wrap'],\n};\n","/**\n * This module allows to customize the built-in toolbar of the Rich Text Editor and use commands from the [HTML Editing APIs](https://developer.mozilla.org/en-US/docs/Web/API/Document/execCommand).\n * It's highly recommended to keep this toolbar as small as possible, especially from styling commands (eg. 'fontSize') and leave this task to the Style Manager\n *\n * You can customize the initial state of the module from the editor initialization, by passing the following [Configuration Object](https://github.com/artf/grapesjs/blob/master/src/rich_text_editor/config/config.js)\n * ```js\n * const editor = grapesjs.init({\n *  richTextEditor: {\n *    // options\n *  }\n * })\n * ```\n *\n * Once the editor is instantiated you can use its API and listen to its events. Before using these methods, you should get the module from the instance.\n *\n * ```js\n * // Listen to events\n * editor.on('rte:enable', () => { ... });\n *\n * // Use the API\n * const rte = editor.RichTextEditor;\n * rte.add(...);\n * ```\n *\n * ## Available Events\n * * `rte:enable` - RTE enabled. The view, on which RTE is enabled, is passed as an argument\n * * `rte:disable` - RTE disabled. The view, on which RTE is disabled, is passed as an argument\n *\n * ## Methods\n * * [add](#add)\n * * [get](#get)\n * * [getAll](#getall)\n * * [remove](#remove)\n * * [getToolbarEl](#gettoolbarel)\n *\n * @module RichTextEditor\n */\n\nimport RichTextEditor from './model/RichTextEditor';\nimport { on, hasWin } from 'utils/mixins';\nimport defaults from './config/config';\n\nconst eventsUp = 'change:canvasOffset frame:scroll component:update';\n\nexport default () => {\n  let toolbar;\n\n  const hideToolbar = () => {\n    const style = toolbar.style;\n    const size = '-1000px';\n    style.top = size;\n    style.left = size;\n    style.display = 'none';\n  };\n\n  return {\n    customRte: null,\n\n    /**\n     * Name of the module\n     * @type {String}\n     * @private\n     */\n    name: 'RichTextEditor',\n\n    getConfig() {\n      return this.config;\n    },\n\n    /**\n     * Initialize module. Automatically called with a new instance of the editor\n     * @param {Object} opts Options\n     * @private\n     */\n    init(opts = {}) {\n      const config = { ...defaults, ...opts };\n      const ppfx = config.pStylePrefix;\n\n      if (ppfx) {\n        config.stylePrefix = ppfx + config.stylePrefix;\n      }\n\n      this.config = config;\n      this.pfx = config.stylePrefix;\n      this.em = config.em;\n      this.actions = config.actions || [];\n      if (!hasWin()) return this;\n      toolbar = document.createElement('div');\n      toolbar.className = `${ppfx}rte-toolbar ${ppfx}one-bg`;\n      this.initRte(document.createElement('div'));\n\n      //Avoid closing on toolbar clicking\n      on(toolbar, 'mousedown', e => e.stopPropagation());\n      return this;\n    },\n\n    destroy() {\n      this.globalRte?.destroy();\n      this.customRte?.destroy?.();\n      toolbar = 0;\n      ['actionbar', 'actions', 'em', 'config', 'globalRte', 'lastEl'].map(i => {\n        delete this[i];\n      });\n    },\n\n    /**\n     * Post render callback\n     * @param  {View} ev\n     * @private\n     */\n    postRender(ev) {\n      const canvas = ev.model.get('Canvas');\n      toolbar.style.pointerEvents = 'all';\n      hideToolbar();\n      canvas.getToolsEl().appendChild(toolbar);\n    },\n\n    /**\n     * Init the built-in RTE\n     * @param  {HTMLElement} el\n     * @return {RichTextEditor}\n     * @private\n     */\n    initRte(el) {\n      let { globalRte } = this;\n      const { em, pfx, actionbar, config } = this;\n      const actionbarContainer = toolbar;\n      const actions = this.actions || [...config.actions];\n      const classes = {\n        actionbar: `${pfx}actionbar`,\n        button: `${pfx}action`,\n        active: `${pfx}active`,\n        inactive: `${pfx}inactive`,\n        disabled: `${pfx}disabled`,\n      };\n\n      if (!globalRte) {\n        globalRte = new RichTextEditor({\n          em,\n          el,\n          classes,\n          actions,\n          actionbar,\n          actionbarContainer,\n        });\n        this.globalRte = globalRte;\n      } else {\n        globalRte.em = em;\n        globalRte.setEl(el);\n      }\n\n      if (globalRte.actionbar) {\n        this.actionbar = globalRte.actionbar;\n      }\n\n      if (globalRte.actions) {\n        this.actions = globalRte.actions;\n      }\n\n      return globalRte;\n    },\n\n    /**\n     * Add a new action to the built-in RTE toolbar\n     * @param {string} name Action name\n     * @param {Object} action Action options\n     * @example\n     * rte.add('bold', {\n     *   icon: '<b>B</b>',\n     *   attributes: {title: 'Bold'},\n     *   result: rte => rte.exec('bold')\n     * });\n     * rte.add('link', {\n     *   icon: document.getElementById('t'),\n     *   attributes: {title: 'Link',}\n     *   // Example on it's easy to wrap a selected content\n     *   result: rte => rte.insertHTML(`<a href=\"#\">${rte.selection()}</a>`)\n     * });\n     * // An example with fontSize\n     * rte.add('fontSize', {\n     *   icon: `<select class=\"gjs-field\">\n     *         <option>1</option>\n     *         <option>4</option>\n     *         <option>7</option>\n     *       </select>`,\n     *     // Bind the 'result' on 'change' listener\n     *   event: 'change',\n     *   result: (rte, action) => rte.exec('fontSize', action.btn.firstChild.value),\n     *   // Callback on any input change (mousedown, keydown, etc..)\n     *   update: (rte, action) => {\n     *     const value = rte.doc.queryCommandValue(action.name);\n     *     if (value != 'false') { // value is a string\n     *       action.btn.firstChild.value = value;\n     *     }\n     *    }\n     *   })\n     * // An example with state\n     * const isValidAnchor = (rte) => {\n     *   // a utility function to help determine if the selected is a valid anchor node\n     *   const anchor = rte.selection().anchorNode;\n     *   const parentNode  = anchor && anchor.parentNode;\n     *   const nextSibling = anchor && anchor.nextSibling;\n     *   return (parentNode && parentNode.nodeName == 'A') || (nextSibling && nextSibling.nodeName == 'A')\n     * }\n     * rte.add('toggleAnchor', {\n     *   icon: `<span style=\"transform:rotate(45deg)\">&supdsub;</span>`,\n     *   state: (rte, doc) => {\n     *    if (rte && rte.selection()) {\n     *      // `btnState` is a integer, -1 for disabled, 0 for inactive, 1 for active\n     *      return isValidAnchor(rte) ? btnState.ACTIVE : btnState.INACTIVE;\n     *    } else {\n     *      return btnState.INACTIVE;\n     *    }\n     *   },\n     *   result: (rte, action) => {\n     *     if (isValidAnchor(rte)) {\n     *       rte.exec('unlink');\n     *     } else {\n     *       rte.insertHTML(`<a class=\"link\" href=\"\">${rte.selection()}</a>`);\n     *     }\n     *   }\n     * })\n     */\n    add(name, action = {}) {\n      action.name = name;\n      this.globalRte?.addAction(action, { sync: 1 });\n    },\n\n    /**\n     * Get the action by its name\n     * @param {string} name Action name\n     * @return {Object}\n     * @example\n     * const action = rte.get('bold');\n     * // {name: 'bold', ...}\n     */\n    get(name) {\n      let result;\n      this.globalRte?.getActions().forEach(action => {\n        if (action.name == name) {\n          result = action;\n        }\n      });\n      return result;\n    },\n\n    /**\n     * Get all actions\n     * @return {Array}\n     */\n    getAll() {\n      return this.globalRte?.getActions();\n    },\n\n    /**\n     * Remove the action from the toolbar\n     * @param  {string} name\n     * @return {Object} Removed action\n     * @example\n     * const action = rte.remove('bold');\n     * // {name: 'bold', ...}\n     */\n    remove(name) {\n      const actions = this.getAll();\n      const action = this.get(name);\n\n      if (action) {\n        const btn = action.btn;\n        const index = actions.indexOf(action);\n        btn.parentNode.removeChild(btn);\n        actions.splice(index, 1);\n      }\n\n      return action;\n    },\n\n    /**\n     * Get the toolbar element\n     * @return {HTMLElement}\n     */\n    getToolbarEl() {\n      return toolbar;\n    },\n\n    /**\n     * Triggered when the offset of the editor is changed\n     * @private\n     */\n    updatePosition() {\n      const { em } = this;\n      const un = 'px';\n      const canvas = em.get('Canvas');\n      const { style } = toolbar;\n      const pos = canvas.getTargetToElementFixed(this.lastEl, toolbar, {\n        event: 'rteToolbarPosUpdate',\n        left: 0,\n      });\n      style.top = (pos.top || 0) + un;\n      style.left = (pos.left || 0) + un;\n    },\n\n    /**\n     * Enable rich text editor on the element\n     * @param {View} view Component view\n     * @param {Object} rte The instance of already defined RTE\n     * @private\n     * */\n    async enable(view, rte, opts) {\n      this.lastEl = view.el;\n      const { customRte, em } = this;\n      const el = view.getChildrenContainer();\n\n      toolbar.style.display = '';\n      const rteInst = await (customRte ? customRte.enable(el, rte) : this.initRte(el).enable(opts));\n\n      if (em) {\n        setTimeout(this.updatePosition.bind(this), 0);\n        em.off(eventsUp, this.updatePosition, this);\n        em.on(eventsUp, this.updatePosition, this);\n        em.trigger('rte:enable', view, rteInst);\n      }\n\n      return rteInst;\n    },\n\n    /**\n     * Unbind rich text editor from the element\n     * @param {View} view\n     * @param {Object} rte The instance of already defined RTE\n     * @private\n     * */\n    disable(view, rte) {\n      const { em } = this;\n      const customRte = this.customRte;\n      var el = view.getChildrenContainer();\n\n      if (customRte) {\n        customRte.disable(el, rte);\n      } else {\n        rte && rte.disable();\n      }\n\n      hideToolbar();\n      if (em) {\n        em.off(eventsUp, this.updatePosition, this);\n        em.trigger('rte:disable', view, rte);\n      }\n    },\n  };\n};\n","export default {\n  // Style prefix\n  stylePrefix: 'clm-',\n\n  // Specify the element to use as a container, string (query) or HTMLElement\n  // With the empty value, nothing will be rendered\n  appendTo: '',\n\n  // Default selectors\n  selectors: [],\n\n  // Default states\n  states: [{ name: 'hover' }, { name: 'active' }, { name: 'nth-of-type(2n)' }],\n\n  // Custom selector name escaping strategy, eg.\n  // name => name.replace(' ', '_')\n  escapeName: 0,\n\n  // Custom selected name strategy (the string you see after 'Selected')\n  // ({ result, state, target }) => {\n  //  return `${result} - ID: ${target.getId()}`\n  // }\n  selectedName: 0,\n\n  // Icon used to add new selector\n  iconAdd:\n    '<svg viewBox=\"0 0 24 24\"><path d=\"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z\"></path></svg>',\n\n  // Icon used to sync styles\n  iconSync:\n    '<svg viewBox=\"0 0 24 24\"><path d=\"M12 18c-3.31 0-6-2.69-6-6 0-1 .25-1.97.7-2.8L5.24 7.74A7.93 7.93 0 0 0 4 12c0 4.42 3.58 8 8 8v3l4-4-4-4m0-11V1L8 5l4 4V6c3.31 0 6 2.69 6 6 0 1-.25 1.97-.7 2.8l1.46 1.46A7.93 7.93 0 0 0 20 12c0-4.42-3.58-8-8-8z\"></path></svg>',\n\n  // Icon to show when the selector is enabled\n  iconTagOn:\n    '<svg viewBox=\"0 0 24 24\"><path d=\"M19 19H5V5h10V3H5c-1.11 0-2 .89-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2v-8h-2m-11.09-.92L6.5 11.5 11 16 21 6l-1.41-1.42L11 13.17l-3.09-3.09z\"></path></svg>',\n\n  // Icon to show when the selector is disabled\n  iconTagOff:\n    '<svg viewBox=\"0 0 24 24\"><path d=\"M19 3H5c-1.11 0-2 .89-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5a2 2 0 0 0-2-2m0 2v14H5V5h14z\"></path></svg>',\n\n  // Icon used to remove the selector\n  iconTagRemove:\n    '<svg viewBox=\"0 0 24 24\"><path d=\"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z\"></path></svg>',\n\n  /**\n   * Custom render function for the Selector Manager\n   * @example\n   * render: ({ el, labelHead, labelStates, labelInfo, }) => {\n   *  // You can use the default `el` to extend/edit the current\n   *  // DOM element of the Selector Manager\n   *  const someEl = document.createElement('div');\n   *  // ...\n   *  el.appendChild(someEl);\n   *  // no need to return anything from the function\n   *\n   *  // Create and return a new DOM element\n   *  const newEl = document.createElement('div');\n   *  // ...\n   *  return newEl;\n   *\n   *  // Return an HTML string for a completely different layout.\n   *  // Use `data-*` attributes to make the module recognize some elements:\n   *  // `data-states` - Where to append state `<option>` elements (or just write yours)\n   *  // `data-selectors` - Where to append selectors\n   *  // `data-input` - Input element which is used to add new selectors\n   *  // `data-add` - Element which triggers the add of a new selector on click\n   *  // `data-sync-style` - Element which triggers the sync of styles (visible with `componentFirst` enabled)\n   *  // `data-selected` - Where to print selected selectors\n   *  return `\n   *    <div class=\"my-sm-header\">\n   *     <div>${labelHead}</div>\n   *     <div>\n   *       <select data-states>\n   *         <option value=\"\">${labelStates}</option>\n   *       </select>\n   *     </div>\n   *    </div>\n   *    <div class=\"my-sm-body\">\n   *      <div data-selectors></div>\n   *      <input data-input/>\n   *      <span data-add>Add</span>\n   *      <span data-sync-style>Sync</span>\n   *    </div>\n   *    <div class=\"my-sm-info\">\n   *      <div>${labelInfo}</div>\n   *      <div data-selected></div>\n   *    </div>\n   * `;\n   * }\n   */\n  render: 0,\n\n  // When you select a component in the canvas the selected Model (Component or CSS Rule)\n  // is passed to the StyleManager which will be then able to be styled, these are the cases:\n  // * Selected component doesn't have any classes: Component will be passed\n  // * Selected component has at least one class: The CSS Rule will be passed\n  //\n  // With this option enabled, also in the second case, the Component will be passed.\n  // This method allows to avoid styling classes directly and make, for example, some\n  // unintended changes below the visible canvas area (when components share same classes)\n  componentFirst: 0,\n\n  // Avoid rendering the default Selector Manager UI.\n  custom: false\n};\n","import { Model } from 'common';\n\n/**\n * @typedef State\n * @property {String} name State name, eg. `hover`, `nth-of-type(2n)`\n * @property {String} label State label, eg. `Hover`, `Even/Odd`\n */\nexport default class State extends Model {\n  defaults() {\n    return {\n      name: '',\n      label: ''\n    };\n  }\n\n  /**\n   * Get state name\n   * @returns {String}\n   */\n  getName() {\n    return this.get('name');\n  }\n\n  /**\n   * Get state label. If label was not provided, the name will be returned.\n   * @returns {String}\n   */\n  getLabel() {\n    return this.get('label') || this.getName();\n  }\n}\n\nState.prototype.idAttribute = 'name';\n","import Backbone from 'backbone';\n\nconst inputProp = 'contentEditable';\n\nexport default Backbone.View.extend({\n  template() {\n    const { pfx, model, config } = this;\n    const label = model.get('label') || '';\n\n    return `\n      <span id=\"${pfx}checkbox\" class=\"${pfx}tag-status\" data-tag-status></span>\n      <span id=\"${pfx}tag-label\" data-tag-name>${label}</span>\n      <span id=\"${pfx}close\" class=\"${pfx}tag-close\" data-tag-remove>\n        ${config.iconTagRemove}\n      </span>\n    `;\n  },\n\n  events: {\n    'click [data-tag-remove]': 'removeTag',\n    'click [data-tag-status]': 'changeStatus',\n    'dblclick [data-tag-name]': 'startEditTag',\n    'focusout [data-tag-name]': 'endEditTag'\n  },\n\n  initialize(o = {}) {\n    const config = o.config || {};\n    this.config = config;\n    this.module = o.module;\n    this.coll = o.coll || null;\n    this.pfx = config.stylePrefix || '';\n    this.ppfx = config.pStylePrefix || '';\n    this.em = config.em;\n    this.listenTo(this.model, 'change:active', this.updateStatus);\n  },\n\n  /**\n   * Returns the element which containes the anme of the tag\n   * @return {HTMLElement}\n   */\n  getInputEl() {\n    if (!this.inputEl) {\n      this.inputEl = this.el.querySelector('[data-tag-name]');\n    }\n\n    return this.inputEl;\n  },\n\n  /**\n   * Start editing tag\n   * @private\n   */\n  startEditTag() {\n    const { em } = this;\n    const inputEl = this.getInputEl();\n    inputEl[inputProp] = true;\n    inputEl.focus();\n    em && em.setEditing(1);\n  },\n\n  /**\n   * End editing tag. If the class typed already exists the\n   * old one will be restored otherwise will be changed\n   * @private\n   */\n  endEditTag() {\n    const model = this.model;\n    const inputEl = this.getInputEl();\n    const label = inputEl.textContent;\n    const em = this.em;\n    const sm = em && em.get('SelectorManager');\n    inputEl[inputProp] = false;\n    em && em.setEditing(0);\n\n    if (sm) {\n      const name = sm.escapeName(label);\n\n      if (sm.get(name)) {\n        inputEl.innerText = model.get('label');\n      } else {\n        model.set({ name, label });\n      }\n    }\n  },\n\n  /**\n   * Update status of the tag\n   * @private\n   */\n  changeStatus() {\n    const { model } = this;\n    model.set('active', !model.get('active'));\n  },\n\n  /**\n   * Remove tag from the selected component\n   * @param {Object} e\n   * @private\n   */\n  removeTag() {\n    this.module.removeSelected(this.model);\n  },\n\n  /**\n   * Update status of the checkbox\n   * @private\n   */\n  updateStatus() {\n    const { model, $el, config } = this;\n    const { iconTagOn, iconTagOff } = config;\n    const $chk = $el.find('[data-tag-status]');\n\n    if (model.get('active')) {\n      $chk.html(iconTagOn);\n      $el.removeClass('opac50');\n    } else {\n      $chk.html(iconTagOff);\n      $el.addClass('opac50');\n    }\n  },\n\n  render() {\n    const pfx = this.pfx;\n    const ppfx = this.ppfx;\n    this.$el.html(this.template());\n    this.$el.attr('class', `${pfx}tag ${ppfx}three-bg`);\n    this.updateStatus();\n    return this;\n  }\n});\n","import { isEmpty, isArray, isString, debounce } from 'underscore';\nimport Backbone from 'backbone';\nimport ClassTagView from './ClassTagView';\nimport html from 'utils/html';\n\nexport default Backbone.View.extend({\n  template({ labelInfo, labelHead, iconSync, iconAdd, pfx, ppfx }) {\n    return `\n    <div id=\"${pfx}up\" class=\"${pfx}header\">\n      <div id=\"${pfx}label\" class=\"${pfx}header-label\">${labelHead}</div>\n      <div id=\"${pfx}status-c\" class=\"${pfx}header-status\">\n        <span id=\"${pfx}input-c\" data-states-c>\n          <div class=\"${ppfx}field ${ppfx}select\">\n            <span id=\"${ppfx}input-holder\">\n              <select id=\"${pfx}states\" data-states></select>\n            </span>\n            <div class=\"${ppfx}sel-arrow\">\n              <div class=\"${ppfx}d-s-arrow\"></div>\n            </div>\n          </div>\n        </span>\n      </div>\n    </div>\n    <div id=\"${pfx}tags-field\" class=\"${ppfx}field\">\n      <div id=\"${pfx}tags-c\" data-selectors></div>\n      <input id=\"${pfx}new\" data-input/>\n      <span id=\"${pfx}add-tag\" class=\"${pfx}tags-btn ${pfx}tags-btn__add\" data-add>\n        ${iconAdd}\n      </span>\n      <span class=\"${pfx}tags-btn ${pfx}tags-btn__sync\" style=\"display: none\" data-sync-style>\n        ${iconSync}\n      </span>\n    </div>\n    <div class=\"${pfx}sels-info\">\n      <div class=\"${pfx}label-sel\">${labelInfo}:</div>\n      <div class=\"${pfx}sels\" data-selected></div>\n    </div>`;\n  },\n\n  events: {\n    'change [data-states]': 'stateChanged',\n    'click [data-add]': 'startNewTag',\n    'focusout [data-input]': 'endNewTag',\n    'keyup [data-input]': 'onInputKeyUp',\n    'click [data-sync-style]': 'syncStyle',\n  },\n\n  initialize(o = {}) {\n    this.config = o.config || {};\n    this.pfx = this.config.stylePrefix || '';\n    this.ppfx = this.config.pStylePrefix || '';\n    this.className = this.pfx + 'tags';\n    this.stateInputId = this.pfx + 'states';\n    this.stateInputC = this.pfx + 'input-c';\n    this.states = this.config.states || [];\n    const { em } = this.config;\n    const coll = this.collection;\n    this.target = this.config.em;\n    const md = o.module;\n    this.module = md;\n    this.em = em;\n    const toList = 'component:toggled component:update:classes';\n    const toListCls = 'component:update:classes change:state';\n    this.listenTo(em, toList, this.componentChanged);\n    this.listenTo(em, 'styleManager:update', this.componentChanged);\n    this.listenTo(em, toListCls, this.__handleStateChange);\n    this.listenTo(em, 'styleable:change change:device', this.checkSync); // component:styleUpdate\n    this.listenTo(coll, 'add', this.addNew);\n    this.listenTo(coll, 'reset', this.renderClasses);\n    this.listenTo(coll, 'remove', this.tagRemoved);\n    this.listenTo(\n      md.getAll(),\n      md.events.state,\n      debounce(() => this.renderStates())\n    );\n    this.delegateEvents();\n  },\n\n  syncStyle() {\n    const { em } = this;\n    const target = this.getTarget();\n    const cssC = em.get('CssComposer');\n    const opts = { noDisabled: 1 };\n    const selectors = this.getCommonSelectors({ opts });\n    const state = em.get('state');\n    const mediaText = em.getCurrentMedia();\n    const ruleComponents = [];\n    const rule = cssC.get(selectors, state, mediaText) || cssC.add(selectors, state, mediaText);\n    let style;\n\n    this.getTargets().forEach(target => {\n      const ruleComponent = cssC.getIdRule(target.getId(), {\n        state,\n        mediaText,\n      });\n      style = ruleComponent.getStyle();\n      ruleComponent.setStyle({});\n      ruleComponents.push(ruleComponent);\n    });\n\n    style && rule.addStyle(style);\n    em.trigger('component:toggled');\n    em.trigger('component:sync-style', {\n      component: target,\n      selectors,\n      mediaText,\n      rule,\n      ruleComponents,\n      state,\n    });\n  },\n\n  /**\n   * Triggered when a tag is removed from collection\n   * @param {Object} model Removed model\n   * @private\n   */\n  tagRemoved(model) {\n    this.updateStateVis();\n  },\n\n  /**\n   * Add new model\n   * @param {Object} model\n   * @private\n   */\n  addNew(model) {\n    this.addToClasses(model);\n  },\n\n  /**\n   * Start tag creation\n   * @param {Object} e\n   * @private\n   */\n  startNewTag() {\n    this.$addBtn.css({ display: 'none' });\n    this.$input.show().focus();\n  },\n\n  /**\n   * End tag creation\n   * @param {Object} e\n   * @private\n   */\n  endNewTag() {\n    this.$addBtn.css({ display: '' });\n    this.$input.hide().val('');\n  },\n\n  /**\n   * Checks what to do on keyup event\n   * @param  {Object} e\n   * @private\n   */\n  onInputKeyUp(e) {\n    if (e.keyCode === 13) {\n      e.preventDefault();\n      this.addNewTag(this.$input.val());\n    } else if (e.keyCode === 27) {\n      this.endNewTag();\n    }\n  },\n\n  checkStates() {\n    const state = this.em.getState();\n    const statesEl = this.getStates();\n    statesEl && statesEl.val(state);\n  },\n\n  /**\n   * Triggered when component is changed\n   * @param  {Object} e\n   * @private\n   */\n  componentChanged: debounce(function ({ targets } = {}) {\n    this.updateSelection(targets);\n  }),\n\n  updateSelection(targets) {\n    let trgs = targets || this.getTargets();\n    trgs = isArray(trgs) ? trgs : [trgs];\n    let selectors = [];\n\n    if (trgs && trgs.length) {\n      selectors = this.getCommonSelectors({ targets: trgs });\n      this.checkSync({ validSelectors: selectors });\n    }\n\n    this.collection.reset(selectors);\n    this.updateStateVis(trgs);\n    this.module.__trgCustom();\n    return selectors;\n  },\n\n  getCommonSelectors({ targets, opts = {} } = {}) {\n    const trgs = targets || this.getTargets();\n    return this.module.__getCommonSelectors(trgs, opts);\n  },\n\n  _commonSelectors(...args) {\n    return this.module.__common(...args);\n  },\n\n  checkSync: debounce(function () {\n    const { $btnSyncEl, config, collection } = this;\n    const target = this.getTarget();\n    let hasStyle;\n\n    if (target && config.componentFirst && collection.length) {\n      const style = target.getStyle();\n      hasStyle = !isEmpty(style);\n    }\n\n    $btnSyncEl && $btnSyncEl[hasStyle ? 'show' : 'hide']();\n  }),\n\n  getTarget() {\n    return this.target.getSelected();\n  },\n\n  getTargets() {\n    return this.target.getSelectedAll();\n  },\n\n  /**\n   * Update states visibility. Hides states in case there is no tags\n   * inside collection\n   * @private\n   */\n  updateStateVis(target) {\n    const em = this.em;\n    const avoidInline = em && em.getConfig('avoidInlineStyle');\n    const display = this.collection.length || avoidInline ? '' : 'none';\n    this.getStatesC().css('display', display);\n    this.updateSelector(target);\n  },\n\n  __handleStateChange() {\n    this.updateSelector(this.getTargets());\n  },\n\n  /**\n   * Update selector helper\n   * @return {this}\n   * @private\n   */\n  updateSelector(targets) {\n    const elSel = this.el.querySelector('[data-selected]');\n    const result = [];\n    let trgs = targets || this.getTargets();\n    trgs = isArray(trgs) ? trgs : [trgs];\n\n    trgs.forEach(target => result.push(this.__getName(target)));\n    elSel && (elSel.innerHTML = result.join(', '));\n    this.checkStates();\n  },\n\n  __getName(target) {\n    const { pfx, config, em } = this;\n    const { selectedName, componentFirst } = config;\n    let result;\n\n    if (isString(target)) {\n      result = html`<span class=\"${pfx}sel-gen\">${target}</span>`;\n    } else {\n      const sel = target && target.get && target.getSelectors();\n      if (!sel) return;\n      const selectors = sel.getStyleable();\n      const state = em.get('state');\n      const idRes = target.getId\n        ? html`<span class=\"${pfx}sel-cmp\">${target.getName()}</span>\n            <span class=\"${pfx}sel-id\">#${target.getId()}</span>`\n        : '';\n      result = this.collection.getFullString(selectors);\n      result = result ? html`<span class=\"${pfx}sel-rule\">${result}</span>` : target.get('selectorsAdd') || idRes;\n      result = componentFirst && idRes ? idRes : result;\n      result += state ? html`<span class=\"${pfx}sel-state\">:${state}</span>` : '';\n      result = selectedName ? selectedName({ result, state, target }) : result;\n    }\n\n    return result && `<span class=\"${pfx}sel\">${result}</span>`;\n  },\n\n  /**\n   * Triggered when the select with states is changed\n   * @param  {Object} e\n   * @private\n   */\n  stateChanged(ev) {\n    const { em } = this;\n    const { value } = ev.target;\n    em.set('state', value);\n  },\n\n  /**\n   * Add new tag to collection, if possible, and to the component\n   * @param  {Object} e\n   * @private\n   */\n  addNewTag(value) {\n    const label = value.trim();\n    if (!label) return;\n    this.module.addSelected({ label });\n    this.endNewTag();\n    // this.updateStateVis(); // Check if required\n  },\n\n  /**\n   * Add new object to collection\n   * @param   {Object} model  Model\n   * @param   {Object} fragmentEl   Fragment collection\n   * @return {Object} Object created\n   * @private\n   * */\n  addToClasses(model, fragmentEl = null) {\n    const fragment = fragmentEl;\n    const classes = this.getClasses();\n    const rendered = new ClassTagView({\n      model,\n      config: this.config,\n      coll: this.collection,\n      module: this.module,\n    }).render().el;\n\n    fragment ? fragment.appendChild(rendered) : classes.append(rendered);\n\n    return rendered;\n  },\n\n  /**\n   * Render the collection of classes\n   * @private\n   */\n  renderClasses() {\n    const frag = document.createDocumentFragment();\n    const classes = this.getClasses();\n    classes.empty();\n    this.collection.each(model => this.addToClasses(model, frag));\n    classes.append(frag);\n  },\n\n  /**\n   * Return classes element\n   * @return {HTMLElement}\n   * @private\n   */\n  getClasses() {\n    return this.$el.find('[data-selectors]');\n  },\n\n  /**\n   * Return states element\n   * @return {HTMLElement}\n   * @private\n   */\n  getStates() {\n    if (!this.$states) {\n      const el = this.$el.find('[data-states]');\n      this.$states = el[0] && el;\n    }\n    return this.$states;\n  },\n\n  /**\n   * Return states container element\n   * @return {HTMLElement}\n   * @private\n   */\n  getStatesC() {\n    if (!this.$statesC) this.$statesC = this.$el.find('#' + this.stateInputC);\n    return this.$statesC;\n  },\n\n  renderStates() {\n    const { module, em } = this;\n    const labelStates = em.t('selectorManager.emptyState');\n    const options = module\n      .getStates()\n      .map(state => {\n        const label = em.t(`selectorManager.states.${state.id}`) || state.getLabel() || state.id;\n        return `<option value=\"${state.id}\">${label}</option>`;\n      })\n      .join('');\n\n    const statesEl = this.getStates();\n    statesEl && statesEl.html(`<option value=\"\">${labelStates}</option>${options}`);\n    this.checkStates();\n  },\n\n  render() {\n    const { em, pfx, ppfx, config, $el, el } = this;\n    const { render, iconSync, iconAdd } = config;\n    const tmpOpts = {\n      iconSync,\n      iconAdd,\n      labelHead: em.t('selectorManager.label'),\n      labelInfo: em.t('selectorManager.selected'),\n      ppfx,\n      pfx,\n      el,\n    };\n    $el.html(this.template(tmpOpts));\n    const renderRes = render && render(tmpOpts);\n    renderRes && renderRes !== el && $el.empty().append(renderRes);\n    this.$input = $el.find('[data-input]');\n    this.$addBtn = $el.find('[data-add]');\n    this.$classes = $el.find('#' + pfx + 'tags-c');\n    this.$btnSyncEl = $el.find('[data-sync-style]');\n    this.$input.hide();\n    this.renderStates();\n    this.renderClasses();\n    $el.attr('class', `${this.className} ${ppfx}one-bg ${ppfx}two-color`);\n    return this;\n  },\n});\n","/**\n * Selectors in GrapesJS are used in CSS Composer inside Rules and in Components as classes. To illustrate this concept let's take\n * a look at this code:\n *\n * ```css\n * span > #send-btn.btn{\n *  ...\n * }\n * ```\n * ```html\n * <span>\n *   <button id=\"send-btn\" class=\"btn\"></button>\n * </span>\n * ```\n *\n * In this scenario we get:\n * * span     -> selector of type `tag`\n * * send-btn -> selector of type `id`\n * * btn      -> selector of type `class`\n *\n * So, for example, being `btn` the same class entity it'll be easier to refactor and track things.\n *\n * You can customize the initial state of the module from the editor initialization, by passing the following [Configuration Object](https://github.com/artf/grapesjs/blob/master/src/selector_manager/config/config.js)\n * ```js\n * const editor = grapesjs.init({\n *  selectorManager: {\n *    // options\n *  }\n * })\n * ```\n *\n * Once the editor is instantiated you can use its API and listen to its events. Before using these methods, you should get the module from the instance.\n *\n * ```js\n * // Listen to events\n * editor.on('selector:add', (selector) => { ... });\n *\n * // Use the API\n * const sm = editor.Selectors;\n * sm.add(...);\n * ```\n *\n * ## Available Events\n * * `selector:add` - Selector added. The [Selector] is passed as an argument to the callback.\n * * `selector:remove` - Selector removed. The [Selector] is passed as an argument to the callback.\n * * `selector:update` - Selector updated. The [Selector] and the object containing changes are passed as arguments to the callback.\n * * `selector:state` - States changed. An object containing all the available data about the triggered event is passed as an argument to the callback.\n * * `selector` - Catch-all event for all the events mentioned above. An object containing all the available data about the triggered event is passed as an argument to the callback.\n *\n * ## Methods\n * * [getConfig](#getconfig)\n * * [add](#add)\n * * [get](#get)\n * * [remove](#remove)\n * * [getAll](#getall)\n * * [setState](#setstate)\n * * [getState](#getstate)\n * * [getStates](#getstates)\n * * [setStates](#setstates)\n * * [getSelected](#getselected)\n * * [addSelected](#addselected)\n * * [removeSelected](#removeselected)\n * * [getSelectedTargets](#getselectedtargets)\n * * [setComponentFirst](#setcomponentfirst)\n * * [getComponentFirst](#getcomponentfirst)\n *\n * [Selector]: selector.html\n * [State]: state.html\n * [Component]: component.html\n * [CssRule]: css_rule.html\n *\n * @module SelectorManager\n */\n\nimport { isString, debounce, isObject, isArray } from 'underscore';\nimport { isComponent, isRule } from 'utils/mixins';\nimport { Model, Collection } from 'common';\nimport Module from 'common/module';\nimport defaults from './config/config';\nimport Selector from './model/Selector';\nimport Selectors from './model/Selectors';\nimport State from './model/State';\nimport ClassTagsView from './view/ClassTagsView';\n\nconst isId = str => isString(str) && str[0] == '#';\nconst isClass = str => isString(str) && str[0] == '.';\n\nexport const evAll = 'selector';\nexport const evPfx = `${evAll}:`;\nexport const evAdd = `${evPfx}add`;\nexport const evUpdate = `${evPfx}update`;\nexport const evRemove = `${evPfx}remove`;\nexport const evRemoveBefore = `${evRemove}:before`;\nexport const evCustom = `${evPfx}custom`;\nexport const evState = `${evPfx}state`;\n\nexport default () => {\n  return {\n    ...Module,\n\n    name: 'SelectorManager',\n\n    Selector,\n\n    Selectors,\n\n    events: {\n      all: evAll,\n      update: evUpdate,\n      add: evAdd,\n      remove: evRemove,\n      removeBefore: evRemoveBefore,\n      state: evState,\n      custom: evCustom,\n    },\n\n    /**\n     * Get configuration object\n     * @name getConfig\n     * @function\n     * @return {Object}\n     */\n\n    init(conf = {}) {\n      this.__initConfig(defaults, conf);\n      const config = this.getConfig();\n      const em = config.em;\n      const ppfx = config.pStylePrefix;\n\n      if (ppfx) {\n        config.stylePrefix = ppfx + config.stylePrefix;\n      }\n\n      // Global selectors container\n      this.all = new Selectors(config.selectors);\n      this.selected = new Selectors([], { em, config });\n      this.states = new Collection(config.states, { model: State });\n      this.model = new Model({ cFirst: config.componentFirst, _undo: true });\n      this.__initListen({\n        collections: [this.states, this.selected],\n        propagate: [{ entity: this.states, event: this.events.state }],\n      });\n      em.on('change:state', (m, value) => em.trigger(evState, value));\n      this.model.on('change:cFirst', (m, value) => em.trigger('selector:type', value));\n      const listenTo =\n        'component:toggled component:update:classes change:device styleManager:update selector:state selector:type';\n      this.model.listenTo(em, listenTo, () => this.__update());\n\n      return this;\n    },\n\n    __update: debounce(function () {\n      this.__trgCustom();\n    }),\n\n    __trgCustom(opts) {\n      this.em.trigger(this.events.custom, this.__customData(opts));\n    },\n\n    __customData(opts = {}) {\n      const { container } = opts;\n      return {\n        states: this.getStates(),\n        selected: this.getSelected(),\n        container,\n      };\n    },\n\n    // postLoad() {\n    //   this.__postLoad();\n    //   const { em, model } = this;\n    //   const um = em.get('UndoManager');\n    //   um && um.add(model);\n    //   um && um.add(this.pages);\n    // },\n\n    postRender() {\n      this.__appendTo();\n      this.__trgCustom();\n    },\n\n    select(value, opts = {}) {\n      const targets = Array.isArray(value) ? value : [value];\n      const toSelect = this.em.get('StyleManager').select(targets, opts);\n      const selTags = this.selectorTags;\n      const res = toSelect\n        .filter(i => i)\n        .map(sel =>\n          isComponent(sel) ? sel : isRule(sel) && !sel.get('selectorsAdd') ? sel : sel.getSelectorsString()\n        );\n      selTags && selTags.componentChanged({ targets: res });\n      return this;\n    },\n\n    addSelector(name, opts = {}, cOpts = {}) {\n      let props = { ...opts };\n\n      if (isObject(name)) {\n        props = name;\n      } else {\n        props.name = name;\n      }\n\n      if (isId(props.name)) {\n        props.name = props.name.substr(1);\n        props.type = Selector.TYPE_ID;\n      } else if (isClass(props.name)) {\n        props.name = props.name.substr(1);\n      }\n\n      if (props.label && !props.name) {\n        props.name = this.escapeName(props.label);\n      }\n\n      const cname = props.name;\n      const config = this.getConfig();\n      const all = this.getAll();\n      const selector = cname ? this.get(cname, props.type) : all.where(props)[0];\n\n      if (!selector) {\n        return all.add(props, { ...cOpts, config });\n      }\n\n      return selector;\n    },\n\n    getSelector(name, type = Selector.TYPE_CLASS) {\n      if (isId(name)) {\n        name = name.substr(1);\n        type = Selector.TYPE_ID;\n      } else if (isClass(name)) {\n        name = name.substr(1);\n      }\n\n      return this.getAll().where({ name, type })[0];\n    },\n\n    /**\n     * Add a new selector to the collection if it does not already exist.\n     * You can pass selectors properties or string identifiers.\n     * @param {Object|String} props Selector properties or string identifiers, eg. `{ name: 'my-class', label: 'My class' }`, `.my-cls`\n     * @param {Object} [opts] Selector options\n     * @return {[Selector]}\n     * @example\n     * const selector = selectorManager.add({ name: 'my-class', label: 'My class' });\n     * console.log(selector.toString()) // `.my-class`\n     * // Same as\n     * const selector = selectorManager.add('.my-class');\n     * console.log(selector.toString()) // `.my-class`\n     * */\n    add(props, opts = {}) {\n      const cOpts = isString(props) ? {} : opts;\n      // Keep support for arrays but avoid it in docs\n      if (isArray(props)) {\n        return props.map(item => this.addSelector(item, opts, cOpts));\n      } else {\n        return this.addSelector(props, opts, cOpts);\n      }\n    },\n\n    /**\n     * Add class selectors\n     * @param {Array|string} classes Array or string of classes\n     * @return {Array} Array of added selectors\n     * @private\n     * @example\n     * sm.addClass('class1');\n     * sm.addClass('class1 class2');\n     * sm.addClass(['class1', 'class2']);\n     * // -> [SelectorObject, ...]\n     */\n    addClass(classes) {\n      const added = [];\n\n      if (isString(classes)) {\n        classes = classes.trim().split(' ');\n      }\n\n      classes.forEach(name => added.push(this.addSelector(name)));\n      return added;\n    },\n\n    /**\n     * Get the selector by its name/type\n     * @param {String} name Selector name or string identifier\n     * @returns {[Selector]|null}\n     * @example\n     * const selector = selectorManager.get('.my-class');\n     * // Get Id\n     * const selectorId = selectorManager.get('#my-id');\n     * */\n    get(name, type) {\n      // Keep support for arrays but avoid it in docs\n      if (isArray(name)) {\n        const result = [];\n        const selectors = name.map(item => this.getSelector(item)).filter(item => item);\n        selectors.forEach(item => result.indexOf(item) < 0 && result.push(item));\n        return result;\n      } else {\n        return this.getSelector(name, type) || null;\n      }\n    },\n\n    /**\n     * Remove Selector.\n     * @param {String|[Selector]} selector Selector instance or Selector string identifier\n     * @returns {[Selector]} Removed Selector\n     * @example\n     * const removed = selectorManager.remove('.myclass');\n     * // or by passing the Selector\n     * selectorManager.remove(selectorManager.get('.myclass'));\n     */\n    remove(selector, opts) {\n      return this.__remove(selector, opts);\n    },\n\n    /**\n     * Change the selector state\n     * @param {String} value State value\n     * @returns {this}\n     * @example\n     * selectorManager.setState('hover');\n     */\n    setState(value) {\n      this.em.setState(value);\n      return this;\n    },\n\n    /**\n     * Get the current selector state value\n     * @returns {String}\n     */\n    getState() {\n      return this.em.getState();\n    },\n\n    /**\n     * Get states\n     * @returns {Array<[State]>}\n     */\n    getStates() {\n      return [...this.states.models];\n    },\n\n    /**\n     * Set a new collection of states\n     * @param {Array<Object>} states Array of new states\n     * @returns {Array<[State]>}\n     * @example\n     * const states = selectorManager.setStates([\n     *   { name: 'hover', label: 'Hover' },\n     *   { name: 'nth-of-type(2n)', label: 'Even/Odd' }\n     * ]);\n     */\n    setStates(states, opts) {\n      return this.states.reset(states, opts);\n    },\n\n    /**\n     * Get commonly selected selectors, based on all selected components.\n     * @returns {Array<[Selector]>}\n     * @example\n     * const selected = selectorManager.getSelected();\n     * console.log(selected.map(s => s.toString()))\n     */\n    getSelected() {\n      return this.__getCommon();\n    },\n\n    /**\n     * Add new selector to all selected components.\n     * @param {Object|String} props Selector properties or string identifiers, eg. `{ name: 'my-class', label: 'My class' }`, `.my-cls`\n     * @example\n     * selectorManager.addSelected('.new-class');\n     */\n    addSelected(props) {\n      const added = this.add(props);\n      // TODO: target should be the one from StyleManager\n      this.em.getSelectedAll().forEach(target => {\n        target.getSelectors().add(added);\n      });\n      // TODO: update selected collection\n    },\n\n    /**\n     * Remove a common selector from all selected components.\n     * @param {String|[Selector]} selector Selector instance or Selector string identifier\n     * @example\n     * selectorManager.removeSelected('.myclass');\n     */\n    removeSelected(selector) {\n      this.em.getSelectedAll().forEach(trg => {\n        !selector.get('protected') && trg && trg.getSelectors().remove(selector);\n      });\n    },\n\n    /**\n     * Get the array of currently selected targets.\n     * @returns {Array<[Component]|[CssRule]>}\n     * @example\n     * const targetsToStyle = selectorManager.getSelectedTargets();\n     * console.log(targetsToStyle.map(target => target.getSelectorsString()))\n     */\n    getSelectedTargets() {\n      return this.em.get('StyleManager').getSelectedAll();\n    },\n\n    /**\n     * Update component-first option.\n     * If the component-first is enabled, all the style changes will be applied on selected components (ID rules) instead\n     * of selectors (which would change styles on all components with those classes).\n     * @param {Boolean} value\n     */\n    setComponentFirst(value) {\n      this.getConfig().componentFirst = value;\n      this.model.set({ cFirst: value });\n    },\n\n    /**\n     * Get the value of component-first option.\n     * @return {Boolean}\n     */\n    getComponentFirst() {\n      return this.getConfig().componentFirst;\n    },\n\n    /**\n     * Get all selectors\n     * @name getAll\n     * @function\n     * @return {Collection<[Selector]>}\n     * */\n\n    /**\n     * Return escaped selector name\n     * @param {String} name Selector name to escape\n     * @returns {String} Escaped name\n     * @private\n     */\n    escapeName(name) {\n      const { escapeName } = this.getConfig();\n      return escapeName ? escapeName(name) : Selector.escapeName(name);\n    },\n\n    /**\n     * Render class selectors. If an array of selectors is provided a new instance of the collection will be rendered\n     * @param {Array<Object>} selectors\n     * @return {HTMLElement}\n     * @private\n     */\n    render(selectors) {\n      const { em, selectorTags } = this;\n      const config = this.getConfig();\n      const el = selectorTags && selectorTags.el;\n      this.selected.reset(selectors);\n      this.selectorTags = new ClassTagsView({\n        el,\n        collection: this.selected,\n        module: this,\n        config,\n      });\n\n      return this.selectorTags.render().el;\n    },\n\n    destroy() {\n      const { selectorTags, model } = this;\n      model.stopListening();\n      this.__destroy();\n      selectorTags && selectorTags.remove();\n      this.selectorTags = {};\n    },\n\n    /**\n     * Get common selectors from the current selection.\n     * @return {Array<Selector>}\n     * @private\n     */\n    __getCommon() {\n      return this.__getCommonSelectors(this.em.getSelectedAll());\n    },\n\n    __getCommonSelectors(components, opts = {}) {\n      const selectors = components.map(cmp => cmp.getSelectors && cmp.getSelectors().getValid(opts)).filter(Boolean);\n      return this.__common(...selectors);\n    },\n\n    __common(...args) {\n      if (!args.length) return [];\n      if (args.length === 1) return args[0];\n      if (args.length === 2) return args[0].filter(item => args[1].indexOf(item) >= 0);\n\n      return args.slice(1).reduce((acc, item) => this.__common(acc, item), args[0]);\n    },\n  };\n};\n","import { Model } from 'common';\nimport { result, forEach, keys } from 'underscore';\n\nconst TYPE_CLASS = 1;\nconst TYPE_ID = 2;\n\n/**\n * @typedef Selector\n * @property {String} name Selector name, eg. `my-class`\n * @property {String} label Selector label, eg. `My Class`\n * @property {Number} [type=1] Type of the selector. 1 (class) | 2 (id)\n * @property {Boolean} [active=true] If not active, it's not selectable by the Style Manager.\n * @property {Boolean} [private=false] If true, it can't be seen by the Style Manager, but it will be rendered in the canvas and in export code.\n * @property {Boolean} [protected=false] If true, it can't be removed from the attacched component.\n */\nexport default class Selector extends Model {\n  defaults() {\n    return {\n      name: '',\n      label: '',\n      type: TYPE_CLASS,\n      active: true,\n      private: false,\n      protected: false,\n      _undo: true\n    };\n  }\n\n  initialize(props, opts = {}) {\n    const { config = {} } = opts;\n    const name = this.get('name');\n    const label = this.get('label');\n\n    if (!name) {\n      this.set('name', label);\n    } else if (!label) {\n      this.set('label', name);\n    }\n\n    const namePreEsc = this.get('name');\n    const { escapeName } = config;\n    const nameEsc = escapeName\n      ? escapeName(namePreEsc)\n      : Selector.escapeName(namePreEsc);\n    this.set('name', nameEsc);\n    this.em = config.em;\n  }\n\n  isId() {\n    return this.get('type') === TYPE_ID;\n  }\n\n  isClass() {\n    return this.get('type') === TYPE_CLASS;\n  }\n\n  getFullName(opts = {}) {\n    const { escape } = opts;\n    const name = this.get('name');\n    let pfx = '';\n\n    switch (this.get('type')) {\n      case TYPE_CLASS:\n        pfx = '.';\n        break;\n      case TYPE_ID:\n        pfx = '#';\n        break;\n    }\n\n    return pfx + (escape ? escape(name) : name);\n  }\n\n  /**\n   * Get selector as a string.\n   * @returns {String}\n   * @example\n   * // Given such selector: { name: 'my-selector', type: 2 }\n   * console.log(selector.toString());\n   * // -> `#my-selector`\n   */\n  toString() {\n    return this.getFullName();\n  }\n\n  /**\n   * Get selector label.\n   * @returns {String}\n   * @example\n   * // Given such selector: { name: 'my-selector', label: 'My selector' }\n   * console.log(selector.getLabel());\n   * // -> `My selector`\n   */\n  getLabel() {\n    return this.get('label');\n  }\n\n  /**\n   * Update selector label.\n   * @param {String} label New label\n   * @example\n   * // Given such selector: { name: 'my-selector', label: 'My selector' }\n   * selector.setLabel('New Label')\n   * console.log(selector.getLabel());\n   * // -> `New Label`\n   */\n  setLabel(label) {\n    return this.set('label', label);\n  }\n\n  /**\n   * Get selector active state.\n   * @returns {Boolean}\n   */\n  getActive() {\n    return this.get('active');\n  }\n\n  /**\n   * Update selector active state.\n   * @param {Boolean} value New active state\n   */\n  setActive(value) {\n    return this.set('active', value);\n  }\n\n  toJSON(opts = {}) {\n    const { em } = this;\n    let obj = Model.prototype.toJSON.call(this, [opts]);\n    const defaults = result(this, 'defaults');\n\n    if (em && em.getConfig('avoidDefaults')) {\n      forEach(defaults, (value, key) => {\n        if (obj[key] === value) {\n          delete obj[key];\n        }\n      });\n\n      if (obj.label === obj.name) {\n        delete obj.label;\n      }\n\n      const objLen = keys(obj).length;\n\n      if (objLen === 1 && obj.name) {\n        obj = obj.name;\n      }\n\n      if (objLen === 2 && obj.name && obj.type) {\n        obj = this.getFullName();\n      }\n    }\n\n    return obj;\n  }\n}\n\nSelector.prototype.idAttribute = 'name';\n\n// Type selectors: https://developer.mozilla.org/it/docs/Web/CSS/CSS_Selectors\nSelector.TYPE_CLASS = TYPE_CLASS;\nSelector.TYPE_ID = TYPE_ID;\n\n/**\n * Escape string\n * @param {string} name\n * @return {string}\n * @private\n */\nSelector.escapeName = name => {\n  return `${name}`.trim().replace(/([^a-z0-9\\w-\\:]+)/gi, '-');\n};\n","import { filter } from 'underscore';\nimport { Collection } from 'common';\nimport Selector from './Selector';\n\nconst combine = (tail, curr) => {\n  return tail.reduce(\n    (acc, item, n) => {\n      return acc.concat(combine(tail.slice(n + 1), `${curr}${item}`));\n    },\n    [curr]\n  );\n};\n\nexport default class Selectors extends Collection {\n  modelId(attr) {\n    return `${attr.name}_${attr.type || Selector.TYPE_CLASS}`;\n  }\n\n  getStyleable() {\n    return filter(\n      this.models,\n      item => item.get('active') && !item.get('private')\n    );\n  }\n\n  getValid({ noDisabled } = {}) {\n    return filter(this.models, item => !item.get('private')).filter(item =>\n      noDisabled ? item.get('active') : 1\n    );\n  }\n\n  getFullString(collection, opts = {}) {\n    const result = [];\n    const coll = collection || this;\n    coll.forEach(selector => result.push(selector.getFullName(opts)));\n    return result.join('').trim();\n  }\n\n  getFullName(opts = {}) {\n    const { combination, array } = opts;\n    let result = [];\n    const sels = this.map(s => s.getFullName(opts)).sort();\n\n    if (combination) {\n      sels.forEach((sel, n) => {\n        result = result.concat(combine(sels.slice(n + 1), sel));\n      });\n    } else {\n      result = sels;\n    }\n\n    return array ? result : combination ? result.join(',') : result.join('');\n  }\n}\n\nSelectors.prototype.model = Selector;\n","export default {\n  // Prefix identifier that will be used inside storing and loading\n  id: 'gjs-',\n\n  // Enable/Disable autosaving\n  autosave: true,\n\n  // Indicates if load data inside editor after init\n  autoload: true,\n\n  // Indicates which storage to use. Available: local | remote\n  type: 'local',\n\n  // If autosave enabled, indicates how many steps (general changes to structure)\n  // need to be done before save. Useful with remoteStorage to reduce remote calls\n  stepsBeforeSave: 1,\n\n  //Enable/Disable components model (JSON format)\n  storeComponents: true,\n\n  //Enable/Disable styles model (JSON format)\n  storeStyles: true,\n\n  //Enable/Disable saving HTML template\n  storeHtml: true,\n\n  //Enable/Disable saving CSS template\n  storeCss: true,\n\n  // ONLY FOR LOCAL STORAGE\n  // If enabled, checks if browser supports Local Storage\n  checkLocal: true,\n\n  // ONLY FOR REMOTE STORAGE\n  // Custom parameters to pass with the remote storage request, eg. csrf token\n  params: {},\n\n  // Custom headers for the remote storage request\n  headers: {},\n\n  // Endpoint where to save all stuff\n  urlStore: '',\n\n  // Endpoint where to fetch data\n  urlLoad: '',\n\n  //Callback before request\n  beforeSend(jqXHR, settings) {},\n\n  //Callback after request\n  onComplete(jqXHR, status) {},\n\n  // set contentType paramater of $.ajax\n  // true: application/json; charset=utf-8'\n  // false: 'x-www-form-urlencoded'\n  contentTypeJson: true,\n\n  credentials: 'include',\n\n  // Pass custom options to fetch API (remote storage)\n  // You can pass a simple object: { someOption: 'someValue' }\n  // or a function which returns and object to add:\n  // currentOpts => {\n  //  return currentOpts.method === 'post' ?  { method: 'patch' } : {};\n  // }\n  fetchOptions: '',\n};\n","import { Model } from 'backbone';\nimport { hasWin } from 'utils/mixins';\n\nexport default Model.extend({\n  defaults: {\n    checkLocal: true\n  },\n\n  /**\n   * @private\n   */\n  store(data, clb = () => {}) {\n    if (this.hasLocal()) {\n      for (let key in data) localStorage.setItem(key, data[key]);\n    }\n\n    clb && clb();\n  },\n\n  /**\n   * @private\n   */\n  load(keys, clb = () => {}) {\n    const result = {};\n\n    if (this.hasLocal()) {\n      for (let i = 0, len = keys.length; i < len; i++) {\n        const value = localStorage.getItem(keys[i]);\n        if (value) result[keys[i]] = value;\n      }\n    }\n\n    clb && clb(result);\n\n    return result;\n  },\n\n  /**\n   * @private\n   */\n  remove(keys) {\n    if (!this.hasLocal()) return;\n\n    for (let i = 0, len = keys.length; i < len; i++)\n      localStorage.removeItem(keys[i]);\n  },\n\n  /**\n   * Check storage environment\n   * @private\n   * */\n  hasLocal() {\n    const win = hasWin();\n\n    if (this.get('checkLocal') && (!win || !localStorage)) {\n      win && console.warn(\"Your browser doesn't support localStorage\");\n      return false;\n    }\n\n    return true;\n  }\n});\n","import Backbone from 'backbone';\nimport fetch from 'utils/fetch';\nimport { isUndefined, isFunction } from 'underscore';\n\nexport default Backbone.Model.extend({\n  fetch,\n\n  defaults: {\n    urlStore: '',\n    urlLoad: '',\n    params: {},\n    beforeSend() {},\n    onComplete() {},\n    contentTypeJson: false,\n    credentials: 'include',\n    fetchOptions: ''\n  },\n\n  /**\n   * Triggered before the request is started\n   * @private\n   */\n  onStart() {\n    const em = this.get('em');\n    const before = this.get('beforeSend');\n    before && before();\n  },\n\n  /**\n   * Triggered on request error\n   * @param  {Object} err Error\n   * @param  {Function} [clbErr] Error callback\n   * @private\n   */\n  onError(err, clbErr) {\n    if (clbErr) {\n      clbErr(err);\n    } else {\n      const em = this.get('em');\n      console.error(err);\n      em && em.trigger('storage:error', err);\n    }\n  },\n\n  /**\n   * Triggered on request response\n   * @param  {string} text Response text\n   * @private\n   */\n  onResponse(text, clb) {\n    const em = this.get('em');\n    const complete = this.get('onComplete');\n    const typeJson = this.get('contentTypeJson');\n    const parsable = text && typeof text === 'string';\n    const res = typeJson && parsable ? JSON.parse(text) : text;\n    complete && complete(res);\n    clb && clb(res);\n    em && em.trigger('storage:response', res);\n  },\n\n  store(data, clb, clbErr) {\n    const body = {};\n\n    for (let key in data) {\n      body[key] = data[key];\n    }\n\n    this.request(this.get('urlStore'), { body }, clb, clbErr);\n  },\n\n  load(keys, clb, clbErr) {\n    this.request(this.get('urlLoad'), { method: 'get' }, clb, clbErr);\n  },\n\n  /**\n   * Execute remote request\n   * @param  {string} url Url\n   * @param  {Object} [opts={}] Options\n   * @param  {Function} [clb=null] Callback\n   * @param  {Function} [clbErr=null] Error callback\n   * @private\n   */\n  request(url, opts = {}, clb = null, clbErr = null) {\n    const typeJson = this.get('contentTypeJson');\n    const headers = this.get('headers') || {};\n    const params = this.get('params');\n    const reqHead = 'X-Requested-With';\n    const typeHead = 'Content-Type';\n    const bodyObj = opts.body || {};\n    let fetchOptions;\n    let body;\n\n    for (let param in params) {\n      bodyObj[param] = params[param];\n    }\n\n    if (isUndefined(headers[reqHead])) {\n      headers[reqHead] = 'XMLHttpRequest';\n    }\n\n    // With `fetch`, have to send FormData without any 'Content-Type'\n    // https://stackoverflow.com/questions/39280438/fetch-missing-boundary-in-multipart-form-data-post\n\n    if (isUndefined(headers[typeHead]) && typeJson) {\n      headers[typeHead] = 'application/json; charset=utf-8';\n    }\n\n    if (typeJson) {\n      body = JSON.stringify(bodyObj);\n    } else {\n      body = new FormData();\n\n      for (let bodyKey in bodyObj) {\n        body.append(bodyKey, bodyObj[bodyKey]);\n      }\n    }\n    fetchOptions = {\n      method: opts.method || 'post',\n      credentials: this.get('credentials'),\n      headers\n    };\n\n    // Body should only be included on POST method\n    if (fetchOptions.method === 'post') {\n      fetchOptions.body = body;\n    }\n\n    const fetchOpts = this.get('fetchOptions') || {};\n    const addOpts = isFunction(fetchOpts)\n      ? fetchOpts(fetchOptions)\n      : fetchOptions;\n\n    this.onStart();\n    this.fetch(url, {\n      ...fetchOptions,\n      ...(addOpts || {})\n    })\n      .then(res =>\n        ((res.status / 200) | 0) == 1\n          ? res.text()\n          : res.text().then(text => Promise.reject(text))\n      )\n      .then(text => this.onResponse(text, clb))\n      .catch(err => this.onError(err, clbErr));\n  }\n});\n","/**\n * You can customize the initial state of the module from the editor initialization, by passing the following [Configuration Object](https://github.com/artf/grapesjs/blob/master/src/storage_manager/config/config.js)\n * ```js\n * const editor = grapesjs.init({\n *  storageManager: {\n *    // options\n *  }\n * })\n * ```\n *\n * Once the editor is instantiated you can use its API and listen to its events. Before using these methods, you should get the module from the instance.\n *\n * ```js\n * // Listen to events\n * editor.on('storage:start', () => { ... });\n *\n * // Use the API\n * const storageManager = editor.StorageManager;\n * storageManager.add(...);\n * ```\n *\n * ## Available Events\n * * `storage:start` - Before the storage request is started\n * * `storage:start:store` - Before the store request. The object to store is passed as an argumnet (which you can edit)\n * * `storage:start:load` - Before the load request. Items to load are passed as an argumnet (which you can edit)\n * * `storage:load` - Triggered when something was loaded from the storage, loaded object passed as an argumnet\n * * `storage:store` - Triggered when something is stored to the storage, stored object passed as an argumnet\n * * `storage:end` - After the storage request is ended\n * * `storage:end:store` - After the store request\n * * `storage:end:load` - After the load request\n * * `storage:error` - On any error on storage request, passes the error as an argument\n * * `storage:error:store` - Error on store request, passes the error as an argument\n * * `storage:error:load` - Error on load request, passes the error as an argument\n *\n * ## Methods\n * * [getConfig](#getconfig)\n * * [isAutosave](#isautosave)\n * * [setAutosave](#setautosave)\n * * [getStepsBeforeSave](#getstepsbeforesave)\n * * [setStepsBeforeSave](#setstepsbeforesave)\n * * [getStorages](#getstorages)\n * * [getCurrent](#getcurrent)\n * * [getCurrentStorage](#getcurrentstorage)\n * * [setCurrent](#setcurrent)\n * * [add](#add)\n * * [get](#get)\n * * [store](#store)\n * * [load](#load)\n *\n * @module StorageManager\n */\n\nimport defaults from './config/config';\nimport LocalStorage from './model/LocalStorage';\nimport RemoteStorage from './model/RemoteStorage';\n\nconst eventStart = 'storage:start';\nconst eventAfter = 'storage:after';\nconst eventEnd = 'storage:end';\nconst eventError = 'storage:error';\n\nexport default () => {\n  var c = {};\n  let em;\n  var storages = {};\n  var defaultStorages = {};\n\n  return {\n    /**\n     * Name of the module\n     * @type {String}\n     * @private\n     */\n    name: 'StorageManager',\n\n    /**\n     * Initialize module. Automatically called with a new instance of the editor\n     * @param {Object} config Configurations\n     * @param {string} [config.id='gjs-'] The prefix for the fields, useful to differentiate storing/loading\n     * with multiple editors on the same page. For example, in local storage, the item of HTML will be saved like 'gjs-html'\n     * @param {Boolean} [config.autosave=true] Indicates if autosave mode is enabled, works in conjunction with stepsBeforeSave\n     * @param {number} [config.stepsBeforeSave=1] If autosave enabled, indicates how many steps/changes are necessary\n     * before autosave is triggered\n     * @param {string} [config.type='local'] Default storage type. Available: 'local' | 'remote' | ''(do not store)\n     * @private\n     * @example\n     * ...\n     * {\n     *    autosave: false,\n     *    type: 'remote',\n     * }\n     * ...\n     */\n    init(config = {}) {\n      c = { ...defaults, ...config };\n      em = c.em;\n      if (c._disable) c.type = 0;\n      defaultStorages.remote = new RemoteStorage(c);\n      defaultStorages.local = new LocalStorage(c);\n      c.currentStorage = c.type;\n      this.loadDefaultProviders().setCurrent(c.type);\n      return this;\n    },\n\n    /**\n     * Get configuration object\n     * @return {Object}\n     * */\n    getConfig() {\n      return c;\n    },\n\n    /**\n     * Checks if autosave is enabled\n     * @return {Boolean}\n     * */\n    isAutosave() {\n      return !!c.autosave;\n    },\n\n    /**\n     * Set autosave value\n     * @param  {Boolean}  v\n     * @return {this}\n     * */\n    setAutosave(v) {\n      c.autosave = !!v;\n      return this;\n    },\n\n    /**\n     * Returns number of steps required before trigger autosave\n     * @return {number}\n     * */\n    getStepsBeforeSave() {\n      return c.stepsBeforeSave;\n    },\n\n    /**\n     * Set steps required before trigger autosave\n     * @param  {number} v\n     * @return {this}\n     * */\n    setStepsBeforeSave(v) {\n      c.stepsBeforeSave = v;\n      return this;\n    },\n\n    /**\n     * Add new storage\n     * @param {string} id Storage ID\n     * @param  {Object} storage Storage wrapper\n     * @param  {Function} storage.load Load method\n     * @param  {Function} storage.store Store method\n     * @return {this}\n     * @example\n     * storageManager.add('local2', {\n     *   load: function(keys, clb, clbErr) {\n     *     var res = {};\n     *     for (var i = 0, len = keys.length; i < len; i++){\n     *       var v = localStorage.getItem(keys[i]);\n     *       if(v) res[keys[i]] = v;\n     *     }\n     *     clb(res); // might be called inside some async method\n     *     // In case of errors...\n     *     // clbErr('Went something wrong');\n     *   },\n     *   store: function(data, clb, clbErr) {\n     *     for(var key in data)\n     *       localStorage.setItem(key, data[key]);\n     *     clb(); // might be called inside some async method\n     *   }\n     * });\n     * */\n    add(id, storage) {\n      storages[id] = storage;\n      return this;\n    },\n\n    /**\n     * Returns storage by id\n     * @param {string} id Storage ID\n     * @return {Object|null}\n     * */\n    get(id) {\n      return storages[id] || null;\n    },\n\n    /**\n     * Returns all storages\n     * @return   {Array}\n     * */\n    getStorages() {\n      return storages;\n    },\n\n    /**\n     * Returns current storage type\n     * @return {string}\n     * */\n    getCurrent() {\n      return c.currentStorage;\n    },\n\n    /**\n     * Set current storage type\n     * @param {string} id Storage ID\n     * @return {this}\n     * */\n    setCurrent(id) {\n      c.currentStorage = id;\n      return this;\n    },\n\n    /**\n     * Store key-value resources in the current storage\n     * @param  {Object} data Data in key-value format, eg. {item1: value1, item2: value2}\n     * @param {Function} clb Callback function\n     * @return {Object|null}\n     * @example\n     * storageManager.store({item1: value1, item2: value2});\n     * */\n    store(data, clb) {\n      const st = this.get(this.getCurrent());\n      const toStore = {};\n      this.onStart('store', data);\n\n      for (let key in data) {\n        toStore[c.id + key] = data[key];\n      }\n\n      return st\n        ? st.store(\n            toStore,\n            res => {\n              this.onAfter('store', res);\n              clb && clb(res);\n              this.onEnd('store', res);\n            },\n            err => {\n              this.onError('store', err);\n            }\n          )\n        : null;\n    },\n\n    /**\n     * Load resource from the current storage by keys\n     * @param  {string|Array<string>} keys Keys to load\n     * @param {Function} clb Callback function\n     * @example\n     * storageManager.load(['item1', 'item2'], res => {\n     *  // res -> {item1: value1, item2: value2}\n     * });\n     * storageManager.load('item1', res => {\n     * // res -> {item1: value1}\n     * });\n     * */\n    load(keys, clb) {\n      const st = this.get(this.getCurrent());\n      const keysF = [];\n      let result = {};\n\n      if (typeof keys === 'string') keys = [keys];\n      this.onStart('load', keys);\n\n      for (var i = 0, len = keys.length; i < len; i++) {\n        keysF.push(c.id + keys[i]);\n      }\n\n      if (st) {\n        st.load(\n          keysF,\n          res => {\n            result = this.__clearKeys(res);\n            this.onAfter('load', result);\n            clb && clb(result);\n            this.onEnd('load', result);\n          },\n          err => {\n            clb && clb(result);\n            this.onError('load', err);\n          }\n        );\n      } else {\n        clb && clb(result);\n      }\n    },\n\n    /**\n     * Restore key names\n     * @param {Object} data\n     * @returns {Object}\n     * @private\n     */\n    __clearKeys(data = {}) {\n      const result = {};\n      const reg = new RegExp('^' + c.id + '');\n\n      for (let itemKey in data) {\n        const itemKeyR = itemKey.replace(reg, '');\n        result[itemKeyR] = data[itemKey];\n      }\n\n      return result;\n    },\n\n    /**\n     * Load default storages\n     * @return {this}\n     * @private\n     * */\n    loadDefaultProviders() {\n      for (var id in defaultStorages) this.add(id, defaultStorages[id]);\n      return this;\n    },\n\n    /**\n     * Get current storage\n     * @return {Storage}\n     * */\n    getCurrentStorage() {\n      return this.get(this.getCurrent());\n    },\n\n    /**\n     * On start callback\n     * @private\n     */\n    onStart(ctx, data) {\n      if (em) {\n        em.trigger(eventStart);\n        ctx && em.trigger(`${eventStart}:${ctx}`, data);\n      }\n    },\n\n    /**\n     * On after callback (before passing data to the callback)\n     * @private\n     */\n    onAfter(ctx, data) {\n      if (em) {\n        em.trigger(eventAfter);\n        ctx && em.trigger(`${eventAfter}:${ctx}`, data);\n      }\n    },\n\n    /**\n     * On end callback\n     * @private\n     */\n    onEnd(ctx, data) {\n      if (em) {\n        em.trigger(eventEnd);\n        ctx && em.trigger(`${eventEnd}:${ctx}`, data);\n      }\n    },\n\n    /**\n     * On error callback\n     * @private\n     */\n    onError(ctx, data) {\n      if (em) {\n        em.trigger(eventError, data);\n        ctx && em.trigger(`${eventError}:${ctx}`, data);\n        this.onEnd(ctx, data);\n      }\n    },\n\n    /**\n     * Check if autoload is possible\n     * @return {Boolean}\n     * @private\n     * */\n    canAutoload() {\n      const storage = this.getCurrentStorage();\n      return storage && this.getConfig().autoload;\n    },\n\n    destroy() {\n      [c, em, storages, defaultStorages].forEach(i => (i = {}));\n    },\n  };\n};\n","export default {\n  // Default sectors and properties\n  sectors: [\n    {\n      name: 'General',\n      open: false,\n      properties: ['display', 'float', 'position', 'top', 'right', 'left', 'bottom'],\n    },\n    {\n      name: 'Flex',\n      open: false,\n      properties: [\n        'flex-direction',\n        'flex-wrap',\n        'justify-content',\n        'align-items',\n        'align-content',\n        'order',\n        'flex-basis',\n        'flex-grow',\n        'flex-shrink',\n        'align-self',\n      ],\n    },\n    {\n      name: 'Dimension',\n      open: false,\n      properties: ['width', 'height', 'max-width', 'min-height', 'margin', 'padding'],\n    },\n    {\n      name: 'Typography',\n      open: false,\n      properties: [\n        'font-family',\n        'font-size',\n        'font-weight',\n        'letter-spacing',\n        'color',\n        'line-height',\n        'text-align',\n        'text-shadow',\n      ],\n    },\n    {\n      name: 'Decorations',\n      open: false,\n      properties: ['background-color', 'border-radius', 'border', 'box-shadow', 'background'],\n    },\n    {\n      name: 'Extra',\n      open: false,\n      properties: ['opacity', 'transition'],\n    },\n  ],\n\n  // Specify the element to use as a container, string (query) or HTMLElement\n  // With the empty value, nothing will be rendered\n  appendTo: '',\n\n  // Style prefix\n  stylePrefix: 'sm-',\n\n  // Avoid rendering the default style manager.\n  custom: false,\n\n  // Hide the property in case it's not stylable for the\n  // selected component (each component has 'stylable' property)\n  // @deprecated\n  hideNotStylable: true,\n\n  // Highlight changed properties of the selected component\n  // @deprecated\n  highlightChanged: true,\n\n  // Highlight computed properties of the selected component\n  // @deprecated\n  highlightComputed: true,\n\n  // Show computed properties of the selected component, if this value\n  // is set to false, highlightComputed will not take effect\n  // @deprecated\n  showComputed: true,\n\n  // Adds the possibility to clear property value from the target style\n  // @deprecated\n  clearProperties: true,\n\n  // Properties not to take in account for computed styles\n  // @deprecated\n  avoidComputed: ['width', 'height'],\n};\n","import { Model } from 'common';\nimport { isUndefined, isString, isArray, result, keys, each, includes } from 'underscore';\nimport { capitalize, camelCase, hasWin } from 'utils/mixins';\n\n/**\n * @typedef Property\n * @property {String} id Property id, eg. `my-property-id`.\n * @property {String} property Related CSS property name, eg. `text-align`.\n * @property {String} default Defaul value of the property.\n * @property {String} label Label to use in UI, eg. `Text Align`.\n * @property {Function} [onChange] Change callback.\n * \\n\n * ```js\n *  onChange: ({ property, from, to }) => {\n *    console.log(`Changed property`, property.getName(), { from, to });\n *  }\n * ```\n *\n */\nexport default class Property extends Model {\n  initialize(props = {}, opts = {}) {\n    this.em = opts.em;\n    const id = this.get('id') || '';\n    const name = this.get('name') || this.get('label') || '';\n    !this.get('property') && this.set('property', (name || id).replace(/ /g, '-'));\n    const prop = this.get('property');\n    !this.get('id') && this.set('id', prop);\n    !name && this.set('name', capitalize(prop).replace(/-/g, ' '));\n    this.on('change', this.__upTargets);\n    Property.callInit(this, props, opts);\n  }\n\n  __getParentProp() {\n    return this.collection?.opts?.parentProp;\n  }\n\n  __upTargets(p, opts = {}) {\n    const { em } = this;\n    const sm = em.get('StyleManager');\n    const name = this.getName();\n    const isClear = opts.__clear;\n    const value = isClear ? '' : this.__getFullValue(opts);\n    const parentProp = this.__getParentProp();\n\n    const to = this.changedAttributes();\n    const from = keys(to).reduce((a, i) => {\n      a[i] = this.previous(i);\n      return a;\n    }, {});\n\n    const kProps = [...keys(this.__getClearProps()), '__p'];\n    const toProps = keys(to);\n    const applyStyle = !opts.__up && !parentProp && (isClear || kProps.some(k => toProps.indexOf(k) >= 0));\n    const onChange = this.get('onChange');\n    const evOpts = { property: this, from, to, value, opts };\n    sm.__trgEv(sm.events.propertyUpdate, evOpts);\n    onChange && onChange(evOpts);\n    applyStyle && this.__upTargetsStyle({ [name]: value }, opts);\n  }\n\n  __upTargetsStyle(style, opts) {\n    const sm = this.em?.get('StyleManager');\n    sm?.addStyleTargets({ ...style, __p: !!opts.avoidStore }, opts);\n  }\n\n  _up(props, opts = {}) {\n    if (opts.noTarget) opts.__up = true;\n    const { partial, ...rest } = opts;\n    props.__p = !!(rest.avoidStore || partial);\n    return this.set(props, { ...rest, avoidStore: props.__p });\n  }\n\n  up(props, opts = {}) {\n    this.set(props, { ...opts, __up: true });\n  }\n\n  init() {}\n\n  /**\n   * Get property id.\n   * @returns {String}\n   */\n  getId() {\n    return this.get('id');\n  }\n\n  /**\n   * Get the property type.\n   * The type of the property is defined on property creation and based on its value the proper Property class is assigned.\n   * The default type is `base`.\n   * @returns {String}\n   */\n  getType() {\n    return this.get('type');\n  }\n\n  /**\n   * Get name (the CSS property name).\n   * @returns {String}\n   */\n  getName() {\n    return this.get('property');\n  }\n\n  /**\n   * Get property label.\n   * @param {Object} [opts={}] Options\n   * @param {Boolean} [opts.locale=true] Use the locale string from i18n module\n   * @returns {String}\n   */\n  getLabel(opts = {}) {\n    const { locale = true } = opts;\n    const id = this.getId();\n    const name = this.get('name') || this.get('label');\n    return (locale && this.em?.t(`styleManager.properties.${id}`)) || name;\n  }\n\n  /**\n   * Get property value.\n   * @param {Object} [opts={}] Options\n   * @param {Boolean} [opts.noDefault=false] Avoid returning the default value\n   * @returns {String}\n   */\n  getValue(opts = {}) {\n    const { noDefault } = opts;\n    const val = this.get('value');\n    return !this.hasValue() && !noDefault ? this.getDefaultValue() : val;\n  }\n\n  /**\n   * Check if the property has value.\n   * @param {Object} [opts={}] Options\n   * @param {Boolean} [opts.noParent=false] Ignore the value if it comes from the parent target.\n   * @returns {Boolean}\n   */\n  hasValue(opts = {}) {\n    const { noParent } = opts;\n    const parentValue = noParent && this.getParentTarget();\n    const val = this.get('value');\n    return !isUndefined(val) && val !== '' && !parentValue;\n  }\n\n  /**\n   * Indicates if the current value is coming from a parent target (eg. another CSSRule).\n   * @returns {Boolean}\n   */\n  hasValueParent() {\n    return this.hasValue() && !this.hasValue({ noParent: true });\n  }\n\n  /**\n   * Get the CSS style object of the property.\n   * @param {Object} [opts={}] Options\n   * @param {Boolean} [opts.camelCase] Return property name in camelCase.\n   * @return {Object}\n   * @example\n   * // In case the property is `color` with a value of `red`.\n   * console.log(property.getStyle());\n   * // { color: 'red' };\n   */\n  getStyle(opts = {}) {\n    const name = this.getName();\n    const key = opts.camelCase ? camelCase(name) : name;\n    return { [key]: this.__getFullValue(opts) };\n  }\n\n  /**\n   * Get the default value.\n   * @return {string}\n   */\n  getDefaultValue() {\n    const def = this.get('default');\n    return `${!isUndefined(def) ? def : this.get('defaults')}`;\n  }\n\n  /**\n   * Update the value.\n   * The change is also propagated to the selected targets (eg. CSS rule).\n   * @param {String} value New value\n   * @param {Object} [opts={}] Options\n   * @param {Boolean} [opts.partial=false] If `true` the update on targets won't be considered complete (not stored in UndoManager)\n   * @param {Boolean} [opts.noTarget=false] If `true` the change won't be propagated to selected targets.\n   */\n  upValue(value, opts = {}) {\n    const parsed = value === null || value === '' ? this.__getClearProps() : this.__parseValue(value, opts);\n    return this._up(parsed, opts);\n  }\n\n  /**\n   * Check if the property is visible\n   * @returns {Boolean}\n   */\n  isVisible() {\n    return !!this.get('visible');\n  }\n\n  /**\n   * Clear the value.\n   * The change is also propagated to the selected targets (eg. the css property is cleared).\n   * @param {Object} [opts={}] Options\n   * @param {Boolean} [opts.noTarget=false] If `true` the change won't be propagated to selected targets.\n   */\n  clear(opts = {}) {\n    this._up(this.__getClearProps(), { ...opts, __clear: true });\n  }\n\n  /**\n   * Indicates if the current value comes directly from the selected target and so can be cleared.\n   * @returns {Boolean}\n   */\n  canClear() {\n    const parent = this.getParent();\n    return parent ? parent.__canClearProp(this) : this.hasValue({ noParent: true });\n  }\n\n  /**\n   * If the current property is a sub-property, this will return the parent Property.\n   * @returns {[Property]|null}\n   */\n  getParent() {\n    return this.__getParentProp() || null;\n  }\n\n  /**\n   * Indicates if the property is full-width in UI.\n   * @returns {Boolean}\n   */\n  isFull() {\n    return !!this.get('full');\n  }\n\n  __parseValue(value, opts) {\n    return this.parseValue(value, opts);\n  }\n\n  __getClearProps() {\n    return { value: '' };\n  }\n\n  /**\n   * Update value\n   * @param {any} value\n   * @param {Boolen} [complete=true] Indicates if it's a final state\n   * @param {Object} [opts={}] Options\n   * @private\n   */\n  setValue(value, complete = 1, opts = {}) {\n    const parsed = this.parseValue(value);\n    const avoidStore = !complete;\n    !avoidStore && this.set({ value: undefined }, { avoidStore, silent: true });\n    this.set(parsed, { avoidStore, ...opts });\n  }\n\n  /**\n   * Like `setValue` but, in addition, prevents the update of the input element\n   * as the changes should come from the input itself.\n   * This method is useful with the definition of custom properties\n   * @param {any} value\n   * @param {Boolen} [complete=true] Indicates if it's a final state\n   * @param {Object} [opts={}] Options\n   * @private\n   * @deprecated\n   */\n  setValueFromInput(value, complete, opts = {}) {\n    this.setValue(value, complete, { ...opts, fromInput: 1 });\n  }\n\n  /**\n   * Parse a raw value, generally fetched from the target, for this property\n   * @param  {string} value Raw value string\n   * @return {Object}\n   * @private\n   * @example\n   * // example with an Input type\n   * prop.parseValue('translateX(10deg)');\n   * // -> { value: 10, unit: 'deg', functionName: 'translateX' }\n   *\n   */\n  parseValue(value, opts = {}) {\n    const result = { value };\n    const imp = '!important';\n\n    if (isString(value) && value.indexOf(imp) !== -1) {\n      result.value = value.replace(imp, '').trim();\n      result.important = 1;\n    }\n\n    if (!this.get('functionName') && !opts.complete) {\n      return result;\n    }\n\n    const args = [];\n    let valueStr = `${result.value}`;\n    let start = valueStr.indexOf('(') + 1;\n    let end = valueStr.lastIndexOf(')');\n    const functionName = valueStr.substring(0, start - 1);\n    if (functionName) result.functionName = functionName;\n    args.push(start);\n\n    // Will try even if the last closing parentheses is not found\n    if (end >= 0) {\n      args.push(end);\n    }\n\n    result.value = String.prototype.substring.apply(valueStr, args);\n\n    if (opts.numeric) {\n      const num = parseFloat(result.value);\n      result.unit = result.value.replace(num, '');\n      result.value = num;\n    }\n\n    return result;\n  }\n\n  /**\n   * Helper function to safely split a string of values.\n   * Useful when style values are inside functions\n   * eg:\n   * -> input: 'value(1,2,4), 123, value(4,5)' -- default separator: ','\n   * -> output: ['value(1,2,4)', '123', 'value(4,5)']\n   * @param {String} values Values to split\n   * @param {String} [separator] Separator\n   * @private\n   */\n  // splitValues(values, separator = ',') {\n  //   const res = [];\n  //   const op = '(';\n  //   const cl = ')';\n  //   let curr = '';\n  //   let acc = 0;\n\n  //   (values || '').split('').forEach(str => {\n  //     if (str == op) {\n  //       acc++;\n  //       curr = curr + op;\n  //     } else if (str == cl && acc > 0) {\n  //       acc--;\n  //       curr = curr + cl;\n  //     } else if (str === separator && acc == 0) {\n  //       res.push(curr);\n  //       curr = '';\n  //     } else {\n  //       curr = curr + str;\n  //     }\n  //   });\n\n  //   curr !== '' && res.push(curr);\n\n  //   return res.map(i => i.trim());\n  // }\n\n  __getFullValue({ withDefault } = {}) {\n    return !this.hasValue() && withDefault ? this.getDefaultValue() : this.getFullValue();\n  }\n\n  /**\n   * Get a complete value of the property.\n   * This probably will replace the getValue when all\n   * properties models will be splitted\n   * @param {String} val Custom value to replace the one on the model\n   * @return {string}\n   * @private\n   */\n  getFullValue(val) {\n    const fn = this.get('functionName');\n    const def = this.getDefaultValue();\n    let value = isUndefined(val) ? this.get('value') : val;\n    const hasValue = !isUndefined(value) && value !== '';\n\n    if (value && def && value === def) {\n      return def;\n    }\n\n    if (fn && hasValue) {\n      const fnParameter = fn === 'url' ? `'${value.replace(/'/g, '')}'` : value;\n      value = `${fn}(${fnParameter})`;\n    }\n\n    if (hasValue && this.get('important')) {\n      value = `${value} !important`;\n    }\n\n    return value || '';\n  }\n\n  __setParentTarget(value) {\n    this.__parentTarget = value;\n  }\n\n  getParentTarget() {\n    return this.__parentTarget || null;\n  }\n\n  __parseFn(input = '') {\n    const start = input.indexOf('(') + 1;\n    const end = input.lastIndexOf(')');\n\n    return {\n      name: input.substring(0, start - 1).trim(),\n      value: String.prototype.substring.apply(input, [start, end >= 0 ? end : undefined]).trim(),\n    };\n  }\n\n  __checkVisibility({ target, component, sectors }) {\n    const trg = component || target;\n    if (!trg) return false;\n\n    const id = this.getId();\n    const property = this.getName();\n    const toRequire = this.get('toRequire');\n    const requires = this.get('requires');\n    const requiresParent = this.get('requiresParent');\n    const unstylable = trg.get('unstylable');\n    const stylableReq = trg.get('stylable-require');\n    let stylable = trg.get('stylable');\n\n    // Stylable could also be an array indicating with which property\n    // the target could be styled\n    if (isArray(stylable)) {\n      stylable = stylable.indexOf(property) >= 0;\n    }\n\n    // Check if the property was signed as unstylable\n    if (isArray(unstylable)) {\n      stylable = unstylable.indexOf(property) < 0;\n    }\n\n    // Check if the property is available only if requested\n    if (toRequire) {\n      stylable = !target || (stylableReq && (stylableReq.indexOf(id) >= 0 || stylableReq.indexOf(property) >= 0));\n    }\n\n    // Check if the property is available based on other property's values\n    if (sectors && requires) {\n      const properties = keys(requires);\n      sectors.forEach(sector => {\n        sector.getProperties().forEach(model => {\n          if (includes(properties, model.id)) {\n            const values = requires[model.id];\n            stylable = stylable && includes(values, model.get('value'));\n          }\n        });\n      });\n    }\n\n    // Check if the property is available based on parent's property values\n    if (requiresParent) {\n      const parent = component && component.parent();\n      const parentEl = parent && parent.getEl();\n      if (parentEl) {\n        const styles = hasWin() ? window.getComputedStyle(parentEl) : {};\n        each(requiresParent, (values, property) => {\n          stylable = stylable && styles[property] && includes(values, styles[property]);\n        });\n      } else {\n        stylable = false;\n      }\n    }\n\n    return !!stylable;\n  }\n}\n\nProperty.callParentInit = function (property, ctx, props, opts = {}) {\n  property.prototype.initialize.apply(ctx, [\n    props,\n    {\n      ...opts,\n      skipInit: 1,\n    },\n  ]);\n};\n\nProperty.callInit = function (context, props, opts = {}) {\n  !opts.skipInit && context.init(props, opts);\n};\n\nProperty.getDefaults = function () {\n  return result(this.prototype, 'defaults');\n};\n\nProperty.prototype.defaults = {\n  name: '',\n  property: '',\n  type: '',\n  defaults: '',\n  info: '',\n  value: '',\n  icon: '',\n  functionName: '',\n  status: '',\n  visible: true,\n  fixedValues: ['initial', 'inherit'],\n  onChange: null,\n\n  // If true, the property will be forced to be full width\n  full: 0,\n\n  // If true to the value will be added '!important'\n  important: 0,\n\n  // If true, will be hidden by default and will show up only for targets\n  // which require this property (via `stylable-require`)\n  // Use case:\n  // you can add all SVG CSS properties with toRequire as true\n  // and then require them on SVG Components\n  toRequire: 0,\n\n  // Specifies dependency on other properties of the selected object.\n  // Property is shown only when all conditions are matched.\n  //\n  // example: { display: ['flex', 'block'], position: ['absolute'] };\n  //          in this case the property is only shown when display is\n  //          of value 'flex' or 'block' AND position is 'absolute'\n  requires: null,\n\n  // Specifies dependency on properties of the parent of the selected object.\n  // Property is shown only when all conditions are matched.\n  requiresParent: null,\n};\n","import { isString, isUndefined, keys } from 'underscore';\nimport Property from './Property';\nimport Properties from './Properties';\n\nexport const isNumberType = type => type === 'integer' || type === 'number';\n\n/**\n *\n * [Property]: property.html\n *\n *\n * @typedef PropertyComposite\n * @property {Array<Object>} properties Array of sub properties, eg. `[{ type: 'number', property: 'margin-top' }, ...]`\n * @property {Boolean} [detached=false] Indicate if the final CSS property is splitted (detached: `margin-top: X; margin-right: Y; ...`) or combined (not detached: `margin: X Y ...;`)\n * @property {String|RegExp} [separator=' '] Value used to split property values, default `\" \"`.\n * @property {String} [join=' '] Value used to join property values, default `\" \"`.\n * @property {Function} [fromStyle] Custom logic for getting property values from the target style object.\n * \\n\n * ```js\n *  fromStyle: (style) => {\n *    const margins = parseMarginShorthand(style.margin);\n *    return {\n *      'margin-top': margins.top,\n *      // ...\n *    };\n *  }\n * ```\n * @property {Function} [toStyle] Custom logic for creating the CSS style object to apply on selected targets.\n * \\n\n * ```js\n *  toStyle: (values) => {\n *    const top = values['margin-top'] || 0;\n *    const right = values['margin-right'] || 0;\n *    // ...\n *    return {\n *      margin: `${top} ${right} ...`,\n *    };\n *  }\n * ```\n */\nexport default class PropertyComposite extends Property {\n  defaults() {\n    return {\n      ...Property.getDefaults(),\n      detached: false,\n      properties: [],\n      separator: ' ',\n      join: null,\n      fromStyle: null,\n      toStyle: null,\n      full: true,\n    };\n  }\n\n  initialize(props = {}, opts = {}) {\n    Property.callParentInit(Property, this, props, opts);\n    const { em } = this;\n    const properties = new Properties(this.get('properties') || [], { em, parentProp: this });\n    this.set('properties', properties, { silent: 1 });\n    this.listenTo(properties, 'change', this.__upProperties);\n    Property.callInit(this, props, opts);\n  }\n\n  /**\n   * Get properties.\n   * @returns {Array<[Property]>}\n   */\n  getProperties() {\n    return [...this.get('properties').models];\n  }\n\n  /**\n   * Get property by id.\n   * @param  {String} id Property id.\n   * @returns {[Property]|null}\n   */\n  getProperty(id) {\n    return this.get('properties').filter(prop => prop.getId() === id || prop.getName() === id)[0] || null;\n  }\n\n  /**\n   * Get property at index.\n   * @param  {Number} index\n   * @returns {[Property]|null}\n   */\n  getPropertyAt(index) {\n    return this.get('properties').at(index);\n  }\n\n  /**\n   * Check if the property is detached.\n   * @returns {Boolean}\n   */\n  isDetached() {\n    return !!this.get('detached');\n  }\n\n  /**\n   * Get current values of properties.\n   * @param {Object} [opts={}] Options\n   * @param {Boolean} [opts.byName=false] Use property names as a key instead of the id.\n   * @returns {Object}\n   * @example\n   * // In case the property is `margin` with sub properties like `margin-top`, `margin-right`, etc.\n   * console.log(property.getValues());\n   * // { 'margin-top': '10px', 'margin-right': '20px', ... };\n   */\n  getValues({ byName } = {}) {\n    return this.getProperties().reduce((res, prop) => {\n      const key = byName ? prop.getName() : prop.getId();\n      res[key] = `${prop.__getFullValue()}`;\n      return res;\n    }, {});\n  }\n\n  /**\n   * Get property separator.\n   * @returns {RegExp}\n   */\n  getSeparator() {\n    return this.getSplitSeparator();\n  }\n\n  /**\n   * Get the join value.\n   * @returns {String}\n   */\n  getJoin() {\n    return this.__getJoin();\n  }\n\n  /**\n   * Get style object from current properties\n   * @param {Object} [opts={}] Options\n   * @param {Boolean} [opts.camelCase] Return property names in camelCase.\n   * @returns {Object} Style object\n   * @private\n   */\n  getStyleFromProps(opts = {}) {\n    const name = this.getName();\n    const join = this.__getJoin();\n    const toStyle = this.get('toStyle');\n    let values = this.getValues();\n    let style = {};\n\n    if (toStyle) {\n      style = toStyle(values, { join, name, property: this });\n    } else {\n      values = this.getValues({ byName: true });\n\n      if (this.isDetached()) {\n        style = values;\n      } else {\n        const value = this.getProperties()\n          .map(p => p.__getFullValue({ withDefault: 1 }))\n          .filter(Boolean)\n          .join(join);\n        style = { [name]: value };\n      }\n    }\n\n    if (this.isDetached()) {\n      style[name] = '';\n    } else {\n      style[name] = style[name] || '';\n      style = {\n        ...style,\n        ...this.getProperties().reduce((acc, prop) => {\n          acc[prop.getName()] = '';\n          return acc;\n        }, {}),\n      };\n    }\n\n    return opts.camelCase\n      ? Object.keys(style).reduce((res, key) => {\n          res[camelCase(key)] = style[key];\n          return res;\n        }, {})\n      : style;\n  }\n\n  getSplitSeparator() {\n    return new RegExp(`${this.get('separator')}(?![^\\\\(]*\\\\))`);\n  }\n\n  __upProperties(p, opts = {}) {\n    if (opts.__up || opts.__clearIn) return;\n\n    const parentProp = this.__getParentProp();\n    if (parentProp) return parentProp.__upProperties(this, opts);\n\n    this.__upTargetsStyleProps(opts, p);\n  }\n\n  __upTargetsStyleProps(opts = {}, prop) {\n    let style = this.getStyleFromProps();\n\n    if (this.isDetached() && prop) {\n      const name = prop.getName();\n      style = { [name]: style[name] };\n    }\n\n    this.__upTargetsStyle(style, opts);\n  }\n\n  _up(props, opts = {}) {\n    this.__setProperties(this.__getSplitValue(props.value), opts);\n    return Property.prototype._up.call(this, props, opts);\n  }\n\n  getStyle(opts) {\n    return this.getStyleFromProps(opts);\n  }\n\n  __getFullValue(opts = {}) {\n    if (this.isDetached() || opts.__clear) return '';\n\n    return this.getStyleFromProps()[this.getName()] || '';\n  }\n\n  __getJoin() {\n    const join = this.get('join');\n    return isString(join) ? join : this.get('separator');\n  }\n\n  __styleHasProps(style = {}) {\n    const name = this.getName();\n    const props = this.getProperties();\n    const nameProps = props.map(prop => prop.getName());\n    const allNameProps = [name, ...nameProps];\n    return allNameProps.some(prop => !isUndefined(style[prop]) && style[prop] !== '');\n  }\n\n  __splitValue(value, sep) {\n    return value\n      .split(sep)\n      .map(value => value.trim())\n      .filter(Boolean);\n  }\n\n  __splitStyleName(style, name, sep) {\n    return this.__splitValue(style[name] || '', sep);\n  }\n\n  __getSplitValue(value = '', { byName } = {}) {\n    const props = this.getProperties();\n    const props4Nums = props.length === 4 && props.every(prop => isNumberType(prop.getType()));\n    const values = this.__splitValue(value, this.getSplitSeparator());\n    const result = {};\n\n    props.forEach((prop, i) => {\n      const value = values[i];\n      let res = !isUndefined(value) ? value : ''; // : prop.getDefaultValue();\n\n      if (props4Nums) {\n        // Try to get value from a shorthand:\n        // 11px -> 11px 11px 11px 11xp\n        // 11px 22px -> 11px 22px 11px 22xp\n        const len = values.length;\n        res = values[i] || values[(i % len) + (len != 1 && len % 2 ? 1 : 0)] || res;\n      }\n\n      const key = byName ? prop.getName() : prop.getId();\n      result[key] = res || '';\n    });\n\n    return result;\n  }\n\n  __getPropsFromStyle(style = {}, opts = {}) {\n    if (!this.__styleHasProps(style)) return null;\n\n    const { byName } = opts;\n    const name = this.getName();\n    const props = this.getProperties();\n    const sep = this.getSplitSeparator();\n    const fromStyle = this.get('fromStyle');\n    let result = fromStyle ? fromStyle(style, { property: this, name, separator: sep }) : {};\n\n    if (!fromStyle) {\n      // Get props from the main property\n      result = this.__getSplitValue(style[name] || '', { byName });\n\n      // Get props from the inner properties\n      props.forEach(prop => {\n        const value = style[prop.getName()];\n        const key = byName ? prop.getName() : prop.getId();\n        if (!isUndefined(value) && value !== '') result[key] = value;\n      });\n    }\n\n    return result;\n  }\n\n  __setProperties(values = {}, opts = {}) {\n    this.getProperties().forEach(prop => {\n      const value = values[prop.getId()];\n      prop.__getFullValue() !== value && prop.upValue(value, opts);\n    });\n\n    // Keep track of the values, otherwise clear() will not trigger changes.\n    const valuesStr = keys(values)\n      .map(k => values[k])\n      .join(' ');\n    this.set('value', valuesStr, { silent: true });\n  }\n\n  clear() {\n    this.getProperties().map(p => p.clear({ __clearIn: !this.isDetached() }));\n    return Property.prototype.clear.call(this);\n  }\n\n  hasValue(opts) {\n    return this.getProperties().some(prop => prop.hasValue(opts));\n  }\n\n  getFullValue() {\n    return this.__getFullValue();\n  }\n\n  __canClearProp(prop) {\n    return this.isDetached() && prop.hasValue({ noParent: true });\n  }\n}\n","import { Model } from 'common';\nimport { camelCase } from 'utils/mixins';\n\nexport default class Layer extends Model {\n  defaults() {\n    return {\n      values: {},\n    };\n  }\n\n  initialize() {\n    const cl = this.collection;\n    this.prop = cl?.prop;\n  }\n\n  /**\n   * Get layer id.\n   * @returns {String}\n   */\n  getId() {\n    return this.cid;\n  }\n\n  /**\n   * Get layer index.\n   * @returns {Number}\n   */\n  getIndex() {\n    const coll = this.collection;\n    return coll ? coll.indexOf(this) : -1;\n  }\n\n  /**\n   * Get layer values.\n   * @param {Object} [opts={}] Options\n   * @param {Boolean} [opts.camelCase] Return property names in camelCase.\n   * @returns {Object}\n   */\n  getValues(opts = {}) {\n    const values = this.get('values');\n\n    return opts.camelCase\n      ? Object.keys(values).reduce((res, key) => {\n          res[camelCase(key)] = values[key];\n          return res;\n        }, {})\n      : values;\n  }\n\n  /**\n   * Get layer label.\n   * @returns {String}\n   */\n  getLabel() {\n    return this.prop?.getLayerLabel(this);\n  }\n\n  /**\n   * Check if the layer is selected.\n   * @returns {Boolean}\n   */\n  isSelected() {\n    return this.prop?.getSelectedLayer() === this;\n  }\n\n  /**\n   * Select the layer.\n   */\n  select() {\n    return this.prop?.selectLayer(this);\n  }\n\n  /**\n   * Remove the layer.\n   */\n  remove() {\n    return this.prop?.removeLayer(this);\n  }\n\n  /**\n   * Move layer to a new index.\n   * @param {Number} index New index\n   */\n  move(index) {\n    return this.prop?.moveLayer(this, index);\n  }\n\n  /**\n   * Get style object for the preview.\n   * @param {Object} [opts={}] Options. Same of `PropertyStack.getStyleFromLayer`\n   * @returns {Object} Style object\n   */\n  getStylePreview(opts = {}) {\n    return this.prop?.getStylePreview(this, opts);\n  }\n\n  /**\n   * Check if the property has the preview enabled for this layer.\n   * @returns {Boolean}\n   */\n  hasPreview() {\n    return !!this.prop?.get('preview');\n  }\n\n  upValues(props = {}) {\n    return this.set('values', {\n      ...this.getValues(),\n      ...props,\n    });\n  }\n}\n","import { Collection } from 'common';\nimport Layer from './Layer';\n\nexport default class Layers extends Collection {\n  initialize(p, opts = {}) {\n    this.prop = opts.prop;\n  }\n}\n\nLayers.prototype.model = Layer;\n","import { keys, isUndefined, isArray, isString, isNumber } from 'underscore';\nimport PropertyComposite, { isNumberType } from './PropertyComposite';\nimport PropertyBase from './Property';\nimport Layers from './Layers';\nimport { camelCase } from 'utils/mixins';\n\nconst VALUES_REG = /,(?![^\\(]*\\))/;\nconst PARTS_REG = /\\s(?![^(]*\\))/;\n\n/**\n *\n * [Layer]: layer.html\n *\n *\n * @typedef PropertyStack\n * @property {Boolean} [preview=false] Indicate if the layer should display a preview.\n * @property {String|RegExp} [layerSeparator=', '] The separator used to split layer values.\n * @property {String} [layerJoin=', '] Value used to join layer values.\n * @property {Function} [layerLabel] Custom logic for creating layer labels.\n * \\n\n * ```js\n *  layerLabel: (layer) => {\n *    const values = layer.getValues();\n *    return `A: ${values['prop-a']} B: ${values['prop-b']}`;\n *  }\n *  ```\n *\n */\nexport default class PropertyStack extends PropertyComposite {\n  defaults() {\n    return {\n      ...PropertyComposite.getDefaults(),\n      layers: [],\n      layerSeparator: ', ',\n      layerJoin: '',\n      prepend: 0,\n      preview: false,\n      layerLabel: null,\n      selectedLayer: null,\n    };\n  }\n\n  initialize(props = {}, opts = {}) {\n    PropertyComposite.callParentInit(PropertyComposite, this, props, opts);\n    const layers = this.get('layers');\n    const layersColl = new Layers(layers, { prop: this });\n    layersColl.property = this;\n    layersColl.properties = this.get('properties');\n    this.set('layers', layersColl, { silent: true });\n    this.on('change:selectedLayer', this.__upSelected);\n    this.listenTo(layersColl, 'add remove', this.__upLayers);\n    PropertyComposite.callInit(this, props, opts);\n  }\n\n  /**\n   * Get all available layers.\n   * @returns {Array<[Layer]>}\n   */\n  getLayers() {\n    return this.__getLayers().models;\n  }\n\n  __getLayers() {\n    return this.get('layers');\n  }\n\n  /**\n   * Get layer by index.\n   * @param {Number} [index=0] Layer index position.\n   * @returns {[Layer]|null}\n   * @example\n   * // Get the first layer\n   * const layerFirst = property.getLayer(0);\n   * // Get the last layer\n   * const layers = this.getLayers();\n   * const layerLast = property.getLayer(layers.length - 1);\n   */\n  getLayer(index = 0) {\n    return this.__getLayers().at(index) || null;\n  }\n\n  /**\n   * Get selected layer.\n   * @returns {[Layer] | null}\n   */\n  getSelectedLayer() {\n    const layer = this.get('selectedLayer');\n    return layer && layer.getIndex() >= 0 ? layer : null;\n  }\n\n  /**\n   * Select layer.\n   * Without a selected layer any update made on inner properties has no effect.\n   * @param {[Layer]} layer Layer to select\n   * @example\n   * const layer = property.getLayer(0);\n   * property.selectLayer(layer);\n   */\n  selectLayer(layer) {\n    return this.set('selectedLayer', layer, { __select: true });\n  }\n\n  /**\n   * Select layer by index.\n   * @param {Number} index Index of the layer to select.\n   * @example\n   * property.selectLayerAt(1);\n   */\n  selectLayerAt(index = 0) {\n    const layer = this.getLayer(index);\n    return layer && this.selectLayer(layer);\n  }\n\n  /**\n   * Move layer by index.\n   * @param {[Layer]} layer Layer to move.\n   * @param {Number} index New layer index.\n   * @example\n   * const layer = property.getLayer(1);\n   * property.moveLayer(layer, 0);\n   */\n  moveLayer(layer, index = 0) {\n    const currIndex = layer ? layer.getIndex() : -1;\n\n    if (currIndex >= 0 && isNumber(index) && index >= 0 && index < this.getLayers().length && currIndex !== index) {\n      this.removeLayer(layer);\n      this.__getLayers().add(layer, { at: index });\n    }\n  }\n\n  /**\n   * Add new layer to the stack.\n   * @param {Object} [props={}] Custom property values to use in a new layer.\n   * @param {Object} [opts={}] Options\n   * @param {Number} [opts.at] Position index (by default the layer will be appended at the end).\n   * @returns {[Layer]} Added layer.\n   * @example\n   * // Add new layer at the beginning of the stack with custom values\n   * property.addLayer({ 'sub-prop1': 'value1', 'sub-prop2': 'value2' }, { at: 0 });\n   */\n  addLayer(props = {}, opts = {}) {\n    const values = {};\n    this.getProperties().forEach(prop => {\n      const key = prop.getId();\n      const value = props[key];\n      values[key] = isUndefined(value) ? prop.getDefaultValue() : value;\n    });\n    const layer = this.get('layers').push({ values }, opts);\n\n    return layer;\n  }\n\n  /**\n   * Remove layer.\n   * @param {[Layer]} layer Layer to remove.\n   * @returns {[Layer]} Removed layer\n   * @example\n   * const layer = property.getLayer(0);\n   * property.removeLayer(layer);\n   */\n  removeLayer(layer) {\n    return this.get('layers').remove(layer);\n  }\n\n  /**\n   * Remove layer by index.\n   * @param {Number} index Index of the layer to remove\n   * @returns {[Layer]|null} Removed layer\n   * @example\n   * property.removeLayerAt(0);\n   */\n  removeLayerAt(index = 0) {\n    const layer = this.getLayer(index);\n    return layer ? this.removeLayer(layer) : null;\n  }\n\n  /**\n   * Get the layer label. The label can be customized with the `layerLabel` property.\n   * @param {[Layer]} layer\n   * @returns {String}\n   * @example\n   * const layer = this.getLayer(1);\n   * const label = this.getLayerLabel(layer);\n   */\n  getLayerLabel(layer) {\n    let result = '';\n\n    if (layer) {\n      const layerLabel = this.get('layerLabel');\n      const values = layer.getValues();\n      const index = layer.getIndex();\n\n      if (layerLabel) {\n        result = layerLabel(layer, { index, values, property: this });\n      } else {\n        const parts = [];\n        this.getProperties().map(prop => {\n          parts.push(values[prop.getId()]);\n        });\n        result = parts.filter(Boolean).join(' ');\n      }\n    }\n\n    return result;\n  }\n\n  /**\n   * Get style object from the layer.\n   * @param {[Layer]} layer\n   * @param {Object} [opts={}] Options\n   * @param {Boolean} [opts.camelCase] Return property names in camelCase.\n   * @param {Object} [opts.number] Limit the result of the number types, eg. `number: { min: -3, max: 3 }`\n   * @returns {Object} Style object\n   */\n  getStyleFromLayer(layer, opts = {}) {\n    const join = this.__getJoin();\n    const joinLayers = this.__getJoinLayers();\n    const toStyle = this.get('toStyle');\n    const name = this.getName();\n    const values = layer.getValues();\n    let style;\n\n    if (toStyle) {\n      style = toStyle(values, { join, joinLayers, name, layer, property: this });\n    } else {\n      const result = this.getProperties().map(prop => {\n        const name = prop.getName();\n        const val = values[prop.getId()];\n        let value = isUndefined(val) ? prop.getDefaultValue() : val;\n\n        // Limit number values if necessary (useful for previews)\n        if (opts.number && isNumberType(prop.getType())) {\n          const newVal = prop.parseValue(val, opts.number);\n          value = `${newVal.value}${newVal.unit}`;\n        }\n\n        return { name, value };\n      });\n      style = this.isDetached()\n        ? result.reduce((acc, item) => {\n            acc[item.name] = item.value;\n            return acc;\n          }, {})\n        : {\n            [this.getName()]: result.map(r => r.value).join(join),\n          };\n    }\n\n    return opts.camelCase\n      ? Object.keys(style).reduce((res, key) => {\n          res[camelCase(key)] = style[key];\n          return res;\n        }, {})\n      : style;\n  }\n\n  /**\n   * Get preview style object from the layer.\n   * If the property has `preview: false` the returned object will be empty.\n   * @param {[Layer]} layer\n   * @param {Object} [opts={}] Options. Same of `getStyleFromLayer`\n   * @returns {Object} Style object\n   */\n  getStylePreview(layer, opts = {}) {\n    let result = {};\n    const preview = this.get('preview');\n\n    if (preview) {\n      result = this.getStyleFromLayer(layer, opts);\n    }\n\n    return result;\n  }\n\n  /**\n   * Get layer separator.\n   * @return {RegExp}\n   */\n  getLayerSeparator() {\n    const sep = this.get('layerSeparator');\n    return isString(sep) ? new RegExp(`${sep}(?![^\\\\(]*\\\\))`) : sep;\n  }\n\n  __upProperties(prop, opts = {}) {\n    const layer = this.getSelectedLayer();\n    if (!layer) return;\n    layer.upValues({ [prop.getId()]: prop.__getFullValue() });\n    if (opts.__up) return;\n    this.__upTargetsStyleProps(opts);\n  }\n\n  __upLayers(m, c, o) {\n    this.__upTargetsStyleProps(o || c);\n  }\n\n  __upTargets(p, opts = {}) {\n    if (opts.__select) return;\n    return PropertyBase.prototype.__upTargets.call(this, p, opts);\n  }\n\n  __upTargetsStyleProps(opts = {}) {\n    this.__upTargetsStyle(this.getStyleFromLayers(), opts);\n  }\n\n  __upTargetsStyle(style, opts) {\n    return PropertyBase.prototype.__upTargetsStyle.call(this, style, opts);\n  }\n\n  __upSelected({ noEvent } = {}, opts = {}) {\n    const sm = this.em.get('StyleManager');\n    const selected = this.getSelectedLayer();\n    const values = selected?.getValues();\n\n    // Update properties by layer value\n    values &&\n      this.getProperties().forEach(prop => {\n        const value = values[prop.getId()];\n        prop.__getFullValue() !== value && prop.upValue(value, { ...opts, __up: true });\n      });\n\n    !noEvent && sm.__trgEv(sm.events.layerSelect, { property: this });\n  }\n\n  _up(props, opts = {}) {\n    const { __layers = [], ...rest } = props;\n    // Detached props will update their layers later in sm.__upProp\n    !this.isDetached() && this.__setLayers(__layers);\n    this.__upSelected({ noEvent: true }, opts);\n    return PropertyBase.prototype._up.call(this, rest, opts);\n  }\n\n  __setLayers(newLayers = []) {\n    const layers = this.__getLayers();\n    const layersNew = newLayers.map(values => ({ values }));\n\n    if (layers.length === layersNew.length) {\n      layersNew.map((layer, n) => layers.at(n)?.upValues(layer.values));\n    } else {\n      this.__getLayers().reset(layersNew);\n    }\n\n    this.__upSelected({ noEvent: true });\n  }\n\n  __parseValue(value) {\n    const result = this.parseValue(value);\n    result.__layers = value\n      .split(VALUES_REG)\n      .map(v => v.trim())\n      .map(v => this.__parseLayer(v))\n      .filter(Boolean);\n\n    return result;\n  }\n\n  __parseLayer(value) {\n    const parseFn = this.get('parseLayer');\n    const values = value.split(PARTS_REG);\n    const properties = this.getProperties();\n    return parseFn\n      ? parseFn({ value, values })\n      : properties.reduce((acc, prop, i) => {\n          const value = values[i];\n          acc[prop.getId()] = !isUndefined(value) ? value : prop.getDefaultValue();\n          return acc;\n        }, {});\n  }\n\n  __getLayersFromStyle(style = {}) {\n    if (!this.__styleHasProps(style)) return null;\n\n    const name = this.getName();\n    const props = this.getProperties();\n    const sep = this.getLayerSeparator();\n    const fromStyle = this.get('fromStyle');\n    let result = fromStyle ? fromStyle(style, { property: this, name, separatorLayers: sep }) : [];\n\n    if (!fromStyle) {\n      // Get layers from the main property\n      const layers = this.__splitStyleName(style, name, sep)\n        .map(value => value.split(this.getSplitSeparator()))\n        .map(parts => {\n          const result = {};\n          props.forEach((prop, i) => {\n            const value = parts[i];\n            result[prop.getId()] = !isUndefined(value) ? value : prop.getDefaultValue();\n          });\n          return result;\n        });\n      // Get layers from the inner properties\n      props.forEach(prop => {\n        const id = prop.getId();\n        this.__splitStyleName(style, prop.getName(), sep)\n          .map(value => ({ [id]: value || prop.getDefaultValue() }))\n          .forEach((inLayer, i) => {\n            layers[i] = layers[i] ? { ...layers[i], ...inLayer } : inLayer;\n          });\n      });\n      result = layers;\n    }\n\n    return isArray(result) ? result : [result];\n  }\n\n  getStyle(opts) {\n    return this.getStyleFromLayers(opts);\n  }\n\n  getStyleFromLayers(opts) {\n    let result = {};\n    const name = this.getName();\n    const layers = this.getLayers();\n    const props = this.getProperties();\n    const styles = layers.map(l => this.getStyleFromLayer(l, opts));\n    styles.forEach(style => {\n      keys(style).map(key => {\n        if (!result[key]) result[key] = [];\n        result[key].push(style[key]);\n      });\n    });\n    keys(result).map(key => {\n      result[key] = result[key].join(this.__getJoinLayers());\n    });\n\n    if (this.isDetached()) {\n      result[name] = '';\n      !layers.length &&\n        props.map(prop => {\n          result[prop.getName()] = '';\n        });\n    } else {\n      const style = props.reduce((acc, prop) => {\n        acc[prop.getName()] = '';\n        return acc;\n      }, {});\n      result[name] = result[name] || '';\n      result = { ...result, ...style };\n    }\n\n    return result;\n  }\n\n  __getJoinLayers() {\n    const join = this.get('layerJoin');\n    const sep = this.get('layerSeparator');\n\n    return join || (isString(sep) ? sep : join);\n  }\n\n  __getFullValue() {\n    if (this.get('detached')) return '';\n    const style = this.getStyleFromLayers();\n\n    return style[this.getName()];\n  }\n\n  /**\n   * Extended\n   * @private\n   */\n  hasValue(opts = {}) {\n    const { noParent } = opts;\n    const parentValue = noParent && this.getParentTarget();\n    return this.getLayers().length > 0 && !parentValue;\n  }\n\n  /**\n   * Extended\n   * @private\n   */\n  clear(opts = {}) {\n    this.__getLayers().reset();\n    this.__upTargetsStyleProps(opts);\n    return PropertyBase.prototype.clear.call(this);\n  }\n\n  __canClearProp() {\n    return false;\n  }\n}\n","import { View } from 'common';\nimport { bindAll, isUndefined, debounce } from 'underscore';\nimport { isObject } from 'utils/mixins';\n\nconst clearProp = 'data-clear-style';\n\nexport default class Property extends View {\n  template() {\n    const { pfx, ppfx } = this;\n    return `\n      <div class=\"${pfx}label\" data-sm-label></div>\n      <div class=\"${ppfx}fields\" data-sm-fields></div>\n    `;\n  }\n\n  templateLabel(model) {\n    const { pfx, em } = this;\n    const { parent } = model;\n    const { icon = '', info = '' } = model.attributes;\n    const icons = em?.getConfig('icons');\n    const iconClose = icons?.close || '';\n\n    return `\n      <span class=\"${pfx}icon ${icon}\" title=\"${info}\">\n        ${model.getLabel()}\n      </span>\n      ${!parent ? `<div class=\"${pfx}clear\" style=\"display: none\" ${clearProp}>${iconClose}</div>` : ''}\n    `;\n  }\n\n  templateInput(model) {\n    return `\n      <div class=\"${this.ppfx}field\">\n        <input placeholder=\"${model.getDefaultValue()}\"/>\n      </div>\n    `;\n  }\n\n  initialize(o = {}) {\n    bindAll(this, '__change', '__updateStyle');\n    const config = o.config || {};\n    const { em } = config;\n    this.config = config;\n    this.em = em;\n    this.pfx = config.stylePrefix || '';\n    this.ppfx = config.pStylePrefix || '';\n    this.__destroyFn = this.destroy ? this.destroy.bind(this) : () => {};\n    const { model } = this;\n    model.view = this;\n\n    // Put a sligh delay on debounce in order to execute the update\n    // post styleManager.__upProps trigger.\n    this.onValueChange = debounce(this.onValueChange.bind(this), 10);\n    this.updateStatus = debounce(this.updateStatus.bind(this));\n\n    this.listenTo(model, 'destroy remove', this.remove);\n    this.listenTo(model, 'change:visible', this.updateVisibility);\n    this.listenTo(model, 'change:name change:className change:full', this.render);\n    this.listenTo(model, 'change:value', this.onValueChange);\n    this.listenTo(em, 'change:device', this.onValueChange);\n\n    const init = this.init && this.init.bind(this);\n    init && init();\n  }\n\n  remove() {\n    View.prototype.remove.apply(this, arguments);\n    ['em', 'input', '$input', 'view'].forEach(i => (this[i] = null));\n    this.__destroyFn(this._getClbOpts());\n  }\n\n  /**\n   * Triggers when the status changes. The status indicates if the value of\n   * the proprerty is changed or inherited\n   * @private\n   */\n  updateStatus() {\n    const { model, pfx, ppfx, config } = this;\n    const updatedCls = `${ppfx}four-color`;\n    const computedCls = `${ppfx}color-warn`;\n    const labelEl = this.$el.children(`.${pfx}label`);\n    const clearStyleEl = this.getClearEl();\n    const clearStyle = clearStyleEl ? clearStyleEl.style : {};\n    labelEl.removeClass(`${updatedCls} ${computedCls}`);\n    clearStyle.display = 'none';\n\n    if (model.hasValue({ noParent: true }) && config.highlightChanged) {\n      labelEl.addClass(updatedCls);\n      config.clearProperties && (clearStyle.display = '');\n    } else if (model.hasValue() && config.highlightComputed) {\n      labelEl.addClass(computedCls);\n    }\n\n    this.parent?.updateStatus();\n  }\n\n  /**\n   * Clear the property from the target\n   */\n  clear(ev) {\n    ev && ev.stopPropagation();\n    this.model.clear();\n  }\n\n  /**\n   * Get clear element\n   * @return {HTMLElement}\n   */\n  getClearEl() {\n    if (!this.clearEl) {\n      this.clearEl = this.el.querySelector(`[${clearProp}]`);\n    }\n\n    return this.clearEl;\n  }\n\n  /**\n   * Triggers when the value of element input/s is changed, so have to update\n   * the value of the model which will propogate those changes to the target\n   */\n  inputValueChanged(ev) {\n    ev && ev.stopPropagation();\n    // Skip the default update in case a custom emit method is defined\n    if (this.emit) return;\n    this.model.upValue(ev.target.value);\n  }\n\n  onValueChange(m, val, opt = {}) {\n    this.setValue(this.model.getFullValue());\n    this.updateStatus();\n  }\n\n  /**\n   * Update the element input.\n   * Usually the value is a result of `model.getFullValue()`\n   * @param {String} value The value from the model\n   * */\n  setValue(value) {\n    const { model } = this;\n    const result = isUndefined(value) || value === '' ? model.getDefaultValue() : value;\n    if (this.update) return this.__update(result);\n    this.__setValueInput(result);\n  }\n\n  __setValueInput(value) {\n    const input = this.getInputEl();\n    input && (input.value = value);\n  }\n\n  getInputEl() {\n    if (!this.input) {\n      this.input = this.el.querySelector('input');\n    }\n\n    return this.input;\n  }\n\n  updateVisibility() {\n    this.el.style.display = this.model.isVisible() ? '' : 'none';\n  }\n\n  clearCached() {\n    this.clearEl = null;\n    this.input = null;\n    this.$input = null;\n  }\n\n  __unset() {\n    const unset = this.unset && this.unset.bind(this);\n    unset && unset(this._getClbOpts());\n  }\n\n  __update(value) {\n    const update = this.update && this.update.bind(this);\n    update &&\n      update({\n        ...this._getClbOpts(),\n        value,\n      });\n  }\n\n  __change(...args) {\n    const emit = this.emit && this.emit.bind(this);\n    emit && emit(this._getClbOpts(), ...args);\n  }\n\n  __updateStyle(value, { complete, partial, ...opts } = {}) {\n    const { model } = this;\n    const final = complete !== false && partial !== true;\n\n    if (isObject(value)) {\n      model.__upTargetsStyle(value, { avoidStore: !final });\n    } else {\n      model.upValue(value, { partial: !final });\n    }\n  }\n\n  _getClbOpts() {\n    const { model, el, createdEl } = this;\n    return {\n      el,\n      createdEl,\n      property: model,\n      props: model.attributes,\n      change: this.__change,\n      updateStyle: this.__updateStyle,\n    };\n  }\n\n  render() {\n    this.clearCached();\n    const { pfx, model, el, $el } = this;\n    const name = model.getName();\n    const type = model.getType();\n    const cls = model.get('className') || '';\n    const className = `${pfx}property`;\n    // Support old integer classname\n    const clsType = type === 'number' ? `${pfx}${type} ${pfx}integer` : `${pfx}${type}`;\n\n    this.createdEl && this.__destroyFn(this._getClbOpts());\n    $el.empty().append(this.template(model));\n    $el.find('[data-sm-label]').append(this.templateLabel(model));\n    const create = this.create && this.create.bind(this);\n    this.createdEl = create && create(this._getClbOpts());\n    $el.find('[data-sm-fields]').append(this.createdEl || this.templateInput(model));\n\n    el.className = `${className} ${clsType} ${className}__${name} ${cls}`.trim();\n    el.className += model.isFull() ? ` ${className}--full` : '';\n\n    const onRender = this.onRender && this.onRender.bind(this);\n    onRender && onRender();\n    this.setValue(model.getValue());\n  }\n}\n\nProperty.prototype.events = {\n  change: 'inputValueChanged',\n  [`click [${clearProp}]`]: 'clear',\n};\n","import { View } from 'common';\nimport { appendAtIndex } from 'utils/dom';\n\nexport default class PropertiesView extends View {\n  initialize(o) {\n    this.config = o.config || {};\n    this.pfx = this.config.stylePrefix || '';\n    this.properties = [];\n    this.parent = o.parent;\n    const coll = this.collection;\n    this.listenTo(coll, 'add', this.addTo);\n    this.listenTo(coll, 'reset', this.render);\n  }\n\n  addTo(model, coll, opts) {\n    this.add(model, null, opts);\n  }\n\n  add(model, frag, opts = {}) {\n    const { parent, config } = this;\n    const appendTo = frag || this.el;\n    const view = new model.typeView({ model, config });\n    parent && (view.parent = parent);\n    view.render();\n    const rendered = view.el;\n    this.properties.push(view);\n    appendAtIndex(appendTo, rendered, opts.at);\n  }\n\n  remove() {\n    View.prototype.remove.apply(this, arguments);\n    this.clearItems();\n  }\n\n  clearItems() {\n    this.properties.forEach(item => item.remove());\n    this.properties = [];\n  }\n\n  render() {\n    const { $el, pfx } = this;\n    this.clearItems();\n    const fragment = document.createDocumentFragment();\n    this.collection.forEach(model => this.add(model, fragment));\n    $el.empty();\n    $el.append(fragment);\n    $el.attr('class', `${pfx}properties`);\n    return this;\n  }\n}\n","import PropertyView from './PropertyView';\nimport PropertiesView from './PropertiesView';\n\nexport default class PropertyCompositeView extends PropertyView {\n  templateInput() {\n    const { pfx } = this;\n    return `\n      <div class=\"${pfx}field ${pfx}composite\">\n        <span id=\"${pfx}input-holder\"></span>\n      </div>\n    `;\n  }\n\n  remove() {\n    this.props?.remove();\n    PropertyView.prototype.remove.apply(this, arguments);\n  }\n\n  onValueChange() {}\n\n  onRender() {\n    const { model, pfx } = this;\n    const props = model.get('properties');\n\n    if (props.length && !this.props) {\n      const detached = model.isDetached();\n      const propsView = new PropertiesView({\n        config: {\n          ...this.config,\n          highlightComputed: detached,\n          highlightChanged: detached,\n        },\n        collection: props,\n        parent: this,\n      });\n      propsView.render();\n      this.$el.find(`#${pfx}input-holder`).append(propsView.el);\n      this.props = propsView;\n    }\n  }\n\n  clearCached() {\n    PropertyView.prototype.clearCached.apply(this, arguments);\n    this.props = null;\n  }\n}\n","import { View } from 'backbone';\nimport { keys } from 'underscore';\n\nexport default class LayerView extends View {\n  events() {\n    return {\n      click: 'select',\n      'click [data-close-layer]': 'removeItem',\n      'mousedown [data-move-layer]': 'initSorter',\n      'touchstart [data-move-layer]': 'initSorter',\n    };\n  }\n\n  template() {\n    const { pfx, ppfx, em } = this;\n    const icons = em?.getConfig('icons');\n    const iconClose = icons?.close || '';\n    const iconMove = icons?.move || '';\n\n    return `\n      <div class=\"${pfx}label-wrp\">\n        <div id=\"${pfx}move\" class=\"${ppfx}no-touch-actions\" data-move-layer>\n          ${iconMove}\n        </div>\n        <div id=\"${pfx}label\" data-label></div>\n        <div id=\"${pfx}preview-box\" class=\"${pfx}layer-preview\" style=\"display: none\" data-preview-box>\n          <div id=\"${pfx}preview\" class=\"${pfx}layer-preview-cnt\" data-preview></div>\n        </div>\n        <div id=\"${pfx}close-layer\" class=\"${pfx}btn-close\" data-close-layer>\n          ${iconClose}\n        </div>\n      </div>\n      <div id=\"${pfx}inputs\" data-properties></div>\n    `;\n  }\n\n  initialize(o = {}) {\n    const { model } = this;\n    const config = o.config || {};\n    this.em = config.em;\n    this.config = config;\n    this.sorter = o.sorter;\n    this.pfx = config.stylePrefix || '';\n    this.ppfx = config.pStylePrefix || '';\n    this.propertyView = o.propertyView;\n    const pModel = this.propertyView.model;\n    this.listenTo(model, 'destroy remove', this.remove);\n    this.listenTo(model, 'change:values', this.updateLabel);\n    this.listenTo(pModel, 'change:selectedLayer', this.updateVisibility);\n\n    // For the sorter\n    model.view = this;\n    model.set({ droppable: 0, draggable: 1 });\n    this.$el.data('model', model);\n  }\n\n  initSorter() {\n    this.sorter?.startSort(this.el);\n  }\n\n  removeItem(ev) {\n    ev && ev.stopPropagation();\n    this.model.remove();\n  }\n\n  select() {\n    this.model.select();\n  }\n\n  getPropertiesWrapper() {\n    if (!this.propsWrapEl) this.propsWrapEl = this.el.querySelector('[data-properties]');\n    return this.propsWrapEl;\n  }\n\n  getPreviewEl() {\n    if (!this.previewEl) this.previewEl = this.el.querySelector('[data-preview]');\n    return this.previewEl;\n  }\n\n  getLabelEl() {\n    if (!this.labelEl) this.labelEl = this.el.querySelector('[data-label]');\n    return this.labelEl;\n  }\n\n  updateLabel() {\n    const { model } = this;\n    const label = model.getLabel();\n    this.getLabelEl().innerHTML = label;\n\n    if (model.hasPreview()) {\n      const prvEl = this.getPreviewEl();\n      const style = model.getStylePreview({ number: { min: -3, max: 3 } });\n      const styleStr = keys(style)\n        .map(k => `${k}:${style[k]}`)\n        .join(';');\n      prvEl.setAttribute('style', styleStr);\n    }\n  }\n\n  updateVisibility() {\n    const { pfx, model, propertyView } = this;\n    const wrapEl = this.getPropertiesWrapper();\n    const isSelected = model.isSelected();\n    wrapEl.style.display = isSelected ? '' : 'none';\n    this.$el[isSelected ? 'addClass' : 'removeClass'](`${pfx}active`);\n    isSelected && wrapEl.appendChild(propertyView.props.el);\n  }\n\n  render() {\n    const { el, pfx, model } = this;\n    el.innerHTML = this.template();\n    el.className = `${pfx}layer`;\n    if (model.hasPreview()) {\n      el.querySelector(`[data-preview-box]`).style.display = '';\n    }\n    this.updateLabel();\n    this.updateVisibility();\n    return this;\n  }\n}\n","import { View } from 'common';\nimport LayerView from './LayerView';\n\nexport default class LayersView extends View {\n  initialize(o) {\n    const coll = this.collection;\n    const config = o.config || {};\n    const em = config.em;\n    const pfx = config.stylePrefix || '';\n    const ppfx = config.pStylePrefix || '';\n    this.config = config;\n    this.pfx = pfx;\n    this.ppfx = ppfx;\n    this.propertyView = o.propertyView;\n    this.className = `${pfx}layers ${ppfx}field`;\n    this.listenTo(coll, 'add', this.addTo);\n    this.listenTo(coll, 'reset', this.reset);\n    this.items = [];\n\n    // For the Sorter\n    const utils = em ? em.get('Utils') : '';\n    this.sorter = utils\n      ? new utils.Sorter({\n          container: this.el,\n          ignoreViewChildren: 1,\n          containerSel: `.${pfx}layers`,\n          itemSel: `.${pfx}layer`,\n          pfx: config.pStylePrefix,\n        })\n      : '';\n    coll.view = this;\n    this.$el.data('model', coll);\n    this.$el.data('collection', coll);\n  }\n\n  addTo(model) {\n    const i = this.collection.indexOf(model);\n    this.addToCollection(model, null, i);\n  }\n\n  addToCollection(model, fragmentEl, index) {\n    const fragment = fragmentEl || null;\n    const { propertyView, config, sorter, $el } = this;\n    const view = new LayerView({ model, config, sorter, propertyView });\n    const rendered = view.render().el;\n    this.items.push(view);\n\n    if (fragment) {\n      fragment.appendChild(rendered);\n    } else {\n      if (typeof index != 'undefined') {\n        let method = 'before';\n\n        if ($el.children().length === index) {\n          index--;\n          method = 'after';\n        }\n\n        if (index < 0) {\n          $el.append(rendered);\n        } else {\n          $el.children().eq(index)[method](rendered);\n        }\n      } else {\n        $el.append(rendered);\n      }\n    }\n\n    return rendered;\n  }\n\n  reset(coll, opts) {\n    this.clearItems(opts);\n    this.render();\n  }\n\n  remove() {\n    this.clearItems();\n    View.prototype.remove.apply(this, arguments);\n  }\n\n  clearItems() {\n    this.items.forEach(item => item.remove());\n    this.items = [];\n  }\n\n  render() {\n    const { $el, sorter } = this;\n    const frag = document.createDocumentFragment();\n    $el.empty();\n    this.collection.forEach(m => this.addToCollection(m, frag));\n    $el.append(frag);\n    $el.attr('class', this.className);\n    if (sorter) sorter.plh = null;\n\n    return this;\n  }\n}\n","import PropertyCompositeView from './PropertyCompositeView';\nimport PropertiesView from './PropertiesView';\nimport LayersView from './LayersView';\n\nexport default class PropertyStackView extends PropertyCompositeView {\n  events() {\n    return {\n      ...PropertyCompositeView.prototype.events,\n      'click [data-add-layer]': 'addLayer',\n      change: '',\n    };\n  }\n\n  templateInput() {\n    const { pfx, em } = this;\n    const icons = em?.getConfig('icons');\n    const iconPlus = icons?.plus || '+';\n    return `\n      <div class=\"${pfx}field ${pfx}stack\">\n        <button type=\"button\" id=\"${pfx}add\" data-add-layer>\n          ${iconPlus}\n        </button>\n        <div data-layers-wrapper></div>\n      </div>\n    `;\n  }\n\n  init() {\n    const { model } = this;\n    this.listenTo(model.__getLayers(), 'change reset', this.updateStatus);\n  }\n\n  addLayer() {\n    this.model.addLayer({}, { at: 0 });\n  }\n\n  /**\n   * There is no need to handle input update by the property itself,\n   * this will be done by layers\n   * @private\n   */\n  setValue() {}\n\n  remove() {\n    this.layersView?.remove();\n    PropertyCompositeView.prototype.remove.apply(this, arguments);\n  }\n\n  clearCached() {\n    PropertyCompositeView.prototype.clearCached.apply(this, arguments);\n    this.layersView = null;\n  }\n\n  onRender() {\n    const { model, el, config } = this;\n    const props = model.get('properties');\n\n    if (props.length && !this.props) {\n      const propsView = new PropertiesView({\n        config: {\n          ...config,\n          highlightComputed: false,\n          highlightChanged: false,\n        },\n        collection: props,\n        parent: this,\n      });\n      propsView.render();\n\n      const layersView = new LayersView({\n        collection: model.__getLayers(),\n        config,\n        propertyView: this,\n      });\n      layersView.render();\n\n      const fieldEl = el.querySelector('[data-layers-wrapper]');\n      fieldEl.appendChild(layersView.el);\n      this.props = propsView;\n      this.layersView = layersView;\n    }\n  }\n}\n","import { isString } from 'underscore';\nimport PropertyView from './PropertyView';\n\nexport default class PropertyFileView extends PropertyView {\n  events() {\n    return {\n      ...PropertyView.prototype.events,\n      'click [data-clear-asset]': 'clear',\n      'click [data-open-assets]': 'openAssetManager',\n    };\n  }\n\n  templateInput() {\n    const { pfx, em } = this;\n    const icons = this.em?.getConfig('icons');\n    const iconClose = icons?.close;\n\n    return `\n      <div class=\"${pfx}field ${pfx}file\">\n        <div id='${pfx}input-holder'>\n          <div class=\"${pfx}btn-c\">\n            <button class=\"${pfx}btn\" id=\"${pfx}images\" type=\"button\" data-open-assets>\n              ${em.t('styleManager.fileButton')}\n            </button>\n          </div>\n          <div style=\"clear:both;\"></div>\n        </div>\n        <div id=\"${pfx}preview-box\" class=\"${pfx}preview-file\" data-preview-box>\n          <div id=\"${pfx}preview-file\" class=\"${pfx}preview-file-cnt\" data-preview></div>\n          <div id=\"${pfx}close\" class=\"${pfx}preview-file-close\" data-clear-asset>${iconClose}</div>\n        </div>\n      </div>\n    `;\n  }\n\n  __setValueInput(value) {\n    const { model, el } = this;\n    const valueDef = model.getDefaultValue();\n    const prvBoxEl = el.querySelector('[data-preview-box]');\n    const prvEl = el.querySelector('[data-preview]');\n    prvBoxEl.style.display = !value || value === valueDef ? 'none' : '';\n    prvEl.style.backgroundImage = value || model.getDefaultValue();\n  }\n\n  openAssetManager() {\n    const am = this.em?.get('AssetManager');\n\n    am?.open({\n      select: (asset, complete) => {\n        const url = isString(asset) ? asset : asset.get('src');\n        this.model.upValue(url, { partial: !complete });\n        complete && am.close();\n      },\n      types: ['image'],\n      accept: 'image/*',\n    });\n  }\n}\n","import PropertyView from './PropertyView';\n\nexport default class PropertyNumberView extends PropertyView {\n  templateInput() {\n    return '';\n  }\n\n  init() {\n    const model = this.model;\n    this.listenTo(model, 'change:unit', this.onValueChange);\n    this.listenTo(model, 'change:units', this.render);\n  }\n\n  setValue() {\n    // handled by this.inputInst\n  }\n\n  onRender() {\n    const { ppfx, model, el } = this;\n\n    if (!this.inputInst) {\n      const { input } = model;\n      input.ppfx = ppfx;\n      input.render();\n      const fields = el.querySelector(`.${ppfx}fields`);\n      fields.appendChild(input.el);\n      this.input = input.inputEl.get(0);\n      this.inputInst = input;\n    }\n  }\n\n  clearCached() {\n    PropertyView.prototype.clearCached.apply(this, arguments);\n    this.inputInst = null;\n  }\n}\n","import PropertyNumberView from './PropertyNumberView';\nimport InputColor from 'domain_abstract/ui/InputColor';\n\nexport default class PropertyColorView extends PropertyNumberView {\n  setValue(value) {\n    this.inputInst?.setValue(value, { fromTarget: 1, def: this.model.getDefaultValue() });\n  }\n\n  remove() {\n    PropertyNumberView.prototype.remove.apply(this, arguments);\n    const inp = this.inputInst;\n    inp && inp.remove && inp.remove();\n    ['inputInst', '$color'].forEach(i => (this[i] = null));\n  }\n\n  __handleChange(value, partial) {\n    this.model.upValue(value, { partial });\n  }\n\n  onRender() {\n    if (!this.inputInst) {\n      this.__handleChange = this.__handleChange.bind(this);\n      const { ppfx, model, em, el } = this;\n      const inputColor = new InputColor({ target: em, model, ppfx, onChange: this.__handleChange });\n      const input = inputColor.render();\n      el.querySelector(`.${ppfx}fields`).appendChild(input.el);\n      this.input = input.inputEl.get(0);\n      this.inputInst = input;\n    }\n  }\n}\n","import Property from './Property';\nimport { isDef } from 'utils/mixins';\nimport { isString } from 'underscore';\n\n/**\n * @typedef PropertySelect\n * @property {Array<Object>} options Array of option definitions.\n * \\n\n * ```js\n * options: [\n *  { id: '100', label: 'Set 100' },\n *  { id: '200', label: 'Set 200' },\n * ]\n * ```\n */\nexport default class PropertySelect extends Property {\n  defaults() {\n    return {\n      ...Property.getDefaults(),\n      options: [],\n      full: 0,\n    };\n  }\n\n  /**\n   * Get available options.\n   * @returns {Array<Object>} Array of options\n   */\n  getOptions() {\n    // support old list property\n    const { options, list } = this.attributes;\n    return (options && options.length ? options : list) || [];\n  }\n\n  /**\n   * Get current selected option or by id.\n   * @param {String} [id] Option id.\n   * @returns {Object | null}\n   */\n  getOption(id) {\n    const idSel = id || this.getValue();\n    return this.getOptions().filter(o => this.getOptionId(o) === idSel)[0] || null;\n  }\n\n  /**\n   * Update options.\n   * @param {Array<Object>} value New array of options, eg. `[{ id: 'val-1', label: 'Value 1' }]`\n   */\n  setOptions(value = []) {\n    this.set('options', value);\n    return this;\n  }\n\n  /**\n   * Add new option.\n   * @param {Object} value Option object, eg. `{ id: 'val-1', label: 'Value 1' }`\n   */\n  addOption(value) {\n    if (value) {\n      const opts = this.getOptions();\n      this.setOptions([...opts, value]);\n    }\n    return this;\n  }\n\n  /**\n   * Get the option id from the option object.\n   * @param {Object} option Option object\n   * @returns {String} Option id\n   */\n  getOptionId(option) {\n    return isDef(option.id) ? option.id : option.value;\n  }\n\n  /**\n   * Get option label.\n   * @param {String|Object} id Option id or the option object\n   * @param {Object} [opts={}] Options\n   * @param {Boolean} [opts.locale=true] Use the locale string from i18n module\n   * @returns {String} Option label\n   */\n  getOptionLabel(id, opts = {}) {\n    const { locale = true } = opts;\n    const option = (isString(id) ? this.getOption(id) : id) || {};\n    const optId = this.getOptionId(option);\n    const label = option.label || option.name || optId;\n    const propId = this.getId();\n    return (locale && this.em?.t(`styleManager.options.${propId}.${optId}`)) || label;\n  }\n\n  initialize(...args) {\n    Property.prototype.initialize.apply(this, args);\n    this.listenTo(this, 'change:options', this.__onOptionChange);\n  }\n\n  __onOptionChange() {\n    this.set('list', this.get('options'));\n  }\n}\n","import PropertyView from './PropertyView';\n\nexport default class PropertySelectView extends PropertyView {\n  templateInput() {\n    const pfx = this.pfx;\n    const ppfx = this.ppfx;\n    return `\n      <div class=\"${ppfx}field ${ppfx}select\">\n        <span id=\"${pfx}input-holder\"></span>\n        <div class=\"${ppfx}sel-arrow\">\n          <div class=\"${ppfx}d-s-arrow\"></div>\n        </div>\n      </div>\n    `;\n  }\n\n  initialize(...args) {\n    PropertyView.prototype.initialize.apply(this, args);\n    this.listenTo(this.model, 'change:options', this.updateOptions);\n  }\n\n  updateOptions() {\n    this.input = null;\n    this.onRender();\n  }\n\n  onRender() {\n    const { model, pfx } = this;\n    const options = model.getOptions();\n\n    if (!this.input) {\n      const optionsRes = [];\n\n      options.forEach(option => {\n        const id = model.getOptionId(option);\n        const name = model.getOptionLabel(id);\n        const style = option.style ? option.style.replace(/\"/g, '&quot;') : '';\n        const styleAttr = style ? `style=\"${style}\"` : '';\n        const value = id.replace(/\"/g, '&quot;');\n        optionsRes.push(`<option value=\"${value}\" ${styleAttr}>${name}</option>`);\n      });\n\n      const inputH = this.el.querySelector(`#${pfx}input-holder`);\n      inputH.innerHTML = `<select>${optionsRes.join('')}</select>`;\n      this.input = inputH.firstChild;\n    }\n  }\n\n  __setValueInput(value) {\n    const { model } = this;\n    const input = this.getInputEl();\n    const firstOpt = model.getOptions()[0];\n    const firstId = firstOpt ? model.getOptionId(firstOpt) : '';\n    input && (input.value = value || firstId);\n  }\n}\n","import Property from './PropertySelect';\n\nexport default class PropertyRadio extends Property {\n  defaults() {\n    return {\n      ...Property.getDefaults(),\n      full: 1,\n    };\n  }\n}\n","import PropertySelectView from './PropertySelectView';\n\nexport default class PropertyRadioView extends PropertySelectView {\n  templateInput() {\n    const { ppfx } = this;\n    return `<div class=\"${ppfx}field ${ppfx}field-radio\"></div>`;\n  }\n\n  onRender() {\n    const { pfx, ppfx, model } = this;\n    const itemCls = `${ppfx}radio-item-label`;\n    const prop = model.getName();\n    const options = model.getOptions();\n    const clsInput = `${pfx}radio ${pfx}radio-${prop}`;\n    const { cid } = model;\n\n    if (!this.input) {\n      const optionsRes = [];\n\n      options.forEach(opt => {\n        const cls = opt.className ? `${opt.className} ${pfx}icon ${itemCls}` : '';\n        const id = model.getOptionId(opt);\n        const elId = `${prop}-${id}-${cid}`;\n        const labelEl = cls ? '' : model.getOptionLabel(id);\n        const titleAttr = opt.title ? `title=\"${opt.title}\"` : '';\n        const checked = model.getValue() === id ? 'checked' : '';\n        optionsRes.push(`\n          <div class=\"${ppfx}radio-item\">\n            <input type=\"radio\" class=\"${clsInput}\" id=\"${elId}\" name=\"${prop}-${cid}\" value=\"${id}\" ${checked}/>\n            <label class=\"${cls || itemCls}\" ${titleAttr} for=\"${elId}\">${labelEl}</label>\n          </div>\n        `);\n      });\n\n      const inputHld = this.el.querySelector(`.${ppfx}field`);\n      inputHld.innerHTML = `<div class=\"${ppfx}radio-items\">${optionsRes.join('')}</div>`;\n      this.input = inputHld.firstChild;\n    }\n  }\n\n  __setValueInput(value) {\n    const { model } = this;\n    const id = value || model.getDefaultValue();\n    const inputIn = this.getInputEl()?.querySelector(`[value=\"${id}\"]`);\n    inputIn && (inputIn.checked = true);\n  }\n}\n","import { isUndefined } from 'underscore';\nimport Property from './Property';\nimport InputNumber from 'domain_abstract/ui/InputNumber';\nimport { hasWin } from 'utils/mixins';\n\n/**\n * @typedef PropertyNumber\n * @property {Array<String>} units Array of units, eg. `['px', '%']`\n * @property {Number} min Minimum value.\n * @property {Number} max Maximum value.\n * @property {Number} step Step value.\n *\n */\nexport default class PropertyNumber extends Property {\n  defaults() {\n    return {\n      ...Property.getDefaults(),\n      units: [],\n      unit: '',\n      min: '',\n      max: '',\n      step: 1,\n    };\n  }\n\n  /**\n   * Get property units.\n   * @returns {Array<String>}\n   */\n  getUnits() {\n    return this.get('units') || [];\n  }\n\n  /**\n   * Get property unit value.\n   * @returns {String}\n   */\n  getUnit() {\n    return this.get('unit');\n  }\n\n  /**\n   * Get min value.\n   * @returns {Number}\n   */\n  getMin() {\n    return this.get('min');\n  }\n\n  /**\n   * Get max value.\n   * @returns {Number}\n   */\n  getMax() {\n    return this.get('max');\n  }\n\n  /**\n   * Get step value.\n   * @returns {Number}\n   */\n  getStep() {\n    return this.get('step');\n  }\n\n  /**\n   * Update property unit value.\n   * The change is also propagated to the selected targets.\n   * @param {String} unit New unit value\n   * @param {Object} [opts={}] Options\n   * @param {Boolean} [opts.noTarget=false] If `true` the change won't be propagated to selected targets.\n   * @returns {String}\n   */\n  upUnit(unit, opts) {\n    return this._up({ unit }, opts);\n  }\n\n  initialize(props = {}, opts = {}) {\n    Property.callParentInit(Property, this, props, opts);\n    const unit = this.get('unit');\n    const units = this.get('units');\n    this.input = hasWin() && new InputNumber({ model: this });\n\n    if (units.length && !unit) {\n      this.set('unit', units[0], { silent: 1 });\n    }\n    Property.callInit(this, props, opts);\n  }\n\n  __getClearProps() {\n    return {\n      ...Property.prototype.__getClearProps(),\n      unit: '',\n    };\n  }\n\n  parseValue(val, opts = {}) {\n    const parsed = Property.prototype.parseValue.apply(this, arguments);\n    const { value, unit } = this.input.validateInputValue(parsed.value, {\n      deepCheck: 1,\n      ...opts,\n    });\n    parsed.value = value;\n    parsed.unit = unit;\n    return parsed;\n  }\n\n  getFullValue() {\n    let value = this.get('value');\n    let unit = this.get('unit');\n    value = !isUndefined(value) ? value : '';\n    unit = !isUndefined(unit) && value ? unit : '';\n    value = `${value}${unit}`;\n    return Property.prototype.getFullValue.apply(this, [value]);\n  }\n}\n","import Property from './PropertyNumber';\n\nexport default class PropertySlider extends Property {\n  defaults() {\n    return {\n      ...Property.getDefaults(),\n      showInput: 1,\n    };\n  }\n}\n","import Property from './PropertyNumberView';\n\nexport default class PropertySliderView extends Property {\n  events() {\n    return {\n      ...Property.prototype.events,\n      'change [type=range]': 'inputValueChanged',\n      'input [type=range]': 'inputValueChangedSoft',\n      change: '',\n    };\n  }\n\n  templateInput(model) {\n    const { ppfx } = this;\n    return `\n      <div class=\"${ppfx}field ${ppfx}field-range\">\n        <input type=\"range\" min=\"${model.get('min')}\" max=\"${model.get('max')}\" step=\"${model.get('step')}\"/>\n      </div>\n    `;\n  }\n\n  getSliderEl() {\n    if (!this.slider) {\n      this.slider = this.el.querySelector('input[type=range]');\n    }\n\n    return this.slider;\n  }\n\n  inputValueChanged() {\n    this.model.upValue(this.getSliderEl().value);\n  }\n\n  inputValueChangedSoft() {\n    this.model.upValue(this.getSliderEl().value, { partial: true });\n  }\n\n  setValue(value) {\n    const { model } = this;\n    const parsed = model.parseValue(value);\n    this.getSliderEl().value = value === '' ? model.getDefaultValue() : parseFloat(parsed.value);\n    Property.prototype.setValue.apply(this, arguments);\n  }\n\n  onRender() {\n    Property.prototype.onRender.apply(this, arguments);\n\n    if (!this.model.get('showInput')) {\n      this.inputInst.el.style.display = 'none';\n    }\n  }\n\n  clearCached() {\n    Property.prototype.clearCached.apply(this, arguments);\n    this.slider = null;\n  }\n}\n","import Backbone from 'backbone';\nimport TypeableCollection from 'domain_abstract/model/TypeableCollection';\nimport Property from './Property';\nimport PropertyStack from './PropertyStack';\nimport PropertyStackView from './../view/PropertyStackView';\nimport PropertyComposite from './PropertyComposite';\nimport PropertyCompositeView from './../view/PropertyCompositeView';\nimport PropertyFileView from './../view/PropertyFileView';\nimport PropertyColorView from './../view/PropertyColorView';\nimport PropertySelect from './PropertySelect';\nimport PropertySelectView from './../view/PropertySelectView';\nimport PropertyRadio from './PropertyRadio';\nimport PropertyRadioView from './../view/PropertyRadioView';\nimport PropertySlider from './PropertySlider';\nimport PropertySliderView from './../view/PropertySliderView';\nimport PropertyNumber from './PropertyNumber';\nimport PropertyNumberView from './../view/PropertyNumberView';\nimport PropertyView from './../view/PropertyView';\n\nexport default Backbone.Collection.extend(TypeableCollection).extend({\n  extendViewApi: 1,\n\n  init() {\n    const { opts, em } = this;\n    const sm = opts.module || em?.get('StyleManager');\n    if (sm) {\n      sm.__listenAdd(this, sm.events.propertyAdd);\n      sm.__listenRemove(this, sm.events.propertyRemove);\n    }\n  },\n\n  types: [\n    {\n      id: 'stack',\n      model: PropertyStack,\n      view: PropertyStackView,\n      isType(value) {\n        if (value && value.type == 'stack') {\n          return value;\n        }\n      },\n    },\n    {\n      id: 'composite',\n      model: PropertyComposite,\n      view: PropertyCompositeView,\n      isType(value) {\n        if (value && value.type == 'composite') {\n          return value;\n        }\n      },\n    },\n    {\n      id: 'file',\n      model: Property,\n      view: PropertyFileView,\n      isType(value) {\n        if (value && value.type == 'file') {\n          return value;\n        }\n      },\n    },\n    {\n      id: 'color',\n      model: Property,\n      view: PropertyColorView,\n      isType(value) {\n        if (value && value.type == 'color') {\n          return value;\n        }\n      },\n    },\n    {\n      id: 'select',\n      model: PropertySelect,\n      view: PropertySelectView,\n      isType(value) {\n        if (value && value.type == 'select') {\n          return value;\n        }\n      },\n    },\n    {\n      id: 'radio',\n      model: PropertyRadio,\n      view: PropertyRadioView,\n      isType(value) {\n        if (value && value.type == 'radio') {\n          return value;\n        }\n      },\n    },\n    {\n      id: 'slider',\n      model: PropertySlider,\n      view: PropertySliderView,\n      isType(value) {\n        if (value && value.type == 'slider') {\n          return value;\n        }\n      },\n    },\n    {\n      id: 'integer',\n      model: PropertyNumber,\n      view: PropertyNumberView,\n      isType(value) {\n        if (value && value.type == 'integer') {\n          return value;\n        }\n      },\n    },\n    {\n      id: 'number',\n      model: PropertyNumber,\n      view: PropertyNumberView,\n      isType(value) {\n        if (value && value.type == 'number') {\n          return value;\n        }\n      },\n    },\n    {\n      id: 'base',\n      model: Property,\n      view: PropertyView,\n      isType(value) {\n        value.type = 'base';\n        return value;\n      },\n    },\n  ],\n});\n","import { Model } from 'common';\nimport { extend, isString, isArray } from 'underscore';\nimport Properties from './Properties';\n\n/**\n *\n * [Property]: property.html\n *\n * @typedef Sector\n * @property {String} id Sector id, eg. `typography`\n * @property {String} name Sector name, eg. `Typography`\n * @property {Boolean} [open=true] Indicates the open state.\n * @property {Array<Object>} [properties=[]] Indicate an array of Property defintions.\n */\nexport default class Sector extends Model {\n  defaults() {\n    return {\n      id: '',\n      name: '',\n      open: true,\n      visible: true,\n      buildProps: '',\n      extendBuilded: 1,\n      properties: [],\n    };\n  }\n\n  initialize(prp, opts = {}) {\n    const { em } = opts;\n    this.em = em;\n    const o = prp || {};\n    const builded = this.buildProperties(o.buildProps);\n    const name = this.get('name') || '';\n    let props = [];\n    !this.get('id') && this.set('id', name.replace(/ /g, '_').toLowerCase());\n\n    if (!builded) {\n      props = this.get('properties')\n        .map(prop => (isString(prop) ? this.buildProperties(prop)[0] : prop))\n        .filter(Boolean);\n    } else {\n      props = this.extendProperties(builded);\n    }\n\n    props = props.map(prop => this.checkExtend(prop));\n\n    const propsModel = new Properties(props, { em });\n    propsModel.sector = this;\n    this.set('properties', propsModel);\n  }\n\n  /**\n   * Get sector id.\n   * @returns {String}\n   */\n  getId() {\n    return this.get('id');\n  }\n\n  /**\n   * Get sector name.\n   * @returns {String}\n   */\n  getName() {\n    const id = this.getId();\n    return this.em?.t(`styleManager.sectors.${id}`) || this.get('name');\n  }\n\n  /**\n   * Update sector name.\n   * @param {String} value New sector name\n   */\n  setName(value) {\n    return this.set('name', value);\n  }\n\n  /**\n   * Check if the sector is open\n   * @returns {Boolean}\n   */\n  isOpen() {\n    return !!this.get('open');\n  }\n\n  /**\n   * Update Sector open state\n   * @param {Boolean} value\n   */\n  setOpen(value) {\n    return this.set('open', value);\n  }\n\n  /**\n   * Check if the sector is visible\n   * @returns {Boolean}\n   */\n  isVisible() {\n    return !!this.get('visible');\n  }\n\n  /**\n   * Get sector properties.\n   * @param {Object} [opts={}] Options\n   * @param {Boolean} [opts.withValue=false] Get only properties with value\n   * @param {Boolean} [opts.withParentValue=false] Get only properties with parent value\n   * @returns {Array<[Property]>}\n   */\n  getProperties(opts = {}) {\n    const props = this.get('properties');\n    const res = props.models ? [...props.models] : props;\n    return res.filter(prop => {\n      let result = true;\n\n      if (opts.withValue) {\n        result = prop.hasValue({ noParent: true });\n      }\n\n      if (opts.withParentValue) {\n        const hasVal = prop.hasValue({ noParent: true });\n        result = !hasVal && prop.hasValue();\n      }\n\n      return result;\n    });\n  }\n\n  getProperty(id) {\n    return this.getProperties().filter(prop => prop.get('id') === id)[0] || null;\n  }\n\n  addProperty(property, opts) {\n    return this.get('properties').add(this.checkExtend(property), opts);\n  }\n\n  /**\n   * Extend properties\n   * @param {Array<Object>} props Start properties\n   * @param {Array<Object>} moProps Model props\n   * @param {Boolean} ex Returns the same amount of passed model props\n   * @return {Array<Object>} Final props\n   * @private\n   */\n  extendProperties(props, moProps, ex) {\n    var pLen = props.length;\n    var mProps = moProps || this.get('properties');\n    var ext = this.get('extendBuilded');\n    var isolated = [];\n\n    for (var i = 0, len = mProps.length; i < len; i++) {\n      var mProp = mProps[i];\n      var found = 0;\n\n      for (var j = 0; j < pLen; j++) {\n        var prop = props[j];\n        if (mProp.property == prop.property || mProp.id == prop.property) {\n          // Check for nested properties\n          var mPProps = mProp.properties;\n          if (mPProps && mPProps.length) {\n            mProp.properties = this.extendProperties(prop.properties || [], mPProps, 1);\n          }\n          props[j] = ext ? extend(prop, mProp) : mProp;\n          isolated[j] = props[j];\n          found = 1;\n          continue;\n        }\n      }\n\n      if (!found) {\n        props.push(mProp);\n        isolated.push(mProp);\n      }\n    }\n\n    return ex ? isolated.filter(i => i) : props;\n  }\n\n  checkExtend(prop) {\n    const { extend, ...rest } = (isString(prop) ? { extend: prop } : prop) || {};\n    if (extend) {\n      return {\n        ...(this.buildProperties([extend])[0] || {}),\n        ...rest,\n      };\n    } else {\n      return prop;\n    }\n  }\n\n  /**\n   * Build properties\n   * @param {Array<string>} propr Array of props as sting\n   * @return {Array<Object>}\n   * @private\n   */\n  buildProperties(props) {\n    const buildP = props || [];\n\n    if (!buildP.length) return [];\n\n    const builtIn = this.em?.get('StyleManager').builtIn;\n\n    return builtIn?.build(buildP);\n  }\n}\n","import { Collection } from 'common';\nimport Sector from './Sector';\n\nexport default class Sectors extends Collection {\n  initialize(prop, opts = {}) {\n    const { module, em } = opts;\n    this.em = em;\n    this.module = module;\n    this.listenTo(this, 'reset', this.onReset);\n  }\n\n  model(props, opts = {}) {\n    const { em } = opts.collection;\n    return new Sector(props, { ...opts, em });\n  }\n\n  onReset(models, opts = {}) {\n    const prev = opts.previousModels || [];\n    prev.forEach(sect => sect.get('properties').reset());\n  }\n}\n","import { isFunction, isString } from 'underscore';\n\nconst getOptions = items => items.map(item => ({ id: item }));\n\nexport default class PropertyFactory {\n  constructor() {\n    this.typeNumber = 'number';\n    this.typeColor = 'color';\n    this.typeRadio = 'radio';\n    this.typeSelect = 'select';\n    this.typeFile = 'file';\n    this.typeSlider = 'slider';\n    this.typeComposite = 'composite';\n    this.typeStack = 'stack';\n    this.unitsSize = ['px', '%', 'em', 'rem', 'vh', 'vw'];\n    this.unitsSizeNoPerc = ['px', 'em', 'rem', 'vh', 'vw'];\n    this.unitsTime = ['s', 'ms'];\n    this.unitsAngle = ['deg', 'rad', 'grad'];\n    this.fixedValues = ['initial', 'inherit', 'auto'];\n    const ss = ', sans-serif';\n    const optsFlex = ['flex-start', 'flex-end', 'center'];\n    const optsFlexAlign = [...optsFlex, 'baseline', 'stretch'];\n\n    this.optsBgSize = getOptions(['auto', 'cover', 'contain']);\n    this.optsBgAttach = getOptions(['scroll', 'fixed', 'local']);\n    this.optsBgRepeat = getOptions(['repeat', 'repeat-x', 'repeat-y', 'no-repeat']);\n    this.optsWrap = getOptions(['nowrap', 'wrap', 'wrap-reverse']);\n    this.optsOverflow = getOptions(['visible', 'hidden', 'scroll', 'auto']);\n    this.optsDir = getOptions(['row', 'row-reverse', 'column', 'column-reverse']);\n    this.opstDisplay = getOptions(['block', 'inline', 'inline-block', 'flex', 'none']);\n    this.optsTransitFn = getOptions(['linear', 'ease', 'ease-in', 'ease-out', 'ease-in-out']);\n    this.optsCursor = getOptions(['auto', 'pointer', 'copy', 'crosshair', 'grab', 'grabbing', 'help', 'move', 'text']);\n    this.optsFloat = getOptions(['none', 'left', 'right']);\n    this.optsPos = getOptions(['static', 'relative', 'absolute', 'fixed']);\n    this.optsTextAlign = getOptions(['left', 'center', 'right', 'justify']);\n    this.optsFlexAlign = getOptions(optsFlexAlign);\n    this.optsJustCont = getOptions([...optsFlex, 'space-between', 'space-around', 'space-evenly']);\n    this.optsAlignCont = getOptions([...optsFlex, 'space-between', 'space-around', 'stretch']);\n    this.optsAlignSelf = getOptions(['auto', ...optsFlexAlign]);\n    this.optsTransitProp = getOptions([\n      'all',\n      'width',\n      'height',\n      'background-color',\n      'transform',\n      'box-shadow',\n      'opacity',\n    ]);\n    this.optsBorderStyle = getOptions([\n      'none',\n      'solid',\n      'dotted',\n      'dashed',\n      'double',\n      'groove',\n      'ridge',\n      'inset',\n      'outset',\n    ]);\n    this.optsBgPos = getOptions([\n      'left top',\n      'left center',\n      'left bottom',\n      'right top',\n      'right center',\n      'right bottom',\n      'center top',\n      'center center',\n      'center bottom',\n    ]);\n    this.optsWeight = [\n      { id: '100', label: 'Thin' },\n      { id: '200', label: 'Extra-Light' },\n      { id: '300', label: 'Light' },\n      { id: '400', label: 'Normal' },\n      { id: '500', label: 'Medium' },\n      { id: '600', label: 'Semi-Bold' },\n      { id: '700', label: 'Bold' },\n      { id: '800', label: 'Extra-Bold' },\n      { id: '900', label: 'Ultra-Bold' },\n    ];\n    this.optsShadowType = [\n      { id: '', label: 'Outside' },\n      { id: 'inset', label: 'Inside' },\n    ];\n    this.optsFonts = [\n      'Arial, Helvetica' + ss,\n      'Arial Black, Gadget' + ss,\n      'Brush Script MT' + ss,\n      'Comic Sans MS, cursive' + ss,\n      'Courier New, Courier, monospace',\n      'Georgia, serif',\n      'Helvetica' + ss,\n      'Impact, Charcoal' + ss,\n      'Lucida Sans Unicode, Lucida Grande' + ss,\n      'Tahoma, Geneva' + ss,\n      'Times New Roman, Times, serif',\n      'Trebuchet MS, Helvetica' + ss,\n      'Verdana, Geneva' + ss,\n    ].map(font => {\n      return { id: font, label: font.split(',')[0] };\n    });\n\n    // Fixed values\n    this.fixedFontSizes = [\n      'medium',\n      'xx-small',\n      'x-small',\n      'small',\n      'large',\n      'x-large',\n      'xx-large',\n      'smaller',\n      'larger',\n      'length',\n      'initial',\n      'inherit',\n    ];\n    this.fixedLetSpace = ['normal', 'initial', 'inherit'];\n    this.requireFlex = { display: ['flex'] };\n\n    this.init();\n  }\n\n  __sub(items) {\n    return () =>\n      items.map(p => {\n        if (isString(p)) return this.get(p);\n        const { extend, ...rest } = p;\n        return {\n          ...this.get(extend),\n          ...rest,\n        };\n      });\n  }\n\n  init() {\n    const { fixedValues, requireFlex, typeNumber } = this;\n    this.props = {};\n\n    // Build default built-in properties (the order, in the array here below, matters)\n    // [propertyName, propertyDefinition, extendFromProperty]\n    [\n      // Number types\n      ['text-shadow-h', { type: typeNumber, default: '0', units: this.unitsSizeNoPerc }],\n      ['top', { default: 'auto', units: this.unitsSize, fixedValues }, 'text-shadow-h'],\n      ['right', {}, 'top'],\n      ['bottom', {}, 'top'],\n      ['left', {}, 'top'],\n      ['margin-top', { default: '0' }, 'top'],\n      ['margin-right', {}, 'margin-top'],\n      ['margin-bottom', {}, 'margin-top'],\n      ['margin-left', {}, 'margin-top'],\n      ['padding-top', { min: 0 }, 'margin-top'],\n      ['padding-right', {}, 'padding-top'],\n      ['padding-bottom', {}, 'padding-top'],\n      ['padding-left', {}, 'padding-top'],\n      ['width', { min: 0 }, 'top'],\n      ['min-width', {}, 'width'],\n      ['max-width', {}, 'width'],\n      ['height', {}, 'width'],\n      ['min-height', {}, 'width'],\n      ['max-height', {}, 'width'],\n      ['flex-basis', { requiresParent: requireFlex }, 'width'],\n      ['font-size', { default: 'medium', fixedValues: this.fixedFontSizes }, 'width'],\n      ['letter-spacing', { default: 'normal', fixedValues: this.fixedLetSpace }, 'top'],\n      ['line-height', {}, 'letter-spacing'],\n      ['text-shadow-v', {}, 'text-shadow-h'],\n      ['text-shadow-blur', { min: 0 }, 'text-shadow-h'],\n      ['border-radius-c', { property: 'border-radius', fixedValues: undefined }, 'padding-top'],\n      ['border-top-left-radius', {}, 'border-radius-c'],\n      ['border-top-right-radius', {}, 'border-radius-c'],\n      ['border-bottom-left-radius', {}, 'border-radius-c'],\n      ['border-bottom-right-radius', {}, 'border-radius-c'],\n      ['border-width', { units: this.unitsSizeNoPerc }, 'border-radius-c'],\n      ['box-shadow-h', {}, 'text-shadow-h'],\n      ['box-shadow-v', {}, 'text-shadow-h'],\n      ['box-shadow-blur', { default: '5px' }, 'text-shadow-blur'],\n      ['box-shadow-spread', {}, 'text-shadow-h'],\n      ['transition-duration', { default: '2s', units: this.unitsTime }, 'border-radius-c'],\n      ['perspective', {}, 'border-radius-c'],\n      ['transform-rotate-x', { functionName: 'rotateX', units: this.unitsAngle, default: '0', type: typeNumber }],\n      ['transform-rotate-y', { functionName: 'rotateY' }, 'transform-rotate-x'],\n      ['transform-rotate-z', { functionName: 'rotateZ' }, 'transform-rotate-x'],\n      ['transform-scale-x', { default: '1', functionName: 'scaleX', units: undefined }, 'transform-rotate-x'],\n      ['transform-scale-y', { functionName: 'scaleY' }, 'transform-scale-x'],\n      ['transform-scale-z', { functionName: 'scaleZ' }, 'transform-scale-x'],\n      ['order', { type: typeNumber, default: '0', requiresParent: requireFlex }],\n      ['flex-grow', {}, 'order'],\n      ['flex-shrink', { default: '1' }, 'order'],\n\n      // Radio types\n      ['float', { type: this.typeRadio, default: 'none', options: this.optsFloat }],\n      ['position', { default: 'static', options: this.optsPos }, 'float'],\n      ['text-align', { default: 'left', options: this.optsTextAlign }, 'float'],\n\n      // Color types\n      ['color', { type: this.typeColor, default: 'black' }],\n      ['text-shadow-color', {}, 'color'],\n      ['border-color', {}, 'color'],\n      ['box-shadow-color', {}, 'color'],\n      ['background-color', { default: 'none' }, 'color'],\n\n      // File type\n      ['background-image', { type: this.typeFile, functionName: 'url', default: 'none', full: true }],\n\n      // Slider type\n      ['opacity', { type: this.typeSlider, default: '1', min: 0, max: 1, step: 0.01 }],\n\n      // Select types\n      ['display', { type: this.typeSelect, default: 'block', options: this.opstDisplay }],\n      ['flex-direction', { default: 'row', options: this.optsDir, requires: requireFlex }, 'display'],\n      ['flex-wrap', { default: 'nowrap', options: this.optsWrap }, 'flex-direction'],\n      ['justify-content', { default: 'flex-start', options: this.optsJustCont }, 'flex-wrap'],\n      ['align-items', { default: 'stretch', options: this.optsFlexAlign }, 'flex-wrap'],\n      ['align-content', { options: this.optsAlignCont }, 'align-items'],\n      ['align-self', { default: 'auto', options: this.optsAlignSelf, requiresParent: requireFlex }, 'display'],\n      ['font-family', { default: 'Arial, Helvetica, sans-serif', options: this.optsFonts }, 'display'],\n      ['font-weight', { default: '400', options: this.optsWeight }, 'display'],\n      ['border-style', { default: 'solid', options: this.optsBorderStyle }, 'display'],\n      ['box-shadow-type', { default: '', options: this.optsShadowType }, 'display'],\n      ['background-repeat', { default: 'repeat', options: this.optsBgRepeat }, 'display'],\n      ['background-position', { default: 'left top', options: this.optsBgPos }, 'display'],\n      ['background-attachment', { default: 'scroll', options: this.optsBgAttach }, 'display'],\n      ['background-size', { default: 'auto', options: this.optsBgSize }, 'display'],\n      ['transition-property', { default: 'width', options: this.optsTransitProp }, 'display'],\n      ['transition-timing-function', { default: 'ease', options: this.optsTransitFn }, 'display'],\n      ['cursor', { default: 'auto', options: this.optsCursor }, 'display'],\n      ['overflow', { default: 'visible', options: this.optsOverflow }, 'display'],\n      ['overflow-x', {}, 'overflow'],\n      ['overflow-y', {}, 'overflow'],\n\n      // Composite types\n      [\n        'margin',\n        {\n          type: this.typeComposite,\n          properties: this.__sub([\n            { extend: 'margin-top', id: 'margin-top-sub' },\n            { extend: 'margin-right', id: 'margin-right-sub' },\n            { extend: 'margin-bottom', id: 'margin-bottom-sub' },\n            { extend: 'margin-left', id: 'margin-left-sub' },\n          ]),\n        },\n      ],\n      [\n        'padding',\n        {\n          properties: this.__sub([\n            { extend: 'padding-top', id: 'padding-top-sub' },\n            { extend: 'padding-right', id: 'padding-right-sub' },\n            { extend: 'padding-bottom', id: 'padding-bottom-sub' },\n            { extend: 'padding-left', id: 'padding-left-sub' },\n          ]),\n        },\n        'margin',\n      ],\n      [\n        'border',\n        {\n          properties: this.__sub([\n            { extend: 'border-width', id: 'border-width-sub' },\n            { extend: 'border-style', id: 'border-style-sub' },\n            { extend: 'border-color', id: 'border-color-sub' },\n          ]),\n        },\n        'margin',\n      ],\n      [\n        'border-radius',\n        {\n          properties: this.__sub([\n            { extend: 'border-top-left-radius', id: 'border-top-left-radius-sub' },\n            { extend: 'border-top-right-radius', id: 'border-top-right-radius-sub' },\n            { extend: 'border-bottom-right-radius', id: 'border-bottom-right-radius-sub' },\n            { extend: 'border-bottom-left-radius', id: 'border-bottom-left-radius-sub' },\n          ]),\n        },\n        'margin',\n      ],\n      [\n        'transform',\n        {\n          properties: this.__sub([\n            'transform-rotate-x',\n            'transform-rotate-y',\n            'transform-rotate-z',\n            'transform-scale-x',\n            'transform-scale-y',\n            'transform-scale-z',\n          ]),\n        },\n        'margin',\n      ],\n\n      // Stack types\n      [\n        'transition',\n        {\n          type: this.typeStack,\n          properties: this.__sub([\n            { extend: 'transition-property', id: 'transition-property-sub' },\n            { extend: 'transition-duration', id: 'transition-duration-sub' },\n            { extend: 'transition-timing-function', id: 'transition-timing-function-sub' },\n          ]),\n        },\n      ],\n      [\n        'box-shadow',\n        {\n          preview: true,\n          layerLabel: (l, { values }) => {\n            const x = values['box-shadow-h'];\n            const y = values['box-shadow-v'];\n            const blur = values['box-shadow-blur'];\n            const spread = values['box-shadow-spread'];\n            return `${x} ${y} ${blur} ${spread}`;\n          },\n          properties: this.__sub([\n            'box-shadow-h',\n            'box-shadow-v',\n            'box-shadow-blur',\n            'box-shadow-spread',\n            'box-shadow-color',\n            'box-shadow-type',\n          ]),\n        },\n        'transition',\n      ],\n      [\n        'text-shadow',\n        {\n          default: 'none',\n          layerLabel: (l, { values }) => {\n            const x = values['text-shadow-h'];\n            const y = values['text-shadow-v'];\n            const blur = values['text-shadow-blur'];\n            return `${x} ${y} ${blur}`;\n          },\n          properties: this.__sub(['text-shadow-h', 'text-shadow-v', 'text-shadow-blur', 'text-shadow-color']),\n        },\n        'box-shadow',\n      ],\n      [\n        'background',\n        {\n          detached: true,\n          layerLabel: (l, { values }) => {\n            const repeat = values['background-repeat-sub'];\n            const pos = values['background-position-sub'];\n            const att = values['background-attachment-sub'];\n            const size = values['background-size-sub'];\n            return `${repeat} ${pos} ${att} ${size}`;\n          },\n          properties: this.__sub([\n            { extend: 'background-image', id: 'background-image-sub' },\n            { extend: 'background-repeat', id: 'background-repeat-sub' },\n            { extend: 'background-position', id: 'background-position-sub' },\n            { extend: 'background-attachment', id: 'background-attachment-sub' },\n            { extend: 'background-size', id: 'background-size-sub' },\n          ]),\n        },\n        'box-shadow',\n      ],\n    ].forEach(([prop, def, from]) => {\n      this.add(prop, def || {}, { from });\n    });\n\n    return this;\n  }\n\n  add(property, def = {}, opts = {}) {\n    const from = opts.from || '';\n    const fromRes = this.props[from || property] || {};\n    const result = { ...fromRes, property, ...def };\n    if (result.properties && isFunction(result.properties)) {\n      result.properties = result.properties();\n    }\n    this.props[property] = result;\n    return result;\n  }\n\n  get(prop) {\n    return this.props[prop] || null;\n  }\n\n  /**\n   * Build props object by their name\n   * @param  {Array<string>|string} props Array of properties name\n   * @return {Array<Object>}\n   */\n  build(props) {\n    const result = [];\n    const propsArr = isString(props) ? [props] : props;\n\n    propsArr.forEach(prop => {\n      result.push(this.get(prop) || { property: prop });\n    });\n\n    return result;\n  }\n}\n","import { View } from 'common';\nimport html from 'utils/html';\nimport PropertiesView from './PropertiesView';\n\nexport default class SectorView extends View {\n  template({ pfx, label }) {\n    const icons = this.em?.getConfig('icons');\n    const iconCaret = icons?.caret || '';\n    const clsPfx = `${pfx}sector-`;\n\n    return html`\n      <div class=\"${clsPfx}title\" data-sector-title>\n        <div class=\"${clsPfx}caret\">$${iconCaret}</div>\n        <div class=\"${clsPfx}label\">${label}</div>\n      </div>\n    `;\n  }\n\n  events() {\n    return {\n      'click [data-sector-title]': 'toggle',\n    };\n  }\n\n  initialize(o) {\n    const config = o.config || {};\n    const { model } = this;\n    const { em } = config;\n    this.config = config;\n    this.em = em;\n    this.pfx = config.stylePrefix || '';\n    this.listenTo(model, 'destroy remove', this.remove);\n    this.listenTo(model, 'change:open', this.updateOpen);\n    this.listenTo(model, 'change:visible', this.updateVisibility);\n  }\n\n  updateOpen() {\n    const { $el, model, pfx } = this;\n    const isOpen = model.isOpen();\n    $el[isOpen ? 'addClass' : 'removeClass'](`${pfx}open`);\n    this.getPropertiesEl().style.display = isOpen ? '' : 'none';\n  }\n\n  updateVisibility() {\n    this.el.style.display = this.model.isVisible() ? '' : 'none';\n  }\n\n  getPropertiesEl() {\n    const { $el, pfx } = this;\n    return $el.find(`.${pfx}properties`).get(0);\n  }\n\n  toggle() {\n    const { model } = this;\n    model.setOpen(!model.get('open'));\n  }\n\n  renderProperties() {\n    const { model, config } = this;\n    const objs = model.get('properties');\n\n    if (objs) {\n      const view = new PropertiesView({ collection: objs, config });\n      this.$el.append(view.render().el);\n    }\n  }\n\n  render() {\n    const { pfx, model, $el } = this;\n    const id = model.getId();\n    const label = model.getName();\n    $el.html(this.template({ pfx, label }));\n    this.renderProperties();\n    $el.attr('class', `${pfx}sector ${pfx}sector__${id} no-select`);\n    this.updateOpen();\n    return this;\n  }\n}\n","import { View } from 'common';\nimport { appendAtIndex } from 'utils/dom';\nimport SectorView from './SectorView';\n\nexport default class SectorsView extends View {\n  initialize(o = {}) {\n    const { module, config = {} } = o;\n    const coll = this.collection;\n    this.pfx = config.stylePrefix || '';\n    this.ppfx = config.pStylePrefix || '';\n    this.config = config;\n    this.module = module;\n    this.listenTo(coll, 'add', this.addTo);\n    this.listenTo(coll, 'reset', this.render);\n  }\n\n  remove() {\n    View.prototype.remove.apply(this, arguments);\n    ['config', 'module', 'em'].forEach(i => (this[i] = {}));\n  }\n\n  addTo(model, c, opts = {}) {\n    this.addToCollection(model, null, opts);\n  }\n\n  addToCollection(model, fragmentEl, opts = {}) {\n    const { config, el } = this;\n    const appendTo = fragmentEl || el;\n    const rendered = new SectorView({ model, config }).render().el;\n    appendAtIndex(appendTo, rendered, opts.at);\n\n    return rendered;\n  }\n\n  render() {\n    const { $el, pfx, ppfx } = this;\n    $el.empty();\n    const frag = document.createDocumentFragment();\n    this.collection.each(model => this.addToCollection(model, frag));\n    $el.append(frag);\n    $el.addClass(`${pfx}sectors ${ppfx}one-bg ${ppfx}two-color`);\n    return this;\n  }\n}\n","/**\n * With Style Manager you build categories (called sectors) of CSS properties which could be used to customize the style of components.\n * You can customize the initial state of the module from the editor initialization, by passing the following [Configuration Object](https://github.com/artf/grapesjs/blob/master/src/style_manager/config/config.js)\n * ```js\n * const editor = grapesjs.init({\n *  styleManager: {\n *    // options\n *  }\n * })\n * ```\n *\n * Once the editor is instantiated you can use its API and listen to its events. Before using these methods, you should get the module from the instance.\n *\n * ```js\n * // Listen to events\n * editor.on('style:sector:add', (sector) => { ... });\n *\n * // Use the API\n * const styleManager = editor.StyleManager;\n * styleManager.addSector(...);\n * ```\n * ## Available Events\n * * `style:sector:add` - Sector added. The [Sector] is passed as an argument to the callback.\n * * `style:sector:remove` - Sector removed. The [Sector] is passed as an argument to the callback.\n * * `style:sector:update` - Sector updated. The [Sector] and the object containing changes are passed as arguments to the callback.\n * * `style:property:add` - Property added. The [Property] is passed as an argument to the callback.\n * * `style:property:remove` - Property removed. The [Property] is passed as an argument to the callback.\n * * `style:property:update` - Property updated. The [Property] and the object containing changes are passed as arguments to the callback.\n * * `style:target` - Target selection changed. The target (or `null` in case the target is deselected) is passed as an argument to the callback.\n * <!--\n * * `styleManager:update:target` - The target (Component or CSSRule) is changed\n * * `styleManager:change` - Triggered on style property change from new selected component, the view of the property is passed as an argument to the callback\n * * `styleManager:change:{propertyName}` - As above but for a specific style property\n * -->\n *\n * ## Methods\n * * [getConfig](#getconfig)\n * * [addSector](#addsector)\n * * [getSector](#getsector)\n * * [getSectors](#getsectors)\n * * [removeSector](#removesector)\n * * [addProperty](#addproperty)\n * * [getProperty](#getproperty)\n * * [getProperties](#getproperties)\n * * [removeProperty](#removeproperty)\n * * [select](#select)\n * * [getSelected](#getselected)\n * * [getSelectedAll](#getselectedall)\n * * [getSelectedParents](#getselectedparents)\n * * [addStyleTargets](#addstyletargets)\n * * [getBuiltIn](#getbuiltin)\n * * [getBuiltInAll](#getbuiltinall)\n * * [addBuiltIn](#addbuiltin)\n * * [addType](#addtype)\n * * [getType](#gettype)\n * * [getTypes](#gettypes)\n *\n * [Sector]: sector.html\n * [CssRule]: css_rule.html\n * [Component]: component.html\n * [Property]: property.html\n *\n * @module StyleManager\n */\n\nimport { isUndefined, isArray, isString, debounce, bindAll } from 'underscore';\nimport { isComponent } from 'utils/mixins';\nimport Module from 'common/module';\nimport { Model } from 'common';\nimport defaults from './config/config';\nimport Sector from './model/Sector';\nimport Sectors from './model/Sectors';\nimport Properties from './model/Properties';\nimport PropertyFactory from './model/PropertyFactory';\nimport SectorsView from './view/SectorsView';\n\nexport const evAll = 'style';\nexport const evPfx = `${evAll}:`;\nexport const evSector = `${evPfx}sector`;\nexport const evSectorAdd = `${evSector}:add`;\nexport const evSectorRemove = `${evSector}:remove`;\nexport const evSectorUpdate = `${evSector}:update`;\nexport const evProp = `${evPfx}property`;\nexport const evPropAdd = `${evProp}:add`;\nexport const evPropRemove = `${evProp}:remove`;\nexport const evPropUp = `${evProp}:update`;\nexport const evLayerSelect = `${evPfx}layer:select`;\nexport const evTarget = `${evPfx}target`;\nexport const evCustom = `${evPfx}custom`;\n\nconst propDef = value => value || value === 0;\n\nexport default () => {\n  let properties;\n  var sectors, SectView;\n\n  return {\n    ...Module,\n\n    Sector,\n\n    events: {\n      all: evAll,\n      sectorAdd: evSectorAdd,\n      sectorRemove: evSectorRemove,\n      sectorUpdate: evSectorUpdate,\n      propertyAdd: evPropAdd,\n      propertyRemove: evPropRemove,\n      propertyUpdate: evPropUp,\n      layerSelect: evLayerSelect,\n      target: evTarget,\n      custom: evCustom,\n    },\n\n    name: 'StyleManager',\n\n    /**\n     * Get configuration object\n     * @name getConfig\n     * @function\n     * @return {Object}\n     */\n\n    /**\n     * Initialize module. Automatically called with a new instance of the editor\n     * @param {Object} config Configurations\n     * @private\n     */\n    init(config = {}) {\n      bindAll(this, '__clearStateTarget');\n      this.__initConfig(defaults, config);\n      const c = this.config;\n      const { em } = c;\n      const ppfx = c.pStylePrefix;\n      if (ppfx) c.stylePrefix = ppfx + c.stylePrefix;\n      this.builtIn = new PropertyFactory();\n      properties = new Properties([], { em, module: this });\n      sectors = new Sectors([], { ...c, module: this });\n      const model = new Model({ targets: [] });\n      this.model = model;\n      this.__listenAdd(sectors, evSectorAdd);\n      this.__listenRemove(sectors, evSectorRemove);\n      this.__listenUpdate(sectors, evSectorUpdate);\n\n      // Triggers for the selection refresh and properties\n      const ev = 'component:toggled component:update:classes change:state change:device frame:resized selector:type';\n      const upAll = debounce(() => this.__upSel());\n      model.listenTo(em, ev, upAll);\n      // Clear state target on any component selection change, without debounce (#4208)\n      model.listenTo(em, 'component:toggled', this.__clearStateTarget);\n\n      // Triggers only for properties (avoid selection refresh)\n      const upProps = debounce(() => {\n        this.__upProps();\n        this.__trgCustom();\n      });\n      model.listenTo(em, 'styleable:change undo redo', upProps);\n\n      // Triggers only custom event\n      const trgCustom = debounce(() => this.__trgCustom());\n      model.listenTo(em, `${evLayerSelect} ${evTarget}`, trgCustom);\n\n      // Other listeners\n      model.on('change:lastTarget', () => em.trigger(evTarget, this.getSelected()));\n\n      return this;\n    },\n\n    __upSel() {\n      this.select(this.em.getSelectedAll());\n    },\n\n    __trgCustom(opts = {}) {\n      this.__ctn = this.__ctn || opts.container;\n      this.em.trigger(this.events.custom, { container: this.__ctn });\n    },\n\n    __trgEv(event, ...data) {\n      this.em.trigger(event, ...data);\n    },\n\n    __clearStateTarget() {\n      const { em } = this;\n      const stateTarget = this.__getStateTarget();\n      stateTarget &&\n        em?.skip(() => {\n          em.get('CssComposer').remove(stateTarget);\n          this.model.set({ stateTarget: null });\n        });\n    },\n\n    onLoad() {\n      // Use silent as sectors' view will be created and rendered on StyleManager.render\n      sectors.add(this.config.sectors, { silent: true });\n    },\n\n    postRender() {\n      this.__appendTo();\n    },\n\n    /**\n     * Add new sector. If the sector with the same id already exists, that one will be returned.\n     * @param {String} id Sector id\n     * @param {Object} sector Sector definition. Check the [available properties](sector.html#properties)\n     * @param {Object} [options={}] Options\n     * @param {Number} [options.at] Position index (by default, will be appended at the end).\n     * @returns {[Sector]} Added Sector\n     * @example\n     * const sector = styleManager.addSector('mySector',{\n     *   name: 'My sector',\n     *   open: true,\n     *   properties: [{ name: 'My property'}]\n     * }, { at: 0 });\n     * // With `at: 0` we place the new sector at the beginning of the list\n     * */\n    addSector(id, sector, options = {}) {\n      let result = this.getSector(id);\n\n      if (!result) {\n        sector.id = id;\n        result = sectors.add(sector, options);\n      }\n\n      return result;\n    },\n\n    /**\n     * Get sector by id.\n     * @param {String} id  Sector id\n     * @returns {[Sector]|null}\n     * @example\n     * const sector = styleManager.getSector('mySector');\n     * */\n    getSector(id, opts = {}) {\n      const res = sectors.where({ id })[0];\n      !res && opts.warn && this._logNoSector(id);\n      return res || null;\n    },\n\n    /**\n     * Get all sectors.\n     * @param {Object} [opts={}] Options\n     * @param {Boolean} [opts.visible] Returns only visible sectors\n     * @returns {Array<[Sector]>}\n     * @example\n     * const sectors = styleManager.getSectors();\n     * */\n    getSectors(opts = {}) {\n      const res = sectors && sectors.models ? (opts.array ? [...sectors.models] : sectors) : [];\n      return opts.visible ? res.filter(s => s.isVisible()) : res;\n    },\n\n    /**\n     * Remove sector by id.\n     * @param  {String} id Sector id\n     * @returns {[Sector]} Removed sector\n     * @example\n     * const removed = styleManager.removeSector('mySector');\n     */\n    removeSector(id) {\n      return this.getSectors().remove(this.getSector(id, { warn: 1 }));\n    },\n\n    /**\n     * Add new property to the sector.\n     * @param {String} sectorId Sector id.\n     * @param {Object} property Property definition. Check the [base available properties](property.html#properties) + others based on the `type` of your property.\n     * @param {Object} [opts={}] Options\n     * @param {Number} [opts.at] Position index (by default, will be appended at the end).\n     * @returns {[Property]|null} Added property or `null` in case the sector doesn't exist.\n     * @example\n     * const property = styleManager.addProperty('mySector', {\n     *   label: 'Minimum height',\n     *   property: 'min-height',\n     *   type: 'select',\n     *   default: '100px',\n     *   options: [\n     *    { id: '100px', label: '100' },\n     *    { id: '200px', label: '200' },\n     *   ],\n     * }, { at: 0 });\n     */\n    addProperty(sectorId, property, opts = {}) {\n      const sector = this.getSector(sectorId, { warn: 1 });\n      let prop = null;\n      if (sector) prop = sector.addProperty(property, opts);\n\n      return prop;\n    },\n\n    /**\n     * Get the property.\n     * @param {String} sectorId Sector id.\n     * @param {String} id Property id.\n     * @returns {[Property]|null}\n     * @example\n     * const property = styleManager.getProperty('mySector', 'min-height');\n     */\n    getProperty(sectorId, id) {\n      const sector = this.getSector(sectorId, { warn: 1 });\n      let prop;\n\n      if (sector) {\n        prop = sector.get('properties').filter(prop => prop.get('property') === id || prop.get('id') === id)[0];\n      }\n\n      return prop || null;\n    },\n\n    /**\n     * Get all properties of the sector.\n     * @param {String} sectorId Sector id.\n     * @returns {Collection<[Property]>|null} Collection of properties\n     * @example\n     * const properties = styleManager.getProperties('mySector');\n     */\n    getProperties(sectorId) {\n      let props = null;\n      const sector = this.getSector(sectorId, { warn: 1 });\n      if (sector) props = sector.get('properties');\n\n      return props;\n    },\n\n    /**\n     * Remove the property.\n     * @param {String} sectorId Sector id.\n     * @param {String} id Property id.\n     * @returns {[Property]|null} Removed property\n     * @example\n     * const property = styleManager.removeProperty('mySector', 'min-height');\n     */\n    removeProperty(sectorId, id) {\n      const props = this.getProperties(sectorId);\n      return props ? props.remove(this.getProperty(sectorId, id)) : null;\n    },\n\n    /**\n     * Select new target.\n     * The target could be a Component, CSSRule, or a CSS selector string.\n     * @param {[Component]|[CSSRule]|String} target\n     * @returns {Array<[Component]|[CSSRule]>} Array containing selected Components or CSSRules\n     * @example\n     * // Select the first button in the current page\n     * const wrapperCmp = editor.Pages.getSelected().getMainComponent();\n     * const btnCmp = wrapperCmp.find('button')[0];\n     * btnCmp && styleManager.select(btnCmp);\n     *\n     * // Set as a target the CSS selector\n     * styleManager.select('.btn > span');\n     */\n    select(target, opts = {}) {\n      const { em } = this;\n      const trgs = isArray(target) ? target : [target];\n      const { stylable } = opts;\n      const cssc = em.get('CssComposer');\n      let targets = [];\n\n      trgs.filter(Boolean).forEach(target => {\n        let model = target;\n\n        if (isString(target)) {\n          const rule = cssc.getRule(target) || cssc.setRule(target);\n          !isUndefined(stylable) && rule.set({ stylable });\n          model = rule;\n        }\n\n        targets.push(model);\n      });\n\n      const component = opts.component || targets.filter(t => isComponent(t)).reverse()[0];\n      targets = targets.map(t => this.getModelToStyle(t));\n      const state = em.getState();\n      const lastTarget = targets.slice().reverse()[0];\n      const lastTargetParents = this.getParentRules(lastTarget, { state, component });\n      let stateTarget = this.__getStateTarget();\n\n      // Handle the creation and update of the state rule, if enabled.\n      em.skip(() => {\n        if (state && lastTarget?.getState?.()) {\n          const style = lastTarget.getStyle();\n          if (!stateTarget) {\n            stateTarget = cssc.getAll().add({ selectors: 'gjs-selected', style, shallow: true, important: true });\n          } else {\n            stateTarget.setStyle(style);\n          }\n        } else if (stateTarget) {\n          cssc.remove(stateTarget);\n          stateTarget = null;\n        }\n      });\n\n      this.model.set({ targets, lastTarget, lastTargetParents, stateTarget, component });\n      this.__upProps(opts);\n\n      return targets;\n    },\n\n    /**\n     * Get the last selected target.\n     * By default, the Style Manager shows styles of the last selected target.\n     * @returns {[Component]|[CSSRule]|null}\n     */\n    getSelected() {\n      return this.model.get('lastTarget') || null;\n    },\n\n    /**\n     * Get the array of selected targets.\n     * @returns {Array<[Component]|[CSSRule]>}\n     */\n    getSelectedAll() {\n      return this.model.get('targets');\n    },\n\n    /**\n     * Get parent rules of the last selected target.\n     * @returns {Array<[CSSRule]>}\n     */\n    getSelectedParents() {\n      return this.model.get('lastTargetParents') || [];\n    },\n\n    __getStateTarget() {\n      return this.model.get('stateTarget') || null;\n    },\n\n    /**\n     * Update selected targets with a custom style.\n     * @param {Object} style Style object\n     * @param {Object} [opts={}] Options\n     * @example\n     * styleManager.addStyleTargets({ color: 'red' });\n     */\n    addStyleTargets(style, opts) {\n      this.getSelectedAll().map(t => t.addStyle(style, opts));\n\n      // Update state rule\n      const target = this.getSelected();\n      const targetState = this.__getStateTarget();\n      target && targetState?.setStyle(target.getStyle(), opts);\n    },\n\n    /**\n     * Return built-in property definition\n     * @param {String} prop Property name.\n     * @returns {Object|null} Property definition.\n     * @example\n     * const widthPropDefinition = styleManager.getBuiltIn('width');\n     */\n    getBuiltIn(prop) {\n      return this.builtIn.get(prop);\n    },\n\n    /**\n     * Get all the available built-in property definitions.\n     * @returns {Object}\n     */\n    getBuiltInAll() {\n      return this.builtIn.props;\n    },\n\n    /**\n     * Add built-in property definition.\n     * If the property exists already, it will extend it.\n     * @param {String} prop Property name.\n     * @param {Object} definition Property definition.\n     * @returns {Object} Added property definition.\n     * @example\n     * const sector = styleManager.addBuiltIn('new-property', {\n     *  type: 'select',\n     *  default: 'value1',\n     *  options: [{ id: 'value1', label: 'Some label' }, ...],\n     * })\n     */\n    addBuiltIn(prop, definition) {\n      return this.builtIn.add(prop, definition);\n    },\n\n    /**\n     * Get what to style inside Style Manager. If you select the component\n     * without classes the entity is the Component itself and all changes will\n     * go inside its 'style' property. Otherwise, if the selected component has\n     * one or more classes, the function will return the corresponding CSS Rule\n     * @param  {Model} model\n     * @return {Model}\n     * @private\n     */\n    getModelToStyle(model, options = {}) {\n      const { em } = this;\n      const { skipAdd } = options;\n\n      if (em && model?.toHTML) {\n        const config = em.getConfig();\n        const um = em.get('UndoManager');\n        const cssC = em.get('CssComposer');\n        const sm = em.get('SelectorManager');\n        const smConf = sm ? sm.getConfig() : {};\n        const state = !config.devicePreviewMode ? em.get('state') : '';\n        const classes = model.get('classes');\n        const valid = classes.getStyleable();\n        const hasClasses = valid.length;\n        const useClasses = !smConf.componentFirst || options.useClasses;\n        const addOpts = { noCount: 1 };\n        const opts = { state, addOpts };\n        let rule;\n\n        // I stop undo manager here as after adding the CSSRule (generally after\n        // selecting the component) and calling undo() it will remove the rule from\n        // the collection, therefore updating it in style manager will not affect it\n        // #268\n        um.stop();\n\n        if (hasClasses && useClasses) {\n          const deviceW = em.getCurrentMedia();\n          rule = cssC.get(valid, state, deviceW);\n\n          if (!rule && !skipAdd) {\n            rule = cssC.add(valid, state, deviceW, {}, addOpts);\n          }\n        } else if (config.avoidInlineStyle) {\n          const id = model.getId();\n          rule = cssC.getIdRule(id, opts);\n          !rule && !skipAdd && (rule = cssC.setIdRule(id, {}, opts));\n          if (model.is('wrapper')) rule.set('wrapper', 1, addOpts);\n        }\n\n        rule && (model = rule);\n        um.start();\n      }\n\n      return model;\n    },\n\n    getParentRules(target, { state, component } = {}) {\n      const { em } = this;\n      let result = [];\n\n      if (em && target) {\n        const sel = component;\n        const cssC = em.get('CssComposer');\n        const cssGen = em.get('CodeManager').getGenerator('css');\n        const cmp = target.toHTML ? target : target.getComponent();\n        const optsSel = { combination: true, array: true };\n        let cmpRules = [];\n        let otherRules = [];\n        let rules = [];\n\n        // Componente related rule\n        if (cmp) {\n          cmpRules = cssC.getRules(`#${cmp.getId()}`);\n          otherRules = sel ? cssC.getRules(sel.getSelectors().getFullName(optsSel)) : [];\n          rules = otherRules.concat(cmpRules);\n        } else {\n          cmpRules = sel ? cssC.getRules(`#${sel.getId()}`) : [];\n          otherRules = cssC.getRules(target.getSelectors().getFullName(optsSel));\n          rules = cmpRules.concat(otherRules);\n        }\n\n        const all = rules\n          .filter(rule => (!isUndefined(state) ? rule.get('state') === state : 1))\n          .sort(cssGen.sortRules)\n          .reverse();\n\n        // Slice removes rules not related to the current device\n        result = all.slice(all.indexOf(target) + 1);\n      }\n\n      return result;\n    },\n\n    /**\n     * Add new property type\n     * @param {string} id Type ID\n     * @param {Object} definition Definition of the type.\n     * @example\n     * styleManager.addType('my-custom-prop', {\n     *    // Create UI\n     *    create({ props, change }) {\n     *      const el = document.createElement('div');\n     *      el.innerHTML = '<input type=\"range\" class=\"my-input\" min=\"10\" max=\"50\"/>';\n     *      const inputEl = el.querySelector('.my-input');\n     *      inputEl.addEventListener('change', event => change({ event }));\n     *      inputEl.addEventListener('input', event => change({ event, partial: true }));\n     *      return el;\n     *    },\n     *    // Propagate UI changes up to the targets\n     *    emit({ props, updateStyle }, { event, partial }) {\n     *      const { value } = event.target;\n     *      updateStyle(`${value}px`, { partial });\n     *    },\n     *    // Update UI (eg. when the target is changed)\n     *    update({ value, el }) {\n     *      el.querySelector('.my-input').value = parseInt(value, 10);\n     *    },\n     *    // Clean the memory from side effects if necessary (eg. global event listeners, etc.)\n     *    destroy() {}\n     *})\n     */\n    addType(id, definition) {\n      properties.addType(id, definition);\n    },\n\n    /**\n     * Get type\n     * @param {string} id Type ID\n     * @return {Object} Type definition\n     */\n    getType(id) {\n      return properties.getType(id);\n    },\n\n    /**\n     * Get all types\n     * @return {Array}\n     */\n    getTypes() {\n      return properties.getTypes();\n    },\n\n    /**\n     * Create new UI property from type (Experimental)\n     * @param {string} id Type ID\n     * @param  {Object} [options={}] Options\n     * @param  {Object} [options.model={}] Custom model object\n     * @param  {Object} [options.view={}] Custom view object\n     * @return {PropertyView}\n     * @private\n     * @example\n     * const propView = styleManager.createType('number', {\n     *  model: {units: ['px', 'rem']}\n     * });\n     * propView.render();\n     * propView.model.on('change:value', ...);\n     * someContainer.appendChild(propView.el);\n     */\n    createType(id, { model = {}, view = {} } = {}) {\n      const { config } = this;\n      const type = this.getType(id);\n\n      if (type) {\n        return new type.view({\n          model: new type.model(model),\n          config,\n          ...view,\n        });\n      }\n    },\n\n    /**\n     * Render sectors and properties\n     * @return  {HTMLElement}\n     * @private\n     * */\n    render() {\n      const { config, em } = this;\n      const el = SectView && SectView.el;\n      SectView = new SectorsView({\n        el,\n        em,\n        config,\n        collection: sectors,\n        module: this,\n      });\n      return SectView.render().el;\n    },\n\n    _logNoSector(sectorId) {\n      const { em } = this;\n      em && em.logWarning(`'${sectorId}' sector not found`);\n    },\n\n    __upProps(opts) {\n      const lastTarget = this.getSelected();\n      if (!lastTarget) return;\n\n      const component = this.model.get('component');\n      const lastTargetParents = this.getSelectedParents();\n      const style = lastTarget.getStyle();\n      const parentStyles = lastTargetParents.map(p => ({\n        target: p,\n        style: p.getStyle(),\n      }));\n\n      sectors.map(sector => {\n        sector.getProperties().map(prop => {\n          this.__upProp(prop, style, parentStyles, opts);\n        });\n      });\n\n      // Update sectors/properties visibility\n      sectors.forEach(sector => {\n        const props = sector.getProperties();\n        props.forEach(prop => {\n          const isVisible = prop.__checkVisibility({ target: lastTarget, component, sectors });\n          prop.set('visible', isVisible);\n        });\n        const sectorVisible = props.some(p => p.isVisible());\n        sector.set('visible', sectorVisible);\n      });\n    },\n\n    __upProp(prop, style, parentStyles, opts) {\n      const name = prop.getName();\n      const value = style[name];\n      const hasVal = propDef(value);\n      const isStack = prop.getType() === 'stack';\n      const isComposite = prop.getType() === 'composite';\n      const opt = { ...opts, __up: true };\n      const canUpdate = !isComposite && !isStack;\n      let newLayers = isStack ? prop.__getLayersFromStyle(style) : [];\n      let newProps = isComposite ? prop.__getPropsFromStyle(style) : {};\n      let newValue = hasVal ? value : null;\n      let parentTarget = null;\n\n      if ((isStack && newLayers === null) || (isComposite && newProps === null)) {\n        const method = isStack ? '__getLayersFromStyle' : '__getPropsFromStyle';\n        const parentItem = parentStyles.filter(p => prop[method](p.style) !== null)[0];\n\n        if (parentItem) {\n          newValue = parentItem.style[name];\n          parentTarget = parentItem.target;\n          const val = prop[method](parentItem.style);\n          if (isStack) {\n            newLayers = val;\n          } else {\n            newProps = val;\n          }\n        }\n      } else if (!hasVal) {\n        newValue = null;\n        const parentItem = parentStyles.filter(p => propDef(p.style[name]))[0];\n\n        if (parentItem) {\n          newValue = parentItem.style[name];\n          parentTarget = parentItem.target;\n        }\n      }\n\n      prop.__setParentTarget(parentTarget);\n      canUpdate && prop.__getFullValue() !== newValue && prop.upValue(newValue, opt);\n      isStack && prop.__setLayers(newLayers || []);\n      if (isComposite) {\n        const props = prop.getProperties();\n\n        // Detached has to be treathed as separate properties\n        if (prop.isDetached()) {\n          const newStyle = prop.__getPropsFromStyle(style, { byName: true }) || {};\n          const newParentStyles = parentStyles.map(p => ({\n            ...p,\n            style: prop.__getPropsFromStyle(p.style, { byName: true }) || {},\n          }));\n          props.map(pr => this.__upProp(pr, newStyle, newParentStyles, opts));\n        } else {\n          prop.__setProperties(newProps || {}, opt);\n          prop.getProperties().map(pr => pr.__setParentTarget(parentTarget));\n        }\n      }\n    },\n\n    destroy() {\n      [properties, sectors].forEach(coll => {\n        coll.reset();\n        coll.stopListening();\n      });\n      SectView && SectView.remove();\n      [properties, sectors, SectView].forEach(i => (i = {}));\n      this.em = {};\n      this.config = {};\n      this.builtIn = {};\n      this.model = {};\n    },\n  };\n};\n","export default {\n  stylePrefix: 'trt-',\n\n  // Specify the element to use as a container, string (query) or HTMLElement\n  // With the empty value, nothing will be rendered\n  appendTo: '',\n\n  // Default options for the target input\n  optionsTarget: [{ value: false }, { value: '_blank' }]\n};\n","import Backbone from 'backbone';\nimport { isUndefined, isString, isFunction } from 'underscore';\nimport { capitalize } from 'utils/mixins';\n\nconst $ = Backbone.$;\n\nexport default Backbone.View.extend({\n  events: {},\n  eventCapture: ['change'],\n\n  appendInput: 1,\n\n  attributes() {\n    return this.model.get('attributes');\n  },\n\n  templateLabel() {\n    const { ppfx } = this;\n    const label = this.getLabel();\n    return `<div class=\"${ppfx}label\" title=\"${label}\">${label}</div>`;\n  },\n\n  templateInput() {\n    const { clsField } = this;\n    return `<div class=\"${clsField}\" data-input></div>`;\n  },\n\n  initialize(o = {}) {\n    const { config = {} } = o;\n    const { model, eventCapture } = this;\n    const { target } = model;\n    const { type } = model.attributes;\n    this.config = config;\n    this.em = config.em;\n    this.pfx = config.stylePrefix || '';\n    this.ppfx = config.pStylePrefix || '';\n    this.target = target;\n    const { ppfx } = this;\n    this.clsField = `${ppfx}field ${ppfx}field-${type}`;\n    [\n      ['change:value', this.onValueChange],\n      ['remove', this.removeView]\n    ].forEach(([event, clb]) => {\n      model.off(event, clb);\n      this.listenTo(model, event, clb);\n    });\n    model.view = this;\n    this.listenTo(model, 'change:label', this.render);\n    this.listenTo(model, 'change:placeholder', this.rerender);\n    this.events = {};\n    eventCapture.forEach(event => (this.events[event] = 'onChange'));\n    this.delegateEvents();\n    this.init();\n  },\n\n  getClbOpts() {\n    return {\n      component: this.target,\n      trait: this.model,\n      elInput: this.getInputElem()\n    };\n  },\n\n  removeView() {\n    this.remove();\n    this.removed();\n  },\n\n  init() {},\n  removed() {},\n  onRender() {},\n  onUpdate() {},\n  onEvent() {},\n\n  /**\n   * Fires when the input is changed\n   * @private\n   */\n  onChange(event) {\n    const el = this.getInputElem();\n    if (el && !isUndefined(el.value)) {\n      this.model.set('value', el.value);\n    }\n    this.onEvent({\n      ...this.getClbOpts(),\n      event\n    });\n  },\n\n  getValueForTarget() {\n    return this.model.get('value');\n  },\n\n  setInputValue(value) {\n    const el = this.getInputElem();\n    el && (el.value = value);\n  },\n\n  /**\n   * On change callback\n   * @private\n   */\n  onValueChange(model, value, opts = {}) {\n    if (opts.fromTarget) {\n      this.setInputValue(model.get('value'));\n      this.postUpdate();\n    } else {\n      const val = this.getValueForTarget();\n      model.setTargetValue(val, opts);\n    }\n  },\n\n  /**\n   * Render label\n   * @private\n   */\n  renderLabel() {\n    const { $el, target } = this;\n    const label = this.getLabel();\n    let tpl = this.templateLabel(target);\n\n    if (this.createLabel) {\n      tpl =\n        this.createLabel({\n          label,\n          component: target,\n          trait: this\n        }) || '';\n    }\n\n    $el.find('[data-label]').append(tpl);\n  },\n\n  /**\n   * Returns label for the input\n   * @return {string}\n   * @private\n   */\n  getLabel() {\n    const { em } = this;\n    const { label, name } = this.model.attributes;\n    return (\n      em.t(`traitManager.traits.labels.${name}`) ||\n      capitalize(label || name).replace(/-/g, ' ')\n    );\n  },\n\n  /**\n   * Returns current target component\n   */\n  getComponent() {\n    return this.target;\n  },\n\n  /**\n   * Returns input element\n   * @return {HTMLElement}\n   * @private\n   */\n  getInputEl() {\n    if (!this.$input) {\n      const { em, model } = this;\n      const md = model;\n      const { name } = model.attributes;\n      const plh = md.get('placeholder') || md.get('default') || '';\n      const type = md.get('type') || 'text';\n      const min = md.get('min');\n      const max = md.get('max');\n      const value = this.getModelValue();\n      const input = $(`<input type=\"${type}\" placeholder=\"${plh}\">`);\n      const i18nAttr = em.t(`traitManager.traits.attributes.${name}`) || {};\n      input.attr(i18nAttr);\n\n      if (!isUndefined(value)) {\n        md.set({ value }, { silent: true });\n        input.prop('value', value);\n      }\n\n      if (min) {\n        input.prop('min', min);\n      }\n\n      if (max) {\n        input.prop('max', max);\n      }\n\n      this.$input = input;\n    }\n    return this.$input.get(0);\n  },\n\n  getInputElem() {\n    const { input, $input } = this;\n    return (\n      input || ($input && $input.get && $input.get(0)) || this.getElInput()\n    );\n  },\n\n  getModelValue() {\n    let value;\n    const model = this.model;\n    const target = this.target;\n    const name = model.get('name');\n\n    if (model.get('changeProp')) {\n      value = target.get(name);\n    } else {\n      const attrs = target.get('attributes');\n      value = model.get('value') || attrs[name];\n    }\n\n    return !isUndefined(value) ? value : '';\n  },\n\n  getElInput() {\n    return this.elInput;\n  },\n\n  /**\n   * Renders input\n   * @private\n   * */\n  renderField() {\n    const { $el, appendInput, model } = this;\n    const inputs = $el.find('[data-input]');\n    const el = inputs[inputs.length - 1];\n    let tpl = model.el;\n\n    if (!tpl) {\n      tpl = this.createInput\n        ? this.createInput(this.getClbOpts())\n        : this.getInputEl();\n    }\n\n    if (isString(tpl)) {\n      el.innerHTML = tpl;\n      this.elInput = el.firstChild;\n    } else {\n      appendInput ? el.appendChild(tpl) : el.insertBefore(tpl, el.firstChild);\n      this.elInput = tpl;\n    }\n\n    model.el = this.elInput;\n  },\n\n  hasLabel() {\n    const { label } = this.model.attributes;\n    return !this.noLabel && label !== false;\n  },\n\n  rerender() {\n    this.model.el = null;\n    this.render();\n  },\n\n  postUpdate() {\n    this.onUpdate(this.getClbOpts());\n  },\n\n  render() {\n    const { $el, pfx, ppfx, model } = this;\n    const { type, id } = model.attributes;\n    const hasLabel = this.hasLabel && this.hasLabel();\n    const cls = `${pfx}trait`;\n    this.$input = null;\n    let tmpl = `<div class=\"${cls} ${cls}--${type}\">\n      ${hasLabel ? `<div class=\"${ppfx}label-wrp\" data-label></div>` : ''}\n      <div class=\"${ppfx}field-wrp ${ppfx}field-wrp--${type}\" data-input>\n        ${\n          this.templateInput\n            ? isFunction(this.templateInput)\n              ? this.templateInput(this.getClbOpts())\n              : this.templateInput\n            : ''\n        }\n      </div>\n    </div>`;\n    $el.empty().append(tmpl);\n    hasLabel && this.renderLabel();\n    this.renderField();\n    this.el.className = `${cls}__wrp ${cls}__wrp-${id}`;\n    this.postUpdate();\n    this.onRender(this.getClbOpts());\n    return this;\n  }\n});\n","import DomainViews from 'domain_abstract/view/DomainViews';\nimport TraitView from './TraitView';\n\nexport default DomainViews.extend({\n  ns: 'Traits',\n  itemView: TraitView,\n  reuseView: 1,\n\n  initialize(o = {}) {\n    const config = o.config || {};\n    const pfx = config.stylePrefix || '';\n    const em = o.editor;\n    this.config = config;\n    this.em = em;\n    this.pfx = pfx;\n    this.ppfx = config.pStylePrefix || '';\n    this.className = `${pfx}traits`;\n    this.listenTo(em, 'component:toggled', this.updatedCollection);\n  },\n\n  /**\n   * Update view collection\n   * @private\n   */\n  updatedCollection() {\n    const { ppfx, className, em } = this;\n    const comp = em.getSelected();\n    this.el.className = `${className} ${ppfx}one-bg ${ppfx}two-color`;\n    this.collection = comp ? comp.get('traits') : [];\n    this.render();\n  }\n});\n","import Backbone from 'backbone';\nimport { isString, isUndefined } from 'underscore';\nimport TraitView from './TraitView';\n\nconst $ = Backbone.$;\n\nexport default TraitView.extend({\n  init() {\n    this.listenTo(this.model, 'change:options', this.rerender);\n  },\n\n  templateInput() {\n    const { ppfx, clsField } = this;\n    return `<div class=\"${clsField}\">\n      <div data-input></div>\n      <div class=\"${ppfx}sel-arrow\">\n        <div class=\"${ppfx}d-s-arrow\"></div>\n      </div>\n    </div>`;\n  },\n\n  /**\n   * Returns input element\n   * @return {HTMLElement}\n   * @private\n   */\n  getInputEl() {\n    if (!this.$input) {\n      const { model, em } = this;\n      const propName = model.get('name');\n      const opts = model.get('options') || [];\n      const values = [];\n      let input = '<select>';\n\n      opts.forEach(el => {\n        let attrs = '';\n        let name, value, style;\n\n        if (isString(el)) {\n          name = el;\n          value = el;\n        } else {\n          name = el.name || el.label || el.value;\n          value = `${isUndefined(el.value) ? el.id : el.value}`.replace(\n            /\"/g,\n            '&quot;'\n          );\n          style = el.style ? el.style.replace(/\"/g, '&quot;') : '';\n          attrs += style ? ` style=\"${style}\"` : '';\n        }\n        const resultName =\n          em.t(`traitManager.traits.options.${propName}.${value}`) || name;\n        input += `<option value=\"${value}\"${attrs}>${resultName}</option>`;\n        values.push(value);\n      });\n\n      input += '</select>';\n      this.$input = $(input);\n      const val = model.getTargetValue();\n      const valResult = values.indexOf(val) >= 0 ? val : model.get('default');\n      !isUndefined(valResult) && this.$input.val(valResult);\n    }\n\n    return this.$input.get(0);\n  }\n});\n","import { isUndefined } from 'underscore';\nimport TraitView from './TraitView';\n\nexport default TraitView.extend({\n  appendInput: 0,\n\n  templateInput() {\n    const { ppfx, clsField } = this;\n    return `<label class=\"${clsField}\" data-input>\n    <i class=\"${ppfx}chk-icon\"></i>\n  </label>`;\n  },\n\n  /**\n   * Fires when the input is changed\n   * @private\n   */\n  onChange() {\n    const value = this.getInputElem().checked;\n    this.model.set('value', this.getCheckedValue(value));\n  },\n\n  getCheckedValue(checked) {\n    let result = checked;\n    const { valueTrue, valueFalse } = this.model.attributes;\n\n    if (result && !isUndefined(valueTrue)) {\n      result = valueTrue;\n    }\n\n    if (!result && !isUndefined(valueFalse)) {\n      result = valueFalse;\n    }\n\n    return result;\n  },\n\n  /**\n   * Returns input element\n   * @return {HTMLElement}\n   * @private\n   */\n  getInputEl(...args) {\n    const toInit = !this.$input;\n    const el = TraitView.prototype.getInputEl.apply(this, args);\n\n    if (toInit) {\n      let checked, targetValue;\n      const { model, target } = this;\n      const { valueTrue, valueFalse } = model.attributes;\n      const name = model.get('name');\n\n      if (model.get('changeProp')) {\n        checked = target.get(name);\n        targetValue = checked;\n      } else {\n        targetValue = target.get('attributes')[name];\n        checked = targetValue || targetValue === '' ? !0 : !1;\n      }\n\n      if (!isUndefined(valueFalse) && targetValue === valueFalse) {\n        checked = !1;\n      }\n\n      el.checked = checked;\n    }\n\n    return el;\n  }\n});\n","import TraitView from './TraitView';\nimport { isUndefined } from 'underscore';\nimport InputNumber from 'domain_abstract/ui/InputNumber';\n\nexport default TraitView.extend({\n  getValueForTarget() {\n    const { model } = this;\n    const { value, unit } = model.attributes;\n    return !isUndefined(value) && value !== ''\n      ? value + unit\n      : model.get('default');\n  },\n\n  /**\n   * Returns input element\n   * @return {HTMLElement}\n   * @private\n   */\n  getInputEl() {\n    if (!this.input) {\n      const { ppfx, model } = this;\n      const value = this.getModelValue();\n      const inputNumber = new InputNumber({\n        contClass: `${ppfx}field-int`,\n        type: 'number',\n        model: model,\n        ppfx\n      });\n      this.input = inputNumber.render();\n      this.$input = this.input.inputEl;\n      this.$unit = this.input.unitEl;\n      model.set('value', value, { fromTarget: 1 });\n      this.$input.val(value);\n      this.input = inputNumber.el;\n    }\n    return this.input;\n  }\n});\n","import TraitView from './TraitView';\nimport InputColor from 'domain_abstract/ui/InputColor';\n\nexport default TraitView.extend({\n  templateInput: '',\n\n  /**\n   * Returns input element\n   * @return {HTMLElement}\n   * @private\n   */\n  getInputEl() {\n    if (!this.input) {\n      const model = this.model;\n      const value = this.getModelValue();\n      const inputColor = new InputColor({\n        model,\n        target: this.config.em,\n        contClass: this.ppfx + 'field-color',\n        ppfx: this.ppfx\n      });\n      const input = inputColor.render();\n      input.setValue(value, { fromTarget: 1 });\n      this.input = input.el;\n    }\n\n    return this.input;\n  }\n});\n","import { isString } from 'underscore';\nimport TraitView from './TraitView';\n\nexport default TraitView.extend({\n  eventCapture: ['click button'],\n\n  templateInput: '',\n\n  onChange() {\n    this.handleClick();\n  },\n\n  handleClick() {\n    const { model, em } = this;\n    const command = model.get('command');\n\n    if (command) {\n      if (isString(command)) {\n        em.get('Commands').run(command);\n      } else {\n        command(em.get('Editor'), model);\n      }\n    }\n  },\n\n  renderLabel() {\n    if (this.model.get('label')) {\n      TraitView.prototype.renderLabel.apply(this, arguments);\n    }\n  },\n\n  getInputEl() {\n    const { model, ppfx } = this;\n    const { labelButton, text, full } = model.props();\n    const label = labelButton || text;\n    const className = `${ppfx}btn`;\n    const input = `<button type=\"button\" class=\"${className}-prim${\n      full ? ` ${className}--full` : ''\n    }\">${label}</button>`;\n    return input;\n  }\n});\n","import { debounce } from 'underscore';\nimport defaults from './config/config';\nimport TraitsView from './view/TraitsView';\nimport TraitView from './view/TraitView';\nimport TraitSelectView from './view/TraitSelectView';\nimport TraitCheckboxView from './view/TraitCheckboxView';\nimport TraitNumberView from './view/TraitNumberView';\nimport TraitColorView from './view/TraitColorView';\nimport TraitButtonView from './view/TraitButtonView';\nimport { Model, Module } from 'common';\n\nexport const evAll = 'trait';\nexport const evPfx = `${evAll}:`;\nexport const evCustom = `${evPfx}custom`;\n\nexport default () => {\n  const typesDef = {\n    text: TraitView,\n    number: TraitNumberView,\n    select: TraitSelectView,\n    checkbox: TraitCheckboxView,\n    color: TraitColorView,\n    button: TraitButtonView,\n  };\n\n  return {\n    ...Module,\n\n    TraitsView,\n\n    events: {\n      all: evAll,\n      custom: evCustom,\n    },\n\n    /**\n     * Name of the module\n     * @type {String}\n     * @private\n     */\n    name: 'TraitManager',\n\n    /**\n     * Get configuration object\n     * @name getConfig\n     * @function\n     * @return {Object}\n     */\n\n    /**\n     * Initialize module. Automatically called with a new instance of the editor\n     * @param {Object} config Configurations\n     * @private\n     */\n    init(config = {}) {\n      this.__initConfig(defaults, config);\n      const c = this.config;\n      const model = new Model();\n      this.model = model;\n      const { em } = this;\n      const ppfx = c.pStylePrefix;\n      this.types = { ...typesDef };\n      ppfx && (c.stylePrefix = `${ppfx}${c.stylePrefix}`);\n\n      const upAll = debounce(() => this.__upSel());\n      model.listenTo(em, 'component:toggled', upAll);\n\n      const update = debounce(() => this.__onUp());\n      model.listenTo(em, 'trait:update', update);\n\n      return this;\n    },\n\n    __upSel() {\n      this.select(this.em.getSelected());\n    },\n\n    __onUp() {\n      this.select(this.getSelected());\n    },\n\n    select(component) {\n      const traits = component ? component.getTraits() : [];\n      this.model.set({ component, traits });\n      this.__trgCustom();\n    },\n\n    getSelected() {\n      return this.model.get('component') || null;\n    },\n\n    getCurrent() {\n      return this.model.get('traits') || [];\n    },\n\n    __trgCustom(opts = {}) {\n      this.__ctn = this.__ctn || opts.container;\n      this.em.trigger(this.events.custom, { container: this.__ctn });\n    },\n\n    postRender() {\n      this.__appendTo();\n    },\n\n    /**\n     *\n     * Get Traits viewer\n     * @private\n     */\n    getTraitsViewer() {\n      return this.view;\n    },\n\n    /**\n     * Add new trait type\n     * @param {string} name Type name\n     * @param {Object} methods Object representing the trait\n     */\n    addType(name, trait) {\n      const baseView = this.getType('text');\n      this.types[name] = baseView.extend(trait);\n    },\n\n    /**\n     * Get trait type\n     * @param {string} name Type name\n     * @return {Object}\n     */\n    getType(name) {\n      return this.getTypes()[name];\n    },\n\n    /**\n     * Get all trait types\n     * @returns {Object}\n     */\n    getTypes() {\n      return this.types;\n    },\n\n    render() {\n      let { view } = this;\n      const config = this.getConfig();\n      const el = view && view.el;\n      view = new TraitsView({\n        el,\n        collection: [],\n        editor: config.em,\n        config,\n      });\n      view.itemsView = this.getTypes();\n      view.updatedCollection();\n      this.view = view;\n      return view.el;\n    },\n\n    destroy() {\n      this.__destroy();\n    },\n  };\n};\n","/**\n * This module allows to manage the stack of changes applied in canvas.\n * Once the editor is instantiated you can use its API. Before using these methods you should get the module from the instance\n *\n * ```js\n * const um = editor.UndoManager;\n * ```\n *\n * * [getConfig](#getconfig)\n * * [add](#add)\n * * [remove](#remove)\n * * [removeAll](#removeall)\n * * [start](#start)\n * * [stop](#stop)\n * * [undo](#undo)\n * * [undoAll](#undoall)\n * * [redo](#redo)\n * * [redoAll](#redoall)\n * * [hasUndo](#hasundo)\n * * [hasRedo](#hasredo)\n * * [getStack](#getstack)\n * * [clear](#clear)\n *\n * @module UndoManager\n */\n\nimport UndoManager from 'backbone-undo';\nimport { isArray, isBoolean, isEmpty, unique, times } from 'underscore';\n\nexport default () => {\n  let em;\n  let um;\n  let config;\n  let beforeCache;\n  const configDef = {\n    maximumStackLength: 500,\n    trackSelection: 1,\n  };\n  const hasSkip = opts => opts.avoidStore || opts.noUndo;\n  const getChanged = obj => Object.keys(obj.changedAttributes());\n\n  return {\n    name: 'UndoManager',\n\n    /**\n     * Initialize module\n     * @param {Object} config Configurations\n     * @private\n     */\n    init(opts = {}) {\n      config = { ...configDef, ...opts };\n      em = config.em;\n      this.em = em;\n      if (config._disable) {\n        config = { ...config, maximumStackLength: 0 };\n      }\n      const fromUndo = true;\n      um = new UndoManager({ track: true, register: [], ...config });\n      um.changeUndoType('change', {\n        condition: object => {\n          const hasUndo = object.get('_undo');\n          if (hasUndo) {\n            const undoExc = object.get('_undoexc');\n            if (isArray(undoExc)) {\n              if (getChanged(object).some(chn => undoExc.indexOf(chn) >= 0)) return false;\n            }\n            if (isBoolean(hasUndo)) return true;\n            if (isArray(hasUndo)) {\n              if (getChanged(object).some(chn => hasUndo.indexOf(chn) >= 0)) return true;\n            }\n          }\n          return false;\n        },\n        on(object, v, opts) {\n          !beforeCache && (beforeCache = object.previousAttributes());\n          const opt = opts || v || {};\n          opt.noUndo &&\n            setTimeout(() => {\n              beforeCache = null;\n            });\n          if (hasSkip(opt)) {\n            return;\n          } else {\n            const after = object.toJSON({ fromUndo });\n            const result = {\n              object,\n              before: beforeCache,\n              after,\n            };\n            beforeCache = null;\n            // Skip undo in case of empty changes\n            if (isEmpty(after)) return;\n\n            return result;\n          }\n        },\n      });\n      um.changeUndoType('add', {\n        on: (model, collection, options = {}) => {\n          if (hasSkip(options) || !this.isRegistered(collection)) return;\n          return {\n            object: collection,\n            before: undefined,\n            after: model,\n            options: { ...options, fromUndo },\n          };\n        },\n      });\n      um.changeUndoType('remove', {\n        on: (model, collection, options = {}) => {\n          if (hasSkip(options) || !this.isRegistered(collection)) return;\n          return {\n            object: collection,\n            before: model,\n            after: undefined,\n            options: { ...options, fromUndo },\n          };\n        },\n      });\n      um.changeUndoType('reset', {\n        undo: (collection, before) => {\n          collection.reset(before, { fromUndo });\n        },\n        redo: (collection, b, after) => {\n          collection.reset(after, { fromUndo });\n        },\n        on: (collection, options = {}) => {\n          if (hasSkip(options) || !this.isRegistered(collection)) return;\n          return {\n            object: collection,\n            before: options.previousModels,\n            after: [...collection.models],\n            options: { ...options, fromUndo },\n          };\n        },\n      });\n\n      um.on('undo redo', () => {\n        em.trigger('change:canvasOffset');\n        em.getSelectedAll().map(c => c.trigger('rerender:layer'));\n      });\n      ['undo', 'redo'].forEach(ev => um.on(ev, () => em.trigger(ev)));\n\n      return this;\n    },\n\n    postLoad() {\n      config.trackSelection && em && this.add(em.get('selected'));\n    },\n\n    /**\n     * Get module configurations\n     * @return {Object} Configuration object\n     * @example\n     * const config = um.getConfig();\n     * // { ... }\n     */\n    getConfig() {\n      return config;\n    },\n\n    /**\n     * Add an entity (Model/Collection) to track\n     * Note: New Components and CSSRules will be added automatically\n     * @param {Model|Collection} entity Entity to track\n     * @return {this}\n     * @example\n     * um.add(someModelOrCollection);\n     */\n    add(entity) {\n      um.register(entity);\n      return this;\n    },\n\n    /**\n     * Remove and stop tracking the entity (Model/Collection)\n     * @param {Model|Collection} entity Entity to remove\n     * @return {this}\n     * @example\n     * um.remove(someModelOrCollection);\n     */\n    remove(entity) {\n      um.unregister(entity);\n      return this;\n    },\n\n    /**\n     * Remove all entities\n     * @return {this}\n     * @example\n     * um.removeAll();\n     */\n    removeAll() {\n      um.unregisterAll();\n      return this;\n    },\n\n    /**\n     * Start/resume tracking changes\n     * @return {this}\n     * @example\n     * um.start();\n     */\n    start() {\n      um.startTracking();\n      return this;\n    },\n\n    /**\n     * Stop tracking changes\n     * @return {this}\n     * @example\n     * um.stop();\n     */\n    stop() {\n      um.stopTracking();\n      return this;\n    },\n\n    /**\n     * Undo last change\n     * @return {this}\n     * @example\n     * um.undo();\n     */\n    undo(all = true) {\n      !em.isEditing() && um.undo(all);\n      return this;\n    },\n\n    /**\n     * Undo all changes\n     * @return {this}\n     * @example\n     * um.undoAll();\n     */\n    undoAll() {\n      um.undoAll();\n      return this;\n    },\n\n    /**\n     * Redo last change\n     * @return {this}\n     * @example\n     * um.redo();\n     */\n    redo(all = true) {\n      !em.isEditing() && um.redo(all);\n      return this;\n    },\n\n    /**\n     * Redo all changes\n     * @return {this}\n     * @example\n     * um.redoAll();\n     */\n    redoAll() {\n      um.redoAll();\n      return this;\n    },\n\n    /**\n     * Checks if exists an available undo\n     * @return {Boolean}\n     * @example\n     * um.hasUndo();\n     */\n    hasUndo() {\n      return um.isAvailable('undo');\n    },\n\n    /**\n     * Checks if exists an available redo\n     * @return {Boolean}\n     * @example\n     * um.hasRedo();\n     */\n    hasRedo() {\n      return um.isAvailable('redo');\n    },\n\n    /**\n     * Check if the entity (Model/Collection) to tracked\n     * Note: New Components and CSSRules will be added automatically\n     * @param {Model|Collection} entity Entity to track\n     * @returns {Boolean}\n     */\n    isRegistered(obj) {\n      return !!this.getInstance().objectRegistry.isRegistered(obj);\n    },\n\n    /**\n     * Get stack of changes\n     * @return {Collection}\n     * @example\n     * const stack = um.getStack();\n     * stack.each(item => ...);\n     */\n    getStack() {\n      return um.stack;\n    },\n\n    /**\n     * Get grouped undo manager stack.\n     * The difference between `getStack` is when you do multiple operations at a time,\n     * like appending multiple components:\n     * `editor.getWrapper().append(`<div>C1</div><div>C2</div>`);`\n     * `getStack` will return a collection length of 2.\n     *  `getStackGroup` instead will group them as a single operation (the first\n     * inserted component will be returned in the list) by returning an array length of 1.\n     * @return {Array}\n     */\n    getStackGroup() {\n      const result = [];\n      const inserted = [];\n\n      this.getStack().forEach(item => {\n        const index = item.get('magicFusionIndex');\n        if (inserted.indexOf(index) < 0) {\n          inserted.push(index);\n          result.push(item);\n        }\n      });\n\n      return result;\n    },\n\n    skip(clb) {\n      this.stop();\n      clb();\n      this.start();\n    },\n\n    getGroupedStack() {\n      const result = {};\n      const stack = this.getStack();\n      const createItem = (item, index) => {\n        const { type, after, before, object, options = {} } = item.attributes;\n        return { index, type, after, before, object, options };\n      };\n      stack.forEach((item, i) => {\n        const index = item.get('magicFusionIndex');\n        const value = createItem(item, i);\n\n        if (!result[index]) {\n          result[index] = [value];\n        } else {\n          result[index].push(value);\n        }\n      });\n\n      return Object.keys(result).map(index => {\n        const actions = result[index];\n        return {\n          index: actions[actions.length - 1].index,\n          actions,\n          labels: unique(\n            actions.reduce((res, item) => {\n              const label = item.options?.action;\n              label && res.push(label);\n              return res;\n            }, [])\n          ),\n        };\n      });\n    },\n\n    goToGroup(group) {\n      if (!group) return;\n      const current = this.getPointer();\n      const goTo = group.index - current;\n      times(Math.abs(goTo), () => {\n        this[goTo < 0 ? 'undo' : 'redo'](false);\n      });\n    },\n\n    getPointer() {\n      return this.getStack().pointer;\n    },\n\n    /**\n     * Clear the stack\n     * @return {this}\n     * @example\n     * um.clear();\n     */\n    clear() {\n      um.clear();\n      return this;\n    },\n\n    getInstance() {\n      return um;\n    },\n\n    destroy() {\n      this.clear().removeAll();\n      [em, um, config, beforeCache].forEach(i => (i = {}));\n      this.em = {};\n    },\n  };\n};\n","import { bindAll, isFunction, result, isUndefined } from 'underscore';\nimport { on, off, isEscKey, getPointerEvent } from 'utils/mixins';\n\nconst resetPos = () => ({ x: 0, y: 0 });\n\nexport default class Dragger {\n  /**\n   * Init the dragger\n   * @param  {Object} opts\n   */\n  constructor(opts = {}) {\n    this.opts = {\n      /**\n       * Element on which the drag will be executed. By default, the document will be used\n       */\n      container: null,\n      /**\n       * Callback on start\n       * onStart(ev, dragger) {\n       *  console.log('pointer start', dragger.startPointer, 'position start', dragger.startPosition);\n       * },\n       */\n      onStart: null,\n      /**\n       * Callback on drag\n       * onDrag(ev, dragger) {\n       *  console.log('pointer', dragger.currentPointer, 'position', dragger.position, 'delta', dragger.delta);\n       * },\n       */\n      onDrag: null,\n      /**\n       * Callback on drag\n       * onEnd(ev, dragger) {\n       *  console.log('pointer', dragger.currentPointer, 'position', dragger.position, 'delta', dragger.delta);\n       * },\n       */\n      onEnd: null,\n      /**\n       * Indicate a callback where to pass an object with new coordinates\n       */\n      setPosition: null,\n      /**\n       * Indicate a callback where to get initial coordinates.\n       * getPosition: () => {\n       *  ...\n       *  return { x: 10, y: 100 }\n       * }\n       */\n      getPosition: null,\n\n      // Static guides to be snapped\n      guidesStatic: null,\n\n      // Target guides that will snap to static one\n      guidesTarget: null,\n\n      // Offset before snap to guides\n      snapOffset: 5,\n\n      // Document on which listen to pointer events\n      doc: 0,\n\n      // Scale result points, can also be a function\n      scale: 1\n    };\n    bindAll(this, 'drag', 'stop', 'keyHandle', 'handleScroll');\n    this.setOptions(opts);\n    this.delta = resetPos();\n    return this;\n  }\n\n  /**\n   * Update options\n   * @param {Object} options\n   */\n  setOptions(opts = {}) {\n    this.opts = {\n      ...this.opts,\n      ...opts\n    };\n  }\n\n  toggleDrag(enable) {\n    const docs = this.getDocumentEl();\n    const container = this.getContainerEl();\n    const win = this.getWindowEl();\n    const method = enable ? 'on' : 'off';\n    const methods = { on, off };\n    methods[method](container, 'mousemove dragover', this.drag);\n    methods[method](docs, 'mouseup dragend touchend', this.stop);\n    methods[method](docs, 'keydown', this.keyHandle);\n    methods[method](win, 'scroll', this.handleScroll);\n  }\n\n  handleScroll() {\n    const { lastScroll, delta } = this;\n    const actualScroll = this.getScrollInfo();\n    const scrollDiff = {\n      x: actualScroll.x - lastScroll.x,\n      y: actualScroll.y - lastScroll.y\n    };\n    this.move(delta.x + scrollDiff.x, delta.y + scrollDiff.y);\n    this.lastScrollDiff = scrollDiff;\n  }\n\n  /**\n   * Start dragging\n   * @param  {Event} e\n   */\n  start(ev) {\n    const { opts } = this;\n    const { onStart } = opts;\n    this.toggleDrag(1);\n    this.startPointer = this.getPointerPos(ev);\n    this.guidesStatic = result(opts, 'guidesStatic') || [];\n    this.guidesTarget = result(opts, 'guidesTarget') || [];\n    isFunction(onStart) && onStart(ev, this);\n    this.startPosition = this.getStartPosition();\n    this.lastScrollDiff = resetPos();\n    this.globScrollDiff = resetPos();\n    this.drag(ev);\n  }\n\n  /**\n   * Drag event\n   * @param  {Event} event\n   */\n  drag(ev) {\n    const { opts, lastScrollDiff, globScrollDiff } = this;\n    const { onDrag } = opts;\n    const { startPointer } = this;\n    const currentPos = this.getPointerPos(ev);\n    const glDiff = {\n      x: globScrollDiff.x + lastScrollDiff.x,\n      y: globScrollDiff.y + lastScrollDiff.y\n    };\n    this.globScrollDiff = glDiff;\n    const delta = {\n      x: currentPos.x - startPointer.x + glDiff.x,\n      y: currentPos.y - startPointer.y + glDiff.y\n    };\n    this.lastScrollDiff = resetPos();\n    let { lockedAxis } = this;\n\n    // Lock one axis\n    if (ev.shiftKey) {\n      lockedAxis = !lockedAxis && this.detectAxisLock(delta.x, delta.y);\n    } else {\n      lockedAxis = null;\n    }\n\n    if (lockedAxis === 'x') {\n      delta.x = startPointer.x;\n    } else if (lockedAxis === 'y') {\n      delta.y = startPointer.y;\n    }\n\n    const moveDelta = delta => {\n      ['x', 'y'].forEach(co => (delta[co] = delta[co] * result(opts, 'scale')));\n      this.delta = delta;\n      this.move(delta.x, delta.y);\n      isFunction(onDrag) && onDrag(ev, this);\n    };\n    const deltaPre = { ...delta };\n    this.currentPointer = currentPos;\n    this.lockedAxis = lockedAxis;\n    this.lastScroll = this.getScrollInfo();\n    moveDelta(delta);\n\n    if (this.guidesTarget.length) {\n      const { newDelta, trgX, trgY } = this.snapGuides(deltaPre);\n      (trgX || trgY) && moveDelta(newDelta);\n    }\n\n    // In case the mouse button was released outside of the window\n    ev.which === 0 && this.stop(ev);\n  }\n\n  /**\n   * Check if the delta hits some guide\n   */\n  snapGuides(delta) {\n    const newDelta = delta;\n    let { trgX, trgY } = this;\n\n    this.guidesTarget.forEach(trg => {\n      // Skip the guide if its locked axis already exists\n      if ((trg.x && this.trgX) || (trg.y && this.trgY)) return;\n      trg.active = 0;\n\n      this.guidesStatic.forEach(stat => {\n        if ((trg.y && stat.x) || (trg.x && stat.y)) return;\n        const isY = trg.y && stat.y;\n        const axs = isY ? 'y' : 'x';\n        const trgPoint = trg[axs];\n        const statPoint = stat[axs];\n        const deltaPoint = delta[axs];\n        const trgGuide = isY ? trgY : trgX;\n\n        if (this.isPointIn(trgPoint, statPoint)) {\n          if (isUndefined(trgGuide)) {\n            const trgValue = deltaPoint - (trgPoint - statPoint);\n            this.setGuideLock(trg, trgValue);\n          }\n        }\n      });\n    });\n\n    trgX = this.trgX;\n    trgY = this.trgY;\n\n    ['x', 'y'].forEach(co => {\n      const axis = co.toUpperCase();\n      let trg = this[`trg${axis}`];\n\n      if (trg && !this.isPointIn(delta[co], trg.lock)) {\n        this.setGuideLock(trg, null);\n        trg = null;\n      }\n\n      if (trg && !isUndefined(trg.lock)) {\n        newDelta[co] = trg.lock;\n      }\n    });\n\n    return {\n      newDelta,\n      trgX: this.trgX,\n      trgY: this.trgY\n    };\n  }\n\n  isPointIn(src, trg, { offset } = {}) {\n    const ofst = offset || this.opts.snapOffset;\n    return (\n      (src >= trg && src <= trg + ofst) || (src <= trg && src >= trg - ofst)\n    );\n  }\n\n  setGuideLock(guide, value) {\n    const axis = !isUndefined(guide.x) ? 'X' : 'Y';\n    const trgName = `trg${axis}`;\n\n    if (value !== null) {\n      guide.active = 1;\n      guide.lock = value;\n      this[trgName] = guide;\n    } else {\n      delete guide.active;\n      delete guide.lock;\n      delete this[trgName];\n    }\n\n    return guide;\n  }\n\n  /**\n   * Stop dragging\n   */\n  stop(ev, opts = {}) {\n    const { delta } = this;\n    const cancelled = opts.cancel;\n    const x = cancelled ? 0 : delta.x;\n    const y = cancelled ? 0 : delta.y;\n    this.toggleDrag();\n    this.lockedAxis = null;\n    this.move(x, y, 1);\n    const { onEnd } = this.opts;\n    isFunction(onEnd) && onEnd(ev, this, { cancelled });\n  }\n\n  keyHandle(ev) {\n    if (isEscKey(ev)) {\n      this.stop(ev, { cancel: 1 });\n    }\n  }\n\n  /**\n   * Move the element\n   * @param  {integer} x\n   * @param  {integer} y\n   */\n  move(x, y, end) {\n    const { el, opts } = this;\n    const pos = this.startPosition;\n    if (!pos) return;\n    const { setPosition } = opts;\n    const xPos = pos.x + x;\n    const yPos = pos.y + y;\n    this.position = {\n      x: xPos,\n      y: yPos,\n      end\n    };\n\n    isFunction(setPosition) && setPosition(this.position);\n\n    if (el) {\n      el.style.left = `${xPos}px`;\n      el.style.top = `${yPos}px`;\n    }\n  }\n\n  getContainerEl() {\n    const { container } = this.opts;\n    return container ? [container] : this.getDocumentEl();\n  }\n\n  getWindowEl() {\n    const cont = this.getContainerEl();\n    return cont.map(item => {\n      const doc = item.ownerDocument || item;\n      return doc.defaultView || doc.parentWindow;\n    });\n  }\n\n  /**\n   * Returns documents\n   */\n  getDocumentEl(el) {\n    const { doc } = this.opts;\n    el = el || this.el;\n\n    if (!this.docs) {\n      const docs = [document];\n      el && docs.push(el.ownerDocument);\n      doc && docs.push(doc);\n      this.docs = docs;\n    }\n\n    return this.docs;\n  }\n\n  /**\n   * Get mouse coordinates\n   * @param  {Event} event\n   * @return {Object}\n   */\n  getPointerPos(ev) {\n    const getPos = this.opts.getPointerPosition;\n    const pEv = getPointerEvent(ev);\n\n    return getPos\n      ? getPos(ev)\n      : {\n          x: pEv.clientX,\n          y: pEv.clientY\n        };\n  }\n\n  getStartPosition() {\n    const { el, opts } = this;\n    const getPos = opts.getPosition;\n    let result = resetPos();\n\n    if (isFunction(getPos)) {\n      result = getPos();\n    } else if (el) {\n      result = {\n        x: parseFloat(el.style.left),\n        y: parseFloat(el.style.top)\n      };\n    }\n\n    return result;\n  }\n\n  getScrollInfo() {\n    const { doc } = this.opts;\n    const body = doc && doc.body;\n\n    return {\n      y: body ? body.scrollTop : 0,\n      x: body ? body.scrollLeft : 0\n    };\n  }\n\n  detectAxisLock(x, y) {\n    const relX = x;\n    const relY = y;\n    const absX = Math.abs(relX);\n    const absY = Math.abs(relY);\n\n    // Vertical or Horizontal lock\n    if (relY >= absX || relY <= -absX) {\n      return 'x';\n    } else if (relX > absY || relX < -absY) {\n      return 'y';\n    }\n  }\n}\n","/* Adapted for headless */\n/* MIT https://github.com/kenwheeler/cash */\n'use strict';\n\nvar doc = typeof document !== 'undefined' ? document : null,\n  win = typeof window !== 'undefined' ? window : null,\n  _Array$prototype = Array.prototype,\n  filter = _Array$prototype.filter,\n  indexOf = _Array$prototype.indexOf,\n  map = _Array$prototype.map,\n  push = _Array$prototype.push,\n  reverse = _Array$prototype.reverse,\n  slice = _Array$prototype.slice,\n  splice = _Array$prototype.splice;\nvar idRe = /^#[\\w-]*$/,\n  classRe = /^\\.[\\w-]*$/,\n  htmlRe = /<.+>/,\n  tagRe = /^\\w+$/; // @require ./variables.js\n\nfunction find(selector, context) {\n  if (context === void 0) {\n    context = doc;\n  }\n\n  return classRe.test(selector)\n    ? context.getElementsByClassName(selector.slice(1))\n    : tagRe.test(selector)\n    ? context.getElementsByTagName(selector)\n    : context.querySelectorAll(selector);\n} // @require ./find.js\n// @require ./variables.js\n\nfunction Cash(selector, context) {\n  if (context === void 0) {\n    context = doc;\n  }\n\n  if (!selector) return;\n  if (selector.__cash) return selector;\n  var eles = selector;\n\n  if (isString(selector)) {\n    if (context.__cash) context = context[0];\n    eles = idRe.test(selector)\n      ? context.getElementById(selector.slice(1))\n      : htmlRe.test(selector)\n      ? parseHTML(selector)\n      : find(selector, context);\n    if (!eles) return;\n  } else if (isFunction(selector)) {\n    return this.ready(selector); //FIXME: `fn.ready` is not included in `core`, but it's actually a core functionality\n  }\n\n  if (eles.nodeType || eles === win) eles = [eles];\n  this.length = eles.length;\n\n  for (var i = 0, l = this.length; i < l; i++) {\n    this[i] = eles[i];\n  }\n}\n\nfunction cash(selector, context) {\n  return new Cash(selector, context);\n}\n/* PROTOTYPE */\n\nvar fn = (cash.fn = cash.prototype = Cash.prototype = {\n  constructor: cash,\n  __cash: true,\n  length: 0,\n  splice: splice // Ensures a cash collection gets printed as array-like in Chrome\n}); // @require core/cash.js\n// @require core/variables.js\n\nfn.get = function(index) {\n  if (index === undefined) return slice.call(this);\n  return this[index < 0 ? index + this.length : index];\n}; // @require core/cash.js\n// @require ./get.js\n\nfn.eq = function(index) {\n  return cash(this.get(index));\n}; // @require core/cash.js\n// @require ./eq.js\n\nfn.first = function() {\n  return this.eq(0);\n}; // @require core/cash.js\n// @require ./eq.js\n\nfn.last = function() {\n  return this.eq(-1);\n}; // @require core/cash.js\n// @require core/variables.js\n\nfn.map = function(callback) {\n  return cash(\n    map.call(this, function(ele, i) {\n      return callback.call(ele, i, ele);\n    })\n  );\n}; // @require core/cash.js\n// @require core/variables.js\n\nfn.slice = function() {\n  return cash(slice.apply(this, arguments));\n}; // @require ./cash.js\n\nvar camelCaseRe = /(?:^\\w|[A-Z]|\\b\\w)/g,\n  camelCaseWhitespaceRe = /[\\s-_]+/g;\n\nfunction camelCase(str) {\n  return str\n    .replace(camelCaseRe, function(letter, index) {\n      return letter[!index ? 'toLowerCase' : 'toUpperCase']();\n    })\n    .replace(camelCaseWhitespaceRe, '');\n}\n\ncash.camelCase = camelCase; // @require ./cash.js\n\nfunction each(arr, callback) {\n  for (var i = 0, l = arr.length; i < l; i++) {\n    if (callback.call(arr[i], arr[i], i, arr) === false) break;\n  }\n}\n\ncash.each = each; // @require core/cash.js\n// @require core/each.js\n\nfn.each = function(callback) {\n  each(this, function(ele, i) {\n    return callback.call(ele, i, ele);\n  });\n  return this;\n}; // @require core/cash.js\n// @require collection/each.js\n\nfn.removeProp = function(prop) {\n  return this.each(function(i, ele) {\n    delete ele[prop];\n  });\n}; // @require ./cash.js\n\nfunction extend(target) {\n  if (target === void 0) {\n    target = this;\n  }\n\n  var args = arguments,\n    length = args.length;\n\n  for (var i = length < 2 ? 0 : 1; i < length; i++) {\n    for (var key in args[i]) {\n      target[key] = args[i][key];\n    }\n  }\n\n  return target;\n}\n\ncash.extend = fn.extend = extend; // @require ./cash.js\n\nvar guid = 1;\ncash.guid = guid; // @require ./cash.js\n\nfunction matches(ele, selector) {\n  var matches =\n    ele &&\n    (ele.matches ||\n      ele.webkitMatchesSelector ||\n      ele.mozMatchesSelector ||\n      ele.msMatchesSelector ||\n      ele.oMatchesSelector);\n  return !!matches && matches.call(ele, selector);\n}\n\ncash.matches = matches; // @require ./cash.js\n\nfunction isFunction(x) {\n  return typeof x === 'function';\n}\n\ncash.isFunction = isFunction;\n\nfunction isString(x) {\n  return typeof x === 'string';\n}\n\ncash.isString = isString;\n\nfunction isNumeric(x) {\n  return !isNaN(parseFloat(x)) && isFinite(x);\n}\n\ncash.isNumeric = isNumeric;\nvar isArray = Array.isArray;\ncash.isArray = isArray; // @require core/cash.js\n// @require core/type_checking.js\n// @require collection/each.js\n\nfn.prop = function(prop, value) {\n  if (!prop) return;\n\n  if (isString(prop)) {\n    if (arguments.length < 2) return this[0] && this[0][prop];\n    return this.each(function(i, ele) {\n      ele[prop] = value;\n    });\n  }\n\n  for (var key in prop) {\n    this.prop(key, prop[key]);\n  }\n\n  return this;\n}; // @require ./matches.js\n// @require ./type_checking.js\n\nfunction getCompareFunction(selector) {\n  return isString(selector)\n    ? function(i, ele) {\n        return matches(ele, selector);\n      }\n    : selector.__cash\n    ? function(i, ele) {\n        return selector.is(ele);\n      }\n    : function(i, ele, selector) {\n        return ele === selector;\n      };\n} // @require core/cash.js\n// @require core/get_compare_function.js\n// @require core/type_checking.js\n// @require core/variables.js\n// @require collection/get.js\n\nfn.filter = function(selector) {\n  if (!selector) return cash();\n  var comparator = isFunction(selector)\n    ? selector\n    : getCompareFunction(selector);\n  return cash(\n    filter.call(this, function(ele, i) {\n      return comparator.call(ele, i, ele, selector);\n    })\n  );\n}; // @require ./type_checking.js\n\nvar splitValuesRe = /\\S+/g;\n\nfunction getSplitValues(str) {\n  return isString(str) ? str.match(splitValuesRe) || [] : [];\n} // @require core/cash.js\n// @require core/get_split_values.js\n// @require collection/each.js\n\nfn.hasClass = function(cls) {\n  var classes = getSplitValues(cls);\n  var check = false;\n\n  if (classes.length) {\n    this.each(function(i, ele) {\n      check = ele.classList.contains(classes[0]);\n      return !check;\n    });\n  }\n\n  return check;\n}; // @require core/cash.js\n// @require core/get_split_values.js\n// @require collection/each.js\n\nfn.removeAttr = function(attr) {\n  var attrs = getSplitValues(attr);\n  if (!attrs.length) return this;\n  return this.each(function(i, ele) {\n    each(attrs, function(a) {\n      ele.removeAttribute(a);\n    });\n  });\n}; // @require core/cash.js\n// @require core/type_checking.js\n// @require collection/each.js\n// @require ./remove_attr.js\n\nfn.attr = function(attr, value) {\n  if (!attr) return;\n\n  if (isString(attr)) {\n    if (arguments.length < 2) {\n      if (!this[0]) return;\n\n      var _value = this[0].getAttribute(attr);\n\n      return _value === null ? undefined : _value;\n    }\n\n    if (value === null) return this.removeAttr(attr);\n    return this.each(function(i, ele) {\n      ele.setAttribute(attr, value);\n    });\n  }\n\n  for (var key in attr) {\n    this.attr(key, attr[key]);\n  }\n\n  return this;\n}; // @require core/cash.js\n// @require core/each.js\n// @require core/get_split_values.js\n// @require collection/each.js\n\nfn.toggleClass = function(cls, force) {\n  var classes = getSplitValues(cls),\n    isForce = force !== undefined;\n  if (!classes.length) return this;\n  return this.each(function(i, ele) {\n    each(classes, function(c) {\n      if (isForce) {\n        force ? ele.classList.add(c) : ele.classList.remove(c);\n      } else {\n        ele.classList.toggle(c);\n      }\n    });\n  });\n}; // @require core/cash.js\n// @require ./toggle_class.js\n\nfn.addClass = function(cls) {\n  return this.toggleClass(cls, true);\n}; // @require core/cash.js\n// @require ./attr.js\n// @require ./toggle_class.js\n\nfn.removeClass = function(cls) {\n  return !arguments.length\n    ? this.attr('class', '')\n    : this.toggleClass(cls, false);\n}; // @optional ./add_class.js\n// @optional ./attr.js\n// @optional ./has_class.js\n// @optional ./prop.js\n// @optional ./remove_attr.js\n// @optional ./remove_class.js\n// @optional ./remove_prop.js\n// @optional ./toggle_class.js\n// @require ./cash.js\n\nfunction unique(arr) {\n  return arr.filter(function(item, index, self) {\n    return self.indexOf(item) === index;\n  });\n}\n\ncash.unique = unique; // @require core/cash.js\n// @require core/unique.js\n// @require ./get.js\n\nfn.add = function(selector, context) {\n  return cash(unique(this.get().concat(cash(selector, context).get())));\n}; // @require core/variables.js\n\nfunction computeStyle(ele, prop, isVariable) {\n  if (ele.nodeType !== 1) return;\n  var style = win.getComputedStyle(ele, null);\n  return prop\n    ? isVariable\n      ? style.getPropertyValue(prop)\n      : style[prop]\n    : style;\n} // @require ./compute_style.js\n\nfunction computeStyleInt(ele, prop) {\n  return parseInt(computeStyle(ele, prop), 10) || 0;\n}\n\nvar cssVariableRe = /^--/; // @require ./variables.js\n\nfunction isCSSVariable(prop) {\n  return cssVariableRe.test(prop);\n} // @require core/camel_case.js\n// @require core/cash.js\n// @require core/each.js\n// @require core/variables.js\n// @require ./is_css_variable.js\n\nvar prefixedProps = {},\n  docEl = doc && doc.createElement('div'),\n  style = docEl ? docEl.style : {},\n  vendorsPrefixes = ['webkit', 'moz', 'ms', 'o'];\n\nfunction getPrefixedProp(prop, isVariable) {\n  if (isVariable === void 0) {\n    isVariable = isCSSVariable(prop);\n  }\n\n  if (isVariable) return prop;\n\n  if (!prefixedProps[prop]) {\n    var propCC = camelCase(prop),\n      propUC = '' + propCC.charAt(0).toUpperCase() + propCC.slice(1),\n      props = (\n        propCC +\n        ' ' +\n        vendorsPrefixes.join(propUC + ' ') +\n        propUC\n      ).split(' ');\n    each(props, function(p) {\n      if (p in style) {\n        prefixedProps[prop] = p;\n        return false;\n      }\n    });\n  }\n\n  return prefixedProps[prop];\n}\n\ncash.prefixedProp = getPrefixedProp; // @require core/type_checking.js\n// @require ./is_css_variable.js\n\nvar numericProps = {\n  animationIterationCount: true,\n  columnCount: true,\n  flexGrow: true,\n  flexShrink: true,\n  fontWeight: true,\n  lineHeight: true,\n  opacity: true,\n  order: true,\n  orphans: true,\n  widows: true,\n  zIndex: true\n};\n\nfunction getSuffixedValue(prop, value, isVariable) {\n  if (isVariable === void 0) {\n    isVariable = isCSSVariable(prop);\n  }\n\n  return !isVariable && !numericProps[prop] && isNumeric(value)\n    ? value + 'px'\n    : value;\n} // @require core/cash.js\n// @require core/type_checking.js\n// @require collection/each.js\n// @require ./helpers/compute_style.js\n// @require ./helpers/get_prefixed_prop.js\n// @require ./helpers/get_suffixed_value.js\n// @require ./helpers/is_css_variable.js\n\nfn.css = function(prop, value) {\n  if (isString(prop)) {\n    var isVariable = isCSSVariable(prop);\n    prop = getPrefixedProp(prop, isVariable);\n    if (arguments.length < 2)\n      return this[0] && computeStyle(this[0], prop, isVariable);\n    if (!prop) return this;\n    value = getSuffixedValue(prop, value, isVariable);\n    return this.each(function(i, ele) {\n      if (ele.nodeType !== 1) return;\n\n      if (isVariable) {\n        ele.style.setProperty(prop, value);\n      } else {\n        ele.style[prop] = value;\n      }\n    });\n  }\n\n  for (var key in prop) {\n    this.css(key, prop[key]);\n  }\n\n  return this;\n}; // @optional ./css.js\n\nvar dataNamespace = '__cashData',\n  dataAttributeRe = /^data-(.*)/; // @require core/cash.js\n// @require ./helpers/variables.js\n\ncash.hasData = function(ele) {\n  return dataNamespace in ele;\n}; // @require ./variables.js\n\nfunction getDataCache(ele) {\n  return (ele[dataNamespace] = ele[dataNamespace] || {});\n} // @require attributes/attr.js\n// @require ./get_data_cache.js\n\nfunction getData(ele, key) {\n  var cache = getDataCache(ele);\n\n  if (key) {\n    if (!(key in cache)) {\n      var value = ele.dataset\n        ? ele.dataset[key] || ele.dataset[camelCase(key)]\n        : cash(ele).attr('data-' + key);\n\n      if (value !== undefined) {\n        try {\n          value = JSON.parse(value);\n        } catch (e) {}\n\n        cache[key] = value;\n      }\n    }\n\n    return cache[key];\n  }\n\n  return cache;\n} // @require ./variables.js\n// @require ./get_data_cache.js\n\nfunction removeData(ele, key) {\n  if (key === undefined) {\n    delete ele[dataNamespace];\n  } else {\n    delete getDataCache(ele)[key];\n  }\n} // @require ./get_data_cache.js\n\nfunction setData(ele, key, value) {\n  getDataCache(ele)[key] = value;\n} // @require core/cash.js\n// @require core/type_checking.js\n// @require collection/each.js\n// @require ./helpers/get_data.js\n// @require ./helpers/set_data.js\n// @require ./helpers/variables.js\n\nfn.data = function(name, value) {\n  var _this = this;\n\n  if (!name) {\n    if (!this[0]) return;\n    each(this[0].attributes, function(attr) {\n      var match = attr.name.match(dataAttributeRe);\n      if (!match) return;\n\n      _this.data(match[1]);\n    });\n    return getData(this[0]);\n  }\n\n  if (isString(name)) {\n    if (value === undefined) return this[0] && getData(this[0], name);\n    return this.each(function(i, ele) {\n      return setData(ele, name, value);\n    });\n  }\n\n  for (var key in name) {\n    this.data(key, name[key]);\n  }\n\n  return this;\n}; // @require core/cash.js\n// @require collection/each.js\n// @require ./helpers/remove_data.js\n\nfn.removeData = function(key) {\n  return this.each(function(i, ele) {\n    return removeData(ele, key);\n  });\n}; // @optional ./data.js\n// @optional ./remove_data.js\n// @require css/helpers/compute_style_int.js\n\nfunction getExtraSpace(ele, xAxis) {\n  return (\n    computeStyleInt(ele, 'border' + (xAxis ? 'Left' : 'Top') + 'Width') +\n    computeStyleInt(ele, 'padding' + (xAxis ? 'Left' : 'Top')) +\n    computeStyleInt(ele, 'padding' + (xAxis ? 'Right' : 'Bottom')) +\n    computeStyleInt(ele, 'border' + (xAxis ? 'Right' : 'Bottom') + 'Width')\n  );\n} // @require core/cash.js\n// @require core/each.js\n// @require core/variables.js\n\neach(['Width', 'Height'], function(prop) {\n  fn['inner' + prop] = function() {\n    if (!this[0]) return;\n    if (this[0] === win) return win['inner' + prop];\n    return this[0]['client' + prop];\n  };\n}); // @require core/camel_case.js\n// @require core/cash.js\n// @require core/each.js\n// @require core/variables.js\n// @require css/helpers/compute_style.js\n// @require css/helpers/get_suffixed_value.js\n// @require ./helpers/get_extra_space.js\n\neach(['width', 'height'], function(prop, index) {\n  fn[prop] = function(value) {\n    if (!this[0]) return value === undefined ? undefined : this;\n\n    if (!arguments.length) {\n      if (this[0] === win) return this[0][camelCase('outer-' + prop)];\n      return (\n        this[0].getBoundingClientRect()[prop] - getExtraSpace(this[0], !index)\n      );\n    }\n\n    value = parseInt(value, 10);\n    return this.each(function(i, ele) {\n      if (ele.nodeType !== 1) return;\n      var boxSizing = computeStyle(ele, 'boxSizing');\n      ele.style[prop] = getSuffixedValue(\n        prop,\n        value + (boxSizing === 'border-box' ? getExtraSpace(ele, !index) : 0)\n      );\n    });\n  };\n}); // @require core/cash.js\n// @require core/each.js\n// @require core/variables.js\n// @require css/helpers/compute_style_int.js\n\neach(['Width', 'Height'], function(prop, index) {\n  fn['outer' + prop] = function(includeMargins) {\n    if (!this[0]) return;\n    if (this[0] === win) return win['outer' + prop];\n    return (\n      this[0]['offset' + prop] +\n      (includeMargins\n        ? computeStyleInt(this[0], 'margin' + (!index ? 'Left' : 'Top')) +\n          computeStyleInt(this[0], 'margin' + (!index ? 'Right' : 'Bottom'))\n        : 0)\n    );\n  };\n}); // @optional ./inner.js\n// @optional ./normal.js\n// @optional ./outer.js\n\nfunction hasNamespaces(ns1, ns2) {\n  for (var i = 0, l = ns2.length; i < l; i++) {\n    if (ns1.indexOf(ns2[i]) < 0) return false;\n  }\n\n  return true;\n} // @require core/each.js\n\nfunction removeEventListeners(cache, ele, name) {\n  each(cache[name], function(_ref) {\n    var namespaces = _ref[0],\n      callback = _ref[1];\n    ele.removeEventListener(name, callback);\n  });\n  delete cache[name];\n}\n\nvar eventsNamespace = '__cashEvents',\n  eventsNamespacesSeparator = '.'; // @require ./variables.js\n\nfunction getEventsCache(ele) {\n  return (ele[eventsNamespace] = ele[eventsNamespace] || {});\n} // @require core/guid.js\n// @require events/helpers/get_events_cache.js\n\nfunction addEvent(ele, name, namespaces, callback) {\n  callback.guid = callback.guid || guid++;\n  var eventCache = getEventsCache(ele);\n  eventCache[name] = eventCache[name] || [];\n  eventCache[name].push([namespaces, callback]);\n  ele.addEventListener(name, callback);\n} // @require ./variables.js\n\nfunction parseEventName(eventName) {\n  var parts = eventName.split(eventsNamespacesSeparator);\n  return [parts[0], parts.slice(1).sort()]; // [name, namespaces]\n} // @require core/guid.js\n// @require ./get_events_cache.js\n// @require ./has_namespaces.js\n// @require ./parse_event_name.js\n// @require ./remove_event_listeners.js\n\nfunction removeEvent(ele, name, namespaces, callback) {\n  var cache = getEventsCache(ele);\n\n  if (!name) {\n    if (!namespaces || !namespaces.length) {\n      for (name in cache) {\n        removeEventListeners(cache, ele, name);\n      }\n    } else {\n      for (name in cache) {\n        removeEvent(ele, name, namespaces, callback);\n      }\n    }\n  } else {\n    var eventCache = cache[name];\n    if (!eventCache) return;\n    if (callback) callback.guid = callback.guid || guid++;\n    cache[name] = eventCache.filter(function(_ref2) {\n      var ns = _ref2[0],\n        cb = _ref2[1];\n      if (\n        (callback && cb.guid !== callback.guid) ||\n        !hasNamespaces(ns, namespaces)\n      )\n        return true;\n      ele.removeEventListener(name, cb);\n    });\n  }\n} // @require core/cash.js\n// @require core/each.js\n// @require collection/each.js\n// @require ./helpers/parse_event_name.js\n// @require ./helpers/remove_event.js\n\nfn.off = function(eventFullName, callback) {\n  var _this2 = this;\n\n  if (eventFullName === undefined) {\n    this.each(function(i, ele) {\n      return removeEvent(ele);\n    });\n  } else {\n    each(getSplitValues(eventFullName), function(eventFullName) {\n      var _parseEventName = parseEventName(eventFullName),\n        name = _parseEventName[0],\n        namespaces = _parseEventName[1];\n\n      _this2.each(function(i, ele) {\n        return removeEvent(ele, name, namespaces, callback);\n      });\n    });\n  }\n\n  return this;\n}; // @require core/cash.js\n// @require core/get_split_values.js\n// @require core/guid.js\n// @require core/matches.js\n// @require core/type_checking.js\n// @require collection/each.js\n// @require ./helpers/variables.js\n// @require ./helpers/add_event.js\n// @require ./helpers/has_namespaces.js\n// @require ./helpers/parse_event_name.js\n// @require ./helpers/remove_event.js\n\nfn.on = function(eventFullName, selector, callback, _one) {\n  var _this3 = this;\n\n  if (!isString(eventFullName)) {\n    for (var key in eventFullName) {\n      this.on(key, selector, eventFullName[key]);\n    }\n\n    return this;\n  }\n\n  if (isFunction(selector)) {\n    callback = selector;\n    selector = false;\n  }\n\n  each(getSplitValues(eventFullName), function(eventFullName) {\n    var _parseEventName2 = parseEventName(eventFullName),\n      name = _parseEventName2[0],\n      namespaces = _parseEventName2[1];\n\n    _this3.each(function(i, ele) {\n      var finalCallback = function finalCallback(event) {\n        if (\n          event.namespace &&\n          !hasNamespaces(\n            namespaces,\n            event.namespace.split(eventsNamespacesSeparator)\n          )\n        )\n          return;\n        var thisArg = ele;\n\n        if (selector) {\n          var target = event.target;\n\n          while (!matches(target, selector)) {\n            if (target === ele) return;\n            target = target.parentNode;\n            if (!target) return;\n          }\n\n          thisArg = target;\n        }\n\n        event.namespace = event.namespace || '';\n        var returnValue = callback.call(thisArg, event, event.data);\n\n        if (_one) {\n          removeEvent(ele, name, namespaces, finalCallback);\n        }\n\n        if (returnValue === false) {\n          event.preventDefault();\n          event.stopPropagation();\n        }\n      };\n\n      finalCallback.guid = callback.guid = callback.guid || guid++;\n      addEvent(ele, name, namespaces, finalCallback);\n    });\n  });\n  return this;\n}; // @require core/cash.js\n// @require ./on.js\n\nfn.one = function(eventFullName, delegate, callback) {\n  return this.on(eventFullName, delegate, callback, true);\n}; // @require core/cash.js\n// @require core/variables.js\n\nfn.ready = function(callback) {\n  var finalCallback = function finalCallback() {\n    return callback(cash);\n  };\n\n  if (doc.readyState !== 'loading') {\n    setTimeout(finalCallback);\n  } else {\n    doc.addEventListener('DOMContentLoaded', finalCallback);\n  }\n\n  return this;\n}; // @require core/cash.js\n// @require core/type_checking.js\n// @require core/variables.js\n// @require collection/each.js\n// @require ./helpers/parse_event_name.js\n// @require ./helpers/variables.js\n\nfn.trigger = function(eventFullName, data) {\n  var evt = eventFullName;\n\n  if (isString(eventFullName)) {\n    var _parseEventName3 = parseEventName(eventFullName),\n      name = _parseEventName3[0],\n      namespaces = _parseEventName3[1];\n\n    evt = doc.createEvent('HTMLEvents');\n    evt.initEvent(name, true, true);\n    evt.namespace = namespaces.join(eventsNamespacesSeparator);\n  }\n\n  evt.data = data;\n  return this.each(function(i, ele) {\n    ele.dispatchEvent(evt);\n  });\n}; // @optional ./off.js\n// @optional ./on.js\n// @optional ./one.js\n// @optional ./ready.js\n// @optional ./trigger.js\n// @require core/each.js\n\nfunction getValueSelectMultiple(ele) {\n  var values = [];\n  each(ele.options, function(option) {\n    if (option.selected && !option.disabled && !option.parentNode.disabled) {\n      values.push(option.value);\n    }\n  });\n  return values;\n}\n\nfunction getValueSelectSingle(ele) {\n  return ele.selectedIndex < 0 ? null : ele.options[ele.selectedIndex].value;\n} // @require ./get_value_select_single.js\n// @require ./get_value_select_multiple.js\n\nvar selectOneRe = /select-one/i,\n  selectMultipleRe = /select-multiple/i;\n\nfunction getValue(ele) {\n  var type = ele.type;\n  if (selectOneRe.test(type)) return getValueSelectSingle(ele);\n  if (selectMultipleRe.test(type)) return getValueSelectMultiple(ele);\n  return ele.value;\n}\n\nvar queryEncodeSpaceRe = /%20/g;\n\nfunction queryEncode(prop, value) {\n  return (\n    '&' +\n    encodeURIComponent(prop) +\n    '=' +\n    encodeURIComponent(value).replace(queryEncodeSpaceRe, '+')\n  );\n} // @require core/cash.js\n// @require core/each.js\n// @require core/type_checking.js\n// @require ./helpers/get_value.js\n// @require ./helpers/query_encode.js\n\nvar skippableRe = /file|reset|submit|button|image/i,\n  checkableRe = /radio|checkbox/i;\n\nfn.serialize = function() {\n  var query = '';\n  this.each(function(i, ele) {\n    each(ele.elements || [ele], function(ele) {\n      if (ele.disabled || !ele.name || ele.tagName === 'FIELDSET') return;\n      if (skippableRe.test(ele.type)) return;\n      if (checkableRe.test(ele.type) && !ele.checked) return;\n      var value = getValue(ele);\n      if (value === undefined) return;\n      var values = isArray(value) ? value : [value];\n      each(values, function(value) {\n        query += queryEncode(ele.name, value);\n      });\n    });\n  });\n  return query.substr(1);\n}; // @require core/cash.js\n// @require core/each.js\n// @require core/type_checking.js\n// @require collection/each.js\n// @require ./helpers/get_value.js\n\nfn.val = function(value) {\n  if (value === undefined) return this[0] && getValue(this[0]);\n  return this.each(function(i, ele) {\n    var isMultiple = selectMultipleRe.test(ele.type),\n      eleValue = value === null ? (isMultiple ? [] : '') : value;\n\n    if (isMultiple && isArray(eleValue)) {\n      each(ele.options, function(option) {\n        option.selected = eleValue.indexOf(option.value) >= 0;\n      });\n    } else {\n      ele.value = eleValue;\n    }\n  });\n}; // @optional ./serialize.js\n// @optional ./val.js\n// @require core/cash.js\n// @require collection/map.js\n\nfn.clone = function() {\n  return this.map(function(i, ele) {\n    return ele.cloneNode(true);\n  });\n}; // @require core/cash.js\n// @require collection/each.js\n\nfn.detach = function() {\n  return this.each(function(i, ele) {\n    if (ele.parentNode) {\n      ele.parentNode.removeChild(ele);\n    }\n  });\n}; // @require ./cash.js\n// @require ./variables.js\n// @require ./type_checking.js\n// @require collection/get.js\n// @require manipulation/detach.js\n\nvar fragmentRe = /^\\s*<(\\w+)[^>]*>/,\n  singleTagRe = /^\\s*<(\\w+)\\s*\\/?>(?:<\\/\\1>)?\\s*$/;\nvar containers;\n\nfunction initContainers() {\n  if (containers) return;\n  var table = doc.createElement('table'),\n    tr = doc.createElement('tr');\n  containers = {\n    '*': doc.createElement('div'),\n    tr: doc.createElement('tbody'),\n    td: tr,\n    th: tr,\n    thead: table,\n    tbody: table,\n    tfoot: table\n  };\n}\n\nfunction parseHTML(html) {\n  initContainers();\n  if (!isString(html)) return [];\n  if (singleTagRe.test(html)) return [doc.createElement(RegExp.$1)];\n  var fragment = fragmentRe.test(html) && RegExp.$1,\n    container = containers[fragment] || containers['*'];\n  container.innerHTML = html;\n  return cash(container.childNodes)\n    .detach()\n    .get();\n}\n\ncash.parseHTML = parseHTML; // @optional ./camel_case.js\n// @optional ./each.js\n// @optional ./export.js\n// @optional ./extend.js\n// @optional ./find.js\n// @optional ./get_compare_function.js\n// @optional ./get_split_values.js\n// @optional ./guid.js\n// @optional ./matches.js\n// @optional ./parse_html.js\n// @optional ./unique.js\n// @optional ./variables.js\n// @require ./cash.js\n// @require ./type_checking.js\n// @require core/cash.js\n\nfn.empty = function() {\n  var ele = this[0];\n\n  if (ele) {\n    while (ele.firstChild) {\n      ele.removeChild(ele.firstChild);\n    }\n  }\n\n  return this;\n};\n\nfunction insertElement(ele, child, prepend) {\n  if (prepend) {\n    ele.insertBefore(child, ele.childNodes[0]);\n  } else {\n    ele.appendChild(child);\n  }\n} // @require core/each.js\n// @require core/type_checking.js\n// @require ./insert_element.js\n\nfunction insertContent(parent, child, prepend) {\n  if (child === undefined) return;\n  var isStr = isString(child);\n\n  if (!isStr && child.length) {\n    each(child, function(ele) {\n      return insertContent(parent, ele, prepend);\n    });\n  } else {\n    each(\n      parent,\n      isStr\n        ? function(ele) {\n            ele.insertAdjacentHTML(prepend ? 'afterbegin' : 'beforeend', child);\n          }\n        : function(ele, index) {\n            return insertElement(\n              ele,\n              !index ? child : child.cloneNode(true),\n              prepend\n            );\n          }\n    );\n  }\n} // @require core/cash.js\n// @require core/each.js\n// @require ./helpers/insert_content.js\n\nfn.append = function() {\n  var _this4 = this;\n\n  each(arguments, function(content) {\n    insertContent(_this4, content);\n  });\n  return this;\n}; // @require core/cash.js\n// @require ./helpers/insert_content.js\n\nfn.appendTo = function(parent) {\n  insertContent(cash(parent), this);\n  return this;\n}; // @require core/cash.js\n// @require collection/each.js\n\nfn.html = function(content) {\n  if (content === undefined) return this[0] && this[0].innerHTML;\n  var source = content.nodeType ? content[0].outerHTML : content;\n  return this.each(function(i, ele) {\n    ele.innerHTML = source;\n  });\n}; // @require core/cash.js\n// @require collection/each.js\n\nfn.insertAfter = function(content) {\n  var _this5 = this;\n\n  cash(content).each(function(index, ele) {\n    var parent = ele.parentNode;\n\n    _this5.each(function(i, e) {\n      parent.insertBefore(!index ? e : e.cloneNode(true), ele.nextSibling);\n    });\n  });\n  return this;\n}; // @require core/cash.js\n// @require core/each.js\n// @require core/variables.js\n// @require collection/slice.js\n// @require ./insert_after.js\n\nfn.after = function() {\n  var _this6 = this;\n\n  each(reverse.apply(arguments), function(content) {\n    reverse.apply(cash(content).slice()).insertAfter(_this6);\n  });\n  return this;\n}; // @require core/cash.js\n// @require collection/each.js\n\nfn.insertBefore = function(selector) {\n  var _this7 = this;\n\n  cash(selector).each(function(index, ele) {\n    var parent = ele.parentNode;\n\n    _this7.each(function(i, e) {\n      parent.insertBefore(!index ? e : e.cloneNode(true), ele);\n    });\n  });\n  return this;\n}; // @require core/cash.js\n// @require core/each.js\n// @require ./insert_before.js\n\nfn.before = function() {\n  var _this8 = this;\n\n  each(arguments, function(content) {\n    cash(content).insertBefore(_this8);\n  });\n  return this;\n}; // @require core/cash.js\n// @require core/each.js\n// @require ./helpers/insert_content.js\n\nfn.prepend = function() {\n  var _this9 = this;\n\n  each(arguments, function(content) {\n    insertContent(_this9, content, true);\n  });\n  return this;\n}; // @require core/cash.js\n// @require core/variables.js\n// @require collection/slice.js\n// @require ./helpers/insert_content.js\n\nfn.prependTo = function(parent) {\n  insertContent(cash(parent), reverse.apply(this.slice()), true);\n  return this;\n}; // @require core/cash.js\n// @require events/off.js\n// @require ./detach.js\n\nfn.remove = function() {\n  return this.detach().off();\n}; // @require core/cash.js\n// @require collection/each.js\n// @require collection/slice.js\n// @require ./after.js\n// @require ./remove.js\n\nfn.replaceWith = function(content) {\n  var _this10 = this;\n\n  return this.each(function(i, ele) {\n    var parent = ele.parentNode;\n    if (!parent) return;\n    var $eles = i ? cash(content).clone() : cash(content);\n\n    if (!$eles[0]) {\n      _this10.remove();\n\n      return false;\n    }\n\n    parent.replaceChild($eles[0], ele);\n    cash($eles[0]).after($eles.slice(1));\n  });\n}; // @require core/cash.js\n// @require ./replace_with.js\n\nfn.replaceAll = function(content) {\n  cash(content).replaceWith(this);\n  return this;\n}; // @require core/cash.js\n// @require collection/each.js\n\nfn.text = function(content) {\n  if (content === undefined) return this[0] ? this[0].textContent : '';\n  return this.each(function(i, ele) {\n    ele.textContent = content;\n  });\n}; // @optional ./after.js\n// @optional ./append.js\n// @optional ./append_to.js\n// @optional ./before.js\n// @optional ./clone.js\n// @optional ./detach.js\n// @optional ./empty.js\n// @optional ./html.js\n// @optional ./insert_after.js\n// @optional ./insert_before.js\n// @optional ./prepend.js\n// @optional ./prepend_to.js\n// @optional ./remove.js\n// @optional ./replace_all.js\n// @optional ./replace_with.js\n// @optional ./text.js\n// @require core/cash.js\n// @require core/variables.js\n\nvar docEle = doc && doc.documentElement;\n\nfn.offset = function() {\n  var ele = this[0];\n  if (!ele) return;\n  var rect = ele.getBoundingClientRect();\n  return {\n    top: rect.top + win.pageYOffset - docEle.clientTop,\n    left: rect.left + win.pageXOffset - docEle.clientLeft\n  };\n}; // @require core/cash.js\n\nfn.offsetParent = function() {\n  return cash(this[0] && this[0].offsetParent);\n}; // @require core/cash.js\n\nfn.position = function() {\n  var ele = this[0];\n  if (!ele) return;\n  return {\n    left: ele.offsetLeft,\n    top: ele.offsetTop\n  };\n}; // @optional ./offset.js\n// @optional ./offset_parent.js\n// @optional ./position.js\n// @require core/cash.js\n// @require core/matches.js\n// @require core/unique.js\n// @require collection/each.js\n// @require collection/filter.js\n\nfn.children = function(selector) {\n  var result = [];\n  this.each(function(i, ele) {\n    push.apply(result, ele.children);\n  });\n  result = cash(unique(result));\n  if (!selector) return result;\n  return result.filter(function(i, ele) {\n    return matches(ele, selector);\n  });\n}; // @require core/cash.js\n// @require core/unique.js\n// @require collection/each.js\n\nfn.contents = function() {\n  var result = [];\n  this.each(function(i, ele) {\n    push.apply(\n      result,\n      ele.tagName === 'IFRAME' ? [ele.contentDocument] : ele.childNodes\n    );\n  });\n  return cash(result.length && unique(result));\n}; // @require core/cash.js\n// @require core/unique.js\n// @require core/find.js\n// @require core/variables.js\n\nfn.find = function(selector) {\n  var result = [];\n\n  for (var i = 0, l = this.length; i < l; i++) {\n    var found = find(selector, this[i]);\n\n    if (found.length) {\n      push.apply(result, found);\n    }\n  }\n\n  return cash(result.length && unique(result));\n}; // @require core/cash.js\n// @require core/find.js\n// @require core/type_checking.js\n// @require collection/filter.js\n\nfn.has = function(selector) {\n  var comparator = isString(selector)\n    ? function(i, ele) {\n        return !!find(selector, ele).length;\n      }\n    : function(i, ele) {\n        return ele.contains(selector);\n      };\n  return this.filter(comparator);\n}; // @require core/cash.js\n// @require core/get_compare_function.js\n// @require collection/each.js\n\nfn.is = function(selector) {\n  if (!selector || !this[0]) return false;\n  var comparator = getCompareFunction(selector);\n  var check = false;\n  this.each(function(i, ele) {\n    check = comparator(i, ele, selector);\n    return !check;\n  });\n  return check;\n}; // @require core/cash.js\n\nfn.next = function() {\n  return cash(this[0] && this[0].nextElementSibling);\n}; // @require core/cash.js\n// @require core/get_compare_function.js\n// @require collection/filter.js\n\nfn.not = function(selector) {\n  if (!selector || !this[0]) return this;\n  var comparator = getCompareFunction(selector);\n  return this.filter(function(i, ele) {\n    return !comparator(i, ele, selector);\n  });\n}; // @require core/cash.js\n// @require core/unique.js\n// @require collection/each.js\n\nfn.parent = function() {\n  var result = [];\n  this.each(function(i, ele) {\n    if (ele && ele.parentNode) {\n      result.push(ele.parentNode);\n    }\n  });\n  return cash(unique(result));\n}; // @require core/cash.js\n// @require core/variables.js\n// @require traversal/children.js\n// @require traversal/parent.js\n// @require ./get.js\n//FIXME Ugly file name, is there a better option?\n\nfn.index = function(ele) {\n  var child = ele ? cash(ele)[0] : this[0],\n    collection = ele\n      ? this\n      : cash(child)\n          .parent()\n          .children();\n  return indexOf.call(collection, child);\n}; // @optional ./add.js\n// @optional ./each.js\n// @optional ./eq.js\n// @optional ./filter.js\n// @optional ./first.js\n// @optional ./get.js\n// @optional ./indexFn.js\n// @optional ./last.js\n// @optional ./map.js\n// @optional ./slice.js\n// @require core/cash.js\n// @require collection/filter.js\n// @require ./is.js\n// @require ./parent.js\n\nfn.closest = function(selector) {\n  if (!selector || !this[0]) return cash();\n  if (this.is(selector)) return this.filter(selector);\n  return this.parent().closest(selector);\n}; // @require core/cash.js\n// @require core/matches.js\n// @require core/unique.js\n// @require core/variables.js\n// @require collection/each.js\n\nfn.parents = function(selector) {\n  var result = [];\n  var last;\n  this.each(function(i, ele) {\n    last = ele;\n\n    while (last && last.parentNode && last !== doc.body.parentNode) {\n      last = last.parentNode;\n\n      if (!selector || (selector && matches(last, selector))) {\n        result.push(last);\n      }\n    }\n  });\n  return cash(unique(result));\n}; // @require core/cash.js\n\nfn.prev = function() {\n  return cash(this[0] && this[0].previousElementSibling);\n}; // @require core/cash.js\n// @require collection/filter.js\n// @require ./children.js\n// @require ./parent.js\n\nfn.siblings = function() {\n  var ele = this[0];\n  return this.parent()\n    .children()\n    .filter(function(i, child) {\n      return child !== ele;\n    });\n}; // @optional ./children.js\n// @optional ./closest.js\n// @optional ./contents.js\n// @optional ./find.js\n// @optional ./has.js\n// @optional ./is.js\n// @optional ./next.js\n// @optional ./not.js\n// @optional ./parent.js\n// @optional ./parents.js\n// @optional ./prev.js\n// @optional ./siblings.js\n// @optional attributes/index.js\n// @optional collection/index.js\n// @optional css/index.js\n// @optional data/index.js\n// @optional dimensions/index.js\n// @optional events/index.js\n// @optional forms/index.js\n// @optional manipulation/index.js\n// @optional offset/index.js\n// @optional traversal/index.js\n// @require core/index.js\nexport default cash;\n","// DOM helpers\nimport { each, isUndefined, isString } from 'underscore';\n\nconst KEY_TAG = 'tag';\nconst KEY_ATTR = 'attributes';\nconst KEY_CHILD = 'children';\n\nexport const motionsEv =\n  'transitionend oTransitionEnd transitionend webkitTransitionEnd';\n\nexport const isDoc = el => el && el.nodeType === 9;\n\nexport const removeEl = el => {\n  const parent = el && el.parentNode;\n  parent && parent.removeChild(el);\n};\n\nexport const find = (el, query) => el.querySelectorAll(query);\n\nexport const attrUp = (el, attrs = {}) =>\n  el &&\n  el.setAttribute &&\n  each(attrs, (value, key) => el.setAttribute(key, value));\n\nexport const isVisible = el => {\n  return (\n    el && !!(el.offsetWidth || el.offsetHeight || el.getClientRects().length)\n  );\n};\n\nexport const empty = node => {\n  while (node.firstChild) node.removeChild(node.firstChild);\n};\n\nexport const replaceWith = (oldEl, newEl) => {\n  oldEl.parentNode.replaceChild(newEl, oldEl);\n};\n\nexport const appendAtIndex = (parent, child, index) => {\n  const { childNodes } = parent;\n  const total = childNodes.length;\n  const at = isUndefined(index) ? total : index;\n\n  if (isString(child)) {\n    parent.insertAdjacentHTML('beforeEnd', child);\n    child = parent.lastChild;\n    parent.removeChild(child);\n  }\n\n  if (at >= total) {\n    parent.appendChild(child);\n  } else {\n    parent.insertBefore(child, childNodes[at]);\n  }\n};\n\nexport const append = (parent, child) => appendAtIndex(parent, child);\n\nexport const createEl = (tag, attrs = '', child) => {\n  const el = document.createElement(tag);\n  attrs && each(attrs, (value, key) => el.setAttribute(key, value));\n\n  if (child) {\n    if (isString(child)) el.innerHTML = child;\n    else el.appendChild(child);\n  }\n\n  return el;\n};\n\nexport const createText = str => document.createTextNode(str);\n\n// Unfortunately just creating `KeyboardEvent(e.type, e)` is not enough,\n// the keyCode/which will be always `0`. Even if it's an old/deprecated\n// property keymaster (and many others) still use it... using `defineProperty`\n// hack seems the only way\nexport const createCustomEvent = (e, cls) => {\n  let oEvent;\n  const { type } = e;\n  try {\n    oEvent = new window[cls](type, e);\n  } catch (err) {\n    oEvent = document.createEvent(cls);\n    oEvent.initEvent(type, true, true);\n  }\n  oEvent._parentEvent = e;\n  if (type.indexOf('key') === 0) {\n    oEvent.keyCodeVal = e.keyCode;\n    ['keyCode', 'which'].forEach(prop => {\n      Object.defineProperty(oEvent, prop, {\n        get() {\n          return this.keyCodeVal;\n        }\n      });\n    });\n  }\n  return oEvent;\n};\n\n/**\n * Append an array of vNodes to an element\n * @param {HTMLElement} node HTML element\n * @param {Array} vNodes Array of node objects\n */\nexport const appendVNodes = (node, vNodes = []) => {\n  const vNodesArr = Array.isArray(vNodes) ? vNodes : [vNodes];\n  vNodesArr.forEach(vnode => {\n    const tag = vnode[KEY_TAG] || 'div';\n    const attr = vnode[KEY_ATTR] || {};\n    const el = document.createElement(tag);\n\n    each(attr, (value, key) => {\n      el.setAttribute(key, value);\n    });\n\n    node.appendChild(el);\n  });\n};\n","/**\n * @this {Promise}\n */\nfunction finallyConstructor(callback) {\n  var constructor = this.constructor;\n  return this.then(\n    function(value) {\n      // @ts-ignore\n      return constructor.resolve(callback()).then(function() {\n        return value;\n      });\n    },\n    function(reason) {\n      // @ts-ignore\n      return constructor.resolve(callback()).then(function() {\n        // @ts-ignore\n        return constructor.reject(reason);\n      });\n    }\n  );\n}\n\nexport default finallyConstructor;\n","function allSettled(arr) {\n  var P = this;\n  return new P(function(resolve, reject) {\n    if (!(arr && typeof arr.length !== 'undefined')) {\n      return reject(\n        new TypeError(\n          typeof arr +\n            ' ' +\n            arr +\n            ' is not iterable(cannot read property Symbol(Symbol.iterator))'\n        )\n      );\n    }\n    var args = Array.prototype.slice.call(arr);\n    if (args.length === 0) return resolve([]);\n    var remaining = args.length;\n\n    function res(i, val) {\n      if (val && (typeof val === 'object' || typeof val === 'function')) {\n        var then = val.then;\n        if (typeof then === 'function') {\n          then.call(\n            val,\n            function(val) {\n              res(i, val);\n            },\n            function(e) {\n              args[i] = { status: 'rejected', reason: e };\n              if (--remaining === 0) {\n                resolve(args);\n              }\n            }\n          );\n          return;\n        }\n      }\n      args[i] = { status: 'fulfilled', value: val };\n      if (--remaining === 0) {\n        resolve(args);\n      }\n    }\n\n    for (var i = 0; i < args.length; i++) {\n      res(i, args[i]);\n    }\n  });\n}\n\nexport default allSettled;\n","import promiseFinally from './finally';\nimport allSettled from './allSettled';\n\n// Store setTimeout reference so promise-polyfill will be unaffected by\n// other code modifying setTimeout (like sinon.useFakeTimers())\nvar setTimeoutFunc = setTimeout;\n\nfunction isArray(x) {\n  return Boolean(x && typeof x.length !== 'undefined');\n}\n\nfunction noop() {}\n\n// Polyfill for Function.prototype.bind\nfunction bind(fn, thisArg) {\n  return function() {\n    fn.apply(thisArg, arguments);\n  };\n}\n\n/**\n * @constructor\n * @param {Function} fn\n */\nfunction Promise(fn) {\n  if (!(this instanceof Promise))\n    throw new TypeError('Promises must be constructed via new');\n  if (typeof fn !== 'function') throw new TypeError('not a function');\n  /** @type {!number} */\n  this._state = 0;\n  /** @type {!boolean} */\n  this._handled = false;\n  /** @type {Promise|undefined} */\n  this._value = undefined;\n  /** @type {!Array<!Function>} */\n  this._deferreds = [];\n\n  doResolve(fn, this);\n}\n\nfunction handle(self, deferred) {\n  while (self._state === 3) {\n    self = self._value;\n  }\n  if (self._state === 0) {\n    self._deferreds.push(deferred);\n    return;\n  }\n  self._handled = true;\n  Promise._immediateFn(function() {\n    var cb = self._state === 1 ? deferred.onFulfilled : deferred.onRejected;\n    if (cb === null) {\n      (self._state === 1 ? resolve : reject)(deferred.promise, self._value);\n      return;\n    }\n    var ret;\n    try {\n      ret = cb(self._value);\n    } catch (e) {\n      reject(deferred.promise, e);\n      return;\n    }\n    resolve(deferred.promise, ret);\n  });\n}\n\nfunction resolve(self, newValue) {\n  try {\n    // Promise Resolution Procedure: https://github.com/promises-aplus/promises-spec#the-promise-resolution-procedure\n    if (newValue === self)\n      throw new TypeError('A promise cannot be resolved with itself.');\n    if (\n      newValue &&\n      (typeof newValue === 'object' || typeof newValue === 'function')\n    ) {\n      var then = newValue.then;\n      if (newValue instanceof Promise) {\n        self._state = 3;\n        self._value = newValue;\n        finale(self);\n        return;\n      } else if (typeof then === 'function') {\n        doResolve(bind(then, newValue), self);\n        return;\n      }\n    }\n    self._state = 1;\n    self._value = newValue;\n    finale(self);\n  } catch (e) {\n    reject(self, e);\n  }\n}\n\nfunction reject(self, newValue) {\n  self._state = 2;\n  self._value = newValue;\n  finale(self);\n}\n\nfunction finale(self) {\n  if (self._state === 2 && self._deferreds.length === 0) {\n    Promise._immediateFn(function() {\n      if (!self._handled) {\n        Promise._unhandledRejectionFn(self._value);\n      }\n    });\n  }\n\n  for (var i = 0, len = self._deferreds.length; i < len; i++) {\n    handle(self, self._deferreds[i]);\n  }\n  self._deferreds = null;\n}\n\n/**\n * @constructor\n */\nfunction Handler(onFulfilled, onRejected, promise) {\n  this.onFulfilled = typeof onFulfilled === 'function' ? onFulfilled : null;\n  this.onRejected = typeof onRejected === 'function' ? onRejected : null;\n  this.promise = promise;\n}\n\n/**\n * Take a potentially misbehaving resolver function and make sure\n * onFulfilled and onRejected are only called once.\n *\n * Makes no guarantees about asynchrony.\n */\nfunction doResolve(fn, self) {\n  var done = false;\n  try {\n    fn(\n      function(value) {\n        if (done) return;\n        done = true;\n        resolve(self, value);\n      },\n      function(reason) {\n        if (done) return;\n        done = true;\n        reject(self, reason);\n      }\n    );\n  } catch (ex) {\n    if (done) return;\n    done = true;\n    reject(self, ex);\n  }\n}\n\nPromise.prototype['catch'] = function(onRejected) {\n  return this.then(null, onRejected);\n};\n\nPromise.prototype.then = function(onFulfilled, onRejected) {\n  // @ts-ignore\n  var prom = new this.constructor(noop);\n\n  handle(this, new Handler(onFulfilled, onRejected, prom));\n  return prom;\n};\n\nPromise.prototype['finally'] = promiseFinally;\n\nPromise.all = function(arr) {\n  return new Promise(function(resolve, reject) {\n    if (!isArray(arr)) {\n      return reject(new TypeError('Promise.all accepts an array'));\n    }\n\n    var args = Array.prototype.slice.call(arr);\n    if (args.length === 0) return resolve([]);\n    var remaining = args.length;\n\n    function res(i, val) {\n      try {\n        if (val && (typeof val === 'object' || typeof val === 'function')) {\n          var then = val.then;\n          if (typeof then === 'function') {\n            then.call(\n              val,\n              function(val) {\n                res(i, val);\n              },\n              reject\n            );\n            return;\n          }\n        }\n        args[i] = val;\n        if (--remaining === 0) {\n          resolve(args);\n        }\n      } catch (ex) {\n        reject(ex);\n      }\n    }\n\n    for (var i = 0; i < args.length; i++) {\n      res(i, args[i]);\n    }\n  });\n};\n\nPromise.allSettled = allSettled;\n\nPromise.resolve = function(value) {\n  if (value && typeof value === 'object' && value.constructor === Promise) {\n    return value;\n  }\n\n  return new Promise(function(resolve) {\n    resolve(value);\n  });\n};\n\nPromise.reject = function(value) {\n  return new Promise(function(resolve, reject) {\n    reject(value);\n  });\n};\n\nPromise.race = function(arr) {\n  return new Promise(function(resolve, reject) {\n    if (!isArray(arr)) {\n      return reject(new TypeError('Promise.race accepts an array'));\n    }\n\n    for (var i = 0, len = arr.length; i < len; i++) {\n      Promise.resolve(arr[i]).then(resolve, reject);\n    }\n  });\n};\n\n// Use polyfill for setImmediate for performance gains\nPromise._immediateFn =\n  // @ts-ignore\n  (typeof setImmediate === 'function' &&\n    function(fn) {\n      // @ts-ignore\n      setImmediate(fn);\n    }) ||\n  function(fn) {\n    setTimeoutFunc(fn, 0);\n  };\n\nPromise._unhandledRejectionFn = function _unhandledRejectionFn(err) {\n  if (typeof console !== 'undefined' && console) {\n    console.warn('Possible Unhandled Promise Rejection:', err); // eslint-disable-line no-console\n  }\n};\n\nexport default Promise;\n","import Promise from 'promise-polyfill';\nimport { hasWin } from 'utils/mixins';\n\nif (hasWin()) {\n  window.Promise = window.Promise || Promise;\n}\n\nexport default typeof fetch == 'function'\n  ? fetch.bind()\n  : (url, options) => {\n      return new Promise((res, rej) => {\n        const req = new XMLHttpRequest();\n        req.open(options.method || 'get', url);\n        req.withCredentials = options.credentials == 'include';\n\n        for (let k in options.headers || {}) {\n          req.setRequestHeader(k, options.headers[k]);\n        }\n\n        req.onload = e =>\n          res({\n            status: req.status,\n            statusText: req.statusText,\n            text: () => Promise.resolve(req.responseText)\n          });\n        req.onerror = rej;\n\n        // Actually, fetch doesn't support onProgress feature\n        if (req.upload && options.onProgress) {\n          req.upload.onprogress = options.onProgress;\n        }\n\n        // Include body only if present\n        options.body ? req.send(options.body) : req.send();\n      });\n    };\n","import { escape } from './mixins';\n\n/**\n * Safe ES6 tagged template strings\n * @param {Array<String>} literals\n * @param  {Array<String>} substs\n * @returns {String}\n * @example\n * const str = '<b>Hello</b>';\n * const strHtml = html`Escaped ${str}, unescaped $${str}`;\n */\nexport default function html(literals, ...substs) {\n  const { raw } = literals;\n\n  return raw.reduce((acc, lit, i) => {\n    let subst = substs[i - 1];\n    const last = raw[i - 1];\n\n    if (Array.isArray(subst)) {\n      subst = subst.join('');\n    } else if (last && last.slice(-1) === '$') {\n      // If the interpolation is preceded by a dollar sign, it won't be escaped\n      acc = acc.slice(0, -1);\n    } else {\n      subst = escape(subst);\n    }\n\n    return acc + subst + lit;\n  });\n}\n","import Backbone from 'backbone';\nimport { isString, isFunction, isArray, result, each, bindAll } from 'underscore';\nimport { on, off, matches, getElement, getPointerEvent, isTextNode, getModel } from 'utils/mixins';\nimport { getComponentIds } from '../dom_components/model/Components';\n\nconst $ = Backbone.$;\n\nconst noop = () => {};\n\nexport default Backbone.View.extend({\n  initialize(opt) {\n    this.opt = opt || {};\n    bindAll(this, 'startSort', 'onMove', 'endMove', 'rollback', 'updateOffset', 'moveDragHelper');\n    var o = opt || {};\n    this.elT = 0;\n    this.elL = 0;\n    this.borderOffset = o.borderOffset || 10;\n\n    var el = o.container;\n    this.el = typeof el === 'string' ? document.querySelector(el) : el;\n    this.$el = $(this.el);\n\n    this.containerSel = o.containerSel || 'div';\n    this.itemSel = o.itemSel || 'div';\n    this.draggable = o.draggable || true;\n    this.nested = o.nested || 0;\n    this.pfx = o.pfx || '';\n    this.ppfx = o.ppfx || '';\n    this.freezeClass = o.freezeClass || this.pfx + 'freezed';\n    this.onStart = o.onStart || noop;\n    this.onEndMove = o.onEndMove || '';\n    this.customTarget = o.customTarget;\n    this.onEnd = o.onEnd;\n    this.direction = o.direction || 'v'; // v (vertical), h (horizontal), a (auto)\n    this.onMoveClb = o.onMove || '';\n    this.relative = o.relative || 0;\n    this.ignoreViewChildren = o.ignoreViewChildren || 0;\n    this.ignoreModels = o.ignoreModels || 0;\n    this.plh = o.placer || '';\n    // Frame offset\n    this.wmargin = o.wmargin || 0;\n    this.offTop = o.offsetTop || 0;\n    this.offLeft = o.offsetLeft || 0;\n    this.document = o.document || document;\n    this.$document = $(this.document);\n    this.dropContent = null;\n    this.em = o.em || null;\n    this.dragHelper = null;\n    this.canvasRelative = o.canvasRelative || 0;\n    this.selectOnEnd = !o.avoidSelectOnEnd;\n    this.scale = o.scale;\n    this.activeTextModel = null;\n\n    if (this.em && this.em.on) {\n      this.em.on('change:canvasOffset', this.updateOffset);\n      this.updateOffset();\n    }\n  },\n\n  getScale() {\n    return result(this, scale) || 1;\n  },\n\n  getContainerEl(elem) {\n    if (elem) this.el = elem;\n\n    if (!this.el) {\n      var el = this.opt.container;\n      this.el = typeof el === 'string' ? document.querySelector(el) : el;\n      this.$el = $(this.el);\n    }\n    return this.el;\n  },\n\n  getDocuments(el) {\n    const em = this.em;\n    const elDoc = el ? el.ownerDocument : em && em.get('Canvas').getBody().ownerDocument;\n    const docs = [document];\n    elDoc && docs.push(elDoc);\n    return docs;\n  },\n\n  /**\n   * Triggered when the offset of the editro is changed\n   */\n  updateOffset() {\n    const offset = this.em?.get('canvasOffset') || {};\n    this.offTop = offset.top;\n    this.offLeft = offset.left;\n  },\n\n  /**\n   * Set content to drop\n   * @param {String|Object} content\n   */\n  setDropContent(content) {\n    this.dropModel = null;\n    this.dropContent = content;\n  },\n\n  updateTextViewCursorPosition(e) {\n    const { em } = this;\n    if (!em) return;\n    const Canvas = em.get('Canvas');\n    const targetDoc = Canvas.getDocument();\n    let range = null;\n\n    if (targetDoc.caretRangeFromPoint) {\n      // Chrome\n      const poiner = getPointerEvent(e);\n      range = targetDoc.caretRangeFromPoint(poiner.clientX, poiner.clientY);\n    } else if (e.rangeParent) {\n      // Firefox\n      range = targetDoc.createRange();\n      range.setStart(e.rangeParent, e.rangeOffset);\n    }\n\n    const sel = Canvas.getWindow().getSelection();\n    Canvas.getFrameEl().focus();\n    sel.removeAllRanges();\n    range && sel.addRange(range);\n    this.setContentEditable(this.activeTextModel, true);\n  },\n\n  setContentEditable(model, mode) {\n    if (model) {\n      const el = model.getEl();\n      if (el.contentEditable != mode) el.contentEditable = mode;\n    }\n  },\n\n  /**\n   * Toggle cursor while sorting\n   * @param {Boolean} active\n   */\n  toggleSortCursor(active) {\n    const { em } = this;\n    const cv = em && em.get('Canvas');\n\n    // Avoid updating body className as it causes a huge repaint\n    // Noticeable with \"fast\" drag of blocks\n    cv && (active ? cv.startAutoscroll() : cv.stopAutoscroll());\n  },\n\n  /**\n   * Set drag helper\n   * @param {HTMLElement} el\n   * @param {Event} event\n   */\n  setDragHelper(el, event) {\n    const ev = event || '';\n    const clonedEl = el.cloneNode(1);\n    const rect = el.getBoundingClientRect();\n    const computed = getComputedStyle(el);\n    let style = '';\n\n    for (var i = 0; i < computed.length; i++) {\n      const prop = computed[i];\n      style += `${prop}:${computed.getPropertyValue(prop)};`;\n    }\n\n    document.body.appendChild(clonedEl);\n    clonedEl.className += ` ${this.pfx}bdrag`;\n    clonedEl.setAttribute('style', style);\n    this.dragHelper = clonedEl;\n    clonedEl.style.width = `${rect.width}px`;\n    clonedEl.style.height = `${rect.height}px`;\n    ev && this.moveDragHelper(ev);\n\n    // Listen mouse move events\n    if (this.em) {\n      $(this.em.get('Canvas').getBody().ownerDocument)\n        .off('mousemove', this.moveDragHelper)\n        .on('mousemove', this.moveDragHelper);\n    }\n    $(document).off('mousemove', this.moveDragHelper).on('mousemove', this.moveDragHelper);\n  },\n\n  /**\n   * Update the position of the helper\n   * @param  {Event} e\n   */\n  moveDragHelper(e) {\n    const doc = e.target.ownerDocument;\n\n    if (!this.dragHelper || !doc) {\n      return;\n    }\n\n    let posY = e.pageY;\n    let posX = e.pageX;\n    let addTop = 0;\n    let addLeft = 0;\n    const window = doc.defaultView || doc.parentWindow;\n    const frame = window.frameElement;\n    const dragHelperStyle = this.dragHelper.style;\n\n    // If frame is present that means mouse has moved over the editor's canvas,\n    // which is rendered inside the iframe and the mouse move event comes from\n    // the iframe, not the parent window. Mouse position relative to the frame's\n    // parent window needs to account for the frame's position relative to the\n    // parent window.\n    if (frame) {\n      const frameRect = frame.getBoundingClientRect();\n      addTop = frameRect.top + document.documentElement.scrollTop;\n      addLeft = frameRect.left + document.documentElement.scrollLeft;\n      posY = e.clientY;\n      posX = e.clientX;\n    }\n\n    dragHelperStyle.top = posY + addTop + 'px';\n    dragHelperStyle.left = posX + addLeft + 'px';\n  },\n\n  /**\n   * Returns true if the element matches with selector\n   * @param {Element} el\n   * @param {String} selector\n   * @return {Boolean}\n   */\n  matches(el, selector, useBody) {\n    return matches.call(el, selector);\n  },\n\n  /**\n   * Closest parent\n   * @param {Element} el\n   * @param {String} selector\n   * @return {Element|null}\n   */\n  closest(el, selector) {\n    if (!el) return;\n    var elem = el.parentNode;\n    while (elem && elem.nodeType === 1) {\n      if (this.matches(elem, selector)) return elem;\n      elem = elem.parentNode;\n    }\n    return null;\n  },\n\n  /**\n   * Get the offset of the element\n   * @param  {HTMLElement} el\n   * @return {Object}\n   */\n  offset(el) {\n    var rect = el.getBoundingClientRect();\n    return {\n      top: rect.top + document.body.scrollTop,\n      left: rect.left + document.body.scrollLeft,\n    };\n  },\n\n  /**\n   * Create placeholder\n   * @return {HTMLElement}\n   */\n  createPlaceholder() {\n    var pfx = this.pfx;\n    var el = document.createElement('div');\n    var ins = document.createElement('div');\n    el.className = pfx + 'placeholder';\n    el.style.display = 'none';\n    el.style['pointer-events'] = 'none';\n    ins.className = pfx + 'placeholder-int';\n    el.appendChild(ins);\n    return el;\n  },\n\n  /**\n   * Picking component to move\n   * @param {HTMLElement} src\n   * */\n  startSort(src, opts = {}) {\n    const { em, itemSel, containerSel, plh } = this;\n    const container = this.getContainerEl(opts.container);\n    const docs = this.getDocuments(src);\n    let srcModel;\n    this.dropModel = null;\n    this.target = null;\n    this.prevTarget = null;\n    this.moved = 0;\n\n    // Check if the start element is a valid one, if not, try the closest valid one\n    if (src && !this.matches(src, `${itemSel}, ${containerSel}`)) {\n      src = this.closest(src, itemSel);\n    }\n\n    this.sourceEl = src;\n\n    // Create placeholder if doesn't exist yet\n    if (!plh) {\n      this.plh = this.createPlaceholder();\n      container.appendChild(this.plh);\n    }\n\n    if (src) {\n      srcModel = this.getSourceModel(src);\n      srcModel && srcModel.set && srcModel.set('status', 'freezed');\n      this.srcModel = srcModel;\n    }\n\n    on(container, 'mousemove dragover', this.onMove);\n    on(docs, 'mouseup dragend touchend', this.endMove);\n    on(docs, 'keydown', this.rollback);\n    this.onStart({\n      sorter: this,\n      target: srcModel,\n      parent: srcModel && srcModel.parent?.(),\n      index: srcModel && srcModel.index?.(),\n    });\n\n    // Avoid strange effects on dragging\n    em?.clearSelection();\n    this.toggleSortCursor(1);\n    em?.trigger('sorter:drag:start', src, srcModel);\n  },\n\n  /**\n   * Get the model from HTMLElement target\n   * @return {Model|null}\n   */\n  getTargetModel(el) {\n    let elem = el || this.target;\n    return $(elem).data('model');\n  },\n\n  /**\n   * Get the model of the current source element (element to drag)\n   * @return {Model}\n   */\n  getSourceModel(source, { target, avoidChildren = 1 } = {}) {\n    const { em, sourceEl } = this;\n    const src = source || sourceEl;\n    let { dropModel, dropContent } = this;\n    const isTextable = src => src && target && src.opt && src.opt.avoidChildren && this.isTextableActive(src, target);\n\n    if (dropContent && em) {\n      if (isTextable(dropModel)) {\n        dropModel = null;\n      }\n\n      if (!dropModel) {\n        const comps = em.get('DomComponents').getComponents();\n        const opts = {\n          avoidChildren,\n          avoidStore: 1,\n          avoidUpdateStyle: 1,\n        };\n        const tempModel = comps.add(dropContent, { ...opts, temporary: 1 });\n        dropModel = comps.remove(tempModel, opts);\n        dropModel = dropModel instanceof Array ? dropModel[0] : dropModel;\n        this.dropModel = dropModel;\n\n        if (isTextable(dropModel)) {\n          return this.getSourceModel(src, { target, avoidChildren: 0 });\n        }\n      }\n\n      return dropModel;\n    }\n\n    return src && $(src).data('model');\n  },\n\n  /**\n   * Highlight target\n   * @param  {Model|null} model\n   */\n  selectTargetModel(model, source) {\n    if (model instanceof Backbone.Collection) {\n      return;\n    }\n\n    // Prevents loops in Firefox\n    // https://github.com/artf/grapesjs/issues/2911\n    if (source && source === model) return;\n\n    const { targetModel } = this;\n\n    // Reset the previous model but not if it's the same as the source\n    // https://github.com/artf/grapesjs/issues/2478#issuecomment-570314736\n    if (targetModel && targetModel !== this.srcModel) {\n      targetModel.set('status', '');\n    }\n\n    if (model && model.set) {\n      model.set('status', 'selected-parent');\n      this.targetModel = model;\n    }\n  },\n\n  /**\n   * During move\n   * @param {Event} e\n   * */\n  onMove(e) {\n    const ev = e;\n    const { em, onMoveClb, plh, customTarget } = this;\n    this.moved = 1;\n\n    // Turn placeholder visibile\n    var dsp = plh.style.display;\n    if (!dsp || dsp === 'none') plh.style.display = 'block';\n\n    // Cache all necessary positions\n    var eO = this.offset(this.el);\n    this.elT = this.wmargin ? Math.abs(eO.top) : eO.top;\n    this.elL = this.wmargin ? Math.abs(eO.left) : eO.left;\n    var rY = e.pageY - this.elT + this.el.scrollTop;\n    var rX = e.pageX - this.elL + this.el.scrollLeft;\n\n    if (this.canvasRelative && em) {\n      const mousePos = em.get('Canvas').getMouseRelativeCanvas(e, { noScroll: 1 });\n      rX = mousePos.x;\n      rY = mousePos.y;\n    }\n\n    this.rX = rX;\n    this.rY = rY;\n    this.eventMove = e;\n\n    //var targetNew = this.getTargetFromEl(e.target);\n    const sourceModel = this.getSourceModel();\n    const targetEl = customTarget ? customTarget({ sorter: this, event: e }) : e.target;\n    const dims = this.dimsFromTarget(targetEl, rX, rY);\n    const target = this.target;\n    const targetModel = target && this.getTargetModel(target);\n    this.selectTargetModel(targetModel, sourceModel);\n    if (!targetModel) plh.style.display = 'none';\n    if (!target) return;\n    this.lastDims = dims;\n    const pos = this.findPosition(dims, rX, rY);\n\n    if (this.isTextableActive(sourceModel, targetModel)) {\n      this.activeTextModel = targetModel;\n      plh.style.display = 'none';\n      this.lastPos = pos;\n      this.updateTextViewCursorPosition(ev);\n    } else {\n      this.disableTextable();\n      this.activeTextModel = null;\n\n      // If there is a significant changes with the pointer\n      if (!this.lastPos || this.lastPos.index != pos.index || this.lastPos.method != pos.method) {\n        this.movePlaceholder(this.plh, dims, pos, this.prevTargetDim);\n        if (!this.$plh) this.$plh = $(this.plh);\n\n        // With canvasRelative the offset is calculated automatically for\n        // each element\n        if (!this.canvasRelative) {\n          if (this.offTop) this.$plh.css('top', '+=' + this.offTop + 'px');\n          if (this.offLeft) this.$plh.css('left', '+=' + this.offLeft + 'px');\n        }\n\n        this.lastPos = pos;\n      }\n    }\n\n    isFunction(onMoveClb) &&\n      onMoveClb({\n        event: e,\n        target: sourceModel,\n        parent: targetModel,\n        index: pos.index + (pos.method == 'after' ? 1 : 0),\n      });\n\n    em &&\n      em.trigger('sorter:drag', {\n        target,\n        targetModel,\n        sourceModel,\n        dims,\n        pos,\n        x: rX,\n        y: rY,\n      });\n  },\n\n  isTextableActive(src, trg) {\n    return src && src.get && src.get('textable') && trg && trg.is('text');\n  },\n\n  disableTextable() {\n    const { activeTextModel } = this;\n    activeTextModel && activeTextModel.getView().disableEditing();\n    this.setContentEditable(activeTextModel, false);\n  },\n\n  /**\n   * Returns true if the elements is in flow, so is not in flow where\n   * for example the component is with float:left\n   * @param  {HTMLElement} el\n   * @param  {HTMLElement} parent\n   * @return {Boolean}\n   * @private\n   * */\n  isInFlow(el, parent) {\n    if (!el) return false;\n\n    parent = parent || document.body;\n    var ch = -1,\n      h;\n    var elem = el;\n    h = elem.offsetHeight;\n    if (/*h < ch || */ !this.styleInFlow(elem, parent)) return false;\n    else return true;\n  },\n\n  /**\n   * Check if el has style to be in flow\n   * @param  {HTMLElement} el\n   * @param  {HTMLElement} parent\n   * @return {Boolean}\n   * @private\n   */\n  styleInFlow(el, parent) {\n    if (isTextNode(el)) return;\n    const style = el.style || {};\n    const $el = $(el);\n    const $parent = parent && $(parent);\n\n    if (style.overflow && style.overflow !== 'visible') return;\n    const propFloat = $el.css('float');\n    if (propFloat && propFloat !== 'none') return;\n    if ($parent && $parent.css('display') == 'flex' && $parent.css('flex-direction') !== 'column') return;\n    switch (style.position) {\n      case 'static':\n      case 'relative':\n      case '':\n        break;\n      default:\n        return;\n    }\n    switch (el.tagName) {\n      case 'TR':\n      case 'TBODY':\n      case 'THEAD':\n      case 'TFOOT':\n        return true;\n    }\n    switch ($el.css('display')) {\n      case 'block':\n      case 'list-item':\n      case 'table':\n      case 'flex':\n        return true;\n    }\n    return;\n  },\n\n  /**\n   * Check if the target is valid with the actual source\n   * @param  {HTMLElement} trg\n   * @return {Boolean}\n   */\n  validTarget(trg, src) {\n    const trgModel = this.getTargetModel(trg);\n    const srcModel = this.getSourceModel(src, { target: trgModel });\n    src = srcModel && srcModel.view && srcModel.view.el;\n    trg = trgModel && trgModel.view && trgModel.view.el;\n    let result = {\n      valid: true,\n      src,\n      srcModel,\n      trg,\n      trgModel,\n    };\n\n    if (!src || !trg) {\n      result.valid = false;\n      return result;\n    }\n\n    // Check if the source is draggable in target\n    let draggable = srcModel.get('draggable');\n    if (isFunction(draggable)) {\n      const res = draggable(srcModel, trgModel);\n      result.dragInfo = res;\n      result.draggable = res;\n      draggable = res;\n    } else {\n      draggable = draggable instanceof Array ? draggable.join(', ') : draggable;\n      result.dragInfo = draggable;\n      draggable = isString(draggable) ? this.matches(trg, draggable) : draggable;\n      result.draggable = draggable;\n    }\n\n    // Check if the target could accept the source\n    let droppable = trgModel.get('droppable');\n    if (isFunction(droppable)) {\n      const res = droppable(srcModel, trgModel);\n      result.droppable = res;\n      result.dropInfo = res;\n      droppable = res;\n    } else {\n      droppable = droppable instanceof Backbone.Collection ? 1 : droppable;\n      droppable = droppable instanceof Array ? droppable.join(', ') : droppable;\n      result.dropInfo = droppable;\n      droppable = isString(droppable) ? this.matches(src, droppable) : droppable;\n      droppable = draggable && this.isTextableActive(srcModel, trgModel) ? 1 : droppable;\n      result.droppable = droppable;\n    }\n\n    if (!droppable || !draggable) {\n      result.valid = false;\n    }\n\n    return result;\n  },\n\n  /**\n   * Get dimensions of nodes relative to the coordinates\n   * @param  {HTMLElement} target\n   * @param {number} rX Relative X position\n   * @param {number} rY Relative Y position\n   * @return {Array<Array>}\n   */\n  dimsFromTarget(target, rX, rY) {\n    const em = this.em;\n    var dims = [];\n\n    if (!target) {\n      return dims;\n    }\n\n    // Select the first valuable target\n    if (!this.matches(target, `${this.itemSel}, ${this.containerSel}`)) {\n      target = this.closest(target, this.itemSel);\n    }\n\n    // If draggable is an array the target will be one of those\n    if (this.draggable instanceof Array) {\n      target = this.closest(target, this.draggable.join(','));\n    }\n\n    if (!target) {\n      return dims;\n    }\n\n    // Check if the target is different from the previous one\n    if (this.prevTarget && this.prevTarget != target) {\n      this.prevTarget = null;\n    }\n\n    // New target found\n    if (!this.prevTarget) {\n      this.targetP = this.closest(target, this.containerSel);\n\n      // Check if the source is valid with the target\n      let validResult = this.validTarget(target);\n      em && em.trigger('sorter:drag:validation', validResult);\n\n      if (!validResult.valid && this.targetP) {\n        return this.dimsFromTarget(this.targetP, rX, rY);\n      }\n\n      this.prevTarget = target;\n      this.prevTargetDim = this.getDim(target);\n      this.cacheDimsP = this.getChildrenDim(this.targetP);\n      this.cacheDims = this.getChildrenDim(target);\n    }\n\n    // If the target is the previous one will return the cached dims\n    if (this.prevTarget == target) dims = this.cacheDims;\n\n    // Target when I will drop element to sort\n    this.target = this.prevTarget;\n\n    // Generally, on any new target the poiner enters inside its area and\n    // triggers nearBorders(), so have to take care of this\n    if (this.nearBorders(this.prevTargetDim, rX, rY) || (!this.nested && !this.cacheDims.length)) {\n      const targetParent = this.targetP;\n\n      if (targetParent && this.validTarget(targetParent).valid) {\n        dims = this.cacheDimsP;\n        this.target = targetParent;\n      }\n    }\n\n    this.lastPos = null;\n    return dims;\n  },\n\n  /**\n   * Get valid target from element\n   * This method should replace dimsFromTarget()\n   * @param  {HTMLElement} el\n   * @return {HTMLElement}\n   */\n  getTargetFromEl(el) {\n    let target = el;\n    let targetParent;\n    let targetPrev = this.targetPrev;\n    const em = this.em;\n    const containerSel = this.containerSel;\n    const itemSel = this.itemSel;\n\n    // Select the first valuable target\n    if (!this.matches(target, `${itemSel}, ${containerSel}`)) {\n      target = this.closest(target, itemSel);\n    }\n\n    // If draggable is an array the target will be one of those\n    // TODO check if this options is used somewhere\n    if (this.draggable instanceof Array) {\n      target = this.closest(target, this.draggable.join(','));\n    }\n\n    // Check if the target is different from the previous one\n    if (targetPrev && targetPrev != target) {\n      this.targetPrev = '';\n    }\n\n    // New target found\n    if (!this.targetPrev) {\n      targetParent = this.closest(target, containerSel);\n\n      // If the current target is not valid (src/trg reasons) try with\n      // the parent one (if exists)\n      const validResult = this.validTarget(target);\n      em && em.trigger('sorter:drag:validation', validResult);\n\n      if (!validResult.valid && targetParent) {\n        return this.getTargetFromEl(targetParent);\n      }\n\n      this.targetPrev = target;\n    }\n\n    // Generally, on any new target the poiner enters inside its area and\n    // triggers nearBorders(), so have to take care of this\n    if (this.nearElBorders(target)) {\n      targetParent = this.closest(target, containerSel);\n\n      if (targetParent && this.validTarget(targetParent).valid) {\n        target = targetParent;\n      }\n    }\n\n    return target;\n  },\n\n  /**\n   * Check if the current pointer is neare to element borders\n   * @return {Boolen}\n   */\n  nearElBorders(el) {\n    const off = 10;\n    const rect = el.getBoundingClientRect();\n    const body = el.ownerDocument.body;\n    const { x, y } = this.getCurrentPos();\n    const top = rect.top + body.scrollTop;\n    const left = rect.left + body.scrollLeft;\n    const width = rect.width;\n    const height = rect.height;\n\n    if (\n      y < top + off || // near top edge\n      y > top + height - off || // near bottom edge\n      x < left + off || // near left edge\n      x > left + width - off // near right edge\n    ) {\n      return 1;\n    }\n  },\n\n  getCurrentPos() {\n    const ev = this.eventMove;\n    const x = ev.pageX || 0;\n    const y = ev.pageY || 0;\n    return { x, y };\n  },\n\n  /**\n   * Returns dimensions and positions about the element\n   * @param {HTMLElement} el\n   * @return {Array<number>}\n   */\n  getDim(el) {\n    const { em, canvasRelative } = this;\n    const canvas = em && em.get('Canvas');\n    const offsets = canvas ? canvas.getElementOffsets(el) : {};\n    let top, left, height, width;\n\n    if (canvasRelative && em) {\n      const pos = canvas.getElementPos(el, { noScroll: 1 });\n      top = pos.top; // - offsets.marginTop;\n      left = pos.left; // - offsets.marginLeft;\n      height = pos.height; // + offsets.marginTop + offsets.marginBottom;\n      width = pos.width; // + offsets.marginLeft + offsets.marginRight;\n    } else {\n      var o = this.offset(el);\n      top = this.relative ? el.offsetTop : o.top - (this.wmargin ? -1 : 1) * this.elT;\n      left = this.relative ? el.offsetLeft : o.left - (this.wmargin ? -1 : 1) * this.elL;\n      height = el.offsetHeight;\n      width = el.offsetWidth;\n    }\n\n    return { top, left, height, width, offsets };\n  },\n\n  /**\n   * Get children dimensions\n   * @param {HTMLELement} el Element root\n   * @return {Array}\n   * */\n  getChildrenDim(trg) {\n    const dims = [];\n    if (!trg) return dims;\n\n    // Get children based on getChildrenContainer\n    const trgModel = this.getTargetModel(trg);\n    if (trgModel && trgModel.view && !this.ignoreViewChildren) {\n      const view = trgModel.getCurrentView ? trgModel.getCurrentView() : trgModel.view;\n      trg = view.getChildrenContainer();\n    }\n\n    each(trg.children, (el, i) => {\n      const model = getModel(el, $);\n      const elIndex = model && model.index ? model.index() : i;\n\n      if (!isTextNode(el) && !this.matches(el, this.itemSel)) {\n        return;\n      }\n\n      const dim = this.getDim(el);\n      let dir = this.direction;\n\n      if (dir == 'v') dir = true;\n      else if (dir == 'h') dir = false;\n      else dir = this.isInFlow(el, trg);\n\n      dim.dir = dir;\n      dim.el = el;\n      dim.indexEl = elIndex;\n      dims.push(dim);\n    });\n\n    return dims;\n  },\n\n  /**\n   * Check if the coordinates are near to the borders\n   * @param {Array<number>} dim\n   * @param {number} rX Relative X position\n   * @param {number} rY Relative Y position\n   * @return {Boolean}\n   * */\n  nearBorders(dim, rX, rY) {\n    var result = 0;\n    var off = this.borderOffset;\n    var x = rX || 0;\n    var y = rY || 0;\n    var t = dim.top;\n    var l = dim.left;\n    var h = dim.height;\n    var w = dim.width;\n    if (t + off > y || y > t + h - off || l + off > x || x > l + w - off) result = 1;\n\n    return !!result;\n  },\n\n  /**\n   * Find the position based on passed dimensions and coordinates\n   * @param {Array<Array>} dims Dimensions of nodes to parse\n   * @param {number} posX X coordindate\n   * @param {number} posY Y coordindate\n   * @return {Object}\n   * */\n  findPosition(dims, posX, posY) {\n    var result = { index: 0, indexEl: 0, method: 'before' };\n    var leftLimit = 0,\n      xLimit = 0,\n      dimRight = 0,\n      yLimit = 0,\n      xCenter = 0,\n      yCenter = 0,\n      dimDown = 0,\n      dim = 0;\n    // Each dim is: Top, Left, Height, Width\n    for (var i = 0, len = dims.length; i < len; i++) {\n      dim = dims[i];\n      const { top, left, height, width } = dim;\n      // Right position of the element. Left + Width\n      dimRight = left + width;\n      // Bottom position of the element. Top + Height\n      dimDown = top + height;\n      // X center position of the element. Left + (Width / 2)\n      xCenter = left + width / 2;\n      // Y center position of the element. Top + (Height / 2)\n      yCenter = top + height / 2;\n      // Skip if over the limits\n      if (\n        (xLimit && left > xLimit) ||\n        (yLimit && yCenter >= yLimit) || // >= avoid issue with clearfixes\n        (leftLimit && dimRight < leftLimit)\n      )\n        continue;\n      result.index = i;\n      result.indexEl = dim.indexEl;\n      // If it's not in flow (like 'float' element)\n      if (!dim.dir) {\n        if (posY < dimDown) yLimit = dimDown;\n        //If x lefter than center\n        if (posX < xCenter) {\n          xLimit = xCenter;\n          result.method = 'before';\n        } else {\n          leftLimit = xCenter;\n          result.method = 'after';\n        }\n      } else {\n        // If y upper than center\n        if (posY < yCenter) {\n          result.method = 'before';\n          break;\n        } else result.method = 'after'; // After last element\n      }\n    }\n    return result;\n  },\n\n  /**\n   * Updates the position of the placeholder\n   * @param {HTMLElement} phl\n   * @param {Array<Array>} dims\n   * @param {Object} pos Position object\n   * @param {Array<number>} trgDim target dimensions ([top, left, height, width])\n   * */\n  movePlaceholder(plh, dims, pos, trgDim) {\n    var marg = 0,\n      t = 0,\n      l = 0,\n      w = 0,\n      h = 0,\n      un = 'px',\n      margI = 5,\n      method = pos.method;\n    const elDim = dims[pos.index];\n\n    // Placeholder orientation\n    plh.classList.remove('vertical');\n    plh.classList.add('horizontal');\n\n    if (elDim) {\n      // If it's not in flow (like 'float' element)\n      const { top, left, height, width } = elDim;\n      if (!elDim.dir) {\n        w = 'auto';\n        h = height - marg * 2 + un;\n        t = top + marg;\n        l = method == 'before' ? left - marg : left + width - marg;\n\n        plh.classList.remove('horizontal');\n        plh.classList.add('vertical');\n      } else {\n        w = width + un;\n        h = 'auto';\n        t = method == 'before' ? top - marg : top + height - marg;\n        l = left;\n      }\n    } else {\n      // Placeholder inside the component\n      if (!this.nested) {\n        plh.style.display = 'none';\n        return;\n      }\n      if (trgDim) {\n        const offset = trgDim.offsets || {};\n        const pT = offset.paddingTop || margI;\n        const pL = offset.paddingLeft || margI;\n        t = trgDim.top + pT;\n        l = trgDim.left + pL;\n        w = parseInt(trgDim.width) - pL * 2 + un;\n        h = 'auto';\n      }\n    }\n    plh.style.top = t + un;\n    plh.style.left = l + un;\n    if (w) plh.style.width = w;\n    if (h) plh.style.height = h;\n  },\n\n  /**\n   * Leave item\n   * @param event\n   *\n   * @return void\n   * */\n  endMove(e) {\n    const src = this.sourceEl;\n    const moved = [];\n    const docs = this.getDocuments();\n    const container = this.getContainerEl();\n    const onEndMove = this.onEndMove;\n    const onEnd = this.onEnd;\n    const { target, lastPos } = this;\n    let srcModel;\n    off(container, 'mousemove dragover', this.onMove);\n    off(docs, 'mouseup dragend touchend', this.endMove);\n    off(docs, 'keydown', this.rollback);\n    this.plh.style.display = 'none';\n\n    if (src) {\n      srcModel = this.getSourceModel();\n      if (this.selectOnEnd && srcModel && srcModel.set) {\n        srcModel.set('status', '');\n        srcModel.set('status', 'selected');\n      }\n    }\n\n    if (this.moved && target) {\n      const toMove = this.toMove;\n      const toMoveArr = isArray(toMove) ? toMove : toMove ? [toMove] : [src];\n      toMoveArr.forEach(model => {\n        moved.push(this.move(target, model, lastPos));\n      });\n    }\n\n    if (this.plh) this.plh.style.display = 'none';\n    var dragHelper = this.dragHelper;\n\n    if (dragHelper) {\n      dragHelper.parentNode.removeChild(dragHelper);\n      this.dragHelper = null;\n    }\n\n    this.disableTextable();\n    this.selectTargetModel();\n    this.toggleSortCursor();\n\n    this.toMove = null;\n    this.eventMove = 0;\n    this.dropModel = null;\n\n    if (isFunction(onEndMove)) {\n      const data = {\n        target: srcModel,\n        parent: srcModel && srcModel.parent(),\n        index: srcModel && srcModel.index(),\n      };\n      moved.length ? moved.forEach(m => onEndMove(m, this, data)) : onEndMove(null, this, { ...data, cancelled: 1 });\n    }\n\n    isFunction(onEnd) && onEnd({ sorter: this });\n  },\n\n  /**\n   * Move component to new position\n   * @param {HTMLElement} dst Destination target\n   * @param {HTMLElement} src Element to move\n   * @param {Object} pos Object with position coordinates\n   * */\n  move(dst, src, pos) {\n    const { em, dropContent } = this;\n    const srcEl = getElement(src);\n    const warns = [];\n    const index = pos.method === 'after' ? pos.indexEl + 1 : pos.indexEl;\n    const validResult = this.validTarget(dst, srcEl);\n    const targetCollection = $(dst).data('collection');\n    const { trgModel, srcModel, draggable } = validResult;\n    const droppable = trgModel instanceof Backbone.Collection ? 1 : validResult.droppable;\n    let modelToDrop, created;\n\n    if (targetCollection && droppable && draggable) {\n      const opts = { at: index, action: 'move-component' };\n      const isTextable = this.isTextableActive(srcModel, trgModel);\n\n      if (!dropContent) {\n        const srcIndex = srcModel.collection.indexOf(srcModel);\n        const sameCollection = targetCollection === srcModel.collection;\n        const sameIndex = srcIndex === index || srcIndex === index - 1;\n        const canRemove = !sameCollection || !sameIndex || isTextable;\n\n        if (canRemove) {\n          modelToDrop = srcModel.collection.remove(srcModel, { temporary: true });\n          if (sameCollection && index > srcIndex) {\n            opts.at = index - 1;\n          }\n        }\n      } else {\n        modelToDrop = isFunction(dropContent) ? dropContent() : dropContent;\n        opts.avoidUpdateStyle = true;\n        opts.action = 'add-component';\n      }\n\n      if (modelToDrop) {\n        if (isTextable) {\n          delete opts.at;\n          created = trgModel.getView().insertComponent(modelToDrop, opts);\n        } else {\n          created = targetCollection.add(modelToDrop, opts);\n        }\n      }\n\n      this.dropContent = null;\n      this.prevTarget = null; // This will recalculate children dimensions\n    } else if (em) {\n      const dropInfo = validResult.dropInfo || trgModel?.get('droppable');\n      const dragInfo = validResult.dragInfo || srcModel?.get('draggable');\n\n      !targetCollection && warns.push('Target collection not found');\n      !droppable && dropInfo && warns.push(`Target is not droppable, accepts [${dropInfo}]`);\n      !draggable && dragInfo && warns.push(`Component not draggable, acceptable by [${dragInfo}]`);\n      em.logWarning('Invalid target position', {\n        errors: warns,\n        model: srcModel,\n        context: 'sorter',\n        target: trgModel,\n      });\n    }\n\n    em?.trigger('sorter:drag:end', {\n      targetCollection,\n      modelToDrop,\n      warns,\n      validResult,\n      dst,\n      srcEl,\n    });\n\n    return created;\n  },\n\n  /**\n   * Rollback to previous situation\n   * @param {Event}\n   * @param {Bool} Indicates if rollback in anycase\n   * */\n  rollback(e) {\n    off(this.getDocuments(), 'keydown', this.rollback);\n    const key = e.which || e.keyCode;\n\n    if (key == 27) {\n      this.moved = 0;\n      this.endMove();\n    }\n  },\n});\n","import { bindAll, defaults, isFunction, each } from 'underscore';\nimport { on, off, normalizeFloat } from 'utils/mixins';\n\nvar defaultOpts = {\n  // Function which returns custom X and Y coordinates of the mouse\n  mousePosFetcher: null,\n  // Indicates custom target updating strategy\n  updateTarget: null,\n  // Function which gets HTMLElement as an arg and returns it relative position\n  ratioDefault: 0,\n  posFetcher: null,\n  onStart: null,\n  onMove: null,\n  onEnd: null,\n  onUpdateContainer: () => {},\n\n  // Resize unit step\n  step: 1,\n\n  // Minimum dimension\n  minDim: 10,\n\n  // Maximum dimension\n  maxDim: '',\n\n  // Unit used for height resizing\n  unitHeight: 'px',\n\n  // Unit used for width resizing\n  unitWidth: 'px',\n\n  // The key used for height resizing\n  keyHeight: 'height',\n\n  // The key used for width resizing\n  keyWidth: 'width',\n\n  // If true, will override unitHeight and unitWidth, on start, with units\n  // from the current focused element (currently used only in SelectComponent)\n  currentUnit: 1,\n\n  // With this option active the mousemove event won't be altered when\n  // the pointer comes over iframes\n  silentFrames: 0,\n\n  // If true the container of handlers won't be updated\n  avoidContainerUpdate: 0,\n\n  // If height is 'auto', this setting will preserve it and only update  width\n  keepAutoHeight: false,\n\n  // If width is 'auto', this setting will preserve it and only update height\n  keepAutoWidth: false,\n\n  // When keepAutoHeight is true and the height has the value 'auto', this is set to true and height isn't updated\n  autoHeight: false,\n\n  // When keepAutoWidth is true and the width has the value 'auto', this is set to true and width isn't updated\n  autoWidth: false,\n\n  // Handlers\n  tl: 1, // Top left\n  tc: 1, // Top center\n  tr: 1, // Top right\n  cl: 1, // Center left\n  cr: 1, // Center right\n  bl: 1, // Bottom left\n  bc: 1, // Bottom center\n  br: 1 // Bottom right\n};\n\nvar createHandler = (name, opts) => {\n  var pfx = opts.prefix || '';\n  var el = document.createElement('i');\n  el.className = pfx + 'resizer-h ' + pfx + 'resizer-h-' + name;\n  el.setAttribute('data-' + pfx + 'handler', name);\n  return el;\n};\n\nvar getBoundingRect = (el, win) => {\n  var w = win || window;\n  var rect = el.getBoundingClientRect();\n  return {\n    left: rect.left + w.pageXOffset,\n    top: rect.top + w.pageYOffset,\n    width: rect.width,\n    height: rect.height\n  };\n};\n\nclass Resizer {\n  /**\n   * Init the Resizer with options\n   * @param  {Object} options\n   */\n  constructor(opts = {}) {\n    this.setOptions(opts);\n    bindAll(this, 'handleKeyDown', 'handleMouseDown', 'move', 'stop');\n    return this;\n  }\n\n  /**\n   * Get current connfiguration options\n   * @return {Object}\n   */\n  getConfig() {\n    return this.opts;\n  }\n\n  /**\n   * Setup options\n   * @param {Object} options\n   */\n  setOptions(options = {}) {\n    this.opts = defaults(options, defaultOpts);\n    this.setup();\n  }\n\n  /**\n   * Setup resizer\n   */\n  setup() {\n    const opts = this.opts;\n    const pfx = opts.prefix || '';\n    const appendTo = opts.appendTo || document.body;\n    let container = this.container;\n\n    // Create container if not yet exist\n    if (!container) {\n      container = document.createElement('div');\n      container.className = `${pfx}resizer-c`;\n      appendTo.appendChild(container);\n      this.container = container;\n    }\n\n    while (container.firstChild) {\n      container.removeChild(container.firstChild);\n    }\n\n    // Create handlers\n    const handlers = {};\n    ['tl', 'tc', 'tr', 'cl', 'cr', 'bl', 'bc', 'br'].forEach(\n      hdl => (handlers[hdl] = opts[hdl] ? createHandler(hdl, opts) : '')\n    );\n\n    for (let n in handlers) {\n      const handler = handlers[n];\n      handler && container.appendChild(handler);\n    }\n\n    this.handlers = handlers;\n    this.mousePosFetcher = opts.mousePosFetcher;\n    this.updateTarget = opts.updateTarget;\n    this.posFetcher = opts.posFetcher;\n    this.onStart = opts.onStart;\n    this.onMove = opts.onMove;\n    this.onEnd = opts.onEnd;\n    this.onUpdateContainer = opts.onUpdateContainer;\n  }\n\n  /**\n   * Toggle iframes pointer event\n   * @param {Boolean} silent If true, iframes will be silented\n   */\n  toggleFrames(silent) {\n    if (this.opts.silentFrames) {\n      const frames = document.querySelectorAll('iframe');\n      each(frames, frame => (frame.style.pointerEvents = silent ? 'none' : ''));\n    }\n  }\n\n  /**\n   * Detects if the passed element is a resize handler\n   * @param  {HTMLElement} el\n   * @return {Boolean}\n   */\n  isHandler(el) {\n    var handlers = this.handlers;\n\n    for (var n in handlers) {\n      if (handlers[n] === el) return true;\n    }\n\n    return false;\n  }\n\n  /**\n   * Returns the focused element\n   * @return {HTMLElement}\n   */\n  getFocusedEl() {\n    return this.el;\n  }\n\n  /**\n   * Returns the parent of the focused element\n   * @return {HTMLElement}\n   */\n  getParentEl() {\n    return this.el.parentElement;\n  }\n\n  /**\n   * Returns documents\n   */\n  getDocumentEl() {\n    return [this.el.ownerDocument, document];\n  }\n\n  /**\n   * Return element position\n   * @param  {HTMLElement} el\n   * @param  {Object} opts Custom options\n   * @return {Object}\n   */\n  getElementPos(el, opts = {}) {\n    var posFetcher = this.posFetcher || '';\n    return posFetcher ? posFetcher(el, opts) : getBoundingRect(el);\n  }\n\n  /**\n   * Focus resizer on the element, attaches handlers to it\n   * @param {HTMLElement} el\n   */\n  focus(el) {\n    // Avoid focusing on already focused element\n    if (el && el === this.el) {\n      return;\n    }\n\n    this.el = el;\n    this.updateContainer({ forceShow: 1 });\n    on(this.getDocumentEl(), 'mousedown', this.handleMouseDown);\n  }\n\n  /**\n   * Blur from element\n   */\n  blur() {\n    this.container.style.display = 'none';\n\n    if (this.el) {\n      off(this.getDocumentEl(), 'mousedown', this.handleMouseDown);\n      this.el = null;\n    }\n  }\n\n  /**\n   * Start resizing\n   * @param  {Event} e\n   */\n  start(e) {\n    //Right or middel click\n    if (e.button !== 0) return;\n    e.preventDefault();\n    e.stopPropagation();\n    const el = this.el;\n    const parentEl = this.getParentEl();\n    const resizer = this;\n    const config = this.opts || {};\n    var attrName = 'data-' + config.prefix + 'handler';\n    var rect = this.getElementPos(el, { target: 'el' });\n    var parentRect = this.getElementPos(parentEl);\n    this.handlerAttr = e.target.getAttribute(attrName);\n    this.clickedHandler = e.target;\n    this.startDim = {\n      t: rect.top,\n      l: rect.left,\n      w: rect.width,\n      h: rect.height\n    };\n    this.rectDim = {\n      t: rect.top,\n      l: rect.left,\n      w: rect.width,\n      h: rect.height\n    };\n    this.startPos = {\n      x: e.clientX,\n      y: e.clientY\n    };\n    this.parentDim = {\n      t: parentRect.top,\n      l: parentRect.left,\n      w: parentRect.width,\n      h: parentRect.height\n    };\n\n    // Listen events\n    var doc = this.getDocumentEl();\n    on(doc, 'mousemove', this.move);\n    on(doc, 'keydown', this.handleKeyDown);\n    on(doc, 'mouseup', this.stop);\n    isFunction(this.onStart) &&\n      this.onStart(e, { docs: doc, config, el, resizer });\n    this.toggleFrames(1);\n    this.move(e);\n  }\n\n  /**\n   * While resizing\n   * @param  {Event} e\n   */\n  move(e) {\n    const onMove = this.onMove;\n    var mouseFetch = this.mousePosFetcher;\n    var currentPos = mouseFetch\n      ? mouseFetch(e)\n      : {\n          x: e.clientX,\n          y: e.clientY\n        };\n\n    this.currentPos = currentPos;\n    this.delta = {\n      x: currentPos.x - this.startPos.x,\n      y: currentPos.y - this.startPos.y\n    };\n    this.keys = {\n      shift: e.shiftKey,\n      ctrl: e.ctrlKey,\n      alt: e.altKey\n    };\n\n    this.rectDim = this.calc(this);\n    this.updateRect(0);\n\n    // Move callback\n    onMove && onMove(e);\n\n    // In case the mouse button was released outside of the window\n    if (e.which === 0) {\n      this.stop(e);\n    }\n  }\n\n  /**\n   * Stop resizing\n   * @param  {Event} e\n   */\n  stop(e) {\n    const config = this.opts;\n    var doc = this.getDocumentEl();\n    off(doc, 'mousemove', this.move);\n    off(doc, 'keydown', this.handleKeyDown);\n    off(doc, 'mouseup', this.stop);\n    this.updateRect(1);\n    this.toggleFrames();\n    isFunction(this.onEnd) && this.onEnd(e, { docs: doc, config });\n  }\n\n  /**\n   * Update rect\n   */\n  updateRect(store) {\n    const el = this.el;\n    const resizer = this;\n    const config = this.opts;\n    const rect = this.rectDim;\n    const updateTarget = this.updateTarget;\n    const selectedHandler = this.getSelectedHandler();\n    const { unitHeight, unitWidth, keyWidth, keyHeight } = config;\n\n    // Use custom updating strategy if requested\n    if (isFunction(updateTarget)) {\n      updateTarget(el, rect, {\n        store,\n        selectedHandler,\n        resizer,\n        config\n      });\n    } else {\n      const elStyle = el.style;\n      elStyle[keyWidth] = rect.w + unitWidth;\n      elStyle[keyHeight] = rect.h + unitHeight;\n    }\n\n    this.updateContainer();\n  }\n\n  updateContainer(opt = {}) {\n    const { opts, container, el } = this;\n    const { style } = container;\n\n    if (!opts.avoidContainerUpdate && el) {\n      // On component resize container fits the tool,\n      // to check if this update is required somewhere else point\n      // const toUpdate = ['left', 'top', 'width', 'height'];\n      // const rectEl = this.getElementPos(el, { target: 'container' });\n      // toUpdate.forEach(pos => (style[pos] = `${rectEl[pos]}px`));\n      if (opt.forceShow) style.display = 'block';\n    }\n\n    this.onUpdateContainer({\n      el: container,\n      resizer: this,\n      opts: {\n        ...opts,\n        ...opt\n      }\n    });\n  }\n\n  /**\n   * Get selected handler name\n   * @return {string}\n   */\n  getSelectedHandler() {\n    var handlers = this.handlers;\n\n    if (!this.selectedHandler) {\n      return;\n    }\n\n    for (let n in handlers) {\n      if (handlers[n] === this.selectedHandler) return n;\n    }\n  }\n\n  /**\n   * Handle ESC key\n   * @param  {Event} e\n   */\n  handleKeyDown(e) {\n    if (e.keyCode === 27) {\n      // Rollback to initial dimensions\n      this.rectDim = this.startDim;\n      this.stop(e);\n    }\n  }\n\n  /**\n   * Handle mousedown to check if it's possible to start resizing\n   * @param  {Event} e\n   */\n  handleMouseDown(e) {\n    var el = e.target;\n    if (this.isHandler(el)) {\n      this.selectedHandler = el;\n      this.start(e);\n    } else if (el !== this.el) {\n      this.selectedHandler = '';\n      this.blur();\n    }\n  }\n\n  /**\n   * All positioning logic\n   * @return {Object}\n   */\n  calc(data) {\n    let value;\n    const opts = this.opts || {};\n    const step = opts.step;\n    const startDim = this.startDim;\n    const minDim = opts.minDim;\n    const maxDim = opts.maxDim;\n    const deltaX = data.delta.x;\n    const deltaY = data.delta.y;\n    const parentW = this.parentDim.w;\n    const parentH = this.parentDim.h;\n    const unitWidth = this.opts.unitWidth;\n    const unitHeight = this.opts.unitHeight;\n    const startW =\n      unitWidth === '%' ? (startDim.w / 100) * parentW : startDim.w;\n    const startH =\n      unitHeight === '%' ? (startDim.h / 100) * parentH : startDim.h;\n    var box = {\n      t: 0,\n      l: 0,\n      w: startW,\n      h: startH\n    };\n\n    if (!data) return;\n\n    var attr = data.handlerAttr;\n    if (~attr.indexOf('r')) {\n      value =\n        unitWidth === '%'\n          ? normalizeFloat(((startW + deltaX * step) / parentW) * 100, 0.01)\n          : normalizeFloat(startW + deltaX * step, step);\n      value = Math.max(minDim, value);\n      maxDim && (value = Math.min(maxDim, value));\n      box.w = value;\n    }\n    if (~attr.indexOf('b')) {\n      value =\n        unitHeight === '%'\n          ? normalizeFloat(((startH + deltaY * step) / parentH) * 100, 0.01)\n          : normalizeFloat(startH + deltaY * step, step);\n      value = Math.max(minDim, value);\n      maxDim && (value = Math.min(maxDim, value));\n      box.h = value;\n    }\n    if (~attr.indexOf('l')) {\n      value =\n        unitWidth === '%'\n          ? normalizeFloat(((startW - deltaX * step) / parentW) * 100, 0.01)\n          : normalizeFloat(startW - deltaX * step, step);\n      value = Math.max(minDim, value);\n      maxDim && (value = Math.min(maxDim, value));\n      box.w = value;\n    }\n    if (~attr.indexOf('t')) {\n      value =\n        unitHeight === '%'\n          ? normalizeFloat(((startH - deltaY * step) / parentH) * 100, 0.01)\n          : normalizeFloat(startH - deltaY * step, step);\n      value = Math.max(minDim, value);\n      maxDim && (value = Math.min(maxDim, value));\n      box.h = value;\n    }\n\n    // Enforce aspect ratio (unless shift key is being held)\n    var ratioActive = opts.ratioDefault ? !data.keys.shift : data.keys.shift;\n    if (attr.indexOf('c') < 0 && ratioActive) {\n      var ratio = startDim.w / startDim.h;\n      if (box.w / box.h > ratio) {\n        box.h = Math.round(box.w / ratio);\n      } else {\n        box.w = Math.round(box.h * ratio);\n      }\n    }\n\n    if (~attr.indexOf('l')) {\n      box.l = startDim.w - box.w;\n    }\n    if (~attr.indexOf('t')) {\n      box.t = startDim.h - box.h;\n    }\n\n    return box;\n  }\n}\n\nexport default {\n  init(opts) {\n    return new Resizer(opts);\n  }\n};\n","import Dragger from './Dragger';\nimport Sorter from './Sorter';\nimport Resizer from './Resizer';\nimport * as mixins from './mixins';\n\nexport default () => {\n  return {\n    /**\n     * Name of the module\n     * @type {String}\n     * @private\n     */\n    name: 'Utils',\n\n    /**\n     * Initialize module\n     */\n    init() {\n      return this;\n    },\n\n    destroy() {},\n\n    Sorter,\n    Resizer,\n    Dragger,\n    helpers: { ...mixins }\n  };\n};\n","import { keys, isUndefined, isElement, isArray } from 'underscore';\n\nexport const isDef = value => typeof value !== 'undefined';\n\nexport const hasWin = () => typeof window !== 'undefined';\n\nexport const getGlobal = () =>\n  typeof globalThis !== 'undefined' ? globalThis : typeof window !== 'undefined' ? window : global;\n\nexport const toLowerCase = str => (str || '').toLowerCase();\n\nconst elProt = hasWin() ? window.Element.prototype : {};\nconst matches = elProt.matches || elProt.webkitMatchesSelector || elProt.mozMatchesSelector || elProt.msMatchesSelector;\n\nexport const getUiClass = (em, defCls) => {\n  const { stylePrefix, customUI } = em.getConfig();\n  return [customUI && `${stylePrefix}cui`, defCls].filter(i => i).join(' ');\n};\n\n/**\n * Import styles asynchronously\n * @param {String|Array<String>} styles\n */\nconst appendStyles = (styles, opts = {}) => {\n  const stls = isArray(styles) ? [...styles] : [styles];\n\n  if (stls.length) {\n    const href = stls.shift();\n\n    if (href && (!opts.unique || !document.querySelector(`link[href=\"${href}\"]`))) {\n      const { head } = document;\n      const link = document.createElement('link');\n      link.href = href;\n      link.rel = 'stylesheet';\n\n      if (opts.prepand) {\n        head.insertBefore(link, head.firstChild);\n      } else {\n        head.appendChild(link);\n      }\n    }\n\n    appendStyles(stls);\n  }\n};\n\n/**\n * Returns shallow diff between 2 objects\n * @param  {Object} objOrig\n * @param  {Objec} objNew\n * @return {Object}\n * @example\n * var a = {foo: 'bar', baz: 1, faz: 'sop'};\n * var b = {foo: 'bar', baz: 2, bar: ''};\n * shallowDiff(a, b);\n * // -> {baz: 2, faz: null, bar: ''};\n */\nconst shallowDiff = (objOrig, objNew) => {\n  const result = {};\n  const keysNew = keys(objNew);\n\n  for (let prop in objOrig) {\n    if (objOrig.hasOwnProperty(prop)) {\n      const origValue = objOrig[prop];\n      const newValue = objNew[prop];\n\n      if (keysNew.indexOf(prop) >= 0) {\n        if (origValue !== newValue) {\n          result[prop] = newValue;\n        }\n      } else {\n        result[prop] = null;\n      }\n    }\n  }\n\n  for (let prop in objNew) {\n    if (objNew.hasOwnProperty(prop)) {\n      if (isUndefined(objOrig[prop])) {\n        result[prop] = objNew[prop];\n      }\n    }\n  }\n\n  return result;\n};\n\nconst on = (el, ev, fn, opts) => {\n  ev = ev.split(/\\s+/);\n  el = el instanceof Array ? el : [el];\n\n  for (let i = 0; i < ev.length; ++i) {\n    el.forEach(elem => elem && elem.addEventListener(ev[i], fn, opts));\n  }\n};\n\nconst off = (el, ev, fn, opts) => {\n  ev = ev.split(/\\s+/);\n  el = el instanceof Array ? el : [el];\n\n  for (let i = 0; i < ev.length; ++i) {\n    el.forEach(elem => elem && elem.removeEventListener(ev[i], fn, opts));\n  }\n};\n\nconst getUnitFromValue = value => {\n  return value.replace(parseFloat(value), '');\n};\n\nconst upFirst = value => value[0].toUpperCase() + value.toLowerCase().slice(1);\n\nconst camelCase = value => {\n  return value.replace(/-./g, x => x[1].toUpperCase());\n};\n\nconst normalizeFloat = (value, step = 1, valueDef = 0) => {\n  let stepDecimals = 0;\n  if (isNaN(value)) return valueDef;\n  value = parseFloat(value);\n\n  if (Math.floor(value) !== value) {\n    const side = step.toString().split('.')[1];\n    stepDecimals = side ? side.length : 0;\n  }\n\n  return stepDecimals ? parseFloat(value.toFixed(stepDecimals)) : value;\n};\n\nconst hasDnd = em => {\n  return 'draggable' in document.createElement('i') && (em ? em.get('Config').nativeDnD : 1);\n};\n\n/**\n * Ensure to fetch the element from the input argument\n * @param  {HTMLElement|Component} el Component or HTML element\n * @return {HTMLElement}\n */\nconst getElement = el => {\n  if (isElement(el) || isTextNode(el)) {\n    return el;\n  } else if (el && el.getEl) {\n    return el.getEl();\n  }\n};\n\n/**\n * Check if element is a text node\n * @param  {HTMLElement} el\n * @return {Boolean}\n */\nconst isTextNode = el => el && el.nodeType === 3;\n\n/**\n * Check if element is a comment node\n * @param  {HTMLElement} el\n * @return {Boolean}\n */\nexport const isCommentNode = el => el && el.nodeType === 8;\n\n/**\n * Check if element is a comment node\n * @param  {HTMLElement} el\n * @return {Boolean}\n */\nexport const isTaggableNode = el => el && !isTextNode(el) && !isCommentNode(el);\n\nexport const find = (arr, test) => {\n  let result = null;\n  arr.some((el, i) => (test(el, i, arr) ? ((result = el), 1) : 0));\n  return result;\n};\n\nexport const escape = (str = '') => {\n  return `${str}`\n    .replace(/&/g, '&amp;')\n    .replace(/</g, '&lt;')\n    .replace(/>/g, '&gt;')\n    .replace(/\"/g, '&quot;')\n    .replace(/'/g, '&#039;')\n    .replace(/`/g, '&#96;');\n};\n\n/**\n * Ensure to fetch the model from the input argument\n * @param  {HTMLElement|Component} el Component or HTML element\n * @return {Component}\n */\nconst getModel = (el, $) => {\n  let model = el;\n  if (!$ && el && el.__cashData) {\n    model = el.__cashData.model;\n  } else if (isElement(el)) {\n    model = $(el).data('model');\n  }\n  return model;\n};\n\nconst getElRect = el => {\n  const def = {\n    top: 0,\n    left: 0,\n    width: 0,\n    height: 0,\n  };\n  if (!el) return def;\n  let rectText;\n\n  if (isTextNode(el)) {\n    const range = document.createRange();\n    range.selectNode(el);\n    rectText = range.getBoundingClientRect();\n    range.detach();\n  }\n\n  return rectText || (el.getBoundingClientRect ? el.getBoundingClientRect() : def);\n};\n\n/**\n * Get cross-device pointer event\n * @param  {Event} ev\n * @return {Event}\n */\nconst getPointerEvent = ev => (ev.touches && ev.touches[0] ? ev.touches[0] : ev);\n\n/**\n * Get cross-browser keycode\n * @param  {Event} ev\n * @return {Number}\n */\nconst getKeyCode = ev => ev.which || ev.keyCode;\nconst getKeyChar = ev => String.fromCharCode(getKeyCode(ev));\nconst isEscKey = ev => getKeyCode(ev) === 27;\nconst isEnterKey = ev => getKeyCode(ev) === 13;\nconst isObject = val => val !== null && !Array.isArray(val) && typeof val === 'object';\nconst isEmptyObj = val => Object.keys(val).length <= 0;\n\nconst capitalize = str => str && str.charAt(0).toUpperCase() + str.substring(1);\nconst isComponent = obj => obj && obj.toHTML;\nconst isRule = obj => obj && obj.toCSS;\n\nconst getViewEl = el => el.__gjsv;\nconst setViewEl = (el, view) => {\n  el.__gjsv = view;\n};\n\nconst createId = (length = 16) => {\n  let result = '';\n  const chars = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';\n  const len = chars.length;\n  for (let i = 0; i < length; i++) {\n    result += chars.charAt(Math.floor(Math.random() * len));\n  }\n  return result;\n};\n\nexport {\n  on,\n  off,\n  hasDnd,\n  upFirst,\n  matches,\n  getModel,\n  getElRect,\n  camelCase,\n  isTextNode,\n  getKeyCode,\n  getKeyChar,\n  isEscKey,\n  isEnterKey,\n  getElement,\n  shallowDiff,\n  normalizeFloat,\n  getPointerEvent,\n  getUnitFromValue,\n  capitalize,\n  getViewEl,\n  setViewEl,\n  appendStyles,\n  isObject,\n  isEmptyObj,\n  isComponent,\n  createId,\n  isRule,\n};\n","/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar runtime = (function (exports) {\n  \"use strict\";\n\n  var Op = Object.prototype;\n  var hasOwn = Op.hasOwnProperty;\n  var undefined; // More compressible than void 0.\n  var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n  var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n  var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n  var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n  function define(obj, key, value) {\n    Object.defineProperty(obj, key, {\n      value: value,\n      enumerable: true,\n      configurable: true,\n      writable: true\n    });\n    return obj[key];\n  }\n  try {\n    // IE 8 has a broken Object.defineProperty that only works on DOM objects.\n    define({}, \"\");\n  } catch (err) {\n    define = function(obj, key, value) {\n      return obj[key] = value;\n    };\n  }\n\n  function wrap(innerFn, outerFn, self, tryLocsList) {\n    // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n    var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n    var generator = Object.create(protoGenerator.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  exports.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  // This is a polyfill for %IteratorPrototype% for environments that\n  // don't natively support it.\n  var IteratorPrototype = {};\n  IteratorPrototype[iteratorSymbol] = function () {\n    return this;\n  };\n\n  var getProto = Object.getPrototypeOf;\n  var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n  if (NativeIteratorPrototype &&\n      NativeIteratorPrototype !== Op &&\n      hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n    // This environment has a native %IteratorPrototype%; use it instead\n    // of the polyfill.\n    IteratorPrototype = NativeIteratorPrototype;\n  }\n\n  var Gp = GeneratorFunctionPrototype.prototype =\n    Generator.prototype = Object.create(IteratorPrototype);\n  GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;\n  GeneratorFunctionPrototype.constructor = GeneratorFunction;\n  GeneratorFunction.displayName = define(\n    GeneratorFunctionPrototype,\n    toStringTagSymbol,\n    \"GeneratorFunction\"\n  );\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      define(prototype, method, function(arg) {\n        return this._invoke(method, arg);\n      });\n    });\n  }\n\n  exports.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  exports.mark = function(genFun) {\n    if (Object.setPrototypeOf) {\n      Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n    } else {\n      genFun.__proto__ = GeneratorFunctionPrototype;\n      define(genFun, toStringTagSymbol, \"GeneratorFunction\");\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  // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n  // meant to be awaited.\n  exports.awrap = function(arg) {\n    return { __await: arg };\n  };\n\n  function AsyncIterator(generator, PromiseImpl) {\n    function invoke(method, arg, resolve, reject) {\n      var record = tryCatch(generator[method], generator, arg);\n      if (record.type === \"throw\") {\n        reject(record.arg);\n      } else {\n        var result = record.arg;\n        var value = result.value;\n        if (value &&\n            typeof value === \"object\" &&\n            hasOwn.call(value, \"__await\")) {\n          return PromiseImpl.resolve(value.__await).then(function(value) {\n            invoke(\"next\", value, resolve, reject);\n          }, function(err) {\n            invoke(\"throw\", err, resolve, reject);\n          });\n        }\n\n        return PromiseImpl.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.\n          result.value = unwrapped;\n          resolve(result);\n        }, function(error) {\n          // If a rejected Promise was yielded, throw the rejection back\n          // into the async generator function so it can be handled there.\n          return invoke(\"throw\", error, resolve, reject);\n        });\n      }\n    }\n\n    var previousPromise;\n\n    function enqueue(method, arg) {\n      function callInvokeWithMethodAndArg() {\n        return new PromiseImpl(function(resolve, reject) {\n          invoke(method, arg, resolve, reject);\n        });\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        ) : callInvokeWithMethodAndArg();\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  AsyncIterator.prototype[asyncIteratorSymbol] = function () {\n    return this;\n  };\n  exports.AsyncIterator = AsyncIterator;\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  exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n    if (PromiseImpl === void 0) PromiseImpl = Promise;\n\n    var iter = new AsyncIterator(\n      wrap(innerFn, outerFn, self, tryLocsList),\n      PromiseImpl\n    );\n\n    return exports.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      context.method = method;\n      context.arg = arg;\n\n      while (true) {\n        var delegate = context.delegate;\n        if (delegate) {\n          var delegateResult = maybeInvokeDelegate(delegate, context);\n          if (delegateResult) {\n            if (delegateResult === ContinueSentinel) continue;\n            return delegateResult;\n          }\n        }\n\n        if (context.method === \"next\") {\n          // Setting context._sent for legacy support of Babel's\n          // function.sent implementation.\n          context.sent = context._sent = context.arg;\n\n        } else if (context.method === \"throw\") {\n          if (state === GenStateSuspendedStart) {\n            state = GenStateCompleted;\n            throw context.arg;\n          }\n\n          context.dispatchException(context.arg);\n\n        } else if (context.method === \"return\") {\n          context.abrupt(\"return\", context.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          if (record.arg === ContinueSentinel) {\n            continue;\n          }\n\n          return {\n            value: record.arg,\n            done: context.done\n          };\n\n        } else if (record.type === \"throw\") {\n          state = GenStateCompleted;\n          // Dispatch the exception by looping back around to the\n          // context.dispatchException(context.arg) call above.\n          context.method = \"throw\";\n          context.arg = record.arg;\n        }\n      }\n    };\n  }\n\n  // Call delegate.iterator[context.method](context.arg) and handle the\n  // result, either by returning a { value, done } result from the\n  // delegate iterator, or by modifying context.method and context.arg,\n  // setting context.delegate to null, and returning the ContinueSentinel.\n  function maybeInvokeDelegate(delegate, context) {\n    var method = delegate.iterator[context.method];\n    if (method === undefined) {\n      // A .throw or .return when the delegate iterator has no .throw\n      // method always terminates the yield* loop.\n      context.delegate = null;\n\n      if (context.method === \"throw\") {\n        // Note: [\"return\"] must be used for ES3 parsing compatibility.\n        if (delegate.iterator[\"return\"]) {\n          // If the delegate iterator has a return method, give it a\n          // chance to clean up.\n          context.method = \"return\";\n          context.arg = undefined;\n          maybeInvokeDelegate(delegate, context);\n\n          if (context.method === \"throw\") {\n            // If maybeInvokeDelegate(context) changed context.method from\n            // \"return\" to \"throw\", let that override the TypeError below.\n            return ContinueSentinel;\n          }\n        }\n\n        context.method = \"throw\";\n        context.arg = new TypeError(\n          \"The iterator does not provide a 'throw' method\");\n      }\n\n      return ContinueSentinel;\n    }\n\n    var record = tryCatch(method, delegate.iterator, context.arg);\n\n    if (record.type === \"throw\") {\n      context.method = \"throw\";\n      context.arg = record.arg;\n      context.delegate = null;\n      return ContinueSentinel;\n    }\n\n    var info = record.arg;\n\n    if (! info) {\n      context.method = \"throw\";\n      context.arg = new TypeError(\"iterator result is not an object\");\n      context.delegate = null;\n      return ContinueSentinel;\n    }\n\n    if (info.done) {\n      // Assign the result of the finished delegate to the temporary\n      // variable specified by delegate.resultName (see delegateYield).\n      context[delegate.resultName] = info.value;\n\n      // Resume execution at the desired location (see delegateYield).\n      context.next = delegate.nextLoc;\n\n      // If context.method was \"throw\" but the delegate handled the\n      // exception, let the outer generator proceed normally. If\n      // context.method was \"next\", forget context.arg since it has been\n      // \"consumed\" by the delegate iterator. If context.method was\n      // \"return\", allow the original .return call to continue in the\n      // outer generator.\n      if (context.method !== \"return\") {\n        context.method = \"next\";\n        context.arg = undefined;\n      }\n\n    } else {\n      // Re-yield the result returned by the delegate method.\n      return info;\n    }\n\n    // The delegate iterator is finished, so forget it and continue with\n    // the outer generator.\n    context.delegate = null;\n    return ContinueSentinel;\n  }\n\n  // Define Generator.prototype.{next,throw,return} in terms of the\n  // unified ._invoke helper method.\n  defineIteratorMethods(Gp);\n\n  define(Gp, toStringTagSymbol, \"Generator\");\n\n  // A Generator should always return itself as the iterator object when the\n  // @@iterator function is called on it. Some browsers' implementations of the\n  // iterator prototype chain incorrectly implement this, causing the Generator\n  // object to not be returned from this call. This ensures that doesn't happen.\n  // See https://github.com/facebook/regenerator/issues/274 for more details.\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  exports.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  exports.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      // Resetting context._sent for legacy support of Babel's\n      // function.sent implementation.\n      this.sent = this._sent = undefined;\n      this.done = false;\n      this.delegate = null;\n\n      this.method = \"next\";\n      this.arg = undefined;\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\n        if (caught) {\n          // If the dispatched exception was caught by a catch block,\n          // then let that catch block handle the exception normally.\n          context.method = \"next\";\n          context.arg = undefined;\n        }\n\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.method = \"next\";\n        this.next = finallyEntry.finallyLoc;\n        return ContinueSentinel;\n      }\n\n      return this.complete(record);\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 = this.arg = record.arg;\n        this.method = \"return\";\n        this.next = \"end\";\n      } else if (record.type === \"normal\" && afterLoc) {\n        this.next = afterLoc;\n      }\n\n      return ContinueSentinel;\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      if (this.method === \"next\") {\n        // Deliberately forget the last sent value so that we don't\n        // accidentally pass it on to the delegate.\n        this.arg = undefined;\n      }\n\n      return ContinueSentinel;\n    }\n  };\n\n  // Regardless of whether this script is executing as a CommonJS module\n  // or not, return the runtime object so that we can declare the variable\n  // regeneratorRuntime in the outer scope, which allows this module to be\n  // injected easily by `bin/regenerator --include-runtime script.js`.\n  return exports;\n\n}(\n  // If this script is executing as a CommonJS module, use module.exports\n  // as the regeneratorRuntime namespace. Otherwise create a new empty\n  // object. Either way, the resulting object will be used to initialize\n  // the regeneratorRuntime variable at the top of this file.\n  typeof module === \"object\" ? module.exports : {}\n));\n\ntry {\n  regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n  // This module should not be running in strict mode, so the above\n  // assignment should always work unless something is misconfigured. Just\n  // in case runtime.js accidentally runs in strict mode, we can escape\n  // strict mode using a global Function call. This could conceivably fail\n  // if a Content Security Policy forbids using Function, but in that case\n  // the proper solution is to fix the accidental strict mode problem. If\n  // you've misconfigured your bundler to force strict mode and applied a\n  // CSP to forbid Function, and you're not willing to fix either of those\n  // problems, please detail your unique predicament in a GitHub issue.\n  Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n}\n","var map = {\n\t\"./CanvasClear\": 7202,\n\t\"./CanvasClear.js\": 7202,\n\t\"./CanvasMove\": 327,\n\t\"./CanvasMove.js\": 327,\n\t\"./CommandAbstract\": 238,\n\t\"./CommandAbstract.js\": 238,\n\t\"./ComponentDelete\": 5820,\n\t\"./ComponentDelete.js\": 5820,\n\t\"./ComponentDrag\": 6694,\n\t\"./ComponentDrag.js\": 6694,\n\t\"./ComponentEnter\": 1947,\n\t\"./ComponentEnter.js\": 1947,\n\t\"./ComponentExit\": 3888,\n\t\"./ComponentExit.js\": 3888,\n\t\"./ComponentNext\": 5883,\n\t\"./ComponentNext.js\": 5883,\n\t\"./ComponentPrev\": 7508,\n\t\"./ComponentPrev.js\": 7508,\n\t\"./ComponentStyleClear\": 8769,\n\t\"./ComponentStyleClear.js\": 8769,\n\t\"./CopyComponent\": 2213,\n\t\"./CopyComponent.js\": 2213,\n\t\"./DeleteComponent\": 5049,\n\t\"./DeleteComponent.js\": 5049,\n\t\"./ExportTemplate\": 3775,\n\t\"./ExportTemplate.js\": 3775,\n\t\"./Fullscreen\": 58,\n\t\"./Fullscreen.js\": 58,\n\t\"./MoveComponent\": 8658,\n\t\"./MoveComponent.js\": 8658,\n\t\"./OpenAssets\": 9617,\n\t\"./OpenAssets.js\": 9617,\n\t\"./OpenBlocks\": 5821,\n\t\"./OpenBlocks.js\": 5821,\n\t\"./OpenLayers\": 3452,\n\t\"./OpenLayers.js\": 3452,\n\t\"./OpenStyleManager\": 2840,\n\t\"./OpenStyleManager.js\": 2840,\n\t\"./OpenTraitManager\": 8644,\n\t\"./OpenTraitManager.js\": 8644,\n\t\"./PasteComponent\": 560,\n\t\"./PasteComponent.js\": 560,\n\t\"./Preview\": 4944,\n\t\"./Preview.js\": 4944,\n\t\"./Resize\": 7538,\n\t\"./Resize.js\": 7538,\n\t\"./SelectComponent\": 2620,\n\t\"./SelectComponent.js\": 2620,\n\t\"./SelectPosition\": 8463,\n\t\"./SelectPosition.js\": 8463,\n\t\"./ShowOffset\": 7994,\n\t\"./ShowOffset.js\": 7994,\n\t\"./SwitchVisibility\": 8352,\n\t\"./SwitchVisibility.js\": 8352\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 2828;","export default function _arrayLikeToArray(arr, len) {\n  if (len == null || len > arr.length) len = arr.length;\n\n  for (var i = 0, arr2 = new Array(len); i < len; i++) {\n    arr2[i] = arr[i];\n  }\n\n  return arr2;\n}","function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n  try {\n    var info = gen[key](arg);\n    var value = info.value;\n  } catch (error) {\n    reject(error);\n    return;\n  }\n\n  if (info.done) {\n    resolve(value);\n  } else {\n    Promise.resolve(value).then(_next, _throw);\n  }\n}\n\nexport default function _asyncToGenerator(fn) {\n  return function () {\n    var self = this,\n        args = arguments;\n    return new Promise(function (resolve, reject) {\n      var gen = fn.apply(self, args);\n\n      function _next(value) {\n        asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n      }\n\n      function _throw(err) {\n        asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n      }\n\n      _next(undefined);\n    });\n  };\n}","export default function _classCallCheck(instance, Constructor) {\n  if (!(instance instanceof Constructor)) {\n    throw new TypeError(\"Cannot call a class as a function\");\n  }\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) descriptor.writable = true;\n    Object.defineProperty(target, descriptor.key, descriptor);\n  }\n}\n\nexport default function _createClass(Constructor, protoProps, staticProps) {\n  if (protoProps) _defineProperties(Constructor.prototype, protoProps);\n  if (staticProps) _defineProperties(Constructor, staticProps);\n  return Constructor;\n}","export default function _defineProperty(obj, key, value) {\n  if (key in obj) {\n    Object.defineProperty(obj, key, {\n      value: value,\n      enumerable: true,\n      configurable: true,\n      writable: true\n    });\n  } else {\n    obj[key] = value;\n  }\n\n  return obj;\n}","export default function _getPrototypeOf(o) {\n  _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) {\n    return o.__proto__ || Object.getPrototypeOf(o);\n  };\n  return _getPrototypeOf(o);\n}","export default function _setPrototypeOf(o, p) {\n  _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) {\n    o.__proto__ = p;\n    return o;\n  };\n\n  return _setPrototypeOf(o, p);\n}","import setPrototypeOf from \"./setPrototypeOf.js\";\nexport default function _inherits(subClass, superClass) {\n  if (typeof superClass !== \"function\" && superClass !== null) {\n    throw new TypeError(\"Super expression must either be null or a function\");\n  }\n\n  subClass.prototype = Object.create(superClass && superClass.prototype, {\n    constructor: {\n      value: subClass,\n      writable: true,\n      configurable: true\n    }\n  });\n  if (superClass) setPrototypeOf(subClass, superClass);\n}","import objectWithoutPropertiesLoose from \"./objectWithoutPropertiesLoose.js\";\nexport default function _objectWithoutProperties(source, excluded) {\n  if (source == null) return {};\n  var target = objectWithoutPropertiesLoose(source, excluded);\n  var key, i;\n\n  if (Object.getOwnPropertySymbols) {\n    var sourceSymbolKeys = Object.getOwnPropertySymbols(source);\n\n    for (i = 0; i < sourceSymbolKeys.length; i++) {\n      key = sourceSymbolKeys[i];\n      if (excluded.indexOf(key) >= 0) continue;\n      if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue;\n      target[key] = source[key];\n    }\n  }\n\n  return target;\n}","export default function _objectWithoutPropertiesLoose(source, excluded) {\n  if (source == null) return {};\n  var target = {};\n  var sourceKeys = Object.keys(source);\n  var key, i;\n\n  for (i = 0; i < sourceKeys.length; i++) {\n    key = sourceKeys[i];\n    if (excluded.indexOf(key) >= 0) continue;\n    target[key] = source[key];\n  }\n\n  return target;\n}","import _typeof from \"@babel/runtime/helpers/typeof\";\nimport assertThisInitialized from \"./assertThisInitialized.js\";\nexport default function _possibleConstructorReturn(self, call) {\n  if (call && (_typeof(call) === \"object\" || typeof call === \"function\")) {\n    return call;\n  }\n\n  return assertThisInitialized(self);\n}","export default function _assertThisInitialized(self) {\n  if (self === void 0) {\n    throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n  }\n\n  return self;\n}","import arrayWithHoles from \"./arrayWithHoles.js\";\nimport iterableToArrayLimit from \"./iterableToArrayLimit.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableRest from \"./nonIterableRest.js\";\nexport default function _slicedToArray(arr, i) {\n  return arrayWithHoles(arr) || iterableToArrayLimit(arr, i) || unsupportedIterableToArray(arr, i) || nonIterableRest();\n}","export default function _arrayWithHoles(arr) {\n  if (Array.isArray(arr)) return arr;\n}","export default function _iterableToArrayLimit(arr, i) {\n  var _i = arr && (typeof Symbol !== \"undefined\" && arr[Symbol.iterator] || arr[\"@@iterator\"]);\n\n  if (_i == null) return;\n  var _arr = [];\n  var _n = true;\n  var _d = false;\n\n  var _s, _e;\n\n  try {\n    for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) {\n      _arr.push(_s.value);\n\n      if (i && _arr.length === i) break;\n    }\n  } catch (err) {\n    _d = true;\n    _e = err;\n  } finally {\n    try {\n      if (!_n && _i[\"return\"] != null) _i[\"return\"]();\n    } finally {\n      if (_d) throw _e;\n    }\n  }\n\n  return _arr;\n}","export default function _nonIterableRest() {\n  throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","export default function _taggedTemplateLiteral(strings, raw) {\n  if (!raw) {\n    raw = strings.slice(0);\n  }\n\n  return Object.freeze(Object.defineProperties(strings, {\n    raw: {\n      value: Object.freeze(raw)\n    }\n  }));\n}","import arrayWithoutHoles from \"./arrayWithoutHoles.js\";\nimport iterableToArray from \"./iterableToArray.js\";\nimport unsupportedIterableToArray from \"./unsupportedIterableToArray.js\";\nimport nonIterableSpread from \"./nonIterableSpread.js\";\nexport default function _toConsumableArray(arr) {\n  return arrayWithoutHoles(arr) || iterableToArray(arr) || unsupportedIterableToArray(arr) || nonIterableSpread();\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _arrayWithoutHoles(arr) {\n  if (Array.isArray(arr)) return arrayLikeToArray(arr);\n}","export default function _iterableToArray(iter) {\n  if (typeof Symbol !== \"undefined\" && iter[Symbol.iterator] != null || iter[\"@@iterator\"] != null) return Array.from(iter);\n}","export default function _nonIterableSpread() {\n  throw new TypeError(\"Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\");\n}","export default function _typeof(obj) {\n  \"@babel/helpers - typeof\";\n\n  if (typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\") {\n    _typeof = function _typeof(obj) {\n      return typeof obj;\n    };\n  } else {\n    _typeof = function _typeof(obj) {\n      return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj;\n    };\n  }\n\n  return _typeof(obj);\n}","import arrayLikeToArray from \"./arrayLikeToArray.js\";\nexport default function _unsupportedIterableToArray(o, minLen) {\n  if (!o) return;\n  if (typeof o === \"string\") return arrayLikeToArray(o, minLen);\n  var n = Object.prototype.toString.call(o).slice(8, -1);\n  if (n === \"Object\" && o.constructor) n = o.constructor.name;\n  if (n === \"Map\" || n === \"Set\") return Array.from(o);\n  if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return arrayLikeToArray(o, minLen);\n}","// Current version.\nexport var VERSION = '1.13.1';\n\n// Establish the root object, `window` (`self`) in the browser, `global`\n// on the server, or `this` in some virtual machines. We use `self`\n// instead of `window` for `WebWorker` support.\nexport var root = typeof self == 'object' && self.self === self && self ||\n          typeof global == 'object' && global.global === global && global ||\n          Function('return this')() ||\n          {};\n\n// Save bytes in the minified (but not gzipped) version:\nexport var ArrayProto = Array.prototype, ObjProto = Object.prototype;\nexport var SymbolProto = typeof Symbol !== 'undefined' ? Symbol.prototype : null;\n\n// Create quick reference variables for speed access to core prototypes.\nexport var push = ArrayProto.push,\n    slice = ArrayProto.slice,\n    toString = ObjProto.toString,\n    hasOwnProperty = ObjProto.hasOwnProperty;\n\n// Modern feature detection.\nexport var supportsArrayBuffer = typeof ArrayBuffer !== 'undefined',\n    supportsDataView = typeof DataView !== 'undefined';\n\n// All **ECMAScript 5+** native function implementations that we hope to use\n// are declared here.\nexport var nativeIsArray = Array.isArray,\n    nativeKeys = Object.keys,\n    nativeCreate = Object.create,\n    nativeIsView = supportsArrayBuffer && ArrayBuffer.isView;\n\n// Create references to these builtin functions because we override them.\nexport var _isNaN = isNaN,\n    _isFinite = isFinite;\n\n// Keys in IE < 9 that won't be iterated by `for key in ...` and thus missed.\nexport var hasEnumBug = !{toString: null}.propertyIsEnumerable('toString');\nexport var nonEnumerableProps = ['valueOf', 'isPrototypeOf', 'toString',\n  'propertyIsEnumerable', 'hasOwnProperty', 'toLocaleString'];\n\n// The largest integer that can be represented exactly.\nexport var MAX_ARRAY_INDEX = Math.pow(2, 53) - 1;\n","// Some functions take a variable number of arguments, or a few expected\n// arguments at the beginning and then a variable number of values to operate\n// on. This helper accumulates all remaining arguments past the function’s\n// argument length (or an explicit `startIndex`), into an array that becomes\n// the last argument. Similar to ES6’s \"rest parameter\".\nexport default function restArguments(func, startIndex) {\n  startIndex = startIndex == null ? func.length - 1 : +startIndex;\n  return function() {\n    var length = Math.max(arguments.length - startIndex, 0),\n        rest = Array(length),\n        index = 0;\n    for (; index < length; index++) {\n      rest[index] = arguments[index + startIndex];\n    }\n    switch (startIndex) {\n      case 0: return func.call(this, rest);\n      case 1: return func.call(this, arguments[0], rest);\n      case 2: return func.call(this, arguments[0], arguments[1], rest);\n    }\n    var args = Array(startIndex + 1);\n    for (index = 0; index < startIndex; index++) {\n      args[index] = arguments[index];\n    }\n    args[startIndex] = rest;\n    return func.apply(this, args);\n  };\n}\n","// Is a given variable an object?\nexport default function isObject(obj) {\n  var type = typeof obj;\n  return type === 'function' || type === 'object' && !!obj;\n}\n","// Is a given value equal to null?\nexport default function isNull(obj) {\n  return obj === null;\n}\n","// Is a given variable undefined?\nexport default function isUndefined(obj) {\n  return obj === void 0;\n}\n","import { toString } from './_setup.js';\n\n// Is a given value a boolean?\nexport default function isBoolean(obj) {\n  return obj === true || obj === false || toString.call(obj) === '[object Boolean]';\n}\n","// Is a given value a DOM element?\nexport default function isElement(obj) {\n  return !!(obj && obj.nodeType === 1);\n}\n","import { toString } from './_setup.js';\n\n// Internal function for creating a `toString`-based type tester.\nexport default function tagTester(name) {\n  var tag = '[object ' + name + ']';\n  return function(obj) {\n    return toString.call(obj) === tag;\n  };\n}\n","import tagTester from './_tagTester.js';\n\nexport default tagTester('String');\n","import tagTester from './_tagTester.js';\n\nexport default tagTester('Number');\n","import tagTester from './_tagTester.js';\n\nexport default tagTester('Date');\n","import tagTester from './_tagTester.js';\n\nexport default tagTester('RegExp');\n","import tagTester from './_tagTester.js';\n\nexport default tagTester('Error');\n","import tagTester from './_tagTester.js';\n\nexport default tagTester('Symbol');\n","import tagTester from './_tagTester.js';\n\nexport default tagTester('ArrayBuffer');\n","import tagTester from './_tagTester.js';\nimport { root } from './_setup.js';\n\nvar isFunction = tagTester('Function');\n\n// Optimize `isFunction` if appropriate. Work around some `typeof` bugs in old\n// v8, IE 11 (#1621), Safari 8 (#1929), and PhantomJS (#2236).\nvar nodelist = root.document && root.document.childNodes;\nif (typeof /./ != 'function' && typeof Int8Array != 'object' && typeof nodelist != 'function') {\n  isFunction = function(obj) {\n    return typeof obj == 'function' || false;\n  };\n}\n\nexport default isFunction;\n","import tagTester from './_tagTester.js';\n\nexport default tagTester('Object');\n","import { supportsDataView } from './_setup.js';\nimport hasObjectTag from './_hasObjectTag.js';\n\n// In IE 10 - Edge 13, `DataView` has string tag `'[object Object]'`.\n// In IE 11, the most common among them, this problem also applies to\n// `Map`, `WeakMap` and `Set`.\nexport var hasStringTagBug = (\n      supportsDataView && hasObjectTag(new DataView(new ArrayBuffer(8)))\n    ),\n    isIE11 = (typeof Map !== 'undefined' && hasObjectTag(new Map));\n","import tagTester from './_tagTester.js';\nimport isFunction from './isFunction.js';\nimport isArrayBuffer from './isArrayBuffer.js';\nimport { hasStringTagBug } from './_stringTagBug.js';\n\nvar isDataView = tagTester('DataView');\n\n// In IE 10 - Edge 13, we need a different heuristic\n// to determine whether an object is a `DataView`.\nfunction ie10IsDataView(obj) {\n  return obj != null && isFunction(obj.getInt8) && isArrayBuffer(obj.buffer);\n}\n\nexport default (hasStringTagBug ? ie10IsDataView : isDataView);\n","import { nativeIsArray } from './_setup.js';\nimport tagTester from './_tagTester.js';\n\n// Is a given value an array?\n// Delegates to ECMA5's native `Array.isArray`.\nexport default nativeIsArray || tagTester('Array');\n","import { hasOwnProperty } from './_setup.js';\n\n// Internal function to check whether `key` is an own property name of `obj`.\nexport default function has(obj, key) {\n  return obj != null && hasOwnProperty.call(obj, key);\n}\n","import tagTester from './_tagTester.js';\nimport has from './_has.js';\n\nvar isArguments = tagTester('Arguments');\n\n// Define a fallback version of the method in browsers (ahem, IE < 9), where\n// there isn't any inspectable \"Arguments\" type.\n(function() {\n  if (!isArguments(arguments)) {\n    isArguments = function(obj) {\n      return has(obj, 'callee');\n    };\n  }\n}());\n\nexport default isArguments;\n","import { _isFinite } from './_setup.js';\nimport isSymbol from './isSymbol.js';\n\n// Is a given object a finite number?\nexport default function isFinite(obj) {\n  return !isSymbol(obj) && _isFinite(obj) && !isNaN(parseFloat(obj));\n}\n","import { _isNaN } from './_setup.js';\nimport isNumber from './isNumber.js';\n\n// Is the given value `NaN`?\nexport default function isNaN(obj) {\n  return isNumber(obj) && _isNaN(obj);\n}\n","// Predicate-generating function. Often useful outside of Underscore.\nexport default function constant(value) {\n  return function() {\n    return value;\n  };\n}\n","import { MAX_ARRAY_INDEX } from './_setup.js';\n\n// Common internal logic for `isArrayLike` and `isBufferLike`.\nexport default function createSizePropertyCheck(getSizeProperty) {\n  return function(collection) {\n    var sizeProperty = getSizeProperty(collection);\n    return typeof sizeProperty == 'number' && sizeProperty >= 0 && sizeProperty <= MAX_ARRAY_INDEX;\n  }\n}\n","// Internal helper to generate a function to obtain property `key` from `obj`.\nexport default function shallowProperty(key) {\n  return function(obj) {\n    return obj == null ? void 0 : obj[key];\n  };\n}\n","import shallowProperty from './_shallowProperty.js';\n\n// Internal helper to obtain the `byteLength` property of an object.\nexport default shallowProperty('byteLength');\n","import createSizePropertyCheck from './_createSizePropertyCheck.js';\nimport getByteLength from './_getByteLength.js';\n\n// Internal helper to determine whether we should spend extensive checks against\n// `ArrayBuffer` et al.\nexport default createSizePropertyCheck(getByteLength);\n","import { supportsArrayBuffer, nativeIsView, toString } from './_setup.js';\nimport isDataView from './isDataView.js';\nimport constant from './constant.js';\nimport isBufferLike from './_isBufferLike.js';\n\n// Is a given value a typed array?\nvar typedArrayPattern = /\\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\\]/;\nfunction isTypedArray(obj) {\n  // `ArrayBuffer.isView` is the most future-proof, so use it when available.\n  // Otherwise, fall back on the above regular expression.\n  return nativeIsView ? (nativeIsView(obj) && !isDataView(obj)) :\n                isBufferLike(obj) && typedArrayPattern.test(toString.call(obj));\n}\n\nexport default supportsArrayBuffer ? isTypedArray : constant(false);\n","import shallowProperty from './_shallowProperty.js';\n\n// Internal helper to obtain the `length` property of an object.\nexport default shallowProperty('length');\n","import { nonEnumerableProps, ObjProto } from './_setup.js';\nimport isFunction from './isFunction.js';\nimport has from './_has.js';\n\n// Internal helper to create a simple lookup structure.\n// `collectNonEnumProps` used to depend on `_.contains`, but this led to\n// circular imports. `emulatedSet` is a one-off solution that only works for\n// arrays of strings.\nfunction emulatedSet(keys) {\n  var hash = {};\n  for (var l = keys.length, i = 0; i < l; ++i) hash[keys[i]] = true;\n  return {\n    contains: function(key) { return hash[key]; },\n    push: function(key) {\n      hash[key] = true;\n      return keys.push(key);\n    }\n  };\n}\n\n// Internal helper. Checks `keys` for the presence of keys in IE < 9 that won't\n// be iterated by `for key in ...` and thus missed. Extends `keys` in place if\n// needed.\nexport default function collectNonEnumProps(obj, keys) {\n  keys = emulatedSet(keys);\n  var nonEnumIdx = nonEnumerableProps.length;\n  var constructor = obj.constructor;\n  var proto = isFunction(constructor) && constructor.prototype || ObjProto;\n\n  // Constructor is a special case.\n  var prop = 'constructor';\n  if (has(obj, prop) && !keys.contains(prop)) keys.push(prop);\n\n  while (nonEnumIdx--) {\n    prop = nonEnumerableProps[nonEnumIdx];\n    if (prop in obj && obj[prop] !== proto[prop] && !keys.contains(prop)) {\n      keys.push(prop);\n    }\n  }\n}\n","import isObject from './isObject.js';\nimport { nativeKeys, hasEnumBug } from './_setup.js';\nimport has from './_has.js';\nimport collectNonEnumProps from './_collectNonEnumProps.js';\n\n// Retrieve the names of an object's own properties.\n// Delegates to **ECMAScript 5**'s native `Object.keys`.\nexport default function keys(obj) {\n  if (!isObject(obj)) return [];\n  if (nativeKeys) return nativeKeys(obj);\n  var keys = [];\n  for (var key in obj) if (has(obj, key)) keys.push(key);\n  // Ahem, IE < 9.\n  if (hasEnumBug) collectNonEnumProps(obj, keys);\n  return keys;\n}\n","import getLength from './_getLength.js';\nimport isArray from './isArray.js';\nimport isString from './isString.js';\nimport isArguments from './isArguments.js';\nimport keys from './keys.js';\n\n// Is a given array, string, or object empty?\n// An \"empty\" object has no enumerable own-properties.\nexport default function isEmpty(obj) {\n  if (obj == null) return true;\n  // Skip the more expensive `toString`-based type checks if `obj` has no\n  // `.length`.\n  var length = getLength(obj);\n  if (typeof length == 'number' && (\n    isArray(obj) || isString(obj) || isArguments(obj)\n  )) return length === 0;\n  return getLength(keys(obj)) === 0;\n}\n","import keys from './keys.js';\n\n// Returns whether an object has a given set of `key:value` pairs.\nexport default function isMatch(object, attrs) {\n  var _keys = keys(attrs), length = _keys.length;\n  if (object == null) return !length;\n  var obj = Object(object);\n  for (var i = 0; i < length; i++) {\n    var key = _keys[i];\n    if (attrs[key] !== obj[key] || !(key in obj)) return false;\n  }\n  return true;\n}\n","import { VERSION } from './_setup.js';\n\n// If Underscore is called as a function, it returns a wrapped object that can\n// be used OO-style. This wrapper holds altered versions of all functions added\n// through `_.mixin`. Wrapped objects may be chained.\nexport default function _(obj) {\n  if (obj instanceof _) return obj;\n  if (!(this instanceof _)) return new _(obj);\n  this._wrapped = obj;\n}\n\n_.VERSION = VERSION;\n\n// Extracts the result from a wrapped and chained object.\n_.prototype.value = function() {\n  return this._wrapped;\n};\n\n// Provide unwrapping proxies for some methods used in engine operations\n// such as arithmetic and JSON stringification.\n_.prototype.valueOf = _.prototype.toJSON = _.prototype.value;\n\n_.prototype.toString = function() {\n  return String(this._wrapped);\n};\n","import getByteLength from './_getByteLength.js';\n\n// Internal function to wrap or shallow-copy an ArrayBuffer,\n// typed array or DataView to a new view, reusing the buffer.\nexport default function toBufferView(bufferSource) {\n  return new Uint8Array(\n    bufferSource.buffer || bufferSource,\n    bufferSource.byteOffset || 0,\n    getByteLength(bufferSource)\n  );\n}\n","import _ from './underscore.js';\nimport { toString, SymbolProto } from './_setup.js';\nimport getByteLength from './_getByteLength.js';\nimport isTypedArray from './isTypedArray.js';\nimport isFunction from './isFunction.js';\nimport { hasStringTagBug }  from './_stringTagBug.js';\nimport isDataView from './isDataView.js';\nimport keys from './keys.js';\nimport has from './_has.js';\nimport toBufferView from './_toBufferView.js';\n\n// We use this string twice, so give it a name for minification.\nvar tagDataView = '[object DataView]';\n\n// Internal recursive comparison function for `_.isEqual`.\nfunction eq(a, b, aStack, bStack) {\n  // Identical objects are equal. `0 === -0`, but they aren't identical.\n  // See the [Harmony `egal` proposal](https://wiki.ecmascript.org/doku.php?id=harmony:egal).\n  if (a === b) return a !== 0 || 1 / a === 1 / b;\n  // `null` or `undefined` only equal to itself (strict comparison).\n  if (a == null || b == null) return false;\n  // `NaN`s are equivalent, but non-reflexive.\n  if (a !== a) return b !== b;\n  // Exhaust primitive checks\n  var type = typeof a;\n  if (type !== 'function' && type !== 'object' && typeof b != 'object') return false;\n  return deepEq(a, b, aStack, bStack);\n}\n\n// Internal recursive comparison function for `_.isEqual`.\nfunction deepEq(a, b, aStack, bStack) {\n  // Unwrap any wrapped objects.\n  if (a instanceof _) a = a._wrapped;\n  if (b instanceof _) b = b._wrapped;\n  // Compare `[[Class]]` names.\n  var className = toString.call(a);\n  if (className !== toString.call(b)) return false;\n  // Work around a bug in IE 10 - Edge 13.\n  if (hasStringTagBug && className == '[object Object]' && isDataView(a)) {\n    if (!isDataView(b)) return false;\n    className = tagDataView;\n  }\n  switch (className) {\n    // These types are compared by value.\n    case '[object RegExp]':\n      // RegExps are coerced to strings for comparison (Note: '' + /a/i === '/a/i')\n    case '[object String]':\n      // Primitives and their corresponding object wrappers are equivalent; thus, `\"5\"` is\n      // equivalent to `new String(\"5\")`.\n      return '' + a === '' + b;\n    case '[object Number]':\n      // `NaN`s are equivalent, but non-reflexive.\n      // Object(NaN) is equivalent to NaN.\n      if (+a !== +a) return +b !== +b;\n      // An `egal` comparison is performed for other numeric values.\n      return +a === 0 ? 1 / +a === 1 / b : +a === +b;\n    case '[object Date]':\n    case '[object Boolean]':\n      // Coerce dates and booleans to numeric primitive values. Dates are compared by their\n      // millisecond representations. Note that invalid dates with millisecond representations\n      // of `NaN` are not equivalent.\n      return +a === +b;\n    case '[object Symbol]':\n      return SymbolProto.valueOf.call(a) === SymbolProto.valueOf.call(b);\n    case '[object ArrayBuffer]':\n    case tagDataView:\n      // Coerce to typed array so we can fall through.\n      return deepEq(toBufferView(a), toBufferView(b), aStack, bStack);\n  }\n\n  var areArrays = className === '[object Array]';\n  if (!areArrays && isTypedArray(a)) {\n      var byteLength = getByteLength(a);\n      if (byteLength !== getByteLength(b)) return false;\n      if (a.buffer === b.buffer && a.byteOffset === b.byteOffset) return true;\n      areArrays = true;\n  }\n  if (!areArrays) {\n    if (typeof a != 'object' || typeof b != 'object') return false;\n\n    // Objects with different constructors are not equivalent, but `Object`s or `Array`s\n    // from different frames are.\n    var aCtor = a.constructor, bCtor = b.constructor;\n    if (aCtor !== bCtor && !(isFunction(aCtor) && aCtor instanceof aCtor &&\n                             isFunction(bCtor) && bCtor instanceof bCtor)\n                        && ('constructor' in a && 'constructor' in b)) {\n      return false;\n    }\n  }\n  // Assume equality for cyclic structures. The algorithm for detecting cyclic\n  // structures is adapted from ES 5.1 section 15.12.3, abstract operation `JO`.\n\n  // Initializing stack of traversed objects.\n  // It's done here since we only need them for objects and arrays comparison.\n  aStack = aStack || [];\n  bStack = bStack || [];\n  var length = aStack.length;\n  while (length--) {\n    // Linear search. Performance is inversely proportional to the number of\n    // unique nested structures.\n    if (aStack[length] === a) return bStack[length] === b;\n  }\n\n  // Add the first object to the stack of traversed objects.\n  aStack.push(a);\n  bStack.push(b);\n\n  // Recursively compare objects and arrays.\n  if (areArrays) {\n    // Compare array lengths to determine if a deep comparison is necessary.\n    length = a.length;\n    if (length !== b.length) return false;\n    // Deep compare the contents, ignoring non-numeric properties.\n    while (length--) {\n      if (!eq(a[length], b[length], aStack, bStack)) return false;\n    }\n  } else {\n    // Deep compare objects.\n    var _keys = keys(a), key;\n    length = _keys.length;\n    // Ensure that both objects contain the same number of properties before comparing deep equality.\n    if (keys(b).length !== length) return false;\n    while (length--) {\n      // Deep compare each member\n      key = _keys[length];\n      if (!(has(b, key) && eq(a[key], b[key], aStack, bStack))) return false;\n    }\n  }\n  // Remove the first object from the stack of traversed objects.\n  aStack.pop();\n  bStack.pop();\n  return true;\n}\n\n// Perform a deep comparison to check if two objects are equal.\nexport default function isEqual(a, b) {\n  return eq(a, b);\n}\n","import isObject from './isObject.js';\nimport { hasEnumBug } from './_setup.js';\nimport collectNonEnumProps from './_collectNonEnumProps.js';\n\n// Retrieve all the enumerable property names of an object.\nexport default function allKeys(obj) {\n  if (!isObject(obj)) return [];\n  var keys = [];\n  for (var key in obj) keys.push(key);\n  // Ahem, IE < 9.\n  if (hasEnumBug) collectNonEnumProps(obj, keys);\n  return keys;\n}\n","import getLength from './_getLength.js';\nimport isFunction from './isFunction.js';\nimport allKeys from './allKeys.js';\n\n// Since the regular `Object.prototype.toString` type tests don't work for\n// some types in IE 11, we use a fingerprinting heuristic instead, based\n// on the methods. It's not great, but it's the best we got.\n// The fingerprint method lists are defined below.\nexport function ie11fingerprint(methods) {\n  var length = getLength(methods);\n  return function(obj) {\n    if (obj == null) return false;\n    // `Map`, `WeakMap` and `Set` have no enumerable keys.\n    var keys = allKeys(obj);\n    if (getLength(keys)) return false;\n    for (var i = 0; i < length; i++) {\n      if (!isFunction(obj[methods[i]])) return false;\n    }\n    // If we are testing against `WeakMap`, we need to ensure that\n    // `obj` doesn't have a `forEach` method in order to distinguish\n    // it from a regular `Map`.\n    return methods !== weakMapMethods || !isFunction(obj[forEachName]);\n  };\n}\n\n// In the interest of compact minification, we write\n// each string in the fingerprints only once.\nvar forEachName = 'forEach',\n    hasName = 'has',\n    commonInit = ['clear', 'delete'],\n    mapTail = ['get', hasName, 'set'];\n\n// `Map`, `WeakMap` and `Set` each have slightly different\n// combinations of the above sublists.\nexport var mapMethods = commonInit.concat(forEachName, mapTail),\n    weakMapMethods = commonInit.concat(mapTail),\n    setMethods = ['add'].concat(commonInit, forEachName, hasName);\n","import tagTester from './_tagTester.js';\nimport { isIE11 } from './_stringTagBug.js';\nimport { ie11fingerprint, mapMethods }  from './_methodFingerprint.js';\n\nexport default isIE11 ? ie11fingerprint(mapMethods) : tagTester('Map');\n","import tagTester from './_tagTester.js';\nimport { isIE11 } from './_stringTagBug.js';\nimport { ie11fingerprint, weakMapMethods }  from './_methodFingerprint.js';\n\nexport default isIE11 ? ie11fingerprint(weakMapMethods) : tagTester('WeakMap');\n","import tagTester from './_tagTester.js';\nimport { isIE11 } from './_stringTagBug.js';\nimport { ie11fingerprint, setMethods }  from './_methodFingerprint.js';\n\nexport default isIE11 ? ie11fingerprint(setMethods) : tagTester('Set');\n","import tagTester from './_tagTester.js';\n\nexport default tagTester('WeakSet');\n","import keys from './keys.js';\n\n// Retrieve the values of an object's properties.\nexport default function values(obj) {\n  var _keys = keys(obj);\n  var length = _keys.length;\n  var values = Array(length);\n  for (var i = 0; i < length; i++) {\n    values[i] = obj[_keys[i]];\n  }\n  return values;\n}\n","import keys from './keys.js';\n\n// Convert an object into a list of `[key, value]` pairs.\n// The opposite of `_.object` with one argument.\nexport default function pairs(obj) {\n  var _keys = keys(obj);\n  var length = _keys.length;\n  var pairs = Array(length);\n  for (var i = 0; i < length; i++) {\n    pairs[i] = [_keys[i], obj[_keys[i]]];\n  }\n  return pairs;\n}\n","import keys from './keys.js';\n\n// Invert the keys and values of an object. The values must be serializable.\nexport default function invert(obj) {\n  var result = {};\n  var _keys = keys(obj);\n  for (var i = 0, length = _keys.length; i < length; i++) {\n    result[obj[_keys[i]]] = _keys[i];\n  }\n  return result;\n}\n","import isFunction from './isFunction.js';\n\n// Return a sorted list of the function names available on the object.\nexport default function functions(obj) {\n  var names = [];\n  for (var key in obj) {\n    if (isFunction(obj[key])) names.push(key);\n  }\n  return names.sort();\n}\n","// An internal function for creating assigner functions.\nexport default function createAssigner(keysFunc, defaults) {\n  return function(obj) {\n    var length = arguments.length;\n    if (defaults) obj = Object(obj);\n    if (length < 2 || obj == null) return obj;\n    for (var index = 1; index < length; index++) {\n      var source = arguments[index],\n          keys = keysFunc(source),\n          l = keys.length;\n      for (var i = 0; i < l; i++) {\n        var key = keys[i];\n        if (!defaults || obj[key] === void 0) obj[key] = source[key];\n      }\n    }\n    return obj;\n  };\n}\n","import createAssigner from './_createAssigner.js';\nimport allKeys from './allKeys.js';\n\n// Extend a given object with all the properties in passed-in object(s).\nexport default createAssigner(allKeys);\n","import createAssigner from './_createAssigner.js';\nimport keys from './keys.js';\n\n// Assigns a given object with all the own properties in the passed-in\n// object(s).\n// (https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Object/assign)\nexport default createAssigner(keys);\n","import createAssigner from './_createAssigner.js';\nimport allKeys from './allKeys.js';\n\n// Fill in a given object with default properties.\nexport default createAssigner(allKeys, true);\n","import isObject from './isObject.js';\nimport { nativeCreate } from './_setup.js';\n\n// Create a naked function reference for surrogate-prototype-swapping.\nfunction ctor() {\n  return function(){};\n}\n\n// An internal function for creating a new object that inherits from another.\nexport default function baseCreate(prototype) {\n  if (!isObject(prototype)) return {};\n  if (nativeCreate) return nativeCreate(prototype);\n  var Ctor = ctor();\n  Ctor.prototype = prototype;\n  var result = new Ctor;\n  Ctor.prototype = null;\n  return result;\n}\n","import baseCreate from './_baseCreate.js';\nimport extendOwn from './extendOwn.js';\n\n// Creates an object that inherits from the given prototype object.\n// If additional properties are provided then they will be added to the\n// created object.\nexport default function create(prototype, props) {\n  var result = baseCreate(prototype);\n  if (props) extendOwn(result, props);\n  return result;\n}\n","import isObject from './isObject.js';\nimport isArray from './isArray.js';\nimport extend from './extend.js';\n\n// Create a (shallow-cloned) duplicate of an object.\nexport default function clone(obj) {\n  if (!isObject(obj)) return obj;\n  return isArray(obj) ? obj.slice() : extend({}, obj);\n}\n","// Invokes `interceptor` with the `obj` and then returns `obj`.\n// The primary purpose of this method is to \"tap into\" a method chain, in\n// order to perform operations on intermediate results within the chain.\nexport default function tap(obj, interceptor) {\n  interceptor(obj);\n  return obj;\n}\n","import _ from './underscore.js';\nimport isArray from './isArray.js';\n\n// Normalize a (deep) property `path` to array.\n// Like `_.iteratee`, this function can be customized.\nexport default function toPath(path) {\n  return isArray(path) ? path : [path];\n}\n_.toPath = toPath;\n","import _ from './underscore.js';\nimport './toPath.js';\n\n// Internal wrapper for `_.toPath` to enable minification.\n// Similar to `cb` for `_.iteratee`.\nexport default function toPath(path) {\n  return _.toPath(path);\n}\n","// Internal function to obtain a nested property in `obj` along `path`.\nexport default function deepGet(obj, path) {\n  var length = path.length;\n  for (var i = 0; i < length; i++) {\n    if (obj == null) return void 0;\n    obj = obj[path[i]];\n  }\n  return length ? obj : void 0;\n}\n","import toPath from './_toPath.js';\nimport deepGet from './_deepGet.js';\nimport isUndefined from './isUndefined.js';\n\n// Get the value of the (deep) property on `path` from `object`.\n// If any property in `path` does not exist or if the value is\n// `undefined`, return `defaultValue` instead.\n// The `path` is normalized through `_.toPath`.\nexport default function get(object, path, defaultValue) {\n  var value = deepGet(object, toPath(path));\n  return isUndefined(value) ? defaultValue : value;\n}\n","import _has from './_has.js';\nimport toPath from './_toPath.js';\n\n// Shortcut function for checking if an object has a given property directly on\n// itself (in other words, not on a prototype). Unlike the internal `has`\n// function, this public version can also traverse nested properties.\nexport default function has(obj, path) {\n  path = toPath(path);\n  var length = path.length;\n  for (var i = 0; i < length; i++) {\n    var key = path[i];\n    if (!_has(obj, key)) return false;\n    obj = obj[key];\n  }\n  return !!length;\n}\n","// Keep the identity function around for default iteratees.\nexport default function identity(value) {\n  return value;\n}\n","import extendOwn from './extendOwn.js';\nimport isMatch from './isMatch.js';\n\n// Returns a predicate for checking whether an object has a given set of\n// `key:value` pairs.\nexport default function matcher(attrs) {\n  attrs = extendOwn({}, attrs);\n  return function(obj) {\n    return isMatch(obj, attrs);\n  };\n}\n","import deepGet from './_deepGet.js';\nimport toPath from './_toPath.js';\n\n// Creates a function that, when passed an object, will traverse that object’s\n// properties down the given `path`, specified as an array of keys or indices.\nexport default function property(path) {\n  path = toPath(path);\n  return function(obj) {\n    return deepGet(obj, path);\n  };\n}\n","// Internal function that returns an efficient (for current engines) version\n// of the passed-in callback, to be repeatedly applied in other Underscore\n// functions.\nexport default function optimizeCb(func, context, argCount) {\n  if (context === void 0) return func;\n  switch (argCount == null ? 3 : argCount) {\n    case 1: return function(value) {\n      return func.call(context, value);\n    };\n    // The 2-argument case is omitted because we’re not using it.\n    case 3: return function(value, index, collection) {\n      return func.call(context, value, index, collection);\n    };\n    case 4: return function(accumulator, value, index, collection) {\n      return func.call(context, accumulator, value, index, collection);\n    };\n  }\n  return function() {\n    return func.apply(context, arguments);\n  };\n}\n","import identity from './identity.js';\nimport isFunction from './isFunction.js';\nimport isObject from './isObject.js';\nimport isArray from './isArray.js';\nimport matcher from './matcher.js';\nimport property from './property.js';\nimport optimizeCb from './_optimizeCb.js';\n\n// An internal function to generate callbacks that can be applied to each\n// element in a collection, returning the desired result — either `_.identity`,\n// an arbitrary callback, a property matcher, or a property accessor.\nexport default function baseIteratee(value, context, argCount) {\n  if (value == null) return identity;\n  if (isFunction(value)) return optimizeCb(value, context, argCount);\n  if (isObject(value) && !isArray(value)) return matcher(value);\n  return property(value);\n}\n","import _ from './underscore.js';\nimport baseIteratee from './_baseIteratee.js';\n\n// External wrapper for our callback generator. Users may customize\n// `_.iteratee` if they want additional predicate/iteratee shorthand styles.\n// This abstraction hides the internal-only `argCount` argument.\nexport default function iteratee(value, context) {\n  return baseIteratee(value, context, Infinity);\n}\n_.iteratee = iteratee;\n","import _ from './underscore.js';\nimport baseIteratee from './_baseIteratee.js';\nimport iteratee from './iteratee.js';\n\n// The function we call internally to generate a callback. It invokes\n// `_.iteratee` if overridden, otherwise `baseIteratee`.\nexport default function cb(value, context, argCount) {\n  if (_.iteratee !== iteratee) return _.iteratee(value, context);\n  return baseIteratee(value, context, argCount);\n}\n","import cb from './_cb.js';\nimport keys from './keys.js';\n\n// Returns the results of applying the `iteratee` to each element of `obj`.\n// In contrast to `_.map` it returns an object.\nexport default function mapObject(obj, iteratee, context) {\n  iteratee = cb(iteratee, context);\n  var _keys = keys(obj),\n      length = _keys.length,\n      results = {};\n  for (var index = 0; index < length; index++) {\n    var currentKey = _keys[index];\n    results[currentKey] = iteratee(obj[currentKey], currentKey, obj);\n  }\n  return results;\n}\n","// Predicate-generating function. Often useful outside of Underscore.\nexport default function noop(){}\n","import noop from './noop.js';\nimport get from './get.js';\n\n// Generates a function for a given object that returns a given property.\nexport default function propertyOf(obj) {\n  if (obj == null) return noop;\n  return function(path) {\n    return get(obj, path);\n  };\n}\n","import optimizeCb from './_optimizeCb.js';\n\n// Run a function **n** times.\nexport default function times(n, iteratee, context) {\n  var accum = Array(Math.max(0, n));\n  iteratee = optimizeCb(iteratee, context, 1);\n  for (var i = 0; i < n; i++) accum[i] = iteratee(i);\n  return accum;\n}\n","// Return a random integer between `min` and `max` (inclusive).\nexport default function random(min, max) {\n  if (max == null) {\n    max = min;\n    min = 0;\n  }\n  return min + Math.floor(Math.random() * (max - min + 1));\n}\n","// A (possibly faster) way to get the current timestamp as an integer.\nexport default Date.now || function() {\n  return new Date().getTime();\n};\n","import keys from './keys.js';\n\n// Internal helper to generate functions for escaping and unescaping strings\n// to/from HTML interpolation.\nexport default function createEscaper(map) {\n  var escaper = function(match) {\n    return map[match];\n  };\n  // Regexes for identifying a key that needs to be escaped.\n  var source = '(?:' + keys(map).join('|') + ')';\n  var testRegexp = RegExp(source);\n  var replaceRegexp = RegExp(source, 'g');\n  return function(string) {\n    string = string == null ? '' : '' + string;\n    return testRegexp.test(string) ? string.replace(replaceRegexp, escaper) : string;\n  };\n}\n","// Internal list of HTML entities for escaping.\nexport default {\n  '&': '&amp;',\n  '<': '&lt;',\n  '>': '&gt;',\n  '\"': '&quot;',\n  \"'\": '&#x27;',\n  '`': '&#x60;'\n};\n","import createEscaper from './_createEscaper.js';\nimport escapeMap from './_escapeMap.js';\n\n// Function for escaping strings to HTML interpolation.\nexport default createEscaper(escapeMap);\n","import createEscaper from './_createEscaper.js';\nimport unescapeMap from './_unescapeMap.js';\n\n// Function for unescaping strings from HTML interpolation.\nexport default createEscaper(unescapeMap);\n","import invert from './invert.js';\nimport escapeMap from './_escapeMap.js';\n\n// Internal list of HTML entities for unescaping.\nexport default invert(escapeMap);\n","import _ from './underscore.js';\n\n// By default, Underscore uses ERB-style template delimiters. Change the\n// following template settings to use alternative delimiters.\nexport default _.templateSettings = {\n  evaluate: /<%([\\s\\S]+?)%>/g,\n  interpolate: /<%=([\\s\\S]+?)%>/g,\n  escape: /<%-([\\s\\S]+?)%>/g\n};\n","import defaults from './defaults.js';\nimport _ from './underscore.js';\nimport './templateSettings.js';\n\n// When customizing `_.templateSettings`, if you don't want to define an\n// interpolation, evaluation or escaping regex, we need one that is\n// guaranteed not to match.\nvar noMatch = /(.)^/;\n\n// Certain characters need to be escaped so that they can be put into a\n// string literal.\nvar escapes = {\n  \"'\": \"'\",\n  '\\\\': '\\\\',\n  '\\r': 'r',\n  '\\n': 'n',\n  '\\u2028': 'u2028',\n  '\\u2029': 'u2029'\n};\n\nvar escapeRegExp = /\\\\|'|\\r|\\n|\\u2028|\\u2029/g;\n\nfunction escapeChar(match) {\n  return '\\\\' + escapes[match];\n}\n\n// In order to prevent third-party code injection through\n// `_.templateSettings.variable`, we test it against the following regular\n// expression. It is intentionally a bit more liberal than just matching valid\n// identifiers, but still prevents possible loopholes through defaults or\n// destructuring assignment.\nvar bareIdentifier = /^\\s*(\\w|\\$)+\\s*$/;\n\n// JavaScript micro-templating, similar to John Resig's implementation.\n// Underscore templating handles arbitrary delimiters, preserves whitespace,\n// and correctly escapes quotes within interpolated code.\n// NB: `oldSettings` only exists for backwards compatibility.\nexport default function template(text, settings, oldSettings) {\n  if (!settings && oldSettings) settings = oldSettings;\n  settings = defaults({}, settings, _.templateSettings);\n\n  // Combine delimiters into one regular expression via alternation.\n  var matcher = RegExp([\n    (settings.escape || noMatch).source,\n    (settings.interpolate || noMatch).source,\n    (settings.evaluate || noMatch).source\n  ].join('|') + '|$', 'g');\n\n  // Compile the template source, escaping string literals appropriately.\n  var index = 0;\n  var source = \"__p+='\";\n  text.replace(matcher, function(match, escape, interpolate, evaluate, offset) {\n    source += text.slice(index, offset).replace(escapeRegExp, escapeChar);\n    index = offset + match.length;\n\n    if (escape) {\n      source += \"'+\\n((__t=(\" + escape + \"))==null?'':_.escape(__t))+\\n'\";\n    } else if (interpolate) {\n      source += \"'+\\n((__t=(\" + interpolate + \"))==null?'':__t)+\\n'\";\n    } else if (evaluate) {\n      source += \"';\\n\" + evaluate + \"\\n__p+='\";\n    }\n\n    // Adobe VMs need the match returned to produce the correct offset.\n    return match;\n  });\n  source += \"';\\n\";\n\n  var argument = settings.variable;\n  if (argument) {\n    // Insure against third-party code injection. (CVE-2021-23358)\n    if (!bareIdentifier.test(argument)) throw new Error(\n      'variable is not a bare identifier: ' + argument\n    );\n  } else {\n    // If a variable is not specified, place data values in local scope.\n    source = 'with(obj||{}){\\n' + source + '}\\n';\n    argument = 'obj';\n  }\n\n  source = \"var __t,__p='',__j=Array.prototype.join,\" +\n    \"print=function(){__p+=__j.call(arguments,'');};\\n\" +\n    source + 'return __p;\\n';\n\n  var render;\n  try {\n    render = new Function(argument, '_', source);\n  } catch (e) {\n    e.source = source;\n    throw e;\n  }\n\n  var template = function(data) {\n    return render.call(this, data, _);\n  };\n\n  // Provide the compiled source as a convenience for precompilation.\n  template.source = 'function(' + argument + '){\\n' + source + '}';\n\n  return template;\n}\n","import isFunction from './isFunction.js';\nimport toPath from './_toPath.js';\n\n// Traverses the children of `obj` along `path`. If a child is a function, it\n// is invoked with its parent as context. Returns the value of the final\n// child, or `fallback` if any child is undefined.\nexport default function result(obj, path, fallback) {\n  path = toPath(path);\n  var length = path.length;\n  if (!length) {\n    return isFunction(fallback) ? fallback.call(obj) : fallback;\n  }\n  for (var i = 0; i < length; i++) {\n    var prop = obj == null ? void 0 : obj[path[i]];\n    if (prop === void 0) {\n      prop = fallback;\n      i = length; // Ensure we don't continue iterating.\n    }\n    obj = isFunction(prop) ? prop.call(obj) : prop;\n  }\n  return obj;\n}\n","// Generate a unique integer id (unique within the entire client session).\n// Useful for temporary DOM ids.\nvar idCounter = 0;\nexport default function uniqueId(prefix) {\n  var id = ++idCounter + '';\n  return prefix ? prefix + id : id;\n}\n","import _ from './underscore.js';\n\n// Start chaining a wrapped Underscore object.\nexport default function chain(obj) {\n  var instance = _(obj);\n  instance._chain = true;\n  return instance;\n}\n","import baseCreate from './_baseCreate.js';\nimport isObject from './isObject.js';\n\n// Internal function to execute `sourceFunc` bound to `context` with optional\n// `args`. Determines whether to execute a function as a constructor or as a\n// normal function.\nexport default function executeBound(sourceFunc, boundFunc, context, callingContext, args) {\n  if (!(callingContext instanceof boundFunc)) return sourceFunc.apply(context, args);\n  var self = baseCreate(sourceFunc.prototype);\n  var result = sourceFunc.apply(self, args);\n  if (isObject(result)) return result;\n  return self;\n}\n","import restArguments from './restArguments.js';\nimport executeBound from './_executeBound.js';\nimport _ from './underscore.js';\n\n// Partially apply a function by creating a version that has had some of its\n// arguments pre-filled, without changing its dynamic `this` context. `_` acts\n// as a placeholder by default, allowing any combination of arguments to be\n// pre-filled. Set `_.partial.placeholder` for a custom placeholder argument.\nvar partial = restArguments(function(func, boundArgs) {\n  var placeholder = partial.placeholder;\n  var bound = function() {\n    var position = 0, length = boundArgs.length;\n    var args = Array(length);\n    for (var i = 0; i < length; i++) {\n      args[i] = boundArgs[i] === placeholder ? arguments[position++] : boundArgs[i];\n    }\n    while (position < arguments.length) args.push(arguments[position++]);\n    return executeBound(func, bound, this, this, args);\n  };\n  return bound;\n});\n\npartial.placeholder = _;\nexport default partial;\n","import restArguments from './restArguments.js';\nimport isFunction from './isFunction.js';\nimport executeBound from './_executeBound.js';\n\n// Create a function bound to a given object (assigning `this`, and arguments,\n// optionally).\nexport default restArguments(function(func, context, args) {\n  if (!isFunction(func)) throw new TypeError('Bind must be called on a function');\n  var bound = restArguments(function(callArgs) {\n    return executeBound(func, bound, context, this, args.concat(callArgs));\n  });\n  return bound;\n});\n","import createSizePropertyCheck from './_createSizePropertyCheck.js';\nimport getLength from './_getLength.js';\n\n// Internal helper for collection methods to determine whether a collection\n// should be iterated as an array or as an object.\n// Related: https://people.mozilla.org/~jorendorff/es6-draft.html#sec-tolength\n// Avoids a very nasty iOS 8 JIT bug on ARM-64. #2094\nexport default createSizePropertyCheck(getLength);\n","import getLength from './_getLength.js';\nimport isArrayLike from './_isArrayLike.js';\nimport isArray from './isArray.js';\nimport isArguments from './isArguments.js';\n\n// Internal implementation of a recursive `flatten` function.\nexport default function flatten(input, depth, strict, output) {\n  output = output || [];\n  if (!depth && depth !== 0) {\n    depth = Infinity;\n  } else if (depth <= 0) {\n    return output.concat(input);\n  }\n  var idx = output.length;\n  for (var i = 0, length = getLength(input); i < length; i++) {\n    var value = input[i];\n    if (isArrayLike(value) && (isArray(value) || isArguments(value))) {\n      // Flatten current level of array or arguments object.\n      if (depth > 1) {\n        flatten(value, depth - 1, strict, output);\n        idx = output.length;\n      } else {\n        var j = 0, len = value.length;\n        while (j < len) output[idx++] = value[j++];\n      }\n    } else if (!strict) {\n      output[idx++] = value;\n    }\n  }\n  return output;\n}\n","import restArguments from './restArguments.js';\nimport flatten from './_flatten.js';\nimport bind from './bind.js';\n\n// Bind a number of an object's methods to that object. Remaining arguments\n// are the method names to be bound. Useful for ensuring that all callbacks\n// defined on an object belong to it.\nexport default restArguments(function(obj, keys) {\n  keys = flatten(keys, false, false);\n  var index = keys.length;\n  if (index < 1) throw new Error('bindAll must be passed function names');\n  while (index--) {\n    var key = keys[index];\n    obj[key] = bind(obj[key], obj);\n  }\n  return obj;\n});\n","import has from './_has.js';\n\n// Memoize an expensive function by storing its results.\nexport default function memoize(func, hasher) {\n  var memoize = function(key) {\n    var cache = memoize.cache;\n    var address = '' + (hasher ? hasher.apply(this, arguments) : key);\n    if (!has(cache, address)) cache[address] = func.apply(this, arguments);\n    return cache[address];\n  };\n  memoize.cache = {};\n  return memoize;\n}\n","import restArguments from './restArguments.js';\n\n// Delays a function for the given number of milliseconds, and then calls\n// it with the arguments supplied.\nexport default restArguments(function(func, wait, args) {\n  return setTimeout(function() {\n    return func.apply(null, args);\n  }, wait);\n});\n","import partial from './partial.js';\nimport delay from './delay.js';\nimport _ from './underscore.js';\n\n// Defers a function, scheduling it to run after the current call stack has\n// cleared.\nexport default partial(delay, _, 1);\n","import now from './now.js';\n\n// Returns a function, that, when invoked, will only be triggered at most once\n// during a given window of time. Normally, the throttled function will run\n// as much as it can, without ever going more than once per `wait` duration;\n// but if you'd like to disable the execution on the leading edge, pass\n// `{leading: false}`. To disable execution on the trailing edge, ditto.\nexport default function throttle(func, wait, options) {\n  var timeout, context, args, result;\n  var previous = 0;\n  if (!options) options = {};\n\n  var later = function() {\n    previous = options.leading === false ? 0 : now();\n    timeout = null;\n    result = func.apply(context, args);\n    if (!timeout) context = args = null;\n  };\n\n  var throttled = function() {\n    var _now = now();\n    if (!previous && options.leading === false) previous = _now;\n    var remaining = wait - (_now - previous);\n    context = this;\n    args = arguments;\n    if (remaining <= 0 || remaining > wait) {\n      if (timeout) {\n        clearTimeout(timeout);\n        timeout = null;\n      }\n      previous = _now;\n      result = func.apply(context, args);\n      if (!timeout) context = args = null;\n    } else if (!timeout && options.trailing !== false) {\n      timeout = setTimeout(later, remaining);\n    }\n    return result;\n  };\n\n  throttled.cancel = function() {\n    clearTimeout(timeout);\n    previous = 0;\n    timeout = context = args = null;\n  };\n\n  return throttled;\n}\n","import restArguments from './restArguments.js';\nimport now from './now.js';\n\n// When a sequence of calls of the returned function ends, the argument\n// function is triggered. The end of a sequence is defined by the `wait`\n// parameter. If `immediate` is passed, the argument function will be\n// triggered at the beginning of the sequence instead of at the end.\nexport default function debounce(func, wait, immediate) {\n  var timeout, previous, args, result, context;\n\n  var later = function() {\n    var passed = now() - previous;\n    if (wait > passed) {\n      timeout = setTimeout(later, wait - passed);\n    } else {\n      timeout = null;\n      if (!immediate) result = func.apply(context, args);\n      // This check is needed because `func` can recursively invoke `debounced`.\n      if (!timeout) args = context = null;\n    }\n  };\n\n  var debounced = restArguments(function(_args) {\n    context = this;\n    args = _args;\n    previous = now();\n    if (!timeout) {\n      timeout = setTimeout(later, wait);\n      if (immediate) result = func.apply(context, args);\n    }\n    return result;\n  });\n\n  debounced.cancel = function() {\n    clearTimeout(timeout);\n    timeout = args = context = null;\n  };\n\n  return debounced;\n}\n","import partial from './partial.js';\n\n// Returns the first function passed as an argument to the second,\n// allowing you to adjust arguments, run code before and after, and\n// conditionally execute the original function.\nexport default function wrap(func, wrapper) {\n  return partial(wrapper, func);\n}\n","// Returns a negated version of the passed-in predicate.\nexport default function negate(predicate) {\n  return function() {\n    return !predicate.apply(this, arguments);\n  };\n}\n","// Returns a function that is the composition of a list of functions, each\n// consuming the return value of the function that follows.\nexport default function compose() {\n  var args = arguments;\n  var start = args.length - 1;\n  return function() {\n    var i = start;\n    var result = args[start].apply(this, arguments);\n    while (i--) result = args[i].call(this, result);\n    return result;\n  };\n}\n","// Returns a function that will only be executed on and after the Nth call.\nexport default function after(times, func) {\n  return function() {\n    if (--times < 1) {\n      return func.apply(this, arguments);\n    }\n  };\n}\n","// Returns a function that will only be executed up to (but not including) the\n// Nth call.\nexport default function before(times, func) {\n  var memo;\n  return function() {\n    if (--times > 0) {\n      memo = func.apply(this, arguments);\n    }\n    if (times <= 1) func = null;\n    return memo;\n  };\n}\n","import partial from './partial.js';\nimport before from './before.js';\n\n// Returns a function that will be executed at most one time, no matter how\n// often you call it. Useful for lazy initialization.\nexport default partial(before, 2);\n","import cb from './_cb.js';\nimport keys from './keys.js';\n\n// Returns the first key on an object that passes a truth test.\nexport default function findKey(obj, predicate, context) {\n  predicate = cb(predicate, context);\n  var _keys = keys(obj), key;\n  for (var i = 0, length = _keys.length; i < length; i++) {\n    key = _keys[i];\n    if (predicate(obj[key], key, obj)) return key;\n  }\n}\n","import cb from './_cb.js';\nimport getLength from './_getLength.js';\n\n// Internal function to generate `_.findIndex` and `_.findLastIndex`.\nexport default function createPredicateIndexFinder(dir) {\n  return function(array, predicate, context) {\n    predicate = cb(predicate, context);\n    var length = getLength(array);\n    var index = dir > 0 ? 0 : length - 1;\n    for (; index >= 0 && index < length; index += dir) {\n      if (predicate(array[index], index, array)) return index;\n    }\n    return -1;\n  };\n}\n","import createPredicateIndexFinder from './_createPredicateIndexFinder.js';\n\n// Returns the first index on an array-like that passes a truth test.\nexport default createPredicateIndexFinder(1);\n","import createPredicateIndexFinder from './_createPredicateIndexFinder.js';\n\n// Returns the last index on an array-like that passes a truth test.\nexport default createPredicateIndexFinder(-1);\n","import cb from './_cb.js';\nimport getLength from './_getLength.js';\n\n// Use a comparator function to figure out the smallest index at which\n// an object should be inserted so as to maintain order. Uses binary search.\nexport default function sortedIndex(array, obj, iteratee, context) {\n  iteratee = cb(iteratee, context, 1);\n  var value = iteratee(obj);\n  var low = 0, high = getLength(array);\n  while (low < high) {\n    var mid = Math.floor((low + high) / 2);\n    if (iteratee(array[mid]) < value) low = mid + 1; else high = mid;\n  }\n  return low;\n}\n","import getLength from './_getLength.js';\nimport { slice } from './_setup.js';\nimport isNaN from './isNaN.js';\n\n// Internal function to generate the `_.indexOf` and `_.lastIndexOf` functions.\nexport default function createIndexFinder(dir, predicateFind, sortedIndex) {\n  return function(array, item, idx) {\n    var i = 0, length = getLength(array);\n    if (typeof idx == 'number') {\n      if (dir > 0) {\n        i = idx >= 0 ? idx : Math.max(idx + length, i);\n      } else {\n        length = idx >= 0 ? Math.min(idx + 1, length) : idx + length + 1;\n      }\n    } else if (sortedIndex && idx && length) {\n      idx = sortedIndex(array, item);\n      return array[idx] === item ? idx : -1;\n    }\n    if (item !== item) {\n      idx = predicateFind(slice.call(array, i, length), isNaN);\n      return idx >= 0 ? idx + i : -1;\n    }\n    for (idx = dir > 0 ? i : length - 1; idx >= 0 && idx < length; idx += dir) {\n      if (array[idx] === item) return idx;\n    }\n    return -1;\n  };\n}\n","import sortedIndex from './sortedIndex.js';\nimport findIndex from './findIndex.js';\nimport createIndexFinder from './_createIndexFinder.js';\n\n// Return the position of the first occurrence of an item in an array,\n// or -1 if the item is not included in the array.\n// If the array is large and already in sort order, pass `true`\n// for **isSorted** to use binary search.\nexport default createIndexFinder(1, findIndex, sortedIndex);\n","import findLastIndex from './findLastIndex.js';\nimport createIndexFinder from './_createIndexFinder.js';\n\n// Return the position of the last occurrence of an item in an array,\n// or -1 if the item is not included in the array.\nexport default createIndexFinder(-1, findLastIndex);\n","import isArrayLike from './_isArrayLike.js';\nimport findIndex from './findIndex.js';\nimport findKey from './findKey.js';\n\n// Return the first value which passes a truth test.\nexport default function find(obj, predicate, context) {\n  var keyFinder = isArrayLike(obj) ? findIndex : findKey;\n  var key = keyFinder(obj, predicate, context);\n  if (key !== void 0 && key !== -1) return obj[key];\n}\n","import find from './find.js';\nimport matcher from './matcher.js';\n\n// Convenience version of a common use case of `_.find`: getting the first\n// object containing specific `key:value` pairs.\nexport default function findWhere(obj, attrs) {\n  return find(obj, matcher(attrs));\n}\n","import optimizeCb from './_optimizeCb.js';\nimport isArrayLike from './_isArrayLike.js';\nimport keys from './keys.js';\n\n// The cornerstone for collection functions, an `each`\n// implementation, aka `forEach`.\n// Handles raw objects in addition to array-likes. Treats all\n// sparse array-likes as if they were dense.\nexport default function each(obj, iteratee, context) {\n  iteratee = optimizeCb(iteratee, context);\n  var i, length;\n  if (isArrayLike(obj)) {\n    for (i = 0, length = obj.length; i < length; i++) {\n      iteratee(obj[i], i, obj);\n    }\n  } else {\n    var _keys = keys(obj);\n    for (i = 0, length = _keys.length; i < length; i++) {\n      iteratee(obj[_keys[i]], _keys[i], obj);\n    }\n  }\n  return obj;\n}\n","import cb from './_cb.js';\nimport isArrayLike from './_isArrayLike.js';\nimport keys from './keys.js';\n\n// Return the results of applying the iteratee to each element.\nexport default function map(obj, iteratee, context) {\n  iteratee = cb(iteratee, context);\n  var _keys = !isArrayLike(obj) && keys(obj),\n      length = (_keys || obj).length,\n      results = Array(length);\n  for (var index = 0; index < length; index++) {\n    var currentKey = _keys ? _keys[index] : index;\n    results[index] = iteratee(obj[currentKey], currentKey, obj);\n  }\n  return results;\n}\n","import isArrayLike from './_isArrayLike.js';\nimport keys from './keys.js';\nimport optimizeCb from './_optimizeCb.js';\n\n// Internal helper to create a reducing function, iterating left or right.\nexport default function createReduce(dir) {\n  // Wrap code that reassigns argument variables in a separate function than\n  // the one that accesses `arguments.length` to avoid a perf hit. (#1991)\n  var reducer = function(obj, iteratee, memo, initial) {\n    var _keys = !isArrayLike(obj) && keys(obj),\n        length = (_keys || obj).length,\n        index = dir > 0 ? 0 : length - 1;\n    if (!initial) {\n      memo = obj[_keys ? _keys[index] : index];\n      index += dir;\n    }\n    for (; index >= 0 && index < length; index += dir) {\n      var currentKey = _keys ? _keys[index] : index;\n      memo = iteratee(memo, obj[currentKey], currentKey, obj);\n    }\n    return memo;\n  };\n\n  return function(obj, iteratee, memo, context) {\n    var initial = arguments.length >= 3;\n    return reducer(obj, optimizeCb(iteratee, context, 4), memo, initial);\n  };\n}\n","import createReduce from './_createReduce.js';\n\n// **Reduce** builds up a single result from a list of values, aka `inject`,\n// or `foldl`.\nexport default createReduce(1);\n","import createReduce from './_createReduce.js';\n\n// The right-associative version of reduce, also known as `foldr`.\nexport default createReduce(-1);\n","import cb from './_cb.js';\nimport each from './each.js';\n\n// Return all the elements that pass a truth test.\nexport default function filter(obj, predicate, context) {\n  var results = [];\n  predicate = cb(predicate, context);\n  each(obj, function(value, index, list) {\n    if (predicate(value, index, list)) results.push(value);\n  });\n  return results;\n}\n","import filter from './filter.js';\nimport negate from './negate.js';\nimport cb from './_cb.js';\n\n// Return all the elements for which a truth test fails.\nexport default function reject(obj, predicate, context) {\n  return filter(obj, negate(cb(predicate)), context);\n}\n","import cb from './_cb.js';\nimport isArrayLike from './_isArrayLike.js';\nimport keys from './keys.js';\n\n// Determine whether all of the elements pass a truth test.\nexport default function every(obj, predicate, context) {\n  predicate = cb(predicate, context);\n  var _keys = !isArrayLike(obj) && keys(obj),\n      length = (_keys || obj).length;\n  for (var index = 0; index < length; index++) {\n    var currentKey = _keys ? _keys[index] : index;\n    if (!predicate(obj[currentKey], currentKey, obj)) return false;\n  }\n  return true;\n}\n","import cb from './_cb.js';\nimport isArrayLike from './_isArrayLike.js';\nimport keys from './keys.js';\n\n// Determine if at least one element in the object passes a truth test.\nexport default function some(obj, predicate, context) {\n  predicate = cb(predicate, context);\n  var _keys = !isArrayLike(obj) && keys(obj),\n      length = (_keys || obj).length;\n  for (var index = 0; index < length; index++) {\n    var currentKey = _keys ? _keys[index] : index;\n    if (predicate(obj[currentKey], currentKey, obj)) return true;\n  }\n  return false;\n}\n","import isArrayLike from './_isArrayLike.js';\nimport values from './values.js';\nimport indexOf from './indexOf.js';\n\n// Determine if the array or object contains a given item (using `===`).\nexport default function contains(obj, item, fromIndex, guard) {\n  if (!isArrayLike(obj)) obj = values(obj);\n  if (typeof fromIndex != 'number' || guard) fromIndex = 0;\n  return indexOf(obj, item, fromIndex) >= 0;\n}\n","import restArguments from './restArguments.js';\nimport isFunction from './isFunction.js';\nimport map from './map.js';\nimport deepGet from './_deepGet.js';\nimport toPath from './_toPath.js';\n\n// Invoke a method (with arguments) on every item in a collection.\nexport default restArguments(function(obj, path, args) {\n  var contextPath, func;\n  if (isFunction(path)) {\n    func = path;\n  } else {\n    path = toPath(path);\n    contextPath = path.slice(0, -1);\n    path = path[path.length - 1];\n  }\n  return map(obj, function(context) {\n    var method = func;\n    if (!method) {\n      if (contextPath && contextPath.length) {\n        context = deepGet(context, contextPath);\n      }\n      if (context == null) return void 0;\n      method = context[path];\n    }\n    return method == null ? method : method.apply(context, args);\n  });\n});\n","import map from './map.js';\nimport property from './property.js';\n\n// Convenience version of a common use case of `_.map`: fetching a property.\nexport default function pluck(obj, key) {\n  return map(obj, property(key));\n}\n","import filter from './filter.js';\nimport matcher from './matcher.js';\n\n// Convenience version of a common use case of `_.filter`: selecting only\n// objects containing specific `key:value` pairs.\nexport default function where(obj, attrs) {\n  return filter(obj, matcher(attrs));\n}\n","import isArrayLike from './_isArrayLike.js';\nimport values from './values.js';\nimport cb from './_cb.js';\nimport each from './each.js';\n\n// Return the maximum element (or element-based computation).\nexport default function max(obj, iteratee, context) {\n  var result = -Infinity, lastComputed = -Infinity,\n      value, computed;\n  if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) {\n    obj = isArrayLike(obj) ? obj : values(obj);\n    for (var i = 0, length = obj.length; i < length; i++) {\n      value = obj[i];\n      if (value != null && value > result) {\n        result = value;\n      }\n    }\n  } else {\n    iteratee = cb(iteratee, context);\n    each(obj, function(v, index, list) {\n      computed = iteratee(v, index, list);\n      if (computed > lastComputed || computed === -Infinity && result === -Infinity) {\n        result = v;\n        lastComputed = computed;\n      }\n    });\n  }\n  return result;\n}\n","import isArrayLike from './_isArrayLike.js';\nimport values from './values.js';\nimport cb from './_cb.js';\nimport each from './each.js';\n\n// Return the minimum element (or element-based computation).\nexport default function min(obj, iteratee, context) {\n  var result = Infinity, lastComputed = Infinity,\n      value, computed;\n  if (iteratee == null || typeof iteratee == 'number' && typeof obj[0] != 'object' && obj != null) {\n    obj = isArrayLike(obj) ? obj : values(obj);\n    for (var i = 0, length = obj.length; i < length; i++) {\n      value = obj[i];\n      if (value != null && value < result) {\n        result = value;\n      }\n    }\n  } else {\n    iteratee = cb(iteratee, context);\n    each(obj, function(v, index, list) {\n      computed = iteratee(v, index, list);\n      if (computed < lastComputed || computed === Infinity && result === Infinity) {\n        result = v;\n        lastComputed = computed;\n      }\n    });\n  }\n  return result;\n}\n","import isArrayLike from './_isArrayLike.js';\nimport clone from './clone.js';\nimport values from './values.js';\nimport getLength from './_getLength.js';\nimport random from './random.js';\n\n// Sample **n** random values from a collection using the modern version of the\n// [Fisher-Yates shuffle](https://en.wikipedia.org/wiki/Fisher–Yates_shuffle).\n// If **n** is not specified, returns a single random element.\n// The internal `guard` argument allows it to work with `_.map`.\nexport default function sample(obj, n, guard) {\n  if (n == null || guard) {\n    if (!isArrayLike(obj)) obj = values(obj);\n    return obj[random(obj.length - 1)];\n  }\n  var sample = isArrayLike(obj) ? clone(obj) : values(obj);\n  var length = getLength(sample);\n  n = Math.max(Math.min(n, length), 0);\n  var last = length - 1;\n  for (var index = 0; index < n; index++) {\n    var rand = random(index, last);\n    var temp = sample[index];\n    sample[index] = sample[rand];\n    sample[rand] = temp;\n  }\n  return sample.slice(0, n);\n}\n","import sample from './sample.js';\n\n// Shuffle a collection.\nexport default function shuffle(obj) {\n  return sample(obj, Infinity);\n}\n","import cb from './_cb.js';\nimport pluck from './pluck.js';\nimport map from './map.js';\n\n// Sort the object's values by a criterion produced by an iteratee.\nexport default function sortBy(obj, iteratee, context) {\n  var index = 0;\n  iteratee = cb(iteratee, context);\n  return pluck(map(obj, function(value, key, list) {\n    return {\n      value: value,\n      index: index++,\n      criteria: iteratee(value, key, list)\n    };\n  }).sort(function(left, right) {\n    var a = left.criteria;\n    var b = right.criteria;\n    if (a !== b) {\n      if (a > b || a === void 0) return 1;\n      if (a < b || b === void 0) return -1;\n    }\n    return left.index - right.index;\n  }), 'value');\n}\n","import cb from './_cb.js';\nimport each from './each.js';\n\n// An internal function used for aggregate \"group by\" operations.\nexport default function group(behavior, partition) {\n  return function(obj, iteratee, context) {\n    var result = partition ? [[], []] : {};\n    iteratee = cb(iteratee, context);\n    each(obj, function(value, index) {\n      var key = iteratee(value, index, obj);\n      behavior(result, value, key);\n    });\n    return result;\n  };\n}\n","import group from './_group.js';\nimport has from './_has.js';\n\n// Groups the object's values by a criterion. Pass either a string attribute\n// to group by, or a function that returns the criterion.\nexport default group(function(result, value, key) {\n  if (has(result, key)) result[key].push(value); else result[key] = [value];\n});\n","import group from './_group.js';\n\n// Indexes the object's values by a criterion, similar to `_.groupBy`, but for\n// when you know that your index values will be unique.\nexport default group(function(result, value, key) {\n  result[key] = value;\n});\n","import group from './_group.js';\nimport has from './_has.js';\n\n// Counts instances of an object that group by a certain criterion. Pass\n// either a string attribute to count by, or a function that returns the\n// criterion.\nexport default group(function(result, value, key) {\n  if (has(result, key)) result[key]++; else result[key] = 1;\n});\n","import group from './_group.js';\n\n// Split a collection into two arrays: one whose elements all pass the given\n// truth test, and one whose elements all do not pass the truth test.\nexport default group(function(result, value, pass) {\n  result[pass ? 0 : 1].push(value);\n}, true);\n","import isArray from './isArray.js';\nimport { slice } from './_setup.js';\nimport isString from './isString.js';\nimport isArrayLike from './_isArrayLike.js';\nimport map from './map.js';\nimport identity from './identity.js';\nimport values from './values.js';\n\n// Safely create a real, live array from anything iterable.\nvar reStrSymbol = /[^\\ud800-\\udfff]|[\\ud800-\\udbff][\\udc00-\\udfff]|[\\ud800-\\udfff]/g;\nexport default function toArray(obj) {\n  if (!obj) return [];\n  if (isArray(obj)) return slice.call(obj);\n  if (isString(obj)) {\n    // Keep surrogate pair characters together.\n    return obj.match(reStrSymbol);\n  }\n  if (isArrayLike(obj)) return map(obj, identity);\n  return values(obj);\n}\n","import isArrayLike from './_isArrayLike.js';\nimport keys from './keys.js';\n\n// Return the number of elements in a collection.\nexport default function size(obj) {\n  if (obj == null) return 0;\n  return isArrayLike(obj) ? obj.length : keys(obj).length;\n}\n","// Internal `_.pick` helper function to determine whether `key` is an enumerable\n// property name of `obj`.\nexport default function keyInObj(value, key, obj) {\n  return key in obj;\n}\n","import restArguments from './restArguments.js';\nimport isFunction from './isFunction.js';\nimport optimizeCb from './_optimizeCb.js';\nimport allKeys from './allKeys.js';\nimport keyInObj from './_keyInObj.js';\nimport flatten from './_flatten.js';\n\n// Return a copy of the object only containing the allowed properties.\nexport default restArguments(function(obj, keys) {\n  var result = {}, iteratee = keys[0];\n  if (obj == null) return result;\n  if (isFunction(iteratee)) {\n    if (keys.length > 1) iteratee = optimizeCb(iteratee, keys[1]);\n    keys = allKeys(obj);\n  } else {\n    iteratee = keyInObj;\n    keys = flatten(keys, false, false);\n    obj = Object(obj);\n  }\n  for (var i = 0, length = keys.length; i < length; i++) {\n    var key = keys[i];\n    var value = obj[key];\n    if (iteratee(value, key, obj)) result[key] = value;\n  }\n  return result;\n});\n","import restArguments from './restArguments.js';\nimport isFunction from './isFunction.js';\nimport negate from './negate.js';\nimport map from './map.js';\nimport flatten from './_flatten.js';\nimport contains from './contains.js';\nimport pick from './pick.js';\n\n// Return a copy of the object without the disallowed properties.\nexport default restArguments(function(obj, keys) {\n  var iteratee = keys[0], context;\n  if (isFunction(iteratee)) {\n    iteratee = negate(iteratee);\n    if (keys.length > 1) context = keys[1];\n  } else {\n    keys = map(flatten(keys, false, false), String);\n    iteratee = function(value, key) {\n      return !contains(keys, key);\n    };\n  }\n  return pick(obj, iteratee, context);\n});\n","import { slice } from './_setup.js';\n\n// Returns everything but the last entry of the array. Especially useful on\n// the arguments object. Passing **n** will return all the values in\n// the array, excluding the last N.\nexport default function initial(array, n, guard) {\n  return slice.call(array, 0, Math.max(0, array.length - (n == null || guard ? 1 : n)));\n}\n","import initial from './initial.js';\n\n// Get the first element of an array. Passing **n** will return the first N\n// values in the array. The **guard** check allows it to work with `_.map`.\nexport default function first(array, n, guard) {\n  if (array == null || array.length < 1) return n == null || guard ? void 0 : [];\n  if (n == null || guard) return array[0];\n  return initial(array, array.length - n);\n}\n","import { slice } from './_setup.js';\n\n// Returns everything but the first entry of the `array`. Especially useful on\n// the `arguments` object. Passing an **n** will return the rest N values in the\n// `array`.\nexport default function rest(array, n, guard) {\n  return slice.call(array, n == null || guard ? 1 : n);\n}\n","import rest from './rest.js';\n\n// Get the last element of an array. Passing **n** will return the last N\n// values in the array.\nexport default function last(array, n, guard) {\n  if (array == null || array.length < 1) return n == null || guard ? void 0 : [];\n  if (n == null || guard) return array[array.length - 1];\n  return rest(array, Math.max(0, array.length - n));\n}\n","import filter from './filter.js';\n\n// Trim out all falsy values from an array.\nexport default function compact(array) {\n  return filter(array, Boolean);\n}\n","import _flatten from './_flatten.js';\n\n// Flatten out an array, either recursively (by default), or up to `depth`.\n// Passing `true` or `false` as `depth` means `1` or `Infinity`, respectively.\nexport default function flatten(array, depth) {\n  return _flatten(array, depth, false);\n}\n","import restArguments from './restArguments.js';\nimport flatten from './_flatten.js';\nimport filter from './filter.js';\nimport contains from './contains.js';\n\n// Take the difference between one array and a number of other arrays.\n// Only the elements present in just the first array will remain.\nexport default restArguments(function(array, rest) {\n  rest = flatten(rest, true, true);\n  return filter(array, function(value){\n    return !contains(rest, value);\n  });\n});\n","import restArguments from './restArguments.js';\nimport difference from './difference.js';\n\n// Return a version of the array that does not contain the specified value(s).\nexport default restArguments(function(array, otherArrays) {\n  return difference(array, otherArrays);\n});\n","import isBoolean from './isBoolean.js';\nimport cb from './_cb.js';\nimport getLength from './_getLength.js';\nimport contains from './contains.js';\n\n// Produce a duplicate-free version of the array. If the array has already\n// been sorted, you have the option of using a faster algorithm.\n// The faster algorithm will not work with an iteratee if the iteratee\n// is not a one-to-one function, so providing an iteratee will disable\n// the faster algorithm.\nexport default function uniq(array, isSorted, iteratee, context) {\n  if (!isBoolean(isSorted)) {\n    context = iteratee;\n    iteratee = isSorted;\n    isSorted = false;\n  }\n  if (iteratee != null) iteratee = cb(iteratee, context);\n  var result = [];\n  var seen = [];\n  for (var i = 0, length = getLength(array); i < length; i++) {\n    var value = array[i],\n        computed = iteratee ? iteratee(value, i, array) : value;\n    if (isSorted && !iteratee) {\n      if (!i || seen !== computed) result.push(value);\n      seen = computed;\n    } else if (iteratee) {\n      if (!contains(seen, computed)) {\n        seen.push(computed);\n        result.push(value);\n      }\n    } else if (!contains(result, value)) {\n      result.push(value);\n    }\n  }\n  return result;\n}\n","import restArguments from './restArguments.js';\nimport uniq from './uniq.js';\nimport flatten from './_flatten.js';\n\n// Produce an array that contains the union: each distinct element from all of\n// the passed-in arrays.\nexport default restArguments(function(arrays) {\n  return uniq(flatten(arrays, true, true));\n});\n","import getLength from './_getLength.js';\nimport contains from './contains.js';\n\n// Produce an array that contains every item shared between all the\n// passed-in arrays.\nexport default function intersection(array) {\n  var result = [];\n  var argsLength = arguments.length;\n  for (var i = 0, length = getLength(array); i < length; i++) {\n    var item = array[i];\n    if (contains(result, item)) continue;\n    var j;\n    for (j = 1; j < argsLength; j++) {\n      if (!contains(arguments[j], item)) break;\n    }\n    if (j === argsLength) result.push(item);\n  }\n  return result;\n}\n","import max from './max.js';\nimport getLength from './_getLength.js';\nimport pluck from './pluck.js';\n\n// Complement of zip. Unzip accepts an array of arrays and groups\n// each array's elements on shared indices.\nexport default function unzip(array) {\n  var length = array && max(array, getLength).length || 0;\n  var result = Array(length);\n\n  for (var index = 0; index < length; index++) {\n    result[index] = pluck(array, index);\n  }\n  return result;\n}\n","import restArguments from './restArguments.js';\nimport unzip from './unzip.js';\n\n// Zip together multiple lists into a single array -- elements that share\n// an index go together.\nexport default restArguments(unzip);\n","import getLength  from './_getLength.js';\n\n// Converts lists into objects. Pass either a single array of `[key, value]`\n// pairs, or two parallel arrays of the same length -- one of keys, and one of\n// the corresponding values. Passing by pairs is the reverse of `_.pairs`.\nexport default function object(list, values) {\n  var result = {};\n  for (var i = 0, length = getLength(list); i < length; i++) {\n    if (values) {\n      result[list[i]] = values[i];\n    } else {\n      result[list[i][0]] = list[i][1];\n    }\n  }\n  return result;\n}\n","// Generate an integer Array containing an arithmetic progression. A port of\n// the native Python `range()` function. See\n// [the Python documentation](https://docs.python.org/library/functions.html#range).\nexport default function range(start, stop, step) {\n  if (stop == null) {\n    stop = start || 0;\n    start = 0;\n  }\n  if (!step) {\n    step = stop < start ? -1 : 1;\n  }\n\n  var length = Math.max(Math.ceil((stop - start) / step), 0);\n  var range = Array(length);\n\n  for (var idx = 0; idx < length; idx++, start += step) {\n    range[idx] = start;\n  }\n\n  return range;\n}\n","import { slice } from './_setup.js';\n\n// Chunk a single array into multiple arrays, each containing `count` or fewer\n// items.\nexport default function chunk(array, count) {\n  if (count == null || count < 1) return [];\n  var result = [];\n  var i = 0, length = array.length;\n  while (i < length) {\n    result.push(slice.call(array, i, i += count));\n  }\n  return result;\n}\n","import _ from './underscore.js';\n\n// Helper function to continue chaining intermediate results.\nexport default function chainResult(instance, obj) {\n  return instance._chain ? _(obj).chain() : obj;\n}\n","import _ from './underscore.js';\nimport each from './each.js';\nimport functions from './functions.js';\nimport { push } from './_setup.js';\nimport chainResult from './_chainResult.js';\n\n// Add your own custom functions to the Underscore object.\nexport default function mixin(obj) {\n  each(functions(obj), function(name) {\n    var func = _[name] = obj[name];\n    _.prototype[name] = function() {\n      var args = [this._wrapped];\n      push.apply(args, arguments);\n      return chainResult(this, func.apply(_, args));\n    };\n  });\n  return _;\n}\n","import _ from './underscore.js';\nimport each from './each.js';\nimport { ArrayProto } from './_setup.js';\nimport chainResult from './_chainResult.js';\n\n// Add all mutator `Array` functions to the wrapper.\neach(['pop', 'push', 'reverse', 'shift', 'sort', 'splice', 'unshift'], function(name) {\n  var method = ArrayProto[name];\n  _.prototype[name] = function() {\n    var obj = this._wrapped;\n    if (obj != null) {\n      method.apply(obj, arguments);\n      if ((name === 'shift' || name === 'splice') && obj.length === 0) {\n        delete obj[0];\n      }\n    }\n    return chainResult(this, obj);\n  };\n});\n\n// Add all accessor `Array` functions to the wrapper.\neach(['concat', 'join', 'slice'], function(name) {\n  var method = ArrayProto[name];\n  _.prototype[name] = function() {\n    var obj = this._wrapped;\n    if (obj != null) obj = method.apply(obj, arguments);\n    return chainResult(this, obj);\n  };\n});\n\nexport default _;\n","// Default Export\n// ==============\n// In this module, we mix our bundled exports into the `_` object and export\n// the result. This is analogous to setting `module.exports = _` in CommonJS.\n// Hence, this module is also the entry point of our UMD bundle and the package\n// entry point for CommonJS and AMD users. In other words, this is (the source\n// of) the module you are interfacing with when you do any of the following:\n//\n// ```js\n// // CommonJS\n// var _ = require('underscore');\n//\n// // AMD\n// define(['underscore'], function(_) {...});\n//\n// // UMD in the browser\n// // _ is available as a global variable\n// ```\nimport * as allExports from './index.js';\nimport { mixin } from './index.js';\n\n// Add all of the Underscore functions to the wrapper object.\nvar _ = mixin(allExports);\n// Legacy Node.js API.\n_._ = _;\n// Export the Underscore API.\nexport default _;\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","export default {\n  // Style prefix\n  stylePrefix: 'gjs-',\n\n  // HTML string or object of components\n  components: '',\n\n  // CSS string or object of rules\n  style: '',\n\n  // If true, will fetch HTML and CSS from selected container\n  fromElement: 0,\n\n  // Show an alert before unload the page with unsaved changes\n  noticeOnUnload: true,\n\n  // Show paddings and margins\n  showOffsets: false,\n\n  // Show paddings and margins on selected component\n  showOffsetsSelected: false,\n\n  // On creation of a new Component (via object), if the 'style' attribute is not\n  // empty, all those roles will be moved in its new class\n  forceClass: true,\n\n  // Height for the editor container\n  height: '900px',\n\n  // Width for the editor container\n  width: '100%',\n\n  // Type of logs to print with the logger (by default is used the devtool console).\n  // Available by default: debug, info, warning, error\n  // You can use `false` to disable all of them or `true` to print all of them\n  log: ['warning', 'error'],\n\n  // By default Grapes injects base CSS into the canvas. For example, it sets body margin to 0\n  // and sets a default background color of white. This CSS is desired in most cases.\n  // use this property if you wish to overwrite the base CSS to your own CSS. This is most\n  // useful if for example your template is not based off a document with 0 as body margin.\n  baseCss: `\n    * {\n      box-sizing: border-box;\n    }\n    html, body, [data-gjs-type=wrapper] {\n      min-height: 100%;\n    }\n    body {\n      margin: 0;\n      height: 100%;\n      background-color: #fff\n    }\n    [data-gjs-type=wrapper] {\n      overflow: auto;\n      overflow-x: hidden;\n    }\n\n    * ::-webkit-scrollbar-track {\n      background: rgba(0, 0, 0, 0.1)\n    }\n\n    * ::-webkit-scrollbar-thumb {\n      background: rgba(255, 255, 255, 0.2)\n    }\n\n    * ::-webkit-scrollbar {\n      width: 10px\n    }\n  `,\n\n  // CSS that could only be seen (for instance, inside the code viewer)\n  protectedCss: '* { box-sizing: border-box; } body {margin: 0;}',\n\n  // CSS for the iframe which containing the canvas, useful if you need to custom something inside\n  // (eg. the style of the selected component)\n  canvasCss: '',\n\n  // Default command\n  defaultCommand: 'select-comp',\n\n  // Show a toolbar when the component is selected\n  showToolbar: 1,\n\n  // Allow script tag importing\n  // @deprecated in favor of `config.parser.optionsHtml.allowScripts`\n  // allowScripts: 0,\n\n  // If true render a select of available devices\n  showDevices: 1,\n\n  // When enabled, on device change media rules won't be created\n  devicePreviewMode: 0,\n\n  // THe condition to use for media queries, eg. 'max-width'\n  // Comes handy for mobile-first cases\n  mediaCondition: 'max-width',\n\n  // Starting tag for variable inside scripts in Components\n  tagVarStart: '{[ ',\n\n  // Ending tag for variable inside scripts in Components\n  tagVarEnd: ' ]}',\n\n  // When false, removes empty text nodes when parsed, unless they contain a space\n  keepEmptyTextNodes: 0,\n\n  // Return JS of components inside HTML from 'editor.getHtml()'\n  jsInHtml: true,\n\n  // Enable native HTML5 drag and drop\n  nativeDnD: 1,\n\n  // Enable multiple selection\n  multipleSelection: 1,\n\n  // Pass default available options wherever `editor.getHtml()` is called\n  optsHtml: {},\n\n  // Pass default available options wherever `editor.getCss()` is called\n  optsCss: {},\n\n  // Usually when you update the `style` of the component this changes the\n  // element's `style` attribute. Unfortunately, inline styling doesn't allow\n  // use of media queries (@media) or even pseudo selectors (eg. :hover).\n  // When `avoidInlineStyle` is true all styles are inserted inside the css rule\n  // @deprecated Don't use this option, we don't support inline styling anymore\n  avoidInlineStyle: 1,\n\n  // Avoid default properties from storable JSON data, like `components` and `styles`.\n  // With this option enabled your data will be smaller (usefull if need to\n  // save some storage space)\n  avoidDefaults: 1,\n\n  // (experimental)\n  // The structure of components is always on the screen but it's not the same\n  // for style rules. When you delete a component you might leave a lot of styles\n  // which will never be used again, therefore they might be removed.\n  // With this option set to true, styles not used from the CSS generator (so in\n  // any case where `CssGenerator.build` is used) will be removed automatically.\n  // But be careful, not always leaving the style not used mean you wouldn't\n  // use it later, but this option comes really handy when deal with big templates.\n  clearStyles: 0,\n\n  // Specify the global drag mode of components. By default, components are moved\n  // following the HTML flow. Two other options are available:\n  // 'absolute' - Move components absolutely (design tools way)\n  // 'translate' - Use translate CSS from transform property\n  // To get more about this feature read: https://github.com/artf/grapesjs/issues/1936\n  dragMode: 0,\n\n  // When the editor is placed in a scrollable container (eg. modals) this might\n  // cause elements inside the canvas (eg. floating toolbars) to be misaligned.\n  // To avoid that, you can specify an array of DOM elements on which their scroll will\n  // trigger the canvas update.\n  // Be default, if the array is empty, the first parent element will be appended.\n  // listenToEl: [document.querySelector('#scrollable-el')],\n  listenToEl: [],\n\n  // Import asynchronously CSS to use as icons\n  cssIcons: 'https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css',\n\n  // Experimental: don't use.\n  icons: {\n    close:\n      '<svg viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12 19 6.41z\"></path></svg>',\n    move: '<svg viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M13,6V11H18V7.75L22.25,12L18,16.25V13H13V18H16.25L12,22.25L7.75,18H11V13H6V16.25L1.75,12L6,7.75V11H11V6H7.75L12,1.75L16.25,6H13Z\"/></svg>',\n    plus: '<svg viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M19,13H13V19H11V13H5V11H11V5H13V11H19V13Z\" /></svg>',\n    caret: '<svg viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M7,10L12,15L17,10H7Z\" /></svg>',\n    delete:\n      '<svg viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z\" /></svg>',\n    copy: '<svg viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z\" /></svg>',\n    arrowUp:\n      '<svg viewBox=\"0 0 24 24\"><path fill=\"currentColor\" d=\"M13,20H11V8L5.5,13.5L4.08,12.08L12,4.16L19.92,12.08L18.5,13.5L13,8V20Z\" /></svg>',\n  },\n\n  // Dom element\n  el: '',\n\n  // Configurations for I18n\n  i18n: {},\n\n  // Configurations for Undo Manager\n  undoManager: {},\n\n  //Configurations for Asset Manager\n  assetManager: {},\n\n  //Configurations for Canvas\n  canvas: {},\n\n  //Configurations for Layers\n  layers: {},\n\n  //Configurations for Storage Manager\n  storageManager: {},\n\n  //Configurations for Rich Text Editor\n  richTextEditor: {},\n\n  //Configurations for DomComponents\n  domComponents: {},\n\n  //Configurations for Modal Dialog\n  modal: {},\n\n  //Configurations for Code Manager\n  codeManager: {},\n\n  //Configurations for Panels\n  panels: {},\n\n  //Configurations for Commands\n  commands: {},\n\n  //Configurations for Css Composer\n  cssComposer: {},\n\n  //Configurations for Selector Manager\n  selectorManager: {},\n\n  //Configurations for Device Manager\n  deviceManager: {},\n\n  //Configurations for Style Manager\n  styleManager: {},\n\n  // Configurations for Block Manager\n  blockManager: {},\n\n  // Configurations for Trait Manager\n  traitManager: {},\n\n  // Texts\n  textViewCode: 'Code',\n\n  // Keep unused styles within the editor\n  keepUnusedStyles: 0,\n\n  // TODO\n  multiFrames: 0,\n\n  // Experimental: don't use.\n  // Avoid default UI styles\n  customUI: false,\n};\n","import { Collection, Model } from 'backbone';\nimport { isArray } from 'underscore';\n\nexport class Selectable extends Model {}\n\nexport default class Selected extends Collection {\n  getByComponent(component) {\n    return this.filter(s => this.getComponent(s) === component)[0];\n  }\n\n  addComponent(component, opts) {\n    const toAdd = (isArray(component) ? component : [component])\n      .filter(c => !this.hasComponent(c))\n      .map(component => ({ component }));\n    return this.push(toAdd, opts);\n  }\n\n  getComponent(model) {\n    return model.get('component');\n  }\n\n  hasComponent(component) {\n    const model = this.getByComponent(component);\n    return model && this.contains(model);\n  }\n\n  lastComponent() {\n    const last = this.last();\n    return last && this.getComponent(last);\n  }\n\n  allComponents() {\n    return this.map(s => this.getComponent(s)).filter(i => i);\n  }\n\n  removeComponent(component, opts) {\n    const toRemove = (isArray(component) ? component : [component]).map(c =>\n      this.getByComponent(c)\n    );\n    return this.remove(toRemove, opts);\n  }\n}\n\nSelected.prototype.model = Selectable;\n","import { isUndefined, isFunction, isArray, contains, toArray, keys, bindAll } from 'underscore';\nimport Backbone from 'backbone';\nimport $ from 'utils/cash-dom';\nimport Extender from 'utils/extender';\nimport { getModel, hasWin } from 'utils/mixins';\nimport { Model } from 'common';\nimport Selected from './Selected';\n\nBackbone.$ = $;\n\nconst deps = [\n  require('utils'),\n  require('i18n'),\n  require('keymaps'),\n  require('undo_manager'),\n  require('storage_manager'),\n  require('device_manager'),\n  require('parser'),\n  require('style_manager'),\n  require('selector_manager'),\n  require('modal_dialog'),\n  require('code_manager'),\n  require('panels'),\n  require('rich_text_editor'),\n  require('asset_manager'),\n  require('css_composer'),\n  require('pages'),\n  require('trait_manager'),\n  require('dom_components'),\n  require('navigator'),\n  require('canvas'),\n  require('commands'),\n  require('block_manager'),\n];\n\nlet timedInterval;\nlet updateItr;\n\nExtender({\n  Backbone: Backbone,\n  $: Backbone.$,\n});\n\nconst logs = {\n  debug: console.log,\n  info: console.info,\n  warning: console.warn,\n  error: console.error,\n};\n\nexport default class EditorModel extends Model {\n  defaults() {\n    return {\n      editing: 0,\n      selected: 0,\n      clipboard: null,\n      dmode: 0,\n      componentHovered: null,\n      previousModel: null,\n      changesCount: 0,\n      storables: [],\n      modules: [],\n      toLoad: [],\n      opened: {},\n      device: '',\n    };\n  }\n\n  initialize(c = {}) {\n    this.config = c;\n    this.set('Config', c);\n    this.set('modules', []);\n    this.set('toLoad', []);\n    this.set('storables', []);\n    this.set('selected', new Selected());\n    this.set('dmode', c.dragMode);\n    this.set('hasPages', !!c.pageManager);\n    const el = c.el;\n    const log = c.log;\n    const toLog = log === true ? keys(logs) : isArray(log) ? log : [];\n    bindAll(this, 'initBaseColorPicker');\n\n    if (el && c.fromElement) this.config.components = el.innerHTML;\n    this.attrsOrig = el\n      ? toArray(el.attributes).reduce((res, next) => {\n          res[next.nodeName] = next.nodeValue;\n          return res;\n        }, {})\n      : '';\n\n    // Load modules\n    deps.forEach(name => this.loadModule(name));\n    this.on('change:componentHovered', this.componentHovered, this);\n    this.on('change:changesCount', this.updateChanges, this);\n    this.on('change:readyLoad change:readyCanvas', this._checkReady, this);\n    toLog.forEach(e => this.listenLog(e));\n\n    // Deprecations\n    [{ from: 'change:selectedComponent', to: 'component:toggled' }].forEach(event => {\n      const eventFrom = event.from;\n      const eventTo = event.to;\n      this.listenTo(this, eventFrom, (...args) => {\n        this.trigger(eventTo, ...args);\n        this.logWarning(`The event '${eventFrom}' is deprecated, replace it with '${eventTo}'`);\n      });\n    });\n  }\n\n  _checkReady() {\n    if (this.get('readyLoad') && this.get('readyCanvas') && !this.get('ready')) {\n      this.set('ready', true);\n    }\n  }\n\n  getContainer() {\n    return this.config.el;\n  }\n\n  listenLog(event) {\n    this.listenTo(this, `log:${event}`, logs[event]);\n  }\n\n  /**\n   * Get configurations\n   * @param  {string} [prop] Property name\n   * @return {any} Returns the configuration object or\n   *  the value of the specified property\n   */\n  getConfig(prop) {\n    const config = this.config;\n    return isUndefined(prop) ? config : config[prop];\n  }\n\n  /**\n   * Should be called once all modules and plugins are loaded\n   * @param {Function} clb\n   * @private\n   */\n  loadOnStart(clb = null) {\n    const sm = this.get('StorageManager');\n\n    // In `onLoad`, the module will try to load the data from its configurations.\n    this.get('toLoad').forEach(mdl => mdl.onLoad());\n\n    // Stuff to do post load\n    const postLoad = () => {\n      const modules = this.get('modules');\n      modules.forEach(mdl => mdl.postLoad && mdl.postLoad(this));\n      this.set('readyLoad', 1);\n      clb && clb();\n    };\n\n    if (sm && sm.canAutoload()) {\n      this.load(postLoad);\n    } else {\n      setTimeout(postLoad);\n    }\n\n    // Create shallow editor.\n    // Here we can create components/styles without altering/triggering the main EditorModel\n    const shallow = new EditorModel({\n      noticeOnUnload: false,\n      storageManager: false,\n      undoManager: false,\n    });\n    // We only need to load a few modules\n    ['PageManager', 'Canvas'].forEach(key => shallow.get(key).onLoad());\n    this.set('shallow', shallow);\n  }\n\n  /**\n   * Set the alert before unload in case it's requested\n   * and there are unsaved changes\n   * @private\n   */\n  updateChanges() {\n    const stm = this.get('StorageManager');\n    const changes = this.get('changesCount');\n    updateItr && clearTimeout(updateItr);\n    updateItr = setTimeout(() => this.trigger('update'));\n\n    if (this.config.noticeOnUnload) {\n      window.onbeforeunload = changes ? e => 1 : null;\n    }\n\n    if (stm.isAutosave() && changes >= stm.getStepsBeforeSave()) {\n      this.store();\n    }\n  }\n\n  /**\n   * Load generic module\n   * @param {String} moduleName Module name\n   * @return {this}\n   * @private\n   */\n  loadModule(moduleName) {\n    const { config } = this;\n    const Module = moduleName.default || moduleName;\n    const Mod = new Module();\n    const name = Mod.name.charAt(0).toLowerCase() + Mod.name.slice(1);\n    const cfgParent = !isUndefined(config[name]) ? config[name] : config[Mod.name];\n    const cfg = cfgParent === true ? {} : cfgParent || {};\n    const sm = this.get('StorageManager');\n    cfg.pStylePrefix = config.pStylePrefix || '';\n\n    if (!isUndefined(cfgParent) && !cfgParent) {\n      cfg._disable = 1;\n    }\n\n    if (Mod.storageKey && Mod.store && Mod.load && sm) {\n      cfg.stm = sm;\n      // DomComponents should be load before CSS Composer\n      const mth = name == 'domComponents' ? 'unshift' : 'push';\n      this.get('storables')[mth](Mod);\n    }\n\n    cfg.em = this;\n    Mod.init({ ...cfg });\n\n    // Bind the module to the editor model if public\n    !Mod.private && this.set(Mod.name, Mod);\n    Mod.onLoad && this.get('toLoad').push(Mod);\n    this.get('modules').push(Mod);\n    return this;\n  }\n\n  /**\n   * Initialize editor model and set editor instance\n   * @param {Editor} editor Editor instance\n   * @return {this}\n   * @private\n   */\n  init(editor, opts = {}) {\n    if (this.destroyed) {\n      this.initialize(opts);\n      this.destroyed = 0;\n    }\n    this.set('Editor', editor);\n  }\n\n  getEditor() {\n    return this.get('Editor');\n  }\n\n  /**\n   * This method handles updates on the editor and tries to store them\n   * if requested and if the changesCount is exceeded\n   * @param  {Object} model\n   * @param  {any} val  Value\n   * @param  {Object} opt  Options\n   * @private\n   * */\n  handleUpdates(model, val, opt = {}) {\n    // Component has been added temporarily - do not update storage or record changes\n    if (this.__skip || opt.temporary || opt.noCount || opt.avoidStore || !this.get('ready')) {\n      return;\n    }\n\n    timedInterval && clearTimeout(timedInterval);\n    timedInterval = setTimeout(() => {\n      const curr = this.get('changesCount') || 0;\n      const { unset, ...opts } = opt;\n      this.set('changesCount', curr + 1, opts);\n    }, 0);\n  }\n\n  changesUp(opts) {\n    this.handleUpdates(0, 0, opts);\n  }\n\n  /**\n   * Callback on component hover\n   * @param   {Object}   Model\n   * @param   {Mixed}   New value\n   * @param   {Object}   Options\n   * @private\n   * */\n  componentHovered(editor, component, options) {\n    const prev = this.previous('componentHovered');\n    prev && this.trigger('component:unhovered', prev, options);\n    component && this.trigger('component:hovered', component, options);\n  }\n\n  /**\n   * Returns model of the selected component\n   * @return {Component|null}\n   * @private\n   */\n  getSelected() {\n    return this.get('selected').lastComponent();\n  }\n\n  /**\n   * Returns an array of all selected components\n   * @return {Array}\n   * @private\n   */\n  getSelectedAll() {\n    return this.get('selected').allComponents();\n  }\n\n  /**\n   * Select a component\n   * @param  {Component|HTMLElement} el Component to select\n   * @param  {Object} [opts={}] Options, optional\n   * @private\n   */\n  setSelected(el, opts = {}) {\n    const { event } = opts;\n    const ctrlKey = event && (event.ctrlKey || event.metaKey);\n    const { shiftKey } = event || {};\n    const multiple = isArray(el);\n    const els = (multiple ? el : [el]).map(el => getModel(el, $));\n    const selected = this.getSelectedAll();\n    const mltSel = this.getConfig('multipleSelection');\n    let added;\n\n    // If an array is passed remove all selected\n    // expect those yet to be selected\n    multiple && this.removeSelected(selected.filter(s => !contains(els, s)));\n\n    els.forEach(el => {\n      let model = getModel(el);\n\n      if (model) {\n        this.trigger('component:select:before', model, opts);\n\n        // Check for valid selectable\n        if (!model.get('selectable') || opts.abort) {\n          if (opts.useValid) {\n            let parent = model.parent();\n            while (parent && !parent.get('selectable')) parent = parent.parent();\n            model = parent;\n          } else {\n            return;\n          }\n        }\n      }\n\n      // Hanlde multiple selection\n      if (ctrlKey && mltSel) {\n        return this.toggleSelected(model);\n      } else if (shiftKey && mltSel) {\n        this.clearSelection(this.get('Canvas').getWindow());\n        const coll = model.collection;\n        const index = model.index();\n        let min, max;\n\n        // Fin min and max siblings\n        this.getSelectedAll().forEach(sel => {\n          const selColl = sel.collection;\n          const selIndex = sel.index();\n          if (selColl === coll) {\n            if (selIndex < index) {\n              // First model BEFORE the selected one\n              min = isUndefined(min) ? selIndex : Math.max(min, selIndex);\n            } else if (selIndex > index) {\n              // First model AFTER the selected one\n              max = isUndefined(max) ? selIndex : Math.min(max, selIndex);\n            }\n          }\n        });\n\n        if (!isUndefined(min)) {\n          while (min !== index) {\n            this.addSelected(coll.at(min));\n            min++;\n          }\n        }\n\n        if (!isUndefined(max)) {\n          while (max !== index) {\n            this.addSelected(coll.at(max));\n            max--;\n          }\n        }\n\n        return this.addSelected(model);\n      }\n\n      !multiple && this.removeSelected(selected.filter(s => s !== model));\n      this.addSelected(model, opts);\n      added = model;\n    });\n  }\n\n  /**\n   * Add component to selection\n   * @param  {Component|HTMLElement} el Component to select\n   * @param  {Object} [opts={}] Options, optional\n   * @private\n   */\n  addSelected(el, opts = {}) {\n    const model = getModel(el, $);\n    const models = isArray(model) ? model : [model];\n\n    models.forEach(model => {\n      if (model && !model.get('selectable')) return;\n      const selected = this.get('selected');\n      opts.forceChange && this.removeSelected(model, opts);\n      selected.addComponent(model, opts);\n      model && this.trigger('component:select', model, opts);\n    });\n  }\n\n  /**\n   * Remove component from selection\n   * @param  {Component|HTMLElement} el Component to select\n   * @param  {Object} [opts={}] Options, optional\n   * @private\n   */\n  removeSelected(el, opts = {}) {\n    this.get('selected').removeComponent(getModel(el, $), opts);\n  }\n\n  /**\n   * Toggle component selection\n   * @param  {Component|HTMLElement} el Component to select\n   * @param  {Object} [opts={}] Options, optional\n   * @private\n   */\n  toggleSelected(el, opts = {}) {\n    const model = getModel(el, $);\n    const models = isArray(model) ? model : [model];\n\n    models.forEach(model => {\n      if (this.get('selected').hasComponent(model)) {\n        this.removeSelected(model, opts);\n      } else {\n        this.addSelected(model, opts);\n      }\n    });\n  }\n\n  /**\n   * Hover a component\n   * @param  {Component|HTMLElement} el Component to select\n   * @param  {Object} [opts={}] Options, optional\n   * @private\n   */\n  setHovered(el, opts = {}) {\n    if (!el) return this.set('componentHovered', '');\n\n    const ev = 'component:hover';\n    let model = getModel(el);\n\n    if (!model) return;\n\n    opts.forceChange && this.set('componentHovered', '');\n    this.trigger(`${ev}:before`, model, opts);\n\n    // Check for valid hoverable\n    if (!model.get('hoverable')) {\n      if (opts.useValid && !opts.abort) {\n        let parent = model && model.parent();\n        while (parent && !parent.get('hoverable')) parent = parent.parent();\n        model = parent;\n      } else {\n        return;\n      }\n    }\n\n    if (!opts.abort) {\n      this.set('componentHovered', model, opts);\n      this.trigger(ev, model, opts);\n    }\n  }\n\n  getHovered() {\n    return this.get('componentHovered');\n  }\n\n  /**\n   * Set components inside editor's canvas. This method overrides actual components\n   * @param {Object|string} components HTML string or components model\n   * @param {Object} opt the options object to be used by the [setComponents]{@link setComponents} method\n   * @return {this}\n   * @private\n   */\n  setComponents(components, opt = {}) {\n    return this.get('DomComponents').setComponents(components, opt);\n  }\n\n  /**\n   * Returns components model from the editor's canvas\n   * @return {Components}\n   * @private\n   */\n  getComponents() {\n    var cmp = this.get('DomComponents');\n    var cm = this.get('CodeManager');\n\n    if (!cmp || !cm) return;\n\n    var wrp = cmp.getComponents();\n    return cm.getCode(wrp, 'json');\n  }\n\n  /**\n   * Set style inside editor's canvas. This method overrides actual style\n   * @param {Object|string} style CSS string or style model\n   * @param {Object} opt the options object to be used by the `CssRules.add` method\n   * @return {this}\n   * @private\n   */\n  setStyle(style, opt = {}) {\n    const cssc = this.get('CssComposer');\n    cssc.clear(opt);\n    cssc.getAll().add(style, opt);\n    return this;\n  }\n\n  /**\n   * Add styles to the editor\n   * @param {Array<Object>|Object|string} style CSS string or style model\n   * @returns {Array<CssRule>}\n   * @private\n   */\n  addStyle(style, opts = {}) {\n    const res = this.getStyle().add(style, opts);\n    return isArray(res) ? res : [res];\n  }\n\n  /**\n   * Returns rules/style model from the editor's canvas\n   * @return {Rules}\n   * @private\n   */\n  getStyle() {\n    return this.get('CssComposer').getAll();\n  }\n\n  /**\n   * Change the selector state\n   * @param {String} value State value\n   * @returns {this}\n   */\n  setState(value) {\n    this.set('state', value);\n    return this;\n  }\n\n  /**\n   * Get the current selector state\n   * @returns {String}\n   */\n  getState() {\n    return this.get('state') || '';\n  }\n\n  /**\n   * Returns HTML built inside canvas\n   * @param {Object} [opts={}] Options\n   * @returns {string} HTML string\n   * @private\n   */\n  getHtml(opts = {}) {\n    const { config } = this;\n    const { optsHtml } = config;\n    const js = config.jsInHtml ? this.getJs(opts) : '';\n    const cmp = opts.component || this.get('DomComponents').getComponent();\n    let html = cmp\n      ? this.get('CodeManager').getCode(cmp, 'html', {\n          ...optsHtml,\n          ...opts,\n        })\n      : '';\n    html += js ? `<script>${js}</script>` : '';\n    return html;\n  }\n\n  /**\n   * Returns CSS built inside canvas\n   * @param {Object} [opts={}] Options\n   * @returns {string} CSS string\n   * @private\n   */\n  getCss(opts = {}) {\n    const config = this.config;\n    const { optsCss } = config;\n    const avoidProt = opts.avoidProtected;\n    const keepUnusedStyles = !isUndefined(opts.keepUnusedStyles) ? opts.keepUnusedStyles : config.keepUnusedStyles;\n    const cssc = this.get('CssComposer');\n    const wrp = opts.component || this.get('DomComponents').getComponent();\n    const protCss = !avoidProt ? config.protectedCss : '';\n    const css =\n      wrp &&\n      this.get('CodeManager').getCode(wrp, 'css', {\n        cssc,\n        keepUnusedStyles,\n        ...optsCss,\n        ...opts,\n      });\n    return wrp ? (opts.json ? css : protCss + css) : '';\n  }\n\n  /**\n   * Returns JS of all components\n   * @return {string} JS string\n   * @private\n   */\n  getJs(opts = {}) {\n    var wrp = opts.component || this.get('DomComponents').getWrapper();\n    return wrp ? this.get('CodeManager').getCode(wrp, 'js').trim() : '';\n  }\n\n  /**\n   * Store data to the current storage\n   * @param {Function} clb Callback function\n   * @return {Object} Stored data\n   * @private\n   */\n  store(clb) {\n    const sm = this.get('StorageManager');\n    if (!sm) return;\n\n    const store = this.storeData();\n    sm.store(store, res => {\n      clb && clb(res, store);\n      this.set('changesCount', 0);\n      this.trigger('storage:store', store);\n    });\n\n    return store;\n  }\n\n  storeData() {\n    let result = {};\n    // Sync content if there is an active RTE\n    const editingCmp = this.getEditing();\n    editingCmp && editingCmp.trigger('sync:content', { noCount: true });\n\n    this.get('storables').forEach(m => {\n      result = { ...result, ...m.store(1) };\n    });\n    return result;\n  }\n\n  /**\n   * Load data from the current storage\n   * @param {Function} clb Callback function\n   * @private\n   */\n  load(clb = null) {\n    this.getCacheLoad(1, res => {\n      this.loadData(res);\n      clb && clb(res);\n    });\n  }\n\n  loadData(data = {}) {\n    const sm = this.get('StorageManager');\n    const result = sm.__clearKeys(data);\n\n    this.get('storables').forEach(module => {\n      module.load(result);\n      module.postLoad && module.postLoad(this);\n    });\n\n    return result;\n  }\n\n  /**\n   * Returns cached load\n   * @param {Boolean} force Force to reload\n   * @param {Function} clb Callback function\n   * @return {Object}\n   * @private\n   */\n  getCacheLoad(force, clb) {\n    if (this.cacheLoad && !force) return this.cacheLoad;\n    const sm = this.get('StorageManager');\n    const load = [];\n\n    if (!sm) return {};\n\n    this.get('storables').forEach(m => {\n      let key = m.storageKey;\n      key = isFunction(key) ? key() : key;\n      const keys = isArray(key) ? key : [key];\n      keys.forEach(k => load.push(k));\n    });\n\n    sm.load(load, res => {\n      this.cacheLoad = res;\n      clb && clb(res);\n      setTimeout(() => this.trigger('storage:load', res));\n    });\n  }\n\n  /**\n   * Returns device model by name\n   * @return {Device|null}\n   * @private\n   */\n  getDeviceModel() {\n    var name = this.get('device');\n    return this.get('DeviceManager').get(name);\n  }\n\n  /**\n   * Run default command if setted\n   * @param {Object} [opts={}] Options\n   * @private\n   */\n  runDefault(opts = {}) {\n    var command = this.get('Commands').get(this.config.defaultCommand);\n    if (!command || this.defaultRunning) return;\n    command.stop(this, this, opts);\n    command.run(this, this, opts);\n    this.defaultRunning = 1;\n  }\n\n  /**\n   * Stop default command\n   * @param {Object} [opts={}] Options\n   * @private\n   */\n  stopDefault(opts = {}) {\n    const commands = this.get('Commands');\n    const command = commands.get(this.config.defaultCommand);\n    if (!command || !this.defaultRunning) return;\n    command.stop(this, this, opts);\n    this.defaultRunning = 0;\n  }\n\n  /**\n   * Update canvas dimensions and refresh data useful for tools positioning\n   * @private\n   */\n  refreshCanvas(opts = {}) {\n    this.set('canvasOffset', null);\n    this.set('canvasOffset', this.get('Canvas').getOffset());\n    opts.tools && this.trigger('canvas:updateTools');\n  }\n\n  /**\n   * Clear all selected stuf inside the window, sometimes is useful to call before\n   * doing some dragging opearation\n   * @param {Window} win If not passed the current one will be used\n   * @private\n   */\n  clearSelection(win) {\n    var w = win || window;\n    w.getSelection().removeAllRanges();\n  }\n\n  /**\n   * Get the current media text\n   * @return {string}\n   */\n  getCurrentMedia() {\n    const config = this.config;\n    const device = this.getDeviceModel();\n    const condition = config.mediaCondition;\n    const preview = config.devicePreviewMode;\n    const width = device && device.get('widthMedia');\n    return device && width && !preview ? `(${condition}: ${width})` : '';\n  }\n\n  /**\n   * Return the component wrapper\n   * @return {Component}\n   */\n  getWrapper() {\n    return this.get('DomComponents').getWrapper();\n  }\n\n  setCurrentFrame(frameView) {\n    return this.set('currentFrame', frameView);\n  }\n\n  getCurrentFrame() {\n    return this.get('currentFrame');\n  }\n\n  getCurrentFrameModel() {\n    return (this.getCurrentFrame() || {}).model;\n  }\n\n  getIcon(icon) {\n    const icons = this.getConfig('icons') || {};\n    return icons[icon] || '';\n  }\n\n  /**\n   * Return the count of changes made to the content and not yet stored.\n   * This count resets at any `store()`\n   * @return {number}\n   */\n  getDirtyCount() {\n    return this.get('changesCount');\n  }\n\n  getZoomDecimal() {\n    return this.get('Canvas').getZoomDecimal();\n  }\n\n  getZoomMultiplier() {\n    return this.get('Canvas').getZoomMultiplier();\n  }\n\n  setDragMode(value) {\n    return this.set('dmode', value);\n  }\n\n  t(...args) {\n    const i18n = this.get('I18n');\n    return i18n?.t(...args);\n  }\n\n  /**\n   * Returns true if the editor is in absolute mode\n   * @returns {Boolean}\n   */\n  inAbsoluteMode() {\n    return this.get('dmode') === 'absolute';\n  }\n\n  /**\n   * Destroy editor\n   */\n  destroyAll() {\n    const { config, view } = this;\n    const editor = this.getEditor();\n    const { editors = [] } = config.grapesjs || {};\n    const shallow = this.get('shallow');\n    shallow?.destroyAll();\n    this.stopListening();\n    this.stopDefault();\n    this.get('modules')\n      .slice()\n      .reverse()\n      .forEach(mod => mod.destroy());\n    view && view.remove();\n    this.clear({ silent: true });\n    this.destroyed = 1;\n    ['config', 'view', '_previousAttributes', '_events', '_listeners'].forEach(i => (this[i] = {}));\n    editors.splice(editors.indexOf(editor), 1);\n    hasWin() && $(config.el).empty().attr(this.attrsOrig);\n  }\n\n  getEditing() {\n    const res = this.get('editing');\n    return (res && res.model) || null;\n  }\n\n  setEditing(value) {\n    this.set('editing', value);\n    return this;\n  }\n\n  isEditing() {\n    return !!this.get('editing');\n  }\n\n  log(msg, opts = {}) {\n    const { ns, level = 'debug' } = opts;\n    this.trigger('log', msg, opts);\n    level && this.trigger(`log:${level}`, msg, opts);\n\n    if (ns) {\n      const logNs = `log-${ns}`;\n      this.trigger(logNs, msg, opts);\n      level && this.trigger(`${logNs}:${level}`, msg, opts);\n    }\n  }\n\n  logInfo(msg, opts) {\n    this.log(msg, { ...opts, level: 'info' });\n  }\n\n  logWarning(msg, opts) {\n    this.log(msg, { ...opts, level: 'warning' });\n  }\n\n  logError(msg, opts) {\n    this.log(msg, { ...opts, level: 'error' });\n  }\n\n  initBaseColorPicker(el, opts = {}) {\n    const config = this.getConfig();\n    const { colorPicker = {} } = config;\n    const elToAppend = config.el;\n    const ppfx = config.stylePrefix;\n\n    return $(el).spectrum({\n      containerClassName: `${ppfx}one-bg ${ppfx}two-color`,\n      appendTo: elToAppend || 'body',\n      maxSelectionSize: 8,\n      showPalette: true,\n      palette: [],\n      showAlpha: true,\n      chooseText: 'Ok',\n      cancelText: '⨯',\n      ...opts,\n      ...colorPicker,\n    });\n  }\n\n  /**\n   * Execute actions without triggering the storage and undo manager.\n   * @param  {Function} clb\n   * @private\n   */\n  skip(clb) {\n    this.__skip = true;\n    const um = this.get('UndoManager');\n    um ? um.skip(clb) : clb();\n    this.__skip = false;\n  }\n\n  /**\n   * Set/get data from the HTMLElement\n   * @param  {HTMLElement} el\n   * @param  {string} name Data name\n   * @param  {any} value Date value\n   * @return {any}\n   * @private\n   */\n  data(el, name, value) {\n    const varName = '_gjs-data';\n\n    if (!el[varName]) {\n      el[varName] = {};\n    }\n\n    if (isUndefined(value)) {\n      return el[varName][name];\n    } else {\n      el[varName][name] = value;\n    }\n  }\n}\n","import { isObject, isString, each, isUndefined } from 'underscore';\n\nexport default ({ $ }) => {\n  if ($ && $.prototype && $.prototype.constructor.name !== 'jQuery') {\n    const fn = $.fn;\n\n    // Additional helpers\n\n    fn.hide = function() {\n      return this.css('display', 'none');\n    };\n\n    fn.show = function() {\n      return this.css('display', 'block');\n    };\n\n    fn.focus = function() {\n      const el = this.get(0);\n      el && el.focus();\n      return this;\n    };\n\n    // For SVGs in IE\n    // (fn.removeClass = function(c) {\n    //   if (!arguments.length) {\n    //     return this.attr('class', '');\n    //   }\n    //   const classes = isString(c) && c.match(/\\S+/g);\n    //   return classes\n    //     ? this.each(function(el) {\n    //         each(classes, function(c) {\n    //           if (el.classList) {\n    //             el.classList.remove(c);\n    //           } else {\n    //             const val = el.className;\n    //             const bval = el.className.baseVal;\n\n    //             if (!isUndefined(bval)) {\n    //               val.baseVal = bval.replace(c, '');\n    //             } else {\n    //               el.className = val.replace(c, '');\n    //             }\n    //           }\n    //         });\n    //       })\n    //     : this;\n    // }),\n    //   (fn.remove = function() {\n    //     return this.each(node => {\n    //       return node.parentNode && node.parentNode.removeChild(node);\n    //     });\n    //   }),\n\n    // For spectrum compatibility\n\n    fn.bind = function(ev, h) {\n      return this.on(ev, h);\n    };\n\n    fn.unbind = function(ev, h) {\n      if (isObject(ev)) {\n        for (let name in ev) {\n          ev.hasOwnProperty(name) && this.off(name, ev[name]);\n        }\n\n        return this;\n      } else {\n        return this.off(ev, h);\n      }\n    };\n\n    fn.click = function(h) {\n      return h ? this.on('click', h) : this.trigger('click');\n    };\n\n    fn.change = function(h) {\n      return h ? this.on('change', h) : this.trigger('change');\n    };\n\n    fn.keydown = function(h) {\n      return h ? this.on('keydown', h) : this.trigger('keydown');\n    };\n\n    fn.delegate = function(selector, events, data, handler) {\n      if (!handler) {\n        handler = data;\n      }\n\n      return this.on(events, selector, function(e) {\n        e.data = data;\n        handler(e);\n      });\n    };\n\n    fn.scrollLeft = function() {\n      let el = this.get(0);\n      el = el.nodeType == 9 ? el.defaultView : el;\n      let win = el instanceof Window ? el : null;\n      return win ? win.pageXOffset : el.scrollLeft || 0;\n    };\n\n    fn.scrollTop = function() {\n      let el = this.get(0);\n      el = el.nodeType == 9 ? el.defaultView : el;\n      let win = el instanceof Window ? el : null;\n      return win ? win.pageYOffset : el.scrollTop || 0;\n    };\n\n    const offset = $.prototype.offset;\n    fn.offset = function(coords) {\n      let top, left;\n\n      if (coords) {\n        top = coords.top;\n        left = coords.left;\n      }\n\n      if (typeof top != 'undefined') {\n        this.css('top', `${top}px`);\n      }\n      if (typeof left != 'undefined') {\n        this.css('left', `${left}px`);\n      }\n\n      return offset.call(this);\n    };\n\n    $.map = function(items, clb) {\n      const ar = [];\n\n      for (var i = 0; i < items.length; i++) {\n        ar.push(clb(items[i], i));\n      }\n\n      return ar;\n    };\n\n    const indexOf = Array.prototype.indexOf;\n\n    $.inArray = function(val, arr, i) {\n      return arr == null ? -1 : indexOf.call(arr, val, i);\n    };\n\n    $.Event = function(src, props) {\n      if (!(this instanceof $.Event)) {\n        return new $.Event(src, props);\n      }\n\n      this.type = src;\n      this.isDefaultPrevented = () => false;\n    };\n  }\n};\n","import Backbone from 'backbone';\nimport { View } from 'common';\nimport { appendStyles } from 'utils/mixins';\n\nconst $ = Backbone.$;\n\nexport default class EditorView extends View {\n  initialize() {\n    const { model } = this;\n    model.view = this;\n    this.conf = model.config;\n    this.pn = model.get('Panels');\n    this.cv = model.get('Canvas');\n    model.once('change:ready', () => {\n      this.pn.active();\n      this.pn.disableButtons();\n      setTimeout(() => {\n        model.trigger('load', model.get('Editor'));\n        model.set('changesCount', 0);\n      });\n    });\n  }\n\n  render() {\n    const { $el, conf, model } = this;\n    const pfx = conf.stylePrefix;\n    const contEl = $(conf.el || `body ${conf.container}`);\n    appendStyles(conf.cssIcons, { unique: 1, prepand: 1 });\n    $el.empty();\n\n    if (conf.width) contEl.css('width', conf.width);\n    if (conf.height) contEl.css('height', conf.height);\n\n    $el.append(this.cv.render());\n    $el.append(this.pn.render());\n\n    // Load shallow editor\n    const shallow = model.get('shallow');\n    const shallowCanvasEl = shallow.get('Canvas').render();\n    shallowCanvasEl.style.display = 'none';\n    $el.append(shallowCanvasEl);\n\n    $el.attr('class', `${pfx}editor ${pfx}one-bg ${pfx}two-color`);\n    contEl.addClass(`${pfx}editor-cont`).empty().append($el);\n\n    return this;\n  }\n}\n","/**\n * Editor contains the top level API which you'll probably use to customize the editor or extend it with plugins.\n * You get the Editor instance on init method and you can pass options via its [Configuration Object](https://github.com/artf/grapesjs/blob/master/src/editor/config/config.js)\n *\n * ```js\n * const editor = grapesjs.init({\n *    // options\n * });\n * ```\n *\n * ## Available Events\n *\n * You can make use of available events in this way\n * ```js\n * editor.on('EVENT-NAME', (some, argument) => {\n *    // do something\n * })\n * ```\n *\n * * `update` - The structure of the template is updated (its HTML/CSS)\n * * `undo` - Undo executed\n * * `redo` - Redo executed\n * * `load` - Editor is loaded\n *\n * ### Components\n * Check the [Components](/api/components.html) module.\n * ### Keymaps\n * Check the [Keymaps](/api/keymaps.html) module.\n * ### Style Manager\n * Check the [Style Manager](/api/style_manager.html) module.\n * ### Storage\n * Check the [Storage](/api/storage_manager.html) module.\n * ### Canvas\n * Check the [Canvas](/api/canvas.html) module.\n * ### RTE\n * Check the [Rich Text Editor](/api/rich_text_editor.html) module.\n * ### Commands\n * Check the [Commands](/api/commands.html) module.\n * ### Selectors\n * Check the [Selectors](/api/selector_manager.html) module.\n * ### Blocks\n * Check the [Blocks](/api/block_manager.html) module.\n * ### Assets\n * Check the [Assets](/api/assets.html) module.\n * ### Modal\n * Check the [Modal](/api/modal_dialog.html) module.\n * ### Devices\n * Check the [Devices](/api/device_manager.html) module.\n * ### Parser\n * Check the [Parser](/api/parser.html) module.\n * ### Pages\n * Check the [Pages](/api/pages.html) module.\n *\n * ## Methods\n * @module Editor\n */\nimport defaults from './config/config';\nimport EditorModel from './model/Editor';\nimport EditorView from './view/EditorView';\nimport html from 'utils/html';\n\nexport default (config = {}, opts = {}) => {\n  const { $ } = opts;\n  let c = {\n    ...defaults,\n    ...config,\n  };\n\n  c.pStylePrefix = c.stylePrefix;\n  let em = new EditorModel(c);\n  let editorView;\n\n  return {\n    $,\n\n    /**\n     * @property {EditorModel}\n     * @private\n     */\n    editor: em,\n\n    modules: [],\n\n    /**\n     * Initialize editor model\n     * @return {this}\n     * @private\n     */\n    init(opts = {}) {\n      em.init(this, { ...c, ...opts });\n\n      this.modules = [\n        'I18n',\n        'Utils',\n        'Config',\n        'Commands',\n        'Keymaps',\n        'Modal',\n        'Panels',\n        'Canvas',\n        'Parser',\n        'CodeManager',\n        'UndoManager',\n        'RichTextEditor',\n        ['Pages', 'PageManager'],\n        'DomComponents',\n        ['Components', 'DomComponents'],\n        'LayerManager',\n        ['Layers', 'LayerManager'],\n        'CssComposer',\n        ['Css', 'CssComposer'],\n        'StorageManager',\n        ['Storage', 'StorageManager'],\n        'AssetManager',\n        ['Assets', 'AssetManager'],\n        'BlockManager',\n        ['Blocks', 'BlockManager'],\n        'TraitManager',\n        ['Traits', 'TraitManager'],\n        'SelectorManager',\n        ['Selectors', 'SelectorManager'],\n        'StyleManager',\n        ['Styles', 'StyleManager'],\n        'DeviceManager',\n        ['Devices', 'DeviceManager'],\n      ];\n\n      this.modules.forEach(prop => {\n        if (Array.isArray(prop)) {\n          this[prop[0]] = em.get(prop[1]);\n        } else {\n          this[prop] = em.get(prop);\n        }\n      });\n\n      // Do post render stuff after the iframe is loaded otherwise it'll\n      // be empty during tests\n      em.once('change:ready', () => {\n        this.UndoManager.clear();\n        em.get('modules').forEach(module => {\n          module.postRender && module.postRender(editorView);\n        });\n      });\n\n      return this;\n    },\n\n    /**\n     * Returns configuration object\n     * @param  {string} [prop] Property name\n     * @returns {any} Returns the configuration object or\n     *  the value of the specified property\n     */\n    getConfig(prop) {\n      return em.getConfig(prop);\n    },\n\n    /**\n     * Returns HTML built inside canvas\n     * @param {Object} [opts={}] Options\n     * @param {Component} [opts.component] Return the HTML of a specific Component\n     * @param {Boolean} [opts.cleanId=false] Remove unnecessary IDs (eg. those created automatically)\n     * @returns {string} HTML string\n     */\n    getHtml(opts) {\n      return em.getHtml(opts);\n    },\n\n    /**\n     * Returns CSS built inside canvas\n     * @param {Object} [opts={}] Options\n     * @param {Component} [opts.component] Return the CSS of a specific Component\n     * @param {Boolean} [opts.json=false] Return an array of CssRules instead of the CSS string\n     * @param {Boolean} [opts.avoidProtected=false] Don't include protected CSS\n     * @param {Boolean} [opts.onlyMatched=false] Return only rules matched by the passed component.\n     * @param {Boolean} [opts.keepUnusedStyles=false] Force keep all defined rules. Toggle on in case output looks different inside/outside of the editor.\n     * @returns {String|Array<CssRule>} CSS string or array of CssRules\n     */\n    getCss(opts) {\n      return em.getCss(opts);\n    },\n\n    /**\n     * Returns JS of all components\n     * @param {Object} [opts={}] Options\n     * @param {Component} [opts.component] Get the JS of a specific component\n     * @returns {String} JS string\n     */\n    getJs(opts) {\n      return em.getJs(opts);\n    },\n\n    /**\n     * Return the complete tree of components. Use `getWrapper` to include also the wrapper\n     * @return {Components}\n     */\n    getComponents() {\n      return em.get('DomComponents').getComponents();\n    },\n\n    /**\n     * Return the wrapper and its all components\n     * @return {Component}\n     */\n    getWrapper() {\n      return em.get('DomComponents').getWrapper();\n    },\n\n    /**\n     * Set components inside editor's canvas. This method overrides actual components\n     * @param {Array<Object>|Object|string} components HTML string or components model\n     * @param {Object} opt the options object to be used by the [setComponents]{@link em#setComponents} method\n     * @return {this}\n     * @example\n     * editor.setComponents('<div class=\"cls\">New component</div>');\n     * // or\n     * editor.setComponents({\n     *  type: 'text',\n     *   classes:['cls'],\n     *   content: 'New component'\n     * });\n     */\n    setComponents(components, opt = {}) {\n      em.setComponents(components, opt);\n      return this;\n    },\n\n    /**\n     * Add components\n     * @param {Array<Object>|Object|string} components HTML string or components model\n     * @param {Object} opts Options\n     * @param {Boolean} [opts.avoidUpdateStyle=false] If the HTML string contains styles,\n     * by default, they will be created and, if already exist, updated. When this option\n     * is true, styles already created will not be updated.\n     * @return {Array<Component>}\n     * @example\n     * editor.addComponents('<div class=\"cls\">New component</div>');\n     * // or\n     * editor.addComponents({\n     *  type: 'text',\n     *   classes:['cls'],\n     *   content: 'New component'\n     * });\n     */\n    addComponents(components, opts) {\n      return this.getWrapper().append(components, opts);\n    },\n\n    /**\n     * Returns style in JSON format object\n     * @return {Object}\n     */\n    getStyle() {\n      return em.get('CssComposer').getAll();\n    },\n\n    /**\n     * Set style inside editor's canvas. This method overrides actual style\n     * @param {Array<Object>|Object|string} style CSS string or style model\n     * @return {this}\n     * @example\n     * editor.setStyle('.cls{color: red}');\n     * //or\n     * editor.setStyle({\n     *   selectors: ['cls'],\n     *   style: { color: 'red' }\n     * });\n     */\n    setStyle(style, opt = {}) {\n      em.setStyle(style, opt);\n      return this;\n    },\n\n    /**\n     * Add styles to the editor\n     * @param {Array<Object>|Object|string} style CSS string or style model\n     * @returns {Array<CssRule>} Array of created CssRule instances\n     * @example\n     * editor.addStyle('.cls{color: red}');\n     */\n    addStyle(style, opts = {}) {\n      return em.addStyle(style, opts);\n    },\n\n    /**\n     * Returns the last selected component, if there is one\n     * @return {Model}\n     */\n    getSelected() {\n      return em.getSelected();\n    },\n\n    /**\n     * Returns an array of all selected components\n     * @return {Array}\n     */\n    getSelectedAll() {\n      return em.getSelectedAll();\n    },\n\n    /**\n     * Get a stylable entity from the selected component.\n     * If you select a component without classes the entity is the Component\n     * itself and all changes will go inside its 'style' attribute. Otherwise,\n     * if the selected component has one or more classes, the function will\n     * return the corresponding CSS Rule\n     * @return {Model}\n     */\n    getSelectedToStyle() {\n      let selected = em.getSelected();\n\n      if (selected) {\n        return this.StyleManager.getModelToStyle(selected);\n      }\n    },\n\n    /**\n     * Select a component\n     * @param  {Component|HTMLElement} el Component to select\n     * @param  {Object} [opts] Options\n     * @param  {Boolean} [opts.scroll] Scroll canvas to the selected element\n     * @return {this}\n     * @example\n     * // Select dropped block\n     * editor.on('block:drag:stop', function(model) {\n     *  editor.select(model);\n     * });\n     */\n    select(el, opts) {\n      em.setSelected(el, opts);\n      return this;\n    },\n\n    /**\n     * Add component to selection\n     * @param  {Component|HTMLElement|Array} el Component to select\n     * @return {this}\n     * @example\n     * editor.selectAdd(model);\n     */\n    selectAdd(el) {\n      em.addSelected(el);\n      return this;\n    },\n\n    /**\n     * Remove component from selection\n     * @param  {Component|HTMLElement|Array} el Component to select\n     * @return {this}\n     * @example\n     * editor.selectRemove(model);\n     */\n    selectRemove(el) {\n      em.removeSelected(el);\n      return this;\n    },\n\n    /**\n     * Toggle component selection\n     * @param  {Component|HTMLElement|Array} el Component to select\n     * @return {this}\n     * @example\n     * editor.selectToggle(model);\n     */\n    selectToggle(el) {\n      em.toggleSelected(el);\n      return this;\n    },\n\n    /**\n     * Returns, if active, the Component enabled in rich text editing mode.\n     * @returns {Component|null}\n     * @example\n     * const textComp = editor.getEditing();\n     * if (textComp) {\n     *  console.log('HTML: ', textComp.toHTML());\n     * }\n     */\n    getEditing() {\n      return em.getEditing();\n    },\n\n    /**\n     * Set device to the editor. If the device exists it will\n     * change the canvas to the proper width\n     * @param {string} name Name of the device\n     * @return {this}\n     * @example\n     * editor.setDevice('Tablet');\n     */\n    setDevice(name) {\n      em.set('device', name);\n      return this;\n    },\n\n    /**\n     * Return the actual active device\n     * @return {string} Device name\n     * @example\n     * var device = editor.getDevice();\n     * console.log(device);\n     * // 'Tablet'\n     */\n    getDevice() {\n      return em.get('device');\n    },\n\n    /**\n     * Execute command\n     * @param {string} id Command ID\n     * @param {Object} options Custom options\n     * @return {*} The return is defined by the command\n     * @example\n     * editor.runCommand('myCommand', {someValue: 1});\n     */\n    runCommand(id, options = {}) {\n      return em.get('Commands').run(id, options);\n    },\n\n    /**\n     * Stop the command if stop method was provided\n     * @param {string} id Command ID\n     * @param {Object} options Custom options\n     * @return {*} The return is defined by the command\n     * @example\n     * editor.stopCommand('myCommand', {someValue: 1});\n     */\n    stopCommand(id, options = {}) {\n      return em.get('Commands').stop(id, options);\n    },\n\n    /**\n     * Store data to the current storage\n     * @param {Function} clb Callback function\n     * @return {Object} Stored data\n     */\n    store(clb) {\n      return em.store(clb);\n    },\n\n    /**\n     * Get the JSON project data, which could be stored and loaded back with `editor.loadProject(json)`\n     * @returns {Object}\n     * @example\n     * console.log(editor.getProject());\n     * // { pages: [...], styles: [...], ... }\n     */\n    getProject() {\n      return em.storeData();\n    },\n\n    storeData() {\n      return em.storeData();\n    },\n\n    /**\n     * Load data from the current storage\n     * @param {Function} clb Callback function\n     * @return {Object} Stored data\n     */\n    load(clb) {\n      return em.load(clb);\n    },\n\n    /**\n     * Load data from the JSON project\n     * @param {Object} data Project to load\n     * @example\n     * editor.loadProject({ pages: [...], styles: [...], ... })\n     */\n    loadProject(data) {\n      return em.loadData(data);\n    },\n\n    loadData(data) {\n      return em.loadData(data);\n    },\n\n    /**\n     * Returns container element. The one which was indicated as 'container'\n     * on init method\n     * @return {HTMLElement}\n     */\n    getContainer() {\n      return c.el;\n    },\n\n    /**\n     * Return the count of changes made to the content and not yet stored.\n     * This count resets at any `store()`\n     * @return {number}\n     */\n    getDirtyCount() {\n      return em.getDirtyCount();\n    },\n\n    /**\n     * Update editor dimension offsets\n     *\n     * This method could be useful when you update, for example, some position\n     * of the editor element (eg. canvas, panels, etc.) with CSS, where without\n     * refresh you'll get misleading position of tools\n     * @param {Object} [options] Options\n     * @param {Boolean} [options.tools=false] Update the position of tools (eg. rich text editor, component highlighter, etc.)\n     */\n    refresh(opts) {\n      em.refreshCanvas(opts);\n    },\n\n    /**\n     * Replace the built-in Rich Text Editor with a custom one.\n     * @param {Object} obj Custom RTE Interface\n     * @example\n     * editor.setCustomRte({\n     *   // Function for enabling custom RTE\n     *   // el is the HTMLElement of the double clicked Text Component\n     *   // rte is the same instance you have returned the first time you call\n     *   // enable(). This is useful if need to check if the RTE is already enabled so\n     *   // ion this case you'll need to return the RTE and the end of the function\n     *   enable: function(el, rte) {\n     *     rte = new MyCustomRte(el, {}); // this depends on the Custom RTE API\n     *     ...\n     *     return rte; // return the RTE instance\n     *   },\n     *\n     *   // Disable the editor, called for example when you unfocus the Text Component\n     *  disable: function(el, rte) {\n     *     rte.blur(); // this depends on the Custom RTE API\n     *  }\n     *\n     * // Called when the Text Component is focused again. If you returned the RTE instance\n     * // from the enable function, the enable won't be called again instead will call focus,\n     * // in this case to avoid double binding of the editor\n     *  focus: function (el, rte) {\n     *   rte.focus(); // this depends on the Custom RTE API\n     *  }\n     * });\n     */\n    setCustomRte(obj) {\n      this.RichTextEditor.customRte = obj;\n    },\n\n    /**\n     * Replace the default CSS parser with a custom one.\n     * The parser function receives a CSS string as a parameter and expects\n     * an array of CSSRule objects as a result. If you need to remove the\n     * custom parser, pass `null` as the argument\n     * @param {Function|null} parser Parser function\n     * @return {this}\n     * @example\n     * editor.setCustomParserCss(css => {\n     *  const result = [];\n     *  // ... parse the CSS string\n     *  result.push({\n     *    selectors: '.someclass, div .otherclass',\n     *    style: { color: 'red' }\n     *  })\n     *  // ...\n     *  return result;\n     * });\n     */\n    setCustomParserCss(parser) {\n      this.Parser.getConfig().parserCss = parser;\n      return this;\n    },\n\n    /**\n     * Change the global drag mode of components.\n     * To get more about this feature read: https://github.com/artf/grapesjs/issues/1936\n     * @param {String} value Drag mode, options: 'absolute' | 'translate'\n     * @returns {this}\n     */\n    setDragMode(value) {\n      em.setDragMode(value);\n      return this;\n    },\n\n    /**\n     * Trigger event log message\n     * @param  {*} msg Message to log\n     * @param  {Object} [opts={}] Custom options\n     * @param  {String} [opts.ns=''] Namespace of the log (eg. to use in plugins)\n     * @param  {String} [opts.level='debug'] Level of the log, `debug`, `info`, `warning`, `error`\n     * @return {this}\n     * @example\n     * editor.log('Something done!', { ns: 'from-plugin-x', level: 'info' });\n     * // This will trigger following events\n     * // `log`, `log:info`, `log-from-plugin-x`, `log-from-plugin-x:info`\n     * // Callbacks of those events will always receive the message and\n     * // options, as arguments, eg:\n     * // editor.on('log:info', (msg, opts) => console.info(msg, opts))\n     */\n    log(msg, opts = {}) {\n      em.log(msg, opts);\n      return this;\n    },\n\n    /**\n     * Translate label\n     * @param {String} key Label to translate\n     * @param {Object} [opts] Options for the translation\n     * @param {Object} [opts.params] Params for the translation\n     * @param {Boolean} [opts.noWarn] Avoid warnings in case of missing resources\n     * @returns {String}\n     * @example\n     * editor.t('msg');\n     * // use params\n     * editor.t('msg2', { params: { test: 'hello' } });\n     * // custom local\n     * editor.t('msg2', { params: { test: 'hello' }, l: 'it' });\n     */\n    t(...args) {\n      return em.t(...args);\n    },\n\n    /**\n     * Attach event\n     * @param  {string} event Event name\n     * @param  {Function} callback Callback function\n     * @return {this}\n     */\n    on(event, callback) {\n      em.on(event, callback);\n      return this;\n    },\n\n    /**\n     * Attach event and detach it after the first run\n     * @param  {string} event Event name\n     * @param  {Function} callback Callback function\n     * @return {this}\n     */\n    once(event, callback) {\n      em.once(event, callback);\n      return this;\n    },\n\n    /**\n     * Detach event\n     * @param  {string} event Event name\n     * @param  {Function} callback Callback function\n     * @return {this}\n     */\n    off(event, callback) {\n      em.off(event, callback);\n      return this;\n    },\n\n    /**\n     * Trigger event\n     * @param  {string} event Event to trigger\n     * @return {this}\n     */\n    trigger(event) {\n      em.trigger.apply(em, arguments);\n      return this;\n    },\n\n    /**\n     * Destroy the editor\n     */\n    destroy() {\n      if (!em) return;\n      em.destroyAll();\n      this.modules.forEach(prop => {\n        if (Array.isArray(prop)) {\n          this[prop[0]] = 0;\n        } else {\n          this[prop] = 0;\n        }\n      });\n      this.modules = 0;\n      editorView = 0;\n      em = 0;\n      c = 0;\n    },\n\n    /**\n     * Returns editor element\n     * @return {HTMLElement}\n     * @private\n     */\n    getEl() {\n      return editorView && editorView.el;\n    },\n\n    /**\n     * Returns editor model\n     * @return {Model}\n     * @private\n     */\n    getModel() {\n      return em;\n    },\n\n    /**\n     * Render editor\n     * @return {HTMLElement}\n     */\n    render() {\n      editorView && editorView.remove();\n      editorView = new EditorView({\n        model: em,\n        config: c,\n      });\n      return editorView.render().el;\n    },\n\n    /**\n     * Trigger a callback once the editor is loaded and rendered.\n     * The callback will be executed immediately if the method is called on the already rendered editor.\n     * @param  {Function} clb Callback to trigger\n     * @example\n     * editor.onReady(() => {\n     *   // perform actions\n     * });\n     */\n    onReady(clb) {\n      em.get('ready') ? clb(this) : em.on('load', clb);\n    },\n\n    /**\n     * Print safe HTML by using ES6 tagged template strings.\n     * @param {Array<String>} literals\n     * @param  {Array<String>} substs\n     * @returns {String}\n     * @example\n     * const unsafeStr = '<script>....</script>';\n     * const safeStr = '<b>Hello</b>';\n     * // Use `$${var}` to avoid escaping\n     * const strHtml = editor.html`Escaped ${unsafeStr}, unescaped $${safeStr}`;\n     */\n    html,\n  };\n};\n","export default {\n  plugins: []\n};\n","/**\n * File made for IE/Edge support\n * https://github.com/artf/grapesjs/issues/214\n */\nimport { hasWin } from './mixins';\n\nexport default () => {\n  /**\n   * Check if IE/Edge\n   * @return {Boolean}\n   */\n  const isIE = () => {\n    let match;\n    const agent = window.navigator.userAgent;\n    const rules = [\n      ['edge', /Edge\\/([0-9\\._]+)/],\n      ['ie', /MSIE\\s(7\\.0)/],\n      ['ie', /MSIE\\s([0-9\\.]+);.*Trident\\/[4-7].0/],\n      ['ie', /Trident\\/7\\.0.*rv\\:([0-9\\.]+).*\\).*Gecko$/]\n    ];\n\n    for (let i = 0; i < rules.length; i++) {\n      const rule = rules[i];\n      match = rule[1].exec(agent);\n      if (match) break;\n    }\n\n    return !!match;\n  };\n\n  if (hasWin() && isIE()) {\n    const originalCreateHTMLDocument =\n      DOMImplementation.prototype.createHTMLDocument;\n    DOMImplementation.prototype.createHTMLDocument = title => {\n      if (!title) title = '';\n      return originalCreateHTMLDocument.apply(document.implementation, [title]);\n    };\n  }\n};\n","import { isElement, isFunction } from 'underscore';\nimport $ from 'utils/cash-dom';\nimport Editor from './editor';\nimport polyfills from 'utils/polyfills';\nimport { getGlobal } from 'utils/mixins';\nimport PluginManager from './plugin_manager';\n\npolyfills();\n\nconst plugins = new PluginManager();\nconst editors = [];\nconst defaultConfig = {\n  // If true renders editor on init\n  autorender: 1,\n\n  // Array of plugins to init\n  plugins: [],\n\n  // Custom options for plugins\n  pluginsOpts: {}\n};\n\nexport default {\n  $,\n\n  editors,\n\n  plugins,\n\n  // Will be replaced on build\n  version: __GJS_VERSION__,\n\n  /**\n   * Initialize the editor with passed options\n   * @param {Object} config Configuration object\n   * @param {string|HTMLElement} config.container Selector which indicates where render the editor\n   * @param {Boolean} [config.autorender=true] If true, auto-render the content\n   * @param {Array} [config.plugins=[]] Array of plugins to execute on start\n   * @param {Object} [config.pluginsOpts={}] Custom options for plugins\n   * @param {Boolean} [config.headless=false] Init headless editor\n   * @return {Editor} Editor instance\n   * @example\n   * var editor = grapesjs.init({\n   *   container: '#myeditor',\n   *   components: '<article class=\"hello\">Hello world</article>',\n   *   style: '.hello{color: red}',\n   * })\n   */\n  init(config = {}) {\n    const { headless } = config;\n    const els = config.container;\n    if (!els && !headless) throw new Error(\"'container' is required\");\n    config = { ...defaultConfig, ...config, grapesjs: this };\n    config.el =\n      !headless && (isElement(els) ? els : document.querySelector(els));\n    const editor = new Editor(config, { $ }).init();\n    const em = editor.getModel();\n\n    // Load plugins\n    config.plugins.forEach(pluginId => {\n      let plugin = isFunction(pluginId) ? pluginId : plugins.get(pluginId);\n      const plgOptions = config.pluginsOpts[pluginId] || {};\n\n      // Try to search in global context\n      if (!plugin) {\n        const wplg = getGlobal()[pluginId];\n        plugin = wplg?.default || wplg;\n      }\n\n      if (plugin) {\n        plugin(editor, plgOptions);\n      } else if (isFunction(pluginId)) {\n        pluginId(editor, plgOptions);\n      } else {\n        em.logWarning(`Plugin ${pluginId} not found`, {\n          context: 'plugins',\n          plugin: pluginId\n        });\n      }\n    });\n\n    // Execute `onLoad` on modules once all plugins are initialized.\n    // A plugin might have extended/added some custom type so this\n    // is a good point to load stuff like components, css rules, etc.\n    em.loadOnStart();\n    config.autorender && !headless && editor.render();\n    editors.push(editor);\n\n    return editor;\n  }\n};\n","import defaults from './config/config';\n\nexport default config => {\n  var c = config || {};\n\n  // Set default options\n  for (var name in defaults) {\n    if (!(name in c)) c[name] = defaults[name];\n  }\n\n  var plugins = {};\n\n  return {\n    /**\n     * Add new plugin. Plugins could not be overwritten\n     * @param {string} id Plugin ID\n     * @param {Function} plugin Function which contains all plugin logic\n     * @return {Function} The plugin function\n     * @example\n     * PluginManager.add('some-plugin', function(editor){\n     *   editor.Commands.add('new-command', {\n     *     run:  function(editor, senderBtn){\n     *       console.log('Executed new-command');\n     *     }\n     *   })\n     * });\n     */\n    add(id, plugin) {\n      if (plugins[id]) {\n        return plugins[id];\n      }\n\n      plugins[id] = plugin;\n      return plugin;\n    },\n\n    /**\n     * Returns plugin by ID\n     * @param  {string} id Plugin ID\n     * @return {Function|undefined} Plugin\n     * @example\n     * var plugin = PluginManager.get('some-plugin');\n     * plugin(editor);\n     */\n    get(id) {\n      return plugins[id];\n    },\n\n    /**\n     * Returns object with all plugins\n     * @return {Object}\n     */\n    getAll() {\n      return plugins;\n    }\n  };\n};\n","/*! bigordr-grapesjs-preset-webpage - 0.1.25 */\n!function(e,t){\"object\"==typeof exports&&\"object\"==typeof module?module.exports=t(require(\"grapesjs\")):\"function\"==typeof define&&define.amd?define([\"grapesjs\"],t):\"object\"==typeof exports?exports[\"bigordr-grapesjs-preset-webpage\"]=t(require(\"grapesjs\")):e[\"bigordr-grapesjs-preset-webpage\"]=t(e.grapesjs)}(\"undefined\"!=typeof self?self:this,function(e){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,\"a\",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p=\"\",t(t.s=4)}([function(t,n){t.exports=e},function(e,t,n){(function(e){function r(e,t){this._id=e,this._clearFn=t}var i=Function.prototype.apply;t.setTimeout=function(){return new r(i.call(setTimeout,window,arguments),clearTimeout)},t.setInterval=function(){return new r(i.call(setInterval,window,arguments),clearInterval)},t.clearTimeout=t.clearInterval=function(e){e&&e.close()},r.prototype.unref=r.prototype.ref=function(){},r.prototype.close=function(){this._clearFn.call(window,this._id)},t.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},t.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},t._unrefActive=t.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},n(9),t.setImmediate=\"undefined\"!=typeof self&&self.setImmediate||void 0!==e&&e.setImmediate||this&&this.setImmediate,t.clearImmediate=\"undefined\"!=typeof self&&self.clearImmediate||void 0!==e&&e.clearImmediate||this&&this.clearImmediate}).call(t,n(2))},function(e,t){var n;n=function(){return this}();try{n=n||Function(\"return this\")()||(0,eval)(\"this\")}catch(e){\"object\"==typeof window&&(n=window)}e.exports=n},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});t.cmdImport=\"gjs-open-import-webpage\",t.cmdDeviceDesktop=\"set-device-desktop\",t.cmdDeviceTablet=\"set-device-tablet\",t.cmdDeviceMobile=\"set-device-mobile\"},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,\"__esModule\",{value:!0});var i=n(0),o=r(i),a=n(5),s=r(a),u=n(7),l=r(u),c=n(8),f=r(c),h=n(11),d=r(h),p=n(12),m=r(p),g=n(13),v=r(g),y=n(15),_=r(y),b=n(16),w=r(b),k=n(17),x=r(k);t.default=o.default.plugins.add(\"gjs-preset-webpage\",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t,r={modalImportTitle:\"Import\",modalImportButton:\"Import\",modalImportLabel:\"\",modalImportContent:\"\",importViewerOptions:{},textCleanCanvas:\"Are you sure to clean the canvas?\",showStylesOnChange:1,textGeneral:\"General\",textLayout:\"Layout\",textTypography:\"Typography\",textDecorations:\"Decorations\",textExtra:\"Extra\",customStyleManager:[],blocksBasicOpts:{},navbarOpts:{},countdownOpts:{},formsOpts:{},exportOpts:{},aviaryOpts:0,filestackOpts:0};for(var i in r)i in n||(n[i]=r[i]);var o=n.blocksBasicOpts,a=n.exportOpts,u=n.aviaryOpts,c=n.filestackOpts,h=n.customCodeOpts;o&&(0,s.default)(e,o),a&&(0,f.default)(e,a),u&&(0,d.default)(e,u),c&&(0,m.default)(e,c),h&&(0,l.default)(e,h),(0,_.default)(e,n),(0,v.default)(e,n),(0,w.default)(e,n),(0,x.default)(e,n)})},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(0),o=function(e){return e&&e.__esModule?e:{default:e}}(i);t.default=o.default.plugins.add(\"gjs-blocks-basic\",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=r({blocks:[],flexGrid:1,stylePrefix:\"\",addBasicStyle:!0,category:\"\",labelColumn1:\"1 Column\",labelColumn2:\"2 Columns\",labelColumn3:\"3 Columns\",labelText:\"Text\",labelImage:\"Image\",labelVideo:\"Video\",labelLinkBlock:\"Link Block\",labelTextSection:\"Text section\",labelCustomCode:\"Custom Code\"},t);n(6).default(e,i)})},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t,i=e.BlockManager,o=n.blocks,a=n.stylePrefix,s=n.flexGrid,u=n.addBasicStyle,l=a+\"row\",c=a+\"cell\",f=s?\"\\n    .\"+l+\" {\\n      display: flex;\\n      justify-content: flex-start;\\n      align-items: stretch;\\n      flex-wrap: nowrap;\\n      padding: 10px;\\n    }\\n    @media (max-width: 768px) {\\n      .\"+l+\" {\\n        flex-wrap: wrap;\\n      }\\n    }\":\"\\n    .\"+l+\" {\\n      display: table;\\n      padding: 10px;\\n      width: 100%;\\n    }\\n    @media (max-width: 768px) {\\n      .\"+a+\"cell, .\"+a+\"cell30, .\"+a+\"cell70 {\\n        width: 100%;\\n        display: block;\\n      }\\n    }\",h=s?\"\\n    .\"+c+\" {\\n      min-height: 75px;\\n      flex-grow: 1;\\n      flex-basis: 100%;\\n    }\":\"\\n    .\"+c+\" {\\n      width: 8%;\\n      display: table-cell;\\n      height: 75px;\\n    }\",d=\"\\n  .\"+a+\"cell30 {\\n    width: 30%;\\n  }\",p=\"\\n  .\"+a+\"cell70 {\\n    width: 70%;\\n  }\",m={tl:0,tc:0,tr:0,cl:0,cr:0,bl:0,br:0,minDim:1},g=r({},m,{cr:1,bc:0,currentUnit:1,minDim:1,step:.2});s&&(g.keyWidth=\"flex-basis\");var v={class:l,\"data-gjs-droppable\":\".\"+c,\"data-gjs-resizable\":m,\"data-gjs-name\":\"Row\"},y={class:c,\"data-gjs-draggable\":\".\"+l,\"data-gjs-resizable\":g,\"data-gjs-name\":\"Cell\"};s&&(y[\"data-gjs-unstylable\"]=[\"width\"],y[\"data-gjs-stylable-require\"]=[\"flex-basis\"]);var _=[\".\"+l,\".\"+c];e.on(\"selector:add\",function(e){return _.indexOf(e.getFullName())>=0&&e.set(\"private\",1)});var b=function(e){var t=[];for(var n in e){var r=e[n],i=r instanceof Array||r instanceof Object;r=i?JSON.stringify(r):r,t.push(n+\"=\"+(i?\"'\"+r+\"'\":'\"'+r+'\"'))}return t.length?\" \"+t.join(\" \"):\"\"},w=function(e){return o.indexOf(e)>=0},k=b(v),x=b(y);w(\"column1\")&&i.add(\"column1\",{label:n.labelColumn1,category:n.category,attributes:{class:\"gjs-fonts gjs-f-b1\"},content:\"<div \"+k+\">\\n        <div \"+x+\"></div>\\n      </div>\\n      \"+(u?\"<style>\\n          \"+f+\"\\n          \"+h+\"\\n        </style>\":\"\")}),w(\"column2\")&&i.add(\"column2\",{label:n.labelColumn2,attributes:{class:\"gjs-fonts gjs-f-b2\"},category:n.category,content:\"<div \"+k+\">\\n        <div \"+x+\"></div>\\n        <div \"+x+\"></div>\\n      </div>\\n      \"+(u?\"<style>\\n          \"+f+\"\\n          \"+h+\"\\n        </style>\":\"\")}),w(\"column3\")&&i.add(\"column3\",{label:n.labelColumn3,category:n.category,attributes:{class:\"gjs-fonts gjs-f-b3\"},content:\"<div \"+k+\">\\n        <div \"+x+\"></div>\\n        <div \"+x+\"></div>\\n        <div \"+x+\"></div>\\n      </div>\\n      \"+(u?\"<style>\\n          \"+f+\"\\n          \"+h+\"\\n        </style>\":\"\")}),w(\"column3-7\")&&i.add(\"column3-7\",{label:n.labelColumn37,category:n.category,attributes:{class:\"gjs-fonts gjs-f-b37\"},content:\"<div \"+k+\">\\n        <div \"+x+' style=\"'+(s?\"flex-basis\":\"width\")+': 30%;\"></div>\\n        <div '+x+' style=\"'+(s?\"flex-basis\":\"width\")+': 70%;\"></div>\\n      </div>\\n      '+(u?\"<style>\\n          \"+f+\"\\n          \"+h+\"\\n          \"+d+\"\\n          \"+p+\"\\n        </style>\":\"\")}),w(\"text\")&&i.add(\"text\",{label:n.labelText,category:n.category,attributes:{class:\"gjs-fonts gjs-f-text\"},content:{type:\"text\",content:\"Insert your text here\",style:{padding:\"0 15px 0 15px\"},activeOnRender:1}}),w(\"image\")&&i.add(\"image\",{label:n.labelImage,category:n.category,attributes:{class:\"gjs-fonts gjs-f-image\"},content:{style:{color:\"black\"},type:\"image\",activeOnRender:1}}),w(\"video\")&&i.add(\"video\",{label:n.labelVideo,category:n.category,attributes:{class:\"fa fa-youtube-play\"},content:{type:\"video\",src:\"img/video2.webm\",style:{height:\"350px\",width:\"615px\"}}}),w(\"link-block\")&&i.add(\"link-block\",{label:n.labelLinkBlock,category:n.category,attributes:{class:\"fa fa-link\"},content:{type:\"link\",editable:!1,droppable:!0,style:{display:\"inline-block\",padding:\"5px\",\"min-height\":\"50px\",\"min-width\":\"50px\"}}}),w(\"text-basic\")&&i.add(\"text-basic\",{label:n.labelTextSection,category:n.category,attributes:{class:\"gjs-fonts gjs-f-h1p\"},content:'<section class=\"bdg-sect\">\\n      <h1 class=\"heading\">Insert title here</h1>\\n      <p style=\"padding:0 15px 0 15px\" class=\"paragraph\">Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua</p>\\n      </section>'})}},function(e,t,n){/*! grapesjs-custom-code - 0.1.2 */\n!function(t,n){e.exports=n()}(window,function(){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:r})},t.r=function(e){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})},t.t=function(e,n){if(1&n&&(e=t(e)),8&n)return e;if(4&n&&\"object\"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(t.r(r),Object.defineProperty(r,\"default\",{enumerable:!0,value:e}),2&n&&\"string\"!=typeof e)for(var i in e)t.d(r,i,function(t){return e[t]}.bind(null,i));return r},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,\"a\",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p=\"\",t(t.s=1)}([function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.keyCustomCode=\"custom-code-plugin__code\",t.typeCustomCode=\"custom-code\",t.commandNameCustomCode=\"custom-code:open-modal\"},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,\"__esModule\",{value:!0});var i=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},o=r(n(2)),a=r(n(3)),s=r(n(4));t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=i({blockLabel:\"Custom Code\",blockCustomCode:{},propsCustomCode:{},placeholderContent:\"<span>Insert here your custom code</span>\",toolbarBtnCustomCode:{},placeholderScript:'<div style=\"pointer-events: none; padding: 10px;\">\\n      <svg viewBox=\"0 0 24 24\" style=\"height: 30px; vertical-align: middle;\">\\n        <path d=\"M13 14h-2v-4h2m0 8h-2v-2h2M1 21h22L12 2 1 21z\"></path>\\n        </svg>\\n      Custom code with <i>&lt;script&gt;</i> can\\'t be rendered on the canvas\\n    </div>',modalTitle:\"Insert your code\",codeViewOptions:{},buttonLabel:\"Save\",commandCustomCode:{}},t);(0,o.default)(e,n),(0,a.default)(e,n),(0,s.default)(e,n)}},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(0);t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.DomComponents,o=n.getType(\"default\"),a=o.model,s=t.toolbarBtnCustomCode,u=void 0;n.addType(i.typeCustomCode,{model:a.extend({defaults:r({},a.prototype.defaults,{name:\"Custom Code\",editable:!0},t.propsCustomCode),init:function(){this.listenTo(this,\"change:\"+i.keyCustomCode,this.onCustomCodeChange);var e=this.get(i.keyCustomCode)||t.placeholderContent;!this.components().length&&this.components(e);var n=this.get(\"toolbar\"),o=\"custom-code\";s&&!n.filter(function(e){return e.id===o}).length&&n.unshift(r({id:o,command:i.commandNameCustomCode,label:'<svg viewBox=\"0 0 24 24\">\\n              <path d=\"M14.6 16.6l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4m-5.2 0L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4z\"></path>\\n            </svg>'},s))},onCustomCodeChange:function(){this.components(this.get(i.keyCustomCode))}},{isComponent:function(){return!1}}),view:o.view.extend({events:{dblclick:\"onActive\"},init:function(){this.listenTo(this.model.components(),\"add remove reset\",this.onComponentsChange),this.onComponentsChange()},onComponentsChange:function(){var e=this;u&&clearInterval(u),u=setTimeout(function(){var n=e.model,r=1;(n.get(i.keyCustomCode)||\"\").indexOf(\"<script\")>=0&&(e.el.innerHTML=t.placeholderScript,r=0),n.set({droppable:r})},0)},onActive:function(){var e=this.model;this.em.get(\"Commands\").run(i.commandNameCustomCode,{target:e})}})})}},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(0);t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.BlockManager,o=t.blockCustomCode,a=t.blockLabel;o&&n.add(i.typeCustomCode,r({label:'<svg viewBox=\"0 0 24 24\">\\n        <path d=\"M14.6 16.6l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4m-5.2 0L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4z\"></path>\\n      </svg>\\n      <div>'+a+\"</div>\",category:\"Extra\",activate:!0,select:!0,content:{type:i.typeCustomCode}},o))}},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},i=n(0);t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.Commands,o=t.modalTitle,a=t.codeViewOptions,s=t.commandCustomCode,u=function(e,t){t instanceof HTMLElement?e.appendChild(t):t&&e.insertAdjacentHTML(\"beforeend\",t)};n.add(i.commandNameCustomCode,r({keyCustomCode:i.keyCustomCode,run:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.editor=e,this.options=n,this.target=n.target||e.getSelected();var r=this.target;r&&r.get(\"editable\")&&this.showCustomCode(r)},stop:function(e){e.Modal.close()},showCustomCode:function(e){var t=this,n=this.editor,r=this.options.title||o,a=this.getContent(),s=e.get(i.keyCustomCode)||\"\";n.Modal.open({title:r,content:a}).getModel().once(\"change:open\",function(){return n.stopCommand(t.id)}),this.getCodeViewer().setContent(s)},getPreContent:function(){},getPostContent:function(){},getContent:function(){var e=this.editor,t=document.createElement(\"div\"),n=this.getCodeViewer(),r=e.getConfig(\"stylePrefix\");return t.className=r+\"custom-code\",u(t,this.getPreContent()),t.appendChild(n.getElement()),u(t,this.getPostContent()),u(t,this.getContentActions()),n.refresh(),setTimeout(function(){return n.focus()},0),t},getContentActions:function(){var e=this,n=this.editor,r=document.createElement(\"button\"),i=n.getConfig(\"stylePrefix\");return r.innerHTML=t.buttonLabel,r.className=i+\"btn-prim \"+i+\"btn-import__custom-code\",r.onclick=function(){return e.handleSave()},r},handleSave:function(){var e=this.editor,t=this.target,n=this.getCodeViewer().getContent();t.set(i.keyCustomCode,n),e.Modal.close()},getCodeViewer:function(){var e=this.editor;return this.codeViewer||(this.codeViewer=e.CodeManager.createViewer(r({codeName:\"htmlmixed\",theme:\"hopscotch\",readOnly:0},a))),this.codeViewer}},s))}}])})},function(e,t,n){(function(t,r){/*! grapesjs-plugin-export - 0.1.5 */\n!function(t,r){e.exports=r(n(0))}(0,function(e){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,\"a\",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p=\"\",t(t.s=50)}([function(e,t,n){\"use strict\";function r(e){var t=null;return t=u.uint8array?new Uint8Array(e.length):new Array(e.length),o(e,t)}function i(e){return e}function o(e,t){for(var n=0;n<e.length;++n)t[n]=255&e.charCodeAt(n);return t}function a(e){var n=65536,r=t.getTypeOf(e),i=!0;if(\"uint8array\"===r?i=d.applyCanBeUsed.uint8array:\"nodebuffer\"===r&&(i=d.applyCanBeUsed.nodebuffer),i)for(;n>1;)try{return d.stringifyByChunk(e,r,n)}catch(e){n=Math.floor(n/2)}return d.stringifyByChar(e)}function s(e,t){for(var n=0;n<e.length;n++)t[n]=e[n];return t}var u=n(3),l=n(29),c=n(14),f=n(66),h=n(9);t.newBlob=function(e,n){t.checkSupport(\"blob\");try{return new Blob([e],{type:n})}catch(t){try{var r=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,i=new r;return i.append(e),i.getBlob(n)}catch(e){throw new Error(\"Bug : can't construct the Blob.\")}}};var d={stringifyByChunk:function(e,t,n){var r=[],i=0,o=e.length;if(o<=n)return String.fromCharCode.apply(null,e);for(;i<o;)\"array\"===t||\"nodebuffer\"===t?r.push(String.fromCharCode.apply(null,e.slice(i,Math.min(i+n,o)))):r.push(String.fromCharCode.apply(null,e.subarray(i,Math.min(i+n,o)))),i+=n;return r.join(\"\")},stringifyByChar:function(e){for(var t=\"\",n=0;n<e.length;n++)t+=String.fromCharCode(e[n]);return t},applyCanBeUsed:{uint8array:function(){try{return u.uint8array&&1===String.fromCharCode.apply(null,new Uint8Array(1)).length}catch(e){return!1}}(),nodebuffer:function(){try{return u.nodebuffer&&1===String.fromCharCode.apply(null,c.allocBuffer(1)).length}catch(e){return!1}}()}};t.applyFromCharCode=a;var p={};p.string={string:i,array:function(e){return o(e,new Array(e.length))},arraybuffer:function(e){return p.string.uint8array(e).buffer},uint8array:function(e){return o(e,new Uint8Array(e.length))},nodebuffer:function(e){return o(e,c.allocBuffer(e.length))}},p.array={string:a,array:i,arraybuffer:function(e){return new Uint8Array(e).buffer},uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return c.newBufferFrom(e)}},p.arraybuffer={string:function(e){return a(new Uint8Array(e))},array:function(e){return s(new Uint8Array(e),new Array(e.byteLength))},arraybuffer:i,uint8array:function(e){return new Uint8Array(e)},nodebuffer:function(e){return c.newBufferFrom(new Uint8Array(e))}},p.uint8array={string:a,array:function(e){return s(e,new Array(e.length))},arraybuffer:function(e){return e.buffer},uint8array:i,nodebuffer:function(e){return c.newBufferFrom(e)}},p.nodebuffer={string:a,array:function(e){return s(e,new Array(e.length))},arraybuffer:function(e){return p.nodebuffer.uint8array(e).buffer},uint8array:function(e){return s(e,new Uint8Array(e.length))},nodebuffer:i},t.transformTo=function(e,n){if(n||(n=\"\"),!e)return n;t.checkSupport(e);var r=t.getTypeOf(n);return p[r][e](n)},t.getTypeOf=function(e){return\"string\"==typeof e?\"string\":\"[object Array]\"===Object.prototype.toString.call(e)?\"array\":u.nodebuffer&&c.isBuffer(e)?\"nodebuffer\":u.uint8array&&e instanceof Uint8Array?\"uint8array\":u.arraybuffer&&e instanceof ArrayBuffer?\"arraybuffer\":void 0},t.checkSupport=function(e){if(!u[e.toLowerCase()])throw new Error(e+\" is not supported by this platform\")},t.MAX_VALUE_16BITS=65535,t.MAX_VALUE_32BITS=-1,t.pretty=function(e){var t,n,r=\"\";for(n=0;n<(e||\"\").length;n++)t=e.charCodeAt(n),r+=\"\\\\x\"+(t<16?\"0\":\"\")+t.toString(16).toUpperCase();return r},t.delay=function(e,t,n){f(function(){e.apply(n||null,t||[])})},t.inherits=function(e,t){var n=function(){};n.prototype=t.prototype,e.prototype=new n},t.extend=function(){var e,t,n={};for(e=0;e<arguments.length;e++)for(t in arguments[e])arguments[e].hasOwnProperty(t)&&void 0===n[t]&&(n[t]=arguments[e][t]);return n},t.prepareContent=function(e,n,i,o,a){return h.Promise.resolve(n).then(function(e){return u.blob&&(e instanceof Blob||-1!==[\"[object File]\",\"[object Blob]\"].indexOf(Object.prototype.toString.call(e)))&&\"undefined\"!=typeof FileReader?new h.Promise(function(t,n){var r=new FileReader;r.onload=function(e){t(e.target.result)},r.onerror=function(e){n(e.target.error)},r.readAsArrayBuffer(e)}):e}).then(function(n){var s=t.getTypeOf(n);return s?(\"arraybuffer\"===s?n=t.transformTo(\"uint8array\",n):\"string\"===s&&(a?n=l.decode(n):i&&!0!==o&&(n=r(n))),n):h.Promise.reject(new Error(\"Can't read the data of '\"+e+\"'. Is it in a supported JavaScript type (String, Blob, ArrayBuffer, etc) ?\"))})}},function(e,t,n){\"use strict\";function r(e){this.name=e||\"default\",this.streamInfo={},this.generatedError=null,this.extraStreamInfo={},this.isPaused=!0,this.isFinished=!1,this.isLocked=!1,this._listeners={data:[],end:[],error:[]},this.previous=null}r.prototype={push:function(e){this.emit(\"data\",e)},end:function(){if(this.isFinished)return!1;this.flush();try{this.emit(\"end\"),this.cleanUp(),this.isFinished=!0}catch(e){this.emit(\"error\",e)}return!0},error:function(e){return!this.isFinished&&(this.isPaused?this.generatedError=e:(this.isFinished=!0,this.emit(\"error\",e),this.previous&&this.previous.error(e),this.cleanUp()),!0)},on:function(e,t){return this._listeners[e].push(t),this},cleanUp:function(){this.streamInfo=this.generatedError=this.extraStreamInfo=null,this._listeners=[]},emit:function(e,t){if(this._listeners[e])for(var n=0;n<this._listeners[e].length;n++)this._listeners[e][n].call(this,t)},pipe:function(e){return e.registerPrevious(this)},registerPrevious:function(e){if(this.isLocked)throw new Error(\"The stream '\"+this+\"' has already been used.\");this.streamInfo=e.streamInfo,this.mergeStreamInfo(),this.previous=e;var t=this;return e.on(\"data\",function(e){t.processChunk(e)}),e.on(\"end\",function(){t.end()}),e.on(\"error\",function(e){t.error(e)}),this},pause:function(){return!this.isPaused&&!this.isFinished&&(this.isPaused=!0,this.previous&&this.previous.pause(),!0)},resume:function(){if(!this.isPaused||this.isFinished)return!1;this.isPaused=!1;var e=!1;return this.generatedError&&(this.error(this.generatedError),e=!0),this.previous&&this.previous.resume(),!e},flush:function(){},processChunk:function(e){this.push(e)},withStreamInfo:function(e,t){return this.extraStreamInfo[e]=t,this.mergeStreamInfo(),this},mergeStreamInfo:function(){for(var e in this.extraStreamInfo)this.extraStreamInfo.hasOwnProperty(e)&&(this.streamInfo[e]=this.extraStreamInfo[e])},lock:function(){if(this.isLocked)throw new Error(\"The stream '\"+this+\"' has already been used.\");this.isLocked=!0,this.previous&&this.previous.lock()},toString:function(){var e=\"Worker \"+this.name;return this.previous?this.previous+\" -> \"+e:e}},e.exports=r},function(e,t,n){\"use strict\";(function(e){function r(){return o.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function i(e,t){if(r()<t)throw new RangeError(\"Invalid typed array length\");return o.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t),e.__proto__=o.prototype):(null===e&&(e=new o(t)),e.length=t),e}function o(e,t,n){if(!(o.TYPED_ARRAY_SUPPORT||this instanceof o))return new o(e,t,n);if(\"number\"==typeof e){if(\"string\"==typeof t)throw new Error(\"If encoding is specified then the first argument must be a string\");return l(this,e)}return a(this,e,t,n)}function a(e,t,n,r){if(\"number\"==typeof t)throw new TypeError('\"value\" argument must not be a number');return\"undefined\"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?h(e,t,n,r):\"string\"==typeof t?c(e,t,n):d(e,t)}function s(e){if(\"number\"!=typeof e)throw new TypeError('\"size\" argument must be a number');if(e<0)throw new RangeError('\"size\" argument must not be negative')}function u(e,t,n,r){return s(t),t<=0?i(e,t):void 0!==n?\"string\"==typeof r?i(e,t).fill(n,r):i(e,t).fill(n):i(e,t)}function l(e,t){if(s(t),e=i(e,t<0?0:0|p(t)),!o.TYPED_ARRAY_SUPPORT)for(var n=0;n<t;++n)e[n]=0;return e}function c(e,t,n){if(\"string\"==typeof n&&\"\"!==n||(n=\"utf8\"),!o.isEncoding(n))throw new TypeError('\"encoding\" must be a valid string encoding');var r=0|g(t,n);e=i(e,r);var a=e.write(t,n);return a!==r&&(e=e.slice(0,a)),e}function f(e,t){var n=t.length<0?0:0|p(t.length);e=i(e,n);for(var r=0;r<n;r+=1)e[r]=255&t[r];return e}function h(e,t,n,r){if(t.byteLength,n<0||t.byteLength<n)throw new RangeError(\"'offset' is out of bounds\");if(t.byteLength<n+(r||0))throw new RangeError(\"'length' is out of bounds\");return t=void 0===n&&void 0===r?new Uint8Array(t):void 0===r?new Uint8Array(t,n):new Uint8Array(t,n,r),o.TYPED_ARRAY_SUPPORT?(e=t,e.__proto__=o.prototype):e=f(e,t),e}function d(e,t){if(o.isBuffer(t)){var n=0|p(t.length);return e=i(e,n),0===e.length?e:(t.copy(e,0,0,n),e)}if(t){if(\"undefined\"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||\"length\"in t)return\"number\"!=typeof t.length||X(t.length)?i(e,0):f(e,t);if(\"Buffer\"===t.type&&$(t.data))return f(e,t.data)}throw new TypeError(\"First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.\")}function p(e){if(e>=r())throw new RangeError(\"Attempt to allocate Buffer larger than maximum size: 0x\"+r().toString(16)+\" bytes\");return 0|e}function m(e){return+e!=e&&(e=0),o.alloc(+e)}function g(e,t){if(o.isBuffer(e))return e.length;if(\"undefined\"!=typeof ArrayBuffer&&\"function\"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;\"string\"!=typeof e&&(e=\"\"+e);var n=e.length;if(0===n)return 0;for(var r=!1;;)switch(t){case\"ascii\":case\"latin1\":case\"binary\":return n;case\"utf8\":case\"utf-8\":case void 0:return Y(e).length;case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return 2*n;case\"hex\":return n>>>1;case\"base64\":return V(e).length;default:if(r)return Y(e).length;t=(\"\"+t).toLowerCase(),r=!0}}function v(e,t,n){var r=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return\"\";if((void 0===n||n>this.length)&&(n=this.length),n<=0)return\"\";if(n>>>=0,t>>>=0,n<=t)return\"\";for(e||(e=\"utf8\");;)switch(e){case\"hex\":return B(this,t,n);case\"utf8\":case\"utf-8\":return A(this,t,n);case\"ascii\":return I(this,t,n);case\"latin1\":case\"binary\":return R(this,t,n);case\"base64\":return T(this,t,n);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return z(this,t,n);default:if(r)throw new TypeError(\"Unknown encoding: \"+e);e=(e+\"\").toLowerCase(),r=!0}}function y(e,t,n){var r=e[t];e[t]=e[n],e[n]=r}function _(e,t,n,r,i){if(0===e.length)return-1;if(\"string\"==typeof n?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,isNaN(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(!i)return-1;n=0}if(\"string\"==typeof t&&(t=o.from(t,r)),o.isBuffer(t))return 0===t.length?-1:b(e,t,n,r,i);if(\"number\"==typeof t)return t&=255,o.TYPED_ARRAY_SUPPORT&&\"function\"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):b(e,[t],n,r,i);throw new TypeError(\"val must be string, number or Buffer\")}function b(e,t,n,r,i){function o(e,t){return 1===a?e[t]:e.readUInt16BE(t*a)}var a=1,s=e.length,u=t.length;if(void 0!==r&&(\"ucs2\"===(r=String(r).toLowerCase())||\"ucs-2\"===r||\"utf16le\"===r||\"utf-16le\"===r)){if(e.length<2||t.length<2)return-1;a=2,s/=2,u/=2,n/=2}var l;if(i){var c=-1;for(l=n;l<s;l++)if(o(e,l)===o(t,-1===c?0:l-c)){if(-1===c&&(c=l),l-c+1===u)return c*a}else-1!==c&&(l-=l-c),c=-1}else for(n+u>s&&(n=s-u),l=n;l>=0;l--){for(var f=!0,h=0;h<u;h++)if(o(e,l+h)!==o(t,h)){f=!1;break}if(f)return l}return-1}function w(e,t,n,r){n=Number(n)||0;var i=e.length-n;r?(r=Number(r))>i&&(r=i):r=i;var o=t.length;if(o%2!=0)throw new TypeError(\"Invalid hex string\");r>o/2&&(r=o/2);for(var a=0;a<r;++a){var s=parseInt(t.substr(2*a,2),16);if(isNaN(s))return a;e[n+a]=s}return a}function k(e,t,n,r){return K(Y(t,e.length-n),e,n,r)}function x(e,t,n,r){return K(H(t),e,n,r)}function C(e,t,n,r){return x(e,t,n,r)}function E(e,t,n,r){return K(V(t),e,n,r)}function S(e,t,n,r){return K(q(t,e.length-n),e,n,r)}function T(e,t,n){return 0===t&&n===e.length?G.fromByteArray(e):G.fromByteArray(e.slice(t,n))}function A(e,t,n){n=Math.min(e.length,n);for(var r=[],i=t;i<n;){var o=e[i],a=null,s=o>239?4:o>223?3:o>191?2:1;if(i+s<=n){var u,l,c,f;switch(s){case 1:o<128&&(a=o);break;case 2:128==(192&(u=e[i+1]))&&(f=(31&o)<<6|63&u)>127&&(a=f);break;case 3:u=e[i+1],l=e[i+2],128==(192&u)&&128==(192&l)&&(f=(15&o)<<12|(63&u)<<6|63&l)>2047&&(f<55296||f>57343)&&(a=f);break;case 4:u=e[i+1],l=e[i+2],c=e[i+3],128==(192&u)&&128==(192&l)&&128==(192&c)&&(f=(15&o)<<18|(63&u)<<12|(63&l)<<6|63&c)>65535&&f<1114112&&(a=f)}}null===a?(a=65533,s=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|1023&a),r.push(a),i+=s}return O(r)}function O(e){var t=e.length;if(t<=Q)return String.fromCharCode.apply(String,e);for(var n=\"\",r=0;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=Q));return n}function I(e,t,n){var r=\"\";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(127&e[i]);return r}function R(e,t,n){var r=\"\";n=Math.min(e.length,n);for(var i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function B(e,t,n){var r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);for(var i=\"\",o=t;o<n;++o)i+=W(e[o]);return i}function z(e,t,n){for(var r=e.slice(t,n),i=\"\",o=0;o<r.length;o+=2)i+=String.fromCharCode(r[o]+256*r[o+1]);return i}function P(e,t,n){if(e%1!=0||e<0)throw new RangeError(\"offset is not uint\");if(e+t>n)throw new RangeError(\"Trying to access beyond buffer length\")}function L(e,t,n,r,i,a){if(!o.isBuffer(e))throw new TypeError('\"buffer\" argument must be a Buffer instance');if(t>i||t<a)throw new RangeError('\"value\" argument is out of bounds');if(n+r>e.length)throw new RangeError(\"Index out of range\")}function M(e,t,n,r){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-n,2);i<o;++i)e[n+i]=(t&255<<8*(r?i:1-i))>>>8*(r?i:1-i)}function j(e,t,n,r){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-n,4);i<o;++i)e[n+i]=t>>>8*(r?i:3-i)&255}function D(e,t,n,r,i,o){if(n+r>e.length)throw new RangeError(\"Index out of range\");if(n<0)throw new RangeError(\"Index out of range\")}function N(e,t,n,r,i){return i||D(e,t,n,4,3.4028234663852886e38,-3.4028234663852886e38),J.write(e,t,n,r,23,4),n+4}function U(e,t,n,r,i){return i||D(e,t,n,8,1.7976931348623157e308,-1.7976931348623157e308),J.write(e,t,n,r,52,8),n+8}function F(e){if(e=Z(e).replace(ee,\"\"),e.length<2)return\"\";for(;e.length%4!=0;)e+=\"=\";return e}function Z(e){return e.trim?e.trim():e.replace(/^\\s+|\\s+$/g,\"\")}function W(e){return e<16?\"0\"+e.toString(16):e.toString(16)}function Y(e,t){t=t||1/0;for(var n,r=e.length,i=null,o=[],a=0;a<r;++a){if((n=e.charCodeAt(a))>55295&&n<57344){if(!i){if(n>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(a+1===r){(t-=3)>-1&&o.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&o.push(239,191,189),i=n;continue}n=65536+(i-55296<<10|n-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,n<128){if((t-=1)<0)break;o.push(n)}else if(n<2048){if((t-=2)<0)break;o.push(n>>6|192,63&n|128)}else if(n<65536){if((t-=3)<0)break;o.push(n>>12|224,n>>6&63|128,63&n|128)}else{if(!(n<1114112))throw new Error(\"Invalid code point\");if((t-=4)<0)break;o.push(n>>18|240,n>>12&63|128,n>>6&63|128,63&n|128)}}return o}function H(e){for(var t=[],n=0;n<e.length;++n)t.push(255&e.charCodeAt(n));return t}function q(e,t){for(var n,r,i,o=[],a=0;a<e.length&&!((t-=2)<0);++a)n=e.charCodeAt(a),r=n>>8,i=n%256,o.push(i),o.push(r);return o}function V(e){return G.toByteArray(F(e))}function K(e,t,n,r){for(var i=0;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function X(e){return e!==e}/*!\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 */\nvar G=n(54),J=n(55),$=n(24);t.Buffer=o,t.SlowBuffer=m,t.INSPECT_MAX_BYTES=50,o.TYPED_ARRAY_SUPPORT=void 0!==e.TYPED_ARRAY_SUPPORT?e.TYPED_ARRAY_SUPPORT:function(){try{var e=new Uint8Array(1);return e.__proto__={__proto__:Uint8Array.prototype,foo:function(){return 42}},42===e.foo()&&\"function\"==typeof e.subarray&&0===e.subarray(1,1).byteLength}catch(e){return!1}}(),t.kMaxLength=r(),o.poolSize=8192,o._augment=function(e){return e.__proto__=o.prototype,e},o.from=function(e,t,n){return a(null,e,t,n)},o.TYPED_ARRAY_SUPPORT&&(o.prototype.__proto__=Uint8Array.prototype,o.__proto__=Uint8Array,\"undefined\"!=typeof Symbol&&Symbol.species&&o[Symbol.species]===o&&Object.defineProperty(o,Symbol.species,{value:null,configurable:!0})),o.alloc=function(e,t,n){return u(null,e,t,n)},o.allocUnsafe=function(e){return l(null,e)},o.allocUnsafeSlow=function(e){return l(null,e)},o.isBuffer=function(e){return!(null==e||!e._isBuffer)},o.compare=function(e,t){if(!o.isBuffer(e)||!o.isBuffer(t))throw new TypeError(\"Arguments must be Buffers\");if(e===t)return 0;for(var n=e.length,r=t.length,i=0,a=Math.min(n,r);i<a;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:r<n?1:0},o.isEncoding=function(e){switch(String(e).toLowerCase()){case\"hex\":case\"utf8\":case\"utf-8\":case\"ascii\":case\"latin1\":case\"binary\":case\"base64\":case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return!0;default:return!1}},o.concat=function(e,t){if(!$(e))throw new TypeError('\"list\" argument must be an Array of Buffers');if(0===e.length)return o.alloc(0);var n;if(void 0===t)for(t=0,n=0;n<e.length;++n)t+=e[n].length;var r=o.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){var a=e[n];if(!o.isBuffer(a))throw new TypeError('\"list\" argument must be an Array of Buffers');a.copy(r,i),i+=a.length}return r},o.byteLength=g,o.prototype._isBuffer=!0,o.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError(\"Buffer size must be a multiple of 16-bits\");for(var t=0;t<e;t+=2)y(this,t,t+1);return this},o.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError(\"Buffer size must be a multiple of 32-bits\");for(var t=0;t<e;t+=4)y(this,t,t+3),y(this,t+1,t+2);return this},o.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError(\"Buffer size must be a multiple of 64-bits\");for(var t=0;t<e;t+=8)y(this,t,t+7),y(this,t+1,t+6),y(this,t+2,t+5),y(this,t+3,t+4);return this},o.prototype.toString=function(){var e=0|this.length;return 0===e?\"\":0===arguments.length?A(this,0,e):v.apply(this,arguments)},o.prototype.equals=function(e){if(!o.isBuffer(e))throw new TypeError(\"Argument must be a Buffer\");return this===e||0===o.compare(this,e)},o.prototype.inspect=function(){var e=\"\",n=t.INSPECT_MAX_BYTES;return this.length>0&&(e=this.toString(\"hex\",0,n).match(/.{2}/g).join(\" \"),this.length>n&&(e+=\" ... \")),\"<Buffer \"+e+\">\"},o.prototype.compare=function(e,t,n,r,i){if(!o.isBuffer(e))throw new TypeError(\"Argument must be a Buffer\");if(void 0===t&&(t=0),void 0===n&&(n=e?e.length:0),void 0===r&&(r=0),void 0===i&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw new RangeError(\"out of range index\");if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;for(var a=i-r,s=n-t,u=Math.min(a,s),l=this.slice(r,i),c=e.slice(t,n),f=0;f<u;++f)if(l[f]!==c[f]){a=l[f],s=c[f];break}return a<s?-1:s<a?1:0},o.prototype.includes=function(e,t,n){return-1!==this.indexOf(e,t,n)},o.prototype.indexOf=function(e,t,n){return _(this,e,t,n,!0)},o.prototype.lastIndexOf=function(e,t,n){return _(this,e,t,n,!1)},o.prototype.write=function(e,t,n,r){if(void 0===t)r=\"utf8\",n=this.length,t=0;else if(void 0===n&&\"string\"==typeof t)r=t,n=this.length,t=0;else{if(!isFinite(t))throw new Error(\"Buffer.write(string, encoding, offset[, length]) is no longer supported\");t|=0,isFinite(n)?(n|=0,void 0===r&&(r=\"utf8\")):(r=n,n=void 0)}var i=this.length-t;if((void 0===n||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw new RangeError(\"Attempt to write outside buffer bounds\");r||(r=\"utf8\");for(var o=!1;;)switch(r){case\"hex\":return w(this,e,t,n);case\"utf8\":case\"utf-8\":return k(this,e,t,n);case\"ascii\":return x(this,e,t,n);case\"latin1\":case\"binary\":return C(this,e,t,n);case\"base64\":return E(this,e,t,n);case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return S(this,e,t,n);default:if(o)throw new TypeError(\"Unknown encoding: \"+r);r=(\"\"+r).toLowerCase(),o=!0}},o.prototype.toJSON=function(){return{type:\"Buffer\",data:Array.prototype.slice.call(this._arr||this,0)}};var Q=4096;o.prototype.slice=function(e,t){var n=this.length;e=~~e,t=void 0===t?n:~~t,e<0?(e+=n)<0&&(e=0):e>n&&(e=n),t<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e);var r;if(o.TYPED_ARRAY_SUPPORT)r=this.subarray(e,t),r.__proto__=o.prototype;else{var i=t-e;r=new o(i,void 0);for(var a=0;a<i;++a)r[a]=this[a+e]}return r},o.prototype.readUIntLE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return r},o.prototype.readUIntBE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=this[e+--t],i=1;t>0&&(i*=256);)r+=this[e+--t]*i;return r},o.prototype.readUInt8=function(e,t){return t||P(e,1,this.length),this[e]},o.prototype.readUInt16LE=function(e,t){return t||P(e,2,this.length),this[e]|this[e+1]<<8},o.prototype.readUInt16BE=function(e,t){return t||P(e,2,this.length),this[e]<<8|this[e+1]},o.prototype.readUInt32LE=function(e,t){return t||P(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},o.prototype.readUInt32BE=function(e,t){return t||P(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},o.prototype.readIntLE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=this[e],i=1,o=0;++o<t&&(i*=256);)r+=this[e+o]*i;return i*=128,r>=i&&(r-=Math.pow(2,8*t)),r},o.prototype.readIntBE=function(e,t,n){e|=0,t|=0,n||P(e,t,this.length);for(var r=t,i=1,o=this[e+--r];r>0&&(i*=256);)o+=this[e+--r]*i;return i*=128,o>=i&&(o-=Math.pow(2,8*t)),o},o.prototype.readInt8=function(e,t){return t||P(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},o.prototype.readInt16LE=function(e,t){t||P(e,2,this.length);var n=this[e]|this[e+1]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt16BE=function(e,t){t||P(e,2,this.length);var n=this[e+1]|this[e]<<8;return 32768&n?4294901760|n:n},o.prototype.readInt32LE=function(e,t){return t||P(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},o.prototype.readInt32BE=function(e,t){return t||P(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},o.prototype.readFloatLE=function(e,t){return t||P(e,4,this.length),J.read(this,e,!0,23,4)},o.prototype.readFloatBE=function(e,t){return t||P(e,4,this.length),J.read(this,e,!1,23,4)},o.prototype.readDoubleLE=function(e,t){return t||P(e,8,this.length),J.read(this,e,!0,52,8)},o.prototype.readDoubleBE=function(e,t){return t||P(e,8,this.length),J.read(this,e,!1,52,8)},o.prototype.writeUIntLE=function(e,t,n,r){e=+e,t|=0,n|=0,r||L(this,e,t,n,Math.pow(2,8*n)-1,0);var i=1,o=0;for(this[t]=255&e;++o<n&&(i*=256);)this[t+o]=e/i&255;return t+n},o.prototype.writeUIntBE=function(e,t,n,r){e=+e,t|=0,n|=0,r||L(this,e,t,n,Math.pow(2,8*n)-1,0);var i=n-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+n},o.prototype.writeUInt8=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,1,255,0),o.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},o.prototype.writeUInt16LE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):M(this,e,t,!0),t+2},o.prototype.writeUInt16BE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,2,65535,0),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):M(this,e,t,!1),t+2},o.prototype.writeUInt32LE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):j(this,e,t,!0),t+4},o.prototype.writeUInt32BE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,4,4294967295,0),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):j(this,e,t,!1),t+4},o.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);L(this,e,t,n,i-1,-i)}var o=0,a=1,s=0;for(this[t]=255&e;++o<n&&(a*=256);)e<0&&0===s&&0!==this[t+o-1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},o.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t|=0,!r){var i=Math.pow(2,8*n-1);L(this,e,t,n,i-1,-i)}var o=n-1,a=1,s=0;for(this[t+o]=255&e;--o>=0&&(a*=256);)e<0&&0===s&&0!==this[t+o+1]&&(s=1),this[t+o]=(e/a>>0)-s&255;return t+n},o.prototype.writeInt8=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,1,127,-128),o.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},o.prototype.writeInt16LE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):M(this,e,t,!0),t+2},o.prototype.writeInt16BE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,2,32767,-32768),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):M(this,e,t,!1),t+2},o.prototype.writeInt32LE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,4,2147483647,-2147483648),o.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):j(this,e,t,!0),t+4},o.prototype.writeInt32BE=function(e,t,n){return e=+e,t|=0,n||L(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),o.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):j(this,e,t,!1),t+4},o.prototype.writeFloatLE=function(e,t,n){return N(this,e,t,!0,n)},o.prototype.writeFloatBE=function(e,t,n){return N(this,e,t,!1,n)},o.prototype.writeDoubleLE=function(e,t,n){return U(this,e,t,!0,n)},o.prototype.writeDoubleBE=function(e,t,n){return U(this,e,t,!1,n)},o.prototype.copy=function(e,t,n,r){if(n||(n=0),r||0===r||(r=this.length),t>=e.length&&(t=e.length),t||(t=0),r>0&&r<n&&(r=n),r===n)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError(\"targetStart out of bounds\");if(n<0||n>=this.length)throw new RangeError(\"sourceStart out of bounds\");if(r<0)throw new RangeError(\"sourceEnd out of bounds\");r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);var i,a=r-n;if(this===e&&n<t&&t<r)for(i=a-1;i>=0;--i)e[i+t]=this[i+n];else if(a<1e3||!o.TYPED_ARRAY_SUPPORT)for(i=0;i<a;++i)e[i+t]=this[i+n];else Uint8Array.prototype.set.call(e,this.subarray(n,n+a),t);return a},o.prototype.fill=function(e,t,n,r){if(\"string\"==typeof e){if(\"string\"==typeof t?(r=t,t=0,n=this.length):\"string\"==typeof n&&(r=n,n=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==r&&\"string\"!=typeof r)throw new TypeError(\"encoding must be a string\");if(\"string\"==typeof r&&!o.isEncoding(r))throw new TypeError(\"Unknown encoding: \"+r)}else\"number\"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<n)throw new RangeError(\"Out of range index\");if(n<=t)return this;t>>>=0,n=void 0===n?this.length:n>>>0,e||(e=0);var a;if(\"number\"==typeof e)for(a=t;a<n;++a)this[a]=e;else{var s=o.isBuffer(e)?e:Y(new o(e,r).toString()),u=s.length;for(a=0;a<n-t;++a)this[a+t]=s[a%u]}return this};var ee=/[^+\\/0-9A-Za-z-_]/g}).call(t,n(10))},function(e,t,n){\"use strict\";(function(e){if(t.base64=!0,t.array=!0,t.string=!0,t.arraybuffer=\"undefined\"!=typeof ArrayBuffer&&\"undefined\"!=typeof Uint8Array,t.nodebuffer=void 0!==e,t.uint8array=\"undefined\"!=typeof Uint8Array,\"undefined\"==typeof ArrayBuffer)t.blob=!1;else{var r=new ArrayBuffer(0);try{t.blob=0===new Blob([r],{type:\"application/zip\"}).size}catch(e){try{var i=self.BlobBuilder||self.WebKitBlobBuilder||self.MozBlobBuilder||self.MSBlobBuilder,o=new i;o.append(r),t.blob=0===o.getBlob(\"application/zip\").size}catch(e){t.blob=!1}}}try{t.nodestream=!!n(25).Readable}catch(e){t.nodestream=!1}}).call(t,n(2).Buffer)},function(e,t,n){\"use strict\";function r(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var i=\"undefined\"!=typeof Uint8Array&&\"undefined\"!=typeof Uint16Array&&\"undefined\"!=typeof Int32Array;t.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var n=t.shift();if(n){if(\"object\"!=typeof n)throw new TypeError(n+\"must be non-object\");for(var i in n)r(n,i)&&(e[i]=n[i])}}return e},t.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var o={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray)return void e.set(t.subarray(n,n+r),i);for(var o=0;o<r;o++)e[i+o]=t[n+o]},flattenChunks:function(e){var t,n,r,i,o,a;for(r=0,t=0,n=e.length;t<n;t++)r+=e[t].length;for(a=new Uint8Array(r),i=0,t=0,n=e.length;t<n;t++)o=e[t],a.set(o,i),i+=o.length;return a}},a={arraySet:function(e,t,n,r,i){for(var o=0;o<r;o++)e[i+o]=t[n+o]},flattenChunks:function(e){return[].concat.apply([],e)}};t.setTyped=function(e){e?(t.Buf8=Uint8Array,t.Buf16=Uint16Array,t.Buf32=Int32Array,t.assign(t,o)):(t.Buf8=Array,t.Buf16=Array,t.Buf32=Array,t.assign(t,a))},t.setTyped(i)},function(e,t,n){\"use strict\";function r(e){if(!(this instanceof r))return new r(e);l.call(this,e),c.call(this,e),e&&!1===e.readable&&(this.readable=!1),e&&!1===e.writable&&(this.writable=!1),this.allowHalfOpen=!0,e&&!1===e.allowHalfOpen&&(this.allowHalfOpen=!1),this.once(\"end\",i)}function i(){this.allowHalfOpen||this._writableState.ended||s(o,this)}function o(e){e.end()}var a=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};e.exports=r;var s=n(16),u=n(8);u.inherits=n(7);var l=n(26),c=n(17);u.inherits(r,l);for(var f=a(c.prototype),h=0;h<f.length;h++){var d=f[h];r.prototype[d]||(r.prototype[d]=c.prototype[d])}},function(e,t,n){\"use strict\";function r(){u.call(this,\"utf-8 decode\"),this.leftOver=null}function i(){u.call(this,\"utf-8 encode\")}for(var o=n(0),a=n(3),s=n(14),u=n(1),l=new Array(256),c=0;c<256;c++)l[c]=c>=252?6:c>=248?5:c>=240?4:c>=224?3:c>=192?2:1;l[254]=l[254]=1;var f=function(e){var t,n,r,i,o,s=e.length,u=0;for(i=0;i<s;i++)n=e.charCodeAt(i),55296==(64512&n)&&i+1<s&&56320==(64512&(r=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),u+=n<128?1:n<2048?2:n<65536?3:4;for(t=a.uint8array?new Uint8Array(u):new Array(u),o=0,i=0;o<u;i++)n=e.charCodeAt(i),55296==(64512&n)&&i+1<s&&56320==(64512&(r=e.charCodeAt(i+1)))&&(n=65536+(n-55296<<10)+(r-56320),i++),n<128?t[o++]=n:n<2048?(t[o++]=192|n>>>6,t[o++]=128|63&n):n<65536?(t[o++]=224|n>>>12,t[o++]=128|n>>>6&63,t[o++]=128|63&n):(t[o++]=240|n>>>18,t[o++]=128|n>>>12&63,t[o++]=128|n>>>6&63,t[o++]=128|63&n);return t},h=function(e,t){var n;for(t=t||e.length,t>e.length&&(t=e.length),n=t-1;n>=0&&128==(192&e[n]);)n--;return n<0?t:0===n?t:n+l[e[n]]>t?n:t},d=function(e){var t,n,r,i,a=e.length,s=new Array(2*a);for(n=0,t=0;t<a;)if((r=e[t++])<128)s[n++]=r;else if((i=l[r])>4)s[n++]=65533,t+=i-1;else{for(r&=2===i?31:3===i?15:7;i>1&&t<a;)r=r<<6|63&e[t++],i--;i>1?s[n++]=65533:r<65536?s[n++]=r:(r-=65536,s[n++]=55296|r>>10&1023,s[n++]=56320|1023&r)}return s.length!==n&&(s.subarray?s=s.subarray(0,n):s.length=n),o.applyFromCharCode(s)};t.utf8encode=function(e){return a.nodebuffer?s.newBufferFrom(e,\"utf-8\"):f(e)},t.utf8decode=function(e){return a.nodebuffer?o.transformTo(\"nodebuffer\",e).toString(\"utf-8\"):(e=o.transformTo(a.uint8array?\"uint8array\":\"array\",e),d(e))},o.inherits(r,u),r.prototype.processChunk=function(e){var n=o.transformTo(a.uint8array?\"uint8array\":\"array\",e.data);if(this.leftOver&&this.leftOver.length){if(a.uint8array){var r=n;n=new Uint8Array(r.length+this.leftOver.length),n.set(this.leftOver,0),n.set(r,this.leftOver.length)}else n=this.leftOver.concat(n);this.leftOver=null}var i=h(n),s=n;i!==n.length&&(a.uint8array?(s=n.subarray(0,i),this.leftOver=n.subarray(i,n.length)):(s=n.slice(0,i),this.leftOver=n.slice(i,n.length))),this.push({data:t.utf8decode(s),meta:e.meta})},r.prototype.flush=function(){this.leftOver&&this.leftOver.length&&(this.push({data:t.utf8decode(this.leftOver),meta:{}}),this.leftOver=null)},t.Utf8DecodeWorker=r,o.inherits(i,u),i.prototype.processChunk=function(e){this.push({data:t.utf8encode(e.data),meta:e.meta})},t.Utf8EncodeWorker=i},function(e,t){\"function\"==typeof Object.create?e.exports=function(e,t){e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}})}:e.exports=function(e,t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}},function(e,t,n){(function(e){function n(e){return Array.isArray?Array.isArray(e):\"[object Array]\"===g(e)}function r(e){return\"boolean\"==typeof e}function i(e){return null===e}function o(e){return null==e}function a(e){return\"number\"==typeof e}function s(e){return\"string\"==typeof e}function u(e){return\"symbol\"==typeof e}function l(e){return void 0===e}function c(e){return\"[object RegExp]\"===g(e)}function f(e){return\"object\"==typeof e&&null!==e}function h(e){return\"[object Date]\"===g(e)}function d(e){return\"[object Error]\"===g(e)||e instanceof Error}function p(e){return\"function\"==typeof e}function m(e){return null===e||\"boolean\"==typeof e||\"number\"==typeof e||\"string\"==typeof e||\"symbol\"==typeof e||void 0===e}function g(e){return Object.prototype.toString.call(e)}t.isArray=n,t.isBoolean=r,t.isNull=i,t.isNullOrUndefined=o,t.isNumber=a,t.isString=s,t.isSymbol=u,t.isUndefined=l,t.isRegExp=c,t.isObject=f,t.isDate=h,t.isError=d,t.isFunction=p,t.isPrimitive=m,t.isBuffer=e.isBuffer}).call(t,n(2).Buffer)},function(e,t,n){\"use strict\";var r=null;r=\"undefined\"!=typeof Promise?Promise:n(80),e.exports={Promise:r}},function(e,t){var n;n=function(){return this}();try{n=n||Function(\"return this\")()||(0,eval)(\"this\")}catch(e){\"object\"==typeof window&&(n=window)}e.exports=n},function(e,t,n){function r(){i.call(this)}e.exports=r;var i=n(12).EventEmitter;n(7)(r,i),r.Readable=n(56),r.Writable=n(62),r.Duplex=n(63),r.Transform=n(64),r.PassThrough=n(65),r.Stream=r,r.prototype.pipe=function(e,t){function n(t){e.writable&&!1===e.write(t)&&l.pause&&l.pause()}function r(){l.readable&&l.resume&&l.resume()}function o(){c||(c=!0,e.end())}function a(){c||(c=!0,\"function\"==typeof e.destroy&&e.destroy())}function s(e){if(u(),0===i.listenerCount(this,\"error\"))throw e}function u(){l.removeListener(\"data\",n),e.removeListener(\"drain\",r),l.removeListener(\"end\",o),l.removeListener(\"close\",a),l.removeListener(\"error\",s),e.removeListener(\"error\",s),l.removeListener(\"end\",u),l.removeListener(\"close\",u),e.removeListener(\"close\",u)}var l=this;l.on(\"data\",n),e.on(\"drain\",r),e._isStdio||t&&!1===t.end||(l.on(\"end\",o),l.on(\"close\",a));var c=!1;return l.on(\"error\",s),e.on(\"error\",s),l.on(\"end\",u),l.on(\"close\",u),e.on(\"close\",u),e.emit(\"pipe\",l),e}},function(e,t){function n(){this._events=this._events||{},this._maxListeners=this._maxListeners||void 0}function r(e){return\"function\"==typeof e}function i(e){return\"number\"==typeof e}function o(e){return\"object\"==typeof e&&null!==e}function a(e){return void 0===e}e.exports=n,n.EventEmitter=n,n.prototype._events=void 0,n.prototype._maxListeners=void 0,n.defaultMaxListeners=10,n.prototype.setMaxListeners=function(e){if(!i(e)||e<0||isNaN(e))throw TypeError(\"n must be a positive number\");return this._maxListeners=e,this},n.prototype.emit=function(e){var t,n,i,s,u,l;if(this._events||(this._events={}),\"error\"===e&&(!this._events.error||o(this._events.error)&&!this._events.error.length)){if((t=arguments[1])instanceof Error)throw t;var c=new Error('Uncaught, unspecified \"error\" event. ('+t+\")\");throw c.context=t,c}if(n=this._events[e],a(n))return!1;if(r(n))switch(arguments.length){case 1:n.call(this);break;case 2:n.call(this,arguments[1]);break;case 3:n.call(this,arguments[1],arguments[2]);break;default:s=Array.prototype.slice.call(arguments,1),n.apply(this,s)}else if(o(n))for(s=Array.prototype.slice.call(arguments,1),l=n.slice(),i=l.length,u=0;u<i;u++)l[u].apply(this,s);return!0},n.prototype.addListener=function(e,t){var i;if(!r(t))throw TypeError(\"listener must be a function\");return this._events||(this._events={}),this._events.newListener&&this.emit(\"newListener\",e,r(t.listener)?t.listener:t),this._events[e]?o(this._events[e])?this._events[e].push(t):this._events[e]=[this._events[e],t]:this._events[e]=t,o(this._events[e])&&!this._events[e].warned&&(i=a(this._maxListeners)?n.defaultMaxListeners:this._maxListeners)&&i>0&&this._events[e].length>i&&(this._events[e].warned=!0,console.error(\"(node) warning: possible EventEmitter memory leak detected. %d listeners added. Use emitter.setMaxListeners() to increase limit.\",this._events[e].length),\"function\"==typeof console.trace&&console.trace()),this},n.prototype.on=n.prototype.addListener,n.prototype.once=function(e,t){function n(){this.removeListener(e,n),i||(i=!0,t.apply(this,arguments))}if(!r(t))throw TypeError(\"listener must be a function\");var i=!1;return n.listener=t,this.on(e,n),this},n.prototype.removeListener=function(e,t){var n,i,a,s;if(!r(t))throw TypeError(\"listener must be a function\");if(!this._events||!this._events[e])return this;if(n=this._events[e],a=n.length,i=-1,n===t||r(n.listener)&&n.listener===t)delete this._events[e],this._events.removeListener&&this.emit(\"removeListener\",e,t);else if(o(n)){for(s=a;s-- >0;)if(n[s]===t||n[s].listener&&n[s].listener===t){i=s;break}if(i<0)return this;1===n.length?(n.length=0,delete this._events[e]):n.splice(i,1),this._events.removeListener&&this.emit(\"removeListener\",e,t)}return this},n.prototype.removeAllListeners=function(e){var t,n;if(!this._events)return this;if(!this._events.removeListener)return 0===arguments.length?this._events={}:this._events[e]&&delete this._events[e],this;if(0===arguments.length){for(t in this._events)\"removeListener\"!==t&&this.removeAllListeners(t);return this.removeAllListeners(\"removeListener\"),this._events={},this}if(n=this._events[e],r(n))this.removeListener(e,n);else if(n)for(;n.length;)this.removeListener(e,n[n.length-1]);return delete this._events[e],this},n.prototype.listeners=function(e){return this._events&&this._events[e]?r(this._events[e])?[this._events[e]]:this._events[e].slice():[]},n.prototype.listenerCount=function(e){if(this._events){var t=this._events[e];if(r(t))return 1;if(t)return t.length}return 0},n.listenerCount=function(e,t){return e.listenerCount(t)}},function(e,t){function n(){throw new Error(\"setTimeout has not been defined\")}function r(){throw new Error(\"clearTimeout has not been defined\")}function i(e){if(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function o(e){if(f===clearTimeout)return clearTimeout(e);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function a(){m&&d&&(m=!1,d.length?p=d.concat(p):g=-1,p.length&&s())}function s(){if(!m){var e=i(a);m=!0;for(var t=p.length;t;){for(d=p,p=[];++g<t;)d&&d[g].run();g=-1,t=p.length}d=null,m=!1,o(e)}}function u(e,t){this.fun=e,this.array=t}function l(){}var c,f,h=e.exports={};!function(){try{c=\"function\"==typeof setTimeout?setTimeout:n}catch(e){c=n}try{f=\"function\"==typeof clearTimeout?clearTimeout:r}catch(e){f=r}}();var d,p=[],m=!1,g=-1;h.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];p.push(new u(e,t)),1!==p.length||m||i(s)},u.prototype.run=function(){this.fun.apply(null,this.array)},h.title=\"browser\",h.browser=!0,h.env={},h.argv=[],h.version=\"\",h.versions={},h.on=l,h.addListener=l,h.once=l,h.off=l,h.removeListener=l,h.removeAllListeners=l,h.emit=l,h.prependListener=l,h.prependOnceListener=l,h.listeners=function(e){return[]},h.binding=function(e){throw new Error(\"process.binding is not supported\")},h.cwd=function(){return\"/\"},h.chdir=function(e){throw new Error(\"process.chdir is not supported\")},h.umask=function(){return 0}},function(e,t,n){\"use strict\";(function(t){e.exports={isNode:void 0!==t,newBufferFrom:function(e,n){return new t(e,n)},allocBuffer:function(e){return t.alloc?t.alloc(e):new t(e)},isBuffer:function(e){return t.isBuffer(e)},isStream:function(e){return e&&\"function\"==typeof e.on&&\"function\"==typeof e.pause&&\"function\"==typeof e.resume}}}).call(t,n(2).Buffer)},function(e,t){var n=e.exports=\"undefined\"!=typeof window&&window.Math==Math?window:\"undefined\"!=typeof self&&self.Math==Math?self:Function(\"return this\")();\"number\"==typeof __g&&(__g=n)},function(e,t,n){\"use strict\";(function(t){function n(e,n,r,i){if(\"function\"!=typeof e)throw new TypeError('\"callback\" argument must be a function');var o,a,s=arguments.length;switch(s){case 0:case 1:return t.nextTick(e);case 2:return t.nextTick(function(){e.call(null,n)});case 3:return t.nextTick(function(){e.call(null,n,r)});case 4:return t.nextTick(function(){e.call(null,n,r,i)});default:for(o=new Array(s-1),a=0;a<o.length;)o[a++]=arguments[a];return t.nextTick(function(){e.apply(null,o)})}}!t.version||0===t.version.indexOf(\"v0.\")||0===t.version.indexOf(\"v1.\")&&0!==t.version.indexOf(\"v1.8.\")?e.exports=n:e.exports=t.nextTick}).call(t,n(13))},function(e,t,n){\"use strict\";(function(t,r){function i(){}function o(e,t,n){this.chunk=e,this.encoding=t,this.callback=n,this.next=null}function a(e,t){I=I||n(5),e=e||{},this.objectMode=!!e.objectMode,t instanceof I&&(this.objectMode=this.objectMode||!!e.writableObjectMode);var r=e.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:i,this.highWaterMark=~~this.highWaterMark,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1;var o=!1===e.decodeStrings;this.decodeStrings=!o,this.defaultEncoding=e.defaultEncoding||\"utf8\",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){m(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new x(this),this.corkedRequestsFree.next=new x(this)}function s(e){if(I=I||n(5),!(this instanceof s||this instanceof I))return new s(e);this._writableState=new a(e,this),this.writable=!0,e&&(\"function\"==typeof e.write&&(this._write=e.write),\"function\"==typeof e.writev&&(this._writev=e.writev)),A.call(this)}function u(e,t){var n=new Error(\"write after end\");e.emit(\"error\",n),C(t,n)}function l(e,t,n,r){var i=!0;if(!S.isBuffer(n)&&\"string\"!=typeof n&&null!==n&&void 0!==n&&!t.objectMode){var o=new TypeError(\"Invalid non-string/buffer chunk\");e.emit(\"error\",o),C(r,o),i=!1}return i}function c(e,t,n){return e.objectMode||!1===e.decodeStrings||\"string\"!=typeof t||(t=new S(t,n)),t}function f(e,t,n,r,i){n=c(t,n,r),S.isBuffer(n)&&(r=\"buffer\");var a=t.objectMode?1:n.length;t.length+=a;var s=t.length<t.highWaterMark;if(s||(t.needDrain=!0),t.writing||t.corked){var u=t.lastBufferedRequest;t.lastBufferedRequest=new o(n,r,i),u?u.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else h(e,t,!1,a,n,r,i);return s}function h(e,t,n,r,i,o,a){t.writelen=r,t.writecb=a,t.writing=!0,t.sync=!0,n?e._writev(i,t.onwrite):e._write(i,o,t.onwrite),t.sync=!1}function d(e,t,n,r,i){--t.pendingcb,n?C(i,r):i(r),e._writableState.errorEmitted=!0,e.emit(\"error\",r)}function p(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function m(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(p(n),t)d(e,n,r,t,i);else{var o=_(n);o||n.corked||n.bufferProcessing||!n.bufferedRequest||y(e,n),r?E(g,e,n,o,i):g(e,n,o,i)}}function g(e,t,n,r){n||v(e,t),t.pendingcb--,r(),w(e,t)}function v(e,t){0===t.length&&t.needDrain&&(t.needDrain=!1,e.emit(\"drain\"))}function y(e,t){t.bufferProcessing=!0;var n=t.bufferedRequest;if(e._writev&&n&&n.next){var r=t.bufferedRequestCount,i=new Array(r),o=t.corkedRequestsFree;o.entry=n;for(var a=0;n;)i[a]=n,n=n.next,a+=1;h(e,t,!0,t.length,i,\"\",o.finish),t.pendingcb++,t.lastBufferedRequest=null,t.corkedRequestsFree=o.next,o.next=null}else{for(;n;){var s=n.chunk,u=n.encoding,l=n.callback;if(h(e,t,!1,t.objectMode?1:s.length,s,u,l),n=n.next,t.writing)break}null===n&&(t.lastBufferedRequest=null)}t.bufferedRequestCount=0,t.bufferedRequest=n,t.bufferProcessing=!1}function _(e){return e.ending&&0===e.length&&null===e.bufferedRequest&&!e.finished&&!e.writing}function b(e,t){t.prefinished||(t.prefinished=!0,e.emit(\"prefinish\"))}function w(e,t){var n=_(t);return n&&(0===t.pendingcb?(b(e,t),t.finished=!0,e.emit(\"finish\")):b(e,t)),n}function k(e,t,n){t.ending=!0,w(e,t),n&&(t.finished?C(n):e.once(\"finish\",n)),t.ended=!0,e.writable=!1}function x(e){var t=this;this.next=null,this.entry=null,this.finish=function(n){var r=t.entry;for(t.entry=null;r;){var i=r.callback;e.pendingcb--,i(n),r=r.next}e.corkedRequestsFree?e.corkedRequestsFree.next=t:e.corkedRequestsFree=t}}e.exports=s;var C=n(16),E=!t.browser&&[\"v0.10\",\"v0.9.\"].indexOf(t.version.slice(0,5))>-1?r:C,S=n(2).Buffer;s.WritableState=a;var T=n(8);T.inherits=n(7);var A,O={deprecate:n(60)};!function(){try{A=n(11)}catch(e){}finally{A||(A=n(12).EventEmitter)}}();var S=n(2).Buffer;T.inherits(s,A);var I;a.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},function(){try{Object.defineProperty(a.prototype,\"buffer\",{get:O.deprecate(function(){return this.getBuffer()},\"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.\")})}catch(e){}}();var I;s.prototype.pipe=function(){this.emit(\"error\",new Error(\"Cannot pipe. Not readable.\"))},s.prototype.write=function(e,t,n){var r=this._writableState,o=!1;return\"function\"==typeof t&&(n=t,t=null),S.isBuffer(e)?t=\"buffer\":t||(t=r.defaultEncoding),\"function\"!=typeof n&&(n=i),r.ended?u(this,n):l(this,r,e,n)&&(r.pendingcb++,o=f(this,r,e,t,n)),o},s.prototype.cork=function(){this._writableState.corked++},s.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,e.writing||e.corked||e.finished||e.bufferProcessing||!e.bufferedRequest||y(this,e))},s.prototype.setDefaultEncoding=function(e){if(\"string\"==typeof e&&(e=e.toLowerCase()),!([\"hex\",\"utf8\",\"utf-8\",\"ascii\",\"binary\",\"base64\",\"ucs2\",\"ucs-2\",\"utf16le\",\"utf-16le\",\"raw\"].indexOf((e+\"\").toLowerCase())>-1))throw new TypeError(\"Unknown encoding: \"+e);this._writableState.defaultEncoding=e},s.prototype._write=function(e,t,n){n(new Error(\"not implemented\"))},s.prototype._writev=null,s.prototype.end=function(e,t,n){var r=this._writableState;\"function\"==typeof e?(n=e,e=null,t=null):\"function\"==typeof t&&(n=t,t=null),null!==e&&void 0!==e&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||r.finished||k(this,r,n)}}).call(t,n(13),n(58).setImmediate)},function(e,t,n){\"use strict\";function r(e){this.afterTransform=function(t,n){return i(e,t,n)},this.needTransform=!1,this.transforming=!1,this.writecb=null,this.writechunk=null,this.writeencoding=null}function i(e,t,n){var r=e._transformState;r.transforming=!1;var i=r.writecb;if(!i)return e.emit(\"error\",new Error(\"no writecb in Transform class\"));r.writechunk=null,r.writecb=null,null!==n&&void 0!==n&&e.push(n),i(t);var o=e._readableState;o.reading=!1,(o.needReadable||o.length<o.highWaterMark)&&e._read(o.highWaterMark)}function o(e){if(!(this instanceof o))return new o(e);s.call(this,e),this._transformState=new r(this);var t=this;this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(\"function\"==typeof e.transform&&(this._transform=e.transform),\"function\"==typeof e.flush&&(this._flush=e.flush)),this.once(\"prefinish\",function(){\"function\"==typeof this._flush?this._flush(function(e){a(t,e)}):a(t)})}function a(e,t){if(t)return e.emit(\"error\",t);var n=e._writableState,r=e._transformState;if(n.length)throw new Error(\"calling transform done when ws.length != 0\");if(r.transforming)throw new Error(\"calling transform done when still transforming\");return e.push(null)}e.exports=o;var s=n(5),u=n(8);u.inherits=n(7),u.inherits(o,s),o.prototype.push=function(e,t){return this._transformState.needTransform=!1,s.prototype.push.call(this,e,t)},o.prototype._transform=function(e,t,n){throw new Error(\"not implemented\")},o.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},o.prototype._read=function(e){var t=this._transformState;null!==t.writechunk&&t.writecb&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0}},function(e,t){e.exports=function(e){return\"object\"==typeof e?null!==e:\"function\"==typeof e}},function(e,t,n){e.exports=!n(32)(function(){return 7!=Object.defineProperty({},\"a\",{get:function(){return 7}}).a})},function(e,t,n){\"use strict\";function r(e,t,n,r,i){this.compressedSize=e,this.uncompressedSize=t,this.crc32=n,this.compression=r,this.compressedContent=i}var i=n(9),o=n(36),a=n(37),s=n(38),a=n(37);r.prototype={getContentWorker:function(){var e=new o(i.Promise.resolve(this.compressedContent)).pipe(this.compression.uncompressWorker()).pipe(new a(\"data_length\")),t=this;return e.on(\"end\",function(){if(this.streamInfo.data_length!==t.uncompressedSize)throw new Error(\"Bug : uncompressed data size mismatch\")}),e},getCompressedWorker:function(){return new o(i.Promise.resolve(this.compressedContent)).withStreamInfo(\"compressedSize\",this.compressedSize).withStreamInfo(\"uncompressedSize\",this.uncompressedSize).withStreamInfo(\"crc32\",this.crc32).withStreamInfo(\"compression\",this.compression)}},r.createWorkerFrom=function(e,t,n){return e.pipe(new s).pipe(new a(\"uncompressedSize\")).pipe(t.compressWorker(n)).pipe(new a(\"compressedSize\")).withStreamInfo(\"compression\",t)},e.exports=r},function(e,t,n){\"use strict\";function r(e,t,n,r){var i=a,o=r+n;e^=-1;for(var s=r;s<o;s++)e=e>>>8^i[255&(e^t[s])];return-1^e}function i(e,t,n,r){var i=a,o=r+n;e^=-1;for(var s=r;s<o;s++)e=e>>>8^i[255&(e^t.charCodeAt(s))];return-1^e}var o=n(0),a=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();e.exports=function(e,t){return void 0!==e&&e.length?\"string\"!==o.getTypeOf(e)?r(0|t,e,e.length,0):i(0|t,e,e.length,0):0}},function(e,t,n){\"use strict\";e.exports={2:\"need dictionary\",1:\"stream end\",0:\"\",\"-1\":\"file error\",\"-2\":\"stream error\",\"-3\":\"data error\",\"-4\":\"insufficient memory\",\"-5\":\"buffer error\",\"-6\":\"incompatible version\"}},function(e,t){var n={}.toString;e.exports=Array.isArray||function(e){return\"[object Array]\"==n.call(e)}},function(e,t,n){e.exports=n(11)},function(e,t,n){\"use strict\";(function(t){function r(e,t){P=P||n(5),e=e||{},this.objectMode=!!e.objectMode,t instanceof P&&(this.objectMode=this.objectMode||!!e.readableObjectMode);var r=e.highWaterMark,i=this.objectMode?16:16384;this.highWaterMark=r||0===r?r:i,this.highWaterMark=~~this.highWaterMark,this.buffer=[],this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.defaultEncoding=e.defaultEncoding||\"utf8\",this.ranOut=!1,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(z||(z=n(27).StringDecoder),this.decoder=new z(e.encoding),this.encoding=e.encoding)}function i(e){if(P=P||n(5),!(this instanceof i))return new i(e);this._readableState=new r(e,this),this.readable=!0,e&&\"function\"==typeof e.read&&(this._read=e.read),A.call(this)}function o(e,t,n,r,i){var o=l(t,n);if(o)e.emit(\"error\",o);else if(null===n)t.reading=!1,c(e,t);else if(t.objectMode||n&&n.length>0)if(t.ended&&!i){var s=new Error(\"stream.push() after EOF\");e.emit(\"error\",s)}else if(t.endEmitted&&i){var s=new Error(\"stream.unshift() after end event\");e.emit(\"error\",s)}else{var u;!t.decoder||i||r||(n=t.decoder.write(n),u=!t.objectMode&&0===n.length),i||(t.reading=!1),u||(t.flowing&&0===t.length&&!t.sync?(e.emit(\"data\",n),e.read(0)):(t.length+=t.objectMode?1:n.length,i?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&f(e))),d(e,t)}else i||(t.reading=!1);return a(t)}function a(e){return!e.ended&&(e.needReadable||e.length<e.highWaterMark||0===e.length)}function s(e){return e>=L?e=L:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function u(e,t){return 0===t.length&&t.ended?0:t.objectMode?0===e?0:1:null===e||isNaN(e)?t.flowing&&t.buffer.length?t.buffer[0].length:t.length:e<=0?0:(e>t.highWaterMark&&(t.highWaterMark=s(e)),e>t.length?t.ended?t.length:(t.needReadable=!0,0):e)}function l(e,t){var n=null;return T.isBuffer(t)||\"string\"==typeof t||null===t||void 0===t||e.objectMode||(n=new TypeError(\"Invalid non-string/buffer chunk\")),n}function c(e,t){if(!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,f(e)}}function f(e){var t=e._readableState;t.needReadable=!1,t.emittedReadable||(B(\"emitReadable\",t.flowing),t.emittedReadable=!0,t.sync?E(h,e):h(e))}function h(e){B(\"emit readable\"),e.emit(\"readable\"),_(e)}function d(e,t){t.readingMore||(t.readingMore=!0,E(p,e,t))}function p(e,t){for(var n=t.length;!t.reading&&!t.flowing&&!t.ended&&t.length<t.highWaterMark&&(B(\"maybeReadMore read 0\"),e.read(0),n!==t.length);)n=t.length;t.readingMore=!1}function m(e){return function(){var t=e._readableState;B(\"pipeOnDrain\",t.awaitDrain),t.awaitDrain&&t.awaitDrain--,0===t.awaitDrain&&O(e,\"data\")&&(t.flowing=!0,_(e))}}function g(e){B(\"readable nexttick read 0\"),e.read(0)}function v(e,t){t.resumeScheduled||(t.resumeScheduled=!0,E(y,e,t))}function y(e,t){t.reading||(B(\"resume read 0\"),e.read(0)),t.resumeScheduled=!1,e.emit(\"resume\"),_(e),t.flowing&&!t.reading&&e.read(0)}function _(e){var t=e._readableState;if(B(\"flow\",t.flowing),t.flowing)do{var n=e.read()}while(null!==n&&t.flowing)}function b(e,t){var n,r=t.buffer,i=t.length,o=!!t.decoder,a=!!t.objectMode;if(0===r.length)return null;if(0===i)n=null;else if(a)n=r.shift();else if(!e||e>=i)n=o?r.join(\"\"):1===r.length?r[0]:T.concat(r,i),r.length=0;else if(e<r[0].length){var s=r[0];n=s.slice(0,e),r[0]=s.slice(e)}else if(e===r[0].length)n=r.shift();else{n=o?\"\":new T(e);for(var u=0,l=0,c=r.length;l<c&&u<e;l++){var s=r[0],f=Math.min(e-u,s.length);o?n+=s.slice(0,f):s.copy(n,u,0,f),f<s.length?r[0]=s.slice(f):r.shift(),u+=f}}return n}function w(e){var t=e._readableState;if(t.length>0)throw new Error(\"endReadable called on non-empty stream\");t.endEmitted||(t.ended=!0,E(k,t,e))}function k(e,t){e.endEmitted||0!==e.length||(e.endEmitted=!0,t.readable=!1,t.emit(\"end\"))}function x(e,t){for(var n=0,r=e.length;n<r;n++)t(e[n],n)}function C(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}e.exports=i;var E=n(16),S=n(24),T=n(2).Buffer;i.ReadableState=r;var A,O=(n(12),function(e,t){return e.listeners(t).length});!function(){try{A=n(11)}catch(e){}finally{A||(A=n(12).EventEmitter)}}();var T=n(2).Buffer,I=n(8);I.inherits=n(7);var R=n(57),B=void 0;B=R&&R.debuglog?R.debuglog(\"stream\"):function(){};var z;I.inherits(i,A);var P,P;i.prototype.push=function(e,t){var n=this._readableState;return n.objectMode||\"string\"!=typeof e||(t=t||n.defaultEncoding)!==n.encoding&&(e=new T(e,t),t=\"\"),o(this,n,e,t,!1)},i.prototype.unshift=function(e){return o(this,this._readableState,e,\"\",!0)},i.prototype.isPaused=function(){return!1===this._readableState.flowing},i.prototype.setEncoding=function(e){return z||(z=n(27).StringDecoder),this._readableState.decoder=new z(e),this._readableState.encoding=e,this};var L=8388608;i.prototype.read=function(e){B(\"read\",e);var t=this._readableState,n=e;if((\"number\"!=typeof e||e>0)&&(t.emittedReadable=!1),0===e&&t.needReadable&&(t.length>=t.highWaterMark||t.ended))return B(\"read: emitReadable\",t.length,t.ended),0===t.length&&t.ended?w(this):f(this),null;if(0===(e=u(e,t))&&t.ended)return 0===t.length&&w(this),null;var r=t.needReadable;B(\"need readable\",r),(0===t.length||t.length-e<t.highWaterMark)&&(r=!0,B(\"length less than watermark\",r)),(t.ended||t.reading)&&(r=!1,B(\"reading or ended\",r)),r&&(B(\"do read\"),t.reading=!0,t.sync=!0,0===t.length&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1),r&&!t.reading&&(e=u(n,t));var i;return i=e>0?b(e,t):null,null===i&&(t.needReadable=!0,e=0),t.length-=e,0!==t.length||t.ended||(t.needReadable=!0),n!==e&&t.ended&&0===t.length&&w(this),null!==i&&this.emit(\"data\",i),i},i.prototype._read=function(e){this.emit(\"error\",new Error(\"not implemented\"))},i.prototype.pipe=function(e,n){function r(e){B(\"onunpipe\"),e===f&&o()}function i(){B(\"onend\"),e.end()}function o(){B(\"cleanup\"),e.removeListener(\"close\",u),e.removeListener(\"finish\",l),e.removeListener(\"drain\",g),e.removeListener(\"error\",s),e.removeListener(\"unpipe\",r),f.removeListener(\"end\",i),f.removeListener(\"end\",o),f.removeListener(\"data\",a),v=!0,!h.awaitDrain||e._writableState&&!e._writableState.needDrain||g()}function a(t){B(\"ondata\"),!1===e.write(t)&&(1!==h.pipesCount||h.pipes[0]!==e||1!==f.listenerCount(\"data\")||v||(B(\"false write response, pause\",f._readableState.awaitDrain),f._readableState.awaitDrain++),f.pause())}function s(t){B(\"onerror\",t),c(),e.removeListener(\"error\",s),0===O(e,\"error\")&&e.emit(\"error\",t)}function u(){e.removeListener(\"finish\",l),c()}function l(){B(\"onfinish\"),e.removeListener(\"close\",u),c()}function c(){B(\"unpipe\"),f.unpipe(e)}var f=this,h=this._readableState;switch(h.pipesCount){case 0:h.pipes=e;break;case 1:h.pipes=[h.pipes,e];break;default:h.pipes.push(e)}h.pipesCount+=1,B(\"pipe count=%d opts=%j\",h.pipesCount,n);var d=(!n||!1!==n.end)&&e!==t.stdout&&e!==t.stderr,p=d?i:o;h.endEmitted?E(p):f.once(\"end\",p),e.on(\"unpipe\",r);var g=m(f);e.on(\"drain\",g);var v=!1;return f.on(\"data\",a),e._events&&e._events.error?S(e._events.error)?e._events.error.unshift(s):e._events.error=[s,e._events.error]:e.on(\"error\",s),e.once(\"close\",u),e.once(\"finish\",l),e.emit(\"pipe\",f),h.flowing||(B(\"pipe resume\"),f.resume()),e},i.prototype.unpipe=function(e){var t=this._readableState;if(0===t.pipesCount)return this;if(1===t.pipesCount)return e&&e!==t.pipes?this:(e||(e=t.pipes),t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit(\"unpipe\",this),this);if(!e){var n=t.pipes,r=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var i=0;i<r;i++)n[i].emit(\"unpipe\",this);return this}var o=C(t.pipes,e);return-1===o?this:(t.pipes.splice(o,1),t.pipesCount-=1,1===t.pipesCount&&(t.pipes=t.pipes[0]),e.emit(\"unpipe\",this),this)},i.prototype.on=function(e,t){var n=A.prototype.on.call(this,e,t);if(\"data\"===e&&!1!==this._readableState.flowing&&this.resume(),\"readable\"===e&&!this._readableState.endEmitted){var r=this._readableState;r.readableListening||(r.readableListening=!0,r.emittedReadable=!1,r.needReadable=!0,r.reading?r.length&&f(this):E(g,this))}return n},i.prototype.addListener=i.prototype.on,i.prototype.resume=function(){var e=this._readableState;return e.flowing||(B(\"resume\"),e.flowing=!0,v(this,e)),this},i.prototype.pause=function(){return B(\"call pause flowing=%j\",this._readableState.flowing),!1!==this._readableState.flowing&&(B(\"pause\"),this._readableState.flowing=!1,this.emit(\"pause\")),this},i.prototype.wrap=function(e){var t=this._readableState,n=!1,r=this;e.on(\"end\",function(){if(B(\"wrapped end\"),t.decoder&&!t.ended){var e=t.decoder.end();e&&e.length&&r.push(e)}r.push(null)}),e.on(\"data\",function(i){B(\"wrapped data\"),t.decoder&&(i=t.decoder.write(i)),(!t.objectMode||null!==i&&void 0!==i)&&(t.objectMode||i&&i.length)&&(r.push(i)||(n=!0,e.pause()))});for(var i in e)void 0===this[i]&&\"function\"==typeof e[i]&&(this[i]=function(t){return function(){return e[t].apply(e,arguments)}}(i));return x([\"error\",\"close\",\"destroy\",\"pause\",\"resume\"],function(t){e.on(t,r.emit.bind(r,t))}),r._read=function(t){B(\"wrapped _read\",t),n&&(n=!1,e.resume())},r},i._fromList=b}).call(t,n(13))},function(e,t,n){\"use strict\";function r(e){if(!e)return\"utf8\";for(var t;;)switch(e){case\"utf8\":case\"utf-8\":return\"utf8\";case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":return\"utf16le\";case\"latin1\":case\"binary\":return\"latin1\";case\"base64\":case\"ascii\":case\"hex\":return e;default:if(t)return;e=(\"\"+e).toLowerCase(),t=!0}}function i(e){var t=r(e);if(\"string\"!=typeof t&&(y.isEncoding===_||!_(e)))throw new Error(\"Unknown encoding: \"+e);return t||e}function o(e){this.encoding=i(e);var t;switch(this.encoding){case\"utf16le\":this.text=h,this.end=d,t=4;break;case\"utf8\":this.fillLast=l,t=4;break;case\"base64\":this.text=p,this.end=m,t=3;break;default:return this.write=g,void(this.end=v)}this.lastNeed=0,this.lastTotal=0,this.lastChar=y.allocUnsafe(t)}function a(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:-1}function s(e,t,n){var r=t.length-1;if(r<n)return 0;var i=a(t[r]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--r<n?0:(i=a(t[r]))>=0?(i>0&&(e.lastNeed=i-2),i):--r<n?0:(i=a(t[r]),i>=0?(i>0&&(2===i?i=0:e.lastNeed=i-3),i):0)}function u(e,t,n){if(128!=(192&t[0]))return e.lastNeed=0,\"�\".repeat(n);if(e.lastNeed>1&&t.length>1){if(128!=(192&t[1]))return e.lastNeed=1,\"�\".repeat(n+1);if(e.lastNeed>2&&t.length>2&&128!=(192&t[2]))return e.lastNeed=2,\"�\".repeat(n+2)}}function l(e){var t=this.lastTotal-this.lastNeed,n=u(this,e,t);return void 0!==n?n:this.lastNeed<=e.length?(e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal)):(e.copy(this.lastChar,t,0,e.length),void(this.lastNeed-=e.length))}function c(e,t){var n=s(this,e,t);if(!this.lastNeed)return e.toString(\"utf8\",t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString(\"utf8\",t,r)}function f(e){var t=e&&e.length?this.write(e):\"\";return this.lastNeed?t+\"�\".repeat(this.lastTotal-this.lastNeed):t}function h(e,t){if((e.length-t)%2==0){var n=e.toString(\"utf16le\",t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString(\"utf16le\",t,e.length-1)}function d(e){var t=e&&e.length?this.write(e):\"\";if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString(\"utf16le\",0,n)}return t}function p(e,t){var n=(e.length-t)%3;return 0===n?e.toString(\"base64\",t):(this.lastNeed=3-n,this.lastTotal=3,1===n?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString(\"base64\",t,e.length-n))}function m(e){var t=e&&e.length?this.write(e):\"\";return this.lastNeed?t+this.lastChar.toString(\"base64\",0,3-this.lastNeed):t}function g(e){return e.toString(this.encoding)}function v(e){return e&&e.length?this.write(e):\"\"}var y=n(61).Buffer,_=y.isEncoding||function(e){switch((e=\"\"+e)&&e.toLowerCase()){case\"hex\":case\"utf8\":case\"utf-8\":case\"ascii\":case\"binary\":case\"base64\":case\"ucs2\":case\"ucs-2\":case\"utf16le\":case\"utf-16le\":case\"raw\":return!0;default:return!1}};t.StringDecoder=o,o.prototype.write=function(e){if(0===e.length)return\"\";var t,n;if(this.lastNeed){if(void 0===(t=this.fillLast(e)))return\"\";n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||\"\"},o.prototype.end=f,o.prototype.text=c,o.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length}},function(e,t,n){\"use strict\";function r(e){if(!(this instanceof r))return new r(e);i.call(this,e)}e.exports=r;var i=n(18),o=n(8);o.inherits=n(7),o.inherits(r,i),r.prototype._transform=function(e,t,n){n(null,e)}},function(e,t,n){\"use strict\";var r=n(0),i=n(3),o=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\";t.encode=function(e){for(var t,n,i,a,s,u,l,c=[],f=0,h=e.length,d=h,p=\"string\"!==r.getTypeOf(e);f<e.length;)d=h-f,p?(t=e[f++],n=f<h?e[f++]:0,i=f<h?e[f++]:0):(t=e.charCodeAt(f++),n=f<h?e.charCodeAt(f++):0,i=f<h?e.charCodeAt(f++):0),a=t>>2,s=(3&t)<<4|n>>4,u=d>1?(15&n)<<2|i>>6:64,l=d>2?63&i:64,c.push(o.charAt(a)+o.charAt(s)+o.charAt(u)+o.charAt(l));return c.join(\"\")},t.decode=function(e){var t,n,r,a,s,u,l,c=0,f=0;if(\"data:\"===e.substr(0,\"data:\".length))throw new Error(\"Invalid base64 input, it looks like a data url.\");e=e.replace(/[^A-Za-z0-9\\+\\/\\=]/g,\"\");var h=3*e.length/4;if(e.charAt(e.length-1)===o.charAt(64)&&h--,e.charAt(e.length-2)===o.charAt(64)&&h--,h%1!=0)throw new Error(\"Invalid base64 input, bad content length.\");var d;for(d=i.uint8array?new Uint8Array(0|h):new Array(0|h);c<e.length;)a=o.indexOf(e.charAt(c++)),s=o.indexOf(e.charAt(c++)),u=o.indexOf(e.charAt(c++)),l=o.indexOf(e.charAt(c++)),t=a<<2|s>>4,n=(15&s)<<4|u>>2,r=(3&u)<<6|l,d[f++]=t,64!==u&&(d[f++]=n),64!==l&&(d[f++]=r);return d}},function(e,t){var n=e.exports={version:\"2.3.0\"};\"number\"==typeof __e&&(__e=n)},function(e,t,n){var r=n(69);e.exports=function(e,t,n){if(r(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,r){return e.call(t,n,r)};case 3:return function(n,r,i){return e.call(t,n,r,i)}}return function(){return e.apply(t,arguments)}}},function(e,t){e.exports=function(e){try{return!!e()}catch(e){return!0}}},function(e,t,n){var r=n(19),i=n(15).document,o=r(i)&&r(i.createElement);e.exports=function(e){return o?i.createElement(e):{}}},function(e,t,n){\"use strict\";(function(t){function r(e,t,n){switch(e){case\"blob\":return s.newBlob(s.transformTo(\"arraybuffer\",t),n);case\"base64\":return c.encode(t);default:return s.transformTo(e,t)}}function i(e,n){var r,i=0,o=null,a=0;for(r=0;r<n.length;r++)a+=n[r].length;switch(e){case\"string\":return n.join(\"\");case\"array\":return Array.prototype.concat.apply([],n);case\"uint8array\":for(o=new Uint8Array(a),r=0;r<n.length;r++)o.set(n[r],i),i+=n[r].length;return o;case\"nodebuffer\":return t.concat(n);default:throw new Error(\"concat : unsupported type '\"+e+\"'\")}}function o(e,t){return new h.Promise(function(n,o){var a=[],s=e._internalType,u=e._outputType,l=e._mimeType;e.on(\"data\",function(e,n){a.push(e),t&&t(n)}).on(\"error\",function(e){a=[],o(e)}).on(\"end\",function(){try{var e=r(u,i(s,a),l);n(e)}catch(e){o(e)}a=[]}).resume()})}function a(e,t,n){var r=t;switch(t){case\"blob\":case\"arraybuffer\":r=\"uint8array\";break;case\"base64\":r=\"string\"}try{this._internalType=r,this._outputType=t,this._mimeType=n,s.checkSupport(r),this._worker=e.pipe(new u(r)),e.lock()}catch(e){this._worker=new l(\"error\"),this._worker.error(e)}}var s=n(0),u=n(82),l=n(1),c=n(29),f=n(3),h=n(9),d=null;if(f.nodestream)try{d=n(83)}catch(e){}a.prototype={accumulate:function(e){return o(this,e)},on:function(e,t){var n=this;return\"data\"===e?this._worker.on(e,function(e){t.call(n,e.data,e.meta)}):this._worker.on(e,function(){s.delay(t,arguments,n)}),this},resume:function(){return s.delay(this._worker.resume,[],this._worker),this},pause:function(){return this._worker.pause(),this},toNodejsStream:function(e){if(s.checkSupport(\"nodestream\"),\"nodebuffer\"!==this._outputType)throw new Error(this._outputType+\" is not supported by this method\");return new d(this,{objectMode:\"nodebuffer\"!==this._outputType},e)}},e.exports=a}).call(t,n(2).Buffer)},function(e,t,n){\"use strict\";t.base64=!1,t.binary=!1,t.dir=!1,t.createFolders=!0,t.date=null,t.compression=null,t.compressionOptions=null,t.comment=null,t.unixPermissions=null,t.dosPermissions=null},function(e,t,n){\"use strict\";function r(e){o.call(this,\"DataWorker\");var t=this;this.dataIsReady=!1,this.index=0,this.max=0,this.data=null,this.type=\"\",this._tickScheduled=!1,e.then(function(e){t.dataIsReady=!0,t.data=e,t.max=e&&e.length||0,t.type=i.getTypeOf(e),t.isPaused||t._tickAndRepeat()},function(e){t.error(e)})}var i=n(0),o=n(1);i.inherits(r,o),r.prototype.cleanUp=function(){o.prototype.cleanUp.call(this),this.data=null},r.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this._tickScheduled&&this.dataIsReady&&(this._tickScheduled=!0,i.delay(this._tickAndRepeat,[],this)),!0)},r.prototype._tickAndRepeat=function(){this._tickScheduled=!1,this.isPaused||this.isFinished||(this._tick(),this.isFinished||(i.delay(this._tickAndRepeat,[],this),this._tickScheduled=!0))},r.prototype._tick=function(){if(this.isPaused||this.isFinished)return!1;var e=null,t=Math.min(this.max,this.index+16384);if(this.index>=this.max)return this.end();switch(this.type){case\"string\":e=this.data.substring(this.index,t);break;case\"uint8array\":e=this.data.subarray(this.index,t);break;case\"array\":case\"nodebuffer\":e=this.data.slice(this.index,t)}return this.index=t,this.push({data:e,meta:{percent:this.max?this.index/this.max*100:0}})},e.exports=r},function(e,t,n){\"use strict\";function r(e){o.call(this,\"DataLengthProbe for \"+e),this.propName=e,this.withStreamInfo(e,0)}var i=n(0),o=n(1);i.inherits(r,o),r.prototype.processChunk=function(e){if(e){var t=this.streamInfo[this.propName]||0;this.streamInfo[this.propName]=t+e.data.length}o.prototype.processChunk.call(this,e)},e.exports=r},function(e,t,n){\"use strict\";function r(){i.call(this,\"Crc32Probe\"),this.withStreamInfo(\"crc32\",0)}var i=n(1),o=n(22);n(0).inherits(r,i),r.prototype.processChunk=function(e){this.streamInfo.crc32=o(e.data,this.streamInfo.crc32||0),this.push(e)},e.exports=r},function(e,t,n){\"use strict\";var r=n(1);t.STORE={magic:\"\\0\\0\",compressWorker:function(e){return new r(\"STORE compression\")},uncompressWorker:function(){return new r(\"STORE decompression\")}},t.DEFLATE=n(86)},function(e,t,n){\"use strict\";function r(e,t,n,r){for(var i=65535&e|0,o=e>>>16&65535|0,a=0;0!==n;){a=n>2e3?2e3:n,n-=a;do{i=i+t[r++]|0,o=o+i|0}while(--a);i%=65521,o%=65521}return i|o<<16|0}e.exports=r},function(e,t,n){\"use strict\";function r(e,t,n,r){var o=i,a=r+n;e^=-1;for(var s=r;s<a;s++)e=e>>>8^o[255&(e^t[s])];return-1^e}var i=function(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=1&e?3988292384^e>>>1:e>>>1;t[n]=e}return t}();e.exports=r},function(e,t,n){\"use strict\";function r(e,t){if(t<65537&&(e.subarray&&a||!e.subarray&&o))return String.fromCharCode.apply(null,i.shrinkBuf(e,t));for(var n=\"\",r=0;r<t;r++)n+=String.fromCharCode(e[r]);return n}var i=n(4),o=!0,a=!0;try{String.fromCharCode.apply(null,[0])}catch(e){o=!1}try{String.fromCharCode.apply(null,new Uint8Array(1))}catch(e){a=!1}for(var s=new i.Buf8(256),u=0;u<256;u++)s[u]=u>=252?6:u>=248?5:u>=240?4:u>=224?3:u>=192?2:1;s[254]=s[254]=1,t.string2buf=function(e){var t,n,r,o,a,s=e.length,u=0;for(o=0;o<s;o++)n=e.charCodeAt(o),55296==(64512&n)&&o+1<s&&56320==(64512&(r=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),u+=n<128?1:n<2048?2:n<65536?3:4;for(t=new i.Buf8(u),a=0,o=0;a<u;o++)n=e.charCodeAt(o),55296==(64512&n)&&o+1<s&&56320==(64512&(r=e.charCodeAt(o+1)))&&(n=65536+(n-55296<<10)+(r-56320),o++),n<128?t[a++]=n:n<2048?(t[a++]=192|n>>>6,t[a++]=128|63&n):n<65536?(t[a++]=224|n>>>12,t[a++]=128|n>>>6&63,t[a++]=128|63&n):(t[a++]=240|n>>>18,t[a++]=128|n>>>12&63,t[a++]=128|n>>>6&63,t[a++]=128|63&n);return t},t.buf2binstring=function(e){return r(e,e.length)},t.binstring2buf=function(e){for(var t=new i.Buf8(e.length),n=0,r=t.length;n<r;n++)t[n]=e.charCodeAt(n);return t},t.buf2string=function(e,t){var n,i,o,a,u=t||e.length,l=new Array(2*u);for(i=0,n=0;n<u;)if((o=e[n++])<128)l[i++]=o;else if((a=s[o])>4)l[i++]=65533,n+=a-1;else{for(o&=2===a?31:3===a?15:7;a>1&&n<u;)o=o<<6|63&e[n++],a--;a>1?l[i++]=65533:o<65536?l[i++]=o:(o-=65536,l[i++]=55296|o>>10&1023,l[i++]=56320|1023&o)}return r(l,i)},t.utf8border=function(e,t){var n;for(t=t||e.length,t>e.length&&(t=e.length),n=t-1;n>=0&&128==(192&e[n]);)n--;return n<0?t:0===n?t:n+s[e[n]]>t?n:t}},function(e,t,n){\"use strict\";function r(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg=\"\",this.state=null,this.data_type=2,this.adler=0}e.exports=r},function(e,t,n){\"use strict\";e.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}},function(e,t,n){\"use strict\";t.LOCAL_FILE_HEADER=\"PK\u0003\u0004\",t.CENTRAL_FILE_HEADER=\"PK\u0001\u0002\",t.CENTRAL_DIRECTORY_END=\"PK\u0005\u0006\",t.ZIP64_CENTRAL_DIRECTORY_LOCATOR=\"PK\u0006\u0007\",t.ZIP64_CENTRAL_DIRECTORY_END=\"PK\u0006\u0006\",t.DATA_DESCRIPTOR=\"PK\u0007\\b\"},function(e,t,n){\"use strict\";var r=n(0),i=n(3),o=n(47),a=n(100),s=n(101),u=n(49);e.exports=function(e){var t=r.getTypeOf(e);return r.checkSupport(t),\"string\"!==t||i.uint8array?\"nodebuffer\"===t?new s(e):i.uint8array?new u(r.transformTo(\"uint8array\",e)):new o(r.transformTo(\"array\",e)):new a(e)}},function(e,t,n){\"use strict\";function r(e){i.call(this,e);for(var t=0;t<this.data.length;t++)e[t]=255&e[t]}var i=n(48);n(0).inherits(r,i),r.prototype.byteAt=function(e){return this.data[this.zero+e]},r.prototype.lastIndexOfSignature=function(e){for(var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),o=this.length-4;o>=0;--o)if(this.data[o]===t&&this.data[o+1]===n&&this.data[o+2]===r&&this.data[o+3]===i)return o-this.zero;return-1},r.prototype.readAndCheckSignature=function(e){var t=e.charCodeAt(0),n=e.charCodeAt(1),r=e.charCodeAt(2),i=e.charCodeAt(3),o=this.readData(4);return t===o[0]&&n===o[1]&&r===o[2]&&i===o[3]},r.prototype.readData=function(e){if(this.checkOffset(e),0===e)return[];var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},e.exports=r},function(e,t,n){\"use strict\";function r(e){this.data=e,this.length=e.length,this.index=0,this.zero=0}var i=n(0);r.prototype={checkOffset:function(e){this.checkIndex(this.index+e)},checkIndex:function(e){if(this.length<this.zero+e||e<0)throw new Error(\"End of data reached (data length = \"+this.length+\", asked index = \"+e+\"). Corrupted zip ?\")},setIndex:function(e){this.checkIndex(e),this.index=e},skip:function(e){this.setIndex(this.index+e)},byteAt:function(e){},readInt:function(e){var t,n=0;for(this.checkOffset(e),t=this.index+e-1;t>=this.index;t--)n=(n<<8)+this.byteAt(t);return this.index+=e,n},readString:function(e){return i.transformTo(\"string\",this.readData(e))},readData:function(e){},lastIndexOfSignature:function(e){},readAndCheckSignature:function(e){},readDate:function(){var e=this.readInt(4);return new Date(Date.UTC(1980+(e>>25&127),(e>>21&15)-1,e>>16&31,e>>11&31,e>>5&63,(31&e)<<1))}},e.exports=r},function(e,t,n){\"use strict\";function r(e){i.call(this,e)}var i=n(47);n(0).inherits(r,i),r.prototype.readData=function(e){if(this.checkOffset(e),0===e)return new Uint8Array(0);var t=this.data.subarray(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},e.exports=r},function(e,t,n){\"use strict\";function r(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,\"__esModule\",{value:!0});var i=n(51),o=r(i),a=n(52),s=r(a),u=n(103),l=r(u);t.default=o.default.plugins.add(\"gjs-plugin-export\",function(e,t){var n=t||{},r=e.getConfig(),i=r.stylePrefix,o=document.createElement(\"BUTTON\"),a={addExportBtn:1,btnLabel:\"Export to ZIP\",preHtml:'<!doctype html><html lang=\"en\"><head><meta charset=\"utf-8\"><link rel=\"stylesheet\" href=\"./css/style.css\"></head><body>',postHtml:\"</body><html>\",preCss:\"\",postCss:\"\"};for(var u in a)u in n||(n[u]=a[u]);o.innerHTML=n.btnLabel,o.className=i+\"btn-prim\",e.Commands.add(\"gjs-export-zip\",{run:function(){var t=new s.default,r=t.folder(\"css\"),i=\"grapesjs_template_\"+Date.now()+\".zip\";t.file(\"index.html\",n.preHtml+e.getHtml()+n.postHtml),r.file(\"style.css\",n.preCss+e.getCss()+n.postCss),t.generateAsync({type:\"blob\"}).then(function(e){l.default.saveAs(e,i)})}}),n.addExportBtn&&e.on(\"run:export-template\",function(){e.Modal.getContentEl().appendChild(o),o.onclick=function(){e.runCommand(\"gjs-export-zip\")}})})},function(t,n){t.exports=e},function(e,t,n){\"use strict\";function r(){if(!(this instanceof r))return new r;if(arguments.length)throw new Error(\"The constructor with parameters has been removed in JSZip 3.0, please check the upgrade guide.\");this.files={},this.comment=null,this.root=\"\",this.clone=function(){var e=new r;for(var t in this)\"function\"!=typeof this[t]&&(e[t]=this[t]);return e}}r.prototype=n(53),r.prototype.loadAsync=n(98),r.support=n(3),r.defaults=n(35),r.version=\"3.1.5\",r.loadAsync=function(e,t){return(new r).loadAsync(e,t)},r.external=n(9),e.exports=r},function(e,t,n){\"use strict\";function r(e){return\"[object RegExp]\"===Object.prototype.toString.call(e)}var i=n(6),o=n(0),a=n(1),s=n(34),u=n(35),l=n(21),c=n(84),f=n(85),h=n(14),d=n(97),p=function(e,t,n){var r,i=o.getTypeOf(t),s=o.extend(n||{},u);s.date=s.date||new Date,null!==s.compression&&(s.compression=s.compression.toUpperCase()),\"string\"==typeof s.unixPermissions&&(s.unixPermissions=parseInt(s.unixPermissions,8)),s.unixPermissions&&16384&s.unixPermissions&&(s.dir=!0),s.dosPermissions&&16&s.dosPermissions&&(s.dir=!0),s.dir&&(e=g(e)),s.createFolders&&(r=m(e))&&v.call(this,r,!0);var f=\"string\"===i&&!1===s.binary&&!1===s.base64;n&&void 0!==n.binary||(s.binary=!f),(t instanceof l&&0===t.uncompressedSize||s.dir||!t||0===t.length)&&(s.base64=!1,s.binary=!0,t=\"\",s.compression=\"STORE\",i=\"string\");var p=null;p=t instanceof l||t instanceof a?t:h.isNode&&h.isStream(t)?new d(e,t):o.prepareContent(e,t,s.binary,s.optimizedBinaryString,s.base64);var y=new c(e,p,s);this.files[e]=y},m=function(e){\"/\"===e.slice(-1)&&(e=e.substring(0,e.length-1));var t=e.lastIndexOf(\"/\");return t>0?e.substring(0,t):\"\"},g=function(e){return\"/\"!==e.slice(-1)&&(e+=\"/\"),e},v=function(e,t){return t=void 0!==t?t:u.createFolders,e=g(e),this.files[e]||p.call(this,e,null,{dir:!0,createFolders:t}),this.files[e]},y={load:function(){throw new Error(\"This method has been removed in JSZip 3.0, please check the upgrade guide.\")},forEach:function(e){var t,n,r;for(t in this.files)this.files.hasOwnProperty(t)&&(r=this.files[t],(n=t.slice(this.root.length,t.length))&&t.slice(0,this.root.length)===this.root&&e(n,r))},filter:function(e){var t=[];return this.forEach(function(n,r){e(n,r)&&t.push(r)}),t},file:function(e,t,n){if(1===arguments.length){if(r(e)){var i=e;return this.filter(function(e,t){return!t.dir&&i.test(e)})}var o=this.files[this.root+e];return o&&!o.dir?o:null}return e=this.root+e,p.call(this,e,t,n),this},folder:function(e){if(!e)return this;if(r(e))return this.filter(function(t,n){return n.dir&&e.test(t)});var t=this.root+e,n=v.call(this,t),i=this.clone();return i.root=n.name,i},remove:function(e){e=this.root+e;var t=this.files[e];if(t||(\"/\"!==e.slice(-1)&&(e+=\"/\"),t=this.files[e]),t&&!t.dir)delete this.files[e];else for(var n=this.filter(function(t,n){return n.name.slice(0,e.length)===e}),r=0;r<n.length;r++)delete this.files[n[r].name];return this},generate:function(e){throw new Error(\"This method has been removed in JSZip 3.0, please check the upgrade guide.\")},generateInternalStream:function(e){var t,n={};try{if(n=o.extend(e||{},{streamFiles:!1,compression:\"STORE\",compressionOptions:null,type:\"\",platform:\"DOS\",comment:null,mimeType:\"application/zip\",encodeFileName:i.utf8encode}),n.type=n.type.toLowerCase(),n.compression=n.compression.toUpperCase(),\"binarystring\"===n.type&&(n.type=\"string\"),!n.type)throw new Error(\"No output type specified.\");o.checkSupport(n.type),\"darwin\"!==n.platform&&\"freebsd\"!==n.platform&&\"linux\"!==n.platform&&\"sunos\"!==n.platform||(n.platform=\"UNIX\"),\"win32\"===n.platform&&(n.platform=\"DOS\");var r=n.comment||this.comment||\"\";t=f.generateWorker(this,n,r)}catch(e){t=new a(\"error\"),t.error(e)}return new s(t,n.type||\"string\",n.mimeType)},generateAsync:function(e,t){return this.generateInternalStream(e).accumulate(t)},generateNodeStream:function(e,t){return e=e||{},e.type||(e.type=\"nodebuffer\"),this.generateInternalStream(e).toNodejsStream(t)}};e.exports=y},function(e,t,n){\"use strict\";function r(e){var t=e.length;if(t%4>0)throw new Error(\"Invalid string. Length must be a multiple of 4\");return\"=\"===e[t-2]?2:\"=\"===e[t-1]?1:0}function i(e){return 3*e.length/4-r(e)}function o(e){var t,n,i,o,a,s=e.length;o=r(e),a=new f(3*s/4-o),n=o>0?s-4:s;var u=0;for(t=0;t<n;t+=4)i=c[e.charCodeAt(t)]<<18|c[e.charCodeAt(t+1)]<<12|c[e.charCodeAt(t+2)]<<6|c[e.charCodeAt(t+3)],a[u++]=i>>16&255,a[u++]=i>>8&255,a[u++]=255&i;return 2===o?(i=c[e.charCodeAt(t)]<<2|c[e.charCodeAt(t+1)]>>4,a[u++]=255&i):1===o&&(i=c[e.charCodeAt(t)]<<10|c[e.charCodeAt(t+1)]<<4|c[e.charCodeAt(t+2)]>>2,a[u++]=i>>8&255,a[u++]=255&i),a}function a(e){return l[e>>18&63]+l[e>>12&63]+l[e>>6&63]+l[63&e]}function s(e,t,n){for(var r,i=[],o=t;o<n;o+=3)r=(e[o]<<16)+(e[o+1]<<8)+e[o+2],i.push(a(r));return i.join(\"\")}function u(e){for(var t,n=e.length,r=n%3,i=\"\",o=[],a=0,u=n-r;a<u;a+=16383)o.push(s(e,a,a+16383>u?u:a+16383));return 1===r?(t=e[n-1],i+=l[t>>2],i+=l[t<<4&63],i+=\"==\"):2===r&&(t=(e[n-2]<<8)+e[n-1],i+=l[t>>10],i+=l[t>>4&63],i+=l[t<<2&63],i+=\"=\"),o.push(i),o.join(\"\")}t.byteLength=i,t.toByteArray=o,t.fromByteArray=u;for(var l=[],c=[],f=\"undefined\"!=typeof Uint8Array?Uint8Array:Array,h=\"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\",d=0,p=h.length;d<p;++d)l[d]=h[d],c[h.charCodeAt(d)]=d;c[\"-\".charCodeAt(0)]=62,c[\"_\".charCodeAt(0)]=63},function(e,t){t.read=function(e,t,n,r,i){var o,a,s=8*i-r-1,u=(1<<s)-1,l=u>>1,c=-7,f=n?i-1:0,h=n?-1:1,d=e[t+f];for(f+=h,o=d&(1<<-c)-1,d>>=-c,c+=s;c>0;o=256*o+e[t+f],f+=h,c-=8);for(a=o&(1<<-c)-1,o>>=-c,c+=r;c>0;a=256*a+e[t+f],f+=h,c-=8);if(0===o)o=1-l;else{if(o===u)return a?NaN:1/0*(d?-1:1);a+=Math.pow(2,r),o-=l}return(d?-1:1)*a*Math.pow(2,o-r)},t.write=function(e,t,n,r,i,o){var a,s,u,l=8*o-i-1,c=(1<<l)-1,f=c>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,d=r?0:o-1,p=r?1:-1,m=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(s=isNaN(t)?1:0,a=c):(a=Math.floor(Math.log(t)/Math.LN2),t*(u=Math.pow(2,-a))<1&&(a--,u*=2),t+=a+f>=1?h/u:h*Math.pow(2,1-f),t*u>=2&&(a++,u/=2),a+f>=c?(s=0,a=c):a+f>=1?(s=(t*u-1)*Math.pow(2,i),a+=f):(s=t*Math.pow(2,f-1)*Math.pow(2,i),a=0));i>=8;e[n+d]=255&s,d+=p,s/=256,i-=8);for(a=a<<i|s,l+=i;l>0;e[n+d]=255&a,d+=p,a/=256,l-=8);e[n+d-p]|=128*m}},function(e,t,n){var r=function(){try{return n(11)}catch(e){}}();t=e.exports=n(26),t.Stream=r||t,t.Readable=t,t.Writable=n(17),t.Duplex=n(5),t.Transform=n(18),t.PassThrough=n(28)},function(e,t){},function(e,n,i){function o(e,t){this._id=e,this._clearFn=t}var a=Function.prototype.apply;n.setTimeout=function(){return new o(a.call(setTimeout,window,arguments),clearTimeout)},n.setInterval=function(){return new o(a.call(setInterval,window,arguments),clearInterval)},n.clearTimeout=n.clearInterval=function(e){e&&e.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(window,this._id)},n.enroll=function(e,t){clearTimeout(e._idleTimeoutId),e._idleTimeout=t},n.unenroll=function(e){clearTimeout(e._idleTimeoutId),e._idleTimeout=-1},n._unrefActive=n.active=function(e){clearTimeout(e._idleTimeoutId);var t=e._idleTimeout;t>=0&&(e._idleTimeoutId=setTimeout(function(){e._onTimeout&&e._onTimeout()},t))},i(59),n.setImmediate=t,n.clearImmediate=r},function(e,t,n){(function(e,t){!function(e,n){\"use strict\";function r(e){\"function\"!=typeof e&&(e=new Function(\"\"+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var r={callback:e,args:t};return l[u]=r,s(u),u++}function i(e){delete l[e]}function o(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(n,r)}}function a(e){if(c)setTimeout(a,0,e);else{var t=l[e];if(t){c=!0;try{o(t)}finally{i(e),c=!1}}}}if(!e.setImmediate){var s,u=1,l={},c=!1,f=e.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(e);h=h&&h.setTimeout?h:e,\"[object process]\"==={}.toString.call(e.process)?function(){s=function(e){t.nextTick(function(){a(e)})}}():function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage(\"\",\"*\"),e.onmessage=n,t}}()?function(){var t=\"setImmediate$\"+Math.random()+\"$\",n=function(n){n.source===e&&\"string\"==typeof n.data&&0===n.data.indexOf(t)&&a(+n.data.slice(t.length))};e.addEventListener?e.addEventListener(\"message\",n,!1):e.attachEvent(\"onmessage\",n),s=function(n){e.postMessage(t+n,\"*\")}}():e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){a(e.data)},s=function(t){e.port2.postMessage(t)}}():f&&\"onreadystatechange\"in f.createElement(\"script\")?function(){var e=f.documentElement;s=function(t){var n=f.createElement(\"script\");n.onreadystatechange=function(){a(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():function(){s=function(e){setTimeout(a,0,e)}}(),h.setImmediate=r,h.clearImmediate=i}}(\"undefined\"==typeof self?void 0===e?this:e:self)}).call(t,n(10),n(13))},function(e,t,n){(function(t){function n(e,t){function n(){if(!i){if(r(\"throwDeprecation\"))throw new Error(t);r(\"traceDeprecation\")?console.trace(t):console.warn(t),i=!0}return e.apply(this,arguments)}if(r(\"noDeprecation\"))return e;var i=!1;return n}function r(e){try{if(!t.localStorage)return!1}catch(e){return!1}var n=t.localStorage[e];return null!=n&&\"true\"===String(n).toLowerCase()}e.exports=n}).call(t,n(10))},function(e,t,n){function r(e,t){for(var n in e)t[n]=e[n]}function i(e,t,n){return a(e,t,n)}var o=n(2),a=o.Buffer;a.from&&a.alloc&&a.allocUnsafe&&a.allocUnsafeSlow?e.exports=o:(r(o,t),t.Buffer=i),r(a,i),i.from=function(e,t,n){if(\"number\"==typeof e)throw new TypeError(\"Argument must not be a number\");return a(e,t,n)},i.alloc=function(e,t,n){if(\"number\"!=typeof e)throw new TypeError(\"Argument must be a number\");var r=a(e);return void 0!==t?\"string\"==typeof n?r.fill(t,n):r.fill(t):r.fill(0),r},i.allocUnsafe=function(e){if(\"number\"!=typeof e)throw new TypeError(\"Argument must be a number\");return a(e)},i.allocUnsafeSlow=function(e){if(\"number\"!=typeof e)throw new TypeError(\"Argument must be a number\");return o.SlowBuffer(e)}},function(e,t,n){e.exports=n(17)},function(e,t,n){e.exports=n(5)},function(e,t,n){e.exports=n(18)},function(e,t,n){e.exports=n(28)},function(e,t,n){n(67),e.exports=n(30).setImmediate},function(e,t,n){var r=n(68),i=n(76);r(r.G+r.B,{setImmediate:i.set,clearImmediate:i.clear})},function(e,t,n){var r=n(15),i=n(30),o=n(31),a=n(70),s=function(e,t,n){var u,l,c,f=e&s.F,h=e&s.G,d=e&s.S,p=e&s.P,m=e&s.B,g=e&s.W,v=h?i:i[t]||(i[t]={}),y=v.prototype,_=h?r:d?r[t]:(r[t]||{}).prototype;h&&(n=t);for(u in n)(l=!f&&_&&void 0!==_[u])&&u in v||(c=l?_[u]:n[u],v[u]=h&&\"function\"!=typeof _[u]?n[u]:m&&l?o(c,r):g&&_[u]==c?function(e){var t=function(t,n,r){if(this instanceof e){switch(arguments.length){case 0:return new e;case 1:return new e(t);case 2:return new e(t,n)}return new e(t,n,r)}return e.apply(this,arguments)};return t.prototype=e.prototype,t}(c):p&&\"function\"==typeof c?o(Function.call,c):c,p&&((v.virtual||(v.virtual={}))[u]=c,e&s.R&&y&&!y[u]&&a(y,u,c)))};s.F=1,s.G=2,s.S=4,s.P=8,s.B=16,s.W=32,s.U=64,s.R=128,e.exports=s},function(e,t){e.exports=function(e){if(\"function\"!=typeof e)throw TypeError(e+\" is not a function!\");return e}},function(e,t,n){var r=n(71),i=n(75);e.exports=n(20)?function(e,t,n){return r.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},function(e,t,n){var r=n(72),i=n(73),o=n(74),a=Object.defineProperty;t.f=n(20)?Object.defineProperty:function(e,t,n){if(r(e),t=o(t,!0),r(n),i)try{return a(e,t,n)}catch(e){}if(\"get\"in n||\"set\"in n)throw TypeError(\"Accessors not supported!\");return\"value\"in n&&(e[t]=n.value),e}},function(e,t,n){var r=n(19);e.exports=function(e){if(!r(e))throw TypeError(e+\" is not an object!\");return e}},function(e,t,n){e.exports=!n(20)&&!n(32)(function(){return 7!=Object.defineProperty(n(33)(\"div\"),\"a\",{get:function(){return 7}}).a})},function(e,t,n){var r=n(19);e.exports=function(e,t){if(!r(e))return e;var n,i;if(t&&\"function\"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;if(\"function\"==typeof(n=e.valueOf)&&!r(i=n.call(e)))return i;if(!t&&\"function\"==typeof(n=e.toString)&&!r(i=n.call(e)))return i;throw TypeError(\"Can't convert object to primitive value\")}},function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},function(e,t,n){var r,i,o,a=n(31),s=n(77),u=n(78),l=n(33),c=n(15),f=c.process,h=c.setImmediate,d=c.clearImmediate,p=c.MessageChannel,m=0,g={},v=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},y=function(e){v.call(e.data)};h&&d||(h=function(e){for(var t=[],n=1;arguments.length>n;)t.push(arguments[n++]);return g[++m]=function(){s(\"function\"==typeof e?e:Function(e),t)},r(m),m},d=function(e){delete g[e]},\"process\"==n(79)(f)?r=function(e){f.nextTick(a(v,e,1))}:p?(i=new p,o=i.port2,i.port1.onmessage=y,r=a(o.postMessage,o,1)):c.addEventListener&&\"function\"==typeof postMessage&&!c.importScripts?(r=function(e){c.postMessage(e+\"\",\"*\")},c.addEventListener(\"message\",y,!1)):r=\"onreadystatechange\"in l(\"script\")?function(e){u.appendChild(l(\"script\")).onreadystatechange=function(){u.removeChild(this),v.call(e)}}:function(e){setTimeout(a(v,e,1),0)}),e.exports={set:h,clear:d}},function(e,t){e.exports=function(e,t,n){var r=void 0===n;switch(t.length){case 0:return r?e():e.call(n);case 1:return r?e(t[0]):e.call(n,t[0]);case 2:return r?e(t[0],t[1]):e.call(n,t[0],t[1]);case 3:return r?e(t[0],t[1],t[2]):e.call(n,t[0],t[1],t[2]);case 4:return r?e(t[0],t[1],t[2],t[3]):e.call(n,t[0],t[1],t[2],t[3])}return e.apply(n,t)}},function(e,t,n){e.exports=n(15).document&&document.documentElement},function(e,t){var n={}.toString;e.exports=function(e){return n.call(e).slice(8,-1)}},function(e,t,n){\"use strict\";function r(){}function i(e){if(\"function\"!=typeof e)throw new TypeError(\"resolver must be a function\");this.state=y,this.queue=[],this.outcome=void 0,e!==r&&u(this,e)}function o(e,t,n){this.promise=e,\"function\"==typeof t&&(this.onFulfilled=t,this.callFulfilled=this.otherCallFulfilled),\"function\"==typeof n&&(this.onRejected=n,this.callRejected=this.otherCallRejected)}function a(e,t,n){p(function(){var r;try{r=t(n)}catch(t){return m.reject(e,t)}r===e?m.reject(e,new TypeError(\"Cannot resolve promise with itself\")):m.resolve(e,r)})}function s(e){var t=e&&e.then;if(e&&(\"object\"==typeof e||\"function\"==typeof e)&&\"function\"==typeof t)return function(){t.apply(e,arguments)}}function u(e,t){function n(t){o||(o=!0,m.reject(e,t))}function r(t){o||(o=!0,m.resolve(e,t))}function i(){t(r,n)}var o=!1,a=l(i);\"error\"===a.status&&n(a.value)}function l(e,t){var n={};try{n.value=e(t),n.status=\"success\"}catch(e){n.status=\"error\",n.value=e}return n}function c(e){return e instanceof this?e:m.resolve(new this(r),e)}function f(e){var t=new this(r);return m.reject(t,e)}function h(e){var t=this;if(\"[object Array]\"!==Object.prototype.toString.call(e))return this.reject(new TypeError(\"must be an array\"));var n=e.length,i=!1;if(!n)return this.resolve([]);for(var o=new Array(n),a=0,s=-1,u=new this(r);++s<n;)!function(e,r){function s(e){o[r]=e,++a!==n||i||(i=!0,m.resolve(u,o))}t.resolve(e).then(s,function(e){i||(i=!0,m.reject(u,e))})}(e[s],s);return u}function d(e){var t=this;if(\"[object Array]\"!==Object.prototype.toString.call(e))return this.reject(new TypeError(\"must be an array\"));var n=e.length,i=!1;if(!n)return this.resolve([]);for(var o=-1,a=new this(r);++o<n;)!function(e){t.resolve(e).then(function(e){i||(i=!0,m.resolve(a,e))},function(e){i||(i=!0,m.reject(a,e))})}(e[o]);return a}var p=n(81),m={},g=[\"REJECTED\"],v=[\"FULFILLED\"],y=[\"PENDING\"];e.exports=i,i.prototype.catch=function(e){return this.then(null,e)},i.prototype.then=function(e,t){if(\"function\"!=typeof e&&this.state===v||\"function\"!=typeof t&&this.state===g)return this;var n=new this.constructor(r);return this.state!==y?a(n,this.state===v?e:t,this.outcome):this.queue.push(new o(n,e,t)),n},o.prototype.callFulfilled=function(e){m.resolve(this.promise,e)},o.prototype.otherCallFulfilled=function(e){a(this.promise,this.onFulfilled,e)},o.prototype.callRejected=function(e){m.reject(this.promise,e)},o.prototype.otherCallRejected=function(e){a(this.promise,this.onRejected,e)},m.resolve=function(e,t){var n=l(s,t);if(\"error\"===n.status)return m.reject(e,n.value);var r=n.value;if(r)u(e,r);else{e.state=v,e.outcome=t;for(var i=-1,o=e.queue.length;++i<o;)e.queue[i].callFulfilled(t)}return e},m.reject=function(e,t){e.state=g,e.outcome=t;for(var n=-1,r=e.queue.length;++n<r;)e.queue[n].callRejected(t);return e},i.resolve=c,i.reject=f,i.all=h,i.race=d},function(e,t,n){\"use strict\";(function(t){function n(){c=!0;for(var e,t,n=f.length;n;){for(t=f,f=[],e=-1;++e<n;)t[e]();n=f.length}c=!1}function r(e){1!==f.push(e)||c||i()}var i,o=t.MutationObserver||t.WebKitMutationObserver;if(o){var a=0,s=new o(n),u=t.document.createTextNode(\"\");s.observe(u,{characterData:!0}),i=function(){u.data=a=++a%2}}else if(t.setImmediate||void 0===t.MessageChannel)i=\"document\"in t&&\"onreadystatechange\"in t.document.createElement(\"script\")?function(){var e=t.document.createElement(\"script\");e.onreadystatechange=function(){n(),e.onreadystatechange=null,e.parentNode.removeChild(e),e=null},t.document.documentElement.appendChild(e)}:function(){setTimeout(n,0)};else{var l=new t.MessageChannel;l.port1.onmessage=n,i=function(){l.port2.postMessage(0)}}var c,f=[];e.exports=r}).call(t,n(10))},function(e,t,n){\"use strict\";function r(e){i.call(this,\"ConvertWorker to \"+e),this.destType=e}var i=n(1),o=n(0);o.inherits(r,i),r.prototype.processChunk=function(e){this.push({data:o.transformTo(this.destType,e.data),meta:e.meta})},e.exports=r},function(e,t,n){\"use strict\";function r(e,t,n){i.call(this,t),this._helper=e;var r=this;e.on(\"data\",function(e,t){r.push(e)||r._helper.pause(),n&&n(t)}).on(\"error\",function(e){r.emit(\"error\",e)}).on(\"end\",function(){r.push(null)})}var i=n(25).Readable;n(0).inherits(r,i),r.prototype._read=function(){this._helper.resume()},e.exports=r},function(e,t,n){\"use strict\";var r=n(34),i=n(36),o=n(6),a=n(21),s=n(1),u=function(e,t,n){this.name=e,this.dir=n.dir,this.date=n.date,this.comment=n.comment,this.unixPermissions=n.unixPermissions,this.dosPermissions=n.dosPermissions,this._data=t,this._dataBinary=n.binary,this.options={compression:n.compression,compressionOptions:n.compressionOptions}};u.prototype={internalStream:function(e){var t=null,n=\"string\";try{if(!e)throw new Error(\"No output type specified.\");n=e.toLowerCase();var i=\"string\"===n||\"text\"===n;\"binarystring\"!==n&&\"text\"!==n||(n=\"string\"),t=this._decompressWorker();var a=!this._dataBinary;a&&!i&&(t=t.pipe(new o.Utf8EncodeWorker)),!a&&i&&(t=t.pipe(new o.Utf8DecodeWorker))}catch(e){t=new s(\"error\"),t.error(e)}return new r(t,n,\"\")},async:function(e,t){return this.internalStream(e).accumulate(t)},nodeStream:function(e,t){return this.internalStream(e||\"nodebuffer\").toNodejsStream(t)},_compressWorker:function(e,t){if(this._data instanceof a&&this._data.compression.magic===e.magic)return this._data.getCompressedWorker();var n=this._decompressWorker();return this._dataBinary||(n=n.pipe(new o.Utf8EncodeWorker)),a.createWorkerFrom(n,e,t)},_decompressWorker:function(){return this._data instanceof a?this._data.getContentWorker():this._data instanceof s?this._data:new i(this._data)}};for(var l=[\"asText\",\"asBinary\",\"asNodeBuffer\",\"asUint8Array\",\"asArrayBuffer\"],c=function(){throw new Error(\"This method has been removed in JSZip 3.0, please check the upgrade guide.\")},f=0;f<l.length;f++)u.prototype[l[f]]=c;e.exports=u},function(e,t,n){\"use strict\";var r=n(39),i=n(96),o=function(e,t){var n=e||t,i=r[n];if(!i)throw new Error(n+\" is not a valid compression method !\");return i};t.generateWorker=function(e,t,n){var r=new i(t.streamFiles,n,t.platform,t.encodeFileName),a=0;try{e.forEach(function(e,n){a++;var i=o(n.options.compression,t.compression),s=n.options.compressionOptions||t.compressionOptions||{},u=n.dir,l=n.date;n._compressWorker(i,s).withStreamInfo(\"file\",{name:e,dir:u,date:l,comment:n.comment||\"\",unixPermissions:n.unixPermissions,dosPermissions:n.dosPermissions}).pipe(r)}),r.entriesCount=a}catch(e){r.error(e)}return r}},function(e,t,n){\"use strict\";function r(e,t){s.call(this,\"FlateWorker/\"+e),this._pako=null,this._pakoAction=e,this._pakoOptions=t,this.meta={}}var i=\"undefined\"!=typeof Uint8Array&&\"undefined\"!=typeof Uint16Array&&\"undefined\"!=typeof Uint32Array,o=n(87),a=n(0),s=n(1),u=i?\"uint8array\":\"array\";t.magic=\"\\b\\0\",a.inherits(r,s),r.prototype.processChunk=function(e){this.meta=e.meta,null===this._pako&&this._createPako(),this._pako.push(a.transformTo(u,e.data),!1)},r.prototype.flush=function(){s.prototype.flush.call(this),null===this._pako&&this._createPako(),this._pako.push([],!0)},r.prototype.cleanUp=function(){s.prototype.cleanUp.call(this),this._pako=null},r.prototype._createPako=function(){this._pako=new o[this._pakoAction]({raw:!0,level:this._pakoOptions.level||-1});var e=this;this._pako.onData=function(t){e.push({data:t,meta:e.meta})}},t.compressWorker=function(e){return new r(\"Deflate\",e)},t.uncompressWorker=function(){return new r(\"Inflate\",{})}},function(e,t,n){\"use strict\";var r=n(4).assign,i=n(88),o=n(91),a=n(44),s={};r(s,i,o,a),e.exports=s},function(e,t,n){\"use strict\";function r(e){if(!(this instanceof r))return new r(e);this.options=u.assign({level:p,method:g,chunkSize:16384,windowBits:15,memLevel:8,strategy:m,to:\"\"},e||{});var t=this.options;t.raw&&t.windowBits>0?t.windowBits=-t.windowBits:t.gzip&&t.windowBits>0&&t.windowBits<16&&(t.windowBits+=16),this.err=0,this.msg=\"\",this.ended=!1,this.chunks=[],this.strm=new f,this.strm.avail_out=0;var n=s.deflateInit2(this.strm,t.level,t.method,t.windowBits,t.memLevel,t.strategy);if(n!==d)throw new Error(c[n]);if(t.header&&s.deflateSetHeader(this.strm,t.header),t.dictionary){var i;if(i=\"string\"==typeof t.dictionary?l.string2buf(t.dictionary):\"[object ArrayBuffer]\"===h.call(t.dictionary)?new Uint8Array(t.dictionary):t.dictionary,(n=s.deflateSetDictionary(this.strm,i))!==d)throw new Error(c[n]);this._dict_set=!0}}function i(e,t){var n=new r(t);if(n.push(e,!0),n.err)throw n.msg||c[n.err];return n.result}function o(e,t){return t=t||{},t.raw=!0,i(e,t)}function a(e,t){return t=t||{},t.gzip=!0,i(e,t)}var s=n(89),u=n(4),l=n(42),c=n(23),f=n(43),h=Object.prototype.toString,d=0,p=-1,m=0,g=8;r.prototype.push=function(e,t){var n,r,i=this.strm,o=this.options.chunkSize;if(this.ended)return!1;r=t===~~t?t:!0===t?4:0,\"string\"==typeof e?i.input=l.string2buf(e):\"[object ArrayBuffer]\"===h.call(e)?i.input=new Uint8Array(e):i.input=e,i.next_in=0,i.avail_in=i.input.length;do{if(0===i.avail_out&&(i.output=new u.Buf8(o),i.next_out=0,i.avail_out=o),1!==(n=s.deflate(i,r))&&n!==d)return this.onEnd(n),this.ended=!0,!1;0!==i.avail_out&&(0!==i.avail_in||4!==r&&2!==r)||(\"string\"===this.options.to?this.onData(l.buf2binstring(u.shrinkBuf(i.output,i.next_out))):this.onData(u.shrinkBuf(i.output,i.next_out)))}while((i.avail_in>0||0===i.avail_out)&&1!==n);return 4===r?(n=s.deflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===d):2!==r||(this.onEnd(d),i.avail_out=0,!0)},r.prototype.onData=function(e){this.chunks.push(e)},r.prototype.onEnd=function(e){e===d&&(\"string\"===this.options.to?this.result=this.chunks.join(\"\"):this.result=u.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Deflate=r,t.deflate=i,t.deflateRaw=o,t.gzip=a},function(e,t,n){\"use strict\";function r(e,t){return e.msg=P[t],t}function i(e){return(e<<1)-(e>4?9:0)}function o(e){for(var t=e.length;--t>=0;)e[t]=0}function a(e){var t=e.state,n=t.pending;n>e.avail_out&&(n=e.avail_out),0!==n&&(I.arraySet(e.output,t.pending_buf,t.pending_out,n,e.next_out),e.next_out+=n,t.pending_out+=n,e.total_out+=n,e.avail_out-=n,t.pending-=n,0===t.pending&&(t.pending_out=0))}function s(e,t){R._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,a(e.strm)}function u(e,t){e.pending_buf[e.pending++]=t}function l(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=255&t}function c(e,t,n,r){var i=e.avail_in;return i>r&&(i=r),0===i?0:(e.avail_in-=i,I.arraySet(t,e.input,e.next_in,i,n),1===e.state.wrap?e.adler=B(e.adler,t,i,n):2===e.state.wrap&&(e.adler=z(e.adler,t,i,n)),e.next_in+=i,e.total_in+=i,i)}function f(e,t){var n,r,i=e.max_chain_length,o=e.strstart,a=e.prev_length,s=e.nice_match,u=e.strstart>e.w_size-le?e.strstart-(e.w_size-le):0,l=e.window,c=e.w_mask,f=e.prev,h=e.strstart+ue,d=l[o+a-1],p=l[o+a];e.prev_length>=e.good_match&&(i>>=2),s>e.lookahead&&(s=e.lookahead);do{if(n=t,l[n+a]===p&&l[n+a-1]===d&&l[n]===l[o]&&l[++n]===l[o+1]){o+=2,n++;do{}while(l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&l[++o]===l[++n]&&o<h);if(r=ue-(h-o),o=h-ue,r>a){if(e.match_start=t,a=r,r>=s)break;d=l[o+a-1],p=l[o+a]}}}while((t=f[t&c])>u&&0!=--i);return a<=e.lookahead?a:e.lookahead}function h(e){var t,n,r,i,o,a=e.w_size;do{if(i=e.window_size-e.lookahead-e.strstart,e.strstart>=a+(a-le)){I.arraySet(e.window,e.window,a,a,0),e.match_start-=a,e.strstart-=a,e.block_start-=a,n=e.hash_size,t=n;do{r=e.head[--t],e.head[t]=r>=a?r-a:0}while(--n);n=a,t=n;do{r=e.prev[--t],e.prev[t]=r>=a?r-a:0}while(--n);i+=a}if(0===e.strm.avail_in)break;if(n=c(e.strm,e.window,e.strstart+e.lookahead,i),e.lookahead+=n,e.lookahead+e.insert>=se)for(o=e.strstart-e.insert,e.ins_h=e.window[o],e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[o+se-1])&e.hash_mask,e.prev[o&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=o,o++,e.insert--,!(e.lookahead+e.insert<se)););}while(e.lookahead<le&&0!==e.strm.avail_in)}function d(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(h(e),0===e.lookahead&&t===L)return ye;if(0===e.lookahead)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((0===e.strstart||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,s(e,!1),0===e.strm.avail_out))return ye;if(e.strstart-e.block_start>=e.w_size-le&&(s(e,!1),0===e.strm.avail_out))return ye}return e.insert=0,t===D?(s(e,!0),0===e.strm.avail_out?be:we):(e.strstart>e.block_start&&(s(e,!1),e.strm.avail_out),ye)}function p(e,t){for(var n,r;;){if(e.lookahead<le){if(h(e),e.lookahead<le&&t===L)return ye;if(0===e.lookahead)break}if(n=0,e.lookahead>=se&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+se-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),0!==n&&e.strstart-n<=e.w_size-le&&(e.match_length=f(e,n)),e.match_length>=se)if(r=R._tr_tally(e,e.strstart-e.match_start,e.match_length-se),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=se){e.match_length--;do{e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+se-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart}while(0!=--e.match_length);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask;else r=R._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(r&&(s(e,!1),0===e.strm.avail_out))return ye}return e.insert=e.strstart<se-1?e.strstart:se-1,t===D?(s(e,!0),0===e.strm.avail_out?be:we):e.last_lit&&(s(e,!1),0===e.strm.avail_out)?ye:_e}function m(e,t){for(var n,r,i;;){if(e.lookahead<le){if(h(e),e.lookahead<le&&t===L)return ye;if(0===e.lookahead)break}if(n=0,e.lookahead>=se&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+se-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=se-1,0!==n&&e.prev_length<e.max_lazy_match&&e.strstart-n<=e.w_size-le&&(e.match_length=f(e,n),e.match_length<=5&&(e.strategy===q||e.match_length===se&&e.strstart-e.match_start>4096)&&(e.match_length=se-1)),e.prev_length>=se&&e.match_length<=e.prev_length){i=e.strstart+e.lookahead-se,r=R._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-se),e.lookahead-=e.prev_length-1,e.prev_length-=2;do{++e.strstart<=i&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+se-1])&e.hash_mask,n=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart)}while(0!=--e.prev_length);if(e.match_available=0,e.match_length=se-1,e.strstart++,r&&(s(e,!1),0===e.strm.avail_out))return ye}else if(e.match_available){if(r=R._tr_tally(e,0,e.window[e.strstart-1]),r&&s(e,!1),e.strstart++,e.lookahead--,0===e.strm.avail_out)return ye}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&(r=R._tr_tally(e,0,e.window[e.strstart-1]),e.match_available=0),e.insert=e.strstart<se-1?e.strstart:se-1,t===D?(s(e,!0),0===e.strm.avail_out?be:we):e.last_lit&&(s(e,!1),0===e.strm.avail_out)?ye:_e}function g(e,t){for(var n,r,i,o,a=e.window;;){if(e.lookahead<=ue){if(h(e),e.lookahead<=ue&&t===L)return ye;if(0===e.lookahead)break}if(e.match_length=0,e.lookahead>=se&&e.strstart>0&&(i=e.strstart-1,(r=a[i])===a[++i]&&r===a[++i]&&r===a[++i])){o=e.strstart+ue;do{}while(r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&r===a[++i]&&i<o);e.match_length=ue-(o-i),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=se?(n=R._tr_tally(e,1,e.match_length-se),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(n=R._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),n&&(s(e,!1),0===e.strm.avail_out))return ye}return e.insert=0,t===D?(s(e,!0),0===e.strm.avail_out?be:we):e.last_lit&&(s(e,!1),0===e.strm.avail_out)?ye:_e}function v(e,t){for(var n;;){if(0===e.lookahead&&(h(e),0===e.lookahead)){if(t===L)return ye;break}if(e.match_length=0,n=R._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,n&&(s(e,!1),0===e.strm.avail_out))return ye}return e.insert=0,t===D?(s(e,!0),0===e.strm.avail_out?be:we):e.last_lit&&(s(e,!1),0===e.strm.avail_out)?ye:_e}function y(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}function _(e){e.window_size=2*e.w_size,o(e.head),e.max_lazy_match=O[e.level].max_lazy,e.good_match=O[e.level].good_length,e.nice_match=O[e.level].nice_length,e.max_chain_length=O[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=se-1,e.match_available=0,e.ins_h=0}function b(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=$,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new I.Buf16(2*oe),this.dyn_dtree=new I.Buf16(2*(2*re+1)),this.bl_tree=new I.Buf16(2*(2*ie+1)),o(this.dyn_ltree),o(this.dyn_dtree),o(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new I.Buf16(ae+1),this.heap=new I.Buf16(2*ne+1),o(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new I.Buf16(2*ne+1),o(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function w(e){var t;return e&&e.state?(e.total_in=e.total_out=0,e.data_type=J,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?fe:ge,e.adler=2===t.wrap?0:1,t.last_flush=L,R._tr_init(t),U):r(e,Z)}function k(e){var t=w(e);return t===U&&_(e.state),t}function x(e,t){return e&&e.state?2!==e.state.wrap?Z:(e.state.gzhead=t,U):Z}function C(e,t,n,i,o,a){if(!e)return Z;var s=1;if(t===H&&(t=6),i<0?(s=0,i=-i):i>15&&(s=2,i-=16),o<1||o>Q||n!==$||i<8||i>15||t<0||t>9||a<0||a>X)return r(e,Z);8===i&&(i=9);var u=new b;return e.state=u,u.strm=e,u.wrap=s,u.gzhead=null,u.w_bits=i,u.w_size=1<<u.w_bits,u.w_mask=u.w_size-1,u.hash_bits=o+7,u.hash_size=1<<u.hash_bits,u.hash_mask=u.hash_size-1,u.hash_shift=~~((u.hash_bits+se-1)/se),u.window=new I.Buf8(2*u.w_size),u.head=new I.Buf16(u.hash_size),u.prev=new I.Buf16(u.w_size),u.lit_bufsize=1<<o+6,u.pending_buf_size=4*u.lit_bufsize,u.pending_buf=new I.Buf8(u.pending_buf_size),u.d_buf=1*u.lit_bufsize,u.l_buf=3*u.lit_bufsize,u.level=t,u.strategy=a,u.method=n,k(e)}function E(e,t){return C(e,t,$,ee,te,G)}function S(e,t){var n,s,c,f;if(!e||!e.state||t>N||t<0)return e?r(e,Z):Z;if(s=e.state,!e.output||!e.input&&0!==e.avail_in||s.status===ve&&t!==D)return r(e,0===e.avail_out?Y:Z);if(s.strm=e,n=s.last_flush,s.last_flush=t,s.status===fe)if(2===s.wrap)e.adler=0,u(s,31),u(s,139),u(s,8),s.gzhead?(u(s,(s.gzhead.text?1:0)+(s.gzhead.hcrc?2:0)+(s.gzhead.extra?4:0)+(s.gzhead.name?8:0)+(s.gzhead.comment?16:0)),u(s,255&s.gzhead.time),u(s,s.gzhead.time>>8&255),u(s,s.gzhead.time>>16&255),u(s,s.gzhead.time>>24&255),u(s,9===s.level?2:s.strategy>=V||s.level<2?4:0),u(s,255&s.gzhead.os),s.gzhead.extra&&s.gzhead.extra.length&&(u(s,255&s.gzhead.extra.length),u(s,s.gzhead.extra.length>>8&255)),s.gzhead.hcrc&&(e.adler=z(e.adler,s.pending_buf,s.pending,0)),s.gzindex=0,s.status=he):(u(s,0),u(s,0),u(s,0),u(s,0),u(s,0),u(s,9===s.level?2:s.strategy>=V||s.level<2?4:0),u(s,ke),s.status=ge);else{var h=$+(s.w_bits-8<<4)<<8,d=-1;d=s.strategy>=V||s.level<2?0:s.level<6?1:6===s.level?2:3,h|=d<<6,0!==s.strstart&&(h|=ce),h+=31-h%31,s.status=ge,l(s,h),0!==s.strstart&&(l(s,e.adler>>>16),l(s,65535&e.adler)),e.adler=1}if(s.status===he)if(s.gzhead.extra){for(c=s.pending;s.gzindex<(65535&s.gzhead.extra.length)&&(s.pending!==s.pending_buf_size||(s.gzhead.hcrc&&s.pending>c&&(e.adler=z(e.adler,s.pending_buf,s.pending-c,c)),a(e),c=s.pending,s.pending!==s.pending_buf_size));)u(s,255&s.gzhead.extra[s.gzindex]),s.gzindex++;s.gzhead.hcrc&&s.pending>c&&(e.adler=z(e.adler,s.pending_buf,s.pending-c,c)),s.gzindex===s.gzhead.extra.length&&(s.gzindex=0,s.status=de)}else s.status=de;if(s.status===de)if(s.gzhead.name){c=s.pending;do{if(s.pending===s.pending_buf_size&&(s.gzhead.hcrc&&s.pending>c&&(e.adler=z(e.adler,s.pending_buf,s.pending-c,c)),a(e),c=s.pending,s.pending===s.pending_buf_size)){f=1;break}f=s.gzindex<s.gzhead.name.length?255&s.gzhead.name.charCodeAt(s.gzindex++):0,u(s,f)}while(0!==f);s.gzhead.hcrc&&s.pending>c&&(e.adler=z(e.adler,s.pending_buf,s.pending-c,c)),0===f&&(s.gzindex=0,s.status=pe)}else s.status=pe;if(s.status===pe)if(s.gzhead.comment){c=s.pending;do{if(s.pending===s.pending_buf_size&&(s.gzhead.hcrc&&s.pending>c&&(e.adler=z(e.adler,s.pending_buf,s.pending-c,c)),a(e),c=s.pending,s.pending===s.pending_buf_size)){f=1;break}f=s.gzindex<s.gzhead.comment.length?255&s.gzhead.comment.charCodeAt(s.gzindex++):0,u(s,f)}while(0!==f);s.gzhead.hcrc&&s.pending>c&&(e.adler=z(e.adler,s.pending_buf,s.pending-c,c)),0===f&&(s.status=me)}else s.status=me;if(s.status===me&&(s.gzhead.hcrc?(s.pending+2>s.pending_buf_size&&a(e),s.pending+2<=s.pending_buf_size&&(u(s,255&e.adler),u(s,e.adler>>8&255),e.adler=0,s.status=ge)):s.status=ge),0!==s.pending){if(a(e),0===e.avail_out)return s.last_flush=-1,U}else if(0===e.avail_in&&i(t)<=i(n)&&t!==D)return r(e,Y);if(s.status===ve&&0!==e.avail_in)return r(e,Y);if(0!==e.avail_in||0!==s.lookahead||t!==L&&s.status!==ve){var p=s.strategy===V?v(s,t):s.strategy===K?g(s,t):O[s.level].func(s,t);if(p!==be&&p!==we||(s.status=ve),p===ye||p===be)return 0===e.avail_out&&(s.last_flush=-1),U;if(p===_e&&(t===M?R._tr_align(s):t!==N&&(R._tr_stored_block(s,0,0,!1),t===j&&(o(s.head),0===s.lookahead&&(s.strstart=0,s.block_start=0,s.insert=0))),a(e),0===e.avail_out))return s.last_flush=-1,U}return t!==D?U:s.wrap<=0?F:(2===s.wrap?(u(s,255&e.adler),u(s,e.adler>>8&255),u(s,e.adler>>16&255),u(s,e.adler>>24&255),u(s,255&e.total_in),u(s,e.total_in>>8&255),u(s,e.total_in>>16&255),u(s,e.total_in>>24&255)):(l(s,e.adler>>>16),l(s,65535&e.adler)),a(e),s.wrap>0&&(s.wrap=-s.wrap),0!==s.pending?U:F)}function T(e){var t;return e&&e.state?(t=e.state.status)!==fe&&t!==he&&t!==de&&t!==pe&&t!==me&&t!==ge&&t!==ve?r(e,Z):(e.state=null,t===ge?r(e,W):U):Z}function A(e,t){var n,r,i,a,s,u,l,c,f=t.length;if(!e||!e.state)return Z;if(n=e.state,2===(a=n.wrap)||1===a&&n.status!==fe||n.lookahead)return Z;for(1===a&&(e.adler=B(e.adler,t,f,0)),n.wrap=0,f>=n.w_size&&(0===a&&(o(n.head),n.strstart=0,n.block_start=0,n.insert=0),c=new I.Buf8(n.w_size),I.arraySet(c,t,f-n.w_size,n.w_size,0),t=c,f=n.w_size),s=e.avail_in,u=e.next_in,l=e.input,e.avail_in=f,e.next_in=0,e.input=t,h(n);n.lookahead>=se;){r=n.strstart,i=n.lookahead-(se-1);do{n.ins_h=(n.ins_h<<n.hash_shift^n.window[r+se-1])&n.hash_mask,n.prev[r&n.w_mask]=n.head[n.ins_h],n.head[n.ins_h]=r,r++}while(--i);n.strstart=r,n.lookahead=se-1,h(n)}return n.strstart+=n.lookahead,n.block_start=n.strstart,n.insert=n.lookahead,n.lookahead=0,n.match_length=n.prev_length=se-1,n.match_available=0,e.next_in=u,e.input=l,e.avail_in=s,n.wrap=a,U}var O,I=n(4),R=n(90),B=n(40),z=n(41),P=n(23),L=0,M=1,j=3,D=4,N=5,U=0,F=1,Z=-2,W=-3,Y=-5,H=-1,q=1,V=2,K=3,X=4,G=0,J=2,$=8,Q=9,ee=15,te=8,ne=286,re=30,ie=19,oe=2*ne+1,ae=15,se=3,ue=258,le=ue+se+1,ce=32,fe=42,he=69,de=73,pe=91,me=103,ge=113,ve=666,ye=1,_e=2,be=3,we=4,ke=3;O=[new y(0,0,0,0,d),new y(4,4,8,4,p),new y(4,5,16,8,p),new y(4,6,32,32,p),new y(4,4,16,16,m),new y(8,16,32,32,m),new y(8,16,128,128,m),new y(8,32,128,256,m),new y(32,128,258,1024,m),new y(32,258,258,4096,m)],t.deflateInit=E,t.deflateInit2=C,t.deflateReset=k,t.deflateResetKeep=w,t.deflateSetHeader=x,t.deflate=S,t.deflateEnd=T,t.deflateSetDictionary=A,t.deflateInfo=\"pako deflate (from Nodeca project)\"},function(e,t,n){\"use strict\";function r(e){for(var t=e.length;--t>=0;)e[t]=0}function i(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}function o(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function a(e){return e<256?oe[e]:oe[256+(e>>>7)]}function s(e,t){e.pending_buf[e.pending++]=255&t,e.pending_buf[e.pending++]=t>>>8&255}function u(e,t,n){e.bi_valid>V-n?(e.bi_buf|=t<<e.bi_valid&65535,s(e,e.bi_buf),e.bi_buf=t>>V-e.bi_valid,e.bi_valid+=n-V):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function l(e,t,n){u(e,n[2*t],n[2*t+1])}function c(e,t){var n=0;do{n|=1&e,e>>>=1,n<<=1}while(--t>0);return n>>>1}function f(e){16===e.bi_valid?(s(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=255&e.bi_buf,e.bi_buf>>=8,e.bi_valid-=8)}function h(e,t){var n,r,i,o,a,s,u=t.dyn_tree,l=t.max_code,c=t.stat_desc.static_tree,f=t.stat_desc.has_stree,h=t.stat_desc.extra_bits,d=t.stat_desc.extra_base,p=t.stat_desc.max_length,m=0;for(o=0;o<=q;o++)e.bl_count[o]=0;for(u[2*e.heap[e.heap_max]+1]=0,n=e.heap_max+1;n<H;n++)r=e.heap[n],o=u[2*u[2*r+1]+1]+1,o>p&&(o=p,m++),u[2*r+1]=o,r>l||(e.bl_count[o]++,a=0,r>=d&&(a=h[r-d]),s=u[2*r],e.opt_len+=s*(o+a),f&&(e.static_len+=s*(c[2*r+1]+a)));if(0!==m){do{for(o=p-1;0===e.bl_count[o];)o--;e.bl_count[o]--,e.bl_count[o+1]+=2,e.bl_count[p]--,m-=2}while(m>0);for(o=p;0!==o;o--)for(r=e.bl_count[o];0!==r;)(i=e.heap[--n])>l||(u[2*i+1]!==o&&(e.opt_len+=(o-u[2*i+1])*u[2*i],u[2*i+1]=o),r--)}}function d(e,t,n){var r,i,o=new Array(q+1),a=0;for(r=1;r<=q;r++)o[r]=a=a+n[r-1]<<1;for(i=0;i<=t;i++){var s=e[2*i+1];0!==s&&(e[2*i]=c(o[s]++,s))}}function p(){var e,t,n,r,o,a=new Array(q+1);for(n=0,r=0;r<U-1;r++)for(se[r]=n,e=0;e<1<<Q[r];e++)ae[n++]=r;for(ae[n-1]=r,o=0,r=0;r<16;r++)for(ue[r]=o,e=0;e<1<<ee[r];e++)oe[o++]=r;for(o>>=7;r<W;r++)for(ue[r]=o<<7,e=0;e<1<<ee[r]-7;e++)oe[256+o++]=r;for(t=0;t<=q;t++)a[t]=0;for(e=0;e<=143;)re[2*e+1]=8,e++,a[8]++;for(;e<=255;)re[2*e+1]=9,e++,a[9]++;for(;e<=279;)re[2*e+1]=7,e++,a[7]++;for(;e<=287;)re[2*e+1]=8,e++,a[8]++;for(d(re,Z+1,a),e=0;e<W;e++)ie[2*e+1]=5,ie[2*e]=c(e,5);le=new i(re,Q,F+1,Z,q),ce=new i(ie,ee,0,W,q),fe=new i(new Array(0),te,0,Y,K)}function m(e){var t;for(t=0;t<Z;t++)e.dyn_ltree[2*t]=0;for(t=0;t<W;t++)e.dyn_dtree[2*t]=0;for(t=0;t<Y;t++)e.bl_tree[2*t]=0;e.dyn_ltree[2*X]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function g(e){e.bi_valid>8?s(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function v(e,t,n,r){g(e),r&&(s(e,n),s(e,~n)),B.arraySet(e.pending_buf,e.window,t,n,e.pending),e.pending+=n}function y(e,t,n,r){var i=2*t,o=2*n;return e[i]<e[o]||e[i]===e[o]&&r[t]<=r[n]}function _(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&y(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!y(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r}function b(e,t,n){var r,i,o,s,c=0;if(0!==e.last_lit)do{r=e.pending_buf[e.d_buf+2*c]<<8|e.pending_buf[e.d_buf+2*c+1],i=e.pending_buf[e.l_buf+c],c++,0===r?l(e,i,t):(o=ae[i],l(e,o+F+1,t),s=Q[o],0!==s&&(i-=se[o],u(e,i,s)),r--,o=a(r),l(e,o,n),0!==(s=ee[o])&&(r-=ue[o],u(e,r,s)))}while(c<e.last_lit);l(e,X,t)}function w(e,t){var n,r,i,o=t.dyn_tree,a=t.stat_desc.static_tree,s=t.stat_desc.has_stree,u=t.stat_desc.elems,l=-1;for(e.heap_len=0,e.heap_max=H,n=0;n<u;n++)0!==o[2*n]?(e.heap[++e.heap_len]=l=n,e.depth[n]=0):o[2*n+1]=0;for(;e.heap_len<2;)i=e.heap[++e.heap_len]=l<2?++l:0,o[2*i]=1,e.depth[i]=0,e.opt_len--,s&&(e.static_len-=a[2*i+1]);for(t.max_code=l,n=e.heap_len>>1;n>=1;n--)_(e,o,n);i=u;do{n=e.heap[1],e.heap[1]=e.heap[e.heap_len--],_(e,o,1),r=e.heap[1],e.heap[--e.heap_max]=n,e.heap[--e.heap_max]=r,o[2*i]=o[2*n]+o[2*r],e.depth[i]=(e.depth[n]>=e.depth[r]?e.depth[n]:e.depth[r])+1,o[2*n+1]=o[2*r+1]=i,e.heap[1]=i++,_(e,o,1)}while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],h(e,t),d(o,l,e.bl_count)}function k(e,t,n){var r,i,o=-1,a=t[1],s=0,u=7,l=4;for(0===a&&(u=138,l=3),t[2*(n+1)+1]=65535,r=0;r<=n;r++)i=a,a=t[2*(r+1)+1],++s<u&&i===a||(s<l?e.bl_tree[2*i]+=s:0!==i?(i!==o&&e.bl_tree[2*i]++,e.bl_tree[2*G]++):s<=10?e.bl_tree[2*J]++:e.bl_tree[2*$]++,s=0,o=i,0===a?(u=138,l=3):i===a?(u=6,l=3):(u=7,l=4))}function x(e,t,n){var r,i,o=-1,a=t[1],s=0,c=7,f=4;for(0===a&&(c=138,f=3),r=0;r<=n;r++)if(i=a,a=t[2*(r+1)+1],!(++s<c&&i===a)){if(s<f)do{l(e,i,e.bl_tree)}while(0!=--s);else 0!==i?(i!==o&&(l(e,i,e.bl_tree),s--),l(e,G,e.bl_tree),u(e,s-3,2)):s<=10?(l(e,J,e.bl_tree),u(e,s-3,3)):(l(e,$,e.bl_tree),u(e,s-11,7));s=0,o=i,0===a?(c=138,f=3):i===a?(c=6,f=3):(c=7,f=4)}}function C(e){var t;for(k(e,e.dyn_ltree,e.l_desc.max_code),k(e,e.dyn_dtree,e.d_desc.max_code),w(e,e.bl_desc),t=Y-1;t>=3&&0===e.bl_tree[2*ne[t]+1];t--);return e.opt_len+=3*(t+1)+5+5+4,t}function E(e,t,n,r){var i;for(u(e,t-257,5),u(e,n-1,5),u(e,r-4,4),i=0;i<r;i++)u(e,e.bl_tree[2*ne[i]+1],3);x(e,e.dyn_ltree,t-1),x(e,e.dyn_dtree,n-1)}function S(e){var t,n=4093624447;for(t=0;t<=31;t++,n>>>=1)if(1&n&&0!==e.dyn_ltree[2*t])return P;if(0!==e.dyn_ltree[18]||0!==e.dyn_ltree[20]||0!==e.dyn_ltree[26])return L;for(t=32;t<F;t++)if(0!==e.dyn_ltree[2*t])return L;return P}function T(e){he||(p(),he=!0),e.l_desc=new o(e.dyn_ltree,le),e.d_desc=new o(e.dyn_dtree,ce),e.bl_desc=new o(e.bl_tree,fe),e.bi_buf=0,e.bi_valid=0,m(e)}function A(e,t,n,r){u(e,(j<<1)+(r?1:0),3),v(e,t,n,!0)}function O(e){u(e,D<<1,3),l(e,X,re),f(e)}function I(e,t,n,r){var i,o,a=0;e.level>0?(e.strm.data_type===M&&(e.strm.data_type=S(e)),w(e,e.l_desc),w(e,e.d_desc),a=C(e),i=e.opt_len+3+7>>>3,(o=e.static_len+3+7>>>3)<=i&&(i=o)):i=o=n+5,n+4<=i&&-1!==t?A(e,t,n,r):e.strategy===z||o===i?(u(e,(D<<1)+(r?1:0),3),b(e,re,ie)):(u(e,(N<<1)+(r?1:0),3),E(e,e.l_desc.max_code+1,e.d_desc.max_code+1,a+1),b(e,e.dyn_ltree,e.dyn_dtree)),m(e),r&&g(e)}function R(e,t,n){return e.pending_buf[e.d_buf+2*e.last_lit]=t>>>8&255,e.pending_buf[e.d_buf+2*e.last_lit+1]=255&t,e.pending_buf[e.l_buf+e.last_lit]=255&n,e.last_lit++,0===t?e.dyn_ltree[2*n]++:(e.matches++,t--,e.dyn_ltree[2*(ae[n]+F+1)]++,e.dyn_dtree[2*a(t)]++),e.last_lit===e.lit_bufsize-1}var B=n(4),z=4,P=0,L=1,M=2,j=0,D=1,N=2,U=29,F=256,Z=F+1+U,W=30,Y=19,H=2*Z+1,q=15,V=16,K=7,X=256,G=16,J=17,$=18,Q=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],ee=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],te=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],ne=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],re=new Array(2*(Z+2));r(re);var ie=new Array(2*W);r(ie);var oe=new Array(512);r(oe);var ae=new Array(256);r(ae);var se=new Array(U);r(se);var ue=new Array(W);r(ue);var le,ce,fe,he=!1;t._tr_init=T,t._tr_stored_block=A,t._tr_flush_block=I,t._tr_tally=R,t._tr_align=O},function(e,t,n){\"use strict\";function r(e){if(!(this instanceof r))return new r(e);this.options=s.assign({chunkSize:16384,windowBits:0,to:\"\"},e||{});var t=this.options;t.raw&&t.windowBits>=0&&t.windowBits<16&&(t.windowBits=-t.windowBits,0===t.windowBits&&(t.windowBits=-15)),!(t.windowBits>=0&&t.windowBits<16)||e&&e.windowBits||(t.windowBits+=32),t.windowBits>15&&t.windowBits<48&&0==(15&t.windowBits)&&(t.windowBits|=15),this.err=0,this.msg=\"\",this.ended=!1,this.chunks=[],this.strm=new f,this.strm.avail_out=0;var n=a.inflateInit2(this.strm,t.windowBits);if(n!==l.Z_OK)throw new Error(c[n]);this.header=new h,a.inflateGetHeader(this.strm,this.header)}function i(e,t){var n=new r(t);if(n.push(e,!0),n.err)throw n.msg||c[n.err];return n.result}function o(e,t){return t=t||{},t.raw=!0,i(e,t)}var a=n(92),s=n(4),u=n(42),l=n(44),c=n(23),f=n(43),h=n(95),d=Object.prototype.toString;r.prototype.push=function(e,t){var n,r,i,o,c,f,h=this.strm,p=this.options.chunkSize,m=this.options.dictionary,g=!1;if(this.ended)return!1;r=t===~~t?t:!0===t?l.Z_FINISH:l.Z_NO_FLUSH,\"string\"==typeof e?h.input=u.binstring2buf(e):\"[object ArrayBuffer]\"===d.call(e)?h.input=new Uint8Array(e):h.input=e,h.next_in=0,h.avail_in=h.input.length;do{if(0===h.avail_out&&(h.output=new s.Buf8(p),h.next_out=0,h.avail_out=p),n=a.inflate(h,l.Z_NO_FLUSH),n===l.Z_NEED_DICT&&m&&(f=\"string\"==typeof m?u.string2buf(m):\"[object ArrayBuffer]\"===d.call(m)?new Uint8Array(m):m,n=a.inflateSetDictionary(this.strm,f)),n===l.Z_BUF_ERROR&&!0===g&&(n=l.Z_OK,g=!1),n!==l.Z_STREAM_END&&n!==l.Z_OK)return this.onEnd(n),this.ended=!0,!1;h.next_out&&(0!==h.avail_out&&n!==l.Z_STREAM_END&&(0!==h.avail_in||r!==l.Z_FINISH&&r!==l.Z_SYNC_FLUSH)||(\"string\"===this.options.to?(i=u.utf8border(h.output,h.next_out),o=h.next_out-i,c=u.buf2string(h.output,i),h.next_out=o,h.avail_out=p-o,o&&s.arraySet(h.output,h.output,i,o,0),this.onData(c)):this.onData(s.shrinkBuf(h.output,h.next_out)))),0===h.avail_in&&0===h.avail_out&&(g=!0)}while((h.avail_in>0||0===h.avail_out)&&n!==l.Z_STREAM_END);return n===l.Z_STREAM_END&&(r=l.Z_FINISH),r===l.Z_FINISH?(n=a.inflateEnd(this.strm),this.onEnd(n),this.ended=!0,n===l.Z_OK):r!==l.Z_SYNC_FLUSH||(this.onEnd(l.Z_OK),h.avail_out=0,!0)},r.prototype.onData=function(e){this.chunks.push(e)},r.prototype.onEnd=function(e){e===l.Z_OK&&(\"string\"===this.options.to?this.result=this.chunks.join(\"\"):this.result=s.flattenChunks(this.chunks)),this.chunks=[],this.err=e,this.msg=this.strm.msg},t.Inflate=r,t.inflate=i,t.inflateRaw=o,t.ungzip=i},function(e,t,n){\"use strict\";function r(e){return(e>>>24&255)+(e>>>8&65280)+((65280&e)<<8)+((255&e)<<24)}function i(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new y.Buf16(320),this.work=new y.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function o(e){var t;return e&&e.state?(t=e.state,e.total_in=e.total_out=t.total=0,e.msg=\"\",t.wrap&&(e.adler=1&t.wrap),t.mode=j,t.last=0,t.havedict=0,t.dmax=32768,t.head=null,t.hold=0,t.bits=0,t.lencode=t.lendyn=new y.Buf32(me),t.distcode=t.distdyn=new y.Buf32(ge),t.sane=1,t.back=-1,O):B}function a(e){var t;return e&&e.state?(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,o(e)):B}function s(e,t){var n,r;return e&&e.state?(r=e.state,t<0?(n=0,t=-t):(n=1+(t>>4),t<48&&(t&=15)),t&&(t<8||t>15)?B:(null!==r.window&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,a(e))):B}function u(e,t){var n,r;return e?(r=new i,e.state=r,r.window=null,n=s(e,t),n!==O&&(e.state=null),n):B}function l(e){return u(e,ve)}function c(e){if(ye){var t;for(g=new y.Buf32(512),v=new y.Buf32(32),t=0;t<144;)e.lens[t++]=8;for(;t<256;)e.lens[t++]=9;for(;t<280;)e.lens[t++]=7;for(;t<288;)e.lens[t++]=8;for(k(C,e.lens,0,288,g,0,e.work,{bits:9}),t=0;t<32;)e.lens[t++]=5;k(E,e.lens,0,32,v,0,e.work,{bits:5}),ye=!1}e.lencode=g,e.lenbits=9,e.distcode=v,e.distbits=5}function f(e,t,n,r){var i,o=e.state;return null===o.window&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new y.Buf8(o.wsize)),r>=o.wsize?(y.arraySet(o.window,t,n-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(i=o.wsize-o.wnext,i>r&&(i=r),y.arraySet(o.window,t,n-r,i,o.wnext),r-=i,r?(y.arraySet(o.window,t,n-r,r,0),o.wnext=r,o.whave=o.wsize):(o.wnext+=i,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=i))),0}function h(e,t){var n,i,o,a,s,u,l,h,d,p,m,g,v,me,ge,ve,ye,_e,be,we,ke,xe,Ce,Ee,Se=0,Te=new y.Buf8(4),Ae=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&0!==e.avail_in)return B;n=e.state,n.mode===K&&(n.mode=X),s=e.next_out,o=e.output,l=e.avail_out,a=e.next_in,i=e.input,u=e.avail_in,h=n.hold,d=n.bits,p=u,m=l,xe=O;e:for(;;)switch(n.mode){case j:if(0===n.wrap){n.mode=X;break}for(;d<16;){if(0===u)break e;u--,h+=i[a++]<<d,d+=8}if(2&n.wrap&&35615===h){n.check=0,Te[0]=255&h,Te[1]=h>>>8&255,n.check=b(n.check,Te,2,0),h=0,d=0,n.mode=D;break}if(n.flags=0,n.head&&(n.head.done=!1),!(1&n.wrap)||(((255&h)<<8)+(h>>8))%31){e.msg=\"incorrect header check\",n.mode=he;break}if((15&h)!==M){e.msg=\"unknown compression method\",n.mode=he;break}if(h>>>=4,d-=4,ke=8+(15&h),0===n.wbits)n.wbits=ke;else if(ke>n.wbits){e.msg=\"invalid window size\",n.mode=he;break}n.dmax=1<<ke,e.adler=n.check=1,n.mode=512&h?q:K,h=0,d=0;break;case D:for(;d<16;){if(0===u)break e;u--,h+=i[a++]<<d,d+=8}if(n.flags=h,(255&n.flags)!==M){e.msg=\"unknown compression method\",n.mode=he;break}if(57344&n.flags){e.msg=\"unknown header flags set\",n.mode=he;break}n.head&&(n.head.text=h>>8&1),512&n.flags&&(Te[0]=255&h,Te[1]=h>>>8&255,n.check=b(n.check,Te,2,0)),h=0,d=0,n.mode=N;case N:for(;d<32;){if(0===u)break e;u--,h+=i[a++]<<d,d+=8}n.head&&(n.head.time=h),512&n.flags&&(Te[0]=255&h,Te[1]=h>>>8&255,Te[2]=h>>>16&255,Te[3]=h>>>24&255,n.check=b(n.check,Te,4,0)),h=0,d=0,n.mode=U;case U:for(;d<16;){if(0===u)break e;u--,h+=i[a++]<<d,d+=8}n.head&&(n.head.xflags=255&h,n.head.os=h>>8),512&n.flags&&(Te[0]=255&h,Te[1]=h>>>8&255,n.check=b(n.check,Te,2,0)),h=0,d=0,n.mode=F;case F:if(1024&n.flags){for(;d<16;){if(0===u)break e;u--,h+=i[a++]<<d,d+=8}n.length=h,n.head&&(n.head.extra_len=h),512&n.flags&&(Te[0]=255&h,Te[1]=h>>>8&255,n.check=b(n.check,Te,2,0)),h=0,d=0}else n.head&&(n.head.extra=null);n.mode=Z;case Z:if(1024&n.flags&&(g=n.length,g>u&&(g=u),g&&(n.head&&(ke=n.head.extra_len-n.length,n.head.extra||(n.head.extra=new Array(n.head.extra_len)),y.arraySet(n.head.extra,i,a,g,ke)),512&n.flags&&(n.check=b(n.check,i,g,a)),u-=g,a+=g,n.length-=g),n.length))break e;n.length=0,n.mode=W;case W:if(2048&n.flags){if(0===u)break e;g=0;do{ke=i[a+g++],n.head&&ke&&n.length<65536&&(n.head.name+=String.fromCharCode(ke))}while(ke&&g<u);if(512&n.flags&&(n.check=b(n.check,i,g,a)),u-=g,a+=g,ke)break e}else n.head&&(n.head.name=null);n.length=0,n.mode=Y;case Y:if(4096&n.flags){if(0===u)break e;g=0;do{ke=i[a+g++],n.head&&ke&&n.length<65536&&(n.head.comment+=String.fromCharCode(ke))}while(ke&&g<u);if(512&n.flags&&(n.check=b(n.check,i,g,a)),u-=g,a+=g,ke)break e}else n.head&&(n.head.comment=null);n.mode=H;case H:if(512&n.flags){for(;d<16;){if(0===u)break e;u--,h+=i[a++]<<d,d+=8}if(h!==(65535&n.check)){e.msg=\"header crc mismatch\",n.mode=he;break}h=0,d=0}n.head&&(n.head.hcrc=n.flags>>9&1,n.head.done=!0),e.adler=n.check=0,n.mode=K;break;case q:for(;d<32;){if(0===u)break e;u--,h+=i[a++]<<d,d+=8}e.adler=n.check=r(h),h=0,d=0,n.mode=V;case V:if(0===n.havedict)return e.next_out=s,e.avail_out=l,e.next_in=a,e.avail_in=u,n.hold=h,n.bits=d,R;e.adler=n.check=1,n.mode=K;case K:if(t===T||t===A)break e;case X:if(n.last){h>>>=7&d,d-=7&d,n.mode=le;break}for(;d<3;){if(0===u)break e;u--,h+=i[a++]<<d,d+=8}switch(n.last=1&h,h>>>=1,d-=1,3&h){case 0:n.mode=G;break;case 1:if(c(n),n.mode=ne,t===A){h>>>=2,d-=2;break e}break;case 2:n.mode=Q;break;case 3:e.msg=\"invalid block type\",n.mode=he}h>>>=2,d-=2;break;case G:for(h>>>=7&d,d-=7&d;d<32;){if(0===u)break e;u--,h+=i[a++]<<d,d+=8}if((65535&h)!=(h>>>16^65535)){e.msg=\"invalid stored block lengths\",n.mode=he;break}if(n.length=65535&h,h=0,d=0,n.mode=J,t===A)break e;case J:n.mode=$;case $:if(g=n.length){if(g>u&&(g=u),g>l&&(g=l),0===g)break e;y.arraySet(o,i,a,g,s),u-=g,a+=g,l-=g,s+=g,n.length-=g;break}n.mode=K;break;case Q:for(;d<14;){if(0===u)break e;u--,h+=i[a++]<<d,d+=8}if(n.nlen=257+(31&h),h>>>=5,d-=5,n.ndist=1+(31&h),h>>>=5,d-=5,n.ncode=4+(15&h),h>>>=4,d-=4,n.nlen>286||n.ndist>30){e.msg=\"too many length or distance symbols\",n.mode=he;break}n.have=0,n.mode=ee;case ee:for(;n.have<n.ncode;){for(;d<3;){if(0===u)break e;u--,h+=i[a++]<<d,d+=8}n.lens[Ae[n.have++]]=7&h,h>>>=3,d-=3}for(;n.have<19;)n.lens[Ae[n.have++]]=0;if(n.lencode=n.lendyn,n.lenbits=7,Ce={bits:n.lenbits},xe=k(x,n.lens,0,19,n.lencode,0,n.work,Ce),n.lenbits=Ce.bits,xe){e.msg=\"invalid code lengths set\",n.mode=he;break}n.have=0,n.mode=te;case te:for(;n.have<n.nlen+n.ndist;){for(;Se=n.lencode[h&(1<<n.lenbits)-1],ge=Se>>>24,ve=Se>>>16&255,ye=65535&Se,!(ge<=d);){if(0===u)break e;u--,h+=i[a++]<<d,d+=8}if(ye<16)h>>>=ge,d-=ge,n.lens[n.have++]=ye;else{if(16===ye){for(Ee=ge+2;d<Ee;){if(0===u)break e;u--,h+=i[a++]<<d,d+=8}if(h>>>=ge,d-=ge,0===n.have){e.msg=\"invalid bit length repeat\",n.mode=he;break}ke=n.lens[n.have-1],g=3+(3&h),h>>>=2,d-=2}else if(17===ye){for(Ee=ge+3;d<Ee;){if(0===u)break e;u--,h+=i[a++]<<d,d+=8}h>>>=ge,d-=ge,ke=0,g=3+(7&h),h>>>=3,d-=3}else{for(Ee=ge+7;d<Ee;){if(0===u)break e;u--,h+=i[a++]<<d,d+=8}h>>>=ge,d-=ge,ke=0,g=11+(127&h),h>>>=7,d-=7}if(n.have+g>n.nlen+n.ndist){e.msg=\"invalid bit length repeat\",n.mode=he;break}for(;g--;)n.lens[n.have++]=ke}}if(n.mode===he)break;if(0===n.lens[256]){e.msg=\"invalid code -- missing end-of-block\",n.mode=he;break}if(n.lenbits=9,Ce={bits:n.lenbits},xe=k(C,n.lens,0,n.nlen,n.lencode,0,n.work,Ce),n.lenbits=Ce.bits,xe){e.msg=\"invalid literal/lengths set\",n.mode=he;break}if(n.distbits=6,n.distcode=n.distdyn,Ce={bits:n.distbits},xe=k(E,n.lens,n.nlen,n.ndist,n.distcode,0,n.work,Ce),n.distbits=Ce.bits,xe){e.msg=\"invalid distances set\",n.mode=he;break}if(n.mode=ne,t===A)break e;case ne:n.mode=re;case re:if(u>=6&&l>=258){e.next_out=s,e.avail_out=l,e.next_in=a,e.avail_in=u,n.hold=h,n.bits=d,w(e,m),s=e.next_out,o=e.output,l=e.avail_out,a=e.next_in,i=e.input,u=e.avail_in,h=n.hold,d=n.bits,n.mode===K&&(n.back=-1);break}for(n.back=0;Se=n.lencode[h&(1<<n.lenbits)-1],ge=Se>>>24,ve=Se>>>16&255,ye=65535&Se,!(ge<=d);){if(0===u)break e;u--,h+=i[a++]<<d,d+=8}if(ve&&0==(240&ve)){for(_e=ge,be=ve,we=ye;Se=n.lencode[we+((h&(1<<_e+be)-1)>>_e)],ge=Se>>>24,ve=Se>>>16&255,ye=65535&Se,!(_e+ge<=d);){if(0===u)break e;u--,h+=i[a++]<<d,d+=8}h>>>=_e,d-=_e,n.back+=_e}if(h>>>=ge,d-=ge,n.back+=ge,n.length=ye,0===ve){n.mode=ue;break}if(32&ve){n.back=-1,n.mode=K;break}if(64&ve){e.msg=\"invalid literal/length code\",n.mode=he;break}n.extra=15&ve,n.mode=ie;case ie:if(n.extra){for(Ee=n.extra;d<Ee;){if(0===u)break e;u--,h+=i[a++]<<d,d+=8}n.length+=h&(1<<n.extra)-1,h>>>=n.extra,d-=n.extra,n.back+=n.extra}n.was=n.length,n.mode=oe;case oe:for(;Se=n.distcode[h&(1<<n.distbits)-1],ge=Se>>>24,ve=Se>>>16&255,ye=65535&Se,!(ge<=d);){if(0===u)break e;u--,h+=i[a++]<<d,d+=8}if(0==(240&ve)){for(_e=ge,be=ve,we=ye;Se=n.distcode[we+((h&(1<<_e+be)-1)>>_e)],ge=Se>>>24,ve=Se>>>16&255,ye=65535&Se,!(_e+ge<=d);){if(0===u)break e;u--,h+=i[a++]<<d,d+=8}h>>>=_e,d-=_e,n.back+=_e}if(h>>>=ge,d-=ge,n.back+=ge,64&ve){e.msg=\"invalid distance code\",n.mode=he;break}n.offset=ye,n.extra=15&ve,n.mode=ae;case ae:if(n.extra){for(Ee=n.extra;d<Ee;){if(0===u)break e;u--,h+=i[a++]<<d,d+=8}n.offset+=h&(1<<n.extra)-1,h>>>=n.extra,d-=n.extra,n.back+=n.extra}if(n.offset>n.dmax){e.msg=\"invalid distance too far back\",n.mode=he;break}n.mode=se;case se:if(0===l)break e;if(g=m-l,n.offset>g){if((g=n.offset-g)>n.whave&&n.sane){e.msg=\"invalid distance too far back\",n.mode=he;break}g>n.wnext?(g-=n.wnext,v=n.wsize-g):v=n.wnext-g,g>n.length&&(g=n.length),me=n.window}else me=o,v=s-n.offset,g=n.length;g>l&&(g=l),l-=g,n.length-=g;do{o[s++]=me[v++]}while(--g);0===n.length&&(n.mode=re);break;case ue:if(0===l)break e;o[s++]=n.length,l--,n.mode=re;break;case le:if(n.wrap){for(;d<32;){if(0===u)break e;u--,h|=i[a++]<<d,d+=8}if(m-=l,e.total_out+=m,n.total+=m,m&&(e.adler=n.check=n.flags?b(n.check,o,m,s-m):_(n.check,o,m,s-m)),m=l,(n.flags?h:r(h))!==n.check){e.msg=\"incorrect data check\",n.mode=he;break}h=0,d=0}n.mode=ce;case ce:if(n.wrap&&n.flags){for(;d<32;){if(0===u)break e;u--,h+=i[a++]<<d,d+=8}if(h!==(4294967295&n.total)){e.msg=\"incorrect length check\",n.mode=he;break}h=0,d=0}n.mode=fe;case fe:xe=I;break e;case he:xe=z;break e;case de:return P;case pe:default:return B}return e.next_out=s,e.avail_out=l,e.next_in=a,e.avail_in=u,n.hold=h,n.bits=d,(n.wsize||m!==e.avail_out&&n.mode<he&&(n.mode<le||t!==S))&&f(e,e.output,e.next_out,m-e.avail_out)?(n.mode=de,P):(p-=e.avail_in,m-=e.avail_out,e.total_in+=p,e.total_out+=m,n.total+=m,n.wrap&&m&&(e.adler=n.check=n.flags?b(n.check,o,m,e.next_out-m):_(n.check,o,m,e.next_out-m)),e.data_type=n.bits+(n.last?64:0)+(n.mode===K?128:0)+(n.mode===ne||n.mode===J?256:0),(0===p&&0===m||t===S)&&xe===O&&(xe=L),xe)}function d(e){if(!e||!e.state)return B;var t=e.state;return t.window&&(t.window=null),e.state=null,O}function p(e,t){var n;return e&&e.state?(n=e.state,0==(2&n.wrap)?B:(n.head=t,t.done=!1,O)):B}function m(e,t){var n,r,i=t.length;return e&&e.state?(n=e.state,0!==n.wrap&&n.mode!==V?B:n.mode===V&&(r=1,(r=_(r,t,i,0))!==n.check)?z:f(e,t,i,i)?(n.mode=de,P):(n.havedict=1,O)):B}var g,v,y=n(4),_=n(40),b=n(41),w=n(93),k=n(94),x=0,C=1,E=2,S=4,T=5,A=6,O=0,I=1,R=2,B=-2,z=-3,P=-4,L=-5,M=8,j=1,D=2,N=3,U=4,F=5,Z=6,W=7,Y=8,H=9,q=10,V=11,K=12,X=13,G=14,J=15,$=16,Q=17,ee=18,te=19,ne=20,re=21,ie=22,oe=23,ae=24,se=25,ue=26,le=27,ce=28,fe=29,he=30,de=31,pe=32,me=852,ge=592,ve=15,ye=!0;t.inflateReset=a,t.inflateReset2=s,t.inflateResetKeep=o,t.inflateInit=l,t.inflateInit2=u,t.inflate=h,t.inflateEnd=d,t.inflateGetHeader=p,t.inflateSetDictionary=m,t.inflateInfo=\"pako inflate (from Nodeca project)\"},function(e,t,n){\"use strict\";e.exports=function(e,t){var n,r,i,o,a,s,u,l,c,f,h,d,p,m,g,v,y,_,b,w,k,x,C,E,S;n=e.state,r=e.next_in,E=e.input,i=r+(e.avail_in-5),o=e.next_out,S=e.output,a=o-(t-e.avail_out),s=o+(e.avail_out-257),u=n.dmax,l=n.wsize,c=n.whave,f=n.wnext,h=n.window,d=n.hold,p=n.bits,m=n.lencode,g=n.distcode,v=(1<<n.lenbits)-1,y=(1<<n.distbits)-1;e:do{p<15&&(d+=E[r++]<<p,p+=8,d+=E[r++]<<p,p+=8),_=m[d&v];t:for(;;){if(b=_>>>24,d>>>=b,p-=b,0==(b=_>>>16&255))S[o++]=65535&_;else{if(!(16&b)){if(0==(64&b)){_=m[(65535&_)+(d&(1<<b)-1)];continue t}if(32&b){n.mode=12;break e}e.msg=\"invalid literal/length code\",n.mode=30;break e}w=65535&_,b&=15,b&&(p<b&&(d+=E[r++]<<p,p+=8),w+=d&(1<<b)-1,d>>>=b,p-=b),p<15&&(d+=E[r++]<<p,p+=8,d+=E[r++]<<p,p+=8),_=g[d&y];n:for(;;){if(b=_>>>24,d>>>=b,p-=b,!(16&(b=_>>>16&255))){if(0==(64&b)){_=g[(65535&_)+(d&(1<<b)-1)];continue n}e.msg=\"invalid distance code\",n.mode=30;break e}if(k=65535&_,b&=15,p<b&&(d+=E[r++]<<p,(p+=8)<b&&(d+=E[r++]<<p,p+=8)),(k+=d&(1<<b)-1)>u){e.msg=\"invalid distance too far back\",n.mode=30;break e}if(d>>>=b,p-=b,b=o-a,k>b){if((b=k-b)>c&&n.sane){e.msg=\"invalid distance too far back\",n.mode=30;break e}if(x=0,C=h,0===f){if(x+=l-b,b<w){w-=b;do{S[o++]=h[x++]}while(--b);x=o-k,C=S}}else if(f<b){if(x+=l+f-b,(b-=f)<w){w-=b;do{S[o++]=h[x++]}while(--b);if(x=0,f<w){b=f,w-=b;do{S[o++]=h[x++]}while(--b);x=o-k,C=S}}}else if(x+=f-b,b<w){w-=b;do{S[o++]=h[x++]}while(--b);x=o-k,C=S}for(;w>2;)S[o++]=C[x++],S[o++]=C[x++],S[o++]=C[x++],w-=3;w&&(S[o++]=C[x++],w>1&&(S[o++]=C[x++]))}else{x=o-k;do{S[o++]=S[x++],S[o++]=S[x++],S[o++]=S[x++],w-=3}while(w>2);w&&(S[o++]=S[x++],w>1&&(S[o++]=S[x++]))}break}}break}}while(r<i&&o<s);w=p>>3,r-=w,p-=w<<3,d&=(1<<p)-1,e.next_in=r,e.next_out=o,e.avail_in=r<i?i-r+5:5-(r-i),e.avail_out=o<s?s-o+257:257-(o-s),n.hold=d,n.bits=p}},function(e,t,n){\"use strict\";var r=n(4),i=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],o=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],a=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],s=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];e.exports=function(e,t,n,u,l,c,f,h){var d,p,m,g,v,y,_,b,w,k=h.bits,x=0,C=0,E=0,S=0,T=0,A=0,O=0,I=0,R=0,B=0,z=null,P=0,L=new r.Buf16(16),M=new r.Buf16(16),j=null,D=0;for(x=0;x<=15;x++)L[x]=0;for(C=0;C<u;C++)L[t[n+C]]++;for(T=k,S=15;S>=1&&0===L[S];S--);if(T>S&&(T=S),0===S)return l[c++]=20971520,l[c++]=20971520,h.bits=1,0;for(E=1;E<S&&0===L[E];E++);for(T<E&&(T=E),I=1,x=1;x<=15;x++)if(I<<=1,(I-=L[x])<0)return-1;if(I>0&&(0===e||1!==S))return-1;for(M[1]=0,x=1;x<15;x++)M[x+1]=M[x]+L[x];for(C=0;C<u;C++)0!==t[n+C]&&(f[M[t[n+C]]++]=C);if(0===e?(z=j=f,y=19):1===e?(z=i,P-=257,j=o,D-=257,y=256):(z=a,j=s,y=-1),B=0,C=0,x=E,v=c,A=T,O=0,m=-1,R=1<<T,g=R-1,1===e&&R>852||2===e&&R>592)return 1;for(;;){_=x-O,f[C]<y?(b=0,w=f[C]):f[C]>y?(b=j[D+f[C]],w=z[P+f[C]]):(b=96,w=0),d=1<<x-O,p=1<<A,E=p;do{p-=d,l[v+(B>>O)+p]=_<<24|b<<16|w|0}while(0!==p);for(d=1<<x-1;B&d;)d>>=1;if(0!==d?(B&=d-1,B+=d):B=0,C++,0==--L[x]){if(x===S)break;x=t[n+f[C]]}if(x>T&&(B&g)!==m){for(0===O&&(O=T),v+=E,A=x-O,I=1<<A;A+O<S&&!((I-=L[A+O])<=0);)A++,I<<=1;if(R+=1<<A,1===e&&R>852||2===e&&R>592)return 1;m=B&g,l[m]=T<<24|A<<16|v-c|0}}return 0!==B&&(l[v+B]=x-O<<24|64<<16|0),h.bits=T,0}},function(e,t,n){\"use strict\";function r(){this.text=0,this.time=0,this.xflags=0,this.os=0,this.extra=null,this.extra_len=0,this.name=\"\",this.comment=\"\",this.hcrc=0,this.done=!1}e.exports=r},function(e,t,n){\"use strict\";function r(e,t,n,r){o.call(this,\"ZipFileWorker\"),this.bytesWritten=0,this.zipComment=t,this.zipPlatform=n,this.encodeFileName=r,this.streamFiles=e,this.accumulate=!1,this.contentBuffer=[],this.dirRecords=[],this.currentSourceOffset=0,this.entriesCount=0,this.currentFile=null,this._sources=[]}var i=n(0),o=n(1),a=n(6),s=n(22),u=n(45),l=function(e,t){var n,r=\"\";for(n=0;n<t;n++)r+=String.fromCharCode(255&e),e>>>=8;return r},c=function(e,t){var n=e;return e||(n=t?16893:33204),(65535&n)<<16},f=function(e,t){return 63&(e||0)},h=function(e,t,n,r,o,h){var d,p,m=e.file,g=e.compression,v=h!==a.utf8encode,y=i.transformTo(\"string\",h(m.name)),_=i.transformTo(\"string\",a.utf8encode(m.name)),b=m.comment,w=i.transformTo(\"string\",h(b)),k=i.transformTo(\"string\",a.utf8encode(b)),x=_.length!==m.name.length,C=k.length!==b.length,E=\"\",S=\"\",T=\"\",A=m.dir,O=m.date,I={crc32:0,compressedSize:0,uncompressedSize:0};t&&!n||(I.crc32=e.crc32,I.compressedSize=e.compressedSize,I.uncompressedSize=e.uncompressedSize);var R=0;t&&(R|=8),v||!x&&!C||(R|=2048);var B=0,z=0;A&&(B|=16),\"UNIX\"===o?(z=798,B|=c(m.unixPermissions,A)):(z=20,B|=f(m.dosPermissions)),d=O.getUTCHours(),d<<=6,d|=O.getUTCMinutes(),d<<=5,d|=O.getUTCSeconds()/2,p=O.getUTCFullYear()-1980,p<<=4,p|=O.getUTCMonth()+1,p<<=5,p|=O.getUTCDate(),x&&(S=l(1,1)+l(s(y),4)+_,E+=\"up\"+l(S.length,2)+S),C&&(T=l(1,1)+l(s(w),4)+k,E+=\"uc\"+l(T.length,2)+T);var P=\"\";return P+=\"\\n\\0\",P+=l(R,2),P+=g.magic,P+=l(d,2),P+=l(p,2),P+=l(I.crc32,4),P+=l(I.compressedSize,4),P+=l(I.uncompressedSize,4),P+=l(y.length,2),P+=l(E.length,2),{fileRecord:u.LOCAL_FILE_HEADER+P+y+E,dirRecord:u.CENTRAL_FILE_HEADER+l(z,2)+P+l(w.length,2)+\"\\0\\0\\0\\0\"+l(B,4)+l(r,4)+y+E+w}},d=function(e,t,n,r,o){var a=i.transformTo(\"string\",o(r));return u.CENTRAL_DIRECTORY_END+\"\\0\\0\\0\\0\"+l(e,2)+l(e,2)+l(t,4)+l(n,4)+l(a.length,2)+a},p=function(e){return u.DATA_DESCRIPTOR+l(e.crc32,4)+l(e.compressedSize,4)+l(e.uncompressedSize,4)};i.inherits(r,o),r.prototype.push=function(e){var t=e.meta.percent||0,n=this.entriesCount,r=this._sources.length;this.accumulate?this.contentBuffer.push(e):(this.bytesWritten+=e.data.length,o.prototype.push.call(this,{data:e.data,meta:{currentFile:this.currentFile,percent:n?(t+100*(n-r-1))/n:100}}))},r.prototype.openedSource=function(e){this.currentSourceOffset=this.bytesWritten,this.currentFile=e.file.name;var t=this.streamFiles&&!e.file.dir;if(t){var n=h(e,t,!1,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);this.push({data:n.fileRecord,meta:{percent:0}})}else this.accumulate=!0},r.prototype.closedSource=function(e){this.accumulate=!1;var t=this.streamFiles&&!e.file.dir,n=h(e,t,!0,this.currentSourceOffset,this.zipPlatform,this.encodeFileName);if(this.dirRecords.push(n.dirRecord),t)this.push({data:p(e),meta:{percent:100}});else for(this.push({data:n.fileRecord,meta:{percent:0}});this.contentBuffer.length;)this.push(this.contentBuffer.shift());this.currentFile=null},r.prototype.flush=function(){for(var e=this.bytesWritten,t=0;t<this.dirRecords.length;t++)this.push({data:this.dirRecords[t],meta:{percent:100}});var n=this.bytesWritten-e,r=d(this.dirRecords.length,n,e,this.zipComment,this.encodeFileName);this.push({data:r,meta:{percent:100}})},r.prototype.prepareNextSource=function(){this.previous=this._sources.shift(),this.openedSource(this.previous.streamInfo),this.isPaused?this.previous.pause():this.previous.resume()},r.prototype.registerPrevious=function(e){this._sources.push(e);var t=this;return e.on(\"data\",function(e){t.processChunk(e)}),e.on(\"end\",function(){t.closedSource(t.previous.streamInfo),t._sources.length?t.prepareNextSource():t.end()}),e.on(\"error\",function(e){t.error(e)}),this},r.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(!this.previous&&this._sources.length?(this.prepareNextSource(),!0):this.previous||this._sources.length||this.generatedError?void 0:(this.end(),!0))},r.prototype.error=function(e){var t=this._sources;if(!o.prototype.error.call(this,e))return!1;for(var n=0;n<t.length;n++)try{t[n].error(e)}catch(e){}return!0},r.prototype.lock=function(){o.prototype.lock.call(this);for(var e=this._sources,t=0;t<e.length;t++)e[t].lock()},e.exports=r},function(e,t,n){\"use strict\";function r(e,t){o.call(this,\"Nodejs stream input adapter for \"+e),this._upstreamEnded=!1,this._bindStream(t)}var i=n(0),o=n(1);i.inherits(r,o),r.prototype._bindStream=function(e){var t=this;this._stream=e,e.pause(),e.on(\"data\",function(e){t.push({data:e,meta:{percent:0}})}).on(\"error\",function(e){t.isPaused?this.generatedError=e:t.error(e)}).on(\"end\",function(){t.isPaused?t._upstreamEnded=!0:t.end()})},r.prototype.pause=function(){return!!o.prototype.pause.call(this)&&(this._stream.pause(),!0)},r.prototype.resume=function(){return!!o.prototype.resume.call(this)&&(this._upstreamEnded?this.end():this._stream.resume(),!0)},e.exports=r},function(e,t,n){\"use strict\";function r(e){return new o.Promise(function(t,n){var r=e.decompressed.getContentWorker().pipe(new u);r.on(\"error\",function(e){n(e)}).on(\"end\",function(){r.streamInfo.crc32!==e.decompressed.crc32?n(new Error(\"Corrupted zip : CRC32 mismatch\")):t()}).resume()})}var i=n(0),o=n(9),a=n(6),i=n(0),s=n(99),u=n(38),l=n(14);e.exports=function(e,t){var n=this;return t=i.extend(t||{},{base64:!1,checkCRC32:!1,optimizedBinaryString:!1,createFolders:!1,decodeFileName:a.utf8decode}),l.isNode&&l.isStream(e)?o.Promise.reject(new Error(\"JSZip can't accept a stream when loading a zip file.\")):i.prepareContent(\"the loaded zip file\",e,!0,t.optimizedBinaryString,t.base64).then(function(e){var n=new s(t);return n.load(e),n}).then(function(e){var n=[o.Promise.resolve(e)],i=e.files;if(t.checkCRC32)for(var a=0;a<i.length;a++)n.push(r(i[a]));return o.Promise.all(n)}).then(function(e){for(var r=e.shift(),i=r.files,o=0;o<i.length;o++){var a=i[o];n.file(a.fileNameStr,a.decompressed,{binary:!0,optimizedBinaryString:!0,date:a.date,dir:a.dir,comment:a.fileCommentStr.length?a.fileCommentStr:null,unixPermissions:a.unixPermissions,dosPermissions:a.dosPermissions,createFolders:t.createFolders})}return r.zipComment.length&&(n.comment=r.zipComment),n})}},function(e,t,n){\"use strict\";function r(e){this.files=[],this.loadOptions=e}var i=n(46),o=n(0),a=n(45),s=n(102),u=(n(6),n(3));r.prototype={checkSignature:function(e){if(!this.reader.readAndCheckSignature(e)){this.reader.index-=4;var t=this.reader.readString(4);throw new Error(\"Corrupted zip or bug: unexpected signature (\"+o.pretty(t)+\", expected \"+o.pretty(e)+\")\")}},isSignature:function(e,t){var n=this.reader.index;this.reader.setIndex(e);var r=this.reader.readString(4),i=r===t;return this.reader.setIndex(n),i},readBlockEndOfCentral:function(){this.diskNumber=this.reader.readInt(2),this.diskWithCentralDirStart=this.reader.readInt(2),this.centralDirRecordsOnThisDisk=this.reader.readInt(2),this.centralDirRecords=this.reader.readInt(2),this.centralDirSize=this.reader.readInt(4),this.centralDirOffset=this.reader.readInt(4),this.zipCommentLength=this.reader.readInt(2);var e=this.reader.readData(this.zipCommentLength),t=u.uint8array?\"uint8array\":\"array\",n=o.transformTo(t,e);this.zipComment=this.loadOptions.decodeFileName(n)},readBlockZip64EndOfCentral:function(){this.zip64EndOfCentralSize=this.reader.readInt(8),this.reader.skip(4),this.diskNumber=this.reader.readInt(4),this.diskWithCentralDirStart=this.reader.readInt(4),this.centralDirRecordsOnThisDisk=this.reader.readInt(8),this.centralDirRecords=this.reader.readInt(8),this.centralDirSize=this.reader.readInt(8),this.centralDirOffset=this.reader.readInt(8),this.zip64ExtensibleData={};for(var e,t,n,r=this.zip64EndOfCentralSize-44;0<r;)e=this.reader.readInt(2),t=this.reader.readInt(4),n=this.reader.readData(t),this.zip64ExtensibleData[e]={id:e,length:t,value:n}},readBlockZip64EndOfCentralLocator:function(){if(this.diskWithZip64CentralDirStart=this.reader.readInt(4),this.relativeOffsetEndOfZip64CentralDir=this.reader.readInt(8),this.disksCount=this.reader.readInt(4),this.disksCount>1)throw new Error(\"Multi-volumes zip are not supported\")},readLocalFiles:function(){var e,t;for(e=0;e<this.files.length;e++)t=this.files[e],this.reader.setIndex(t.localHeaderOffset),this.checkSignature(a.LOCAL_FILE_HEADER),t.readLocalPart(this.reader),t.handleUTF8(),t.processAttributes()},readCentralDir:function(){var e;for(this.reader.setIndex(this.centralDirOffset);this.reader.readAndCheckSignature(a.CENTRAL_FILE_HEADER);)e=new s({zip64:this.zip64},this.loadOptions),e.readCentralPart(this.reader),this.files.push(e);if(this.centralDirRecords!==this.files.length&&0!==this.centralDirRecords&&0===this.files.length)throw new Error(\"Corrupted zip or bug: expected \"+this.centralDirRecords+\" records in central dir, got \"+this.files.length)},readEndOfCentral:function(){var e=this.reader.lastIndexOfSignature(a.CENTRAL_DIRECTORY_END);if(e<0)throw this.isSignature(0,a.LOCAL_FILE_HEADER)?new Error(\"Corrupted zip: can't find end of central directory\"):new Error(\"Can't find end of central directory : is this a zip file ? If it is, see https://stuk.github.io/jszip/documentation/howto/read_zip.html\");this.reader.setIndex(e);var t=e;if(this.checkSignature(a.CENTRAL_DIRECTORY_END),this.readBlockEndOfCentral(),this.diskNumber===o.MAX_VALUE_16BITS||this.diskWithCentralDirStart===o.MAX_VALUE_16BITS||this.centralDirRecordsOnThisDisk===o.MAX_VALUE_16BITS||this.centralDirRecords===o.MAX_VALUE_16BITS||this.centralDirSize===o.MAX_VALUE_32BITS||this.centralDirOffset===o.MAX_VALUE_32BITS){if(this.zip64=!0,(e=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR))<0)throw new Error(\"Corrupted zip: can't find the ZIP64 end of central directory locator\");if(this.reader.setIndex(e),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_LOCATOR),this.readBlockZip64EndOfCentralLocator(),!this.isSignature(this.relativeOffsetEndOfZip64CentralDir,a.ZIP64_CENTRAL_DIRECTORY_END)&&(this.relativeOffsetEndOfZip64CentralDir=this.reader.lastIndexOfSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.relativeOffsetEndOfZip64CentralDir<0))throw new Error(\"Corrupted zip: can't find the ZIP64 end of central directory\");this.reader.setIndex(this.relativeOffsetEndOfZip64CentralDir),this.checkSignature(a.ZIP64_CENTRAL_DIRECTORY_END),this.readBlockZip64EndOfCentral()}var n=this.centralDirOffset+this.centralDirSize;this.zip64&&(n+=20,n+=12+this.zip64EndOfCentralSize);var r=t-n;if(r>0)this.isSignature(t,a.CENTRAL_FILE_HEADER)||(this.reader.zero=r);else if(r<0)throw new Error(\"Corrupted zip: missing \"+Math.abs(r)+\" bytes.\")},prepareReader:function(e){this.reader=i(e)},load:function(e){this.prepareReader(e),this.readEndOfCentral(),this.readCentralDir(),this.readLocalFiles()}},e.exports=r},function(e,t,n){\"use strict\";function r(e){i.call(this,e)}var i=n(48);n(0).inherits(r,i),r.prototype.byteAt=function(e){return this.data.charCodeAt(this.zero+e)},r.prototype.lastIndexOfSignature=function(e){return this.data.lastIndexOf(e)-this.zero},r.prototype.readAndCheckSignature=function(e){return e===this.readData(4)},r.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},e.exports=r},function(e,t,n){\"use strict\";function r(e){i.call(this,e)}var i=n(49);n(0).inherits(r,i),r.prototype.readData=function(e){this.checkOffset(e);var t=this.data.slice(this.zero+this.index,this.zero+this.index+e);return this.index+=e,t},e.exports=r},function(e,t,n){\"use strict\";function r(e,t){this.options=e,this.loadOptions=t}var i=n(46),o=n(0),a=n(21),s=n(22),u=n(6),l=n(39),c=n(3),f=function(e){for(var t in l)if(l.hasOwnProperty(t)&&l[t].magic===e)return l[t];return null};r.prototype={isEncrypted:function(){return 1==(1&this.bitFlag)},useUTF8:function(){return 2048==(2048&this.bitFlag)},readLocalPart:function(e){var t,n;if(e.skip(22),this.fileNameLength=e.readInt(2),n=e.readInt(2),this.fileName=e.readData(this.fileNameLength),e.skip(n),-1===this.compressedSize||-1===this.uncompressedSize)throw new Error(\"Bug or corrupted zip : didn't get enough informations from the central directory (compressedSize === -1 || uncompressedSize === -1)\");if(null===(t=f(this.compressionMethod)))throw new Error(\"Corrupted zip : compression \"+o.pretty(this.compressionMethod)+\" unknown (inner file : \"+o.transformTo(\"string\",this.fileName)+\")\");this.decompressed=new a(this.compressedSize,this.uncompressedSize,this.crc32,t,e.readData(this.compressedSize))},readCentralPart:function(e){this.versionMadeBy=e.readInt(2),e.skip(2),this.bitFlag=e.readInt(2),this.compressionMethod=e.readString(2),this.date=e.readDate(),this.crc32=e.readInt(4),this.compressedSize=e.readInt(4),this.uncompressedSize=e.readInt(4);var t=e.readInt(2);if(this.extraFieldsLength=e.readInt(2),this.fileCommentLength=e.readInt(2),this.diskNumberStart=e.readInt(2),this.internalFileAttributes=e.readInt(2),this.externalFileAttributes=e.readInt(4),this.localHeaderOffset=e.readInt(4),this.isEncrypted())throw new Error(\"Encrypted zip are not supported\");e.skip(t),this.readExtraFields(e),this.parseZIP64ExtraField(e),this.fileComment=e.readData(this.fileCommentLength)},processAttributes:function(){this.unixPermissions=null,this.dosPermissions=null;var e=this.versionMadeBy>>8;this.dir=!!(16&this.externalFileAttributes),0===e&&(this.dosPermissions=63&this.externalFileAttributes),3===e&&(this.unixPermissions=this.externalFileAttributes>>16&65535),this.dir||\"/\"!==this.fileNameStr.slice(-1)||(this.dir=!0)},parseZIP64ExtraField:function(e){if(this.extraFields[1]){var t=i(this.extraFields[1].value);this.uncompressedSize===o.MAX_VALUE_32BITS&&(this.uncompressedSize=t.readInt(8)),this.compressedSize===o.MAX_VALUE_32BITS&&(this.compressedSize=t.readInt(8)),this.localHeaderOffset===o.MAX_VALUE_32BITS&&(this.localHeaderOffset=t.readInt(8)),this.diskNumberStart===o.MAX_VALUE_32BITS&&(this.diskNumberStart=t.readInt(4))}},readExtraFields:function(e){var t,n,r,i=e.index+this.extraFieldsLength;for(this.extraFields||(this.extraFields={});e.index<i;)t=e.readInt(2),n=e.readInt(2),r=e.readData(n),this.extraFields[t]={id:t,length:n,value:r}},handleUTF8:function(){var e=c.uint8array?\"uint8array\":\"array\";if(this.useUTF8())this.fileNameStr=u.utf8decode(this.fileName),this.fileCommentStr=u.utf8decode(this.fileComment);else{var t=this.findExtraFieldUnicodePath();if(null!==t)this.fileNameStr=t;else{var n=o.transformTo(e,this.fileName);this.fileNameStr=this.loadOptions.decodeFileName(n)}var r=this.findExtraFieldUnicodeComment();if(null!==r)this.fileCommentStr=r;else{var i=o.transformTo(e,this.fileComment);this.fileCommentStr=this.loadOptions.decodeFileName(i)}}},findExtraFieldUnicodePath:function(){var e=this.extraFields[28789];if(e){var t=i(e.value);return 1!==t.readInt(1)?null:s(this.fileName)!==t.readInt(4)?null:u.utf8decode(t.readData(e.length-5))}return null},findExtraFieldUnicodeComment:function(){var e=this.extraFields[25461];if(e){var t=i(e.value);return 1!==t.readInt(1)?null:s(this.fileComment)!==t.readInt(4)?null:u.utf8decode(t.readData(e.length-5))}return null}},e.exports=r},function(e,t,n){var r,i=i||function(e){\"use strict\";if(!(void 0===e||\"undefined\"!=typeof navigator&&/MSIE [1-9]\\./.test(navigator.userAgent))){var t=e.document,n=function(){return e.URL||e.webkitURL||e},r=t.createElementNS(\"http://www.w3.org/1999/xhtml\",\"a\"),i=\"download\"in r,o=function(e){var t=new MouseEvent(\"click\");e.dispatchEvent(t)},a=/constructor/i.test(e.HTMLElement)||e.safari,s=/CriOS\\/[\\d]+/.test(navigator.userAgent),u=function(t){(e.setImmediate||e.setTimeout)(function(){throw t},0)},l=function(e){var t=function(){\"string\"==typeof e?n().revokeObjectURL(e):e.remove()};setTimeout(t,4e4)},c=function(e,t,n){t=[].concat(t);for(var r=t.length;r--;){var i=e[\"on\"+t[r]];if(\"function\"==typeof i)try{i.call(e,n||e)}catch(e){u(e)}}},f=function(e){return/^\\s*(?:text\\/\\S*|application\\/xml|\\S*\\/\\S*\\+xml)\\s*;.*charset\\s*=\\s*utf-8/i.test(e.type)?new Blob([String.fromCharCode(65279),e],{type:e.type}):e},h=function(t,u,h){h||(t=f(t));var d,p=this,m=t.type,g=\"application/octet-stream\"===m,v=function(){c(p,\"writestart progress write writeend\".split(\" \"))};if(p.readyState=p.INIT,i)return d=n().createObjectURL(t),void setTimeout(function(){r.href=d,r.download=u,o(r),v(),l(d),p.readyState=p.DONE});!function(){if((s||g&&a)&&e.FileReader){var r=new FileReader;return r.onloadend=function(){var t=s?r.result:r.result.replace(/^data:[^;]*;/,\"data:attachment/file;\");e.open(t,\"_blank\")||(e.location.href=t),t=void 0,p.readyState=p.DONE,v()},r.readAsDataURL(t),void(p.readyState=p.INIT)}d||(d=n().createObjectURL(t)),g?e.location.href=d:e.open(d,\"_blank\")||(e.location.href=d),p.readyState=p.DONE,v(),l(d)}()},d=h.prototype,p=function(e,t,n){return new h(e,t||e.name||\"download\",n)};return\"undefined\"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(e,t,n){return t=t||e.name||\"download\",n||(e=f(e)),navigator.msSaveOrOpenBlob(e,t)}:(d.abort=function(){},d.readyState=d.INIT=0,d.WRITING=1,d.DONE=2,d.error=d.onwritestart=d.onprogress=d.onwrite=d.onabort=d.onerror=d.onwriteend=null,p)}}(\"undefined\"!=typeof self&&self||\"undefined\"!=typeof window&&window||this.content);void 0!==e&&e.exports?e.exports.saveAs=i:null!==n(104)&&null!==n(105)&&void 0!==(r=function(){return i}.call(t,n,t,e))&&(e.exports=r)},function(e,t){e.exports=function(){throw new Error(\"define cannot be used indirect\")}},function(e,t){(function(t){e.exports=t}).call(t,{})}])})}).call(t,n(1).setImmediate,n(1).clearImmediate)},function(e,t,n){(function(e,t){!function(e,n){\"use strict\";function r(e){\"function\"!=typeof e&&(e=new Function(\"\"+e));for(var t=new Array(arguments.length-1),n=0;n<t.length;n++)t[n]=arguments[n+1];var r={callback:e,args:t};return l[u]=r,s(u),u++}function i(e){delete l[e]}function o(e){var t=e.callback,r=e.args;switch(r.length){case 0:t();break;case 1:t(r[0]);break;case 2:t(r[0],r[1]);break;case 3:t(r[0],r[1],r[2]);break;default:t.apply(n,r)}}function a(e){if(c)setTimeout(a,0,e);else{var t=l[e];if(t){c=!0;try{o(t)}finally{i(e),c=!1}}}}if(!e.setImmediate){var s,u=1,l={},c=!1,f=e.document,h=Object.getPrototypeOf&&Object.getPrototypeOf(e);h=h&&h.setTimeout?h:e,\"[object process]\"==={}.toString.call(e.process)?function(){s=function(e){t.nextTick(function(){a(e)})}}():function(){if(e.postMessage&&!e.importScripts){var t=!0,n=e.onmessage;return e.onmessage=function(){t=!1},e.postMessage(\"\",\"*\"),e.onmessage=n,t}}()?function(){var t=\"setImmediate$\"+Math.random()+\"$\",n=function(n){n.source===e&&\"string\"==typeof n.data&&0===n.data.indexOf(t)&&a(+n.data.slice(t.length))};e.addEventListener?e.addEventListener(\"message\",n,!1):e.attachEvent(\"onmessage\",n),s=function(n){e.postMessage(t+n,\"*\")}}():e.MessageChannel?function(){var e=new MessageChannel;e.port1.onmessage=function(e){a(e.data)},s=function(t){e.port2.postMessage(t)}}():f&&\"onreadystatechange\"in f.createElement(\"script\")?function(){var e=f.documentElement;s=function(t){var n=f.createElement(\"script\");n.onreadystatechange=function(){a(t),n.onreadystatechange=null,e.removeChild(n),n=null},e.appendChild(n)}}():function(){s=function(e){setTimeout(a,0,e)}}(),h.setImmediate=r,h.clearImmediate=i}}(\"undefined\"==typeof self?void 0===e?this:e:self)}).call(t,n(2),n(10))},function(e,t){function n(){throw new Error(\"setTimeout has not been defined\")}function r(){throw new Error(\"clearTimeout has not been defined\")}function i(e){if(c===setTimeout)return setTimeout(e,0);if((c===n||!c)&&setTimeout)return c=setTimeout,setTimeout(e,0);try{return c(e,0)}catch(t){try{return c.call(null,e,0)}catch(t){return c.call(this,e,0)}}}function o(e){if(f===clearTimeout)return clearTimeout(e);if((f===r||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(e);try{return f(e)}catch(t){try{return f.call(null,e)}catch(t){return f.call(this,e)}}}function a(){m&&d&&(m=!1,d.length?p=d.concat(p):g=-1,p.length&&s())}function s(){if(!m){var e=i(a);m=!0;for(var t=p.length;t;){for(d=p,p=[];++g<t;)d&&d[g].run();g=-1,t=p.length}d=null,m=!1,o(e)}}function u(e,t){this.fun=e,this.array=t}function l(){}var c,f,h=e.exports={};!function(){try{c=\"function\"==typeof setTimeout?setTimeout:n}catch(e){c=n}try{f=\"function\"==typeof clearTimeout?clearTimeout:r}catch(e){f=r}}();var d,p=[],m=!1,g=-1;h.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];p.push(new u(e,t)),1!==p.length||m||i(s)},u.prototype.run=function(){this.fun.apply(null,this.array)},h.title=\"browser\",h.browser=!0,h.env={},h.argv=[],h.version=\"\",h.versions={},h.on=l,h.addListener=l,h.once=l,h.off=l,h.removeListener=l,h.removeAllListeners=l,h.emit=l,h.prependListener=l,h.prependOnceListener=l,h.listeners=function(e){return[]},h.binding=function(e){throw new Error(\"process.binding is not supported\")},h.cwd=function(){return\"/\"},h.chdir=function(e){throw new Error(\"process.chdir is not supported\")},h.umask=function(){return 0}},function(e,t,n){/*! grapesjs-aviary - 0.1.2 */\n!function(t,r){e.exports=r(n(0))}(0,function(e){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,\"a\",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p=\"\",t(t.s=0)}([function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=n(1),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=i.default.plugins.add(\"gjs-aviary\",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t,r=e.getModel(),i=void 0,o={key:\"1\",onApply:null,getFilename:null,closeOnApply:!0,config:{}};for(var a in o)a in n||(n[a]=o[a]);var s=n.config;s.apiKey=n.key,s.onSave=function(e,t){i.set(\"src\",t);var r=\"function\"==typeof n.getFilename?n.getFilename:c,o=r(i);(\"function\"==typeof n.onApply?n.onApply:f)(t,o,i),n.closeOnApply&&u.close()};var u=new Aviary.Feather(s),l=e.Commands,c=function(e){var t=e.get(\"src\").split(\"/\").pop();return Date.now()+\"_\"+t.slice(-15)},f=function(t,n){e.AssetManager.add({src:t,name:n})},h=document.createElement(\"img\");l.add(\"image-editor\",{run:function(e,t,n){var o=n||{},a=o.model||e.getSelected();i=a,h.src=a.get(\"src\"),u.launch({image:h}),r.trigger(\"gjs-aviary:launch\",a,u)}})})},function(t,n){t.exports=e}])})},function(e,t,n){/*! grapesjs-plugin-filestack - 0.1.1 */\n!function(t,r){e.exports=r(n(0))}(0,function(e){return function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};return t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,\"a\",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p=\"\",t(t.s=0)}([function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=n(1),i=function(e){return e&&e.__esModule?e:{default:e}}(r);t.default=i.default.plugins.add(\"gjs-plugin-filestack\",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t,r=e.getConfig(),i=r.stylePrefix||\"\",o=void 0,a={key:\"\",btnEl:\"\",btnText:\"Add images\",filestackOpts:{accept:\"image/*\",maxFiles:10},onComplete:function(e,t){}};for(var s in a)s in n||(n[s]=a[s]);if(!filestack)throw new Error(\"Filestack instance not found\");if(!n.key)throw new Error(\"Filestack's API key not found\");var u=filestack.init(n.key);e.on(\"run:open-assets\",function(){var t=e.Modal,r=t.getContentEl(),a=r.querySelector(\".\"+i+\"am-file-uploader\"),s=r.querySelector(\".\"+i+\"am-assets-header\"),c=r.querySelector(\".\"+i+\"am-assets-cont\");a&&(a.style.display=\"none\"),s&&(s.style.display=\"none\"),c.style.width=\"100%\",o||(o=n.btnEl,o||(o=document.createElement(\"button\"),o.className=i+\"btn-prim \"+i+\"btn-filestack\",o.innerHTML=n.btnText),o.onclick=function(){u.pick(n.filestackOpts).then(function(e){var t=e.filesUploaded,r=t instanceof Array?t:[t],i=l(r);n.onComplete(r,i)})}),c.insertBefore(o,s)});var l=function(t){var n=t.map(function(e){return e.src=e.url,e});return e.AssetManager.add(n)}})},function(t,n){t.exports=e}])})},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=n(14),i=function(e){return e&&e.__esModule?e:{default:e}}(r),o=n(3);t.default=function(e,t){var n=e.Commands;n.add(o.cmdImport,(0,i.default)(e,t)),n.add(o.cmdDeviceDesktop,function(e){return e.setDevice(\"Desktop\")}),n.add(o.cmdDeviceTablet,function(e){return e.setDevice(\"Tablet\")}),n.add(o.cmdDeviceMobile,function(e){return e.setDevice(\"Mobile portrait\")})}},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e};t.default=function(e,t){var n=e.getConfig(\"stylePrefix\"),i=e.Modal,o=e.CodeManager.getViewer(\"CodeMirror\").clone(),a=document.createElement(\"div\"),s=t.modalImportLabel,u=t.modalImportContent,l=o.editor,c=document.createElement(\"button\");return c.type=\"button\",c.innerHTML=t.modalImportButton,c.className=n+\"btn-prim \"+n+\"btn-import\",c.onclick=function(t){e.setComponents(l.getValue().trim()),i.close()},o.set(r({codeName:\"htmlmixed\",theme:\"hopscotch\",readOnly:0},t.importViewerOptions)),{run:function(e){var r=this;if(!l){var f=document.createElement(\"textarea\");if(s){var h=document.createElement(\"div\");h.className=n+\"import-label\",h.innerHTML=s,a.appendChild(h)}a.appendChild(f),a.appendChild(c),o.init(f),l=o.editor}i.setTitle(t.modalImportTitle),i.setContent(a);var d=\"function\"==typeof u?u(e):u;o.setContent(d||\"\"),i.open().getModel().once(\"change:open\",function(){return e.stopCommand(r.id)}),l.refresh()},stop:function(){i.close()}}}},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(e){var t=(arguments.length>1&&void 0!==arguments[1]&&arguments[1],e.DomComponents),n=t.getType(\"default\");n.model,n.view}},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var r=n(3);t.default=function(e,t){var n=t.editorId,i=e.Panels,o=e.getConfig(),a=\"sw-visibility\";o.showDevices=0,i.getPanels().reset([{el:\".style-manager\",resizable:{tc:0,cr:0,cl:0,bc:1,keyWidth:\"flex-basis\"}}]),i.addPanel({el:\".panel__devices-\"+n}).get(\"buttons\").add([{id:r.cmdDeviceDesktop,command:r.cmdDeviceDesktop,className:\"fa fa-desktop\",active:1},{id:r.cmdDeviceTablet,command:r.cmdDeviceTablet,className:\"fa fa-tablet\"},{id:r.cmdDeviceMobile,command:r.cmdDeviceMobile,className:\"fa fa-mobile\"}]),i.addPanel({el:\".panel__basic-actions-\"+n}).get(\"buttons\").add([{command:a,context:a,label:'<svg class=\"gjs-svg-visibility\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M15 5h2V3h-2m0 18h2v-2h-2M11 5h2V3h-2m8 2h2V3h-2m0 6h2V7h-2m0 14h2v-2h-2m0-6h2v-2h-2m0 6h2v-2h-2M3 5h2V3H3m0 6h2V7H3m0 6h2v-2H3m0 6h2v-2H3m0 6h2v-2H3m8 2h2v-2h-2m-4 2h2v-2H7M7 5h2V3H7v2z\"></path></svg>',active:!0},{className:\"fa fa-undo\",command:function(e){return e.runCommand(\"core:undo\")}},{className:\"fa fa-repeat\",command:function(e){return e.runCommand(\"core:redo\")}},{className:\"fa fa-download\",command:function(e){return e.runCommand(r.cmdImport)}}]);var s=i.getButton(\"views\",\"open-blocks\");e.on(\"load\",function(){return s&&s.set(\"active\",1)}),t.showStylesOnChange&&e.on(\"component:selected\",function(){var t=i.getButton(\"views\",\"open-sm\"),n=i.getButton(\"views\",\"open-layers\");n&&n.get(\"active\")||!e.getSelected()||t&&t.set(\"active\",1)})}},function(e,t,n){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0}),t.default=function(e,t){var n=e.StyleManager,r=t.customStyleManager;n.getSectors().reset(r&&r.length?r:[{name:\"Style\",open:!0,buildProps:[\"font-family\",\"font-size\",\"color\",\"text-align\",\"opacity\",\"background-color\",\"border-radius-c\",\"border\",\"box-shadow\",\"background\"],properties:[{name:\"Font size\",property:\"font-size\"},{name:\"Text align\",property:\"text-align\",type:\"radio\",defaults:\"left\",list:[{value:\"left\",name:\"Left\",className:\"fa fa-align-left\"},{value:\"center\",name:\"Center\",className:\"fa fa-align-center\"},{value:\"right\",name:\"Right\",className:\"fa fa-align-right\"},{value:\"justify\",name:\"Justify\",className:\"fa fa-align-justify\"}]},{name:\"Background Colour\",property:\"background-color\",type:\"color\"},{name:\"Border Radius\",property:\"border-radius\",type:\"integer\",units:[\"px\",\"%\"],defaults:0,min:0},{name:\"Border\",property:\"border\",properties:[{name:\"Border width\",property:\"border-width\"},{name:\"Border style\",property:\"border-style\",options:[{name:\"none\",value:\"none\"},{name:\"solid\",value:\"solid\"},{name:\"dotted\",value:\"dotted\"},{name:\"dashed\",value:\"dashed\"},{name:\"double\",value:\"double\"},{name:\"groove\",value:\"groove\"},{name:\"ridge\",value:\"ridge\"},{name:\"inset\",value:\"inset\"},{name:\"outset\",value:\"outset\"}]},{name:\"Border color\",property:\"border-color\"}]},{name:\"Opacity\",type:\"slider\",property:\"opacity\",defaults:1,step:.01,max:1,min:0},{name:\"Box Shadow\",property:\"box-shadow\",properties:[{name:\"X position\",property:\"box-shadow-h\"},{name:\"Y position\",property:\"box-shadow-v\"},{name:\"Blur\",property:\"box-shadow-blur\"},{name:\"Spread\",property:\"box-shadow-spread\"},{name:\"Color\",property:\"box-shadow-color\"},{name:\"Shadow type\",property:\"box-shadow-type\"}]},{name:\"Background\",property:\"background\",properties:[{name:\"Image\",property:\"background-image\"},{name:\"Repeat\",property:\"background-repeat\"},{name:\"Position\",property:\"background-position\"},{name:\"Attachment\",property:\"background-attachment\"},{name:\"Size\",property:\"background-size\"}]}]}])}}])});","/*! grapesjs-lory-slider - 0.1.5 */\n!function(e,t){\"object\"==typeof exports&&\"object\"==typeof module?module.exports=t(require(\"grapesjs\")):\"function\"==typeof define&&define.amd?define([\"grapesjs\"],t):\"object\"==typeof exports?exports[\"grapesjs-lory-slider\"]=t(require(\"grapesjs\")):e[\"grapesjs-lory-slider\"]=t(e.grapesjs)}(this,function(e){return function(e){function t(s){if(l[s])return l[s].exports;var a=l[s]={i:s,l:!1,exports:{}};return e[s].call(a.exports,a,a.exports,t),a.l=!0,a.exports}var l={};return t.m=e,t.c=l,t.d=function(e,l,s){t.o(e,l)||Object.defineProperty(e,l,{configurable:!1,enumerable:!0,get:s})},t.n=function(e){var l=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(l,\"a\",l),l},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p=\"\",t(t.s=2)}([function(e,t,l){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});t.default={sliderName:\"lory-slider\",slideName:\"lory-slide\",slidesName:\"lory-slides\",prevName:\"lory-prev\",nextName:\"lory-next\",frameName:\"lory-frame\",sliderSelector:\"[data-lory-slider]\",slidesSelector:\"[data-lory-slides]\",slideSelector:\"[data-lory-slide]\",prevSelector:\"[data-lory-prev]\",nextSelector:\"[data-lory-next]\",frameSelector:\"[data-lory-frame]\",sliderId:\"data-lory-slider\",slideId:\"data-lory-slide\",slidesId:\"data-lory-slides\",prevId:\"data-lory-prev\",nextId:\"data-lory-next\",frameId:\"data-lory-frame\"}},function(e,t,l){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var s=function(e,t){var l=e.className;if((l=l&&l.toString())&&l.split(\" \").indexOf(t)>=0)return 1};t.elHasClass=s},function(e,t,l){\"use strict\";function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,\"__esModule\",{value:!0});var a=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var s in l)Object.prototype.hasOwnProperty.call(l,s)&&(e[s]=l[s])}return e},r=l(3),n=s(r),d=l(4),i=s(d),o=l(11),u=s(o);t.default=n.default.plugins.add(\"grapesjs-lory-slider\",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=a({sliderBlock:{},sliderProps:{},frameProps:{},slidesProps:{},slideProps:{},prevProps:{},nextProps:{},slideEls:'\\n      <div class=\"gjs-lory-slide\"></div>\\n      <div class=\"gjs-lory-slide\"></div>\\n      <div class=\"gjs-lory-slide\"></div>\\n    ',prevEl:'<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"50\" height=\"50\" viewBox=\"0 0 501.5 501.5\">\\n        <g><path fill=\"#2E435A\" d=\"M302.67 90.877l55.77 55.508L254.575 250.75 358.44 355.116l-55.77 55.506L143.56 250.75z\"/></g>\\n      </svg>',nextEl:'<svg xmlns=\"http://www.w3.org/2000/svg\" width=\"50\" height=\"50\" viewBox=\"0 0 501.5 501.5\">\\n        <g><path fill=\"#2E435A\" d=\"M199.33 410.622l-55.77-55.508L247.425 250.75 143.56 146.384l55.77-55.507L358.44 250.75z\"/></g>\\n      </svg>',classFrame:\"gjs-lory-frame\",classSlides:\"gjs-lory-slides\",classSlide:\"gjs-lory-slide\",classPrev:\"gjs-lory-prev\",classNext:\"gjs-lory-next\",script:\"https://cdnjs.cloudflare.com/ajax/libs/lory.js/2.3.4/lory.min.js\"},t);(0,i.default)(e,l),(0,u.default)(e,l)})},function(t,l){t.exports=e},function(e,t,l){\"use strict\";function s(e){return e&&e.__esModule?e:{default:e}}Object.defineProperty(t,\"__esModule\",{value:!0});var a=l(0),r=s(a),n=l(5),d=s(n),i=l(6),o=s(i),u=l(7),p=s(u),c=l(8),f=s(c),v=l(9),m=s(v),y=l(10),g=s(y);t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=e.DomComponents,s=l.getType(\"default\");s.model,s.view,r.default.sliderName,r.default.slideName,r.default.sliderId,r.default.slideId;(0,d.default)(l,t),(0,o.default)(l,t),(0,p.default)(l,t),(0,f.default)(l,t),(0,m.default)(l,t),(0,g.default)(l,t)}},function(e,t,l){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var s in l)Object.prototype.hasOwnProperty.call(l,s)&&(e[s]=l[s])}return e},a=l(0),r=function(e){return e&&e.__esModule?e:{default:e}}(a);t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=e.getType(\"default\"),a=l.model,n=l.view,d=r.default.frameName,i=r.default.prevSelector,o=r.default.nextSelector,u=r.default.sliderName,p=r.default.slidesName,c=r.default.prevName,f=r.default.nextName,v=r.default.sliderId;r.default.prevId,r.default.nextId,r.default.frameId,r.default.slidesId,r.default.slideId;e.addType(u,{model:a.extend({defaults:s({},a.prototype.defaults,{name:\"Slider\",\"slides-to-scroll\":1,\"enable-mouse-events\":!1,\"slide-speed\":300,\"rewind-speed\":600,\"snap-back-speed\":200,infinite:!1,rewind:!1,ease:\"ease\",droppable:i+\", \"+o,style:{position:\"relative\",width:\"980px\",margin:\"0 auto\"},traits:[{type:\"checkbox\",label:\"Infinite\",name:\"infinite\",changeProp:1},{type:\"checkbox\",label:\"Rewind\",name:\"rewind\",changeProp:1},{type:\"number\",label:\"Slide speed\",name:\"slide-speed\",changeProp:1},{type:\"number\",label:\"Rewind speed\",name:\"rewind-speed\",changeProp:1},{type:\"number\",label:\"Slides to scroll\",name:\"slides-to-scroll\",changeProp:1},{type:\"select\",label:\"Timing\",name:\"ease\",changeProp:1,options:[\"ease\",\"linear\",\"ease-in\",\"ease-out\",\"ease-in-out\"]}],\"script-deps\":t.script,\"class-frame\":t.classFrame,\"class-slides\":t.classSlides,\"class-prev\":t.classPrev,\"class-next\":t.classNext,script:function(){var e=this,t=\"{[ script-deps ]}\",l=[\"0\",\"false\"],s=\"{[ infinite ]}\";s=\"true\"==s?1:parseInt(s,10);var a={slidesToScroll:parseInt(\"{[ slides-to-scroll ]}\",10),enableMouseEvents:l.indexOf(\"{[ enable-mouse-events ]}\")>=0?0:1,infinite:!isNaN(s)&&s,rewind:!(l.indexOf(\"{[ rewind ]}\")>=0),slideSpeed:parseInt(\"{[ slide-speed ]}\",10),rewindSpeed:parseInt(\"{[ rewind-speed ]}\",10),snapBackSpeed:parseInt(\"{[ snap-back-speed ]}\",10),ease:\"{[ ease ]}\",classNameFrame:\"{[ class-frame ]}\",classNameSlideContainer:\"{[ class-slides ]}\",classNamePrevCtrl:\"{[ class-prev ]}\",classNameNextCtrl:\"{[ class-next ]}\"},r=function(){window.sliderLory=lory(e,a)};if(\"undefined\"==typeof lory){var n=document.createElement(\"script\");n.src=t,n.onload=r,document.head.appendChild(n)}else r()}},t.sliderProps)},{isComponent:function(e){if(e.hasAttribute&&e.hasAttribute(v))return{type:u}}}),view:n.extend({init:function(){var e=[\"slides-to-scroll\",\"enable-mouse-events\",\"slide-speed\",\"rewind-speed\",\"snap-back-speed\",\"infinite\",\"rewind\",\"ease\"],l=e.map(function(e){return\"change:\"+e}).join(\" \");this.listenTo(this.model,l,this.render);var s=this.model.components();s.length||s.add('<div data-gjs-type=\"'+d+'\">\\n              <div data-gjs-type=\"'+p+'\">'+t.slideEls+'</div>\\n          </div>\\n          <span data-gjs-type=\"'+c+'\">'+t.prevEl+'</span>\\n          <span data-gjs-type=\"'+f+'\">'+t.nextEl+\"</span>\")}})})}},function(e,t,l){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var s in l)Object.prototype.hasOwnProperty.call(l,s)&&(e[s]=l[s])}return e},a=l(0),r=function(e){return e&&e.__esModule?e:{default:e}}(a),n=l(1);t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=e.getType(\"default\"),a=l.model,d=r.default.slidesName,i=(r.default.slidesId,r.default.slideSelector),o=r.default.frameSelector;e.addType(d,{model:a.extend({defaults:s({},a.prototype.defaults,{name:\"Slides\",droppable:i,draggable:o,style:{display:\"inline-block\",\"transition-delay\":\"1ms\"}},t.slidesProps),init:function(){var e=t.classSlides;this.get(\"classes\").pluck(\"name\").indexOf(e)<0&&this.addClass(e)}},{isComponent:function(e){if((0,n.elHasClass)(e,t.classSlides))return{type:d}}}),view:l.view.extend({init:function(){this.listenTo(this.model.components(),\"add remove\",this.renderSlider)},renderSlider:function(){var e=this.model.parent().parent();e&&e.view.render()}})})}},function(e,t,l){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var s in l)Object.prototype.hasOwnProperty.call(l,s)&&(e[s]=l[s])}return e},a=l(0),r=function(e){return e&&e.__esModule?e:{default:e}}(a),n=l(1);t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=e.getType(\"default\"),a=l.model,d=l.view,i=r.default.slideName,o=(r.default.slideId,r.default.slidesSelector);e.addType(i,{model:a.extend({defaults:s({},a.prototype.defaults,{name:\"Slide\",draggable:o,style:{display:\"inline-block\",position:\"relative\",color:\"#fff\",width:\"880px\",\"margin-right\":\"10px\",\"vertical-align\":\"top\",\"min-height\":\"130px\",\"white-space\":\"normal\",\"background-color\":\"rgba(0, 0, 0, 0.1)\"}},t.slideProps)},{isComponent:function(e){if((0,n.elHasClass)(e,t.classSlide))return{type:i}}}),view:d})}},function(e,t,l){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var s in l)Object.prototype.hasOwnProperty.call(l,s)&&(e[s]=l[s])}return e},a=l(0),r=function(e){return e&&e.__esModule?e:{default:e}}(a),n=l(1);t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=e.getType(\"default\"),a=l.model,d=r.default.prevName,i=(r.default.prevId,r.default.sliderSelector),o=t.classPrev,u=d;e.addType(u,{model:a.extend({defaults:s({},a.prototype.defaults,{name:\"Nav Previous\",copyable:0,draggable:i,style:{position:\"absolute\",display:\"block\",cursor:\"pointer\",top:\"50%\",left:0,\"margin-top\":\"-25px\"}},t.prevProps),init:function(){this.get(\"classes\").pluck(\"name\").indexOf(o)<0&&this.addClass(o)}},{isComponent:function(e){if((0,n.elHasClass)(e,o))return{type:u}}}),view:l.view})}},function(e,t,l){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var s in l)Object.prototype.hasOwnProperty.call(l,s)&&(e[s]=l[s])}return e},a=l(0),r=function(e){return e&&e.__esModule?e:{default:e}}(a),n=l(1);t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=e.getType(\"default\"),a=l.model,d=r.default.nextName,i=(r.default.nextId,r.default.sliderSelector),o=t.classNext,u=d;e.addType(u,{model:a.extend({defaults:s({},a.prototype.defaults,{name:\"Nav Next\",copyable:0,draggable:i,style:{position:\"absolute\",display:\"block\",cursor:\"pointer\",top:\"50%\",right:0,\"margin-top\":\"-25px\"}},t.nextProps),init:function(){this.get(\"classes\").pluck(\"name\").indexOf(o)<0&&this.addClass(o)}},{isComponent:function(e){if((0,n.elHasClass)(e,o))return{type:u}}}),view:l.view})}},function(e,t,l){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var s in l)Object.prototype.hasOwnProperty.call(l,s)&&(e[s]=l[s])}return e},a=l(0),r=function(e){return e&&e.__esModule?e:{default:e}}(a),n=l(1);t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=e.getType(\"default\"),a=l.model,d=l.view,i=r.default.frameName,o=(r.default.frameId,r.default.slidesSelector);e.addType(i,{model:a.extend({defaults:s({},a.prototype.defaults,{name:\"Slider Frame\",droppable:o,style:{width:\"880px\",margin:\"0 auto\",position:\"relative\",overflow:\"hidden\",\"white-space\":\"nowrap\"}},t.frameProps),init:function(){var e=t.classFrame;this.get(\"classes\").pluck(\"name\").indexOf(e)<0&&this.addClass(e)}},{isComponent:function(e){if((0,n.elHasClass)(e,t.classFrame))return{type:i}}}),view:d})}},function(e,t,l){\"use strict\";Object.defineProperty(t,\"__esModule\",{value:!0});var s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var l=arguments[t];for(var s in l)Object.prototype.hasOwnProperty.call(l,s)&&(e[s]=l[s])}return e},a=l(0),r=function(e){return e&&e.__esModule?e:{default:e}}(a);t.default=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},l=e.BlockManager,a=t.sliderBlock,n=r.default.sliderName;a&&l.add(n,s({label:'\\n      <svg class=\"gjs-block-svg\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\">\\n        <path d=\"M22 7.6c0-1-.5-1.6-1.3-1.6H3.4C2.5 6 2 6.7 2 7.6v9.8c0 1 .5 1.6 1.3 1.6h17.4c.8 0 1.3-.6 1.3-1.6V7.6zM21 18H3V7h18v11z\" fill-rule=\"nonzero\"/><path d=\"M4 12.5L6 14v-3zM20 12.5L18 14v-3z\"/>\\n      </svg>\\n      <div class=\"gjs-block-label\">Slider</div>\\n    ',content:{type:n}},a))}}])});","(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"grapesjs-custom-code\"] = factory();\n\telse\n\t\troot[\"grapesjs-custom-code\"] = factory();\n})(window, function() {\nreturn "," \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 \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\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.l = 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// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 1);\n","const keyCustomCode = 'custom-code-plugin__code';\nconst typeCustomCode = 'custom-code';\nconst commandNameCustomCode = 'custom-code:open-modal';\n\nexport {\n  keyCustomCode,\n  typeCustomCode,\n  commandNameCustomCode,\n}\n","import loadComponents from './components';\nimport loadBlocks from './blocks';\nimport loadCommands from './commands';\n\nexport default (editor, opts = {}) => {\n  const options = { ...{\n    // Label of the custom code block\n    blockLabel: 'Custom Code',\n\n    // Object to extend the default custom code block, eg. { label: 'Custom Code', category: 'Extra', ... }.\n    // Pass a falsy value to avoid adding the block\n    blockCustomCode: {},\n\n    // Object to extend the default custom code properties, eg. `{ name: 'Custom Code', droppable: false, ... }`\n    propsCustomCode: {},\n\n    // Initial content of the custom code component\n    placeholderContent: '<span>Insert here your custom code</span>',\n\n    // Object to extend the default component's toolbar button for the code, eg. `{ label: '</>', attributes: { title: 'Open custom code' } }`\n    // Pass a falsy value to avoid adding the button\n    toolbarBtnCustomCode: {},\n\n    // Content to show when the custom code contains `<script>`\n    placeholderScript: `<div style=\"pointer-events: none; padding: 10px;\">\n      <svg viewBox=\"0 0 24 24\" style=\"height: 30px; vertical-align: middle;\">\n        <path d=\"M13 14h-2v-4h2m0 8h-2v-2h2M1 21h22L12 2 1 21z\"></path>\n        </svg>\n      Custom code with <i>&lt;script&gt;</i> can't be rendered on the canvas\n    </div>`,\n\n    // Title for the custom code modal\n    modalTitle: 'Insert your code',\n\n    // Additional options for the code viewer, eg. `{ theme: 'hopscotch', readOnly: 0 }`\n    codeViewOptions: {},\n\n    // Label for the default save button\n    buttonLabel: 'Save',\n\n    // Object to extend the default custom code command.\n    // Check the source to see all available methods\n    commandCustomCode: {},\n  },  ...opts };\n\n  // Add components\n  loadComponents(editor, options);\n\n  // Add blocks\n  loadBlocks(editor, options);\n\n  // Add commands\n  loadCommands(editor, options);\n};\n","import {\n  keyCustomCode,\n  commandNameCustomCode,\n  typeCustomCode,\n} from './config';\n\nexport default (editor, opts = {}) => {\n  const dc = editor.DomComponents;\n  const defaultType = dc.getType('default');\n  const defaultModel = defaultType.model;\n  const { toolbarBtnCustomCode } = opts;\n  let timedInterval;\n\n  dc.addType('script', {\n    view: {\n      onRender() {\n        const isCC = this.model.closestType(typeCustomCode);\n        isCC && (this.el.innerHTML = '');\n      }\n    },\n  });\n\n  dc.addType(typeCustomCode, {\n\n    model: defaultModel.extend({\n      defaults: {\n        ...defaultModel.prototype.defaults,\n        name: 'Custom Code',\n        editable: true,\n        ...opts.propsCustomCode,\n      },\n\n      /**\n       * Initilize the component\n       */\n      init() {\n        this.listenTo(this, `change:${keyCustomCode}`, this.onCustomCodeChange);\n        const initialCode = this.get(keyCustomCode) || opts.placeholderContent;\n        !this.components().length && this.components(initialCode);\n        const toolbar = this.get('toolbar');\n        const id = 'custom-code';\n\n        // Add the custom code toolbar button if requested and it's not already in\n        if (toolbarBtnCustomCode && !toolbar.filter(tlb => tlb.id === id ).length) {\n          toolbar.unshift({\n            id,\n            command: commandNameCustomCode,\n            label: `<svg viewBox=\"0 0 24 24\">\n              <path d=\"M14.6 16.6l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4m-5.2 0L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4z\"></path>\n            </svg>`,\n            ...toolbarBtnCustomCode\n          });\n        }\n      },\n\n      /**\n       * Callback to launch on keyCustomCode change\n       */\n      onCustomCodeChange() {\n        this.components(this.get(keyCustomCode));\n      },\n    }, {\n      /**\n       * The component can be used only if requested explicitly via `type` property\n       */\n      isComponent() {\n        return false;\n      }\n    }),\n\n    view: defaultType.view.extend({\n      events: {\n        dblclick: 'onActive',\n      },\n\n      init() {\n        this.listenTo(this.model.components(), 'add remove reset', this.onComponentsChange);\n        this.onComponentsChange();\n      },\n\n      /**\n       * Things to do once inner components of custom code are changed\n       */\n      onComponentsChange() {\n        timedInterval && clearInterval(timedInterval);\n        timedInterval = setTimeout(() => {\n          const { model } = this;\n          const content = model.get(keyCustomCode) || '';\n          let droppable = 1;\n\n          // Avoid rendering codes with scripts\n          if (content.indexOf('<script') >= 0) {\n            this.el.innerHTML = opts.placeholderScript;\n            droppable = 0;\n          }\n\n          model.set({ droppable });\n        }, 0);\n      },\n\n      onActive() {\n        const target = this.model;\n        this.em.get('Commands').run(commandNameCustomCode, { target });\n      },\n    })\n  });\n}\n","import {\n  typeCustomCode,\n} from './config';\n\nexport default (editor, opts = {}) => {\n  const bm = editor.BlockManager;\n  const { blockCustomCode, blockLabel } = opts;\n\n  blockCustomCode && bm.add(typeCustomCode, {\n    label: `<svg viewBox=\"0 0 24 24\">\n        <path d=\"M14.6 16.6l4.6-4.6-4.6-4.6L16 6l6 6-6 6-1.4-1.4m-5.2 0L4.8 12l4.6-4.6L8 6l-6 6 6 6 1.4-1.4z\"></path>\n      </svg>\n      <div>${blockLabel}</div>`,\n    category: 'Extra',\n    activate: true,\n    select: true,\n    content: { type: typeCustomCode },\n    ...blockCustomCode\n  });\n}\n","import {\n  commandNameCustomCode,\n  keyCustomCode,\n} from './config';\n\nexport default (editor, opts = {}) => {\n  const cmd = editor.Commands;\n  const { modalTitle, codeViewOptions, commandCustomCode } = opts;\n  const appendToContent = (target, content) => {\n    if (content instanceof HTMLElement) {\n        target.appendChild(content);\n    } else if (content) {\n        target.insertAdjacentHTML('beforeend', content);\n    }\n  }\n\n  // Add the custom code command\n  cmd.add(commandNameCustomCode, {\n    keyCustomCode,\n\n    run(editor, sender, opts = {}) {\n      this.editor = editor;\n      this.options = opts;\n      this.target = opts.target || editor.getSelected();\n      const target = this.target;\n\n      if (target && target.get('editable')) {\n        this.showCustomCode(target);\n      }\n    },\n\n    stop(editor) {\n      editor.Modal.close();\n    },\n\n    /**\n     * Method which tells how to show the custom code\n     * @param  {Component} target\n     */\n    showCustomCode(target) {\n      const { editor, options } = this;\n      const title = options.title || modalTitle;\n      const content = this.getContent();\n      const code = target.get(keyCustomCode) || '';\n      editor.Modal\n        .open({ title, content })\n        .getModel()\n        .once('change:open', () => editor.stopCommand(this.id));\n      this.getCodeViewer().setContent(code);\n    },\n\n    /**\n     * Custom pre-content. Can be a simple string or an HTMLElement\n     */\n    getPreContent() {},\n\n    /**\n     * Custom post-content. Can be a simple string or an HTMLElement\n     */\n    getPostContent() {},\n\n    /**\n     * Get all the content for the custom code\n     * @return {HTMLElement}\n     */\n    getContent() {\n      const { editor } = this;\n      const content = document.createElement('div');\n      const codeViewer = this.getCodeViewer();\n      const pfx = editor.getConfig('stylePrefix');\n      content.className = `${pfx}custom-code`;\n      appendToContent(content, this.getPreContent());\n      content.appendChild(codeViewer.getElement());\n      appendToContent(content, this.getPostContent());\n      appendToContent(content, this.getContentActions());\n      codeViewer.refresh();\n      setTimeout(()=> codeViewer.focus(), 0);\n\n      return content;\n    },\n\n    /**\n     * Get the actions content. Can be a simple string or an HTMLElement\n     * @return {HTMLElement|String}\n     */\n    getContentActions() {\n      const { editor } = this;\n      const btn = document.createElement('button');\n      const pfx = editor.getConfig('stylePrefix');\n      btn.innerHTML = opts.buttonLabel;\n      btn.className = `${pfx}btn-prim ${pfx}btn-import__custom-code`;\n      btn.onclick = () => this.handleSave();\n\n      return btn;\n    },\n\n    /**\n     * Handle the main save task\n     */\n    handleSave() {\n      const { editor, target } = this;\n      const code = this.getCodeViewer().getContent();\n      target.set(keyCustomCode, code);\n      editor.Modal.close();\n    },\n\n    /**\n     * Return the code viewer instance\n     * @return {CodeViewer}\n     */\n    getCodeViewer() {\n      const { editor } = this;\n\n      if (!this.codeViewer) {\n        this.codeViewer = editor.CodeManager.createViewer({\n          codeName: 'htmlmixed',\n          theme: 'hopscotch',\n          readOnly: 0,\n          ...codeViewOptions,\n        });\n      }\n\n      return this.codeViewer;\n    },\n\n    ...commandCustomCode,\n  });\n};\n","// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: https://codemirror.net/LICENSE\n\n// This is CodeMirror (https://codemirror.net), a code editor\n// implemented in JavaScript on top of the browser's DOM.\n//\n// You can find some technical background for some of the code below\n// at http://marijnhaverbeke.nl/blog/#cm-internals .\n\n(function (global, factory) {\n  typeof exports === 'object' && typeof module !== 'undefined' ? module.exports = factory() :\n  typeof define === 'function' && define.amd ? define(factory) :\n  (global = global || self, global.CodeMirror = factory());\n}(this, (function () { 'use strict';\n\n  // Kludges for bugs and behavior differences that can't be feature\n  // detected are enabled based on userAgent etc sniffing.\n  var userAgent = navigator.userAgent;\n  var platform = navigator.platform;\n\n  var gecko = /gecko\\/\\d/i.test(userAgent);\n  var ie_upto10 = /MSIE \\d/.test(userAgent);\n  var ie_11up = /Trident\\/(?:[7-9]|\\d{2,})\\..*rv:(\\d+)/.exec(userAgent);\n  var edge = /Edge\\/(\\d+)/.exec(userAgent);\n  var ie = ie_upto10 || ie_11up || edge;\n  var ie_version = ie && (ie_upto10 ? document.documentMode || 6 : +(edge || ie_11up)[1]);\n  var webkit = !edge && /WebKit\\//.test(userAgent);\n  var qtwebkit = webkit && /Qt\\/\\d+\\.\\d+/.test(userAgent);\n  var chrome = !edge && /Chrome\\//.test(userAgent);\n  var presto = /Opera\\//.test(userAgent);\n  var safari = /Apple Computer/.test(navigator.vendor);\n  var mac_geMountainLion = /Mac OS X 1\\d\\D([8-9]|\\d\\d)\\D/.test(userAgent);\n  var phantom = /PhantomJS/.test(userAgent);\n\n  var ios = safari && (/Mobile\\/\\w+/.test(userAgent) || navigator.maxTouchPoints > 2);\n  var android = /Android/.test(userAgent);\n  // This is woefully incomplete. Suggestions for alternative methods welcome.\n  var mobile = ios || android || /webOS|BlackBerry|Opera Mini|Opera Mobi|IEMobile/i.test(userAgent);\n  var mac = ios || /Mac/.test(platform);\n  var chromeOS = /\\bCrOS\\b/.test(userAgent);\n  var windows = /win/i.test(platform);\n\n  var presto_version = presto && userAgent.match(/Version\\/(\\d*\\.\\d*)/);\n  if (presto_version) { presto_version = Number(presto_version[1]); }\n  if (presto_version && presto_version >= 15) { presto = false; webkit = true; }\n  // Some browsers use the wrong event properties to signal cmd/ctrl on OS X\n  var flipCtrlCmd = mac && (qtwebkit || presto && (presto_version == null || presto_version < 12.11));\n  var captureRightClick = gecko || (ie && ie_version >= 9);\n\n  function classTest(cls) { return new RegExp(\"(^|\\\\s)\" + cls + \"(?:$|\\\\s)\\\\s*\") }\n\n  var rmClass = function(node, cls) {\n    var current = node.className;\n    var match = classTest(cls).exec(current);\n    if (match) {\n      var after = current.slice(match.index + match[0].length);\n      node.className = current.slice(0, match.index) + (after ? match[1] + after : \"\");\n    }\n  };\n\n  function removeChildren(e) {\n    for (var count = e.childNodes.length; count > 0; --count)\n      { e.removeChild(e.firstChild); }\n    return e\n  }\n\n  function removeChildrenAndAdd(parent, e) {\n    return removeChildren(parent).appendChild(e)\n  }\n\n  function elt(tag, content, className, style) {\n    var e = document.createElement(tag);\n    if (className) { e.className = className; }\n    if (style) { e.style.cssText = style; }\n    if (typeof content == \"string\") { e.appendChild(document.createTextNode(content)); }\n    else if (content) { for (var i = 0; i < content.length; ++i) { e.appendChild(content[i]); } }\n    return e\n  }\n  // wrapper for elt, which removes the elt from the accessibility tree\n  function eltP(tag, content, className, style) {\n    var e = elt(tag, content, className, style);\n    e.setAttribute(\"role\", \"presentation\");\n    return e\n  }\n\n  var range;\n  if (document.createRange) { range = function(node, start, end, endNode) {\n    var r = document.createRange();\n    r.setEnd(endNode || node, end);\n    r.setStart(node, start);\n    return r\n  }; }\n  else { range = function(node, start, end) {\n    var r = document.body.createTextRange();\n    try { r.moveToElementText(node.parentNode); }\n    catch(e) { return r }\n    r.collapse(true);\n    r.moveEnd(\"character\", end);\n    r.moveStart(\"character\", start);\n    return r\n  }; }\n\n  function contains(parent, child) {\n    if (child.nodeType == 3) // Android browser always returns false when child is a textnode\n      { child = child.parentNode; }\n    if (parent.contains)\n      { return parent.contains(child) }\n    do {\n      if (child.nodeType == 11) { child = child.host; }\n      if (child == parent) { return true }\n    } while (child = child.parentNode)\n  }\n\n  function activeElt() {\n    // IE and Edge may throw an \"Unspecified Error\" when accessing document.activeElement.\n    // IE < 10 will throw when accessed while the page is loading or in an iframe.\n    // IE > 9 and Edge will throw when accessed in an iframe if document.body is unavailable.\n    var activeElement;\n    try {\n      activeElement = document.activeElement;\n    } catch(e) {\n      activeElement = document.body || null;\n    }\n    while (activeElement && activeElement.shadowRoot && activeElement.shadowRoot.activeElement)\n      { activeElement = activeElement.shadowRoot.activeElement; }\n    return activeElement\n  }\n\n  function addClass(node, cls) {\n    var current = node.className;\n    if (!classTest(cls).test(current)) { node.className += (current ? \" \" : \"\") + cls; }\n  }\n  function joinClasses(a, b) {\n    var as = a.split(\" \");\n    for (var i = 0; i < as.length; i++)\n      { if (as[i] && !classTest(as[i]).test(b)) { b += \" \" + as[i]; } }\n    return b\n  }\n\n  var selectInput = function(node) { node.select(); };\n  if (ios) // Mobile Safari apparently has a bug where select() is broken.\n    { selectInput = function(node) { node.selectionStart = 0; node.selectionEnd = node.value.length; }; }\n  else if (ie) // Suppress mysterious IE10 errors\n    { selectInput = function(node) { try { node.select(); } catch(_e) {} }; }\n\n  function bind(f) {\n    var args = Array.prototype.slice.call(arguments, 1);\n    return function(){return f.apply(null, args)}\n  }\n\n  function copyObj(obj, target, overwrite) {\n    if (!target) { target = {}; }\n    for (var prop in obj)\n      { if (obj.hasOwnProperty(prop) && (overwrite !== false || !target.hasOwnProperty(prop)))\n        { target[prop] = obj[prop]; } }\n    return target\n  }\n\n  // Counts the column offset in a string, taking tabs into account.\n  // Used mostly to find indentation.\n  function countColumn(string, end, tabSize, startIndex, startValue) {\n    if (end == null) {\n      end = string.search(/[^\\s\\u00a0]/);\n      if (end == -1) { end = string.length; }\n    }\n    for (var i = startIndex || 0, n = startValue || 0;;) {\n      var nextTab = string.indexOf(\"\\t\", i);\n      if (nextTab < 0 || nextTab >= end)\n        { return n + (end - i) }\n      n += nextTab - i;\n      n += tabSize - (n % tabSize);\n      i = nextTab + 1;\n    }\n  }\n\n  var Delayed = function() {\n    this.id = null;\n    this.f = null;\n    this.time = 0;\n    this.handler = bind(this.onTimeout, this);\n  };\n  Delayed.prototype.onTimeout = function (self) {\n    self.id = 0;\n    if (self.time <= +new Date) {\n      self.f();\n    } else {\n      setTimeout(self.handler, self.time - +new Date);\n    }\n  };\n  Delayed.prototype.set = function (ms, f) {\n    this.f = f;\n    var time = +new Date + ms;\n    if (!this.id || time < this.time) {\n      clearTimeout(this.id);\n      this.id = setTimeout(this.handler, ms);\n      this.time = time;\n    }\n  };\n\n  function indexOf(array, elt) {\n    for (var i = 0; i < array.length; ++i)\n      { if (array[i] == elt) { return i } }\n    return -1\n  }\n\n  // Number of pixels added to scroller and sizer to hide scrollbar\n  var scrollerGap = 50;\n\n  // Returned or thrown by various protocols to signal 'I'm not\n  // handling this'.\n  var Pass = {toString: function(){return \"CodeMirror.Pass\"}};\n\n  // Reused option objects for setSelection & friends\n  var sel_dontScroll = {scroll: false}, sel_mouse = {origin: \"*mouse\"}, sel_move = {origin: \"+move\"};\n\n  // The inverse of countColumn -- find the offset that corresponds to\n  // a particular column.\n  function findColumn(string, goal, tabSize) {\n    for (var pos = 0, col = 0;;) {\n      var nextTab = string.indexOf(\"\\t\", pos);\n      if (nextTab == -1) { nextTab = string.length; }\n      var skipped = nextTab - pos;\n      if (nextTab == string.length || col + skipped >= goal)\n        { return pos + Math.min(skipped, goal - col) }\n      col += nextTab - pos;\n      col += tabSize - (col % tabSize);\n      pos = nextTab + 1;\n      if (col >= goal) { return pos }\n    }\n  }\n\n  var spaceStrs = [\"\"];\n  function spaceStr(n) {\n    while (spaceStrs.length <= n)\n      { spaceStrs.push(lst(spaceStrs) + \" \"); }\n    return spaceStrs[n]\n  }\n\n  function lst(arr) { return arr[arr.length-1] }\n\n  function map(array, f) {\n    var out = [];\n    for (var i = 0; i < array.length; i++) { out[i] = f(array[i], i); }\n    return out\n  }\n\n  function insertSorted(array, value, score) {\n    var pos = 0, priority = score(value);\n    while (pos < array.length && score(array[pos]) <= priority) { pos++; }\n    array.splice(pos, 0, value);\n  }\n\n  function nothing() {}\n\n  function createObj(base, props) {\n    var inst;\n    if (Object.create) {\n      inst = Object.create(base);\n    } else {\n      nothing.prototype = base;\n      inst = new nothing();\n    }\n    if (props) { copyObj(props, inst); }\n    return inst\n  }\n\n  var nonASCIISingleCaseWordChar = /[\\u00df\\u0587\\u0590-\\u05f4\\u0600-\\u06ff\\u3040-\\u309f\\u30a0-\\u30ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\uac00-\\ud7af]/;\n  function isWordCharBasic(ch) {\n    return /\\w/.test(ch) || ch > \"\\x80\" &&\n      (ch.toUpperCase() != ch.toLowerCase() || nonASCIISingleCaseWordChar.test(ch))\n  }\n  function isWordChar(ch, helper) {\n    if (!helper) { return isWordCharBasic(ch) }\n    if (helper.source.indexOf(\"\\\\w\") > -1 && isWordCharBasic(ch)) { return true }\n    return helper.test(ch)\n  }\n\n  function isEmpty(obj) {\n    for (var n in obj) { if (obj.hasOwnProperty(n) && obj[n]) { return false } }\n    return true\n  }\n\n  // Extending unicode characters. A series of a non-extending char +\n  // any number of extending chars is treated as a single unit as far\n  // as editing and measuring is concerned. This is not fully correct,\n  // since some scripts/fonts/browsers also treat other configurations\n  // of code points as a group.\n  var extendingChars = /[\\u0300-\\u036f\\u0483-\\u0489\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u064b-\\u065e\\u0670\\u06d6-\\u06dc\\u06de-\\u06e4\\u06e7\\u06e8\\u06ea-\\u06ed\\u0711\\u0730-\\u074a\\u07a6-\\u07b0\\u07eb-\\u07f3\\u0816-\\u0819\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0900-\\u0902\\u093c\\u0941-\\u0948\\u094d\\u0951-\\u0955\\u0962\\u0963\\u0981\\u09bc\\u09be\\u09c1-\\u09c4\\u09cd\\u09d7\\u09e2\\u09e3\\u0a01\\u0a02\\u0a3c\\u0a41\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a70\\u0a71\\u0a75\\u0a81\\u0a82\\u0abc\\u0ac1-\\u0ac5\\u0ac7\\u0ac8\\u0acd\\u0ae2\\u0ae3\\u0b01\\u0b3c\\u0b3e\\u0b3f\\u0b41-\\u0b44\\u0b4d\\u0b56\\u0b57\\u0b62\\u0b63\\u0b82\\u0bbe\\u0bc0\\u0bcd\\u0bd7\\u0c3e-\\u0c40\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62\\u0c63\\u0cbc\\u0cbf\\u0cc2\\u0cc6\\u0ccc\\u0ccd\\u0cd5\\u0cd6\\u0ce2\\u0ce3\\u0d3e\\u0d41-\\u0d44\\u0d4d\\u0d57\\u0d62\\u0d63\\u0dca\\u0dcf\\u0dd2-\\u0dd4\\u0dd6\\u0ddf\\u0e31\\u0e34-\\u0e3a\\u0e47-\\u0e4e\\u0eb1\\u0eb4-\\u0eb9\\u0ebb\\u0ebc\\u0ec8-\\u0ecd\\u0f18\\u0f19\\u0f35\\u0f37\\u0f39\\u0f71-\\u0f7e\\u0f80-\\u0f84\\u0f86\\u0f87\\u0f90-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u102d-\\u1030\\u1032-\\u1037\\u1039\\u103a\\u103d\\u103e\\u1058\\u1059\\u105e-\\u1060\\u1071-\\u1074\\u1082\\u1085\\u1086\\u108d\\u109d\\u135f\\u1712-\\u1714\\u1732-\\u1734\\u1752\\u1753\\u1772\\u1773\\u17b7-\\u17bd\\u17c6\\u17c9-\\u17d3\\u17dd\\u180b-\\u180d\\u18a9\\u1920-\\u1922\\u1927\\u1928\\u1932\\u1939-\\u193b\\u1a17\\u1a18\\u1a56\\u1a58-\\u1a5e\\u1a60\\u1a62\\u1a65-\\u1a6c\\u1a73-\\u1a7c\\u1a7f\\u1b00-\\u1b03\\u1b34\\u1b36-\\u1b3a\\u1b3c\\u1b42\\u1b6b-\\u1b73\\u1b80\\u1b81\\u1ba2-\\u1ba5\\u1ba8\\u1ba9\\u1c2c-\\u1c33\\u1c36\\u1c37\\u1cd0-\\u1cd2\\u1cd4-\\u1ce0\\u1ce2-\\u1ce8\\u1ced\\u1dc0-\\u1de6\\u1dfd-\\u1dff\\u200c\\u200d\\u20d0-\\u20f0\\u2cef-\\u2cf1\\u2de0-\\u2dff\\u302a-\\u302f\\u3099\\u309a\\ua66f-\\ua672\\ua67c\\ua67d\\ua6f0\\ua6f1\\ua802\\ua806\\ua80b\\ua825\\ua826\\ua8c4\\ua8e0-\\ua8f1\\ua926-\\ua92d\\ua947-\\ua951\\ua980-\\ua982\\ua9b3\\ua9b6-\\ua9b9\\ua9bc\\uaa29-\\uaa2e\\uaa31\\uaa32\\uaa35\\uaa36\\uaa43\\uaa4c\\uaab0\\uaab2-\\uaab4\\uaab7\\uaab8\\uaabe\\uaabf\\uaac1\\uabe5\\uabe8\\uabed\\udc00-\\udfff\\ufb1e\\ufe00-\\ufe0f\\ufe20-\\ufe26\\uff9e\\uff9f]/;\n  function isExtendingChar(ch) { return ch.charCodeAt(0) >= 768 && extendingChars.test(ch) }\n\n  // Returns a number from the range [`0`; `str.length`] unless `pos` is outside that range.\n  function skipExtendingChars(str, pos, dir) {\n    while ((dir < 0 ? pos > 0 : pos < str.length) && isExtendingChar(str.charAt(pos))) { pos += dir; }\n    return pos\n  }\n\n  // Returns the value from the range [`from`; `to`] that satisfies\n  // `pred` and is closest to `from`. Assumes that at least `to`\n  // satisfies `pred`. Supports `from` being greater than `to`.\n  function findFirst(pred, from, to) {\n    // At any point we are certain `to` satisfies `pred`, don't know\n    // whether `from` does.\n    var dir = from > to ? -1 : 1;\n    for (;;) {\n      if (from == to) { return from }\n      var midF = (from + to) / 2, mid = dir < 0 ? Math.ceil(midF) : Math.floor(midF);\n      if (mid == from) { return pred(mid) ? from : to }\n      if (pred(mid)) { to = mid; }\n      else { from = mid + dir; }\n    }\n  }\n\n  // BIDI HELPERS\n\n  function iterateBidiSections(order, from, to, f) {\n    if (!order) { return f(from, to, \"ltr\", 0) }\n    var found = false;\n    for (var i = 0; i < order.length; ++i) {\n      var part = order[i];\n      if (part.from < to && part.to > from || from == to && part.to == from) {\n        f(Math.max(part.from, from), Math.min(part.to, to), part.level == 1 ? \"rtl\" : \"ltr\", i);\n        found = true;\n      }\n    }\n    if (!found) { f(from, to, \"ltr\"); }\n  }\n\n  var bidiOther = null;\n  function getBidiPartAt(order, ch, sticky) {\n    var found;\n    bidiOther = null;\n    for (var i = 0; i < order.length; ++i) {\n      var cur = order[i];\n      if (cur.from < ch && cur.to > ch) { return i }\n      if (cur.to == ch) {\n        if (cur.from != cur.to && sticky == \"before\") { found = i; }\n        else { bidiOther = i; }\n      }\n      if (cur.from == ch) {\n        if (cur.from != cur.to && sticky != \"before\") { found = i; }\n        else { bidiOther = i; }\n      }\n    }\n    return found != null ? found : bidiOther\n  }\n\n  // Bidirectional ordering algorithm\n  // See http://unicode.org/reports/tr9/tr9-13.html for the algorithm\n  // that this (partially) implements.\n\n  // One-char codes used for character types:\n  // L (L):   Left-to-Right\n  // R (R):   Right-to-Left\n  // r (AL):  Right-to-Left Arabic\n  // 1 (EN):  European Number\n  // + (ES):  European Number Separator\n  // % (ET):  European Number Terminator\n  // n (AN):  Arabic Number\n  // , (CS):  Common Number Separator\n  // m (NSM): Non-Spacing Mark\n  // b (BN):  Boundary Neutral\n  // s (B):   Paragraph Separator\n  // t (S):   Segment Separator\n  // w (WS):  Whitespace\n  // N (ON):  Other Neutrals\n\n  // Returns null if characters are ordered as they appear\n  // (left-to-right), or an array of sections ({from, to, level}\n  // objects) in the order in which they occur visually.\n  var bidiOrdering = (function() {\n    // Character types for codepoints 0 to 0xff\n    var lowTypes = \"bbbbbbbbbtstwsbbbbbbbbbbbbbbssstwNN%%%NNNNNN,N,N1111111111NNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNNNLLLLLLLLLLLLLLLLLLLLLLLLLLNNNNbbbbbbsbbbbbbbbbbbbbbbbbbbbbbbbbb,N%%%%NNNNLNNNNN%%11NLNNN1LNNNNNLLLLLLLLLLLLLLLLLLLLLLLNLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLLN\";\n    // Character types for codepoints 0x600 to 0x6f9\n    var arabicTypes = \"nnnnnnNNr%%r,rNNmmmmmmmmmmmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmmmmmmmmmmmmmmmnnnnnnnnnn%nnrrrmrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrrmmmmmmmnNmmmmmmrrmmNmmmmrr1111111111\";\n    function charType(code) {\n      if (code <= 0xf7) { return lowTypes.charAt(code) }\n      else if (0x590 <= code && code <= 0x5f4) { return \"R\" }\n      else if (0x600 <= code && code <= 0x6f9) { return arabicTypes.charAt(code - 0x600) }\n      else if (0x6ee <= code && code <= 0x8ac) { return \"r\" }\n      else if (0x2000 <= code && code <= 0x200b) { return \"w\" }\n      else if (code == 0x200c) { return \"b\" }\n      else { return \"L\" }\n    }\n\n    var bidiRE = /[\\u0590-\\u05f4\\u0600-\\u06ff\\u0700-\\u08ac]/;\n    var isNeutral = /[stwN]/, isStrong = /[LRr]/, countsAsLeft = /[Lb1n]/, countsAsNum = /[1n]/;\n\n    function BidiSpan(level, from, to) {\n      this.level = level;\n      this.from = from; this.to = to;\n    }\n\n    return function(str, direction) {\n      var outerType = direction == \"ltr\" ? \"L\" : \"R\";\n\n      if (str.length == 0 || direction == \"ltr\" && !bidiRE.test(str)) { return false }\n      var len = str.length, types = [];\n      for (var i = 0; i < len; ++i)\n        { types.push(charType(str.charCodeAt(i))); }\n\n      // W1. Examine each non-spacing mark (NSM) in the level run, and\n      // change the type of the NSM to the type of the previous\n      // character. If the NSM is at the start of the level run, it will\n      // get the type of sor.\n      for (var i$1 = 0, prev = outerType; i$1 < len; ++i$1) {\n        var type = types[i$1];\n        if (type == \"m\") { types[i$1] = prev; }\n        else { prev = type; }\n      }\n\n      // W2. Search backwards from each instance of a European number\n      // until the first strong type (R, L, AL, or sor) is found. If an\n      // AL is found, change the type of the European number to Arabic\n      // number.\n      // W3. Change all ALs to R.\n      for (var i$2 = 0, cur = outerType; i$2 < len; ++i$2) {\n        var type$1 = types[i$2];\n        if (type$1 == \"1\" && cur == \"r\") { types[i$2] = \"n\"; }\n        else if (isStrong.test(type$1)) { cur = type$1; if (type$1 == \"r\") { types[i$2] = \"R\"; } }\n      }\n\n      // W4. A single European separator between two European numbers\n      // changes to a European number. A single common separator between\n      // two numbers of the same type changes to that type.\n      for (var i$3 = 1, prev$1 = types[0]; i$3 < len - 1; ++i$3) {\n        var type$2 = types[i$3];\n        if (type$2 == \"+\" && prev$1 == \"1\" && types[i$3+1] == \"1\") { types[i$3] = \"1\"; }\n        else if (type$2 == \",\" && prev$1 == types[i$3+1] &&\n                 (prev$1 == \"1\" || prev$1 == \"n\")) { types[i$3] = prev$1; }\n        prev$1 = type$2;\n      }\n\n      // W5. A sequence of European terminators adjacent to European\n      // numbers changes to all European numbers.\n      // W6. Otherwise, separators and terminators change to Other\n      // Neutral.\n      for (var i$4 = 0; i$4 < len; ++i$4) {\n        var type$3 = types[i$4];\n        if (type$3 == \",\") { types[i$4] = \"N\"; }\n        else if (type$3 == \"%\") {\n          var end = (void 0);\n          for (end = i$4 + 1; end < len && types[end] == \"%\"; ++end) {}\n          var replace = (i$4 && types[i$4-1] == \"!\") || (end < len && types[end] == \"1\") ? \"1\" : \"N\";\n          for (var j = i$4; j < end; ++j) { types[j] = replace; }\n          i$4 = end - 1;\n        }\n      }\n\n      // W7. Search backwards from each instance of a European number\n      // until the first strong type (R, L, or sor) is found. If an L is\n      // found, then change the type of the European number to L.\n      for (var i$5 = 0, cur$1 = outerType; i$5 < len; ++i$5) {\n        var type$4 = types[i$5];\n        if (cur$1 == \"L\" && type$4 == \"1\") { types[i$5] = \"L\"; }\n        else if (isStrong.test(type$4)) { cur$1 = type$4; }\n      }\n\n      // N1. A sequence of neutrals takes the direction of the\n      // surrounding strong text if the text on both sides has the same\n      // direction. European and Arabic numbers act as if they were R in\n      // terms of their influence on neutrals. Start-of-level-run (sor)\n      // and end-of-level-run (eor) are used at level run boundaries.\n      // N2. Any remaining neutrals take the embedding direction.\n      for (var i$6 = 0; i$6 < len; ++i$6) {\n        if (isNeutral.test(types[i$6])) {\n          var end$1 = (void 0);\n          for (end$1 = i$6 + 1; end$1 < len && isNeutral.test(types[end$1]); ++end$1) {}\n          var before = (i$6 ? types[i$6-1] : outerType) == \"L\";\n          var after = (end$1 < len ? types[end$1] : outerType) == \"L\";\n          var replace$1 = before == after ? (before ? \"L\" : \"R\") : outerType;\n          for (var j$1 = i$6; j$1 < end$1; ++j$1) { types[j$1] = replace$1; }\n          i$6 = end$1 - 1;\n        }\n      }\n\n      // Here we depart from the documented algorithm, in order to avoid\n      // building up an actual levels array. Since there are only three\n      // levels (0, 1, 2) in an implementation that doesn't take\n      // explicit embedding into account, we can build up the order on\n      // the fly, without following the level-based algorithm.\n      var order = [], m;\n      for (var i$7 = 0; i$7 < len;) {\n        if (countsAsLeft.test(types[i$7])) {\n          var start = i$7;\n          for (++i$7; i$7 < len && countsAsLeft.test(types[i$7]); ++i$7) {}\n          order.push(new BidiSpan(0, start, i$7));\n        } else {\n          var pos = i$7, at = order.length, isRTL = direction == \"rtl\" ? 1 : 0;\n          for (++i$7; i$7 < len && types[i$7] != \"L\"; ++i$7) {}\n          for (var j$2 = pos; j$2 < i$7;) {\n            if (countsAsNum.test(types[j$2])) {\n              if (pos < j$2) { order.splice(at, 0, new BidiSpan(1, pos, j$2)); at += isRTL; }\n              var nstart = j$2;\n              for (++j$2; j$2 < i$7 && countsAsNum.test(types[j$2]); ++j$2) {}\n              order.splice(at, 0, new BidiSpan(2, nstart, j$2));\n              at += isRTL;\n              pos = j$2;\n            } else { ++j$2; }\n          }\n          if (pos < i$7) { order.splice(at, 0, new BidiSpan(1, pos, i$7)); }\n        }\n      }\n      if (direction == \"ltr\") {\n        if (order[0].level == 1 && (m = str.match(/^\\s+/))) {\n          order[0].from = m[0].length;\n          order.unshift(new BidiSpan(0, 0, m[0].length));\n        }\n        if (lst(order).level == 1 && (m = str.match(/\\s+$/))) {\n          lst(order).to -= m[0].length;\n          order.push(new BidiSpan(0, len - m[0].length, len));\n        }\n      }\n\n      return direction == \"rtl\" ? order.reverse() : order\n    }\n  })();\n\n  // Get the bidi ordering for the given line (and cache it). Returns\n  // false for lines that are fully left-to-right, and an array of\n  // BidiSpan objects otherwise.\n  function getOrder(line, direction) {\n    var order = line.order;\n    if (order == null) { order = line.order = bidiOrdering(line.text, direction); }\n    return order\n  }\n\n  // EVENT HANDLING\n\n  // Lightweight event framework. on/off also work on DOM nodes,\n  // registering native DOM handlers.\n\n  var noHandlers = [];\n\n  var on = function(emitter, type, f) {\n    if (emitter.addEventListener) {\n      emitter.addEventListener(type, f, false);\n    } else if (emitter.attachEvent) {\n      emitter.attachEvent(\"on\" + type, f);\n    } else {\n      var map = emitter._handlers || (emitter._handlers = {});\n      map[type] = (map[type] || noHandlers).concat(f);\n    }\n  };\n\n  function getHandlers(emitter, type) {\n    return emitter._handlers && emitter._handlers[type] || noHandlers\n  }\n\n  function off(emitter, type, f) {\n    if (emitter.removeEventListener) {\n      emitter.removeEventListener(type, f, false);\n    } else if (emitter.detachEvent) {\n      emitter.detachEvent(\"on\" + type, f);\n    } else {\n      var map = emitter._handlers, arr = map && map[type];\n      if (arr) {\n        var index = indexOf(arr, f);\n        if (index > -1)\n          { map[type] = arr.slice(0, index).concat(arr.slice(index + 1)); }\n      }\n    }\n  }\n\n  function signal(emitter, type /*, values...*/) {\n    var handlers = getHandlers(emitter, type);\n    if (!handlers.length) { return }\n    var args = Array.prototype.slice.call(arguments, 2);\n    for (var i = 0; i < handlers.length; ++i) { handlers[i].apply(null, args); }\n  }\n\n  // The DOM events that CodeMirror handles can be overridden by\n  // registering a (non-DOM) handler on the editor for the event name,\n  // and preventDefault-ing the event in that handler.\n  function signalDOMEvent(cm, e, override) {\n    if (typeof e == \"string\")\n      { e = {type: e, preventDefault: function() { this.defaultPrevented = true; }}; }\n    signal(cm, override || e.type, cm, e);\n    return e_defaultPrevented(e) || e.codemirrorIgnore\n  }\n\n  function signalCursorActivity(cm) {\n    var arr = cm._handlers && cm._handlers.cursorActivity;\n    if (!arr) { return }\n    var set = cm.curOp.cursorActivityHandlers || (cm.curOp.cursorActivityHandlers = []);\n    for (var i = 0; i < arr.length; ++i) { if (indexOf(set, arr[i]) == -1)\n      { set.push(arr[i]); } }\n  }\n\n  function hasHandler(emitter, type) {\n    return getHandlers(emitter, type).length > 0\n  }\n\n  // Add on and off methods to a constructor's prototype, to make\n  // registering events on such objects more convenient.\n  function eventMixin(ctor) {\n    ctor.prototype.on = function(type, f) {on(this, type, f);};\n    ctor.prototype.off = function(type, f) {off(this, type, f);};\n  }\n\n  // Due to the fact that we still support jurassic IE versions, some\n  // compatibility wrappers are needed.\n\n  function e_preventDefault(e) {\n    if (e.preventDefault) { e.preventDefault(); }\n    else { e.returnValue = false; }\n  }\n  function e_stopPropagation(e) {\n    if (e.stopPropagation) { e.stopPropagation(); }\n    else { e.cancelBubble = true; }\n  }\n  function e_defaultPrevented(e) {\n    return e.defaultPrevented != null ? e.defaultPrevented : e.returnValue == false\n  }\n  function e_stop(e) {e_preventDefault(e); e_stopPropagation(e);}\n\n  function e_target(e) {return e.target || e.srcElement}\n  function e_button(e) {\n    var b = e.which;\n    if (b == null) {\n      if (e.button & 1) { b = 1; }\n      else if (e.button & 2) { b = 3; }\n      else if (e.button & 4) { b = 2; }\n    }\n    if (mac && e.ctrlKey && b == 1) { b = 3; }\n    return b\n  }\n\n  // Detect drag-and-drop\n  var dragAndDrop = function() {\n    // There is *some* kind of drag-and-drop support in IE6-8, but I\n    // couldn't get it to work yet.\n    if (ie && ie_version < 9) { return false }\n    var div = elt('div');\n    return \"draggable\" in div || \"dragDrop\" in div\n  }();\n\n  var zwspSupported;\n  function zeroWidthElement(measure) {\n    if (zwspSupported == null) {\n      var test = elt(\"span\", \"\\u200b\");\n      removeChildrenAndAdd(measure, elt(\"span\", [test, document.createTextNode(\"x\")]));\n      if (measure.firstChild.offsetHeight != 0)\n        { zwspSupported = test.offsetWidth <= 1 && test.offsetHeight > 2 && !(ie && ie_version < 8); }\n    }\n    var node = zwspSupported ? elt(\"span\", \"\\u200b\") :\n      elt(\"span\", \"\\u00a0\", null, \"display: inline-block; width: 1px; margin-right: -1px\");\n    node.setAttribute(\"cm-text\", \"\");\n    return node\n  }\n\n  // Feature-detect IE's crummy client rect reporting for bidi text\n  var badBidiRects;\n  function hasBadBidiRects(measure) {\n    if (badBidiRects != null) { return badBidiRects }\n    var txt = removeChildrenAndAdd(measure, document.createTextNode(\"A\\u062eA\"));\n    var r0 = range(txt, 0, 1).getBoundingClientRect();\n    var r1 = range(txt, 1, 2).getBoundingClientRect();\n    removeChildren(measure);\n    if (!r0 || r0.left == r0.right) { return false } // Safari returns null in some cases (#2780)\n    return badBidiRects = (r1.right - r0.right < 3)\n  }\n\n  // See if \"\".split is the broken IE version, if so, provide an\n  // alternative way to split lines.\n  var splitLinesAuto = \"\\n\\nb\".split(/\\n/).length != 3 ? function (string) {\n    var pos = 0, result = [], l = string.length;\n    while (pos <= l) {\n      var nl = string.indexOf(\"\\n\", pos);\n      if (nl == -1) { nl = string.length; }\n      var line = string.slice(pos, string.charAt(nl - 1) == \"\\r\" ? nl - 1 : nl);\n      var rt = line.indexOf(\"\\r\");\n      if (rt != -1) {\n        result.push(line.slice(0, rt));\n        pos += rt + 1;\n      } else {\n        result.push(line);\n        pos = nl + 1;\n      }\n    }\n    return result\n  } : function (string) { return string.split(/\\r\\n?|\\n/); };\n\n  var hasSelection = window.getSelection ? function (te) {\n    try { return te.selectionStart != te.selectionEnd }\n    catch(e) { return false }\n  } : function (te) {\n    var range;\n    try {range = te.ownerDocument.selection.createRange();}\n    catch(e) {}\n    if (!range || range.parentElement() != te) { return false }\n    return range.compareEndPoints(\"StartToEnd\", range) != 0\n  };\n\n  var hasCopyEvent = (function () {\n    var e = elt(\"div\");\n    if (\"oncopy\" in e) { return true }\n    e.setAttribute(\"oncopy\", \"return;\");\n    return typeof e.oncopy == \"function\"\n  })();\n\n  var badZoomedRects = null;\n  function hasBadZoomedRects(measure) {\n    if (badZoomedRects != null) { return badZoomedRects }\n    var node = removeChildrenAndAdd(measure, elt(\"span\", \"x\"));\n    var normal = node.getBoundingClientRect();\n    var fromRange = range(node, 0, 1).getBoundingClientRect();\n    return badZoomedRects = Math.abs(normal.left - fromRange.left) > 1\n  }\n\n  // Known modes, by name and by MIME\n  var modes = {}, mimeModes = {};\n\n  // Extra arguments are stored as the mode's dependencies, which is\n  // used by (legacy) mechanisms like loadmode.js to automatically\n  // load a mode. (Preferred mechanism is the require/define calls.)\n  function defineMode(name, mode) {\n    if (arguments.length > 2)\n      { mode.dependencies = Array.prototype.slice.call(arguments, 2); }\n    modes[name] = mode;\n  }\n\n  function defineMIME(mime, spec) {\n    mimeModes[mime] = spec;\n  }\n\n  // Given a MIME type, a {name, ...options} config object, or a name\n  // string, return a mode config object.\n  function resolveMode(spec) {\n    if (typeof spec == \"string\" && mimeModes.hasOwnProperty(spec)) {\n      spec = mimeModes[spec];\n    } else if (spec && typeof spec.name == \"string\" && mimeModes.hasOwnProperty(spec.name)) {\n      var found = mimeModes[spec.name];\n      if (typeof found == \"string\") { found = {name: found}; }\n      spec = createObj(found, spec);\n      spec.name = found.name;\n    } else if (typeof spec == \"string\" && /^[\\w\\-]+\\/[\\w\\-]+\\+xml$/.test(spec)) {\n      return resolveMode(\"application/xml\")\n    } else if (typeof spec == \"string\" && /^[\\w\\-]+\\/[\\w\\-]+\\+json$/.test(spec)) {\n      return resolveMode(\"application/json\")\n    }\n    if (typeof spec == \"string\") { return {name: spec} }\n    else { return spec || {name: \"null\"} }\n  }\n\n  // Given a mode spec (anything that resolveMode accepts), find and\n  // initialize an actual mode object.\n  function getMode(options, spec) {\n    spec = resolveMode(spec);\n    var mfactory = modes[spec.name];\n    if (!mfactory) { return getMode(options, \"text/plain\") }\n    var modeObj = mfactory(options, spec);\n    if (modeExtensions.hasOwnProperty(spec.name)) {\n      var exts = modeExtensions[spec.name];\n      for (var prop in exts) {\n        if (!exts.hasOwnProperty(prop)) { continue }\n        if (modeObj.hasOwnProperty(prop)) { modeObj[\"_\" + prop] = modeObj[prop]; }\n        modeObj[prop] = exts[prop];\n      }\n    }\n    modeObj.name = spec.name;\n    if (spec.helperType) { modeObj.helperType = spec.helperType; }\n    if (spec.modeProps) { for (var prop$1 in spec.modeProps)\n      { modeObj[prop$1] = spec.modeProps[prop$1]; } }\n\n    return modeObj\n  }\n\n  // This can be used to attach properties to mode objects from\n  // outside the actual mode definition.\n  var modeExtensions = {};\n  function extendMode(mode, properties) {\n    var exts = modeExtensions.hasOwnProperty(mode) ? modeExtensions[mode] : (modeExtensions[mode] = {});\n    copyObj(properties, exts);\n  }\n\n  function copyState(mode, state) {\n    if (state === true) { return state }\n    if (mode.copyState) { return mode.copyState(state) }\n    var nstate = {};\n    for (var n in state) {\n      var val = state[n];\n      if (val instanceof Array) { val = val.concat([]); }\n      nstate[n] = val;\n    }\n    return nstate\n  }\n\n  // Given a mode and a state (for that mode), find the inner mode and\n  // state at the position that the state refers to.\n  function innerMode(mode, state) {\n    var info;\n    while (mode.innerMode) {\n      info = mode.innerMode(state);\n      if (!info || info.mode == mode) { break }\n      state = info.state;\n      mode = info.mode;\n    }\n    return info || {mode: mode, state: state}\n  }\n\n  function startState(mode, a1, a2) {\n    return mode.startState ? mode.startState(a1, a2) : true\n  }\n\n  // STRING STREAM\n\n  // Fed to the mode parsers, provides helper functions to make\n  // parsers more succinct.\n\n  var StringStream = function(string, tabSize, lineOracle) {\n    this.pos = this.start = 0;\n    this.string = string;\n    this.tabSize = tabSize || 8;\n    this.lastColumnPos = this.lastColumnValue = 0;\n    this.lineStart = 0;\n    this.lineOracle = lineOracle;\n  };\n\n  StringStream.prototype.eol = function () {return this.pos >= this.string.length};\n  StringStream.prototype.sol = function () {return this.pos == this.lineStart};\n  StringStream.prototype.peek = function () {return this.string.charAt(this.pos) || undefined};\n  StringStream.prototype.next = function () {\n    if (this.pos < this.string.length)\n      { return this.string.charAt(this.pos++) }\n  };\n  StringStream.prototype.eat = function (match) {\n    var ch = this.string.charAt(this.pos);\n    var ok;\n    if (typeof match == \"string\") { ok = ch == match; }\n    else { ok = ch && (match.test ? match.test(ch) : match(ch)); }\n    if (ok) {++this.pos; return ch}\n  };\n  StringStream.prototype.eatWhile = function (match) {\n    var start = this.pos;\n    while (this.eat(match)){}\n    return this.pos > start\n  };\n  StringStream.prototype.eatSpace = function () {\n    var start = this.pos;\n    while (/[\\s\\u00a0]/.test(this.string.charAt(this.pos))) { ++this.pos; }\n    return this.pos > start\n  };\n  StringStream.prototype.skipToEnd = function () {this.pos = this.string.length;};\n  StringStream.prototype.skipTo = function (ch) {\n    var found = this.string.indexOf(ch, this.pos);\n    if (found > -1) {this.pos = found; return true}\n  };\n  StringStream.prototype.backUp = function (n) {this.pos -= n;};\n  StringStream.prototype.column = function () {\n    if (this.lastColumnPos < this.start) {\n      this.lastColumnValue = countColumn(this.string, this.start, this.tabSize, this.lastColumnPos, this.lastColumnValue);\n      this.lastColumnPos = this.start;\n    }\n    return this.lastColumnValue - (this.lineStart ? countColumn(this.string, this.lineStart, this.tabSize) : 0)\n  };\n  StringStream.prototype.indentation = function () {\n    return countColumn(this.string, null, this.tabSize) -\n      (this.lineStart ? countColumn(this.string, this.lineStart, this.tabSize) : 0)\n  };\n  StringStream.prototype.match = function (pattern, consume, caseInsensitive) {\n    if (typeof pattern == \"string\") {\n      var cased = function (str) { return caseInsensitive ? str.toLowerCase() : str; };\n      var substr = this.string.substr(this.pos, pattern.length);\n      if (cased(substr) == cased(pattern)) {\n        if (consume !== false) { this.pos += pattern.length; }\n        return true\n      }\n    } else {\n      var match = this.string.slice(this.pos).match(pattern);\n      if (match && match.index > 0) { return null }\n      if (match && consume !== false) { this.pos += match[0].length; }\n      return match\n    }\n  };\n  StringStream.prototype.current = function (){return this.string.slice(this.start, this.pos)};\n  StringStream.prototype.hideFirstChars = function (n, inner) {\n    this.lineStart += n;\n    try { return inner() }\n    finally { this.lineStart -= n; }\n  };\n  StringStream.prototype.lookAhead = function (n) {\n    var oracle = this.lineOracle;\n    return oracle && oracle.lookAhead(n)\n  };\n  StringStream.prototype.baseToken = function () {\n    var oracle = this.lineOracle;\n    return oracle && oracle.baseToken(this.pos)\n  };\n\n  // Find the line object corresponding to the given line number.\n  function getLine(doc, n) {\n    n -= doc.first;\n    if (n < 0 || n >= doc.size) { throw new Error(\"There is no line \" + (n + doc.first) + \" in the document.\") }\n    var chunk = doc;\n    while (!chunk.lines) {\n      for (var i = 0;; ++i) {\n        var child = chunk.children[i], sz = child.chunkSize();\n        if (n < sz) { chunk = child; break }\n        n -= sz;\n      }\n    }\n    return chunk.lines[n]\n  }\n\n  // Get the part of a document between two positions, as an array of\n  // strings.\n  function getBetween(doc, start, end) {\n    var out = [], n = start.line;\n    doc.iter(start.line, end.line + 1, function (line) {\n      var text = line.text;\n      if (n == end.line) { text = text.slice(0, end.ch); }\n      if (n == start.line) { text = text.slice(start.ch); }\n      out.push(text);\n      ++n;\n    });\n    return out\n  }\n  // Get the lines between from and to, as array of strings.\n  function getLines(doc, from, to) {\n    var out = [];\n    doc.iter(from, to, function (line) { out.push(line.text); }); // iter aborts when callback returns truthy value\n    return out\n  }\n\n  // Update the height of a line, propagating the height change\n  // upwards to parent nodes.\n  function updateLineHeight(line, height) {\n    var diff = height - line.height;\n    if (diff) { for (var n = line; n; n = n.parent) { n.height += diff; } }\n  }\n\n  // Given a line object, find its line number by walking up through\n  // its parent links.\n  function lineNo(line) {\n    if (line.parent == null) { return null }\n    var cur = line.parent, no = indexOf(cur.lines, line);\n    for (var chunk = cur.parent; chunk; cur = chunk, chunk = chunk.parent) {\n      for (var i = 0;; ++i) {\n        if (chunk.children[i] == cur) { break }\n        no += chunk.children[i].chunkSize();\n      }\n    }\n    return no + cur.first\n  }\n\n  // Find the line at the given vertical position, using the height\n  // information in the document tree.\n  function lineAtHeight(chunk, h) {\n    var n = chunk.first;\n    outer: do {\n      for (var i$1 = 0; i$1 < chunk.children.length; ++i$1) {\n        var child = chunk.children[i$1], ch = child.height;\n        if (h < ch) { chunk = child; continue outer }\n        h -= ch;\n        n += child.chunkSize();\n      }\n      return n\n    } while (!chunk.lines)\n    var i = 0;\n    for (; i < chunk.lines.length; ++i) {\n      var line = chunk.lines[i], lh = line.height;\n      if (h < lh) { break }\n      h -= lh;\n    }\n    return n + i\n  }\n\n  function isLine(doc, l) {return l >= doc.first && l < doc.first + doc.size}\n\n  function lineNumberFor(options, i) {\n    return String(options.lineNumberFormatter(i + options.firstLineNumber))\n  }\n\n  // A Pos instance represents a position within the text.\n  function Pos(line, ch, sticky) {\n    if ( sticky === void 0 ) sticky = null;\n\n    if (!(this instanceof Pos)) { return new Pos(line, ch, sticky) }\n    this.line = line;\n    this.ch = ch;\n    this.sticky = sticky;\n  }\n\n  // Compare two positions, return 0 if they are the same, a negative\n  // number when a is less, and a positive number otherwise.\n  function cmp(a, b) { return a.line - b.line || a.ch - b.ch }\n\n  function equalCursorPos(a, b) { return a.sticky == b.sticky && cmp(a, b) == 0 }\n\n  function copyPos(x) {return Pos(x.line, x.ch)}\n  function maxPos(a, b) { return cmp(a, b) < 0 ? b : a }\n  function minPos(a, b) { return cmp(a, b) < 0 ? a : b }\n\n  // Most of the external API clips given positions to make sure they\n  // actually exist within the document.\n  function clipLine(doc, n) {return Math.max(doc.first, Math.min(n, doc.first + doc.size - 1))}\n  function clipPos(doc, pos) {\n    if (pos.line < doc.first) { return Pos(doc.first, 0) }\n    var last = doc.first + doc.size - 1;\n    if (pos.line > last) { return Pos(last, getLine(doc, last).text.length) }\n    return clipToLen(pos, getLine(doc, pos.line).text.length)\n  }\n  function clipToLen(pos, linelen) {\n    var ch = pos.ch;\n    if (ch == null || ch > linelen) { return Pos(pos.line, linelen) }\n    else if (ch < 0) { return Pos(pos.line, 0) }\n    else { return pos }\n  }\n  function clipPosArray(doc, array) {\n    var out = [];\n    for (var i = 0; i < array.length; i++) { out[i] = clipPos(doc, array[i]); }\n    return out\n  }\n\n  var SavedContext = function(state, lookAhead) {\n    this.state = state;\n    this.lookAhead = lookAhead;\n  };\n\n  var Context = function(doc, state, line, lookAhead) {\n    this.state = state;\n    this.doc = doc;\n    this.line = line;\n    this.maxLookAhead = lookAhead || 0;\n    this.baseTokens = null;\n    this.baseTokenPos = 1;\n  };\n\n  Context.prototype.lookAhead = function (n) {\n    var line = this.doc.getLine(this.line + n);\n    if (line != null && n > this.maxLookAhead) { this.maxLookAhead = n; }\n    return line\n  };\n\n  Context.prototype.baseToken = function (n) {\n    if (!this.baseTokens) { return null }\n    while (this.baseTokens[this.baseTokenPos] <= n)\n      { this.baseTokenPos += 2; }\n    var type = this.baseTokens[this.baseTokenPos + 1];\n    return {type: type && type.replace(/( |^)overlay .*/, \"\"),\n            size: this.baseTokens[this.baseTokenPos] - n}\n  };\n\n  Context.prototype.nextLine = function () {\n    this.line++;\n    if (this.maxLookAhead > 0) { this.maxLookAhead--; }\n  };\n\n  Context.fromSaved = function (doc, saved, line) {\n    if (saved instanceof SavedContext)\n      { return new Context(doc, copyState(doc.mode, saved.state), line, saved.lookAhead) }\n    else\n      { return new Context(doc, copyState(doc.mode, saved), line) }\n  };\n\n  Context.prototype.save = function (copy) {\n    var state = copy !== false ? copyState(this.doc.mode, this.state) : this.state;\n    return this.maxLookAhead > 0 ? new SavedContext(state, this.maxLookAhead) : state\n  };\n\n\n  // Compute a style array (an array starting with a mode generation\n  // -- for invalidation -- followed by pairs of end positions and\n  // style strings), which is used to highlight the tokens on the\n  // line.\n  function highlightLine(cm, line, context, forceToEnd) {\n    // A styles array always starts with a number identifying the\n    // mode/overlays that it is based on (for easy invalidation).\n    var st = [cm.state.modeGen], lineClasses = {};\n    // Compute the base array of styles\n    runMode(cm, line.text, cm.doc.mode, context, function (end, style) { return st.push(end, style); },\n            lineClasses, forceToEnd);\n    var state = context.state;\n\n    // Run overlays, adjust style array.\n    var loop = function ( o ) {\n      context.baseTokens = st;\n      var overlay = cm.state.overlays[o], i = 1, at = 0;\n      context.state = true;\n      runMode(cm, line.text, overlay.mode, context, function (end, style) {\n        var start = i;\n        // Ensure there's a token end at the current position, and that i points at it\n        while (at < end) {\n          var i_end = st[i];\n          if (i_end > end)\n            { st.splice(i, 1, end, st[i+1], i_end); }\n          i += 2;\n          at = Math.min(end, i_end);\n        }\n        if (!style) { return }\n        if (overlay.opaque) {\n          st.splice(start, i - start, end, \"overlay \" + style);\n          i = start + 2;\n        } else {\n          for (; start < i; start += 2) {\n            var cur = st[start+1];\n            st[start+1] = (cur ? cur + \" \" : \"\") + \"overlay \" + style;\n          }\n        }\n      }, lineClasses);\n      context.state = state;\n      context.baseTokens = null;\n      context.baseTokenPos = 1;\n    };\n\n    for (var o = 0; o < cm.state.overlays.length; ++o) loop( o );\n\n    return {styles: st, classes: lineClasses.bgClass || lineClasses.textClass ? lineClasses : null}\n  }\n\n  function getLineStyles(cm, line, updateFrontier) {\n    if (!line.styles || line.styles[0] != cm.state.modeGen) {\n      var context = getContextBefore(cm, lineNo(line));\n      var resetState = line.text.length > cm.options.maxHighlightLength && copyState(cm.doc.mode, context.state);\n      var result = highlightLine(cm, line, context);\n      if (resetState) { context.state = resetState; }\n      line.stateAfter = context.save(!resetState);\n      line.styles = result.styles;\n      if (result.classes) { line.styleClasses = result.classes; }\n      else if (line.styleClasses) { line.styleClasses = null; }\n      if (updateFrontier === cm.doc.highlightFrontier)\n        { cm.doc.modeFrontier = Math.max(cm.doc.modeFrontier, ++cm.doc.highlightFrontier); }\n    }\n    return line.styles\n  }\n\n  function getContextBefore(cm, n, precise) {\n    var doc = cm.doc, display = cm.display;\n    if (!doc.mode.startState) { return new Context(doc, true, n) }\n    var start = findStartLine(cm, n, precise);\n    var saved = start > doc.first && getLine(doc, start - 1).stateAfter;\n    var context = saved ? Context.fromSaved(doc, saved, start) : new Context(doc, startState(doc.mode), start);\n\n    doc.iter(start, n, function (line) {\n      processLine(cm, line.text, context);\n      var pos = context.line;\n      line.stateAfter = pos == n - 1 || pos % 5 == 0 || pos >= display.viewFrom && pos < display.viewTo ? context.save() : null;\n      context.nextLine();\n    });\n    if (precise) { doc.modeFrontier = context.line; }\n    return context\n  }\n\n  // Lightweight form of highlight -- proceed over this line and\n  // update state, but don't save a style array. Used for lines that\n  // aren't currently visible.\n  function processLine(cm, text, context, startAt) {\n    var mode = cm.doc.mode;\n    var stream = new StringStream(text, cm.options.tabSize, context);\n    stream.start = stream.pos = startAt || 0;\n    if (text == \"\") { callBlankLine(mode, context.state); }\n    while (!stream.eol()) {\n      readToken(mode, stream, context.state);\n      stream.start = stream.pos;\n    }\n  }\n\n  function callBlankLine(mode, state) {\n    if (mode.blankLine) { return mode.blankLine(state) }\n    if (!mode.innerMode) { return }\n    var inner = innerMode(mode, state);\n    if (inner.mode.blankLine) { return inner.mode.blankLine(inner.state) }\n  }\n\n  function readToken(mode, stream, state, inner) {\n    for (var i = 0; i < 10; i++) {\n      if (inner) { inner[0] = innerMode(mode, state).mode; }\n      var style = mode.token(stream, state);\n      if (stream.pos > stream.start) { return style }\n    }\n    throw new Error(\"Mode \" + mode.name + \" failed to advance stream.\")\n  }\n\n  var Token = function(stream, type, state) {\n    this.start = stream.start; this.end = stream.pos;\n    this.string = stream.current();\n    this.type = type || null;\n    this.state = state;\n  };\n\n  // Utility for getTokenAt and getLineTokens\n  function takeToken(cm, pos, precise, asArray) {\n    var doc = cm.doc, mode = doc.mode, style;\n    pos = clipPos(doc, pos);\n    var line = getLine(doc, pos.line), context = getContextBefore(cm, pos.line, precise);\n    var stream = new StringStream(line.text, cm.options.tabSize, context), tokens;\n    if (asArray) { tokens = []; }\n    while ((asArray || stream.pos < pos.ch) && !stream.eol()) {\n      stream.start = stream.pos;\n      style = readToken(mode, stream, context.state);\n      if (asArray) { tokens.push(new Token(stream, style, copyState(doc.mode, context.state))); }\n    }\n    return asArray ? tokens : new Token(stream, style, context.state)\n  }\n\n  function extractLineClasses(type, output) {\n    if (type) { for (;;) {\n      var lineClass = type.match(/(?:^|\\s+)line-(background-)?(\\S+)/);\n      if (!lineClass) { break }\n      type = type.slice(0, lineClass.index) + type.slice(lineClass.index + lineClass[0].length);\n      var prop = lineClass[1] ? \"bgClass\" : \"textClass\";\n      if (output[prop] == null)\n        { output[prop] = lineClass[2]; }\n      else if (!(new RegExp(\"(?:^|\\\\s)\" + lineClass[2] + \"(?:$|\\\\s)\")).test(output[prop]))\n        { output[prop] += \" \" + lineClass[2]; }\n    } }\n    return type\n  }\n\n  // Run the given mode's parser over a line, calling f for each token.\n  function runMode(cm, text, mode, context, f, lineClasses, forceToEnd) {\n    var flattenSpans = mode.flattenSpans;\n    if (flattenSpans == null) { flattenSpans = cm.options.flattenSpans; }\n    var curStart = 0, curStyle = null;\n    var stream = new StringStream(text, cm.options.tabSize, context), style;\n    var inner = cm.options.addModeClass && [null];\n    if (text == \"\") { extractLineClasses(callBlankLine(mode, context.state), lineClasses); }\n    while (!stream.eol()) {\n      if (stream.pos > cm.options.maxHighlightLength) {\n        flattenSpans = false;\n        if (forceToEnd) { processLine(cm, text, context, stream.pos); }\n        stream.pos = text.length;\n        style = null;\n      } else {\n        style = extractLineClasses(readToken(mode, stream, context.state, inner), lineClasses);\n      }\n      if (inner) {\n        var mName = inner[0].name;\n        if (mName) { style = \"m-\" + (style ? mName + \" \" + style : mName); }\n      }\n      if (!flattenSpans || curStyle != style) {\n        while (curStart < stream.start) {\n          curStart = Math.min(stream.start, curStart + 5000);\n          f(curStart, curStyle);\n        }\n        curStyle = style;\n      }\n      stream.start = stream.pos;\n    }\n    while (curStart < stream.pos) {\n      // Webkit seems to refuse to render text nodes longer than 57444\n      // characters, and returns inaccurate measurements in nodes\n      // starting around 5000 chars.\n      var pos = Math.min(stream.pos, curStart + 5000);\n      f(pos, curStyle);\n      curStart = pos;\n    }\n  }\n\n  // Finds the line to start with when starting a parse. Tries to\n  // find a line with a stateAfter, so that it can start with a\n  // valid state. If that fails, it returns the line with the\n  // smallest indentation, which tends to need the least context to\n  // parse correctly.\n  function findStartLine(cm, n, precise) {\n    var minindent, minline, doc = cm.doc;\n    var lim = precise ? -1 : n - (cm.doc.mode.innerMode ? 1000 : 100);\n    for (var search = n; search > lim; --search) {\n      if (search <= doc.first) { return doc.first }\n      var line = getLine(doc, search - 1), after = line.stateAfter;\n      if (after && (!precise || search + (after instanceof SavedContext ? after.lookAhead : 0) <= doc.modeFrontier))\n        { return search }\n      var indented = countColumn(line.text, null, cm.options.tabSize);\n      if (minline == null || minindent > indented) {\n        minline = search - 1;\n        minindent = indented;\n      }\n    }\n    return minline\n  }\n\n  function retreatFrontier(doc, n) {\n    doc.modeFrontier = Math.min(doc.modeFrontier, n);\n    if (doc.highlightFrontier < n - 10) { return }\n    var start = doc.first;\n    for (var line = n - 1; line > start; line--) {\n      var saved = getLine(doc, line).stateAfter;\n      // change is on 3\n      // state on line 1 looked ahead 2 -- so saw 3\n      // test 1 + 2 < 3 should cover this\n      if (saved && (!(saved instanceof SavedContext) || line + saved.lookAhead < n)) {\n        start = line + 1;\n        break\n      }\n    }\n    doc.highlightFrontier = Math.min(doc.highlightFrontier, start);\n  }\n\n  // Optimize some code when these features are not used.\n  var sawReadOnlySpans = false, sawCollapsedSpans = false;\n\n  function seeReadOnlySpans() {\n    sawReadOnlySpans = true;\n  }\n\n  function seeCollapsedSpans() {\n    sawCollapsedSpans = true;\n  }\n\n  // TEXTMARKER SPANS\n\n  function MarkedSpan(marker, from, to) {\n    this.marker = marker;\n    this.from = from; this.to = to;\n  }\n\n  // Search an array of spans for a span matching the given marker.\n  function getMarkedSpanFor(spans, marker) {\n    if (spans) { for (var i = 0; i < spans.length; ++i) {\n      var span = spans[i];\n      if (span.marker == marker) { return span }\n    } }\n  }\n\n  // Remove a span from an array, returning undefined if no spans are\n  // left (we don't store arrays for lines without spans).\n  function removeMarkedSpan(spans, span) {\n    var r;\n    for (var i = 0; i < spans.length; ++i)\n      { if (spans[i] != span) { (r || (r = [])).push(spans[i]); } }\n    return r\n  }\n\n  // Add a span to a line.\n  function addMarkedSpan(line, span, op) {\n    var inThisOp = op && window.WeakSet && (op.markedSpans || (op.markedSpans = new WeakSet));\n    if (inThisOp && line.markedSpans && inThisOp.has(line.markedSpans)) {\n      line.markedSpans.push(span);\n    } else {\n      line.markedSpans = line.markedSpans ? line.markedSpans.concat([span]) : [span];\n      if (inThisOp) { inThisOp.add(line.markedSpans); }\n    }\n    span.marker.attachLine(line);\n  }\n\n  // Used for the algorithm that adjusts markers for a change in the\n  // document. These functions cut an array of spans at a given\n  // character position, returning an array of remaining chunks (or\n  // undefined if nothing remains).\n  function markedSpansBefore(old, startCh, isInsert) {\n    var nw;\n    if (old) { for (var i = 0; i < old.length; ++i) {\n      var span = old[i], marker = span.marker;\n      var startsBefore = span.from == null || (marker.inclusiveLeft ? span.from <= startCh : span.from < startCh);\n      if (startsBefore || span.from == startCh && marker.type == \"bookmark\" && (!isInsert || !span.marker.insertLeft)) {\n        var endsAfter = span.to == null || (marker.inclusiveRight ? span.to >= startCh : span.to > startCh)\n        ;(nw || (nw = [])).push(new MarkedSpan(marker, span.from, endsAfter ? null : span.to));\n      }\n    } }\n    return nw\n  }\n  function markedSpansAfter(old, endCh, isInsert) {\n    var nw;\n    if (old) { for (var i = 0; i < old.length; ++i) {\n      var span = old[i], marker = span.marker;\n      var endsAfter = span.to == null || (marker.inclusiveRight ? span.to >= endCh : span.to > endCh);\n      if (endsAfter || span.from == endCh && marker.type == \"bookmark\" && (!isInsert || span.marker.insertLeft)) {\n        var startsBefore = span.from == null || (marker.inclusiveLeft ? span.from <= endCh : span.from < endCh)\n        ;(nw || (nw = [])).push(new MarkedSpan(marker, startsBefore ? null : span.from - endCh,\n                                              span.to == null ? null : span.to - endCh));\n      }\n    } }\n    return nw\n  }\n\n  // Given a change object, compute the new set of marker spans that\n  // cover the line in which the change took place. Removes spans\n  // entirely within the change, reconnects spans belonging to the\n  // same marker that appear on both sides of the change, and cuts off\n  // spans partially within the change. Returns an array of span\n  // arrays with one element for each line in (after) the change.\n  function stretchSpansOverChange(doc, change) {\n    if (change.full) { return null }\n    var oldFirst = isLine(doc, change.from.line) && getLine(doc, change.from.line).markedSpans;\n    var oldLast = isLine(doc, change.to.line) && getLine(doc, change.to.line).markedSpans;\n    if (!oldFirst && !oldLast) { return null }\n\n    var startCh = change.from.ch, endCh = change.to.ch, isInsert = cmp(change.from, change.to) == 0;\n    // Get the spans that 'stick out' on both sides\n    var first = markedSpansBefore(oldFirst, startCh, isInsert);\n    var last = markedSpansAfter(oldLast, endCh, isInsert);\n\n    // Next, merge those two ends\n    var sameLine = change.text.length == 1, offset = lst(change.text).length + (sameLine ? startCh : 0);\n    if (first) {\n      // Fix up .to properties of first\n      for (var i = 0; i < first.length; ++i) {\n        var span = first[i];\n        if (span.to == null) {\n          var found = getMarkedSpanFor(last, span.marker);\n          if (!found) { span.to = startCh; }\n          else if (sameLine) { span.to = found.to == null ? null : found.to + offset; }\n        }\n      }\n    }\n    if (last) {\n      // Fix up .from in last (or move them into first in case of sameLine)\n      for (var i$1 = 0; i$1 < last.length; ++i$1) {\n        var span$1 = last[i$1];\n        if (span$1.to != null) { span$1.to += offset; }\n        if (span$1.from == null) {\n          var found$1 = getMarkedSpanFor(first, span$1.marker);\n          if (!found$1) {\n            span$1.from = offset;\n            if (sameLine) { (first || (first = [])).push(span$1); }\n          }\n        } else {\n          span$1.from += offset;\n          if (sameLine) { (first || (first = [])).push(span$1); }\n        }\n      }\n    }\n    // Make sure we didn't create any zero-length spans\n    if (first) { first = clearEmptySpans(first); }\n    if (last && last != first) { last = clearEmptySpans(last); }\n\n    var newMarkers = [first];\n    if (!sameLine) {\n      // Fill gap with whole-line-spans\n      var gap = change.text.length - 2, gapMarkers;\n      if (gap > 0 && first)\n        { for (var i$2 = 0; i$2 < first.length; ++i$2)\n          { if (first[i$2].to == null)\n            { (gapMarkers || (gapMarkers = [])).push(new MarkedSpan(first[i$2].marker, null, null)); } } }\n      for (var i$3 = 0; i$3 < gap; ++i$3)\n        { newMarkers.push(gapMarkers); }\n      newMarkers.push(last);\n    }\n    return newMarkers\n  }\n\n  // Remove spans that are empty and don't have a clearWhenEmpty\n  // option of false.\n  function clearEmptySpans(spans) {\n    for (var i = 0; i < spans.length; ++i) {\n      var span = spans[i];\n      if (span.from != null && span.from == span.to && span.marker.clearWhenEmpty !== false)\n        { spans.splice(i--, 1); }\n    }\n    if (!spans.length) { return null }\n    return spans\n  }\n\n  // Used to 'clip' out readOnly ranges when making a change.\n  function removeReadOnlyRanges(doc, from, to) {\n    var markers = null;\n    doc.iter(from.line, to.line + 1, function (line) {\n      if (line.markedSpans) { for (var i = 0; i < line.markedSpans.length; ++i) {\n        var mark = line.markedSpans[i].marker;\n        if (mark.readOnly && (!markers || indexOf(markers, mark) == -1))\n          { (markers || (markers = [])).push(mark); }\n      } }\n    });\n    if (!markers) { return null }\n    var parts = [{from: from, to: to}];\n    for (var i = 0; i < markers.length; ++i) {\n      var mk = markers[i], m = mk.find(0);\n      for (var j = 0; j < parts.length; ++j) {\n        var p = parts[j];\n        if (cmp(p.to, m.from) < 0 || cmp(p.from, m.to) > 0) { continue }\n        var newParts = [j, 1], dfrom = cmp(p.from, m.from), dto = cmp(p.to, m.to);\n        if (dfrom < 0 || !mk.inclusiveLeft && !dfrom)\n          { newParts.push({from: p.from, to: m.from}); }\n        if (dto > 0 || !mk.inclusiveRight && !dto)\n          { newParts.push({from: m.to, to: p.to}); }\n        parts.splice.apply(parts, newParts);\n        j += newParts.length - 3;\n      }\n    }\n    return parts\n  }\n\n  // Connect or disconnect spans from a line.\n  function detachMarkedSpans(line) {\n    var spans = line.markedSpans;\n    if (!spans) { return }\n    for (var i = 0; i < spans.length; ++i)\n      { spans[i].marker.detachLine(line); }\n    line.markedSpans = null;\n  }\n  function attachMarkedSpans(line, spans) {\n    if (!spans) { return }\n    for (var i = 0; i < spans.length; ++i)\n      { spans[i].marker.attachLine(line); }\n    line.markedSpans = spans;\n  }\n\n  // Helpers used when computing which overlapping collapsed span\n  // counts as the larger one.\n  function extraLeft(marker) { return marker.inclusiveLeft ? -1 : 0 }\n  function extraRight(marker) { return marker.inclusiveRight ? 1 : 0 }\n\n  // Returns a number indicating which of two overlapping collapsed\n  // spans is larger (and thus includes the other). Falls back to\n  // comparing ids when the spans cover exactly the same range.\n  function compareCollapsedMarkers(a, b) {\n    var lenDiff = a.lines.length - b.lines.length;\n    if (lenDiff != 0) { return lenDiff }\n    var aPos = a.find(), bPos = b.find();\n    var fromCmp = cmp(aPos.from, bPos.from) || extraLeft(a) - extraLeft(b);\n    if (fromCmp) { return -fromCmp }\n    var toCmp = cmp(aPos.to, bPos.to) || extraRight(a) - extraRight(b);\n    if (toCmp) { return toCmp }\n    return b.id - a.id\n  }\n\n  // Find out whether a line ends or starts in a collapsed span. If\n  // so, return the marker for that span.\n  function collapsedSpanAtSide(line, start) {\n    var sps = sawCollapsedSpans && line.markedSpans, found;\n    if (sps) { for (var sp = (void 0), i = 0; i < sps.length; ++i) {\n      sp = sps[i];\n      if (sp.marker.collapsed && (start ? sp.from : sp.to) == null &&\n          (!found || compareCollapsedMarkers(found, sp.marker) < 0))\n        { found = sp.marker; }\n    } }\n    return found\n  }\n  function collapsedSpanAtStart(line) { return collapsedSpanAtSide(line, true) }\n  function collapsedSpanAtEnd(line) { return collapsedSpanAtSide(line, false) }\n\n  function collapsedSpanAround(line, ch) {\n    var sps = sawCollapsedSpans && line.markedSpans, found;\n    if (sps) { for (var i = 0; i < sps.length; ++i) {\n      var sp = sps[i];\n      if (sp.marker.collapsed && (sp.from == null || sp.from < ch) && (sp.to == null || sp.to > ch) &&\n          (!found || compareCollapsedMarkers(found, sp.marker) < 0)) { found = sp.marker; }\n    } }\n    return found\n  }\n\n  // Test whether there exists a collapsed span that partially\n  // overlaps (covers the start or end, but not both) of a new span.\n  // Such overlap is not allowed.\n  function conflictingCollapsedRange(doc, lineNo, from, to, marker) {\n    var line = getLine(doc, lineNo);\n    var sps = sawCollapsedSpans && line.markedSpans;\n    if (sps) { for (var i = 0; i < sps.length; ++i) {\n      var sp = sps[i];\n      if (!sp.marker.collapsed) { continue }\n      var found = sp.marker.find(0);\n      var fromCmp = cmp(found.from, from) || extraLeft(sp.marker) - extraLeft(marker);\n      var toCmp = cmp(found.to, to) || extraRight(sp.marker) - extraRight(marker);\n      if (fromCmp >= 0 && toCmp <= 0 || fromCmp <= 0 && toCmp >= 0) { continue }\n      if (fromCmp <= 0 && (sp.marker.inclusiveRight && marker.inclusiveLeft ? cmp(found.to, from) >= 0 : cmp(found.to, from) > 0) ||\n          fromCmp >= 0 && (sp.marker.inclusiveRight && marker.inclusiveLeft ? cmp(found.from, to) <= 0 : cmp(found.from, to) < 0))\n        { return true }\n    } }\n  }\n\n  // A visual line is a line as drawn on the screen. Folding, for\n  // example, can cause multiple logical lines to appear on the same\n  // visual line. This finds the start of the visual line that the\n  // given line is part of (usually that is the line itself).\n  function visualLine(line) {\n    var merged;\n    while (merged = collapsedSpanAtStart(line))\n      { line = merged.find(-1, true).line; }\n    return line\n  }\n\n  function visualLineEnd(line) {\n    var merged;\n    while (merged = collapsedSpanAtEnd(line))\n      { line = merged.find(1, true).line; }\n    return line\n  }\n\n  // Returns an array of logical lines that continue the visual line\n  // started by the argument, or undefined if there are no such lines.\n  function visualLineContinued(line) {\n    var merged, lines;\n    while (merged = collapsedSpanAtEnd(line)) {\n      line = merged.find(1, true).line\n      ;(lines || (lines = [])).push(line);\n    }\n    return lines\n  }\n\n  // Get the line number of the start of the visual line that the\n  // given line number is part of.\n  function visualLineNo(doc, lineN) {\n    var line = getLine(doc, lineN), vis = visualLine(line);\n    if (line == vis) { return lineN }\n    return lineNo(vis)\n  }\n\n  // Get the line number of the start of the next visual line after\n  // the given line.\n  function visualLineEndNo(doc, lineN) {\n    if (lineN > doc.lastLine()) { return lineN }\n    var line = getLine(doc, lineN), merged;\n    if (!lineIsHidden(doc, line)) { return lineN }\n    while (merged = collapsedSpanAtEnd(line))\n      { line = merged.find(1, true).line; }\n    return lineNo(line) + 1\n  }\n\n  // Compute whether a line is hidden. Lines count as hidden when they\n  // are part of a visual line that starts with another line, or when\n  // they are entirely covered by collapsed, non-widget span.\n  function lineIsHidden(doc, line) {\n    var sps = sawCollapsedSpans && line.markedSpans;\n    if (sps) { for (var sp = (void 0), i = 0; i < sps.length; ++i) {\n      sp = sps[i];\n      if (!sp.marker.collapsed) { continue }\n      if (sp.from == null) { return true }\n      if (sp.marker.widgetNode) { continue }\n      if (sp.from == 0 && sp.marker.inclusiveLeft && lineIsHiddenInner(doc, line, sp))\n        { return true }\n    } }\n  }\n  function lineIsHiddenInner(doc, line, span) {\n    if (span.to == null) {\n      var end = span.marker.find(1, true);\n      return lineIsHiddenInner(doc, end.line, getMarkedSpanFor(end.line.markedSpans, span.marker))\n    }\n    if (span.marker.inclusiveRight && span.to == line.text.length)\n      { return true }\n    for (var sp = (void 0), i = 0; i < line.markedSpans.length; ++i) {\n      sp = line.markedSpans[i];\n      if (sp.marker.collapsed && !sp.marker.widgetNode && sp.from == span.to &&\n          (sp.to == null || sp.to != span.from) &&\n          (sp.marker.inclusiveLeft || span.marker.inclusiveRight) &&\n          lineIsHiddenInner(doc, line, sp)) { return true }\n    }\n  }\n\n  // Find the height above the given line.\n  function heightAtLine(lineObj) {\n    lineObj = visualLine(lineObj);\n\n    var h = 0, chunk = lineObj.parent;\n    for (var i = 0; i < chunk.lines.length; ++i) {\n      var line = chunk.lines[i];\n      if (line == lineObj) { break }\n      else { h += line.height; }\n    }\n    for (var p = chunk.parent; p; chunk = p, p = chunk.parent) {\n      for (var i$1 = 0; i$1 < p.children.length; ++i$1) {\n        var cur = p.children[i$1];\n        if (cur == chunk) { break }\n        else { h += cur.height; }\n      }\n    }\n    return h\n  }\n\n  // Compute the character length of a line, taking into account\n  // collapsed ranges (see markText) that might hide parts, and join\n  // other lines onto it.\n  function lineLength(line) {\n    if (line.height == 0) { return 0 }\n    var len = line.text.length, merged, cur = line;\n    while (merged = collapsedSpanAtStart(cur)) {\n      var found = merged.find(0, true);\n      cur = found.from.line;\n      len += found.from.ch - found.to.ch;\n    }\n    cur = line;\n    while (merged = collapsedSpanAtEnd(cur)) {\n      var found$1 = merged.find(0, true);\n      len -= cur.text.length - found$1.from.ch;\n      cur = found$1.to.line;\n      len += cur.text.length - found$1.to.ch;\n    }\n    return len\n  }\n\n  // Find the longest line in the document.\n  function findMaxLine(cm) {\n    var d = cm.display, doc = cm.doc;\n    d.maxLine = getLine(doc, doc.first);\n    d.maxLineLength = lineLength(d.maxLine);\n    d.maxLineChanged = true;\n    doc.iter(function (line) {\n      var len = lineLength(line);\n      if (len > d.maxLineLength) {\n        d.maxLineLength = len;\n        d.maxLine = line;\n      }\n    });\n  }\n\n  // LINE DATA STRUCTURE\n\n  // Line objects. These hold state related to a line, including\n  // highlighting info (the styles array).\n  var Line = function(text, markedSpans, estimateHeight) {\n    this.text = text;\n    attachMarkedSpans(this, markedSpans);\n    this.height = estimateHeight ? estimateHeight(this) : 1;\n  };\n\n  Line.prototype.lineNo = function () { return lineNo(this) };\n  eventMixin(Line);\n\n  // Change the content (text, markers) of a line. Automatically\n  // invalidates cached information and tries to re-estimate the\n  // line's height.\n  function updateLine(line, text, markedSpans, estimateHeight) {\n    line.text = text;\n    if (line.stateAfter) { line.stateAfter = null; }\n    if (line.styles) { line.styles = null; }\n    if (line.order != null) { line.order = null; }\n    detachMarkedSpans(line);\n    attachMarkedSpans(line, markedSpans);\n    var estHeight = estimateHeight ? estimateHeight(line) : 1;\n    if (estHeight != line.height) { updateLineHeight(line, estHeight); }\n  }\n\n  // Detach a line from the document tree and its markers.\n  function cleanUpLine(line) {\n    line.parent = null;\n    detachMarkedSpans(line);\n  }\n\n  // Convert a style as returned by a mode (either null, or a string\n  // containing one or more styles) to a CSS style. This is cached,\n  // and also looks for line-wide styles.\n  var styleToClassCache = {}, styleToClassCacheWithMode = {};\n  function interpretTokenStyle(style, options) {\n    if (!style || /^\\s*$/.test(style)) { return null }\n    var cache = options.addModeClass ? styleToClassCacheWithMode : styleToClassCache;\n    return cache[style] ||\n      (cache[style] = style.replace(/\\S+/g, \"cm-$&\"))\n  }\n\n  // Render the DOM representation of the text of a line. Also builds\n  // up a 'line map', which points at the DOM nodes that represent\n  // specific stretches of text, and is used by the measuring code.\n  // The returned object contains the DOM node, this map, and\n  // information about line-wide styles that were set by the mode.\n  function buildLineContent(cm, lineView) {\n    // The padding-right forces the element to have a 'border', which\n    // is needed on Webkit to be able to get line-level bounding\n    // rectangles for it (in measureChar).\n    var content = eltP(\"span\", null, null, webkit ? \"padding-right: .1px\" : null);\n    var builder = {pre: eltP(\"pre\", [content], \"CodeMirror-line\"), content: content,\n                   col: 0, pos: 0, cm: cm,\n                   trailingSpace: false,\n                   splitSpaces: cm.getOption(\"lineWrapping\")};\n    lineView.measure = {};\n\n    // Iterate over the logical lines that make up this visual line.\n    for (var i = 0; i <= (lineView.rest ? lineView.rest.length : 0); i++) {\n      var line = i ? lineView.rest[i - 1] : lineView.line, order = (void 0);\n      builder.pos = 0;\n      builder.addToken = buildToken;\n      // Optionally wire in some hacks into the token-rendering\n      // algorithm, to deal with browser quirks.\n      if (hasBadBidiRects(cm.display.measure) && (order = getOrder(line, cm.doc.direction)))\n        { builder.addToken = buildTokenBadBidi(builder.addToken, order); }\n      builder.map = [];\n      var allowFrontierUpdate = lineView != cm.display.externalMeasured && lineNo(line);\n      insertLineContent(line, builder, getLineStyles(cm, line, allowFrontierUpdate));\n      if (line.styleClasses) {\n        if (line.styleClasses.bgClass)\n          { builder.bgClass = joinClasses(line.styleClasses.bgClass, builder.bgClass || \"\"); }\n        if (line.styleClasses.textClass)\n          { builder.textClass = joinClasses(line.styleClasses.textClass, builder.textClass || \"\"); }\n      }\n\n      // Ensure at least a single node is present, for measuring.\n      if (builder.map.length == 0)\n        { builder.map.push(0, 0, builder.content.appendChild(zeroWidthElement(cm.display.measure))); }\n\n      // Store the map and a cache object for the current logical line\n      if (i == 0) {\n        lineView.measure.map = builder.map;\n        lineView.measure.cache = {};\n      } else {\n  (lineView.measure.maps || (lineView.measure.maps = [])).push(builder.map)\n        ;(lineView.measure.caches || (lineView.measure.caches = [])).push({});\n      }\n    }\n\n    // See issue #2901\n    if (webkit) {\n      var last = builder.content.lastChild;\n      if (/\\bcm-tab\\b/.test(last.className) || (last.querySelector && last.querySelector(\".cm-tab\")))\n        { builder.content.className = \"cm-tab-wrap-hack\"; }\n    }\n\n    signal(cm, \"renderLine\", cm, lineView.line, builder.pre);\n    if (builder.pre.className)\n      { builder.textClass = joinClasses(builder.pre.className, builder.textClass || \"\"); }\n\n    return builder\n  }\n\n  function defaultSpecialCharPlaceholder(ch) {\n    var token = elt(\"span\", \"\\u2022\", \"cm-invalidchar\");\n    token.title = \"\\\\u\" + ch.charCodeAt(0).toString(16);\n    token.setAttribute(\"aria-label\", token.title);\n    return token\n  }\n\n  // Build up the DOM representation for a single token, and add it to\n  // the line map. Takes care to render special characters separately.\n  function buildToken(builder, text, style, startStyle, endStyle, css, attributes) {\n    if (!text) { return }\n    var displayText = builder.splitSpaces ? splitSpaces(text, builder.trailingSpace) : text;\n    var special = builder.cm.state.specialChars, mustWrap = false;\n    var content;\n    if (!special.test(text)) {\n      builder.col += text.length;\n      content = document.createTextNode(displayText);\n      builder.map.push(builder.pos, builder.pos + text.length, content);\n      if (ie && ie_version < 9) { mustWrap = true; }\n      builder.pos += text.length;\n    } else {\n      content = document.createDocumentFragment();\n      var pos = 0;\n      while (true) {\n        special.lastIndex = pos;\n        var m = special.exec(text);\n        var skipped = m ? m.index - pos : text.length - pos;\n        if (skipped) {\n          var txt = document.createTextNode(displayText.slice(pos, pos + skipped));\n          if (ie && ie_version < 9) { content.appendChild(elt(\"span\", [txt])); }\n          else { content.appendChild(txt); }\n          builder.map.push(builder.pos, builder.pos + skipped, txt);\n          builder.col += skipped;\n          builder.pos += skipped;\n        }\n        if (!m) { break }\n        pos += skipped + 1;\n        var txt$1 = (void 0);\n        if (m[0] == \"\\t\") {\n          var tabSize = builder.cm.options.tabSize, tabWidth = tabSize - builder.col % tabSize;\n          txt$1 = content.appendChild(elt(\"span\", spaceStr(tabWidth), \"cm-tab\"));\n          txt$1.setAttribute(\"role\", \"presentation\");\n          txt$1.setAttribute(\"cm-text\", \"\\t\");\n          builder.col += tabWidth;\n        } else if (m[0] == \"\\r\" || m[0] == \"\\n\") {\n          txt$1 = content.appendChild(elt(\"span\", m[0] == \"\\r\" ? \"\\u240d\" : \"\\u2424\", \"cm-invalidchar\"));\n          txt$1.setAttribute(\"cm-text\", m[0]);\n          builder.col += 1;\n        } else {\n          txt$1 = builder.cm.options.specialCharPlaceholder(m[0]);\n          txt$1.setAttribute(\"cm-text\", m[0]);\n          if (ie && ie_version < 9) { content.appendChild(elt(\"span\", [txt$1])); }\n          else { content.appendChild(txt$1); }\n          builder.col += 1;\n        }\n        builder.map.push(builder.pos, builder.pos + 1, txt$1);\n        builder.pos++;\n      }\n    }\n    builder.trailingSpace = displayText.charCodeAt(text.length - 1) == 32;\n    if (style || startStyle || endStyle || mustWrap || css || attributes) {\n      var fullStyle = style || \"\";\n      if (startStyle) { fullStyle += startStyle; }\n      if (endStyle) { fullStyle += endStyle; }\n      var token = elt(\"span\", [content], fullStyle, css);\n      if (attributes) {\n        for (var attr in attributes) { if (attributes.hasOwnProperty(attr) && attr != \"style\" && attr != \"class\")\n          { token.setAttribute(attr, attributes[attr]); } }\n      }\n      return builder.content.appendChild(token)\n    }\n    builder.content.appendChild(content);\n  }\n\n  // Change some spaces to NBSP to prevent the browser from collapsing\n  // trailing spaces at the end of a line when rendering text (issue #1362).\n  function splitSpaces(text, trailingBefore) {\n    if (text.length > 1 && !/  /.test(text)) { return text }\n    var spaceBefore = trailingBefore, result = \"\";\n    for (var i = 0; i < text.length; i++) {\n      var ch = text.charAt(i);\n      if (ch == \" \" && spaceBefore && (i == text.length - 1 || text.charCodeAt(i + 1) == 32))\n        { ch = \"\\u00a0\"; }\n      result += ch;\n      spaceBefore = ch == \" \";\n    }\n    return result\n  }\n\n  // Work around nonsense dimensions being reported for stretches of\n  // right-to-left text.\n  function buildTokenBadBidi(inner, order) {\n    return function (builder, text, style, startStyle, endStyle, css, attributes) {\n      style = style ? style + \" cm-force-border\" : \"cm-force-border\";\n      var start = builder.pos, end = start + text.length;\n      for (;;) {\n        // Find the part that overlaps with the start of this text\n        var part = (void 0);\n        for (var i = 0; i < order.length; i++) {\n          part = order[i];\n          if (part.to > start && part.from <= start) { break }\n        }\n        if (part.to >= end) { return inner(builder, text, style, startStyle, endStyle, css, attributes) }\n        inner(builder, text.slice(0, part.to - start), style, startStyle, null, css, attributes);\n        startStyle = null;\n        text = text.slice(part.to - start);\n        start = part.to;\n      }\n    }\n  }\n\n  function buildCollapsedSpan(builder, size, marker, ignoreWidget) {\n    var widget = !ignoreWidget && marker.widgetNode;\n    if (widget) { builder.map.push(builder.pos, builder.pos + size, widget); }\n    if (!ignoreWidget && builder.cm.display.input.needsContentAttribute) {\n      if (!widget)\n        { widget = builder.content.appendChild(document.createElement(\"span\")); }\n      widget.setAttribute(\"cm-marker\", marker.id);\n    }\n    if (widget) {\n      builder.cm.display.input.setUneditable(widget);\n      builder.content.appendChild(widget);\n    }\n    builder.pos += size;\n    builder.trailingSpace = false;\n  }\n\n  // Outputs a number of spans to make up a line, taking highlighting\n  // and marked text into account.\n  function insertLineContent(line, builder, styles) {\n    var spans = line.markedSpans, allText = line.text, at = 0;\n    if (!spans) {\n      for (var i$1 = 1; i$1 < styles.length; i$1+=2)\n        { builder.addToken(builder, allText.slice(at, at = styles[i$1]), interpretTokenStyle(styles[i$1+1], builder.cm.options)); }\n      return\n    }\n\n    var len = allText.length, pos = 0, i = 1, text = \"\", style, css;\n    var nextChange = 0, spanStyle, spanEndStyle, spanStartStyle, collapsed, attributes;\n    for (;;) {\n      if (nextChange == pos) { // Update current marker set\n        spanStyle = spanEndStyle = spanStartStyle = css = \"\";\n        attributes = null;\n        collapsed = null; nextChange = Infinity;\n        var foundBookmarks = [], endStyles = (void 0);\n        for (var j = 0; j < spans.length; ++j) {\n          var sp = spans[j], m = sp.marker;\n          if (m.type == \"bookmark\" && sp.from == pos && m.widgetNode) {\n            foundBookmarks.push(m);\n          } else if (sp.from <= pos && (sp.to == null || sp.to > pos || m.collapsed && sp.to == pos && sp.from == pos)) {\n            if (sp.to != null && sp.to != pos && nextChange > sp.to) {\n              nextChange = sp.to;\n              spanEndStyle = \"\";\n            }\n            if (m.className) { spanStyle += \" \" + m.className; }\n            if (m.css) { css = (css ? css + \";\" : \"\") + m.css; }\n            if (m.startStyle && sp.from == pos) { spanStartStyle += \" \" + m.startStyle; }\n            if (m.endStyle && sp.to == nextChange) { (endStyles || (endStyles = [])).push(m.endStyle, sp.to); }\n            // support for the old title property\n            // https://github.com/codemirror/CodeMirror/pull/5673\n            if (m.title) { (attributes || (attributes = {})).title = m.title; }\n            if (m.attributes) {\n              for (var attr in m.attributes)\n                { (attributes || (attributes = {}))[attr] = m.attributes[attr]; }\n            }\n            if (m.collapsed && (!collapsed || compareCollapsedMarkers(collapsed.marker, m) < 0))\n              { collapsed = sp; }\n          } else if (sp.from > pos && nextChange > sp.from) {\n            nextChange = sp.from;\n          }\n        }\n        if (endStyles) { for (var j$1 = 0; j$1 < endStyles.length; j$1 += 2)\n          { if (endStyles[j$1 + 1] == nextChange) { spanEndStyle += \" \" + endStyles[j$1]; } } }\n\n        if (!collapsed || collapsed.from == pos) { for (var j$2 = 0; j$2 < foundBookmarks.length; ++j$2)\n          { buildCollapsedSpan(builder, 0, foundBookmarks[j$2]); } }\n        if (collapsed && (collapsed.from || 0) == pos) {\n          buildCollapsedSpan(builder, (collapsed.to == null ? len + 1 : collapsed.to) - pos,\n                             collapsed.marker, collapsed.from == null);\n          if (collapsed.to == null) { return }\n          if (collapsed.to == pos) { collapsed = false; }\n        }\n      }\n      if (pos >= len) { break }\n\n      var upto = Math.min(len, nextChange);\n      while (true) {\n        if (text) {\n          var end = pos + text.length;\n          if (!collapsed) {\n            var tokenText = end > upto ? text.slice(0, upto - pos) : text;\n            builder.addToken(builder, tokenText, style ? style + spanStyle : spanStyle,\n                             spanStartStyle, pos + tokenText.length == nextChange ? spanEndStyle : \"\", css, attributes);\n          }\n          if (end >= upto) {text = text.slice(upto - pos); pos = upto; break}\n          pos = end;\n          spanStartStyle = \"\";\n        }\n        text = allText.slice(at, at = styles[i++]);\n        style = interpretTokenStyle(styles[i++], builder.cm.options);\n      }\n    }\n  }\n\n\n  // These objects are used to represent the visible (currently drawn)\n  // part of the document. A LineView may correspond to multiple\n  // logical lines, if those are connected by collapsed ranges.\n  function LineView(doc, line, lineN) {\n    // The starting line\n    this.line = line;\n    // Continuing lines, if any\n    this.rest = visualLineContinued(line);\n    // Number of logical lines in this visual line\n    this.size = this.rest ? lineNo(lst(this.rest)) - lineN + 1 : 1;\n    this.node = this.text = null;\n    this.hidden = lineIsHidden(doc, line);\n  }\n\n  // Create a range of LineView objects for the given lines.\n  function buildViewArray(cm, from, to) {\n    var array = [], nextPos;\n    for (var pos = from; pos < to; pos = nextPos) {\n      var view = new LineView(cm.doc, getLine(cm.doc, pos), pos);\n      nextPos = pos + view.size;\n      array.push(view);\n    }\n    return array\n  }\n\n  var operationGroup = null;\n\n  function pushOperation(op) {\n    if (operationGroup) {\n      operationGroup.ops.push(op);\n    } else {\n      op.ownsGroup = operationGroup = {\n        ops: [op],\n        delayedCallbacks: []\n      };\n    }\n  }\n\n  function fireCallbacksForOps(group) {\n    // Calls delayed callbacks and cursorActivity handlers until no\n    // new ones appear\n    var callbacks = group.delayedCallbacks, i = 0;\n    do {\n      for (; i < callbacks.length; i++)\n        { callbacks[i].call(null); }\n      for (var j = 0; j < group.ops.length; j++) {\n        var op = group.ops[j];\n        if (op.cursorActivityHandlers)\n          { while (op.cursorActivityCalled < op.cursorActivityHandlers.length)\n            { op.cursorActivityHandlers[op.cursorActivityCalled++].call(null, op.cm); } }\n      }\n    } while (i < callbacks.length)\n  }\n\n  function finishOperation(op, endCb) {\n    var group = op.ownsGroup;\n    if (!group) { return }\n\n    try { fireCallbacksForOps(group); }\n    finally {\n      operationGroup = null;\n      endCb(group);\n    }\n  }\n\n  var orphanDelayedCallbacks = null;\n\n  // Often, we want to signal events at a point where we are in the\n  // middle of some work, but don't want the handler to start calling\n  // other methods on the editor, which might be in an inconsistent\n  // state or simply not expect any other events to happen.\n  // signalLater looks whether there are any handlers, and schedules\n  // them to be executed when the last operation ends, or, if no\n  // operation is active, when a timeout fires.\n  function signalLater(emitter, type /*, values...*/) {\n    var arr = getHandlers(emitter, type);\n    if (!arr.length) { return }\n    var args = Array.prototype.slice.call(arguments, 2), list;\n    if (operationGroup) {\n      list = operationGroup.delayedCallbacks;\n    } else if (orphanDelayedCallbacks) {\n      list = orphanDelayedCallbacks;\n    } else {\n      list = orphanDelayedCallbacks = [];\n      setTimeout(fireOrphanDelayed, 0);\n    }\n    var loop = function ( i ) {\n      list.push(function () { return arr[i].apply(null, args); });\n    };\n\n    for (var i = 0; i < arr.length; ++i)\n      loop( i );\n  }\n\n  function fireOrphanDelayed() {\n    var delayed = orphanDelayedCallbacks;\n    orphanDelayedCallbacks = null;\n    for (var i = 0; i < delayed.length; ++i) { delayed[i](); }\n  }\n\n  // When an aspect of a line changes, a string is added to\n  // lineView.changes. This updates the relevant part of the line's\n  // DOM structure.\n  function updateLineForChanges(cm, lineView, lineN, dims) {\n    for (var j = 0; j < lineView.changes.length; j++) {\n      var type = lineView.changes[j];\n      if (type == \"text\") { updateLineText(cm, lineView); }\n      else if (type == \"gutter\") { updateLineGutter(cm, lineView, lineN, dims); }\n      else if (type == \"class\") { updateLineClasses(cm, lineView); }\n      else if (type == \"widget\") { updateLineWidgets(cm, lineView, dims); }\n    }\n    lineView.changes = null;\n  }\n\n  // Lines with gutter elements, widgets or a background class need to\n  // be wrapped, and have the extra elements added to the wrapper div\n  function ensureLineWrapped(lineView) {\n    if (lineView.node == lineView.text) {\n      lineView.node = elt(\"div\", null, null, \"position: relative\");\n      if (lineView.text.parentNode)\n        { lineView.text.parentNode.replaceChild(lineView.node, lineView.text); }\n      lineView.node.appendChild(lineView.text);\n      if (ie && ie_version < 8) { lineView.node.style.zIndex = 2; }\n    }\n    return lineView.node\n  }\n\n  function updateLineBackground(cm, lineView) {\n    var cls = lineView.bgClass ? lineView.bgClass + \" \" + (lineView.line.bgClass || \"\") : lineView.line.bgClass;\n    if (cls) { cls += \" CodeMirror-linebackground\"; }\n    if (lineView.background) {\n      if (cls) { lineView.background.className = cls; }\n      else { lineView.background.parentNode.removeChild(lineView.background); lineView.background = null; }\n    } else if (cls) {\n      var wrap = ensureLineWrapped(lineView);\n      lineView.background = wrap.insertBefore(elt(\"div\", null, cls), wrap.firstChild);\n      cm.display.input.setUneditable(lineView.background);\n    }\n  }\n\n  // Wrapper around buildLineContent which will reuse the structure\n  // in display.externalMeasured when possible.\n  function getLineContent(cm, lineView) {\n    var ext = cm.display.externalMeasured;\n    if (ext && ext.line == lineView.line) {\n      cm.display.externalMeasured = null;\n      lineView.measure = ext.measure;\n      return ext.built\n    }\n    return buildLineContent(cm, lineView)\n  }\n\n  // Redraw the line's text. Interacts with the background and text\n  // classes because the mode may output tokens that influence these\n  // classes.\n  function updateLineText(cm, lineView) {\n    var cls = lineView.text.className;\n    var built = getLineContent(cm, lineView);\n    if (lineView.text == lineView.node) { lineView.node = built.pre; }\n    lineView.text.parentNode.replaceChild(built.pre, lineView.text);\n    lineView.text = built.pre;\n    if (built.bgClass != lineView.bgClass || built.textClass != lineView.textClass) {\n      lineView.bgClass = built.bgClass;\n      lineView.textClass = built.textClass;\n      updateLineClasses(cm, lineView);\n    } else if (cls) {\n      lineView.text.className = cls;\n    }\n  }\n\n  function updateLineClasses(cm, lineView) {\n    updateLineBackground(cm, lineView);\n    if (lineView.line.wrapClass)\n      { ensureLineWrapped(lineView).className = lineView.line.wrapClass; }\n    else if (lineView.node != lineView.text)\n      { lineView.node.className = \"\"; }\n    var textClass = lineView.textClass ? lineView.textClass + \" \" + (lineView.line.textClass || \"\") : lineView.line.textClass;\n    lineView.text.className = textClass || \"\";\n  }\n\n  function updateLineGutter(cm, lineView, lineN, dims) {\n    if (lineView.gutter) {\n      lineView.node.removeChild(lineView.gutter);\n      lineView.gutter = null;\n    }\n    if (lineView.gutterBackground) {\n      lineView.node.removeChild(lineView.gutterBackground);\n      lineView.gutterBackground = null;\n    }\n    if (lineView.line.gutterClass) {\n      var wrap = ensureLineWrapped(lineView);\n      lineView.gutterBackground = elt(\"div\", null, \"CodeMirror-gutter-background \" + lineView.line.gutterClass,\n                                      (\"left: \" + (cm.options.fixedGutter ? dims.fixedPos : -dims.gutterTotalWidth) + \"px; width: \" + (dims.gutterTotalWidth) + \"px\"));\n      cm.display.input.setUneditable(lineView.gutterBackground);\n      wrap.insertBefore(lineView.gutterBackground, lineView.text);\n    }\n    var markers = lineView.line.gutterMarkers;\n    if (cm.options.lineNumbers || markers) {\n      var wrap$1 = ensureLineWrapped(lineView);\n      var gutterWrap = lineView.gutter = elt(\"div\", null, \"CodeMirror-gutter-wrapper\", (\"left: \" + (cm.options.fixedGutter ? dims.fixedPos : -dims.gutterTotalWidth) + \"px\"));\n      gutterWrap.setAttribute(\"aria-hidden\", \"true\");\n      cm.display.input.setUneditable(gutterWrap);\n      wrap$1.insertBefore(gutterWrap, lineView.text);\n      if (lineView.line.gutterClass)\n        { gutterWrap.className += \" \" + lineView.line.gutterClass; }\n      if (cm.options.lineNumbers && (!markers || !markers[\"CodeMirror-linenumbers\"]))\n        { lineView.lineNumber = gutterWrap.appendChild(\n          elt(\"div\", lineNumberFor(cm.options, lineN),\n              \"CodeMirror-linenumber CodeMirror-gutter-elt\",\n              (\"left: \" + (dims.gutterLeft[\"CodeMirror-linenumbers\"]) + \"px; width: \" + (cm.display.lineNumInnerWidth) + \"px\"))); }\n      if (markers) { for (var k = 0; k < cm.display.gutterSpecs.length; ++k) {\n        var id = cm.display.gutterSpecs[k].className, found = markers.hasOwnProperty(id) && markers[id];\n        if (found)\n          { gutterWrap.appendChild(elt(\"div\", [found], \"CodeMirror-gutter-elt\",\n                                     (\"left: \" + (dims.gutterLeft[id]) + \"px; width: \" + (dims.gutterWidth[id]) + \"px\"))); }\n      } }\n    }\n  }\n\n  function updateLineWidgets(cm, lineView, dims) {\n    if (lineView.alignable) { lineView.alignable = null; }\n    var isWidget = classTest(\"CodeMirror-linewidget\");\n    for (var node = lineView.node.firstChild, next = (void 0); node; node = next) {\n      next = node.nextSibling;\n      if (isWidget.test(node.className)) { lineView.node.removeChild(node); }\n    }\n    insertLineWidgets(cm, lineView, dims);\n  }\n\n  // Build a line's DOM representation from scratch\n  function buildLineElement(cm, lineView, lineN, dims) {\n    var built = getLineContent(cm, lineView);\n    lineView.text = lineView.node = built.pre;\n    if (built.bgClass) { lineView.bgClass = built.bgClass; }\n    if (built.textClass) { lineView.textClass = built.textClass; }\n\n    updateLineClasses(cm, lineView);\n    updateLineGutter(cm, lineView, lineN, dims);\n    insertLineWidgets(cm, lineView, dims);\n    return lineView.node\n  }\n\n  // A lineView may contain multiple logical lines (when merged by\n  // collapsed spans). The widgets for all of them need to be drawn.\n  function insertLineWidgets(cm, lineView, dims) {\n    insertLineWidgetsFor(cm, lineView.line, lineView, dims, true);\n    if (lineView.rest) { for (var i = 0; i < lineView.rest.length; i++)\n      { insertLineWidgetsFor(cm, lineView.rest[i], lineView, dims, false); } }\n  }\n\n  function insertLineWidgetsFor(cm, line, lineView, dims, allowAbove) {\n    if (!line.widgets) { return }\n    var wrap = ensureLineWrapped(lineView);\n    for (var i = 0, ws = line.widgets; i < ws.length; ++i) {\n      var widget = ws[i], node = elt(\"div\", [widget.node], \"CodeMirror-linewidget\" + (widget.className ? \" \" + widget.className : \"\"));\n      if (!widget.handleMouseEvents) { node.setAttribute(\"cm-ignore-events\", \"true\"); }\n      positionLineWidget(widget, node, lineView, dims);\n      cm.display.input.setUneditable(node);\n      if (allowAbove && widget.above)\n        { wrap.insertBefore(node, lineView.gutter || lineView.text); }\n      else\n        { wrap.appendChild(node); }\n      signalLater(widget, \"redraw\");\n    }\n  }\n\n  function positionLineWidget(widget, node, lineView, dims) {\n    if (widget.noHScroll) {\n  (lineView.alignable || (lineView.alignable = [])).push(node);\n      var width = dims.wrapperWidth;\n      node.style.left = dims.fixedPos + \"px\";\n      if (!widget.coverGutter) {\n        width -= dims.gutterTotalWidth;\n        node.style.paddingLeft = dims.gutterTotalWidth + \"px\";\n      }\n      node.style.width = width + \"px\";\n    }\n    if (widget.coverGutter) {\n      node.style.zIndex = 5;\n      node.style.position = \"relative\";\n      if (!widget.noHScroll) { node.style.marginLeft = -dims.gutterTotalWidth + \"px\"; }\n    }\n  }\n\n  function widgetHeight(widget) {\n    if (widget.height != null) { return widget.height }\n    var cm = widget.doc.cm;\n    if (!cm) { return 0 }\n    if (!contains(document.body, widget.node)) {\n      var parentStyle = \"position: relative;\";\n      if (widget.coverGutter)\n        { parentStyle += \"margin-left: -\" + cm.display.gutters.offsetWidth + \"px;\"; }\n      if (widget.noHScroll)\n        { parentStyle += \"width: \" + cm.display.wrapper.clientWidth + \"px;\"; }\n      removeChildrenAndAdd(cm.display.measure, elt(\"div\", [widget.node], null, parentStyle));\n    }\n    return widget.height = widget.node.parentNode.offsetHeight\n  }\n\n  // Return true when the given mouse event happened in a widget\n  function eventInWidget(display, e) {\n    for (var n = e_target(e); n != display.wrapper; n = n.parentNode) {\n      if (!n || (n.nodeType == 1 && n.getAttribute(\"cm-ignore-events\") == \"true\") ||\n          (n.parentNode == display.sizer && n != display.mover))\n        { return true }\n    }\n  }\n\n  // POSITION MEASUREMENT\n\n  function paddingTop(display) {return display.lineSpace.offsetTop}\n  function paddingVert(display) {return display.mover.offsetHeight - display.lineSpace.offsetHeight}\n  function paddingH(display) {\n    if (display.cachedPaddingH) { return display.cachedPaddingH }\n    var e = removeChildrenAndAdd(display.measure, elt(\"pre\", \"x\", \"CodeMirror-line-like\"));\n    var style = window.getComputedStyle ? window.getComputedStyle(e) : e.currentStyle;\n    var data = {left: parseInt(style.paddingLeft), right: parseInt(style.paddingRight)};\n    if (!isNaN(data.left) && !isNaN(data.right)) { display.cachedPaddingH = data; }\n    return data\n  }\n\n  function scrollGap(cm) { return scrollerGap - cm.display.nativeBarWidth }\n  function displayWidth(cm) {\n    return cm.display.scroller.clientWidth - scrollGap(cm) - cm.display.barWidth\n  }\n  function displayHeight(cm) {\n    return cm.display.scroller.clientHeight - scrollGap(cm) - cm.display.barHeight\n  }\n\n  // Ensure the lineView.wrapping.heights array is populated. This is\n  // an array of bottom offsets for the lines that make up a drawn\n  // line. When lineWrapping is on, there might be more than one\n  // height.\n  function ensureLineHeights(cm, lineView, rect) {\n    var wrapping = cm.options.lineWrapping;\n    var curWidth = wrapping && displayWidth(cm);\n    if (!lineView.measure.heights || wrapping && lineView.measure.width != curWidth) {\n      var heights = lineView.measure.heights = [];\n      if (wrapping) {\n        lineView.measure.width = curWidth;\n        var rects = lineView.text.firstChild.getClientRects();\n        for (var i = 0; i < rects.length - 1; i++) {\n          var cur = rects[i], next = rects[i + 1];\n          if (Math.abs(cur.bottom - next.bottom) > 2)\n            { heights.push((cur.bottom + next.top) / 2 - rect.top); }\n        }\n      }\n      heights.push(rect.bottom - rect.top);\n    }\n  }\n\n  // Find a line map (mapping character offsets to text nodes) and a\n  // measurement cache for the given line number. (A line view might\n  // contain multiple lines when collapsed ranges are present.)\n  function mapFromLineView(lineView, line, lineN) {\n    if (lineView.line == line)\n      { return {map: lineView.measure.map, cache: lineView.measure.cache} }\n    if (lineView.rest) {\n      for (var i = 0; i < lineView.rest.length; i++)\n        { if (lineView.rest[i] == line)\n          { return {map: lineView.measure.maps[i], cache: lineView.measure.caches[i]} } }\n      for (var i$1 = 0; i$1 < lineView.rest.length; i$1++)\n        { if (lineNo(lineView.rest[i$1]) > lineN)\n          { return {map: lineView.measure.maps[i$1], cache: lineView.measure.caches[i$1], before: true} } }\n    }\n  }\n\n  // Render a line into the hidden node display.externalMeasured. Used\n  // when measurement is needed for a line that's not in the viewport.\n  function updateExternalMeasurement(cm, line) {\n    line = visualLine(line);\n    var lineN = lineNo(line);\n    var view = cm.display.externalMeasured = new LineView(cm.doc, line, lineN);\n    view.lineN = lineN;\n    var built = view.built = buildLineContent(cm, view);\n    view.text = built.pre;\n    removeChildrenAndAdd(cm.display.lineMeasure, built.pre);\n    return view\n  }\n\n  // Get a {top, bottom, left, right} box (in line-local coordinates)\n  // for a given character.\n  function measureChar(cm, line, ch, bias) {\n    return measureCharPrepared(cm, prepareMeasureForLine(cm, line), ch, bias)\n  }\n\n  // Find a line view that corresponds to the given line number.\n  function findViewForLine(cm, lineN) {\n    if (lineN >= cm.display.viewFrom && lineN < cm.display.viewTo)\n      { return cm.display.view[findViewIndex(cm, lineN)] }\n    var ext = cm.display.externalMeasured;\n    if (ext && lineN >= ext.lineN && lineN < ext.lineN + ext.size)\n      { return ext }\n  }\n\n  // Measurement can be split in two steps, the set-up work that\n  // applies to the whole line, and the measurement of the actual\n  // character. Functions like coordsChar, that need to do a lot of\n  // measurements in a row, can thus ensure that the set-up work is\n  // only done once.\n  function prepareMeasureForLine(cm, line) {\n    var lineN = lineNo(line);\n    var view = findViewForLine(cm, lineN);\n    if (view && !view.text) {\n      view = null;\n    } else if (view && view.changes) {\n      updateLineForChanges(cm, view, lineN, getDimensions(cm));\n      cm.curOp.forceUpdate = true;\n    }\n    if (!view)\n      { view = updateExternalMeasurement(cm, line); }\n\n    var info = mapFromLineView(view, line, lineN);\n    return {\n      line: line, view: view, rect: null,\n      map: info.map, cache: info.cache, before: info.before,\n      hasHeights: false\n    }\n  }\n\n  // Given a prepared measurement object, measures the position of an\n  // actual character (or fetches it from the cache).\n  function measureCharPrepared(cm, prepared, ch, bias, varHeight) {\n    if (prepared.before) { ch = -1; }\n    var key = ch + (bias || \"\"), found;\n    if (prepared.cache.hasOwnProperty(key)) {\n      found = prepared.cache[key];\n    } else {\n      if (!prepared.rect)\n        { prepared.rect = prepared.view.text.getBoundingClientRect(); }\n      if (!prepared.hasHeights) {\n        ensureLineHeights(cm, prepared.view, prepared.rect);\n        prepared.hasHeights = true;\n      }\n      found = measureCharInner(cm, prepared, ch, bias);\n      if (!found.bogus) { prepared.cache[key] = found; }\n    }\n    return {left: found.left, right: found.right,\n            top: varHeight ? found.rtop : found.top,\n            bottom: varHeight ? found.rbottom : found.bottom}\n  }\n\n  var nullRect = {left: 0, right: 0, top: 0, bottom: 0};\n\n  function nodeAndOffsetInLineMap(map, ch, bias) {\n    var node, start, end, collapse, mStart, mEnd;\n    // First, search the line map for the text node corresponding to,\n    // or closest to, the target character.\n    for (var i = 0; i < map.length; i += 3) {\n      mStart = map[i];\n      mEnd = map[i + 1];\n      if (ch < mStart) {\n        start = 0; end = 1;\n        collapse = \"left\";\n      } else if (ch < mEnd) {\n        start = ch - mStart;\n        end = start + 1;\n      } else if (i == map.length - 3 || ch == mEnd && map[i + 3] > ch) {\n        end = mEnd - mStart;\n        start = end - 1;\n        if (ch >= mEnd) { collapse = \"right\"; }\n      }\n      if (start != null) {\n        node = map[i + 2];\n        if (mStart == mEnd && bias == (node.insertLeft ? \"left\" : \"right\"))\n          { collapse = bias; }\n        if (bias == \"left\" && start == 0)\n          { while (i && map[i - 2] == map[i - 3] && map[i - 1].insertLeft) {\n            node = map[(i -= 3) + 2];\n            collapse = \"left\";\n          } }\n        if (bias == \"right\" && start == mEnd - mStart)\n          { while (i < map.length - 3 && map[i + 3] == map[i + 4] && !map[i + 5].insertLeft) {\n            node = map[(i += 3) + 2];\n            collapse = \"right\";\n          } }\n        break\n      }\n    }\n    return {node: node, start: start, end: end, collapse: collapse, coverStart: mStart, coverEnd: mEnd}\n  }\n\n  function getUsefulRect(rects, bias) {\n    var rect = nullRect;\n    if (bias == \"left\") { for (var i = 0; i < rects.length; i++) {\n      if ((rect = rects[i]).left != rect.right) { break }\n    } } else { for (var i$1 = rects.length - 1; i$1 >= 0; i$1--) {\n      if ((rect = rects[i$1]).left != rect.right) { break }\n    } }\n    return rect\n  }\n\n  function measureCharInner(cm, prepared, ch, bias) {\n    var place = nodeAndOffsetInLineMap(prepared.map, ch, bias);\n    var node = place.node, start = place.start, end = place.end, collapse = place.collapse;\n\n    var rect;\n    if (node.nodeType == 3) { // If it is a text node, use a range to retrieve the coordinates.\n      for (var i$1 = 0; i$1 < 4; i$1++) { // Retry a maximum of 4 times when nonsense rectangles are returned\n        while (start && isExtendingChar(prepared.line.text.charAt(place.coverStart + start))) { --start; }\n        while (place.coverStart + end < place.coverEnd && isExtendingChar(prepared.line.text.charAt(place.coverStart + end))) { ++end; }\n        if (ie && ie_version < 9 && start == 0 && end == place.coverEnd - place.coverStart)\n          { rect = node.parentNode.getBoundingClientRect(); }\n        else\n          { rect = getUsefulRect(range(node, start, end).getClientRects(), bias); }\n        if (rect.left || rect.right || start == 0) { break }\n        end = start;\n        start = start - 1;\n        collapse = \"right\";\n      }\n      if (ie && ie_version < 11) { rect = maybeUpdateRectForZooming(cm.display.measure, rect); }\n    } else { // If it is a widget, simply get the box for the whole widget.\n      if (start > 0) { collapse = bias = \"right\"; }\n      var rects;\n      if (cm.options.lineWrapping && (rects = node.getClientRects()).length > 1)\n        { rect = rects[bias == \"right\" ? rects.length - 1 : 0]; }\n      else\n        { rect = node.getBoundingClientRect(); }\n    }\n    if (ie && ie_version < 9 && !start && (!rect || !rect.left && !rect.right)) {\n      var rSpan = node.parentNode.getClientRects()[0];\n      if (rSpan)\n        { rect = {left: rSpan.left, right: rSpan.left + charWidth(cm.display), top: rSpan.top, bottom: rSpan.bottom}; }\n      else\n        { rect = nullRect; }\n    }\n\n    var rtop = rect.top - prepared.rect.top, rbot = rect.bottom - prepared.rect.top;\n    var mid = (rtop + rbot) / 2;\n    var heights = prepared.view.measure.heights;\n    var i = 0;\n    for (; i < heights.length - 1; i++)\n      { if (mid < heights[i]) { break } }\n    var top = i ? heights[i - 1] : 0, bot = heights[i];\n    var result = {left: (collapse == \"right\" ? rect.right : rect.left) - prepared.rect.left,\n                  right: (collapse == \"left\" ? rect.left : rect.right) - prepared.rect.left,\n                  top: top, bottom: bot};\n    if (!rect.left && !rect.right) { result.bogus = true; }\n    if (!cm.options.singleCursorHeightPerLine) { result.rtop = rtop; result.rbottom = rbot; }\n\n    return result\n  }\n\n  // Work around problem with bounding client rects on ranges being\n  // returned incorrectly when zoomed on IE10 and below.\n  function maybeUpdateRectForZooming(measure, rect) {\n    if (!window.screen || screen.logicalXDPI == null ||\n        screen.logicalXDPI == screen.deviceXDPI || !hasBadZoomedRects(measure))\n      { return rect }\n    var scaleX = screen.logicalXDPI / screen.deviceXDPI;\n    var scaleY = screen.logicalYDPI / screen.deviceYDPI;\n    return {left: rect.left * scaleX, right: rect.right * scaleX,\n            top: rect.top * scaleY, bottom: rect.bottom * scaleY}\n  }\n\n  function clearLineMeasurementCacheFor(lineView) {\n    if (lineView.measure) {\n      lineView.measure.cache = {};\n      lineView.measure.heights = null;\n      if (lineView.rest) { for (var i = 0; i < lineView.rest.length; i++)\n        { lineView.measure.caches[i] = {}; } }\n    }\n  }\n\n  function clearLineMeasurementCache(cm) {\n    cm.display.externalMeasure = null;\n    removeChildren(cm.display.lineMeasure);\n    for (var i = 0; i < cm.display.view.length; i++)\n      { clearLineMeasurementCacheFor(cm.display.view[i]); }\n  }\n\n  function clearCaches(cm) {\n    clearLineMeasurementCache(cm);\n    cm.display.cachedCharWidth = cm.display.cachedTextHeight = cm.display.cachedPaddingH = null;\n    if (!cm.options.lineWrapping) { cm.display.maxLineChanged = true; }\n    cm.display.lineNumChars = null;\n  }\n\n  function pageScrollX() {\n    // Work around https://bugs.chromium.org/p/chromium/issues/detail?id=489206\n    // which causes page_Offset and bounding client rects to use\n    // different reference viewports and invalidate our calculations.\n    if (chrome && android) { return -(document.body.getBoundingClientRect().left - parseInt(getComputedStyle(document.body).marginLeft)) }\n    return window.pageXOffset || (document.documentElement || document.body).scrollLeft\n  }\n  function pageScrollY() {\n    if (chrome && android) { return -(document.body.getBoundingClientRect().top - parseInt(getComputedStyle(document.body).marginTop)) }\n    return window.pageYOffset || (document.documentElement || document.body).scrollTop\n  }\n\n  function widgetTopHeight(lineObj) {\n    var ref = visualLine(lineObj);\n    var widgets = ref.widgets;\n    var height = 0;\n    if (widgets) { for (var i = 0; i < widgets.length; ++i) { if (widgets[i].above)\n      { height += widgetHeight(widgets[i]); } } }\n    return height\n  }\n\n  // Converts a {top, bottom, left, right} box from line-local\n  // coordinates into another coordinate system. Context may be one of\n  // \"line\", \"div\" (display.lineDiv), \"local\"./null (editor), \"window\",\n  // or \"page\".\n  function intoCoordSystem(cm, lineObj, rect, context, includeWidgets) {\n    if (!includeWidgets) {\n      var height = widgetTopHeight(lineObj);\n      rect.top += height; rect.bottom += height;\n    }\n    if (context == \"line\") { return rect }\n    if (!context) { context = \"local\"; }\n    var yOff = heightAtLine(lineObj);\n    if (context == \"local\") { yOff += paddingTop(cm.display); }\n    else { yOff -= cm.display.viewOffset; }\n    if (context == \"page\" || context == \"window\") {\n      var lOff = cm.display.lineSpace.getBoundingClientRect();\n      yOff += lOff.top + (context == \"window\" ? 0 : pageScrollY());\n      var xOff = lOff.left + (context == \"window\" ? 0 : pageScrollX());\n      rect.left += xOff; rect.right += xOff;\n    }\n    rect.top += yOff; rect.bottom += yOff;\n    return rect\n  }\n\n  // Coverts a box from \"div\" coords to another coordinate system.\n  // Context may be \"window\", \"page\", \"div\", or \"local\"./null.\n  function fromCoordSystem(cm, coords, context) {\n    if (context == \"div\") { return coords }\n    var left = coords.left, top = coords.top;\n    // First move into \"page\" coordinate system\n    if (context == \"page\") {\n      left -= pageScrollX();\n      top -= pageScrollY();\n    } else if (context == \"local\" || !context) {\n      var localBox = cm.display.sizer.getBoundingClientRect();\n      left += localBox.left;\n      top += localBox.top;\n    }\n\n    var lineSpaceBox = cm.display.lineSpace.getBoundingClientRect();\n    return {left: left - lineSpaceBox.left, top: top - lineSpaceBox.top}\n  }\n\n  function charCoords(cm, pos, context, lineObj, bias) {\n    if (!lineObj) { lineObj = getLine(cm.doc, pos.line); }\n    return intoCoordSystem(cm, lineObj, measureChar(cm, lineObj, pos.ch, bias), context)\n  }\n\n  // Returns a box for a given cursor position, which may have an\n  // 'other' property containing the position of the secondary cursor\n  // on a bidi boundary.\n  // A cursor Pos(line, char, \"before\") is on the same visual line as `char - 1`\n  // and after `char - 1` in writing order of `char - 1`\n  // A cursor Pos(line, char, \"after\") is on the same visual line as `char`\n  // and before `char` in writing order of `char`\n  // Examples (upper-case letters are RTL, lower-case are LTR):\n  //     Pos(0, 1, ...)\n  //     before   after\n  // ab     a|b     a|b\n  // aB     a|B     aB|\n  // Ab     |Ab     A|b\n  // AB     B|A     B|A\n  // Every position after the last character on a line is considered to stick\n  // to the last character on the line.\n  function cursorCoords(cm, pos, context, lineObj, preparedMeasure, varHeight) {\n    lineObj = lineObj || getLine(cm.doc, pos.line);\n    if (!preparedMeasure) { preparedMeasure = prepareMeasureForLine(cm, lineObj); }\n    function get(ch, right) {\n      var m = measureCharPrepared(cm, preparedMeasure, ch, right ? \"right\" : \"left\", varHeight);\n      if (right) { m.left = m.right; } else { m.right = m.left; }\n      return intoCoordSystem(cm, lineObj, m, context)\n    }\n    var order = getOrder(lineObj, cm.doc.direction), ch = pos.ch, sticky = pos.sticky;\n    if (ch >= lineObj.text.length) {\n      ch = lineObj.text.length;\n      sticky = \"before\";\n    } else if (ch <= 0) {\n      ch = 0;\n      sticky = \"after\";\n    }\n    if (!order) { return get(sticky == \"before\" ? ch - 1 : ch, sticky == \"before\") }\n\n    function getBidi(ch, partPos, invert) {\n      var part = order[partPos], right = part.level == 1;\n      return get(invert ? ch - 1 : ch, right != invert)\n    }\n    var partPos = getBidiPartAt(order, ch, sticky);\n    var other = bidiOther;\n    var val = getBidi(ch, partPos, sticky == \"before\");\n    if (other != null) { val.other = getBidi(ch, other, sticky != \"before\"); }\n    return val\n  }\n\n  // Used to cheaply estimate the coordinates for a position. Used for\n  // intermediate scroll updates.\n  function estimateCoords(cm, pos) {\n    var left = 0;\n    pos = clipPos(cm.doc, pos);\n    if (!cm.options.lineWrapping) { left = charWidth(cm.display) * pos.ch; }\n    var lineObj = getLine(cm.doc, pos.line);\n    var top = heightAtLine(lineObj) + paddingTop(cm.display);\n    return {left: left, right: left, top: top, bottom: top + lineObj.height}\n  }\n\n  // Positions returned by coordsChar contain some extra information.\n  // xRel is the relative x position of the input coordinates compared\n  // to the found position (so xRel > 0 means the coordinates are to\n  // the right of the character position, for example). When outside\n  // is true, that means the coordinates lie outside the line's\n  // vertical range.\n  function PosWithInfo(line, ch, sticky, outside, xRel) {\n    var pos = Pos(line, ch, sticky);\n    pos.xRel = xRel;\n    if (outside) { pos.outside = outside; }\n    return pos\n  }\n\n  // Compute the character position closest to the given coordinates.\n  // Input must be lineSpace-local (\"div\" coordinate system).\n  function coordsChar(cm, x, y) {\n    var doc = cm.doc;\n    y += cm.display.viewOffset;\n    if (y < 0) { return PosWithInfo(doc.first, 0, null, -1, -1) }\n    var lineN = lineAtHeight(doc, y), last = doc.first + doc.size - 1;\n    if (lineN > last)\n      { return PosWithInfo(doc.first + doc.size - 1, getLine(doc, last).text.length, null, 1, 1) }\n    if (x < 0) { x = 0; }\n\n    var lineObj = getLine(doc, lineN);\n    for (;;) {\n      var found = coordsCharInner(cm, lineObj, lineN, x, y);\n      var collapsed = collapsedSpanAround(lineObj, found.ch + (found.xRel > 0 || found.outside > 0 ? 1 : 0));\n      if (!collapsed) { return found }\n      var rangeEnd = collapsed.find(1);\n      if (rangeEnd.line == lineN) { return rangeEnd }\n      lineObj = getLine(doc, lineN = rangeEnd.line);\n    }\n  }\n\n  function wrappedLineExtent(cm, lineObj, preparedMeasure, y) {\n    y -= widgetTopHeight(lineObj);\n    var end = lineObj.text.length;\n    var begin = findFirst(function (ch) { return measureCharPrepared(cm, preparedMeasure, ch - 1).bottom <= y; }, end, 0);\n    end = findFirst(function (ch) { return measureCharPrepared(cm, preparedMeasure, ch).top > y; }, begin, end);\n    return {begin: begin, end: end}\n  }\n\n  function wrappedLineExtentChar(cm, lineObj, preparedMeasure, target) {\n    if (!preparedMeasure) { preparedMeasure = prepareMeasureForLine(cm, lineObj); }\n    var targetTop = intoCoordSystem(cm, lineObj, measureCharPrepared(cm, preparedMeasure, target), \"line\").top;\n    return wrappedLineExtent(cm, lineObj, preparedMeasure, targetTop)\n  }\n\n  // Returns true if the given side of a box is after the given\n  // coordinates, in top-to-bottom, left-to-right order.\n  function boxIsAfter(box, x, y, left) {\n    return box.bottom <= y ? false : box.top > y ? true : (left ? box.left : box.right) > x\n  }\n\n  function coordsCharInner(cm, lineObj, lineNo, x, y) {\n    // Move y into line-local coordinate space\n    y -= heightAtLine(lineObj);\n    var preparedMeasure = prepareMeasureForLine(cm, lineObj);\n    // When directly calling `measureCharPrepared`, we have to adjust\n    // for the widgets at this line.\n    var widgetHeight = widgetTopHeight(lineObj);\n    var begin = 0, end = lineObj.text.length, ltr = true;\n\n    var order = getOrder(lineObj, cm.doc.direction);\n    // If the line isn't plain left-to-right text, first figure out\n    // which bidi section the coordinates fall into.\n    if (order) {\n      var part = (cm.options.lineWrapping ? coordsBidiPartWrapped : coordsBidiPart)\n                   (cm, lineObj, lineNo, preparedMeasure, order, x, y);\n      ltr = part.level != 1;\n      // The awkward -1 offsets are needed because findFirst (called\n      // on these below) will treat its first bound as inclusive,\n      // second as exclusive, but we want to actually address the\n      // characters in the part's range\n      begin = ltr ? part.from : part.to - 1;\n      end = ltr ? part.to : part.from - 1;\n    }\n\n    // A binary search to find the first character whose bounding box\n    // starts after the coordinates. If we run across any whose box wrap\n    // the coordinates, store that.\n    var chAround = null, boxAround = null;\n    var ch = findFirst(function (ch) {\n      var box = measureCharPrepared(cm, preparedMeasure, ch);\n      box.top += widgetHeight; box.bottom += widgetHeight;\n      if (!boxIsAfter(box, x, y, false)) { return false }\n      if (box.top <= y && box.left <= x) {\n        chAround = ch;\n        boxAround = box;\n      }\n      return true\n    }, begin, end);\n\n    var baseX, sticky, outside = false;\n    // If a box around the coordinates was found, use that\n    if (boxAround) {\n      // Distinguish coordinates nearer to the left or right side of the box\n      var atLeft = x - boxAround.left < boxAround.right - x, atStart = atLeft == ltr;\n      ch = chAround + (atStart ? 0 : 1);\n      sticky = atStart ? \"after\" : \"before\";\n      baseX = atLeft ? boxAround.left : boxAround.right;\n    } else {\n      // (Adjust for extended bound, if necessary.)\n      if (!ltr && (ch == end || ch == begin)) { ch++; }\n      // To determine which side to associate with, get the box to the\n      // left of the character and compare it's vertical position to the\n      // coordinates\n      sticky = ch == 0 ? \"after\" : ch == lineObj.text.length ? \"before\" :\n        (measureCharPrepared(cm, preparedMeasure, ch - (ltr ? 1 : 0)).bottom + widgetHeight <= y) == ltr ?\n        \"after\" : \"before\";\n      // Now get accurate coordinates for this place, in order to get a\n      // base X position\n      var coords = cursorCoords(cm, Pos(lineNo, ch, sticky), \"line\", lineObj, preparedMeasure);\n      baseX = coords.left;\n      outside = y < coords.top ? -1 : y >= coords.bottom ? 1 : 0;\n    }\n\n    ch = skipExtendingChars(lineObj.text, ch, 1);\n    return PosWithInfo(lineNo, ch, sticky, outside, x - baseX)\n  }\n\n  function coordsBidiPart(cm, lineObj, lineNo, preparedMeasure, order, x, y) {\n    // Bidi parts are sorted left-to-right, and in a non-line-wrapping\n    // situation, we can take this ordering to correspond to the visual\n    // ordering. This finds the first part whose end is after the given\n    // coordinates.\n    var index = findFirst(function (i) {\n      var part = order[i], ltr = part.level != 1;\n      return boxIsAfter(cursorCoords(cm, Pos(lineNo, ltr ? part.to : part.from, ltr ? \"before\" : \"after\"),\n                                     \"line\", lineObj, preparedMeasure), x, y, true)\n    }, 0, order.length - 1);\n    var part = order[index];\n    // If this isn't the first part, the part's start is also after\n    // the coordinates, and the coordinates aren't on the same line as\n    // that start, move one part back.\n    if (index > 0) {\n      var ltr = part.level != 1;\n      var start = cursorCoords(cm, Pos(lineNo, ltr ? part.from : part.to, ltr ? \"after\" : \"before\"),\n                               \"line\", lineObj, preparedMeasure);\n      if (boxIsAfter(start, x, y, true) && start.top > y)\n        { part = order[index - 1]; }\n    }\n    return part\n  }\n\n  function coordsBidiPartWrapped(cm, lineObj, _lineNo, preparedMeasure, order, x, y) {\n    // In a wrapped line, rtl text on wrapping boundaries can do things\n    // that don't correspond to the ordering in our `order` array at\n    // all, so a binary search doesn't work, and we want to return a\n    // part that only spans one line so that the binary search in\n    // coordsCharInner is safe. As such, we first find the extent of the\n    // wrapped line, and then do a flat search in which we discard any\n    // spans that aren't on the line.\n    var ref = wrappedLineExtent(cm, lineObj, preparedMeasure, y);\n    var begin = ref.begin;\n    var end = ref.end;\n    if (/\\s/.test(lineObj.text.charAt(end - 1))) { end--; }\n    var part = null, closestDist = null;\n    for (var i = 0; i < order.length; i++) {\n      var p = order[i];\n      if (p.from >= end || p.to <= begin) { continue }\n      var ltr = p.level != 1;\n      var endX = measureCharPrepared(cm, preparedMeasure, ltr ? Math.min(end, p.to) - 1 : Math.max(begin, p.from)).right;\n      // Weigh against spans ending before this, so that they are only\n      // picked if nothing ends after\n      var dist = endX < x ? x - endX + 1e9 : endX - x;\n      if (!part || closestDist > dist) {\n        part = p;\n        closestDist = dist;\n      }\n    }\n    if (!part) { part = order[order.length - 1]; }\n    // Clip the part to the wrapped line.\n    if (part.from < begin) { part = {from: begin, to: part.to, level: part.level}; }\n    if (part.to > end) { part = {from: part.from, to: end, level: part.level}; }\n    return part\n  }\n\n  var measureText;\n  // Compute the default text height.\n  function textHeight(display) {\n    if (display.cachedTextHeight != null) { return display.cachedTextHeight }\n    if (measureText == null) {\n      measureText = elt(\"pre\", null, \"CodeMirror-line-like\");\n      // Measure a bunch of lines, for browsers that compute\n      // fractional heights.\n      for (var i = 0; i < 49; ++i) {\n        measureText.appendChild(document.createTextNode(\"x\"));\n        measureText.appendChild(elt(\"br\"));\n      }\n      measureText.appendChild(document.createTextNode(\"x\"));\n    }\n    removeChildrenAndAdd(display.measure, measureText);\n    var height = measureText.offsetHeight / 50;\n    if (height > 3) { display.cachedTextHeight = height; }\n    removeChildren(display.measure);\n    return height || 1\n  }\n\n  // Compute the default character width.\n  function charWidth(display) {\n    if (display.cachedCharWidth != null) { return display.cachedCharWidth }\n    var anchor = elt(\"span\", \"xxxxxxxxxx\");\n    var pre = elt(\"pre\", [anchor], \"CodeMirror-line-like\");\n    removeChildrenAndAdd(display.measure, pre);\n    var rect = anchor.getBoundingClientRect(), width = (rect.right - rect.left) / 10;\n    if (width > 2) { display.cachedCharWidth = width; }\n    return width || 10\n  }\n\n  // Do a bulk-read of the DOM positions and sizes needed to draw the\n  // view, so that we don't interleave reading and writing to the DOM.\n  function getDimensions(cm) {\n    var d = cm.display, left = {}, width = {};\n    var gutterLeft = d.gutters.clientLeft;\n    for (var n = d.gutters.firstChild, i = 0; n; n = n.nextSibling, ++i) {\n      var id = cm.display.gutterSpecs[i].className;\n      left[id] = n.offsetLeft + n.clientLeft + gutterLeft;\n      width[id] = n.clientWidth;\n    }\n    return {fixedPos: compensateForHScroll(d),\n            gutterTotalWidth: d.gutters.offsetWidth,\n            gutterLeft: left,\n            gutterWidth: width,\n            wrapperWidth: d.wrapper.clientWidth}\n  }\n\n  // Computes display.scroller.scrollLeft + display.gutters.offsetWidth,\n  // but using getBoundingClientRect to get a sub-pixel-accurate\n  // result.\n  function compensateForHScroll(display) {\n    return display.scroller.getBoundingClientRect().left - display.sizer.getBoundingClientRect().left\n  }\n\n  // Returns a function that estimates the height of a line, to use as\n  // first approximation until the line becomes visible (and is thus\n  // properly measurable).\n  function estimateHeight(cm) {\n    var th = textHeight(cm.display), wrapping = cm.options.lineWrapping;\n    var perLine = wrapping && Math.max(5, cm.display.scroller.clientWidth / charWidth(cm.display) - 3);\n    return function (line) {\n      if (lineIsHidden(cm.doc, line)) { return 0 }\n\n      var widgetsHeight = 0;\n      if (line.widgets) { for (var i = 0; i < line.widgets.length; i++) {\n        if (line.widgets[i].height) { widgetsHeight += line.widgets[i].height; }\n      } }\n\n      if (wrapping)\n        { return widgetsHeight + (Math.ceil(line.text.length / perLine) || 1) * th }\n      else\n        { return widgetsHeight + th }\n    }\n  }\n\n  function estimateLineHeights(cm) {\n    var doc = cm.doc, est = estimateHeight(cm);\n    doc.iter(function (line) {\n      var estHeight = est(line);\n      if (estHeight != line.height) { updateLineHeight(line, estHeight); }\n    });\n  }\n\n  // Given a mouse event, find the corresponding position. If liberal\n  // is false, it checks whether a gutter or scrollbar was clicked,\n  // and returns null if it was. forRect is used by rectangular\n  // selections, and tries to estimate a character position even for\n  // coordinates beyond the right of the text.\n  function posFromMouse(cm, e, liberal, forRect) {\n    var display = cm.display;\n    if (!liberal && e_target(e).getAttribute(\"cm-not-content\") == \"true\") { return null }\n\n    var x, y, space = display.lineSpace.getBoundingClientRect();\n    // Fails unpredictably on IE[67] when mouse is dragged around quickly.\n    try { x = e.clientX - space.left; y = e.clientY - space.top; }\n    catch (e$1) { return null }\n    var coords = coordsChar(cm, x, y), line;\n    if (forRect && coords.xRel > 0 && (line = getLine(cm.doc, coords.line).text).length == coords.ch) {\n      var colDiff = countColumn(line, line.length, cm.options.tabSize) - line.length;\n      coords = Pos(coords.line, Math.max(0, Math.round((x - paddingH(cm.display).left) / charWidth(cm.display)) - colDiff));\n    }\n    return coords\n  }\n\n  // Find the view element corresponding to a given line. Return null\n  // when the line isn't visible.\n  function findViewIndex(cm, n) {\n    if (n >= cm.display.viewTo) { return null }\n    n -= cm.display.viewFrom;\n    if (n < 0) { return null }\n    var view = cm.display.view;\n    for (var i = 0; i < view.length; i++) {\n      n -= view[i].size;\n      if (n < 0) { return i }\n    }\n  }\n\n  // Updates the display.view data structure for a given change to the\n  // document. From and to are in pre-change coordinates. Lendiff is\n  // the amount of lines added or subtracted by the change. This is\n  // used for changes that span multiple lines, or change the way\n  // lines are divided into visual lines. regLineChange (below)\n  // registers single-line changes.\n  function regChange(cm, from, to, lendiff) {\n    if (from == null) { from = cm.doc.first; }\n    if (to == null) { to = cm.doc.first + cm.doc.size; }\n    if (!lendiff) { lendiff = 0; }\n\n    var display = cm.display;\n    if (lendiff && to < display.viewTo &&\n        (display.updateLineNumbers == null || display.updateLineNumbers > from))\n      { display.updateLineNumbers = from; }\n\n    cm.curOp.viewChanged = true;\n\n    if (from >= display.viewTo) { // Change after\n      if (sawCollapsedSpans && visualLineNo(cm.doc, from) < display.viewTo)\n        { resetView(cm); }\n    } else if (to <= display.viewFrom) { // Change before\n      if (sawCollapsedSpans && visualLineEndNo(cm.doc, to + lendiff) > display.viewFrom) {\n        resetView(cm);\n      } else {\n        display.viewFrom += lendiff;\n        display.viewTo += lendiff;\n      }\n    } else if (from <= display.viewFrom && to >= display.viewTo) { // Full overlap\n      resetView(cm);\n    } else if (from <= display.viewFrom) { // Top overlap\n      var cut = viewCuttingPoint(cm, to, to + lendiff, 1);\n      if (cut) {\n        display.view = display.view.slice(cut.index);\n        display.viewFrom = cut.lineN;\n        display.viewTo += lendiff;\n      } else {\n        resetView(cm);\n      }\n    } else if (to >= display.viewTo) { // Bottom overlap\n      var cut$1 = viewCuttingPoint(cm, from, from, -1);\n      if (cut$1) {\n        display.view = display.view.slice(0, cut$1.index);\n        display.viewTo = cut$1.lineN;\n      } else {\n        resetView(cm);\n      }\n    } else { // Gap in the middle\n      var cutTop = viewCuttingPoint(cm, from, from, -1);\n      var cutBot = viewCuttingPoint(cm, to, to + lendiff, 1);\n      if (cutTop && cutBot) {\n        display.view = display.view.slice(0, cutTop.index)\n          .concat(buildViewArray(cm, cutTop.lineN, cutBot.lineN))\n          .concat(display.view.slice(cutBot.index));\n        display.viewTo += lendiff;\n      } else {\n        resetView(cm);\n      }\n    }\n\n    var ext = display.externalMeasured;\n    if (ext) {\n      if (to < ext.lineN)\n        { ext.lineN += lendiff; }\n      else if (from < ext.lineN + ext.size)\n        { display.externalMeasured = null; }\n    }\n  }\n\n  // Register a change to a single line. Type must be one of \"text\",\n  // \"gutter\", \"class\", \"widget\"\n  function regLineChange(cm, line, type) {\n    cm.curOp.viewChanged = true;\n    var display = cm.display, ext = cm.display.externalMeasured;\n    if (ext && line >= ext.lineN && line < ext.lineN + ext.size)\n      { display.externalMeasured = null; }\n\n    if (line < display.viewFrom || line >= display.viewTo) { return }\n    var lineView = display.view[findViewIndex(cm, line)];\n    if (lineView.node == null) { return }\n    var arr = lineView.changes || (lineView.changes = []);\n    if (indexOf(arr, type) == -1) { arr.push(type); }\n  }\n\n  // Clear the view.\n  function resetView(cm) {\n    cm.display.viewFrom = cm.display.viewTo = cm.doc.first;\n    cm.display.view = [];\n    cm.display.viewOffset = 0;\n  }\n\n  function viewCuttingPoint(cm, oldN, newN, dir) {\n    var index = findViewIndex(cm, oldN), diff, view = cm.display.view;\n    if (!sawCollapsedSpans || newN == cm.doc.first + cm.doc.size)\n      { return {index: index, lineN: newN} }\n    var n = cm.display.viewFrom;\n    for (var i = 0; i < index; i++)\n      { n += view[i].size; }\n    if (n != oldN) {\n      if (dir > 0) {\n        if (index == view.length - 1) { return null }\n        diff = (n + view[index].size) - oldN;\n        index++;\n      } else {\n        diff = n - oldN;\n      }\n      oldN += diff; newN += diff;\n    }\n    while (visualLineNo(cm.doc, newN) != newN) {\n      if (index == (dir < 0 ? 0 : view.length - 1)) { return null }\n      newN += dir * view[index - (dir < 0 ? 1 : 0)].size;\n      index += dir;\n    }\n    return {index: index, lineN: newN}\n  }\n\n  // Force the view to cover a given range, adding empty view element\n  // or clipping off existing ones as needed.\n  function adjustView(cm, from, to) {\n    var display = cm.display, view = display.view;\n    if (view.length == 0 || from >= display.viewTo || to <= display.viewFrom) {\n      display.view = buildViewArray(cm, from, to);\n      display.viewFrom = from;\n    } else {\n      if (display.viewFrom > from)\n        { display.view = buildViewArray(cm, from, display.viewFrom).concat(display.view); }\n      else if (display.viewFrom < from)\n        { display.view = display.view.slice(findViewIndex(cm, from)); }\n      display.viewFrom = from;\n      if (display.viewTo < to)\n        { display.view = display.view.concat(buildViewArray(cm, display.viewTo, to)); }\n      else if (display.viewTo > to)\n        { display.view = display.view.slice(0, findViewIndex(cm, to)); }\n    }\n    display.viewTo = to;\n  }\n\n  // Count the number of lines in the view whose DOM representation is\n  // out of date (or nonexistent).\n  function countDirtyView(cm) {\n    var view = cm.display.view, dirty = 0;\n    for (var i = 0; i < view.length; i++) {\n      var lineView = view[i];\n      if (!lineView.hidden && (!lineView.node || lineView.changes)) { ++dirty; }\n    }\n    return dirty\n  }\n\n  function updateSelection(cm) {\n    cm.display.input.showSelection(cm.display.input.prepareSelection());\n  }\n\n  function prepareSelection(cm, primary) {\n    if ( primary === void 0 ) primary = true;\n\n    var doc = cm.doc, result = {};\n    var curFragment = result.cursors = document.createDocumentFragment();\n    var selFragment = result.selection = document.createDocumentFragment();\n\n    var customCursor = cm.options.$customCursor;\n    if (customCursor) { primary = true; }\n    for (var i = 0; i < doc.sel.ranges.length; i++) {\n      if (!primary && i == doc.sel.primIndex) { continue }\n      var range = doc.sel.ranges[i];\n      if (range.from().line >= cm.display.viewTo || range.to().line < cm.display.viewFrom) { continue }\n      var collapsed = range.empty();\n      if (customCursor) {\n        var head = customCursor(cm, range);\n        if (head) { drawSelectionCursor(cm, head, curFragment); }\n      } else if (collapsed || cm.options.showCursorWhenSelecting) {\n        drawSelectionCursor(cm, range.head, curFragment);\n      }\n      if (!collapsed)\n        { drawSelectionRange(cm, range, selFragment); }\n    }\n    return result\n  }\n\n  // Draws a cursor for the given range\n  function drawSelectionCursor(cm, head, output) {\n    var pos = cursorCoords(cm, head, \"div\", null, null, !cm.options.singleCursorHeightPerLine);\n\n    var cursor = output.appendChild(elt(\"div\", \"\\u00a0\", \"CodeMirror-cursor\"));\n    cursor.style.left = pos.left + \"px\";\n    cursor.style.top = pos.top + \"px\";\n    cursor.style.height = Math.max(0, pos.bottom - pos.top) * cm.options.cursorHeight + \"px\";\n\n    if (/\\bcm-fat-cursor\\b/.test(cm.getWrapperElement().className)) {\n      var charPos = charCoords(cm, head, \"div\", null, null);\n      var width = charPos.right - charPos.left;\n      cursor.style.width = (width > 0 ? width : cm.defaultCharWidth()) + \"px\";\n    }\n\n    if (pos.other) {\n      // Secondary cursor, shown when on a 'jump' in bi-directional text\n      var otherCursor = output.appendChild(elt(\"div\", \"\\u00a0\", \"CodeMirror-cursor CodeMirror-secondarycursor\"));\n      otherCursor.style.display = \"\";\n      otherCursor.style.left = pos.other.left + \"px\";\n      otherCursor.style.top = pos.other.top + \"px\";\n      otherCursor.style.height = (pos.other.bottom - pos.other.top) * .85 + \"px\";\n    }\n  }\n\n  function cmpCoords(a, b) { return a.top - b.top || a.left - b.left }\n\n  // Draws the given range as a highlighted selection\n  function drawSelectionRange(cm, range, output) {\n    var display = cm.display, doc = cm.doc;\n    var fragment = document.createDocumentFragment();\n    var padding = paddingH(cm.display), leftSide = padding.left;\n    var rightSide = Math.max(display.sizerWidth, displayWidth(cm) - display.sizer.offsetLeft) - padding.right;\n    var docLTR = doc.direction == \"ltr\";\n\n    function add(left, top, width, bottom) {\n      if (top < 0) { top = 0; }\n      top = Math.round(top);\n      bottom = Math.round(bottom);\n      fragment.appendChild(elt(\"div\", null, \"CodeMirror-selected\", (\"position: absolute; left: \" + left + \"px;\\n                             top: \" + top + \"px; width: \" + (width == null ? rightSide - left : width) + \"px;\\n                             height: \" + (bottom - top) + \"px\")));\n    }\n\n    function drawForLine(line, fromArg, toArg) {\n      var lineObj = getLine(doc, line);\n      var lineLen = lineObj.text.length;\n      var start, end;\n      function coords(ch, bias) {\n        return charCoords(cm, Pos(line, ch), \"div\", lineObj, bias)\n      }\n\n      function wrapX(pos, dir, side) {\n        var extent = wrappedLineExtentChar(cm, lineObj, null, pos);\n        var prop = (dir == \"ltr\") == (side == \"after\") ? \"left\" : \"right\";\n        var ch = side == \"after\" ? extent.begin : extent.end - (/\\s/.test(lineObj.text.charAt(extent.end - 1)) ? 2 : 1);\n        return coords(ch, prop)[prop]\n      }\n\n      var order = getOrder(lineObj, doc.direction);\n      iterateBidiSections(order, fromArg || 0, toArg == null ? lineLen : toArg, function (from, to, dir, i) {\n        var ltr = dir == \"ltr\";\n        var fromPos = coords(from, ltr ? \"left\" : \"right\");\n        var toPos = coords(to - 1, ltr ? \"right\" : \"left\");\n\n        var openStart = fromArg == null && from == 0, openEnd = toArg == null && to == lineLen;\n        var first = i == 0, last = !order || i == order.length - 1;\n        if (toPos.top - fromPos.top <= 3) { // Single line\n          var openLeft = (docLTR ? openStart : openEnd) && first;\n          var openRight = (docLTR ? openEnd : openStart) && last;\n          var left = openLeft ? leftSide : (ltr ? fromPos : toPos).left;\n          var right = openRight ? rightSide : (ltr ? toPos : fromPos).right;\n          add(left, fromPos.top, right - left, fromPos.bottom);\n        } else { // Multiple lines\n          var topLeft, topRight, botLeft, botRight;\n          if (ltr) {\n            topLeft = docLTR && openStart && first ? leftSide : fromPos.left;\n            topRight = docLTR ? rightSide : wrapX(from, dir, \"before\");\n            botLeft = docLTR ? leftSide : wrapX(to, dir, \"after\");\n            botRight = docLTR && openEnd && last ? rightSide : toPos.right;\n          } else {\n            topLeft = !docLTR ? leftSide : wrapX(from, dir, \"before\");\n            topRight = !docLTR && openStart && first ? rightSide : fromPos.right;\n            botLeft = !docLTR && openEnd && last ? leftSide : toPos.left;\n            botRight = !docLTR ? rightSide : wrapX(to, dir, \"after\");\n          }\n          add(topLeft, fromPos.top, topRight - topLeft, fromPos.bottom);\n          if (fromPos.bottom < toPos.top) { add(leftSide, fromPos.bottom, null, toPos.top); }\n          add(botLeft, toPos.top, botRight - botLeft, toPos.bottom);\n        }\n\n        if (!start || cmpCoords(fromPos, start) < 0) { start = fromPos; }\n        if (cmpCoords(toPos, start) < 0) { start = toPos; }\n        if (!end || cmpCoords(fromPos, end) < 0) { end = fromPos; }\n        if (cmpCoords(toPos, end) < 0) { end = toPos; }\n      });\n      return {start: start, end: end}\n    }\n\n    var sFrom = range.from(), sTo = range.to();\n    if (sFrom.line == sTo.line) {\n      drawForLine(sFrom.line, sFrom.ch, sTo.ch);\n    } else {\n      var fromLine = getLine(doc, sFrom.line), toLine = getLine(doc, sTo.line);\n      var singleVLine = visualLine(fromLine) == visualLine(toLine);\n      var leftEnd = drawForLine(sFrom.line, sFrom.ch, singleVLine ? fromLine.text.length + 1 : null).end;\n      var rightStart = drawForLine(sTo.line, singleVLine ? 0 : null, sTo.ch).start;\n      if (singleVLine) {\n        if (leftEnd.top < rightStart.top - 2) {\n          add(leftEnd.right, leftEnd.top, null, leftEnd.bottom);\n          add(leftSide, rightStart.top, rightStart.left, rightStart.bottom);\n        } else {\n          add(leftEnd.right, leftEnd.top, rightStart.left - leftEnd.right, leftEnd.bottom);\n        }\n      }\n      if (leftEnd.bottom < rightStart.top)\n        { add(leftSide, leftEnd.bottom, null, rightStart.top); }\n    }\n\n    output.appendChild(fragment);\n  }\n\n  // Cursor-blinking\n  function restartBlink(cm) {\n    if (!cm.state.focused) { return }\n    var display = cm.display;\n    clearInterval(display.blinker);\n    var on = true;\n    display.cursorDiv.style.visibility = \"\";\n    if (cm.options.cursorBlinkRate > 0)\n      { display.blinker = setInterval(function () {\n        if (!cm.hasFocus()) { onBlur(cm); }\n        display.cursorDiv.style.visibility = (on = !on) ? \"\" : \"hidden\";\n      }, cm.options.cursorBlinkRate); }\n    else if (cm.options.cursorBlinkRate < 0)\n      { display.cursorDiv.style.visibility = \"hidden\"; }\n  }\n\n  function ensureFocus(cm) {\n    if (!cm.hasFocus()) {\n      cm.display.input.focus();\n      if (!cm.state.focused) { onFocus(cm); }\n    }\n  }\n\n  function delayBlurEvent(cm) {\n    cm.state.delayingBlurEvent = true;\n    setTimeout(function () { if (cm.state.delayingBlurEvent) {\n      cm.state.delayingBlurEvent = false;\n      if (cm.state.focused) { onBlur(cm); }\n    } }, 100);\n  }\n\n  function onFocus(cm, e) {\n    if (cm.state.delayingBlurEvent && !cm.state.draggingText) { cm.state.delayingBlurEvent = false; }\n\n    if (cm.options.readOnly == \"nocursor\") { return }\n    if (!cm.state.focused) {\n      signal(cm, \"focus\", cm, e);\n      cm.state.focused = true;\n      addClass(cm.display.wrapper, \"CodeMirror-focused\");\n      // This test prevents this from firing when a context\n      // menu is closed (since the input reset would kill the\n      // select-all detection hack)\n      if (!cm.curOp && cm.display.selForContextMenu != cm.doc.sel) {\n        cm.display.input.reset();\n        if (webkit) { setTimeout(function () { return cm.display.input.reset(true); }, 20); } // Issue #1730\n      }\n      cm.display.input.receivedFocus();\n    }\n    restartBlink(cm);\n  }\n  function onBlur(cm, e) {\n    if (cm.state.delayingBlurEvent) { return }\n\n    if (cm.state.focused) {\n      signal(cm, \"blur\", cm, e);\n      cm.state.focused = false;\n      rmClass(cm.display.wrapper, \"CodeMirror-focused\");\n    }\n    clearInterval(cm.display.blinker);\n    setTimeout(function () { if (!cm.state.focused) { cm.display.shift = false; } }, 150);\n  }\n\n  // Read the actual heights of the rendered lines, and update their\n  // stored heights to match.\n  function updateHeightsInViewport(cm) {\n    var display = cm.display;\n    var prevBottom = display.lineDiv.offsetTop;\n    var viewTop = Math.max(0, display.scroller.getBoundingClientRect().top);\n    var oldHeight = display.lineDiv.getBoundingClientRect().top;\n    var mustScroll = 0;\n    for (var i = 0; i < display.view.length; i++) {\n      var cur = display.view[i], wrapping = cm.options.lineWrapping;\n      var height = (void 0), width = 0;\n      if (cur.hidden) { continue }\n      oldHeight += cur.line.height;\n      if (ie && ie_version < 8) {\n        var bot = cur.node.offsetTop + cur.node.offsetHeight;\n        height = bot - prevBottom;\n        prevBottom = bot;\n      } else {\n        var box = cur.node.getBoundingClientRect();\n        height = box.bottom - box.top;\n        // Check that lines don't extend past the right of the current\n        // editor width\n        if (!wrapping && cur.text.firstChild)\n          { width = cur.text.firstChild.getBoundingClientRect().right - box.left - 1; }\n      }\n      var diff = cur.line.height - height;\n      if (diff > .005 || diff < -.005) {\n        if (oldHeight < viewTop) { mustScroll -= diff; }\n        updateLineHeight(cur.line, height);\n        updateWidgetHeight(cur.line);\n        if (cur.rest) { for (var j = 0; j < cur.rest.length; j++)\n          { updateWidgetHeight(cur.rest[j]); } }\n      }\n      if (width > cm.display.sizerWidth) {\n        var chWidth = Math.ceil(width / charWidth(cm.display));\n        if (chWidth > cm.display.maxLineLength) {\n          cm.display.maxLineLength = chWidth;\n          cm.display.maxLine = cur.line;\n          cm.display.maxLineChanged = true;\n        }\n      }\n    }\n    if (Math.abs(mustScroll) > 2) { display.scroller.scrollTop += mustScroll; }\n  }\n\n  // Read and store the height of line widgets associated with the\n  // given line.\n  function updateWidgetHeight(line) {\n    if (line.widgets) { for (var i = 0; i < line.widgets.length; ++i) {\n      var w = line.widgets[i], parent = w.node.parentNode;\n      if (parent) { w.height = parent.offsetHeight; }\n    } }\n  }\n\n  // Compute the lines that are visible in a given viewport (defaults\n  // the the current scroll position). viewport may contain top,\n  // height, and ensure (see op.scrollToPos) properties.\n  function visibleLines(display, doc, viewport) {\n    var top = viewport && viewport.top != null ? Math.max(0, viewport.top) : display.scroller.scrollTop;\n    top = Math.floor(top - paddingTop(display));\n    var bottom = viewport && viewport.bottom != null ? viewport.bottom : top + display.wrapper.clientHeight;\n\n    var from = lineAtHeight(doc, top), to = lineAtHeight(doc, bottom);\n    // Ensure is a {from: {line, ch}, to: {line, ch}} object, and\n    // forces those lines into the viewport (if possible).\n    if (viewport && viewport.ensure) {\n      var ensureFrom = viewport.ensure.from.line, ensureTo = viewport.ensure.to.line;\n      if (ensureFrom < from) {\n        from = ensureFrom;\n        to = lineAtHeight(doc, heightAtLine(getLine(doc, ensureFrom)) + display.wrapper.clientHeight);\n      } else if (Math.min(ensureTo, doc.lastLine()) >= to) {\n        from = lineAtHeight(doc, heightAtLine(getLine(doc, ensureTo)) - display.wrapper.clientHeight);\n        to = ensureTo;\n      }\n    }\n    return {from: from, to: Math.max(to, from + 1)}\n  }\n\n  // SCROLLING THINGS INTO VIEW\n\n  // If an editor sits on the top or bottom of the window, partially\n  // scrolled out of view, this ensures that the cursor is visible.\n  function maybeScrollWindow(cm, rect) {\n    if (signalDOMEvent(cm, \"scrollCursorIntoView\")) { return }\n\n    var display = cm.display, box = display.sizer.getBoundingClientRect(), doScroll = null;\n    if (rect.top + box.top < 0) { doScroll = true; }\n    else if (rect.bottom + box.top > (window.innerHeight || document.documentElement.clientHeight)) { doScroll = false; }\n    if (doScroll != null && !phantom) {\n      var scrollNode = elt(\"div\", \"\\u200b\", null, (\"position: absolute;\\n                         top: \" + (rect.top - display.viewOffset - paddingTop(cm.display)) + \"px;\\n                         height: \" + (rect.bottom - rect.top + scrollGap(cm) + display.barHeight) + \"px;\\n                         left: \" + (rect.left) + \"px; width: \" + (Math.max(2, rect.right - rect.left)) + \"px;\"));\n      cm.display.lineSpace.appendChild(scrollNode);\n      scrollNode.scrollIntoView(doScroll);\n      cm.display.lineSpace.removeChild(scrollNode);\n    }\n  }\n\n  // Scroll a given position into view (immediately), verifying that\n  // it actually became visible (as line heights are accurately\n  // measured, the position of something may 'drift' during drawing).\n  function scrollPosIntoView(cm, pos, end, margin) {\n    if (margin == null) { margin = 0; }\n    var rect;\n    if (!cm.options.lineWrapping && pos == end) {\n      // Set pos and end to the cursor positions around the character pos sticks to\n      // If pos.sticky == \"before\", that is around pos.ch - 1, otherwise around pos.ch\n      // If pos == Pos(_, 0, \"before\"), pos and end are unchanged\n      end = pos.sticky == \"before\" ? Pos(pos.line, pos.ch + 1, \"before\") : pos;\n      pos = pos.ch ? Pos(pos.line, pos.sticky == \"before\" ? pos.ch - 1 : pos.ch, \"after\") : pos;\n    }\n    for (var limit = 0; limit < 5; limit++) {\n      var changed = false;\n      var coords = cursorCoords(cm, pos);\n      var endCoords = !end || end == pos ? coords : cursorCoords(cm, end);\n      rect = {left: Math.min(coords.left, endCoords.left),\n              top: Math.min(coords.top, endCoords.top) - margin,\n              right: Math.max(coords.left, endCoords.left),\n              bottom: Math.max(coords.bottom, endCoords.bottom) + margin};\n      var scrollPos = calculateScrollPos(cm, rect);\n      var startTop = cm.doc.scrollTop, startLeft = cm.doc.scrollLeft;\n      if (scrollPos.scrollTop != null) {\n        updateScrollTop(cm, scrollPos.scrollTop);\n        if (Math.abs(cm.doc.scrollTop - startTop) > 1) { changed = true; }\n      }\n      if (scrollPos.scrollLeft != null) {\n        setScrollLeft(cm, scrollPos.scrollLeft);\n        if (Math.abs(cm.doc.scrollLeft - startLeft) > 1) { changed = true; }\n      }\n      if (!changed) { break }\n    }\n    return rect\n  }\n\n  // Scroll a given set of coordinates into view (immediately).\n  function scrollIntoView(cm, rect) {\n    var scrollPos = calculateScrollPos(cm, rect);\n    if (scrollPos.scrollTop != null) { updateScrollTop(cm, scrollPos.scrollTop); }\n    if (scrollPos.scrollLeft != null) { setScrollLeft(cm, scrollPos.scrollLeft); }\n  }\n\n  // Calculate a new scroll position needed to scroll the given\n  // rectangle into view. Returns an object with scrollTop and\n  // scrollLeft properties. When these are undefined, the\n  // vertical/horizontal position does not need to be adjusted.\n  function calculateScrollPos(cm, rect) {\n    var display = cm.display, snapMargin = textHeight(cm.display);\n    if (rect.top < 0) { rect.top = 0; }\n    var screentop = cm.curOp && cm.curOp.scrollTop != null ? cm.curOp.scrollTop : display.scroller.scrollTop;\n    var screen = displayHeight(cm), result = {};\n    if (rect.bottom - rect.top > screen) { rect.bottom = rect.top + screen; }\n    var docBottom = cm.doc.height + paddingVert(display);\n    var atTop = rect.top < snapMargin, atBottom = rect.bottom > docBottom - snapMargin;\n    if (rect.top < screentop) {\n      result.scrollTop = atTop ? 0 : rect.top;\n    } else if (rect.bottom > screentop + screen) {\n      var newTop = Math.min(rect.top, (atBottom ? docBottom : rect.bottom) - screen);\n      if (newTop != screentop) { result.scrollTop = newTop; }\n    }\n\n    var gutterSpace = cm.options.fixedGutter ? 0 : display.gutters.offsetWidth;\n    var screenleft = cm.curOp && cm.curOp.scrollLeft != null ? cm.curOp.scrollLeft : display.scroller.scrollLeft - gutterSpace;\n    var screenw = displayWidth(cm) - display.gutters.offsetWidth;\n    var tooWide = rect.right - rect.left > screenw;\n    if (tooWide) { rect.right = rect.left + screenw; }\n    if (rect.left < 10)\n      { result.scrollLeft = 0; }\n    else if (rect.left < screenleft)\n      { result.scrollLeft = Math.max(0, rect.left + gutterSpace - (tooWide ? 0 : 10)); }\n    else if (rect.right > screenw + screenleft - 3)\n      { result.scrollLeft = rect.right + (tooWide ? 0 : 10) - screenw; }\n    return result\n  }\n\n  // Store a relative adjustment to the scroll position in the current\n  // operation (to be applied when the operation finishes).\n  function addToScrollTop(cm, top) {\n    if (top == null) { return }\n    resolveScrollToPos(cm);\n    cm.curOp.scrollTop = (cm.curOp.scrollTop == null ? cm.doc.scrollTop : cm.curOp.scrollTop) + top;\n  }\n\n  // Make sure that at the end of the operation the current cursor is\n  // shown.\n  function ensureCursorVisible(cm) {\n    resolveScrollToPos(cm);\n    var cur = cm.getCursor();\n    cm.curOp.scrollToPos = {from: cur, to: cur, margin: cm.options.cursorScrollMargin};\n  }\n\n  function scrollToCoords(cm, x, y) {\n    if (x != null || y != null) { resolveScrollToPos(cm); }\n    if (x != null) { cm.curOp.scrollLeft = x; }\n    if (y != null) { cm.curOp.scrollTop = y; }\n  }\n\n  function scrollToRange(cm, range) {\n    resolveScrollToPos(cm);\n    cm.curOp.scrollToPos = range;\n  }\n\n  // When an operation has its scrollToPos property set, and another\n  // scroll action is applied before the end of the operation, this\n  // 'simulates' scrolling that position into view in a cheap way, so\n  // that the effect of intermediate scroll commands is not ignored.\n  function resolveScrollToPos(cm) {\n    var range = cm.curOp.scrollToPos;\n    if (range) {\n      cm.curOp.scrollToPos = null;\n      var from = estimateCoords(cm, range.from), to = estimateCoords(cm, range.to);\n      scrollToCoordsRange(cm, from, to, range.margin);\n    }\n  }\n\n  function scrollToCoordsRange(cm, from, to, margin) {\n    var sPos = calculateScrollPos(cm, {\n      left: Math.min(from.left, to.left),\n      top: Math.min(from.top, to.top) - margin,\n      right: Math.max(from.right, to.right),\n      bottom: Math.max(from.bottom, to.bottom) + margin\n    });\n    scrollToCoords(cm, sPos.scrollLeft, sPos.scrollTop);\n  }\n\n  // Sync the scrollable area and scrollbars, ensure the viewport\n  // covers the visible area.\n  function updateScrollTop(cm, val) {\n    if (Math.abs(cm.doc.scrollTop - val) < 2) { return }\n    if (!gecko) { updateDisplaySimple(cm, {top: val}); }\n    setScrollTop(cm, val, true);\n    if (gecko) { updateDisplaySimple(cm); }\n    startWorker(cm, 100);\n  }\n\n  function setScrollTop(cm, val, forceScroll) {\n    val = Math.max(0, Math.min(cm.display.scroller.scrollHeight - cm.display.scroller.clientHeight, val));\n    if (cm.display.scroller.scrollTop == val && !forceScroll) { return }\n    cm.doc.scrollTop = val;\n    cm.display.scrollbars.setScrollTop(val);\n    if (cm.display.scroller.scrollTop != val) { cm.display.scroller.scrollTop = val; }\n  }\n\n  // Sync scroller and scrollbar, ensure the gutter elements are\n  // aligned.\n  function setScrollLeft(cm, val, isScroller, forceScroll) {\n    val = Math.max(0, Math.min(val, cm.display.scroller.scrollWidth - cm.display.scroller.clientWidth));\n    if ((isScroller ? val == cm.doc.scrollLeft : Math.abs(cm.doc.scrollLeft - val) < 2) && !forceScroll) { return }\n    cm.doc.scrollLeft = val;\n    alignHorizontally(cm);\n    if (cm.display.scroller.scrollLeft != val) { cm.display.scroller.scrollLeft = val; }\n    cm.display.scrollbars.setScrollLeft(val);\n  }\n\n  // SCROLLBARS\n\n  // Prepare DOM reads needed to update the scrollbars. Done in one\n  // shot to minimize update/measure roundtrips.\n  function measureForScrollbars(cm) {\n    var d = cm.display, gutterW = d.gutters.offsetWidth;\n    var docH = Math.round(cm.doc.height + paddingVert(cm.display));\n    return {\n      clientHeight: d.scroller.clientHeight,\n      viewHeight: d.wrapper.clientHeight,\n      scrollWidth: d.scroller.scrollWidth, clientWidth: d.scroller.clientWidth,\n      viewWidth: d.wrapper.clientWidth,\n      barLeft: cm.options.fixedGutter ? gutterW : 0,\n      docHeight: docH,\n      scrollHeight: docH + scrollGap(cm) + d.barHeight,\n      nativeBarWidth: d.nativeBarWidth,\n      gutterWidth: gutterW\n    }\n  }\n\n  var NativeScrollbars = function(place, scroll, cm) {\n    this.cm = cm;\n    var vert = this.vert = elt(\"div\", [elt(\"div\", null, null, \"min-width: 1px\")], \"CodeMirror-vscrollbar\");\n    var horiz = this.horiz = elt(\"div\", [elt(\"div\", null, null, \"height: 100%; min-height: 1px\")], \"CodeMirror-hscrollbar\");\n    vert.tabIndex = horiz.tabIndex = -1;\n    place(vert); place(horiz);\n\n    on(vert, \"scroll\", function () {\n      if (vert.clientHeight) { scroll(vert.scrollTop, \"vertical\"); }\n    });\n    on(horiz, \"scroll\", function () {\n      if (horiz.clientWidth) { scroll(horiz.scrollLeft, \"horizontal\"); }\n    });\n\n    this.checkedZeroWidth = false;\n    // Need to set a minimum width to see the scrollbar on IE7 (but must not set it on IE8).\n    if (ie && ie_version < 8) { this.horiz.style.minHeight = this.vert.style.minWidth = \"18px\"; }\n  };\n\n  NativeScrollbars.prototype.update = function (measure) {\n    var needsH = measure.scrollWidth > measure.clientWidth + 1;\n    var needsV = measure.scrollHeight > measure.clientHeight + 1;\n    var sWidth = measure.nativeBarWidth;\n\n    if (needsV) {\n      this.vert.style.display = \"block\";\n      this.vert.style.bottom = needsH ? sWidth + \"px\" : \"0\";\n      var totalHeight = measure.viewHeight - (needsH ? sWidth : 0);\n      // A bug in IE8 can cause this value to be negative, so guard it.\n      this.vert.firstChild.style.height =\n        Math.max(0, measure.scrollHeight - measure.clientHeight + totalHeight) + \"px\";\n    } else {\n      this.vert.scrollTop = 0;\n      this.vert.style.display = \"\";\n      this.vert.firstChild.style.height = \"0\";\n    }\n\n    if (needsH) {\n      this.horiz.style.display = \"block\";\n      this.horiz.style.right = needsV ? sWidth + \"px\" : \"0\";\n      this.horiz.style.left = measure.barLeft + \"px\";\n      var totalWidth = measure.viewWidth - measure.barLeft - (needsV ? sWidth : 0);\n      this.horiz.firstChild.style.width =\n        Math.max(0, measure.scrollWidth - measure.clientWidth + totalWidth) + \"px\";\n    } else {\n      this.horiz.style.display = \"\";\n      this.horiz.firstChild.style.width = \"0\";\n    }\n\n    if (!this.checkedZeroWidth && measure.clientHeight > 0) {\n      if (sWidth == 0) { this.zeroWidthHack(); }\n      this.checkedZeroWidth = true;\n    }\n\n    return {right: needsV ? sWidth : 0, bottom: needsH ? sWidth : 0}\n  };\n\n  NativeScrollbars.prototype.setScrollLeft = function (pos) {\n    if (this.horiz.scrollLeft != pos) { this.horiz.scrollLeft = pos; }\n    if (this.disableHoriz) { this.enableZeroWidthBar(this.horiz, this.disableHoriz, \"horiz\"); }\n  };\n\n  NativeScrollbars.prototype.setScrollTop = function (pos) {\n    if (this.vert.scrollTop != pos) { this.vert.scrollTop = pos; }\n    if (this.disableVert) { this.enableZeroWidthBar(this.vert, this.disableVert, \"vert\"); }\n  };\n\n  NativeScrollbars.prototype.zeroWidthHack = function () {\n    var w = mac && !mac_geMountainLion ? \"12px\" : \"18px\";\n    this.horiz.style.height = this.vert.style.width = w;\n    this.horiz.style.pointerEvents = this.vert.style.pointerEvents = \"none\";\n    this.disableHoriz = new Delayed;\n    this.disableVert = new Delayed;\n  };\n\n  NativeScrollbars.prototype.enableZeroWidthBar = function (bar, delay, type) {\n    bar.style.pointerEvents = \"auto\";\n    function maybeDisable() {\n      // To find out whether the scrollbar is still visible, we\n      // check whether the element under the pixel in the bottom\n      // right corner of the scrollbar box is the scrollbar box\n      // itself (when the bar is still visible) or its filler child\n      // (when the bar is hidden). If it is still visible, we keep\n      // it enabled, if it's hidden, we disable pointer events.\n      var box = bar.getBoundingClientRect();\n      var elt = type == \"vert\" ? document.elementFromPoint(box.right - 1, (box.top + box.bottom) / 2)\n          : document.elementFromPoint((box.right + box.left) / 2, box.bottom - 1);\n      if (elt != bar) { bar.style.pointerEvents = \"none\"; }\n      else { delay.set(1000, maybeDisable); }\n    }\n    delay.set(1000, maybeDisable);\n  };\n\n  NativeScrollbars.prototype.clear = function () {\n    var parent = this.horiz.parentNode;\n    parent.removeChild(this.horiz);\n    parent.removeChild(this.vert);\n  };\n\n  var NullScrollbars = function () {};\n\n  NullScrollbars.prototype.update = function () { return {bottom: 0, right: 0} };\n  NullScrollbars.prototype.setScrollLeft = function () {};\n  NullScrollbars.prototype.setScrollTop = function () {};\n  NullScrollbars.prototype.clear = function () {};\n\n  function updateScrollbars(cm, measure) {\n    if (!measure) { measure = measureForScrollbars(cm); }\n    var startWidth = cm.display.barWidth, startHeight = cm.display.barHeight;\n    updateScrollbarsInner(cm, measure);\n    for (var i = 0; i < 4 && startWidth != cm.display.barWidth || startHeight != cm.display.barHeight; i++) {\n      if (startWidth != cm.display.barWidth && cm.options.lineWrapping)\n        { updateHeightsInViewport(cm); }\n      updateScrollbarsInner(cm, measureForScrollbars(cm));\n      startWidth = cm.display.barWidth; startHeight = cm.display.barHeight;\n    }\n  }\n\n  // Re-synchronize the fake scrollbars with the actual size of the\n  // content.\n  function updateScrollbarsInner(cm, measure) {\n    var d = cm.display;\n    var sizes = d.scrollbars.update(measure);\n\n    d.sizer.style.paddingRight = (d.barWidth = sizes.right) + \"px\";\n    d.sizer.style.paddingBottom = (d.barHeight = sizes.bottom) + \"px\";\n    d.heightForcer.style.borderBottom = sizes.bottom + \"px solid transparent\";\n\n    if (sizes.right && sizes.bottom) {\n      d.scrollbarFiller.style.display = \"block\";\n      d.scrollbarFiller.style.height = sizes.bottom + \"px\";\n      d.scrollbarFiller.style.width = sizes.right + \"px\";\n    } else { d.scrollbarFiller.style.display = \"\"; }\n    if (sizes.bottom && cm.options.coverGutterNextToScrollbar && cm.options.fixedGutter) {\n      d.gutterFiller.style.display = \"block\";\n      d.gutterFiller.style.height = sizes.bottom + \"px\";\n      d.gutterFiller.style.width = measure.gutterWidth + \"px\";\n    } else { d.gutterFiller.style.display = \"\"; }\n  }\n\n  var scrollbarModel = {\"native\": NativeScrollbars, \"null\": NullScrollbars};\n\n  function initScrollbars(cm) {\n    if (cm.display.scrollbars) {\n      cm.display.scrollbars.clear();\n      if (cm.display.scrollbars.addClass)\n        { rmClass(cm.display.wrapper, cm.display.scrollbars.addClass); }\n    }\n\n    cm.display.scrollbars = new scrollbarModel[cm.options.scrollbarStyle](function (node) {\n      cm.display.wrapper.insertBefore(node, cm.display.scrollbarFiller);\n      // Prevent clicks in the scrollbars from killing focus\n      on(node, \"mousedown\", function () {\n        if (cm.state.focused) { setTimeout(function () { return cm.display.input.focus(); }, 0); }\n      });\n      node.setAttribute(\"cm-not-content\", \"true\");\n    }, function (pos, axis) {\n      if (axis == \"horizontal\") { setScrollLeft(cm, pos); }\n      else { updateScrollTop(cm, pos); }\n    }, cm);\n    if (cm.display.scrollbars.addClass)\n      { addClass(cm.display.wrapper, cm.display.scrollbars.addClass); }\n  }\n\n  // Operations are used to wrap a series of changes to the editor\n  // state in such a way that each change won't have to update the\n  // cursor and display (which would be awkward, slow, and\n  // error-prone). Instead, display updates are batched and then all\n  // combined and executed at once.\n\n  var nextOpId = 0;\n  // Start a new operation.\n  function startOperation(cm) {\n    cm.curOp = {\n      cm: cm,\n      viewChanged: false,      // Flag that indicates that lines might need to be redrawn\n      startHeight: cm.doc.height, // Used to detect need to update scrollbar\n      forceUpdate: false,      // Used to force a redraw\n      updateInput: 0,       // Whether to reset the input textarea\n      typing: false,           // Whether this reset should be careful to leave existing text (for compositing)\n      changeObjs: null,        // Accumulated changes, for firing change events\n      cursorActivityHandlers: null, // Set of handlers to fire cursorActivity on\n      cursorActivityCalled: 0, // Tracks which cursorActivity handlers have been called already\n      selectionChanged: false, // Whether the selection needs to be redrawn\n      updateMaxLine: false,    // Set when the widest line needs to be determined anew\n      scrollLeft: null, scrollTop: null, // Intermediate scroll position, not pushed to DOM yet\n      scrollToPos: null,       // Used to scroll to a specific position\n      focus: false,\n      id: ++nextOpId,          // Unique ID\n      markArrays: null         // Used by addMarkedSpan\n    };\n    pushOperation(cm.curOp);\n  }\n\n  // Finish an operation, updating the display and signalling delayed events\n  function endOperation(cm) {\n    var op = cm.curOp;\n    if (op) { finishOperation(op, function (group) {\n      for (var i = 0; i < group.ops.length; i++)\n        { group.ops[i].cm.curOp = null; }\n      endOperations(group);\n    }); }\n  }\n\n  // The DOM updates done when an operation finishes are batched so\n  // that the minimum number of relayouts are required.\n  function endOperations(group) {\n    var ops = group.ops;\n    for (var i = 0; i < ops.length; i++) // Read DOM\n      { endOperation_R1(ops[i]); }\n    for (var i$1 = 0; i$1 < ops.length; i$1++) // Write DOM (maybe)\n      { endOperation_W1(ops[i$1]); }\n    for (var i$2 = 0; i$2 < ops.length; i$2++) // Read DOM\n      { endOperation_R2(ops[i$2]); }\n    for (var i$3 = 0; i$3 < ops.length; i$3++) // Write DOM (maybe)\n      { endOperation_W2(ops[i$3]); }\n    for (var i$4 = 0; i$4 < ops.length; i$4++) // Read DOM\n      { endOperation_finish(ops[i$4]); }\n  }\n\n  function endOperation_R1(op) {\n    var cm = op.cm, display = cm.display;\n    maybeClipScrollbars(cm);\n    if (op.updateMaxLine) { findMaxLine(cm); }\n\n    op.mustUpdate = op.viewChanged || op.forceUpdate || op.scrollTop != null ||\n      op.scrollToPos && (op.scrollToPos.from.line < display.viewFrom ||\n                         op.scrollToPos.to.line >= display.viewTo) ||\n      display.maxLineChanged && cm.options.lineWrapping;\n    op.update = op.mustUpdate &&\n      new DisplayUpdate(cm, op.mustUpdate && {top: op.scrollTop, ensure: op.scrollToPos}, op.forceUpdate);\n  }\n\n  function endOperation_W1(op) {\n    op.updatedDisplay = op.mustUpdate && updateDisplayIfNeeded(op.cm, op.update);\n  }\n\n  function endOperation_R2(op) {\n    var cm = op.cm, display = cm.display;\n    if (op.updatedDisplay) { updateHeightsInViewport(cm); }\n\n    op.barMeasure = measureForScrollbars(cm);\n\n    // If the max line changed since it was last measured, measure it,\n    // and ensure the document's width matches it.\n    // updateDisplay_W2 will use these properties to do the actual resizing\n    if (display.maxLineChanged && !cm.options.lineWrapping) {\n      op.adjustWidthTo = measureChar(cm, display.maxLine, display.maxLine.text.length).left + 3;\n      cm.display.sizerWidth = op.adjustWidthTo;\n      op.barMeasure.scrollWidth =\n        Math.max(display.scroller.clientWidth, display.sizer.offsetLeft + op.adjustWidthTo + scrollGap(cm) + cm.display.barWidth);\n      op.maxScrollLeft = Math.max(0, display.sizer.offsetLeft + op.adjustWidthTo - displayWidth(cm));\n    }\n\n    if (op.updatedDisplay || op.selectionChanged)\n      { op.preparedSelection = display.input.prepareSelection(); }\n  }\n\n  function endOperation_W2(op) {\n    var cm = op.cm;\n\n    if (op.adjustWidthTo != null) {\n      cm.display.sizer.style.minWidth = op.adjustWidthTo + \"px\";\n      if (op.maxScrollLeft < cm.doc.scrollLeft)\n        { setScrollLeft(cm, Math.min(cm.display.scroller.scrollLeft, op.maxScrollLeft), true); }\n      cm.display.maxLineChanged = false;\n    }\n\n    var takeFocus = op.focus && op.focus == activeElt();\n    if (op.preparedSelection)\n      { cm.display.input.showSelection(op.preparedSelection, takeFocus); }\n    if (op.updatedDisplay || op.startHeight != cm.doc.height)\n      { updateScrollbars(cm, op.barMeasure); }\n    if (op.updatedDisplay)\n      { setDocumentHeight(cm, op.barMeasure); }\n\n    if (op.selectionChanged) { restartBlink(cm); }\n\n    if (cm.state.focused && op.updateInput)\n      { cm.display.input.reset(op.typing); }\n    if (takeFocus) { ensureFocus(op.cm); }\n  }\n\n  function endOperation_finish(op) {\n    var cm = op.cm, display = cm.display, doc = cm.doc;\n\n    if (op.updatedDisplay) { postUpdateDisplay(cm, op.update); }\n\n    // Abort mouse wheel delta measurement, when scrolling explicitly\n    if (display.wheelStartX != null && (op.scrollTop != null || op.scrollLeft != null || op.scrollToPos))\n      { display.wheelStartX = display.wheelStartY = null; }\n\n    // Propagate the scroll position to the actual DOM scroller\n    if (op.scrollTop != null) { setScrollTop(cm, op.scrollTop, op.forceScroll); }\n\n    if (op.scrollLeft != null) { setScrollLeft(cm, op.scrollLeft, true, true); }\n    // If we need to scroll a specific position into view, do so.\n    if (op.scrollToPos) {\n      var rect = scrollPosIntoView(cm, clipPos(doc, op.scrollToPos.from),\n                                   clipPos(doc, op.scrollToPos.to), op.scrollToPos.margin);\n      maybeScrollWindow(cm, rect);\n    }\n\n    // Fire events for markers that are hidden/unidden by editing or\n    // undoing\n    var hidden = op.maybeHiddenMarkers, unhidden = op.maybeUnhiddenMarkers;\n    if (hidden) { for (var i = 0; i < hidden.length; ++i)\n      { if (!hidden[i].lines.length) { signal(hidden[i], \"hide\"); } } }\n    if (unhidden) { for (var i$1 = 0; i$1 < unhidden.length; ++i$1)\n      { if (unhidden[i$1].lines.length) { signal(unhidden[i$1], \"unhide\"); } } }\n\n    if (display.wrapper.offsetHeight)\n      { doc.scrollTop = cm.display.scroller.scrollTop; }\n\n    // Fire change events, and delayed event handlers\n    if (op.changeObjs)\n      { signal(cm, \"changes\", cm, op.changeObjs); }\n    if (op.update)\n      { op.update.finish(); }\n  }\n\n  // Run the given function in an operation\n  function runInOp(cm, f) {\n    if (cm.curOp) { return f() }\n    startOperation(cm);\n    try { return f() }\n    finally { endOperation(cm); }\n  }\n  // Wraps a function in an operation. Returns the wrapped function.\n  function operation(cm, f) {\n    return function() {\n      if (cm.curOp) { return f.apply(cm, arguments) }\n      startOperation(cm);\n      try { return f.apply(cm, arguments) }\n      finally { endOperation(cm); }\n    }\n  }\n  // Used to add methods to editor and doc instances, wrapping them in\n  // operations.\n  function methodOp(f) {\n    return function() {\n      if (this.curOp) { return f.apply(this, arguments) }\n      startOperation(this);\n      try { return f.apply(this, arguments) }\n      finally { endOperation(this); }\n    }\n  }\n  function docMethodOp(f) {\n    return function() {\n      var cm = this.cm;\n      if (!cm || cm.curOp) { return f.apply(this, arguments) }\n      startOperation(cm);\n      try { return f.apply(this, arguments) }\n      finally { endOperation(cm); }\n    }\n  }\n\n  // HIGHLIGHT WORKER\n\n  function startWorker(cm, time) {\n    if (cm.doc.highlightFrontier < cm.display.viewTo)\n      { cm.state.highlight.set(time, bind(highlightWorker, cm)); }\n  }\n\n  function highlightWorker(cm) {\n    var doc = cm.doc;\n    if (doc.highlightFrontier >= cm.display.viewTo) { return }\n    var end = +new Date + cm.options.workTime;\n    var context = getContextBefore(cm, doc.highlightFrontier);\n    var changedLines = [];\n\n    doc.iter(context.line, Math.min(doc.first + doc.size, cm.display.viewTo + 500), function (line) {\n      if (context.line >= cm.display.viewFrom) { // Visible\n        var oldStyles = line.styles;\n        var resetState = line.text.length > cm.options.maxHighlightLength ? copyState(doc.mode, context.state) : null;\n        var highlighted = highlightLine(cm, line, context, true);\n        if (resetState) { context.state = resetState; }\n        line.styles = highlighted.styles;\n        var oldCls = line.styleClasses, newCls = highlighted.classes;\n        if (newCls) { line.styleClasses = newCls; }\n        else if (oldCls) { line.styleClasses = null; }\n        var ischange = !oldStyles || oldStyles.length != line.styles.length ||\n          oldCls != newCls && (!oldCls || !newCls || oldCls.bgClass != newCls.bgClass || oldCls.textClass != newCls.textClass);\n        for (var i = 0; !ischange && i < oldStyles.length; ++i) { ischange = oldStyles[i] != line.styles[i]; }\n        if (ischange) { changedLines.push(context.line); }\n        line.stateAfter = context.save();\n        context.nextLine();\n      } else {\n        if (line.text.length <= cm.options.maxHighlightLength)\n          { processLine(cm, line.text, context); }\n        line.stateAfter = context.line % 5 == 0 ? context.save() : null;\n        context.nextLine();\n      }\n      if (+new Date > end) {\n        startWorker(cm, cm.options.workDelay);\n        return true\n      }\n    });\n    doc.highlightFrontier = context.line;\n    doc.modeFrontier = Math.max(doc.modeFrontier, context.line);\n    if (changedLines.length) { runInOp(cm, function () {\n      for (var i = 0; i < changedLines.length; i++)\n        { regLineChange(cm, changedLines[i], \"text\"); }\n    }); }\n  }\n\n  // DISPLAY DRAWING\n\n  var DisplayUpdate = function(cm, viewport, force) {\n    var display = cm.display;\n\n    this.viewport = viewport;\n    // Store some values that we'll need later (but don't want to force a relayout for)\n    this.visible = visibleLines(display, cm.doc, viewport);\n    this.editorIsHidden = !display.wrapper.offsetWidth;\n    this.wrapperHeight = display.wrapper.clientHeight;\n    this.wrapperWidth = display.wrapper.clientWidth;\n    this.oldDisplayWidth = displayWidth(cm);\n    this.force = force;\n    this.dims = getDimensions(cm);\n    this.events = [];\n  };\n\n  DisplayUpdate.prototype.signal = function (emitter, type) {\n    if (hasHandler(emitter, type))\n      { this.events.push(arguments); }\n  };\n  DisplayUpdate.prototype.finish = function () {\n    for (var i = 0; i < this.events.length; i++)\n      { signal.apply(null, this.events[i]); }\n  };\n\n  function maybeClipScrollbars(cm) {\n    var display = cm.display;\n    if (!display.scrollbarsClipped && display.scroller.offsetWidth) {\n      display.nativeBarWidth = display.scroller.offsetWidth - display.scroller.clientWidth;\n      display.heightForcer.style.height = scrollGap(cm) + \"px\";\n      display.sizer.style.marginBottom = -display.nativeBarWidth + \"px\";\n      display.sizer.style.borderRightWidth = scrollGap(cm) + \"px\";\n      display.scrollbarsClipped = true;\n    }\n  }\n\n  function selectionSnapshot(cm) {\n    if (cm.hasFocus()) { return null }\n    var active = activeElt();\n    if (!active || !contains(cm.display.lineDiv, active)) { return null }\n    var result = {activeElt: active};\n    if (window.getSelection) {\n      var sel = window.getSelection();\n      if (sel.anchorNode && sel.extend && contains(cm.display.lineDiv, sel.anchorNode)) {\n        result.anchorNode = sel.anchorNode;\n        result.anchorOffset = sel.anchorOffset;\n        result.focusNode = sel.focusNode;\n        result.focusOffset = sel.focusOffset;\n      }\n    }\n    return result\n  }\n\n  function restoreSelection(snapshot) {\n    if (!snapshot || !snapshot.activeElt || snapshot.activeElt == activeElt()) { return }\n    snapshot.activeElt.focus();\n    if (!/^(INPUT|TEXTAREA)$/.test(snapshot.activeElt.nodeName) &&\n        snapshot.anchorNode && contains(document.body, snapshot.anchorNode) && contains(document.body, snapshot.focusNode)) {\n      var sel = window.getSelection(), range = document.createRange();\n      range.setEnd(snapshot.anchorNode, snapshot.anchorOffset);\n      range.collapse(false);\n      sel.removeAllRanges();\n      sel.addRange(range);\n      sel.extend(snapshot.focusNode, snapshot.focusOffset);\n    }\n  }\n\n  // Does the actual updating of the line display. Bails out\n  // (returning false) when there is nothing to be done and forced is\n  // false.\n  function updateDisplayIfNeeded(cm, update) {\n    var display = cm.display, doc = cm.doc;\n\n    if (update.editorIsHidden) {\n      resetView(cm);\n      return false\n    }\n\n    // Bail out if the visible area is already rendered and nothing changed.\n    if (!update.force &&\n        update.visible.from >= display.viewFrom && update.visible.to <= display.viewTo &&\n        (display.updateLineNumbers == null || display.updateLineNumbers >= display.viewTo) &&\n        display.renderedView == display.view && countDirtyView(cm) == 0)\n      { return false }\n\n    if (maybeUpdateLineNumberWidth(cm)) {\n      resetView(cm);\n      update.dims = getDimensions(cm);\n    }\n\n    // Compute a suitable new viewport (from & to)\n    var end = doc.first + doc.size;\n    var from = Math.max(update.visible.from - cm.options.viewportMargin, doc.first);\n    var to = Math.min(end, update.visible.to + cm.options.viewportMargin);\n    if (display.viewFrom < from && from - display.viewFrom < 20) { from = Math.max(doc.first, display.viewFrom); }\n    if (display.viewTo > to && display.viewTo - to < 20) { to = Math.min(end, display.viewTo); }\n    if (sawCollapsedSpans) {\n      from = visualLineNo(cm.doc, from);\n      to = visualLineEndNo(cm.doc, to);\n    }\n\n    var different = from != display.viewFrom || to != display.viewTo ||\n      display.lastWrapHeight != update.wrapperHeight || display.lastWrapWidth != update.wrapperWidth;\n    adjustView(cm, from, to);\n\n    display.viewOffset = heightAtLine(getLine(cm.doc, display.viewFrom));\n    // Position the mover div to align with the current scroll position\n    cm.display.mover.style.top = display.viewOffset + \"px\";\n\n    var toUpdate = countDirtyView(cm);\n    if (!different && toUpdate == 0 && !update.force && display.renderedView == display.view &&\n        (display.updateLineNumbers == null || display.updateLineNumbers >= display.viewTo))\n      { return false }\n\n    // For big changes, we hide the enclosing element during the\n    // update, since that speeds up the operations on most browsers.\n    var selSnapshot = selectionSnapshot(cm);\n    if (toUpdate > 4) { display.lineDiv.style.display = \"none\"; }\n    patchDisplay(cm, display.updateLineNumbers, update.dims);\n    if (toUpdate > 4) { display.lineDiv.style.display = \"\"; }\n    display.renderedView = display.view;\n    // There might have been a widget with a focused element that got\n    // hidden or updated, if so re-focus it.\n    restoreSelection(selSnapshot);\n\n    // Prevent selection and cursors from interfering with the scroll\n    // width and height.\n    removeChildren(display.cursorDiv);\n    removeChildren(display.selectionDiv);\n    display.gutters.style.height = display.sizer.style.minHeight = 0;\n\n    if (different) {\n      display.lastWrapHeight = update.wrapperHeight;\n      display.lastWrapWidth = update.wrapperWidth;\n      startWorker(cm, 400);\n    }\n\n    display.updateLineNumbers = null;\n\n    return true\n  }\n\n  function postUpdateDisplay(cm, update) {\n    var viewport = update.viewport;\n\n    for (var first = true;; first = false) {\n      if (!first || !cm.options.lineWrapping || update.oldDisplayWidth == displayWidth(cm)) {\n        // Clip forced viewport to actual scrollable area.\n        if (viewport && viewport.top != null)\n          { viewport = {top: Math.min(cm.doc.height + paddingVert(cm.display) - displayHeight(cm), viewport.top)}; }\n        // Updated line heights might result in the drawn area not\n        // actually covering the viewport. Keep looping until it does.\n        update.visible = visibleLines(cm.display, cm.doc, viewport);\n        if (update.visible.from >= cm.display.viewFrom && update.visible.to <= cm.display.viewTo)\n          { break }\n      } else if (first) {\n        update.visible = visibleLines(cm.display, cm.doc, viewport);\n      }\n      if (!updateDisplayIfNeeded(cm, update)) { break }\n      updateHeightsInViewport(cm);\n      var barMeasure = measureForScrollbars(cm);\n      updateSelection(cm);\n      updateScrollbars(cm, barMeasure);\n      setDocumentHeight(cm, barMeasure);\n      update.force = false;\n    }\n\n    update.signal(cm, \"update\", cm);\n    if (cm.display.viewFrom != cm.display.reportedViewFrom || cm.display.viewTo != cm.display.reportedViewTo) {\n      update.signal(cm, \"viewportChange\", cm, cm.display.viewFrom, cm.display.viewTo);\n      cm.display.reportedViewFrom = cm.display.viewFrom; cm.display.reportedViewTo = cm.display.viewTo;\n    }\n  }\n\n  function updateDisplaySimple(cm, viewport) {\n    var update = new DisplayUpdate(cm, viewport);\n    if (updateDisplayIfNeeded(cm, update)) {\n      updateHeightsInViewport(cm);\n      postUpdateDisplay(cm, update);\n      var barMeasure = measureForScrollbars(cm);\n      updateSelection(cm);\n      updateScrollbars(cm, barMeasure);\n      setDocumentHeight(cm, barMeasure);\n      update.finish();\n    }\n  }\n\n  // Sync the actual display DOM structure with display.view, removing\n  // nodes for lines that are no longer in view, and creating the ones\n  // that are not there yet, and updating the ones that are out of\n  // date.\n  function patchDisplay(cm, updateNumbersFrom, dims) {\n    var display = cm.display, lineNumbers = cm.options.lineNumbers;\n    var container = display.lineDiv, cur = container.firstChild;\n\n    function rm(node) {\n      var next = node.nextSibling;\n      // Works around a throw-scroll bug in OS X Webkit\n      if (webkit && mac && cm.display.currentWheelTarget == node)\n        { node.style.display = \"none\"; }\n      else\n        { node.parentNode.removeChild(node); }\n      return next\n    }\n\n    var view = display.view, lineN = display.viewFrom;\n    // Loop over the elements in the view, syncing cur (the DOM nodes\n    // in display.lineDiv) with the view as we go.\n    for (var i = 0; i < view.length; i++) {\n      var lineView = view[i];\n      if (lineView.hidden) ; else if (!lineView.node || lineView.node.parentNode != container) { // Not drawn yet\n        var node = buildLineElement(cm, lineView, lineN, dims);\n        container.insertBefore(node, cur);\n      } else { // Already drawn\n        while (cur != lineView.node) { cur = rm(cur); }\n        var updateNumber = lineNumbers && updateNumbersFrom != null &&\n          updateNumbersFrom <= lineN && lineView.lineNumber;\n        if (lineView.changes) {\n          if (indexOf(lineView.changes, \"gutter\") > -1) { updateNumber = false; }\n          updateLineForChanges(cm, lineView, lineN, dims);\n        }\n        if (updateNumber) {\n          removeChildren(lineView.lineNumber);\n          lineView.lineNumber.appendChild(document.createTextNode(lineNumberFor(cm.options, lineN)));\n        }\n        cur = lineView.node.nextSibling;\n      }\n      lineN += lineView.size;\n    }\n    while (cur) { cur = rm(cur); }\n  }\n\n  function updateGutterSpace(display) {\n    var width = display.gutters.offsetWidth;\n    display.sizer.style.marginLeft = width + \"px\";\n    // Send an event to consumers responding to changes in gutter width.\n    signalLater(display, \"gutterChanged\", display);\n  }\n\n  function setDocumentHeight(cm, measure) {\n    cm.display.sizer.style.minHeight = measure.docHeight + \"px\";\n    cm.display.heightForcer.style.top = measure.docHeight + \"px\";\n    cm.display.gutters.style.height = (measure.docHeight + cm.display.barHeight + scrollGap(cm)) + \"px\";\n  }\n\n  // Re-align line numbers and gutter marks to compensate for\n  // horizontal scrolling.\n  function alignHorizontally(cm) {\n    var display = cm.display, view = display.view;\n    if (!display.alignWidgets && (!display.gutters.firstChild || !cm.options.fixedGutter)) { return }\n    var comp = compensateForHScroll(display) - display.scroller.scrollLeft + cm.doc.scrollLeft;\n    var gutterW = display.gutters.offsetWidth, left = comp + \"px\";\n    for (var i = 0; i < view.length; i++) { if (!view[i].hidden) {\n      if (cm.options.fixedGutter) {\n        if (view[i].gutter)\n          { view[i].gutter.style.left = left; }\n        if (view[i].gutterBackground)\n          { view[i].gutterBackground.style.left = left; }\n      }\n      var align = view[i].alignable;\n      if (align) { for (var j = 0; j < align.length; j++)\n        { align[j].style.left = left; } }\n    } }\n    if (cm.options.fixedGutter)\n      { display.gutters.style.left = (comp + gutterW) + \"px\"; }\n  }\n\n  // Used to ensure that the line number gutter is still the right\n  // size for the current document size. Returns true when an update\n  // is needed.\n  function maybeUpdateLineNumberWidth(cm) {\n    if (!cm.options.lineNumbers) { return false }\n    var doc = cm.doc, last = lineNumberFor(cm.options, doc.first + doc.size - 1), display = cm.display;\n    if (last.length != display.lineNumChars) {\n      var test = display.measure.appendChild(elt(\"div\", [elt(\"div\", last)],\n                                                 \"CodeMirror-linenumber CodeMirror-gutter-elt\"));\n      var innerW = test.firstChild.offsetWidth, padding = test.offsetWidth - innerW;\n      display.lineGutter.style.width = \"\";\n      display.lineNumInnerWidth = Math.max(innerW, display.lineGutter.offsetWidth - padding) + 1;\n      display.lineNumWidth = display.lineNumInnerWidth + padding;\n      display.lineNumChars = display.lineNumInnerWidth ? last.length : -1;\n      display.lineGutter.style.width = display.lineNumWidth + \"px\";\n      updateGutterSpace(cm.display);\n      return true\n    }\n    return false\n  }\n\n  function getGutters(gutters, lineNumbers) {\n    var result = [], sawLineNumbers = false;\n    for (var i = 0; i < gutters.length; i++) {\n      var name = gutters[i], style = null;\n      if (typeof name != \"string\") { style = name.style; name = name.className; }\n      if (name == \"CodeMirror-linenumbers\") {\n        if (!lineNumbers) { continue }\n        else { sawLineNumbers = true; }\n      }\n      result.push({className: name, style: style});\n    }\n    if (lineNumbers && !sawLineNumbers) { result.push({className: \"CodeMirror-linenumbers\", style: null}); }\n    return result\n  }\n\n  // Rebuild the gutter elements, ensure the margin to the left of the\n  // code matches their width.\n  function renderGutters(display) {\n    var gutters = display.gutters, specs = display.gutterSpecs;\n    removeChildren(gutters);\n    display.lineGutter = null;\n    for (var i = 0; i < specs.length; ++i) {\n      var ref = specs[i];\n      var className = ref.className;\n      var style = ref.style;\n      var gElt = gutters.appendChild(elt(\"div\", null, \"CodeMirror-gutter \" + className));\n      if (style) { gElt.style.cssText = style; }\n      if (className == \"CodeMirror-linenumbers\") {\n        display.lineGutter = gElt;\n        gElt.style.width = (display.lineNumWidth || 1) + \"px\";\n      }\n    }\n    gutters.style.display = specs.length ? \"\" : \"none\";\n    updateGutterSpace(display);\n  }\n\n  function updateGutters(cm) {\n    renderGutters(cm.display);\n    regChange(cm);\n    alignHorizontally(cm);\n  }\n\n  // The display handles the DOM integration, both for input reading\n  // and content drawing. It holds references to DOM nodes and\n  // display-related state.\n\n  function Display(place, doc, input, options) {\n    var d = this;\n    this.input = input;\n\n    // Covers bottom-right square when both scrollbars are present.\n    d.scrollbarFiller = elt(\"div\", null, \"CodeMirror-scrollbar-filler\");\n    d.scrollbarFiller.setAttribute(\"cm-not-content\", \"true\");\n    // Covers bottom of gutter when coverGutterNextToScrollbar is on\n    // and h scrollbar is present.\n    d.gutterFiller = elt(\"div\", null, \"CodeMirror-gutter-filler\");\n    d.gutterFiller.setAttribute(\"cm-not-content\", \"true\");\n    // Will contain the actual code, positioned to cover the viewport.\n    d.lineDiv = eltP(\"div\", null, \"CodeMirror-code\");\n    // Elements are added to these to represent selection and cursors.\n    d.selectionDiv = elt(\"div\", null, null, \"position: relative; z-index: 1\");\n    d.cursorDiv = elt(\"div\", null, \"CodeMirror-cursors\");\n    // A visibility: hidden element used to find the size of things.\n    d.measure = elt(\"div\", null, \"CodeMirror-measure\");\n    // When lines outside of the viewport are measured, they are drawn in this.\n    d.lineMeasure = elt(\"div\", null, \"CodeMirror-measure\");\n    // Wraps everything that needs to exist inside the vertically-padded coordinate system\n    d.lineSpace = eltP(\"div\", [d.measure, d.lineMeasure, d.selectionDiv, d.cursorDiv, d.lineDiv],\n                      null, \"position: relative; outline: none\");\n    var lines = eltP(\"div\", [d.lineSpace], \"CodeMirror-lines\");\n    // Moved around its parent to cover visible view.\n    d.mover = elt(\"div\", [lines], null, \"position: relative\");\n    // Set to the height of the document, allowing scrolling.\n    d.sizer = elt(\"div\", [d.mover], \"CodeMirror-sizer\");\n    d.sizerWidth = null;\n    // Behavior of elts with overflow: auto and padding is\n    // inconsistent across browsers. This is used to ensure the\n    // scrollable area is big enough.\n    d.heightForcer = elt(\"div\", null, null, \"position: absolute; height: \" + scrollerGap + \"px; width: 1px;\");\n    // Will contain the gutters, if any.\n    d.gutters = elt(\"div\", null, \"CodeMirror-gutters\");\n    d.lineGutter = null;\n    // Actual scrollable element.\n    d.scroller = elt(\"div\", [d.sizer, d.heightForcer, d.gutters], \"CodeMirror-scroll\");\n    d.scroller.setAttribute(\"tabIndex\", \"-1\");\n    // The element in which the editor lives.\n    d.wrapper = elt(\"div\", [d.scrollbarFiller, d.gutterFiller, d.scroller], \"CodeMirror\");\n\n    // This attribute is respected by automatic translation systems such as Google Translate,\n    // and may also be respected by tools used by human translators.\n    d.wrapper.setAttribute('translate', 'no');\n\n    // Work around IE7 z-index bug (not perfect, hence IE7 not really being supported)\n    if (ie && ie_version < 8) { d.gutters.style.zIndex = -1; d.scroller.style.paddingRight = 0; }\n    if (!webkit && !(gecko && mobile)) { d.scroller.draggable = true; }\n\n    if (place) {\n      if (place.appendChild) { place.appendChild(d.wrapper); }\n      else { place(d.wrapper); }\n    }\n\n    // Current rendered range (may be bigger than the view window).\n    d.viewFrom = d.viewTo = doc.first;\n    d.reportedViewFrom = d.reportedViewTo = doc.first;\n    // Information about the rendered lines.\n    d.view = [];\n    d.renderedView = null;\n    // Holds info about a single rendered line when it was rendered\n    // for measurement, while not in view.\n    d.externalMeasured = null;\n    // Empty space (in pixels) above the view\n    d.viewOffset = 0;\n    d.lastWrapHeight = d.lastWrapWidth = 0;\n    d.updateLineNumbers = null;\n\n    d.nativeBarWidth = d.barHeight = d.barWidth = 0;\n    d.scrollbarsClipped = false;\n\n    // Used to only resize the line number gutter when necessary (when\n    // the amount of lines crosses a boundary that makes its width change)\n    d.lineNumWidth = d.lineNumInnerWidth = d.lineNumChars = null;\n    // Set to true when a non-horizontal-scrolling line widget is\n    // added. As an optimization, line widget aligning is skipped when\n    // this is false.\n    d.alignWidgets = false;\n\n    d.cachedCharWidth = d.cachedTextHeight = d.cachedPaddingH = null;\n\n    // Tracks the maximum line length so that the horizontal scrollbar\n    // can be kept static when scrolling.\n    d.maxLine = null;\n    d.maxLineLength = 0;\n    d.maxLineChanged = false;\n\n    // Used for measuring wheel scrolling granularity\n    d.wheelDX = d.wheelDY = d.wheelStartX = d.wheelStartY = null;\n\n    // True when shift is held down.\n    d.shift = false;\n\n    // Used to track whether anything happened since the context menu\n    // was opened.\n    d.selForContextMenu = null;\n\n    d.activeTouch = null;\n\n    d.gutterSpecs = getGutters(options.gutters, options.lineNumbers);\n    renderGutters(d);\n\n    input.init(d);\n  }\n\n  // Since the delta values reported on mouse wheel events are\n  // unstandardized between browsers and even browser versions, and\n  // generally horribly unpredictable, this code starts by measuring\n  // the scroll effect that the first few mouse wheel events have,\n  // and, from that, detects the way it can convert deltas to pixel\n  // offsets afterwards.\n  //\n  // The reason we want to know the amount a wheel event will scroll\n  // is that it gives us a chance to update the display before the\n  // actual scrolling happens, reducing flickering.\n\n  var wheelSamples = 0, wheelPixelsPerUnit = null;\n  // Fill in a browser-detected starting value on browsers where we\n  // know one. These don't have to be accurate -- the result of them\n  // being wrong would just be a slight flicker on the first wheel\n  // scroll (if it is large enough).\n  if (ie) { wheelPixelsPerUnit = -.53; }\n  else if (gecko) { wheelPixelsPerUnit = 15; }\n  else if (chrome) { wheelPixelsPerUnit = -.7; }\n  else if (safari) { wheelPixelsPerUnit = -1/3; }\n\n  function wheelEventDelta(e) {\n    var dx = e.wheelDeltaX, dy = e.wheelDeltaY;\n    if (dx == null && e.detail && e.axis == e.HORIZONTAL_AXIS) { dx = e.detail; }\n    if (dy == null && e.detail && e.axis == e.VERTICAL_AXIS) { dy = e.detail; }\n    else if (dy == null) { dy = e.wheelDelta; }\n    return {x: dx, y: dy}\n  }\n  function wheelEventPixels(e) {\n    var delta = wheelEventDelta(e);\n    delta.x *= wheelPixelsPerUnit;\n    delta.y *= wheelPixelsPerUnit;\n    return delta\n  }\n\n  function onScrollWheel(cm, e) {\n    var delta = wheelEventDelta(e), dx = delta.x, dy = delta.y;\n    var pixelsPerUnit = wheelPixelsPerUnit;\n    if (e.deltaMode === 0) {\n      dx = e.deltaX;\n      dy = e.deltaY;\n      pixelsPerUnit = 1;\n    }\n\n    var display = cm.display, scroll = display.scroller;\n    // Quit if there's nothing to scroll here\n    var canScrollX = scroll.scrollWidth > scroll.clientWidth;\n    var canScrollY = scroll.scrollHeight > scroll.clientHeight;\n    if (!(dx && canScrollX || dy && canScrollY)) { return }\n\n    // Webkit browsers on OS X abort momentum scrolls when the target\n    // of the scroll event is removed from the scrollable element.\n    // This hack (see related code in patchDisplay) makes sure the\n    // element is kept around.\n    if (dy && mac && webkit) {\n      outer: for (var cur = e.target, view = display.view; cur != scroll; cur = cur.parentNode) {\n        for (var i = 0; i < view.length; i++) {\n          if (view[i].node == cur) {\n            cm.display.currentWheelTarget = cur;\n            break outer\n          }\n        }\n      }\n    }\n\n    // On some browsers, horizontal scrolling will cause redraws to\n    // happen before the gutter has been realigned, causing it to\n    // wriggle around in a most unseemly way. When we have an\n    // estimated pixels/delta value, we just handle horizontal\n    // scrolling entirely here. It'll be slightly off from native, but\n    // better than glitching out.\n    if (dx && !gecko && !presto && pixelsPerUnit != null) {\n      if (dy && canScrollY)\n        { updateScrollTop(cm, Math.max(0, scroll.scrollTop + dy * pixelsPerUnit)); }\n      setScrollLeft(cm, Math.max(0, scroll.scrollLeft + dx * pixelsPerUnit));\n      // Only prevent default scrolling if vertical scrolling is\n      // actually possible. Otherwise, it causes vertical scroll\n      // jitter on OSX trackpads when deltaX is small and deltaY\n      // is large (issue #3579)\n      if (!dy || (dy && canScrollY))\n        { e_preventDefault(e); }\n      display.wheelStartX = null; // Abort measurement, if in progress\n      return\n    }\n\n    // 'Project' the visible viewport to cover the area that is being\n    // scrolled into view (if we know enough to estimate it).\n    if (dy && pixelsPerUnit != null) {\n      var pixels = dy * pixelsPerUnit;\n      var top = cm.doc.scrollTop, bot = top + display.wrapper.clientHeight;\n      if (pixels < 0) { top = Math.max(0, top + pixels - 50); }\n      else { bot = Math.min(cm.doc.height, bot + pixels + 50); }\n      updateDisplaySimple(cm, {top: top, bottom: bot});\n    }\n\n    if (wheelSamples < 20 && e.deltaMode !== 0) {\n      if (display.wheelStartX == null) {\n        display.wheelStartX = scroll.scrollLeft; display.wheelStartY = scroll.scrollTop;\n        display.wheelDX = dx; display.wheelDY = dy;\n        setTimeout(function () {\n          if (display.wheelStartX == null) { return }\n          var movedX = scroll.scrollLeft - display.wheelStartX;\n          var movedY = scroll.scrollTop - display.wheelStartY;\n          var sample = (movedY && display.wheelDY && movedY / display.wheelDY) ||\n            (movedX && display.wheelDX && movedX / display.wheelDX);\n          display.wheelStartX = display.wheelStartY = null;\n          if (!sample) { return }\n          wheelPixelsPerUnit = (wheelPixelsPerUnit * wheelSamples + sample) / (wheelSamples + 1);\n          ++wheelSamples;\n        }, 200);\n      } else {\n        display.wheelDX += dx; display.wheelDY += dy;\n      }\n    }\n  }\n\n  // Selection objects are immutable. A new one is created every time\n  // the selection changes. A selection is one or more non-overlapping\n  // (and non-touching) ranges, sorted, and an integer that indicates\n  // which one is the primary selection (the one that's scrolled into\n  // view, that getCursor returns, etc).\n  var Selection = function(ranges, primIndex) {\n    this.ranges = ranges;\n    this.primIndex = primIndex;\n  };\n\n  Selection.prototype.primary = function () { return this.ranges[this.primIndex] };\n\n  Selection.prototype.equals = function (other) {\n    if (other == this) { return true }\n    if (other.primIndex != this.primIndex || other.ranges.length != this.ranges.length) { return false }\n    for (var i = 0; i < this.ranges.length; i++) {\n      var here = this.ranges[i], there = other.ranges[i];\n      if (!equalCursorPos(here.anchor, there.anchor) || !equalCursorPos(here.head, there.head)) { return false }\n    }\n    return true\n  };\n\n  Selection.prototype.deepCopy = function () {\n    var out = [];\n    for (var i = 0; i < this.ranges.length; i++)\n      { out[i] = new Range(copyPos(this.ranges[i].anchor), copyPos(this.ranges[i].head)); }\n    return new Selection(out, this.primIndex)\n  };\n\n  Selection.prototype.somethingSelected = function () {\n    for (var i = 0; i < this.ranges.length; i++)\n      { if (!this.ranges[i].empty()) { return true } }\n    return false\n  };\n\n  Selection.prototype.contains = function (pos, end) {\n    if (!end) { end = pos; }\n    for (var i = 0; i < this.ranges.length; i++) {\n      var range = this.ranges[i];\n      if (cmp(end, range.from()) >= 0 && cmp(pos, range.to()) <= 0)\n        { return i }\n    }\n    return -1\n  };\n\n  var Range = function(anchor, head) {\n    this.anchor = anchor; this.head = head;\n  };\n\n  Range.prototype.from = function () { return minPos(this.anchor, this.head) };\n  Range.prototype.to = function () { return maxPos(this.anchor, this.head) };\n  Range.prototype.empty = function () { return this.head.line == this.anchor.line && this.head.ch == this.anchor.ch };\n\n  // Take an unsorted, potentially overlapping set of ranges, and\n  // build a selection out of it. 'Consumes' ranges array (modifying\n  // it).\n  function normalizeSelection(cm, ranges, primIndex) {\n    var mayTouch = cm && cm.options.selectionsMayTouch;\n    var prim = ranges[primIndex];\n    ranges.sort(function (a, b) { return cmp(a.from(), b.from()); });\n    primIndex = indexOf(ranges, prim);\n    for (var i = 1; i < ranges.length; i++) {\n      var cur = ranges[i], prev = ranges[i - 1];\n      var diff = cmp(prev.to(), cur.from());\n      if (mayTouch && !cur.empty() ? diff > 0 : diff >= 0) {\n        var from = minPos(prev.from(), cur.from()), to = maxPos(prev.to(), cur.to());\n        var inv = prev.empty() ? cur.from() == cur.head : prev.from() == prev.head;\n        if (i <= primIndex) { --primIndex; }\n        ranges.splice(--i, 2, new Range(inv ? to : from, inv ? from : to));\n      }\n    }\n    return new Selection(ranges, primIndex)\n  }\n\n  function simpleSelection(anchor, head) {\n    return new Selection([new Range(anchor, head || anchor)], 0)\n  }\n\n  // Compute the position of the end of a change (its 'to' property\n  // refers to the pre-change end).\n  function changeEnd(change) {\n    if (!change.text) { return change.to }\n    return Pos(change.from.line + change.text.length - 1,\n               lst(change.text).length + (change.text.length == 1 ? change.from.ch : 0))\n  }\n\n  // Adjust a position to refer to the post-change position of the\n  // same text, or the end of the change if the change covers it.\n  function adjustForChange(pos, change) {\n    if (cmp(pos, change.from) < 0) { return pos }\n    if (cmp(pos, change.to) <= 0) { return changeEnd(change) }\n\n    var line = pos.line + change.text.length - (change.to.line - change.from.line) - 1, ch = pos.ch;\n    if (pos.line == change.to.line) { ch += changeEnd(change).ch - change.to.ch; }\n    return Pos(line, ch)\n  }\n\n  function computeSelAfterChange(doc, change) {\n    var out = [];\n    for (var i = 0; i < doc.sel.ranges.length; i++) {\n      var range = doc.sel.ranges[i];\n      out.push(new Range(adjustForChange(range.anchor, change),\n                         adjustForChange(range.head, change)));\n    }\n    return normalizeSelection(doc.cm, out, doc.sel.primIndex)\n  }\n\n  function offsetPos(pos, old, nw) {\n    if (pos.line == old.line)\n      { return Pos(nw.line, pos.ch - old.ch + nw.ch) }\n    else\n      { return Pos(nw.line + (pos.line - old.line), pos.ch) }\n  }\n\n  // Used by replaceSelections to allow moving the selection to the\n  // start or around the replaced test. Hint may be \"start\" or \"around\".\n  function computeReplacedSel(doc, changes, hint) {\n    var out = [];\n    var oldPrev = Pos(doc.first, 0), newPrev = oldPrev;\n    for (var i = 0; i < changes.length; i++) {\n      var change = changes[i];\n      var from = offsetPos(change.from, oldPrev, newPrev);\n      var to = offsetPos(changeEnd(change), oldPrev, newPrev);\n      oldPrev = change.to;\n      newPrev = to;\n      if (hint == \"around\") {\n        var range = doc.sel.ranges[i], inv = cmp(range.head, range.anchor) < 0;\n        out[i] = new Range(inv ? to : from, inv ? from : to);\n      } else {\n        out[i] = new Range(from, from);\n      }\n    }\n    return new Selection(out, doc.sel.primIndex)\n  }\n\n  // Used to get the editor into a consistent state again when options change.\n\n  function loadMode(cm) {\n    cm.doc.mode = getMode(cm.options, cm.doc.modeOption);\n    resetModeState(cm);\n  }\n\n  function resetModeState(cm) {\n    cm.doc.iter(function (line) {\n      if (line.stateAfter) { line.stateAfter = null; }\n      if (line.styles) { line.styles = null; }\n    });\n    cm.doc.modeFrontier = cm.doc.highlightFrontier = cm.doc.first;\n    startWorker(cm, 100);\n    cm.state.modeGen++;\n    if (cm.curOp) { regChange(cm); }\n  }\n\n  // DOCUMENT DATA STRUCTURE\n\n  // By default, updates that start and end at the beginning of a line\n  // are treated specially, in order to make the association of line\n  // widgets and marker elements with the text behave more intuitive.\n  function isWholeLineUpdate(doc, change) {\n    return change.from.ch == 0 && change.to.ch == 0 && lst(change.text) == \"\" &&\n      (!doc.cm || doc.cm.options.wholeLineUpdateBefore)\n  }\n\n  // Perform a change on the document data structure.\n  function updateDoc(doc, change, markedSpans, estimateHeight) {\n    function spansFor(n) {return markedSpans ? markedSpans[n] : null}\n    function update(line, text, spans) {\n      updateLine(line, text, spans, estimateHeight);\n      signalLater(line, \"change\", line, change);\n    }\n    function linesFor(start, end) {\n      var result = [];\n      for (var i = start; i < end; ++i)\n        { result.push(new Line(text[i], spansFor(i), estimateHeight)); }\n      return result\n    }\n\n    var from = change.from, to = change.to, text = change.text;\n    var firstLine = getLine(doc, from.line), lastLine = getLine(doc, to.line);\n    var lastText = lst(text), lastSpans = spansFor(text.length - 1), nlines = to.line - from.line;\n\n    // Adjust the line structure\n    if (change.full) {\n      doc.insert(0, linesFor(0, text.length));\n      doc.remove(text.length, doc.size - text.length);\n    } else if (isWholeLineUpdate(doc, change)) {\n      // This is a whole-line replace. Treated specially to make\n      // sure line objects move the way they are supposed to.\n      var added = linesFor(0, text.length - 1);\n      update(lastLine, lastLine.text, lastSpans);\n      if (nlines) { doc.remove(from.line, nlines); }\n      if (added.length) { doc.insert(from.line, added); }\n    } else if (firstLine == lastLine) {\n      if (text.length == 1) {\n        update(firstLine, firstLine.text.slice(0, from.ch) + lastText + firstLine.text.slice(to.ch), lastSpans);\n      } else {\n        var added$1 = linesFor(1, text.length - 1);\n        added$1.push(new Line(lastText + firstLine.text.slice(to.ch), lastSpans, estimateHeight));\n        update(firstLine, firstLine.text.slice(0, from.ch) + text[0], spansFor(0));\n        doc.insert(from.line + 1, added$1);\n      }\n    } else if (text.length == 1) {\n      update(firstLine, firstLine.text.slice(0, from.ch) + text[0] + lastLine.text.slice(to.ch), spansFor(0));\n      doc.remove(from.line + 1, nlines);\n    } else {\n      update(firstLine, firstLine.text.slice(0, from.ch) + text[0], spansFor(0));\n      update(lastLine, lastText + lastLine.text.slice(to.ch), lastSpans);\n      var added$2 = linesFor(1, text.length - 1);\n      if (nlines > 1) { doc.remove(from.line + 1, nlines - 1); }\n      doc.insert(from.line + 1, added$2);\n    }\n\n    signalLater(doc, \"change\", doc, change);\n  }\n\n  // Call f for all linked documents.\n  function linkedDocs(doc, f, sharedHistOnly) {\n    function propagate(doc, skip, sharedHist) {\n      if (doc.linked) { for (var i = 0; i < doc.linked.length; ++i) {\n        var rel = doc.linked[i];\n        if (rel.doc == skip) { continue }\n        var shared = sharedHist && rel.sharedHist;\n        if (sharedHistOnly && !shared) { continue }\n        f(rel.doc, shared);\n        propagate(rel.doc, doc, shared);\n      } }\n    }\n    propagate(doc, null, true);\n  }\n\n  // Attach a document to an editor.\n  function attachDoc(cm, doc) {\n    if (doc.cm) { throw new Error(\"This document is already in use.\") }\n    cm.doc = doc;\n    doc.cm = cm;\n    estimateLineHeights(cm);\n    loadMode(cm);\n    setDirectionClass(cm);\n    cm.options.direction = doc.direction;\n    if (!cm.options.lineWrapping) { findMaxLine(cm); }\n    cm.options.mode = doc.modeOption;\n    regChange(cm);\n  }\n\n  function setDirectionClass(cm) {\n  (cm.doc.direction == \"rtl\" ? addClass : rmClass)(cm.display.lineDiv, \"CodeMirror-rtl\");\n  }\n\n  function directionChanged(cm) {\n    runInOp(cm, function () {\n      setDirectionClass(cm);\n      regChange(cm);\n    });\n  }\n\n  function History(prev) {\n    // Arrays of change events and selections. Doing something adds an\n    // event to done and clears undo. Undoing moves events from done\n    // to undone, redoing moves them in the other direction.\n    this.done = []; this.undone = [];\n    this.undoDepth = prev ? prev.undoDepth : Infinity;\n    // Used to track when changes can be merged into a single undo\n    // event\n    this.lastModTime = this.lastSelTime = 0;\n    this.lastOp = this.lastSelOp = null;\n    this.lastOrigin = this.lastSelOrigin = null;\n    // Used by the isClean() method\n    this.generation = this.maxGeneration = prev ? prev.maxGeneration : 1;\n  }\n\n  // Create a history change event from an updateDoc-style change\n  // object.\n  function historyChangeFromChange(doc, change) {\n    var histChange = {from: copyPos(change.from), to: changeEnd(change), text: getBetween(doc, change.from, change.to)};\n    attachLocalSpans(doc, histChange, change.from.line, change.to.line + 1);\n    linkedDocs(doc, function (doc) { return attachLocalSpans(doc, histChange, change.from.line, change.to.line + 1); }, true);\n    return histChange\n  }\n\n  // Pop all selection events off the end of a history array. Stop at\n  // a change event.\n  function clearSelectionEvents(array) {\n    while (array.length) {\n      var last = lst(array);\n      if (last.ranges) { array.pop(); }\n      else { break }\n    }\n  }\n\n  // Find the top change event in the history. Pop off selection\n  // events that are in the way.\n  function lastChangeEvent(hist, force) {\n    if (force) {\n      clearSelectionEvents(hist.done);\n      return lst(hist.done)\n    } else if (hist.done.length && !lst(hist.done).ranges) {\n      return lst(hist.done)\n    } else if (hist.done.length > 1 && !hist.done[hist.done.length - 2].ranges) {\n      hist.done.pop();\n      return lst(hist.done)\n    }\n  }\n\n  // Register a change in the history. Merges changes that are within\n  // a single operation, or are close together with an origin that\n  // allows merging (starting with \"+\") into a single event.\n  function addChangeToHistory(doc, change, selAfter, opId) {\n    var hist = doc.history;\n    hist.undone.length = 0;\n    var time = +new Date, cur;\n    var last;\n\n    if ((hist.lastOp == opId ||\n         hist.lastOrigin == change.origin && change.origin &&\n         ((change.origin.charAt(0) == \"+\" && hist.lastModTime > time - (doc.cm ? doc.cm.options.historyEventDelay : 500)) ||\n          change.origin.charAt(0) == \"*\")) &&\n        (cur = lastChangeEvent(hist, hist.lastOp == opId))) {\n      // Merge this change into the last event\n      last = lst(cur.changes);\n      if (cmp(change.from, change.to) == 0 && cmp(change.from, last.to) == 0) {\n        // Optimized case for simple insertion -- don't want to add\n        // new changesets for every character typed\n        last.to = changeEnd(change);\n      } else {\n        // Add new sub-event\n        cur.changes.push(historyChangeFromChange(doc, change));\n      }\n    } else {\n      // Can not be merged, start a new event.\n      var before = lst(hist.done);\n      if (!before || !before.ranges)\n        { pushSelectionToHistory(doc.sel, hist.done); }\n      cur = {changes: [historyChangeFromChange(doc, change)],\n             generation: hist.generation};\n      hist.done.push(cur);\n      while (hist.done.length > hist.undoDepth) {\n        hist.done.shift();\n        if (!hist.done[0].ranges) { hist.done.shift(); }\n      }\n    }\n    hist.done.push(selAfter);\n    hist.generation = ++hist.maxGeneration;\n    hist.lastModTime = hist.lastSelTime = time;\n    hist.lastOp = hist.lastSelOp = opId;\n    hist.lastOrigin = hist.lastSelOrigin = change.origin;\n\n    if (!last) { signal(doc, \"historyAdded\"); }\n  }\n\n  function selectionEventCanBeMerged(doc, origin, prev, sel) {\n    var ch = origin.charAt(0);\n    return ch == \"*\" ||\n      ch == \"+\" &&\n      prev.ranges.length == sel.ranges.length &&\n      prev.somethingSelected() == sel.somethingSelected() &&\n      new Date - doc.history.lastSelTime <= (doc.cm ? doc.cm.options.historyEventDelay : 500)\n  }\n\n  // Called whenever the selection changes, sets the new selection as\n  // the pending selection in the history, and pushes the old pending\n  // selection into the 'done' array when it was significantly\n  // different (in number of selected ranges, emptiness, or time).\n  function addSelectionToHistory(doc, sel, opId, options) {\n    var hist = doc.history, origin = options && options.origin;\n\n    // A new event is started when the previous origin does not match\n    // the current, or the origins don't allow matching. Origins\n    // starting with * are always merged, those starting with + are\n    // merged when similar and close together in time.\n    if (opId == hist.lastSelOp ||\n        (origin && hist.lastSelOrigin == origin &&\n         (hist.lastModTime == hist.lastSelTime && hist.lastOrigin == origin ||\n          selectionEventCanBeMerged(doc, origin, lst(hist.done), sel))))\n      { hist.done[hist.done.length - 1] = sel; }\n    else\n      { pushSelectionToHistory(sel, hist.done); }\n\n    hist.lastSelTime = +new Date;\n    hist.lastSelOrigin = origin;\n    hist.lastSelOp = opId;\n    if (options && options.clearRedo !== false)\n      { clearSelectionEvents(hist.undone); }\n  }\n\n  function pushSelectionToHistory(sel, dest) {\n    var top = lst(dest);\n    if (!(top && top.ranges && top.equals(sel)))\n      { dest.push(sel); }\n  }\n\n  // Used to store marked span information in the history.\n  function attachLocalSpans(doc, change, from, to) {\n    var existing = change[\"spans_\" + doc.id], n = 0;\n    doc.iter(Math.max(doc.first, from), Math.min(doc.first + doc.size, to), function (line) {\n      if (line.markedSpans)\n        { (existing || (existing = change[\"spans_\" + doc.id] = {}))[n] = line.markedSpans; }\n      ++n;\n    });\n  }\n\n  // When un/re-doing restores text containing marked spans, those\n  // that have been explicitly cleared should not be restored.\n  function removeClearedSpans(spans) {\n    if (!spans) { return null }\n    var out;\n    for (var i = 0; i < spans.length; ++i) {\n      if (spans[i].marker.explicitlyCleared) { if (!out) { out = spans.slice(0, i); } }\n      else if (out) { out.push(spans[i]); }\n    }\n    return !out ? spans : out.length ? out : null\n  }\n\n  // Retrieve and filter the old marked spans stored in a change event.\n  function getOldSpans(doc, change) {\n    var found = change[\"spans_\" + doc.id];\n    if (!found) { return null }\n    var nw = [];\n    for (var i = 0; i < change.text.length; ++i)\n      { nw.push(removeClearedSpans(found[i])); }\n    return nw\n  }\n\n  // Used for un/re-doing changes from the history. Combines the\n  // result of computing the existing spans with the set of spans that\n  // existed in the history (so that deleting around a span and then\n  // undoing brings back the span).\n  function mergeOldSpans(doc, change) {\n    var old = getOldSpans(doc, change);\n    var stretched = stretchSpansOverChange(doc, change);\n    if (!old) { return stretched }\n    if (!stretched) { return old }\n\n    for (var i = 0; i < old.length; ++i) {\n      var oldCur = old[i], stretchCur = stretched[i];\n      if (oldCur && stretchCur) {\n        spans: for (var j = 0; j < stretchCur.length; ++j) {\n          var span = stretchCur[j];\n          for (var k = 0; k < oldCur.length; ++k)\n            { if (oldCur[k].marker == span.marker) { continue spans } }\n          oldCur.push(span);\n        }\n      } else if (stretchCur) {\n        old[i] = stretchCur;\n      }\n    }\n    return old\n  }\n\n  // Used both to provide a JSON-safe object in .getHistory, and, when\n  // detaching a document, to split the history in two\n  function copyHistoryArray(events, newGroup, instantiateSel) {\n    var copy = [];\n    for (var i = 0; i < events.length; ++i) {\n      var event = events[i];\n      if (event.ranges) {\n        copy.push(instantiateSel ? Selection.prototype.deepCopy.call(event) : event);\n        continue\n      }\n      var changes = event.changes, newChanges = [];\n      copy.push({changes: newChanges});\n      for (var j = 0; j < changes.length; ++j) {\n        var change = changes[j], m = (void 0);\n        newChanges.push({from: change.from, to: change.to, text: change.text});\n        if (newGroup) { for (var prop in change) { if (m = prop.match(/^spans_(\\d+)$/)) {\n          if (indexOf(newGroup, Number(m[1])) > -1) {\n            lst(newChanges)[prop] = change[prop];\n            delete change[prop];\n          }\n        } } }\n      }\n    }\n    return copy\n  }\n\n  // The 'scroll' parameter given to many of these indicated whether\n  // the new cursor position should be scrolled into view after\n  // modifying the selection.\n\n  // If shift is held or the extend flag is set, extends a range to\n  // include a given position (and optionally a second position).\n  // Otherwise, simply returns the range between the given positions.\n  // Used for cursor motion and such.\n  function extendRange(range, head, other, extend) {\n    if (extend) {\n      var anchor = range.anchor;\n      if (other) {\n        var posBefore = cmp(head, anchor) < 0;\n        if (posBefore != (cmp(other, anchor) < 0)) {\n          anchor = head;\n          head = other;\n        } else if (posBefore != (cmp(head, other) < 0)) {\n          head = other;\n        }\n      }\n      return new Range(anchor, head)\n    } else {\n      return new Range(other || head, head)\n    }\n  }\n\n  // Extend the primary selection range, discard the rest.\n  function extendSelection(doc, head, other, options, extend) {\n    if (extend == null) { extend = doc.cm && (doc.cm.display.shift || doc.extend); }\n    setSelection(doc, new Selection([extendRange(doc.sel.primary(), head, other, extend)], 0), options);\n  }\n\n  // Extend all selections (pos is an array of selections with length\n  // equal the number of selections)\n  function extendSelections(doc, heads, options) {\n    var out = [];\n    var extend = doc.cm && (doc.cm.display.shift || doc.extend);\n    for (var i = 0; i < doc.sel.ranges.length; i++)\n      { out[i] = extendRange(doc.sel.ranges[i], heads[i], null, extend); }\n    var newSel = normalizeSelection(doc.cm, out, doc.sel.primIndex);\n    setSelection(doc, newSel, options);\n  }\n\n  // Updates a single range in the selection.\n  function replaceOneSelection(doc, i, range, options) {\n    var ranges = doc.sel.ranges.slice(0);\n    ranges[i] = range;\n    setSelection(doc, normalizeSelection(doc.cm, ranges, doc.sel.primIndex), options);\n  }\n\n  // Reset the selection to a single range.\n  function setSimpleSelection(doc, anchor, head, options) {\n    setSelection(doc, simpleSelection(anchor, head), options);\n  }\n\n  // Give beforeSelectionChange handlers a change to influence a\n  // selection update.\n  function filterSelectionChange(doc, sel, options) {\n    var obj = {\n      ranges: sel.ranges,\n      update: function(ranges) {\n        this.ranges = [];\n        for (var i = 0; i < ranges.length; i++)\n          { this.ranges[i] = new Range(clipPos(doc, ranges[i].anchor),\n                                     clipPos(doc, ranges[i].head)); }\n      },\n      origin: options && options.origin\n    };\n    signal(doc, \"beforeSelectionChange\", doc, obj);\n    if (doc.cm) { signal(doc.cm, \"beforeSelectionChange\", doc.cm, obj); }\n    if (obj.ranges != sel.ranges) { return normalizeSelection(doc.cm, obj.ranges, obj.ranges.length - 1) }\n    else { return sel }\n  }\n\n  function setSelectionReplaceHistory(doc, sel, options) {\n    var done = doc.history.done, last = lst(done);\n    if (last && last.ranges) {\n      done[done.length - 1] = sel;\n      setSelectionNoUndo(doc, sel, options);\n    } else {\n      setSelection(doc, sel, options);\n    }\n  }\n\n  // Set a new selection.\n  function setSelection(doc, sel, options) {\n    setSelectionNoUndo(doc, sel, options);\n    addSelectionToHistory(doc, doc.sel, doc.cm ? doc.cm.curOp.id : NaN, options);\n  }\n\n  function setSelectionNoUndo(doc, sel, options) {\n    if (hasHandler(doc, \"beforeSelectionChange\") || doc.cm && hasHandler(doc.cm, \"beforeSelectionChange\"))\n      { sel = filterSelectionChange(doc, sel, options); }\n\n    var bias = options && options.bias ||\n      (cmp(sel.primary().head, doc.sel.primary().head) < 0 ? -1 : 1);\n    setSelectionInner(doc, skipAtomicInSelection(doc, sel, bias, true));\n\n    if (!(options && options.scroll === false) && doc.cm && doc.cm.getOption(\"readOnly\") != \"nocursor\")\n      { ensureCursorVisible(doc.cm); }\n  }\n\n  function setSelectionInner(doc, sel) {\n    if (sel.equals(doc.sel)) { return }\n\n    doc.sel = sel;\n\n    if (doc.cm) {\n      doc.cm.curOp.updateInput = 1;\n      doc.cm.curOp.selectionChanged = true;\n      signalCursorActivity(doc.cm);\n    }\n    signalLater(doc, \"cursorActivity\", doc);\n  }\n\n  // Verify that the selection does not partially select any atomic\n  // marked ranges.\n  function reCheckSelection(doc) {\n    setSelectionInner(doc, skipAtomicInSelection(doc, doc.sel, null, false));\n  }\n\n  // Return a selection that does not partially select any atomic\n  // ranges.\n  function skipAtomicInSelection(doc, sel, bias, mayClear) {\n    var out;\n    for (var i = 0; i < sel.ranges.length; i++) {\n      var range = sel.ranges[i];\n      var old = sel.ranges.length == doc.sel.ranges.length && doc.sel.ranges[i];\n      var newAnchor = skipAtomic(doc, range.anchor, old && old.anchor, bias, mayClear);\n      var newHead = skipAtomic(doc, range.head, old && old.head, bias, mayClear);\n      if (out || newAnchor != range.anchor || newHead != range.head) {\n        if (!out) { out = sel.ranges.slice(0, i); }\n        out[i] = new Range(newAnchor, newHead);\n      }\n    }\n    return out ? normalizeSelection(doc.cm, out, sel.primIndex) : sel\n  }\n\n  function skipAtomicInner(doc, pos, oldPos, dir, mayClear) {\n    var line = getLine(doc, pos.line);\n    if (line.markedSpans) { for (var i = 0; i < line.markedSpans.length; ++i) {\n      var sp = line.markedSpans[i], m = sp.marker;\n\n      // Determine if we should prevent the cursor being placed to the left/right of an atomic marker\n      // Historically this was determined using the inclusiveLeft/Right option, but the new way to control it\n      // is with selectLeft/Right\n      var preventCursorLeft = (\"selectLeft\" in m) ? !m.selectLeft : m.inclusiveLeft;\n      var preventCursorRight = (\"selectRight\" in m) ? !m.selectRight : m.inclusiveRight;\n\n      if ((sp.from == null || (preventCursorLeft ? sp.from <= pos.ch : sp.from < pos.ch)) &&\n          (sp.to == null || (preventCursorRight ? sp.to >= pos.ch : sp.to > pos.ch))) {\n        if (mayClear) {\n          signal(m, \"beforeCursorEnter\");\n          if (m.explicitlyCleared) {\n            if (!line.markedSpans) { break }\n            else {--i; continue}\n          }\n        }\n        if (!m.atomic) { continue }\n\n        if (oldPos) {\n          var near = m.find(dir < 0 ? 1 : -1), diff = (void 0);\n          if (dir < 0 ? preventCursorRight : preventCursorLeft)\n            { near = movePos(doc, near, -dir, near && near.line == pos.line ? line : null); }\n          if (near && near.line == pos.line && (diff = cmp(near, oldPos)) && (dir < 0 ? diff < 0 : diff > 0))\n            { return skipAtomicInner(doc, near, pos, dir, mayClear) }\n        }\n\n        var far = m.find(dir < 0 ? -1 : 1);\n        if (dir < 0 ? preventCursorLeft : preventCursorRight)\n          { far = movePos(doc, far, dir, far.line == pos.line ? line : null); }\n        return far ? skipAtomicInner(doc, far, pos, dir, mayClear) : null\n      }\n    } }\n    return pos\n  }\n\n  // Ensure a given position is not inside an atomic range.\n  function skipAtomic(doc, pos, oldPos, bias, mayClear) {\n    var dir = bias || 1;\n    var found = skipAtomicInner(doc, pos, oldPos, dir, mayClear) ||\n        (!mayClear && skipAtomicInner(doc, pos, oldPos, dir, true)) ||\n        skipAtomicInner(doc, pos, oldPos, -dir, mayClear) ||\n        (!mayClear && skipAtomicInner(doc, pos, oldPos, -dir, true));\n    if (!found) {\n      doc.cantEdit = true;\n      return Pos(doc.first, 0)\n    }\n    return found\n  }\n\n  function movePos(doc, pos, dir, line) {\n    if (dir < 0 && pos.ch == 0) {\n      if (pos.line > doc.first) { return clipPos(doc, Pos(pos.line - 1)) }\n      else { return null }\n    } else if (dir > 0 && pos.ch == (line || getLine(doc, pos.line)).text.length) {\n      if (pos.line < doc.first + doc.size - 1) { return Pos(pos.line + 1, 0) }\n      else { return null }\n    } else {\n      return new Pos(pos.line, pos.ch + dir)\n    }\n  }\n\n  function selectAll(cm) {\n    cm.setSelection(Pos(cm.firstLine(), 0), Pos(cm.lastLine()), sel_dontScroll);\n  }\n\n  // UPDATING\n\n  // Allow \"beforeChange\" event handlers to influence a change\n  function filterChange(doc, change, update) {\n    var obj = {\n      canceled: false,\n      from: change.from,\n      to: change.to,\n      text: change.text,\n      origin: change.origin,\n      cancel: function () { return obj.canceled = true; }\n    };\n    if (update) { obj.update = function (from, to, text, origin) {\n      if (from) { obj.from = clipPos(doc, from); }\n      if (to) { obj.to = clipPos(doc, to); }\n      if (text) { obj.text = text; }\n      if (origin !== undefined) { obj.origin = origin; }\n    }; }\n    signal(doc, \"beforeChange\", doc, obj);\n    if (doc.cm) { signal(doc.cm, \"beforeChange\", doc.cm, obj); }\n\n    if (obj.canceled) {\n      if (doc.cm) { doc.cm.curOp.updateInput = 2; }\n      return null\n    }\n    return {from: obj.from, to: obj.to, text: obj.text, origin: obj.origin}\n  }\n\n  // Apply a change to a document, and add it to the document's\n  // history, and propagating it to all linked documents.\n  function makeChange(doc, change, ignoreReadOnly) {\n    if (doc.cm) {\n      if (!doc.cm.curOp) { return operation(doc.cm, makeChange)(doc, change, ignoreReadOnly) }\n      if (doc.cm.state.suppressEdits) { return }\n    }\n\n    if (hasHandler(doc, \"beforeChange\") || doc.cm && hasHandler(doc.cm, \"beforeChange\")) {\n      change = filterChange(doc, change, true);\n      if (!change) { return }\n    }\n\n    // Possibly split or suppress the update based on the presence\n    // of read-only spans in its range.\n    var split = sawReadOnlySpans && !ignoreReadOnly && removeReadOnlyRanges(doc, change.from, change.to);\n    if (split) {\n      for (var i = split.length - 1; i >= 0; --i)\n        { makeChangeInner(doc, {from: split[i].from, to: split[i].to, text: i ? [\"\"] : change.text, origin: change.origin}); }\n    } else {\n      makeChangeInner(doc, change);\n    }\n  }\n\n  function makeChangeInner(doc, change) {\n    if (change.text.length == 1 && change.text[0] == \"\" && cmp(change.from, change.to) == 0) { return }\n    var selAfter = computeSelAfterChange(doc, change);\n    addChangeToHistory(doc, change, selAfter, doc.cm ? doc.cm.curOp.id : NaN);\n\n    makeChangeSingleDoc(doc, change, selAfter, stretchSpansOverChange(doc, change));\n    var rebased = [];\n\n    linkedDocs(doc, function (doc, sharedHist) {\n      if (!sharedHist && indexOf(rebased, doc.history) == -1) {\n        rebaseHist(doc.history, change);\n        rebased.push(doc.history);\n      }\n      makeChangeSingleDoc(doc, change, null, stretchSpansOverChange(doc, change));\n    });\n  }\n\n  // Revert a change stored in a document's history.\n  function makeChangeFromHistory(doc, type, allowSelectionOnly) {\n    var suppress = doc.cm && doc.cm.state.suppressEdits;\n    if (suppress && !allowSelectionOnly) { return }\n\n    var hist = doc.history, event, selAfter = doc.sel;\n    var source = type == \"undo\" ? hist.done : hist.undone, dest = type == \"undo\" ? hist.undone : hist.done;\n\n    // Verify that there is a useable event (so that ctrl-z won't\n    // needlessly clear selection events)\n    var i = 0;\n    for (; i < source.length; i++) {\n      event = source[i];\n      if (allowSelectionOnly ? event.ranges && !event.equals(doc.sel) : !event.ranges)\n        { break }\n    }\n    if (i == source.length) { return }\n    hist.lastOrigin = hist.lastSelOrigin = null;\n\n    for (;;) {\n      event = source.pop();\n      if (event.ranges) {\n        pushSelectionToHistory(event, dest);\n        if (allowSelectionOnly && !event.equals(doc.sel)) {\n          setSelection(doc, event, {clearRedo: false});\n          return\n        }\n        selAfter = event;\n      } else if (suppress) {\n        source.push(event);\n        return\n      } else { break }\n    }\n\n    // Build up a reverse change object to add to the opposite history\n    // stack (redo when undoing, and vice versa).\n    var antiChanges = [];\n    pushSelectionToHistory(selAfter, dest);\n    dest.push({changes: antiChanges, generation: hist.generation});\n    hist.generation = event.generation || ++hist.maxGeneration;\n\n    var filter = hasHandler(doc, \"beforeChange\") || doc.cm && hasHandler(doc.cm, \"beforeChange\");\n\n    var loop = function ( i ) {\n      var change = event.changes[i];\n      change.origin = type;\n      if (filter && !filterChange(doc, change, false)) {\n        source.length = 0;\n        return {}\n      }\n\n      antiChanges.push(historyChangeFromChange(doc, change));\n\n      var after = i ? computeSelAfterChange(doc, change) : lst(source);\n      makeChangeSingleDoc(doc, change, after, mergeOldSpans(doc, change));\n      if (!i && doc.cm) { doc.cm.scrollIntoView({from: change.from, to: changeEnd(change)}); }\n      var rebased = [];\n\n      // Propagate to the linked documents\n      linkedDocs(doc, function (doc, sharedHist) {\n        if (!sharedHist && indexOf(rebased, doc.history) == -1) {\n          rebaseHist(doc.history, change);\n          rebased.push(doc.history);\n        }\n        makeChangeSingleDoc(doc, change, null, mergeOldSpans(doc, change));\n      });\n    };\n\n    for (var i$1 = event.changes.length - 1; i$1 >= 0; --i$1) {\n      var returned = loop( i$1 );\n\n      if ( returned ) return returned.v;\n    }\n  }\n\n  // Sub-views need their line numbers shifted when text is added\n  // above or below them in the parent document.\n  function shiftDoc(doc, distance) {\n    if (distance == 0) { return }\n    doc.first += distance;\n    doc.sel = new Selection(map(doc.sel.ranges, function (range) { return new Range(\n      Pos(range.anchor.line + distance, range.anchor.ch),\n      Pos(range.head.line + distance, range.head.ch)\n    ); }), doc.sel.primIndex);\n    if (doc.cm) {\n      regChange(doc.cm, doc.first, doc.first - distance, distance);\n      for (var d = doc.cm.display, l = d.viewFrom; l < d.viewTo; l++)\n        { regLineChange(doc.cm, l, \"gutter\"); }\n    }\n  }\n\n  // More lower-level change function, handling only a single document\n  // (not linked ones).\n  function makeChangeSingleDoc(doc, change, selAfter, spans) {\n    if (doc.cm && !doc.cm.curOp)\n      { return operation(doc.cm, makeChangeSingleDoc)(doc, change, selAfter, spans) }\n\n    if (change.to.line < doc.first) {\n      shiftDoc(doc, change.text.length - 1 - (change.to.line - change.from.line));\n      return\n    }\n    if (change.from.line > doc.lastLine()) { return }\n\n    // Clip the change to the size of this doc\n    if (change.from.line < doc.first) {\n      var shift = change.text.length - 1 - (doc.first - change.from.line);\n      shiftDoc(doc, shift);\n      change = {from: Pos(doc.first, 0), to: Pos(change.to.line + shift, change.to.ch),\n                text: [lst(change.text)], origin: change.origin};\n    }\n    var last = doc.lastLine();\n    if (change.to.line > last) {\n      change = {from: change.from, to: Pos(last, getLine(doc, last).text.length),\n                text: [change.text[0]], origin: change.origin};\n    }\n\n    change.removed = getBetween(doc, change.from, change.to);\n\n    if (!selAfter) { selAfter = computeSelAfterChange(doc, change); }\n    if (doc.cm) { makeChangeSingleDocInEditor(doc.cm, change, spans); }\n    else { updateDoc(doc, change, spans); }\n    setSelectionNoUndo(doc, selAfter, sel_dontScroll);\n\n    if (doc.cantEdit && skipAtomic(doc, Pos(doc.firstLine(), 0)))\n      { doc.cantEdit = false; }\n  }\n\n  // Handle the interaction of a change to a document with the editor\n  // that this document is part of.\n  function makeChangeSingleDocInEditor(cm, change, spans) {\n    var doc = cm.doc, display = cm.display, from = change.from, to = change.to;\n\n    var recomputeMaxLength = false, checkWidthStart = from.line;\n    if (!cm.options.lineWrapping) {\n      checkWidthStart = lineNo(visualLine(getLine(doc, from.line)));\n      doc.iter(checkWidthStart, to.line + 1, function (line) {\n        if (line == display.maxLine) {\n          recomputeMaxLength = true;\n          return true\n        }\n      });\n    }\n\n    if (doc.sel.contains(change.from, change.to) > -1)\n      { signalCursorActivity(cm); }\n\n    updateDoc(doc, change, spans, estimateHeight(cm));\n\n    if (!cm.options.lineWrapping) {\n      doc.iter(checkWidthStart, from.line + change.text.length, function (line) {\n        var len = lineLength(line);\n        if (len > display.maxLineLength) {\n          display.maxLine = line;\n          display.maxLineLength = len;\n          display.maxLineChanged = true;\n          recomputeMaxLength = false;\n        }\n      });\n      if (recomputeMaxLength) { cm.curOp.updateMaxLine = true; }\n    }\n\n    retreatFrontier(doc, from.line);\n    startWorker(cm, 400);\n\n    var lendiff = change.text.length - (to.line - from.line) - 1;\n    // Remember that these lines changed, for updating the display\n    if (change.full)\n      { regChange(cm); }\n    else if (from.line == to.line && change.text.length == 1 && !isWholeLineUpdate(cm.doc, change))\n      { regLineChange(cm, from.line, \"text\"); }\n    else\n      { regChange(cm, from.line, to.line + 1, lendiff); }\n\n    var changesHandler = hasHandler(cm, \"changes\"), changeHandler = hasHandler(cm, \"change\");\n    if (changeHandler || changesHandler) {\n      var obj = {\n        from: from, to: to,\n        text: change.text,\n        removed: change.removed,\n        origin: change.origin\n      };\n      if (changeHandler) { signalLater(cm, \"change\", cm, obj); }\n      if (changesHandler) { (cm.curOp.changeObjs || (cm.curOp.changeObjs = [])).push(obj); }\n    }\n    cm.display.selForContextMenu = null;\n  }\n\n  function replaceRange(doc, code, from, to, origin) {\n    var assign;\n\n    if (!to) { to = from; }\n    if (cmp(to, from) < 0) { (assign = [to, from], from = assign[0], to = assign[1]); }\n    if (typeof code == \"string\") { code = doc.splitLines(code); }\n    makeChange(doc, {from: from, to: to, text: code, origin: origin});\n  }\n\n  // Rebasing/resetting history to deal with externally-sourced changes\n\n  function rebaseHistSelSingle(pos, from, to, diff) {\n    if (to < pos.line) {\n      pos.line += diff;\n    } else if (from < pos.line) {\n      pos.line = from;\n      pos.ch = 0;\n    }\n  }\n\n  // Tries to rebase an array of history events given a change in the\n  // document. If the change touches the same lines as the event, the\n  // event, and everything 'behind' it, is discarded. If the change is\n  // before the event, the event's positions are updated. Uses a\n  // copy-on-write scheme for the positions, to avoid having to\n  // reallocate them all on every rebase, but also avoid problems with\n  // shared position objects being unsafely updated.\n  function rebaseHistArray(array, from, to, diff) {\n    for (var i = 0; i < array.length; ++i) {\n      var sub = array[i], ok = true;\n      if (sub.ranges) {\n        if (!sub.copied) { sub = array[i] = sub.deepCopy(); sub.copied = true; }\n        for (var j = 0; j < sub.ranges.length; j++) {\n          rebaseHistSelSingle(sub.ranges[j].anchor, from, to, diff);\n          rebaseHistSelSingle(sub.ranges[j].head, from, to, diff);\n        }\n        continue\n      }\n      for (var j$1 = 0; j$1 < sub.changes.length; ++j$1) {\n        var cur = sub.changes[j$1];\n        if (to < cur.from.line) {\n          cur.from = Pos(cur.from.line + diff, cur.from.ch);\n          cur.to = Pos(cur.to.line + diff, cur.to.ch);\n        } else if (from <= cur.to.line) {\n          ok = false;\n          break\n        }\n      }\n      if (!ok) {\n        array.splice(0, i + 1);\n        i = 0;\n      }\n    }\n  }\n\n  function rebaseHist(hist, change) {\n    var from = change.from.line, to = change.to.line, diff = change.text.length - (to - from) - 1;\n    rebaseHistArray(hist.done, from, to, diff);\n    rebaseHistArray(hist.undone, from, to, diff);\n  }\n\n  // Utility for applying a change to a line by handle or number,\n  // returning the number and optionally registering the line as\n  // changed.\n  function changeLine(doc, handle, changeType, op) {\n    var no = handle, line = handle;\n    if (typeof handle == \"number\") { line = getLine(doc, clipLine(doc, handle)); }\n    else { no = lineNo(handle); }\n    if (no == null) { return null }\n    if (op(line, no) && doc.cm) { regLineChange(doc.cm, no, changeType); }\n    return line\n  }\n\n  // The document is represented as a BTree consisting of leaves, with\n  // chunk of lines in them, and branches, with up to ten leaves or\n  // other branch nodes below them. The top node is always a branch\n  // node, and is the document object itself (meaning it has\n  // additional methods and properties).\n  //\n  // All nodes have parent links. The tree is used both to go from\n  // line numbers to line objects, and to go from objects to numbers.\n  // It also indexes by height, and is used to convert between height\n  // and line object, and to find the total height of the document.\n  //\n  // See also http://marijnhaverbeke.nl/blog/codemirror-line-tree.html\n\n  function LeafChunk(lines) {\n    this.lines = lines;\n    this.parent = null;\n    var height = 0;\n    for (var i = 0; i < lines.length; ++i) {\n      lines[i].parent = this;\n      height += lines[i].height;\n    }\n    this.height = height;\n  }\n\n  LeafChunk.prototype = {\n    chunkSize: function() { return this.lines.length },\n\n    // Remove the n lines at offset 'at'.\n    removeInner: function(at, n) {\n      for (var i = at, e = at + n; i < e; ++i) {\n        var line = this.lines[i];\n        this.height -= line.height;\n        cleanUpLine(line);\n        signalLater(line, \"delete\");\n      }\n      this.lines.splice(at, n);\n    },\n\n    // Helper used to collapse a small branch into a single leaf.\n    collapse: function(lines) {\n      lines.push.apply(lines, this.lines);\n    },\n\n    // Insert the given array of lines at offset 'at', count them as\n    // having the given height.\n    insertInner: function(at, lines, height) {\n      this.height += height;\n      this.lines = this.lines.slice(0, at).concat(lines).concat(this.lines.slice(at));\n      for (var i = 0; i < lines.length; ++i) { lines[i].parent = this; }\n    },\n\n    // Used to iterate over a part of the tree.\n    iterN: function(at, n, op) {\n      for (var e = at + n; at < e; ++at)\n        { if (op(this.lines[at])) { return true } }\n    }\n  };\n\n  function BranchChunk(children) {\n    this.children = children;\n    var size = 0, height = 0;\n    for (var i = 0; i < children.length; ++i) {\n      var ch = children[i];\n      size += ch.chunkSize(); height += ch.height;\n      ch.parent = this;\n    }\n    this.size = size;\n    this.height = height;\n    this.parent = null;\n  }\n\n  BranchChunk.prototype = {\n    chunkSize: function() { return this.size },\n\n    removeInner: function(at, n) {\n      this.size -= n;\n      for (var i = 0; i < this.children.length; ++i) {\n        var child = this.children[i], sz = child.chunkSize();\n        if (at < sz) {\n          var rm = Math.min(n, sz - at), oldHeight = child.height;\n          child.removeInner(at, rm);\n          this.height -= oldHeight - child.height;\n          if (sz == rm) { this.children.splice(i--, 1); child.parent = null; }\n          if ((n -= rm) == 0) { break }\n          at = 0;\n        } else { at -= sz; }\n      }\n      // If the result is smaller than 25 lines, ensure that it is a\n      // single leaf node.\n      if (this.size - n < 25 &&\n          (this.children.length > 1 || !(this.children[0] instanceof LeafChunk))) {\n        var lines = [];\n        this.collapse(lines);\n        this.children = [new LeafChunk(lines)];\n        this.children[0].parent = this;\n      }\n    },\n\n    collapse: function(lines) {\n      for (var i = 0; i < this.children.length; ++i) { this.children[i].collapse(lines); }\n    },\n\n    insertInner: function(at, lines, height) {\n      this.size += lines.length;\n      this.height += height;\n      for (var i = 0; i < this.children.length; ++i) {\n        var child = this.children[i], sz = child.chunkSize();\n        if (at <= sz) {\n          child.insertInner(at, lines, height);\n          if (child.lines && child.lines.length > 50) {\n            // To avoid memory thrashing when child.lines is huge (e.g. first view of a large file), it's never spliced.\n            // Instead, small slices are taken. They're taken in order because sequential memory accesses are fastest.\n            var remaining = child.lines.length % 25 + 25;\n            for (var pos = remaining; pos < child.lines.length;) {\n              var leaf = new LeafChunk(child.lines.slice(pos, pos += 25));\n              child.height -= leaf.height;\n              this.children.splice(++i, 0, leaf);\n              leaf.parent = this;\n            }\n            child.lines = child.lines.slice(0, remaining);\n            this.maybeSpill();\n          }\n          break\n        }\n        at -= sz;\n      }\n    },\n\n    // When a node has grown, check whether it should be split.\n    maybeSpill: function() {\n      if (this.children.length <= 10) { return }\n      var me = this;\n      do {\n        var spilled = me.children.splice(me.children.length - 5, 5);\n        var sibling = new BranchChunk(spilled);\n        if (!me.parent) { // Become the parent node\n          var copy = new BranchChunk(me.children);\n          copy.parent = me;\n          me.children = [copy, sibling];\n          me = copy;\n       } else {\n          me.size -= sibling.size;\n          me.height -= sibling.height;\n          var myIndex = indexOf(me.parent.children, me);\n          me.parent.children.splice(myIndex + 1, 0, sibling);\n        }\n        sibling.parent = me.parent;\n      } while (me.children.length > 10)\n      me.parent.maybeSpill();\n    },\n\n    iterN: function(at, n, op) {\n      for (var i = 0; i < this.children.length; ++i) {\n        var child = this.children[i], sz = child.chunkSize();\n        if (at < sz) {\n          var used = Math.min(n, sz - at);\n          if (child.iterN(at, used, op)) { return true }\n          if ((n -= used) == 0) { break }\n          at = 0;\n        } else { at -= sz; }\n      }\n    }\n  };\n\n  // Line widgets are block elements displayed above or below a line.\n\n  var LineWidget = function(doc, node, options) {\n    if (options) { for (var opt in options) { if (options.hasOwnProperty(opt))\n      { this[opt] = options[opt]; } } }\n    this.doc = doc;\n    this.node = node;\n  };\n\n  LineWidget.prototype.clear = function () {\n    var cm = this.doc.cm, ws = this.line.widgets, line = this.line, no = lineNo(line);\n    if (no == null || !ws) { return }\n    for (var i = 0; i < ws.length; ++i) { if (ws[i] == this) { ws.splice(i--, 1); } }\n    if (!ws.length) { line.widgets = null; }\n    var height = widgetHeight(this);\n    updateLineHeight(line, Math.max(0, line.height - height));\n    if (cm) {\n      runInOp(cm, function () {\n        adjustScrollWhenAboveVisible(cm, line, -height);\n        regLineChange(cm, no, \"widget\");\n      });\n      signalLater(cm, \"lineWidgetCleared\", cm, this, no);\n    }\n  };\n\n  LineWidget.prototype.changed = function () {\n      var this$1 = this;\n\n    var oldH = this.height, cm = this.doc.cm, line = this.line;\n    this.height = null;\n    var diff = widgetHeight(this) - oldH;\n    if (!diff) { return }\n    if (!lineIsHidden(this.doc, line)) { updateLineHeight(line, line.height + diff); }\n    if (cm) {\n      runInOp(cm, function () {\n        cm.curOp.forceUpdate = true;\n        adjustScrollWhenAboveVisible(cm, line, diff);\n        signalLater(cm, \"lineWidgetChanged\", cm, this$1, lineNo(line));\n      });\n    }\n  };\n  eventMixin(LineWidget);\n\n  function adjustScrollWhenAboveVisible(cm, line, diff) {\n    if (heightAtLine(line) < ((cm.curOp && cm.curOp.scrollTop) || cm.doc.scrollTop))\n      { addToScrollTop(cm, diff); }\n  }\n\n  function addLineWidget(doc, handle, node, options) {\n    var widget = new LineWidget(doc, node, options);\n    var cm = doc.cm;\n    if (cm && widget.noHScroll) { cm.display.alignWidgets = true; }\n    changeLine(doc, handle, \"widget\", function (line) {\n      var widgets = line.widgets || (line.widgets = []);\n      if (widget.insertAt == null) { widgets.push(widget); }\n      else { widgets.splice(Math.min(widgets.length, Math.max(0, widget.insertAt)), 0, widget); }\n      widget.line = line;\n      if (cm && !lineIsHidden(doc, line)) {\n        var aboveVisible = heightAtLine(line) < doc.scrollTop;\n        updateLineHeight(line, line.height + widgetHeight(widget));\n        if (aboveVisible) { addToScrollTop(cm, widget.height); }\n        cm.curOp.forceUpdate = true;\n      }\n      return true\n    });\n    if (cm) { signalLater(cm, \"lineWidgetAdded\", cm, widget, typeof handle == \"number\" ? handle : lineNo(handle)); }\n    return widget\n  }\n\n  // TEXTMARKERS\n\n  // Created with markText and setBookmark methods. A TextMarker is a\n  // handle that can be used to clear or find a marked position in the\n  // document. Line objects hold arrays (markedSpans) containing\n  // {from, to, marker} object pointing to such marker objects, and\n  // indicating that such a marker is present on that line. Multiple\n  // lines may point to the same marker when it spans across lines.\n  // The spans will have null for their from/to properties when the\n  // marker continues beyond the start/end of the line. Markers have\n  // links back to the lines they currently touch.\n\n  // Collapsed markers have unique ids, in order to be able to order\n  // them, which is needed for uniquely determining an outer marker\n  // when they overlap (they may nest, but not partially overlap).\n  var nextMarkerId = 0;\n\n  var TextMarker = function(doc, type) {\n    this.lines = [];\n    this.type = type;\n    this.doc = doc;\n    this.id = ++nextMarkerId;\n  };\n\n  // Clear the marker.\n  TextMarker.prototype.clear = function () {\n    if (this.explicitlyCleared) { return }\n    var cm = this.doc.cm, withOp = cm && !cm.curOp;\n    if (withOp) { startOperation(cm); }\n    if (hasHandler(this, \"clear\")) {\n      var found = this.find();\n      if (found) { signalLater(this, \"clear\", found.from, found.to); }\n    }\n    var min = null, max = null;\n    for (var i = 0; i < this.lines.length; ++i) {\n      var line = this.lines[i];\n      var span = getMarkedSpanFor(line.markedSpans, this);\n      if (cm && !this.collapsed) { regLineChange(cm, lineNo(line), \"text\"); }\n      else if (cm) {\n        if (span.to != null) { max = lineNo(line); }\n        if (span.from != null) { min = lineNo(line); }\n      }\n      line.markedSpans = removeMarkedSpan(line.markedSpans, span);\n      if (span.from == null && this.collapsed && !lineIsHidden(this.doc, line) && cm)\n        { updateLineHeight(line, textHeight(cm.display)); }\n    }\n    if (cm && this.collapsed && !cm.options.lineWrapping) { for (var i$1 = 0; i$1 < this.lines.length; ++i$1) {\n      var visual = visualLine(this.lines[i$1]), len = lineLength(visual);\n      if (len > cm.display.maxLineLength) {\n        cm.display.maxLine = visual;\n        cm.display.maxLineLength = len;\n        cm.display.maxLineChanged = true;\n      }\n    } }\n\n    if (min != null && cm && this.collapsed) { regChange(cm, min, max + 1); }\n    this.lines.length = 0;\n    this.explicitlyCleared = true;\n    if (this.atomic && this.doc.cantEdit) {\n      this.doc.cantEdit = false;\n      if (cm) { reCheckSelection(cm.doc); }\n    }\n    if (cm) { signalLater(cm, \"markerCleared\", cm, this, min, max); }\n    if (withOp) { endOperation(cm); }\n    if (this.parent) { this.parent.clear(); }\n  };\n\n  // Find the position of the marker in the document. Returns a {from,\n  // to} object by default. Side can be passed to get a specific side\n  // -- 0 (both), -1 (left), or 1 (right). When lineObj is true, the\n  // Pos objects returned contain a line object, rather than a line\n  // number (used to prevent looking up the same line twice).\n  TextMarker.prototype.find = function (side, lineObj) {\n    if (side == null && this.type == \"bookmark\") { side = 1; }\n    var from, to;\n    for (var i = 0; i < this.lines.length; ++i) {\n      var line = this.lines[i];\n      var span = getMarkedSpanFor(line.markedSpans, this);\n      if (span.from != null) {\n        from = Pos(lineObj ? line : lineNo(line), span.from);\n        if (side == -1) { return from }\n      }\n      if (span.to != null) {\n        to = Pos(lineObj ? line : lineNo(line), span.to);\n        if (side == 1) { return to }\n      }\n    }\n    return from && {from: from, to: to}\n  };\n\n  // Signals that the marker's widget changed, and surrounding layout\n  // should be recomputed.\n  TextMarker.prototype.changed = function () {\n      var this$1 = this;\n\n    var pos = this.find(-1, true), widget = this, cm = this.doc.cm;\n    if (!pos || !cm) { return }\n    runInOp(cm, function () {\n      var line = pos.line, lineN = lineNo(pos.line);\n      var view = findViewForLine(cm, lineN);\n      if (view) {\n        clearLineMeasurementCacheFor(view);\n        cm.curOp.selectionChanged = cm.curOp.forceUpdate = true;\n      }\n      cm.curOp.updateMaxLine = true;\n      if (!lineIsHidden(widget.doc, line) && widget.height != null) {\n        var oldHeight = widget.height;\n        widget.height = null;\n        var dHeight = widgetHeight(widget) - oldHeight;\n        if (dHeight)\n          { updateLineHeight(line, line.height + dHeight); }\n      }\n      signalLater(cm, \"markerChanged\", cm, this$1);\n    });\n  };\n\n  TextMarker.prototype.attachLine = function (line) {\n    if (!this.lines.length && this.doc.cm) {\n      var op = this.doc.cm.curOp;\n      if (!op.maybeHiddenMarkers || indexOf(op.maybeHiddenMarkers, this) == -1)\n        { (op.maybeUnhiddenMarkers || (op.maybeUnhiddenMarkers = [])).push(this); }\n    }\n    this.lines.push(line);\n  };\n\n  TextMarker.prototype.detachLine = function (line) {\n    this.lines.splice(indexOf(this.lines, line), 1);\n    if (!this.lines.length && this.doc.cm) {\n      var op = this.doc.cm.curOp\n      ;(op.maybeHiddenMarkers || (op.maybeHiddenMarkers = [])).push(this);\n    }\n  };\n  eventMixin(TextMarker);\n\n  // Create a marker, wire it up to the right lines, and\n  function markText(doc, from, to, options, type) {\n    // Shared markers (across linked documents) are handled separately\n    // (markTextShared will call out to this again, once per\n    // document).\n    if (options && options.shared) { return markTextShared(doc, from, to, options, type) }\n    // Ensure we are in an operation.\n    if (doc.cm && !doc.cm.curOp) { return operation(doc.cm, markText)(doc, from, to, options, type) }\n\n    var marker = new TextMarker(doc, type), diff = cmp(from, to);\n    if (options) { copyObj(options, marker, false); }\n    // Don't connect empty markers unless clearWhenEmpty is false\n    if (diff > 0 || diff == 0 && marker.clearWhenEmpty !== false)\n      { return marker }\n    if (marker.replacedWith) {\n      // Showing up as a widget implies collapsed (widget replaces text)\n      marker.collapsed = true;\n      marker.widgetNode = eltP(\"span\", [marker.replacedWith], \"CodeMirror-widget\");\n      if (!options.handleMouseEvents) { marker.widgetNode.setAttribute(\"cm-ignore-events\", \"true\"); }\n      if (options.insertLeft) { marker.widgetNode.insertLeft = true; }\n    }\n    if (marker.collapsed) {\n      if (conflictingCollapsedRange(doc, from.line, from, to, marker) ||\n          from.line != to.line && conflictingCollapsedRange(doc, to.line, from, to, marker))\n        { throw new Error(\"Inserting collapsed marker partially overlapping an existing one\") }\n      seeCollapsedSpans();\n    }\n\n    if (marker.addToHistory)\n      { addChangeToHistory(doc, {from: from, to: to, origin: \"markText\"}, doc.sel, NaN); }\n\n    var curLine = from.line, cm = doc.cm, updateMaxLine;\n    doc.iter(curLine, to.line + 1, function (line) {\n      if (cm && marker.collapsed && !cm.options.lineWrapping && visualLine(line) == cm.display.maxLine)\n        { updateMaxLine = true; }\n      if (marker.collapsed && curLine != from.line) { updateLineHeight(line, 0); }\n      addMarkedSpan(line, new MarkedSpan(marker,\n                                         curLine == from.line ? from.ch : null,\n                                         curLine == to.line ? to.ch : null), doc.cm && doc.cm.curOp);\n      ++curLine;\n    });\n    // lineIsHidden depends on the presence of the spans, so needs a second pass\n    if (marker.collapsed) { doc.iter(from.line, to.line + 1, function (line) {\n      if (lineIsHidden(doc, line)) { updateLineHeight(line, 0); }\n    }); }\n\n    if (marker.clearOnEnter) { on(marker, \"beforeCursorEnter\", function () { return marker.clear(); }); }\n\n    if (marker.readOnly) {\n      seeReadOnlySpans();\n      if (doc.history.done.length || doc.history.undone.length)\n        { doc.clearHistory(); }\n    }\n    if (marker.collapsed) {\n      marker.id = ++nextMarkerId;\n      marker.atomic = true;\n    }\n    if (cm) {\n      // Sync editor state\n      if (updateMaxLine) { cm.curOp.updateMaxLine = true; }\n      if (marker.collapsed)\n        { regChange(cm, from.line, to.line + 1); }\n      else if (marker.className || marker.startStyle || marker.endStyle || marker.css ||\n               marker.attributes || marker.title)\n        { for (var i = from.line; i <= to.line; i++) { regLineChange(cm, i, \"text\"); } }\n      if (marker.atomic) { reCheckSelection(cm.doc); }\n      signalLater(cm, \"markerAdded\", cm, marker);\n    }\n    return marker\n  }\n\n  // SHARED TEXTMARKERS\n\n  // A shared marker spans multiple linked documents. It is\n  // implemented as a meta-marker-object controlling multiple normal\n  // markers.\n  var SharedTextMarker = function(markers, primary) {\n    this.markers = markers;\n    this.primary = primary;\n    for (var i = 0; i < markers.length; ++i)\n      { markers[i].parent = this; }\n  };\n\n  SharedTextMarker.prototype.clear = function () {\n    if (this.explicitlyCleared) { return }\n    this.explicitlyCleared = true;\n    for (var i = 0; i < this.markers.length; ++i)\n      { this.markers[i].clear(); }\n    signalLater(this, \"clear\");\n  };\n\n  SharedTextMarker.prototype.find = function (side, lineObj) {\n    return this.primary.find(side, lineObj)\n  };\n  eventMixin(SharedTextMarker);\n\n  function markTextShared(doc, from, to, options, type) {\n    options = copyObj(options);\n    options.shared = false;\n    var markers = [markText(doc, from, to, options, type)], primary = markers[0];\n    var widget = options.widgetNode;\n    linkedDocs(doc, function (doc) {\n      if (widget) { options.widgetNode = widget.cloneNode(true); }\n      markers.push(markText(doc, clipPos(doc, from), clipPos(doc, to), options, type));\n      for (var i = 0; i < doc.linked.length; ++i)\n        { if (doc.linked[i].isParent) { return } }\n      primary = lst(markers);\n    });\n    return new SharedTextMarker(markers, primary)\n  }\n\n  function findSharedMarkers(doc) {\n    return doc.findMarks(Pos(doc.first, 0), doc.clipPos(Pos(doc.lastLine())), function (m) { return m.parent; })\n  }\n\n  function copySharedMarkers(doc, markers) {\n    for (var i = 0; i < markers.length; i++) {\n      var marker = markers[i], pos = marker.find();\n      var mFrom = doc.clipPos(pos.from), mTo = doc.clipPos(pos.to);\n      if (cmp(mFrom, mTo)) {\n        var subMark = markText(doc, mFrom, mTo, marker.primary, marker.primary.type);\n        marker.markers.push(subMark);\n        subMark.parent = marker;\n      }\n    }\n  }\n\n  function detachSharedMarkers(markers) {\n    var loop = function ( i ) {\n      var marker = markers[i], linked = [marker.primary.doc];\n      linkedDocs(marker.primary.doc, function (d) { return linked.push(d); });\n      for (var j = 0; j < marker.markers.length; j++) {\n        var subMarker = marker.markers[j];\n        if (indexOf(linked, subMarker.doc) == -1) {\n          subMarker.parent = null;\n          marker.markers.splice(j--, 1);\n        }\n      }\n    };\n\n    for (var i = 0; i < markers.length; i++) loop( i );\n  }\n\n  var nextDocId = 0;\n  var Doc = function(text, mode, firstLine, lineSep, direction) {\n    if (!(this instanceof Doc)) { return new Doc(text, mode, firstLine, lineSep, direction) }\n    if (firstLine == null) { firstLine = 0; }\n\n    BranchChunk.call(this, [new LeafChunk([new Line(\"\", null)])]);\n    this.first = firstLine;\n    this.scrollTop = this.scrollLeft = 0;\n    this.cantEdit = false;\n    this.cleanGeneration = 1;\n    this.modeFrontier = this.highlightFrontier = firstLine;\n    var start = Pos(firstLine, 0);\n    this.sel = simpleSelection(start);\n    this.history = new History(null);\n    this.id = ++nextDocId;\n    this.modeOption = mode;\n    this.lineSep = lineSep;\n    this.direction = (direction == \"rtl\") ? \"rtl\" : \"ltr\";\n    this.extend = false;\n\n    if (typeof text == \"string\") { text = this.splitLines(text); }\n    updateDoc(this, {from: start, to: start, text: text});\n    setSelection(this, simpleSelection(start), sel_dontScroll);\n  };\n\n  Doc.prototype = createObj(BranchChunk.prototype, {\n    constructor: Doc,\n    // Iterate over the document. Supports two forms -- with only one\n    // argument, it calls that for each line in the document. With\n    // three, it iterates over the range given by the first two (with\n    // the second being non-inclusive).\n    iter: function(from, to, op) {\n      if (op) { this.iterN(from - this.first, to - from, op); }\n      else { this.iterN(this.first, this.first + this.size, from); }\n    },\n\n    // Non-public interface for adding and removing lines.\n    insert: function(at, lines) {\n      var height = 0;\n      for (var i = 0; i < lines.length; ++i) { height += lines[i].height; }\n      this.insertInner(at - this.first, lines, height);\n    },\n    remove: function(at, n) { this.removeInner(at - this.first, n); },\n\n    // From here, the methods are part of the public interface. Most\n    // are also available from CodeMirror (editor) instances.\n\n    getValue: function(lineSep) {\n      var lines = getLines(this, this.first, this.first + this.size);\n      if (lineSep === false) { return lines }\n      return lines.join(lineSep || this.lineSeparator())\n    },\n    setValue: docMethodOp(function(code) {\n      var top = Pos(this.first, 0), last = this.first + this.size - 1;\n      makeChange(this, {from: top, to: Pos(last, getLine(this, last).text.length),\n                        text: this.splitLines(code), origin: \"setValue\", full: true}, true);\n      if (this.cm) { scrollToCoords(this.cm, 0, 0); }\n      setSelection(this, simpleSelection(top), sel_dontScroll);\n    }),\n    replaceRange: function(code, from, to, origin) {\n      from = clipPos(this, from);\n      to = to ? clipPos(this, to) : from;\n      replaceRange(this, code, from, to, origin);\n    },\n    getRange: function(from, to, lineSep) {\n      var lines = getBetween(this, clipPos(this, from), clipPos(this, to));\n      if (lineSep === false) { return lines }\n      if (lineSep === '') { return lines.join('') }\n      return lines.join(lineSep || this.lineSeparator())\n    },\n\n    getLine: function(line) {var l = this.getLineHandle(line); return l && l.text},\n\n    getLineHandle: function(line) {if (isLine(this, line)) { return getLine(this, line) }},\n    getLineNumber: function(line) {return lineNo(line)},\n\n    getLineHandleVisualStart: function(line) {\n      if (typeof line == \"number\") { line = getLine(this, line); }\n      return visualLine(line)\n    },\n\n    lineCount: function() {return this.size},\n    firstLine: function() {return this.first},\n    lastLine: function() {return this.first + this.size - 1},\n\n    clipPos: function(pos) {return clipPos(this, pos)},\n\n    getCursor: function(start) {\n      var range = this.sel.primary(), pos;\n      if (start == null || start == \"head\") { pos = range.head; }\n      else if (start == \"anchor\") { pos = range.anchor; }\n      else if (start == \"end\" || start == \"to\" || start === false) { pos = range.to(); }\n      else { pos = range.from(); }\n      return pos\n    },\n    listSelections: function() { return this.sel.ranges },\n    somethingSelected: function() {return this.sel.somethingSelected()},\n\n    setCursor: docMethodOp(function(line, ch, options) {\n      setSimpleSelection(this, clipPos(this, typeof line == \"number\" ? Pos(line, ch || 0) : line), null, options);\n    }),\n    setSelection: docMethodOp(function(anchor, head, options) {\n      setSimpleSelection(this, clipPos(this, anchor), clipPos(this, head || anchor), options);\n    }),\n    extendSelection: docMethodOp(function(head, other, options) {\n      extendSelection(this, clipPos(this, head), other && clipPos(this, other), options);\n    }),\n    extendSelections: docMethodOp(function(heads, options) {\n      extendSelections(this, clipPosArray(this, heads), options);\n    }),\n    extendSelectionsBy: docMethodOp(function(f, options) {\n      var heads = map(this.sel.ranges, f);\n      extendSelections(this, clipPosArray(this, heads), options);\n    }),\n    setSelections: docMethodOp(function(ranges, primary, options) {\n      if (!ranges.length) { return }\n      var out = [];\n      for (var i = 0; i < ranges.length; i++)\n        { out[i] = new Range(clipPos(this, ranges[i].anchor),\n                           clipPos(this, ranges[i].head || ranges[i].anchor)); }\n      if (primary == null) { primary = Math.min(ranges.length - 1, this.sel.primIndex); }\n      setSelection(this, normalizeSelection(this.cm, out, primary), options);\n    }),\n    addSelection: docMethodOp(function(anchor, head, options) {\n      var ranges = this.sel.ranges.slice(0);\n      ranges.push(new Range(clipPos(this, anchor), clipPos(this, head || anchor)));\n      setSelection(this, normalizeSelection(this.cm, ranges, ranges.length - 1), options);\n    }),\n\n    getSelection: function(lineSep) {\n      var ranges = this.sel.ranges, lines;\n      for (var i = 0; i < ranges.length; i++) {\n        var sel = getBetween(this, ranges[i].from(), ranges[i].to());\n        lines = lines ? lines.concat(sel) : sel;\n      }\n      if (lineSep === false) { return lines }\n      else { return lines.join(lineSep || this.lineSeparator()) }\n    },\n    getSelections: function(lineSep) {\n      var parts = [], ranges = this.sel.ranges;\n      for (var i = 0; i < ranges.length; i++) {\n        var sel = getBetween(this, ranges[i].from(), ranges[i].to());\n        if (lineSep !== false) { sel = sel.join(lineSep || this.lineSeparator()); }\n        parts[i] = sel;\n      }\n      return parts\n    },\n    replaceSelection: function(code, collapse, origin) {\n      var dup = [];\n      for (var i = 0; i < this.sel.ranges.length; i++)\n        { dup[i] = code; }\n      this.replaceSelections(dup, collapse, origin || \"+input\");\n    },\n    replaceSelections: docMethodOp(function(code, collapse, origin) {\n      var changes = [], sel = this.sel;\n      for (var i = 0; i < sel.ranges.length; i++) {\n        var range = sel.ranges[i];\n        changes[i] = {from: range.from(), to: range.to(), text: this.splitLines(code[i]), origin: origin};\n      }\n      var newSel = collapse && collapse != \"end\" && computeReplacedSel(this, changes, collapse);\n      for (var i$1 = changes.length - 1; i$1 >= 0; i$1--)\n        { makeChange(this, changes[i$1]); }\n      if (newSel) { setSelectionReplaceHistory(this, newSel); }\n      else if (this.cm) { ensureCursorVisible(this.cm); }\n    }),\n    undo: docMethodOp(function() {makeChangeFromHistory(this, \"undo\");}),\n    redo: docMethodOp(function() {makeChangeFromHistory(this, \"redo\");}),\n    undoSelection: docMethodOp(function() {makeChangeFromHistory(this, \"undo\", true);}),\n    redoSelection: docMethodOp(function() {makeChangeFromHistory(this, \"redo\", true);}),\n\n    setExtending: function(val) {this.extend = val;},\n    getExtending: function() {return this.extend},\n\n    historySize: function() {\n      var hist = this.history, done = 0, undone = 0;\n      for (var i = 0; i < hist.done.length; i++) { if (!hist.done[i].ranges) { ++done; } }\n      for (var i$1 = 0; i$1 < hist.undone.length; i$1++) { if (!hist.undone[i$1].ranges) { ++undone; } }\n      return {undo: done, redo: undone}\n    },\n    clearHistory: function() {\n      var this$1 = this;\n\n      this.history = new History(this.history);\n      linkedDocs(this, function (doc) { return doc.history = this$1.history; }, true);\n    },\n\n    markClean: function() {\n      this.cleanGeneration = this.changeGeneration(true);\n    },\n    changeGeneration: function(forceSplit) {\n      if (forceSplit)\n        { this.history.lastOp = this.history.lastSelOp = this.history.lastOrigin = null; }\n      return this.history.generation\n    },\n    isClean: function (gen) {\n      return this.history.generation == (gen || this.cleanGeneration)\n    },\n\n    getHistory: function() {\n      return {done: copyHistoryArray(this.history.done),\n              undone: copyHistoryArray(this.history.undone)}\n    },\n    setHistory: function(histData) {\n      var hist = this.history = new History(this.history);\n      hist.done = copyHistoryArray(histData.done.slice(0), null, true);\n      hist.undone = copyHistoryArray(histData.undone.slice(0), null, true);\n    },\n\n    setGutterMarker: docMethodOp(function(line, gutterID, value) {\n      return changeLine(this, line, \"gutter\", function (line) {\n        var markers = line.gutterMarkers || (line.gutterMarkers = {});\n        markers[gutterID] = value;\n        if (!value && isEmpty(markers)) { line.gutterMarkers = null; }\n        return true\n      })\n    }),\n\n    clearGutter: docMethodOp(function(gutterID) {\n      var this$1 = this;\n\n      this.iter(function (line) {\n        if (line.gutterMarkers && line.gutterMarkers[gutterID]) {\n          changeLine(this$1, line, \"gutter\", function () {\n            line.gutterMarkers[gutterID] = null;\n            if (isEmpty(line.gutterMarkers)) { line.gutterMarkers = null; }\n            return true\n          });\n        }\n      });\n    }),\n\n    lineInfo: function(line) {\n      var n;\n      if (typeof line == \"number\") {\n        if (!isLine(this, line)) { return null }\n        n = line;\n        line = getLine(this, line);\n        if (!line) { return null }\n      } else {\n        n = lineNo(line);\n        if (n == null) { return null }\n      }\n      return {line: n, handle: line, text: line.text, gutterMarkers: line.gutterMarkers,\n              textClass: line.textClass, bgClass: line.bgClass, wrapClass: line.wrapClass,\n              widgets: line.widgets}\n    },\n\n    addLineClass: docMethodOp(function(handle, where, cls) {\n      return changeLine(this, handle, where == \"gutter\" ? \"gutter\" : \"class\", function (line) {\n        var prop = where == \"text\" ? \"textClass\"\n                 : where == \"background\" ? \"bgClass\"\n                 : where == \"gutter\" ? \"gutterClass\" : \"wrapClass\";\n        if (!line[prop]) { line[prop] = cls; }\n        else if (classTest(cls).test(line[prop])) { return false }\n        else { line[prop] += \" \" + cls; }\n        return true\n      })\n    }),\n    removeLineClass: docMethodOp(function(handle, where, cls) {\n      return changeLine(this, handle, where == \"gutter\" ? \"gutter\" : \"class\", function (line) {\n        var prop = where == \"text\" ? \"textClass\"\n                 : where == \"background\" ? \"bgClass\"\n                 : where == \"gutter\" ? \"gutterClass\" : \"wrapClass\";\n        var cur = line[prop];\n        if (!cur) { return false }\n        else if (cls == null) { line[prop] = null; }\n        else {\n          var found = cur.match(classTest(cls));\n          if (!found) { return false }\n          var end = found.index + found[0].length;\n          line[prop] = cur.slice(0, found.index) + (!found.index || end == cur.length ? \"\" : \" \") + cur.slice(end) || null;\n        }\n        return true\n      })\n    }),\n\n    addLineWidget: docMethodOp(function(handle, node, options) {\n      return addLineWidget(this, handle, node, options)\n    }),\n    removeLineWidget: function(widget) { widget.clear(); },\n\n    markText: function(from, to, options) {\n      return markText(this, clipPos(this, from), clipPos(this, to), options, options && options.type || \"range\")\n    },\n    setBookmark: function(pos, options) {\n      var realOpts = {replacedWith: options && (options.nodeType == null ? options.widget : options),\n                      insertLeft: options && options.insertLeft,\n                      clearWhenEmpty: false, shared: options && options.shared,\n                      handleMouseEvents: options && options.handleMouseEvents};\n      pos = clipPos(this, pos);\n      return markText(this, pos, pos, realOpts, \"bookmark\")\n    },\n    findMarksAt: function(pos) {\n      pos = clipPos(this, pos);\n      var markers = [], spans = getLine(this, pos.line).markedSpans;\n      if (spans) { for (var i = 0; i < spans.length; ++i) {\n        var span = spans[i];\n        if ((span.from == null || span.from <= pos.ch) &&\n            (span.to == null || span.to >= pos.ch))\n          { markers.push(span.marker.parent || span.marker); }\n      } }\n      return markers\n    },\n    findMarks: function(from, to, filter) {\n      from = clipPos(this, from); to = clipPos(this, to);\n      var found = [], lineNo = from.line;\n      this.iter(from.line, to.line + 1, function (line) {\n        var spans = line.markedSpans;\n        if (spans) { for (var i = 0; i < spans.length; i++) {\n          var span = spans[i];\n          if (!(span.to != null && lineNo == from.line && from.ch >= span.to ||\n                span.from == null && lineNo != from.line ||\n                span.from != null && lineNo == to.line && span.from >= to.ch) &&\n              (!filter || filter(span.marker)))\n            { found.push(span.marker.parent || span.marker); }\n        } }\n        ++lineNo;\n      });\n      return found\n    },\n    getAllMarks: function() {\n      var markers = [];\n      this.iter(function (line) {\n        var sps = line.markedSpans;\n        if (sps) { for (var i = 0; i < sps.length; ++i)\n          { if (sps[i].from != null) { markers.push(sps[i].marker); } } }\n      });\n      return markers\n    },\n\n    posFromIndex: function(off) {\n      var ch, lineNo = this.first, sepSize = this.lineSeparator().length;\n      this.iter(function (line) {\n        var sz = line.text.length + sepSize;\n        if (sz > off) { ch = off; return true }\n        off -= sz;\n        ++lineNo;\n      });\n      return clipPos(this, Pos(lineNo, ch))\n    },\n    indexFromPos: function (coords) {\n      coords = clipPos(this, coords);\n      var index = coords.ch;\n      if (coords.line < this.first || coords.ch < 0) { return 0 }\n      var sepSize = this.lineSeparator().length;\n      this.iter(this.first, coords.line, function (line) { // iter aborts when callback returns a truthy value\n        index += line.text.length + sepSize;\n      });\n      return index\n    },\n\n    copy: function(copyHistory) {\n      var doc = new Doc(getLines(this, this.first, this.first + this.size),\n                        this.modeOption, this.first, this.lineSep, this.direction);\n      doc.scrollTop = this.scrollTop; doc.scrollLeft = this.scrollLeft;\n      doc.sel = this.sel;\n      doc.extend = false;\n      if (copyHistory) {\n        doc.history.undoDepth = this.history.undoDepth;\n        doc.setHistory(this.getHistory());\n      }\n      return doc\n    },\n\n    linkedDoc: function(options) {\n      if (!options) { options = {}; }\n      var from = this.first, to = this.first + this.size;\n      if (options.from != null && options.from > from) { from = options.from; }\n      if (options.to != null && options.to < to) { to = options.to; }\n      var copy = new Doc(getLines(this, from, to), options.mode || this.modeOption, from, this.lineSep, this.direction);\n      if (options.sharedHist) { copy.history = this.history\n      ; }(this.linked || (this.linked = [])).push({doc: copy, sharedHist: options.sharedHist});\n      copy.linked = [{doc: this, isParent: true, sharedHist: options.sharedHist}];\n      copySharedMarkers(copy, findSharedMarkers(this));\n      return copy\n    },\n    unlinkDoc: function(other) {\n      if (other instanceof CodeMirror) { other = other.doc; }\n      if (this.linked) { for (var i = 0; i < this.linked.length; ++i) {\n        var link = this.linked[i];\n        if (link.doc != other) { continue }\n        this.linked.splice(i, 1);\n        other.unlinkDoc(this);\n        detachSharedMarkers(findSharedMarkers(this));\n        break\n      } }\n      // If the histories were shared, split them again\n      if (other.history == this.history) {\n        var splitIds = [other.id];\n        linkedDocs(other, function (doc) { return splitIds.push(doc.id); }, true);\n        other.history = new History(null);\n        other.history.done = copyHistoryArray(this.history.done, splitIds);\n        other.history.undone = copyHistoryArray(this.history.undone, splitIds);\n      }\n    },\n    iterLinkedDocs: function(f) {linkedDocs(this, f);},\n\n    getMode: function() {return this.mode},\n    getEditor: function() {return this.cm},\n\n    splitLines: function(str) {\n      if (this.lineSep) { return str.split(this.lineSep) }\n      return splitLinesAuto(str)\n    },\n    lineSeparator: function() { return this.lineSep || \"\\n\" },\n\n    setDirection: docMethodOp(function (dir) {\n      if (dir != \"rtl\") { dir = \"ltr\"; }\n      if (dir == this.direction) { return }\n      this.direction = dir;\n      this.iter(function (line) { return line.order = null; });\n      if (this.cm) { directionChanged(this.cm); }\n    })\n  });\n\n  // Public alias.\n  Doc.prototype.eachLine = Doc.prototype.iter;\n\n  // Kludge to work around strange IE behavior where it'll sometimes\n  // re-fire a series of drag-related events right after the drop (#1551)\n  var lastDrop = 0;\n\n  function onDrop(e) {\n    var cm = this;\n    clearDragCursor(cm);\n    if (signalDOMEvent(cm, e) || eventInWidget(cm.display, e))\n      { return }\n    e_preventDefault(e);\n    if (ie) { lastDrop = +new Date; }\n    var pos = posFromMouse(cm, e, true), files = e.dataTransfer.files;\n    if (!pos || cm.isReadOnly()) { return }\n    // Might be a file drop, in which case we simply extract the text\n    // and insert it.\n    if (files && files.length && window.FileReader && window.File) {\n      var n = files.length, text = Array(n), read = 0;\n      var markAsReadAndPasteIfAllFilesAreRead = function () {\n        if (++read == n) {\n          operation(cm, function () {\n            pos = clipPos(cm.doc, pos);\n            var change = {from: pos, to: pos,\n                          text: cm.doc.splitLines(\n                              text.filter(function (t) { return t != null; }).join(cm.doc.lineSeparator())),\n                          origin: \"paste\"};\n            makeChange(cm.doc, change);\n            setSelectionReplaceHistory(cm.doc, simpleSelection(clipPos(cm.doc, pos), clipPos(cm.doc, changeEnd(change))));\n          })();\n        }\n      };\n      var readTextFromFile = function (file, i) {\n        if (cm.options.allowDropFileTypes &&\n            indexOf(cm.options.allowDropFileTypes, file.type) == -1) {\n          markAsReadAndPasteIfAllFilesAreRead();\n          return\n        }\n        var reader = new FileReader;\n        reader.onerror = function () { return markAsReadAndPasteIfAllFilesAreRead(); };\n        reader.onload = function () {\n          var content = reader.result;\n          if (/[\\x00-\\x08\\x0e-\\x1f]{2}/.test(content)) {\n            markAsReadAndPasteIfAllFilesAreRead();\n            return\n          }\n          text[i] = content;\n          markAsReadAndPasteIfAllFilesAreRead();\n        };\n        reader.readAsText(file);\n      };\n      for (var i = 0; i < files.length; i++) { readTextFromFile(files[i], i); }\n    } else { // Normal drop\n      // Don't do a replace if the drop happened inside of the selected text.\n      if (cm.state.draggingText && cm.doc.sel.contains(pos) > -1) {\n        cm.state.draggingText(e);\n        // Ensure the editor is re-focused\n        setTimeout(function () { return cm.display.input.focus(); }, 20);\n        return\n      }\n      try {\n        var text$1 = e.dataTransfer.getData(\"Text\");\n        if (text$1) {\n          var selected;\n          if (cm.state.draggingText && !cm.state.draggingText.copy)\n            { selected = cm.listSelections(); }\n          setSelectionNoUndo(cm.doc, simpleSelection(pos, pos));\n          if (selected) { for (var i$1 = 0; i$1 < selected.length; ++i$1)\n            { replaceRange(cm.doc, \"\", selected[i$1].anchor, selected[i$1].head, \"drag\"); } }\n          cm.replaceSelection(text$1, \"around\", \"paste\");\n          cm.display.input.focus();\n        }\n      }\n      catch(e$1){}\n    }\n  }\n\n  function onDragStart(cm, e) {\n    if (ie && (!cm.state.draggingText || +new Date - lastDrop < 100)) { e_stop(e); return }\n    if (signalDOMEvent(cm, e) || eventInWidget(cm.display, e)) { return }\n\n    e.dataTransfer.setData(\"Text\", cm.getSelection());\n    e.dataTransfer.effectAllowed = \"copyMove\";\n\n    // Use dummy image instead of default browsers image.\n    // Recent Safari (~6.0.2) have a tendency to segfault when this happens, so we don't do it there.\n    if (e.dataTransfer.setDragImage && !safari) {\n      var img = elt(\"img\", null, null, \"position: fixed; left: 0; top: 0;\");\n      img.src = \"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==\";\n      if (presto) {\n        img.width = img.height = 1;\n        cm.display.wrapper.appendChild(img);\n        // Force a relayout, or Opera won't use our image for some obscure reason\n        img._top = img.offsetTop;\n      }\n      e.dataTransfer.setDragImage(img, 0, 0);\n      if (presto) { img.parentNode.removeChild(img); }\n    }\n  }\n\n  function onDragOver(cm, e) {\n    var pos = posFromMouse(cm, e);\n    if (!pos) { return }\n    var frag = document.createDocumentFragment();\n    drawSelectionCursor(cm, pos, frag);\n    if (!cm.display.dragCursor) {\n      cm.display.dragCursor = elt(\"div\", null, \"CodeMirror-cursors CodeMirror-dragcursors\");\n      cm.display.lineSpace.insertBefore(cm.display.dragCursor, cm.display.cursorDiv);\n    }\n    removeChildrenAndAdd(cm.display.dragCursor, frag);\n  }\n\n  function clearDragCursor(cm) {\n    if (cm.display.dragCursor) {\n      cm.display.lineSpace.removeChild(cm.display.dragCursor);\n      cm.display.dragCursor = null;\n    }\n  }\n\n  // These must be handled carefully, because naively registering a\n  // handler for each editor will cause the editors to never be\n  // garbage collected.\n\n  function forEachCodeMirror(f) {\n    if (!document.getElementsByClassName) { return }\n    var byClass = document.getElementsByClassName(\"CodeMirror\"), editors = [];\n    for (var i = 0; i < byClass.length; i++) {\n      var cm = byClass[i].CodeMirror;\n      if (cm) { editors.push(cm); }\n    }\n    if (editors.length) { editors[0].operation(function () {\n      for (var i = 0; i < editors.length; i++) { f(editors[i]); }\n    }); }\n  }\n\n  var globalsRegistered = false;\n  function ensureGlobalHandlers() {\n    if (globalsRegistered) { return }\n    registerGlobalHandlers();\n    globalsRegistered = true;\n  }\n  function registerGlobalHandlers() {\n    // When the window resizes, we need to refresh active editors.\n    var resizeTimer;\n    on(window, \"resize\", function () {\n      if (resizeTimer == null) { resizeTimer = setTimeout(function () {\n        resizeTimer = null;\n        forEachCodeMirror(onResize);\n      }, 100); }\n    });\n    // When the window loses focus, we want to show the editor as blurred\n    on(window, \"blur\", function () { return forEachCodeMirror(onBlur); });\n  }\n  // Called when the window resizes\n  function onResize(cm) {\n    var d = cm.display;\n    // Might be a text scaling operation, clear size caches.\n    d.cachedCharWidth = d.cachedTextHeight = d.cachedPaddingH = null;\n    d.scrollbarsClipped = false;\n    cm.setSize();\n  }\n\n  var keyNames = {\n    3: \"Pause\", 8: \"Backspace\", 9: \"Tab\", 13: \"Enter\", 16: \"Shift\", 17: \"Ctrl\", 18: \"Alt\",\n    19: \"Pause\", 20: \"CapsLock\", 27: \"Esc\", 32: \"Space\", 33: \"PageUp\", 34: \"PageDown\", 35: \"End\",\n    36: \"Home\", 37: \"Left\", 38: \"Up\", 39: \"Right\", 40: \"Down\", 44: \"PrintScrn\", 45: \"Insert\",\n    46: \"Delete\", 59: \";\", 61: \"=\", 91: \"Mod\", 92: \"Mod\", 93: \"Mod\",\n    106: \"*\", 107: \"=\", 109: \"-\", 110: \".\", 111: \"/\", 145: \"ScrollLock\",\n    173: \"-\", 186: \";\", 187: \"=\", 188: \",\", 189: \"-\", 190: \".\", 191: \"/\", 192: \"`\", 219: \"[\", 220: \"\\\\\",\n    221: \"]\", 222: \"'\", 224: \"Mod\", 63232: \"Up\", 63233: \"Down\", 63234: \"Left\", 63235: \"Right\", 63272: \"Delete\",\n    63273: \"Home\", 63275: \"End\", 63276: \"PageUp\", 63277: \"PageDown\", 63302: \"Insert\"\n  };\n\n  // Number keys\n  for (var i = 0; i < 10; i++) { keyNames[i + 48] = keyNames[i + 96] = String(i); }\n  // Alphabetic keys\n  for (var i$1 = 65; i$1 <= 90; i$1++) { keyNames[i$1] = String.fromCharCode(i$1); }\n  // Function keys\n  for (var i$2 = 1; i$2 <= 12; i$2++) { keyNames[i$2 + 111] = keyNames[i$2 + 63235] = \"F\" + i$2; }\n\n  var keyMap = {};\n\n  keyMap.basic = {\n    \"Left\": \"goCharLeft\", \"Right\": \"goCharRight\", \"Up\": \"goLineUp\", \"Down\": \"goLineDown\",\n    \"End\": \"goLineEnd\", \"Home\": \"goLineStartSmart\", \"PageUp\": \"goPageUp\", \"PageDown\": \"goPageDown\",\n    \"Delete\": \"delCharAfter\", \"Backspace\": \"delCharBefore\", \"Shift-Backspace\": \"delCharBefore\",\n    \"Tab\": \"defaultTab\", \"Shift-Tab\": \"indentAuto\",\n    \"Enter\": \"newlineAndIndent\", \"Insert\": \"toggleOverwrite\",\n    \"Esc\": \"singleSelection\"\n  };\n  // Note that the save and find-related commands aren't defined by\n  // default. User code or addons can define them. Unknown commands\n  // are simply ignored.\n  keyMap.pcDefault = {\n    \"Ctrl-A\": \"selectAll\", \"Ctrl-D\": \"deleteLine\", \"Ctrl-Z\": \"undo\", \"Shift-Ctrl-Z\": \"redo\", \"Ctrl-Y\": \"redo\",\n    \"Ctrl-Home\": \"goDocStart\", \"Ctrl-End\": \"goDocEnd\", \"Ctrl-Up\": \"goLineUp\", \"Ctrl-Down\": \"goLineDown\",\n    \"Ctrl-Left\": \"goGroupLeft\", \"Ctrl-Right\": \"goGroupRight\", \"Alt-Left\": \"goLineStart\", \"Alt-Right\": \"goLineEnd\",\n    \"Ctrl-Backspace\": \"delGroupBefore\", \"Ctrl-Delete\": \"delGroupAfter\", \"Ctrl-S\": \"save\", \"Ctrl-F\": \"find\",\n    \"Ctrl-G\": \"findNext\", \"Shift-Ctrl-G\": \"findPrev\", \"Shift-Ctrl-F\": \"replace\", \"Shift-Ctrl-R\": \"replaceAll\",\n    \"Ctrl-[\": \"indentLess\", \"Ctrl-]\": \"indentMore\",\n    \"Ctrl-U\": \"undoSelection\", \"Shift-Ctrl-U\": \"redoSelection\", \"Alt-U\": \"redoSelection\",\n    \"fallthrough\": \"basic\"\n  };\n  // Very basic readline/emacs-style bindings, which are standard on Mac.\n  keyMap.emacsy = {\n    \"Ctrl-F\": \"goCharRight\", \"Ctrl-B\": \"goCharLeft\", \"Ctrl-P\": \"goLineUp\", \"Ctrl-N\": \"goLineDown\",\n    \"Ctrl-A\": \"goLineStart\", \"Ctrl-E\": \"goLineEnd\", \"Ctrl-V\": \"goPageDown\", \"Shift-Ctrl-V\": \"goPageUp\",\n    \"Ctrl-D\": \"delCharAfter\", \"Ctrl-H\": \"delCharBefore\", \"Alt-Backspace\": \"delWordBefore\", \"Ctrl-K\": \"killLine\",\n    \"Ctrl-T\": \"transposeChars\", \"Ctrl-O\": \"openLine\"\n  };\n  keyMap.macDefault = {\n    \"Cmd-A\": \"selectAll\", \"Cmd-D\": \"deleteLine\", \"Cmd-Z\": \"undo\", \"Shift-Cmd-Z\": \"redo\", \"Cmd-Y\": \"redo\",\n    \"Cmd-Home\": \"goDocStart\", \"Cmd-Up\": \"goDocStart\", \"Cmd-End\": \"goDocEnd\", \"Cmd-Down\": \"goDocEnd\", \"Alt-Left\": \"goGroupLeft\",\n    \"Alt-Right\": \"goGroupRight\", \"Cmd-Left\": \"goLineLeft\", \"Cmd-Right\": \"goLineRight\", \"Alt-Backspace\": \"delGroupBefore\",\n    \"Ctrl-Alt-Backspace\": \"delGroupAfter\", \"Alt-Delete\": \"delGroupAfter\", \"Cmd-S\": \"save\", \"Cmd-F\": \"find\",\n    \"Cmd-G\": \"findNext\", \"Shift-Cmd-G\": \"findPrev\", \"Cmd-Alt-F\": \"replace\", \"Shift-Cmd-Alt-F\": \"replaceAll\",\n    \"Cmd-[\": \"indentLess\", \"Cmd-]\": \"indentMore\", \"Cmd-Backspace\": \"delWrappedLineLeft\", \"Cmd-Delete\": \"delWrappedLineRight\",\n    \"Cmd-U\": \"undoSelection\", \"Shift-Cmd-U\": \"redoSelection\", \"Ctrl-Up\": \"goDocStart\", \"Ctrl-Down\": \"goDocEnd\",\n    \"fallthrough\": [\"basic\", \"emacsy\"]\n  };\n  keyMap[\"default\"] = mac ? keyMap.macDefault : keyMap.pcDefault;\n\n  // KEYMAP DISPATCH\n\n  function normalizeKeyName(name) {\n    var parts = name.split(/-(?!$)/);\n    name = parts[parts.length - 1];\n    var alt, ctrl, shift, cmd;\n    for (var i = 0; i < parts.length - 1; i++) {\n      var mod = parts[i];\n      if (/^(cmd|meta|m)$/i.test(mod)) { cmd = true; }\n      else if (/^a(lt)?$/i.test(mod)) { alt = true; }\n      else if (/^(c|ctrl|control)$/i.test(mod)) { ctrl = true; }\n      else if (/^s(hift)?$/i.test(mod)) { shift = true; }\n      else { throw new Error(\"Unrecognized modifier name: \" + mod) }\n    }\n    if (alt) { name = \"Alt-\" + name; }\n    if (ctrl) { name = \"Ctrl-\" + name; }\n    if (cmd) { name = \"Cmd-\" + name; }\n    if (shift) { name = \"Shift-\" + name; }\n    return name\n  }\n\n  // This is a kludge to keep keymaps mostly working as raw objects\n  // (backwards compatibility) while at the same time support features\n  // like normalization and multi-stroke key bindings. It compiles a\n  // new normalized keymap, and then updates the old object to reflect\n  // this.\n  function normalizeKeyMap(keymap) {\n    var copy = {};\n    for (var keyname in keymap) { if (keymap.hasOwnProperty(keyname)) {\n      var value = keymap[keyname];\n      if (/^(name|fallthrough|(de|at)tach)$/.test(keyname)) { continue }\n      if (value == \"...\") { delete keymap[keyname]; continue }\n\n      var keys = map(keyname.split(\" \"), normalizeKeyName);\n      for (var i = 0; i < keys.length; i++) {\n        var val = (void 0), name = (void 0);\n        if (i == keys.length - 1) {\n          name = keys.join(\" \");\n          val = value;\n        } else {\n          name = keys.slice(0, i + 1).join(\" \");\n          val = \"...\";\n        }\n        var prev = copy[name];\n        if (!prev) { copy[name] = val; }\n        else if (prev != val) { throw new Error(\"Inconsistent bindings for \" + name) }\n      }\n      delete keymap[keyname];\n    } }\n    for (var prop in copy) { keymap[prop] = copy[prop]; }\n    return keymap\n  }\n\n  function lookupKey(key, map, handle, context) {\n    map = getKeyMap(map);\n    var found = map.call ? map.call(key, context) : map[key];\n    if (found === false) { return \"nothing\" }\n    if (found === \"...\") { return \"multi\" }\n    if (found != null && handle(found)) { return \"handled\" }\n\n    if (map.fallthrough) {\n      if (Object.prototype.toString.call(map.fallthrough) != \"[object Array]\")\n        { return lookupKey(key, map.fallthrough, handle, context) }\n      for (var i = 0; i < map.fallthrough.length; i++) {\n        var result = lookupKey(key, map.fallthrough[i], handle, context);\n        if (result) { return result }\n      }\n    }\n  }\n\n  // Modifier key presses don't count as 'real' key presses for the\n  // purpose of keymap fallthrough.\n  function isModifierKey(value) {\n    var name = typeof value == \"string\" ? value : keyNames[value.keyCode];\n    return name == \"Ctrl\" || name == \"Alt\" || name == \"Shift\" || name == \"Mod\"\n  }\n\n  function addModifierNames(name, event, noShift) {\n    var base = name;\n    if (event.altKey && base != \"Alt\") { name = \"Alt-\" + name; }\n    if ((flipCtrlCmd ? event.metaKey : event.ctrlKey) && base != \"Ctrl\") { name = \"Ctrl-\" + name; }\n    if ((flipCtrlCmd ? event.ctrlKey : event.metaKey) && base != \"Mod\") { name = \"Cmd-\" + name; }\n    if (!noShift && event.shiftKey && base != \"Shift\") { name = \"Shift-\" + name; }\n    return name\n  }\n\n  // Look up the name of a key as indicated by an event object.\n  function keyName(event, noShift) {\n    if (presto && event.keyCode == 34 && event[\"char\"]) { return false }\n    var name = keyNames[event.keyCode];\n    if (name == null || event.altGraphKey) { return false }\n    // Ctrl-ScrollLock has keyCode 3, same as Ctrl-Pause,\n    // so we'll use event.code when available (Chrome 48+, FF 38+, Safari 10.1+)\n    if (event.keyCode == 3 && event.code) { name = event.code; }\n    return addModifierNames(name, event, noShift)\n  }\n\n  function getKeyMap(val) {\n    return typeof val == \"string\" ? keyMap[val] : val\n  }\n\n  // Helper for deleting text near the selection(s), used to implement\n  // backspace, delete, and similar functionality.\n  function deleteNearSelection(cm, compute) {\n    var ranges = cm.doc.sel.ranges, kill = [];\n    // Build up a set of ranges to kill first, merging overlapping\n    // ranges.\n    for (var i = 0; i < ranges.length; i++) {\n      var toKill = compute(ranges[i]);\n      while (kill.length && cmp(toKill.from, lst(kill).to) <= 0) {\n        var replaced = kill.pop();\n        if (cmp(replaced.from, toKill.from) < 0) {\n          toKill.from = replaced.from;\n          break\n        }\n      }\n      kill.push(toKill);\n    }\n    // Next, remove those actual ranges.\n    runInOp(cm, function () {\n      for (var i = kill.length - 1; i >= 0; i--)\n        { replaceRange(cm.doc, \"\", kill[i].from, kill[i].to, \"+delete\"); }\n      ensureCursorVisible(cm);\n    });\n  }\n\n  function moveCharLogically(line, ch, dir) {\n    var target = skipExtendingChars(line.text, ch + dir, dir);\n    return target < 0 || target > line.text.length ? null : target\n  }\n\n  function moveLogically(line, start, dir) {\n    var ch = moveCharLogically(line, start.ch, dir);\n    return ch == null ? null : new Pos(start.line, ch, dir < 0 ? \"after\" : \"before\")\n  }\n\n  function endOfLine(visually, cm, lineObj, lineNo, dir) {\n    if (visually) {\n      if (cm.doc.direction == \"rtl\") { dir = -dir; }\n      var order = getOrder(lineObj, cm.doc.direction);\n      if (order) {\n        var part = dir < 0 ? lst(order) : order[0];\n        var moveInStorageOrder = (dir < 0) == (part.level == 1);\n        var sticky = moveInStorageOrder ? \"after\" : \"before\";\n        var ch;\n        // With a wrapped rtl chunk (possibly spanning multiple bidi parts),\n        // it could be that the last bidi part is not on the last visual line,\n        // since visual lines contain content order-consecutive chunks.\n        // Thus, in rtl, we are looking for the first (content-order) character\n        // in the rtl chunk that is on the last line (that is, the same line\n        // as the last (content-order) character).\n        if (part.level > 0 || cm.doc.direction == \"rtl\") {\n          var prep = prepareMeasureForLine(cm, lineObj);\n          ch = dir < 0 ? lineObj.text.length - 1 : 0;\n          var targetTop = measureCharPrepared(cm, prep, ch).top;\n          ch = findFirst(function (ch) { return measureCharPrepared(cm, prep, ch).top == targetTop; }, (dir < 0) == (part.level == 1) ? part.from : part.to - 1, ch);\n          if (sticky == \"before\") { ch = moveCharLogically(lineObj, ch, 1); }\n        } else { ch = dir < 0 ? part.to : part.from; }\n        return new Pos(lineNo, ch, sticky)\n      }\n    }\n    return new Pos(lineNo, dir < 0 ? lineObj.text.length : 0, dir < 0 ? \"before\" : \"after\")\n  }\n\n  function moveVisually(cm, line, start, dir) {\n    var bidi = getOrder(line, cm.doc.direction);\n    if (!bidi) { return moveLogically(line, start, dir) }\n    if (start.ch >= line.text.length) {\n      start.ch = line.text.length;\n      start.sticky = \"before\";\n    } else if (start.ch <= 0) {\n      start.ch = 0;\n      start.sticky = \"after\";\n    }\n    var partPos = getBidiPartAt(bidi, start.ch, start.sticky), part = bidi[partPos];\n    if (cm.doc.direction == \"ltr\" && part.level % 2 == 0 && (dir > 0 ? part.to > start.ch : part.from < start.ch)) {\n      // Case 1: We move within an ltr part in an ltr editor. Even with wrapped lines,\n      // nothing interesting happens.\n      return moveLogically(line, start, dir)\n    }\n\n    var mv = function (pos, dir) { return moveCharLogically(line, pos instanceof Pos ? pos.ch : pos, dir); };\n    var prep;\n    var getWrappedLineExtent = function (ch) {\n      if (!cm.options.lineWrapping) { return {begin: 0, end: line.text.length} }\n      prep = prep || prepareMeasureForLine(cm, line);\n      return wrappedLineExtentChar(cm, line, prep, ch)\n    };\n    var wrappedLineExtent = getWrappedLineExtent(start.sticky == \"before\" ? mv(start, -1) : start.ch);\n\n    if (cm.doc.direction == \"rtl\" || part.level == 1) {\n      var moveInStorageOrder = (part.level == 1) == (dir < 0);\n      var ch = mv(start, moveInStorageOrder ? 1 : -1);\n      if (ch != null && (!moveInStorageOrder ? ch >= part.from && ch >= wrappedLineExtent.begin : ch <= part.to && ch <= wrappedLineExtent.end)) {\n        // Case 2: We move within an rtl part or in an rtl editor on the same visual line\n        var sticky = moveInStorageOrder ? \"before\" : \"after\";\n        return new Pos(start.line, ch, sticky)\n      }\n    }\n\n    // Case 3: Could not move within this bidi part in this visual line, so leave\n    // the current bidi part\n\n    var searchInVisualLine = function (partPos, dir, wrappedLineExtent) {\n      var getRes = function (ch, moveInStorageOrder) { return moveInStorageOrder\n        ? new Pos(start.line, mv(ch, 1), \"before\")\n        : new Pos(start.line, ch, \"after\"); };\n\n      for (; partPos >= 0 && partPos < bidi.length; partPos += dir) {\n        var part = bidi[partPos];\n        var moveInStorageOrder = (dir > 0) == (part.level != 1);\n        var ch = moveInStorageOrder ? wrappedLineExtent.begin : mv(wrappedLineExtent.end, -1);\n        if (part.from <= ch && ch < part.to) { return getRes(ch, moveInStorageOrder) }\n        ch = moveInStorageOrder ? part.from : mv(part.to, -1);\n        if (wrappedLineExtent.begin <= ch && ch < wrappedLineExtent.end) { return getRes(ch, moveInStorageOrder) }\n      }\n    };\n\n    // Case 3a: Look for other bidi parts on the same visual line\n    var res = searchInVisualLine(partPos + dir, dir, wrappedLineExtent);\n    if (res) { return res }\n\n    // Case 3b: Look for other bidi parts on the next visual line\n    var nextCh = dir > 0 ? wrappedLineExtent.end : mv(wrappedLineExtent.begin, -1);\n    if (nextCh != null && !(dir > 0 && nextCh == line.text.length)) {\n      res = searchInVisualLine(dir > 0 ? 0 : bidi.length - 1, dir, getWrappedLineExtent(nextCh));\n      if (res) { return res }\n    }\n\n    // Case 4: Nowhere to move\n    return null\n  }\n\n  // Commands are parameter-less actions that can be performed on an\n  // editor, mostly used for keybindings.\n  var commands = {\n    selectAll: selectAll,\n    singleSelection: function (cm) { return cm.setSelection(cm.getCursor(\"anchor\"), cm.getCursor(\"head\"), sel_dontScroll); },\n    killLine: function (cm) { return deleteNearSelection(cm, function (range) {\n      if (range.empty()) {\n        var len = getLine(cm.doc, range.head.line).text.length;\n        if (range.head.ch == len && range.head.line < cm.lastLine())\n          { return {from: range.head, to: Pos(range.head.line + 1, 0)} }\n        else\n          { return {from: range.head, to: Pos(range.head.line, len)} }\n      } else {\n        return {from: range.from(), to: range.to()}\n      }\n    }); },\n    deleteLine: function (cm) { return deleteNearSelection(cm, function (range) { return ({\n      from: Pos(range.from().line, 0),\n      to: clipPos(cm.doc, Pos(range.to().line + 1, 0))\n    }); }); },\n    delLineLeft: function (cm) { return deleteNearSelection(cm, function (range) { return ({\n      from: Pos(range.from().line, 0), to: range.from()\n    }); }); },\n    delWrappedLineLeft: function (cm) { return deleteNearSelection(cm, function (range) {\n      var top = cm.charCoords(range.head, \"div\").top + 5;\n      var leftPos = cm.coordsChar({left: 0, top: top}, \"div\");\n      return {from: leftPos, to: range.from()}\n    }); },\n    delWrappedLineRight: function (cm) { return deleteNearSelection(cm, function (range) {\n      var top = cm.charCoords(range.head, \"div\").top + 5;\n      var rightPos = cm.coordsChar({left: cm.display.lineDiv.offsetWidth + 100, top: top}, \"div\");\n      return {from: range.from(), to: rightPos }\n    }); },\n    undo: function (cm) { return cm.undo(); },\n    redo: function (cm) { return cm.redo(); },\n    undoSelection: function (cm) { return cm.undoSelection(); },\n    redoSelection: function (cm) { return cm.redoSelection(); },\n    goDocStart: function (cm) { return cm.extendSelection(Pos(cm.firstLine(), 0)); },\n    goDocEnd: function (cm) { return cm.extendSelection(Pos(cm.lastLine())); },\n    goLineStart: function (cm) { return cm.extendSelectionsBy(function (range) { return lineStart(cm, range.head.line); },\n      {origin: \"+move\", bias: 1}\n    ); },\n    goLineStartSmart: function (cm) { return cm.extendSelectionsBy(function (range) { return lineStartSmart(cm, range.head); },\n      {origin: \"+move\", bias: 1}\n    ); },\n    goLineEnd: function (cm) { return cm.extendSelectionsBy(function (range) { return lineEnd(cm, range.head.line); },\n      {origin: \"+move\", bias: -1}\n    ); },\n    goLineRight: function (cm) { return cm.extendSelectionsBy(function (range) {\n      var top = cm.cursorCoords(range.head, \"div\").top + 5;\n      return cm.coordsChar({left: cm.display.lineDiv.offsetWidth + 100, top: top}, \"div\")\n    }, sel_move); },\n    goLineLeft: function (cm) { return cm.extendSelectionsBy(function (range) {\n      var top = cm.cursorCoords(range.head, \"div\").top + 5;\n      return cm.coordsChar({left: 0, top: top}, \"div\")\n    }, sel_move); },\n    goLineLeftSmart: function (cm) { return cm.extendSelectionsBy(function (range) {\n      var top = cm.cursorCoords(range.head, \"div\").top + 5;\n      var pos = cm.coordsChar({left: 0, top: top}, \"div\");\n      if (pos.ch < cm.getLine(pos.line).search(/\\S/)) { return lineStartSmart(cm, range.head) }\n      return pos\n    }, sel_move); },\n    goLineUp: function (cm) { return cm.moveV(-1, \"line\"); },\n    goLineDown: function (cm) { return cm.moveV(1, \"line\"); },\n    goPageUp: function (cm) { return cm.moveV(-1, \"page\"); },\n    goPageDown: function (cm) { return cm.moveV(1, \"page\"); },\n    goCharLeft: function (cm) { return cm.moveH(-1, \"char\"); },\n    goCharRight: function (cm) { return cm.moveH(1, \"char\"); },\n    goColumnLeft: function (cm) { return cm.moveH(-1, \"column\"); },\n    goColumnRight: function (cm) { return cm.moveH(1, \"column\"); },\n    goWordLeft: function (cm) { return cm.moveH(-1, \"word\"); },\n    goGroupRight: function (cm) { return cm.moveH(1, \"group\"); },\n    goGroupLeft: function (cm) { return cm.moveH(-1, \"group\"); },\n    goWordRight: function (cm) { return cm.moveH(1, \"word\"); },\n    delCharBefore: function (cm) { return cm.deleteH(-1, \"codepoint\"); },\n    delCharAfter: function (cm) { return cm.deleteH(1, \"char\"); },\n    delWordBefore: function (cm) { return cm.deleteH(-1, \"word\"); },\n    delWordAfter: function (cm) { return cm.deleteH(1, \"word\"); },\n    delGroupBefore: function (cm) { return cm.deleteH(-1, \"group\"); },\n    delGroupAfter: function (cm) { return cm.deleteH(1, \"group\"); },\n    indentAuto: function (cm) { return cm.indentSelection(\"smart\"); },\n    indentMore: function (cm) { return cm.indentSelection(\"add\"); },\n    indentLess: function (cm) { return cm.indentSelection(\"subtract\"); },\n    insertTab: function (cm) { return cm.replaceSelection(\"\\t\"); },\n    insertSoftTab: function (cm) {\n      var spaces = [], ranges = cm.listSelections(), tabSize = cm.options.tabSize;\n      for (var i = 0; i < ranges.length; i++) {\n        var pos = ranges[i].from();\n        var col = countColumn(cm.getLine(pos.line), pos.ch, tabSize);\n        spaces.push(spaceStr(tabSize - col % tabSize));\n      }\n      cm.replaceSelections(spaces);\n    },\n    defaultTab: function (cm) {\n      if (cm.somethingSelected()) { cm.indentSelection(\"add\"); }\n      else { cm.execCommand(\"insertTab\"); }\n    },\n    // Swap the two chars left and right of each selection's head.\n    // Move cursor behind the two swapped characters afterwards.\n    //\n    // Doesn't consider line feeds a character.\n    // Doesn't scan more than one line above to find a character.\n    // Doesn't do anything on an empty line.\n    // Doesn't do anything with non-empty selections.\n    transposeChars: function (cm) { return runInOp(cm, function () {\n      var ranges = cm.listSelections(), newSel = [];\n      for (var i = 0; i < ranges.length; i++) {\n        if (!ranges[i].empty()) { continue }\n        var cur = ranges[i].head, line = getLine(cm.doc, cur.line).text;\n        if (line) {\n          if (cur.ch == line.length) { cur = new Pos(cur.line, cur.ch - 1); }\n          if (cur.ch > 0) {\n            cur = new Pos(cur.line, cur.ch + 1);\n            cm.replaceRange(line.charAt(cur.ch - 1) + line.charAt(cur.ch - 2),\n                            Pos(cur.line, cur.ch - 2), cur, \"+transpose\");\n          } else if (cur.line > cm.doc.first) {\n            var prev = getLine(cm.doc, cur.line - 1).text;\n            if (prev) {\n              cur = new Pos(cur.line, 1);\n              cm.replaceRange(line.charAt(0) + cm.doc.lineSeparator() +\n                              prev.charAt(prev.length - 1),\n                              Pos(cur.line - 1, prev.length - 1), cur, \"+transpose\");\n            }\n          }\n        }\n        newSel.push(new Range(cur, cur));\n      }\n      cm.setSelections(newSel);\n    }); },\n    newlineAndIndent: function (cm) { return runInOp(cm, function () {\n      var sels = cm.listSelections();\n      for (var i = sels.length - 1; i >= 0; i--)\n        { cm.replaceRange(cm.doc.lineSeparator(), sels[i].anchor, sels[i].head, \"+input\"); }\n      sels = cm.listSelections();\n      for (var i$1 = 0; i$1 < sels.length; i$1++)\n        { cm.indentLine(sels[i$1].from().line, null, true); }\n      ensureCursorVisible(cm);\n    }); },\n    openLine: function (cm) { return cm.replaceSelection(\"\\n\", \"start\"); },\n    toggleOverwrite: function (cm) { return cm.toggleOverwrite(); }\n  };\n\n\n  function lineStart(cm, lineN) {\n    var line = getLine(cm.doc, lineN);\n    var visual = visualLine(line);\n    if (visual != line) { lineN = lineNo(visual); }\n    return endOfLine(true, cm, visual, lineN, 1)\n  }\n  function lineEnd(cm, lineN) {\n    var line = getLine(cm.doc, lineN);\n    var visual = visualLineEnd(line);\n    if (visual != line) { lineN = lineNo(visual); }\n    return endOfLine(true, cm, line, lineN, -1)\n  }\n  function lineStartSmart(cm, pos) {\n    var start = lineStart(cm, pos.line);\n    var line = getLine(cm.doc, start.line);\n    var order = getOrder(line, cm.doc.direction);\n    if (!order || order[0].level == 0) {\n      var firstNonWS = Math.max(start.ch, line.text.search(/\\S/));\n      var inWS = pos.line == start.line && pos.ch <= firstNonWS && pos.ch;\n      return Pos(start.line, inWS ? 0 : firstNonWS, start.sticky)\n    }\n    return start\n  }\n\n  // Run a handler that was bound to a key.\n  function doHandleBinding(cm, bound, dropShift) {\n    if (typeof bound == \"string\") {\n      bound = commands[bound];\n      if (!bound) { return false }\n    }\n    // Ensure previous input has been read, so that the handler sees a\n    // consistent view of the document\n    cm.display.input.ensurePolled();\n    var prevShift = cm.display.shift, done = false;\n    try {\n      if (cm.isReadOnly()) { cm.state.suppressEdits = true; }\n      if (dropShift) { cm.display.shift = false; }\n      done = bound(cm) != Pass;\n    } finally {\n      cm.display.shift = prevShift;\n      cm.state.suppressEdits = false;\n    }\n    return done\n  }\n\n  function lookupKeyForEditor(cm, name, handle) {\n    for (var i = 0; i < cm.state.keyMaps.length; i++) {\n      var result = lookupKey(name, cm.state.keyMaps[i], handle, cm);\n      if (result) { return result }\n    }\n    return (cm.options.extraKeys && lookupKey(name, cm.options.extraKeys, handle, cm))\n      || lookupKey(name, cm.options.keyMap, handle, cm)\n  }\n\n  // Note that, despite the name, this function is also used to check\n  // for bound mouse clicks.\n\n  var stopSeq = new Delayed;\n\n  function dispatchKey(cm, name, e, handle) {\n    var seq = cm.state.keySeq;\n    if (seq) {\n      if (isModifierKey(name)) { return \"handled\" }\n      if (/\\'$/.test(name))\n        { cm.state.keySeq = null; }\n      else\n        { stopSeq.set(50, function () {\n          if (cm.state.keySeq == seq) {\n            cm.state.keySeq = null;\n            cm.display.input.reset();\n          }\n        }); }\n      if (dispatchKeyInner(cm, seq + \" \" + name, e, handle)) { return true }\n    }\n    return dispatchKeyInner(cm, name, e, handle)\n  }\n\n  function dispatchKeyInner(cm, name, e, handle) {\n    var result = lookupKeyForEditor(cm, name, handle);\n\n    if (result == \"multi\")\n      { cm.state.keySeq = name; }\n    if (result == \"handled\")\n      { signalLater(cm, \"keyHandled\", cm, name, e); }\n\n    if (result == \"handled\" || result == \"multi\") {\n      e_preventDefault(e);\n      restartBlink(cm);\n    }\n\n    return !!result\n  }\n\n  // Handle a key from the keydown event.\n  function handleKeyBinding(cm, e) {\n    var name = keyName(e, true);\n    if (!name) { return false }\n\n    if (e.shiftKey && !cm.state.keySeq) {\n      // First try to resolve full name (including 'Shift-'). Failing\n      // that, see if there is a cursor-motion command (starting with\n      // 'go') bound to the keyname without 'Shift-'.\n      return dispatchKey(cm, \"Shift-\" + name, e, function (b) { return doHandleBinding(cm, b, true); })\n          || dispatchKey(cm, name, e, function (b) {\n               if (typeof b == \"string\" ? /^go[A-Z]/.test(b) : b.motion)\n                 { return doHandleBinding(cm, b) }\n             })\n    } else {\n      return dispatchKey(cm, name, e, function (b) { return doHandleBinding(cm, b); })\n    }\n  }\n\n  // Handle a key from the keypress event\n  function handleCharBinding(cm, e, ch) {\n    return dispatchKey(cm, \"'\" + ch + \"'\", e, function (b) { return doHandleBinding(cm, b, true); })\n  }\n\n  var lastStoppedKey = null;\n  function onKeyDown(e) {\n    var cm = this;\n    if (e.target && e.target != cm.display.input.getField()) { return }\n    cm.curOp.focus = activeElt();\n    if (signalDOMEvent(cm, e)) { return }\n    // IE does strange things with escape.\n    if (ie && ie_version < 11 && e.keyCode == 27) { e.returnValue = false; }\n    var code = e.keyCode;\n    cm.display.shift = code == 16 || e.shiftKey;\n    var handled = handleKeyBinding(cm, e);\n    if (presto) {\n      lastStoppedKey = handled ? code : null;\n      // Opera has no cut event... we try to at least catch the key combo\n      if (!handled && code == 88 && !hasCopyEvent && (mac ? e.metaKey : e.ctrlKey))\n        { cm.replaceSelection(\"\", null, \"cut\"); }\n    }\n    if (gecko && !mac && !handled && code == 46 && e.shiftKey && !e.ctrlKey && document.execCommand)\n      { document.execCommand(\"cut\"); }\n\n    // Turn mouse into crosshair when Alt is held on Mac.\n    if (code == 18 && !/\\bCodeMirror-crosshair\\b/.test(cm.display.lineDiv.className))\n      { showCrossHair(cm); }\n  }\n\n  function showCrossHair(cm) {\n    var lineDiv = cm.display.lineDiv;\n    addClass(lineDiv, \"CodeMirror-crosshair\");\n\n    function up(e) {\n      if (e.keyCode == 18 || !e.altKey) {\n        rmClass(lineDiv, \"CodeMirror-crosshair\");\n        off(document, \"keyup\", up);\n        off(document, \"mouseover\", up);\n      }\n    }\n    on(document, \"keyup\", up);\n    on(document, \"mouseover\", up);\n  }\n\n  function onKeyUp(e) {\n    if (e.keyCode == 16) { this.doc.sel.shift = false; }\n    signalDOMEvent(this, e);\n  }\n\n  function onKeyPress(e) {\n    var cm = this;\n    if (e.target && e.target != cm.display.input.getField()) { return }\n    if (eventInWidget(cm.display, e) || signalDOMEvent(cm, e) || e.ctrlKey && !e.altKey || mac && e.metaKey) { return }\n    var keyCode = e.keyCode, charCode = e.charCode;\n    if (presto && keyCode == lastStoppedKey) {lastStoppedKey = null; e_preventDefault(e); return}\n    if ((presto && (!e.which || e.which < 10)) && handleKeyBinding(cm, e)) { return }\n    var ch = String.fromCharCode(charCode == null ? keyCode : charCode);\n    // Some browsers fire keypress events for backspace\n    if (ch == \"\\x08\") { return }\n    if (handleCharBinding(cm, e, ch)) { return }\n    cm.display.input.onKeyPress(e);\n  }\n\n  var DOUBLECLICK_DELAY = 400;\n\n  var PastClick = function(time, pos, button) {\n    this.time = time;\n    this.pos = pos;\n    this.button = button;\n  };\n\n  PastClick.prototype.compare = function (time, pos, button) {\n    return this.time + DOUBLECLICK_DELAY > time &&\n      cmp(pos, this.pos) == 0 && button == this.button\n  };\n\n  var lastClick, lastDoubleClick;\n  function clickRepeat(pos, button) {\n    var now = +new Date;\n    if (lastDoubleClick && lastDoubleClick.compare(now, pos, button)) {\n      lastClick = lastDoubleClick = null;\n      return \"triple\"\n    } else if (lastClick && lastClick.compare(now, pos, button)) {\n      lastDoubleClick = new PastClick(now, pos, button);\n      lastClick = null;\n      return \"double\"\n    } else {\n      lastClick = new PastClick(now, pos, button);\n      lastDoubleClick = null;\n      return \"single\"\n    }\n  }\n\n  // A mouse down can be a single click, double click, triple click,\n  // start of selection drag, start of text drag, new cursor\n  // (ctrl-click), rectangle drag (alt-drag), or xwin\n  // middle-click-paste. Or it might be a click on something we should\n  // not interfere with, such as a scrollbar or widget.\n  function onMouseDown(e) {\n    var cm = this, display = cm.display;\n    if (signalDOMEvent(cm, e) || display.activeTouch && display.input.supportsTouch()) { return }\n    display.input.ensurePolled();\n    display.shift = e.shiftKey;\n\n    if (eventInWidget(display, e)) {\n      if (!webkit) {\n        // Briefly turn off draggability, to allow widgets to do\n        // normal dragging things.\n        display.scroller.draggable = false;\n        setTimeout(function () { return display.scroller.draggable = true; }, 100);\n      }\n      return\n    }\n    if (clickInGutter(cm, e)) { return }\n    var pos = posFromMouse(cm, e), button = e_button(e), repeat = pos ? clickRepeat(pos, button) : \"single\";\n    window.focus();\n\n    // #3261: make sure, that we're not starting a second selection\n    if (button == 1 && cm.state.selectingText)\n      { cm.state.selectingText(e); }\n\n    if (pos && handleMappedButton(cm, button, pos, repeat, e)) { return }\n\n    if (button == 1) {\n      if (pos) { leftButtonDown(cm, pos, repeat, e); }\n      else if (e_target(e) == display.scroller) { e_preventDefault(e); }\n    } else if (button == 2) {\n      if (pos) { extendSelection(cm.doc, pos); }\n      setTimeout(function () { return display.input.focus(); }, 20);\n    } else if (button == 3) {\n      if (captureRightClick) { cm.display.input.onContextMenu(e); }\n      else { delayBlurEvent(cm); }\n    }\n  }\n\n  function handleMappedButton(cm, button, pos, repeat, event) {\n    var name = \"Click\";\n    if (repeat == \"double\") { name = \"Double\" + name; }\n    else if (repeat == \"triple\") { name = \"Triple\" + name; }\n    name = (button == 1 ? \"Left\" : button == 2 ? \"Middle\" : \"Right\") + name;\n\n    return dispatchKey(cm,  addModifierNames(name, event), event, function (bound) {\n      if (typeof bound == \"string\") { bound = commands[bound]; }\n      if (!bound) { return false }\n      var done = false;\n      try {\n        if (cm.isReadOnly()) { cm.state.suppressEdits = true; }\n        done = bound(cm, pos) != Pass;\n      } finally {\n        cm.state.suppressEdits = false;\n      }\n      return done\n    })\n  }\n\n  function configureMouse(cm, repeat, event) {\n    var option = cm.getOption(\"configureMouse\");\n    var value = option ? option(cm, repeat, event) : {};\n    if (value.unit == null) {\n      var rect = chromeOS ? event.shiftKey && event.metaKey : event.altKey;\n      value.unit = rect ? \"rectangle\" : repeat == \"single\" ? \"char\" : repeat == \"double\" ? \"word\" : \"line\";\n    }\n    if (value.extend == null || cm.doc.extend) { value.extend = cm.doc.extend || event.shiftKey; }\n    if (value.addNew == null) { value.addNew = mac ? event.metaKey : event.ctrlKey; }\n    if (value.moveOnDrag == null) { value.moveOnDrag = !(mac ? event.altKey : event.ctrlKey); }\n    return value\n  }\n\n  function leftButtonDown(cm, pos, repeat, event) {\n    if (ie) { setTimeout(bind(ensureFocus, cm), 0); }\n    else { cm.curOp.focus = activeElt(); }\n\n    var behavior = configureMouse(cm, repeat, event);\n\n    var sel = cm.doc.sel, contained;\n    if (cm.options.dragDrop && dragAndDrop && !cm.isReadOnly() &&\n        repeat == \"single\" && (contained = sel.contains(pos)) > -1 &&\n        (cmp((contained = sel.ranges[contained]).from(), pos) < 0 || pos.xRel > 0) &&\n        (cmp(contained.to(), pos) > 0 || pos.xRel < 0))\n      { leftButtonStartDrag(cm, event, pos, behavior); }\n    else\n      { leftButtonSelect(cm, event, pos, behavior); }\n  }\n\n  // Start a text drag. When it ends, see if any dragging actually\n  // happen, and treat as a click if it didn't.\n  function leftButtonStartDrag(cm, event, pos, behavior) {\n    var display = cm.display, moved = false;\n    var dragEnd = operation(cm, function (e) {\n      if (webkit) { display.scroller.draggable = false; }\n      cm.state.draggingText = false;\n      if (cm.state.delayingBlurEvent) {\n        if (cm.hasFocus()) { cm.state.delayingBlurEvent = false; }\n        else { delayBlurEvent(cm); }\n      }\n      off(display.wrapper.ownerDocument, \"mouseup\", dragEnd);\n      off(display.wrapper.ownerDocument, \"mousemove\", mouseMove);\n      off(display.scroller, \"dragstart\", dragStart);\n      off(display.scroller, \"drop\", dragEnd);\n      if (!moved) {\n        e_preventDefault(e);\n        if (!behavior.addNew)\n          { extendSelection(cm.doc, pos, null, null, behavior.extend); }\n        // Work around unexplainable focus problem in IE9 (#2127) and Chrome (#3081)\n        if ((webkit && !safari) || ie && ie_version == 9)\n          { setTimeout(function () {display.wrapper.ownerDocument.body.focus({preventScroll: true}); display.input.focus();}, 20); }\n        else\n          { display.input.focus(); }\n      }\n    });\n    var mouseMove = function(e2) {\n      moved = moved || Math.abs(event.clientX - e2.clientX) + Math.abs(event.clientY - e2.clientY) >= 10;\n    };\n    var dragStart = function () { return moved = true; };\n    // Let the drag handler handle this.\n    if (webkit) { display.scroller.draggable = true; }\n    cm.state.draggingText = dragEnd;\n    dragEnd.copy = !behavior.moveOnDrag;\n    on(display.wrapper.ownerDocument, \"mouseup\", dragEnd);\n    on(display.wrapper.ownerDocument, \"mousemove\", mouseMove);\n    on(display.scroller, \"dragstart\", dragStart);\n    on(display.scroller, \"drop\", dragEnd);\n\n    cm.state.delayingBlurEvent = true;\n    setTimeout(function () { return display.input.focus(); }, 20);\n    // IE's approach to draggable\n    if (display.scroller.dragDrop) { display.scroller.dragDrop(); }\n  }\n\n  function rangeForUnit(cm, pos, unit) {\n    if (unit == \"char\") { return new Range(pos, pos) }\n    if (unit == \"word\") { return cm.findWordAt(pos) }\n    if (unit == \"line\") { return new Range(Pos(pos.line, 0), clipPos(cm.doc, Pos(pos.line + 1, 0))) }\n    var result = unit(cm, pos);\n    return new Range(result.from, result.to)\n  }\n\n  // Normal selection, as opposed to text dragging.\n  function leftButtonSelect(cm, event, start, behavior) {\n    if (ie) { delayBlurEvent(cm); }\n    var display = cm.display, doc = cm.doc;\n    e_preventDefault(event);\n\n    var ourRange, ourIndex, startSel = doc.sel, ranges = startSel.ranges;\n    if (behavior.addNew && !behavior.extend) {\n      ourIndex = doc.sel.contains(start);\n      if (ourIndex > -1)\n        { ourRange = ranges[ourIndex]; }\n      else\n        { ourRange = new Range(start, start); }\n    } else {\n      ourRange = doc.sel.primary();\n      ourIndex = doc.sel.primIndex;\n    }\n\n    if (behavior.unit == \"rectangle\") {\n      if (!behavior.addNew) { ourRange = new Range(start, start); }\n      start = posFromMouse(cm, event, true, true);\n      ourIndex = -1;\n    } else {\n      var range = rangeForUnit(cm, start, behavior.unit);\n      if (behavior.extend)\n        { ourRange = extendRange(ourRange, range.anchor, range.head, behavior.extend); }\n      else\n        { ourRange = range; }\n    }\n\n    if (!behavior.addNew) {\n      ourIndex = 0;\n      setSelection(doc, new Selection([ourRange], 0), sel_mouse);\n      startSel = doc.sel;\n    } else if (ourIndex == -1) {\n      ourIndex = ranges.length;\n      setSelection(doc, normalizeSelection(cm, ranges.concat([ourRange]), ourIndex),\n                   {scroll: false, origin: \"*mouse\"});\n    } else if (ranges.length > 1 && ranges[ourIndex].empty() && behavior.unit == \"char\" && !behavior.extend) {\n      setSelection(doc, normalizeSelection(cm, ranges.slice(0, ourIndex).concat(ranges.slice(ourIndex + 1)), 0),\n                   {scroll: false, origin: \"*mouse\"});\n      startSel = doc.sel;\n    } else {\n      replaceOneSelection(doc, ourIndex, ourRange, sel_mouse);\n    }\n\n    var lastPos = start;\n    function extendTo(pos) {\n      if (cmp(lastPos, pos) == 0) { return }\n      lastPos = pos;\n\n      if (behavior.unit == \"rectangle\") {\n        var ranges = [], tabSize = cm.options.tabSize;\n        var startCol = countColumn(getLine(doc, start.line).text, start.ch, tabSize);\n        var posCol = countColumn(getLine(doc, pos.line).text, pos.ch, tabSize);\n        var left = Math.min(startCol, posCol), right = Math.max(startCol, posCol);\n        for (var line = Math.min(start.line, pos.line), end = Math.min(cm.lastLine(), Math.max(start.line, pos.line));\n             line <= end; line++) {\n          var text = getLine(doc, line).text, leftPos = findColumn(text, left, tabSize);\n          if (left == right)\n            { ranges.push(new Range(Pos(line, leftPos), Pos(line, leftPos))); }\n          else if (text.length > leftPos)\n            { ranges.push(new Range(Pos(line, leftPos), Pos(line, findColumn(text, right, tabSize)))); }\n        }\n        if (!ranges.length) { ranges.push(new Range(start, start)); }\n        setSelection(doc, normalizeSelection(cm, startSel.ranges.slice(0, ourIndex).concat(ranges), ourIndex),\n                     {origin: \"*mouse\", scroll: false});\n        cm.scrollIntoView(pos);\n      } else {\n        var oldRange = ourRange;\n        var range = rangeForUnit(cm, pos, behavior.unit);\n        var anchor = oldRange.anchor, head;\n        if (cmp(range.anchor, anchor) > 0) {\n          head = range.head;\n          anchor = minPos(oldRange.from(), range.anchor);\n        } else {\n          head = range.anchor;\n          anchor = maxPos(oldRange.to(), range.head);\n        }\n        var ranges$1 = startSel.ranges.slice(0);\n        ranges$1[ourIndex] = bidiSimplify(cm, new Range(clipPos(doc, anchor), head));\n        setSelection(doc, normalizeSelection(cm, ranges$1, ourIndex), sel_mouse);\n      }\n    }\n\n    var editorSize = display.wrapper.getBoundingClientRect();\n    // Used to ensure timeout re-tries don't fire when another extend\n    // happened in the meantime (clearTimeout isn't reliable -- at\n    // least on Chrome, the timeouts still happen even when cleared,\n    // if the clear happens after their scheduled firing time).\n    var counter = 0;\n\n    function extend(e) {\n      var curCount = ++counter;\n      var cur = posFromMouse(cm, e, true, behavior.unit == \"rectangle\");\n      if (!cur) { return }\n      if (cmp(cur, lastPos) != 0) {\n        cm.curOp.focus = activeElt();\n        extendTo(cur);\n        var visible = visibleLines(display, doc);\n        if (cur.line >= visible.to || cur.line < visible.from)\n          { setTimeout(operation(cm, function () {if (counter == curCount) { extend(e); }}), 150); }\n      } else {\n        var outside = e.clientY < editorSize.top ? -20 : e.clientY > editorSize.bottom ? 20 : 0;\n        if (outside) { setTimeout(operation(cm, function () {\n          if (counter != curCount) { return }\n          display.scroller.scrollTop += outside;\n          extend(e);\n        }), 50); }\n      }\n    }\n\n    function done(e) {\n      cm.state.selectingText = false;\n      counter = Infinity;\n      // If e is null or undefined we interpret this as someone trying\n      // to explicitly cancel the selection rather than the user\n      // letting go of the mouse button.\n      if (e) {\n        e_preventDefault(e);\n        display.input.focus();\n      }\n      off(display.wrapper.ownerDocument, \"mousemove\", move);\n      off(display.wrapper.ownerDocument, \"mouseup\", up);\n      doc.history.lastSelOrigin = null;\n    }\n\n    var move = operation(cm, function (e) {\n      if (e.buttons === 0 || !e_button(e)) { done(e); }\n      else { extend(e); }\n    });\n    var up = operation(cm, done);\n    cm.state.selectingText = up;\n    on(display.wrapper.ownerDocument, \"mousemove\", move);\n    on(display.wrapper.ownerDocument, \"mouseup\", up);\n  }\n\n  // Used when mouse-selecting to adjust the anchor to the proper side\n  // of a bidi jump depending on the visual position of the head.\n  function bidiSimplify(cm, range) {\n    var anchor = range.anchor;\n    var head = range.head;\n    var anchorLine = getLine(cm.doc, anchor.line);\n    if (cmp(anchor, head) == 0 && anchor.sticky == head.sticky) { return range }\n    var order = getOrder(anchorLine);\n    if (!order) { return range }\n    var index = getBidiPartAt(order, anchor.ch, anchor.sticky), part = order[index];\n    if (part.from != anchor.ch && part.to != anchor.ch) { return range }\n    var boundary = index + ((part.from == anchor.ch) == (part.level != 1) ? 0 : 1);\n    if (boundary == 0 || boundary == order.length) { return range }\n\n    // Compute the relative visual position of the head compared to the\n    // anchor (<0 is to the left, >0 to the right)\n    var leftSide;\n    if (head.line != anchor.line) {\n      leftSide = (head.line - anchor.line) * (cm.doc.direction == \"ltr\" ? 1 : -1) > 0;\n    } else {\n      var headIndex = getBidiPartAt(order, head.ch, head.sticky);\n      var dir = headIndex - index || (head.ch - anchor.ch) * (part.level == 1 ? -1 : 1);\n      if (headIndex == boundary - 1 || headIndex == boundary)\n        { leftSide = dir < 0; }\n      else\n        { leftSide = dir > 0; }\n    }\n\n    var usePart = order[boundary + (leftSide ? -1 : 0)];\n    var from = leftSide == (usePart.level == 1);\n    var ch = from ? usePart.from : usePart.to, sticky = from ? \"after\" : \"before\";\n    return anchor.ch == ch && anchor.sticky == sticky ? range : new Range(new Pos(anchor.line, ch, sticky), head)\n  }\n\n\n  // Determines whether an event happened in the gutter, and fires the\n  // handlers for the corresponding event.\n  function gutterEvent(cm, e, type, prevent) {\n    var mX, mY;\n    if (e.touches) {\n      mX = e.touches[0].clientX;\n      mY = e.touches[0].clientY;\n    } else {\n      try { mX = e.clientX; mY = e.clientY; }\n      catch(e$1) { return false }\n    }\n    if (mX >= Math.floor(cm.display.gutters.getBoundingClientRect().right)) { return false }\n    if (prevent) { e_preventDefault(e); }\n\n    var display = cm.display;\n    var lineBox = display.lineDiv.getBoundingClientRect();\n\n    if (mY > lineBox.bottom || !hasHandler(cm, type)) { return e_defaultPrevented(e) }\n    mY -= lineBox.top - display.viewOffset;\n\n    for (var i = 0; i < cm.display.gutterSpecs.length; ++i) {\n      var g = display.gutters.childNodes[i];\n      if (g && g.getBoundingClientRect().right >= mX) {\n        var line = lineAtHeight(cm.doc, mY);\n        var gutter = cm.display.gutterSpecs[i];\n        signal(cm, type, cm, line, gutter.className, e);\n        return e_defaultPrevented(e)\n      }\n    }\n  }\n\n  function clickInGutter(cm, e) {\n    return gutterEvent(cm, e, \"gutterClick\", true)\n  }\n\n  // CONTEXT MENU HANDLING\n\n  // To make the context menu work, we need to briefly unhide the\n  // textarea (making it as unobtrusive as possible) to let the\n  // right-click take effect on it.\n  function onContextMenu(cm, e) {\n    if (eventInWidget(cm.display, e) || contextMenuInGutter(cm, e)) { return }\n    if (signalDOMEvent(cm, e, \"contextmenu\")) { return }\n    if (!captureRightClick) { cm.display.input.onContextMenu(e); }\n  }\n\n  function contextMenuInGutter(cm, e) {\n    if (!hasHandler(cm, \"gutterContextMenu\")) { return false }\n    return gutterEvent(cm, e, \"gutterContextMenu\", false)\n  }\n\n  function themeChanged(cm) {\n    cm.display.wrapper.className = cm.display.wrapper.className.replace(/\\s*cm-s-\\S+/g, \"\") +\n      cm.options.theme.replace(/(^|\\s)\\s*/g, \" cm-s-\");\n    clearCaches(cm);\n  }\n\n  var Init = {toString: function(){return \"CodeMirror.Init\"}};\n\n  var defaults = {};\n  var optionHandlers = {};\n\n  function defineOptions(CodeMirror) {\n    var optionHandlers = CodeMirror.optionHandlers;\n\n    function option(name, deflt, handle, notOnInit) {\n      CodeMirror.defaults[name] = deflt;\n      if (handle) { optionHandlers[name] =\n        notOnInit ? function (cm, val, old) {if (old != Init) { handle(cm, val, old); }} : handle; }\n    }\n\n    CodeMirror.defineOption = option;\n\n    // Passed to option handlers when there is no old value.\n    CodeMirror.Init = Init;\n\n    // These two are, on init, called from the constructor because they\n    // have to be initialized before the editor can start at all.\n    option(\"value\", \"\", function (cm, val) { return cm.setValue(val); }, true);\n    option(\"mode\", null, function (cm, val) {\n      cm.doc.modeOption = val;\n      loadMode(cm);\n    }, true);\n\n    option(\"indentUnit\", 2, loadMode, true);\n    option(\"indentWithTabs\", false);\n    option(\"smartIndent\", true);\n    option(\"tabSize\", 4, function (cm) {\n      resetModeState(cm);\n      clearCaches(cm);\n      regChange(cm);\n    }, true);\n\n    option(\"lineSeparator\", null, function (cm, val) {\n      cm.doc.lineSep = val;\n      if (!val) { return }\n      var newBreaks = [], lineNo = cm.doc.first;\n      cm.doc.iter(function (line) {\n        for (var pos = 0;;) {\n          var found = line.text.indexOf(val, pos);\n          if (found == -1) { break }\n          pos = found + val.length;\n          newBreaks.push(Pos(lineNo, found));\n        }\n        lineNo++;\n      });\n      for (var i = newBreaks.length - 1; i >= 0; i--)\n        { replaceRange(cm.doc, val, newBreaks[i], Pos(newBreaks[i].line, newBreaks[i].ch + val.length)); }\n    });\n    option(\"specialChars\", /[\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u061c\\u200b\\u200e\\u200f\\u2028\\u2029\\ufeff\\ufff9-\\ufffc]/g, function (cm, val, old) {\n      cm.state.specialChars = new RegExp(val.source + (val.test(\"\\t\") ? \"\" : \"|\\t\"), \"g\");\n      if (old != Init) { cm.refresh(); }\n    });\n    option(\"specialCharPlaceholder\", defaultSpecialCharPlaceholder, function (cm) { return cm.refresh(); }, true);\n    option(\"electricChars\", true);\n    option(\"inputStyle\", mobile ? \"contenteditable\" : \"textarea\", function () {\n      throw new Error(\"inputStyle can not (yet) be changed in a running editor\") // FIXME\n    }, true);\n    option(\"spellcheck\", false, function (cm, val) { return cm.getInputField().spellcheck = val; }, true);\n    option(\"autocorrect\", false, function (cm, val) { return cm.getInputField().autocorrect = val; }, true);\n    option(\"autocapitalize\", false, function (cm, val) { return cm.getInputField().autocapitalize = val; }, true);\n    option(\"rtlMoveVisually\", !windows);\n    option(\"wholeLineUpdateBefore\", true);\n\n    option(\"theme\", \"default\", function (cm) {\n      themeChanged(cm);\n      updateGutters(cm);\n    }, true);\n    option(\"keyMap\", \"default\", function (cm, val, old) {\n      var next = getKeyMap(val);\n      var prev = old != Init && getKeyMap(old);\n      if (prev && prev.detach) { prev.detach(cm, next); }\n      if (next.attach) { next.attach(cm, prev || null); }\n    });\n    option(\"extraKeys\", null);\n    option(\"configureMouse\", null);\n\n    option(\"lineWrapping\", false, wrappingChanged, true);\n    option(\"gutters\", [], function (cm, val) {\n      cm.display.gutterSpecs = getGutters(val, cm.options.lineNumbers);\n      updateGutters(cm);\n    }, true);\n    option(\"fixedGutter\", true, function (cm, val) {\n      cm.display.gutters.style.left = val ? compensateForHScroll(cm.display) + \"px\" : \"0\";\n      cm.refresh();\n    }, true);\n    option(\"coverGutterNextToScrollbar\", false, function (cm) { return updateScrollbars(cm); }, true);\n    option(\"scrollbarStyle\", \"native\", function (cm) {\n      initScrollbars(cm);\n      updateScrollbars(cm);\n      cm.display.scrollbars.setScrollTop(cm.doc.scrollTop);\n      cm.display.scrollbars.setScrollLeft(cm.doc.scrollLeft);\n    }, true);\n    option(\"lineNumbers\", false, function (cm, val) {\n      cm.display.gutterSpecs = getGutters(cm.options.gutters, val);\n      updateGutters(cm);\n    }, true);\n    option(\"firstLineNumber\", 1, updateGutters, true);\n    option(\"lineNumberFormatter\", function (integer) { return integer; }, updateGutters, true);\n    option(\"showCursorWhenSelecting\", false, updateSelection, true);\n\n    option(\"resetSelectionOnContextMenu\", true);\n    option(\"lineWiseCopyCut\", true);\n    option(\"pasteLinesPerSelection\", true);\n    option(\"selectionsMayTouch\", false);\n\n    option(\"readOnly\", false, function (cm, val) {\n      if (val == \"nocursor\") {\n        onBlur(cm);\n        cm.display.input.blur();\n      }\n      cm.display.input.readOnlyChanged(val);\n    });\n\n    option(\"screenReaderLabel\", null, function (cm, val) {\n      val = (val === '') ? null : val;\n      cm.display.input.screenReaderLabelChanged(val);\n    });\n\n    option(\"disableInput\", false, function (cm, val) {if (!val) { cm.display.input.reset(); }}, true);\n    option(\"dragDrop\", true, dragDropChanged);\n    option(\"allowDropFileTypes\", null);\n\n    option(\"cursorBlinkRate\", 530);\n    option(\"cursorScrollMargin\", 0);\n    option(\"cursorHeight\", 1, updateSelection, true);\n    option(\"singleCursorHeightPerLine\", true, updateSelection, true);\n    option(\"workTime\", 100);\n    option(\"workDelay\", 100);\n    option(\"flattenSpans\", true, resetModeState, true);\n    option(\"addModeClass\", false, resetModeState, true);\n    option(\"pollInterval\", 100);\n    option(\"undoDepth\", 200, function (cm, val) { return cm.doc.history.undoDepth = val; });\n    option(\"historyEventDelay\", 1250);\n    option(\"viewportMargin\", 10, function (cm) { return cm.refresh(); }, true);\n    option(\"maxHighlightLength\", 10000, resetModeState, true);\n    option(\"moveInputWithCursor\", true, function (cm, val) {\n      if (!val) { cm.display.input.resetPosition(); }\n    });\n\n    option(\"tabindex\", null, function (cm, val) { return cm.display.input.getField().tabIndex = val || \"\"; });\n    option(\"autofocus\", null);\n    option(\"direction\", \"ltr\", function (cm, val) { return cm.doc.setDirection(val); }, true);\n    option(\"phrases\", null);\n  }\n\n  function dragDropChanged(cm, value, old) {\n    var wasOn = old && old != Init;\n    if (!value != !wasOn) {\n      var funcs = cm.display.dragFunctions;\n      var toggle = value ? on : off;\n      toggle(cm.display.scroller, \"dragstart\", funcs.start);\n      toggle(cm.display.scroller, \"dragenter\", funcs.enter);\n      toggle(cm.display.scroller, \"dragover\", funcs.over);\n      toggle(cm.display.scroller, \"dragleave\", funcs.leave);\n      toggle(cm.display.scroller, \"drop\", funcs.drop);\n    }\n  }\n\n  function wrappingChanged(cm) {\n    if (cm.options.lineWrapping) {\n      addClass(cm.display.wrapper, \"CodeMirror-wrap\");\n      cm.display.sizer.style.minWidth = \"\";\n      cm.display.sizerWidth = null;\n    } else {\n      rmClass(cm.display.wrapper, \"CodeMirror-wrap\");\n      findMaxLine(cm);\n    }\n    estimateLineHeights(cm);\n    regChange(cm);\n    clearCaches(cm);\n    setTimeout(function () { return updateScrollbars(cm); }, 100);\n  }\n\n  // A CodeMirror instance represents an editor. This is the object\n  // that user code is usually dealing with.\n\n  function CodeMirror(place, options) {\n    var this$1 = this;\n\n    if (!(this instanceof CodeMirror)) { return new CodeMirror(place, options) }\n\n    this.options = options = options ? copyObj(options) : {};\n    // Determine effective options based on given values and defaults.\n    copyObj(defaults, options, false);\n\n    var doc = options.value;\n    if (typeof doc == \"string\") { doc = new Doc(doc, options.mode, null, options.lineSeparator, options.direction); }\n    else if (options.mode) { doc.modeOption = options.mode; }\n    this.doc = doc;\n\n    var input = new CodeMirror.inputStyles[options.inputStyle](this);\n    var display = this.display = new Display(place, doc, input, options);\n    display.wrapper.CodeMirror = this;\n    themeChanged(this);\n    if (options.lineWrapping)\n      { this.display.wrapper.className += \" CodeMirror-wrap\"; }\n    initScrollbars(this);\n\n    this.state = {\n      keyMaps: [],  // stores maps added by addKeyMap\n      overlays: [], // highlighting overlays, as added by addOverlay\n      modeGen: 0,   // bumped when mode/overlay changes, used to invalidate highlighting info\n      overwrite: false,\n      delayingBlurEvent: false,\n      focused: false,\n      suppressEdits: false, // used to disable editing during key handlers when in readOnly mode\n      pasteIncoming: -1, cutIncoming: -1, // help recognize paste/cut edits in input.poll\n      selectingText: false,\n      draggingText: false,\n      highlight: new Delayed(), // stores highlight worker timeout\n      keySeq: null,  // Unfinished key sequence\n      specialChars: null\n    };\n\n    if (options.autofocus && !mobile) { display.input.focus(); }\n\n    // Override magic textarea content restore that IE sometimes does\n    // on our hidden textarea on reload\n    if (ie && ie_version < 11) { setTimeout(function () { return this$1.display.input.reset(true); }, 20); }\n\n    registerEventHandlers(this);\n    ensureGlobalHandlers();\n\n    startOperation(this);\n    this.curOp.forceUpdate = true;\n    attachDoc(this, doc);\n\n    if ((options.autofocus && !mobile) || this.hasFocus())\n      { setTimeout(function () {\n        if (this$1.hasFocus() && !this$1.state.focused) { onFocus(this$1); }\n      }, 20); }\n    else\n      { onBlur(this); }\n\n    for (var opt in optionHandlers) { if (optionHandlers.hasOwnProperty(opt))\n      { optionHandlers[opt](this, options[opt], Init); } }\n    maybeUpdateLineNumberWidth(this);\n    if (options.finishInit) { options.finishInit(this); }\n    for (var i = 0; i < initHooks.length; ++i) { initHooks[i](this); }\n    endOperation(this);\n    // Suppress optimizelegibility in Webkit, since it breaks text\n    // measuring on line wrapping boundaries.\n    if (webkit && options.lineWrapping &&\n        getComputedStyle(display.lineDiv).textRendering == \"optimizelegibility\")\n      { display.lineDiv.style.textRendering = \"auto\"; }\n  }\n\n  // The default configuration options.\n  CodeMirror.defaults = defaults;\n  // Functions to run when options are changed.\n  CodeMirror.optionHandlers = optionHandlers;\n\n  // Attach the necessary event handlers when initializing the editor\n  function registerEventHandlers(cm) {\n    var d = cm.display;\n    on(d.scroller, \"mousedown\", operation(cm, onMouseDown));\n    // Older IE's will not fire a second mousedown for a double click\n    if (ie && ie_version < 11)\n      { on(d.scroller, \"dblclick\", operation(cm, function (e) {\n        if (signalDOMEvent(cm, e)) { return }\n        var pos = posFromMouse(cm, e);\n        if (!pos || clickInGutter(cm, e) || eventInWidget(cm.display, e)) { return }\n        e_preventDefault(e);\n        var word = cm.findWordAt(pos);\n        extendSelection(cm.doc, word.anchor, word.head);\n      })); }\n    else\n      { on(d.scroller, \"dblclick\", function (e) { return signalDOMEvent(cm, e) || e_preventDefault(e); }); }\n    // Some browsers fire contextmenu *after* opening the menu, at\n    // which point we can't mess with it anymore. Context menu is\n    // handled in onMouseDown for these browsers.\n    on(d.scroller, \"contextmenu\", function (e) { return onContextMenu(cm, e); });\n    on(d.input.getField(), \"contextmenu\", function (e) {\n      if (!d.scroller.contains(e.target)) { onContextMenu(cm, e); }\n    });\n\n    // Used to suppress mouse event handling when a touch happens\n    var touchFinished, prevTouch = {end: 0};\n    function finishTouch() {\n      if (d.activeTouch) {\n        touchFinished = setTimeout(function () { return d.activeTouch = null; }, 1000);\n        prevTouch = d.activeTouch;\n        prevTouch.end = +new Date;\n      }\n    }\n    function isMouseLikeTouchEvent(e) {\n      if (e.touches.length != 1) { return false }\n      var touch = e.touches[0];\n      return touch.radiusX <= 1 && touch.radiusY <= 1\n    }\n    function farAway(touch, other) {\n      if (other.left == null) { return true }\n      var dx = other.left - touch.left, dy = other.top - touch.top;\n      return dx * dx + dy * dy > 20 * 20\n    }\n    on(d.scroller, \"touchstart\", function (e) {\n      if (!signalDOMEvent(cm, e) && !isMouseLikeTouchEvent(e) && !clickInGutter(cm, e)) {\n        d.input.ensurePolled();\n        clearTimeout(touchFinished);\n        var now = +new Date;\n        d.activeTouch = {start: now, moved: false,\n                         prev: now - prevTouch.end <= 300 ? prevTouch : null};\n        if (e.touches.length == 1) {\n          d.activeTouch.left = e.touches[0].pageX;\n          d.activeTouch.top = e.touches[0].pageY;\n        }\n      }\n    });\n    on(d.scroller, \"touchmove\", function () {\n      if (d.activeTouch) { d.activeTouch.moved = true; }\n    });\n    on(d.scroller, \"touchend\", function (e) {\n      var touch = d.activeTouch;\n      if (touch && !eventInWidget(d, e) && touch.left != null &&\n          !touch.moved && new Date - touch.start < 300) {\n        var pos = cm.coordsChar(d.activeTouch, \"page\"), range;\n        if (!touch.prev || farAway(touch, touch.prev)) // Single tap\n          { range = new Range(pos, pos); }\n        else if (!touch.prev.prev || farAway(touch, touch.prev.prev)) // Double tap\n          { range = cm.findWordAt(pos); }\n        else // Triple tap\n          { range = new Range(Pos(pos.line, 0), clipPos(cm.doc, Pos(pos.line + 1, 0))); }\n        cm.setSelection(range.anchor, range.head);\n        cm.focus();\n        e_preventDefault(e);\n      }\n      finishTouch();\n    });\n    on(d.scroller, \"touchcancel\", finishTouch);\n\n    // Sync scrolling between fake scrollbars and real scrollable\n    // area, ensure viewport is updated when scrolling.\n    on(d.scroller, \"scroll\", function () {\n      if (d.scroller.clientHeight) {\n        updateScrollTop(cm, d.scroller.scrollTop);\n        setScrollLeft(cm, d.scroller.scrollLeft, true);\n        signal(cm, \"scroll\", cm);\n      }\n    });\n\n    // Listen to wheel events in order to try and update the viewport on time.\n    on(d.scroller, \"mousewheel\", function (e) { return onScrollWheel(cm, e); });\n    on(d.scroller, \"DOMMouseScroll\", function (e) { return onScrollWheel(cm, e); });\n\n    // Prevent wrapper from ever scrolling\n    on(d.wrapper, \"scroll\", function () { return d.wrapper.scrollTop = d.wrapper.scrollLeft = 0; });\n\n    d.dragFunctions = {\n      enter: function (e) {if (!signalDOMEvent(cm, e)) { e_stop(e); }},\n      over: function (e) {if (!signalDOMEvent(cm, e)) { onDragOver(cm, e); e_stop(e); }},\n      start: function (e) { return onDragStart(cm, e); },\n      drop: operation(cm, onDrop),\n      leave: function (e) {if (!signalDOMEvent(cm, e)) { clearDragCursor(cm); }}\n    };\n\n    var inp = d.input.getField();\n    on(inp, \"keyup\", function (e) { return onKeyUp.call(cm, e); });\n    on(inp, \"keydown\", operation(cm, onKeyDown));\n    on(inp, \"keypress\", operation(cm, onKeyPress));\n    on(inp, \"focus\", function (e) { return onFocus(cm, e); });\n    on(inp, \"blur\", function (e) { return onBlur(cm, e); });\n  }\n\n  var initHooks = [];\n  CodeMirror.defineInitHook = function (f) { return initHooks.push(f); };\n\n  // Indent the given line. The how parameter can be \"smart\",\n  // \"add\"/null, \"subtract\", or \"prev\". When aggressive is false\n  // (typically set to true for forced single-line indents), empty\n  // lines are not indented, and places where the mode returns Pass\n  // are left alone.\n  function indentLine(cm, n, how, aggressive) {\n    var doc = cm.doc, state;\n    if (how == null) { how = \"add\"; }\n    if (how == \"smart\") {\n      // Fall back to \"prev\" when the mode doesn't have an indentation\n      // method.\n      if (!doc.mode.indent) { how = \"prev\"; }\n      else { state = getContextBefore(cm, n).state; }\n    }\n\n    var tabSize = cm.options.tabSize;\n    var line = getLine(doc, n), curSpace = countColumn(line.text, null, tabSize);\n    if (line.stateAfter) { line.stateAfter = null; }\n    var curSpaceString = line.text.match(/^\\s*/)[0], indentation;\n    if (!aggressive && !/\\S/.test(line.text)) {\n      indentation = 0;\n      how = \"not\";\n    } else if (how == \"smart\") {\n      indentation = doc.mode.indent(state, line.text.slice(curSpaceString.length), line.text);\n      if (indentation == Pass || indentation > 150) {\n        if (!aggressive) { return }\n        how = \"prev\";\n      }\n    }\n    if (how == \"prev\") {\n      if (n > doc.first) { indentation = countColumn(getLine(doc, n-1).text, null, tabSize); }\n      else { indentation = 0; }\n    } else if (how == \"add\") {\n      indentation = curSpace + cm.options.indentUnit;\n    } else if (how == \"subtract\") {\n      indentation = curSpace - cm.options.indentUnit;\n    } else if (typeof how == \"number\") {\n      indentation = curSpace + how;\n    }\n    indentation = Math.max(0, indentation);\n\n    var indentString = \"\", pos = 0;\n    if (cm.options.indentWithTabs)\n      { for (var i = Math.floor(indentation / tabSize); i; --i) {pos += tabSize; indentString += \"\\t\";} }\n    if (pos < indentation) { indentString += spaceStr(indentation - pos); }\n\n    if (indentString != curSpaceString) {\n      replaceRange(doc, indentString, Pos(n, 0), Pos(n, curSpaceString.length), \"+input\");\n      line.stateAfter = null;\n      return true\n    } else {\n      // Ensure that, if the cursor was in the whitespace at the start\n      // of the line, it is moved to the end of that space.\n      for (var i$1 = 0; i$1 < doc.sel.ranges.length; i$1++) {\n        var range = doc.sel.ranges[i$1];\n        if (range.head.line == n && range.head.ch < curSpaceString.length) {\n          var pos$1 = Pos(n, curSpaceString.length);\n          replaceOneSelection(doc, i$1, new Range(pos$1, pos$1));\n          break\n        }\n      }\n    }\n  }\n\n  // This will be set to a {lineWise: bool, text: [string]} object, so\n  // that, when pasting, we know what kind of selections the copied\n  // text was made out of.\n  var lastCopied = null;\n\n  function setLastCopied(newLastCopied) {\n    lastCopied = newLastCopied;\n  }\n\n  function applyTextInput(cm, inserted, deleted, sel, origin) {\n    var doc = cm.doc;\n    cm.display.shift = false;\n    if (!sel) { sel = doc.sel; }\n\n    var recent = +new Date - 200;\n    var paste = origin == \"paste\" || cm.state.pasteIncoming > recent;\n    var textLines = splitLinesAuto(inserted), multiPaste = null;\n    // When pasting N lines into N selections, insert one line per selection\n    if (paste && sel.ranges.length > 1) {\n      if (lastCopied && lastCopied.text.join(\"\\n\") == inserted) {\n        if (sel.ranges.length % lastCopied.text.length == 0) {\n          multiPaste = [];\n          for (var i = 0; i < lastCopied.text.length; i++)\n            { multiPaste.push(doc.splitLines(lastCopied.text[i])); }\n        }\n      } else if (textLines.length == sel.ranges.length && cm.options.pasteLinesPerSelection) {\n        multiPaste = map(textLines, function (l) { return [l]; });\n      }\n    }\n\n    var updateInput = cm.curOp.updateInput;\n    // Normal behavior is to insert the new text into every selection\n    for (var i$1 = sel.ranges.length - 1; i$1 >= 0; i$1--) {\n      var range = sel.ranges[i$1];\n      var from = range.from(), to = range.to();\n      if (range.empty()) {\n        if (deleted && deleted > 0) // Handle deletion\n          { from = Pos(from.line, from.ch - deleted); }\n        else if (cm.state.overwrite && !paste) // Handle overwrite\n          { to = Pos(to.line, Math.min(getLine(doc, to.line).text.length, to.ch + lst(textLines).length)); }\n        else if (paste && lastCopied && lastCopied.lineWise && lastCopied.text.join(\"\\n\") == textLines.join(\"\\n\"))\n          { from = to = Pos(from.line, 0); }\n      }\n      var changeEvent = {from: from, to: to, text: multiPaste ? multiPaste[i$1 % multiPaste.length] : textLines,\n                         origin: origin || (paste ? \"paste\" : cm.state.cutIncoming > recent ? \"cut\" : \"+input\")};\n      makeChange(cm.doc, changeEvent);\n      signalLater(cm, \"inputRead\", cm, changeEvent);\n    }\n    if (inserted && !paste)\n      { triggerElectric(cm, inserted); }\n\n    ensureCursorVisible(cm);\n    if (cm.curOp.updateInput < 2) { cm.curOp.updateInput = updateInput; }\n    cm.curOp.typing = true;\n    cm.state.pasteIncoming = cm.state.cutIncoming = -1;\n  }\n\n  function handlePaste(e, cm) {\n    var pasted = e.clipboardData && e.clipboardData.getData(\"Text\");\n    if (pasted) {\n      e.preventDefault();\n      if (!cm.isReadOnly() && !cm.options.disableInput && cm.hasFocus())\n        { runInOp(cm, function () { return applyTextInput(cm, pasted, 0, null, \"paste\"); }); }\n      return true\n    }\n  }\n\n  function triggerElectric(cm, inserted) {\n    // When an 'electric' character is inserted, immediately trigger a reindent\n    if (!cm.options.electricChars || !cm.options.smartIndent) { return }\n    var sel = cm.doc.sel;\n\n    for (var i = sel.ranges.length - 1; i >= 0; i--) {\n      var range = sel.ranges[i];\n      if (range.head.ch > 100 || (i && sel.ranges[i - 1].head.line == range.head.line)) { continue }\n      var mode = cm.getModeAt(range.head);\n      var indented = false;\n      if (mode.electricChars) {\n        for (var j = 0; j < mode.electricChars.length; j++)\n          { if (inserted.indexOf(mode.electricChars.charAt(j)) > -1) {\n            indented = indentLine(cm, range.head.line, \"smart\");\n            break\n          } }\n      } else if (mode.electricInput) {\n        if (mode.electricInput.test(getLine(cm.doc, range.head.line).text.slice(0, range.head.ch)))\n          { indented = indentLine(cm, range.head.line, \"smart\"); }\n      }\n      if (indented) { signalLater(cm, \"electricInput\", cm, range.head.line); }\n    }\n  }\n\n  function copyableRanges(cm) {\n    var text = [], ranges = [];\n    for (var i = 0; i < cm.doc.sel.ranges.length; i++) {\n      var line = cm.doc.sel.ranges[i].head.line;\n      var lineRange = {anchor: Pos(line, 0), head: Pos(line + 1, 0)};\n      ranges.push(lineRange);\n      text.push(cm.getRange(lineRange.anchor, lineRange.head));\n    }\n    return {text: text, ranges: ranges}\n  }\n\n  function disableBrowserMagic(field, spellcheck, autocorrect, autocapitalize) {\n    field.setAttribute(\"autocorrect\", autocorrect ? \"\" : \"off\");\n    field.setAttribute(\"autocapitalize\", autocapitalize ? \"\" : \"off\");\n    field.setAttribute(\"spellcheck\", !!spellcheck);\n  }\n\n  function hiddenTextarea() {\n    var te = elt(\"textarea\", null, null, \"position: absolute; bottom: -1em; padding: 0; width: 1px; height: 1em; min-height: 1em; outline: none\");\n    var div = elt(\"div\", [te], null, \"overflow: hidden; position: relative; width: 3px; height: 0px;\");\n    // The textarea is kept positioned near the cursor to prevent the\n    // fact that it'll be scrolled into view on input from scrolling\n    // our fake cursor out of view. On webkit, when wrap=off, paste is\n    // very slow. So make the area wide instead.\n    if (webkit) { te.style.width = \"1000px\"; }\n    else { te.setAttribute(\"wrap\", \"off\"); }\n    // If border: 0; -- iOS fails to open keyboard (issue #1287)\n    if (ios) { te.style.border = \"1px solid black\"; }\n    disableBrowserMagic(te);\n    return div\n  }\n\n  // The publicly visible API. Note that methodOp(f) means\n  // 'wrap f in an operation, performed on its `this` parameter'.\n\n  // This is not the complete set of editor methods. Most of the\n  // methods defined on the Doc type are also injected into\n  // CodeMirror.prototype, for backwards compatibility and\n  // convenience.\n\n  function addEditorMethods(CodeMirror) {\n    var optionHandlers = CodeMirror.optionHandlers;\n\n    var helpers = CodeMirror.helpers = {};\n\n    CodeMirror.prototype = {\n      constructor: CodeMirror,\n      focus: function(){window.focus(); this.display.input.focus();},\n\n      setOption: function(option, value) {\n        var options = this.options, old = options[option];\n        if (options[option] == value && option != \"mode\") { return }\n        options[option] = value;\n        if (optionHandlers.hasOwnProperty(option))\n          { operation(this, optionHandlers[option])(this, value, old); }\n        signal(this, \"optionChange\", this, option);\n      },\n\n      getOption: function(option) {return this.options[option]},\n      getDoc: function() {return this.doc},\n\n      addKeyMap: function(map, bottom) {\n        this.state.keyMaps[bottom ? \"push\" : \"unshift\"](getKeyMap(map));\n      },\n      removeKeyMap: function(map) {\n        var maps = this.state.keyMaps;\n        for (var i = 0; i < maps.length; ++i)\n          { if (maps[i] == map || maps[i].name == map) {\n            maps.splice(i, 1);\n            return true\n          } }\n      },\n\n      addOverlay: methodOp(function(spec, options) {\n        var mode = spec.token ? spec : CodeMirror.getMode(this.options, spec);\n        if (mode.startState) { throw new Error(\"Overlays may not be stateful.\") }\n        insertSorted(this.state.overlays,\n                     {mode: mode, modeSpec: spec, opaque: options && options.opaque,\n                      priority: (options && options.priority) || 0},\n                     function (overlay) { return overlay.priority; });\n        this.state.modeGen++;\n        regChange(this);\n      }),\n      removeOverlay: methodOp(function(spec) {\n        var overlays = this.state.overlays;\n        for (var i = 0; i < overlays.length; ++i) {\n          var cur = overlays[i].modeSpec;\n          if (cur == spec || typeof spec == \"string\" && cur.name == spec) {\n            overlays.splice(i, 1);\n            this.state.modeGen++;\n            regChange(this);\n            return\n          }\n        }\n      }),\n\n      indentLine: methodOp(function(n, dir, aggressive) {\n        if (typeof dir != \"string\" && typeof dir != \"number\") {\n          if (dir == null) { dir = this.options.smartIndent ? \"smart\" : \"prev\"; }\n          else { dir = dir ? \"add\" : \"subtract\"; }\n        }\n        if (isLine(this.doc, n)) { indentLine(this, n, dir, aggressive); }\n      }),\n      indentSelection: methodOp(function(how) {\n        var ranges = this.doc.sel.ranges, end = -1;\n        for (var i = 0; i < ranges.length; i++) {\n          var range = ranges[i];\n          if (!range.empty()) {\n            var from = range.from(), to = range.to();\n            var start = Math.max(end, from.line);\n            end = Math.min(this.lastLine(), to.line - (to.ch ? 0 : 1)) + 1;\n            for (var j = start; j < end; ++j)\n              { indentLine(this, j, how); }\n            var newRanges = this.doc.sel.ranges;\n            if (from.ch == 0 && ranges.length == newRanges.length && newRanges[i].from().ch > 0)\n              { replaceOneSelection(this.doc, i, new Range(from, newRanges[i].to()), sel_dontScroll); }\n          } else if (range.head.line > end) {\n            indentLine(this, range.head.line, how, true);\n            end = range.head.line;\n            if (i == this.doc.sel.primIndex) { ensureCursorVisible(this); }\n          }\n        }\n      }),\n\n      // Fetch the parser token for a given character. Useful for hacks\n      // that want to inspect the mode state (say, for completion).\n      getTokenAt: function(pos, precise) {\n        return takeToken(this, pos, precise)\n      },\n\n      getLineTokens: function(line, precise) {\n        return takeToken(this, Pos(line), precise, true)\n      },\n\n      getTokenTypeAt: function(pos) {\n        pos = clipPos(this.doc, pos);\n        var styles = getLineStyles(this, getLine(this.doc, pos.line));\n        var before = 0, after = (styles.length - 1) / 2, ch = pos.ch;\n        var type;\n        if (ch == 0) { type = styles[2]; }\n        else { for (;;) {\n          var mid = (before + after) >> 1;\n          if ((mid ? styles[mid * 2 - 1] : 0) >= ch) { after = mid; }\n          else if (styles[mid * 2 + 1] < ch) { before = mid + 1; }\n          else { type = styles[mid * 2 + 2]; break }\n        } }\n        var cut = type ? type.indexOf(\"overlay \") : -1;\n        return cut < 0 ? type : cut == 0 ? null : type.slice(0, cut - 1)\n      },\n\n      getModeAt: function(pos) {\n        var mode = this.doc.mode;\n        if (!mode.innerMode) { return mode }\n        return CodeMirror.innerMode(mode, this.getTokenAt(pos).state).mode\n      },\n\n      getHelper: function(pos, type) {\n        return this.getHelpers(pos, type)[0]\n      },\n\n      getHelpers: function(pos, type) {\n        var found = [];\n        if (!helpers.hasOwnProperty(type)) { return found }\n        var help = helpers[type], mode = this.getModeAt(pos);\n        if (typeof mode[type] == \"string\") {\n          if (help[mode[type]]) { found.push(help[mode[type]]); }\n        } else if (mode[type]) {\n          for (var i = 0; i < mode[type].length; i++) {\n            var val = help[mode[type][i]];\n            if (val) { found.push(val); }\n          }\n        } else if (mode.helperType && help[mode.helperType]) {\n          found.push(help[mode.helperType]);\n        } else if (help[mode.name]) {\n          found.push(help[mode.name]);\n        }\n        for (var i$1 = 0; i$1 < help._global.length; i$1++) {\n          var cur = help._global[i$1];\n          if (cur.pred(mode, this) && indexOf(found, cur.val) == -1)\n            { found.push(cur.val); }\n        }\n        return found\n      },\n\n      getStateAfter: function(line, precise) {\n        var doc = this.doc;\n        line = clipLine(doc, line == null ? doc.first + doc.size - 1: line);\n        return getContextBefore(this, line + 1, precise).state\n      },\n\n      cursorCoords: function(start, mode) {\n        var pos, range = this.doc.sel.primary();\n        if (start == null) { pos = range.head; }\n        else if (typeof start == \"object\") { pos = clipPos(this.doc, start); }\n        else { pos = start ? range.from() : range.to(); }\n        return cursorCoords(this, pos, mode || \"page\")\n      },\n\n      charCoords: function(pos, mode) {\n        return charCoords(this, clipPos(this.doc, pos), mode || \"page\")\n      },\n\n      coordsChar: function(coords, mode) {\n        coords = fromCoordSystem(this, coords, mode || \"page\");\n        return coordsChar(this, coords.left, coords.top)\n      },\n\n      lineAtHeight: function(height, mode) {\n        height = fromCoordSystem(this, {top: height, left: 0}, mode || \"page\").top;\n        return lineAtHeight(this.doc, height + this.display.viewOffset)\n      },\n      heightAtLine: function(line, mode, includeWidgets) {\n        var end = false, lineObj;\n        if (typeof line == \"number\") {\n          var last = this.doc.first + this.doc.size - 1;\n          if (line < this.doc.first) { line = this.doc.first; }\n          else if (line > last) { line = last; end = true; }\n          lineObj = getLine(this.doc, line);\n        } else {\n          lineObj = line;\n        }\n        return intoCoordSystem(this, lineObj, {top: 0, left: 0}, mode || \"page\", includeWidgets || end).top +\n          (end ? this.doc.height - heightAtLine(lineObj) : 0)\n      },\n\n      defaultTextHeight: function() { return textHeight(this.display) },\n      defaultCharWidth: function() { return charWidth(this.display) },\n\n      getViewport: function() { return {from: this.display.viewFrom, to: this.display.viewTo}},\n\n      addWidget: function(pos, node, scroll, vert, horiz) {\n        var display = this.display;\n        pos = cursorCoords(this, clipPos(this.doc, pos));\n        var top = pos.bottom, left = pos.left;\n        node.style.position = \"absolute\";\n        node.setAttribute(\"cm-ignore-events\", \"true\");\n        this.display.input.setUneditable(node);\n        display.sizer.appendChild(node);\n        if (vert == \"over\") {\n          top = pos.top;\n        } else if (vert == \"above\" || vert == \"near\") {\n          var vspace = Math.max(display.wrapper.clientHeight, this.doc.height),\n          hspace = Math.max(display.sizer.clientWidth, display.lineSpace.clientWidth);\n          // Default to positioning above (if specified and possible); otherwise default to positioning below\n          if ((vert == 'above' || pos.bottom + node.offsetHeight > vspace) && pos.top > node.offsetHeight)\n            { top = pos.top - node.offsetHeight; }\n          else if (pos.bottom + node.offsetHeight <= vspace)\n            { top = pos.bottom; }\n          if (left + node.offsetWidth > hspace)\n            { left = hspace - node.offsetWidth; }\n        }\n        node.style.top = top + \"px\";\n        node.style.left = node.style.right = \"\";\n        if (horiz == \"right\") {\n          left = display.sizer.clientWidth - node.offsetWidth;\n          node.style.right = \"0px\";\n        } else {\n          if (horiz == \"left\") { left = 0; }\n          else if (horiz == \"middle\") { left = (display.sizer.clientWidth - node.offsetWidth) / 2; }\n          node.style.left = left + \"px\";\n        }\n        if (scroll)\n          { scrollIntoView(this, {left: left, top: top, right: left + node.offsetWidth, bottom: top + node.offsetHeight}); }\n      },\n\n      triggerOnKeyDown: methodOp(onKeyDown),\n      triggerOnKeyPress: methodOp(onKeyPress),\n      triggerOnKeyUp: onKeyUp,\n      triggerOnMouseDown: methodOp(onMouseDown),\n\n      execCommand: function(cmd) {\n        if (commands.hasOwnProperty(cmd))\n          { return commands[cmd].call(null, this) }\n      },\n\n      triggerElectric: methodOp(function(text) { triggerElectric(this, text); }),\n\n      findPosH: function(from, amount, unit, visually) {\n        var dir = 1;\n        if (amount < 0) { dir = -1; amount = -amount; }\n        var cur = clipPos(this.doc, from);\n        for (var i = 0; i < amount; ++i) {\n          cur = findPosH(this.doc, cur, dir, unit, visually);\n          if (cur.hitSide) { break }\n        }\n        return cur\n      },\n\n      moveH: methodOp(function(dir, unit) {\n        var this$1 = this;\n\n        this.extendSelectionsBy(function (range) {\n          if (this$1.display.shift || this$1.doc.extend || range.empty())\n            { return findPosH(this$1.doc, range.head, dir, unit, this$1.options.rtlMoveVisually) }\n          else\n            { return dir < 0 ? range.from() : range.to() }\n        }, sel_move);\n      }),\n\n      deleteH: methodOp(function(dir, unit) {\n        var sel = this.doc.sel, doc = this.doc;\n        if (sel.somethingSelected())\n          { doc.replaceSelection(\"\", null, \"+delete\"); }\n        else\n          { deleteNearSelection(this, function (range) {\n            var other = findPosH(doc, range.head, dir, unit, false);\n            return dir < 0 ? {from: other, to: range.head} : {from: range.head, to: other}\n          }); }\n      }),\n\n      findPosV: function(from, amount, unit, goalColumn) {\n        var dir = 1, x = goalColumn;\n        if (amount < 0) { dir = -1; amount = -amount; }\n        var cur = clipPos(this.doc, from);\n        for (var i = 0; i < amount; ++i) {\n          var coords = cursorCoords(this, cur, \"div\");\n          if (x == null) { x = coords.left; }\n          else { coords.left = x; }\n          cur = findPosV(this, coords, dir, unit);\n          if (cur.hitSide) { break }\n        }\n        return cur\n      },\n\n      moveV: methodOp(function(dir, unit) {\n        var this$1 = this;\n\n        var doc = this.doc, goals = [];\n        var collapse = !this.display.shift && !doc.extend && doc.sel.somethingSelected();\n        doc.extendSelectionsBy(function (range) {\n          if (collapse)\n            { return dir < 0 ? range.from() : range.to() }\n          var headPos = cursorCoords(this$1, range.head, \"div\");\n          if (range.goalColumn != null) { headPos.left = range.goalColumn; }\n          goals.push(headPos.left);\n          var pos = findPosV(this$1, headPos, dir, unit);\n          if (unit == \"page\" && range == doc.sel.primary())\n            { addToScrollTop(this$1, charCoords(this$1, pos, \"div\").top - headPos.top); }\n          return pos\n        }, sel_move);\n        if (goals.length) { for (var i = 0; i < doc.sel.ranges.length; i++)\n          { doc.sel.ranges[i].goalColumn = goals[i]; } }\n      }),\n\n      // Find the word at the given position (as returned by coordsChar).\n      findWordAt: function(pos) {\n        var doc = this.doc, line = getLine(doc, pos.line).text;\n        var start = pos.ch, end = pos.ch;\n        if (line) {\n          var helper = this.getHelper(pos, \"wordChars\");\n          if ((pos.sticky == \"before\" || end == line.length) && start) { --start; } else { ++end; }\n          var startChar = line.charAt(start);\n          var check = isWordChar(startChar, helper)\n            ? function (ch) { return isWordChar(ch, helper); }\n            : /\\s/.test(startChar) ? function (ch) { return /\\s/.test(ch); }\n            : function (ch) { return (!/\\s/.test(ch) && !isWordChar(ch)); };\n          while (start > 0 && check(line.charAt(start - 1))) { --start; }\n          while (end < line.length && check(line.charAt(end))) { ++end; }\n        }\n        return new Range(Pos(pos.line, start), Pos(pos.line, end))\n      },\n\n      toggleOverwrite: function(value) {\n        if (value != null && value == this.state.overwrite) { return }\n        if (this.state.overwrite = !this.state.overwrite)\n          { addClass(this.display.cursorDiv, \"CodeMirror-overwrite\"); }\n        else\n          { rmClass(this.display.cursorDiv, \"CodeMirror-overwrite\"); }\n\n        signal(this, \"overwriteToggle\", this, this.state.overwrite);\n      },\n      hasFocus: function() { return this.display.input.getField() == activeElt() },\n      isReadOnly: function() { return !!(this.options.readOnly || this.doc.cantEdit) },\n\n      scrollTo: methodOp(function (x, y) { scrollToCoords(this, x, y); }),\n      getScrollInfo: function() {\n        var scroller = this.display.scroller;\n        return {left: scroller.scrollLeft, top: scroller.scrollTop,\n                height: scroller.scrollHeight - scrollGap(this) - this.display.barHeight,\n                width: scroller.scrollWidth - scrollGap(this) - this.display.barWidth,\n                clientHeight: displayHeight(this), clientWidth: displayWidth(this)}\n      },\n\n      scrollIntoView: methodOp(function(range, margin) {\n        if (range == null) {\n          range = {from: this.doc.sel.primary().head, to: null};\n          if (margin == null) { margin = this.options.cursorScrollMargin; }\n        } else if (typeof range == \"number\") {\n          range = {from: Pos(range, 0), to: null};\n        } else if (range.from == null) {\n          range = {from: range, to: null};\n        }\n        if (!range.to) { range.to = range.from; }\n        range.margin = margin || 0;\n\n        if (range.from.line != null) {\n          scrollToRange(this, range);\n        } else {\n          scrollToCoordsRange(this, range.from, range.to, range.margin);\n        }\n      }),\n\n      setSize: methodOp(function(width, height) {\n        var this$1 = this;\n\n        var interpret = function (val) { return typeof val == \"number\" || /^\\d+$/.test(String(val)) ? val + \"px\" : val; };\n        if (width != null) { this.display.wrapper.style.width = interpret(width); }\n        if (height != null) { this.display.wrapper.style.height = interpret(height); }\n        if (this.options.lineWrapping) { clearLineMeasurementCache(this); }\n        var lineNo = this.display.viewFrom;\n        this.doc.iter(lineNo, this.display.viewTo, function (line) {\n          if (line.widgets) { for (var i = 0; i < line.widgets.length; i++)\n            { if (line.widgets[i].noHScroll) { regLineChange(this$1, lineNo, \"widget\"); break } } }\n          ++lineNo;\n        });\n        this.curOp.forceUpdate = true;\n        signal(this, \"refresh\", this);\n      }),\n\n      operation: function(f){return runInOp(this, f)},\n      startOperation: function(){return startOperation(this)},\n      endOperation: function(){return endOperation(this)},\n\n      refresh: methodOp(function() {\n        var oldHeight = this.display.cachedTextHeight;\n        regChange(this);\n        this.curOp.forceUpdate = true;\n        clearCaches(this);\n        scrollToCoords(this, this.doc.scrollLeft, this.doc.scrollTop);\n        updateGutterSpace(this.display);\n        if (oldHeight == null || Math.abs(oldHeight - textHeight(this.display)) > .5 || this.options.lineWrapping)\n          { estimateLineHeights(this); }\n        signal(this, \"refresh\", this);\n      }),\n\n      swapDoc: methodOp(function(doc) {\n        var old = this.doc;\n        old.cm = null;\n        // Cancel the current text selection if any (#5821)\n        if (this.state.selectingText) { this.state.selectingText(); }\n        attachDoc(this, doc);\n        clearCaches(this);\n        this.display.input.reset();\n        scrollToCoords(this, doc.scrollLeft, doc.scrollTop);\n        this.curOp.forceScroll = true;\n        signalLater(this, \"swapDoc\", this, old);\n        return old\n      }),\n\n      phrase: function(phraseText) {\n        var phrases = this.options.phrases;\n        return phrases && Object.prototype.hasOwnProperty.call(phrases, phraseText) ? phrases[phraseText] : phraseText\n      },\n\n      getInputField: function(){return this.display.input.getField()},\n      getWrapperElement: function(){return this.display.wrapper},\n      getScrollerElement: function(){return this.display.scroller},\n      getGutterElement: function(){return this.display.gutters}\n    };\n    eventMixin(CodeMirror);\n\n    CodeMirror.registerHelper = function(type, name, value) {\n      if (!helpers.hasOwnProperty(type)) { helpers[type] = CodeMirror[type] = {_global: []}; }\n      helpers[type][name] = value;\n    };\n    CodeMirror.registerGlobalHelper = function(type, name, predicate, value) {\n      CodeMirror.registerHelper(type, name, value);\n      helpers[type]._global.push({pred: predicate, val: value});\n    };\n  }\n\n  // Used for horizontal relative motion. Dir is -1 or 1 (left or\n  // right), unit can be \"codepoint\", \"char\", \"column\" (like char, but\n  // doesn't cross line boundaries), \"word\" (across next word), or\n  // \"group\" (to the start of next group of word or\n  // non-word-non-whitespace chars). The visually param controls\n  // whether, in right-to-left text, direction 1 means to move towards\n  // the next index in the string, or towards the character to the right\n  // of the current position. The resulting position will have a\n  // hitSide=true property if it reached the end of the document.\n  function findPosH(doc, pos, dir, unit, visually) {\n    var oldPos = pos;\n    var origDir = dir;\n    var lineObj = getLine(doc, pos.line);\n    var lineDir = visually && doc.direction == \"rtl\" ? -dir : dir;\n    function findNextLine() {\n      var l = pos.line + lineDir;\n      if (l < doc.first || l >= doc.first + doc.size) { return false }\n      pos = new Pos(l, pos.ch, pos.sticky);\n      return lineObj = getLine(doc, l)\n    }\n    function moveOnce(boundToLine) {\n      var next;\n      if (unit == \"codepoint\") {\n        var ch = lineObj.text.charCodeAt(pos.ch + (dir > 0 ? 0 : -1));\n        if (isNaN(ch)) {\n          next = null;\n        } else {\n          var astral = dir > 0 ? ch >= 0xD800 && ch < 0xDC00 : ch >= 0xDC00 && ch < 0xDFFF;\n          next = new Pos(pos.line, Math.max(0, Math.min(lineObj.text.length, pos.ch + dir * (astral ? 2 : 1))), -dir);\n        }\n      } else if (visually) {\n        next = moveVisually(doc.cm, lineObj, pos, dir);\n      } else {\n        next = moveLogically(lineObj, pos, dir);\n      }\n      if (next == null) {\n        if (!boundToLine && findNextLine())\n          { pos = endOfLine(visually, doc.cm, lineObj, pos.line, lineDir); }\n        else\n          { return false }\n      } else {\n        pos = next;\n      }\n      return true\n    }\n\n    if (unit == \"char\" || unit == \"codepoint\") {\n      moveOnce();\n    } else if (unit == \"column\") {\n      moveOnce(true);\n    } else if (unit == \"word\" || unit == \"group\") {\n      var sawType = null, group = unit == \"group\";\n      var helper = doc.cm && doc.cm.getHelper(pos, \"wordChars\");\n      for (var first = true;; first = false) {\n        if (dir < 0 && !moveOnce(!first)) { break }\n        var cur = lineObj.text.charAt(pos.ch) || \"\\n\";\n        var type = isWordChar(cur, helper) ? \"w\"\n          : group && cur == \"\\n\" ? \"n\"\n          : !group || /\\s/.test(cur) ? null\n          : \"p\";\n        if (group && !first && !type) { type = \"s\"; }\n        if (sawType && sawType != type) {\n          if (dir < 0) {dir = 1; moveOnce(); pos.sticky = \"after\";}\n          break\n        }\n\n        if (type) { sawType = type; }\n        if (dir > 0 && !moveOnce(!first)) { break }\n      }\n    }\n    var result = skipAtomic(doc, pos, oldPos, origDir, true);\n    if (equalCursorPos(oldPos, result)) { result.hitSide = true; }\n    return result\n  }\n\n  // For relative vertical movement. Dir may be -1 or 1. Unit can be\n  // \"page\" or \"line\". The resulting position will have a hitSide=true\n  // property if it reached the end of the document.\n  function findPosV(cm, pos, dir, unit) {\n    var doc = cm.doc, x = pos.left, y;\n    if (unit == \"page\") {\n      var pageSize = Math.min(cm.display.wrapper.clientHeight, window.innerHeight || document.documentElement.clientHeight);\n      var moveAmount = Math.max(pageSize - .5 * textHeight(cm.display), 3);\n      y = (dir > 0 ? pos.bottom : pos.top) + dir * moveAmount;\n\n    } else if (unit == \"line\") {\n      y = dir > 0 ? pos.bottom + 3 : pos.top - 3;\n    }\n    var target;\n    for (;;) {\n      target = coordsChar(cm, x, y);\n      if (!target.outside) { break }\n      if (dir < 0 ? y <= 0 : y >= doc.height) { target.hitSide = true; break }\n      y += dir * 5;\n    }\n    return target\n  }\n\n  // CONTENTEDITABLE INPUT STYLE\n\n  var ContentEditableInput = function(cm) {\n    this.cm = cm;\n    this.lastAnchorNode = this.lastAnchorOffset = this.lastFocusNode = this.lastFocusOffset = null;\n    this.polling = new Delayed();\n    this.composing = null;\n    this.gracePeriod = false;\n    this.readDOMTimeout = null;\n  };\n\n  ContentEditableInput.prototype.init = function (display) {\n      var this$1 = this;\n\n    var input = this, cm = input.cm;\n    var div = input.div = display.lineDiv;\n    div.contentEditable = true;\n    disableBrowserMagic(div, cm.options.spellcheck, cm.options.autocorrect, cm.options.autocapitalize);\n\n    function belongsToInput(e) {\n      for (var t = e.target; t; t = t.parentNode) {\n        if (t == div) { return true }\n        if (/\\bCodeMirror-(?:line)?widget\\b/.test(t.className)) { break }\n      }\n      return false\n    }\n\n    on(div, \"paste\", function (e) {\n      if (!belongsToInput(e) || signalDOMEvent(cm, e) || handlePaste(e, cm)) { return }\n      // IE doesn't fire input events, so we schedule a read for the pasted content in this way\n      if (ie_version <= 11) { setTimeout(operation(cm, function () { return this$1.updateFromDOM(); }), 20); }\n    });\n\n    on(div, \"compositionstart\", function (e) {\n      this$1.composing = {data: e.data, done: false};\n    });\n    on(div, \"compositionupdate\", function (e) {\n      if (!this$1.composing) { this$1.composing = {data: e.data, done: false}; }\n    });\n    on(div, \"compositionend\", function (e) {\n      if (this$1.composing) {\n        if (e.data != this$1.composing.data) { this$1.readFromDOMSoon(); }\n        this$1.composing.done = true;\n      }\n    });\n\n    on(div, \"touchstart\", function () { return input.forceCompositionEnd(); });\n\n    on(div, \"input\", function () {\n      if (!this$1.composing) { this$1.readFromDOMSoon(); }\n    });\n\n    function onCopyCut(e) {\n      if (!belongsToInput(e) || signalDOMEvent(cm, e)) { return }\n      if (cm.somethingSelected()) {\n        setLastCopied({lineWise: false, text: cm.getSelections()});\n        if (e.type == \"cut\") { cm.replaceSelection(\"\", null, \"cut\"); }\n      } else if (!cm.options.lineWiseCopyCut) {\n        return\n      } else {\n        var ranges = copyableRanges(cm);\n        setLastCopied({lineWise: true, text: ranges.text});\n        if (e.type == \"cut\") {\n          cm.operation(function () {\n            cm.setSelections(ranges.ranges, 0, sel_dontScroll);\n            cm.replaceSelection(\"\", null, \"cut\");\n          });\n        }\n      }\n      if (e.clipboardData) {\n        e.clipboardData.clearData();\n        var content = lastCopied.text.join(\"\\n\");\n        // iOS exposes the clipboard API, but seems to discard content inserted into it\n        e.clipboardData.setData(\"Text\", content);\n        if (e.clipboardData.getData(\"Text\") == content) {\n          e.preventDefault();\n          return\n        }\n      }\n      // Old-fashioned briefly-focus-a-textarea hack\n      var kludge = hiddenTextarea(), te = kludge.firstChild;\n      cm.display.lineSpace.insertBefore(kludge, cm.display.lineSpace.firstChild);\n      te.value = lastCopied.text.join(\"\\n\");\n      var hadFocus = activeElt();\n      selectInput(te);\n      setTimeout(function () {\n        cm.display.lineSpace.removeChild(kludge);\n        hadFocus.focus();\n        if (hadFocus == div) { input.showPrimarySelection(); }\n      }, 50);\n    }\n    on(div, \"copy\", onCopyCut);\n    on(div, \"cut\", onCopyCut);\n  };\n\n  ContentEditableInput.prototype.screenReaderLabelChanged = function (label) {\n    // Label for screenreaders, accessibility\n    if(label) {\n      this.div.setAttribute('aria-label', label);\n    } else {\n      this.div.removeAttribute('aria-label');\n    }\n  };\n\n  ContentEditableInput.prototype.prepareSelection = function () {\n    var result = prepareSelection(this.cm, false);\n    result.focus = activeElt() == this.div;\n    return result\n  };\n\n  ContentEditableInput.prototype.showSelection = function (info, takeFocus) {\n    if (!info || !this.cm.display.view.length) { return }\n    if (info.focus || takeFocus) { this.showPrimarySelection(); }\n    this.showMultipleSelections(info);\n  };\n\n  ContentEditableInput.prototype.getSelection = function () {\n    return this.cm.display.wrapper.ownerDocument.getSelection()\n  };\n\n  ContentEditableInput.prototype.showPrimarySelection = function () {\n    var sel = this.getSelection(), cm = this.cm, prim = cm.doc.sel.primary();\n    var from = prim.from(), to = prim.to();\n\n    if (cm.display.viewTo == cm.display.viewFrom || from.line >= cm.display.viewTo || to.line < cm.display.viewFrom) {\n      sel.removeAllRanges();\n      return\n    }\n\n    var curAnchor = domToPos(cm, sel.anchorNode, sel.anchorOffset);\n    var curFocus = domToPos(cm, sel.focusNode, sel.focusOffset);\n    if (curAnchor && !curAnchor.bad && curFocus && !curFocus.bad &&\n        cmp(minPos(curAnchor, curFocus), from) == 0 &&\n        cmp(maxPos(curAnchor, curFocus), to) == 0)\n      { return }\n\n    var view = cm.display.view;\n    var start = (from.line >= cm.display.viewFrom && posToDOM(cm, from)) ||\n        {node: view[0].measure.map[2], offset: 0};\n    var end = to.line < cm.display.viewTo && posToDOM(cm, to);\n    if (!end) {\n      var measure = view[view.length - 1].measure;\n      var map = measure.maps ? measure.maps[measure.maps.length - 1] : measure.map;\n      end = {node: map[map.length - 1], offset: map[map.length - 2] - map[map.length - 3]};\n    }\n\n    if (!start || !end) {\n      sel.removeAllRanges();\n      return\n    }\n\n    var old = sel.rangeCount && sel.getRangeAt(0), rng;\n    try { rng = range(start.node, start.offset, end.offset, end.node); }\n    catch(e) {} // Our model of the DOM might be outdated, in which case the range we try to set can be impossible\n    if (rng) {\n      if (!gecko && cm.state.focused) {\n        sel.collapse(start.node, start.offset);\n        if (!rng.collapsed) {\n          sel.removeAllRanges();\n          sel.addRange(rng);\n        }\n      } else {\n        sel.removeAllRanges();\n        sel.addRange(rng);\n      }\n      if (old && sel.anchorNode == null) { sel.addRange(old); }\n      else if (gecko) { this.startGracePeriod(); }\n    }\n    this.rememberSelection();\n  };\n\n  ContentEditableInput.prototype.startGracePeriod = function () {\n      var this$1 = this;\n\n    clearTimeout(this.gracePeriod);\n    this.gracePeriod = setTimeout(function () {\n      this$1.gracePeriod = false;\n      if (this$1.selectionChanged())\n        { this$1.cm.operation(function () { return this$1.cm.curOp.selectionChanged = true; }); }\n    }, 20);\n  };\n\n  ContentEditableInput.prototype.showMultipleSelections = function (info) {\n    removeChildrenAndAdd(this.cm.display.cursorDiv, info.cursors);\n    removeChildrenAndAdd(this.cm.display.selectionDiv, info.selection);\n  };\n\n  ContentEditableInput.prototype.rememberSelection = function () {\n    var sel = this.getSelection();\n    this.lastAnchorNode = sel.anchorNode; this.lastAnchorOffset = sel.anchorOffset;\n    this.lastFocusNode = sel.focusNode; this.lastFocusOffset = sel.focusOffset;\n  };\n\n  ContentEditableInput.prototype.selectionInEditor = function () {\n    var sel = this.getSelection();\n    if (!sel.rangeCount) { return false }\n    var node = sel.getRangeAt(0).commonAncestorContainer;\n    return contains(this.div, node)\n  };\n\n  ContentEditableInput.prototype.focus = function () {\n    if (this.cm.options.readOnly != \"nocursor\") {\n      if (!this.selectionInEditor() || activeElt() != this.div)\n        { this.showSelection(this.prepareSelection(), true); }\n      this.div.focus();\n    }\n  };\n  ContentEditableInput.prototype.blur = function () { this.div.blur(); };\n  ContentEditableInput.prototype.getField = function () { return this.div };\n\n  ContentEditableInput.prototype.supportsTouch = function () { return true };\n\n  ContentEditableInput.prototype.receivedFocus = function () {\n      var this$1 = this;\n\n    var input = this;\n    if (this.selectionInEditor())\n      { setTimeout(function () { return this$1.pollSelection(); }, 20); }\n    else\n      { runInOp(this.cm, function () { return input.cm.curOp.selectionChanged = true; }); }\n\n    function poll() {\n      if (input.cm.state.focused) {\n        input.pollSelection();\n        input.polling.set(input.cm.options.pollInterval, poll);\n      }\n    }\n    this.polling.set(this.cm.options.pollInterval, poll);\n  };\n\n  ContentEditableInput.prototype.selectionChanged = function () {\n    var sel = this.getSelection();\n    return sel.anchorNode != this.lastAnchorNode || sel.anchorOffset != this.lastAnchorOffset ||\n      sel.focusNode != this.lastFocusNode || sel.focusOffset != this.lastFocusOffset\n  };\n\n  ContentEditableInput.prototype.pollSelection = function () {\n    if (this.readDOMTimeout != null || this.gracePeriod || !this.selectionChanged()) { return }\n    var sel = this.getSelection(), cm = this.cm;\n    // On Android Chrome (version 56, at least), backspacing into an\n    // uneditable block element will put the cursor in that element,\n    // and then, because it's not editable, hide the virtual keyboard.\n    // Because Android doesn't allow us to actually detect backspace\n    // presses in a sane way, this code checks for when that happens\n    // and simulates a backspace press in this case.\n    if (android && chrome && this.cm.display.gutterSpecs.length && isInGutter(sel.anchorNode)) {\n      this.cm.triggerOnKeyDown({type: \"keydown\", keyCode: 8, preventDefault: Math.abs});\n      this.blur();\n      this.focus();\n      return\n    }\n    if (this.composing) { return }\n    this.rememberSelection();\n    var anchor = domToPos(cm, sel.anchorNode, sel.anchorOffset);\n    var head = domToPos(cm, sel.focusNode, sel.focusOffset);\n    if (anchor && head) { runInOp(cm, function () {\n      setSelection(cm.doc, simpleSelection(anchor, head), sel_dontScroll);\n      if (anchor.bad || head.bad) { cm.curOp.selectionChanged = true; }\n    }); }\n  };\n\n  ContentEditableInput.prototype.pollContent = function () {\n    if (this.readDOMTimeout != null) {\n      clearTimeout(this.readDOMTimeout);\n      this.readDOMTimeout = null;\n    }\n\n    var cm = this.cm, display = cm.display, sel = cm.doc.sel.primary();\n    var from = sel.from(), to = sel.to();\n    if (from.ch == 0 && from.line > cm.firstLine())\n      { from = Pos(from.line - 1, getLine(cm.doc, from.line - 1).length); }\n    if (to.ch == getLine(cm.doc, to.line).text.length && to.line < cm.lastLine())\n      { to = Pos(to.line + 1, 0); }\n    if (from.line < display.viewFrom || to.line > display.viewTo - 1) { return false }\n\n    var fromIndex, fromLine, fromNode;\n    if (from.line == display.viewFrom || (fromIndex = findViewIndex(cm, from.line)) == 0) {\n      fromLine = lineNo(display.view[0].line);\n      fromNode = display.view[0].node;\n    } else {\n      fromLine = lineNo(display.view[fromIndex].line);\n      fromNode = display.view[fromIndex - 1].node.nextSibling;\n    }\n    var toIndex = findViewIndex(cm, to.line);\n    var toLine, toNode;\n    if (toIndex == display.view.length - 1) {\n      toLine = display.viewTo - 1;\n      toNode = display.lineDiv.lastChild;\n    } else {\n      toLine = lineNo(display.view[toIndex + 1].line) - 1;\n      toNode = display.view[toIndex + 1].node.previousSibling;\n    }\n\n    if (!fromNode) { return false }\n    var newText = cm.doc.splitLines(domTextBetween(cm, fromNode, toNode, fromLine, toLine));\n    var oldText = getBetween(cm.doc, Pos(fromLine, 0), Pos(toLine, getLine(cm.doc, toLine).text.length));\n    while (newText.length > 1 && oldText.length > 1) {\n      if (lst(newText) == lst(oldText)) { newText.pop(); oldText.pop(); toLine--; }\n      else if (newText[0] == oldText[0]) { newText.shift(); oldText.shift(); fromLine++; }\n      else { break }\n    }\n\n    var cutFront = 0, cutEnd = 0;\n    var newTop = newText[0], oldTop = oldText[0], maxCutFront = Math.min(newTop.length, oldTop.length);\n    while (cutFront < maxCutFront && newTop.charCodeAt(cutFront) == oldTop.charCodeAt(cutFront))\n      { ++cutFront; }\n    var newBot = lst(newText), oldBot = lst(oldText);\n    var maxCutEnd = Math.min(newBot.length - (newText.length == 1 ? cutFront : 0),\n                             oldBot.length - (oldText.length == 1 ? cutFront : 0));\n    while (cutEnd < maxCutEnd &&\n           newBot.charCodeAt(newBot.length - cutEnd - 1) == oldBot.charCodeAt(oldBot.length - cutEnd - 1))\n      { ++cutEnd; }\n    // Try to move start of change to start of selection if ambiguous\n    if (newText.length == 1 && oldText.length == 1 && fromLine == from.line) {\n      while (cutFront && cutFront > from.ch &&\n             newBot.charCodeAt(newBot.length - cutEnd - 1) == oldBot.charCodeAt(oldBot.length - cutEnd - 1)) {\n        cutFront--;\n        cutEnd++;\n      }\n    }\n\n    newText[newText.length - 1] = newBot.slice(0, newBot.length - cutEnd).replace(/^\\u200b+/, \"\");\n    newText[0] = newText[0].slice(cutFront).replace(/\\u200b+$/, \"\");\n\n    var chFrom = Pos(fromLine, cutFront);\n    var chTo = Pos(toLine, oldText.length ? lst(oldText).length - cutEnd : 0);\n    if (newText.length > 1 || newText[0] || cmp(chFrom, chTo)) {\n      replaceRange(cm.doc, newText, chFrom, chTo, \"+input\");\n      return true\n    }\n  };\n\n  ContentEditableInput.prototype.ensurePolled = function () {\n    this.forceCompositionEnd();\n  };\n  ContentEditableInput.prototype.reset = function () {\n    this.forceCompositionEnd();\n  };\n  ContentEditableInput.prototype.forceCompositionEnd = function () {\n    if (!this.composing) { return }\n    clearTimeout(this.readDOMTimeout);\n    this.composing = null;\n    this.updateFromDOM();\n    this.div.blur();\n    this.div.focus();\n  };\n  ContentEditableInput.prototype.readFromDOMSoon = function () {\n      var this$1 = this;\n\n    if (this.readDOMTimeout != null) { return }\n    this.readDOMTimeout = setTimeout(function () {\n      this$1.readDOMTimeout = null;\n      if (this$1.composing) {\n        if (this$1.composing.done) { this$1.composing = null; }\n        else { return }\n      }\n      this$1.updateFromDOM();\n    }, 80);\n  };\n\n  ContentEditableInput.prototype.updateFromDOM = function () {\n      var this$1 = this;\n\n    if (this.cm.isReadOnly() || !this.pollContent())\n      { runInOp(this.cm, function () { return regChange(this$1.cm); }); }\n  };\n\n  ContentEditableInput.prototype.setUneditable = function (node) {\n    node.contentEditable = \"false\";\n  };\n\n  ContentEditableInput.prototype.onKeyPress = function (e) {\n    if (e.charCode == 0 || this.composing) { return }\n    e.preventDefault();\n    if (!this.cm.isReadOnly())\n      { operation(this.cm, applyTextInput)(this.cm, String.fromCharCode(e.charCode == null ? e.keyCode : e.charCode), 0); }\n  };\n\n  ContentEditableInput.prototype.readOnlyChanged = function (val) {\n    this.div.contentEditable = String(val != \"nocursor\");\n  };\n\n  ContentEditableInput.prototype.onContextMenu = function () {};\n  ContentEditableInput.prototype.resetPosition = function () {};\n\n  ContentEditableInput.prototype.needsContentAttribute = true;\n\n  function posToDOM(cm, pos) {\n    var view = findViewForLine(cm, pos.line);\n    if (!view || view.hidden) { return null }\n    var line = getLine(cm.doc, pos.line);\n    var info = mapFromLineView(view, line, pos.line);\n\n    var order = getOrder(line, cm.doc.direction), side = \"left\";\n    if (order) {\n      var partPos = getBidiPartAt(order, pos.ch);\n      side = partPos % 2 ? \"right\" : \"left\";\n    }\n    var result = nodeAndOffsetInLineMap(info.map, pos.ch, side);\n    result.offset = result.collapse == \"right\" ? result.end : result.start;\n    return result\n  }\n\n  function isInGutter(node) {\n    for (var scan = node; scan; scan = scan.parentNode)\n      { if (/CodeMirror-gutter-wrapper/.test(scan.className)) { return true } }\n    return false\n  }\n\n  function badPos(pos, bad) { if (bad) { pos.bad = true; } return pos }\n\n  function domTextBetween(cm, from, to, fromLine, toLine) {\n    var text = \"\", closing = false, lineSep = cm.doc.lineSeparator(), extraLinebreak = false;\n    function recognizeMarker(id) { return function (marker) { return marker.id == id; } }\n    function close() {\n      if (closing) {\n        text += lineSep;\n        if (extraLinebreak) { text += lineSep; }\n        closing = extraLinebreak = false;\n      }\n    }\n    function addText(str) {\n      if (str) {\n        close();\n        text += str;\n      }\n    }\n    function walk(node) {\n      if (node.nodeType == 1) {\n        var cmText = node.getAttribute(\"cm-text\");\n        if (cmText) {\n          addText(cmText);\n          return\n        }\n        var markerID = node.getAttribute(\"cm-marker\"), range;\n        if (markerID) {\n          var found = cm.findMarks(Pos(fromLine, 0), Pos(toLine + 1, 0), recognizeMarker(+markerID));\n          if (found.length && (range = found[0].find(0)))\n            { addText(getBetween(cm.doc, range.from, range.to).join(lineSep)); }\n          return\n        }\n        if (node.getAttribute(\"contenteditable\") == \"false\") { return }\n        var isBlock = /^(pre|div|p|li|table|br)$/i.test(node.nodeName);\n        if (!/^br$/i.test(node.nodeName) && node.textContent.length == 0) { return }\n\n        if (isBlock) { close(); }\n        for (var i = 0; i < node.childNodes.length; i++)\n          { walk(node.childNodes[i]); }\n\n        if (/^(pre|p)$/i.test(node.nodeName)) { extraLinebreak = true; }\n        if (isBlock) { closing = true; }\n      } else if (node.nodeType == 3) {\n        addText(node.nodeValue.replace(/\\u200b/g, \"\").replace(/\\u00a0/g, \" \"));\n      }\n    }\n    for (;;) {\n      walk(from);\n      if (from == to) { break }\n      from = from.nextSibling;\n      extraLinebreak = false;\n    }\n    return text\n  }\n\n  function domToPos(cm, node, offset) {\n    var lineNode;\n    if (node == cm.display.lineDiv) {\n      lineNode = cm.display.lineDiv.childNodes[offset];\n      if (!lineNode) { return badPos(cm.clipPos(Pos(cm.display.viewTo - 1)), true) }\n      node = null; offset = 0;\n    } else {\n      for (lineNode = node;; lineNode = lineNode.parentNode) {\n        if (!lineNode || lineNode == cm.display.lineDiv) { return null }\n        if (lineNode.parentNode && lineNode.parentNode == cm.display.lineDiv) { break }\n      }\n    }\n    for (var i = 0; i < cm.display.view.length; i++) {\n      var lineView = cm.display.view[i];\n      if (lineView.node == lineNode)\n        { return locateNodeInLineView(lineView, node, offset) }\n    }\n  }\n\n  function locateNodeInLineView(lineView, node, offset) {\n    var wrapper = lineView.text.firstChild, bad = false;\n    if (!node || !contains(wrapper, node)) { return badPos(Pos(lineNo(lineView.line), 0), true) }\n    if (node == wrapper) {\n      bad = true;\n      node = wrapper.childNodes[offset];\n      offset = 0;\n      if (!node) {\n        var line = lineView.rest ? lst(lineView.rest) : lineView.line;\n        return badPos(Pos(lineNo(line), line.text.length), bad)\n      }\n    }\n\n    var textNode = node.nodeType == 3 ? node : null, topNode = node;\n    if (!textNode && node.childNodes.length == 1 && node.firstChild.nodeType == 3) {\n      textNode = node.firstChild;\n      if (offset) { offset = textNode.nodeValue.length; }\n    }\n    while (topNode.parentNode != wrapper) { topNode = topNode.parentNode; }\n    var measure = lineView.measure, maps = measure.maps;\n\n    function find(textNode, topNode, offset) {\n      for (var i = -1; i < (maps ? maps.length : 0); i++) {\n        var map = i < 0 ? measure.map : maps[i];\n        for (var j = 0; j < map.length; j += 3) {\n          var curNode = map[j + 2];\n          if (curNode == textNode || curNode == topNode) {\n            var line = lineNo(i < 0 ? lineView.line : lineView.rest[i]);\n            var ch = map[j] + offset;\n            if (offset < 0 || curNode != textNode) { ch = map[j + (offset ? 1 : 0)]; }\n            return Pos(line, ch)\n          }\n        }\n      }\n    }\n    var found = find(textNode, topNode, offset);\n    if (found) { return badPos(found, bad) }\n\n    // FIXME this is all really shaky. might handle the few cases it needs to handle, but likely to cause problems\n    for (var after = topNode.nextSibling, dist = textNode ? textNode.nodeValue.length - offset : 0; after; after = after.nextSibling) {\n      found = find(after, after.firstChild, 0);\n      if (found)\n        { return badPos(Pos(found.line, found.ch - dist), bad) }\n      else\n        { dist += after.textContent.length; }\n    }\n    for (var before = topNode.previousSibling, dist$1 = offset; before; before = before.previousSibling) {\n      found = find(before, before.firstChild, -1);\n      if (found)\n        { return badPos(Pos(found.line, found.ch + dist$1), bad) }\n      else\n        { dist$1 += before.textContent.length; }\n    }\n  }\n\n  // TEXTAREA INPUT STYLE\n\n  var TextareaInput = function(cm) {\n    this.cm = cm;\n    // See input.poll and input.reset\n    this.prevInput = \"\";\n\n    // Flag that indicates whether we expect input to appear real soon\n    // now (after some event like 'keypress' or 'input') and are\n    // polling intensively.\n    this.pollingFast = false;\n    // Self-resetting timeout for the poller\n    this.polling = new Delayed();\n    // Used to work around IE issue with selection being forgotten when focus moves away from textarea\n    this.hasSelection = false;\n    this.composing = null;\n  };\n\n  TextareaInput.prototype.init = function (display) {\n      var this$1 = this;\n\n    var input = this, cm = this.cm;\n    this.createField(display);\n    var te = this.textarea;\n\n    display.wrapper.insertBefore(this.wrapper, display.wrapper.firstChild);\n\n    // Needed to hide big blue blinking cursor on Mobile Safari (doesn't seem to work in iOS 8 anymore)\n    if (ios) { te.style.width = \"0px\"; }\n\n    on(te, \"input\", function () {\n      if (ie && ie_version >= 9 && this$1.hasSelection) { this$1.hasSelection = null; }\n      input.poll();\n    });\n\n    on(te, \"paste\", function (e) {\n      if (signalDOMEvent(cm, e) || handlePaste(e, cm)) { return }\n\n      cm.state.pasteIncoming = +new Date;\n      input.fastPoll();\n    });\n\n    function prepareCopyCut(e) {\n      if (signalDOMEvent(cm, e)) { return }\n      if (cm.somethingSelected()) {\n        setLastCopied({lineWise: false, text: cm.getSelections()});\n      } else if (!cm.options.lineWiseCopyCut) {\n        return\n      } else {\n        var ranges = copyableRanges(cm);\n        setLastCopied({lineWise: true, text: ranges.text});\n        if (e.type == \"cut\") {\n          cm.setSelections(ranges.ranges, null, sel_dontScroll);\n        } else {\n          input.prevInput = \"\";\n          te.value = ranges.text.join(\"\\n\");\n          selectInput(te);\n        }\n      }\n      if (e.type == \"cut\") { cm.state.cutIncoming = +new Date; }\n    }\n    on(te, \"cut\", prepareCopyCut);\n    on(te, \"copy\", prepareCopyCut);\n\n    on(display.scroller, \"paste\", function (e) {\n      if (eventInWidget(display, e) || signalDOMEvent(cm, e)) { return }\n      if (!te.dispatchEvent) {\n        cm.state.pasteIncoming = +new Date;\n        input.focus();\n        return\n      }\n\n      // Pass the `paste` event to the textarea so it's handled by its event listener.\n      var event = new Event(\"paste\");\n      event.clipboardData = e.clipboardData;\n      te.dispatchEvent(event);\n    });\n\n    // Prevent normal selection in the editor (we handle our own)\n    on(display.lineSpace, \"selectstart\", function (e) {\n      if (!eventInWidget(display, e)) { e_preventDefault(e); }\n    });\n\n    on(te, \"compositionstart\", function () {\n      var start = cm.getCursor(\"from\");\n      if (input.composing) { input.composing.range.clear(); }\n      input.composing = {\n        start: start,\n        range: cm.markText(start, cm.getCursor(\"to\"), {className: \"CodeMirror-composing\"})\n      };\n    });\n    on(te, \"compositionend\", function () {\n      if (input.composing) {\n        input.poll();\n        input.composing.range.clear();\n        input.composing = null;\n      }\n    });\n  };\n\n  TextareaInput.prototype.createField = function (_display) {\n    // Wraps and hides input textarea\n    this.wrapper = hiddenTextarea();\n    // The semihidden textarea that is focused when the editor is\n    // focused, and receives input.\n    this.textarea = this.wrapper.firstChild;\n  };\n\n  TextareaInput.prototype.screenReaderLabelChanged = function (label) {\n    // Label for screenreaders, accessibility\n    if(label) {\n      this.textarea.setAttribute('aria-label', label);\n    } else {\n      this.textarea.removeAttribute('aria-label');\n    }\n  };\n\n  TextareaInput.prototype.prepareSelection = function () {\n    // Redraw the selection and/or cursor\n    var cm = this.cm, display = cm.display, doc = cm.doc;\n    var result = prepareSelection(cm);\n\n    // Move the hidden textarea near the cursor to prevent scrolling artifacts\n    if (cm.options.moveInputWithCursor) {\n      var headPos = cursorCoords(cm, doc.sel.primary().head, \"div\");\n      var wrapOff = display.wrapper.getBoundingClientRect(), lineOff = display.lineDiv.getBoundingClientRect();\n      result.teTop = Math.max(0, Math.min(display.wrapper.clientHeight - 10,\n                                          headPos.top + lineOff.top - wrapOff.top));\n      result.teLeft = Math.max(0, Math.min(display.wrapper.clientWidth - 10,\n                                           headPos.left + lineOff.left - wrapOff.left));\n    }\n\n    return result\n  };\n\n  TextareaInput.prototype.showSelection = function (drawn) {\n    var cm = this.cm, display = cm.display;\n    removeChildrenAndAdd(display.cursorDiv, drawn.cursors);\n    removeChildrenAndAdd(display.selectionDiv, drawn.selection);\n    if (drawn.teTop != null) {\n      this.wrapper.style.top = drawn.teTop + \"px\";\n      this.wrapper.style.left = drawn.teLeft + \"px\";\n    }\n  };\n\n  // Reset the input to correspond to the selection (or to be empty,\n  // when not typing and nothing is selected)\n  TextareaInput.prototype.reset = function (typing) {\n    if (this.contextMenuPending || this.composing) { return }\n    var cm = this.cm;\n    if (cm.somethingSelected()) {\n      this.prevInput = \"\";\n      var content = cm.getSelection();\n      this.textarea.value = content;\n      if (cm.state.focused) { selectInput(this.textarea); }\n      if (ie && ie_version >= 9) { this.hasSelection = content; }\n    } else if (!typing) {\n      this.prevInput = this.textarea.value = \"\";\n      if (ie && ie_version >= 9) { this.hasSelection = null; }\n    }\n  };\n\n  TextareaInput.prototype.getField = function () { return this.textarea };\n\n  TextareaInput.prototype.supportsTouch = function () { return false };\n\n  TextareaInput.prototype.focus = function () {\n    if (this.cm.options.readOnly != \"nocursor\" && (!mobile || activeElt() != this.textarea)) {\n      try { this.textarea.focus(); }\n      catch (e) {} // IE8 will throw if the textarea is display: none or not in DOM\n    }\n  };\n\n  TextareaInput.prototype.blur = function () { this.textarea.blur(); };\n\n  TextareaInput.prototype.resetPosition = function () {\n    this.wrapper.style.top = this.wrapper.style.left = 0;\n  };\n\n  TextareaInput.prototype.receivedFocus = function () { this.slowPoll(); };\n\n  // Poll for input changes, using the normal rate of polling. This\n  // runs as long as the editor is focused.\n  TextareaInput.prototype.slowPoll = function () {\n      var this$1 = this;\n\n    if (this.pollingFast) { return }\n    this.polling.set(this.cm.options.pollInterval, function () {\n      this$1.poll();\n      if (this$1.cm.state.focused) { this$1.slowPoll(); }\n    });\n  };\n\n  // When an event has just come in that is likely to add or change\n  // something in the input textarea, we poll faster, to ensure that\n  // the change appears on the screen quickly.\n  TextareaInput.prototype.fastPoll = function () {\n    var missed = false, input = this;\n    input.pollingFast = true;\n    function p() {\n      var changed = input.poll();\n      if (!changed && !missed) {missed = true; input.polling.set(60, p);}\n      else {input.pollingFast = false; input.slowPoll();}\n    }\n    input.polling.set(20, p);\n  };\n\n  // Read input from the textarea, and update the document to match.\n  // When something is selected, it is present in the textarea, and\n  // selected (unless it is huge, in which case a placeholder is\n  // used). When nothing is selected, the cursor sits after previously\n  // seen text (can be empty), which is stored in prevInput (we must\n  // not reset the textarea when typing, because that breaks IME).\n  TextareaInput.prototype.poll = function () {\n      var this$1 = this;\n\n    var cm = this.cm, input = this.textarea, prevInput = this.prevInput;\n    // Since this is called a *lot*, try to bail out as cheaply as\n    // possible when it is clear that nothing happened. hasSelection\n    // will be the case when there is a lot of text in the textarea,\n    // in which case reading its value would be expensive.\n    if (this.contextMenuPending || !cm.state.focused ||\n        (hasSelection(input) && !prevInput && !this.composing) ||\n        cm.isReadOnly() || cm.options.disableInput || cm.state.keySeq)\n      { return false }\n\n    var text = input.value;\n    // If nothing changed, bail.\n    if (text == prevInput && !cm.somethingSelected()) { return false }\n    // Work around nonsensical selection resetting in IE9/10, and\n    // inexplicable appearance of private area unicode characters on\n    // some key combos in Mac (#2689).\n    if (ie && ie_version >= 9 && this.hasSelection === text ||\n        mac && /[\\uf700-\\uf7ff]/.test(text)) {\n      cm.display.input.reset();\n      return false\n    }\n\n    if (cm.doc.sel == cm.display.selForContextMenu) {\n      var first = text.charCodeAt(0);\n      if (first == 0x200b && !prevInput) { prevInput = \"\\u200b\"; }\n      if (first == 0x21da) { this.reset(); return this.cm.execCommand(\"undo\") }\n    }\n    // Find the part of the input that is actually new\n    var same = 0, l = Math.min(prevInput.length, text.length);\n    while (same < l && prevInput.charCodeAt(same) == text.charCodeAt(same)) { ++same; }\n\n    runInOp(cm, function () {\n      applyTextInput(cm, text.slice(same), prevInput.length - same,\n                     null, this$1.composing ? \"*compose\" : null);\n\n      // Don't leave long text in the textarea, since it makes further polling slow\n      if (text.length > 1000 || text.indexOf(\"\\n\") > -1) { input.value = this$1.prevInput = \"\"; }\n      else { this$1.prevInput = text; }\n\n      if (this$1.composing) {\n        this$1.composing.range.clear();\n        this$1.composing.range = cm.markText(this$1.composing.start, cm.getCursor(\"to\"),\n                                           {className: \"CodeMirror-composing\"});\n      }\n    });\n    return true\n  };\n\n  TextareaInput.prototype.ensurePolled = function () {\n    if (this.pollingFast && this.poll()) { this.pollingFast = false; }\n  };\n\n  TextareaInput.prototype.onKeyPress = function () {\n    if (ie && ie_version >= 9) { this.hasSelection = null; }\n    this.fastPoll();\n  };\n\n  TextareaInput.prototype.onContextMenu = function (e) {\n    var input = this, cm = input.cm, display = cm.display, te = input.textarea;\n    if (input.contextMenuPending) { input.contextMenuPending(); }\n    var pos = posFromMouse(cm, e), scrollPos = display.scroller.scrollTop;\n    if (!pos || presto) { return } // Opera is difficult.\n\n    // Reset the current text selection only if the click is done outside of the selection\n    // and 'resetSelectionOnContextMenu' option is true.\n    var reset = cm.options.resetSelectionOnContextMenu;\n    if (reset && cm.doc.sel.contains(pos) == -1)\n      { operation(cm, setSelection)(cm.doc, simpleSelection(pos), sel_dontScroll); }\n\n    var oldCSS = te.style.cssText, oldWrapperCSS = input.wrapper.style.cssText;\n    var wrapperBox = input.wrapper.offsetParent.getBoundingClientRect();\n    input.wrapper.style.cssText = \"position: static\";\n    te.style.cssText = \"position: absolute; width: 30px; height: 30px;\\n      top: \" + (e.clientY - wrapperBox.top - 5) + \"px; left: \" + (e.clientX - wrapperBox.left - 5) + \"px;\\n      z-index: 1000; background: \" + (ie ? \"rgba(255, 255, 255, .05)\" : \"transparent\") + \";\\n      outline: none; border-width: 0; outline: none; overflow: hidden; opacity: .05; filter: alpha(opacity=5);\";\n    var oldScrollY;\n    if (webkit) { oldScrollY = window.scrollY; } // Work around Chrome issue (#2712)\n    display.input.focus();\n    if (webkit) { window.scrollTo(null, oldScrollY); }\n    display.input.reset();\n    // Adds \"Select all\" to context menu in FF\n    if (!cm.somethingSelected()) { te.value = input.prevInput = \" \"; }\n    input.contextMenuPending = rehide;\n    display.selForContextMenu = cm.doc.sel;\n    clearTimeout(display.detectingSelectAll);\n\n    // Select-all will be greyed out if there's nothing to select, so\n    // this adds a zero-width space so that we can later check whether\n    // it got selected.\n    function prepareSelectAllHack() {\n      if (te.selectionStart != null) {\n        var selected = cm.somethingSelected();\n        var extval = \"\\u200b\" + (selected ? te.value : \"\");\n        te.value = \"\\u21da\"; // Used to catch context-menu undo\n        te.value = extval;\n        input.prevInput = selected ? \"\" : \"\\u200b\";\n        te.selectionStart = 1; te.selectionEnd = extval.length;\n        // Re-set this, in case some other handler touched the\n        // selection in the meantime.\n        display.selForContextMenu = cm.doc.sel;\n      }\n    }\n    function rehide() {\n      if (input.contextMenuPending != rehide) { return }\n      input.contextMenuPending = false;\n      input.wrapper.style.cssText = oldWrapperCSS;\n      te.style.cssText = oldCSS;\n      if (ie && ie_version < 9) { display.scrollbars.setScrollTop(display.scroller.scrollTop = scrollPos); }\n\n      // Try to detect the user choosing select-all\n      if (te.selectionStart != null) {\n        if (!ie || (ie && ie_version < 9)) { prepareSelectAllHack(); }\n        var i = 0, poll = function () {\n          if (display.selForContextMenu == cm.doc.sel && te.selectionStart == 0 &&\n              te.selectionEnd > 0 && input.prevInput == \"\\u200b\") {\n            operation(cm, selectAll)(cm);\n          } else if (i++ < 10) {\n            display.detectingSelectAll = setTimeout(poll, 500);\n          } else {\n            display.selForContextMenu = null;\n            display.input.reset();\n          }\n        };\n        display.detectingSelectAll = setTimeout(poll, 200);\n      }\n    }\n\n    if (ie && ie_version >= 9) { prepareSelectAllHack(); }\n    if (captureRightClick) {\n      e_stop(e);\n      var mouseup = function () {\n        off(window, \"mouseup\", mouseup);\n        setTimeout(rehide, 20);\n      };\n      on(window, \"mouseup\", mouseup);\n    } else {\n      setTimeout(rehide, 50);\n    }\n  };\n\n  TextareaInput.prototype.readOnlyChanged = function (val) {\n    if (!val) { this.reset(); }\n    this.textarea.disabled = val == \"nocursor\";\n    this.textarea.readOnly = !!val;\n  };\n\n  TextareaInput.prototype.setUneditable = function () {};\n\n  TextareaInput.prototype.needsContentAttribute = false;\n\n  function fromTextArea(textarea, options) {\n    options = options ? copyObj(options) : {};\n    options.value = textarea.value;\n    if (!options.tabindex && textarea.tabIndex)\n      { options.tabindex = textarea.tabIndex; }\n    if (!options.placeholder && textarea.placeholder)\n      { options.placeholder = textarea.placeholder; }\n    // Set autofocus to true if this textarea is focused, or if it has\n    // autofocus and no other element is focused.\n    if (options.autofocus == null) {\n      var hasFocus = activeElt();\n      options.autofocus = hasFocus == textarea ||\n        textarea.getAttribute(\"autofocus\") != null && hasFocus == document.body;\n    }\n\n    function save() {textarea.value = cm.getValue();}\n\n    var realSubmit;\n    if (textarea.form) {\n      on(textarea.form, \"submit\", save);\n      // Deplorable hack to make the submit method do the right thing.\n      if (!options.leaveSubmitMethodAlone) {\n        var form = textarea.form;\n        realSubmit = form.submit;\n        try {\n          var wrappedSubmit = form.submit = function () {\n            save();\n            form.submit = realSubmit;\n            form.submit();\n            form.submit = wrappedSubmit;\n          };\n        } catch(e) {}\n      }\n    }\n\n    options.finishInit = function (cm) {\n      cm.save = save;\n      cm.getTextArea = function () { return textarea; };\n      cm.toTextArea = function () {\n        cm.toTextArea = isNaN; // Prevent this from being ran twice\n        save();\n        textarea.parentNode.removeChild(cm.getWrapperElement());\n        textarea.style.display = \"\";\n        if (textarea.form) {\n          off(textarea.form, \"submit\", save);\n          if (!options.leaveSubmitMethodAlone && typeof textarea.form.submit == \"function\")\n            { textarea.form.submit = realSubmit; }\n        }\n      };\n    };\n\n    textarea.style.display = \"none\";\n    var cm = CodeMirror(function (node) { return textarea.parentNode.insertBefore(node, textarea.nextSibling); },\n      options);\n    return cm\n  }\n\n  function addLegacyProps(CodeMirror) {\n    CodeMirror.off = off;\n    CodeMirror.on = on;\n    CodeMirror.wheelEventPixels = wheelEventPixels;\n    CodeMirror.Doc = Doc;\n    CodeMirror.splitLines = splitLinesAuto;\n    CodeMirror.countColumn = countColumn;\n    CodeMirror.findColumn = findColumn;\n    CodeMirror.isWordChar = isWordCharBasic;\n    CodeMirror.Pass = Pass;\n    CodeMirror.signal = signal;\n    CodeMirror.Line = Line;\n    CodeMirror.changeEnd = changeEnd;\n    CodeMirror.scrollbarModel = scrollbarModel;\n    CodeMirror.Pos = Pos;\n    CodeMirror.cmpPos = cmp;\n    CodeMirror.modes = modes;\n    CodeMirror.mimeModes = mimeModes;\n    CodeMirror.resolveMode = resolveMode;\n    CodeMirror.getMode = getMode;\n    CodeMirror.modeExtensions = modeExtensions;\n    CodeMirror.extendMode = extendMode;\n    CodeMirror.copyState = copyState;\n    CodeMirror.startState = startState;\n    CodeMirror.innerMode = innerMode;\n    CodeMirror.commands = commands;\n    CodeMirror.keyMap = keyMap;\n    CodeMirror.keyName = keyName;\n    CodeMirror.isModifierKey = isModifierKey;\n    CodeMirror.lookupKey = lookupKey;\n    CodeMirror.normalizeKeyMap = normalizeKeyMap;\n    CodeMirror.StringStream = StringStream;\n    CodeMirror.SharedTextMarker = SharedTextMarker;\n    CodeMirror.TextMarker = TextMarker;\n    CodeMirror.LineWidget = LineWidget;\n    CodeMirror.e_preventDefault = e_preventDefault;\n    CodeMirror.e_stopPropagation = e_stopPropagation;\n    CodeMirror.e_stop = e_stop;\n    CodeMirror.addClass = addClass;\n    CodeMirror.contains = contains;\n    CodeMirror.rmClass = rmClass;\n    CodeMirror.keyNames = keyNames;\n  }\n\n  // EDITOR CONSTRUCTOR\n\n  defineOptions(CodeMirror);\n\n  addEditorMethods(CodeMirror);\n\n  // Set up methods on CodeMirror's prototype to redirect to the editor's document.\n  var dontDelegate = \"iter insert remove copy getEditor constructor\".split(\" \");\n  for (var prop in Doc.prototype) { if (Doc.prototype.hasOwnProperty(prop) && indexOf(dontDelegate, prop) < 0)\n    { CodeMirror.prototype[prop] = (function(method) {\n      return function() {return method.apply(this.doc, arguments)}\n    })(Doc.prototype[prop]); } }\n\n  eventMixin(Doc);\n  CodeMirror.inputStyles = {\"textarea\": TextareaInput, \"contenteditable\": ContentEditableInput};\n\n  // Extra arguments are stored as the mode's dependencies, which is\n  // used by (legacy) mechanisms like loadmode.js to automatically\n  // load a mode. (Preferred mechanism is the require/define calls.)\n  CodeMirror.defineMode = function(name/*, mode, …*/) {\n    if (!CodeMirror.defaults.mode && name != \"null\") { CodeMirror.defaults.mode = name; }\n    defineMode.apply(this, arguments);\n  };\n\n  CodeMirror.defineMIME = defineMIME;\n\n  // Minimal default mode.\n  CodeMirror.defineMode(\"null\", function () { return ({token: function (stream) { return stream.skipToEnd(); }}); });\n  CodeMirror.defineMIME(\"text/plain\", \"null\");\n\n  // EXTENSIONS\n\n  CodeMirror.defineExtension = function (name, func) {\n    CodeMirror.prototype[name] = func;\n  };\n  CodeMirror.defineDocExtension = function (name, func) {\n    Doc.prototype[name] = func;\n  };\n\n  CodeMirror.fromTextArea = fromTextArea;\n\n  addLegacyProps(CodeMirror);\n\n  CodeMirror.version = \"5.65.4\";\n\n  return CodeMirror;\n\n})));\n","// CodeMirror, copyright (c) by Marijn Haverbeke and others\n// Distributed under an MIT license: https://codemirror.net/LICENSE\n\n(function(mod) {\n  if (typeof exports == \"object\" && typeof module == \"object\") // CommonJS\n    mod(require(\"../../lib/codemirror\"));\n  else if (typeof define == \"function\" && define.amd) // AMD\n    define([\"../../lib/codemirror\"], mod);\n  else // Plain browser env\n    mod(CodeMirror);\n})(function(CodeMirror) {\n\"use strict\";\n\nvar htmlConfig = {\n  autoSelfClosers: {'area': true, 'base': true, 'br': true, 'col': true, 'command': true,\n                    'embed': true, 'frame': true, 'hr': true, 'img': true, 'input': true,\n                    'keygen': true, 'link': true, 'meta': true, 'param': true, 'source': true,\n                    'track': true, 'wbr': true, 'menuitem': true},\n  implicitlyClosed: {'dd': true, 'li': true, 'optgroup': true, 'option': true, 'p': true,\n                     'rp': true, 'rt': true, 'tbody': true, 'td': true, 'tfoot': true,\n                     'th': true, 'tr': true},\n  contextGrabbers: {\n    'dd': {'dd': true, 'dt': true},\n    'dt': {'dd': true, 'dt': true},\n    'li': {'li': true},\n    'option': {'option': true, 'optgroup': true},\n    'optgroup': {'optgroup': true},\n    'p': {'address': true, 'article': true, 'aside': true, 'blockquote': true, 'dir': true,\n          'div': true, 'dl': true, 'fieldset': true, 'footer': true, 'form': true,\n          'h1': true, 'h2': true, 'h3': true, 'h4': true, 'h5': true, 'h6': true,\n          'header': true, 'hgroup': true, 'hr': true, 'menu': true, 'nav': true, 'ol': true,\n          'p': true, 'pre': true, 'section': true, 'table': true, 'ul': true},\n    'rp': {'rp': true, 'rt': true},\n    'rt': {'rp': true, 'rt': true},\n    'tbody': {'tbody': true, 'tfoot': true},\n    'td': {'td': true, 'th': true},\n    'tfoot': {'tbody': true},\n    'th': {'td': true, 'th': true},\n    'thead': {'tbody': true, 'tfoot': true},\n    'tr': {'tr': true}\n  },\n  doNotIndent: {\"pre\": true},\n  allowUnquoted: true,\n  allowMissing: true,\n  caseFold: true\n}\n\nvar xmlConfig = {\n  autoSelfClosers: {},\n  implicitlyClosed: {},\n  contextGrabbers: {},\n  doNotIndent: {},\n  allowUnquoted: false,\n  allowMissing: false,\n  allowMissingTagName: false,\n  caseFold: false\n}\n\nCodeMirror.defineMode(\"xml\", function(editorConf, config_) {\n  var indentUnit = editorConf.indentUnit\n  var config = {}\n  var defaults = config_.htmlMode ? htmlConfig : xmlConfig\n  for (var prop in defaults) config[prop] = defaults[prop]\n  for (var prop in config_) config[prop] = config_[prop]\n\n  // Return variables for tokenizers\n  var type, setStyle;\n\n  function inText(stream, state) {\n    function chain(parser) {\n      state.tokenize = parser;\n      return parser(stream, state);\n    }\n\n    var ch = stream.next();\n    if (ch == \"<\") {\n      if (stream.eat(\"!\")) {\n        if (stream.eat(\"[\")) {\n          if (stream.match(\"CDATA[\")) return chain(inBlock(\"atom\", \"]]>\"));\n          else return null;\n        } else if (stream.match(\"--\")) {\n          return chain(inBlock(\"comment\", \"-->\"));\n        } else if (stream.match(\"DOCTYPE\", true, true)) {\n          stream.eatWhile(/[\\w\\._\\-]/);\n          return chain(doctype(1));\n        } else {\n          return null;\n        }\n      } else if (stream.eat(\"?\")) {\n        stream.eatWhile(/[\\w\\._\\-]/);\n        state.tokenize = inBlock(\"meta\", \"?>\");\n        return \"meta\";\n      } else {\n        type = stream.eat(\"/\") ? \"closeTag\" : \"openTag\";\n        state.tokenize = inTag;\n        return \"tag bracket\";\n      }\n    } else if (ch == \"&\") {\n      var ok;\n      if (stream.eat(\"#\")) {\n        if (stream.eat(\"x\")) {\n          ok = stream.eatWhile(/[a-fA-F\\d]/) && stream.eat(\";\");\n        } else {\n          ok = stream.eatWhile(/[\\d]/) && stream.eat(\";\");\n        }\n      } else {\n        ok = stream.eatWhile(/[\\w\\.\\-:]/) && stream.eat(\";\");\n      }\n      return ok ? \"atom\" : \"error\";\n    } else {\n      stream.eatWhile(/[^&<]/);\n      return null;\n    }\n  }\n  inText.isInText = true;\n\n  function inTag(stream, state) {\n    var ch = stream.next();\n    if (ch == \">\" || (ch == \"/\" && stream.eat(\">\"))) {\n      state.tokenize = inText;\n      type = ch == \">\" ? \"endTag\" : \"selfcloseTag\";\n      return \"tag bracket\";\n    } else if (ch == \"=\") {\n      type = \"equals\";\n      return null;\n    } else if (ch == \"<\") {\n      state.tokenize = inText;\n      state.state = baseState;\n      state.tagName = state.tagStart = null;\n      var next = state.tokenize(stream, state);\n      return next ? next + \" tag error\" : \"tag error\";\n    } else if (/[\\'\\\"]/.test(ch)) {\n      state.tokenize = inAttribute(ch);\n      state.stringStartCol = stream.column();\n      return state.tokenize(stream, state);\n    } else {\n      stream.match(/^[^\\s\\u00a0=<>\\\"\\']*[^\\s\\u00a0=<>\\\"\\'\\/]/);\n      return \"word\";\n    }\n  }\n\n  function inAttribute(quote) {\n    var closure = function(stream, state) {\n      while (!stream.eol()) {\n        if (stream.next() == quote) {\n          state.tokenize = inTag;\n          break;\n        }\n      }\n      return \"string\";\n    };\n    closure.isInAttribute = true;\n    return closure;\n  }\n\n  function inBlock(style, terminator) {\n    return function(stream, state) {\n      while (!stream.eol()) {\n        if (stream.match(terminator)) {\n          state.tokenize = inText;\n          break;\n        }\n        stream.next();\n      }\n      return style;\n    }\n  }\n\n  function doctype(depth) {\n    return function(stream, state) {\n      var ch;\n      while ((ch = stream.next()) != null) {\n        if (ch == \"<\") {\n          state.tokenize = doctype(depth + 1);\n          return state.tokenize(stream, state);\n        } else if (ch == \">\") {\n          if (depth == 1) {\n            state.tokenize = inText;\n            break;\n          } else {\n            state.tokenize = doctype(depth - 1);\n            return state.tokenize(stream, state);\n          }\n        }\n      }\n      return \"meta\";\n    };\n  }\n\n  function lower(tagName) {\n    return tagName && tagName.toLowerCase();\n  }\n\n  function Context(state, tagName, startOfLine) {\n    this.prev = state.context;\n    this.tagName = tagName || \"\";\n    this.indent = state.indented;\n    this.startOfLine = startOfLine;\n    if (config.doNotIndent.hasOwnProperty(tagName) || (state.context && state.context.noIndent))\n      this.noIndent = true;\n  }\n  function popContext(state) {\n    if (state.context) state.context = state.context.prev;\n  }\n  function maybePopContext(state, nextTagName) {\n    var parentTagName;\n    while (true) {\n      if (!state.context) {\n        return;\n      }\n      parentTagName = state.context.tagName;\n      if (!config.contextGrabbers.hasOwnProperty(lower(parentTagName)) ||\n          !config.contextGrabbers[lower(parentTagName)].hasOwnProperty(lower(nextTagName))) {\n        return;\n      }\n      popContext(state);\n    }\n  }\n\n  function baseState(type, stream, state) {\n    if (type == \"openTag\") {\n      state.tagStart = stream.column();\n      return tagNameState;\n    } else if (type == \"closeTag\") {\n      return closeTagNameState;\n    } else {\n      return baseState;\n    }\n  }\n  function tagNameState(type, stream, state) {\n    if (type == \"word\") {\n      state.tagName = stream.current();\n      setStyle = \"tag\";\n      return attrState;\n    } else if (config.allowMissingTagName && type == \"endTag\") {\n      setStyle = \"tag bracket\";\n      return attrState(type, stream, state);\n    } else {\n      setStyle = \"error\";\n      return tagNameState;\n    }\n  }\n  function closeTagNameState(type, stream, state) {\n    if (type == \"word\") {\n      var tagName = stream.current();\n      if (state.context && state.context.tagName != tagName &&\n          config.implicitlyClosed.hasOwnProperty(lower(state.context.tagName)))\n        popContext(state);\n      if ((state.context && state.context.tagName == tagName) || config.matchClosing === false) {\n        setStyle = \"tag\";\n        return closeState;\n      } else {\n        setStyle = \"tag error\";\n        return closeStateErr;\n      }\n    } else if (config.allowMissingTagName && type == \"endTag\") {\n      setStyle = \"tag bracket\";\n      return closeState(type, stream, state);\n    } else {\n      setStyle = \"error\";\n      return closeStateErr;\n    }\n  }\n\n  function closeState(type, _stream, state) {\n    if (type != \"endTag\") {\n      setStyle = \"error\";\n      return closeState;\n    }\n    popContext(state);\n    return baseState;\n  }\n  function closeStateErr(type, stream, state) {\n    setStyle = \"error\";\n    return closeState(type, stream, state);\n  }\n\n  function attrState(type, _stream, state) {\n    if (type == \"word\") {\n      setStyle = \"attribute\";\n      return attrEqState;\n    } else if (type == \"endTag\" || type == \"selfcloseTag\") {\n      var tagName = state.tagName, tagStart = state.tagStart;\n      state.tagName = state.tagStart = null;\n      if (type == \"selfcloseTag\" ||\n          config.autoSelfClosers.hasOwnProperty(lower(tagName))) {\n        maybePopContext(state, tagName);\n      } else {\n        maybePopContext(state, tagName);\n        state.context = new Context(state, tagName, tagStart == state.indented);\n      }\n      return baseState;\n    }\n    setStyle = \"error\";\n    return attrState;\n  }\n  function attrEqState(type, stream, state) {\n    if (type == \"equals\") return attrValueState;\n    if (!config.allowMissing) setStyle = \"error\";\n    return attrState(type, stream, state);\n  }\n  function attrValueState(type, stream, state) {\n    if (type == \"string\") return attrContinuedState;\n    if (type == \"word\" && config.allowUnquoted) {setStyle = \"string\"; return attrState;}\n    setStyle = \"error\";\n    return attrState(type, stream, state);\n  }\n  function attrContinuedState(type, stream, state) {\n    if (type == \"string\") return attrContinuedState;\n    return attrState(type, stream, state);\n  }\n\n  return {\n    startState: function(baseIndent) {\n      var state = {tokenize: inText,\n                   state: baseState,\n                   indented: baseIndent || 0,\n                   tagName: null, tagStart: null,\n                   context: null}\n      if (baseIndent != null) state.baseIndent = baseIndent\n      return state\n    },\n\n    token: function(stream, state) {\n      if (!state.tagName && stream.sol())\n        state.indented = stream.indentation();\n\n      if (stream.eatSpace()) return null;\n      type = null;\n      var style = state.tokenize(stream, state);\n      if ((style || type) && style != \"comment\") {\n        setStyle = null;\n        state.state = state.state(type || style, stream, state);\n        if (setStyle)\n          style = setStyle == \"error\" ? style + \" error\" : setStyle;\n      }\n      return style;\n    },\n\n    indent: function(state, textAfter, fullLine) {\n      var context = state.context;\n      // Indent multi-line strings (e.g. css).\n      if (state.tokenize.isInAttribute) {\n        if (state.tagStart == state.indented)\n          return state.stringStartCol + 1;\n        else\n          return state.indented + indentUnit;\n      }\n      if (context && context.noIndent) return CodeMirror.Pass;\n      if (state.tokenize != inTag && state.tokenize != inText)\n        return fullLine ? fullLine.match(/^(\\s*)/)[0].length : 0;\n      // Indent the starts of attribute names.\n      if (state.tagName) {\n        if (config.multilineTagIndentPastTag !== false)\n          return state.tagStart + state.tagName.length + 2;\n        else\n          return state.tagStart + indentUnit * (config.multilineTagIndentFactor || 1);\n      }\n      if (config.alignCDATA && /<!\\[CDATA\\[/.test(textAfter)) return 0;\n      var tagAfter = textAfter && /^<(\\/)?([\\w_:\\.-]*)/.exec(textAfter);\n      if (tagAfter && tagAfter[1]) { // Closing tag spotted\n        while (context) {\n          if (context.tagName == tagAfter[2]) {\n            context = context.prev;\n            break;\n          } else if (config.implicitlyClosed.hasOwnProperty(lower(context.tagName))) {\n            context = context.prev;\n          } else {\n            break;\n          }\n        }\n      } else if (tagAfter) { // Opening tag spotted\n        while (context) {\n          var grabbers = config.contextGrabbers[lower(context.tagName)];\n          if (grabbers && grabbers.hasOwnProperty(lower(tagAfter[2])))\n            context = context.prev;\n          else\n            break;\n        }\n      }\n      while (context && context.prev && !context.startOfLine)\n        context = context.prev;\n      if (context) return context.indent + indentUnit;\n      else return state.baseIndent || 0;\n    },\n\n    electricInput: /<\\/[\\s\\w:]+>$/,\n    blockCommentStart: \"<!--\",\n    blockCommentEnd: \"-->\",\n\n    configuration: config.htmlMode ? \"html\" : \"xml\",\n    helperType: config.htmlMode ? \"html\" : \"xml\",\n\n    skipAttribute: function(state) {\n      if (state.state == attrValueState)\n        state.state = attrState\n    },\n\n    xmlCurrentTag: function(state) {\n      return state.tagName ? {name: state.tagName, close: state.type == \"closeTag\"} : null\n    },\n\n    xmlCurrentContext: function(state) {\n      var context = []\n      for (var cx = state.context; cx; cx = cx.prev)\n        context.push(cx.tagName)\n      return context.reverse()\n    }\n  };\n});\n\nCodeMirror.defineMIME(\"text/xml\", \"xml\");\nCodeMirror.defineMIME(\"application/xml\", \"xml\");\nif (!CodeMirror.mimeModes.hasOwnProperty(\"text/html\"))\n  CodeMirror.defineMIME(\"text/html\", {name: \"xml\", htmlMode: true});\n\n});\n","!function(t,n){\"object\"==typeof exports&&\"undefined\"!=typeof module?n(exports):\"function\"==typeof define&&define.amd?define([\"exports\"],n):n((t=t||self).R={})}(this,function(t){\"use strict\";function a(t){return null!=t&&\"object\"==typeof t&&!0===t[\"@@functional/placeholder\"]}function o(r){return function t(n){return 0===arguments.length||a(n)?t:r.apply(this,arguments)}}function n(e){return function t(n,r){switch(arguments.length){case 0:return t;case 1:return a(n)?t:o(function(t){return e(n,t)});default:return a(n)&&a(r)?t:a(n)?o(function(t){return e(t,r)}):a(r)?o(function(t){return e(n,t)}):e(n,r)}}}var r=n(function(t,n){return+t+ +n});function i(t,n){var r,e=(t=t||[]).length,u=(n=n||[]).length,i=[];for(r=0;r<e;)i[i.length]=t[r],r+=1;for(r=0;r<u;)i[i.length]=n[r],r+=1;return i}function f(t,s){switch(t){case 0:return function(){return s.apply(this,arguments)};case 1:return function(t){return s.apply(this,arguments)};case 2:return function(t,n){return s.apply(this,arguments)};case 3:return function(t,n,r){return s.apply(this,arguments)};case 4:return function(t,n,r,e){return s.apply(this,arguments)};case 5:return function(t,n,r,e,u){return s.apply(this,arguments)};case 6:return function(t,n,r,e,u,i){return s.apply(this,arguments)};case 7:return function(t,n,r,e,u,i,o){return s.apply(this,arguments)};case 8:return function(t,n,r,e,u,i,o,c){return s.apply(this,arguments)};case 9:return function(t,n,r,e,u,i,o,c,a){return s.apply(this,arguments)};case 10:return function(t,n,r,e,u,i,o,c,a,f){return s.apply(this,arguments)};default:throw Error(\"First argument to _arity must be a non-negative integer no greater than ten\")}}function s(i,o,c){return function(){for(var t=[],n=0,r=i,e=0;e<o.length||n<arguments.length;){var u;o.length<=e||a(o[e])&&n<arguments.length?(u=arguments[n],n+=1):u=o[e],a(t[e]=u)||(r-=1),e+=1}return 0<r?f(r,s(i,t,c)):c.apply(this,t)}}var c=n(function(t,n){return 1===t?o(n):f(t,s(t,[],n))}),e=o(function(u){return c(u.length,function(){var n=0,r=arguments[0],e=arguments[arguments.length-1],t=Array.prototype.slice.call(arguments,0);return t[0]=function(){var t=r.apply(this,i(arguments,[n,e]));return n+=1,t},u.apply(this,t)})});function u(i){return function t(r,e,u){switch(arguments.length){case 0:return t;case 1:return a(r)?t:n(function(t,n){return i(r,t,n)});case 2:return a(r)&&a(e)?t:a(r)?n(function(t,n){return i(t,e,n)}):a(e)?n(function(t,n){return i(r,t,n)}):o(function(t){return i(r,e,t)});default:return a(r)&&a(e)&&a(u)?t:a(r)&&a(e)?n(function(t,n){return i(t,n,u)}):a(r)&&a(u)?n(function(t,n){return i(t,e,n)}):a(e)&&a(u)?n(function(t,n){return i(r,t,n)}):a(r)?o(function(t){return i(t,e,u)}):a(e)?o(function(t){return i(r,t,u)}):a(u)?o(function(t){return i(r,e,t)}):i(r,e,u)}}}var l=u(function(t,n,r){if(r.length<=t||t<-r.length)return r;var e=(t<0?r.length:0)+t,u=i(r);return u[e]=n(r[e]),u}),p=Array.isArray||function(t){return null!=t&&0<=t.length&&\"[object Array]\"===Object.prototype.toString.call(t)};function h(t){return null!=t&&\"function\"==typeof t[\"@@transducer/step\"]}function y(e,u,i){return function(){if(0===arguments.length)return i();var t=Array.prototype.slice.call(arguments,0),n=t.pop();if(!p(n)){for(var r=0;r<e.length;){if(\"function\"==typeof n[e[r]])return n[e[r]].apply(n,t);r+=1}if(h(n))return u.apply(null,t)(n)}return i.apply(this,arguments)}}function d(t){return t&&t[\"@@transducer/reduced\"]?t:{\"@@transducer/value\":t,\"@@transducer/reduced\":!0}}var g={init:function(){return this.xf[\"@@transducer/init\"]()},result:function(t){return this.xf[\"@@transducer/result\"](t)}};function v(t,n){this.xf=n,this.f=t,this.all=!0}v.prototype[\"@@transducer/init\"]=g.init,v.prototype[\"@@transducer/result\"]=function(t){return this.all&&(t=this.xf[\"@@transducer/step\"](t,!0)),this.xf[\"@@transducer/result\"](t)},v.prototype[\"@@transducer/step\"]=function(t,n){return this.f(n)||(this.all=!1,t=d(this.xf[\"@@transducer/step\"](t,!1))),t};var m=n(y([\"all\"],n(function(t,n){return new v(t,n)}),function(t,n){for(var r=0;r<n.length;){if(!t(n[r]))return!1;r+=1}return!0})),b=n(function(t,n){return t<n?n:t});function x(t,n){for(var r=0,e=n.length,u=Array(e);r<e;)u[r]=t(n[r]),r+=1;return u}function w(t){return\"[object String]\"===Object.prototype.toString.call(t)}var j=o(function(t){return!!p(t)||!!t&&(\"object\"==typeof t&&(!w(t)&&(1===t.nodeType?!!t.length:0===t.length||0<t.length&&(t.hasOwnProperty(0)&&t.hasOwnProperty(t.length-1)))))});function A(t){this.f=t}function O(t){return new A(t)}A.prototype[\"@@transducer/init\"]=function(){throw Error(\"init not implemented on XWrap\")},A.prototype[\"@@transducer/result\"]=function(t){return t},A.prototype[\"@@transducer/step\"]=function(t,n){return this.f(t,n)};var S=n(function(t,n){return f(t.length,function(){return t.apply(n,arguments)})});function E(t,n,r){for(var e=r.next();!e.done;){if((n=t[\"@@transducer/step\"](n,e.value))&&n[\"@@transducer/reduced\"]){n=n[\"@@transducer/value\"];break}e=r.next()}return t[\"@@transducer/result\"](n)}function _(t,n,r,e){return t[\"@@transducer/result\"](r[e](S(t[\"@@transducer/step\"],t),n))}var q=\"undefined\"!=typeof Symbol?Symbol.iterator:\"@@iterator\";function k(t,n,r){if(\"function\"==typeof t&&(t=O(t)),j(r))return function(t,n,r){for(var e=0,u=r.length;e<u;){if((n=t[\"@@transducer/step\"](n,r[e]))&&n[\"@@transducer/reduced\"]){n=n[\"@@transducer/value\"];break}e+=1}return t[\"@@transducer/result\"](n)}(t,n,r);if(\"function\"==typeof r[\"fantasy-land/reduce\"])return _(t,n,r,\"fantasy-land/reduce\");if(null!=r[q])return E(t,n,r[q]());if(\"function\"==typeof r.next)return E(t,n,r);if(\"function\"==typeof r.reduce)return _(t,n,r,\"reduce\");throw new TypeError(\"reduce: list must be array or iterable\")}function N(t,n){this.xf=n,this.f=t}N.prototype[\"@@transducer/init\"]=g.init,N.prototype[\"@@transducer/result\"]=g.result,N.prototype[\"@@transducer/step\"]=function(t,n){return this.xf[\"@@transducer/step\"](t,this.f(n))};var W=n(function(t,n){return new N(t,n)});function I(t,n){return Object.prototype.hasOwnProperty.call(n,t)}function P(t,n){for(var r=0;r<t.length;){if(t[r]===n)return!0;r+=1}return!1}var T=Object.prototype.toString,C=function(){return\"[object Arguments]\"===T.call(arguments)?function(t){return\"[object Arguments]\"===T.call(t)}:function(t){return I(\"callee\",t)}}(),F=!{toString:null}.propertyIsEnumerable(\"toString\"),B=[\"constructor\",\"valueOf\",\"isPrototypeOf\",\"toString\",\"propertyIsEnumerable\",\"hasOwnProperty\",\"toLocaleString\"],R=function(){return arguments.propertyIsEnumerable(\"length\")}(),U=o(\"function\"!=typeof Object.keys||R?function(t){if(Object(t)!==t)return[];var n,r,e=[],u=R&&C(t);for(n in t)!I(n,t)||u&&\"length\"===n||(e[e.length]=n);if(F)for(r=B.length-1;0<=r;)I(n=B[r],t)&&!P(e,n)&&(e[e.length]=n),r-=1;return e}:function(t){return Object(t)!==t?[]:Object.keys(t)}),D=n(y([\"fantasy-land/map\",\"map\"],W,function(r,e){switch(Object.prototype.toString.call(e)){case\"[object Function]\":return c(e.length,function(){return r.call(this,e.apply(this,arguments))});case\"[object Object]\":return k(function(t,n){return t[n]=r(e[n]),t},{},U(e));default:return x(r,e)}})),z=Number.isInteger||function(t){return t<<0===t},M=n(function(t,n){var r=t<0?n.length+t:t;return w(n)?n[0|r]:n[r]}),L=n(function(t,u){return t.map(function(t){for(var n,r=u,e=0;e<t.length;){if(null==r)return;r=z(n=t[e])?M(n,r):r[n],e+=1}return r})}),K=n(function(t,n){return L([t],n)[0]}),V=n(function(t,n){return K([t],n)}),G=n(function(t,n){return D(V(t),n)}),$=u(k),H=o(function(r){return c($(b,0,G(\"length\",r)),function(){for(var t=0,n=r.length;t<n;){if(!r[t].apply(this,arguments))return!1;t+=1}return!0})}),J=o(function(t){return function(){return t}}),X=n(function(t,n){return t&&n});function Y(t,n){this.xf=n,this.f=t,this.any=!1}Y.prototype[\"@@transducer/init\"]=g.init,Y.prototype[\"@@transducer/result\"]=function(t){return this.any||(t=this.xf[\"@@transducer/step\"](t,!1)),this.xf[\"@@transducer/result\"](t)},Y.prototype[\"@@transducer/step\"]=function(t,n){return this.f(n)&&(this.any=!0,t=d(this.xf[\"@@transducer/step\"](t,!0))),t};var Z=n(y([\"any\"],n(function(t,n){return new Y(t,n)}),function(t,n){for(var r=0;r<n.length;){if(t(n[r]))return!0;r+=1}return!1})),Q=o(function(r){return c($(b,0,G(\"length\",r)),function(){for(var t=0,n=r.length;t<n;){if(r[t].apply(this,arguments))return!0;t+=1}return!1})}),tt=n(function(n,r){return\"function\"==typeof r[\"fantasy-land/ap\"]?r[\"fantasy-land/ap\"](n):\"function\"==typeof n.ap?n.ap(r):\"function\"==typeof n?function(t){return n(t)(r(t))}:k(function(t,n){return i(t,D(n,r))},[],n)});function nt(t,n){this.xf=n,this.pos=0,this.full=!1,this.acc=Array(t)}nt.prototype[\"@@transducer/init\"]=g.init,nt.prototype[\"@@transducer/result\"]=function(t){return this.acc=null,this.xf[\"@@transducer/result\"](t)},nt.prototype[\"@@transducer/step\"]=function(t,n){return this.store(n),this.full?this.xf[\"@@transducer/step\"](t,this.getCopy()):t},nt.prototype.store=function(t){this.acc[this.pos]=t,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)},nt.prototype.getCopy=function(){return i(Array.prototype.slice.call(this.acc,this.pos),Array.prototype.slice.call(this.acc,0,this.pos))};var rt=n(y([],n(function(t,n){return new nt(t,n)}),function(t,n){for(var r=0,e=n.length-(t-1),u=Array(e<0?0:e);r<e;)u[r]=Array.prototype.slice.call(n,r,r+t),r+=1;return u})),et=n(function(t,n){return i(n,[t])}),ut=n(function(t,n){return t.apply(this,n)}),it=o(function(t){for(var n=U(t),r=n.length,e=[],u=0;u<r;)e[u]=t[n[u]],u+=1;return e});function ot(r,e){return U(e).reduce(function(t,n){return t[n]=r(e[n]),t},{})}var ct=o(function n(t){return t=ot(function(t){return\"function\"==typeof t?t:n(t)},t),c($(b,0,G(\"length\",it(t))),function(){var n=arguments;return ot(function(t){return ut(t,n)},t)})}),at=n(function(t,n){return n(t)}),ft=u(function(t,n,r){var e=t(n),u=t(r);return e<u?-1:u<e?1:0}),st=u(function(t,n,r){var e={};for(var u in r)e[u]=r[u];return e[t]=n,e}),lt=o(function(t){return null==t}),pt=u(function t(n,r,e){if(0===n.length)return r;var u=n[0];if(1<n.length){var i=!lt(e)&&I(u,e)?e[u]:z(n[1])?[]:{};r=t(Array.prototype.slice.call(n,1),r,i)}if(z(u)&&p(e)){var o=[].concat(e);return o[u]=r,o}return st(u,r,e)}),ht=n(function(t,s){switch(t){case 0:return function(){return s.call(this)};case 1:return function(t){return s.call(this,t)};case 2:return function(t,n){return s.call(this,t,n)};case 3:return function(t,n,r){return s.call(this,t,n,r)};case 4:return function(t,n,r,e){return s.call(this,t,n,r,e)};case 5:return function(t,n,r,e,u){return s.call(this,t,n,r,e,u)};case 6:return function(t,n,r,e,u,i){return s.call(this,t,n,r,e,u,i)};case 7:return function(t,n,r,e,u,i,o){return s.call(this,t,n,r,e,u,i,o)};case 8:return function(t,n,r,e,u,i,o,c){return s.call(this,t,n,r,e,u,i,o,c)};case 9:return function(t,n,r,e,u,i,o,c,a){return s.call(this,t,n,r,e,u,i,o,c,a)};case 10:return function(t,n,r,e,u,i,o,c,a,f){return s.call(this,t,n,r,e,u,i,o,c,a,f)};default:throw Error(\"First argument to nAry must be a non-negative integer no greater than ten\")}}),yt=o(function(t){return ht(2,t)});function dt(t){var n=Object.prototype.toString.call(t);return\"[object Function]\"===n||\"[object AsyncFunction]\"===n||\"[object GeneratorFunction]\"===n||\"[object AsyncGeneratorFunction]\"===n}var gt=n(function(t,n){var r=c(t,n);return c(t,function(){return k(tt,D(r,arguments[0]),Array.prototype.slice.call(arguments,1))})}),vt=o(function(t){return gt(t.length,t)}),mt=n(function(t,n){return dt(t)?function(){return t.apply(this,arguments)&&n.apply(this,arguments)}:vt(X)(t,n)}),bt=o(function(t){return c(t.length,t)}),xt=bt(function(t){return t.apply(this,Array.prototype.slice.call(arguments,1))});function wt(a){return function t(n){for(var r,e,u,i=[],o=0,c=n.length;o<c;){if(j(n[o]))for(u=0,e=(r=a?t(n[o]):n[o]).length;u<e;)i[i.length]=r[u],u+=1;else i[i.length]=n[o];o+=1}return i}}function jt(t){var r=function(e){return{\"@@transducer/init\":g.init,\"@@transducer/result\":function(t){return e[\"@@transducer/result\"](t)},\"@@transducer/step\":function(t,n){var r=e[\"@@transducer/step\"](t,n);return r[\"@@transducer/reduced\"]?function(t){return{\"@@transducer/value\":t,\"@@transducer/reduced\":!0}}(r):r}}}(t);return{\"@@transducer/init\":g.init,\"@@transducer/result\":function(t){return r[\"@@transducer/result\"](t)},\"@@transducer/step\":function(t,n){return j(n)?k(r,t,n):k(r,t,[n])}}}var At=n(y([\"fantasy-land/chain\",\"chain\"],n(function(t,n){return D(t,jt(n))}),function(n,r){return\"function\"==typeof r?function(t){return n(r(t))(t)}:wt(!1)(D(n,r))})),Ot=u(function(t,n,r){if(n<t)throw Error(\"min must not be greater than max in clamp(min, max, value)\");return r<t?t:n<r?n:r});function St(t){return RegExp(t.source,(t.global?\"g\":\"\")+(t.ignoreCase?\"i\":\"\")+(t.multiline?\"m\":\"\")+(t.sticky?\"y\":\"\")+(t.unicode?\"u\":\"\"))}var Et=o(function(t){return null===t?\"Null\":void 0===t?\"Undefined\":Object.prototype.toString.call(t).slice(8,-1)});function _t(u,i,o,c){function t(t){for(var n=i.length,r=0;r<n;){if(u===i[r])return o[r];r+=1}for(var e in i[r+1]=u,o[r+1]=t,u)t[e]=c?_t(u[e],i,o,!0):u[e];return t}switch(Et(u)){case\"Object\":return t({});case\"Array\":return t([]);case\"Date\":return new Date(u.valueOf());case\"RegExp\":return St(u);default:return u}}var qt=o(function(t){return null!=t&&\"function\"==typeof t.clone?t.clone():_t(t,[],[],!0)}),kt=o(function(r){return function(t,n){return r(t,n)?-1:r(n,t)?1:0}}),Nt=o(function(t){return!t}),Wt=vt(Nt);function It(t,n){return function(){return n.call(this,t.apply(this,arguments))}}function Pt(r,e){return function(){var t=arguments.length;if(0===t)return e();var n=arguments[t-1];return p(n)||\"function\"!=typeof n[r]?e.apply(this,arguments):n[r].apply(n,Array.prototype.slice.call(arguments,0,t-1))}}var Tt=u(Pt(\"slice\",function(t,n,r){return Array.prototype.slice.call(r,t,n)})),Ct=o(Pt(\"tail\",Tt(1,1/0)));function Ft(){if(0===arguments.length)throw Error(\"pipe requires at least one argument\");return f(arguments[0].length,$(It,arguments[0],Ct(arguments)))}var Bt=o(function(t){return w(t)?t.split(\"\").reverse().join(\"\"):Array.prototype.slice.call(t,0).reverse()});function Rt(){if(0===arguments.length)throw Error(\"compose requires at least one argument\");return Ft.apply(this,Bt(arguments))}function Ut(){if(0===arguments.length)throw Error(\"composeK requires at least one argument\");var t=Array.prototype.slice.call(arguments),n=t.pop();return Rt(Rt.apply(this,D(At,t)),n)}function Dt(t,r){return function(){var n=this;return t.apply(n,arguments).then(function(t){return r.call(n,t)})}}function zt(){if(0===arguments.length)throw Error(\"pipeP requires at least one argument\");return f(arguments[0].length,$(Dt,arguments[0],Ct(arguments)))}var Mt=M(0);function Lt(t){return t}var Kt=o(Lt),Vt=n(function(r,t){if(t.length<=0)return Kt;var n=Mt(t),e=Ct(t);return f(n.length,function(){return k(function(t,n){return r.call(this,n,t)},n.apply(this,arguments),e)})}),Gt=n(function(t,n){return Vt.call(this,t,Bt(n))});function $t(t){for(var n,r=[];!(n=t.next()).done;)r.push(n.value);return r}function Ht(t,n,r){for(var e=0,u=r.length;e<u;){if(t(n,r[e]))return!0;e+=1}return!1}var Jt=\"function\"==typeof Object.is?Object.is:function(t,n){return t===n?0!==t||1/t==1/n:t!=t&&n!=n};function Xt(t,n,r,e){var u=$t(t);function i(t,n){return Yt(t,n,r.slice(),e.slice())}return!Ht(function(t,n){return!Ht(i,n,t)},$t(n),u)}function Yt(t,n,r,e){if(Jt(t,n))return!0;var u=Et(t);if(u!==Et(n))return!1;if(null==t||null==n)return!1;if(\"function\"==typeof t[\"fantasy-land/equals\"]||\"function\"==typeof n[\"fantasy-land/equals\"])return\"function\"==typeof t[\"fantasy-land/equals\"]&&t[\"fantasy-land/equals\"](n)&&\"function\"==typeof n[\"fantasy-land/equals\"]&&n[\"fantasy-land/equals\"](t);if(\"function\"==typeof t.equals||\"function\"==typeof n.equals)return\"function\"==typeof t.equals&&t.equals(n)&&\"function\"==typeof n.equals&&n.equals(t);switch(u){case\"Arguments\":case\"Array\":case\"Object\":if(\"function\"==typeof t.constructor&&\"Promise\"===function(t){var n=(t+\"\").match(/^function (\\w*)/);return null==n?\"\":n[1]}(t.constructor))return t===n;break;case\"Boolean\":case\"Number\":case\"String\":if(typeof t!=typeof n||!Jt(t.valueOf(),n.valueOf()))return!1;break;case\"Date\":if(!Jt(t.valueOf(),n.valueOf()))return!1;break;case\"Error\":return t.name===n.name&&t.message===n.message;case\"RegExp\":if(t.source!==n.source||t.global!==n.global||t.ignoreCase!==n.ignoreCase||t.multiline!==n.multiline||t.sticky!==n.sticky||t.unicode!==n.unicode)return!1}for(var i=r.length-1;0<=i;){if(r[i]===t)return e[i]===n;i-=1}switch(u){case\"Map\":return t.size===n.size&&Xt(t.entries(),n.entries(),r.concat([t]),e.concat([n]));case\"Set\":return t.size===n.size&&Xt(t.values(),n.values(),r.concat([t]),e.concat([n]));case\"Arguments\":case\"Array\":case\"Object\":case\"Boolean\":case\"Number\":case\"String\":case\"Date\":case\"Error\":case\"RegExp\":case\"Int8Array\":case\"Uint8Array\":case\"Uint8ClampedArray\":case\"Int16Array\":case\"Uint16Array\":case\"Int32Array\":case\"Uint32Array\":case\"Float32Array\":case\"Float64Array\":case\"ArrayBuffer\":break;default:return!1}var o=U(t);if(o.length!==U(n).length)return!1;var c=r.concat([t]),a=e.concat([n]);for(i=o.length-1;0<=i;){var f=o[i];if(!I(f,n)||!Yt(n[f],t[f],c,a))return!1;i-=1}return!0}var Zt=n(function(t,n){return Yt(t,n,[],[])});function Qt(t,n,r){var e,u;if(\"function\"==typeof t.indexOf)switch(typeof n){case\"number\":if(0===n){for(e=1/n;r<t.length;){if(0===(u=t[r])&&1/u==e)return r;r+=1}return-1}if(n==n)return t.indexOf(n,r);for(;r<t.length;){if(\"number\"==typeof(u=t[r])&&u!=u)return r;r+=1}return-1;case\"string\":case\"boolean\":case\"function\":case\"undefined\":return t.indexOf(n,r);case\"object\":if(null===n)return t.indexOf(n,r)}for(;r<t.length;){if(Zt(t[r],n))return r;r+=1}return-1}function tn(t,n){return 0<=Qt(n,t,0)}function nn(t){return'\"'+t.replace(/\\\\/g,\"\\\\\\\\\").replace(/[\\b]/g,\"\\\\b\").replace(/\\f/g,\"\\\\f\").replace(/\\n/g,\"\\\\n\").replace(/\\r/g,\"\\\\r\").replace(/\\t/g,\"\\\\t\").replace(/\\v/g,\"\\\\v\").replace(/\\0/g,\"\\\\0\").replace(/\"/g,'\\\\\"')+'\"'}function rn(t){return(t<10?\"0\":\"\")+t}var en=\"function\"==typeof Date.prototype.toISOString?function(t){return t.toISOString()}:function(t){return t.getUTCFullYear()+\"-\"+rn(1+t.getUTCMonth())+\"-\"+rn(t.getUTCDate())+\"T\"+rn(t.getUTCHours())+\":\"+rn(t.getUTCMinutes())+\":\"+rn(t.getUTCSeconds())+\".\"+(t.getUTCMilliseconds()/1e3).toFixed(3).slice(2,5)+\"Z\"};function un(t){return function(){return!t.apply(this,arguments)}}function on(t,n){for(var r=0,e=n.length,u=[];r<e;)t(n[r])&&(u[u.length]=n[r]),r+=1;return u}function cn(t){return\"[object Object]\"===Object.prototype.toString.call(t)}function an(t,n){this.xf=n,this.f=t}an.prototype[\"@@transducer/init\"]=g.init,an.prototype[\"@@transducer/result\"]=g.result,an.prototype[\"@@transducer/step\"]=function(t,n){return this.f(n)?this.xf[\"@@transducer/step\"](t,n):t};var fn=n(y([\"filter\"],n(function(t,n){return new an(t,n)}),function(r,e){return cn(e)?k(function(t,n){return r(e[n])&&(t[n]=e[n]),t},{},U(e)):on(r,e)})),sn=n(function(t,n){return fn(un(t),n)});function ln(r,e){function u(t){var n=e.concat([r]);return tn(t,n)?\"<Circular>\":ln(t,n)}function t(n,t){return x(function(t){return nn(t)+\": \"+u(n[t])},t.slice().sort())}switch(Object.prototype.toString.call(r)){case\"[object Arguments]\":return\"(function() { return arguments; }(\"+x(u,r).join(\", \")+\"))\";case\"[object Array]\":return\"[\"+x(u,r).concat(t(r,sn(function(t){return/^\\d+$/.test(t)},U(r)))).join(\", \")+\"]\";case\"[object Boolean]\":return\"object\"==typeof r?\"new Boolean(\"+u(r.valueOf())+\")\":\"\"+r;case\"[object Date]\":return\"new Date(\"+(isNaN(r.valueOf())?u(NaN):nn(en(r)))+\")\";case\"[object Null]\":return\"null\";case\"[object Number]\":return\"object\"==typeof r?\"new Number(\"+u(r.valueOf())+\")\":1/r==-1/0?\"-0\":r.toString(10);case\"[object String]\":return\"object\"==typeof r?\"new String(\"+u(r.valueOf())+\")\":nn(r);case\"[object Undefined]\":return\"undefined\";default:if(\"function\"==typeof r.toString){var n=\"\"+r;if(\"[object Object]\"!=n)return n}return\"{\"+t(r,U(r)).join(\", \")+\"}\"}}var pn=o(function(t){return ln(t,[])}),hn=n(function(t,n){if(p(t)){if(p(n))return t.concat(n);throw new TypeError(pn(n)+\" is not an array\")}if(w(t)){if(w(n))return t+n;throw new TypeError(pn(n)+\" is not a string\")}if(null!=t&&dt(t[\"fantasy-land/concat\"]))return t[\"fantasy-land/concat\"](n);if(null!=t&&dt(t.concat))return t.concat(n);throw new TypeError(pn(t)+' does not have a method named \"concat\" or \"fantasy-land/concat\"')}),yn=o(function(n){return f($(b,0,D(function(t){return t[0].length},n)),function(){for(var t=0;t<n.length;){if(n[t][0].apply(this,arguments))return n[t][1].apply(this,arguments);t+=1}})}),dn=n(function(t,s){if(10<t)throw Error(\"Constructor with greater than ten arguments\");return 0===t?function(){return new s}:bt(ht(t,function(t,n,r,e,u,i,o,c,a,f){switch(arguments.length){case 1:return new s(t);case 2:return new s(t,n);case 3:return new s(t,n,r);case 4:return new s(t,n,r,e);case 5:return new s(t,n,r,e,u);case 6:return new s(t,n,r,e,u,i);case 7:return new s(t,n,r,e,u,i,o);case 8:return new s(t,n,r,e,u,i,o,c);case 9:return new s(t,n,r,e,u,i,o,c,a);case 10:return new s(t,n,r,e,u,i,o,c,a,f)}}))}),gn=o(function(t){return dn(t.length,t)}),vn=n(tn),mn=n(function(t,e){return c($(b,0,G(\"length\",e)),function(){var n=arguments,r=this;return t.apply(r,x(function(t){return t.apply(r,n)},e))})});function bn(t,n,r,e){this.valueFn=t,this.valueAcc=n,this.keyFn=r,this.xf=e,this.inputs={}}bn.prototype[\"@@transducer/init\"]=g.init,bn.prototype[\"@@transducer/result\"]=function(t){var n;for(n in this.inputs)if(I(n,this.inputs)&&(t=this.xf[\"@@transducer/step\"](t,this.inputs[n]))[\"@@transducer/reduced\"]){t=t[\"@@transducer/value\"];break}return this.inputs=null,this.xf[\"@@transducer/result\"](t)},bn.prototype[\"@@transducer/step\"]=function(t,n){var r=this.keyFn(n);return this.inputs[r]=this.inputs[r]||[r,this.valueAcc],this.inputs[r][1]=this.valueFn(this.inputs[r][1],n),t};var xn=s(4,[],y([],s(4,[],function(t,n,r,e){return new bn(t,n,r,e)}),function(e,u,i,t){return k(function(t,n){var r=i(n);return t[r]=e(I(r,t)?t[r]:_t(u,[],[],!1),n),t},{},t)})),wn=xn(function(t,n){return t+1},0),jn=r(-1),An=n(function(t,n){return null==n||n!=n?t:n}),On=u(function(t,n,r){var e=t(n),u=t(r);return u<e?-1:e<u?1:0});function Sn(){this._nativeSet=\"function\"==typeof Set?new Set:null,this._items={}}function En(t,n,r){var e,u=typeof t;switch(u){case\"string\":case\"number\":return 0===t&&1/t==-1/0?!!r._items[\"-0\"]||(n&&(r._items[\"-0\"]=!0),!1):null!==r._nativeSet?n?(e=r._nativeSet.size,r._nativeSet.add(t),r._nativeSet.size===e):r._nativeSet.has(t):u in r._items?t in r._items[u]||(n&&(r._items[u][t]=!0),!1):(n&&(r._items[u]={},r._items[u][t]=!0),!1);case\"boolean\":if(u in r._items){var i=t?1:0;return!!r._items[u][i]||(n&&(r._items[u][i]=!0),!1)}return n&&(r._items[u]=t?[!1,!0]:[!0,!1]),!1;case\"function\":return null!==r._nativeSet?n?(e=r._nativeSet.size,r._nativeSet.add(t),r._nativeSet.size===e):r._nativeSet.has(t):u in r._items?!!tn(t,r._items[u])||(n&&r._items[u].push(t),!1):(n&&(r._items[u]=[t]),!1);case\"undefined\":return!!r._items[u]||(n&&(r._items[u]=!0),!1);case\"object\":if(null===t)return!!r._items.null||(n&&(r._items.null=!0),!1);default:return(u=Object.prototype.toString.call(t))in r._items?!!tn(t,r._items[u])||(n&&r._items[u].push(t),!1):(n&&(r._items[u]=[t]),!1)}}Sn.prototype.add=function(t){return!En(t,!0,this)},Sn.prototype.has=function(t){return En(t,!1,this)};var _n=n(function(t,n){for(var r=[],e=0,u=t.length,i=n.length,o=new Sn,c=0;c<i;c+=1)o.add(n[c]);for(;e<u;)o.add(t[e])&&(r[r.length]=t[e]),e+=1;return r}),qn=u(function(t,n,r){for(var e=[],u=0,i=n.length;u<i;)Ht(t,n[u],r)||Ht(t,n[u],e)||e.push(n[u]),u+=1;return e}),kn=n(function(t,n){var r={};for(var e in n)r[e]=n[e];return delete r[t],r}),Nn=u(function(t,n,r){var e=Array.prototype.slice.call(r,0);return e.splice(t,n),e}),Wn=u(function(t,n,r){return l(t,J(n),r)}),In=n(function t(n,r){switch(n.length){case 0:return r;case 1:return z(n[0])&&p(r)?Nn(n[0],1,r):kn(n[0],r);default:var e=n[0],u=Array.prototype.slice.call(n,1);return null==r[e]?r:z(e)&&p(r)?Wn(e,t(u,r[e]),r):st(e,t(u,r[e]),r)}}),Pn=n(function(t,n){return t/n});function Tn(t,n){this.xf=n,this.n=t}Tn.prototype[\"@@transducer/init\"]=g.init,Tn.prototype[\"@@transducer/result\"]=g.result,Tn.prototype[\"@@transducer/step\"]=function(t,n){return 0<this.n?(this.n-=1,t):this.xf[\"@@transducer/step\"](t,n)};var Cn=n(y([\"drop\"],n(function(t,n){return new Tn(t,n)}),function(t,n){return Tt(Math.max(0,t),1/0,n)}));function Fn(t,n){this.xf=n,this.n=t,this.i=0}Fn.prototype[\"@@transducer/init\"]=g.init,Fn.prototype[\"@@transducer/result\"]=g.result,Fn.prototype[\"@@transducer/step\"]=function(t,n){this.i+=1;var r=0===this.n?t:this.xf[\"@@transducer/step\"](t,n);return this.n<0||this.i<this.n?r:d(r)};var Bn=n(y([\"take\"],n(function(t,n){return new Fn(t,n)}),function(t,n){return Tt(0,t<0?1/0:t,n)}));function Rn(t,n){this.xf=n,this.pos=0,this.full=!1,this.acc=Array(t)}Rn.prototype[\"@@transducer/init\"]=g.init,Rn.prototype[\"@@transducer/result\"]=function(t){return this.acc=null,this.xf[\"@@transducer/result\"](t)},Rn.prototype[\"@@transducer/step\"]=function(t,n){return this.full&&(t=this.xf[\"@@transducer/step\"](t,this.acc[this.pos])),this.store(n),t},Rn.prototype.store=function(t){this.acc[this.pos]=t,this.pos+=1,this.pos===this.acc.length&&(this.pos=0,this.full=!0)};var Un=n(y([],n(function(t,n){return new Rn(t,n)}),function(t,n){return Bn(t<n.length?n.length-t:0,n)}));function Dn(t,n){this.f=t,this.retained=[],this.xf=n}Dn.prototype[\"@@transducer/init\"]=g.init,Dn.prototype[\"@@transducer/result\"]=function(t){return this.retained=null,this.xf[\"@@transducer/result\"](t)},Dn.prototype[\"@@transducer/step\"]=function(t,n){return this.f(n)?this.retain(t,n):this.flush(t,n)},Dn.prototype.flush=function(t,n){return t=k(this.xf[\"@@transducer/step\"],t,this.retained),this.retained=[],this.xf[\"@@transducer/step\"](t,n)},Dn.prototype.retain=function(t,n){return this.retained.push(n),t};var zn=n(y([],n(function(t,n){return new Dn(t,n)}),function(t,n){for(var r=n.length-1;0<=r&&t(n[r]);)r-=1;return Tt(0,r+1,n)}));function Mn(t,n){this.xf=n,this.pred=t,this.lastValue=void 0,this.seenFirstValue=!1}Mn.prototype[\"@@transducer/init\"]=g.init,Mn.prototype[\"@@transducer/result\"]=g.result,Mn.prototype[\"@@transducer/step\"]=function(t,n){var r=!1;return this.seenFirstValue?this.pred(this.lastValue,n)&&(r=!0):this.seenFirstValue=!0,this.lastValue=n,r?t:this.xf[\"@@transducer/step\"](t,n)};var Ln=n(function(t,n){return new Mn(t,n)}),Kn=M(-1),Vn=n(y([],Ln,function(t,n){var r=[],e=1,u=n.length;if(0!==u)for(r[0]=n[0];e<u;)t(Kn(r),n[e])||(r[r.length]=n[e]),e+=1;return r})),Gn=o(y([],Ln(Zt),Vn(Zt)));function $n(t,n){this.xf=n,this.f=t}$n.prototype[\"@@transducer/init\"]=g.init,$n.prototype[\"@@transducer/result\"]=g.result,$n.prototype[\"@@transducer/step\"]=function(t,n){if(this.f){if(this.f(n))return t;this.f=null}return this.xf[\"@@transducer/step\"](t,n)};var Hn=n(y([\"dropWhile\"],n(function(t,n){return new $n(t,n)}),function(t,n){for(var r=0,e=n.length;r<e&&t(n[r]);)r+=1;return Tt(r,1/0,n)})),Jn=n(function(t,n){return t||n}),Xn=n(function(t,n){return dt(t)?function(){return t.apply(this,arguments)||n.apply(this,arguments)}:vt(Jn)(t,n)}),Yn=o(function(t){return null!=t&&\"function\"==typeof t[\"fantasy-land/empty\"]?t[\"fantasy-land/empty\"]():null!=t&&null!=t.constructor&&\"function\"==typeof t.constructor[\"fantasy-land/empty\"]?t.constructor[\"fantasy-land/empty\"]():null!=t&&\"function\"==typeof t.empty?t.empty():null!=t&&null!=t.constructor&&\"function\"==typeof t.constructor.empty?t.constructor.empty():p(t)?[]:w(t)?\"\":cn(t)?{}:C(t)?function(){return arguments}():void 0}),Zn=n(function(t,n){return Cn(t<0?0:n.length-t,n)}),Qn=n(function(t,n){return Zt(Zn(t.length,n),t)}),tr=u(function(t,n,r){return Zt(t(n),t(r))}),nr=u(function(t,n,r){return Zt(n[t],r[t])}),rr=n(function t(n,r){var e,u,i,o=r instanceof Array?[]:{};for(u in r)o[u]=\"function\"==(i=typeof(e=n[u]))?e(r[u]):e&&\"object\"==i?t(e,r[u]):r[u];return o});function er(t,n){this.xf=n,this.f=t,this.found=!1}er.prototype[\"@@transducer/init\"]=g.init,er.prototype[\"@@transducer/result\"]=function(t){return this.found||(t=this.xf[\"@@transducer/step\"](t,void 0)),this.xf[\"@@transducer/result\"](t)},er.prototype[\"@@transducer/step\"]=function(t,n){return this.f(n)&&(this.found=!0,t=d(this.xf[\"@@transducer/step\"](t,n))),t};var ur=n(y([\"find\"],n(function(t,n){return new er(t,n)}),function(t,n){for(var r=0,e=n.length;r<e;){if(t(n[r]))return n[r];r+=1}}));function ir(t,n){this.xf=n,this.f=t,this.idx=-1,this.found=!1}ir.prototype[\"@@transducer/init\"]=g.init,ir.prototype[\"@@transducer/result\"]=function(t){return this.found||(t=this.xf[\"@@transducer/step\"](t,-1)),this.xf[\"@@transducer/result\"](t)},ir.prototype[\"@@transducer/step\"]=function(t,n){return this.idx+=1,this.f(n)&&(this.found=!0,t=d(this.xf[\"@@transducer/step\"](t,this.idx))),t};var or=n(y([],n(function(t,n){return new ir(t,n)}),function(t,n){for(var r=0,e=n.length;r<e;){if(t(n[r]))return r;r+=1}return-1}));function cr(t,n){this.xf=n,this.f=t}cr.prototype[\"@@transducer/init\"]=g.init,cr.prototype[\"@@transducer/result\"]=function(t){return this.xf[\"@@transducer/result\"](this.xf[\"@@transducer/step\"](t,this.last))},cr.prototype[\"@@transducer/step\"]=function(t,n){return this.f(n)&&(this.last=n),t};var ar=n(y([],n(function(t,n){return new cr(t,n)}),function(t,n){for(var r=n.length-1;0<=r;){if(t(n[r]))return n[r];r-=1}}));function fr(t,n){this.xf=n,this.f=t,this.idx=-1,this.lastIdx=-1}fr.prototype[\"@@transducer/init\"]=g.init,fr.prototype[\"@@transducer/result\"]=function(t){return this.xf[\"@@transducer/result\"](this.xf[\"@@transducer/step\"](t,this.lastIdx))},fr.prototype[\"@@transducer/step\"]=function(t,n){return this.idx+=1,this.f(n)&&(this.lastIdx=this.idx),t};var sr=n(y([],n(function(t,n){return new fr(t,n)}),function(t,n){for(var r=n.length-1;0<=r;){if(t(n[r]))return r;r-=1}return-1})),lr=o(wt(!0)),pr=o(function(e){return c(e.length,function(t,n){var r=Array.prototype.slice.call(arguments,0);return r[0]=n,r[1]=t,e.apply(this,r)})}),hr=n(Pt(\"forEach\",function(t,n){for(var r=n.length,e=0;e<r;)t(n[e]),e+=1;return n})),yr=n(function(t,n){for(var r=U(n),e=0;e<r.length;){var u=r[e];t(n[u],u,n),e+=1}return n}),dr=o(function(t){for(var n={},r=0;r<t.length;)n[t[r][0]]=t[r][1],r+=1;return n}),gr=n(Pt(\"groupBy\",xn(function(t,n){return null==t&&(t=[]),t.push(n),t},null))),vr=n(function(t,n){for(var r=[],e=0,u=n.length;e<u;){for(var i=e+1;i<u&&t(n[i-1],n[i]);)i+=1;r.push(n.slice(e,i)),e=i}return r}),mr=n(function(t,n){return n<t}),br=n(function(t,n){return n<=t}),xr=n(function(t,n){if(0===t.length||lt(n))return!1;for(var r=n,e=0;e<t.length;){if(lt(r)||!I(t[e],r))return!1;r=r[t[e]],e+=1}return!0}),wr=n(function(t,n){return xr([t],n)}),jr=n(function(t,n){return t in n}),Ar=n(Jt),Or=u(function(t,n,r){return c(Math.max(t.length,n.length,r.length),function(){return t.apply(this,arguments)?n.apply(this,arguments):r.apply(this,arguments)})}),Sr=r(1),Er=n(tn),_r=xn(function(t,n){return n},null),qr=n(function(t,n){return\"function\"!=typeof n.indexOf||p(n)?Qt(n,t,0):n.indexOf(t)}),kr=Tt(0,-1),Nr=u(function(n,t,r){return on(function(t){return Ht(n,t,r)},t)}),Wr=u(function(t,n,r){t=t<r.length&&0<=t?t:r.length;var e=Array.prototype.slice.call(r,0);return e.splice(t,0,n),e}),Ir=u(function(t,n,r){return[].concat(Array.prototype.slice.call(r,0,t=t<r.length&&0<=t?t:r.length),n,Array.prototype.slice.call(r,t))}),Pr=n(function(t,n){for(var r,e,u=new Sn,i=[],o=0;o<n.length;)r=t(e=n[o]),u.add(r)&&i.push(e),o+=1;return i}),Tr=Pr(Kt),Cr=n(function(t,n){var r,e;return e=n.length<t.length?(r=t,n):(r=n,t),Tr(on(pr(tn)(r),e))}),Fr=n(Pt(\"intersperse\",function(t,n){for(var r=[],e=0,u=n.length;e<u;)e===u-1?r.push(n[e]):r.push(n[e],t),e+=1;return r}));var Br=\"function\"==typeof Object.assign?Object.assign:function(t){if(null==t)throw new TypeError(\"Cannot convert undefined or null to object\");for(var n=Object(t),r=1,e=arguments.length;r<e;){var u=arguments[r];if(null!=u)for(var i in u)I(i,u)&&(n[i]=u[i]);r+=1}return n},Rr=n(function(t,n){var r={};return r[t]=n,r}),Ur={\"@@transducer/init\":Array,\"@@transducer/step\":function(t,n){return t.push(n),t},\"@@transducer/result\":Lt},Dr={\"@@transducer/init\":String,\"@@transducer/step\":function(t,n){return t+n},\"@@transducer/result\":Lt},zr={\"@@transducer/init\":Object,\"@@transducer/step\":function(t,n){return Br(t,j(n)?Rr(n[0],n[1]):n)},\"@@transducer/result\":Lt};var Mr=u(function(t,n,r){return h(t)?k(n(t),t[\"@@transducer/init\"](),r):k(n(function(t){if(h(t))return t;if(j(t))return Ur;if(\"string\"==typeof t)return Dr;if(\"object\"==typeof t)return zr;throw Error(\"Cannot create transformer for \"+t)}(t)),_t(t,[],[],!1),r)}),Lr=o(function(t){for(var n=U(t),r=n.length,e=0,u={};e<r;){var i=n[e],o=t[i],c=I(o,u)?u[o]:u[o]=[];c[c.length]=i,e+=1}return u}),Kr=o(function(t){for(var n=U(t),r=n.length,e=0,u={};e<r;){var i=n[e];u[t[i]]=i,e+=1}return u}),Vr=n(function(n,r){return c(n+1,function(){var t=arguments[n];if(null!=t&&dt(t[r]))return t[r].apply(t,Array.prototype.slice.call(arguments,0,n));throw new TypeError(pn(t)+' does not have a method named \"'+r+'\"')})}),Gr=n(function(t,n){return null!=n&&n.constructor===t||n instanceof t}),$r=o(function(t){return null!=t&&Zt(t,Yn(t))}),Hr=Vr(1,\"join\"),Jr=o(function(t){return mn(function(){return Array.prototype.slice.call(arguments,0)},t)}),Xr=o(function(t){var n,r=[];for(n in t)r[r.length]=n;return r}),Yr=n(function(t,n){if(\"function\"!=typeof n.lastIndexOf||p(n)){for(var r=n.length-1;0<=r;){if(Zt(n[r],t))return r;r-=1}return-1}return n.lastIndexOf(t)});function Zr(t){return\"[object Number]\"===Object.prototype.toString.call(t)}var Qr=o(function(t){return null!=t&&Zr(t.length)?t.length:NaN}),te=n(function(r,e){return function(t){return function(n){return D(function(t){return e(t,n)},t(r(n)))}}}),ne=o(function(t){return te(M(t),Wn(t))}),re=o(function(t){return te(K(t),pt(t))}),ee=o(function(t){return te(V(t),st(t))}),ue=n(function(t,n){return t<n}),ie=n(function(t,n){return t<=n}),oe=u(function(t,n,r){for(var e=0,u=r.length,i=[],o=[n];e<u;)o=t(o[0],r[e]),i[e]=o[1],e+=1;return[o[0],i]}),ce=u(function(t,n,r){for(var e=r.length-1,u=[],i=[n];0<=e;)i=t(i[0],r[e]),u[e]=i[1],e-=1;return[i[0],u]}),ae=n(function(r,e){return k(function(t,n){return t[n]=r(e[n],n,e),t},{},U(e))}),fe=n(function(t,n){return n.match(t)||[]}),se=n(function(t,n){return z(t)?!z(n)||n<1?NaN:(t%n+n)%n:NaN}),le=u(function(t,n,r){return t(r)>t(n)?r:n}),pe=$(r,0),he=o(function(t){return pe(t)/t.length}),ye=o(function(t){var n=t.length;if(0===n)return NaN;var r=2-n%2,e=(n-r)/2;return he(Array.prototype.slice.call(t,0).sort(function(t,n){return t<n?-1:n<t?1:0}).slice(e,e+r))}),de=n(function(n,r){var e={};return f(r.length,function(){var t=n.apply(this,arguments);return I(t,e)||(e[t]=r.apply(this,arguments)),e[t]})}),ge=n(function(t,n){return Br({},t,n)}),ve=o(function(t){return Br.apply(null,[{}].concat(t))}),me=u(function(t,n,r){var e,u={};for(e in n)I(e,n)&&(u[e]=I(e,r)?t(e,n[e],r[e]):n[e]);for(e in r)I(e,r)&&!I(e,u)&&(u[e]=r[e]);return u}),be=u(function e(u,t,n){return me(function(t,n,r){return cn(n)&&cn(r)?e(u,n,r):u(t,n,r)},t,n)}),xe=n(function(t,n){return be(function(t,n,r){return n},t,n)}),we=n(function(t,n){return be(function(t,n,r){return r},t,n)}),je=u(function(e,t,n){return be(function(t,n,r){return e(n,r)},t,n)}),Ae=n(function(t,n){return Br({},n,t)}),Oe=n(function(t,n){return Br({},t,n)}),Se=u(function(e,t,n){return me(function(t,n,r){return e(n,r)},t,n)}),Ee=n(function(t,n){return n<t?n:t}),_e=u(function(t,n,r){return t(r)<t(n)?r:n}),qe=n(function(t,n){return t%n}),ke=u(function(t,n,r){var e=r.length,u=r.slice(),i=t<0?e+t:t,o=n<0?e+n:n,c=u.splice(i,1);return i<0||r.length<=i||o<0||r.length<=o?r:[].concat(u.slice(0,o)).concat(c).concat(u.slice(o,r.length))}),Ne=n(function(t,n){return t*n}),We=o(function(t){return-t}),Ie=n(function(t,n){return m(un(t),n)}),Pe=o(function(t){return c(t<0?1:t+1,function(){return M(t,arguments)})}),Te=u(function(t,n,r){return t(n(r))});var Ce=o(function(t){return[t]}),Fe=n(function(t,n){for(var r={},e={},u=0,i=t.length;u<i;)u+=e[t[u]]=1;for(var o in n)e.hasOwnProperty(o)||(r[o]=n[o]);return r}),Be=o(function(t){var n,r=!1;return f(t.length,function(){return r?n:(r=!0,n=t.apply(this,arguments))})});function Re(t,n){if(null==n||!dt(n.then))throw new TypeError(\"`\"+t+\"` expected a Promise, received \"+ln(n,[]))}var Ue=n(function(t,n){return Re(\"otherwise\",n),n.then(null,t)}),De=function(n){return{value:n,map:function(t){return De(t(n))}}},ze=u(function(t,n,r){return t(function(t){return De(n(t))})(r).value}),Me=n(function(t,n){return[t,n]});function Le(r){return n(function(t,n){return f(Math.max(0,t.length-n.length),function(){return t.apply(this,r(n,arguments))})})}var Ke=Le(i),Ve=Le(pr(i)),Ge=Jr([fn,sn]),$e=u(function(t,n,r){return Zt(K(t,r),n)}),He=u(function(t,n,r){return An(t,K(n,r))}),Je=u(function(t,n,r){return t(K(n,r))}),Xe=n(function(t,n){for(var r={},e=0;e<t.length;)t[e]in n&&(r[t[e]]=n[t[e]]),e+=1;return r}),Ye=n(function(t,n){for(var r={},e=0,u=t.length;e<u;){var i=t[e];r[i]=n[i],e+=1}return r}),Ze=n(function(t,n){var r={};for(var e in n)t(n[e],e,n)&&(r[e]=n[e]);return r});var Qe=n(function(t,n){return i([t],n)}),tu=$(Ne,1),nu=n(function(r,e){return c(e.length,function(){for(var t=[],n=0;n<e.length;)t.push(e[n].call(this,arguments[n])),n+=1;return r.apply(this,t.concat(Array.prototype.slice.call(arguments,e.length)))})}),ru=nu(x,[Ye,Kt]),eu=u(function(t,n,r){return Zt(n,r[t])}),uu=u(function(t,n,r){return Gr(t,r[n])}),iu=u(function(t,n,r){return He(t,[n],r)}),ou=u(function(t,n,r){return t(r[n])}),cu=n(function(t,n){return t.map(function(t){return K([t],n)})}),au=n(function(t,n){if(!Zr(t)||!Zr(n))throw new TypeError(\"Both arguments to range must be numbers\");for(var r=[],e=t;e<n;)r.push(e),e+=1;return r}),fu=u(function(t,n,r){for(var e=r.length-1;0<=e;)n=t(r[e],n),e-=1;return n}),su=s(4,[],function(r,e,t,n){return k(function(t,n){return r(t,n)?e(t,n):d(t)},t,n)}),lu=o(d),pu=n(function(t,n){var r,e=+n,u=0;if(e<0||isNaN(e))throw new RangeError(\"n must be a non-negative number\");for(r=Array(e);u<e;)r[u]=t(u),u+=1;return r}),hu=n(function(t,n){return pu(J(t),n)}),yu=u(function(t,n,r){return r.replace(t,n)}),du=u(function(t,n,r){for(var e=0,u=r.length,i=[n];e<u;)n=t(n,r[e]),i[e+1]=n,e+=1;return i}),gu=n(function(t,n){return\"function\"==typeof n.sequence?n.sequence(t):fu(function(t,n){return tt(D(Qe,t),n)},t([]),n)}),vu=u(function(t,n,r){return ze(t,J(n),r)}),mu=n(function(t,n){return Array.prototype.slice.call(n,0).sort(t)}),bu=n(function(u,t){return Array.prototype.slice.call(t,0).sort(function(t,n){var r=u(t),e=u(n);return r<e?-1:e<r?1:0})}),xu=n(function(u,t){return Array.prototype.slice.call(t,0).sort(function(t,n){for(var r=0,e=0;0===r&&e<u.length;)r=u[e](t,n),e+=1;return r})}),wu=Vr(1,\"split\"),ju=n(function(t,n){return[Tt(0,t,n),Tt(t,Qr(n),n)]}),Au=n(function(t,n){if(t<=0)throw Error(\"First argument to splitEvery must be a positive integer\");for(var r=[],e=0;e<n.length;)r.push(Tt(e,e+=t,n));return r}),Ou=n(function(t,n){for(var r=0,e=n.length,u=[];r<e&&!t(n[r]);)u.push(n[r]),r+=1;return[u,Array.prototype.slice.call(n,r)]}),Su=n(function(t,n){return Zt(Bn(t.length,n),t)}),Eu=n(function(t,n){return+t-+n}),_u=n(function(t,n){return hn(_n(t,n),_n(n,t))}),qu=u(function(t,n,r){return hn(qn(t,n,r),qn(t,r,n))}),ku=n(function(t,n){for(var r=n.length-1;0<=r&&t(n[r]);)r-=1;return Tt(r+1,1/0,n)});function Nu(t,n){this.xf=n,this.f=t}Nu.prototype[\"@@transducer/init\"]=g.init,Nu.prototype[\"@@transducer/result\"]=g.result,Nu.prototype[\"@@transducer/step\"]=function(t,n){return this.f(n)?this.xf[\"@@transducer/step\"](t,n):d(t)};var Wu=n(y([\"takeWhile\"],n(function(t,n){return new Nu(t,n)}),function(t,n){for(var r=0,e=n.length;r<e&&t(n[r]);)r+=1;return Tt(0,r,n)}));function Iu(t,n){this.xf=n,this.f=t}Iu.prototype[\"@@transducer/init\"]=g.init,Iu.prototype[\"@@transducer/result\"]=g.result,Iu.prototype[\"@@transducer/step\"]=function(t,n){return this.f(n),this.xf[\"@@transducer/step\"](t,n)};var Pu=n(y([],n(function(t,n){return new Iu(t,n)}),function(t,n){return t(n),n}));function Tu(t){return{value:t,\"fantasy-land/map\":function(){return this}}}var Cu=n(function(t,n){if(!function(t){return\"[object RegExp]\"===Object.prototype.toString.call(t)}(t))throw new TypeError(\"‘test’ requires a value of type RegExp as its first argument; received \"+pn(t));return St(t).test(n)}),Fu=n(function(t,n){return Re(\"andThen\",n),n.then(t)}),Bu=Vr(0,\"toLowerCase\"),Ru=o(function(t){var n=[];for(var r in t)I(r,t)&&(n[n.length]=[r,t[r]]);return n}),Uu=o(function(t){var n=[];for(var r in t)n[n.length]=[r,t[r]];return n}),Du=Vr(0,\"toUpperCase\"),zu=c(4,function(t,n,r,e){return k(t(\"function\"==typeof n?O(n):n),r,e)}),Mu=o(function(t){for(var n=0,r=[];n<t.length;){for(var e=t[n],u=0;u<e.length;)void 0===r[u]&&(r[u]=[]),r[u].push(e[u]),u+=1;n+=1}return r}),Lu=u(function(t,n,r){return\"function\"==typeof r[\"fantasy-land/traverse\"]?r[\"fantasy-land/traverse\"](n,t):gu(t,D(n,r))}),Ku=\"\\t\\n\\v\\f\\r   ᠎             　\\u2028\\u2029\\ufeff\",Vu=!(\"function\"==typeof String.prototype.trim)||Ku.trim()?o(function(t){var n=RegExp(\"^[\"+Ku+\"][\"+Ku+\"]*\"),r=RegExp(\"[\"+Ku+\"][\"+Ku+\"]*$\");return t.replace(n,\"\").replace(r,\"\")}):o(function(t){return t.trim()}),Gu=n(function(t,n){return f(t.length,function(){try{return t.apply(this,arguments)}catch(t){return n.apply(this,i([t],arguments))}})}),$u=o(function(t){return function(){return t(Array.prototype.slice.call(arguments,0))}}),Hu=o(function(t){return ht(1,t)}),Ju=n(function(u,i){return c(u,function(){for(var t,n=1,r=i,e=0;n<=u&&\"function\"==typeof r;)r=r.apply(this,Array.prototype.slice.call(arguments,e,t=n===u?arguments.length:e+r.length)),n+=1,e=t;return r})}),Xu=n(function(t,n){for(var r=t(n),e=[];r&&r.length;)e[e.length]=r[0],r=t(r[1]);return e}),Yu=n(Rt(Tr,i)),Zu=n(function(t,n){for(var r,e=0,u=n.length,i=[];e<u;)Ht(t,r=n[e],i)||(i[i.length]=r),e+=1;return i}),Qu=u(function(t,n,r){return Zu(t,i(n,r))}),ti=u(function(t,n,r){return t(r)?r:n(r)}),ni=At(Lt),ri=u(function(t,n,r){for(var e=r;!t(e);)e=n(e);return e}),ei=o(function(t){var n,r=[];for(n in t)r[r.length]=t[n];return r}),ui=n(function(t,n){return t(Tu)(n).value}),ii=u(function(t,n,r){return t(r)?n(r):r}),oi=n(function(t,n){for(var r in t)if(I(r,t)&&!t[r](n[r]))return!1;return!0}),ci=n(function(t,n){return oi(D(Zt,t),n)}),ai=n(function(t,n){return sn(pr(tn)(t),n)}),fi=n(function(t,n){return!!(!t^!n)}),si=n(function(t,n){for(var r,e=0,u=t.length,i=n.length,o=[];e<u;){for(r=0;r<i;)o[o.length]=[t[e],n[r]],r+=1;e+=1}return o}),li=n(function(t,n){for(var r=[],e=0,u=Math.min(t.length,n.length);e<u;)r[e]=[t[e],n[e]],e+=1;return r}),pi=n(function(t,n){for(var r=0,e=Math.min(t.length,n.length),u={};r<e;)u[t[r]]=n[r],r+=1;return u}),hi=u(function(t,n,r){for(var e=[],u=0,i=Math.min(n.length,r.length);u<i;)e[u]=t(n[u],r[u]),u+=1;return e}),yi=o(function(n){return c(n.length,function(){var t=arguments;return function(){return n.apply(this,t)}})});t.F=function(){return!1},t.T=function(){return!0},t.__={\"@@functional/placeholder\":!0},t.add=r,t.addIndex=e,t.adjust=l,t.all=m,t.allPass=H,t.always=J,t.and=X,t.any=Z,t.anyPass=Q,t.ap=tt,t.aperture=rt,t.append=et,t.apply=ut,t.applySpec=ct,t.applyTo=at,t.ascend=ft,t.assoc=st,t.assocPath=pt,t.binary=yt,t.bind=S,t.both=mt,t.call=xt,t.chain=At,t.clamp=Ot,t.clone=qt,t.comparator=kt,t.complement=Wt,t.compose=Rt,t.composeK=Ut,t.composeP=function(){if(0===arguments.length)throw Error(\"composeP requires at least one argument\");return zt.apply(this,Bt(arguments))},t.composeWith=Gt,t.concat=hn,t.cond=yn,t.construct=gn,t.constructN=dn,t.contains=vn,t.converge=mn,t.countBy=wn,t.curry=bt,t.curryN=c,t.dec=jn,t.defaultTo=An,t.descend=On,t.difference=_n,t.differenceWith=qn,t.dissoc=kn,t.dissocPath=In,t.divide=Pn,t.drop=Cn,t.dropLast=Un,t.dropLastWhile=zn,t.dropRepeats=Gn,t.dropRepeatsWith=Vn,t.dropWhile=Hn,t.either=Xn,t.empty=Yn,t.endsWith=Qn,t.eqBy=tr,t.eqProps=nr,t.equals=Zt,t.evolve=rr,t.filter=fn,t.find=ur,t.findIndex=or,t.findLast=ar,t.findLastIndex=sr,t.flatten=lr,t.flip=pr,t.forEach=hr,t.forEachObjIndexed=yr,t.fromPairs=dr,t.groupBy=gr,t.groupWith=vr,t.gt=mr,t.gte=br,t.has=wr,t.hasIn=jr,t.hasPath=xr,t.head=Mt,t.identical=Ar,t.identity=Kt,t.ifElse=Or,t.inc=Sr,t.includes=Er,t.indexBy=_r,t.indexOf=qr,t.init=kr,t.innerJoin=Nr,t.insert=Wr,t.insertAll=Ir,t.intersection=Cr,t.intersperse=Fr,t.into=Mr,t.invert=Lr,t.invertObj=Kr,t.invoker=Vr,t.is=Gr,t.isEmpty=$r,t.isNil=lt,t.join=Hr,t.juxt=Jr,t.keys=U,t.keysIn=Xr,t.last=Kn,t.lastIndexOf=Yr,t.length=Qr,t.lens=te,t.lensIndex=ne,t.lensPath=re,t.lensProp=ee,t.lift=vt,t.liftN=gt,t.lt=ue,t.lte=ie,t.map=D,t.mapAccum=oe,t.mapAccumRight=ce,t.mapObjIndexed=ae,t.match=fe,t.mathMod=se,t.max=b,t.maxBy=le,t.mean=he,t.median=ye,t.memoizeWith=de,t.merge=ge,t.mergeAll=ve,t.mergeDeepLeft=xe,t.mergeDeepRight=we,t.mergeDeepWith=je,t.mergeDeepWithKey=be,t.mergeLeft=Ae,t.mergeRight=Oe,t.mergeWith=Se,t.mergeWithKey=me,t.min=Ee,t.minBy=_e,t.modulo=qe,t.move=ke,t.multiply=Ne,t.nAry=ht,t.negate=We,t.none=Ie,t.not=Nt,t.nth=M,t.nthArg=Pe,t.o=Te,t.objOf=Rr,t.of=Ce,t.omit=Fe,t.once=Be,t.or=Jn,t.otherwise=Ue,t.over=ze,t.pair=Me,t.partial=Ke,t.partialRight=Ve,t.partition=Ge,t.path=K,t.paths=L,t.pathEq=$e,t.pathOr=He,t.pathSatisfies=Je,t.pick=Xe,t.pickAll=Ye,t.pickBy=Ze,t.pipe=Ft,t.pipeK=function(){if(0===arguments.length)throw Error(\"pipeK requires at least one argument\");return Ut.apply(this,Bt(arguments))},t.pipeP=zt,t.pipeWith=Vt,t.pluck=G,t.prepend=Qe,t.product=tu,t.project=ru,t.prop=V,t.propEq=eu,t.propIs=uu,t.propOr=iu,t.propSatisfies=ou,t.props=cu,t.range=au,t.reduce=$,t.reduceBy=xn,t.reduceRight=fu,t.reduceWhile=su,t.reduced=lu,t.reject=sn,t.remove=Nn,t.repeat=hu,t.replace=yu,t.reverse=Bt,t.scan=du,t.sequence=gu,t.set=vu,t.slice=Tt,t.sort=mu,t.sortBy=bu,t.sortWith=xu,t.split=wu,t.splitAt=ju,t.splitEvery=Au,t.splitWhen=Ou,t.startsWith=Su,t.subtract=Eu,t.sum=pe,t.symmetricDifference=_u,t.symmetricDifferenceWith=qu,t.tail=Ct,t.take=Bn,t.takeLast=Zn,t.takeLastWhile=ku,t.takeWhile=Wu,t.tap=Pu,t.test=Cu,t.andThen=Fu,t.times=pu,t.toLower=Bu,t.toPairs=Ru,t.toPairsIn=Uu,t.toString=pn,t.toUpper=Du,t.transduce=zu,t.transpose=Mu,t.traverse=Lu,t.trim=Vu,t.tryCatch=Gu,t.type=Et,t.unapply=$u,t.unary=Hu,t.uncurryN=Ju,t.unfold=Xu,t.union=Yu,t.unionWith=Qu,t.uniq=Tr,t.uniqBy=Pr,t.uniqWith=Zu,t.unless=ti,t.unnest=ni,t.until=ri,t.update=Wn,t.useWith=nu,t.values=it,t.valuesIn=ei,t.view=ui,t.when=ii,t.where=oi,t.whereEq=ci,t.without=ai,t.xor=fi,t.xprod=si,t.zip=li,t.zipObj=pi,t.zipWith=hi,t.thunkify=yi,Object.defineProperty(t,\"__esModule\",{value:!0})});\n","/*! For license information please see RA.web.min.js.LICENSE.txt */\n!function(e,t){\"object\"==typeof exports&&\"object\"==typeof module?module.exports=t(require(\"R\")):\"function\"==typeof define&&define.amd?define([\"R\"],t):\"object\"==typeof exports?exports.RA=t(require(\"R\")):e.RA=t(e.R)}(window,(function(e){return function(e){var t={};function u(r){if(t[r])return t[r].exports;var a=t[r]={i:r,l:!1,exports:{}};return e[r].call(a.exports,a,a.exports,u),a.l=!0,a.exports}return u.m=e,u.c=t,u.d=function(e,t,r){u.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},u.r=function(e){\"undefined\"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:\"Module\"}),Object.defineProperty(e,\"__esModule\",{value:!0})},u.t=function(e,t){if(1&t&&(e=u(e)),8&t)return e;if(4&t&&\"object\"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(u.r(r),Object.defineProperty(r,\"default\",{enumerable:!0,value:e}),2&t&&\"string\"!=typeof e)for(var a in e)u.d(r,a,function(t){return e[t]}.bind(null,a));return r},u.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return u.d(t,\"a\",t),t},u.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},u.p=\"\",u(u.s=72)}([function(t,u){t.exports=e},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=l(u(19)),n=l(u(20));function l(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.anyPass)([(0,r.pipe)(r.type,(0,r.identical)(\"Function\")),a.default,n.default]);t.default=o},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=(r=u(86))&&r.__esModule?r:{default:r};var n=(0,u(0).curryN)(1,a.default);t.default=n},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=l(u(31)),n=l(u(1));function l(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.curryN)(1,(0,n.default)(Array.isArray)?Array.isArray:a.default);t.default=o},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=t.isIntegerPolyfill=void 0;var r=u(0),a=l(u(1)),n=l(u(96));function l(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.curryN)(1,n.default);t.isIntegerPolyfill=o;var i=(0,a.default)(Number.isInteger)?(0,r.curryN)(1,(0,r.bind)(Number.isInteger,Number)):o;t.default=i},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=(0,u(0).bind)(Promise.resolve,Promise);t.default=r},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=(r=u(36))&&r.__esModule?r:{default:r};var n=(0,u(0).curryN)(1,a.default);t.default=n},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.curryN)(1,(0,r.bind)(Promise.all,Promise));t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.curry)((function(e,t,u){return(0,r.compose)(e(t),r.length)(u)}));t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=(0,u(0).always)(void 0);t.default=r},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=t.isFinitePolyfill=void 0;var r=u(0),a=l(u(1)),n=l(u(95));function l(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.curryN)(1,n.default);t.isFinitePolyfill=o;var i=(0,a.default)(Number.isFinite)?(0,r.curryN)(1,(0,r.bind)(Number.isFinite,Number)):o;t.default=i},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(12))&&r.__esModule?r:{default:r};var l=(0,a.complement)(n.default);t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(9))&&r.__esModule?r:{default:r};var l=(0,a.equals)((0,n.default)());t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=o(u(17)),n=o(u(1)),l=o(u(38));function o(e){return e&&e.__esModule?e:{default:e}}var i=(0,r.curryN)(1,(0,r.both)(a.default,(0,r.either)(l.default,n.default)));t.default=i},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=(0,u(0).bind)(Promise.reject,Promise);t.default=r},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0);var n=(0,((r=u(8))&&r.__esModule?r:{default:r}).default)(a.equals);t.default=n},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=(0,u(0).equals)(null);t.default=r},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(16))&&r.__esModule?r:{default:r};var l=(0,a.complement)(n.default);t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.complement)(r.isNil);t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=null,n=null;try{a=new Function(\"return function* () {}\")().constructor,n=(0,r.is)(a)}catch(e){n=r.F}var l=(0,r.curryN)(1,(0,r.either)((0,r.pipe)(r.type,(0,r.identical)(\"GeneratorFunction\")),n));t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.curryN)(1,(0,r.pipe)(r.type,(0,r.identical)(\"AsyncFunction\")));t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(1))&&r.__esModule?r:{default:r};var l=(0,a.curryN)(1,(function(e){return\"undefined\"!=typeof Symbol&&((0,a.hasIn)(Symbol.iterator,Object(e))&&(0,n.default)(e[Symbol.iterator]))}));t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.complement)(r.isEmpty);t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=l(u(17)),n=l(u(38));function l(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.curryN)(1,(0,r.both)(a.default,n.default));t.default=o},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.curryN)(1,(0,r.pipe)(r.type,(0,r.identical)(\"Date\")));t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=l(u(4)),n=l(u(10));function l(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.both)(n.default,(0,r.complement)(a.default));t.default=o},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=(0,u(0).curryN)(1,Boolean);t.default=r},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=Object.freeze({equals:\"fantasy-land/equals\",lte:\"fantasy-land/lte\",compose:\"fantasy-land/compose\",id:\"fantasy-land/id\",concat:\"fantasy-land/concat\",empty:\"fantasy-land/empty\",map:\"fantasy-land/map\",contramap:\"fantasy-land/contramap\",ap:\"fantasy-land/ap\",of:\"fantasy-land/of\",alt:\"fantasy-land/alt\",zero:\"fantasy-land/zero\",reduce:\"fantasy-land/reduce\",traverse:\"fantasy-land/traverse\",chain:\"fantasy-land/chain\",chainRec:\"fantasy-land/chainRec\",extend:\"fantasy-land/extend\",extract:\"fantasy-land/extract\",bimap:\"fantasy-land/bimap\",promap:\"fantasy-land/promap\"});t.default=r},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.flip)(r.contains);t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0);var n=(0,((r=u(8))&&r.__esModule?r:{default:r}).default)((0,a.flip)(a.lte));t.default=n},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=n(u(47)),a=n(u(45));function n(e){return e&&e.__esModule?e:{default:e}}var l=function(e,t){var u=Number(t);if(u!==t&&(u=0),(0,a.default)(u))throw new RangeError(\"repeat count must be non-negative\");if((0,r.default)(u))throw new RangeError(\"repeat count must be less than infinity\");if(u=Math.floor(u),0===e.length||0===u)return\"\";if(e.length*u>=1<<28)throw new RangeError(\"repeat count must not overflow maximum string size\");var n=e.length*u;u=Math.floor(Math.log(u)/Math.log(2));for(var l=e;u;)l+=e,u-=1;return l+=l.substring(0,n-l.length)};t.default=l},function(e,t){e.exports=Array.isArray||function(e){return null!=e&&e.length>=0&&\"[object Array]\"===Object.prototype.toString.call(e)}},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(3))&&r.__esModule?r:{default:r};var l=(0,a.complement)(n.default);t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=l(u(22)),n=l(u(3));function l(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.both)(n.default,a.default);t.default=o},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.curryN)(1,(0,r.pipe)(r.type,(0,r.identical)(\"Boolean\")));t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.curryN)(1,(0,r.either)(r.isNil,r.isEmpty));t.default=a},function(e,t){e.exports=function(e){return\"[object String]\"===Object.prototype.toString.call(e)}},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(13))&&r.__esModule?r:{default:r};var l=(0,a.complement)(n.default);t.default=l},function(e,t,u){\"use strict\";function r(e){return(r=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}t.__esModule=!0,t.default=void 0;var a=function(e){return\"object\"===r(e)};t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=l(u(3)),n=l(u(6));function l(e){return e&&e.__esModule?e:{default:e}}function o(e){return(o=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}var i=(0,r.curryN)(1,(function(e){return!!(0,a.default)(e)||!!e&&(!(0,n.default)(e)&&(\"object\"===o(e)&&(1===e.nodeType?!!e.length:0===e.length||e.length>0&&((0,r.has)(0,e)&&(0,r.has)(e.length-1,e)))))}));t.default=i},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(1))&&r.__esModule?r:{default:r};var l=(0,a.complement)(n.default);t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=i(u(82)),a=u(0),n=i(u(16)),l=i(u(23)),o=i(u(1));function i(e){return e&&e.__esModule?e:{default:e}}var d=(0,a.pipe)(a.toString,(0,a.equals)((0,a.toString)(Object))),f=(0,a.pathSatisfies)((0,a.both)(o.default,d),[\"constructor\"]),s=(0,a.curryN)(1,(function(e){if(!(0,l.default)(e)||!(0,r.default)(e))return!1;var t=Object.getPrototypeOf(e);return!!(0,n.default)(t)||f(t)}));t.default=s},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=l(u(24)),n=l(u(43));function l(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.curryN)(1,(0,r.both)(a.default,(0,r.pipe)((0,r.invoker)(0,\"getTime\"),n.default)));t.default=o},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(44))&&r.__esModule?r:{default:r};var l=(0,a.complement)(n.default);t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=t.isNaNPolyfill=void 0;var r=u(0),a=l(u(1)),n=l(u(85));function l(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.curryN)(1,n.default);t.isNaNPolyfill=o;var i=(0,a.default)(Number.isNaN)?(0,r.curryN)(1,Number.isNaN):o;t.default=i},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(2))&&r.__esModule?r:{default:r};var l=(0,a.curryN)(1,(0,a.both)(n.default,(0,a.gt)(0)));t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(2))&&r.__esModule?r:{default:r};var l=(0,a.curryN)(1,(0,a.both)(n.default,(0,a.flip)(a.gte)(0)));t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(10))&&r.__esModule?r:{default:r};var l=(0,a.complement)(n.default);t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=l(u(25)),n=l(u(4));function l(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.curryN)(1,(0,r.either)(n.default,a.default));t.default=o},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(4))&&r.__esModule?r:{default:r};var l=(0,a.curryN)(1,(0,a.both)(n.default,(0,a.pipe)((0,a.flip)(a.modulo)(2),(0,a.complement)(a.equals)(0))));t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(3))&&r.__esModule?r:{default:r};var l=(0,a.curryN)(1,(0,a.both)(n.default,(0,a.pipe)(a.length,(0,a.equals)(2))));t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=(0,u(0).identical)(!0);t.default=r},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(26))&&r.__esModule?r:{default:r};var l=(0,a.complement)(n.default);t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.curryN)(1,(0,r.pipe)(r.type,(0,r.identical)(\"RegExp\")));t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(118))&&r.__esModule?r:{default:r};var l=(0,a.curry)((function(e,t){var u=(0,a.curryN)(e,t);return(0,a.curryN)(e,(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var l=(0,a.map)(u,(0,a.head)(t)),o=(0,a.slice)(1,1/0,t);return(0,a.reduce)(n.default,l,o)}))}));t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.curryN)(2,(function(e,t){return(0,r.curryN)(e,(function(){for(var e=arguments.length,u=new Array(e),a=0;a<e;a++)u[a]=arguments[a];return t.apply(this,(0,r.reverse)(u))}))}));t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0);var n=(0,((r=u(8))&&r.__esModule?r:{default:r}).default)((0,a.flip)(a.gte));t.default=n},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=(0,u(0).curry)((function(e,t,u){return e(u)?t:u}));t.default=r},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.addIndex)(r.map);t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.unapply)(r.identity);t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(15))&&r.__esModule?r:{default:r};var l=(0,a.converge)(n.default,[a.length,a.uniq]);t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.curry)((function(e,t){return(0,r.ap)([(0,r.path)(r.__,t)],e)}));t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.curry)((function(e,t){return(0,r.pipe)(r.toPairs,(0,r.map)((0,r.over)((0,r.lensIndex)(0),e)),r.fromPairs)(t)}));t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.flip)(r.merge);t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(63))&&r.__esModule?r:{default:r};var l=(0,a.curry)((function(e,t,u){return(0,a.over)((0,a.lensPath)(e),(0,n.default)(t),u)}));t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.curryN)(2,(0,r.converge)(r.merge,[r.dissocPath,(0,r.pathOr)({})]));t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.curry)((function(e,t){return(0,r.merge)(t,(0,r.pathOr)({},e,t))}));t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.curryN)(3,(function(e,t,u){return(0,r.pipe)((0,r.view)(e),(0,r.equals)(t))(u)}));t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(51))&&r.__esModule?r:{default:r};var l=(0,a.curryN)(3,(function(e,t,u){return(0,a.pipe)((0,a.view)(t),e,n.default)(u)}));t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(27))&&r.__esModule?r:{default:r},l=u(183);function o(e,t){for(var u=0;u<t.length;u++){var r=t[u];r.enumerable=r.enumerable||!1,r.configurable=!0,\"value\"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function i(e,t,u){return t&&o(e.prototype,t),u&&o(e,u),e}var d=n.default.of,f=n.default.ap,s=n.default.map,c=n.default.equals,v=n.default.concat,_=n.default.chain,p=n.default.lte,y=n.default.empty,m=n.default.contramap,h=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,e),this.value=t}return i(e,null,[{key:d,value:function(t){return new e(t)}},{key:\"of\",value:function(t){return new e(t)}},{key:\"@@type\",get:function(){return\"RA/Identity\"}}]),i(e,[{key:\"get\",value:function(){return this.value}},{key:f,value:function(e){return l.applyTrait[f].call(this,e)}},{key:\"ap\",value:function(e){return this[f](e)}},{key:s,value:function(e){return l.functorTrait[s].call(this,e)}},{key:\"map\",value:function(e){return this[s](e)}},{key:c,value:function(e){return l.setoidTrait[c].call(this,e)}},{key:\"equals\",value:function(e){return this[c](e)}},{key:v,value:function(e){return l.semigroupTrait[v].call(this,e)}},{key:\"concat\",value:function(e){return this[v](e)}},{key:_,value:function(e){return l.chainTrait[_].call(this,e)}},{key:\"chain\",value:function(e){return this[_](e)}},{key:p,value:function(e){return l.ordTrait[p].call(this,e)}},{key:\"lte\",value:function(e){return this[p](e)}},{key:y,value:function(){return this.constructor.of((0,a.empty)(this.value))}},{key:\"empty\",value:function(){return this[y]()}},{key:m,value:function(e){var t=this;return this.constructor.of((function(u){return t.value(e(u))}))}},{key:\"contramap\",value:function(e){return this[m](e)}}]),e}();t.default=h},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=t.padStartPolyfill=t.padStartInvoker=void 0;var r=u(0),a=l(u(1)),n=l(u(215));function l(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.flip)((0,r.invoker)(2,\"padStart\"));t.padStartInvoker=o;var i=(0,r.curry)(n.default);t.padStartPolyfill=i;var d=(0,a.default)(String.prototype.padStart)?o:i;t.default=d},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=t.padEndInvoker=t.padEndPolyfill=void 0;var r=u(0),a=l(u(216)),n=l(u(1));function l(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.curry)(a.default);t.padEndPolyfill=o;var i=(0,r.flip)((0,r.invoker)(2,\"padEnd\"));t.padEndInvoker=i;var d=(0,n.default)(String.prototype.padEnd)?i:o;t.default=d},function(e,t,u){\"use strict\";t.__esModule=!0,t.then=t.thenP=t.delayP=t.rejectP=t.resolveP=t.noneP=t.allP=t.curryRight=t.curryRightN=t.weaveLazy=t.weave=t.cata=t.liftF=t.liftFN=t.noop=t.stubArray=t.stubString=t.stubObject=t.stubObj=t.stubNull=t.stubUndefined=t.isIndexed=t.isSafeInteger=t.isSymbol=t.isSparseArray=t.isSet=t.isNotRegExp=t.isRegExp=t.isFalsy=t.isTruthy=t.isFalse=t.isTrue=t.isPromise=t.isThenable=t.isNotPair=t.isPair=t.isEven=t.isOdd=t.isNotValidNumber=t.isValidNumber=t.isNotFloat=t.isFloat=t.isNotInteger=t.isInteger=t.isNotFinite=t.isFinite=t.isNotNaN=t.isNaN=t.isMap=t.isNonNegative=t.isNonPositive=t.isNotNilOrEmpty=t.isNegativeZero=t.isPositiveZero=t.isNegative=t.isPositive=t.isNotNumber=t.isNumber=t.isInvalidDate=t.isNotValidDate=t.isValidDate=t.isNotDate=t.isDate=t.isNotPlainObject=t.isNotPlainObj=t.isPlainObject=t.isPlainObj=t.isNotObjectLike=t.isNotObjLike=t.isObjectLike=t.isObjLike=t.isNotObject=t.isNotObj=t.isObject=t.isObj=t.isNotFunction=t.isFunction=t.isNotAsyncFunction=t.isAsyncFunction=t.isNotGeneratorFunction=t.isGeneratorFunction=t.isNotArrayLike=t.isArrayLike=t.isNonEmptyString=t.isNotString=t.isEmptyString=t.isString=t.isNilOrEmpty=t.isNotBoolean=t.isBoolean=t.isNonEmptyArray=t.isNotArray=t.isEmptyArray=t.isIterable=t.isArray=t.isNotNil=t.isNotNull=t.isNull=t.isUndefined=t.isNotUndefined=void 0,t.padCharsEnd=t.padCharsStart=t.trimCharsStart=t.trimCharsEnd=t.trimRight=t.trimEnd=t.trimLeft=t.trimStart=t.escapeRegExp=t.replaceAll=t.subtractNum=t.sign=t.trunc=t.floor=t.divideNum=t.ceil=t.round=t.dropArgs=t.argsPass=t.nonePass=t.notAllPass=t.nor=t.neither=t.nand=t.notBoth=t.defaultWhen=t.isNotEmpty=t.inRange=t.pathNotEq=t.propNotEq=t.lensIso=t.lensTraverse=t.lensNotSatisfy=t.lensSatisfies=t.lensNotEq=t.lensEq=t.zipObjWith=t.unzipObjWith=t.flattenPath=t.flattenProp=t.spreadPath=t.spreadProp=t.hasPath=t.viewOr=t.pathOrLazy=t.omitBy=t.mergePath=t.mergeProp=t.mergePaths=t.mergeProps=t.resetToDefault=t.mergeLeft=t.mergeRight=t.renameKeysWith=t.renameKeys=t.paths=t.skipTake=t.sortByProps=t.notAllUnique=t.allUnique=t.toArray=t.flattenDepth=t.allEqualTo=t.allIdenticalTo=t.allIdentical=t.repeatStr=t.allEqual=t.lengthNotEq=t.lengthEq=t.lengthLte=t.lengthGte=t.lengthLt=t.lengthGt=t.move=t.included=t.contained=t.appendFlipped=t.compact=t.omitIndexes=t.sliceTo=t.sliceFrom=t.reduceRightP=t.reduceP=t.concatRight=t.concatAll=t.ensureArray=t.list=t.pickIndexes=t.reduceIndexed=t.mapIndexed=t.fnull=t.lastP=t.firstP=t.anyP=t.async=t.dispatch=t.sequencing=t.seq=t.Y=t.allSettledP=void 0,t.Identity=t.padStart=t.padEnd=void 0;var r=Eu(u(11));t.isNotUndefined=r.default;var a=Eu(u(12));t.isUndefined=a.default;var n=Eu(u(16));t.isNull=n.default;var l=Eu(u(17));t.isNotNull=l.default;var o=Eu(u(18));t.isNotNil=o.default;var i=Eu(u(3));t.isArray=i.default;var d=Eu(u(21));t.isIterable=d.default;var f=Eu(u(73));t.isEmptyArray=f.default;var s=Eu(u(32));t.isNotArray=s.default;var c=Eu(u(33));t.isNonEmptyArray=c.default;var v=Eu(u(34));t.isBoolean=v.default;var _=Eu(u(74));t.isNotBoolean=_.default;var p=Eu(u(35));t.isNilOrEmpty=p.default;var y=Eu(u(6));t.isString=y.default;var m=Eu(u(75));t.isEmptyString=m.default;var h=Eu(u(76));t.isNotString=h.default;var M=Eu(u(77));t.isNonEmptyString=M.default;var b=Eu(u(39));t.isArrayLike=b.default;var g=Eu(u(78));t.isNotArrayLike=g.default;var N=Eu(u(19));t.isGeneratorFunction=N.default;var S=Eu(u(79));t.isNotGeneratorFunction=S.default;var P=Eu(u(20));t.isAsyncFunction=P.default;var j=Eu(u(80));t.isNotAsyncFunction=j.default;var A=Eu(u(1));t.isFunction=A.default;var O=Eu(u(40));t.isNotFunction=O.default;var E=Eu(u(13));t.isObj=E.default,t.isObject=E.default;var w=Eu(u(37));t.isNotObj=w.default,t.isNotObject=w.default;var T=Eu(u(23));t.isObjLike=T.default,t.isObjectLike=T.default;var I=Eu(u(81));t.isNotObjLike=I.default,t.isNotObjectLike=I.default;var k=Eu(u(41));t.isPlainObj=k.default,t.isPlainObject=k.default;var x=Eu(u(83));t.isNotPlainObj=x.default,t.isNotPlainObject=x.default;var q=Eu(u(24));t.isDate=q.default;var F=Eu(u(84));t.isNotDate=F.default;var R=Eu(u(42));t.isValidDate=R.default;var L=Eu(u(87));t.isNotValidDate=L.default,t.isInvalidDate=L.default;var D=Eu(u(2));t.isNumber=D.default;var W=Eu(u(88));t.isNotNumber=W.default;var z=Eu(u(89));t.isPositive=z.default;var B=Eu(u(45));t.isNegative=B.default;var C=Eu(u(90));t.isPositiveZero=C.default;var G=Eu(u(91));t.isNegativeZero=G.default;var U=Eu(u(92));t.isNotNilOrEmpty=U.default;var V=Eu(u(93));t.isNonPositive=V.default;var K=Eu(u(46));t.isNonNegative=K.default;var Z=Eu(u(94));t.isMap=Z.default;var $=Eu(u(44));t.isNaN=$.default;var Y=Eu(u(43));t.isNotNaN=Y.default;var J=Eu(u(10));t.isFinite=J.default;var X=Eu(u(47));t.isNotFinite=X.default;var H=Eu(u(4));t.isInteger=H.default;var Q=Eu(u(97));t.isNotInteger=Q.default;var ee=Eu(u(25));t.isFloat=ee.default;var te=Eu(u(98));t.isNotFloat=te.default;var ue=Eu(u(48));t.isValidNumber=ue.default;var re=Eu(u(99));t.isNotValidNumber=re.default;var ae=Eu(u(49));t.isOdd=ae.default;var ne=Eu(u(100));t.isEven=ne.default;var le=Eu(u(50));t.isPair=le.default;var oe=Eu(u(101));t.isNotPair=oe.default;var ie=Eu(u(102));t.isThenable=ie.default;var de=Eu(u(103));t.isPromise=de.default;var fe=Eu(u(51));t.isTrue=fe.default;var se=Eu(u(104));t.isFalse=se.default;var ce=Eu(u(26));t.isTruthy=ce.default;var ve=Eu(u(52));t.isFalsy=ve.default;var _e=Eu(u(53));t.isRegExp=_e.default;var pe=Eu(u(105));t.isNotRegExp=pe.default;var ye=Eu(u(106));t.isSet=ye.default;var me=Eu(u(107));t.isSparseArray=me.default;var he=Eu(u(108));t.isSymbol=he.default;var Me=Eu(u(109));t.isSafeInteger=Me.default;var be=Eu(u(112));t.isIndexed=be.default;var ge=Eu(u(9));t.stubUndefined=ge.default;var Ne=Eu(u(113));t.stubNull=Ne.default;var Se=Eu(u(114));t.stubObj=Se.default,t.stubObject=Se.default;var Pe=Eu(u(115));t.stubString=Pe.default;var je=Eu(u(116));t.stubArray=je.default;var Ae=Eu(u(117));t.noop=Ae.default;var Oe=Eu(u(54));t.liftFN=Oe.default;var Ee=Eu(u(119));t.liftF=Ee.default;var we=Eu(u(120));t.cata=we.default;var Te=Eu(u(121));t.weave=Te.default;var Ie=Eu(u(122));t.weaveLazy=Ie.default;var ke=Eu(u(55));t.curryRightN=ke.default;var xe=Eu(u(123));t.curryRight=xe.default;var qe=Eu(u(7));t.allP=qe.default;var Fe=Eu(u(124));t.noneP=Fe.default;var Re=Eu(u(5));t.resolveP=Re.default;var Le=Eu(u(14));t.rejectP=Le.default;var De=Eu(u(125));t.delayP=De.default;var We=Eu(u(126));t.thenP=We.default,t.then=We.default;var ze=Eu(u(127));t.allSettledP=ze.default;var Be=Eu(u(129));t.Y=Be.default;var Ce=Eu(u(130));t.seq=Ce.default,t.sequencing=Ce.default;var Ge=Eu(u(131));t.dispatch=Ge.default;var Ue=Eu(u(132));t.async=Ue.default;var Ve=Eu(u(133));t.anyP=Ve.default,t.firstP=Ve.default;var Ke=Eu(u(135));t.lastP=Ke.default;var Ze=Eu(u(136));t.fnull=Ze.default;var $e=Eu(u(58));t.mapIndexed=$e.default;var Ye=Eu(u(137));t.reduceIndexed=Ye.default;var Je=Eu(u(138));t.pickIndexes=Je.default;var Xe=Eu(u(59));t.list=Xe.default;var He=Eu(u(139));t.ensureArray=He.default;var Qe=Eu(u(140));t.concatAll=Qe.default;var et=Eu(u(141));t.concatRight=et.default;var tt=Eu(u(142));t.reduceP=tt.default;var ut=Eu(u(143));t.reduceRightP=ut.default;var rt=Eu(u(144));t.sliceFrom=rt.default;var at=Eu(u(145));t.sliceTo=at.default;var nt=Eu(u(146));t.omitIndexes=nt.default;var lt=Eu(u(147));t.compact=lt.default;var ot=Eu(u(148));t.appendFlipped=ot.default;var it=Eu(u(28));t.contained=it.default,t.included=it.default;var dt=Eu(u(149));t.move=dt.default;var ft=Eu(u(150));t.lengthGt=ft.default;var st=Eu(u(151));t.lengthLt=st.default;var ct=Eu(u(56));t.lengthGte=ct.default;var vt=Eu(u(29));t.lengthLte=vt.default;var _t=Eu(u(15));t.lengthEq=_t.default;var pt=Eu(u(152));t.lengthNotEq=pt.default;var yt=Eu(u(153));t.allEqual=yt.default;var mt=Eu(u(154));t.repeatStr=mt.default;var ht=Eu(u(155));t.allIdentical=ht.default;var Mt=Eu(u(156));t.allIdenticalTo=Mt.default;var bt=Eu(u(157));t.allEqualTo=bt.default;var gt=Eu(u(158));t.flattenDepth=gt.default;var Nt=Eu(u(163));t.toArray=Nt.default;var St=Eu(u(60));t.allUnique=St.default;var Pt=Eu(u(165));t.notAllUnique=Pt.default;var jt=Eu(u(166));t.sortByProps=jt.default;var At=Eu(u(167));t.skipTake=At.default;var Ot=Eu(u(61));t.paths=Ot.default;var Et=Eu(u(168));t.renameKeys=Et.default;var wt=Eu(u(62));t.renameKeysWith=wt.default;var Tt=Eu(u(63));t.mergeRight=Tt.default,t.mergeLeft=Tt.default,t.resetToDefault=Tt.default;var It=Eu(u(169));t.mergeProps=It.default;var kt=Eu(u(170));t.mergePaths=kt.default;var xt=Eu(u(171));t.mergeProp=xt.default;var qt=Eu(u(64));t.mergePath=qt.default;var Ft=Eu(u(172));t.omitBy=Ft.default;var Rt=Eu(u(173));t.pathOrLazy=Rt.default;var Lt=Eu(u(174));t.viewOr=Lt.default;var Dt=Eu(u(175));t.hasPath=Dt.default;var Wt=Eu(u(176));t.spreadProp=Wt.default;var zt=Eu(u(65));t.spreadPath=zt.default;var Bt=Eu(u(177));t.flattenProp=Bt.default;var Ct=Eu(u(66));t.flattenPath=Ct.default;var Gt=Eu(u(178));t.unzipObjWith=Gt.default;var Ut=Eu(u(179));t.zipObjWith=Ut.default;var Vt=Eu(u(67));t.lensEq=Vt.default;var Kt=Eu(u(180));t.lensNotEq=Kt.default;var Zt=Eu(u(68));t.lensSatisfies=Zt.default;var $t=Eu(u(181));t.lensNotSatisfy=$t.default;var Yt=Eu(u(182));t.lensTraverse=Yt.default;var Jt=Eu(u(185));t.lensIso=Jt.default;var Xt=Eu(u(186));t.propNotEq=Xt.default;var Ht=Eu(u(187));t.pathNotEq=Ht.default;var Qt=Eu(u(188));t.inRange=Qt.default;var eu=Eu(u(22));t.isNotEmpty=eu.default;var tu=Eu(u(57));t.defaultWhen=tu.default;var uu=Eu(u(189));t.notBoth=uu.default;var ru=Eu(u(190));t.nand=ru.default;var au=Eu(u(191));t.neither=au.default;var nu=Eu(u(192));t.nor=nu.default;var lu=Eu(u(193));t.notAllPass=lu.default;var ou=Eu(u(194));t.nonePass=ou.default;var iu=Eu(u(195));t.argsPass=iu.default;var du=Eu(u(196));t.dropArgs=du.default;var fu=Eu(u(197));t.round=fu.default;var su=Eu(u(198));t.ceil=su.default;var cu=Eu(u(199));t.divideNum=cu.default;var vu=Eu(u(200));t.floor=vu.default;var _u=Eu(u(201));t.trunc=_u.default;var pu=Eu(u(203));t.sign=pu.default;var yu=Eu(u(205));t.subtractNum=yu.default;var mu=Eu(u(206));t.replaceAll=mu.default;var hu=Eu(u(208));t.escapeRegExp=hu.default;var Mu=Eu(u(209));t.trimStart=Mu.default,t.trimLeft=Mu.default;var bu=Eu(u(211));t.trimEnd=bu.default,t.trimRight=bu.default;var gu=Eu(u(213));t.trimCharsEnd=gu.default;var Nu=Eu(u(214));t.trimCharsStart=Nu.default;var Su=Eu(u(70));t.padCharsStart=Su.default;var Pu=Eu(u(71));t.padCharsEnd=Pu.default;var ju=Eu(u(217));t.padEnd=ju.default;var Au=Eu(u(218));t.padStart=Au.default;var Ou=Eu(u(69));function Eu(e){return e&&e.__esModule?e:{default:e}}t.Identity=Ou.default},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(3))&&r.__esModule?r:{default:r};var l=(0,a.both)(n.default,a.isEmpty);t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(34))&&r.__esModule?r:{default:r};var l=(0,a.complement)(n.default);t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=(0,u(0).equals)(\"\");t.default=r},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(6))&&r.__esModule?r:{default:r};var l=(0,a.complement)(n.default);t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=o(u(6)),n=o(u(37)),l=o(u(22));function o(e){return e&&e.__esModule?e:{default:e}}var i=(0,r.allPass)([a.default,n.default,l.default]);t.default=i},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(39))&&r.__esModule?r:{default:r};var l=(0,a.complement)(n.default);t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(19))&&r.__esModule?r:{default:r};var l=(0,a.complement)(n.default);t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(20))&&r.__esModule?r:{default:r};var l=(0,a.complement)(n.default);t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(23))&&r.__esModule?r:{default:r};var l=(0,a.complement)(n.default);t.default=l},function(e,t){e.exports=function(e){return\"[object Object]\"===Object.prototype.toString.call(e)}},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(41))&&r.__esModule?r:{default:r};var l=(0,a.complement)(n.default);t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(24))&&r.__esModule?r:{default:r};var l=(0,a.complement)(n.default);t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(2))&&r.__esModule?r:{default:r};var l=(0,a.both)(n.default,isNaN);t.default=l},function(e,t){e.exports=function(e){return\"[object Number]\"===Object.prototype.toString.call(e)}},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(42))&&r.__esModule?r:{default:r};var l=(0,a.complement)(n.default);t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(2))&&r.__esModule?r:{default:r};var l=(0,a.complement)(n.default);t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(2))&&r.__esModule?r:{default:r};var l=(0,a.both)(n.default,(0,a.lt)(0));t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=(0,u(0).identical)(0);t.default=r},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=(0,u(0).identical)(-0);t.default=r},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(35))&&r.__esModule?r:{default:r};var l=(0,a.complement)(n.default);t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(2))&&r.__esModule?r:{default:r};var l=(0,a.curryN)(1,(0,a.both)(n.default,(0,a.flip)(a.lte)(0)));t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.curryN)(1,(0,r.pipe)(r.type,(0,r.identical)(\"Map\")));t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(2))&&r.__esModule?r:{default:r};var l=(0,a.both)(n.default,isFinite);t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(10))&&r.__esModule?r:{default:r};var l=(0,a.both)(n.default,(0,a.converge)(a.equals,[Math.floor,a.identity]));t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(4))&&r.__esModule?r:{default:r};var l=(0,a.complement)(n.default);t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(25))&&r.__esModule?r:{default:r};var l=(0,a.curryN)(1,(0,a.complement)(n.default));t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(48))&&r.__esModule?r:{default:r};var l=(0,a.complement)(n.default);t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=l(u(4)),n=l(u(49));function l(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.curryN)(1,(0,r.both)(a.default,(0,r.complement)(n.default)));t.default=o},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(50))&&r.__esModule?r:{default:r};var l=(0,a.complement)(n.default);t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(1))&&r.__esModule?r:{default:r};var l=(0,a.pathSatisfies)(n.default,[\"then\"]);t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(13))&&r.__esModule?r:{default:r};var l=(0,a.curryN)(1,(0,a.both)(n.default,(0,a.pipe)(a.toString,(0,a.equals)(\"[object Promise]\"))));t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=(0,u(0).identical)(!1);t.default=r},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(53))&&r.__esModule?r:{default:r};var l=(0,a.complement)(n.default);t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.curryN)(1,(0,r.pipe)(r.type,(0,r.identical)(\"Set\")));t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(3))&&r.__esModule?r:{default:r};var l=(0,a.both)(n.default,(0,a.converge)((0,a.complement)(a.identical),[(0,a.pipe)(a.values,a.length),a.length]));t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0);function a(e){return(a=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}var n=(0,r.curryN)(1,(function(e){return\"symbol\"===a(e)||\"object\"===a(e)&&\"Symbol\"===(0,r.type)(e)}));t.default=n},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=t.isSafeIntegerPolyfill=void 0;var r=u(0),a=l(u(1)),n=l(u(110));function l(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.curryN)(1,n.default);t.isSafeIntegerPolyfill=o;var i=(0,a.default)(Number.isSafeInteger)?(0,r.curryN)(1,(0,r.bind)(Number.isSafeInteger,Number)):o;t.default=i},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=l(u(4)),n=l(u(111));function l(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.both)(a.default,(function(e){return Math.abs(e)<=n.default}));t.default=o},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=Number.MAX_SAFE_INTEGER||Math.pow(2,53)-1;t.default=r},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=l(u(3)),n=l(u(6));function l(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.curryN)(1,(0,r.either)(n.default,a.default));t.default=o},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=(0,u(0).always)(null);t.default=r},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=function(){return{}};t.default=r},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=(0,u(0).always)(\"\");t.default=r},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=function(){return[]};t.default=r},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(9))&&r.__esModule?r:{default:r};var l=(0,a.always)((0,n.default)());t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=l(u(1)),n=l(u(27));function l(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.either)((0,r.pathSatisfies)(a.default,[\"map\"]),(0,r.pathSatisfies)(a.default,[n.default.map])),i=(0,r.both)(o,(0,r.either)((0,r.pathSatisfies)(a.default,[\"ap\"]),(0,r.pathSatisfies)(a.default,[n.default.ap]))),d=(0,r.curryN)(2,(function(e,t){if(!i(e)||!i(t))return(0,r.ap)(e,t);try{return e.ap(t)}catch(u){return t.ap(e)}}));t.default=d},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(54))&&r.__esModule?r:{default:r};var l=(0,a.curryN)(1,(function(e){return(0,n.default)(e.length,e)}));t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(1))&&r.__esModule?r:{default:r};var l=(0,a.curry)((function(e,t,u){if((0,n.default)(u.matchWith))return u.matchWith({Ok:function(e){var u=e.value;return t(u)},Error:function(t){var u=t.value;return e(u)},Just:function(e){var u=e.value;return t(u)},Nothing:function(){return e(void 0)},Success:function(e){var u=e.value;return t(u)},Failure:function(t){var u=t.value;return e(u)}});if((0,n.default)(u.cata))return u.cata(e,t);if((0,n.default)(u.getOrElse)){var r=\"RA.cata\".concat(Math.random()),a=u.getOrElse(r);return a===r?e():t(a)}return u.either(e,t)}));t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.curryN)(2,(function(e,t){return(0,r.curryN)(e.length,(function(){return e.apply(void 0,arguments).run(t)}))}));t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.curryN)(2,(function(e,t){return(0,r.curryN)(e.length,(function(){return e.apply(void 0,arguments).run(t())}))}));t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(55))&&r.__esModule?r:{default:r};var l=(0,a.converge)(n.default,[a.length,a.identity]);t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=o(u(7)),n=o(u(14)),l=o(u(5));function o(e){return e&&e.__esModule?e:{default:e}}var i=(0,r.curryN)(1,(0,r.pipe)((0,r.map)(l.default),(0,r.map)((function(e){return e.then(n.default,l.default)})),a.default));t.default=i},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=l(u(46)),n=l(u(4));function l(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.curry)((function(e,t){var u,l;return(0,n.default)(t)&&(0,a.default)(t)?u=t:(u=(0,r.propOr)(0,\"timeout\",t),l=(0,r.propOr)(l,\"value\",t)),new Promise((function(){for(var t=arguments.length,a=new Array(t),n=0;n<t;n++)a[n]=arguments[n];var o=e(a);setTimeout((0,r.partial)(o,[l]),u)}))})),i=o((0,r.nth)(0));i.reject=o((0,r.nth)(1));var d=i;t.default=d},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=(0,u(0).invoker)(1,\"then\");t.default=r},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=t.allSettledPPolyfill=void 0;var r=u(0),a=l(u(1)),n=l(u(128));function l(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.curryN)(1,n.default);t.allSettledPPolyfill=o;var i=(0,a.default)(Promise.allSettled)?(0,r.curryN)(1,(0,r.bind)(Promise.allSettled,Promise)):o;t.default=i},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=l(u(7)),n=l(u(5));function l(e){return e&&e.__esModule?e:{default:e}}function o(e){return function(e){if(Array.isArray(e)){for(var t=0,u=new Array(e.length);t<e.length;t++)u[t]=e[t];return u}}(e)||function(e){if(Symbol.iterator in Object(e)||\"[object Arguments]\"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError(\"Invalid attempt to spread non-iterable instance\")}()}var i=function(e){return{status:\"fulfilled\",value:e}},d=function(e){return{status:\"rejected\",reason:e}},f=function(e){var t=(0,r.map)((function(e){return(0,n.default)(e).then(i).catch(d)}),o(e));return(0,a.default)(t)};t.default=f},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=function(e){return(t=function(t){return e((function(e){return t(t)(e)}))})(t);var t};t.default=r},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.curry)((function(e,t){return(0,r.tap)((function(t){return(0,r.map)((function(e){return e(t)}))(e)}))(t)}));t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=o(u(18)),n=o(u(33)),l=o(u(9));function o(e){return e&&e.__esModule?e:{default:e}}function i(e){return function(e){if(Array.isArray(e)){for(var t=0,u=new Array(e.length);t<e.length;t++)u[t]=e[t];return u}}(e)||function(e){if(Symbol.iterator in Object(e)||\"[object Arguments]\"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError(\"Invalid attempt to spread non-iterable instance\")}()}var d=(0,r.comparator)((function(e,t){return e.length>t.length})),f=(0,r.pipe)((0,r.sort)(d),r.head,(0,r.prop)(\"length\")),s=(0,r.curry)((function(e,t,u){var n=u.apply(void 0,i(e));return(0,a.default)(n)?(0,r.reduced)(n):t})),c=(0,r.ifElse)(n.default,(function(e){var t=f(e);return(0,r.curryN)(t,(function(){for(var t=arguments.length,u=new Array(t),a=0;a<t;a++)u[a]=arguments[a];return(0,r.reduce)(s(u),void 0,e)}))}),l.default);t.default=c},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=l(u(5)),n=l(u(14));function l(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.curryN)(1,(function(e){function t(){var t=(0,r.bind)(e,this).apply(void 0,arguments);try{return function e(u){var r=(0,a.default)(u.value);return u.done?r:r.then((function(u){return e(t.next(u))}),(function(u){return e(t.throw(u))}))}(t.next())}catch(e){return(0,n.default)(e)}}return e.length>0?(0,r.curryN)(e.length,t):t}));t.default=o},function(e,t,u){\"use strict\";function r(e){return(r=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}t.__esModule=!0,t.default=t.anyPPolyfill=void 0;var a,n=u(0),l=(a=u(1))&&a.__esModule?a:{default:a},o=function(e){if(e&&e.__esModule)return e;if(null===e||\"object\"!==r(e)&&\"function\"!=typeof e)return{default:e};var t=i();if(t&&t.has(e))return t.get(e);var u={},a=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var n in e)if(Object.prototype.hasOwnProperty.call(e,n)){var l=a?Object.getOwnPropertyDescriptor(e,n):null;l&&(l.get||l.set)?Object.defineProperty(u,n,l):u[n]=e[n]}u.default=e,t&&t.set(e,u);return u}(u(134));function i(){if(\"function\"!=typeof WeakMap)return null;var e=new WeakMap;return i=function(){return e},e}t.AggregatedError=o.AggregatedError;var d=(0,n.curryN)(1,o.default);t.anyPPolyfill=d;var f=(0,l.default)(Promise.any)?(0,n.curryN)(1,(0,n.bind)(Promise.any,Promise)):d;t.default=f},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=t.AggregatedError=void 0;var r,a=u(0),n=(r=u(5))&&r.__esModule?r:{default:r};function l(e){return(l=\"function\"==typeof Symbol&&\"symbol\"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&\"function\"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?\"symbol\":typeof e})(e)}function o(e){return function(e){if(Array.isArray(e)){for(var t=0,u=new Array(e.length);t<e.length;t++)u[t]=e[t];return u}}(e)||function(e){if(Symbol.iterator in Object(e)||\"[object Arguments]\"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError(\"Invalid attempt to spread non-iterable instance\")}()}function i(e,t){return!t||\"object\"!==l(t)&&\"function\"!=typeof t?function(e){if(void 0===e)throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");return e}(e):t}function d(e){var t=\"function\"==typeof Map?new Map:void 0;return(d=function(e){if(null===e||(u=e,-1===Function.toString.call(u).indexOf(\"[native code]\")))return e;var u;if(\"function\"!=typeof e)throw new TypeError(\"Super expression must either be null or a function\");if(void 0!==t){if(t.has(e))return t.get(e);t.set(e,r)}function r(){return f(e,arguments,c(this).constructor)}return r.prototype=Object.create(e.prototype,{constructor:{value:r,enumerable:!1,writable:!0,configurable:!0}}),s(r,e)})(e)}function f(e,t,u){return(f=function(){if(\"undefined\"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if(\"function\"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}()?Reflect.construct:function(e,t,u){var r=[null];r.push.apply(r,t);var a=new(Function.bind.apply(e,r));return u&&s(a,u.prototype),a}).apply(null,arguments)}function s(e,t){return(s=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function c(e){return(c=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var v=function(e){function t(){var e,u=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],r=arguments.length>1?arguments[1]:void 0;return function(e,t){if(!(e instanceof t))throw new TypeError(\"Cannot call a class as a function\")}(this,t),(e=i(this,c(t).call(this,r))).errors=u,e}return function(e,t){if(\"function\"!=typeof t&&null!==t)throw new TypeError(\"Super expression must either be null or a function\");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&s(e,t)}(t,e),t}(d(Error));t.AggregatedError=v;var _=function(e){var t=[];return new Promise((function(u,r){var l=function(u){t.push(u),t.length===e.length&&r(new v(t))};(0,a.map)((function(e){return(0,n.default)(e).then(u).catch(l)}),o(e))}))};t.default=_},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=d(u(7)),n=d(u(15)),l=d(u(56)),o=d(u(14)),i=d(u(5));function d(e){return e&&e.__esModule?e:{default:e}}function f(e){return function(e){if(Array.isArray(e)){for(var t=0,u=new Array(e.length);t<e.length;t++)u[t]=e[t];return u}}(e)||function(e){if(Symbol.iterator in Object(e)||\"[object Arguments]\"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError(\"Invalid attempt to spread non-iterable instance\")}()}var s=(0,r.curryN)(1,(function(e){var t=[],u=[],d=(0,r.bind)(t.push,t),s=(0,r.bind)(u.push,u),c=(0,r.map)((function(e){return(0,i.default)(e).then(d).catch(s)}),f(e));return(0,a.default)(c).then((function(){if(!(0,n.default)(0,t)||!(0,n.default)(0,u))return(0,l.default)(1,t)?(0,r.last)(t):(0,o.default)(u)}))}));t.default=s},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=l(u(57)),n=l(u(58));function l(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.curry)((function(e,t){return(0,r.curryN)(e.length,(function(){for(var u=arguments.length,l=new Array(u),o=0;o<u;o++)l[o]=arguments[o];var i=(0,n.default)((function(e,u){return(0,a.default)(r.isNil,t[u],e)}),l);return(0,r.apply)(e,i)}))}));t.default=o},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.addIndex)(r.reduce);t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.addIndex)(r.filter),n=(0,r.curry)((function(e,t,u){return(0,r.contains)(u,e)})),l=(0,r.curry)((function(e,t){return a(n(e),t)}));t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(32))&&r.__esModule?r:{default:r};var l=(0,a.when)(n.default,a.of);t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(9))&&r.__esModule?r:{default:r};var l={concat:a.identity},o=(0,a.pipe)((0,a.reduce)(a.concat,l),(0,a.when)((0,a.identical)(l),n.default));t.default=o},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.flip)(r.concat);t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=o(u(12)),n=o(u(5)),l=o(u(7));function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||\"[object Arguments]\"===Object.prototype.toString.call(e)))return;var u=[],r=!0,a=!1,n=void 0;try{for(var l,o=e[Symbol.iterator]();!(r=(l=o.next()).done)&&(u.push(l.value),!t||u.length!==t);r=!0);}catch(e){a=!0,n=e}finally{try{r||null==o.return||o.return()}finally{if(a)throw n}}return u}(e,t)||function(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")}()}var d=(0,r.curryN)(3,(function(e,t,u){return(0,n.default)(u).then((function(u){var o=(0,r.length)(u);return 0===o?t:(0,r.reduce)((function(t,u){return t.then((function(e){return(0,l.default)([e,u])})).then((function(t){var u=i(t,2),r=u[0],n=u[1];return(0,a.default)(r)&&1===o?n:e(r,n)}))}))((0,n.default)(t),u)}))}));t.default=d},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=o(u(12)),n=o(u(5)),l=o(u(7));function o(e){return e&&e.__esModule?e:{default:e}}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(Symbol.iterator in Object(e)||\"[object Arguments]\"===Object.prototype.toString.call(e)))return;var u=[],r=!0,a=!1,n=void 0;try{for(var l,o=e[Symbol.iterator]();!(r=(l=o.next()).done)&&(u.push(l.value),!t||u.length!==t);r=!0);}catch(e){a=!0,n=e}finally{try{r||null==o.return||o.return()}finally{if(a)throw n}}return u}(e,t)||function(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")}()}var d=(0,r.pipe)((0,r.reduceRight)(r.concat,\"\"),(0,r.equals)(\"ba\"))([\"a\",\"b\"]),f=(0,r.curryN)(3,(function(e,t,u){return(0,n.default)(u).then((function(u){var o=(0,r.length)(u);return 0===o?t:(0,r.reduceRight)((function(t,u){var r,n;return d?(r=t,n=u):(r=u,n=t),r.then((function(e){return(0,l.default)([e,n])})).then((function(t){var u=i(t,2),r=u[0],n=u[1];return(0,a.default)(r)&&1===o?n:e(n,r)}))}))((0,n.default)(t),u)}))}));t.default=f},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.slice)(r.__,1/0);t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=(0,u(0).slice)(0);t.default=r},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.addIndex)(r.reject),n=(0,r.curry)((function(e,t,u){return(0,r.contains)(u,e)})),l=(0,r.curry)((function(e,t){return a(n(e),t)}));t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(52))&&r.__esModule?r:{default:r};var l=(0,a.reject)(n.default);t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.flip)(r.append);t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.curry)((function(e,t,u){return(0,r.compose)((0,r.insert)(t,(0,r.nth)(e,u)),(0,r.remove)(e,1))(u)}));t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0);var n=(0,((r=u(8))&&r.__esModule?r:{default:r}).default)((0,a.flip)(a.gt));t.default=n},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0);var n=(0,((r=u(8))&&r.__esModule?r:{default:r}).default)((0,a.flip)(a.lt));t.default=n},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0);var n=(0,((r=u(8))&&r.__esModule?r:{default:r}).default)((0,a.complement)(a.equals));t.default=n},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(29))&&r.__esModule?r:{default:r};var l=(0,a.curryN)(1,(0,a.pipe)(a.uniq,(0,n.default)(1)));t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=t.repeatStrInvoker=t.repeatStrPolyfill=void 0;var r=u(0),a=l(u(30)),n=l(u(1));function l(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.curry)(a.default);t.repeatStrPolyfill=o;var i=(0,r.flip)((0,r.invoker)(1,\"repeat\"));t.repeatStrInvoker=i;var d=(0,n.default)(String.prototype.repeat)?i:o;t.default=d},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(29))&&r.__esModule?r:{default:r};var l=(0,a.curryN)(1,(0,a.pipe)((0,a.uniqWith)(a.identical),(0,n.default)(1)));t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.curry)((function(e,t){return(0,r.all)((0,r.identical)(e),t)}));t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.curry)((function(e,t){return(0,r.all)((0,r.equals)(e),t)}));t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0);function n(e){return function(e){if(Array.isArray(e)){for(var t=0,u=new Array(e.length);t<e.length;t++)u[t]=e[t];return u}}(e)||function(e){if(Symbol.iterator in Object(e)||\"[object Arguments]\"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError(\"Invalid attempt to spread non-iterable instance\")}()}var l=(0,((r=u(159))&&r.__esModule?r:{default:r}).default)(!1),o=(0,a.curry)((function(e,t){for(var u=e,r=n(t);u>0;)r=l(r),u-=1;return r}));t.default=o},function(e,t,u){var r=u(160);e.exports=function(e){return function t(u){for(var a,n,l,o=[],i=0,d=u.length;i<d;){if(r(u[i]))for(l=0,n=(a=e?t(u[i]):u[i]).length;l<n;)o[o.length]=a[l],l+=1;else o[o.length]=u[i];i+=1}return o}}},function(e,t,u){var r=u(161),a=u(31),n=u(36),l=r((function(e){return!!a(e)||!!e&&(\"object\"==typeof e&&(!n(e)&&(1===e.nodeType?!!e.length:0===e.length||e.length>0&&(e.hasOwnProperty(0)&&e.hasOwnProperty(e.length-1)))))}));e.exports=l},function(e,t,u){var r=u(162);e.exports=function(e){return function t(u){return 0===arguments.length||r(u)?t:e.apply(this,arguments)}}},function(e,t){e.exports=function(e){return null!=e&&\"object\"==typeof e&&!0===e[\"@@functional/placeholder\"]}},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=t.fromPolyfill=void 0;var r=u(0),a=o(u(21)),n=o(u(1)),l=o(u(164));function o(e){return e&&e.__esModule?e:{default:e}}var i=(0,r.curryN)(1,l.default);t.fromPolyfill=i;var d=(0,n.default)(Array.from)?(0,r.curryN)(1,Array.from):i,f=(0,r.ifElse)(a.default,d,r.values);t.default=f},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=i(u(21)),n=i(u(11)),l=i(u(18)),o=i(u(40));function i(e){return e&&e.__esModule?e:{default:e}}function d(e){return function(e){if(Array.isArray(e)){for(var t=0,u=new Array(e.length);t<e.length;t++)u[t]=e[t];return u}}(e)||function(e){if(Symbol.iterator in Object(e)||\"[object Arguments]\"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError(\"Invalid attempt to spread non-iterable instance\")}()}var f=function(e,t,u){if(null==e)throw new TypeError(\"Array.from requires an array-like object - not null or undefined\");if((0,l.default)(t)&&(0,o.default)(t))throw new TypeError(\"Array.from: when provided, the second argument must be a function\");return(0,a.default)(e)?function(e,t,u){var a=(0,n.default)(u)?(0,r.bind)(t,u):t;return(0,n.default)(t)?d(e).map(a):d(e)}(e,t,u):[]};t.default=f},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(60))&&r.__esModule?r:{default:r};var l=(0,a.complement)(n.default);t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0);function a(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){if(Symbol.iterator in Object(e)||\"[object Arguments]\"===Object.prototype.toString.call(e))return Array.from(e)}(e)||function(){throw new TypeError(\"Invalid attempt to destructure non-iterable instance\")}()}var n=(0,r.curry)((function(e,t){var u,n,l,o;return(0,r.sort)((u=(0,r.map)((function(e){return(0,r.comparator)((function(t,u){return(0,r.lt)((0,r.prop)(e,t),(0,r.prop)(e,u))}))}),e),n=a(u),l=n[0],o=n.slice(1),(0,r.reduce)(r.either,l,o)),t)}));t.default=n},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.curry)((function(e,t){return(0,r.addIndex)(r.filter)((0,r.pipe)((0,r.nthArg)(1),(0,r.modulo)(r.__,e),(0,r.identical)(0)))(t)}));t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(62))&&r.__esModule?r:{default:r};var l=(0,a.curry)((function(e,t){return(0,n.default)(function(e){return function(t){return(0,a.has)(t,e)?e[t]:t}}(e),t)}));t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.curryN)(2,(0,r.pipe)(r.props,r.mergeAll));t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(61))&&r.__esModule?r:{default:r};var l=(0,a.curryN)(2,(0,a.pipe)(n.default,a.mergeAll));t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(64))&&r.__esModule?r:{default:r};var l=(0,a.curry)((function(e,t,u){return(0,n.default)((0,a.of)(e),t,u)}));t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.useWith)(r.pickBy,[r.complement,r.identity]);t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.curryN)(3,(function(e,t,u){return(0,r.when)((0,r.identical)(e),(0,r.partial)((0,r.unary)(e),[u]),(0,r.pathOr)(e,t,u))}));t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.curryN)(3,(function(e,t,u){return(0,r.defaultTo)(e,(0,r.view)(t,u))}));t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(13))&&r.__esModule?r:{default:r};var l=(0,a.curryN)(2,(function(e,t){var u=(0,a.head)(e);return!(0===(0,a.length)(e)||!(0,n.default)(t))&&(1===(0,a.length)(e)?(0,a.has)(u,t):l((0,a.tail)(e),(0,a.path)([u],t)))})),o=l;t.default=o},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(65))&&r.__esModule?r:{default:r};var l=(0,a.curry)((function(e,t){return(0,n.default)((0,a.of)(e),t)}));t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(66))&&r.__esModule?r:{default:r};var l=(0,a.curry)((function(e,t){return(0,n.default)((0,a.of)(e),t)}));t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(15))&&r.__esModule?r:{default:r};var l=(0,a.curryN)(2,(function(e,t){return(0,a.pipe)(a.toPairs,(0,a.map)((0,a.pipe)(a.flip,a.apply)(e)),a.transpose,(0,a.when)((0,n.default)(0),(function(){return[[],[]]})))(t)}));t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.curryN)(3,(function(e,t,u){return(0,r.pipe)(r.zip,(0,r.map)((0,r.apply)(e)),r.fromPairs)(u,t)}));t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(67))&&r.__esModule?r:{default:r};var l=(0,a.complement)(n.default);t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(68))&&r.__esModule?r:{default:r};var l=(0,a.complement)(n.default);t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(69))&&r.__esModule?r:{default:r};var l=(0,a.curryN)(1,(function(e){return(0,a.curry)((function(t,u){return n.default.of((0,a.traverse)(e,(0,a.pipe)(t,(0,a.prop)(\"value\")),u))}))}));t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.ordTrait=t.chainTrait=t.semigroupTrait=t.setoidTrait=t.applyTrait=t.functorTrait=void 0;var r=u(0),a=d(u(6)),n=d(u(2)),l=d(u(1)),o=u(184),i=d(u(27));function d(e){return e&&e.__esModule?e:{default:e}}function f(e,t,u){return t in e?Object.defineProperty(e,t,{value:u,enumerable:!0,configurable:!0,writable:!0}):e[t]=u,e}var s=f({},i.default.map,(function(e){return this.constructor[i.default.of](e(this.value))}));t.functorTrait=s;var c=f({},i.default.ap,(function(e){var t=this;return e.map((function(e){return e(t.value)}))}));t.applyTrait=c;var v=f({},i.default.equals,(function(e){return(0,o.isSameType)(this,e)&&(0,r.equals)(this.value,e.value)}));t.setoidTrait=v;var _=f({},i.default.concat,(function(e){var t=this.value;return(0,a.default)(this.value)||(0,n.default)(this.value)?t=this.value+e.value:(0,r.pathSatisfies)(l.default,[\"value\",i.default.concat],this)?t=this.value[i.default.concat](e.value):(0,r.pathSatisfies)(l.default,[\"value\",\"concat\"],this)&&(t=this.value.concat(e.value)),this.constructor[i.default.of](t)}));t.semigroupTrait=_;var p=f({},i.default.chain,(function(e){var t=e(this.value);return(0,o.isSameType)(this,t)?t:this}));t.chainTrait=p;var y=f({},i.default.lte,(function(e){return(0,o.isSameType)(this,e)&&(this.value<e.value||this[i.default.equals](e))}));t.ordTrait=y},function(e,t,u){\"use strict\";t.__esModule=!0,t.isNotSameType=t.isSameType=t.typeEquals=t.type=void 0;var r=u(0),a=(0,r.either)((0,r.path)([\"@@type\"]),(0,r.path)([\"constructor\",\"@@type\"]));t.type=a;var n=(0,r.curry)((function(e,t){return a(t)===e}));t.typeEquals=n;var l=(0,r.curryN)(2,(0,r.useWith)(r.equals,[a,a]));t.isSameType=l;var o=(0,r.complement)(l);t.isNotSameType=o},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.curry)((function(e,t){return e.from(t)})),n=(0,r.curry)((function(e,t){return function(e,t){var u=function(t){return e(t)};return u.from=t,u}((0,r.curry)((function(u,a){return(0,r.map)(t,u(e(a)))})),(0,r.curry)((function(u,a){return(0,r.map)(e,u(t(a)))})))}));n.from=a;var l=n;t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.complement)(r.propEq);t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.complement)(r.pathEq);t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.ifElse)(r.gte,(function(){throw new Error(\"low must not be greater than high in inRange(low, high, value)\")}),(0,r.useWith)(r.both,[r.lte,r.gt])),n=(0,r.curry)((function(e,t,u){return a(e,t)(u)}));t.default=n},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.curry)((0,r.compose)(r.complement,r.both));t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.complement)(r.and);t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.curry)((0,r.compose)(r.complement,r.either));t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.complement)(r.or);t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.curry)((0,r.compose)(r.complement,r.allPass));t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.curryN)(1,(0,r.compose)(r.complement,r.anyPass));t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=l(u(59)),n=l(u(26));function l(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.curry)((function(e,t){return(0,r.useWith)((0,r.compose)(e(n.default),a.default),t)}));t.default=o},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=(0,u(0).nAry)(0);t.default=r},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.curryN)(1,(0,r.bind)(Math.round,Math));t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.curryN)(1,(0,r.bind)(Math.ceil,Math));t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.flip)(r.divide);t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.curryN)(1,(0,r.bind)(Math.floor,Math));t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=t.truncPolyfill=void 0;var r=u(0),a=l(u(202)),n=l(u(1));function l(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.curryN)(1,a.default);t.truncPolyfill=o;var i=(0,n.default)(Math.trunc)?(0,r.curryN)(1,(0,r.bind)(Math.trunc,Math)):o;t.default=i},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=(r=u(10))&&r.__esModule?r:{default:r};var n=function(e){var t=Number(e);return(0,a.default)(t)?t-t%1||(t<0?-0:0===t?t:0):t};t.default=n},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=t.signPolyfill=void 0;var r=u(0),a=l(u(1)),n=l(u(204));function l(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.curryN)(1,n.default);t.signPolyfill=o;var i=(0,a.default)(Math.sign)?(0,r.curryN)(1,(0,r.bind)(Math.sign,Math)):o;t.default=i},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=function(e){return(e>0)-(e<0)||+e};t.default=r},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=u(0),a=(0,r.flip)(r.subtract);t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=t.replaceAllInvoker=t.replaceAllPolyfill=void 0;var r=u(0),a=l(u(1)),n=l(u(207));function l(e){return e&&e.__esModule?e:{default:e}}var o=(0,r.curryN)(3,n.default);t.replaceAllPolyfill=o;var i=(0,r.invoker)(2,\"replaceAll\");t.replaceAllInvoker=i;var d=(0,a.default)(String.prototype.replaceAll)?i:o;t.default=d},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=function(e,t){if(\"string\"!=typeof e&&!(e instanceof String))throw TypeError(\"`\".concat(t,\"` must be a string\"))},a=function(e,t,u){return function(e,t,u){if(null==u||null==e||null==t)throw TypeError(\"Input values must not be `null` or `undefined`\")}(e,t,u),r(u,\"str\"),r(t,\"replaceValue\"),function(e){if(!(\"string\"==typeof e||e instanceof String||e instanceof RegExp))throw TypeError(\"`searchValue` must be a string or an regexp\")}(e),function(e,t,u){if(\"\"===e)return u.replace(/(?:)/g,t);if(e instanceof RegExp){if(-1===e.flags.indexOf(\"g\"))throw TypeError(\"`.replaceAll` does not allow non-global regexes\");return u.replace(e,t)}return u.split(e).join(t)}(e,t,u)};t.default=a},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(6))&&r.__esModule?r:{default:r};var l=(0,a.when)(n.default,(0,a.replace)(/[.*+?^${}()|[\\]\\\\-]/g,\"\\\\$&\"));t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=t.trimStartInvoker=t.trimStartPolyfill=void 0;var r=u(0),a=l(u(210)),n=l(u(1));function l(e){return e&&e.__esModule?e:{default:e}}var o=a.default;t.trimStartPolyfill=o;var i=(0,r.invoker)(0,\"trimStart\");t.trimStartInvoker=i;var d=(0,n.default)(String.prototype.trimStart)?i:o;t.default=d},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=(0,u(0).replace)(/^[\\s\\uFEFF\\xA0]+/,\"\");t.default=r},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=t.trimEndInvoker=t.trimEndPolyfill=void 0;var r=u(0),a=l(u(212)),n=l(u(1));function l(e){return e&&e.__esModule?e:{default:e}}var o=a.default;t.trimEndPolyfill=o;var i=(0,r.invoker)(0,\"trimEnd\");t.trimEndInvoker=i;var d=(0,n.default)(String.prototype.trimEnd)?i:o;t.default=d},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=(0,u(0).replace)(/[\\s\\uFEFF\\xA0]+$/,\"\");t.default=r},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(28))&&r.__esModule?r:{default:r};var l=(0,a.curry)((function(e,t){return(0,a.pipe)((0,a.split)(\"\"),(0,a.dropLastWhile)((0,n.default)(e)),(0,a.join)(\"\"))(t)}));t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r,a=u(0),n=(r=u(28))&&r.__esModule?r:{default:r};var l=(0,a.curry)((function(e,t){return(0,a.pipe)((0,a.split)(\"\"),(0,a.dropWhile)((0,n.default)(e)),(0,a.join)(\"\"))(t)}));t.default=l},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=l(u(1)),a=l(u(11)),n=l(u(30));function l(e){return e&&e.__esModule?e:{default:e}}var o=function(e,t,u){var l=t>>0,o=String((0,a.default)(e)?e:\" \");if(u.length>=l)return String(u);if((l-=u.length)>o.length){var i=l/o.length;o+=(0,r.default)(String.prototype.repeat)?o.repeat(i):(0,n.default)(o,i)}return o.slice(0,l)+String(u)};t.default=o},function(e,t,u){\"use strict\";t.__esModule=!0,t.default=void 0;var r=l(u(1)),a=l(u(11)),n=l(u(30));function l(e){return e&&e.__esModule?e:{default:e}}var o=function(e,t,u){var l=t>>0,o=String((0,a.default)(e)?e:\" \");if(u.length>l)return String(u);if((l-=u.length)>o.length){var i=l/o.length;o+=(0,r.default)(String.prototype.repeat)?o.repeat(i):(0,n.default)(o,i)}return String(u)+o.slice(0,l)};t.default=o},function(e,t,u){\"use strict\";var r;t.__esModule=!0,t.default=void 0;var a=(0,((r=u(71))&&r.__esModule?r:{default:r}).default)(\" \");t.default=a},function(e,t,u){\"use strict\";var r;t.__esModule=!0,t.default=void 0;var a=(0,((r=u(70))&&r.__esModule?r:{default:r}).default)(\" \");t.default=a}])}));","!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?t(exports,require(\"ramda\")):\"function\"==typeof define&&define.amd?define([\"exports\",\"ramda\"],t):t((e=e||self).R_={},e.R)}(this,(function(e,t){\"use strict\";var i=t.equals(0),o=[],a={},n=t.equals(\"\"),s=t.complement(t.isNil),l=s,p=t.complement(t.isEmpty),r=p,u=t.complement(isNaN),c=u,d=t.allPass([t.o(c,parseFloat),isFinite]),m=t.complement(d),y=m,h=t.always(null),f=t.always(\"\"),g=t.thunkify(t.clone),q=g(o),W=t.always(0),N=t.always(1),E=g(a),T=t.apply(t.compose),j=t.apply(t.pipe),P=t.curry((function(e,t,i){return i>=e&&t>=i})),O=t.is(Array),b=t.is(Function),A=t.is(Object),w=t.gt(0),L=t.anyPass([t.isNil,n]),v=t.allPass([l,A]),x=t.is(RegExp),S=t.complement(x),D=t.lt(0),F=t.allPass([A,t.o(b,t.prop(\"then\"))]),I=t.is(String),C=Boolean,R=t.complement(C),k=t.is(Error),U=t.tap((function(e){return console.log(e)})),_=t.useWith(t.tap,[t.curryN(2,console.log),t.identity]),B=t.reduce(t.call),z=t.nthArg(0),K=t.converge(t.reduce,[t.converge(t.partialRight,[z,t.unapply(t.tail)]),t.nthArg(1),t.nthArg(2)]),Z=t.find(l),M=t.useWith(t.xprod,[t.of,t.identity]),V=t.compose(t.map(t.juxt([T,t.last])),M),H=t.converge(t.call(t.cond),[V]),$=H(l),G=h,J=t.constructN(2,RegExp),Q=t.useWith(t.flip(J)(\"gi\"),[t.concat(\"^\")]),X=t.useWith(t.test,[Q,t.identity]),Y=t.useWith(t.startsWith,[t.toUpper,t.toUpper]),ee=t.useWith(t.flip(J)(\"gi\"),[t.flip(t.concat)(\"$\")]),te=t.useWith(t.test,[ee,t.identity]),ie=t.useWith(t.endsWith,[t.toUpper,t.toUpper]),oe=t.unapply(t.identity),ae=t.curry(t.compose(t.isEmpty,t.difference)),ne=t.curry(t.compose(t.not,t.isEmpty,t.intersection)),se=t.curry(t.compose(t.isEmpty,t.intersection)),le=t.split(\".\"),pe=t.reduce(t.mergeDeepRight,{}),re=t.o(t.o(pe,t.values),t.mapObjIndexed(t.useWith(t.flip(t.call),[t.identity,t.compose(T,t.map(t.objOf),le)]))),ue=t.o(t.join(\"\"),t.adjust(0,t.toUpper)),ce=t.o(t.join(\"\"),t.adjust(0,t.toLower)),de=J(\"[^a-zA-Z0-9]+\",\"g\"),me=t.o(t.reject(t.equals(\"\")),t.split(de)),ye=t.join(\"\"),he=t.o(ye,t.o(t.map(ue),me)),fe=t.o(ce,he),ge=t.join(\"_\"),qe=t.o(ge,t.o(t.map(t.toLower),me)),We=t.join(\"-\"),Ne=t.o(We,t.o(t.map(t.toLower),me)),Ee=t.join(\".\"),Te=t.o(Ee,t.o(t.map(t.toLower),me)),je=t.o(ge,t.o(t.map(t.toUpper),me)),Pe=t.reject(t.isNil),Oe=t.useWith(t.reject,[t.equals,t.identity]),be=t.join(\" \"),Ae=t.over(t.lensIndex(0)),we=t.curryN(2,t.compose(t.apply(t.dissocPath),Ae(le),oe)),Le=t.useWith(t.path,[le,t.identity]),ve=t.curryN(2,t.compose(t.apply(t.assocPath),Ae(le),oe)),xe=t.nthArg(-1),Se=t.converge(Le,[z,xe]),De=t.converge(t.call,[t.nthArg(1),Se,t.nthArg(2)]),Fe=t.converge(ve,[z,De,xe]),Ie=t.useWith(t.compose(t.fromPairs,t.map),[t.identity,t.toPairs]),Ce=t.useWith(Ie,[Ae,t.identity]),Re=t.ifElse(l,t.apply,h),ke=t.useWith(t.__,[t.identity,t.length]),Ue=ke(t.equals),_e=t.useWith(t.equals,[t.toLower,t.toLower]),Be=ke(t.gte),ze=ke(t.gt),Ke=ke(t.lte),Ze=ke(t.lt),Me=t.useWith(t.flip(t.o),[t.view,t.identity,t.identity]),Ve=t.useWith(Me,[t.identity,t.equals,t.identity]),He=t.compose(t.flatten,oe),$e=t.cond([[O,function(e){return t.o(t.flatten,t.map($e))(e)}],[A,function(e){return t.o($e,t.values)(e)}],[t.T,t.of]]),Ge=t.is(Number),Je=t.filter(t.identity),Qe=t.filter(t.anyPass([A,I,Ge])),Xe=t.mapObjIndexed((function(e,t){return e&&t})),Ye=t.compose(Je,t.values,Xe),et=t.into([],t.compose(t.map(t.when(A,Ye)),Qe,Je)),tt=t.compose(be,t.flatten,et,He),it=t.complement(t.propEq),ot=t.complement(t.pathEq),at=t.flip(t.repeat),nt=at(2),st=t.mapObjIndexed(t.nthArg(1)),lt=t.o(t.fromPairs,t.map(nt)),pt=t.compose(t.juxt,t.flip(t.prepend)([t.last]),t.apply),rt=t.useWith(Ie,[pt,t.identity]),ut=Ie(t.juxt([t.o(fe,t.head),t.o((function(e){return dt(e)}),t.last)])),ct=t.map((function(e){return dt(e)})),dt=t.cond([[O,ct],[b,t.identity],[v,ut],[t.T,t.identity]]),mt=t.flip(t.includes),yt=mt,ht=t.complement(mt),ft=ht,gt=t.converge(t.curry,[t.pipe]),qt=t.converge(t.curry,[t.compose]),Wt=t.useWith(t.until,[t.identity,t.concat,t.identity]),Nt=t.useWith(Wt,[Ke,t.identity,t.identity]),Et=t.useWith(t.until,[t.identity,t.flip(t.concat),t.identity]),Tt=t.useWith(Et,[Ke,t.identity,t.identity]),jt=t.useWith(t.flip(t.xprod),[t.of,t.identity]),Pt=t.memoizeWith(t.identity),Ot=t.converge(t.set,[z,Me,E]),bt=t.reduce(t.mergeDeepLeft,{}),At=t.useWith(t.reduce(t.__,{}),[t.mergeDeepWith,t.identity]),wt=t.useWith(t.reduce(t.__,{}),[t.mergeDeepWithKey,t.identity]),Lt=t.defaultTo(o),vt=t.defaultTo(a),xt=t.defaultTo(\"\"),St=t.defaultTo(!1),Dt=t.defaultTo(1),Ft=t.defaultTo(!0),It=t.defaultTo(0),Ct=t.equals(o),Rt=t.equals(a),kt=t.equals(!1),Ut=t.equals(1),_t=t.equals(null),Bt=t.equals(!0),zt=t.complement(t.equals),Kt=t.complement(Ct),Zt=t.complement(Rt),Mt=t.complement(n),Vt=t.complement(kt),Ht=t.complement(_t),$t=t.complement(Ut),Gt=t.complement(Bt),Jt=t.complement(i),Qt=t.useWith(oe,[t.equals,t.always]),Xt=t.compose(t.cond,t.juxt([Qt,t.flip(Qt),t.always([t.T,t.identity])])),Yt=t.useWith(t.pathEq,[le,t.identity,t.identity]),ei=t.complement(Yt),ti=t.useWith(t.pathOr,[t.identity,le,t.identity]),ii=t.useWith(t.pathSatisfies,[t.identity,le,t.identity]),oi=t.complement(ii),ai=t.complement(t.propSatisfies),ni=t.complement(t.pathSatisfies),si=t.addIndex(t.map),li=t.anyPass([t.isNil,t.isEmpty]),pi=t.allPass([t.o(t.equals(\"Object\"),t.type),s,t.either(t.o(t.equals(Object.prototype),Object.getPrototypeOf),t.o(t.isNil,Object.getPrototypeOf))]),ri=t.ifElse(b,t.apply,z),ui=t.ifElse(b,t.call,z),ci=t.is(Boolean),di=t.unless(O,t.of),mi=t.o(t.map(t.apply(t.objOf)),t.toPairs),yi=t.flip(t.path),hi=qt(t.uniq,t.map),fi=qt(t.uniq,t.filter),gi=qt(t.length,t.uniq),qi=qt(t.uniq,t.take),Wi=qt(t.uniq,t.takeLast),Ni=qt(t.uniq,t.takeWhile),Ei=qt(t.uniq,t.drop),Ti=qt(t.uniq,t.takeLastWhile),ji=qt(t.uniq,t.dropLast),Pi=qt(t.uniq,t.dropWhile),Oi=qt(t.uniq,t.dropLastWhile),bi=qt(t.uniq,t.append),Ai=qt(t.uniq,t.prepend),wi=t.useWith(t.groupBy,[t.path,t.identity]),Li=t.useWith(t.groupBy,[t.prop,t.identity]),vi=t.unless(t.isNil,t.replace(/^./,t.toUpper)),xi=t.unless(t.isNil,t.replace(/^./,t.toLower)),Si=t.unless(t.isNil,t.replace(/(\\b\\w(?!\\s))/g,t.toUpper)),Di=t.unless(t.isNil,t.replace(/(\\b\\w(?!\\s))/g,t.toLower)),Fi=t.uncurryN(3,t.compose(t.map,t.binary(t.over))),Ii=t.useWith(Fi,[t.lensProp,t.identity,t.identity]),Ci=t.useWith(Fi,[t.lensPath,t.identity,t.identity]);e.alwaysEmptyArray=q,e.alwaysEmptyObject=E,e.alwaysEmptyString=f,e.alwaysNull=h,e.alwaysOne=N,e.alwaysZero=W,e.applyCompose=T,e.applyIfFunction=ri,e.applyIfNotNil=Re,e.applyPipe=j,e.argumentsToList=oe,e.assocDotPath=ve,e.between=P,e.callIfFunction=ui,e.camelizeKeys=dt,e.capitalizeAll=Si,e.capitalizeFirst=vi,e.composeC=qt,e.constructRegExp=J,e.containsAll=ae,e.containsAny=ne,e.containsNone=se,e.cx=tt,e.decapitalizeAll=Di,e.decapitalizeFirst=xi,e.defaultToEmptyArray=Lt,e.defaultToEmptyObject=vt,e.defaultToEmptyString=xt,e.defaultToFalse=St,e.defaultToOne=Dt,e.defaultToTrue=Ft,e.defaultToZero=It,e.dispatch=$,e.dispatchWith=H,e.dissocDotPath=we,e.dotPath=Le,e.dotPathEq=Yt,e.dotPathNotEq=ei,e.dotPathNotSatisfies=oi,e.dotPathOr=ti,e.dotPathSatisfies=ii,e.duplicate=nt,e.endsWithSuffix=te,e.endsWithSuffixIgnoreCase=ie,e.ensureArray=di,e.equalsEmptyString=n,e.equalsLength=Ue,e.equalsStringIgnoreCase=_e,e.equalsToEmptyArray=Ct,e.equalsToEmptyObject=Rt,e.equalsToEmptyString=n,e.equalsToFalse=kt,e.equalsToNull=_t,e.equalsToOne=Ut,e.equalsToTrue=Bt,e.equalsToZero=i,e.equalsZero=i,e.findNotNil=Z,e.flattenArgs=He,e.flattenValues=$e,e.flipIncludes=mt,e.get=yi,e.groupByPath=wi,e.groupByProp=Li,e.gtThanLength=ze,e.gteThanLength=Be,e.headArg=z,e.includes=yt,e.isArray=O,e.isBoolean=ci,e.isError=k,e.isFalsy=R,e.isFunction=b,e.isNegative=w,e.isNilOrEmpty=li,e.isNilOrEmptyString=L,e.isNotEmpty=p,e.isNotNaN=u,e.isNotNil=s,e.isNotNilObject=v,e.isNotNumeric=m,e.isNotRegExp=S,e.isNumber=Ge,e.isNumeric=d,e.isObject=A,e.isPlainObject=pi,e.isPositive=D,e.isPromise=F,e.isRegExp=x,e.isString=I,e.isTruthy=C,e.joinWithDash=We,e.joinWithDot=Ee,e.joinWithSpace=be,e.joinWithUnderscore=ge,e.keyMirror=st,e.lastArg=xe,e.listToString=ye,e.log=U,e.ltThanLength=Ze,e.lteThanLength=Ke,e.mapIndexed=si,e.mapKeys=Ce,e.mapKeysAndValues=Ie,e.mapKeysWithValue=rt,e.mapOver=Fi,e.mapOverPath=Ci,e.mapOverProp=Ii,e.memoizeWithIdentity=Pt,e.mergeDeepAllWith=At,e.mergeDeepAllWithKey=wt,e.mergeDeepLeftAll=bt,e.mergeDeepRightAll=pe,e.mergeWithDotPath=Fe,e.noop=G,e.notEmpty=r,e.notEqual=zt,e.notEqualToEmptyArray=Kt,e.notEqualToEmptyObject=Zt,e.notEqualToEmptyString=Mt,e.notEqualToFalse=Vt,e.notEqualToNull=Ht,e.notEqualToOne=$t,e.notEqualToTrue=Gt,e.notEqualToZero=Jt,e.notFlipInclude=ht,e.notInclude=ft,e.notNaN=c,e.notNil=l,e.notNumeric=y,e.objOfOver=Ot,e.overHead=Ae,e.padLeft=Nt,e.padLeftUntil=Wt,e.padRight=Tt,e.padRightUntil=Et,e.pathNotEq=ot,e.pathNotSatisfies=ni,e.pipeC=gt,e.propNotEq=it,e.propNotSatisfies=ai,e.reduceCallable=B,e.reduceSource=K,e.rejectEq=Oe,e.rejectNil=Pe,e.replicate=at,e.splitByDot=le,e.splitByNonAlphaNumeric=me,e.startsWithPrefix=X,e.startsWithPrefixIgnoreCase=Y,e.toCamelCase=fe,e.toDotCase=Te,e.toEntries=mi,e.toKebabCase=Ne,e.toLowerFirst=ce,e.toPascalCase=he,e.toScreamingSnakeCase=je,e.toSnakeCase=qe,e.toUpperFirst=ue,e.toggle=Xt,e.trace=_,e.unfoldObjectDots=re,e.uniqAppend=bi,e.uniqDrop=Ei,e.uniqDropLast=ji,e.uniqDropLastWhile=Oi,e.uniqDropWhile=Pi,e.uniqFilter=fi,e.uniqLength=gi,e.uniqMap=hi,e.uniqPrepend=Ai,e.uniqTake=qi,e.uniqTakeLast=Wi,e.uniqTakeLastWhile=Ti,e.uniqTakeWhile=Ni,e.valueMirror=lt,e.viewEq=Ve,e.viewWith=Me,e.xPairs=M,e.xPairsRight=jt,Object.defineProperty(e,\"__esModule\",{value:!0})}));\n","var tns = (function (){\nvar win = window;\n\nvar raf = win.requestAnimationFrame\n  || win.webkitRequestAnimationFrame\n  || win.mozRequestAnimationFrame\n  || win.msRequestAnimationFrame\n  || function(cb) { return setTimeout(cb, 16); };\n\nvar win$1 = window;\n\nvar caf = win$1.cancelAnimationFrame\n  || win$1.mozCancelAnimationFrame\n  || function(id){ clearTimeout(id); };\n\nfunction extend() {\n  var obj, name, copy,\n      target = arguments[0] || {},\n      i = 1,\n      length = arguments.length;\n\n  for (; i < length; i++) {\n    if ((obj = arguments[i]) !== null) {\n      for (name in obj) {\n        copy = obj[name];\n\n        if (target === copy) {\n          continue;\n        } else if (copy !== undefined) {\n          target[name] = copy;\n        }\n      }\n    }\n  }\n  return target;\n}\n\nfunction checkStorageValue (value) {\n  return ['true', 'false'].indexOf(value) >= 0 ? JSON.parse(value) : value;\n}\n\nfunction setLocalStorage(storage, key, value, access) {\n  if (access) {\n    try { storage.setItem(key, value); } catch (e) {}\n  }\n  return value;\n}\n\nfunction getSlideId() {\n  var id = window.tnsId;\n  window.tnsId = !id ? 1 : id + 1;\n  \n  return 'tns' + window.tnsId;\n}\n\nfunction getBody () {\n  var doc = document,\n      body = doc.body;\n\n  if (!body) {\n    body = doc.createElement('body');\n    body.fake = true;\n  }\n\n  return body;\n}\n\nvar docElement = document.documentElement;\n\nfunction setFakeBody (body) {\n  var docOverflow = '';\n  if (body.fake) {\n    docOverflow = docElement.style.overflow;\n    //avoid crashing IE8, if background image is used\n    body.style.background = '';\n    //Safari 5.13/5.1.4 OSX stops loading if ::-webkit-scrollbar is used and scrollbars are visible\n    body.style.overflow = docElement.style.overflow = 'hidden';\n    docElement.appendChild(body);\n  }\n\n  return docOverflow;\n}\n\nfunction resetFakeBody (body, docOverflow) {\n  if (body.fake) {\n    body.remove();\n    docElement.style.overflow = docOverflow;\n    // Trigger layout so kinetic scrolling isn't disabled in iOS6+\n    // eslint-disable-next-line\n    docElement.offsetHeight;\n  }\n}\n\n// get css-calc \n\nfunction calc() {\n  var doc = document, \n      body = getBody(),\n      docOverflow = setFakeBody(body),\n      div = doc.createElement('div'), \n      result = false;\n\n  body.appendChild(div);\n  try {\n    var str = '(10px * 10)',\n        vals = ['calc' + str, '-moz-calc' + str, '-webkit-calc' + str],\n        val;\n    for (var i = 0; i < 3; i++) {\n      val = vals[i];\n      div.style.width = val;\n      if (div.offsetWidth === 100) { \n        result = val.replace(str, ''); \n        break;\n      }\n    }\n  } catch (e) {}\n  \n  body.fake ? resetFakeBody(body, docOverflow) : div.remove();\n\n  return result;\n}\n\n// get subpixel support value\n\nfunction percentageLayout() {\n  // check subpixel layout supporting\n  var doc = document,\n      body = getBody(),\n      docOverflow = setFakeBody(body),\n      wrapper = doc.createElement('div'),\n      outer = doc.createElement('div'),\n      str = '',\n      count = 70,\n      perPage = 3,\n      supported = false;\n\n  wrapper.className = \"tns-t-subp2\";\n  outer.className = \"tns-t-ct\";\n\n  for (var i = 0; i < count; i++) {\n    str += '<div></div>';\n  }\n\n  outer.innerHTML = str;\n  wrapper.appendChild(outer);\n  body.appendChild(wrapper);\n\n  supported = Math.abs(wrapper.getBoundingClientRect().left - outer.children[count - perPage].getBoundingClientRect().left) < 2;\n\n  body.fake ? resetFakeBody(body, docOverflow) : wrapper.remove();\n\n  return supported;\n}\n\nfunction mediaquerySupport () {\n  if (window.matchMedia || window.msMatchMedia) {\n    return true;\n  }\n  \n  var doc = document,\n      body = getBody(),\n      docOverflow = setFakeBody(body),\n      div = doc.createElement('div'),\n      style = doc.createElement('style'),\n      rule = '@media all and (min-width:1px){.tns-mq-test{position:absolute}}',\n      position;\n\n  style.type = 'text/css';\n  div.className = 'tns-mq-test';\n\n  body.appendChild(style);\n  body.appendChild(div);\n\n  if (style.styleSheet) {\n    style.styleSheet.cssText = rule;\n  } else {\n    style.appendChild(doc.createTextNode(rule));\n  }\n\n  position = window.getComputedStyle ? window.getComputedStyle(div).position : div.currentStyle['position'];\n\n  body.fake ? resetFakeBody(body, docOverflow) : div.remove();\n\n  return position === \"absolute\";\n}\n\n// create and append style sheet\nfunction createStyleSheet (media, nonce) {\n  // Create the <style> tag\n  var style = document.createElement(\"style\");\n  // style.setAttribute(\"type\", \"text/css\");\n\n  // Add a media (and/or media query) here if you'd like!\n  // style.setAttribute(\"media\", \"screen\")\n  // style.setAttribute(\"media\", \"only screen and (max-width : 1024px)\")\n  if (media) { style.setAttribute(\"media\", media); }\n\n  // Add nonce attribute for Content Security Policy\n  if (nonce) { style.setAttribute(\"nonce\", nonce); }\n\n  // WebKit hack :(\n  // style.appendChild(document.createTextNode(\"\"));\n\n  // Add the <style> element to the page\n  document.querySelector('head').appendChild(style);\n\n  return style.sheet ? style.sheet : style.styleSheet;\n}\n\n// cross browsers addRule method\nfunction addCSSRule(sheet, selector, rules, index) {\n  // return raf(function() {\n    'insertRule' in sheet ?\n      sheet.insertRule(selector + '{' + rules + '}', index) :\n      sheet.addRule(selector, rules, index);\n  // });\n}\n\n// cross browsers addRule method\nfunction removeCSSRule(sheet, index) {\n  // return raf(function() {\n    'deleteRule' in sheet ?\n      sheet.deleteRule(index) :\n      sheet.removeRule(index);\n  // });\n}\n\nfunction getCssRulesLength(sheet) {\n  var rule = ('insertRule' in sheet) ? sheet.cssRules : sheet.rules;\n  return rule.length;\n}\n\nfunction toDegree (y, x) {\n  return Math.atan2(y, x) * (180 / Math.PI);\n}\n\nfunction getTouchDirection(angle, range) {\n  var direction = false,\n      gap = Math.abs(90 - Math.abs(angle));\n      \n  if (gap >= 90 - range) {\n    direction = 'horizontal';\n  } else if (gap <= range) {\n    direction = 'vertical';\n  }\n\n  return direction;\n}\n\n// https://toddmotto.com/ditch-the-array-foreach-call-nodelist-hack/\nfunction forEach (arr, callback, scope) {\n  for (var i = 0, l = arr.length; i < l; i++) {\n    callback.call(scope, arr[i], i);\n  }\n}\n\nvar classListSupport = 'classList' in document.createElement('_');\n\nvar hasClass = classListSupport ?\n    function (el, str) { return el.classList.contains(str); } :\n    function (el, str) { return el.className.indexOf(str) >= 0; };\n\nvar addClass = classListSupport ?\n    function (el, str) {\n      if (!hasClass(el,  str)) { el.classList.add(str); }\n    } :\n    function (el, str) {\n      if (!hasClass(el,  str)) { el.className += ' ' + str; }\n    };\n\nvar removeClass = classListSupport ?\n    function (el, str) {\n      if (hasClass(el,  str)) { el.classList.remove(str); }\n    } :\n    function (el, str) {\n      if (hasClass(el, str)) { el.className = el.className.replace(str, ''); }\n    };\n\nfunction hasAttr(el, attr) {\n  return el.hasAttribute(attr);\n}\n\nfunction getAttr(el, attr) {\n  return el.getAttribute(attr);\n}\n\nfunction isNodeList(el) {\n  // Only NodeList has the \"item()\" function\n  return typeof el.item !== \"undefined\"; \n}\n\nfunction setAttrs(els, attrs) {\n  els = (isNodeList(els) || els instanceof Array) ? els : [els];\n  if (Object.prototype.toString.call(attrs) !== '[object Object]') { return; }\n\n  for (var i = els.length; i--;) {\n    for(var key in attrs) {\n      els[i].setAttribute(key, attrs[key]);\n    }\n  }\n}\n\nfunction removeAttrs(els, attrs) {\n  els = (isNodeList(els) || els instanceof Array) ? els : [els];\n  attrs = (attrs instanceof Array) ? attrs : [attrs];\n\n  var attrLength = attrs.length;\n  for (var i = els.length; i--;) {\n    for (var j = attrLength; j--;) {\n      els[i].removeAttribute(attrs[j]);\n    }\n  }\n}\n\nfunction arrayFromNodeList (nl) {\n  var arr = [];\n  for (var i = 0, l = nl.length; i < l; i++) {\n    arr.push(nl[i]);\n  }\n  return arr;\n}\n\nfunction hideElement(el, forceHide) {\n  if (el.style.display !== 'none') { el.style.display = 'none'; }\n}\n\nfunction showElement(el, forceHide) {\n  if (el.style.display === 'none') { el.style.display = ''; }\n}\n\nfunction isVisible(el) {\n  return window.getComputedStyle(el).display !== 'none';\n}\n\nfunction whichProperty(props){\n  if (typeof props === 'string') {\n    var arr = [props],\n        Props = props.charAt(0).toUpperCase() + props.substr(1),\n        prefixes = ['Webkit', 'Moz', 'ms', 'O'];\n        \n    prefixes.forEach(function(prefix) {\n      if (prefix !== 'ms' || props === 'transform') {\n        arr.push(prefix + Props);\n      }\n    });\n\n    props = arr;\n  }\n\n  var el = document.createElement('fakeelement'),\n      len = props.length;\n  for(var i = 0; i < props.length; i++){\n    var prop = props[i];\n    if( el.style[prop] !== undefined ){ return prop; }\n  }\n\n  return false; // explicit for ie9-\n}\n\nfunction has3DTransforms(tf){\n  if (!tf) { return false; }\n  if (!window.getComputedStyle) { return false; }\n  \n  var doc = document,\n      body = getBody(),\n      docOverflow = setFakeBody(body),\n      el = doc.createElement('p'),\n      has3d,\n      cssTF = tf.length > 9 ? '-' + tf.slice(0, -9).toLowerCase() + '-' : '';\n\n  cssTF += 'transform';\n\n  // Add it to the body to get the computed style\n  body.insertBefore(el, null);\n\n  el.style[tf] = 'translate3d(1px,1px,1px)';\n  has3d = window.getComputedStyle(el).getPropertyValue(cssTF);\n\n  body.fake ? resetFakeBody(body, docOverflow) : el.remove();\n\n  return (has3d !== undefined && has3d.length > 0 && has3d !== \"none\");\n}\n\n// get transitionend, animationend based on transitionDuration\n// @propin: string\n// @propOut: string, first-letter uppercase\n// Usage: getEndProperty('WebkitTransitionDuration', 'Transition') => webkitTransitionEnd\nfunction getEndProperty(propIn, propOut) {\n  var endProp = false;\n  if (/^Webkit/.test(propIn)) {\n    endProp = 'webkit' + propOut + 'End';\n  } else if (/^O/.test(propIn)) {\n    endProp = 'o' + propOut + 'End';\n  } else if (propIn) {\n    endProp = propOut.toLowerCase() + 'end';\n  }\n  return endProp;\n}\n\n// Test via a getter in the options object to see if the passive property is accessed\nvar supportsPassive = false;\ntry {\n  var opts = Object.defineProperty({}, 'passive', {\n    get: function() {\n      supportsPassive = true;\n    }\n  });\n  window.addEventListener(\"test\", null, opts);\n} catch (e) {}\nvar passiveOption = supportsPassive ? { passive: true } : false;\n\nfunction addEvents(el, obj, preventScrolling) {\n  for (var prop in obj) {\n    var option = ['touchstart', 'touchmove'].indexOf(prop) >= 0 && !preventScrolling ? passiveOption : false;\n    el.addEventListener(prop, obj[prop], option);\n  }\n}\n\nfunction removeEvents(el, obj) {\n  for (var prop in obj) {\n    var option = ['touchstart', 'touchmove'].indexOf(prop) >= 0 ? passiveOption : false;\n    el.removeEventListener(prop, obj[prop], option);\n  }\n}\n\nfunction Events() {\n  return {\n    topics: {},\n    on: function (eventName, fn) {\n      this.topics[eventName] = this.topics[eventName] || [];\n      this.topics[eventName].push(fn);\n    },\n    off: function(eventName, fn) {\n      if (this.topics[eventName]) {\n        for (var i = 0; i < this.topics[eventName].length; i++) {\n          if (this.topics[eventName][i] === fn) {\n            this.topics[eventName].splice(i, 1);\n            break;\n          }\n        }\n      }\n    },\n    emit: function (eventName, data) {\n      data.type = eventName;\n      if (this.topics[eventName]) {\n        this.topics[eventName].forEach(function(fn) {\n          fn(data, eventName);\n        });\n      }\n    }\n  };\n}\n\nfunction jsTransform(element, attr, prefix, postfix, to, duration, callback) {\n  var tick = Math.min(duration, 10),\n      unit = (to.indexOf('%') >= 0) ? '%' : 'px',\n      to = to.replace(unit, ''),\n      from = Number(element.style[attr].replace(prefix, '').replace(postfix, '').replace(unit, '')),\n      positionTick = (to - from) / duration * tick,\n      running;\n\n  setTimeout(moveElement, tick);\n  function moveElement() {\n    duration -= tick;\n    from += positionTick;\n    element.style[attr] = prefix + from + unit + postfix;\n    if (duration > 0) { \n      setTimeout(moveElement, tick); \n    } else {\n      callback();\n    }\n  }\n}\n\n// Object.keys\nif (!Object.keys) {\n  Object.keys = function(object) {\n    var keys = [];\n    for (var name in object) {\n      if (Object.prototype.hasOwnProperty.call(object, name)) {\n        keys.push(name);\n      }\n    }\n    return keys;\n  };\n}\n\n// ChildNode.remove\nif(!(\"remove\" in Element.prototype)){\n  Element.prototype.remove = function(){\n    if(this.parentNode) {\n      this.parentNode.removeChild(this);\n    }\n  };\n}\n\nvar tns = function(options) {\n  options = extend({\n    container: '.slider',\n    mode: 'carousel',\n    axis: 'horizontal',\n    items: 1,\n    gutter: 0,\n    edgePadding: 0,\n    fixedWidth: false,\n    autoWidth: false,\n    viewportMax: false,\n    slideBy: 1,\n    center: false,\n    controls: true,\n    controlsPosition: 'top',\n    controlsText: ['prev', 'next'],\n    controlsContainer: false,\n    prevButton: false,\n    nextButton: false,\n    nav: true,\n    navPosition: 'top',\n    navContainer: false,\n    navAsThumbnails: false,\n    arrowKeys: false,\n    speed: 300,\n    autoplay: false,\n    autoplayPosition: 'top',\n    autoplayTimeout: 5000,\n    autoplayDirection: 'forward',\n    autoplayText: ['start', 'stop'],\n    autoplayHoverPause: false,\n    autoplayButton: false,\n    autoplayButtonOutput: true,\n    autoplayResetOnVisibility: true,\n    animateIn: 'tns-fadeIn',\n    animateOut: 'tns-fadeOut',\n    animateNormal: 'tns-normal',\n    animateDelay: false,\n    loop: true,\n    rewind: false,\n    autoHeight: false,\n    responsive: false,\n    lazyload: false,\n    lazyloadSelector: '.tns-lazy-img',\n    touch: true,\n    mouseDrag: false,\n    swipeAngle: 15,\n    nested: false,\n    preventActionWhenRunning: false,\n    preventScrollOnTouch: false,\n    freezable: true,\n    onInit: false,\n    useLocalStorage: true,\n    nonce: false\n  }, options || {});\n\n  var doc = document,\n      win = window,\n      KEYS = {\n        ENTER: 13,\n        SPACE: 32,\n        LEFT: 37,\n        RIGHT: 39\n      },\n      tnsStorage = {},\n      localStorageAccess = options.useLocalStorage;\n\n  if (localStorageAccess) {\n    // check browser version and local storage access\n    var browserInfo = navigator.userAgent;\n    var uid = new Date;\n\n    try {\n      tnsStorage = win.localStorage;\n      if (tnsStorage) {\n        tnsStorage.setItem(uid, uid);\n        localStorageAccess = tnsStorage.getItem(uid) == uid;\n        tnsStorage.removeItem(uid);\n      } else {\n        localStorageAccess = false;\n      }\n      if (!localStorageAccess) { tnsStorage = {}; }\n    } catch(e) {\n      localStorageAccess = false;\n    }\n\n    if (localStorageAccess) {\n      // remove storage when browser version changes\n      if (tnsStorage['tnsApp'] && tnsStorage['tnsApp'] !== browserInfo) {\n        ['tC', 'tPL', 'tMQ', 'tTf', 't3D', 'tTDu', 'tTDe', 'tADu', 'tADe', 'tTE', 'tAE'].forEach(function(item) { tnsStorage.removeItem(item); });\n      }\n      // update browserInfo\n      localStorage['tnsApp'] = browserInfo;\n    }\n  }\n\n  var CALC = tnsStorage['tC'] ? checkStorageValue(tnsStorage['tC']) : setLocalStorage(tnsStorage, 'tC', calc(), localStorageAccess),\n      PERCENTAGELAYOUT = tnsStorage['tPL'] ? checkStorageValue(tnsStorage['tPL']) : setLocalStorage(tnsStorage, 'tPL', percentageLayout(), localStorageAccess),\n      CSSMQ = tnsStorage['tMQ'] ? checkStorageValue(tnsStorage['tMQ']) : setLocalStorage(tnsStorage, 'tMQ', mediaquerySupport(), localStorageAccess),\n      TRANSFORM = tnsStorage['tTf'] ? checkStorageValue(tnsStorage['tTf']) : setLocalStorage(tnsStorage, 'tTf', whichProperty('transform'), localStorageAccess),\n      HAS3DTRANSFORMS = tnsStorage['t3D'] ? checkStorageValue(tnsStorage['t3D']) : setLocalStorage(tnsStorage, 't3D', has3DTransforms(TRANSFORM), localStorageAccess),\n      TRANSITIONDURATION = tnsStorage['tTDu'] ? checkStorageValue(tnsStorage['tTDu']) : setLocalStorage(tnsStorage, 'tTDu', whichProperty('transitionDuration'), localStorageAccess),\n      TRANSITIONDELAY = tnsStorage['tTDe'] ? checkStorageValue(tnsStorage['tTDe']) : setLocalStorage(tnsStorage, 'tTDe', whichProperty('transitionDelay'), localStorageAccess),\n      ANIMATIONDURATION = tnsStorage['tADu'] ? checkStorageValue(tnsStorage['tADu']) : setLocalStorage(tnsStorage, 'tADu', whichProperty('animationDuration'), localStorageAccess),\n      ANIMATIONDELAY = tnsStorage['tADe'] ? checkStorageValue(tnsStorage['tADe']) : setLocalStorage(tnsStorage, 'tADe', whichProperty('animationDelay'), localStorageAccess),\n      TRANSITIONEND = tnsStorage['tTE'] ? checkStorageValue(tnsStorage['tTE']) : setLocalStorage(tnsStorage, 'tTE', getEndProperty(TRANSITIONDURATION, 'Transition'), localStorageAccess),\n      ANIMATIONEND = tnsStorage['tAE'] ? checkStorageValue(tnsStorage['tAE']) : setLocalStorage(tnsStorage, 'tAE', getEndProperty(ANIMATIONDURATION, 'Animation'), localStorageAccess);\n\n  // get element nodes from selectors\n  var supportConsoleWarn = win.console && typeof win.console.warn === \"function\",\n      tnsList = ['container', 'controlsContainer', 'prevButton', 'nextButton', 'navContainer', 'autoplayButton'],\n      optionsElements = {};\n\n  tnsList.forEach(function(item) {\n    if (typeof options[item] === 'string') {\n      var str = options[item],\n          el = doc.querySelector(str);\n      optionsElements[item] = str;\n\n      if (el && el.nodeName) {\n        options[item] = el;\n      } else {\n        if (supportConsoleWarn) { console.warn('Can\\'t find', options[item]); }\n        return;\n      }\n    }\n  });\n\n  // make sure at least 1 slide\n  if (options.container.children.length < 1) {\n    if (supportConsoleWarn) { console.warn('No slides found in', options.container); }\n    return;\n   }\n\n  // update options\n  var responsive = options.responsive,\n      nested = options.nested,\n      carousel = options.mode === 'carousel' ? true : false;\n\n  if (responsive) {\n    // apply responsive[0] to options and remove it\n    if (0 in responsive) {\n      options = extend(options, responsive[0]);\n      delete responsive[0];\n    }\n\n    var responsiveTem = {};\n    for (var key in responsive) {\n      var val = responsive[key];\n      // update responsive\n      // from: 300: 2\n      // to:\n      //   300: {\n      //     items: 2\n      //   }\n      val = typeof val === 'number' ? {items: val} : val;\n      responsiveTem[key] = val;\n    }\n    responsive = responsiveTem;\n    responsiveTem = null;\n  }\n\n  // update options\n  function updateOptions (obj) {\n    for (var key in obj) {\n      if (!carousel) {\n        if (key === 'slideBy') { obj[key] = 'page'; }\n        if (key === 'edgePadding') { obj[key] = false; }\n        if (key === 'autoHeight') { obj[key] = false; }\n      }\n\n      // update responsive options\n      if (key === 'responsive') { updateOptions(obj[key]); }\n    }\n  }\n  if (!carousel) { updateOptions(options); }\n\n\n  // === define and set variables ===\n  if (!carousel) {\n    options.axis = 'horizontal';\n    options.slideBy = 'page';\n    options.edgePadding = false;\n\n    var animateIn = options.animateIn,\n        animateOut = options.animateOut,\n        animateDelay = options.animateDelay,\n        animateNormal = options.animateNormal;\n  }\n\n  var horizontal = options.axis === 'horizontal' ? true : false,\n      outerWrapper = doc.createElement('div'),\n      innerWrapper = doc.createElement('div'),\n      middleWrapper,\n      container = options.container,\n      containerParent = container.parentNode,\n      containerHTML = container.outerHTML,\n      slideItems = container.children,\n      slideCount = slideItems.length,\n      breakpointZone,\n      windowWidth = getWindowWidth(),\n      isOn = false;\n  if (responsive) { setBreakpointZone(); }\n  if (carousel) { container.className += ' tns-vpfix'; }\n\n  // fixedWidth: viewport > rightBoundary > indexMax\n  var autoWidth = options.autoWidth,\n      fixedWidth = getOption('fixedWidth'),\n      edgePadding = getOption('edgePadding'),\n      gutter = getOption('gutter'),\n      viewport = getViewportWidth(),\n      center = getOption('center'),\n      items = !autoWidth ? Math.floor(getOption('items')) : 1,\n      slideBy = getOption('slideBy'),\n      viewportMax = options.viewportMax || options.fixedWidthViewportWidth,\n      arrowKeys = getOption('arrowKeys'),\n      speed = getOption('speed'),\n      rewind = options.rewind,\n      loop = rewind ? false : options.loop,\n      autoHeight = getOption('autoHeight'),\n      controls = getOption('controls'),\n      controlsText = getOption('controlsText'),\n      nav = getOption('nav'),\n      touch = getOption('touch'),\n      mouseDrag = getOption('mouseDrag'),\n      autoplay = getOption('autoplay'),\n      autoplayTimeout = getOption('autoplayTimeout'),\n      autoplayText = getOption('autoplayText'),\n      autoplayHoverPause = getOption('autoplayHoverPause'),\n      autoplayResetOnVisibility = getOption('autoplayResetOnVisibility'),\n      sheet = createStyleSheet(null, getOption('nonce')),\n      lazyload = options.lazyload,\n      lazyloadSelector = options.lazyloadSelector,\n      slidePositions, // collection of slide positions\n      slideItemsOut = [],\n      cloneCount = loop ? getCloneCountForLoop() : 0,\n      slideCountNew = !carousel ? slideCount + cloneCount : slideCount + cloneCount * 2,\n      hasRightDeadZone = (fixedWidth || autoWidth) && !loop ? true : false,\n      rightBoundary = fixedWidth ? getRightBoundary() : null,\n      updateIndexBeforeTransform = (!carousel || !loop) ? true : false,\n      // transform\n      transformAttr = horizontal ? 'left' : 'top',\n      transformPrefix = '',\n      transformPostfix = '',\n      // index\n      getIndexMax = (function () {\n        if (fixedWidth) {\n          return function() { return center && !loop ? slideCount - 1 : Math.ceil(- rightBoundary / (fixedWidth + gutter)); };\n        } else if (autoWidth) {\n          return function() {\n            for (var i = 0; i < slideCountNew; i++) {\n              if (slidePositions[i] >= - rightBoundary) { return i; }\n            }\n          };\n        } else {\n          return function() {\n            if (center && carousel && !loop) {\n              return slideCount - 1;\n            } else {\n              return loop || carousel ? Math.max(0, slideCountNew - Math.ceil(items)) : slideCountNew - 1;\n            }\n          };\n        }\n      })(),\n      index = getStartIndex(getOption('startIndex')),\n      indexCached = index,\n      displayIndex = getCurrentSlide(),\n      indexMin = 0,\n      indexMax = !autoWidth ? getIndexMax() : null,\n      // resize\n      resizeTimer,\n      preventActionWhenRunning = options.preventActionWhenRunning,\n      swipeAngle = options.swipeAngle,\n      moveDirectionExpected = swipeAngle ? '?' : true,\n      running = false,\n      onInit = options.onInit,\n      events = new Events(),\n      // id, class\n      newContainerClasses = ' tns-slider tns-' + options.mode,\n      slideId = container.id || getSlideId(),\n      disable = getOption('disable'),\n      disabled = false,\n      freezable = options.freezable,\n      freeze = freezable && !autoWidth ? getFreeze() : false,\n      frozen = false,\n      controlsEvents = {\n        'click': onControlsClick,\n        'keydown': onControlsKeydown\n      },\n      navEvents = {\n        'click': onNavClick,\n        'keydown': onNavKeydown\n      },\n      hoverEvents = {\n        'mouseover': mouseoverPause,\n        'mouseout': mouseoutRestart\n      },\n      visibilityEvent = {'visibilitychange': onVisibilityChange},\n      docmentKeydownEvent = {'keydown': onDocumentKeydown},\n      touchEvents = {\n        'touchstart': onPanStart,\n        'touchmove': onPanMove,\n        'touchend': onPanEnd,\n        'touchcancel': onPanEnd\n      }, dragEvents = {\n        'mousedown': onPanStart,\n        'mousemove': onPanMove,\n        'mouseup': onPanEnd,\n        'mouseleave': onPanEnd\n      },\n      hasControls = hasOption('controls'),\n      hasNav = hasOption('nav'),\n      navAsThumbnails = autoWidth ? true : options.navAsThumbnails,\n      hasAutoplay = hasOption('autoplay'),\n      hasTouch = hasOption('touch'),\n      hasMouseDrag = hasOption('mouseDrag'),\n      slideActiveClass = 'tns-slide-active',\n      slideClonedClass = 'tns-slide-cloned',\n      imgCompleteClass = 'tns-complete',\n      imgEvents = {\n        'load': onImgLoaded,\n        'error': onImgFailed\n      },\n      imgsComplete,\n      liveregionCurrent,\n      preventScroll = options.preventScrollOnTouch === 'force' ? true : false;\n\n  // controls\n  if (hasControls) {\n    var controlsContainer = options.controlsContainer,\n        controlsContainerHTML = options.controlsContainer ? options.controlsContainer.outerHTML : '',\n        prevButton = options.prevButton,\n        nextButton = options.nextButton,\n        prevButtonHTML = options.prevButton ? options.prevButton.outerHTML : '',\n        nextButtonHTML = options.nextButton ? options.nextButton.outerHTML : '',\n        prevIsButton,\n        nextIsButton;\n  }\n\n  // nav\n  if (hasNav) {\n    var navContainer = options.navContainer,\n        navContainerHTML = options.navContainer ? options.navContainer.outerHTML : '',\n        navItems,\n        pages = autoWidth ? slideCount : getPages(),\n        pagesCached = 0,\n        navClicked = -1,\n        navCurrentIndex = getCurrentNavIndex(),\n        navCurrentIndexCached = navCurrentIndex,\n        navActiveClass = 'tns-nav-active',\n        navStr = 'Carousel Page ',\n        navStrCurrent = ' (Current Slide)';\n  }\n\n  // autoplay\n  if (hasAutoplay) {\n    var autoplayDirection = options.autoplayDirection === 'forward' ? 1 : -1,\n        autoplayButton = options.autoplayButton,\n        autoplayButtonHTML = options.autoplayButton ? options.autoplayButton.outerHTML : '',\n        autoplayHtmlStrings = ['<span class=\\'tns-visually-hidden\\'>', ' animation</span>'],\n        autoplayTimer,\n        animating,\n        autoplayHoverPaused,\n        autoplayUserPaused,\n        autoplayVisibilityPaused;\n  }\n\n  if (hasTouch || hasMouseDrag) {\n    var initPosition = {},\n        lastPosition = {},\n        translateInit,\n        disX,\n        disY,\n        panStart = false,\n        rafIndex,\n        getDist = horizontal ?\n          function(a, b) { return a.x - b.x; } :\n          function(a, b) { return a.y - b.y; };\n  }\n\n  // disable slider when slidecount <= items\n  if (!autoWidth) { resetVariblesWhenDisable(disable || freeze); }\n\n  if (TRANSFORM) {\n    transformAttr = TRANSFORM;\n    transformPrefix = 'translate';\n\n    if (HAS3DTRANSFORMS) {\n      transformPrefix += horizontal ? '3d(' : '3d(0px, ';\n      transformPostfix = horizontal ? ', 0px, 0px)' : ', 0px)';\n    } else {\n      transformPrefix += horizontal ? 'X(' : 'Y(';\n      transformPostfix = ')';\n    }\n\n  }\n\n  if (carousel) { container.className = container.className.replace('tns-vpfix', ''); }\n  initStructure();\n  initSheet();\n  initSliderTransform();\n\n  // === COMMON FUNCTIONS === //\n  function resetVariblesWhenDisable (condition) {\n    if (condition) {\n      controls = nav = touch = mouseDrag = arrowKeys = autoplay = autoplayHoverPause = autoplayResetOnVisibility = false;\n    }\n  }\n\n  function getCurrentSlide () {\n    var tem = carousel ? index - cloneCount : index;\n    while (tem < 0) { tem += slideCount; }\n    return tem%slideCount + 1;\n  }\n\n  function getStartIndex (ind) {\n    ind = ind ? Math.max(0, Math.min(loop ? slideCount - 1 : slideCount - items, ind)) : 0;\n    return carousel ? ind + cloneCount : ind;\n  }\n\n  function getAbsIndex (i) {\n    if (i == null) { i = index; }\n\n    if (carousel) { i -= cloneCount; }\n    while (i < 0) { i += slideCount; }\n\n    return Math.floor(i%slideCount);\n  }\n\n  function getCurrentNavIndex () {\n    var absIndex = getAbsIndex(),\n        result;\n\n    result = navAsThumbnails ? absIndex :\n      fixedWidth || autoWidth ? Math.ceil((absIndex + 1) * pages / slideCount - 1) :\n          Math.floor(absIndex / items);\n\n    // set active nav to the last one when reaches the right edge\n    if (!loop && carousel && index === indexMax) { result = pages - 1; }\n\n    return result;\n  }\n\n  function getItemsMax () {\n    // fixedWidth or autoWidth while viewportMax is not available\n    if (autoWidth || (fixedWidth && !viewportMax)) {\n      return slideCount - 1;\n    // most cases\n    } else {\n      var str = fixedWidth ? 'fixedWidth' : 'items',\n          arr = [];\n\n      if (fixedWidth || options[str] < slideCount) { arr.push(options[str]); }\n\n      if (responsive) {\n        for (var bp in responsive) {\n          var tem = responsive[bp][str];\n          if (tem && (fixedWidth || tem < slideCount)) { arr.push(tem); }\n        }\n      }\n\n      if (!arr.length) { arr.push(0); }\n\n      return Math.ceil(fixedWidth ? viewportMax / Math.min.apply(null, arr) : Math.max.apply(null, arr));\n    }\n  }\n\n  function getCloneCountForLoop () {\n    var itemsMax = getItemsMax(),\n        result = carousel ? Math.ceil((itemsMax * 5 - slideCount)/2) : (itemsMax * 4 - slideCount);\n    result = Math.max(itemsMax, result);\n\n    return hasOption('edgePadding') ? result + 1 : result;\n  }\n\n  function getWindowWidth () {\n    return win.innerWidth || doc.documentElement.clientWidth || doc.body.clientWidth;\n  }\n\n  function getInsertPosition (pos) {\n    return pos === 'top' ? 'afterbegin' : 'beforeend';\n  }\n\n  function getClientWidth (el) {\n    if (el == null) { return; }\n    var div = doc.createElement('div'), rect, width;\n    el.appendChild(div);\n    rect = div.getBoundingClientRect();\n    width = rect.right - rect.left;\n    div.remove();\n    return width || getClientWidth(el.parentNode);\n  }\n\n  function getViewportWidth () {\n    var gap = edgePadding ? edgePadding * 2 - gutter : 0;\n    return getClientWidth(containerParent) - gap;\n  }\n\n  function hasOption (item) {\n    if (options[item]) {\n      return true;\n    } else {\n      if (responsive) {\n        for (var bp in responsive) {\n          if (responsive[bp][item]) { return true; }\n        }\n      }\n      return false;\n    }\n  }\n\n  // get option:\n  // fixed width: viewport, fixedWidth, gutter => items\n  // others: window width => all variables\n  // all: items => slideBy\n  function getOption (item, ww) {\n    if (ww == null) { ww = windowWidth; }\n\n    if (item === 'items' && fixedWidth) {\n      return Math.floor((viewport + gutter) / (fixedWidth + gutter)) || 1;\n\n    } else {\n      var result = options[item];\n\n      if (responsive) {\n        for (var bp in responsive) {\n          // bp: convert string to number\n          if (ww >= parseInt(bp)) {\n            if (item in responsive[bp]) { result = responsive[bp][item]; }\n          }\n        }\n      }\n\n      if (item === 'slideBy' && result === 'page') { result = getOption('items'); }\n      if (!carousel && (item === 'slideBy' || item === 'items')) { result = Math.floor(result); }\n\n      return result;\n    }\n  }\n\n  function getSlideMarginLeft (i) {\n    return CALC ?\n      CALC + '(' + i * 100 + '% / ' + slideCountNew + ')' :\n      i * 100 / slideCountNew + '%';\n  }\n\n  function getInnerWrapperStyles (edgePaddingTem, gutterTem, fixedWidthTem, speedTem, autoHeightBP) {\n    var str = '';\n\n    if (edgePaddingTem !== undefined) {\n      var gap = edgePaddingTem;\n      if (gutterTem) { gap -= gutterTem; }\n      str = horizontal ?\n        'margin: 0 ' + gap + 'px 0 ' + edgePaddingTem + 'px;' :\n        'margin: ' + edgePaddingTem + 'px 0 ' + gap + 'px 0;';\n    } else if (gutterTem && !fixedWidthTem) {\n      var gutterTemUnit = '-' + gutterTem + 'px',\n          dir = horizontal ? gutterTemUnit + ' 0 0' : '0 ' + gutterTemUnit + ' 0';\n      str = 'margin: 0 ' + dir + ';';\n    }\n\n    if (!carousel && autoHeightBP && TRANSITIONDURATION && speedTem) { str += getTransitionDurationStyle(speedTem); }\n    return str;\n  }\n\n  function getContainerWidth (fixedWidthTem, gutterTem, itemsTem) {\n    if (fixedWidthTem) {\n      return (fixedWidthTem + gutterTem) * slideCountNew + 'px';\n    } else {\n      return CALC ?\n        CALC + '(' + slideCountNew * 100 + '% / ' + itemsTem + ')' :\n        slideCountNew * 100 / itemsTem + '%';\n    }\n  }\n\n  function getSlideWidthStyle (fixedWidthTem, gutterTem, itemsTem) {\n    var width;\n\n    if (fixedWidthTem) {\n      width = (fixedWidthTem + gutterTem) + 'px';\n    } else {\n      if (!carousel) { itemsTem = Math.floor(itemsTem); }\n      var dividend = carousel ? slideCountNew : itemsTem;\n      width = CALC ?\n        CALC + '(100% / ' + dividend + ')' :\n        100 / dividend + '%';\n    }\n\n    width = 'width:' + width;\n\n    // inner slider: overwrite outer slider styles\n    return nested !== 'inner' ? width + ';' : width + ' !important;';\n  }\n\n  function getSlideGutterStyle (gutterTem) {\n    var str = '';\n\n    // gutter maybe interger || 0\n    // so can't use 'if (gutter)'\n    if (gutterTem !== false) {\n      var prop = horizontal ? 'padding-' : 'margin-',\n          dir = horizontal ? 'right' : 'bottom';\n      str = prop +  dir + ': ' + gutterTem + 'px;';\n    }\n\n    return str;\n  }\n\n  function getCSSPrefix (name, num) {\n    var prefix = name.substring(0, name.length - num).toLowerCase();\n    if (prefix) { prefix = '-' + prefix + '-'; }\n\n    return prefix;\n  }\n\n  function getTransitionDurationStyle (speed) {\n    return getCSSPrefix(TRANSITIONDURATION, 18) + 'transition-duration:' + speed / 1000 + 's;';\n  }\n\n  function getAnimationDurationStyle (speed) {\n    return getCSSPrefix(ANIMATIONDURATION, 17) + 'animation-duration:' + speed / 1000 + 's;';\n  }\n\n  function initStructure () {\n    var classOuter = 'tns-outer',\n        classInner = 'tns-inner',\n        hasGutter = hasOption('gutter');\n\n    outerWrapper.className = classOuter;\n    innerWrapper.className = classInner;\n    outerWrapper.id = slideId + '-ow';\n    innerWrapper.id = slideId + '-iw';\n\n    // set container properties\n    if (container.id === '') { container.id = slideId; }\n    newContainerClasses += PERCENTAGELAYOUT || autoWidth ? ' tns-subpixel' : ' tns-no-subpixel';\n    newContainerClasses += CALC ? ' tns-calc' : ' tns-no-calc';\n    if (autoWidth) { newContainerClasses += ' tns-autowidth'; }\n    newContainerClasses += ' tns-' + options.axis;\n    container.className += newContainerClasses;\n\n    // add constrain layer for carousel\n    if (carousel) {\n      middleWrapper = doc.createElement('div');\n      middleWrapper.id = slideId + '-mw';\n      middleWrapper.className = 'tns-ovh';\n\n      outerWrapper.appendChild(middleWrapper);\n      middleWrapper.appendChild(innerWrapper);\n    } else {\n      outerWrapper.appendChild(innerWrapper);\n    }\n\n    if (autoHeight) {\n      var wp = middleWrapper ? middleWrapper : innerWrapper;\n      wp.className += ' tns-ah';\n    }\n\n    containerParent.insertBefore(outerWrapper, container);\n    innerWrapper.appendChild(container);\n\n    // add id, class, aria attributes\n    // before clone slides\n    forEach(slideItems, function(item, i) {\n      addClass(item, 'tns-item');\n      if (!item.id) { item.id = slideId + '-item' + i; }\n      if (!carousel && animateNormal) { addClass(item, animateNormal); }\n      setAttrs(item, {\n        'aria-hidden': 'true',\n        'tabindex': '-1'\n      });\n    });\n\n    // ## clone slides\n    // carousel: n + slides + n\n    // gallery:      slides + n\n    if (cloneCount) {\n      var fragmentBefore = doc.createDocumentFragment(),\n          fragmentAfter = doc.createDocumentFragment();\n\n      for (var j = cloneCount; j--;) {\n        var num = j%slideCount,\n            cloneFirst = slideItems[num].cloneNode(true);\n        addClass(cloneFirst, slideClonedClass);\n        removeAttrs(cloneFirst, 'id');\n        fragmentAfter.insertBefore(cloneFirst, fragmentAfter.firstChild);\n\n        if (carousel) {\n          var cloneLast = slideItems[slideCount - 1 - num].cloneNode(true);\n          addClass(cloneLast, slideClonedClass);\n          removeAttrs(cloneLast, 'id');\n          fragmentBefore.appendChild(cloneLast);\n        }\n      }\n\n      container.insertBefore(fragmentBefore, container.firstChild);\n      container.appendChild(fragmentAfter);\n      slideItems = container.children;\n    }\n\n  }\n\n  function initSliderTransform () {\n    // ## images loaded/failed\n    if (hasOption('autoHeight') || autoWidth || !horizontal) {\n      var imgs = container.querySelectorAll('img');\n\n      // add img load event listener\n      forEach(imgs, function(img) {\n        var src = img.src;\n\n        if (!lazyload) {\n          // not data img\n          if (src && src.indexOf('data:image') < 0) {\n            img.src = '';\n            addEvents(img, imgEvents);\n            addClass(img, 'loading');\n\n            img.src = src;\n          // data img\n          } else {\n            imgLoaded(img);\n          }\n        }\n      });\n\n      // set imgsComplete\n      raf(function(){ imgsLoadedCheck(arrayFromNodeList(imgs), function() { imgsComplete = true; }); });\n\n      // reset imgs for auto height: check visible imgs only\n      if (hasOption('autoHeight')) { imgs = getImageArray(index, Math.min(index + items - 1, slideCountNew - 1)); }\n\n      lazyload ? initSliderTransformStyleCheck() : raf(function(){ imgsLoadedCheck(arrayFromNodeList(imgs), initSliderTransformStyleCheck); });\n\n    } else {\n      // set container transform property\n      if (carousel) { doContainerTransformSilent(); }\n\n      // update slider tools and events\n      initTools();\n      initEvents();\n    }\n  }\n\n  function initSliderTransformStyleCheck () {\n    if (autoWidth && slideCount > 1) {\n      // check styles application\n      var num = loop ? index : slideCount - 1;\n\n      (function stylesApplicationCheck() {\n        var left = slideItems[num].getBoundingClientRect().left;\n        var right = slideItems[num - 1].getBoundingClientRect().right;\n\n        (Math.abs(left - right) <= 1) ?\n          initSliderTransformCore() :\n          setTimeout(function(){ stylesApplicationCheck(); }, 16);\n      })();\n\n    } else {\n      initSliderTransformCore();\n    }\n  }\n\n\n  function initSliderTransformCore () {\n    // run Fn()s which are rely on image loading\n    if (!horizontal || autoWidth) {\n      setSlidePositions();\n\n      if (autoWidth) {\n        rightBoundary = getRightBoundary();\n        if (freezable) { freeze = getFreeze(); }\n        indexMax = getIndexMax(); // <= slidePositions, rightBoundary <=\n        resetVariblesWhenDisable(disable || freeze);\n      } else {\n        updateContentWrapperHeight();\n      }\n    }\n\n    // set container transform property\n    if (carousel) { doContainerTransformSilent(); }\n\n    // update slider tools and events\n    initTools();\n    initEvents();\n  }\n\n  function initSheet () {\n    // gallery:\n    // set animation classes and left value for gallery slider\n    if (!carousel) {\n      for (var i = index, l = index + Math.min(slideCount, items); i < l; i++) {\n        var item = slideItems[i];\n        item.style.left = (i - index) * 100 / items + '%';\n        addClass(item, animateIn);\n        removeClass(item, animateNormal);\n      }\n    }\n\n    // #### LAYOUT\n\n    // ## INLINE-BLOCK VS FLOAT\n\n    // ## PercentageLayout:\n    // slides: inline-block\n    // remove blank space between slides by set font-size: 0\n\n    // ## Non PercentageLayout:\n    // slides: float\n    //         margin-right: -100%\n    //         margin-left: ~\n\n    // Resource: https://docs.google.com/spreadsheets/d/147up245wwTXeQYve3BRSAD4oVcvQmuGsFteJOeA5xNQ/edit?usp=sharing\n    if (horizontal) {\n      if (PERCENTAGELAYOUT || autoWidth) {\n        addCSSRule(sheet, '#' + slideId + ' > .tns-item', 'font-size:' + win.getComputedStyle(slideItems[0]).fontSize + ';', getCssRulesLength(sheet));\n        addCSSRule(sheet, '#' + slideId, 'font-size:0;', getCssRulesLength(sheet));\n      } else if (carousel) {\n        forEach(slideItems, function (slide, i) {\n          slide.style.marginLeft = getSlideMarginLeft(i);\n        });\n      }\n    }\n\n\n    // ## BASIC STYLES\n    if (CSSMQ) {\n      // middle wrapper style\n      if (TRANSITIONDURATION) {\n        var str = middleWrapper && options.autoHeight ? getTransitionDurationStyle(options.speed) : '';\n        addCSSRule(sheet, '#' + slideId + '-mw', str, getCssRulesLength(sheet));\n      }\n\n      // inner wrapper styles\n      str = getInnerWrapperStyles(options.edgePadding, options.gutter, options.fixedWidth, options.speed, options.autoHeight);\n      addCSSRule(sheet, '#' + slideId + '-iw', str, getCssRulesLength(sheet));\n\n      // container styles\n      if (carousel) {\n        str = horizontal && !autoWidth ? 'width:' + getContainerWidth(options.fixedWidth, options.gutter, options.items) + ';' : '';\n        if (TRANSITIONDURATION) { str += getTransitionDurationStyle(speed); }\n        addCSSRule(sheet, '#' + slideId, str, getCssRulesLength(sheet));\n      }\n\n      // slide styles\n      str = horizontal && !autoWidth ? getSlideWidthStyle(options.fixedWidth, options.gutter, options.items) : '';\n      if (options.gutter) { str += getSlideGutterStyle(options.gutter); }\n      // set gallery items transition-duration\n      if (!carousel) {\n        if (TRANSITIONDURATION) { str += getTransitionDurationStyle(speed); }\n        if (ANIMATIONDURATION) { str += getAnimationDurationStyle(speed); }\n      }\n      if (str) { addCSSRule(sheet, '#' + slideId + ' > .tns-item', str, getCssRulesLength(sheet)); }\n\n    // non CSS mediaqueries: IE8\n    // ## update inner wrapper, container, slides if needed\n    // set inline styles for inner wrapper & container\n    // insert stylesheet (one line) for slides only (since slides are many)\n    } else {\n      // middle wrapper styles\n      update_carousel_transition_duration();\n\n      // inner wrapper styles\n      innerWrapper.style.cssText = getInnerWrapperStyles(edgePadding, gutter, fixedWidth, autoHeight);\n\n      // container styles\n      if (carousel && horizontal && !autoWidth) {\n        container.style.width = getContainerWidth(fixedWidth, gutter, items);\n      }\n\n      // slide styles\n      var str = horizontal && !autoWidth ? getSlideWidthStyle(fixedWidth, gutter, items) : '';\n      if (gutter) { str += getSlideGutterStyle(gutter); }\n\n      // append to the last line\n      if (str) { addCSSRule(sheet, '#' + slideId + ' > .tns-item', str, getCssRulesLength(sheet)); }\n    }\n\n    // ## MEDIAQUERIES\n    if (responsive && CSSMQ) {\n      for (var bp in responsive) {\n        // bp: convert string to number\n        bp = parseInt(bp);\n\n        var opts = responsive[bp],\n            str = '',\n            middleWrapperStr = '',\n            innerWrapperStr = '',\n            containerStr = '',\n            slideStr = '',\n            itemsBP = !autoWidth ? getOption('items', bp) : null,\n            fixedWidthBP = getOption('fixedWidth', bp),\n            speedBP = getOption('speed', bp),\n            edgePaddingBP = getOption('edgePadding', bp),\n            autoHeightBP = getOption('autoHeight', bp),\n            gutterBP = getOption('gutter', bp);\n\n        // middle wrapper string\n        if (TRANSITIONDURATION && middleWrapper && getOption('autoHeight', bp) && 'speed' in opts) {\n          middleWrapperStr = '#' + slideId + '-mw{' + getTransitionDurationStyle(speedBP) + '}';\n        }\n\n        // inner wrapper string\n        if ('edgePadding' in opts || 'gutter' in opts) {\n          innerWrapperStr = '#' + slideId + '-iw{' + getInnerWrapperStyles(edgePaddingBP, gutterBP, fixedWidthBP, speedBP, autoHeightBP) + '}';\n        }\n\n        // container string\n        if (carousel && horizontal && !autoWidth && ('fixedWidth' in opts || 'items' in opts || (fixedWidth && 'gutter' in opts))) {\n          containerStr = 'width:' + getContainerWidth(fixedWidthBP, gutterBP, itemsBP) + ';';\n        }\n        if (TRANSITIONDURATION && 'speed' in opts) {\n          containerStr += getTransitionDurationStyle(speedBP);\n        }\n        if (containerStr) {\n          containerStr = '#' + slideId + '{' + containerStr + '}';\n        }\n\n        // slide string\n        if ('fixedWidth' in opts || (fixedWidth && 'gutter' in opts) || !carousel && 'items' in opts) {\n          slideStr += getSlideWidthStyle(fixedWidthBP, gutterBP, itemsBP);\n        }\n        if ('gutter' in opts) {\n          slideStr += getSlideGutterStyle(gutterBP);\n        }\n        // set gallery items transition-duration\n        if (!carousel && 'speed' in opts) {\n          if (TRANSITIONDURATION) { slideStr += getTransitionDurationStyle(speedBP); }\n          if (ANIMATIONDURATION) { slideStr += getAnimationDurationStyle(speedBP); }\n        }\n        if (slideStr) { slideStr = '#' + slideId + ' > .tns-item{' + slideStr + '}'; }\n\n        // add up\n        str = middleWrapperStr + innerWrapperStr + containerStr + slideStr;\n\n        if (str) {\n          sheet.insertRule('@media (min-width: ' + bp / 16 + 'em) {' + str + '}', sheet.cssRules.length);\n        }\n      }\n    }\n  }\n\n  function initTools () {\n    // == slides ==\n    updateSlideStatus();\n\n    // == live region ==\n    outerWrapper.insertAdjacentHTML('afterbegin', '<div class=\"tns-liveregion tns-visually-hidden\" aria-live=\"polite\" aria-atomic=\"true\">slide <span class=\"current\">' + getLiveRegionStr() + '</span>  of ' + slideCount + '</div>');\n    liveregionCurrent = outerWrapper.querySelector('.tns-liveregion .current');\n\n    // == autoplayInit ==\n    if (hasAutoplay) {\n      var txt = autoplay ? 'stop' : 'start';\n      if (autoplayButton) {\n        setAttrs(autoplayButton, {'data-action': txt});\n      } else if (options.autoplayButtonOutput) {\n        outerWrapper.insertAdjacentHTML(getInsertPosition(options.autoplayPosition), '<button type=\"button\" data-action=\"' + txt + '\">' + autoplayHtmlStrings[0] + txt + autoplayHtmlStrings[1] + autoplayText[0] + '</button>');\n        autoplayButton = outerWrapper.querySelector('[data-action]');\n      }\n\n      // add event\n      if (autoplayButton) {\n        addEvents(autoplayButton, {'click': toggleAutoplay});\n      }\n\n      if (autoplay) {\n        startAutoplay();\n        if (autoplayHoverPause) { addEvents(container, hoverEvents); }\n        if (autoplayResetOnVisibility) { addEvents(container, visibilityEvent); }\n      }\n    }\n\n    // == navInit ==\n    if (hasNav) {\n      var initIndex = !carousel ? 0 : cloneCount;\n      // customized nav\n      // will not hide the navs in case they're thumbnails\n      if (navContainer) {\n        setAttrs(navContainer, {'aria-label': 'Carousel Pagination'});\n        navItems = navContainer.children;\n        forEach(navItems, function(item, i) {\n          setAttrs(item, {\n            'data-nav': i,\n            'tabindex': '-1',\n            'aria-label': navStr + (i + 1),\n            'aria-controls': slideId,\n          });\n        });\n\n      // generated nav\n      } else {\n        var navHtml = '',\n            hiddenStr = navAsThumbnails ? '' : 'style=\"display:none\"';\n        for (var i = 0; i < slideCount; i++) {\n          // hide nav items by default\n          navHtml += '<button type=\"button\" data-nav=\"' + i +'\" tabindex=\"-1\" aria-controls=\"' + slideId + '\" ' + hiddenStr + ' aria-label=\"' + navStr + (i + 1) +'\"></button>';\n        }\n        navHtml = '<div class=\"tns-nav\" aria-label=\"Carousel Pagination\">' + navHtml + '</div>';\n        outerWrapper.insertAdjacentHTML(getInsertPosition(options.navPosition), navHtml);\n\n        navContainer = outerWrapper.querySelector('.tns-nav');\n        navItems = navContainer.children;\n      }\n\n      updateNavVisibility();\n\n      // add transition\n      if (TRANSITIONDURATION) {\n        var prefix = TRANSITIONDURATION.substring(0, TRANSITIONDURATION.length - 18).toLowerCase(),\n            str = 'transition: all ' + speed / 1000 + 's';\n\n        if (prefix) {\n          str = '-' + prefix + '-' + str;\n        }\n\n        addCSSRule(sheet, '[aria-controls^=' + slideId + '-item]', str, getCssRulesLength(sheet));\n      }\n\n      setAttrs(navItems[navCurrentIndex], {'aria-label': navStr + (navCurrentIndex + 1) + navStrCurrent});\n      removeAttrs(navItems[navCurrentIndex], 'tabindex');\n      addClass(navItems[navCurrentIndex], navActiveClass);\n\n      // add events\n      addEvents(navContainer, navEvents);\n    }\n\n\n\n    // == controlsInit ==\n    if (hasControls) {\n      if (!controlsContainer && (!prevButton || !nextButton)) {\n        outerWrapper.insertAdjacentHTML(getInsertPosition(options.controlsPosition), '<div class=\"tns-controls\" aria-label=\"Carousel Navigation\" tabindex=\"0\"><button type=\"button\" data-controls=\"prev\" tabindex=\"-1\" aria-controls=\"' + slideId +'\">' + controlsText[0] + '</button><button type=\"button\" data-controls=\"next\" tabindex=\"-1\" aria-controls=\"' + slideId +'\">' + controlsText[1] + '</button></div>');\n\n        controlsContainer = outerWrapper.querySelector('.tns-controls');\n      }\n\n      if (!prevButton || !nextButton) {\n        prevButton = controlsContainer.children[0];\n        nextButton = controlsContainer.children[1];\n      }\n\n      if (options.controlsContainer) {\n        setAttrs(controlsContainer, {\n          'aria-label': 'Carousel Navigation',\n          'tabindex': '0'\n        });\n      }\n\n      if (options.controlsContainer || (options.prevButton && options.nextButton)) {\n        setAttrs([prevButton, nextButton], {\n          'aria-controls': slideId,\n          'tabindex': '-1',\n        });\n      }\n\n      if (options.controlsContainer || (options.prevButton && options.nextButton)) {\n        setAttrs(prevButton, {'data-controls' : 'prev'});\n        setAttrs(nextButton, {'data-controls' : 'next'});\n      }\n\n      prevIsButton = isButton(prevButton);\n      nextIsButton = isButton(nextButton);\n\n      updateControlsStatus();\n\n      // add events\n      if (controlsContainer) {\n        addEvents(controlsContainer, controlsEvents);\n      } else {\n        addEvents(prevButton, controlsEvents);\n        addEvents(nextButton, controlsEvents);\n      }\n    }\n\n    // hide tools if needed\n    disableUI();\n  }\n\n  function initEvents () {\n    // add events\n    if (carousel && TRANSITIONEND) {\n      var eve = {};\n      eve[TRANSITIONEND] = onTransitionEnd;\n      addEvents(container, eve);\n    }\n\n    if (touch) { addEvents(container, touchEvents, options.preventScrollOnTouch); }\n    if (mouseDrag) { addEvents(container, dragEvents); }\n    if (arrowKeys) { addEvents(doc, docmentKeydownEvent); }\n\n    if (nested === 'inner') {\n      events.on('outerResized', function () {\n        resizeTasks();\n        events.emit('innerLoaded', info());\n      });\n    } else if (responsive || fixedWidth || autoWidth || autoHeight || !horizontal) {\n      addEvents(win, {'resize': onResize});\n    }\n\n    if (autoHeight) {\n      if (nested === 'outer') {\n        events.on('innerLoaded', doAutoHeight);\n      } else if (!disable) { doAutoHeight(); }\n    }\n\n    doLazyLoad();\n    if (disable) { disableSlider(); } else if (freeze) { freezeSlider(); }\n\n    events.on('indexChanged', additionalUpdates);\n    if (nested === 'inner') { events.emit('innerLoaded', info()); }\n    if (typeof onInit === 'function') { onInit(info()); }\n    isOn = true;\n  }\n\n  function destroy () {\n    // sheet\n    sheet.disabled = true;\n    if (sheet.ownerNode) { sheet.ownerNode.remove(); }\n\n    // remove win event listeners\n    removeEvents(win, {'resize': onResize});\n\n    // arrowKeys, controls, nav\n    if (arrowKeys) { removeEvents(doc, docmentKeydownEvent); }\n    if (controlsContainer) { removeEvents(controlsContainer, controlsEvents); }\n    if (navContainer) { removeEvents(navContainer, navEvents); }\n\n    // autoplay\n    removeEvents(container, hoverEvents);\n    removeEvents(container, visibilityEvent);\n    if (autoplayButton) { removeEvents(autoplayButton, {'click': toggleAutoplay}); }\n    if (autoplay) { clearInterval(autoplayTimer); }\n\n    // container\n    if (carousel && TRANSITIONEND) {\n      var eve = {};\n      eve[TRANSITIONEND] = onTransitionEnd;\n      removeEvents(container, eve);\n    }\n    if (touch) { removeEvents(container, touchEvents); }\n    if (mouseDrag) { removeEvents(container, dragEvents); }\n\n    // cache Object values in options && reset HTML\n    var htmlList = [containerHTML, controlsContainerHTML, prevButtonHTML, nextButtonHTML, navContainerHTML, autoplayButtonHTML];\n\n    tnsList.forEach(function(item, i) {\n      var el = item === 'container' ? outerWrapper : options[item];\n\n      if (typeof el === 'object' && el) {\n        var prevEl = el.previousElementSibling ? el.previousElementSibling : false,\n            parentEl = el.parentNode;\n        el.outerHTML = htmlList[i];\n        options[item] = prevEl ? prevEl.nextElementSibling : parentEl.firstElementChild;\n      }\n    });\n\n\n    // reset variables\n    tnsList = animateIn = animateOut = animateDelay = animateNormal = horizontal = outerWrapper = innerWrapper = container = containerParent = containerHTML = slideItems = slideCount = breakpointZone = windowWidth = autoWidth = fixedWidth = edgePadding = gutter = viewport = items = slideBy = viewportMax = arrowKeys = speed = rewind = loop = autoHeight = sheet = lazyload = slidePositions = slideItemsOut = cloneCount = slideCountNew = hasRightDeadZone = rightBoundary = updateIndexBeforeTransform = transformAttr = transformPrefix = transformPostfix = getIndexMax = index = indexCached = indexMin = indexMax = resizeTimer = swipeAngle = moveDirectionExpected = running = onInit = events = newContainerClasses = slideId = disable = disabled = freezable = freeze = frozen = controlsEvents = navEvents = hoverEvents = visibilityEvent = docmentKeydownEvent = touchEvents = dragEvents = hasControls = hasNav = navAsThumbnails = hasAutoplay = hasTouch = hasMouseDrag = slideActiveClass = imgCompleteClass = imgEvents = imgsComplete = controls = controlsText = controlsContainer = controlsContainerHTML = prevButton = nextButton = prevIsButton = nextIsButton = nav = navContainer = navContainerHTML = navItems = pages = pagesCached = navClicked = navCurrentIndex = navCurrentIndexCached = navActiveClass = navStr = navStrCurrent = autoplay = autoplayTimeout = autoplayDirection = autoplayText = autoplayHoverPause = autoplayButton = autoplayButtonHTML = autoplayResetOnVisibility = autoplayHtmlStrings = autoplayTimer = animating = autoplayHoverPaused = autoplayUserPaused = autoplayVisibilityPaused = initPosition = lastPosition = translateInit = disX = disY = panStart = rafIndex = getDist = touch = mouseDrag = null;\n    // check variables\n    // [animateIn, animateOut, animateDelay, animateNormal, horizontal, outerWrapper, innerWrapper, container, containerParent, containerHTML, slideItems, slideCount, breakpointZone, windowWidth, autoWidth, fixedWidth, edgePadding, gutter, viewport, items, slideBy, viewportMax, arrowKeys, speed, rewind, loop, autoHeight, sheet, lazyload, slidePositions, slideItemsOut, cloneCount, slideCountNew, hasRightDeadZone, rightBoundary, updateIndexBeforeTransform, transformAttr, transformPrefix, transformPostfix, getIndexMax, index, indexCached, indexMin, indexMax, resizeTimer, swipeAngle, moveDirectionExpected, running, onInit, events, newContainerClasses, slideId, disable, disabled, freezable, freeze, frozen, controlsEvents, navEvents, hoverEvents, visibilityEvent, docmentKeydownEvent, touchEvents, dragEvents, hasControls, hasNav, navAsThumbnails, hasAutoplay, hasTouch, hasMouseDrag, slideActiveClass, imgCompleteClass, imgEvents, imgsComplete, controls, controlsText, controlsContainer, controlsContainerHTML, prevButton, nextButton, prevIsButton, nextIsButton, nav, navContainer, navContainerHTML, navItems, pages, pagesCached, navClicked, navCurrentIndex, navCurrentIndexCached, navActiveClass, navStr, navStrCurrent, autoplay, autoplayTimeout, autoplayDirection, autoplayText, autoplayHoverPause, autoplayButton, autoplayButtonHTML, autoplayResetOnVisibility, autoplayHtmlStrings, autoplayTimer, animating, autoplayHoverPaused, autoplayUserPaused, autoplayVisibilityPaused, initPosition, lastPosition, translateInit, disX, disY, panStart, rafIndex, getDist, touch, mouseDrag ].forEach(function(item) { if (item !== null) { console.log(item); } });\n\n    for (var a in this) {\n      if (a !== 'rebuild') { this[a] = null; }\n    }\n    isOn = false;\n  }\n\n// === ON RESIZE ===\n  // responsive || fixedWidth || autoWidth || !horizontal\n  function onResize (e) {\n    raf(function(){ resizeTasks(getEvent(e)); });\n  }\n\n  function resizeTasks (e) {\n    if (!isOn) { return; }\n    if (nested === 'outer') { events.emit('outerResized', info(e)); }\n    windowWidth = getWindowWidth();\n    var bpChanged,\n        breakpointZoneTem = breakpointZone,\n        needContainerTransform = false;\n\n    if (responsive) {\n      setBreakpointZone();\n      bpChanged = breakpointZoneTem !== breakpointZone;\n      // if (hasRightDeadZone) { needContainerTransform = true; } // *?\n      if (bpChanged) { events.emit('newBreakpointStart', info(e)); }\n    }\n\n    var indChanged,\n        itemsChanged,\n        itemsTem = items,\n        disableTem = disable,\n        freezeTem = freeze,\n        arrowKeysTem = arrowKeys,\n        controlsTem = controls,\n        navTem = nav,\n        touchTem = touch,\n        mouseDragTem = mouseDrag,\n        autoplayTem = autoplay,\n        autoplayHoverPauseTem = autoplayHoverPause,\n        autoplayResetOnVisibilityTem = autoplayResetOnVisibility,\n        indexTem = index;\n\n    if (bpChanged) {\n      var fixedWidthTem = fixedWidth,\n          autoHeightTem = autoHeight,\n          controlsTextTem = controlsText,\n          centerTem = center,\n          autoplayTextTem = autoplayText;\n\n      if (!CSSMQ) {\n        var gutterTem = gutter,\n            edgePaddingTem = edgePadding;\n      }\n    }\n\n    // get option:\n    // fixed width: viewport, fixedWidth, gutter => items\n    // others: window width => all variables\n    // all: items => slideBy\n    arrowKeys = getOption('arrowKeys');\n    controls = getOption('controls');\n    nav = getOption('nav');\n    touch = getOption('touch');\n    center = getOption('center');\n    mouseDrag = getOption('mouseDrag');\n    autoplay = getOption('autoplay');\n    autoplayHoverPause = getOption('autoplayHoverPause');\n    autoplayResetOnVisibility = getOption('autoplayResetOnVisibility');\n\n    if (bpChanged) {\n      disable = getOption('disable');\n      fixedWidth = getOption('fixedWidth');\n      speed = getOption('speed');\n      autoHeight = getOption('autoHeight');\n      controlsText = getOption('controlsText');\n      autoplayText = getOption('autoplayText');\n      autoplayTimeout = getOption('autoplayTimeout');\n\n      if (!CSSMQ) {\n        edgePadding = getOption('edgePadding');\n        gutter = getOption('gutter');\n      }\n    }\n    // update options\n    resetVariblesWhenDisable(disable);\n\n    viewport = getViewportWidth(); // <= edgePadding, gutter\n    if ((!horizontal || autoWidth) && !disable) {\n      setSlidePositions();\n      if (!horizontal) {\n        updateContentWrapperHeight(); // <= setSlidePositions\n        needContainerTransform = true;\n      }\n    }\n    if (fixedWidth || autoWidth) {\n      rightBoundary = getRightBoundary(); // autoWidth: <= viewport, slidePositions, gutter\n                                          // fixedWidth: <= viewport, fixedWidth, gutter\n      indexMax = getIndexMax(); // autoWidth: <= rightBoundary, slidePositions\n                                // fixedWidth: <= rightBoundary, fixedWidth, gutter\n    }\n\n    if (bpChanged || fixedWidth) {\n      items = getOption('items');\n      slideBy = getOption('slideBy');\n      itemsChanged = items !== itemsTem;\n\n      if (itemsChanged) {\n        if (!fixedWidth && !autoWidth) { indexMax = getIndexMax(); } // <= items\n        // check index before transform in case\n        // slider reach the right edge then items become bigger\n        updateIndex();\n      }\n    }\n\n    if (bpChanged) {\n      if (disable !== disableTem) {\n        if (disable) {\n          disableSlider();\n        } else {\n          enableSlider(); // <= slidePositions, rightBoundary, indexMax\n        }\n      }\n    }\n\n    if (freezable && (bpChanged || fixedWidth || autoWidth)) {\n      freeze = getFreeze(); // <= autoWidth: slidePositions, gutter, viewport, rightBoundary\n                            // <= fixedWidth: fixedWidth, gutter, rightBoundary\n                            // <= others: items\n\n      if (freeze !== freezeTem) {\n        if (freeze) {\n          doContainerTransform(getContainerTransformValue(getStartIndex(0)));\n          freezeSlider();\n        } else {\n          unfreezeSlider();\n          needContainerTransform = true;\n        }\n      }\n    }\n\n    resetVariblesWhenDisable(disable || freeze); // controls, nav, touch, mouseDrag, arrowKeys, autoplay, autoplayHoverPause, autoplayResetOnVisibility\n    if (!autoplay) { autoplayHoverPause = autoplayResetOnVisibility = false; }\n\n    if (arrowKeys !== arrowKeysTem) {\n      arrowKeys ?\n        addEvents(doc, docmentKeydownEvent) :\n        removeEvents(doc, docmentKeydownEvent);\n    }\n    if (controls !== controlsTem) {\n      if (controls) {\n        if (controlsContainer) {\n          showElement(controlsContainer);\n        } else {\n          if (prevButton) { showElement(prevButton); }\n          if (nextButton) { showElement(nextButton); }\n        }\n      } else {\n        if (controlsContainer) {\n          hideElement(controlsContainer);\n        } else {\n          if (prevButton) { hideElement(prevButton); }\n          if (nextButton) { hideElement(nextButton); }\n        }\n      }\n    }\n    if (nav !== navTem) {\n      if (nav) {\n        showElement(navContainer);\n        updateNavVisibility();\n      } else {\n        hideElement(navContainer);\n      }\n    }\n    if (touch !== touchTem) {\n      touch ?\n        addEvents(container, touchEvents, options.preventScrollOnTouch) :\n        removeEvents(container, touchEvents);\n    }\n    if (mouseDrag !== mouseDragTem) {\n      mouseDrag ?\n        addEvents(container, dragEvents) :\n        removeEvents(container, dragEvents);\n    }\n    if (autoplay !== autoplayTem) {\n      if (autoplay) {\n        if (autoplayButton) { showElement(autoplayButton); }\n        if (!animating && !autoplayUserPaused) { startAutoplay(); }\n      } else {\n        if (autoplayButton) { hideElement(autoplayButton); }\n        if (animating) { stopAutoplay(); }\n      }\n    }\n    if (autoplayHoverPause !== autoplayHoverPauseTem) {\n      autoplayHoverPause ?\n        addEvents(container, hoverEvents) :\n        removeEvents(container, hoverEvents);\n    }\n    if (autoplayResetOnVisibility !== autoplayResetOnVisibilityTem) {\n      autoplayResetOnVisibility ?\n        addEvents(doc, visibilityEvent) :\n        removeEvents(doc, visibilityEvent);\n    }\n\n    if (bpChanged) {\n      if (fixedWidth !== fixedWidthTem || center !== centerTem) { needContainerTransform = true; }\n\n      if (autoHeight !== autoHeightTem) {\n        if (!autoHeight) { innerWrapper.style.height = ''; }\n      }\n\n      if (controls && controlsText !== controlsTextTem) {\n        prevButton.innerHTML = controlsText[0];\n        nextButton.innerHTML = controlsText[1];\n      }\n\n      if (autoplayButton && autoplayText !== autoplayTextTem) {\n        var i = autoplay ? 1 : 0,\n            html = autoplayButton.innerHTML,\n            len = html.length - autoplayTextTem[i].length;\n        if (html.substring(len) === autoplayTextTem[i]) {\n          autoplayButton.innerHTML = html.substring(0, len) + autoplayText[i];\n        }\n      }\n    } else {\n      if (center && (fixedWidth || autoWidth)) { needContainerTransform = true; }\n    }\n\n    if (itemsChanged || fixedWidth && !autoWidth) {\n      pages = getPages();\n      updateNavVisibility();\n    }\n\n    indChanged = index !== indexTem;\n    if (indChanged) {\n      events.emit('indexChanged', info());\n      needContainerTransform = true;\n    } else if (itemsChanged) {\n      if (!indChanged) { additionalUpdates(); }\n    } else if (fixedWidth || autoWidth) {\n      doLazyLoad();\n      updateSlideStatus();\n      updateLiveRegion();\n    }\n\n    if (itemsChanged && !carousel) { updateGallerySlidePositions(); }\n\n    if (!disable && !freeze) {\n      // non-mediaqueries: IE8\n      if (bpChanged && !CSSMQ) {\n        // middle wrapper styles\n\n        // inner wrapper styles\n        if (edgePadding !== edgePaddingTem || gutter !== gutterTem) {\n          innerWrapper.style.cssText = getInnerWrapperStyles(edgePadding, gutter, fixedWidth, speed, autoHeight);\n        }\n\n        if (horizontal) {\n          // container styles\n          if (carousel) {\n            container.style.width = getContainerWidth(fixedWidth, gutter, items);\n          }\n\n          // slide styles\n          var str = getSlideWidthStyle(fixedWidth, gutter, items) +\n                    getSlideGutterStyle(gutter);\n\n          // remove the last line and\n          // add new styles\n          removeCSSRule(sheet, getCssRulesLength(sheet) - 1);\n          addCSSRule(sheet, '#' + slideId + ' > .tns-item', str, getCssRulesLength(sheet));\n        }\n      }\n\n      // auto height\n      if (autoHeight) { doAutoHeight(); }\n\n      if (needContainerTransform) {\n        doContainerTransformSilent();\n        indexCached = index;\n      }\n    }\n\n    if (bpChanged) { events.emit('newBreakpointEnd', info(e)); }\n  }\n\n\n\n\n\n  // === INITIALIZATION FUNCTIONS === //\n  function getFreeze () {\n    if (!fixedWidth && !autoWidth) {\n      var a = center ? items - (items - 1) / 2 : items;\n      return  slideCount <= a;\n    }\n\n    var width = fixedWidth ? (fixedWidth + gutter) * slideCount : slidePositions[slideCount],\n        vp = edgePadding ? viewport + edgePadding * 2 : viewport + gutter;\n\n    if (center) {\n      vp -= fixedWidth ? (viewport - fixedWidth) / 2 : (viewport - (slidePositions[index + 1] - slidePositions[index] - gutter)) / 2;\n    }\n\n    return width <= vp;\n  }\n\n  function setBreakpointZone () {\n    breakpointZone = 0;\n    for (var bp in responsive) {\n      bp = parseInt(bp); // convert string to number\n      if (windowWidth >= bp) { breakpointZone = bp; }\n    }\n  }\n\n  // (slideBy, indexMin, indexMax) => index\n  var updateIndex = (function () {\n    return loop ?\n      carousel ?\n        // loop + carousel\n        function () {\n          var leftEdge = indexMin,\n              rightEdge = indexMax;\n\n          leftEdge += slideBy;\n          rightEdge -= slideBy;\n\n          // adjust edges when has edge paddings\n          // or fixed-width slider with extra space on the right side\n          if (edgePadding) {\n            leftEdge += 1;\n            rightEdge -= 1;\n          } else if (fixedWidth) {\n            if ((viewport + gutter)%(fixedWidth + gutter)) { rightEdge -= 1; }\n          }\n\n          if (cloneCount) {\n            if (index > rightEdge) {\n              index -= slideCount;\n            } else if (index < leftEdge) {\n              index += slideCount;\n            }\n          }\n        } :\n        // loop + gallery\n        function() {\n          if (index > indexMax) {\n            while (index >= indexMin + slideCount) { index -= slideCount; }\n          } else if (index < indexMin) {\n            while (index <= indexMax - slideCount) { index += slideCount; }\n          }\n        } :\n      // non-loop\n      function() {\n        index = Math.max(indexMin, Math.min(indexMax, index));\n      };\n  })();\n\n  function disableUI () {\n    if (!autoplay && autoplayButton) { hideElement(autoplayButton); }\n    if (!nav && navContainer) { hideElement(navContainer); }\n    if (!controls) {\n      if (controlsContainer) {\n        hideElement(controlsContainer);\n      } else {\n        if (prevButton) { hideElement(prevButton); }\n        if (nextButton) { hideElement(nextButton); }\n      }\n    }\n  }\n\n  function enableUI () {\n    if (autoplay && autoplayButton) { showElement(autoplayButton); }\n    if (nav && navContainer) { showElement(navContainer); }\n    if (controls) {\n      if (controlsContainer) {\n        showElement(controlsContainer);\n      } else {\n        if (prevButton) { showElement(prevButton); }\n        if (nextButton) { showElement(nextButton); }\n      }\n    }\n  }\n\n  function freezeSlider () {\n    if (frozen) { return; }\n\n    // remove edge padding from inner wrapper\n    if (edgePadding) { innerWrapper.style.margin = '0px'; }\n\n    // add class tns-transparent to cloned slides\n    if (cloneCount) {\n      var str = 'tns-transparent';\n      for (var i = cloneCount; i--;) {\n        if (carousel) { addClass(slideItems[i], str); }\n        addClass(slideItems[slideCountNew - i - 1], str);\n      }\n    }\n\n    // update tools\n    disableUI();\n\n    frozen = true;\n  }\n\n  function unfreezeSlider () {\n    if (!frozen) { return; }\n\n    // restore edge padding for inner wrapper\n    // for mordern browsers\n    if (edgePadding && CSSMQ) { innerWrapper.style.margin = ''; }\n\n    // remove class tns-transparent to cloned slides\n    if (cloneCount) {\n      var str = 'tns-transparent';\n      for (var i = cloneCount; i--;) {\n        if (carousel) { removeClass(slideItems[i], str); }\n        removeClass(slideItems[slideCountNew - i - 1], str);\n      }\n    }\n\n    // update tools\n    enableUI();\n\n    frozen = false;\n  }\n\n  function disableSlider () {\n    if (disabled) { return; }\n\n    sheet.disabled = true;\n    container.className = container.className.replace(newContainerClasses.substring(1), '');\n    removeAttrs(container, ['style']);\n    if (loop) {\n      for (var j = cloneCount; j--;) {\n        if (carousel) { hideElement(slideItems[j]); }\n        hideElement(slideItems[slideCountNew - j - 1]);\n      }\n    }\n\n    // vertical slider\n    if (!horizontal || !carousel) { removeAttrs(innerWrapper, ['style']); }\n\n    // gallery\n    if (!carousel) {\n      for (var i = index, l = index + slideCount; i < l; i++) {\n        var item = slideItems[i];\n        removeAttrs(item, ['style']);\n        removeClass(item, animateIn);\n        removeClass(item, animateNormal);\n      }\n    }\n\n    // update tools\n    disableUI();\n\n    disabled = true;\n  }\n\n  function enableSlider () {\n    if (!disabled) { return; }\n\n    sheet.disabled = false;\n    container.className += newContainerClasses;\n    doContainerTransformSilent();\n\n    if (loop) {\n      for (var j = cloneCount; j--;) {\n        if (carousel) { showElement(slideItems[j]); }\n        showElement(slideItems[slideCountNew - j - 1]);\n      }\n    }\n\n    // gallery\n    if (!carousel) {\n      for (var i = index, l = index + slideCount; i < l; i++) {\n        var item = slideItems[i],\n            classN = i < index + items ? animateIn : animateNormal;\n        item.style.left = (i - index) * 100 / items + '%';\n        addClass(item, classN);\n      }\n    }\n\n    // update tools\n    enableUI();\n\n    disabled = false;\n  }\n\n  function updateLiveRegion () {\n    var str = getLiveRegionStr();\n    if (liveregionCurrent.innerHTML !== str) { liveregionCurrent.innerHTML = str; }\n  }\n\n  function getLiveRegionStr () {\n    var arr = getVisibleSlideRange(),\n        start = arr[0] + 1,\n        end = arr[1] + 1;\n    return start === end ? start + '' : start + ' to ' + end;\n  }\n\n  function getVisibleSlideRange (val) {\n    if (val == null) { val = getContainerTransformValue(); }\n    var start = index, end, rangestart, rangeend;\n\n    // get range start, range end for autoWidth and fixedWidth\n    if (center || edgePadding) {\n      if (autoWidth || fixedWidth) {\n        rangestart = - (parseFloat(val) + edgePadding);\n        rangeend = rangestart + viewport + edgePadding * 2;\n      }\n    } else {\n      if (autoWidth) {\n        rangestart = slidePositions[index];\n        rangeend = rangestart + viewport;\n      }\n    }\n\n    // get start, end\n    // - check auto width\n    if (autoWidth) {\n      slidePositions.forEach(function(point, i) {\n        if (i < slideCountNew) {\n          if ((center || edgePadding) && point <= rangestart + 0.5) { start = i; }\n          if (rangeend - point >= 0.5) { end = i; }\n        }\n      });\n\n    // - check percentage width, fixed width\n    } else {\n\n      if (fixedWidth) {\n        var cell = fixedWidth + gutter;\n        if (center || edgePadding) {\n          start = Math.floor(rangestart/cell);\n          end = Math.ceil(rangeend/cell - 1);\n        } else {\n          end = start + Math.ceil(viewport/cell) - 1;\n        }\n\n      } else {\n        if (center || edgePadding) {\n          var a = items - 1;\n          if (center) {\n            start -= a / 2;\n            end = index + a / 2;\n          } else {\n            end = index + a;\n          }\n\n          if (edgePadding) {\n            var b = edgePadding * items / viewport;\n            start -= b;\n            end += b;\n          }\n\n          start = Math.floor(start);\n          end = Math.ceil(end);\n        } else {\n          end = start + items - 1;\n        }\n      }\n\n      start = Math.max(start, 0);\n      end = Math.min(end, slideCountNew - 1);\n    }\n\n    return [start, end];\n  }\n\n  function doLazyLoad () {\n    if (lazyload && !disable) {\n      var arg = getVisibleSlideRange();\n      arg.push(lazyloadSelector);\n\n      getImageArray.apply(null, arg).forEach(function (img) {\n        if (!hasClass(img, imgCompleteClass)) {\n          // stop propagation transitionend event to container\n          var eve = {};\n          eve[TRANSITIONEND] = function (e) { e.stopPropagation(); };\n          addEvents(img, eve);\n\n          addEvents(img, imgEvents);\n\n          // update src\n          img.src = getAttr(img, 'data-src');\n\n          // update srcset\n          var srcset = getAttr(img, 'data-srcset');\n          if (srcset) { img.srcset = srcset; }\n\n          addClass(img, 'loading');\n        }\n      });\n    }\n  }\n\n  function onImgLoaded (e) {\n    imgLoaded(getTarget(e));\n  }\n\n  function onImgFailed (e) {\n    imgFailed(getTarget(e));\n  }\n\n  function imgLoaded (img) {\n    addClass(img, 'loaded');\n    imgCompleted(img);\n  }\n\n  function imgFailed (img) {\n    addClass(img, 'failed');\n    imgCompleted(img);\n  }\n\n  function imgCompleted (img) {\n    addClass(img, imgCompleteClass);\n    removeClass(img, 'loading');\n    removeEvents(img, imgEvents);\n  }\n\n  function getImageArray (start, end, imgSelector) {\n    var imgs = [];\n    if (!imgSelector) { imgSelector = 'img'; }\n\n    while (start <= end) {\n      forEach(slideItems[start].querySelectorAll(imgSelector), function (img) { imgs.push(img); });\n      start++;\n    }\n\n    return imgs;\n  }\n\n  // check if all visible images are loaded\n  // and update container height if it's done\n  function doAutoHeight () {\n    var imgs = getImageArray.apply(null, getVisibleSlideRange());\n    raf(function(){ imgsLoadedCheck(imgs, updateInnerWrapperHeight); });\n  }\n\n  function imgsLoadedCheck (imgs, cb) {\n    // execute callback function if all images are complete\n    if (imgsComplete) { return cb(); }\n\n    // check image classes\n    imgs.forEach(function (img, index) {\n      if (!lazyload && img.complete) { imgCompleted(img); } // Check image.complete\n      if (hasClass(img, imgCompleteClass)) { imgs.splice(index, 1); }\n    });\n\n    // execute callback function if selected images are all complete\n    if (!imgs.length) { return cb(); }\n\n    // otherwise execute this functiona again\n    raf(function(){ imgsLoadedCheck(imgs, cb); });\n  }\n\n  function additionalUpdates () {\n    doLazyLoad();\n    updateSlideStatus();\n    updateLiveRegion();\n    updateControlsStatus();\n    updateNavStatus();\n  }\n\n\n  function update_carousel_transition_duration () {\n    if (carousel && autoHeight) {\n      middleWrapper.style[TRANSITIONDURATION] = speed / 1000 + 's';\n    }\n  }\n\n  function getMaxSlideHeight (slideStart, slideRange) {\n    var heights = [];\n    for (var i = slideStart, l = Math.min(slideStart + slideRange, slideCountNew); i < l; i++) {\n      heights.push(slideItems[i].offsetHeight);\n    }\n\n    return Math.max.apply(null, heights);\n  }\n\n  // update inner wrapper height\n  // 1. get the max-height of the visible slides\n  // 2. set transitionDuration to speed\n  // 3. update inner wrapper height to max-height\n  // 4. set transitionDuration to 0s after transition done\n  function updateInnerWrapperHeight () {\n    var maxHeight = autoHeight ? getMaxSlideHeight(index, items) : getMaxSlideHeight(cloneCount, slideCount),\n        wp = middleWrapper ? middleWrapper : innerWrapper;\n\n    if (wp.style.height !== maxHeight) { wp.style.height = maxHeight + 'px'; }\n  }\n\n  // get the distance from the top edge of the first slide to each slide\n  // (init) => slidePositions\n  function setSlidePositions () {\n    slidePositions = [0];\n    var attr = horizontal ? 'left' : 'top',\n        attr2 = horizontal ? 'right' : 'bottom',\n        base = slideItems[0].getBoundingClientRect()[attr];\n\n    forEach(slideItems, function(item, i) {\n      // skip the first slide\n      if (i) { slidePositions.push(item.getBoundingClientRect()[attr] - base); }\n      // add the end edge\n      if (i === slideCountNew - 1) { slidePositions.push(item.getBoundingClientRect()[attr2] - base); }\n    });\n  }\n\n  // update slide\n  function updateSlideStatus () {\n    var range = getVisibleSlideRange(),\n        start = range[0],\n        end = range[1];\n\n    forEach(slideItems, function(item, i) {\n      // show slides\n      if (i >= start && i <= end) {\n        if (hasAttr(item, 'aria-hidden')) {\n          removeAttrs(item, ['aria-hidden', 'tabindex']);\n          addClass(item, slideActiveClass);\n        }\n      // hide slides\n      } else {\n        if (!hasAttr(item, 'aria-hidden')) {\n          setAttrs(item, {\n            'aria-hidden': 'true',\n            'tabindex': '-1'\n          });\n          removeClass(item, slideActiveClass);\n        }\n      }\n    });\n  }\n\n  // gallery: update slide position\n  function updateGallerySlidePositions () {\n    var l = index + Math.min(slideCount, items);\n    for (var i = slideCountNew; i--;) {\n      var item = slideItems[i];\n\n      if (i >= index && i < l) {\n        // add transitions to visible slides when adjusting their positions\n        addClass(item, 'tns-moving');\n\n        item.style.left = (i - index) * 100 / items + '%';\n        addClass(item, animateIn);\n        removeClass(item, animateNormal);\n      } else if (item.style.left) {\n        item.style.left = '';\n        addClass(item, animateNormal);\n        removeClass(item, animateIn);\n      }\n\n      // remove outlet animation\n      removeClass(item, animateOut);\n    }\n\n    // removing '.tns-moving'\n    setTimeout(function() {\n      forEach(slideItems, function(el) {\n        removeClass(el, 'tns-moving');\n      });\n    }, 300);\n  }\n\n  // set tabindex on Nav\n  function updateNavStatus () {\n    // get current nav\n    if (nav) {\n      navCurrentIndex = navClicked >= 0 ? navClicked : getCurrentNavIndex();\n      navClicked = -1;\n\n      if (navCurrentIndex !== navCurrentIndexCached) {\n        var navPrev = navItems[navCurrentIndexCached],\n            navCurrent = navItems[navCurrentIndex];\n\n        setAttrs(navPrev, {\n          'tabindex': '-1',\n          'aria-label': navStr + (navCurrentIndexCached + 1)\n        });\n        removeClass(navPrev, navActiveClass);\n\n        setAttrs(navCurrent, {'aria-label': navStr + (navCurrentIndex + 1) + navStrCurrent});\n        removeAttrs(navCurrent, 'tabindex');\n        addClass(navCurrent, navActiveClass);\n\n        navCurrentIndexCached = navCurrentIndex;\n      }\n    }\n  }\n\n  function getLowerCaseNodeName (el) {\n    return el.nodeName.toLowerCase();\n  }\n\n  function isButton (el) {\n    return getLowerCaseNodeName(el) === 'button';\n  }\n\n  function isAriaDisabled (el) {\n    return el.getAttribute('aria-disabled') === 'true';\n  }\n\n  function disEnableElement (isButton, el, val) {\n    if (isButton) {\n      el.disabled = val;\n    } else {\n      el.setAttribute('aria-disabled', val.toString());\n    }\n  }\n\n  // set 'disabled' to true on controls when reach the edges\n  function updateControlsStatus () {\n    if (!controls || rewind || loop) { return; }\n\n    var prevDisabled = (prevIsButton) ? prevButton.disabled : isAriaDisabled(prevButton),\n        nextDisabled = (nextIsButton) ? nextButton.disabled : isAriaDisabled(nextButton),\n        disablePrev = (index <= indexMin) ? true : false,\n        disableNext = (!rewind && index >= indexMax) ? true : false;\n\n    if (disablePrev && !prevDisabled) {\n      disEnableElement(prevIsButton, prevButton, true);\n    }\n    if (!disablePrev && prevDisabled) {\n      disEnableElement(prevIsButton, prevButton, false);\n    }\n    if (disableNext && !nextDisabled) {\n      disEnableElement(nextIsButton, nextButton, true);\n    }\n    if (!disableNext && nextDisabled) {\n      disEnableElement(nextIsButton, nextButton, false);\n    }\n  }\n\n  // set duration\n  function resetDuration (el, str) {\n    if (TRANSITIONDURATION) { el.style[TRANSITIONDURATION] = str; }\n  }\n\n  function getSliderWidth () {\n    return fixedWidth ? (fixedWidth + gutter) * slideCountNew : slidePositions[slideCountNew];\n  }\n\n  function getCenterGap (num) {\n    if (num == null) { num = index; }\n\n    var gap = edgePadding ? gutter : 0;\n    return autoWidth ? ((viewport - gap) - (slidePositions[num + 1] - slidePositions[num] - gutter))/2 :\n      fixedWidth ? (viewport - fixedWidth) / 2 :\n        (items - 1) / 2;\n  }\n\n  function getRightBoundary () {\n    var gap = edgePadding ? gutter : 0,\n        result = (viewport + gap) - getSliderWidth();\n\n    if (center && !loop) {\n      result = fixedWidth ? - (fixedWidth + gutter) * (slideCountNew - 1) - getCenterGap() :\n        getCenterGap(slideCountNew - 1) - slidePositions[slideCountNew - 1];\n    }\n    if (result > 0) { result = 0; }\n\n    return result;\n  }\n\n  function getContainerTransformValue (num) {\n    if (num == null) { num = index; }\n\n    var val;\n    if (horizontal && !autoWidth) {\n      if (fixedWidth) {\n        val = - (fixedWidth + gutter) * num;\n        if (center) { val += getCenterGap(); }\n      } else {\n        var denominator = TRANSFORM ? slideCountNew : items;\n        if (center) { num -= getCenterGap(); }\n        val = - num * 100 / denominator;\n      }\n    } else {\n      val = - slidePositions[num];\n      if (center && autoWidth) {\n        val += getCenterGap();\n      }\n    }\n\n    if (hasRightDeadZone) { val = Math.max(val, rightBoundary); }\n\n    val += (horizontal && !autoWidth && !fixedWidth) ? '%' : 'px';\n\n    return val;\n  }\n\n  function doContainerTransformSilent (val) {\n    resetDuration(container, '0s');\n    doContainerTransform(val);\n  }\n\n  function doContainerTransform (val) {\n    if (val == null) { val = getContainerTransformValue(); }\n    container.style[transformAttr] = transformPrefix + val + transformPostfix;\n  }\n\n  function animateSlide (number, classOut, classIn, isOut) {\n    var l = number + items;\n    if (!loop) { l = Math.min(l, slideCountNew); }\n\n    for (var i = number; i < l; i++) {\n        var item = slideItems[i];\n\n      // set item positions\n      if (!isOut) { item.style.left = (i - index) * 100 / items + '%'; }\n\n      if (animateDelay && TRANSITIONDELAY) {\n        item.style[TRANSITIONDELAY] = item.style[ANIMATIONDELAY] = animateDelay * (i - number) / 1000 + 's';\n      }\n      removeClass(item, classOut);\n      addClass(item, classIn);\n\n      if (isOut) { slideItemsOut.push(item); }\n    }\n  }\n\n  // make transfer after click/drag:\n  // 1. change 'transform' property for mordern browsers\n  // 2. change 'left' property for legacy browsers\n  var transformCore = (function () {\n    return carousel ?\n      function () {\n        resetDuration(container, '');\n        if (TRANSITIONDURATION || !speed) {\n          // for morden browsers with non-zero duration or\n          // zero duration for all browsers\n          doContainerTransform();\n          // run fallback function manually\n          // when duration is 0 / container is hidden\n          if (!speed || !isVisible(container)) { onTransitionEnd(); }\n\n        } else {\n          // for old browser with non-zero duration\n          jsTransform(container, transformAttr, transformPrefix, transformPostfix, getContainerTransformValue(), speed, onTransitionEnd);\n        }\n\n        if (!horizontal) { updateContentWrapperHeight(); }\n      } :\n      function () {\n        slideItemsOut = [];\n\n        var eve = {};\n        eve[TRANSITIONEND] = eve[ANIMATIONEND] = onTransitionEnd;\n        removeEvents(slideItems[indexCached], eve);\n        addEvents(slideItems[index], eve);\n\n        animateSlide(indexCached, animateIn, animateOut, true);\n        animateSlide(index, animateNormal, animateIn);\n\n        // run fallback function manually\n        // when transition or animation not supported / duration is 0\n        if (!TRANSITIONEND || !ANIMATIONEND || !speed || !isVisible(container)) { onTransitionEnd(); }\n      };\n  })();\n\n  function render (e, sliderMoved) {\n    if (updateIndexBeforeTransform) { updateIndex(); }\n\n    // render when slider was moved (touch or drag) even though index may not change\n    if (index !== indexCached || sliderMoved) {\n      // events\n      events.emit('indexChanged', info());\n      events.emit('transitionStart', info());\n      if (autoHeight) { doAutoHeight(); }\n\n      // pause autoplay when click or keydown from user\n      if (animating && e && ['click', 'keydown'].indexOf(e.type) >= 0) { stopAutoplay(); }\n\n      running = true;\n      transformCore();\n    }\n  }\n\n  /*\n   * Transfer prefixed properties to the same format\n   * CSS: -Webkit-Transform => webkittransform\n   * JS: WebkitTransform => webkittransform\n   * @param {string} str - property\n   *\n   */\n  function strTrans (str) {\n    return str.toLowerCase().replace(/-/g, '');\n  }\n\n  // AFTER TRANSFORM\n  // Things need to be done after a transfer:\n  // 1. check index\n  // 2. add classes to visible slide\n  // 3. disable controls buttons when reach the first/last slide in non-loop slider\n  // 4. update nav status\n  // 5. lazyload images\n  // 6. update container height\n  function onTransitionEnd (event) {\n    // check running on gallery mode\n    // make sure trantionend/animationend events run only once\n    if (carousel || running) {\n      events.emit('transitionEnd', info(event));\n\n      if (!carousel && slideItemsOut.length > 0) {\n        for (var i = 0; i < slideItemsOut.length; i++) {\n          var item = slideItemsOut[i];\n          // set item positions\n          item.style.left = '';\n\n          if (ANIMATIONDELAY && TRANSITIONDELAY) {\n            item.style[ANIMATIONDELAY] = '';\n            item.style[TRANSITIONDELAY] = '';\n          }\n          removeClass(item, animateOut);\n          addClass(item, animateNormal);\n        }\n      }\n\n      /* update slides, nav, controls after checking ...\n       * => legacy browsers who don't support 'event'\n       *    have to check event first, otherwise event.target will cause an error\n       * => or 'gallery' mode:\n       *   + event target is slide item\n       * => or 'carousel' mode:\n       *   + event target is container,\n       *   + event.property is the same with transform attribute\n       */\n      if (!event ||\n          !carousel && event.target.parentNode === container ||\n          event.target === container && strTrans(event.propertyName) === strTrans(transformAttr)) {\n\n        if (!updateIndexBeforeTransform) {\n          var indexTem = index;\n          updateIndex();\n          if (index !== indexTem) {\n            events.emit('indexChanged', info());\n\n            doContainerTransformSilent();\n          }\n        }\n\n        if (nested === 'inner') { events.emit('innerLoaded', info()); }\n        running = false;\n        indexCached = index;\n      }\n    }\n\n  }\n\n  // # ACTIONS\n  function goTo (targetIndex, e) {\n    if (freeze) { return; }\n\n    // prev slideBy\n    if (targetIndex === 'prev') {\n      onControlsClick(e, -1);\n\n    // next slideBy\n    } else if (targetIndex === 'next') {\n      onControlsClick(e, 1);\n\n    // go to exact slide\n    } else {\n      if (running) {\n        if (preventActionWhenRunning) { return; } else { onTransitionEnd(); }\n      }\n\n      var absIndex = getAbsIndex(),\n          indexGap = 0;\n\n      if (targetIndex === 'first') {\n        indexGap = - absIndex;\n      } else if (targetIndex === 'last') {\n        indexGap = carousel ? slideCount - items - absIndex : slideCount - 1 - absIndex;\n      } else {\n        if (typeof targetIndex !== 'number') { targetIndex = parseInt(targetIndex); }\n\n        if (!isNaN(targetIndex)) {\n          // from directly called goTo function\n          if (!e) { targetIndex = Math.max(0, Math.min(slideCount - 1, targetIndex)); }\n\n          indexGap = targetIndex - absIndex;\n        }\n      }\n\n      // gallery: make sure new page won't overlap with current page\n      if (!carousel && indexGap && Math.abs(indexGap) < items) {\n        var factor = indexGap > 0 ? 1 : -1;\n        indexGap += (index + indexGap - slideCount) >= indexMin ? slideCount * factor : slideCount * 2 * factor * -1;\n      }\n\n      index += indexGap;\n\n      // make sure index is in range\n      if (carousel && loop) {\n        if (index < indexMin) { index += slideCount; }\n        if (index > indexMax) { index -= slideCount; }\n      }\n\n      // if index is changed, start rendering\n      if (getAbsIndex(index) !== getAbsIndex(indexCached)) {\n        render(e);\n      }\n\n    }\n  }\n\n  // on controls click\n  function onControlsClick (e, dir) {\n    if (running) {\n      if (preventActionWhenRunning) { return; } else { onTransitionEnd(); }\n    }\n    var passEventObject;\n\n    if (!dir) {\n      e = getEvent(e);\n      var target = getTarget(e);\n\n      while (target !== controlsContainer && [prevButton, nextButton].indexOf(target) < 0) { target = target.parentNode; }\n\n      var targetIn = [prevButton, nextButton].indexOf(target);\n      if (targetIn >= 0) {\n        passEventObject = true;\n        dir = targetIn === 0 ? -1 : 1;\n      }\n    }\n\n    if (rewind) {\n      if (index === indexMin && dir === -1) {\n        goTo('last', e);\n        return;\n      } else if (index === indexMax && dir === 1) {\n        goTo('first', e);\n        return;\n      }\n    }\n\n    if (dir) {\n      index += slideBy * dir;\n      if (autoWidth) { index = Math.floor(index); }\n      // pass e when click control buttons or keydown\n      render((passEventObject || (e && e.type === 'keydown')) ? e : null);\n    }\n  }\n\n  // on nav click\n  function onNavClick (e) {\n    if (running) {\n      if (preventActionWhenRunning) { return; } else { onTransitionEnd(); }\n    }\n\n    e = getEvent(e);\n    var target = getTarget(e), navIndex;\n\n    // find the clicked nav item\n    while (target !== navContainer && !hasAttr(target, 'data-nav')) { target = target.parentNode; }\n    if (hasAttr(target, 'data-nav')) {\n      var navIndex = navClicked = Number(getAttr(target, 'data-nav')),\n          targetIndexBase = fixedWidth || autoWidth ? navIndex * slideCount / pages : navIndex * items,\n          targetIndex = navAsThumbnails ? navIndex : Math.min(Math.ceil(targetIndexBase), slideCount - 1);\n      goTo(targetIndex, e);\n\n      if (navCurrentIndex === navIndex) {\n        if (animating) { stopAutoplay(); }\n        navClicked = -1; // reset navClicked\n      }\n    }\n  }\n\n  // autoplay functions\n  function setAutoplayTimer () {\n    autoplayTimer = setInterval(function () {\n      onControlsClick(null, autoplayDirection);\n    }, autoplayTimeout);\n\n    animating = true;\n  }\n\n  function stopAutoplayTimer () {\n    clearInterval(autoplayTimer);\n    animating = false;\n  }\n\n  function updateAutoplayButton (action, txt) {\n    setAttrs(autoplayButton, {'data-action': action});\n    autoplayButton.innerHTML = autoplayHtmlStrings[0] + action + autoplayHtmlStrings[1] + txt;\n  }\n\n  function startAutoplay () {\n    setAutoplayTimer();\n    if (autoplayButton) { updateAutoplayButton('stop', autoplayText[1]); }\n  }\n\n  function stopAutoplay () {\n    stopAutoplayTimer();\n    if (autoplayButton) { updateAutoplayButton('start', autoplayText[0]); }\n  }\n\n  // programaitcally play/pause the slider\n  function play () {\n    if (autoplay && !animating) {\n      startAutoplay();\n      autoplayUserPaused = false;\n    }\n  }\n  function pause () {\n    if (animating) {\n      stopAutoplay();\n      autoplayUserPaused = true;\n    }\n  }\n\n  function toggleAutoplay () {\n    if (animating) {\n      stopAutoplay();\n      autoplayUserPaused = true;\n    } else {\n      startAutoplay();\n      autoplayUserPaused = false;\n    }\n  }\n\n  function onVisibilityChange () {\n    if (doc.hidden) {\n      if (animating) {\n        stopAutoplayTimer();\n        autoplayVisibilityPaused = true;\n      }\n    } else if (autoplayVisibilityPaused) {\n      setAutoplayTimer();\n      autoplayVisibilityPaused = false;\n    }\n  }\n\n  function mouseoverPause () {\n    if (animating) {\n      stopAutoplayTimer();\n      autoplayHoverPaused = true;\n    }\n  }\n\n  function mouseoutRestart () {\n    if (autoplayHoverPaused) {\n      setAutoplayTimer();\n      autoplayHoverPaused = false;\n    }\n  }\n\n  // keydown events on document\n  function onDocumentKeydown (e) {\n    e = getEvent(e);\n    var keyIndex = [KEYS.LEFT, KEYS.RIGHT].indexOf(e.keyCode);\n\n    if (keyIndex >= 0) {\n      onControlsClick(e, keyIndex === 0 ? -1 : 1);\n    }\n  }\n\n  // on key control\n  function onControlsKeydown (e) {\n    e = getEvent(e);\n    var keyIndex = [KEYS.LEFT, KEYS.RIGHT].indexOf(e.keyCode);\n\n    if (keyIndex >= 0) {\n      if (keyIndex === 0) {\n        if (!prevButton.disabled) { onControlsClick(e, -1); }\n      } else if (!nextButton.disabled) {\n        onControlsClick(e, 1);\n      }\n    }\n  }\n\n  // set focus\n  function setFocus (el) {\n    el.focus();\n  }\n\n  // on key nav\n  function onNavKeydown (e) {\n    e = getEvent(e);\n    var curElement = doc.activeElement;\n    if (!hasAttr(curElement, 'data-nav')) { return; }\n\n    // var code = e.keyCode,\n    var keyIndex = [KEYS.LEFT, KEYS.RIGHT, KEYS.ENTER, KEYS.SPACE].indexOf(e.keyCode),\n        navIndex = Number(getAttr(curElement, 'data-nav'));\n\n    if (keyIndex >= 0) {\n      if (keyIndex === 0) {\n        if (navIndex > 0) { setFocus(navItems[navIndex - 1]); }\n      } else if (keyIndex === 1) {\n        if (navIndex < pages - 1) { setFocus(navItems[navIndex + 1]); }\n      } else {\n        navClicked = navIndex;\n        goTo(navIndex, e);\n      }\n    }\n  }\n\n  function getEvent (e) {\n    e = e || win.event;\n    return isTouchEvent(e) ? e.changedTouches[0] : e;\n  }\n  function getTarget (e) {\n    return e.target || win.event.srcElement;\n  }\n\n  function isTouchEvent (e) {\n    return e.type.indexOf('touch') >= 0;\n  }\n\n  function preventDefaultBehavior (e) {\n    e.preventDefault ? e.preventDefault() : e.returnValue = false;\n  }\n\n  function getMoveDirectionExpected () {\n    return getTouchDirection(toDegree(lastPosition.y - initPosition.y, lastPosition.x - initPosition.x), swipeAngle) === options.axis;\n  }\n\n  function onPanStart (e) {\n    if (running) {\n      if (preventActionWhenRunning) { return; } else { onTransitionEnd(); }\n    }\n\n    if (autoplay && animating) { stopAutoplayTimer(); }\n\n    panStart = true;\n    if (rafIndex) {\n      caf(rafIndex);\n      rafIndex = null;\n    }\n\n    var $ = getEvent(e);\n    events.emit(isTouchEvent(e) ? 'touchStart' : 'dragStart', info(e));\n\n    if (!isTouchEvent(e) && ['img', 'a'].indexOf(getLowerCaseNodeName(getTarget(e))) >= 0) {\n      preventDefaultBehavior(e);\n    }\n\n    lastPosition.x = initPosition.x = $.clientX;\n    lastPosition.y = initPosition.y = $.clientY;\n    if (carousel) {\n      translateInit = parseFloat(container.style[transformAttr].replace(transformPrefix, ''));\n      resetDuration(container, '0s');\n    }\n  }\n\n  function onPanMove (e) {\n    if (panStart) {\n      var $ = getEvent(e);\n      lastPosition.x = $.clientX;\n      lastPosition.y = $.clientY;\n\n      if (carousel) {\n        if (!rafIndex) { rafIndex = raf(function(){ panUpdate(e); }); }\n      } else {\n        if (moveDirectionExpected === '?') { moveDirectionExpected = getMoveDirectionExpected(); }\n        if (moveDirectionExpected) { preventScroll = true; }\n      }\n\n      if ((typeof e.cancelable !== 'boolean' || e.cancelable) && preventScroll) {\n        e.preventDefault();\n      }\n    }\n  }\n\n  function panUpdate (e) {\n    if (!moveDirectionExpected) {\n      panStart = false;\n      return;\n    }\n    caf(rafIndex);\n    if (panStart) { rafIndex = raf(function(){ panUpdate(e); }); }\n\n    if (moveDirectionExpected === '?') { moveDirectionExpected = getMoveDirectionExpected(); }\n    if (moveDirectionExpected) {\n      if (!preventScroll && isTouchEvent(e)) { preventScroll = true; }\n\n      try {\n        if (e.type) { events.emit(isTouchEvent(e) ? 'touchMove' : 'dragMove', info(e)); }\n      } catch(err) {}\n\n      var x = translateInit,\n          dist = getDist(lastPosition, initPosition);\n      if (!horizontal || fixedWidth || autoWidth) {\n        x += dist;\n        x += 'px';\n      } else {\n        var percentageX = TRANSFORM ? dist * items * 100 / ((viewport + gutter) * slideCountNew): dist * 100 / (viewport + gutter);\n        x += percentageX;\n        x += '%';\n      }\n\n      container.style[transformAttr] = transformPrefix + x + transformPostfix;\n    }\n  }\n\n  function onPanEnd (e) {\n    if (panStart) {\n      if (rafIndex) {\n        caf(rafIndex);\n        rafIndex = null;\n      }\n      if (carousel) { resetDuration(container, ''); }\n      panStart = false;\n\n      var $ = getEvent(e);\n      lastPosition.x = $.clientX;\n      lastPosition.y = $.clientY;\n      var dist = getDist(lastPosition, initPosition);\n\n      if (Math.abs(dist)) {\n        // drag vs click\n        if (!isTouchEvent(e)) {\n          // prevent \"click\"\n          var target = getTarget(e);\n          addEvents(target, {'click': function preventClick (e) {\n            preventDefaultBehavior(e);\n            removeEvents(target, {'click': preventClick});\n          }});\n        }\n\n        if (carousel) {\n          rafIndex = raf(function() {\n            if (horizontal && !autoWidth) {\n              var indexMoved = - dist * items / (viewport + gutter);\n              indexMoved = dist > 0 ? Math.floor(indexMoved) : Math.ceil(indexMoved);\n              index += indexMoved;\n            } else {\n              var moved = - (translateInit + dist);\n              if (moved <= 0) {\n                index = indexMin;\n              } else if (moved >= slidePositions[slideCountNew - 1]) {\n                index = indexMax;\n              } else {\n                var i = 0;\n                while (i < slideCountNew && moved >= slidePositions[i]) {\n                  index = i;\n                  if (moved > slidePositions[i] && dist < 0) { index += 1; }\n                  i++;\n                }\n              }\n            }\n\n            render(e, dist);\n            events.emit(isTouchEvent(e) ? 'touchEnd' : 'dragEnd', info(e));\n          });\n        } else {\n          if (moveDirectionExpected) {\n            onControlsClick(e, dist > 0 ? -1 : 1);\n          }\n        }\n      }\n    }\n\n    // reset\n    if (options.preventScrollOnTouch === 'auto') { preventScroll = false; }\n    if (swipeAngle) { moveDirectionExpected = '?'; }\n    if (autoplay && !animating) { setAutoplayTimer(); }\n  }\n\n  // === RESIZE FUNCTIONS === //\n  // (slidePositions, index, items) => vertical_conentWrapper.height\n  function updateContentWrapperHeight () {\n    var wp = middleWrapper ? middleWrapper : innerWrapper;\n    wp.style.height = slidePositions[index + items] - slidePositions[index] + 'px';\n  }\n\n  function getPages () {\n    var rough = fixedWidth ? (fixedWidth + gutter) * slideCount / viewport : slideCount / items;\n    return Math.min(Math.ceil(rough), slideCount);\n  }\n\n  /*\n   * 1. update visible nav items list\n   * 2. add \"hidden\" attributes to previous visible nav items\n   * 3. remove \"hidden\" attrubutes to new visible nav items\n   */\n  function updateNavVisibility () {\n    if (!nav || navAsThumbnails) { return; }\n\n    if (pages !== pagesCached) {\n      var min = pagesCached,\n          max = pages,\n          fn = showElement;\n\n      if (pagesCached > pages) {\n        min = pages;\n        max = pagesCached;\n        fn = hideElement;\n      }\n\n      while (min < max) {\n        fn(navItems[min]);\n        min++;\n      }\n\n      // cache pages\n      pagesCached = pages;\n    }\n  }\n\n  function info (e) {\n    return {\n      container: container,\n      slideItems: slideItems,\n      navContainer: navContainer,\n      navItems: navItems,\n      controlsContainer: controlsContainer,\n      hasControls: hasControls,\n      prevButton: prevButton,\n      nextButton: nextButton,\n      items: items,\n      slideBy: slideBy,\n      cloneCount: cloneCount,\n      slideCount: slideCount,\n      slideCountNew: slideCountNew,\n      index: index,\n      indexCached: indexCached,\n      displayIndex: getCurrentSlide(),\n      navCurrentIndex: navCurrentIndex,\n      navCurrentIndexCached: navCurrentIndexCached,\n      pages: pages,\n      pagesCached: pagesCached,\n      sheet: sheet,\n      isOn: isOn,\n      event: e || {},\n    };\n  }\n\n  return {\n    version: '2.9.3',\n    getInfo: info,\n    events: events,\n    goTo: goTo,\n    play: play,\n    pause: pause,\n    isOn: isOn,\n    updateSliderHeight: updateInnerWrapperHeight,\n    refresh: initSliderTransform,\n    destroy: destroy,\n    rebuild: function() {\n      return tns(extend(options, optionsElements));\n    }\n  };\n};\n\nreturn tns;\n})();","/**!\n\n @license\n handlebars v4.7.6\n\nCopyright (C) 2011-2019 by Yehuda Katz\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n\n*/\n(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"Handlebars\"] = factory();\n\telse\n\t\troot[\"Handlebars\"] = factory();\n})(this, function() {\nreturn /******/ (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'use strict';\n\n\tvar _interopRequireDefault = __webpack_require__(1)['default'];\n\n\texports.__esModule = true;\n\n\tvar _handlebarsRuntime = __webpack_require__(2);\n\n\tvar _handlebarsRuntime2 = _interopRequireDefault(_handlebarsRuntime);\n\n\t// Compiler imports\n\n\tvar _handlebarsCompilerAst = __webpack_require__(45);\n\n\tvar _handlebarsCompilerAst2 = _interopRequireDefault(_handlebarsCompilerAst);\n\n\tvar _handlebarsCompilerBase = __webpack_require__(46);\n\n\tvar _handlebarsCompilerCompiler = __webpack_require__(51);\n\n\tvar _handlebarsCompilerJavascriptCompiler = __webpack_require__(52);\n\n\tvar _handlebarsCompilerJavascriptCompiler2 = _interopRequireDefault(_handlebarsCompilerJavascriptCompiler);\n\n\tvar _handlebarsCompilerVisitor = __webpack_require__(49);\n\n\tvar _handlebarsCompilerVisitor2 = _interopRequireDefault(_handlebarsCompilerVisitor);\n\n\tvar _handlebarsNoConflict = __webpack_require__(44);\n\n\tvar _handlebarsNoConflict2 = _interopRequireDefault(_handlebarsNoConflict);\n\n\tvar _create = _handlebarsRuntime2['default'].create;\n\tfunction create() {\n\t  var hb = _create();\n\n\t  hb.compile = function (input, options) {\n\t    return _handlebarsCompilerCompiler.compile(input, options, hb);\n\t  };\n\t  hb.precompile = function (input, options) {\n\t    return _handlebarsCompilerCompiler.precompile(input, options, hb);\n\t  };\n\n\t  hb.AST = _handlebarsCompilerAst2['default'];\n\t  hb.Compiler = _handlebarsCompilerCompiler.Compiler;\n\t  hb.JavaScriptCompiler = _handlebarsCompilerJavascriptCompiler2['default'];\n\t  hb.Parser = _handlebarsCompilerBase.parser;\n\t  hb.parse = _handlebarsCompilerBase.parse;\n\t  hb.parseWithoutProcessing = _handlebarsCompilerBase.parseWithoutProcessing;\n\n\t  return hb;\n\t}\n\n\tvar inst = create();\n\tinst.create = create;\n\n\t_handlebarsNoConflict2['default'](inst);\n\n\tinst.Visitor = _handlebarsCompilerVisitor2['default'];\n\n\tinst['default'] = inst;\n\n\texports['default'] = inst;\n\tmodule.exports = exports['default'];\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports) {\n\n\t\"use strict\";\n\n\texports[\"default\"] = function (obj) {\n\t  return obj && obj.__esModule ? obj : {\n\t    \"default\": obj\n\t  };\n\t};\n\n\texports.__esModule = true;\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\n\tvar _interopRequireWildcard = __webpack_require__(3)['default'];\n\n\tvar _interopRequireDefault = __webpack_require__(1)['default'];\n\n\texports.__esModule = true;\n\n\tvar _handlebarsBase = __webpack_require__(4);\n\n\tvar base = _interopRequireWildcard(_handlebarsBase);\n\n\t// Each of these augment the Handlebars object. No need to setup here.\n\t// (This is done to easily share code between commonjs and browse envs)\n\n\tvar _handlebarsSafeString = __webpack_require__(37);\n\n\tvar _handlebarsSafeString2 = _interopRequireDefault(_handlebarsSafeString);\n\n\tvar _handlebarsException = __webpack_require__(6);\n\n\tvar _handlebarsException2 = _interopRequireDefault(_handlebarsException);\n\n\tvar _handlebarsUtils = __webpack_require__(5);\n\n\tvar Utils = _interopRequireWildcard(_handlebarsUtils);\n\n\tvar _handlebarsRuntime = __webpack_require__(38);\n\n\tvar runtime = _interopRequireWildcard(_handlebarsRuntime);\n\n\tvar _handlebarsNoConflict = __webpack_require__(44);\n\n\tvar _handlebarsNoConflict2 = _interopRequireDefault(_handlebarsNoConflict);\n\n\t// For compatibility and usage outside of module systems, make the Handlebars object a namespace\n\tfunction create() {\n\t  var hb = new base.HandlebarsEnvironment();\n\n\t  Utils.extend(hb, base);\n\t  hb.SafeString = _handlebarsSafeString2['default'];\n\t  hb.Exception = _handlebarsException2['default'];\n\t  hb.Utils = Utils;\n\t  hb.escapeExpression = Utils.escapeExpression;\n\n\t  hb.VM = runtime;\n\t  hb.template = function (spec) {\n\t    return runtime.template(spec, hb);\n\t  };\n\n\t  return hb;\n\t}\n\n\tvar inst = create();\n\tinst.create = create;\n\n\t_handlebarsNoConflict2['default'](inst);\n\n\tinst['default'] = inst;\n\n\texports['default'] = inst;\n\tmodule.exports = exports['default'];\n\n/***/ }),\n/* 3 */\n/***/ (function(module, exports) {\n\n\t\"use strict\";\n\n\texports[\"default\"] = function (obj) {\n\t  if (obj && obj.__esModule) {\n\t    return obj;\n\t  } else {\n\t    var newObj = {};\n\n\t    if (obj != null) {\n\t      for (var key in obj) {\n\t        if (Object.prototype.hasOwnProperty.call(obj, key)) newObj[key] = obj[key];\n\t      }\n\t    }\n\n\t    newObj[\"default\"] = obj;\n\t    return newObj;\n\t  }\n\t};\n\n\texports.__esModule = true;\n\n/***/ }),\n/* 4 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\n\tvar _interopRequireDefault = __webpack_require__(1)['default'];\n\n\texports.__esModule = true;\n\texports.HandlebarsEnvironment = HandlebarsEnvironment;\n\n\tvar _utils = __webpack_require__(5);\n\n\tvar _exception = __webpack_require__(6);\n\n\tvar _exception2 = _interopRequireDefault(_exception);\n\n\tvar _helpers = __webpack_require__(10);\n\n\tvar _decorators = __webpack_require__(30);\n\n\tvar _logger = __webpack_require__(32);\n\n\tvar _logger2 = _interopRequireDefault(_logger);\n\n\tvar _internalProtoAccess = __webpack_require__(33);\n\n\tvar VERSION = '4.7.6';\n\texports.VERSION = VERSION;\n\tvar COMPILER_REVISION = 8;\n\texports.COMPILER_REVISION = COMPILER_REVISION;\n\tvar LAST_COMPATIBLE_COMPILER_REVISION = 7;\n\n\texports.LAST_COMPATIBLE_COMPILER_REVISION = LAST_COMPATIBLE_COMPILER_REVISION;\n\tvar REVISION_CHANGES = {\n\t  1: '<= 1.0.rc.2', // 1.0.rc.2 is actually rev2 but doesn't report it\n\t  2: '== 1.0.0-rc.3',\n\t  3: '== 1.0.0-rc.4',\n\t  4: '== 1.x.x',\n\t  5: '== 2.0.0-alpha.x',\n\t  6: '>= 2.0.0-beta.1',\n\t  7: '>= 4.0.0 <4.3.0',\n\t  8: '>= 4.3.0'\n\t};\n\n\texports.REVISION_CHANGES = REVISION_CHANGES;\n\tvar objectType = '[object Object]';\n\n\tfunction HandlebarsEnvironment(helpers, partials, decorators) {\n\t  this.helpers = helpers || {};\n\t  this.partials = partials || {};\n\t  this.decorators = decorators || {};\n\n\t  _helpers.registerDefaultHelpers(this);\n\t  _decorators.registerDefaultDecorators(this);\n\t}\n\n\tHandlebarsEnvironment.prototype = {\n\t  constructor: HandlebarsEnvironment,\n\n\t  logger: _logger2['default'],\n\t  log: _logger2['default'].log,\n\n\t  registerHelper: function registerHelper(name, fn) {\n\t    if (_utils.toString.call(name) === objectType) {\n\t      if (fn) {\n\t        throw new _exception2['default']('Arg not supported with multiple helpers');\n\t      }\n\t      _utils.extend(this.helpers, name);\n\t    } else {\n\t      this.helpers[name] = fn;\n\t    }\n\t  },\n\t  unregisterHelper: function unregisterHelper(name) {\n\t    delete this.helpers[name];\n\t  },\n\n\t  registerPartial: function registerPartial(name, partial) {\n\t    if (_utils.toString.call(name) === objectType) {\n\t      _utils.extend(this.partials, name);\n\t    } else {\n\t      if (typeof partial === 'undefined') {\n\t        throw new _exception2['default']('Attempting to register a partial called \"' + name + '\" as undefined');\n\t      }\n\t      this.partials[name] = partial;\n\t    }\n\t  },\n\t  unregisterPartial: function unregisterPartial(name) {\n\t    delete this.partials[name];\n\t  },\n\n\t  registerDecorator: function registerDecorator(name, fn) {\n\t    if (_utils.toString.call(name) === objectType) {\n\t      if (fn) {\n\t        throw new _exception2['default']('Arg not supported with multiple decorators');\n\t      }\n\t      _utils.extend(this.decorators, name);\n\t    } else {\n\t      this.decorators[name] = fn;\n\t    }\n\t  },\n\t  unregisterDecorator: function unregisterDecorator(name) {\n\t    delete this.decorators[name];\n\t  },\n\t  /**\n\t   * Reset the memory of illegal property accesses that have already been logged.\n\t   * @deprecated should only be used in handlebars test-cases\n\t   */\n\t  resetLoggedPropertyAccesses: function resetLoggedPropertyAccesses() {\n\t    _internalProtoAccess.resetLoggedProperties();\n\t  }\n\t};\n\n\tvar log = _logger2['default'].log;\n\n\texports.log = log;\n\texports.createFrame = _utils.createFrame;\n\texports.logger = _logger2['default'];\n\n/***/ }),\n/* 5 */\n/***/ (function(module, exports) {\n\n\t'use strict';\n\n\texports.__esModule = true;\n\texports.extend = extend;\n\texports.indexOf = indexOf;\n\texports.escapeExpression = escapeExpression;\n\texports.isEmpty = isEmpty;\n\texports.createFrame = createFrame;\n\texports.blockParams = blockParams;\n\texports.appendContextPath = appendContextPath;\n\tvar escape = {\n\t  '&': '&amp;',\n\t  '<': '&lt;',\n\t  '>': '&gt;',\n\t  '\"': '&quot;',\n\t  \"'\": '&#x27;',\n\t  '`': '&#x60;',\n\t  '=': '&#x3D;'\n\t};\n\n\tvar badChars = /[&<>\"'`=]/g,\n\t    possible = /[&<>\"'`=]/;\n\n\tfunction escapeChar(chr) {\n\t  return escape[chr];\n\t}\n\n\tfunction extend(obj /* , ...source */) {\n\t  for (var i = 1; i < arguments.length; i++) {\n\t    for (var key in arguments[i]) {\n\t      if (Object.prototype.hasOwnProperty.call(arguments[i], key)) {\n\t        obj[key] = arguments[i][key];\n\t      }\n\t    }\n\t  }\n\n\t  return obj;\n\t}\n\n\tvar toString = Object.prototype.toString;\n\n\texports.toString = toString;\n\t// Sourced from lodash\n\t// https://github.com/bestiejs/lodash/blob/master/LICENSE.txt\n\t/* eslint-disable func-style */\n\tvar isFunction = function isFunction(value) {\n\t  return typeof value === 'function';\n\t};\n\t// fallback for older versions of Chrome and Safari\n\t/* istanbul ignore next */\n\tif (isFunction(/x/)) {\n\t  exports.isFunction = isFunction = function (value) {\n\t    return typeof value === 'function' && toString.call(value) === '[object Function]';\n\t  };\n\t}\n\texports.isFunction = isFunction;\n\n\t/* eslint-enable func-style */\n\n\t/* istanbul ignore next */\n\tvar isArray = Array.isArray || function (value) {\n\t  return value && typeof value === 'object' ? toString.call(value) === '[object Array]' : false;\n\t};\n\n\texports.isArray = isArray;\n\t// Older IE versions do not directly support indexOf so we must implement our own, sadly.\n\n\tfunction indexOf(array, value) {\n\t  for (var i = 0, len = array.length; i < len; i++) {\n\t    if (array[i] === value) {\n\t      return i;\n\t    }\n\t  }\n\t  return -1;\n\t}\n\n\tfunction escapeExpression(string) {\n\t  if (typeof string !== 'string') {\n\t    // don't escape SafeStrings, since they're already safe\n\t    if (string && string.toHTML) {\n\t      return string.toHTML();\n\t    } else if (string == null) {\n\t      return '';\n\t    } else if (!string) {\n\t      return string + '';\n\t    }\n\n\t    // Force a string conversion as this will be done by the append regardless and\n\t    // the regex test will do this transparently behind the scenes, causing issues if\n\t    // an object's to string has escaped characters in it.\n\t    string = '' + string;\n\t  }\n\n\t  if (!possible.test(string)) {\n\t    return string;\n\t  }\n\t  return string.replace(badChars, escapeChar);\n\t}\n\n\tfunction isEmpty(value) {\n\t  if (!value && value !== 0) {\n\t    return true;\n\t  } else if (isArray(value) && value.length === 0) {\n\t    return true;\n\t  } else {\n\t    return false;\n\t  }\n\t}\n\n\tfunction createFrame(object) {\n\t  var frame = extend({}, object);\n\t  frame._parent = object;\n\t  return frame;\n\t}\n\n\tfunction blockParams(params, ids) {\n\t  params.path = ids;\n\t  return params;\n\t}\n\n\tfunction appendContextPath(contextPath, id) {\n\t  return (contextPath ? contextPath + '.' : '') + id;\n\t}\n\n/***/ }),\n/* 6 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\n\tvar _Object$defineProperty = __webpack_require__(7)['default'];\n\n\texports.__esModule = true;\n\tvar errorProps = ['description', 'fileName', 'lineNumber', 'endLineNumber', 'message', 'name', 'number', 'stack'];\n\n\tfunction Exception(message, node) {\n\t  var loc = node && node.loc,\n\t      line = undefined,\n\t      endLineNumber = undefined,\n\t      column = undefined,\n\t      endColumn = undefined;\n\n\t  if (loc) {\n\t    line = loc.start.line;\n\t    endLineNumber = loc.end.line;\n\t    column = loc.start.column;\n\t    endColumn = loc.end.column;\n\n\t    message += ' - ' + line + ':' + column;\n\t  }\n\n\t  var tmp = Error.prototype.constructor.call(this, message);\n\n\t  // Unfortunately errors are not enumerable in Chrome (at least), so `for prop in tmp` doesn't work.\n\t  for (var idx = 0; idx < errorProps.length; idx++) {\n\t    this[errorProps[idx]] = tmp[errorProps[idx]];\n\t  }\n\n\t  /* istanbul ignore else */\n\t  if (Error.captureStackTrace) {\n\t    Error.captureStackTrace(this, Exception);\n\t  }\n\n\t  try {\n\t    if (loc) {\n\t      this.lineNumber = line;\n\t      this.endLineNumber = endLineNumber;\n\n\t      // Work around issue under safari where we can't directly set the column value\n\t      /* istanbul ignore next */\n\t      if (_Object$defineProperty) {\n\t        Object.defineProperty(this, 'column', {\n\t          value: column,\n\t          enumerable: true\n\t        });\n\t        Object.defineProperty(this, 'endColumn', {\n\t          value: endColumn,\n\t          enumerable: true\n\t        });\n\t      } else {\n\t        this.column = column;\n\t        this.endColumn = endColumn;\n\t      }\n\t    }\n\t  } catch (nop) {\n\t    /* Ignore if the browser is very particular */\n\t  }\n\t}\n\n\tException.prototype = new Error();\n\n\texports['default'] = Exception;\n\tmodule.exports = exports['default'];\n\n/***/ }),\n/* 7 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\tmodule.exports = { \"default\": __webpack_require__(8), __esModule: true };\n\n/***/ }),\n/* 8 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\tvar $ = __webpack_require__(9);\n\tmodule.exports = function defineProperty(it, key, desc){\n\t  return $.setDesc(it, key, desc);\n\t};\n\n/***/ }),\n/* 9 */\n/***/ (function(module, exports) {\n\n\tvar $Object = Object;\n\tmodule.exports = {\n\t  create:     $Object.create,\n\t  getProto:   $Object.getPrototypeOf,\n\t  isEnum:     {}.propertyIsEnumerable,\n\t  getDesc:    $Object.getOwnPropertyDescriptor,\n\t  setDesc:    $Object.defineProperty,\n\t  setDescs:   $Object.defineProperties,\n\t  getKeys:    $Object.keys,\n\t  getNames:   $Object.getOwnPropertyNames,\n\t  getSymbols: $Object.getOwnPropertySymbols,\n\t  each:       [].forEach\n\t};\n\n/***/ }),\n/* 10 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\n\tvar _interopRequireDefault = __webpack_require__(1)['default'];\n\n\texports.__esModule = true;\n\texports.registerDefaultHelpers = registerDefaultHelpers;\n\texports.moveHelperToHooks = moveHelperToHooks;\n\n\tvar _helpersBlockHelperMissing = __webpack_require__(11);\n\n\tvar _helpersBlockHelperMissing2 = _interopRequireDefault(_helpersBlockHelperMissing);\n\n\tvar _helpersEach = __webpack_require__(12);\n\n\tvar _helpersEach2 = _interopRequireDefault(_helpersEach);\n\n\tvar _helpersHelperMissing = __webpack_require__(25);\n\n\tvar _helpersHelperMissing2 = _interopRequireDefault(_helpersHelperMissing);\n\n\tvar _helpersIf = __webpack_require__(26);\n\n\tvar _helpersIf2 = _interopRequireDefault(_helpersIf);\n\n\tvar _helpersLog = __webpack_require__(27);\n\n\tvar _helpersLog2 = _interopRequireDefault(_helpersLog);\n\n\tvar _helpersLookup = __webpack_require__(28);\n\n\tvar _helpersLookup2 = _interopRequireDefault(_helpersLookup);\n\n\tvar _helpersWith = __webpack_require__(29);\n\n\tvar _helpersWith2 = _interopRequireDefault(_helpersWith);\n\n\tfunction registerDefaultHelpers(instance) {\n\t  _helpersBlockHelperMissing2['default'](instance);\n\t  _helpersEach2['default'](instance);\n\t  _helpersHelperMissing2['default'](instance);\n\t  _helpersIf2['default'](instance);\n\t  _helpersLog2['default'](instance);\n\t  _helpersLookup2['default'](instance);\n\t  _helpersWith2['default'](instance);\n\t}\n\n\tfunction moveHelperToHooks(instance, helperName, keepHelper) {\n\t  if (instance.helpers[helperName]) {\n\t    instance.hooks[helperName] = instance.helpers[helperName];\n\t    if (!keepHelper) {\n\t      delete instance.helpers[helperName];\n\t    }\n\t  }\n\t}\n\n/***/ }),\n/* 11 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\n\texports.__esModule = true;\n\n\tvar _utils = __webpack_require__(5);\n\n\texports['default'] = function (instance) {\n\t  instance.registerHelper('blockHelperMissing', function (context, options) {\n\t    var inverse = options.inverse,\n\t        fn = options.fn;\n\n\t    if (context === true) {\n\t      return fn(this);\n\t    } else if (context === false || context == null) {\n\t      return inverse(this);\n\t    } else if (_utils.isArray(context)) {\n\t      if (context.length > 0) {\n\t        if (options.ids) {\n\t          options.ids = [options.name];\n\t        }\n\n\t        return instance.helpers.each(context, options);\n\t      } else {\n\t        return inverse(this);\n\t      }\n\t    } else {\n\t      if (options.data && options.ids) {\n\t        var data = _utils.createFrame(options.data);\n\t        data.contextPath = _utils.appendContextPath(options.data.contextPath, options.name);\n\t        options = { data: data };\n\t      }\n\n\t      return fn(context, options);\n\t    }\n\t  });\n\t};\n\n\tmodule.exports = exports['default'];\n\n/***/ }),\n/* 12 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {'use strict';\n\n\tvar _Object$keys = __webpack_require__(13)['default'];\n\n\tvar _interopRequireDefault = __webpack_require__(1)['default'];\n\n\texports.__esModule = true;\n\n\tvar _utils = __webpack_require__(5);\n\n\tvar _exception = __webpack_require__(6);\n\n\tvar _exception2 = _interopRequireDefault(_exception);\n\n\texports['default'] = function (instance) {\n\t  instance.registerHelper('each', function (context, options) {\n\t    if (!options) {\n\t      throw new _exception2['default']('Must pass iterator to #each');\n\t    }\n\n\t    var fn = options.fn,\n\t        inverse = options.inverse,\n\t        i = 0,\n\t        ret = '',\n\t        data = undefined,\n\t        contextPath = undefined;\n\n\t    if (options.data && options.ids) {\n\t      contextPath = _utils.appendContextPath(options.data.contextPath, options.ids[0]) + '.';\n\t    }\n\n\t    if (_utils.isFunction(context)) {\n\t      context = context.call(this);\n\t    }\n\n\t    if (options.data) {\n\t      data = _utils.createFrame(options.data);\n\t    }\n\n\t    function execIteration(field, index, last) {\n\t      if (data) {\n\t        data.key = field;\n\t        data.index = index;\n\t        data.first = index === 0;\n\t        data.last = !!last;\n\n\t        if (contextPath) {\n\t          data.contextPath = contextPath + field;\n\t        }\n\t      }\n\n\t      ret = ret + fn(context[field], {\n\t        data: data,\n\t        blockParams: _utils.blockParams([context[field], field], [contextPath + field, null])\n\t      });\n\t    }\n\n\t    if (context && typeof context === 'object') {\n\t      if (_utils.isArray(context)) {\n\t        for (var j = context.length; i < j; i++) {\n\t          if (i in context) {\n\t            execIteration(i, i, i === context.length - 1);\n\t          }\n\t        }\n\t      } else if (global.Symbol && context[global.Symbol.iterator]) {\n\t        var newContext = [];\n\t        var iterator = context[global.Symbol.iterator]();\n\t        for (var it = iterator.next(); !it.done; it = iterator.next()) {\n\t          newContext.push(it.value);\n\t        }\n\t        context = newContext;\n\t        for (var j = context.length; i < j; i++) {\n\t          execIteration(i, i, i === context.length - 1);\n\t        }\n\t      } else {\n\t        (function () {\n\t          var priorKey = undefined;\n\n\t          _Object$keys(context).forEach(function (key) {\n\t            // We're running the iterations one step out of sync so we can detect\n\t            // the last iteration without have to scan the object twice and create\n\t            // an itermediate keys array.\n\t            if (priorKey !== undefined) {\n\t              execIteration(priorKey, i - 1);\n\t            }\n\t            priorKey = key;\n\t            i++;\n\t          });\n\t          if (priorKey !== undefined) {\n\t            execIteration(priorKey, i - 1, true);\n\t          }\n\t        })();\n\t      }\n\t    }\n\n\t    if (i === 0) {\n\t      ret = inverse(this);\n\t    }\n\n\t    return ret;\n\t  });\n\t};\n\n\tmodule.exports = exports['default'];\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ }),\n/* 13 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\tmodule.exports = { \"default\": __webpack_require__(14), __esModule: true };\n\n/***/ }),\n/* 14 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(15);\n\tmodule.exports = __webpack_require__(21).Object.keys;\n\n/***/ }),\n/* 15 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// 19.1.2.14 Object.keys(O)\n\tvar toObject = __webpack_require__(16);\n\n\t__webpack_require__(18)('keys', function($keys){\n\t  return function keys(it){\n\t    return $keys(toObject(it));\n\t  };\n\t});\n\n/***/ }),\n/* 16 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// 7.1.13 ToObject(argument)\n\tvar defined = __webpack_require__(17);\n\tmodule.exports = function(it){\n\t  return Object(defined(it));\n\t};\n\n/***/ }),\n/* 17 */\n/***/ (function(module, exports) {\n\n\t// 7.2.1 RequireObjectCoercible(argument)\n\tmodule.exports = function(it){\n\t  if(it == undefined)throw TypeError(\"Can't call method on  \" + it);\n\t  return it;\n\t};\n\n/***/ }),\n/* 18 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// most Object methods by ES6 should accept primitives\n\tvar $export = __webpack_require__(19)\n\t  , core    = __webpack_require__(21)\n\t  , fails   = __webpack_require__(24);\n\tmodule.exports = function(KEY, exec){\n\t  var fn  = (core.Object || {})[KEY] || Object[KEY]\n\t    , exp = {};\n\t  exp[KEY] = exec(fn);\n\t  $export($export.S + $export.F * fails(function(){ fn(1); }), 'Object', exp);\n\t};\n\n/***/ }),\n/* 19 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\tvar global    = __webpack_require__(20)\n\t  , core      = __webpack_require__(21)\n\t  , ctx       = __webpack_require__(22)\n\t  , PROTOTYPE = 'prototype';\n\n\tvar $export = function(type, name, source){\n\t  var IS_FORCED = type & $export.F\n\t    , IS_GLOBAL = type & $export.G\n\t    , IS_STATIC = type & $export.S\n\t    , IS_PROTO  = type & $export.P\n\t    , IS_BIND   = type & $export.B\n\t    , IS_WRAP   = type & $export.W\n\t    , exports   = IS_GLOBAL ? core : core[name] || (core[name] = {})\n\t    , target    = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE]\n\t    , key, own, out;\n\t  if(IS_GLOBAL)source = name;\n\t  for(key in source){\n\t    // contains in native\n\t    own = !IS_FORCED && target && key in target;\n\t    if(own && key in exports)continue;\n\t    // export native or passed\n\t    out = own ? target[key] : source[key];\n\t    // prevent global pollution for namespaces\n\t    exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]\n\t    // bind timers to global for call from export context\n\t    : IS_BIND && own ? ctx(out, global)\n\t    // wrap global constructors for prevent change them in library\n\t    : IS_WRAP && target[key] == out ? (function(C){\n\t      var F = function(param){\n\t        return this instanceof C ? new C(param) : C(param);\n\t      };\n\t      F[PROTOTYPE] = C[PROTOTYPE];\n\t      return F;\n\t    // make static versions for prototype methods\n\t    })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n\t    if(IS_PROTO)(exports[PROTOTYPE] || (exports[PROTOTYPE] = {}))[key] = out;\n\t  }\n\t};\n\t// type bitmap\n\t$export.F = 1;  // forced\n\t$export.G = 2;  // global\n\t$export.S = 4;  // static\n\t$export.P = 8;  // proto\n\t$export.B = 16; // bind\n\t$export.W = 32; // wrap\n\tmodule.exports = $export;\n\n/***/ }),\n/* 20 */\n/***/ (function(module, exports) {\n\n\t// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\n\tvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n\t  ? window : typeof self != 'undefined' && self.Math == Math ? self : Function('return this')();\n\tif(typeof __g == 'number')__g = global; // eslint-disable-line no-undef\n\n/***/ }),\n/* 21 */\n/***/ (function(module, exports) {\n\n\tvar core = module.exports = {version: '1.2.6'};\n\tif(typeof __e == 'number')__e = core; // eslint-disable-line no-undef\n\n/***/ }),\n/* 22 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// optional / simple context binding\n\tvar aFunction = __webpack_require__(23);\n\tmodule.exports = function(fn, that, length){\n\t  aFunction(fn);\n\t  if(that === undefined)return fn;\n\t  switch(length){\n\t    case 1: return function(a){\n\t      return fn.call(that, a);\n\t    };\n\t    case 2: return function(a, b){\n\t      return fn.call(that, a, b);\n\t    };\n\t    case 3: return function(a, b, c){\n\t      return fn.call(that, a, b, c);\n\t    };\n\t  }\n\t  return function(/* ...args */){\n\t    return fn.apply(that, arguments);\n\t  };\n\t};\n\n/***/ }),\n/* 23 */\n/***/ (function(module, exports) {\n\n\tmodule.exports = function(it){\n\t  if(typeof it != 'function')throw TypeError(it + ' is not a function!');\n\t  return it;\n\t};\n\n/***/ }),\n/* 24 */\n/***/ (function(module, exports) {\n\n\tmodule.exports = function(exec){\n\t  try {\n\t    return !!exec();\n\t  } catch(e){\n\t    return true;\n\t  }\n\t};\n\n/***/ }),\n/* 25 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\n\tvar _interopRequireDefault = __webpack_require__(1)['default'];\n\n\texports.__esModule = true;\n\n\tvar _exception = __webpack_require__(6);\n\n\tvar _exception2 = _interopRequireDefault(_exception);\n\n\texports['default'] = function (instance) {\n\t  instance.registerHelper('helperMissing', function () /* [args, ]options */{\n\t    if (arguments.length === 1) {\n\t      // A missing field in a {{foo}} construct.\n\t      return undefined;\n\t    } else {\n\t      // Someone is actually trying to call something, blow up.\n\t      throw new _exception2['default']('Missing helper: \"' + arguments[arguments.length - 1].name + '\"');\n\t    }\n\t  });\n\t};\n\n\tmodule.exports = exports['default'];\n\n/***/ }),\n/* 26 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\n\tvar _interopRequireDefault = __webpack_require__(1)['default'];\n\n\texports.__esModule = true;\n\n\tvar _utils = __webpack_require__(5);\n\n\tvar _exception = __webpack_require__(6);\n\n\tvar _exception2 = _interopRequireDefault(_exception);\n\n\texports['default'] = function (instance) {\n\t  instance.registerHelper('if', function (conditional, options) {\n\t    if (arguments.length != 2) {\n\t      throw new _exception2['default']('#if requires exactly one argument');\n\t    }\n\t    if (_utils.isFunction(conditional)) {\n\t      conditional = conditional.call(this);\n\t    }\n\n\t    // Default behavior is to render the positive path if the value is truthy and not empty.\n\t    // The `includeZero` option may be set to treat the condtional as purely not empty based on the\n\t    // behavior of isEmpty. Effectively this determines if 0 is handled by the positive path or negative.\n\t    if (!options.hash.includeZero && !conditional || _utils.isEmpty(conditional)) {\n\t      return options.inverse(this);\n\t    } else {\n\t      return options.fn(this);\n\t    }\n\t  });\n\n\t  instance.registerHelper('unless', function (conditional, options) {\n\t    if (arguments.length != 2) {\n\t      throw new _exception2['default']('#unless requires exactly one argument');\n\t    }\n\t    return instance.helpers['if'].call(this, conditional, {\n\t      fn: options.inverse,\n\t      inverse: options.fn,\n\t      hash: options.hash\n\t    });\n\t  });\n\t};\n\n\tmodule.exports = exports['default'];\n\n/***/ }),\n/* 27 */\n/***/ (function(module, exports) {\n\n\t'use strict';\n\n\texports.__esModule = true;\n\n\texports['default'] = function (instance) {\n\t  instance.registerHelper('log', function () /* message, options */{\n\t    var args = [undefined],\n\t        options = arguments[arguments.length - 1];\n\t    for (var i = 0; i < arguments.length - 1; i++) {\n\t      args.push(arguments[i]);\n\t    }\n\n\t    var level = 1;\n\t    if (options.hash.level != null) {\n\t      level = options.hash.level;\n\t    } else if (options.data && options.data.level != null) {\n\t      level = options.data.level;\n\t    }\n\t    args[0] = level;\n\n\t    instance.log.apply(instance, args);\n\t  });\n\t};\n\n\tmodule.exports = exports['default'];\n\n/***/ }),\n/* 28 */\n/***/ (function(module, exports) {\n\n\t'use strict';\n\n\texports.__esModule = true;\n\n\texports['default'] = function (instance) {\n\t  instance.registerHelper('lookup', function (obj, field, options) {\n\t    if (!obj) {\n\t      // Note for 5.0: Change to \"obj == null\" in 5.0\n\t      return obj;\n\t    }\n\t    return options.lookupProperty(obj, field);\n\t  });\n\t};\n\n\tmodule.exports = exports['default'];\n\n/***/ }),\n/* 29 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\n\tvar _interopRequireDefault = __webpack_require__(1)['default'];\n\n\texports.__esModule = true;\n\n\tvar _utils = __webpack_require__(5);\n\n\tvar _exception = __webpack_require__(6);\n\n\tvar _exception2 = _interopRequireDefault(_exception);\n\n\texports['default'] = function (instance) {\n\t  instance.registerHelper('with', function (context, options) {\n\t    if (arguments.length != 2) {\n\t      throw new _exception2['default']('#with requires exactly one argument');\n\t    }\n\t    if (_utils.isFunction(context)) {\n\t      context = context.call(this);\n\t    }\n\n\t    var fn = options.fn;\n\n\t    if (!_utils.isEmpty(context)) {\n\t      var data = options.data;\n\t      if (options.data && options.ids) {\n\t        data = _utils.createFrame(options.data);\n\t        data.contextPath = _utils.appendContextPath(options.data.contextPath, options.ids[0]);\n\t      }\n\n\t      return fn(context, {\n\t        data: data,\n\t        blockParams: _utils.blockParams([context], [data && data.contextPath])\n\t      });\n\t    } else {\n\t      return options.inverse(this);\n\t    }\n\t  });\n\t};\n\n\tmodule.exports = exports['default'];\n\n/***/ }),\n/* 30 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\n\tvar _interopRequireDefault = __webpack_require__(1)['default'];\n\n\texports.__esModule = true;\n\texports.registerDefaultDecorators = registerDefaultDecorators;\n\n\tvar _decoratorsInline = __webpack_require__(31);\n\n\tvar _decoratorsInline2 = _interopRequireDefault(_decoratorsInline);\n\n\tfunction registerDefaultDecorators(instance) {\n\t  _decoratorsInline2['default'](instance);\n\t}\n\n/***/ }),\n/* 31 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\n\texports.__esModule = true;\n\n\tvar _utils = __webpack_require__(5);\n\n\texports['default'] = function (instance) {\n\t  instance.registerDecorator('inline', function (fn, props, container, options) {\n\t    var ret = fn;\n\t    if (!props.partials) {\n\t      props.partials = {};\n\t      ret = function (context, options) {\n\t        // Create a new partials stack frame prior to exec.\n\t        var original = container.partials;\n\t        container.partials = _utils.extend({}, original, props.partials);\n\t        var ret = fn(context, options);\n\t        container.partials = original;\n\t        return ret;\n\t      };\n\t    }\n\n\t    props.partials[options.args[0]] = options.fn;\n\n\t    return ret;\n\t  });\n\t};\n\n\tmodule.exports = exports['default'];\n\n/***/ }),\n/* 32 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\n\texports.__esModule = true;\n\n\tvar _utils = __webpack_require__(5);\n\n\tvar logger = {\n\t  methodMap: ['debug', 'info', 'warn', 'error'],\n\t  level: 'info',\n\n\t  // Maps a given level value to the `methodMap` indexes above.\n\t  lookupLevel: function lookupLevel(level) {\n\t    if (typeof level === 'string') {\n\t      var levelMap = _utils.indexOf(logger.methodMap, level.toLowerCase());\n\t      if (levelMap >= 0) {\n\t        level = levelMap;\n\t      } else {\n\t        level = parseInt(level, 10);\n\t      }\n\t    }\n\n\t    return level;\n\t  },\n\n\t  // Can be overridden in the host environment\n\t  log: function log(level) {\n\t    level = logger.lookupLevel(level);\n\n\t    if (typeof console !== 'undefined' && logger.lookupLevel(logger.level) <= level) {\n\t      var method = logger.methodMap[level];\n\t      // eslint-disable-next-line no-console\n\t      if (!console[method]) {\n\t        method = 'log';\n\t      }\n\n\t      for (var _len = arguments.length, message = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n\t        message[_key - 1] = arguments[_key];\n\t      }\n\n\t      console[method].apply(console, message); // eslint-disable-line no-console\n\t    }\n\t  }\n\t};\n\n\texports['default'] = logger;\n\tmodule.exports = exports['default'];\n\n/***/ }),\n/* 33 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\n\tvar _Object$create = __webpack_require__(34)['default'];\n\n\tvar _Object$keys = __webpack_require__(13)['default'];\n\n\tvar _interopRequireWildcard = __webpack_require__(3)['default'];\n\n\texports.__esModule = true;\n\texports.createProtoAccessControl = createProtoAccessControl;\n\texports.resultIsAllowed = resultIsAllowed;\n\texports.resetLoggedProperties = resetLoggedProperties;\n\n\tvar _createNewLookupObject = __webpack_require__(36);\n\n\tvar _logger = __webpack_require__(32);\n\n\tvar logger = _interopRequireWildcard(_logger);\n\n\tvar loggedProperties = _Object$create(null);\n\n\tfunction createProtoAccessControl(runtimeOptions) {\n\t  var defaultMethodWhiteList = _Object$create(null);\n\t  defaultMethodWhiteList['constructor'] = false;\n\t  defaultMethodWhiteList['__defineGetter__'] = false;\n\t  defaultMethodWhiteList['__defineSetter__'] = false;\n\t  defaultMethodWhiteList['__lookupGetter__'] = false;\n\n\t  var defaultPropertyWhiteList = _Object$create(null);\n\t  // eslint-disable-next-line no-proto\n\t  defaultPropertyWhiteList['__proto__'] = false;\n\n\t  return {\n\t    properties: {\n\t      whitelist: _createNewLookupObject.createNewLookupObject(defaultPropertyWhiteList, runtimeOptions.allowedProtoProperties),\n\t      defaultValue: runtimeOptions.allowProtoPropertiesByDefault\n\t    },\n\t    methods: {\n\t      whitelist: _createNewLookupObject.createNewLookupObject(defaultMethodWhiteList, runtimeOptions.allowedProtoMethods),\n\t      defaultValue: runtimeOptions.allowProtoMethodsByDefault\n\t    }\n\t  };\n\t}\n\n\tfunction resultIsAllowed(result, protoAccessControl, propertyName) {\n\t  if (typeof result === 'function') {\n\t    return checkWhiteList(protoAccessControl.methods, propertyName);\n\t  } else {\n\t    return checkWhiteList(protoAccessControl.properties, propertyName);\n\t  }\n\t}\n\n\tfunction checkWhiteList(protoAccessControlForType, propertyName) {\n\t  if (protoAccessControlForType.whitelist[propertyName] !== undefined) {\n\t    return protoAccessControlForType.whitelist[propertyName] === true;\n\t  }\n\t  if (protoAccessControlForType.defaultValue !== undefined) {\n\t    return protoAccessControlForType.defaultValue;\n\t  }\n\t  logUnexpecedPropertyAccessOnce(propertyName);\n\t  return false;\n\t}\n\n\tfunction logUnexpecedPropertyAccessOnce(propertyName) {\n\t  if (loggedProperties[propertyName] !== true) {\n\t    loggedProperties[propertyName] = true;\n\t    logger.log('error', 'Handlebars: Access has been denied to resolve the property \"' + propertyName + '\" because it is not an \"own property\" of its parent.\\n' + 'You can add a runtime option to disable the check or this warning:\\n' + 'See https://handlebarsjs.com/api-reference/runtime-options.html#options-to-control-prototype-access for details');\n\t  }\n\t}\n\n\tfunction resetLoggedProperties() {\n\t  _Object$keys(loggedProperties).forEach(function (propertyName) {\n\t    delete loggedProperties[propertyName];\n\t  });\n\t}\n\n/***/ }),\n/* 34 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\tmodule.exports = { \"default\": __webpack_require__(35), __esModule: true };\n\n/***/ }),\n/* 35 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\tvar $ = __webpack_require__(9);\n\tmodule.exports = function create(P, D){\n\t  return $.create(P, D);\n\t};\n\n/***/ }),\n/* 36 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\n\tvar _Object$create = __webpack_require__(34)['default'];\n\n\texports.__esModule = true;\n\texports.createNewLookupObject = createNewLookupObject;\n\n\tvar _utils = __webpack_require__(5);\n\n\t/**\n\t * Create a new object with \"null\"-prototype to avoid truthy results on prototype properties.\n\t * The resulting object can be used with \"object[property]\" to check if a property exists\n\t * @param {...object} sources a varargs parameter of source objects that will be merged\n\t * @returns {object}\n\t */\n\n\tfunction createNewLookupObject() {\n\t  for (var _len = arguments.length, sources = Array(_len), _key = 0; _key < _len; _key++) {\n\t    sources[_key] = arguments[_key];\n\t  }\n\n\t  return _utils.extend.apply(undefined, [_Object$create(null)].concat(sources));\n\t}\n\n/***/ }),\n/* 37 */\n/***/ (function(module, exports) {\n\n\t// Build out our basic SafeString type\n\t'use strict';\n\n\texports.__esModule = true;\n\tfunction SafeString(string) {\n\t  this.string = string;\n\t}\n\n\tSafeString.prototype.toString = SafeString.prototype.toHTML = function () {\n\t  return '' + this.string;\n\t};\n\n\texports['default'] = SafeString;\n\tmodule.exports = exports['default'];\n\n/***/ }),\n/* 38 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\n\tvar _Object$seal = __webpack_require__(39)['default'];\n\n\tvar _Object$keys = __webpack_require__(13)['default'];\n\n\tvar _interopRequireWildcard = __webpack_require__(3)['default'];\n\n\tvar _interopRequireDefault = __webpack_require__(1)['default'];\n\n\texports.__esModule = true;\n\texports.checkRevision = checkRevision;\n\texports.template = template;\n\texports.wrapProgram = wrapProgram;\n\texports.resolvePartial = resolvePartial;\n\texports.invokePartial = invokePartial;\n\texports.noop = noop;\n\n\tvar _utils = __webpack_require__(5);\n\n\tvar Utils = _interopRequireWildcard(_utils);\n\n\tvar _exception = __webpack_require__(6);\n\n\tvar _exception2 = _interopRequireDefault(_exception);\n\n\tvar _base = __webpack_require__(4);\n\n\tvar _helpers = __webpack_require__(10);\n\n\tvar _internalWrapHelper = __webpack_require__(43);\n\n\tvar _internalProtoAccess = __webpack_require__(33);\n\n\tfunction checkRevision(compilerInfo) {\n\t  var compilerRevision = compilerInfo && compilerInfo[0] || 1,\n\t      currentRevision = _base.COMPILER_REVISION;\n\n\t  if (compilerRevision >= _base.LAST_COMPATIBLE_COMPILER_REVISION && compilerRevision <= _base.COMPILER_REVISION) {\n\t    return;\n\t  }\n\n\t  if (compilerRevision < _base.LAST_COMPATIBLE_COMPILER_REVISION) {\n\t    var runtimeVersions = _base.REVISION_CHANGES[currentRevision],\n\t        compilerVersions = _base.REVISION_CHANGES[compilerRevision];\n\t    throw new _exception2['default']('Template was precompiled with an older version of Handlebars than the current runtime. ' + 'Please update your precompiler to a newer version (' + runtimeVersions + ') or downgrade your runtime to an older version (' + compilerVersions + ').');\n\t  } else {\n\t    // Use the embedded version info since the runtime doesn't know about this revision yet\n\t    throw new _exception2['default']('Template was precompiled with a newer version of Handlebars than the current runtime. ' + 'Please update your runtime to a newer version (' + compilerInfo[1] + ').');\n\t  }\n\t}\n\n\tfunction template(templateSpec, env) {\n\t  /* istanbul ignore next */\n\t  if (!env) {\n\t    throw new _exception2['default']('No environment passed to template');\n\t  }\n\t  if (!templateSpec || !templateSpec.main) {\n\t    throw new _exception2['default']('Unknown template object: ' + typeof templateSpec);\n\t  }\n\n\t  templateSpec.main.decorator = templateSpec.main_d;\n\n\t  // Note: Using env.VM references rather than local var references throughout this section to allow\n\t  // for external users to override these as pseudo-supported APIs.\n\t  env.VM.checkRevision(templateSpec.compiler);\n\n\t  // backwards compatibility for precompiled templates with compiler-version 7 (<4.3.0)\n\t  var templateWasPrecompiledWithCompilerV7 = templateSpec.compiler && templateSpec.compiler[0] === 7;\n\n\t  function invokePartialWrapper(partial, context, options) {\n\t    if (options.hash) {\n\t      context = Utils.extend({}, context, options.hash);\n\t      if (options.ids) {\n\t        options.ids[0] = true;\n\t      }\n\t    }\n\t    partial = env.VM.resolvePartial.call(this, partial, context, options);\n\n\t    var extendedOptions = Utils.extend({}, options, {\n\t      hooks: this.hooks,\n\t      protoAccessControl: this.protoAccessControl\n\t    });\n\n\t    var result = env.VM.invokePartial.call(this, partial, context, extendedOptions);\n\n\t    if (result == null && env.compile) {\n\t      options.partials[options.name] = env.compile(partial, templateSpec.compilerOptions, env);\n\t      result = options.partials[options.name](context, extendedOptions);\n\t    }\n\t    if (result != null) {\n\t      if (options.indent) {\n\t        var lines = result.split('\\n');\n\t        for (var i = 0, l = lines.length; i < l; i++) {\n\t          if (!lines[i] && i + 1 === l) {\n\t            break;\n\t          }\n\n\t          lines[i] = options.indent + lines[i];\n\t        }\n\t        result = lines.join('\\n');\n\t      }\n\t      return result;\n\t    } else {\n\t      throw new _exception2['default']('The partial ' + options.name + ' could not be compiled when running in runtime-only mode');\n\t    }\n\t  }\n\n\t  // Just add water\n\t  var container = {\n\t    strict: function strict(obj, name, loc) {\n\t      if (!obj || !(name in obj)) {\n\t        throw new _exception2['default']('\"' + name + '\" not defined in ' + obj, {\n\t          loc: loc\n\t        });\n\t      }\n\t      return obj[name];\n\t    },\n\t    lookupProperty: function lookupProperty(parent, propertyName) {\n\t      var result = parent[propertyName];\n\t      if (result == null) {\n\t        return result;\n\t      }\n\t      if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\n\t        return result;\n\t      }\n\n\t      if (_internalProtoAccess.resultIsAllowed(result, container.protoAccessControl, propertyName)) {\n\t        return result;\n\t      }\n\t      return undefined;\n\t    },\n\t    lookup: function lookup(depths, name) {\n\t      var len = depths.length;\n\t      for (var i = 0; i < len; i++) {\n\t        var result = depths[i] && container.lookupProperty(depths[i], name);\n\t        if (result != null) {\n\t          return depths[i][name];\n\t        }\n\t      }\n\t    },\n\t    lambda: function lambda(current, context) {\n\t      return typeof current === 'function' ? current.call(context) : current;\n\t    },\n\n\t    escapeExpression: Utils.escapeExpression,\n\t    invokePartial: invokePartialWrapper,\n\n\t    fn: function fn(i) {\n\t      var ret = templateSpec[i];\n\t      ret.decorator = templateSpec[i + '_d'];\n\t      return ret;\n\t    },\n\n\t    programs: [],\n\t    program: function program(i, data, declaredBlockParams, blockParams, depths) {\n\t      var programWrapper = this.programs[i],\n\t          fn = this.fn(i);\n\t      if (data || depths || blockParams || declaredBlockParams) {\n\t        programWrapper = wrapProgram(this, i, fn, data, declaredBlockParams, blockParams, depths);\n\t      } else if (!programWrapper) {\n\t        programWrapper = this.programs[i] = wrapProgram(this, i, fn);\n\t      }\n\t      return programWrapper;\n\t    },\n\n\t    data: function data(value, depth) {\n\t      while (value && depth--) {\n\t        value = value._parent;\n\t      }\n\t      return value;\n\t    },\n\t    mergeIfNeeded: function mergeIfNeeded(param, common) {\n\t      var obj = param || common;\n\n\t      if (param && common && param !== common) {\n\t        obj = Utils.extend({}, common, param);\n\t      }\n\n\t      return obj;\n\t    },\n\t    // An empty object to use as replacement for null-contexts\n\t    nullContext: _Object$seal({}),\n\n\t    noop: env.VM.noop,\n\t    compilerInfo: templateSpec.compiler\n\t  };\n\n\t  function ret(context) {\n\t    var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n\t    var data = options.data;\n\n\t    ret._setup(options);\n\t    if (!options.partial && templateSpec.useData) {\n\t      data = initData(context, data);\n\t    }\n\t    var depths = undefined,\n\t        blockParams = templateSpec.useBlockParams ? [] : undefined;\n\t    if (templateSpec.useDepths) {\n\t      if (options.depths) {\n\t        depths = context != options.depths[0] ? [context].concat(options.depths) : options.depths;\n\t      } else {\n\t        depths = [context];\n\t      }\n\t    }\n\n\t    function main(context /*, options*/) {\n\t      return '' + templateSpec.main(container, context, container.helpers, container.partials, data, blockParams, depths);\n\t    }\n\n\t    main = executeDecorators(templateSpec.main, main, container, options.depths || [], data, blockParams);\n\t    return main(context, options);\n\t  }\n\n\t  ret.isTop = true;\n\n\t  ret._setup = function (options) {\n\t    if (!options.partial) {\n\t      var mergedHelpers = Utils.extend({}, env.helpers, options.helpers);\n\t      wrapHelpersToPassLookupProperty(mergedHelpers, container);\n\t      container.helpers = mergedHelpers;\n\n\t      if (templateSpec.usePartial) {\n\t        // Use mergeIfNeeded here to prevent compiling global partials multiple times\n\t        container.partials = container.mergeIfNeeded(options.partials, env.partials);\n\t      }\n\t      if (templateSpec.usePartial || templateSpec.useDecorators) {\n\t        container.decorators = Utils.extend({}, env.decorators, options.decorators);\n\t      }\n\n\t      container.hooks = {};\n\t      container.protoAccessControl = _internalProtoAccess.createProtoAccessControl(options);\n\n\t      var keepHelperInHelpers = options.allowCallsToHelperMissing || templateWasPrecompiledWithCompilerV7;\n\t      _helpers.moveHelperToHooks(container, 'helperMissing', keepHelperInHelpers);\n\t      _helpers.moveHelperToHooks(container, 'blockHelperMissing', keepHelperInHelpers);\n\t    } else {\n\t      container.protoAccessControl = options.protoAccessControl; // internal option\n\t      container.helpers = options.helpers;\n\t      container.partials = options.partials;\n\t      container.decorators = options.decorators;\n\t      container.hooks = options.hooks;\n\t    }\n\t  };\n\n\t  ret._child = function (i, data, blockParams, depths) {\n\t    if (templateSpec.useBlockParams && !blockParams) {\n\t      throw new _exception2['default']('must pass block params');\n\t    }\n\t    if (templateSpec.useDepths && !depths) {\n\t      throw new _exception2['default']('must pass parent depths');\n\t    }\n\n\t    return wrapProgram(container, i, templateSpec[i], data, 0, blockParams, depths);\n\t  };\n\t  return ret;\n\t}\n\n\tfunction wrapProgram(container, i, fn, data, declaredBlockParams, blockParams, depths) {\n\t  function prog(context) {\n\t    var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n\t    var currentDepths = depths;\n\t    if (depths && context != depths[0] && !(context === container.nullContext && depths[0] === null)) {\n\t      currentDepths = [context].concat(depths);\n\t    }\n\n\t    return fn(container, context, container.helpers, container.partials, options.data || data, blockParams && [options.blockParams].concat(blockParams), currentDepths);\n\t  }\n\n\t  prog = executeDecorators(fn, prog, container, depths, data, blockParams);\n\n\t  prog.program = i;\n\t  prog.depth = depths ? depths.length : 0;\n\t  prog.blockParams = declaredBlockParams || 0;\n\t  return prog;\n\t}\n\n\t/**\n\t * This is currently part of the official API, therefore implementation details should not be changed.\n\t */\n\n\tfunction resolvePartial(partial, context, options) {\n\t  if (!partial) {\n\t    if (options.name === '@partial-block') {\n\t      partial = options.data['partial-block'];\n\t    } else {\n\t      partial = options.partials[options.name];\n\t    }\n\t  } else if (!partial.call && !options.name) {\n\t    // This is a dynamic partial that returned a string\n\t    options.name = partial;\n\t    partial = options.partials[partial];\n\t  }\n\t  return partial;\n\t}\n\n\tfunction invokePartial(partial, context, options) {\n\t  // Use the current closure context to save the partial-block if this partial\n\t  var currentPartialBlock = options.data && options.data['partial-block'];\n\t  options.partial = true;\n\t  if (options.ids) {\n\t    options.data.contextPath = options.ids[0] || options.data.contextPath;\n\t  }\n\n\t  var partialBlock = undefined;\n\t  if (options.fn && options.fn !== noop) {\n\t    (function () {\n\t      options.data = _base.createFrame(options.data);\n\t      // Wrapper function to get access to currentPartialBlock from the closure\n\t      var fn = options.fn;\n\t      partialBlock = options.data['partial-block'] = function partialBlockWrapper(context) {\n\t        var options = arguments.length <= 1 || arguments[1] === undefined ? {} : arguments[1];\n\n\t        // Restore the partial-block from the closure for the execution of the block\n\t        // i.e. the part inside the block of the partial call.\n\t        options.data = _base.createFrame(options.data);\n\t        options.data['partial-block'] = currentPartialBlock;\n\t        return fn(context, options);\n\t      };\n\t      if (fn.partials) {\n\t        options.partials = Utils.extend({}, options.partials, fn.partials);\n\t      }\n\t    })();\n\t  }\n\n\t  if (partial === undefined && partialBlock) {\n\t    partial = partialBlock;\n\t  }\n\n\t  if (partial === undefined) {\n\t    throw new _exception2['default']('The partial ' + options.name + ' could not be found');\n\t  } else if (partial instanceof Function) {\n\t    return partial(context, options);\n\t  }\n\t}\n\n\tfunction noop() {\n\t  return '';\n\t}\n\n\tfunction initData(context, data) {\n\t  if (!data || !('root' in data)) {\n\t    data = data ? _base.createFrame(data) : {};\n\t    data.root = context;\n\t  }\n\t  return data;\n\t}\n\n\tfunction executeDecorators(fn, prog, container, depths, data, blockParams) {\n\t  if (fn.decorator) {\n\t    var props = {};\n\t    prog = fn.decorator(prog, props, container, depths && depths[0], data, blockParams, depths);\n\t    Utils.extend(prog, props);\n\t  }\n\t  return prog;\n\t}\n\n\tfunction wrapHelpersToPassLookupProperty(mergedHelpers, container) {\n\t  _Object$keys(mergedHelpers).forEach(function (helperName) {\n\t    var helper = mergedHelpers[helperName];\n\t    mergedHelpers[helperName] = passLookupPropertyOption(helper, container);\n\t  });\n\t}\n\n\tfunction passLookupPropertyOption(helper, container) {\n\t  var lookupProperty = container.lookupProperty;\n\t  return _internalWrapHelper.wrapHelper(helper, function (options) {\n\t    return Utils.extend({ lookupProperty: lookupProperty }, options);\n\t  });\n\t}\n\n/***/ }),\n/* 39 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\tmodule.exports = { \"default\": __webpack_require__(40), __esModule: true };\n\n/***/ }),\n/* 40 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t__webpack_require__(41);\n\tmodule.exports = __webpack_require__(21).Object.seal;\n\n/***/ }),\n/* 41 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t// 19.1.2.17 Object.seal(O)\n\tvar isObject = __webpack_require__(42);\n\n\t__webpack_require__(18)('seal', function($seal){\n\t  return function seal(it){\n\t    return $seal && isObject(it) ? $seal(it) : it;\n\t  };\n\t});\n\n/***/ }),\n/* 42 */\n/***/ (function(module, exports) {\n\n\tmodule.exports = function(it){\n\t  return typeof it === 'object' ? it !== null : typeof it === 'function';\n\t};\n\n/***/ }),\n/* 43 */\n/***/ (function(module, exports) {\n\n\t'use strict';\n\n\texports.__esModule = true;\n\texports.wrapHelper = wrapHelper;\n\n\tfunction wrapHelper(helper, transformOptionsFn) {\n\t  if (typeof helper !== 'function') {\n\t    // This should not happen, but apparently it does in https://github.com/wycats/handlebars.js/issues/1639\n\t    // We try to make the wrapper least-invasive by not wrapping it, if the helper is not a function.\n\t    return helper;\n\t  }\n\t  var wrapper = function wrapper() /* dynamic arguments */{\n\t    var options = arguments[arguments.length - 1];\n\t    arguments[arguments.length - 1] = transformOptionsFn(options);\n\t    return helper.apply(this, arguments);\n\t  };\n\t  return wrapper;\n\t}\n\n/***/ }),\n/* 44 */\n/***/ (function(module, exports) {\n\n\t/* WEBPACK VAR INJECTION */(function(global) {'use strict';\n\n\texports.__esModule = true;\n\n\texports['default'] = function (Handlebars) {\n\t  /* istanbul ignore next */\n\t  var root = typeof global !== 'undefined' ? global : window,\n\t      $Handlebars = root.Handlebars;\n\t  /* istanbul ignore next */\n\t  Handlebars.noConflict = function () {\n\t    if (root.Handlebars === Handlebars) {\n\t      root.Handlebars = $Handlebars;\n\t    }\n\t    return Handlebars;\n\t  };\n\t};\n\n\tmodule.exports = exports['default'];\n\t/* WEBPACK VAR INJECTION */}.call(exports, (function() { return this; }())))\n\n/***/ }),\n/* 45 */\n/***/ (function(module, exports) {\n\n\t'use strict';\n\n\texports.__esModule = true;\n\tvar AST = {\n\t  // Public API used to evaluate derived attributes regarding AST nodes\n\t  helpers: {\n\t    // a mustache is definitely a helper if:\n\t    // * it is an eligible helper, and\n\t    // * it has at least one parameter or hash segment\n\t    helperExpression: function helperExpression(node) {\n\t      return node.type === 'SubExpression' || (node.type === 'MustacheStatement' || node.type === 'BlockStatement') && !!(node.params && node.params.length || node.hash);\n\t    },\n\n\t    scopedId: function scopedId(path) {\n\t      return (/^\\.|this\\b/.test(path.original)\n\t      );\n\t    },\n\n\t    // an ID is simple if it only has one part, and that part is not\n\t    // `..` or `this`.\n\t    simpleId: function simpleId(path) {\n\t      return path.parts.length === 1 && !AST.helpers.scopedId(path) && !path.depth;\n\t    }\n\t  }\n\t};\n\n\t// Must be exported as an object rather than the root of the module as the jison lexer\n\t// must modify the object to operate properly.\n\texports['default'] = AST;\n\tmodule.exports = exports['default'];\n\n/***/ }),\n/* 46 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\n\tvar _interopRequireDefault = __webpack_require__(1)['default'];\n\n\tvar _interopRequireWildcard = __webpack_require__(3)['default'];\n\n\texports.__esModule = true;\n\texports.parseWithoutProcessing = parseWithoutProcessing;\n\texports.parse = parse;\n\n\tvar _parser = __webpack_require__(47);\n\n\tvar _parser2 = _interopRequireDefault(_parser);\n\n\tvar _whitespaceControl = __webpack_require__(48);\n\n\tvar _whitespaceControl2 = _interopRequireDefault(_whitespaceControl);\n\n\tvar _helpers = __webpack_require__(50);\n\n\tvar Helpers = _interopRequireWildcard(_helpers);\n\n\tvar _utils = __webpack_require__(5);\n\n\texports.parser = _parser2['default'];\n\n\tvar yy = {};\n\t_utils.extend(yy, Helpers);\n\n\tfunction parseWithoutProcessing(input, options) {\n\t  // Just return if an already-compiled AST was passed in.\n\t  if (input.type === 'Program') {\n\t    return input;\n\t  }\n\n\t  _parser2['default'].yy = yy;\n\n\t  // Altering the shared object here, but this is ok as parser is a sync operation\n\t  yy.locInfo = function (locInfo) {\n\t    return new yy.SourceLocation(options && options.srcName, locInfo);\n\t  };\n\n\t  var ast = _parser2['default'].parse(input);\n\n\t  return ast;\n\t}\n\n\tfunction parse(input, options) {\n\t  var ast = parseWithoutProcessing(input, options);\n\t  var strip = new _whitespaceControl2['default'](options);\n\n\t  return strip.accept(ast);\n\t}\n\n/***/ }),\n/* 47 */\n/***/ (function(module, exports) {\n\n\t// File ignored in coverage tests via setting in .istanbul.yml\n\t/* Jison generated parser */\n\t\"use strict\";\n\n\texports.__esModule = true;\n\tvar handlebars = (function () {\n\t    var parser = { trace: function trace() {},\n\t        yy: {},\n\t        symbols_: { \"error\": 2, \"root\": 3, \"program\": 4, \"EOF\": 5, \"program_repetition0\": 6, \"statement\": 7, \"mustache\": 8, \"block\": 9, \"rawBlock\": 10, \"partial\": 11, \"partialBlock\": 12, \"content\": 13, \"COMMENT\": 14, \"CONTENT\": 15, \"openRawBlock\": 16, \"rawBlock_repetition0\": 17, \"END_RAW_BLOCK\": 18, \"OPEN_RAW_BLOCK\": 19, \"helperName\": 20, \"openRawBlock_repetition0\": 21, \"openRawBlock_option0\": 22, \"CLOSE_RAW_BLOCK\": 23, \"openBlock\": 24, \"block_option0\": 25, \"closeBlock\": 26, \"openInverse\": 27, \"block_option1\": 28, \"OPEN_BLOCK\": 29, \"openBlock_repetition0\": 30, \"openBlock_option0\": 31, \"openBlock_option1\": 32, \"CLOSE\": 33, \"OPEN_INVERSE\": 34, \"openInverse_repetition0\": 35, \"openInverse_option0\": 36, \"openInverse_option1\": 37, \"openInverseChain\": 38, \"OPEN_INVERSE_CHAIN\": 39, \"openInverseChain_repetition0\": 40, \"openInverseChain_option0\": 41, \"openInverseChain_option1\": 42, \"inverseAndProgram\": 43, \"INVERSE\": 44, \"inverseChain\": 45, \"inverseChain_option0\": 46, \"OPEN_ENDBLOCK\": 47, \"OPEN\": 48, \"mustache_repetition0\": 49, \"mustache_option0\": 50, \"OPEN_UNESCAPED\": 51, \"mustache_repetition1\": 52, \"mustache_option1\": 53, \"CLOSE_UNESCAPED\": 54, \"OPEN_PARTIAL\": 55, \"partialName\": 56, \"partial_repetition0\": 57, \"partial_option0\": 58, \"openPartialBlock\": 59, \"OPEN_PARTIAL_BLOCK\": 60, \"openPartialBlock_repetition0\": 61, \"openPartialBlock_option0\": 62, \"param\": 63, \"sexpr\": 64, \"OPEN_SEXPR\": 65, \"sexpr_repetition0\": 66, \"sexpr_option0\": 67, \"CLOSE_SEXPR\": 68, \"hash\": 69, \"hash_repetition_plus0\": 70, \"hashSegment\": 71, \"ID\": 72, \"EQUALS\": 73, \"blockParams\": 74, \"OPEN_BLOCK_PARAMS\": 75, \"blockParams_repetition_plus0\": 76, \"CLOSE_BLOCK_PARAMS\": 77, \"path\": 78, \"dataName\": 79, \"STRING\": 80, \"NUMBER\": 81, \"BOOLEAN\": 82, \"UNDEFINED\": 83, \"NULL\": 84, \"DATA\": 85, \"pathSegments\": 86, \"SEP\": 87, \"$accept\": 0, \"$end\": 1 },\n\t        terminals_: { 2: \"error\", 5: \"EOF\", 14: \"COMMENT\", 15: \"CONTENT\", 18: \"END_RAW_BLOCK\", 19: \"OPEN_RAW_BLOCK\", 23: \"CLOSE_RAW_BLOCK\", 29: \"OPEN_BLOCK\", 33: \"CLOSE\", 34: \"OPEN_INVERSE\", 39: \"OPEN_INVERSE_CHAIN\", 44: \"INVERSE\", 47: \"OPEN_ENDBLOCK\", 48: \"OPEN\", 51: \"OPEN_UNESCAPED\", 54: \"CLOSE_UNESCAPED\", 55: \"OPEN_PARTIAL\", 60: \"OPEN_PARTIAL_BLOCK\", 65: \"OPEN_SEXPR\", 68: \"CLOSE_SEXPR\", 72: \"ID\", 73: \"EQUALS\", 75: \"OPEN_BLOCK_PARAMS\", 77: \"CLOSE_BLOCK_PARAMS\", 80: \"STRING\", 81: \"NUMBER\", 82: \"BOOLEAN\", 83: \"UNDEFINED\", 84: \"NULL\", 85: \"DATA\", 87: \"SEP\" },\n\t        productions_: [0, [3, 2], [4, 1], [7, 1], [7, 1], [7, 1], [7, 1], [7, 1], [7, 1], [7, 1], [13, 1], [10, 3], [16, 5], [9, 4], [9, 4], [24, 6], [27, 6], [38, 6], [43, 2], [45, 3], [45, 1], [26, 3], [8, 5], [8, 5], [11, 5], [12, 3], [59, 5], [63, 1], [63, 1], [64, 5], [69, 1], [71, 3], [74, 3], [20, 1], [20, 1], [20, 1], [20, 1], [20, 1], [20, 1], [20, 1], [56, 1], [56, 1], [79, 2], [78, 1], [86, 3], [86, 1], [6, 0], [6, 2], [17, 0], [17, 2], [21, 0], [21, 2], [22, 0], [22, 1], [25, 0], [25, 1], [28, 0], [28, 1], [30, 0], [30, 2], [31, 0], [31, 1], [32, 0], [32, 1], [35, 0], [35, 2], [36, 0], [36, 1], [37, 0], [37, 1], [40, 0], [40, 2], [41, 0], [41, 1], [42, 0], [42, 1], [46, 0], [46, 1], [49, 0], [49, 2], [50, 0], [50, 1], [52, 0], [52, 2], [53, 0], [53, 1], [57, 0], [57, 2], [58, 0], [58, 1], [61, 0], [61, 2], [62, 0], [62, 1], [66, 0], [66, 2], [67, 0], [67, 1], [70, 1], [70, 2], [76, 1], [76, 2]],\n\t        performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {\n\n\t            var $0 = $$.length - 1;\n\t            switch (yystate) {\n\t                case 1:\n\t                    return $$[$0 - 1];\n\t                    break;\n\t                case 2:\n\t                    this.$ = yy.prepareProgram($$[$0]);\n\t                    break;\n\t                case 3:\n\t                    this.$ = $$[$0];\n\t                    break;\n\t                case 4:\n\t                    this.$ = $$[$0];\n\t                    break;\n\t                case 5:\n\t                    this.$ = $$[$0];\n\t                    break;\n\t                case 6:\n\t                    this.$ = $$[$0];\n\t                    break;\n\t                case 7:\n\t                    this.$ = $$[$0];\n\t                    break;\n\t                case 8:\n\t                    this.$ = $$[$0];\n\t                    break;\n\t                case 9:\n\t                    this.$ = {\n\t                        type: 'CommentStatement',\n\t                        value: yy.stripComment($$[$0]),\n\t                        strip: yy.stripFlags($$[$0], $$[$0]),\n\t                        loc: yy.locInfo(this._$)\n\t                    };\n\n\t                    break;\n\t                case 10:\n\t                    this.$ = {\n\t                        type: 'ContentStatement',\n\t                        original: $$[$0],\n\t                        value: $$[$0],\n\t                        loc: yy.locInfo(this._$)\n\t                    };\n\n\t                    break;\n\t                case 11:\n\t                    this.$ = yy.prepareRawBlock($$[$0 - 2], $$[$0 - 1], $$[$0], this._$);\n\t                    break;\n\t                case 12:\n\t                    this.$ = { path: $$[$0 - 3], params: $$[$0 - 2], hash: $$[$0 - 1] };\n\t                    break;\n\t                case 13:\n\t                    this.$ = yy.prepareBlock($$[$0 - 3], $$[$0 - 2], $$[$0 - 1], $$[$0], false, this._$);\n\t                    break;\n\t                case 14:\n\t                    this.$ = yy.prepareBlock($$[$0 - 3], $$[$0 - 2], $$[$0 - 1], $$[$0], true, this._$);\n\t                    break;\n\t                case 15:\n\t                    this.$ = { open: $$[$0 - 5], path: $$[$0 - 4], params: $$[$0 - 3], hash: $$[$0 - 2], blockParams: $$[$0 - 1], strip: yy.stripFlags($$[$0 - 5], $$[$0]) };\n\t                    break;\n\t                case 16:\n\t                    this.$ = { path: $$[$0 - 4], params: $$[$0 - 3], hash: $$[$0 - 2], blockParams: $$[$0 - 1], strip: yy.stripFlags($$[$0 - 5], $$[$0]) };\n\t                    break;\n\t                case 17:\n\t                    this.$ = { path: $$[$0 - 4], params: $$[$0 - 3], hash: $$[$0 - 2], blockParams: $$[$0 - 1], strip: yy.stripFlags($$[$0 - 5], $$[$0]) };\n\t                    break;\n\t                case 18:\n\t                    this.$ = { strip: yy.stripFlags($$[$0 - 1], $$[$0 - 1]), program: $$[$0] };\n\t                    break;\n\t                case 19:\n\t                    var inverse = yy.prepareBlock($$[$0 - 2], $$[$0 - 1], $$[$0], $$[$0], false, this._$),\n\t                        program = yy.prepareProgram([inverse], $$[$0 - 1].loc);\n\t                    program.chained = true;\n\n\t                    this.$ = { strip: $$[$0 - 2].strip, program: program, chain: true };\n\n\t                    break;\n\t                case 20:\n\t                    this.$ = $$[$0];\n\t                    break;\n\t                case 21:\n\t                    this.$ = { path: $$[$0 - 1], strip: yy.stripFlags($$[$0 - 2], $$[$0]) };\n\t                    break;\n\t                case 22:\n\t                    this.$ = yy.prepareMustache($$[$0 - 3], $$[$0 - 2], $$[$0 - 1], $$[$0 - 4], yy.stripFlags($$[$0 - 4], $$[$0]), this._$);\n\t                    break;\n\t                case 23:\n\t                    this.$ = yy.prepareMustache($$[$0 - 3], $$[$0 - 2], $$[$0 - 1], $$[$0 - 4], yy.stripFlags($$[$0 - 4], $$[$0]), this._$);\n\t                    break;\n\t                case 24:\n\t                    this.$ = {\n\t                        type: 'PartialStatement',\n\t                        name: $$[$0 - 3],\n\t                        params: $$[$0 - 2],\n\t                        hash: $$[$0 - 1],\n\t                        indent: '',\n\t                        strip: yy.stripFlags($$[$0 - 4], $$[$0]),\n\t                        loc: yy.locInfo(this._$)\n\t                    };\n\n\t                    break;\n\t                case 25:\n\t                    this.$ = yy.preparePartialBlock($$[$0 - 2], $$[$0 - 1], $$[$0], this._$);\n\t                    break;\n\t                case 26:\n\t                    this.$ = { path: $$[$0 - 3], params: $$[$0 - 2], hash: $$[$0 - 1], strip: yy.stripFlags($$[$0 - 4], $$[$0]) };\n\t                    break;\n\t                case 27:\n\t                    this.$ = $$[$0];\n\t                    break;\n\t                case 28:\n\t                    this.$ = $$[$0];\n\t                    break;\n\t                case 29:\n\t                    this.$ = {\n\t                        type: 'SubExpression',\n\t                        path: $$[$0 - 3],\n\t                        params: $$[$0 - 2],\n\t                        hash: $$[$0 - 1],\n\t                        loc: yy.locInfo(this._$)\n\t                    };\n\n\t                    break;\n\t                case 30:\n\t                    this.$ = { type: 'Hash', pairs: $$[$0], loc: yy.locInfo(this._$) };\n\t                    break;\n\t                case 31:\n\t                    this.$ = { type: 'HashPair', key: yy.id($$[$0 - 2]), value: $$[$0], loc: yy.locInfo(this._$) };\n\t                    break;\n\t                case 32:\n\t                    this.$ = yy.id($$[$0 - 1]);\n\t                    break;\n\t                case 33:\n\t                    this.$ = $$[$0];\n\t                    break;\n\t                case 34:\n\t                    this.$ = $$[$0];\n\t                    break;\n\t                case 35:\n\t                    this.$ = { type: 'StringLiteral', value: $$[$0], original: $$[$0], loc: yy.locInfo(this._$) };\n\t                    break;\n\t                case 36:\n\t                    this.$ = { type: 'NumberLiteral', value: Number($$[$0]), original: Number($$[$0]), loc: yy.locInfo(this._$) };\n\t                    break;\n\t                case 37:\n\t                    this.$ = { type: 'BooleanLiteral', value: $$[$0] === 'true', original: $$[$0] === 'true', loc: yy.locInfo(this._$) };\n\t                    break;\n\t                case 38:\n\t                    this.$ = { type: 'UndefinedLiteral', original: undefined, value: undefined, loc: yy.locInfo(this._$) };\n\t                    break;\n\t                case 39:\n\t                    this.$ = { type: 'NullLiteral', original: null, value: null, loc: yy.locInfo(this._$) };\n\t                    break;\n\t                case 40:\n\t                    this.$ = $$[$0];\n\t                    break;\n\t                case 41:\n\t                    this.$ = $$[$0];\n\t                    break;\n\t                case 42:\n\t                    this.$ = yy.preparePath(true, $$[$0], this._$);\n\t                    break;\n\t                case 43:\n\t                    this.$ = yy.preparePath(false, $$[$0], this._$);\n\t                    break;\n\t                case 44:\n\t                    $$[$0 - 2].push({ part: yy.id($$[$0]), original: $$[$0], separator: $$[$0 - 1] });this.$ = $$[$0 - 2];\n\t                    break;\n\t                case 45:\n\t                    this.$ = [{ part: yy.id($$[$0]), original: $$[$0] }];\n\t                    break;\n\t                case 46:\n\t                    this.$ = [];\n\t                    break;\n\t                case 47:\n\t                    $$[$0 - 1].push($$[$0]);\n\t                    break;\n\t                case 48:\n\t                    this.$ = [];\n\t                    break;\n\t                case 49:\n\t                    $$[$0 - 1].push($$[$0]);\n\t                    break;\n\t                case 50:\n\t                    this.$ = [];\n\t                    break;\n\t                case 51:\n\t                    $$[$0 - 1].push($$[$0]);\n\t                    break;\n\t                case 58:\n\t                    this.$ = [];\n\t                    break;\n\t                case 59:\n\t                    $$[$0 - 1].push($$[$0]);\n\t                    break;\n\t                case 64:\n\t                    this.$ = [];\n\t                    break;\n\t                case 65:\n\t                    $$[$0 - 1].push($$[$0]);\n\t                    break;\n\t                case 70:\n\t                    this.$ = [];\n\t                    break;\n\t                case 71:\n\t                    $$[$0 - 1].push($$[$0]);\n\t                    break;\n\t                case 78:\n\t                    this.$ = [];\n\t                    break;\n\t                case 79:\n\t                    $$[$0 - 1].push($$[$0]);\n\t                    break;\n\t                case 82:\n\t                    this.$ = [];\n\t                    break;\n\t                case 83:\n\t                    $$[$0 - 1].push($$[$0]);\n\t                    break;\n\t                case 86:\n\t                    this.$ = [];\n\t                    break;\n\t                case 87:\n\t                    $$[$0 - 1].push($$[$0]);\n\t                    break;\n\t                case 90:\n\t                    this.$ = [];\n\t                    break;\n\t                case 91:\n\t                    $$[$0 - 1].push($$[$0]);\n\t                    break;\n\t                case 94:\n\t                    this.$ = [];\n\t                    break;\n\t                case 95:\n\t                    $$[$0 - 1].push($$[$0]);\n\t                    break;\n\t                case 98:\n\t                    this.$ = [$$[$0]];\n\t                    break;\n\t                case 99:\n\t                    $$[$0 - 1].push($$[$0]);\n\t                    break;\n\t                case 100:\n\t                    this.$ = [$$[$0]];\n\t                    break;\n\t                case 101:\n\t                    $$[$0 - 1].push($$[$0]);\n\t                    break;\n\t            }\n\t        },\n\t        table: [{ 3: 1, 4: 2, 5: [2, 46], 6: 3, 14: [2, 46], 15: [2, 46], 19: [2, 46], 29: [2, 46], 34: [2, 46], 48: [2, 46], 51: [2, 46], 55: [2, 46], 60: [2, 46] }, { 1: [3] }, { 5: [1, 4] }, { 5: [2, 2], 7: 5, 8: 6, 9: 7, 10: 8, 11: 9, 12: 10, 13: 11, 14: [1, 12], 15: [1, 20], 16: 17, 19: [1, 23], 24: 15, 27: 16, 29: [1, 21], 34: [1, 22], 39: [2, 2], 44: [2, 2], 47: [2, 2], 48: [1, 13], 51: [1, 14], 55: [1, 18], 59: 19, 60: [1, 24] }, { 1: [2, 1] }, { 5: [2, 47], 14: [2, 47], 15: [2, 47], 19: [2, 47], 29: [2, 47], 34: [2, 47], 39: [2, 47], 44: [2, 47], 47: [2, 47], 48: [2, 47], 51: [2, 47], 55: [2, 47], 60: [2, 47] }, { 5: [2, 3], 14: [2, 3], 15: [2, 3], 19: [2, 3], 29: [2, 3], 34: [2, 3], 39: [2, 3], 44: [2, 3], 47: [2, 3], 48: [2, 3], 51: [2, 3], 55: [2, 3], 60: [2, 3] }, { 5: [2, 4], 14: [2, 4], 15: [2, 4], 19: [2, 4], 29: [2, 4], 34: [2, 4], 39: [2, 4], 44: [2, 4], 47: [2, 4], 48: [2, 4], 51: [2, 4], 55: [2, 4], 60: [2, 4] }, { 5: [2, 5], 14: [2, 5], 15: [2, 5], 19: [2, 5], 29: [2, 5], 34: [2, 5], 39: [2, 5], 44: [2, 5], 47: [2, 5], 48: [2, 5], 51: [2, 5], 55: [2, 5], 60: [2, 5] }, { 5: [2, 6], 14: [2, 6], 15: [2, 6], 19: [2, 6], 29: [2, 6], 34: [2, 6], 39: [2, 6], 44: [2, 6], 47: [2, 6], 48: [2, 6], 51: [2, 6], 55: [2, 6], 60: [2, 6] }, { 5: [2, 7], 14: [2, 7], 15: [2, 7], 19: [2, 7], 29: [2, 7], 34: [2, 7], 39: [2, 7], 44: [2, 7], 47: [2, 7], 48: [2, 7], 51: [2, 7], 55: [2, 7], 60: [2, 7] }, { 5: [2, 8], 14: [2, 8], 15: [2, 8], 19: [2, 8], 29: [2, 8], 34: [2, 8], 39: [2, 8], 44: [2, 8], 47: [2, 8], 48: [2, 8], 51: [2, 8], 55: [2, 8], 60: [2, 8] }, { 5: [2, 9], 14: [2, 9], 15: [2, 9], 19: [2, 9], 29: [2, 9], 34: [2, 9], 39: [2, 9], 44: [2, 9], 47: [2, 9], 48: [2, 9], 51: [2, 9], 55: [2, 9], 60: [2, 9] }, { 20: 25, 72: [1, 35], 78: 26, 79: 27, 80: [1, 28], 81: [1, 29], 82: [1, 30], 83: [1, 31], 84: [1, 32], 85: [1, 34], 86: 33 }, { 20: 36, 72: [1, 35], 78: 26, 79: 27, 80: [1, 28], 81: [1, 29], 82: [1, 30], 83: [1, 31], 84: [1, 32], 85: [1, 34], 86: 33 }, { 4: 37, 6: 3, 14: [2, 46], 15: [2, 46], 19: [2, 46], 29: [2, 46], 34: [2, 46], 39: [2, 46], 44: [2, 46], 47: [2, 46], 48: [2, 46], 51: [2, 46], 55: [2, 46], 60: [2, 46] }, { 4: 38, 6: 3, 14: [2, 46], 15: [2, 46], 19: [2, 46], 29: [2, 46], 34: [2, 46], 44: [2, 46], 47: [2, 46], 48: [2, 46], 51: [2, 46], 55: [2, 46], 60: [2, 46] }, { 15: [2, 48], 17: 39, 18: [2, 48] }, { 20: 41, 56: 40, 64: 42, 65: [1, 43], 72: [1, 35], 78: 26, 79: 27, 80: [1, 28], 81: [1, 29], 82: [1, 30], 83: [1, 31], 84: [1, 32], 85: [1, 34], 86: 33 }, { 4: 44, 6: 3, 14: [2, 46], 15: [2, 46], 19: [2, 46], 29: [2, 46], 34: [2, 46], 47: [2, 46], 48: [2, 46], 51: [2, 46], 55: [2, 46], 60: [2, 46] }, { 5: [2, 10], 14: [2, 10], 15: [2, 10], 18: [2, 10], 19: [2, 10], 29: [2, 10], 34: [2, 10], 39: [2, 10], 44: [2, 10], 47: [2, 10], 48: [2, 10], 51: [2, 10], 55: [2, 10], 60: [2, 10] }, { 20: 45, 72: [1, 35], 78: 26, 79: 27, 80: [1, 28], 81: [1, 29], 82: [1, 30], 83: [1, 31], 84: [1, 32], 85: [1, 34], 86: 33 }, { 20: 46, 72: [1, 35], 78: 26, 79: 27, 80: [1, 28], 81: [1, 29], 82: [1, 30], 83: [1, 31], 84: [1, 32], 85: [1, 34], 86: 33 }, { 20: 47, 72: [1, 35], 78: 26, 79: 27, 80: [1, 28], 81: [1, 29], 82: [1, 30], 83: [1, 31], 84: [1, 32], 85: [1, 34], 86: 33 }, { 20: 41, 56: 48, 64: 42, 65: [1, 43], 72: [1, 35], 78: 26, 79: 27, 80: [1, 28], 81: [1, 29], 82: [1, 30], 83: [1, 31], 84: [1, 32], 85: [1, 34], 86: 33 }, { 33: [2, 78], 49: 49, 65: [2, 78], 72: [2, 78], 80: [2, 78], 81: [2, 78], 82: [2, 78], 83: [2, 78], 84: [2, 78], 85: [2, 78] }, { 23: [2, 33], 33: [2, 33], 54: [2, 33], 65: [2, 33], 68: [2, 33], 72: [2, 33], 75: [2, 33], 80: [2, 33], 81: [2, 33], 82: [2, 33], 83: [2, 33], 84: [2, 33], 85: [2, 33] }, { 23: [2, 34], 33: [2, 34], 54: [2, 34], 65: [2, 34], 68: [2, 34], 72: [2, 34], 75: [2, 34], 80: [2, 34], 81: [2, 34], 82: [2, 34], 83: [2, 34], 84: [2, 34], 85: [2, 34] }, { 23: [2, 35], 33: [2, 35], 54: [2, 35], 65: [2, 35], 68: [2, 35], 72: [2, 35], 75: [2, 35], 80: [2, 35], 81: [2, 35], 82: [2, 35], 83: [2, 35], 84: [2, 35], 85: [2, 35] }, { 23: [2, 36], 33: [2, 36], 54: [2, 36], 65: [2, 36], 68: [2, 36], 72: [2, 36], 75: [2, 36], 80: [2, 36], 81: [2, 36], 82: [2, 36], 83: [2, 36], 84: [2, 36], 85: [2, 36] }, { 23: [2, 37], 33: [2, 37], 54: [2, 37], 65: [2, 37], 68: [2, 37], 72: [2, 37], 75: [2, 37], 80: [2, 37], 81: [2, 37], 82: [2, 37], 83: [2, 37], 84: [2, 37], 85: [2, 37] }, { 23: [2, 38], 33: [2, 38], 54: [2, 38], 65: [2, 38], 68: [2, 38], 72: [2, 38], 75: [2, 38], 80: [2, 38], 81: [2, 38], 82: [2, 38], 83: [2, 38], 84: [2, 38], 85: [2, 38] }, { 23: [2, 39], 33: [2, 39], 54: [2, 39], 65: [2, 39], 68: [2, 39], 72: [2, 39], 75: [2, 39], 80: [2, 39], 81: [2, 39], 82: [2, 39], 83: [2, 39], 84: [2, 39], 85: [2, 39] }, { 23: [2, 43], 33: [2, 43], 54: [2, 43], 65: [2, 43], 68: [2, 43], 72: [2, 43], 75: [2, 43], 80: [2, 43], 81: [2, 43], 82: [2, 43], 83: [2, 43], 84: [2, 43], 85: [2, 43], 87: [1, 50] }, { 72: [1, 35], 86: 51 }, { 23: [2, 45], 33: [2, 45], 54: [2, 45], 65: [2, 45], 68: [2, 45], 72: [2, 45], 75: [2, 45], 80: [2, 45], 81: [2, 45], 82: [2, 45], 83: [2, 45], 84: [2, 45], 85: [2, 45], 87: [2, 45] }, { 52: 52, 54: [2, 82], 65: [2, 82], 72: [2, 82], 80: [2, 82], 81: [2, 82], 82: [2, 82], 83: [2, 82], 84: [2, 82], 85: [2, 82] }, { 25: 53, 38: 55, 39: [1, 57], 43: 56, 44: [1, 58], 45: 54, 47: [2, 54] }, { 28: 59, 43: 60, 44: [1, 58], 47: [2, 56] }, { 13: 62, 15: [1, 20], 18: [1, 61] }, { 33: [2, 86], 57: 63, 65: [2, 86], 72: [2, 86], 80: [2, 86], 81: [2, 86], 82: [2, 86], 83: [2, 86], 84: [2, 86], 85: [2, 86] }, { 33: [2, 40], 65: [2, 40], 72: [2, 40], 80: [2, 40], 81: [2, 40], 82: [2, 40], 83: [2, 40], 84: [2, 40], 85: [2, 40] }, { 33: [2, 41], 65: [2, 41], 72: [2, 41], 80: [2, 41], 81: [2, 41], 82: [2, 41], 83: [2, 41], 84: [2, 41], 85: [2, 41] }, { 20: 64, 72: [1, 35], 78: 26, 79: 27, 80: [1, 28], 81: [1, 29], 82: [1, 30], 83: [1, 31], 84: [1, 32], 85: [1, 34], 86: 33 }, { 26: 65, 47: [1, 66] }, { 30: 67, 33: [2, 58], 65: [2, 58], 72: [2, 58], 75: [2, 58], 80: [2, 58], 81: [2, 58], 82: [2, 58], 83: [2, 58], 84: [2, 58], 85: [2, 58] }, { 33: [2, 64], 35: 68, 65: [2, 64], 72: [2, 64], 75: [2, 64], 80: [2, 64], 81: [2, 64], 82: [2, 64], 83: [2, 64], 84: [2, 64], 85: [2, 64] }, { 21: 69, 23: [2, 50], 65: [2, 50], 72: [2, 50], 80: [2, 50], 81: [2, 50], 82: [2, 50], 83: [2, 50], 84: [2, 50], 85: [2, 50] }, { 33: [2, 90], 61: 70, 65: [2, 90], 72: [2, 90], 80: [2, 90], 81: [2, 90], 82: [2, 90], 83: [2, 90], 84: [2, 90], 85: [2, 90] }, { 20: 74, 33: [2, 80], 50: 71, 63: 72, 64: 75, 65: [1, 43], 69: 73, 70: 76, 71: 77, 72: [1, 78], 78: 26, 79: 27, 80: [1, 28], 81: [1, 29], 82: [1, 30], 83: [1, 31], 84: [1, 32], 85: [1, 34], 86: 33 }, { 72: [1, 79] }, { 23: [2, 42], 33: [2, 42], 54: [2, 42], 65: [2, 42], 68: [2, 42], 72: [2, 42], 75: [2, 42], 80: [2, 42], 81: [2, 42], 82: [2, 42], 83: [2, 42], 84: [2, 42], 85: [2, 42], 87: [1, 50] }, { 20: 74, 53: 80, 54: [2, 84], 63: 81, 64: 75, 65: [1, 43], 69: 82, 70: 76, 71: 77, 72: [1, 78], 78: 26, 79: 27, 80: [1, 28], 81: [1, 29], 82: [1, 30], 83: [1, 31], 84: [1, 32], 85: [1, 34], 86: 33 }, { 26: 83, 47: [1, 66] }, { 47: [2, 55] }, { 4: 84, 6: 3, 14: [2, 46], 15: [2, 46], 19: [2, 46], 29: [2, 46], 34: [2, 46], 39: [2, 46], 44: [2, 46], 47: [2, 46], 48: [2, 46], 51: [2, 46], 55: [2, 46], 60: [2, 46] }, { 47: [2, 20] }, { 20: 85, 72: [1, 35], 78: 26, 79: 27, 80: [1, 28], 81: [1, 29], 82: [1, 30], 83: [1, 31], 84: [1, 32], 85: [1, 34], 86: 33 }, { 4: 86, 6: 3, 14: [2, 46], 15: [2, 46], 19: [2, 46], 29: [2, 46], 34: [2, 46], 47: [2, 46], 48: [2, 46], 51: [2, 46], 55: [2, 46], 60: [2, 46] }, { 26: 87, 47: [1, 66] }, { 47: [2, 57] }, { 5: [2, 11], 14: [2, 11], 15: [2, 11], 19: [2, 11], 29: [2, 11], 34: [2, 11], 39: [2, 11], 44: [2, 11], 47: [2, 11], 48: [2, 11], 51: [2, 11], 55: [2, 11], 60: [2, 11] }, { 15: [2, 49], 18: [2, 49] }, { 20: 74, 33: [2, 88], 58: 88, 63: 89, 64: 75, 65: [1, 43], 69: 90, 70: 76, 71: 77, 72: [1, 78], 78: 26, 79: 27, 80: [1, 28], 81: [1, 29], 82: [1, 30], 83: [1, 31], 84: [1, 32], 85: [1, 34], 86: 33 }, { 65: [2, 94], 66: 91, 68: [2, 94], 72: [2, 94], 80: [2, 94], 81: [2, 94], 82: [2, 94], 83: [2, 94], 84: [2, 94], 85: [2, 94] }, { 5: [2, 25], 14: [2, 25], 15: [2, 25], 19: [2, 25], 29: [2, 25], 34: [2, 25], 39: [2, 25], 44: [2, 25], 47: [2, 25], 48: [2, 25], 51: [2, 25], 55: [2, 25], 60: [2, 25] }, { 20: 92, 72: [1, 35], 78: 26, 79: 27, 80: [1, 28], 81: [1, 29], 82: [1, 30], 83: [1, 31], 84: [1, 32], 85: [1, 34], 86: 33 }, { 20: 74, 31: 93, 33: [2, 60], 63: 94, 64: 75, 65: [1, 43], 69: 95, 70: 76, 71: 77, 72: [1, 78], 75: [2, 60], 78: 26, 79: 27, 80: [1, 28], 81: [1, 29], 82: [1, 30], 83: [1, 31], 84: [1, 32], 85: [1, 34], 86: 33 }, { 20: 74, 33: [2, 66], 36: 96, 63: 97, 64: 75, 65: [1, 43], 69: 98, 70: 76, 71: 77, 72: [1, 78], 75: [2, 66], 78: 26, 79: 27, 80: [1, 28], 81: [1, 29], 82: [1, 30], 83: [1, 31], 84: [1, 32], 85: [1, 34], 86: 33 }, { 20: 74, 22: 99, 23: [2, 52], 63: 100, 64: 75, 65: [1, 43], 69: 101, 70: 76, 71: 77, 72: [1, 78], 78: 26, 79: 27, 80: [1, 28], 81: [1, 29], 82: [1, 30], 83: [1, 31], 84: [1, 32], 85: [1, 34], 86: 33 }, { 20: 74, 33: [2, 92], 62: 102, 63: 103, 64: 75, 65: [1, 43], 69: 104, 70: 76, 71: 77, 72: [1, 78], 78: 26, 79: 27, 80: [1, 28], 81: [1, 29], 82: [1, 30], 83: [1, 31], 84: [1, 32], 85: [1, 34], 86: 33 }, { 33: [1, 105] }, { 33: [2, 79], 65: [2, 79], 72: [2, 79], 80: [2, 79], 81: [2, 79], 82: [2, 79], 83: [2, 79], 84: [2, 79], 85: [2, 79] }, { 33: [2, 81] }, { 23: [2, 27], 33: [2, 27], 54: [2, 27], 65: [2, 27], 68: [2, 27], 72: [2, 27], 75: [2, 27], 80: [2, 27], 81: [2, 27], 82: [2, 27], 83: [2, 27], 84: [2, 27], 85: [2, 27] }, { 23: [2, 28], 33: [2, 28], 54: [2, 28], 65: [2, 28], 68: [2, 28], 72: [2, 28], 75: [2, 28], 80: [2, 28], 81: [2, 28], 82: [2, 28], 83: [2, 28], 84: [2, 28], 85: [2, 28] }, { 23: [2, 30], 33: [2, 30], 54: [2, 30], 68: [2, 30], 71: 106, 72: [1, 107], 75: [2, 30] }, { 23: [2, 98], 33: [2, 98], 54: [2, 98], 68: [2, 98], 72: [2, 98], 75: [2, 98] }, { 23: [2, 45], 33: [2, 45], 54: [2, 45], 65: [2, 45], 68: [2, 45], 72: [2, 45], 73: [1, 108], 75: [2, 45], 80: [2, 45], 81: [2, 45], 82: [2, 45], 83: [2, 45], 84: [2, 45], 85: [2, 45], 87: [2, 45] }, { 23: [2, 44], 33: [2, 44], 54: [2, 44], 65: [2, 44], 68: [2, 44], 72: [2, 44], 75: [2, 44], 80: [2, 44], 81: [2, 44], 82: [2, 44], 83: [2, 44], 84: [2, 44], 85: [2, 44], 87: [2, 44] }, { 54: [1, 109] }, { 54: [2, 83], 65: [2, 83], 72: [2, 83], 80: [2, 83], 81: [2, 83], 82: [2, 83], 83: [2, 83], 84: [2, 83], 85: [2, 83] }, { 54: [2, 85] }, { 5: [2, 13], 14: [2, 13], 15: [2, 13], 19: [2, 13], 29: [2, 13], 34: [2, 13], 39: [2, 13], 44: [2, 13], 47: [2, 13], 48: [2, 13], 51: [2, 13], 55: [2, 13], 60: [2, 13] }, { 38: 55, 39: [1, 57], 43: 56, 44: [1, 58], 45: 111, 46: 110, 47: [2, 76] }, { 33: [2, 70], 40: 112, 65: [2, 70], 72: [2, 70], 75: [2, 70], 80: [2, 70], 81: [2, 70], 82: [2, 70], 83: [2, 70], 84: [2, 70], 85: [2, 70] }, { 47: [2, 18] }, { 5: [2, 14], 14: [2, 14], 15: [2, 14], 19: [2, 14], 29: [2, 14], 34: [2, 14], 39: [2, 14], 44: [2, 14], 47: [2, 14], 48: [2, 14], 51: [2, 14], 55: [2, 14], 60: [2, 14] }, { 33: [1, 113] }, { 33: [2, 87], 65: [2, 87], 72: [2, 87], 80: [2, 87], 81: [2, 87], 82: [2, 87], 83: [2, 87], 84: [2, 87], 85: [2, 87] }, { 33: [2, 89] }, { 20: 74, 63: 115, 64: 75, 65: [1, 43], 67: 114, 68: [2, 96], 69: 116, 70: 76, 71: 77, 72: [1, 78], 78: 26, 79: 27, 80: [1, 28], 81: [1, 29], 82: [1, 30], 83: [1, 31], 84: [1, 32], 85: [1, 34], 86: 33 }, { 33: [1, 117] }, { 32: 118, 33: [2, 62], 74: 119, 75: [1, 120] }, { 33: [2, 59], 65: [2, 59], 72: [2, 59], 75: [2, 59], 80: [2, 59], 81: [2, 59], 82: [2, 59], 83: [2, 59], 84: [2, 59], 85: [2, 59] }, { 33: [2, 61], 75: [2, 61] }, { 33: [2, 68], 37: 121, 74: 122, 75: [1, 120] }, { 33: [2, 65], 65: [2, 65], 72: [2, 65], 75: [2, 65], 80: [2, 65], 81: [2, 65], 82: [2, 65], 83: [2, 65], 84: [2, 65], 85: [2, 65] }, { 33: [2, 67], 75: [2, 67] }, { 23: [1, 123] }, { 23: [2, 51], 65: [2, 51], 72: [2, 51], 80: [2, 51], 81: [2, 51], 82: [2, 51], 83: [2, 51], 84: [2, 51], 85: [2, 51] }, { 23: [2, 53] }, { 33: [1, 124] }, { 33: [2, 91], 65: [2, 91], 72: [2, 91], 80: [2, 91], 81: [2, 91], 82: [2, 91], 83: [2, 91], 84: [2, 91], 85: [2, 91] }, { 33: [2, 93] }, { 5: [2, 22], 14: [2, 22], 15: [2, 22], 19: [2, 22], 29: [2, 22], 34: [2, 22], 39: [2, 22], 44: [2, 22], 47: [2, 22], 48: [2, 22], 51: [2, 22], 55: [2, 22], 60: [2, 22] }, { 23: [2, 99], 33: [2, 99], 54: [2, 99], 68: [2, 99], 72: [2, 99], 75: [2, 99] }, { 73: [1, 108] }, { 20: 74, 63: 125, 64: 75, 65: [1, 43], 72: [1, 35], 78: 26, 79: 27, 80: [1, 28], 81: [1, 29], 82: [1, 30], 83: [1, 31], 84: [1, 32], 85: [1, 34], 86: 33 }, { 5: [2, 23], 14: [2, 23], 15: [2, 23], 19: [2, 23], 29: [2, 23], 34: [2, 23], 39: [2, 23], 44: [2, 23], 47: [2, 23], 48: [2, 23], 51: [2, 23], 55: [2, 23], 60: [2, 23] }, { 47: [2, 19] }, { 47: [2, 77] }, { 20: 74, 33: [2, 72], 41: 126, 63: 127, 64: 75, 65: [1, 43], 69: 128, 70: 76, 71: 77, 72: [1, 78], 75: [2, 72], 78: 26, 79: 27, 80: [1, 28], 81: [1, 29], 82: [1, 30], 83: [1, 31], 84: [1, 32], 85: [1, 34], 86: 33 }, { 5: [2, 24], 14: [2, 24], 15: [2, 24], 19: [2, 24], 29: [2, 24], 34: [2, 24], 39: [2, 24], 44: [2, 24], 47: [2, 24], 48: [2, 24], 51: [2, 24], 55: [2, 24], 60: [2, 24] }, { 68: [1, 129] }, { 65: [2, 95], 68: [2, 95], 72: [2, 95], 80: [2, 95], 81: [2, 95], 82: [2, 95], 83: [2, 95], 84: [2, 95], 85: [2, 95] }, { 68: [2, 97] }, { 5: [2, 21], 14: [2, 21], 15: [2, 21], 19: [2, 21], 29: [2, 21], 34: [2, 21], 39: [2, 21], 44: [2, 21], 47: [2, 21], 48: [2, 21], 51: [2, 21], 55: [2, 21], 60: [2, 21] }, { 33: [1, 130] }, { 33: [2, 63] }, { 72: [1, 132], 76: 131 }, { 33: [1, 133] }, { 33: [2, 69] }, { 15: [2, 12], 18: [2, 12] }, { 14: [2, 26], 15: [2, 26], 19: [2, 26], 29: [2, 26], 34: [2, 26], 47: [2, 26], 48: [2, 26], 51: [2, 26], 55: [2, 26], 60: [2, 26] }, { 23: [2, 31], 33: [2, 31], 54: [2, 31], 68: [2, 31], 72: [2, 31], 75: [2, 31] }, { 33: [2, 74], 42: 134, 74: 135, 75: [1, 120] }, { 33: [2, 71], 65: [2, 71], 72: [2, 71], 75: [2, 71], 80: [2, 71], 81: [2, 71], 82: [2, 71], 83: [2, 71], 84: [2, 71], 85: [2, 71] }, { 33: [2, 73], 75: [2, 73] }, { 23: [2, 29], 33: [2, 29], 54: [2, 29], 65: [2, 29], 68: [2, 29], 72: [2, 29], 75: [2, 29], 80: [2, 29], 81: [2, 29], 82: [2, 29], 83: [2, 29], 84: [2, 29], 85: [2, 29] }, { 14: [2, 15], 15: [2, 15], 19: [2, 15], 29: [2, 15], 34: [2, 15], 39: [2, 15], 44: [2, 15], 47: [2, 15], 48: [2, 15], 51: [2, 15], 55: [2, 15], 60: [2, 15] }, { 72: [1, 137], 77: [1, 136] }, { 72: [2, 100], 77: [2, 100] }, { 14: [2, 16], 15: [2, 16], 19: [2, 16], 29: [2, 16], 34: [2, 16], 44: [2, 16], 47: [2, 16], 48: [2, 16], 51: [2, 16], 55: [2, 16], 60: [2, 16] }, { 33: [1, 138] }, { 33: [2, 75] }, { 33: [2, 32] }, { 72: [2, 101], 77: [2, 101] }, { 14: [2, 17], 15: [2, 17], 19: [2, 17], 29: [2, 17], 34: [2, 17], 39: [2, 17], 44: [2, 17], 47: [2, 17], 48: [2, 17], 51: [2, 17], 55: [2, 17], 60: [2, 17] }],\n\t        defaultActions: { 4: [2, 1], 54: [2, 55], 56: [2, 20], 60: [2, 57], 73: [2, 81], 82: [2, 85], 86: [2, 18], 90: [2, 89], 101: [2, 53], 104: [2, 93], 110: [2, 19], 111: [2, 77], 116: [2, 97], 119: [2, 63], 122: [2, 69], 135: [2, 75], 136: [2, 32] },\n\t        parseError: function parseError(str, hash) {\n\t            throw new Error(str);\n\t        },\n\t        parse: function parse(input) {\n\t            var self = this,\n\t                stack = [0],\n\t                vstack = [null],\n\t                lstack = [],\n\t                table = this.table,\n\t                yytext = \"\",\n\t                yylineno = 0,\n\t                yyleng = 0,\n\t                recovering = 0,\n\t                TERROR = 2,\n\t                EOF = 1;\n\t            this.lexer.setInput(input);\n\t            this.lexer.yy = this.yy;\n\t            this.yy.lexer = this.lexer;\n\t            this.yy.parser = this;\n\t            if (typeof this.lexer.yylloc == \"undefined\") this.lexer.yylloc = {};\n\t            var yyloc = this.lexer.yylloc;\n\t            lstack.push(yyloc);\n\t            var ranges = this.lexer.options && this.lexer.options.ranges;\n\t            if (typeof this.yy.parseError === \"function\") this.parseError = this.yy.parseError;\n\t            function popStack(n) {\n\t                stack.length = stack.length - 2 * n;\n\t                vstack.length = vstack.length - n;\n\t                lstack.length = lstack.length - n;\n\t            }\n\t            function lex() {\n\t                var token;\n\t                token = self.lexer.lex() || 1;\n\t                if (typeof token !== \"number\") {\n\t                    token = self.symbols_[token] || token;\n\t                }\n\t                return token;\n\t            }\n\t            var symbol,\n\t                preErrorSymbol,\n\t                state,\n\t                action,\n\t                a,\n\t                r,\n\t                yyval = {},\n\t                p,\n\t                len,\n\t                newState,\n\t                expected;\n\t            while (true) {\n\t                state = stack[stack.length - 1];\n\t                if (this.defaultActions[state]) {\n\t                    action = this.defaultActions[state];\n\t                } else {\n\t                    if (symbol === null || typeof symbol == \"undefined\") {\n\t                        symbol = lex();\n\t                    }\n\t                    action = table[state] && table[state][symbol];\n\t                }\n\t                if (typeof action === \"undefined\" || !action.length || !action[0]) {\n\t                    var errStr = \"\";\n\t                    if (!recovering) {\n\t                        expected = [];\n\t                        for (p in table[state]) if (this.terminals_[p] && p > 2) {\n\t                            expected.push(\"'\" + this.terminals_[p] + \"'\");\n\t                        }\n\t                        if (this.lexer.showPosition) {\n\t                            errStr = \"Parse error on line \" + (yylineno + 1) + \":\\n\" + this.lexer.showPosition() + \"\\nExpecting \" + expected.join(\", \") + \", got '\" + (this.terminals_[symbol] || symbol) + \"'\";\n\t                        } else {\n\t                            errStr = \"Parse error on line \" + (yylineno + 1) + \": Unexpected \" + (symbol == 1 ? \"end of input\" : \"'\" + (this.terminals_[symbol] || symbol) + \"'\");\n\t                        }\n\t                        this.parseError(errStr, { text: this.lexer.match, token: this.terminals_[symbol] || symbol, line: this.lexer.yylineno, loc: yyloc, expected: expected });\n\t                    }\n\t                }\n\t                if (action[0] instanceof Array && action.length > 1) {\n\t                    throw new Error(\"Parse Error: multiple actions possible at state: \" + state + \", token: \" + symbol);\n\t                }\n\t                switch (action[0]) {\n\t                    case 1:\n\t                        stack.push(symbol);\n\t                        vstack.push(this.lexer.yytext);\n\t                        lstack.push(this.lexer.yylloc);\n\t                        stack.push(action[1]);\n\t                        symbol = null;\n\t                        if (!preErrorSymbol) {\n\t                            yyleng = this.lexer.yyleng;\n\t                            yytext = this.lexer.yytext;\n\t                            yylineno = this.lexer.yylineno;\n\t                            yyloc = this.lexer.yylloc;\n\t                            if (recovering > 0) recovering--;\n\t                        } else {\n\t                            symbol = preErrorSymbol;\n\t                            preErrorSymbol = null;\n\t                        }\n\t                        break;\n\t                    case 2:\n\t                        len = this.productions_[action[1]][1];\n\t                        yyval.$ = vstack[vstack.length - len];\n\t                        yyval._$ = { first_line: lstack[lstack.length - (len || 1)].first_line, last_line: lstack[lstack.length - 1].last_line, first_column: lstack[lstack.length - (len || 1)].first_column, last_column: lstack[lstack.length - 1].last_column };\n\t                        if (ranges) {\n\t                            yyval._$.range = [lstack[lstack.length - (len || 1)].range[0], lstack[lstack.length - 1].range[1]];\n\t                        }\n\t                        r = this.performAction.call(yyval, yytext, yyleng, yylineno, this.yy, action[1], vstack, lstack);\n\t                        if (typeof r !== \"undefined\") {\n\t                            return r;\n\t                        }\n\t                        if (len) {\n\t                            stack = stack.slice(0, -1 * len * 2);\n\t                            vstack = vstack.slice(0, -1 * len);\n\t                            lstack = lstack.slice(0, -1 * len);\n\t                        }\n\t                        stack.push(this.productions_[action[1]][0]);\n\t                        vstack.push(yyval.$);\n\t                        lstack.push(yyval._$);\n\t                        newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n\t                        stack.push(newState);\n\t                        break;\n\t                    case 3:\n\t                        return true;\n\t                }\n\t            }\n\t            return true;\n\t        }\n\t    };\n\t    /* Jison generated lexer */\n\t    var lexer = (function () {\n\t        var lexer = { EOF: 1,\n\t            parseError: function parseError(str, hash) {\n\t                if (this.yy.parser) {\n\t                    this.yy.parser.parseError(str, hash);\n\t                } else {\n\t                    throw new Error(str);\n\t                }\n\t            },\n\t            setInput: function setInput(input) {\n\t                this._input = input;\n\t                this._more = this._less = this.done = false;\n\t                this.yylineno = this.yyleng = 0;\n\t                this.yytext = this.matched = this.match = '';\n\t                this.conditionStack = ['INITIAL'];\n\t                this.yylloc = { first_line: 1, first_column: 0, last_line: 1, last_column: 0 };\n\t                if (this.options.ranges) this.yylloc.range = [0, 0];\n\t                this.offset = 0;\n\t                return this;\n\t            },\n\t            input: function input() {\n\t                var ch = this._input[0];\n\t                this.yytext += ch;\n\t                this.yyleng++;\n\t                this.offset++;\n\t                this.match += ch;\n\t                this.matched += ch;\n\t                var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n\t                if (lines) {\n\t                    this.yylineno++;\n\t                    this.yylloc.last_line++;\n\t                } else {\n\t                    this.yylloc.last_column++;\n\t                }\n\t                if (this.options.ranges) this.yylloc.range[1]++;\n\n\t                this._input = this._input.slice(1);\n\t                return ch;\n\t            },\n\t            unput: function unput(ch) {\n\t                var len = ch.length;\n\t                var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n\n\t                this._input = ch + this._input;\n\t                this.yytext = this.yytext.substr(0, this.yytext.length - len - 1);\n\t                //this.yyleng -= len;\n\t                this.offset -= len;\n\t                var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n\t                this.match = this.match.substr(0, this.match.length - 1);\n\t                this.matched = this.matched.substr(0, this.matched.length - 1);\n\n\t                if (lines.length - 1) this.yylineno -= lines.length - 1;\n\t                var r = this.yylloc.range;\n\n\t                this.yylloc = { first_line: this.yylloc.first_line,\n\t                    last_line: this.yylineno + 1,\n\t                    first_column: this.yylloc.first_column,\n\t                    last_column: lines ? (lines.length === oldLines.length ? this.yylloc.first_column : 0) + oldLines[oldLines.length - lines.length].length - lines[0].length : this.yylloc.first_column - len\n\t                };\n\n\t                if (this.options.ranges) {\n\t                    this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n\t                }\n\t                return this;\n\t            },\n\t            more: function more() {\n\t                this._more = true;\n\t                return this;\n\t            },\n\t            less: function less(n) {\n\t                this.unput(this.match.slice(n));\n\t            },\n\t            pastInput: function pastInput() {\n\t                var past = this.matched.substr(0, this.matched.length - this.match.length);\n\t                return (past.length > 20 ? '...' : '') + past.substr(-20).replace(/\\n/g, \"\");\n\t            },\n\t            upcomingInput: function upcomingInput() {\n\t                var next = this.match;\n\t                if (next.length < 20) {\n\t                    next += this._input.substr(0, 20 - next.length);\n\t                }\n\t                return (next.substr(0, 20) + (next.length > 20 ? '...' : '')).replace(/\\n/g, \"\");\n\t            },\n\t            showPosition: function showPosition() {\n\t                var pre = this.pastInput();\n\t                var c = new Array(pre.length + 1).join(\"-\");\n\t                return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n\t            },\n\t            next: function next() {\n\t                if (this.done) {\n\t                    return this.EOF;\n\t                }\n\t                if (!this._input) this.done = true;\n\n\t                var token, match, tempMatch, index, col, lines;\n\t                if (!this._more) {\n\t                    this.yytext = '';\n\t                    this.match = '';\n\t                }\n\t                var rules = this._currentRules();\n\t                for (var i = 0; i < rules.length; i++) {\n\t                    tempMatch = this._input.match(this.rules[rules[i]]);\n\t                    if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n\t                        match = tempMatch;\n\t                        index = i;\n\t                        if (!this.options.flex) break;\n\t                    }\n\t                }\n\t                if (match) {\n\t                    lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n\t                    if (lines) this.yylineno += lines.length;\n\t                    this.yylloc = { first_line: this.yylloc.last_line,\n\t                        last_line: this.yylineno + 1,\n\t                        first_column: this.yylloc.last_column,\n\t                        last_column: lines ? lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length : this.yylloc.last_column + match[0].length };\n\t                    this.yytext += match[0];\n\t                    this.match += match[0];\n\t                    this.matches = match;\n\t                    this.yyleng = this.yytext.length;\n\t                    if (this.options.ranges) {\n\t                        this.yylloc.range = [this.offset, this.offset += this.yyleng];\n\t                    }\n\t                    this._more = false;\n\t                    this._input = this._input.slice(match[0].length);\n\t                    this.matched += match[0];\n\t                    token = this.performAction.call(this, this.yy, this, rules[index], this.conditionStack[this.conditionStack.length - 1]);\n\t                    if (this.done && this._input) this.done = false;\n\t                    if (token) return token;else return;\n\t                }\n\t                if (this._input === \"\") {\n\t                    return this.EOF;\n\t                } else {\n\t                    return this.parseError('Lexical error on line ' + (this.yylineno + 1) + '. Unrecognized text.\\n' + this.showPosition(), { text: \"\", token: null, line: this.yylineno });\n\t                }\n\t            },\n\t            lex: function lex() {\n\t                var r = this.next();\n\t                if (typeof r !== 'undefined') {\n\t                    return r;\n\t                } else {\n\t                    return this.lex();\n\t                }\n\t            },\n\t            begin: function begin(condition) {\n\t                this.conditionStack.push(condition);\n\t            },\n\t            popState: function popState() {\n\t                return this.conditionStack.pop();\n\t            },\n\t            _currentRules: function _currentRules() {\n\t                return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n\t            },\n\t            topState: function topState() {\n\t                return this.conditionStack[this.conditionStack.length - 2];\n\t            },\n\t            pushState: function begin(condition) {\n\t                this.begin(condition);\n\t            } };\n\t        lexer.options = {};\n\t        lexer.performAction = function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {\n\n\t            function strip(start, end) {\n\t                return yy_.yytext = yy_.yytext.substring(start, yy_.yyleng - end + start);\n\t            }\n\n\t            var YYSTATE = YY_START;\n\t            switch ($avoiding_name_collisions) {\n\t                case 0:\n\t                    if (yy_.yytext.slice(-2) === \"\\\\\\\\\") {\n\t                        strip(0, 1);\n\t                        this.begin(\"mu\");\n\t                    } else if (yy_.yytext.slice(-1) === \"\\\\\") {\n\t                        strip(0, 1);\n\t                        this.begin(\"emu\");\n\t                    } else {\n\t                        this.begin(\"mu\");\n\t                    }\n\t                    if (yy_.yytext) return 15;\n\n\t                    break;\n\t                case 1:\n\t                    return 15;\n\t                    break;\n\t                case 2:\n\t                    this.popState();\n\t                    return 15;\n\n\t                    break;\n\t                case 3:\n\t                    this.begin('raw');return 15;\n\t                    break;\n\t                case 4:\n\t                    this.popState();\n\t                    // Should be using `this.topState()` below, but it currently\n\t                    // returns the second top instead of the first top. Opened an\n\t                    // issue about it at https://github.com/zaach/jison/issues/291\n\t                    if (this.conditionStack[this.conditionStack.length - 1] === 'raw') {\n\t                        return 15;\n\t                    } else {\n\t                        strip(5, 9);\n\t                        return 'END_RAW_BLOCK';\n\t                    }\n\n\t                    break;\n\t                case 5:\n\t                    return 15;\n\t                    break;\n\t                case 6:\n\t                    this.popState();\n\t                    return 14;\n\n\t                    break;\n\t                case 7:\n\t                    return 65;\n\t                    break;\n\t                case 8:\n\t                    return 68;\n\t                    break;\n\t                case 9:\n\t                    return 19;\n\t                    break;\n\t                case 10:\n\t                    this.popState();\n\t                    this.begin('raw');\n\t                    return 23;\n\n\t                    break;\n\t                case 11:\n\t                    return 55;\n\t                    break;\n\t                case 12:\n\t                    return 60;\n\t                    break;\n\t                case 13:\n\t                    return 29;\n\t                    break;\n\t                case 14:\n\t                    return 47;\n\t                    break;\n\t                case 15:\n\t                    this.popState();return 44;\n\t                    break;\n\t                case 16:\n\t                    this.popState();return 44;\n\t                    break;\n\t                case 17:\n\t                    return 34;\n\t                    break;\n\t                case 18:\n\t                    return 39;\n\t                    break;\n\t                case 19:\n\t                    return 51;\n\t                    break;\n\t                case 20:\n\t                    return 48;\n\t                    break;\n\t                case 21:\n\t                    this.unput(yy_.yytext);\n\t                    this.popState();\n\t                    this.begin('com');\n\n\t                    break;\n\t                case 22:\n\t                    this.popState();\n\t                    return 14;\n\n\t                    break;\n\t                case 23:\n\t                    return 48;\n\t                    break;\n\t                case 24:\n\t                    return 73;\n\t                    break;\n\t                case 25:\n\t                    return 72;\n\t                    break;\n\t                case 26:\n\t                    return 72;\n\t                    break;\n\t                case 27:\n\t                    return 87;\n\t                    break;\n\t                case 28:\n\t                    // ignore whitespace\n\t                    break;\n\t                case 29:\n\t                    this.popState();return 54;\n\t                    break;\n\t                case 30:\n\t                    this.popState();return 33;\n\t                    break;\n\t                case 31:\n\t                    yy_.yytext = strip(1, 2).replace(/\\\\\"/g, '\"');return 80;\n\t                    break;\n\t                case 32:\n\t                    yy_.yytext = strip(1, 2).replace(/\\\\'/g, \"'\");return 80;\n\t                    break;\n\t                case 33:\n\t                    return 85;\n\t                    break;\n\t                case 34:\n\t                    return 82;\n\t                    break;\n\t                case 35:\n\t                    return 82;\n\t                    break;\n\t                case 36:\n\t                    return 83;\n\t                    break;\n\t                case 37:\n\t                    return 84;\n\t                    break;\n\t                case 38:\n\t                    return 81;\n\t                    break;\n\t                case 39:\n\t                    return 75;\n\t                    break;\n\t                case 40:\n\t                    return 77;\n\t                    break;\n\t                case 41:\n\t                    return 72;\n\t                    break;\n\t                case 42:\n\t                    yy_.yytext = yy_.yytext.replace(/\\\\([\\\\\\]])/g, '$1');return 72;\n\t                    break;\n\t                case 43:\n\t                    return 'INVALID';\n\t                    break;\n\t                case 44:\n\t                    return 5;\n\t                    break;\n\t            }\n\t        };\n\t        lexer.rules = [/^(?:[^\\x00]*?(?=(\\{\\{)))/, /^(?:[^\\x00]+)/, /^(?:[^\\x00]{2,}?(?=(\\{\\{|\\\\\\{\\{|\\\\\\\\\\{\\{|$)))/, /^(?:\\{\\{\\{\\{(?=[^\\/]))/, /^(?:\\{\\{\\{\\{\\/[^\\s!\"#%-,\\.\\/;->@\\[-\\^`\\{-~]+(?=[=}\\s\\/.])\\}\\}\\}\\})/, /^(?:[^\\x00]+?(?=(\\{\\{\\{\\{)))/, /^(?:[\\s\\S]*?--(~)?\\}\\})/, /^(?:\\()/, /^(?:\\))/, /^(?:\\{\\{\\{\\{)/, /^(?:\\}\\}\\}\\})/, /^(?:\\{\\{(~)?>)/, /^(?:\\{\\{(~)?#>)/, /^(?:\\{\\{(~)?#\\*?)/, /^(?:\\{\\{(~)?\\/)/, /^(?:\\{\\{(~)?\\^\\s*(~)?\\}\\})/, /^(?:\\{\\{(~)?\\s*else\\s*(~)?\\}\\})/, /^(?:\\{\\{(~)?\\^)/, /^(?:\\{\\{(~)?\\s*else\\b)/, /^(?:\\{\\{(~)?\\{)/, /^(?:\\{\\{(~)?&)/, /^(?:\\{\\{(~)?!--)/, /^(?:\\{\\{(~)?![\\s\\S]*?\\}\\})/, /^(?:\\{\\{(~)?\\*?)/, /^(?:=)/, /^(?:\\.\\.)/, /^(?:\\.(?=([=~}\\s\\/.)|])))/, /^(?:[\\/.])/, /^(?:\\s+)/, /^(?:\\}(~)?\\}\\})/, /^(?:(~)?\\}\\})/, /^(?:\"(\\\\[\"]|[^\"])*\")/, /^(?:'(\\\\[']|[^'])*')/, /^(?:@)/, /^(?:true(?=([~}\\s)])))/, /^(?:false(?=([~}\\s)])))/, /^(?:undefined(?=([~}\\s)])))/, /^(?:null(?=([~}\\s)])))/, /^(?:-?[0-9]+(?:\\.[0-9]+)?(?=([~}\\s)])))/, /^(?:as\\s+\\|)/, /^(?:\\|)/, /^(?:([^\\s!\"#%-,\\.\\/;->@\\[-\\^`\\{-~]+(?=([=~}\\s\\/.)|]))))/, /^(?:\\[(\\\\\\]|[^\\]])*\\])/, /^(?:.)/, /^(?:$)/];\n\t        lexer.conditions = { \"mu\": { \"rules\": [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44], \"inclusive\": false }, \"emu\": { \"rules\": [2], \"inclusive\": false }, \"com\": { \"rules\": [6], \"inclusive\": false }, \"raw\": { \"rules\": [3, 4, 5], \"inclusive\": false }, \"INITIAL\": { \"rules\": [0, 1, 44], \"inclusive\": true } };\n\t        return lexer;\n\t    })();\n\t    parser.lexer = lexer;\n\t    function Parser() {\n\t        this.yy = {};\n\t    }Parser.prototype = parser;parser.Parser = Parser;\n\t    return new Parser();\n\t})();exports[\"default\"] = handlebars;\n\tmodule.exports = exports[\"default\"];\n\n/***/ }),\n/* 48 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\n\tvar _interopRequireDefault = __webpack_require__(1)['default'];\n\n\texports.__esModule = true;\n\n\tvar _visitor = __webpack_require__(49);\n\n\tvar _visitor2 = _interopRequireDefault(_visitor);\n\n\tfunction WhitespaceControl() {\n\t  var options = arguments.length <= 0 || arguments[0] === undefined ? {} : arguments[0];\n\n\t  this.options = options;\n\t}\n\tWhitespaceControl.prototype = new _visitor2['default']();\n\n\tWhitespaceControl.prototype.Program = function (program) {\n\t  var doStandalone = !this.options.ignoreStandalone;\n\n\t  var isRoot = !this.isRootSeen;\n\t  this.isRootSeen = true;\n\n\t  var body = program.body;\n\t  for (var i = 0, l = body.length; i < l; i++) {\n\t    var current = body[i],\n\t        strip = this.accept(current);\n\n\t    if (!strip) {\n\t      continue;\n\t    }\n\n\t    var _isPrevWhitespace = isPrevWhitespace(body, i, isRoot),\n\t        _isNextWhitespace = isNextWhitespace(body, i, isRoot),\n\t        openStandalone = strip.openStandalone && _isPrevWhitespace,\n\t        closeStandalone = strip.closeStandalone && _isNextWhitespace,\n\t        inlineStandalone = strip.inlineStandalone && _isPrevWhitespace && _isNextWhitespace;\n\n\t    if (strip.close) {\n\t      omitRight(body, i, true);\n\t    }\n\t    if (strip.open) {\n\t      omitLeft(body, i, true);\n\t    }\n\n\t    if (doStandalone && inlineStandalone) {\n\t      omitRight(body, i);\n\n\t      if (omitLeft(body, i)) {\n\t        // If we are on a standalone node, save the indent info for partials\n\t        if (current.type === 'PartialStatement') {\n\t          // Pull out the whitespace from the final line\n\t          current.indent = /([ \\t]+$)/.exec(body[i - 1].original)[1];\n\t        }\n\t      }\n\t    }\n\t    if (doStandalone && openStandalone) {\n\t      omitRight((current.program || current.inverse).body);\n\n\t      // Strip out the previous content node if it's whitespace only\n\t      omitLeft(body, i);\n\t    }\n\t    if (doStandalone && closeStandalone) {\n\t      // Always strip the next node\n\t      omitRight(body, i);\n\n\t      omitLeft((current.inverse || current.program).body);\n\t    }\n\t  }\n\n\t  return program;\n\t};\n\n\tWhitespaceControl.prototype.BlockStatement = WhitespaceControl.prototype.DecoratorBlock = WhitespaceControl.prototype.PartialBlockStatement = function (block) {\n\t  this.accept(block.program);\n\t  this.accept(block.inverse);\n\n\t  // Find the inverse program that is involed with whitespace stripping.\n\t  var program = block.program || block.inverse,\n\t      inverse = block.program && block.inverse,\n\t      firstInverse = inverse,\n\t      lastInverse = inverse;\n\n\t  if (inverse && inverse.chained) {\n\t    firstInverse = inverse.body[0].program;\n\n\t    // Walk the inverse chain to find the last inverse that is actually in the chain.\n\t    while (lastInverse.chained) {\n\t      lastInverse = lastInverse.body[lastInverse.body.length - 1].program;\n\t    }\n\t  }\n\n\t  var strip = {\n\t    open: block.openStrip.open,\n\t    close: block.closeStrip.close,\n\n\t    // Determine the standalone candiacy. Basically flag our content as being possibly standalone\n\t    // so our parent can determine if we actually are standalone\n\t    openStandalone: isNextWhitespace(program.body),\n\t    closeStandalone: isPrevWhitespace((firstInverse || program).body)\n\t  };\n\n\t  if (block.openStrip.close) {\n\t    omitRight(program.body, null, true);\n\t  }\n\n\t  if (inverse) {\n\t    var inverseStrip = block.inverseStrip;\n\n\t    if (inverseStrip.open) {\n\t      omitLeft(program.body, null, true);\n\t    }\n\n\t    if (inverseStrip.close) {\n\t      omitRight(firstInverse.body, null, true);\n\t    }\n\t    if (block.closeStrip.open) {\n\t      omitLeft(lastInverse.body, null, true);\n\t    }\n\n\t    // Find standalone else statments\n\t    if (!this.options.ignoreStandalone && isPrevWhitespace(program.body) && isNextWhitespace(firstInverse.body)) {\n\t      omitLeft(program.body);\n\t      omitRight(firstInverse.body);\n\t    }\n\t  } else if (block.closeStrip.open) {\n\t    omitLeft(program.body, null, true);\n\t  }\n\n\t  return strip;\n\t};\n\n\tWhitespaceControl.prototype.Decorator = WhitespaceControl.prototype.MustacheStatement = function (mustache) {\n\t  return mustache.strip;\n\t};\n\n\tWhitespaceControl.prototype.PartialStatement = WhitespaceControl.prototype.CommentStatement = function (node) {\n\t  /* istanbul ignore next */\n\t  var strip = node.strip || {};\n\t  return {\n\t    inlineStandalone: true,\n\t    open: strip.open,\n\t    close: strip.close\n\t  };\n\t};\n\n\tfunction isPrevWhitespace(body, i, isRoot) {\n\t  if (i === undefined) {\n\t    i = body.length;\n\t  }\n\n\t  // Nodes that end with newlines are considered whitespace (but are special\n\t  // cased for strip operations)\n\t  var prev = body[i - 1],\n\t      sibling = body[i - 2];\n\t  if (!prev) {\n\t    return isRoot;\n\t  }\n\n\t  if (prev.type === 'ContentStatement') {\n\t    return (sibling || !isRoot ? /\\r?\\n\\s*?$/ : /(^|\\r?\\n)\\s*?$/).test(prev.original);\n\t  }\n\t}\n\tfunction isNextWhitespace(body, i, isRoot) {\n\t  if (i === undefined) {\n\t    i = -1;\n\t  }\n\n\t  var next = body[i + 1],\n\t      sibling = body[i + 2];\n\t  if (!next) {\n\t    return isRoot;\n\t  }\n\n\t  if (next.type === 'ContentStatement') {\n\t    return (sibling || !isRoot ? /^\\s*?\\r?\\n/ : /^\\s*?(\\r?\\n|$)/).test(next.original);\n\t  }\n\t}\n\n\t// Marks the node to the right of the position as omitted.\n\t// I.e. {{foo}}' ' will mark the ' ' node as omitted.\n\t//\n\t// If i is undefined, then the first child will be marked as such.\n\t//\n\t// If mulitple is truthy then all whitespace will be stripped out until non-whitespace\n\t// content is met.\n\tfunction omitRight(body, i, multiple) {\n\t  var current = body[i == null ? 0 : i + 1];\n\t  if (!current || current.type !== 'ContentStatement' || !multiple && current.rightStripped) {\n\t    return;\n\t  }\n\n\t  var original = current.value;\n\t  current.value = current.value.replace(multiple ? /^\\s+/ : /^[ \\t]*\\r?\\n?/, '');\n\t  current.rightStripped = current.value !== original;\n\t}\n\n\t// Marks the node to the left of the position as omitted.\n\t// I.e. ' '{{foo}} will mark the ' ' node as omitted.\n\t//\n\t// If i is undefined then the last child will be marked as such.\n\t//\n\t// If mulitple is truthy then all whitespace will be stripped out until non-whitespace\n\t// content is met.\n\tfunction omitLeft(body, i, multiple) {\n\t  var current = body[i == null ? body.length - 1 : i - 1];\n\t  if (!current || current.type !== 'ContentStatement' || !multiple && current.leftStripped) {\n\t    return;\n\t  }\n\n\t  // We omit the last node if it's whitespace only and not preceded by a non-content node.\n\t  var original = current.value;\n\t  current.value = current.value.replace(multiple ? /\\s+$/ : /[ \\t]+$/, '');\n\t  current.leftStripped = current.value !== original;\n\t  return current.leftStripped;\n\t}\n\n\texports['default'] = WhitespaceControl;\n\tmodule.exports = exports['default'];\n\n/***/ }),\n/* 49 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\n\tvar _interopRequireDefault = __webpack_require__(1)['default'];\n\n\texports.__esModule = true;\n\n\tvar _exception = __webpack_require__(6);\n\n\tvar _exception2 = _interopRequireDefault(_exception);\n\n\tfunction Visitor() {\n\t  this.parents = [];\n\t}\n\n\tVisitor.prototype = {\n\t  constructor: Visitor,\n\t  mutating: false,\n\n\t  // Visits a given value. If mutating, will replace the value if necessary.\n\t  acceptKey: function acceptKey(node, name) {\n\t    var value = this.accept(node[name]);\n\t    if (this.mutating) {\n\t      // Hacky sanity check: This may have a few false positives for type for the helper\n\t      // methods but will generally do the right thing without a lot of overhead.\n\t      if (value && !Visitor.prototype[value.type]) {\n\t        throw new _exception2['default']('Unexpected node type \"' + value.type + '\" found when accepting ' + name + ' on ' + node.type);\n\t      }\n\t      node[name] = value;\n\t    }\n\t  },\n\n\t  // Performs an accept operation with added sanity check to ensure\n\t  // required keys are not removed.\n\t  acceptRequired: function acceptRequired(node, name) {\n\t    this.acceptKey(node, name);\n\n\t    if (!node[name]) {\n\t      throw new _exception2['default'](node.type + ' requires ' + name);\n\t    }\n\t  },\n\n\t  // Traverses a given array. If mutating, empty respnses will be removed\n\t  // for child elements.\n\t  acceptArray: function acceptArray(array) {\n\t    for (var i = 0, l = array.length; i < l; i++) {\n\t      this.acceptKey(array, i);\n\n\t      if (!array[i]) {\n\t        array.splice(i, 1);\n\t        i--;\n\t        l--;\n\t      }\n\t    }\n\t  },\n\n\t  accept: function accept(object) {\n\t    if (!object) {\n\t      return;\n\t    }\n\n\t    /* istanbul ignore next: Sanity code */\n\t    if (!this[object.type]) {\n\t      throw new _exception2['default']('Unknown type: ' + object.type, object);\n\t    }\n\n\t    if (this.current) {\n\t      this.parents.unshift(this.current);\n\t    }\n\t    this.current = object;\n\n\t    var ret = this[object.type](object);\n\n\t    this.current = this.parents.shift();\n\n\t    if (!this.mutating || ret) {\n\t      return ret;\n\t    } else if (ret !== false) {\n\t      return object;\n\t    }\n\t  },\n\n\t  Program: function Program(program) {\n\t    this.acceptArray(program.body);\n\t  },\n\n\t  MustacheStatement: visitSubExpression,\n\t  Decorator: visitSubExpression,\n\n\t  BlockStatement: visitBlock,\n\t  DecoratorBlock: visitBlock,\n\n\t  PartialStatement: visitPartial,\n\t  PartialBlockStatement: function PartialBlockStatement(partial) {\n\t    visitPartial.call(this, partial);\n\n\t    this.acceptKey(partial, 'program');\n\t  },\n\n\t  ContentStatement: function ContentStatement() /* content */{},\n\t  CommentStatement: function CommentStatement() /* comment */{},\n\n\t  SubExpression: visitSubExpression,\n\n\t  PathExpression: function PathExpression() /* path */{},\n\n\t  StringLiteral: function StringLiteral() /* string */{},\n\t  NumberLiteral: function NumberLiteral() /* number */{},\n\t  BooleanLiteral: function BooleanLiteral() /* bool */{},\n\t  UndefinedLiteral: function UndefinedLiteral() /* literal */{},\n\t  NullLiteral: function NullLiteral() /* literal */{},\n\n\t  Hash: function Hash(hash) {\n\t    this.acceptArray(hash.pairs);\n\t  },\n\t  HashPair: function HashPair(pair) {\n\t    this.acceptRequired(pair, 'value');\n\t  }\n\t};\n\n\tfunction visitSubExpression(mustache) {\n\t  this.acceptRequired(mustache, 'path');\n\t  this.acceptArray(mustache.params);\n\t  this.acceptKey(mustache, 'hash');\n\t}\n\tfunction visitBlock(block) {\n\t  visitSubExpression.call(this, block);\n\n\t  this.acceptKey(block, 'program');\n\t  this.acceptKey(block, 'inverse');\n\t}\n\tfunction visitPartial(partial) {\n\t  this.acceptRequired(partial, 'name');\n\t  this.acceptArray(partial.params);\n\t  this.acceptKey(partial, 'hash');\n\t}\n\n\texports['default'] = Visitor;\n\tmodule.exports = exports['default'];\n\n/***/ }),\n/* 50 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\n\tvar _interopRequireDefault = __webpack_require__(1)['default'];\n\n\texports.__esModule = true;\n\texports.SourceLocation = SourceLocation;\n\texports.id = id;\n\texports.stripFlags = stripFlags;\n\texports.stripComment = stripComment;\n\texports.preparePath = preparePath;\n\texports.prepareMustache = prepareMustache;\n\texports.prepareRawBlock = prepareRawBlock;\n\texports.prepareBlock = prepareBlock;\n\texports.prepareProgram = prepareProgram;\n\texports.preparePartialBlock = preparePartialBlock;\n\n\tvar _exception = __webpack_require__(6);\n\n\tvar _exception2 = _interopRequireDefault(_exception);\n\n\tfunction validateClose(open, close) {\n\t  close = close.path ? close.path.original : close;\n\n\t  if (open.path.original !== close) {\n\t    var errorNode = { loc: open.path.loc };\n\n\t    throw new _exception2['default'](open.path.original + \" doesn't match \" + close, errorNode);\n\t  }\n\t}\n\n\tfunction SourceLocation(source, locInfo) {\n\t  this.source = source;\n\t  this.start = {\n\t    line: locInfo.first_line,\n\t    column: locInfo.first_column\n\t  };\n\t  this.end = {\n\t    line: locInfo.last_line,\n\t    column: locInfo.last_column\n\t  };\n\t}\n\n\tfunction id(token) {\n\t  if (/^\\[.*\\]$/.test(token)) {\n\t    return token.substring(1, token.length - 1);\n\t  } else {\n\t    return token;\n\t  }\n\t}\n\n\tfunction stripFlags(open, close) {\n\t  return {\n\t    open: open.charAt(2) === '~',\n\t    close: close.charAt(close.length - 3) === '~'\n\t  };\n\t}\n\n\tfunction stripComment(comment) {\n\t  return comment.replace(/^\\{\\{~?!-?-?/, '').replace(/-?-?~?\\}\\}$/, '');\n\t}\n\n\tfunction preparePath(data, parts, loc) {\n\t  loc = this.locInfo(loc);\n\n\t  var original = data ? '@' : '',\n\t      dig = [],\n\t      depth = 0;\n\n\t  for (var i = 0, l = parts.length; i < l; i++) {\n\t    var part = parts[i].part,\n\n\t    // If we have [] syntax then we do not treat path references as operators,\n\t    // i.e. foo.[this] resolves to approximately context.foo['this']\n\t    isLiteral = parts[i].original !== part;\n\t    original += (parts[i].separator || '') + part;\n\n\t    if (!isLiteral && (part === '..' || part === '.' || part === 'this')) {\n\t      if (dig.length > 0) {\n\t        throw new _exception2['default']('Invalid path: ' + original, { loc: loc });\n\t      } else if (part === '..') {\n\t        depth++;\n\t      }\n\t    } else {\n\t      dig.push(part);\n\t    }\n\t  }\n\n\t  return {\n\t    type: 'PathExpression',\n\t    data: data,\n\t    depth: depth,\n\t    parts: dig,\n\t    original: original,\n\t    loc: loc\n\t  };\n\t}\n\n\tfunction prepareMustache(path, params, hash, open, strip, locInfo) {\n\t  // Must use charAt to support IE pre-10\n\t  var escapeFlag = open.charAt(3) || open.charAt(2),\n\t      escaped = escapeFlag !== '{' && escapeFlag !== '&';\n\n\t  var decorator = /\\*/.test(open);\n\t  return {\n\t    type: decorator ? 'Decorator' : 'MustacheStatement',\n\t    path: path,\n\t    params: params,\n\t    hash: hash,\n\t    escaped: escaped,\n\t    strip: strip,\n\t    loc: this.locInfo(locInfo)\n\t  };\n\t}\n\n\tfunction prepareRawBlock(openRawBlock, contents, close, locInfo) {\n\t  validateClose(openRawBlock, close);\n\n\t  locInfo = this.locInfo(locInfo);\n\t  var program = {\n\t    type: 'Program',\n\t    body: contents,\n\t    strip: {},\n\t    loc: locInfo\n\t  };\n\n\t  return {\n\t    type: 'BlockStatement',\n\t    path: openRawBlock.path,\n\t    params: openRawBlock.params,\n\t    hash: openRawBlock.hash,\n\t    program: program,\n\t    openStrip: {},\n\t    inverseStrip: {},\n\t    closeStrip: {},\n\t    loc: locInfo\n\t  };\n\t}\n\n\tfunction prepareBlock(openBlock, program, inverseAndProgram, close, inverted, locInfo) {\n\t  if (close && close.path) {\n\t    validateClose(openBlock, close);\n\t  }\n\n\t  var decorator = /\\*/.test(openBlock.open);\n\n\t  program.blockParams = openBlock.blockParams;\n\n\t  var inverse = undefined,\n\t      inverseStrip = undefined;\n\n\t  if (inverseAndProgram) {\n\t    if (decorator) {\n\t      throw new _exception2['default']('Unexpected inverse block on decorator', inverseAndProgram);\n\t    }\n\n\t    if (inverseAndProgram.chain) {\n\t      inverseAndProgram.program.body[0].closeStrip = close.strip;\n\t    }\n\n\t    inverseStrip = inverseAndProgram.strip;\n\t    inverse = inverseAndProgram.program;\n\t  }\n\n\t  if (inverted) {\n\t    inverted = inverse;\n\t    inverse = program;\n\t    program = inverted;\n\t  }\n\n\t  return {\n\t    type: decorator ? 'DecoratorBlock' : 'BlockStatement',\n\t    path: openBlock.path,\n\t    params: openBlock.params,\n\t    hash: openBlock.hash,\n\t    program: program,\n\t    inverse: inverse,\n\t    openStrip: openBlock.strip,\n\t    inverseStrip: inverseStrip,\n\t    closeStrip: close && close.strip,\n\t    loc: this.locInfo(locInfo)\n\t  };\n\t}\n\n\tfunction prepareProgram(statements, loc) {\n\t  if (!loc && statements.length) {\n\t    var firstLoc = statements[0].loc,\n\t        lastLoc = statements[statements.length - 1].loc;\n\n\t    /* istanbul ignore else */\n\t    if (firstLoc && lastLoc) {\n\t      loc = {\n\t        source: firstLoc.source,\n\t        start: {\n\t          line: firstLoc.start.line,\n\t          column: firstLoc.start.column\n\t        },\n\t        end: {\n\t          line: lastLoc.end.line,\n\t          column: lastLoc.end.column\n\t        }\n\t      };\n\t    }\n\t  }\n\n\t  return {\n\t    type: 'Program',\n\t    body: statements,\n\t    strip: {},\n\t    loc: loc\n\t  };\n\t}\n\n\tfunction preparePartialBlock(open, program, close, locInfo) {\n\t  validateClose(open, close);\n\n\t  return {\n\t    type: 'PartialBlockStatement',\n\t    name: open.path,\n\t    params: open.params,\n\t    hash: open.hash,\n\t    program: program,\n\t    openStrip: open.strip,\n\t    closeStrip: close && close.strip,\n\t    loc: this.locInfo(locInfo)\n\t  };\n\t}\n\n/***/ }),\n/* 51 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/* eslint-disable new-cap */\n\n\t'use strict';\n\n\tvar _Object$create = __webpack_require__(34)['default'];\n\n\tvar _interopRequireDefault = __webpack_require__(1)['default'];\n\n\texports.__esModule = true;\n\texports.Compiler = Compiler;\n\texports.precompile = precompile;\n\texports.compile = compile;\n\n\tvar _exception = __webpack_require__(6);\n\n\tvar _exception2 = _interopRequireDefault(_exception);\n\n\tvar _utils = __webpack_require__(5);\n\n\tvar _ast = __webpack_require__(45);\n\n\tvar _ast2 = _interopRequireDefault(_ast);\n\n\tvar slice = [].slice;\n\n\tfunction Compiler() {}\n\n\t// the foundHelper register will disambiguate helper lookup from finding a\n\t// function in a context. This is necessary for mustache compatibility, which\n\t// requires that context functions in blocks are evaluated by blockHelperMissing,\n\t// and then proceed as if the resulting value was provided to blockHelperMissing.\n\n\tCompiler.prototype = {\n\t  compiler: Compiler,\n\n\t  equals: function equals(other) {\n\t    var len = this.opcodes.length;\n\t    if (other.opcodes.length !== len) {\n\t      return false;\n\t    }\n\n\t    for (var i = 0; i < len; i++) {\n\t      var opcode = this.opcodes[i],\n\t          otherOpcode = other.opcodes[i];\n\t      if (opcode.opcode !== otherOpcode.opcode || !argEquals(opcode.args, otherOpcode.args)) {\n\t        return false;\n\t      }\n\t    }\n\n\t    // We know that length is the same between the two arrays because they are directly tied\n\t    // to the opcode behavior above.\n\t    len = this.children.length;\n\t    for (var i = 0; i < len; i++) {\n\t      if (!this.children[i].equals(other.children[i])) {\n\t        return false;\n\t      }\n\t    }\n\n\t    return true;\n\t  },\n\n\t  guid: 0,\n\n\t  compile: function compile(program, options) {\n\t    this.sourceNode = [];\n\t    this.opcodes = [];\n\t    this.children = [];\n\t    this.options = options;\n\t    this.stringParams = options.stringParams;\n\t    this.trackIds = options.trackIds;\n\n\t    options.blockParams = options.blockParams || [];\n\n\t    options.knownHelpers = _utils.extend(_Object$create(null), {\n\t      helperMissing: true,\n\t      blockHelperMissing: true,\n\t      each: true,\n\t      'if': true,\n\t      unless: true,\n\t      'with': true,\n\t      log: true,\n\t      lookup: true\n\t    }, options.knownHelpers);\n\n\t    return this.accept(program);\n\t  },\n\n\t  compileProgram: function compileProgram(program) {\n\t    var childCompiler = new this.compiler(),\n\t        // eslint-disable-line new-cap\n\t    result = childCompiler.compile(program, this.options),\n\t        guid = this.guid++;\n\n\t    this.usePartial = this.usePartial || result.usePartial;\n\n\t    this.children[guid] = result;\n\t    this.useDepths = this.useDepths || result.useDepths;\n\n\t    return guid;\n\t  },\n\n\t  accept: function accept(node) {\n\t    /* istanbul ignore next: Sanity code */\n\t    if (!this[node.type]) {\n\t      throw new _exception2['default']('Unknown type: ' + node.type, node);\n\t    }\n\n\t    this.sourceNode.unshift(node);\n\t    var ret = this[node.type](node);\n\t    this.sourceNode.shift();\n\t    return ret;\n\t  },\n\n\t  Program: function Program(program) {\n\t    this.options.blockParams.unshift(program.blockParams);\n\n\t    var body = program.body,\n\t        bodyLength = body.length;\n\t    for (var i = 0; i < bodyLength; i++) {\n\t      this.accept(body[i]);\n\t    }\n\n\t    this.options.blockParams.shift();\n\n\t    this.isSimple = bodyLength === 1;\n\t    this.blockParams = program.blockParams ? program.blockParams.length : 0;\n\n\t    return this;\n\t  },\n\n\t  BlockStatement: function BlockStatement(block) {\n\t    transformLiteralToPath(block);\n\n\t    var program = block.program,\n\t        inverse = block.inverse;\n\n\t    program = program && this.compileProgram(program);\n\t    inverse = inverse && this.compileProgram(inverse);\n\n\t    var type = this.classifySexpr(block);\n\n\t    if (type === 'helper') {\n\t      this.helperSexpr(block, program, inverse);\n\t    } else if (type === 'simple') {\n\t      this.simpleSexpr(block);\n\n\t      // now that the simple mustache is resolved, we need to\n\t      // evaluate it by executing `blockHelperMissing`\n\t      this.opcode('pushProgram', program);\n\t      this.opcode('pushProgram', inverse);\n\t      this.opcode('emptyHash');\n\t      this.opcode('blockValue', block.path.original);\n\t    } else {\n\t      this.ambiguousSexpr(block, program, inverse);\n\n\t      // now that the simple mustache is resolved, we need to\n\t      // evaluate it by executing `blockHelperMissing`\n\t      this.opcode('pushProgram', program);\n\t      this.opcode('pushProgram', inverse);\n\t      this.opcode('emptyHash');\n\t      this.opcode('ambiguousBlockValue');\n\t    }\n\n\t    this.opcode('append');\n\t  },\n\n\t  DecoratorBlock: function DecoratorBlock(decorator) {\n\t    var program = decorator.program && this.compileProgram(decorator.program);\n\t    var params = this.setupFullMustacheParams(decorator, program, undefined),\n\t        path = decorator.path;\n\n\t    this.useDecorators = true;\n\t    this.opcode('registerDecorator', params.length, path.original);\n\t  },\n\n\t  PartialStatement: function PartialStatement(partial) {\n\t    this.usePartial = true;\n\n\t    var program = partial.program;\n\t    if (program) {\n\t      program = this.compileProgram(partial.program);\n\t    }\n\n\t    var params = partial.params;\n\t    if (params.length > 1) {\n\t      throw new _exception2['default']('Unsupported number of partial arguments: ' + params.length, partial);\n\t    } else if (!params.length) {\n\t      if (this.options.explicitPartialContext) {\n\t        this.opcode('pushLiteral', 'undefined');\n\t      } else {\n\t        params.push({ type: 'PathExpression', parts: [], depth: 0 });\n\t      }\n\t    }\n\n\t    var partialName = partial.name.original,\n\t        isDynamic = partial.name.type === 'SubExpression';\n\t    if (isDynamic) {\n\t      this.accept(partial.name);\n\t    }\n\n\t    this.setupFullMustacheParams(partial, program, undefined, true);\n\n\t    var indent = partial.indent || '';\n\t    if (this.options.preventIndent && indent) {\n\t      this.opcode('appendContent', indent);\n\t      indent = '';\n\t    }\n\n\t    this.opcode('invokePartial', isDynamic, partialName, indent);\n\t    this.opcode('append');\n\t  },\n\t  PartialBlockStatement: function PartialBlockStatement(partialBlock) {\n\t    this.PartialStatement(partialBlock);\n\t  },\n\n\t  MustacheStatement: function MustacheStatement(mustache) {\n\t    this.SubExpression(mustache);\n\n\t    if (mustache.escaped && !this.options.noEscape) {\n\t      this.opcode('appendEscaped');\n\t    } else {\n\t      this.opcode('append');\n\t    }\n\t  },\n\t  Decorator: function Decorator(decorator) {\n\t    this.DecoratorBlock(decorator);\n\t  },\n\n\t  ContentStatement: function ContentStatement(content) {\n\t    if (content.value) {\n\t      this.opcode('appendContent', content.value);\n\t    }\n\t  },\n\n\t  CommentStatement: function CommentStatement() {},\n\n\t  SubExpression: function SubExpression(sexpr) {\n\t    transformLiteralToPath(sexpr);\n\t    var type = this.classifySexpr(sexpr);\n\n\t    if (type === 'simple') {\n\t      this.simpleSexpr(sexpr);\n\t    } else if (type === 'helper') {\n\t      this.helperSexpr(sexpr);\n\t    } else {\n\t      this.ambiguousSexpr(sexpr);\n\t    }\n\t  },\n\t  ambiguousSexpr: function ambiguousSexpr(sexpr, program, inverse) {\n\t    var path = sexpr.path,\n\t        name = path.parts[0],\n\t        isBlock = program != null || inverse != null;\n\n\t    this.opcode('getContext', path.depth);\n\n\t    this.opcode('pushProgram', program);\n\t    this.opcode('pushProgram', inverse);\n\n\t    path.strict = true;\n\t    this.accept(path);\n\n\t    this.opcode('invokeAmbiguous', name, isBlock);\n\t  },\n\n\t  simpleSexpr: function simpleSexpr(sexpr) {\n\t    var path = sexpr.path;\n\t    path.strict = true;\n\t    this.accept(path);\n\t    this.opcode('resolvePossibleLambda');\n\t  },\n\n\t  helperSexpr: function helperSexpr(sexpr, program, inverse) {\n\t    var params = this.setupFullMustacheParams(sexpr, program, inverse),\n\t        path = sexpr.path,\n\t        name = path.parts[0];\n\n\t    if (this.options.knownHelpers[name]) {\n\t      this.opcode('invokeKnownHelper', params.length, name);\n\t    } else if (this.options.knownHelpersOnly) {\n\t      throw new _exception2['default']('You specified knownHelpersOnly, but used the unknown helper ' + name, sexpr);\n\t    } else {\n\t      path.strict = true;\n\t      path.falsy = true;\n\n\t      this.accept(path);\n\t      this.opcode('invokeHelper', params.length, path.original, _ast2['default'].helpers.simpleId(path));\n\t    }\n\t  },\n\n\t  PathExpression: function PathExpression(path) {\n\t    this.addDepth(path.depth);\n\t    this.opcode('getContext', path.depth);\n\n\t    var name = path.parts[0],\n\t        scoped = _ast2['default'].helpers.scopedId(path),\n\t        blockParamId = !path.depth && !scoped && this.blockParamIndex(name);\n\n\t    if (blockParamId) {\n\t      this.opcode('lookupBlockParam', blockParamId, path.parts);\n\t    } else if (!name) {\n\t      // Context reference, i.e. `{{foo .}}` or `{{foo ..}}`\n\t      this.opcode('pushContext');\n\t    } else if (path.data) {\n\t      this.options.data = true;\n\t      this.opcode('lookupData', path.depth, path.parts, path.strict);\n\t    } else {\n\t      this.opcode('lookupOnContext', path.parts, path.falsy, path.strict, scoped);\n\t    }\n\t  },\n\n\t  StringLiteral: function StringLiteral(string) {\n\t    this.opcode('pushString', string.value);\n\t  },\n\n\t  NumberLiteral: function NumberLiteral(number) {\n\t    this.opcode('pushLiteral', number.value);\n\t  },\n\n\t  BooleanLiteral: function BooleanLiteral(bool) {\n\t    this.opcode('pushLiteral', bool.value);\n\t  },\n\n\t  UndefinedLiteral: function UndefinedLiteral() {\n\t    this.opcode('pushLiteral', 'undefined');\n\t  },\n\n\t  NullLiteral: function NullLiteral() {\n\t    this.opcode('pushLiteral', 'null');\n\t  },\n\n\t  Hash: function Hash(hash) {\n\t    var pairs = hash.pairs,\n\t        i = 0,\n\t        l = pairs.length;\n\n\t    this.opcode('pushHash');\n\n\t    for (; i < l; i++) {\n\t      this.pushParam(pairs[i].value);\n\t    }\n\t    while (i--) {\n\t      this.opcode('assignToHash', pairs[i].key);\n\t    }\n\t    this.opcode('popHash');\n\t  },\n\n\t  // HELPERS\n\t  opcode: function opcode(name) {\n\t    this.opcodes.push({\n\t      opcode: name,\n\t      args: slice.call(arguments, 1),\n\t      loc: this.sourceNode[0].loc\n\t    });\n\t  },\n\n\t  addDepth: function addDepth(depth) {\n\t    if (!depth) {\n\t      return;\n\t    }\n\n\t    this.useDepths = true;\n\t  },\n\n\t  classifySexpr: function classifySexpr(sexpr) {\n\t    var isSimple = _ast2['default'].helpers.simpleId(sexpr.path);\n\n\t    var isBlockParam = isSimple && !!this.blockParamIndex(sexpr.path.parts[0]);\n\n\t    // a mustache is an eligible helper if:\n\t    // * its id is simple (a single part, not `this` or `..`)\n\t    var isHelper = !isBlockParam && _ast2['default'].helpers.helperExpression(sexpr);\n\n\t    // if a mustache is an eligible helper but not a definite\n\t    // helper, it is ambiguous, and will be resolved in a later\n\t    // pass or at runtime.\n\t    var isEligible = !isBlockParam && (isHelper || isSimple);\n\n\t    // if ambiguous, we can possibly resolve the ambiguity now\n\t    // An eligible helper is one that does not have a complex path, i.e. `this.foo`, `../foo` etc.\n\t    if (isEligible && !isHelper) {\n\t      var _name = sexpr.path.parts[0],\n\t          options = this.options;\n\t      if (options.knownHelpers[_name]) {\n\t        isHelper = true;\n\t      } else if (options.knownHelpersOnly) {\n\t        isEligible = false;\n\t      }\n\t    }\n\n\t    if (isHelper) {\n\t      return 'helper';\n\t    } else if (isEligible) {\n\t      return 'ambiguous';\n\t    } else {\n\t      return 'simple';\n\t    }\n\t  },\n\n\t  pushParams: function pushParams(params) {\n\t    for (var i = 0, l = params.length; i < l; i++) {\n\t      this.pushParam(params[i]);\n\t    }\n\t  },\n\n\t  pushParam: function pushParam(val) {\n\t    var value = val.value != null ? val.value : val.original || '';\n\n\t    if (this.stringParams) {\n\t      if (value.replace) {\n\t        value = value.replace(/^(\\.?\\.\\/)*/g, '').replace(/\\//g, '.');\n\t      }\n\n\t      if (val.depth) {\n\t        this.addDepth(val.depth);\n\t      }\n\t      this.opcode('getContext', val.depth || 0);\n\t      this.opcode('pushStringParam', value, val.type);\n\n\t      if (val.type === 'SubExpression') {\n\t        // SubExpressions get evaluated and passed in\n\t        // in string params mode.\n\t        this.accept(val);\n\t      }\n\t    } else {\n\t      if (this.trackIds) {\n\t        var blockParamIndex = undefined;\n\t        if (val.parts && !_ast2['default'].helpers.scopedId(val) && !val.depth) {\n\t          blockParamIndex = this.blockParamIndex(val.parts[0]);\n\t        }\n\t        if (blockParamIndex) {\n\t          var blockParamChild = val.parts.slice(1).join('.');\n\t          this.opcode('pushId', 'BlockParam', blockParamIndex, blockParamChild);\n\t        } else {\n\t          value = val.original || value;\n\t          if (value.replace) {\n\t            value = value.replace(/^this(?:\\.|$)/, '').replace(/^\\.\\//, '').replace(/^\\.$/, '');\n\t          }\n\n\t          this.opcode('pushId', val.type, value);\n\t        }\n\t      }\n\t      this.accept(val);\n\t    }\n\t  },\n\n\t  setupFullMustacheParams: function setupFullMustacheParams(sexpr, program, inverse, omitEmpty) {\n\t    var params = sexpr.params;\n\t    this.pushParams(params);\n\n\t    this.opcode('pushProgram', program);\n\t    this.opcode('pushProgram', inverse);\n\n\t    if (sexpr.hash) {\n\t      this.accept(sexpr.hash);\n\t    } else {\n\t      this.opcode('emptyHash', omitEmpty);\n\t    }\n\n\t    return params;\n\t  },\n\n\t  blockParamIndex: function blockParamIndex(name) {\n\t    for (var depth = 0, len = this.options.blockParams.length; depth < len; depth++) {\n\t      var blockParams = this.options.blockParams[depth],\n\t          param = blockParams && _utils.indexOf(blockParams, name);\n\t      if (blockParams && param >= 0) {\n\t        return [depth, param];\n\t      }\n\t    }\n\t  }\n\t};\n\n\tfunction precompile(input, options, env) {\n\t  if (input == null || typeof input !== 'string' && input.type !== 'Program') {\n\t    throw new _exception2['default']('You must pass a string or Handlebars AST to Handlebars.precompile. You passed ' + input);\n\t  }\n\n\t  options = options || {};\n\t  if (!('data' in options)) {\n\t    options.data = true;\n\t  }\n\t  if (options.compat) {\n\t    options.useDepths = true;\n\t  }\n\n\t  var ast = env.parse(input, options),\n\t      environment = new env.Compiler().compile(ast, options);\n\t  return new env.JavaScriptCompiler().compile(environment, options);\n\t}\n\n\tfunction compile(input, options, env) {\n\t  if (options === undefined) options = {};\n\n\t  if (input == null || typeof input !== 'string' && input.type !== 'Program') {\n\t    throw new _exception2['default']('You must pass a string or Handlebars AST to Handlebars.compile. You passed ' + input);\n\t  }\n\n\t  options = _utils.extend({}, options);\n\t  if (!('data' in options)) {\n\t    options.data = true;\n\t  }\n\t  if (options.compat) {\n\t    options.useDepths = true;\n\t  }\n\n\t  var compiled = undefined;\n\n\t  function compileInput() {\n\t    var ast = env.parse(input, options),\n\t        environment = new env.Compiler().compile(ast, options),\n\t        templateSpec = new env.JavaScriptCompiler().compile(environment, options, undefined, true);\n\t    return env.template(templateSpec);\n\t  }\n\n\t  // Template is only compiled on first use and cached after that point.\n\t  function ret(context, execOptions) {\n\t    if (!compiled) {\n\t      compiled = compileInput();\n\t    }\n\t    return compiled.call(this, context, execOptions);\n\t  }\n\t  ret._setup = function (setupOptions) {\n\t    if (!compiled) {\n\t      compiled = compileInput();\n\t    }\n\t    return compiled._setup(setupOptions);\n\t  };\n\t  ret._child = function (i, data, blockParams, depths) {\n\t    if (!compiled) {\n\t      compiled = compileInput();\n\t    }\n\t    return compiled._child(i, data, blockParams, depths);\n\t  };\n\t  return ret;\n\t}\n\n\tfunction argEquals(a, b) {\n\t  if (a === b) {\n\t    return true;\n\t  }\n\n\t  if (_utils.isArray(a) && _utils.isArray(b) && a.length === b.length) {\n\t    for (var i = 0; i < a.length; i++) {\n\t      if (!argEquals(a[i], b[i])) {\n\t        return false;\n\t      }\n\t    }\n\t    return true;\n\t  }\n\t}\n\n\tfunction transformLiteralToPath(sexpr) {\n\t  if (!sexpr.path.parts) {\n\t    var literal = sexpr.path;\n\t    // Casting to string here to make false and 0 literal values play nicely with the rest\n\t    // of the system.\n\t    sexpr.path = {\n\t      type: 'PathExpression',\n\t      data: false,\n\t      depth: 0,\n\t      parts: [literal.original + ''],\n\t      original: literal.original + '',\n\t      loc: literal.loc\n\t    };\n\t  }\n\t}\n\n/***/ }),\n/* 52 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t'use strict';\n\n\tvar _Object$keys = __webpack_require__(13)['default'];\n\n\tvar _interopRequireDefault = __webpack_require__(1)['default'];\n\n\texports.__esModule = true;\n\n\tvar _base = __webpack_require__(4);\n\n\tvar _exception = __webpack_require__(6);\n\n\tvar _exception2 = _interopRequireDefault(_exception);\n\n\tvar _utils = __webpack_require__(5);\n\n\tvar _codeGen = __webpack_require__(53);\n\n\tvar _codeGen2 = _interopRequireDefault(_codeGen);\n\n\tfunction Literal(value) {\n\t  this.value = value;\n\t}\n\n\tfunction JavaScriptCompiler() {}\n\n\tJavaScriptCompiler.prototype = {\n\t  // PUBLIC API: You can override these methods in a subclass to provide\n\t  // alternative compiled forms for name lookup and buffering semantics\n\t  nameLookup: function nameLookup(parent, name /*,  type */) {\n\t    return this.internalNameLookup(parent, name);\n\t  },\n\t  depthedLookup: function depthedLookup(name) {\n\t    return [this.aliasable('container.lookup'), '(depths, \"', name, '\")'];\n\t  },\n\n\t  compilerInfo: function compilerInfo() {\n\t    var revision = _base.COMPILER_REVISION,\n\t        versions = _base.REVISION_CHANGES[revision];\n\t    return [revision, versions];\n\t  },\n\n\t  appendToBuffer: function appendToBuffer(source, location, explicit) {\n\t    // Force a source as this simplifies the merge logic.\n\t    if (!_utils.isArray(source)) {\n\t      source = [source];\n\t    }\n\t    source = this.source.wrap(source, location);\n\n\t    if (this.environment.isSimple) {\n\t      return ['return ', source, ';'];\n\t    } else if (explicit) {\n\t      // This is a case where the buffer operation occurs as a child of another\n\t      // construct, generally braces. We have to explicitly output these buffer\n\t      // operations to ensure that the emitted code goes in the correct location.\n\t      return ['buffer += ', source, ';'];\n\t    } else {\n\t      source.appendToBuffer = true;\n\t      return source;\n\t    }\n\t  },\n\n\t  initializeBuffer: function initializeBuffer() {\n\t    return this.quotedString('');\n\t  },\n\t  // END PUBLIC API\n\t  internalNameLookup: function internalNameLookup(parent, name) {\n\t    this.lookupPropertyFunctionIsUsed = true;\n\t    return ['lookupProperty(', parent, ',', JSON.stringify(name), ')'];\n\t  },\n\n\t  lookupPropertyFunctionIsUsed: false,\n\n\t  compile: function compile(environment, options, context, asObject) {\n\t    this.environment = environment;\n\t    this.options = options;\n\t    this.stringParams = this.options.stringParams;\n\t    this.trackIds = this.options.trackIds;\n\t    this.precompile = !asObject;\n\n\t    this.name = this.environment.name;\n\t    this.isChild = !!context;\n\t    this.context = context || {\n\t      decorators: [],\n\t      programs: [],\n\t      environments: []\n\t    };\n\n\t    this.preamble();\n\n\t    this.stackSlot = 0;\n\t    this.stackVars = [];\n\t    this.aliases = {};\n\t    this.registers = { list: [] };\n\t    this.hashes = [];\n\t    this.compileStack = [];\n\t    this.inlineStack = [];\n\t    this.blockParams = [];\n\n\t    this.compileChildren(environment, options);\n\n\t    this.useDepths = this.useDepths || environment.useDepths || environment.useDecorators || this.options.compat;\n\t    this.useBlockParams = this.useBlockParams || environment.useBlockParams;\n\n\t    var opcodes = environment.opcodes,\n\t        opcode = undefined,\n\t        firstLoc = undefined,\n\t        i = undefined,\n\t        l = undefined;\n\n\t    for (i = 0, l = opcodes.length; i < l; i++) {\n\t      opcode = opcodes[i];\n\n\t      this.source.currentLocation = opcode.loc;\n\t      firstLoc = firstLoc || opcode.loc;\n\t      this[opcode.opcode].apply(this, opcode.args);\n\t    }\n\n\t    // Flush any trailing content that might be pending.\n\t    this.source.currentLocation = firstLoc;\n\t    this.pushSource('');\n\n\t    /* istanbul ignore next */\n\t    if (this.stackSlot || this.inlineStack.length || this.compileStack.length) {\n\t      throw new _exception2['default']('Compile completed with content left on stack');\n\t    }\n\n\t    if (!this.decorators.isEmpty()) {\n\t      this.useDecorators = true;\n\n\t      this.decorators.prepend(['var decorators = container.decorators, ', this.lookupPropertyFunctionVarDeclaration(), ';\\n']);\n\t      this.decorators.push('return fn;');\n\n\t      if (asObject) {\n\t        this.decorators = Function.apply(this, ['fn', 'props', 'container', 'depth0', 'data', 'blockParams', 'depths', this.decorators.merge()]);\n\t      } else {\n\t        this.decorators.prepend('function(fn, props, container, depth0, data, blockParams, depths) {\\n');\n\t        this.decorators.push('}\\n');\n\t        this.decorators = this.decorators.merge();\n\t      }\n\t    } else {\n\t      this.decorators = undefined;\n\t    }\n\n\t    var fn = this.createFunctionContext(asObject);\n\t    if (!this.isChild) {\n\t      var ret = {\n\t        compiler: this.compilerInfo(),\n\t        main: fn\n\t      };\n\n\t      if (this.decorators) {\n\t        ret.main_d = this.decorators; // eslint-disable-line camelcase\n\t        ret.useDecorators = true;\n\t      }\n\n\t      var _context = this.context;\n\t      var programs = _context.programs;\n\t      var decorators = _context.decorators;\n\n\t      for (i = 0, l = programs.length; i < l; i++) {\n\t        if (programs[i]) {\n\t          ret[i] = programs[i];\n\t          if (decorators[i]) {\n\t            ret[i + '_d'] = decorators[i];\n\t            ret.useDecorators = true;\n\t          }\n\t        }\n\t      }\n\n\t      if (this.environment.usePartial) {\n\t        ret.usePartial = true;\n\t      }\n\t      if (this.options.data) {\n\t        ret.useData = true;\n\t      }\n\t      if (this.useDepths) {\n\t        ret.useDepths = true;\n\t      }\n\t      if (this.useBlockParams) {\n\t        ret.useBlockParams = true;\n\t      }\n\t      if (this.options.compat) {\n\t        ret.compat = true;\n\t      }\n\n\t      if (!asObject) {\n\t        ret.compiler = JSON.stringify(ret.compiler);\n\n\t        this.source.currentLocation = { start: { line: 1, column: 0 } };\n\t        ret = this.objectLiteral(ret);\n\n\t        if (options.srcName) {\n\t          ret = ret.toStringWithSourceMap({ file: options.destName });\n\t          ret.map = ret.map && ret.map.toString();\n\t        } else {\n\t          ret = ret.toString();\n\t        }\n\t      } else {\n\t        ret.compilerOptions = this.options;\n\t      }\n\n\t      return ret;\n\t    } else {\n\t      return fn;\n\t    }\n\t  },\n\n\t  preamble: function preamble() {\n\t    // track the last context pushed into place to allow skipping the\n\t    // getContext opcode when it would be a noop\n\t    this.lastContext = 0;\n\t    this.source = new _codeGen2['default'](this.options.srcName);\n\t    this.decorators = new _codeGen2['default'](this.options.srcName);\n\t  },\n\n\t  createFunctionContext: function createFunctionContext(asObject) {\n\t    // istanbul ignore next\n\n\t    var _this = this;\n\n\t    var varDeclarations = '';\n\n\t    var locals = this.stackVars.concat(this.registers.list);\n\t    if (locals.length > 0) {\n\t      varDeclarations += ', ' + locals.join(', ');\n\t    }\n\n\t    // Generate minimizer alias mappings\n\t    //\n\t    // When using true SourceNodes, this will update all references to the given alias\n\t    // as the source nodes are reused in situ. For the non-source node compilation mode,\n\t    // aliases will not be used, but this case is already being run on the client and\n\t    // we aren't concern about minimizing the template size.\n\t    var aliasCount = 0;\n\t    _Object$keys(this.aliases).forEach(function (alias) {\n\t      var node = _this.aliases[alias];\n\t      if (node.children && node.referenceCount > 1) {\n\t        varDeclarations += ', alias' + ++aliasCount + '=' + alias;\n\t        node.children[0] = 'alias' + aliasCount;\n\t      }\n\t    });\n\n\t    if (this.lookupPropertyFunctionIsUsed) {\n\t      varDeclarations += ', ' + this.lookupPropertyFunctionVarDeclaration();\n\t    }\n\n\t    var params = ['container', 'depth0', 'helpers', 'partials', 'data'];\n\n\t    if (this.useBlockParams || this.useDepths) {\n\t      params.push('blockParams');\n\t    }\n\t    if (this.useDepths) {\n\t      params.push('depths');\n\t    }\n\n\t    // Perform a second pass over the output to merge content when possible\n\t    var source = this.mergeSource(varDeclarations);\n\n\t    if (asObject) {\n\t      params.push(source);\n\n\t      return Function.apply(this, params);\n\t    } else {\n\t      return this.source.wrap(['function(', params.join(','), ') {\\n  ', source, '}']);\n\t    }\n\t  },\n\t  mergeSource: function mergeSource(varDeclarations) {\n\t    var isSimple = this.environment.isSimple,\n\t        appendOnly = !this.forceBuffer,\n\t        appendFirst = undefined,\n\t        sourceSeen = undefined,\n\t        bufferStart = undefined,\n\t        bufferEnd = undefined;\n\t    this.source.each(function (line) {\n\t      if (line.appendToBuffer) {\n\t        if (bufferStart) {\n\t          line.prepend('  + ');\n\t        } else {\n\t          bufferStart = line;\n\t        }\n\t        bufferEnd = line;\n\t      } else {\n\t        if (bufferStart) {\n\t          if (!sourceSeen) {\n\t            appendFirst = true;\n\t          } else {\n\t            bufferStart.prepend('buffer += ');\n\t          }\n\t          bufferEnd.add(';');\n\t          bufferStart = bufferEnd = undefined;\n\t        }\n\n\t        sourceSeen = true;\n\t        if (!isSimple) {\n\t          appendOnly = false;\n\t        }\n\t      }\n\t    });\n\n\t    if (appendOnly) {\n\t      if (bufferStart) {\n\t        bufferStart.prepend('return ');\n\t        bufferEnd.add(';');\n\t      } else if (!sourceSeen) {\n\t        this.source.push('return \"\";');\n\t      }\n\t    } else {\n\t      varDeclarations += ', buffer = ' + (appendFirst ? '' : this.initializeBuffer());\n\n\t      if (bufferStart) {\n\t        bufferStart.prepend('return buffer + ');\n\t        bufferEnd.add(';');\n\t      } else {\n\t        this.source.push('return buffer;');\n\t      }\n\t    }\n\n\t    if (varDeclarations) {\n\t      this.source.prepend('var ' + varDeclarations.substring(2) + (appendFirst ? '' : ';\\n'));\n\t    }\n\n\t    return this.source.merge();\n\t  },\n\n\t  lookupPropertyFunctionVarDeclaration: function lookupPropertyFunctionVarDeclaration() {\n\t    return '\\n      lookupProperty = container.lookupProperty || function(parent, propertyName) {\\n        if (Object.prototype.hasOwnProperty.call(parent, propertyName)) {\\n          return parent[propertyName];\\n        }\\n        return undefined\\n    }\\n    '.trim();\n\t  },\n\n\t  // [blockValue]\n\t  //\n\t  // On stack, before: hash, inverse, program, value\n\t  // On stack, after: return value of blockHelperMissing\n\t  //\n\t  // The purpose of this opcode is to take a block of the form\n\t  // `{{#this.foo}}...{{/this.foo}}`, resolve the value of `foo`, and\n\t  // replace it on the stack with the result of properly\n\t  // invoking blockHelperMissing.\n\t  blockValue: function blockValue(name) {\n\t    var blockHelperMissing = this.aliasable('container.hooks.blockHelperMissing'),\n\t        params = [this.contextName(0)];\n\t    this.setupHelperArgs(name, 0, params);\n\n\t    var blockName = this.popStack();\n\t    params.splice(1, 0, blockName);\n\n\t    this.push(this.source.functionCall(blockHelperMissing, 'call', params));\n\t  },\n\n\t  // [ambiguousBlockValue]\n\t  //\n\t  // On stack, before: hash, inverse, program, value\n\t  // Compiler value, before: lastHelper=value of last found helper, if any\n\t  // On stack, after, if no lastHelper: same as [blockValue]\n\t  // On stack, after, if lastHelper: value\n\t  ambiguousBlockValue: function ambiguousBlockValue() {\n\t    // We're being a bit cheeky and reusing the options value from the prior exec\n\t    var blockHelperMissing = this.aliasable('container.hooks.blockHelperMissing'),\n\t        params = [this.contextName(0)];\n\t    this.setupHelperArgs('', 0, params, true);\n\n\t    this.flushInline();\n\n\t    var current = this.topStack();\n\t    params.splice(1, 0, current);\n\n\t    this.pushSource(['if (!', this.lastHelper, ') { ', current, ' = ', this.source.functionCall(blockHelperMissing, 'call', params), '}']);\n\t  },\n\n\t  // [appendContent]\n\t  //\n\t  // On stack, before: ...\n\t  // On stack, after: ...\n\t  //\n\t  // Appends the string value of `content` to the current buffer\n\t  appendContent: function appendContent(content) {\n\t    if (this.pendingContent) {\n\t      content = this.pendingContent + content;\n\t    } else {\n\t      this.pendingLocation = this.source.currentLocation;\n\t    }\n\n\t    this.pendingContent = content;\n\t  },\n\n\t  // [append]\n\t  //\n\t  // On stack, before: value, ...\n\t  // On stack, after: ...\n\t  //\n\t  // Coerces `value` to a String and appends it to the current buffer.\n\t  //\n\t  // If `value` is truthy, or 0, it is coerced into a string and appended\n\t  // Otherwise, the empty string is appended\n\t  append: function append() {\n\t    if (this.isInline()) {\n\t      this.replaceStack(function (current) {\n\t        return [' != null ? ', current, ' : \"\"'];\n\t      });\n\n\t      this.pushSource(this.appendToBuffer(this.popStack()));\n\t    } else {\n\t      var local = this.popStack();\n\t      this.pushSource(['if (', local, ' != null) { ', this.appendToBuffer(local, undefined, true), ' }']);\n\t      if (this.environment.isSimple) {\n\t        this.pushSource(['else { ', this.appendToBuffer(\"''\", undefined, true), ' }']);\n\t      }\n\t    }\n\t  },\n\n\t  // [appendEscaped]\n\t  //\n\t  // On stack, before: value, ...\n\t  // On stack, after: ...\n\t  //\n\t  // Escape `value` and append it to the buffer\n\t  appendEscaped: function appendEscaped() {\n\t    this.pushSource(this.appendToBuffer([this.aliasable('container.escapeExpression'), '(', this.popStack(), ')']));\n\t  },\n\n\t  // [getContext]\n\t  //\n\t  // On stack, before: ...\n\t  // On stack, after: ...\n\t  // Compiler value, after: lastContext=depth\n\t  //\n\t  // Set the value of the `lastContext` compiler value to the depth\n\t  getContext: function getContext(depth) {\n\t    this.lastContext = depth;\n\t  },\n\n\t  // [pushContext]\n\t  //\n\t  // On stack, before: ...\n\t  // On stack, after: currentContext, ...\n\t  //\n\t  // Pushes the value of the current context onto the stack.\n\t  pushContext: function pushContext() {\n\t    this.pushStackLiteral(this.contextName(this.lastContext));\n\t  },\n\n\t  // [lookupOnContext]\n\t  //\n\t  // On stack, before: ...\n\t  // On stack, after: currentContext[name], ...\n\t  //\n\t  // Looks up the value of `name` on the current context and pushes\n\t  // it onto the stack.\n\t  lookupOnContext: function lookupOnContext(parts, falsy, strict, scoped) {\n\t    var i = 0;\n\n\t    if (!scoped && this.options.compat && !this.lastContext) {\n\t      // The depthed query is expected to handle the undefined logic for the root level that\n\t      // is implemented below, so we evaluate that directly in compat mode\n\t      this.push(this.depthedLookup(parts[i++]));\n\t    } else {\n\t      this.pushContext();\n\t    }\n\n\t    this.resolvePath('context', parts, i, falsy, strict);\n\t  },\n\n\t  // [lookupBlockParam]\n\t  //\n\t  // On stack, before: ...\n\t  // On stack, after: blockParam[name], ...\n\t  //\n\t  // Looks up the value of `parts` on the given block param and pushes\n\t  // it onto the stack.\n\t  lookupBlockParam: function lookupBlockParam(blockParamId, parts) {\n\t    this.useBlockParams = true;\n\n\t    this.push(['blockParams[', blockParamId[0], '][', blockParamId[1], ']']);\n\t    this.resolvePath('context', parts, 1);\n\t  },\n\n\t  // [lookupData]\n\t  //\n\t  // On stack, before: ...\n\t  // On stack, after: data, ...\n\t  //\n\t  // Push the data lookup operator\n\t  lookupData: function lookupData(depth, parts, strict) {\n\t    if (!depth) {\n\t      this.pushStackLiteral('data');\n\t    } else {\n\t      this.pushStackLiteral('container.data(data, ' + depth + ')');\n\t    }\n\n\t    this.resolvePath('data', parts, 0, true, strict);\n\t  },\n\n\t  resolvePath: function resolvePath(type, parts, i, falsy, strict) {\n\t    // istanbul ignore next\n\n\t    var _this2 = this;\n\n\t    if (this.options.strict || this.options.assumeObjects) {\n\t      this.push(strictLookup(this.options.strict && strict, this, parts, type));\n\t      return;\n\t    }\n\n\t    var len = parts.length;\n\t    for (; i < len; i++) {\n\t      /* eslint-disable no-loop-func */\n\t      this.replaceStack(function (current) {\n\t        var lookup = _this2.nameLookup(current, parts[i], type);\n\t        // We want to ensure that zero and false are handled properly if the context (falsy flag)\n\t        // needs to have the special handling for these values.\n\t        if (!falsy) {\n\t          return [' != null ? ', lookup, ' : ', current];\n\t        } else {\n\t          // Otherwise we can use generic falsy handling\n\t          return [' && ', lookup];\n\t        }\n\t      });\n\t      /* eslint-enable no-loop-func */\n\t    }\n\t  },\n\n\t  // [resolvePossibleLambda]\n\t  //\n\t  // On stack, before: value, ...\n\t  // On stack, after: resolved value, ...\n\t  //\n\t  // If the `value` is a lambda, replace it on the stack by\n\t  // the return value of the lambda\n\t  resolvePossibleLambda: function resolvePossibleLambda() {\n\t    this.push([this.aliasable('container.lambda'), '(', this.popStack(), ', ', this.contextName(0), ')']);\n\t  },\n\n\t  // [pushStringParam]\n\t  //\n\t  // On stack, before: ...\n\t  // On stack, after: string, currentContext, ...\n\t  //\n\t  // This opcode is designed for use in string mode, which\n\t  // provides the string value of a parameter along with its\n\t  // depth rather than resolving it immediately.\n\t  pushStringParam: function pushStringParam(string, type) {\n\t    this.pushContext();\n\t    this.pushString(type);\n\n\t    // If it's a subexpression, the string result\n\t    // will be pushed after this opcode.\n\t    if (type !== 'SubExpression') {\n\t      if (typeof string === 'string') {\n\t        this.pushString(string);\n\t      } else {\n\t        this.pushStackLiteral(string);\n\t      }\n\t    }\n\t  },\n\n\t  emptyHash: function emptyHash(omitEmpty) {\n\t    if (this.trackIds) {\n\t      this.push('{}'); // hashIds\n\t    }\n\t    if (this.stringParams) {\n\t      this.push('{}'); // hashContexts\n\t      this.push('{}'); // hashTypes\n\t    }\n\t    this.pushStackLiteral(omitEmpty ? 'undefined' : '{}');\n\t  },\n\t  pushHash: function pushHash() {\n\t    if (this.hash) {\n\t      this.hashes.push(this.hash);\n\t    }\n\t    this.hash = { values: {}, types: [], contexts: [], ids: [] };\n\t  },\n\t  popHash: function popHash() {\n\t    var hash = this.hash;\n\t    this.hash = this.hashes.pop();\n\n\t    if (this.trackIds) {\n\t      this.push(this.objectLiteral(hash.ids));\n\t    }\n\t    if (this.stringParams) {\n\t      this.push(this.objectLiteral(hash.contexts));\n\t      this.push(this.objectLiteral(hash.types));\n\t    }\n\n\t    this.push(this.objectLiteral(hash.values));\n\t  },\n\n\t  // [pushString]\n\t  //\n\t  // On stack, before: ...\n\t  // On stack, after: quotedString(string), ...\n\t  //\n\t  // Push a quoted version of `string` onto the stack\n\t  pushString: function pushString(string) {\n\t    this.pushStackLiteral(this.quotedString(string));\n\t  },\n\n\t  // [pushLiteral]\n\t  //\n\t  // On stack, before: ...\n\t  // On stack, after: value, ...\n\t  //\n\t  // Pushes a value onto the stack. This operation prevents\n\t  // the compiler from creating a temporary variable to hold\n\t  // it.\n\t  pushLiteral: function pushLiteral(value) {\n\t    this.pushStackLiteral(value);\n\t  },\n\n\t  // [pushProgram]\n\t  //\n\t  // On stack, before: ...\n\t  // On stack, after: program(guid), ...\n\t  //\n\t  // Push a program expression onto the stack. This takes\n\t  // a compile-time guid and converts it into a runtime-accessible\n\t  // expression.\n\t  pushProgram: function pushProgram(guid) {\n\t    if (guid != null) {\n\t      this.pushStackLiteral(this.programExpression(guid));\n\t    } else {\n\t      this.pushStackLiteral(null);\n\t    }\n\t  },\n\n\t  // [registerDecorator]\n\t  //\n\t  // On stack, before: hash, program, params..., ...\n\t  // On stack, after: ...\n\t  //\n\t  // Pops off the decorator's parameters, invokes the decorator,\n\t  // and inserts the decorator into the decorators list.\n\t  registerDecorator: function registerDecorator(paramSize, name) {\n\t    var foundDecorator = this.nameLookup('decorators', name, 'decorator'),\n\t        options = this.setupHelperArgs(name, paramSize);\n\n\t    this.decorators.push(['fn = ', this.decorators.functionCall(foundDecorator, '', ['fn', 'props', 'container', options]), ' || fn;']);\n\t  },\n\n\t  // [invokeHelper]\n\t  //\n\t  // On stack, before: hash, inverse, program, params..., ...\n\t  // On stack, after: result of helper invocation\n\t  //\n\t  // Pops off the helper's parameters, invokes the helper,\n\t  // and pushes the helper's return value onto the stack.\n\t  //\n\t  // If the helper is not found, `helperMissing` is called.\n\t  invokeHelper: function invokeHelper(paramSize, name, isSimple) {\n\t    var nonHelper = this.popStack(),\n\t        helper = this.setupHelper(paramSize, name);\n\n\t    var possibleFunctionCalls = [];\n\n\t    if (isSimple) {\n\t      // direct call to helper\n\t      possibleFunctionCalls.push(helper.name);\n\t    }\n\t    // call a function from the input object\n\t    possibleFunctionCalls.push(nonHelper);\n\t    if (!this.options.strict) {\n\t      possibleFunctionCalls.push(this.aliasable('container.hooks.helperMissing'));\n\t    }\n\n\t    var functionLookupCode = ['(', this.itemsSeparatedBy(possibleFunctionCalls, '||'), ')'];\n\t    var functionCall = this.source.functionCall(functionLookupCode, 'call', helper.callParams);\n\t    this.push(functionCall);\n\t  },\n\n\t  itemsSeparatedBy: function itemsSeparatedBy(items, separator) {\n\t    var result = [];\n\t    result.push(items[0]);\n\t    for (var i = 1; i < items.length; i++) {\n\t      result.push(separator, items[i]);\n\t    }\n\t    return result;\n\t  },\n\t  // [invokeKnownHelper]\n\t  //\n\t  // On stack, before: hash, inverse, program, params..., ...\n\t  // On stack, after: result of helper invocation\n\t  //\n\t  // This operation is used when the helper is known to exist,\n\t  // so a `helperMissing` fallback is not required.\n\t  invokeKnownHelper: function invokeKnownHelper(paramSize, name) {\n\t    var helper = this.setupHelper(paramSize, name);\n\t    this.push(this.source.functionCall(helper.name, 'call', helper.callParams));\n\t  },\n\n\t  // [invokeAmbiguous]\n\t  //\n\t  // On stack, before: hash, inverse, program, params..., ...\n\t  // On stack, after: result of disambiguation\n\t  //\n\t  // This operation is used when an expression like `{{foo}}`\n\t  // is provided, but we don't know at compile-time whether it\n\t  // is a helper or a path.\n\t  //\n\t  // This operation emits more code than the other options,\n\t  // and can be avoided by passing the `knownHelpers` and\n\t  // `knownHelpersOnly` flags at compile-time.\n\t  invokeAmbiguous: function invokeAmbiguous(name, helperCall) {\n\t    this.useRegister('helper');\n\n\t    var nonHelper = this.popStack();\n\n\t    this.emptyHash();\n\t    var helper = this.setupHelper(0, name, helperCall);\n\n\t    var helperName = this.lastHelper = this.nameLookup('helpers', name, 'helper');\n\n\t    var lookup = ['(', '(helper = ', helperName, ' || ', nonHelper, ')'];\n\t    if (!this.options.strict) {\n\t      lookup[0] = '(helper = ';\n\t      lookup.push(' != null ? helper : ', this.aliasable('container.hooks.helperMissing'));\n\t    }\n\n\t    this.push(['(', lookup, helper.paramsInit ? ['),(', helper.paramsInit] : [], '),', '(typeof helper === ', this.aliasable('\"function\"'), ' ? ', this.source.functionCall('helper', 'call', helper.callParams), ' : helper))']);\n\t  },\n\n\t  // [invokePartial]\n\t  //\n\t  // On stack, before: context, ...\n\t  // On stack after: result of partial invocation\n\t  //\n\t  // This operation pops off a context, invokes a partial with that context,\n\t  // and pushes the result of the invocation back.\n\t  invokePartial: function invokePartial(isDynamic, name, indent) {\n\t    var params = [],\n\t        options = this.setupParams(name, 1, params);\n\n\t    if (isDynamic) {\n\t      name = this.popStack();\n\t      delete options.name;\n\t    }\n\n\t    if (indent) {\n\t      options.indent = JSON.stringify(indent);\n\t    }\n\t    options.helpers = 'helpers';\n\t    options.partials = 'partials';\n\t    options.decorators = 'container.decorators';\n\n\t    if (!isDynamic) {\n\t      params.unshift(this.nameLookup('partials', name, 'partial'));\n\t    } else {\n\t      params.unshift(name);\n\t    }\n\n\t    if (this.options.compat) {\n\t      options.depths = 'depths';\n\t    }\n\t    options = this.objectLiteral(options);\n\t    params.push(options);\n\n\t    this.push(this.source.functionCall('container.invokePartial', '', params));\n\t  },\n\n\t  // [assignToHash]\n\t  //\n\t  // On stack, before: value, ..., hash, ...\n\t  // On stack, after: ..., hash, ...\n\t  //\n\t  // Pops a value off the stack and assigns it to the current hash\n\t  assignToHash: function assignToHash(key) {\n\t    var value = this.popStack(),\n\t        context = undefined,\n\t        type = undefined,\n\t        id = undefined;\n\n\t    if (this.trackIds) {\n\t      id = this.popStack();\n\t    }\n\t    if (this.stringParams) {\n\t      type = this.popStack();\n\t      context = this.popStack();\n\t    }\n\n\t    var hash = this.hash;\n\t    if (context) {\n\t      hash.contexts[key] = context;\n\t    }\n\t    if (type) {\n\t      hash.types[key] = type;\n\t    }\n\t    if (id) {\n\t      hash.ids[key] = id;\n\t    }\n\t    hash.values[key] = value;\n\t  },\n\n\t  pushId: function pushId(type, name, child) {\n\t    if (type === 'BlockParam') {\n\t      this.pushStackLiteral('blockParams[' + name[0] + '].path[' + name[1] + ']' + (child ? ' + ' + JSON.stringify('.' + child) : ''));\n\t    } else if (type === 'PathExpression') {\n\t      this.pushString(name);\n\t    } else if (type === 'SubExpression') {\n\t      this.pushStackLiteral('true');\n\t    } else {\n\t      this.pushStackLiteral('null');\n\t    }\n\t  },\n\n\t  // HELPERS\n\n\t  compiler: JavaScriptCompiler,\n\n\t  compileChildren: function compileChildren(environment, options) {\n\t    var children = environment.children,\n\t        child = undefined,\n\t        compiler = undefined;\n\n\t    for (var i = 0, l = children.length; i < l; i++) {\n\t      child = children[i];\n\t      compiler = new this.compiler(); // eslint-disable-line new-cap\n\n\t      var existing = this.matchExistingProgram(child);\n\n\t      if (existing == null) {\n\t        this.context.programs.push(''); // Placeholder to prevent name conflicts for nested children\n\t        var index = this.context.programs.length;\n\t        child.index = index;\n\t        child.name = 'program' + index;\n\t        this.context.programs[index] = compiler.compile(child, options, this.context, !this.precompile);\n\t        this.context.decorators[index] = compiler.decorators;\n\t        this.context.environments[index] = child;\n\n\t        this.useDepths = this.useDepths || compiler.useDepths;\n\t        this.useBlockParams = this.useBlockParams || compiler.useBlockParams;\n\t        child.useDepths = this.useDepths;\n\t        child.useBlockParams = this.useBlockParams;\n\t      } else {\n\t        child.index = existing.index;\n\t        child.name = 'program' + existing.index;\n\n\t        this.useDepths = this.useDepths || existing.useDepths;\n\t        this.useBlockParams = this.useBlockParams || existing.useBlockParams;\n\t      }\n\t    }\n\t  },\n\t  matchExistingProgram: function matchExistingProgram(child) {\n\t    for (var i = 0, len = this.context.environments.length; i < len; i++) {\n\t      var environment = this.context.environments[i];\n\t      if (environment && environment.equals(child)) {\n\t        return environment;\n\t      }\n\t    }\n\t  },\n\n\t  programExpression: function programExpression(guid) {\n\t    var child = this.environment.children[guid],\n\t        programParams = [child.index, 'data', child.blockParams];\n\n\t    if (this.useBlockParams || this.useDepths) {\n\t      programParams.push('blockParams');\n\t    }\n\t    if (this.useDepths) {\n\t      programParams.push('depths');\n\t    }\n\n\t    return 'container.program(' + programParams.join(', ') + ')';\n\t  },\n\n\t  useRegister: function useRegister(name) {\n\t    if (!this.registers[name]) {\n\t      this.registers[name] = true;\n\t      this.registers.list.push(name);\n\t    }\n\t  },\n\n\t  push: function push(expr) {\n\t    if (!(expr instanceof Literal)) {\n\t      expr = this.source.wrap(expr);\n\t    }\n\n\t    this.inlineStack.push(expr);\n\t    return expr;\n\t  },\n\n\t  pushStackLiteral: function pushStackLiteral(item) {\n\t    this.push(new Literal(item));\n\t  },\n\n\t  pushSource: function pushSource(source) {\n\t    if (this.pendingContent) {\n\t      this.source.push(this.appendToBuffer(this.source.quotedString(this.pendingContent), this.pendingLocation));\n\t      this.pendingContent = undefined;\n\t    }\n\n\t    if (source) {\n\t      this.source.push(source);\n\t    }\n\t  },\n\n\t  replaceStack: function replaceStack(callback) {\n\t    var prefix = ['('],\n\t        stack = undefined,\n\t        createdStack = undefined,\n\t        usedLiteral = undefined;\n\n\t    /* istanbul ignore next */\n\t    if (!this.isInline()) {\n\t      throw new _exception2['default']('replaceStack on non-inline');\n\t    }\n\n\t    // We want to merge the inline statement into the replacement statement via ','\n\t    var top = this.popStack(true);\n\n\t    if (top instanceof Literal) {\n\t      // Literals do not need to be inlined\n\t      stack = [top.value];\n\t      prefix = ['(', stack];\n\t      usedLiteral = true;\n\t    } else {\n\t      // Get or create the current stack name for use by the inline\n\t      createdStack = true;\n\t      var _name = this.incrStack();\n\n\t      prefix = ['((', this.push(_name), ' = ', top, ')'];\n\t      stack = this.topStack();\n\t    }\n\n\t    var item = callback.call(this, stack);\n\n\t    if (!usedLiteral) {\n\t      this.popStack();\n\t    }\n\t    if (createdStack) {\n\t      this.stackSlot--;\n\t    }\n\t    this.push(prefix.concat(item, ')'));\n\t  },\n\n\t  incrStack: function incrStack() {\n\t    this.stackSlot++;\n\t    if (this.stackSlot > this.stackVars.length) {\n\t      this.stackVars.push('stack' + this.stackSlot);\n\t    }\n\t    return this.topStackName();\n\t  },\n\t  topStackName: function topStackName() {\n\t    return 'stack' + this.stackSlot;\n\t  },\n\t  flushInline: function flushInline() {\n\t    var inlineStack = this.inlineStack;\n\t    this.inlineStack = [];\n\t    for (var i = 0, len = inlineStack.length; i < len; i++) {\n\t      var entry = inlineStack[i];\n\t      /* istanbul ignore if */\n\t      if (entry instanceof Literal) {\n\t        this.compileStack.push(entry);\n\t      } else {\n\t        var stack = this.incrStack();\n\t        this.pushSource([stack, ' = ', entry, ';']);\n\t        this.compileStack.push(stack);\n\t      }\n\t    }\n\t  },\n\t  isInline: function isInline() {\n\t    return this.inlineStack.length;\n\t  },\n\n\t  popStack: function popStack(wrapped) {\n\t    var inline = this.isInline(),\n\t        item = (inline ? this.inlineStack : this.compileStack).pop();\n\n\t    if (!wrapped && item instanceof Literal) {\n\t      return item.value;\n\t    } else {\n\t      if (!inline) {\n\t        /* istanbul ignore next */\n\t        if (!this.stackSlot) {\n\t          throw new _exception2['default']('Invalid stack pop');\n\t        }\n\t        this.stackSlot--;\n\t      }\n\t      return item;\n\t    }\n\t  },\n\n\t  topStack: function topStack() {\n\t    var stack = this.isInline() ? this.inlineStack : this.compileStack,\n\t        item = stack[stack.length - 1];\n\n\t    /* istanbul ignore if */\n\t    if (item instanceof Literal) {\n\t      return item.value;\n\t    } else {\n\t      return item;\n\t    }\n\t  },\n\n\t  contextName: function contextName(context) {\n\t    if (this.useDepths && context) {\n\t      return 'depths[' + context + ']';\n\t    } else {\n\t      return 'depth' + context;\n\t    }\n\t  },\n\n\t  quotedString: function quotedString(str) {\n\t    return this.source.quotedString(str);\n\t  },\n\n\t  objectLiteral: function objectLiteral(obj) {\n\t    return this.source.objectLiteral(obj);\n\t  },\n\n\t  aliasable: function aliasable(name) {\n\t    var ret = this.aliases[name];\n\t    if (ret) {\n\t      ret.referenceCount++;\n\t      return ret;\n\t    }\n\n\t    ret = this.aliases[name] = this.source.wrap(name);\n\t    ret.aliasable = true;\n\t    ret.referenceCount = 1;\n\n\t    return ret;\n\t  },\n\n\t  setupHelper: function setupHelper(paramSize, name, blockHelper) {\n\t    var params = [],\n\t        paramsInit = this.setupHelperArgs(name, paramSize, params, blockHelper);\n\t    var foundHelper = this.nameLookup('helpers', name, 'helper'),\n\t        callContext = this.aliasable(this.contextName(0) + ' != null ? ' + this.contextName(0) + ' : (container.nullContext || {})');\n\n\t    return {\n\t      params: params,\n\t      paramsInit: paramsInit,\n\t      name: foundHelper,\n\t      callParams: [callContext].concat(params)\n\t    };\n\t  },\n\n\t  setupParams: function setupParams(helper, paramSize, params) {\n\t    var options = {},\n\t        contexts = [],\n\t        types = [],\n\t        ids = [],\n\t        objectArgs = !params,\n\t        param = undefined;\n\n\t    if (objectArgs) {\n\t      params = [];\n\t    }\n\n\t    options.name = this.quotedString(helper);\n\t    options.hash = this.popStack();\n\n\t    if (this.trackIds) {\n\t      options.hashIds = this.popStack();\n\t    }\n\t    if (this.stringParams) {\n\t      options.hashTypes = this.popStack();\n\t      options.hashContexts = this.popStack();\n\t    }\n\n\t    var inverse = this.popStack(),\n\t        program = this.popStack();\n\n\t    // Avoid setting fn and inverse if neither are set. This allows\n\t    // helpers to do a check for `if (options.fn)`\n\t    if (program || inverse) {\n\t      options.fn = program || 'container.noop';\n\t      options.inverse = inverse || 'container.noop';\n\t    }\n\n\t    // The parameters go on to the stack in order (making sure that they are evaluated in order)\n\t    // so we need to pop them off the stack in reverse order\n\t    var i = paramSize;\n\t    while (i--) {\n\t      param = this.popStack();\n\t      params[i] = param;\n\n\t      if (this.trackIds) {\n\t        ids[i] = this.popStack();\n\t      }\n\t      if (this.stringParams) {\n\t        types[i] = this.popStack();\n\t        contexts[i] = this.popStack();\n\t      }\n\t    }\n\n\t    if (objectArgs) {\n\t      options.args = this.source.generateArray(params);\n\t    }\n\n\t    if (this.trackIds) {\n\t      options.ids = this.source.generateArray(ids);\n\t    }\n\t    if (this.stringParams) {\n\t      options.types = this.source.generateArray(types);\n\t      options.contexts = this.source.generateArray(contexts);\n\t    }\n\n\t    if (this.options.data) {\n\t      options.data = 'data';\n\t    }\n\t    if (this.useBlockParams) {\n\t      options.blockParams = 'blockParams';\n\t    }\n\t    return options;\n\t  },\n\n\t  setupHelperArgs: function setupHelperArgs(helper, paramSize, params, useRegister) {\n\t    var options = this.setupParams(helper, paramSize, params);\n\t    options.loc = JSON.stringify(this.source.currentLocation);\n\t    options = this.objectLiteral(options);\n\t    if (useRegister) {\n\t      this.useRegister('options');\n\t      params.push('options');\n\t      return ['options=', options];\n\t    } else if (params) {\n\t      params.push(options);\n\t      return '';\n\t    } else {\n\t      return options;\n\t    }\n\t  }\n\t};\n\n\t(function () {\n\t  var reservedWords = ('break else new var' + ' case finally return void' + ' catch for switch while' + ' continue function this with' + ' default if throw' + ' delete in try' + ' do instanceof typeof' + ' abstract enum int short' + ' boolean export interface static' + ' byte extends long super' + ' char final native synchronized' + ' class float package throws' + ' const goto private transient' + ' debugger implements protected volatile' + ' double import public let yield await' + ' null true false').split(' ');\n\n\t  var compilerWords = JavaScriptCompiler.RESERVED_WORDS = {};\n\n\t  for (var i = 0, l = reservedWords.length; i < l; i++) {\n\t    compilerWords[reservedWords[i]] = true;\n\t  }\n\t})();\n\n\t/**\n\t * @deprecated May be removed in the next major version\n\t */\n\tJavaScriptCompiler.isValidJavaScriptVariableName = function (name) {\n\t  return !JavaScriptCompiler.RESERVED_WORDS[name] && /^[a-zA-Z_$][0-9a-zA-Z_$]*$/.test(name);\n\t};\n\n\tfunction strictLookup(requireTerminal, compiler, parts, type) {\n\t  var stack = compiler.popStack(),\n\t      i = 0,\n\t      len = parts.length;\n\t  if (requireTerminal) {\n\t    len--;\n\t  }\n\n\t  for (; i < len; i++) {\n\t    stack = compiler.nameLookup(stack, parts[i], type);\n\t  }\n\n\t  if (requireTerminal) {\n\t    return [compiler.aliasable('container.strict'), '(', stack, ', ', compiler.quotedString(parts[i]), ', ', JSON.stringify(compiler.source.currentLocation), ' )'];\n\t  } else {\n\t    return stack;\n\t  }\n\t}\n\n\texports['default'] = JavaScriptCompiler;\n\tmodule.exports = exports['default'];\n\n/***/ }),\n/* 53 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\t/* global define */\n\t'use strict';\n\n\tvar _Object$keys = __webpack_require__(13)['default'];\n\n\texports.__esModule = true;\n\n\tvar _utils = __webpack_require__(5);\n\n\tvar SourceNode = undefined;\n\n\ttry {\n\t  /* istanbul ignore next */\n\t  if (false) {\n\t    // We don't support this in AMD environments. For these environments, we asusme that\n\t    // they are running on the browser and thus have no need for the source-map library.\n\t    var SourceMap = require('source-map');\n\t    SourceNode = SourceMap.SourceNode;\n\t  }\n\t} catch (err) {}\n\t/* NOP */\n\n\t/* istanbul ignore if: tested but not covered in istanbul due to dist build  */\n\tif (!SourceNode) {\n\t  SourceNode = function (line, column, srcFile, chunks) {\n\t    this.src = '';\n\t    if (chunks) {\n\t      this.add(chunks);\n\t    }\n\t  };\n\t  /* istanbul ignore next */\n\t  SourceNode.prototype = {\n\t    add: function add(chunks) {\n\t      if (_utils.isArray(chunks)) {\n\t        chunks = chunks.join('');\n\t      }\n\t      this.src += chunks;\n\t    },\n\t    prepend: function prepend(chunks) {\n\t      if (_utils.isArray(chunks)) {\n\t        chunks = chunks.join('');\n\t      }\n\t      this.src = chunks + this.src;\n\t    },\n\t    toStringWithSourceMap: function toStringWithSourceMap() {\n\t      return { code: this.toString() };\n\t    },\n\t    toString: function toString() {\n\t      return this.src;\n\t    }\n\t  };\n\t}\n\n\tfunction castChunk(chunk, codeGen, loc) {\n\t  if (_utils.isArray(chunk)) {\n\t    var ret = [];\n\n\t    for (var i = 0, len = chunk.length; i < len; i++) {\n\t      ret.push(codeGen.wrap(chunk[i], loc));\n\t    }\n\t    return ret;\n\t  } else if (typeof chunk === 'boolean' || typeof chunk === 'number') {\n\t    // Handle primitives that the SourceNode will throw up on\n\t    return chunk + '';\n\t  }\n\t  return chunk;\n\t}\n\n\tfunction CodeGen(srcFile) {\n\t  this.srcFile = srcFile;\n\t  this.source = [];\n\t}\n\n\tCodeGen.prototype = {\n\t  isEmpty: function isEmpty() {\n\t    return !this.source.length;\n\t  },\n\t  prepend: function prepend(source, loc) {\n\t    this.source.unshift(this.wrap(source, loc));\n\t  },\n\t  push: function push(source, loc) {\n\t    this.source.push(this.wrap(source, loc));\n\t  },\n\n\t  merge: function merge() {\n\t    var source = this.empty();\n\t    this.each(function (line) {\n\t      source.add(['  ', line, '\\n']);\n\t    });\n\t    return source;\n\t  },\n\n\t  each: function each(iter) {\n\t    for (var i = 0, len = this.source.length; i < len; i++) {\n\t      iter(this.source[i]);\n\t    }\n\t  },\n\n\t  empty: function empty() {\n\t    var loc = this.currentLocation || { start: {} };\n\t    return new SourceNode(loc.start.line, loc.start.column, this.srcFile);\n\t  },\n\t  wrap: function wrap(chunk) {\n\t    var loc = arguments.length <= 1 || arguments[1] === undefined ? this.currentLocation || { start: {} } : arguments[1];\n\n\t    if (chunk instanceof SourceNode) {\n\t      return chunk;\n\t    }\n\n\t    chunk = castChunk(chunk, this, loc);\n\n\t    return new SourceNode(loc.start.line, loc.start.column, this.srcFile, chunk);\n\t  },\n\n\t  functionCall: function functionCall(fn, type, params) {\n\t    params = this.generateList(params);\n\t    return this.wrap([fn, type ? '.' + type + '(' : '(', params, ')']);\n\t  },\n\n\t  quotedString: function quotedString(str) {\n\t    return '\"' + (str + '').replace(/\\\\/g, '\\\\\\\\').replace(/\"/g, '\\\\\"').replace(/\\n/g, '\\\\n').replace(/\\r/g, '\\\\r').replace(/\\u2028/g, '\\\\u2028') // Per Ecma-262 7.3 + 7.8.4\n\t    .replace(/\\u2029/g, '\\\\u2029') + '\"';\n\t  },\n\n\t  objectLiteral: function objectLiteral(obj) {\n\t    // istanbul ignore next\n\n\t    var _this = this;\n\n\t    var pairs = [];\n\n\t    _Object$keys(obj).forEach(function (key) {\n\t      var value = castChunk(obj[key], _this);\n\t      if (value !== 'undefined') {\n\t        pairs.push([_this.quotedString(key), ':', value]);\n\t      }\n\t    });\n\n\t    var ret = this.generateList(pairs);\n\t    ret.prepend('{');\n\t    ret.add('}');\n\t    return ret;\n\t  },\n\n\t  generateList: function generateList(entries) {\n\t    var ret = this.empty();\n\n\t    for (var i = 0, len = entries.length; i < len; i++) {\n\t      if (i) {\n\t        ret.add(',');\n\t      }\n\n\t      ret.add(castChunk(entries[i], this));\n\t    }\n\n\t    return ret;\n\t  },\n\n\t  generateArray: function generateArray(entries) {\n\t    var ret = this.generateList(entries);\n\t    ret.prepend('[');\n\t    ret.add(']');\n\n\t    return ret;\n\t  }\n\t};\n\n\texports['default'] = CodeGen;\n\tmodule.exports = exports['default'];\n\n/***/ })\n/******/ ])\n});\n;","/*!\n * @see {@link https://github.com/englishextra/qrjs2}\n * modified qr.js -- QR code generator in Javascript (revision 2011-01-19)\n * Written by Kang Seonghoon <public+qrjs@mearie.org>.\n * v0.0.20110119\n * This source code is in the public domain; if your jurisdiction does not\n * recognize the public domain the terms of Creative Commons CC0 license\n * apply. In the other words, you can always do what you want.\n * added options properties: fillcolor and textcolor\n * svg now works in Edge 13 and IE 11\n * @see {@link https://gist.github.com/englishextra/b46969e3382ef737c611bb59d837220b}\n * @see {@link https://github.com/lifthrasiir/qr.js/blob/v0.0.20110119/qr.js}\n * @params {String} data\n * @params {Object} settings object\n * element = QRCode.generateSVG(data, settings)\n * passes jshint with suppressing comments\n */\n\n/*jslint browser: true */\n\n/*jslint node: true */\n\n/*jshint bitwise: false */\n\n/*jshint shadow: true */\n\n/*jshint sub:true */\n\n/*jshint -W041 */\n(function(root, document) {\n\t\"use strict\";\n\n\tvar length = \"length\";\n\tvar VERSIONS = [\n\t\tnull,\n\t\t[[10, 7, 17, 13], [1, 1, 1, 1], []],\n\t\t[[16, 10, 28, 22], [1, 1, 1, 1], [4, 16]],\n\t\t[[26, 15, 22, 18], [1, 1, 2, 2], [4, 20]],\n\t\t[[18, 20, 16, 26], [2, 1, 4, 2], [4, 24]],\n\t\t[[24, 26, 22, 18], [2, 1, 4, 4], [4, 28]],\n\t\t[[16, 18, 28, 24], [4, 2, 4, 4], [4, 32]],\n\t\t[[18, 20, 26, 18], [4, 2, 5, 6], [4, 20, 36]],\n\t\t[[22, 24, 26, 22], [4, 2, 6, 6], [4, 22, 40]],\n\t\t[[22, 30, 24, 20], [5, 2, 8, 8], [4, 24, 44]],\n\t\t[[26, 18, 28, 24], [5, 4, 8, 8], [4, 26, 48]],\n\t\t[[30, 20, 24, 28], [5, 4, 11, 8], [4, 28, 52]],\n\t\t[[22, 24, 28, 26], [8, 4, 11, 10], [4, 30, 56]],\n\t\t[[22, 26, 22, 24], [9, 4, 16, 12], [4, 32, 60]],\n\t\t[[24, 30, 24, 20], [9, 4, 16, 16], [4, 24, 44, 64]],\n\t\t[[24, 22, 24, 30], [10, 6, 18, 12], [4, 24, 46, 68]],\n\t\t[[28, 24, 30, 24], [10, 6, 16, 17], [4, 24, 48, 72]],\n\t\t[[28, 28, 28, 28], [11, 6, 19, 16], [4, 28, 52, 76]],\n\t\t[[26, 30, 28, 28], [13, 6, 21, 18], [4, 28, 54, 80]],\n\t\t[[26, 28, 26, 26], [14, 7, 25, 21], [4, 28, 56, 84]],\n\t\t[[26, 28, 28, 30], [16, 8, 25, 20], [4, 32, 60, 88]],\n\t\t[[26, 28, 30, 28], [17, 8, 25, 23], [4, 26, 48, 70, 92]],\n\t\t[[28, 28, 24, 30], [17, 9, 34, 23], [4, 24, 48, 72, 96]],\n\t\t[[28, 30, 30, 30], [18, 9, 30, 25], [4, 28, 52, 76, 100]],\n\t\t[[28, 30, 30, 30], [20, 10, 32, 27], [4, 26, 52, 78, 104]],\n\t\t[[28, 26, 30, 30], [21, 12, 35, 29], [4, 30, 56, 82, 108]],\n\t\t[[28, 28, 30, 28], [23, 12, 37, 34], [4, 28, 56, 84, 112]],\n\t\t[[28, 30, 30, 30], [25, 12, 40, 34], [4, 32, 60, 88, 116]],\n\t\t[[28, 30, 30, 30], [26, 13, 42, 35], [4, 24, 48, 72, 96, 120]],\n\t\t[[28, 30, 30, 30], [28, 14, 45, 38], [4, 28, 52, 76, 100, 124]],\n\t\t[[28, 30, 30, 30], [29, 15, 48, 40], [4, 24, 50, 76, 102, 128]],\n\t\t[[28, 30, 30, 30], [31, 16, 51, 43], [4, 28, 54, 80, 106, 132]],\n\t\t[[28, 30, 30, 30], [33, 17, 54, 45], [4, 32, 58, 84, 110, 136]],\n\t\t[[28, 30, 30, 30], [35, 18, 57, 48], [4, 28, 56, 84, 112, 140]],\n\t\t[[28, 30, 30, 30], [37, 19, 60, 51], [4, 32, 60, 88, 116, 144]],\n\t\t[[28, 30, 30, 30], [38, 19, 63, 53], [4, 28, 52, 76, 100, 124, 148]],\n\t\t[[28, 30, 30, 30], [40, 20, 66, 56], [4, 22, 48, 74, 100, 126, 152]],\n\t\t[[28, 30, 30, 30], [43, 21, 70, 59], [4, 26, 52, 78, 104, 130, 156]],\n\t\t[[28, 30, 30, 30], [45, 22, 74, 62], [4, 30, 56, 82, 108, 134, 160]],\n\t\t[[28, 30, 30, 30], [47, 24, 77, 65], [4, 24, 52, 80, 108, 136, 164]],\n\t\t[[28, 30, 30, 30], [49, 25, 81, 68], [4, 28, 56, 84, 112, 140, 168]]\n\t];\n\tvar MODE_TERMINATOR = 0;\n\tvar MODE_NUMERIC = 1,\n\t\tMODE_ALPHANUMERIC = 2,\n\t\tMODE_OCTET = 4,\n\t\tMODE_KANJI = 8;\n\tvar NUMERIC_REGEXP = /^\\d*$/;\n\tvar ALPHANUMERIC_REGEXP = /^[A-Za-z0-9 $%*+\\-./:]*$/;\n\tvar ALPHANUMERIC_OUT_REGEXP = /^[A-Z0-9 $%*+\\-./:]*$/;\n\tvar ECCLEVEL_L = 1,\n\t\tECCLEVEL_M = 0,\n\t\tECCLEVEL_Q = 3,\n\t\tECCLEVEL_H = 2;\n\tvar GF256_MAP = [],\n\t\tGF256_INVMAP = [-1];\n\n\tfor (var i1 = 0, v = 1; i1 < 255; ++i1) {\n\t\tGF256_MAP.push(v);\n\t\tGF256_INVMAP[v] = i1;\n\t\tv = (v * 2) ^ (v >= 128 ? 0x11d : 0);\n\t}\n\n\tvar GF256_GENPOLY = [[]];\n\n\tfor (var i2 = 0; i2 < 30; ++i2) {\n\t\tvar prevpoly = GF256_GENPOLY[i2],\n\t\t\tpoly = [];\n\n\t\tfor (var j1 = 0; j1 <= i2; ++j1) {\n\t\t\tvar a = j1 < i2 ? GF256_MAP[prevpoly[j1]] : 0;\n\t\t\tvar b = GF256_MAP[(i2 + (prevpoly[j1 - 1] || 0)) % 255];\n\t\t\tpoly.push(GF256_INVMAP[a ^ b]);\n\t\t}\n\n\t\tGF256_GENPOLY.push(poly);\n\t}\n\n\tvar ALPHANUMERIC_MAP = {};\n\n\tfor (var i = 0; i < 45; ++i) {\n\t\tALPHANUMERIC_MAP[\n\t\t\t\"0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ $%*+-./:\".charAt(i)\n\t\t] = i;\n\t}\n\n\tvar MASKFUNCS = [\n\t\tfunction(i, j) {\n\t\t\treturn (i + j) % 2 === 0;\n\t\t},\n\t\tfunction(i) {\n\t\t\treturn i % 2 === 0;\n\t\t},\n\t\tfunction(i, j) {\n\t\t\treturn j % 3 === 0;\n\t\t},\n\t\tfunction(i, j) {\n\t\t\treturn (i + j) % 3 === 0;\n\t\t},\n\t\tfunction(i, j) {\n\t\t\treturn (((i / 2) | 0) + ((j / 3) | 0)) % 2 === 0;\n\t\t},\n\t\tfunction(i, j) {\n\t\t\treturn ((i * j) % 2) + ((i * j) % 3) === 0;\n\t\t},\n\t\tfunction(i, j) {\n\t\t\treturn (((i * j) % 2) + ((i * j) % 3)) % 2 === 0;\n\t\t},\n\t\tfunction(i, j) {\n\t\t\treturn (((i + j) % 2) + ((i * j) % 3)) % 2 === 0;\n\t\t}\n\t];\n\n\tvar needsverinfo = function needsverinfo(ver) {\n\t\treturn ver > 6;\n\t};\n\n\tvar getsizebyver = function getsizebyver(ver) {\n\t\treturn 4 * ver + 17;\n\t};\n\n\tvar nfullbits = function nfullbits(ver) {\n\t\tvar v = VERSIONS[ver];\n\t\tvar nbits = 16 * ver * ver + 128 * ver + 64;\n\n\t\tif (needsverinfo(ver)) {\n\t\t\tnbits -= 36;\n\t\t}\n\n\t\tif (v[2][length]) {\n\t\t\tnbits -= 25 * v[2][length] * v[2][length] - 10 * v[2][length] - 55;\n\t\t}\n\n\t\treturn nbits;\n\t};\n\n\tvar ndatabits = function ndatabits(ver, ecclevel) {\n\t\tvar nbits = nfullbits(ver) & ~7;\n\t\tvar v = VERSIONS[ver];\n\t\tnbits -= 8 * v[0][ecclevel] * v[1][ecclevel];\n\t\treturn nbits;\n\t};\n\n\tvar ndatalenbits = function ndatalenbits(ver, mode) {\n\t\tswitch (mode) {\n\t\t\tcase MODE_NUMERIC:\n\t\t\t\treturn ver < 10 ? 10 : ver < 27 ? 12 : 14;\n\n\t\t\tcase MODE_ALPHANUMERIC:\n\t\t\t\treturn ver < 10 ? 9 : ver < 27 ? 11 : 13;\n\n\t\t\tcase MODE_OCTET:\n\t\t\t\treturn ver < 10 ? 8 : 16;\n\n\t\t\tcase MODE_KANJI:\n\t\t\t\treturn ver < 10 ? 8 : ver < 27 ? 10 : 12;\n\t\t}\n\t};\n\n\tvar getmaxdatalen = function getmaxdatalen(ver, mode, ecclevel) {\n\t\tvar nbits = ndatabits(ver, ecclevel) - 4 - ndatalenbits(ver, mode);\n\n\t\tswitch (mode) {\n\t\t\tcase MODE_NUMERIC:\n\t\t\t\treturn (\n\t\t\t\t\t((nbits / 10) | 0) * 3 +\n\t\t\t\t\t(nbits % 10 < 4 ? 0 : nbits % 10 < 7 ? 1 : 2)\n\t\t\t\t);\n\n\t\t\tcase MODE_ALPHANUMERIC:\n\t\t\t\treturn ((nbits / 11) | 0) * 2 + (nbits % 11 < 6 ? 0 : 1);\n\n\t\t\tcase MODE_OCTET:\n\t\t\t\treturn (nbits / 8) | 0;\n\n\t\t\tcase MODE_KANJI:\n\t\t\t\treturn (nbits / 13) | 0;\n\t\t}\n\t};\n\n\tvar validatedata = function validatedata(mode, data) {\n\t\tswitch (mode) {\n\t\t\tcase MODE_NUMERIC:\n\t\t\t\tif (!data.match(NUMERIC_REGEXP)) {\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\n\t\t\t\treturn data;\n\n\t\t\tcase MODE_ALPHANUMERIC:\n\t\t\t\tif (!data.match(ALPHANUMERIC_REGEXP)) {\n\t\t\t\t\treturn null;\n\t\t\t\t}\n\n\t\t\t\treturn data.toUpperCase();\n\n\t\t\tcase MODE_OCTET:\n\t\t\t\tif (typeof data === \"string\") {\n\t\t\t\t\tvar newdata = [];\n\n\t\t\t\t\tfor (var i = 0; i < data[length]; ++i) {\n\t\t\t\t\t\tvar ch = data.charCodeAt(i);\n\n\t\t\t\t\t\tif (ch < 0x80) {\n\t\t\t\t\t\t\tnewdata.push(ch);\n\t\t\t\t\t\t} else if (ch < 0x800) {\n\t\t\t\t\t\t\tnewdata.push(0xc0 | (ch >> 6), 0x80 | (ch & 0x3f));\n\t\t\t\t\t\t} else if (ch < 0x10000) {\n\t\t\t\t\t\t\tnewdata.push(\n\t\t\t\t\t\t\t\t0xe0 | (ch >> 12),\n\t\t\t\t\t\t\t\t0x80 | ((ch >> 6) & 0x3f),\n\t\t\t\t\t\t\t\t0x80 | (ch & 0x3f)\n\t\t\t\t\t\t\t);\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tnewdata.push(\n\t\t\t\t\t\t\t\t0xf0 | (ch >> 18),\n\t\t\t\t\t\t\t\t0x80 | ((ch >> 12) & 0x3f),\n\t\t\t\t\t\t\t\t0x80 | ((ch >> 6) & 0x3f),\n\t\t\t\t\t\t\t\t0x80 | (ch & 0x3f)\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\treturn newdata;\n\t\t\t\t} else {\n\t\t\t\t\treturn data;\n\t\t\t\t}\n\t\t}\n\t};\n\n\tvar encode = function encode(ver, mode, data, maxbuflen) {\n\t\tvar buf = [];\n\t\tvar bits = 0,\n\t\t\tremaining = 8;\n\t\tvar datalen = data[length];\n\n\t\tvar pack = function pack(x, n) {\n\t\t\tif (n >= remaining) {\n\t\t\t\tbuf.push(bits | (x >> (n -= remaining)));\n\n\t\t\t\twhile (n >= 8) {\n\t\t\t\t\tbuf.push((x >> (n -= 8)) & 255);\n\t\t\t\t}\n\n\t\t\t\tbits = 0;\n\t\t\t\tremaining = 8;\n\t\t\t}\n\n\t\t\tif (n > 0) {\n\t\t\t\tbits |= (x & ((1 << n) - 1)) << (remaining -= n);\n\t\t\t}\n\t\t};\n\n\t\tvar nlenbits = ndatalenbits(ver, mode);\n\t\tpack(mode, 4);\n\t\tpack(datalen, nlenbits);\n\n\t\tswitch (mode) {\n\t\t\tcase MODE_NUMERIC:\n\t\t\t\tfor (var i = 2; i < datalen; i += 3) {\n\t\t\t\t\tpack(parseInt(data.substring(i - 2, i + 1), 10), 10);\n\t\t\t\t}\n\n\t\t\t\tpack(\n\t\t\t\t\tparseInt(data.substring(i - 2), 10),\n\t\t\t\t\t[0, 4, 7][datalen % 3]\n\t\t\t\t);\n\t\t\t\tbreak;\n\n\t\t\tcase MODE_ALPHANUMERIC:\n\t\t\t\tfor (var i2 = 1; i2 < datalen; i2 += 2) {\n\t\t\t\t\tpack(\n\t\t\t\t\t\tALPHANUMERIC_MAP[data.charAt(i2 - 1)] * 45 +\n\t\t\t\t\t\t\tALPHANUMERIC_MAP[data.charAt(i2)],\n\t\t\t\t\t\t11\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\tif (datalen % 2 === 1) {\n\t\t\t\t\tpack(ALPHANUMERIC_MAP[data.charAt(i2 - 1)], 6);\n\t\t\t\t}\n\n\t\t\t\tbreak;\n\n\t\t\tcase MODE_OCTET:\n\t\t\t\tfor (var i3 = 0; i3 < datalen; ++i3) {\n\t\t\t\t\tpack(data[i3], 8);\n\t\t\t\t}\n\n\t\t\t\tbreak;\n\t\t}\n\n\t\tpack(MODE_TERMINATOR, 4);\n\n\t\tif (remaining < 8) {\n\t\t\tbuf.push(bits);\n\t\t}\n\n\t\twhile (buf[length] + 1 < maxbuflen) {\n\t\t\tbuf.push(0xec, 0x11);\n\t\t}\n\n\t\tif (buf[length] < maxbuflen) {\n\t\t\tbuf.push(0xec);\n\t\t}\n\n\t\treturn buf;\n\t};\n\n\tvar calculateecc = function calculateecc(poly, genpoly) {\n\t\tvar modulus = poly.slice(0);\n\t\tvar polylen = poly[length],\n\t\t\tgenpolylen = genpoly[length];\n\n\t\tfor (var k = 0; k < genpolylen; ++k) {\n\t\t\tmodulus.push(0);\n\t\t}\n\n\t\tfor (var i = 0; i < polylen; ) {\n\t\t\tvar quotient = GF256_INVMAP[modulus[i++]];\n\n\t\t\tif (quotient >= 0) {\n\t\t\t\tfor (var j = 0; j < genpolylen; ++j) {\n\t\t\t\t\tmodulus[i + j] ^= GF256_MAP[(quotient + genpoly[j]) % 255];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn modulus.slice(polylen);\n\t};\n\n\tvar augumenteccs = function augumenteccs(poly, nblocks, genpoly) {\n\t\tvar subsizes = [];\n\t\tvar subsize = (poly[length] / nblocks) | 0,\n\t\t\tsubsize0 = 0;\n\t\tvar pivot = nblocks - (poly[length] % nblocks);\n\n\t\tfor (var i = 0; i < pivot; ++i) {\n\t\t\tsubsizes.push(subsize0);\n\t\t\tsubsize0 += subsize;\n\t\t}\n\n\t\tfor (var i2 = pivot; i2 < nblocks; ++i2) {\n\t\t\tsubsizes.push(subsize0);\n\t\t\tsubsize0 += subsize + 1;\n\t\t}\n\n\t\tsubsizes.push(subsize0);\n\t\tvar eccs = [];\n\n\t\tfor (var i3 = 0; i3 < nblocks; ++i3) {\n\t\t\teccs.push(\n\t\t\t\tcalculateecc(\n\t\t\t\t\tpoly.slice(subsizes[i3], subsizes[i3 + 1]),\n\t\t\t\t\tgenpoly\n\t\t\t\t)\n\t\t\t);\n\t\t}\n\n\t\tvar result = [];\n\t\tvar nitemsperblock = (poly[length] / nblocks) | 0;\n\n\t\tfor (var i4 = 0; i4 < nitemsperblock; ++i4) {\n\t\t\tfor (var j = 0; j < nblocks; ++j) {\n\t\t\t\tresult.push(poly[subsizes[j] + i4]);\n\t\t\t}\n\t\t}\n\n\t\tfor (var j2 = pivot; j2 < nblocks; ++j2) {\n\t\t\tresult.push(poly[subsizes[j2 + 1] - 1]);\n\t\t}\n\n\t\tfor (var i5 = 0; i5 < genpoly[length]; ++i5) {\n\t\t\tfor (var j3 = 0; j3 < nblocks; ++j3) {\n\t\t\t\tresult.push(eccs[j3][i5]);\n\t\t\t}\n\t\t}\n\n\t\treturn result;\n\t};\n\n\tvar augumentbch = function augumentbch(poly, p, genpoly, q) {\n\t\tvar modulus = poly << q;\n\n\t\tfor (var i = p - 1; i >= 0; --i) {\n\t\t\tif ((modulus >> (q + i)) & 1) {\n\t\t\t\tmodulus ^= genpoly << i;\n\t\t\t}\n\t\t}\n\n\t\treturn (poly << q) | modulus;\n\t};\n\n\tvar makebasematrix = function makebasematrix(ver) {\n\t\tvar v = VERSIONS[ver],\n\t\t\tn = getsizebyver(ver);\n\t\tvar matrix = [],\n\t\t\treserved = [];\n\n\t\tfor (var i = 0; i < n; ++i) {\n\t\t\tmatrix.push([]);\n\t\t\treserved.push([]);\n\t\t}\n\n\t\tvar blit = function blit(y, x, h, w, bits) {\n\t\t\tfor (var i = 0; i < h; ++i) {\n\t\t\t\tfor (var j = 0; j < w; ++j) {\n\t\t\t\t\tmatrix[y + i][x + j] = (bits[i] >> j) & 1;\n\t\t\t\t\treserved[y + i][x + j] = 1;\n\t\t\t\t}\n\t\t\t}\n\t\t};\n\n\t\tblit(0, 0, 9, 9, [\n\t\t\t0x7f,\n\t\t\t0x41,\n\t\t\t0x5d,\n\t\t\t0x5d,\n\t\t\t0x5d,\n\t\t\t0x41,\n\t\t\t0x17f,\n\t\t\t0x00,\n\t\t\t0x40\n\t\t]);\n\t\tblit(n - 8, 0, 8, 9, [0x100, 0x7f, 0x41, 0x5d, 0x5d, 0x5d, 0x41, 0x7f]);\n\t\tblit(0, n - 8, 9, 8, [\n\t\t\t0xfe,\n\t\t\t0x82,\n\t\t\t0xba,\n\t\t\t0xba,\n\t\t\t0xba,\n\t\t\t0x82,\n\t\t\t0xfe,\n\t\t\t0x00,\n\t\t\t0x00\n\t\t]);\n\n\t\tfor (var i2 = 9; i2 < n - 8; ++i2) {\n\t\t\tmatrix[6][i2] = matrix[i2][6] = ~i2 & 1;\n\t\t\treserved[6][i2] = reserved[i2][6] = 1;\n\t\t}\n\n\t\tvar aligns = v[2],\n\t\t\tm = aligns[length];\n\n\t\tfor (var i3 = 0; i3 < m; ++i3) {\n\t\t\tvar minj = i3 === 0 || i3 === m - 1 ? 1 : 0,\n\t\t\t\tmaxj = i3 === 0 ? m - 1 : m;\n\n\t\t\tfor (var j = minj; j < maxj; ++j) {\n\t\t\t\tblit(aligns[i3], aligns[j], 5, 5, [\n\t\t\t\t\t0x1f,\n\t\t\t\t\t0x11,\n\t\t\t\t\t0x15,\n\t\t\t\t\t0x11,\n\t\t\t\t\t0x1f\n\t\t\t\t]);\n\t\t\t}\n\t\t}\n\n\t\tif (needsverinfo(ver)) {\n\t\t\tvar code = augumentbch(ver, 6, 0x1f25, 12);\n\t\t\tvar k = 0;\n\n\t\t\tfor (var i4 = 0; i4 < 6; ++i4) {\n\t\t\t\tfor (var j2 = 0; j2 < 3; ++j2) {\n\t\t\t\t\tmatrix[i4][n - 11 + j2] = matrix[n - 11 + j2][i4] =\n\t\t\t\t\t\t(code >> k++) & 1;\n\t\t\t\t\treserved[i4][n - 11 + j2] = reserved[n - 11 + j2][i4] = 1;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn {\n\t\t\tmatrix: matrix,\n\t\t\treserved: reserved\n\t\t};\n\t};\n\n\tvar putdata = function putdata(matrix, reserved, buf) {\n\t\tvar n = matrix[length];\n\t\tvar k = 0,\n\t\t\tdir = -1;\n\n\t\tfor (var i = n - 1; i >= 0; i -= 2) {\n\t\t\tif (i === 6) {\n\t\t\t\t--i;\n\t\t\t}\n\n\t\t\tvar jj = dir < 0 ? n - 1 : 0;\n\n\t\t\tfor (var j = 0; j < n; ++j) {\n\t\t\t\tfor (var ii = i; ii > i - 2; --ii) {\n\t\t\t\t\tif (!reserved[jj][ii]) {\n\t\t\t\t\t\tmatrix[jj][ii] = (buf[k >> 3] >> (~k & 7)) & 1;\n\t\t\t\t\t\t++k;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tjj += dir;\n\t\t\t}\n\n\t\t\tdir = -dir;\n\t\t}\n\n\t\treturn matrix;\n\t};\n\n\tvar maskdata = function maskdata(matrix, reserved, mask) {\n\t\tvar maskf = MASKFUNCS[mask];\n\t\tvar n = matrix[length];\n\n\t\tfor (var i = 0; i < n; ++i) {\n\t\t\tfor (var j = 0; j < n; ++j) {\n\t\t\t\tif (!reserved[i][j]) {\n\t\t\t\t\tmatrix[i][j] ^= maskf(i, j);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\treturn matrix;\n\t};\n\n\tvar putformatinfo = function putformatinfo(\n\t\tmatrix,\n\t\treserved,\n\t\tecclevel,\n\t\tmask\n\t) {\n\t\tvar n = matrix[length];\n\t\tvar code = augumentbch((ecclevel << 3) | mask, 5, 0x537, 10) ^ 0x5412;\n\n\t\tfor (var i = 0; i < 15; ++i) {\n\t\t\tvar r = [\n\t\t\t\t0,\n\t\t\t\t1,\n\t\t\t\t2,\n\t\t\t\t3,\n\t\t\t\t4,\n\t\t\t\t5,\n\t\t\t\t7,\n\t\t\t\t8,\n\t\t\t\tn - 7,\n\t\t\t\tn - 6,\n\t\t\t\tn - 5,\n\t\t\t\tn - 4,\n\t\t\t\tn - 3,\n\t\t\t\tn - 2,\n\t\t\t\tn - 1\n\t\t\t][i];\n\t\t\tvar c = [\n\t\t\t\tn - 1,\n\t\t\t\tn - 2,\n\t\t\t\tn - 3,\n\t\t\t\tn - 4,\n\t\t\t\tn - 5,\n\t\t\t\tn - 6,\n\t\t\t\tn - 7,\n\t\t\t\tn - 8,\n\t\t\t\t7,\n\t\t\t\t5,\n\t\t\t\t4,\n\t\t\t\t3,\n\t\t\t\t2,\n\t\t\t\t1,\n\t\t\t\t0\n\t\t\t][i];\n\t\t\tmatrix[r][8] = matrix[8][c] = (code >> i) & 1;\n\t\t}\n\n\t\treturn matrix;\n\t};\n\n\tvar evaluatematrix = function evaluatematrix(matrix) {\n\t\tvar PENALTY_CONSECUTIVE = 3;\n\t\tvar PENALTY_TWOBYTWO = 3;\n\t\tvar PENALTY_FINDERLIKE = 40;\n\t\tvar PENALTY_DENSITY = 10;\n\n\t\tvar evaluategroup = function evaluategroup(groups) {\n\t\t\tvar score = 0;\n\n\t\t\tfor (var i = 0; i < groups[length]; ++i) {\n\t\t\t\tif (groups[i] >= 5) {\n\t\t\t\t\tscore += PENALTY_CONSECUTIVE + (groups[i] - 5);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (var i2 = 5; i2 < groups[length]; i2 += 2) {\n\t\t\t\tvar p = groups[i2];\n\n\t\t\t\tif (\n\t\t\t\t\tgroups[i2 - 1] === p &&\n\t\t\t\t\tgroups[i2 - 2] === 3 * p &&\n\t\t\t\t\tgroups[i2 - 3] === p &&\n\t\t\t\t\tgroups[i2 - 4] === p &&\n\t\t\t\t\t(groups[i2 - 5] >= 4 * p || groups[i2 + 1] >= 4 * p)\n\t\t\t\t) {\n\t\t\t\t\tscore += PENALTY_FINDERLIKE;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn score;\n\t\t};\n\n\t\tvar n = matrix[length];\n\t\tvar score = 0,\n\t\t\tnblacks = 0;\n\n\t\tfor (var i = 0; i < n; ++i) {\n\t\t\tvar row = matrix[i];\n\t\t\tvar groups;\n\t\t\tgroups = [0];\n\n\t\t\tfor (var j = 0; j < n; ) {\n\t\t\t\tvar k;\n\n\t\t\t\tfor (k = 0; j < n && row[j]; ++k) {\n\t\t\t\t\t++j;\n\t\t\t\t}\n\n\t\t\t\tgroups.push(k);\n\n\t\t\t\tfor (k = 0; j < n && !row[j]; ++k) {\n\t\t\t\t\t++j;\n\t\t\t\t}\n\n\t\t\t\tgroups.push(k);\n\t\t\t}\n\n\t\t\tscore += evaluategroup(groups);\n\t\t\tgroups = [0];\n\n\t\t\tfor (var j2 = 0; j2 < n; ) {\n\t\t\t\tvar k2;\n\n\t\t\t\tfor (k2 = 0; j2 < n && matrix[j2][i]; ++k2) {\n\t\t\t\t\t++j2;\n\t\t\t\t}\n\n\t\t\t\tgroups.push(k2);\n\n\t\t\t\tfor (k2 = 0; j2 < n && !matrix[j2][i]; ++k2) {\n\t\t\t\t\t++j2;\n\t\t\t\t}\n\n\t\t\t\tgroups.push(k2);\n\t\t\t}\n\n\t\t\tscore += evaluategroup(groups);\n\t\t\tvar nextrow = matrix[i + 1] || [];\n\t\t\tnblacks += row[0];\n\n\t\t\tfor (var j3 = 1; j3 < n; ++j3) {\n\t\t\t\tvar p = row[j3];\n\t\t\t\tnblacks += p;\n\n\t\t\t\tif (\n\t\t\t\t\trow[j3 - 1] === p &&\n\t\t\t\t\tnextrow[j3] === p &&\n\t\t\t\t\tnextrow[j3 - 1] === p\n\t\t\t\t) {\n\t\t\t\t\tscore += PENALTY_TWOBYTWO;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tscore +=\n\t\t\tPENALTY_DENSITY * ((Math.abs(nblacks / n / n - 0.5) / 0.05) | 0);\n\t\treturn score;\n\t};\n\n\tvar _generate = function generate(data, ver, mode, ecclevel, mask) {\n\t\tvar v = VERSIONS[ver];\n\t\tvar buf = encode(ver, mode, data, ndatabits(ver, ecclevel) >> 3);\n\t\tbuf = augumenteccs(buf, v[1][ecclevel], GF256_GENPOLY[v[0][ecclevel]]);\n\t\tvar result = makebasematrix(ver);\n\t\tvar matrix = result.matrix,\n\t\t\treserved = result.reserved;\n\t\tputdata(matrix, reserved, buf);\n\n\t\tif (mask < 0) {\n\t\t\tmaskdata(matrix, reserved, 0);\n\t\t\tputformatinfo(matrix, reserved, ecclevel, 0);\n\t\t\tvar bestmask = 0,\n\t\t\t\tbestscore = evaluatematrix(matrix);\n\t\t\tmaskdata(matrix, reserved, 0);\n\n\t\t\tfor (mask = 1; mask < 8; ++mask) {\n\t\t\t\tmaskdata(matrix, reserved, mask);\n\t\t\t\tputformatinfo(matrix, reserved, ecclevel, mask);\n\t\t\t\tvar score = evaluatematrix(matrix);\n\n\t\t\t\tif (bestscore > score) {\n\t\t\t\t\tbestscore = score;\n\t\t\t\t\tbestmask = mask;\n\t\t\t\t}\n\n\t\t\t\tmaskdata(matrix, reserved, mask);\n\t\t\t}\n\n\t\t\tmask = bestmask;\n\t\t}\n\n\t\tmaskdata(matrix, reserved, mask);\n\t\tputformatinfo(matrix, reserved, ecclevel, mask);\n\t\treturn matrix;\n\t};\n\n\tvar QRCode = {\n\t\tgenerate: function generate(data, settings) {\n\t\t\tvar options = settings || {};\n\t\t\tvar MODES = {\n\t\t\t\tnumeric: MODE_NUMERIC,\n\t\t\t\talphanumeric: MODE_ALPHANUMERIC,\n\t\t\t\toctet: MODE_OCTET\n\t\t\t};\n\t\t\tvar ECCLEVELS = {\n\t\t\t\tL: ECCLEVEL_L,\n\t\t\t\tM: ECCLEVEL_M,\n\t\t\t\tQ: ECCLEVEL_Q,\n\t\t\t\tH: ECCLEVEL_H\n\t\t\t};\n\t\t\tvar ver = options.version || -1;\n\t\t\tvar ecclevel = ECCLEVELS[(options.ecclevel || \"L\").toUpperCase()];\n\t\t\tvar mode = options.mode ? MODES[options.mode.toLowerCase()] : -1;\n\t\t\tvar mask = \"mask\" in options ? options.mask : -1;\n\n\t\t\tif (mode < 0) {\n\t\t\t\tif (typeof data === \"string\") {\n\t\t\t\t\tif (data.match(NUMERIC_REGEXP)) {\n\t\t\t\t\t\tmode = MODE_NUMERIC;\n\t\t\t\t\t} else if (data.match(ALPHANUMERIC_OUT_REGEXP)) {\n\t\t\t\t\t\tmode = MODE_ALPHANUMERIC;\n\t\t\t\t\t} else {\n\t\t\t\t\t\tmode = MODE_OCTET;\n\t\t\t\t\t}\n\t\t\t\t} else {\n\t\t\t\t\tmode = MODE_OCTET;\n\t\t\t\t}\n\t\t\t} else if (\n\t\t\t\t!(\n\t\t\t\t\tmode === MODE_NUMERIC ||\n\t\t\t\t\tmode === MODE_ALPHANUMERIC ||\n\t\t\t\t\tmode === MODE_OCTET\n\t\t\t\t)\n\t\t\t) {\n\t\t\t\tthrow \"invalid or unsupported mode\";\n\t\t\t}\n\n\t\t\tdata = validatedata(mode, data);\n\n\t\t\tif (data === null) {\n\t\t\t\tthrow \"invalid data format\";\n\t\t\t}\n\n\t\t\tif (ecclevel < 0 || ecclevel > 3) {\n\t\t\t\tthrow \"invalid ECC level\";\n\t\t\t}\n\n\t\t\tif (ver < 0) {\n\t\t\t\tfor (ver = 1; ver <= 40; ++ver) {\n\t\t\t\t\tif (data[length] <= getmaxdatalen(ver, mode, ecclevel)) {\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tif (ver > 40) {\n\t\t\t\t\tthrow \"too large data\";\n\t\t\t\t}\n\t\t\t} else if (ver < 1 || ver > 40) {\n\t\t\t\tthrow \"invalid version\";\n\t\t\t}\n\n\t\t\tif (mask !== -1 && (mask < 0 || mask > 8)) {\n\t\t\t\tthrow \"invalid mask\";\n\t\t\t}\n\n\t\t\treturn _generate(data, ver, mode, ecclevel, mask);\n\t\t},\n\t\tgenerateHTML: function generateHTML(data, settings) {\n\t\t\tvar options = settings || {};\n\t\t\tvar fillcolor = options.fillcolor ? options.fillcolor : \"#FFFFFF\";\n\t\t\tvar textcolor = options.textcolor ? options.textcolor : \"#000000\";\n\t\t\tvar matrix = QRCode.generate(data, options);\n\t\t\tvar modsize = Math.max(options.modulesize || 5, 0.5);\n\t\t\tvar margin = Math.max(\n\t\t\t\toptions.margin !== null ? options.margin : 4,\n\t\t\t\t0.0\n\t\t\t);\n\t\t\tvar e = document.createElement(\"div\");\n\t\t\tvar n = matrix[length];\n\t\t\tvar html = [\n\t\t\t\t'<table border=\"0\" cellspacing=\"0\" cellpadding=\"0\" style=\"border:' +\n\t\t\t\t\tmodsize * margin +\n\t\t\t\t\t\"px solid \" +\n\t\t\t\t\tfillcolor +\n\t\t\t\t\t\";background:\" +\n\t\t\t\t\tfillcolor +\n\t\t\t\t\t'\">'\n\t\t\t];\n\n\t\t\tfor (var i = 0; i < n; ++i) {\n\t\t\t\thtml.push(\"<tr>\");\n\n\t\t\t\tfor (var j = 0; j < n; ++j) {\n\t\t\t\t\thtml.push(\n\t\t\t\t\t\t'<td style=\"width:' +\n\t\t\t\t\t\t\tmodsize +\n\t\t\t\t\t\t\t\"px;height:\" +\n\t\t\t\t\t\t\tmodsize +\n\t\t\t\t\t\t\t\"px\" +\n\t\t\t\t\t\t\t(matrix[i][j] ? \";background:\" + textcolor : \"\") +\n\t\t\t\t\t\t\t'\"></td>'\n\t\t\t\t\t);\n\t\t\t\t}\n\n\t\t\t\thtml.push(\"</tr>\");\n\t\t\t}\n\n\t\t\te.className = \"qrcode\";\n\t\t\t/* e.innerHTML = html.join(\"\") + \"</table>\"; */\n\n\t\t\tvar range = document.createRange();\n\t\t\trange.selectNodeContents(e);\n\t\t\tvar frag = range.createContextualFragment(\n\t\t\t\thtml.join(\"\") + \"</table>\"\n\t\t\t);\n\t\t\te.appendChild(frag);\n\t\t\treturn e;\n\t\t},\n\t\tgenerateSVG: function generateSVG(data, settings) {\n\t\t\tvar options = settings || {};\n\t\t\tvar fillcolor = options.fillcolor ? options.fillcolor : \"#FFFFFF\";\n\t\t\tvar textcolor = options.textcolor ? options.textcolor : \"#000000\";\n\t\t\tvar matrix = QRCode.generate(data, options);\n\t\t\tvar n = matrix[length];\n\t\t\tvar modsize = Math.max(options.modulesize || 5, 0.5);\n\t\t\tvar margin = Math.max(options.margin ? options.margin : 4, 0.0);\n\t\t\tvar size = modsize * (n + 2 * margin);\n\t\t\t/* var common = ' class= \"fg\"' + ' width=\"' + modsize + '\" height=\"' + modsize + '\"/>'; */\n\n\t\t\tvar e = document.createElementNS(\n\t\t\t\t\"http://www.w3.org/2000/svg\",\n\t\t\t\t\"svg\"\n\t\t\t);\n\t\t\te.setAttributeNS(null, \"viewBox\", \"0 0 \" + size + \" \" + size);\n\t\t\te.setAttributeNS(null, \"style\", \"shape-rendering:crispEdges\");\n\t\t\tvar qrcodeId = \"qrcode\" + Date.now();\n\t\t\te.setAttributeNS(null, \"id\", qrcodeId);\n\t\t\tvar frag = document.createDocumentFragment();\n\t\t\t/* var svg = ['<style scoped>.bg{fill:' + fillcolor + '}.fg{fill:' + textcolor + '}</style>', '<rect class=\"bg\" x=\"0\" y=\"0\"', 'width=\"' + size + '\" height=\"' + size + '\"/>', ]; */\n\n\t\t\tvar style = document.createElementNS(\n\t\t\t\t\"http://www.w3.org/2000/svg\",\n\t\t\t\t\"style\"\n\t\t\t);\n\t\t\tstyle.appendChild(\n\t\t\t\tdocument.createTextNode(\n\t\t\t\t\t\"#\" +\n\t\t\t\t\t\tqrcodeId +\n\t\t\t\t\t\t\" .bg{fill:\" +\n\t\t\t\t\t\tfillcolor +\n\t\t\t\t\t\t\"}#\" +\n\t\t\t\t\t\tqrcodeId +\n\t\t\t\t\t\t\" .fg{fill:\" +\n\t\t\t\t\t\ttextcolor +\n\t\t\t\t\t\t\"}\"\n\t\t\t\t)\n\t\t\t);\n\t\t\t/* style.setAttributeNS(null, \"scoped\", \"scoped\"); */\n\n\t\t\tfrag.appendChild(style);\n\n\t\t\tvar createRect = function createRect(c, f, x, y, s) {\n\t\t\t\tvar fg =\n\t\t\t\t\tdocument.createElementNS(\n\t\t\t\t\t\t\"http://www.w3.org/2000/svg\",\n\t\t\t\t\t\t\"rect\"\n\t\t\t\t\t) || \"\";\n\t\t\t\tfg.setAttributeNS(null, \"class\", c);\n\t\t\t\tfg.setAttributeNS(null, \"fill\", f);\n\t\t\t\tfg.setAttributeNS(null, \"x\", x);\n\t\t\t\tfg.setAttributeNS(null, \"y\", y);\n\t\t\t\tfg.setAttributeNS(null, \"width\", s);\n\t\t\t\tfg.setAttributeNS(null, \"height\", s);\n\t\t\t\treturn fg;\n\t\t\t};\n\n\t\t\tfrag.appendChild(createRect(\"bg\", \"none\", 0, 0, size));\n\t\t\tvar yo = margin * modsize;\n\n\t\t\tfor (var y = 0; y < n; ++y) {\n\t\t\t\tvar xo = margin * modsize;\n\n\t\t\t\tfor (var x = 0; x < n; ++x) {\n\t\t\t\t\tif (matrix[y][x]) {\n\t\t\t\t\t\t/* svg.push('<rect x=\"' + xo + '\" y=\"' + yo + '\"', common); */\n\t\t\t\t\t\tfrag.appendChild(\n\t\t\t\t\t\t\tcreateRect(\"fg\", \"none\", xo, yo, modsize)\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\n\t\t\t\t\txo += modsize;\n\t\t\t\t}\n\n\t\t\t\tyo += modsize;\n\t\t\t}\n\t\t\t/* e.innerHTML = svg.join(\"\"); */\n\n\t\t\te.appendChild(frag);\n\t\t\treturn e;\n\t\t},\n\t\tgeneratePNG: function generatePNG(data, settings) {\n\t\t\tvar options = settings || {};\n\t\t\tvar fillcolor = options.fillcolor || \"#FFFFFF\";\n\t\t\tvar textcolor = options.textcolor || \"#000000\";\n\t\t\tvar matrix = QRCode.generate(data, options);\n\t\t\tvar modsize = Math.max(options.modulesize || 5, 0.5);\n\t\t\tvar margin = Math.max(\n\t\t\t\toptions.margin !== null && options.margin !== undefined\n\t\t\t\t\t? options.margin\n\t\t\t\t\t: 4,\n\t\t\t\t0.0\n\t\t\t);\n\t\t\tvar n = matrix[length];\n\t\t\tvar size = modsize * (n + 2 * margin);\n\t\t\tvar canvas = document.createElement(\"canvas\"),\n\t\t\t\tcontext;\n\t\t\tcanvas.width = canvas.height = size;\n\t\t\tcontext = canvas.getContext(\"2d\");\n\n\t\t\tif (!context) {\n\t\t\t\tthrow \"canvas support is needed for PNG output\";\n\t\t\t}\n\n\t\t\tcontext.fillStyle = fillcolor;\n\t\t\tcontext.fillRect(0, 0, size, size);\n\t\t\tcontext.fillStyle = textcolor;\n\n\t\t\tfor (var i = 0; i < n; ++i) {\n\t\t\t\tfor (var j = 0; j < n; ++j) {\n\t\t\t\t\tif (matrix[i][j]) {\n\t\t\t\t\t\tcontext.fillRect(\n\t\t\t\t\t\t\tmodsize * (margin + j),\n\t\t\t\t\t\t\tmodsize * (margin + i),\n\t\t\t\t\t\t\tmodsize,\n\t\t\t\t\t\t\tmodsize\n\t\t\t\t\t\t);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn canvas.toDataURL();\n\t\t}\n\t};\n\troot.QRCode = QRCode;\n})(\"undefined\" !== typeof window ? window : this, document);\n/*jshint bitwise: true */\n\n/*jshint shadow: false */\n\n/*jshint sub: false */\n\n/*jshint +W041 */\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/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\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.l = 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// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// define __esModule on exports\n/******/ \t__webpack_require__.r = function(exports) {\n/******/ \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n/******/ \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n/******/ \t\t}\n/******/ \t\tObject.defineProperty(exports, '__esModule', { value: true });\n/******/ \t};\n/******/\n/******/ \t// create a fake namespace object\n/******/ \t// mode & 1: value is a module id, require it\n/******/ \t// mode & 2: merge all properties of value into the ns\n/******/ \t// mode & 4: return value when already ns object\n/******/ \t// mode & 8|1: behave like require\n/******/ \t__webpack_require__.t = function(value, mode) {\n/******/ \t\tif(mode & 1) value = __webpack_require__(value);\n/******/ \t\tif(mode & 8) return value;\n/******/ \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n/******/ \t\tvar ns = Object.create(null);\n/******/ \t\t__webpack_require__.r(ns);\n/******/ \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n/******/ \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n/******/ \t\treturn ns;\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 0);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nvar _barcodes = __webpack_require__(1);\n\nvar _barcodes2 = _interopRequireDefault(_barcodes);\n\nvar _merge = __webpack_require__(36);\n\nvar _merge2 = _interopRequireDefault(_merge);\n\nvar _linearizeEncodings = __webpack_require__(37);\n\nvar _linearizeEncodings2 = _interopRequireDefault(_linearizeEncodings);\n\nvar _fixOptions = __webpack_require__(38);\n\nvar _fixOptions2 = _interopRequireDefault(_fixOptions);\n\nvar _getRenderProperties = __webpack_require__(39);\n\nvar _getRenderProperties2 = _interopRequireDefault(_getRenderProperties);\n\nvar _optionsFromStrings = __webpack_require__(41);\n\nvar _optionsFromStrings2 = _interopRequireDefault(_optionsFromStrings);\n\nvar _ErrorHandler = __webpack_require__(49);\n\nvar _ErrorHandler2 = _interopRequireDefault(_ErrorHandler);\n\nvar _exceptions = __webpack_require__(48);\n\nvar _defaults = __webpack_require__(42);\n\nvar _defaults2 = _interopRequireDefault(_defaults);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// The protype of the object returned from the JsBarcode() call\n\n\n// Help functions\nvar API = function API() {};\n\n// The first call of the library API\n// Will return an object with all barcodes calls and the data that is used\n// by the renderers\n\n\n// Default values\n\n\n// Exceptions\n// Import all the barcodes\nvar JsBarcode = function JsBarcode(element, text, options) {\n\tvar api = new API();\n\n\tif (typeof element === \"undefined\") {\n\t\tthrow Error(\"No element to render on was provided.\");\n\t}\n\n\t// Variables that will be pased through the API calls\n\tapi._renderProperties = (0, _getRenderProperties2.default)(element);\n\tapi._encodings = [];\n\tapi._options = _defaults2.default;\n\tapi._errorHandler = new _ErrorHandler2.default(api);\n\n\t// If text is set, use the simple syntax (render the barcode directly)\n\tif (typeof text !== \"undefined\") {\n\t\toptions = options || {};\n\n\t\tif (!options.format) {\n\t\t\toptions.format = autoSelectBarcode();\n\t\t}\n\n\t\tapi.options(options)[options.format](text, options).render();\n\t}\n\n\treturn api;\n};\n\n// To make tests work TODO: remove\nJsBarcode.getModule = function (name) {\n\treturn _barcodes2.default[name];\n};\n\n// Register all barcodes\nfor (var name in _barcodes2.default) {\n\tif (_barcodes2.default.hasOwnProperty(name)) {\n\t\t// Security check if the propery is a prototype property\n\t\tregisterBarcode(_barcodes2.default, name);\n\t}\n}\nfunction registerBarcode(barcodes, name) {\n\tAPI.prototype[name] = API.prototype[name.toUpperCase()] = API.prototype[name.toLowerCase()] = function (text, options) {\n\t\tvar api = this;\n\t\treturn api._errorHandler.wrapBarcodeCall(function () {\n\t\t\t// Ensure text is options.text\n\t\t\toptions.text = typeof options.text === 'undefined' ? undefined : '' + options.text;\n\n\t\t\tvar newOptions = (0, _merge2.default)(api._options, options);\n\t\t\tnewOptions = (0, _optionsFromStrings2.default)(newOptions);\n\t\t\tvar Encoder = barcodes[name];\n\t\t\tvar encoded = encode(text, Encoder, newOptions);\n\t\t\tapi._encodings.push(encoded);\n\n\t\t\treturn api;\n\t\t});\n\t};\n}\n\n// encode() handles the Encoder call and builds the binary string to be rendered\nfunction encode(text, Encoder, options) {\n\t// Ensure that text is a string\n\ttext = \"\" + text;\n\n\tvar encoder = new Encoder(text, options);\n\n\t// If the input is not valid for the encoder, throw error.\n\t// If the valid callback option is set, call it instead of throwing error\n\tif (!encoder.valid()) {\n\t\tthrow new _exceptions.InvalidInputException(encoder.constructor.name, text);\n\t}\n\n\t// Make a request for the binary data (and other infromation) that should be rendered\n\tvar encoded = encoder.encode();\n\n\t// Encodings can be nestled like [[1-1, 1-2], 2, [3-1, 3-2]\n\t// Convert to [1-1, 1-2, 2, 3-1, 3-2]\n\tencoded = (0, _linearizeEncodings2.default)(encoded);\n\n\t// Merge\n\tfor (var i = 0; i < encoded.length; i++) {\n\t\tencoded[i].options = (0, _merge2.default)(options, encoded[i].options);\n\t}\n\n\treturn encoded;\n}\n\nfunction autoSelectBarcode() {\n\t// If CODE128 exists. Use it\n\tif (_barcodes2.default[\"CODE128\"]) {\n\t\treturn \"CODE128\";\n\t}\n\n\t// Else, take the first (probably only) barcode\n\treturn Object.keys(_barcodes2.default)[0];\n}\n\n// Sets global encoder options\n// Added to the api by the JsBarcode function\nAPI.prototype.options = function (options) {\n\tthis._options = (0, _merge2.default)(this._options, options);\n\treturn this;\n};\n\n// Will create a blank space (usually in between barcodes)\nAPI.prototype.blank = function (size) {\n\tvar zeroes = new Array(size + 1).join(\"0\");\n\tthis._encodings.push({ data: zeroes });\n\treturn this;\n};\n\n// Initialize JsBarcode on all HTML elements defined.\nAPI.prototype.init = function () {\n\t// Should do nothing if no elements where found\n\tif (!this._renderProperties) {\n\t\treturn;\n\t}\n\n\t// Make sure renderProperies is an array\n\tif (!Array.isArray(this._renderProperties)) {\n\t\tthis._renderProperties = [this._renderProperties];\n\t}\n\n\tvar renderProperty;\n\tfor (var i in this._renderProperties) {\n\t\trenderProperty = this._renderProperties[i];\n\t\tvar options = (0, _merge2.default)(this._options, renderProperty.options);\n\n\t\tif (options.format == \"auto\") {\n\t\t\toptions.format = autoSelectBarcode();\n\t\t}\n\n\t\tthis._errorHandler.wrapBarcodeCall(function () {\n\t\t\tvar text = options.value;\n\t\t\tvar Encoder = _barcodes2.default[options.format.toUpperCase()];\n\t\t\tvar encoded = encode(text, Encoder, options);\n\n\t\t\trender(renderProperty, encoded, options);\n\t\t});\n\t}\n};\n\n// The render API call. Calls the real render function.\nAPI.prototype.render = function () {\n\tif (!this._renderProperties) {\n\t\tthrow new _exceptions.NoElementException();\n\t}\n\n\tif (Array.isArray(this._renderProperties)) {\n\t\tfor (var i = 0; i < this._renderProperties.length; i++) {\n\t\t\trender(this._renderProperties[i], this._encodings, this._options);\n\t\t}\n\t} else {\n\t\trender(this._renderProperties, this._encodings, this._options);\n\t}\n\n\treturn this;\n};\n\nAPI.prototype._defaults = _defaults2.default;\n\n// Prepares the encodings and calls the renderer\nfunction render(renderProperties, encodings, options) {\n\tencodings = (0, _linearizeEncodings2.default)(encodings);\n\n\tfor (var i = 0; i < encodings.length; i++) {\n\t\tencodings[i].options = (0, _merge2.default)(options, encodings[i].options);\n\t\t(0, _fixOptions2.default)(encodings[i].options);\n\t}\n\n\t(0, _fixOptions2.default)(options);\n\n\tvar Renderer = renderProperties.renderer;\n\tvar renderer = new Renderer(renderProperties.element, encodings, options);\n\trenderer.render();\n\n\tif (renderProperties.afterRender) {\n\t\trenderProperties.afterRender();\n\t}\n}\n\n// Export to browser\nif (typeof window !== \"undefined\") {\n\twindow.JsBarcode = JsBarcode;\n}\n\n// Export to jQuery\n/*global jQuery */\nif (typeof jQuery !== 'undefined') {\n\tjQuery.fn.JsBarcode = function (content, options) {\n\t\tvar elementArray = [];\n\t\tjQuery(this).each(function () {\n\t\t\telementArray.push(this);\n\t\t});\n\t\treturn JsBarcode(elementArray, content, options);\n\t};\n}\n\n// Export to commonJS\nmodule.exports = JsBarcode;\n\n/***/ }),\n/* 1 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _CODE = __webpack_require__(2);\n\nvar _CODE2 = __webpack_require__(4);\n\nvar _EAN_UPC = __webpack_require__(12);\n\nvar _ITF = __webpack_require__(22);\n\nvar _MSI = __webpack_require__(26);\n\nvar _pharmacode = __webpack_require__(33);\n\nvar _codabar = __webpack_require__(34);\n\nvar _GenericBarcode = __webpack_require__(35);\n\nexports.default = {\n\tCODE39: _CODE.CODE39,\n\tCODE128: _CODE2.CODE128, CODE128A: _CODE2.CODE128A, CODE128B: _CODE2.CODE128B, CODE128C: _CODE2.CODE128C,\n\tEAN13: _EAN_UPC.EAN13, EAN8: _EAN_UPC.EAN8, EAN5: _EAN_UPC.EAN5, EAN2: _EAN_UPC.EAN2, UPC: _EAN_UPC.UPC, UPCE: _EAN_UPC.UPCE,\n\tITF14: _ITF.ITF14,\n\tITF: _ITF.ITF,\n\tMSI: _MSI.MSI, MSI10: _MSI.MSI10, MSI11: _MSI.MSI11, MSI1010: _MSI.MSI1010, MSI1110: _MSI.MSI1110,\n\tpharmacode: _pharmacode.pharmacode,\n\tcodabar: _codabar.codabar,\n\tGenericBarcode: _GenericBarcode.GenericBarcode\n};\n\n/***/ }),\n/* 2 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nexports.CODE39 = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _Barcode2 = __webpack_require__(3);\n\nvar _Barcode3 = _interopRequireDefault(_Barcode2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } // Encoding documentation:\n// https://en.wikipedia.org/wiki/Code_39#Encoding\n\nvar CODE39 = function (_Barcode) {\n\t_inherits(CODE39, _Barcode);\n\n\tfunction CODE39(data, options) {\n\t\t_classCallCheck(this, CODE39);\n\n\t\tdata = data.toUpperCase();\n\n\t\t// Calculate mod43 checksum if enabled\n\t\tif (options.mod43) {\n\t\t\tdata += getCharacter(mod43checksum(data));\n\t\t}\n\n\t\treturn _possibleConstructorReturn(this, (CODE39.__proto__ || Object.getPrototypeOf(CODE39)).call(this, data, options));\n\t}\n\n\t_createClass(CODE39, [{\n\t\tkey: \"encode\",\n\t\tvalue: function encode() {\n\t\t\t// First character is always a *\n\t\t\tvar result = getEncoding(\"*\");\n\n\t\t\t// Take every character and add the binary representation to the result\n\t\t\tfor (var i = 0; i < this.data.length; i++) {\n\t\t\t\tresult += getEncoding(this.data[i]) + \"0\";\n\t\t\t}\n\n\t\t\t// Last character is always a *\n\t\t\tresult += getEncoding(\"*\");\n\n\t\t\treturn {\n\t\t\t\tdata: result,\n\t\t\t\ttext: this.text\n\t\t\t};\n\t\t}\n\t}, {\n\t\tkey: \"valid\",\n\t\tvalue: function valid() {\n\t\t\treturn this.data.search(/^[0-9A-Z\\-\\.\\ \\$\\/\\+\\%]+$/) !== -1;\n\t\t}\n\t}]);\n\n\treturn CODE39;\n}(_Barcode3.default);\n\n// All characters. The position in the array is the (checksum) value\n\n\nvar characters = [\"0\", \"1\", \"2\", \"3\", \"4\", \"5\", \"6\", \"7\", \"8\", \"9\", \"A\", \"B\", \"C\", \"D\", \"E\", \"F\", \"G\", \"H\", \"I\", \"J\", \"K\", \"L\", \"M\", \"N\", \"O\", \"P\", \"Q\", \"R\", \"S\", \"T\", \"U\", \"V\", \"W\", \"X\", \"Y\", \"Z\", \"-\", \".\", \" \", \"$\", \"/\", \"+\", \"%\", \"*\"];\n\n// The decimal representation of the characters, is converted to the\n// corresponding binary with the getEncoding function\nvar encodings = [20957, 29783, 23639, 30485, 20951, 29813, 23669, 20855, 29789, 23645, 29975, 23831, 30533, 22295, 30149, 24005, 21623, 29981, 23837, 22301, 30023, 23879, 30545, 22343, 30161, 24017, 21959, 30065, 23921, 22385, 29015, 18263, 29141, 17879, 29045, 18293, 17783, 29021, 18269, 17477, 17489, 17681, 20753, 35770];\n\n// Get the binary representation of a character by converting the encodings\n// from decimal to binary\nfunction getEncoding(character) {\n\treturn getBinary(characterValue(character));\n}\n\nfunction getBinary(characterValue) {\n\treturn encodings[characterValue].toString(2);\n}\n\nfunction getCharacter(characterValue) {\n\treturn characters[characterValue];\n}\n\nfunction characterValue(character) {\n\treturn characters.indexOf(character);\n}\n\nfunction mod43checksum(data) {\n\tvar checksum = 0;\n\tfor (var i = 0; i < data.length; i++) {\n\t\tchecksum += characterValue(data[i]);\n\t}\n\n\tchecksum = checksum % 43;\n\treturn checksum;\n}\n\nexports.CODE39 = CODE39;\n\n/***/ }),\n/* 3 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar Barcode = function Barcode(data, options) {\n\t_classCallCheck(this, Barcode);\n\n\tthis.data = data;\n\tthis.text = options.text || data;\n\tthis.options = options;\n};\n\nexports.default = Barcode;\n\n/***/ }),\n/* 4 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.CODE128C = exports.CODE128B = exports.CODE128A = exports.CODE128 = undefined;\n\nvar _CODE128_AUTO = __webpack_require__(5);\n\nvar _CODE128_AUTO2 = _interopRequireDefault(_CODE128_AUTO);\n\nvar _CODE128A = __webpack_require__(9);\n\nvar _CODE128A2 = _interopRequireDefault(_CODE128A);\n\nvar _CODE128B = __webpack_require__(10);\n\nvar _CODE128B2 = _interopRequireDefault(_CODE128B);\n\nvar _CODE128C = __webpack_require__(11);\n\nvar _CODE128C2 = _interopRequireDefault(_CODE128C);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.CODE128 = _CODE128_AUTO2.default;\nexports.CODE128A = _CODE128A2.default;\nexports.CODE128B = _CODE128B2.default;\nexports.CODE128C = _CODE128C2.default;\n\n/***/ }),\n/* 5 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _CODE2 = __webpack_require__(6);\n\nvar _CODE3 = _interopRequireDefault(_CODE2);\n\nvar _auto = __webpack_require__(8);\n\nvar _auto2 = _interopRequireDefault(_auto);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar CODE128AUTO = function (_CODE) {\n\t_inherits(CODE128AUTO, _CODE);\n\n\tfunction CODE128AUTO(data, options) {\n\t\t_classCallCheck(this, CODE128AUTO);\n\n\t\t// ASCII value ranges 0-127, 200-211\n\t\tif (/^[\\x00-\\x7F\\xC8-\\xD3]+$/.test(data)) {\n\t\t\tvar _this = _possibleConstructorReturn(this, (CODE128AUTO.__proto__ || Object.getPrototypeOf(CODE128AUTO)).call(this, (0, _auto2.default)(data), options));\n\t\t} else {\n\t\t\tvar _this = _possibleConstructorReturn(this, (CODE128AUTO.__proto__ || Object.getPrototypeOf(CODE128AUTO)).call(this, data, options));\n\t\t}\n\t\treturn _possibleConstructorReturn(_this);\n\t}\n\n\treturn CODE128AUTO;\n}(_CODE3.default);\n\nexports.default = CODE128AUTO;\n\n/***/ }),\n/* 6 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _Barcode2 = __webpack_require__(3);\n\nvar _Barcode3 = _interopRequireDefault(_Barcode2);\n\nvar _constants = __webpack_require__(7);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n// This is the master class,\n// it does require the start code to be included in the string\nvar CODE128 = function (_Barcode) {\n\t_inherits(CODE128, _Barcode);\n\n\tfunction CODE128(data, options) {\n\t\t_classCallCheck(this, CODE128);\n\n\t\t// Get array of ascii codes from data\n\t\tvar _this = _possibleConstructorReturn(this, (CODE128.__proto__ || Object.getPrototypeOf(CODE128)).call(this, data.substring(1), options));\n\n\t\t_this.bytes = data.split('').map(function (char) {\n\t\t\treturn char.charCodeAt(0);\n\t\t});\n\t\treturn _this;\n\t}\n\n\t_createClass(CODE128, [{\n\t\tkey: 'valid',\n\t\tvalue: function valid() {\n\t\t\t// ASCII value ranges 0-127, 200-211\n\t\t\treturn (/^[\\x00-\\x7F\\xC8-\\xD3]+$/.test(this.data)\n\t\t\t);\n\t\t}\n\n\t\t// The public encoding function\n\n\t}, {\n\t\tkey: 'encode',\n\t\tvalue: function encode() {\n\t\t\tvar bytes = this.bytes;\n\t\t\t// Remove the start code from the bytes and set its index\n\t\t\tvar startIndex = bytes.shift() - 105;\n\t\t\t// Get start set by index\n\t\t\tvar startSet = _constants.SET_BY_CODE[startIndex];\n\n\t\t\tif (startSet === undefined) {\n\t\t\t\tthrow new RangeError('The encoding does not start with a start character.');\n\t\t\t}\n\n\t\t\tif (this.shouldEncodeAsEan128() === true) {\n\t\t\t\tbytes.unshift(_constants.FNC1);\n\t\t\t}\n\n\t\t\t// Start encode with the right type\n\t\t\tvar encodingResult = CODE128.next(bytes, 1, startSet);\n\n\t\t\treturn {\n\t\t\t\ttext: this.text === this.data ? this.text.replace(/[^\\x20-\\x7E]/g, '') : this.text,\n\t\t\t\tdata:\n\t\t\t\t// Add the start bits\n\t\t\t\tCODE128.getBar(startIndex) +\n\t\t\t\t// Add the encoded bits\n\t\t\t\tencodingResult.result +\n\t\t\t\t// Add the checksum\n\t\t\t\tCODE128.getBar((encodingResult.checksum + startIndex) % _constants.MODULO) +\n\t\t\t\t// Add the end bits\n\t\t\t\tCODE128.getBar(_constants.STOP)\n\t\t\t};\n\t\t}\n\n\t\t// GS1-128/EAN-128\n\n\t}, {\n\t\tkey: 'shouldEncodeAsEan128',\n\t\tvalue: function shouldEncodeAsEan128() {\n\t\t\tvar isEAN128 = this.options.ean128 || false;\n\t\t\tif (typeof isEAN128 === 'string') {\n\t\t\t\tisEAN128 = isEAN128.toLowerCase() === 'true';\n\t\t\t}\n\t\t\treturn isEAN128;\n\t\t}\n\n\t\t// Get a bar symbol by index\n\n\t}], [{\n\t\tkey: 'getBar',\n\t\tvalue: function getBar(index) {\n\t\t\treturn _constants.BARS[index] ? _constants.BARS[index].toString() : '';\n\t\t}\n\n\t\t// Correct an index by a set and shift it from the bytes array\n\n\t}, {\n\t\tkey: 'correctIndex',\n\t\tvalue: function correctIndex(bytes, set) {\n\t\t\tif (set === _constants.SET_A) {\n\t\t\t\tvar charCode = bytes.shift();\n\t\t\t\treturn charCode < 32 ? charCode + 64 : charCode - 32;\n\t\t\t} else if (set === _constants.SET_B) {\n\t\t\t\treturn bytes.shift() - 32;\n\t\t\t} else {\n\t\t\t\treturn (bytes.shift() - 48) * 10 + bytes.shift() - 48;\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: 'next',\n\t\tvalue: function next(bytes, pos, set) {\n\t\t\tif (!bytes.length) {\n\t\t\t\treturn { result: '', checksum: 0 };\n\t\t\t}\n\n\t\t\tvar nextCode = void 0,\n\t\t\t    index = void 0;\n\n\t\t\t// Special characters\n\t\t\tif (bytes[0] >= 200) {\n\t\t\t\tindex = bytes.shift() - 105;\n\t\t\t\tvar nextSet = _constants.SWAP[index];\n\n\t\t\t\t// Swap to other set\n\t\t\t\tif (nextSet !== undefined) {\n\t\t\t\t\tnextCode = CODE128.next(bytes, pos + 1, nextSet);\n\t\t\t\t}\n\t\t\t\t// Continue on current set but encode a special character\n\t\t\t\telse {\n\t\t\t\t\t\t// Shift\n\t\t\t\t\t\tif ((set === _constants.SET_A || set === _constants.SET_B) && index === _constants.SHIFT) {\n\t\t\t\t\t\t\t// Convert the next character so that is encoded correctly\n\t\t\t\t\t\t\tbytes[0] = set === _constants.SET_A ? bytes[0] > 95 ? bytes[0] - 96 : bytes[0] : bytes[0] < 32 ? bytes[0] + 96 : bytes[0];\n\t\t\t\t\t\t}\n\t\t\t\t\t\tnextCode = CODE128.next(bytes, pos + 1, set);\n\t\t\t\t\t}\n\t\t\t}\n\t\t\t// Continue encoding\n\t\t\telse {\n\t\t\t\t\tindex = CODE128.correctIndex(bytes, set);\n\t\t\t\t\tnextCode = CODE128.next(bytes, pos + 1, set);\n\t\t\t\t}\n\n\t\t\t// Get the correct binary encoding and calculate the weight\n\t\t\tvar enc = CODE128.getBar(index);\n\t\t\tvar weight = index * pos;\n\n\t\t\treturn {\n\t\t\t\tresult: enc + nextCode.result,\n\t\t\t\tchecksum: weight + nextCode.checksum\n\t\t\t};\n\t\t}\n\t}]);\n\n\treturn CODE128;\n}(_Barcode3.default);\n\nexports.default = CODE128;\n\n/***/ }),\n/* 7 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _SET_BY_CODE;\n\nfunction _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\n\n// constants for internal usage\nvar SET_A = exports.SET_A = 0;\nvar SET_B = exports.SET_B = 1;\nvar SET_C = exports.SET_C = 2;\n\n// Special characters\nvar SHIFT = exports.SHIFT = 98;\nvar START_A = exports.START_A = 103;\nvar START_B = exports.START_B = 104;\nvar START_C = exports.START_C = 105;\nvar MODULO = exports.MODULO = 103;\nvar STOP = exports.STOP = 106;\nvar FNC1 = exports.FNC1 = 207;\n\n// Get set by start code\nvar SET_BY_CODE = exports.SET_BY_CODE = (_SET_BY_CODE = {}, _defineProperty(_SET_BY_CODE, START_A, SET_A), _defineProperty(_SET_BY_CODE, START_B, SET_B), _defineProperty(_SET_BY_CODE, START_C, SET_C), _SET_BY_CODE);\n\n// Get next set by code\nvar SWAP = exports.SWAP = {\n\t101: SET_A,\n\t100: SET_B,\n\t99: SET_C\n};\n\nvar A_START_CHAR = exports.A_START_CHAR = String.fromCharCode(208); // START_A + 105\nvar B_START_CHAR = exports.B_START_CHAR = String.fromCharCode(209); // START_B + 105\nvar C_START_CHAR = exports.C_START_CHAR = String.fromCharCode(210); // START_C + 105\n\n// 128A (Code Set A)\n// ASCII characters 00 to 95 (0–9, A–Z and control codes), special characters, and FNC 1–4\nvar A_CHARS = exports.A_CHARS = \"[\\x00-\\x5F\\xC8-\\xCF]\";\n\n// 128B (Code Set B)\n// ASCII characters 32 to 127 (0–9, A–Z, a–z), special characters, and FNC 1–4\nvar B_CHARS = exports.B_CHARS = \"[\\x20-\\x7F\\xC8-\\xCF]\";\n\n// 128C (Code Set C)\n// 00–99 (encodes two digits with a single code point) and FNC1\nvar C_CHARS = exports.C_CHARS = \"(\\xCF*[0-9]{2}\\xCF*)\";\n\n// CODE128 includes 107 symbols:\n// 103 data symbols, 3 start symbols (A, B and C), and 1 stop symbol (the last one)\n// Each symbol consist of three black bars (1) and three white spaces (0).\nvar BARS = exports.BARS = [11011001100, 11001101100, 11001100110, 10010011000, 10010001100, 10001001100, 10011001000, 10011000100, 10001100100, 11001001000, 11001000100, 11000100100, 10110011100, 10011011100, 10011001110, 10111001100, 10011101100, 10011100110, 11001110010, 11001011100, 11001001110, 11011100100, 11001110100, 11101101110, 11101001100, 11100101100, 11100100110, 11101100100, 11100110100, 11100110010, 11011011000, 11011000110, 11000110110, 10100011000, 10001011000, 10001000110, 10110001000, 10001101000, 10001100010, 11010001000, 11000101000, 11000100010, 10110111000, 10110001110, 10001101110, 10111011000, 10111000110, 10001110110, 11101110110, 11010001110, 11000101110, 11011101000, 11011100010, 11011101110, 11101011000, 11101000110, 11100010110, 11101101000, 11101100010, 11100011010, 11101111010, 11001000010, 11110001010, 10100110000, 10100001100, 10010110000, 10010000110, 10000101100, 10000100110, 10110010000, 10110000100, 10011010000, 10011000010, 10000110100, 10000110010, 11000010010, 11001010000, 11110111010, 11000010100, 10001111010, 10100111100, 10010111100, 10010011110, 10111100100, 10011110100, 10011110010, 11110100100, 11110010100, 11110010010, 11011011110, 11011110110, 11110110110, 10101111000, 10100011110, 10001011110, 10111101000, 10111100010, 11110101000, 11110100010, 10111011110, 10111101110, 11101011110, 11110101110, 11010000100, 11010010000, 11010011100, 1100011101011];\n\n/***/ }),\n/* 8 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _constants = __webpack_require__(7);\n\n// Match Set functions\nvar matchSetALength = function matchSetALength(string) {\n\treturn string.match(new RegExp('^' + _constants.A_CHARS + '*'))[0].length;\n};\nvar matchSetBLength = function matchSetBLength(string) {\n\treturn string.match(new RegExp('^' + _constants.B_CHARS + '*'))[0].length;\n};\nvar matchSetC = function matchSetC(string) {\n\treturn string.match(new RegExp('^' + _constants.C_CHARS + '*'))[0];\n};\n\n// CODE128A or CODE128B\nfunction autoSelectFromAB(string, isA) {\n\tvar ranges = isA ? _constants.A_CHARS : _constants.B_CHARS;\n\tvar untilC = string.match(new RegExp('^(' + ranges + '+?)(([0-9]{2}){2,})([^0-9]|$)'));\n\n\tif (untilC) {\n\t\treturn untilC[1] + String.fromCharCode(204) + autoSelectFromC(string.substring(untilC[1].length));\n\t}\n\n\tvar chars = string.match(new RegExp('^' + ranges + '+'))[0];\n\n\tif (chars.length === string.length) {\n\t\treturn string;\n\t}\n\n\treturn chars + String.fromCharCode(isA ? 205 : 206) + autoSelectFromAB(string.substring(chars.length), !isA);\n}\n\n// CODE128C\nfunction autoSelectFromC(string) {\n\tvar cMatch = matchSetC(string);\n\tvar length = cMatch.length;\n\n\tif (length === string.length) {\n\t\treturn string;\n\t}\n\n\tstring = string.substring(length);\n\n\t// Select A/B depending on the longest match\n\tvar isA = matchSetALength(string) >= matchSetBLength(string);\n\treturn cMatch + String.fromCharCode(isA ? 206 : 205) + autoSelectFromAB(string, isA);\n}\n\n// Detect Code Set (A, B or C) and format the string\n\nexports.default = function (string) {\n\tvar newString = void 0;\n\tvar cLength = matchSetC(string).length;\n\n\t// Select 128C if the string start with enough digits\n\tif (cLength >= 2) {\n\t\tnewString = _constants.C_START_CHAR + autoSelectFromC(string);\n\t} else {\n\t\t// Select A/B depending on the longest match\n\t\tvar isA = matchSetALength(string) > matchSetBLength(string);\n\t\tnewString = (isA ? _constants.A_START_CHAR : _constants.B_START_CHAR) + autoSelectFromAB(string, isA);\n\t}\n\n\treturn newString.replace(/[\\xCD\\xCE]([^])[\\xCD\\xCE]/, // Any sequence between 205 and 206 characters\n\tfunction (match, char) {\n\t\treturn String.fromCharCode(203) + char;\n\t});\n};\n\n/***/ }),\n/* 9 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _CODE2 = __webpack_require__(6);\n\nvar _CODE3 = _interopRequireDefault(_CODE2);\n\nvar _constants = __webpack_require__(7);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar CODE128A = function (_CODE) {\n\t_inherits(CODE128A, _CODE);\n\n\tfunction CODE128A(string, options) {\n\t\t_classCallCheck(this, CODE128A);\n\n\t\treturn _possibleConstructorReturn(this, (CODE128A.__proto__ || Object.getPrototypeOf(CODE128A)).call(this, _constants.A_START_CHAR + string, options));\n\t}\n\n\t_createClass(CODE128A, [{\n\t\tkey: 'valid',\n\t\tvalue: function valid() {\n\t\t\treturn new RegExp('^' + _constants.A_CHARS + '+$').test(this.data);\n\t\t}\n\t}]);\n\n\treturn CODE128A;\n}(_CODE3.default);\n\nexports.default = CODE128A;\n\n/***/ }),\n/* 10 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _CODE2 = __webpack_require__(6);\n\nvar _CODE3 = _interopRequireDefault(_CODE2);\n\nvar _constants = __webpack_require__(7);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar CODE128B = function (_CODE) {\n\t_inherits(CODE128B, _CODE);\n\n\tfunction CODE128B(string, options) {\n\t\t_classCallCheck(this, CODE128B);\n\n\t\treturn _possibleConstructorReturn(this, (CODE128B.__proto__ || Object.getPrototypeOf(CODE128B)).call(this, _constants.B_START_CHAR + string, options));\n\t}\n\n\t_createClass(CODE128B, [{\n\t\tkey: 'valid',\n\t\tvalue: function valid() {\n\t\t\treturn new RegExp('^' + _constants.B_CHARS + '+$').test(this.data);\n\t\t}\n\t}]);\n\n\treturn CODE128B;\n}(_CODE3.default);\n\nexports.default = CODE128B;\n\n/***/ }),\n/* 11 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _CODE2 = __webpack_require__(6);\n\nvar _CODE3 = _interopRequireDefault(_CODE2);\n\nvar _constants = __webpack_require__(7);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar CODE128C = function (_CODE) {\n\t_inherits(CODE128C, _CODE);\n\n\tfunction CODE128C(string, options) {\n\t\t_classCallCheck(this, CODE128C);\n\n\t\treturn _possibleConstructorReturn(this, (CODE128C.__proto__ || Object.getPrototypeOf(CODE128C)).call(this, _constants.C_START_CHAR + string, options));\n\t}\n\n\t_createClass(CODE128C, [{\n\t\tkey: 'valid',\n\t\tvalue: function valid() {\n\t\t\treturn new RegExp('^' + _constants.C_CHARS + '+$').test(this.data);\n\t\t}\n\t}]);\n\n\treturn CODE128C;\n}(_CODE3.default);\n\nexports.default = CODE128C;\n\n/***/ }),\n/* 12 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.UPCE = exports.UPC = exports.EAN2 = exports.EAN5 = exports.EAN8 = exports.EAN13 = undefined;\n\nvar _EAN = __webpack_require__(13);\n\nvar _EAN2 = _interopRequireDefault(_EAN);\n\nvar _EAN3 = __webpack_require__(17);\n\nvar _EAN4 = _interopRequireDefault(_EAN3);\n\nvar _EAN5 = __webpack_require__(18);\n\nvar _EAN6 = _interopRequireDefault(_EAN5);\n\nvar _EAN7 = __webpack_require__(19);\n\nvar _EAN8 = _interopRequireDefault(_EAN7);\n\nvar _UPC = __webpack_require__(20);\n\nvar _UPC2 = _interopRequireDefault(_UPC);\n\nvar _UPCE = __webpack_require__(21);\n\nvar _UPCE2 = _interopRequireDefault(_UPCE);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.EAN13 = _EAN2.default;\nexports.EAN8 = _EAN4.default;\nexports.EAN5 = _EAN6.default;\nexports.EAN2 = _EAN8.default;\nexports.UPC = _UPC2.default;\nexports.UPCE = _UPCE2.default;\n\n/***/ }),\n/* 13 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _get = function get(object, property, receiver) { if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { return get(parent, property, receiver); } } else if (\"value\" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } };\n\nvar _constants = __webpack_require__(14);\n\nvar _EAN2 = __webpack_require__(15);\n\nvar _EAN3 = _interopRequireDefault(_EAN2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } // Encoding documentation:\n// https://en.wikipedia.org/wiki/International_Article_Number_(EAN)#Binary_encoding_of_data_digits_into_EAN-13_barcode\n\n// Calculate the checksum digit\n// https://en.wikipedia.org/wiki/International_Article_Number_(EAN)#Calculation_of_checksum_digit\nvar checksum = function checksum(number) {\n\tvar res = number.substr(0, 12).split('').map(function (n) {\n\t\treturn +n;\n\t}).reduce(function (sum, a, idx) {\n\t\treturn idx % 2 ? sum + a * 3 : sum + a;\n\t}, 0);\n\n\treturn (10 - res % 10) % 10;\n};\n\nvar EAN13 = function (_EAN) {\n\t_inherits(EAN13, _EAN);\n\n\tfunction EAN13(data, options) {\n\t\t_classCallCheck(this, EAN13);\n\n\t\t// Add checksum if it does not exist\n\t\tif (data.search(/^[0-9]{12}$/) !== -1) {\n\t\t\tdata += checksum(data);\n\t\t}\n\n\t\t// Adds a last character to the end of the barcode\n\t\tvar _this = _possibleConstructorReturn(this, (EAN13.__proto__ || Object.getPrototypeOf(EAN13)).call(this, data, options));\n\n\t\t_this.lastChar = options.lastChar;\n\t\treturn _this;\n\t}\n\n\t_createClass(EAN13, [{\n\t\tkey: 'valid',\n\t\tvalue: function valid() {\n\t\t\treturn this.data.search(/^[0-9]{13}$/) !== -1 && +this.data[12] === checksum(this.data);\n\t\t}\n\t}, {\n\t\tkey: 'leftText',\n\t\tvalue: function leftText() {\n\t\t\treturn _get(EAN13.prototype.__proto__ || Object.getPrototypeOf(EAN13.prototype), 'leftText', this).call(this, 1, 6);\n\t\t}\n\t}, {\n\t\tkey: 'leftEncode',\n\t\tvalue: function leftEncode() {\n\t\t\tvar data = this.data.substr(1, 6);\n\t\t\tvar structure = _constants.EAN13_STRUCTURE[this.data[0]];\n\t\t\treturn _get(EAN13.prototype.__proto__ || Object.getPrototypeOf(EAN13.prototype), 'leftEncode', this).call(this, data, structure);\n\t\t}\n\t}, {\n\t\tkey: 'rightText',\n\t\tvalue: function rightText() {\n\t\t\treturn _get(EAN13.prototype.__proto__ || Object.getPrototypeOf(EAN13.prototype), 'rightText', this).call(this, 7, 6);\n\t\t}\n\t}, {\n\t\tkey: 'rightEncode',\n\t\tvalue: function rightEncode() {\n\t\t\tvar data = this.data.substr(7, 6);\n\t\t\treturn _get(EAN13.prototype.__proto__ || Object.getPrototypeOf(EAN13.prototype), 'rightEncode', this).call(this, data, 'RRRRRR');\n\t\t}\n\n\t\t// The \"standard\" way of printing EAN13 barcodes with guard bars\n\n\t}, {\n\t\tkey: 'encodeGuarded',\n\t\tvalue: function encodeGuarded() {\n\t\t\tvar data = _get(EAN13.prototype.__proto__ || Object.getPrototypeOf(EAN13.prototype), 'encodeGuarded', this).call(this);\n\n\t\t\t// Extend data with left digit & last character\n\t\t\tif (this.options.displayValue) {\n\t\t\t\tdata.unshift({\n\t\t\t\t\tdata: '000000000000',\n\t\t\t\t\ttext: this.text.substr(0, 1),\n\t\t\t\t\toptions: { textAlign: 'left', fontSize: this.fontSize }\n\t\t\t\t});\n\n\t\t\t\tif (this.options.lastChar) {\n\t\t\t\t\tdata.push({\n\t\t\t\t\t\tdata: '00'\n\t\t\t\t\t});\n\t\t\t\t\tdata.push({\n\t\t\t\t\t\tdata: '00000',\n\t\t\t\t\t\ttext: this.options.lastChar,\n\t\t\t\t\t\toptions: { fontSize: this.fontSize }\n\t\t\t\t\t});\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn data;\n\t\t}\n\t}]);\n\n\treturn EAN13;\n}(_EAN3.default);\n\nexports.default = EAN13;\n\n/***/ }),\n/* 14 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n// Standard start end and middle bits\nvar SIDE_BIN = exports.SIDE_BIN = '101';\nvar MIDDLE_BIN = exports.MIDDLE_BIN = '01010';\n\nvar BINARIES = exports.BINARIES = {\n\t'L': [// The L (left) type of encoding\n\t'0001101', '0011001', '0010011', '0111101', '0100011', '0110001', '0101111', '0111011', '0110111', '0001011'],\n\t'G': [// The G type of encoding\n\t'0100111', '0110011', '0011011', '0100001', '0011101', '0111001', '0000101', '0010001', '0001001', '0010111'],\n\t'R': [// The R (right) type of encoding\n\t'1110010', '1100110', '1101100', '1000010', '1011100', '1001110', '1010000', '1000100', '1001000', '1110100'],\n\t'O': [// The O (odd) encoding for UPC-E\n\t'0001101', '0011001', '0010011', '0111101', '0100011', '0110001', '0101111', '0111011', '0110111', '0001011'],\n\t'E': [// The E (even) encoding for UPC-E\n\t'0100111', '0110011', '0011011', '0100001', '0011101', '0111001', '0000101', '0010001', '0001001', '0010111']\n};\n\n// Define the EAN-2 structure\nvar EAN2_STRUCTURE = exports.EAN2_STRUCTURE = ['LL', 'LG', 'GL', 'GG'];\n\n// Define the EAN-5 structure\nvar EAN5_STRUCTURE = exports.EAN5_STRUCTURE = ['GGLLL', 'GLGLL', 'GLLGL', 'GLLLG', 'LGGLL', 'LLGGL', 'LLLGG', 'LGLGL', 'LGLLG', 'LLGLG'];\n\n// Define the EAN-13 structure\nvar EAN13_STRUCTURE = exports.EAN13_STRUCTURE = ['LLLLLL', 'LLGLGG', 'LLGGLG', 'LLGGGL', 'LGLLGG', 'LGGLLG', 'LGGGLL', 'LGLGLG', 'LGLGGL', 'LGGLGL'];\n\n/***/ }),\n/* 15 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _constants = __webpack_require__(14);\n\nvar _encoder = __webpack_require__(16);\n\nvar _encoder2 = _interopRequireDefault(_encoder);\n\nvar _Barcode2 = __webpack_require__(3);\n\nvar _Barcode3 = _interopRequireDefault(_Barcode2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n// Base class for EAN8 & EAN13\nvar EAN = function (_Barcode) {\n\t_inherits(EAN, _Barcode);\n\n\tfunction EAN(data, options) {\n\t\t_classCallCheck(this, EAN);\n\n\t\t// Make sure the font is not bigger than the space between the guard bars\n\t\tvar _this = _possibleConstructorReturn(this, (EAN.__proto__ || Object.getPrototypeOf(EAN)).call(this, data, options));\n\n\t\t_this.fontSize = !options.flat && options.fontSize > options.width * 10 ? options.width * 10 : options.fontSize;\n\n\t\t// Make the guard bars go down half the way of the text\n\t\t_this.guardHeight = options.height + _this.fontSize / 2 + options.textMargin;\n\t\treturn _this;\n\t}\n\n\t_createClass(EAN, [{\n\t\tkey: 'encode',\n\t\tvalue: function encode() {\n\t\t\treturn this.options.flat ? this.encodeFlat() : this.encodeGuarded();\n\t\t}\n\t}, {\n\t\tkey: 'leftText',\n\t\tvalue: function leftText(from, to) {\n\t\t\treturn this.text.substr(from, to);\n\t\t}\n\t}, {\n\t\tkey: 'leftEncode',\n\t\tvalue: function leftEncode(data, structure) {\n\t\t\treturn (0, _encoder2.default)(data, structure);\n\t\t}\n\t}, {\n\t\tkey: 'rightText',\n\t\tvalue: function rightText(from, to) {\n\t\t\treturn this.text.substr(from, to);\n\t\t}\n\t}, {\n\t\tkey: 'rightEncode',\n\t\tvalue: function rightEncode(data, structure) {\n\t\t\treturn (0, _encoder2.default)(data, structure);\n\t\t}\n\t}, {\n\t\tkey: 'encodeGuarded',\n\t\tvalue: function encodeGuarded() {\n\t\t\tvar textOptions = { fontSize: this.fontSize };\n\t\t\tvar guardOptions = { height: this.guardHeight };\n\n\t\t\treturn [{ data: _constants.SIDE_BIN, options: guardOptions }, { data: this.leftEncode(), text: this.leftText(), options: textOptions }, { data: _constants.MIDDLE_BIN, options: guardOptions }, { data: this.rightEncode(), text: this.rightText(), options: textOptions }, { data: _constants.SIDE_BIN, options: guardOptions }];\n\t\t}\n\t}, {\n\t\tkey: 'encodeFlat',\n\t\tvalue: function encodeFlat() {\n\t\t\tvar data = [_constants.SIDE_BIN, this.leftEncode(), _constants.MIDDLE_BIN, this.rightEncode(), _constants.SIDE_BIN];\n\n\t\t\treturn {\n\t\t\t\tdata: data.join(''),\n\t\t\t\ttext: this.text\n\t\t\t};\n\t\t}\n\t}]);\n\n\treturn EAN;\n}(_Barcode3.default);\n\nexports.default = EAN;\n\n/***/ }),\n/* 16 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _constants = __webpack_require__(14);\n\n// Encode data string\nvar encode = function encode(data, structure, separator) {\n\tvar encoded = data.split('').map(function (val, idx) {\n\t\treturn _constants.BINARIES[structure[idx]];\n\t}).map(function (val, idx) {\n\t\treturn val ? val[data[idx]] : '';\n\t});\n\n\tif (separator) {\n\t\tvar last = data.length - 1;\n\t\tencoded = encoded.map(function (val, idx) {\n\t\t\treturn idx < last ? val + separator : val;\n\t\t});\n\t}\n\n\treturn encoded.join('');\n};\n\nexports.default = encode;\n\n/***/ }),\n/* 17 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _get = function get(object, property, receiver) { if (object === null) object = Function.prototype; var desc = Object.getOwnPropertyDescriptor(object, property); if (desc === undefined) { var parent = Object.getPrototypeOf(object); if (parent === null) { return undefined; } else { return get(parent, property, receiver); } } else if (\"value\" in desc) { return desc.value; } else { var getter = desc.get; if (getter === undefined) { return undefined; } return getter.call(receiver); } };\n\nvar _EAN2 = __webpack_require__(15);\n\nvar _EAN3 = _interopRequireDefault(_EAN2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } // Encoding documentation:\n// http://www.barcodeisland.com/ean8.phtml\n\n// Calculate the checksum digit\nvar checksum = function checksum(number) {\n\tvar res = number.substr(0, 7).split('').map(function (n) {\n\t\treturn +n;\n\t}).reduce(function (sum, a, idx) {\n\t\treturn idx % 2 ? sum + a : sum + a * 3;\n\t}, 0);\n\n\treturn (10 - res % 10) % 10;\n};\n\nvar EAN8 = function (_EAN) {\n\t_inherits(EAN8, _EAN);\n\n\tfunction EAN8(data, options) {\n\t\t_classCallCheck(this, EAN8);\n\n\t\t// Add checksum if it does not exist\n\t\tif (data.search(/^[0-9]{7}$/) !== -1) {\n\t\t\tdata += checksum(data);\n\t\t}\n\n\t\treturn _possibleConstructorReturn(this, (EAN8.__proto__ || Object.getPrototypeOf(EAN8)).call(this, data, options));\n\t}\n\n\t_createClass(EAN8, [{\n\t\tkey: 'valid',\n\t\tvalue: function valid() {\n\t\t\treturn this.data.search(/^[0-9]{8}$/) !== -1 && +this.data[7] === checksum(this.data);\n\t\t}\n\t}, {\n\t\tkey: 'leftText',\n\t\tvalue: function leftText() {\n\t\t\treturn _get(EAN8.prototype.__proto__ || Object.getPrototypeOf(EAN8.prototype), 'leftText', this).call(this, 0, 4);\n\t\t}\n\t}, {\n\t\tkey: 'leftEncode',\n\t\tvalue: function leftEncode() {\n\t\t\tvar data = this.data.substr(0, 4);\n\t\t\treturn _get(EAN8.prototype.__proto__ || Object.getPrototypeOf(EAN8.prototype), 'leftEncode', this).call(this, data, 'LLLL');\n\t\t}\n\t}, {\n\t\tkey: 'rightText',\n\t\tvalue: function rightText() {\n\t\t\treturn _get(EAN8.prototype.__proto__ || Object.getPrototypeOf(EAN8.prototype), 'rightText', this).call(this, 4, 4);\n\t\t}\n\t}, {\n\t\tkey: 'rightEncode',\n\t\tvalue: function rightEncode() {\n\t\t\tvar data = this.data.substr(4, 4);\n\t\t\treturn _get(EAN8.prototype.__proto__ || Object.getPrototypeOf(EAN8.prototype), 'rightEncode', this).call(this, data, 'RRRR');\n\t\t}\n\t}]);\n\n\treturn EAN8;\n}(_EAN3.default);\n\nexports.default = EAN8;\n\n/***/ }),\n/* 18 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _constants = __webpack_require__(14);\n\nvar _encoder = __webpack_require__(16);\n\nvar _encoder2 = _interopRequireDefault(_encoder);\n\nvar _Barcode2 = __webpack_require__(3);\n\nvar _Barcode3 = _interopRequireDefault(_Barcode2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } // Encoding documentation:\n// https://en.wikipedia.org/wiki/EAN_5#Encoding\n\nvar checksum = function checksum(data) {\n\tvar result = data.split('').map(function (n) {\n\t\treturn +n;\n\t}).reduce(function (sum, a, idx) {\n\t\treturn idx % 2 ? sum + a * 9 : sum + a * 3;\n\t}, 0);\n\treturn result % 10;\n};\n\nvar EAN5 = function (_Barcode) {\n\t_inherits(EAN5, _Barcode);\n\n\tfunction EAN5(data, options) {\n\t\t_classCallCheck(this, EAN5);\n\n\t\treturn _possibleConstructorReturn(this, (EAN5.__proto__ || Object.getPrototypeOf(EAN5)).call(this, data, options));\n\t}\n\n\t_createClass(EAN5, [{\n\t\tkey: 'valid',\n\t\tvalue: function valid() {\n\t\t\treturn this.data.search(/^[0-9]{5}$/) !== -1;\n\t\t}\n\t}, {\n\t\tkey: 'encode',\n\t\tvalue: function encode() {\n\t\t\tvar structure = _constants.EAN5_STRUCTURE[checksum(this.data)];\n\t\t\treturn {\n\t\t\t\tdata: '1011' + (0, _encoder2.default)(this.data, structure, '01'),\n\t\t\t\ttext: this.text\n\t\t\t};\n\t\t}\n\t}]);\n\n\treturn EAN5;\n}(_Barcode3.default);\n\nexports.default = EAN5;\n\n/***/ }),\n/* 19 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _constants = __webpack_require__(14);\n\nvar _encoder = __webpack_require__(16);\n\nvar _encoder2 = _interopRequireDefault(_encoder);\n\nvar _Barcode2 = __webpack_require__(3);\n\nvar _Barcode3 = _interopRequireDefault(_Barcode2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } // Encoding documentation:\n// https://en.wikipedia.org/wiki/EAN_2#Encoding\n\nvar EAN2 = function (_Barcode) {\n\t_inherits(EAN2, _Barcode);\n\n\tfunction EAN2(data, options) {\n\t\t_classCallCheck(this, EAN2);\n\n\t\treturn _possibleConstructorReturn(this, (EAN2.__proto__ || Object.getPrototypeOf(EAN2)).call(this, data, options));\n\t}\n\n\t_createClass(EAN2, [{\n\t\tkey: 'valid',\n\t\tvalue: function valid() {\n\t\t\treturn this.data.search(/^[0-9]{2}$/) !== -1;\n\t\t}\n\t}, {\n\t\tkey: 'encode',\n\t\tvalue: function encode() {\n\t\t\t// Choose the structure based on the number mod 4\n\t\t\tvar structure = _constants.EAN2_STRUCTURE[parseInt(this.data) % 4];\n\t\t\treturn {\n\t\t\t\t// Start bits + Encode the two digits with 01 in between\n\t\t\t\tdata: '1011' + (0, _encoder2.default)(this.data, structure, '01'),\n\t\t\t\ttext: this.text\n\t\t\t};\n\t\t}\n\t}]);\n\n\treturn EAN2;\n}(_Barcode3.default);\n\nexports.default = EAN2;\n\n/***/ }),\n/* 20 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nexports.checksum = checksum;\n\nvar _encoder = __webpack_require__(16);\n\nvar _encoder2 = _interopRequireDefault(_encoder);\n\nvar _Barcode2 = __webpack_require__(3);\n\nvar _Barcode3 = _interopRequireDefault(_Barcode2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } // Encoding documentation:\n// https://en.wikipedia.org/wiki/Universal_Product_Code#Encoding\n\nvar UPC = function (_Barcode) {\n\t_inherits(UPC, _Barcode);\n\n\tfunction UPC(data, options) {\n\t\t_classCallCheck(this, UPC);\n\n\t\t// Add checksum if it does not exist\n\t\tif (data.search(/^[0-9]{11}$/) !== -1) {\n\t\t\tdata += checksum(data);\n\t\t}\n\n\t\tvar _this = _possibleConstructorReturn(this, (UPC.__proto__ || Object.getPrototypeOf(UPC)).call(this, data, options));\n\n\t\t_this.displayValue = options.displayValue;\n\n\t\t// Make sure the font is not bigger than the space between the guard bars\n\t\tif (options.fontSize > options.width * 10) {\n\t\t\t_this.fontSize = options.width * 10;\n\t\t} else {\n\t\t\t_this.fontSize = options.fontSize;\n\t\t}\n\n\t\t// Make the guard bars go down half the way of the text\n\t\t_this.guardHeight = options.height + _this.fontSize / 2 + options.textMargin;\n\t\treturn _this;\n\t}\n\n\t_createClass(UPC, [{\n\t\tkey: \"valid\",\n\t\tvalue: function valid() {\n\t\t\treturn this.data.search(/^[0-9]{12}$/) !== -1 && this.data[11] == checksum(this.data);\n\t\t}\n\t}, {\n\t\tkey: \"encode\",\n\t\tvalue: function encode() {\n\t\t\tif (this.options.flat) {\n\t\t\t\treturn this.flatEncoding();\n\t\t\t} else {\n\t\t\t\treturn this.guardedEncoding();\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: \"flatEncoding\",\n\t\tvalue: function flatEncoding() {\n\t\t\tvar result = \"\";\n\n\t\t\tresult += \"101\";\n\t\t\tresult += (0, _encoder2.default)(this.data.substr(0, 6), \"LLLLLL\");\n\t\t\tresult += \"01010\";\n\t\t\tresult += (0, _encoder2.default)(this.data.substr(6, 6), \"RRRRRR\");\n\t\t\tresult += \"101\";\n\n\t\t\treturn {\n\t\t\t\tdata: result,\n\t\t\t\ttext: this.text\n\t\t\t};\n\t\t}\n\t}, {\n\t\tkey: \"guardedEncoding\",\n\t\tvalue: function guardedEncoding() {\n\t\t\tvar result = [];\n\n\t\t\t// Add the first digit\n\t\t\tif (this.displayValue) {\n\t\t\t\tresult.push({\n\t\t\t\t\tdata: \"00000000\",\n\t\t\t\t\ttext: this.text.substr(0, 1),\n\t\t\t\t\toptions: { textAlign: \"left\", fontSize: this.fontSize }\n\t\t\t\t});\n\t\t\t}\n\n\t\t\t// Add the guard bars\n\t\t\tresult.push({\n\t\t\t\tdata: \"101\" + (0, _encoder2.default)(this.data[0], \"L\"),\n\t\t\t\toptions: { height: this.guardHeight }\n\t\t\t});\n\n\t\t\t// Add the left side\n\t\t\tresult.push({\n\t\t\t\tdata: (0, _encoder2.default)(this.data.substr(1, 5), \"LLLLL\"),\n\t\t\t\ttext: this.text.substr(1, 5),\n\t\t\t\toptions: { fontSize: this.fontSize }\n\t\t\t});\n\n\t\t\t// Add the middle bits\n\t\t\tresult.push({\n\t\t\t\tdata: \"01010\",\n\t\t\t\toptions: { height: this.guardHeight }\n\t\t\t});\n\n\t\t\t// Add the right side\n\t\t\tresult.push({\n\t\t\t\tdata: (0, _encoder2.default)(this.data.substr(6, 5), \"RRRRR\"),\n\t\t\t\ttext: this.text.substr(6, 5),\n\t\t\t\toptions: { fontSize: this.fontSize }\n\t\t\t});\n\n\t\t\t// Add the end bits\n\t\t\tresult.push({\n\t\t\t\tdata: (0, _encoder2.default)(this.data[11], \"R\") + \"101\",\n\t\t\t\toptions: { height: this.guardHeight }\n\t\t\t});\n\n\t\t\t// Add the last digit\n\t\t\tif (this.displayValue) {\n\t\t\t\tresult.push({\n\t\t\t\t\tdata: \"00000000\",\n\t\t\t\t\ttext: this.text.substr(11, 1),\n\t\t\t\t\toptions: { textAlign: \"right\", fontSize: this.fontSize }\n\t\t\t\t});\n\t\t\t}\n\n\t\t\treturn result;\n\t\t}\n\t}]);\n\n\treturn UPC;\n}(_Barcode3.default);\n\n// Calulate the checksum digit\n// https://en.wikipedia.org/wiki/International_Article_Number_(EAN)#Calculation_of_checksum_digit\n\n\nfunction checksum(number) {\n\tvar result = 0;\n\n\tvar i;\n\tfor (i = 1; i < 11; i += 2) {\n\t\tresult += parseInt(number[i]);\n\t}\n\tfor (i = 0; i < 11; i += 2) {\n\t\tresult += parseInt(number[i]) * 3;\n\t}\n\n\treturn (10 - result % 10) % 10;\n}\n\nexports.default = UPC;\n\n/***/ }),\n/* 21 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _encoder = __webpack_require__(16);\n\nvar _encoder2 = _interopRequireDefault(_encoder);\n\nvar _Barcode2 = __webpack_require__(3);\n\nvar _Barcode3 = _interopRequireDefault(_Barcode2);\n\nvar _UPC = __webpack_require__(20);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } // Encoding documentation:\n// https://en.wikipedia.org/wiki/Universal_Product_Code#Encoding\n//\n// UPC-E documentation:\n// https://en.wikipedia.org/wiki/Universal_Product_Code#UPC-E\n\nvar EXPANSIONS = [\"XX00000XXX\", \"XX10000XXX\", \"XX20000XXX\", \"XXX00000XX\", \"XXXX00000X\", \"XXXXX00005\", \"XXXXX00006\", \"XXXXX00007\", \"XXXXX00008\", \"XXXXX00009\"];\n\nvar PARITIES = [[\"EEEOOO\", \"OOOEEE\"], [\"EEOEOO\", \"OOEOEE\"], [\"EEOOEO\", \"OOEEOE\"], [\"EEOOOE\", \"OOEEEO\"], [\"EOEEOO\", \"OEOOEE\"], [\"EOOEEO\", \"OEEOOE\"], [\"EOOOEE\", \"OEEEOO\"], [\"EOEOEO\", \"OEOEOE\"], [\"EOEOOE\", \"OEOEEO\"], [\"EOOEOE\", \"OEEOEO\"]];\n\nvar UPCE = function (_Barcode) {\n\t_inherits(UPCE, _Barcode);\n\n\tfunction UPCE(data, options) {\n\t\t_classCallCheck(this, UPCE);\n\n\t\tvar _this = _possibleConstructorReturn(this, (UPCE.__proto__ || Object.getPrototypeOf(UPCE)).call(this, data, options));\n\t\t// Code may be 6 or 8 digits;\n\t\t// A 7 digit code is ambiguous as to whether the extra digit\n\t\t// is a UPC-A check or number system digit.\n\n\n\t\t_this.isValid = false;\n\t\tif (data.search(/^[0-9]{6}$/) !== -1) {\n\t\t\t_this.middleDigits = data;\n\t\t\t_this.upcA = expandToUPCA(data, \"0\");\n\t\t\t_this.text = options.text || '' + _this.upcA[0] + data + _this.upcA[_this.upcA.length - 1];\n\t\t\t_this.isValid = true;\n\t\t} else if (data.search(/^[01][0-9]{7}$/) !== -1) {\n\t\t\t_this.middleDigits = data.substring(1, data.length - 1);\n\t\t\t_this.upcA = expandToUPCA(_this.middleDigits, data[0]);\n\n\t\t\tif (_this.upcA[_this.upcA.length - 1] === data[data.length - 1]) {\n\t\t\t\t_this.isValid = true;\n\t\t\t} else {\n\t\t\t\t// checksum mismatch\n\t\t\t\treturn _possibleConstructorReturn(_this);\n\t\t\t}\n\t\t} else {\n\t\t\treturn _possibleConstructorReturn(_this);\n\t\t}\n\n\t\t_this.displayValue = options.displayValue;\n\n\t\t// Make sure the font is not bigger than the space between the guard bars\n\t\tif (options.fontSize > options.width * 10) {\n\t\t\t_this.fontSize = options.width * 10;\n\t\t} else {\n\t\t\t_this.fontSize = options.fontSize;\n\t\t}\n\n\t\t// Make the guard bars go down half the way of the text\n\t\t_this.guardHeight = options.height + _this.fontSize / 2 + options.textMargin;\n\t\treturn _this;\n\t}\n\n\t_createClass(UPCE, [{\n\t\tkey: 'valid',\n\t\tvalue: function valid() {\n\t\t\treturn this.isValid;\n\t\t}\n\t}, {\n\t\tkey: 'encode',\n\t\tvalue: function encode() {\n\t\t\tif (this.options.flat) {\n\t\t\t\treturn this.flatEncoding();\n\t\t\t} else {\n\t\t\t\treturn this.guardedEncoding();\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: 'flatEncoding',\n\t\tvalue: function flatEncoding() {\n\t\t\tvar result = \"\";\n\n\t\t\tresult += \"101\";\n\t\t\tresult += this.encodeMiddleDigits();\n\t\t\tresult += \"010101\";\n\n\t\t\treturn {\n\t\t\t\tdata: result,\n\t\t\t\ttext: this.text\n\t\t\t};\n\t\t}\n\t}, {\n\t\tkey: 'guardedEncoding',\n\t\tvalue: function guardedEncoding() {\n\t\t\tvar result = [];\n\n\t\t\t// Add the UPC-A number system digit beneath the quiet zone\n\t\t\tif (this.displayValue) {\n\t\t\t\tresult.push({\n\t\t\t\t\tdata: \"00000000\",\n\t\t\t\t\ttext: this.text[0],\n\t\t\t\t\toptions: { textAlign: \"left\", fontSize: this.fontSize }\n\t\t\t\t});\n\t\t\t}\n\n\t\t\t// Add the guard bars\n\t\t\tresult.push({\n\t\t\t\tdata: \"101\",\n\t\t\t\toptions: { height: this.guardHeight }\n\t\t\t});\n\n\t\t\t// Add the 6 UPC-E digits\n\t\t\tresult.push({\n\t\t\t\tdata: this.encodeMiddleDigits(),\n\t\t\t\ttext: this.text.substring(1, 7),\n\t\t\t\toptions: { fontSize: this.fontSize }\n\t\t\t});\n\n\t\t\t// Add the end bits\n\t\t\tresult.push({\n\t\t\t\tdata: \"010101\",\n\t\t\t\toptions: { height: this.guardHeight }\n\t\t\t});\n\n\t\t\t// Add the UPC-A check digit beneath the quiet zone\n\t\t\tif (this.displayValue) {\n\t\t\t\tresult.push({\n\t\t\t\t\tdata: \"00000000\",\n\t\t\t\t\ttext: this.text[7],\n\t\t\t\t\toptions: { textAlign: \"right\", fontSize: this.fontSize }\n\t\t\t\t});\n\t\t\t}\n\n\t\t\treturn result;\n\t\t}\n\t}, {\n\t\tkey: 'encodeMiddleDigits',\n\t\tvalue: function encodeMiddleDigits() {\n\t\t\tvar numberSystem = this.upcA[0];\n\t\t\tvar checkDigit = this.upcA[this.upcA.length - 1];\n\t\t\tvar parity = PARITIES[parseInt(checkDigit)][parseInt(numberSystem)];\n\t\t\treturn (0, _encoder2.default)(this.middleDigits, parity);\n\t\t}\n\t}]);\n\n\treturn UPCE;\n}(_Barcode3.default);\n\nfunction expandToUPCA(middleDigits, numberSystem) {\n\tvar lastUpcE = parseInt(middleDigits[middleDigits.length - 1]);\n\tvar expansion = EXPANSIONS[lastUpcE];\n\n\tvar result = \"\";\n\tvar digitIndex = 0;\n\tfor (var i = 0; i < expansion.length; i++) {\n\t\tvar c = expansion[i];\n\t\tif (c === 'X') {\n\t\t\tresult += middleDigits[digitIndex++];\n\t\t} else {\n\t\t\tresult += c;\n\t\t}\n\t}\n\n\tresult = '' + numberSystem + result;\n\treturn '' + result + (0, _UPC.checksum)(result);\n}\n\nexports.default = UPCE;\n\n/***/ }),\n/* 22 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.ITF14 = exports.ITF = undefined;\n\nvar _ITF = __webpack_require__(23);\n\nvar _ITF2 = _interopRequireDefault(_ITF);\n\nvar _ITF3 = __webpack_require__(25);\n\nvar _ITF4 = _interopRequireDefault(_ITF3);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.ITF = _ITF2.default;\nexports.ITF14 = _ITF4.default;\n\n/***/ }),\n/* 23 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _constants = __webpack_require__(24);\n\nvar _Barcode2 = __webpack_require__(3);\n\nvar _Barcode3 = _interopRequireDefault(_Barcode2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar ITF = function (_Barcode) {\n\t_inherits(ITF, _Barcode);\n\n\tfunction ITF() {\n\t\t_classCallCheck(this, ITF);\n\n\t\treturn _possibleConstructorReturn(this, (ITF.__proto__ || Object.getPrototypeOf(ITF)).apply(this, arguments));\n\t}\n\n\t_createClass(ITF, [{\n\t\tkey: 'valid',\n\t\tvalue: function valid() {\n\t\t\treturn this.data.search(/^([0-9]{2})+$/) !== -1;\n\t\t}\n\t}, {\n\t\tkey: 'encode',\n\t\tvalue: function encode() {\n\t\t\tvar _this2 = this;\n\n\t\t\t// Calculate all the digit pairs\n\t\t\tvar encoded = this.data.match(/.{2}/g).map(function (pair) {\n\t\t\t\treturn _this2.encodePair(pair);\n\t\t\t}).join('');\n\n\t\t\treturn {\n\t\t\t\tdata: _constants.START_BIN + encoded + _constants.END_BIN,\n\t\t\t\ttext: this.text\n\t\t\t};\n\t\t}\n\n\t\t// Calculate the data of a number pair\n\n\t}, {\n\t\tkey: 'encodePair',\n\t\tvalue: function encodePair(pair) {\n\t\t\tvar second = _constants.BINARIES[pair[1]];\n\n\t\t\treturn _constants.BINARIES[pair[0]].split('').map(function (first, idx) {\n\t\t\t\treturn (first === '1' ? '111' : '1') + (second[idx] === '1' ? '000' : '0');\n\t\t\t}).join('');\n\t\t}\n\t}]);\n\n\treturn ITF;\n}(_Barcode3.default);\n\nexports.default = ITF;\n\n/***/ }),\n/* 24 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nvar START_BIN = exports.START_BIN = '1010';\nvar END_BIN = exports.END_BIN = '11101';\n\nvar BINARIES = exports.BINARIES = ['00110', '10001', '01001', '11000', '00101', '10100', '01100', '00011', '10010', '01010'];\n\n/***/ }),\n/* 25 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _ITF2 = __webpack_require__(23);\n\nvar _ITF3 = _interopRequireDefault(_ITF2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\n// Calculate the checksum digit\nvar checksum = function checksum(data) {\n\tvar res = data.substr(0, 13).split('').map(function (num) {\n\t\treturn parseInt(num, 10);\n\t}).reduce(function (sum, n, idx) {\n\t\treturn sum + n * (3 - idx % 2 * 2);\n\t}, 0);\n\n\treturn Math.ceil(res / 10) * 10 - res;\n};\n\nvar ITF14 = function (_ITF) {\n\t_inherits(ITF14, _ITF);\n\n\tfunction ITF14(data, options) {\n\t\t_classCallCheck(this, ITF14);\n\n\t\t// Add checksum if it does not exist\n\t\tif (data.search(/^[0-9]{13}$/) !== -1) {\n\t\t\tdata += checksum(data);\n\t\t}\n\t\treturn _possibleConstructorReturn(this, (ITF14.__proto__ || Object.getPrototypeOf(ITF14)).call(this, data, options));\n\t}\n\n\t_createClass(ITF14, [{\n\t\tkey: 'valid',\n\t\tvalue: function valid() {\n\t\t\treturn this.data.search(/^[0-9]{14}$/) !== -1 && +this.data[13] === checksum(this.data);\n\t\t}\n\t}]);\n\n\treturn ITF14;\n}(_ITF3.default);\n\nexports.default = ITF14;\n\n/***/ }),\n/* 26 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\nexports.MSI1110 = exports.MSI1010 = exports.MSI11 = exports.MSI10 = exports.MSI = undefined;\n\nvar _MSI = __webpack_require__(27);\n\nvar _MSI2 = _interopRequireDefault(_MSI);\n\nvar _MSI3 = __webpack_require__(28);\n\nvar _MSI4 = _interopRequireDefault(_MSI3);\n\nvar _MSI5 = __webpack_require__(30);\n\nvar _MSI6 = _interopRequireDefault(_MSI5);\n\nvar _MSI7 = __webpack_require__(31);\n\nvar _MSI8 = _interopRequireDefault(_MSI7);\n\nvar _MSI9 = __webpack_require__(32);\n\nvar _MSI10 = _interopRequireDefault(_MSI9);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.MSI = _MSI2.default;\nexports.MSI10 = _MSI4.default;\nexports.MSI11 = _MSI6.default;\nexports.MSI1010 = _MSI8.default;\nexports.MSI1110 = _MSI10.default;\n\n/***/ }),\n/* 27 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _Barcode2 = __webpack_require__(3);\n\nvar _Barcode3 = _interopRequireDefault(_Barcode2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } // Encoding documentation\n// https://en.wikipedia.org/wiki/MSI_Barcode#Character_set_and_binary_lookup\n\nvar MSI = function (_Barcode) {\n\t_inherits(MSI, _Barcode);\n\n\tfunction MSI(data, options) {\n\t\t_classCallCheck(this, MSI);\n\n\t\treturn _possibleConstructorReturn(this, (MSI.__proto__ || Object.getPrototypeOf(MSI)).call(this, data, options));\n\t}\n\n\t_createClass(MSI, [{\n\t\tkey: \"encode\",\n\t\tvalue: function encode() {\n\t\t\t// Start bits\n\t\t\tvar ret = \"110\";\n\n\t\t\tfor (var i = 0; i < this.data.length; i++) {\n\t\t\t\t// Convert the character to binary (always 4 binary digits)\n\t\t\t\tvar digit = parseInt(this.data[i]);\n\t\t\t\tvar bin = digit.toString(2);\n\t\t\t\tbin = addZeroes(bin, 4 - bin.length);\n\n\t\t\t\t// Add 100 for every zero and 110 for every 1\n\t\t\t\tfor (var b = 0; b < bin.length; b++) {\n\t\t\t\t\tret += bin[b] == \"0\" ? \"100\" : \"110\";\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// End bits\n\t\t\tret += \"1001\";\n\n\t\t\treturn {\n\t\t\t\tdata: ret,\n\t\t\t\ttext: this.text\n\t\t\t};\n\t\t}\n\t}, {\n\t\tkey: \"valid\",\n\t\tvalue: function valid() {\n\t\t\treturn this.data.search(/^[0-9]+$/) !== -1;\n\t\t}\n\t}]);\n\n\treturn MSI;\n}(_Barcode3.default);\n\nfunction addZeroes(number, n) {\n\tfor (var i = 0; i < n; i++) {\n\t\tnumber = \"0\" + number;\n\t}\n\treturn number;\n}\n\nexports.default = MSI;\n\n/***/ }),\n/* 28 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _MSI2 = __webpack_require__(27);\n\nvar _MSI3 = _interopRequireDefault(_MSI2);\n\nvar _checksums = __webpack_require__(29);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar MSI10 = function (_MSI) {\n\t_inherits(MSI10, _MSI);\n\n\tfunction MSI10(data, options) {\n\t\t_classCallCheck(this, MSI10);\n\n\t\treturn _possibleConstructorReturn(this, (MSI10.__proto__ || Object.getPrototypeOf(MSI10)).call(this, data + (0, _checksums.mod10)(data), options));\n\t}\n\n\treturn MSI10;\n}(_MSI3.default);\n\nexports.default = MSI10;\n\n/***/ }),\n/* 29 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nexports.mod10 = mod10;\nexports.mod11 = mod11;\nfunction mod10(number) {\n\tvar sum = 0;\n\tfor (var i = 0; i < number.length; i++) {\n\t\tvar n = parseInt(number[i]);\n\t\tif ((i + number.length) % 2 === 0) {\n\t\t\tsum += n;\n\t\t} else {\n\t\t\tsum += n * 2 % 10 + Math.floor(n * 2 / 10);\n\t\t}\n\t}\n\treturn (10 - sum % 10) % 10;\n}\n\nfunction mod11(number) {\n\tvar sum = 0;\n\tvar weights = [2, 3, 4, 5, 6, 7];\n\tfor (var i = 0; i < number.length; i++) {\n\t\tvar n = parseInt(number[number.length - 1 - i]);\n\t\tsum += weights[i % weights.length] * n;\n\t}\n\treturn (11 - sum % 11) % 11;\n}\n\n/***/ }),\n/* 30 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _MSI2 = __webpack_require__(27);\n\nvar _MSI3 = _interopRequireDefault(_MSI2);\n\nvar _checksums = __webpack_require__(29);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar MSI11 = function (_MSI) {\n\t_inherits(MSI11, _MSI);\n\n\tfunction MSI11(data, options) {\n\t\t_classCallCheck(this, MSI11);\n\n\t\treturn _possibleConstructorReturn(this, (MSI11.__proto__ || Object.getPrototypeOf(MSI11)).call(this, data + (0, _checksums.mod11)(data), options));\n\t}\n\n\treturn MSI11;\n}(_MSI3.default);\n\nexports.default = MSI11;\n\n/***/ }),\n/* 31 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _MSI2 = __webpack_require__(27);\n\nvar _MSI3 = _interopRequireDefault(_MSI2);\n\nvar _checksums = __webpack_require__(29);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar MSI1010 = function (_MSI) {\n\t_inherits(MSI1010, _MSI);\n\n\tfunction MSI1010(data, options) {\n\t\t_classCallCheck(this, MSI1010);\n\n\t\tdata += (0, _checksums.mod10)(data);\n\t\tdata += (0, _checksums.mod10)(data);\n\t\treturn _possibleConstructorReturn(this, (MSI1010.__proto__ || Object.getPrototypeOf(MSI1010)).call(this, data, options));\n\t}\n\n\treturn MSI1010;\n}(_MSI3.default);\n\nexports.default = MSI1010;\n\n/***/ }),\n/* 32 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _MSI2 = __webpack_require__(27);\n\nvar _MSI3 = _interopRequireDefault(_MSI2);\n\nvar _checksums = __webpack_require__(29);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar MSI1110 = function (_MSI) {\n\t_inherits(MSI1110, _MSI);\n\n\tfunction MSI1110(data, options) {\n\t\t_classCallCheck(this, MSI1110);\n\n\t\tdata += (0, _checksums.mod11)(data);\n\t\tdata += (0, _checksums.mod10)(data);\n\t\treturn _possibleConstructorReturn(this, (MSI1110.__proto__ || Object.getPrototypeOf(MSI1110)).call(this, data, options));\n\t}\n\n\treturn MSI1110;\n}(_MSI3.default);\n\nexports.default = MSI1110;\n\n/***/ }),\n/* 33 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nexports.pharmacode = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _Barcode2 = __webpack_require__(3);\n\nvar _Barcode3 = _interopRequireDefault(_Barcode2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } // Encoding documentation\n// http://www.gomaro.ch/ftproot/Laetus_PHARMA-CODE.pdf\n\nvar pharmacode = function (_Barcode) {\n\t_inherits(pharmacode, _Barcode);\n\n\tfunction pharmacode(data, options) {\n\t\t_classCallCheck(this, pharmacode);\n\n\t\tvar _this = _possibleConstructorReturn(this, (pharmacode.__proto__ || Object.getPrototypeOf(pharmacode)).call(this, data, options));\n\n\t\t_this.number = parseInt(data, 10);\n\t\treturn _this;\n\t}\n\n\t_createClass(pharmacode, [{\n\t\tkey: \"encode\",\n\t\tvalue: function encode() {\n\t\t\tvar z = this.number;\n\t\t\tvar result = \"\";\n\n\t\t\t// http://i.imgur.com/RMm4UDJ.png\n\t\t\t// (source: http://www.gomaro.ch/ftproot/Laetus_PHARMA-CODE.pdf, page: 34)\n\t\t\twhile (!isNaN(z) && z != 0) {\n\t\t\t\tif (z % 2 === 0) {\n\t\t\t\t\t// Even\n\t\t\t\t\tresult = \"11100\" + result;\n\t\t\t\t\tz = (z - 2) / 2;\n\t\t\t\t} else {\n\t\t\t\t\t// Odd\n\t\t\t\t\tresult = \"100\" + result;\n\t\t\t\t\tz = (z - 1) / 2;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Remove the two last zeroes\n\t\t\tresult = result.slice(0, -2);\n\n\t\t\treturn {\n\t\t\t\tdata: result,\n\t\t\t\ttext: this.text\n\t\t\t};\n\t\t}\n\t}, {\n\t\tkey: \"valid\",\n\t\tvalue: function valid() {\n\t\t\treturn this.number >= 3 && this.number <= 131070;\n\t\t}\n\t}]);\n\n\treturn pharmacode;\n}(_Barcode3.default);\n\nexports.pharmacode = pharmacode;\n\n/***/ }),\n/* 34 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nexports.codabar = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _Barcode2 = __webpack_require__(3);\n\nvar _Barcode3 = _interopRequireDefault(_Barcode2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; } // Encoding specification:\n// http://www.barcodeisland.com/codabar.phtml\n\nvar codabar = function (_Barcode) {\n\t_inherits(codabar, _Barcode);\n\n\tfunction codabar(data, options) {\n\t\t_classCallCheck(this, codabar);\n\n\t\tif (data.search(/^[0-9\\-\\$\\:\\.\\+\\/]+$/) === 0) {\n\t\t\tdata = \"A\" + data + \"A\";\n\t\t}\n\n\t\tvar _this = _possibleConstructorReturn(this, (codabar.__proto__ || Object.getPrototypeOf(codabar)).call(this, data.toUpperCase(), options));\n\n\t\t_this.text = _this.options.text || _this.text.replace(/[A-D]/g, '');\n\t\treturn _this;\n\t}\n\n\t_createClass(codabar, [{\n\t\tkey: \"valid\",\n\t\tvalue: function valid() {\n\t\t\treturn this.data.search(/^[A-D][0-9\\-\\$\\:\\.\\+\\/]+[A-D]$/) !== -1;\n\t\t}\n\t}, {\n\t\tkey: \"encode\",\n\t\tvalue: function encode() {\n\t\t\tvar result = [];\n\t\t\tvar encodings = this.getEncodings();\n\t\t\tfor (var i = 0; i < this.data.length; i++) {\n\t\t\t\tresult.push(encodings[this.data.charAt(i)]);\n\t\t\t\t// for all characters except the last, append a narrow-space (\"0\")\n\t\t\t\tif (i !== this.data.length - 1) {\n\t\t\t\t\tresult.push(\"0\");\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn {\n\t\t\t\ttext: this.text,\n\t\t\t\tdata: result.join('')\n\t\t\t};\n\t\t}\n\t}, {\n\t\tkey: \"getEncodings\",\n\t\tvalue: function getEncodings() {\n\t\t\treturn {\n\t\t\t\t\"0\": \"101010011\",\n\t\t\t\t\"1\": \"101011001\",\n\t\t\t\t\"2\": \"101001011\",\n\t\t\t\t\"3\": \"110010101\",\n\t\t\t\t\"4\": \"101101001\",\n\t\t\t\t\"5\": \"110101001\",\n\t\t\t\t\"6\": \"100101011\",\n\t\t\t\t\"7\": \"100101101\",\n\t\t\t\t\"8\": \"100110101\",\n\t\t\t\t\"9\": \"110100101\",\n\t\t\t\t\"-\": \"101001101\",\n\t\t\t\t\"$\": \"101100101\",\n\t\t\t\t\":\": \"1101011011\",\n\t\t\t\t\"/\": \"1101101011\",\n\t\t\t\t\".\": \"1101101101\",\n\t\t\t\t\"+\": \"1011011011\",\n\t\t\t\t\"A\": \"1011001001\",\n\t\t\t\t\"B\": \"1001001011\",\n\t\t\t\t\"C\": \"1010010011\",\n\t\t\t\t\"D\": \"1010011001\"\n\t\t\t};\n\t\t}\n\t}]);\n\n\treturn codabar;\n}(_Barcode3.default);\n\nexports.codabar = codabar;\n\n/***/ }),\n/* 35 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nexports.GenericBarcode = undefined;\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _Barcode2 = __webpack_require__(3);\n\nvar _Barcode3 = _interopRequireDefault(_Barcode2);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar GenericBarcode = function (_Barcode) {\n\t_inherits(GenericBarcode, _Barcode);\n\n\tfunction GenericBarcode(data, options) {\n\t\t_classCallCheck(this, GenericBarcode);\n\n\t\treturn _possibleConstructorReturn(this, (GenericBarcode.__proto__ || Object.getPrototypeOf(GenericBarcode)).call(this, data, options)); // Sets this.data and this.text\n\t}\n\n\t// Return the corresponding binary numbers for the data provided\n\n\n\t_createClass(GenericBarcode, [{\n\t\tkey: \"encode\",\n\t\tvalue: function encode() {\n\t\t\treturn {\n\t\t\t\tdata: \"10101010101010101010101010101010101010101\",\n\t\t\t\ttext: this.text\n\t\t\t};\n\t\t}\n\n\t\t// Resturn true/false if the string provided is valid for this encoder\n\n\t}, {\n\t\tkey: \"valid\",\n\t\tvalue: function valid() {\n\t\t\treturn true;\n\t\t}\n\t}]);\n\n\treturn GenericBarcode;\n}(_Barcode3.default);\n\nexports.GenericBarcode = GenericBarcode;\n\n/***/ }),\n/* 36 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; };\n\nexports.default = function (old, replaceObj) {\n  return _extends({}, old, replaceObj);\n};\n\n/***/ }),\n/* 37 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nexports.default = linearizeEncodings;\n\n// Encodings can be nestled like [[1-1, 1-2], 2, [3-1, 3-2]\n// Convert to [1-1, 1-2, 2, 3-1, 3-2]\n\nfunction linearizeEncodings(encodings) {\n\tvar linearEncodings = [];\n\tfunction nextLevel(encoded) {\n\t\tif (Array.isArray(encoded)) {\n\t\t\tfor (var i = 0; i < encoded.length; i++) {\n\t\t\t\tnextLevel(encoded[i]);\n\t\t\t}\n\t\t} else {\n\t\t\tencoded.text = encoded.text || \"\";\n\t\t\tencoded.data = encoded.data || \"\";\n\t\t\tlinearEncodings.push(encoded);\n\t\t}\n\t}\n\tnextLevel(encodings);\n\n\treturn linearEncodings;\n}\n\n/***/ }),\n/* 38 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nexports.default = fixOptions;\n\n\nfunction fixOptions(options) {\n\t// Fix the margins\n\toptions.marginTop = options.marginTop || options.margin;\n\toptions.marginBottom = options.marginBottom || options.margin;\n\toptions.marginRight = options.marginRight || options.margin;\n\toptions.marginLeft = options.marginLeft || options.margin;\n\n\treturn options;\n}\n\n/***/ }),\n/* 39 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: 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 && obj !== Symbol.prototype ? \"symbol\" : typeof obj; }; /* global HTMLImageElement */\n/* global HTMLCanvasElement */\n/* global SVGElement */\n\nvar _getOptionsFromElement = __webpack_require__(40);\n\nvar _getOptionsFromElement2 = _interopRequireDefault(_getOptionsFromElement);\n\nvar _renderers = __webpack_require__(43);\n\nvar _renderers2 = _interopRequireDefault(_renderers);\n\nvar _exceptions = __webpack_require__(48);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\n// Takes an element and returns an object with information about how\n// it should be rendered\n// This could also return an array with these objects\n// {\n//   element: The element that the renderer should draw on\n//   renderer: The name of the renderer\n//   afterRender (optional): If something has to done after the renderer\n//     completed, calls afterRender (function)\n//   options (optional): Options that can be defined in the element\n// }\n\nfunction getRenderProperties(element) {\n\t// If the element is a string, query select call again\n\tif (typeof element === \"string\") {\n\t\treturn querySelectedRenderProperties(element);\n\t}\n\t// If element is array. Recursivly call with every object in the array\n\telse if (Array.isArray(element)) {\n\t\t\tvar returnArray = [];\n\t\t\tfor (var i = 0; i < element.length; i++) {\n\t\t\t\treturnArray.push(getRenderProperties(element[i]));\n\t\t\t}\n\t\t\treturn returnArray;\n\t\t}\n\t\t// If element, render on canvas and set the uri as src\n\t\telse if (typeof HTMLCanvasElement !== 'undefined' && element instanceof HTMLImageElement) {\n\t\t\t\treturn newCanvasRenderProperties(element);\n\t\t\t}\n\t\t\t// If SVG\n\t\t\telse if (element && element.nodeName && element.nodeName.toLowerCase() === 'svg' || typeof SVGElement !== 'undefined' && element instanceof SVGElement) {\n\t\t\t\t\treturn {\n\t\t\t\t\t\telement: element,\n\t\t\t\t\t\toptions: (0, _getOptionsFromElement2.default)(element),\n\t\t\t\t\t\trenderer: _renderers2.default.SVGRenderer\n\t\t\t\t\t};\n\t\t\t\t}\n\t\t\t\t// If canvas (in browser)\n\t\t\t\telse if (typeof HTMLCanvasElement !== 'undefined' && element instanceof HTMLCanvasElement) {\n\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\telement: element,\n\t\t\t\t\t\t\toptions: (0, _getOptionsFromElement2.default)(element),\n\t\t\t\t\t\t\trenderer: _renderers2.default.CanvasRenderer\n\t\t\t\t\t\t};\n\t\t\t\t\t}\n\t\t\t\t\t// If canvas (in node)\n\t\t\t\t\telse if (element && element.getContext) {\n\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\telement: element,\n\t\t\t\t\t\t\t\trenderer: _renderers2.default.CanvasRenderer\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t} else if (element && (typeof element === \"undefined\" ? \"undefined\" : _typeof(element)) === 'object' && !element.nodeName) {\n\t\t\t\t\t\t\treturn {\n\t\t\t\t\t\t\t\telement: element,\n\t\t\t\t\t\t\t\trenderer: _renderers2.default.ObjectRenderer\n\t\t\t\t\t\t\t};\n\t\t\t\t\t\t} else {\n\t\t\t\t\t\t\tthrow new _exceptions.InvalidElementException();\n\t\t\t\t\t\t}\n}\n\nfunction querySelectedRenderProperties(string) {\n\tvar selector = document.querySelectorAll(string);\n\tif (selector.length === 0) {\n\t\treturn undefined;\n\t} else {\n\t\tvar returnArray = [];\n\t\tfor (var i = 0; i < selector.length; i++) {\n\t\t\treturnArray.push(getRenderProperties(selector[i]));\n\t\t}\n\t\treturn returnArray;\n\t}\n}\n\nfunction newCanvasRenderProperties(imgElement) {\n\tvar canvas = document.createElement('canvas');\n\treturn {\n\t\telement: canvas,\n\t\toptions: (0, _getOptionsFromElement2.default)(imgElement),\n\t\trenderer: _renderers2.default.CanvasRenderer,\n\t\tafterRender: function afterRender() {\n\t\t\timgElement.setAttribute(\"src\", canvas.toDataURL());\n\t\t}\n\t};\n}\n\nexports.default = getRenderProperties;\n\n/***/ }),\n/* 40 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _optionsFromStrings = __webpack_require__(41);\n\nvar _optionsFromStrings2 = _interopRequireDefault(_optionsFromStrings);\n\nvar _defaults = __webpack_require__(42);\n\nvar _defaults2 = _interopRequireDefault(_defaults);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction getOptionsFromElement(element) {\n\tvar options = {};\n\tfor (var property in _defaults2.default) {\n\t\tif (_defaults2.default.hasOwnProperty(property)) {\n\t\t\t// jsbarcode-*\n\t\t\tif (element.hasAttribute(\"jsbarcode-\" + property.toLowerCase())) {\n\t\t\t\toptions[property] = element.getAttribute(\"jsbarcode-\" + property.toLowerCase());\n\t\t\t}\n\n\t\t\t// data-*\n\t\t\tif (element.hasAttribute(\"data-\" + property.toLowerCase())) {\n\t\t\t\toptions[property] = element.getAttribute(\"data-\" + property.toLowerCase());\n\t\t\t}\n\t\t}\n\t}\n\n\toptions[\"value\"] = element.getAttribute(\"jsbarcode-value\") || element.getAttribute(\"data-value\");\n\n\t// Since all atributes are string they need to be converted to integers\n\toptions = (0, _optionsFromStrings2.default)(options);\n\n\treturn options;\n}\n\nexports.default = getOptionsFromElement;\n\n/***/ }),\n/* 41 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nexports.default = optionsFromStrings;\n\n// Convert string to integers/booleans where it should be\n\nfunction optionsFromStrings(options) {\n\tvar intOptions = [\"width\", \"height\", \"textMargin\", \"fontSize\", \"margin\", \"marginTop\", \"marginBottom\", \"marginLeft\", \"marginRight\"];\n\n\tfor (var intOption in intOptions) {\n\t\tif (intOptions.hasOwnProperty(intOption)) {\n\t\t\tintOption = intOptions[intOption];\n\t\t\tif (typeof options[intOption] === \"string\") {\n\t\t\t\toptions[intOption] = parseInt(options[intOption], 10);\n\t\t\t}\n\t\t}\n\t}\n\n\tif (typeof options[\"displayValue\"] === \"string\") {\n\t\toptions[\"displayValue\"] = options[\"displayValue\"] != \"false\";\n\t}\n\n\treturn options;\n}\n\n/***/ }),\n/* 42 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nvar defaults = {\n\twidth: 2,\n\theight: 100,\n\tformat: \"auto\",\n\tdisplayValue: true,\n\tfontOptions: \"\",\n\tfont: \"monospace\",\n\ttext: undefined,\n\ttextAlign: \"center\",\n\ttextPosition: \"bottom\",\n\ttextMargin: 2,\n\tfontSize: 20,\n\tbackground: \"#ffffff\",\n\tlineColor: \"#000000\",\n\tmargin: 10,\n\tmarginTop: undefined,\n\tmarginBottom: undefined,\n\tmarginLeft: undefined,\n\tmarginRight: undefined,\n\tvalid: function valid() {}\n};\n\nexports.default = defaults;\n\n/***/ }),\n/* 43 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n  value: true\n});\n\nvar _canvas = __webpack_require__(44);\n\nvar _canvas2 = _interopRequireDefault(_canvas);\n\nvar _svg = __webpack_require__(46);\n\nvar _svg2 = _interopRequireDefault(_svg);\n\nvar _object = __webpack_require__(47);\n\nvar _object2 = _interopRequireDefault(_object);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nexports.default = { CanvasRenderer: _canvas2.default, SVGRenderer: _svg2.default, ObjectRenderer: _object2.default };\n\n/***/ }),\n/* 44 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _merge = __webpack_require__(36);\n\nvar _merge2 = _interopRequireDefault(_merge);\n\nvar _shared = __webpack_require__(45);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar CanvasRenderer = function () {\n\tfunction CanvasRenderer(canvas, encodings, options) {\n\t\t_classCallCheck(this, CanvasRenderer);\n\n\t\tthis.canvas = canvas;\n\t\tthis.encodings = encodings;\n\t\tthis.options = options;\n\t}\n\n\t_createClass(CanvasRenderer, [{\n\t\tkey: \"render\",\n\t\tvalue: function render() {\n\t\t\t// Abort if the browser does not support HTML5 canvas\n\t\t\tif (!this.canvas.getContext) {\n\t\t\t\tthrow new Error('The browser does not support canvas.');\n\t\t\t}\n\n\t\t\tthis.prepareCanvas();\n\t\t\tfor (var i = 0; i < this.encodings.length; i++) {\n\t\t\t\tvar encodingOptions = (0, _merge2.default)(this.options, this.encodings[i].options);\n\n\t\t\t\tthis.drawCanvasBarcode(encodingOptions, this.encodings[i]);\n\t\t\t\tthis.drawCanvasText(encodingOptions, this.encodings[i]);\n\n\t\t\t\tthis.moveCanvasDrawing(this.encodings[i]);\n\t\t\t}\n\n\t\t\tthis.restoreCanvas();\n\t\t}\n\t}, {\n\t\tkey: \"prepareCanvas\",\n\t\tvalue: function prepareCanvas() {\n\t\t\t// Get the canvas context\n\t\t\tvar ctx = this.canvas.getContext(\"2d\");\n\n\t\t\tctx.save();\n\n\t\t\t(0, _shared.calculateEncodingAttributes)(this.encodings, this.options, ctx);\n\t\t\tvar totalWidth = (0, _shared.getTotalWidthOfEncodings)(this.encodings);\n\t\t\tvar maxHeight = (0, _shared.getMaximumHeightOfEncodings)(this.encodings);\n\n\t\t\tthis.canvas.width = totalWidth + this.options.marginLeft + this.options.marginRight;\n\n\t\t\tthis.canvas.height = maxHeight;\n\n\t\t\t// Paint the canvas\n\t\t\tctx.clearRect(0, 0, this.canvas.width, this.canvas.height);\n\t\t\tif (this.options.background) {\n\t\t\t\tctx.fillStyle = this.options.background;\n\t\t\t\tctx.fillRect(0, 0, this.canvas.width, this.canvas.height);\n\t\t\t}\n\n\t\t\tctx.translate(this.options.marginLeft, 0);\n\t\t}\n\t}, {\n\t\tkey: \"drawCanvasBarcode\",\n\t\tvalue: function drawCanvasBarcode(options, encoding) {\n\t\t\t// Get the canvas context\n\t\t\tvar ctx = this.canvas.getContext(\"2d\");\n\n\t\t\tvar binary = encoding.data;\n\n\t\t\t// Creates the barcode out of the encoded binary\n\t\t\tvar yFrom;\n\t\t\tif (options.textPosition == \"top\") {\n\t\t\t\tyFrom = options.marginTop + options.fontSize + options.textMargin;\n\t\t\t} else {\n\t\t\t\tyFrom = options.marginTop;\n\t\t\t}\n\n\t\t\tctx.fillStyle = options.lineColor;\n\n\t\t\tfor (var b = 0; b < binary.length; b++) {\n\t\t\t\tvar x = b * options.width + encoding.barcodePadding;\n\n\t\t\t\tif (binary[b] === \"1\") {\n\t\t\t\t\tctx.fillRect(x, yFrom, options.width, options.height);\n\t\t\t\t} else if (binary[b]) {\n\t\t\t\t\tctx.fillRect(x, yFrom, options.width, options.height * binary[b]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: \"drawCanvasText\",\n\t\tvalue: function drawCanvasText(options, encoding) {\n\t\t\t// Get the canvas context\n\t\t\tvar ctx = this.canvas.getContext(\"2d\");\n\n\t\t\tvar font = options.fontOptions + \" \" + options.fontSize + \"px \" + options.font;\n\n\t\t\t// Draw the text if displayValue is set\n\t\t\tif (options.displayValue) {\n\t\t\t\tvar x, y;\n\n\t\t\t\tif (options.textPosition == \"top\") {\n\t\t\t\t\ty = options.marginTop + options.fontSize - options.textMargin;\n\t\t\t\t} else {\n\t\t\t\t\ty = options.height + options.textMargin + options.marginTop + options.fontSize;\n\t\t\t\t}\n\n\t\t\t\tctx.font = font;\n\n\t\t\t\t// Draw the text in the correct X depending on the textAlign option\n\t\t\t\tif (options.textAlign == \"left\" || encoding.barcodePadding > 0) {\n\t\t\t\t\tx = 0;\n\t\t\t\t\tctx.textAlign = 'left';\n\t\t\t\t} else if (options.textAlign == \"right\") {\n\t\t\t\t\tx = encoding.width - 1;\n\t\t\t\t\tctx.textAlign = 'right';\n\t\t\t\t}\n\t\t\t\t// In all other cases, center the text\n\t\t\t\telse {\n\t\t\t\t\t\tx = encoding.width / 2;\n\t\t\t\t\t\tctx.textAlign = 'center';\n\t\t\t\t\t}\n\n\t\t\t\tctx.fillText(encoding.text, x, y);\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: \"moveCanvasDrawing\",\n\t\tvalue: function moveCanvasDrawing(encoding) {\n\t\t\tvar ctx = this.canvas.getContext(\"2d\");\n\n\t\t\tctx.translate(encoding.width, 0);\n\t\t}\n\t}, {\n\t\tkey: \"restoreCanvas\",\n\t\tvalue: function restoreCanvas() {\n\t\t\t// Get the canvas context\n\t\t\tvar ctx = this.canvas.getContext(\"2d\");\n\n\t\t\tctx.restore();\n\t\t}\n\t}]);\n\n\treturn CanvasRenderer;\n}();\n\nexports.default = CanvasRenderer;\n\n/***/ }),\n/* 45 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\nexports.getTotalWidthOfEncodings = exports.calculateEncodingAttributes = exports.getBarcodePadding = exports.getEncodingHeight = exports.getMaximumHeightOfEncodings = undefined;\n\nvar _merge = __webpack_require__(36);\n\nvar _merge2 = _interopRequireDefault(_merge);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction getEncodingHeight(encoding, options) {\n\treturn options.height + (options.displayValue && encoding.text.length > 0 ? options.fontSize + options.textMargin : 0) + options.marginTop + options.marginBottom;\n}\n\nfunction getBarcodePadding(textWidth, barcodeWidth, options) {\n\tif (options.displayValue && barcodeWidth < textWidth) {\n\t\tif (options.textAlign == \"center\") {\n\t\t\treturn Math.floor((textWidth - barcodeWidth) / 2);\n\t\t} else if (options.textAlign == \"left\") {\n\t\t\treturn 0;\n\t\t} else if (options.textAlign == \"right\") {\n\t\t\treturn Math.floor(textWidth - barcodeWidth);\n\t\t}\n\t}\n\treturn 0;\n}\n\nfunction calculateEncodingAttributes(encodings, barcodeOptions, context) {\n\tfor (var i = 0; i < encodings.length; i++) {\n\t\tvar encoding = encodings[i];\n\t\tvar options = (0, _merge2.default)(barcodeOptions, encoding.options);\n\n\t\t// Calculate the width of the encoding\n\t\tvar textWidth;\n\t\tif (options.displayValue) {\n\t\t\ttextWidth = messureText(encoding.text, options, context);\n\t\t} else {\n\t\t\ttextWidth = 0;\n\t\t}\n\n\t\tvar barcodeWidth = encoding.data.length * options.width;\n\t\tencoding.width = Math.ceil(Math.max(textWidth, barcodeWidth));\n\n\t\tencoding.height = getEncodingHeight(encoding, options);\n\n\t\tencoding.barcodePadding = getBarcodePadding(textWidth, barcodeWidth, options);\n\t}\n}\n\nfunction getTotalWidthOfEncodings(encodings) {\n\tvar totalWidth = 0;\n\tfor (var i = 0; i < encodings.length; i++) {\n\t\ttotalWidth += encodings[i].width;\n\t}\n\treturn totalWidth;\n}\n\nfunction getMaximumHeightOfEncodings(encodings) {\n\tvar maxHeight = 0;\n\tfor (var i = 0; i < encodings.length; i++) {\n\t\tif (encodings[i].height > maxHeight) {\n\t\t\tmaxHeight = encodings[i].height;\n\t\t}\n\t}\n\treturn maxHeight;\n}\n\nfunction messureText(string, options, context) {\n\tvar ctx;\n\n\tif (context) {\n\t\tctx = context;\n\t} else if (typeof document !== \"undefined\") {\n\t\tctx = document.createElement(\"canvas\").getContext(\"2d\");\n\t} else {\n\t\t// If the text cannot be messured we will return 0.\n\t\t// This will make some barcode with big text render incorrectly\n\t\treturn 0;\n\t}\n\tctx.font = options.fontOptions + \" \" + options.fontSize + \"px \" + options.font;\n\n\t// Calculate the width of the encoding\n\tvar measureTextResult = ctx.measureText(string);\n\tif (!measureTextResult) {\n\t\t// Some implementations don't implement measureText and return undefined.\n\t\t// If the text cannot be measured we will return 0.\n\t\t// This will make some barcode with big text render incorrectly\n\t\treturn 0;\n\t}\n\tvar size = measureTextResult.width;\n\treturn size;\n}\n\nexports.getMaximumHeightOfEncodings = getMaximumHeightOfEncodings;\nexports.getEncodingHeight = getEncodingHeight;\nexports.getBarcodePadding = getBarcodePadding;\nexports.calculateEncodingAttributes = calculateEncodingAttributes;\nexports.getTotalWidthOfEncodings = getTotalWidthOfEncodings;\n\n/***/ }),\n/* 46 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nvar _merge = __webpack_require__(36);\n\nvar _merge2 = _interopRequireDefault(_merge);\n\nvar _shared = __webpack_require__(45);\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar svgns = \"http://www.w3.org/2000/svg\";\n\nvar SVGRenderer = function () {\n\tfunction SVGRenderer(svg, encodings, options) {\n\t\t_classCallCheck(this, SVGRenderer);\n\n\t\tthis.svg = svg;\n\t\tthis.encodings = encodings;\n\t\tthis.options = options;\n\t\tthis.document = options.xmlDocument || document;\n\t}\n\n\t_createClass(SVGRenderer, [{\n\t\tkey: \"render\",\n\t\tvalue: function render() {\n\t\t\tvar currentX = this.options.marginLeft;\n\n\t\t\tthis.prepareSVG();\n\t\t\tfor (var i = 0; i < this.encodings.length; i++) {\n\t\t\t\tvar encoding = this.encodings[i];\n\t\t\t\tvar encodingOptions = (0, _merge2.default)(this.options, encoding.options);\n\n\t\t\t\tvar group = this.createGroup(currentX, encodingOptions.marginTop, this.svg);\n\n\t\t\t\tthis.setGroupOptions(group, encodingOptions);\n\n\t\t\t\tthis.drawSvgBarcode(group, encodingOptions, encoding);\n\t\t\t\tthis.drawSVGText(group, encodingOptions, encoding);\n\n\t\t\t\tcurrentX += encoding.width;\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: \"prepareSVG\",\n\t\tvalue: function prepareSVG() {\n\t\t\t// Clear the SVG\n\t\t\twhile (this.svg.firstChild) {\n\t\t\t\tthis.svg.removeChild(this.svg.firstChild);\n\t\t\t}\n\n\t\t\t(0, _shared.calculateEncodingAttributes)(this.encodings, this.options);\n\t\t\tvar totalWidth = (0, _shared.getTotalWidthOfEncodings)(this.encodings);\n\t\t\tvar maxHeight = (0, _shared.getMaximumHeightOfEncodings)(this.encodings);\n\n\t\t\tvar width = totalWidth + this.options.marginLeft + this.options.marginRight;\n\t\t\tthis.setSvgAttributes(width, maxHeight);\n\n\t\t\tif (this.options.background) {\n\t\t\t\tthis.drawRect(0, 0, width, maxHeight, this.svg).setAttribute(\"style\", \"fill:\" + this.options.background + \";\");\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: \"drawSvgBarcode\",\n\t\tvalue: function drawSvgBarcode(parent, options, encoding) {\n\t\t\tvar binary = encoding.data;\n\n\t\t\t// Creates the barcode out of the encoded binary\n\t\t\tvar yFrom;\n\t\t\tif (options.textPosition == \"top\") {\n\t\t\t\tyFrom = options.fontSize + options.textMargin;\n\t\t\t} else {\n\t\t\t\tyFrom = 0;\n\t\t\t}\n\n\t\t\tvar barWidth = 0;\n\t\t\tvar x = 0;\n\t\t\tfor (var b = 0; b < binary.length; b++) {\n\t\t\t\tx = b * options.width + encoding.barcodePadding;\n\n\t\t\t\tif (binary[b] === \"1\") {\n\t\t\t\t\tbarWidth++;\n\t\t\t\t} else if (barWidth > 0) {\n\t\t\t\t\tthis.drawRect(x - options.width * barWidth, yFrom, options.width * barWidth, options.height, parent);\n\t\t\t\t\tbarWidth = 0;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// Last draw is needed since the barcode ends with 1\n\t\t\tif (barWidth > 0) {\n\t\t\t\tthis.drawRect(x - options.width * (barWidth - 1), yFrom, options.width * barWidth, options.height, parent);\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: \"drawSVGText\",\n\t\tvalue: function drawSVGText(parent, options, encoding) {\n\t\t\tvar textElem = this.document.createElementNS(svgns, 'text');\n\n\t\t\t// Draw the text if displayValue is set\n\t\t\tif (options.displayValue) {\n\t\t\t\tvar x, y;\n\n\t\t\t\ttextElem.setAttribute(\"style\", \"font:\" + options.fontOptions + \" \" + options.fontSize + \"px \" + options.font);\n\n\t\t\t\tif (options.textPosition == \"top\") {\n\t\t\t\t\ty = options.fontSize - options.textMargin;\n\t\t\t\t} else {\n\t\t\t\t\ty = options.height + options.textMargin + options.fontSize;\n\t\t\t\t}\n\n\t\t\t\t// Draw the text in the correct X depending on the textAlign option\n\t\t\t\tif (options.textAlign == \"left\" || encoding.barcodePadding > 0) {\n\t\t\t\t\tx = 0;\n\t\t\t\t\ttextElem.setAttribute(\"text-anchor\", \"start\");\n\t\t\t\t} else if (options.textAlign == \"right\") {\n\t\t\t\t\tx = encoding.width - 1;\n\t\t\t\t\ttextElem.setAttribute(\"text-anchor\", \"end\");\n\t\t\t\t}\n\t\t\t\t// In all other cases, center the text\n\t\t\t\telse {\n\t\t\t\t\t\tx = encoding.width / 2;\n\t\t\t\t\t\ttextElem.setAttribute(\"text-anchor\", \"middle\");\n\t\t\t\t\t}\n\n\t\t\t\ttextElem.setAttribute(\"x\", x);\n\t\t\t\ttextElem.setAttribute(\"y\", y);\n\n\t\t\t\ttextElem.appendChild(this.document.createTextNode(encoding.text));\n\n\t\t\t\tparent.appendChild(textElem);\n\t\t\t}\n\t\t}\n\t}, {\n\t\tkey: \"setSvgAttributes\",\n\t\tvalue: function setSvgAttributes(width, height) {\n\t\t\tvar svg = this.svg;\n\t\t\tsvg.setAttribute(\"width\", width + \"px\");\n\t\t\tsvg.setAttribute(\"height\", height + \"px\");\n\t\t\tsvg.setAttribute(\"x\", \"0px\");\n\t\t\tsvg.setAttribute(\"y\", \"0px\");\n\t\t\tsvg.setAttribute(\"viewBox\", \"0 0 \" + width + \" \" + height);\n\n\t\t\tsvg.setAttribute(\"xmlns\", svgns);\n\t\t\tsvg.setAttribute(\"version\", \"1.1\");\n\n\t\t\tsvg.setAttribute(\"style\", \"transform: translate(0,0)\");\n\t\t}\n\t}, {\n\t\tkey: \"createGroup\",\n\t\tvalue: function createGroup(x, y, parent) {\n\t\t\tvar group = this.document.createElementNS(svgns, 'g');\n\t\t\tgroup.setAttribute(\"transform\", \"translate(\" + x + \", \" + y + \")\");\n\n\t\t\tparent.appendChild(group);\n\n\t\t\treturn group;\n\t\t}\n\t}, {\n\t\tkey: \"setGroupOptions\",\n\t\tvalue: function setGroupOptions(group, options) {\n\t\t\tgroup.setAttribute(\"style\", \"fill:\" + options.lineColor + \";\");\n\t\t}\n\t}, {\n\t\tkey: \"drawRect\",\n\t\tvalue: function drawRect(x, y, width, height, parent) {\n\t\t\tvar rect = this.document.createElementNS(svgns, 'rect');\n\n\t\t\trect.setAttribute(\"x\", x);\n\t\t\trect.setAttribute(\"y\", y);\n\t\t\trect.setAttribute(\"width\", width);\n\t\t\trect.setAttribute(\"height\", height);\n\n\t\t\tparent.appendChild(rect);\n\n\t\t\treturn rect;\n\t\t}\n\t}]);\n\n\treturn SVGRenderer;\n}();\n\nexports.default = SVGRenderer;\n\n/***/ }),\n/* 47 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nvar ObjectRenderer = function () {\n\tfunction ObjectRenderer(object, encodings, options) {\n\t\t_classCallCheck(this, ObjectRenderer);\n\n\t\tthis.object = object;\n\t\tthis.encodings = encodings;\n\t\tthis.options = options;\n\t}\n\n\t_createClass(ObjectRenderer, [{\n\t\tkey: \"render\",\n\t\tvalue: function render() {\n\t\t\tthis.object.encodings = this.encodings;\n\t\t}\n\t}]);\n\n\treturn ObjectRenderer;\n}();\n\nexports.default = ObjectRenderer;\n\n/***/ }),\n/* 48 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\nfunction _possibleConstructorReturn(self, call) { if (!self) { throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\"); } return call && (typeof call === \"object\" || typeof call === \"function\") ? call : self; }\n\nfunction _inherits(subClass, superClass) { if (typeof superClass !== \"function\" && superClass !== null) { throw new TypeError(\"Super expression must either be null or a function, not \" + typeof superClass); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, enumerable: false, writable: true, configurable: true } }); if (superClass) Object.setPrototypeOf ? Object.setPrototypeOf(subClass, superClass) : subClass.__proto__ = superClass; }\n\nvar InvalidInputException = function (_Error) {\n\t_inherits(InvalidInputException, _Error);\n\n\tfunction InvalidInputException(symbology, input) {\n\t\t_classCallCheck(this, InvalidInputException);\n\n\t\tvar _this = _possibleConstructorReturn(this, (InvalidInputException.__proto__ || Object.getPrototypeOf(InvalidInputException)).call(this));\n\n\t\t_this.name = \"InvalidInputException\";\n\n\t\t_this.symbology = symbology;\n\t\t_this.input = input;\n\n\t\t_this.message = '\"' + _this.input + '\" is not a valid input for ' + _this.symbology;\n\t\treturn _this;\n\t}\n\n\treturn InvalidInputException;\n}(Error);\n\nvar InvalidElementException = function (_Error2) {\n\t_inherits(InvalidElementException, _Error2);\n\n\tfunction InvalidElementException() {\n\t\t_classCallCheck(this, InvalidElementException);\n\n\t\tvar _this2 = _possibleConstructorReturn(this, (InvalidElementException.__proto__ || Object.getPrototypeOf(InvalidElementException)).call(this));\n\n\t\t_this2.name = \"InvalidElementException\";\n\t\t_this2.message = \"Not supported type to render on\";\n\t\treturn _this2;\n\t}\n\n\treturn InvalidElementException;\n}(Error);\n\nvar NoElementException = function (_Error3) {\n\t_inherits(NoElementException, _Error3);\n\n\tfunction NoElementException() {\n\t\t_classCallCheck(this, NoElementException);\n\n\t\tvar _this3 = _possibleConstructorReturn(this, (NoElementException.__proto__ || Object.getPrototypeOf(NoElementException)).call(this));\n\n\t\t_this3.name = \"NoElementException\";\n\t\t_this3.message = \"No element to render on.\";\n\t\treturn _this3;\n\t}\n\n\treturn NoElementException;\n}(Error);\n\nexports.InvalidInputException = InvalidInputException;\nexports.InvalidElementException = InvalidElementException;\nexports.NoElementException = NoElementException;\n\n/***/ }),\n/* 49 */\n/***/ (function(module, exports, __webpack_require__) {\n\n\"use strict\";\n\n\nObject.defineProperty(exports, \"__esModule\", {\n\tvalue: true\n});\n\nvar _createClass = function () { function defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if (\"value\" in descriptor) descriptor.writable = true; Object.defineProperty(target, descriptor.key, descriptor); } } return function (Constructor, protoProps, staticProps) { if (protoProps) defineProperties(Constructor.prototype, protoProps); if (staticProps) defineProperties(Constructor, staticProps); return Constructor; }; }();\n\nfunction _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError(\"Cannot call a class as a function\"); } }\n\n/*eslint no-console: 0 */\n\nvar ErrorHandler = function () {\n\tfunction ErrorHandler(api) {\n\t\t_classCallCheck(this, ErrorHandler);\n\n\t\tthis.api = api;\n\t}\n\n\t_createClass(ErrorHandler, [{\n\t\tkey: \"handleCatch\",\n\t\tvalue: function handleCatch(e) {\n\t\t\t// If babel supported extending of Error in a correct way instanceof would be used here\n\t\t\tif (e.name === \"InvalidInputException\") {\n\t\t\t\tif (this.api._options.valid !== this.api._defaults.valid) {\n\t\t\t\t\tthis.api._options.valid(false);\n\t\t\t\t} else {\n\t\t\t\t\tthrow e.message;\n\t\t\t\t}\n\t\t\t} else {\n\t\t\t\tthrow e;\n\t\t\t}\n\n\t\t\tthis.api.render = function () {};\n\t\t}\n\t}, {\n\t\tkey: \"wrapBarcodeCall\",\n\t\tvalue: function wrapBarcodeCall(func) {\n\t\t\ttry {\n\t\t\t\tvar result = func.apply(undefined, arguments);\n\t\t\t\tthis.api._options.valid(true);\n\t\t\t\treturn result;\n\t\t\t} catch (e) {\n\t\t\t\tthis.handleCatch(e);\n\n\t\t\t\treturn this.api;\n\t\t\t}\n\t\t}\n\t}]);\n\n\treturn ErrorHandler;\n}();\n\nexports.default = ErrorHandler;\n\n/***/ })\n/******/ ]);","/**\n * A lightweight youtube embed. Still should feel the same to the user, just MUCH faster to initialize and paint.\n *\n * Thx to these as the inspiration\n *   https://storage.googleapis.com/amp-vs-non-amp/youtube-lazy.html\n *   https://autoplay-youtube-player.glitch.me/\n *\n * Once built it, I also found these:\n *   https://github.com/ampproject/amphtml/blob/master/extensions/amp-youtube (👍👍)\n *   https://github.com/Daugilas/lazyYT\n *   https://github.com/vb/lazyframe\n */\nclass LiteYTEmbed extends HTMLElement {\n    connectedCallback() {\n        this.videoId = this.getAttribute('videoid');\n\n        let playBtnEl = this.querySelector('.lyt-playbtn,.lty-playbtn');\n        // A label for the button takes priority over a [playlabel] attribute on the custom-element\n        this.playLabel = (playBtnEl && playBtnEl.textContent.trim()) || this.getAttribute('playlabel') || 'Play';\n\n        this.dataset.title = this.getAttribute('title') || \"\";\n\n        /**\n         * Lo, the youtube poster image!  (aka the thumbnail, image placeholder, etc)\n         *\n         * See https://github.com/paulirish/lite-youtube-embed/blob/master/youtube-thumbnail-urls.md\n         */\n        if (!this.style.backgroundImage) {\n          this.style.backgroundImage = `url(\"https://i.ytimg.com/vi/${this.videoId}/hqdefault.jpg\")`;\n          this.upgradePosterImage();\n        }\n\n        // Set up play button, and its visually hidden label\n        if (!playBtnEl) {\n            playBtnEl = document.createElement('button');\n            playBtnEl.type = 'button';\n            // Include the mispelled 'lty-' in case it's still being used. https://github.com/paulirish/lite-youtube-embed/issues/65\n            playBtnEl.classList.add('lyt-playbtn', 'lty-playbtn');\n            this.append(playBtnEl);\n        }\n        if (!playBtnEl.textContent) {\n            const playBtnLabelEl = document.createElement('span');\n            playBtnLabelEl.className = 'lyt-visually-hidden';\n            playBtnLabelEl.textContent = this.playLabel;\n            playBtnEl.append(playBtnLabelEl);\n        }\n\n        this.addNoscriptIframe();\n\n        // for the PE pattern, change anchor's semantics to button\n        if(playBtnEl.nodeName === 'A'){\n            playBtnEl.removeAttribute('href');\n            playBtnEl.setAttribute('tabindex', '0');\n            playBtnEl.setAttribute('role', 'button');\n            // fake button needs keyboard help\n            playBtnEl.addEventListener('keydown', e => {\n                if( e.key === 'Enter' || e.key === ' ' ){\n                    e.preventDefault();\n                    this.activate();\n                }\n            });\n        }\n\n        // On hover (or tap), warm up the TCP connections we're (likely) about to use.\n        this.addEventListener('pointerover', LiteYTEmbed.warmConnections, {once: true});\n        this.addEventListener('focusin', LiteYTEmbed.warmConnections, {once: true});\n\n        // Once the user clicks, add the real iframe and drop our play button\n        // TODO: In the future we could be like amp-youtube and silently swap in the iframe during idle time\n        //   We'd want to only do this for in-viewport or near-viewport ones: https://github.com/ampproject/amphtml/pull/5003\n        this.addEventListener('click', this.activate);\n\n        // Chrome & Edge desktop have no problem with the basic YouTube Embed with ?autoplay=1\n        // However Safari desktop and most/all mobile browsers do not successfully track the user gesture of clicking through the creation/loading of the iframe,\n        // so they don't autoplay automatically. Instead we must load an additional 2 sequential JS files (1KB + 165KB) (un-br) for the YT Player API\n        // TODO: Try loading the the YT API in parallel with our iframe and then attaching/playing it. #82\n        this.needsYTApi = this.hasAttribute(\"js-api\") || navigator.vendor.includes('Apple') || navigator.userAgent.includes('Mobi');\n    }\n\n    /**\n     * Add a <link rel={preload | preconnect} ...> to the head\n     */\n    static addPrefetch(kind, url, as) {\n        const linkEl = document.createElement('link');\n        linkEl.rel = kind;\n        linkEl.href = url;\n        if (as) {\n            linkEl.as = as;\n        }\n        document.head.append(linkEl);\n    }\n\n    /**\n     * Begin pre-connecting to warm up the iframe load\n     * Since the embed's network requests load within its iframe,\n     *   preload/prefetch'ing them outside the iframe will only cause double-downloads.\n     * So, the best we can do is warm up a few connections to origins that are in the critical path.\n     *\n     * Maybe `<link rel=preload as=document>` would work, but it's unsupported: http://crbug.com/593267\n     * But TBH, I don't think it'll happen soon with Site Isolation and split caches adding serious complexity.\n     */\n    static warmConnections() {\n        if (LiteYTEmbed.preconnected) return;\n\n        // The iframe document and most of its subresources come right off youtube.com\n        LiteYTEmbed.addPrefetch('preconnect', 'https://www.youtube-nocookie.com');\n        // The botguard script is fetched off from google.com\n        LiteYTEmbed.addPrefetch('preconnect', 'https://www.google.com');\n\n        // Not certain if these ad related domains are in the critical path. Could verify with domain-specific throttling.\n        LiteYTEmbed.addPrefetch('preconnect', 'https://googleads.g.doubleclick.net');\n        LiteYTEmbed.addPrefetch('preconnect', 'https://static.doubleclick.net');\n\n        LiteYTEmbed.preconnected = true;\n    }\n\n    fetchYTPlayerApi() {\n        if (window.YT || (window.YT && window.YT.Player)) return;\n\n        this.ytApiPromise = new Promise((res, rej) => {\n            var el = document.createElement('script');\n            el.src = 'https://www.youtube.com/iframe_api';\n            el.async = true;\n            el.onload = _ => {\n                YT.ready(res);\n            };\n            el.onerror = rej;\n            this.append(el);\n        });\n    }\n\n    /** Return the YT Player API instance. (Public L-YT-E API) */\n    async getYTPlayer() {\n        if(!this.playerPromise) {\n            await this.activate();\n        }\n\n        return this.playerPromise;\n    }\n\n    async addYTPlayerIframe() {\n        this.fetchYTPlayerApi();\n        await this.ytApiPromise;\n\n        const videoPlaceholderEl = document.createElement('div')\n        this.append(videoPlaceholderEl);\n\n        const paramsObj = Object.fromEntries(this.getParams().entries());\n\n        this.playerPromise = new Promise(resolve => {\n            let player = new YT.Player(videoPlaceholderEl, {\n                width: '100%',\n                videoId: this.videoId,\n                playerVars: paramsObj,\n                events: {\n                    'onReady': event => {\n                        event.target.playVideo();\n                        resolve(player);\n                    }\n                }\n            });\n        });\n    }\n\n    // Add the iframe within <noscript> for indexability discoverability. See https://github.com/paulirish/lite-youtube-embed/issues/105\n    addNoscriptIframe() {\n        const iframeEl = this.createBasicIframe();\n        const noscriptEl = document.createElement('noscript');\n        // Appending into noscript isn't equivalant for mysterious reasons: https://html.spec.whatwg.org/multipage/scripting.html#the-noscript-element\n        noscriptEl.innerHTML = iframeEl.outerHTML;\n        this.append(noscriptEl);\n    }\n\n    getParams() {\n        const params = new URLSearchParams(this.getAttribute('params') || []);\n        params.append('autoplay', '1');\n        params.append('playsinline', '1');\n        return params;\n    }\n\n    async activate(){\n        if (this.classList.contains('lyt-activated')) return;\n        this.classList.add('lyt-activated');\n\n        if (this.needsYTApi) {\n            return this.addYTPlayerIframe(this.getParams());\n        }\n\n        const iframeEl = this.createBasicIframe();\n        this.append(iframeEl);\n\n        // Set focus for a11y\n        iframeEl.focus();\n    }\n\n    createBasicIframe(){\n        const iframeEl = document.createElement('iframe');\n        iframeEl.width = 560;\n        iframeEl.height = 315;\n        // No encoding necessary as [title] is safe. https://cheatsheetseries.owasp.org/cheatsheets/Cross_Site_Scripting_Prevention_Cheat_Sheet.html#:~:text=Safe%20HTML%20Attributes%20include\n        iframeEl.title = this.playLabel;\n        iframeEl.allow = 'accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture';\n        iframeEl.allowFullscreen = true;\n        // Required by Youtube to fix Error 153\n        iframeEl.referrerPolicy = 'strict-origin-when-cross-origin';\n        // AFAIK, the encoding here isn't necessary for XSS, but we'll do it only because this is a URL\n        // https://stackoverflow.com/q/64959723/89484\n        iframeEl.src = `https://www.youtube-nocookie.com/embed/${encodeURIComponent(this.videoId)}?${this.getParams().toString()}`;\n        return iframeEl;\n    }\n\n    /**\n     * In the spirit of the `lowsrc` attribute and progressive JPEGs, we'll upgrade the reliable\n     * poster image to a higher resolution one, if it's available.\n     * Interestingly this sddefault webp is often smaller in filesize, but we will still attempt it second\n     * because getting _an_ image in front of the user if our first priority.\n     *\n     * See https://github.com/paulirish/lite-youtube-embed/blob/master/youtube-thumbnail-urls.md for more details\n     */\n    upgradePosterImage() {\n         // Defer to reduce network contention.\n        setTimeout(() => {\n            const webpUrl = `https://i.ytimg.com/vi_webp/${this.videoId}/sddefault.webp`;\n            const img = new Image();\n            img.fetchPriority = 'low'; // low priority to reduce network contention\n            img.referrerpolicy = 'origin'; // Not 100% sure it's needed, but https://github.com/ampproject/amphtml/pull/3940\n            img.src = webpUrl;\n            img.onload = e => {\n                // A pretty ugly hack since onerror won't fire on YouTube image 404. This is (probably) due to\n                // Youtube's style of returning data even with a 404 status. That data is a 120x90 placeholder image.\n                // … per \"annoying yt 404 behavior\" in the .md\n                const noAvailablePoster = e.target.naturalHeight == 90 && e.target.naturalWidth == 120;\n                if (noAvailablePoster) return;\n\n                this.style.backgroundImage = `url(\"${webpUrl}\")`;\n            }\n        }, 100);\n    }\n}\n// Register custom element\ncustomElements.define('lite-youtube', LiteYTEmbed);\n","define('@ember-data/adapter/-private', ['exports', '@ember/debug', 'rsvp', 'require', '@ember/object', '@ember/object/mixin', '@ember/string', 'ember-inflector'], (function (exports, debug, rsvp, require, object, Mixin, string, emberInflector) { 'use strict';\n\n  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }\n\n  var require__default = /*#__PURE__*/_interopDefaultLegacy(require);\n  var Mixin__default = /*#__PURE__*/_interopDefaultLegacy(Mixin);\n\n  var newline = /\\r?\\n/;\n  function parseResponseHeaders(headersString) {\n    var headers = Object.create(null);\n    if (!headersString) {\n      return headers;\n    }\n    var headerPairs = headersString.split(newline);\n    for (var i = 0; i < headerPairs.length; i++) {\n      var header = headerPairs[i];\n      var j = 0;\n      var foundSep = false;\n      for (; j < header.length; j++) {\n        if (header.charCodeAt(j) === 58 /* ':' */) {\n          foundSep = true;\n          break;\n        }\n      }\n      if (foundSep === false) {\n        continue;\n      }\n      var field = header.substring(0, j).trim();\n      var value = header.substring(j + 1, header.length).trim();\n      if (value) {\n        var lowerCasedField = field.toLowerCase();\n        headers[lowerCasedField] = value;\n        headers[field] = value;\n      }\n    }\n    return headers;\n  }\n\n  function continueOnReject(promise) {\n    return rsvp.resolve(promise).catch(e => e);\n  }\n\n  /*\n   * Function that always attempts to parse the response as json, and if an error is thrown,\n   * returns `undefined` if the response is successful and has a status code of 204 (No Content),\n   * or 205 (Reset Content) or if the request method was 'HEAD', and the plain payload otherwise.\n   */\n  function _determineContent(response, requestData, payload) {\n    var ret = payload;\n    var error;\n    if (!response.ok) {\n      return payload;\n    }\n    var status = response.status;\n    var payloadIsEmpty = payload === '' || payload === null;\n    var statusIndicatesEmptyResponse = status === 204 || status === 205 || requestData.method === 'HEAD';\n    {\n      if (payloadIsEmpty && !statusIndicatesEmptyResponse) {\n        var message = `The server returned an empty string for ${requestData.method} ${requestData.url}, which cannot be parsed into a valid JSON. Return either null or {}.`;\n        if (payload === '') {\n          (debug.warn(message, {\n            id: 'ds.adapter.returned-empty-string-as-JSON'\n          }));\n        }\n      }\n    }\n    if (response.ok && (statusIndicatesEmptyResponse || payloadIsEmpty)) {\n      return;\n    }\n    try {\n      ret = JSON.parse(payload);\n    } catch (e) {\n      if (!(e instanceof SyntaxError)) {\n        return e;\n      }\n      e.payload = payload;\n      error = e;\n    }\n    if (error) {\n      {\n        // eslint-disable-next-line no-console\n        console.warn('This response was unable to be parsed as json.', payload);\n      }\n      return error;\n    }\n    return ret;\n  }\n  function determineBodyPromise(response, requestData) {\n    // response.text() may resolve or reject\n    // it is a native promise, may not have finally\n    return continueOnReject(response.text()).then(payload => _determineContent(response, requestData, payload));\n  }\n\n  var RBRACKET = /\\[\\]$/;\n  function isPlainObject(obj) {\n    return Object.prototype.toString.call(obj) === '[object Object]';\n  }\n\n  /*\n   * Helper function that turns the data/body of a request into a query param string.\n   * This is directly copied from jQuery.param.\n   */\n  function serializeQueryParams(queryParamsObject) {\n    var s = [];\n    function buildParams(prefix, obj) {\n      var i, len, key;\n      if (prefix) {\n        if (Array.isArray(obj)) {\n          for (i = 0, len = obj.length; i < len; i++) {\n            if (RBRACKET.test(prefix)) {\n              add(s, prefix, obj[i]);\n            } else {\n              buildParams(prefix + '[' + (typeof obj[i] === 'object' && obj[i] !== null ? i : '') + ']', obj[i]);\n            }\n          }\n        } else if (isPlainObject(obj)) {\n          for (key in obj) {\n            buildParams(prefix + '[' + key + ']', obj[key]);\n          }\n        } else {\n          add(s, prefix, obj);\n        }\n      } else if (Array.isArray(obj)) {\n        for (i = 0, len = obj.length; i < len; i++) {\n          add(s, obj[i].name, obj[i].value);\n        }\n      } else {\n        for (key in obj) {\n          buildParams(key, obj[key]);\n        }\n      }\n      return s;\n    }\n    return buildParams('', queryParamsObject).join('&');\n  }\n\n  /*\n   * Part of the `serializeQueryParams` helper function.\n   */\n  function add(s, k, v) {\n    // Strip out keys with undefined value and replace null values with\n    // empty strings (mimics jQuery.ajax)\n    if (v === undefined) {\n      return;\n    } else if (v === null) {\n      v = '';\n    }\n    v = typeof v === 'function' ? v() : v;\n    s[s.length] = `${encodeURIComponent(k)}=${encodeURIComponent(v)}`;\n  }\n\n  var _fetch = null;\n  function getFetchFunction() {\n    if (_fetch !== null) {\n      return _fetch();\n    }\n    if (require.has('fetch')) {\n      // use `fetch` module by default, this is commonly provided by ember-fetch\n      var fetchFn = require__default[\"default\"]('fetch').default;\n      _fetch = () => fetchFn;\n    } else if (typeof fetch === 'function') {\n      // fallback to using global fetch\n      _fetch = () => fetch;\n    } else {\n      throw new Error('cannot find the `fetch` module or the `fetch` global. Did you mean to install the `ember-fetch` addon?');\n    }\n    return _fetch();\n  }\n\n  /**\n    @module @ember-data/adapter\n  */\n\n  /**\n    ## Using BuildURLMixin\n\n    To use URL building, include the mixin when extending an adapter, and call `buildURL` where needed.\n    The default behaviour is designed for RESTAdapter.\n\n    ### Example\n\n    ```javascript\n    import Adapter, { BuildURLMixin } from '@ember-data/adapter';\n\n    export default class ApplicationAdapter extends Adapter.extend(BuildURLMixin) {\n      findRecord(store, type, id, snapshot) {\n        var url = this.buildURL(type.modelName, id, snapshot, 'findRecord');\n        return this.ajax(url, 'GET');\n      }\n    }\n    ```\n\n    ### Attributes\n\n    The `host` and `namespace` attributes will be used if defined, and are optional.\n\n    @class BuildURLMixin\n    @public\n  */\n  var buildUrlMixin = Mixin__default[\"default\"].create({\n    /**\n      Builds a URL for a given type and optional ID.\n       By default, it pluralizes the type's name (for example, 'post'\n      becomes 'posts' and 'person' becomes 'people'). To override the\n      pluralization see [pathForType](BuildUrlMixin/methods/pathForType?anchor=pathForType).\n       If an ID is specified, it adds the ID to the path generated\n      for the type, separated by a `/`.\n       When called by `RESTAdapter.findMany()` the `id` and `snapshot` parameters\n      will be arrays of ids and snapshots.\n       @method buildURL\n      @public\n      @param {String} modelName\n      @param {(String|Array|Object)} id single id or array of ids or query\n      @param {(Snapshot|SnapshotRecordArray)} snapshot single snapshot or array of snapshots\n      @param {String} requestType\n      @param {Object} query object of query parameters to send for query requests.\n      @return {String} url\n    */\n    buildURL(modelName, id, snapshot, requestType = '', query = {}) {\n      switch (requestType) {\n        case 'findRecord':\n          return this.urlForFindRecord(id, modelName, snapshot);\n        case 'findAll':\n          return this.urlForFindAll(modelName, snapshot);\n        case 'query':\n          return this.urlForQuery(query, modelName);\n        case 'queryRecord':\n          return this.urlForQueryRecord(query, modelName);\n        case 'findMany':\n          return this.urlForFindMany(id, modelName, snapshot);\n        case 'findHasMany':\n          return this.urlForFindHasMany(id, modelName, snapshot);\n        case 'findBelongsTo':\n          return this.urlForFindBelongsTo(id, modelName, snapshot);\n        case 'createRecord':\n          return this.urlForCreateRecord(modelName, snapshot);\n        case 'updateRecord':\n          return this.urlForUpdateRecord(id, modelName, snapshot);\n        case 'deleteRecord':\n          return this.urlForDeleteRecord(id, modelName, snapshot);\n        default:\n          return this._buildURL(modelName, id);\n      }\n    },\n    /**\n      @method _buildURL\n      @private\n      @param {String} modelName\n      @param {String} id\n      @return {String} url\n    */\n    _buildURL(modelName, id) {\n      var path;\n      var url = [];\n      var host = object.get(this, 'host');\n      var prefix = this.urlPrefix();\n      if (modelName) {\n        path = this.pathForType(modelName);\n        if (path) {\n          url.push(path);\n        }\n      }\n      if (id) {\n        url.push(encodeURIComponent(id));\n      }\n      if (prefix) {\n        url.unshift(prefix);\n      }\n      var urlString = url.join('/');\n      if (!host && urlString && urlString.charAt(0) !== '/') {\n        urlString = '/' + urlString;\n      }\n      return urlString;\n    },\n    /**\n     Builds a URL for a `store.findRecord(type, id)` call.\n      Example:\n      ```app/adapters/user.js\n     import JSONAPIAdapter from '@ember-data/adapter/json-api';\n      export default class ApplicationAdapter extends JSONAPIAdapter {\n       urlForFindRecord(id, modelName, snapshot) {\n         let baseUrl = this.buildURL(modelName, id, snapshot);\n         return `${baseUrl}/users/${snapshot.adapterOptions.user_id}/playlists/${id}`;\n       }\n     }\n     ```\n      @method urlForFindRecord\n     @public\n     @param {String} id\n     @param {String} modelName\n     @param {Snapshot} snapshot\n     @return {String} url\n      */\n    urlForFindRecord(id, modelName, snapshot) {\n      return this._buildURL(modelName, id);\n    },\n    /**\n     Builds a URL for a `store.findAll(type)` call.\n      Example:\n      ```app/adapters/comment.js\n     import JSONAPIAdapter from '@ember-data/adapter/json-api';\n      export default class ApplicationAdapter extends JSONAPIAdapter {\n       urlForFindAll(modelName, snapshot) {\n         let baseUrl = this.buildURL(modelName);\n         return `${baseUrl}/data/comments.json`;\n       }\n     }\n     ```\n      @method urlForFindAll\n      @public\n     @param {String} modelName\n     @param {SnapshotRecordArray} snapshot\n     @return {String} url\n     */\n    urlForFindAll(modelName, snapshot) {\n      return this._buildURL(modelName);\n    },\n    /**\n     Builds a URL for a `store.query(type, query)` call.\n      Example:\n      ```app/adapters/application.js\n     import RESTAdapter from '@ember-data/adapter/rest';\n      export default class ApplicationAdapter extends RESTAdapter {\n       host = 'https://api.github.com';\n       urlForQuery (query, modelName) {\n         switch(modelName) {\n           case 'repo':\n             return `https://api.github.com/orgs/${query.orgId}/repos`;\n           default:\n             return super.urlForQuery(...arguments);\n         }\n       }\n     }\n     ```\n      @method urlForQuery\n      @public\n     @param {Object} query\n     @param {String} modelName\n     @return {String} url\n     */\n    urlForQuery(query, modelName) {\n      return this._buildURL(modelName);\n    },\n    /**\n     Builds a URL for a `store.queryRecord(type, query)` call.\n      Example:\n      ```app/adapters/application.js\n     import RESTAdapter from '@ember-data/adapter/rest';\n      export default class ApplicationAdapter extends RESTAdapter {\n       urlForQueryRecord({ slug }, modelName) {\n         let baseUrl = this.buildURL();\n         return `${baseUrl}/${encodeURIComponent(slug)}`;\n       }\n     }\n     ```\n      @method urlForQueryRecord\n      @public\n     @param {Object} query\n     @param {String} modelName\n     @return {String} url\n     */\n    urlForQueryRecord(query, modelName) {\n      return this._buildURL(modelName);\n    },\n    /**\n     Builds a URL for coalescing multiple `store.findRecord(type, id)`\n     records into 1 request when the adapter's `coalesceFindRequests`\n     property is `true`.\n      Example:\n      ```app/adapters/application.js\n     import RESTAdapter from '@ember-data/adapter/rest';\n      export default class ApplicationAdapter extends RESTAdapter {\n       urlForFindMany(ids, modelName) {\n         let baseUrl = this.buildURL();\n         return `${baseUrl}/coalesce`;\n       }\n     }\n     ```\n      @method urlForFindMany\n      @public\n     @param {Array} ids\n     @param {String} modelName\n     @param {Array} snapshots\n     @return {String} url\n     */\n    urlForFindMany(ids, modelName, snapshots) {\n      return this._buildURL(modelName);\n    },\n    /**\n     Builds a URL for fetching an async `hasMany` relationship when a URL\n     is not provided by the server.\n      Example:\n      ```app/adapters/application.js\n     import JSONAPIAdapter from '@ember-data/adapter/json-api';\n      export default class ApplicationAdapter extends JSONAPIAdapter {\n       urlForFindHasMany(id, modelName, snapshot) {\n         let baseUrl = this.buildURL(modelName, id);\n         return `${baseUrl}/relationships`;\n       }\n     }\n     ```\n      @method urlForFindHasMany\n      @public\n     @param {String} id\n     @param {String} modelName\n     @param {Snapshot} snapshot\n     @return {String} url\n     */\n    urlForFindHasMany(id, modelName, snapshot) {\n      return this._buildURL(modelName, id);\n    },\n    /**\n     Builds a URL for fetching an async `belongsTo` relationship when a url\n     is not provided by the server.\n      Example:\n      ```app/adapters/application.js\n     import JSONAPIAdapter from '@ember-data/adapter/json-api';\n      export default class ApplicationAdapter extends JSONAPIAdapter {\n       urlForFindBelongsTo(id, modelName, snapshot) {\n         let baseUrl = this.buildURL(modelName, id);\n         return `${baseUrl}/relationships`;\n       }\n     }\n     ```\n      @method urlForFindBelongsTo\n      @public\n     @param {String} id\n     @param {String} modelName\n     @param {Snapshot} snapshot\n     @return {String} url\n     */\n    urlForFindBelongsTo(id, modelName, snapshot) {\n      return this._buildURL(modelName, id);\n    },\n    /**\n     Builds a URL for a `record.save()` call when the record was created\n     locally using `store.createRecord()`.\n      Example:\n      ```app/adapters/application.js\n     import RESTAdapter from '@ember-data/adapter/rest';\n      export default class ApplicationAdapter extends RESTAdapter {\n       urlForCreateRecord(modelName, snapshot) {\n         return super.urlForCreateRecord(...arguments) + '/new';\n       }\n     }\n     ```\n      @method urlForCreateRecord\n      @public\n     @param {String} modelName\n     @param {Snapshot} snapshot\n     @return {String} url\n     */\n    urlForCreateRecord(modelName, snapshot) {\n      return this._buildURL(modelName);\n    },\n    /**\n     Builds a URL for a `record.save()` call when the record has been updated locally.\n      Example:\n      ```app/adapters/application.js\n     import RESTAdapter from '@ember-data/adapter/rest';\n      export default class ApplicationAdapter extends RESTAdapter {\n       urlForUpdateRecord(id, modelName, snapshot) {\n         return `/${id}/feed?access_token=${snapshot.adapterOptions.token}`;\n       }\n     }\n     ```\n      @method urlForUpdateRecord\n      @public\n     @param {String} id\n     @param {String} modelName\n     @param {Snapshot} snapshot\n     @return {String} url\n     */\n    urlForUpdateRecord(id, modelName, snapshot) {\n      return this._buildURL(modelName, id);\n    },\n    /**\n     Builds a URL for a `record.save()` call when the record has been deleted locally.\n      Example:\n      ```app/adapters/application.js\n     import RESTAdapter from '@ember-data/adapter/rest';\n      export default class ApplicationAdapter extends RESTAdapter {\n       urlForDeleteRecord(id, modelName, snapshot) {\n         return super.urlForDeleteRecord(...arguments) + '/destroy';\n       }\n     }\n     ```\n      @method urlForDeleteRecord\n      @public\n     @param {String} id\n     @param {String} modelName\n     @param {Snapshot} snapshot\n     @return {String} url\n     */\n    urlForDeleteRecord(id, modelName, snapshot) {\n      return this._buildURL(modelName, id);\n    },\n    /**\n      @method urlPrefix\n      @private\n      @param {String} path\n      @param {String} parentURL\n      @return {String} urlPrefix\n    */\n    urlPrefix(path, parentURL) {\n      var host = object.get(this, 'host');\n      var namespace = object.get(this, 'namespace');\n      if (!host || host === '/') {\n        host = '';\n      }\n      if (path) {\n        // Protocol relative url\n        if (/^\\/\\//.test(path) || /http(s)?:\\/\\//.test(path)) {\n          // Do nothing, the full host is already included.\n          return path;\n\n          // Absolute path\n        } else if (path.charAt(0) === '/') {\n          return `${host}${path}`;\n          // Relative path\n        } else {\n          return `${parentURL}/${path}`;\n        }\n      }\n\n      // No path provided\n      var url = [];\n      if (host) {\n        url.push(host);\n      }\n      if (namespace) {\n        url.push(namespace);\n      }\n      return url.join('/');\n    },\n    /**\n      Determines the pathname for a given type.\n       By default, it pluralizes the type's name (for example,\n      'post' becomes 'posts' and 'person' becomes 'people').\n       ### Pathname customization\n       For example, if you have an object `LineItem` with an\n      endpoint of `/line_items/`.\n       ```app/adapters/application.js\n      import RESTAdapter from '@ember-data/adapter/rest';\n      import { decamelize } from '@ember/string';\n      import { pluralize } from 'ember-inflector';\n       export default class ApplicationAdapter extends RESTAdapter {\n        pathForType(modelName) {\n          var decamelized = decamelize(modelName);\n          return pluralize(decamelized);\n        }\n      }\n      ```\n       @method pathForType\n      @public\n      @param {String} modelName\n      @return {String} path\n    **/\n    pathForType(modelName) {\n      var camelized = string.camelize(modelName);\n      return emberInflector.pluralize(camelized);\n    }\n  });\n\n  function serializeIntoHash(store, modelClass, snapshot, options = {\n    includeId: true\n  }) {\n    var serializer = store.serializerFor(modelClass.modelName);\n    if (typeof serializer.serializeIntoHash === 'function') {\n      var data = {};\n      serializer.serializeIntoHash(data, modelClass, snapshot, options);\n      return data;\n    }\n    return serializer.serialize(snapshot, options);\n  }\n\n  exports.BuildURLMixin = buildUrlMixin;\n  exports.determineBodyPromise = determineBodyPromise;\n  exports.fetch = getFetchFunction;\n  exports.parseResponseHeaders = parseResponseHeaders;\n  exports.serializeIntoHash = serializeIntoHash;\n  exports.serializeQueryParams = serializeQueryParams;\n\n  Object.defineProperty(exports, '__esModule', { value: true });\n\n}));\n","define(\"@ember-data/adapter/error\", [\"exports\", \"@ember/debug\", \"@ember/error\", \"@ember-data/store/-private\"], function (_exports, _debug, _error, _private) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _exports.UnauthorizedError = _exports.TimeoutError = _exports.ServerError = _exports.NotFoundError = _exports.InvalidError = _exports.ForbiddenError = _exports.ConflictError = _exports.AbortError = void 0;\n  Object.defineProperty(_exports, \"errorsArrayToHash\", {\n    enumerable: true,\n    get: function () {\n      return _private.errorsArrayToHash;\n    }\n  });\n  Object.defineProperty(_exports, \"errorsHashToArray\", {\n    enumerable: true,\n    get: function () {\n      return _private.errorsHashToArray;\n    }\n  });\n  /**\n    @module @ember-data/adapter/error\n   */\n\n  /**\n    A `AdapterError` is used by an adapter to signal that an error occurred\n    during a request to an external API. It indicates a generic error, and\n    subclasses are used to indicate specific error states. The following\n    subclasses are provided:\n  \n    - `InvalidError`\n    - `TimeoutError`\n    - `AbortError`\n    - `UnauthorizedError`\n    - `ForbiddenError`\n    - `NotFoundError`\n    - `ConflictError`\n    - `ServerError`\n  \n    To create a custom error to signal a specific error state in communicating\n    with an external API, extend the `AdapterError`. For example, if the\n    external API exclusively used HTTP `503 Service Unavailable` to indicate\n    it was closed for maintenance:\n  \n    ```app/adapters/maintenance-error.js\n    import AdapterError from '@ember-data/adapter/error';\n  \n    export default AdapterError.extend({ message: \"Down for maintenance.\" });\n    ```\n  \n    This error would then be returned by an adapter's `handleResponse` method:\n  \n    ```app/adapters/application.js\n    import JSONAPIAdapter from '@ember-data/adapter/json-api';\n    import MaintenanceError from './maintenance-error';\n  \n    export default class ApplicationAdapter extends JSONAPIAdapter {\n      handleResponse(status) {\n        if (503 === status) {\n          return new MaintenanceError();\n        }\n  \n        return this._super(...arguments);\n      }\n    }\n    ```\n  \n    And can then be detected in an application and used to send the user to an\n    `under-maintenance` route:\n  \n    ```app/routes/application.js\n    import Route from '@ember/routing/route';\n    import MaintenanceError from '../adapters/maintenance-error';\n  \n    export default class ApplicationRoute extends Route {\n      actions: {\n        error(error, transition) {\n          if (error instanceof MaintenanceError) {\n            this.transitionTo('under-maintenance');\n            return;\n          }\n  \n          // ...other error handling logic\n        }\n      }\n    }\n    ```\n  \n    @main @ember-data/adapter/error\n    @class AdapterError\n    @public\n  */\n  function AdapterError(errors, message = 'Adapter operation failed') {\n    this.isAdapterError = true;\n    var error = _error.default.call(this, message);\n\n    // in ember 3.8+ Error is a Native Error and we don't\n    // gain these automatically from the EmberError.call\n    if (error) {\n      this.stack = error.stack;\n      this.description = error.description;\n      this.fileName = error.fileName;\n      this.lineNumber = error.lineNumber;\n      this.message = error.message;\n      this.name = error.name;\n      this.number = error.number;\n    }\n    this.errors = errors || [{\n      title: 'Adapter Error',\n      detail: message\n    }];\n  }\n  var _default = _exports.default = AdapterError;\n  function extendFn(ErrorClass) {\n    return function ({\n      message: defaultMessage\n    } = {}) {\n      return extend(ErrorClass, defaultMessage);\n    };\n  }\n  function extend(ParentErrorClass, defaultMessage) {\n    var ErrorClass = function (errors, message) {\n      (true && !(Array.isArray(errors || [])) && (0, _debug.assert)('`AdapterError` expects json-api formatted errors array.', Array.isArray(errors || [])));\n      ParentErrorClass.call(this, errors, message || defaultMessage);\n    };\n    ErrorClass.prototype = Object.create(ParentErrorClass.prototype);\n    ErrorClass.extend = extendFn(ErrorClass);\n    return ErrorClass;\n  }\n  AdapterError.prototype = Object.create(_error.default.prototype);\n  AdapterError.prototype.code = 'AdapterError';\n  AdapterError.extend = extendFn(AdapterError);\n\n  /**\n    A `InvalidError` is used by an adapter to signal the external API\n    was unable to process a request because the content was not\n    semantically correct or meaningful per the API. Usually, this means a\n    record failed some form of server-side validation. When a promise\n    from an adapter is rejected with a `InvalidError` the record will\n    transition to the `invalid` state and the errors will be set to the\n    `errors` property on the record.\n  \n    For Ember Data to correctly map errors to their corresponding\n    properties on the model, Ember Data expects each error to be\n    a valid JSON-API error object with a `source/pointer` that matches\n    the property name. For example, if you had a Post model that\n    looked like this.\n  \n    ```app/models/post.js\n    import Model, { attr } from '@ember-data/model';\n  \n    export default class PostModel extends Model {\n      @attr('string') title;\n      @attr('string') content;\n    }\n    ```\n  \n    To show an error from the server related to the `title` and\n    `content` properties your adapter could return a promise that\n    rejects with a `InvalidError` object that looks like this:\n  \n    ```app/adapters/post.js\n    import RSVP from 'RSVP';\n    import RESTAdapter from '@ember-data/adapter/rest';\n    import { InvalidError } from '@ember-data/adapter/error';\n  \n    export default class ApplicationAdapter extends RESTAdapter {\n      updateRecord() {\n        // Fictional adapter that always rejects\n        return RSVP.reject(new InvalidError([\n          {\n            detail: 'Must be unique',\n            source: { pointer: '/data/attributes/title' }\n          },\n          {\n            detail: 'Must not be blank',\n            source: { pointer: '/data/attributes/content'}\n          }\n        ]));\n      }\n    }\n    ```\n  \n    Your backend may use different property names for your records the\n    store will attempt to extract and normalize the errors using the\n    serializer's `extractErrors` method before the errors get added to\n    the model. As a result, it is safe for the `InvalidError` to\n    wrap the error payload unaltered.\n  \n    @class InvalidError\n    @public\n    @extends AdapterError\n  */\n  var InvalidError = _exports.InvalidError = extend(AdapterError, 'The adapter rejected the commit because it was invalid');\n  InvalidError.prototype.code = 'InvalidError';\n\n  /**\n    A `TimeoutError` is used by an adapter to signal that a request\n    to the external API has timed out. I.e. no response was received from\n    the external API within an allowed time period.\n  \n    An example use case would be to warn the user to check their internet\n    connection if an adapter operation has timed out:\n  \n    ```app/routes/application.js\n    import Route from '@ember/routing/route';\n    import { TimeoutError } from '@ember-data/adapter/error';\n    import { action } from '@ember/object';\n  \n    export default class ApplicationRoute extends Route {\n      @action\n      error(error, transition) {\n        if (error instanceof TimeoutError) {\n          // alert the user\n          alert('Are you still connected to the Internet?');\n          return;\n        }\n  \n        // ...other error handling logic\n      }\n    }\n    ```\n  \n    @class TimeoutError\n    @public\n    @extends AdapterError\n  */\n  var TimeoutError = _exports.TimeoutError = extend(AdapterError, 'The adapter operation timed out');\n  TimeoutError.prototype.code = 'TimeoutError';\n\n  /**\n    A `AbortError` is used by an adapter to signal that a request to\n    the external API was aborted. For example, this can occur if the user\n    navigates away from the current page after a request to the external API\n    has been initiated but before a response has been received.\n  \n    @class AbortError\n    @public\n    @extends AdapterError\n  */\n  var AbortError = _exports.AbortError = extend(AdapterError, 'The adapter operation was aborted');\n  AbortError.prototype.code = 'AbortError';\n\n  /**\n    A `UnauthorizedError` equates to a HTTP `401 Unauthorized` response\n    status. It is used by an adapter to signal that a request to the external\n    API was rejected because authorization is required and has failed or has not\n    yet been provided.\n  \n    An example use case would be to redirect the user to a login route if a\n    request is unauthorized:\n  \n    ```app/routes/application.js\n    import Route from '@ember/routing/route';\n    import { UnauthorizedError } from '@ember-data/adapter/error';\n    import { action } from '@ember/object';\n  \n    export default class ApplicationRoute extends Route {\n      @action\n      error(error, transition) {\n        if (error instanceof UnauthorizedError) {\n          // go to the login route\n          this.transitionTo('login');\n          return;\n        }\n  \n        // ...other error handling logic\n      }\n    }\n    ```\n  \n    @class UnauthorizedError\n    @public\n    @extends AdapterError\n  */\n  var UnauthorizedError = _exports.UnauthorizedError = extend(AdapterError, 'The adapter operation is unauthorized');\n  UnauthorizedError.prototype.code = 'UnauthorizedError';\n\n  /**\n    A `ForbiddenError` equates to a HTTP `403 Forbidden` response status.\n    It is used by an adapter to signal that a request to the external API was\n    valid but the server is refusing to respond to it. If authorization was\n    provided and is valid, then the authenticated user does not have the\n    necessary permissions for the request.\n  \n    @class ForbiddenError\n    @public\n    @extends AdapterError\n  */\n  var ForbiddenError = _exports.ForbiddenError = extend(AdapterError, 'The adapter operation is forbidden');\n  ForbiddenError.prototype.code = 'ForbiddenError';\n\n  /**\n    A `NotFoundError` equates to a HTTP `404 Not Found` response status.\n    It is used by an adapter to signal that a request to the external API\n    was rejected because the resource could not be found on the API.\n  \n    An example use case would be to detect if the user has entered a route\n    for a specific model that does not exist. For example:\n  \n    ```app/routes/post.js\n    import Route from '@ember/routing/route';\n    import { NotFoundError } from '@ember-data/adapter/error';\n    import { inject as service } from '@ember/service';\n    import { action } from '@ember/object';\n  \n    export default class PostRoute extends Route {\n      @service store;\n      model(params) {\n        return this.get('store').findRecord('post', params.post_id);\n      }\n      @action\n      error(error, transition) {\n        if (error instanceof NotFoundError) {\n          // redirect to a list of all posts instead\n          this.transitionTo('posts');\n        } else {\n          // otherwise let the error bubble\n          return true;\n        }\n      }\n    }\n    ```\n  \n    @class NotFoundError\n    @public\n    @extends AdapterError\n  */\n  var NotFoundError = _exports.NotFoundError = extend(AdapterError, 'The adapter could not find the resource');\n  NotFoundError.prototype.code = 'NotFoundError';\n\n  /**\n    A `ConflictError` equates to a HTTP `409 Conflict` response status.\n    It is used by an adapter to indicate that the request could not be processed\n    because of a conflict in the request. An example scenario would be when\n    creating a record with a client-generated ID but that ID is already known\n    to the external API.\n  \n    @class ConflictError\n    @public\n    @extends AdapterError\n  */\n  var ConflictError = _exports.ConflictError = extend(AdapterError, 'The adapter operation failed due to a conflict');\n  ConflictError.prototype.code = 'ConflictError';\n\n  /**\n    A `ServerError` equates to a HTTP `500 Internal Server Error` response\n    status. It is used by the adapter to indicate that a request has failed\n    because of an error in the external API.\n  \n    @class ServerError\n    @public\n    @extends AdapterError\n  */\n  var ServerError = _exports.ServerError = extend(AdapterError, 'The adapter operation failed due to a server error');\n  ServerError.prototype.code = 'ServerError';\n});","define(\"@ember-data/adapter/index\", [\"exports\", \"@ember/object\", \"rsvp\", \"@ember-data/adapter/-private\"], function (_exports, _object, _rsvp, _private) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"BuildURLMixin\", {\n    enumerable: true,\n    get: function () {\n      return _private.BuildURLMixin;\n    }\n  });\n  _exports.default = void 0;\n  /**\n    ## Overview\n  \n    In order to properly fetch and update data, EmberData\n    needs to understand how to connect to your API.\n  \n    `Adapters` accept various kinds of requests from the store\n    and manage fulfillment of the request from your API.\n  \n    ### Request Flow\n  \n    When the store decides it needs to issue a request it uses the\n    following flow to manage the request and process the data.\n  \n    - find the appropriate adapter\n    - issue the request to the adapter\n    - await the adapter's response\n      - if an error occurs reject with the error\n      - if no error\n        - if there is response data\n          - pass the response data to the appropriate serializer\n          - update the cache using the JSON:API formatted data from the serializer's response\n        - return the primary record(s) associated with the request\n  \n    ### Request Errors\n  \n    When a request errors and your adapter does not have the ability to recover from the error,\n    you may either reject the promise returned by your adapter method with the error or simply\n    throw the error.\n  \n    If the request was for a `createRecord` `updateRecord` or `deleteRecord` special rules\n    apply to how this error will affect the state of the store and additional properties on\n    the `Error` class may be used. See the documentation for these methods in the\n    `MinimumAdapterInterface` for more information.\n  \n    ### Implementing an Adapter\n  \n    There are seven required adapter methods, one for each of\n    the primary request types that EmberData issues.\n  \n    They are:\n  \n    - findRecord\n    - findAll\n    - queryRecord\n    - query\n    - createRecord\n    - updateRecord\n    - deleteRecord\n  \n    Each of these request types has a matching store method that triggers it\n    and matching `requestType` that is passed to the serializer's\n    `normalizeResponse` method.\n  \n    If your app only reads data but never writes data, it is not necessary\n    to implement the methods for create, update, and delete. This extends to\n    all of the store's find methods with the exception of `findRecord` (`findAll`,\n    `query`, `queryRecord`): if you do not use the store method in your app then\n    your Adapter does not need the method.\n  \n    ```ts\n    import EmberObject from '@ember/object';\n  \n    async function fetchData(url, options = {}) {\n      let response = await fetch(url, options);\n      return response.toJSON();\n    }\n  \n    export default class ApplicationAdapter extends EmberObject {\n      findRecord(_, { modelName }, id) {\n        return fetchData(`./${modelName}s/${id}`);\n      }\n    }\n    ```\n  \n    ### Adapter Resolution\n  \n    `store.adapterFor(name)` will lookup adapters defined in `app/adapters/` and\n    return an instance.\n  \n    `adapterFor` first attempts to find an adapter with an exact match on `name`,\n    then falls back to checking for the presence of an adapter named `application`.\n  \n    If no adapter is found, an error will be thrown.\n  \n    ```ts\n    store.adapterFor('author');\n  \n    // lookup paths (in order) =>\n    //   app/adapters/author.js\n    //   app/adapters/application.js\n    ```\n  \n    Most requests in EmberData are made with respect to a particular `type` (or `modelName`)\n    (e.g., \"get me the full collection of **books**\" or \"get me the **employee** whose id is 37\"). We\n    refer to this as the **primary** resource `type`.\n  \n    `adapterFor` is used by the store to find an adapter with a name matching that of the primary\n    resource `type` for the request, which then falls back to the `application` adapter.\n  \n    It is recommended that applications define only a single `application` adapter and serializer\n    where possible, only implementing an adapter specific to the `type` when absolutely necessary.\n  \n    If you need to support multiple API versions for the same type, the per-type strategy for\n    defining adapters might not be adequate.\n  \n    If you have multiple APIs or multiple API versions and the single application adapter and per-type\n    strategy does not suite your needs, one strategy is to write an `application` adapter and serializer\n    that make use of `options` to specify the desired format when making a request, then forwards to the\n    request to the desired adapter or serializer as needed.\n  \n    ```app/adapters/application.js\n    export default class Adapter extends EmberObject {\n      findRecord(store, schema, id, snapshot) {\n        let { apiVersion } = snapshot.adapterOptions;\n        return this.adapterFor(`-api-${apiVersion}`).findRecord(store, schema, id, snapshot);\n      }\n    }\n    ```\n  \n    ### Using an Adapter\n  \n    Any adapter in `app/adapters/` can be looked up by `name` using `store.adapterFor(name)`.\n  \n    ### Default Adapters\n  \n    Applications whose API's structure endpoint URLs *very close to* or *exactly* the **REST**\n    or **JSON:API** convention, the `@ember-data/adapter` package contains implementations\n    these applications can extend.\n  \n    Many applications will find writing their own adapter to be allow greater flexibility,\n    customization, and maintenance than attempting to override methods in these adapters.\n  \n    @module @ember-data/adapter\n    @main @ember-data/adapter\n  */\n\n  /**\n    An adapter is an object that receives requests from a store and\n    translates them into the appropriate action to take against your\n    persistence layer. The persistence layer is usually an HTTP API but\n    may be anything, such as the browser's local storage. Typically the\n    adapter is not invoked directly instead its functionality is accessed\n    through the `store`.\n  \n    ### Creating an Adapter\n  \n    Create a new subclass of `Adapter` in the `app/adapters` folder:\n  \n    ```app/adapters/application.js\n    import Adapter from '@ember-data/adapter';\n  \n    export default Adapter.extend({\n      // ...your code here\n    });\n    ```\n  \n    Model-specific adapters can be created by putting your adapter\n    class in an `app/adapters/` + `model-name` + `.js` file of the application.\n  \n    ```app/adapters/post.js\n    import Adapter from '@ember-data/adapter';\n  \n    export default Adapter.extend({\n      // ...Post-specific adapter code goes here\n    });\n    ```\n  \n    `Adapter` is an abstract base class that you should override in your\n    application to customize it for your backend. The minimum set of methods\n    that you should implement is:\n  \n      * `findRecord()`\n      * `createRecord()`\n      * `updateRecord()`\n      * `deleteRecord()`\n      * `findAll()`\n      * `query()`\n  \n    To improve the network performance of your application, you can optimize\n    your adapter by overriding these lower-level methods:\n  \n      * `findMany()`\n  \n  \n    For an example of the implementation, see `RESTAdapter`, the\n    included REST adapter.\n  \n    @class Adapter\n    @public\n    @extends EmberObject\n  */\n  class Adapter extends _object.default {\n    constructor(...args) {\n      super(...args);\n      /**\n        If you would like your adapter to use a custom serializer you can\n        set the `defaultSerializer` property to be the name of the custom\n        serializer.\n         Note the `defaultSerializer` serializer has a lower priority than\n        a model specific serializer (i.e. `PostSerializer`) or the\n        `application` serializer.\n         ```app/adapters/django.js\n        import Adapter from '@ember-data/adapter';\n         export default Adapter.extend({\n          defaultSerializer: 'django'\n        });\n        ```\n         @deprecated\n        @property defaultSerializer\n        @public\n        @type {String}\n      */\n      this.defaultSerializer = '-default';\n    }\n    /**\n      The `findRecord()` method is invoked when the store is asked for a record that\n      has not previously been loaded. In response to `findRecord()` being called, you\n      should query your persistence layer for a record with the given ID. The `findRecord`\n      method should return a promise that will resolve to a JavaScript object that will be\n      normalized by the serializer.\n       Here is an example of the `findRecord` implementation:\n       ```app/adapters/application.js\n      import Adapter from '@ember-data/adapter';\n      import RSVP from 'RSVP';\n      import $ from 'jquery';\n       export default class ApplicationAdapter extends Adapter {\n        findRecord(store, type, id, snapshot) {\n          return new RSVP.Promise(function(resolve, reject) {\n            $.getJSON(`/${type.modelName}/${id}`).then(function(data) {\n              resolve(data);\n            }, function(jqXHR) {\n              reject(jqXHR);\n            });\n          });\n        }\n      }\n      ```\n       @method findRecord\n      @param {Store} store\n      @param {Model} type\n      @param {String} id\n      @param {Snapshot} snapshot\n      @return {Promise} promise\n      @public\n    */\n    findRecord(store, type, id, snapshot) {\n      if (true /* DEBUG */) {\n        throw new Error('You subclassed the Adapter class but missing a findRecord override');\n      }\n      return _rsvp.Promise.resolve();\n    }\n\n    /**\n      The `findAll()` method is used to retrieve all records for a given type.\n       Example\n       ```app/adapters/application.js\n      import Adapter from '@ember-data/adapter';\n      import RSVP from 'RSVP';\n      import $ from 'jquery';\n       export default class ApplicationAdapter extends Adapter {\n        findAll(store, type) {\n          return new RSVP.Promise(function(resolve, reject) {\n            $.getJSON(`/${type.modelName}`).then(function(data) {\n              resolve(data);\n            }, function(jqXHR) {\n              reject(jqXHR);\n            });\n          });\n        }\n      }\n      ```\n       @method findAll\n      @param {Store} store\n      @param {Model} type\n      @param {undefined} neverSet a value is never provided to this argument\n      @param {SnapshotRecordArray} snapshotRecordArray\n      @return {Promise} promise\n      @public\n    */\n    findAll(store, type, neverSet, snapshotRecordArray) {\n      if (true /* DEBUG */) {\n        throw new Error('You subclassed the Adapter class but missing a findAll override');\n      }\n      return _rsvp.Promise.resolve();\n    }\n\n    /**\n      This method is called when you call `query` on the store.\n       Example\n       ```app/adapters/application.js\n      import Adapter from '@ember-data/adapter';\n      import RSVP from 'RSVP';\n      import $ from 'jquery';\n       export default class ApplicationAdapter extends Adapter {\n        query(store, type, query) {\n          return new RSVP.Promise(function(resolve, reject) {\n            $.getJSON(`/${type.modelName}`, query).then(function(data) {\n              resolve(data);\n            }, function(jqXHR) {\n              reject(jqXHR);\n            });\n          });\n        }\n      }\n      ```\n       @method query\n      @param {Store} store\n      @param {Model} type\n      @param {Object} query\n      @param {AdapterPopulatedRecordArray} recordArray\n      @param {Object} adapterOptions\n      @return {Promise} promise\n      @public\n    */\n    query(store, type, query) {\n      if (true /* DEBUG */) {\n        throw new Error('You subclassed the Adapter class but missing a query override');\n      }\n      return _rsvp.Promise.resolve();\n    }\n\n    /**\n      The `queryRecord()` method is invoked when the store is asked for a single\n      record through a query object.\n       In response to `queryRecord()` being called, you should always fetch fresh\n      data. Once found, you can asynchronously call the store's `push()` method\n      to push the record into the store.\n       Here is an example `queryRecord` implementation:\n       Example\n       ```app/adapters/application.js\n      import Adapter, { BuildURLMixin } from '@ember-data/adapter';\n      import RSVP from 'RSVP';\n      import $ from 'jquery';\n       export default class ApplicationAdapter extends Adapter.extend(BuildURLMixin) {\n        queryRecord(store, type, query) {\n          return new RSVP.Promise(function(resolve, reject) {\n            $.getJSON(`/${type.modelName}`, query).then(function(data) {\n              resolve(data);\n            }, function(jqXHR) {\n              reject(jqXHR);\n            });\n          });\n        }\n      }\n      ```\n       @method queryRecord\n      @param {Store} store\n      @param {subclass of Model} type\n      @param {Object} query\n      @param {Object} adapterOptions\n      @return {Promise} promise\n      @public\n    */\n    queryRecord(store, type, query, adapterOptions) {\n      if (true /* DEBUG */) {\n        throw new Error('You subclassed the Adapter class but missing a queryRecord override');\n      }\n      return _rsvp.Promise.resolve();\n    }\n\n    /**\n      If the globally unique IDs for your records should be generated on the client,\n      implement the `generateIdForRecord()` method. This method will be invoked\n      each time you create a new record, and the value returned from it will be\n      assigned to the record's `primaryKey`.\n       Most traditional REST-like HTTP APIs will not use this method. Instead, the ID\n      of the record will be set by the server, and your adapter will update the store\n      with the new ID when it calls `didCreateRecord()`. Only implement this method if\n      you intend to generate record IDs on the client-side.\n       The `generateIdForRecord()` method will be invoked with the requesting store as\n      the first parameter and the newly created record as the second parameter:\n       ```javascript\n      import Adapter from '@ember-data/adapter';\n      import { v4 } from 'uuid';\n       export default class ApplicationAdapter extends Adapter {\n        generateIdForRecord(store, type, inputProperties) {\n          return v4();\n        }\n      }\n      ```\n       @method generateIdForRecord\n      @param {Store} store\n      @param {Model} type   the Model class of the record\n      @param {Object} inputProperties a hash of properties to set on the\n        newly created record.\n      @return {(String|Number)} id\n      @public\n    */\n\n    /**\n      Proxies to the serializer's `serialize` method.\n       Example\n       ```app/adapters/application.js\n      import Adapter from '@ember-data/adapter';\n       export default class ApplicationAdapter extends Adapter {\n        createRecord(store, type, snapshot) {\n          let data = this.serialize(snapshot, { includeId: true });\n          let url = `/${type.modelName}`;\n           // ...\n        }\n      }\n      ```\n       @method serialize\n      @param {Snapshot} snapshot\n      @param {Object}   options\n      @return {Object} serialized snapshot\n      @public\n    */\n    serialize(snapshot, options) {\n      return snapshot.serialize(options);\n    }\n\n    /**\n      Implement this method in a subclass to handle the creation of\n      new records.\n       Serializes the record and sends it to the server.\n       Example\n       ```app/adapters/application.js\n      import Adapter from '@ember-data/adapter';\n      import { run } from '@ember/runloop';\n      import RSVP from 'RSVP';\n      import $ from 'jquery';\n       export default class ApplicationAdapter extends Adapter {\n        createRecord(store, type, snapshot) {\n          let data = this.serialize(snapshot, { includeId: true });\n           return new RSVP.Promise(function (resolve, reject) {\n            $.ajax({\n              type: 'POST',\n              url: `/${type.modelName}`,\n              dataType: 'json',\n              data: data\n            }).then(function (data) {\n              run(null, resolve, data);\n            }, function (jqXHR) {\n              jqXHR.then = null; // tame jQuery's ill mannered promises\n              run(null, reject, jqXHR);\n            });\n          });\n        }\n      }\n      ```\n       @method createRecord\n      @param {Store} store\n      @param {Model} type   the Model class of the record\n      @param {Snapshot} snapshot\n      @return {Promise} promise\n      @public\n    */\n    createRecord(store, type, snapshot) {\n      if (true /* DEBUG */) {\n        throw new Error('You subclassed the Adapter class but missing a createRecord override');\n      }\n      return _rsvp.Promise.resolve();\n    }\n\n    /**\n      Implement this method in a subclass to handle the updating of\n      a record.\n       Serializes the record update and sends it to the server.\n       The updateRecord method is expected to return a promise that will\n      resolve with the serialized record. This allows the backend to\n      inform the Ember Data store the current state of this record after\n      the update. If it is not possible to return a serialized record\n      the updateRecord promise can also resolve with `undefined` and the\n      Ember Data store will assume all of the updates were successfully\n      applied on the backend.\n       Example\n       ```app/adapters/application.js\n      import Adapter from '@ember-data/adapter';\n      import { run } from '@ember/runloop';\n      import RSVP from 'RSVP';\n      import $ from 'jquery';\n       export default class ApplicationAdapter extends Adapter {\n        updateRecord(store, type, snapshot) {\n          let data = this.serialize(snapshot, { includeId: true });\n          let id = snapshot.id;\n           return new RSVP.Promise(function(resolve, reject) {\n            $.ajax({\n              type: 'PUT',\n              url: `/${type.modelName}/${id}`,\n              dataType: 'json',\n              data: data\n            }).then(function(data) {\n              run(null, resolve, data);\n            }, function(jqXHR) {\n              jqXHR.then = null; // tame jQuery's ill mannered promises\n              run(null, reject, jqXHR);\n            });\n          });\n        }\n      }\n      ```\n       @method updateRecord\n      @param {Store} store\n      @param {Model} type   the Model class of the record\n      @param {Snapshot} snapshot\n      @return {Promise} promise\n      @public\n    */\n    updateRecord(store, type, snapshot) {\n      if (true /* DEBUG */) {\n        throw new Error('You subclassed the Adapter class but missing a updateRecord override');\n      }\n      return _rsvp.Promise.resolve();\n    }\n\n    /**\n      Implement this method in a subclass to handle the deletion of\n      a record.\n       Sends a delete request for the record to the server.\n       Example\n       ```app/adapters/application.js\n      import Adapter from '@ember-data/adapter';\n      import { run } from '@ember/runloop';\n      import RSVP from 'RSVP';\n      import $ from 'jquery';\n       export default class ApplicationAdapter extends Adapter {\n        deleteRecord(store, type, snapshot) {\n          let data = this.serialize(snapshot, { includeId: true });\n          let id = snapshot.id;\n           return new RSVP.Promise(function(resolve, reject) {\n            $.ajax({\n              type: 'DELETE',\n              url: `/${type.modelName}/${id}`,\n              dataType: 'json',\n              data: data\n            }).then(function(data) {\n              run(null, resolve, data);\n            }, function(jqXHR) {\n              jqXHR.then = null; // tame jQuery's ill mannered promises\n              run(null, reject, jqXHR);\n            });\n          });\n        }\n      }\n      ```\n       @method deleteRecord\n      @param {Store} store\n      @param {Model} type   the Model class of the record\n      @param {Snapshot} snapshot\n      @return {Promise} promise\n      @public\n    */\n    deleteRecord(store, type, snapshot) {\n      if (true /* DEBUG */) {\n        throw new Error('You subclassed the Adapter class but missing a deleteRecord override');\n      }\n      return _rsvp.Promise.resolve();\n    }\n\n    /**\n      By default the store will try to coalesce all `fetchRecord` calls within the same runloop\n      into as few requests as possible by calling groupRecordsForFindMany and passing it into a findMany call.\n      You can opt out of this behaviour by either not implementing the findMany hook or by setting\n      coalesceFindRequests to false.\n       @property coalesceFindRequests\n      @public\n      @type {boolean}\n    */\n    get coalesceFindRequests() {\n      var coalesceFindRequests = this._coalesceFindRequests;\n      if (typeof coalesceFindRequests === 'boolean') {\n        return coalesceFindRequests;\n      }\n      return this._coalesceFindRequests = true;\n    }\n    set coalesceFindRequests(value) {\n      this._coalesceFindRequests = value;\n    }\n\n    /**\n      The store will call `findMany` instead of multiple `findRecord`\n      requests to find multiple records at once if coalesceFindRequests\n      is true.\n       ```app/adapters/application.js\n      import Adapter from '@ember-data/adapter';\n      import { run } from '@ember/runloop';\n      import RSVP from 'RSVP';\n      import $ from 'jquery';\n       export default class ApplicationAdapter extends Adapter {\n        findMany(store, type, ids, snapshots) {\n          return new RSVP.Promise(function(resolve, reject) {\n            $.ajax({\n              type: 'GET',\n              url: `/${type.modelName}/`,\n              dataType: 'json',\n              data: { filter: { id: ids.join(',') } }\n            }).then(function(data) {\n              run(null, resolve, data);\n            }, function(jqXHR) {\n              jqXHR.then = null; // tame jQuery's ill mannered promises\n              run(null, reject, jqXHR);\n            });\n          });\n        }\n      }\n      ```\n       @method findMany\n      @param {Store} store\n      @param {Model} type   the Model class of the records\n      @param {Array}    ids\n      @param {Array} snapshots\n      @return {Promise} promise\n      @public\n    */\n\n    /**\n      Organize records into groups, each of which is to be passed to separate\n      calls to `findMany`.\n       For example, if your API has nested URLs that depend on the parent, you will\n      want to group records by their parent.\n       The default implementation returns the records as a single group.\n       @method groupRecordsForFindMany\n      @public\n      @param {Store} store\n      @param {Array} snapshots\n      @return {Array}  an array of arrays of records, each of which is to be\n                        loaded separately by `findMany`.\n    */\n    groupRecordsForFindMany(store, snapshots) {\n      return [snapshots];\n    }\n\n    /**\n      This method is used by the store to determine if the store should\n      reload a record from the adapter when a record is requested by\n      `store.findRecord`.\n       If this method returns `true`, the store will re-fetch a record from\n      the adapter. If this method returns `false`, the store will resolve\n      immediately using the cached record.\n       For example, if you are building an events ticketing system, in which users\n      can only reserve tickets for 20 minutes at a time, and want to ensure that\n      in each route you have data that is no more than 20 minutes old you could\n      write:\n       ```javascript\n      shouldReloadRecord(store, ticketSnapshot) {\n        let lastAccessedAt = ticketSnapshot.attr('lastAccessedAt');\n        let timeDiff = moment().diff(lastAccessedAt, 'minutes');\n         if (timeDiff > 20) {\n          return true;\n        } else {\n          return false;\n        }\n      }\n      ```\n       This method would ensure that whenever you do `store.findRecord('ticket',\n      id)` you will always get a ticket that is no more than 20 minutes old. In\n      case the cached version is more than 20 minutes old, `findRecord` will not\n      resolve until you fetched the latest version.\n       By default this hook returns `false`, as most UIs should not block user\n      interactions while waiting on data update.\n       Note that, with default settings, `shouldBackgroundReloadRecord` will always\n      re-fetch the records in the background even if `shouldReloadRecord` returns\n      `false`. You can override `shouldBackgroundReloadRecord` if this does not\n      suit your use case.\n       @since 1.13.0\n      @method shouldReloadRecord\n      @param {Store} store\n      @param {Snapshot} snapshot\n      @return {Boolean}\n      @public\n    */\n    shouldReloadRecord(store, snapshot) {\n      return false;\n    }\n\n    /**\n      This method is used by the store to determine if the store should\n      reload all records from the adapter when records are requested by\n      `store.findAll`.\n       If this method returns `true`, the store will re-fetch all records from\n      the adapter. If this method returns `false`, the store will resolve\n      immediately using the cached records.\n       For example, if you are building an events ticketing system, in which users\n      can only reserve tickets for 20 minutes at a time, and want to ensure that\n      in each route you have data that is no more than 20 minutes old you could\n      write:\n       ```javascript\n      shouldReloadAll(store, snapshotArray) {\n        let snapshots = snapshotArray.snapshots();\n         return snapshots.any((ticketSnapshot) => {\n          let lastAccessedAt = ticketSnapshot.attr('lastAccessedAt');\n          let timeDiff = moment().diff(lastAccessedAt, 'minutes');\n           if (timeDiff > 20) {\n            return true;\n          } else {\n            return false;\n          }\n        });\n      }\n      ```\n       This method would ensure that whenever you do `store.findAll('ticket')` you\n      will always get a list of tickets that are no more than 20 minutes old. In\n      case a cached version is more than 20 minutes old, `findAll` will not\n      resolve until you fetched the latest versions.\n       By default, this method returns `true` if the passed `snapshotRecordArray`\n      is empty (meaning that there are no records locally available yet),\n      otherwise, it returns `false`.\n       Note that, with default settings, `shouldBackgroundReloadAll` will always\n      re-fetch all the records in the background even if `shouldReloadAll` returns\n      `false`. You can override `shouldBackgroundReloadAll` if this does not suit\n      your use case.\n       @since 1.13.0\n      @method shouldReloadAll\n      @param {Store} store\n      @param {SnapshotRecordArray} snapshotRecordArray\n      @return {Boolean}\n      @public\n    */\n    shouldReloadAll(store, snapshotRecordArray) {\n      return !snapshotRecordArray.length;\n    }\n\n    /**\n      This method is used by the store to determine if the store should\n      reload a record after the `store.findRecord` method resolves a\n      cached record.\n       This method is *only* checked by the store when the store is\n      returning a cached record.\n       If this method returns `true` the store will re-fetch a record from\n      the adapter.\n       For example, if you do not want to fetch complex data over a mobile\n      connection, or if the network is down, you can implement\n      `shouldBackgroundReloadRecord` as follows:\n       ```javascript\n      shouldBackgroundReloadRecord(store, snapshot) {\n        let { downlink, effectiveType } = navigator.connection;\n         return downlink > 0 && effectiveType === '4g';\n      }\n      ```\n       By default, this hook returns `true` so the data for the record is updated\n      in the background.\n       @since 1.13.0\n      @method shouldBackgroundReloadRecord\n      @param {Store} store\n      @param {Snapshot} snapshot\n      @return {Boolean}\n      @public\n    */\n    shouldBackgroundReloadRecord(store, Snapshot) {\n      return true;\n    }\n\n    /**\n      This method is used by the store to determine if the store should\n      reload a record array after the `store.findAll` method resolves\n      with a cached record array.\n       This method is *only* checked by the store when the store is\n      returning a cached record array.\n       If this method returns `true` the store will re-fetch all records\n      from the adapter.\n       For example, if you do not want to fetch complex data over a mobile\n      connection, or if the network is down, you can implement\n      `shouldBackgroundReloadAll` as follows:\n       ```javascript\n      shouldBackgroundReloadAll(store, snapshotArray) {\n        let { downlink, effectiveType } = navigator.connection;\n         return downlink > 0 && effectiveType === '4g';\n      }\n      ```\n       By default this method returns `true`, indicating that a background reload\n      should always be triggered.\n       @since 1.13.0\n      @method shouldBackgroundReloadAll\n      @param {Store} store\n      @param {SnapshotRecordArray} snapshotRecordArray\n      @return {Boolean}\n      @public\n    */\n    shouldBackgroundReloadAll(store, snapshotRecordArray) {\n      return true;\n    }\n  }\n  _exports.default = Adapter;\n});","define(\"@ember-data/adapter/json-api\", [\"exports\", \"@ember/string\", \"ember-inflector\", \"@ember-data/adapter/-private\", \"@ember-data/adapter/rest\"], function (_exports, _string, _emberInflector, _private, _rest) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n    @module @ember-data/adapter/json-api\n   */\n\n  /**\n    The `JSONAPIAdapter` is the default adapter used by Ember Data. It\n    is responsible for transforming the store's requests into HTTP\n    requests that follow the [JSON API](http://jsonapi.org/format/)\n    format.\n  \n    ## JSON API Conventions\n  \n    The JSONAPIAdapter uses JSON API conventions for building the URL\n    for a record and selecting the HTTP verb to use with a request. The\n    actions you can take on a record map onto the following URLs in the\n    JSON API adapter:\n  \n  <table>\n    <tr>\n      <th>\n        Action\n      </th>\n      <th>\n        HTTP Verb\n      </th>\n      <th>\n        URL\n      </th>\n    </tr>\n    <tr>\n      <th>\n        `store.findRecord('post', 123)`\n      </th>\n      <td>\n        GET\n      </td>\n      <td>\n        /posts/123\n      </td>\n    </tr>\n    <tr>\n      <th>\n        `store.findAll('post')`\n      </th>\n      <td>\n        GET\n      </td>\n      <td>\n        /posts\n      </td>\n    </tr>\n    <tr>\n      <th>\n        Update `postRecord.save()`\n      </th>\n      <td>\n        PATCH\n      </td>\n      <td>\n        /posts/123\n      </td>\n    </tr>\n    <tr>\n      <th>\n        Create `store.createRecord('post').save()`\n      </th>\n      <td>\n        POST\n      </td>\n      <td>\n        /posts\n      </td>\n    </tr>\n    <tr>\n      <th>\n        Delete `postRecord.destroyRecord()`\n      </th>\n      <td>\n        DELETE\n      </td>\n      <td>\n        /posts/123\n      </td>\n    </tr>\n  </table>\n  \n    ## Success and failure\n  \n    The JSONAPIAdapter will consider a success any response with a\n    status code of the 2xx family (\"Success\"), as well as 304 (\"Not\n    Modified\"). Any other status code will be considered a failure.\n  \n    On success, the request promise will be resolved with the full\n    response payload.\n  \n    Failed responses with status code 422 (\"Unprocessable Entity\") will\n    be considered \"invalid\". The response will be discarded, except for\n    the `errors` key. The request promise will be rejected with a\n    `InvalidError`. This error object will encapsulate the saved\n    `errors` value.\n  \n    Any other status codes will be treated as an adapter error. The\n    request promise will be rejected, similarly to the invalid case,\n    but with an instance of `AdapterError` instead.\n  \n    ### Endpoint path customization\n  \n    Endpoint paths can be prefixed with a `namespace` by setting the\n    namespace property on the adapter:\n  \n    ```app/adapters/application.js\n    import JSONAPIAdapter from '@ember-data/adapter/json-api';\n  \n    export default class ApplicationAdapter extends JSONAPIAdapter {\n      namespace = 'api/1';\n    }\n    ```\n    Requests for the `person` model would now target `/api/1/people/1`.\n  \n    ### Host customization\n  \n    An adapter can target other hosts by setting the `host` property.\n  \n    ```app/adapters/application.js\n    import JSONAPIAdapter from '@ember-data/adapter/json-api';\n  \n    export default class ApplicationAdapter extends JSONAPIAdapter {\n      host = 'https://api.example.com';\n    }\n    ```\n  \n    Requests for the `person` model would now target\n    `https://api.example.com/people/1`.\n  \n    @since 1.13.0\n    @class JSONAPIAdapter\n    @main @ember-data/adapter/json-api\n    @public\n    @constructor\n    @extends RESTAdapter\n  */\n  class JSONAPIAdapter extends _rest.default {\n    constructor(...args) {\n      super(...args);\n      this.defaultSerializer = '-json-api';\n      this._defaultContentType = 'application/vnd.api+json';\n    }\n    /**\n      @method ajaxOptions\n      @private\n      @param {String} url\n      @param {String} type The request type GET, POST, PUT, DELETE etc.\n      @param {Object} options\n      @return {Object}\n    */\n    ajaxOptions(url, type, options = {}) {\n      var hash = super.ajaxOptions(url, type, options);\n      hash.headers['Accept'] = hash.headers['Accept'] || 'application/vnd.api+json';\n      return hash;\n    }\n\n    /**\n      By default the JSONAPIAdapter will send each find request coming from a `store.find`\n      or from accessing a relationship separately to the server. If your server supports passing\n      ids as a query string, you can set coalesceFindRequests to true to coalesce all find requests\n      within a single runloop.\n       For example, if you have an initial payload of:\n       ```javascript\n      {\n        data: {\n          id: 1,\n          type: 'post',\n          relationship: {\n            comments: {\n              data: [\n                { id: 1, type: 'comment' },\n                { id: 2, type: 'comment' }\n              ]\n            }\n          }\n        }\n      }\n      ```\n       By default calling `post.get('comments')` will trigger the following requests(assuming the\n      comments haven't been loaded before):\n       ```\n      GET /comments/1\n      GET /comments/2\n      ```\n       If you set coalesceFindRequests to `true` it will instead trigger the following request:\n       ```\n      GET /comments?filter[id]=1,2\n      ```\n       Setting coalesceFindRequests to `true` also works for `store.find` requests and `belongsTo`\n      relationships accessed within the same runloop. If you set `coalesceFindRequests: true`\n       ```javascript\n      store.findRecord('comment', 1);\n      store.findRecord('comment', 2);\n      ```\n       will also send a request to: `GET /comments?filter[id]=1,2`\n       Note: Requests coalescing rely on URL building strategy. So if you override `buildURL` in your app\n      `groupRecordsForFindMany` more likely should be overridden as well in order for coalescing to work.\n       @property coalesceFindRequests\n      @public\n      @type {boolean}\n    */\n    get coalesceFindRequests() {\n      var coalesceFindRequests = this._coalesceFindRequests;\n      if (typeof coalesceFindRequests === 'boolean') {\n        return coalesceFindRequests;\n      }\n      return this._coalesceFindRequests = false;\n    }\n    set coalesceFindRequests(value) {\n      this._coalesceFindRequests = value;\n    }\n    findMany(store, type, ids, snapshots) {\n      var url = this.buildURL(type.modelName, ids, snapshots, 'findMany');\n      return this.ajax(url, 'GET', {\n        data: {\n          filter: {\n            id: ids.join(',')\n          }\n        }\n      });\n    }\n    pathForType(modelName) {\n      var dasherized = (0, _string.dasherize)(modelName);\n      return (0, _emberInflector.pluralize)(dasherized);\n    }\n    updateRecord(store, type, snapshot) {\n      var data = (0, _private.serializeIntoHash)(store, type, snapshot);\n      var url = this.buildURL(type.modelName, snapshot.id, snapshot, 'updateRecord');\n      return this.ajax(url, 'PATCH', {\n        data: data\n      });\n    }\n  }\n  var _default = _exports.default = JSONAPIAdapter;\n});","define(\"@ember-data/adapter/rest\", [\"exports\", \"@ember/application\", \"@ember/debug\", \"@ember/object\", \"@ember/polyfills\", \"@ember/runloop\", \"require\", \"rsvp\", \"@ember-data/adapter\", \"@ember-data/adapter/error\", \"@ember-data/store/-private\", \"@ember-data/adapter/-private\"], function (_exports, _application, _debug, _object, _polyfills, _runloop, _require, _rsvp, _adapter, _error, _private, _private2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.fetchOptions = fetchOptions;\n  var _dec, _class;\n  /**\n    @module @ember-data/adapter/rest\n  */\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  var UseFetch = (0, _private.symbol)('useFetch');\n  var hasJQuery = typeof jQuery !== 'undefined';\n\n  /**\n    The REST adapter allows your store to communicate with an HTTP server by\n    transmitting JSON via XHR. Most Ember.js apps that consume a JSON API\n    should use the REST adapter.\n  \n    This adapter is designed around the idea that the JSON exchanged with\n    the server should be conventional.\n  \n    ## Success and failure\n  \n    The REST adapter will consider a success any response with a status code\n    of the 2xx family (\"Success\"), as well as 304 (\"Not Modified\"). Any other\n    status code will be considered a failure.\n  \n    On success, the request promise will be resolved with the full response\n    payload.\n  \n    Failed responses with status code 422 (\"Unprocessable Entity\") will be\n    considered \"invalid\". The response will be discarded, except for the\n    `errors` key. The request promise will be rejected with a `InvalidError`.\n    This error object will encapsulate the saved `errors` value.\n  \n    Any other status codes will be treated as an \"adapter error\". The request\n    promise will be rejected, similarly to the \"invalid\" case, but with\n    an instance of `AdapterError` instead.\n  \n    ## JSON Structure\n  \n    The REST adapter expects the JSON returned from your server to follow\n    these conventions.\n  \n    ### Object Root\n  \n    The JSON payload should be an object that contains the record inside a\n    root property. For example, in response to a `GET` request for\n    `/posts/1`, the JSON should look like this:\n  \n    ```js\n    {\n      \"posts\": {\n        \"id\": 1,\n        \"title\": \"I'm Running to Reform the W3C's Tag\",\n        \"author\": \"Yehuda Katz\"\n      }\n    }\n    ```\n  \n    Similarly, in response to a `GET` request for `/posts`, the JSON should\n    look like this:\n  \n    ```js\n    {\n      \"posts\": [\n        {\n          \"id\": 1,\n          \"title\": \"I'm Running to Reform the W3C's Tag\",\n          \"author\": \"Yehuda Katz\"\n        },\n        {\n          \"id\": 2,\n          \"title\": \"Rails is omakase\",\n          \"author\": \"D2H\"\n        }\n      ]\n    }\n    ```\n  \n    Note that the object root can be pluralized for both a single-object response\n    and an array response: the REST adapter is not strict on this. Further, if the\n    HTTP server responds to a `GET` request to `/posts/1` (e.g. the response to a\n    `findRecord` query) with more than one object in the array, Ember Data will\n    only display the object with the matching ID.\n  \n    ### Conventional Names\n  \n    Attribute names in your JSON payload should be the camelCased versions of\n    the attributes in your Ember.js models.\n  \n    For example, if you have a `Person` model:\n  \n    ```app/models/person.js\n    import Model, { attr } from '@ember-data/model';\n  \n    export default Model.extend({\n      firstName: attr('string'),\n      lastName: attr('string'),\n      occupation: attr('string')\n    });\n    ```\n  \n    The JSON returned should look like this:\n  \n    ```js\n    {\n      \"people\": {\n        \"id\": 5,\n        \"firstName\": \"Zaphod\",\n        \"lastName\": \"Beeblebrox\",\n        \"occupation\": \"President\"\n      }\n    }\n    ```\n  \n    #### Relationships\n  \n    Relationships are usually represented by ids to the record in the\n    relationship. The related records can then be sideloaded in the\n    response under a key for the type.\n  \n    ```js\n    {\n      \"posts\": {\n        \"id\": 5,\n        \"title\": \"I'm Running to Reform the W3C's Tag\",\n        \"author\": \"Yehuda Katz\",\n        \"comments\": [1, 2]\n      },\n      \"comments\": [{\n        \"id\": 1,\n        \"author\": \"User 1\",\n        \"message\": \"First!\",\n      }, {\n        \"id\": 2,\n        \"author\": \"User 2\",\n        \"message\": \"Good Luck!\",\n      }]\n    }\n    ```\n  \n    If the records in the relationship are not known when the response\n    is serialized it's also possible to represent the relationship as a\n    URL using the `links` key in the response. Ember Data will fetch\n    this URL to resolve the relationship when it is accessed for the\n    first time.\n  \n    ```js\n    {\n      \"posts\": {\n        \"id\": 5,\n        \"title\": \"I'm Running to Reform the W3C's Tag\",\n        \"author\": \"Yehuda Katz\",\n        \"links\": {\n          \"comments\": \"/posts/5/comments\"\n        }\n      }\n    }\n    ```\n  \n    ### Errors\n  \n    If a response is considered a failure, the JSON payload is expected to include\n    a top-level key `errors`, detailing any specific issues. For example:\n  \n    ```js\n    {\n      \"errors\": {\n        \"msg\": \"Something went wrong\"\n      }\n    }\n    ```\n  \n    This adapter does not make any assumptions as to the format of the `errors`\n    object. It will simply be passed along as is, wrapped in an instance\n    of `InvalidError` or `AdapterError`. The serializer can interpret it\n    afterwards.\n  \n    ## Customization\n  \n    ### Endpoint path customization\n  \n    Endpoint paths can be prefixed with a `namespace` by setting the namespace\n    property on the adapter:\n  \n    ```app/adapters/application.js\n    import RESTAdapter from '@ember-data/adapter/rest';\n  \n    export default class ApplicationAdapter extends RESTAdapter {\n      namespace = 'api/1';\n    }\n    ```\n    Requests for the `Person` model would now target `/api/1/people/1`.\n  \n    ### Host customization\n  \n    An adapter can target other hosts by setting the `host` property.\n  \n    ```app/adapters/application.js\n    import RESTAdapter from '@ember-data/adapter/rest';\n  \n    export default class ApplicationAdapter extends RESTAdapter {\n      host = 'https://api.example.com';\n    }\n    ```\n  \n    ### Headers customization\n  \n    Some APIs require HTTP headers, e.g. to provide an API key. Arbitrary\n    headers can be set as key/value pairs on the `RESTAdapter`'s `headers`\n    object and Ember Data will send them along with each ajax request.\n  \n  \n    ```app/adapters/application.js\n    import RESTAdapter from '@ember-data/adapter/rest';\n    import { computed } from '@ember/object';\n  \n    export default class ApplicationAdapter extends RESTAdapter {\n      headers: computed(function() {\n        return {\n          'API_KEY': 'secret key',\n          'ANOTHER_HEADER': 'Some header value'\n        };\n      }\n    }\n    ```\n  \n    `headers` can also be used as a computed property to support dynamic\n    headers. In the example below, the `session` object has been\n    injected into an adapter by Ember's container.\n  \n    ```app/adapters/application.js\n    import RESTAdapter from '@ember-data/adapter/rest';\n    import { computed } from '@ember/object';\n  \n    export default class ApplicationAdapter extends RESTAdapter {\n      headers: computed('session.authToken', function() {\n        return {\n          'API_KEY': this.get('session.authToken'),\n          'ANOTHER_HEADER': 'Some header value'\n        };\n      })\n    }\n    ```\n  \n    In some cases, your dynamic headers may require data from some\n    object outside of Ember's observer system (for example\n    `document.cookie`). You can use the\n    [volatile](/api/classes/Ember.ComputedProperty.html?anchor=volatile)\n    function to set the property into a non-cached mode causing the headers to\n    be recomputed with every request.\n  \n    ```app/adapters/application.js\n    import RESTAdapter from '@ember-data/adapter/rest';\n    import { get } from '@ember/object';\n    import { computed } from '@ember/object';\n  \n    export default class ApplicationAdapter extends RESTAdapter {\n      headers: computed(function() {\n        return {\n          'API_KEY': get(document.cookie.match(/apiKey\\=([^;]*)/), '1'),\n          'ANOTHER_HEADER': 'Some header value'\n        };\n      }).volatile()\n    }\n    ```\n  \n    @class RESTAdapter\n    @main @ember-data/adapter/rest\n    @public\n    @constructor\n    @extends Adapter\n    @uses BuildURLMixin\n  */\n  var RESTAdapter = (_dec = (0, _object.computed)(), _class = class RESTAdapter extends _adapter.default.extend(_adapter.BuildURLMixin) {\n    constructor(...args) {\n      super(...args);\n      /**\n         If jQuery or nAjax are installed, this property\n        allows fetch to still be used instead when `true`.\n         @property useFetch\n        @type {Boolean}\n        @public\n      */\n      this.defaultSerializer = '-rest';\n      this._defaultContentType = 'application/json; charset=utf-8';\n      // http://stackoverflow.com/questions/417142/what-is-the-maximum-length-of-a-url-in-different-browsers\n      this.maxURLLength = 2048;\n    }\n    get fastboot() {\n      // Avoid computed property override deprecation in fastboot as suggested by:\n      // https://deprecations.emberjs.com/v3.x/#toc_computed-property-override\n      var fastboot = this._fastboot;\n      if (fastboot) {\n        return fastboot;\n      }\n      return this._fastboot = (0, _application.getOwner)(this).lookup('service:fastboot');\n    }\n    set fastboot(value) {\n      this._fastboot = value;\n    }\n\n    /**\n      By default, the RESTAdapter will send the query params sorted alphabetically to the\n      server.\n       For example:\n       ```js\n      store.query('posts', { sort: 'price', category: 'pets' });\n      ```\n       will generate a requests like this `/posts?category=pets&sort=price`, even if the\n      parameters were specified in a different order.\n       That way the generated URL will be deterministic and that simplifies caching mechanisms\n      in the backend.\n       Setting `sortQueryParams` to a falsey value will respect the original order.\n       In case you want to sort the query parameters with a different criteria, set\n      `sortQueryParams` to your custom sort function.\n       ```app/adapters/application.js\n      import RESTAdapter from '@ember-data/adapter/rest';\n       export default class ApplicationAdapter extends RESTAdapter {\n        sortQueryParams(params) {\n          let sortedKeys = Object.keys(params).sort().reverse();\n          let len = sortedKeys.length, newParams = {};\n           for (let i = 0; i < len; i++) {\n            newParams[sortedKeys[i]] = params[sortedKeys[i]];\n          }\n           return newParams;\n        }\n      }\n      ```\n       @method sortQueryParams\n      @param {Object} obj\n      @return {Object}\n      @public\n    */\n    sortQueryParams(obj) {\n      var keys = Object.keys(obj);\n      var len = keys.length;\n      if (len < 2) {\n        return obj;\n      }\n      var newQueryParams = {};\n      var sortedKeys = keys.sort();\n      for (var i = 0; i < len; i++) {\n        newQueryParams[sortedKeys[i]] = obj[sortedKeys[i]];\n      }\n      return newQueryParams;\n    }\n\n    /**\n      By default the RESTAdapter will send each find request coming from a `store.find`\n      or from accessing a relationship separately to the server. If your server supports passing\n      ids as a query string, you can set coalesceFindRequests to true to coalesce all find requests\n      within a single runloop.\n       For example, if you have an initial payload of:\n       ```javascript\n      {\n        post: {\n          id: 1,\n          comments: [1, 2]\n        }\n      }\n      ```\n       By default calling `post.get('comments')` will trigger the following requests(assuming the\n      comments haven't been loaded before):\n       ```\n      GET /comments/1\n      GET /comments/2\n      ```\n       If you set coalesceFindRequests to `true` it will instead trigger the following request:\n       ```\n      GET /comments?ids[]=1&ids[]=2\n      ```\n       Setting coalesceFindRequests to `true` also works for `store.find` requests and `belongsTo`\n      relationships accessed within the same runloop. If you set `coalesceFindRequests: true`\n       ```javascript\n      store.findRecord('comment', 1);\n      store.findRecord('comment', 2);\n      ```\n       will also send a request to: `GET /comments?ids[]=1&ids[]=2`\n       Note: Requests coalescing rely on URL building strategy. So if you override `buildURL` in your app\n      `groupRecordsForFindMany` more likely should be overridden as well in order for coalescing to work.\n       @property coalesceFindRequests\n      @public\n      @type {boolean}\n    */\n    get coalesceFindRequests() {\n      var coalesceFindRequests = this._coalesceFindRequests;\n      if (typeof coalesceFindRequests === 'boolean') {\n        return coalesceFindRequests;\n      }\n      return this._coalesceFindRequests = false;\n    }\n    set coalesceFindRequests(value) {\n      this._coalesceFindRequests = value;\n    }\n\n    /**\n      Endpoint paths can be prefixed with a `namespace` by setting the namespace\n      property on the adapter:\n       ```app/adapters/application.js\n      import RESTAdapter from '@ember-data/adapter/rest';\n       export default class ApplicationAdapter extends RESTAdapter {\n        namespace = 'api/1';\n      }\n      ```\n       Requests for the `Post` model would now target `/api/1/post/`.\n       @property namespace\n      @public\n      @type {String}\n    */\n\n    /**\n      An adapter can target other hosts by setting the `host` property.\n       ```app/adapters/application.js\n      import RESTAdapter from '@ember-data/adapter/rest';\n       export default class ApplicationAdapter extends RESTAdapter {\n        host = 'https://api.example.com';\n      }\n      ```\n       Requests for the `Post` model would now target `https://api.example.com/post/`.\n       @property host\n      @public\n      @type {String}\n    */\n\n    /**\n      Some APIs require HTTP headers, e.g. to provide an API\n      key. Arbitrary headers can be set as key/value pairs on the\n      `RESTAdapter`'s `headers` object and Ember Data will send them\n      along with each ajax request. For dynamic headers see [headers\n      customization](/ember-data/release/classes/RESTAdapter).\n       ```app/adapters/application.js\n      import RESTAdapter from '@ember-data/adapter/rest';\n      import { computed } from '@ember/object';\n       export default class ApplicationAdapter extends RESTAdapter {\n        headers: computed(function() {\n          return {\n            'API_KEY': 'secret key',\n            'ANOTHER_HEADER': 'Some header value'\n          };\n        })\n      }\n      ```\n       @property headers\n      @public\n      @type {Object}\n     */\n\n    /**\n      Called by the store in order to fetch the JSON for a given\n      type and ID.\n       The `findRecord` method makes an Ajax request to a URL computed by\n      `buildURL`, and returns a promise for the resulting payload.\n       This method performs an HTTP `GET` request with the id provided as part of the query string.\n       @since 1.13.0\n      @method findRecord\n      @public\n      @param {Store} store\n      @param {Model} type\n      @param {String} id\n      @param {Snapshot} snapshot\n      @return {Promise} promise\n    */\n    findRecord(store, type, id, snapshot) {\n      var url = this.buildURL(type.modelName, id, snapshot, 'findRecord');\n      var query = this.buildQuery(snapshot);\n      return this.ajax(url, 'GET', {\n        data: query\n      });\n    }\n\n    /**\n      Called by the store in order to fetch a JSON array for all\n      of the records for a given type.\n       The `findAll` method makes an Ajax (HTTP GET) request to a URL computed by `buildURL`, and returns a\n      promise for the resulting payload.\n       @method findAll\n      @public\n      @param {Store} store\n      @param {Model} type\n      @param {undefined} neverSet a value is never provided to this argument\n      @param {SnapshotRecordArray} snapshotRecordArray\n      @return {Promise} promise\n    */\n    findAll(store, type, sinceToken, snapshotRecordArray) {\n      var query = this.buildQuery(snapshotRecordArray);\n      var url = this.buildURL(type.modelName, null, snapshotRecordArray, 'findAll');\n      if (sinceToken) {\n        query.since = sinceToken;\n      }\n      return this.ajax(url, 'GET', {\n        data: query\n      });\n    }\n\n    /**\n      Called by the store in order to fetch a JSON array for\n      the records that match a particular query.\n       The `query` method makes an Ajax (HTTP GET) request to a URL\n      computed by `buildURL`, and returns a promise for the resulting\n      payload.\n       The `query` argument is a simple JavaScript object that will be passed directly\n      to the server as parameters.\n       @method query\n      @public\n      @param {Store} store\n      @param {Model} type\n      @param {Object} query\n      @param {AdapterPopulatedRecordArray} recordArray\n      @param {Object} adapterOptions\n      @return {Promise} promise\n    */\n    query(store, type, query) {\n      var url = this.buildURL(type.modelName, null, null, 'query', query);\n      if (this.sortQueryParams) {\n        query = this.sortQueryParams(query);\n      }\n      return this.ajax(url, 'GET', {\n        data: query\n      });\n    }\n\n    /**\n      Called by the store in order to fetch a JSON object for\n      the record that matches a particular query.\n       The `queryRecord` method makes an Ajax (HTTP GET) request to a URL\n      computed by `buildURL`, and returns a promise for the resulting\n      payload.\n       The `query` argument is a simple JavaScript object that will be passed directly\n      to the server as parameters.\n       @since 1.13.0\n      @method queryRecord\n      @public\n      @param {Store} store\n      @param {Model} type\n      @param {Object} query\n      @param {Object} adapterOptions\n      @return {Promise} promise\n    */\n    queryRecord(store, type, query, adapterOptions) {\n      var url = this.buildURL(type.modelName, null, null, 'queryRecord', query);\n      if (this.sortQueryParams) {\n        query = this.sortQueryParams(query);\n      }\n      return this.ajax(url, 'GET', {\n        data: query\n      });\n    }\n\n    /**\n      Called by the store in order to fetch several records together if `coalesceFindRequests` is true\n       For example, if the original payload looks like:\n       ```js\n      {\n        \"id\": 1,\n        \"title\": \"Rails is omakase\",\n        \"comments\": [ 1, 2, 3 ]\n      }\n      ```\n       The IDs will be passed as a URL-encoded Array of IDs, in this form:\n       ```\n      ids[]=1&ids[]=2&ids[]=3\n      ```\n       Many servers, such as Rails and PHP, will automatically convert this URL-encoded array\n      into an Array for you on the server-side. If you want to encode the\n      IDs, differently, just override this (one-line) method.\n       The `findMany` method makes an Ajax (HTTP GET) request to a URL computed by `buildURL`, and returns a\n      promise for the resulting payload.\n       @method findMany\n      @public\n      @param {Store} store\n      @param {Model} type\n      @param {Array} ids\n      @param {Array} snapshots\n      @return {Promise} promise\n    */\n    findMany(store, type, ids, snapshots) {\n      var url = this.buildURL(type.modelName, ids, snapshots, 'findMany');\n      return this.ajax(url, 'GET', {\n        data: {\n          ids: ids\n        }\n      });\n    }\n\n    /**\n      Called by the store in order to fetch a JSON array for\n      the unloaded records in a has-many relationship that were originally\n      specified as a URL (inside of `links`).\n       For example, if your original payload looks like this:\n       ```js\n      {\n        \"post\": {\n          \"id\": 1,\n          \"title\": \"Rails is omakase\",\n          \"links\": { \"comments\": \"/posts/1/comments\" }\n        }\n      }\n      ```\n       This method will be called with the parent record and `/posts/1/comments`.\n       The `findHasMany` method will make an Ajax (HTTP GET) request to the originally specified URL.\n       The format of your `links` value will influence the final request URL via the `urlPrefix` method:\n       * Links beginning with `//`, `http://`, `https://`, will be used as is, with no further manipulation.\n       * Links beginning with a single `/` will have the current adapter's `host` value prepended to it.\n       * Links with no beginning `/` will have a parentURL prepended to it, via the current adapter's `buildURL`.\n       @method findHasMany\n      @public\n      @param {Store} store\n      @param {Snapshot} snapshot\n      @param {String} url\n      @param {Object} relationship meta object describing the relationship\n      @return {Promise} promise\n    */\n    findHasMany(store, snapshot, url, relationship) {\n      var id = snapshot.id;\n      var type = snapshot.modelName;\n      url = this.urlPrefix(url, this.buildURL(type, id, snapshot, 'findHasMany'));\n      return this.ajax(url, 'GET');\n    }\n\n    /**\n      Called by the store in order to fetch the JSON for the unloaded record in a\n      belongs-to relationship that was originally specified as a URL (inside of\n      `links`).\n       For example, if your original payload looks like this:\n       ```js\n      {\n        \"person\": {\n          \"id\": 1,\n          \"name\": \"Tom Dale\",\n          \"links\": { \"group\": \"/people/1/group\" }\n        }\n      }\n      ```\n       This method will be called with the parent record and `/people/1/group`.\n       The `findBelongsTo` method will make an Ajax (HTTP GET) request to the originally specified URL.\n       The format of your `links` value will influence the final request URL via the `urlPrefix` method:\n       * Links beginning with `//`, `http://`, `https://`, will be used as is, with no further manipulation.\n       * Links beginning with a single `/` will have the current adapter's `host` value prepended to it.\n       * Links with no beginning `/` will have a parentURL prepended to it, via the current adapter's `buildURL`.\n       @method findBelongsTo\n      @public\n      @param {Store} store\n      @param {Snapshot} snapshot\n      @param {String} url\n      @param {Object} relationship meta object describing the relationship\n      @return {Promise} promise\n    */\n    findBelongsTo(store, snapshot, url, relationship) {\n      var id = snapshot.id;\n      var type = snapshot.modelName;\n      url = this.urlPrefix(url, this.buildURL(type, id, snapshot, 'findBelongsTo'));\n      return this.ajax(url, 'GET');\n    }\n\n    /**\n      Called by the store when a newly created record is\n      saved via the `save` method on a model record instance.\n       The `createRecord` method serializes the record and makes an Ajax (HTTP POST) request\n      to a URL computed by `buildURL`.\n       See `serialize` for information on how to customize the serialized form\n      of a record.\n       @method createRecord\n      @public\n      @param {Store} store\n      @param {Model} type\n      @param {Snapshot} snapshot\n      @return {Promise} promise\n    */\n    createRecord(store, type, snapshot) {\n      var url = this.buildURL(type.modelName, null, snapshot, 'createRecord');\n      var data = (0, _private2.serializeIntoHash)(store, type, snapshot);\n      return this.ajax(url, 'POST', {\n        data\n      });\n    }\n\n    /**\n      Called by the store when an existing record is saved\n      via the `save` method on a model record instance.\n       The `updateRecord` method serializes the record and makes an Ajax (HTTP PUT) request\n      to a URL computed by `buildURL`.\n       See `serialize` for information on how to customize the serialized form\n      of a record.\n       @method updateRecord\n      @public\n      @param {Store} store\n      @param {Model} type\n      @param {Snapshot} snapshot\n      @return {Promise} promise\n    */\n    updateRecord(store, type, snapshot) {\n      var data = (0, _private2.serializeIntoHash)(store, type, snapshot, {});\n      var id = snapshot.id;\n      var url = this.buildURL(type.modelName, id, snapshot, 'updateRecord');\n      return this.ajax(url, 'PUT', {\n        data\n      });\n    }\n\n    /**\n      Called by the store when a record is deleted.\n       The `deleteRecord` method  makes an Ajax (HTTP DELETE) request to a URL computed by `buildURL`.\n       @method deleteRecord\n      @public\n      @param {Store} store\n      @param {Model} type\n      @param {Snapshot} snapshot\n      @return {Promise} promise\n    */\n    deleteRecord(store, type, snapshot) {\n      var id = snapshot.id;\n      return this.ajax(this.buildURL(type.modelName, id, snapshot, 'deleteRecord'), 'DELETE');\n    }\n    _stripIDFromURL(store, snapshot) {\n      var url = this.buildURL(snapshot.modelName, snapshot.id, snapshot);\n      var expandedURL = url.split('/');\n      // Case when the url is of the format ...something/:id\n      // We are decodeURIComponent-ing the lastSegment because if it represents\n      // the id, it has been encodeURIComponent-ified within `buildURL`. If we\n      // don't do this, then records with id having special characters are not\n      // coalesced correctly (see GH #4190 for the reported bug)\n      var lastSegment = expandedURL[expandedURL.length - 1];\n      var id = snapshot.id;\n      if (decodeURIComponent(lastSegment) === id) {\n        expandedURL[expandedURL.length - 1] = '';\n      } else if (id && endsWith(lastSegment, '?id=' + id)) {\n        //Case when the url is of the format ...something?id=:id\n        expandedURL[expandedURL.length - 1] = lastSegment.substring(0, lastSegment.length - id.length - 1);\n      }\n      return expandedURL.join('/');\n    }\n    /**\n      Organize records into groups, each of which is to be passed to separate\n      calls to `findMany`.\n       This implementation groups together records that have the same base URL but\n      differing ids. For example `/comments/1` and `/comments/2` will be grouped together\n      because we know findMany can coalesce them together as `/comments?ids[]=1&ids[]=2`\n       It also supports urls where ids are passed as a query param, such as `/comments?id=1`\n      but not those where there is more than 1 query param such as `/comments?id=2&name=David`\n      Currently only the query param of `id` is supported. If you need to support others, please\n      override this or the `_stripIDFromURL` method.\n       It does not group records that have differing base urls, such as for example: `/posts/1/comments/2`\n      and `/posts/2/comments/3`\n       @method groupRecordsForFindMany\n      @public\n      @param {Store} store\n      @param {Array} snapshots\n      @return {Array}  an array of arrays of records, each of which is to be\n                        loaded separately by `findMany`.\n    */\n    groupRecordsForFindMany(store, snapshots) {\n      var groups = new Map();\n      var adapter = this;\n      var maxURLLength = this.maxURLLength;\n      snapshots.forEach(snapshot => {\n        var baseUrl = adapter._stripIDFromURL(store, snapshot);\n        if (!groups.has(baseUrl)) {\n          groups.set(baseUrl, []);\n        }\n        groups.get(baseUrl).push(snapshot);\n      });\n      function splitGroupToFitInUrl(group, maxURLLength, paramNameLength) {\n        var idsSize = 0;\n        var baseUrl = adapter._stripIDFromURL(store, group[0]);\n        var splitGroups = [[]];\n        group.forEach(snapshot => {\n          var additionalLength = encodeURIComponent(snapshot.id).length + paramNameLength;\n          if (baseUrl.length + idsSize + additionalLength >= maxURLLength) {\n            idsSize = 0;\n            splitGroups.push([]);\n          }\n          idsSize += additionalLength;\n          var lastGroupIndex = splitGroups.length - 1;\n          splitGroups[lastGroupIndex].push(snapshot);\n        });\n        return splitGroups;\n      }\n      var groupsArray = [];\n      groups.forEach((group, key) => {\n        var paramNameLength = '&ids%5B%5D='.length;\n        var splitGroups = splitGroupToFitInUrl(group, maxURLLength, paramNameLength);\n        splitGroups.forEach(splitGroup => groupsArray.push(splitGroup));\n      });\n      return groupsArray;\n    }\n\n    /**\n      Takes an ajax response, and returns the json payload or an error.\n       By default this hook just returns the json payload passed to it.\n      You might want to override it in two cases:\n       1. Your API might return useful results in the response headers.\n      Response headers are passed in as the second argument.\n       2. Your API might return errors as successful responses with status code\n      200 and an Errors text or object. You can return a `InvalidError` or a\n      `AdapterError` (or a sub class) from this hook and it will automatically\n      reject the promise and put your record into the invalid or error state.\n       Returning a `InvalidError` from this method will cause the\n      record to transition into the `invalid` state and make the\n      `errors` object available on the record. When returning an\n      `InvalidError` the store will attempt to normalize the error data\n      returned from the server using the serializer's `extractErrors`\n      method.\n       @since 1.13.0\n      @method handleResponse\n      @public\n      @param  {Number} status\n      @param  {Object} headers\n      @param  {Object} payload\n      @param  {Object} requestData - the original request information\n      @return {Object | AdapterError} response\n    */\n    handleResponse(status, headers, payload, requestData) {\n      if (this.isSuccess(status, headers, payload)) {\n        return payload;\n      } else if (this.isInvalid(status, headers, payload)) {\n        return new _error.InvalidError(typeof payload === 'object' ? payload.errors : undefined);\n      }\n      var errors = this.normalizeErrorResponse(status, headers, payload);\n      var detailedMessage = this.generatedDetailedMessage(status, headers, payload, requestData);\n      switch (status) {\n        case 401:\n          return new _error.UnauthorizedError(errors, detailedMessage);\n        case 403:\n          return new _error.ForbiddenError(errors, detailedMessage);\n        case 404:\n          return new _error.NotFoundError(errors, detailedMessage);\n        case 409:\n          return new _error.ConflictError(errors, detailedMessage);\n        default:\n          if (status >= 500) {\n            return new _error.ServerError(errors, detailedMessage);\n          }\n      }\n      return new _error.default(errors, detailedMessage);\n    }\n\n    /**\n      Default `handleResponse` implementation uses this hook to decide if the\n      response is a success.\n       @since 1.13.0\n      @method isSuccess\n      @public\n      @param  {Number} status\n      @param  {Object} headers\n      @param  {Object} payload\n      @return {Boolean}\n    */\n    isSuccess(status, _headers, _payload) {\n      return status >= 200 && status < 300 || status === 304;\n    }\n\n    /**\n      Default `handleResponse` implementation uses this hook to decide if the\n      response is an invalid error.\n       @since 1.13.0\n      @method isInvalid\n      @public\n      @param  {Number} status\n      @param  {Object} headers\n      @param  {Object} payload\n      @return {Boolean}\n    */\n    isInvalid(status, _headers, _payload) {\n      return status === 422;\n    }\n\n    /**\n      Takes a URL, an HTTP method and a hash of data, and makes an\n      HTTP request.\n       When the server responds with a payload, Ember Data will call into `extractSingle`\n      or `extractArray` (depending on whether the original query was for one record or\n      many records).\n       By default, `ajax` method has the following behavior:\n       * It sets the response `dataType` to `\"json\"`\n      * If the HTTP method is not `\"GET\"`, it sets the `Content-Type` to be\n        `application/json; charset=utf-8`\n      * If the HTTP method is not `\"GET\"`, it stringifies the data passed in. The\n        data is the serialized record in the case of a save.\n      * Registers success and failure handlers.\n       @method ajax\n      @private\n      @param {String} url\n      @param {String} type The request type GET, POST, PUT, DELETE etc.\n      @param {Object} options\n      @return {Promise} promise\n    */\n    ajax(url, type, options = {}) {\n      var adapter = this;\n      var requestData = {\n        url: url,\n        method: type\n      };\n      if (this.useFetch) {\n        var _response;\n        var hash = adapter.ajaxOptions(url, type, options);\n        return this._fetchRequest(hash).then(response => {\n          _response = response;\n          return (0, _private2.determineBodyPromise)(response, requestData);\n        }).then(payload => {\n          if (_response.ok && !(payload instanceof Error)) {\n            return fetchSuccessHandler(adapter, payload, _response, requestData);\n          } else {\n            throw fetchErrorHandler(adapter, payload, _response, null, requestData);\n          }\n        });\n      } else {\n        var _hash = adapter.ajaxOptions(url, type, options);\n        return new _rsvp.Promise(function (resolve, reject) {\n          _hash.success = function (payload, textStatus, jqXHR) {\n            var response = ajaxSuccessHandler(adapter, payload, jqXHR, requestData);\n            (0, _runloop.join)(null, resolve, response);\n          };\n          _hash.error = function (jqXHR, textStatus, errorThrown) {\n            var error = ajaxErrorHandler(adapter, jqXHR, errorThrown, requestData);\n            (0, _runloop.join)(null, reject, error);\n          };\n          adapter._ajax(_hash);\n        }, 'DS: RESTAdapter#ajax ' + type + ' to ' + url);\n      }\n    }\n\n    /**\n      @method _ajaxRequest\n      @private\n      @param {Object} options jQuery ajax options to be used for the ajax request\n    */\n    _ajaxRequest(options) {\n      // TODO add assertion that jquery is there rather then equality check\n      typeof jQuery !== 'undefined' && jQuery.ajax(options);\n    }\n    _fetchRequest(options) {\n      var fetchFunction = (0, _private2.fetch)();\n      if (fetchFunction) {\n        return fetchFunction(options.url, options);\n      } else {\n        throw new Error('cannot find the `fetch` module or the `fetch` global. Did you mean to install the `ember-fetch` addon?');\n      }\n    }\n    _ajax(options) {\n      if (this.useFetch) {\n        this._fetchRequest(options);\n      } else if (true /* DEPRECATE_NAJAX */ && this.fastboot && this.fastboot.isFastBoot) {\n        this._najaxRequest(options);\n      } else {\n        this._ajaxRequest(options);\n      }\n    }\n\n    /**\n      @method ajaxOptions\n      @private\n      @param {String} url\n      @param {String} type The request type GET, POST, PUT, DELETE etc.\n      @param {Object} options\n      @return {Object}\n    */\n    ajaxOptions(url, method, options) {\n      var reqOptions = (0, _polyfills.assign)({\n        url,\n        method,\n        type: method\n      }, options);\n      if (this.headers !== undefined) {\n        reqOptions.headers = (0, _polyfills.assign)({}, this.headers, reqOptions.headers);\n      } else if (!options.headers) {\n        reqOptions.headers = {};\n      }\n      var contentType = reqOptions.contentType || this._defaultContentType;\n      if (this.useFetch) {\n        if (reqOptions.data && reqOptions.type !== 'GET' && reqOptions.headers) {\n          if (!reqOptions.headers['Content-Type'] && !reqOptions.headers['content-type']) {\n            reqOptions.headers['content-type'] = contentType;\n          }\n        }\n        reqOptions = fetchOptions(reqOptions, this);\n      } else {\n        // GET requests without a body should not have a content-type header\n        // and may be unexpected by a server\n        if (reqOptions.data && reqOptions.type !== 'GET') {\n          reqOptions = (0, _polyfills.assign)(reqOptions, {\n            contentType\n          });\n        }\n        reqOptions = ajaxOptions(reqOptions, this);\n      }\n      reqOptions.url = this._ajaxURL(reqOptions.url);\n      return reqOptions;\n    }\n    _ajaxURL(url) {\n      if (this.fastboot?.isFastBoot) {\n        var httpRegex = /^https?:\\/\\//;\n        var protocolRelativeRegex = /^\\/\\//;\n        var protocol = this.fastboot.request.protocol;\n        var host = this.fastboot.request.host;\n        if (protocolRelativeRegex.test(url)) {\n          return `${protocol}${url}`;\n        } else if (!httpRegex.test(url)) {\n          try {\n            return `${protocol}//${host}${url}`;\n          } catch (fbError) {\n            throw new Error('You are using Ember Data with no host defined in your adapter. This will attempt to use the host of the FastBoot request, which is not configured for the current host of this request. Please set the hostWhitelist property for in your environment.js. FastBoot Error: ' + fbError.message);\n          }\n        }\n      }\n      return url;\n    }\n\n    /**\n      @method parseErrorResponse\n      @private\n      @param {String} responseText\n      @return {Object}\n    */\n    parseErrorResponse(responseText) {\n      var json = responseText;\n      try {\n        json = JSON.parse(responseText);\n      } catch (e) {\n        // ignored\n      }\n      return json;\n    }\n\n    /**\n      @method normalizeErrorResponse\n      @private\n      @param  {Number} status\n      @param  {Object} headers\n      @param  {Object} payload\n      @return {Array} errors payload\n    */\n    normalizeErrorResponse(status, _headers, payload) {\n      if (payload && typeof payload === 'object' && payload.errors instanceof Array) {\n        return payload.errors;\n      } else {\n        return [{\n          status: `${status}`,\n          title: 'The backend responded with an error',\n          detail: `${payload}`\n        }];\n      }\n    }\n\n    /**\n      Generates a detailed (\"friendly\") error message, with plenty\n      of information for debugging (good luck!)\n       @method generatedDetailedMessage\n      @private\n      @param  {Number} status\n      @param  {Object} headers\n      @param  {Object} payload\n      @param  {Object} requestData\n      @return {String} detailed error message\n    */\n    generatedDetailedMessage(status, headers, payload, requestData) {\n      var shortenedPayload;\n      var payloadContentType = headers['content-type'] || 'Empty Content-Type';\n      if (payloadContentType === 'text/html' && typeof payload === 'string' && payload.length > 250) {\n        shortenedPayload = '[Omitted Lengthy HTML]';\n      } else {\n        shortenedPayload = payload;\n      }\n      var requestDescription = requestData.method + ' ' + requestData.url;\n      var payloadDescription = 'Payload (' + payloadContentType + ')';\n      return ['Ember Data Request ' + requestDescription + ' returned a ' + status, payloadDescription, shortenedPayload].join('\\n');\n    }\n\n    /**\n      Used by `findAll` and `findRecord` to build the query's `data` hash\n      supplied to the ajax method. \n     \n      @method buildQuery\n      @since 2.5.0\n      @public\n      @param  {Snapshot} snapshot\n      @return {Object}\n    */\n    buildQuery(snapshot) {\n      var query = {};\n      if (snapshot) {\n        var {\n          include\n        } = snapshot;\n        if (include) {\n          query.include = include;\n        }\n      }\n      return query;\n    }\n  }, _applyDecoratedDescriptor(_class.prototype, \"fastboot\", [_dec], Object.getOwnPropertyDescriptor(_class.prototype, \"fastboot\"), _class.prototype), _class);\n  function ajaxSuccess(adapter, payload, requestData, responseData) {\n    var response;\n    try {\n      response = adapter.handleResponse(responseData.status, responseData.headers, payload, requestData);\n    } catch (error) {\n      return _rsvp.Promise.reject(error);\n    }\n    if (response && response.isAdapterError) {\n      return _rsvp.Promise.reject(response);\n    } else {\n      return response;\n    }\n  }\n  function ajaxError(adapter, payload, requestData, responseData) {\n    var error;\n    if (responseData.errorThrown instanceof Error && payload !== '') {\n      error = responseData.errorThrown;\n    } else if (responseData.textStatus === 'timeout') {\n      error = new _error.TimeoutError();\n    } else if (responseData.textStatus === 'abort' || responseData.status === 0) {\n      error = handleAbort(requestData, responseData);\n    } else {\n      try {\n        error = adapter.handleResponse(responseData.status, responseData.headers, payload || responseData.errorThrown, requestData);\n      } catch (e) {\n        error = e;\n      }\n    }\n    return error;\n  }\n\n  // Adapter abort error to include any relevent info, e.g. request/response:\n  function handleAbort(requestData, responseData) {\n    var {\n      method,\n      url,\n      errorThrown\n    } = requestData;\n    var {\n      status\n    } = responseData;\n    var msg = `Request failed: ${method} ${url} ${errorThrown || ''}`;\n    var errors = [{\n      title: 'Adapter Error',\n      detail: msg.trim(),\n      status\n    }];\n    return new _error.AbortError(errors);\n  }\n\n  //From http://stackoverflow.com/questions/280634/endswith-in-javascript\n  function endsWith(string, suffix) {\n    if (typeof String.prototype.endsWith !== 'function') {\n      return string.indexOf(suffix, string.length - suffix.length) !== -1;\n    } else {\n      return string.endsWith(suffix);\n    }\n  }\n  function fetchSuccessHandler(adapter, payload, response, requestData) {\n    var responseData = fetchResponseData(response);\n    return ajaxSuccess(adapter, payload, requestData, responseData);\n  }\n  function fetchErrorHandler(adapter, payload, response, errorThrown, requestData) {\n    var responseData = fetchResponseData(response);\n    if (responseData.status === 200 && payload instanceof Error) {\n      responseData.errorThrown = payload;\n      payload = responseData.errorThrown.payload;\n    } else {\n      responseData.errorThrown = errorThrown;\n      if (typeof payload === 'string') {\n        payload = adapter.parseErrorResponse(payload);\n      }\n    }\n    return ajaxError(adapter, payload, requestData, responseData);\n  }\n  function ajaxSuccessHandler(adapter, payload, jqXHR, requestData) {\n    var responseData = ajaxResponseData(jqXHR);\n    return ajaxSuccess(adapter, payload, requestData, responseData);\n  }\n  function ajaxErrorHandler(adapter, jqXHR, errorThrown, requestData) {\n    var responseData = ajaxResponseData(jqXHR);\n    responseData.errorThrown = errorThrown;\n    var payload = adapter.parseErrorResponse(jqXHR.responseText);\n    if (true /* DEBUG */) {\n      var message = `The server returned an empty string for ${requestData.method} ${requestData.url}, which cannot be parsed into a valid JSON. Return either null or {}.`;\n      var validJSONString = !(responseData.textStatus === 'parsererror' && payload === '');\n      (true && (0, _debug.warn)(message, validJSONString, {\n        id: 'ds.adapter.returned-empty-string-as-JSON'\n      }));\n    }\n    return ajaxError(adapter, payload, requestData, responseData);\n  }\n  function fetchResponseData(response) {\n    return {\n      status: response.status,\n      textStatus: response.statusText,\n      headers: headersToObject(response.headers)\n    };\n  }\n  function ajaxResponseData(jqXHR) {\n    return {\n      status: jqXHR.status,\n      textStatus: jqXHR.statusText,\n      headers: (0, _private2.parseResponseHeaders)(jqXHR.getAllResponseHeaders())\n    };\n  }\n  function headersToObject(headers) {\n    var headersObject = {};\n    if (headers) {\n      headers.forEach((value, key) => headersObject[key] = value);\n    }\n    return headersObject;\n  }\n\n  /**\n   * Helper function that translates the options passed to `jQuery.ajax` into a format that `fetch` expects.\n   *\n   * @method fetchOptions\n   * @for @ember-data/adapter/rest\n   * @param {Object} _options\n   * @param {Adapter} adapter\n   * @private\n   * @returns {Object}\n   */\n  function fetchOptions(options, adapter) {\n    options.credentials = options.credentials || 'same-origin';\n    if (options.data) {\n      // GET and HEAD requests can't have a `body`\n      if (options.method === 'GET' || options.method === 'HEAD') {\n        // If no options are passed, Ember Data sets `data` to an empty object, which we test for.\n        if (Object.keys(options.data).length && options.url) {\n          // Test if there are already query params in the url (mimics jQuey.ajax).\n          var queryParamDelimiter = options.url.indexOf('?') > -1 ? '&' : '?';\n          options.url += `${queryParamDelimiter}${(0, _private2.serializeQueryParams)(options.data)}`;\n        }\n      } else {\n        // NOTE: a request's body cannot be an object, so we stringify it if it is.\n        // JSON.stringify removes keys with values of `undefined` (mimics jQuery.ajax).\n        // If the data is not a POJO (it's a String, FormData, etc), we just set it.\n        // If the data is a string, we assume it's a stringified object.\n\n        /* We check for Objects this way because we want the logic inside the consequent to run\n         * if `options.data` is a POJO, not if it is a data structure whose `typeof` returns \"object\"\n         * when it's not (Array, FormData, etc). The reason we don't use `options.data.constructor`\n         * to check is in case `data` is an object with no prototype (e.g. created with null).\n         */\n        if (Object.prototype.toString.call(options.data) === '[object Object]') {\n          options.body = JSON.stringify(options.data);\n        } else {\n          options.body = options.data;\n        }\n      }\n    }\n    return options;\n  }\n  function ajaxOptions(options, adapter) {\n    options.dataType = 'json';\n    options.context = adapter;\n    if (options.data && options.type !== 'GET') {\n      options.data = JSON.stringify(options.data);\n    }\n    options.beforeSend = function (xhr) {\n      if (options.headers) {\n        Object.keys(options.headers).forEach(key => {\n          var headerValue = options.headers && options.headers[key];\n          var isString = value => typeof value === 'string';\n          if (isString(headerValue)) {\n            xhr.setRequestHeader(key, headerValue);\n          }\n        });\n      }\n    };\n    return options;\n  }\n  if (true /* DEPRECATE_NAJAX */) {\n    /**\n      @method _najaxRequest\n      @private\n      @param {Object} options jQuery ajax options to be used for the najax request\n    */\n    RESTAdapter.prototype._najaxRequest = function (options) {\n      if (typeof najax !== 'undefined') {\n        najax(options);\n      } else {\n        throw new Error('najax does not seem to be defined in your app. Did you override it via `addOrOverrideSandboxGlobals` in the fastboot server?');\n      }\n    };\n    Object.defineProperty(RESTAdapter.prototype, 'useFetch', {\n      get() {\n        if (typeof this[UseFetch] === 'boolean') {\n          return this[UseFetch];\n        }\n\n        // Mixin validates all properties. Might not have it in the container yet\n        var ENV = (0, _application.getOwner)(this) ? (0, _application.getOwner)(this).resolveRegistration('config:environment') : {};\n        // TODO: https://github.com/emberjs/data/issues/6093\n        var jQueryIntegrationDisabled = ENV && ENV.EmberENV && ENV.EmberENV._JQUERY_INTEGRATION === false;\n        var shouldUseFetch;\n        if (jQueryIntegrationDisabled) {\n          shouldUseFetch = true;\n        } else if (typeof najax !== 'undefined') {\n          if ((0, _require.has)('fetch')) {\n            (true && !(false) && (0, _debug.deprecate)('You have ember-fetch and jquery installed. To use ember-fetch instead of najax, set `useFetch = true` in your adapter.  In 4.0, ember-data will default to ember-fetch instead of najax when both ember-fetch and jquery are installed in FastBoot.', false, {\n              id: 'ember-data:najax-fallback',\n              until: '4.0',\n              for: '@ember-data/adapter',\n              since: {\n                available: '3.22',\n                enabled: '3.22'\n              }\n            }));\n          } else {\n            (true && !(false) && (0, _debug.deprecate)('In 4.0, ember-data will default to ember-fetch instead of najax in FastBoot.  It is recommended that you install ember-fetch or similar fetch polyfill in FastBoot and set `useFetch = true` in your adapter.', false, {\n              id: 'ember-data:najax-fallback',\n              until: '4.0',\n              for: '@ember-data/adapter',\n              since: {\n                available: '3.22',\n                enabled: '3.22'\n              }\n            }));\n          }\n          shouldUseFetch = false;\n        } else if (hasJQuery) {\n          shouldUseFetch = false;\n        } else {\n          shouldUseFetch = true;\n        }\n        (0, _private.addSymbol)(this, UseFetch, shouldUseFetch);\n        return shouldUseFetch;\n      },\n      set(value) {\n        (0, _private.addSymbol)(this, UseFetch, value);\n        return value;\n      }\n    });\n  } else {\n    Object.defineProperty(RESTAdapter.prototype, 'useFetch', {\n      value() {\n        return true;\n      },\n      configurable: true\n    });\n  }\n  var _default = _exports.default = RESTAdapter;\n});","define(\"@ember-data/canary-features/default-features\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * ## Canary Features\n   *\n   * EmberData allows users to test features that are implemented but not yet\n   * available even in canary.\n   *\n   * Typically these features represent work that might introduce a new concept,\n   * new API, change an API, or risk an unintended change in behavior to consuming\n   * applications.\n   *\n   * Such features have their implementations guarded by a \"feature flag\", and the\n   * flag is only activated once the core-data team is prepared to ship the work\n   * in a canary release.\n   *\n   * ### Installing Canary\n   *\n   * To test a feature you MUST be using a canary build. Canary builds are published\n   * to `npm` and can be installed using a precise tag (such as `ember-data@3.16.0-alpha.1`)\n   * or by installing the latest dist-tag published to the `canary` channel.\n   *\n   * *Using `npm` to install the latest canary*\n   *\n   * ```cli\n   * npm install --save-dev ember-data@canary\n   * ```\n   *\n   * *Using `yarn` to install the latest canary*\n   *\n   * ```cli\n   * yarn add ember-data@canary\n   * ```\n   *\n   * ### Activating a Canary Feature\n   *\n   * Once you have installed canary, feature-flags can be activated at build-time by an environment\n   * variable or at runtime using `window.EmberDataENV`.\n   *\n   * The \"off\" branch of feature-flagged code is always stripped from production builds, so you\n   * MUST use the build-time environment variable to activate a flag if testing production.\n   *\n   * The list of available feature-flags is located [here](https://github.com/emberjs/data/tree/master/packages/canary-features/addon/default-features.ts \"List of EmberData FeatureFlags\")\n   *\n   * #### Runtime Configuration\n   *\n   * To configure feature-flags at runtime you will want to configure `window.EmberDataENV = {}` appropriately.\n   * You should add this global property in your app prior to your application booting. At the top of\n   * your `app.js` file is a convenient location, as is within ` index.html` as a script running prior\n   * to loading any other scripts.\n   *\n   * *Example activating a single feature flags*\n   *\n   * ```js\n   * window.EmberDataENV = {\n   *   FEATURES: {\n   *     RECORD_DATA_ERRORS: true,\n   *   }\n   * }\n   * ```\n   *\n   * *Example activating multiple feature flags*\n   *\n   * ```js\n   * window.EmberDataENV = {\n   *   FEATURES: {\n   *     RECORD_DATA_ERRORS: true,\n   *     RECORD_DATA_STATE: true,\n   *   }\n   * }\n   * ```\n   *\n   * *Example activating all feature flags*\n   *\n   * ```js\n   * window.EmberDataENV = {\n   *   ENABLE_OPTIONAL_FEATURES: true\n   * }\n   * ```\n   *\n   * #### Build Time Configuration\n   *\n   * *Example activating a single feature flags*\n   *\n   * ```js\n   * EMBER_DATA_FEATURE_OVERRIDE=REQUEST_SERVICE ember build\n   * ```\n   *\n   * *Example activating multiple feature flags*\n   *\n   * ```js\n   * EMBER_DATA_FEATURE_OVERRIDE=REQUEST_SERVICE,CUSTOM_MODEL_CLASS ember build\n   * ```\n   *\n   * *Example activating all feature flags*\n   *\n   * ```js\n   * EMBER_DATA_FEATURE_OVERRIDE=ENABLE_ALL_OPTIONAL ember build\n   * ```\n   *\n   * ### Preparing an Addon to use a Canary Feature\n   *\n   * For most addons and most features simple version detection should be\n   * enough. Using the provided version compatibility helpers from\n   * [ember-compatibility-helpers](https://github.com/pzuraq/ember-compatibility-helpers)\n   * the following can be done:\n   *\n   * ```js\n   * if (gte('@ember-data/store', '3.12.0')) {\n   *\n   * } else {\n   *\n   * }\n   * ```\n   *\n   * For addons needing more advanced detection [babel-plugin-debug-macros](https://github.com/ember-cli/babel-plugin-debug-macros)\n   * can be leveraged to provide code-stripping based on feature presence. For example in your addon's `index.js`:\n   *\n   * ```js\n   * function debugMacros(features) {\n   *   let plugins = [\n   *     [\n   *       require.resolve('babel-plugin-debug-macros'),\n   *       {\n   *         flags: [\n   *           {\n   *             source: '<addon-name>/feature-flags',\n   *             flags: features,\n   *           },\n   *         ],\n   *       },\n   *       '<addon-name>/canary-features-stripping',\n   *     ],\n   *   ];\n   *\n   *   return plugins;\n   * }\n   *\n   * module.exports = {\n   *   name: '<addon-name>',\n   *\n   *   init() {\n   *     this._super.init.apply(this, arguments);\n   *\n   *     let features;\n   *     try {\n   *       features = this.project.require('@ember-data/private-build-infra/src/features')();\n   *     } catch (e) {\n   *       features = { CUSTOM_MODEL_CLASS: false };\n   *     }\n   *\n   *     this.options = this.options || {};\n   *     this.options.babel = this.options.babel || {};\n   *     // this ensures that the same `@ember-data/canary-features` processing that the various\n   *     // ember-data addons do is done for this addon\n   *     this.options.babel.plugins = [...debugMacros(features)];\n   *   }\n   * }\n   * ```\n   *\n     @module @ember-data/canary-features\n     @main @ember-data/canary-features\n   */\n  /*\n    This list of features is used both at build time (by `@ember-data/private-build-infra`)\n    and at runtime (by `@ember-data/canary-features`).\n  \n    The valid values are:\n  \n    - true - The feature is enabled at all times, and cannot be disabled.\n    - false - The feature is disabled at all times, and cannot be enabled.\n    - null - The feature is disabled by default, but can be enabled at runtime via `EmberDataENV`.\n  */\n  var _default = _exports.default = {\n    SAMPLE_FEATURE_FLAG: null,\n    RECORD_DATA_ERRORS: true,\n    RECORD_DATA_STATE: true,\n    IDENTIFIERS: true,\n    REQUEST_SERVICE: true,\n    CUSTOM_MODEL_CLASS: true,\n    FULL_LINKS_ON_RELATIONSHIPS: true,\n    RECORD_ARRAY_MANAGER_IDENTIFIERS: true,\n    REMOVE_RECORD_ARRAY_MANAGER_LEGACY_COMPAT: true\n  };\n});","define(\"@ember-data/canary-features/index\", [\"exports\", \"@ember/polyfills\", \"@ember-data/canary-features/default-features\"], function (_exports, _polyfills, _defaultFeatures) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.SAMPLE_FEATURE_FLAG = _exports.REQUEST_SERVICE = _exports.REMOVE_RECORD_ARRAY_MANAGER_LEGACY_COMPAT = _exports.RECORD_DATA_STATE = _exports.RECORD_DATA_ERRORS = _exports.RECORD_ARRAY_MANAGER_IDENTIFIERS = _exports.IDENTIFIERS = _exports.FULL_LINKS_ON_RELATIONSHIPS = _exports.FEATURES = _exports.CUSTOM_MODEL_CLASS = void 0;\n  /* globals EmberDataENV */\n\n  const ENV = typeof EmberDataENV !== 'undefined' && EmberDataENV !== null ? EmberDataENV : {};\n  function featureValue(value) {\n    if (ENV.ENABLE_OPTIONAL_FEATURES && value === null) {\n      return true;\n    }\n    return value;\n  }\n  const FEATURES = _exports.FEATURES = (0, _polyfills.assign)({}, _defaultFeatures.default, ENV.FEATURES);\n  const SAMPLE_FEATURE_FLAG = _exports.SAMPLE_FEATURE_FLAG = featureValue(FEATURES.SAMPLE_FEATURE_FLAG);\n  const RECORD_DATA_ERRORS = _exports.RECORD_DATA_ERRORS = featureValue(FEATURES.RECORD_DATA_ERRORS);\n  const RECORD_DATA_STATE = _exports.RECORD_DATA_STATE = featureValue(FEATURES.RECORD_DATA_STATE);\n  const REQUEST_SERVICE = _exports.REQUEST_SERVICE = featureValue(FEATURES.REQUEST_SERVICE);\n  const IDENTIFIERS = _exports.IDENTIFIERS = featureValue(FEATURES.IDENTIFIERS);\n  const CUSTOM_MODEL_CLASS = _exports.CUSTOM_MODEL_CLASS = featureValue(FEATURES.CUSTOM_MODEL_CLASS);\n  const FULL_LINKS_ON_RELATIONSHIPS = _exports.FULL_LINKS_ON_RELATIONSHIPS = featureValue(FEATURES.FULL_LINKS_ON_RELATIONSHIPS);\n  const RECORD_ARRAY_MANAGER_IDENTIFIERS = _exports.RECORD_ARRAY_MANAGER_IDENTIFIERS = featureValue(FEATURES.RECORD_ARRAY_MANAGER_IDENTIFIERS);\n  const REMOVE_RECORD_ARRAY_MANAGER_LEGACY_COMPAT = _exports.REMOVE_RECORD_ARRAY_MANAGER_LEGACY_COMPAT = featureValue(FEATURES.REMOVE_RECORD_ARRAY_MANAGER_LEGACY_COMPAT);\n});","define(\"@ember-data/debug/index\", [\"exports\", \"@ember/array\", \"@ember/debug\", \"@ember/debug/data-adapter\", \"@ember/object\", \"@ember/object/observers\", \"@ember/service\", \"@ember/string\", \"@ember/runloop\", \"@ember-data/debug/setup\"], function (_exports, _array, _debug, _dataAdapter, _object, _observers, _service, _string, _runloop, _setup) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n    # Overview\n  \n    This package provides the `DataAdapter` which the [Ember Inspector](https://github.com/emberjs/ember-inspector)\n    uses to subscribe and retrieve information for the `data` tab in the inspector.\n  \n    This package adds roughly .6 KB when minified and compressed to your application in production; however,\n    you can opt out of shipping this addon in production via options in `ember-cli-build.js`\n  \n    ```js\n    let app = new EmberApp(defaults, {\n      emberData: {\n        includeDataAdapterInProduction: false\n      }\n    });\n    ```\n  \n    When using `ember-data` as a dependency of your app, the default is to ship the inspector support to production.\n  \n    When not using `ember-data` as a dependency but instead using EmberData via declaring specific `@ember-data/<package>`\n    dependencies the default is to not ship to production.\n  \n    @module @ember-data/debug\n    @main @ember-data/debug\n  */\n  /**\n    Implements `@ember/debug/data-adapter` with for EmberData\n    integration with the ember-inspector.\n  \n    @class InspectorDataAdapter\n    @extends DataAdapter\n    @private\n  */\n  var _default = _exports.default = _dataAdapter.default.extend({\n    store: (0, _service.inject)('store'),\n    /**\n      Specifies how records can be filtered based on the state of the record\n      Records returned will need to have a `filterValues`\n      property with a key for every name in the returned array\n       @method getFilters\n      @private\n      @return {Array} List of objects defining filters\n       The object should have a `name` and `desc` property\n    */\n    getFilters() {\n      return [{\n        name: 'isNew',\n        desc: 'New'\n      }, {\n        name: 'isModified',\n        desc: 'Modified'\n      }, {\n        name: 'isClean',\n        desc: 'Clean'\n      }];\n    },\n    _nameToClass(type) {\n      return (0, _object.get)(this, 'store').modelFor(type);\n    },\n    /**\n      Fetch the model types and observe them for changes.\n      Maintains the list of model types without needing the Model package for detection.\n       @method watchModelTypes\n      @private\n      @param {Function} typesAdded Callback to call to add types.\n      Takes an array of objects containing wrapped types (returned from `wrapModelType`).\n      @param {Function} typesUpdated Callback to call when a type has changed.\n      Takes an array of objects containing wrapped types.\n      @return {Function} Method to call to remove all observers\n    */\n    watchModelTypes(typesAdded, typesUpdated) {\n      var store = (0, _object.get)(this, 'store');\n      var __createRecordData = store._createRecordData;\n      var _releaseMethods = [];\n      var discoveredTypes = (0, _setup.typesMapFor)(store);\n\n      // Add any models that were added during initialization of the app, before the inspector was opened\n      discoveredTypes.forEach((_, type) => {\n        this.watchTypeIfUnseen(store, discoveredTypes, type, typesAdded, typesUpdated, _releaseMethods);\n      });\n\n      // Overwrite _createRecordData so newly added models will get added to the list\n      store._createRecordData = identifier => {\n        // defer to ensure first-create does not result in an infinite loop, see https://github.com/emberjs/data/issues/8006\n        (0, _runloop.next)(() => this.watchTypeIfUnseen(store, discoveredTypes, identifier.type, typesAdded, typesUpdated, _releaseMethods));\n        return __createRecordData.call(store, identifier);\n      };\n      var release = () => {\n        _releaseMethods.forEach(fn => fn());\n        store._createRecordData = __createRecordData;\n        // reset the list so the models can be added if the inspector is re-opened\n        // the entries are set to false instead of removed, since the models still exist in the app\n        // we just need the inspector to become aware of them\n        discoveredTypes.forEach((value, key) => {\n          discoveredTypes.set(key, false);\n        });\n        this.releaseMethods.removeObject(release);\n      };\n      this.releaseMethods.pushObject(release);\n      return release;\n    },\n    /**\n     * Loop over the discovered types and use the callbacks from watchModelTypes to notify\n     * the consumer of this adapter about the mdoels.\n     *\n     * @method watchTypeIfUnseen\n     * @param {store} store\n     * @param {Map} discoveredTypes\n     * @param {String} type\n     * @param {Function} typesAdded\n     * @param {Function} typesUpdated\n     * @param {Array} releaseMethods\n     * @private\n     */\n    watchTypeIfUnseen(store, discoveredTypes, type, typesAdded, typesUpdated, releaseMethods) {\n      if (discoveredTypes.get(type) !== true) {\n        var klass = store.modelFor(type);\n        var wrapped = this.wrapModelType(klass, type);\n        releaseMethods.push(this.observeModelType(type, typesUpdated));\n        typesAdded([wrapped]);\n        discoveredTypes.set(type, true);\n      }\n    },\n    /**\n      Creates a human readable string used for column headers\n       @method columnNameToDesc\n      @private\n      @param {String} name The attribute name\n      @return {String} Human readable string based on the attribute name\n    */\n    columnNameToDesc(name) {\n      return (0, _string.capitalize)((0, _string.underscore)(name).replace(/_/g, ' ').trim());\n    },\n    /**\n      Get the columns for a given model type\n       @method columnsForType\n      @private\n      @param {Model} typeClass\n      @return {Array} An array of columns of the following format:\n       name: {String} The name of the column\n       desc: {String} Humanized description (what would show in a table column name)\n    */\n    columnsForType(typeClass) {\n      var columns = [{\n        name: 'id',\n        desc: 'Id'\n      }];\n      var count = 0;\n      var self = this;\n      (0, _object.get)(typeClass, 'attributes').forEach((meta, name) => {\n        if (count++ > self.attributeLimit) {\n          return false;\n        }\n        var desc = this.columnNameToDesc(name);\n        columns.push({\n          name: name,\n          desc: desc\n        });\n      });\n      return columns;\n    },\n    /**\n      Fetches all loaded records for a given type\n       @method getRecords\n      @private\n      @param {Model} modelClass of the record\n      @param {String} modelName of the record\n      @return {Array} An array of Model records\n       This array will be observed for changes,\n       so it should update when new records are added/removed\n    */\n    getRecords(modelClass, modelName) {\n      if (arguments.length < 2) {\n        // Legacy Ember.js < 1.13 support\n        var containerKey = modelClass._debugContainerKey;\n        if (containerKey) {\n          var match = containerKey.match(/model:(.*)/);\n          if (match !== null) {\n            modelName = match[1];\n          }\n        }\n      }\n      (true && !(!!modelName) && (0, _debug.assert)('Cannot find model name. Please upgrade to Ember.js >= 1.13 for Ember Inspector support', !!modelName));\n      return this.get('store').peekAll(modelName);\n    },\n    /**\n      Gets the values for each column\n      This is the attribute values for a given record\n       @method getRecordColumnValues\n      @private\n      @param {Model} record to get values from\n      @return {Object} Keys should match column names defined by the model type\n    */\n    getRecordColumnValues(record) {\n      var count = 0;\n      var columnValues = {\n        id: (0, _object.get)(record, 'id')\n      };\n      record.eachAttribute(key => {\n        if (count++ > this.attributeLimit) {\n          return false;\n        }\n        columnValues[key] = (0, _object.get)(record, key);\n      });\n      return columnValues;\n    },\n    /**\n      Returns keywords to match when searching records\n       @method getRecordKeywords\n      @private\n      @param {Model} record\n      @return {Array} Relevant keywords for search based on the record's attribute values\n    */\n    getRecordKeywords(record) {\n      var keywords = [];\n      var keys = (0, _array.A)(['id']);\n      record.eachAttribute(key => keys.push(key));\n      keys.forEach(key => keywords.push((0, _object.get)(record, key)));\n      return keywords;\n    },\n    /**\n      Returns the values of filters defined by `getFilters`\n      These reflect the state of the record\n       @method getRecordFilterValues\n      @private\n      @param {Model} record\n      @return {Object} The record state filter values\n    */\n    getRecordFilterValues(record) {\n      return {\n        isNew: record.get('isNew'),\n        isModified: record.get('hasDirtyAttributes') && !record.get('isNew'),\n        isClean: !record.get('hasDirtyAttributes')\n      };\n    },\n    /**\n      Returns a color that represents the record's state\n      Possible colors: black, blue, green\n       @method getRecordColor\n      @private\n      @param {Model} record\n      @return {String} The record color\n    */\n    getRecordColor(record) {\n      var color = 'black';\n      if (record.get('isNew')) {\n        color = 'green';\n      } else if (record.get('hasDirtyAttributes')) {\n        color = 'blue';\n      }\n      return color;\n    },\n    /**\n      Observes all relevant properties and re-sends the wrapped record\n      when a change occurs\n       @method observeRecord\n      @private\n      @param {Model} record\n      @param {Function} recordUpdated Callback used to notify changes\n      @return {Function} The function to call to remove all observers\n    */\n    observeRecord(record, recordUpdated) {\n      var releaseMethods = (0, _array.A)();\n      var keysToObserve = (0, _array.A)(['id', 'isNew', 'hasDirtyAttributes']);\n      record.eachAttribute(key => keysToObserve.push(key));\n      var adapter = this;\n      keysToObserve.forEach(function (key) {\n        var handler = function () {\n          recordUpdated(adapter.wrapRecord(record));\n        };\n        (0, _observers.addObserver)(record, key, handler);\n        releaseMethods.push(function () {\n          (0, _observers.removeObserver)(record, key, handler);\n        });\n      });\n      var release = function () {\n        releaseMethods.forEach(fn => fn());\n      };\n      return release;\n    }\n  });\n});","define(\"@ember-data/debug/setup\", [\"exports\", \"@ember-data/store\"], function (_exports, _store) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.typesMapFor = typesMapFor;\n  var StoreTypesMap = new WeakMap();\n  function typesMapFor(store) {\n    var typesMap = StoreTypesMap.get(store);\n    if (typesMap === undefined) {\n      typesMap = new Map();\n      StoreTypesMap.set(store, typesMap);\n    }\n    return typesMap;\n  }\n\n  // override _createRecordData to add the known models to the typesMap\n  var __createRecordData = _store.default.prototype._createRecordData;\n  _store.default.prototype._createRecordData = function (identifier) {\n    var typesMap = typesMapFor(this);\n    if (!typesMap.has(identifier.type)) {\n      typesMap.set(identifier.type, false);\n    }\n    return __createRecordData.call(this, identifier);\n  };\n  var _default = _exports.default = {\n    name: '@ember-data/data-adapter',\n    initialize() {}\n  };\n});","define('@ember-data/model/-private', ['exports', '@ember/debug', '@ember/object', '@ember-data/store/-private', '@ember/error', '@ember/object/compat', '@ember/runloop', '@ember/utils', '@glimmer/tracking', 'ember', '@ember/array', '@ember/array/proxy', '@ember/object/computed', 'ember-cached-decorator-polyfill', '@ember/object/internals', 'ember-inflector', '@ember/array/mutable', 'rsvp', '@ember/application'], (function (exports, debug, EmberObject, Private, EmberError, compat, runloop, utils, tracking, Ember, EmberArray, ArrayProxy, computed, emberCachedDecoratorPolyfill, internals, emberInflector, MutableArray, rsvp, application) { 'use strict';\n\n  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }\n\n  var EmberObject__default = /*#__PURE__*/_interopDefaultLegacy(EmberObject);\n  var EmberError__default = /*#__PURE__*/_interopDefaultLegacy(EmberError);\n  var Ember__default = /*#__PURE__*/_interopDefaultLegacy(Ember);\n  var EmberArray__default = /*#__PURE__*/_interopDefaultLegacy(EmberArray);\n  var ArrayProxy__default = /*#__PURE__*/_interopDefaultLegacy(ArrayProxy);\n  var MutableArray__default = /*#__PURE__*/_interopDefaultLegacy(MutableArray);\n\n  function isElementDescriptor(args) {\n    var [maybeTarget, maybeKey, maybeDesc] = args;\n    return (\n      // Ensure we have the right number of args\n      args.length === 3 && (\n      // Make sure the target is a class or object (prototype)\n      typeof maybeTarget === 'function' || typeof maybeTarget === 'object' && maybeTarget !== null) &&\n      // Make sure the key is a string\n      typeof maybeKey === 'string' && (\n      // Make sure the descriptor is the right shape\n      typeof maybeDesc === 'object' && maybeDesc !== null && 'enumerable' in maybeDesc && 'configurable' in maybeDesc ||\n      // TS compatibility\n      maybeDesc === undefined)\n    );\n  }\n  function computedMacroWithOptionalParams(fn) {\n    {\n      return (...maybeDesc) => isElementDescriptor(maybeDesc) ? fn()(...maybeDesc) : fn(...maybeDesc);\n    }\n  }\n\n  /**\n    @module @ember-data/model\n  */\n\n  function getDefaultValue(record, options, key) {\n    if (typeof options.defaultValue === 'function') {\n      return options.defaultValue.apply(null, arguments);\n    } else {\n      var defaultValue = options.defaultValue;\n      (!(typeof defaultValue !== 'object' || defaultValue === null) && debug.assert(`Non primitive defaultValues are not supported because they are shared between all instances. If you would like to use a complex object as a default value please provide a function that returns the complex object.`, typeof defaultValue !== 'object' || defaultValue === null));\n      return defaultValue;\n    }\n  }\n\n  /**\n    `attr` defines an attribute on a [Model](/ember-data/release/classes/Model).\n    By default, attributes are passed through as-is, however you can specify an\n    optional type to have the value automatically transformed.\n    Ember Data ships with four basic transform types: `string`, `number`,\n    `boolean` and `date`. You can define your own transforms by subclassing\n    [Transform](/ember-data/release/classes/Transform).\n\n    Note that you cannot use `attr` to define an attribute of `id`.\n\n    `attr` takes an optional hash as a second parameter, currently\n    supported options are:\n\n    - `defaultValue`: Pass a string or a function to be called to set the attribute\n    to a default value if and only if the key is absent from the payload response.\n\n    Example\n\n    ```app/models/user.js\n    import Model, { attr } from '@ember-data/model';\n\n    export default class UserModel extends Model {\n      @attr('string') username;\n      @attr('string') email;\n      @attr('boolean', { defaultValue: false }) verified;\n    }\n    ```\n\n    Default value can also be a function. This is useful it you want to return\n    a new object for each attribute.\n\n    ```app/models/user.js\n    import Model, { attr } from '@ember-data/model';\n\n    export default class UserModel extends Model {\n      @attr('string') username;\n      @attr('string') email;\n\n      @attr({\n        defaultValue() {\n          return {};\n        }\n      })\n      settings;\n    }\n    ```\n\n    The `options` hash is passed as second argument to a transforms'\n    `serialize` and `deserialize` method. This allows to configure a\n    transformation and adapt the corresponding value, based on the config:\n\n    ```app/models/post.js\n    import Model, { attr } from '@ember-data/model';\n\n    export default class PostModel extends Model {\n      @attr('text', {\n        uppercase: true\n      })\n      text;\n    }\n    ```\n\n    ```app/transforms/text.js\n    import Transform from '@ember-data/serializer/transform';\n\n    export default Transform.extend({\n      serialize(value, options) {\n        if (options.uppercase) {\n          return value.toUpperCase();\n        }\n\n        return value;\n      },\n\n      deserialize(value) {\n        return value;\n      }\n    })\n    ```\n\n    @method attr\n    @public\n    @static\n    @for @ember-data/model\n    @param {String|Object} type the attribute type\n    @param {Object} options a hash of options\n    @return {Attribute}\n  */\n  function attr(type, options) {\n    if (typeof type === 'object') {\n      options = type;\n      type = undefined;\n    } else {\n      options = options || {};\n    }\n    var meta = {\n      type: type,\n      isAttribute: true,\n      kind: 'attribute',\n      options: options\n    };\n    return EmberObject.computed({\n      get(key) {\n        {\n          if (['_internalModel', 'currentState'].indexOf(key) !== -1) {\n            throw new Error(`'${key}' is a reserved property name on instances of classes extending Model. Please choose a different property name for your attr on ${this.constructor.toString()}`);\n          }\n        }\n        var recordData = Private.recordDataFor(this);\n        if (recordData.hasAttr(key)) {\n          return recordData.getAttr(key);\n        } else {\n          return getDefaultValue(this, options, key);\n        }\n      },\n      set(key, value) {\n        {\n          if (['_internalModel', 'currentState'].indexOf(key) !== -1) {\n            throw new Error(`'${key}' is a reserved property name on instances of classes extending Model. Please choose a different property name for your attr on ${this.constructor.toString()}`);\n          }\n        }\n        {\n          if (!this.isValid) {\n            var oldValue = this._internalModel._recordData.getAttr(key);\n            if (oldValue !== value) {\n              var {\n                errors\n              } = this;\n              if (errors.get(key)) {\n                errors.remove(key);\n                this.___recordState.cleanErrorRequests();\n              }\n            }\n          }\n        }\n        return this._internalModel.setDirtyAttribute(key, value);\n      }\n    }).meta(meta);\n  }\n  var attr$1 = computedMacroWithOptionalParams(attr);\n\n  /**\n    @module @ember-data/model\n  */\n\n  /**\n    `belongsTo` is used to define One-To-One and One-To-Many\n    relationships on a [Model](/ember-data/release/classes/Model).\n\n\n    `belongsTo` takes an optional hash as a second parameter, currently\n    supported options are:\n\n    - `async`: A boolean value used to explicitly declare this to be an async relationship. The default is true.\n    - `inverse`: A string used to identify the inverse property on a\n      related model in a One-To-Many relationship. See [Explicit Inverses](#explicit-inverses)\n    - `polymorphic` A boolean value to mark the relationship as polymorphic\n\n    #### One-To-One\n    To declare a one-to-one relationship between two models, use\n    `belongsTo`:\n\n    ```app/models/user.js\n    import Model, { belongsTo } from '@ember-data/model';\n\n    export default class UserModel extends Model {\n      @belongsTo('profile') profile;\n    }\n    ```\n\n    ```app/models/profile.js\n    import Model, { belongsTo } from '@ember-data/model';\n\n    export default class ProfileModel extends Model {\n      @belongsTo('user') user;\n    }\n    ```\n\n    #### One-To-Many\n    To declare a one-to-many relationship between two models, use\n    `belongsTo` in combination with `hasMany`, like this:\n\n    ```app/models/post.js\n    import Model, { hasMany } from '@ember-data/model';\n\n    export default class PostModel extends Model {\n      @hasMany('comment') comments;\n    }\n    ```\n\n    ```app/models/comment.js\n    import Model, { belongsTo } from '@ember-data/model';\n\n    export default class CommentModel extends Model {\n      @belongsTo('post') post;\n    }\n    ```\n\n    You can avoid passing a string as the first parameter. In that case Ember Data\n    will infer the type from the key name.\n\n    ```app/models/comment.js\n    import Model, { belongsTo } from '@ember-data/model';\n\n    export default class CommentModel extends Model {\n      @belongsTo post;\n    }\n    ```\n\n    will lookup for a Post type.\n\n    #### Sync relationships\n\n    Ember Data resolves sync relationships with the related resources\n    available in its local store, hence it is expected these resources\n    to be loaded before or along-side the primary resource.\n\n    ```app/models/comment.js\n    import Model, { belongsTo } from '@ember-data/model';\n\n    export default class CommentModel extends Model {\n      @belongsTo('post', {\n        async: false\n      })\n      post;\n    }\n    ```\n\n    In contrast to async relationship, accessing a sync relationship\n    will always return the record (Model instance) for the existing\n    local resource, or null. But it will error on access when\n    a related resource is known to exist and it has not been loaded.\n\n    ```\n    let post = comment.get('post');\n\n    ```\n\n    @method belongsTo\n    @public\n    @static\n    @for @ember-data/model\n    @param {String} modelName (optional) type of the relationship\n    @param {Object} options (optional) a hash of options\n    @return {Ember.computed} relationship\n  */\n  function belongsTo(modelName, options) {\n    var opts, userEnteredModelName;\n    if (typeof modelName === 'object') {\n      opts = modelName;\n      userEnteredModelName = undefined;\n    } else {\n      opts = options;\n      userEnteredModelName = modelName;\n    }\n    (!(typeof userEnteredModelName === 'string' || typeof userEnteredModelName === 'undefined') && debug.assert('The first argument to belongsTo must be a string representing a model type key, not an instance of ' + debug.inspect(userEnteredModelName) + \". E.g., to define a relation to the Person model, use belongsTo('person')\", typeof userEnteredModelName === 'string' || typeof userEnteredModelName === 'undefined'));\n    opts = opts || {};\n    var meta = {\n      type: userEnteredModelName,\n      isRelationship: true,\n      options: opts,\n      kind: 'belongsTo',\n      name: 'Belongs To',\n      key: null\n    };\n    return EmberObject.computed({\n      get(key) {\n        {\n          if (['_internalModel', 'recordData', 'currentState'].indexOf(key) !== -1) {\n            throw new Error(`'${key}' is a reserved property name on instances of classes extending Model. Please choose a different property name for your belongsTo on ${this.constructor.toString()}`);\n          }\n          if (Object.prototype.hasOwnProperty.call(opts, 'serialize')) {\n            (debug.warn(`You provided a serialize option on the \"${key}\" property in the \"${this._internalModel.modelName}\" class, this belongs in the serializer. See Serializer and it's implementations https://api.emberjs.com/ember-data/release/classes/Serializer`, false, {\n              id: 'ds.model.serialize-option-in-belongs-to'\n            }));\n          }\n          if (Object.prototype.hasOwnProperty.call(opts, 'embedded')) {\n            (debug.warn(`You provided an embedded option on the \"${key}\" property in the \"${this._internalModel.modelName}\" class, this belongs in the serializer. See EmbeddedRecordsMixin https://api.emberjs.com/ember-data/release/classes/EmbeddedRecordsMixin`, false, {\n              id: 'ds.model.embedded-option-in-belongs-to'\n            }));\n          }\n        }\n        return this._internalModel.getBelongsTo(key);\n      },\n      set(key, value) {\n        {\n          if (['_internalModel', 'recordData', 'currentState'].indexOf(key) !== -1) {\n            throw new Error(`'${key}' is a reserved property name on instances of classes extending Model. Please choose a different property name for your belongsTo on ${this.constructor.toString()}`);\n          }\n        }\n        this.store._backburner.join(() => {\n          this._internalModel.setDirtyBelongsTo(key, value);\n        });\n        return this._internalModel.getBelongsTo(key);\n      }\n    }).meta(meta);\n  }\n  var belongsTo$1 = computedMacroWithOptionalParams(belongsTo);\n\n  /**\n    @module @ember-data/model\n  */\n\n  /**\n    `hasMany` is used to define One-To-Many and Many-To-Many\n    relationships on a [Model](/ember-data/release/classes/Model).\n\n    `hasMany` takes an optional hash as a second parameter, currently\n    supported options are:\n\n    - `async`: A boolean value used to explicitly declare this to be an async relationship. The default is true.\n    - `inverse`: A string used to identify the inverse property on a related model.\n    - `polymorphic` A boolean value to mark the relationship as polymorphic\n\n    #### One-To-Many\n    To declare a one-to-many relationship between two models, use\n    `belongsTo` in combination with `hasMany`, like this:\n\n    ```app/models/post.js\n    import Model, { hasMany } from '@ember-data/model';\n\n    export default class PostModel extends Model {\n      @hasMany('comment') comments;\n    }\n    ```\n\n    ```app/models/comment.js\n    import Model, { belongsTo } from '@ember-data/model';\n\n    export default class CommentModel extends Model {\n      @belongsTo('post') post;\n    }\n    ```\n\n    #### Many-To-Many\n    To declare a many-to-many relationship between two models, use\n    `hasMany`:\n\n    ```app/models/post.js\n    import Model, { hasMany } from '@ember-data/model';\n\n    export default class PostModel extends Model {\n      @hasMany('tag') tags;\n    }\n    ```\n\n    ```app/models/tag.js\n    import Model, { hasMany } from '@ember-data/model';\n\n    export default class TagModel extends Model {\n      @hasMany('post') posts;\n    }\n    ```\n\n    You can avoid passing a string as the first parameter. In that case Ember Data\n    will infer the type from the singularized key name.\n\n    ```app/models/post.js\n    import Model, { hasMany } from '@ember-data/model';\n\n    export default class PostModel extends Model {\n      @hasMany tags;\n    }\n    ```\n\n    will lookup for a Tag type.\n\n    #### Explicit Inverses\n\n    Ember Data will do its best to discover which relationships map to\n    one another. In the one-to-many code above, for example, Ember Data\n    can figure out that changing the `comments` relationship should update\n    the `post` relationship on the inverse because post is the only\n    relationship to that model.\n\n    However, sometimes you may have multiple `belongsTo`/`hasMany` for the\n    same type. You can specify which property on the related model is\n    the inverse using `hasMany`'s `inverse` option:\n\n    ```app/models/comment.js\n    import Model, { belongsTo } from '@ember-data/model';\n\n    export default class CommentModel extends Model {\n      @belongsTo('post') onePost;\n      @belongsTo('post') twoPost\n      @belongsTo('post') redPost;\n      @belongsTo('post') bluePost;\n    }\n    ```\n\n    ```app/models/post.js\n    import Model from '@ember-data/model';\n    import { hasMany } from '@ember-decorators/data';\n\n    export default class PostModel extends Model {\n      @hasMany('comment', {\n        inverse: 'redPost'\n      })\n      comments;\n    }\n    ```\n\n    You can also specify an inverse on a `belongsTo`, which works how\n    you'd expect.\n\n    #### Sync relationships\n\n    Ember Data resolves sync relationships with the related resources\n    available in its local store, hence it is expected these resources\n    to be loaded before or along-side the primary resource.\n\n    ```app/models/post.js\n    import Model, { hasMany } from '@ember-data/model';\n\n    export default class PostModel extends Model {\n      @hasMany('comment', {\n        async: false\n      })\n      comments;\n    }\n    ```\n\n    In contrast to async relationship, accessing a sync relationship\n    will always return a [ManyArray](/ember-data/release/classes/ManyArray) instance\n    containing the existing local resources. But it will error on access\n    when any of the known related resources have not been loaded.\n\n    ```\n    post.get('comments').forEach((comment) => {\n\n    });\n\n    ```\n\n    If you are using `links` with sync relationships, you have to use\n    `ref.reload` to fetch the resources.\n\n    @method hasMany\n    @public\n    @static\n    @for @ember-data/model\n    @param {String} type (optional) type of the relationship\n    @param {Object} options (optional) a hash of options\n    @return {Ember.computed} relationship\n  */\n  function hasMany(type, options) {\n    if (typeof type === 'object') {\n      options = type;\n      type = undefined;\n    }\n    (!(typeof type === 'string' || typeof type === 'undefined') && debug.assert(`The first argument to hasMany must be a string representing a model type key, not an instance of ${debug.inspect(type)}. E.g., to define a relation to the Comment model, use hasMany('comment')`, typeof type === 'string' || typeof type === 'undefined'));\n    options = options || {};\n\n    // Metadata about relationships is stored on the meta of\n    // the relationship. This is used for introspection and\n    // serialization. Note that `key` is populated lazily\n    // the first time the CP is called.\n    var meta = {\n      type,\n      options,\n      isRelationship: true,\n      kind: 'hasMany',\n      name: 'Has Many',\n      key: null\n    };\n    return EmberObject.computed({\n      get(key) {\n        {\n          if (['_internalModel', 'recordData', 'currentState'].indexOf(key) !== -1) {\n            throw new Error(`'${key}' is a reserved property name on instances of classes extending Model. Please choose a different property name for your hasMany on ${this.constructor.toString()}`);\n          }\n        }\n        return this._internalModel.getHasMany(key);\n      },\n      set(key, records) {\n        {\n          if (['_internalModel', 'recordData', 'currentState'].indexOf(key) !== -1) {\n            throw new Error(`'${key}' is a reserved property name on instances of classes extending Model. Please choose a different property name for your hasMany on ${this.constructor.toString()}`);\n          }\n        }\n        var internalModel = this._internalModel;\n        this.store._backburner.join(() => {\n          internalModel.setDirtyHasMany(key, records);\n        });\n        return internalModel.getHasMany(key);\n      }\n    }).meta(meta);\n  }\n  var hasMany$1 = computedMacroWithOptionalParams(hasMany);\n\n  /**\n    @module @ember-data/store\n  */\n\n  /**\n    Holds validation errors for a given record, organized by attribute names.\n\n    This class is not directly instantiable.\n\n    Every `Model` has an `errors` property that is an instance of\n    `Errors`. This can be used to display validation error\n    messages returned from the server when a `record.save()` rejects.\n\n    For Example, if you had a `User` model that looked like this:\n\n    ```app/models/user.js\n    import Model, { attr } from '@ember-data/model';\n\n    export default class UserModel extends Model {\n      @attr('string') username;\n      @attr('string') email;\n    }\n    ```\n    And you attempted to save a record that did not validate on the backend:\n\n    ```javascript\n    let user = store.createRecord('user', {\n      username: 'tomster',\n      email: 'invalidEmail'\n    });\n    user.save();\n    ```\n\n    Your backend would be expected to return an error response that described\n    the problem, so that error messages can be generated on the app.\n\n    API responses will be translated into instances of `Errors` differently,\n    depending on the specific combination of adapter and serializer used. You\n    may want to check the documentation or the source code of the libraries\n    that you are using, to know how they expect errors to be communicated.\n\n    Errors can be displayed to the user by accessing their property name\n    to get an array of all the error objects for that property. Each\n    error object is a JavaScript object with two keys:\n\n    - `message` A string containing the error message from the backend\n    - `attribute` The name of the property associated with this error message\n\n    ```handlebars\n    <label>Username: <Input @value={{@model.username}} /> </label>\n    {{#each @model.errors.username as |error|}}\n      <div class=\"error\">\n        {{error.message}}\n      </div>\n    {{/each}}\n\n    <label>Email: <Input @value={{@model.email}} /> </label>\n    {{#each @model.errors.email as |error|}}\n      <div class=\"error\">\n        {{error.message}}\n      </div>\n    {{/each}}\n    ```\n\n    You can also access the special `messages` property on the error\n    object to get an array of all the error strings.\n\n    ```handlebars\n    {{#each @model.errors.messages as |message|}}\n      <div class=\"error\">\n        {{message}}\n      </div>\n    {{/each}}\n    ```\n\n    @class Errors\n    @public\n    @extends Ember.ArrayProxy\n    @uses Ember.Evented\n   */\n  var Errors = ArrayProxy__default[\"default\"].extend(Private.DeprecatedEvented, {\n    /**\n      Register with target handler\n       @method _registerHandlers\n      @private\n    */\n    _registerHandlers(becameInvalid, becameValid) {\n      this._registeredHandlers = {\n        becameInvalid,\n        becameValid\n      };\n    },\n    /**\n      @property errorsByAttributeName\n      @type {MapWithDefault}\n      @private\n    */\n    errorsByAttributeName: EmberObject.computed(function () {\n      return new Map();\n    }),\n    /**\n      Returns errors for a given attribute\n       ```javascript\n      let user = store.createRecord('user', {\n        username: 'tomster',\n        email: 'invalidEmail'\n      });\n      user.save().catch(function(){\n        user.get('errors').errorsFor('email'); // returns:\n        // [{attribute: \"email\", message: \"Doesn't look like a valid email.\"}]\n      });\n      ```\n       @method errorsFor\n      @public\n      @param {String} attribute\n      @return {Array}\n    */\n    errorsFor(attribute) {\n      var map = EmberObject.get(this, 'errorsByAttributeName');\n      var errors = map.get(attribute);\n      if (errors === undefined) {\n        errors = EmberArray.A();\n        map.set(attribute, errors);\n      }\n\n      // Errors may be a native array with extensions turned on. Since we access\n      // the array via a method, and not a computed or using `Ember.get`, it does\n      // not entangle properly with autotracking, so we entangle manually by\n      // getting the `[]` property.\n      EmberObject.get(errors, '[]');\n      return errors;\n    },\n    /**\n      An array containing all of the error messages for this\n      record. This is useful for displaying all errors to the user.\n       ```handlebars\n      {{#each @model.errors.messages as |message|}}\n        <div class=\"error\">\n          {{message}}\n        </div>\n      {{/each}}\n      ```\n       @property messages\n      @public\n      @type {Array}\n    */\n    messages: computed.mapBy('content', 'message'),\n    /**\n      @property content\n      @type {Array}\n      @private\n    */\n    content: EmberObject.computed(function () {\n      return EmberArray.A();\n    }),\n    /**\n      @method unknownProperty\n      @private\n    */\n    unknownProperty(attribute) {\n      var errors = this.errorsFor(attribute);\n      if (errors.length === 0) {\n        return undefined;\n      }\n      return errors;\n    },\n    /**\n      Total number of errors.\n       @property length\n      @type {Number}\n      @public\n      @readOnly\n    */\n\n    /**\n      `true` if we have no errors.\n       @property isEmpty\n      @type {Boolean}\n      @public\n      @readOnly\n    */\n    isEmpty: computed.not('length').readOnly(),\n    /**\n     Manually adds errors to the record. This will trigger the `becameInvalid` event/ lifecycle method on\n      the record and transition the record into an `invalid` state.\n      Example\n     ```javascript\n      let errors = get(user, 'errors');\n       // add multiple errors\n      errors.add('password', [\n        'Must be at least 12 characters',\n        'Must contain at least one symbol',\n        'Cannot contain your name'\n      ]);\n       errors.errorsFor('password');\n      // =>\n      // [\n      //   { attribute: 'password', message: 'Must be at least 12 characters' },\n      //   { attribute: 'password', message: 'Must contain at least one symbol' },\n      //   { attribute: 'password', message: 'Cannot contain your name' },\n      // ]\n       // add a single error\n      errors.add('username', 'This field is required');\n       errors.errorsFor('username');\n      // =>\n      // [\n      //   { attribute: 'username', message: 'This field is required' },\n      // ]\n     ```\n    @method add\n      @public\n    @param {string} attribute - the property name of an attribute or relationship\n    @param {string[]|string} messages - an error message or array of error messages for the attribute\n     */\n    add(attribute, messages) {\n      var wasEmpty = EmberObject.get(this, 'isEmpty');\n      this._add(attribute, messages);\n      if (wasEmpty && !EmberObject.get(this, 'isEmpty')) {\n        this._registeredHandlers && this._registeredHandlers.becameInvalid();\n        {\n          if (this['_has' ]('becameInvalid')) {\n            this.trigger('becameInvalid');\n          }\n        }\n      }\n    },\n    /**\n      Adds error messages to a given attribute without sending event.\n       @method _add\n      @private\n    */\n    _add(attribute, messages) {\n      messages = this._findOrCreateMessages(attribute, messages);\n      this.addObjects(messages);\n      this.errorsFor(attribute).addObjects(messages);\n      this.notifyPropertyChange(attribute);\n    },\n    /**\n      @method _findOrCreateMessages\n      @private\n    */\n    _findOrCreateMessages(attribute, messages) {\n      var errors = this.errorsFor(attribute);\n      var messagesArray = EmberArray.makeArray(messages);\n      var _messages = new Array(messagesArray.length);\n      for (var i = 0; i < messagesArray.length; i++) {\n        var message = messagesArray[i];\n        var err = errors.findBy('message', message);\n        if (err) {\n          _messages[i] = err;\n        } else {\n          _messages[i] = {\n            attribute: attribute,\n            message: message\n          };\n        }\n      }\n      return _messages;\n    },\n    /**\n     Manually removes all errors for a given member from the record.\n       This will transition the record into a `valid` state, and\n      triggers the `becameValid` event and lifecycle method.\n      Example:\n      ```javascript\n      let errors = get('user', errors);\n      errors.add('phone', ['error-1', 'error-2']);\n       errors.errorsFor('phone');\n      // =>\n      // [\n      //   { attribute: 'phone', message: 'error-1' },\n      //   { attribute: 'phone', message: 'error-2' },\n      // ]\n       errors.remove('phone');\n       errors.errorsFor('phone');\n      // => undefined\n     ```\n     @method remove\n      @public\n     @param {string} member - the property name of an attribute or relationship\n     */\n    remove(attribute) {\n      if (EmberObject.get(this, 'isEmpty')) {\n        return;\n      }\n      this._remove(attribute);\n      if (EmberObject.get(this, 'isEmpty')) {\n        this._registeredHandlers && this._registeredHandlers.becameValid();\n        {\n          if (this['_has' ]('becameValid')) {\n            this.trigger('becameValid');\n          }\n        }\n      }\n    },\n    /**\n      Removes all error messages from the given attribute without sending event.\n       @method _remove\n      @private\n    */\n    _remove(attribute) {\n      if (EmberObject.get(this, 'isEmpty')) {\n        return;\n      }\n      var content = this.rejectBy('attribute', attribute);\n      EmberObject.get(this, 'content').setObjects(content);\n\n      // Although errorsByAttributeName.delete is technically enough to sync errors state, we also\n      // must mutate the array as well for autotracking\n      var errors = this.errorsFor(attribute);\n      for (var i = 0; i < errors.length; i++) {\n        if (errors[i].attribute === attribute) {\n          // .replace from Ember.NativeArray is necessary. JS splice will not work.\n          errors.replace(i, 1);\n        }\n      }\n      EmberObject.get(this, 'errorsByAttributeName').delete(attribute);\n      this.notifyPropertyChange(attribute);\n      this.notifyPropertyChange('length');\n    },\n    /**\n     Manually clears all errors for the record.\n       This will transition the record into a `valid` state, and\n       will trigger the `becameValid` event and lifecycle method.\n     Example:\n      ```javascript\n     let errors = get('user', errors);\n     errors.add('username', ['error-a']);\n     errors.add('phone', ['error-1', 'error-2']);\n      errors.errorsFor('username');\n     // =>\n     // [\n     //   { attribute: 'username', message: 'error-a' },\n     // ]\n      errors.errorsFor('phone');\n     // =>\n     // [\n     //   { attribute: 'phone', message: 'error-1' },\n     //   { attribute: 'phone', message: 'error-2' },\n     // ]\n      errors.clear();\n      errors.errorsFor('username');\n     // => undefined\n      errors.errorsFor('phone');\n     // => undefined\n      errors.get('messages')\n     // => []\n     ```\n     @method clear\n      @public\n     */\n    clear() {\n      if (EmberObject.get(this, 'isEmpty')) {\n        return;\n      }\n      this._clear();\n      this._registeredHandlers && this._registeredHandlers.becameValid();\n      {\n        if (this['_has' ]('becameValid')) {\n          this.trigger('becameValid');\n        }\n      }\n    },\n    /**\n      Removes all error messages.\n      to the record.\n       @method _clear\n      @private\n    */\n    _clear() {\n      if (EmberObject.get(this, 'isEmpty')) {\n        return;\n      }\n      var errorsByAttributeName = EmberObject.get(this, 'errorsByAttributeName');\n      var attributes = [];\n      errorsByAttributeName.forEach(function (_, attribute) {\n        attributes.push(attribute);\n      });\n      errorsByAttributeName.clear();\n      attributes.forEach(attribute => {\n        this.notifyPropertyChange(attribute);\n      });\n      ArrayProxy__default[\"default\"].prototype.clear.call(this);\n    },\n    /**\n      Checks if there are error messages for the given attribute.\n       ```app/controllers/user/edit.js\n      import Controller from '@ember/controller';\n      import { action } from '@ember/object';\n       export default class UserEditController extends Controller {\n        @action\n        save(user) {\n          if (user.get('errors').has('email')) {\n            return alert('Please update your email before attempting to save.');\n          }\n          user.save();\n        }\n      }\n      ```\n       @method has\n      @public\n      @param {String} attribute\n      @return {Boolean} true if there some errors on given attribute\n    */\n    has(attribute) {\n      return this.errorsFor(attribute).length > 0;\n    }\n  });\n\n  function notifyChanges(identifier, value, key, record, store) {\n    if (value === 'attributes') {\n      if (key) {\n        notifyAttribute(store, identifier, key, record);\n      } else {\n        record.eachAttribute(key => {\n          notifyAttribute(store, identifier, key, record);\n        });\n      }\n    } else if (value === 'relationships') {\n      if (key) {\n        var meta = record.constructor.relationshipsByName.get(key);\n        notifyRelationship(store, identifier, key, record, meta);\n      } else {\n        record.eachRelationship((key, meta) => {\n          notifyRelationship(store, identifier, key, record, meta);\n        });\n      }\n    } else if (value === 'identity') {\n      record.notifyPropertyChange('id');\n    }\n  }\n  function notifyRelationship(store, identifier, key, record, meta) {\n    var internalModel = store._internalModelForResource(identifier);\n    if (meta.kind === 'belongsTo') {\n      record.notifyPropertyChange(key);\n    } else if (meta.kind === 'hasMany') {\n      var manyArray = internalModel._manyArrayCache[key];\n      if (manyArray) {\n        manyArray.notify();\n\n        //We need to notifyPropertyChange in the adding case because we need to make sure\n        //we fetch the newly added record in case it is unloaded\n        //TODO(Igor): Consider whether we could do this only if the record state is unloaded\n        if (!meta.options || meta.options.async || meta.options.async === undefined) {\n          record.notifyPropertyChange(key);\n        }\n      }\n    }\n  }\n  function notifyAttribute(store, identifier, key, record) {\n    var currentValue = internals.cacheFor(record, key);\n    var internalModel = store._internalModelForResource(identifier);\n    if (currentValue !== internalModel._recordData.getAttr(key)) {\n      record.notifyPropertyChange(key);\n    }\n  }\n\n  var _class$2, _descriptor$2, _class2, _descriptor2$1;\n  function _initializerDefineProperty$2(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _applyDecoratedDescriptor$2(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function isInvalidError(error) {\n    return error && error.isAdapterError === true && error.code === 'InvalidError';\n  }\n\n  /**\n   * Tag provides a cache for a getter\n   * that recomputes only when a specific\n   * tracked property that it manages is dirtied.\n   *\n   * This allows us to bust the cache for a value\n   * that otherwise doesn't access anything tracked\n   * as well as control the timing of that notification.\n   *\n   * @internal\n   */\n  var Tag = (_class$2 = class Tag {\n    constructor() {\n      _initializerDefineProperty$2(this, \"_tracking\", _descriptor$2, this);\n      this.rev = 1;\n      this.isDirty = true;\n      this.value = undefined;\n    }\n    subscribe() {\n      this._tracking;\n    }\n    notify() {\n      this.isDirty = true;\n      this._tracking = this.rev;\n      this.rev++;\n    }\n    consume(v) {\n      this.isDirty = false;\n      this.value = v; // set cached value\n    }\n  }, _descriptor$2 = _applyDecoratedDescriptor$2(_class$2.prototype, \"_tracking\", [tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 0;\n    }\n  }), _class$2);\n  var Tags = new WeakMap();\n  function getTag(record, key) {\n    var tags = Tags.get(record);\n    if (!tags) {\n      tags = Object.create(null);\n      Tags.set(record, tags);\n    }\n    return tags[key] = tags[key] || new Tag();\n  }\n  function peekTag(record, key) {\n    var tags = Tags.get(record);\n    return tags && tags[key];\n  }\n\n  /**\n   * A decorattor that caches a getter while\n   * providing the ability to bust that cache\n   * when we so choose in a way that notifies\n   * glimmer's tracking system.\n   *\n   * @internal\n   */\n  function tagged(_target, key, desc) {\n    var getter = desc.get;\n    var setter = desc.set;\n    desc.get = function () {\n      var tag = getTag(this, key);\n      tag.subscribe();\n      if (tag.isDirty) {\n        tag.consume(getter.call(this));\n      }\n      return tag.value;\n    };\n    desc.set = function (v) {\n      getTag(this, key); // ensure tag is setup in case we want to use it.\n      // probably notify here but not yet.\n      setter.call(this, v);\n    };\n    compat.dependentKeyCompat(desc);\n    return desc;\n  }\n\n  /**\n  Historically InternalModel managed a state machine\n  the currentState for which was reflected onto Model.\n\n  This implements the flags and stateName for backwards compat\n  with the state tree that used to be possible (listed below).\n\n  stateName and dirtyType are candidates for deprecation.\n\n  root\n    empty\n      deleted    // hidden from stateName\n      preloaded  // hidden from stateName\n\n    loading\n       empty     // hidden from stateName\n       preloaded // hidden from stateName\n\n    loaded\n      saved\n      updated\n        uncommitted\n        invalid\n        inFlight\n      created\n        uncommitted\n        invalid\n        inFlight\n\n    deleted\n      saved\n        new      // hidden from stateName\n      uncommitted\n      invalid\n      inFlight\n\n    @internal\n  */\n  var RecordState = (_class2 = class RecordState {\n    constructor(record) {\n      _initializerDefineProperty$2(this, \"isSaving\", _descriptor2$1, this);\n      var {\n        store\n      } = record;\n      var id = record._internalModel.identifier;\n      this.record = record;\n      this.recordData = record._internalModel._recordData;\n      this.pendingCount = 0;\n      this.fulfilledCount = 0;\n      this.rejectedCount = 0;\n      this._errorRequests = [];\n      this._lastError = null;\n      var requests = store.getRequestStateService();\n      var notifications = store._notificationManager;\n      requests.subscribeForRecord(id, req => {\n        if (req.type === 'mutation') {\n          switch (req.state) {\n            case 'pending':\n              this.isSaving = true;\n              break;\n            case 'rejected':\n              this.isSaving = false;\n              this._lastError = req;\n              if (!(req.response && isInvalidError(req.response.data))) {\n                this._errorRequests.push(req);\n              }\n              notifyErrorsStateChanged(this);\n              break;\n            case 'fulfilled':\n              this._errorRequests = [];\n              this._lastError = null;\n              this.isSaving = false;\n              notifyErrorsStateChanged(this);\n              break;\n          }\n        } else {\n          switch (req.state) {\n            case 'pending':\n              this.pendingCount++;\n              this.notify('isLoading');\n              break;\n            case 'rejected':\n              this.pendingCount--;\n              this._lastError = req;\n              if (!(req.response && isInvalidError(req.response.data))) {\n                this._errorRequests.push(req);\n              }\n              this.notify('isLoading');\n              notifyErrorsStateChanged(this);\n              break;\n            case 'fulfilled':\n              this.pendingCount--;\n              this.fulfilledCount++;\n              this.notify('isLoading');\n              this.notify('isDirty');\n              notifyErrorsStateChanged(this);\n              this._errorRequests = [];\n              this._lastError = null;\n              break;\n          }\n        }\n      });\n      notifications.subscribe(id, (identifier, type, key) => {\n        notifyChanges(identifier, type, key, record, store);\n        switch (type) {\n          case 'state':\n            this.notify('isNew');\n            this.notify('isDeleted');\n            this.notify('isDirty');\n            break;\n          case 'attributes':\n            this.notify('isEmpty');\n            this.notify('isDirty');\n            break;\n          case 'unload':\n            this.notify('isNew');\n            this.notify('isDeleted');\n            break;\n          case 'errors':\n            // we only hit this if a foreign RecordData notifies\n            // errors changed. Our own implementation does not\n            // take this path currently, but we should probably\n            // fix that.\n            this.updateInvalidErrors();\n            this.notify('isValid');\n            break;\n        }\n      });\n    }\n    notify(key) {\n      getTag(this, key).notify();\n    }\n    updateInvalidErrors() {\n      var jsonApiErrors = this.recordData.getErrors();\n      var {\n        errors\n      } = this.record;\n      errors._clear();\n      var newErrors = Private.errorsArrayToHash(jsonApiErrors);\n      var errorKeys = Object.keys(newErrors);\n      for (var i = 0; i < errorKeys.length; i++) {\n        errors._add(errorKeys[i], newErrors[errorKeys[i]]);\n      }\n    }\n    cleanErrorRequests() {\n      this.notify('isValid');\n      this.notify('isError');\n      this.notify('adapterError');\n      this._errorRequests = [];\n      this._lastError = null;\n    }\n    get isLoading() {\n      return !this.isLoaded && this.pendingCount > 0 && this.fulfilledCount === 0;\n    }\n    get isLoaded() {\n      if (this.isNew) {\n        return true;\n      }\n      return this.fulfilledCount > 0 || !this.isEmpty;\n    }\n    get isSaved() {\n      var rd = this.recordData;\n      if (this.isDeleted) {\n        (!(rd.isDeletionCommitted) && debug.assert(`Expected RecordData to implement isDeletionCommitted()`, rd.isDeletionCommitted));\n        return rd.isDeletionCommitted();\n      }\n      if (this.isNew || this.isEmpty || !this.isValid || this.isDirty || this.isLoading) {\n        return false;\n      }\n      return true;\n    }\n    get isEmpty() {\n      var rd = this.recordData;\n      // TODO this is not actually an RFC'd concept. Determine the\n      // correct heuristic to replace this with.\n      (!(rd.isEmpty) && debug.assert(`Expected RecordData to implement isEmpty()`, rd.isEmpty));\n      return !this.isNew && rd.isEmpty();\n    }\n    get isNew() {\n      var rd = this.recordData;\n      (!(rd.isNew) && debug.assert(`Expected RecordData to implement isNew()`, rd.isNew));\n      return rd.isNew();\n    }\n    get isDeleted() {\n      var rd = this.recordData;\n      (!(rd.isDeleted) && debug.assert(`Expected RecordData to implement isDeleted()`, rd.isDeleted));\n      return rd.isDeleted();\n    }\n    get isValid() {\n      return this.record.errors.length === 0;\n    }\n    get isDirty() {\n      var rd = this.recordData;\n      (!(rd.hasChangedAttributes) && debug.assert(`Expected RecordData to implement hasChangedAttributes()`, rd.hasChangedAttributes));\n      (!(rd.isDeletionCommitted) && debug.assert(`Expected RecordData to implement isDeletionCommitted()`, rd.isDeletionCommitted));\n      if (rd.isDeletionCommitted() || this.isDeleted && this.isNew) {\n        return false;\n      }\n      return this.isNew || rd.hasChangedAttributes();\n    }\n    get isError() {\n      var errorReq = this._errorRequests[this._errorRequests.length - 1];\n      if (!errorReq) {\n        return false;\n      } else {\n        return true;\n      }\n    }\n    get adapterError() {\n      var request = this._lastError;\n      if (!request) {\n        return null;\n      }\n      return request.state === 'rejected' && request.response.data;\n    }\n    get isPreloaded() {\n      return !this.isEmpty && this.isLoading;\n    }\n    get stateName() {\n      // we might be empty while loading so check this first\n      if (this.isLoading) {\n        return 'root.loading';\n\n        // got nothing yet or were unloaded\n      } else if (this.isEmpty) {\n        return 'root.empty';\n\n        // deleted substates\n      } else if (this.isDeleted) {\n        if (this.isSaving) {\n          return 'root.deleted.inFlight';\n        } else if (this.isSaved) {\n          // TODO ensure isSaved isn't true from previous requests\n          return 'root.deleted.saved';\n        } else if (!this.isValid) {\n          return 'root.deleted.invalid';\n        } else {\n          return 'root.deleted.uncommitted';\n        }\n\n        // loaded.created substates\n      } else if (this.isNew) {\n        if (this.isSaving) {\n          return 'root.loaded.created.inFlight';\n        } else if (!this.isValid) {\n          return 'root.loaded.created.invalid';\n        }\n        return 'root.loaded.created.uncommitted';\n\n        // loaded.updated substates\n      } else if (this.isSaving) {\n        return 'root.loaded.updated.inFlight';\n      } else if (!this.isValid) {\n        return 'root.loaded.updated.invalid';\n      } else if (this.isDirty) {\n        return 'root.loaded.updated.uncommitted';\n\n        // if nothing remains, we are loaded saved!\n      } else {\n        return 'root.loaded.saved';\n      }\n    }\n    get dirtyType() {\n      // we might be empty while loading so check this first\n      if (this.isLoading || this.isEmpty) {\n        return '';\n\n        // deleted substates\n      } else if (this.isDeleted) {\n        return 'deleted';\n\n        // loaded.created substates\n      } else if (this.isNew) {\n        return 'created';\n\n        // loaded.updated substates\n      } else if (this.isSaving || !this.isValid || this.isDirty) {\n        return 'updated';\n\n        // if nothing remains, we are loaded saved!\n      } else {\n        return '';\n      }\n    }\n  }, _descriptor2$1 = _applyDecoratedDescriptor$2(_class2.prototype, \"isSaving\", [tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _applyDecoratedDescriptor$2(_class2.prototype, \"isLoading\", [tagged], Object.getOwnPropertyDescriptor(_class2.prototype, \"isLoading\"), _class2.prototype), _applyDecoratedDescriptor$2(_class2.prototype, \"isLoaded\", [tagged], Object.getOwnPropertyDescriptor(_class2.prototype, \"isLoaded\"), _class2.prototype), _applyDecoratedDescriptor$2(_class2.prototype, \"isSaved\", [tagged], Object.getOwnPropertyDescriptor(_class2.prototype, \"isSaved\"), _class2.prototype), _applyDecoratedDescriptor$2(_class2.prototype, \"isEmpty\", [tagged], Object.getOwnPropertyDescriptor(_class2.prototype, \"isEmpty\"), _class2.prototype), _applyDecoratedDescriptor$2(_class2.prototype, \"isNew\", [tagged], Object.getOwnPropertyDescriptor(_class2.prototype, \"isNew\"), _class2.prototype), _applyDecoratedDescriptor$2(_class2.prototype, \"isDeleted\", [tagged], Object.getOwnPropertyDescriptor(_class2.prototype, \"isDeleted\"), _class2.prototype), _applyDecoratedDescriptor$2(_class2.prototype, \"isValid\", [tagged], Object.getOwnPropertyDescriptor(_class2.prototype, \"isValid\"), _class2.prototype), _applyDecoratedDescriptor$2(_class2.prototype, \"isDirty\", [tagged], Object.getOwnPropertyDescriptor(_class2.prototype, \"isDirty\"), _class2.prototype), _applyDecoratedDescriptor$2(_class2.prototype, \"isError\", [tagged], Object.getOwnPropertyDescriptor(_class2.prototype, \"isError\"), _class2.prototype), _applyDecoratedDescriptor$2(_class2.prototype, \"adapterError\", [tagged], Object.getOwnPropertyDescriptor(_class2.prototype, \"adapterError\"), _class2.prototype), _applyDecoratedDescriptor$2(_class2.prototype, \"isPreloaded\", [emberCachedDecoratorPolyfill.cached], Object.getOwnPropertyDescriptor(_class2.prototype, \"isPreloaded\"), _class2.prototype), _applyDecoratedDescriptor$2(_class2.prototype, \"stateName\", [emberCachedDecoratorPolyfill.cached], Object.getOwnPropertyDescriptor(_class2.prototype, \"stateName\"), _class2.prototype), _applyDecoratedDescriptor$2(_class2.prototype, \"dirtyType\", [emberCachedDecoratorPolyfill.cached], Object.getOwnPropertyDescriptor(_class2.prototype, \"dirtyType\"), _class2.prototype), _class2);\n  function notifyErrorsStateChanged(state) {\n    state.notify('isValid');\n    state.notify('isError');\n    state.notify('adapterError');\n  }\n\n  /**\n    @module @ember-data/store\n  */\n\n  function typeForRelationshipMeta(meta) {\n    var modelName = Private.normalizeModelName(meta.type || meta.key);\n    if (meta.kind === 'hasMany') {\n      modelName = emberInflector.singularize(modelName);\n    }\n    return modelName;\n  }\n  function shouldFindInverse(relationshipMeta) {\n    var options = relationshipMeta.options;\n    return !(options && options.inverse === null);\n  }\n  class RelationshipDefinition {\n    constructor(meta) {\n      this._type = '';\n      this.__inverseKey = '';\n      this.__inverseIsAsync = true;\n      this.__hasCalculatedInverse = false;\n      this.parentModelName = meta.parentModelName;\n      this.meta = meta;\n    }\n    get key() {\n      return this.meta.key;\n    }\n    get kind() {\n      return this.meta.kind;\n    }\n    get type() {\n      if (this._type) {\n        return this._type;\n      }\n      this._type = typeForRelationshipMeta(this.meta);\n      return this._type;\n    }\n    get options() {\n      return this.meta.options;\n    }\n    get name() {\n      return this.meta.name;\n    }\n    _inverseKey(store, modelClass) {\n      if (this.__hasCalculatedInverse === false) {\n        this._calculateInverse(store, modelClass);\n      }\n      return this.__inverseKey;\n    }\n    _inverseIsAsync(store, modelClass) {\n      if (this.__hasCalculatedInverse === false) {\n        this._calculateInverse(store, modelClass);\n      }\n      return this.__inverseIsAsync;\n    }\n    _calculateInverse(store, modelClass) {\n      this.__hasCalculatedInverse = true;\n      var inverseKey, inverseIsAsync;\n      var inverse = null;\n      if (shouldFindInverse(this.meta)) {\n        inverse = modelClass.inverseFor(this.key, store);\n      } else {\n        modelClass.typeForRelationship(this.key, store);\n      }\n      if (inverse) {\n        inverseKey = inverse.name;\n        inverseIsAsync = isInverseAsync(inverse);\n      } else {\n        inverseKey = null;\n        inverseIsAsync = false;\n      }\n      this.__inverseKey = inverseKey;\n      this.__inverseIsAsync = inverseIsAsync;\n    }\n  }\n  function isInverseAsync(meta) {\n    var inverseAsync = meta.options && meta.options.async;\n    return typeof inverseAsync === 'undefined' ? true : inverseAsync;\n  }\n  function relationshipFromMeta(meta) {\n    return new RelationshipDefinition(meta);\n  }\n\n  var _class$1, _descriptor$1, _Model;\n  function _initializerDefineProperty$1(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _applyDecoratedDescriptor$1(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  var {\n    changeProperties\n  } = Ember__default[\"default\"];\n\n  /*\n   In the non-CUSTOM_MODEL_CLASS world things decorated with flagToggledDecorator\n   have logic that requires a cache and caching key (which tagged provides), but\n   in the CUSTOM_MODEL_CLASS branch it only requires dependentKeyCompat which\n   ensures computeds/observers on the field will fire when anything it accesses\n   that is tracked changes\n  */\n  var flagToggledDecorator = compat.dependentKeyCompat ;\n  function findPossibleInverses(type, inverseType, name, relationshipsSoFar) {\n    var possibleRelationships = relationshipsSoFar || [];\n    var relationshipMap = inverseType.relationships;\n    if (!relationshipMap) {\n      return possibleRelationships;\n    }\n    var relationshipsForType = relationshipMap.get(type.modelName);\n    var relationships = Array.isArray(relationshipsForType) ? relationshipsForType.filter(relationship => {\n      var optionsForRelationship = inverseType.metaForProperty(relationship.name).options;\n      if (!optionsForRelationship.inverse && optionsForRelationship.inverse !== null) {\n        return true;\n      }\n      return name === optionsForRelationship.inverse;\n    }) : null;\n    if (relationships) {\n      possibleRelationships.push.apply(possibleRelationships, relationships);\n    }\n\n    //Recurse to support polymorphism\n    if (type.superclass) {\n      findPossibleInverses(type.superclass, inverseType, name, possibleRelationships);\n    }\n    return possibleRelationships;\n  }\n\n  /*\n   * This decorator allows us to lazily compute\n   * an expensive getter on first-access and therafter\n   * never recompute it.\n   */\n  function computeOnce(target, key, desc) {\n    var cache = new WeakMap();\n    var getter = desc.get;\n    desc.get = function () {\n      var meta = cache.get(this);\n      if (!meta) {\n        meta = {\n          hasComputed: false,\n          value: undefined\n        };\n        cache.set(this, meta);\n      }\n      if (!meta.hasComputed) {\n        meta.value = getter.call(this);\n        meta.hasComputed = true;\n      }\n      return meta.value;\n    };\n    return desc;\n  }\n\n  /**\n    Base class from which Models can be define.\n    \n    ```js\n    import Model, { attr } from '@ember-data/model';\n    \n    export default class User extends Model {\n      @attr name;\n    }\n    ```\n\n    @class Model\n    @public\n    @extends EmberObject\n    @uses EmberData.DeprecatedEvented\n  */\n  var Model = (_class$1 = (_Model = class Model extends EmberObject__default[\"default\"] {\n    constructor(...args) {\n      super(...args);\n      /**\n        If `true` the store is attempting to reload the record from the adapter.\n         Example\n         ```javascript\n        record.get('isReloading'); // false\n        record.reload();\n        record.get('isReloading'); // true\n        ```\n         @property isReloading\n        @public\n        @type {Boolean}\n        @readOnly\n      */\n      _initializerDefineProperty$1(this, \"isReloading\", _descriptor$1, this);\n    }\n    init(options = {}) {\n      var createProps = options._createProps;\n      delete options._createProps;\n      super.init(options);\n      {\n        if (!this._internalModel) {\n          throw new EmberError__default[\"default\"]('You should not call `create` on a model. Instead, call `store.createRecord` with the attributes you would like to set.');\n        }\n      }\n      {\n        this.___recordState = new RecordState(this);\n      }\n      this.setProperties(createProps);\n    }\n\n    /**\n      If this property is `true` the record is in the `empty`\n      state. Empty is the first state all records enter after they have\n      been created. Most records created by the store will quickly\n      transition to the `loading` state if data needs to be fetched from\n      the server or the `created` state if the record is created on the\n      client. A record can also enter the empty state if the adapter is\n      unable to locate the record.\n       @property isEmpty\n      @public\n      @type {Boolean}\n      @readOnly\n    */\n    get isEmpty() {\n      return this.currentState.isEmpty;\n    }\n\n    /**\n      If this property is `true` the record is in the `loading` state. A\n      record enters this state when the store asks the adapter for its\n      data. It remains in this state until the adapter provides the\n      requested data.\n       @property isLoading\n      @public\n      @type {Boolean}\n      @readOnly\n    */\n    get isLoading() {\n      return this.currentState.isLoading;\n    }\n\n    /**\n      If this property is `true` the record is in the `loaded` state. A\n      record enters this state when its data is populated. Most of a\n      record's lifecycle is spent inside substates of the `loaded`\n      state.\n       Example\n       ```javascript\n      let record = store.createRecord('model');\n      record.get('isLoaded'); // true\n       store.findRecord('model', 1).then(function(model) {\n        model.get('isLoaded'); // true\n      });\n      ```\n       @property isLoaded\n      @public\n      @type {Boolean}\n      @readOnly\n    */\n    get isLoaded() {\n      return this.currentState.isLoaded;\n    }\n\n    /**\n      If this property is `true` the record is in the `dirty` state. The\n      record has local changes that have not yet been saved by the\n      adapter. This includes records that have been created (but not yet\n      saved) or deleted.\n       Example\n       ```javascript\n      let record = store.createRecord('model');\n      record.get('hasDirtyAttributes'); // true\n       store.findRecord('model', 1).then(function(model) {\n        model.get('hasDirtyAttributes'); // false\n        model.set('foo', 'some value');\n        model.get('hasDirtyAttributes'); // true\n      });\n      ```\n       @since 1.13.0\n      @property hasDirtyAttributes\n      @public\n      @type {Boolean}\n      @readOnly\n    */\n    get hasDirtyAttributes() {\n      return this.currentState.isDirty;\n    }\n\n    /**\n      If this property is `true` the record is in the `saving` state. A\n      record enters the saving state when `save` is called, but the\n      adapter has not yet acknowledged that the changes have been\n      persisted to the backend.\n       Example\n       ```javascript\n      let record = store.createRecord('model');\n      record.get('isSaving'); // false\n      let promise = record.save();\n      record.get('isSaving'); // true\n      promise.then(function() {\n        record.get('isSaving'); // false\n      });\n      ```\n       @property isSaving\n      @public\n      @type {Boolean}\n      @readOnly\n    */\n    get isSaving() {\n      return this.currentState.isSaving;\n    }\n\n    /**\n      If this property is `true` the record is in the `deleted` state\n      and has been marked for deletion. When `isDeleted` is true and\n      `hasDirtyAttributes` is true, the record is deleted locally but the deletion\n      was not yet persisted. When `isSaving` is true, the change is\n      in-flight. When both `hasDirtyAttributes` and `isSaving` are false, the\n      change has persisted.\n       Example\n       ```javascript\n      let record = store.createRecord('model');\n      record.get('isDeleted');    // false\n      record.deleteRecord();\n       // Locally deleted\n      record.get('isDeleted');           // true\n      record.get('hasDirtyAttributes');  // true\n      record.get('isSaving');            // false\n       // Persisting the deletion\n      let promise = record.save();\n      record.get('isDeleted');    // true\n      record.get('isSaving');     // true\n       // Deletion Persisted\n      promise.then(function() {\n        record.get('isDeleted');          // true\n        record.get('isSaving');           // false\n        record.get('hasDirtyAttributes'); // false\n      });\n      ```\n       @property isDeleted\n      @public\n      @type {Boolean}\n      @readOnly\n    */\n    get isDeleted() {\n      return this.currentState.isDeleted;\n    }\n\n    /**\n      If this property is `true` the record is in the `new` state. A\n      record will be in the `new` state when it has been created on the\n      client and the adapter has not yet report that it was successfully\n      saved.\n       Example\n       ```javascript\n      let record = store.createRecord('model');\n      record.get('isNew'); // true\n       record.save().then(function(model) {\n        model.get('isNew'); // false\n      });\n      ```\n       @property isNew\n      @public\n      @type {Boolean}\n      @readOnly\n    */\n    get isNew() {\n      return this.currentState.isNew;\n    }\n\n    /**\n      If this property is `true` the record is in the `valid` state.\n       A record will be in the `valid` state when the adapter did not report any\n      server-side validation failures.\n       @property isValid\n      @public\n      @type {Boolean}\n      @readOnly\n    */\n    get isValid() {\n      return this.currentState.isValid;\n    }\n\n    /**\n      If the record is in the dirty state this property will report what\n      kind of change has caused it to move into the dirty\n      state. Possible values are:\n       - `created` The record has been created by the client and not yet saved to the adapter.\n      - `updated` The record has been updated by the client and not yet saved to the adapter.\n      - `deleted` The record has been deleted by the client and not yet saved to the adapter.\n       Example\n       ```javascript\n      let record = store.createRecord('model');\n      record.get('dirtyType'); // 'created'\n      ```\n       @property dirtyType\n      @public\n      @type {String}\n      @readOnly\n    */\n    get dirtyType() {\n      return this.currentState.dirtyType;\n    }\n\n    /**\n      If `true` the adapter reported that it was unable to save local\n      changes to the backend for any reason other than a server-side\n      validation error.\n       Example\n       ```javascript\n      record.get('isError'); // false\n      record.set('foo', 'valid value');\n      record.save().then(null, function() {\n        record.get('isError'); // true\n      });\n      ```\n       @property isError\n      @public\n      @type {Boolean}\n      @readOnly\n    */\n    get isError() {\n      {\n        return this.currentState.isError;\n      }\n    }\n    set isError(v) {\n      {\n        throw new Error(`isError is not directly settable when REQUEST_SERVICE is enabled`);\n      }\n    }\n    /**\n      All ember models have an id property. This is an identifier\n      managed by an external source. These are always coerced to be\n      strings before being used internally. Note when declaring the\n      attributes for a model it is an error to declare an id\n      attribute.\n       ```javascript\n      let record = store.createRecord('model');\n      record.get('id'); // null\n       store.findRecord('model', 1).then(function(model) {\n        model.get('id'); // '1'\n      });\n      ```\n       @property id\n      @public\n      @type {String}\n    */\n    get id() {\n      // the _internalModel guard exists, because some dev-only deprecation code\n      // (addListener via validatePropertyInjections) invokes toString before the\n      // object is real.\n      {\n        if (!this._internalModel) {\n          return void 0;\n        }\n      }\n      return this._internalModel.id;\n    }\n    set id(id) {\n      var normalizedId = Private.coerceId(id);\n      if (normalizedId !== null) {\n        this._internalModel.setId(normalizedId);\n      }\n    }\n\n    /**\n      @property currentState\n      @private\n      @type {Object}\n    */\n    get currentState() {\n      {\n        return this.___recordState;\n      }\n    }\n    set currentState(v) {\n    }\n\n    /**\n     @property _internalModel\n     @private\n     @type {Object}\n     */\n\n    /**\n      The store service instance which created this record instance\n      @property store\n      @public\n     */\n\n    /**\n      When the record is in the `invalid` state this object will contain\n      any errors returned by the adapter. When present the errors hash\n      contains keys corresponding to the invalid property names\n      and values which are arrays of Javascript objects with two keys:\n       - `message` A string containing the error message from the backend\n      - `attribute` The name of the property associated with this error message\n       ```javascript\n      record.get('errors.length'); // 0\n      record.set('foo', 'invalid value');\n      record.save().catch(function() {\n        record.get('errors').get('foo');\n        // [{message: 'foo should be a number.', attribute: 'foo'}]\n      });\n      ```\n       The `errors` property is useful for displaying error messages to\n      the user.\n       ```handlebars\n      <label>Username: <Input @value={{@model.username}} /> </label>\n      {{#each @model.errors.username as |error|}}\n        <div class=\"error\">\n          {{error.message}}\n        </div>\n      {{/each}}\n      <label>Email: <Input @value={{@model.email}} /> </label>\n      {{#each @model.errors.email as |error|}}\n        <div class=\"error\">\n          {{error.message}}\n        </div>\n      {{/each}}\n      ```\n        You can also access the special `messages` property on the error\n      object to get an array of all the error strings.\n       ```handlebars\n      {{#each @model.errors.messages as |message|}}\n        <div class=\"error\">\n          {{message}}\n        </div>\n      {{/each}}\n      ```\n       @property errors\n      @public\n      @type {Errors}\n    */\n    get errors() {\n      var errors = Errors.create();\n      errors._registerHandlers(() => {\n        this._internalModel.send('becameInvalid');\n      }, () => {\n        this._internalModel.send('becameValid');\n      });\n      {\n        // TODO we should unify how errors gets populated\n        // with the code managing the update. Probably a\n        // lazy flush similar to retrieveLatest in ManyArray\n        var recordData = Private.recordDataFor(this);\n        var jsonApiErrors;\n        if (recordData.getErrors) {\n          jsonApiErrors = recordData.getErrors();\n          if (jsonApiErrors) {\n            var errorsHash = Private.errorsArrayToHash(jsonApiErrors);\n            var errorKeys = Object.keys(errorsHash);\n            for (var i = 0; i < errorKeys.length; i++) {\n              errors._add(errorKeys[i], errorsHash[errorKeys[i]]);\n            }\n          }\n        }\n      }\n      return errors;\n    }\n\n    /**\n      This property holds the `AdapterError` object with which\n      last adapter operation was rejected.\n       @property adapterError\n      @public\n      @type {AdapterError}\n    */\n    get adapterError() {\n      {\n        return this.currentState.adapterError;\n      }\n    }\n    set adapterError(v) {\n      {\n        throw new Error(`adapterError is not directly settable when REQUEST_SERVICE is enabled`);\n      }\n    }\n\n    /**\n      Create a JSON representation of the record, using the serialization\n      strategy of the store's adapter.\n      `serialize` takes an optional hash as a parameter, currently\n      supported options are:\n      - `includeId`: `true` if the record's ID should be included in the\n        JSON representation.\n       @method serialize\n      @public\n      @param {Object} options\n      @return {Object} an object whose values are primitive JSON values only\n    */\n    serialize(options) {\n      return this._internalModel.createSnapshot().serialize(options);\n    }\n\n    /**\n      Fired when the record is ready to be interacted with,\n      that is either loaded from the server or created locally.\n       @deprecated\n      @public\n      @event ready\n    */\n\n    /**\n      Fired when the record is loaded from the server.\n       @deprecated\n      @public\n      @event didLoad\n    */\n\n    /**\n      Fired when the record is updated.\n       @deprecated\n      @public\n      @event didUpdate\n    */\n\n    /**\n      Fired when a new record is commited to the server.\n       @deprecated\n      @public\n      @event didCreate\n    */\n\n    /**\n      Fired when the record is deleted.\n       @deprecated\n      @public\n      @event didDelete\n    */\n\n    /**\n      Fired when the record becomes invalid.\n       @deprecated\n      @public\n      @event becameInvalid\n    */\n\n    /**\n      Fired when the record enters the error state.\n       @deprecated\n      @public\n      @event becameError\n    */\n\n    /**\n      Fired when the record is rolled back.\n       @deprecated\n      @public\n      @event rolledBack\n    */\n\n    /**\n      @deprecated\n      @method send\n      @private\n      @param {String} name\n      @param {Object} context\n    */\n    send(name, context) {\n      return this._internalModel.send(name, context);\n    }\n\n    /**\n      @deprecated\n      @method transitionTo\n      @private\n      @param {String} name\n    */\n    transitionTo(name) {\n      return this._internalModel.transitionTo(name);\n    }\n\n    /*\n      We hook the default implementation to ensure\n      our tagged properties are properly notified\n      as well. We still super for everything because\n      sync observers require a direct call occuring\n      to trigger their flush. We wouldn't need to\n      super in 4.0+ where sync observers are removed.\n     */\n    notifyPropertyChange(key) {\n      var tag = peekTag(this, key);\n      if (tag) {\n        tag.notify();\n      }\n      super.notifyPropertyChange(key);\n    }\n\n    /**\n      Marks the record as deleted but does not save it. You must call\n      `save` afterwards if you want to persist it. You might use this\n      method if you want to allow the user to still `rollbackAttributes()`\n      after a delete was made.\n       Example\n       ```app/controllers/model/delete.js\n      import Controller from '@ember/controller';\n      import { action } from '@ember/object';\n       export default class ModelDeleteController extends Controller {\n        @action\n        softDelete() {\n          this.model.deleteRecord();\n        }\n         @action\n        confirm() {\n          this.model.save();\n        }\n         @action\n        undo() {\n          this.model.rollbackAttributes();\n        }\n      }\n      ```\n       @method deleteRecord\n      @public\n    */\n    deleteRecord() {\n      {\n        this.store.deleteRecord(this);\n      }\n    }\n\n    /**\n      Same as `deleteRecord`, but saves the record immediately.\n       Example\n       ```app/controllers/model/delete.js\n      import Controller from '@ember/controller';\n      import { action } from '@ember/object';\n       export default class ModelDeleteController extends Controller {\n        @action\n        delete() {\n          this.model.destroyRecord().then(function() {\n            this.transitionToRoute('model.index');\n          });\n        }\n      }\n      ```\n       If you pass an object on the `adapterOptions` property of the options\n      argument it will be passed to your adapter via the snapshot\n       ```js\n      record.destroyRecord({ adapterOptions: { subscribe: false } });\n      ```\n       ```app/adapters/post.js\n      import MyCustomAdapter from './custom-adapter';\n       export default class PostAdapter extends MyCustomAdapter {\n        deleteRecord(store, type, snapshot) {\n          if (snapshot.adapterOptions.subscribe) {\n            // ...\n          }\n          // ...\n        }\n      }\n      ```\n       @method destroyRecord\n      @public\n      @param {Object} options\n      @return {Promise} a promise that will be resolved when the adapter returns\n      successfully or rejected if the adapter returns with an error.\n    */\n    destroyRecord(options) {\n      this.deleteRecord();\n      return this.save(options).then(_ => {\n        runloop.run(() => {\n          this.unloadRecord();\n        });\n        return this;\n      });\n    }\n\n    /**\n      Unloads the record from the store. This will not send a delete request\n      to your server, it just unloads the record from memory.\n       @method unloadRecord\n      @public\n    */\n    unloadRecord() {\n      if (this.isDestroyed) {\n        return;\n      }\n      {\n        this.store.unloadRecord(this);\n      }\n    }\n\n    /**\n      @method _notifyProperties\n      @private\n    */\n    _notifyProperties(keys) {\n      // changeProperties defers notifications until after the delegate\n      // and protects with a try...finally block\n      // previously used begin...endPropertyChanges but this is private API\n      changeProperties(() => {\n        var key;\n        for (var i = 0, length = keys.length; i < length; i++) {\n          key = keys[i];\n          this.notifyPropertyChange(key);\n        }\n      });\n    }\n\n    /**\n      Returns an object, whose keys are changed properties, and value is\n      an [oldProp, newProp] array.\n       The array represents the diff of the canonical state with the local state\n      of the model. Note: if the model is created locally, the canonical state is\n      empty since the adapter hasn't acknowledged the attributes yet:\n       Example\n       ```app/models/mascot.js\n      import Model, { attr } from '@ember-data/model';\n       export default class MascotModel extends Model {\n        @attr('string') name;\n        @attr('boolean', {\n          defaultValue: false\n        })\n        isAdmin;\n      }\n      ```\n       ```javascript\n      let mascot = store.createRecord('mascot');\n       mascot.changedAttributes(); // {}\n       mascot.set('name', 'Tomster');\n      mascot.changedAttributes(); // { name: [undefined, 'Tomster'] }\n       mascot.set('isAdmin', true);\n      mascot.changedAttributes(); // { isAdmin: [undefined, true], name: [undefined, 'Tomster'] }\n       mascot.save().then(function() {\n        mascot.changedAttributes(); // {}\n         mascot.set('isAdmin', false);\n        mascot.changedAttributes(); // { isAdmin: [true, false] }\n      });\n      ```\n       @method changedAttributes\n      @public\n      @return {Object} an object, whose keys are changed properties,\n        and value is an [oldProp, newProp] array.\n    */\n    changedAttributes() {\n      return this._internalModel.changedAttributes();\n    }\n\n    /**\n      If the model `hasDirtyAttributes` this function will discard any unsaved\n      changes. If the model `isNew` it will be removed from the store.\n       Example\n       ```javascript\n      record.get('name'); // 'Untitled Document'\n      record.set('name', 'Doc 1');\n      record.get('name'); // 'Doc 1'\n      record.rollbackAttributes();\n      record.get('name'); // 'Untitled Document'\n      ```\n       @since 1.13.0\n      @method rollbackAttributes\n      @public\n    */\n    rollbackAttributes() {\n      this._internalModel.rollbackAttributes();\n      {\n        this.currentState.cleanErrorRequests();\n      }\n    }\n\n    /**\n      @method _createSnapshot\n      @private\n    */\n    _createSnapshot() {\n      return this._internalModel.createSnapshot();\n    }\n    toStringExtension() {\n      // the _internalModel guard exists, because some dev-only deprecation code\n      // (addListener via validatePropertyInjections) invokes toString before the\n      // object is real.\n      return this._internalModel && this._internalModel.id;\n    }\n\n    /**\n      Save the record and persist any changes to the record to an\n      external source via the adapter.\n       Example\n       ```javascript\n      record.set('name', 'Tomster');\n      record.save().then(function() {\n        // Success callback\n      }, function() {\n        // Error callback\n      });\n      ```\n      If you pass an object using the `adapterOptions` property of the options\n     argument it will be passed to your adapter via the snapshot.\n       ```js\n      record.save({ adapterOptions: { subscribe: false } });\n      ```\n       ```app/adapters/post.js\n      import MyCustomAdapter from './custom-adapter';\n       export default class PostAdapter extends MyCustomAdapter {\n        updateRecord(store, type, snapshot) {\n          if (snapshot.adapterOptions.subscribe) {\n            // ...\n          }\n          // ...\n        }\n      }\n      ```\n       @method save\n      @public\n      @param {Object} options\n      @return {Promise} a promise that will be resolved when the adapter returns\n      successfully or rejected if the adapter returns with an error.\n    */\n    save(options) {\n      return Private.PromiseObject.create({\n        promise: this._internalModel.save(options).then(() => this)\n      });\n    }\n\n    /**\n      Reload the record from the adapter.\n       This will only work if the record has already finished loading.\n       Example\n       ```app/controllers/model/view.js\n      import Controller from '@ember/controller';\n      import { action } from '@ember/object';\n       export default class ViewController extends Controller {\n        @action\n        reload() {\n          this.model.reload().then(function(model) {\n          // do something with the reloaded model\n          });\n        }\n      }\n      ```\n       @method reload\n      @public\n      @param {Object} options optional, may include `adapterOptions` hash which will be passed to adapter request\n      @return {Promise} a promise that will be resolved with the record when the\n      adapter returns successfully or rejected if the adapter returns\n      with an error.\n    */\n    reload(options) {\n      var wrappedAdapterOptions;\n      if (typeof options === 'object' && options !== null && options.adapterOptions) {\n        wrappedAdapterOptions = {\n          adapterOptions: options.adapterOptions\n        };\n      }\n      this.isReloading = true;\n      return Private.PromiseObject.create({\n        promise: this._internalModel.reload(wrappedAdapterOptions).then(() => this).finally(() => {\n          this.isReloading = false;\n        })\n      });\n    }\n    attr() {\n      (debug.assert('The `attr` method is not available on Model, a Snapshot was probably expected. Are you passing a Model instead of a Snapshot to your serializer?', false));\n    }\n\n    /**\n      Get the reference for the specified belongsTo relationship.\n       Example\n       ```app/models/blog.js\n      import Model, { belongsTo } from '@ember-data/model';\n       export default class BlogModel extends Model {\n        @belongsTo({ async: true }) user;\n      }\n      ```\n       ```javascript\n      let blog = store.push({\n        data: {\n          type: 'blog',\n          id: 1,\n          relationships: {\n            user: {\n              data: { type: 'user', id: 1 }\n            }\n          }\n        }\n      });\n      let userRef = blog.belongsTo('user');\n       // check if the user relationship is loaded\n      let isLoaded = userRef.value() !== null;\n       // get the record of the reference (null if not yet available)\n      let user = userRef.value();\n       // get the identifier of the reference\n      if (userRef.remoteType() === \"id\") {\n        let id = userRef.id();\n      } else if (userRef.remoteType() === \"link\") {\n        let link = userRef.link();\n      }\n       // load user (via store.findRecord or store.findBelongsTo)\n      userRef.load().then(...)\n       // or trigger a reload\n      userRef.reload().then(...)\n       // provide data for reference\n      userRef.push({\n        type: 'user',\n        id: 1,\n        attributes: {\n          username: \"@user\"\n        }\n      }).then(function(user) {\n        userRef.value() === user;\n      });\n      ```\n       @method belongsTo\n      @public\n      @param {String} name of the relationship\n      @since 2.5.0\n      @return {BelongsToReference} reference for this relationship\n    */\n    belongsTo(name) {\n      return this._internalModel.referenceFor('belongsTo', name);\n    }\n\n    /**\n      Get the reference for the specified hasMany relationship.\n       Example\n       ```app/models/blog.js\n      import Model, { hasMany } from '@ember-data/model';\n       export default class BlogModel extends Model {\n        @hasMany({ async: true }) comments;\n      }\n       let blog = store.push({\n        data: {\n          type: 'blog',\n          id: 1,\n          relationships: {\n            comments: {\n              data: [\n                { type: 'comment', id: 1 },\n                { type: 'comment', id: 2 }\n              ]\n            }\n          }\n        }\n      });\n      let commentsRef = blog.hasMany('comments');\n       // check if the comments are loaded already\n      let isLoaded = commentsRef.value() !== null;\n       // get the records of the reference (null if not yet available)\n      let comments = commentsRef.value();\n       // get the identifier of the reference\n      if (commentsRef.remoteType() === \"ids\") {\n        let ids = commentsRef.ids();\n      } else if (commentsRef.remoteType() === \"link\") {\n        let link = commentsRef.link();\n      }\n       // load comments (via store.findMany or store.findHasMany)\n      commentsRef.load().then(...)\n       // or trigger a reload\n      commentsRef.reload().then(...)\n       // provide data for reference\n      commentsRef.push([{ type: 'comment', id: 1 }, { type: 'comment', id: 2 }]).then(function(comments) {\n        commentsRef.value() === comments;\n      });\n      ```\n       @method hasMany\n      @public\n      @param {String} name of the relationship\n      @since 2.5.0\n      @return {HasManyReference} reference for this relationship\n    */\n    hasMany(name) {\n      return this._internalModel.referenceFor('hasMany', name);\n    }\n\n    /**\n     Given a callback, iterates over each of the relationships in the model,\n     invoking the callback with the name of each relationship and its relationship\n     descriptor.\n       The callback method you provide should have the following signature (all\n     parameters are optional):\n      ```javascript\n     function(name, descriptor);\n     ```\n      - `name` the name of the current property in the iteration\n     - `descriptor` the meta object that describes this relationship\n      The relationship descriptor argument is an object with the following properties.\n      - **key** <span class=\"type\">String</span> the name of this relationship on the Model\n     - **kind** <span class=\"type\">String</span> \"hasMany\" or \"belongsTo\"\n     - **options** <span class=\"type\">Object</span> the original options hash passed when the relationship was declared\n     - **parentType** <span class=\"type\">Model</span> the type of the Model that owns this relationship\n     - **type** <span class=\"type\">String</span> the type name of the related Model\n      Note that in addition to a callback, you can also pass an optional target\n     object that will be set as `this` on the context.\n      Example\n      ```app/serializers/application.js\n     import JSONSerializer from '@ember-data/serializer/json';\n      export default class ApplicationSerializer extends JSONSerializer {\n        serialize(record, options) {\n        let json = {};\n         record.eachRelationship(function(name, descriptor) {\n          if (descriptor.kind === 'hasMany') {\n            let serializedHasManyName = name.toUpperCase() + '_IDS';\n            json[serializedHasManyName] = record.get(name).mapBy('id');\n          }\n        });\n         return json;\n      }\n    }\n     ```\n      @method eachRelationship\n      @public\n     @param {Function} callback the callback to invoke\n     @param {any} binding the value to which the callback's `this` should be bound\n     */\n    eachRelationship(callback, binding) {\n      this.constructor.eachRelationship(callback, binding);\n    }\n    relationshipFor(name) {\n      return this.constructor.relationshipsByName.get(name);\n    }\n    inverseFor(key) {\n      return this.constructor.inverseFor(key, this._internalModel.store);\n    }\n    eachAttribute(callback, binding) {\n      this.constructor.eachAttribute(callback, binding);\n    }\n    /*\n     These class methods below provide relationship\n     introspection abilities about relationships.\n      A note about the computed properties contained here:\n      **These properties are effectively sealed once called for the first time.**\n     To avoid repeatedly doing expensive iteration over a model's fields, these\n     values are computed once and then cached for the remainder of the runtime of\n     your application.\n      If your application needs to modify a class after its initial definition\n     (for example, using `reopen()` to add additional attributes), make sure you\n     do it before using your model with the store, which uses these properties\n     extensively.\n     */\n\n    /**\n     For a given relationship name, returns the model type of the relationship.\n      For example, if you define a model like this:\n      ```app/models/post.js\n     import Model, { hasMany } from '@ember-data/model';\n      export default class PostModel extends Model {\n       @hasMany('comment') comments;\n     }\n     ```\n      Calling `store.modelFor('post').typeForRelationship('comments', store)` will return `Comment`.\n      @method typeForRelationship\n      @public\n     @static\n     @param {String} name the name of the relationship\n     @param {store} store an instance of Store\n     @return {Model} the type of the relationship, or undefined\n     */\n    static typeForRelationship(name, store) {\n      var relationship = this.relationshipsByName.get(name);\n      return relationship && store.modelFor(relationship.type);\n    }\n    static get inverseMap() {\n      return Object.create(null);\n    }\n\n    /**\n     Find the relationship which is the inverse of the one asked for.\n      For example, if you define models like this:\n      ```app/models/post.js\n     import Model, { hasMany } from '@ember-data/model';\n      export default class PostModel extends Model {\n        @hasMany('message') comments;\n      }\n     ```\n      ```app/models/message.js\n     import Model from '@ember-data/model';\n     import { belongsTo } from '@ember-decorators/data';\n      export default class MessageModel extends Model {\n        @belongsTo('post') owner;\n      }\n     ```\n      ``` js\n     store.modelFor('post').inverseFor('comments', store) // { type: App.Message, name: 'owner', kind: 'belongsTo' }\n     store.modelFor('message').inverseFor('owner', store) // { type: App.Post, name: 'comments', kind: 'hasMany' }\n     ```\n      @method inverseFor\n      @public\n     @static\n     @param {String} name the name of the relationship\n     @param {Store} store\n     @return {Object} the inverse relationship, or null\n     */\n    static inverseFor(name, store) {\n      var inverseMap = this.inverseMap;\n      if (inverseMap[name]) {\n        return inverseMap[name];\n      } else {\n        var inverse = this._findInverseFor(name, store);\n        inverseMap[name] = inverse;\n        return inverse;\n      }\n    }\n\n    //Calculate the inverse, ignoring the cache\n    static _findInverseFor(name, store) {\n      var inverseType = this.typeForRelationship(name, store);\n      if (!inverseType) {\n        return null;\n      }\n      var propertyMeta = this.metaForProperty(name);\n      //If inverse is manually specified to be null, like  `comments: hasMany('message', { inverse: null })`\n      var options = propertyMeta.options;\n      if (options.inverse === null) {\n        return null;\n      }\n      var inverseName, inverseKind, inverse, inverseOptions;\n\n      //If inverse is specified manually, return the inverse\n      if (options.inverse) {\n        inverseName = options.inverse;\n        inverse = inverseType.relationshipsByName.get(inverseName);\n        (!(!utils.isNone(inverse)) && debug.assert(\"We found no inverse relationships by the name of '\" + inverseName + \"' on the '\" + inverseType.modelName + \"' model. This is most likely due to a missing attribute on your model definition.\", !utils.isNone(inverse))); // TODO probably just return the whole inverse here\n        inverseKind = inverse.kind;\n        inverseOptions = inverse.options;\n      } else {\n        //No inverse was specified manually, we need to use a heuristic to guess one\n        if (propertyMeta.type === propertyMeta.parentModelName) {\n          (debug.warn(`Detected a reflexive relationship by the name of '${name}' without an inverse option. Look at https://guides.emberjs.com/current/models/relationships/#toc_reflexive-relations for how to explicitly specify inverses.`, false, {\n            id: 'ds.model.reflexive-relationship-without-inverse'\n          }));\n        }\n        var possibleRelationships = findPossibleInverses(this, inverseType, name);\n        if (possibleRelationships.length === 0) {\n          return null;\n        }\n        var filteredRelationships = possibleRelationships.filter(possibleRelationship => {\n          var optionsForRelationship = inverseType.metaForProperty(possibleRelationship.name).options;\n          return name === optionsForRelationship.inverse;\n        });\n        (!(filteredRelationships.length < 2) && debug.assert(\"You defined the '\" + name + \"' relationship on \" + this + ', but you defined the inverse relationships of type ' + inverseType.toString() + ' multiple times. Look at https://guides.emberjs.com/current/models/relationships/#toc_explicit-inverses for how to explicitly specify inverses', filteredRelationships.length < 2));\n        if (filteredRelationships.length === 1) {\n          possibleRelationships = filteredRelationships;\n        }\n        (!(possibleRelationships.length === 1) && debug.assert(\"You defined the '\" + name + \"' relationship on \" + this + ', but multiple possible inverse relationships of type ' + this + ' were found on ' + inverseType + '. Look at https://guides.emberjs.com/current/models/relationships/#toc_explicit-inverses for how to explicitly specify inverses', possibleRelationships.length === 1));\n        inverseName = possibleRelationships[0].name;\n        inverseKind = possibleRelationships[0].kind;\n        inverseOptions = possibleRelationships[0].options;\n      }\n      (!(!inverseOptions || inverseOptions.inverse !== null) && debug.assert(`The ${inverseType.modelName}:${inverseName} relationship declares 'inverse: null', but it was resolved as the inverse for ${this.modelName}:${name}.`, !inverseOptions || inverseOptions.inverse !== null));\n      return {\n        type: inverseType,\n        name: inverseName,\n        kind: inverseKind,\n        options: inverseOptions\n      };\n    }\n\n    /**\n     The model's relationships as a map, keyed on the type of the\n     relationship. The value of each entry is an array containing a descriptor\n     for each relationship with that type, describing the name of the relationship\n     as well as the type.\n      For example, given the following model definition:\n      ```app/models/blog.js\n     import Model, { belongsTo, hasMany } from '@ember-data/model';\n      export default class BlogModel extends Model {\n        @hasMany('user') users;\n        @belongsTo('user') owner;\n        @hasMany('post') posts;\n      }\n     ```\n      This computed property would return a map describing these\n     relationships, like this:\n      ```javascript\n     import { get } from '@ember/object';\n     import Blog from 'app/models/blog';\n     import User from 'app/models/user';\n     import Post from 'app/models/post';\n      let relationships = Blog.relationships;\n     relationships.get('user');\n     //=> [ { name: 'users', kind: 'hasMany' },\n     //     { name: 'owner', kind: 'belongsTo' } ]\n     relationships.get('post');\n     //=> [ { name: 'posts', kind: 'hasMany' } ]\n     ```\n      @property relationships\n      @public\n     @static\n     @type Map\n     @readOnly\n     */\n\n    static get relationships() {\n      var map = new Map();\n      var relationshipsByName = this.relationshipsByName;\n\n      // Loop through each computed property on the class\n      relationshipsByName.forEach(desc => {\n        var {\n          type\n        } = desc;\n        if (!map.has(type)) {\n          map.set(type, []);\n        }\n        map.get(type).push(desc);\n      });\n      return map;\n    }\n\n    /**\n     A hash containing lists of the model's relationships, grouped\n     by the relationship kind. For example, given a model with this\n     definition:\n      ```app/models/blog.js\n     import Model, { belongsTo, hasMany } from '@ember-data/model';\n      export default class BlogModel extends Model {\n        @hasMany('user') users;\n        @belongsTo('user') owner;\n         @hasMany('post') posts;\n      }\n     ```\n      This property would contain the following:\n      ```javascript\n     import { get } from '@ember/object';\n     import Blog from 'app/models/blog';\n      let relationshipNames = Blog.relationshipNames;\n     relationshipNames.hasMany;\n     //=> ['users', 'posts']\n     relationshipNames.belongsTo;\n     //=> ['owner']\n     ```\n      @property relationshipNames\n      @public\n     @static\n     @type Object\n     @readOnly\n     */\n    static get relationshipNames() {\n      var names = {\n        hasMany: [],\n        belongsTo: []\n      };\n      this.eachComputedProperty((name, meta) => {\n        if (meta.isRelationship) {\n          names[meta.kind].push(name);\n        }\n      });\n      return names;\n    }\n\n    /**\n     An array of types directly related to a model. Each type will be\n     included once, regardless of the number of relationships it has with\n     the model.\n      For example, given a model with this definition:\n      ```app/models/blog.js\n     import Model, { belongsTo, hasMany } from '@ember-data/model';\n      export default class BlogModel extends Model {\n        @hasMany('user') users;\n        @belongsTo('user') owner;\n         @hasMany('post') posts;\n      }\n     ```\n      This property would contain the following:\n      ```javascript\n     import { get } from '@ember/object';\n     import Blog from 'app/models/blog';\n      let relatedTypes = Blog.relatedTypes');\n     //=> [ User, Post ]\n     ```\n      @property relatedTypes\n      @public\n     @static\n     @type Ember.Array\n     @readOnly\n     */\n    static get relatedTypes() {\n      var types = [];\n      var rels = this.relationshipsObject;\n      var relationships = Object.keys(rels);\n\n      // create an array of the unique types involved\n      // in relationships\n      for (var i = 0; i < relationships.length; i++) {\n        var name = relationships[i];\n        var meta = rels[name];\n        var modelName = meta.type;\n        if (types.indexOf(modelName) === -1) {\n          types.push(modelName);\n        }\n      }\n      return types;\n    }\n\n    /**\n     A map whose keys are the relationships of a model and whose values are\n     relationship descriptors.\n      For example, given a model with this\n     definition:\n      ```app/models/blog.js\n     import Model, { belongsTo, hasMany } from '@ember-data/model';\n      export default class BlogModel extends Model {\n        @hasMany('user') users;\n        @belongsTo('user') owner;\n         @hasMany('post') posts;\n      }\n     ```\n      This property would contain the following:\n      ```javascript\n     import { get } from '@ember/object';\n     import Blog from 'app/models/blog';\n      let relationshipsByName = Blog.relationshipsByName;\n     relationshipsByName.get('users');\n     //=> { key: 'users', kind: 'hasMany', type: 'user', options: Object, isRelationship: true }\n     relationshipsByName.get('owner');\n     //=> { key: 'owner', kind: 'belongsTo', type: 'user', options: Object, isRelationship: true }\n     ```\n      @property relationshipsByName\n      @public\n     @static\n     @type Map\n     @readOnly\n     */\n    static get relationshipsByName() {\n      var map = new Map();\n      var rels = this.relationshipsObject;\n      var relationships = Object.keys(rels);\n      for (var i = 0; i < relationships.length; i++) {\n        var key = relationships[i];\n        var value = rels[key];\n        map.set(value.key, value);\n      }\n      return map;\n    }\n    static get relationshipsObject() {\n      var relationships = Object.create(null);\n      var modelName = this.modelName;\n      this.eachComputedProperty((name, meta) => {\n        if (meta.isRelationship) {\n          meta.key = name;\n          meta.name = name;\n          meta.parentModelName = modelName;\n          relationships[name] = relationshipFromMeta(meta);\n        }\n      });\n      return relationships;\n    }\n\n    /**\n     A map whose keys are the fields of the model and whose values are strings\n     describing the kind of the field. A model's fields are the union of all of its\n     attributes and relationships.\n      For example:\n      ```app/models/blog.js\n     import Model, { attr, belongsTo, hasMany } from '@ember-data/model';\n      export default class BlogModel extends Model {\n        @hasMany('user') users;\n        @belongsTo('user') owner;\n         @hasMany('post') posts;\n         @attr('string') title;\n      }\n     ```\n      ```js\n     import { get } from '@ember/object';\n     import Blog from 'app/models/blog'\n      let fields = Blog.fields;\n     fields.forEach(function(kind, field) {\n        console.log(field, kind);\n      });\n      // prints:\n     // users, hasMany\n     // owner, belongsTo\n     // posts, hasMany\n     // title, attribute\n     ```\n      @property fields\n      @public\n     @static\n     @type Map\n     @readOnly\n     */\n    static get fields() {\n      var map = new Map();\n      this.eachComputedProperty((name, meta) => {\n        if (meta.isRelationship) {\n          map.set(name, meta.kind);\n        } else if (meta.isAttribute) {\n          map.set(name, 'attribute');\n        }\n      });\n      return map;\n    }\n\n    /**\n     Given a callback, iterates over each of the relationships in the model,\n     invoking the callback with the name of each relationship and its relationship\n     descriptor.\n      @method eachRelationship\n      @public\n     @static\n     @param {Function} callback the callback to invoke\n     @param {any} binding the value to which the callback's `this` should be bound\n     */\n    static eachRelationship(callback, binding) {\n      this.relationshipsByName.forEach((relationship, name) => {\n        callback.call(binding, name, relationship);\n      });\n    }\n\n    /**\n     Given a callback, iterates over each of the types related to a model,\n     invoking the callback with the related type's class. Each type will be\n     returned just once, regardless of how many different relationships it has\n     with a model.\n      @method eachRelatedType\n      @public\n     @static\n     @param {Function} callback the callback to invoke\n     @param {any} binding the value to which the callback's `this` should be bound\n     */\n    static eachRelatedType(callback, binding) {\n      var relationshipTypes = this.relatedTypes;\n      for (var i = 0; i < relationshipTypes.length; i++) {\n        var type = relationshipTypes[i];\n        callback.call(binding, type);\n      }\n    }\n    static determineRelationshipType(knownSide, store) {\n      var knownKey = knownSide.key;\n      var knownKind = knownSide.kind;\n      var inverse = this.inverseFor(knownKey, store);\n      // let key;\n      var otherKind;\n      if (!inverse) {\n        return knownKind === 'belongsTo' ? 'oneToNone' : 'manyToNone';\n      }\n\n      // key = inverse.name;\n      otherKind = inverse.kind;\n      if (otherKind === 'belongsTo') {\n        return knownKind === 'belongsTo' ? 'oneToOne' : 'manyToOne';\n      } else {\n        return knownKind === 'belongsTo' ? 'oneToMany' : 'manyToMany';\n      }\n    }\n\n    /**\n     A map whose keys are the attributes of the model (properties\n     described by attr) and whose values are the meta object for the\n     property.\n      Example\n      ```app/models/person.js\n     import Model, { attr } from '@ember-data/model';\n      export default class PersonModel extends Model {\n        @attr('string') firstName;\n        @attr('string') lastName;\n        @attr('date') birthday;\n      }\n     ```\n      ```javascript\n     import { get } from '@ember/object';\n     import Blog from 'app/models/blog'\n      let attributes = Person.attributes\n      attributes.forEach(function(meta, name) {\n        console.log(name, meta);\n      });\n      // prints:\n     // firstName {type: \"string\", isAttribute: true, options: Object, parentType: function, name: \"firstName\"}\n     // lastName {type: \"string\", isAttribute: true, options: Object, parentType: function, name: \"lastName\"}\n     // birthday {type: \"date\", isAttribute: true, options: Object, parentType: function, name: \"birthday\"}\n     ```\n      @property attributes\n      @public\n     @static\n     @type {Map}\n     @readOnly\n     */\n    static get attributes() {\n      var map = new Map();\n      this.eachComputedProperty((name, meta) => {\n        if (meta.isAttribute) {\n          (!(name !== 'id') && debug.assert(\"You may not set `id` as an attribute on your model. Please remove any lines that look like: `id: attr('<type>')` from \" + this.toString(), name !== 'id'));\n          meta.name = name;\n          map.set(name, meta);\n        }\n      });\n      return map;\n    }\n\n    /**\n     A map whose keys are the attributes of the model (properties\n     described by attr) and whose values are type of transformation\n     applied to each attribute. This map does not include any\n     attributes that do not have an transformation type.\n      Example\n      ```app/models/person.js\n     import Model, { attr } from '@ember-data/model';\n      export default class PersonModel extends Model {\n        @attr firstName;\n        @attr('string') lastName;\n        @attr('date') birthday;\n      }\n     ```\n      ```javascript\n     import { get } from '@ember/object';\n     import Person from 'app/models/person';\n      let transformedAttributes = Person.transformedAttributes\n      transformedAttributes.forEach(function(field, type) {\n        console.log(field, type);\n      });\n      // prints:\n     // lastName string\n     // birthday date\n     ```\n      @property transformedAttributes\n      @public\n     @static\n     @type {Map}\n     @readOnly\n     */\n    static get transformedAttributes() {\n      var map = new Map();\n      this.eachAttribute((key, meta) => {\n        if (meta.type) {\n          map.set(key, meta.type);\n        }\n      });\n      return map;\n    }\n\n    /**\n     Iterates through the attributes of the model, calling the passed function on each\n     attribute.\n      The callback method you provide should have the following signature (all\n     parameters are optional):\n      ```javascript\n     function(name, meta);\n     ```\n      - `name` the name of the current property in the iteration\n     - `meta` the meta object for the attribute property in the iteration\n      Note that in addition to a callback, you can also pass an optional target\n     object that will be set as `this` on the context.\n      Example\n      ```javascript\n     import Model, { attr } from '@ember-data/model';\n      class PersonModel extends Model {\n        @attr('string') firstName;\n        @attr('string') lastName;\n        @attr('date') birthday;\n      }\n      PersonModel.eachAttribute(function(name, meta) {\n        console.log(name, meta);\n      });\n      // prints:\n     // firstName {type: \"string\", isAttribute: true, options: Object, parentType: function, name: \"firstName\"}\n     // lastName {type: \"string\", isAttribute: true, options: Object, parentType: function, name: \"lastName\"}\n     // birthday {type: \"date\", isAttribute: true, options: Object, parentType: function, name: \"birthday\"}\n     ```\n      @method eachAttribute\n      @public\n     @param {Function} callback The callback to execute\n     @param {Object} [binding] the value to which the callback's `this` should be bound\n     @static\n     */\n    static eachAttribute(callback, binding) {\n      this.attributes.forEach((meta, name) => {\n        callback.call(binding, name, meta);\n      });\n    }\n\n    /**\n     Iterates through the transformedAttributes of the model, calling\n     the passed function on each attribute. Note the callback will not be\n     called for any attributes that do not have an transformation type.\n      The callback method you provide should have the following signature (all\n     parameters are optional):\n      ```javascript\n     function(name, type);\n     ```\n      - `name` the name of the current property in the iteration\n     - `type` a string containing the name of the type of transformed\n     applied to the attribute\n      Note that in addition to a callback, you can also pass an optional target\n     object that will be set as `this` on the context.\n      Example\n      ```javascript\n     import Model, { attr } from '@ember-data/model';\n      let Person = Model.extend({\n        firstName: attr(),\n        lastName: attr('string'),\n        birthday: attr('date')\n      });\n      Person.eachTransformedAttribute(function(name, type) {\n        console.log(name, type);\n      });\n      // prints:\n     // lastName string\n     // birthday date\n     ```\n      @method eachTransformedAttribute\n      @public\n     @param {Function} callback The callback to execute\n     @param {Object} [binding] the value to which the callback's `this` should be bound\n     @static\n     */\n    static eachTransformedAttribute(callback, binding) {\n      this.transformedAttributes.forEach((type, name) => {\n        callback.call(binding, name, type);\n      });\n    }\n\n    /**\n     Returns the name of the model class.\n      @method toString\n      @public\n     @static\n     */\n    static toString() {\n      return `model:${EmberObject.get(this, 'modelName')}`;\n    }\n  }, _Model.isModel = true, _Model.modelName = null, _Model), _applyDecoratedDescriptor$1(_class$1.prototype, \"isEmpty\", [compat.dependentKeyCompat], Object.getOwnPropertyDescriptor(_class$1.prototype, \"isEmpty\"), _class$1.prototype), _applyDecoratedDescriptor$1(_class$1.prototype, \"isLoading\", [compat.dependentKeyCompat], Object.getOwnPropertyDescriptor(_class$1.prototype, \"isLoading\"), _class$1.prototype), _applyDecoratedDescriptor$1(_class$1.prototype, \"isLoaded\", [compat.dependentKeyCompat], Object.getOwnPropertyDescriptor(_class$1.prototype, \"isLoaded\"), _class$1.prototype), _applyDecoratedDescriptor$1(_class$1.prototype, \"hasDirtyAttributes\", [compat.dependentKeyCompat], Object.getOwnPropertyDescriptor(_class$1.prototype, \"hasDirtyAttributes\"), _class$1.prototype), _applyDecoratedDescriptor$1(_class$1.prototype, \"isSaving\", [compat.dependentKeyCompat], Object.getOwnPropertyDescriptor(_class$1.prototype, \"isSaving\"), _class$1.prototype), _applyDecoratedDescriptor$1(_class$1.prototype, \"isDeleted\", [compat.dependentKeyCompat], Object.getOwnPropertyDescriptor(_class$1.prototype, \"isDeleted\"), _class$1.prototype), _applyDecoratedDescriptor$1(_class$1.prototype, \"isNew\", [compat.dependentKeyCompat], Object.getOwnPropertyDescriptor(_class$1.prototype, \"isNew\"), _class$1.prototype), _applyDecoratedDescriptor$1(_class$1.prototype, \"isValid\", [compat.dependentKeyCompat], Object.getOwnPropertyDescriptor(_class$1.prototype, \"isValid\"), _class$1.prototype), _applyDecoratedDescriptor$1(_class$1.prototype, \"dirtyType\", [compat.dependentKeyCompat], Object.getOwnPropertyDescriptor(_class$1.prototype, \"dirtyType\"), _class$1.prototype), _applyDecoratedDescriptor$1(_class$1.prototype, \"isError\", [flagToggledDecorator], Object.getOwnPropertyDescriptor(_class$1.prototype, \"isError\"), _class$1.prototype), _descriptor$1 = _applyDecoratedDescriptor$1(_class$1.prototype, \"isReloading\", [tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _applyDecoratedDescriptor$1(_class$1.prototype, \"id\", [tagged], Object.getOwnPropertyDescriptor(_class$1.prototype, \"id\"), _class$1.prototype), _applyDecoratedDescriptor$1(_class$1.prototype, \"currentState\", [tagged], Object.getOwnPropertyDescriptor(_class$1.prototype, \"currentState\"), _class$1.prototype), _applyDecoratedDescriptor$1(_class$1.prototype, \"errors\", [computeOnce], Object.getOwnPropertyDescriptor(_class$1.prototype, \"errors\"), _class$1.prototype), _applyDecoratedDescriptor$1(_class$1.prototype, \"adapterError\", [flagToggledDecorator], Object.getOwnPropertyDescriptor(_class$1.prototype, \"adapterError\"), _class$1.prototype), _applyDecoratedDescriptor$1(_class$1, \"inverseMap\", [computeOnce], Object.getOwnPropertyDescriptor(_class$1, \"inverseMap\"), _class$1), _applyDecoratedDescriptor$1(_class$1, \"relationships\", [computeOnce], Object.getOwnPropertyDescriptor(_class$1, \"relationships\"), _class$1), _applyDecoratedDescriptor$1(_class$1, \"relationshipNames\", [computeOnce], Object.getOwnPropertyDescriptor(_class$1, \"relationshipNames\"), _class$1), _applyDecoratedDescriptor$1(_class$1, \"relatedTypes\", [computeOnce], Object.getOwnPropertyDescriptor(_class$1, \"relatedTypes\"), _class$1), _applyDecoratedDescriptor$1(_class$1, \"relationshipsByName\", [computeOnce], Object.getOwnPropertyDescriptor(_class$1, \"relationshipsByName\"), _class$1), _applyDecoratedDescriptor$1(_class$1, \"relationshipsObject\", [computeOnce], Object.getOwnPropertyDescriptor(_class$1, \"relationshipsObject\"), _class$1), _applyDecoratedDescriptor$1(_class$1, \"fields\", [computeOnce], Object.getOwnPropertyDescriptor(_class$1, \"fields\"), _class$1), _applyDecoratedDescriptor$1(_class$1, \"attributes\", [computeOnce], Object.getOwnPropertyDescriptor(_class$1, \"attributes\"), _class$1), _applyDecoratedDescriptor$1(_class$1, \"transformedAttributes\", [computeOnce], Object.getOwnPropertyDescriptor(_class$1, \"transformedAttributes\"), _class$1), _class$1); // this is required to prevent `init` from passing\n  // the values initialized during create to `setUnknownProperty`\n  Model.prototype._internalModel = null;\n  Model.prototype.store = null;\n  Model.prototype._createProps = null;\n  {\n    /**\n     Provides info about the model for debugging purposes\n     by grouping the properties into more semantic groups.\n      Meant to be used by debugging tools such as the Chrome Ember Extension.\n      - Groups all attributes in \"Attributes\" group.\n     - Groups all belongsTo relationships in \"Belongs To\" group.\n     - Groups all hasMany relationships in \"Has Many\" group.\n     - Groups all flags in \"Flags\" group.\n     - Flags relationship CPs as expensive properties.\n      @method _debugInfo\n     @for Model\n     @private\n     */\n    Model.prototype._debugInfo = function () {\n      var attributes = ['id'];\n      var relationships = {};\n      var expensiveProperties = [];\n      this.eachAttribute((name, meta) => attributes.push(name));\n      var groups = [{\n        name: 'Attributes',\n        properties: attributes,\n        expand: true\n      }];\n      this.eachRelationship((name, relationship) => {\n        var properties = relationships[relationship.kind];\n        if (properties === undefined) {\n          properties = relationships[relationship.kind] = [];\n          groups.push({\n            name: relationship.kind,\n            properties,\n            expand: true\n          });\n        }\n        properties.push(name);\n        expensiveProperties.push(name);\n      });\n      groups.push({\n        name: 'Flags',\n        properties: ['isLoaded', 'hasDirtyAttributes', 'isSaving', 'isDeleted', 'isError', 'isNew', 'isValid']\n      });\n      return {\n        propertyInfo: {\n          // include all other mixins / properties (not just the grouped ones)\n          includeOtherProperties: true,\n          groups: groups,\n          // don't pre-calculate unless cached\n          expensiveProperties: expensiveProperties\n        }\n      };\n    };\n  }\n  {\n    /**\n    Override the default event firing from Ember.Evented to\n    also call methods with the given name.\n     @method trigger\n    @private\n    @param {String} name\n    */\n    Model.reopen(Private.DeprecatedEvented, {\n      trigger(name) {\n        {\n          var fn = this[name];\n          if (typeof fn === 'function') {\n            var length = arguments.length;\n            var args = new Array(length - 1);\n            for (var i = 1; i < length; i++) {\n              args[i - 1] = arguments[i];\n            }\n            fn.apply(this, args);\n          }\n        }\n        var _hasEvent = this._has(name) ;\n        if (_hasEvent) {\n          this._super(...arguments);\n        }\n      }\n    });\n  }\n  {\n    /**\n      Use [JSONSerializer](JSONSerializer.html) to\n      get the JSON representation of a record.\n       `toJSON` takes an optional hash as a parameter, currently\n      supported options are:\n       - `includeId`: `true` if the record's ID should be included in the\n        JSON representation.\n       @method toJSON\n      @public\n      @param {Object} options\n      @return {Object} A JSON representation of the object.\n    */\n    Model.reopen({\n      toJSON(options) {\n        // container is for lazy transform lookups\n        (debug.deprecate(`Called the built-in \\`toJSON\\` on the record \"${this.constructor.modelName}:${this.id}\". The built-in \\`toJSON\\` method on instances of classes extending \\`Model\\` is deprecated. For more information see the link below.`, false, {\n          id: 'ember-data:model.toJSON',\n          until: '4.0',\n          url: 'https://deprecations.emberjs.com/ember-data/v3.x#toc_record-toJSON',\n          for: '@ember-data/model',\n          since: {\n            available: '3.15',\n            enabled: '3.15'\n          }\n        }));\n        var serializer = this._internalModel.store.serializerFor('-default');\n        var snapshot = this._internalModel.createSnapshot();\n        return serializer.serialize(snapshot, options);\n      }\n    });\n  }\n  {\n    var lookupDescriptor = function lookupDescriptor(obj, keyName) {\n      var current = obj;\n      do {\n        var descriptor = Object.getOwnPropertyDescriptor(current, keyName);\n        if (descriptor !== undefined) {\n          return descriptor;\n        }\n        current = Object.getPrototypeOf(current);\n      } while (current !== null);\n      return null;\n    };\n    var isBasicDesc = function isBasicDesc(desc) {\n      return !desc || !desc.get && !desc.set && desc.enumerable === true && desc.writable === true && desc.configurable === true;\n    };\n    var isDefaultEmptyDescriptor = function isDefaultEmptyDescriptor(obj, keyName) {\n      var instanceDesc = lookupDescriptor(obj, keyName);\n      return isBasicDesc(instanceDesc) && lookupDescriptor(obj.constructor, keyName) === null;\n    };\n    var lookupDeprecations;\n    var _deprecatedLifecycleMethods;\n    {\n      var INSTANCE_DEPRECATIONS = new WeakMap();\n      _deprecatedLifecycleMethods = ['becameError', 'becameInvalid', 'didCreate', 'didDelete', 'didLoad', 'didUpdate', 'ready', 'rolledBack'];\n      lookupDeprecations = function lookupInstanceDeprecations(instance) {\n        var deprecations = INSTANCE_DEPRECATIONS.get(instance);\n        if (!deprecations) {\n          deprecations = new Set();\n          INSTANCE_DEPRECATIONS.set(instance, deprecations);\n        }\n        return deprecations;\n      };\n    }\n    Model.reopen({\n      init() {\n        this._super(...arguments);\n        {\n          this._getDeprecatedEventedInfo = () => `${this._internalModel.modelName}#${this.id}`;\n        }\n        if (!isDefaultEmptyDescriptor(this, '_internalModel') || !(this._internalModel instanceof Private.InternalModel)) {\n          throw new Error(`'_internalModel' is a reserved property name on instances of classes extending Model. Please choose a different property name for ${this.constructor.toString()}`);\n        }\n        var ourDescriptor = lookupDescriptor(Model.prototype, 'currentState');\n        var theirDescriptor = lookupDescriptor(this, 'currentState');\n        var realState = this.___recordState || this._internalModel.currentState;\n        if (ourDescriptor.get !== theirDescriptor.get || realState !== this.currentState) {\n          throw new Error(`'currentState' is a reserved property name on instances of classes extending Model. Please choose a different property name for ${this.constructor.toString()}`);\n        }\n        var ID_DESCRIPTOR = lookupDescriptor(Model.prototype, 'id');\n        var idDesc = lookupDescriptor(this, 'id');\n        if (idDesc.get !== ID_DESCRIPTOR.get) {\n          throw new EmberError__default[\"default\"](`You may not set 'id' as an attribute on your model. Please remove any lines that look like: \\`id: attr('<type>')\\` from ${this.constructor.toString()}`);\n        }\n        {\n          var lifecycleDeprecations = lookupDeprecations(this.constructor);\n          _deprecatedLifecycleMethods.forEach(methodName => {\n            if (typeof this[methodName] === 'function' && !lifecycleDeprecations.has(methodName)) {\n              (debug.deprecate(`You defined a \\`${methodName}\\` method for ${this.constructor.toString()} but lifecycle events for models have been deprecated.`, false, {\n                id: 'ember-data:record-lifecycle-event-methods',\n                until: '4.0',\n                url: 'https://deprecations.emberjs.com/ember-data/v3.x#toc_record-lifecycle-event-methods',\n                for: '@ember-data/model',\n                since: {\n                  available: '3.12',\n                  enabled: '3.12'\n                }\n              }));\n              lifecycleDeprecations.add(methodName);\n            }\n          });\n        }\n      }\n    });\n  }\n\n  /**\n    @module @ember-data/model\n  */\n\n  /**\n    @method diffArray\n    @internal\n    @param {Array} oldArray the old array\n    @param {Array} newArray the new array\n    @return {hash} {\n        firstChangeIndex: <integer>,  // null if no change\n        addedCount: <integer>,        // 0 if no change\n        removedCount: <integer>       // 0 if no change\n      }\n  */\n  function diffArray(oldArray, newArray) {\n    var oldLength = oldArray.length;\n    var newLength = newArray.length;\n    var shortestLength = Math.min(oldLength, newLength);\n    var firstChangeIndex = null; // null signifies no changes\n\n    // find the first change\n    for (var i = 0; i < shortestLength; i++) {\n      // compare each item in the array\n      if (oldArray[i] !== newArray[i]) {\n        firstChangeIndex = i;\n        break;\n      }\n    }\n    if (firstChangeIndex === null && newLength !== oldLength) {\n      // no change found in the overlapping block\n      // and array lengths differ,\n      // so change starts at end of overlap\n      firstChangeIndex = shortestLength;\n    }\n    var addedCount = 0;\n    var removedCount = 0;\n    if (firstChangeIndex !== null) {\n      // we found a change, find the end of the change\n      var unchangedEndBlockLength = shortestLength - firstChangeIndex;\n      // walk back from the end of both arrays until we find a change\n      for (var _i = 1; _i <= shortestLength; _i++) {\n        // compare each item in the array\n        if (oldArray[oldLength - _i] !== newArray[newLength - _i]) {\n          unchangedEndBlockLength = _i - 1;\n          break;\n        }\n      }\n      addedCount = newLength - unchangedEndBlockLength - firstChangeIndex;\n      removedCount = oldLength - unchangedEndBlockLength - firstChangeIndex;\n    }\n    return {\n      firstChangeIndex,\n      addedCount,\n      removedCount\n    };\n  }\n\n  /**\n    @module @ember-data/store\n  */\n\n  /**\n    A `ManyArray` is a `MutableArray` that represents the contents of a has-many\n    relationship.\n\n    The `ManyArray` is instantiated lazily the first time the relationship is\n    requested.\n\n    This class is not intended to be directly instantiated by consuming applications.\n\n    ### Inverses\n\n    Often, the relationships in Ember Data applications will have\n    an inverse. For example, imagine the following models are\n    defined:\n\n    ```app/models/post.js\n    import Model, { hasMany } from '@ember-data/model';\n\n    export default class PostModel extends Model {\n      @hasMany('comment') comments;\n    }\n    ```\n\n    ```app/models/comment.js\n    import Model, { belongsTo } from '@ember-data/model';\n\n    export default class CommentModel extends Model {\n      @belongsTo('post') post;\n    }\n    ```\n\n    If you created a new instance of `Post` and added\n    a `Comment` record to its `comments` has-many\n    relationship, you would expect the comment's `post`\n    property to be set to the post that contained\n    the has-many.\n\n    We call the record to which a relationship belongs-to the\n    relationship's _owner_.\n\n    @class ManyArray\n    @public\n    @extends EmberObject\n    @uses Ember.MutableArray, DeprecatedEvented\n  */\n  var manyArray = EmberObject__default[\"default\"].extend(MutableArray__default[\"default\"], Private.DeprecatedEvented, {\n    isAsync: false,\n    isLoaded: false,\n    init() {\n      this._super(...arguments);\n\n      /**\n      The loading state of this array\n       @property {Boolean} isLoaded\n      @public\n      */\n      this.isLoaded = this.isLoaded || false;\n      this._length = 0;\n\n      /**\n      Metadata associated with the request for async hasMany relationships.\n       Example\n       Given that the server returns the following JSON payload when fetching a\n      hasMany relationship:\n       ```js\n      {\n        \"comments\": [{\n          \"id\": 1,\n          \"comment\": \"This is the first comment\",\n        }, {\n      // ...\n        }],\n         \"meta\": {\n          \"page\": 1,\n          \"total\": 5\n        }\n      }\n      ```\n       You can then access the meta data via the `meta` property:\n       ```js\n      let comments = await post.comments;\n      let meta = comments.meta;\n       // meta.page => 1\n      // meta.total => 5\n      ```\n       @property {Object | null} meta\n      @public\n      */\n      this._meta = this._meta || null;\n\n      /**\n       * Retrieve the links for this relationship\n       *\n       @property {Object | null} links\n       @public\n       */\n      this._links = this._links || null;\n\n      /**\n      `true` if the relationship is polymorphic, `false` otherwise.\n       @property {Boolean} isPolymorphic\n      @private\n      */\n      this.isPolymorphic = this.isPolymorphic || false;\n\n      /**\n      The relationship which manages this array.\n       @property {ManyRelationship} relationship\n      @private\n      */\n      this.currentState = [];\n      this._isUpdating = false;\n      this._isDirty = false;\n      /*\n       * Unfortunately ArrayProxy adds it's observers lazily,\n       * so in a first-render situation we may sometimes notify\n       * prior to the ArrayProxy having installed it's observers\n       * (which occurs during _revalidate()).\n       *\n       * This leads to the flush occuring on access, the flush takes\n       * the hasObservers codepath which in code out of our control\n       * notifies again leading to a glimmer rendering invalidation error.\n       *\n       * We use this flag to detect the case where we notified without\n       * array observers but observers were installed prior to flush.\n       *\n       * We do not need to fire array observers at all in this case\n       * since it will be the first-access for those observers.\n       */\n      this._hasNotified = false;\n      // make sure we initialize to the correct state\n      // since the user has already accessed\n      this.retrieveLatest();\n    },\n    // TODO refactor away _hasArrayObservers for tests\n    get _hasArrayObservers() {\n      return this.hasArrayObservers || this.__hasArrayObservers;\n    },\n    notify() {\n      this._isDirty = true;\n      if (this._hasArrayObservers && !this._hasNotified) {\n        this.retrieveLatest();\n      } else {\n        this._hasNotified = true;\n        this.notifyPropertyChange('[]');\n        this.notifyPropertyChange('length');\n        this.notifyPropertyChange('firstObject');\n        this.notifyPropertyChange('lastObject');\n      }\n    },\n    get length() {\n      if (this._isDirty) {\n        this.retrieveLatest();\n      }\n      // By using `get()`, the tracking system knows to pay attention to changes that occur.\n      EmberObject.get(this, '[]');\n      return this._length;\n    },\n    set length(value) {\n      this._length = value;\n    },\n    get links() {\n      EmberObject.get(this, '[]');\n      if (this._isDirty) {\n        this.retrieveLatest();\n      }\n      return this._links;\n    },\n    set links(v) {\n      this._links = v;\n    },\n    get meta() {\n      EmberObject.get(this, '[]');\n      if (this._isDirty) {\n        this.retrieveLatest();\n      }\n      return this._meta;\n    },\n    set meta(v) {\n      this._meta = v;\n    },\n    objectAt(index) {\n      if (this._isDirty) {\n        this.retrieveLatest();\n      }\n      var internalModel = this.currentState[index];\n      if (internalModel === undefined) {\n        return;\n      }\n      return internalModel.getRecord();\n    },\n    replace(idx, amt, objects) {\n      (!(!this._isUpdating) && debug.assert(`Cannot push mutations to the cache while updating the relationship from cache`, !this._isUpdating));\n      this.store._backburner.join(() => {\n        var internalModels;\n        if (amt > 0) {\n          internalModels = this.currentState.slice(idx, idx + amt);\n          this.recordData.removeFromHasMany(this.key, internalModels.map(im => Private.recordDataFor(im)));\n        }\n        if (objects) {\n          (!(Array.isArray(objects) || EmberArray__default[\"default\"].detect(objects)) && debug.assert('The third argument to replace needs to be an array.', Array.isArray(objects) || EmberArray__default[\"default\"].detect(objects)));\n          this.recordData.addToHasMany(this.key, objects.map(obj => Private.recordDataFor(obj)), idx);\n        }\n        this.notify();\n      });\n    },\n    retrieveLatest() {\n      // It’s possible the parent side of the relationship may have been destroyed by this point\n      if (this.isDestroyed || this.isDestroying || this._isUpdating) {\n        return;\n      }\n      this._isDirty = false;\n      this._isUpdating = true;\n      var jsonApi = this.recordData.getHasMany(this.key);\n      var internalModels = [];\n      if (jsonApi.data) {\n        for (var i = 0; i < jsonApi.data.length; i++) {\n          var im = this.store._internalModelForResource(jsonApi.data[i]);\n          var shouldRemove = im._isDematerializing || im.currentState.isEmpty || !im.currentState.isLoaded;\n          if (!shouldRemove) {\n            internalModels.push(im);\n          }\n        }\n      }\n      if (jsonApi.meta) {\n        this._meta = jsonApi.meta;\n      }\n      if (jsonApi.links) {\n        this._links = jsonApi.links;\n      }\n      if (this._hasArrayObservers && !this._hasNotified) {\n        // diff to find changes\n        var diff = diffArray(this.currentState, internalModels);\n        // it's null if no change found\n        if (diff.firstChangeIndex !== null) {\n          // we found a change\n          this.arrayContentWillChange(diff.firstChangeIndex, diff.removedCount, diff.addedCount);\n          this._length = internalModels.length;\n          this.currentState = internalModels;\n          this.arrayContentDidChange(diff.firstChangeIndex, diff.removedCount, diff.addedCount);\n        }\n      } else {\n        this._hasNotified = false;\n        this._length = internalModels.length;\n        this.currentState = internalModels;\n      }\n      this._isUpdating = false;\n    },\n    /**\n      Reloads all of the records in the manyArray. If the manyArray\n      holds a relationship that was originally fetched using a links url\n      Ember Data will revisit the original links url to repopulate the\n      relationship.\n       If the manyArray holds the result of a `store.query()` reload will\n      re-run the original query.\n       Example\n       ```javascript\n      let user = store.peekRecord('user', '1')\n      await login(user);\n       let permissions = await user.permissions;\n      await permissions.reload();\n      ```\n       @method reload\n      @public\n    */\n    reload(options) {\n      // TODO this is odd, we don't ask the store for anything else like this?\n      return this.store.reloadManyArray(this, this.internalModel, this.key, options);\n    },\n    /**\n      Saves all of the records in the `ManyArray`.\n       Example\n       ```javascript\n      let inbox = await store.findRecord('inbox', '1');\n      let messages = await inbox.messages;\n      messages.forEach((message) => {\n        message.isRead = true;\n      });\n      messages.save();\n      ```\n       @method save\n      @public\n      @return {PromiseArray} promise\n    */\n    save() {\n      var manyArray = this;\n      var promiseLabel = 'DS: ManyArray#save ' + this.type;\n      var promise = rsvp.all(this.invoke('save'), promiseLabel).then(() => manyArray, null, 'DS: ManyArray#save return ManyArray');\n\n      // TODO deprecate returning a promiseArray here\n      return Private.PromiseArray.create({\n        promise\n      });\n    },\n    /**\n      Create a child record within the owner\n       @method createRecord\n      @public\n      @param {Object} hash\n      @return {Model} record\n    */\n    createRecord(hash) {\n      var {\n        store,\n        type\n      } = this;\n      var record = store.createRecord(type.modelName, hash);\n      this.pushObject(record);\n      return record;\n    }\n  });\n\n  /**\n   @module @ember-data/model\n   */\n\n  /**\n    A PromiseBelongsTo is a PromiseObject that also proxies certain method calls\n    to the underlying belongsTo model.\n    Right now we proxy:\n\n      * `reload()`\n\n    @class PromiseBelongsTo\n    @extends PromiseObject\n    @private\n  */\n  var PromiseBelongsTo = Private.PromiseObject.extend({\n    // we don't proxy meta because we would need to proxy it to the relationship state container\n    //  however, meta on relationships does not trigger change notifications.\n    //  if you need relationship meta, you should do `record.belongsTo(relationshipName).meta()`\n    meta: EmberObject.computed(function () {\n      (debug.assert('You attempted to access meta on the promise for the async belongsTo relationship ' + `${this.get('_belongsToState').modelName}:${this.get('_belongsToState').key}'.` + '\\nUse `record.belongsTo(relationshipName).meta()` instead.', false));\n    }),\n    reload(options) {\n      (!(this.get('content') !== undefined) && debug.assert('You are trying to reload an async belongsTo before it has been created', this.get('content') !== undefined));\n      var {\n        key,\n        store,\n        originatingInternalModel\n      } = this._belongsToState;\n      return store.reloadBelongsTo(this, originatingInternalModel, key, options).then(() => this);\n    }\n  });\n\n  var _class, _descriptor, _descriptor2, _descriptor3, _descriptor4, _descriptor5;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  /**\n   @module @ember-data/model\n   */\n  /**\n    This class is returned as the result of accessing an async hasMany relationship\n    on an instance of a Model extending from `@ember-data/model`.\n\n    A PromiseManyArray is an array-like proxy that also proxies certain method calls\n    to the underlying ManyArray in addition to being \"promisified\".\n\n    Right now we proxy:\n\n      * `reload()`\n      * `createRecord()`\n\n    This promise-proxy behavior is primarily to ensure that async relationship interact\n    nicely with templates. In your JS code you should resolve the promise first.\n\n    ```js\n    const comments = await post.comments;\n    ```\n\n    @class PromiseManyArray\n    @public\n  */\n  var PromiseManyArray = (_class = class PromiseManyArray {\n    constructor(promise, content) {\n      //---- Methods/Properties on ArrayProxy that we will keep as our API\n      _initializerDefineProperty(this, \"content\", _descriptor, this);\n      //----  Properties/Methods from the PromiseProxyMixin that we will keep as our API\n      /**\n       * Whether the loading promise is still pending\n       *\n       * @property {boolean} isPending\n       * @public\n       */\n      _initializerDefineProperty(this, \"isPending\", _descriptor2, this);\n      /**\n       * Whether the loading promise rejected\n       *\n       * @property {boolean} isRejected\n       * @public\n       */\n      _initializerDefineProperty(this, \"isRejected\", _descriptor3, this);\n      /**\n       * Whether the loading promise succeeded\n       *\n       * @property {boolean} isFulfilled\n       * @public\n       */\n      _initializerDefineProperty(this, \"isFulfilled\", _descriptor4, this);\n      /**\n       * Whether the loading promise completed (resolved or rejected)\n       *\n       * @property {boolean} isSettled\n       * @public\n       */\n      _initializerDefineProperty(this, \"isSettled\", _descriptor5, this);\n      this._update(promise, content);\n      this.isDestroyed = false;\n      this.isDestroying = false;\n      var meta = Ember__default[\"default\"].meta(this);\n      meta.hasMixin = mixin => {\n        if (mixin === EmberArray__default[\"default\"]) {\n          return true;\n        }\n        return false;\n      };\n    }\n    /**\n     * Retrieve the length of the content\n     * @property length\n     * @public\n     */\n    get length() {\n      // shouldn't be needed, but ends up being needed\n      // for computed chains even in 4.x\n      this['[]'];\n      return this.content ? this.content.length : 0;\n    }\n\n    // ember-source < 3.23 (e.g. 3.20 lts)\n    // requires that the tag `'[]'` be notified\n    // on the ArrayProxy in order for `{{#each}}`\n    // to recompute. We entangle the '[]' tag from\n    get '[]'() {\n      return this.content ? this.content['[]'] : this.content;\n    }\n\n    /**\n     * Iterate the proxied content. Called by the glimmer iterator in #each\n     *\n     * @method forEach\n     * @param cb\n     * @returns\n     * @private\n     */\n    forEach(cb) {\n      this['[]']; // needed for < 3.23 support e.g. 3.20 lts\n      if (this.content && this.length) {\n        this.content.forEach(cb);\n      }\n    }\n    /**\n     * chain this promise\n     *\n     * @method then\n     * @public\n     * @param success\n     * @param fail\n     * @returns Promise\n     */\n    then(s, f) {\n      return this.promise.then(s, f);\n    }\n\n    /**\n     * catch errors thrown by this promise\n     * @method catch\n     * @public\n     * @param callback\n     * @returns Promise\n     */\n    catch(cb) {\n      return this.promise.catch(cb);\n    }\n\n    /**\n     * run cleanup after this promise completes\n     *\n     * @method finally\n     * @public\n     * @param callback\n     * @returns Promise\n     */\n    finally(cb) {\n      return this.promise.finally(cb);\n    }\n\n    //---- Methods on EmberObject that we should keep\n\n    destroy() {\n      this.isDestroying = true;\n      this.isDestroyed = true;\n      this.content = null;\n      this.promise = null;\n    }\n\n    //---- Methods/Properties on ManyArray that we own and proxy to\n\n    /**\n     * Retrieve the links for this relationship\n     * @property links\n     * @public\n     */\n    get links() {\n      return this.content ? this.content.links : undefined;\n    }\n\n    /**\n     * Retrieve the meta for this relationship\n     * @property meta\n     * @public\n     */\n    get meta() {\n      return this.content ? this.content.meta : undefined;\n    }\n\n    /**\n     * Reload the relationship\n     * @method reload\n     * @public\n     * @param options\n     * @returns\n     */\n    reload(options) {\n      (!(this.content) && debug.assert('You are trying to reload an async manyArray before it has been created', this.content));\n      this.content.reload(options);\n      return this;\n    }\n\n    //---- Our own stuff\n\n    _update(promise, content) {\n      if (content !== undefined) {\n        this.content = content;\n      }\n      this.promise = tapPromise(this, promise);\n    }\n    static create({\n      promise,\n      content\n    }) {\n      return new this(promise, content);\n    }\n\n    // Methods on ManyArray which people should resolve the relationship first before calling\n    createRecord(...args) {\n      (!(this.content) && debug.assert('You are trying to createRecord on an async manyArray before it has been created', this.content));\n      return this.content.createRecord(...args);\n    }\n\n    // Properties/Methods on ArrayProxy we should deprecate\n\n    get firstObject() {\n      return this.content ? this.content.firstObject : undefined;\n    }\n    get lastObject() {\n      return this.content ? this.content.lastObject : undefined;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"content\", [tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"length\", [compat.dependentKeyCompat], Object.getOwnPropertyDescriptor(_class.prototype, \"length\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, '[]', [compat.dependentKeyCompat], Object.getOwnPropertyDescriptor(_class.prototype, '[]'), _class.prototype), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"isPending\", [tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"isRejected\", [tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor4 = _applyDecoratedDescriptor(_class.prototype, \"isFulfilled\", [tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor5 = _applyDecoratedDescriptor(_class.prototype, \"isSettled\", [tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"links\", [compat.dependentKeyCompat], Object.getOwnPropertyDescriptor(_class.prototype, \"links\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"meta\", [compat.dependentKeyCompat], Object.getOwnPropertyDescriptor(_class.prototype, \"meta\"), _class.prototype), _class);\n  function tapPromise(proxy, promise) {\n    proxy.isPending = true;\n    proxy.isSettled = false;\n    proxy.isFulfilled = false;\n    proxy.isRejected = false;\n    return rsvp.resolve(promise).then(content => {\n      proxy.isPending = false;\n      proxy.isFulfilled = true;\n      proxy.isSettled = true;\n      proxy.content = content;\n      return content;\n    }, error => {\n      proxy.isPending = false;\n      proxy.isFulfilled = false;\n      proxy.isRejected = true;\n      proxy.isSettled = true;\n      throw error;\n    });\n  }\n  var EmberObjectMethods = ['addObserver', 'cacheFor', 'decrementProperty', 'get', 'getProperties', 'incrementProperty', 'notifyPropertyChange', 'removeObserver', 'set', 'setProperties', 'toggleProperty'];\n  EmberObjectMethods.forEach(method => {\n    PromiseManyArray.prototype[method] = function delegatedMethod(...args) {\n      return Ember__default[\"default\"][method](this, ...args);\n    };\n  });\n  var InheritedProxyMethods = ['addArrayObserver', 'addObject', 'addObjects', 'any', 'arrayContentDidChange', 'arrayContentWillChange', 'clear', 'compact', 'every', 'filter', 'filterBy', 'find', 'findBy', 'getEach', 'includes', 'indexOf', 'insertAt', 'invoke', 'isAny', 'isEvery', 'lastIndexOf', 'map', 'mapBy', 'objectAt', 'objectsAt', 'popObject', 'pushObject', 'pushObjects', 'reduce', 'reject', 'rejectBy', 'removeArrayObserver', 'removeAt', 'removeObject', 'removeObjects', 'replace', 'reverseObjects', 'setEach', 'setObjects', 'shiftObject', 'slice', 'sortBy', 'toArray', 'uniq', 'uniqBy', 'unshiftObject', 'unshiftObjects', 'without'];\n  InheritedProxyMethods.forEach(method => {\n    PromiseManyArray.prototype[method] = function proxiedMethod(...args) {\n      (!(this.content) && debug.assert(`Cannot call ${method} before content is assigned.`, this.content));\n      return this.content[method](...args);\n    };\n  });\n  {\n    ['on', 'has', 'trigger', 'off', 'one'].forEach(method => {\n      PromiseManyArray.prototype[method] = function proxiedMethod(...args) {\n        (!(this.content) && debug.assert(`Cannot call ${method} before content is assigned.`, this.content));\n        return this.content[method](...args);\n      };\n    });\n  }\n\n  /* \n      In case someone defined a relationship to a mixin, for example:\n      ```\n        import Model, { belongsTo, hasMany } from '@ember-data/model';\n        import Mixin from '@ember/object/mixin';\n\n        class CommentModel extends Model {\n          @belongsTo('commentable', { polymorphic: true }) owner;\n        }\n\n        let Commentable = Mixin.create({\n          @hasMany('comment') comments;\n        });\n      ```\n      we want to look up a Commentable class which has all the necessary\n      relationship meta data. Thus, we look up the mixin and create a mock\n      Model, so we can access the relationship CPs of the mixin (`comments`)\n      in this case\n    */\n  function modelForMixin(store, normalizedModelName) {\n    var owner = application.getOwner(store);\n    var MaybeMixin = owner.factoryFor(`mixin:${normalizedModelName}`);\n    var mixin = MaybeMixin && MaybeMixin.class;\n    if (mixin) {\n      var ModelForMixin = Model.extend(mixin);\n      ModelForMixin.reopenClass({\n        __isMixin: true,\n        __mixin: mixin\n      });\n      //Cache the class as a model\n      owner.register('model:' + normalizedModelName, ModelForMixin);\n    }\n    return owner.factoryFor(`model:${normalizedModelName}`);\n  }\n\n  exports.Errors = Errors;\n  exports.ManyArray = manyArray;\n  exports.Model = Model;\n  exports.PromiseBelongsTo = PromiseBelongsTo;\n  exports.PromiseManyArray = PromiseManyArray;\n  exports._modelForMixin = modelForMixin;\n  exports.attr = attr$1;\n  exports.belongsTo = belongsTo$1;\n  exports.diffArray = diffArray;\n  exports.hasMany = hasMany$1;\n\n  Object.defineProperty(exports, '__esModule', { value: true });\n\n}));\n","define(\"@ember-data/model/index\", [\"exports\", \"@ember-data/model/-private\"], function (_exports, _private) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"attr\", {\n    enumerable: true,\n    get: function () {\n      return _private.attr;\n    }\n  });\n  Object.defineProperty(_exports, \"belongsTo\", {\n    enumerable: true,\n    get: function () {\n      return _private.belongsTo;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _private.Model;\n    }\n  });\n  Object.defineProperty(_exports, \"hasMany\", {\n    enumerable: true,\n    get: function () {\n      return _private.hasMany;\n    }\n  });\n});","define(\"@ember-data/private-build-infra/available-packages\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    HAS_EMBER_DATA_PACKAGE: 'ember-data',\n    HAS_STORE_PACKAGE: '@ember-data/store',\n    HAS_MODEL_PACKAGE: '@ember-data/model',\n    HAS_RECORD_DATA_PACKAGE: '@ember-data/record-data',\n    HAS_ADAPTER_PACKAGE: '@ember-data/adapter',\n    HAS_SERIALIZER_PACKAGE: '@ember-data/serializer',\n    HAS_DEBUG_PACKAGE: '@ember-data/debug'\n  };\n});","define(\"@ember-data/private-build-infra/current-deprecations\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * ## Deprecations\n   *\n   * EmberData allows users to opt-in and remove code that exists to support deprecated\n   * behaviors.\n   *\n   * If your app has resolved all deprecations present in a given version,\n   * you may specify that version as your \"compatibility\" version to remove\n   * the code that supported the deprecated behavior from your app.\n   *\n   * For instance, if a deprecation was introduced in 3.13, and the app specifies\n   * 3.13 as its minimum version compatibility, any deprecations introduced before\n   * or during 3.13 would be stripped away.\n   *\n   * An app can use a different version than what it specifies as it's compatibility\n   * version. For instance, an App could be using `3.16` while specifying compatibility\n   * with `3.12`. This would remove any deprecations that were present in or before `3.12`\n   * but keep support for anything deprecated in or above `3.13`.\n   *\n   * ### Configuring Compatibility\n   *\n   * To configure your compatibility version, set the `compatWith` to the version you\n   * are compatible with on the `emberData` config in your `ember-cli-build.js` file.\n   *\n   * ```js\n   * let app = new EmberApp(defaults, {\n   *   emberData: {\n   *     compatWith: '3.12',\n   *   },\n   * });\n   * ```\n   *\n   * The complete list of which versions specific deprecations will be removed in\n   * can be found [here](https://github.com/emberjs/data/tree/master/packages/private-build-infra/addon/current-deprecations.ts \"List of EmberData Deprecations\")\n   *\n   * @module @ember-data/deprecations\n   * @main @ember-data/deprecations\n   */\n  var _default = _exports.default = {\n    DEPRECATE_CATCH_ALL: '99.0',\n    DEPRECATE_EVENTED_API_USAGE: '3.12',\n    DEPRECATE_RECORD_LIFECYCLE_EVENT_METHODS: '3.12',\n    DEPRECATE_MODEL_TOJSON: '3.15',\n    DEPRECATE_LEGACY_TEST_HELPER_SUPPORT: '3.15',\n    DEPRECATE_LEGACY_TEST_REGISTRATIONS: '3.15',\n    DEPRECATE_DEFAULT_SERIALIZER: '3.15',\n    DEPRECATE_DEFAULT_ADAPTER: '3.15',\n    DEPRECATE_METHOD_CALLS_ON_DESTROY_STORE: '3.15',\n    DEPRECATE_MISMATCHED_INVERSE_RELATIONSHIP_DATA: '3.12',\n    DEPRECATE_BELONGS_TO_REFERENCE_PUSH: '3.16',\n    DEPRECATE_REFERENCE_INTERNAL_MODEL: '3.19',\n    DEPRECATE_NAJAX: '3.22'\n  };\n});","define(\"@ember-data/private-build-infra/deprecations\", [\"exports\", \"@ember-data/private-build-infra/current-deprecations\"], function (_exports, _currentDeprecations) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.DEPRECATE_REFERENCE_INTERNAL_MODEL = _exports.DEPRECATE_RECORD_LIFECYCLE_EVENT_METHODS = _exports.DEPRECATE_NAJAX = _exports.DEPRECATE_MODEL_TOJSON = _exports.DEPRECATE_MISMATCHED_INVERSE_RELATIONSHIP_DATA = _exports.DEPRECATE_METHOD_CALLS_ON_DESTROY_STORE = _exports.DEPRECATE_LEGACY_TEST_REGISTRATIONS = _exports.DEPRECATE_LEGACY_TEST_HELPER_SUPPORT = _exports.DEPRECATE_EVENTED_API_USAGE = _exports.DEPRECATE_DEFAULT_SERIALIZER = _exports.DEPRECATE_DEFAULT_ADAPTER = _exports.DEPRECATE_CATCH_ALL = _exports.DEPRECATE_BELONGS_TO_REFERENCE_PUSH = void 0;\n  function deprecationState(deprecationName) {\n    // if we hit this at runtime and the deprecation exists it is always activated\n    return deprecationName in _currentDeprecations.default;\n  }\n\n  // deprecations\n  const DEPRECATE_CATCH_ALL = _exports.DEPRECATE_CATCH_ALL = deprecationState('DEPRECATE_CATCH_ALL');\n  const DEPRECATE_EVENTED_API_USAGE = _exports.DEPRECATE_EVENTED_API_USAGE = deprecationState('DEPRECATE_EVENTED_API_USAGE');\n  const DEPRECATE_RECORD_LIFECYCLE_EVENT_METHODS = _exports.DEPRECATE_RECORD_LIFECYCLE_EVENT_METHODS = deprecationState('DEPRECATE_RECORD_LIFECYCLE_EVENT_METHODS');\n  const DEPRECATE_MODEL_TOJSON = _exports.DEPRECATE_MODEL_TOJSON = deprecationState('DEPRECATE_MODEL_TOJSON');\n  const DEPRECATE_LEGACY_TEST_HELPER_SUPPORT = _exports.DEPRECATE_LEGACY_TEST_HELPER_SUPPORT = deprecationState('DEPRECATE_LEGACY_TEST_HELPER_SUPPORT');\n  const DEPRECATE_LEGACY_TEST_REGISTRATIONS = _exports.DEPRECATE_LEGACY_TEST_REGISTRATIONS = deprecationState('DEPRECATE_LEGACY_TEST_REGISTRATIONS');\n  const DEPRECATE_DEFAULT_SERIALIZER = _exports.DEPRECATE_DEFAULT_SERIALIZER = deprecationState('DEPRECATE_DEFAULT_SERIALIZER');\n  const DEPRECATE_DEFAULT_ADAPTER = _exports.DEPRECATE_DEFAULT_ADAPTER = deprecationState('DEPRECATE_DEFAULT_ADAPTER');\n  const DEPRECATE_METHOD_CALLS_ON_DESTROY_STORE = _exports.DEPRECATE_METHOD_CALLS_ON_DESTROY_STORE = deprecationState('DEPRECATE_METHOD_CALLS_ON_DESTROY_STORE');\n  const DEPRECATE_MISMATCHED_INVERSE_RELATIONSHIP_DATA = _exports.DEPRECATE_MISMATCHED_INVERSE_RELATIONSHIP_DATA = deprecationState('DEPRECATE_MISMATCHED_INVERSE_RELATIONSHIP_DATA');\n  const DEPRECATE_BELONGS_TO_REFERENCE_PUSH = _exports.DEPRECATE_BELONGS_TO_REFERENCE_PUSH = deprecationState('DEPRECATE_BELONGS_TO_REFERENCE_PUSH');\n  const DEPRECATE_REFERENCE_INTERNAL_MODEL = _exports.DEPRECATE_REFERENCE_INTERNAL_MODEL = deprecationState('DEPRECATE_REFERENCE_INTERNAL_MODEL');\n  const DEPRECATE_NAJAX = _exports.DEPRECATE_NAJAX = deprecationState('DEPRECATE_NAJAX');\n});","define(\"@ember-data/private-build-infra/index\", [\"exports\", \"require\", \"@ember-data/private-build-infra/available-packages\"], function (_exports, _require, _availablePackages) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.HAS_STORE_PACKAGE = _exports.HAS_SERIALIZER_PACKAGE = _exports.HAS_RECORD_DATA_PACKAGE = _exports.HAS_MODEL_PACKAGE = _exports.HAS_EMBER_DATA_PACKAGE = _exports.HAS_DEBUG_PACKAGE = _exports.HAS_ADAPTER_PACKAGE = void 0;\n  function flagState(flag) {\n    const packageName = _availablePackages.default[flag];\n    return (0, _require.has)(packageName) || false;\n  }\n  const HAS_EMBER_DATA_PACKAGE = _exports.HAS_EMBER_DATA_PACKAGE = flagState('HAS_EMBER_DATA_PACKAGE');\n  const HAS_STORE_PACKAGE = _exports.HAS_STORE_PACKAGE = flagState('HAS_STORE_PACKAGE');\n  const HAS_MODEL_PACKAGE = _exports.HAS_MODEL_PACKAGE = flagState('HAS_MODEL_PACKAGE');\n  const HAS_ADAPTER_PACKAGE = _exports.HAS_ADAPTER_PACKAGE = flagState('HAS_ADAPTER_PACKAGE');\n  const HAS_SERIALIZER_PACKAGE = _exports.HAS_SERIALIZER_PACKAGE = flagState('HAS_SERIALIZER_PACKAGE');\n  const HAS_DEBUG_PACKAGE = _exports.HAS_DEBUG_PACKAGE = flagState('HAS_DEBUG_PACKAGE');\n  const HAS_RECORD_DATA_PACKAGE = _exports.HAS_RECORD_DATA_PACKAGE = flagState('HAS_RECORD_DATA_PACKAGE');\n});","define('@ember-data/record-data/-private', ['exports', '@ember/debug', '@ember/polyfills', '@ember/runloop', '@ember/utils', '@ember-data/store/-private', '@ember-data/store/-debug'], (function (exports, debug, polyfills, runloop, utils, Private, Debug) { 'use strict';\n\n  // Used by the store to normalize IDs entering the store.  Despite the fact\n  // that developers may provide IDs as numbers (e.g., `store.findRecord('person', 1)`),\n  // it is important that internally we use strings, since IDs may be serialized\n  // and lose type information.  For example, Ember's router may put a record's\n  // ID into the URL, and if we later try to deserialize that URL and find the\n  // corresponding record, we will not know if it is a string or a number.\n\n  function coerceId(id) {\n    if (id === null || id === undefined || id === '') {\n      return null;\n    }\n    if (typeof id === 'string') {\n      return id;\n    }\n    if (typeof id === 'symbol') {\n      return id.toString();\n    }\n    return '' + id;\n  }\n\n  function expandingGet(cache, key1, key2) {\n    var mainCache = cache[key1] = cache[key1] || Object.create(null);\n    return mainCache[key2];\n  }\n  function expandingSet(cache, key1, key2, value) {\n    var mainCache = cache[key1] = cache[key1] || Object.create(null);\n    mainCache[key2] = value;\n  }\n  function assertValidRelationshipPayload(graph, op) {\n    var relationship = graph.get(op.record, op.field);\n    (!(isHasMany(relationship) || isBelongsTo(relationship)) && debug.assert(`Cannot update an implicit relationship`, isHasMany(relationship) || isBelongsTo(relationship)));\n    var payload = op.value;\n    var {\n      definition,\n      identifier,\n      state\n    } = relationship;\n    var {\n      type\n    } = identifier;\n    var {\n      field\n    } = op;\n    var {\n      isAsync,\n      kind\n    } = definition;\n    if (payload.links) {\n      (debug.warn(`You pushed a record of type '${type}' with a relationship '${field}' configured as 'async: false'. You've included a link but no primary data, this may be an error in your payload. EmberData will treat this relationship as known-to-be-empty.`, isAsync || !!payload.data || state.hasReceivedData, {\n        id: 'ds.store.push-link-for-sync-relationship'\n      }));\n    } else if (payload.data) {\n      if (kind === 'belongsTo') {\n        (!(!Array.isArray(payload.data)) && debug.assert(`A ${type} record was pushed into the store with the value of ${field} being ${debug.inspect(payload.data)}, but ${field} is a belongsTo relationship so the value must not be an array. You should probably check your data payload or serializer.`, !Array.isArray(payload.data)));\n        assertRelationshipData(graph.store._store, identifier, payload.data, definition);\n      } else if (kind === 'hasMany') {\n        (!(Array.isArray(payload.data)) && debug.assert(`A ${type} record was pushed into the store with the value of ${field} being '${debug.inspect(payload.data)}', but ${field} is a hasMany relationship so the value must be an array. You should probably check your data payload or serializer.`, Array.isArray(payload.data)));\n        if (Array.isArray(payload.data)) {\n          for (var i = 0; i < payload.data.length; i++) {\n            assertRelationshipData(graph.store._store, identifier, payload.data[i], definition);\n          }\n        }\n      }\n    }\n  }\n  function isNew(identifier) {\n    if (!identifier.id) {\n      return true;\n    }\n    var recordData = Private.recordDataFor(identifier);\n    return recordData ? isRelationshipRecordData(recordData) && recordData.isNew() : false;\n  }\n  function isRelationshipRecordData(recordData) {\n    return typeof recordData.isNew === 'function';\n  }\n  function isBelongsTo(relationship) {\n    return relationship.definition.kind === 'belongsTo';\n  }\n  function isImplicit(relationship) {\n    return relationship.definition.isImplicit;\n  }\n  function isHasMany(relationship) {\n    return relationship.definition.kind === 'hasMany';\n  }\n  function assertRelationshipData(store, identifier, data, meta) {\n    (!(!Array.isArray(data)) && debug.assert(`A ${identifier.type} record was pushed into the store with the value of ${meta.key} being '${JSON.stringify(data)}', but ${meta.key} is a belongsTo relationship so the value must not be an array. You should probably check your data payload or serializer.`, !Array.isArray(data)));\n    (!(data === null || typeof data.type === 'string' && data.type.length) && debug.assert(`Encountered a relationship identifier without a type for the ${meta.kind} relationship '${meta.key}' on <${identifier.type}:${identifier.id}>, expected a json-api identifier with type '${meta.type}' but found '${JSON.stringify(data)}'. Please check your serializer and make sure it is serializing the relationship payload into a JSON API format.`, data === null || typeof data.type === 'string' && data.type.length));\n    (!(data === null || !!Private.coerceId(data.id)) && debug.assert(`Encountered a relationship identifier without an id for the ${meta.kind} relationship '${meta.key}' on <${identifier.type}:${identifier.id}>, expected a json-api identifier but found '${JSON.stringify(data)}'. Please check your serializer and make sure it is serializing the relationship payload into a JSON API format.`, data === null || !!Private.coerceId(data.id)));\n    (!(data === null || !data.type || store._hasModelFor(data.type)) && debug.assert(`Encountered a relationship identifier with type '${data.type}' for the ${meta.kind} relationship '${meta.key}' on <${identifier.type}:${identifier.id}>, Expected a json-api identifier with type '${meta.type}'. No model was found for '${data.type}'.`, data === null || !data.type || store._hasModelFor(data.type)));\n  }\n\n  function createState() {\n    return {\n      hasReceivedData: false,\n      isEmpty: true,\n      isStale: false,\n      hasFailedLoadAttempt: false,\n      shouldForceReload: false,\n      hasDematerializedInverse: false\n    };\n  }\n\n  class BelongsToRelationship {\n    constructor(graph, definition, identifier) {\n      this.graph = graph;\n      this.store = graph.store;\n      this.definition = definition;\n      this.identifier = identifier;\n      this._state = null;\n      this.transactionRef = 0;\n      this.meta = null;\n      this.links = null;\n      this.localState = null;\n      this.remoteState = null;\n    }\n    get state() {\n      var {\n        _state\n      } = this;\n      if (!_state) {\n        _state = this._state = createState();\n      }\n      return _state;\n    }\n    recordDataDidDematerialize() {\n      if (this.definition.inverseIsImplicit) {\n        return;\n      }\n      var inverseKey = this.definition.inverseKey;\n      var callback = inverseIdentifier => {\n        if (!inverseIdentifier || !this.graph.has(inverseIdentifier, inverseKey)) {\n          return;\n        }\n        var relationship = this.graph.get(inverseIdentifier, inverseKey);\n\n        // For canonical members, it is possible that inverseRecordData has already been associated to\n        // to another record. For such cases, do not dematerialize the inverseRecordData\n        if (relationship.definition.kind !== 'belongsTo' || !relationship.localState || this.identifier === relationship.localState) {\n          relationship.inverseDidDematerialize(this.identifier);\n        }\n      };\n      if (this.remoteState) {\n        callback(this.remoteState);\n      }\n      if (this.localState && this.localState !== this.remoteState) {\n        callback(this.localState);\n      }\n    }\n    inverseDidDematerialize() {\n      var inverseRecordData = this.localState;\n      if (!this.definition.isAsync || inverseRecordData && isNew(inverseRecordData)) {\n        // unloading inverse of a sync relationship is treated as a client-side\n        // delete, so actually remove the models don't merely invalidate the cp\n        // cache.\n        // if the record being unloaded only exists on the client, we similarly\n        // treat it as a client side delete\n        if (this.localState === inverseRecordData && inverseRecordData !== null) {\n          this.localState = null;\n        }\n        if (this.remoteState === inverseRecordData && inverseRecordData !== null) {\n          this.remoteState = null;\n          this.state.hasReceivedData = true;\n          this.state.isEmpty = true;\n          if (this.localState && !isNew(this.localState)) {\n            this.localState = null;\n          }\n        }\n      } else {\n        this.state.hasDematerializedInverse = true;\n      }\n      this.notifyBelongsToChange();\n    }\n    getData() {\n      var data;\n      var payload = {};\n      if (this.localState) {\n        data = this.localState;\n      }\n      if (this.localState === null && this.state.hasReceivedData) {\n        data = null;\n      }\n      if (this.links) {\n        payload.links = this.links;\n      }\n      if (data !== undefined) {\n        payload.data = data;\n      }\n      if (this.meta) {\n        payload.meta = this.meta;\n      }\n      payload._relationship = this;\n      return payload;\n    }\n\n    /*\n        Removes the given RecordData from BOTH canonical AND current state.\n    \n        This method is useful when either a deletion or a rollback on a new record\n        needs to entirely purge itself from an inverse relationship.\n       */\n    removeCompletelyFromOwn(recordData) {\n      if (this.remoteState === recordData) {\n        this.remoteState = null;\n      }\n      if (this.localState === recordData) {\n        this.localState = null;\n        // This allows dematerialized inverses to be rematerialized\n        // we shouldn't be notifying here though, figure out where\n        // a notification was missed elsewhere.\n        this.notifyBelongsToChange();\n      }\n    }\n    notifyBelongsToChange() {\n      var recordData = this.identifier;\n      this.store.notifyBelongsToChange(recordData.type, recordData.id, recordData.lid, this.definition.key);\n    }\n    clear() {\n      this.localState = null;\n      this.remoteState = null;\n      this.state.hasReceivedData = false;\n      this.state.isEmpty = true;\n    }\n  }\n\n  class ManyRelationship {\n    constructor(graph, definition, identifier) {\n      this.graph = graph;\n      this.store = graph.store;\n      this.definition = definition;\n      this.identifier = identifier;\n      this._state = null;\n      this.transactionRef = 0;\n      this.members = new Set();\n      this.canonicalMembers = new Set();\n      this.meta = null;\n      this.links = null;\n\n      // persisted state\n      this.canonicalState = [];\n      // local client state\n      this.currentState = [];\n      this._willUpdateManyArray = false;\n      this._pendingManyArrayUpdates = null;\n    }\n    get state() {\n      var {\n        _state\n      } = this;\n      if (!_state) {\n        _state = this._state = createState();\n      }\n      return _state;\n    }\n    recordDataDidDematerialize() {\n      if (this.definition.inverseIsImplicit) {\n        return;\n      }\n      var inverseKey = this.definition.inverseKey;\n      this.forAllMembers(inverseIdentifier => {\n        if (!inverseIdentifier || !this.graph.has(inverseIdentifier, inverseKey)) {\n          return;\n        }\n        var relationship = this.graph.get(inverseIdentifier, inverseKey);\n        (!(!isImplicit(relationship)) && debug.assert(`expected no implicit`, !isImplicit(relationship))); // For canonical members, it is possible that inverseRecordData has already been associated to\n        // to another record. For such cases, do not dematerialize the inverseRecordData\n        if (relationship.definition.kind !== 'belongsTo' || !relationship.localState || this.identifier === relationship.localState) {\n          relationship.inverseDidDematerialize(this.identifier);\n        }\n      });\n    }\n    forAllMembers(callback) {\n      // ensure we don't walk anything twice if an entry is\n      // in both members and canonicalMembers\n      var seen = Object.create(null);\n      for (var i = 0; i < this.currentState.length; i++) {\n        var inverseInternalModel = this.currentState[i];\n        var id = inverseInternalModel.lid;\n        if (!seen[id]) {\n          seen[id] = true;\n          callback(inverseInternalModel);\n        }\n      }\n      for (var _i = 0; _i < this.canonicalState.length; _i++) {\n        var _inverseInternalModel = this.canonicalState[_i];\n        var _id = _inverseInternalModel.lid;\n        if (!seen[_id]) {\n          seen[_id] = true;\n          callback(_inverseInternalModel);\n        }\n      }\n    }\n    clear() {\n      this.members.clear();\n      this.canonicalMembers.clear();\n      this.currentState = [];\n      this.canonicalState = [];\n    }\n    inverseDidDematerialize(inverseRecordData) {\n      if (!this.definition.isAsync || inverseRecordData && isNew(inverseRecordData)) {\n        // unloading inverse of a sync relationship is treated as a client-side\n        // delete, so actually remove the models don't merely invalidate the cp\n        // cache.\n        // if the record being unloaded only exists on the client, we similarly\n        // treat it as a client side delete\n        this.removeCompletelyFromOwn(inverseRecordData);\n      } else {\n        this.state.hasDematerializedInverse = true;\n      }\n      this.notifyHasManyChange();\n    }\n\n    /*\n      Removes the given RecordData from BOTH canonical AND current state.\n       This method is useful when either a deletion or a rollback on a new record\n      needs to entirely purge itself from an inverse relationship.\n    */\n    removeCompletelyFromOwn(recordData) {\n      this.canonicalMembers.delete(recordData);\n      this.members.delete(recordData);\n      var canonicalIndex = this.canonicalState.indexOf(recordData);\n      if (canonicalIndex !== -1) {\n        this.canonicalState.splice(canonicalIndex, 1);\n      }\n      var currentIndex = this.currentState.indexOf(recordData);\n      if (currentIndex !== -1) {\n        this.currentState.splice(currentIndex, 1);\n        // This allows dematerialized inverses to be rematerialized\n        // we shouldn't be notifying here though, figure out where\n        // a notification was missed elsewhere.\n        this.notifyHasManyChange();\n      }\n    }\n    notifyHasManyChange() {\n      var {\n        store,\n        identifier: recordData\n      } = this;\n      store.notifyHasManyChange(recordData.type, recordData.id, recordData.lid, this.definition.key);\n    }\n    getData() {\n      var payload = {};\n      if (this.state.hasReceivedData) {\n        payload.data = this.currentState.slice();\n      }\n      if (this.links) {\n        payload.links = this.links;\n      }\n      if (this.meta) {\n        payload.meta = this.meta;\n      }\n      return payload;\n    }\n  }\n\n  /**\n    @module @ember-data/store\n  */\n  class ImplicitRelationship {\n    constructor(graph, definition, identifier) {\n      this.graph = graph;\n      this.definition = definition;\n      this.identifier = identifier;\n      this.members = new Set();\n      this.canonicalMembers = new Set();\n    }\n    addCanonicalRecordData(recordData, idx) {\n      if (!this.canonicalMembers.has(recordData)) {\n        this.canonicalMembers.add(recordData);\n        this.members.add(recordData);\n      }\n    }\n    addRecordData(recordData, idx) {\n      if (!this.members.has(recordData)) {\n        this.members.add(recordData);\n      }\n    }\n    removeRecordData(recordData) {\n      if (recordData && this.members.has(recordData)) {\n        this.members.delete(recordData);\n      }\n    }\n    removeCompletelyFromOwn(recordData) {\n      this.canonicalMembers.delete(recordData);\n      this.members.delete(recordData);\n    }\n    clear() {\n      this.canonicalMembers.clear();\n      this.members.clear();\n    }\n  }\n\n  var BOOL_LATER = null;\n  var STR_LATER = '';\n  var IMPLICIT_KEY_RAND = Date.now();\n  function implicitKeyFor(type, key) {\n    return `implicit-${type}:${key}${IMPLICIT_KEY_RAND}`;\n  }\n  function syncMeta(definition, inverseDefinition) {\n    definition.inverseKind = inverseDefinition.kind;\n    definition.inverseKey = inverseDefinition.key;\n    definition.inverseType = inverseDefinition.type;\n    definition.inverseIsAsync = inverseDefinition.isAsync;\n    definition.inverseIsCollection = inverseDefinition.isCollection;\n    definition.inverseIsPolymorphic = inverseDefinition.isPolymorphic;\n    definition.inverseIsImplicit = inverseDefinition.isImplicit;\n  }\n  function upgradeMeta(meta) {\n    var niceMeta = {};\n    var options = meta.options;\n    niceMeta.kind = meta.kind;\n    niceMeta.key = meta.name;\n    niceMeta.type = meta.type;\n    niceMeta.isAsync = options && options.async !== undefined ? !!options.async : true;\n    niceMeta.isImplicit = false;\n    niceMeta.isCollection = meta.kind === 'hasMany';\n    niceMeta.isPolymorphic = options && !!options.polymorphic;\n    niceMeta.inverseKey = options && options.inverse;\n    niceMeta.inverseType = STR_LATER;\n    niceMeta.inverseIsAsync = BOOL_LATER;\n    niceMeta.inverseIsImplicit = options && options.inverse === null || BOOL_LATER;\n    niceMeta.inverseIsCollection = BOOL_LATER;\n    return niceMeta;\n  }\n  function isLHS(info, type, key) {\n    var isSelfReferential = info.isSelfReferential;\n    var isRelationship = key === info.lhs_relationshipName;\n    if (isRelationship === true) {\n      return isSelfReferential === true ||\n      // itself\n      type === info.lhs_baseModelName ||\n      // base or non-polymorphic\n      // if the other side is polymorphic then we need to scan our modelNames\n      info.rhs_isPolymorphic && info.lhs_modelNames.indexOf(type) !== -1 // polymorphic\n  ;\n    }\n    return false;\n  }\n  function upgradeDefinition(graph, identifier, propertyName, isImplicit = false) {\n    var cache = graph._definitionCache;\n    var storeWrapper = graph.store;\n    var polymorphicLookup = graph._potentialPolymorphicTypes;\n    var {\n      type\n    } = identifier;\n    var cached = expandingGet(cache, type, propertyName);\n\n    // CASE: We have a cached resolution (null if no relationship exists)\n    if (cached !== undefined) {\n      return cached;\n    }\n    (!(!isImplicit) && debug.assert(`Expected to find relationship definition in the cache for the implicit relationship ${propertyName}`, !isImplicit));\n    var relationships = storeWrapper.relationshipsDefinitionFor(type);\n    (!(relationships) && debug.assert(`Expected to have a relationship definition for ${type} but none was found.`, relationships));\n    var meta = relationships[propertyName];\n    if (!meta) {\n      if (polymorphicLookup[type]) {\n        var altTypes = Object.keys(polymorphicLookup[type]);\n        for (var i = 0; i < altTypes.length; i++) {\n          var _cached = expandingGet(cache, altTypes[i], propertyName);\n          if (_cached) {\n            expandingSet(cache, type, propertyName, _cached);\n            return _cached;\n          }\n        }\n      }\n\n      // CASE: We don't have a relationship at all\n      // we should only hit this in prod\n      (!(meta) && debug.assert(`Expected to find a relationship definition for ${type}.${propertyName} but none was found.`, meta));\n      cache[type][propertyName] = null;\n      return null;\n    }\n    var definition = upgradeMeta(meta);\n    var inverseDefinition;\n    var inverseKey;\n    var inverseType = definition.type;\n\n    // CASE: Inverse is explicitly null\n    if (definition.inverseKey === null) {\n      (!(storeWrapper._store.modelFor(inverseType)) && debug.assert(`Expected the inverse model to exist`, storeWrapper._store.modelFor(inverseType)));\n      inverseDefinition = null;\n    } else {\n      inverseKey = storeWrapper.inverseForRelationship(type, propertyName);\n\n      // CASE: Inverse resolves to null\n      if (!inverseKey) {\n        inverseDefinition = null;\n      } else {\n        // CASE: We have an explicit inverse or were able to resolve one\n        var inverseDefinitions = storeWrapper.relationshipsDefinitionFor(inverseType);\n        (!(inverseDefinitions) && debug.assert(`Expected to have a relationship definition for ${inverseType} but none was found.`, inverseDefinitions));\n        var _meta = inverseDefinitions[inverseKey];\n        (!(_meta) && debug.assert(`Expected to find a relationship definition for ${inverseType}.${inverseKey} but none was found.`, _meta));\n        inverseDefinition = upgradeMeta(_meta);\n      }\n    }\n\n    // CASE: We have no inverse\n    if (!inverseDefinition) {\n      // polish off meta\n      inverseKey = implicitKeyFor(type, propertyName);\n      inverseDefinition = {\n        kind: 'implicit',\n        key: inverseKey,\n        type: type,\n        isAsync: false,\n        isImplicit: true,\n        isCollection: true,\n        // with implicits any number of records could point at us\n        isPolymorphic: false\n      };\n      syncMeta(definition, inverseDefinition);\n      syncMeta(inverseDefinition, definition);\n      var _info = {\n        lhs_key: `${type}:${propertyName}`,\n        lhs_modelNames: [type],\n        lhs_baseModelName: type,\n        lhs_relationshipName: propertyName,\n        lhs_definition: definition,\n        lhs_isPolymorphic: definition.isPolymorphic,\n        rhs_key: '',\n        rhs_modelNames: [],\n        rhs_baseModelName: inverseType,\n        rhs_relationshipName: '',\n        rhs_definition: inverseDefinition,\n        rhs_isPolymorphic: false,\n        hasInverse: false,\n        isSelfReferential: type === inverseType,\n        // this could be wrong if we are self-referential but also polymorphic\n        isReflexive: false // we can't be reflexive if we don't define an inverse\n      };\n      expandingSet(cache, inverseType, inverseKey, _info);\n      expandingSet(cache, type, propertyName, _info);\n      return _info;\n    }\n\n    // CASE: We do have an inverse\n    var baseType = inverseDefinition.type;\n\n    // TODO we want to assert this but this breaks all of our shoddily written tests\n    /*\n      if (DEBUG) {\n        let inverseDoubleCheck = inverseMeta.type.inverseFor(inverseRelationshipName, store);\n         assert(`The ${inverseBaseModelName}:${inverseRelationshipName} relationship declares 'inverse: null', but it was resolved as the inverse for ${baseModelName}:${relationshipName}.`, inverseDoubleCheck);\n      }\n    */\n    // CASE: We may have already discovered the inverse for the baseModelName\n    // CASE: We have already discovered the inverse\n    cached = expandingGet(cache, baseType, propertyName) || expandingGet(cache, inverseType, inverseKey);\n    if (cached) {\n      // TODO this assert can be removed if the above assert is enabled\n      (!(cached.hasInverse !== false) && debug.assert(`The ${inverseType}:${inverseKey} relationship declares 'inverse: null', but it was resolved as the inverse for ${type}:${propertyName}.`, cached.hasInverse !== false));\n      var _isLHS = cached.lhs_baseModelName === baseType;\n      var modelNames = _isLHS ? cached.lhs_modelNames : cached.rhs_modelNames;\n      // make this lookup easier in the future by caching the key\n      modelNames.push(type);\n      expandingSet(cache, type, propertyName, cached);\n      return cached;\n    }\n\n    // this is our first time so polish off the metas\n    syncMeta(definition, inverseDefinition);\n    syncMeta(inverseDefinition, definition);\n    var lhs_modelNames = [type];\n    if (type !== baseType) {\n      lhs_modelNames.push(baseType);\n    }\n    var isSelfReferential = type === inverseType;\n    var info = {\n      lhs_key: `${baseType}:${propertyName}`,\n      lhs_modelNames,\n      lhs_baseModelName: baseType,\n      lhs_relationshipName: propertyName,\n      lhs_definition: definition,\n      lhs_isPolymorphic: definition.isPolymorphic,\n      rhs_key: `${inverseType}:${inverseKey}`,\n      rhs_modelNames: [inverseType],\n      rhs_baseModelName: inverseType,\n      rhs_relationshipName: inverseKey,\n      rhs_definition: inverseDefinition,\n      rhs_isPolymorphic: inverseDefinition.isPolymorphic,\n      hasInverse: true,\n      isSelfReferential,\n      isReflexive: isSelfReferential && propertyName === inverseKey\n    };\n\n    // Create entries for the baseModelName as well as modelName to speed up\n    //  inverse lookups\n    expandingSet(cache, baseType, propertyName, info);\n    expandingSet(cache, type, propertyName, info);\n\n    // Greedily populate the inverse\n    expandingSet(cache, inverseType, inverseKey, info);\n    return info;\n  }\n\n  /*\n      case many:1\n      ========\n      In a bi-directional graph with Many:1 edges, adding a value\n      results in up-to 3 discrete value transitions, while removing\n      a value is only 2 transitions.\n\n      For adding C to A\n      If: A <<-> B, C <->> D is the initial state,\n      and: B <->> A <<-> C, D is the final state\n\n      then we would undergo the following transitions.\n\n      add C to A\n      remove C from D\n      add A to C\n\n      For removing B from A\n      If: A <<-> B, C <->> D is the initial state,\n      and: A, B, C <->> D is the final state\n\n      then we would undergo the following transitions.\n\n      remove B from A\n      remove A from B\n\n      case many:many\n      ===========\n      In a bi-directional graph with Many:Many edges, adding or\n      removing a value requires only 2 value transitions.\n\n      For Adding\n      If: A<<->>B, C<<->>D is the initial state (double arrows representing the many side)\n      And: D<<->>C<<->>A<<->>B is the final state\n\n      Then we would undergo two transitions.\n\n      add C to A.\n      add A to C\n\n      For Removing\n      If: A<<->>B, C<<->>D is the initial state (double arrows representing the many side)\n      And: A, B, C<<->>D is the final state\n\n      Then we would undergo two transitions.\n\n      remove B from A\n      remove A from B\n\n      case many:?\n      ========\n      In a uni-directional graph with Many:? edges (modeled in EmberData with `inverse:null`) with\n      artificial (implicit) inverses, replacing a value results in 2 discrete value transitions.\n      This is because a Many:? relationship is effectively Many:Many.\n    */\n  function replaceRelatedRecords(graph, op, isRemote) {\n    if (isRemote) {\n      replaceRelatedRecordsRemote(graph, op, isRemote);\n    } else {\n      replaceRelatedRecordsLocal(graph, op, isRemote);\n    }\n  }\n  function replaceRelatedRecordsLocal(graph, op, isRemote) {\n    var identifiers = op.value;\n    var relationship = graph.get(op.record, op.field);\n    (!(isHasMany(relationship)) && debug.assert(`expected hasMany relationship`, isHasMany(relationship)));\n    relationship.state.hasReceivedData = true;\n\n    // cache existing state\n    var {\n      currentState,\n      members,\n      definition\n    } = relationship;\n    var newValues = new Set();\n    identifiers.forEach(i => newValues.add(i));\n    var identifiersLength = identifiers.length;\n    var newState = new Array(newValues.size);\n    var newMembership = new Set();\n\n    // wipe existing state\n    relationship.members = newMembership;\n    relationship.currentState = newState;\n    var {\n      type\n    } = relationship.definition;\n    var changed = false;\n    var currentLength = currentState.length;\n    var iterationLength = currentLength > identifiersLength ? currentLength : identifiersLength;\n    var equalLength = currentLength === identifiersLength;\n    for (var i = 0, j = 0; i < iterationLength; i++) {\n      var adv = false;\n      if (i < identifiersLength) {\n        var identifier = identifiers[i];\n        // skip processing if we encounter a duplicate identifier in the array\n        if (!newMembership.has(identifier)) {\n          if (type !== identifier.type) {\n            Debug.assertPolymorphicType(relationship.identifier, relationship.definition, identifier, graph.store);\n            graph.registerPolymorphicType(type, identifier.type);\n          }\n          newState[j] = identifier;\n          adv = true;\n          newMembership.add(identifier);\n          if (!members.has(identifier)) {\n            changed = true;\n            addToInverse(graph, identifier, definition.inverseKey, op.record, isRemote);\n          }\n        }\n      }\n      if (i < currentLength) {\n        var _identifier = currentState[i];\n\n        // detect reordering\n        if (!newMembership.has(_identifier)) {\n          if (equalLength && newState[i] !== _identifier) {\n            changed = true;\n          }\n          if (!newValues.has(_identifier)) {\n            changed = true;\n            removeFromInverse(graph, _identifier, definition.inverseKey, op.record, isRemote);\n          }\n        }\n      }\n      if (adv) {\n        j++;\n      }\n    }\n    if (changed) {\n      relationship.notifyHasManyChange();\n    }\n  }\n  function replaceRelatedRecordsRemote(graph, op, isRemote) {\n    var identifiers = op.value;\n    var relationship = graph.get(op.record, op.field);\n    (!(isHasMany(relationship)) && debug.assert(`You can only '${op.op}' on a hasMany relationship. ${op.record.type}.${op.field} is a ${relationship.definition.kind}`, isHasMany(relationship)));\n    if (isRemote) {\n      graph._addToTransaction(relationship);\n    }\n    relationship.state.hasReceivedData = true;\n\n    // cache existing state\n    var {\n      canonicalState,\n      canonicalMembers,\n      definition\n    } = relationship;\n    var newValues = new Set();\n    identifiers.forEach(i => newValues.add(i));\n    var identifiersLength = identifiers.length;\n    var newState = new Array(newValues.size);\n    var newMembership = new Set();\n\n    // wipe existing state\n    relationship.canonicalMembers = newMembership;\n    relationship.canonicalState = newState;\n    var {\n      type\n    } = relationship.definition;\n    var changed = false;\n    var canonicalLength = canonicalState.length;\n    var iterationLength = canonicalLength > identifiersLength ? canonicalLength : identifiersLength;\n    var equalLength = canonicalLength === identifiersLength;\n    for (var i = 0, j = 0; i < iterationLength; i++) {\n      var adv = false;\n      if (i < identifiersLength) {\n        var identifier = identifiers[i];\n        if (!newMembership.has(identifier)) {\n          if (type !== identifier.type) {\n            Debug.assertPolymorphicType(relationship.identifier, relationship.definition, identifier, graph.store);\n            graph.registerPolymorphicType(type, identifier.type);\n          }\n          newState[j] = identifier;\n          newMembership.add(identifier);\n          adv = true;\n          if (!canonicalMembers.has(identifier)) {\n            changed = true;\n            addToInverse(graph, identifier, definition.inverseKey, op.record, isRemote);\n          }\n        }\n      }\n      if (i < canonicalLength) {\n        var _identifier2 = canonicalState[i];\n        if (!newMembership.has(_identifier2)) {\n          // detect reordering\n          if (equalLength && newState[i] !== _identifier2) {\n            changed = true;\n          }\n          if (!newValues.has(_identifier2)) {\n            changed = true;\n            removeFromInverse(graph, _identifier2, definition.inverseKey, op.record, isRemote);\n          }\n        }\n      }\n      if (adv) {\n        j++;\n      }\n    }\n    if (changed) {\n      flushCanonical(graph, relationship);\n      /*\n      replaceRelatedRecordsLocal(\n        graph,\n        {\n          op: op.op,\n          record: op.record,\n          field: op.field,\n          value: canonicalState,\n        },\n        false\n      );*/\n    } else {\n      // preserve legacy behavior we want to change but requires some sort\n      // of deprecation.\n      flushCanonical(graph, relationship);\n    }\n  }\n  function addToInverse(graph, identifier, key, value, isRemote) {\n    var relationship = graph.get(identifier, key);\n    var {\n      type\n    } = relationship.definition;\n    if (type !== value.type) {\n      Debug.assertPolymorphicType(relationship.identifier, relationship.definition, value, graph.store);\n      graph.registerPolymorphicType(type, value.type);\n    }\n    if (isBelongsTo(relationship)) {\n      relationship.state.hasReceivedData = true;\n      relationship.state.isEmpty = false;\n      if (isRemote) {\n        graph._addToTransaction(relationship);\n        if (relationship.remoteState !== null) {\n          removeFromInverse(graph, relationship.remoteState, relationship.definition.inverseKey, identifier, isRemote);\n        }\n        relationship.remoteState = value;\n      }\n      if (relationship.localState !== value) {\n        if (!isRemote && relationship.localState) {\n          removeFromInverse(graph, relationship.localState, relationship.definition.inverseKey, identifier, isRemote);\n        }\n        relationship.localState = value;\n        relationship.notifyBelongsToChange();\n      }\n    } else if (isHasMany(relationship)) {\n      if (isRemote) {\n        if (!relationship.canonicalMembers.has(value)) {\n          graph._addToTransaction(relationship);\n          relationship.canonicalState.push(value);\n          relationship.canonicalMembers.add(value);\n          relationship.state.hasReceivedData = true;\n          flushCanonical(graph, relationship);\n        }\n      } else {\n        if (!relationship.members.has(value)) {\n          relationship.currentState.push(value);\n          relationship.members.add(value);\n          relationship.state.hasReceivedData = true;\n          relationship.notifyHasManyChange();\n        }\n      }\n    } else {\n      if (isRemote) {\n        relationship.addCanonicalRecordData(value);\n      } else {\n        relationship.addRecordData(value);\n      }\n    }\n  }\n  function removeFromInverse(graph, identifier, key, value, isRemote) {\n    var relationship = graph.get(identifier, key);\n    if (isBelongsTo(relationship)) {\n      relationship.state.isEmpty = true;\n      if (isRemote) {\n        graph._addToTransaction(relationship);\n        relationship.remoteState = null;\n      }\n      if (relationship.localState === value) {\n        relationship.localState = null;\n        relationship.notifyBelongsToChange();\n      }\n    } else if (isHasMany(relationship)) {\n      if (isRemote) {\n        graph._addToTransaction(relationship);\n        var _index = relationship.canonicalState.indexOf(value);\n        if (_index !== -1) {\n          relationship.canonicalMembers.delete(value);\n          relationship.canonicalState.splice(_index, 1);\n        }\n      }\n      var index = relationship.currentState.indexOf(value);\n      if (index !== -1) {\n        relationship.members.delete(value);\n        relationship.currentState.splice(index, 1);\n      }\n      relationship.notifyHasManyChange();\n    } else {\n      if (isRemote) {\n        relationship.removeCompletelyFromOwn(value);\n      } else {\n        relationship.removeRecordData(value);\n      }\n    }\n  }\n  function syncRemoteToLocal(rel) {\n    var toSet = rel.canonicalState;\n    var newRecordDatas = rel.currentState.filter(recordData => isNew(recordData) && toSet.indexOf(recordData) === -1);\n    var existingState = rel.currentState;\n    rel.currentState = toSet.concat(newRecordDatas);\n    var members = rel.members = new Set();\n    rel.canonicalMembers.forEach(v => members.add(v));\n    for (var i = 0; i < newRecordDatas.length; i++) {\n      members.add(newRecordDatas[i]);\n    }\n\n    // TODO always notifying fails only one test and we should probably do away with it\n    if (existingState.length !== rel.currentState.length) {\n      rel.notifyHasManyChange();\n    } else {\n      for (var _i = 0; _i < existingState.length; _i++) {\n        if (existingState[_i] !== rel.currentState[_i]) {\n          rel.notifyHasManyChange();\n          break;\n        }\n      }\n    }\n  }\n  function flushCanonical(graph, rel) {\n    graph._scheduleLocalSync(rel);\n  }\n\n  function addToRelatedRecords(graph, op, isRemote) {\n    var {\n      record,\n      value,\n      index\n    } = op;\n    var relationship = graph.get(record, op.field);\n    (!(isHasMany(relationship)) && debug.assert(`You can only '${op.op}' on a hasMany relationship. ${record.type}.${op.field} is a ${relationship.definition.kind}`, isHasMany(relationship)));\n    if (Array.isArray(value)) {\n      for (var i = 0; i < value.length; i++) {\n        addRelatedRecord(graph, relationship, record, value[i], index !== undefined ? index + i : index, isRemote);\n      }\n    } else {\n      addRelatedRecord(graph, relationship, record, value, index, isRemote);\n    }\n    relationship.notifyHasManyChange();\n  }\n  function addRelatedRecord(graph, relationship, record, value, index, isRemote) {\n    (!(value) && debug.assert(`expected an identifier to add to the relationship`, value));\n    var {\n      members,\n      currentState\n    } = relationship;\n    if (members.has(value)) {\n      return;\n    }\n    var {\n      type\n    } = relationship.definition;\n    if (type !== value.type) {\n      Debug.assertPolymorphicType(record, relationship.definition, value, graph.store);\n      graph.registerPolymorphicType(value.type, type);\n    }\n    relationship.state.hasReceivedData = true;\n    members.add(value);\n    if (index === undefined) {\n      currentState.push(value);\n    } else {\n      currentState.splice(index, 0, value);\n    }\n    addToInverse(graph, value, relationship.definition.inverseKey, record, isRemote);\n  }\n\n  function removeFromRelatedRecords(graph, op, isRemote) {\n    var {\n      record,\n      value\n    } = op;\n    var relationship = graph.get(record, op.field);\n    (!(isHasMany(relationship)) && debug.assert(`You can only '${op.op}' on a hasMany relationship. ${record.type}.${op.field} is a ${relationship.definition.kind}`, isHasMany(relationship)));\n    if (Array.isArray(value)) {\n      for (var i = 0; i < value.length; i++) {\n        removeRelatedRecord(graph, relationship, record, value[i], isRemote);\n      }\n    } else {\n      removeRelatedRecord(graph, relationship, record, value, isRemote);\n    }\n    relationship.notifyHasManyChange();\n  }\n  function removeRelatedRecord(graph, relationship, record, value, isRemote) {\n    (!(value) && debug.assert(`expected an identifier to add to the relationship`, value));\n    var {\n      members,\n      currentState\n    } = relationship;\n    if (!members.has(value)) {\n      return;\n    }\n    members.delete(value);\n    var index = currentState.indexOf(value);\n    (!(index !== -1) && debug.assert(`expected members and currentState to be in sync`, index !== -1));\n    currentState.splice(index, 1);\n    removeFromInverse(graph, value, relationship.definition.inverseKey, record, isRemote);\n  }\n\n  function replaceRelatedRecord(graph, op, isRemote = false) {\n    var relationship = graph.get(op.record, op.field);\n    (!(isBelongsTo(relationship)) && debug.assert(`You can only '${op.op}' on a belongsTo relationship. ${op.record.type}.${op.field} is a ${relationship.definition.kind}`, isBelongsTo(relationship)));\n    if (isRemote) {\n      graph._addToTransaction(relationship);\n    }\n    var {\n      definition,\n      state\n    } = relationship;\n    var prop = isRemote ? 'remoteState' : 'localState';\n    var existingState = relationship[prop];\n\n    /*\n      case 1:1\n      ========\n      In a bi-directional graph with 1:1 edges, replacing a value\n      results in up-to 4 discrete value transitions.\n       If: A <-> B, C <-> D is the initial state,\n      and: A <-> C, B, D is the final state\n       then we would undergo the following 4 transitions.\n       remove A from B\n      add C to A\n      remove C from D\n      add A to C\n       case 1:many\n      ===========\n      In a bi-directional graph with 1:Many edges, replacing a value\n      results in up-to 3 discrete value transitions.\n       If: A<->>B<<->D, C<<->D is the initial state (double arrows representing the many side)\n      And: A<->>C<<->D, B<<->D is the final state\n       Then we would undergo three transitions.\n       remove A from B\n      add C to A.\n      add A to C\n       case 1:?\n      ========\n      In a uni-directional graph with 1:? edges (modeled in EmberData with `inverse:null`) with\n      artificial (implicit) inverses, replacing a value results in up-to 3 discrete value transitions.\n      This is because a 1:? relationship is effectively 1:many.\n       If: A->B, C->B is the initial state\n      And: A->C, C->B is the final state\n       Then we would undergo three transitions.\n       Remove A from B\n      Add C to A\n      Add A to C\n    */\n\n    // nothing for us to do\n    if (op.value === existingState) {\n      // if we were empty before but now know we are empty this needs to be true\n      state.hasReceivedData = true;\n      // if this is a remote update we still sync\n      if (isRemote) {\n        var {\n          localState\n        } = relationship;\n        // don't sync if localState is a new record and our canonicalState is null\n        if (localState && isNew(localState) && !existingState || localState === existingState) {\n          return;\n        }\n        relationship.localState = existingState;\n        relationship.notifyBelongsToChange();\n      }\n      return;\n    }\n\n    // remove this value from the inverse if required\n    if (existingState) {\n      removeFromInverse(graph, existingState, definition.inverseKey, op.record, isRemote);\n    }\n\n    // update value to the new value\n    relationship[prop] = op.value;\n    state.hasReceivedData = true;\n    state.isEmpty = op.value === null;\n    state.isStale = false;\n    state.hasFailedLoadAttempt = false;\n    if (op.value) {\n      if (definition.type !== op.value.type) {\n        Debug.assertPolymorphicType(relationship.identifier, definition, op.value, graph.store);\n        graph.registerPolymorphicType(definition.type, op.value.type);\n      }\n      addToInverse(graph, op.value, definition.inverseKey, op.record, isRemote);\n    }\n    if (isRemote) {\n      var {\n        localState: _localState,\n        remoteState\n      } = relationship;\n      if (_localState && isNew(_localState) && !remoteState) {\n        return;\n      }\n      if (_localState !== remoteState) {\n        relationship.localState = remoteState;\n        relationship.notifyBelongsToChange();\n      }\n    } else {\n      relationship.notifyBelongsToChange();\n    }\n  }\n\n  /*\n    This method normalizes a link to an \"links object\". If the passed link is\n    already an object it's returned without any modifications.\n\n    See http://jsonapi.org/format/#document-links for more information.\n  */\n  function _normalizeLink(link) {\n    switch (typeof link) {\n      case 'object':\n        return link;\n      case 'string':\n        return {\n          href: link\n        };\n    }\n  }\n\n  /*\n      Updates the \"canonical\" or \"remote\" state of a relationship, replacing any existing\n      state and blowing away any local changes (excepting new records).\n  */\n  function updateRelationshipOperation(graph, op) {\n    var relationship = graph.get(op.record, op.field);\n    (!(isHasMany(relationship) || isBelongsTo(relationship)) && debug.assert(`Cannot update an implicit relationship`, isHasMany(relationship) || isBelongsTo(relationship)));\n    var {\n      definition,\n      state,\n      identifier\n    } = relationship;\n    var {\n      isCollection\n    } = definition;\n    var payload = op.value;\n    var hasRelationshipDataProperty = false;\n    var hasUpdatedLink = false;\n    if (payload.meta) {\n      relationship.meta = payload.meta;\n    }\n    if (payload.data !== undefined) {\n      hasRelationshipDataProperty = true;\n      if (isCollection) {\n        // TODO deprecate this case. We\n        // have tests saying we support it.\n        if (payload.data === null) {\n          payload.data = [];\n        }\n        (!(Array.isArray(payload.data)) && debug.assert(`Expected an array`, Array.isArray(payload.data)));\n        graph.update({\n          op: 'replaceRelatedRecords',\n          record: identifier,\n          field: op.field,\n          value: payload.data.map(i => graph.store.identifierCache.getOrCreateRecordIdentifier(i))\n        }, true);\n      } else {\n        graph.update({\n          op: 'replaceRelatedRecord',\n          record: identifier,\n          field: op.field,\n          value: payload.data ? graph.store.identifierCache.getOrCreateRecordIdentifier(payload.data) : null\n        }, true);\n      }\n    } else if (definition.isAsync === false && !state.hasReceivedData) {\n      hasRelationshipDataProperty = true;\n      if (isCollection) {\n        graph.update({\n          op: 'replaceRelatedRecords',\n          record: identifier,\n          field: op.field,\n          value: []\n        }, true);\n      } else {\n        graph.update({\n          op: 'replaceRelatedRecord',\n          record: identifier,\n          field: op.field,\n          value: null\n        }, true);\n      }\n    }\n    if (payload.links) {\n      var originalLinks = relationship.links;\n      relationship.links = payload.links;\n      if (payload.links.related) {\n        var relatedLink = _normalizeLink(payload.links.related);\n        var currentLink = originalLinks && originalLinks.related ? _normalizeLink(originalLinks.related) : null;\n        var currentLinkHref = currentLink ? currentLink.href : null;\n        if (relatedLink && relatedLink.href && relatedLink.href !== currentLinkHref) {\n          (debug.warn(`You pushed a record of type '${identifier.type}' with a relationship '${definition.key}' configured as 'async: false'. You've included a link but no primary data, this may be an error in your payload. EmberData will treat this relationship as known-to-be-empty.`, definition.isAsync || state.hasReceivedData, {\n            id: 'ds.store.push-link-for-sync-relationship'\n          }));\n          (!(typeof relatedLink.href === 'string' || relatedLink.href === null) && debug.assert(`You have pushed a record of type '${identifier.type}' with '${definition.key}' as a link, but the value of that link is not a string.`, typeof relatedLink.href === 'string' || relatedLink.href === null));\n          hasUpdatedLink = true;\n        }\n      }\n    }\n\n    /*\n         Data being pushed into the relationship might contain only data or links,\n         or a combination of both.\n    \n         IF contains only data\n         IF contains both links and data\n          state.isEmpty -> true if is empty array (has-many) or is null (belongs-to)\n          state.hasReceivedData -> true\n          hasDematerializedInverse -> false\n          state.isStale -> false\n          allInverseRecordsAreLoaded -> run-check-to-determine\n    \n         IF contains only links\n          state.isStale -> true\n         */\n    relationship.state.hasFailedLoadAttempt = false;\n    if (hasRelationshipDataProperty) {\n      var relationshipIsEmpty = payload.data === null || Array.isArray(payload.data) && payload.data.length === 0;\n\n      // we don't need to notify here as the update op we pushed in above will notify once\n      // membership is in the correct state.\n      relationship.state.hasReceivedData = true;\n      relationship.state.isStale = false;\n      relationship.state.hasDematerializedInverse = false;\n      relationship.state.isEmpty = relationshipIsEmpty;\n    } else if (hasUpdatedLink) {\n      // only notify stale if we have not previously received membership data.\n      // within this same transaction\n      // this prevents refetching when only one side of the relationship in the\n      // payload contains the info while the other side contains just a link\n      // this only works when the side with just a link is a belongsTo, as we\n      // don't know if a hasMany has full information or not.\n      // see #7049 for context.\n      if (isCollection || !relationship.state.hasReceivedData || relationship.transactionRef === 0) {\n        relationship.state.isStale = true;\n        if (isHasMany(relationship)) {\n          relationship.notifyHasManyChange();\n        } else {\n          relationship.notifyBelongsToChange();\n        }\n      } else {\n        relationship.state.isStale = false;\n      }\n    }\n  }\n\n  var Graphs = new WeakMap();\n  function isStore(maybeStore) {\n    return maybeStore._storeWrapper !== undefined;\n  }\n  function getWrapper(store) {\n    return isStore(store) ? store._storeWrapper : store;\n  }\n  function peekGraph(store) {\n    return Graphs.get(getWrapper(store));\n  }\n  function graphFor(store) {\n    var wrapper = getWrapper(store);\n    var graph = Graphs.get(wrapper);\n    if (graph === undefined) {\n      graph = new Graph(wrapper);\n      Graphs.set(wrapper, graph);\n    }\n    return graph;\n  }\n\n  /*\n   * Graph acts as the cache for relationship data. It allows for\n   * us to ask about and update relationships for a given Identifier\n   * without requiring other objects for that Identifier to be\n   * instantiated (such as `InternalModel`, `RecordData` or a `Record`)\n   *\n   * This also allows for us to make more substantive changes to relationships\n   * with increasingly minor alterations to other portions of the internals\n   * over time.\n   *\n   * The graph is made up of nodes and edges. Each unique identifier gets\n   * its own node, which is a dictionary with a list of that node's edges\n   * (or connections) to other nodes. In `Model` terms, a node represents a\n   * record instance, with each key (an edge) in the dictionary correlating\n   * to either a `hasMany` or `belongsTo` field on that record instance.\n   *\n   * The value for each key, or `edge` is the identifier(s) the node relates\n   * to in the graph from that key.\n   */\n  class Graph {\n    constructor(store) {\n      this._definitionCache = Object.create(null);\n      this._potentialPolymorphicTypes = Object.create(null);\n      this.identifiers = new Map();\n      this.store = store;\n      this._willSyncRemote = false;\n      this._willSyncLocal = false;\n      this._pushedUpdates = {\n        belongsTo: [],\n        hasMany: [],\n        deletions: []\n      };\n      this._updatedRelationships = new Set();\n      this._transaction = null;\n    }\n    has(identifier, propertyName) {\n      var relationships = this.identifiers.get(identifier);\n      if (!relationships) {\n        return false;\n      }\n      return relationships[propertyName] !== undefined;\n    }\n    get(identifier, propertyName) {\n      (!(propertyName) && debug.assert(`expected propertyName`, propertyName));\n      var relationships = this.identifiers.get(identifier);\n      if (!relationships) {\n        relationships = Object.create(null);\n        this.identifiers.set(identifier, relationships);\n      }\n      var relationship = relationships[propertyName];\n      if (!relationship) {\n        var info = upgradeDefinition(this, identifier, propertyName);\n        (!(info !== null) && debug.assert(`Could not determine relationship information for ${identifier.type}.${propertyName}`, info !== null));\n        var meta = isLHS(info, identifier.type, propertyName) ? info.lhs_definition : info.rhs_definition;\n        var Klass = meta.kind === 'hasMany' ? ManyRelationship : meta.kind === 'belongsTo' ? BelongsToRelationship : ImplicitRelationship;\n        relationship = relationships[propertyName] = new Klass(this, meta, identifier);\n      }\n      return relationship;\n    }\n\n    /*\n     * Allows for the graph to dynamically discover polymorphic connections\n     * without needing to walk prototype chains.\n     *\n     * Used by edges when an added `type` does not match the expected `type`\n     * for that edge.\n     *\n     * Currently we assert before calling this. For a public API we will want\n     * to call out to the schema manager to ask if we should consider these\n     * types as equivalent for a given relationship.\n     */\n    registerPolymorphicType(type1, type2) {\n      var typeCache = this._potentialPolymorphicTypes;\n      var t1 = typeCache[type1];\n      if (!t1) {\n        t1 = typeCache[type1] = Object.create(null);\n      }\n      t1[type2] = true;\n      var t2 = typeCache[type2];\n      if (!t2) {\n        t2 = typeCache[type2] = Object.create(null);\n      }\n      t2[type1] = true;\n    }\n\n    /*\n     TODO move this comment somewhere else\n     implicit relationships are relationships which have not been declared but the inverse side exists on\n     another record somewhere\n     \n     For example if there was:\n      ```app/models/comment.js\n     import Model, { attr } from '@ember-data/model';\n      export default class Comment extends Model {\n       @attr text;\n     }\n     ```\n      and there is also:\n      ```app/models/post.js\n     import Model, { attr, hasMany } from '@ember-data/model';\n      export default class Post extends Model {\n       @attr title;\n       @hasMany('comment') comments;\n     }\n     ```\n      Then we would have a implicit 'post' relationship for the comment record in order\n     to be do things like remove the comment from the post if the comment were to be deleted.\n    */\n\n    isReleasable(identifier) {\n      var relationships = this.identifiers.get(identifier);\n      if (!relationships) {\n        return true;\n      }\n      var keys = Object.keys(relationships);\n      for (var i = 0; i < keys.length; i++) {\n        var relationship = relationships[keys[i]];\n        (!(relationship) && debug.assert(`Expected a relationship`, relationship));\n        if (relationship.definition.inverseIsAsync) {\n          return false;\n        }\n      }\n      return true;\n    }\n    unload(identifier) {\n      var relationships = this.identifiers.get(identifier);\n      if (relationships) {\n        // cleans up the graph but retains some nodes\n        // to allow for rematerialization\n        Object.keys(relationships).forEach(key => {\n          var rel = relationships[key];\n          destroyRelationship(rel);\n          if (isImplicit(rel)) {\n            delete relationships[key];\n          }\n        });\n      }\n    }\n    remove(identifier) {\n      this.unload(identifier);\n      this.identifiers.delete(identifier);\n    }\n\n    /*\n     * Remote state changes\n     */\n    push(op) {\n      if (op.op === 'deleteRecord') {\n        this._pushedUpdates.deletions.push(op);\n      } else if (op.op === 'replaceRelatedRecord') {\n        this._pushedUpdates.belongsTo.push(op);\n      } else {\n        var relationship = this.get(op.record, op.field);\n        (!(!relationship.definition.isImplicit) && debug.assert(`Cannot push a remote update for an implicit relationship`, !relationship.definition.isImplicit));\n        this._pushedUpdates[relationship.definition.kind].push(op);\n      }\n      if (!this._willSyncRemote) {\n        this._willSyncRemote = true;\n        var backburner = this.store._store._backburner;\n        backburner.schedule('coalesce', this, this._flushRemoteQueue);\n      }\n    }\n\n    /*\n     * Local state changes\n     */\n\n    update(op, isRemote = false) {\n      (!(op.op === 'deleteRecord' || !isImplicit(this.get(op.record, op.field))) && debug.assert(`Cannot update an implicit relationship`, op.op === 'deleteRecord' || !isImplicit(this.get(op.record, op.field))));\n      switch (op.op) {\n        case 'updateRelationship':\n          (!(isRemote) && debug.assert(`Can only perform the operation updateRelationship on remote state`, isRemote));\n          {\n            // in debug, assert payload validity eagerly\n            assertValidRelationshipPayload(this, op);\n          }\n          updateRelationshipOperation(this, op);\n          break;\n        case 'deleteRecord':\n          {\n            (!(isRemote) && debug.assert(`Can only perform the operation deleteRelationship on remote state`, isRemote));\n            var identifier = op.record;\n            var relationships = this.identifiers.get(identifier);\n            if (relationships) {\n              Object.keys(relationships).forEach(key => {\n                var rel = relationships[key];\n                // works together with the has check\n                delete relationships[key];\n                removeCompletelyFromInverse(rel);\n              });\n              this.identifiers.delete(identifier);\n            }\n            break;\n          }\n        case 'replaceRelatedRecord':\n          replaceRelatedRecord(this, op, isRemote);\n          break;\n        case 'addToRelatedRecords':\n          addToRelatedRecords(this, op, isRemote);\n          break;\n        case 'removeFromRelatedRecords':\n          removeFromRelatedRecords(this, op, isRemote);\n          break;\n        case 'replaceRelatedRecords':\n          replaceRelatedRecords(this, op, isRemote);\n          break;\n        default:\n          (debug.assert(`No local relationship update operation exists for '${op.op}'`));\n      }\n    }\n    _scheduleLocalSync(relationship) {\n      this._updatedRelationships.add(relationship);\n      if (!this._willSyncLocal) {\n        this._willSyncLocal = true;\n        var backburner = this.store._store._backburner;\n        backburner.schedule('sync', this, this._flushLocalQueue);\n      }\n    }\n    _flushRemoteQueue() {\n      if (!this._willSyncRemote) {\n        return;\n      }\n      this._transaction = new Set();\n      this._willSyncRemote = false;\n      var {\n        deletions,\n        hasMany,\n        belongsTo\n      } = this._pushedUpdates;\n      this._pushedUpdates.deletions = [];\n      this._pushedUpdates.hasMany = [];\n      this._pushedUpdates.belongsTo = [];\n      for (var i = 0; i < deletions.length; i++) {\n        this.update(deletions[i], true);\n      }\n      for (var _i = 0; _i < hasMany.length; _i++) {\n        this.update(hasMany[_i], true);\n      }\n      for (var _i2 = 0; _i2 < belongsTo.length; _i2++) {\n        this.update(belongsTo[_i2], true);\n      }\n      this._finalize();\n    }\n    _addToTransaction(relationship) {\n      (!(this._transaction !== null) && debug.assert(`expected a transaction`, this._transaction !== null));\n      relationship.transactionRef++;\n      this._transaction.add(relationship);\n    }\n    _finalize() {\n      if (this._transaction) {\n        this._transaction.forEach(v => v.transactionRef = 0);\n        this._transaction = null;\n      }\n    }\n    _flushLocalQueue() {\n      if (!this._willSyncLocal) {\n        return;\n      }\n      this._willSyncLocal = false;\n      var updated = this._updatedRelationships;\n      this._updatedRelationships = new Set();\n      updated.forEach(syncRemoteToLocal);\n    }\n    willDestroy() {\n      this.identifiers.clear();\n      this.store = null;\n    }\n    destroy() {\n      Graphs.delete(this.store);\n    }\n  }\n\n  // Handle dematerialization for relationship `rel`.  In all cases, notify the\n  // relationship of the dematerialization: this is done so the relationship can\n  // notify its inverse which needs to update state\n  //\n  // If the inverse is sync, unloading this record is treated as a client-side\n  // delete, so we remove the inverse records from this relationship to\n  // disconnect the graph.  Because it's not async, we don't need to keep around\n  // the internalModel as an id-wrapper for references and because the graph is\n  // disconnected we can actually destroy the internalModel when checking for\n  // orphaned models.\n  function destroyRelationship(rel) {\n    if (isImplicit(rel)) {\n      if (rel.graph.isReleasable(rel.identifier)) {\n        removeCompletelyFromInverse(rel);\n      }\n      return;\n    }\n    rel.recordDataDidDematerialize();\n    if (!rel.definition.inverseIsImplicit && !rel.definition.inverseIsAsync) {\n      rel.state.isStale = true;\n      rel.clear();\n\n      // necessary to clear relationships in the ui from dematerialized records\n      // hasMany is managed by InternalModel which calls `retreiveLatest` after\n      // dematerializing the recordData instance.\n      // but sync belongsTo require this since they don't have a proxy to update.\n      // so we have to notify so it will \"update\" to null.\n      // we should discuss whether we still care about this, probably fine to just\n      // leave the ui relationship populated since the record is destroyed and\n      // internally we've fully cleaned up.\n      if (!rel.definition.isAsync) {\n        if (isBelongsTo(rel)) {\n          rel.notifyBelongsToChange();\n        } else {\n          rel.notifyHasManyChange();\n        }\n      }\n    }\n  }\n  function removeCompletelyFromInverse(relationship) {\n    // we actually want a union of members and canonicalMembers\n    // they should be disjoint but currently are not due to a bug\n    var seen = Object.create(null);\n    var {\n      identifier\n    } = relationship;\n    var {\n      inverseKey\n    } = relationship.definition;\n    var unload = inverseIdentifier => {\n      var id = inverseIdentifier.lid;\n      if (seen[id] === undefined) {\n        if (relationship.graph.has(inverseIdentifier, inverseKey)) {\n          relationship.graph.get(inverseIdentifier, inverseKey).removeCompletelyFromOwn(identifier);\n        }\n        seen[id] = true;\n      }\n    };\n    if (isBelongsTo(relationship)) {\n      if (relationship.localState) {\n        unload(relationship.localState);\n      }\n      if (relationship.remoteState) {\n        unload(relationship.remoteState);\n      }\n      if (!relationship.definition.isAsync) {\n        relationship.clear();\n      }\n      relationship.localState = null;\n    } else if (isHasMany(relationship)) {\n      relationship.members.forEach(unload);\n      relationship.canonicalMembers.forEach(unload);\n      if (!relationship.definition.isAsync) {\n        relationship.clear();\n        relationship.notifyHasManyChange();\n      }\n    } else {\n      relationship.members.forEach(unload);\n      relationship.canonicalMembers.forEach(unload);\n      relationship.clear();\n    }\n  }\n\n  /**\n   * @module @ember-data/record-data\n   */\n  var nextBfsId = 1;\n  var EMPTY_ITERATOR = {\n    iterator() {\n      return {\n        next() {\n          return {\n            done: true,\n            value: undefined\n          };\n        }\n      };\n    }\n  };\n\n  /**\n    The default cache implementation used by ember-data. The cache\n    is configurable and using a different implementation can be\n    achieved by implementing the store's createRecordDataFor hook.\n\n    @class RecordDataDefault\n    @public\n   */\n  class RecordDataDefault {\n    constructor(identifier, storeWrapper) {\n      /*\n        Iterates over the set of internal models reachable from `this` across exactly one\n        relationship.\n      */\n      this._directlyRelatedRecordDatasIterable = () => {\n        var graph = graphFor(this.storeWrapper);\n        var initializedRelationships = graph.identifiers.get(this.identifier);\n        if (!initializedRelationships) {\n          return EMPTY_ITERATOR;\n        }\n        var initializedRelationshipsArr = Object.keys(initializedRelationships).map(key => initializedRelationships[key]).filter(rel => {\n          return !isImplicit(rel);\n        });\n        var i = 0;\n        var j = 0;\n        var k = 0;\n        var findNext = () => {\n          while (i < initializedRelationshipsArr.length) {\n            while (j < 2) {\n              var members = j === 0 ? getLocalState(initializedRelationshipsArr[i]) : getRemoteState(initializedRelationshipsArr[i]);\n              while (k < members.length) {\n                var member = members[k++];\n                if (member !== null) {\n                  // TODO this can cause materialization\n                  // do something to avoid that\n                  return Private.recordDataFor(member);\n                }\n              }\n              k = 0;\n              j++;\n            }\n            j = 0;\n            i++;\n          }\n          return undefined;\n        };\n        return {\n          iterator() {\n            return {\n              next: () => {\n                var value = findNext();\n                return {\n                  value,\n                  done: value === undefined\n                };\n              }\n            };\n          }\n        };\n      };\n      this.modelName = identifier.type;\n      this.clientId = identifier.lid;\n      this.id = identifier.id;\n      this.identifier = identifier;\n      this.storeWrapper = storeWrapper;\n      this.isDestroyed = false;\n      this._isNew = false;\n      this._isDeleted = false;\n      // Used during the mark phase of unloading to avoid checking the same internal\n      // model twice in the same scan\n      this._bfsId = 0;\n      this.reset();\n    }\n\n    // PUBLIC API\n    getResourceIdentifier() {\n      return this.identifier;\n    }\n    pushData(data, calculateChange) {\n      var changedKeys;\n      if (this._isNew) {\n        this._isNew = false;\n        this.notifyStateChange();\n      }\n      if (calculateChange) {\n        changedKeys = this._changedKeys(data.attributes);\n      }\n      polyfills.assign(this._data, data.attributes);\n      if (this.__attributes) {\n        // only do if we have attribute changes\n        this._updateChangedAttributes();\n      }\n      if (data.relationships) {\n        this._setupRelationships(data);\n      }\n      if (data.id) {\n        if (!this.id) {\n          this.id = coerceId(data.id);\n        }\n      }\n      return changedKeys;\n    }\n    willCommit() {\n      this._inFlightAttributes = this._attributes;\n      this._attributes = null;\n    }\n    hasChangedAttributes() {\n      return this.__attributes !== null && Object.keys(this.__attributes).length > 0;\n    }\n    _clearErrors() {\n      {\n        if (this._errors) {\n          this._errors = undefined;\n          this.storeWrapper.notifyErrorsChange(this.modelName, this.id, this.clientId);\n        }\n      }\n    }\n    getErrors() {\n      {\n        var errors = this._errors || [];\n        return errors;\n      }\n    }\n\n    // this is a hack bc we don't have access to the state machine\n    //   and relationships need this info and @runspired didn't see\n    //   how to get it just yet from storeWrapper.\n    isEmpty() {\n      return this.__attributes === null && this.__inFlightAttributes === null && this.__data === null;\n    }\n    deleteRecord() {\n      this._isDeleted = true;\n      this.notifyStateChange();\n    }\n    isDeleted() {\n      return this._isDeleted;\n    }\n    setIsDeleted(isDeleted) {\n      this._isDeleted = isDeleted;\n      if (this._isNew) {\n        this._deletionConfirmed();\n      }\n      this.notifyStateChange();\n    }\n    isDeletionCommitted() {\n      return this._isDeletionCommited;\n    }\n    reset() {\n      this.__attributes = null;\n      this.__inFlightAttributes = null;\n      this.__data = null;\n      this._errors = undefined;\n    }\n    _setupRelationships(data) {\n      // TODO @runspired iterating by definitions instead of by payload keys\n      // allows relationship payloads to be ignored silently if no relationship\n      // definition exists. Ensure there's a test for this and then consider\n      // moving this to an assertion. This check should possibly live in the graph.\n      var relationships = this.storeWrapper.relationshipsDefinitionFor(this.modelName);\n      var keys = Object.keys(relationships);\n      for (var i = 0; i < keys.length; i++) {\n        var relationshipName = keys[i];\n        if (!data.relationships[relationshipName]) {\n          continue;\n        }\n        var relationshipData = data.relationships[relationshipName];\n        graphFor(this.storeWrapper).push({\n          op: 'updateRelationship',\n          record: this.identifier,\n          field: relationshipName,\n          value: relationshipData\n        });\n      }\n    }\n\n    /**\n      Checks if the attributes which are considered as changed are still\n      different to the state which is acknowledged by the server.\n       This method is needed when data for the internal model is pushed and the\n      pushed data might acknowledge dirty attributes as confirmed.\n       @method updateChangedAttributes\n      @private\n     */\n    _updateChangedAttributes() {\n      var changedAttributes = this.changedAttributes();\n      var changedAttributeNames = Object.keys(changedAttributes);\n      var attrs = this._attributes;\n      for (var i = 0, length = changedAttributeNames.length; i < length; i++) {\n        var attribute = changedAttributeNames[i];\n        var data = changedAttributes[attribute];\n        var oldData = data[0];\n        var newData = data[1];\n        if (oldData === newData) {\n          delete attrs[attribute];\n        }\n      }\n    }\n\n    /**\n      Returns an object, whose keys are changed properties, and value is an\n      [oldProp, newProp] array.\n       @method changedAttributes\n      @private\n    */\n    changedAttributes() {\n      var oldData = this._data;\n      var currentData = this._attributes;\n      var inFlightData = this._inFlightAttributes;\n      var newData = polyfills.assign({}, inFlightData, currentData);\n      var diffData = Object.create(null);\n      var newDataKeys = Object.keys(newData);\n      for (var i = 0, length = newDataKeys.length; i < length; i++) {\n        var key = newDataKeys[i];\n        diffData[key] = [oldData[key], newData[key]];\n      }\n      return diffData;\n    }\n    isNew() {\n      return this._isNew;\n    }\n    rollbackAttributes() {\n      var dirtyKeys;\n      this._isDeleted = false;\n      if (this.hasChangedAttributes()) {\n        dirtyKeys = Object.keys(this._attributes);\n        this._attributes = null;\n      }\n      if (this.isNew()) {\n        this.removeFromInverseRelationships();\n        this._isDeleted = true;\n        this._isNew = false;\n      }\n      this._inFlightAttributes = null;\n      this._clearErrors();\n      this.notifyStateChange();\n      return dirtyKeys;\n    }\n    _deletionConfirmed() {\n      this.removeFromInverseRelationships();\n    }\n    didCommit(data) {\n      if (this._isDeleted) {\n        this._deletionConfirmed();\n        this._isDeletionCommited = true;\n      }\n      this._isNew = false;\n      var newCanonicalAttributes = null;\n      if (data) {\n        if (data.id) {\n          // didCommit provided an ID, notify the store of it\n          this.storeWrapper.setRecordId(this.modelName, data.id, this.clientId);\n          this.id = coerceId(data.id);\n        }\n        if (data.relationships) {\n          this._setupRelationships(data);\n        }\n        newCanonicalAttributes = data.attributes || null;\n      }\n      var changedKeys = this._changedKeys(newCanonicalAttributes);\n      polyfills.assign(this._data, this.__inFlightAttributes, newCanonicalAttributes);\n      this._inFlightAttributes = null;\n      this._updateChangedAttributes();\n      this._clearErrors();\n      this.notifyStateChange();\n      return changedKeys;\n    }\n    notifyStateChange() {\n      {\n        this.storeWrapper.notifyStateChange(this.modelName, this.id, this.clientId);\n      }\n    }\n\n    // get ResourceIdentifiers for \"current state\"\n    getHasMany(key) {\n      return graphFor(this.storeWrapper).get(this.identifier, key).getData();\n    }\n\n    // set a new \"current state\" via ResourceIdentifiers\n    setDirtyHasMany(key, recordDatas) {\n      graphFor(this.storeWrapper).update({\n        op: 'replaceRelatedRecords',\n        record: this.identifier,\n        field: key,\n        value: recordDatas.map(Private.recordIdentifierFor)\n      });\n    }\n\n    // append to \"current state\" via RecordDatas\n    addToHasMany(key, recordDatas, idx) {\n      graphFor(this.storeWrapper).update({\n        op: 'addToRelatedRecords',\n        record: this.identifier,\n        field: key,\n        value: recordDatas.map(Private.recordIdentifierFor),\n        index: idx\n      });\n    }\n\n    // remove from \"current state\" via RecordDatas\n    removeFromHasMany(key, recordDatas) {\n      graphFor(this.storeWrapper).update({\n        op: 'removeFromRelatedRecords',\n        record: this.identifier,\n        field: key,\n        value: recordDatas.map(Private.recordIdentifierFor)\n      });\n    }\n    commitWasRejected(identifier, errors) {\n      var keys = Object.keys(this._inFlightAttributes);\n      if (keys.length > 0) {\n        var attrs = this._attributes;\n        for (var i = 0; i < keys.length; i++) {\n          if (attrs[keys[i]] === undefined) {\n            attrs[keys[i]] = this._inFlightAttributes[keys[i]];\n          }\n        }\n      }\n      this._inFlightAttributes = null;\n      {\n        if (errors) {\n          this._errors = errors;\n        }\n        this.storeWrapper.notifyErrorsChange(this.modelName, this.id, this.clientId);\n      }\n    }\n    getBelongsTo(key) {\n      return graphFor(this.storeWrapper).get(this.identifier, key).getData();\n    }\n    setDirtyBelongsTo(key, recordData) {\n      graphFor(this.storeWrapper).update({\n        op: 'replaceRelatedRecord',\n        record: this.identifier,\n        field: key,\n        value: recordData ? Private.recordIdentifierFor(recordData) : null\n      });\n    }\n    setDirtyAttribute(key, value) {\n      var originalValue;\n      // Add the new value to the changed attributes hash\n      this._attributes[key] = value;\n      if (key in this._inFlightAttributes) {\n        originalValue = this._inFlightAttributes[key];\n      } else {\n        originalValue = this._data[key];\n      }\n      // If we went back to our original value, we shouldn't keep the attribute around anymore\n      if (value === originalValue) {\n        delete this._attributes[key];\n      }\n    }\n\n    // internal set coming from the model\n    __setId(id) {\n      if (this.id !== id) {\n        this.id = id;\n      }\n    }\n    getAttr(key) {\n      if (key in this._attributes) {\n        return this._attributes[key];\n      } else if (key in this._inFlightAttributes) {\n        return this._inFlightAttributes[key];\n      } else {\n        return this._data[key];\n      }\n    }\n    hasAttr(key) {\n      return key in this._attributes || key in this._inFlightAttributes || key in this._data;\n    }\n    unloadRecord() {\n      if (this.isDestroyed) {\n        return;\n      }\n      graphFor(this.storeWrapper).unload(this.identifier);\n      this.reset();\n      if (!this._scheduledDestroy) {\n        this._scheduledDestroy = runloop._backburner.schedule('destroy', this, '_cleanupOrphanedRecordDatas');\n      }\n    }\n    _cleanupOrphanedRecordDatas() {\n      var relatedRecordDatas = this._allRelatedRecordDatas();\n      if (areAllModelsUnloaded(relatedRecordDatas)) {\n        // we don't have a backburner queue yet since\n        // we scheduled this into ember's destroy\n        // disconnectRecord called from destroy will teardown\n        // relationships. We do this to queue that.\n        this.storeWrapper._store._backburner.join(() => {\n          for (var i = 0; i < relatedRecordDatas.length; ++i) {\n            var recordData = relatedRecordDatas[i];\n            if (!recordData.isDestroyed) {\n              // TODO @runspired we do not currently destroy RecordData instances *except* via this relationship\n              // traversal. This seems like an oversight since the store should be able to notify destroy.\n              Private.removeRecordDataFor(recordData.identifier);\n              recordData.destroy();\n            }\n          }\n        });\n      }\n      this._scheduledDestroy = null;\n    }\n    destroy() {\n      this.isDestroyed = true;\n      this.storeWrapper.disconnectRecord(this.modelName, this.id, this.clientId);\n    }\n    isRecordInUse() {\n      return this.storeWrapper.isRecordInUse(this.modelName, this.id, this.clientId);\n    }\n    /*\n      Computes the set of internal models reachable from this internal model.\n       Reachability is determined over the relationship graph (ie a graph where\n      nodes are internal models and edges are belongs to or has many\n      relationships).\n       Returns an array including `this` and all internal models reachable\n      from `this`.\n    */\n    _allRelatedRecordDatas() {\n      var array = [];\n      var queue = [];\n      var bfsId = nextBfsId++;\n      queue.push(this);\n      this._bfsId = bfsId;\n      while (queue.length > 0) {\n        var node = queue.shift();\n        array.push(node);\n        var iterator = this._directlyRelatedRecordDatasIterable().iterator();\n        for (var obj = iterator.next(); !obj.done; obj = iterator.next()) {\n          var recordData = obj.value;\n          if (recordData && recordData instanceof RecordDataDefault) {\n            (!(recordData._bfsId <= bfsId) && debug.assert('Internal Error: seen a future bfs iteration', recordData._bfsId <= bfsId));\n            if (recordData._bfsId < bfsId) {\n              queue.push(recordData);\n              recordData._bfsId = bfsId;\n            }\n          }\n        }\n      }\n      return array;\n    }\n    isAttrDirty(key) {\n      if (this._attributes[key] === undefined) {\n        return false;\n      }\n      var originalValue;\n      if (this._inFlightAttributes[key] !== undefined) {\n        originalValue = this._inFlightAttributes[key];\n      } else {\n        originalValue = this._data[key];\n      }\n      return originalValue !== this._attributes[key];\n    }\n    get _attributes() {\n      if (this.__attributes === null) {\n        this.__attributes = Object.create(null);\n      }\n      return this.__attributes;\n    }\n    set _attributes(v) {\n      this.__attributes = v;\n    }\n    get _data() {\n      if (this.__data === null) {\n        this.__data = Object.create(null);\n      }\n      return this.__data;\n    }\n    set _data(v) {\n      this.__data = v;\n    }\n    get _inFlightAttributes() {\n      if (this.__inFlightAttributes === null) {\n        this.__inFlightAttributes = Object.create(null);\n      }\n      return this.__inFlightAttributes;\n    }\n    set _inFlightAttributes(v) {\n      this.__inFlightAttributes = v;\n    }\n\n    /**\n     * Receives options passed to `store.createRecord` and is given the opportunity\n     * to handle them.\n     *\n     * The return value is an object of options to pass to `Record.create()`\n     *\n     * @name _initRecordCreateOptions\n     * @param options\n     * @private\n     */\n    _initRecordCreateOptions(options) {\n      var createOptions = {};\n      if (options !== undefined) {\n        var {\n          modelName,\n          storeWrapper,\n          identifier\n        } = this;\n        var attributeDefs = storeWrapper.attributesDefinitionFor(modelName);\n        var relationshipDefs = storeWrapper.relationshipsDefinitionFor(modelName);\n        var graph = graphFor(storeWrapper);\n        var propertyNames = Object.keys(options);\n        for (var i = 0; i < propertyNames.length; i++) {\n          var name = propertyNames[i];\n          var propertyValue = options[name];\n          if (name === 'id') {\n            this.id = propertyValue;\n            continue;\n          }\n          var fieldType = relationshipDefs[name] || attributeDefs[name];\n          var kind = fieldType !== undefined ? fieldType.kind : null;\n          var relationship = void 0;\n          switch (kind) {\n            case 'attribute':\n              this.setDirtyAttribute(name, propertyValue);\n              break;\n            case 'belongsTo':\n              this.setDirtyBelongsTo(name, propertyValue);\n              relationship = graph.get(identifier, name);\n              relationship.state.hasReceivedData = true;\n              relationship.state.isEmpty = false;\n              break;\n            case 'hasMany':\n              this.setDirtyHasMany(name, propertyValue);\n              relationship = graph.get(identifier, name);\n              relationship.state.hasReceivedData = true;\n              relationship.state.isEmpty = false;\n              break;\n            default:\n              // reflect back (pass-thru) unknown properties\n              createOptions[name] = propertyValue;\n          }\n        }\n      }\n      return createOptions;\n    }\n\n    /*\n      TODO IGOR AND DAVID this shouldn't be public\n     This method should only be called by records in the `isNew()` state OR once the record\n     has been deleted and that deletion has been persisted.\n      It will remove this record from any associated relationships.\n      If `isNew` is true (default false), it will also completely reset all\n      relationships to an empty state as well.\n       @method removeFromInverseRelationships\n      @param {Boolean} isNew whether to unload from the `isNew` perspective\n      @private\n     */\n    removeFromInverseRelationships() {\n      graphFor(this.storeWrapper).push({\n        op: 'deleteRecord',\n        record: this.identifier,\n        isNew: this.isNew()\n      });\n    }\n    clientDidCreate() {\n      this._isNew = true;\n    }\n\n    /*\n      Ember Data has 3 buckets for storing the value of an attribute on an internalModel.\n       `_data` holds all of the attributes that have been acknowledged by\n      a backend via the adapter. When rollbackAttributes is called on a model all\n      attributes will revert to the record's state in `_data`.\n       `_attributes` holds any change the user has made to an attribute\n      that has not been acknowledged by the adapter. Any values in\n      `_attributes` are have priority over values in `_data`.\n       `_inFlightAttributes`. When a record is being synced with the\n      backend the values in `_attributes` are copied to\n      `_inFlightAttributes`. This way if the backend acknowledges the\n      save but does not return the new state Ember Data can copy the\n      values from `_inFlightAttributes` to `_data`. Without having to\n      worry about changes made to `_attributes` while the save was\n      happenign.\n        Changed keys builds a list of all of the values that may have been\n      changed by the backend after a successful save.\n       It does this by iterating over each key, value pair in the payload\n      returned from the server after a save. If the `key` is found in\n      `_attributes` then the user has a local changed to the attribute\n      that has not been synced with the server and the key is not\n      included in the list of changed keys.\n    \n      If the value, for a key differs from the value in what Ember Data\n      believes to be the truth about the backend state (A merger of the\n      `_data` and `_inFlightAttributes` objects where\n      `_inFlightAttributes` has priority) then that means the backend\n      has updated the value and the key is added to the list of changed\n      keys.\n       @method _changedKeys\n      @private\n    */\n    /*\n        TODO IGOR DAVID\n        There seems to be a potential bug here, where we will return keys that are not\n        in the schema\n    */\n    _changedKeys(updates) {\n      var changedKeys = [];\n      if (updates) {\n        var original, i, value, key;\n        var keys = Object.keys(updates);\n        var length = keys.length;\n        var hasAttrs = this.hasChangedAttributes();\n        var attrs;\n        if (hasAttrs) {\n          attrs = this._attributes;\n        }\n        original = polyfills.assign(Object.create(null), this._data, this.__inFlightAttributes);\n        for (i = 0; i < length; i++) {\n          key = keys[i];\n          value = updates[key];\n\n          // A value in _attributes means the user has a local change to\n          // this attributes. We never override this value when merging\n          // updates from the backend so we should not sent a change\n          // notification if the server value differs from the original.\n          if (hasAttrs === true && attrs[key] !== undefined) {\n            continue;\n          }\n          if (!utils.isEqual(original[key], value)) {\n            changedKeys.push(key);\n          }\n        }\n      }\n      return changedKeys;\n    }\n    toString() {\n      return `<${this.modelName}:${this.id}>`;\n    }\n  }\n  function areAllModelsUnloaded(recordDatas) {\n    for (var i = 0; i < recordDatas.length; ++i) {\n      if (recordDatas[i].isRecordInUse()) {\n        return false;\n      }\n    }\n    return true;\n  }\n  function getLocalState(rel) {\n    if (rel.definition.kind === 'belongsTo') {\n      return rel.localState ? [rel.localState] : [];\n    }\n    return rel.currentState;\n  }\n  function getRemoteState(rel) {\n    if (rel.definition.kind === 'belongsTo') {\n      return rel.remoteState ? [rel.remoteState] : [];\n    }\n    return rel.canonicalState;\n  }\n\n  exports.BelongsToRelationship = BelongsToRelationship;\n  exports.ManyRelationship = ManyRelationship;\n  exports.RecordData = RecordDataDefault;\n  exports.Relationship = ImplicitRelationship;\n  exports.graphFor = graphFor;\n  exports.peekGraph = peekGraph;\n\n  Object.defineProperty(exports, '__esModule', { value: true });\n\n}));\n","define('@ember-data/serializer/-private', ['exports', '@ember/array', '@ember/debug', '@ember/object', '@ember/object/mixin', '@ember/string', '@ember/utils'], (function (exports, array, debug, EmberObject, Mixin, string$1, utils) { 'use strict';\n\n  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }\n\n  var EmberObject__default = /*#__PURE__*/_interopDefaultLegacy(EmberObject);\n  var Mixin__default = /*#__PURE__*/_interopDefaultLegacy(Mixin);\n\n  /**\n    @module @ember-data/serializer/rest\n  */\n\n  /**\n    ## Using Embedded Records\n\n    `EmbeddedRecordsMixin` supports serializing embedded records.\n\n    To set up embedded records, include the mixin when extending a serializer,\n    then define and configure embedded (model) relationships.\n\n    Note that embedded records will serialize with the serializer for their model instead of the serializer in which they are defined.\n\n    Note also that this mixin does not work with JSONAPISerializer because the JSON:API specification does not describe how to format embedded resources.\n\n    Below is an example of a per-type serializer (`post` type).\n\n    ```app/serializers/post.js\n    import RESTSerializer, { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\n\n    export default class PostSerializer extends RESTSerializer.extend(EmbeddedRecordsMixin) {\n      attrs = {\n        author: { embedded: 'always' },\n        comments: { serialize: 'ids' }\n      }\n    }\n    ```\n    Note that this use of `{ embedded: 'always' }` is unrelated to\n    the `{ embedded: 'always' }` that is defined as an option on `attr` as part of\n    defining a model while working with the `ActiveModelSerializer`.  Nevertheless,\n    using `{ embedded: 'always' }` as an option to `attr` is not a valid way to set up\n    embedded records.\n\n    The `attrs` option for a resource `{ embedded: 'always' }` is shorthand for:\n\n    ```js\n    {\n      serialize: 'records',\n      deserialize: 'records'\n    }\n    ```\n\n    ### Configuring Attrs\n\n    A resource's `attrs` option may be set to use `ids`, `records` or false for the\n    `serialize`  and `deserialize` settings.\n\n    The `attrs` property can be set on the `ApplicationSerializer` or a per-type\n    serializer.\n\n    In the case where embedded JSON is expected while extracting a payload (reading)\n    the setting is `deserialize: 'records'`, there is no need to use `ids` when\n    extracting as that is the default behaviour without this mixin if you are using\n    the vanilla `EmbeddedRecordsMixin`. Likewise, to embed JSON in the payload while\n    serializing `serialize: 'records'` is the setting to use. There is an option of\n    not embedding JSON in the serialized payload by using `serialize: 'ids'`. If you\n    do not want the relationship sent at all, you can use `serialize: false`.\n\n\n    ### EmbeddedRecordsMixin defaults\n    If you do not overwrite `attrs` for a specific relationship, the `EmbeddedRecordsMixin`\n    will behave in the following way:\n\n    BelongsTo: `{ serialize: 'id', deserialize: 'id' }`\n    HasMany:   `{ serialize: false, deserialize: 'ids' }`\n\n    ### Model Relationships\n\n    Embedded records must have a model defined to be extracted and serialized. Note that\n    when defining any relationships on your model such as `belongsTo` and `hasMany`, you\n    should not both specify `async: true` and also indicate through the serializer's\n    `attrs` attribute that the related model should be embedded for deserialization.\n    If a model is declared embedded for deserialization (`embedded: 'always'` or `deserialize: 'records'`),\n    then do not use `async: true`.\n\n    To successfully extract and serialize embedded records the model relationships\n    must be set up correctly. See the\n    [defining relationships](https://guides.emberjs.com/current/models/relationships)\n    section of the **Defining Models** guide page.\n\n    Records without an `id` property are not considered embedded records, model\n    instances must have an `id` property to be used with Ember Data.\n\n    ### Example JSON payloads, Models and Serializers\n\n    **When customizing a serializer it is important to grok what the customizations\n    are. Please read the docs for the methods this mixin provides, in case you need\n    to modify it to fit your specific needs.**\n\n    For example, review the docs for each method of this mixin:\n    * [normalize](/ember-data/release/classes/EmbeddedRecordsMixin/methods/normalize?anchor=normalize)\n    * [serializeBelongsTo](/ember-data/release/classes/EmbeddedRecordsMixin/methods/serializeBelongsTo?anchor=serializeBelongsTo)\n    * [serializeHasMany](/ember-data/release/classes/EmbeddedRecordsMixin/methods/serializeHasMany?anchor=serializeHasMany)\n\n    @class EmbeddedRecordsMixin\n    @public\n  */\n  var embeddedRecordsMixin = Mixin__default[\"default\"].create({\n    /**\n      Normalize the record and recursively normalize/extract all the embedded records\n      while pushing them into the store as they are encountered\n       A payload with an attr configured for embedded records needs to be extracted:\n       ```js\n      {\n        \"post\": {\n          \"id\": \"1\"\n          \"title\": \"Rails is omakase\",\n          \"comments\": [{\n            \"id\": \"1\",\n            \"body\": \"Rails is unagi\"\n          }, {\n            \"id\": \"2\",\n            \"body\": \"Omakase O_o\"\n          }]\n        }\n      }\n      ```\n     @method normalize\n      @public\n     @param {Model} typeClass\n     @param {Object} hash to be normalized\n     @param {String} prop the hash has been referenced by\n     @return {Object} the normalized hash\n    **/\n    normalize(typeClass, hash, prop) {\n      var normalizedHash = this._super(typeClass, hash, prop);\n      return this._extractEmbeddedRecords(this, this.store, typeClass, normalizedHash);\n    },\n    keyForRelationship(key, typeClass, method) {\n      if (method === 'serialize' && this.hasSerializeRecordsOption(key) || method === 'deserialize' && this.hasDeserializeRecordsOption(key)) {\n        return this.keyForAttribute(key, method);\n      } else {\n        return this._super(key, typeClass, method) || key;\n      }\n    },\n    /**\n      Serialize `belongsTo` relationship when it is configured as an embedded object.\n       This example of an author model belongs to a post model:\n       ```js\n      import Model, { attr, belongsTo } from '@ember-data/model';\n       Post = Model.extend({\n        title:    attr('string'),\n        body:     attr('string'),\n        author:   belongsTo('author')\n      });\n       Author = Model.extend({\n        name:     attr('string'),\n        post:     belongsTo('post')\n      });\n      ```\n       Use a custom (type) serializer for the post model to configure embedded author\n       ```app/serializers/post.js\n      import RESTSerializer, { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\n       export default class PostSerializer extends RESTSerializer.extend(EmbeddedRecordsMixin) {\n        attrs = {\n          author: { embedded: 'always' }\n        }\n      }\n      ```\n       A payload with an attribute configured for embedded records can serialize\n      the records together under the root attribute's payload:\n       ```js\n      {\n        \"post\": {\n          \"id\": \"1\"\n          \"title\": \"Rails is omakase\",\n          \"author\": {\n            \"id\": \"2\"\n            \"name\": \"dhh\"\n          }\n        }\n      }\n      ```\n       @method serializeBelongsTo\n      @public\n      @param {Snapshot} snapshot\n      @param {Object} json\n      @param {Object} relationship\n    */\n    serializeBelongsTo(snapshot, json, relationship) {\n      var attr = relationship.key;\n      if (this.noSerializeOptionSpecified(attr)) {\n        this._super(snapshot, json, relationship);\n        return;\n      }\n      var includeIds = this.hasSerializeIdsOption(attr);\n      var includeRecords = this.hasSerializeRecordsOption(attr);\n      var embeddedSnapshot = snapshot.belongsTo(attr);\n      if (includeIds) {\n        var serializedKey = this._getMappedKey(relationship.key, snapshot.type);\n        if (serializedKey === relationship.key && this.keyForRelationship) {\n          serializedKey = this.keyForRelationship(relationship.key, relationship.kind, 'serialize');\n        }\n        if (!embeddedSnapshot) {\n          json[serializedKey] = null;\n        } else {\n          json[serializedKey] = embeddedSnapshot.id;\n          if (relationship.options.polymorphic) {\n            this.serializePolymorphicType(snapshot, json, relationship);\n          }\n        }\n      } else if (includeRecords) {\n        this._serializeEmbeddedBelongsTo(snapshot, json, relationship);\n      }\n    },\n    _serializeEmbeddedBelongsTo(snapshot, json, relationship) {\n      var embeddedSnapshot = snapshot.belongsTo(relationship.key);\n      var serializedKey = this._getMappedKey(relationship.key, snapshot.type);\n      if (serializedKey === relationship.key && this.keyForRelationship) {\n        serializedKey = this.keyForRelationship(relationship.key, relationship.kind, 'serialize');\n      }\n      if (!embeddedSnapshot) {\n        json[serializedKey] = null;\n      } else {\n        json[serializedKey] = embeddedSnapshot.serialize({\n          includeId: true\n        });\n        this.removeEmbeddedForeignKey(snapshot, embeddedSnapshot, relationship, json[serializedKey]);\n        if (relationship.options.polymorphic) {\n          this.serializePolymorphicType(snapshot, json, relationship);\n        }\n      }\n    },\n    /**\n      Serializes `hasMany` relationships when it is configured as embedded objects.\n       This example of a post model has many comments:\n       ```js\n      import Model, { attr, belongsTo, hasMany } from '@ember-data/model';\n       Post = Model.extend({\n        title:    attr('string'),\n        body:     attr('string'),\n        comments: hasMany('comment')\n      });\n       Comment = Model.extend({\n        body:     attr('string'),\n        post:     belongsTo('post')\n      });\n      ```\n       Use a custom (type) serializer for the post model to configure embedded comments\n       ```app/serializers/post.js\n      import RESTSerializer, { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\n       export default class PostSerializer extends RESTSerializer.extend(EmbeddedRecordsMixin) {\n        attrs = {\n          comments: { embedded: 'always' }\n        }\n      }\n      ```\n       A payload with an attribute configured for embedded records can serialize\n      the records together under the root attribute's payload:\n       ```js\n      {\n        \"post\": {\n          \"id\": \"1\"\n          \"title\": \"Rails is omakase\",\n          \"body\": \"I want this for my ORM, I want that for my template language...\"\n          \"comments\": [{\n            \"id\": \"1\",\n            \"body\": \"Rails is unagi\"\n          }, {\n            \"id\": \"2\",\n            \"body\": \"Omakase O_o\"\n          }]\n        }\n      }\n      ```\n       The attrs options object can use more specific instruction for extracting and\n      serializing. When serializing, an option to embed `ids`, `ids-and-types` or `records` can be set.\n      When extracting the only option is `records`.\n       So `{ embedded: 'always' }` is shorthand for:\n      `{ serialize: 'records', deserialize: 'records' }`\n       To embed the `ids` for a related object (using a hasMany relationship):\n       ```app/serializers/post.js\n      import RESTSerializer, { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\n       export default class PostSerializer extends RESTSerializer.extend(EmbeddedRecordsMixin) {\n        attrs = {\n          comments: { serialize: 'ids', deserialize: 'records' }\n        }\n      }\n      ```\n       ```js\n      {\n        \"post\": {\n          \"id\": \"1\"\n          \"title\": \"Rails is omakase\",\n          \"body\": \"I want this for my ORM, I want that for my template language...\"\n          \"comments\": [\"1\", \"2\"]\n        }\n      }\n      ```\n       To embed the relationship as a collection of objects with `id` and `type` keys, set\n      `ids-and-types` for the related object.\n       This is particularly useful for polymorphic relationships where records don't share\n      the same table and the `id` is not enough information.\n       For example having a user that has many pets:\n       ```js\n      User = Model.extend({\n        name: attr('string'),\n        pets: hasMany('pet', { polymorphic: true })\n      });\n       Pet = Model.extend({\n        name: attr('string'),\n      });\n       Cat = Pet.extend({\n        // ...\n      });\n       Parrot = Pet.extend({\n        // ...\n      });\n      ```\n       ```app/serializers/user.js\n      import RESTSerializer, { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\n       export default class UserSerializer extends RESTSerializer.extend(EmbeddedRecordsMixin) {\n        attrs = {\n          pets: { serialize: 'ids-and-types', deserialize: 'records' }\n        }\n      }\n      ```\n       ```js\n      {\n        \"user\": {\n          \"id\": \"1\"\n          \"name\": \"Bertin Osborne\",\n          \"pets\": [\n            { \"id\": \"1\", \"type\": \"Cat\" },\n            { \"id\": \"1\", \"type\": \"Parrot\"}\n          ]\n        }\n      }\n      ```\n       @method serializeHasMany\n      @public\n      @param {Snapshot} snapshot\n      @param {Object} json\n      @param {Object} relationship\n    */\n    serializeHasMany(snapshot, json, relationship) {\n      var attr = relationship.key;\n      if (this.noSerializeOptionSpecified(attr)) {\n        this._super(snapshot, json, relationship);\n        return;\n      }\n      if (this.hasSerializeIdsOption(attr)) {\n        var serializedKey = this._getMappedKey(relationship.key, snapshot.type);\n        if (serializedKey === relationship.key && this.keyForRelationship) {\n          serializedKey = this.keyForRelationship(relationship.key, relationship.kind, 'serialize');\n        }\n        json[serializedKey] = snapshot.hasMany(attr, {\n          ids: true\n        });\n      } else if (this.hasSerializeRecordsOption(attr)) {\n        this._serializeEmbeddedHasMany(snapshot, json, relationship);\n      } else {\n        if (this.hasSerializeIdsAndTypesOption(attr)) {\n          this._serializeHasManyAsIdsAndTypes(snapshot, json, relationship);\n        }\n      }\n    },\n    /*\n      Serializes a hasMany relationship as an array of objects containing only `id` and `type`\n      keys.\n      This has its use case on polymorphic hasMany relationships where the server is not storing\n      all records in the same table using STI, and therefore the `id` is not enough information\n       TODO: Make the default in Ember-data 3.0??\n    */\n    _serializeHasManyAsIdsAndTypes(snapshot, json, relationship) {\n      var serializedKey = this.keyForAttribute(relationship.key, 'serialize');\n      var hasMany = snapshot.hasMany(relationship.key);\n      json[serializedKey] = array.A(hasMany).map(function (recordSnapshot) {\n        //\n        // I'm sure I'm being utterly naive here. Probably id is a configurable property and\n        // type too, and the modelName has to be normalized somehow.\n        //\n        return {\n          id: recordSnapshot.id,\n          type: recordSnapshot.modelName\n        };\n      });\n    },\n    _serializeEmbeddedHasMany(snapshot, json, relationship) {\n      var serializedKey = this._getMappedKey(relationship.key, snapshot.type);\n      if (serializedKey === relationship.key && this.keyForRelationship) {\n        serializedKey = this.keyForRelationship(relationship.key, relationship.kind, 'serialize');\n      }\n      (debug.warn(`The embedded relationship '${serializedKey}' is undefined for '${snapshot.modelName}' with id '${snapshot.id}'. Please include it in your original payload.`, utils.typeOf(snapshot.hasMany(relationship.key)) !== 'undefined', {\n        id: 'ds.serializer.embedded-relationship-undefined'\n      }));\n      json[serializedKey] = this._generateSerializedHasMany(snapshot, relationship);\n    },\n    /*\n      Returns an array of embedded records serialized to JSON\n    */\n    _generateSerializedHasMany(snapshot, relationship) {\n      var hasMany = snapshot.hasMany(relationship.key);\n      var manyArray = array.A(hasMany);\n      var ret = new Array(manyArray.length);\n      for (var i = 0; i < manyArray.length; i++) {\n        var embeddedSnapshot = manyArray[i];\n        var embeddedJson = embeddedSnapshot.serialize({\n          includeId: true\n        });\n        this.removeEmbeddedForeignKey(snapshot, embeddedSnapshot, relationship, embeddedJson);\n        ret[i] = embeddedJson;\n      }\n      return ret;\n    },\n    /**\n      When serializing an embedded record, modify the property (in the `JSON` payload)\n      that refers to the parent record (foreign key for the relationship).\n       Serializing a `belongsTo` relationship removes the property that refers to the\n      parent record\n       Serializing a `hasMany` relationship does not remove the property that refers to\n      the parent record.\n       @method removeEmbeddedForeignKey\n      @public\n      @param {Snapshot} snapshot\n      @param {Snapshot} embeddedSnapshot\n      @param {Object} relationship\n      @param {Object} json\n    */\n    removeEmbeddedForeignKey(snapshot, embeddedSnapshot, relationship, json) {\n      if (relationship.kind === 'belongsTo') {\n        var parentRecord = snapshot.type.inverseFor(relationship.key, this.store);\n        if (parentRecord) {\n          var name = parentRecord.name;\n          var embeddedSerializer = this.store.serializerFor(embeddedSnapshot.modelName);\n          var parentKey = embeddedSerializer.keyForRelationship(name, parentRecord.kind, 'deserialize');\n          if (parentKey) {\n            delete json[parentKey];\n          }\n        }\n      } /*else if (relationship.kind === 'hasMany') {\n        return;\n        }*/\n    },\n    // checks config for attrs option to embedded (always) - serialize and deserialize\n    hasEmbeddedAlwaysOption(attr) {\n      var option = this.attrsOption(attr);\n      return option && option.embedded === 'always';\n    },\n    // checks config for attrs option to serialize ids\n    hasSerializeRecordsOption(attr) {\n      var alwaysEmbed = this.hasEmbeddedAlwaysOption(attr);\n      var option = this.attrsOption(attr);\n      return alwaysEmbed || option && option.serialize === 'records';\n    },\n    // checks config for attrs option to serialize records\n    hasSerializeIdsOption(attr) {\n      var option = this.attrsOption(attr);\n      return option && (option.serialize === 'ids' || option.serialize === 'id');\n    },\n    // checks config for attrs option to serialize records as objects containing id and types\n    hasSerializeIdsAndTypesOption(attr) {\n      var option = this.attrsOption(attr);\n      return option && (option.serialize === 'ids-and-types' || option.serialize === 'id-and-type');\n    },\n    // checks config for attrs option to serialize records\n    noSerializeOptionSpecified(attr) {\n      var option = this.attrsOption(attr);\n      return !(option && (option.serialize || option.embedded));\n    },\n    // checks config for attrs option to deserialize records\n    // a defined option object for a resource is treated the same as\n    // `deserialize: 'records'`\n    hasDeserializeRecordsOption(attr) {\n      var alwaysEmbed = this.hasEmbeddedAlwaysOption(attr);\n      var option = this.attrsOption(attr);\n      return alwaysEmbed || option && option.deserialize === 'records';\n    },\n    attrsOption(attr) {\n      var attrs = this.get('attrs');\n      return attrs && (attrs[string$1.camelize(attr)] || attrs[attr]);\n    },\n    /**\n     @method _extractEmbeddedRecords\n     @private\n    */\n    _extractEmbeddedRecords(serializer, store, typeClass, partial) {\n      typeClass.eachRelationship((key, relationship) => {\n        if (serializer.hasDeserializeRecordsOption(key)) {\n          if (relationship.kind === 'hasMany') {\n            this._extractEmbeddedHasMany(store, key, partial, relationship);\n          }\n          if (relationship.kind === 'belongsTo') {\n            this._extractEmbeddedBelongsTo(store, key, partial, relationship);\n          }\n        }\n      });\n      return partial;\n    },\n    /**\n     @method _extractEmbeddedHasMany\n     @private\n    */\n    _extractEmbeddedHasMany(store, key, hash, relationshipMeta) {\n      var relationshipHash = EmberObject.get(hash, `data.relationships.${key}.data`);\n      if (!relationshipHash) {\n        return;\n      }\n      var hasMany = new Array(relationshipHash.length);\n      for (var i = 0; i < relationshipHash.length; i++) {\n        var item = relationshipHash[i];\n        var {\n          data,\n          included\n        } = this._normalizeEmbeddedRelationship(store, relationshipMeta, item);\n        hash.included = hash.included || [];\n        hash.included.push(data);\n        if (included) {\n          hash.included.push(...included);\n        }\n        hasMany[i] = {\n          id: data.id,\n          type: data.type\n        };\n      }\n      var relationship = {\n        data: hasMany\n      };\n      EmberObject.set(hash, `data.relationships.${key}`, relationship);\n    },\n    /**\n     @method _extractEmbeddedBelongsTo\n     @private\n    */\n    _extractEmbeddedBelongsTo(store, key, hash, relationshipMeta) {\n      var relationshipHash = EmberObject.get(hash, `data.relationships.${key}.data`);\n      if (!relationshipHash) {\n        return;\n      }\n      var {\n        data,\n        included\n      } = this._normalizeEmbeddedRelationship(store, relationshipMeta, relationshipHash);\n      hash.included = hash.included || [];\n      hash.included.push(data);\n      if (included) {\n        hash.included.push(...included);\n      }\n      var belongsTo = {\n        id: data.id,\n        type: data.type\n      };\n      var relationship = {\n        data: belongsTo\n      };\n      EmberObject.set(hash, `data.relationships.${key}`, relationship);\n    },\n    /**\n     @method _normalizeEmbeddedRelationship\n     @private\n    */\n    _normalizeEmbeddedRelationship(store, relationshipMeta, relationshipHash) {\n      var modelName = relationshipMeta.type;\n      if (relationshipMeta.options.polymorphic) {\n        modelName = relationshipHash.type;\n      }\n      var modelClass = store.modelFor(modelName);\n      var serializer = store.serializerFor(modelName);\n      return serializer.normalize(modelClass, relationshipHash, null);\n    },\n    isEmbeddedRecordsMixin: true\n  });\n\n  /*\n    Check if the passed model has a `type` attribute or a relationship named `type`.\n   */\n  function modelHasAttributeOrRelationshipNamedType(modelClass) {\n    return EmberObject.get(modelClass, 'attributes').has('type') || EmberObject.get(modelClass, 'relationshipsByName').has('type');\n  }\n\n  /**\n    @module @ember-data/serializer\n  */\n\n  /**\n    The `Transform` class is used to serialize and deserialize model\n    attributes when they are saved or loaded from an\n    adapter. Subclassing `Transform` is useful for creating custom\n    attributes. All subclasses of `Transform` must implement a\n    `serialize` and a `deserialize` method.\n\n    Example\n\n    ```app/transforms/temperature.js\n    import Transform from '@ember-data/serializer/transform';\n\n    // Converts centigrade in the JSON to fahrenheit in the app\n    export default class TemperatureTransform extends Transform {\n      deserialize(serialized, options) {\n        return (serialized *  1.8) + 32;\n      }\n\n      serialize(deserialized, options) {\n        return (deserialized - 32) / 1.8;\n      }\n    }\n    ```\n\n    Usage\n\n    ```app/models/requirement.js\n    import Model, { attr } from '@ember-data/model';\n\n    export default class RequirementModel extends Model {\n      @attr('string') name;\n      @attr('temperature') temperature;\n    }\n    ```\n\n    The options passed into the `attr` function when the attribute is\n    declared on the model is also available in the transform.\n\n    ```app/models/post.js\n    import Model, { attr } from '@ember-data/model';\n\n    export default class PostModel extends Model {\n      @attr('string') title;\n      @attr('markdown', {\n        markdown: {\n          gfm: false,\n          sanitize: true\n        }\n      })\n      markdown;\n    }\n    ```\n\n    ```app/transforms/markdown.js\n    import Transform from '@ember-data/serializer/transform';\n\n    export default class MarkdownTransform extends Transform {\n      serialize(deserialized, options) {\n        return deserialized.raw;\n      }\n\n      deserialize(serialized, options) {\n        let markdownOptions = options.markdown || {};\n\n        return marked(serialized, markdownOptions);\n      }\n    }\n    ```\n\n    @class Transform\n    @public\n   */\n  var Transform = EmberObject__default[\"default\"].extend({\n    /**\n      When given a deserialized value from a record attribute this\n      method must return the serialized value.\n       Example\n       ```javascript\n      import { isEmpty } from '@ember/utils';\n       serialize(deserialized, options) {\n        return isEmpty(deserialized) ? null : Number(deserialized);\n      }\n      ```\n       @method serialize\n      @public\n      @param deserialized The deserialized value\n      @param options hash of options passed to `attr`\n      @return The serialized value\n    */\n    serialize: null,\n    /**\n      When given a serialized value from a JSON object this method must\n      return the deserialized value for the record attribute.\n       Example\n       ```javascript\n      deserialize(serialized, options) {\n        return empty(serialized) ? null : Number(serialized);\n      }\n      ```\n       @method deserialize\n      @public\n      @param serialized The serialized value\n      @param options hash of options passed to `attr`\n      @return The deserialized value\n    */\n    deserialize: null\n  });\n\n  /**\n    @module @ember-data/serializer\n  */\n\n  /**\n    The `BooleanTransform` class is used to serialize and deserialize\n    boolean attributes on Ember Data record objects. This transform is\n    used when `boolean` is passed as the type parameter to the\n    [attr](/ember-data/release/functions/@ember-data%2Fmodel/attr) function.\n\n    Usage\n\n    ```app/models/user.js\n    import Model, { attr } from '@ember-data/model';\n\n    export default class UserModel extends Model {\n      @attr('boolean') isAdmin;\n      @attr('string') name;\n      @attr('string') email;\n    }\n    ```\n\n    By default, the boolean transform only allows for values of `true` or\n    `false`. You can opt into allowing `null` values for\n    boolean attributes via `attr('boolean', { allowNull: true })`\n\n    ```app/models/user.js\n    import Model, { attr } from '@ember-data/model';\n\n    export default class UserModel extends Model {\n      @attr('string') email;\n      @attr('string') username;\n      @attr('boolean', { allowNull: true }) wantsWeeklyEmail;\n    }\n    ```\n\n    @class BooleanTransform\n    @public\n    @extends Transform\n   */\n  var boolean = Transform.extend({\n    deserialize(serialized, options) {\n      if (utils.isNone(serialized) && options.allowNull === true) {\n        return null;\n      }\n      var type = typeof serialized;\n      if (type === 'boolean') {\n        return serialized;\n      } else if (type === 'string') {\n        return /^(true|t|1)$/i.test(serialized);\n      } else if (type === 'number') {\n        return serialized === 1;\n      } else {\n        return false;\n      }\n    },\n    serialize(deserialized, options) {\n      if (utils.isNone(deserialized) && options.allowNull === true) {\n        return null;\n      }\n      return Boolean(deserialized);\n    }\n  });\n\n  /**\n    @module @ember-data/serializer\n  */\n\n  /**\n   The `DateTransform` class is used to serialize and deserialize\n   date attributes on Ember Data record objects. This transform is used\n   when `date` is passed as the type parameter to the\n   [attr](/ember-data/release/functions/@ember-data%2Fmodel/attr) function. It uses the [`ISO 8601`](https://en.wikipedia.org/wiki/ISO_8601)\n   standard.\n\n   ```app/models/score.js\n   import Model, { attr, belongsTo } from '@ember-data/model';\n\n   export default class ScoreModel extends Model {\n      @attr('number') value;\n      @belongsTo('player') player;\n      @attr('date') date;\n    }\n   ```\n\n   @class DateTransform\n    @public\n   @extends Transform\n   */\n\n  var date = Transform.extend({\n    deserialize(serialized) {\n      var type = typeof serialized;\n      if (type === 'string') {\n        var offset = serialized.indexOf('+');\n        if (offset !== -1 && serialized.length - 5 === offset) {\n          offset += 3;\n          return new Date(serialized.slice(0, offset) + ':' + serialized.slice(offset));\n        }\n        return new Date(serialized);\n      } else if (type === 'number') {\n        return new Date(serialized);\n      } else if (serialized === null || serialized === undefined) {\n        // if the value is null return null\n        // if the value is not present in the data return undefined\n        return serialized;\n      } else {\n        return null;\n      }\n    },\n    serialize(date) {\n      if (date instanceof Date && !isNaN(date)) {\n        return date.toISOString();\n      } else {\n        return null;\n      }\n    }\n  });\n\n  /**\n    @module @ember-data/serializer\n  */\n\n  function isNumber(value) {\n    return value === value && value !== Infinity && value !== -Infinity;\n  }\n\n  /**\n    The `NumberTransform` class is used to serialize and deserialize\n    numeric attributes on Ember Data record objects. This transform is\n    used when `number` is passed as the type parameter to the\n    [attr](/ember-data/release/functions/@ember-data%2Fmodel/attr) function.\n\n    Usage\n\n    ```app/models/score.js\n    import Model, { attr, belongsTo } from '@ember-data/model';\n\n    export default class ScoreModel extends Model {\n      @attr('number') value;\n      @belongsTo('player') player;\n      @attr('date') date;\n    }\n    ```\n\n    @class NumberTransform\n    @public\n    @extends Transform\n   */\n  var number = Transform.extend({\n    deserialize(serialized) {\n      var transformed;\n      if (serialized === '' || serialized === null || serialized === undefined) {\n        return null;\n      } else {\n        transformed = Number(serialized);\n        return isNumber(transformed) ? transformed : null;\n      }\n    },\n    serialize(deserialized) {\n      var transformed;\n      if (deserialized === '' || deserialized === null || deserialized === undefined) {\n        return null;\n      } else {\n        transformed = Number(deserialized);\n        return isNumber(transformed) ? transformed : null;\n      }\n    }\n  });\n\n  /**\n    @module @ember-data/serializer\n  */\n\n  /**\n    The `StringTransform` class is used to serialize and deserialize\n    string attributes on Ember Data record objects. This transform is\n    used when `string` is passed as the type parameter to the\n    [attr](/ember-data/release/functions/@ember-data%2Fmodel/attr) function.\n\n    Usage\n\n    ```app/models/user.js\n    import Model, { attr, belongsTo } from '@ember-data/model';\n\n    export default class UserModel extends Model {\n      @attr('boolean') isAdmin;\n      @attr('string') name;\n      @attr('string') email;\n    }\n    ```\n\n    @class StringTransform\n    @public\n    @extends Transform\n   */\n  var string = Transform.extend({\n    deserialize(serialized) {\n      return utils.isNone(serialized) ? null : String(serialized);\n    },\n    serialize(deserialized) {\n      return utils.isNone(deserialized) ? null : String(deserialized);\n    }\n  });\n\n  exports.BooleanTransform = boolean;\n  exports.DateTransform = date;\n  exports.EmbeddedRecordsMixin = embeddedRecordsMixin;\n  exports.NumberTransform = number;\n  exports.StringTransform = string;\n  exports.Transform = Transform;\n  exports.modelHasAttributeOrRelationshipNamedType = modelHasAttributeOrRelationshipNamedType;\n\n  Object.defineProperty(exports, '__esModule', { value: true });\n\n}));\n","define(\"@ember-data/serializer/index\", [\"exports\", \"@ember/object\"], function (_exports, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n    ## Overview\n  \n    In order to properly manage and present your data, EmberData\n    needs to understand the structure of data it receives.\n  \n    `Serializers` convert data between the server's API format and\n    the format EmberData understands.\n  \n    Data received from an API response is **normalized** into\n    [JSON:API](https://jsonapi.org/) (the format used internally\n    by EmberData), while data sent to an API is **serialized**\n    into the format the API expects.\n  \n    ### Implementing a Serializer\n  \n    There are only two required serializer methods, one for\n    normalizing data from the server API format into JSON:API, and\n    another for serializing records via `Snapshots` into the expected\n    server API format.\n  \n    To implement a serializer, export a class that conforms to the structure\n    described by the [MinimumSerializerInterface](/ember-data/release/classes/MinimumSerializerInterface)\n    from the `app/serializers/` directory. An example is below.\n  \n    ```ts\n    import EmberObject from '@ember/object';\n  \n    export default class ApplicationSerializer extends EmberObject {\n      normalizeResponse(store, schema, rawPayload) {\n        return rawPayload;\n      }\n  \n      serialize(snapshot, options) {\n        const serializedResource = {\n          id: snapshot.id,\n          type: snapshot.modelName,\n          attributes: snapshot.attributes()\n        };\n  \n        return serializedResource;\n      }\n    }\n   ```\n  \n  \n    ### Serializer Resolution\n  \n    `store.serializerFor(name)` will lookup serializers defined in\n    `app/serializers/` and return an instance. If no serializer is found, an\n    error will be thrown.\n  \n    `serializerFor` first attempts to find a serializer with an exact match on `name`,\n    then falls back to checking for the presence of a serializer named `application`.\n  \n    ```ts\n    store.serializerFor('author');\n  \n    // lookup paths (in order) =>\n    //   app/serializers/author.js\n    //   app/serializers/application.js\n    ```\n  \n    Most requests in EmberData are made with respect to a particular `type` (or `modelName`)\n    (e.g., \"get me the full collection of **books**\" or \"get me the **employee** whose id is 37\"). We\n    refer to this as the **primary** resource `type`.\n  \n    Typically `serializerFor` will be used to find a serializer with a name matching that of the primary\n    resource `type` for the request, falling back to the `application` serializer for those types that\n    do not have a defined serializer. This is often described as a `per-model` or `per-type` strategy\n    for defining serializers. However, because APIs rarely format payloads per-type but rather\n    per-API-version, this may not be a desired strategy.\n  \n    It is recommended that applications define only a single `application` adapter and serializer\n    where possible.\n  \n    If you have multiple API formats and the per-type strategy is not viable, one strategy is to\n    write an `application` adapter and serializer that make use of `options` to specify the desired\n    format when making a request.\n  \n    ### Using a Serializer\n  \n    Any serializer in `app/serializers/` can be looked up by `name` using `store.serializerFor(name)`.\n  \n    ### Default Serializers\n  \n    For applications whose APIs are *very close to* or *exactly* the **REST** format or **JSON:API**\n    format the `@ember-data/serializer` package contains implementations these applications can\n    extend. It also contains a simple `JSONSerializer` for serializing to/from very basic JSON objects.\n  \n    Many applications will find writing their own serializer to be more performant and less\n    complex than extending these classes even when their API format is very close to that expected\n    by these serializers.\n  \n    It is recommended that apps write their own serializer to best suit the needs of their API and\n    application.\n  \n    @module @ember-data/serializer\n    @main @ember-data/serializer\n  */\n  /**\n    `Serializer` is an abstract base class that you should override in your\n    application to customize it for your backend. The minimum set of methods\n    that you should implement is:\n  \n      * `normalizeResponse()`\n      * `serialize()`\n  \n    And you can optionally override the following methods:\n  \n      * `normalize()`\n  \n    For an example implementation, see\n    [JSONSerializer](JSONSerializer), the included JSON serializer.\n  \n    @class Serializer\n    @public\n    @extends EmberObject\n  */\n  var _default = _exports.default = _object.default.extend({\n    /**\n      The `store` property is the application's `store` that contains\n      all records. It can be used to look up serializers for other model\n      types that may be nested inside the payload response.\n       Example:\n       ```js\n      Serializer.extend({\n        extractRelationship(relationshipModelName, relationshipHash) {\n          let modelClass = this.store.modelFor(relationshipModelName);\n          let relationshipSerializer = this.store.serializerFor(relationshipModelName);\n          return relationshipSerializer.normalize(modelClass, relationshipHash);\n        }\n      });\n      ```\n       @property store\n      @type {Store}\n      @public\n    */\n\n    /**\n      The `normalizeResponse` method is used to normalize a payload from the\n      server to a JSON-API Document.\n       http://jsonapi.org/format/#document-structure\n       Example:\n       ```js\n      Serializer.extend({\n        normalizeResponse(store, primaryModelClass, payload, id, requestType) {\n          if (requestType === 'findRecord') {\n            return this.normalize(primaryModelClass, payload);\n          } else {\n            return payload.reduce(function(documentHash, item) {\n              let { data, included } = this.normalize(primaryModelClass, item);\n              documentHash.included.push(...included);\n              documentHash.data.push(data);\n              return documentHash;\n            }, { data: [], included: [] })\n          }\n        }\n      });\n      ```\n       @since 1.13.0\n      @method normalizeResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeResponse: null,\n    /**\n      The `serialize` method is used when a record is saved in order to convert\n      the record into the form that your external data source expects.\n       `serialize` takes an optional `options` hash with a single option:\n       - `includeId`: If this is `true`, `serialize` should include the ID\n        in the serialized object it builds.\n       Example:\n       ```js\n      Serializer.extend({\n        serialize(snapshot, options) {\n          let json = {\n            id: snapshot.id\n          };\n           snapshot.eachAttribute((key, attribute) => {\n            json[key] = snapshot.attr(key);\n          });\n           snapshot.eachRelationship((key, relationship) => {\n            if (relationship.kind === 'belongsTo') {\n              json[key] = snapshot.belongsTo(key, { id: true });\n            } else if (relationship.kind === 'hasMany') {\n              json[key] = snapshot.hasMany(key, { ids: true });\n            }\n          });\n           return json;\n        },\n      });\n      ```\n       @method serialize\n      @public\n      @param {Snapshot} snapshot\n      @param {Object} [options]\n      @return {Object}\n    */\n    serialize: null,\n    /**\n      The `normalize` method is used to convert a payload received from your\n      external data source into the normalized form `store.push()` expects. You\n      should override this method, munge the hash and return the normalized\n      payload.\n       Example:\n       ```js\n      Serializer.extend({\n        normalize(modelClass, resourceHash) {\n          let data = {\n            id:            resourceHash.id,\n            type:          modelClass.modelName,\n            attributes:    resourceHash\n          };\n          return { data: data };\n        }\n      })\n      ```\n       @method normalize\n      @public\n      @param {Model} typeClass\n      @param {Object} hash\n      @return {Object}\n    */\n    normalize(typeClass, hash) {\n      return hash;\n    }\n  });\n});","define(\"@ember-data/serializer/json-api\", [\"exports\", \"@ember/debug\", \"@ember/string\", \"@ember/utils\", \"ember-inflector\", \"@ember-data/serializer/json\", \"@ember-data/store\"], function (_exports, _debug, _string, _utils, _emberInflector, _json, _store) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * @module @ember-data/serializer/json-api\n   */\n\n  /**\n    Ember Data 2.0 Serializer:\n  \n    In Ember Data a Serializer is used to serialize and deserialize\n    records when they are transferred in and out of an external source.\n    This process involves normalizing property names, transforming\n    attribute values and serializing relationships.\n  \n    `JSONAPISerializer` supports the http://jsonapi.org/ spec and is the\n    serializer recommended by Ember Data.\n  \n    This serializer normalizes a JSON API payload that looks like:\n  \n    ```app/models/player.js\n    import Model, { attr, belongsTo } from '@ember-data/model';\n  \n    export default class Player extends Model {\n      @attr('string') name;\n      @attr('string') skill;\n      @attr('number') gamesPlayed;\n      @belongsTo('club') club;\n    }\n    ```\n  \n    ```app/models/club.js\n    import Model, { attr, hasMany } from '@ember-data/model';\n  \n    export default class Club extends Model {\n      @attr('string') name;\n      @attr('string') location;\n      @hasMany('player') players;\n    }\n    ```\n  \n    ```js\n      {\n        \"data\": [\n          {\n            \"attributes\": {\n              \"name\": \"Benfica\",\n              \"location\": \"Portugal\"\n            },\n            \"id\": \"1\",\n            \"relationships\": {\n              \"players\": {\n                \"data\": [\n                  {\n                    \"id\": \"3\",\n                    \"type\": \"players\"\n                  }\n                ]\n              }\n            },\n            \"type\": \"clubs\"\n          }\n        ],\n        \"included\": [\n          {\n            \"attributes\": {\n              \"name\": \"Eusebio Silva Ferreira\",\n              \"skill\": \"Rocket shot\",\n              \"games-played\": 431\n            },\n            \"id\": \"3\",\n            \"relationships\": {\n              \"club\": {\n                \"data\": {\n                  \"id\": \"1\",\n                  \"type\": \"clubs\"\n                }\n              }\n            },\n            \"type\": \"players\"\n          }\n        ]\n      }\n    ```\n  \n    to the format that the Ember Data store expects.\n  \n    ### Customizing meta\n  \n    Since a JSON API Document can have meta defined in multiple locations you can\n    use the specific serializer hooks if you need to customize the meta.\n  \n    One scenario would be to camelCase the meta keys of your payload. The example\n    below shows how this could be done using `normalizeArrayResponse` and\n    `extractRelationship`.\n  \n    ```app/serializers/application.js\n    import JSONAPISerializer from '@ember-data/serializer/json-api';\n  \n    export default class ApplicationSerializer extends JSONAPISerializer {\n      normalizeArrayResponse(store, primaryModelClass, payload, id, requestType) {\n        let normalizedDocument = super.normalizeArrayResponse(...arguments);\n  \n        // Customize document meta\n        normalizedDocument.meta = camelCaseKeys(normalizedDocument.meta);\n  \n        return normalizedDocument;\n      }\n  \n      extractRelationship(relationshipHash) {\n        let normalizedRelationship = super.extractRelationship(...arguments);\n  \n        // Customize relationship meta\n        normalizedRelationship.meta = camelCaseKeys(normalizedRelationship.meta);\n  \n        return normalizedRelationship;\n      }\n    }\n    ```\n  \n    @main @ember-data/serializer/json-api\n    @since 1.13.0\n    @class JSONAPISerializer\n    @public\n    @extends JSONSerializer\n  */\n  var JSONAPISerializer = _json.default.extend({\n    /**\n      @method _normalizeDocumentHelper\n      @param {Object} documentHash\n      @return {Object}\n      @private\n    */\n    _normalizeDocumentHelper(documentHash) {\n      if ((0, _utils.typeOf)(documentHash.data) === 'object') {\n        documentHash.data = this._normalizeResourceHelper(documentHash.data);\n      } else if (Array.isArray(documentHash.data)) {\n        var ret = new Array(documentHash.data.length);\n        for (var i = 0; i < documentHash.data.length; i++) {\n          var data = documentHash.data[i];\n          ret[i] = this._normalizeResourceHelper(data);\n        }\n        documentHash.data = ret;\n      }\n      if (Array.isArray(documentHash.included)) {\n        var _ret = new Array();\n        for (var _i = 0; _i < documentHash.included.length; _i++) {\n          var included = documentHash.included[_i];\n          var normalized = this._normalizeResourceHelper(included);\n          if (normalized !== null) {\n            // can be null when unknown type is encountered\n            _ret.push(normalized);\n          }\n        }\n        documentHash.included = _ret;\n      }\n      return documentHash;\n    },\n    /**\n      @method _normalizeRelationshipDataHelper\n      @param {Object} relationshipDataHash\n      @return {Object}\n      @private\n    */\n    _normalizeRelationshipDataHelper(relationshipDataHash) {\n      relationshipDataHash.type = this.modelNameFromPayloadKey(relationshipDataHash.type);\n      return relationshipDataHash;\n    },\n    /**\n      @method _normalizeResourceHelper\n      @param {Object} resourceHash\n      @return {Object}\n      @private\n    */\n    _normalizeResourceHelper(resourceHash) {\n      (true && !(!(0, _utils.isNone)(resourceHash.type)) && (0, _debug.assert)(this.warnMessageForUndefinedType(), !(0, _utils.isNone)(resourceHash.type), {\n        id: 'ds.serializer.type-is-undefined'\n      }));\n      var modelName, usedLookup;\n      modelName = this.modelNameFromPayloadKey(resourceHash.type);\n      usedLookup = 'modelNameFromPayloadKey';\n      if (!this.store._hasModelFor(modelName)) {\n        (true && (0, _debug.warn)(this.warnMessageNoModelForType(modelName, resourceHash.type, usedLookup), false, {\n          id: 'ds.serializer.model-for-type-missing'\n        }));\n        return null;\n      }\n      var modelClass = this.store.modelFor(modelName);\n      var serializer = this.store.serializerFor(modelName);\n      var {\n        data\n      } = serializer.normalize(modelClass, resourceHash);\n      return data;\n    },\n    /**\n      Normalize some data and push it into the store.\n       @method pushPayload\n      @public\n      @param {Store} store\n      @param {Object} payload\n    */\n    pushPayload(store, payload) {\n      var normalizedPayload = this._normalizeDocumentHelper(payload);\n      store.push(normalizedPayload);\n    },\n    /**\n      @method _normalizeResponse\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @param {Boolean} isSingle\n      @return {Object} JSON-API Document\n      @private\n    */\n    _normalizeResponse(store, primaryModelClass, payload, id, requestType, isSingle) {\n      var normalizedPayload = this._normalizeDocumentHelper(payload);\n      return normalizedPayload;\n    },\n    normalizeQueryRecordResponse() {\n      var normalized = this._super(...arguments);\n      (true && !(!Array.isArray(normalized.data)) && (0, _debug.assert)('Expected the primary data returned by the serializer for a `queryRecord` response to be a single object but instead it was an array.', !Array.isArray(normalized.data), {\n        id: 'ds.serializer.json-api.queryRecord-array-response'\n      }));\n      return normalized;\n    },\n    extractAttributes(modelClass, resourceHash) {\n      var attributes = {};\n      if (resourceHash.attributes) {\n        modelClass.eachAttribute(key => {\n          var attributeKey = this.keyForAttribute(key, 'deserialize');\n          if (resourceHash.attributes[attributeKey] !== undefined) {\n            attributes[key] = resourceHash.attributes[attributeKey];\n          }\n          if (true /* DEBUG */) {\n            if (resourceHash.attributes[attributeKey] === undefined && resourceHash.attributes[key] !== undefined) {\n              (true && !(false) && (0, _debug.assert)(`Your payload for '${modelClass.modelName}' contains '${key}', but your serializer is setup to look for '${attributeKey}'. This is most likely because Ember Data's JSON API serializer dasherizes attribute keys by default. You should subclass JSONAPISerializer and implement 'keyForAttribute(key) { return key; }' to prevent Ember Data from customizing your attribute keys.`, false));\n            }\n          }\n        });\n      }\n      return attributes;\n    },\n    /**\n       Returns a relationship formatted as a JSON-API \"relationship object\".\n        http://jsonapi.org/format/#document-resource-object-relationships\n        @method extractRelationship\n      @public\n       @param {Object} relationshipHash\n       @return {Object}\n    */\n    extractRelationship(relationshipHash) {\n      if ((0, _utils.typeOf)(relationshipHash.data) === 'object') {\n        relationshipHash.data = this._normalizeRelationshipDataHelper(relationshipHash.data);\n      }\n      if (Array.isArray(relationshipHash.data)) {\n        var ret = new Array(relationshipHash.data.length);\n        for (var i = 0; i < relationshipHash.data.length; i++) {\n          var data = relationshipHash.data[i];\n          ret[i] = this._normalizeRelationshipDataHelper(data);\n        }\n        relationshipHash.data = ret;\n      }\n      return relationshipHash;\n    },\n    /**\n       Returns the resource's relationships formatted as a JSON-API \"relationships object\".\n        http://jsonapi.org/format/#document-resource-object-relationships\n        @method extractRelationships\n      @public\n       @param {Object} modelClass\n       @param {Object} resourceHash\n       @return {Object}\n    */\n    extractRelationships(modelClass, resourceHash) {\n      var relationships = {};\n      if (resourceHash.relationships) {\n        modelClass.eachRelationship((key, relationshipMeta) => {\n          var relationshipKey = this.keyForRelationship(key, relationshipMeta.kind, 'deserialize');\n          if (resourceHash.relationships[relationshipKey] !== undefined) {\n            var relationshipHash = resourceHash.relationships[relationshipKey];\n            relationships[key] = this.extractRelationship(relationshipHash);\n          }\n          if (true /* DEBUG */) {\n            if (resourceHash.relationships[relationshipKey] === undefined && resourceHash.relationships[key] !== undefined) {\n              (true && !(false) && (0, _debug.assert)(`Your payload for '${modelClass.modelName}' contains '${key}', but your serializer is setup to look for '${relationshipKey}'. This is most likely because Ember Data's JSON API serializer dasherizes relationship keys by default. You should subclass JSONAPISerializer and implement 'keyForRelationship(key) { return key; }' to prevent Ember Data from customizing your relationship keys.`, false));\n            }\n          }\n        });\n      }\n      return relationships;\n    },\n    /**\n      @method _extractType\n      @param {Model} modelClass\n      @param {Object} resourceHash\n      @return {String}\n      @private\n    */\n    _extractType(modelClass, resourceHash) {\n      return this.modelNameFromPayloadKey(resourceHash.type);\n    },\n    /**\n      Dasherizes and singularizes the model name in the payload to match\n      the format Ember Data uses internally for the model name.\n       For example the key `posts` would be converted to `post` and the\n      key `studentAssesments` would be converted to `student-assesment`.\n       @method modelNameFromPayloadKey\n      @public\n      @param {String} key\n      @return {String} the model's modelName\n    */\n    modelNameFromPayloadKey(key) {\n      return (0, _emberInflector.singularize)((0, _store.normalizeModelName)(key));\n    },\n    /**\n      Converts the model name to a pluralized version of the model name.\n       For example `post` would be converted to `posts` and\n      `student-assesment` would be converted to `student-assesments`.\n       @method payloadKeyFromModelName\n      @public\n      @param {String} modelName\n      @return {String}\n    */\n    // TODO @deprecated Use payloadTypeFromModelName instead\n    payloadKeyFromModelName(modelName) {\n      return (0, _emberInflector.pluralize)(modelName);\n    },\n    normalize(modelClass, resourceHash) {\n      if (resourceHash.attributes) {\n        this.normalizeUsingDeclaredMapping(modelClass, resourceHash.attributes);\n      }\n      if (resourceHash.relationships) {\n        this.normalizeUsingDeclaredMapping(modelClass, resourceHash.relationships);\n      }\n      var data = {\n        id: this.extractId(modelClass, resourceHash),\n        type: this._extractType(modelClass, resourceHash),\n        attributes: this.extractAttributes(modelClass, resourceHash),\n        relationships: this.extractRelationships(modelClass, resourceHash)\n      };\n      this.applyTransforms(modelClass, data.attributes);\n      return {\n        data\n      };\n    },\n    /**\n      `keyForAttribute` can be used to define rules for how to convert an\n      attribute name in your model to a key in your JSON.\n      By default `JSONAPISerializer` follows the format used on the examples of\n      http://jsonapi.org/format and uses dashes as the word separator in the JSON\n      attribute keys.\n       This behaviour can be easily customized by extending this method.\n       Example\n       ```app/serializers/application.js\n      import JSONAPISerializer from '@ember-data/serializer/json-api';\n      import { dasherize } from '@ember/string';\n       export default class ApplicationSerializer extends JSONAPISerializer {\n        keyForAttribute(attr, method) {\n          return dasherize(attr).toUpperCase();\n        }\n      }\n      ```\n       @method keyForAttribute\n      @public\n      @param {String} key\n      @param {String} method\n      @return {String} normalized key\n    */\n    keyForAttribute(key, method) {\n      return (0, _string.dasherize)(key);\n    },\n    /**\n     `keyForRelationship` can be used to define a custom key when\n     serializing and deserializing relationship properties.\n     By default `JSONAPISerializer` follows the format used on the examples of\n     http://jsonapi.org/format and uses dashes as word separators in\n     relationship properties.\n      This behaviour can be easily customized by extending this method.\n      Example\n       ```app/serializers/post.js\n      import JSONAPISerializer from '@ember-data/serializer/json-api';\n      import { underscore } from '@ember/string';\n       export default class ApplicationSerializer extends JSONAPISerializer {\n        keyForRelationship(key, relationship, method) {\n          return underscore(key);\n        }\n      }\n      ```\n     @method keyForRelationship\n      @public\n     @param {String} key\n     @param {String} typeClass\n     @param {String} method\n     @return {String} normalized key\n    */\n    keyForRelationship(key, typeClass, method) {\n      return (0, _string.dasherize)(key);\n    },\n    /**\n      Called when a record is saved in order to convert the\n      record into JSON.\n       For example, consider this model:\n       ```app/models/comment.js\n      import Model, { attr, belongsTo } from '@ember-data/model';\n       export default class CommentModel extends Model {\n        @attr title;\n        @attr body;\n         @belongsTo('user', { async: false, inverse: null })\n        author;\n      }\n      ```\n       The default serialization would create a JSON-API resource object like:\n       ```javascript\n      {\n        \"data\": {\n          \"type\": \"comments\",\n          \"attributes\": {\n            \"title\": \"Rails is unagi\",\n            \"body\": \"Rails? Omakase? O_O\",\n          },\n          \"relationships\": {\n            \"author\": {\n              \"data\": {\n                \"id\": \"12\",\n                \"type\": \"users\"\n              }\n            }\n          }\n        }\n      }\n      ```\n       By default, attributes are passed through as-is, unless\n      you specified an attribute type (`attr('date')`). If\n      you specify a transform, the JavaScript value will be\n      serialized when inserted into the attributes hash.\n       Belongs-to relationships are converted into JSON-API\n      resource identifier objects.\n       ## IDs\n       `serialize` takes an options hash with a single option:\n      `includeId`. If this option is `true`, `serialize` will,\n      by default include the ID in the JSON object it builds.\n       The JSONAPIAdapter passes in `includeId: true` when serializing a record\n      for `createRecord` or `updateRecord`.\n       ## Customization\n       Your server may expect data in a different format than the\n      built-in serialization format.\n       In that case, you can implement `serialize` yourself and\n      return data formatted to match your API's expectations, or override\n      the invoked adapter method and do the serialization in the adapter directly\n      by using the provided snapshot.\n      \n      If your API's format differs greatly from the JSON:API spec, you should\n      consider authoring your own adapter and serializer instead of extending\n      this class.\n       ```app/serializers/post.js\n      import JSONAPISerializer from '@ember-data/serializer/json-api';\n       export default class PostSerializer extends JSONAPISerializer {\n        serialize(snapshot, options) {\n          let json = {\n            POST_TTL: snapshot.attr('title'),\n            POST_BDY: snapshot.attr('body'),\n            POST_CMS: snapshot.hasMany('comments', { ids: true })\n          };\n           if (options.includeId) {\n            json.POST_ID_ = snapshot.id;\n          }\n           return json;\n        }\n      }\n      ```\n       ## Customizing an App-Wide Serializer\n       If you want to define a serializer for your entire\n      application, you'll probably want to use `eachAttribute`\n      and `eachRelationship` on the record.\n       ```app/serializers/application.js\n      import JSONAPISerializer from '@ember-data/serializer/json-api';\n      import { singularize } from 'ember-inflector';\n      import { underscore } from '@ember/string';\n       export default class ApplicationSerializer extends JSONAPISerializer {\n        serialize(snapshot, options) {\n          let json = {};\n           snapshot.eachAttribute((name) => {\n            json[serverAttributeName(name)] = snapshot.attr(name);\n          });\n           snapshot.eachRelationship((name, relationship) => {\n            if (relationship.kind === 'hasMany') {\n              json[serverHasManyName(name)] = snapshot.hasMany(name, { ids: true });\n            }\n          });\n           if (options.includeId) {\n            json.ID_ = snapshot.id;\n          }\n           return json;\n        }\n      }\n       function serverAttributeName(attribute) {\n        return underscore(attribute).toUpperCase();\n      }\n       function serverHasManyName(name) {\n        return serverAttributeName(singularize(name)) + '_IDS';\n      }\n      ```\n       This serializer will generate JSON that looks like this:\n       ```javascript\n      {\n        \"TITLE\": \"Rails is omakase\",\n        \"BODY\": \"Yep. Omakase.\",\n        \"COMMENT_IDS\": [ \"1\", \"2\", \"3\" ]\n      }\n      ```\n       ## Tweaking the Default Formatting\n       If you just want to do some small tweaks on the default JSON:API formatted response,\n      you can call `super.serialize` first and make the tweaks\n      on the returned object.\n       ```app/serializers/post.js\n      import JSONAPISerializer from '@ember-data/serializer/json-api';\n       export default class PostSerializer extends JSONAPISerializer {\n        serialize(snapshot, options) {\n          let json = super.serialize(...arguments);\n           json.data.attributes.subject = json.data.attributes.title;\n          delete json.data.attributes.title;\n           return json;\n        }\n      }\n      ```\n       @method serialize\n      @public\n      @param {Snapshot} snapshot\n      @param {Object} options\n      @return {Object} json\n    */\n    serialize(snapshot, options) {\n      var data = this._super(...arguments);\n      data.type = this.payloadKeyFromModelName(snapshot.modelName);\n      return {\n        data\n      };\n    },\n    serializeAttribute(snapshot, json, key, attribute) {\n      var type = attribute.type;\n      if (this._canSerialize(key)) {\n        json.attributes = json.attributes || {};\n        var value = snapshot.attr(key);\n        if (type) {\n          var transform = this.transformFor(type);\n          value = transform.serialize(value, attribute.options);\n        }\n        var payloadKey = this._getMappedKey(key, snapshot.type);\n        if (payloadKey === key) {\n          payloadKey = this.keyForAttribute(key, 'serialize');\n        }\n        json.attributes[payloadKey] = value;\n      }\n    },\n    serializeBelongsTo(snapshot, json, relationship) {\n      var key = relationship.key;\n      if (this._canSerialize(key)) {\n        var belongsTo = snapshot.belongsTo(key);\n        var belongsToIsNotNew;\n        if (true /* CUSTOM_MODEL_CLASS */) {\n          belongsToIsNotNew = belongsTo && !belongsTo.isNew;\n        } else {\n          belongsToIsNotNew = belongsTo && belongsTo.record && !belongsTo.record.get('isNew');\n        }\n        if (belongsTo === null || belongsToIsNotNew) {\n          json.relationships = json.relationships || {};\n          var payloadKey = this._getMappedKey(key, snapshot.type);\n          if (payloadKey === key) {\n            payloadKey = this.keyForRelationship(key, 'belongsTo', 'serialize');\n          }\n          var data = null;\n          if (belongsTo) {\n            var payloadType = this.payloadKeyFromModelName(belongsTo.modelName);\n            data = {\n              type: payloadType,\n              id: belongsTo.id\n            };\n          }\n          json.relationships[payloadKey] = {\n            data\n          };\n        }\n      }\n    },\n    serializeHasMany(snapshot, json, relationship) {\n      var key = relationship.key;\n      if (this.shouldSerializeHasMany(snapshot, key, relationship)) {\n        var hasMany = snapshot.hasMany(key);\n        if (hasMany !== undefined) {\n          json.relationships = json.relationships || {};\n          var payloadKey = this._getMappedKey(key, snapshot.type);\n          if (payloadKey === key && this.keyForRelationship) {\n            payloadKey = this.keyForRelationship(key, 'hasMany', 'serialize');\n          }\n\n          // only serialize has many relationships that are not new\n          var nonNewHasMany = hasMany.filter(item => item.record && !item.record.get('isNew'));\n          var data = new Array(nonNewHasMany.length);\n          for (var i = 0; i < nonNewHasMany.length; i++) {\n            var item = hasMany[i];\n            var payloadType = this.payloadKeyFromModelName(item.modelName);\n            data[i] = {\n              type: payloadType,\n              id: item.id\n            };\n          }\n          json.relationships[payloadKey] = {\n            data\n          };\n        }\n      }\n    }\n  });\n  if (true /* DEBUG */) {\n    JSONAPISerializer.reopen({\n      init(...args) {\n        this._super(...args);\n        (true && !(!this.isEmbeddedRecordsMixin || this.isEmbeddedRecordsMixinCompatible === true) && (0, _debug.assert)(`You've used the EmbeddedRecordsMixin in ${this.toString()} which is not fully compatible with the JSON:API specification. Please confirm that this works for your specific API and add \\`this.isEmbeddedRecordsMixinCompatible = true\\` to your serializer.`, !this.isEmbeddedRecordsMixin || this.isEmbeddedRecordsMixinCompatible === true, {\n          id: 'ds.serializer.embedded-records-mixin-not-supported'\n        }));\n        var constructor = this.constructor;\n        (true && (0, _debug.warn)(`You've defined 'extractMeta' in ${constructor.toString()} which is not used for serializers extending JSONAPISerializer. Read more at https://api.emberjs.com/ember-data/release/classes/JSONAPISerializer on how to customize meta when using JSON API.`, this.extractMeta === _json.default.prototype.extractMeta, {\n          id: 'ds.serializer.json-api.extractMeta'\n        }));\n      },\n      warnMessageForUndefinedType() {\n        return 'Encountered a resource object with an undefined type (resolved resource using ' + this.constructor.toString() + ')';\n      },\n      warnMessageNoModelForType(modelName, originalType, usedLookup) {\n        return `Encountered a resource object with type \"${originalType}\", but no model was found for model name \"${modelName}\" (resolved model name using '${this.constructor.toString()}.${usedLookup}(\"${originalType}\")').`;\n      }\n    });\n  }\n  var _default = _exports.default = JSONAPISerializer;\n});","define(\"@ember-data/serializer/json\", [\"exports\", \"@ember/application\", \"@ember/debug\", \"@ember/object\", \"@ember/polyfills\", \"@ember/utils\", \"@ember-data/serializer\", \"@ember-data/store\", \"@ember-data/store/-private\", \"@ember-data/serializer/-private\"], function (_exports, _application, _debug, _object, _polyfills, _utils, _serializer, _store, _private, _private2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * @module @ember-data/serializer/json\n   */\n\n  /**\n    Ember Data 2.0 Serializer:\n  \n    In Ember Data a Serializer is used to serialize and deserialize\n    records when they are transferred in and out of an external source.\n    This process involves normalizing property names, transforming\n    attribute values and serializing relationships.\n  \n    By default, Ember Data uses and recommends the `JSONAPISerializer`.\n  \n    `JSONSerializer` is useful for simpler or legacy backends that may\n    not support the http://jsonapi.org/ spec.\n  \n    For example, given the following `User` model and JSON payload:\n  \n    ```app/models/user.js\n    import Model, { attr, belongsTo, hasMany } from '@ember-data/model';\n  \n    export default class UserModel extends Model {\n      @hasMany('user') friends;\n      @belongsTo('location') house;\n  \n      @attr('string') name;\n    }\n    ```\n  \n    ```js\n    {\n      id: 1,\n      name: 'Sebastian',\n      friends: [3, 4],\n      links: {\n        house: '/houses/lefkada'\n      }\n    }\n    ```\n  \n    `JSONSerializer` will normalize the JSON payload to the JSON API format that the\n    Ember Data store expects.\n  \n    You can customize how JSONSerializer processes its payload by passing options in\n    the `attrs` hash or by subclassing the `JSONSerializer` and overriding hooks:\n  \n      - To customize how a single record is normalized, use the `normalize` hook.\n      - To customize how `JSONSerializer` normalizes the whole server response, use the\n        `normalizeResponse` hook.\n      - To customize how `JSONSerializer` normalizes a specific response from the server,\n        use one of the many specific `normalizeResponse` hooks.\n      - To customize how `JSONSerializer` normalizes your id, attributes or relationships,\n        use the `extractId`, `extractAttributes` and `extractRelationships` hooks.\n  \n    The `JSONSerializer` normalization process follows these steps:\n  \n      1. `normalizeResponse`\n          - entry method to the serializer.\n      2. `normalizeCreateRecordResponse`\n          - a `normalizeResponse` for a specific operation is called.\n      3. `normalizeSingleResponse`|`normalizeArrayResponse`\n          - for methods like `createRecord` we expect a single record back, while for methods like `findAll` we expect multiple records back.\n      4. `normalize`\n          - `normalizeArrayResponse` iterates and calls `normalize` for each of its records while `normalizeSingle`\n            calls it once. This is the method you most likely want to subclass.\n      5. `extractId` | `extractAttributes` | `extractRelationships`\n          - `normalize` delegates to these methods to\n            turn the record payload into the JSON API format.\n  \n    @main @ember-data/serializer/json\n    @class JSONSerializer\n    @public\n    @extends Serializer\n  */\n  var JSONSerializer = _serializer.default.extend({\n    /**\n      The `primaryKey` is used when serializing and deserializing\n      data. Ember Data always uses the `id` property to store the id of\n      the record. The external source may not always follow this\n      convention. In these cases it is useful to override the\n      `primaryKey` property to match the `primaryKey` of your external\n      store.\n       Example\n       ```app/serializers/application.js\n      import JSONSerializer from '@ember-data/serializer/json';\n       export default class ApplicationSerializer extends JSONSerializer {\n        primaryKey = '_id'\n      }\n      ```\n       @property primaryKey\n      @type {String}\n      @public\n      @default 'id'\n    */\n    primaryKey: 'id',\n    /**\n      The `attrs` object can be used to declare a simple mapping between\n      property names on `Model` records and payload keys in the\n      serialized JSON object representing the record. An object with the\n      property `key` can also be used to designate the attribute's key on\n      the response payload.\n       Example\n       ```app/models/person.js\n      import Model, { attr } from '@ember-data/model';\n       export default class PersonModel extends Model {\n        @attr('string') firstName;\n        @attr('string') lastName;\n        @attr('string') occupation;\n        @attr('boolean') admin;\n      }\n      ```\n       ```app/serializers/person.js\n      import JSONSerializer from '@ember-data/serializer/json';\n       export default class PersonSerializer extends JSONSerializer {\n        attrs = {\n          admin: 'is_admin',\n          occupation: { key: 'career' }\n        }\n      }\n      ```\n       You can also remove attributes and relationships by setting the `serialize`\n      key to `false` in your mapping object.\n       Example\n       ```app/serializers/person.js\n      import JSONSerializer from '@ember-data/serializer/json';\n       export default class PostSerializer extends JSONSerializer {\n        attrs = {\n          admin: { serialize: false },\n          occupation: { key: 'career' }\n        }\n      }\n      ```\n       When serialized:\n       ```javascript\n      {\n        \"firstName\": \"Harry\",\n        \"lastName\": \"Houdini\",\n        \"career\": \"magician\"\n      }\n      ```\n       Note that the `admin` is now not included in the payload.\n       Setting `serialize` to `true` enforces serialization for hasMany\n      relationships even if it's neither a many-to-many nor many-to-none\n      relationship.\n       @property attrs\n      @public\n      @type {Object}\n    */\n    mergedProperties: ['attrs'],\n    /**\n     Given a subclass of `Model` and a JSON object this method will\n     iterate through each attribute of the `Model` and invoke the\n     `Transform#deserialize` method on the matching property of the\n     JSON object.  This method is typically called after the\n     serializer's `normalize` method.\n      @method applyTransforms\n     @private\n     @param {Model} typeClass\n     @param {Object} data The data to transform\n     @return {Object} data The transformed data object\n    */\n    applyTransforms(typeClass, data) {\n      var attributes = (0, _object.get)(typeClass, 'attributes');\n      typeClass.eachTransformedAttribute((key, typeClass) => {\n        if (data[key] === undefined) {\n          return;\n        }\n        var transform = this.transformFor(typeClass);\n        var transformMeta = attributes.get(key);\n        data[key] = transform.deserialize(data[key], transformMeta.options);\n      });\n      return data;\n    },\n    /**\n      The `normalizeResponse` method is used to normalize a payload from the\n      server to a JSON-API Document.\n       http://jsonapi.org/format/#document-structure\n       This method delegates to a more specific normalize method based on\n      the `requestType`.\n       To override this method with a custom one, make sure to call\n      `return this._super(store, primaryModelClass, payload, id, requestType)` with your\n      pre-processed data.\n       Here's an example of using `normalizeResponse` manually:\n       ```javascript\n      socket.on('message', function(message) {\n        let data = message.data;\n        let modelClass = store.modelFor(data.modelName);\n        let serializer = store.serializerFor(data.modelName);\n        let normalized = serializer.normalizeSingleResponse(store, modelClass, data, data.id);\n         store.push(normalized);\n      });\n      ```\n       @since 1.13.0\n      @method normalizeResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeResponse(store, primaryModelClass, payload, id, requestType) {\n      switch (requestType) {\n        case 'findRecord':\n          return this.normalizeFindRecordResponse(...arguments);\n        case 'queryRecord':\n          return this.normalizeQueryRecordResponse(...arguments);\n        case 'findAll':\n          return this.normalizeFindAllResponse(...arguments);\n        case 'findBelongsTo':\n          return this.normalizeFindBelongsToResponse(...arguments);\n        case 'findHasMany':\n          return this.normalizeFindHasManyResponse(...arguments);\n        case 'findMany':\n          return this.normalizeFindManyResponse(...arguments);\n        case 'query':\n          return this.normalizeQueryResponse(...arguments);\n        case 'createRecord':\n          return this.normalizeCreateRecordResponse(...arguments);\n        case 'deleteRecord':\n          return this.normalizeDeleteRecordResponse(...arguments);\n        case 'updateRecord':\n          return this.normalizeUpdateRecordResponse(...arguments);\n      }\n    },\n    /**\n      Called by the default normalizeResponse implementation when the\n      type of request is `findRecord`\n       @since 1.13.0\n      @method normalizeFindRecordResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeFindRecordResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSingleResponse(...arguments);\n    },\n    /**\n      Called by the default normalizeResponse implementation when the\n      type of request is `queryRecord`\n       @since 1.13.0\n      @method normalizeQueryRecordResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeQueryRecordResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSingleResponse(...arguments);\n    },\n    /**\n      Called by the default normalizeResponse implementation when the\n      type of request is `findAll`\n       @since 1.13.0\n      @method normalizeFindAllResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeFindAllResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeArrayResponse(...arguments);\n    },\n    /**\n      Called by the default normalizeResponse implementation when the\n      type of request is `findBelongsTo`\n       @since 1.13.0\n      @method normalizeFindBelongsToResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeFindBelongsToResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSingleResponse(...arguments);\n    },\n    /**\n      Called by the default normalizeResponse implementation when the\n      type of request is `findHasMany`\n       @since 1.13.0\n      @method normalizeFindHasManyResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeFindHasManyResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeArrayResponse(...arguments);\n    },\n    /**\n      Called by the default normalizeResponse implementation when the\n      type of request is `findMany`\n       @since 1.13.0\n      @method normalizeFindManyResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeFindManyResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeArrayResponse(...arguments);\n    },\n    /**\n      Called by the default normalizeResponse implementation when the\n      type of request is `query`\n       @since 1.13.0\n      @method normalizeQueryResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeQueryResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeArrayResponse(...arguments);\n    },\n    /**\n      Called by the default normalizeResponse implementation when the\n      type of request is `createRecord`\n       @since 1.13.0\n      @method normalizeCreateRecordResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeCreateRecordResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSaveResponse(...arguments);\n    },\n    /**\n      Called by the default normalizeResponse implementation when the\n      type of request is `deleteRecord`\n       @since 1.13.0\n      @method normalizeDeleteRecordResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeDeleteRecordResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSaveResponse(...arguments);\n    },\n    /**\n      Called by the default normalizeResponse implementation when the\n      type of request is `updateRecord`\n       @since 1.13.0\n      @method normalizeUpdateRecordResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeUpdateRecordResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSaveResponse(...arguments);\n    },\n    /**\n      normalizeUpdateRecordResponse, normalizeCreateRecordResponse and\n      normalizeDeleteRecordResponse delegate to this method by default.\n       @since 1.13.0\n      @method normalizeSaveResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeSaveResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSingleResponse(...arguments);\n    },\n    /**\n      normalizeQueryResponse and normalizeFindRecordResponse delegate to this\n      method by default.\n       @since 1.13.0\n      @method normalizeSingleResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeSingleResponse(store, primaryModelClass, payload, id, requestType) {\n      return this._normalizeResponse(store, primaryModelClass, payload, id, requestType, true);\n    },\n    /**\n      normalizeQueryResponse, normalizeFindManyResponse, and normalizeFindHasManyResponse delegate\n      to this method by default.\n       @since 1.13.0\n      @method normalizeArrayResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeArrayResponse(store, primaryModelClass, payload, id, requestType) {\n      return this._normalizeResponse(store, primaryModelClass, payload, id, requestType, false);\n    },\n    /**\n      @method _normalizeResponse\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @param {Boolean} isSingle\n      @return {Object} JSON-API Document\n      @private\n    */\n    _normalizeResponse(store, primaryModelClass, payload, id, requestType, isSingle) {\n      var documentHash = {\n        data: null,\n        included: []\n      };\n      var meta = this.extractMeta(store, primaryModelClass, payload);\n      if (meta) {\n        (true && !((0, _utils.typeOf)(meta) === 'object') && (0, _debug.assert)('The `meta` returned from `extractMeta` has to be an object, not \"' + (0, _utils.typeOf)(meta) + '\".', (0, _utils.typeOf)(meta) === 'object'));\n        documentHash.meta = meta;\n      }\n      if (isSingle) {\n        var {\n          data,\n          included\n        } = this.normalize(primaryModelClass, payload);\n        documentHash.data = data;\n        if (included) {\n          documentHash.included = included;\n        }\n      } else {\n        var ret = new Array(payload.length);\n        for (var i = 0, l = payload.length; i < l; i++) {\n          var item = payload[i];\n          var {\n            data: _data,\n            included: _included\n          } = this.normalize(primaryModelClass, item);\n          if (_included) {\n            documentHash.included.push(..._included);\n          }\n          ret[i] = _data;\n        }\n        documentHash.data = ret;\n      }\n      return documentHash;\n    },\n    /**\n      Normalizes a part of the JSON payload returned by\n      the server. You should override this method, munge the hash\n      and call super if you have generic normalization to do.\n       It takes the type of the record that is being normalized\n      (as a Model class), the property where the hash was\n      originally found, and the hash to normalize.\n       You can use this method, for example, to normalize underscored keys to camelized\n      or other general-purpose normalizations.\n       Example\n       ```app/serializers/application.js\n      import JSONSerializer from '@ember-data/serializer/json';\n      import { underscore } from '@ember/string';\n      import { get } from '@ember/object';\n       export default class ApplicationSerializer extends JSONSerializer {\n        normalize(typeClass, hash) {\n          let fields = get(typeClass, 'fields');\n           fields.forEach(function(type, field) {\n            let payloadField = underscore(field);\n            if (field === payloadField) { return; }\n             hash[field] = hash[payloadField];\n            delete hash[payloadField];\n          });\n           return this._super.apply(this, arguments);\n        }\n      }\n      ```\n       @method normalize\n      @public\n      @param {Model} typeClass\n      @param {Object} hash\n      @return {Object}\n    */\n    normalize(modelClass, resourceHash) {\n      var data = null;\n      if (resourceHash) {\n        this.normalizeUsingDeclaredMapping(modelClass, resourceHash);\n        if ((0, _utils.typeOf)(resourceHash.links) === 'object') {\n          this.normalizeUsingDeclaredMapping(modelClass, resourceHash.links);\n        }\n        data = {\n          id: this.extractId(modelClass, resourceHash),\n          type: modelClass.modelName,\n          attributes: this.extractAttributes(modelClass, resourceHash),\n          relationships: this.extractRelationships(modelClass, resourceHash)\n        };\n        this.applyTransforms(modelClass, data.attributes);\n      }\n      return {\n        data\n      };\n    },\n    /**\n      Returns the resource's ID.\n       @method extractId\n      @public\n      @param {Object} modelClass\n      @param {Object} resourceHash\n      @return {String}\n    */\n    extractId(modelClass, resourceHash) {\n      var primaryKey = (0, _object.get)(this, 'primaryKey');\n      var id = resourceHash[primaryKey];\n      return (0, _private.coerceId)(id);\n    },\n    /**\n      Returns the resource's attributes formatted as a JSON-API \"attributes object\".\n       http://jsonapi.org/format/#document-resource-object-attributes\n       @method extractAttributes\n      @public\n      @param {Object} modelClass\n      @param {Object} resourceHash\n      @return {Object}\n    */\n    extractAttributes(modelClass, resourceHash) {\n      var attributeKey;\n      var attributes = {};\n      modelClass.eachAttribute(key => {\n        attributeKey = this.keyForAttribute(key, 'deserialize');\n        if (resourceHash[attributeKey] !== undefined) {\n          attributes[key] = resourceHash[attributeKey];\n        }\n      });\n      return attributes;\n    },\n    /**\n      Returns a relationship formatted as a JSON-API \"relationship object\".\n       http://jsonapi.org/format/#document-resource-object-relationships\n       @method extractRelationship\n      @public\n      @param {Object} relationshipModelName\n      @param {Object} relationshipHash\n      @return {Object}\n    */\n    extractRelationship(relationshipModelName, relationshipHash) {\n      if ((0, _utils.isNone)(relationshipHash)) {\n        return null;\n      }\n      /*\n        When `relationshipHash` is an object it usually means that the relationship\n        is polymorphic. It could however also be embedded resources that the\n        EmbeddedRecordsMixin has be able to process.\n      */\n      if ((0, _utils.typeOf)(relationshipHash) === 'object') {\n        if (relationshipHash.id) {\n          relationshipHash.id = (0, _private.coerceId)(relationshipHash.id);\n        }\n        var modelClass = this.store.modelFor(relationshipModelName);\n        if (relationshipHash.type && !(0, _private2.modelHasAttributeOrRelationshipNamedType)(modelClass)) {\n          relationshipHash.type = this.modelNameFromPayloadKey(relationshipHash.type);\n        }\n        return relationshipHash;\n      }\n      return {\n        id: (0, _private.coerceId)(relationshipHash),\n        type: relationshipModelName\n      };\n    },\n    /**\n      Returns a polymorphic relationship formatted as a JSON-API \"relationship object\".\n       http://jsonapi.org/format/#document-resource-object-relationships\n       `relationshipOptions` is a hash which contains more information about the\n      polymorphic relationship which should be extracted:\n        - `resourceHash` complete hash of the resource the relationship should be\n          extracted from\n        - `relationshipKey` key under which the value for the relationship is\n          extracted from the resourceHash\n        - `relationshipMeta` meta information about the relationship\n       @method extractPolymorphicRelationship\n      @public\n      @param {Object} relationshipModelName\n      @param {Object} relationshipHash\n      @param {Object} relationshipOptions\n      @return {Object}\n    */\n    extractPolymorphicRelationship(relationshipModelName, relationshipHash, relationshipOptions) {\n      return this.extractRelationship(relationshipModelName, relationshipHash);\n    },\n    /**\n      Returns the resource's relationships formatted as a JSON-API \"relationships object\".\n       http://jsonapi.org/format/#document-resource-object-relationships\n       @method extractRelationships\n      @public\n      @param {Object} modelClass\n      @param {Object} resourceHash\n      @return {Object}\n    */\n    extractRelationships(modelClass, resourceHash) {\n      var relationships = {};\n      modelClass.eachRelationship((key, relationshipMeta) => {\n        var relationship = null;\n        var relationshipKey = this.keyForRelationship(key, relationshipMeta.kind, 'deserialize');\n        if (resourceHash[relationshipKey] !== undefined) {\n          var data = null;\n          var relationshipHash = resourceHash[relationshipKey];\n          if (relationshipMeta.kind === 'belongsTo') {\n            if (relationshipMeta.options.polymorphic) {\n              // extracting a polymorphic belongsTo may need more information\n              // than the type and the hash (which might only be an id) for the\n              // relationship, hence we pass the key, resource and\n              // relationshipMeta too\n              data = this.extractPolymorphicRelationship(relationshipMeta.type, relationshipHash, {\n                key,\n                resourceHash,\n                relationshipMeta\n              });\n            } else {\n              data = this.extractRelationship(relationshipMeta.type, relationshipHash);\n            }\n          } else if (relationshipMeta.kind === 'hasMany') {\n            if (!(0, _utils.isNone)(relationshipHash)) {\n              data = new Array(relationshipHash.length);\n              if (relationshipMeta.options.polymorphic) {\n                for (var i = 0, l = relationshipHash.length; i < l; i++) {\n                  var item = relationshipHash[i];\n                  data[i] = this.extractPolymorphicRelationship(relationshipMeta.type, item, {\n                    key,\n                    resourceHash,\n                    relationshipMeta\n                  });\n                }\n              } else {\n                for (var _i = 0, _l = relationshipHash.length; _i < _l; _i++) {\n                  var _item = relationshipHash[_i];\n                  data[_i] = this.extractRelationship(relationshipMeta.type, _item);\n                }\n              }\n            }\n          }\n          relationship = {\n            data\n          };\n        }\n        var linkKey = this.keyForLink(key, relationshipMeta.kind);\n        if (resourceHash.links && resourceHash.links[linkKey] !== undefined) {\n          var related = resourceHash.links[linkKey];\n          relationship = relationship || {};\n          relationship.links = {\n            related\n          };\n        }\n        if (relationship) {\n          relationships[key] = relationship;\n        }\n      });\n      return relationships;\n    },\n    /**\n      Dasherizes the model name in the payload\n       @method modelNameFromPayloadKey\n      @public\n      @param {String} key\n      @return {String} the model's modelName\n    */\n    modelNameFromPayloadKey(key) {\n      return (0, _store.normalizeModelName)(key);\n    },\n    /**\n      @method normalizeRelationships\n      @private\n    */\n    normalizeRelationships(typeClass, hash) {\n      var payloadKey;\n      if (this.keyForRelationship) {\n        typeClass.eachRelationship((key, relationship) => {\n          payloadKey = this.keyForRelationship(key, relationship.kind, 'deserialize');\n          if (key === payloadKey) {\n            return;\n          }\n          if (hash[payloadKey] === undefined) {\n            return;\n          }\n          hash[key] = hash[payloadKey];\n          delete hash[payloadKey];\n        });\n      }\n    },\n    /**\n      @method normalizeUsingDeclaredMapping\n      @private\n    */\n    normalizeUsingDeclaredMapping(modelClass, hash) {\n      var attrs = (0, _object.get)(this, 'attrs');\n      var normalizedKey;\n      var payloadKey;\n      if (attrs) {\n        for (var key in attrs) {\n          normalizedKey = payloadKey = this._getMappedKey(key, modelClass);\n          if (hash[payloadKey] === undefined) {\n            continue;\n          }\n          if ((0, _object.get)(modelClass, 'attributes').has(key)) {\n            normalizedKey = this.keyForAttribute(key);\n          }\n          if ((0, _object.get)(modelClass, 'relationshipsByName').has(key)) {\n            normalizedKey = this.keyForRelationship(key);\n          }\n          if (payloadKey !== normalizedKey) {\n            hash[normalizedKey] = hash[payloadKey];\n            delete hash[payloadKey];\n          }\n        }\n      }\n    },\n    /**\n      Looks up the property key that was set by the custom `attr` mapping\n      passed to the serializer.\n       @method _getMappedKey\n      @private\n      @param {String} key\n      @return {String} key\n    */\n    _getMappedKey(key, modelClass) {\n      (true && (0, _debug.warn)('There is no attribute or relationship with the name `' + key + '` on `' + modelClass.modelName + '`. Check your serializers attrs hash.', (0, _object.get)(modelClass, 'attributes').has(key) || (0, _object.get)(modelClass, 'relationshipsByName').has(key), {\n        id: 'ds.serializer.no-mapped-attrs-key'\n      }));\n      var attrs = (0, _object.get)(this, 'attrs');\n      var mappedKey;\n      if (attrs && attrs[key]) {\n        mappedKey = attrs[key];\n        //We need to account for both the { title: 'post_title' } and\n        //{ title: { key: 'post_title' }} forms\n        if (mappedKey.key) {\n          mappedKey = mappedKey.key;\n        }\n        if (typeof mappedKey === 'string') {\n          key = mappedKey;\n        }\n      }\n      return key;\n    },\n    /**\n      Check attrs.key.serialize property to inform if the `key`\n      can be serialized\n       @method _canSerialize\n      @private\n      @param {String} key\n      @return {boolean} true if the key can be serialized\n    */\n    _canSerialize(key) {\n      var attrs = (0, _object.get)(this, 'attrs');\n      return !attrs || !attrs[key] || attrs[key].serialize !== false;\n    },\n    /**\n      When attrs.key.serialize is set to true then\n      it takes priority over the other checks and the related\n      attribute/relationship will be serialized\n       @method _mustSerialize\n      @private\n      @param {String} key\n      @return {boolean} true if the key must be serialized\n    */\n    _mustSerialize(key) {\n      var attrs = (0, _object.get)(this, 'attrs');\n      return attrs && attrs[key] && attrs[key].serialize === true;\n    },\n    /**\n      Check if the given hasMany relationship should be serialized\n       By default only many-to-many and many-to-none relationships are serialized.\n      This could be configured per relationship by Serializer's `attrs` object.\n       @method shouldSerializeHasMany\n      @public\n      @param {Snapshot} snapshot\n      @param {String} key\n      @param {String} relationshipType\n      @return {boolean} true if the hasMany relationship should be serialized\n    */\n    shouldSerializeHasMany(snapshot, key, relationship) {\n      var relationshipType = snapshot.type.determineRelationshipType(relationship, this.store);\n      if (this._mustSerialize(key)) {\n        return true;\n      }\n      return this._canSerialize(key) && (relationshipType === 'manyToNone' || relationshipType === 'manyToMany');\n    },\n    // SERIALIZE\n    /**\n      Called when a record is saved in order to convert the\n      record into JSON.\n       By default, it creates a JSON object with a key for\n      each attribute and belongsTo relationship.\n       For example, consider this model:\n       ```app/models/comment.js\n      import Model, { attr, belongsTo } from '@ember-data/model';\n       export default class CommentModel extends Model {\n        @attr title;\n        @attr body;\n         @belongsTo('user') author;\n      }\n      ```\n       The default serialization would create a JSON object like:\n       ```javascript\n      {\n        \"title\": \"Rails is unagi\",\n        \"body\": \"Rails? Omakase? O_O\",\n        \"author\": 12\n      }\n      ```\n       By default, attributes are passed through as-is, unless\n      you specified an attribute type (`attr('date')`). If\n      you specify a transform, the JavaScript value will be\n      serialized when inserted into the JSON hash.\n       By default, belongs-to relationships are converted into\n      IDs when inserted into the JSON hash.\n       ## IDs\n       `serialize` takes an options hash with a single option:\n      `includeId`. If this option is `true`, `serialize` will,\n      by default include the ID in the JSON object it builds.\n       The adapter passes in `includeId: true` when serializing\n      a record for `createRecord`, but not for `updateRecord`.\n       ## Customization\n       Your server may expect a different JSON format than the\n      built-in serialization format.\n       In that case, you can implement `serialize` yourself and\n      return a JSON hash of your choosing.\n       ```app/serializers/post.js\n      import JSONSerializer from '@ember-data/serializer/json';\n       export default class PostSerializer extends JSONSerializer {\n        serialize(snapshot, options) {\n          let json = {\n            POST_TTL: snapshot.attr('title'),\n            POST_BDY: snapshot.attr('body'),\n            POST_CMS: snapshot.hasMany('comments', { ids: true })\n          };\n           if (options.includeId) {\n            json.POST_ID_ = snapshot.id;\n          }\n           return json;\n        }\n      }\n      ```\n       ## Customizing an App-Wide Serializer\n       If you want to define a serializer for your entire\n      application, you'll probably want to use `eachAttribute`\n      and `eachRelationship` on the record.\n       ```app/serializers/application.js\n      import JSONSerializer from '@ember-data/serializer/json';\n      import { singularize } from 'ember-inflector';\n       export default class ApplicationSerializer extends JSONSerializer {\n        serialize(snapshot, options) {\n          let json = {};\n           snapshot.eachAttribute((name) => {\n            json[serverAttributeName(name)] = snapshot.attr(name);\n          });\n           snapshot.eachRelationship((name, relationship) => {\n            if (relationship.kind === 'hasMany') {\n              json[serverHasManyName(name)] = snapshot.hasMany(name, { ids: true });\n            }\n          });\n           if (options.includeId) {\n            json.ID_ = snapshot.id;\n          }\n           return json;\n        }\n      }\n       function serverAttributeName(attribute) {\n        return attribute.underscore().toUpperCase();\n      }\n       function serverHasManyName(name) {\n        return serverAttributeName(singularize(name)) + \"_IDS\";\n      }\n      ```\n       This serializer will generate JSON that looks like this:\n       ```javascript\n      {\n        \"TITLE\": \"Rails is omakase\",\n        \"BODY\": \"Yep. Omakase.\",\n        \"COMMENT_IDS\": [ \"1\", \"2\", \"3\" ]\n      }\n      ```\n       ## Tweaking the Default JSON\n       If you just want to do some small tweaks on the default JSON,\n      you can call `super.serialize` first and make the tweaks on\n      the returned JSON.\n       ```app/serializers/post.js\n      import JSONSerializer from '@ember-data/serializer/json';\n       export default class PostSerializer extends JSONSerializer {\n        serialize(snapshot, options) {\n          let json = super.serialize(...arguments);\n           json.subject = json.title;\n          delete json.title;\n           return json;\n        }\n      }\n      ```\n       @method serialize\n      @public\n      @param {Snapshot} snapshot\n      @param {Object} options\n      @return {Object} json\n    */\n    serialize(snapshot, options) {\n      var json = {};\n      if (options && options.includeId) {\n        var id = snapshot.id;\n        if (id) {\n          json[(0, _object.get)(this, 'primaryKey')] = id;\n        }\n      }\n      snapshot.eachAttribute((key, attribute) => {\n        this.serializeAttribute(snapshot, json, key, attribute);\n      });\n      snapshot.eachRelationship((key, relationship) => {\n        if (relationship.kind === 'belongsTo') {\n          this.serializeBelongsTo(snapshot, json, relationship);\n        } else if (relationship.kind === 'hasMany') {\n          this.serializeHasMany(snapshot, json, relationship);\n        }\n      });\n      return json;\n    },\n    /**\n      You can use this method to customize how a serialized record is added to the complete\n      JSON hash to be sent to the server. By default the JSON Serializer does not namespace\n      the payload and just sends the raw serialized JSON object.\n      If your server expects namespaced keys, you should consider using the RESTSerializer.\n      Otherwise you can override this method to customize how the record is added to the hash.\n      The hash property should be modified by reference.\n       For example, your server may expect underscored root objects.\n       ```app/serializers/application.js\n      import RESTSerializer from '@ember-data/serializer/rest';\n      import { decamelize } from '@ember/string';\n       export default class ApplicationSerializer extends RESTSerializer {\n        serializeIntoHash(data, type, snapshot, options) {\n          let root = decamelize(type.modelName);\n          data[root] = this.serialize(snapshot, options);\n        }\n      }\n      ```\n       @method serializeIntoHash\n      @public\n      @param {Object} hash\n      @param {Model} typeClass\n      @param {Snapshot} snapshot\n      @param {Object} options\n    */\n    serializeIntoHash(hash, typeClass, snapshot, options) {\n      (0, _polyfills.assign)(hash, this.serialize(snapshot, options));\n    },\n    /**\n      `serializeAttribute` can be used to customize how `attr`\n      properties are serialized\n       For example if you wanted to ensure all your attributes were always\n      serialized as properties on an `attributes` object you could\n      write:\n       ```app/serializers/application.js\n      import JSONSerializer from '@ember-data/serializer/json';\n       export default class ApplicationSerializer extends JSONSerializer {\n        serializeAttribute(snapshot, json, key, attributes) {\n          json.attributes = json.attributes || {};\n          this._super(snapshot, json.attributes, key, attributes);\n        }\n      }\n      ```\n       @method serializeAttribute\n      @public\n      @param {Snapshot} snapshot\n      @param {Object} json\n      @param {String} key\n      @param {Object} attribute\n    */\n    serializeAttribute(snapshot, json, key, attribute) {\n      if (this._canSerialize(key)) {\n        var type = attribute.type;\n        var value = snapshot.attr(key);\n        if (type) {\n          var transform = this.transformFor(type);\n          value = transform.serialize(value, attribute.options);\n        }\n\n        // if provided, use the mapping provided by `attrs` in\n        // the serializer\n        var payloadKey = this._getMappedKey(key, snapshot.type);\n        if (payloadKey === key && this.keyForAttribute) {\n          payloadKey = this.keyForAttribute(key, 'serialize');\n        }\n        json[payloadKey] = value;\n      }\n    },\n    /**\n      `serializeBelongsTo` can be used to customize how `belongsTo`\n      properties are serialized.\n       Example\n       ```app/serializers/post.js\n      import JSONSerializer from '@ember-data/serializer/json';\n      import { isNone } from '@ember/utils';\n       export default class PostSerializer extends JSONSerializer {\n        serializeBelongsTo(snapshot, json, relationship) {\n          let key = relationship.key;\n          let belongsTo = snapshot.belongsTo(key);\n           key = this.keyForRelationship ? this.keyForRelationship(key, \"belongsTo\", \"serialize\") : key;\n           json[key] = isNone(belongsTo) ? belongsTo : belongsTo.record.toJSON();\n        }\n      }\n      ```\n       @method serializeBelongsTo\n      @public\n      @param {Snapshot} snapshot\n      @param {Object} json\n      @param {Object} relationship\n    */\n    serializeBelongsTo(snapshot, json, relationship) {\n      var key = relationship.key;\n      if (this._canSerialize(key)) {\n        var belongsToId = snapshot.belongsTo(key, {\n          id: true\n        });\n\n        // if provided, use the mapping provided by `attrs` in\n        // the serializer\n        var payloadKey = this._getMappedKey(key, snapshot.type);\n        if (payloadKey === key && this.keyForRelationship) {\n          payloadKey = this.keyForRelationship(key, 'belongsTo', 'serialize');\n        }\n\n        //Need to check whether the id is there for new&async records\n        if ((0, _utils.isNone)(belongsToId)) {\n          json[payloadKey] = null;\n        } else {\n          json[payloadKey] = belongsToId;\n        }\n        if (relationship.options.polymorphic) {\n          this.serializePolymorphicType(snapshot, json, relationship);\n        }\n      }\n    },\n    /**\n     `serializeHasMany` can be used to customize how `hasMany`\n     properties are serialized.\n      Example\n      ```app/serializers/post.js\n     import JSONSerializer from '@ember-data/serializer/json';\n      export default class PostSerializer extends JSONSerializer {\n       serializeHasMany(snapshot, json, relationship) {\n         let key = relationship.key;\n         if (key === 'comments') {\n           return;\n         } else {\n           this._super(...arguments);\n         }\n       }\n     }\n     ```\n      @method serializeHasMany\n      @public\n     @param {Snapshot} snapshot\n     @param {Object} json\n     @param {Object} relationship\n    */\n    serializeHasMany(snapshot, json, relationship) {\n      var key = relationship.key;\n      if (this.shouldSerializeHasMany(snapshot, key, relationship)) {\n        var hasMany = snapshot.hasMany(key, {\n          ids: true\n        });\n        if (hasMany !== undefined) {\n          // if provided, use the mapping provided by `attrs` in\n          // the serializer\n          var payloadKey = this._getMappedKey(key, snapshot.type);\n          if (payloadKey === key && this.keyForRelationship) {\n            payloadKey = this.keyForRelationship(key, 'hasMany', 'serialize');\n          }\n          json[payloadKey] = hasMany;\n          // TODO support for polymorphic manyToNone and manyToMany relationships\n        }\n      }\n    },\n    /**\n      You can use this method to customize how polymorphic objects are\n      serialized. Objects are considered to be polymorphic if\n      `{ polymorphic: true }` is pass as the second argument to the\n      `belongsTo` function.\n       Example\n       ```app/serializers/comment.js\n      import JSONSerializer from '@ember-data/serializer/json';\n      import { isNone } from '@ember/utils';\n       export default class CommentSerializer extends JSONSerializer {\n        serializePolymorphicType(snapshot, json, relationship) {\n          let key = relationship.key;\n          let belongsTo = snapshot.belongsTo(key);\n           key = this.keyForAttribute ? this.keyForAttribute(key, 'serialize') : key;\n           if (isNone(belongsTo)) {\n            json[key + '_type'] = null;\n          } else {\n            json[key + '_type'] = belongsTo.modelName;\n          }\n        }\n      }\n      ```\n       @method serializePolymorphicType\n      @public\n      @param {Snapshot} snapshot\n      @param {Object} json\n      @param {Object} relationship\n    */\n    serializePolymorphicType() {},\n    /**\n      `extractMeta` is used to deserialize any meta information in the\n      adapter payload. By default Ember Data expects meta information to\n      be located on the `meta` property of the payload object.\n       Example\n       ```app/serializers/post.js\n      import JSONSerializer from '@ember-data/serializer/json';\n       export default class PostSerializer extends JSONSerializer {\n        extractMeta(store, typeClass, payload) {\n          if (payload && payload.hasOwnProperty('_pagination')) {\n            let meta = payload._pagination;\n            delete payload._pagination;\n            return meta;\n          }\n        }\n      }\n      ```\n       @method extractMeta\n      @public\n      @param {Store} store\n      @param {Model} modelClass\n      @param {Object} payload\n    */\n    extractMeta(store, modelClass, payload) {\n      if (payload && payload['meta'] !== undefined) {\n        var meta = payload.meta;\n        delete payload.meta;\n        return meta;\n      }\n    },\n    /**\n      `extractErrors` is used to extract model errors when a call\n      to `Model#save` fails with an `InvalidError`. By default\n      Ember Data expects error information to be located on the `errors`\n      property of the payload object.\n       This serializer expects this `errors` object to be an Array similar\n      to the following, compliant with the https://jsonapi.org/format/#errors specification:\n       ```js\n      {\n        \"errors\": [\n          {\n            \"detail\": \"This username is already taken!\",\n            \"source\": {\n              \"pointer\": \"data/attributes/username\"\n            }\n          }, {\n            \"detail\": \"Doesn't look like a valid email.\",\n            \"source\": {\n              \"pointer\": \"data/attributes/email\"\n            }\n          }\n        ]\n      }\n      ```\n       The key `detail` provides a textual description of the problem.\n      Alternatively, the key `title` can be used for the same purpose.\n       The nested keys `source.pointer` detail which specific element\n      of the request data was invalid.\n       Note that JSON-API also allows for object-level errors to be placed\n      in an object with pointer `data`, signifying that the problem\n      cannot be traced to a specific attribute:\n       ```javascript\n      {\n        \"errors\": [\n          {\n            \"detail\": \"Some generic non property error message\",\n            \"source\": {\n              \"pointer\": \"data\"\n            }\n          }\n        ]\n      }\n      ```\n       When turn into a `Errors` object, you can read these errors\n      through the property `base`:\n       ```handlebars\n      {{#each @model.errors.base as |error|}}\n        <div class=\"error\">\n          {{error.message}}\n        </div>\n      {{/each}}\n      ```\n       Example of alternative implementation, overriding the default\n      behavior to deal with a different format of errors:\n       ```app/serializers/post.js\n      import JSONSerializer from '@ember-data/serializer/json';\n       export default class PostSerializer extends JSONSerializer {\n        extractErrors(store, typeClass, payload, id) {\n          if (payload && typeof payload === 'object' && payload._problems) {\n            payload = payload._problems;\n            this.normalizeErrors(typeClass, payload);\n          }\n          return payload;\n        }\n      }\n      ```\n       @method extractErrors\n      @public\n      @param {Store} store\n      @param {Model} typeClass\n      @param {Object} payload\n      @param {(String|Number)} id\n      @return {Object} json The deserialized errors\n    */\n    extractErrors(store, typeClass, payload, id) {\n      if (payload && typeof payload === 'object' && payload.errors) {\n        payload = (0, _private.errorsArrayToHash)(payload.errors);\n        this.normalizeUsingDeclaredMapping(typeClass, payload);\n        typeClass.eachAttribute(name => {\n          var key = this.keyForAttribute(name, 'deserialize');\n          if (key !== name && payload[key] !== undefined) {\n            payload[name] = payload[key];\n            delete payload[key];\n          }\n        });\n        typeClass.eachRelationship(name => {\n          var key = this.keyForRelationship(name, 'deserialize');\n          if (key !== name && payload[key] !== undefined) {\n            payload[name] = payload[key];\n            delete payload[key];\n          }\n        });\n      }\n      return payload;\n    },\n    /**\n      `keyForAttribute` can be used to define rules for how to convert an\n      attribute name in your model to a key in your JSON.\n       Example\n       ```app/serializers/application.js\n      import JSONSerializer from '@ember-data/serializer/json';\n      import { underscore } from '@ember/string';\n       export default class ApplicationSerializer extends JSONSerializer {\n        keyForAttribute(attr, method) {\n          return underscore(attr).toUpperCase();\n        }\n      }\n      ```\n       @method keyForAttribute\n      @public\n      @param {String} key\n      @param {String} method\n      @return {String} normalized key\n    */\n    keyForAttribute(key, method) {\n      return key;\n    },\n    /**\n      `keyForRelationship` can be used to define a custom key when\n      serializing and deserializing relationship properties. By default\n      `JSONSerializer` does not provide an implementation of this method.\n       Example\n         ```app/serializers/post.js\n        import JSONSerializer from '@ember-data/serializer/json';\n        import { underscore } from '@ember/string';\n         export default class PostSerializer extends JSONSerializer {\n          keyForRelationship(key, relationship, method) {\n            return `rel_${underscore(key)}`;\n          }\n        }\n        ```\n       @method keyForRelationship\n      @public\n      @param {String} key\n      @param {String} typeClass\n      @param {String} method\n      @return {String} normalized key\n    */\n    keyForRelationship(key, typeClass, method) {\n      return key;\n    },\n    /**\n     `keyForLink` can be used to define a custom key when deserializing link\n     properties.\n      @method keyForLink\n      @public\n     @param {String} key\n     @param {String} kind `belongsTo` or `hasMany`\n     @return {String} normalized key\n    */\n    keyForLink(key, kind) {\n      return key;\n    },\n    // HELPERS\n\n    /**\n     @method transformFor\n     @private\n     @param {String} attributeType\n     @param {Boolean} skipAssertion\n     @return {Transform} transform\n    */\n    transformFor(attributeType, skipAssertion) {\n      var transform = (0, _application.getOwner)(this).lookup('transform:' + attributeType);\n      (true && !(skipAssertion || !!transform) && (0, _debug.assert)(`Unable to find the transform for \\`attr('${attributeType}')\\``, skipAssertion || !!transform));\n      return transform;\n    }\n  });\n  var _default = _exports.default = JSONSerializer;\n});","define(\"@ember-data/serializer/rest\", [\"exports\", \"@ember/array\", \"@ember/debug\", \"@ember/string\", \"@ember/utils\", \"ember-inflector\", \"@ember-data/serializer/json\", \"@ember-data/store\", \"@ember-data/store/-private\", \"@ember-data/serializer/-private\"], function (_exports, _array, _debug, _string, _utils, _emberInflector, _json, _store, _private, _private2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"EmbeddedRecordsMixin\", {\n    enumerable: true,\n    get: function () {\n      return _private2.EmbeddedRecordsMixin;\n    }\n  });\n  _exports.default = void 0;\n  /**\n   * @module @ember-data/serializer/rest\n   */\n\n  /**\n    Normally, applications will use the `RESTSerializer` by implementing\n    the `normalize` method.\n  \n    This allows you to do whatever kind of munging you need and is\n    especially useful if your server is inconsistent and you need to\n    do munging differently for many different kinds of responses.\n  \n    See the `normalize` documentation for more information.\n  \n    ## Across the Board Normalization\n  \n    There are also a number of hooks that you might find useful to define\n    across-the-board rules for your payload. These rules will be useful\n    if your server is consistent, or if you're building an adapter for\n    an infrastructure service, like Firebase, and want to encode service\n    conventions.\n  \n    For example, if all of your keys are underscored and all-caps, but\n    otherwise consistent with the names you use in your models, you\n    can implement across-the-board rules for how to convert an attribute\n    name in your model to a key in your JSON.\n  \n    ```app/serializers/application.js\n    import RESTSerializer from '@ember-data/serializer/rest';\n    import { underscore } from '@ember/string';\n  \n    export default class ApplicationSerializer extends RESTSerializer {\n      keyForAttribute(attr, method) {\n        return underscore(attr).toUpperCase();\n      }\n    }\n    ```\n  \n    You can also implement `keyForRelationship`, which takes the name\n    of the relationship as the first parameter, the kind of\n    relationship (`hasMany` or `belongsTo`) as the second parameter, and\n    the method (`serialize` or `deserialize`) as the third parameter.\n  \n    @class RESTSerializer\n    @main @ember-data/serializer/rest\n    @public\n    @extends JSONSerializer\n  */\n  var RESTSerializer = _json.default.extend({\n    /**\n     `keyForPolymorphicType` can be used to define a custom key when\n     serializing and deserializing a polymorphic type. By default, the\n     returned key is `${key}Type`.\n      Example\n       ```app/serializers/post.js\n      import RESTSerializer from '@ember-data/serializer/rest';\n       export default class ApplicationSerializer extends RESTSerializer {\n        keyForPolymorphicType(key, relationship) {\n          let relationshipKey = this.keyForRelationship(key);\n           return 'type-' + relationshipKey;\n        }\n      }\n      ```\n      @method keyForPolymorphicType\n      @public\n     @param {String} key\n     @param {String} typeClass\n     @param {String} method\n     @return {String} normalized key\n    */\n    keyForPolymorphicType(key, typeClass, method) {\n      var relationshipKey = this.keyForRelationship(key);\n      return `${relationshipKey}Type`;\n    },\n    /**\n      Normalizes a part of the JSON payload returned by\n      the server. You should override this method, munge the hash\n      and call super if you have generic normalization to do.\n       It takes the type of the record that is being normalized\n      (as a Model class), the property where the hash was\n      originally found, and the hash to normalize.\n       For example, if you have a payload that looks like this:\n       ```js\n      {\n        \"post\": {\n          \"id\": 1,\n          \"title\": \"Rails is omakase\",\n          \"comments\": [ 1, 2 ]\n        },\n        \"comments\": [{\n          \"id\": 1,\n          \"body\": \"FIRST\"\n        }, {\n          \"id\": 2,\n          \"body\": \"Rails is unagi\"\n        }]\n      }\n      ```\n       The `normalize` method will be called three times:\n       * With `App.Post`, `\"posts\"` and `{ id: 1, title: \"Rails is omakase\", ... }`\n      * With `App.Comment`, `\"comments\"` and `{ id: 1, body: \"FIRST\" }`\n      * With `App.Comment`, `\"comments\"` and `{ id: 2, body: \"Rails is unagi\" }`\n       You can use this method, for example, to normalize underscored keys to camelized\n      or other general-purpose normalizations. You will only need to implement\n      `normalize` and manipulate the payload as desired.\n       For example, if the `IDs` under `\"comments\"` are provided as `_id` instead of\n      `id`, you can specify how to normalize just the comments:\n       ```app/serializers/post.js\n      import RESTSerializer from '@ember-data/serializer/rest';\n       export default class ApplicationSerializer extends RESTSerializer {\n        normalize(model, hash, prop) {\n          if (prop === 'comments') {\n            hash.id = hash._id;\n            delete hash._id;\n          }\n           return super.normalize(...arguments);\n        }\n      }\n      ```\n       On each call to the `normalize` method, the third parameter (`prop`) is always\n      one of the keys that were in the original payload or in the result of another\n      normalization as `normalizeResponse`.\n       @method normalize\n      @public\n      @param {Model} modelClass\n      @param {Object} resourceHash\n      @param {String} prop\n      @return {Object}\n    */\n\n    /**\n      Normalizes an array of resource payloads and returns a JSON-API Document\n      with primary data and, if any, included data as `{ data, included }`.\n       @method _normalizeArray\n      @param {Store} store\n      @param {String} modelName\n      @param {Object} arrayHash\n      @param {String} prop\n      @return {Object}\n      @private\n    */\n    _normalizeArray(store, modelName, arrayHash, prop) {\n      var documentHash = {\n        data: [],\n        included: []\n      };\n      var modelClass = store.modelFor(modelName);\n      var serializer = store.serializerFor(modelName);\n      (0, _array.makeArray)(arrayHash).forEach(hash => {\n        var {\n          data,\n          included\n        } = this._normalizePolymorphicRecord(store, hash, prop, modelClass, serializer);\n        documentHash.data.push(data);\n        if (included) {\n          documentHash.included.push(...included);\n        }\n      });\n      return documentHash;\n    },\n    _normalizePolymorphicRecord(store, hash, prop, primaryModelClass, primarySerializer) {\n      var serializer = primarySerializer;\n      var modelClass = primaryModelClass;\n      var primaryHasTypeAttribute = (0, _private2.modelHasAttributeOrRelationshipNamedType)(primaryModelClass);\n      if (!primaryHasTypeAttribute && hash.type) {\n        // Support polymorphic records in async relationships\n        var modelName = this.modelNameFromPayloadKey(hash.type);\n        if (store._hasModelFor(modelName)) {\n          serializer = store.serializerFor(modelName);\n          modelClass = store.modelFor(modelName);\n        }\n      }\n      return serializer.normalize(modelClass, hash, prop);\n    },\n    /**\n      @method _normalizeResponse\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @param {Boolean} isSingle\n      @return {Object} JSON-API Document\n      @private\n    */\n    _normalizeResponse(store, primaryModelClass, payload, id, requestType, isSingle) {\n      var documentHash = {\n        data: null,\n        included: []\n      };\n      var meta = this.extractMeta(store, primaryModelClass, payload);\n      if (meta) {\n        (true && !((0, _utils.typeOf)(meta) === 'object') && (0, _debug.assert)('The `meta` returned from `extractMeta` has to be an object, not \"' + (0, _utils.typeOf)(meta) + '\".', (0, _utils.typeOf)(meta) === 'object'));\n        documentHash.meta = meta;\n      }\n      var keys = Object.keys(payload);\n      for (var i = 0, length = keys.length; i < length; i++) {\n        var prop = keys[i];\n        var modelName = prop;\n        var forcedSecondary = false;\n\n        /*\n          If you want to provide sideloaded records of the same type that the\n          primary data you can do that by prefixing the key with `_`.\n           Example\n           ```\n          {\n            users: [\n              { id: 1, title: 'Tom', manager: 3 },\n              { id: 2, title: 'Yehuda', manager: 3 }\n            ],\n            _users: [\n              { id: 3, title: 'Tomster' }\n            ]\n          }\n          ```\n           This forces `_users` to be added to `included` instead of `data`.\n         */\n        if (prop.charAt(0) === '_') {\n          forcedSecondary = true;\n          modelName = prop.substr(1);\n        }\n        var typeName = this.modelNameFromPayloadKey(modelName);\n        if (!store._hasModelFor(typeName)) {\n          (true && (0, _debug.warn)(this.warnMessageNoModelForKey(modelName, typeName), false, {\n            id: 'ds.serializer.model-for-key-missing'\n          }));\n          continue;\n        }\n        var isPrimary = !forcedSecondary && this.isPrimaryType(store, typeName, primaryModelClass);\n        var value = payload[prop];\n        if (value === null) {\n          continue;\n        }\n        if (true /* DEBUG */) {\n          var isQueryRecordAnArray = requestType === 'queryRecord' && isPrimary && Array.isArray(value);\n          var message = 'The adapter returned an array for the primary data of a `queryRecord` response. This is deprecated as `queryRecord` should return a single record.';\n          (true && !(!isQueryRecordAnArray) && (0, _debug.deprecate)(message, !isQueryRecordAnArray, {\n            id: 'ds.serializer.rest.queryRecord-array-response',\n            until: '3.0',\n            url: 'https://deprecations.emberjs.com/ember-data/v2.x/#toc_store-queryrecord-array-response-with-restserializer',\n            for: '@ember-data/serializer',\n            since: {\n              available: '3.0',\n              enabled: '3.0'\n            }\n          }));\n        }\n\n        /*\n          Support primary data as an object instead of an array.\n           Example\n           ```\n          {\n            user: { id: 1, title: 'Tom', manager: 3 }\n          }\n          ```\n         */\n        if (isPrimary && !Array.isArray(value)) {\n          var {\n            data: _data,\n            included: _included\n          } = this._normalizePolymorphicRecord(store, value, prop, primaryModelClass, this);\n          documentHash.data = _data;\n          if (_included) {\n            documentHash.included.push(..._included);\n          }\n          continue;\n        }\n        var {\n          data,\n          included\n        } = this._normalizeArray(store, typeName, value, prop);\n        if (included) {\n          documentHash.included.push(...included);\n        }\n        if (isSingle) {\n          data.forEach(resource => {\n            /*\n              Figures out if this is the primary record or not.\n               It's either:\n               1. The record with the same ID as the original request\n              2. If it's a newly created record without an ID, the first record\n                 in the array\n             */\n            var isUpdatedRecord = isPrimary && (0, _private.coerceId)(resource.id) === id;\n            var isFirstCreatedRecord = isPrimary && !id && !documentHash.data;\n            if (isFirstCreatedRecord || isUpdatedRecord) {\n              documentHash.data = resource;\n            } else {\n              documentHash.included.push(resource);\n            }\n          });\n        } else {\n          if (isPrimary) {\n            documentHash.data = data;\n          } else {\n            if (data) {\n              documentHash.included.push(...data);\n            }\n          }\n        }\n      }\n      return documentHash;\n    },\n    isPrimaryType(store, modelName, primaryModelClass) {\n      return (0, _store.normalizeModelName)(modelName) === primaryModelClass.modelName;\n    },\n    /**\n      This method allows you to push a payload containing top-level\n      collections of records organized per type.\n       ```js\n      {\n        \"posts\": [{\n          \"id\": \"1\",\n          \"title\": \"Rails is omakase\",\n          \"author\", \"1\",\n          \"comments\": [ \"1\" ]\n        }],\n        \"comments\": [{\n          \"id\": \"1\",\n          \"body\": \"FIRST\"\n        }],\n        \"users\": [{\n          \"id\": \"1\",\n          \"name\": \"@d2h\"\n        }]\n      }\n      ```\n       It will first normalize the payload, so you can use this to push\n      in data streaming in from your server structured the same way\n      that fetches and saves are structured.\n       @method pushPayload\n      @public\n      @param {Store} store\n      @param {Object} payload\n    */\n    pushPayload(store, payload) {\n      var documentHash = {\n        data: [],\n        included: []\n      };\n      for (var prop in payload) {\n        var modelName = this.modelNameFromPayloadKey(prop);\n        if (!store._hasModelFor(modelName)) {\n          (true && (0, _debug.warn)(this.warnMessageNoModelForKey(prop, modelName), false, {\n            id: 'ds.serializer.model-for-key-missing'\n          }));\n          continue;\n        }\n        var type = store.modelFor(modelName);\n        var typeSerializer = store.serializerFor(type.modelName);\n        (0, _array.makeArray)(payload[prop]).forEach(hash => {\n          var {\n            data,\n            included\n          } = typeSerializer.normalize(type, hash, prop);\n          documentHash.data.push(data);\n          if (included) {\n            documentHash.included.push(...included);\n          }\n        });\n      }\n      store.push(documentHash);\n    },\n    /**\n      This method is used to convert each JSON root key in the payload\n      into a modelName that it can use to look up the appropriate model for\n      that part of the payload.\n       For example, your server may send a model name that does not correspond with\n      the name of the model in your app. Let's take a look at an example model,\n      and an example payload:\n       ```app/models/post.js\n      import Model from '@ember-data/model';\n       export default class Post extends Model {}\n      ```\n       ```javascript\n        {\n          \"blog/post\": {\n            \"id\": \"1\n          }\n        }\n      ```\n       Ember Data is going to normalize the payload's root key for the modelName. As a result,\n      it will try to look up the \"blog/post\" model. Since we don't have a model called \"blog/post\"\n      (or a file called app/models/blog/post.js in ember-cli), Ember Data will throw an error\n      because it cannot find the \"blog/post\" model.\n       Since we want to remove this namespace, we can define a serializer for the application that will\n      remove \"blog/\" from the payload key whenver it's encountered by Ember Data:\n       ```app/serializers/application.js\n      import RESTSerializer from '@ember-data/serializer/rest';\n       export default class ApplicationSerializer extends RESTSerializer {\n        modelNameFromPayloadKey(payloadKey) {\n          if (payloadKey === 'blog/post') {\n            return super.modelNameFromPayloadKey(payloadKey.replace('blog/', ''));\n          } else {\n           return super.modelNameFromPayloadKey(payloadKey);\n          }\n        }\n      }\n      ```\n       After refreshing, Ember Data will appropriately look up the \"post\" model.\n       By default the modelName for a model is its\n      name in dasherized form. This means that a payload key like \"blogPost\" would be\n      normalized to \"blog-post\" when Ember Data looks up the model. Usually, Ember Data\n      can use the correct inflection to do this for you. Most of the time, you won't\n      need to override `modelNameFromPayloadKey` for this purpose.\n       @method modelNameFromPayloadKey\n      @public\n      @param {String} key\n      @return {String} the model's modelName\n    */\n    modelNameFromPayloadKey(key) {\n      return (0, _emberInflector.singularize)((0, _store.normalizeModelName)(key));\n    },\n    // SERIALIZE\n\n    /**\n      Called when a record is saved in order to convert the\n      record into JSON.\n       By default, it creates a JSON object with a key for\n      each attribute and belongsTo relationship.\n       For example, consider this model:\n       ```app/models/comment.js\n      import Model, { attr, belongsTo } from '@ember-data/model';\n       export default class Comment extends Model {\n        @attr title\n        @attr body\n         @belongsTo('user') author\n      }\n      ```\n       The default serialization would create a JSON object like:\n       ```js\n      {\n        \"title\": \"Rails is unagi\",\n        \"body\": \"Rails? Omakase? O_O\",\n        \"author\": 12\n      }\n      ```\n       By default, attributes are passed through as-is, unless\n      you specified an attribute type (`attr('date')`). If\n      you specify a transform, the JavaScript value will be\n      serialized when inserted into the JSON hash.\n       By default, belongs-to relationships are converted into\n      IDs when inserted into the JSON hash.\n       ## IDs\n       `serialize` takes an options hash with a single option:\n      `includeId`. If this option is `true`, `serialize` will,\n      by default include the ID in the JSON object it builds.\n       The adapter passes in `includeId: true` when serializing\n      a record for `createRecord`, but not for `updateRecord`.\n       ## Customization\n       Your server may expect a different JSON format than the\n      built-in serialization format.\n       In that case, you can implement `serialize` yourself and\n      return a JSON hash of your choosing.\n       ```app/serializers/post.js\n      import RESTSerializer from '@ember-data/serializer/rest';\n       export default class ApplicationSerializer extends RESTSerializer {\n        serialize(snapshot, options) {\n          let json = {\n            POST_TTL: snapshot.attr('title'),\n            POST_BDY: snapshot.attr('body'),\n            POST_CMS: snapshot.hasMany('comments', { ids: true })\n          };\n           if (options.includeId) {\n            json.POST_ID_ = snapshot.id;\n          }\n           return json;\n        }\n      }\n      ```\n       ## Customizing an App-Wide Serializer\n       If you want to define a serializer for your entire\n      application, you'll probably want to use `eachAttribute`\n      and `eachRelationship` on the record.\n       ```app/serializers/application.js\n      import RESTSerializer from '@ember-data/serializer/rest';\n      import { pluralize } from 'ember-inflector';\n       export default class ApplicationSerializer extends RESTSerializer {\n        serialize(snapshot, options) {\n          let json = {};\n           snapshot.eachAttribute(function(name) {\n            json[serverAttributeName(name)] = snapshot.attr(name);\n          });\n           snapshot.eachRelationship(function(name, relationship) {\n            if (relationship.kind === 'hasMany') {\n              json[serverHasManyName(name)] = snapshot.hasMany(name, { ids: true });\n            }\n          });\n           if (options.includeId) {\n            json.ID_ = snapshot.id;\n          }\n           return json;\n        }\n      }\n       function serverAttributeName(attribute) {\n        return attribute.underscore().toUpperCase();\n      }\n       function serverHasManyName(name) {\n        return serverAttributeName(singularize(name)) + \"_IDS\";\n      }\n      ```\n       This serializer will generate JSON that looks like this:\n       ```js\n      {\n        \"TITLE\": \"Rails is omakase\",\n        \"BODY\": \"Yep. Omakase.\",\n        \"COMMENT_IDS\": [ 1, 2, 3 ]\n      }\n      ```\n       ## Tweaking the Default JSON\n       If you just want to do some small tweaks on the default JSON,\n      you can call super first and make the tweaks on the returned\n      JSON.\n       ```app/serializers/post.js\n      import RESTSerializer from '@ember-data/serializer/rest';\n       export default class ApplicationSerializer extends RESTSerializer {\n        serialize(snapshot, options) {\n          let json = super.serialize(snapshot, options);\n           json.subject = json.title;\n          delete json.title;\n           return json;\n        }\n      }\n      ```\n       @method serialize\n      @public\n      @param {Snapshot} snapshot\n      @param {Object} options\n      @return {Object} json\n    */\n    serialize(snapshot, options) {\n      return this._super(...arguments);\n    },\n    /**\n      You can use this method to customize the root keys serialized into the JSON.\n      The hash property should be modified by reference (possibly using something like _.extend)\n      By default the REST Serializer sends the modelName of a model, which is a camelized\n      version of the name.\n       For example, your server may expect underscored root objects.\n       ```app/serializers/application.js\n      import RESTSerializer from '@ember-data/serializer/rest';\n      import { decamelize } from '@ember/string';\n       export default class ApplicationSerializer extends RESTSerializer {\n        serializeIntoHash(data, type, record, options) {\n          let root = decamelize(type.modelName);\n          data[root] = this.serialize(record, options);\n        }\n      }\n      ```\n       @method serializeIntoHash\n      @public\n      @param {Object} hash\n      @param {Model} typeClass\n      @param {Snapshot} snapshot\n      @param {Object} options\n    */\n    serializeIntoHash(hash, typeClass, snapshot, options) {\n      var normalizedRootKey = this.payloadKeyFromModelName(typeClass.modelName);\n      hash[normalizedRootKey] = this.serialize(snapshot, options);\n    },\n    /**\n      You can use `payloadKeyFromModelName` to override the root key for an outgoing\n      request. By default, the RESTSerializer returns a camelized version of the\n      model's name.\n       For a model called TacoParty, its `modelName` would be the string `taco-party`. The RESTSerializer\n      will send it to the server with `tacoParty` as the root key in the JSON payload:\n       ```js\n      {\n        \"tacoParty\": {\n          \"id\": \"1\",\n          \"location\": \"Matthew Beale's House\"\n        }\n      }\n      ```\n       For example, your server may expect dasherized root objects:\n       ```app/serializers/application.js\n      import RESTSerializer from '@ember-data/serializer/rest';\n      import { dasherize } from '@ember/string';\n       export default class ApplicationSerializer extends RESTSerializer {\n        payloadKeyFromModelName(modelName) {\n          return dasherize(modelName);\n        }\n      }\n      ```\n       Given a `TacoParty` model, calling `save` on it would produce an outgoing\n      request like:\n       ```js\n      {\n        \"taco-party\": {\n          \"id\": \"1\",\n          \"location\": \"Matthew Beale's House\"\n        }\n      }\n      ```\n       @method payloadKeyFromModelName\n      @public\n      @param {String} modelName\n      @return {String}\n    */\n    payloadKeyFromModelName(modelName) {\n      return (0, _string.camelize)(modelName);\n    },\n    /**\n      You can use this method to customize how polymorphic objects are serialized.\n      By default the REST Serializer creates the key by appending `Type` to\n      the attribute and value from the model's camelcased model name.\n       @method serializePolymorphicType\n      @public\n      @param {Snapshot} snapshot\n      @param {Object} json\n      @param {Object} relationship\n    */\n    serializePolymorphicType(snapshot, json, relationship) {\n      var key = relationship.key;\n      var typeKey = this.keyForPolymorphicType(key, relationship.type, 'serialize');\n      var belongsTo = snapshot.belongsTo(key);\n      if ((0, _utils.isNone)(belongsTo)) {\n        json[typeKey] = null;\n      } else {\n        json[typeKey] = (0, _string.camelize)(belongsTo.modelName);\n      }\n    },\n    /**\n      You can use this method to customize how a polymorphic relationship should\n      be extracted.\n       @method extractPolymorphicRelationship\n      @public\n      @param {Object} relationshipType\n      @param {Object} relationshipHash\n      @param {Object} relationshipOptions\n      @return {Object}\n     */\n    extractPolymorphicRelationship(relationshipType, relationshipHash, relationshipOptions) {\n      var {\n        key,\n        resourceHash,\n        relationshipMeta\n      } = relationshipOptions;\n\n      // A polymorphic belongsTo relationship can be present in the payload\n      // either in the form where the `id` and the `type` are given:\n      //\n      //   {\n      //     message: { id: 1, type: 'post' }\n      //   }\n      //\n      // or by the `id` and a `<relationship>Type` attribute:\n      //\n      //   {\n      //     message: 1,\n      //     messageType: 'post'\n      //   }\n      //\n      // The next code checks if the latter case is present and returns the\n      // corresponding JSON-API representation. The former case is handled within\n      // the base class JSONSerializer.\n      var isPolymorphic = relationshipMeta.options.polymorphic;\n      var typeProperty = this.keyForPolymorphicType(key, relationshipType, 'deserialize');\n      if (isPolymorphic && resourceHash[typeProperty] !== undefined && typeof relationshipHash !== 'object') {\n        var type = this.modelNameFromPayloadKey(resourceHash[typeProperty]);\n        return {\n          id: relationshipHash,\n          type: type\n        };\n      }\n      return this._super(...arguments);\n    }\n  });\n  if (true /* DEBUG */) {\n    RESTSerializer.reopen({\n      warnMessageNoModelForKey(prop, typeKey) {\n        return 'Encountered \"' + prop + '\" in payload, but no model was found for model name \"' + typeKey + '\" (resolved model name using ' + this.constructor.toString() + '.modelNameFromPayloadKey(\"' + prop + '\"))';\n      }\n    });\n  }\n  var _default = _exports.default = RESTSerializer;\n});","define(\"@ember-data/serializer/transform\", [\"exports\", \"@ember-data/serializer/-private\"], function (_exports, _private) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n    @module @ember-data/serializer\n  */\n  var _default = _exports.default = _private.Transform;\n});","define(\"@ember-data/store/-debug/index\", [\"exports\", \"@ember/debug\"], function (_exports, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.assertPolymorphicType = void 0;\n  /*\n    Assert that `addedRecord` has a valid type so it can be added to the\n    relationship of the `record`.\n  \n    The assert basically checks if the `addedRecord` can be added to the\n    relationship (specified via `relationshipMeta`) of the `record`.\n  \n    This utility should only be used internally, as both record parameters must\n    be an InternalModel and the `relationshipMeta` needs to be the meta\n    information about the relationship, retrieved via\n    `record.relationshipFor(key)`.\n  */\n  var assertPolymorphicType;\n  if (true /* DEBUG */) {\n    var checkPolymorphic = function checkPolymorphic(modelClass, addedModelClass) {\n      if (modelClass.__isMixin) {\n        return modelClass.__mixin.detect(addedModelClass.PrototypeMixin) ||\n        // handle native class extension e.g. `class Post extends Model.extend(Commentable) {}`\n        modelClass.__mixin.detect(Object.getPrototypeOf(addedModelClass).PrototypeMixin);\n      }\n      return addedModelClass.prototype instanceof modelClass || modelClass.detect(addedModelClass);\n    };\n    _exports.assertPolymorphicType = assertPolymorphicType = function assertPolymorphicType(parentIdentifier, parentDefinition, addedIdentifier, store) {\n      store = store._store ? store._store : store; // allow usage with storeWrapper\n      var addedModelName = addedIdentifier.type;\n      var parentModelName = parentIdentifier.type;\n      var key = parentDefinition.key;\n      var relationshipModelName = parentDefinition.type;\n      var relationshipClass = store.modelFor(relationshipModelName);\n      var addedClass = store.modelFor(addedModelName);\n      var assertionMessage = `The '${addedModelName}' type does not implement '${relationshipModelName}' and thus cannot be assigned to the '${key}' relationship in '${parentModelName}'. Make it a descendant of '${relationshipModelName}' or use a mixin of the same name.`;\n      var isPolymorphic = checkPolymorphic(relationshipClass, addedClass);\n      (true && !(isPolymorphic) && (0, _debug.assert)(assertionMessage, isPolymorphic));\n    };\n  }\n});","define('@ember-data/store/-private', ['exports', '@ember/application', '@ember/debug', '@ember/error', '@ember/object', '@ember/utils', '@ember/array', '@ember/polyfills', '@ember/runloop', '@ember/service', '@ember/test', 'ember', 'require', 'rsvp', '@ember/string', '@ember/array/proxy', '@ember/object/computed', '@ember/object/promise-proxy-mixin', '@ember/object/proxy', '@ember/object/evented', '@ember/object/mixin', '@ember/object/compat', '@glimmer/tracking', 'ember-cached-decorator-polyfill', '@ember-data/store/-debug'], (function (exports, application, debug, EmberError, object, utils, EmberArray, polyfills, runloop, Service, test, Ember, require$1, RSVP, string, ArrayProxy, computed, PromiseProxyMixin, ObjectProxy, Evented, Mixin, compat, tracking, emberCachedDecoratorPolyfill, Debug) { 'use strict';\n\n  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }\n\n  var EmberError__default = /*#__PURE__*/_interopDefaultLegacy(EmberError);\n  var EmberArray__default = /*#__PURE__*/_interopDefaultLegacy(EmberArray);\n  var Service__default = /*#__PURE__*/_interopDefaultLegacy(Service);\n  var Ember__default = /*#__PURE__*/_interopDefaultLegacy(Ember);\n  var require__default = /*#__PURE__*/_interopDefaultLegacy(require$1);\n  var RSVP__default = /*#__PURE__*/_interopDefaultLegacy(RSVP);\n  var ArrayProxy__default = /*#__PURE__*/_interopDefaultLegacy(ArrayProxy);\n  var PromiseProxyMixin__default = /*#__PURE__*/_interopDefaultLegacy(PromiseProxyMixin);\n  var ObjectProxy__default = /*#__PURE__*/_interopDefaultLegacy(ObjectProxy);\n  var Evented__default = /*#__PURE__*/_interopDefaultLegacy(Evented);\n  var Mixin__default = /*#__PURE__*/_interopDefaultLegacy(Mixin);\n\n  /**\n    @module @ember-data/store\n  */\n\n  // Used by the store to normalize IDs entering the store.  Despite the fact\n  // that developers may provide IDs as numbers (e.g., `store.findRecord('person', 1)`),\n  // it is important that internally we use strings, since IDs may be serialized\n  // and lose type information.  For example, Ember's router may put a record's\n  // ID into the URL, and if we later try to deserialize that URL and find the\n  // corresponding record, we will not know if it is a string or a number.\n\n  function coerceId(id) {\n    if (id === null || id === undefined || id === '') {\n      return null;\n    }\n    if (typeof id === 'string') {\n      return id;\n    }\n    if (typeof id === 'symbol') {\n      return id.toString();\n    }\n    return '' + id;\n  }\n  function ensureStringId(id) {\n    var normalized = null;\n    if (typeof id === 'string') {\n      normalized = id.length > 0 ? id : null;\n    } else if (typeof id === 'number' && !isNaN(id)) {\n      normalized = '' + id;\n    }\n    if (normalized === null) {\n      throw new Error(`Expected id to be a string or number, received ${String(id)}`);\n    }\n    return normalized;\n  }\n\n  /**\n    @module @ember-data/store\n  */\n\n  // All modelNames are dasherized internally. Changing this function may\n  // require changes to other normalization hooks (such as typeForRoot).\n\n  /**\n   This method normalizes a modelName into the format Ember Data uses\n   internally by dasherizing it.\n\n    @method normalizeModelName\n    @static\n    @public\n    @for @ember-data/store\n    @param {String} modelName\n    @return {String} normalizedModelName\n  */\n  function normalizeModelName(modelName) {\n    return string.dasherize(modelName);\n  }\n\n  /**\n    @module @ember-data/store\n  */\n\n  /**\n   * This symbol provides a Symbol replacement for browsers that do not have it\n   * (eg. IE 11).\n   *\n   * The replacement is different from the native Symbol in some ways. It is a\n   * function that produces an output:\n   * - iterable;\n   * - that is a string, not a symbol.\n   *\n   * @internal\n   */\n  var symbol = typeof Symbol !== 'undefined' ? Symbol : key => `__${key}${Math.floor(Math.random() * Date.now())}__`;\n  function addSymbol(obj, symbol, value) {\n    if (typeof symbol === 'string') {\n      Object.defineProperty(obj, symbol, {\n        value,\n        configurable: false,\n        enumerable: false,\n        writable: false\n      });\n    } else {\n      // Typescript doesn't allow Symbol as an index type\n      obj[symbol] = value;\n    }\n  }\n\n  /**\n    @module @ember-data/store\n  */\n\n  // provided for additional debuggability\n  var DEBUG_CLIENT_ORIGINATED = symbol('record-originated-on-client');\n  var DEBUG_IDENTIFIER_BUCKET = symbol('identifier-bucket');\n\n  /**\n   * An Identifier specific to a record which may or may not\n   * be present in the cache.\n   *\n   * The absence of an `id` DOES NOT indicate that this\n   * Identifier is for a new client-created record as it\n   * may also indicate that it was generated for a secondary\n   * index and the primary `id` index is not yet known.\n   *\n   * @internal\n   */\n\n  /**\n   * Used when an Identifier is known to be the stable version\n   *\n   * @internal\n   */\n\n  /**\n   * Used when a StableRecordIdentifier was not created locally as part\n   * of a call to store.createRecord\n   *\n   * Distinguishing between this Identifier and one for a client created\n   * record that was created with an ID is generally speaking not possible\n   * at runtime, so anything with an ID typically narrows to this.\n   *\n   * @internal\n   */\n\n  /**\n   * Used when a StableRecordIdentifier was created locally\n   * (by a call to store.createRecord).\n   *\n   * It is possible in rare circumstances to have a StableRecordIdentifier\n   * that is not for a new record but does not have an ID. This would\n   * happen if a user intentionally created one for use with a secondary-index\n   * prior to the record having been fully loaded.\n   *\n   * @internal\n   */\n\n  /**\n   * A referentially stable object with a unique string (lid) that can be used\n   * as a reference to data in the cache.\n   *\n   * Every record instance has a unique identifier, and identifiers may refer\n   * to data that has never been loaded (for instance, in an async relationship).\n   *\n   * @class StableRecordIdentifier\n   * @public\n   */\n\n  /**\n   * A string representing a unique identity.\n   *\n   * @property {string} lid\n   * @public\n   */\n  /**\n   * the primary resource `type` or `modelName` this identity belongs to.\n   *\n   * @property {string} type\n   * @public\n   */\n  /**\n   * the primary id for the record this identity belongs to. `null`\n   * if not yet assigned an id.\n   *\n   * @property {string | null} id\n   * @public\n   */\n\n  /**\n    Configures how unique identifier lid strings are generated by @ember-data/store.\n    \n    This configuration MUST occur prior to the store instance being created.\n\n    Takes a method which can expect to receive various data as its first argument\n    and the name of a bucket as its second argument. Currently the second\n    argument will always be `record` data should conform to a `json-api`\n    `Resource` interface, but will be the normalized json data for a single\n    resource that has been given to the store.\n\n    The method must return a unique (to at-least the given bucket) string identifier\n    for the given data as a string to be used as the `lid` of an `Identifier` token.\n\n    This method will only be called by either `getOrCreateRecordIdentifier` or\n    `createIdentifierForNewRecord` when an identifier for the supplied data\n    is not already known via `lid` or `type + id` combo and one needs to be\n    generated or retrieved from a proprietary cache.\n\n    `data` will be the same data argument provided to `getOrCreateRecordIdentifier`\n    and in the `createIdentifierForNewRecord` case will be an object with\n    only `type` as a key.\n\n    ```ts\n    import { setIdentifierGenerationMethod } form '@ember-data/store';\n\n    export function initialize(applicationInstance) {\n      // note how `count` here is now scoped to the application instance\n      // for our generation method by being inside the closure provided\n      // by the initialize function\n      let count = 0;\n\n      setIdentifierGenerationMethod((resource, bucket) => {\n        return resource.lid || `my-key-${count++}`;\n      });\n    }\n\n    export default {\n      name: 'configure-ember-data-identifiers',\n      initialize\n    };\n    ```\n\n    @method setIdentifierGenerationMethod\n    @for @ember-data/store\n    @param method\n    @public\n    @static\n  */\n\n  /**\n   Configure a callback for when the identifier cache encounters new resource\n   data for an existing resource.\n\n   This configuration MUST occur prior to the store instance being created.\n\n   ```js\n   import { setIdentifierUpdateMethod } from '@ember-data/store';\n   ```\n\n   Takes a method which can expect to receive an existing `Identifier` alongside\n   some new data to consider as a second argument. This is an opportunity\n   for secondary lookup tables and caches associated with the identifier\n   to be amended.\n\n   This method is called everytime `updateRecordIdentifier` is called and\n    with the same arguments. It provides the opportunity to update secondary\n    lookup tables for existing identifiers.\n\n   It will always be called after an identifier created with `createIdentifierForNewRecord`\n    has been committed, or after an update to the `record` a `RecordIdentifier`\n    is assigned to has been committed. Committed here meaning that the server\n    has acknowledged the update (for instance after a call to `.save()`)\n\n   If `id` has not previously existed, it will be assigned to the `Identifier`\n    prior to this `UpdateMethod` being called; however, calls to the parent method\n    `updateRecordIdentifier` that attempt to change the `id` or calling update\n    without providing an `id` when one is missing will throw an error.\n\n    @method setIdentifierUpdateMethod\n    @for @ember-data/store\n    @param method\n    @public\n    @static\n  */\n\n  /**\n   Configure a callback for when the identifier cache is going to release an identifier.\n\n   This configuration MUST occur prior to the store instance being created.\n\n   ```js\n   import { setIdentifierForgetMethod } from '@ember-data/store';\n   ```\n\n   Takes method which can expect to receive an existing `Identifier` that should be eliminated\n   from any secondary lookup tables or caches that the user has populated for it.\n\n    @method setIdentifierForgetMethod\n    @for @ember-data/store\n    @param method\n    @public\n    @static\n  */\n\n  /**\n   Configure a callback for when the identifier cache is being torn down.\n\n   This configuration MUST occur prior to the store instance being created.\n\n   ```js\n   import { setIdentifierResetMethod } from '@ember-data/store';\n   ```\n   \n   Takes a method which can expect to be called when the parent application is destroyed.\n\n   If you have properly used a WeakMap to encapsulate the state of your customization\n   to the application instance, you may not need to implement the `resetMethod`.\n\n    @method setIdentifierResetMethod\n    @for @ember-data/store\n    @param method\n    @public\n    @static\n  */\n\n  function isNonEmptyString(str) {\n    return typeof str === 'string' && str.length > 0;\n  }\n\n  /**\n    @module @ember-data/store\n  */\n\n  var IDENTIFIERS = new WeakMap();\n  function isStableIdentifier(identifier) {\n    return IDENTIFIERS.has(identifier);\n  }\n  function markStableIdentifier(identifier) {\n    IDENTIFIERS.set(identifier, 'is-identifier');\n  }\n  function unmarkStableIdentifier(identifier) {\n    IDENTIFIERS.delete(identifier);\n  }\n\n  /**\n    @module @ember-data/store\n  */\n\n  // support IE11\n\n  var CRYPTO = (() => {\n    var hasWindow = typeof window !== 'undefined';\n    var isFastBoot = typeof FastBoot !== 'undefined';\n    if (isFastBoot) {\n      return {\n        getRandomValues(buffer) {\n          try {\n            return FastBoot.require('crypto').randomFillSync(buffer);\n          } catch (err) {\n            throw new Error('Using createRecord in Fastboot requires you to add the \"crypto\" package to \"fastbootDependencies\" in your package.json');\n          }\n        }\n      };\n    } else if (hasWindow && typeof window.crypto !== 'undefined') {\n      return window.crypto;\n    } else if (hasWindow && typeof window.msCrypto !== 'undefined' && typeof window.msCrypto.getRandomValues === 'function') {\n      return window.msCrypto;\n    } else {\n      throw new Error('ember-data: Cannot find a valid way to generate local identifiers');\n    }\n  })();\n\n  // we might be able to optimize this by requesting more bytes than we need at a time\n  function rng() {\n    // WHATWG crypto RNG - http://wiki.whatwg.org/wiki/Crypto\n    var rnds8 = new Uint8Array(16);\n    return CRYPTO.getRandomValues(rnds8);\n  }\n\n  /*\n   * Convert array of 16 byte values to UUID string format of the form:\n   * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n   */\n  var byteToHex = [];\n  for (var i = 0; i < 256; ++i) {\n    byteToHex[i] = (i + 0x100).toString(16).substr(1);\n  }\n  function bytesToUuid(buf) {\n    var bth = byteToHex;\n    // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4\n    return [bth[buf[0]], bth[buf[1]], bth[buf[2]], bth[buf[3]], '-', bth[buf[4]], bth[buf[5]], '-', bth[buf[6]], bth[buf[7]], '-', bth[buf[8]], bth[buf[9]], '-', bth[buf[10]], bth[buf[11]], bth[buf[12]], bth[buf[13]], bth[buf[14]], bth[buf[15]]].join('');\n  }\n  function uuidv4() {\n    var rnds = rng();\n\n    // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n    rnds[6] = rnds[6] & 0x0f | 0x40;\n    rnds[8] = rnds[8] & 0x3f | 0x80;\n    return bytesToUuid(rnds);\n  }\n\n  /**\n    @module @ember-data/store\n  */\n  function freeze$1(obj) {\n    if (typeof Object.freeze === 'function') {\n      return Object.freeze(obj);\n    }\n    return obj;\n  }\n  var configuredForgetMethod;\n  var configuredGenerationMethod;\n  var configuredResetMethod;\n  var configuredUpdateMethod;\n  function setIdentifierGenerationMethod(method) {\n    configuredGenerationMethod = method;\n  }\n  function setIdentifierUpdateMethod(method) {\n    configuredUpdateMethod = method;\n  }\n  function setIdentifierForgetMethod(method) {\n    configuredForgetMethod = method;\n  }\n  function setIdentifierResetMethod(method) {\n    configuredResetMethod = method;\n  }\n  function defaultGenerationMethod(data, bucket) {\n    if (isNonEmptyString(data.lid)) {\n      return data.lid;\n    }\n    var {\n      type,\n      id\n    } = data;\n    if (isNonEmptyString(coerceId(id))) {\n      return `@ember-data:lid-${normalizeModelName(type)}-${id}`;\n    }\n    return uuidv4();\n  }\n  var IdentifierCaches = new WeakMap();\n  function identifierCacheFor(store) {\n    var cache = IdentifierCaches.get(store);\n    if (cache === undefined) {\n      cache = new IdentifierCache$1();\n      IdentifierCaches.set(store, cache);\n    }\n    return cache;\n  }\n  function defaultEmptyCallback(...args) {}\n  var DEBUG_MAP;\n  {\n    DEBUG_MAP = new WeakMap();\n  }\n\n  /**\n   * Each instance of {Store} receives a unique instance of a IdentifierCache.\n   * \n   * This cache is responsible for assigning or retrieving the unique identify\n   * for arbitrary resource data encountered by the store. Data representing\n   * a unique resource or record should always be represented by the same\n   * identifier.\n   * \n   * It can be configured by consuming applications.\n   * \n   * @class IdentifierCache\n     @public\n   */\n  class IdentifierCache$1 {\n    constructor() {\n      // Typescript still leaks private properties in the final\n      // compiled class, so we may want to move these from _underscore\n      // to a WeakMap to avoid leaking\n      // currently we leak this for test purposes\n      this._cache = {\n        lids: Object.create(null),\n        types: Object.create(null)\n      };\n      this._generate = void 0;\n      this._update = void 0;\n      this._forget = void 0;\n      this._reset = void 0;\n      this._merge = void 0;\n      // we cache the user configuredGenerationMethod at init because it must\n      // be configured prior and is not allowed to be changed\n      this._generate = configuredGenerationMethod || defaultGenerationMethod;\n      this._update = configuredUpdateMethod || defaultEmptyCallback;\n      this._forget = configuredForgetMethod || defaultEmptyCallback;\n      this._reset = configuredResetMethod || defaultEmptyCallback;\n      this._merge = defaultEmptyCallback;\n    }\n\n    /**\n     * Internal hook to allow management of merge conflicts with identifiers.\n     *\n     * we allow late binding of this private internal merge so that `internalModelFactory`\n     * can insert itself here to handle elimination of duplicates\n     *\n     * @method __configureMerge\n     * @private\n     */\n    __configureMerge(method) {\n      this._merge = method || defaultEmptyCallback;\n    }\n\n    /**\n     * @method _getRecordIdentifier\n     * @private\n     */\n\n    _getRecordIdentifier(resource, shouldGenerate = false) {\n      // short circuit if we're already the stable version\n      if (isStableIdentifier(resource)) {\n        {\n          // TODO should we instead just treat this case as a new generation skipping the short circuit?\n          if (!(resource.lid in this._cache.lids) || this._cache.lids[resource.lid] !== resource) {\n            throw new Error(`The supplied identifier ${resource} does not belong to this store instance`);\n          }\n        }\n        return resource;\n      }\n      var lid = coerceId(resource.lid);\n      var identifier = lid !== null ? this._cache.lids[lid] : undefined;\n      if (identifier !== undefined) {\n        return identifier;\n      }\n      var type = normalizeModelName(resource.type);\n      var id = coerceId(resource.id);\n      if (shouldGenerate === false) {\n        if (!type || !id) {\n          return;\n        }\n      }\n\n      // `type` must always be present\n      {\n        if (!isNonEmptyString(resource.type)) {\n          throw new Error('resource.type needs to be a string');\n        }\n      }\n      var keyOptions = getTypeIndex(this._cache.types, type);\n\n      // go straight for the stable RecordIdentifier key'd to `lid`\n      if (lid !== null) {\n        identifier = keyOptions.lid[lid];\n      }\n\n      // we may have not seen this resource before\n      // but just in case we check our own secondary lookup (`id`)\n      if (identifier === undefined && id !== null) {\n        identifier = keyOptions.id[id];\n      }\n      if (identifier === undefined) {\n        // we have definitely not seen this resource before\n        // so we allow the user configured `GenerationMethod` to tell us\n        var newLid = this._generate(resource, 'record');\n\n        // we do this _even_ when `lid` is present because secondary lookups\n        // may need to be populated, but we enforce not giving us something\n        // different than expected\n        if (lid !== null && newLid !== lid) {\n          throw new Error(`You should not change the <lid> of a RecordIdentifier`);\n        } else if (lid === null) {\n          // allow configuration to tell us that we have\n          // seen this `lid` before. E.g. a secondary lookup\n          // connects this resource to a previously seen\n          // resource.\n          identifier = keyOptions.lid[newLid];\n        }\n        if (shouldGenerate === true) {\n          if (identifier === undefined) {\n            // if we still don't have an identifier, time to generate one\n            identifier = makeStableRecordIdentifier(id, type, newLid, 'record', false);\n\n            // populate our unique table\n            {\n              // realistically if you hit this it means you changed `type` :/\n              // TODO consider how to handle type change assertions more gracefully\n              if (identifier.lid in this._cache.lids) {\n                throw new Error(`You should not change the <type> of a RecordIdentifier`);\n              }\n            }\n            this._cache.lids[identifier.lid] = identifier;\n\n            // populate our primary lookup table\n            // TODO consider having the `lid` cache be\n            // one level up\n            keyOptions.lid[identifier.lid] = identifier;\n            // TODO exists temporarily to support `peekAll`\n            // but likely to move\n            keyOptions._allIdentifiers.push(identifier);\n          }\n\n          // populate our own secondary lookup table\n          // even for the \"successful\" secondary lookup\n          // by `_generate()`, since we missed the cache\n          // previously\n          // we use identifier.id instead of id here\n          // because they may not match and we prefer\n          // what we've set via resource data\n          if (identifier.id !== null) {\n            keyOptions.id[identifier.id] = identifier;\n\n            // TODO allow filling out of `id` here\n            // for the `username` non-client created\n            // case.\n          }\n        }\n      }\n      return identifier;\n    }\n\n    /**\n     * allows us to peek without generating when needed\n     * useful for the \"create\" case when we need to see if\n     * we are accidentally overwritting something\n     *\n     * @method peekRecordIdentifier\n     * @param resource\n     * @returns {StableRecordIdentifier | undefined}\n     * @private\n     */\n    peekRecordIdentifier(resource) {\n      return this._getRecordIdentifier(resource, false);\n    }\n\n    /**\n      Returns the Identifier for the given Resource, creates one if it does not yet exist.\n       Specifically this means that we:\n       - validate the `id` `type` and `lid` combo against known identifiers\n      - return an object with an `lid` that is stable (repeated calls with the same\n        `id` + `type` or `lid` will return the same `lid` value)\n      - this referential stability of the object itself is guaranteed\n       @method getOrCreateRecordIdentifier\n      @param resource \n      @returns {StableRecordIdentifier}\n      @public\n    */\n    getOrCreateRecordIdentifier(resource) {\n      return this._getRecordIdentifier(resource, true);\n    }\n\n    /**\n     Returns a new Identifier for the supplied data. Call this method to generate\n     an identifier when a new resource is being created local to the client and\n     potentially does not have an `id`.\n      Delegates generation to the user supplied `GenerateMethod` if one has been provided\n     with the signature `generateMethod({ type }, 'record')`.\n      @method createIdentifierForNewRecord\n     @param data\n     @returns {StableRecordIdentifier}\n     @public\n    */\n    createIdentifierForNewRecord(data) {\n      var newLid = this._generate(data, 'record');\n      var identifier = makeStableRecordIdentifier(data.id || null, data.type, newLid, 'record', true);\n      var keyOptions = getTypeIndex(this._cache.types, data.type);\n\n      // populate our unique table\n      {\n        if (identifier.lid in this._cache.lids) {\n          throw new Error(`The lid generated for the new record is not unique as it matches an existing identifier`);\n        }\n      }\n      this._cache.lids[identifier.lid] = identifier;\n\n      // populate the type+lid cache\n      keyOptions.lid[newLid] = identifier;\n      // ensure a peekAll sees our new identifier too\n      // TODO move this outta here?\n      keyOptions._allIdentifiers.push(identifier);\n      return identifier;\n    }\n\n    /**\n     Provides the opportunity to update secondary lookup tables for existing identifiers\n     Called after an identifier created with `createIdentifierForNewRecord` has been\n     committed.\n      Assigned `id` to an `Identifier` if `id` has not previously existed; however,\n     attempting to change the `id` or calling update without providing an `id` when\n     one is missing will throw an error.\n       - sets `id` (if `id` was previously `null`)\n      - `lid` and `type` MUST NOT be altered post creation\n       If a merge occurs, it is possible the returned identifier does not match the originally\n      provided identifier. In this case the abandoned identifier will go through the usual\n      `forgetRecordIdentifier` codepaths.\n       @method updateRecordIdentifier\n      @param identifierObject \n      @param data \n      @returns {StableRecordIdentifier}\n      @public\n    */\n    updateRecordIdentifier(identifierObject, data) {\n      var identifier = this.getOrCreateRecordIdentifier(identifierObject);\n      var newId = coerceId(data.id);\n      var existingIdentifier = detectMerge(this._cache.types, identifier, data, newId, this._cache.lids);\n      if (!existingIdentifier) {\n        // If the incoming type does not match the identifier type, we need to create an identifier for the incoming\n        // data so we can merge the incoming data with the existing identifier, see #7325 and #7363\n        if (data.type && identifier.type !== normalizeModelName(data.type)) {\n          var incomingDataResource = polyfills.assign({}, data);\n          // Need to strip the lid from the incomingData in order force a new identifier creation\n          delete incomingDataResource.lid;\n          existingIdentifier = this.getOrCreateRecordIdentifier(incomingDataResource);\n        }\n      }\n      if (existingIdentifier) {\n        var keyOptions = getTypeIndex(this._cache.types, identifier.type);\n        identifier = this._mergeRecordIdentifiers(keyOptions, identifier, existingIdentifier, data, newId);\n      }\n      var id = identifier.id;\n      performRecordIdentifierUpdate(identifier, data, this._update);\n      newId = identifier.id;\n\n      // add to our own secondary lookup table\n      if (id !== newId && newId !== null) {\n        var _keyOptions = getTypeIndex(this._cache.types, identifier.type);\n        _keyOptions.id[newId] = identifier;\n        if (id !== null) {\n          delete _keyOptions.id[id];\n        }\n      }\n      return identifier;\n    }\n\n    /**\n     * @method _mergeRecordIdentifiers\n     * @private\n     */\n    _mergeRecordIdentifiers(keyOptions, identifier, existingIdentifier, data, newId) {\n      // delegate determining which identifier to keep to the configured MergeMethod\n      var kept = this._merge(identifier, existingIdentifier, data);\n      var abandoned = kept === identifier ? existingIdentifier : identifier;\n\n      // cleanup the identifier we no longer need\n      this.forgetRecordIdentifier(abandoned);\n\n      // ensure a secondary cache entry for this id for the identifier we do keep\n      keyOptions.id[newId] = kept;\n      // ensure a secondary cache entry for this id for the abandoned identifier's type we do keep\n      var baseKeyOptions = getTypeIndex(this._cache.types, existingIdentifier.type);\n      baseKeyOptions.id[newId] = kept;\n\n      // make sure that the `lid` on the data we are processing matches the lid we kept\n      data.lid = kept.lid;\n      return kept;\n    }\n\n    /**\n     Provides the opportunity to eliminate an identifier from secondary lookup tables\n     as well as eliminates it from ember-data's own lookup tables and book keeping.\n      Useful when a record has been deleted and the deletion has been persisted and\n     we do not care about the record anymore. Especially useful when an `id` of a\n     deleted record might be reused later for a new record.\n      @method forgetRecordIdentifier\n     @param identifierObject\n     @public\n    */\n    forgetRecordIdentifier(identifierObject) {\n      var identifier = this.getOrCreateRecordIdentifier(identifierObject);\n      var keyOptions = getTypeIndex(this._cache.types, identifier.type);\n      if (identifier.id !== null) {\n        delete keyOptions.id[identifier.id];\n      }\n      delete this._cache.lids[identifier.lid];\n      delete keyOptions.lid[identifier.lid];\n      var index = keyOptions._allIdentifiers.indexOf(identifier);\n      keyOptions._allIdentifiers.splice(index, 1);\n      unmarkStableIdentifier(identifierObject);\n      this._forget(identifier, 'record');\n    }\n    destroy() {\n      this._reset();\n    }\n  }\n  function getTypeIndex(typeMap, type) {\n    var typeIndex = typeMap[type];\n    if (typeIndex === undefined) {\n      typeIndex = {\n        lid: Object.create(null),\n        id: Object.create(null),\n        _allIdentifiers: []\n      };\n      typeMap[type] = typeIndex;\n    }\n    return typeIndex;\n  }\n  function makeStableRecordIdentifier(id, type, lid, bucket, clientOriginated = false) {\n    var recordIdentifier = {\n      lid,\n      id,\n      type\n    };\n    markStableIdentifier(recordIdentifier);\n    {\n      // we enforce immutability in dev\n      //  but preserve our ability to do controlled updates to the reference\n      var wrapper = {\n        get lid() {\n          return recordIdentifier.lid;\n        },\n        get id() {\n          return recordIdentifier.id;\n        },\n        get type() {\n          return recordIdentifier.type;\n        },\n        toString() {\n          var {\n            type,\n            id,\n            lid\n          } = recordIdentifier;\n          return `${clientOriginated ? '[CLIENT_ORIGINATED] ' : ''}${type}:${id} (${lid})`;\n        }\n      };\n      addSymbol(wrapper, DEBUG_CLIENT_ORIGINATED, clientOriginated);\n      addSymbol(wrapper, DEBUG_IDENTIFIER_BUCKET, bucket);\n      wrapper = freeze$1(wrapper);\n      markStableIdentifier(wrapper);\n      DEBUG_MAP.set(wrapper, recordIdentifier);\n      return wrapper;\n    }\n  }\n  function performRecordIdentifierUpdate(identifier, data, updateFn) {\n    var {\n      id,\n      lid\n    } = data;\n    var type = data.type && normalizeModelName(data.type);\n    {\n      // get the mutable instance behind our proxy wrapper\n      var wrapper = identifier;\n      identifier = DEBUG_MAP.get(wrapper);\n      if (lid !== undefined) {\n        var newLid = coerceId(lid);\n        if (newLid !== identifier.lid) {\n          throw new Error(`The 'lid' for a RecordIdentifier cannot be updated once it has been created. Attempted to set lid for '${wrapper}' to '${lid}'.`);\n        }\n      }\n      if (id !== undefined) {\n        var newId = coerceId(id);\n        if (identifier.id !== null && identifier.id !== newId) {\n          // here we warn and ignore, as this may be a mistake, but we allow the user\n          // to have multiple cache-keys pointing at a single lid so we cannot error\n          (debug.warn(`The 'id' for a RecordIdentifier should not be updated once it has been set. Attempted to set id for '${wrapper}' to '${newId}'.`, false, {\n            id: 'ember-data:multiple-ids-for-identifier'\n          }));\n        }\n      }\n\n      // TODO consider just ignoring here to allow flexible polymorphic support\n      if (type && type !== identifier.type) {\n        throw new Error(`The 'type' for a RecordIdentifier cannot be updated once it has been set. Attempted to set type for '${wrapper}' to '${type}'.`);\n      }\n      updateFn(wrapper, data, 'record');\n    }\n\n    // upgrade the ID, this is a \"one time only\" ability\n    // for the multiple-cache-key scenario we \"could\"\n    // use a heuristic to guess the best id for display\n    // (usually when `data.id` is available and `data.attributes` is not)\n    if (id !== undefined) {\n      identifier.id = coerceId(id);\n    }\n  }\n  function detectMerge(typesCache, identifier, data, newId, lids) {\n    var {\n      id,\n      type,\n      lid\n    } = identifier;\n    if (id !== null && id !== newId && newId !== null) {\n      var keyOptions = getTypeIndex(typesCache, identifier.type);\n      var existingIdentifier = keyOptions.id[newId];\n      return existingIdentifier !== undefined ? existingIdentifier : false;\n    } else {\n      var newType = data.type && normalizeModelName(data.type);\n\n      // If the ids and type are the same but lid is not the same, we should trigger a merge of the identifiers\n      if (id !== null && id === newId && newType === type && data.lid && data.lid !== lid) {\n        var _existingIdentifier = lids[data.lid];\n        return _existingIdentifier !== undefined ? _existingIdentifier : false;\n        // If the lids are the same, and ids are the same, but types are different we should trigger a merge of the identifiers\n      } else if (id !== null && id === newId && newType && newType !== type && data.lid && data.lid === lid) {\n        var _keyOptions2 = getTypeIndex(typesCache, newType);\n        var _existingIdentifier2 = _keyOptions2.id[id];\n        return _existingIdentifier2 !== undefined ? _existingIdentifier2 : false;\n      }\n    }\n    return false;\n  }\n\n  function constructResource(type, id, lid) {\n    var trueId = coerceId(id);\n    if (!isNonEmptyString(trueId)) {\n      if (isNonEmptyString(lid)) {\n        return {\n          type,\n          id: trueId,\n          lid\n        };\n      }\n      throw new Error(`Expected either id or lid to be a valid string`);\n    }\n    if (isNonEmptyString(lid)) {\n      return {\n        type,\n        id: trueId,\n        lid\n      };\n    }\n    return {\n      type,\n      id: trueId\n    };\n  }\n\n  /**\n    @module @ember-data/store\n  */\n\n  /**\n    A `PromiseArray` is an object that acts like both an `Ember.Array`\n    and a promise. When the promise is resolved the resulting value\n    will be set to the `PromiseArray`'s `content` property. This makes\n    it easy to create data bindings with the `PromiseArray` that will be\n    updated when the promise resolves.\n\n    This class should not be imported and instantiated directly.\n\n    For more information see the [Ember.PromiseProxyMixin\n    documentation](/ember/release/classes/PromiseProxyMixin).\n\n    Example\n\n    ```javascript\n    let promiseArray = PromiseArray.create({\n      promise: $.getJSON('/some/remote/data.json')\n    });\n\n    promiseArray.get('length'); // 0\n\n    promiseArray.then(function() {\n      promiseArray.get('length'); // 100\n    });\n    ```\n\n    @class PromiseArray\n    @public\n    @extends Ember.ArrayProxy\n    @uses Ember.PromiseProxyMixin\n  */\n  var PromiseArray = ArrayProxy__default[\"default\"].extend(PromiseProxyMixin__default[\"default\"], {\n    meta: computed.reads('content.meta')\n  });\n\n  /**\n    A `PromiseObject` is an object that acts like both an `EmberObject`\n    and a promise. When the promise is resolved, then the resulting value\n    will be set to the `PromiseObject`'s `content` property. This makes\n    it easy to create data bindings with the `PromiseObject` that will\n    be updated when the promise resolves.\n\n    This class should not be imported and instantiated directly.\n\n    For more information see the [Ember.PromiseProxyMixin\n    documentation](/ember/release/classes/PromiseProxyMixin.html).\n\n    Example\n\n    ```javascript\n    let promiseObject = PromiseObject.create({\n      promise: $.getJSON('/some/remote/data.json')\n    });\n\n    promiseObject.get('name'); // null\n\n    promiseObject.then(function() {\n      promiseObject.get('name'); // 'Tomster'\n    });\n    ```\n\n    @class PromiseObject\n    @public\n    @extends Ember.ObjectProxy\n    @uses Ember.PromiseProxyMixin\n  */\n  var PromiseObject = ObjectProxy__default[\"default\"].extend(PromiseProxyMixin__default[\"default\"]);\n  function promiseObject(promise, label) {\n    return PromiseObject.create({\n      promise: RSVP.Promise.resolve(promise, label)\n    });\n  }\n  function promiseArray(promise, label) {\n    return PromiseArray.create({\n      promise: RSVP.Promise.resolve(promise, label)\n    });\n  }\n\n  /**\n    @module @ember-data/store\n  */\n\n  /**\n   * Get the materialized model from the internalModel/promise\n   * that returns an internal model and return it in a promiseObject.\n   *\n   * Useful for returning from find methods\n   *\n   * @internal\n   */\n  function promiseRecord(internalModelPromise, label) {\n    var toReturn = internalModelPromise.then(internalModel => internalModel.getRecord());\n    return promiseObject(toReturn, label);\n  }\n\n  /**\n    @module @ember-data/store\n  */\n\n  // TODO: expose Ember._Backburner as `import { _Backburner } from '@ember/runloop'` in ember-rfc176-data + emberjs/ember.js\n  /*\n    syncRelationships is used by the UI to grab updates from the graph\n    and update the ManyArrays.\n\n    We may be able to remove this once the new relationship layer is\n    complete.\n  */\n  var backburner = new Ember__default[\"default\"]._Backburner(['coalesce', 'sync', 'notify']);\n  {\n    test.registerWaiter(() => {\n      return !backburner.currentInstance && !backburner.hasTimers();\n    });\n  }\n\n  /**\n    @module @ember-data/adapter/error\n  */\n\n  var SOURCE_POINTER_REGEXP = /^\\/?data\\/(attributes|relationships)\\/(.*)/;\n  var SOURCE_POINTER_PRIMARY_REGEXP = /^\\/?data/;\n  var PRIMARY_ATTRIBUTE_KEY = 'base';\n\n  /**\n    Convert an hash of errors into an array with errors in JSON-API format.\n     ```javascript\n    import DS from 'ember-data';\n\n     const { errorsHashToArray } = DS;\n     \n     let errors = {\n      base: 'Invalid attributes on saving this record',\n      name: 'Must be present',\n      age: ['Must be present', 'Must be a number']\n    };\n     let errorsArray = errorsHashToArray(errors);\n    // [\n    //   {\n    //     title: \"Invalid Document\",\n    //     detail: \"Invalid attributes on saving this record\",\n    //     source: { pointer: \"/data\" }\n    //   },\n    //   {\n    //     title: \"Invalid Attribute\",\n    //     detail: \"Must be present\",\n    //     source: { pointer: \"/data/attributes/name\" }\n    //   },\n    //   {\n    //     title: \"Invalid Attribute\",\n    //     detail: \"Must be present\",\n    //     source: { pointer: \"/data/attributes/age\" }\n    //   },\n    //   {\n    //     title: \"Invalid Attribute\",\n    //     detail: \"Must be a number\",\n    //     source: { pointer: \"/data/attributes/age\" }\n    //   }\n    // ]\n    ```\n    @method errorsHashToArray\n    @for @ember-data/adapter/error\n    @static\n    @public\n    @param {Object} errors hash with errors as properties\n    @return {Array} array of errors in JSON-API format\n  */\n  function errorsHashToArray(errors) {\n    var out = [];\n    if (utils.isPresent(errors)) {\n      Object.keys(errors).forEach(key => {\n        var messages = EmberArray.makeArray(errors[key]);\n        for (var i = 0; i < messages.length; i++) {\n          var title = 'Invalid Attribute';\n          var pointer = `/data/attributes/${key}`;\n          if (key === PRIMARY_ATTRIBUTE_KEY) {\n            title = 'Invalid Document';\n            pointer = `/data`;\n          }\n          out.push({\n            title: title,\n            detail: messages[i],\n            source: {\n              pointer: pointer\n            }\n          });\n        }\n      });\n    }\n    return out;\n  }\n\n  /**\n    Convert an array of errors in JSON-API format into an object.\n\n    ```javascript\n    import DS from 'ember-data';\n\n    const { errorsArrayToHash } = DS;\n\n    let errorsArray = [\n      {\n        title: 'Invalid Attribute',\n        detail: 'Must be present',\n        source: { pointer: '/data/attributes/name' }\n      },\n      {\n        title: 'Invalid Attribute',\n        detail: 'Must be present',\n        source: { pointer: '/data/attributes/age' }\n      },\n      {\n        title: 'Invalid Attribute',\n        detail: 'Must be a number',\n        source: { pointer: '/data/attributes/age' }\n      }\n    ];\n\n    let errors = errorsArrayToHash(errorsArray);\n    // {\n    //   \"name\": [\"Must be present\"],\n    //   \"age\":  [\"Must be present\", \"must be a number\"]\n    // }\n    ```\n\n    @method errorsArrayToHash\n    @static\n    @for @ember-data/adapter/error\n    @public\n    @param {Array} errors array of errors in JSON-API format\n    @return {Object}\n  */\n  function errorsArrayToHash(errors) {\n    var out = {};\n    if (utils.isPresent(errors)) {\n      errors.forEach(error => {\n        if (error.source && error.source.pointer) {\n          var key = error.source.pointer.match(SOURCE_POINTER_REGEXP);\n          if (key) {\n            key = key[2];\n          } else if (error.source.pointer.search(SOURCE_POINTER_PRIMARY_REGEXP) !== -1) {\n            key = PRIMARY_ATTRIBUTE_KEY;\n          }\n          if (key) {\n            out[key] = out[key] || [];\n            out[key].push(error.detail || error.title);\n          }\n        }\n      });\n    }\n    return out;\n  }\n\n  var RequestStateEnum = /*#__PURE__*/function (RequestStateEnum) {\n    RequestStateEnum[\"pending\"] = \"pending\";\n    RequestStateEnum[\"fulfilled\"] = \"fulfilled\";\n    RequestStateEnum[\"rejected\"] = \"rejected\";\n    return RequestStateEnum;\n  }({});\n\n  var Touching = symbol('touching');\n  var RequestPromise = symbol('promise');\n  function hasRecordIdentifier(op) {\n    return 'recordIdentifier' in op;\n  }\n  class RequestCache {\n    constructor() {\n      this._pending = Object.create(null);\n      this._done = Object.create(null);\n      this._subscriptions = Object.create(null);\n    }\n    enqueue(promise, queryRequest) {\n      var query = queryRequest.data[0];\n      if (hasRecordIdentifier(query)) {\n        var lid = query.recordIdentifier.lid;\n        var type = query.op === 'saveRecord' ? 'mutation' : 'query';\n        if (!this._pending[lid]) {\n          this._pending[lid] = [];\n        }\n        var request = {\n          state: RequestStateEnum.pending,\n          request: queryRequest,\n          type\n        };\n        addSymbol(request, Touching, [query.recordIdentifier]);\n        addSymbol(request, RequestPromise, promise);\n        this._pending[lid].push(request);\n        this._triggerSubscriptions(request);\n        promise.then(result => {\n          this._dequeue(lid, request);\n          var finalizedRequest = {\n            state: RequestStateEnum.fulfilled,\n            request: queryRequest,\n            type,\n            response: {\n              data: result\n            }\n          };\n          addSymbol(finalizedRequest, Touching, request[Touching]);\n          this._addDone(finalizedRequest);\n          this._triggerSubscriptions(finalizedRequest);\n        }, error => {\n          this._dequeue(lid, request);\n          var finalizedRequest = {\n            state: RequestStateEnum.rejected,\n            request: queryRequest,\n            type,\n            response: {\n              data: error && error.error\n            }\n          };\n          addSymbol(finalizedRequest, Touching, request[Touching]);\n          this._addDone(finalizedRequest);\n          this._triggerSubscriptions(finalizedRequest);\n        });\n      }\n    }\n    _triggerSubscriptions(req) {\n      req[Touching].forEach(identifier => {\n        if (this._subscriptions[identifier.lid]) {\n          this._subscriptions[identifier.lid].forEach(callback => callback(req));\n        }\n      });\n    }\n    _dequeue(lid, request) {\n      this._pending[lid] = this._pending[lid].filter(req => req !== request);\n    }\n    _addDone(request) {\n      request[Touching].forEach(identifier => {\n        if (!this._done[identifier.lid]) {\n          this._done[identifier.lid] = [];\n        }\n        // TODO add support for multiple\n        var requestDataOp = request.request.data[0].op;\n        this._done[identifier.lid] = this._done[identifier.lid].filter(req => {\n          // TODO add support for multiple\n          var data;\n          if (req.request.data instanceof Array) {\n            data = req.request.data[0];\n          } else {\n            data = req.request.data;\n          }\n          return data.op !== requestDataOp;\n        });\n        this._done[identifier.lid].push(request);\n      });\n    }\n    subscribeForRecord(identifier, callback) {\n      if (!this._subscriptions[identifier.lid]) {\n        this._subscriptions[identifier.lid] = [];\n      }\n      this._subscriptions[identifier.lid].push(callback);\n    }\n    getPendingRequestsForRecord(identifier) {\n      if (this._pending[identifier.lid]) {\n        return this._pending[identifier.lid];\n      }\n      return [];\n    }\n    getLastRequestForRecord(identifier) {\n      var requests = this._done[identifier.lid];\n      if (requests) {\n        return requests[requests.length - 1];\n      }\n      return null;\n    }\n  }\n\n  /*\n   * Returns the RecordData instance associated with a given\n   * Model or InternalModel.\n   *\n   * Intentionally \"loose\" to allow anything with an _internalModel\n   * property until InternalModel is eliminated.\n   *\n   * Intentionally not typed to `InternalModel` due to circular dependency\n   *  which that creates.\n   *\n   * Overtime, this should shift to a \"weakmap\" based lookup in the\n   *  \"Ember.getOwner(obj)\" style.\n   */\n\n  var IdentifierCache = new WeakMap();\n  function setRecordDataFor(identifier, recordData) {\n    (!(!IdentifierCache.has(identifier)) && debug.assert(`Illegal set of identifier`, !IdentifierCache.has(identifier)));\n    IdentifierCache.set(identifier, recordData);\n  }\n  function removeRecordDataFor(identifier) {\n    IdentifierCache.delete(identifier);\n  }\n  function recordDataFor(instance) {\n    if (IdentifierCache.has(instance)) {\n      return IdentifierCache.get(instance);\n    }\n    var internalModel = instance._internalModel || instance.internalModel || instance;\n    return internalModel._recordData || null;\n  }\n\n  /**\n    @module @ember-data/store\n  */\n  function schemaIsDSModel(schema) {\n    return schema.isModel === true;\n  }\n  /**\n    Snapshot is not directly instantiable.\n    Instances are provided to a consuming application's\n    adapters and serializers for certain requests.  \n    \n    @class Snapshot\n    @public\n  */\n  class Snapshot {\n    /**\n     * @method constructor\n     * @constructor\n     * @private\n     * @param options\n     * @param identifier\n     * @param _store\n     */\n    constructor(options, identifier, _store) {\n      this.__attributes = null;\n      this._belongsToRelationships = Object.create(null);\n      this._belongsToIds = Object.create(null);\n      this._hasManyRelationships = Object.create(null);\n      this._hasManyIds = Object.create(null);\n      this._internalModel = void 0;\n      this._changedAttributes = void 0;\n      this.identifier = void 0;\n      this.modelName = void 0;\n      this.id = void 0;\n      this.include = void 0;\n      this.adapterOptions = void 0;\n      this._store = _store;\n      var internalModel = this._internalModel = _store._internalModelForResource(identifier);\n      this.modelName = identifier.type;\n      {\n        // TODO add public docs once this FF is on\n        this.identifier = identifier;\n      }\n      /*\n        If the internalModel does not yet have a record, then we are\n        likely a snapshot being provided to a find request, so we\n        populate __attributes lazily. Else, to preserve the \"moment\n        in time\" in which a snapshot is created, we greedily grab\n        the values.\n       */\n      if (internalModel.hasRecord) {\n        this._attributes;\n      }\n\n      /**\n       The id of the snapshot's underlying record\n        Example\n        ```javascript\n       // store.push('post', { id: 1, author: 'Tomster', title: 'Ember.js rocks' });\n       postSnapshot.id; // => '1'\n       ```\n        @property id\n       @type {String}\n       @public\n       */\n      this.id = identifier.id;\n\n      /**\n       A hash of adapter options\n       @property adapterOptions\n       @type {Object}\n       @public\n       */\n      this.adapterOptions = options.adapterOptions;\n\n      /**\n       If `include` was passed to the options hash for the request, the value\n       would be available here.\n        @property include\n       @type {String|Array}\n       @public\n       */\n      this.include = options.include;\n\n      /**\n       The name of the type of the underlying record for this snapshot, as a string.\n        @property modelName\n       @type {String}\n       @public\n       */\n      this.modelName = internalModel.modelName;\n      if (internalModel.hasRecord) {\n        this._changedAttributes = recordDataFor(internalModel).changedAttributes();\n      }\n    }\n\n    /**\n     The underlying record for this snapshot. Can be used to access methods and\n     properties defined on the record.\n      Example\n      ```javascript\n     let json = snapshot.record.toJSON();\n     ```\n      @property record\n     @type {Model}\n     @public\n     */\n    get record() {\n      return this._internalModel.getRecord();\n    }\n    get _attributes() {\n      if (this.__attributes !== null) {\n        return this.__attributes;\n      }\n      var record = this.record;\n      var attributes = this.__attributes = Object.create(null);\n      var attrs;\n      {\n        attrs = Object.keys(this._store._attributesDefinitionFor(this.modelName, this.identifier));\n      }\n      {\n        attrs.forEach(keyName => {\n          if (schemaIsDSModel(this.type)) {\n            // if the schema is for a DSModel then the instance is too\n            attributes[keyName] = object.get(record, keyName);\n          } else {\n            attributes[keyName] = recordDataFor(this._internalModel).getAttr(keyName);\n          }\n        });\n      }\n      return attributes;\n    }\n\n    /**\n     The type of the underlying record for this snapshot, as a Model.\n      @property type\n      @public\n     @type {Model}\n     */\n    get type() {\n      return this._internalModel.modelClass;\n    }\n    get isNew() {\n      return this._internalModel.isNew();\n    }\n\n    /**\n     Returns the value of an attribute.\n      Example\n      ```javascript\n     // store.push('post', { id: 1, author: 'Tomster', title: 'Ember.js rocks' });\n     postSnapshot.attr('author'); // => 'Tomster'\n     postSnapshot.attr('title'); // => 'Ember.js rocks'\n     ```\n      Note: Values are loaded eagerly and cached when the snapshot is created.\n      @method attr\n     @param {String} keyName\n     @return {Object} The attribute value or undefined\n     @public\n     */\n    attr(keyName) {\n      if (keyName in this._attributes) {\n        return this._attributes[keyName];\n      }\n      (debug.assert(`Model '${this.identifier}' has no attribute named '${keyName}' defined.`, false));\n    }\n\n    /**\n     Returns all attributes and their corresponding values.\n      Example\n      ```javascript\n     // store.push('post', { id: 1, author: 'Tomster', title: 'Ember.js rocks' });\n     postSnapshot.attributes(); // => { author: 'Tomster', title: 'Ember.js rocks' }\n     ```\n      @method attributes\n     @return {Object} All attributes of the current snapshot\n     @public\n     */\n    attributes() {\n      return polyfills.assign({}, this._attributes);\n    }\n\n    /**\n     Returns all changed attributes and their old and new values.\n      Example\n      ```javascript\n     // store.push('post', { id: 1, author: 'Tomster', title: 'Ember.js rocks' });\n     postModel.set('title', 'Ember.js rocks!');\n     postSnapshot.changedAttributes(); // => { title: ['Ember.js rocks', 'Ember.js rocks!'] }\n     ```\n      @method changedAttributes\n     @return {Object} All changed attributes of the current snapshot\n     @public\n     */\n    changedAttributes() {\n      var changedAttributes = Object.create(null);\n      if (!this._changedAttributes) {\n        return changedAttributes;\n      }\n      var changedAttributeKeys = Object.keys(this._changedAttributes);\n      for (var i = 0, length = changedAttributeKeys.length; i < length; i++) {\n        var key = changedAttributeKeys[i];\n        changedAttributes[key] = this._changedAttributes[key].slice();\n      }\n      return changedAttributes;\n    }\n\n    /**\n     Returns the current value of a belongsTo relationship.\n      `belongsTo` takes an optional hash of options as a second parameter,\n     currently supported options are:\n      - `id`: set to `true` if you only want the ID of the related record to be\n     returned.\n      Example\n      ```javascript\n     // store.push('post', { id: 1, title: 'Hello World' });\n     // store.createRecord('comment', { body: 'Lorem ipsum', post: post });\n     commentSnapshot.belongsTo('post'); // => Snapshot\n     commentSnapshot.belongsTo('post', { id: true }); // => '1'\n      // store.push('comment', { id: 1, body: 'Lorem ipsum' });\n     commentSnapshot.belongsTo('post'); // => undefined\n     ```\n      Calling `belongsTo` will return a new Snapshot as long as there's any known\n     data for the relationship available, such as an ID. If the relationship is\n     known but unset, `belongsTo` will return `null`. If the contents of the\n     relationship is unknown `belongsTo` will return `undefined`.\n      Note: Relationships are loaded lazily and cached upon first access.\n      @method belongsTo\n     @param {String} keyName\n     @param {Object} [options]\n     @public\n     @return {(Snapshot|String|null|undefined)} A snapshot or ID of a known\n     relationship or null if the relationship is known but unset. undefined\n     will be returned if the contents of the relationship is unknown.\n     */\n    belongsTo(keyName, options) {\n      var returnModeIsId = !!(options && options.id);\n      var inverseInternalModel;\n      var result;\n      var store = this._internalModel.store;\n      if (returnModeIsId === true && keyName in this._belongsToIds) {\n        return this._belongsToIds[keyName];\n      }\n      if (returnModeIsId === false && keyName in this._belongsToRelationships) {\n        return this._belongsToRelationships[keyName];\n      }\n      var relationshipMeta = store._relationshipMetaFor(this.modelName, null, keyName);\n      (!(relationshipMeta && relationshipMeta.kind === 'belongsTo') && debug.assert(`Model '${this.identifier}' has no belongsTo relationship named '${keyName}' defined.`, relationshipMeta && relationshipMeta.kind === 'belongsTo')); // TODO @runspired it seems this code branch would not work with CUSTOM_MODEL_CLASSes\n      var graphFor = require('@ember-data/record-data/-private').graphFor;\n      var {\n        identifier\n      } = this ;\n      var relationship = graphFor(this._store._storeWrapper).get(identifier, keyName);\n      (!(relationship) && debug.assert(`You looked up the ${keyName} belongsTo relationship for { type: ${identifier.type}, id: ${identifier.id}, lid: ${identifier.lid} but no such relationship was found.`, relationship));\n      (!(relationship.definition.kind === 'belongsTo') && debug.assert(`You looked up the ${keyName} belongsTo relationship for { type: ${identifier.type}, id: ${identifier.id}, lid: ${identifier.lid} but that relationship is a hasMany.`, relationship.definition.kind === 'belongsTo'));\n      var value = relationship.getData();\n      var data = value && value.data;\n      inverseInternalModel = data ? store._internalModelForResource(data) : null;\n      if (value && value.data !== undefined) {\n        if (inverseInternalModel && !inverseInternalModel.isDeleted()) {\n          if (returnModeIsId) {\n            result = inverseInternalModel.id;\n          } else {\n            result = inverseInternalModel.createSnapshot();\n          }\n        } else {\n          result = null;\n        }\n      }\n      if (returnModeIsId) {\n        this._belongsToIds[keyName] = result;\n      } else {\n        this._belongsToRelationships[keyName] = result;\n      }\n      return result;\n    }\n\n    /**\n     Returns the current value of a hasMany relationship.\n      `hasMany` takes an optional hash of options as a second parameter,\n     currently supported options are:\n      - `ids`: set to `true` if you only want the IDs of the related records to be\n     returned.\n      Example\n      ```javascript\n     // store.push('post', { id: 1, title: 'Hello World', comments: [2, 3] });\n     postSnapshot.hasMany('comments'); // => [Snapshot, Snapshot]\n     postSnapshot.hasMany('comments', { ids: true }); // => ['2', '3']\n      // store.push('post', { id: 1, title: 'Hello World' });\n     postSnapshot.hasMany('comments'); // => undefined\n     ```\n      Note: Relationships are loaded lazily and cached upon first access.\n      @method hasMany\n     @param {String} keyName\n     @param {Object} [options]\n     @public\n     @return {(Array|undefined)} An array of snapshots or IDs of a known\n     relationship or an empty array if the relationship is known but unset.\n     undefined will be returned if the contents of the relationship is unknown.\n     */\n    hasMany(keyName, options) {\n      var returnModeIsIds = !!(options && options.ids);\n      var results;\n      var cachedIds = this._hasManyIds[keyName];\n      var cachedSnapshots = this._hasManyRelationships[keyName];\n      if (returnModeIsIds === true && keyName in this._hasManyIds) {\n        return cachedIds;\n      }\n      if (returnModeIsIds === false && keyName in this._hasManyRelationships) {\n        return cachedSnapshots;\n      }\n      var store = this._internalModel.store;\n      var relationshipMeta = store._relationshipMetaFor(this.modelName, null, keyName);\n      (!(relationshipMeta && relationshipMeta.kind === 'hasMany') && debug.assert(`Model '${this.identifier}' has no hasMany relationship named '${keyName}' defined.`, relationshipMeta && relationshipMeta.kind === 'hasMany')); // TODO @runspired it seems this code branch would not work with CUSTOM_MODEL_CLASSes\n      var graphFor = require('@ember-data/record-data/-private').graphFor;\n      var {\n        identifier\n      } = this ;\n      var relationship = graphFor(this._store._storeWrapper).get(identifier, keyName);\n      (!(relationship) && debug.assert(`You looked up the ${keyName} hasMany relationship for { type: ${identifier.type}, id: ${identifier.id}, lid: ${identifier.lid} but no such relationship was found.`, relationship));\n      (!(relationship.definition.kind === 'hasMany') && debug.assert(`You looked up the ${keyName} hasMany relationship for { type: ${identifier.type}, id: ${identifier.id}, lid: ${identifier.lid} but that relationship is a belongsTo.`, relationship.definition.kind === 'hasMany'));\n      var value = relationship.getData();\n      if (value.data) {\n        results = [];\n        value.data.forEach(member => {\n          var internalModel = store._internalModelForResource(member);\n          if (!internalModel.isDeleted()) {\n            if (returnModeIsIds) {\n              results.push(member.id);\n            } else {\n              results.push(internalModel.createSnapshot());\n            }\n          }\n        });\n      }\n\n      // we assign even if `undefined` so that we don't reprocess the relationship\n      // on next access. This works with the `keyName in` checks above.\n      if (returnModeIsIds) {\n        this._hasManyIds[keyName] = results;\n      } else {\n        this._hasManyRelationships[keyName] = results;\n      }\n      return results;\n    }\n\n    /**\n      Iterates through all the attributes of the model, calling the passed\n      function on each attribute.\n       Example\n       ```javascript\n      snapshot.eachAttribute(function(name, meta) {\n        // ...\n      });\n      ```\n       @method eachAttribute\n      @param {Function} callback the callback to execute\n      @param {Object} [binding] the value to which the callback's `this` should be bound\n      @public\n    */\n    eachAttribute(callback, binding) {\n      {\n        var attrDefs = this._store._attributesDefinitionFor(this.modelName, this.identifier);\n        Object.keys(attrDefs).forEach(key => {\n          callback.call(binding, key, attrDefs[key]);\n        });\n      }\n    }\n\n    /**\n      Iterates through all the relationships of the model, calling the passed\n      function on each relationship.\n       Example\n       ```javascript\n      snapshot.eachRelationship(function(name, relationship) {\n        // ...\n      });\n      ```\n       @method eachRelationship\n      @param {Function} callback the callback to execute\n      @param {Object} [binding] the value to which the callback's `this` should be bound\n      @public\n    */\n    eachRelationship(callback, binding) {\n      {\n        var relationshipDefs = this._store._relationshipsDefinitionFor(this.modelName, this.identifier);\n        Object.keys(relationshipDefs).forEach(key => {\n          callback.call(binding, key, relationshipDefs[key]);\n        });\n      }\n    }\n\n    /**\n      Serializes the snapshot using the serializer for the model.\n       Example\n       ```app/adapters/application.js\n      import Adapter from '@ember-data/adapter';\n       export default Adapter.extend({\n        createRecord(store, type, snapshot) {\n          let data = snapshot.serialize({ includeId: true });\n          let url = `/${type.modelName}`;\n           return fetch(url, {\n            method: 'POST',\n            body: data,\n          }).then((response) => response.json())\n        }\n      });\n      ```\n       @method serialize\n      @param {Object} options\n      @return {Object} an object whose values are primitive JSON values only\n      @public\n     */\n    serialize(options) {\n      return this._store.serializerFor(this.modelName).serialize(this, options);\n    }\n  }\n\n  /**\n    @module @ember-data/store\n  */\n\n  function _bind(fn, ...args) {\n    return function () {\n      return fn.apply(undefined, args);\n    };\n  }\n  function _guard(promise, test) {\n    var guarded = promise.finally(() => {\n      if (!test()) {\n        guarded._subscribers.length = 0;\n      }\n    });\n    return guarded;\n  }\n  function _objectIsAlive(object$1) {\n    return !(object.get(object$1, 'isDestroyed') || object.get(object$1, 'isDestroying'));\n  }\n  function guardDestroyedStore(promise, store, label) {\n    var token;\n    {\n      token = store._trackAsyncRequestStart(label);\n    }\n    var wrapperPromise = RSVP.resolve(promise, label).then(v => promise);\n    return _guard(wrapperPromise, () => {\n      {\n        store._trackAsyncRequestEnd(token);\n      }\n      return _objectIsAlive(store);\n    });\n  }\n\n  /**\n    This is a helper method that validates a JSON API top-level document\n\n    The format of a document is described here:\n    http://jsonapi.org/format/#document-top-level\n\n    @internal\n  */\n  function validateDocumentStructure(doc) {\n    var errors = [];\n    if (!doc || typeof doc !== 'object') {\n      errors.push('Top level of a JSON API document must be an object');\n    } else {\n      if (!('data' in doc) && !('errors' in doc) && !('meta' in doc)) {\n        errors.push('One or more of the following keys must be present: \"data\", \"errors\", \"meta\".');\n      } else {\n        if ('data' in doc && 'errors' in doc) {\n          errors.push('Top level keys \"errors\" and \"data\" cannot both be present in a JSON API document');\n        }\n      }\n      if ('data' in doc) {\n        if (!(doc.data === null || Array.isArray(doc.data) || typeof doc.data === 'object')) {\n          errors.push('data must be null, an object, or an array');\n        }\n      }\n      if ('meta' in doc) {\n        if (typeof doc.meta !== 'object') {\n          errors.push('meta must be an object');\n        }\n      }\n      if ('errors' in doc) {\n        if (!Array.isArray(doc.errors)) {\n          errors.push('errors must be an array');\n        }\n      }\n      if ('links' in doc) {\n        if (typeof doc.links !== 'object') {\n          errors.push('links must be an object');\n        }\n      }\n      if ('jsonapi' in doc) {\n        if (typeof doc.jsonapi !== 'object') {\n          errors.push('jsonapi must be an object');\n        }\n      }\n      if ('included' in doc) {\n        if (typeof doc.included !== 'object') {\n          errors.push('included must be an array');\n        }\n      }\n    }\n    return errors;\n  }\n  function normalizeResponseHelper(serializer, store, modelClass, payload, id, requestType) {\n    var normalizedResponse = serializer.normalizeResponse(store, modelClass, payload, id, requestType);\n    var validationErrors = [];\n    {\n      validationErrors = validateDocumentStructure(normalizedResponse);\n    }\n    (!(validationErrors.length === 0) && debug.assert(`normalizeResponse must return a valid JSON API document:\\n\\t* ${validationErrors.join('\\n\\t* ')}`, validationErrors.length === 0));\n    return normalizedResponse;\n  }\n\n  /**\n   * @module @ember-data/store\n   */\n  function payloadIsNotBlank$1(adapterPayload) {\n    if (Array.isArray(adapterPayload)) {\n      return true;\n    } else {\n      return Object.keys(adapterPayload || {}).length !== 0;\n    }\n  }\n  var SaveOp = symbol('SaveOp');\n  /**\n   * Manages the state of network requests initiated by the store\n   *\n   * @class FetchManager\n   * @private\n   */\n  class FetchManager {\n    constructor(_store) {\n      this.isDestroyed = void 0;\n      this.requestCache = void 0;\n      // saves which are pending in the runloop\n      this._pendingSave = void 0;\n      // fetches pending in the runloop, waiting to be coalesced\n      this._pendingFetch = void 0;\n      this._store = _store;\n      // used to keep track of all the find requests that need to be coalesced\n      this._pendingFetch = new Map();\n      this._pendingSave = [];\n      this.requestCache = new RequestCache();\n    }\n\n    /**\n      This method is called by `record.save`, and gets passed a\n      resolver for the promise that `record.save` returns.\n       It schedules saving to happen at the end of the run loop.\n       @internal\n    */\n    scheduleSave(identifier, options = {}) {\n      var promiseLabel = 'DS: Model#save ' + this;\n      var resolver = RSVP__default[\"default\"].defer(promiseLabel);\n      var query = {\n        op: 'saveRecord',\n        recordIdentifier: identifier,\n        options\n      };\n      var queryRequest = {\n        data: [query]\n      };\n      var snapshot = new Snapshot(options, identifier, this._store);\n      var pendingSaveItem = {\n        snapshot: snapshot,\n        resolver: resolver,\n        identifier,\n        options,\n        queryRequest\n      };\n      this._pendingSave.push(pendingSaveItem);\n      runloop._backburner.scheduleOnce('actions', this, this._flushPendingSaves);\n      this.requestCache.enqueue(resolver.promise, pendingSaveItem.queryRequest);\n      return resolver.promise;\n    }\n    _flushPendingSave(pending) {\n      var {\n        snapshot,\n        resolver,\n        identifier,\n        options\n      } = pending;\n      var adapter = this._store.adapterFor(identifier.type);\n      var operation = options[SaveOp];\n\n      // TODO We have to cast due to our reliance on this private property\n      // this will be refactored away once we change our pending API to be identifier based\n      var internalModel = snapshot._internalModel;\n      var modelName = snapshot.modelName;\n      var store = this._store;\n      var modelClass = store.modelFor(modelName);\n      (!(adapter) && debug.assert(`You tried to update a record but you have no adapter (for ${modelName})`, adapter));\n      (!(typeof adapter[operation] === 'function') && debug.assert(`You tried to update a record but your adapter (for ${modelName}) does not implement '${operation}'`, typeof adapter[operation] === 'function'));\n      var promise = RSVP.Promise.resolve().then(() => adapter[operation](store, modelClass, snapshot));\n      var serializer = store.serializerFor(modelName);\n      var label = `DS: Extract and notify about ${operation} completion of ${internalModel}`;\n      (!(promise !== undefined) && debug.assert(`Your adapter's '${operation}' method must return a value, but it returned 'undefined'`, promise !== undefined));\n      promise = guardDestroyedStore(promise, store, label);\n      promise = _guard(promise, _bind(_objectIsAlive, internalModel));\n      promise = promise.then(adapterPayload => {\n        if (adapterPayload) {\n          return normalizeResponseHelper(serializer, store, modelClass, adapterPayload, snapshot.id, operation);\n        }\n      }, function (error) {\n        if (error && error.isAdapterError === true && error.code === 'InvalidError') {\n          var parsedErrors = error.errors;\n          if (typeof serializer.extractErrors === 'function') {\n            parsedErrors = serializer.extractErrors(store, modelClass, error, snapshot.id);\n          } else {\n            parsedErrors = errorsArrayToHash(error.errors);\n          }\n          throw {\n            error,\n            parsedErrors\n          };\n        } else {\n          throw {\n            error\n          };\n        }\n      }, label);\n      resolver.resolve(promise);\n    }\n\n    /**\n      This method is called at the end of the run loop, and\n      flushes any records passed into `scheduleSave`\n       @method flushPendingSave\n      @internal\n    */\n    _flushPendingSaves() {\n      var pending = this._pendingSave.slice();\n      this._pendingSave = [];\n      for (var i = 0, j = pending.length; i < j; i++) {\n        var pendingItem = pending[i];\n        this._flushPendingSave(pendingItem);\n      }\n    }\n    scheduleFetch(identifier, options, shouldTrace) {\n      // TODO Probably the store should pass in the query object\n\n      var query = {\n        op: 'findRecord',\n        recordIdentifier: identifier,\n        options\n      };\n      var queryRequest = {\n        data: [query]\n      };\n      var pendingFetches = this._pendingFetch.get(identifier.type);\n\n      // We already have a pending fetch for this\n      if (pendingFetches) {\n        var matchingPendingFetch = pendingFetches.filter(fetch => fetch.identifier.id === identifier.id)[0];\n        if (matchingPendingFetch) {\n          return matchingPendingFetch.resolver.promise;\n        }\n      }\n      var id = identifier.id;\n      var modelName = identifier.type;\n      var resolver = RSVP__default[\"default\"].defer(`Fetching ${modelName}' with id: ${id}`);\n      var pendingFetchItem = {\n        identifier,\n        resolver,\n        options,\n        queryRequest\n      };\n      {\n        if (shouldTrace) {\n          var trace;\n          try {\n            throw new Error(`Trace Origin for scheduled fetch for ${modelName}:${id}.`);\n          } catch (e) {\n            trace = e;\n          }\n\n          // enable folks to discover the origin of this findRecord call when\n          // debugging. Ideally we would have a tracked queue for requests with\n          // labels or local IDs that could be used to merge this trace with\n          // the trace made available when we detect an async leak\n          pendingFetchItem.trace = trace;\n        }\n      }\n      var promise = resolver.promise;\n      if (this._pendingFetch.size === 0) {\n        runloop._backburner.schedule('actions', this, this.flushAllPendingFetches);\n      }\n      var fetches = this._pendingFetch;\n      if (!fetches.has(modelName)) {\n        fetches.set(modelName, []);\n      }\n      fetches.get(modelName).push(pendingFetchItem);\n      this.requestCache.enqueue(promise, pendingFetchItem.queryRequest);\n      return promise;\n    }\n    _fetchRecord(fetchItem) {\n      var identifier = fetchItem.identifier;\n      var modelName = identifier.type;\n      var adapter = this._store.adapterFor(modelName);\n      (!(adapter) && debug.assert(`You tried to find a record but you have no adapter (for ${modelName})`, adapter));\n      (!(typeof adapter.findRecord === 'function') && debug.assert(`You tried to find a record but your adapter (for ${modelName}) does not implement 'findRecord'`, typeof adapter.findRecord === 'function'));\n      var snapshot = new Snapshot(fetchItem.options, identifier, this._store);\n      var klass = this._store.modelFor(identifier.type);\n      var promise = RSVP.Promise.resolve().then(() => {\n        return adapter.findRecord(this._store, klass, identifier.id, snapshot);\n      });\n      var id = identifier.id;\n      var label = `DS: Handle Adapter#findRecord of '${modelName}' with id: '${id}'`;\n      promise = guardDestroyedStore(promise, this._store, label);\n      promise = promise.then(adapterPayload => {\n        (!(!!payloadIsNotBlank$1(adapterPayload)) && debug.assert(`You made a 'findRecord' request for a '${modelName}' with id '${id}', but the adapter's response did not have any data`, !!payloadIsNotBlank$1(adapterPayload)));\n        var serializer = this._store.serializerFor(modelName);\n        var payload = normalizeResponseHelper(serializer, this._store, klass, adapterPayload, id, 'findRecord');\n        (!(!Array.isArray(payload.data)) && debug.assert(`Ember Data expected the primary data returned from a 'findRecord' response to be an object but instead it found an array.`, !Array.isArray(payload.data)));\n        (!('data' in payload && payload.data !== null && typeof payload.data === 'object') && debug.assert(`The 'findRecord' request for ${modelName}:${id} resolved indicating success but contained no primary data. To indicate a 404 not found you should either reject the promise returned by the adapter's findRecord method or throw a NotFoundError.`, 'data' in payload && payload.data !== null && typeof payload.data === 'object'));\n        (debug.warn(`You requested a record of type '${modelName}' with id '${id}' but the adapter returned a payload with primary data having an id of '${payload.data.id}'. Use 'store.findRecord()' when the requested id is the same as the one returned by the adapter. In other cases use 'store.queryRecord()' instead.`, coerceId(payload.data.id) === coerceId(id), {\n          id: 'ds.store.findRecord.id-mismatch'\n        }));\n        return payload;\n      }, error => {\n        throw error;\n      }, `DS: Extract payload of '${modelName}'`);\n      fetchItem.resolver.resolve(promise);\n    }\n\n    // TODO should probably refactor expectedSnapshots to be identifiers\n    handleFoundRecords(seeking, coalescedPayload, expectedSnapshots) {\n      // resolve found records\n      var found = Object.create(null);\n      var payloads = coalescedPayload.data;\n      var coalescedIncluded = coalescedPayload.included || [];\n      for (var i = 0, l = payloads.length; i < l; i++) {\n        var payload = payloads[i];\n        var pair = seeking[payload.id];\n        found[payload.id] = payload;\n        var included = coalescedIncluded.concat(payloads);\n\n        // TODO remove original data from included\n        if (pair) {\n          var resolver = pair.resolver;\n          resolver.resolve({\n            data: payload,\n            included\n          });\n        }\n      }\n\n      // reject missing records\n\n      // TODO NOW clean this up to refer to payloads\n      var missingSnapshots = [];\n      for (var _i = 0, _l = expectedSnapshots.length; _i < _l; _i++) {\n        var snapshot = expectedSnapshots[_i];\n        assertIsString(snapshot.id);\n\n        // We know id is a string because you can't fetch\n        // without one.\n        if (!found[snapshot.id]) {\n          missingSnapshots.push(snapshot);\n        }\n      }\n      if (missingSnapshots.length) {\n        (debug.warn('Ember Data expected to find records with the following ids in the adapter response but they were missing: [ \"' + missingSnapshots.map(r => r.id).join('\", \"') + '\" ]', false, {\n          id: 'ds.store.missing-records-from-adapter'\n        }));\n        this.rejectFetchedItems(seeking, missingSnapshots);\n      }\n    }\n    rejectFetchedItems(seeking, snapshots, error) {\n      for (var i = 0, l = snapshots.length; i < l; i++) {\n        var snapshot = snapshots[i];\n        assertIsString(snapshot.id);\n        // TODO refactor to identifier.lid to avoid this cast to string\n        //  we can do this case because you can only fetch an identifier\n        //  that has an ID\n        var pair = seeking[snapshot.id];\n        if (pair) {\n          pair.resolver.reject(error || new Error(`Expected: '<${snapshot.modelName}:${snapshot.id}>' to be present in the adapter provided payload, but it was not found.`));\n        }\n      }\n    }\n    _findMany(adapter, store, modelName, snapshots, identifiers, optionsMap) {\n      var modelClass = store.modelFor(modelName); // `adapter.findMany` gets the modelClass still\n      var ids = snapshots.map(s => s.id);\n      var promise = adapter.findMany(store, modelClass, ids, EmberArray.A(snapshots));\n      var label = `DS: Handle Adapter#findMany of '${modelName}'`;\n      if (promise === undefined) {\n        throw new Error('adapter.findMany returned undefined, this was very likely a mistake');\n      }\n      promise = guardDestroyedStore(promise, store, label);\n      return promise.then(adapterPayload => {\n        (!(!!payloadIsNotBlank$1(adapterPayload)) && debug.assert(`You made a 'findMany' request for '${modelName}' records with ids '[${ids}]', but the adapter's response did not have any data`, !!payloadIsNotBlank$1(adapterPayload)));\n        var serializer = store.serializerFor(modelName);\n        var payload = normalizeResponseHelper(serializer, store, modelClass, adapterPayload, null, 'findMany');\n        return payload;\n      }, null, `DS: Extract payload of ${modelName}`);\n    }\n    _processCoalescedGroup(seeking, group, adapter, optionsMap, modelName) {\n      //TODO check what happened with identifiers here\n      var totalInGroup = group.length;\n      var ids = new Array(totalInGroup);\n      var groupedSnapshots = new Array(totalInGroup);\n      for (var j = 0; j < totalInGroup; j++) {\n        groupedSnapshots[j] = group[j];\n        ids[j] = groupedSnapshots[j].id;\n      }\n      var store = this._store;\n      if (totalInGroup > 1) {\n        this._findMany(adapter, store, modelName, group, groupedSnapshots, optionsMap).then(payloads => {\n          this.handleFoundRecords(seeking, payloads, groupedSnapshots);\n        }).catch(error => {\n          this.rejectFetchedItems(seeking, groupedSnapshots, error);\n        });\n      } else if (ids.length === 1) {\n        var pair = seeking[groupedSnapshots[0].id];\n        this._fetchRecord(pair);\n      } else {\n        (debug.assert(\"You cannot return an empty array from adapter's method groupRecordsForFindMany\", false));\n      }\n    }\n    _flushPendingFetchForType(pendingFetchItems, modelName) {\n      var adapter = this._store.adapterFor(modelName);\n      var shouldCoalesce = !!adapter.findMany && adapter.coalesceFindRequests;\n      var totalItems = pendingFetchItems.length;\n      var identifiers = new Array(totalItems);\n      var seeking = Object.create(null);\n      var optionsMap = new WeakMap();\n      for (var i = 0; i < totalItems; i++) {\n        var pendingItem = pendingFetchItems[i];\n        var identifier = pendingItem.identifier;\n        identifiers[i] = identifier;\n        optionsMap.set(identifier, pendingItem.options);\n        seeking[identifier.id] = pendingItem;\n      }\n      if (shouldCoalesce) {\n        // TODO: Improve records => snapshots => records => snapshots\n        //\n        // We want to provide records to all store methods and snapshots to all\n        // adapter methods. To make sure we're doing that we're providing an array\n        // of snapshots to adapter.groupRecordsForFindMany(), which in turn will\n        // return grouped snapshots instead of grouped records.\n        //\n        // But since the _findMany() finder is a store method we need to get the\n        // records from the grouped snapshots even though the _findMany() finder\n        // will once again convert the records to snapshots for adapter.findMany()\n        var snapshots = new Array(totalItems);\n        for (var _i2 = 0; _i2 < totalItems; _i2++) {\n          // we know options is in the map due to having just set it above\n          // but TS doesn't know so we cast it\n          var options = optionsMap.get(identifiers[_i2]);\n          snapshots[_i2] = new Snapshot(options, identifiers[_i2], this._store);\n        }\n        var groups;\n        if (adapter.groupRecordsForFindMany) {\n          groups = adapter.groupRecordsForFindMany(this, snapshots);\n        } else {\n          groups = [snapshots];\n        }\n        for (var _i3 = 0, l = groups.length; _i3 < l; _i3++) {\n          this._processCoalescedGroup(seeking, groups[_i3], adapter, optionsMap, modelName);\n        }\n      } else {\n        for (var _i4 = 0; _i4 < totalItems; _i4++) {\n          this._fetchRecord(pendingFetchItems[_i4]);\n        }\n      }\n    }\n    getPendingFetch(identifier, options) {\n      var pendingRequests = this.requestCache.getPendingRequestsForRecord(identifier).filter(req => {\n        return req.type === 'query' && isSameRequest(options, req.request.data[0].options);\n      });\n      if (pendingRequests.length > 0) {\n        return pendingRequests[0][RequestPromise];\n      }\n    }\n    flushAllPendingFetches() {\n      if (this.isDestroyed) {\n        return;\n      }\n      this._pendingFetch.forEach(this._flushPendingFetchForType, this);\n      this._pendingFetch.clear();\n    }\n    destroy() {\n      this.isDestroyed = true;\n    }\n  }\n  function assertIsString(id) {\n    {\n      if (typeof id !== 'string') {\n        throw new Error(`Cannot fetch record without an id`);\n      }\n    }\n  }\n\n  // this function helps resolve whether we have a pending request that we should use instead\n  function isSameRequest(options = {}, reqOptions = {}) {\n    return options.include === reqOptions.include;\n  }\n\n  /**\n    @module @ember-data/store\n  */\n\n  var INSTANCE_DEPRECATIONS;\n  var lookupDeprecations;\n  var DeprecatedEvented;\n  {\n    INSTANCE_DEPRECATIONS = new WeakMap();\n    lookupDeprecations = function lookupInstanceDrecations(instance) {\n      var deprecations = INSTANCE_DEPRECATIONS.get(instance);\n      if (!deprecations) {\n        deprecations = {};\n        INSTANCE_DEPRECATIONS.set(instance, deprecations);\n      }\n      return deprecations;\n    };\n    DeprecatedEvented = Mixin__default[\"default\"].create(Evented__default[\"default\"], {\n      /*\n       * Provides a way to call Evented without logging deprecation warnings\n       */\n      _has(name) {\n        return Evented__default[\"default\"].mixins[0].properties.has.call(this, name);\n      },\n      _on() {\n        return Evented__default[\"default\"].mixins[0].properties.on.call(this, ...arguments);\n      },\n      _deprecateEvented(eventName) {\n        var deprecations = lookupDeprecations(this);\n        var _deprecationData = this._getDeprecatedEventedInfo ? `on ${this._getDeprecatedEventedInfo()}` : '';\n        var deprecationMessage = _deprecationData ? `Called ${eventName} ${_deprecationData}` : eventName;\n        (!(deprecations[eventName]) && debug.deprecate(deprecationMessage, deprecations[eventName], {\n          id: 'ember-data:evented-api-usage',\n          until: '4.0',\n          url: 'https://deprecations.emberjs.com/ember-data/v3.x/#deprecatingrecordlifecycleeventmethods',\n          for: '@ember-data/model',\n          since: {\n            available: '3.12',\n            enabled: '3.12'\n          }\n        }));\n        deprecations[eventName] = true;\n      },\n      has(name) {\n        this._deprecateEvented(name);\n        return this._super(...arguments);\n      },\n      off(name, target, method) {\n        this._deprecateEvented(name);\n        return this._super(...arguments);\n      },\n      on(name, target, method) {\n        this._deprecateEvented(name);\n        return this._super(...arguments);\n      },\n      one(name, target, method) {\n        this._deprecateEvented(name);\n        return this._super(...arguments);\n      },\n      trigger(name) {\n        this._deprecateEvented(name);\n        return this._super(...arguments);\n      }\n    });\n  }\n  var DeprecatedEvented$1 = DeprecatedEvented  ;\n\n  /**\n    @module @ember-data/store\n  */\n\n  /**\n    SnapshotRecordArray is not directly instantiable.\n    Instances are provided to consuming application's\n    adapters for certain requests.  \n\n    @class SnapshotRecordArray\n    @public\n  */\n  class SnapshotRecordArray {\n    /**\n      SnapshotRecordArray is not directly instantiable.\n      Instances are provided to consuming application's\n      adapters and serializers for certain requests.  \n       @method constructor\n      @private\n      @constructor\n      @param {RecordArray} recordArray\n      @param {Object} meta\n      @param options \n     */\n    constructor(recordArray, meta, options = {}) {\n      this._snapshots = void 0;\n      this._recordArray = void 0;\n      this._type = void 0;\n      this.length = void 0;\n      this.meta = void 0;\n      this.adapterOptions = void 0;\n      this.include = void 0;\n      /**\n        An array of snapshots\n        @private\n        @property _snapshots\n        @type {Array}\n      */\n      this._snapshots = null;\n\n      /**\n        An array of records\n        @private\n        @property _recordArray\n        @type {Array}\n      */\n      this._recordArray = recordArray;\n\n      /**\n        Number of records in the array\n         Example\n         ```app/adapters/post.js\n        import JSONAPIAdapter from '@ember-data/adapter/json-api';\n         export default class PostAdapter extends JSONAPIAdapter {\n          shouldReloadAll(store, snapshotRecordArray) {\n            return !snapshotRecordArray.length;\n          }\n        });\n        ```\n         @property length\n        @public\n        @type {Number}\n      */\n      this.length = recordArray.get('length');\n      this._type = null;\n\n      /**\n        Meta objects for the record array.\n         Example\n         ```app/adapters/post.js\n        import JSONAPIAdapter from '@ember-data/adapter/json-api';\n         export default class PostAdapter extends JSONAPIAdapter {\n          shouldReloadAll(store, snapshotRecordArray) {\n            let lastRequestTime = snapshotRecordArray.meta.lastRequestTime;\n            let twentyMinutes = 20 * 60 * 1000;\n            return Date.now() > lastRequestTime + twentyMinutes;\n          }\n        });\n        ```\n         @property meta\n        @public\n        @type {Object}\n      */\n      this.meta = meta;\n\n      /**\n        A hash of adapter options passed into the store method for this request.\n         Example\n         ```app/adapters/post.js\n        import MyCustomAdapter from './custom-adapter';\n         export default class PostAdapter extends MyCustomAdapter {\n          findAll(store, type, sinceToken, snapshotRecordArray) {\n            if (snapshotRecordArray.adapterOptions.subscribe) {\n              // ...\n            }\n            // ...\n          }\n        }\n        ```\n         @property adapterOptions\n        @public\n        @type {Object}\n      */\n      this.adapterOptions = options.adapterOptions;\n\n      /**\n        The relationships to include for this request.\n         Example\n         ```app/adapters/application.js\n        import Adapter from '@ember-data/adapter';\n         export default class ApplicationAdapter extends Adapter {\n          findAll(store, type, snapshotRecordArray) {\n            let url = `/${type.modelName}?include=${encodeURIComponent(snapshotRecordArray.include)}`;\n             return fetch(url).then((response) => response.json())\n          }\n        }\n        ```\n         @property include\n        @public\n        @type {String|Array}\n      */\n      this.include = options.include;\n    }\n\n    /**\n      The type of the underlying records for the snapshots in the array, as a Model\n      @property type\n      @public\n      @type {Model}\n    */\n    get type() {\n      return this._type || (this._type = this._recordArray.get('type'));\n    }\n    /**\n      The modelName of the underlying records for the snapshots in the array, as a Model\n      @property modelName\n      @public\n      @type {Model}\n    */\n    get modelName() {\n      return this._recordArray.modelName;\n    }\n\n    /**\n      Get snapshots of the underlying record array\n       Example\n       ```app/adapters/post.js\n      import JSONAPIAdapter from '@ember-data/adapter/json-api';\n       export default class PostAdapter extends JSONAPIAdapter {\n        shouldReloadAll(store, snapshotArray) {\n          let snapshots = snapshotArray.snapshots();\n           return snapshots.any(function(ticketSnapshot) {\n            let timeDiff = moment().diff(ticketSnapshot.attr('lastAccessedAt'), 'minutes');\n            if (timeDiff > 20) {\n              return true;\n            } else {\n              return false;\n            }\n          });\n        }\n      }\n      ```\n       @method snapshots\n      @public\n      @return {Array} Array of snapshots\n    */\n    snapshots() {\n      if (this._snapshots !== null) {\n        return this._snapshots;\n      }\n      this._snapshots = this._recordArray._takeSnapshot();\n      return this._snapshots;\n    }\n  }\n\n  /**\n    @module @ember-data/store\n  */\n\n  /**\n   `InternalModelMap` is a custom storage map for internalModels of a given modelName\n   used by `IdentityMap`.\n\n   It was extracted from an implicit pojo based \"internalModel map\" and preserves\n   that interface while we work towards a more official API.\n\n   @class InternalModelMap\n   @internal\n   */\n  class InternalModelMap {\n    constructor(modelName) {\n      this._idToModel = Object.create(null);\n      this._models = [];\n      this.modelName = modelName;\n    }\n    get(id) {\n      return this._idToModel[id] || null;\n    }\n    has(id) {\n      return !!this._idToModel[id];\n    }\n    get length() {\n      return this._models.length;\n    }\n    get recordIdentifiers() {\n      return this._models.map(m => m.identifier);\n    }\n    set(id, internalModel) {\n      (!(typeof id === 'string' && id.length > 0) && debug.assert(`You cannot index an internalModel by an empty id'`, typeof id === 'string' && id.length > 0));\n      (!(internalModel instanceof InternalModel) && debug.assert(`You cannot set an index for an internalModel to something other than an internalModel`, internalModel instanceof InternalModel));\n      (!(this.contains(internalModel)) && debug.assert(`You cannot set an index for an internalModel that is not in the InternalModelMap`, this.contains(internalModel)));\n      (!(!this.has(id) || this.get(id) === internalModel) && debug.assert(`You cannot update the id index of an InternalModel once set. Attempted to update ${id}.`, !this.has(id) || this.get(id) === internalModel));\n      this._idToModel[id] = internalModel;\n    }\n    add(internalModel, id) {\n      (!(!this.contains(internalModel)) && debug.assert(`You cannot re-add an already present InternalModel to the InternalModelMap.`, !this.contains(internalModel)));\n      if (id) {\n        (!(!this.has(id) || this.get(id) === internalModel) && debug.assert(`Duplicate InternalModel for ${this.modelName}:${id} detected.`, !this.has(id) || this.get(id) === internalModel));\n        this._idToModel[id] = internalModel;\n      }\n      this._models.push(internalModel);\n    }\n    remove(internalModel, id) {\n      delete this._idToModel[id];\n      var loc = this._models.indexOf(internalModel);\n      if (loc !== -1) {\n        this._models.splice(loc, 1);\n      }\n    }\n    contains(internalModel) {\n      return this._models.indexOf(internalModel) !== -1;\n    }\n\n    /**\n     An array of all models of this modelName\n     @property models\n     @internal\n     @type Array\n     */\n    get models() {\n      return this._models;\n    }\n\n    /**\n     Destroy all models in the map\n      @internal\n     */\n    clear() {\n      var internalModels = this._models;\n      this._models = [];\n      for (var i = 0; i < internalModels.length; i++) {\n        var internalModel = internalModels[i];\n        internalModel.unloadRecord();\n      }\n    }\n  }\n\n  /**\n    @module @ember-data/store\n  */\n\n  /**\n   `IdentityMap` is a custom storage map for records by modelName\n   used by `Store`.\n\n   @class IdentityMap\n   @internal\n   */\n  class IdentityMap {\n    constructor() {\n      this._map = Object.create(null);\n    }\n    /**\n     Retrieves the `InternalModelMap` for a given modelName,\n     creating one if one did not already exist. This is\n     similar to `getWithDefault` or `get` on a `MapWithDefault`\n      @method retrieve\n     @internal\n     @param modelName a previously normalized modelName\n     @return {InternalModelMap} the InternalModelMap for the given modelName\n     */\n    retrieve(modelName) {\n      var map = this._map[modelName];\n      if (map === undefined) {\n        map = this._map[modelName] = new InternalModelMap(modelName);\n      }\n      return map;\n    }\n\n    /**\n     Clears the contents of all known `RecordMaps`, but does\n     not remove the InternalModelMap instances.\n      @internal\n     */\n    clear() {\n      var map = this._map;\n      var keys = Object.keys(map);\n      for (var i = 0; i < keys.length; i++) {\n        var key = keys[i];\n        map[key].clear();\n      }\n    }\n  }\n\n  /**\n    @module @ember-data/store\n  */\n\n  var FactoryCache = new WeakMap();\n  var RecordCache = new WeakMap();\n  function peekRecordIdentifier(record) {\n    return RecordCache.get(record);\n  }\n\n  /**\n   * Retrieves the unique referentially-stable RecordIdentifier assigned to the given\n   * record instance.\n   *\n   * @method recordIdentifierFor\n   * @public\n   * @static\n   * @for @ember-data/store\n   * @param {Object} record a record instance previously obstained from the store.\n   * @returns\n   */\n  function recordIdentifierFor(record) {\n    var identifier = RecordCache.get(record);\n    if (identifier === undefined) {\n      throw new Error(`${record} is not a record instantiated by @ember-data/store`);\n    }\n    return identifier;\n  }\n  function setRecordIdentifier(record, identifier) {\n    if (RecordCache.has(record)) {\n      throw new Error(`${record} was already assigned an identifier`);\n    }\n\n    /*\n    It would be nice to do a reverse check here that an identifier has not\n    previously been assigned a record; however, unload + rematerialization\n    prevents us from having a great way of doing so when CustomRecordClasses\n    don't necessarily give us access to a `isDestroyed` for dematerialized\n    instance.\n    */\n\n    RecordCache.set(record, identifier);\n  }\n  function internalModelFactoryFor(store) {\n    var factory = FactoryCache.get(store);\n    if (factory === undefined) {\n      factory = new InternalModelFactory(store);\n      FactoryCache.set(store, factory);\n    }\n    return factory;\n  }\n\n  /**\n   * The InternalModelFactory handles the lifecyle of\n   * instantiating, caching, and destroying InternalModel\n   * instances.\n   *\n   * @class InternalModelFactory\n   * @internal\n   */\n  class InternalModelFactory {\n    constructor(store) {\n      this._identityMap = void 0;\n      this._newlyCreated = void 0;\n      this.identifierCache = void 0;\n      this.store = store;\n      this.identifierCache = identifierCacheFor(store);\n      this.identifierCache.__configureMerge((identifier, matchedIdentifier, resourceData) => {\n        var intendedIdentifier = identifier;\n        if (identifier.id !== matchedIdentifier.id) {\n          intendedIdentifier = identifier.id === resourceData.id ? identifier : matchedIdentifier;\n        } else if (identifier.type !== matchedIdentifier.type) {\n          intendedIdentifier = identifier.type === resourceData.type ? identifier : matchedIdentifier;\n        }\n        var altIdentifier = identifier === intendedIdentifier ? matchedIdentifier : identifier;\n\n        // check for duplicate InternalModel's\n        var map = this.modelMapFor(identifier.type);\n        var im = map.get(intendedIdentifier.lid);\n        var otherIm = map.get(altIdentifier.lid);\n\n        // we cannot merge internalModels when both have records\n        // (this may not be strictly true, we could probably swap the internalModel the record points at)\n        if (im && otherIm && im.hasRecord && otherIm.hasRecord) {\n          throw new Error(`Failed to update the 'id' for the RecordIdentifier '${identifier.type}:${identifier.id} (${identifier.lid})' to '${resourceData.id}', because that id is already in use by '${matchedIdentifier.type}:${matchedIdentifier.id} (${matchedIdentifier.lid})'`);\n        }\n\n        // remove otherIm from cache\n        if (otherIm) {\n          map.remove(otherIm, altIdentifier.lid);\n        }\n        if (im === null && otherIm === null) {\n          // nothing more to do\n          return intendedIdentifier;\n\n          // only the other has an InternalModel\n          // OR only the other has a Record\n        } else if (im === null && otherIm !== null || im && !im.hasRecord && otherIm && otherIm.hasRecord) {\n          if (im) {\n            // TODO check if we are retained in any async relationships\n            map.remove(im, intendedIdentifier.lid);\n            // im.destroy();\n          }\n          im = otherIm;\n          // TODO do we need to notify the id change?\n          im._id = intendedIdentifier.id;\n          map.add(im, intendedIdentifier.lid);\n\n          // just use im\n        } else ;\n\n        /*\n        TODO @runspired consider adding this to make polymorphism even nicer\n        if (HAS_RECORD_DATA_PACKAGE) {\n          if (identifier.type !== matchedIdentifier.type) {\n            const graphFor = require('@ember-data/record-data/-private').graphFor;\n            graphFor(this).registerPolymorphicType(identifier.type, matchedIdentifier.type);\n          }\n        }\n        */\n\n        return intendedIdentifier;\n      });\n      this._identityMap = new IdentityMap();\n    }\n\n    /**\n     * Retrieve the InternalModel for a given { type, id, lid }.\n     *\n     * If an InternalModel does not exist, it instantiates one.\n     *\n     * If an InternalModel does exist bus has a scheduled destroy,\n     *   the scheduled destroy will be cancelled.\n     *\n     * @method lookup\n     * @private\n     */\n    lookup(resource, data) {\n      if (data !== undefined) {\n        // if we've been given data associated with this lookup\n        // we must first give secondary-caches for LIDs the\n        // opportunity to populate based on it\n        this.identifierCache.getOrCreateRecordIdentifier(data);\n      }\n      var identifier = this.identifierCache.getOrCreateRecordIdentifier(resource);\n      var internalModel = this.peek(identifier);\n      if (internalModel) {\n        // unloadRecord is async, if one attempts to unload + then sync push,\n        //   we must ensure the unload is canceled before continuing\n        //   The createRecord path will take _existingInternalModelForId()\n        //   which will call `destroySync` instead for this unload + then\n        //   sync createRecord scenario. Once we have true client-side\n        //   delete signaling, we should never call destroySync\n        if (internalModel.hasScheduledDestroy()) {\n          internalModel.cancelDestroy();\n        }\n        return internalModel;\n      }\n      return this._build(identifier, false);\n    }\n\n    /**\n     * Peek the InternalModel for a given { type, id, lid }.\n     *\n     * If an InternalModel does not exist, return `null`.\n     *\n     * @method peek\n     * @private\n     */\n    peek(identifier) {\n      return this.modelMapFor(identifier.type).get(identifier.lid);\n    }\n    getByResource(resource) {\n      var normalizedResource = constructResource(resource.type, resource.id, resource.lid);\n      return this.lookup(normalizedResource);\n    }\n    setRecordId(type, id, lid) {\n      var resource = {\n        type,\n        id: null,\n        lid\n      };\n      var identifier = this.identifierCache.getOrCreateRecordIdentifier(resource);\n      var internalModel = this.peek(identifier);\n      if (internalModel === null) {\n        throw new Error(`Cannot set the id ${id} on the record ${type}:${lid} as there is no such record in the cache.`);\n      }\n      var oldId = internalModel.id;\n      var modelName = internalModel.modelName;\n\n      // ID absolutely can't be missing if the oldID is empty (missing Id in response for a new record)\n      (!(!(id === null && oldId === null)) && debug.assert(`'${modelName}' was saved to the server, but the response does not have an id and your record does not either.`, !(id === null && oldId === null))); // ID absolutely can't be different than oldID if oldID is not null\n      // TODO this assertion and restriction may not strictly be needed in the identifiers world\n      (!(!(oldId !== null && id !== oldId)) && debug.assert(`Cannot update the id for '${modelName}:${lid}' from '${oldId}' to '${id}'.`, !(oldId !== null && id !== oldId))); // ID can be null if oldID is not null (altered ID in response for a record)\n      // however, this is more than likely a developer error.\n      if (oldId !== null && id === null) {\n        (debug.warn(`Your ${modelName} record was saved to the server, but the response does not have an id.`, !(oldId !== null && id === null)));\n        return;\n      }\n      var existingInternalModel = this.peekById(modelName, id);\n      (!(utils.isNone(existingInternalModel) || existingInternalModel === internalModel) && debug.assert(`'${modelName}' was saved to the server, but the response returned the new id '${id}', which has already been used with another record.'`, utils.isNone(existingInternalModel) || existingInternalModel === internalModel));\n      if (identifier.id === null) {\n        this.identifierCache.updateRecordIdentifier(identifier, {\n          type,\n          id\n        });\n      }\n      internalModel.setId(id, true);\n    }\n    peekById(type, id) {\n      var identifier = this.identifierCache.peekRecordIdentifier({\n        type,\n        id\n      });\n      var internalModel = identifier ? this.modelMapFor(type).get(identifier.lid) : null;\n      if (internalModel && internalModel.hasScheduledDestroy()) {\n        // unloadRecord is async, if one attempts to unload + then sync create,\n        //   we must ensure the unload is complete before starting the create\n        //   The push path will take this.lookup()\n        //   which will call `cancelDestroy` instead for this unload + then\n        //   sync push scenario. Once we have true client-side\n        //   delete signaling, we should never call destroySync\n        internalModel.destroySync();\n        internalModel = null;\n      }\n      return internalModel;\n    }\n    build(newResourceInfo) {\n      return this._build(newResourceInfo, true);\n    }\n    _build(resource, isCreate = false) {\n      if (isCreate === true && resource.id) {\n        var existingInternalModel = this.peekById(resource.type, resource.id);\n        (!(!existingInternalModel) && debug.assert(`The id ${resource.id} has already been used with another '${resource.type}' record.`, !existingInternalModel));\n      }\n      var {\n        identifierCache\n      } = this;\n      var identifier;\n      if (isCreate === true) {\n        identifier = identifierCache.createIdentifierForNewRecord(resource);\n      } else {\n        identifier = resource;\n      }\n\n      // lookupFactory should really return an object that creates\n      // instances with the injections applied\n      var internalModel = new InternalModel(this.store, identifier);\n      this.modelMapFor(resource.type).add(internalModel, identifier.lid);\n      return internalModel;\n    }\n    remove(internalModel) {\n      var recordMap = this.modelMapFor(internalModel.modelName);\n      var clientId = internalModel.identifier.lid;\n      recordMap.remove(internalModel, clientId);\n      var {\n        identifier\n      } = internalModel;\n      this.identifierCache.forgetRecordIdentifier(identifier);\n    }\n    modelMapFor(type) {\n      return this._identityMap.retrieve(type);\n    }\n    _newlyCreatedModelsFor(type) {\n      return this._newlyCreated.retrieve(type);\n    }\n    clear(type) {\n      if (type === undefined) {\n        this._identityMap.clear();\n      } else {\n        this.modelMapFor(type).clear();\n      }\n    }\n  }\n\n  /**\n    @module @ember-data/store\n  */\n  function recordForIdentifier(store, identifier) {\n    return internalModelFactoryFor(store).lookup(identifier).getRecord();\n  }\n\n  /**\n    A record array is an array that contains records of a certain modelName. The record\n    array materializes records as needed when they are retrieved for the first\n    time. You should not create record arrays yourself. Instead, an instance of\n    `RecordArray` or its subclasses will be returned by your application's store\n    in response to queries.\n\n    This class should not be imported and instantiated by consuming applications.\n\n    @class RecordArray\n    @public\n    @extends Ember.ArrayProxy\n    @uses Ember.Evented\n  */\n\n  var RecordArray = ArrayProxy__default[\"default\"].extend(DeprecatedEvented$1, {\n    init(args) {\n      this._super(args);\n      {\n        this._getDeprecatedEventedInfo = () => `RecordArray containing ${this.modelName}`;\n      }\n\n      /**\n        The array of client ids backing the record array. When a\n        record is requested from the record array, the record\n        for the client id at the same index is materialized, if\n        necessary, by the store.\n         @property content\n        @private\n        @type Ember.Array\n        */\n      this.set('content', this.content || null);\n\n      /**\n      The flag to signal a `RecordArray` is finished loading data.\n       Example\n       ```javascript\n      let people = store.peekAll('person');\n      people.get('isLoaded'); // true\n      ```\n       @property isLoaded\n      @public\n      @type Boolean\n      */\n      this.isLoaded = this.isLoaded || false;\n      /**\n      The flag to signal a `RecordArray` is currently loading data.\n       Example\n       ```javascript\n      let people = store.peekAll('person');\n      people.get('isUpdating'); // false\n      people.update();\n      people.get('isUpdating'); // true\n      ```\n       @property isUpdating\n      @public\n      @type Boolean\n      */\n      this.isUpdating = false;\n\n      /**\n      The store that created this record array.\n       @property store\n      @private\n      @type Store\n      */\n      this.store = this.store || null;\n      this._updatingPromise = null;\n    },\n    replace() {\n      throw new Error(`The result of a server query (for all ${this.modelName} types) is immutable. To modify contents, use toArray()`);\n    },\n    /**\n     The modelClass represented by this record array.\n      @property type\n      @public\n     @type {subclass of Model}\n     */\n    type: object.computed('modelName', function () {\n      if (!this.modelName) {\n        return null;\n      }\n      return this.store.modelFor(this.modelName);\n    }).readOnly(),\n    /**\n      Retrieves an object from the content by index.\n       @method objectAtContent\n      @private\n      @param {Number} index\n      @return {Model} record\n    */\n    objectAtContent(index) {\n      var identifier = object.get(this, 'content').objectAt(index);\n      return identifier ? recordForIdentifier(this.store, identifier) : undefined;\n    },\n    /**\n      Used to get the latest version of all of the records in this array\n      from the adapter.\n       Example\n       ```javascript\n      let people = store.peekAll('person');\n      people.get('isUpdating'); // false\n       people.update().then(function() {\n        people.get('isUpdating'); // false\n      });\n       people.get('isUpdating'); // true\n      ```\n       @method update\n      @public\n    */\n    update() {\n      if (object.get(this, 'isUpdating')) {\n        return this._updatingPromise;\n      }\n      this.set('isUpdating', true);\n      var updatingPromise = this._update().finally(() => {\n        this._updatingPromise = null;\n        if (this.get('isDestroying') || this.get('isDestroyed')) {\n          return;\n        }\n        this.set('isUpdating', false);\n      });\n      this._updatingPromise = updatingPromise;\n      return updatingPromise;\n    },\n    /*\n      Update this RecordArray and return a promise which resolves once the update\n      is finished.\n     */\n    _update() {\n      return this.store.findAll(this.modelName, {\n        reload: true\n      });\n    },\n    /**\n      Saves all of the records in the `RecordArray`.\n       Example\n       ```javascript\n      let messages = store.peekAll('message');\n      messages.forEach(function(message) {\n        message.set('hasBeenSeen', true);\n      });\n      messages.save();\n      ```\n       @method save\n      @public\n      @return {PromiseArray} promise\n    */\n    save() {\n      var promiseLabel = `DS: RecordArray#save ${this.modelName}`;\n      var promise = RSVP.Promise.all(this.invoke('save'), promiseLabel).then(() => this, null, 'DS: RecordArray#save return RecordArray');\n      return PromiseArray.create({\n        promise\n      });\n    },\n    /**\n      @method _unregisterFromManager\n      @internal\n    */\n    _unregisterFromManager() {\n      this.manager.unregisterRecordArray(this);\n    },\n    willDestroy() {\n      this._unregisterFromManager();\n      this._dissociateFromOwnRecords();\n      // TODO: we should not do work during destroy:\n      //   * when objects are destroyed, they should simply be left to do\n      //   * if logic errors do to this, that logic needs to be more careful during\n      //    teardown (ember provides isDestroying/isDestroyed) for this reason\n      //   * the exception being: if an dominator has a reference to this object,\n      //     and must be informed to release e.g. e.g. removing itself from th\n      //     recordArrayMananger\n      object.set(this, 'content', null);\n      object.set(this, 'length', 0);\n      this._super(...arguments);\n    },\n    /**\n      @method _createSnapshot\n      @private\n    */\n    _createSnapshot(options) {\n      // this is private for users, but public for ember-data internals\n      return new SnapshotRecordArray(this, this.get('meta'), options);\n    },\n    /**\n      @method _dissociateFromOwnRecords\n      @internal\n    */\n    _dissociateFromOwnRecords() {\n      this.get('content').forEach(identifier => {\n        var recordArrays = this.manager.getRecordArraysForIdentifier(identifier);\n        if (recordArrays) {\n          recordArrays.delete(this);\n        }\n      });\n    },\n    /**\n      Adds identifiers to the `RecordArray` without duplicates\n       @method _pushIdentifiers\n      @internal\n      @param {StableRecordIdentifier[]} identifiers\n    */\n    _pushIdentifiers(identifiers) {\n      object.get(this, 'content').pushObjects(identifiers);\n    },\n    /**\n      Removes identifiers from the `RecordArray`.\n       @method _removeIdentifiers\n      @internal\n      @param {StableRecordIdentifier[]} identifiers\n    */\n    _removeIdentifiers(identifiers) {\n      object.get(this, 'content').removeObjects(identifiers);\n    },\n    /**\n      @method _takeSnapshot\n      @internal\n    */\n    _takeSnapshot() {\n      return object.get(this, 'content').map(identifier => internalModelFactoryFor(this.store).lookup(identifier).createSnapshot());\n    }\n  });\n\n  /**\n    @module @ember-data/store\n  */\n\n  /**\n    Represents an ordered list of records whose order and membership is\n    determined by the adapter. For example, a query sent to the adapter\n    may trigger a search on the server, whose results would be loaded\n    into an instance of the `AdapterPopulatedRecordArray`.\n\n    This class should not be imported and instantiated by consuming applications.\n\n    ---\n\n    If you want to update the array and get the latest records from the\n    adapter, you can invoke [`update()`](AdapterPopulatedRecordArray/methods/update?anchor=update):\n\n    Example\n\n    ```javascript\n    // GET /users?isAdmin=true\n    store.query('user', { isAdmin: true }).then(function(admins) {\n\n      admins.then(function() {\n        console.log(admins.get(\"length\")); // 42\n      });\n\n      // somewhere later in the app code, when new admins have been created\n      // in the meantime\n      //\n      // GET /users?isAdmin=true\n      admins.update().then(function() {\n        admins.get('isUpdating'); // false\n        console.log(admins.get(\"length\")); // 123\n      });\n\n      admins.get('isUpdating'); // true\n    }\n    ```\n\n    @class AdapterPopulatedRecordArray\n    @public\n    @extends RecordArray\n  */\n  var AdapterPopulatedRecordArray = RecordArray.extend({\n    init() {\n      this.set('content', this.get('content') || EmberArray.A());\n      this._super(...arguments);\n      this.query = this.query || null;\n      this.links = this.links || null;\n      {\n        this._getDeprecatedEventedInfo = () => `AdapterPopulatedRecordArray containing ${this.modelName} for query: ${this.query}`;\n      }\n    },\n    replace() {\n      throw new Error(`The result of a server query (on ${this.modelName}) is immutable.`);\n    },\n    _update() {\n      var store = object.get(this, 'store');\n      var query = object.get(this, 'query');\n      return store._query(this.modelName, query, this);\n    },\n    _setObjects(identifiersOrInternalModels, payload) {\n      // TODO: initial load should not cause change events at all, only\n      // subsequent. This requires changing the public api of adapter.query, but\n      // hopefully we can do that soon.\n      this.get('content').setObjects(identifiersOrInternalModels);\n      this.setProperties({\n        isLoaded: true,\n        isUpdating: false,\n        meta: polyfills.assign({}, payload.meta),\n        links: polyfills.assign({}, payload.links)\n      });\n      this.manager._associateWithRecordArray(identifiersOrInternalModels, this);\n      {\n        var _hasDidLoad = this._has('didLoad') ;\n        if (_hasDidLoad) {\n          // TODO: should triggering didLoad event be the last action of the runLoop?\n          runloop.once(this, 'trigger', 'didLoad');\n        }\n      }\n    },\n    /**\n      @method _setIdentifiers\n      @param {StableRecordIdentifier[]} identifiers\n      @param {Object} payload normalized payload\n      @private\n    */\n    _setIdentifiers(identifiers, payload) {\n      this._setObjects(identifiers, payload);\n    }\n  });\n\n  /**\n    @module @ember-data/store\n  */\n  var RecordArraysCache = new WeakMap();\n  function recordArraysForIdentifier(identifierOrInternalModel) {\n    if (RecordArraysCache.has(identifierOrInternalModel)) {\n      // return existing Set if exists\n      return RecordArraysCache.get(identifierOrInternalModel);\n    }\n\n    // returns workable Set instance\n    RecordArraysCache.set(identifierOrInternalModel, new Set());\n    return RecordArraysCache.get(identifierOrInternalModel);\n  }\n  var pendingForIdentifier = new Set();\n  var getIdentifier = function getIdentifier(identifierOrInternalModel) {\n    var i = identifierOrInternalModel;\n    return i;\n  };\n  var shouldIncludeInRecordArrays = function shouldIncludeInRecordArrays(store, identifier) {\n    var cache = internalModelFactoryFor(store);\n    var internalModel = cache.peek(identifier);\n    if (internalModel === null) {\n      return false;\n    }\n    return !internalModel.isHiddenFromRecordArrays();\n  };\n\n  /**\n    @class RecordArrayManager\n    @internal\n  */\n  class RecordArrayManager {\n    constructor(options) {\n      this.store = options.store;\n      this.isDestroying = false;\n      this.isDestroyed = false;\n      this._liveRecordArrays = Object.create(null);\n      this._pendingIdentifiers = Object.create(null);\n      this._adapterPopulatedRecordArrays = [];\n    }\n\n    /**\n     * @method getRecordArraysForIdentifier\n     * @internal\n     * @param {StableIdentifier} param\n     * @return {RecordArray} array\n     */\n    getRecordArraysForIdentifier(identifier) {\n      return recordArraysForIdentifier(identifier);\n    }\n    _flushPendingIdentifiersForModelName(modelName, identifiers) {\n      if (this.isDestroying || this.isDestroyed) {\n        return;\n      }\n      var modelsToRemove = [];\n      for (var j = 0; j < identifiers.length; j++) {\n        var i = identifiers[j];\n        // mark identifiers, so they can once again be processed by the\n        // recordArrayManager\n        pendingForIdentifier.delete(i);\n        // build up a set of models to ensure we have purged correctly;\n        var isIncluded = shouldIncludeInRecordArrays(this.store, i);\n        if (!isIncluded) {\n          modelsToRemove.push(i);\n        }\n      }\n      var array = this._liveRecordArrays[modelName];\n      if (array) {\n        // TODO: skip if it only changed\n        // process liveRecordArrays\n        updateLiveRecordArray(this.store, array, identifiers);\n      }\n\n      // process adapterPopulatedRecordArrays\n      if (modelsToRemove.length > 0) {\n        removeFromAdapterPopulatedRecordArrays(this.store, modelsToRemove);\n      }\n    }\n    _flush() {\n      var pending = this._pendingIdentifiers;\n      this._pendingIdentifiers = Object.create(null);\n      for (var modelName in pending) {\n        this._flushPendingIdentifiersForModelName(modelName, pending[modelName]);\n      }\n    }\n    _syncLiveRecordArray(array, modelName) {\n      (!(typeof modelName === 'string') && debug.assert(`recordArrayManger.syncLiveRecordArray expects modelName not modelClass as the second param`, typeof modelName === 'string'));\n      var pending = this._pendingIdentifiers[modelName];\n      var hasPendingChanges = Array.isArray(pending);\n      var hasNoPotentialDeletions = !hasPendingChanges || pending.length === 0;\n      var map = internalModelFactoryFor(this.store).modelMapFor(modelName);\n      var hasNoInsertionsOrRemovals = object.get(map, 'length') === object.get(array, 'length');\n\n      /*\n        Ideally the recordArrayManager has knowledge of the changes to be applied to\n        liveRecordArrays, and is capable of strategically flushing those changes and applying\n        small diffs if desired.  However, until we've refactored recordArrayManager, this dirty\n        check prevents us from unnecessarily wiping out live record arrays returned by peekAll.\n        */\n      if (hasNoPotentialDeletions && hasNoInsertionsOrRemovals) {\n        return;\n      }\n      if (hasPendingChanges) {\n        this._flushPendingIdentifiersForModelName(modelName, pending);\n        delete this._pendingIdentifiers[modelName];\n      }\n      var identifiers = this._visibleIdentifiersByType(modelName);\n      var modelsToAdd = [];\n      for (var i = 0; i < identifiers.length; i++) {\n        var identifier = identifiers[i];\n        var recordArrays = recordArraysForIdentifier(identifier);\n        if (recordArrays.has(array) === false) {\n          recordArrays.add(array);\n          modelsToAdd.push(identifier);\n        }\n      }\n      if (modelsToAdd.length) {\n        array._pushIdentifiers(modelsToAdd);\n      }\n    }\n    _didUpdateAll(modelName) {\n      var recordArray = this._liveRecordArrays[modelName];\n      if (recordArray) {\n        object.set(recordArray, 'isUpdating', false);\n      }\n    }\n\n    /**\n      Get the `RecordArray` for a modelName, which contains all loaded records of\n      given modelName.\n       @method liveRecordArrayFor\n      @internal\n      @param {String} modelName\n      @return {RecordArray}\n    */\n    liveRecordArrayFor(modelName) {\n      (!(typeof modelName === 'string') && debug.assert(`recordArrayManger.liveRecordArrayFor expects modelName not modelClass as the param`, typeof modelName === 'string'));\n      var array = this._liveRecordArrays[modelName];\n      if (array) {\n        // if the array already exists, synchronize\n        this._syncLiveRecordArray(array, modelName);\n      } else {\n        // if the array is being newly created merely create it with its initial\n        // content already set. This prevents unneeded change events.\n        var identifiers = this._visibleIdentifiersByType(modelName);\n        array = this.createRecordArray(modelName, identifiers);\n        this._liveRecordArrays[modelName] = array;\n      }\n      return array;\n    }\n    _visibleIdentifiersByType(modelName) {\n      var all = internalModelFactoryFor(this.store).modelMapFor(modelName).recordIdentifiers;\n      var visible = [];\n      for (var i = 0; i < all.length; i++) {\n        var identifier = all[i];\n        var shouldInclude = shouldIncludeInRecordArrays(this.store, identifier);\n        if (shouldInclude) {\n          visible.push(identifier);\n        }\n      }\n      return visible;\n    }\n\n    /**\n      Create a `RecordArray` for a modelName.\n       @method createRecordArray\n      @internal\n      @param {String} modelName\n      @param {Array} [identifiers]\n      @return {RecordArray}\n    */\n    createRecordArray(modelName, identifiers) {\n      (!(typeof modelName === 'string') && debug.assert(`recordArrayManger.createRecordArray expects modelName not modelClass as the param`, typeof modelName === 'string'));\n      var array = RecordArray.create({\n        modelName,\n        content: EmberArray.A(identifiers || []),\n        store: this.store,\n        isLoaded: true,\n        manager: this\n      });\n      if (Array.isArray(identifiers)) {\n        this._associateWithRecordArray(identifiers, array);\n      }\n      return array;\n    }\n\n    /**\n      Create a `AdapterPopulatedRecordArray` for a modelName with given query.\n       @method createAdapterPopulatedRecordArray\n      @internal\n      @param {String} modelName\n      @param {Object} query\n      @return {AdapterPopulatedRecordArray}\n    */\n    createAdapterPopulatedRecordArray(modelName, query, identifiers, payload) {\n      (!(typeof modelName === 'string') && debug.assert(`recordArrayManger.createAdapterPopulatedRecordArray expects modelName not modelClass as the first param, received ${modelName}`, typeof modelName === 'string'));\n      var array;\n      if (Array.isArray(identifiers)) {\n        array = AdapterPopulatedRecordArray.create({\n          modelName,\n          query: query,\n          content: EmberArray.A(identifiers),\n          store: this.store,\n          manager: this,\n          isLoaded: true,\n          isUpdating: false,\n          meta: polyfills.assign({}, payload.meta),\n          links: polyfills.assign({}, payload.links)\n        });\n        this._associateWithRecordArray(identifiers, array);\n      } else {\n        array = AdapterPopulatedRecordArray.create({\n          modelName,\n          query: query,\n          content: EmberArray.A(),\n          store: this.store,\n          manager: this\n        });\n      }\n      this._adapterPopulatedRecordArrays.push(array);\n      return array;\n    }\n\n    /**\n      Unregister a RecordArray.\n      So manager will not update this array.\n       @method unregisterRecordArray\n      @internal\n      @param {RecordArray} array\n    */\n    unregisterRecordArray(array) {\n      var modelName = array.modelName;\n\n      // remove from adapter populated record array\n      var removedFromAdapterPopulated = removeFromArray(this._adapterPopulatedRecordArrays, array);\n      if (!removedFromAdapterPopulated) {\n        var liveRecordArrayForType = this._liveRecordArrays[modelName];\n        // unregister live record array\n        if (liveRecordArrayForType) {\n          if (array === liveRecordArrayForType) {\n            delete this._liveRecordArrays[modelName];\n          }\n        }\n      }\n    }\n\n    /**\n     * @method _associateWithRecordArray\n     * @internal\n     * @param {StableIdentifier} identifiers\n     * @param {RecordArray} array\n     */\n    _associateWithRecordArray(identifiers, array) {\n      for (var i = 0, l = identifiers.length; i < l; i++) {\n        var identifier = identifiers[i];\n        identifier = getIdentifier(identifier);\n        var recordArrays = this.getRecordArraysForIdentifier(identifier);\n        recordArrays.add(array);\n      }\n    }\n\n    /**\n      @method recordDidChange\n      @internal\n    */\n    recordDidChange(identifier) {\n      if (this.isDestroying || this.isDestroyed) {\n        return;\n      }\n      var modelName = identifier.type;\n      identifier = getIdentifier(identifier);\n      if (pendingForIdentifier.has(identifier)) {\n        return;\n      }\n      pendingForIdentifier.add(identifier);\n      var pending = this._pendingIdentifiers;\n      var models = pending[modelName] = pending[modelName] || [];\n      if (models.push(identifier) !== 1) {\n        return;\n      }\n      runloop._backburner.schedule('actions', this, this._flush);\n    }\n    willDestroy() {\n      Object.keys(this._liveRecordArrays).forEach(modelName => this._liveRecordArrays[modelName].destroy());\n      this._adapterPopulatedRecordArrays.forEach(entry => entry.destroy());\n      this.isDestroyed = true;\n    }\n    destroy() {\n      this.isDestroying = true;\n      runloop._backburner.schedule('actions', this, this.willDestroy);\n    }\n  }\n  var removeFromArray = function removeFromArray(array, item) {\n    var index = array.indexOf(item);\n    if (index !== -1) {\n      array.splice(index, 1);\n      return true;\n    }\n    return false;\n  };\n  var updateLiveRecordArray = function updateLiveRecordArray(store, recordArray, identifiers) {\n    var identifiersToAdd = [];\n    var identifiersToRemove = [];\n    for (var i = 0; i < identifiers.length; i++) {\n      var identifier = identifiers[i];\n      var shouldInclude = shouldIncludeInRecordArrays(store, identifier);\n      var recordArrays = recordArraysForIdentifier(identifier);\n      if (shouldInclude) {\n        if (!recordArrays.has(recordArray)) {\n          identifiersToAdd.push(identifier);\n          recordArrays.add(recordArray);\n        }\n      }\n      if (!shouldInclude) {\n        identifiersToRemove.push(identifier);\n        recordArrays.delete(recordArray);\n      }\n    }\n    if (identifiersToAdd.length > 0) {\n      pushIdentifiers(recordArray, identifiersToAdd, internalModelFactoryFor(store));\n    }\n    if (identifiersToRemove.length > 0) {\n      removeIdentifiers(recordArray, identifiersToRemove, internalModelFactoryFor(store));\n    }\n  };\n  var pushIdentifiers = function pushIdentifiers(recordArray, identifiers, cache) {\n    {\n      recordArray._pushIdentifiers(identifiers);\n    }\n  };\n  var removeIdentifiers = function removeIdentifiers(recordArray, identifiers, cache) {\n    {\n      recordArray._removeIdentifiers(identifiers);\n    }\n  };\n  var removeFromAdapterPopulatedRecordArrays = function removeFromAdapterPopulatedRecordArrays(store, identifiers) {\n    for (var i = 0; i < identifiers.length; i++) {\n      removeFromAll(store, identifiers[i]);\n    }\n  };\n  var removeFromAll = function removeFromAll(store, identifier) {\n    identifier = getIdentifier(identifier);\n    var recordArrays = recordArraysForIdentifier(identifier);\n    internalModelFactoryFor(store);\n    recordArrays.forEach(function (recordArray) {\n      removeIdentifiers(recordArray, [identifier]);\n    });\n    recordArrays.clear();\n  };\n\n  var tokenId = 0;\n  var Cache = new Map();\n  var Tokens = new Map();\n\n  // 'property' is an internal EmberData only transition period concept.\n\n  // TODO this isn't importable anyway, remove and use a map on the manager?\n  function unsubscribe(token) {\n    var identifier = Tokens.get(token);\n    if (identifier) {\n      Tokens.delete(token);\n      var map = Cache.get(identifier);\n      map?.delete(token);\n    }\n  }\n  /*\n    Currently only support a single callback per identifier\n  */\n  class NotificationManager {\n    constructor(store) {\n      this.store = store;\n    }\n    subscribe(identifier, callback) {\n      (!(isStableIdentifier(identifier)) && debug.assert(`Expected to receive a stable Identifier to subscribe to`, isStableIdentifier(identifier)));\n      var map = Cache.get(identifier);\n      if (!map) {\n        map = new Map();\n        Cache.set(identifier, map);\n      }\n      var unsubToken = {\n        _tokenRef: tokenId++\n      } ;\n      map.set(unsubToken, callback);\n      Tokens.set(unsubToken, identifier);\n      return unsubToken;\n    }\n    unsubscribe(token) {\n      unsubscribe(token);\n    }\n\n    // deactivated type signature overloads because pass-through was failing to match any. Bring back if possible.\n    // notify(identifier: StableRecordIdentifier, value: 'attributes' | 'relationships', key?: string): boolean;\n    // notify(identifier: StableRecordIdentifier, value: 'errors' | 'meta' | 'identity' | 'state'): boolean;\n    notify(identifier, value, key) {\n      (!(!key || value === 'attributes' || value === 'relationships') && debug.assert(`Notify does not accept a key argument for the namespace '${value}'. Received key '${key}'.`, !key || value === 'attributes' || value === 'relationships'));\n      if (!isStableIdentifier(identifier)) {\n        return false;\n      }\n      var callbackMap = Cache.get(identifier);\n      if (!callbackMap || !callbackMap.size) {\n        return false;\n      }\n      callbackMap.forEach(cb => {\n        cb(identifier, value, key);\n      });\n      return true;\n    }\n    destroy() {\n      Tokens.clear();\n      Cache.clear();\n    }\n  }\n\n  /**\n    @module @ember-data/store\n  */\n\n  function isResourceIdentiferWithRelatedLinks(value) {\n    return value && value.links && value.links.related;\n  }\n  var REFERENCE_CACHE = new WeakMap();\n  function internalModelForReference(reference) {\n    return internalModelFactoryFor(reference.store).peek(REFERENCE_CACHE.get(reference));\n  }\n\n  /**\n    This is the baseClass for the different References\n    like RecordReference/HasManyReference/BelongsToReference\n\n   @class Reference\n   @public\n   */\n\n  class Reference {\n    constructor(store, identifier) {\n      this.store = store;\n      REFERENCE_CACHE.set(this, identifier);\n    }\n    get recordData() {\n      return this.store.recordDataFor(REFERENCE_CACHE.get(this), false);\n    }\n    _resource() {}\n\n    /**\n     This returns a string that represents how the reference will be\n     looked up when it is loaded. If the relationship has a link it will\n     use the \"link\" otherwise it defaults to \"id\".\n      Example\n      ```app/models/post.js\n     import Model, { hasMany } from '@ember-data/model';\n      export default Model.extend({\n       comments: hasMany({ async: true })\n     });\n     ```\n      ```javascript\n     let post = store.push({\n       data: {\n         type: 'post',\n         id: 1,\n         relationships: {\n           comments: {\n             data: [{ type: 'comment', id: 1 }]\n           }\n         }\n       }\n     });\n      let commentsRef = post.hasMany('comments');\n      // get the identifier of the reference\n     if (commentsRef.remoteType() === \"ids\") {\n       let ids = commentsRef.ids();\n     } else if (commentsRef.remoteType() === \"link\") {\n       let link = commentsRef.link();\n     }\n     ```\n      @method remoteType\n     @public\n     @return {String} The name of the remote type. This should either be \"link\" or \"ids\"\n     */\n    remoteType() {\n      var value = this._resource();\n      if (isResourceIdentiferWithRelatedLinks(value)) {\n        return 'link';\n      }\n      return 'id';\n    }\n\n    /**\n     The link Ember Data will use to fetch or reload this belongs-to\n     relationship. By default it uses only the \"related\" resource linkage.\n      Example\n      ```javascript\n     // models/blog.js\n     import Model, { belongsTo } from '@ember-data/model';\n     export default Model.extend({\n        user: belongsTo({ async: true })\n      });\n      let blog = store.push({\n        data: {\n          type: 'blog',\n          id: 1,\n          relationships: {\n            user: {\n              links: {\n                related: '/articles/1/author'\n              }\n            }\n          }\n        }\n      });\n     let userRef = blog.belongsTo('user');\n      // get the identifier of the reference\n     if (userRef.remoteType() === \"link\") {\n        let link = userRef.link();\n      }\n     ```\n      @method link\n     @public\n     @return {String} The link Ember Data will use to fetch or reload this belongs-to relationship.\n     */\n    link() {\n      var link;\n      var resource = this._resource();\n      if (isResourceIdentiferWithRelatedLinks(resource)) {\n        if (resource.links) {\n          link = resource.links.related;\n          link = !link || typeof link === 'string' ? link : link.href;\n        }\n      }\n      return link || null;\n    }\n    links() {\n      var resource = this._resource();\n      return resource && resource.links ? resource.links : null;\n    }\n\n    /**\n     The meta data for the belongs-to relationship.\n      Example\n      ```javascript\n     // models/blog.js\n     import Model, { belongsTo } from '@ember-data/model';\n     export default Model.extend({\n        user: belongsTo({ async: true })\n      });\n      let blog = store.push({\n        data: {\n          type: 'blog',\n          id: 1,\n          relationships: {\n            user: {\n              links: {\n                related: {\n                  href: '/articles/1/author'\n                },\n                meta: {\n                  lastUpdated: 1458014400000\n                }\n              }\n            }\n          }\n        }\n      });\n      let userRef = blog.belongsTo('user');\n      userRef.meta() // { lastUpdated: 1458014400000 }\n     ```\n      @method meta\n      @public\n     @return {Object} The meta information for the belongs-to relationship.\n     */\n    meta() {\n      var meta = null;\n      var resource = this._resource();\n      if (resource && resource.meta && typeof resource.meta === 'object') {\n        meta = resource.meta;\n      }\n      return meta;\n    }\n  }\n  {\n    Object.defineProperty(Reference.prototype, 'internalModel', {\n      get() {\n        (debug.deprecate('Accessing the internalModel property of Reference is deprecated', false, {\n          id: 'ember-data:reference-internal-model',\n          until: '3.21',\n          for: '@ember-data/store',\n          since: {\n            available: '3.19',\n            enabled: '3.19'\n          }\n        }));\n        return REFERENCE_CACHE.get(this);\n      }\n    });\n  }\n\n  var _class$2, _descriptor$2, _token$2, _relatedToken;\n  function _initializerDefineProperty$2(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _classPrivateFieldLooseBase$2(e, t) { if (!{}.hasOwnProperty.call(e, t)) throw new TypeError(\"attempted to use private field on non-instance\"); return e; }\n  var id$2 = 0;\n  function _classPrivateFieldLooseKey$2(e) { return \"__private_\" + id$2++ + \"_\" + e; }\n  function _applyDecoratedDescriptor$2(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  /**\n    @module @ember-data/store\n  */\n  /**\n   A `BelongsToReference` is a low-level API that allows users and\n   addon authors to perform meta-operations on a belongs-to\n   relationship.\n\n   @class BelongsToReference\n   @public\n   @extends Reference\n   */\n  var BelongsToReference = (_class$2 = (_token$2 = /*#__PURE__*/_classPrivateFieldLooseKey$2(\"token\"), _relatedToken = /*#__PURE__*/_classPrivateFieldLooseKey$2(\"relatedToken\"), class BelongsToReference extends Reference {\n    constructor(store, parentIdentifier, belongsToRelationship, key) {\n      super(store, parentIdentifier);\n      // unsubscribe tokens given to us by the notification manager\n      Object.defineProperty(this, _token$2, {\n        writable: true,\n        value: void 0\n      });\n      Object.defineProperty(this, _relatedToken, {\n        writable: true,\n        value: null\n      });\n      _initializerDefineProperty$2(this, \"_ref\", _descriptor$2, this);\n      this.key = key;\n      this.belongsToRelationship = belongsToRelationship;\n      this.type = belongsToRelationship.definition.type;\n      var parent = internalModelFactoryFor(store).peek(parentIdentifier);\n      this.parent = parent.recordReference;\n      this.parentIdentifier = parentIdentifier;\n      {\n        _classPrivateFieldLooseBase$2(this, _token$2)[_token$2] = store._notificationManager.subscribe(parentIdentifier, (_, bucket, notifiedKey) => {\n          if ((bucket === 'relationships' || bucket === 'property') && notifiedKey === key) {\n            this._ref++;\n          }\n        });\n      }\n\n      // TODO inverse\n    }\n    destroy() {\n      {\n        unsubscribe(_classPrivateFieldLooseBase$2(this, _token$2)[_token$2]);\n        _classPrivateFieldLooseBase$2(this, _token$2)[_token$2] = null;\n        if (_classPrivateFieldLooseBase$2(this, _relatedToken)[_relatedToken]) {\n          unsubscribe(_classPrivateFieldLooseBase$2(this, _relatedToken)[_relatedToken]);\n          _classPrivateFieldLooseBase$2(this, _relatedToken)[_relatedToken] = null;\n        }\n      }\n    }\n    get _relatedIdentifier() {\n      this._ref; // consume the tracked prop\n      if (_classPrivateFieldLooseBase$2(this, _relatedToken)[_relatedToken]) {\n        unsubscribe(_classPrivateFieldLooseBase$2(this, _relatedToken)[_relatedToken]);\n        _classPrivateFieldLooseBase$2(this, _relatedToken)[_relatedToken] = null;\n      }\n      var resource = this._resource();\n      if (resource && resource.data) {\n        var identifier = this.store.identifierCache.getOrCreateRecordIdentifier(resource.data);\n        _classPrivateFieldLooseBase$2(this, _relatedToken)[_relatedToken] = this.store._notificationManager.subscribe(identifier, (_, bucket, notifiedKey) => {\n          if (bucket === 'identity' || (bucket === 'attributes' || bucket === 'property') && notifiedKey === 'id') {\n            this._ref++;\n          }\n        });\n        return identifier;\n      }\n      return null;\n    }\n\n    /**\n     The `id` of the record that this reference refers to. Together, the\n     `type()` and `id()` methods form a composite key for the identity\n     map. This can be used to access the id of an async relationship\n     without triggering a fetch that would normally happen if you\n     attempted to use `record.get('relationship.id')`.\n      Example\n      ```javascript\n     // models/blog.js\n     import Model, { belongsTo } from '@ember-data/model';\n      export default class BlogModel extends Model {\n      @belongsTo({ async: true }) user;\n     }\n      let blog = store.push({\n        data: {\n          type: 'blog',\n          id: 1,\n          relationships: {\n            user: {\n              data: { type: 'user', id: 1 }\n            }\n          }\n        }\n      });\n     let userRef = blog.belongsTo('user');\n      // get the identifier of the reference\n     if (userRef.remoteType() === \"id\") {\n        let id = userRef.id();\n      }\n     ```\n      @method id\n      @public\n     @return {String} The id of the record in this belongsTo relationship.\n     */\n    id() {\n      {\n        return this._relatedIdentifier?.id || null;\n      }\n    }\n    _resource() {\n      return this.recordData.getBelongsTo(this.key);\n    }\n\n    /**\n     `push` can be used to update the data in the relationship and Ember\n     Data will treat the new data as the canonical value of this\n     relationship on the backend.\n      Example\n      ```app/models/blog.js\n     import Model, { belongsTo } from '@ember-data/model';\n      export default class BlogModel extends Model {\n        @belongsTo({ async: true }) user;\n      }\n      let blog = store.push({\n        data: {\n          type: 'blog',\n          id: 1,\n          relationships: {\n            user: {\n              data: { type: 'user', id: 1 }\n            }\n          }\n        }\n      });\n     let userRef = blog.belongsTo('user');\n      // provide data for reference\n     userRef.push({\n        data: {\n          type: 'user',\n          id: 1,\n          attributes: {\n            username: \"@user\"\n          }\n        }\n      }).then(function(user) {\n        userRef.value() === user;\n      });\n     ```\n      @method push\n      @public\n     @param {Object|Promise} objectOrPromise a promise that resolves to a JSONAPI document object describing the new value of this relationship.\n     @return {Promise<record>} A promise that resolves with the new value in this belongs-to relationship.\n     */\n    async push(objectOrPromise) {\n      // TODO deprecate thenable support\n      return RSVP.resolve(objectOrPromise).then(data => {\n        var record;\n        if (peekRecordIdentifier(data)) {\n          (debug.deprecate('Pushing a record into a BelongsToReference is deprecated', false, {\n            id: 'ember-data:belongs-to-reference-push-record',\n            until: '4.0',\n            for: '@ember-data/store',\n            since: {\n              available: '3.16',\n              enabled: '3.16'\n            }\n          }));\n          record = data;\n        } else {\n          record = this.store.push(data);\n        }\n\n        // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n        Debug.assertPolymorphicType(this.belongsToRelationship.identifier, this.belongsToRelationship.definition, recordIdentifierFor(record), this.store);\n        var {\n          graph,\n          identifier\n        } = this.belongsToRelationship;\n        this.store._backburner.join(() => {\n          graph.push({\n            op: 'replaceRelatedRecord',\n            record: identifier,\n            field: this.key,\n            value: recordIdentifierFor(record)\n          });\n        });\n        return record;\n      });\n    }\n\n    /**\n     `value()` synchronously returns the current value of the belongs-to\n     relationship. Unlike `record.get('relationshipName')`, calling\n     `value()` on a reference does not trigger a fetch if the async\n     relationship is not yet loaded. If the relationship is not loaded\n     it will always return `null`.\n      Example\n      ```javascript\n     // models/blog.js\n     import Model, { belongsTo } from '@ember-data/model';\n      export default class BlogModel extends Model {\n       @belongsTo({ async: true }) user;\n     }\n      let blog = store.push({\n        data: {\n          type: 'blog',\n          id: 1,\n          relationships: {\n            user: {\n              data: { type: 'user', id: 1 }\n            }\n          }\n        }\n      });\n     let userRef = blog.belongsTo('user');\n      userRef.value(); // null\n      // provide data for reference\n     userRef.push({\n        data: {\n          type: 'user',\n          id: 1,\n          attributes: {\n            username: \"@user\"\n          }\n        }\n      }).then(function(user) {\n        userRef.value(); // user\n      });\n     ```\n      @method value\n      @public\n     @return {Model} the record in this relationship\n     */\n    value() {\n      var resource = this._resource();\n      if (resource && resource.data) {\n        var inverseInternalModel = this.store._internalModelForResource(resource.data);\n        if (inverseInternalModel && inverseInternalModel.currentState.isLoaded) {\n          return inverseInternalModel.getRecord();\n        }\n      }\n      return null;\n    }\n\n    /**\n     Loads a record in a belongs-to relationship if it is not already\n     loaded. If the relationship is already loaded this method does not\n     trigger a new load.\n      Example\n      ```javascript\n     // models/blog.js\n     import Model, { belongsTo } from '@ember-data/model';\n      export default class BlogModel extends Model {\n       @belongsTo({ async: true }) user;\n     }\n      let blog = store.push({\n        data: {\n          type: 'blog',\n          id: 1,\n          relationships: {\n            user: {\n              data: { type: 'user', id: 1 }\n            }\n          }\n        }\n      });\n     let userRef = blog.belongsTo('user');\n      userRef.value(); // null\n      userRef.load().then(function(user) {\n        userRef.value() === user\n      });\n     ```\n      You may also pass in an options object whose properties will be\n     fed forward. This enables you to pass `adapterOptions` into the\n     request given to the adapter via the reference.\n      Example\n      ```javascript\n     userRef.load({ adapterOptions: { isPrivate: true } }).then(function(user) {\n       userRef.value() === user;\n     });\n     ```\n     ```app/adapters/user.js\n     import Adapter from '@ember-data/adapter';\n      export default class UserAdapter extends Adapter {\n       findRecord(store, type, id, snapshot) {\n         // In the adapter you will have access to adapterOptions.\n         let adapterOptions = snapshot.adapterOptions;\n       }\n     });\n     ```\n      @method load\n      @public\n     @param {Object} options the options to pass in.\n     @return {Promise} a promise that resolves with the record in this belongs-to relationship.\n     */\n    load(options) {\n      var parentInternalModel = internalModelFactoryFor(this.store).peek(this.parentIdentifier);\n      return parentInternalModel.getBelongsTo(this.key, options);\n    }\n\n    /**\n     Triggers a reload of the value in this relationship. If the\n     remoteType is `\"link\"` Ember Data will use the relationship link to\n     reload the relationship. Otherwise it will reload the record by its\n     id.\n      Example\n      ```javascript\n     // models/blog.js\n     import Model, { belongsTo } from '@ember-data/model';\n      export default class BlogModel extends Model {\n       @belongsTo({ async: true }) user;\n     }\n      let blog = store.push({\n        data: {\n          type: 'blog',\n          id: 1,\n          relationships: {\n            user: {\n              data: { type: 'user', id: 1 }\n            }\n          }\n        }\n      });\n     let userRef = blog.belongsTo('user');\n      userRef.reload().then(function(user) {\n        userRef.value() === user\n      });\n     ```\n      You may also pass in an options object whose properties will be\n     fed forward. This enables you to pass `adapterOptions` into the\n     request given to the adapter via the reference. A full example\n     can be found in the `load` method.\n      Example\n      ```javascript\n     userRef.reload({ adapterOptions: { isPrivate: true } })\n     ```\n      @method reload\n      @public\n     @param {Object} options the options to pass in.\n     @return {Promise} a promise that resolves with the record in this belongs-to relationship after the reload has completed.\n     */\n    reload(options) {\n      var parentInternalModel = internalModelFactoryFor(this.store).peek(this.parentIdentifier);\n      return parentInternalModel.reloadBelongsTo(this.key, options).then(internalModel => {\n        return this.value();\n      });\n    }\n  }), _descriptor$2 = _applyDecoratedDescriptor$2(_class$2.prototype, \"_ref\", [tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 0;\n    }\n  }), _applyDecoratedDescriptor$2(_class$2.prototype, \"_relatedIdentifier\", [emberCachedDecoratorPolyfill.cached, compat.dependentKeyCompat], Object.getOwnPropertyDescriptor(_class$2.prototype, \"_relatedIdentifier\"), _class$2.prototype), _class$2);\n\n  var _class$1, _descriptor$1, _token$1, _relatedTokenMap;\n  function _initializerDefineProperty$1(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _classPrivateFieldLooseBase$1(e, t) { if (!{}.hasOwnProperty.call(e, t)) throw new TypeError(\"attempted to use private field on non-instance\"); return e; }\n  var id$1 = 0;\n  function _classPrivateFieldLooseKey$1(e) { return \"__private_\" + id$1++ + \"_\" + e; }\n  function _applyDecoratedDescriptor$1(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  /**\n    @module @ember-data/store\n  */\n  /**\n   A `HasManyReference` is a low-level API that allows users and addon\n   authors to perform meta-operations on a has-many relationship.\n\n   @class HasManyReference\n   @public\n   @extends Reference\n   */\n  var HasManyReference = (_class$1 = (_token$1 = /*#__PURE__*/_classPrivateFieldLooseKey$1(\"token\"), _relatedTokenMap = /*#__PURE__*/_classPrivateFieldLooseKey$1(\"relatedTokenMap\"), class HasManyReference extends Reference {\n    constructor(store, parentIdentifier, hasManyRelationship, key) {\n      super(store, parentIdentifier);\n      // unsubscribe tokens given to us by the notification manager\n      Object.defineProperty(this, _token$1, {\n        writable: true,\n        value: void 0\n      });\n      Object.defineProperty(this, _relatedTokenMap, {\n        writable: true,\n        value: void 0\n      });\n      _initializerDefineProperty$1(this, \"_ref\", _descriptor$1, this);\n      this.key = key;\n      this.hasManyRelationship = hasManyRelationship;\n      this.type = hasManyRelationship.definition.type;\n      this.parent = internalModelFactoryFor(store).peek(parentIdentifier).recordReference;\n      {\n        _classPrivateFieldLooseBase$1(this, _token$1)[_token$1] = store._notificationManager.subscribe(parentIdentifier, (_, bucket, notifiedKey) => {\n          if ((bucket === 'relationships' || bucket === 'property') && notifiedKey === key) {\n            this._ref++;\n          }\n        });\n        _classPrivateFieldLooseBase$1(this, _relatedTokenMap)[_relatedTokenMap] = new Map();\n      }\n      // TODO inverse\n    }\n    destroy() {\n      {\n        unsubscribe(_classPrivateFieldLooseBase$1(this, _token$1)[_token$1]);\n        _classPrivateFieldLooseBase$1(this, _token$1)[_token$1] = null;\n        _classPrivateFieldLooseBase$1(this, _relatedTokenMap)[_relatedTokenMap].forEach(token => {\n          unsubscribe(token);\n        });\n        _classPrivateFieldLooseBase$1(this, _relatedTokenMap)[_relatedTokenMap].clear();\n      }\n    }\n    get _relatedIdentifiers() {\n      this._ref; // consume the tracked prop\n\n      var resource = this._resource();\n      var map = _classPrivateFieldLooseBase$1(this, _relatedTokenMap)[_relatedTokenMap];\n      _classPrivateFieldLooseBase$1(this, _relatedTokenMap)[_relatedTokenMap] = new Map();\n      if (resource && resource.data) {\n        return resource.data.map(resourceIdentifier => {\n          var identifier = this.store.identifierCache.getOrCreateRecordIdentifier(resourceIdentifier);\n          var token = map.get(identifier);\n          if (token) {\n            map.delete(identifier);\n          } else {\n            token = this.store._notificationManager.subscribe(identifier, (_, bucket, notifiedKey) => {\n              if (bucket === 'identity' || (bucket === 'attributes' || bucket === 'property') && notifiedKey === 'id') {\n                this._ref++;\n              }\n            });\n          }\n          _classPrivateFieldLooseBase$1(this, _relatedTokenMap)[_relatedTokenMap].set(identifier, token);\n          return identifier;\n        });\n      }\n      map.forEach(token => {\n        this.store._notificationManager.unsubscribe(token);\n      });\n      map.clear();\n      return [];\n    }\n    _resource() {\n      return this.recordData.getHasMany(this.key);\n    }\n\n    /**\n     This returns a string that represents how the reference will be\n     looked up when it is loaded. If the relationship has a link it will\n     use the \"link\" otherwise it defaults to \"id\".\n      Example\n      ```app/models/post.js\n     import Model, { hasMany } from '@ember-data/model';\n      export default class PostModel extends Model {\n       @hasMany({ async: true }) comments;\n     }\n     ```\n      ```javascript\n     let post = store.push({\n       data: {\n         type: 'post',\n         id: 1,\n         relationships: {\n           comments: {\n             data: [{ type: 'comment', id: 1 }]\n           }\n         }\n       }\n     });\n      let commentsRef = post.hasMany('comments');\n      // get the identifier of the reference\n     if (commentsRef.remoteType() === \"ids\") {\n       let ids = commentsRef.ids();\n     } else if (commentsRef.remoteType() === \"link\") {\n       let link = commentsRef.link();\n     }\n     ```\n      @method remoteType\n     @public\n     @return {String} The name of the remote type. This should either be `link` or `ids`\n     */\n    remoteType() {\n      var value = this._resource();\n      if (value && value.links && value.links.related) {\n        return 'link';\n      }\n      return 'ids';\n    }\n\n    /**\n     `ids()` returns an array of the record IDs in this relationship.\n      Example\n      ```app/models/post.js\n     import Model, { hasMany } from '@ember-data/model';\n      export default class PostModel extends Model {\n       @hasMany({ async: true }) comments;\n     }\n     ```\n      ```javascript\n     let post = store.push({\n       data: {\n         type: 'post',\n         id: 1,\n         relationships: {\n           comments: {\n             data: [{ type: 'comment', id: 1 }]\n           }\n         }\n       }\n     });\n      let commentsRef = post.hasMany('comments');\n      commentsRef.ids(); // ['1']\n     ```\n      @method ids\n      @public\n     @return {Array} The ids in this has-many relationship\n     */\n    ids() {\n      {\n        return this._relatedIdentifiers.map(identifier => identifier.id);\n      }\n    }\n\n    /**\n     `push` can be used to update the data in the relationship and Ember\n     Data will treat the new data as the canonical value of this\n     relationship on the backend.\n      Example\n      ```app/models/post.js\n     import Model, { hasMany } from '@ember-data/model';\n      export default class PostModel extends Model {\n       @hasMany({ async: true }) comments;\n     }\n     ```\n      ```\n     let post = store.push({\n       data: {\n         type: 'post',\n         id: 1,\n         relationships: {\n           comments: {\n             data: [{ type: 'comment', id: 1 }]\n           }\n         }\n       }\n     });\n      let commentsRef = post.hasMany('comments');\n      commentsRef.ids(); // ['1']\n      commentsRef.push([\n     [{ type: 'comment', id: 2 }],\n     [{ type: 'comment', id: 3 }],\n     ])\n      commentsRef.ids(); // ['2', '3']\n     ```\n      @method push\n      @public\n     @param {Array|Promise} objectOrPromise a promise that resolves to a JSONAPI document object describing the new value of this relationship.\n     @return {ManyArray}\n     */\n    async push(objectOrPromise) {\n      var payload = await RSVP.resolve(objectOrPromise);\n      var array;\n      if (!Array.isArray(payload) && typeof payload === 'object' && Array.isArray(payload.data)) {\n        array = payload.data;\n      } else {\n        array = payload;\n      }\n      var internalModel = internalModelForReference(this);\n      var {\n        store\n      } = this;\n      var identifiers = array.map(obj => {\n        var record;\n        if ('data' in obj) {\n          // TODO deprecate pushing non-valid JSON:API here\n          record = store.push(obj);\n        } else {\n          record = store.push({\n            data: obj\n          });\n        }\n        {\n          var relationshipMeta = this.hasManyRelationship.definition;\n          var _identifier = this.hasManyRelationship.identifier;\n          Debug.assertPolymorphicType(_identifier, relationshipMeta, recordIdentifierFor(record), store);\n        }\n        return recordIdentifierFor(record);\n      });\n      var {\n        graph,\n        identifier\n      } = this.hasManyRelationship;\n      store._backburner.join(() => {\n        graph.push({\n          op: 'replaceRelatedRecords',\n          record: identifier,\n          field: this.key,\n          value: identifiers\n        });\n      });\n\n      // TODO IGOR it seems wrong that we were returning the many array here\n      return internalModel.getHasMany(this.key);\n    }\n    _isLoaded() {\n      var hasRelationshipDataProperty = this.hasManyRelationship.state.hasReceivedData;\n      if (!hasRelationshipDataProperty) {\n        return false;\n      }\n      var members = this.hasManyRelationship.currentState;\n\n      //TODO Igor cleanup\n      return members.every(identifier => {\n        var internalModel = this.store._internalModelForResource(identifier);\n        return internalModel.currentState.isLoaded === true;\n      });\n    }\n\n    /**\n     `value()` synchronously returns the current value of the has-many\n     relationship. Unlike `record.get('relationshipName')`, calling\n     `value()` on a reference does not trigger a fetch if the async\n     relationship is not yet loaded. If the relationship is not loaded\n     it will always return `null`.\n      Example\n      ```app/models/post.js\n     import Model, { hasMany } from '@ember-data/model';\n      export default class PostModel extends Model {\n       @hasMany({ async: true }) comments;\n     }\n     ```\n      ```javascript\n     let post = store.push({\n       data: {\n         type: 'post',\n         id: 1,\n         relationships: {\n           comments: {\n             data: [{ type: 'comment', id: 1 }]\n           }\n         }\n       }\n     });\n      let commentsRef = post.hasMany('comments');\n      post.get('comments').then(function(comments) {\n       commentsRef.value() === comments\n     })\n     ```\n      @method value\n      @public\n     @return {ManyArray}\n     */\n    value() {\n      var internalModel = internalModelForReference(this);\n      if (this._isLoaded()) {\n        return internalModel.getManyArray(this.key);\n      }\n      return null;\n    }\n\n    /**\n     Loads the relationship if it is not already loaded.  If the\n     relationship is already loaded this method does not trigger a new\n     load. This causes a request to the specified\n     relationship link or reloads all items currently in the relationship.\n      Example\n      ```app/models/post.js\n     import Model, { hasMany } from '@ember-data/model';\n      export default class PostModel extends Model {\n       @hasMany({ async: true }) comments;\n     }\n     ```\n      ```javascript\n     let post = store.push({\n       data: {\n         type: 'post',\n         id: 1,\n         relationships: {\n           comments: {\n             data: [{ type: 'comment', id: 1 }]\n           }\n         }\n       }\n     });\n      let commentsRef = post.hasMany('comments');\n      commentsRef.load().then(function(comments) {\n       //...\n     });\n     ```\n      You may also pass in an options object whose properties will be\n     fed forward. This enables you to pass `adapterOptions` into the\n     request given to the adapter via the reference.\n      Example\n      ```javascript\n     commentsRef.load({ adapterOptions: { isPrivate: true } })\n       .then(function(comments) {\n         //...\n       });\n     ```\n      ```app/adapters/comment.js\n     export default ApplicationAdapter.extend({\n       findMany(store, type, id, snapshots) {\n         // In the adapter you will have access to adapterOptions.\n         let adapterOptions = snapshots[0].adapterOptions;\n       }\n     });\n     ```\n      @method load\n      @public\n     @param {Object} options the options to pass in.\n     @return {Promise} a promise that resolves with the ManyArray in\n     this has-many relationship.\n     */\n    load(options) {\n      var internalModel = internalModelForReference(this);\n      return internalModel.getHasMany(this.key, options);\n    }\n\n    /**\n     Reloads this has-many relationship. This causes a request to the specified\n     relationship link or reloads all items currently in the relationship.\n      Example\n      ```app/models/post.js\n     import Model, { hasMany } from '@ember-data/model';\n      export default class PostModel extends Model {\n       @hasMany({ async: true }) comments;\n     }\n     ```\n      ```javascript\n     let post = store.push({\n       data: {\n         type: 'post',\n         id: 1,\n         relationships: {\n           comments: {\n             data: [{ type: 'comment', id: 1 }]\n           }\n         }\n       }\n     });\n      let commentsRef = post.hasMany('comments');\n      commentsRef.reload().then(function(comments) {\n       //...\n     });\n     ```\n      You may also pass in an options object whose properties will be\n     fed forward. This enables you to pass `adapterOptions` into the\n     request given to the adapter via the reference. A full example\n     can be found in the `load` method.\n      Example\n      ```javascript\n     commentsRef.reload({ adapterOptions: { isPrivate: true } })\n     ```\n      @method reload\n      @public\n     @param {Object} options the options to pass in.\n     @return {Promise} a promise that resolves with the ManyArray in this has-many relationship.\n     */\n    reload(options) {\n      var internalModel = internalModelForReference(this);\n      return internalModel.reloadHasMany(this.key, options);\n    }\n  }), _descriptor$1 = _applyDecoratedDescriptor$1(_class$1.prototype, \"_ref\", [tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 0;\n    }\n  }), _applyDecoratedDescriptor$1(_class$1.prototype, \"_relatedIdentifiers\", [emberCachedDecoratorPolyfill.cached, compat.dependentKeyCompat], Object.getOwnPropertyDescriptor(_class$1.prototype, \"_relatedIdentifiers\"), _class$1.prototype), _class$1);\n\n  var _class, _descriptor, _token;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _classPrivateFieldLooseBase(e, t) { if (!{}.hasOwnProperty.call(e, t)) throw new TypeError(\"attempted to use private field on non-instance\"); return e; }\n  var id = 0;\n  function _classPrivateFieldLooseKey(e) { return \"__private_\" + id++ + \"_\" + e; }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  /**\n    @module @ember-data/store\n  */\n  /**\n     A `RecordReference` is a low-level API that allows users and\n     addon authors to perform meta-operations on a record.\n\n     @class RecordReference\n     @public\n     @extends Reference\n  */\n  var RecordReference = (_class = (_token = /*#__PURE__*/_classPrivateFieldLooseKey(\"token\"), class RecordReference extends Reference {\n    constructor(store, identifier) {\n      super(store, identifier);\n      // unsubscribe token given to us by the notification manager\n      Object.defineProperty(this, _token, {\n        writable: true,\n        value: void 0\n      });\n      _initializerDefineProperty(this, \"_ref\", _descriptor, this);\n      this.store = store;\n      {\n        _classPrivateFieldLooseBase(this, _token)[_token] = store._notificationManager.subscribe(identifier, (_, bucket, notifiedKey) => {\n          if (bucket === 'identity' || (bucket === 'attributes' || bucket === 'property') && notifiedKey === 'id') {\n            this._ref++;\n          }\n        });\n      }\n    }\n    destroy() {\n      {\n        unsubscribe(_classPrivateFieldLooseBase(this, _token)[_token]);\n      }\n    }\n    get type() {\n      return this.identifier().type;\n    }\n    get _id() {\n      this._ref; // consume the tracked prop\n      var identifier = this.identifier();\n      if (identifier) {\n        return identifier.id;\n      }\n      return null;\n    }\n\n    /**\n       The `id` of the record that this reference refers to.\n        Together, the `type` and `id` properties form a composite key for\n       the identity map.\n        Example\n        ```javascript\n       let userRef = store.getReference('user', 1);\n        userRef.id(); // '1'\n       ```\n        @method id\n      @public\n       @return {String} The id of the record.\n    */\n    id() {\n      {\n        return this._id;\n      }\n    }\n\n    /**\n       The `identifier` of the record that this reference refers to.\n        Together, the `type` and `id` properties form a composite key for\n       the identity map.\n        Example\n        ```javascript\n       let userRef = store.getReference('user', 1);\n        userRef.identifier(); // '1'\n       ```\n        @method identifier\n      @public\n       @return {String} The identifier of the record.\n    */\n    identifier() {\n      return REFERENCE_CACHE.get(this);\n    }\n\n    /**\n       How the reference will be looked up when it is loaded. Currently\n       this always returns `identity` to signify that a record will be\n       loaded by its `type` and `id`.\n        Example\n        ```javascript\n       const userRef = store.getReference('user', 1);\n        userRef.remoteType(); // 'identity'\n       ```\n        @method remoteType\n       @public\n       @return {String} 'identity'\n    */\n    remoteType() {\n      return 'identity';\n    }\n\n    /**\n      This API allows you to provide a reference with new data. The\n      simplest usage of this API is similar to `store.push`: you provide a\n      normalized hash of data and the object represented by the reference\n      will update.\n       If you pass a promise to `push`, Ember Data will not ask the adapter\n      for the data if another attempt to fetch it is made in the\n      interim. When the promise resolves, the underlying object is updated\n      with the new data, and the promise returned by *this function* is resolved\n      with that object.\n       For example, `recordReference.push(promise)` will be resolved with a\n      record.\n        Example\n        ```javascript\n       let userRef = store.getReference('user', 1);\n        // provide data for reference\n       userRef.push({\n         data: {\n           id: \"1\",\n           type: \"user\",\n           attributes: {\n             username: \"@user\"\n           }\n         }\n       }).then(function(user) {\n         userRef.value() === user;\n       });\n       ```\n       @method push\n      @public\n      @param objectOrPromise a JSON:API ResourceDocument or a promise resolving to one\n      @return a promise for the value (record or relationship)\n    */\n    push(objectOrPromise) {\n      return RSVP.resolve(objectOrPromise).then(data => {\n        return this.store.push(data);\n      });\n    }\n\n    /**\n      If the entity referred to by the reference is already loaded, it is\n      present as `reference.value`. Otherwise the value returned by this function\n      is `null`.\n        Example\n        ```javascript\n       let userRef = store.getReference('user', 1);\n        userRef.value(); // user\n       ```\n        @method value\n      @public\n       @return {Model} the record for this RecordReference\n    */\n    value() {\n      if (this.id() !== null) {\n        var internalModel = internalModelForReference(this);\n        if (internalModel && internalModel.currentState.isLoaded) {\n          return internalModel.getRecord();\n        }\n      }\n      return null;\n    }\n\n    /**\n       Triggers a fetch for the backing entity based on its `remoteType`\n       (see `remoteType` definitions per reference type).\n        Example\n        ```javascript\n       let userRef = store.getReference('user', 1);\n        // load user (via store.find)\n       userRef.load().then(...)\n       ```\n        @method load\n      @public\n       @return {Promise<record>} the record for this RecordReference\n    */\n    load() {\n      var id = this.id();\n      if (id !== null) {\n        return this.store.findRecord(this.type, id);\n      }\n      throw new Error(`Unable to fetch record of type ${this.type} without an id`);\n    }\n\n    /**\n       Reloads the record if it is already loaded. If the record is not\n       loaded it will load the record via `store.findRecord`\n        Example\n        ```javascript\n       let userRef = store.getReference('user', 1);\n        // or trigger a reload\n       userRef.reload().then(...)\n       ```\n        @method reload\n      @public\n       @return {Promise<record>} the record for this RecordReference\n    */\n    reload() {\n      var id = this.id();\n      if (id !== null) {\n        return this.store.findRecord(this.type, id, {\n          reload: true\n        });\n      }\n      throw new Error(`Unable to fetch record of type ${this.type} without an id`);\n    }\n  }), _descriptor = _applyDecoratedDescriptor(_class.prototype, \"_ref\", [tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 0;\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"_id\", [emberCachedDecoratorPolyfill.cached, compat.dependentKeyCompat], Object.getOwnPropertyDescriptor(_class.prototype, \"_id\"), _class.prototype), _class);\n\n  /**\n    @module @ember-data/store\n  */\n  /*\n    This file encapsulates the various states that a record can transition\n    through during its lifecycle.\n  */\n  /**\n    ### State\n\n    Each record has a `currentState` property that explicitly tracks what\n    state a record is in at any given time. For instance, if a record is\n    newly created and has not yet been sent to the adapter to be saved,\n    it would be in the `root.loaded.created.uncommitted` state.  If a\n    record has had local modifications made to it that are in the\n    process of being saved, the record would be in the\n    `root.loaded.updated.inFlight` state. (This state path will be\n    explained in more detail below.)\n\n    Events are sent by the record or its store to the record's\n    `currentState` property. How the state reacts to these events is\n    dependent on which state it is in. In some states, certain events\n    will be invalid and will cause an exception to be raised.\n\n    States are hierarchical and every state is a sub-state of the\n    `RootState`. For example, a record can be in the\n    `root.deleted.uncommitted` state then transitions into the\n    `root.deleted.inFlight` state. If a child state does not implement\n    an event handler, the state manager will attempt to invoke the event\n    on all parent states until the root state is reached. The state\n    hierarchy of a record is described in terms of a path string. You\n    can determine a record's current state by getting the state's\n    `stateName` property:\n\n    ```javascript\n    record.get('currentState.stateName');\n    //=> \"root.created.uncommitted\"\n     ```\n\n    The hierarchy of valid states that ship with ember data looks like\n    this:\n\n    ```text\n    * root\n      * deleted\n        * saved\n        * uncommitted\n        * inFlight\n      * empty\n      * loaded\n        * created\n          * uncommitted\n          * inFlight\n        * saved\n        * updated\n          * uncommitted\n          * inFlight\n      * loading\n    ```\n\n    The `Model` states are themselves stateless. What that means is\n    that, the hierarchical states that each of *those* points to is a\n    shared data structure. For performance reasons, instead of each\n    record getting its own copy of the hierarchy of states, each record\n    points to this global, immutable shared instance. How does a state\n    know which record it should be acting on? We pass the record\n    instance into the state's event handlers as the first argument.\n\n    The record passed as the first parameter is where you should stash\n    state about the record if needed; you should never store data on the state\n    object itself.\n\n    ### Events and Flags\n\n    A state may implement zero or more events and flags.\n\n    #### Events\n\n    Events are named functions that are invoked when sent to a record. The\n    record will first look for a method with the given name on the\n    current state. If no method is found, it will search the current\n    state's parent, and then its grandparent, and so on until reaching\n    the top of the hierarchy. If the root is reached without an event\n    handler being found, an exception will be raised. This can be very\n    helpful when debugging new features.\n\n    Here's an example implementation of a state with a `myEvent` event handler:\n\n    ```javascript\n    aState: State.create({\n      myEvent: function(manager, param) {\n        console.log(\"Received myEvent with\", param);\n      }\n    })\n    ```\n\n    To trigger this event:\n\n    ```javascript\n    record.send('myEvent', 'foo');\n    //=> \"Received myEvent with foo\"\n    ```\n\n    Note that an optional parameter can be sent to a record's `send()` method,\n    which will be passed as the second parameter to the event handler.\n\n    Events should transition to a different state if appropriate. This can be\n    done by calling the record's `transitionTo()` method with a path to the\n    desired state. The state manager will attempt to resolve the state path\n    relative to the current state. If no state is found at that path, it will\n    attempt to resolve it relative to the current state's parent, and then its\n    parent, and so on until the root is reached. For example, imagine a hierarchy\n    like this:\n\n        * created\n          * uncommitted <-- currentState\n          * inFlight\n        * updated\n          * inFlight\n\n    If we are currently in the `uncommitted` state, calling\n    `transitionTo('inFlight')` would transition to the `created.inFlight` state,\n    while calling `transitionTo('updated.inFlight')` would transition to\n    the `updated.inFlight` state.\n\n    Remember that *only events* should ever cause a state transition. You should\n    never call `transitionTo()` from outside a state's event handler. If you are\n    tempted to do so, create a new event and send that to the state manager.\n\n    #### Flags\n\n    Flags are Boolean values that can be used to introspect a record's current\n    state in a more user-friendly way than examining its state path. For example,\n    instead of doing this:\n\n    ```javascript\n    var statePath = record.get('stateManager.currentPath');\n    if (statePath === 'created.inFlight') {\n      doSomething();\n    }\n    ```\n\n    You can say:\n\n    ```javascript\n    if (record.get('isNew') && record.get('isSaving')) {\n      doSomething();\n    }\n    ```\n\n    If your state does not set a value for a given flag, the value will\n    be inherited from its parent (or the first place in the state hierarchy\n    where it is defined).\n\n    The current set of flags are defined below. If you want to add a new flag,\n    in addition to the area below, you will also need to declare it in the\n    `Model` class.\n\n\n     * [isEmpty](Model/properties/isEmpty?anchor=isEmpty)\n     * [isLoading](Model/properties/isLoading?anchor=isLoading)\n     * [isLoaded](Model/properties/isLoaded?anchor=isLoaded)\n     * [hasDirtyAttributes](Model/properties/hasDirtyAttributes?anchor=hasDirtyAttributes)\n     * [isSaving](Model/properties/isSaving?anchor=isSaving)\n     * [isDeleted](Model/properties/isDeleted?anchor=isDeleted)\n     * [isNew](Model/properties/isNew?anchor=isNew)\n     * [isValid](Model/properties/isValid?anchor=isValid)\n\n    @class RootState\n    @internal\n  */\n\n  function didSetProperty(internalModel, context) {\n    if (context.isDirty) {\n      internalModel.send('becomeDirty');\n    } else {\n      internalModel.send('propertyWasReset');\n    }\n  }\n\n  // Implementation notes:\n  //\n  // Each state has a boolean value for all of the following flags:\n  //\n  // * isLoaded: The record has a populated `data` property. When a\n  //   record is loaded via `store.find`, `isLoaded` is false\n  //   until the adapter sets it. When a record is created locally,\n  //   its `isLoaded` property is always true.\n  // * isDirty: The record has local changes that have not yet been\n  //   saved by the adapter. This includes records that have been\n  //   created (but not yet saved) or deleted.\n  // * isSaving: The record has been committed, but\n  //   the adapter has not yet acknowledged that the changes have\n  //   been persisted to the backend.\n  // * isDeleted: The record was marked for deletion. When `isDeleted`\n  //   is true and `isDirty` is true, the record is deleted locally\n  //   but the deletion was not yet persisted. When `isSaving` is\n  //   true, the change is in-flight. When both `isDirty` and\n  //   `isSaving` are false, the change has persisted.\n  // * isNew: The record was created on the client and the adapter\n  //   did not yet report that it was successfully saved.\n  // * isValid: The adapter did not report any server-side validation\n  //   failures.\n\n  // The dirty state is a abstract state whose functionality is\n  // shared between the `created` and `updated` states.\n  //\n  // The deleted state shares the `isDirty` flag with the\n  // subclasses of `DirtyState`, but with a very different\n  // implementation.\n  //\n  // Dirty states have three child states:\n  //\n  // `uncommitted`: the store has not yet handed off the record\n  //   to be saved.\n  // `inFlight`: the store has handed off the record to be saved,\n  //   but the adapter has not yet acknowledged success.\n  // `invalid`: the record has invalid information and cannot be\n  //   sent to the adapter yet.\n  var DirtyState = {\n    initialState: 'uncommitted',\n    // FLAGS\n    isDirty: true,\n    // SUBSTATES\n\n    // When a record first becomes dirty, it is `uncommitted`.\n    // This means that there are local pending changes, but they\n    // have not yet begun to be saved, and are not invalid.\n    uncommitted: {\n      // EVENTS\n      didSetProperty,\n      //TODO(Igor) reloading now triggers a\n      //loadingData event, though it seems fine?\n      loadingData() {},\n      becameValid() {},\n      propertyWasReset(internalModel, name) {\n        if (!internalModel.hasChangedAttributes()) {\n          internalModel.send('rolledBack');\n        }\n      },\n      pushedData(internalModel) {\n        if (!internalModel.hasChangedAttributes()) {\n          internalModel.transitionTo('loaded.saved');\n        }\n      },\n      becomeDirty() {},\n      willCommit(internalModel) {\n        internalModel.transitionTo('inFlight');\n      },\n      reloadRecord(internalModel, {\n        resolve,\n        options\n      }) {\n        resolve(internalModel.store._reloadRecord(internalModel, options));\n      },\n      rolledBack(internalModel) {\n        internalModel.transitionTo('loaded.saved');\n        internalModel.triggerLater('rolledBack');\n      },\n      becameInvalid(internalModel) {\n        internalModel.transitionTo('invalid');\n      },\n      rollback(internalModel) {\n        internalModel.rollbackAttributes();\n        internalModel.triggerLater('ready');\n      }\n    },\n    // Once a record has been handed off to the adapter to be\n    // saved, it is in the 'in flight' state. Changes to the\n    // record cannot be made during this window.\n    inFlight: {\n      // FLAGS\n      isSaving: true,\n      // EVENTS\n      didSetProperty,\n      becomeDirty() {},\n      pushedData() {},\n      unloadRecord: assertAgainstUnloadRecord,\n      // TODO: More robust semantics around save-while-in-flight\n      willCommit() {},\n      didCommit(internalModel) {\n        internalModel.transitionTo('saved');\n        internalModel.send('invokeLifecycleCallbacks', this.dirtyType);\n      },\n      rolledBack(internalModel) {\n        internalModel.triggerLater('rolledBack');\n      },\n      becameInvalid(internalModel) {\n        internalModel.transitionTo('invalid');\n        internalModel.send('invokeLifecycleCallbacks');\n      },\n      becameError(internalModel) {\n        internalModel.transitionTo('uncommitted');\n        internalModel.triggerLater('becameError', internalModel);\n      }\n    },\n    // A record is in the `invalid` if the adapter has indicated\n    // the the record failed server-side invalidations.\n    invalid: {\n      // FLAGS\n      isValid: false,\n      // EVENTS\n      deleteRecord(internalModel) {\n        internalModel.transitionTo('deleted.uncommitted');\n      },\n      didSetProperty(internalModel, context) {\n        internalModel.getRecord().errors._remove(context.name);\n        didSetProperty(internalModel, context);\n        if (!internalModel.hasErrors()) {\n          this.becameValid(internalModel);\n        }\n      },\n      becameInvalid() {},\n      becomeDirty() {},\n      pushedData() {},\n      willCommit(internalModel) {\n        clearErrorMessages(internalModel);\n        internalModel.transitionTo('inFlight');\n      },\n      rolledBack(internalModel) {\n        clearErrorMessages(internalModel);\n        internalModel.transitionTo('loaded.saved');\n        internalModel.triggerLater('ready');\n      },\n      becameValid(internalModel) {\n        internalModel.transitionTo('uncommitted');\n      },\n      invokeLifecycleCallbacks(internalModel) {\n        internalModel.triggerLater('becameInvalid', internalModel);\n      }\n    }\n  };\n\n  // The created and updated states are created outside the state\n  // chart so we can reopen their substates and add mixins as\n  // necessary.\n\n  function deepClone(object) {\n    var clone = {};\n    var value;\n    for (var prop in object) {\n      value = object[prop];\n      if (value && typeof value === 'object') {\n        clone[prop] = deepClone(value);\n      } else {\n        clone[prop] = value;\n      }\n    }\n    return clone;\n  }\n  function mixin(original, hash) {\n    for (var prop in hash) {\n      original[prop] = hash[prop];\n    }\n    return original;\n  }\n  function dirtyState(options) {\n    var newState = deepClone(DirtyState);\n    return mixin(newState, options);\n  }\n  var createdState = dirtyState({\n    dirtyType: 'created',\n    // FLAGS\n    isNew: true,\n    setup(internalModel) {\n      internalModel.store.recordArrayManager.recordDidChange(internalModel.identifier);\n    }\n  });\n  createdState.invalid.rolledBack = function (internalModel) {\n    internalModel.transitionTo('deleted.saved');\n    internalModel.triggerLater('rolledBack');\n  };\n  createdState.uncommitted.rolledBack = function (internalModel) {\n    internalModel.transitionTo('deleted.saved');\n    internalModel.triggerLater('rolledBack');\n  };\n  var updatedState = dirtyState({\n    dirtyType: 'updated'\n  });\n  function createdStateDeleteRecord(internalModel) {\n    internalModel.transitionTo('deleted.saved');\n    internalModel.send('invokeLifecycleCallbacks');\n  }\n  createdState.uncommitted.deleteRecord = createdStateDeleteRecord;\n  createdState.invalid.deleteRecord = createdStateDeleteRecord;\n  createdState.uncommitted.rollback = function (internalModel) {\n    DirtyState.uncommitted.rollback.apply(this, arguments);\n    internalModel.transitionTo('deleted.saved');\n  };\n  createdState.uncommitted.pushedData = function (internalModel) {\n    // TODO @runspired consider where to do this once we kill off state machine\n    {\n      internalModel.store._notificationManager.notify(internalModel.identifier, 'identity');\n    }\n    internalModel.transitionTo('loaded.updated.uncommitted');\n    internalModel.triggerLater('didLoad');\n  };\n  createdState.uncommitted.propertyWasReset = function () {};\n  function assertAgainstUnloadRecord(internalModel) {\n    (debug.assert('You can only unload a record which is not inFlight. `' + internalModel + '`', false));\n  }\n  updatedState.invalid.becameValid = function (internalModel) {\n    // we're eagerly transition into the loaded.saved state, even though we could\n    // be still dirty; but the setup hook of the loaded.saved state checks for\n    // dirty attributes and transitions into the corresponding dirty state\n    internalModel.transitionTo('loaded.saved');\n  };\n  updatedState.inFlight.unloadRecord = assertAgainstUnloadRecord;\n  updatedState.uncommitted.deleteRecord = function (internalModel) {\n    internalModel.transitionTo('deleted.uncommitted');\n  };\n  updatedState.invalid.rolledBack = function (internalModel) {\n    clearErrorMessages(internalModel);\n    internalModel.transitionTo('loaded.saved');\n    internalModel.triggerLater('rolledBack');\n  };\n  var RootState = {\n    // FLAGS\n    isEmpty: false,\n    isLoading: false,\n    isLoaded: false,\n    isDirty: false,\n    isSaving: false,\n    isDeleted: false,\n    isNew: false,\n    isValid: true,\n    // DEFAULT EVENTS\n\n    // Trying to roll back if you're not in the dirty state\n    // doesn't change your state. For example, if you're in the\n    // in-flight state, rolling back the record doesn't move\n    // you out of the in-flight state.\n    rolledBack() {},\n    unloadRecord(internalModel) {},\n    propertyWasReset() {},\n    // SUBSTATES\n\n    // A record begins its lifecycle in the `empty` state.\n    // If its data will come from the adapter, it will\n    // transition into the `loading` state. Otherwise, if\n    // the record is being created on the client, it will\n    // transition into the `created` state.\n    empty: {\n      isEmpty: true,\n      // EVENTS\n      loadingData(internalModel, promise) {\n        internalModel.transitionTo('loading');\n      },\n      loadedData(internalModel) {\n        internalModel.transitionTo('loaded.created.uncommitted');\n        internalModel.triggerLater('ready');\n      },\n      pushedData(internalModel) {\n        internalModel.transitionTo('loaded.saved');\n        internalModel.triggerLater('didLoad');\n        internalModel.triggerLater('ready');\n      },\n      // Record is already in an empty state, triggering transition to empty here\n      // produce an error.\n      notFound() {}\n    },\n    // A record enters this state when the store asks\n    // the adapter for its data. It remains in this state\n    // until the adapter provides the requested data.\n    //\n    // Usually, this process is asynchronous, using an\n    // XHR to retrieve the data.\n    loading: {\n      // FLAGS\n      isLoading: true,\n      exit(internalModel) {\n        internalModel._promiseProxy = null;\n      },\n      loadingData() {},\n      // EVENTS\n      pushedData(internalModel) {\n        internalModel.transitionTo('loaded.saved');\n        internalModel.triggerLater('didLoad');\n        internalModel.triggerLater('ready');\n        //TODO this seems out of place here\n        internalModel.didCleanError();\n      },\n      becameError(internalModel) {\n        internalModel.triggerLater('becameError', internalModel);\n      },\n      notFound(internalModel) {\n        internalModel.transitionTo('empty');\n      }\n    },\n    // A record enters this state when its data is populated.\n    // Most of a record's lifecycle is spent inside substates\n    // of the `loaded` state.\n    loaded: {\n      initialState: 'saved',\n      // FLAGS\n      isLoaded: true,\n      //TODO(Igor) Reloading now triggers a loadingData event,\n      //but it should be ok?\n      loadingData() {},\n      // SUBSTATES\n\n      // If there are no local changes to a record, it remains\n      // in the `saved` state.\n      saved: {\n        setup(internalModel) {\n          if (internalModel.hasChangedAttributes()) {\n            internalModel.adapterDidDirty();\n          }\n        },\n        // EVENTS\n        didSetProperty,\n        pushedData() {},\n        becomeDirty(internalModel) {\n          internalModel.transitionTo('updated.uncommitted');\n        },\n        willCommit(internalModel) {\n          internalModel.transitionTo('updated.inFlight');\n        },\n        reloadRecord(internalModel, {\n          resolve,\n          options\n        }) {\n        },\n        deleteRecord(internalModel) {\n          internalModel.transitionTo('deleted.uncommitted');\n        },\n        unloadRecord(internalModel) {},\n        didCommit() {},\n        // loaded.saved.notFound would be triggered by a failed\n        // `reload()` on an unchanged record\n        notFound() {}\n      },\n      // A record is in this state after it has been locally\n      // created but before the adapter has indicated that\n      // it has been saved.\n      created: createdState,\n      // A record is in this state if it has already been\n      // saved to the server, but there are new local changes\n      // that have not yet been saved.\n      updated: updatedState\n    },\n    // A record is in this state if it was deleted from the store.\n    deleted: {\n      initialState: 'uncommitted',\n      dirtyType: 'deleted',\n      // FLAGS\n      isDeleted: true,\n      isLoaded: true,\n      isDirty: true,\n      // TRANSITIONS\n      setup(internalModel) {\n        internalModel.store.recordArrayManager.recordDidChange(internalModel.identifier);\n      },\n      // SUBSTATES\n\n      // When a record is deleted, it enters the `start`\n      // state. It will exit this state when the record\n      // starts to commit.\n      uncommitted: {\n        // EVENTS\n\n        willCommit(internalModel) {\n          internalModel.transitionTo('inFlight');\n        },\n        rollback(internalModel) {\n          internalModel.rollbackAttributes();\n          internalModel.triggerLater('ready');\n        },\n        pushedData() {},\n        becomeDirty() {},\n        deleteRecord() {},\n        rolledBack(internalModel) {\n          internalModel.transitionTo('loaded.saved');\n          internalModel.triggerLater('ready');\n          internalModel.triggerLater('rolledBack');\n        }\n      },\n      // After a record starts committing, but\n      // before the adapter indicates that the deletion\n      // has saved to the server, a record is in the\n      // `inFlight` substate of `deleted`.\n      inFlight: {\n        // FLAGS\n        isSaving: true,\n        // EVENTS\n\n        unloadRecord: assertAgainstUnloadRecord,\n        // TODO: More robust semantics around save-while-in-flight\n        willCommit() {},\n        didCommit(internalModel) {\n          internalModel.transitionTo('saved');\n          internalModel.send('invokeLifecycleCallbacks');\n        },\n        becameError(internalModel) {\n          internalModel.transitionTo('uncommitted');\n          internalModel.triggerLater('becameError', internalModel);\n        },\n        becameInvalid(internalModel) {\n          internalModel.transitionTo('invalid');\n          internalModel.triggerLater('becameInvalid', internalModel);\n        }\n      },\n      // Once the adapter indicates that the deletion has\n      // been saved, the record enters the `saved` substate\n      // of `deleted`.\n      saved: {\n        // FLAGS\n        isDirty: false,\n        setup(internalModel) {\n          internalModel.removeFromInverseRelationships();\n        },\n        invokeLifecycleCallbacks(internalModel) {\n          internalModel.triggerLater('didDelete', internalModel);\n          internalModel.triggerLater('didCommit', internalModel);\n        },\n        willCommit() {},\n        didCommit() {},\n        pushedData() {}\n      },\n      invalid: {\n        isValid: false,\n        didSetProperty(internalModel, context) {\n          internalModel.getRecord().errors._remove(context.name);\n          didSetProperty(internalModel, context);\n          if (!internalModel.hasErrors()) {\n            this.becameValid(internalModel);\n          }\n        },\n        becameInvalid() {},\n        becomeDirty() {},\n        deleteRecord() {},\n        willCommit() {},\n        rolledBack(internalModel) {\n          clearErrorMessages(internalModel);\n          internalModel.transitionTo('loaded.saved');\n          internalModel.triggerLater('ready');\n        },\n        becameValid(internalModel) {\n          internalModel.transitionTo('uncommitted');\n        }\n      }\n    },\n    invokeLifecycleCallbacks(internalModel, dirtyType) {\n      if (dirtyType === 'created') {\n        internalModel.triggerLater('didCreate', internalModel);\n      } else {\n        internalModel.triggerLater('didUpdate', internalModel);\n      }\n      internalModel.triggerLater('didCommit', internalModel);\n    }\n  };\n  function wireState(object, parent, name) {\n    // TODO: Use Object.create and copy instead\n    object = mixin(parent ? Object.create(parent) : {}, object);\n    object.parentState = parent;\n    object.stateName = name;\n    for (var prop in object) {\n      if (!Object.prototype.hasOwnProperty.call(object, prop) || prop === 'parentState' || prop === 'stateName') {\n        continue;\n      }\n      if (typeof object[prop] === 'object') {\n        object[prop] = wireState(object[prop], object, name + '.' + prop);\n      }\n    }\n    return object;\n  }\n  function clearErrorMessages(internalModel) {\n    internalModel.getRecord().errors._clear();\n  }\n  var RootState$1 = wireState(RootState, null, 'root');\n\n  // move to TS hacks module that we can delete when this is no longer a necessary recast\n\n  /**\n    @module @ember-data/store\n  */\n\n  var {\n    hasOwnProperty\n  } = Object.prototype;\n  var ManyArray;\n  var PromiseBelongsTo;\n  var _PromiseManyArray; // TODO find a way to get the klass type here\n\n  var _found$1 = false;\n  var _getModelPackage;\n  {\n    _getModelPackage = function () {\n      if (!_found$1) {\n        var modelPackage = require('@ember-data/model/-private');\n        ({\n          ManyArray,\n          PromiseBelongsTo,\n          PromiseManyArray: _PromiseManyArray\n        } = modelPackage);\n        if (ManyArray && PromiseBelongsTo && _PromiseManyArray) {\n          _found$1 = true;\n        }\n      }\n      return _found$1;\n    };\n  }\n  /*\n    The TransitionChainMap caches the `state.enters`, `state.setups`, and final state reached\n    when transitioning from one state to another, so that future transitions can replay the\n    transition without needing to walk the state tree, collect these hook calls and determine\n     the state to transition into.\n\n     A future optimization would be to build a single chained method out of the collected enters\n     and setups. It may also be faster to do a two level cache (from: { to }) instead of caching based\n     on a key that adds the two together.\n   */\n  var TransitionChainMap = Object.create(null);\n  var _extractPivotNameCache = Object.create(null);\n  var _splitOnDotCache = Object.create(null);\n  function splitOnDot(name) {\n    return _splitOnDotCache[name] || (_splitOnDotCache[name] = name.split('.'));\n  }\n  function extractPivotName(name) {\n    return _extractPivotNameCache[name] || (_extractPivotNameCache[name] = splitOnDot(name)[0]);\n  }\n  class InternalModel {\n    // Not typed yet\n\n    constructor(store, identifier) {\n      this.store = store;\n      this.identifier = identifier;\n      {\n        _getModelPackage();\n      }\n      this._id = identifier.id;\n      this._isUpdatingId = false;\n      this.modelName = identifier.type;\n      this.clientId = identifier.lid;\n      this.__recordData = null;\n      this._promiseProxy = null;\n      this._isDestroyed = false;\n      this._doNotDestroy = false;\n      this.isError = false;\n      this._pendingRecordArrayManagerFlush = false; // used by the recordArrayManager\n\n      // During dematerialization we don't want to rematerialize the record.  The\n      // reason this might happen is that dematerialization removes records from\n      // record arrays,  and Ember arrays will always `objectAt(0)` and\n      // `objectAt(len - 1)` to test whether or not `firstObject` or `lastObject`\n      // have changed.\n      this._isDematerializing = false;\n      this._scheduledDestroy = null;\n      this._record = null;\n      this.error = null;\n\n      // caches for lazy getters\n      this._modelClass = null;\n      this.__recordArrays = null;\n      this._recordReference = null;\n      this.__recordData = null;\n      this.error = null;\n\n      // other caches\n      // class fields have [[DEFINE]] semantics which are significantly slower than [[SET]] semantics here\n      this._manyArrayCache = Object.create(null);\n      this._relationshipPromisesCache = Object.create(null);\n      this._relationshipProxyCache = Object.create(null);\n      this.references = Object.create(null);\n      this._deferredTriggers = [];\n      this.currentState = RootState$1.empty;\n    }\n    get id() {\n      return this.identifier.id;\n    }\n    set id(value) {\n      if (value !== this._id) {\n        var newIdentifier = {\n          type: this.identifier.type,\n          lid: this.identifier.lid,\n          id: value\n        };\n        identifierCacheFor(this.store).updateRecordIdentifier(this.identifier, newIdentifier);\n        this.notifyPropertyChange('id');\n      }\n    }\n    get modelClass() {\n      if (this.store.modelFor) {\n        return this._modelClass || (this._modelClass = this.store.modelFor(this.modelName));\n      }\n    }\n    get recordReference() {\n      if (this._recordReference === null) {\n        this._recordReference = new RecordReference(this.store, this.identifier);\n      }\n      return this._recordReference;\n    }\n    get _recordData() {\n      if (this.__recordData === null) {\n        var recordData = this.store._createRecordData(this.identifier);\n        this.__recordData = recordData;\n        return recordData;\n      }\n      return this.__recordData;\n    }\n    set _recordData(newValue) {\n      this.__recordData = newValue;\n    }\n    isHiddenFromRecordArrays() {\n      // During dematerialization we don't want to rematerialize the record.\n      // recordWasDeleted can cause other records to rematerialize because it\n      // removes the internal model from the array and Ember arrays will always\n      // `objectAt(0)` and `objectAt(len -1)` to check whether `firstObject` or\n      // `lastObject` have changed.  When this happens we don't want those\n      // models to rematerialize their records.\n\n      // eager checks to avoid instantiating record data if we are empty or loading\n      if (this.currentState.isEmpty) {\n        return true;\n      }\n      {\n        if (this.currentState.isLoading) {\n          return false;\n        }\n      }\n      var isRecordFullyDeleted;\n      {\n        isRecordFullyDeleted = this._isRecordFullyDeleted();\n      }\n      return this._isDematerializing || this.hasScheduledDestroy() || this.isDestroyed || isRecordFullyDeleted;\n    }\n    _isRecordFullyDeleted() {\n      {\n        if (this._recordData.isDeletionCommitted && this._recordData.isDeletionCommitted()) {\n          return true;\n        } else if (this._recordData.isNew && this._recordData.isDeleted && this._recordData.isNew() && this._recordData.isDeleted()) {\n          return true;\n        } else {\n          return this.currentState.stateName === 'root.deleted.saved';\n        }\n      }\n    }\n    isDeleted() {\n      {\n        if (this._recordData.isDeleted) {\n          return this._recordData.isDeleted();\n        } else {\n          return this.currentState.isDeleted;\n        }\n      }\n    }\n    isNew() {\n      {\n        if (this._recordData.isNew) {\n          return this._recordData.isNew();\n        } else {\n          return this.currentState.isNew;\n        }\n      }\n    }\n    getRecord(properties) {\n      if (!this._record && !this._isDematerializing) {\n        var {\n          store: _store\n        } = this;\n        {\n          this._record = _store._instantiateRecord(this, this.modelName, this._recordData, this.identifier, properties);\n        }\n        this._triggerDeferredTriggers();\n      }\n      return this._record;\n    }\n    dematerializeRecord() {\n      this._isDematerializing = true;\n\n      // TODO IGOR add a test that fails when this is missing, something that involves canceling a destroy\n      // and the destroy not happening, and then later on trying to destroy\n      this._doNotDestroy = false;\n      if (this._record) {\n        {\n          this.store.teardownRecord(this._record);\n        }\n      }\n\n      // move to an empty never-loaded state\n      // ensure any record notifications happen prior to us\n      // unseting the record but after we've triggered\n      // destroy\n      this.store._backburner.join(() => {\n        this._recordData.unloadRecord();\n      });\n      if (this._record) {\n        Object.keys(this._relationshipProxyCache).forEach(key => {\n          if (this._relationshipProxyCache[key].destroy) {\n            this._relationshipProxyCache[key].destroy();\n          }\n          delete this._relationshipProxyCache[key];\n        });\n      }\n      this._record = null;\n      this.error = null;\n      this._previousState = this.currentState;\n      this.currentState = RootState$1.empty;\n      {\n        this.store.recordArrayManager.recordDidChange(this.identifier);\n      }\n    }\n    deleteRecord() {\n      runloop.run(() => {\n        var backburner = this.store._backburner;\n        backburner.run(() => {\n          {\n            if (this._recordData.setIsDeleted) {\n              this._recordData.setIsDeleted(true);\n            }\n          }\n          if (this.isNew()) {\n            // destroyRecord follows up deleteRecord with save(). This prevents an unecessary save for a new record\n            this._deletedRecordWasNew = true;\n            this.send('deleteRecord');\n            this._triggerDeferredTriggers();\n            this.unloadRecord();\n          } else {\n            this.send('deleteRecord');\n          }\n        });\n      });\n    }\n    save(options) {\n      if (this._deletedRecordWasNew) {\n        return RSVP.Promise.resolve();\n      }\n      var promiseLabel = 'DS: Model#save ' + this;\n      var resolver = RSVP__default[\"default\"].defer(promiseLabel);\n      {\n        // Casting to narrow due to the feature flag paths inside scheduleSave\n        return this.store.scheduleSave(this, resolver, options);\n      }\n    }\n    reload(options) {\n      {\n        if (!options) {\n          options = {};\n        }\n        var internalModel = this;\n        return internalModel.store._reloadRecord(internalModel, options).then(function () {\n          //TODO NOW seems like we shouldn't need to do this\n          return internalModel;\n        }, function (error) {\n          throw error;\n        }, 'DS: Model#reload complete, update flags');\n      }\n    }\n\n    /*\n      Unload the record for this internal model. This will cause the record to be\n      destroyed and freed up for garbage collection. It will also do a check\n      for cleaning up internal models.\n       This check is performed by first computing the set of related internal\n      models. If all records in this set are unloaded, then the entire set is\n      destroyed. Otherwise, nothing in the set is destroyed.\n       This means that this internal model will be freed up for garbage collection\n      once all models that refer to it via some relationship are also unloaded.\n    */\n    unloadRecord() {\n      if (this.isDestroyed) {\n        return;\n      }\n      this.send('unloadRecord');\n      this.dematerializeRecord();\n      if (this._scheduledDestroy === null) {\n        this._scheduledDestroy = runloop._backburner.schedule('destroy', this, '_checkForOrphanedInternalModels');\n      }\n    }\n    hasScheduledDestroy() {\n      return !!this._scheduledDestroy;\n    }\n    cancelDestroy() {\n      (!(!this.isDestroyed) && debug.assert(`You cannot cancel the destruction of an InternalModel once it has already been destroyed`, !this.isDestroyed));\n      this._doNotDestroy = true;\n      this._isDematerializing = false;\n      runloop.cancel(this._scheduledDestroy);\n      this._scheduledDestroy = null;\n    }\n\n    // typically, we prefer to async destroy this lets us batch cleanup work.\n    // Unfortunately, some scenarios where that is not possible. Such as:\n    //\n    // ```js\n    // const record = store.findRecord(‘record’, 1);\n    // record.unloadRecord();\n    // store.createRecord(‘record’, 1);\n    // ```\n    //\n    // In those scenarios, we make that model's cleanup work, sync.\n    //\n    destroySync() {\n      if (this._isDematerializing) {\n        this.cancelDestroy();\n      }\n      this._checkForOrphanedInternalModels();\n      if (this.isDestroyed || this.isDestroying) {\n        return;\n      }\n\n      // just in-case we are not one of the orphaned, we should still\n      // still destroy ourselves\n      this.destroy();\n    }\n    _checkForOrphanedInternalModels() {\n      this._isDematerializing = false;\n      this._scheduledDestroy = null;\n      if (this.isDestroyed) {\n        return;\n      }\n    }\n    _findBelongsTo(key, resource, relationshipMeta, options) {\n      // TODO @runspired follow up if parent isNew then we should not be attempting load here\n      return this.store._findBelongsToByJsonApiResource(resource, this, relationshipMeta, options).then(internalModel => handleCompletedRelationshipRequest(this, key, resource._relationship, internalModel, null), e => handleCompletedRelationshipRequest(this, key, resource._relationship, null, e));\n    }\n    getBelongsTo(key, options) {\n      var resource = this._recordData.getBelongsTo(key);\n      var identifier = resource && resource.data ? identifierCacheFor(this.store).getOrCreateRecordIdentifier(resource.data) : null;\n      var relationshipMeta = this.store._relationshipMetaFor(this.modelName, null, key);\n      var store = this.store;\n      var parentInternalModel = this;\n      var async = relationshipMeta.options.async;\n      var isAsync = typeof async === 'undefined' ? true : async;\n      var _belongsToState = {\n        key,\n        store,\n        originatingInternalModel: this,\n        modelName: relationshipMeta.type\n      };\n      if (isAsync) {\n        var internalModel = identifier !== null ? store._internalModelForResource(identifier) : null;\n        if (resource._relationship.state.hasFailedLoadAttempt) {\n          return this._relationshipProxyCache[key];\n        }\n        var promise = this._findBelongsTo(key, resource, relationshipMeta, options);\n        return this._updatePromiseProxyFor('belongsTo', key, {\n          promise,\n          content: internalModel ? internalModel.getRecord() : null,\n          _belongsToState\n        });\n      } else {\n        if (identifier === null) {\n          return null;\n        } else {\n          var _internalModel2 = store._internalModelForResource(identifier);\n          var toReturn = _internalModel2.getRecord();\n          (!(toReturn === null || !toReturn.isEmpty) && debug.assert(\"You looked up the '\" + key + \"' relationship on a '\" + parentInternalModel.modelName + \"' with id \" + parentInternalModel.id + ' but some of the associated records were not loaded. Either make sure they are all loaded together with the parent record, or specify that the relationship is async (`belongsTo({ async: true })`)', toReturn === null || !toReturn.isEmpty));\n          return toReturn;\n        }\n      }\n    }\n    getManyArray(key, definition) {\n      {\n        var manyArray = this._manyArrayCache[key];\n        if (!definition) {\n          var graphFor = require('@ember-data/record-data/-private').graphFor;\n          definition = graphFor(this.store).get(this.identifier, key).definition;\n        }\n        if (!manyArray) {\n          manyArray = ManyArray.create({\n            store: this.store,\n            type: this.store.modelFor(definition.type),\n            recordData: this._recordData,\n            key,\n            isPolymorphic: definition.isPolymorphic,\n            isAsync: definition.isAsync,\n            _inverseIsAsync: definition.inverseIsAsync,\n            internalModel: this,\n            isLoaded: !definition.isAsync\n          });\n          this._manyArrayCache[key] = manyArray;\n        }\n        return manyArray;\n      }\n    }\n    fetchAsyncHasMany(key, relationship, manyArray, options) {\n      {\n        var loadingPromise = this._relationshipPromisesCache[key];\n        if (loadingPromise) {\n          return loadingPromise;\n        }\n        var jsonApi = this._recordData.getHasMany(key);\n        loadingPromise = this.store._findHasManyByJsonApiResource(jsonApi, this, relationship, options).then(() => handleCompletedRelationshipRequest(this, key, relationship, manyArray, null), e => handleCompletedRelationshipRequest(this, key, relationship, manyArray, e));\n        this._relationshipPromisesCache[key] = loadingPromise;\n        return loadingPromise;\n      }\n    }\n    getHasMany(key, options) {\n      {\n        var graphFor = require('@ember-data/record-data/-private').graphFor;\n        var relationship = graphFor(this.store).get(this.identifier, key);\n        var {\n          definition,\n          state\n        } = relationship;\n        var manyArray = this.getManyArray(key, definition);\n        if (definition.isAsync) {\n          if (state.hasFailedLoadAttempt) {\n            return this._relationshipProxyCache[key];\n          }\n          var promise = this.fetchAsyncHasMany(key, relationship, manyArray, options);\n          return this._updatePromiseProxyFor('hasMany', key, {\n            promise,\n            content: manyArray\n          });\n        } else {\n          (!(!anyUnloaded(this.store, relationship)) && debug.assert(`You looked up the '${key}' relationship on a '${this.modelName}' with id ${this.id} but some of the associated records were not loaded. Either make sure they are all loaded together with the parent record, or specify that the relationship is async ('hasMany({ async: true })')`, !anyUnloaded(this.store, relationship)));\n          return manyArray;\n        }\n      }\n    }\n    _updatePromiseProxyFor(kind, key, args) {\n      var promiseProxy = this._relationshipProxyCache[key];\n      if (kind === 'hasMany') {\n        if (promiseProxy) {\n          promiseProxy._update(args.promise, args.content);\n        } else {\n          promiseProxy = this._relationshipProxyCache[key] = new _PromiseManyArray(args.promise, args.content);\n        }\n        return promiseProxy;\n      }\n      if (promiseProxy) {\n        if (args.content !== undefined) {\n          // this usage of `any` can be removed when `@types/ember_object` proxy allows `null` for content\n          promiseProxy.set('content', args.content);\n        }\n        promiseProxy.set('promise', args.promise);\n      } else {\n        var klass = PromiseBelongsTo;\n        // this usage of `any` can be removed when `@types/ember_object` proxy allows `null` for content\n        this._relationshipProxyCache[key] = klass.create(args);\n      }\n      return this._relationshipProxyCache[key];\n    }\n    reloadHasMany(key, options) {\n      {\n        var loadingPromise = this._relationshipPromisesCache[key];\n        if (loadingPromise) {\n          return loadingPromise;\n        }\n        var graphFor = require('@ember-data/record-data/-private').graphFor;\n        var relationship = graphFor(this.store).get(this.identifier, key);\n        var {\n          definition,\n          state\n        } = relationship;\n        state.hasFailedLoadAttempt = false;\n        state.shouldForceReload = true;\n        var manyArray = this.getManyArray(key, definition);\n        var promise = this.fetchAsyncHasMany(key, relationship, manyArray, options);\n        if (this._relationshipProxyCache[key]) {\n          return this._updatePromiseProxyFor('hasMany', key, {\n            promise\n          });\n        }\n        return promise;\n      }\n    }\n    reloadBelongsTo(key, options) {\n      var loadingPromise = this._relationshipPromisesCache[key];\n      if (loadingPromise) {\n        return loadingPromise;\n      }\n      var resource = this._recordData.getBelongsTo(key);\n      // TODO move this to a public api\n      if (resource._relationship) {\n        resource._relationship.state.hasFailedLoadAttempt = false;\n        resource._relationship.state.shouldForceReload = true;\n      }\n      var relationshipMeta = this.store._relationshipMetaFor(this.modelName, null, key);\n      var promise = this._findBelongsTo(key, resource, relationshipMeta, options);\n      if (this._relationshipProxyCache[key]) {\n        return this._updatePromiseProxyFor('belongsTo', key, {\n          promise\n        });\n      }\n      return promise;\n    }\n    destroyFromRecordData() {\n      if (this._doNotDestroy) {\n        this._doNotDestroy = false;\n        return;\n      }\n      this.destroy();\n    }\n    destroy() {\n      (!(!this._record || this._record.get('isDestroyed') || this._record.get('isDestroying')) && debug.assert('Cannot destroy an internalModel while its record is materialized', !this._record || this._record.get('isDestroyed') || this._record.get('isDestroying')));\n      this.isDestroying = true;\n      if (this._recordReference) {\n        this._recordReference.destroy();\n      }\n      this._recordReference = null;\n      var cache = this._manyArrayCache;\n      Object.keys(cache).forEach(key => {\n        cache[key].destroy();\n        delete cache[key];\n      });\n      if (this.references) {\n        cache = this.references;\n        Object.keys(cache).forEach(key => {\n          cache[key].destroy();\n          delete cache[key];\n        });\n      }\n      internalModelFactoryFor(this.store).remove(this);\n      this._isDestroyed = true;\n    }\n    setupData(data) {\n      var changedKeys = this._recordData.pushData(data, this.hasRecord);\n      if (this.hasRecord) {\n        // TODO @runspired should this be going through the notification manager?\n        this._record._notifyProperties(changedKeys);\n      }\n      this.send('pushedData');\n    }\n    setDirtyHasMany(key, records) {\n      assertRecordsPassedToHasMany(records);\n      return this._recordData.setDirtyHasMany(key, extractRecordDatasFromRecords(records));\n    }\n    setDirtyBelongsTo(key, value) {\n      return this._recordData.setDirtyBelongsTo(key, extractRecordDataFromRecord(value));\n    }\n    setDirtyAttribute(key, value) {\n      if (this.isDeleted()) {\n        {\n          throw new EmberError__default[\"default\"](`Attempted to set '${key}' to '${value}' on the deleted record ${this}`);\n        }\n      }\n      var currentValue = this._recordData.getAttr(key);\n      if (currentValue !== value) {\n        this._recordData.setDirtyAttribute(key, value);\n        var isDirty = this._recordData.isAttrDirty(key);\n        this.send('didSetProperty', {\n          name: key,\n          isDirty: isDirty\n        });\n      }\n      return value;\n    }\n    get isDestroyed() {\n      return this._isDestroyed;\n    }\n    get hasRecord() {\n      return !!this._record;\n    }\n    createSnapshot(options) {\n      return new Snapshot(options || {}, this.identifier, this.store);\n    }\n    hasChangedAttributes() {\n      {\n        if (!this.__recordData) {\n          // no need to calculate changed attributes when calling `findRecord`\n          return false;\n        }\n      }\n      return this._recordData.hasChangedAttributes();\n    }\n    changedAttributes() {\n      {\n        if (!this.__recordData) {\n          // no need to calculate changed attributes when calling `findRecord`\n          return {};\n        }\n      }\n      return this._recordData.changedAttributes();\n    }\n    adapterWillCommit() {\n      this._recordData.willCommit();\n      this.send('willCommit');\n    }\n    adapterDidDirty() {\n      this.send('becomeDirty');\n    }\n    send(name, context) {\n      var currentState = this.currentState;\n      if (!currentState[name]) {\n        this._unhandledEvent(currentState, name, context);\n      }\n      return currentState[name](this, context);\n    }\n    notifyHasManyChange(key) {\n      if (this.hasRecord) {\n        var manyArray = this._manyArrayCache[key];\n        var hasPromise = !!this._relationshipPromisesCache[key];\n        if (manyArray && hasPromise) {\n          // do nothing, we will notify the ManyArray directly\n          // once the fetch has completed.\n          return;\n        }\n        {\n          this.store._notificationManager.notify(this.identifier, 'relationships', key);\n        }\n      }\n    }\n    notifyBelongsToChange(key) {\n      if (this.hasRecord) {\n        {\n          this.store._notificationManager.notify(this.identifier, 'relationships', key);\n        }\n      }\n    }\n    notifyPropertyChange(key) {\n      if (this.hasRecord) {\n        {\n          // TODO this should likely *mostly* be the `attributes` bucket\n          // but it seems for local mutations we rely on computed updating\n          // iteself when set. As we design our own thing we may need to change\n          // that.\n          this.store._notificationManager.notify(this.identifier, 'property', key);\n        }\n      }\n    }\n    notifyStateChange(key) {\n      if (this.hasRecord) {\n        {\n          this.store._notificationManager.notify(this.identifier, 'state');\n        }\n      }\n      if (!key || key === 'isDeletionCommitted') {\n        this.store.recordArrayManager.recordDidChange(this.identifier);\n      }\n    }\n    didCreateRecord() {\n      this._recordData.clientDidCreate();\n    }\n    rollbackAttributes() {\n      this.store._backburner.join(() => {\n        var dirtyKeys = this._recordData.rollbackAttributes();\n        if (object.get(this, 'isError')) {\n          this.didCleanError();\n        }\n        this.send('rolledBack');\n        if (this._record && dirtyKeys && dirtyKeys.length > 0) {\n          this._record._notifyProperties(dirtyKeys);\n        }\n      });\n    }\n    transitionTo(name) {\n      // POSSIBLE TODO: Remove this code and replace with\n      // always having direct reference to state objects\n\n      var pivotName = extractPivotName(name);\n      var state = this.currentState;\n      var transitionMapId = `${state.stateName}->${name}`;\n      do {\n        if (state.exit) {\n          state.exit(this);\n        }\n        state = state.parentState;\n      } while (!state[pivotName]);\n      var setups;\n      var enters;\n      var i;\n      var l;\n      var map = TransitionChainMap[transitionMapId];\n      if (map) {\n        setups = map.setups;\n        enters = map.enters;\n        state = map.state;\n      } else {\n        setups = [];\n        enters = [];\n        var path = splitOnDot(name);\n        for (i = 0, l = path.length; i < l; i++) {\n          state = state[path[i]];\n          if (state.enter) {\n            enters.push(state);\n          }\n          if (state.setup) {\n            setups.push(state);\n          }\n        }\n        TransitionChainMap[transitionMapId] = {\n          setups,\n          enters,\n          state\n        };\n      }\n      for (i = 0, l = enters.length; i < l; i++) {\n        enters[i].enter(this);\n      }\n      this.currentState = state;\n      {\n        if (this.hasRecord && typeof this._record.notifyPropertyChange === 'function') {\n          // TODO refactor Model to have all flags pull from the notification manager\n          // and for currentState.stateName to be constructed from flag state.\n          // Probably just port this work from ember-m3\n          // After that we can eliminate this.\n          this.notifyStateChange('currentState');\n          // this._record.notifyPropertyChange('currentState');\n        }\n      }\n      for (i = 0, l = setups.length; i < l; i++) {\n        setups[i].setup(this);\n      }\n    }\n    _unhandledEvent(state, name, context) {\n      var errorMessage = 'Attempted to handle event `' + name + '` ';\n      errorMessage += 'on ' + String(this) + ' while in state ';\n      errorMessage += state.stateName + '. ';\n      if (context !== undefined) {\n        errorMessage += 'Called with ' + debug.inspect(context) + '.';\n      }\n      throw new EmberError__default[\"default\"](errorMessage);\n    }\n    triggerLater(...args) {\n      if (this._deferredTriggers.push(args) !== 1) {\n        return;\n      }\n      this.store._updateInternalModel(this);\n    }\n    _triggerDeferredTriggers() {\n      //TODO: Before 1.0 we want to remove all the events that happen on the pre materialized record,\n      //but for now, we queue up all the events triggered before the record was materialized, and flush\n      //them once we have the record\n      if (!this.hasRecord) {\n        return;\n      }\n      var triggers = this._deferredTriggers;\n      var record = this._record;\n      var trigger = record.trigger;\n      // TODO Igor make nicer check\n      if (trigger && typeof trigger === 'function') {\n        for (var i = 0, l = triggers.length; i < l; i++) {\n          var eventName = triggers[i];\n          trigger.apply(record, eventName);\n        }\n      }\n      triggers.length = 0;\n    }\n    removeFromInverseRelationships() {\n      if (this.__recordData) {\n        this.store._backburner.join(() => {\n          this._recordData.removeFromInverseRelationships();\n        });\n      }\n    }\n\n    /*\n      When a find request is triggered on the store, the user can optionally pass in\n      attributes and relationships to be preloaded. These are meant to behave as if they\n      came back from the server, except the user obtained them out of band and is informing\n      the store of their existence. The most common use case is for supporting client side\n      nested URLs, such as `/posts/1/comments/2` so the user can do\n      `store.findRecord('comment', 2, { preload: { post: 1 } })` without having to fetch the post.\n       Preloaded data can be attributes and relationships passed in either as IDs or as actual\n      models.\n    */\n    preloadData(preload) {\n      var jsonPayload = {};\n      //TODO(Igor) consider the polymorphic case\n      Object.keys(preload).forEach(key => {\n        var preloadValue = object.get(preload, key);\n        var relationshipMeta = this.modelClass.metaForProperty(key);\n        if (relationshipMeta.isRelationship) {\n          if (!jsonPayload.relationships) {\n            jsonPayload.relationships = {};\n          }\n          jsonPayload.relationships[key] = this._preloadRelationship(key, preloadValue);\n        } else {\n          if (!jsonPayload.attributes) {\n            jsonPayload.attributes = {};\n          }\n          jsonPayload.attributes[key] = preloadValue;\n        }\n      });\n      this._recordData.pushData(jsonPayload);\n    }\n    _preloadRelationship(key, preloadValue) {\n      var relationshipMeta = this.modelClass.metaForProperty(key);\n      var modelClass = relationshipMeta.type;\n      var data;\n      if (relationshipMeta.kind === 'hasMany') {\n        (!(Array.isArray(preloadValue)) && debug.assert('You need to pass in an array to set a hasMany property on a record', Array.isArray(preloadValue)));\n        data = preloadValue.map(value => this._convertPreloadRelationshipToJSON(value, modelClass));\n      } else {\n        data = this._convertPreloadRelationshipToJSON(preloadValue, modelClass);\n      }\n      return {\n        data\n      };\n    }\n    _convertPreloadRelationshipToJSON(value, modelClass) {\n      if (typeof value === 'string' || typeof value === 'number') {\n        return {\n          type: modelClass,\n          id: value\n        };\n      }\n      var internalModel;\n      if (value._internalModel) {\n        internalModel = value._internalModel;\n      } else {\n        internalModel = value;\n      }\n      // TODO IGOR DAVID assert if no id is present\n      return {\n        type: internalModel.modelName,\n        id: internalModel.id\n      };\n    }\n\n    /*\n     * calling `store.setRecordId` is necessary to update\n     * the cache index for this record if we have changed.\n     *\n     * However, since the store is not aware of whether the update\n     * is from us (via user set) or from a push of new data\n     * it will also call us so that we can notify and update state.\n     *\n     * When it does so it calls with `fromCache` so that we can\n     * short-circuit instead of cycling back.\n     *\n     * This differs from the short-circuit in the `_isUpdatingId`\n     * case in that the the cache can originate the call to setId,\n     * so on first entry we will still need to do our own update.\n     */\n    setId(id, fromCache = false) {\n      if (this._isUpdatingId === true) {\n        return;\n      }\n      this._isUpdatingId = true;\n      var didChange = id !== this._id;\n      this._id = id;\n      if (didChange && id !== null) {\n        if (!fromCache) {\n          this.store.setRecordId(this.modelName, id, this.clientId);\n        }\n        // internal set of ID to get it to RecordData from DS.Model\n        // if we are within create we may not have a recordData yet.\n        if (this.__recordData && this._recordData.__setId) {\n          this._recordData.__setId(id);\n        }\n      }\n      if (didChange && this.hasRecord) {\n        {\n          this.store._notificationManager.notify(this.identifier, 'identity');\n        }\n      }\n      this._isUpdatingId = false;\n    }\n    didError(error) {\n    }\n    didCleanError() {\n    }\n\n    /*\n      If the adapter did not return a hash in response to a commit,\n      merge the changed attributes and relationships into the existing\n      saved data.\n    */\n    adapterDidCommit(data) {\n      this.didCleanError();\n      this._recordData.didCommit(data);\n      this.send('didCommit');\n      this.store.recordArrayManager.recordDidChange(this.identifier);\n      if (!data) {\n        return;\n      }\n      {\n        this.store._notificationManager.notify(this.identifier, 'attributes');\n      }\n    }\n    hasErrors() {\n      {\n        if (this._recordData.getErrors) {\n          return this._recordData.getErrors(this.identifier).length > 0;\n        } else {\n          var errors = this.getRecord().errors;\n          return errors.length > 0;\n        }\n      }\n    }\n\n    // FOR USE DURING COMMIT PROCESS\n    adapterDidInvalidate(parsedErrors, error) {\n      {\n        // TODO @runspired this should be handled by RecordState\n        // and errors should be dirtied but lazily fetch if at\n        // all possible. We should only notify errors here.\n        var attribute;\n        if (error && parsedErrors) {\n          if (!this._recordData.getErrors) {\n            for (attribute in parsedErrors) {\n              if (hasOwnProperty.call(parsedErrors, attribute)) {\n                this.getRecord().errors._add(attribute, parsedErrors[attribute]);\n              }\n            }\n          }\n          var jsonApiErrors = errorsHashToArray(parsedErrors);\n          this.send('becameInvalid');\n          if (jsonApiErrors.length === 0) {\n            jsonApiErrors = [{\n              title: 'Invalid Error',\n              detail: '',\n              source: {\n                pointer: '/data'\n              }\n            }];\n          }\n          this._recordData.commitWasRejected(this.identifier, jsonApiErrors);\n        } else {\n          this.send('becameError');\n          this._recordData.commitWasRejected(this.identifier);\n        }\n      }\n    }\n    notifyErrorsChange() {\n      {\n        this.store._notificationManager.notify(this.identifier, 'errors');\n      }\n    }\n    adapterDidError(error) {\n      this.send('becameError');\n      this.didError(error);\n      this._recordData.commitWasRejected();\n    }\n    toString() {\n      return `<${this.modelName}:${this.id}>`;\n    }\n    referenceFor(kind, name) {\n      var reference = this.references[name];\n      if (!reference) {\n        var graphFor = require('@ember-data/record-data/-private').graphFor;\n        var relationship = graphFor(this.store._storeWrapper).get(this.identifier, name);\n        if (kind) {\n          var modelName = this.modelName;\n          var actualRelationshipKind = relationship.definition.kind;\n          (!(actualRelationshipKind === kind) && debug.assert(`You tried to get the '${name}' relationship on a '${modelName}' via record.${kind}('${name}'), but the relationship is of kind '${actualRelationshipKind}'. Use record.${actualRelationshipKind}('${name}') instead.`, actualRelationshipKind === kind));\n        }\n        var relationshipKind = relationship.definition.kind;\n        var identifierOrInternalModel = this.identifier;\n        if (relationshipKind === 'belongsTo') {\n          reference = new BelongsToReference(this.store, identifierOrInternalModel, relationship, name);\n        } else if (relationshipKind === 'hasMany') {\n          reference = new HasManyReference(this.store, identifierOrInternalModel, relationship, name);\n        }\n        this.references[name] = reference;\n      }\n      return reference;\n    }\n  }\n  function handleCompletedRelationshipRequest(internalModel, key, relationship, value, error) {\n    delete internalModel._relationshipPromisesCache[key];\n    relationship.state.shouldForceReload = false;\n    var isHasMany = relationship.definition.kind === 'hasMany';\n    if (isHasMany) {\n      // we don't notify the record property here to avoid refetch\n      // only the many array\n      value.notify();\n    }\n    if (error) {\n      relationship.state.hasFailedLoadAttempt = true;\n      var proxy = internalModel._relationshipProxyCache[key];\n      // belongsTo relationships are sometimes unloaded\n      // when a load fails, in this case we need\n      // to make sure that we aren't proxying\n      // to destroyed content\n      // for the sync belongsTo reload case there will be no proxy\n      // for the async reload case there will be no proxy if the ui\n      // has never been accessed\n      if (proxy && !isHasMany) {\n        if (proxy.content && proxy.content.isDestroying) {\n          proxy.set('content', null);\n        }\n      }\n      throw error;\n    }\n    if (isHasMany) {\n      value.set('isLoaded', true);\n    }\n    relationship.state.hasFailedLoadAttempt = false;\n    // only set to not stale if no error is thrown\n    relationship.state.isStale = false;\n    return value;\n  }\n  function assertRecordsPassedToHasMany(records) {\n    // TODO only allow native arrays\n    (!(Array.isArray(records) || EmberArray__default[\"default\"].detect(records)) && debug.assert(`You must pass an array of records to set a hasMany relationship`, Array.isArray(records) || EmberArray__default[\"default\"].detect(records)));\n    (!(function () {\n      return EmberArray.A(records).every(record => hasOwnProperty.call(record, '_internalModel') === true);\n    }()) && debug.assert(`All elements of a hasMany relationship must be instances of Model, you passed ${debug.inspect(records)}`, function () {\n      return EmberArray.A(records).every(record => hasOwnProperty.call(record, '_internalModel') === true);\n    }()));\n  }\n  function extractRecordDatasFromRecords(records) {\n    return records.map(extractRecordDataFromRecord);\n  }\n  function extractRecordDataFromRecord(recordOrPromiseRecord) {\n    if (!recordOrPromiseRecord) {\n      return null;\n    }\n    if (recordOrPromiseRecord.then) {\n      var content = recordOrPromiseRecord.get && recordOrPromiseRecord.get('content');\n      (!(content !== undefined) && debug.assert('You passed in a promise that did not originate from an EmberData relationship. You can only pass promises that come from a belongsTo or hasMany relationship to the get call.', content !== undefined));\n      return content ? recordDataFor(content) : null;\n    }\n    return recordDataFor(recordOrPromiseRecord);\n  }\n  function anyUnloaded(store, relationship) {\n    // Can't use `find` because of IE11 and these arrays are potentially massive\n    var state = relationship.currentState;\n    var unloaded = false;\n    for (var i = 0; i < state.length; i++) {\n      var im = store._internalModelForResource(state[i]);\n      if (im._isDematerializing || !im.currentState.isLoaded) {\n        unloaded = true;\n        break;\n      }\n    }\n    return unloaded;\n  }\n\n  var AvailableShims = new WeakMap();\n  function getShimClass(store, modelName) {\n    var shims = AvailableShims.get(store);\n    if (shims === undefined) {\n      shims = Object.create(null);\n      AvailableShims.set(store, shims);\n    }\n    var shim = shims[modelName];\n    if (shim === undefined) {\n      shim = shims[modelName] = new ShimModelClass(store, modelName);\n    }\n    return shim;\n  }\n  function mapFromHash(hash) {\n    var map = new Map();\n    for (var i in hash) {\n      if (Object.prototype.hasOwnProperty.call(hash, i)) {\n        map.set(i, hash[i]);\n      }\n    }\n    return map;\n  }\n\n  // Mimics the static apis of DSModel\n  class ShimModelClass {\n    // TODO Maybe expose the class here?\n    constructor(__store, modelName) {\n      this.__store = __store;\n      this.modelName = modelName;\n    }\n    get fields() {\n      var attrs = this.__store._attributesDefinitionFor(this.modelName);\n      var relationships = this.__store._relationshipsDefinitionFor(this.modelName);\n      var fields = new Map();\n      Object.keys(attrs).forEach(key => fields.set(key, 'attribute'));\n      Object.keys(relationships).forEach(key => fields.set(key, relationships[key].kind));\n      return fields;\n    }\n    get attributes() {\n      var attrs = this.__store._attributesDefinitionFor(this.modelName);\n      return mapFromHash(attrs);\n    }\n    get relationshipsByName() {\n      var relationships = this.__store._relationshipsDefinitionFor(this.modelName);\n      return mapFromHash(relationships);\n    }\n    eachAttribute(callback, binding) {\n      var attrDefs = this.__store._attributesDefinitionFor(this.modelName);\n      Object.keys(attrDefs).forEach(key => {\n        callback.call(binding, key, attrDefs[key]);\n      });\n    }\n    eachRelationship(callback, binding) {\n      var relationshipDefs = this.__store._relationshipsDefinitionFor(this.modelName);\n      Object.keys(relationshipDefs).forEach(key => {\n        callback.call(binding, key, relationshipDefs[key]);\n      });\n    }\n    eachTransformedAttribute(callback, binding) {\n      var relationshipDefs = this.__store._relationshipsDefinitionFor(this.modelName);\n      Object.keys(relationshipDefs).forEach(key => {\n        if (relationshipDefs[key].type) {\n          callback.call(binding, key, relationshipDefs[key]);\n        }\n      });\n    }\n  }\n\n  /**\n    @module @ember-data/store\n  */\n\n  function payloadIsNotBlank(adapterPayload) {\n    if (Array.isArray(adapterPayload)) {\n      return true;\n    } else {\n      return Object.keys(adapterPayload || {}).length;\n    }\n  }\n  function _find(adapter, store, modelClass, id, internalModel, options) {\n    {\n      (debug.assert(`Requests made when REQUEST_SERVICE=true should not use the legacy finders`));\n    }\n    var snapshot = internalModel.createSnapshot(options);\n    var {\n      modelName\n    } = internalModel;\n    var promise = RSVP.Promise.resolve().then(() => {\n      return adapter.findRecord(store, modelClass, id, snapshot);\n    });\n    var label = `DS: Handle Adapter#findRecord of '${modelName}' with id: '${id}'`;\n    var {\n      identifier\n    } = internalModel;\n    promise = guardDestroyedStore(promise, store, label);\n    return promise.then(adapterPayload => {\n      (!(payloadIsNotBlank(adapterPayload)) && debug.assert(`You made a 'findRecord' request for a '${modelName}' with id '${id}', but the adapter's response did not have any data`, payloadIsNotBlank(adapterPayload)));\n      var serializer = store.serializerFor(modelName);\n      var payload = normalizeResponseHelper(serializer, store, modelClass, adapterPayload, id, 'findRecord');\n      (!(!Array.isArray(payload.data)) && debug.assert(`Ember Data expected the primary data returned from a 'findRecord' response to be an object but instead it found an array.`, !Array.isArray(payload.data)));\n      (!('data' in payload && payload.data !== null && typeof payload.data === 'object') && debug.assert(`The 'findRecord' request for ${modelName}:${id} resolved indicating success but contained no primary data. To indicate a 404 not found you should either reject the promise returned by the adapter's findRecord method or throw a NotFoundError.`, 'data' in payload && payload.data !== null && typeof payload.data === 'object'));\n      (debug.warn(`You requested a record of type '${modelName}' with id '${id}' but the adapter returned a payload with primary data having an id of '${payload.data.id}'. Use 'store.findRecord()' when the requested id is the same as the one returned by the adapter. In other cases use 'store.queryRecord()' instead.`, coerceId(payload.data.id) === coerceId(id), {\n        id: 'ds.store.findRecord.id-mismatch'\n      })); // ensure that regardless of id returned we assign to the correct record\n      payload.data.lid = identifier.lid;\n      return store._push(payload);\n    }, error => {\n      internalModel.send('notFound');\n      if (internalModel.currentState.isEmpty) {\n        internalModel.unloadRecord();\n      }\n      throw error;\n    }, `DS: Extract payload of '${modelName}'`);\n  }\n  function _findMany(adapter, store, modelName, ids, internalModels, optionsMap) {\n    var snapshots = internalModels.map(internalModel => internalModel.createSnapshot(optionsMap.get(internalModel)));\n    var modelClass = store.modelFor(modelName); // `adapter.findMany` gets the modelClass still\n    var promise = adapter.findMany(store, modelClass, ids, snapshots);\n    var label = `DS: Handle Adapter#findMany of '${modelName}'`;\n    if (promise === undefined) {\n      throw new Error('adapter.findMany returned undefined, this was very likely a mistake');\n    }\n    promise = guardDestroyedStore(promise, store, label);\n    return promise.then(adapterPayload => {\n      (!(payloadIsNotBlank(adapterPayload)) && debug.assert(`You made a 'findMany' request for '${modelName}' records with ids '[${ids}]', but the adapter's response did not have any data`, payloadIsNotBlank(adapterPayload)));\n      var serializer = store.serializerFor(modelName);\n      var payload = normalizeResponseHelper(serializer, store, modelClass, adapterPayload, null, 'findMany');\n      return store._push(payload);\n    }, null, `DS: Extract payload of ${modelName}`);\n  }\n  function iterateData(data, fn) {\n    if (Array.isArray(data)) {\n      return data.map(fn);\n    } else {\n      return fn(data);\n    }\n  }\n\n  // sync\n  // iterate over records in payload.data\n  // for each record\n  //   assert that record.relationships[inverse] is either undefined (so we can fix it)\n  //     or provide a data: {id, type} that matches the record that requested it\n  //   return the relationship data for the parent\n  function syncRelationshipDataFromLink(store, payload, parentInternalModel, relationship) {\n    // ensure the right hand side (incoming payload) points to the parent record that\n    // requested this relationship\n    var relationshipData = payload.data ? iterateData(payload.data, (data, index) => {\n      var {\n        id,\n        type\n      } = data;\n      ensureRelationshipIsSetToParent(data, parentInternalModel, store, relationship, index);\n      return {\n        id,\n        type\n      };\n    }) : null;\n    var relatedDataHash = {};\n    if ('meta' in payload) {\n      relatedDataHash.meta = payload.meta;\n    }\n    if ('links' in payload) {\n      relatedDataHash.links = payload.links;\n    }\n    if ('data' in payload) {\n      relatedDataHash.data = relationshipData;\n    }\n\n    // now, push the left hand side (the parent record) to ensure things are in sync, since\n    // the payload will be pushed with store._push\n    var parentPayload = {\n      id: parentInternalModel.id,\n      type: parentInternalModel.modelName,\n      relationships: {\n        [relationship.key]: relatedDataHash\n      }\n    };\n    if (!Array.isArray(payload.included)) {\n      payload.included = [];\n    }\n    payload.included.push(parentPayload);\n    return payload;\n  }\n  function ensureRelationshipIsSetToParent(payload, parentInternalModel, store, parentRelationship, index) {\n    var {\n      id,\n      type\n    } = payload;\n    if (!payload.relationships) {\n      payload.relationships = {};\n    }\n    var {\n      relationships\n    } = payload;\n    var inverse = getInverse(store, parentInternalModel, parentRelationship, type);\n    if (inverse) {\n      var {\n        inverseKey,\n        kind\n      } = inverse;\n      var relationshipData = relationships[inverseKey] && relationships[inverseKey].data;\n      if (typeof relationshipData !== 'undefined' && !relationshipDataPointsToParent(relationshipData, parentInternalModel)) {\n        var inspect = function inspect(thing) {\n          return `'${JSON.stringify(thing)}'`;\n        };\n        var quotedType = inspect(type);\n        var quotedInverse = inspect(inverseKey);\n        var expected = inspect({\n          id: parentInternalModel.id,\n          type: parentInternalModel.modelName\n        });\n        var expectedModel = `${parentInternalModel.modelName}:${parentInternalModel.id}`;\n        var got = inspect(relationshipData);\n        var prefix = typeof index === 'number' ? `data[${index}]` : `data`;\n        var path = `${prefix}.relationships.${inverseKey}.data`;\n        var other = relationshipData ? `<${relationshipData.type}:${relationshipData.id}>` : null;\n        var relationshipFetched = `${expectedModel}.${parentRelationship.kind}(\"${parentRelationship.name}\")`;\n        var includedRecord = `<${type}:${id}>`;\n        var message = [`Encountered mismatched relationship: Ember Data expected ${path} in the payload from ${relationshipFetched} to include ${expected} but got ${got} instead.\\n`, `The ${includedRecord} record loaded at ${prefix} in the payload specified ${other} as its ${quotedInverse}, but should have specified ${expectedModel} (the record the relationship is being loaded from) as its ${quotedInverse} instead.`, `This could mean that the response for ${relationshipFetched} may have accidentally returned ${quotedType} records that aren't related to ${expectedModel} and could be related to a different ${parentInternalModel.modelName} record instead.`, `Ember Data has corrected the ${includedRecord} record's ${quotedInverse} relationship to ${expectedModel} so that ${relationshipFetched} will include ${includedRecord}.`, `Please update the response from the server or change your serializer to either ensure that the response for only includes ${quotedType} records that specify ${expectedModel} as their ${quotedInverse}, or omit the ${quotedInverse} relationship from the response.`].join('\\n');\n\n        // this should eventually throw instead of deprecating.\n        (debug.deprecate(message + '\\n', false, {\n          id: 'mismatched-inverse-relationship-data-from-payload',\n          until: '3.8',\n          for: '@ember-data/store',\n          since: {\n            available: '3.8',\n            enabled: '3.8'\n          }\n        }));\n      }\n      if (kind !== 'hasMany' || typeof relationshipData !== 'undefined') {\n        relationships[inverseKey] = relationships[inverseKey] || {};\n        relationships[inverseKey].data = fixRelationshipData(relationshipData, kind, parentInternalModel);\n      }\n    }\n  }\n  function getInverse(store, parentInternalModel, parentRelationship, type) {\n    return recordDataFindInverseRelationshipInfo(store, parentInternalModel, parentRelationship, type);\n  }\n  function recordDataFindInverseRelationshipInfo({\n    _storeWrapper\n  }, parentInternalModel, parentRelationship, type) {\n    var {\n      name: lhs_relationshipName\n    } = parentRelationship;\n    var {\n      modelName\n    } = parentInternalModel;\n    var inverseKey = _storeWrapper.inverseForRelationship(modelName, lhs_relationshipName);\n    if (inverseKey) {\n      var {\n        meta: {\n          kind\n        }\n      } = _storeWrapper.relationshipsDefinitionFor(type)[inverseKey];\n      return {\n        inverseKey,\n        kind\n      };\n    }\n  }\n  function relationshipDataPointsToParent(relationshipData, internalModel) {\n    if (relationshipData === null) {\n      return false;\n    }\n    if (Array.isArray(relationshipData)) {\n      if (relationshipData.length === 0) {\n        return false;\n      }\n      for (var i = 0; i < relationshipData.length; i++) {\n        var entry = relationshipData[i];\n        if (validateRelationshipEntry(entry, internalModel)) {\n          return true;\n        }\n      }\n    } else {\n      return validateRelationshipEntry(relationshipData, internalModel);\n    }\n    return false;\n  }\n  function fixRelationshipData(relationshipData, relationshipKind, {\n    id,\n    modelName\n  }) {\n    var parentRelationshipData = {\n      id,\n      type: modelName\n    };\n    var payload;\n    if (relationshipKind === 'hasMany') {\n      payload = relationshipData || [];\n      if (relationshipData) {\n        // IE11 does not support array.find\n        // these arrays could be massive so this is better than filter\n        // Note: this is potentially problematic if type/id are not in the\n        // same state of normalization.\n        var found = false;\n        for (var i = 0; i < relationshipData.length; i++) {\n          var v = relationshipData[i];\n          if (v.type === parentRelationshipData.type && v.id === parentRelationshipData.id) {\n            found = true;\n            break;\n          }\n        }\n        if (!found) {\n          payload.push(parentRelationshipData);\n        }\n      } else {\n        payload.push(parentRelationshipData);\n      }\n    } else {\n      payload = relationshipData || {};\n      polyfills.assign(payload, parentRelationshipData);\n    }\n    return payload;\n  }\n  function validateRelationshipEntry({\n    id\n  }, {\n    id: parentModelID\n  }) {\n    return id && id.toString() === parentModelID;\n  }\n  function _findHasMany(adapter, store, internalModel, link, relationship, options) {\n    var snapshot = internalModel.createSnapshot(options);\n    var modelClass = store.modelFor(relationship.type);\n    var useLink = !link || typeof link === 'string';\n    var relatedLink = useLink ? link : link.href;\n    var promise = adapter.findHasMany(store, snapshot, relatedLink, relationship);\n    var label = `DS: Handle Adapter#findHasMany of '${internalModel.modelName}' : '${relationship.type}'`;\n    promise = guardDestroyedStore(promise, store, label);\n    promise = _guard(promise, _bind(_objectIsAlive, internalModel));\n    return promise.then(adapterPayload => {\n      (!(payloadIsNotBlank(adapterPayload)) && debug.assert(`You made a 'findHasMany' request for a ${internalModel.modelName}'s '${relationship.key}' relationship, using link '${link}' , but the adapter's response did not have any data`, payloadIsNotBlank(adapterPayload)));\n      var serializer = store.serializerFor(relationship.type);\n      var payload = normalizeResponseHelper(serializer, store, modelClass, adapterPayload, null, 'findHasMany');\n      (!('data' in payload && Array.isArray(payload.data)) && debug.assert(`fetched the hasMany relationship '${relationship.name}' for ${internalModel.modelName}:${internalModel.id} with link '${link}', but no data member is present in the response. If no data exists, the response should set { data: [] }`, 'data' in payload && Array.isArray(payload.data)));\n      payload = syncRelationshipDataFromLink(store, payload, internalModel, relationship);\n      var internalModelArray = store._push(payload);\n      return internalModelArray;\n    }, null, `DS: Extract payload of '${internalModel.modelName}' : hasMany '${relationship.type}'`);\n  }\n  function _findBelongsTo(adapter, store, internalModel, link, relationship, options) {\n    var snapshot = internalModel.createSnapshot(options);\n    var modelClass = store.modelFor(relationship.type);\n    var useLink = !link || typeof link === 'string';\n    var relatedLink = useLink ? link : link.href;\n    var promise = adapter.findBelongsTo(store, snapshot, relatedLink, relationship);\n    var label = `DS: Handle Adapter#findBelongsTo of ${internalModel.modelName} : ${relationship.type}`;\n    promise = guardDestroyedStore(promise, store, label);\n    promise = _guard(promise, _bind(_objectIsAlive, internalModel));\n    return promise.then(adapterPayload => {\n      var serializer = store.serializerFor(relationship.type);\n      var payload = normalizeResponseHelper(serializer, store, modelClass, adapterPayload, null, 'findBelongsTo');\n      (!('data' in payload && (payload.data === null || typeof payload.data === 'object' && !Array.isArray(payload.data))) && debug.assert(`fetched the belongsTo relationship '${relationship.name}' for ${internalModel.modelName}:${internalModel.id} with link '${link}', but no data member is present in the response. If no data exists, the response should set { data: null }`, 'data' in payload && (payload.data === null || typeof payload.data === 'object' && !Array.isArray(payload.data))));\n      if (!payload.data && !payload.links && !payload.meta) {\n        return null;\n      }\n      payload = syncRelationshipDataFromLink(store, payload, internalModel, relationship);\n      return store._push(payload);\n    }, null, `DS: Extract payload of ${internalModel.modelName} : ${relationship.type}`);\n  }\n  function _findAll(adapter, store, modelName, options) {\n    var modelClass = store.modelFor(modelName); // adapter.findAll depends on the class\n    var recordArray = store.peekAll(modelName);\n    var snapshotArray = recordArray._createSnapshot(options);\n    var promise = RSVP.Promise.resolve().then(() => adapter.findAll(store, modelClass, null, snapshotArray));\n    var label = 'DS: Handle Adapter#findAll of ' + modelClass;\n    promise = guardDestroyedStore(promise, store, label);\n    return promise.then(adapterPayload => {\n      (!(payloadIsNotBlank(adapterPayload)) && debug.assert(`You made a 'findAll' request for '${modelName}' records, but the adapter's response did not have any data`, payloadIsNotBlank(adapterPayload)));\n      var serializer = store.serializerFor(modelName);\n      var payload = normalizeResponseHelper(serializer, store, modelClass, adapterPayload, null, 'findAll');\n      store._push(payload);\n      store._didUpdateAll(modelName);\n      return recordArray;\n    }, null, 'DS: Extract payload of findAll ${modelName}');\n  }\n  function _query(adapter, store, modelName, query, recordArray, options) {\n    var modelClass = store.modelFor(modelName); // adapter.query needs the class\n\n    recordArray = recordArray || store.recordArrayManager.createAdapterPopulatedRecordArray(modelName, query);\n    var promise = RSVP.Promise.resolve().then(() => adapter.query(store, modelClass, query, recordArray, options));\n    var label = `DS: Handle Adapter#query of ${modelName}`;\n    promise = guardDestroyedStore(promise, store, label);\n    return promise.then(adapterPayload => {\n      var serializer = store.serializerFor(modelName);\n      var payload = normalizeResponseHelper(serializer, store, modelClass, adapterPayload, null, 'query');\n      var internalModels = store._push(payload);\n      (!(Array.isArray(internalModels)) && debug.assert('The response to store.query is expected to be an array but it was a single record. Please wrap your response in an array or use `store.queryRecord` to query for a single record.', Array.isArray(internalModels)));\n      var identifiers = internalModels.map(im => im.identifier);\n      if (recordArray) {\n        recordArray._setIdentifiers(identifiers, payload);\n      } else {\n        recordArray = store.recordArrayManager.createAdapterPopulatedRecordArray(modelName, query, identifiers, payload);\n      }\n      return recordArray;\n    }, null, `DS: Extract payload of query ${modelName}`);\n  }\n  function _queryRecord(adapter, store, modelName, query, options) {\n    var modelClass = store.modelFor(modelName); // adapter.queryRecord needs the class\n    var promise = RSVP.Promise.resolve().then(() => adapter.queryRecord(store, modelClass, query, options));\n    var label = `DS: Handle Adapter#queryRecord of ${modelName}`;\n    promise = guardDestroyedStore(promise, store, label);\n    return promise.then(adapterPayload => {\n      var serializer = store.serializerFor(modelName);\n      var payload = normalizeResponseHelper(serializer, store, modelClass, adapterPayload, null, 'queryRecord');\n      (!(!Array.isArray(payload.data)) && debug.assert(`Expected the primary data returned by the serializer for a 'queryRecord' response to be a single object or null but instead it was an array.`, !Array.isArray(payload.data)));\n      return store._push(payload);\n    }, null, `DS: Extract payload of queryRecord ${modelName}`);\n  }\n\n  /**\n    @module @ember-data/store\n  */\n\n  function metaIsRelationshipDefinition(meta) {\n    return typeof meta._inverseKey === 'function';\n  }\n  var peekGraph;\n  {\n    var _peekGraph;\n    peekGraph = wrapper => {\n      _peekGraph = _peekGraph || require('@ember-data/record-data/-private').peekGraph;\n      return _peekGraph(wrapper);\n    };\n  }\n  class RecordDataStoreWrapper {\n    constructor(_store) {\n      this._store = _store;\n      this._willNotify = false;\n      this._pendingNotifies = new Map();\n    }\n    get identifierCache() {\n      return identifierCacheFor(this._store);\n    }\n    _scheduleNotification(identifier, key, kind) {\n      var pending = this._pendingNotifies.get(identifier);\n      if (!pending) {\n        pending = new Map();\n        this._pendingNotifies.set(identifier, pending);\n      }\n      pending.set(key, kind);\n      if (this._willNotify === true) {\n        return;\n      }\n      this._willNotify = true;\n      var backburner = this._store._backburner;\n      backburner.schedule('notify', this, this._flushNotifications);\n    }\n    notifyErrorsChange(type, id, lid) {\n      var resource = constructResource(type, id, lid);\n      var identifier = identifierCacheFor(this._store).getOrCreateRecordIdentifier(resource);\n      var internalModel = internalModelFactoryFor(this._store).peek(identifier);\n      if (internalModel) {\n        internalModel.notifyErrorsChange();\n      }\n    }\n    _flushNotifications() {\n      if (this._willNotify === false) {\n        return;\n      }\n      var pending = this._pendingNotifies;\n      this._pendingNotifies = new Map();\n      this._willNotify = false;\n      var factory = internalModelFactoryFor(this._store);\n      pending.forEach((map, identifier) => {\n        var internalModel = factory.peek(identifier);\n        if (internalModel) {\n          map.forEach((kind, key) => {\n            if (kind === 'belongsTo') {\n              internalModel.notifyBelongsToChange(key);\n            } else {\n              internalModel.notifyHasManyChange(key);\n            }\n          });\n        }\n      });\n    }\n    attributesDefinitionFor(type) {\n      return this._store._attributesDefinitionFor(type);\n    }\n    relationshipsDefinitionFor(type) {\n      return this._store._relationshipsDefinitionFor(type);\n    }\n    inverseForRelationship(type, key) {\n      var modelClass = this._store.modelFor(type);\n      var definition = this.relationshipsDefinitionFor(type)[key];\n      if (!definition) {\n        return null;\n      }\n      {\n        if (definition.inverse !== undefined) {\n          return definition.inverse;\n        } else {\n          //TODO add a test for this branch\n          if (metaIsRelationshipDefinition(definition)) {\n            return definition._inverseKey(this._store, modelClass);\n          }\n          return null;\n        }\n      }\n    }\n    inverseIsAsyncForRelationship(type, key) {\n      var modelClass = this._store.modelFor(type);\n      var definition = this.relationshipsDefinitionFor(type)[key];\n      if (!definition) {\n        return false;\n      }\n      {\n        if (definition.inverse === null) {\n          return false;\n        }\n        if (definition.inverseIsAsync !== undefined) {\n          // TODO do we need to amend the RFC for this prop?\n          // else we should add it to the TS interface and document.\n          return !!definition.inverseIsAsync;\n        } else if (metaIsRelationshipDefinition(definition)) {\n          return definition._inverseIsAsync(this._store, modelClass);\n        } else {\n          return false;\n        }\n      }\n    }\n    notifyPropertyChange(type, id, lid, key) {\n      var resource = constructResource(type, id, lid);\n      var identifier = identifierCacheFor(this._store).getOrCreateRecordIdentifier(resource);\n      var internalModel = internalModelFactoryFor(this._store).peek(identifier);\n      if (internalModel) {\n        internalModel.notifyPropertyChange(key);\n      }\n    }\n    notifyHasManyChange(type, id, lid, key) {\n      var resource = constructResource(type, id, lid);\n      var identifier = identifierCacheFor(this._store).getOrCreateRecordIdentifier(resource);\n      this._scheduleNotification(identifier, key, 'hasMany');\n    }\n    notifyBelongsToChange(type, id, lid, key) {\n      var resource = constructResource(type, id, lid);\n      var identifier = identifierCacheFor(this._store).getOrCreateRecordIdentifier(resource);\n      this._scheduleNotification(identifier, key, 'belongsTo');\n    }\n    notifyStateChange(type, id, lid, key) {\n      var resource = constructResource(type, id, lid);\n      var identifier = identifierCacheFor(this._store).getOrCreateRecordIdentifier(resource);\n      var internalModel = internalModelFactoryFor(this._store).peek(identifier);\n      if (internalModel) {\n        internalModel.notifyStateChange(key);\n      }\n    }\n    recordDataFor(type, id, lid) {\n      var identifier;\n      var isCreate = false;\n      if (!id && !lid) {\n        isCreate = true;\n        identifier = {\n          type\n        };\n      } else {\n        var resource = constructResource(type, id, lid);\n        identifier = identifierCacheFor(this._store).getOrCreateRecordIdentifier(resource);\n      }\n      return this._store.recordDataFor(identifier, isCreate);\n    }\n    setRecordId(type, id, lid) {\n      this._store.setRecordId(type, id, lid);\n    }\n    isRecordInUse(type, id, lid) {\n      var resource = constructResource(type, id, lid);\n      var identifier = identifierCacheFor(this._store).getOrCreateRecordIdentifier(resource);\n      var internalModel = internalModelFactoryFor(this._store).peek(identifier);\n      if (!internalModel) {\n        return false;\n      }\n      var record = internalModel._record;\n      return record && !(record.isDestroyed || record.isDestroying);\n    }\n    disconnectRecord(type, id, lid) {\n      var resource = constructResource(type, id, lid);\n      var identifier = identifierCacheFor(this._store).getOrCreateRecordIdentifier(resource);\n      {\n        var graph = peekGraph(this);\n        if (graph) {\n          graph.remove(identifier);\n        }\n      }\n      var internalModel = internalModelFactoryFor(this._store).peek(identifier);\n      if (internalModel) {\n        internalModel.destroyFromRecordData();\n      }\n    }\n  }\n\n  /**\n    @module @ember-data/store\n   */\n  var _RecordData;\n  var {\n    ENV\n  } = Ember__default[\"default\"];\n  var RECORD_REFERENCES = new WeakMap();\n  function freeze(obj) {\n    if (typeof Object.freeze === 'function') {\n      return Object.freeze(obj);\n    }\n    return obj;\n  }\n  function deprecateTestRegistration(factoryType, factoryName) {\n    (debug.deprecate(`You looked up the ${factoryType} \"${factoryName}\" but it was not found. Likely this means you are using a legacy ember-qunit moduleFor helper. Add \"needs: ['${factoryType}:${factoryName}']\", \"integration: true\", or refactor to modern syntax to resolve this deprecation.`, false, {\n      id: 'ember-data:-legacy-test-registrations',\n      until: '3.17',\n      for: '@ember-data/store',\n      since: {\n        available: '3.15',\n        enabled: '3.15'\n      }\n    }));\n  }\n  /**\n    The store contains all of the data for records loaded from the server.\n    It is also responsible for creating instances of `Model` that wrap\n    the individual data for a record, so that they can be bound to in your\n    Handlebars templates.\n\n    Define your application's store like this:\n\n    ```app/services/store.js\n    import Store from '@ember-data/store';\n\n    export default class MyStore extends Store {}\n    ```\n\n    Most Ember.js applications will only have a single `Store` that is\n    automatically created by their `Ember.Application`.\n\n    You can retrieve models from the store in several ways. To retrieve a record\n    for a specific id, use `Store`'s `findRecord()` method:\n\n    ```javascript\n    store.findRecord('person', 123).then(function (person) {\n    });\n    ```\n\n    By default, the store will talk to your backend using a standard\n    REST mechanism. You can customize how the store talks to your\n    backend by specifying a custom adapter:\n\n    ```app/adapters/application.js\n    import Adapter from '@ember-data/adapter';\n\n    export default class ApplicationAdapter extends Adapter {\n    }\n    ```\n\n    You can learn more about writing a custom adapter by reading the `Adapter`\n    documentation.\n\n    ### Store createRecord() vs. push() vs. pushPayload()\n\n    The store provides multiple ways to create new record objects. They have\n    some subtle differences in their use which are detailed below:\n\n    [createRecord](../methods/createRecord?anchor=createRecord) is used for creating new\n    records on the client side. This will return a new record in the\n    `created.uncommitted` state. In order to persist this record to the\n    backend, you will need to call `record.save()`.\n\n    [push](../methods/push?anchor=push) is used to notify Ember Data's store of new or\n    updated records that exist in the backend. This will return a record\n    in the `loaded.saved` state. The primary use-case for `store#push` is\n    to notify Ember Data about record updates (full or partial) that happen\n    outside of the normal adapter methods (for example\n    [SSE](http://dev.w3.org/html5/eventsource/) or [Web\n    Sockets](http://www.w3.org/TR/2009/WD-websockets-20091222/)).\n\n    [pushPayload](../methods/pushPayload?anchor=pushPayload) is a convenience wrapper for\n    `store#push` that will deserialize payloads if the\n    Serializer implements a `pushPayload` method.\n\n    Note: When creating a new record using any of the above methods\n    Ember Data will update `RecordArray`s such as those returned by\n    `store#peekAll()` or `store#findAll()`. This means any\n    data bindings or computed properties that depend on the RecordArray\n    will automatically be synced to include the new or updated record\n    values.\n\n    @main @ember-data/store\n    @class Store\n    @public\n    @extends Ember.Service\n  */\n\n  class CoreStore extends Service__default[\"default\"] {\n    /**\n      The default adapter to use to communicate to a backend server or\n      other persistence layer. This will be overridden by an application\n      adapter if present.\n       If you want to specify `app/adapters/custom.js` as a string, do:\n       ```js\n      import Store from '@ember-data/store';\n       export default Store.extend({\n        constructor() {\n          super(...arguments);\n          this.adapter = 'custom';\n        }\n      }\n      ```\n       @property adapter\n      @public\n      @default '-json-api'\n      @type {String}\n    */\n\n    /**\n    This property returns the adapter, after resolving a possible\n    string key.\n     If the supplied `adapter` was a class, or a String property\n    path resolved to a class, this property will instantiate the\n    class.\n     This property is cacheable, so the same instance of a specified\n    adapter class should be used for the lifetime of the store.\n     @property defaultAdapter\n    @private\n    @return Adapter\n    */\n\n    /**\n      @method init\n      @private\n    */\n    constructor() {\n      super(...arguments);\n      /**\n       * EmberData specific backburner instance\n       * @property _backburner\n       * @private\n       */\n      this._backburner = backburner;\n      this.recordArrayManager = new RecordArrayManager({\n        store: this\n      });\n      this._notificationManager = void 0;\n      this._adapterCache = Object.create(null);\n      this._serializerCache = Object.create(null);\n      this._storeWrapper = new RecordDataStoreWrapper(this);\n      /*\n        Ember Data uses several specialized micro-queues for organizing\n        and coalescing similar async work.\n         These queues are currently controlled by a flush scheduled into\n        ember-data's custom backburner instance.\n        */\n      // used for coalescing record save requests\n      this._pendingSave = [];\n      // used for coalescing internal model updates\n      this._updatedInternalModels = [];\n      // used to keep track of all the find requests that need to be coalesced\n      this._pendingFetch = new Map();\n      this._fetchManager = void 0;\n      this._schemaDefinitionService = void 0;\n      // DEBUG-only properties\n      this._trackedAsyncRequests = void 0;\n      this.shouldAssertMethodCallsOnDestroyedStore = false;\n      this.shouldTrackAsyncRequests = false;\n      this.generateStackTracesForTrackedRequests = false;\n      this._trackAsyncRequestStart = void 0;\n      this._trackAsyncRequestEnd = void 0;\n      this.__asyncWaiter = void 0;\n      {\n        this._fetchManager = new FetchManager(this);\n      }\n      {\n        this._notificationManager = new NotificationManager(this);\n        this.__recordDataFor = this.__recordDataFor.bind(this);\n      }\n      {\n        {\n          // support for legacy moduleFor style unit tests\n          // that did not include transforms in \"needs\"\n          // or which were not set to integration:true\n          // that were relying on ember-test-helpers\n          // doing an auto-registration of the transform\n          // or us doing one\n          var Mapping = {\n            date: 'DateTransform',\n            boolean: 'BooleanTransform',\n            number: 'NumberTransform',\n            string: 'StringTransform'\n          };\n          var shouldWarn = false;\n          var owner = application.getOwner(this);\n          Object.keys(Mapping).forEach(attributeType => {\n            var transformFactory = owner.factoryFor(`transform:${attributeType}`);\n            if (!transformFactory) {\n              // we don't deprecate this because the moduleFor style tests with the closed\n              // resolver will be deprecated on their own. When that deprecation completes\n              // we can drop this.\n              var Transform = require__default[\"default\"](`@ember-data/serializer/-private`)[Mapping[attributeType]];\n              owner.register(`transform:${attributeType}`, Transform);\n              shouldWarn = true;\n            }\n          });\n          if (shouldWarn) {\n            (debug.deprecate(`You are relying on the automatic registration of the transforms \"date\", \"number\", \"boolean\", and \"string\". Likely this means you are using a legacy ember-qunit moduleFor helper. Add \"needs: ['transform:date', 'transform:boolean', 'transform:number', 'transform:string']\", \"integration: true\", or refactor to modern syntax to resolve this deprecation.`, false, {\n              id: 'ember-data:-legacy-test-registrations',\n              until: '3.17',\n              for: '@ember-data/store',\n              since: {\n                available: '3.15',\n                enabled: '3.15'\n              }\n            }));\n          }\n        }\n        this.shouldAssertMethodCallsOnDestroyedStore = this.shouldAssertMethodCallsOnDestroyedStore || false;\n        if (this.shouldTrackAsyncRequests === undefined) {\n          this.shouldTrackAsyncRequests = false;\n        }\n        if (this.generateStackTracesForTrackedRequests === undefined) {\n          this.generateStackTracesForTrackedRequests = false;\n        }\n        this._trackedAsyncRequests = [];\n        this._trackAsyncRequestStart = label => {\n          var trace = 'set `store.generateStackTracesForTrackedRequests = true;` to get a detailed trace for where this request originated';\n          if (this.generateStackTracesForTrackedRequests) {\n            try {\n              throw new Error(`EmberData TrackedRequest: ${label}`);\n            } catch (e) {\n              trace = e;\n            }\n          }\n          var token = freeze({\n            label,\n            trace\n          });\n          this._trackedAsyncRequests.push(token);\n          return token;\n        };\n        this._trackAsyncRequestEnd = token => {\n          var index = this._trackedAsyncRequests.indexOf(token);\n          if (index === -1) {\n            throw new Error(`Attempted to end tracking for the following request but it was not being tracked:\\n${token}`);\n          }\n          this._trackedAsyncRequests.splice(index, 1);\n        };\n        this.__asyncWaiter = () => {\n          var shouldTrack = this.shouldTrackAsyncRequests;\n          var tracked = this._trackedAsyncRequests;\n          var isSettled = tracked.length === 0;\n          return shouldTrack !== true || isSettled;\n        };\n        test.registerWaiter(this.__asyncWaiter);\n      }\n    }\n    getRequestStateService() {\n      {\n        return this._fetchManager.requestCache;\n      }\n    }\n\n    /**\n     * Provides access to the IdentifierCache instance\n     * for this store.\n     *\n     * The IdentifierCache can be used to generate or\n     * retrieve a stable unique identifier for any resource.\n     *\n     * @property {IdentifierCache} identifierCache\n     * @public\n     */\n    get identifierCache() {\n      return identifierCacheFor(this);\n    }\n    _instantiateRecord(internalModel, modelName, recordData, identifier, properties) {\n      {\n        // assert here\n        if (properties !== undefined) {\n          (!(typeof properties === 'object' && properties !== null) && debug.assert(`You passed '${properties}' as properties for record creation instead of an object.`, typeof properties === 'object' && properties !== null));\n          if ('id' in properties) {\n            internalModel.setId(properties.id);\n          }\n\n          // convert relationship Records to RecordDatas before passing to RecordData\n          var defs = this._relationshipsDefinitionFor(modelName);\n          if (defs !== null) {\n            var keys = Object.keys(properties);\n            var relationshipValue;\n            for (var i = 0; i < keys.length; i++) {\n              var prop = keys[i];\n              var def = defs[prop];\n              if (def !== undefined) {\n                if (def.kind === 'hasMany') {\n                  {\n                    assertRecordsPassedToHasMany(properties[prop]);\n                  }\n                  relationshipValue = extractRecordDatasFromRecords(properties[prop]);\n                } else {\n                  relationshipValue = extractRecordDataFromRecord(properties[prop]);\n                }\n                properties[prop] = relationshipValue;\n              }\n            }\n          }\n        }\n\n        // TODO guard against initRecordOptions no being there\n        var createOptions = recordData._initRecordCreateOptions(properties);\n        //TODO Igor pass a wrapper instead of RD\n        var _record = this.instantiateRecord(identifier, createOptions, this.__recordDataFor, this._notificationManager);\n        setRecordIdentifier(_record, identifier);\n        //recordToInternalModelMap.set(record, internalModel);\n        return _record;\n      }\n    }\n    _internalDeleteRecord(internalModel) {\n      internalModel.deleteRecord();\n    }\n\n    // FeatureFlagged in the DSModelStore claas\n    _attributesDefinitionFor(modelName, identifier) {\n      if (identifier) {\n        return this.getSchemaDefinitionService().attributesDefinitionFor(identifier);\n      } else {\n        return this.getSchemaDefinitionService().attributesDefinitionFor(modelName);\n      }\n    }\n    _relationshipsDefinitionFor(modelName, identifier) {\n      if (identifier) {\n        return this.getSchemaDefinitionService().relationshipsDefinitionFor(identifier);\n      } else {\n        return this.getSchemaDefinitionService().relationshipsDefinitionFor(modelName);\n      }\n    }\n    registerSchemaDefinitionService(schema) {\n      this._schemaDefinitionService = schema;\n    }\n    getSchemaDefinitionService() {\n      {\n        return this._schemaDefinitionService;\n      }\n    }\n\n    // TODO Double check this return value is correct\n    _relationshipMetaFor(modelName, id, key) {\n      return this._relationshipsDefinitionFor(modelName)[key];\n    }\n\n    /**\n      Returns the schema for a particular `modelName`.\n       When used with Model from @ember-data/model the return is the model class,\n      but this is not guaranteed.\n       The class of a model might be useful if you want to get a list of all the\n      relationship names of the model, see\n      [`relationshipNames`](/ember-data/release/classes/Model?anchor=relationshipNames)\n      for example.\n       @method modelFor\n      @public\n      @param {String} modelName\n      @return {subclass of Model | ShimModelClass}\n      */\n    modelFor(modelName) {\n      {\n        assertDestroyedStoreOnly$1(this, 'modelFor');\n      }\n      return getShimClass(this, modelName);\n    }\n\n    // Feature Flagged in DSModelStore\n    /**\n      Returns whether a ModelClass exists for a given modelName\n      This exists for legacy support for the RESTSerializer,\n      which due to how it must guess whether a key is a model\n      must query for whether a match exists.\n       We should investigate an RFC to make this public or removing\n      this requirement.\n       @method _hasModelFor\n      @private\n    */\n    _hasModelFor(modelName) {\n      (!(utils.isPresent(modelName)) && debug.assert(`You need to pass a model name to the store's hasModelFor method`, utils.isPresent(modelName)));\n      (!(typeof modelName === 'string') && debug.assert(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string'));\n      return this.getSchemaDefinitionService().doesTypeExist(modelName);\n    }\n\n    // .....................\n    // . CREATE NEW RECORD .\n    // .....................\n\n    /**\n      Create a new record in the current store. The properties passed\n      to this method are set on the newly created record.\n       To create a new instance of a `Post`:\n       ```js\n      store.createRecord('post', {\n        title: 'Ember is awesome!'\n      });\n      ```\n       To create a new instance of a `Post` that has a relationship with a `User` record:\n       ```js\n      let user = this.store.peekRecord('user', 1);\n      store.createRecord('post', {\n        title: 'Ember is awesome!',\n        user: user\n      });\n      ```\n       @method createRecord\n      @public\n      @param {String} modelName\n      @param {Object} inputProperties a hash of properties to set on the\n        newly created record.\n      @return {Model} record\n    */\n    createRecord(modelName, inputProperties) {\n      {\n        assertDestroyingStore$1(this, 'createRecord');\n      }\n      (!(utils.isPresent(modelName)) && debug.assert(`You need to pass a model name to the store's createRecord method`, utils.isPresent(modelName)));\n      (!(typeof modelName === 'string') && debug.assert(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string')); // This is wrapped in a `run.join` so that in test environments users do not need to manually wrap\n      //   calls to `createRecord`. The run loop usage here is because we batch the joining and updating\n      //   of record-arrays via ember's run loop, not our own.\n      //\n      //   to remove this, we would need to move to a new `async` API.\n      return runloop._backburner.join(() => {\n        return this._backburner.join(() => {\n          var normalizedModelName = normalizeModelName(modelName);\n          var properties = polyfills.assign({}, inputProperties);\n\n          // If the passed properties do not include a primary key,\n          // give the adapter an opportunity to generate one. Typically,\n          // client-side ID generators will use something like uuid.js\n          // to avoid conflicts.\n\n          if (utils.isNone(properties.id)) {\n            properties.id = this._generateId(normalizedModelName, properties);\n          }\n\n          // Coerce ID to a string\n          properties.id = coerceId(properties.id);\n          var factory = internalModelFactoryFor(this);\n          var internalModel = factory.build({\n            type: normalizedModelName,\n            id: properties.id\n          });\n          internalModel.send('loadedData');\n          // TODO this exists just to proxy `isNew` to RecordData which is weird\n          internalModel.didCreateRecord();\n          return internalModel.getRecord(properties);\n        });\n      });\n    }\n\n    /**\n      If possible, this method asks the adapter to generate an ID for\n      a newly created record.\n       @method _generateId\n      @private\n      @param {String} modelName\n      @param {Object} properties from the new record\n      @return {String} if the adapter can generate one, an ID\n    */\n    _generateId(modelName, properties) {\n      var adapter = this.adapterFor(modelName);\n      if (adapter && adapter.generateIdForRecord) {\n        return adapter.generateIdForRecord(this, modelName, properties);\n      }\n      return null;\n    }\n\n    // .................\n    // . DELETE RECORD .\n    // .................\n\n    /**\n      For symmetry, a record can be deleted via the store.\n       Example\n       ```javascript\n      let post = store.createRecord('post', {\n        title: 'Ember is awesome!'\n      });\n       store.deleteRecord(post);\n      ```\n       @method deleteRecord\n      @public\n      @param {Model} record\n    */\n    deleteRecord(record) {\n      {\n        assertDestroyingStore$1(this, 'deleteRecord');\n      }\n      this._backburner.join(() => {\n        {\n          var _identifier = peekRecordIdentifier(record);\n          if (_identifier) {\n            var internalModel = internalModelFactoryFor(this).peek(_identifier);\n            if (internalModel) {\n              internalModel.deleteRecord();\n            }\n          } else {\n            (debug.deprecate(`You passed a non ember-data managed record ${record} to store.deleteRecord. Ember Data store is not meant to manage non store records. This is not supported and will be removed`, false, {\n              id: 'ember-data:delete-record-non-store',\n              until: '4.0',\n              for: '@ember-data/store',\n              since: {\n                available: '3.28',\n                enabled: '3.28'\n              }\n            }));\n            record.deleteRecord();\n          }\n        }\n      });\n    }\n\n    /**\n      For symmetry, a record can be unloaded via the store.\n      This will cause the record to be destroyed and freed up for garbage collection.\n       Example\n       ```javascript\n      store.findRecord('post', 1).then(function(post) {\n        store.unloadRecord(post);\n      });\n      ```\n       @method unloadRecord\n      @public\n      @param {Model} record\n    */\n    unloadRecord(record) {\n      {\n        assertDestroyingStore$1(this, 'unloadRecord');\n      }\n      {\n        var _identifier2 = peekRecordIdentifier(record);\n        if (_identifier2) {\n          var internalModel = internalModelFactoryFor(this).peek(_identifier2);\n          if (internalModel) {\n            internalModel.unloadRecord();\n          }\n        } else {\n          (debug.deprecate(`You passed a non ember-data managed record ${record} to store.unloadRecord. Ember Data store is not meant to manage non store records. This is not supported and will be removed`, false, {\n            id: 'ember-data:unload-record-non-store',\n            until: '4.0',\n            for: '@ember-data/store',\n            since: {\n              available: '3.28',\n              enabled: '3.28'\n            }\n          }));\n          record.unloadRecord();\n        }\n      }\n    }\n\n    // ................\n    // . FIND RECORDS .\n    // ................\n\n    /**\n      @method find\n      @param {String} modelName\n      @param {String|Integer} id\n      @param {Object} options\n      @return {Promise} promise\n      @private\n    */\n    find(modelName, id, options) {\n      {\n        assertDestroyingStore$1(this, 'find');\n      }\n      // The default `model` hook in Route calls `find(modelName, id)`,\n      // that's why we have to keep this method around even though `findRecord` is\n      // the public way to get a record by modelName and id.\n      (!(arguments.length !== 1) && debug.assert(`Using store.find(type) has been removed. Use store.findAll(modelName) to retrieve all records for a given type.`, arguments.length !== 1));\n      (!(!options) && debug.assert(`Calling store.find(modelName, id, { preload: preload }) is no longer supported. Use store.findRecord(modelName, id, { preload: preload }) instead.`, !options));\n      (!(arguments.length === 2) && debug.assert(`You need to pass the model name and id to the store's find method`, arguments.length === 2));\n      (!(typeof id === 'string' || typeof id === 'number') && debug.assert(`You cannot pass '${id}' as id to the store's find method`, typeof id === 'string' || typeof id === 'number'));\n      (!(typeof id !== 'object') && debug.assert(`Calling store.find() with a query object is no longer supported. Use store.query() instead.`, typeof id !== 'object'));\n      (!(typeof modelName === 'string') && debug.assert(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string'));\n      return this.findRecord(modelName, id);\n    }\n\n    /**\n      This method returns a record for a given type and id combination.\n       The `findRecord` method will always resolve its promise with the same\n      object for a given type and `id`.\n       The `findRecord` method will always return a **promise** that will be\n      resolved with the record.\n       Example\n       ```app/routes/post.js\n      import Route from '@ember/routing/route';\n       export default class PostRoute extends Route {\n        model(params) {\n          return this.store.findRecord('post', params.post_id);\n        }\n      }\n      ```\n       If the record is not yet available, the store will ask the adapter's `find`\n      method to find the necessary data. If the record is already present in the\n      store, it depends on the reload behavior _when_ the returned promise\n      resolves.\n       ### Preloading\n       You can optionally `preload` specific attributes and relationships that you know of\n      by passing them via the passed `options`.\n       For example, if your Ember route looks like `/posts/1/comments/2` and your API route\n      for the comment also looks like `/posts/1/comments/2` if you want to fetch the comment\n      without fetching the post you can pass in the post to the `findRecord` call:\n       ```javascript\n      store.findRecord('comment', 2, { preload: { post: 1 } });\n      ```\n       If you have access to the post model you can also pass the model itself:\n       ```javascript\n      store.findRecord('post', 1).then(function (myPostModel) {\n        store.findRecord('comment', 2, { post: myPostModel });\n      });\n      ```\n       ### Reloading\n       The reload behavior is configured either via the passed `options` hash or\n      the result of the adapter's `shouldReloadRecord`.\n       If `{ reload: true }` is passed or `adapter.shouldReloadRecord` evaluates\n      to `true`, then the returned promise resolves once the adapter returns\n      data, regardless if the requested record is already in the store:\n       ```js\n      store.push({\n        data: {\n          id: 1,\n          type: 'post',\n          revision: 1\n        }\n      });\n       // adapter#findRecord resolves with\n      // [\n      //   {\n      //     id: 1,\n      //     type: 'post',\n      //     revision: 2\n      //   }\n      // ]\n      store.findRecord('post', 1, { reload: true }).then(function(post) {\n        post.get('revision'); // 2\n      });\n      ```\n       If no reload is indicated via the above mentioned ways, then the promise\n      immediately resolves with the cached version in the store.\n       ### Background Reloading\n       Optionally, if `adapter.shouldBackgroundReloadRecord` evaluates to `true`,\n      then a background reload is started, which updates the records' data, once\n      it is available:\n       ```js\n      // app/adapters/post.js\n      import ApplicationAdapter from \"./application\";\n       export default class PostAdapter extends ApplicationAdapter {\n        shouldReloadRecord(store, snapshot) {\n          return false;\n        },\n         shouldBackgroundReloadRecord(store, snapshot) {\n          return true;\n        }\n      });\n       // ...\n       store.push({\n        data: {\n          id: 1,\n          type: 'post',\n          revision: 1\n        }\n      });\n       let blogPost = store.findRecord('post', 1).then(function(post) {\n        post.get('revision'); // 1\n      });\n       // later, once adapter#findRecord resolved with\n      // [\n      //   {\n      //     id: 1,\n      //     type: 'post',\n      //     revision: 2\n      //   }\n      // ]\n       blogPost.get('revision'); // 2\n      ```\n       If you would like to force or prevent background reloading, you can set a\n      boolean value for `backgroundReload` in the options object for\n      `findRecord`.\n       ```app/routes/post/edit.js\n      import Route from '@ember/routing/route';\n       export default class PostEditRoute extends Route {\n        model(params) {\n          return this.store.findRecord('post', params.post_id, { backgroundReload: false });\n        }\n      }\n      ```\n       If you pass an object on the `adapterOptions` property of the options\n      argument it will be passed to your adapter via the snapshot\n       ```app/routes/post/edit.js\n      import Route from '@ember/routing/route';\n       export default class PostEditRoute extends Route {\n        model(params) {\n          return this.store.findRecord('post', params.post_id, {\n            adapterOptions: { subscribe: false }\n          });\n        }\n      }\n      ```\n       ```app/adapters/post.js\n      import MyCustomAdapter from './custom-adapter';\n       export default class PostAdapter extends MyCustomAdapter {\n        findRecord(store, type, id, snapshot) {\n          if (snapshot.adapterOptions.subscribe) {\n            // ...\n          }\n          // ...\n        }\n      }\n      ```\n       See [peekRecord](../methods/peekRecord?anchor=peekRecord) to get the cached version of a record.\n       ### Retrieving Related Model Records\n       If you use an adapter such as Ember's default\n      [`JSONAPIAdapter`](/ember-data/release/classes/JSONAPIAdapter)\n      that supports the [JSON API specification](http://jsonapi.org/) and if your server\n      endpoint supports the use of an\n      ['include' query parameter](http://jsonapi.org/format/#fetching-includes),\n      you can use `findRecord()` or `findAll()` to automatically retrieve additional records related to\n      the one you request by supplying an `include` parameter in the `options` object.\n       For example, given a `post` model that has a `hasMany` relationship with a `comment`\n      model, when we retrieve a specific post we can have the server also return that post's\n      comments in the same request:\n       ```app/routes/post.js\n      import Route from '@ember/routing/route';\n       export default class PostRoute extends Route {\n        model(params) {\n          return this.store.findRecord('post', params.post_id, { include: 'comments' });\n        }\n      }\n       ```\n      In this case, the post's comments would then be available in your template as\n      `model.comments`.\n       Multiple relationships can be requested using an `include` parameter consisting of a\n      comma-separated list (without white-space) while nested relationships can be specified\n      using a dot-separated sequence of relationship names. So to request both the post's\n      comments and the authors of those comments the request would look like this:\n       ```app/routes/post.js\n      import Route from '@ember/routing/route';\n       export default class PostRoute extends Route {\n        model(params) {\n          return this.store.findRecord('post', params.post_id, { include: 'comments,comments.author' });\n        }\n      }\n      ```\n       ### Retrieving Specific Fields by Type\n       If your server endpoint supports the use of a ['fields' query parameter](https://jsonapi.org/format/#fetching-sparse-fieldsets),\n      you can use pass those fields through to your server.  At this point in time, this requires a few manual steps on your part.\n       1. Implement `buildQuery` in your adapter.\n       ```app/adapters/application.js\n      buildQuery(snapshot) {\n        let query = this._super(...arguments);\n         let { fields } = snapshot.adapterOptions;\n         if (fields) {\n          query.fields = fields;\n        }\n         return query;\n      }\n      ```\n       2. Then pass through the applicable fields to your `findRecord` request.\n       Given a `post` model with attributes body, title, publishDate and meta, you can retrieve a filtered list of attributes.\n       ```app/routes/post.js\n      import Route from '@ember/routing/route';\n      export default Route.extend({\n        model(params) {\n          return this.store.findRecord('post', params.post_id, { adapterOptions: { fields: { post: 'body,title' } });\n        }\n      });\n      ```\n       Moreover, you can filter attributes on related models as well. If a `post` has a `belongsTo` relationship to a user,\n      just include the relationship key and attributes.\n       ```app/routes/post.js\n      import Route from '@ember/routing/route';\n      export default Route.extend({\n        model(params) {\n          return this.store.findRecord('post', params.post_id, { adapterOptions: { fields: { post: 'body,title', user: 'name,email' } });\n        }\n      });\n      ```\n       @since 1.13.0\n      @method findRecord\n      @public\n      @param {String} modelName\n      @param {(String|Integer)} id\n      @param {Object} [options]\n      @param {Object} preload - optional set of attributes and relationships passed in either as IDs or as actual models\n      @return {Promise} promise\n    */\n    findRecord(modelName, id, options) {\n      {\n        assertDestroyingStore$1(this, 'findRecord');\n      }\n      (!(utils.isPresent(modelName)) && debug.assert(`You need to pass a model name to the store's findRecord method`, utils.isPresent(modelName)));\n      (!(typeof modelName === 'string') && debug.assert(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string'));\n      var type = normalizeModelName(modelName);\n      var normalizedId = ensureStringId(id);\n      var resource = constructResource(type, normalizedId);\n      var internalModel = internalModelFactoryFor(this).lookup(resource);\n      options = options || {};\n      if (!this.hasRecordForId(type, normalizedId)) {\n        return this._findByInternalModel(internalModel, options);\n      }\n      var fetchedInternalModel = this._findRecord(internalModel, options);\n      return promiseRecord(fetchedInternalModel, `DS: Store#findRecord ${type} with id: ${id}`);\n    }\n    _findRecord(internalModel, options) {\n      // Refetch if the reload option is passed\n      if (options.reload) {\n        return this._scheduleFetch(internalModel, options);\n      }\n      var snapshot = internalModel.createSnapshot(options);\n      var adapter = this.adapterFor(internalModel.modelName);\n\n      // Refetch the record if the adapter thinks the record is stale\n      if (typeof options.reload === 'undefined' && adapter.shouldReloadRecord && adapter.shouldReloadRecord(this, snapshot)) {\n        return this._scheduleFetch(internalModel, options);\n      }\n      if (options.backgroundReload === false) {\n        return RSVP.Promise.resolve(internalModel);\n      }\n\n      // Trigger the background refetch if backgroundReload option is passed\n      if (options.backgroundReload || !adapter.shouldBackgroundReloadRecord || adapter.shouldBackgroundReloadRecord(this, snapshot)) {\n        this._scheduleFetch(internalModel, options);\n      }\n\n      // Return the cached record\n      return RSVP.Promise.resolve(internalModel);\n    }\n    _findByInternalModel(internalModel, options = {}) {\n      if (options.preload) {\n        this._backburner.join(() => {\n          internalModel.preloadData(options.preload);\n        });\n      }\n      var fetchedInternalModel = this._findEmptyInternalModel(internalModel, options);\n      return promiseRecord(fetchedInternalModel, `DS: Store#findRecord ${internalModel.modelName} with id: ${internalModel.id}`);\n    }\n    _findEmptyInternalModel(internalModel, options) {\n      if (internalModel.currentState.isEmpty) {\n        return this._scheduleFetch(internalModel, options);\n      }\n\n      //TODO double check about reloading\n      {\n        if (internalModel.currentState.isLoading) {\n          var pendingRequest = this._fetchManager.getPendingFetch(internalModel.identifier, options);\n          if (pendingRequest) {\n            return pendingRequest.then(() => RSVP.Promise.resolve(internalModel));\n          }\n          return this._scheduleFetch(internalModel, options);\n        }\n      }\n      return RSVP.Promise.resolve(internalModel);\n    }\n\n    /**\n      This method makes a series of requests to the adapter's `find` method\n      and returns a promise that resolves once they are all loaded.\n       @private\n      @method findByIds\n      @param {String} modelName\n      @param {Array} ids\n      @return {Promise} promise\n    */\n    findByIds(modelName, ids) {\n      {\n        assertDestroyingStore$1(this, 'findByIds');\n      }\n      (!(utils.isPresent(modelName)) && debug.assert(`You need to pass a model name to the store's findByIds method`, utils.isPresent(modelName)));\n      (!(typeof modelName === 'string') && debug.assert(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string'));\n      var promises = new Array(ids.length);\n      var normalizedModelName = normalizeModelName(modelName);\n      for (var i = 0; i < ids.length; i++) {\n        promises[i] = this.findRecord(normalizedModelName, ids[i]);\n      }\n      return promiseArray(RSVP.all(promises).then(EmberArray.A, null, `DS: Store#findByIds of ${normalizedModelName} complete`));\n    }\n\n    /**\n      This method is called by `findRecord` if it discovers that a particular\n      type/id pair hasn't been loaded yet to kick off a request to the\n      adapter.\n       @method _fetchRecord\n      @private\n      @param {InternalModel} internalModel model\n      @return {Promise} promise\n     */\n    _fetchRecord(internalModel, options) {\n      var modelName = internalModel.modelName;\n      var adapter = this.adapterFor(modelName);\n      (!(adapter) && debug.assert(`You tried to find a record but you have no adapter (for ${modelName})`, adapter));\n      (!(typeof adapter.findRecord === 'function') && debug.assert(`You tried to find a record but your adapter (for ${modelName}) does not implement 'findRecord'`, typeof adapter.findRecord === 'function'));\n      return _find(adapter, this, internalModel.modelClass, internalModel.id, internalModel, options);\n    }\n    _scheduleFetchMany(internalModels, options) {\n      var fetches = new Array(internalModels.length);\n      for (var i = 0; i < internalModels.length; i++) {\n        fetches[i] = this._scheduleFetch(internalModels[i], options);\n      }\n      return RSVP.Promise.all(fetches);\n    }\n    _scheduleFetchThroughFetchManager(internalModel, options = {}) {\n      var generateStackTrace = this.generateStackTracesForTrackedRequests;\n      // TODO  remove this once we don't rely on state machine\n      internalModel.send('loadingData');\n      var identifier = internalModel.identifier;\n      assertIdentifierHasId(identifier);\n      var promise = this._fetchManager.scheduleFetch(identifier, options, generateStackTrace);\n      return promise.then(payload => {\n        // ensure that regardless of id returned we assign to the correct record\n        if (payload.data && !Array.isArray(payload.data)) {\n          payload.data.lid = identifier.lid;\n        }\n\n        // Returning this._push here, breaks typing but not any tests, investigate potential missing tests\n        var potentiallyNewIm = this._push(payload);\n        if (potentiallyNewIm && !Array.isArray(potentiallyNewIm)) {\n          return potentiallyNewIm;\n        } else {\n          return internalModel;\n        }\n      }, error => {\n        // TODO  remove this once we don't rely on state machine\n        internalModel.send('notFound');\n        if (internalModel.currentState.isEmpty) {\n          internalModel.unloadRecord();\n        }\n        throw error;\n      });\n    }\n    _scheduleFetch(internalModel, options) {\n      {\n        return this._scheduleFetchThroughFetchManager(internalModel, options);\n      }\n    }\n    flushAllPendingFetches() {\n      {\n        return;\n        //assert here\n      }\n    }\n    _flushPendingFetchForType(pendingFetchItems, modelName) {\n      var store = this;\n      var adapter = store.adapterFor(modelName);\n      var shouldCoalesce = !!adapter.findMany && adapter.coalesceFindRequests;\n      var totalItems = pendingFetchItems.length;\n      var internalModels = new Array(totalItems);\n      var seeking = Object.create(null);\n      var optionsMap = new WeakMap();\n      for (var _i = 0; _i < totalItems; _i++) {\n        var pendingItem = pendingFetchItems[_i];\n        var _internalModel = pendingItem.internalModel;\n        internalModels[_i] = _internalModel;\n        optionsMap.set(_internalModel, pendingItem.options);\n        // We can remove this \"not null\" cast once we have enough typing\n        // to know we are only dealing with ExistingResourceIdentifierObjects\n        seeking[_internalModel.id] = pendingItem;\n      }\n      function _fetchRecord(recordResolverPair) {\n        var recordFetch = store._fetchRecord(recordResolverPair.internalModel, recordResolverPair.options);\n        recordResolverPair.resolver.resolve(recordFetch);\n      }\n      function handleFoundRecords(foundInternalModels, expectedInternalModels) {\n        // resolve found records\n        var found = Object.create(null);\n        for (var _i2 = 0, _l = foundInternalModels.length; _i2 < _l; _i2++) {\n          var _internalModel2 = foundInternalModels[_i2];\n\n          // We can remove this \"not null\" cast once we have enough typing\n          // to know we are only dealing with ExistingResourceIdentifierObjects\n          var _pair = seeking[_internalModel2.id];\n          found[_internalModel2.id] = _internalModel2;\n          if (_pair) {\n            var resolver = _pair.resolver;\n            resolver.resolve(_internalModel2);\n          }\n        }\n\n        // reject missing records\n        var missingInternalModels = [];\n        for (var _i3 = 0, _l2 = expectedInternalModels.length; _i3 < _l2; _i3++) {\n          var _internalModel3 = expectedInternalModels[_i3];\n\n          // We can remove this \"not null\" cast once we have enough typing\n          // to know we are only dealing with ExistingResourceIdentifierObjects\n          if (!found[_internalModel3.id]) {\n            missingInternalModels.push(_internalModel3);\n          }\n        }\n        if (missingInternalModels.length) {\n          (debug.warn('Ember Data expected to find records with the following ids in the adapter response but they were missing: [ \"' + missingInternalModels.map(r => r.id).join('\", \"') + '\" ]', false, {\n            id: 'ds.store.missing-records-from-adapter'\n          }));\n          rejectInternalModels(missingInternalModels);\n        }\n      }\n      function rejectInternalModels(internalModels, error) {\n        for (var _i4 = 0, _l3 = internalModels.length; _i4 < _l3; _i4++) {\n          var _internalModel4 = internalModels[_i4];\n\n          // We can remove this \"not null\" cast once we have enough typing\n          // to know we are only dealing with ExistingResourceIdentifierObjects\n          var _pair2 = seeking[_internalModel4.id];\n          if (_pair2) {\n            _pair2.resolver.reject(error || new Error(`Expected: '${_internalModel4}' to be present in the adapter provided payload, but it was not found.`));\n          }\n        }\n      }\n      if (shouldCoalesce) {\n        // TODO: Improve records => snapshots => records => snapshots\n        //\n        // We want to provide records to all store methods and snapshots to all\n        // adapter methods. To make sure we're doing that we're providing an array\n        // of snapshots to adapter.groupRecordsForFindMany(), which in turn will\n        // return grouped snapshots instead of grouped records.\n        //\n        // But since the _findMany() finder is a store method we need to get the\n        // records from the grouped snapshots even though the _findMany() finder\n        // will once again convert the records to snapshots for adapter.findMany()\n        var snapshots = new Array(totalItems);\n        for (var _i5 = 0; _i5 < totalItems; _i5++) {\n          var _internalModel5 = internalModels[_i5];\n          snapshots[_i5] = _internalModel5.createSnapshot(optionsMap.get(_internalModel5));\n        }\n        var groups;\n        if (adapter.groupRecordsForFindMany) {\n          groups = adapter.groupRecordsForFindMany(this, snapshots);\n        } else {\n          groups = [snapshots];\n        }\n\n        // we use var here because babel transpiles let\n        // in a manner that causes a mega-bad perf scenario here\n        // when targets no longer include IE11 we can drop this.\n        /* eslint-disable no-var */\n        for (var i = 0, l = groups.length; i < l; i++) {\n          var group = groups[i];\n          var totalInGroup = groups[i].length;\n          var ids = new Array(totalInGroup);\n          var groupedInternalModels = new Array(totalInGroup);\n          for (var j = 0; j < totalInGroup; j++) {\n            var internalModel = group[j]._internalModel;\n            groupedInternalModels[j] = internalModel;\n            ids[j] = internalModel.id;\n          }\n          if (totalInGroup > 1) {\n            (function (groupedInternalModels) {\n              _findMany(adapter, store, modelName, ids, groupedInternalModels, optionsMap).then(function (foundInternalModels) {\n                handleFoundRecords(foundInternalModels, groupedInternalModels);\n              }).catch(function (error) {\n                rejectInternalModels(groupedInternalModels, error);\n              });\n            })(groupedInternalModels);\n          } else if (ids.length === 1) {\n            var pair = seeking[groupedInternalModels[0].id];\n            _fetchRecord(pair);\n          } else {\n            (debug.assert(\"You cannot return an empty array from adapter's method groupRecordsForFindMany\"));\n          }\n        }\n      } else {\n        for (var _i6 = 0; _i6 < totalItems; _i6++) {\n          _fetchRecord(pendingFetchItems[_i6]);\n        }\n      }\n    }\n\n    /**\n      Get the reference for the specified record.\n       Example\n       ```javascript\n      let userRef = store.getReference('user', 1);\n       // check if the user is loaded\n      let isLoaded = userRef.value() !== null;\n       // get the record of the reference (null if not yet available)\n      let user = userRef.value();\n       // get the identifier of the reference\n      if (userRef.remoteType() === 'id') {\n      let id = userRef.id();\n      }\n       // load user (via store.find)\n      userRef.load().then(...)\n       // or trigger a reload\n      userRef.reload().then(...)\n       // provide data for reference\n      userRef.push({ id: 1, username: '@user' }).then(function(user) {\n        userRef.value() === user;\n      });\n      ```\n       @method getReference\n      @public\n      @param {String} modelName\n      @param {String|Integer} id\n      @since 2.5.0\n      @return {RecordReference}\n    */\n    getReference(modelName, id) {\n      {\n        assertDestroyingStore$1(this, 'getReference');\n      }\n      var type = normalizeModelName(modelName);\n      var normalizedId = ensureStringId(id);\n      var resource = constructResource(type, normalizedId);\n      var identifier = identifierCacheFor(this).getOrCreateRecordIdentifier(resource);\n      if (identifier) {\n        if (RECORD_REFERENCES.has(identifier)) {\n          return RECORD_REFERENCES.get(identifier);\n        }\n        var reference = new RecordReference(this, identifier);\n        RECORD_REFERENCES.set(identifier, reference);\n        return reference;\n      }\n    }\n\n    /**\n      Get a record by a given type and ID without triggering a fetch.\n       This method will synchronously return the record if it is available in the store,\n      otherwise it will return `null`. A record is available if it has been fetched earlier, or\n      pushed manually into the store.\n       See [findRecord](../methods/findRecord?anchor=findRecord) if you would like to request this record from the backend.\n       _Note: This is a synchronous method and does not return a promise._\n       ```js\n      let post = store.peekRecord('post', 1);\n       post.get('id'); // 1\n      ```\n       @since 1.13.0\n      @method peekRecord\n      @public\n      @param {String} modelName\n      @param {String|Integer} id\n      @return {Model|null} record\n    */\n    peekRecord(modelName, id) {\n      {\n        assertDestroyingStore$1(this, 'peekRecord');\n      }\n      (!(utils.isPresent(modelName)) && debug.assert(`You need to pass a model name to the store's peekRecord method`, utils.isPresent(modelName)));\n      (!(typeof modelName === 'string') && debug.assert(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string'));\n      var type = normalizeModelName(modelName);\n      var normalizedId = ensureStringId(id);\n      if (this.hasRecordForId(type, normalizedId)) {\n        var resource = constructResource(type, normalizedId);\n        return internalModelFactoryFor(this).lookup(resource).getRecord();\n      } else {\n        return null;\n      }\n    }\n\n    /**\n      This method is called by the record's `reload` method.\n       This method calls the adapter's `find` method, which returns a promise. When\n      **that** promise resolves, `_reloadRecord` will resolve the promise returned\n      by the record's `reload`.\n       @method _reloadRecord\n      @private\n      @param {Model} internalModel\n      @param options optional to include adapterOptions\n      @return {Promise} promise\n    */\n    _reloadRecord(internalModel, options) {\n      {\n        options.isReloading = true;\n      }\n      var {\n        id,\n        modelName\n      } = internalModel;\n      var adapter = this.adapterFor(modelName);\n      (!(id) && debug.assert(`You cannot reload a record without an ID`, id));\n      (!(adapter) && debug.assert(`You tried to reload a record but you have no adapter (for ${modelName})`, adapter));\n      (!(typeof adapter.findRecord === 'function' || typeof adapter.find === 'function') && debug.assert(`You tried to reload a record but your adapter does not implement 'findRecord'`, typeof adapter.findRecord === 'function' || typeof adapter.find === 'function'));\n      return this._scheduleFetch(internalModel, options);\n    }\n\n    /**\n     This method returns true if a record for a given modelName and id is already\n     loaded in the store. Use this function to know beforehand if a findRecord()\n     will result in a request or that it will be a cache hit.\n      Example\n      ```javascript\n     store.hasRecordForId('post', 1); // false\n     store.findRecord('post', 1).then(function() {\n       store.hasRecordForId('post', 1); // true\n     });\n     ```\n       @method hasRecordForId\n      @public\n      @param {String} modelName\n      @param {(String|Integer)} id\n      @return {Boolean}\n    */\n    hasRecordForId(modelName, id) {\n      {\n        assertDestroyingStore$1(this, 'hasRecordForId');\n      }\n      (!(utils.isPresent(modelName)) && debug.assert(`You need to pass a model name to the store's hasRecordForId method`, utils.isPresent(modelName)));\n      (!(typeof modelName === 'string') && debug.assert(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string'));\n      var type = normalizeModelName(modelName);\n      var trueId = ensureStringId(id);\n      var resource = {\n        type,\n        id: trueId\n      };\n      var identifier = identifierCacheFor(this).peekRecordIdentifier(resource);\n      var internalModel = identifier && internalModelFactoryFor(this).peek(identifier);\n      return !!internalModel && internalModel.currentState.isLoaded;\n    }\n\n    /**\n      Returns id record for a given type and ID. If one isn't already loaded,\n      it builds a new record and leaves it in the `empty` state.\n       @method recordForId\n      @private\n      @param {String} modelName\n      @param {(String|Integer)} id\n      @return {Model} record\n    */\n    recordForId(modelName, id) {\n      {\n        assertDestroyingStore$1(this, 'recordForId');\n      }\n      (!(utils.isPresent(modelName)) && debug.assert(`You need to pass a model name to the store's recordForId method`, utils.isPresent(modelName)));\n      (!(typeof modelName === 'string') && debug.assert(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string'));\n      var resource = constructResource(modelName, ensureStringId(id));\n      return internalModelFactoryFor(this).lookup(resource).getRecord();\n    }\n\n    /**\n      @method findMany\n      @private\n      @param {Array} internalModels\n      @return {Promise} promise\n    */\n    findMany(internalModels, options) {\n      {\n        assertDestroyingStore$1(this, 'findMany');\n      }\n      var finds = new Array(internalModels.length);\n      for (var i = 0; i < internalModels.length; i++) {\n        finds[i] = this._findEmptyInternalModel(internalModels[i], options);\n      }\n      return RSVP.Promise.all(finds);\n    }\n\n    /**\n      If a relationship was originally populated by the adapter as a link\n      (as opposed to a list of IDs), this method is called when the\n      relationship is fetched.\n       The link (which is usually a URL) is passed through unchanged, so the\n      adapter can make whatever request it wants.\n       The usual use-case is for the server to register a URL as a link, and\n      then use that URL in the future to make a request for the relationship.\n       @method findHasMany\n      @private\n      @param {InternalModel} internalModel\n      @param {any} link\n      @param {(Relationship)} relationship\n      @return {Promise} promise\n    */\n    findHasMany(internalModel, link, relationship, options) {\n      {\n        assertDestroyingStore$1(this, 'findHasMany');\n      }\n      var adapter = this.adapterFor(internalModel.modelName);\n      (!(adapter) && debug.assert(`You tried to load a hasMany relationship but you have no adapter (for ${internalModel.modelName})`, adapter));\n      (!(typeof adapter.findHasMany === 'function') && debug.assert(`You tried to load a hasMany relationship from a specified 'link' in the original payload but your adapter does not implement 'findHasMany'`, typeof adapter.findHasMany === 'function'));\n      return _findHasMany(adapter, this, internalModel, link, relationship, options);\n    }\n    _findHasManyByJsonApiResource(resource, parentInternalModel, relationship, options) {\n      {\n        if (!resource) {\n          return RSVP.resolve([]);\n        }\n        var {\n          definition,\n          state\n        } = relationship;\n        var adapter = this.adapterFor(definition.type);\n        var {\n          isStale,\n          hasDematerializedInverse,\n          hasReceivedData,\n          isEmpty,\n          shouldForceReload\n        } = state;\n        var allInverseRecordsAreLoaded = areAllInverseRecordsLoaded(this, resource);\n        var shouldFindViaLink = resource.links && resource.links.related && (typeof adapter.findHasMany === 'function' || typeof resource.data === 'undefined') && (shouldForceReload || hasDematerializedInverse || isStale || !allInverseRecordsAreLoaded && !isEmpty);\n\n        // fetch via link\n        if (shouldFindViaLink) {\n          // findHasMany, although not public, does not need to care about our upgrade relationship definitions\n          // and can stick with the public definition API for now.\n          var relationshipMeta = this._storeWrapper.relationshipsDefinitionFor(definition.inverseType)[definition.key];\n          return this.findHasMany(parentInternalModel, resource.links.related, relationshipMeta, options);\n        }\n        var preferLocalCache = hasReceivedData && !isEmpty;\n        var hasLocalPartialData = hasDematerializedInverse || isEmpty && Array.isArray(resource.data) && resource.data.length > 0;\n\n        // fetch using data, pulling from local cache if possible\n        if (!shouldForceReload && !isStale && (preferLocalCache || hasLocalPartialData)) {\n          var internalModels = resource.data.map(json => this._internalModelForResource(json));\n          return this.findMany(internalModels, options);\n        }\n        var hasData = hasReceivedData && !isEmpty;\n\n        // fetch by data\n        if (hasData || hasLocalPartialData) {\n          var _internalModels = resource.data.map(json => this._internalModelForResource(json));\n          return this._scheduleFetchMany(_internalModels, options);\n        }\n\n        // we were explicitly told we have no data and no links.\n        //   TODO if the relationshipIsStale, should we hit the adapter anyway?\n        return RSVP.resolve([]);\n      }\n    }\n\n    /**\n      @method findBelongsTo\n      @private\n      @param {InternalModel} internalModel\n      @param {any} link\n      @param {Relationship} relationship\n      @return {Promise} promise\n    */\n    findBelongsTo(internalModel, link, relationship, options) {\n      {\n        assertDestroyingStore$1(this, 'findBelongsTo');\n      }\n      var adapter = this.adapterFor(internalModel.modelName);\n      (!(adapter) && debug.assert(`You tried to load a belongsTo relationship but you have no adapter (for ${internalModel.modelName})`, adapter));\n      (!(typeof adapter.findBelongsTo === 'function') && debug.assert(`You tried to load a belongsTo relationship from a specified 'link' in the original payload but your adapter does not implement 'findBelongsTo'`, typeof adapter.findBelongsTo === 'function'));\n      return _findBelongsTo(adapter, this, internalModel, link, relationship, options);\n    }\n    _fetchBelongsToLinkFromResource(resource, parentInternalModel, relationshipMeta, options) {\n      if (!resource || !resource.links || !resource.links.related) {\n        // should we warn here, not sure cause its an internal method\n        return RSVP.resolve(null);\n      }\n      return this.findBelongsTo(parentInternalModel, resource.links.related, relationshipMeta, options).then(internalModel => {\n        return internalModel ? internalModel.getRecord() : null;\n      });\n    }\n    _findBelongsToByJsonApiResource(resource, parentInternalModel, relationshipMeta, options) {\n      if (!resource) {\n        return RSVP.resolve(null);\n      }\n      var internalModel = resource.data ? this._internalModelForResource(resource.data) : null;\n      var {\n        isStale,\n        hasDematerializedInverse,\n        hasReceivedData,\n        isEmpty,\n        shouldForceReload\n      } = resource._relationship.state;\n      var allInverseRecordsAreLoaded = areAllInverseRecordsLoaded(this, resource);\n      var shouldFindViaLink = resource.links && resource.links.related && (shouldForceReload || hasDematerializedInverse || isStale || !allInverseRecordsAreLoaded && !isEmpty);\n      if (internalModel) {\n        // short circuit if we are already loading\n        {\n          var pendingRequest = this._fetchManager.getPendingFetch(internalModel.identifier, options);\n          if (pendingRequest) {\n            return pendingRequest.then(() => internalModel.getRecord());\n          }\n        }\n      }\n\n      // fetch via link\n      if (shouldFindViaLink) {\n        return this._fetchBelongsToLinkFromResource(resource, parentInternalModel, relationshipMeta, options);\n      }\n      var preferLocalCache = hasReceivedData && allInverseRecordsAreLoaded && !isEmpty;\n      var hasLocalPartialData = hasDematerializedInverse || isEmpty && resource.data;\n      // null is explicit empty, undefined is \"we don't know anything\"\n      var localDataIsEmpty = resource.data === undefined || resource.data === null;\n\n      // fetch using data, pulling from local cache if possible\n      if (!shouldForceReload && !isStale && (preferLocalCache || hasLocalPartialData)) {\n        /*\n          We have canonical data, but our local state is empty\n         */\n        if (localDataIsEmpty) {\n          return RSVP.resolve(null);\n        }\n        if (!internalModel) {\n          (!(internalModel) && debug.assert(`No InternalModel found for ${resource.lid}`, internalModel));\n        }\n        return this._findByInternalModel(internalModel, options);\n      }\n      var resourceIsLocal = !localDataIsEmpty && resource.data.id === null;\n      if (internalModel && resourceIsLocal) {\n        return RSVP.resolve(internalModel.getRecord());\n      }\n\n      // fetch by data\n      if (internalModel && !localDataIsEmpty) {\n        return this._scheduleFetch(internalModel, options).then(() => {\n          return internalModel.getRecord();\n        });\n      }\n\n      // we were explicitly told we have no data and no links.\n      //   TODO if the relationshipIsStale, should we hit the adapter anyway?\n      return RSVP.resolve(null);\n    }\n\n    /**\n      This method delegates a query to the adapter. This is the one place where\n      adapter-level semantics are exposed to the application.\n       Each time this method is called a new request is made through the adapter.\n       Exposing queries this way seems preferable to creating an abstract query\n      language for all server-side queries, and then require all adapters to\n      implement them.\n       ---\n       If you do something like this:\n       ```javascript\n      store.query('person', { page: 1 });\n      ```\n       The request made to the server will look something like this:\n       ```\n      GET \"/api/v1/person?page=1\"\n      ```\n       ---\n       If you do something like this:\n       ```javascript\n      store.query('person', { ids: [1, 2, 3] });\n      ```\n       The request made to the server will look something like this:\n       ```\n      GET \"/api/v1/person?ids%5B%5D=1&ids%5B%5D=2&ids%5B%5D=3\"\n      decoded: \"/api/v1/person?ids[]=1&ids[]=2&ids[]=3\"\n      ```\n       This method returns a promise, which is resolved with an\n      [`AdapterPopulatedRecordArray`](/ember-data/release/classes/AdapterPopulatedRecordArray)\n      once the server returns.\n       @since 1.13.0\n      @method query\n      @public\n      @param {String} modelName\n      @param {any} query an opaque query to be used by the adapter\n      @param {Object} options optional, may include `adapterOptions` hash which will be passed to adapter.query\n      @return {Promise} promise\n    */\n    query(modelName, query, options) {\n      {\n        assertDestroyingStore$1(this, 'query');\n      }\n      (!(utils.isPresent(modelName)) && debug.assert(`You need to pass a model name to the store's query method`, utils.isPresent(modelName)));\n      (!(query) && debug.assert(`You need to pass a query hash to the store's query method`, query));\n      (!(typeof modelName === 'string') && debug.assert(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string'));\n      var adapterOptionsWrapper = {};\n      if (options && options.adapterOptions) {\n        adapterOptionsWrapper.adapterOptions = options.adapterOptions;\n      }\n      var normalizedModelName = normalizeModelName(modelName);\n      return this._query(normalizedModelName, query, null, adapterOptionsWrapper);\n    }\n    _query(modelName, query, array, options) {\n      (!(utils.isPresent(modelName)) && debug.assert(`You need to pass a model name to the store's query method`, utils.isPresent(modelName)));\n      (!(query) && debug.assert(`You need to pass a query hash to the store's query method`, query));\n      (!(typeof modelName === 'string') && debug.assert(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string'));\n      var adapter = this.adapterFor(modelName);\n      (!(adapter) && debug.assert(`You tried to load a query but you have no adapter (for ${modelName})`, adapter));\n      (!(typeof adapter.query === 'function') && debug.assert(`You tried to load a query but your adapter does not implement 'query'`, typeof adapter.query === 'function'));\n      return promiseArray(_query(adapter, this, modelName, query, array, options));\n    }\n\n    /**\n      This method makes a request for one record, where the `id` is not known\n      beforehand (if the `id` is known, use [`findRecord`](../methods/findRecord?anchor=findRecord)\n      instead).\n       This method can be used when it is certain that the server will return a\n      single object for the primary data.\n       Each time this method is called a new request is made through the adapter.\n       Let's assume our API provides an endpoint for the currently logged in user\n      via:\n       ```\n      // GET /api/current_user\n      {\n        user: {\n          id: 1234,\n          username: 'admin'\n        }\n      }\n      ```\n       Since the specific `id` of the `user` is not known beforehand, we can use\n      `queryRecord` to get the user:\n       ```javascript\n      store.queryRecord('user', {}).then(function(user) {\n        let username = user.get('username');\n        console.log(`Currently logged in as ${username}`);\n      });\n      ```\n       The request is made through the adapters' `queryRecord`:\n       ```app/adapters/user.js\n      import Adapter from '@ember-data/adapter';\n      import $ from 'jquery';\n       export default class UserAdapter extends Adapter {\n        queryRecord(modelName, query) {\n          return $.getJSON('/api/current_user');\n        }\n      }\n      ```\n       Note: the primary use case for `store.queryRecord` is when a single record\n      is queried and the `id` is not known beforehand. In all other cases\n      `store.query` and using the first item of the array is likely the preferred\n      way:\n       ```\n      // GET /users?username=unique\n      {\n        data: [{\n          id: 1234,\n          type: 'user',\n          attributes: {\n            username: \"unique\"\n          }\n        }]\n      }\n      ```\n       ```javascript\n      store.query('user', { username: 'unique' }).then(function(users) {\n        return users.get('firstObject');\n      }).then(function(user) {\n        let id = user.get('id');\n      });\n      ```\n       This method returns a promise, which resolves with the found record.\n       If the adapter returns no data for the primary data of the payload, then\n      `queryRecord` resolves with `null`:\n       ```\n      // GET /users?username=unique\n      {\n        data: null\n      }\n      ```\n       ```javascript\n      store.queryRecord('user', { username: 'unique' }).then(function(user) {\n        console.log(user); // null\n      });\n      ```\n       @since 1.13.0\n      @method queryRecord\n      @public\n      @param {String} modelName\n      @param {any} query an opaque query to be used by the adapter\n      @param {Object} options optional, may include `adapterOptions` hash which will be passed to adapter.queryRecord\n      @return {Promise} promise which resolves with the found record or `null`\n    */\n    queryRecord(modelName, query, options) {\n      {\n        assertDestroyingStore$1(this, 'queryRecord');\n      }\n      (!(utils.isPresent(modelName)) && debug.assert(`You need to pass a model name to the store's queryRecord method`, utils.isPresent(modelName)));\n      (!(query) && debug.assert(`You need to pass a query hash to the store's queryRecord method`, query));\n      (!(typeof modelName === 'string') && debug.assert(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string'));\n      var normalizedModelName = normalizeModelName(modelName);\n      var adapter = this.adapterFor(normalizedModelName);\n      var adapterOptionsWrapper = {};\n      if (options && options.adapterOptions) {\n        adapterOptionsWrapper.adapterOptions = options.adapterOptions;\n      }\n      (!(adapter) && debug.assert(`You tried to make a query but you have no adapter (for ${normalizedModelName})`, adapter));\n      (!(typeof adapter.queryRecord === 'function') && debug.assert(`You tried to make a query but your adapter does not implement 'queryRecord'`, typeof adapter.queryRecord === 'function'));\n      return promiseObject(_queryRecord(adapter, this, normalizedModelName, query, adapterOptionsWrapper).then(internalModel => {\n        // the promise returned by store.queryRecord is expected to resolve with\n        // an instance of Model\n        if (internalModel) {\n          return internalModel.getRecord();\n        }\n        return null;\n      }));\n    }\n\n    /**\n      `findAll` asks the adapter's `findAll` method to find the records for the\n      given type, and returns a promise which will resolve with all records of\n      this type present in the store, even if the adapter only returns a subset\n      of them.\n       ```app/routes/authors.js\n      import Route from '@ember/routing/route';\n       export default class AuthorsRoute extends Route {\n        model(params) {\n          return this.store.findAll('author');\n        }\n      }\n      ```\n       _When_ the returned promise resolves depends on the reload behavior,\n      configured via the passed `options` hash and the result of the adapter's\n      `shouldReloadAll` method.\n       ### Reloading\n       If `{ reload: true }` is passed or `adapter.shouldReloadAll` evaluates to\n      `true`, then the returned promise resolves once the adapter returns data,\n      regardless if there are already records in the store:\n       ```js\n      store.push({\n        data: {\n          id: 'first',\n          type: 'author'\n        }\n      });\n       // adapter#findAll resolves with\n      // [\n      //   {\n      //     id: 'second',\n      //     type: 'author'\n      //   }\n      // ]\n      store.findAll('author', { reload: true }).then(function(authors) {\n        authors.getEach('id'); // ['first', 'second']\n      });\n      ```\n       If no reload is indicated via the above mentioned ways, then the promise\n      immediately resolves with all the records currently loaded in the store.\n       ### Background Reloading\n       Optionally, if `adapter.shouldBackgroundReloadAll` evaluates to `true`,\n      then a background reload is started. Once this resolves, the array with\n      which the promise resolves, is updated automatically so it contains all the\n      records in the store:\n       ```app/adapters/application.js\n      import Adapter from '@ember-data/adapter';\n       export default class ApplicationAdapter extends Adapter {\n        shouldReloadAll(store, snapshotsArray) {\n          return false;\n        },\n         shouldBackgroundReloadAll(store, snapshotsArray) {\n          return true;\n        }\n      });\n       // ...\n       store.push({\n        data: {\n          id: 'first',\n          type: 'author'\n        }\n      });\n       let allAuthors;\n      store.findAll('author').then(function(authors) {\n        authors.getEach('id'); // ['first']\n         allAuthors = authors;\n      });\n       // later, once adapter#findAll resolved with\n      // [\n      //   {\n      //     id: 'second',\n      //     type: 'author'\n      //   }\n      // ]\n       allAuthors.getEach('id'); // ['first', 'second']\n      ```\n       If you would like to force or prevent background reloading, you can set a\n      boolean value for `backgroundReload` in the options object for\n      `findAll`.\n       ```app/routes/post/edit.js\n      import Route from '@ember/routing/route';\n       export default class PostEditRoute extends Route {\n        model() {\n          return this.store.findAll('post', { backgroundReload: false });\n        }\n      }\n      ```\n       If you pass an object on the `adapterOptions` property of the options\n      argument it will be passed to you adapter via the `snapshotRecordArray`\n       ```app/routes/posts.js\n      import Route from '@ember/routing/route';\n       export default class PostsRoute extends Route {\n        model(params) {\n          return this.store.findAll('post', {\n            adapterOptions: { subscribe: false }\n          });\n        }\n      }\n      ```\n       ```app/adapters/post.js\n      import MyCustomAdapter from './custom-adapter';\n       export default class UserAdapter extends MyCustomAdapter {\n        findAll(store, type, sinceToken, snapshotRecordArray) {\n          if (snapshotRecordArray.adapterOptions.subscribe) {\n            // ...\n          }\n          // ...\n        }\n      }\n      ```\n       See [peekAll](../methods/peekAll?anchor=peekAll) to get an array of current records in the\n      store, without waiting until a reload is finished.\n       ### Retrieving Related Model Records\n       If you use an adapter such as Ember's default\n      [`JSONAPIAdapter`](/ember-data/release/classes/JSONAPIAdapter)\n      that supports the [JSON API specification](http://jsonapi.org/) and if your server\n      endpoint supports the use of an\n      ['include' query parameter](http://jsonapi.org/format/#fetching-includes),\n      you can use `findAll()` to automatically retrieve additional records related to\n      those requested by supplying an `include` parameter in the `options` object.\n       For example, given a `post` model that has a `hasMany` relationship with a `comment`\n      model, when we retrieve all of the post records we can have the server also return\n      all of the posts' comments in the same request:\n       ```app/routes/posts.js\n      import Route from '@ember/routing/route';\n       export default class PostsRoute extends Route {\n        model() {\n          return this.store.findAll('post', { include: 'comments' });\n        }\n      }\n      ```\n      Multiple relationships can be requested using an `include` parameter consisting of a\n      comma-separated list (without white-space) while nested relationships can be specified\n      using a dot-separated sequence of relationship names. So to request both the posts'\n      comments and the authors of those comments the request would look like this:\n       ```app/routes/posts.js\n      import Route from '@ember/routing/route';\n       export default class PostsRoute extends Route {\n        model() {\n          return this.store.findAll('post', { include: 'comments,comments.author' });\n        }\n      }\n      ```\n       See [query](../methods/query?anchor=query) to only get a subset of records from the server.\n       @since 1.13.0\n      @method findAll\n      @public\n      @param {String} modelName\n      @param {Object} options\n      @return {Promise} promise\n    */\n    findAll(modelName, options) {\n      {\n        assertDestroyingStore$1(this, 'findAll');\n      }\n      (!(utils.isPresent(modelName)) && debug.assert(`You need to pass a model name to the store's findAll method`, utils.isPresent(modelName)));\n      (!(typeof modelName === 'string') && debug.assert(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string'));\n      var normalizedModelName = normalizeModelName(modelName);\n      var fetch = this._fetchAll(normalizedModelName, this.peekAll(normalizedModelName), options);\n      return fetch;\n    }\n\n    /**\n      @method _fetchAll\n      @private\n      @param {Model} modelName\n      @param {RecordArray} array\n      @return {Promise} promise\n    */\n    _fetchAll(modelName, array, options = {}) {\n      var adapter = this.adapterFor(modelName);\n      (!(adapter) && debug.assert(`You tried to load all records but you have no adapter (for ${modelName})`, adapter));\n      (!(typeof adapter.findAll === 'function') && debug.assert(`You tried to load all records but your adapter does not implement 'findAll'`, typeof adapter.findAll === 'function'));\n      if (options.reload) {\n        object.set(array, 'isUpdating', true);\n        return promiseArray(_findAll(adapter, this, modelName, options));\n      }\n      var snapshotArray = array._createSnapshot(options);\n      if (options.reload !== false) {\n        if (adapter.shouldReloadAll && adapter.shouldReloadAll(this, snapshotArray) || !adapter.shouldReloadAll && snapshotArray.length === 0) {\n          object.set(array, 'isUpdating', true);\n          return promiseArray(_findAll(adapter, this, modelName, options));\n        }\n      }\n      if (options.backgroundReload === false) {\n        return promiseArray(RSVP.Promise.resolve(array));\n      }\n      if (options.backgroundReload || !adapter.shouldBackgroundReloadAll || adapter.shouldBackgroundReloadAll(this, snapshotArray)) {\n        object.set(array, 'isUpdating', true);\n        _findAll(adapter, this, modelName, options);\n      }\n      return promiseArray(RSVP.Promise.resolve(array));\n    }\n\n    /**\n      @method _didUpdateAll\n      @param {String} modelName\n      @private\n    */\n    _didUpdateAll(modelName) {\n      this.recordArrayManager._didUpdateAll(modelName);\n    }\n\n    /**\n      This method returns a filtered array that contains all of the\n      known records for a given type in the store.\n       Note that because it's just a filter, the result will contain any\n      locally created records of the type, however, it will not make a\n      request to the backend to retrieve additional records. If you\n      would like to request all the records from the backend please use\n      [store.findAll](../methods/findAll?anchor=findAll).\n       Also note that multiple calls to `peekAll` for a given type will always\n      return the same `RecordArray`.\n       Example\n       ```javascript\n      let localPosts = store.peekAll('post');\n      ```\n       @since 1.13.0\n      @method peekAll\n      @public\n      @param {String} modelName\n      @return {RecordArray}\n    */\n    peekAll(modelName) {\n      {\n        assertDestroyingStore$1(this, 'peekAll');\n      }\n      (!(utils.isPresent(modelName)) && debug.assert(`You need to pass a model name to the store's peekAll method`, utils.isPresent(modelName)));\n      (!(typeof modelName === 'string') && debug.assert(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string'));\n      var normalizedModelName = normalizeModelName(modelName);\n      return this.recordArrayManager.liveRecordArrayFor(normalizedModelName);\n    }\n\n    /**\n      This method unloads all records in the store.\n      It schedules unloading to happen during the next run loop.\n       Optionally you can pass a type which unload all records for a given type.\n       ```javascript\n      store.unloadAll();\n      store.unloadAll('post');\n      ```\n       @method unloadAll\n      @public\n      @param {String} modelName\n    */\n    unloadAll(modelName) {\n      {\n        assertDestroyedStoreOnly$1(this, 'unloadAll');\n      }\n      (!(!modelName || typeof modelName === 'string') && debug.assert(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${modelName}`, !modelName || typeof modelName === 'string'));\n      var factory = internalModelFactoryFor(this);\n      if (modelName === undefined) {\n        this._notificationManager.destroy();\n        factory.clear();\n      } else {\n        var normalizedModelName = normalizeModelName(modelName);\n        factory.clear(normalizedModelName);\n      }\n    }\n    filter() {\n      (debug.assert('The filter API has been moved to a plugin. To enable store.filter using an environment flag, or to use an alternative, you can visit the ember-data-filter addon page. https://github.com/ember-data/ember-data-filter', false));\n    }\n\n    // ..............\n    // . PERSISTING .\n    // ..............\n\n    /**\n      This method is called by `record.save`, and gets passed a\n      resolver for the promise that `record.save` returns.\n       It schedules saving to happen at the end of the run loop.\n       @method scheduleSave\n      @private\n      @param {InternalModel} internalModel\n      @param {Resolver} resolver\n      @param {Object} options\n    */\n    scheduleSave(internalModel, resolver, options) {\n      internalModel.createSnapshot(options);\n      if (internalModel._isRecordFullyDeleted()) {\n        resolver.resolve();\n        return resolver.promise;\n      }\n      internalModel.adapterWillCommit();\n      {\n        if (!options) {\n          options = {};\n        }\n        var recordData = internalModel._recordData;\n        var operation = 'updateRecord';\n\n        // TODO handle missing isNew\n        if (recordData.isNew && recordData.isNew()) {\n          operation = 'createRecord';\n        } else if (recordData.isDeleted && recordData.isDeleted()) {\n          operation = 'deleteRecord';\n        }\n        addSymbol(options, SaveOp, operation);\n        var fetchManagerPromise = this._fetchManager.scheduleSave(internalModel.identifier, options);\n        var promise = fetchManagerPromise.then(payload => {\n          /*\n          Note to future spelunkers hoping to optimize.\n          We rely on this `run` to create a run loop if needed\n          that `store._push` and `store.didSaveRecord` will both share.\n          We use `join` because it is often the case that we\n          have an outer run loop available still from the first\n          call to `store._push`;\n          */\n          this._backburner.join(() => {\n            var data = payload && payload.data;\n            this.didSaveRecord(internalModel, {\n              data\n            }, operation);\n            if (payload && payload.included) {\n              this._push({\n                data: null,\n                included: payload.included\n              });\n            }\n          });\n        }, e => {\n          if (typeof e === 'string') {\n            throw e;\n          }\n          var {\n            error,\n            parsedErrors\n          } = e;\n          this.recordWasInvalid(internalModel, parsedErrors, error);\n          throw error;\n        });\n        return promise;\n      }\n    }\n\n    /**\n      This method is called at the end of the run loop, and\n      flushes any records passed into `scheduleSave`\n       @method flushPendingSave\n      @private\n    */\n    flushPendingSave() {\n      {\n        // assert here\n        return;\n      }\n    }\n\n    /**\n      This method is called once the promise returned by an\n      adapter's `createRecord`, `updateRecord` or `deleteRecord`\n      is resolved.\n       If the data provides a server-generated ID, it will\n      update the record and the store's indexes.\n       @method didSaveRecord\n      @private\n      @param {InternalModel} internalModel the in-flight internal model\n      @param {Object} data optional data (see above)\n      @param {string} op the adapter operation that was committed\n    */\n    didSaveRecord(internalModel, dataArg, op) {\n      {\n        assertDestroyingStore$1(this, 'didSaveRecord');\n      }\n      var data;\n      if (dataArg) {\n        data = dataArg.data;\n      }\n      if (!data) {\n        (!(internalModel.id) && debug.assert(`Your ${internalModel.modelName} record was saved to the server, but the response does not have an id and no id has been set client side. Records must have ids. Please update the server response to provide an id in the response or generate the id on the client side either before saving the record or while normalizing the response.`, internalModel.id));\n      }\n      var cache = identifierCacheFor(this);\n      var identifier = internalModel.identifier;\n      if (op !== 'deleteRecord' && data) {\n        cache.updateRecordIdentifier(identifier, data);\n      }\n\n      //We first make sure the primary data has been updated\n      //TODO try to move notification to the user to the end of the runloop\n      internalModel.adapterDidCommit(data);\n    }\n\n    /**\n      This method is called once the promise returned by an\n      adapter's `createRecord`, `updateRecord` or `deleteRecord`\n      is rejected with a `InvalidError`.\n       @method recordWasInvalid\n      @private\n      @param {InternalModel} internalModel\n      @param {Object} errors\n    */\n    recordWasInvalid(internalModel, parsedErrors, error) {\n      {\n        assertDestroyingStore$1(this, 'recordWasInvalid');\n      }\n      {\n        internalModel.adapterDidInvalidate(parsedErrors, error);\n      }\n    }\n\n    /**\n      This method is called once the promise returned by an\n      adapter's `createRecord`, `updateRecord` or `deleteRecord`\n      is rejected (with anything other than a `InvalidError`).\n       @method recordWasError\n      @private\n      @param {InternalModel} internalModel\n      @param {Error} error\n    */\n    recordWasError(internalModel, error) {\n      {\n        assertDestroyingStore$1(this, 'recordWasError');\n      }\n      internalModel.adapterDidError(error);\n    }\n\n    /**\n      Sets newly received ID from the adapter's `createRecord`, `updateRecord`\n      or `deleteRecord`.\n       @method setRecordId\n      @private\n      @param {String} modelName\n      @param {string} newId\n      @param {string} clientId\n     */\n    setRecordId(modelName, newId, clientId) {\n      {\n        assertDestroyingStore$1(this, 'setRecordId');\n      }\n      internalModelFactoryFor(this).setRecordId(modelName, newId, clientId);\n    }\n\n    // ................\n    // . LOADING DATA .\n    // ................\n\n    /**\n      This internal method is used by `push`.\n       @method _load\n      @private\n      @param {Object} data\n    */\n    _load(data) {\n      var resource = constructResource(normalizeModelName(data.type), ensureStringId(data.id), coerceId(data.lid));\n      var internalModel = internalModelFactoryFor(this).lookup(resource, data);\n\n      // store.push will be from empty\n      // findRecord will be from root.loading\n      // all else will be updates\n      var isLoading = internalModel.currentState.stateName === 'root.loading';\n      var isUpdate = internalModel.currentState.isEmpty === false && !isLoading;\n\n      // exclude store.push (root.empty) case\n      var identifier = internalModel.identifier;\n      if (isUpdate || isLoading) {\n        var updatedIdentifier = identifierCacheFor(this).updateRecordIdentifier(identifier, data);\n        if (updatedIdentifier !== identifier) {\n          // we encountered a merge of identifiers in which\n          // two identifiers (and likely two internalModels)\n          // existed for the same resource. Now that we have\n          // determined the correct identifier to use, make sure\n          // that we also use the correct internalModel.\n          identifier = updatedIdentifier;\n          internalModel = internalModelFactoryFor(this).lookup(identifier);\n        }\n      }\n      internalModel.setupData(data);\n      if (!isUpdate) {\n        this.recordArrayManager.recordDidChange(identifier);\n      }\n      return internalModel;\n    }\n\n    /**\n      Push some data for a given type into the store.\n       This method expects normalized [JSON API](http://jsonapi.org/) document. This means you have to follow [JSON API specification](http://jsonapi.org/format/) with few minor adjustments:\n      - record's `type` should always be in singular, dasherized form\n      - members (properties) should be camelCased\n       [Your primary data should be wrapped inside `data` property](http://jsonapi.org/format/#document-top-level):\n       ```js\n      store.push({\n        data: {\n          // primary data for single record of type `Person`\n          id: '1',\n          type: 'person',\n          attributes: {\n            firstName: 'Daniel',\n            lastName: 'Kmak'\n          }\n        }\n      });\n      ```\n       [Demo.](http://ember-twiddle.com/fb99f18cd3b4d3e2a4c7)\n       `data` property can also hold an array (of records):\n       ```js\n      store.push({\n        data: [\n          // an array of records\n          {\n            id: '1',\n            type: 'person',\n            attributes: {\n              firstName: 'Daniel',\n              lastName: 'Kmak'\n            }\n          },\n          {\n            id: '2',\n            type: 'person',\n            attributes: {\n              firstName: 'Tom',\n              lastName: 'Dale'\n            }\n          }\n        ]\n      });\n      ```\n       [Demo.](http://ember-twiddle.com/69cdbeaa3702159dc355)\n       There are some typical properties for `JSONAPI` payload:\n      * `id` - mandatory, unique record's key\n      * `type` - mandatory string which matches `model`'s dasherized name in singular form\n      * `attributes` - object which holds data for record attributes - `attr`'s declared in model\n      * `relationships` - object which must contain any of the following properties under each relationships' respective key (example path is `relationships.achievements.data`):\n        - [`links`](http://jsonapi.org/format/#document-links)\n        - [`data`](http://jsonapi.org/format/#document-resource-object-linkage) - place for primary data\n        - [`meta`](http://jsonapi.org/format/#document-meta) - object which contains meta-information about relationship\n       For this model:\n       ```app/models/person.js\n      import Model, { attr, hasMany } from '@ember-data/model';\n       export default class PersonRoute extends Route {\n        @attr('string') firstName;\n        @attr('string') lastName;\n         @hasMany('person') children;\n      }\n      ```\n       To represent the children as IDs:\n       ```js\n      {\n        data: {\n          id: '1',\n          type: 'person',\n          attributes: {\n            firstName: 'Tom',\n            lastName: 'Dale'\n          },\n          relationships: {\n            children: {\n              data: [\n                {\n                  id: '2',\n                  type: 'person'\n                },\n                {\n                  id: '3',\n                  type: 'person'\n                },\n                {\n                  id: '4',\n                  type: 'person'\n                }\n              ]\n            }\n          }\n        }\n      }\n      ```\n       [Demo.](http://ember-twiddle.com/343e1735e034091f5bde)\n       To represent the children relationship as a URL:\n       ```js\n      {\n        data: {\n          id: '1',\n          type: 'person',\n          attributes: {\n            firstName: 'Tom',\n            lastName: 'Dale'\n          },\n          relationships: {\n            children: {\n              links: {\n                related: '/people/1/children'\n              }\n            }\n          }\n        }\n      }\n      ```\n       If you're streaming data or implementing an adapter, make sure\n      that you have converted the incoming data into this form. The\n      store's [normalize](../methods/normalize?anchor=normalize) method is a convenience\n      helper for converting a json payload into the form Ember Data\n      expects.\n       ```js\n      store.push(store.normalize('person', data));\n      ```\n       This method can be used both to push in brand new\n      records, as well as to update existing records.\n       @method push\n      @public\n      @param {Object} data\n      @return the record(s) that was created or\n        updated.\n    */\n\n    push(data) {\n      {\n        assertDestroyingStore$1(this, 'push');\n      }\n      var pushed = this._push(data);\n      if (Array.isArray(pushed)) {\n        var records = pushed.map(internalModel => internalModel.getRecord());\n        return records;\n      }\n      if (pushed === null) {\n        return null;\n      }\n      var record = pushed.getRecord();\n      return record;\n    }\n\n    /**\n      Push some data in the form of a json-api document into the store,\n      without creating materialized records.\n       @method _push\n      @private\n      @param {Object} jsonApiDoc\n      @return {InternalModel|Array<InternalModel>} pushed InternalModel(s)\n    */\n    _push(jsonApiDoc) {\n      {\n        assertDestroyingStore$1(this, '_push');\n      }\n      var internalModelOrModels = this._backburner.join(() => {\n        var included = jsonApiDoc.included;\n        var i, length;\n        if (included) {\n          for (i = 0, length = included.length; i < length; i++) {\n            this._pushInternalModel(included[i]);\n          }\n        }\n        if (Array.isArray(jsonApiDoc.data)) {\n          length = jsonApiDoc.data.length;\n          var internalModels = new Array(length);\n          for (i = 0; i < length; i++) {\n            internalModels[i] = this._pushInternalModel(jsonApiDoc.data[i]);\n          }\n          return internalModels;\n        }\n        if (jsonApiDoc.data === null) {\n          return null;\n        }\n        (!(utils.typeOf(jsonApiDoc.data) === 'object') && debug.assert(`Expected an object in the 'data' property in a call to 'push' for ${jsonApiDoc.type}, but was ${utils.typeOf(jsonApiDoc.data)}`, utils.typeOf(jsonApiDoc.data) === 'object'));\n        return this._pushInternalModel(jsonApiDoc.data);\n      });\n\n      // this typecast is necessary because `backburner.join` is mistyped to return void\n      return internalModelOrModels;\n    }\n    _pushInternalModel(data) {\n      var modelName = data.type;\n      (!(data.id !== null && data.id !== undefined && data.id !== '') && debug.assert(`You must include an 'id' for ${modelName} in an object passed to 'push'`, data.id !== null && data.id !== undefined && data.id !== ''));\n      (!(this._hasModelFor(modelName)) && debug.assert(`You tried to push data with a type '${modelName}' but no model could be found with that name.`, this._hasModelFor(modelName)));\n      {\n        // If ENV.DS_WARN_ON_UNKNOWN_KEYS is set to true and the payload\n        // contains unknown attributes or relationships, log a warning.\n\n        if (ENV.DS_WARN_ON_UNKNOWN_KEYS) {\n          var unknownAttributes, unknownRelationships;\n          {\n            var relationships = this.getSchemaDefinitionService().relationshipsDefinitionFor(modelName);\n            var attributes = this.getSchemaDefinitionService().attributesDefinitionFor(modelName);\n            // Check unknown attributes\n            unknownAttributes = Object.keys(data.attributes || {}).filter(key => {\n              return !attributes[key];\n            });\n\n            // Check unknown relationships\n            unknownRelationships = Object.keys(data.relationships || {}).filter(key => {\n              return !relationships[key];\n            });\n          }\n          var unknownAttributesMessage = `The payload for '${modelName}' contains these unknown attributes: ${unknownAttributes}. Make sure they've been defined in your model.`;\n          (debug.warn(unknownAttributesMessage, unknownAttributes.length === 0, {\n            id: 'ds.store.unknown-keys-in-payload'\n          }));\n          var unknownRelationshipsMessage = `The payload for '${modelName}' contains these unknown relationships: ${unknownRelationships}. Make sure they've been defined in your model.`;\n          (debug.warn(unknownRelationshipsMessage, unknownRelationships.length === 0, {\n            id: 'ds.store.unknown-keys-in-payload'\n          }));\n        }\n      }\n\n      // Actually load the record into the store.\n      var internalModel = this._load(data);\n\n      //    this._setupRelationshipsForModel(internalModel, data);\n\n      return internalModel;\n    }\n\n    /**\n      Push some raw data into the store.\n       This method can be used both to push in brand new\n      records, as well as to update existing records. You\n      can push in more than one type of object at once.\n      All objects should be in the format expected by the\n      serializer.\n       ```app/serializers/application.js\n      import RESTSerializer from '@ember-data/serializer/rest';\n       export default class ApplicationSerializer extends RESTSerializer;\n      ```\n       ```js\n      let pushData = {\n        posts: [\n          { id: 1, postTitle: \"Great post\", commentIds: [2] }\n        ],\n        comments: [\n          { id: 2, commentBody: \"Insightful comment\" }\n        ]\n      }\n       store.pushPayload(pushData);\n      ```\n       By default, the data will be deserialized using a default\n      serializer (the application serializer if it exists).\n       Alternatively, `pushPayload` will accept a model type which\n      will determine which serializer will process the payload.\n       ```app/serializers/application.js\n      import RESTSerializer from '@ember-data/serializer/rest';\n        export default class ApplicationSerializer extends RESTSerializer;\n      ```\n       ```app/serializers/post.js\n      import JSONSerializer from '@ember-data/serializer/json';\n       export default JSONSerializer;\n      ```\n       ```js\n      store.pushPayload(pushData); // Will use the application serializer\n      store.pushPayload('post', pushData); // Will use the post serializer\n      ```\n       @method pushPayload\n      @public\n      @param {String} modelName Optionally, a model type used to determine which serializer will be used\n      @param {Object} inputPayload\n    */\n    pushPayload(modelName, inputPayload) {\n      {\n        assertDestroyingStore$1(this, 'pushPayload');\n      }\n      var serializer;\n      var payload;\n      if (!inputPayload) {\n        payload = modelName;\n        serializer = this.serializerFor('application');\n        (!(typeof serializer.pushPayload === 'function') && debug.assert(`You cannot use 'store#pushPayload' without a modelName unless your default serializer defines 'pushPayload'`, typeof serializer.pushPayload === 'function'));\n      } else {\n        payload = inputPayload;\n        (!(typeof modelName === 'string') && debug.assert(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string'));\n        var normalizedModelName = normalizeModelName(modelName);\n        serializer = this.serializerFor(normalizedModelName);\n      }\n      (!(serializer.pushPayload) && debug.assert(`You must define a pushPayload method in your serializer in order to call store.pushPayload`, serializer.pushPayload));\n      serializer.pushPayload(this, payload);\n    }\n    reloadManyArray(manyArray, internalModel, key, options) {\n      return internalModel.reloadHasMany(key, options);\n    }\n    reloadBelongsTo(belongsToProxy, internalModel, key, options) {\n      return internalModel.reloadBelongsTo(key, options);\n    }\n    _internalModelForResource(resource) {\n      return internalModelFactoryFor(this).getByResource(resource);\n    }\n\n    /**\n     * TODO Only needed temporarily for test support\n     *\n     * @method _internalModelForId\n     * @internal\n     */\n    _internalModelForId(type, id, lid) {\n      var resource = constructResource(type, id, lid);\n      return internalModelFactoryFor(this).lookup(resource);\n    }\n    serializeRecord(record, options) {\n      {\n        var _identifier3 = recordIdentifierFor(record);\n        var internalModel = internalModelFactoryFor(this).peek(_identifier3);\n        // TODO we used to check if the record was destroyed here\n        return internalModel.createSnapshot(options).serialize(options);\n      }\n    }\n    saveRecord(record, options) {\n      {\n        var _identifier4 = recordIdentifierFor(record);\n        var internalModel = internalModelFactoryFor(this).peek(_identifier4);\n        // TODO we used to check if the record was destroyed here\n        // Casting can be removed once REQUEST_SERVICE ff is turned on\n        // because a `Record` is provided there will always be a matching internalModel\n        return internalModel.save(options).then(() => record);\n      }\n    }\n    relationshipReferenceFor(identifier, key) {\n      {\n        var stableIdentifier = identifierCacheFor(this).getOrCreateRecordIdentifier(identifier);\n        var internalModel = internalModelFactoryFor(this).peek(stableIdentifier);\n        // TODO we used to check if the record was destroyed here\n        return internalModel.referenceFor(null, key);\n      }\n    }\n\n    /**\n     * Manages setting setting up the recordData returned by createRecordDataFor\n     *\n     * @method _createRecordData\n     * @internal\n     */\n    _createRecordData(identifier) {\n      var recordData = this.createRecordDataFor(identifier.type, identifier.id, identifier.lid, this._storeWrapper);\n      setRecordDataFor(identifier, recordData);\n      // TODO this is invalid for v2 recordData but required\n      // for v1 recordData. Remember to remove this once the\n      // RecordData manager handles converting recordData to identifier\n      setRecordIdentifier(recordData, identifier);\n      return recordData;\n    }\n\n    /**\n     * Instantiation hook allowing applications or addons to configure the store\n     * to utilize a custom RecordData implementation.\n     *\n     * @method createRecordDataFor\n     * @public\n     * @param modelName\n     * @param id\n     * @param clientId\n     * @param storeWrapper\n     */\n    createRecordDataFor(modelName, id, clientId, storeWrapper) {\n      {\n        // we can't greedily use require as this causes\n        // a cycle we can't easily fix (or clearly pin point) at present.\n        //\n        // it can be reproduced in partner tests by running\n        // node ./bin/packages-for-commit.js && yarn test-external:ember-observer\n        if (_RecordData === undefined) {\n          _RecordData = require__default[\"default\"]('@ember-data/record-data/-private').RecordData;\n        }\n        var _identifier5 = identifierCacheFor(this).getOrCreateRecordIdentifier({\n          type: modelName,\n          id,\n          lid: clientId\n        });\n        return new _RecordData(_identifier5, storeWrapper);\n      }\n    }\n\n    /**\n     * @internal\n     */\n    __recordDataFor(resource) {\n      var identifier = identifierCacheFor(this).getOrCreateRecordIdentifier(resource);\n      return this.recordDataFor(identifier, false);\n    }\n\n    /**\n     * @internal\n     */\n    recordDataFor(identifier, isCreate) {\n      var internalModel;\n      if (isCreate === true) {\n        internalModel = internalModelFactoryFor(this).build({\n          type: identifier.type,\n          id: null\n        });\n        internalModel.send('loadedData');\n        internalModel.didCreateRecord();\n      } else {\n        internalModel = internalModelFactoryFor(this).lookup(identifier);\n      }\n      return internalModel._recordData;\n    }\n\n    /**\n      `normalize` converts a json payload into the normalized form that\n      [push](../methods/push?anchor=push) expects.\n       Example\n       ```js\n      socket.on('message', function(message) {\n        let modelName = message.model;\n        let data = message.data;\n        store.push(store.normalize(modelName, data));\n      });\n      ```\n       @method normalize\n      @public\n      @param {String} modelName The name of the model type for this payload\n      @param {Object} payload\n      @return {Object} The normalized payload\n    */\n    normalize(modelName, payload) {\n      {\n        assertDestroyingStore$1(this, 'normalize');\n      }\n      (!(utils.isPresent(modelName)) && debug.assert(`You need to pass a model name to the store's normalize method`, utils.isPresent(modelName)));\n      (!(typeof modelName === 'string') && debug.assert(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${debug.inspect(modelName)}`, typeof modelName === 'string'));\n      var normalizedModelName = normalizeModelName(modelName);\n      var serializer = this.serializerFor(normalizedModelName);\n      var model = this.modelFor(normalizedModelName);\n      (!(serializer.normalize) && debug.assert(`You must define a normalize method in your serializer in order to call store.normalize`, serializer.normalize));\n      return serializer.normalize(model, payload);\n    }\n    newClientId() {\n      (debug.assert(`Private API Removed`, false));\n    }\n\n    // ...............\n    // . DESTRUCTION .\n    // ...............\n\n    /**\n     * TODO remove test usage\n     *\n     * @internal\n     */\n    _internalModelsFor(modelName) {\n      return internalModelFactoryFor(this).modelMapFor(modelName);\n    }\n\n    // ......................\n    // . PER-TYPE ADAPTERS\n    // ......................\n\n    /**\n      Returns an instance of the adapter for a given type. For\n      example, `adapterFor('person')` will return an instance of\n      `App.PersonAdapter`.\n       If no `App.PersonAdapter` is found, this method will look\n      for an `App.ApplicationAdapter` (the default adapter for\n      your entire application).\n       If no `App.ApplicationAdapter` is found, it will return\n      the value of the `defaultAdapter`.\n       @method adapterFor\n      @public\n      @param {String} modelName\n      @return Adapter\n    */\n    adapterFor(modelName) {\n      {\n        assertDestroyingStore$1(this, 'adapterFor');\n      }\n      (!(utils.isPresent(modelName)) && debug.assert(`You need to pass a model name to the store's adapterFor method`, utils.isPresent(modelName)));\n      (!(typeof modelName === 'string') && debug.assert(`Passing classes to store.adapterFor has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string'));\n      var normalizedModelName = normalizeModelName(modelName);\n      var {\n        _adapterCache\n      } = this;\n      var adapter = _adapterCache[normalizedModelName];\n      if (adapter) {\n        return adapter;\n      }\n      var owner = application.getOwner(this);\n      adapter = owner.lookup(`adapter:${normalizedModelName}`);\n\n      // in production this is handled by the re-export\n      if (adapter === undefined) {\n        if (normalizedModelName === '-json-api') {\n          var Adapter = require__default[\"default\"]('@ember-data/adapter/json-api').default;\n          owner.register(`adapter:-json-api`, Adapter);\n          adapter = owner.lookup(`adapter:-json-api`);\n          deprecateTestRegistration('adapter', '-json-api');\n        }\n      }\n      if (adapter !== undefined) {\n        object.set(adapter, 'store', this);\n        _adapterCache[normalizedModelName] = adapter;\n        return adapter;\n      }\n\n      // no adapter found for the specific model, fallback and check for application adapter\n      adapter = _adapterCache.application || owner.lookup('adapter:application');\n      if (adapter !== undefined) {\n        object.set(adapter, 'store', this);\n        _adapterCache[normalizedModelName] = adapter;\n        _adapterCache.application = adapter;\n        return adapter;\n      }\n\n      // no model specific adapter or application adapter, check for an `adapter`\n      // property defined on the store\n      var adapterName = this.adapter || '-json-api';\n      adapter = adapterName ? _adapterCache[adapterName] || owner.lookup(`adapter:${adapterName}`) : undefined;\n\n      // in production this is handled by the re-export\n      if (adapter === undefined) {\n        if (adapterName === '-json-api') {\n          var _Adapter = require__default[\"default\"]('@ember-data/adapter/json-api').default;\n          owner.register(`adapter:-json-api`, _Adapter);\n          adapter = owner.lookup(`adapter:-json-api`);\n          deprecateTestRegistration('adapter', '-json-api');\n        }\n      }\n      if (adapter !== undefined) {\n        object.set(adapter, 'store', this);\n        _adapterCache[normalizedModelName] = adapter;\n        _adapterCache[adapterName] = adapter;\n        return adapter;\n      }\n\n      // final fallback, no model specific adapter, no application adapter, no\n      // `adapter` property on store: use json-api adapter\n      adapter = _adapterCache['-json-api'] || owner.lookup('adapter:-json-api');\n      (!(adapter !== undefined) && debug.assert(`No adapter was found for '${modelName}' and no 'application' adapter was found as a fallback.`, adapter !== undefined));\n      object.set(adapter, 'store', this);\n      _adapterCache[normalizedModelName] = adapter;\n      _adapterCache['-json-api'] = adapter;\n      return adapter;\n    }\n\n    // ..............................\n    // . RECORD CHANGE NOTIFICATION .\n    // ..............................\n\n    /**\n      Returns an instance of the serializer for a given type. For\n      example, `serializerFor('person')` will return an instance of\n      `App.PersonSerializer`.\n       If no `App.PersonSerializer` is found, this method will look\n      for an `App.ApplicationSerializer` (the default serializer for\n      your entire application).\n       if no `App.ApplicationSerializer` is found, it will attempt\n      to get the `defaultSerializer` from the `PersonAdapter`\n      (`adapterFor('person')`).\n       If a serializer cannot be found on the adapter, it will fall back\n      to an instance of `JSONSerializer`.\n       @method serializerFor\n      @public\n      @param {String} modelName the record to serialize\n      @return {Serializer}\n    */\n    serializerFor(modelName) {\n      {\n        assertDestroyingStore$1(this, 'serializerFor');\n      }\n      (!(utils.isPresent(modelName)) && debug.assert(`You need to pass a model name to the store's serializerFor method`, utils.isPresent(modelName)));\n      (!(typeof modelName === 'string') && debug.assert(`Passing classes to store.serializerFor has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string'));\n      var normalizedModelName = normalizeModelName(modelName);\n      var {\n        _serializerCache\n      } = this;\n      var serializer = _serializerCache[normalizedModelName];\n      if (serializer) {\n        return serializer;\n      }\n      var owner = application.getOwner(this);\n      serializer = owner.lookup(`serializer:${normalizedModelName}`);\n      {\n        // in production this is handled by the re-export\n        if (serializer === undefined) {\n          if (normalizedModelName === '-json-api') {\n            var Serializer = require__default[\"default\"]('@ember-data/serializer/json-api').default;\n            owner.register(`serializer:-json-api`, Serializer);\n            serializer = owner.lookup(`serializer:-json-api`);\n            deprecateTestRegistration('serializer', '-json-api');\n          } else if (normalizedModelName === '-rest') {\n            var _Serializer = require__default[\"default\"]('@ember-data/serializer/rest').default;\n            owner.register(`serializer:-rest`, _Serializer);\n            serializer = owner.lookup(`serializer:-rest`);\n            deprecateTestRegistration('serializer', '-rest');\n          } else if (normalizedModelName === '-default') {\n            var _Serializer2 = require__default[\"default\"]('@ember-data/serializer/json').default;\n            owner.register(`serializer:-default`, _Serializer2);\n            serializer = owner.lookup(`serializer:-default`);\n            serializer && deprecateTestRegistration('serializer', '-default');\n          }\n        }\n      }\n      if (serializer !== undefined) {\n        object.set(serializer, 'store', this);\n        _serializerCache[normalizedModelName] = serializer;\n        return serializer;\n      }\n\n      // no serializer found for the specific model, fallback and check for application serializer\n      serializer = _serializerCache.application || owner.lookup('serializer:application');\n      if (serializer !== undefined) {\n        object.set(serializer, 'store', this);\n        _serializerCache[normalizedModelName] = serializer;\n        _serializerCache.application = serializer;\n        return serializer;\n      }\n      var serializerName;\n      {\n        // no model specific serializer or application serializer, check for the `defaultSerializer`\n        // property defined on the adapter\n        var adapter = this.adapterFor(modelName);\n        serializerName = object.get(adapter, 'defaultSerializer');\n        (!(!serializerName) && debug.deprecate(`store.serializerFor(\"${modelName}\") resolved the \"${serializerName}\" serializer via the deprecated \\`adapter.defaultSerializer\\` property.\\n\\n\\tPreviously, if no application or type-specific serializer was specified, the store would attempt to lookup a serializer via the \\`defaultSerializer\\` property on the type's adapter. This behavior is deprecated in favor of explicitly defining a type-specific serializer or application serializer`, !serializerName, {\n          id: 'ember-data:default-serializer',\n          until: '4.0',\n          url: 'https://deprecations.emberjs.com/ember-data/v3.x/#toc_ember-data-default-serializers',\n          for: '@ember-data/store',\n          since: {\n            available: '3.15',\n            enabled: '3.15'\n          }\n        }));\n        serializer = serializerName ? _serializerCache[serializerName] || owner.lookup(`serializer:${serializerName}`) : undefined;\n      }\n      {\n        // in production this is handled by the re-export\n        if (serializer === undefined) {\n          if (serializerName === '-json-api') {\n            var _Serializer3 = require__default[\"default\"]('@ember-data/serializer/json-api').default;\n            owner.register(`serializer:-json-api`, _Serializer3);\n            serializer = owner.lookup(`serializer:-json-api`);\n            deprecateTestRegistration('serializer', '-json-api');\n          } else if (serializerName === '-rest') {\n            var _Serializer4 = require__default[\"default\"]('@ember-data/serializer/rest').default;\n            owner.register(`serializer:-rest`, _Serializer4);\n            serializer = owner.lookup(`serializer:-rest`);\n            deprecateTestRegistration('serializer', '-rest');\n          } else if (serializerName === '-default') {\n            var _Serializer5 = require__default[\"default\"]('@ember-data/serializer/json').default;\n            owner.register(`serializer:-default`, _Serializer5);\n            serializer = owner.lookup(`serializer:-default`);\n            serializer && deprecateTestRegistration('serializer', '-default');\n          }\n        }\n        if (serializer !== undefined) {\n          object.set(serializer, 'store', this);\n          _serializerCache[normalizedModelName] = serializer;\n          _serializerCache[serializerName] = serializer;\n          return serializer;\n        }\n      }\n      {\n        // final fallback, no model specific serializer, no application serializer, no\n        // `serializer` property on store: use the convenience JSONSerializer\n        serializer = _serializerCache['-default'] || owner.lookup('serializer:-default');\n        if (serializer === undefined) {\n          var JSONSerializer = require__default[\"default\"]('@ember-data/serializer/json').default;\n          owner.register('serializer:-default', JSONSerializer);\n          serializer = owner.lookup('serializer:-default');\n          serializer && deprecateTestRegistration('serializer', '-default');\n        }\n        (!(!serializer) && debug.deprecate(`store.serializerFor(\"${modelName}\") resolved the \"-default\" serializer via the deprecated \"-default\" lookup fallback.\\n\\n\\tPreviously, when no type-specific serializer, application serializer, or adapter.defaultSerializer had been defined by the app, the \"-default\" serializer would be used which defaulted to the \\`JSONSerializer\\`. This behavior is deprecated in favor of explicitly defining an application or type-specific serializer`, !serializer, {\n          id: 'ember-data:default-serializer',\n          until: '4.0',\n          url: 'https://deprecations.emberjs.com/ember-data/v3.x/#toc_ember-data-default-serializers',\n          for: '@ember-data/store',\n          since: {\n            available: '3.15',\n            enabled: '3.15'\n          }\n        }));\n        (!(serializer !== undefined) && debug.assert(`No serializer was found for '${modelName}' and no 'application' serializer was found as a fallback`, serializer !== undefined));\n        object.set(serializer, 'store', this);\n        _serializerCache[normalizedModelName] = serializer;\n        _serializerCache['-default'] = serializer;\n        return serializer;\n      }\n    }\n    destroy() {\n      // enqueue destruction of any adapters/serializers we have created\n      for (var adapterName in this._adapterCache) {\n        var adapter = this._adapterCache[adapterName];\n        if (typeof adapter.destroy === 'function') {\n          adapter.destroy();\n        }\n      }\n      for (var serializerName in this._serializerCache) {\n        var serializer = this._serializerCache[serializerName];\n        if (typeof serializer.destroy === 'function') {\n          serializer.destroy();\n        }\n      }\n      {\n        var peekGraph = require__default[\"default\"]('@ember-data/record-data/-private').peekGraph;\n        var graph = peekGraph(this);\n        if (graph) {\n          graph.destroy();\n        }\n      }\n      return super.destroy();\n    }\n    willDestroy() {\n      super.willDestroy();\n      this.recordArrayManager.destroy();\n      identifierCacheFor(this).destroy();\n\n      // destroy the graph before unloadAll\n      // since then we avoid churning relationships\n      // during unload\n      {\n        var peekGraph = require__default[\"default\"]('@ember-data/record-data/-private').peekGraph;\n        var graph = peekGraph(this);\n        if (graph) {\n          graph.willDestroy();\n        }\n      }\n      this.unloadAll();\n      {\n        test.unregisterWaiter(this.__asyncWaiter);\n        var shouldTrack = this.shouldTrackAsyncRequests;\n        var tracked = this._trackedAsyncRequests;\n        var isSettled = tracked.length === 0;\n        if (!isSettled) {\n          if (shouldTrack) {\n            throw new Error('Async Request leaks detected. Add a breakpoint here and set `store.generateStackTracesForTrackedRequests = true;`to inspect traces for leak origins:\\n\\t - ' + tracked.map(o => o.label).join('\\n\\t - '));\n          } else {\n            (debug.warn('Async Request leaks detected. Add a breakpoint here and set `store.generateStackTracesForTrackedRequests = true;`to inspect traces for leak origins:\\n\\t - ' + tracked.map(o => o.label).join('\\n\\t - '), false, {\n              id: 'ds.async.leak.detected'\n            }));\n          }\n        }\n      }\n    }\n    _updateInternalModel(internalModel) {\n      if (this._updatedInternalModels.push(internalModel) !== 1) {\n        return;\n      }\n      runloop._backburner.schedule('actions', this, this._flushUpdatedInternalModels);\n    }\n    _flushUpdatedInternalModels() {\n      var updated = this._updatedInternalModels;\n      for (var i = 0, l = updated.length; i < l; i++) {\n        updated[i]._triggerDeferredTriggers();\n      }\n      updated.length = 0;\n    }\n  }\n  {\n    object.defineProperty(CoreStore.prototype, 'defaultAdapter', object.computed('adapter', function () {\n      (debug.deprecate(`store.adapterFor(modelName) resolved the (\"${this.adapter || '-json-api'}\") adapter via the deprecated \\`store.defaultAdapter\\` property.\\n\\n\\tPreviously, applications could define the store's \\`adapter\\` property which would be used by \\`defaultAdapter\\` and \\`adapterFor\\` as a fallback for when an adapter was not found by an exact name match. This behavior is deprecated in favor of explicitly defining an application or type-specific adapter.`, false, {\n        id: 'ember-data:default-adapter',\n        until: '4.0',\n        url: 'https://deprecations.emberjs.com/ember-data/v3.x/#toc_ember-data-default-adapter',\n        for: '@ember-data/store',\n        since: {\n          available: '3.15',\n          enabled: '3.15'\n        }\n      }));\n      var adapter = this.adapter || '-json-api';\n      (!(typeof adapter === 'string') && debug.assert('You tried to set `adapter` property to an instance of `Adapter`, where it should be a name', typeof adapter === 'string'));\n      return this.adapterFor(adapter);\n    }));\n  }\n  var assertDestroyingStore$1;\n  var assertDestroyedStoreOnly$1;\n  {\n    assertDestroyingStore$1 = function assertDestroyedStore(store, method) {\n      if (!store.shouldAssertMethodCallsOnDestroyedStore) {\n        (!(!(store.isDestroying || store.isDestroyed)) && debug.deprecate(`Attempted to call store.${method}(), but the store instance has already been destroyed.`, !(store.isDestroying || store.isDestroyed), {\n          id: 'ember-data:method-calls-on-destroyed-store',\n          until: '3.8',\n          for: '@ember-data/store',\n          since: {\n            available: '3.8',\n            enabled: '3.8'\n          }\n        }));\n      } else {\n        (!(!(store.isDestroying || store.isDestroyed)) && debug.assert(`Attempted to call store.${method}(), but the store instance has already been destroyed.`, !(store.isDestroying || store.isDestroyed)));\n      }\n    };\n    assertDestroyedStoreOnly$1 = function assertDestroyedStoreOnly(store, method) {\n      if (!store.shouldAssertMethodCallsOnDestroyedStore) {\n        (!(!store.isDestroyed) && debug.deprecate(`Attempted to call store.${method}(), but the store instance has already been destroyed.`, !store.isDestroyed, {\n          id: 'ember-data:method-calls-on-destroyed-store',\n          until: '3.8',\n          for: '@ember-data/store',\n          since: {\n            available: '3.8',\n            enabled: '3.8'\n          }\n        }));\n      } else {\n        (!(!store.isDestroyed) && debug.assert(`Attempted to call store.${method}(), but the store instance has already been destroyed.`, !store.isDestroyed));\n      }\n    };\n  }\n\n  /**\n   * Flag indicating whether all inverse records are available\n   *\n   * true if the inverse exists and is loaded (not empty)\n   * true if there is no inverse\n   * false if the inverse exists and is not loaded (empty)\n   *\n   * @internal\n   * @return {boolean}\n   */\n  function areAllInverseRecordsLoaded(store, resource) {\n    var cache = identifierCacheFor(store);\n    if (Array.isArray(resource.data)) {\n      // treat as collection\n      // check for unloaded records\n      var hasEmptyRecords = resource.data.reduce((hasEmptyModel, resourceIdentifier) => {\n        return hasEmptyModel || internalModelForRelatedResource(store, cache, resourceIdentifier).currentState.isEmpty;\n      }, false);\n      return !hasEmptyRecords;\n    } else {\n      // treat as single resource\n      if (!resource.data) {\n        return true;\n      } else {\n        var internalModel = internalModelForRelatedResource(store, cache, resource.data);\n        return !internalModel.currentState.isEmpty;\n      }\n    }\n  }\n  function internalModelForRelatedResource(store, cache, resource) {\n    var identifier = cache.getOrCreateRecordIdentifier(resource);\n    return store._internalModelForResource(identifier);\n  }\n  function assertIdentifierHasId(identifier) {\n    (!(identifier.id !== null) && debug.assert(`Attempted to schedule a fetch for a record without an id.`, identifier.id !== null));\n  }\n\n  var _modelForMixin;\n  {\n    var _found;\n    _modelForMixin = function () {\n      if (!_found) {\n        _found = require__default[\"default\"]('@ember-data/model/-private')._modelForMixin;\n      }\n      return _found(...arguments);\n    };\n  }\n  class DSModelSchemaDefinitionService {\n    constructor(store) {\n      this._modelFactoryCache = Object.create(null);\n      this._relationshipsDefCache = Object.create(null);\n      this._attributesDefCache = Object.create(null);\n      this.store = store;\n    }\n\n    // Following the existing RD implementation\n    attributesDefinitionFor(identifier) {\n      var modelName, attributes;\n      if (typeof identifier === 'string') {\n        modelName = identifier;\n      } else {\n        modelName = identifier.type;\n      }\n      attributes = this._attributesDefCache[modelName];\n      if (attributes === undefined) {\n        var modelClass = this.store.modelFor(modelName);\n        var attributeMap = object.get(modelClass, 'attributes');\n        attributes = Object.create(null);\n        attributeMap.forEach((meta, name) => attributes[name] = meta);\n        this._attributesDefCache[modelName] = attributes;\n      }\n      return attributes;\n    }\n\n    // Following the existing RD implementation\n    relationshipsDefinitionFor(identifier) {\n      var modelName, relationships;\n      if (typeof identifier === 'string') {\n        modelName = identifier;\n      } else {\n        modelName = identifier.type;\n      }\n      relationships = this._relationshipsDefCache[modelName];\n      if (relationships === undefined) {\n        var modelClass = this.store.modelFor(modelName);\n        relationships = object.get(modelClass, 'relationshipsObject') || null;\n        this._relationshipsDefCache[modelName] = relationships;\n      }\n      return relationships;\n    }\n    doesTypeExist(modelName) {\n      var normalizedModelName = normalizeModelName(modelName);\n      var factory = getModelFactory(this.store, this._modelFactoryCache, normalizedModelName);\n      return factory !== null;\n    }\n  }\n  function getModelFactory(store, cache, normalizedModelName) {\n    var factory = cache[normalizedModelName];\n    if (!factory) {\n      factory = _lookupModelFactory(store, normalizedModelName);\n      if (!factory && true /* HAS_MODEL_PACKAGE */) {\n        //Support looking up mixins as base types for polymorphic relationships\n        factory = _modelForMixin(store, normalizedModelName);\n      }\n      if (!factory) {\n        // we don't cache misses in case someone wants to register a missing model\n        return null;\n      }\n      var klass = factory.class;\n      if (klass.isModel) {\n        var hasOwnModelNameSet = klass.modelName && Object.prototype.hasOwnProperty.call(klass, 'modelName');\n        if (!hasOwnModelNameSet) {\n          Object.defineProperty(klass, 'modelName', {\n            value: normalizedModelName\n          });\n        }\n      }\n      cache[normalizedModelName] = factory;\n    }\n    return factory;\n  }\n  function _lookupModelFactory(store, normalizedModelName) {\n    var owner = application.getOwner(store);\n    return owner.factoryFor(`model:${normalizedModelName}`);\n  }\n\n  class Store extends CoreStore {\n    constructor(...args) {\n      super(...args);\n      this._modelFactoryCache = Object.create(null);\n      this._relationshipsDefCache = Object.create(null);\n      this._attributesDefCache = Object.create(null);\n    }\n    instantiateRecord(identifier, createRecordArgs, recordDataFor, notificationManager) {\n      var modelName = identifier.type;\n      var internalModel = this._internalModelForResource(identifier);\n      var createOptions = {\n        store: this,\n        _internalModel: internalModel,\n        // TODO deprecate allowing unknown args setting\n        _createProps: createRecordArgs,\n        container: null\n      };\n\n      // ensure that `getOwner(this)` works inside a model instance\n      application.setOwner(createOptions, application.getOwner(this));\n      delete createOptions.container;\n      var record = this._modelFactoryFor(modelName).create(createOptions);\n      return record;\n    }\n    teardownRecord(record) {\n      record.destroy();\n    }\n    modelFor(modelName) {\n      {\n        assertDestroyedStoreOnly(this, 'modelFor');\n      }\n      (!(utils.isPresent(modelName)) && debug.assert(`You need to pass a model name to the store's modelFor method`, utils.isPresent(modelName)));\n      (!(typeof modelName === 'string') && debug.assert(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string'));\n      var maybeFactory = this._modelFactoryFor(modelName);\n\n      // for factorFor factory/class split\n      var klass = maybeFactory && maybeFactory.class ? maybeFactory.class : maybeFactory;\n      if (!klass || !klass.isModel) {\n        if (!this.getSchemaDefinitionService().doesTypeExist(modelName)) {\n          throw new EmberError__default[\"default\"](`No model was found for '${modelName}' and no schema handles the type`);\n        }\n        return getShimClass(this, modelName);\n      } else {\n        return klass;\n      }\n    }\n    _modelFactoryFor(modelName) {\n      {\n        assertDestroyedStoreOnly(this, '_modelFactoryFor');\n      }\n      (!(utils.isPresent(modelName)) && debug.assert(`You need to pass a model name to the store's _modelFactoryFor method`, utils.isPresent(modelName)));\n      (!(typeof modelName === 'string') && debug.assert(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string'));\n      var normalizedModelName = normalizeModelName(modelName);\n      var factory = getModelFactory(this, this._modelFactoryCache, normalizedModelName);\n      return factory;\n    }\n    _hasModelFor(modelName) {\n      {\n        assertDestroyingStore(this, '_hasModelFor');\n      }\n      (!(utils.isPresent(modelName)) && debug.assert(`You need to pass a model name to the store's hasModelFor method`, utils.isPresent(modelName)));\n      (!(typeof modelName === 'string') && debug.assert(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string'));\n      {\n        return this.getSchemaDefinitionService().doesTypeExist(modelName);\n      }\n    }\n    _relationshipMetaFor(modelName, id, key) {\n      {\n        return this._relationshipsDefinitionFor(modelName)[key];\n      }\n    }\n    _attributesDefinitionFor(modelName, identifier) {\n      {\n        if (identifier) {\n          return this.getSchemaDefinitionService().attributesDefinitionFor(identifier);\n        } else {\n          return this.getSchemaDefinitionService().attributesDefinitionFor(modelName);\n        }\n      }\n    }\n    _relationshipsDefinitionFor(modelName, identifier) {\n      {\n        if (identifier) {\n          return this.getSchemaDefinitionService().relationshipsDefinitionFor(identifier);\n        } else {\n          return this.getSchemaDefinitionService().relationshipsDefinitionFor(modelName);\n        }\n      }\n    }\n    getSchemaDefinitionService() {\n      {\n        if (!this._schemaDefinitionService) {\n          this._schemaDefinitionService = new DSModelSchemaDefinitionService(this);\n        }\n        return this._schemaDefinitionService;\n      }\n    }\n  }\n  var assertDestroyingStore;\n  var assertDestroyedStoreOnly;\n  {\n    assertDestroyingStore = function assertDestroyedStore(store, method) {\n      if (!store.shouldAssertMethodCallsOnDestroyedStore) {\n        (!(!(store.isDestroying || store.isDestroyed)) && debug.deprecate(`Attempted to call store.${method}(), but the store instance has already been destroyed.`, !(store.isDestroying || store.isDestroyed), {\n          id: 'ember-data:method-calls-on-destroyed-store',\n          until: '3.8',\n          for: '@ember-data/store',\n          since: {\n            available: '3.8',\n            enabled: '3.8'\n          }\n        }));\n      } else {\n        (!(!(store.isDestroying || store.isDestroyed)) && debug.assert(`Attempted to call store.${method}(), but the store instance has already been destroyed.`, !(store.isDestroying || store.isDestroyed)));\n      }\n    };\n    assertDestroyedStoreOnly = function assertDestroyedStoreOnly(store, method) {\n      if (!store.shouldAssertMethodCallsOnDestroyedStore) {\n        (!(!store.isDestroyed) && debug.deprecate(`Attempted to call store.${method}(), but the store instance has already been destroyed.`, !store.isDestroyed, {\n          id: 'ember-data:method-calls-on-destroyed-store',\n          until: '3.8',\n          for: '@ember-data/store',\n          since: {\n            available: '3.8',\n            enabled: '3.8'\n          }\n        }));\n      } else {\n        (!(!store.isDestroyed) && debug.assert(`Attempted to call store.${method}(), but the store instance has already been destroyed.`, !store.isDestroyed));\n      }\n    };\n  }\n\n  exports.AdapterPopulatedRecordArray = AdapterPopulatedRecordArray;\n  exports.DeprecatedEvented = DeprecatedEvented$1;\n  exports.InternalModel = InternalModel;\n  exports.PromiseArray = PromiseArray;\n  exports.PromiseObject = PromiseObject;\n  exports.RecordArray = RecordArray;\n  exports.RecordArrayManager = RecordArrayManager;\n  exports.RecordDataStoreWrapper = RecordDataStoreWrapper;\n  exports.RootState = RootState$1;\n  exports.Snapshot = Snapshot;\n  exports.SnapshotRecordArray = SnapshotRecordArray;\n  exports.Store = Store;\n  exports.addSymbol = addSymbol;\n  exports.coerceId = coerceId;\n  exports.errorsArrayToHash = errorsArrayToHash;\n  exports.errorsHashToArray = errorsHashToArray;\n  exports.identifierCacheFor = identifierCacheFor;\n  exports.normalizeModelName = normalizeModelName;\n  exports.recordDataFor = recordDataFor;\n  exports.recordIdentifierFor = recordIdentifierFor;\n  exports.removeRecordDataFor = removeRecordDataFor;\n  exports.setIdentifierForgetMethod = setIdentifierForgetMethod;\n  exports.setIdentifierGenerationMethod = setIdentifierGenerationMethod;\n  exports.setIdentifierResetMethod = setIdentifierResetMethod;\n  exports.setIdentifierUpdateMethod = setIdentifierUpdateMethod;\n  exports.symbol = symbol;\n\n  Object.defineProperty(exports, '__esModule', { value: true });\n\n}));\n","define(\"@ember-data/store/index\", [\"exports\", \"@ember-data/store/-private\"], function (_exports, _private) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _private.Store;\n    }\n  });\n  Object.defineProperty(_exports, \"normalizeModelName\", {\n    enumerable: true,\n    get: function () {\n      return _private.normalizeModelName;\n    }\n  });\n  Object.defineProperty(_exports, \"recordIdentifierFor\", {\n    enumerable: true,\n    get: function () {\n      return _private.recordIdentifierFor;\n    }\n  });\n  Object.defineProperty(_exports, \"setIdentifierForgetMethod\", {\n    enumerable: true,\n    get: function () {\n      return _private.setIdentifierForgetMethod;\n    }\n  });\n  Object.defineProperty(_exports, \"setIdentifierGenerationMethod\", {\n    enumerable: true,\n    get: function () {\n      return _private.setIdentifierGenerationMethod;\n    }\n  });\n  Object.defineProperty(_exports, \"setIdentifierResetMethod\", {\n    enumerable: true,\n    get: function () {\n      return _private.setIdentifierResetMethod;\n    }\n  });\n  Object.defineProperty(_exports, \"setIdentifierUpdateMethod\", {\n    enumerable: true,\n    get: function () {\n      return _private.setIdentifierUpdateMethod;\n    }\n  });\n});","define(\"@ember-decorators/utils/-private/class-field-descriptor\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.isDescriptor = isDescriptor;\n  _exports.isFieldDescriptor = isFieldDescriptor;\n  function isClassDescriptor(possibleDesc) {\n    let [target] = possibleDesc;\n    return possibleDesc.length === 1 && typeof target === 'function' && 'prototype' in target && !target.__isComputedDecorator;\n  }\n  function isFieldDescriptor(possibleDesc) {\n    let [target, key, desc] = possibleDesc;\n    return possibleDesc.length === 3 && typeof target === 'object' && target !== null && typeof key === 'string' && (typeof desc === 'object' && desc !== null && 'enumerable' in desc && 'configurable' in desc || desc === undefined) // TS compatibility\n;\n  }\n  function isDescriptor(possibleDesc) {\n    return isFieldDescriptor(possibleDesc) || isClassDescriptor(possibleDesc);\n  }\n});","define(\"@ember-decorators/utils/collapse-proto\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = collapseProto;\n  function collapseProto(target) {\n    // We must collapse the superclass prototype to make sure that the `actions`\n    // object will exist. Since collapsing doesn't generally happen until a class is\n    // instantiated, we have to do it manually.\n    if (typeof target.constructor.proto === 'function') {\n      target.constructor.proto();\n    }\n  }\n});","define(\"@ember-decorators/utils/decorator\", [\"exports\", \"@ember/debug\", \"@ember-decorators/utils/-private/class-field-descriptor\"], function (_exports, _debug, _classFieldDescriptor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.decoratorWithParams = decoratorWithParams;\n  _exports.decoratorWithRequiredParams = decoratorWithRequiredParams;\n  /**\n   * A macro that takes a decorator function and allows it to optionally\n   * receive parameters\n   *\n   * ```js\n   * let foo = decoratorWithParams((target, desc, key, params) => {\n   *   console.log(params);\n   * });\n   *\n   * class {\n   *   @foo bar; // undefined\n   *   @foo('bar') baz; // ['bar']\n   * }\n   * ```\n   *\n   * @param {Function} fn - decorator function\n   */\n  function decoratorWithParams(fn) {\n    return function (...params) {\n      // determine if user called as @computed('blah', 'blah') or @computed\n      if ((0, _classFieldDescriptor.isDescriptor)(params)) {\n        return fn(...params);\n      } else {\n        return (...desc) => fn(...desc, params);\n      }\n    };\n  }\n\n  /**\n   * A macro that takes a decorator function and requires it to receive\n   * parameters:\n   *\n   * ```js\n   * let foo = decoratorWithRequiredParams((target, desc, key, params) => {\n   *   console.log(params);\n   * });\n   *\n   * class {\n   *   @foo('bar') baz; // ['bar']\n   *   @foo bar; // Error\n   * }\n   * ```\n   *\n   * @param {Function} fn - decorator function\n   */\n  function decoratorWithRequiredParams(fn, name) {\n    return function (...params) {\n      (true && !(!(0, _classFieldDescriptor.isDescriptor)(params) && params.length > 0) && (0, _debug.assert)(`The @${name || fn.name} decorator requires parameters`, !(0, _classFieldDescriptor.isDescriptor)(params) && params.length > 0));\n      return (...desc) => fn(...desc, params);\n    };\n  }\n});","define(\"@ember/render-modifiers/modifiers/did-insert\", [\"exports\", \"@ember/modifier\"], function (_exports, _modifier) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n    The `{{did-insert}}` element modifier is activated when an element is\n    inserted into the DOM.\n  \n    In this example, the `fadeIn` function receives the `div` DOM element as its\n    first argument and is executed after the element is inserted into the DOM.\n  \n    ```handlebars\n    <div {{did-insert this.fadeIn}} class=\"alert\">\n      {{yield}}\n    </div>\n    ```\n  \n    ```js\n    export default Component.extend({\n      fadeIn(element) {\n        element.classList.add('fade-in');\n      }\n    });\n    ```\n  \n    By default, the executed function will be unbound. If you would like to access\n    the component context in your function, use the `action` decorator as follows:\n  \n    ```handlebars\n    <div {{did-insert this.incrementCount}}>first</div>\n    <div {{did-insert this.incrementCount}}>second</div>\n  \n    <p>{{this.count}} elements were rendered</p>\n    ```\n  \n    ```js\n    export default Component.extend({\n      count: tracked({ value: 0 }),\n  \n      incrementCount: action(function() {\n        this.count++;\n      })\n    });\n    ```\n  \n    @method did-insert\n    @public\n  */\n  var _default = _exports.default = (0, _modifier.setModifierManager)(() => ({\n    capabilities: (0, _modifier.capabilities)('3.13', {\n      disableAutoTracking: true\n    }),\n    createModifier() {},\n    installModifier(_state, element, args) {\n      let [fn, ...positional] = args.positional;\n      fn(element, positional, args.named);\n    },\n    updateModifier() {},\n    destroyModifier() {}\n  }), class DidInsertModifier {});\n});","define(\"@ember/render-modifiers/modifiers/did-update\", [\"exports\", \"@ember/modifier\"], function (_exports, _modifier) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n    The `{{did-update}}` element modifier is activated when any of its arguments\n    are updated. It does not run on initial render.\n  \n    In this example, the `resize` function receives the `textarea` DOM element as its\n    first argument and is executed anytime the `@text` argument changes.\n  \n    ```handlebars\n    <textarea {{did-update this.resize @text}} readonly style=\"padding: 0px;\">\n      {{@text}}\n    </textarea>\n    ```\n  \n    ```js\n    export default Component.extend({\n      resize(element) {\n        element.style.height = `${element.scrollHeight}px`;\n      }\n    });\n    ```\n  \n    In addition to the `element`, both named and positional arguments are passed to the\n    executed function:\n  \n    ```handlebars\n    <div {{did-update this.logArguments @first @second third=@third}} />\n    ```\n  \n    ```js\n    export default Component.extend({\n      logArguments(element, [first, second], { third }) {\n        console.log('element', element);\n        console.log('positional args', first, second);\n        console.log('names args', third);\n      }\n    });\n    ```\n  \n    By default, the executed function will be unbound. If you would like to access\n    the component context in your function, use the `action` decorator as follows:\n  \n    ```handlebars\n    <div {{did-update this.someFunction @someArg} />\n    ```\n  \n    ```js\n    export default Component.extend({\n      someFunction: action(function(element, [someArg]) {\n        // the `this` context will be the component instance\n      })\n    });\n    ```\n  \n    @method did-update\n    @public\n  */\n  var _default = _exports.default = (0, _modifier.setModifierManager)(() => ({\n    capabilities: (0, _modifier.capabilities)('3.13', {\n      disableAutoTracking: true\n    }),\n    createModifier() {\n      return {\n        element: null\n      };\n    },\n    installModifier(state, element) {\n      // save element into state bucket\n      state.element = element;\n    },\n    updateModifier({\n      element\n    }, args) {\n      let [fn, ...positional] = args.positional;\n      fn(element, positional, args.named);\n    },\n    destroyModifier() {}\n  }), class DidUpdateModifier {});\n});","define(\"@ember/render-modifiers/modifiers/will-destroy\", [\"exports\", \"@ember/modifier\"], function (_exports, _modifier) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n    The `{{will-destroy}}` element modifier is activated immediately before the element\n    is removed from the DOM.\n  \n    ```handlebars\n    <div {{will-destroy this.teardownPlugin}}>\n      {{yield}}\n    </div>\n    ```\n  \n    ```js\n    export default Component.extend({\n      teardownPlugin(element) {\n        // teardown logic here\n      }\n    });\n    ```\n  \n    By default, the executed function will be unbound. If you would like to access\n    the component context in your function, use the `action` decorator as follows:\n  \n    ```handlebars\n    <div {{will-destroy this.teardownPlugin}}>\n      {{yield}}\n    </div>\n    ```\n  \n    ```js\n    export default Component.extend({\n      teardownPlugin: action(function(element) {\n        // the `this` context will be the component instance\n      })\n    });\n    ```\n  \n    @method will-destroy\n    @public\n  */\n  var _default = _exports.default = (0, _modifier.setModifierManager)(() => ({\n    capabilities: (0, _modifier.capabilities)('3.13', {\n      disableAutoTracking: true\n    }),\n    createModifier() {\n      return {\n        element: null\n      };\n    },\n    installModifier(state, element) {\n      state.element = element;\n    },\n    updateModifier() {},\n    destroyModifier({\n      element\n    }, args) {\n      let [fn, ...positional] = args.positional;\n      fn(element, positional, args.named);\n    }\n  }), class WillDestroyModifier {});\n});","define(\"@ember/string/cache\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  class Cache {\n    constructor(limit, func, store) {\n      _defineProperty(this, \"size\", 0);\n      _defineProperty(this, \"misses\", 0);\n      _defineProperty(this, \"hits\", 0);\n      this.limit = limit;\n      this.func = func;\n      this.store = store;\n      this.store = store || new Map();\n    }\n    get(key) {\n      let value = this.store.get(key);\n      if (this.store.has(key)) {\n        this.hits++;\n        return this.store.get(key);\n      } else {\n        this.misses++;\n        value = this.set(key, this.func(key));\n      }\n      return value;\n    }\n    set(key, value) {\n      if (this.limit > this.size) {\n        this.size++;\n        this.store.set(key, value);\n      }\n      return value;\n    }\n    purge() {\n      this.store.clear();\n      this.size = 0;\n      this.hits = 0;\n      this.misses = 0;\n    }\n  }\n  _exports.default = Cache;\n});","define(\"@ember/string/index\", [\"exports\", \"@ember/string/cache\"], function (_exports, _cache) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.camelize = camelize;\n  _exports.capitalize = capitalize;\n  _exports.classify = classify;\n  _exports.dasherize = dasherize;\n  _exports.decamelize = decamelize;\n  _exports.getString = getString;\n  _exports.getStrings = getStrings;\n  _exports.htmlSafe = htmlSafe;\n  _exports.isHTMLSafe = isHTMLSafe;\n  _exports.setStrings = setStrings;\n  _exports.underscore = underscore;\n  _exports.w = w;\n  /* eslint-disable no-useless-escape */\n\n  /**\n   @module @ember/string\n   */\n\n  // STATE within a module is frowned upon, this exists\n  // to support Ember.STRINGS but shield ember internals from this legacy global\n  // API.\n  let STRINGS = {};\n  function setStrings(strings) {\n    STRINGS = strings;\n  }\n  function getStrings() {\n    return STRINGS;\n  }\n  function getString(name) {\n    return STRINGS[name];\n  }\n  const STRING_DASHERIZE_REGEXP = /[ _]/g;\n  const STRING_DASHERIZE_CACHE = new _cache.default(1000, key => decamelize(key).replace(STRING_DASHERIZE_REGEXP, '-'));\n  const STRING_CAMELIZE_REGEXP_1 = /(\\-|\\_|\\.|\\s)+(.)?/g;\n  const STRING_CAMELIZE_REGEXP_2 = /(^|\\/)([A-Z])/g;\n  const CAMELIZE_CACHE = new _cache.default(1000, key => key.replace(STRING_CAMELIZE_REGEXP_1, (_match, _separator, chr) => chr ? chr.toUpperCase() : '').replace(STRING_CAMELIZE_REGEXP_2, (match\n  /*, separator, chr */) => match.toLowerCase()));\n  const STRING_CLASSIFY_REGEXP_1 = /^(\\-|_)+(.)?/;\n  const STRING_CLASSIFY_REGEXP_2 = /(.)(\\-|\\_|\\.|\\s)+(.)?/g;\n  const STRING_CLASSIFY_REGEXP_3 = /(^|\\/|\\.)([a-z])/g;\n  const CLASSIFY_CACHE = new _cache.default(1000, str => {\n    const replace1 = (_match, _separator, chr) => chr ? `_${chr.toUpperCase()}` : '';\n    const replace2 = (_match, initialChar, _separator, chr) => initialChar + (chr ? chr.toUpperCase() : '');\n    const parts = str.split('/');\n    for (let i = 0; i < parts.length; i++) {\n      parts[i] = parts[i].replace(STRING_CLASSIFY_REGEXP_1, replace1).replace(STRING_CLASSIFY_REGEXP_2, replace2);\n    }\n    return parts.join('/').replace(STRING_CLASSIFY_REGEXP_3, (match\n    /*, separator, chr */) => match.toUpperCase());\n  });\n  const STRING_UNDERSCORE_REGEXP_1 = /([a-z\\d])([A-Z]+)/g;\n  const STRING_UNDERSCORE_REGEXP_2 = /\\-|\\s+/g;\n  const UNDERSCORE_CACHE = new _cache.default(1000, str => str.replace(STRING_UNDERSCORE_REGEXP_1, '$1_$2').replace(STRING_UNDERSCORE_REGEXP_2, '_').toLowerCase());\n  const STRING_CAPITALIZE_REGEXP = /(^|\\/)([a-z\\u00C0-\\u024F])/g;\n  const CAPITALIZE_CACHE = new _cache.default(1000, str => str.replace(STRING_CAPITALIZE_REGEXP, (match\n  /*, separator, chr */) => match.toUpperCase()));\n  const STRING_DECAMELIZE_REGEXP = /([a-z\\d])([A-Z])/g;\n  const DECAMELIZE_CACHE = new _cache.default(1000, str => str.replace(STRING_DECAMELIZE_REGEXP, '$1_$2').toLowerCase());\n  /**\n    Splits a string into separate units separated by spaces, eliminating any\n    empty strings in the process. This is a convenience method for split that\n    is mostly useful when applied to the `String.prototype`.\n  \n    ```javascript\n    import { w } from '@ember/string';\n  \n    w(\"alpha beta gamma\").forEach(function(key) {\n      console.log(key);\n    });\n  \n    // > alpha\n    // > beta\n    // > gamma\n    ```\n  \n    @method w\n    @param {String} str The string to split\n    @return {Array} array containing the split strings\n    @public\n  */\n\n  function w(str) {\n    return str.split(/\\s+/);\n  }\n  /**\n    Converts a camelized string into all lower case separated by underscores.\n  \n    ```javascript\n    import { decamelize } from '@ember/string';\n  \n    decamelize('innerHTML');          // 'inner_html'\n    decamelize('action_name');        // 'action_name'\n    decamelize('css-class-name');     // 'css-class-name'\n    decamelize('my favorite items');  // 'my favorite items'\n    ```\n  \n    @method decamelize\n    @param {String} str The string to decamelize.\n    @return {String} the decamelized string.\n    @public\n  */\n\n  function decamelize(str) {\n    return DECAMELIZE_CACHE.get(str);\n  }\n  /**\n    Replaces underscores, spaces, or camelCase with dashes.\n  \n    ```javascript\n    import { dasherize } from '@ember/string';\n  \n    dasherize('innerHTML');                // 'inner-html'\n    dasherize('action_name');              // 'action-name'\n    dasherize('css-class-name');           // 'css-class-name'\n    dasherize('my favorite items');        // 'my-favorite-items'\n    dasherize('privateDocs/ownerInvoice';  // 'private-docs/owner-invoice'\n    ```\n  \n    @method dasherize\n    @param {String} str The string to dasherize.\n    @return {String} the dasherized string.\n    @public\n  */\n\n  function dasherize(str) {\n    return STRING_DASHERIZE_CACHE.get(str);\n  }\n  /**\n    Returns the lowerCamelCase form of a string.\n  \n    ```javascript\n    import { camelize } from '@ember/string';\n  \n    camelize('innerHTML');                   // 'innerHTML'\n    camelize('action_name');                 // 'actionName'\n    camelize('css-class-name');              // 'cssClassName'\n    camelize('my favorite items');           // 'myFavoriteItems'\n    camelize('My Favorite Items');           // 'myFavoriteItems'\n    camelize('private-docs/owner-invoice');  // 'privateDocs/ownerInvoice'\n    ```\n  \n    @method camelize\n    @param {String} str The string to camelize.\n    @return {String} the camelized string.\n    @public\n  */\n\n  function camelize(str) {\n    return CAMELIZE_CACHE.get(str);\n  }\n  /**\n    Returns the UpperCamelCase form of a string.\n  \n    ```javascript\n    import { classify } from '@ember/string';\n  \n    classify('innerHTML');                   // 'InnerHTML'\n    classify('action_name');                 // 'ActionName'\n    classify('css-class-name');              // 'CssClassName'\n    classify('my favorite items');           // 'MyFavoriteItems'\n    classify('private-docs/owner-invoice');  // 'PrivateDocs/OwnerInvoice'\n    ```\n  \n    @method classify\n    @param {String} str the string to classify\n    @return {String} the classified string\n    @public\n  */\n\n  function classify(str) {\n    return CLASSIFY_CACHE.get(str);\n  }\n  /**\n    More general than decamelize. Returns the lower\\_case\\_and\\_underscored\n    form of a string.\n  \n    ```javascript\n    import { underscore } from '@ember/string';\n  \n    underscore('innerHTML');                 // 'inner_html'\n    underscore('action_name');               // 'action_name'\n    underscore('css-class-name');            // 'css_class_name'\n    underscore('my favorite items');         // 'my_favorite_items'\n    underscore('privateDocs/ownerInvoice');  // 'private_docs/owner_invoice'\n    ```\n  \n    @method underscore\n    @param {String} str The string to underscore.\n    @return {String} the underscored string.\n    @public\n  */\n\n  function underscore(str) {\n    return UNDERSCORE_CACHE.get(str);\n  }\n  /**\n    Returns the Capitalized form of a string\n  \n    ```javascript\n    import { capitalize } from '@ember/string';\n  \n    capitalize('innerHTML')                 // 'InnerHTML'\n    capitalize('action_name')               // 'Action_name'\n    capitalize('css-class-name')            // 'Css-class-name'\n    capitalize('my favorite items')         // 'My favorite items'\n    capitalize('privateDocs/ownerInvoice'); // 'PrivateDocs/ownerInvoice'\n    ```\n  \n    @method capitalize\n    @param {String} str The string to capitalize.\n    @return {String} The capitalized string.\n    @public\n  */\n\n  function capitalize(str) {\n    return CAPITALIZE_CACHE.get(str);\n  }\n  /*\n    The following are implemented here to give users adding `@ember/string` to\n    their projects a useful error message. The `ember-source` implementation of\n    `@ember/string` is clobbered by adding this addon, and so the deprecation of\n    the import path is not triggered. This error message is intended to help\n    users discover what they need to change.\n  */\n\n  function htmlSafe(str) {\n    throw new Error('htmlSafe is not implemented in the `@ember/string` package. Please import from `@ember/template` instead.');\n  }\n  function isHTMLSafe(str) {\n    throw new Error('isHTMLSafe is not implemented in the `@ember/string` package. Please import from `@ember/template` instead.');\n  }\n});","define(\"@embroider/macros/es-compat2\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = esCompat;\n  function esCompat(m) {\n    return m?.__esModule ? m : {\n      default: m,\n      ...m\n    };\n  }\n});","define(\"@embroider/macros/runtime\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.config = config;\n  _exports.each = each;\n  _exports.getGlobalConfig = getGlobalConfig;\n  _exports.isTesting = isTesting;\n  _exports.macroCondition = macroCondition;\n  _exports.setTesting = setTesting;\n  /*\n    These are the runtime implementations for the javascript macros that have\n    runtime implementations.\n  \n    Not every macro has a runtime implementation, some only make sense in the\n    build and always run there.\n  \n    Even when we have runtime implementations, we are still careful to emit static\n    errors during the build wherever possible, and runtime errors when necessary,\n    so that you're not surprised when you switch from runtime-mode to compile-time\n    mode.\n  */\n\n  /*\n    CAUTION: in classic builds, this file gets shared by all present copies of\n    @embroider/macros. If you want to change its public API, you need to rename it\n    and update `pathToRuntime` in ../babel/state.ts to point at it, so that your\n    babel plugin and runtime will match.\n  */\n\n  function each(array) {\n    if (!Array.isArray(array)) {\n      throw new Error(`the argument to the each() macro must be an array`);\n    }\n    return array;\n  }\n  function macroCondition(predicate) {\n    return predicate;\n  }\n\n  // This is here as a compile target for `getConfig` and `getOwnConfig` when\n  // we're in runtime mode. This is not public API to call from your own code.\n  function config(packageRoot) {\n    return runtimeConfig.packages[packageRoot];\n  }\n  function getGlobalConfig() {\n    return runtimeConfig.global;\n  }\n  function isTesting() {\n    let g = runtimeConfig.global;\n    let e = g && g['@embroider/macros'];\n    return Boolean(e && e.isTesting);\n  }\n  function setTesting(isTesting) {\n    if (!runtimeConfig.global) {\n      runtimeConfig.global = {};\n    }\n    if (!runtimeConfig.global['@embroider/macros']) {\n      runtimeConfig.global['@embroider/macros'] = {};\n    }\n    runtimeConfig.global['@embroider/macros'].isTesting = Boolean(isTesting);\n  }\n\n  // Welcome intrepid developer!\n  //\n  // While this data is \"global\", this is a private variable.\n  //\n  // do not build features based off of its contents,\n  // or assume it will have the same name in future releases.\n  const runtimeConfig = globalThis.__embroider_macros__runtime_config__ ||= {};\n  runtimeConfig.packages ||= {};\n  runtimeConfig.global ||= {};\n\n  // In the off chance there are duplicate copies of @embroider/macros in the dep graph\n  // (due to the package manager messing up)\n  // Let's try to merge them together via the above global well known variable\n  const localConfig = initializeRuntimeMacrosConfig();\n  Object.assign(runtimeConfig.packages, localConfig.packages);\n  Object.assign(runtimeConfig.global, localConfig.global);\n\n  // this exists to be targeted by our babel plugin\n  function initializeRuntimeMacrosConfig() {\n    return {\n      \"packages\": {\n        \"/Users/eddyang/Projects/bigordr-app-wip/node_modules/@sentry/ember\": {\n          \"sentryConfig\": {}\n        }\n      },\n      \"global\": {\n        \"@embroider/macros\": {\n          \"isTesting\": false\n        }\n      }\n    };\n  }\n  function updaterMethods() {\n    return {\n      config,\n      getGlobalConfig,\n      setConfig(packageRoot, value) {\n        runtimeConfig.packages[packageRoot] = value;\n      },\n      setGlobalConfig(key, value) {\n        runtimeConfig.global[key] = value;\n      }\n    };\n  }\n\n  // this is how runtime config can get injected at boot. I'm not sure yet if this\n  // should be public API, but we certainly need it internally to set things like\n  // the global fastboot.isRunning.\n  //\n  // consumers of this API push a function onto\n  // window._embroider_macros_runtime_config. The function is given four methods\n  // which allow it to read and write the per-package and global configs. The\n  // reason for allowing both read & write is that merging strategies are up to\n  // each consumers -- read first, then merge, then write.\n  //\n  // For an example user of this API, see where we generate\n  // embroider_macros_fastboot_init.js' in @embroider/core.\n  let updaters = typeof window !== 'undefined' ? window._embroider_macros_runtime_config : undefined;\n  if (updaters) {\n    let methods = updaterMethods();\n    for (let updater of updaters) {\n      updater(methods);\n    }\n  }\n});","define(\"@glimmer/component/-private/base-component-manager\", [\"exports\", \"@glimmer/component/-private/component\"], function (_exports, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = BaseComponentManager;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  /**\n   * This factory function returns a component manager class with common behavior\n   * that can be extend to add Glimmer.js- or Ember.js-specific functionality. As\n   * these environments converge, the need for two component manager\n   * implementations (and thus this factory) should go away.\n   */\n  function BaseComponentManager(setOwner, getOwner, capabilities) {\n    return class {\n      static create(attrs) {\n        let owner = getOwner(attrs);\n        return new this(owner);\n      }\n      constructor(owner) {\n        _defineProperty(this, \"capabilities\", capabilities);\n        setOwner(this, owner);\n      }\n      createComponent(ComponentClass, args) {\n        if (true /* DEBUG */) {\n          _component.ARGS_SET.set(args.named, true);\n        }\n        return new ComponentClass(getOwner(this), args.named);\n      }\n      getContext(component) {\n        return component;\n      }\n    };\n  }\n});","define(\"@glimmer/component/-private/component\", [\"exports\", \"@glimmer/component/-private/owner\", \"@glimmer/component/-private/destroyables\"], function (_exports, _owner, _destroyables) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _exports.ARGS_SET = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  // This provides a type-safe `WeakMap`: the getter and setter link the key to a\n  // specific value. This is how `WeakMap`s actually behave, but the TS type\n  // system does not (yet!) have a good way to capture that for types like\n  // `WeakMap` where the type is generic over another generic type (here, `Args`).\n\n  // SAFETY: this only holds because we *only* acces this when `DEBUG` is `true`.\n  // There is not a great way to connect that data in TS at present.\n  let ARGS_SET = _exports.ARGS_SET = void 0;\n  if (true /* DEBUG */) {\n    _exports.ARGS_SET = ARGS_SET = new WeakMap();\n  }\n\n  // --- Type utilities for component signatures --- //\n  // Type-only \"symbol\" to use with `EmptyObject` below, so that it is *not*\n  // equivalent to an empty interface.\n\n  /**\n   * This provides us a way to have a \"fallback\" which represents an empty object,\n   * without the downsides of how TS treats `{}`. Specifically: this will\n   * correctly leverage \"excess property checking\" so that, given a component\n   * which has no named args, if someone invokes it with any named args, they will\n   * get a type error.\n   *\n   * @internal This is exported so declaration emit works (if it were not emitted,\n   *   declarations which fall back to it would not work). It is *not* intended for\n   *   public usage, and the specific mechanics it uses may change at any time.\n   *   The location of this export *is* part of the public API, because moving it\n   *   will break existing declarations, but is not legal for end users to import\n   *   themselves, so ***DO NOT RELY ON IT***.\n   */\n\n  /** Given a signature `S`, get back the `Args` type. */\n\n  /**\n   * Given any allowed shorthand form of a signature, desugars it to its full\n   * expanded type.\n   *\n   * @internal This is only exported so we can avoid duplicating it in\n   *   [Glint](https://github.com/typed-ember/glint) or other such tooling. It is\n   *   *not* intended for public usage, and the specific mechanics it uses may\n   *   change at any time. Although the signature produced by is part of Glimmer's\n   *   public API the existence and mechanics of this specific symbol are *not*,\n   *   so ***DO NOT RELY ON IT***.\n   */\n  // The conditional type here is because TS applies conditional types\n  // distributively. This means that for union types, checks like `keyof T` get\n  // all the keys from all elements of the union, instead of ending up as `never`\n  // and then always falling into the `Signature` path instead of falling back to\n  // the legacy args handling path.\n\n  /**\n   * @internal we use this type for convenience internally; inference means users\n   *   should not normally need to name it\n   */\n\n  /**\n   * The `Component` class defines an encapsulated UI element that is rendered to\n   * the DOM. A component is made up of a template and, optionally, this component\n   * object.\n   *\n   * ## Defining a Component\n   *\n   * To define a component, subclass `Component` and add your own properties,\n   * methods and lifecycle hooks:\n   *\n   * ```ts\n   * import Component from '@glimmer/component';\n   *\n   * export default class extends Component {\n   * }\n   * ```\n   *\n   * ## Lifecycle Hooks\n   *\n   * Lifecycle hooks allow you to respond to changes to a component, such as when\n   * it gets created, rendered, updated or destroyed. To add a lifecycle hook to a\n   * component, implement the hook as a method on your component subclass.\n   *\n   * For example, to be notified when Glimmer has rendered your component so you\n   * can attach a legacy jQuery plugin, implement the `didInsertElement()` method:\n   *\n   * ```ts\n   * import Component from '@glimmer/component';\n   *\n   * export default class extends Component {\n   *   didInsertElement() {\n   *     $(this.element).pickadate();\n   *   }\n   * }\n   * ```\n   *\n   * ## Data for Templates\n   *\n   * `Component`s have two different kinds of data, or state, that can be\n   * displayed in templates:\n   *\n   * 1. Arguments\n   * 2. Properties\n   *\n   * Arguments are data that is passed in to a component from its parent\n   * component. For example, if I have a `UserGreeting` component, I can pass it\n   * a name and greeting to use:\n   *\n   * ```hbs\n   * <UserGreeting @name=\"Ricardo\" @greeting=\"Olá\" />\n   * ```\n   *\n   * Inside my `UserGreeting` template, I can access the `@name` and `@greeting`\n   * arguments that I've been given:\n   *\n   * ```hbs\n   * {{@greeting}}, {{@name}}!\n   * ```\n   *\n   * Arguments are also available inside my component:\n   *\n   * ```ts\n   * console.log(this.args.greeting); // prints \"Olá\"\n   * ```\n   *\n   * Properties, on the other hand, are internal to the component and declared in\n   * the class. You can use properties to store data that you want to show in the\n   * template, or pass to another component as an argument.\n   *\n   * ```ts\n   * import Component from '@glimmer/component';\n   *\n   * export default class extends Component {\n   *   user = {\n   *     name: 'Robbie'\n   *   }\n   * }\n   * ```\n   *\n   * In the above example, we've defined a component with a `user` property that\n   * contains an object with its own `name` property.\n   *\n   * We can render that property in our template:\n   *\n   * ```hbs\n   * Hello, {{user.name}}!\n   * ```\n   *\n   * We can also take that property and pass it as an argument to the\n   * `UserGreeting` component we defined above:\n   *\n   * ```hbs\n   * <UserGreeting @greeting=\"Hello\" @name={{user.name}} />\n   * ```\n   *\n   * ## Arguments vs. Properties\n   *\n   * Remember, arguments are data that was given to your component by its parent\n   * component, and properties are data your component has defined for itself.\n   *\n   * You can tell the difference between arguments and properties in templates\n   * because arguments always start with an `@` sign (think \"A is for arguments\"):\n   *\n   * ```hbs\n   * {{@firstName}}\n   * ```\n   *\n   * We know that `@firstName` came from the parent component, not the current\n   * component, because it starts with `@` and is therefore an argument.\n   *\n   * On the other hand, if we see:\n   *\n   * ```hbs\n   * {{name}}\n   * ```\n   *\n   * We know that `name` is a property on the component. If we want to know where\n   * the data is coming from, we can go look at our component class to find out.\n   *\n   * Inside the component itself, arguments always show up inside the component's\n   * `args` property. For example, if `{{@firstName}}` is `Tom` in the template,\n   * inside the component `this.args.firstName` would also be `Tom`.\n   */\n  class BaseComponent {\n    /**\n     * Constructs a new component and assigns itself the passed properties. You\n     * should not construct new components yourself. Instead, Glimmer will\n     * instantiate new components automatically as it renders.\n     *\n     * @param owner\n     * @param args\n     */\n    constructor(owner, args) {\n      /**\n       * Named arguments passed to the component from its parent component.\n       * They can be accessed in JavaScript via `this.args.argumentName` and in the template via `@argumentName`.\n       *\n       * Say you have the following component, which will have two `args`, `firstName` and `lastName`:\n       *\n       * ```hbs\n       * <my-component @firstName=\"Arthur\" @lastName=\"Dent\" />\n       * ```\n       *\n       * If you needed to calculate `fullName` by combining both of them, you would do:\n       *\n       * ```ts\n       * didInsertElement() {\n       *   console.log(`Hi, my full name is ${this.args.firstName} ${this.args.lastName}`);\n       * }\n       * ```\n       *\n       * While in the template you could do:\n       *\n       * ```hbs\n       * <p>Welcome, {{@firstName}} {{@lastName}}!</p>\n       * ```\n       */\n      _defineProperty(this, \"args\", void 0);\n      if (true /* DEBUG */ && !(owner !== null && typeof owner === 'object' && ARGS_SET.has(args))) {\n        throw new Error(`You must pass both the owner and args to super() in your component: ${this.constructor.name}. You can pass them directly, or use ...arguments to pass all arguments through.`);\n      }\n      this.args = args;\n      (0, _owner.setOwner)(this, owner);\n    }\n    get isDestroying() {\n      return (0, _destroyables.isDestroying)(this);\n    }\n    get isDestroyed() {\n      return (0, _destroyables.isDestroyed)(this);\n    }\n\n    /**\n     * Called before the component has been removed from the DOM.\n     */\n    willDestroy() {}\n  }\n  _exports.default = BaseComponent;\n});","define(\"@glimmer/component/-private/destroyables\", [\"exports\", \"ember\"], function (_exports, _ember) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.isDestroying = _exports.isDestroyed = void 0;\n  const isDestroying = _exports.isDestroying = _ember.default._isDestroying;\n  const isDestroyed = _exports.isDestroyed = _ember.default._isDestroyed;\n});","define(\"@glimmer/component/-private/ember-component-manager\", [\"exports\", \"ember\", \"@ember/object\", \"@ember/application\", \"@ember/component\", \"@ember/runloop\", \"@glimmer/component/-private/base-component-manager\", \"@glimmer/component/-private/destroyables\"], function (_exports, _ember, _object, _application, _component, _runloop, _baseComponentManager, destroyables) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const {\n    setDestroyed,\n    setDestroying\n  } = destroyables;\n  const CAPABILITIES = true // @ts-ignore\n  // @ts-ignore\n  ? (0, _component.capabilities)('3.13', {\n    destructor: true,\n    asyncLifecycleCallbacks: false,\n    updateHook: false\n  }) : (0, _component.capabilities)('3.4', {\n    destructor: true,\n    asyncLifecycleCallbacks: false\n  });\n  const scheduledDestroyComponent = true ? undefined : (component, meta) => {\n    if (component.isDestroyed) {\n      return;\n    }\n    _ember.default.destroy(component);\n    meta.setSourceDestroyed();\n    setDestroyed(component);\n  };\n  const destroy = true ? _ember.default.destroy : component => {\n    if (component.isDestroying) {\n      return;\n    }\n    let meta = _ember.default.meta(component);\n    meta.setSourceDestroying();\n    setDestroying(component);\n    (0, _runloop.schedule)('actions', component, component.willDestroy);\n    (0, _runloop.schedule)('destroy', void 0, scheduledDestroyComponent, component, meta);\n  };\n  const registerDestructor = true ? _ember.default._registerDestructor : true ? _ember.default.__loader.require('@glimmer/runtime').registerDestructor : undefined;\n\n  /**\n   * This component manager runs in Ember.js environments and extends the base component manager to:\n   *\n   * 1. Properly destroy the component's associated `meta` data structure\n   * 2. Schedule destruction using Ember's runloop\n   */\n  class EmberGlimmerComponentManager extends (0, _baseComponentManager.default)(_application.setOwner, _application.getOwner, CAPABILITIES) {\n    createComponent(ComponentClass, args) {\n      const component = super.createComponent(ComponentClass, args);\n      if (true) {\n        registerDestructor(component, () => {\n          component.willDestroy();\n        });\n      }\n      return component;\n    }\n    destroyComponent(component) {\n      destroy(component);\n    }\n  }\n  // In Ember 3.12 and earlier, the updateComponent hook was mandatory.\n  // As of Ember 3.13, the `args` object is stable and each property of the\n  // object participates in the autotrack stack on its own. This means we do not\n  // need to set the `args` property on the component instance to invalidate\n  // tracked getters that rely on `args`, and therefore don't require the `updateComponent`\n  // hook at all.\n  if (!true) {\n    EmberGlimmerComponentManager.prototype.updateComponent = function updateComponent(component, args) {\n      let argSnapshot = args.named;\n      if (true /* DEBUG */) {\n        argSnapshot = Object.freeze(argSnapshot);\n      }\n      (0, _object.set)(component, 'args', argSnapshot);\n    };\n  }\n  var _default = _exports.default = EmberGlimmerComponentManager;\n});","define(\"@glimmer/component/-private/owner\", [\"exports\", \"@ember/application\"], function (_exports, _application) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"setOwner\", {\n    enumerable: true,\n    get: function () {\n      return _application.setOwner;\n    }\n  });\n});","define(\"@glimmer/component/index\", [\"exports\", \"@ember/component\", \"@glimmer/component/-private/ember-component-manager\", \"@glimmer/component/-private/component\"], function (_exports, _component, _emberComponentManager, _component2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  // Hax because the old version of `@types/ember__component` the `1.x` branch\n  // uses does not provide any types for `setComponentManager` *and* because we\n  // are using a very old version of `setComponentManager` for versions before\n  // Ember 3.8.\n\n  let GlimmerComponent = _component2.default;\n  if (true /* DEBUG */) {\n    // Add assertions against using Glimmer.js only APIs\n\n    // TODO: Add GlimmerComponent API docs link to these messages once API docs are live\n    function throwMethodUseError(methodName) {\n      throw new Error(`You attempted to define the '${methodName}' method on a Glimmer Component, but that lifecycle hook does not exist in Ember.js applications, it only exists in Glimmer.js apps. You can rename this method, and you can trigger it using a modifier such as {{did-insert}} from '@ember/render-modifiers': https://github.com/emberjs/ember-render-modifiers.`);\n    }\n    function throwPropertyUseError(propertyName) {\n      throw new Error(`You attempted to access the '${propertyName}' property on a Glimmer Component, but that property does not exist in Ember.js applications, it only exists in Glimmer.js apps. You define a class field with the same name on your component class and it will overwrite this error message, but it will not be used by the framework.`);\n    }\n    GlimmerComponent = class GlimmerDebugComponent extends GlimmerComponent {\n      constructor(owner, args) {\n        super(owner, args);\n        if (typeof this['didInsertElement'] === 'function') {\n          throwMethodUseError('didInsertElement');\n        }\n        if (typeof this['didUpdate'] === 'function') {\n          throwMethodUseError('didUpdate');\n        }\n      }\n    };\n    let proto = GlimmerComponent.prototype;\n    function defineErrorProp(proto, key, getterMethod) {\n      Object.defineProperty(proto, key, {\n        get: () => getterMethod(key),\n        set(value) {\n          Object.defineProperty(this, key, {\n            value\n          });\n        }\n      });\n    }\n\n    // Methods should still throw whenever they are accessed\n    defineErrorProp(proto, 'bounds', throwPropertyUseError);\n    defineErrorProp(proto, 'element', throwPropertyUseError);\n    defineErrorProp(proto, 'debugName', throwPropertyUseError);\n  }\n  if (true) {\n    (0, _component.setComponentManager)(owner => {\n      return new _emberComponentManager.default(owner);\n    }, GlimmerComponent);\n  } else {\n    (0, _component.setComponentManager)('glimmer', GlimmerComponent);\n  }\n  var _default = _exports.default = GlimmerComponent;\n});","define(\"@sentry/ember/index\", [\"exports\", \"@ember/debug\", \"@ember/runloop\", \"@sentry/browser\", \"@sentry/core\", \"@sentry/utils\", \"ember\", \"@embroider/macros/runtime\"], function (_exports, _debug, _runloop, _browser, _core, _utils, _ember, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  var _exportNames = {\n    init: true,\n    getActiveTransaction: true,\n    instrumentRoutePerformance: true,\n    InitSentryForEmber: true\n  };\n  _exports.getActiveTransaction = _exports.InitSentryForEmber = void 0;\n  _exports.init = init;\n  _exports.instrumentRoutePerformance = void 0;\n  var Sentry = _browser;\n  Object.keys(_browser).forEach(function (key) {\n    if (key === \"default\" || key === \"__esModule\") return;\n    if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;\n    if (key in _exports && _exports[key] === _browser[key]) return;\n    Object.defineProperty(_exports, key, {\n      enumerable: true,\n      get: function () {\n        return _browser[key];\n      }\n    });\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember/debug\",0,\"@ember/runloop\",0,\"@embroider/macros\",0,\"@sentry/browser\",0,\"@sentry/browser\",0,\"@sentry/core\",0,\"@sentry/utils\",0,\"ember\",0,\"@sentry/browser\"eaimeta@70e063a35619d71f\n  function _getSentryInitConfig() {\n    const _global = _utils.GLOBAL_OBJ;\n    _global.__sentryEmberConfig = _global.__sentryEmberConfig ?? {};\n    return _global.__sentryEmberConfig;\n  }\n\n  /**\n   * Initialize the Sentry SDK for Ember.\n   */\n  function init(_runtimeConfig) {\n    const environmentConfig = (0, _runtime.config)(\"/Users/eddyang/Projects/bigordr-app-wip/node_modules/@sentry/ember\").sentryConfig;\n    (true && !(environmentConfig) && (0, _debug.assert)('Missing configuration.', environmentConfig));\n    (true && !(environmentConfig.sentry || _runtimeConfig) && (0, _debug.assert)('Missing configuration for Sentry.', environmentConfig.sentry || _runtimeConfig));\n    if (!environmentConfig.sentry) {\n      // If environment config is not specified but the above assertion passes, use runtime config.\n      environmentConfig.sentry = {\n        ..._runtimeConfig\n      };\n    }\n\n    // Merge runtime config into environment config, preferring runtime.\n    Object.assign(environmentConfig.sentry, _runtimeConfig || {});\n    const initConfig = Object.assign({}, environmentConfig.sentry);\n    (0, _core.applySdkMetadata)(initConfig, 'ember');\n\n    // Persist Sentry init options so they are identical when performance initializers call init again.\n    const sentryInitConfig = _getSentryInitConfig();\n    Object.assign(sentryInitConfig, initConfig);\n    Sentry.init(initConfig);\n    {\n      if (environmentConfig.ignoreEmberOnErrorWarning) {\n        return;\n      }\n      (0, _runloop.next)(null, function () {\n        (true && (0, _debug.warn)('Ember.onerror found. Using Ember.onerror can hide some errors (such as flushed runloop errors) from Sentry. Use Sentry.captureException to capture errors within Ember.onError or remove it to have errors caught by Sentry directly. This error can be silenced via addon configuration.', !_ember.default.onerror, {\n          id: '@sentry/ember.ember-onerror-detected'\n        }));\n      });\n    }\n  }\n\n  /**\n   * Grabs active transaction off scope.\n   *\n   * @deprecated You should not rely on the transaction, but just use `startSpan()` APIs instead.\n   */\n  const getActiveTransaction = () => {\n    // eslint-disable-next-line deprecation/deprecation\n    return Sentry.getCurrentScope().getTransaction();\n  };\n  _exports.getActiveTransaction = getActiveTransaction;\n  const instrumentRoutePerformance = BaseRoute => {\n    // eslint-disable-next-line @typescript-eslint/no-explicit-any\n    const instrumentFunction = async (op, description, fn, args) => {\n      return (0, _browser.startSpan)({\n        attributes: {\n          [_core.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]: 'custom',\n          [_core.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.ui.ember'\n        },\n        op,\n        name: description,\n        onlyIfParent: true\n      }, () => {\n        return fn(...args);\n      });\n    };\n    const routeName = BaseRoute.name;\n    return {\n      // @ts-expect-error TS2545 We do not need to redefine a constructor here\n      [routeName]: class extends BaseRoute {\n        beforeModel(...args) {\n          return instrumentFunction('ui.ember.route.before_model', this.fullRouteName, super.beforeModel.bind(this), args);\n        }\n        async model(...args) {\n          return instrumentFunction('ui.ember.route.model', this.fullRouteName, super.model.bind(this), args);\n        }\n        afterModel(...args) {\n          return instrumentFunction('ui.ember.route.after_model', this.fullRouteName, super.afterModel.bind(this), args);\n        }\n        setupController(...args) {\n          return instrumentFunction('ui.ember.route.setup_controller', this.fullRouteName, super.setupController.bind(this), args);\n        }\n      }\n    }[routeName];\n  };\n  _exports.instrumentRoutePerformance = instrumentRoutePerformance;\n  /**\n   * @deprecated Use `Sentry.init()` instead.\n   */\n  const InitSentryForEmber = _exports.InitSentryForEmber = init;\n});","define(\"@sentry/ember/instance-initializers/sentry-performance\", [\"exports\", \"@ember/instrumentation\", \"@ember/runloop\", \"@sentry/browser\", \"@sentry/utils\", \"@embroider/macros/runtime\"], function (_exports, _instrumentation, _runloop, _browser, _utils, _runtime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports._instrumentEmberRouter = _instrumentEmberRouter;\n  _exports.default = void 0;\n  _exports.initialize = initialize;\n  _exports.instrumentForPerformance = instrumentForPerformance;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/instrumentation\",0,\"@ember/runloop\",0,\"@embroider/macros\",0,\"@sentry/browser\",0,\"@sentry/utils\",1,\"@sentry/browser\"eaimeta@70e063a35619d71f\n  /* eslint-disable max-lines */\n  function getSentryConfig() {\n    const _global = _utils.GLOBAL_OBJ;\n    _global.__sentryEmberConfig = _global.__sentryEmberConfig ?? {};\n    const environmentConfig = (0, _runtime.config)(\"/Users/eddyang/Projects/bigordr-app-wip/node_modules/@sentry/ember\").sentryConfig;\n    if (!environmentConfig.sentry) {\n      environmentConfig.sentry = {\n        browserTracingOptions: {}\n      };\n    }\n    Object.assign(environmentConfig.sentry, _global.__sentryEmberConfig);\n    return environmentConfig;\n  }\n  function initialize(appInstance) {\n    // Disable in fastboot - we only want to run Sentry client-side\n    const fastboot = appInstance.lookup('service:fastboot');\n    if (fastboot?.isFastBoot) {\n      return;\n    }\n    const config = getSentryConfig();\n    if (config['disablePerformance']) {\n      return;\n    }\n    const performancePromise = instrumentForPerformance(appInstance);\n    if ((0, _runtime.macroCondition)((0, _runtime.isTesting)())) {\n      window._sentryPerformanceLoad = performancePromise;\n    }\n  }\n  function getBackburner() {\n    if (_runloop._backburner) {\n      return _runloop._backburner;\n    }\n    if (_runloop.run.backburner) {\n      return _runloop.run.backburner;\n    }\n    return {\n      on() {\n        // noop\n      },\n      off() {\n        // noop\n      }\n    };\n  }\n  function getTransitionInformation(transition, router) {\n    const fromRoute = transition?.from?.name;\n    const toRoute = transition?.to?.name || router.currentRouteName;\n    return {\n      fromRoute,\n      toRoute\n    };\n  }\n  function getLocationURL(location) {\n    if (!location || !location.getURL || !location.formatURL) {\n      return '';\n    }\n    const url = location.formatURL(location.getURL());\n    if (location.implementation === 'hash') {\n      return `${location.rootURL}${url}`;\n    }\n    return url;\n  }\n  function _instrumentEmberRouter(routerService, routerMain, config, startBrowserTracingPageLoadSpan, startBrowserTracingNavigationSpan) {\n    const {\n      disableRunloopPerformance\n    } = config;\n    const location = routerMain.location;\n    let activeRootSpan;\n    let transitionSpan;\n\n    // Maintaining backwards compatibility with config.browserTracingOptions, but passing it with Sentry options is preferred.\n    const browserTracingOptions = config.browserTracingOptions || config.sentry.browserTracingOptions || {};\n    const url = getLocationURL(location);\n    const client = (0, _browser.getClient)();\n    if (!client) {\n      return;\n    }\n    if (url && browserTracingOptions.startTransactionOnPageLoad !== false && browserTracingOptions.instrumentPageLoad !== false) {\n      const routeInfo = routerService.recognize(url);\n      activeRootSpan = startBrowserTracingPageLoadSpan(client, {\n        name: `route:${routeInfo.name}`,\n        origin: 'auto.pageload.ember',\n        attributes: {\n          [_browser.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]: 'route'\n        },\n        tags: {\n          url,\n          toRoute: routeInfo.name,\n          'routing.instrumentation': '@sentry/ember'\n        }\n      });\n    }\n    const finishActiveTransaction = (_, nextInstance) => {\n      if (nextInstance) {\n        return;\n      }\n      activeRootSpan?.end();\n      getBackburner().off('end', finishActiveTransaction);\n    };\n    if (browserTracingOptions.startTransactionOnLocationChange === false && browserTracingOptions.instrumentNavigation === false) {\n      return;\n    }\n    routerService.on('routeWillChange', transition => {\n      const {\n        fromRoute,\n        toRoute\n      } = getTransitionInformation(transition, routerService);\n\n      // We want to ignore loading && error routes\n      if (transitionIsIntermediate(transition)) {\n        return;\n      }\n      activeRootSpan?.end();\n      activeRootSpan = startBrowserTracingNavigationSpan(client, {\n        name: `route:${toRoute}`,\n        origin: 'auto.navigation.ember',\n        attributes: {\n          [_browser.SEMANTIC_ATTRIBUTE_SENTRY_SOURCE]: 'route'\n        },\n        tags: {\n          fromRoute,\n          toRoute,\n          'routing.instrumentation': '@sentry/ember'\n        }\n      });\n      transitionSpan = (0, _browser.startInactiveSpan)({\n        attributes: {\n          [_browser.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.ui.ember'\n        },\n        op: 'ui.ember.transition',\n        name: `route:${fromRoute} -> route:${toRoute}`,\n        onlyIfParent: true\n      });\n    });\n    routerService.on('routeDidChange', transition => {\n      if (!transitionSpan || !activeRootSpan || transitionIsIntermediate(transition)) {\n        return;\n      }\n      transitionSpan.end();\n      if (disableRunloopPerformance) {\n        activeRootSpan.end();\n        return;\n      }\n      getBackburner().on('end', finishActiveTransaction);\n    });\n  }\n  function _instrumentEmberRunloop(config) {\n    const {\n      disableRunloopPerformance,\n      minimumRunloopQueueDuration\n    } = config;\n    if (disableRunloopPerformance) {\n      return;\n    }\n    let currentQueueStart;\n    let currentQueueSpan;\n    const instrumentedEmberQueues = ['actions', 'routerTransitions', 'render', 'afterRender', 'destroy'];\n    getBackburner().on('begin', (_, previousInstance) => {\n      if (previousInstance) {\n        return;\n      }\n      const activeSpan = (0, _browser.getActiveSpan)();\n      if (!activeSpan) {\n        return;\n      }\n      if (currentQueueSpan) {\n        currentQueueSpan.end();\n      }\n      currentQueueStart = (0, _utils.timestampInSeconds)();\n      const processQueue = queue => {\n        // Process this queue using the end of the previous queue.\n        if (currentQueueStart) {\n          const now = (0, _utils.timestampInSeconds)();\n          const minQueueDuration = minimumRunloopQueueDuration ?? 5;\n          if ((now - currentQueueStart) * 1000 >= minQueueDuration) {\n            (0, _browser.startInactiveSpan)({\n              attributes: {\n                [_browser.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.ui.ember'\n              },\n              name: 'runloop',\n              op: `ui.ember.runloop.${queue}`,\n              startTimestamp: currentQueueStart,\n              onlyIfParent: true\n            })?.end(now);\n          }\n          currentQueueStart = undefined;\n        }\n\n        // Setup for next queue\n\n        const stillActiveSpan = (0, _browser.getActiveSpan)();\n        if (!stillActiveSpan) {\n          return;\n        }\n        currentQueueStart = (0, _utils.timestampInSeconds)();\n      };\n      instrumentedEmberQueues.forEach(queue => {\n        (0, _runloop.scheduleOnce)(queue, null, processQueue, queue);\n      });\n    });\n    getBackburner().on('end', (_, nextInstance) => {\n      if (nextInstance) {\n        return;\n      }\n      if (currentQueueSpan) {\n        currentQueueSpan.end();\n        currentQueueSpan = undefined;\n      }\n    });\n  }\n  function processComponentRenderBefore(payload, beforeEntries) {\n    const info = {\n      payload,\n      now: (0, _utils.timestampInSeconds)()\n    };\n    beforeEntries[payload.object] = info;\n  }\n  function processComponentRenderAfter(payload, beforeEntries, op, minComponentDuration) {\n    const begin = beforeEntries[payload.object];\n    if (!begin) {\n      return;\n    }\n    const now = (0, _utils.timestampInSeconds)();\n    const componentRenderDuration = now - begin.now;\n    if (componentRenderDuration * 1000 >= minComponentDuration) {\n      (0, _browser.startInactiveSpan)({\n        name: payload.containerKey || payload.object,\n        op,\n        origin: 'auto.ui.ember',\n        startTimestamp: begin.now,\n        onlyIfParent: true\n      })?.end(now);\n    }\n  }\n  function _instrumentComponents(config) {\n    const {\n      disableInstrumentComponents,\n      minimumComponentRenderDuration,\n      enableComponentDefinitions\n    } = config;\n    if (disableInstrumentComponents) {\n      return;\n    }\n    const minComponentDuration = minimumComponentRenderDuration ?? 2;\n    const beforeEntries = {};\n    const beforeComponentDefinitionEntries = {};\n    function _subscribeToRenderEvents() {\n      (0, _instrumentation.subscribe)('render.component', {\n        before(_name, _timestamp, payload) {\n          processComponentRenderBefore(payload, beforeEntries);\n        },\n        after(_name, _timestamp, payload, _beganIndex) {\n          processComponentRenderAfter(payload, beforeEntries, 'ui.ember.component.render', minComponentDuration);\n        }\n      });\n      if (enableComponentDefinitions) {\n        (0, _instrumentation.subscribe)('render.getComponentDefinition', {\n          before(_name, _timestamp, payload) {\n            processComponentRenderBefore(payload, beforeComponentDefinitionEntries);\n          },\n          after(_name, _timestamp, payload, _beganIndex) {\n            processComponentRenderAfter(payload, beforeComponentDefinitionEntries, 'ui.ember.component.definition', 0);\n          }\n        });\n      }\n    }\n    _subscribeToRenderEvents();\n  }\n  function _instrumentInitialLoad(config) {\n    const startName = '@sentry/ember:initial-load-start';\n    const endName = '@sentry/ember:initial-load-end';\n    const {\n      HAS_PERFORMANCE,\n      HAS_PERFORMANCE_TIMING\n    } = _hasPerformanceSupport();\n    if (!HAS_PERFORMANCE) {\n      return;\n    }\n    const {\n      performance\n    } = window;\n    if (config.disableInitialLoadInstrumentation) {\n      performance.clearMarks(startName);\n      performance.clearMarks(endName);\n      return;\n    }\n\n    // Split performance check in two so clearMarks still happens even if timeOrigin isn't available.\n    if (!HAS_PERFORMANCE_TIMING || _utils.browserPerformanceTimeOrigin === undefined) {\n      return;\n    }\n    const measureName = '@sentry/ember:initial-load';\n    const startMarkExists = performance.getEntriesByName(startName).length > 0;\n    const endMarkExists = performance.getEntriesByName(endName).length > 0;\n    if (!startMarkExists || !endMarkExists) {\n      return;\n    }\n    performance.measure(measureName, startName, endName);\n    const measures = performance.getEntriesByName(measureName);\n    // eslint-disable-next-line @typescript-eslint/no-non-null-assertion\n    const measure = measures[0];\n    const startTimestamp = (measure.startTime + _utils.browserPerformanceTimeOrigin) / 1000;\n    const endTimestamp = startTimestamp + measure.duration / 1000;\n    (0, _browser.startInactiveSpan)({\n      op: 'ui.ember.init',\n      name: 'init',\n      attributes: {\n        [_browser.SEMANTIC_ATTRIBUTE_SENTRY_ORIGIN]: 'auto.ui.ember'\n      },\n      onlyIfParent: true,\n      startTimestamp\n    })?.end(endTimestamp);\n    performance.clearMarks(startName);\n    performance.clearMarks(endName);\n    performance.clearMeasures(measureName);\n  }\n  function _hasPerformanceSupport() {\n    // TS says that all of these methods are always available, but some of them may not be supported in older browsers\n    // So we \"pretend\" they are all optional in order to be able to check this properly without TS complaining\n    const _performance = window.performance;\n    const HAS_PERFORMANCE = Boolean(_performance && _performance.clearMarks && _performance.clearMeasures);\n    const HAS_PERFORMANCE_TIMING = Boolean(_performance.measure && _performance.getEntriesByName && _utils.browserPerformanceTimeOrigin !== undefined);\n    return {\n      HAS_PERFORMANCE,\n      HAS_PERFORMANCE_TIMING\n    };\n  }\n  async function instrumentForPerformance(appInstance) {\n    const config = getSentryConfig();\n    // Maintaining backwards compatibility with config.browserTracingOptions, but passing it with Sentry options is preferred.\n    const browserTracingOptions = config.browserTracingOptions || config.sentry.browserTracingOptions || {};\n    const {\n      browserTracingIntegration,\n      startBrowserTracingNavigationSpan,\n      startBrowserTracingPageLoadSpan\n    } = await emberAutoImportDynamic(\"@sentry/browser\");\n    const idleTimeout = config.transitionTimeout || 5000;\n    const browserTracing = browserTracingIntegration({\n      idleTimeout,\n      ...browserTracingOptions,\n      instrumentNavigation: false,\n      instrumentPageLoad: false\n    });\n    const client = (0, _browser.getClient)();\n    const isAlreadyInitialized = (0, _runtime.macroCondition)((0, _runtime.isTesting)()) ? !!client?.getIntegrationByName('BrowserTracing') : false;\n    if (client && client.addIntegration) {\n      client.addIntegration(browserTracing);\n    }\n\n    // We _always_ call this, as it triggers the page load & navigation spans\n    _instrumentNavigation(appInstance, config, startBrowserTracingPageLoadSpan, startBrowserTracingNavigationSpan);\n\n    // Skip instrumenting the stuff below again in tests, as these are not reset between tests\n    if (isAlreadyInitialized) {\n      return;\n    }\n    _instrumentEmberRunloop(config);\n    _instrumentComponents(config);\n    _instrumentInitialLoad(config);\n  }\n  function _instrumentNavigation(appInstance, config, startBrowserTracingPageLoadSpan, startBrowserTracingNavigationSpan) {\n    // eslint-disable-next-line ember/no-private-routing-service\n    const routerMain = appInstance.lookup('router:main');\n    let routerService = appInstance.lookup('service:router');\n    if (routerService.externalRouter) {\n      // Using ember-engines-router-service in an engine.\n      routerService = routerService.externalRouter;\n    }\n    if (routerService._hasMountedSentryPerformanceRouting) {\n      // Routing listens to route changes on the main router, and should not be initialized multiple times per page.\n      return;\n    }\n    if (!routerService.recognize) {\n      // Router is missing critical functionality to limit cardinality of the transaction names.\n      return;\n    }\n    routerService._hasMountedSentryPerformanceRouting = true;\n    _instrumentEmberRouter(routerService, routerMain, config, startBrowserTracingPageLoadSpan, startBrowserTracingNavigationSpan);\n  }\n  var _default = _exports.default = {\n    initialize\n  };\n  function transitionIsIntermediate(transition) {\n    //  We want to use ignore, as this may actually be defined on new versions\n    // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n    // @ts-ignore This actually exists on newer versions\n    const isIntermediate = transition.isIntermediate;\n    if (typeof isIntermediate === 'boolean') {\n      return isIntermediate;\n    }\n\n    // For versions without this, we look if the route is a `.loading` or `.error` route\n    // This is not perfect and may false-positive in some cases, but it's the best we can do\n    return transition.to?.localName === 'loading' || transition.to?.localName === 'error';\n  }\n});","define(\"@sentry/ember/types\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  0; //eaimeta@70e063a35619d71feaimeta@70e063a35619d71f\n});","define(\"ember-cached-decorator-polyfill/index\", [\"exports\", \"@glimmer/tracking/primitives/cache\", \"@ember/debug\"], function (_exports, _cache, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.cached = cached;\n  function cached(...args) {\n    const [target, key, descriptor] = args;\n\n    // Error on `@cached()`, `@cached(...args)`, and `@cached propName = value;`\n    (true && !(target !== undefined) && (0, _debug.assert)('You attempted to use @cached(), which is not necessary nor supported. Remove the parentheses and you will be good to go!', target !== undefined));\n    (true && !(typeof target === 'object' && typeof key === 'string' && typeof descriptor === 'object' && args.length === 3) && (0, _debug.assert)(`You attempted to use @cached on with ${args.length > 1 ? 'arguments' : 'an argument'} ( @cached(${args.map(d => `'${d}'`).join(', ')}), which is not supported. Dependencies are automatically tracked, so you can just use ${'`@cached`'}`, typeof target === 'object' && typeof key === 'string' && typeof descriptor === 'object' && args.length === 3));\n    (true && !(typeof descriptor.get == 'function') && (0, _debug.assert)(`The @cached decorator must be applied to getters. '${key}' is not a getter.`, typeof descriptor.get == 'function'));\n    const caches = new WeakMap();\n    const getter = descriptor.get;\n    descriptor.get = function () {\n      if (!caches.has(this)) caches.set(this, (0, _cache.createCache)(getter.bind(this)));\n      return (0, _cache.getValue)(caches.get(this));\n    };\n  }\n});","define(\"ember-cli-app-version/initializer-factory\", [\"exports\", \"ember\", \"@ember/string\"], function (_exports, _ember, _string) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = initializerFactory;\n  const {\n    libraries\n  } = _ember.default;\n  function initializerFactory(name, version) {\n    let registered = false;\n    return function () {\n      if (!registered && name && version) {\n        let appName = (0, _string.classify)(name);\n        libraries.register(appName, version);\n        registered = true;\n      }\n    };\n  }\n});","define(\"ember-cli-app-version/utils/regexp\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.versionRegExp = _exports.versionExtendedRegExp = _exports.shaRegExp = void 0;\n  const versionRegExp = _exports.versionRegExp = /\\d+[.]\\d+[.]\\d+/; // Match any number of 3 sections of digits separated by .\n  const versionExtendedRegExp = _exports.versionExtendedRegExp = /\\d+[.]\\d+[.]\\d+-[a-z]*([.]\\d+)?/; // Match the above but also hyphen followed by any number of lowercase letters, then optionally period and digits\n  const shaRegExp = _exports.shaRegExp = /[a-z\\d]{8}$/; // Match 8 lowercase letters and digits, at the end of the string only (to avoid matching with version extended part)\n});","define(\"ember-cli-chart/components/ember-chart\", [\"exports\", \"@ember/component\"], function (_exports, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /* global Chart */\n  var _default = _exports.default = _component.default.extend({\n    tagName: 'canvas',\n    attributeBindings: ['width', 'height'],\n    init() {\n      this._super(...arguments);\n      this.plugins = this.plugins || [];\n    },\n    didInsertElement() {\n      this._super(...arguments);\n      let context = this.get('element');\n      let data = this.get('data');\n      let type = this.get('type');\n      let options = this.get('options');\n      let plugins = this.get('plugins');\n      let chart = new Chart(context, {\n        type: type,\n        data: data,\n        options: options,\n        plugins: plugins\n      });\n      this.set('chart', chart);\n    },\n    willDestroyElement() {\n      this._super(...arguments);\n      this.get('chart').destroy();\n    },\n    didUpdateAttrs() {\n      this._super(...arguments);\n      this.updateChart();\n    },\n    updateChart() {\n      let chart = this.get('chart');\n      let data = this.get('data');\n      let options = this.get('options');\n      let animate = this.get('animate');\n      if (chart) {\n        chart.data = data;\n        chart.options = options;\n        if (animate) {\n          chart.update();\n        } else {\n          chart.update(0);\n        }\n      }\n    }\n  });\n});","define(\"ember-concurrency-decorators/index\", [\"exports\", \"@ember-decorators/utils/decorator\", \"@ember/debug\", \"ember-concurrency\", \"ember-concurrency-decorators/last-value\"], function (_exports, _decorator, _debug, _emberConcurrency, _lastValue) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.keepLatestTaskGroup = _exports.keepLatestTask = _exports.enqueueTaskGroup = _exports.enqueueTask = _exports.dropTaskGroup = _exports.dropTask = void 0;\n  Object.defineProperty(_exports, \"lastValue\", {\n    enumerable: true,\n    get: function () {\n      return _lastValue.default;\n    }\n  });\n  _exports.taskGroup = _exports.task = _exports.restartableTaskGroup = _exports.restartableTask = void 0;\n  /**\n   * This utility function assures compatibility with the Ember object model style\n   * and initializer syntax required by Babel 6.\n   *\n   * For native classes using the method shorthand style (TypeScript & Babel 7),\n   * this function will access the `value`. For legacy code it will get the value\n   * from the initializer.\n   *\n   * // Ember object model\n   * export default EmberObject.extend({\n   *   @task\n   *   someTask: function*() {}\n   * });\n   *\n   * // Class syntax with initializers\n   * export default class extends EmberObject {\n   *   @task\n   *   someTask = function*() {}\n   * }\n   *\n   * @param desc\n   * @returns {object|null}\n   * @private\n   */\n  function extractValue(desc) {\n    if (typeof desc.initializer === 'function') {\n      return desc.initializer.call(null);\n    }\n    if (typeof desc.get === 'function') {\n      return desc.get.call(null);\n    }\n    if (desc.value) {\n      return desc.value;\n    }\n  }\n\n  /**\n   * Takes a `PropertyDescriptor` and turns it into an ember-concurrency\n   * `TaskProperty`.\n   *\n   * @param desc\n   * @returns {TaskProperty}\n   * @private\n   */\n  function createTaskFromDescriptor(desc) {\n    const value = extractValue(desc);\n    (true && !(typeof value === 'function' || typeof value === 'object' && typeof value.perform === 'function') && (0, _debug.assert)('ember-concurrency-decorators: Can only decorate a generator function as a task or an object with a generator method `perform` as an encapsulated task.', typeof value === 'function' || typeof value === 'object' && typeof value.perform === 'function'));\n    return (0, _emberConcurrency.task)(value);\n  }\n\n  /**\n   * Takes a `PropertyDescriptor` and turns it into an ember-concurrency\n   * `TaskGroupProperty`.\n   *\n   * @param desc\n   * @returns {TaskGroupProperty}\n   * @private\n   */\n  function createTaskGroupFromDescriptor(_desc) {\n    return (0, _emberConcurrency.taskGroup)();\n  }\n\n  /**\n   * Applies the `options` provided using the chaining API on the given `task`.\n   *\n   * @param options\n   * @param {TaskProperty|TaskGroupProperty} task\n   * @private\n   */\n\n  function applyOptions(options, task) {\n    return Object.entries(options).reduce((taskProperty, [key, value]) => {\n      (true && !(typeof taskProperty[key] === 'function') && (0, _debug.assert)(`ember-concurrency-decorators: Option '${key}' is not a valid function`, typeof taskProperty[key] === 'function'));\n      if (value === true) {\n        return taskProperty[key]();\n      }\n      return taskProperty[key](value);\n    }, task\n    // The CP decorator gets executed in `createDecorator`\n    );\n  }\n\n  /**\n   * Creates a decorator function that transforms the decorated property using the\n   * given `propertyCreator` and accepts an optional user provided options hash,\n   * that that will be merged with the `baseOptions`.\n   *\n   * @param {function} propertyCreator\n   * @param {object} [baseOptions={}]\n   * @private\n   */\n  const createDecorator = (propertyCreator, baseOptions = {}) => (0, _decorator.decoratorWithParams)((target, key, desc, [userOptions] = []) => {\n    const {\n      initializer,\n      value\n    } = desc;\n    delete desc.initializer;\n    delete desc.value;\n    return applyOptions({\n      ...baseOptions,\n      ...userOptions\n    }, propertyCreator({\n      ...desc,\n      initializer,\n      value\n    }))(target, key, desc);\n  });\n\n  /**\n   * Turns the decorated generator function into a task.\n   *\n   * Optionally takes a hash of options that will be applied as modifiers to the\n   * task. For instance `maxConcurrency`, `on`, `group` or `keepLatest`.\n   *\n   * ```js\n   * import EmberObject from '@ember/object';\n   * import { task } from 'ember-concurrency-decorators';\n   *\n   * class extends EmberObject {\n   *   @task\n   *   *plainTask() {}\n   *\n   *   @task({ maxConcurrency: 5, keepLatest: true, cancelOn: 'click' })\n   *   *taskWithModifiers() {}\n   * }\n   * ```\n   *\n   * @function\n   * @param {object?} [options={}]\n   * @return {TaskProperty}\n   */\n  const task = _exports.task = createDecorator(createTaskFromDescriptor);\n\n  /**\n   * Turns the decorated generator function into a task and applies the\n   * `restartable` modifier.\n   *\n   * Optionally takes a hash of further options that will be applied as modifiers\n   * to the task.\n   *\n   * @function\n   * @param {object?} [options={}]\n   * @return {TaskProperty}\n   */\n  const restartableTask = _exports.restartableTask = createDecorator(createTaskFromDescriptor, {\n    restartable: true\n  });\n\n  /**\n   * Turns the decorated generator function into a task and applies the\n   * `drop` modifier.\n   *\n   * Optionally takes a hash of further options that will be applied as modifiers\n   * to the task.\n   *\n   * @function\n   * @param {object?} [options={}]\n   * @return {TaskProperty}\n   */\n  const dropTask = _exports.dropTask = createDecorator(createTaskFromDescriptor, {\n    drop: true\n  });\n\n  /**\n   * Turns the decorated generator function into a task and applies the\n   * `keepLatest` modifier.\n   *\n   * Optionally takes a hash of further options that will be applied as modifiers\n   * to the task.\n   *\n   * @function\n   * @param {object?} [options={}]\n   * @return {TaskProperty}\n   */\n  const keepLatestTask = _exports.keepLatestTask = createDecorator(createTaskFromDescriptor, {\n    keepLatest: true\n  });\n\n  /**\n   * Turns the decorated generator function into a task and applies the\n   * `enqueue` modifier.\n   *\n   * Optionally takes a hash of further options that will be applied as modifiers\n   * to the task.\n   *\n   * @function\n   * @param {object?} [options={}]\n   * @return {TaskProperty}\n   */\n  const enqueueTask = _exports.enqueueTask = createDecorator(createTaskFromDescriptor, {\n    enqueue: true\n  });\n\n  /**\n   * Turns the decorated property into a task group.\n   *\n   * Optionally takes a hash of options that will be applied as modifiers to the\n   * task group. For instance `maxConcurrency` or `keepLatest`.\n   *\n   * ```js\n   * import EmberObject from '@ember/object';\n   * import { task taskGroup } from 'ember-concurrency-decorators';\n   *\n   * class extends EmberObject {\n   *   @taskGroup({ maxConcurrency: 5 }) someTaskGroup;\n   *\n   *   @task({ group: 'someTaskGroup' })\n   *   *someTask() {}\n   *\n   *   @task({ group: 'someTaskGroup' })\n   *   *anotherTask() {}\n   * }\n   * ```\n   *\n   * @function\n   * @param {object?} [options={}]\n   * @return {TaskGroupProperty}\n   */\n  const taskGroup = _exports.taskGroup = createDecorator(createTaskGroupFromDescriptor);\n\n  /**\n   * Turns the decorated property into a task group and applies the\n   * `restartable` modifier.\n   *\n   * Optionally takes a hash of further options that will be applied as modifiers\n   * to the task group.\n   *\n   * @function\n   * @param {object?} [options={}]\n   * @return {TaskGroupProperty}\n   */\n  const restartableTaskGroup = _exports.restartableTaskGroup = createDecorator(createTaskGroupFromDescriptor, {\n    restartable: true\n  });\n\n  /**\n   * Turns the decorated property into a task group and applies the\n   * `drop` modifier.\n   *\n   * Optionally takes a hash of further options that will be applied as modifiers\n   * to the task group.\n   *\n   * @function\n   * @param {object?} [options={}]\n   * @return {TaskGroupProperty}\n   */\n  const dropTaskGroup = _exports.dropTaskGroup = createDecorator(createTaskGroupFromDescriptor, {\n    drop: true\n  });\n\n  /**\n   * Turns the decorated property into a task group and applies the\n   * `keepLatest` modifier.\n   *\n   * Optionally takes a hash of further options that will be applied as modifiers\n   * to the task group.\n   *\n   * @function\n   * @param {object?} [options={}]\n   * @return {TaskGroupProperty}\n   */\n  const keepLatestTaskGroup = _exports.keepLatestTaskGroup = createDecorator(createTaskGroupFromDescriptor, {\n    keepLatest: true\n  });\n\n  /**\n   * Turns the decorated property into a task group and applies the\n   * `enqueue` modifier.\n   *\n   * Optionally takes a hash of further options that will be applied as modifiers\n   * to the task group.\n   *\n   * @function\n   * @param {object?} [options={}]\n   * @return {TaskGroupProperty}\n   */\n  const enqueueTaskGroup = _exports.enqueueTaskGroup = createDecorator(createTaskGroupFromDescriptor, {\n    enqueue: true\n  });\n});","define(\"ember-concurrency-decorators/last-value\", [\"exports\", \"@ember-decorators/utils/decorator\", \"@ember/debug\", \"@ember/object\"], function (_exports, _decorator, _debug, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * This decorator allows you to alias a property to the result of a task. You can also provide a default value to use before the task has completed.\n   *\n   * ```js\n   * import Component from '@ember/component';\n   * import { task } from 'ember-concurrency-decorators';\n   * import { lastValue } from 'ember-concurrency-decorators';\n   *\n   * export default class ExampleComponent extends Component {\n   *   @task\n   *   someTask = function*() {\n   *     // ...\n   *   };\n   *\n   *   @lastValue('someTask')\n   *   someTaskValue;\n   *\n   *   @lastValue('someTask')\n   *   someTaskValueWithDefault = 'A default value';\n   * }\n   * ```\n   *\n   * @function\n   * @param {string} taskName the name of the task to read a value from\n   */\n  // eslint-disable-next-line func-names\n  var _default = _exports.default = (0, _decorator.decoratorWithRequiredParams)(function lastValue(target, key, desc, [taskName]) {\n    (true && !(typeof taskName === 'string') && (0, _debug.assert)(`ember-concurrency-decorators: @lastValue expects a task name as the first parameter.`, typeof taskName === 'string'));\n    const {\n      initializer\n    } = desc;\n    delete desc.initializer;\n    const cp = (0, _object.computed)(`${taskName}.lastSuccessful`, function () {\n      const lastInstance = (0, _object.get)(this, `${taskName}.lastSuccessful`);\n      if (lastInstance) {\n        return (0, _object.get)(lastInstance, 'value');\n      }\n      if (initializer) {\n        return initializer.call(this);\n      }\n    });\n\n    // @ts-ignore\n    return cp(target, key, desc);\n  });\n});","define(\"ember-concurrency/-buffer-policy\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.enqueueTasksPolicy = _exports.dropQueuedTasksPolicy = _exports.dropButKeepLatestPolicy = _exports.cancelOngoingTasksPolicy = void 0;\n  const saturateActiveQueue = scheduler => {\n    while (scheduler.activeTaskInstances.length < scheduler.maxConcurrency) {\n      let taskInstance = scheduler.queuedTaskInstances.shift();\n      if (!taskInstance) {\n        break;\n      }\n      scheduler.activeTaskInstances.push(taskInstance);\n    }\n  };\n  function numPerformSlots(scheduler) {\n    return scheduler.maxConcurrency - scheduler.queuedTaskInstances.length - scheduler.activeTaskInstances.length;\n  }\n  const enqueueTasksPolicy = _exports.enqueueTasksPolicy = {\n    requiresUnboundedConcurrency: true,\n    schedule(scheduler) {\n      // [a,b,_] [c,d,e,f] becomes\n      // [a,b,c] [d,e,f]\n      saturateActiveQueue(scheduler);\n    },\n    getNextPerformStatus(scheduler) {\n      return numPerformSlots(scheduler) > 0 ? 'succeed' : 'enqueue';\n    }\n  };\n  const dropQueuedTasksPolicy = _exports.dropQueuedTasksPolicy = {\n    cancelReason: `it belongs to a 'drop' Task that was already running`,\n    schedule(scheduler) {\n      // [a,b,_] [c,d,e,f] becomes\n      // [a,b,c] []\n      saturateActiveQueue(scheduler);\n      scheduler.spliceTaskInstances(this.cancelReason, scheduler.queuedTaskInstances, 0, scheduler.queuedTaskInstances.length);\n    },\n    getNextPerformStatus(scheduler) {\n      return numPerformSlots(scheduler) > 0 ? 'succeed' : 'drop';\n    }\n  };\n  const cancelOngoingTasksPolicy = _exports.cancelOngoingTasksPolicy = {\n    cancelReason: `it belongs to a 'restartable' Task that was .perform()ed again`,\n    schedule(scheduler) {\n      // [a,b,_] [c,d,e,f] becomes\n      // [d,e,f] []\n      let activeTaskInstances = scheduler.activeTaskInstances;\n      let queuedTaskInstances = scheduler.queuedTaskInstances;\n      activeTaskInstances.push(...queuedTaskInstances);\n      queuedTaskInstances.length = 0;\n      let numToShift = Math.max(0, activeTaskInstances.length - scheduler.maxConcurrency);\n      scheduler.spliceTaskInstances(this.cancelReason, activeTaskInstances, 0, numToShift);\n    },\n    getNextPerformStatus(scheduler) {\n      return numPerformSlots(scheduler) > 0 ? 'succeed' : 'cancel_previous';\n    }\n  };\n  const dropButKeepLatestPolicy = _exports.dropButKeepLatestPolicy = {\n    cancelReason: `it belongs to a 'keepLatest' Task that was already running`,\n    schedule(scheduler) {\n      // [a,b,_] [c,d,e,f] becomes\n      // [d,e,f] []\n      saturateActiveQueue(scheduler);\n      scheduler.spliceTaskInstances(this.cancelReason, scheduler.queuedTaskInstances, 0, scheduler.queuedTaskInstances.length - 1);\n    }\n  };\n});","define(\"ember-concurrency/-cancelable-promise-helpers\", [\"exports\", \"@ember/debug\", \"rsvp\", \"ember-concurrency/-task-instance\", \"ember-concurrency/utils\"], function (_exports, _debug, _rsvp, _taskInstance, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.race = _exports.hash = _exports.allSettled = _exports.all = void 0;\n  const asyncAll = taskAwareVariantOf(_rsvp.Promise, 'all', identity);\n  function* resolver(value) {\n    return value;\n  }\n\n  /**\n   * A cancelation-aware variant of [Promise.all](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/all).\n   * The normal version of a `Promise.all` just returns a regular, uncancelable\n   * Promise. The `ember-concurrency` variant of `all()` has the following\n   * additional behavior:\n   *\n   * - if the task that `yield`ed `all()` is canceled, any of the\n   *   {@linkcode TaskInstance}s passed in to `all` will be canceled\n   * - if any of the {@linkcode TaskInstance}s (or regular promises) passed in reject (or\n   *   are canceled), all of the other unfinished `TaskInstance`s will\n   *   be automatically canceled.\n   *\n   * [Check out the \"Awaiting Multiple Child Tasks example\"](/docs/examples/joining-tasks)\n   */\n  const all = things => {\n    // Extra assertion here to circumvent the `things.length` short circuit.\n    (true && !(Array.isArray(things)) && (0, _debug.assert)(`'all' expects an array.`, Array.isArray(things)));\n    if (things.length === 0) {\n      return things;\n    }\n    for (let i = 0; i < things.length; ++i) {\n      let t = things[i];\n      if (!(t && t[_utils.yieldableSymbol])) {\n        return asyncAll(things);\n      }\n    }\n    let isAsync = false;\n    let taskInstances = things.map(thing => {\n      let ti = _taskInstance.default.create({\n        // TODO: consider simpler iterator than full on generator fn?\n        fn: resolver,\n        args: [thing]\n      })._start();\n      if (ti._completionState !== 1) {\n        isAsync = true;\n      }\n      return ti;\n    });\n    if (isAsync) {\n      return asyncAll(taskInstances);\n    } else {\n      return taskInstances.map(ti => ti.value);\n    }\n  };\n\n  /**\n   * A cancelation-aware variant of [RSVP.allSettled](http://emberjs.com/api/classes/RSVP.html#method_allSettled).\n   * The normal version of a `RSVP.allSettled` just returns a regular, uncancelable\n   * Promise. The `ember-concurrency` variant of `allSettled()` has the following\n   * additional behavior:\n   *\n   * - if the task that `yield`ed `allSettled()` is canceled, any of the\n   *   {@linkcode TaskInstance}s passed in to `allSettled` will be canceled\n   */\n  _exports.all = all;\n  const allSettled = _exports.allSettled = taskAwareVariantOf(_rsvp.default, 'allSettled', identity);\n\n  /**\n   * A cancelation-aware variant of [Promise.race](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise/race).\n   * The normal version of a `Promise.race` just returns a regular, uncancelable\n   * Promise. The `ember-concurrency` variant of `race()` has the following\n   * additional behavior:\n   *\n   * - if the task that `yield`ed `race()` is canceled, any of the\n   *   {@linkcode TaskInstance}s passed in to `race` will be canceled\n   * - once any of the tasks/promises passed in complete (either success, failure,\n   *   or cancelation), any of the {@linkcode TaskInstance}s passed in will be canceled\n   *\n   * [Check out the \"Awaiting Multiple Child Tasks example\"](/docs/examples/joining-tasks)\n   */\n  const race = _exports.race = taskAwareVariantOf(_rsvp.Promise, 'race', identity);\n\n  /**\n   * A cancelation-aware variant of [RSVP.hash](http://emberjs.com/api/classes/RSVP.html#hash).\n   * The normal version of a `RSVP.hash` just returns a regular, uncancelable\n   * Promise. The `ember-concurrency` variant of `hash()` has the following\n   * additional behavior:\n   *\n   * - if the task that `yield`ed `hash()` is canceled, any of the\n   *   {@linkcode TaskInstance}s passed in to `allSettled` will be canceled\n   * - if any of the items rejects/cancels, all other cancelable items\n   *   (e.g. {@linkcode TaskInstance}s) will be canceled\n   */\n  const hash = _exports.hash = taskAwareVariantOf(_rsvp.default, 'hash', getValues);\n  function identity(obj) {\n    return obj;\n  }\n  function getValues(obj) {\n    return Object.keys(obj).map(k => obj[k]);\n  }\n  function taskAwareVariantOf(obj, method, getItems) {\n    return function (thing) {\n      let items = getItems(thing);\n      (true && !(Array.isArray(items)) && (0, _debug.assert)(`'${method}' expects an array.`, Array.isArray(items)));\n      let defer = _rsvp.default.defer();\n      obj[method](thing).then(defer.resolve, defer.reject);\n      let hasCancelled = false;\n      let cancelAll = () => {\n        if (hasCancelled) {\n          return;\n        }\n        hasCancelled = true;\n        items.forEach(it => {\n          if (it) {\n            if (it instanceof _taskInstance.default) {\n              it.cancel();\n            } else if (typeof it[_utils.cancelableSymbol] === 'function') {\n              it[_utils.cancelableSymbol]();\n            }\n          }\n        });\n      };\n      let promise = defer.promise.finally(cancelAll);\n      promise[_utils.cancelableSymbol] = cancelAll;\n      return promise;\n    };\n  }\n});","define(\"ember-concurrency/-encapsulated-task\", [\"exports\", \"@ember/debug\", \"ember-concurrency/-task-instance\"], function (_exports, _debug, _taskInstance) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _taskInstance.default.extend({\n    _makeIterator() {\n      let perform = this.perform;\n      (true && !(typeof perform === 'function') && (0, _debug.assert)(\"The object passed to `task()` must define a `perform` generator function, e.g. `perform: function * (a,b,c) {...}`, or better yet `*perform(a,b,c) {...}`\", typeof perform === 'function'));\n      return perform.apply(this, this.args);\n    },\n    perform: null\n  });\n});","define(\"ember-concurrency/-helpers\", [\"exports\", \"@ember/object\", \"@ember/debug\", \"@ember/runloop\"], function (_exports, _object, _debug, _runloop) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.taskHelperClosure = taskHelperClosure;\n  function taskHelperClosure(helperName, taskMethod, _args, hash) {\n    let task = _args[0];\n    let outerArgs = _args.slice(1);\n    return (0, _runloop.bind)(null, function (...innerArgs) {\n      if (!task || typeof task[taskMethod] !== 'function') {\n        (true && !(false) && (0, _debug.assert)(`The first argument passed to the \\`${helperName}\\` helper should be a Task object (without quotes); you passed ${task}`, false));\n        return;\n      }\n      if (hash && hash.value) {\n        let event = innerArgs.pop();\n        innerArgs.push((0, _object.get)(event, hash.value));\n      }\n      return task[taskMethod](...outerArgs, ...innerArgs);\n    });\n  }\n});","define(\"ember-concurrency/-property-modifiers-mixin\", [\"exports\", \"@ember/debug\", \"@ember/object\", \"ember-concurrency/-scheduler\", \"ember-concurrency/-buffer-policy\"], function (_exports, _debug, _object, _scheduler, _bufferPolicy) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.propertyModifiers = void 0;\n  _exports.resolveScheduler = resolveScheduler;\n  const propertyModifiers = _exports.propertyModifiers = {\n    // by default, task(...) expands to task(...).enqueue().maxConcurrency(Infinity)\n    _bufferPolicy: _bufferPolicy.enqueueTasksPolicy,\n    _maxConcurrency: Infinity,\n    _taskGroupPath: null,\n    _hasUsedModifier: false,\n    _hasSetBufferPolicy: false,\n    _hasEnabledEvents: false,\n    restartable() {\n      return setBufferPolicy(this, _bufferPolicy.cancelOngoingTasksPolicy);\n    },\n    enqueue() {\n      return setBufferPolicy(this, _bufferPolicy.enqueueTasksPolicy);\n    },\n    drop() {\n      return setBufferPolicy(this, _bufferPolicy.dropQueuedTasksPolicy);\n    },\n    keepLatest() {\n      return setBufferPolicy(this, _bufferPolicy.dropButKeepLatestPolicy);\n    },\n    maxConcurrency(n) {\n      this._hasUsedModifier = true;\n      this._maxConcurrency = n;\n      assertModifiersNotMixedWithGroup(this);\n      return this;\n    },\n    group(taskGroupPath) {\n      this._taskGroupPath = taskGroupPath;\n      assertModifiersNotMixedWithGroup(this);\n      return this;\n    },\n    evented() {\n      this._hasEnabledEvents = true;\n      return this;\n    },\n    debug() {\n      this._debug = true;\n      return this;\n    }\n  };\n  function setBufferPolicy(obj, policy) {\n    obj._hasSetBufferPolicy = true;\n    obj._hasUsedModifier = true;\n    obj._bufferPolicy = policy;\n    assertModifiersNotMixedWithGroup(obj);\n    if (obj._maxConcurrency === Infinity) {\n      obj._maxConcurrency = 1;\n    }\n    return obj;\n  }\n  function assertModifiersNotMixedWithGroup(obj) {\n    (true && !(!obj._hasUsedModifier || !obj._taskGroupPath) && (0, _debug.assert)(`ember-concurrency does not currently support using both .group() with other task modifiers (e.g. drop(), enqueue(), restartable())`, !obj._hasUsedModifier || !obj._taskGroupPath));\n  }\n  function resolveScheduler(propertyObj, obj, TaskGroup) {\n    if (propertyObj._taskGroupPath) {\n      let taskGroup = (0, _object.get)(obj, propertyObj._taskGroupPath);\n      (true && !(taskGroup instanceof TaskGroup) && (0, _debug.assert)(`Expected path '${propertyObj._taskGroupPath}' to resolve to a TaskGroup object, but instead was ${taskGroup}`, taskGroup instanceof TaskGroup));\n      return taskGroup._scheduler;\n    } else {\n      return _scheduler.default.create({\n        bufferPolicy: propertyObj._bufferPolicy,\n        maxConcurrency: propertyObj._maxConcurrency\n      });\n    }\n  }\n});","define(\"ember-concurrency/-scheduler\", [\"exports\", \"@ember/runloop\", \"@ember/object\"], function (_exports, _runloop, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  let SEEN_INDEX = 0;\n  const Scheduler = _object.default.extend({\n    lastPerformed: null,\n    lastStarted: null,\n    lastRunning: null,\n    lastSuccessful: null,\n    lastComplete: null,\n    lastErrored: null,\n    lastCanceled: null,\n    lastIncomplete: null,\n    performCount: 0,\n    boundHandleFulfill: null,\n    boundHandleReject: null,\n    init() {\n      this._super(...arguments);\n      this.activeTaskInstances = [];\n      this.queuedTaskInstances = [];\n    },\n    cancelAll(reason) {\n      let seen = [];\n      this.spliceTaskInstances(reason, this.activeTaskInstances, 0, this.activeTaskInstances.length, seen);\n      this.spliceTaskInstances(reason, this.queuedTaskInstances, 0, this.queuedTaskInstances.length, seen);\n      flushTaskCounts(seen);\n    },\n    spliceTaskInstances(cancelReason, taskInstances, index, count, seen) {\n      for (let i = index; i < index + count; ++i) {\n        let taskInstance = taskInstances[i];\n        if (!taskInstance.hasStarted) {\n          // This tracking logic is kinda spread all over the place...\n          // maybe TaskInstances themselves could notify\n          // some delegate of queued state changes upon cancelation?\n          (0, _object.set)(taskInstance.task, 'numQueued', taskInstance.task.numQueued - 1);\n        }\n        taskInstance.cancel(cancelReason);\n        if (seen) {\n          seen.push(taskInstance.task);\n        }\n      }\n      taskInstances.splice(index, count);\n    },\n    schedule(taskInstance) {\n      (0, _object.set)(this, 'lastPerformed', taskInstance);\n      (0, _object.set)(this, 'performCount', this.performCount + 1);\n      (0, _object.set)(taskInstance.task, 'numQueued', taskInstance.task.numQueued + 1);\n      this.queuedTaskInstances.push(taskInstance);\n      this._flushQueues();\n    },\n    _flushQueues() {\n      let seen = [];\n      for (let i = 0; i < this.activeTaskInstances.length; ++i) {\n        seen.push(this.activeTaskInstances[i].task);\n      }\n      this.activeTaskInstances = filterFinished(this.activeTaskInstances);\n      this.bufferPolicy.schedule(this);\n      var lastStarted = null;\n      for (let i = 0; i < this.activeTaskInstances.length; ++i) {\n        let taskInstance = this.activeTaskInstances[i];\n        if (!taskInstance.hasStarted) {\n          this._startTaskInstance(taskInstance);\n          lastStarted = taskInstance;\n        }\n        seen.push(taskInstance.task);\n      }\n      if (lastStarted) {\n        (0, _object.set)(this, 'lastStarted', lastStarted);\n      }\n      (0, _object.set)(this, 'lastRunning', lastStarted);\n      for (let i = 0; i < this.queuedTaskInstances.length; ++i) {\n        seen.push(this.queuedTaskInstances[i].task);\n      }\n      flushTaskCounts(seen);\n      (0, _object.set)(this, 'concurrency', this.activeTaskInstances.length);\n    },\n    _startTaskInstance(taskInstance) {\n      let task = taskInstance.task;\n      (0, _object.set)(task, 'numQueued', task.numQueued - 1);\n      (0, _object.set)(task, 'numRunning', task.numRunning + 1);\n      taskInstance._start()._onFinalize(() => {\n        (0, _object.set)(task, 'numRunning', task.numRunning - 1);\n        var state = taskInstance._completionState;\n        (0, _object.set)(this, 'lastComplete', taskInstance);\n        if (state === 1) {\n          (0, _object.set)(this, 'lastSuccessful', taskInstance);\n        } else {\n          if (state === 2) {\n            (0, _object.set)(this, 'lastErrored', taskInstance);\n          } else if (state === 3) {\n            (0, _object.set)(this, 'lastCanceled', taskInstance);\n          }\n          (0, _object.set)(this, 'lastIncomplete', taskInstance);\n        }\n        (0, _runloop.once)(this, this._flushQueues);\n      });\n    }\n  });\n  function flushTaskCounts(tasks) {\n    SEEN_INDEX++;\n    for (let i = 0, l = tasks.length; i < l; ++i) {\n      let task = tasks[i];\n      if (task._seenIndex < SEEN_INDEX) {\n        task._seenIndex = SEEN_INDEX;\n        updateTaskChainCounts(task);\n      }\n    }\n  }\n  function updateTaskChainCounts(task) {\n    let numRunning = task.numRunning;\n    let numQueued = task.numQueued;\n    let taskGroup = (0, _object.get)(task, 'group');\n    while (taskGroup) {\n      (0, _object.set)(taskGroup, 'numRunning', numRunning);\n      (0, _object.set)(taskGroup, 'numQueued', numQueued);\n      taskGroup = (0, _object.get)(taskGroup, 'group');\n    }\n  }\n  function filterFinished(taskInstances) {\n    let ret = [];\n    for (let i = 0, l = taskInstances.length; i < l; ++i) {\n      let taskInstance = taskInstances[i];\n      if (taskInstance.isFinished === false) {\n        ret.push(taskInstance);\n      }\n    }\n    return ret;\n  }\n  var _default = _exports.default = Scheduler;\n});","define(\"ember-concurrency/-task-group\", [\"exports\", \"@ember/object/computed\", \"@ember/object\", \"ember-concurrency/utils\", \"ember-concurrency/-task-state-mixin\", \"ember-concurrency/-property-modifiers-mixin\"], function (_exports, _computed, _object, _utils, _taskStateMixin, _propertyModifiersMixin) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.TaskGroupProperty = _exports.TaskGroup = void 0;\n  const TaskGroup = _exports.TaskGroup = _object.default.extend(_taskStateMixin.default, {\n    isTaskGroup: true,\n    toString() {\n      return `<TaskGroup:${this._propertyName}>`;\n    },\n    _numRunningOrNumQueued: (0, _computed.or)('numRunning', 'numQueued'),\n    isRunning: (0, _computed.bool)('_numRunningOrNumQueued'),\n    isQueued: false\n  });\n  let TaskGroupProperty = _exports.TaskGroupProperty = void 0;\n  if (true) {\n    _exports.TaskGroupProperty = TaskGroupProperty = class {};\n  } else {\n    _exports.TaskGroupProperty = TaskGroupProperty = class extends _utils._ComputedProperty {};\n  }\n  (0, _utils.objectAssign)(TaskGroupProperty.prototype, _propertyModifiersMixin.propertyModifiers);\n});","define(\"ember-concurrency/-task-instance\", [\"exports\", \"@ember/debug\", \"rsvp\", \"@ember/object/computed\", \"@ember/runloop\", \"@ember/object\", \"ember\", \"ember-concurrency/utils\"], function (_exports, _debug, _rsvp, _computed, _runloop, _object, _ember, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _exports.PERFORM_TYPE_UNLINKED = _exports.PERFORM_TYPE_LINKED = _exports.PERFORM_TYPE_DEFAULT = void 0;\n  _exports.didCancel = didCancel;\n  _exports.getRunningInstance = getRunningInstance;\n  _exports.go = go;\n  _exports.wrap = wrap;\n  const TASK_CANCELATION_NAME = 'TaskCancelation';\n  const COMPLETION_PENDING = 0;\n  const COMPLETION_SUCCESS = 1;\n  const COMPLETION_ERROR = 2;\n  const COMPLETION_CANCEL = 3;\n  const GENERATOR_STATE_BEFORE_CREATE = \"BEFORE_CREATE\";\n  const GENERATOR_STATE_HAS_MORE_VALUES = \"HAS_MORE_VALUES\";\n  const GENERATOR_STATE_DONE = \"DONE\";\n  const GENERATOR_STATE_ERRORED = \"ERRORED\";\n  const PERFORM_TYPE_DEFAULT = _exports.PERFORM_TYPE_DEFAULT = \"PERFORM_TYPE_DEFAULT\";\n  const PERFORM_TYPE_UNLINKED = _exports.PERFORM_TYPE_UNLINKED = \"PERFORM_TYPE_UNLINKED\";\n  const PERFORM_TYPE_LINKED = _exports.PERFORM_TYPE_LINKED = \"PERFORM_TYPE_LINKED\";\n  let TASK_INSTANCE_STACK = [];\n  function getRunningInstance() {\n    return TASK_INSTANCE_STACK[TASK_INSTANCE_STACK.length - 1];\n  }\n  function handleYieldedUnknownThenable(thenable, taskInstance, resumeIndex) {\n    thenable.then(value => {\n      taskInstance.proceed(resumeIndex, _utils.YIELDABLE_CONTINUE, value);\n    }, error => {\n      taskInstance.proceed(resumeIndex, _utils.YIELDABLE_THROW, error);\n    });\n  }\n\n  /**\n   * Returns true if the object passed to it is a TaskCancelation error.\n   * If you call `someTask.perform().catch(...)` or otherwise treat\n   * a {@linkcode TaskInstance} like a promise, you may need to\n   * handle the cancelation of a TaskInstance differently from\n   * other kinds of errors it might throw, and you can use this\n   * convenience function to distinguish cancelation from errors.\n   *\n   * ```js\n   * click() {\n   *   this.get('myTask').perform().catch(e => {\n   *     if (!didCancel(e)) { throw e; }\n   *   });\n   * }\n   * ```\n   *\n   * @param {Object} error the caught error, which might be a TaskCancelation\n   * @returns {Boolean}\n   */\n  function didCancel(e) {\n    return e && e.name === TASK_CANCELATION_NAME;\n  }\n  function forwardToInternalPromise(method) {\n    return function (...args) {\n      this._hasSubscribed = true;\n      return this.get('_promise')[method](...args);\n    };\n  }\n  function spliceSlice(str, index, count, add) {\n    return str.slice(0, index) + (add || \"\") + str.slice(index + count);\n  }\n\n  /**\n    A `TaskInstance` represent a single execution of a\n    {@linkcode Task}. Every call to {@linkcode Task#perform} returns\n    a `TaskInstance`.\n  \n    `TaskInstance`s are cancelable, either explicitly\n    via {@linkcode TaskInstance#cancel} or {@linkcode Task#cancelAll},\n    or automatically due to the host object being destroyed, or\n    because concurrency policy enforced by a\n    {@linkcode TaskProperty Task Modifier} canceled the task instance.\n  \n    <style>\n      .ignore-this--this-is-here-to-hide-constructor,\n      #TaskInstance { display: none }\n    </style>\n  \n    @class TaskInstance\n  */\n  let taskInstanceAttrs = {\n    iterator: null,\n    _disposer: null,\n    _completionState: COMPLETION_PENDING,\n    task: null,\n    args: [],\n    _hasSubscribed: false,\n    _runLoop: true,\n    _debug: false,\n    _hasEnabledEvents: false,\n    cancelReason: null,\n    _performType: PERFORM_TYPE_DEFAULT,\n    _expectsLinkedYield: false,\n    /**\n     * If this TaskInstance runs to completion by returning a property\n     * other than a rejecting promise, this property will be set\n     * with that value.\n     *\n     * @memberof TaskInstance\n     * @instance\n     * @readOnly\n     */\n    value: null,\n    /**\n     * If this TaskInstance is canceled or throws an error (or yields\n     * a promise that rejects), this property will be set with that error.\n     * Otherwise, it is null.\n     *\n     * @memberof TaskInstance\n     * @instance\n     * @readOnly\n     */\n    error: null,\n    /**\n     * True if the task instance is fulfilled.\n     *\n     * @memberof TaskInstance\n     * @instance\n     * @readOnly\n     */\n    isSuccessful: false,\n    /**\n     * True if the task instance resolves to a rejection.\n     *\n     * @memberof TaskInstance\n     * @instance\n     * @readOnly\n     */\n    isError: false,\n    /**\n     * True if the task instance was canceled before it could run to completion.\n     *\n     * @memberof TaskInstance\n     * @instance\n     * @readOnly\n     */\n    isCanceled: (0, _computed.and)('isCanceling', 'isFinished'),\n    isCanceling: false,\n    /**\n     * True if the task instance has started, else false.\n     *\n     * @memberof TaskInstance\n     * @instance\n     * @readOnly\n     */\n    hasStarted: false,\n    /**\n     * True if the task has run to completion.\n     *\n     * @memberof TaskInstance\n     * @instance\n     * @readOnly\n     */\n    isFinished: false,\n    /**\n     * True if the task is still running.\n     *\n     * @memberof TaskInstance\n     * @instance\n     * @readOnly\n     */\n    isRunning: (0, _computed.not)('isFinished'),\n    /**\n     * Describes the state that the task instance is in. Can be used for debugging,\n     * or potentially driving some UI state. Possible values are:\n     *\n     * - `\"dropped\"`: task instance was canceled before it started\n     * - `\"canceled\"`: task instance was canceled before it could finish\n     * - `\"finished\"`: task instance ran to completion (even if an exception was thrown)\n     * - `\"running\"`: task instance is currently running (returns true even if\n     *     is paused on a yielded promise)\n     * - `\"waiting\"`: task instance hasn't begun running yet (usually\n     *     because the task is using the {@linkcode TaskProperty#enqueue .enqueue()}\n     *     task modifier)\n     *\n     * The animated timeline examples on the [Task Concurrency](/#/docs/task-concurrency)\n     * docs page make use of this property.\n     *\n     * @memberof TaskInstance\n     * @instance\n     * @readOnly\n     */\n    state: (0, _object.computed)('isDropped', 'isCanceling', 'hasStarted', 'isFinished', function () {\n      if ((0, _object.get)(this, 'isDropped')) {\n        return 'dropped';\n      } else if (this.isCanceling) {\n        return 'canceled';\n      } else if (this.isFinished) {\n        return 'finished';\n      } else if (this.hasStarted) {\n        return 'running';\n      } else {\n        return 'waiting';\n      }\n    }),\n    /**\n     * True if the TaskInstance was canceled before it could\n     * ever start running. For example, calling\n     * {@linkcode Task#perform .perform()} twice on a\n     * task with the {@linkcode TaskProperty#drop .drop()} modifier applied\n     * will result in the second task instance being dropped.\n     *\n     * @memberof TaskInstance\n     * @instance\n     * @readOnly\n     */\n    isDropped: (0, _object.computed)('isCanceling', 'hasStarted', function () {\n      return this.isCanceling && !this.hasStarted;\n    }),\n    /**\n     * Event emitted when a new {@linkcode TaskInstance} starts executing.\n     *\n     * `on` from `@ember/object/evented` may be used to create a binding on the host object to the event.\n     *\n     * ```js\n     * export default Ember.Component.extend({\n     *   doSomething: task(function * () {\n     *     // ... does something\n     *   }),\n     *\n     *   onDoSomethingStarted: on('doSomething:started', function (taskInstance) {\n     *     // ...\n     *   })\n     * });\n     * ```\n     *\n     * @event TaskInstance#TASK_NAME:started\n     * @param {TaskInstance} taskInstance - Task instance that was started\n     */\n\n    /**\n     * Event emitted when a {@linkcode TaskInstance} succeeds.\n     *\n     * `on` from `@ember/object/evented` may be used to create a binding on the host object to the event.\n     *\n     * ```js\n     * export default Ember.Component.extend({\n     *   doSomething: task(function * () {\n     *     // ... does something\n     *   }),\n     *\n     *   onDoSomethingSucceeded: on('doSomething:succeeded', function (taskInstance) {\n     *     // ...\n     *   })\n     * });\n     * ```\n     *\n     * @event TaskInstance#TASK_NAME:succeeded\n     * @param {TaskInstance} taskInstance - Task instance that was succeeded\n     */\n\n    /**\n     * Event emitted when a {@linkcode TaskInstance} throws an an error that is\n     * not handled within the task itself.\n     *\n     * `on` from `@ember/object/evented` may be used to create a binding on the host object to the event.\n     *\n     * ```js\n     * export default Ember.Component.extend({\n     *   doSomething: task(function * () {\n     *     // ... does something\n     *   }),\n     *\n     *   onDoSomethingErrored: on('doSomething:errored', function (taskInstance, error) {\n     *     // ...\n     *   })\n     * });\n     * ```\n     *\n     * @event TaskInstance#TASK_NAME:errored\n     * @param {TaskInstance} taskInstance - Task instance that was started\n     * @param {Error} error - Error that was thrown by the task instance\n     */\n\n    /**\n     * Event emitted when a {@linkcode TaskInstance} is canceled.\n     *\n     * `on` from `@ember/object/evented` may be used to create a binding on the host object to the event.\n     *\n     * ```js\n     * export default Ember.Component.extend({\n     *   doSomething: task(function * () {\n     *     // ... does something\n     *   }),\n     *\n     *   onDoSomethingCanceled: on('doSomething:canceled', function (taskInstance, cancelationReason) {\n     *     // ...\n     *   })\n     * });\n     * ```\n     *\n     * @event TaskInstance#TASK_NAME:canceled\n     * @param {TaskInstance} taskInstance - Task instance that was started\n     * @param {string} cancelationReason - Cancelation reason that was was provided to {@linkcode TaskInstance#cancel}\n     */\n\n    _index: 1,\n    _start() {\n      if (this.hasStarted || this.isCanceling) {\n        return this;\n      }\n      (0, _object.set)(this, 'hasStarted', true);\n      this._scheduleProceed(_utils.YIELDABLE_CONTINUE, undefined);\n      this._triggerEvent('started', this);\n      return this;\n    },\n    toString() {\n      let taskString = \"\" + this.task;\n      return spliceSlice(taskString, -1, 0, `.perform()`);\n    },\n    /**\n     * Cancels the task instance. Has no effect if the task instance has\n     * already been canceled or has already finished running.\n     *\n     * @method cancel\n     * @memberof TaskInstance\n     * @instance\n     */\n    cancel(cancelReason = \".cancel() was explicitly called\") {\n      if (this.isCanceling || this.isFinished) {\n        return;\n      }\n      (0, _object.set)(this, 'isCanceling', true);\n      let name = this.task && this.task._propertyName || \"<unknown>\";\n      (0, _object.set)(this, 'cancelReason', `TaskInstance '${name}' was canceled because ${cancelReason}. For more information, see: http://ember-concurrency.com/docs/task-cancelation-help`);\n      if (this.hasStarted) {\n        this._proceedSoon(_utils.YIELDABLE_CANCEL, null);\n      } else {\n        this._finalize(null, COMPLETION_CANCEL);\n      }\n    },\n    _defer: null,\n    _promise: (0, _object.computed)(function () {\n      this._defer = (0, _rsvp.defer)();\n      this._maybeResolveDefer();\n      return this._defer.promise;\n    }),\n    _maybeResolveDefer() {\n      if (!this._defer || !this._completionState) {\n        return;\n      }\n      if (this._completionState === COMPLETION_SUCCESS) {\n        this._defer.resolve(this.value);\n      } else {\n        this._defer.reject(this.error);\n      }\n    },\n    /**\n     * Returns a promise that resolves with the value returned\n     * from the task's (generator) function, or rejects with\n     * either the exception thrown from the task function, or\n     * an error with a `.name` property with value `\"TaskCancelation\"`.\n     *\n     * @method then\n     * @memberof TaskInstance\n     * @instance\n     * @return {Promise}\n     */\n    then: forwardToInternalPromise('then'),\n    /**\n     * @method catch\n     * @memberof TaskInstance\n     * @instance\n     * @return {Promise}\n     */\n    catch: forwardToInternalPromise('catch'),\n    /**\n     * @method finally\n     * @memberof TaskInstance\n     * @instance\n     * @return {Promise}\n     */\n    finally: forwardToInternalPromise('finally'),\n    _finalize(_value, _completionState) {\n      let completionState = _completionState;\n      let value = _value;\n      this._index++;\n      if (this.isCanceling) {\n        completionState = COMPLETION_CANCEL;\n        value = new Error(this.cancelReason);\n        if (this._debug || _ember.default.ENV.DEBUG_TASKS) {\n          // eslint-disable-next-line no-console\n          console.log(this.cancelReason);\n        }\n        value.name = TASK_CANCELATION_NAME;\n        value.taskInstance = this;\n      }\n      (0, _object.set)(this, '_completionState', completionState);\n      (0, _object.set)(this, '_result', value);\n      if (completionState === COMPLETION_SUCCESS) {\n        (0, _object.set)(this, 'isSuccessful', true);\n        (0, _object.set)(this, 'value', value);\n      } else if (completionState === COMPLETION_ERROR) {\n        (0, _object.set)(this, 'isError', true);\n        (0, _object.set)(this, 'error', value);\n      } else if (completionState === COMPLETION_CANCEL) {\n        (0, _object.set)(this, 'error', value);\n      }\n      (0, _object.set)(this, 'isFinished', true);\n      this._dispose();\n      this._runFinalizeCallbacks();\n      this._dispatchFinalizeEvents();\n    },\n    _finalizeCallbacks: null,\n    _onFinalize(callback) {\n      if (!this._finalizeCallbacks) {\n        this._finalizeCallbacks = [];\n      }\n      this._finalizeCallbacks.push(callback);\n      if (this._completionState) {\n        this._runFinalizeCallbacks();\n      }\n    },\n    _runFinalizeCallbacks() {\n      this._maybeResolveDefer();\n      if (this._finalizeCallbacks) {\n        for (let i = 0, l = this._finalizeCallbacks.length; i < l; ++i) {\n          this._finalizeCallbacks[i]();\n        }\n        this._finalizeCallbacks = null;\n      }\n      this._maybeThrowUnhandledTaskErrorLater();\n    },\n    _maybeThrowUnhandledTaskErrorLater() {\n      // this backports the Ember 2.0+ RSVP _onError 'after' microtask behavior to Ember < 2.0\n      if (!this._hasSubscribed && this._completionState === COMPLETION_ERROR) {\n        (0, _runloop.schedule)(_runloop.run.backburner.queueNames[_runloop.run.backburner.queueNames.length - 1], () => {\n          if (!this._hasSubscribed && !didCancel(this.error)) {\n            (0, _rsvp.reject)(this.error);\n          }\n        });\n      }\n    },\n    _dispatchFinalizeEvents() {\n      switch (this._completionState) {\n        case COMPLETION_SUCCESS:\n          this._triggerEvent('succeeded', this);\n          break;\n        case COMPLETION_ERROR:\n          this._triggerEvent('errored', this, this.error);\n          break;\n        case COMPLETION_CANCEL:\n          this._triggerEvent('canceled', this, this.cancelReason);\n          break;\n      }\n    },\n    /**\n     * Runs any disposers attached to the task's most recent `yield`.\n     * For instance, when a task yields a TaskInstance, it registers that\n     * child TaskInstance's disposer, so that if the parent task is canceled,\n     * _dispose() will run that disposer and cancel the child TaskInstance.\n     *\n     * @private\n     */\n    _dispose() {\n      if (this._disposer) {\n        let disposer = this._disposer;\n        this._disposer = null;\n\n        // TODO: test erroring disposer\n        disposer();\n      }\n    },\n    _isGeneratorDone() {\n      let state = this._generatorState;\n      return state === GENERATOR_STATE_DONE || state === GENERATOR_STATE_ERRORED;\n    },\n    /**\n     * Calls .next()/.throw()/.return() on the task's generator function iterator,\n     * essentially taking a single step of execution on the task function.\n     *\n     * @private\n     */\n    _resumeGenerator(nextValue, iteratorMethod) {\n      (true && !(!this._isGeneratorDone()) && (0, _debug.assert)(\"The task generator function has already run to completion. This is probably an ember-concurrency bug.\", !this._isGeneratorDone()));\n      try {\n        TASK_INSTANCE_STACK.push(this);\n        let iterator = this._getIterator();\n        let result = iterator[iteratorMethod](nextValue);\n        this._generatorValue = result.value;\n        if (result.done) {\n          this._generatorState = GENERATOR_STATE_DONE;\n        } else {\n          this._generatorState = GENERATOR_STATE_HAS_MORE_VALUES;\n        }\n      } catch (e) {\n        this._generatorValue = e;\n        this._generatorState = GENERATOR_STATE_ERRORED;\n      } finally {\n        if (this._expectsLinkedYield) {\n          if (!this._generatorValue || this._generatorValue._performType !== PERFORM_TYPE_LINKED) {\n            // eslint-disable-next-line no-console\n            console.warn(\"You performed a .linked() task without immediately yielding/returning it. This is currently unsupported (but might be supported in future version of ember-concurrency).\");\n          }\n          this._expectsLinkedYield = false;\n        }\n        TASK_INSTANCE_STACK.pop();\n      }\n    },\n    _getIterator() {\n      if (!this.iterator) {\n        this.iterator = this._makeIterator();\n      }\n      return this.iterator;\n    },\n    /**\n     * Returns a generator function iterator (the object with\n     * .next()/.throw()/.return() methods) using the task function\n     * supplied to `task(...)`. It uses `apply` so that the `this`\n     * context is the host object the task lives on, and passes\n     * the args passed to `perform(...args)` through to the generator\n     * function.\n     *\n     * `_makeIterator` is overridden in EncapsulatedTask to produce\n     * an iterator based on the `*perform()` function on the\n     * EncapsulatedTask definition.\n     *\n     * @private\n     */\n    _makeIterator() {\n      return this.fn.apply(this.context, this.args);\n    },\n    /**\n     * The TaskInstance internally tracks an index/sequence number\n     * (the `_index` property) which gets incremented every time the\n     * task generator function iterator takes a step. When a task\n     * function is paused at a `yield`, there are two events that\n     * cause the TaskInstance to take a step: 1) the yielded value\n     * \"resolves\", thus resuming the TaskInstance's execution, or\n     * 2) the TaskInstance is canceled. We need some mechanism to prevent\n     * stale yielded value resolutions from resuming the TaskFunction\n     * after the TaskInstance has already moved on (either because\n     * the TaskInstance has since been canceled or because an\n     * implementation of the Yieldable API tried to resume the\n     * TaskInstance more than once). The `_index` serves as\n     * that simple mechanism: anyone resuming a TaskInstance\n     * needs to pass in the `index` they were provided that acts\n     * as a ticket to resume the TaskInstance that expires once\n     * the TaskInstance has moved on.\n     *\n     * @private\n     */\n    _advanceIndex(index) {\n      if (this._index === index) {\n        return ++this._index;\n      }\n    },\n    _proceedSoon(yieldResumeType, value) {\n      this._advanceIndex(this._index);\n      if (this._runLoop) {\n        (0, _runloop.join)(() => {\n          (0, _runloop.schedule)('actions', this, this._proceed, yieldResumeType, value);\n        });\n      } else {\n        setTimeout(() => this._proceed(yieldResumeType, value), 1);\n      }\n    },\n    proceed(index, yieldResumeType, value) {\n      if (this._completionState) {\n        return;\n      }\n      if (!this._advanceIndex(index)) {\n        return;\n      }\n      this._proceedSoon(yieldResumeType, value);\n    },\n    _scheduleProceed(yieldResumeType, value) {\n      if (this._completionState) {\n        return;\n      }\n      if (this._runLoop && !_runloop.run.currentRunLoop) {\n        (0, _runloop.run)(this, this._proceed, yieldResumeType, value);\n        return;\n      } else if (!this._runLoop && _runloop.run.currentRunLoop) {\n        setTimeout(() => this._proceed(yieldResumeType, value), 1);\n        return;\n      } else {\n        this._proceed(yieldResumeType, value);\n      }\n    },\n    _proceed(yieldResumeType, value) {\n      if (this._completionState) {\n        return;\n      }\n      if (this._generatorState === GENERATOR_STATE_DONE) {\n        this._handleResolvedReturnedValue(yieldResumeType, value);\n      } else {\n        this._handleResolvedContinueValue(yieldResumeType, value);\n      }\n    },\n    _handleResolvedReturnedValue(yieldResumeType, value) {\n      // decide what to do in the case of `return maybeYieldable`;\n      // value is the resolved value of the yieldable. We just\n      // need to decide how to finalize.\n      (true && !(this._completionState === COMPLETION_PENDING) && (0, _debug.assert)(\"expected completion state to be pending\", this._completionState === COMPLETION_PENDING));\n      (true && !(this._generatorState === GENERATOR_STATE_DONE) && (0, _debug.assert)(\"expected generator to be done\", this._generatorState === GENERATOR_STATE_DONE));\n      switch (yieldResumeType) {\n        case _utils.YIELDABLE_CONTINUE:\n        case _utils.YIELDABLE_RETURN:\n          this._finalize(value, COMPLETION_SUCCESS);\n          break;\n        case _utils.YIELDABLE_THROW:\n          this._finalize(value, COMPLETION_ERROR);\n          break;\n        case _utils.YIELDABLE_CANCEL:\n          (0, _object.set)(this, 'isCanceling', true);\n          this._finalize(null, COMPLETION_CANCEL);\n          break;\n      }\n    },\n    _generatorState: GENERATOR_STATE_BEFORE_CREATE,\n    _generatorValue: null,\n    _handleResolvedContinueValue(_yieldResumeType, resumeValue) {\n      let iteratorMethod = _yieldResumeType;\n      if (iteratorMethod === _utils.YIELDABLE_CANCEL) {\n        (0, _object.set)(this, 'isCanceling', true);\n        iteratorMethod = _utils.YIELDABLE_RETURN;\n      }\n      this._dispose();\n      let beforeIndex = this._index;\n      this._resumeGenerator(resumeValue, iteratorMethod);\n      if (!this._advanceIndex(beforeIndex)) {\n        return;\n      }\n      if (this._generatorState === GENERATOR_STATE_ERRORED) {\n        this._finalize(this._generatorValue, COMPLETION_ERROR);\n        return;\n      }\n      this._handleYieldedValue();\n    },\n    _handleYieldedValue() {\n      let yieldedValue = this._generatorValue;\n      if (!yieldedValue) {\n        this._proceedWithSimpleValue(yieldedValue);\n        return;\n      }\n      if (yieldedValue instanceof _utils.RawValue) {\n        this._proceedWithSimpleValue(yieldedValue.value);\n        return;\n      }\n      this._addDisposer(yieldedValue[_utils.cancelableSymbol]);\n      if (yieldedValue[_utils.yieldableSymbol]) {\n        this._invokeYieldable(yieldedValue);\n      } else if (typeof yieldedValue.then === 'function') {\n        handleYieldedUnknownThenable(yieldedValue, this, this._index);\n      } else {\n        this._proceedWithSimpleValue(yieldedValue);\n      }\n    },\n    _proceedWithSimpleValue(yieldedValue) {\n      this.proceed(this._index, _utils.YIELDABLE_CONTINUE, yieldedValue);\n    },\n    _addDisposer(maybeDisposer) {\n      if (typeof maybeDisposer === 'function') {\n        let priorDisposer = this._disposer;\n        if (priorDisposer) {\n          this._disposer = () => {\n            priorDisposer();\n            maybeDisposer();\n          };\n        } else {\n          this._disposer = maybeDisposer;\n        }\n      }\n    },\n    _invokeYieldable(yieldedValue) {\n      try {\n        let maybeDisposer = yieldedValue[_utils.yieldableSymbol](this, this._index);\n        this._addDisposer(maybeDisposer);\n      } catch (e) {\n        // TODO: handle erroneous yieldable implementation\n      }\n    },\n    _triggerEvent(eventType, ...args) {\n      if (!this._hasEnabledEvents) {\n        return;\n      }\n      let host = this.task && this.task.context;\n      let eventNamespace = this.task && this.task._propertyName;\n      if (host && host.trigger && eventNamespace) {\n        host.trigger(`${eventNamespace}:${eventType}`, ...args);\n      }\n    }\n  };\n  taskInstanceAttrs[_utils.yieldableSymbol] = function handleYieldedTaskInstance(parentTaskInstance, resumeIndex) {\n    let yieldedTaskInstance = this;\n    yieldedTaskInstance._hasSubscribed = true;\n    yieldedTaskInstance._onFinalize(() => {\n      let state = yieldedTaskInstance._completionState;\n      if (state === COMPLETION_SUCCESS) {\n        parentTaskInstance.proceed(resumeIndex, _utils.YIELDABLE_CONTINUE, yieldedTaskInstance.value);\n      } else if (state === COMPLETION_ERROR) {\n        parentTaskInstance.proceed(resumeIndex, _utils.YIELDABLE_THROW, yieldedTaskInstance.error);\n      } else if (state === COMPLETION_CANCEL) {\n        parentTaskInstance.proceed(resumeIndex, _utils.YIELDABLE_CANCEL, null);\n      }\n    });\n    return function disposeYieldedTaskInstance() {\n      if (yieldedTaskInstance._performType !== PERFORM_TYPE_UNLINKED) {\n        if (yieldedTaskInstance._performType === PERFORM_TYPE_DEFAULT) {\n          let parentObj = parentTaskInstance.task && parentTaskInstance.task.context;\n          let childObj = yieldedTaskInstance.task && yieldedTaskInstance.task.context;\n          if (parentObj && childObj && parentObj !== childObj && parentObj.isDestroying && (0, _object.get)(yieldedTaskInstance, 'isRunning')) {\n            let parentName = `\\`${parentTaskInstance.task._propertyName}\\``;\n            let childName = `\\`${yieldedTaskInstance.task._propertyName}\\``;\n            // eslint-disable-next-line no-console\n            console.warn(`ember-concurrency detected a potentially hazardous \"self-cancel loop\" between parent task ${parentName} and child task ${childName}. If you want child task ${childName} to be canceled when parent task ${parentName} is canceled, please change \\`.perform()\\` to \\`.linked().perform()\\`. If you want child task ${childName} to keep running after parent task ${parentName} is canceled, change it to \\`.unlinked().perform()\\``);\n          }\n        }\n        yieldedTaskInstance.cancel();\n      }\n    };\n  };\n  let TaskInstance = _object.default.extend(taskInstanceAttrs);\n  function go(args, fn, attrs = {}) {\n    return TaskInstance.create(Object.assign({\n      args,\n      fn,\n      context: this\n    }, attrs))._start();\n  }\n  function wrap(fn, attrs = {}) {\n    return function wrappedRunnerFunction(...args) {\n      return go.call(this, args, fn, attrs);\n    };\n  }\n  var _default = _exports.default = TaskInstance;\n});","define(\"ember-concurrency/-task-property\", [\"exports\", \"@ember/runloop\", \"@ember/object/observers\", \"@ember/object/events\", \"@ember/object\", \"@ember/application\", \"ember-concurrency/-task-instance\", \"ember-concurrency/-task-state-mixin\", \"ember-concurrency/-property-modifiers-mixin\", \"ember-concurrency/utils\", \"ember-concurrency/-encapsulated-task\", \"@ember/debug\"], function (_exports, _runloop, _observers, _events, _object, _application, _taskInstance, _taskStateMixin, _propertyModifiersMixin, _utils, _encapsulatedTask, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.TaskProperty = _exports.Task = void 0;\n  const PerformProxy = _object.default.extend({\n    _task: null,\n    _performType: null,\n    _linkedObject: null,\n    perform(...args) {\n      return this._task._performShared(args, this._performType, this._linkedObject);\n    }\n  });\n\n  /**\n    The `Task` object lives on a host Ember object (e.g.\n    a Component, Route, or Controller). You call the\n    {@linkcode Task#perform .perform()} method on this object\n    to create run individual {@linkcode TaskInstance}s,\n    and at any point, you can call the {@linkcode Task#cancelAll .cancelAll()}\n    method on this object to cancel all running or enqueued\n    {@linkcode TaskInstance}s.\n  \n  \n    <style>\n      .ignore-this--this-is-here-to-hide-constructor,\n      #Task{ display: none }\n    </style>\n  \n    @class Task\n  */\n  const Task = _exports.Task = _object.default.extend(_taskStateMixin.default, {\n    /**\n     * `true` if any current task instances are running.\n     *\n     * @memberof Task\n     * @member {boolean} isRunning\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * `true` if any future task instances are queued.\n     *\n     * @memberof Task\n     * @member {boolean} isQueued\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * `true` if the task is not in the running or queued state.\n     *\n     * @memberof Task\n     * @member {boolean} isIdle\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The current state of the task: `\"running\"`, `\"queued\"` or `\"idle\"`.\n     *\n     * @memberof Task\n     * @member {string} state\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recently started task instance.\n     *\n     * @memberof Task\n     * @member {TaskInstance} last\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recent task instance that is currently running.\n     *\n     * @memberof Task\n     * @member {TaskInstance} lastRunning\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recently performed task instance.\n     *\n     * @memberof Task\n     * @member {TaskInstance} lastPerformed\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recent task instance that succeeded.\n     *\n     * @memberof Task\n     * @member {TaskInstance} lastSuccessful\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recently completed task instance.\n     *\n     * @memberof Task\n     * @member {TaskInstance} lastComplete\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recent task instance that errored.\n     *\n     * @memberof Task\n     * @member {TaskInstance} lastErrored\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recently canceled task instance.\n     *\n     * @memberof Task\n     * @member {TaskInstance} lastCanceled\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The most recent task instance that is incomplete.\n     *\n     * @memberof Task\n     * @member {TaskInstance} lastIncomplete\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * The number of times this task has been performed.\n     *\n     * @memberof Task\n     * @member {number} performCount\n     * @instance\n     * @readOnly\n     */\n\n    fn: null,\n    context: null,\n    _observes: null,\n    _curryArgs: null,\n    _linkedObjects: null,\n    init() {\n      this._super(...arguments);\n      if (typeof this.fn === 'object') {\n        let owner = (0, _application.getOwner)(this.context);\n        let ownerInjection = owner ? owner.ownerInjection() : {};\n        this._taskInstanceFactory = _encapsulatedTask.default.extend(ownerInjection, this.fn);\n      }\n      (0, _utils._cleanupOnDestroy)(this.context, this, 'cancelAll', {\n        reason: 'the object it lives on was destroyed or unrendered'\n      });\n    },\n    _curry(...args) {\n      let task = this._clone();\n      task._curryArgs = [...(this._curryArgs || []), ...args];\n      return task;\n    },\n    linked() {\n      let taskInstance = (0, _taskInstance.getRunningInstance)();\n      if (!taskInstance) {\n        throw new Error(`You can only call .linked() from within a task.`);\n      }\n      return PerformProxy.create({\n        _task: this,\n        _performType: _taskInstance.PERFORM_TYPE_LINKED,\n        _linkedObject: taskInstance\n      });\n    },\n    unlinked() {\n      return PerformProxy.create({\n        _task: this,\n        _performType: _taskInstance.PERFORM_TYPE_UNLINKED\n      });\n    },\n    _clone() {\n      return Task.create({\n        fn: this.fn,\n        context: this.context,\n        _origin: this._origin,\n        _taskGroupPath: this._taskGroupPath,\n        _scheduler: this._scheduler,\n        _propertyName: this._propertyName\n      });\n    },\n    /**\n     * This property is true if this task is NOT running, i.e. the number\n     * of currently running TaskInstances is zero.\n     *\n     * This property is useful for driving the state/style of buttons\n     * and loading UI, among other things.\n     *\n     * @memberof Task\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * This property is true if this task is running, i.e. the number\n     * of currently running TaskInstances is greater than zero.\n     *\n     * This property is useful for driving the state/style of buttons\n     * and loading UI, among other things.\n     *\n     * @memberof Task\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * EXPERIMENTAL\n     *\n     * This value describes what would happen to the TaskInstance returned\n     * from .perform() if .perform() were called right now.  Returns one of\n     * the following values:\n     *\n     * - `succeed`: new TaskInstance will start running immediately\n     * - `drop`: new TaskInstance will be dropped\n     * - `enqueue`: new TaskInstance will be enqueued for later execution\n     *\n     * @memberof Task\n     * @instance\n     * @private\n     * @readOnly\n     */\n\n    /**\n     * EXPERIMENTAL\n     *\n     * Returns true if calling .perform() right now would immediately start running\n     * the returned TaskInstance.\n     *\n     * @memberof Task\n     * @instance\n     * @private\n     * @readOnly\n     */\n\n    /**\n     * EXPERIMENTAL\n     *\n     * Returns true if calling .perform() right now would immediately cancel (drop)\n     * the returned TaskInstance.\n     *\n     * @memberof Task\n     * @instance\n     * @private\n     * @readOnly\n     */\n\n    /**\n     * EXPERIMENTAL\n     *\n     * Returns true if calling .perform() right now would enqueue the TaskInstance\n     * rather than execute immediately.\n     *\n     * @memberof Task\n     * @instance\n     * @private\n     * @readOnly\n     */\n\n    /**\n     * EXPERIMENTAL\n     *\n     * Returns true if calling .perform() right now would cause a previous task to be canceled\n     *\n     * @memberof Task\n     * @instance\n     * @private\n     * @readOnly\n     */\n\n    /**\n     * The current number of active running task instances. This\n     * number will never exceed maxConcurrency.\n     *\n     * @memberof Task\n     * @instance\n     * @readOnly\n     */\n\n    /**\n     * Cancels all running or queued `TaskInstance`s for this Task.\n     * If you're trying to cancel a specific TaskInstance (rather\n     * than all of the instances running under this task) call\n     * `.cancel()` on the specific TaskInstance.\n     *\n     * @method cancelAll\n     * @memberof Task\n     * @param {Object} [options]\n     * @param {string} [options.reason=.cancelAll() was explicitly called on the Task] - a descriptive reason the task was cancelled\n     * @param {boolean} [options.resetState] - if true, will clear the task state (`last*` and `performCount` properties will be set to initial values)\n     * @instance\n     */\n\n    toString() {\n      return `<Task:${this._propertyName}>`;\n    },\n    _taskInstanceFactory: _taskInstance.default,\n    /**\n     * Creates a new {@linkcode TaskInstance} and attempts to run it right away.\n     * If running this task instance would increase the task's concurrency\n     * to a number greater than the task's maxConcurrency, this task\n     * instance might be immediately canceled (dropped), or enqueued\n     * to run at later time, after the currently running task(s) have finished.\n     *\n     * @method perform\n     * @memberof Task\n     * @param {*} arg* - args to pass to the task function\n     * @instance\n     *\n     * @fires TaskInstance#TASK_NAME:started\n     * @fires TaskInstance#TASK_NAME:succeeded\n     * @fires TaskInstance#TASK_NAME:errored\n     * @fires TaskInstance#TASK_NAME:canceled\n     *\n     */\n    perform(...args) {\n      return this._performShared(args, _taskInstance.PERFORM_TYPE_DEFAULT, null);\n    },\n    _performShared(args, performType, linkedObject) {\n      let fullArgs = this._curryArgs ? [...this._curryArgs, ...args] : args;\n      let taskInstance = this._taskInstanceFactory.create({\n        fn: this.fn,\n        args: fullArgs,\n        context: this.context,\n        owner: this.context,\n        task: this,\n        _debug: this._debug,\n        _hasEnabledEvents: this._hasEnabledEvents,\n        _origin: this,\n        _performType: performType\n      });\n      (0, _application.setOwner)(taskInstance, (0, _application.getOwner)(this.context));\n      if (performType === _taskInstance.PERFORM_TYPE_LINKED) {\n        linkedObject._expectsLinkedYield = true;\n      }\n      if (this.context.isDestroying) {\n        // TODO: express this in terms of lifetimes; a task linked to\n        // a dead lifetime should immediately cancel.\n        taskInstance.cancel();\n      }\n      this._scheduler.schedule(taskInstance);\n      return taskInstance;\n    },\n    [_utils.INVOKE](...args) {\n      return this.perform(...args);\n    }\n  });\n\n  /**\n    A {@link TaskProperty} is the Computed Property-like object returned\n    from the {@linkcode task} function. You can call Task Modifier methods\n    on this object to configure the behavior of the {@link Task}.\n  \n    See [Managing Task Concurrency](/#/docs/task-concurrency) for an\n    overview of all the different task modifiers you can use and how\n    they impact automatic cancelation / enqueueing of task instances.\n  \n    <style>\n      .ignore-this--this-is-here-to-hide-constructor,\n      #TaskProperty { display: none }\n    </style>\n  \n    @class TaskProperty\n  */\n  let TaskProperty = _exports.TaskProperty = void 0;\n  if (true) {\n    _exports.TaskProperty = TaskProperty = class {};\n  } else {\n    // Prior to the 3.10.0 refactors, we had to extend the _ComputedProprety class\n    // for a classic decorator/descriptor to run correctly.\n    _exports.TaskProperty = TaskProperty = class extends _utils._ComputedProperty {\n      callSuperSetup() {\n        if (super.setup) {\n          super.setup(...arguments);\n        }\n      }\n    };\n  }\n  (0, _utils.objectAssign)(TaskProperty.prototype, {\n    setup(proto, taskName) {\n      if (this.callSuperSetup) {\n        this.callSuperSetup(...arguments);\n      }\n      if (this._maxConcurrency !== Infinity && !this._hasSetBufferPolicy) {\n        // eslint-disable-next-line no-console\n        console.warn(`The use of maxConcurrency() without a specified task modifier is deprecated and won't be supported in future versions of ember-concurrency. Please specify a task modifier instead, e.g. \\`${taskName}: task(...).enqueue().maxConcurrency(${this._maxConcurrency})\\``);\n      }\n      registerOnPrototype(_events.addListener, proto, this.eventNames, taskName, 'perform', false);\n      registerOnPrototype(_events.addListener, proto, this.cancelEventNames, taskName, 'cancelAll', false);\n      registerOnPrototype(_observers.addObserver, proto, this._observes, taskName, 'perform', true);\n    },\n    /**\n     * Calling `task(...).on(eventName)` configures the task to be\n     * automatically performed when the specified events fire. In\n     * this way, it behaves like\n     * [Ember.on](http://emberjs.com/api/classes/Ember.html#method_on).\n     *\n     * You can use `task(...).on('init')` to perform the task\n     * when the host object is initialized.\n     *\n     * ```js\n     * export default Ember.Component.extend({\n     *   pollForUpdates: task(function * () {\n     *     // ... this runs when the Component is first created\n     *     // because we specified .on('init')\n     *   }).on('init'),\n     *\n     *   handleFoo: task(function * (a, b, c) {\n     *     // this gets performed automatically if the 'foo'\n     *     // event fires on this Component,\n     *     // e.g., if someone called component.trigger('foo')\n     *   }).on('foo'),\n     * });\n     * ```\n     *\n     * [See the Writing Tasks Docs for more info](/#/docs/writing-tasks)\n     *\n     * @method on\n     * @memberof TaskProperty\n     * @param {String} eventNames*\n     * @instance\n     */\n    on() {\n      this.eventNames = this.eventNames || [];\n      this.eventNames.push.apply(this.eventNames, arguments);\n      return this;\n    },\n    /**\n     * This behaves like the {@linkcode TaskProperty#on task(...).on() modifier},\n     * but instead will cause the task to be canceled if any of the\n     * specified events fire on the parent object.\n     *\n     * [See the Live Example](/#/docs/examples/route-tasks/1)\n     *\n     * @method cancelOn\n     * @memberof TaskProperty\n     * @param {String} eventNames*\n     * @instance\n     */\n    cancelOn() {\n      this.cancelEventNames = this.cancelEventNames || [];\n      this.cancelEventNames.push.apply(this.cancelEventNames, arguments);\n      return this;\n    },\n    observes(...properties) {\n      this._observes = properties;\n      return this;\n    },\n    /**\n     * Configures the task to cancel old currently task instances\n     * to make room for a new one to perform. Sets default\n     * maxConcurrency to 1.\n     *\n     * [See the Live Example](/#/docs/examples/route-tasks/1)\n     *\n     * @method restartable\n     * @memberof TaskProperty\n     * @instance\n     */\n\n    /**\n     * Configures the task to run task instances one-at-a-time in\n     * the order they were `.perform()`ed. Sets default\n     * maxConcurrency to 1.\n     *\n     * @method enqueue\n     * @memberof TaskProperty\n     * @instance\n     */\n\n    /**\n     * Configures the task to immediately cancel (i.e. drop) any\n     * task instances performed when the task is already running\n     * at maxConcurrency. Sets default maxConcurrency to 1.\n     *\n     * @method drop\n     * @memberof TaskProperty\n     * @instance\n     */\n\n    /**\n     * Configures the task to drop all but the most recently\n     * performed {@linkcode TaskInstance }.\n     *\n     * @method keepLatest\n     * @memberof TaskProperty\n     * @instance\n     */\n\n    /**\n     * Sets the maximum number of task instances that are allowed\n     * to run at the same time. By default, with no task modifiers\n     * applied, this number is Infinity (there is no limit\n     * to the number of tasks that can run at the same time).\n     * {@linkcode TaskProperty#restartable .restartable()},\n     * {@linkcode TaskProperty#enqueue .enqueue()}, and\n     * {@linkcode TaskProperty#drop .drop()} set the default\n     * maxConcurrency to 1, but you can override this value\n     * to set the maximum number of concurrently running tasks\n     * to a number greater than 1.\n     *\n     * [See the AJAX Throttling example](/#/docs/examples/ajax-throttling)\n     *\n     * The example below uses a task with `maxConcurrency(3)` to limit\n     * the number of concurrent AJAX requests (for anyone using this task)\n     * to 3.\n     *\n     * ```js\n     * doSomeAjax: task(function * (url) {\n     *   return Ember.$.getJSON(url).promise();\n     * }).maxConcurrency(3),\n     *\n     * elsewhere() {\n     *   this.get('doSomeAjax').perform(\"http://www.example.com/json\");\n     * },\n     * ```\n     *\n     * @method maxConcurrency\n     * @memberof TaskProperty\n     * @param {Number} n The maximum number of concurrently running tasks\n     * @instance\n     */\n\n    /**\n     * Adds this task to a TaskGroup so that concurrency constraints\n     * can be shared between multiple tasks.\n     *\n     * [See the Task Group docs for more information](/#/docs/task-groups)\n     *\n     * @method group\n     * @memberof TaskProperty\n     * @param {String} groupPath A path to the TaskGroup property\n     * @instance\n     */\n\n    /**\n     * Activates lifecycle events, allowing Evented host objects to react to task state\n     * changes.\n     *\n     * ```js\n     *\n     * export default Component.extend({\n     *   uploadTask: task(function* (file) {\n     *     // ... file upload stuff\n     *   }).evented(),\n     *\n     *   uploadedStarted: on('uploadTask:started', function(taskInstance) {\n     *     this.get('analytics').track(\"User Photo: upload started\");\n     *   }),\n     * });\n     * ```\n     *\n     * @method evented\n     * @memberof TaskProperty\n     * @instance\n     */\n\n    /**\n     * Logs lifecycle events to aid in debugging unexpected Task behavior.\n     * Presently only logs cancelation events and the reason for the cancelation,\n     * e.g. \"TaskInstance 'doStuff' was canceled because the object it lives on was destroyed or unrendered\"\n     *\n     * @method debug\n     * @memberof TaskProperty\n     * @instance\n     */\n\n    perform() {\n      (true && !(false) && (0, _debug.deprecate)(`[DEPRECATED] An ember-concurrency task property was not set on its object via 'defineProperty'.\n              You probably used 'set(obj, \"myTask\", task(function* () { ... }) )'.\n              Unfortunately due to this we can't tell you the name of the task.`, false, {\n        id: 'ember-meta.descriptor-on-object',\n        until: '3.5.0',\n        url: 'https://emberjs.com/deprecations/v3.x#toc_use-defineProperty-to-define-computed-properties'\n      }));\n      throw new Error(\"An ember-concurrency task property was not set on its object via 'defineProperty'. See deprecation warning for details.\");\n    }\n  });\n  (0, _utils.objectAssign)(TaskProperty.prototype, _propertyModifiersMixin.propertyModifiers);\n  function registerOnPrototype(addListenerOrObserver, proto, names, taskName, taskMethod, once) {\n    if (names) {\n      for (let i = 0; i < names.length; ++i) {\n        let name = names[i];\n        let handlerName = `__ember_concurrency_handler_${handlerCounter++}`;\n        proto[handlerName] = makeTaskCallback(taskName, taskMethod, once);\n        addListenerOrObserver(proto, name, null, handlerName);\n      }\n    }\n  }\n  function makeTaskCallback(taskName, method, once) {\n    return function () {\n      let task = this.get(taskName);\n      if (once) {\n        (0, _runloop.scheduleOnce)('actions', task, method, ...arguments);\n      } else {\n        task[method].apply(task, arguments);\n      }\n    };\n  }\n  let handlerCounter = 0;\n});","define(\"ember-concurrency/-task-state-mixin\", [\"exports\", \"@ember/object/computed\", \"@ember/object/mixin\", \"@ember/object\"], function (_exports, _computed, _mixin, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const {\n    alias\n  } = _object.computed;\n\n  // this is a mixin of properties/methods shared between Tasks and TaskGroups\n  var _default = _exports.default = _mixin.default.create({\n    isRunning: (0, _computed.gt)('numRunning', 0),\n    isQueued: (0, _computed.gt)('numQueued', 0),\n    isIdle: (0, _object.computed)('isRunning', 'isQueued', function () {\n      return !this.get('isRunning') && !this.get('isQueued');\n    }),\n    state: (0, _object.computed)('isRunning', 'isQueued', function () {\n      if (this.get('isRunning')) {\n        return 'running';\n      } else if (this.get('isQueued')) {\n        return 'queued';\n      } else {\n        return 'idle';\n      }\n    }),\n    _propertyName: null,\n    _origin: null,\n    name: alias('_propertyName'),\n    concurrency: alias('numRunning'),\n    last: alias('_scheduler.lastStarted'),\n    lastRunning: alias('_scheduler.lastRunning'),\n    lastPerformed: alias('_scheduler.lastPerformed'),\n    lastSuccessful: alias('_scheduler.lastSuccessful'),\n    lastComplete: alias('_scheduler.lastComplete'),\n    lastErrored: alias('_scheduler.lastErrored'),\n    lastCanceled: alias('_scheduler.lastCanceled'),\n    lastIncomplete: alias('_scheduler.lastIncomplete'),\n    performCount: alias('_scheduler.performCount'),\n    numRunning: 0,\n    numQueued: 0,\n    _seenIndex: 0,\n    cancelAll(options) {\n      let {\n        reason,\n        resetState\n      } = options || {};\n      reason = reason || \".cancelAll() was explicitly called on the Task\";\n      this._scheduler.cancelAll(reason);\n      if (resetState) {\n        this._resetState();\n      }\n    },\n    group: (0, _object.computed)(function () {\n      return this._taskGroupPath && (0, _object.get)(this.context, this._taskGroupPath);\n    }),\n    _scheduler: null,\n    _resetState() {\n      this.setProperties({\n        'last': null,\n        'lastRunning': null,\n        'lastStarted': null,\n        'lastPerformed': null,\n        'lastSuccessful': null,\n        'lastComplete': null,\n        'lastErrored': null,\n        'lastCanceled': null,\n        'lastIncomplete': null,\n        'performCount': 0\n      });\n    }\n  });\n});","define(\"ember-concurrency/-wait-for\", [\"exports\", \"@ember/debug\", \"@ember/runloop\", \"@ember/object\", \"ember-concurrency/utils\"], function (_exports, _debug, _runloop, _object, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.waitForEvent = waitForEvent;\n  _exports.waitForProperty = waitForProperty;\n  _exports.waitForQueue = waitForQueue;\n  class WaitForQueueYieldable extends _utils.Yieldable {\n    constructor(queueName) {\n      super();\n      this.queueName = queueName;\n      this.timerId = null;\n    }\n    [_utils.yieldableSymbol](taskInstance, resumeIndex) {\n      try {\n        this.timerId = (0, _runloop.schedule)(this.queueName, () => {\n          taskInstance.proceed(resumeIndex, _utils.YIELDABLE_CONTINUE, null);\n        });\n      } catch (error) {\n        taskInstance.proceed(resumeIndex, _utils.YIELDABLE_THROW, error);\n      }\n    }\n    [_utils.cancelableSymbol]() {\n      (0, _runloop.cancel)(this.timerId);\n      this.timerId = null;\n    }\n  }\n  class WaitForEventYieldable extends _utils.Yieldable {\n    constructor(object, eventName) {\n      super();\n      this.object = object;\n      this.eventName = eventName;\n      this.fn = null;\n      this.didFinish = false;\n      this.usesDOMEvents = false;\n      this.requiresCleanup = false;\n    }\n    [_utils.yieldableSymbol](taskInstance, resumeIndex) {\n      this.fn = event => {\n        this.didFinish = true;\n        this[_utils.cancelableSymbol]();\n        taskInstance.proceed(resumeIndex, _utils.YIELDABLE_CONTINUE, event);\n      };\n      if (typeof this.object.addEventListener === 'function') {\n        // assume that we're dealing with a DOM `EventTarget`.\n        this.usesDOMEvents = true;\n        this.object.addEventListener(this.eventName, this.fn);\n      } else if (typeof this.object.one === 'function') {\n        // assume that we're dealing with either `Ember.Evented` or a compatible\n        // interface, like jQuery.\n        this.object.one(this.eventName, this.fn);\n      } else {\n        this.requiresCleanup = true;\n        this.object.on(this.eventName, this.fn);\n      }\n    }\n    [_utils.cancelableSymbol]() {\n      if (this.fn) {\n        if (this.usesDOMEvents) {\n          // unfortunately this is required, because IE 11 does not support the\n          // `once` option: https://caniuse.com/#feat=once-event-listener\n          this.object.removeEventListener(this.eventName, this.fn);\n        } else if (!this.didFinish || this.requiresCleanup) {\n          this.object.off(this.eventName, this.fn);\n        }\n        this.fn = null;\n      }\n    }\n  }\n  class WaitForPropertyYieldable extends _utils.Yieldable {\n    constructor(object, key, predicateCallback = Boolean) {\n      super();\n      this.object = object;\n      this.key = key;\n      if (typeof predicateCallback === 'function') {\n        this.predicateCallback = predicateCallback;\n      } else {\n        this.predicateCallback = v => v === predicateCallback;\n      }\n      this.observerBound = false;\n    }\n    [_utils.yieldableSymbol](taskInstance, resumeIndex) {\n      this.observerFn = () => {\n        let value = (0, _object.get)(this.object, this.key);\n        let predicateValue = this.predicateCallback(value);\n        if (predicateValue) {\n          taskInstance.proceed(resumeIndex, _utils.YIELDABLE_CONTINUE, value);\n          return true;\n        }\n      };\n      if (!this.observerFn()) {\n        this.object.addObserver(this.key, null, this.observerFn);\n        this.observerBound = true;\n      }\n    }\n    [_utils.cancelableSymbol]() {\n      if (this.observerBound && this.observerFn) {\n        this.object.removeObserver(this.key, null, this.observerFn);\n        this.observerFn = null;\n      }\n    }\n  }\n\n  /**\n   * Use `waitForQueue` to pause the task until a certain run loop queue is reached.\n   *\n   * ```js\n   * import { task, waitForQueue } from 'ember-concurrency';\n   * export default Component.extend({\n   *   myTask: task(function * () {\n   *     yield waitForQueue('afterRender');\n   *     console.log(\"now we're in the afterRender queue\");\n   *   })\n   * });\n   * ```\n   *\n   * @param {string} queueName the name of the Ember run loop queue\n   */\n  function waitForQueue(queueName) {\n    return new WaitForQueueYieldable(queueName);\n  }\n\n  /**\n   * Use `waitForEvent` to pause the task until an event is fired. The event\n   * can either be a jQuery event or an Ember.Evented event (or any event system\n   * where the object supports `.on()` `.one()` and `.off()`).\n   *\n   * ```js\n   * import { task, waitForEvent } from 'ember-concurrency';\n   * export default Component.extend({\n   *   myTask: task(function * () {\n   *     console.log(\"Please click anywhere..\");\n   *     let clickEvent = yield waitForEvent($('body'), 'click');\n   *     console.log(\"Got event\", clickEvent);\n   *\n   *     let emberEvent = yield waitForEvent(this, 'foo');\n   *     console.log(\"Got foo event\", emberEvent);\n   *\n   *     // somewhere else: component.trigger('foo', { value: 123 });\n   *   })\n   * });\n   * ```\n   *\n   * @param {object} object the Ember Object, jQuery element, or other object with .on() and .off() APIs\n   *                 that the event fires from\n   * @param {function} eventName the name of the event to wait for\n   */\n  function waitForEvent(object, eventName) {\n    (true && !((0, _utils.isEventedObject)(object)) && (0, _debug.assert)(`${object} must include Ember.Evented (or support \\`.on()\\` and \\`.off()\\`) or DOM EventTarget (or support \\`addEventListener\\` and  \\`removeEventListener\\`) to be able to use \\`waitForEvent\\``, (0, _utils.isEventedObject)(object)));\n    return new WaitForEventYieldable(object, eventName);\n  }\n\n  /**\n   * Use `waitForProperty` to pause the task until a property on an object\n   * changes to some expected value. This can be used for a variety of use\n   * cases, including synchronizing with another task by waiting for it\n   * to become idle, or change state in some other way. If you omit the\n   * callback, `waitForProperty` will resume execution when the observed\n   * property becomes truthy. If you provide a callback, it'll be called\n   * immediately with the observed property's current value, and multiple\n   * times thereafter whenever the property changes, until you return\n   * a truthy value from the callback, or the current task is canceled.\n   * You can also pass in a non-Function value in place of the callback,\n   * in which case the task will continue executing when the property's\n   * value becomes the value that you passed in.\n   *\n   * ```js\n   * import { task, waitForProperty } from 'ember-concurrency';\n   * export default Component.extend({\n   *   foo: 0,\n   *\n   *   myTask: task(function * () {\n   *     console.log(\"Waiting for `foo` to become 5\");\n   *\n   *     yield waitForProperty(this, 'foo', v => v === 5);\n   *     // alternatively: yield waitForProperty(this, 'foo', 5);\n   *\n   *     // somewhere else: this.set('foo', 5)\n   *\n   *     console.log(\"`foo` is 5!\");\n   *\n   *     // wait for another task to be idle before running:\n   *     yield waitForProperty(this, 'otherTask.isIdle');\n   *     console.log(\"otherTask is idle!\");\n   *   })\n   * });\n   * ```\n   *\n   * @param {object} object an object (most likely an Ember Object)\n   * @param {string} key the property name that is observed for changes\n   * @param {function} callbackOrValue a Function that should return a truthy value\n   *                                   when the task should continue executing, or\n   *                                   a non-Function value that the watched property\n   *                                   needs to equal before the task will continue running\n   */\n  function waitForProperty(object, key, predicateCallback) {\n    return new WaitForPropertyYieldable(object, key, predicateCallback);\n  }\n});","define(\"ember-concurrency/helpers/cancel-all\", [\"exports\", \"@ember/component/helper\", \"@ember/debug\", \"ember-concurrency/-helpers\"], function (_exports, _helper, _debug, _helpers) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.cancelHelper = cancelHelper;\n  _exports.default = void 0;\n  const CANCEL_REASON = \"the 'cancel-all' template helper was invoked\";\n  function cancelHelper(args) {\n    let cancelable = args[0];\n    if (!cancelable || typeof cancelable.cancelAll !== 'function') {\n      (true && !(false) && (0, _debug.assert)(`The first argument passed to the \\`cancel-all\\` helper should be a Task or TaskGroup (without quotes); you passed ${cancelable}`, false));\n    }\n    return (0, _helpers.taskHelperClosure)('cancel-all', 'cancelAll', [cancelable, {\n      reason: CANCEL_REASON\n    }]);\n  }\n  var _default = _exports.default = (0, _helper.helper)(cancelHelper);\n});","define(\"ember-concurrency/helpers/perform\", [\"exports\", \"@ember/component/helper\", \"ember-concurrency/-helpers\"], function (_exports, _helper, _helpers) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.performHelper = performHelper;\n  function performHelper(args, hash) {\n    return (0, _helpers.taskHelperClosure)('perform', 'perform', args, hash);\n  }\n  var _default = _exports.default = (0, _helper.helper)(performHelper);\n});","define(\"ember-concurrency/helpers/task\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function taskHelper([task, ...args]) {\n    return task._curry(...args);\n  }\n  var _default = _exports.default = (0, _helper.helper)(taskHelper);\n});","define(\"ember-concurrency/index\", [\"exports\", \"ember\", \"@ember/object\", \"ember-concurrency/utils\", \"ember-concurrency/-task-property\", \"ember-concurrency/-task-instance\", \"ember-concurrency/-task-group\", \"ember-concurrency/-cancelable-promise-helpers\", \"ember-concurrency/-wait-for\", \"ember-concurrency/-property-modifiers-mixin\"], function (_exports, _ember, _object, _utils, _taskProperty, _taskInstance, _taskGroup, _cancelablePromiseHelpers, _waitFor, _propertyModifiersMixin) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"all\", {\n    enumerable: true,\n    get: function () {\n      return _cancelablePromiseHelpers.all;\n    }\n  });\n  Object.defineProperty(_exports, \"allSettled\", {\n    enumerable: true,\n    get: function () {\n      return _cancelablePromiseHelpers.allSettled;\n    }\n  });\n  Object.defineProperty(_exports, \"didCancel\", {\n    enumerable: true,\n    get: function () {\n      return _taskInstance.didCancel;\n    }\n  });\n  Object.defineProperty(_exports, \"forever\", {\n    enumerable: true,\n    get: function () {\n      return _utils.forever;\n    }\n  });\n  Object.defineProperty(_exports, \"hash\", {\n    enumerable: true,\n    get: function () {\n      return _cancelablePromiseHelpers.hash;\n    }\n  });\n  Object.defineProperty(_exports, \"race\", {\n    enumerable: true,\n    get: function () {\n      return _cancelablePromiseHelpers.race;\n    }\n  });\n  Object.defineProperty(_exports, \"rawTimeout\", {\n    enumerable: true,\n    get: function () {\n      return _utils.rawTimeout;\n    }\n  });\n  _exports.task = task;\n  _exports.taskGroup = taskGroup;\n  Object.defineProperty(_exports, \"timeout\", {\n    enumerable: true,\n    get: function () {\n      return _utils.timeout;\n    }\n  });\n  Object.defineProperty(_exports, \"waitForEvent\", {\n    enumerable: true,\n    get: function () {\n      return _waitFor.waitForEvent;\n    }\n  });\n  Object.defineProperty(_exports, \"waitForProperty\", {\n    enumerable: true,\n    get: function () {\n      return _waitFor.waitForProperty;\n    }\n  });\n  Object.defineProperty(_exports, \"waitForQueue\", {\n    enumerable: true,\n    get: function () {\n      return _waitFor.waitForQueue;\n    }\n  });\n  const setDecorator = _ember.default._setClassicDecorator || _ember.default._setComputedDecorator;\n  function _computed(fn) {\n    if (true) {\n      let cp = function (proto, key) {\n        if (cp.setup !== undefined) {\n          cp.setup(proto, key);\n        }\n        return (0, _object.computed)(fn)(...arguments);\n      };\n      setDecorator(cp);\n      return cp;\n    } else {\n      return (0, _object.computed)(fn);\n    }\n  }\n\n  /**\n   * A Task is a cancelable, restartable, asynchronous operation that\n   * is driven by a generator function. Tasks are automatically canceled\n   * when the object they live on is destroyed (e.g. a Component\n   * is unrendered).\n   *\n   * To define a task, use the `task(...)` function, and pass in\n   * a generator function, which will be invoked when the task\n   * is performed. The reason generator functions are used is\n   * that they (like the proposed ES7 async-await syntax) can\n   * be used to elegantly express asynchronous, cancelable\n   * operations.\n   *\n   * You can also define an\n   * <a href=\"/#/docs/encapsulated-task\">Encapsulated Task</a>\n   * by passing in an object that defined a `perform` generator\n   * function property.\n   *\n   * The following Component defines a task called `myTask` that,\n   * when performed, prints a message to the console, sleeps for 1 second,\n   * prints a final message to the console, and then completes.\n   *\n   * ```js\n   * import { task, timeout } from 'ember-concurrency';\n   * export default Component.extend({\n   *   myTask: task(function * () {\n   *     console.log(\"Pausing for a second...\");\n   *     yield timeout(1000);\n   *     console.log(\"Done!\");\n   *   })\n   * });\n   * ```\n   *\n   * ```hbs\n   * <button {{action myTask.perform}}>Perform Task</button>\n   * ```\n   *\n   * By default, tasks have no concurrency constraints\n   * (multiple instances of a task can be running at the same time)\n   * but much of a power of tasks lies in proper usage of Task Modifiers\n   * that you can apply to a task.\n   *\n   * @param {function} generatorFunction the generator function backing the task.\n   * @returns {TaskProperty}\n   */\n  function task(taskFn) {\n    let tp = _computed(function (_propertyName) {\n      tp.taskFn.displayName = `${_propertyName} (task)`;\n      return _taskProperty.Task.create({\n        fn: tp.taskFn,\n        context: this,\n        _origin: this,\n        _taskGroupPath: tp._taskGroupPath,\n        _scheduler: (0, _propertyModifiersMixin.resolveScheduler)(tp, this, _taskGroup.TaskGroup),\n        _propertyName,\n        _debug: tp._debug,\n        _hasEnabledEvents: tp._hasEnabledEvents\n      });\n    });\n    tp.taskFn = taskFn;\n    Object.setPrototypeOf(tp, _taskProperty.TaskProperty.prototype);\n    return tp;\n  }\n\n  /**\n   * \"Task Groups\" provide a means for applying\n   * task modifiers to groups of tasks. Once a {@linkcode Task} is declared\n   * as part of a group task, modifiers like `drop()` or `restartable()`\n   * will no longer affect the individual `Task`. Instead those\n   * modifiers can be applied to the entire group.\n   *\n   * ```js\n   * import { task, taskGroup } from 'ember-concurrency';\n   *\n   * export default Controller.extend({\n   *   chores: taskGroup().drop(),\n   *\n   *   mowLawn:       task(taskFn).group('chores'),\n   *   doDishes:      task(taskFn).group('chores'),\n   *   changeDiapers: task(taskFn).group('chores')\n   * });\n   * ```\n   *\n   * @returns {TaskGroup}\n   */\n  function taskGroup(taskFn) {\n    let tp = _computed(function (_propertyName) {\n      return _taskGroup.TaskGroup.create({\n        fn: tp.taskFn,\n        context: this,\n        _origin: this,\n        _taskGroupPath: tp._taskGroupPath,\n        _scheduler: (0, _propertyModifiersMixin.resolveScheduler)(tp, this, _taskGroup.TaskGroup),\n        _propertyName\n      });\n    });\n    tp.taskFn = taskFn;\n    Object.setPrototypeOf(tp, _taskGroup.TaskGroupProperty.prototype);\n    return tp;\n  }\n});","define(\"ember-concurrency/initializers/ember-concurrency\", [\"exports\", \"ember-concurrency\"], function (_exports, _emberConcurrency) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  // This initializer exists only to make sure that the following\n  // imports happen before the app boots.\n  var _default = _exports.default = {\n    name: 'ember-concurrency',\n    initialize: function () {}\n  };\n});","define(\"ember-concurrency/utils\", [\"exports\", \"@ember/runloop\", \"rsvp\", \"@ember/object/computed\", \"ember\"], function (_exports, _runloop, _rsvp, _computed, _ember) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports._ComputedProperty = _exports.Yieldable = _exports.YIELDABLE_THROW = _exports.YIELDABLE_RETURN = _exports.YIELDABLE_CONTINUE = _exports.YIELDABLE_CANCEL = _exports.RawValue = _exports.INVOKE = _exports.Arguments = void 0;\n  _exports._cleanupOnDestroy = _cleanupOnDestroy;\n  _exports.forever = _exports.cancelableSymbol = void 0;\n  _exports.isEventedObject = isEventedObject;\n  _exports.objectAssign = void 0;\n  _exports.raw = raw;\n  _exports.rawTimeout = rawTimeout;\n  _exports.timeout = timeout;\n  _exports.yieldableSymbol = void 0;\n  _exports.yieldableToPromise = yieldableToPromise;\n  function isEventedObject(c) {\n    return c && (typeof c.one === 'function' && typeof c.off === 'function' || typeof c.on === 'function' && typeof c.off === 'function' || typeof c.addEventListener === 'function' && typeof c.removeEventListener === 'function');\n  }\n  class Arguments {\n    constructor(args, defer) {\n      this.args = args;\n      this.defer = defer;\n    }\n    resolve(value) {\n      if (this.defer) {\n        this.defer.resolve(value);\n      }\n    }\n  }\n  _exports.Arguments = Arguments;\n  let objectAssign = _exports.objectAssign = Object.assign || function objectAssign(target) {\n    'use strict';\n\n    if (target == null) {\n      throw new TypeError('Cannot convert undefined or null to object');\n    }\n    target = Object(target);\n    for (var index = 1; index < arguments.length; index++) {\n      var source = arguments[index];\n      if (source != null) {\n        for (var key in source) {\n          if (Object.prototype.hasOwnProperty.call(source, key)) {\n            target[key] = source[key];\n          }\n        }\n      }\n    }\n    return target;\n  };\n  function _cleanupOnDestroy(owner, object, cleanupMethodName, ...args) {\n    // TODO: find a non-mutate-y, non-hacky way of doing this.\n\n    if (!owner.willDestroy) {\n      // we're running in non Ember object (possibly in a test mock)\n      return;\n    }\n    if (!owner.willDestroy.__ember_processes_destroyers__) {\n      let oldWillDestroy = owner.willDestroy;\n      let disposers = [];\n      owner.willDestroy = function () {\n        for (let i = 0, l = disposers.length; i < l; i++) {\n          disposers[i]();\n        }\n        oldWillDestroy.apply(owner, arguments);\n      };\n      owner.willDestroy.__ember_processes_destroyers__ = disposers;\n    }\n    owner.willDestroy.__ember_processes_destroyers__.push(() => {\n      object[cleanupMethodName](...args);\n    });\n  }\n  let INVOKE = _exports.INVOKE = \"__invoke_symbol__\";\n  let locations = ['@ember/-internals/glimmer/index', '@ember/-internals/glimmer', 'ember-glimmer', 'ember-glimmer/helpers/action', 'ember-htmlbars/keywords/closure-action', 'ember-routing-htmlbars/keywords/closure-action', 'ember-routing/keywords/closure-action'];\n  for (let i = 0; i < locations.length; i++) {\n    if (locations[i] in _ember.default.__loader.registry) {\n      _exports.INVOKE = INVOKE = _ember.default.__loader.require(locations[i])['INVOKE'];\n      break;\n    }\n  }\n\n  // TODO: Symbol polyfill?\n  const cancelableSymbol = _exports.cancelableSymbol = \"__ec_cancel__\";\n  const yieldableSymbol = _exports.yieldableSymbol = \"__ec_yieldable__\";\n  const YIELDABLE_CONTINUE = _exports.YIELDABLE_CONTINUE = \"next\";\n  const YIELDABLE_THROW = _exports.YIELDABLE_THROW = \"throw\";\n  const YIELDABLE_RETURN = _exports.YIELDABLE_RETURN = \"return\";\n  const YIELDABLE_CANCEL = _exports.YIELDABLE_CANCEL = \"cancel\";\n  const _ComputedProperty = _exports._ComputedProperty = _computed.default;\n  class Yieldable {\n    constructor() {\n      this[yieldableSymbol] = this[yieldableSymbol].bind(this);\n      this[cancelableSymbol] = this[cancelableSymbol].bind(this);\n    }\n    then(...args) {\n      return yieldableToPromise(this).then(...args);\n    }\n    [yieldableSymbol]() {}\n    [cancelableSymbol]() {}\n  }\n  _exports.Yieldable = Yieldable;\n  class TimeoutYieldable extends Yieldable {\n    constructor(ms) {\n      super();\n      this.ms = ms;\n      this.timerId = null;\n    }\n    [yieldableSymbol](taskInstance, resumeIndex) {\n      this.timerId = (0, _runloop.later)(() => {\n        taskInstance.proceed(resumeIndex, YIELDABLE_CONTINUE, taskInstance._result);\n      }, this.ms);\n    }\n    [cancelableSymbol]() {\n      (0, _runloop.cancel)(this.timerId);\n      this.timerId = null;\n    }\n  }\n\n  /**\n   *\n   * Yielding `timeout(ms)` will pause a task for the duration\n   * of time passed in, in milliseconds.\n   *\n   * This timeout will be scheduled on the Ember runloop, which\n   * means that test helpers will wait for it to complete before\n   * continuing with the test. See `rawTimeout()` if you need\n   * different behavior.\n   *\n   * The task below, when performed, will print a message to the\n   * console every second.\n   *\n   * ```js\n   * export default Component.extend({\n   *   myTask: task(function * () {\n   *     while (true) {\n   *       console.log(\"Hello!\");\n   *       yield timeout(1000);\n   *     }\n   *   })\n   * });\n   * ```\n   *\n   * @param {number} ms - the amount of time to sleep before resuming\n   *   the task, in milliseconds\n   */\n  function timeout(ms) {\n    return new TimeoutYieldable(ms);\n  }\n\n  /**\n   *\n   * Yielding `forever` will pause a task indefinitely until\n   * it is cancelled (i.e. via host object destruction, .restartable(),\n   * or manual cancellation).\n   *\n   * This is often useful in cases involving animation: if you're\n   * using Liquid Fire, or some other animation scheme, sometimes you'll\n   * notice buttons visibly reverting to their inactive states during\n   * a route transition. By yielding `forever` in a Component task that drives a\n   * button's active state, you can keep a task indefinitely running\n   * until the animation runs to completion.\n   *\n   * NOTE: Liquid Fire also includes a useful `waitUntilIdle()` method\n   * on the `liquid-fire-transitions` service that you can use in a lot\n   * of these cases, but it won't cover cases of asynchrony that are\n   * unrelated to animation, in which case `forever` might be better suited\n   * to your needs.\n   *\n   * ```js\n   * import { task, forever } from 'ember-concurrency';\n   *\n   * export default Component.extend({\n   *   myService: service(),\n   *   myTask: task(function * () {\n   *     yield this.myService.doSomethingThatCausesATransition();\n   *     yield forever;\n   *   })\n   * });\n   * ```\n   */\n\n  class ForeverYieldable extends Yieldable {\n    [yieldableSymbol]() {}\n    [cancelableSymbol]() {}\n  }\n  const forever = _exports.forever = new ForeverYieldable();\n  class RawValue {\n    constructor(value) {\n      this.value = value;\n    }\n  }\n  _exports.RawValue = RawValue;\n  function raw(value) {\n    return new RawValue(value);\n  }\n  class RawTimeoutYieldable extends Yieldable {\n    constructor(ms) {\n      super();\n      this.ms = ms;\n      this.timerId = null;\n    }\n    [yieldableSymbol](taskInstance, resumeIndex) {\n      this.timerId = setTimeout(() => {\n        taskInstance.proceed(resumeIndex, YIELDABLE_CONTINUE, taskInstance._result);\n      }, this.ms);\n    }\n    [cancelableSymbol]() {\n      clearTimeout(this.timerId);\n      this.timerId = null;\n    }\n  }\n\n  /**\n   *\n   * Yielding `rawTimeout(ms)` will pause a task for the duration\n   * of time passed in, in milliseconds.\n   *\n   * The timeout will use the native `setTimeout()` browser API,\n   * instead of the Ember runloop, which means that test helpers\n   * will *not* wait for it to complete.\n   *\n   * The task below, when performed, will print a message to the\n   * console every second.\n   *\n   * ```js\n   * export default Component.extend({\n   *   myTask: task(function * () {\n   *     while (true) {\n   *       console.log(\"Hello!\");\n   *       yield rawTimeout(1000);\n   *     }\n   *   })\n   * });\n   * ```\n   *\n   * @param {number} ms - the amount of time to sleep before resuming\n   *   the task, in milliseconds\n   */\n  function rawTimeout(ms) {\n    return new RawTimeoutYieldable(ms);\n  }\n  function yieldableToPromise(yieldable) {\n    let def = (0, _rsvp.defer)();\n    let thinInstance = {\n      proceed(_index, resumeType, value) {\n        if (resumeType == YIELDABLE_CONTINUE || resumeType == YIELDABLE_RETURN) {\n          def.resolve(value);\n        } else {\n          def.reject(value);\n        }\n      }\n    };\n    let maybeDisposer = yieldable[yieldableSymbol](thinInstance, 0);\n    def.promise[cancelableSymbol] = maybeDisposer || yieldable[cancelableSymbol];\n    return def.promise;\n  }\n});","define('ember-data/-private', ['exports', '@ember-data/store', '@ember/application/namespace', 'ember', 'ember-data/version', '@ember-data/model/-private', '@ember-data/store/-private', '@ember-data/record-data/-private'], (function (exports, store, Namespace, Ember, VERSION, Private, Private$1, Private$2) { 'use strict';\n\n  function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }\n\n  var store__default = /*#__PURE__*/_interopDefaultLegacy(store);\n  var Namespace__default = /*#__PURE__*/_interopDefaultLegacy(Namespace);\n  var Ember__default = /*#__PURE__*/_interopDefaultLegacy(Ember);\n  var VERSION__default = /*#__PURE__*/_interopDefaultLegacy(VERSION);\n\n  var DS = Namespace__default[\"default\"].create({\n    VERSION: VERSION__default[\"default\"],\n    name: 'DS'\n  });\n  if (Ember__default[\"default\"].libraries) {\n    Ember__default[\"default\"].libraries.registerCoreLibrary('Ember Data', VERSION__default[\"default\"]);\n  }\n\n  Object.defineProperty(exports, 'Store', {\n    enumerable: true,\n    get: function () { return store__default[\"default\"]; }\n  });\n  Object.defineProperty(exports, 'Errors', {\n    enumerable: true,\n    get: function () { return Private.Errors; }\n  });\n  Object.defineProperty(exports, 'ManyArray', {\n    enumerable: true,\n    get: function () { return Private.ManyArray; }\n  });\n  Object.defineProperty(exports, 'PromiseManyArray', {\n    enumerable: true,\n    get: function () { return Private.PromiseManyArray; }\n  });\n  Object.defineProperty(exports, 'AdapterPopulatedRecordArray', {\n    enumerable: true,\n    get: function () { return Private$1.AdapterPopulatedRecordArray; }\n  });\n  Object.defineProperty(exports, 'InternalModel', {\n    enumerable: true,\n    get: function () { return Private$1.InternalModel; }\n  });\n  Object.defineProperty(exports, 'PromiseArray', {\n    enumerable: true,\n    get: function () { return Private$1.PromiseArray; }\n  });\n  Object.defineProperty(exports, 'PromiseObject', {\n    enumerable: true,\n    get: function () { return Private$1.PromiseObject; }\n  });\n  Object.defineProperty(exports, 'RecordArray', {\n    enumerable: true,\n    get: function () { return Private$1.RecordArray; }\n  });\n  Object.defineProperty(exports, 'RecordArrayManager', {\n    enumerable: true,\n    get: function () { return Private$1.RecordArrayManager; }\n  });\n  Object.defineProperty(exports, 'RootState', {\n    enumerable: true,\n    get: function () { return Private$1.RootState; }\n  });\n  Object.defineProperty(exports, 'Snapshot', {\n    enumerable: true,\n    get: function () { return Private$1.Snapshot; }\n  });\n  Object.defineProperty(exports, 'SnapshotRecordArray', {\n    enumerable: true,\n    get: function () { return Private$1.SnapshotRecordArray; }\n  });\n  Object.defineProperty(exports, 'coerceId', {\n    enumerable: true,\n    get: function () { return Private$1.coerceId; }\n  });\n  Object.defineProperty(exports, 'normalizeModelName', {\n    enumerable: true,\n    get: function () { return Private$1.normalizeModelName; }\n  });\n  Object.defineProperty(exports, 'RecordData', {\n    enumerable: true,\n    get: function () { return Private$2.RecordData; }\n  });\n  Object.defineProperty(exports, 'Relationship', {\n    enumerable: true,\n    get: function () { return Private$2.Relationship; }\n  });\n  exports.DS = DS;\n\n  Object.defineProperty(exports, '__esModule', { value: true });\n\n}));\n","define(\"ember-data/adapter\", [\"exports\", \"@ember-data/adapter\"], function (_exports, _adapter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _adapter.default;\n    }\n  });\n});","define(\"ember-data/adapters/errors\", [\"exports\", \"@ember-data/adapter/error\"], function (_exports, _error) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"AbortError\", {\n    enumerable: true,\n    get: function () {\n      return _error.AbortError;\n    }\n  });\n  Object.defineProperty(_exports, \"AdapterError\", {\n    enumerable: true,\n    get: function () {\n      return _error.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ConflictError\", {\n    enumerable: true,\n    get: function () {\n      return _error.ConflictError;\n    }\n  });\n  Object.defineProperty(_exports, \"ForbiddenError\", {\n    enumerable: true,\n    get: function () {\n      return _error.ForbiddenError;\n    }\n  });\n  Object.defineProperty(_exports, \"InvalidError\", {\n    enumerable: true,\n    get: function () {\n      return _error.InvalidError;\n    }\n  });\n  Object.defineProperty(_exports, \"NotFoundError\", {\n    enumerable: true,\n    get: function () {\n      return _error.NotFoundError;\n    }\n  });\n  Object.defineProperty(_exports, \"ServerError\", {\n    enumerable: true,\n    get: function () {\n      return _error.ServerError;\n    }\n  });\n  Object.defineProperty(_exports, \"TimeoutError\", {\n    enumerable: true,\n    get: function () {\n      return _error.TimeoutError;\n    }\n  });\n  Object.defineProperty(_exports, \"UnauthorizedError\", {\n    enumerable: true,\n    get: function () {\n      return _error.UnauthorizedError;\n    }\n  });\n  Object.defineProperty(_exports, \"errorsArrayToHash\", {\n    enumerable: true,\n    get: function () {\n      return _error.errorsArrayToHash;\n    }\n  });\n  Object.defineProperty(_exports, \"errorsHashToArray\", {\n    enumerable: true,\n    get: function () {\n      return _error.errorsHashToArray;\n    }\n  });\n});","define(\"ember-data/adapters/json-api\", [\"exports\", \"@ember-data/adapter/json-api\"], function (_exports, _jsonApi) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _jsonApi.default;\n    }\n  });\n});","define(\"ember-data/adapters/rest\", [\"exports\", \"@ember-data/adapter/rest\"], function (_exports, _rest) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _rest.default;\n    }\n  });\n});","define(\"ember-data/attr\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _model.attr;\n    }\n  });\n});","define(\"ember-data/index\", [\"exports\", \"ember-inflector\", \"@ember/error\", \"@ember/version\", \"require\", \"@ember-data/adapter\", \"@ember-data/adapter/error\", \"@ember-data/adapter/json-api\", \"@ember-data/adapter/rest\", \"@ember-data/model\", \"@ember-data/serializer\", \"@ember-data/serializer/-private\", \"@ember-data/serializer/json\", \"@ember-data/serializer/json-api\", \"@ember-data/serializer/rest\", \"@ember-data/serializer/transform\", \"@ember-data/store\", \"ember-data/-private\", \"ember-data/setup-container\"], function (_exports, _emberInflector, _error, _version, _require, _adapter, _error2, _jsonApi, _rest, _model, _serializer, _private, _json, _jsonApi2, _rest2, _transform, _store, _private2, _setupContainer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var HAS_DEBUG_PACKAGE = (0, _require.has)('@ember-data/debug') || false;\n  if (_version.VERSION.match(/^1\\.([0-9]|1[0-2])\\./)) {\n    throw new _error.default('Ember Data requires at least Ember 1.13.0, but you have ' + _version.VERSION + '. Please upgrade your version of Ember, then upgrade Ember Data.');\n  }\n  _private2.DS.Store = _store.default;\n  _private2.DS.PromiseArray = _private2.PromiseArray;\n  _private2.DS.PromiseObject = _private2.PromiseObject;\n  _private2.DS.PromiseManyArray = _private2.PromiseManyArray;\n  _private2.DS.Model = _model.default;\n  _private2.DS.RootState = _private2.RootState;\n  _private2.DS.attr = _model.attr;\n  _private2.DS.Errors = _private2.Errors;\n  _private2.DS.InternalModel = _private2.InternalModel;\n  _private2.DS.Snapshot = _private2.Snapshot;\n  _private2.DS.Adapter = _adapter.default;\n  _private2.DS.AdapterError = _error2.default;\n  _private2.DS.InvalidError = _error2.InvalidError;\n  _private2.DS.TimeoutError = _error2.TimeoutError;\n  _private2.DS.AbortError = _error2.AbortError;\n  _private2.DS.UnauthorizedError = _error2.UnauthorizedError;\n  _private2.DS.ForbiddenError = _error2.ForbiddenError;\n  _private2.DS.NotFoundError = _error2.NotFoundError;\n  _private2.DS.ConflictError = _error2.ConflictError;\n  _private2.DS.ServerError = _error2.ServerError;\n  _private2.DS.errorsHashToArray = _error2.errorsHashToArray;\n  _private2.DS.errorsArrayToHash = _error2.errorsArrayToHash;\n  _private2.DS.Serializer = _serializer.default;\n  if (HAS_DEBUG_PACKAGE) {\n    _private2.DS.DebugAdapter = (0, _require.default)(\"@ember-data/debug\").default;\n  }\n  _private2.DS.RecordArray = _private2.RecordArray;\n  _private2.DS.AdapterPopulatedRecordArray = _private2.AdapterPopulatedRecordArray;\n  _private2.DS.ManyArray = _private2.ManyArray;\n  _private2.DS.RecordArrayManager = _private2.RecordArrayManager;\n  _private2.DS.RESTAdapter = _rest.default;\n  _private2.DS.BuildURLMixin = _adapter.BuildURLMixin;\n  _private2.DS.RESTSerializer = _rest2.default;\n  _private2.DS.JSONSerializer = _json.default;\n  _private2.DS.JSONAPIAdapter = _jsonApi.default;\n  _private2.DS.JSONAPISerializer = _jsonApi2.default;\n  _private2.DS.Transform = _transform.default;\n  _private2.DS.DateTransform = _private.DateTransform;\n  _private2.DS.StringTransform = _private.StringTransform;\n  _private2.DS.NumberTransform = _private.NumberTransform;\n  _private2.DS.BooleanTransform = _private.BooleanTransform;\n  _private2.DS.EmbeddedRecordsMixin = _rest2.EmbeddedRecordsMixin;\n  _private2.DS.belongsTo = _model.belongsTo;\n  _private2.DS.hasMany = _model.hasMany;\n  _private2.DS.Relationship = _private2.Relationship;\n  _private2.DS._setupContainer = _setupContainer.default;\n  Object.defineProperty(_private2.DS, 'normalizeModelName', {\n    enumerable: true,\n    writable: false,\n    configurable: false,\n    value: _store.normalizeModelName\n  });\n  var _default = _exports.default = _private2.DS;\n});","define(\"ember-data/model\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _model.default;\n    }\n  });\n});","define(\"ember-data/relationships\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"belongsTo\", {\n    enumerable: true,\n    get: function () {\n      return _model.belongsTo;\n    }\n  });\n  Object.defineProperty(_exports, \"hasMany\", {\n    enumerable: true,\n    get: function () {\n      return _model.hasMany;\n    }\n  });\n});","define(\"ember-data/serializer\", [\"exports\", \"@ember-data/serializer\"], function (_exports, _serializer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _serializer.default;\n    }\n  });\n});","define(\"ember-data/serializers/embedded-records-mixin\", [\"exports\", \"@ember-data/serializer/rest\"], function (_exports, _rest) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _rest.EmbeddedRecordsMixin;\n    }\n  });\n});","define(\"ember-data/serializers/json-api\", [\"exports\", \"@ember-data/serializer/json-api\"], function (_exports, _jsonApi) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _jsonApi.default;\n    }\n  });\n});","define(\"ember-data/serializers/json\", [\"exports\", \"@ember-data/serializer/json\"], function (_exports, _json) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _json.default;\n    }\n  });\n});","define(\"ember-data/serializers/rest\", [\"exports\", \"@ember-data/serializer/rest\"], function (_exports, _rest) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _rest.default;\n    }\n  });\n});","define(\"ember-data/setup-container\", [\"exports\", \"@ember/debug\", \"@ember-data/store\"], function (_exports, _debug, _store) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = setupContainer;\n  function initializeStore(application) {\n    // we can just use registerOptionsForType when we no longer\n    // support (deprecated) versions of @ember/test-helpers\n    // We're issuing a \"private-api\" deprecation for users of the\n    // deprecated @ember/test-helpers versions, but will keep\n    // this for as long as until 4.0 as needed\n    if (true /* DEBUG */ && !application.registerOptionsForType) {\n      (true && !(false) && (0, _debug.deprecate)(`Deprecated test syntax usage detected!\\n\\n\\t` + `This test relies on a deprecated test setup that is no longer supported by EmberData.` + ` To resolve this you will need to be on a recent version of @ember/test-helpers` + ` AND your tests must use \\`setApplication()\\` instead of \\`setResolver()\\` and` + ` \\`module()\\` with \\`setup*Test()\\`instead of \\`moduleFor*()\\`.`, false, {\n        id: 'ember-data:legacy-test-helper-support',\n        until: '3.17',\n        for: 'ember-data',\n        since: {\n          available: '3.15',\n          enabled: '3.15'\n        }\n      }));\n      application.optionsForType('serializer', {\n        singleton: false\n      });\n      application.optionsForType('adapter', {\n        singleton: false\n      });\n      if (!application.has('service:store')) {\n        application.register('service:store', _store.default);\n      }\n      return;\n    }\n    application.registerOptionsForType('serializer', {\n      singleton: false\n    });\n    application.registerOptionsForType('adapter', {\n      singleton: false\n    });\n    if (!application.hasRegistration('service:store')) {\n      application.register('service:store', _store.default);\n    }\n  }\n  function initializeStoreInjections(application) {\n    var inject = application.inject || application.injection;\n    inject.call(application, 'controller', 'store', 'service:store');\n    inject.call(application, 'route', 'store', 'service:store');\n  }\n  function setupContainer(application) {\n    initializeStoreInjections(application);\n    initializeStore(application);\n  }\n});","define(\"ember-data/store\", [\"exports\", \"@ember-data/store\"], function (_exports, _store) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _store.default;\n    }\n  });\n});","define(\"ember-data/transform\", [\"exports\", \"@ember-data/serializer/transform\"], function (_exports, _transform) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _transform.default;\n    }\n  });\n});","define(\"ember-data/version\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = \"3.28.13\";\n});","define(\"ember-fetch/errors\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.isAbortError = isAbortError;\n  _exports.isBadRequestResponse = isBadRequestResponse;\n  _exports.isConflictResponse = isConflictResponse;\n  _exports.isForbiddenResponse = isForbiddenResponse;\n  _exports.isGoneResponse = isGoneResponse;\n  _exports.isInvalidResponse = isInvalidResponse;\n  _exports.isNotFoundResponse = isNotFoundResponse;\n  _exports.isServerErrorResponse = isServerErrorResponse;\n  _exports.isUnauthorizedResponse = isUnauthorizedResponse;\n  /**\n   * Checks if the given response represents an unauthorized request error\n   */\n  function isUnauthorizedResponse(response) {\n    return response.status === 401;\n  }\n\n  /**\n   * Checks if the given response represents a forbidden request error\n   */\n  function isForbiddenResponse(response) {\n    return response.status === 403;\n  }\n\n  /**\n   * Checks if the given response represents an invalid request error\n   */\n  function isInvalidResponse(response) {\n    return response.status === 422;\n  }\n\n  /**\n   * Checks if the given response represents a bad request error\n   */\n  function isBadRequestResponse(response) {\n    return response.status === 400;\n  }\n\n  /**\n   * Checks if the given response represents a \"not found\" error\n   */\n  function isNotFoundResponse(response) {\n    return response.status === 404;\n  }\n\n  /**\n   * Checks if the given response represents a \"gone\" error\n   */\n  function isGoneResponse(response) {\n    return response.status === 410;\n  }\n\n  /**\n   * Checks if the given error is an \"abort\" error\n   */\n  function isAbortError(error) {\n    return error.name == 'AbortError';\n  }\n\n  /**\n   * Checks if the given response represents a conflict error\n   */\n  function isConflictResponse(response) {\n    return response.status === 409;\n  }\n\n  /**\n   * Checks if the given response represents a server error\n   */\n  function isServerErrorResponse(response) {\n    return response.status >= 500 && response.status < 600;\n  }\n});","define(\"ember-fetch/types\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.isPlainObject = isPlainObject;\n  function isPlainObject(obj) {\n    return Object.prototype.toString.call(obj) === '[object Object]';\n  }\n});","define(\"ember-fetch/utils/determine-body-promise\", [\"exports\", \"@ember/debug\"], function (_exports, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = determineBodyPromise;\n  /**\n   * Function that always attempts to parse the response as json, and if an error is thrown,\n   * returns `undefined` if the response is successful and has a status code of 204 (No Content),\n   * or 205 (Reset Content) or if the request method was 'HEAD', and the plain payload otherwise.\n   */\n  function determineBodyPromise(response, requestData) {\n    return response.text().then(function (payload) {\n      let ret = payload;\n      try {\n        ret = JSON.parse(payload);\n      } catch (error) {\n        if (!(error instanceof SyntaxError)) {\n          throw error;\n        }\n        const status = response.status;\n        if (response.ok && (status === 204 || status === 205 || requestData.method === 'HEAD')) {\n          ret = undefined;\n        } else {\n          (0, _debug.debug)(`This response was unable to be parsed as json: ${payload}`);\n        }\n      }\n      return ret;\n    });\n  }\n});","define(\"ember-fetch/utils/mung-options-for-fetch\", [\"exports\", \"@ember/polyfills\", \"ember-fetch/utils/serialize-query-params\", \"ember-fetch/types\"], function (_exports, _polyfills, _serializeQueryParams, _types) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = mungOptionsForFetch;\n  /**\n   * Helper function that translates the options passed to `jQuery.ajax` into a format that `fetch` expects.\n   */\n  function mungOptionsForFetch(options) {\n    const hash = (0, _polyfills.assign)({\n      credentials: 'same-origin'\n    }, options);\n\n    // Default to 'GET' in case `type` is not passed in (mimics jQuery.ajax).\n    hash.method = (hash.method || hash.type || 'GET').toUpperCase();\n    if (hash.data) {\n      // GET and HEAD requests can't have a `body`\n      if (hash.method === 'GET' || hash.method === 'HEAD') {\n        // If no options are passed, Ember Data sets `data` to an empty object, which we test for.\n        if (Object.keys(hash.data).length) {\n          // Test if there are already query params in the url (mimics jQuey.ajax).\n          const queryParamDelimiter = hash.url.indexOf('?') > -1 ? '&' : '?';\n          hash.url += `${queryParamDelimiter}${(0, _serializeQueryParams.serializeQueryParams)(hash.data)}`;\n        }\n      } else {\n        // NOTE: a request's body cannot be a POJO, so we stringify it if it is.\n        // JSON.stringify removes keys with values of `undefined` (mimics jQuery.ajax).\n        // If the data is not a POJO (it's a String, FormData, etc), we just set it.\n        // If the data is a string, we assume it's a stringified object.\n        if ((0, _types.isPlainObject)(hash.data)) {\n          hash.body = JSON.stringify(hash.data);\n        } else {\n          hash.body = hash.data;\n        }\n      }\n    }\n    return hash;\n  }\n});","define(\"ember-fetch/utils/serialize-query-params\", [\"exports\", \"ember-fetch/types\"], function (_exports, _types) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.serializeQueryParams = serializeQueryParams;\n  const RBRACKET = /\\[\\]$/;\n\n  /**\n   * Helper function that turns the data/body of a request into a query param string.\n   * This is directly copied from jQuery.param.\n   */\n  function serializeQueryParams(queryParamsObject) {\n    var s = [];\n    function buildParams(prefix, obj) {\n      var i, len, key;\n      if (prefix) {\n        if (Array.isArray(obj)) {\n          for (i = 0, len = obj.length; i < len; i++) {\n            if (RBRACKET.test(prefix)) {\n              add(s, prefix, obj[i]);\n            } else {\n              buildParams(prefix + '[' + (typeof obj[i] === 'object' ? i : '') + ']', obj[i]);\n            }\n          }\n        } else if ((0, _types.isPlainObject)(obj)) {\n          for (key in obj) {\n            buildParams(prefix + '[' + key + ']', obj[key]);\n          }\n        } else {\n          add(s, prefix, obj);\n        }\n      } else if (Array.isArray(obj)) {\n        for (i = 0, len = obj.length; i < len; i++) {\n          add(s, obj[i].name, obj[i].value);\n        }\n      } else {\n        for (key in obj) {\n          buildParams(key, obj[key]);\n        }\n      }\n      return s;\n    }\n    return buildParams('', queryParamsObject).join('&').replace(/%20/g, '+');\n  }\n\n  /**\n   * Part of the `serializeQueryParams` helper function.\n   */\n  function add(s, k, v) {\n    // Strip out keys with undefined value and replace null values with\n    // empty strings (mimics jQuery.ajax)\n    if (v === undefined) {\n      return;\n    } else if (v === null) {\n      v = '';\n    }\n    v = typeof v === 'function' ? v() : v;\n    s[s.length] = `${encodeURIComponent(k)}=${encodeURIComponent(v)}`;\n  }\n  var _default = _exports.default = serializeQueryParams;\n});","define(\"ember-froala-editor/components/froala-content\", [\"exports\", \"@ember/component\", \"@ember/template-factory\", \"@ember/component/template-only\"], function (_exports, _component, _templateFactory, _templateOnly) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div ...attributes class=\"fr-view\">\n    {{@content}}\n    {{yield}}\n  </div>\n  */\n  {\n    \"id\": \"mZcnx3O1\",\n    \"block\": \"[[[11,0],[17,1],[24,0,\\\"fr-view\\\"],[12],[1,\\\"\\\\n  \\\"],[1,[30,2]],[1,\\\"\\\\n  \\\"],[18,3,null],[1,\\\"\\\\n\\\"],[13]],[\\\"&attrs\\\",\\\"@content\\\",\\\"&default\\\"],false,[\\\"yield\\\"]]\",\n    \"moduleName\": \"ember-froala-editor/components/froala-content.hbs\",\n    \"isStrictMode\": false\n  });\n  var _default = _exports.default = (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, (0, _templateOnly.default)());\n});","define(\"ember-froala-editor/components/froala-editor\", [\"exports\", \"@ember/component\", \"@ember/template-factory\", \"@ember/application\", \"@ember/debug\", \"@ember/object\", \"@ember/polyfills\", \"@ember/template\", \"@glimmer/component\", \"ember-froala-editor/helpers/froala-arg\", \"ember-froala-editor/helpers/froala-html\", \"froala-editor\"], function (_exports, _component, _templateFactory, _application, _debug, _object, _polyfills, _template, _component2, _froalaArg, _froalaHtml, _froalaEditor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    <div\n    ...attributes\n    {{did-insert this.createEditor this.optionsWithInitEvent}}\n    {{did-update this.updateEditorContent @content}}\n    {{did-update this.updateDisabledState @disabled}}\n    {{will-destroy this.destroyEditor}}\n  >\n    {{#if this.fastboot.isFastboot}}\n      {{@content}}\n    {{else}}\n      {{! template-lint-disable no-unbound }}\n      {{unbound @content}}\n    {{/if}}\n  </div>\n  */\n  {\n    \"id\": \"EvdClmlR\",\n    \"block\": \"[[[11,0],[17,1],[4,[38,0],[[30,0,[\\\"createEditor\\\"]],[30,0,[\\\"optionsWithInitEvent\\\"]]],null],[4,[38,1],[[30,0,[\\\"updateEditorContent\\\"]],[30,2]],null],[4,[38,1],[[30,0,[\\\"updateDisabledState\\\"]],[30,3]],null],[4,[38,2],[[30,0,[\\\"destroyEditor\\\"]]],null],[12],[1,\\\"\\\\n\\\"],[41,[30,0,[\\\"fastboot\\\",\\\"isFastboot\\\"]],[[[1,\\\"    \\\"],[1,[30,2]],[1,\\\"\\\\n\\\"]],[]],[[[1,\\\"    \\\"],[1,[28,[35,4],[[30,2]],null]],[1,\\\"\\\\n\\\"]],[]]],[13]],[\\\"&attrs\\\",\\\"@content\\\",\\\"@disabled\\\"],false,[\\\"did-insert\\\",\\\"did-update\\\",\\\"will-destroy\\\",\\\"if\\\",\\\"unbound\\\"]]\",\n    \"moduleName\": \"ember-froala-editor/components/froala-editor.hbs\",\n    \"isStrictMode\": false\n  });\n  let FroalaEditorComponent = _exports.default = (_class = class FroalaEditorComponent extends _component2.default {\n    get update() {\n      return this.args.update;\n    }\n    get updateEvent() {\n      return this.args.updateEvent || 'contentChanged';\n    }\n    get fastboot() {\n      return (0, _application.getOwner)(this).lookup('service:fastboot');\n    }\n    get propertyOptions() {\n      let options = {};\n      for (let propertyName in this) {\n        if (Object.prototype.hasOwnProperty.call(_froalaEditor.default.DEFAULTS, propertyName)) {\n          options[propertyName] = this[propertyName];\n        }\n      }\n      return options;\n    }\n    get argumentOptions() {\n      let options = {};\n      for (let argumentName in this.args) {\n        if (Object.prototype.hasOwnProperty.call(_froalaEditor.default.DEFAULTS, argumentName)) {\n          options[argumentName] = this.args[argumentName];\n        }\n      }\n      return options;\n    }\n    get propertyCallbacks() {\n      let callbacks = {};\n\n      // Regex's used for replacing things in the name\n      const regexOnPrefix = /^on-/g;\n      const regexHyphens = /-/g;\n      const regexDots = /\\./g;\n\n      // Class methods are not available in a `for (name in this)` loop\n      let propertyNames = Object.getOwnPropertyNames(this.__proto__);\n      for (let propertyName of propertyNames) {\n        // Only names that start with on- are callbacks\n        if (propertyName.indexOf('on-') !== 0) {\n          continue;\n        }\n        (true && !(typeof this[propertyName] === 'function') && (0, _debug.assert)(`<FroalaEditor> ${propertyName} event callback property must be a function`, typeof this[propertyName] === 'function')); // Convert the name to what the event name would be\n        let eventName = propertyName;\n        eventName = eventName.replace(regexOnPrefix, '');\n        eventName = eventName.replace(regexHyphens, '.');\n\n        // Special use case for the 'popups.hide.[id]' event\n        // Ember usage would be '@on-popups-hide-id=(fn)'\n        // https://www.froala.com/wysiwyg-editor/docs/events#popups.show.[id]\n        if (eventName.indexOf('popups.hide.') === 0) {\n          let id = eventName.replace('popups.hide.', '');\n          id = id.replace(regexDots, '-'); // Convert back to hyphens\n          eventName = `popups.hide.[${id}]`;\n        }\n\n        // Wrap the callback to pass the editor in as the first argument\n        callbacks[eventName] = this[propertyName];\n      }\n      return callbacks;\n    }\n    get argumentCallbacks() {\n      let callbacks = {};\n\n      // Regex's used for replacing things in the name\n      const regexOnPrefix = /^on-/g;\n      const regexHyphens = /-/g;\n      const regexDots = /\\./g;\n      for (let argumentName in this.args) {\n        // Only names that start with on- are callbacks\n        if (argumentName.indexOf('on-') !== 0) {\n          continue;\n        }\n        (true && !(typeof this.args[argumentName] === 'function') && (0, _debug.assert)(`<FroalaEditor> @${argumentName} event callback argument must be a function`, typeof this.args[argumentName] === 'function')); // Convert the name to what the event name would be\n        let eventName = argumentName;\n        eventName = eventName.replace(regexOnPrefix, '');\n        eventName = eventName.replace(regexHyphens, '.');\n\n        // Special use case for the 'popups.hide.[id]' event\n        // Ember usage would be '@on-popups-hide-id=(fn)'\n        // https://www.froala.com/wysiwyg-editor/docs/events#popups.show.[id]\n        if (eventName.indexOf('popups.hide.') === 0) {\n          let id = eventName.replace('popups.hide.', '');\n          id = id.replace(regexDots, '-'); // Convert back to hyphens\n          eventName = `popups.hide.[${id}]`;\n        }\n\n        // Wrap the callback to pass the editor in as the first argument\n        callbacks[eventName] = this.args[argumentName];\n      }\n      return callbacks;\n    }\n    get combinedOptions() {\n      let config = (0, _application.getOwner)(this).resolveRegistration('config:environment');\n      return (0, _polyfills.assign)({}, config['ember-froala-editor'], this.options, this.propertyOptions, this.args.options, this.argumentOptions);\n    }\n    get combinedCallbacks() {\n      return (0, _polyfills.assign)({}, this.propertyCallbacks, this.argumentCallbacks);\n    }\n    get optionsWithInitEvent() {\n      let options = this.combinedOptions;\n\n      // Determine which event will be called first\n      let initEventName = options.initOnClick ? 'initializationDelayed' : 'initialized';\n\n      // Ensure the events object exists\n      options.events = options.events || {};\n\n      // Grab the current init callback before overriding\n      let initEventCallback = options.events[initEventName];\n\n      // Add the created callback to the proper initialization event\n      options.events[initEventName] = (0, _froalaArg.froalaArg)(this.setupEditor, initEventName, initEventCallback);\n      return options;\n    }\n    constructor(owner, args) {\n      super(owner, args);\n      _defineProperty(this, \"options\", {});\n      _defineProperty(this, \"editor\", null);\n      (true && !((0, _template.isHTMLSafe)(args.content) || args.content === null || typeof args.content === 'undefined') && (0, _debug.assert)('<FroalaEditor> @content argument must be a SafeString from htmlSafe()', (0, _template.isHTMLSafe)(args.content) || args.content === null || typeof args.content === 'undefined'));\n      (true && !(typeof args.update === 'function' || typeof args.update === 'undefined') && (0, _debug.assert)('<FroalaEditor> @update argument must be a function', typeof args.update === 'function' || typeof args.update === 'undefined'));\n      (true && !(typeof args.updateEvent === 'string' || typeof args.updateEvent === 'undefined') && (0, _debug.assert)('<FroalaEditor> @updateEvent argument must be a string', typeof args.updateEvent === 'string' || typeof args.updateEvent === 'undefined'));\n      (true && !(typeof args.options === 'object' || typeof args.options === 'undefined') && (0, _debug.assert)('<FroalaEditor> @options argument must be an object', typeof args.options === 'object' || typeof args.options === 'undefined'));\n    }\n    createEditor(element, [options]) {\n      new _froalaEditor.default(element, options);\n    }\n    setupEditor(editor, initEventName, initEventCallback, ...args) {\n      // Add a reference to each other so they accessible from either\n      editor.component = this;\n      this.editor = editor;\n\n      // Handle the initial @disabled state\n      // Note: Run before the event callbacks are added,\n      //       so the @on-edit-off callback isn't triggered\n      if (this.args.disabled) {\n        this.editor.edit.off();\n      }\n\n      // Call the combinedCallbacks getter once\n      let callbacks = this.combinedCallbacks;\n\n      // Add event handler callbacks, passing in the editor as the first arg\n      for (let eventName in callbacks) {\n        this.editor.events.on(eventName, (0, _froalaArg.froalaArg)(callbacks[eventName]));\n      }\n\n      // Add update callback when a setter is passed in\n      if (this.update) {\n        this.editor.events.on(this.updateEvent, (0, _froalaHtml.froalaHtml)(this.update), true); // true = run first\n      }\n\n      // Add destroyed callback so the editor can be unreferenced\n      this.editor.events.on('destroy', (0, _froalaArg.froalaArg)(this.teardownEditor), false); // false = run last\n\n      // Since we overrode this event callback,\n      // call the passed in callback(s) if there are any\n      if (initEventCallback === 'function') {\n        // Mimic default behavior by binding the editor instance to the called context\n        initEventCallback.bind(editor)(...args);\n      }\n      if (typeof callbacks[initEventName] === 'function') {\n        // Mimic a typical on-* callback by passing in the editor as the first arg\n        callbacks[initEventName](editor, ...args);\n      }\n    }\n    updateEditorContent(element, [content]) {\n      (true && !((0, _template.isHTMLSafe)(content) || content === null || typeof content === 'undefined') && (0, _debug.assert)('<FroalaEditor> updated @content argument must be a SafeString from htmlSafe()', (0, _template.isHTMLSafe)(content) || content === null || typeof content === 'undefined')); // content should be undefined or a SafeString\n      let html = (0, _template.isHTMLSafe)(content) ? content.toString() : '';\n\n      // When the editor is available,\n      // updates should go through `editor.html.set()`\n      if (this.editor) {\n        // Avoid recursive loop, check for changed content\n        if (this.editor.html.get() !== html) {\n          this.editor.html.set(html);\n        }\n\n        // When the editor is NOT available,\n        // updates should go through the DOM (directly)\n      } else {\n        // Avoid recursive loop, check for changed content\n        if (element.innerHTML !== html) {\n          element.innerHTML = html;\n        }\n      }\n    }\n    updateDisabledState(element, [disabled]) {\n      // Ignore when the editor is not available\n      if (!this.editor) {\n        return;\n      }\n\n      // Change the editor to the appropriate state\n      if (disabled && !this.editor.edit.isDisabled()) {\n        this.editor.edit.off();\n      } else if (!disabled && this.editor.edit.isDisabled()) {\n        this.editor.edit.on();\n      }\n    }\n    destroyEditor(/*element*/\n    ) {\n      // Guard against someone calling editor.destroy()\n      // from an event callback, which teardownEditor()\n      // would still trigger and unreference the editor\n      // before this callback had a chance to run\n      if (this.editor) {\n        this.editor.destroy();\n      }\n    }\n    teardownEditor(editor /*, ...args*/) {\n      delete editor.component;\n      this.editor = null;\n    }\n  }, _applyDecoratedDescriptor(_class.prototype, \"createEditor\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"createEditor\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"setupEditor\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"setupEditor\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateEditorContent\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateEditorContent\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateDisabledState\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateDisabledState\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"destroyEditor\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"destroyEditor\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"teardownEditor\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"teardownEditor\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, FroalaEditorComponent);\n});","define(\"ember-froala-editor/helpers/froala-arg\", [\"exports\", \"@ember/component/helper\", \"@ember/debug\"], function (_exports, _helper, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.froalaArg = froalaArg;\n  function froalaArg(callback, ...partial) {\n    (true && !(typeof callback === 'function') && (0, _debug.assert)('{{froala-arg}} helper requires a function as the first parameter', typeof callback === 'function'));\n    let wrapper = function froalaArgClosure(...args) {\n      return callback(this, ...partial, ...args);\n    };\n    (true && !(wrapper.toString() !== callback.toString()) && (0, _debug.assert)('{{froala-arg}} helper should not be call twice on the same callback', wrapper.toString() !== callback.toString()));\n    return wrapper;\n  }\n  var _default = _exports.default = (0, _helper.helper)(([callback, ...partial]) => froalaArg(callback, ...partial));\n});","define(\"ember-froala-editor/helpers/froala-html\", [\"exports\", \"@ember/component/helper\", \"@ember/debug\", \"@ember/template\"], function (_exports, _helper, _debug, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.froalaHtml = froalaHtml;\n  function froalaHtml(callback, returnSafeString = true, ...partial) {\n    (true && !(typeof callback === 'function') && (0, _debug.assert)('{{froala-html}} helper requires a function as the first parameter', typeof callback === 'function'));\n    return function froalaHtmlClosure(...args) {\n      // Editor might be passed in as the first arg if also wrapped with {{froala-arg}}\n      // Note: Shift editor off args so it isn't \"double passed\" when args are spread on the callback\n      let editor = typeof args[0] === 'object' && args[0].component ? args.shift() : this;\n      (true && !(editor.html && typeof editor.html.get === 'function') && (0, _debug.assert)('{{froala-html}} helper cannot determine the editor instance', editor.html && typeof editor.html.get === 'function')); // Get the html content from the editor, making it a SafeString if needed\n      let html = returnSafeString ? (0, _template.htmlSafe)(editor.html.get()) : editor.html.get();\n\n      // Call the setter, passing in the html first then all others\n      return callback(html, editor, ...partial, ...args);\n    };\n  }\n  var _default = _exports.default = (0, _helper.helper)(([callback, ...partial], {\n    returnSafeString = true\n  }) => froalaHtml(callback, returnSafeString, ...partial));\n});","define(\"ember-froala-editor/helpers/froala-method\", [\"exports\", \"@ember/component/helper\", \"@ember/debug\", \"@ember/object\"], function (_exports, _helper, _debug, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.froalaMethod = froalaMethod;\n  function froalaMethod(methodName, helperHash = {}, ...helperParams) {\n    (true && !(typeof methodName === 'string' && methodName.length > 0) && (0, _debug.assert)('{{froala-method}} helper needs a string method path as the first argument', typeof methodName === 'string' && methodName.length > 0)); // Create a closure to pass back as the \"action\" to be triggered\n    return function froalaMethodClosure(...closureParams) {\n      // Editor might be passed in as the first arg if also wrapped with {{froala-arg}}\n      let editor = typeof closureParams[0] === 'object' && closureParams[0].component ? closureParams[0] : this;\n      (true && !(typeof editor === 'object' && editor.component) && (0, _debug.assert)('{{froala-method}} helper cannot determine the editor instance', typeof editor === 'object' && editor.component)); // Get the actual method using ember.get() so that nested paths work here\n      let method = (0, _object.get)(editor, methodName);\n      (true && !(typeof method === 'function') && (0, _debug.assert)('{{froala-method}} helper needs a valid method path as the first argument', typeof method === 'function')); // Copy helperParams to pass into the method\n      let methodParams = [...helperParams];\n\n      // The helper hash can be used to \"replace\" the param\n      // values with params received from the event...\n      for (let propName in helperHash) {\n        // Determine the positions within each params arrays\n        // which should be used for replacing. parseInt() in\n        // case the value is a string integer, ex: \"2\".\n        let helperPos = helperParams.indexOf(propName);\n        let eventPos = parseInt(helperHash[propName]);\n\n        // If the parameter \"name\" was found in the helperParams,\n        // and the relative arguments contains something at that position,\n        // then go ahead and replace the param value...\n        if (helperPos !== -1 && closureParams.length >= eventPos) {\n          methodParams[helperPos] = closureParams[eventPos - 1];\n        }\n      }\n\n      // Trigger the Froala Editor method\n      return method(...methodParams);\n    };\n  }\n  var _default = _exports.default = (0, _helper.helper)(([methodName, ...partial], hash) => froalaMethod(methodName, hash, ...partial));\n});","define(\"ember-froala-editor/helpers/html-safe\", [\"exports\", \"@ember/component/helper\", \"@ember/template\"], function (_exports, _helper, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.htmlSafe = htmlSafe;\n  function htmlSafe(context, ...partial) {\n    // @on-eventName={{html-safe (fn (mut this.content))}}\n    if (typeof context === 'function') {\n      return function toStringClosure(content, ...args) {\n        let contentSafeString = (0, _template.isHTMLSafe)(content) ? content : (0, _template.htmlSafe)(content);\n        return context(contentSafeString, ...partial, ...args);\n      };\n\n      // @content={{html-safe this.content}}\n    } else {\n      return (0, _template.isHTMLSafe)(context) ? context : (0, _template.htmlSafe)(context);\n    }\n  }\n  var _default = _exports.default = (0, _helper.helper)(([context, ...partial]) => htmlSafe(context, ...partial));\n});","define(\"ember-froala-editor/helpers/merged-hash\", [\"exports\", \"@ember/component/helper\", \"@ember/polyfills\"], function (_exports, _helper, _polyfills) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.mergedHash = mergedHash;\n  function mergedHash(...objects) {\n    // Assumes all params are objects\n    return (0, _polyfills.assign)({}, ...objects);\n  }\n  var _default = _exports.default = (0, _helper.helper)((params, hash) => mergedHash(...params, hash));\n});","define(\"ember-froala-editor/helpers/to-string\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.toString = toString;\n  function toString(context, ...partial) {\n    // @update={{to-string (fn (mut this.content))}}\n    if (typeof context === 'function') {\n      return function toStringClosure(content, ...args) {\n        let contentString = content && typeof content.toString === 'function' ? content.toString() : content;\n        return context(contentString, ...partial, ...args);\n      };\n\n      // {{to-string this.content}}\n    } else {\n      return context && typeof context.toString === 'function' ? context.toString() : context;\n    }\n  }\n  var _default = _exports.default = (0, _helper.helper)(([context, ...partial]) => toString(context, ...partial));\n});","define(\"ember-in-viewport/-private/observer-admin\", [\"exports\", \"intersection-observer-admin\"], function (_exports, _intersectionObserverAdmin) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Static administrator to ensure use one IntersectionObserver per combination of root + observerOptions\n   * Use `root` (viewport) as lookup property and weakly referenced\n   * `root` will have many keys with each value being and object containing one IntersectionObserver instance and all the elements to observe\n   * Provided callbacks will ensure consumer of this service is able to react to enter or exit of intersection observer\n   * This provides important optimizations since we are not instantiating a new IntersectionObserver instance for every element and\n   * instead reusing the instance.\n   *\n   * @class ObserverAdmin\n   */\n  class ObserverAdmin {\n    /** @private **/\n    constructor() {\n      this.instance = new _intersectionObserverAdmin.default();\n    }\n\n    /**\n     * @method add\n     * @param HTMLElement element\n     * @param Object observerOptions\n     * @param Function enterCallback\n     * @param Function exitCallback\n     * @void\n     */\n    add(element, observerOptions, enterCallback, exitCallback) {\n      if (enterCallback) {\n        this.addEnterCallback(element, enterCallback);\n      }\n      if (exitCallback) {\n        this.addExitCallback(element, exitCallback);\n      }\n      return this.instance.observe(element, observerOptions);\n    }\n    addEnterCallback(element, enterCallback) {\n      this.instance.addEnterCallback(element, enterCallback);\n    }\n    addExitCallback(element, exitCallback) {\n      this.instance.addExitCallback(element, exitCallback);\n    }\n\n    /**\n     * This method takes a target element, observerOptions and a the scrollable area.\n     * The latter two act as unique identifiers to figure out which intersection observer instance\n     * needs to be used to call `unobserve`\n     *\n     * @method unobserve\n     * @param HTMLElement target\n     * @param Object observerOptions\n     * @param String scrollableArea\n     * @void\n     */\n    unobserve(...args) {\n      this.instance.unobserve(...args);\n    }\n    destroy(...args) {\n      this.instance.destroy(...args);\n    }\n  }\n  _exports.default = ObserverAdmin;\n});","define(\"ember-in-viewport/-private/raf-admin\", [\"exports\", \"raf-pool\", \"ember-in-viewport/utils/is-in-viewport\"], function (_exports, _rafPool, _isInViewport) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.startRAF = startRAF;\n  /**\n   * ensure use on requestAnimationFrame, no matter how many components\n   * on the page are using this mixin\n   *\n   * @class RAFAdmin\n   */\n  class RAFAdmin {\n    /** @private **/\n    constructor() {\n      this._rafPool = new _rafPool.default();\n      this.elementRegistry = new WeakMap();\n    }\n    add(...args) {\n      return this._rafPool.add(...args);\n    }\n    flush() {\n      return this._rafPool.flush();\n    }\n    remove(...args) {\n      return this._rafPool.remove(...args);\n    }\n    reset(...args) {\n      this._rafPool.reset(...args);\n      this._rafPool.stop(...args);\n    }\n\n    /**\n     * We provide our own element registry to add callbacks the user creates\n     *\n     * @method addEnterCallback\n     * @param {HTMLElement} element\n     * @param {Function} enterCallback\n     */\n    addEnterCallback(element, enterCallback) {\n      this.elementRegistry.set(element, Object.assign({}, this.elementRegistry.get(element), {\n        enterCallback\n      }));\n    }\n\n    /**\n     * We provide our own element registry to add callbacks the user creates\n     *\n     * @method addExitCallback\n     * @param {HTMLElement} element\n     * @param {Function} exitCallback\n     */\n    addExitCallback(element, exitCallback) {\n      this.elementRegistry.set(element, Object.assign({}, this.elementRegistry.get(element), {\n        exitCallback\n      }));\n    }\n  }\n\n  /**\n   * This is a recursive function that adds itself to raf-pool to be executed on a set schedule\n   *\n   * @method startRAF\n   * @param {HTMLElement} element\n   * @param {Object} configurationOptions\n   * @param {Function} enterCallback\n   * @param {Function} exitCallback\n   * @param {Function} addRAF\n   * @param {Function} removeRAF\n   */\n  _exports.default = RAFAdmin;\n  function startRAF(element, {\n    scrollableArea,\n    viewportTolerance,\n    viewportSpy = false\n  }, enterCallback, exitCallback, addRAF,\n  // bound function from service to add elementId to raf pool\n  removeRAF // bound function from service to remove elementId to raf pool\n  ) {\n    const domScrollableArea = typeof scrollableArea === 'string' && scrollableArea ? document.querySelector(scrollableArea) : scrollableArea instanceof HTMLElement ? scrollableArea : undefined;\n    const height = domScrollableArea ? domScrollableArea.offsetHeight + domScrollableArea.getBoundingClientRect().top : window.innerHeight;\n    const width = scrollableArea ? domScrollableArea.offsetWidth + domScrollableArea.getBoundingClientRect().left : window.innerWidth;\n    const boundingClientRect = element.getBoundingClientRect();\n    if (boundingClientRect) {\n      const viewportEntered = element.getAttribute('data-in-viewport-entered');\n      triggerDidEnterViewport(element, (0, _isInViewport.default)(boundingClientRect, height, width, viewportTolerance), viewportSpy, enterCallback, exitCallback, viewportEntered);\n      if (viewportSpy || viewportEntered !== 'true') {\n        // recursive\n        // add to pool of requestAnimationFrame listeners and executed on set schedule\n        addRAF(startRAF.bind(this, element, {\n          scrollableArea,\n          viewportTolerance,\n          viewportSpy\n        }, enterCallback, exitCallback, addRAF, removeRAF));\n      } else {\n        removeRAF();\n      }\n    }\n  }\n  function triggerDidEnterViewport(element, hasEnteredViewport, viewportSpy, enterCallback, exitCallback, viewportEntered = false) {\n    const didEnter = (!viewportEntered || viewportEntered === 'false') && hasEnteredViewport;\n    const didLeave = viewportEntered === 'true' && !hasEnteredViewport;\n    if (didEnter) {\n      element.setAttribute('data-in-viewport-entered', true);\n      enterCallback();\n    }\n    if (didLeave) {\n      exitCallback();\n\n      // reset so we can call again\n      if (viewportSpy) {\n        element.setAttribute('data-in-viewport-entered', false);\n      }\n    }\n  }\n});","define(\"ember-in-viewport/breakpoints\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    mobile: '(max-width: 767px)',\n    tablet: '(min-width: 768px) and (max-width: 991px)',\n    desktop: '(min-width: 992px) and (max-width: 1200px)'\n  };\n});","define(\"ember-in-viewport/index\", [\"exports\", \"ember-in-viewport/mixins/in-viewport\"], function (_exports, _inViewport) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  // eslint-disable-next-line ember/no-mixins\n  var _default = _exports.default = _inViewport.default;\n});","define(\"ember-in-viewport/initializers/viewport-config\", [\"exports\", \"@ember/polyfills\", \"ember-in-viewport/utils/can-use-dom\"], function (_exports, _polyfills, _canUseDom) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.initialize = initialize;\n  const defaultConfig = {\n    viewportEnabled: true,\n    viewportDidScroll: true,\n    viewportSpy: false,\n    viewportScrollSensitivity: 1,\n    viewportRefreshRate: 100,\n    viewportListeners: [{\n      context: window,\n      event: 'scroll'\n    }, {\n      context: window,\n      event: 'resize'\n    }],\n    viewportTolerance: {\n      top: 0,\n      left: 0,\n      bottom: 0,\n      right: 0\n    },\n    intersectionThreshold: 0,\n    scrollableArea: null // defaults to layout view (document.documentElement)\n  };\n  if (_canUseDom.default) {\n    defaultConfig.viewportListeners.push({\n      context: document,\n      event: 'touchmove'\n    });\n  }\n  function initialize() {\n    const application = arguments[1] || arguments[0];\n    const config = application.resolveRegistration('config:environment');\n    const {\n      viewportConfig = {}\n    } = config;\n    const mergedConfig = (0, _polyfills.assign)({}, defaultConfig, viewportConfig);\n    application.register('config:in-viewport', mergedConfig, {\n      instantiate: false\n    });\n  }\n  var _default = _exports.default = {\n    name: 'viewport-config',\n    initialize: initialize\n  };\n});","define(\"ember-in-viewport/mixins/in-viewport\", [\"exports\", \"@ember/polyfills\", \"@ember/object/mixin\", \"@ember/utils\", \"@ember/debug\", \"@ember/service\", \"@ember/object\", \"@ember/runloop\", \"@ember/object/computed\", \"@ember/application\", \"ember-in-viewport/-private/raf-admin\", \"ember-in-viewport/utils/can-use-dom\", \"ember-in-viewport/utils/can-use-raf\", \"ember-in-viewport/utils/find-elem\", \"ember-in-viewport/utils/can-use-intersection-observer\", \"ember-in-viewport/utils/check-scroll-direction\"], function (_exports, _polyfills, _mixin, _utils, _debug, _service, _object, _runloop, _computed, _application, _rafAdmin, _canUseDom, _canUseRaf, _findElem, _canUseIntersectionObserver, _checkScrollDirection) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /* eslint-disable ember/no-new-mixins, ember/no-get, ember/no-observers, ember/no-incorrect-calls-with-inline-anonymous-functions */\n\n  const lastDirection = {};\n  const lastPosition = {};\n  var _default = _exports.default = _mixin.default.create({\n    /**\n     * @property _debouncedEventHandler\n     * @default null\n     */\n    _debouncedEventHandler: null,\n    /**\n     * unbinding listeners will short circuit rAF\n     *\n     * @property _stopListening\n     * @default false\n     */\n    _stopListening: false,\n    inViewport: (0, _service.inject)(),\n    /**\n     * @property viewportExited\n     * @type Boolean\n     */\n    viewportExited: (0, _computed.not)('viewportEntered').readOnly(),\n    init() {\n      // ensure this mixin runs first, then your component can override the options\n      this._super(...arguments);\n      let options = (0, _polyfills.assign)({\n        viewportUseRAF: (0, _canUseRaf.default)(),\n        viewportEntered: false,\n        viewportListeners: []\n      }, this._buildOptions());\n\n      // set viewportUseIntersectionObserver after merging users config to avoid errors in browsers that lack support (https://github.com/DockYard/ember-in-viewport/issues/146)\n      options = (0, _polyfills.assign)(options, {\n        viewportUseIntersectionObserver: (0, _canUseIntersectionObserver.default)()\n      });\n      (0, _object.setProperties)(this, options);\n      (0, _object.set)(this, '_evtListenerClosures', []);\n    },\n    didInsertElement() {\n      this._super(...arguments);\n      (true && !(false) && (0, _debug.deprecate)('This mixin is deprecated. We suggest you migrate to the inViewport service or use the {{in-viewport}} modifier', false, {\n        id: 'ember-in-viewport.mixin',\n        until: '4.0.0',\n        url: 'https://github.com/DockYard/ember-in-viewport#readme'\n      }));\n      if (!_canUseDom.default) {\n        return;\n      }\n      const viewportEnabled = (0, _object.get)(this, 'viewportEnabled');\n      if (viewportEnabled) {\n        this.watchElement((0, _object.get)(this, 'element'));\n      }\n    },\n    willDestroyElement() {\n      this._super(...arguments);\n      this._unbindListeners((0, _object.get)(this, 'element'));\n    },\n    _buildOptions(defaultOptions = {}) {\n      const owner = (0, _application.getOwner)(this);\n      if (owner) {\n        return (0, _polyfills.assign)(defaultOptions, owner.lookup('config:in-viewport'));\n      }\n    },\n    watchElement(element) {\n      this._setInitialViewport(element);\n      this._addObserverIfNotSpying(element);\n      const viewportDidScroll = (0, _object.get)(this, 'viewportDidScroll');\n      if (viewportDidScroll) {\n        (0, _debug.debug)('[viewportDidScroll] This will be false by default in the next major release');\n        this._bindScrollDirectionListener((0, _object.get)(this, 'viewportScrollSensitivity'));\n      }\n      if (!(0, _object.get)(this, 'viewportUseIntersectionObserver') && !(0, _object.get)(this, 'viewportUseRAF')) {\n        (0, _object.get)(this, 'viewportListeners').forEach(listener => {\n          let {\n            context,\n            event\n          } = listener;\n          context = (0, _object.get)(this, 'scrollableArea') || context;\n          this._bindListeners(context, event, element);\n        });\n      }\n    },\n    _addObserverIfNotSpying(element) {\n      if (!(0, _object.get)(this, 'viewportSpy')) {\n        this.addObserver('viewportEntered', this, (0, _runloop.bind)(this, '_unbindIfEntered', element));\n      }\n    },\n    _setInitialViewport(element) {\n      const isTearingDown = this.isDestroyed || this.isDestroying;\n      if (!element || isTearingDown) {\n        return;\n      }\n      const inViewport = (0, _object.get)(this, 'inViewport');\n      if ((0, _object.get)(this, 'viewportUseIntersectionObserver')) {\n        return (0, _runloop.scheduleOnce)('afterRender', this, () => {\n          const scrollableArea = (0, _object.get)(this, 'scrollableArea');\n          const viewportTolerance = (0, _object.get)(this, 'viewportTolerance');\n          const intersectionThreshold = (0, _object.get)(this, 'intersectionThreshold');\n          inViewport.watchElement(element, {\n            intersectionThreshold,\n            viewportTolerance,\n            scrollableArea\n          }, (0, _runloop.bind)(this, this._onEnterIntersection), (0, _runloop.bind)(this, this._onExitIntersection));\n        });\n      } else if ((0, _object.get)(this, 'viewportUseRAF')) {\n        inViewport.startRAF();\n        const scrollableArea = (0, _object.get)(this, 'scrollableArea');\n        const viewportTolerance = (0, _object.get)(this, 'viewportTolerance');\n        const viewportSpy = (0, _object.get)(this, 'viewportSpy');\n        const enterCallback = () => {\n          const isTearingDown = this.isDestroyed || this.isDestroying;\n          const viewportEntered = element.getAttribute('data-in-viewport-entered') === 'true';\n          if (!isTearingDown && (viewportSpy || viewportEntered)) {\n            (0, _object.set)(this, 'viewportEntered', true);\n            this.trigger('didEnterViewport');\n          }\n        };\n        const exitCallback = () => {\n          const isTearingDown = this.isDestroyed || this.isDestroying;\n          if (!isTearingDown && viewportSpy) {\n            (0, _object.set)(this, 'viewportEntered', false);\n            this.trigger('didExitViewport');\n          }\n        };\n        (0, _rafAdmin.startRAF)(element, {\n          scrollableArea,\n          viewportTolerance,\n          viewportSpy\n        }, enterCallback, exitCallback, inViewport.addRAF.bind(inViewport, element.id), inViewport.removeRAF.bind(inViewport, element.id));\n      } else {\n        return (0, _runloop.scheduleOnce)('afterRender', this, () => {\n          this._setViewportEntered(element);\n        });\n      }\n    },\n    /**\n     * used by rAF and scroll event listeners to determine if mixin is in viewport\n     * Remember to set `viewportSpy` to true if you want to continuously observe your element\n     *\n     * @method _setViewportEntered\n     */\n    _setViewportEntered(element) {\n      const scrollableArea = (0, _object.get)(this, 'scrollableArea') ? document.querySelector((0, _object.get)(this, 'scrollableArea')) : undefined;\n      const height = scrollableArea ? scrollableArea.offsetHeight + scrollableArea.getBoundingClientRect().top : window.innerHeight;\n      const width = scrollableArea ? scrollableArea.offsetWidth + scrollableArea.getBoundingClientRect().left : window.innerWidth;\n      const boundingClientRect = element.getBoundingClientRect();\n      if (boundingClientRect) {\n        this._triggerDidAccessViewport((0, _object.get)(this, 'inViewport').isInViewport(boundingClientRect, height, width, (0, _object.get)(this, 'viewportTolerance')), (0, _object.get)(this, 'viewportEntered'));\n        if ((0, _object.get)(this, 'viewportUseRAF') && !(0, _object.get)(this, '_stopListening')) {\n          (0, _object.get)(this, 'inViewport').addRAF((0, _object.get)(this, 'elementId'), (0, _runloop.bind)(this, this._setViewportEntered, element));\n        }\n      }\n    },\n    /**\n     * Callback provided to IntersectionObserver\n     * trigger didEnterViewport callback\n     *\n     * @method _onEnterIntersection\n     */\n    _onEnterIntersection() {\n      const isTearingDown = this.isDestroyed || this.isDestroying;\n      if (!isTearingDown) {\n        (0, _object.set)(this, 'viewportEntered', true);\n      }\n      this.trigger('didEnterViewport');\n    },\n    /**\n     * trigger didExitViewport callback\n     *\n     * @method _onExitIntersection\n     */\n    _onExitIntersection() {\n      const isTearingDown = this.isDestroyed || this.isDestroying;\n      if (!isTearingDown) {\n        (0, _object.set)(this, 'viewportEntered', false);\n      }\n      this.trigger('didExitViewport');\n    },\n    /**\n     * @method _triggerDidScrollDirection\n     * @param contextEl\n     * @param sensitivity\n     */\n    _triggerDidScrollDirection(contextEl = null, sensitivity = 1) {\n      (true && !(contextEl) && (0, _debug.assert)('You must pass a valid context element to _triggerDidScrollDirection', contextEl));\n      (true && !(sensitivity) && (0, _debug.assert)('sensitivity cannot be 0', sensitivity));\n      const elementId = (0, _object.get)(this, 'elementId');\n      const lastDirectionForEl = lastDirection[elementId];\n      const lastPositionForEl = lastPosition[elementId];\n      const newPosition = {\n        top: contextEl.scrollTop,\n        left: contextEl.scrollLeft\n      };\n      const scrollDirection = (0, _checkScrollDirection.default)(lastPositionForEl, newPosition, sensitivity);\n      const directionChanged = scrollDirection !== lastDirectionForEl;\n      if (scrollDirection && directionChanged && (0, _object.get)(this, 'viewportDidScroll')) {\n        this.trigger('didScroll', scrollDirection);\n        lastDirection[elementId] = scrollDirection;\n      }\n      lastPosition[elementId] = newPosition;\n    },\n    /**\n     * @method _triggerDidAccessViewport\n     * @param hasEnteredViewport\n     * @param viewportEntered\n     */\n    _triggerDidAccessViewport(hasEnteredViewport = false, viewportEntered) {\n      const isTearingDown = this.isDestroyed || this.isDestroying;\n      if (isTearingDown) {\n        return;\n      }\n      const didEnter = !viewportEntered && hasEnteredViewport;\n      const didLeave = viewportEntered && !hasEnteredViewport;\n      let triggeredEventName = '';\n      if (didEnter) {\n        triggeredEventName = 'didEnterViewport';\n      }\n      if (didLeave) {\n        triggeredEventName = 'didExitViewport';\n      }\n      if ((0, _object.get)(this, 'viewportSpy') || !viewportEntered) {\n        (0, _object.set)(this, 'viewportEntered', hasEnteredViewport);\n      }\n      if (triggeredEventName) {\n        this.trigger(triggeredEventName);\n      }\n    },\n    /**\n     * Unbind when enter viewport only if viewportSpy is false\n     *\n     * @method _unbindIfEntered\n     */\n    _unbindIfEntered(element) {\n      if ((0, _object.get)(this, 'viewportEntered')) {\n        this._unbindListeners(element);\n        this.removeObserver('viewportEntered', this, '_unbindIfEntered');\n        (0, _object.set)(this, 'viewportEntered', false);\n      }\n    },\n    /**\n     * General utility function\n     *\n     * @method _debouncedEvent\n     */\n    _debouncedEvent(methodName, ...args) {\n      (true && !(methodName) && (0, _debug.assert)('You must pass a methodName to _debouncedEvent', methodName));\n      (true && !((0, _utils.typeOf)(methodName) === 'string') && (0, _debug.assert)('methodName must be a string', (0, _utils.typeOf)(methodName) === 'string'));\n      (0, _runloop.debounce)(this, () => this[methodName](...args), (0, _object.get)(this, 'viewportRefreshRate'));\n    },\n    _bindScrollDirectionListener(sensitivity = 1) {\n      (true && !(sensitivity) && (0, _debug.assert)('sensitivity cannot be 0', sensitivity));\n      const contextEl = (0, _object.get)(this, 'scrollableArea') || window;\n      const elem = (0, _findElem.default)(contextEl);\n      this._debouncedEventHandler = this._debouncedEvent.bind(this, '_triggerDidScrollDirection', elem, sensitivity);\n      elem.addEventListener('scroll', this._debouncedEventHandler, {\n        passive: true\n      });\n    },\n    _unbindScrollDirectionListener() {\n      const elementId = (0, _object.get)(this, 'elementId');\n      const context = (0, _object.get)(this, 'scrollableArea') || window;\n      const elem = (0, _findElem.default)(context);\n      if (elem) {\n        elem.removeEventListener('scroll', this._debouncedEventHandler, {\n          passive: true\n        });\n        delete lastPosition[elementId];\n        delete lastDirection[elementId];\n      }\n    },\n    /**\n     * Only if not using IntersectionObserver and rAF\n     *\n     * @method _bindListeners\n     */\n    _bindListeners(context = null, event = null, element = null) {\n      (true && !(context) && (0, _debug.assert)('You must pass a valid context to _bindListeners', context));\n      (true && !(event) && (0, _debug.assert)('You must pass a valid event to _bindListeners', event));\n      let elem = (0, _findElem.default)(context);\n      let evtListener = () => this._debouncedEvent('_setViewportEntered', element);\n      this._evtListenerClosures.push({\n        event: event,\n        evtListener\n      });\n      elem.addEventListener(event, evtListener, false);\n    },\n    /**\n     * Remove listeners for rAF or scroll event listeners\n     * Either from component destroy or viewport entered and\n     * need to turn off listening\n     *\n     * @method _unbindListeners\n     */\n    _unbindListeners(element) {\n      (0, _object.set)(this, '_stopListening', true);\n\n      // if IntersectionObserver\n      if ((0, _object.get)(this, 'viewportUseIntersectionObserver') && (0, _object.get)(this, 'viewportEnabled')) {\n        (0, _object.get)(this, 'inViewport').unobserveIntersectionObserver(element);\n      }\n\n      // if rAF\n      if (!(0, _object.get)(this, 'viewportUseIntersectionObserver') && (0, _object.get)(this, 'viewportUseRAF')) {\n        const elementId = (0, _object.get)(this, 'elementId');\n        (0, _object.get)(this, 'inViewport').removeRAF(elementId);\n      }\n\n      // if scroll event listeners\n      if (!(0, _object.get)(this, 'viewportUseIntersectionObserver') && !(0, _object.get)(this, 'viewportUseRAF')) {\n        (0, _object.get)(this, 'viewportListeners').forEach(listener => {\n          let {\n            context,\n            event\n          } = listener;\n          context = (0, _object.get)(this, 'scrollableArea') || context;\n          let elem = (0, _findElem.default)(context);\n          let {\n            evtListener\n          } = this._evtListenerClosures.find(closure => event === closure.event) || {};\n          elem.removeEventListener(event, evtListener, false);\n        });\n      }\n\n      // 4. last but not least\n      const viewportDidScroll = (0, _object.get)(this, 'viewportDidScroll');\n      if (viewportDidScroll) {\n        this._unbindScrollDirectionListener();\n      }\n    }\n  });\n});","define(\"ember-in-viewport/modifiers/in-viewport\", [\"exports\", \"@ember/debug\", \"@ember/object\", \"@ember/service\", \"ember-modifier\", \"fast-deep-equal\"], function (_exports, _debug, _object, _service, _emberModifier, _fastDeepEqual) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const WATCHED_ELEMENTS = true /* DEBUG */ ? new WeakSet() : undefined;\n  let InViewportModifier = _exports.default = (_class = class InViewportModifier extends _emberModifier.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"inViewport\", _descriptor, this);\n      _defineProperty(this, \"name\", 'in-viewport');\n      _defineProperty(this, \"lastOptions\", void 0);\n    }\n    get options() {\n      // eslint-disable-next-line no-unused-vars\n      const {\n        onEnter,\n        onExit,\n        ...options\n      } = this.args.named;\n      return options;\n    }\n    get hasStaleOptions() {\n      return !(0, _fastDeepEqual.default)(this.options, this.lastOptions);\n    }\n    validateArguments() {\n      (true && !(this.args.positional.length === 0) && (0, _debug.assert)(`'{{in-viewport}}' does not accept positional parameters. Specify listeners via 'onEnter' / 'onExit'.`, this.args.positional.length === 0));\n      (true && !(typeof this.args.named.onEnter === 'function' || typeof this.args.named.onExit === 'function') && (0, _debug.assert)(`'{{in-viewport}}' either expects 'onEnter', 'onExit' or both to be present.`, typeof this.args.named.onEnter === 'function' || typeof this.args.named.onExit === 'function'));\n    }\n    onEnter(...args) {\n      if (this.args.named.onEnter) {\n        this.args.named.onEnter.call(null, this.element, ...args);\n      }\n      if (!this.options.viewportSpy) {\n        this.inViewport.stopWatching(this.element);\n      }\n    }\n    onExit(...args) {\n      if (this.args.named.onExit) {\n        this.args.named.onExit.call(null, this.element, ...args);\n      }\n    }\n    setupWatcher() {\n      (true && !(!WATCHED_ELEMENTS.has(this.element)) && (0, _debug.assert)(`'${this.element}' is already being watched. Make sure that '{{in-viewport}}' is only used once on this element and that you are not calling 'inViewport.watchElement(element)' in other places.`, !WATCHED_ELEMENTS.has(this.element)));\n      if (true /* DEBUG */) WATCHED_ELEMENTS.add(this.element);\n      this.inViewport.watchElement(this.element, this.options, this.onEnter, this.onExit);\n      this.lastOptions = this.options;\n    }\n    destroyWatcher() {\n      if (true /* DEBUG */) WATCHED_ELEMENTS.delete(this.element);\n      this.inViewport.stopWatching(this.element);\n    }\n    didInstall() {\n      this.setupWatcher();\n    }\n    didUpdateArguments() {\n      if (this.hasStaleOptions) {\n        this.destroyWatcher();\n        this.setupWatcher();\n      }\n    }\n    didReceiveArguments() {\n      this.validateArguments();\n    }\n    willRemove() {\n      this.destroyWatcher();\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"inViewport\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"onEnter\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onEnter\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"onExit\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"onExit\"), _class.prototype), _class);\n});","define('ember-in-viewport/services/-in-viewport', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n\n  /**\n   * ensure use on requestAnimationFrame, no matter how many components\n   * on the page are using this mixin\n   *\n   * @class rAFPoolManager\n   */\n  class rAFPoolManager extends Ember.Service {\n    init(...args) {\n      super.init(...args);\n      this.pool = [];\n      this.flush();\n    }\n\n    flush() {\n      window.requestAnimationFrame(() => {\n        // assign to a variable to avoid ensure no race conditions happen\n        // b/w flushing the pool and interating through the pool\n        let pool = this.pool;\n        this.reset();\n        pool.forEach(item => {\n          item[Object.keys(item)[0]]();\n        });\n        this.flush();\n      });\n    }\n\n    add(elementId, fn) {\n      this.pool.push({ [elementId]: fn });\n      return fn;\n    }\n\n    remove(elementId) {\n      this.pool = this.pool.filter(obj => !obj[elementId]);\n    }\n\n    reset() {\n      this.pool = [];\n    }\n  }\n  exports.default = rAFPoolManager;\n});","define(\"ember-in-viewport/services/in-viewport\", [\"exports\", \"@ember/service\", \"@ember/object\", \"@ember/polyfills\", \"@ember/application\", \"@ember/debug\", \"@ember/runloop\", \"ember-in-viewport/utils/is-in-viewport\", \"ember-in-viewport/utils/can-use-raf\", \"ember-in-viewport/utils/can-use-intersection-observer\", \"ember-in-viewport/-private/observer-admin\", \"ember-in-viewport/-private/raf-admin\"], function (_exports, _service, _object, _polyfills, _application, _debug, _runloop, _isInViewport, _canUseRaf, _canUseIntersectionObserver, _observerAdmin, _rafAdmin) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const noop = () => {};\n\n  /**\n   * ensure use on requestAnimationFrame, no matter how many components\n   * on the page are using this mixin\n   *\n   * @class InViewport\n   * @module Ember.Service\n   */\n  class InViewport extends _service.default {\n    constructor() {\n      super(...arguments);\n      (0, _object.set)(this, 'registry', new WeakMap());\n      let options = (0, _polyfills.assign)({\n        viewportUseRAF: (0, _canUseRaf.default)()\n      }, this._buildOptions());\n\n      // set viewportUseIntersectionObserver after merging users config to avoid errors in browsers that lack support (https://github.com/DockYard/ember-in-viewport/issues/146)\n      options = (0, _polyfills.assign)(options, {\n        viewportUseIntersectionObserver: (0, _canUseIntersectionObserver.default)()\n      });\n      (0, _object.setProperties)(this, options);\n    }\n    startIntersectionObserver() {\n      this.observerAdmin = new _observerAdmin.default();\n    }\n    startRAF() {\n      this.rafAdmin = new _rafAdmin.default();\n    }\n\n    /** Any strategy **/\n\n    /**\n     * @method watchElement\n     * @param HTMLElement element\n     * @param Object configOptions\n     * @param Function enterCallback - support mixin approach\n     * @param Function exitCallback - support mixin approach\n     * @void\n     */\n    watchElement(element, configOptions = {}, enterCallback, exitCallback) {\n      if (this.viewportUseIntersectionObserver) {\n        if (!this.observerAdmin) {\n          this.startIntersectionObserver();\n        }\n        const observerOptions = this.buildObserverOptions(configOptions);\n        (0, _runloop.schedule)('afterRender', this, this.setupIntersectionObserver, element, observerOptions, enterCallback, exitCallback);\n      } else {\n        if (!this.rafAdmin) {\n          this.startRAF();\n        }\n        (0, _runloop.schedule)('afterRender', this, this._startRaf, element, configOptions, enterCallback, exitCallback);\n      }\n      return {\n        onEnter: this.addEnterCallback.bind(this, element),\n        onExit: this.addExitCallback.bind(this, element)\n      };\n    }\n\n    /**\n     * @method addEnterCallback\n     * @void\n     */\n    addEnterCallback(element, enterCallback) {\n      if (this.viewportUseIntersectionObserver) {\n        this.observerAdmin.addEnterCallback(element, enterCallback);\n      } else {\n        this.rafAdmin.addEnterCallback(element, enterCallback);\n      }\n    }\n\n    /**\n     * @method addExitCallback\n     * @void\n     */\n    addExitCallback(element, exitCallback) {\n      if (this.viewportUseIntersectionObserver) {\n        this.observerAdmin.addExitCallback(element, exitCallback);\n      } else {\n        this.rafAdmin.addExitCallback(element, exitCallback);\n      }\n    }\n\n    /** IntersectionObserver **/\n\n    /**\n     * In order to track elements and the state that comes with them, we need to keep track\n     * of elements in order to get at them at a later time, specifically to unobserve\n     *\n     * @method addToRegistry\n     * @void\n     */\n    addToRegistry(element, observerOptions) {\n      if (this.registry) {\n        this.registry.set(element, {\n          observerOptions\n        });\n      } else {\n        (true && (0, _debug.warn)('in-viewport Service has already been destroyed'));\n      }\n    }\n\n    /**\n     * @method setupIntersectionObserver\n     * @param HTMLElement element\n     * @param Object observerOptions\n     * @param Function enterCallback\n     * @param Function exitCallback\n     * @void\n     */\n    setupIntersectionObserver(element, observerOptions, enterCallback, exitCallback) {\n      if (this.isDestroyed || this.isDestroying) {\n        return;\n      }\n      this.addToRegistry(element, observerOptions);\n      this.observerAdmin.add(element, observerOptions, enterCallback, exitCallback);\n    }\n    buildObserverOptions({\n      intersectionThreshold = 0,\n      scrollableArea = null,\n      viewportTolerance = {}\n    }) {\n      const domScrollableArea = typeof scrollableArea === 'string' && scrollableArea ? document.querySelector(scrollableArea) : scrollableArea instanceof HTMLElement ? scrollableArea : undefined;\n\n      // https://developer.mozilla.org/en-US/docs/Web/API/Intersection_Observer_API\n      // IntersectionObserver takes either a Document Element or null for `root`\n      const {\n        top = 0,\n        left = 0,\n        bottom = 0,\n        right = 0\n      } = viewportTolerance;\n      return {\n        root: domScrollableArea,\n        rootMargin: `${top}px ${right}px ${bottom}px ${left}px`,\n        threshold: intersectionThreshold\n      };\n    }\n    unobserveIntersectionObserver(target) {\n      if (!target) {\n        return;\n      }\n      const registeredTarget = this.registry.get(target);\n      if (typeof registeredTarget === 'object') {\n        this.observerAdmin.unobserve(target, registeredTarget.observerOptions);\n      }\n    }\n\n    /** RAF **/\n\n    addRAF(elementId, fn) {\n      this.rafAdmin.add(elementId, fn);\n    }\n    removeRAF(elementId) {\n      if (this.rafAdmin) {\n        this.rafAdmin.remove(elementId);\n      }\n    }\n    isInViewport(...args) {\n      return (0, _isInViewport.default)(...args);\n    }\n\n    /** other **/\n    stopWatching(target) {\n      if (this.observerAdmin) {\n        this.unobserveIntersectionObserver(target);\n      }\n      if (this.rafAdmin) {\n        this.removeRAF(target);\n      }\n    }\n    willDestroy() {\n      (0, _object.set)(this, 'registry', null);\n      if (this.observerAdmin) {\n        this.observerAdmin.destroy();\n        (0, _object.set)(this, 'observerAdmin', null);\n      }\n      if (this.rafAdmin) {\n        this.rafAdmin.reset();\n        (0, _object.set)(this, 'rafAdmin', null);\n      }\n    }\n    _buildOptions(defaultOptions = {}) {\n      const owner = (0, _application.getOwner)(this);\n      if (owner) {\n        return (0, _polyfills.assign)(defaultOptions, owner.lookup('config:in-viewport'));\n      }\n    }\n    _startRaf(element, configOptions, enterCallback, exitCallback) {\n      if (this.isDestroyed || this.isDestroying) {\n        return;\n      }\n      enterCallback = enterCallback || noop;\n      exitCallback = exitCallback || noop;\n\n      // this isn't using the same functions as the mixin case, but that is b/c it is a bit harder to unwind.\n      // So just rewrote it with pure functions for now\n      (0, _rafAdmin.startRAF)(element, configOptions, enterCallback, exitCallback, this.addRAF.bind(this, element.id), this.removeRAF.bind(this, element.id));\n    }\n  }\n  _exports.default = InViewport;\n});","define(\"ember-in-viewport/utils/can-use-dom\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const canUseDOM = !!(typeof window !== 'undefined' && window.document && window.document.createElement);\n  var _default = _exports.default = canUseDOM;\n});","define(\"ember-in-viewport/utils/can-use-intersection-observer\", [\"exports\", \"ember-in-viewport/utils/can-use-dom\"], function (_exports, _canUseDom) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = canUseIntersectionObserver;\n  // Adapted from WC3's intersection polyfill\n  // https://github.com/w3c/IntersectionObserver/blob/master/polyfill/intersection-observer.js\n\n  function checkIntersectionObserver(window) {\n    if ('IntersectionObserver' in window && 'IntersectionObserverEntry' in window && 'intersectionRatio' in window.IntersectionObserverEntry.prototype) {\n      // Minimal polyfill for Edge 15's lack of `isIntersecting`\n      // See: https://github.com/w3c/IntersectionObserver/issues/211\n      if (!('isIntersecting' in window.IntersectionObserverEntry.prototype)) {\n        Object.defineProperty(window.IntersectionObserverEntry.prototype, 'isIntersecting', {\n          get: function () {\n            return this.intersectionRatio > 0;\n          }\n        });\n      }\n      return true;\n    }\n    return false;\n  }\n  function canUseIntersectionObserver() {\n    if (!_canUseDom.default) {\n      return false;\n    }\n    return checkIntersectionObserver(window);\n  }\n});","define(\"ember-in-viewport/utils/can-use-raf\", [\"exports\", \"ember-in-viewport/utils/can-use-dom\"], function (_exports, _canUseDom) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = canUseRAF;\n  // Adapted from Paul Irish's rAF polyfill\n  // http://paulirish.com/2011/requestanimationframe-for-smart-animating/\n  // http://my.opera.com/emoller/blog/2011/12/20/requestanimationframe-for-smart-er-animating\n\n  // requestAnimationFrame polyfill by Erik Möller. fixes from Paul Irish and Tino Zijdel\n\n  // MIT license\n\n  function checkRAF(window, rAF, cAF) {\n    let x;\n    let vendors = ['ms', 'moz', 'webkit', 'o'];\n    for (x = 0; x < vendors.length && !window[rAF]; ++x) {\n      window[rAF] = window[`${vendors[x]}RequestAnimationFrame`];\n      window[cAF] = window[`${vendors[x]}CancelAnimationFrame`] || window[`${vendors[x]}CancelRequestAnimationFrame`];\n    }\n    if (window[rAF] && window[cAF]) {\n      return true;\n    } else {\n      return false;\n    }\n  }\n  function canUseRAF() {\n    if (!_canUseDom.default) {\n      return false;\n    }\n    return checkRAF(window, 'requestAnimationFrame', 'cancelAnimationFrame');\n  }\n});","define(\"ember-in-viewport/utils/check-scroll-direction\", [\"exports\", \"@ember/debug\"], function (_exports, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = checkScrollDirection;\n  const {\n    floor\n  } = Math;\n  function checkScrollDirection(lastPosition = null, newPosition = {}, sensitivity = 1) {\n    if (!lastPosition) {\n      return 'none';\n    }\n    (true && !(sensitivity) && (0, _debug.assert)('sensitivity cannot be 0', sensitivity));\n    const {\n      top,\n      left\n    } = newPosition;\n    const {\n      top: lastTop,\n      left: lastLeft\n    } = lastPosition;\n    const delta = {\n      top: floor((top - lastTop) / sensitivity) * sensitivity,\n      left: floor((left - lastLeft) / sensitivity) * sensitivity\n    };\n    if (delta.top > 0) {\n      return 'down';\n    }\n    if (delta.top < 0) {\n      return 'up';\n    }\n    if (delta.left > 0) {\n      return 'right';\n    }\n    if (delta.left < 0) {\n      return 'left';\n    }\n  }\n});","define(\"ember-in-viewport/utils/find-elem\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n  function _default(context) {\n    let elem;\n    if (context.nodeType === Node.ELEMENT_NODE || context.nodeType === Node.DOCUMENT_NODE || context instanceof Window) {\n      elem = context;\n    } else {\n      elem = document.querySelector(context);\n    }\n    return elem;\n  }\n});","define(\"ember-in-viewport/utils/is-in-viewport\", [\"exports\", \"@ember/polyfills\"], function (_exports, _polyfills) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = isInViewport;\n  const defaultTolerance = {\n    top: 0,\n    left: 0,\n    bottom: 0,\n    right: 0\n  };\n  function isInViewport(boundingClientRect = {}, height = 0, width = 0, tolerance = defaultTolerance) {\n    const {\n      top,\n      left,\n      bottom,\n      right,\n      height: h,\n      width: w\n    } = boundingClientRect;\n    const tolerances = (0, _polyfills.assign)((0, _polyfills.assign)({}, defaultTolerance), tolerance);\n    const {\n      top: topTolerance,\n      left: leftTolerance,\n      bottom: bottomTolerance,\n      right: rightTolerance\n    } = tolerances;\n    return top + topTolerance >= 0 && left + leftTolerance >= 0 && Math.round(bottom) - bottomTolerance - h <= Math.round(height) && Math.round(right) - rightTolerance - w <= Math.round(width);\n  }\n});","define(\"ember-inflector/index\", [\"exports\", \"ember-inflector/lib/system\"], function (_exports, _system) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  Object.defineProperty(_exports, \"pluralize\", {\n    enumerable: true,\n    get: function () {\n      return _system.pluralize;\n    }\n  });\n  Object.defineProperty(_exports, \"singularize\", {\n    enumerable: true,\n    get: function () {\n      return _system.singularize;\n    }\n  });\n  var _default = _exports.default = _system.Inflector;\n});","define(\"ember-inflector/lib/helpers/pluralize\", [\"exports\", \"ember-inflector\", \"ember-inflector/lib/utils/make-helper\"], function (_exports, _emberInflector, _makeHelper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   *\n   * If you have Ember Inflector (such as if Ember Data is present),\n   * pluralize a word. For example, turn \"ox\" into \"oxen\".\n   *\n   * Example:\n   *\n   * {{pluralize count myProperty}}\n   * {{pluralize 1 \"oxen\"}}\n   * {{pluralize myProperty}}\n   * {{pluralize \"ox\"}}\n   *\n   * @for Ember.HTMLBars.helpers\n   * @method pluralize\n   * @param {Number|Property} [count] count of objects\n   * @param {String|Property} word word to pluralize\n   */\n  var _default = _exports.default = (0, _makeHelper.default)(function (params, hash) {\n    let fullParams = new Array(...params);\n    if (fullParams.length === 2) {\n      fullParams.push({\n        withoutCount: hash['without-count']\n      });\n    }\n    return (0, _emberInflector.pluralize)(...fullParams);\n  });\n});","define(\"ember-inflector/lib/helpers/singularize\", [\"exports\", \"ember-inflector\", \"ember-inflector/lib/utils/make-helper\"], function (_exports, _emberInflector, _makeHelper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   *\n   * If you have Ember Inflector (such as if Ember Data is present),\n   * singularize a word. For example, turn \"oxen\" into \"ox\".\n   *\n   * Example:\n   *\n   * {{singularize myProperty}}\n   * {{singularize \"oxen\"}}\n   *\n   * @for Ember.HTMLBars.helpers\n   * @method singularize\n   * @param {String|Property} word word to singularize\n   */\n  var _default = _exports.default = (0, _makeHelper.default)(function (params) {\n    return (0, _emberInflector.singularize)(params[0]);\n  });\n});","define(\"ember-inflector/lib/system\", [\"exports\", \"ember-inflector/lib/system/inflector\", \"ember-inflector/lib/system/string\"], function (_exports, _inflector, _string) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"Inflector\", {\n    enumerable: true,\n    get: function () {\n      return _inflector.default;\n    }\n  });\n  Object.defineProperty(_exports, \"pluralize\", {\n    enumerable: true,\n    get: function () {\n      return _string.pluralize;\n    }\n  });\n  Object.defineProperty(_exports, \"singularize\", {\n    enumerable: true,\n    get: function () {\n      return _string.singularize;\n    }\n  });\n});","define(\"ember-inflector/lib/system/inflections\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    plurals: [[/$/, 's'], [/s$/i, 's'], [/^(ax|test)is$/i, '$1es'], [/(octop|vir)us$/i, '$1i'], [/(octop|vir)i$/i, '$1i'], [/(alias|status|bonus)$/i, '$1es'], [/(bu)s$/i, '$1ses'], [/(buffal|tomat)o$/i, '$1oes'], [/([ti])um$/i, '$1a'], [/([ti])a$/i, '$1a'], [/sis$/i, 'ses'], [/(?:([^f])fe|([lr])f)$/i, '$1$2ves'], [/(hive)$/i, '$1s'], [/([^aeiouy]|qu)y$/i, '$1ies'], [/(x|ch|ss|sh)$/i, '$1es'], [/(matr|vert|ind)(?:ix|ex)$/i, '$1ices'], [/^(m|l)ouse$/i, '$1ice'], [/^(m|l)ice$/i, '$1ice'], [/^(ox)$/i, '$1en'], [/^(oxen)$/i, '$1'], [/(quiz)$/i, '$1zes']],\n    singular: [[/s$/i, ''], [/(ss)$/i, '$1'], [/(n)ews$/i, '$1ews'], [/([ti])a$/i, '$1um'], [/((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)(sis|ses)$/i, '$1sis'], [/(^analy)(sis|ses)$/i, '$1sis'], [/([^f])ves$/i, '$1fe'], [/(hive)s$/i, '$1'], [/(tive)s$/i, '$1'], [/([lr])ves$/i, '$1f'], [/([^aeiouy]|qu)ies$/i, '$1y'], [/(s)eries$/i, '$1eries'], [/(m)ovies$/i, '$1ovie'], [/(x|ch|ss|sh)es$/i, '$1'], [/^(m|l)ice$/i, '$1ouse'], [/(bus)(es)?$/i, '$1'], [/(o)es$/i, '$1'], [/(shoe)s$/i, '$1'], [/(cris|test)(is|es)$/i, '$1is'], [/^(a)x[ie]s$/i, '$1xis'], [/(octop|vir)(us|i)$/i, '$1us'], [/(alias|status|bonus)(es)?$/i, '$1'], [/^(ox)en/i, '$1'], [/(vert|ind)ices$/i, '$1ex'], [/(matr)ices$/i, '$1ix'], [/(quiz)zes$/i, '$1'], [/(database)s$/i, '$1']],\n    irregularPairs: [['person', 'people'], ['man', 'men'], ['child', 'children'], ['sex', 'sexes'], ['move', 'moves'], ['cow', 'kine'], ['zombie', 'zombies']],\n    uncountable: ['equipment', 'information', 'rice', 'money', 'species', 'series', 'fish', 'sheep', 'jeans', 'police']\n  };\n});","define(\"ember-inflector/lib/system/inflector\", [\"exports\", \"ember-inflector/lib/system/inflections\"], function (_exports, _inflections) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const BLANK_REGEX = /^\\s*$/;\n  const LAST_WORD_DASHED_REGEX = /([\\w/-]+[_/\\s-])([a-z\\d]+$)/;\n  const LAST_WORD_CAMELIZED_REGEX = /([\\w/\\s-]+)([A-Z][a-z\\d]*$)/;\n  const CAMELIZED_REGEX = /[A-Z][a-z\\d]*$/;\n  const CAPITALIZE_REGEX = /(^|\\/)([a-z\\u00C0-\\u024F])/g;\n  function capitalize(str) {\n    return str.replace(CAPITALIZE_REGEX, match => match.toUpperCase());\n  }\n  function loadUncountable(rules, uncountable) {\n    for (let i = 0, length = uncountable.length; i < length; i++) {\n      rules.uncountable[uncountable[i].toLowerCase()] = true;\n    }\n  }\n  function loadIrregular(rules, irregularPairs) {\n    let pair;\n    for (let i = 0, length = irregularPairs.length; i < length; i++) {\n      pair = irregularPairs[i];\n\n      //pluralizing\n      rules.irregular[pair[0].toLowerCase()] = pair[1];\n      rules.irregular[pair[1].toLowerCase()] = pair[1];\n\n      //singularizing\n      rules.irregularInverse[pair[1].toLowerCase()] = pair[0];\n      rules.irregularInverse[pair[0].toLowerCase()] = pair[0];\n    }\n  }\n\n  /**\n    Inflector.Ember provides a mechanism for supplying inflection rules for your\n    application. Ember includes a default set of inflection rules, and provides an\n    API for providing additional rules.\n  \n    Examples:\n  \n    Creating an inflector with no rules.\n  \n    ```js\n    var inflector = new Ember.Inflector();\n    ```\n  \n    Creating an inflector with the default ember ruleset.\n  \n    ```js\n    var inflector = new Ember.Inflector(Ember.Inflector.defaultRules);\n  \n    inflector.pluralize('cow'); //=> 'kine'\n    inflector.singularize('kine'); //=> 'cow'\n    ```\n  \n    Creating an inflector and adding rules later.\n  \n    ```javascript\n    var inflector = Ember.Inflector.inflector;\n  \n    inflector.pluralize('advice'); // => 'advices'\n    inflector.uncountable('advice');\n    inflector.pluralize('advice'); // => 'advice'\n  \n    inflector.pluralize('formula'); // => 'formulas'\n    inflector.irregular('formula', 'formulae');\n    inflector.pluralize('formula'); // => 'formulae'\n  \n    // you would not need to add these as they are the default rules\n    inflector.plural(/$/, 's');\n    inflector.singular(/s$/i, '');\n    ```\n  \n    Creating an inflector with a nondefault ruleset.\n  \n    ```javascript\n    var rules = {\n      plurals:  [\n        [ /$/, 's' ]\n      ],\n      singular: [\n        [ /\\s$/, '' ]\n      ],\n      irregularPairs: [\n        [ 'cow', 'kine' ]\n      ],\n      uncountable: [ 'fish' ]\n    };\n  \n    var inflector = new Ember.Inflector(rules);\n    ```\n  \n    @class Inflector\n    @namespace Ember\n  */\n  function Inflector(ruleSet) {\n    ruleSet = ruleSet || {};\n    ruleSet.uncountable = ruleSet.uncountable || makeDictionary();\n    ruleSet.irregularPairs = ruleSet.irregularPairs || makeDictionary();\n    const rules = this.rules = {\n      plurals: ruleSet.plurals || [],\n      singular: ruleSet.singular || [],\n      irregular: makeDictionary(),\n      irregularInverse: makeDictionary(),\n      uncountable: makeDictionary()\n    };\n    loadUncountable(rules, ruleSet.uncountable);\n    loadIrregular(rules, ruleSet.irregularPairs);\n    this.enableCache();\n  }\n  if (!Object.create && !Object.create(null).hasOwnProperty) {\n    throw new Error('This browser does not support Object.create(null), please polyfil with es5-sham: http://git.io/yBU2rg');\n  }\n  function makeDictionary() {\n    var cache = Object.create(null);\n    cache['_dict'] = null;\n    delete cache['_dict'];\n    return cache;\n  }\n  Inflector.prototype = {\n    /**\n      @public\n       As inflections can be costly, and commonly the same subset of words are repeatedly\n      inflected an optional cache is provided.\n       @method enableCache\n    */\n    enableCache() {\n      this.purgeCache();\n      this.singularize = function (word) {\n        this._cacheUsed = true;\n        return this._sCache[word] || (this._sCache[word] = this._singularize(word));\n      };\n      this.pluralize = function (numberOrWord, word, options = {}) {\n        this._cacheUsed = true;\n        var cacheKey = [numberOrWord, word, options.withoutCount];\n        return this._pCache[cacheKey] || (this._pCache[cacheKey] = this._pluralize(numberOrWord, word, options));\n      };\n    },\n    /**\n      @public\n       @method purgeCache\n    */\n    purgeCache() {\n      this._cacheUsed = false;\n      this._sCache = makeDictionary();\n      this._pCache = makeDictionary();\n    },\n    /**\n      @public\n      disable caching\n       @method disableCache;\n    */\n    disableCache() {\n      this._sCache = null;\n      this._pCache = null;\n      this.singularize = function (word) {\n        return this._singularize(word);\n      };\n      this.pluralize = function () {\n        return this._pluralize(...arguments);\n      };\n    },\n    /**\n      @method plural\n      @param {RegExp} regex\n      @param {String} string\n    */\n    plural(regex, string) {\n      if (this._cacheUsed) {\n        this.purgeCache();\n      }\n      this.rules.plurals.push([regex, string.toLowerCase()]);\n    },\n    /**\n      @method singular\n      @param {RegExp} regex\n      @param {String} string\n    */\n    singular(regex, string) {\n      if (this._cacheUsed) {\n        this.purgeCache();\n      }\n      this.rules.singular.push([regex, string.toLowerCase()]);\n    },\n    /**\n      @method uncountable\n      @param {String} regex\n    */\n    uncountable(string) {\n      if (this._cacheUsed) {\n        this.purgeCache();\n      }\n      loadUncountable(this.rules, [string.toLowerCase()]);\n    },\n    /**\n      @method irregular\n      @param {String} singular\n      @param {String} plural\n    */\n    irregular(singular, plural) {\n      if (this._cacheUsed) {\n        this.purgeCache();\n      }\n      loadIrregular(this.rules, [[singular, plural]]);\n    },\n    /**\n      @method pluralize\n      @param {String} word\n    */\n    pluralize() {\n      return this._pluralize(...arguments);\n    },\n    _pluralize(wordOrCount, word, options = {}) {\n      if (word === undefined) {\n        return this.inflect(wordOrCount, this.rules.plurals, this.rules.irregular);\n      }\n      if (parseFloat(wordOrCount) !== 1) {\n        word = this.inflect(word, this.rules.plurals, this.rules.irregular);\n      }\n      return options.withoutCount ? word : `${wordOrCount} ${word}`;\n    },\n    /**\n      @method singularize\n      @param {String} word\n    */\n    singularize(word) {\n      return this._singularize(word);\n    },\n    _singularize(word) {\n      return this.inflect(word, this.rules.singular, this.rules.irregularInverse);\n    },\n    /**\n      @protected\n       @method inflect\n      @param {String} word\n      @param {Object} typeRules\n      @param {Object} irregular\n    */\n    inflect(word, typeRules, irregular) {\n      let inflection, substitution, result, lowercase, wordSplit, lastWord, isBlank, isCamelized, rule, isUncountable;\n      isBlank = !word || BLANK_REGEX.test(word);\n      isCamelized = CAMELIZED_REGEX.test(word);\n      if (isBlank) {\n        return word;\n      }\n      lowercase = word.toLowerCase();\n      wordSplit = LAST_WORD_DASHED_REGEX.exec(word) || LAST_WORD_CAMELIZED_REGEX.exec(word);\n      if (wordSplit) {\n        lastWord = wordSplit[2].toLowerCase();\n      }\n      isUncountable = this.rules.uncountable[lowercase] || this.rules.uncountable[lastWord];\n      if (isUncountable) {\n        return word;\n      }\n      for (rule in irregular) {\n        if (lowercase.match(rule + '$')) {\n          substitution = irregular[rule];\n          if (isCamelized && irregular[lastWord]) {\n            substitution = capitalize(substitution);\n            rule = capitalize(rule);\n          }\n          return word.replace(new RegExp(rule, 'i'), substitution);\n        }\n      }\n      for (var i = typeRules.length, min = 0; i > min; i--) {\n        inflection = typeRules[i - 1];\n        rule = inflection[0];\n        if (rule.test(word)) {\n          break;\n        }\n      }\n      inflection = inflection || [];\n      rule = inflection[0];\n      substitution = inflection[1];\n      result = word.replace(rule, substitution);\n      return result;\n    }\n  };\n  Inflector.defaultRules = _inflections.default;\n  Inflector.inflector = new Inflector(_inflections.default);\n  var _default = _exports.default = Inflector;\n});","define(\"ember-inflector/lib/system/string\", [\"exports\", \"ember-inflector/lib/system/inflector\"], function (_exports, _inflector) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.pluralize = pluralize;\n  _exports.singularize = singularize;\n  function pluralize() {\n    return _inflector.default.inflector.pluralize(...arguments);\n  }\n  function singularize(word) {\n    return _inflector.default.inflector.singularize(word);\n  }\n});","define(\"ember-inflector/lib/utils/make-helper\", [\"exports\", \"ember\", \"@ember/component/helper\"], function (_exports, _ember, _helper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = makeHelper;\n  function makeHelper(helperFunction) {\n    if (_helper.default) {\n      return _helper.default.helper(helperFunction);\n    }\n    if (_ember.default.HTMLBars) {\n      return _ember.default.HTMLBars.makeBoundHelper(helperFunction);\n    }\n    return _ember.default.Handlebars.makeBoundHelper(helperFunction);\n  }\n});","define(\"ember-intl/-private/empty-object\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const proto = Object.create(null, {\n    constructor: {\n      value: undefined,\n      enumerable: false,\n      writable: true\n    }\n  });\n  function EmptyObject() {}\n  EmptyObject.prototype = proto;\n\n  /**\n   * @private\n   * @hide\n   */\n  var _default = _exports.default = EmptyObject;\n});","define(\"ember-intl/-private/formatters/-base\", [\"exports\", \"@ember/debug\", \"@ember/string\", \"@ember/array\", \"ember-intl/utils/links\"], function (_exports, _debug, _string, _array, _links) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  const EMPTY_OBJECT = {};\n\n  /**\n   * @private\n   * @hide\n   */\n  class FormatterBase {\n    get options() {\n      return (0, _array.A)();\n    }\n\n    /**\n     * Filters out all of the whitelisted formatter options\n     *\n     * @method readOptions\n     * @param {Object} Options object\n     * @return {Object} Options object containing just whitelisted options\n     * @private\n     */\n    readOptions(options) {\n      if (!options) {\n        return EMPTY_OBJECT;\n      }\n      let found = {};\n      for (let key in options) {\n        let normalized = (0, _string.camelize)(key);\n        if (this.options.includes(normalized)) {\n          found[normalized] = options[key];\n        }\n      }\n      return found;\n    }\n    format() {\n      throw new Error('not implemented');\n    }\n\n    /**\n     * Invokes the Intl formatter methods\n     *\n     * @method _format\n     * @param {value} Raw input value that needs formatting\n     * @return {Object} Formatter options hash\n     * @return {Object} Format options hash\n     * @private\n     */\n    _format(value, formatterOptions, formatOptions, {\n      locale\n    }) {\n      if (!locale) {\n        (true && (0, _debug.warn)(`[ember-intl] no locale has been set. Documentation: ${_links.default.unsetLocale}`, false, {\n          id: 'ember-intl-no-locale-set'\n        }));\n      }\n      const formatter = this.createNativeFormatter(locale, formatterOptions);\n      return formatter.format(value, formatOptions);\n    }\n  }\n  _exports.default = FormatterBase;\n});","define(\"ember-intl/-private/formatters/format-date\", [\"exports\", \"@ember/array\", \"fast-memoize\", \"ember-intl/-private/formatters/-base\"], function (_exports, _array, _fastMemoize, _base) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  /**\n   * @private\n   * @hide\n   */\n  class FormatDate extends _base.default {\n    constructor() {\n      super();\n      this.createNativeFormatter = (0, _fastMemoize.default)((locales, options) => {\n        return new Intl.DateTimeFormat(locales, options);\n      });\n    }\n    get options() {\n      return (0, _array.A)(['locale', 'format', 'localeMatcher', 'timeZone', 'hour12', 'formatMatcher', 'weekday', 'era', 'year', 'month', 'day', 'hour', 'minute', 'second', 'timeZoneName']);\n    }\n    format(value, options, ctx) {\n      const dateTime = new Date(value);\n      const formatOptions = this.readOptions(options);\n      return this._format(dateTime, formatOptions, undefined, ctx);\n    }\n  }\n  _exports.default = FormatDate;\n});","define(\"ember-intl/-private/formatters/format-message\", [\"exports\", \"ember\", \"fast-memoize\", \"@ember/string\", \"@ember/polyfills\", \"@ember-intl/intl-messageformat\", \"ember-intl/-private/formatters/-base\"], function (_exports, _ember, _fastMemoize, _string, _polyfills, _intlMessageformat, _base) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  const {\n    keys\n  } = Object;\n  const {\n    Handlebars: {\n      Utils: {\n        escapeExpression\n      }\n    }\n  } = _ember.default;\n  function escape(hash) {\n    if (!hash) {\n      return;\n    }\n    return keys(hash).reduce((accum, key) => {\n      if (typeof hash[key] === 'string') {\n        accum[key] = escapeExpression(hash[key]);\n      }\n      return accum;\n    }, (0, _polyfills.assign)({}, hash));\n  }\n\n  /**\n   * @private\n   * @hide\n   */\n  class FormatMessage extends _base.default {\n    constructor() {\n      super();\n      this.createNativeFormatter = (0, _fastMemoize.default)((message, locales, formats) => {\n        return new _intlMessageformat.default(message, locales, formats);\n      });\n    }\n    format(message, options, {\n      formats,\n      locale\n    }) {\n      const isHTMLSafe = options && options.htmlSafe;\n      const formatter = this.createNativeFormatter(message, locale, formats);\n      const escapedOptions = isHTMLSafe ? escape(options) : options;\n      const result = formatter.format(escapedOptions);\n      return isHTMLSafe ? (0, _string.htmlSafe)(result) : result;\n    }\n  }\n  _exports.default = FormatMessage;\n});","define(\"ember-intl/-private/formatters/format-number\", [\"exports\", \"fast-memoize\", \"@ember/array\", \"ember-intl/-private/formatters/-base\"], function (_exports, _fastMemoize, _array, _base) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  /**\n   * @private\n   * @hide\n   */\n  class FormatNumber extends _base.default {\n    get options() {\n      return (0, _array.A)(['locale', 'format', 'localeMatcher', 'style', 'currency', 'currencyDisplay', 'useGrouping', 'minimumIntegerDigits', 'minimumFractionDigits', 'maximumFractionDigits', 'minimumSignificantDigits', 'maximumSignificantDigits']);\n    }\n    constructor() {\n      super();\n      this.createNativeFormatter = (0, _fastMemoize.default)((locales, options) => {\n        return new Intl.NumberFormat(locales, options);\n      });\n    }\n    format(value, options, ctx) {\n      return this._format(value, this.readOptions(options), undefined, ctx);\n    }\n  }\n  _exports.default = FormatNumber;\n});","define(\"ember-intl/-private/formatters/format-relative\", [\"exports\", \"fast-memoize\", \"@ember/array\", \"@ember-intl/intl-relativeformat\", \"ember-intl/-private/formatters/-base\"], function (_exports, _fastMemoize, _array, _intlRelativeformat, _base) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  /**\n   * @private\n   * @hide\n   */\n  class FormatRelative extends _base.default {\n    constructor() {\n      super();\n      this.createNativeFormatter = (0, _fastMemoize.default)((locales, options) => {\n        return new _intlRelativeformat.default(locales, options);\n      });\n    }\n    get options() {\n      return (0, _array.A)(['locale', 'format', 'style', 'units']);\n    }\n    format(value, options, ctx) {\n      let dateValue = new Date(value);\n      let formatOptions;\n      if (options && typeof options.now !== 'undefined') {\n        formatOptions = {\n          now: options.now\n        };\n      }\n      return this._format(dateValue, this.readOptions(options), formatOptions, ctx);\n    }\n  }\n  _exports.default = FormatRelative;\n});","define(\"ember-intl/-private/formatters/format-time\", [\"exports\", \"ember-intl/-private/formatters/format-date\"], function (_exports, _formatDate) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  /**\n   * @private\n   * @hide\n   */\n  class FormatTime extends _formatDate.default {}\n  _exports.default = FormatTime;\n});","define(\"ember-intl/-private/formatters/index\", [\"exports\", \"ember-intl/-private/formatters/format-time\", \"ember-intl/-private/formatters/format-date\", \"ember-intl/-private/formatters/format-number\", \"ember-intl/-private/formatters/format-message\", \"ember-intl/-private/formatters/format-relative\"], function (_exports, _formatTime, _formatDate, _formatNumber, _formatMessage, _formatRelative) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"FormatDate\", {\n    enumerable: true,\n    get: function () {\n      return _formatDate.default;\n    }\n  });\n  Object.defineProperty(_exports, \"FormatMessage\", {\n    enumerable: true,\n    get: function () {\n      return _formatMessage.default;\n    }\n  });\n  Object.defineProperty(_exports, \"FormatNumber\", {\n    enumerable: true,\n    get: function () {\n      return _formatNumber.default;\n    }\n  });\n  Object.defineProperty(_exports, \"FormatRelative\", {\n    enumerable: true,\n    get: function () {\n      return _formatRelative.default;\n    }\n  });\n  Object.defineProperty(_exports, \"FormatTime\", {\n    enumerable: true,\n    get: function () {\n      return _formatTime.default;\n    }\n  });\n});","define(\"ember-intl/-private/is-array-equal\", [\"exports\", \"@ember/array\"], function (_exports, _array) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n  /**\n   * @private\n   * @hide\n   */\n  function _default(a, b) {\n    if (!(0, _array.isArray)(a) || !(0, _array.isArray)(b)) {\n      return false;\n    }\n    if (a === b) {\n      return true;\n    }\n    return a.toString() === b.toString();\n  }\n});","define(\"ember-intl/-private/normalize-locale\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n  /**\n   * @private\n   * @hide\n   */\n  function _default(localeName) {\n    if (typeof localeName === 'string') {\n      return localeName.replace(/_/g, '-').toLowerCase();\n    }\n  }\n});","define(\"ember-intl/adapters/default\", [\"exports\", \"@ember/application\", \"@ember/array\", \"@ember/object\", \"ember-intl/models/translation\"], function (_exports, _application, _array, _object, _translation) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n  var _default = _exports.default = _object.default.extend({\n    _seen: null,\n    /** @private **/\n    locales: (0, _object.computed)('_seen.[]', function () {\n      return (0, _object.get)(this, '_seen').map(l => l.localeName);\n    }).readOnly(),\n    /** @private **/\n    init() {\n      this._super();\n      this._seen = (0, _array.A)();\n    },\n    /** @private **/\n    lookupLocale(localeName) {\n      return this._seen.findBy('localeName', localeName);\n    },\n    /** @private **/\n    localeFactory(localeName) {\n      const owner = (0, _application.getOwner)(this);\n      const lookupName = `ember-intl@translation:${localeName}`;\n      let model = owner.lookup(lookupName);\n      if (model) {\n        return model;\n      }\n      let Klass;\n      if (owner.hasRegistration('model:ember-intl-translation')) {\n        Klass = owner.factoryFor('model:ember-intl-translation').class;\n      } else {\n        Klass = _translation.default;\n      }\n      const ModelKlass = Klass.extend();\n      Object.defineProperty(ModelKlass.proto(), 'localeName', {\n        writable: false,\n        enumerable: true,\n        value: localeName\n      });\n      owner.register(lookupName, ModelKlass);\n      model = owner.lookup(lookupName);\n      this._seen.pushObject(model);\n      return model;\n    },\n    /** @private **/\n    has(localeName, translationKey) {\n      const model = this.lookupLocale(localeName);\n      return model && model.has(translationKey);\n    },\n    /** @private **/\n    lookup(localeName, translationKey) {\n      const model = this.lookupLocale(localeName);\n      if (model && model.has(translationKey)) {\n        return model.getValue(translationKey);\n      }\n    }\n  });\n});","define(\"ember-intl/helpers/-format-base\", [\"exports\", \"@ember/component/helper\", \"@ember/application\", \"@ember/utils\", \"@ember/object\"], function (_exports, _helper, _application, _utils, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  const AbstractHelper = _helper.default.extend({\n    intl: null,\n    init() {\n      if (this.constructor === AbstractHelper) {\n        throw new Error('FormatHelper is an abstract class, can not be instantiated directly.');\n      }\n      this._super();\n      this.intl = (0, _application.getOwner)(this).lookup('service:intl');\n      this.intl.on('localeChanged', this, 'recompute');\n    },\n    format() {\n      throw new Error('not implemented');\n    },\n    compute([value], options) {\n      if ((0, _utils.isEmpty)(value)) {\n        if ((0, _object.getWithDefault)(options, 'allowEmpty', this.allowEmpty)) {\n          return;\n        }\n        if (typeof value === 'undefined') {\n          throw new Error(`${this} helper requires value attribute.`);\n        }\n      }\n      return this.format(value, options);\n    },\n    willDestroy() {\n      this._super();\n      this.intl.off('localeChanged', this, 'recompute');\n    }\n  });\n  var _default = _exports.default = AbstractHelper;\n});","define(\"ember-intl/helpers/format-date\", [\"exports\", \"ember-intl/helpers/-format-base\"], function (_exports, _formatBase) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n  var _default = _exports.default = _formatBase.default.extend({\n    allowEmpty: true,\n    format(value, options) {\n      return this.intl.formatDate(value, options);\n    }\n  });\n});","define(\"ember-intl/helpers/format-message\", [\"exports\", \"ember-intl/helpers/-format-base\"], function (_exports, _formatBase) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n  var _default = _exports.default = _formatBase.default.extend({\n    format(value, options) {\n      return this.intl.formatMessage(value, options);\n    }\n  });\n});","define(\"ember-intl/helpers/format-number\", [\"exports\", \"ember-intl/helpers/-format-base\"], function (_exports, _formatBase) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n  var _default = _exports.default = _formatBase.default.extend({\n    format(value, options) {\n      return this.intl.formatNumber(value, options);\n    }\n  });\n});","define(\"ember-intl/helpers/format-relative\", [\"exports\", \"@ember/runloop\", \"ember-intl/helpers/-format-base\"], function (_exports, _runloop, _formatBase) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  const runBind = _runloop.bind;\n  var _default = _exports.default = _formatBase.default.extend({\n    format(params, hash) {\n      return this.intl.formatRelative(params, hash);\n    },\n    compute(params, hash) {\n      this.clearTimer();\n      if (hash && typeof hash.interval !== 'undefined') {\n        /* setTimeout versus Ember.run.later so tests will not wait infinitely */\n        this.timer = setTimeout(runBind(this, this.recompute), parseInt(hash.interval, 10));\n      }\n      return this._super(params, hash);\n    },\n    clearTimer() {\n      clearTimeout(this.timer);\n    },\n    willDestroy() {\n      this._super();\n      this.clearTimer();\n    }\n  });\n});","define(\"ember-intl/helpers/format-time\", [\"exports\", \"ember-intl/helpers/-format-base\"], function (_exports, _formatBase) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n  var _default = _exports.default = _formatBase.default.extend({\n    format(value, options) {\n      return this.intl.formatTime(value, options);\n    }\n  });\n});","define(\"ember-intl/helpers/t\", [\"exports\", \"@ember/debug\", \"ember-intl/helpers/-format-base\"], function (_exports, _debug, _formatBase) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n  var _default = _exports.default = _formatBase.default.extend({\n    format(key, options) {\n      (true && !(key) && (0, _debug.assert)('[ember-intl] translation lookup attempted but no translation key was provided.', key));\n      return this.intl.t(key, options);\n    }\n  });\n});","define(\"ember-intl/hydrate\", [\"exports\", \"@ember/debug\", \"ember-intl/utils/links\"], function (_exports, _debug, _links) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n  _exports.lookupByFactoryType = lookupByFactoryType;\n  /* globals requirejs */\n\n  /**\n   * @private\n   * @hide\n   */\n  function lookupByFactoryType(type, modulePrefix) {\n    return Object.keys(requirejs.entries).filter(key => {\n      return key.indexOf(`${modulePrefix}/${type}/`) === 0;\n    });\n  }\n\n  /**\n   * Peeks into the requirejs map and registers all locale data (CLDR & Translations) found.\n   *\n   * @private\n   * @hide\n   */\n  function _default(service, owner) {\n    const config = owner.resolveRegistration('config:environment');\n    const cldrs = lookupByFactoryType('cldrs', config.modulePrefix);\n    const translations = lookupByFactoryType('translations', config.modulePrefix);\n    if (!cldrs.length) {\n      (true && (0, _debug.warn)(`[ember-intl] project is missing CLDR data\\nIf you are asynchronously loading translation,\n      see: ${_links.default.asyncTranslations}.`, false, {\n        id: 'ember-intl-missing-cldr-data'\n      }));\n    }\n    cldrs.map(moduleName => owner.resolveRegistration(`cldr:${moduleName.split('/').pop()}`)).forEach(data => data.forEach(service.addLocaleData));\n    translations.forEach(moduleName => {\n      const localeName = moduleName.split('/').pop();\n      service.addTranslations(localeName, owner.resolveRegistration(`translation:${localeName}`));\n    });\n  }\n});","define(\"ember-intl/index\", [\"exports\", \"ember-intl/services/intl\", \"ember-intl/macros\", \"@ember/application/deprecations\"], function (_exports, _intl, _macros, _deprecations) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  var _exportNames = {\n    translationMacro: true,\n    Service: true\n  };\n  Object.defineProperty(_exports, \"Service\", {\n    enumerable: true,\n    get: function () {\n      return _intl.default;\n    }\n  });\n  _exports.translationMacro = translationMacro;\n  Object.keys(_macros).forEach(function (key) {\n    if (key === \"default\" || key === \"__esModule\") return;\n    if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;\n    if (key in _exports && _exports[key] === _macros[key]) return;\n    Object.defineProperty(_exports, key, {\n      enumerable: true,\n      get: function () {\n        return _macros[key];\n      }\n    });\n  });\n  function translationMacro(...args) {\n    (true && !(false) && (0, _deprecations.deprecate)(`ember-intl: 'translationMacro' was renamed to just 't'. Please update the import statement.`, false, {\n      id: 'ember-intl.translationMacro',\n      until: '5.0.0'\n    }));\n    return (0, _macros.t)(...args);\n  }\n});","define(\"ember-intl/macros/index\", [\"exports\", \"ember-intl/macros/intl\", \"ember-intl/macros/t\"], function (_exports, _intl, _t) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"intl\", {\n    enumerable: true,\n    get: function () {\n      return _intl.default;\n    }\n  });\n  Object.defineProperty(_exports, \"raw\", {\n    enumerable: true,\n    get: function () {\n      return _t.raw;\n    }\n  });\n  Object.defineProperty(_exports, \"t\", {\n    enumerable: true,\n    get: function () {\n      return _t.default;\n    }\n  });\n});","define(\"ember-intl/macros/intl\", [\"exports\", \"@ember/object\", \"@ember/application\"], function (_exports, _object, _application) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.__intlInjectionName = void 0;\n  _exports.default = intl;\n  /**\n   * @private\n   * @hide\n   */\n  const __intlInjectionName = _exports.__intlInjectionName = `intl-${Date.now().toString(36)}`;\n  function intl(...dependentKeysAndGetterFn) {\n    const getterFn = dependentKeysAndGetterFn.pop();\n    const dependentKeys = dependentKeysAndGetterFn;\n    return (0, _object.computed)(`${__intlInjectionName}.locale`, ...dependentKeys, function (propertyKey) {\n      if (!(0, _object.get)(this, __intlInjectionName)) {\n        (0, _object.defineProperty)(this, __intlInjectionName, {\n          value: (0, _application.getOwner)(this).lookup('service:intl'),\n          enumerable: false\n        });\n      }\n      const intl = (0, _object.get)(this, __intlInjectionName);\n      return getterFn.call(this, intl, propertyKey, this);\n    }).readOnly();\n  }\n});","define(\"ember-intl/macros/t\", [\"exports\", \"@ember/object\", \"@ember/polyfills\", \"ember-intl/-private/empty-object\", \"ember-intl/macros/intl\"], function (_exports, _object, _polyfills, _emptyObject, _intl) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = createTranslatedComputedProperty;\n  _exports.raw = raw;\n  function partitionDynamicValuesAndStaticValues(options) {\n    const dynamicValues = new _emptyObject.default();\n    const staticValues = new _emptyObject.default();\n    Object.keys(options).forEach(key => {\n      const value = options[key];\n      if (value instanceof Raw) {\n        staticValues[key] = value.valueOf();\n      } else {\n        dynamicValues[key] = value;\n      }\n    });\n    return [dynamicValues, staticValues];\n  }\n  function mapPropertiesByHash(object, hash) {\n    const result = new _emptyObject.default();\n    Object.keys(hash).forEach(key => {\n      result[key] = (0, _object.get)(object, hash[key]);\n    });\n    return result;\n  }\n\n  /**\n   * This class is used to box primitive types and mark them as raw literals that\n   * should be used as is by the translation macro.\n   *\n   * This class is internal. Instead of using this class directly, use the `raw`\n   * utility function, that creates an instance of this class.\n   */\n  class Raw {\n    constructor(value) {\n      this._value = value;\n    }\n    valueOf() {\n      return this._value;\n    }\n    toString() {\n      return String(this._value);\n    }\n  }\n\n  /**\n   * Use this utility function to mark a value as a raw literal.\n   *\n   * @param {*} value The value to mark as a raw literal.\n   * @return The same value, but boxed in the `Raw` class so that the consuming\n   *  macro understands that this value should be used as is.\n   */\n  function raw(value) {\n    return new Raw(value);\n  }\n  function createTranslatedComputedProperty(translationKey, options) {\n    const hash = options || new _emptyObject.default();\n    const [dynamicValues, staticValues] = partitionDynamicValuesAndStaticValues(hash);\n    const dependentKeys = Object.values(dynamicValues);\n    return (0, _intl.default)(...dependentKeys, (intl, propertyKey, ctx) => intl.t(translationKey, (0, _polyfills.assign)({}, staticValues, mapPropertiesByHash(ctx, dynamicValues))));\n  }\n});","define(\"ember-intl/models/translation\", [\"exports\", \"@ember/object\", \"ember-intl/-private/empty-object\", \"@ember/polyfills\"], function (_exports, _object, _emptyObject, _polyfills) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  const hasOwnProperty = Object.prototype.hasOwnProperty;\n  function flatten(src) {\n    const result = new _emptyObject.default();\n    for (const key in src) {\n      if (!hasOwnProperty.call(src, key)) {\n        continue;\n      }\n      const value = src[key];\n      if (typeof value === 'object' && value) {\n        const hash = flatten(value);\n        for (const suffix in hash) {\n          result[`${key}.${suffix}`] = hash[suffix];\n        }\n      } else {\n        result[key] = value;\n      }\n    }\n    return result;\n  }\n  const TranslationModel = _object.default.extend({\n    localeName: null,\n    init() {\n      this._super();\n      if (!this.translations) {\n        this.translations = new _emptyObject.default();\n      }\n    },\n    /**\n     * Adds a translation hash\n     */\n    addTranslations(translations) {\n      (0, _polyfills.assign)(this.translations, flatten(translations));\n    },\n    /**\n     * Custom accessor hook that can be overridden.\n     * This would enable consumers that have dot notated strings\n     * to implement this function as `return this[key];`\n     */\n    getValue(key) {\n      return this.translations[key];\n    },\n    /**\n     * Determines if the translation model contains a key\n     */\n    has(key) {\n      return hasOwnProperty.call(this.translations, key);\n    }\n  });\n  var _default = _exports.default = TranslationModel;\n});","define(\"ember-intl/services/intl\", [\"exports\", \"@ember-intl/intl-relativeformat\", \"@ember-intl/intl-messageformat\", \"@ember/application\", \"@ember/object\", \"@ember/object/evented\", \"@ember/debug\", \"@ember/array\", \"@ember/polyfills\", \"@ember/service\", \"@ember/runloop\", \"ember-intl/-private/formatters\", \"ember-intl/-private/is-array-equal\", \"ember-intl/-private/normalize-locale\", \"ember-intl/utils/links\", \"ember-intl/hydrate\", \"ember-intl/utils/get-dom\"], function (_exports, _intlRelativeformat, _intlMessageformat, _application, _object, _evented, _debug, _array, _polyfills, _service, _runloop, _formatters, _isArrayEqual, _normalizeLocale, _links, _hydrate, _getDom) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n  var _default = _exports.default = _service.default.extend(_evented.default, {\n    /** @private **/\n    _locale: null,\n    /** @private **/\n    _adapter: null,\n    /** @public **/\n    formats: null,\n    /** @private **/\n    _timer: null,\n    /** @public **/\n    locale: (0, _object.computed)({\n      set(_, localeName) {\n        const proposed = (0, _array.makeArray)(localeName).map(_normalizeLocale.default);\n        if (!(0, _isArrayEqual.default)(proposed, this._locale)) {\n          this._locale = proposed;\n          (0, _runloop.cancel)(this._timer);\n          this._timer = (0, _runloop.next)(() => this.trigger('localeChanged'));\n          this.updateDocumentLanguage(this._locale);\n        }\n        return this._locale;\n      },\n      get() {\n        return this._locale;\n      }\n    }),\n    /**\n     * Returns the first locale of the currently active locales\n     *\n     * @property primaryLocale\n     * @public\n     */\n    primaryLocale: _object.computed.readOnly('locale.0'),\n    /** @public **/\n    formatRelative: formatter('relative'),\n    /** @public **/\n    formatMessage: formatter('message'),\n    /** @public **/\n    formatNumber: formatter('number'),\n    /** @public **/\n    formatTime: formatter('time'),\n    /** @public **/\n    formatDate: formatter('date'),\n    /**\n     * Returns an array of registered locale names\n     *\n     * @property locales\n     * @public\n     */\n    locales: _object.computed.readOnly('_adapter.locales'),\n    /** @public **/\n    init() {\n      this._super(...arguments);\n      if (typeof Intl === 'undefined') {\n        (true && (0, _debug.warn)(`[ember-intl] Intl API was not found.\\nSee: ${_links.default.polyfill}`, false, {\n          id: 'ember-intl-undefined-intljs'\n        }));\n      }\n      const initialLocale = (0, _object.get)(this, 'locale') || ['en-us'];\n      this.setLocale(initialLocale);\n      this._owner = (0, _application.getOwner)(this);\n      this._adapter = this._owner.lookup('ember-intl@adapter:default');\n      this._formatters = {\n        message: new _formatters.FormatMessage(),\n        relative: new _formatters.FormatRelative(),\n        number: new _formatters.FormatNumber(),\n        time: new _formatters.FormatTime(),\n        date: new _formatters.FormatDate()\n      };\n      if (!this.formats) {\n        this.formats = this._owner.resolveRegistration('formats:main') || {};\n      }\n      (0, _hydrate.default)(this, this._owner);\n    },\n    willDestroy() {\n      this._super(...arguments);\n      (0, _runloop.cancel)(this._timer);\n    },\n    /** @public **/\n    lookup(key, localeName, options = {}) {\n      const localeNames = this.localeWithDefault(localeName);\n      let translation;\n      for (let i = 0; i < localeNames.length; i++) {\n        translation = this._adapter.lookup(localeNames[i], key);\n        if (translation !== undefined) {\n          break;\n        }\n      }\n      if (!options.resilient && translation === undefined) {\n        const missingMessage = this._owner.resolveRegistration('util:intl/missing-message');\n        return missingMessage.call(this, key, localeNames, options);\n      }\n      return translation;\n    },\n    /** @public **/\n    t(key, options = {}) {\n      let defaults = [key];\n      let msg;\n      if (options.default) {\n        defaults = defaults.concat(options.default);\n      }\n      while (!msg && defaults.length) {\n        msg = this.lookup(defaults.shift(), options.locale, (0, _polyfills.assign)({}, options, {\n          resilient: defaults.length > 0\n        }));\n      }\n\n      /* Avoids passing msg to intl-messageformat if it is not a string */\n      if (typeof msg === 'string') {\n        return this.formatMessage(msg, options);\n      }\n      return msg;\n    },\n    /** @public **/\n    exists(key, localeName) {\n      const localeNames = this.localeWithDefault(localeName);\n      (true && !(Array.isArray(localeNames) && localeNames.length) && (0, _debug.assert)(`[ember-intl] locale is unset, cannot lookup '${key}'`, Array.isArray(localeNames) && localeNames.length));\n      return localeNames.some(localeName => this._adapter.has(localeName, key));\n    },\n    /** @public */\n    setLocale(locale) {\n      (0, _object.set)(this, 'locale', locale);\n    },\n    /**\n     * A utility method for registering CLDR data against\n     * intl-messageformat and intl-relativeformat.\n     *\n     * @method addLocaleData\n     * @param {Object} locale data\n     * @public\n     */\n    addLocaleData(data) {\n      _intlMessageformat.default.__addLocaleData(data);\n      _intlRelativeformat.default.__addLocaleData(data);\n    },\n    /** @public **/\n    addTranslations(localeName, payload) {\n      const locale = this.translationsFor(localeName);\n      return locale.addTranslations(payload);\n    },\n    /** @public **/\n    translationsFor(localeName) {\n      return this._adapter.localeFactory((0, _normalizeLocale.default)(localeName));\n    },\n    /** @private **/\n    getFormat(formatType, format) {\n      const formats = (0, _object.get)(this, 'formats');\n      if (formats && formatType && typeof format === 'string') {\n        return (0, _object.get)(formats, `${formatType}.${format}`);\n      }\n    },\n    /** @private **/\n    localeWithDefault(localeName) {\n      if (!localeName) {\n        return this._locale || [];\n      }\n      if (typeof localeName === 'string') {\n        return (0, _array.makeArray)(localeName).map(_normalizeLocale.default);\n      }\n      if (Array.isArray(localeName)) {\n        return localeName.map(_normalizeLocale.default);\n      }\n    },\n    /** @private **/\n    updateDocumentLanguage(locales) {\n      const dom = (0, _getDom.default)(this);\n      if (dom) {\n        const [primaryLocale] = locales;\n        const html = dom.documentElement;\n        html.setAttribute('lang', primaryLocale);\n      }\n    }\n  });\n  function formatter(name) {\n    return function (value, options, formats) {\n      let formatOptions = options;\n      if (options && typeof options.format === 'string') {\n        formatOptions = (0, _polyfills.assign)({}, this.getFormat(name, formatOptions.format), formatOptions);\n      }\n      return this._formatters[name].format(value, formatOptions, {\n        formats: formats || this.formats,\n        locale: this.localeWithDefault(formatOptions && formatOptions.locale)\n      });\n    };\n  }\n});","define(\"ember-intl/utils/get-dom\", [\"exports\", \"@ember/application\"], function (_exports, _application) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = getDOM;\n  // adjusted from https://github.com/yapplabs/ember-wormhole/blob/0.5.4/addon/utils/dom.js#L45-L63\n  //\n  // Private Ember API usage. Get the dom implementation used by the current\n  // renderer, be it native browser DOM or Fastboot SimpleDOM\n  function getDOM(context) {\n    let {\n      renderer\n    } = context;\n    if (!renderer || !renderer._dom) {\n      // pre glimmer2\n      let container = _application.getOwner ? (0, _application.getOwner)(context) : context.container;\n      let documentService = container.lookup('service:-document');\n      if (documentService) {\n        return documentService;\n      }\n      renderer = container.lookup('renderer:-dom');\n    }\n    if (renderer._dom && renderer._dom.document) {\n      // pre Ember 2.6\n      return renderer._dom.document;\n    }\n    return null;\n  }\n});","define(\"ember-intl/utils/links\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const GUIDE_URL = 'https://ember-intl.github.io/ember-intl/docs/guide/';\n  var _default = _exports.default = {\n    unsetLocale: `${GUIDE_URL}ember-service-api#locale`,\n    asyncTranslations: `${GUIDE_URL}asynchronously-loading-translations`,\n    polyfill: `${GUIDE_URL}intljs-polyfill`\n  };\n});","define(\"ember-intl/utils/missing-message\", [\"exports\", \"@ember/utils\", \"@ember/debug\", \"ember-intl/utils/links\"], function (_exports, _utils, _debug, _links) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = missingMessage;\n  function missingMessage(key, locales /*, options */) {\n    if ((0, _utils.isEmpty)(locales)) {\n      (true && (0, _debug.warn)(`[ember-intl] no locale has been set. Documentation: ${_links.default.unsetLocale}`, false, {\n        id: 'ember-intl-no-locale-set'\n      }));\n      return `No locale defined.  Unable to resolve translation: \"${key}\"`;\n    }\n    const localeNames = locales.join(', ');\n    (true && (0, _debug.warn)(`[ember-intl] translation: \"${key}\" on locale: \"${localeNames}\" was not found.`, false, {\n      id: 'ember-intl-missing-translation'\n    }));\n    return `Missing translation \"${key}\" for locale \"${localeNames}\"`;\n  }\n});","define(\"ember-load-initializers/index\", [\"exports\", \"require\"], function (_exports, _require) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = loadInitializers;\n  function resolveInitializer(moduleName) {\n    var module = (0, _require.default)(moduleName, null, null, true);\n    if (!module) {\n      throw new Error(moduleName + ' must export an initializer.');\n    }\n    var initializer = module['default'];\n    if (!initializer.name) {\n      initializer.name = moduleName.slice(moduleName.lastIndexOf('/') + 1);\n    }\n    return initializer;\n  }\n  function registerInitializers(app, moduleNames) {\n    for (var i = 0; i < moduleNames.length; i++) {\n      app.initializer(resolveInitializer(moduleNames[i]));\n    }\n  }\n  function registerInstanceInitializers(app, moduleNames) {\n    for (var i = 0; i < moduleNames.length; i++) {\n      app.instanceInitializer(resolveInitializer(moduleNames[i]));\n    }\n  }\n  function _endsWith(str, suffix) {\n    return str.indexOf(suffix, str.length - suffix.length) !== -1;\n  }\n\n  /**\n   * Configure your application as it boots\n   */\n  function loadInitializers(app, prefix) {\n    var initializerPrefix = prefix + '/initializers/';\n    var instanceInitializerPrefix = prefix + '/instance-initializers/';\n    var initializers = [];\n    var instanceInitializers = [];\n    // this is 2 pass because generally the first pass is the problem\n    // and is reduced, and resolveInitializer has potential to deopt\n    var moduleNames = Object.keys(requirejs._eak_seen);\n    for (var i = 0; i < moduleNames.length; i++) {\n      var moduleName = moduleNames[i];\n      if (moduleName.lastIndexOf(initializerPrefix, 0) === 0) {\n        if (!_endsWith(moduleName, '-test')) {\n          initializers.push(moduleName);\n        }\n      } else if (moduleName.lastIndexOf(instanceInitializerPrefix, 0) === 0) {\n        if (!_endsWith(moduleName, '-test')) {\n          instanceInitializers.push(moduleName);\n        }\n      }\n    }\n    registerInitializers(app, initializers);\n    registerInstanceInitializers(app, instanceInitializers);\n  }\n});","define(\"ember-modifier/-private/class/modifier-manager\", [\"exports\", \"@ember/modifier\", \"@ember/object\", \"@ember/destroyable\", \"ember-modifier/-private/compat\"], function (_exports, _modifier, _object, _destroyable, _compat) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function destroyModifier(modifier) {\n    modifier.willRemove();\n    modifier.willDestroy();\n  }\n  class ClassBasedModifierManager {\n    constructor(owner) {\n      this.owner = owner;\n      _defineProperty(this, \"capabilities\", (0, _modifier.capabilities)(true ? '3.22' : '3.13'));\n    }\n    createModifier(factoryOrClass, args) {\n      const Modifier = (0, _compat.isFactory)(factoryOrClass) ? factoryOrClass.class : factoryOrClass;\n      const modifier = new Modifier(this.owner, args);\n      (0, _destroyable.registerDestructor)(modifier, destroyModifier);\n      return modifier;\n    }\n    installModifier(instance, element, args) {\n      instance.element = element;\n      if (true) {\n        (0, _compat.consumeArgs)(args);\n      }\n      instance.didReceiveArguments();\n      instance.didInstall();\n    }\n    updateModifier(instance, args) {\n      // TODO: this should be an args proxy\n      (0, _object.set)(instance, 'args', args);\n      if (true) {\n        (0, _compat.consumeArgs)(args);\n      }\n      instance.didUpdateArguments();\n      instance.didReceiveArguments();\n    }\n    destroyModifier(instance) {\n      (0, _destroyable.destroy)(instance);\n    }\n  }\n  _exports.default = ClassBasedModifierManager;\n});","define(\"ember-modifier/-private/class/modifier\", [\"exports\", \"@ember/application\", \"@ember/modifier\", \"ember-modifier/-private/class/modifier-manager\", \"@ember/destroyable\"], function (_exports, _application, _modifier, _modifierManager, _destroyable) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  /**\n   * A base class for modifiers which need more capabilities than function-based\n   * modifiers. Useful if, for example:\n   *\n   * 1. You need to inject services and access them\n   * 2. You need fine-grained control of updates, either for performance or\n   *    convenience reasons, and don't want to teardown the state of your modifier\n   *    every time only to set it up again.\n   * 3. You need to store some local state within your modifier.\n   *\n   * The lifecycle hooks of class modifiers are tracked. When they run, they any\n   * values they access will be added to the modifier, and the modifier will\n   * update if any of those values change.\n   */\n  class ClassBasedModifier {\n    constructor(owner, args) {\n      /**\n       * The arguments passed to the modifier. `args.positional` is an array of\n       * positional arguments, and `args.named` is an object containing the named\n       * arguments.\n       */\n      _defineProperty(this, \"args\", void 0);\n      /**\n       * The element the modifier is applied to.\n       *\n       * @warning `element` is ***not*** available during `constructor` or\n       *   `willDestroy`.\n       */\n      // SAFETY: this is managed correctly by the class-based modifier. It is not\n      // available during the `constructor`.\n      // eslint-disable-next-line @typescript-eslint/no-explicit-any\n      _defineProperty(this, \"element\", null);\n      (0, _application.setOwner)(this, owner);\n      this.args = args;\n    }\n\n    /**\n     * Called when the modifier is installed **and** anytime the arguments are\n     * updated.\n     */\n    didReceiveArguments() {\n      /* no op, for subclassing */\n    }\n\n    /**\n     * Called anytime the arguments are updated but **not** on the initial\n     * install. Called before `didReceiveArguments`.\n     */\n    didUpdateArguments() {\n      /* no op, for subclassing */\n    }\n\n    /**\n     * Called when the modifier is installed on the DOM element. Called after\n     * `didReceiveArguments`.\n     */\n    didInstall() {\n      /* no op, for subclassing */\n    }\n\n    /**\n     * Called when the DOM element is about to be destroyed; use for removing\n     * event listeners on the element and other similar clean-up tasks.\n     *\n     * @deprecated since 2.0.0: prefer to use `willDestroy`, since both it and\n     *   `willRemove` can perform all the same operations, including on the\n     *   `element`.\n     */\n    willRemove() {\n      /* no op, for subclassing */\n    }\n\n    /**\n     * Called when the modifier itself is about to be destroyed; use for teardown\n     * code. Called after `willRemove`.\n     */\n    willDestroy() {\n      /* no op, for subclassing */\n    }\n    get isDestroying() {\n      return (0, _destroyable.isDestroying)(this);\n    }\n    get isDestroyed() {\n      return (0, _destroyable.isDestroyed)(this);\n    }\n  }\n  _exports.default = ClassBasedModifier;\n  (0, _modifier.setModifierManager)(owner => new _modifierManager.default(owner), ClassBasedModifier);\n});","define(\"ember-modifier/-private/compat\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.consumeArgs = void 0;\n  _exports.isFactory = isFactory;\n  function isFactory(\n  // eslint-disable-next-line @typescript-eslint/no-unused-vars\n  _factoryOrClass) {\n    return !true;\n  }\n\n  // eslint-disable-next-line @typescript-eslint/no-empty-function\n  const noop = () => {};\n\n  /**\n   * Consume each positional and named argument to entangle it in autotracking and\n   * enable updates.\n   *\n   * This is a temporary workaround for a change in the autotracking semantics of\n   * the args proxy introduced in `v3.22`. What changed is that arguments are no\n   * longer eagerly consumed. Didn’t use an argument? Then updates won’t be run\n   * when its value changes. This workaround reproduces the previous behaviour to\n   * avoid introducing a breaking change until a suitable transition path is made\n   * available.\n   */\n  let consumeArgs = _exports.consumeArgs = noop;\n  if (true) {\n    _exports.consumeArgs = consumeArgs = function ({\n      positional,\n      named\n    }) {\n      for (let i = 0; i < positional.length; i++) {\n        positional[i];\n      }\n      Object.values(named);\n    };\n  }\n});","define(\"ember-modifier/-private/functional/modifier-manager\", [\"exports\", \"@ember/modifier\", \"ember-modifier/-private/compat\"], function (_exports, _modifier, _compat) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  const MODIFIER_ELEMENTS = new WeakMap();\n  const MODIFIER_TEARDOWNS = new WeakMap();\n  function teardown(modifier) {\n    const teardown = MODIFIER_TEARDOWNS.get(modifier);\n    if (teardown && typeof teardown === 'function') {\n      teardown();\n    }\n  }\n  function setup(modifier, element, args) {\n    const {\n      positional,\n      named\n    } = args;\n    const teardown = modifier(element, positional, named);\n    MODIFIER_TEARDOWNS.set(modifier, teardown);\n  }\n  class FunctionalModifierManager {\n    constructor() {\n      _defineProperty(this, \"capabilities\", (0, _modifier.capabilities)(true ? '3.22' : '3.13'));\n    }\n    createModifier(factoryOrClass) {\n      const Modifier = (0, _compat.isFactory)(factoryOrClass) ? factoryOrClass.class : factoryOrClass;\n\n      // This looks superfluous, but this is creating a new instance\n      // of a function -- this is important so that each instance of the\n      // created modifier can have its own state which is stored in\n      // the MODIFIER_ELEMENTS and MODIFIER_TEARDOWNS WeakMaps\n      return (...args) => Modifier(...args);\n    }\n    installModifier(modifier, element, args) {\n      MODIFIER_ELEMENTS.set(modifier, element);\n      if (true) {\n        (0, _compat.consumeArgs)(args);\n      }\n      setup(modifier, element, args);\n    }\n    updateModifier(modifier, args) {\n      const element = MODIFIER_ELEMENTS.get(modifier);\n      teardown(modifier);\n      if (true) {\n        (0, _compat.consumeArgs)(args);\n      }\n      setup(modifier, element, args);\n    }\n    destroyModifier(modifier) {\n      teardown(modifier);\n    }\n  }\n  var _default = _exports.default = new FunctionalModifierManager();\n});","define(\"ember-modifier/-private/functional/modifier\", [\"exports\", \"@ember/modifier\", \"ember-modifier/-private/functional/modifier-manager\"], function (_exports, _modifier, _modifierManager) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = modifier;\n  /**\n   * An API for writing simple modifiers.\n   *\n   * This function runs the first time when the element the modifier was applied\n   * to is inserted into the DOM, and it *autotracks* while running. Any values\n   * that it accesses will be tracked, including the arguments it receives, and if\n   * any of them changes, the function will run again.\n   *\n   * The modifier can also optionally return a *destructor*. The destructor\n   * function will be run just before the next update, and when the element is\n   * being removed entirely. It should generally clean up the changes that the\n   * modifier made in the first place.\n   *\n   * @param fn The function which defines the modifier.\n   */\n  function modifier(fn) {\n    return (0, _modifier.setModifierManager)(() => _modifierManager.default, fn);\n  }\n});","define(\"ember-modifier/-private/interfaces\", [], function () {\n  \"use strict\";\n});","define(\"ember-modifier/-private/utils/symbol\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.symbol = void 0;\n  /**\n   * This symbol provides a Symbol replacement for browsers that do not have it\n   * (eg. IE 11).\n   *\n   * The replacement is different from the native Symbol in some ways. It is a\n   * function that produces an output:\n   * - iterable;\n   * - that is a string, not a symbol.\n   *\n   * This is inspired by:\n   * https://github.com/emberjs/data/blob/master/packages/store/addon/-private/ts-interfaces/utils/symbol.ts\n   *\n   */\n  const symbol = _exports.symbol = typeof Symbol !== 'undefined' ? Symbol : key => `__${key}${Math.floor(Math.random() * Date.now())}__`;\n});","define(\"ember-modifier/index\", [\"exports\", \"ember-modifier/-private/class/modifier\", \"ember-modifier/-private/functional/modifier\", \"ember-modifier/-private/interfaces\"], function (_exports, _modifier, _modifier2, _interfaces) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"ModifierArgs\", {\n    enumerable: true,\n    get: function () {\n      return _interfaces.ModifierArgs;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _modifier.default;\n    }\n  });\n  Object.defineProperty(_exports, \"modifier\", {\n    enumerable: true,\n    get: function () {\n      return _modifier2.default;\n    }\n  });\n});","define(\"ember-on-resize-modifier/modifiers/on-resize\", [\"exports\", \"ember-modifier\", \"@ember/service\", \"@ember/object\", \"@ember/debug\"], function (_exports, _emberModifier, _service, _object, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let OnResizeModifier = _exports.default = (_class = class OnResizeModifier extends _emberModifier.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"resizeObserver\", _descriptor, this);\n    }\n    get callback() {\n      return this.args.positional[0];\n    }\n    didReceiveArguments() {\n      (true && !(typeof this.callback === 'function') && (0, _debug.assert)(`on-resize-modifier: callback must be a function, but was ${this.callback}`, typeof this.callback === 'function'));\n    }\n    didInstall() {\n      this.resizeObserver.observe(this.element, this.handleResize);\n    }\n    willRemove() {\n      this.resizeObserver.unobserve(this.element, this.handleResize);\n    }\n    handleResize(...args) {\n      this.callback(...args);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"resizeObserver\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"handleResize\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleResize\"), _class.prototype), _class);\n});","define('ember-require-module/index', ['exports', 'require'], function (exports, _require2) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = requireModule;\n  function requireModule(module, exportName = 'default') {\n    if (_require2.default.has(module)) {\n      return (0, _require2.default)(module)[exportName];\n    }\n  }\n});","define(\"ember-resize-observer-service/services/resize-observer\", [\"exports\", \"@ember/service\", \"@ember/object\", \"@ember/debug\", \"ember-resize-observer-service/utils/ignore-ro-error\"], function (_exports, _service, _object, _debug, _ignoreRoError) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class;\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  const addonName = 'resize-observer-service';\n\n  /**\n   * ResizeObserverService allows to use a single ResizeObserver instance\n   * for observing multiple elements to achieve better performance.\n   */\n  let ResizeObserverService = _exports.default = (_class = class ResizeObserverService extends _service.default {\n    constructor() {\n      super(...arguments);\n      this._setup();\n    }\n    _setup() {\n      this.callbacks = null;\n      this.observer = null;\n      if (typeof FastBoot !== 'undefined' || typeof window === 'undefined') {\n        return;\n      }\n      if (!window.ResizeObserver) {\n        (true && (0, _debug.warn)(`${addonName}: ResizeObserver is not available`, {\n          id: addonName\n        }));\n        return;\n      }\n      (0, _ignoreRoError.default)();\n      this.callbacks = new WeakMap();\n      this.observer = new window.ResizeObserver(this.handleResize);\n    }\n\n    /**\n     * `isEnabled` is `true` if the ResizeObserver API is available,\n     * otherwise the service will ignore any method calls.\n     */\n    get isEnabled() {\n      return !!this.observer;\n    }\n\n    /**\n     * Initiate the observing of the `element` or add an additional `callback`\n     * if the `element` is already observed.\n     *\n     * @param {object} element\n     * @param {function} callback The `callback` is called whenever the size of\n     *    the `element` changes. It is called with `ResizeObserverEntry` object\n     *    for the particular `element`.\n     */\n    observe(element, callback) {\n      if (!this.isEnabled) {\n        return;\n      }\n      const callbacks = this.callbacks.get(element);\n      if (callbacks) {\n        callbacks.add(callback);\n      } else {\n        this.callbacks.set(element, new Set([callback]));\n        this.observer.observe(element);\n      }\n    }\n\n    /**\n     * End the observing of the `element` or just remove the provided `callback`.\n     *\n     * It will unobserve the `element` if the `callback` is not provided\n     * or there are no more callbacks left for this `element`.\n     *\n     * @param {object} element\n     * @param {function?} callback - The `callback` to remove from the listeners\n     *   of the `element` size changes.\n     */\n    unobserve(element, callback) {\n      if (!this.isEnabled) {\n        return;\n      }\n      const callbacks = this.callbacks.get(element);\n      if (!callbacks) {\n        return;\n      }\n      callbacks.delete(callback);\n      if (!callback || !callbacks.size) {\n        this.callbacks.delete(element);\n        this.observer.unobserve(element);\n      }\n    }\n\n    /**\n     * Unobserve all observed elements.\n     */\n    clear() {\n      if (!this.isEnabled) {\n        return;\n      }\n      this.callbacks = new WeakMap();\n      this.observer.disconnect();\n    }\n    willDestroy() {\n      this.clear();\n    }\n    handleResize(entries) {\n      for (const entry of entries) {\n        const callbacks = this.callbacks.get(entry.target);\n        if (callbacks) {\n          for (const callback of callbacks) {\n            callback(entry);\n          }\n        }\n      }\n    }\n  }, _applyDecoratedDescriptor(_class.prototype, \"handleResize\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"handleResize\"), _class.prototype), _class);\n});","define(\"ember-resize-observer-service/utils/ignore-ro-error\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = ignoreROError;\n  const errorMessages = ['ResizeObserver loop limit exceeded', 'ResizeObserver loop completed with undelivered notifications.'];\n\n  /**\n   * Ignores \"ResizeObserver loop limit exceeded\" error in Ember tests.\n   *\n   * This \"error\" is safe to ignore as it is just a warning message,\n   * telling that the \"looping\" observation will be skipped in the current frame,\n   * and will be delivered in the next one.\n   *\n   * For some reason, it is fired as an `error` event at `window` failing Ember\n   * tests and exploding Sentry with errors that must be ignored.\n   */\n  function ignoreROError() {\n    if (typeof window.onerror !== 'function') {\n      return;\n    }\n    const onError = window.onerror;\n    window.onerror = (message, ...args) => {\n      if (errorMessages.includes(message)) {\n        return true;\n      } else {\n        onError(message, ...args);\n      }\n    };\n  }\n});","/*\n * This is a stub file, it must be on disk b/c babel-plugin-debug-macros\n * does not strip the module require when the transpiled variable usage is\n * stripped.\n */\ndefine(\"ember-resolver/features\", [], function () {\n  \"use strict\";\n});","define(\"ember-resolver/index\", [\"exports\", \"ember-resolver/resolvers/classic\"], function (_exports, _classic) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _classic.default;\n    }\n  });\n});","define(\"ember-resolver/resolver\", [\"exports\", \"ember-resolver/resolvers/classic\"], function (_exports, _classic) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _classic.default;\n    }\n  });\n});","define(\"ember-resolver/resolvers/classic/container-debug-adapter\", [\"exports\", \"@ember/array\", \"@ember/debug/container-debug-adapter\", \"ember-resolver/resolvers/classic/index\", \"@ember/application\"], function (_exports, _array, _containerDebugAdapter, _index, _application) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function getPod(type, key, prefix) {\n    let match = key.match(new RegExp('^/?' + prefix + '/(.+)/' + type + '$'));\n    if (match !== null) {\n      return match[1];\n    }\n  }\n\n  /*\n   * This module defines a subclass of Ember.ContainerDebugAdapter that adds\n   * support for resolving from modules.\n   *\n   */\n  var _default = _exports.default = _containerDebugAdapter.default.extend({\n    _moduleRegistry: null,\n    init() {\n      this._super(...arguments);\n      this.namespace = (0, _application.getOwner)(this).lookup('application:main');\n      if (!this._moduleRegistry) {\n        this._moduleRegistry = new _index.ModuleRegistry();\n      }\n    },\n    /**\n        The container of the application being debugged.\n        This property will be injected\n        on creation.\n         @property container\n        @default null\n        */\n\n    /**\n        The resolver instance of the application\n        being debugged. This property will be injected\n        on creation.\n         @property resolver\n        @default null\n        */\n\n    /**\n        Returns true if it is possible to catalog a list of available\n        classes in the resolver for a given type.\n         @method canCatalogEntriesByType\n        @param {string} type The type. e.g. \"model\", \"controller\", \"route\"\n        @return {boolean} whether a list is available for this type.\n        */\n    canCatalogEntriesByType(type) {\n      if (type === 'model') {\n        return true;\n      }\n      return this._super(...arguments);\n    },\n    /**\n        Returns the available classes a given type.\n         @method catalogEntriesByType\n        @param {string} type The type. e.g. \"model\", \"controller\", \"route\"\n        @return {Array} An array of classes.\n        */\n    catalogEntriesByType(type) {\n      let moduleNames = this._moduleRegistry.moduleNames();\n      let types = (0, _array.A)();\n      let prefix = this.namespace.modulePrefix;\n      for (let i = 0, l = moduleNames.length; i < l; i++) {\n        let key = moduleNames[i];\n        if (key.indexOf(type) !== -1) {\n          // Check if it's a pod module\n          let name = getPod(type, key, this.namespace.podModulePrefix || prefix);\n          if (!name) {\n            // Not pod\n            name = key.split(type + 's/').pop();\n\n            // Support for different prefix (such as ember-cli addons).\n            // Uncomment the code below when\n            // https://github.com/ember-cli/ember-resolver/pull/80 is merged.\n\n            //let match = key.match('^/?(.+)/' + type);\n            //if (match && match[1] !== prefix) {\n            // Different prefix such as an addon\n            //name = match[1] + '@' + name;\n            //}\n          }\n          types.addObject(name);\n        }\n      }\n      return types;\n    }\n  });\n});","define(\"ember-resolver/resolvers/classic/index\", [\"exports\", \"ember\", \"@ember/debug\", \"@ember/object\", \"@ember/string\", \"ember-resolver/utils/class-factory\"], function (_exports, _ember, _debug, _object, _string, _classFactory) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _exports.ModuleRegistry = void 0;\n  /* globals requirejs, require */\n\n  if (typeof requirejs.entries === 'undefined') {\n    requirejs.entries = requirejs._eak_seen;\n  }\n  class ModuleRegistry {\n    constructor(entries) {\n      this._entries = entries || requirejs.entries;\n    }\n    moduleNames() {\n      return Object.keys(this._entries);\n    }\n    has(moduleName) {\n      return moduleName in this._entries;\n    }\n    get(...args) {\n      return require(...args);\n    }\n  }\n\n  /**\n   * This module defines a subclass of Ember.DefaultResolver that adds two\n   * important features:\n   *\n   *  1) The resolver makes the container aware of es6 modules via the AMD\n   *     output. The loader's _moduleEntries is consulted so that classes can be\n   *     resolved directly via the module loader, without needing a manual\n   *     `import`.\n   *  2) is able to provide injections to classes that implement `extend`\n   *     (as is typical with Ember).\n   */\n  _exports.ModuleRegistry = ModuleRegistry;\n  function parseName(fullName) {\n    if (fullName.parsedName === true) {\n      return fullName;\n    }\n    let prefix, type, name;\n    let fullNameParts = fullName.split('@');\n    if (fullNameParts.length === 3) {\n      if (fullNameParts[0].length === 0) {\n        // leading scoped namespace: `@scope/pkg@type:name`\n        prefix = `@${fullNameParts[1]}`;\n        let prefixParts = fullNameParts[2].split(':');\n        type = prefixParts[0];\n        name = prefixParts[1];\n      } else {\n        // interweaved scoped namespace: `type:@scope/pkg@name`\n        prefix = `@${fullNameParts[1]}`;\n        type = fullNameParts[0].slice(0, -1);\n        name = fullNameParts[2];\n      }\n      if (type === 'template:components') {\n        name = `components/${name}`;\n        type = 'template';\n      }\n    } else if (fullNameParts.length === 2) {\n      let prefixParts = fullNameParts[0].split(':');\n      if (prefixParts.length === 2) {\n        if (prefixParts[1].length === 0) {\n          type = prefixParts[0];\n          name = `@${fullNameParts[1]}`;\n        } else {\n          prefix = prefixParts[1];\n          type = prefixParts[0];\n          name = fullNameParts[1];\n        }\n      } else {\n        let nameParts = fullNameParts[1].split(':');\n        prefix = fullNameParts[0];\n        type = nameParts[0];\n        name = nameParts[1];\n      }\n      if (type === 'template' && prefix.lastIndexOf('components/', 0) === 0) {\n        name = `components/${name}`;\n        prefix = prefix.slice(11);\n      }\n    } else {\n      fullNameParts = fullName.split(':');\n      type = fullNameParts[0];\n      name = fullNameParts[1];\n    }\n    let fullNameWithoutType = name;\n    let namespace = (0, _object.get)(this, 'namespace');\n    let root = namespace;\n    return {\n      parsedName: true,\n      fullName: fullName,\n      prefix: prefix || this.prefix({\n        type: type\n      }),\n      type: type,\n      fullNameWithoutType: fullNameWithoutType,\n      name: name,\n      root: root,\n      resolveMethodName: \"resolve\" + (0, _string.classify)(type)\n    };\n  }\n  function resolveOther(parsedName) {\n    (true && !(this.namespace.modulePrefix) && (0, _debug.assert)('`modulePrefix` must be defined', this.namespace.modulePrefix));\n    let normalizedModuleName = this.findModuleName(parsedName);\n    if (normalizedModuleName) {\n      let defaultExport = this._extractDefaultExport(normalizedModuleName, parsedName);\n      if (defaultExport === undefined) {\n        throw new Error(` Expected to find: '${parsedName.fullName}' within '${normalizedModuleName}' but got 'undefined'. Did you forget to 'export default' within '${normalizedModuleName}'?`);\n      }\n      if (this.shouldWrapInClassFactory(defaultExport, parsedName)) {\n        defaultExport = (0, _classFactory.default)(defaultExport);\n      }\n      return defaultExport;\n    }\n  }\n  const Resolver = _object.default.extend({\n    resolveOther,\n    parseName,\n    pluralizedTypes: null,\n    moduleRegistry: null,\n    makeToString(factory, fullName) {\n      return '' + this.namespace.modulePrefix + '@' + fullName + ':';\n    },\n    shouldWrapInClassFactory(/* module, parsedName */\n    ) {\n      return false;\n    },\n    init() {\n      this._super();\n      this.moduleBasedResolver = true;\n      if (!this._moduleRegistry) {\n        this._moduleRegistry = new ModuleRegistry();\n      }\n      this._normalizeCache = Object.create(null);\n      this.pluralizedTypes = this.pluralizedTypes || Object.create(null);\n      if (!this.pluralizedTypes.config) {\n        this.pluralizedTypes.config = 'config';\n      }\n      this._deprecatedPodModulePrefix = false;\n    },\n    normalize(fullName) {\n      return this._normalizeCache[fullName] || (this._normalizeCache[fullName] = this._normalize(fullName));\n    },\n    resolve(fullName) {\n      let parsedName = this.parseName(fullName);\n      let resolveMethodName = parsedName.resolveMethodName;\n      let resolved;\n      if (typeof this[resolveMethodName] === 'function') {\n        resolved = this[resolveMethodName](parsedName);\n      }\n      if (resolved == null) {\n        resolved = this.resolveOther(parsedName);\n      }\n      return resolved;\n    },\n    _normalize(fullName) {\n      // A) Convert underscores to dashes\n      // B) Convert camelCase to dash-case, except for components (their\n      //    templates) and helpers where we want to avoid shadowing camelCase\n      //    expressions\n      // C) replace `.` with `/` in order to make nested controllers work in the following cases\n      //      1. `needs: ['posts/post']`\n      //      2. `{{render \"posts/post\"}}`\n      //      3. `this.render('posts/post')` from Route\n\n      let split = fullName.split(':');\n      if (split.length > 1) {\n        let type = split[0];\n        if (type === 'component' || type === 'helper' || type === 'modifier' || type === 'template' && split[1].indexOf('components/') === 0) {\n          return type + ':' + split[1].replace(/_/g, '-');\n        } else {\n          return type + ':' + (0, _string.dasherize)(split[1].replace(/\\./g, '/'));\n        }\n      } else {\n        return fullName;\n      }\n    },\n    pluralize(type) {\n      return this.pluralizedTypes[type] || (this.pluralizedTypes[type] = type + 's');\n    },\n    podBasedLookupWithPrefix(podPrefix, parsedName) {\n      let fullNameWithoutType = parsedName.fullNameWithoutType;\n      if (parsedName.type === 'template') {\n        fullNameWithoutType = fullNameWithoutType.replace(/^components\\//, '');\n      }\n      return podPrefix + '/' + fullNameWithoutType + '/' + parsedName.type;\n    },\n    podBasedModuleName(parsedName) {\n      let podPrefix = this.namespace.podModulePrefix || this.namespace.modulePrefix;\n      return this.podBasedLookupWithPrefix(podPrefix, parsedName);\n    },\n    podBasedComponentsInSubdir(parsedName) {\n      let podPrefix = this.namespace.podModulePrefix || this.namespace.modulePrefix;\n      podPrefix = podPrefix + '/components';\n      if (parsedName.type === 'component' || /^components/.test(parsedName.fullNameWithoutType)) {\n        return this.podBasedLookupWithPrefix(podPrefix, parsedName);\n      }\n    },\n    resolveEngine(parsedName) {\n      let engineName = parsedName.fullNameWithoutType;\n      let engineModule = engineName + '/engine';\n      if (this._moduleRegistry.has(engineModule)) {\n        return this._extractDefaultExport(engineModule);\n      }\n    },\n    resolveRouteMap(parsedName) {\n      let engineName = parsedName.fullNameWithoutType;\n      let engineRoutesModule = engineName + '/routes';\n      if (this._moduleRegistry.has(engineRoutesModule)) {\n        let routeMap = this._extractDefaultExport(engineRoutesModule);\n        (true && !(routeMap.isRouteMap) && (0, _debug.assert)(`The route map for ${engineName} should be wrapped by 'buildRoutes' before exporting.`, routeMap.isRouteMap));\n        return routeMap;\n      }\n    },\n    resolveTemplate(parsedName) {\n      let resolved = this.resolveOther(parsedName);\n      if (resolved == null) {\n        resolved = _ember.default.TEMPLATES[parsedName.fullNameWithoutType];\n      }\n      return resolved;\n    },\n    mainModuleName(parsedName) {\n      if (parsedName.fullNameWithoutType === 'main') {\n        // if router:main or adapter:main look for a module with just the type first\n        return parsedName.prefix + '/' + parsedName.type;\n      }\n    },\n    defaultModuleName(parsedName) {\n      return parsedName.prefix + '/' + this.pluralize(parsedName.type) + '/' + parsedName.fullNameWithoutType;\n    },\n    nestedColocationComponentModuleName(parsedName) {\n      if (parsedName.type === 'component') {\n        return parsedName.prefix + '/' + this.pluralize(parsedName.type) + '/' + parsedName.fullNameWithoutType + '/index';\n      }\n    },\n    prefix(parsedName) {\n      let tmpPrefix = this.namespace.modulePrefix;\n      if (this.namespace[parsedName.type + 'Prefix']) {\n        tmpPrefix = this.namespace[parsedName.type + 'Prefix'];\n      }\n      return tmpPrefix;\n    },\n    /**\n      A listing of functions to test for moduleName's based on the provided\n     `parsedName`. This allows easy customization of additional module based\n     lookup patterns.\n      @property moduleNameLookupPatterns\n     @returns {Ember.Array}\n     */\n    moduleNameLookupPatterns: (0, _object.computed)(function () {\n      return [this.podBasedModuleName, this.podBasedComponentsInSubdir, this.mainModuleName, this.defaultModuleName, this.nestedColocationComponentModuleName];\n    }).readOnly(),\n    findModuleName(parsedName, loggingDisabled) {\n      let moduleNameLookupPatterns = this.get('moduleNameLookupPatterns');\n      let moduleName;\n      for (let index = 0, length = moduleNameLookupPatterns.length; index < length; index++) {\n        let item = moduleNameLookupPatterns[index];\n        let tmpModuleName = item.call(this, parsedName);\n\n        // allow treat all dashed and all underscored as the same thing\n        // supports components with dashes and other stuff with underscores.\n        if (tmpModuleName) {\n          tmpModuleName = this.chooseModuleName(tmpModuleName, parsedName);\n        }\n        if (tmpModuleName && this._moduleRegistry.has(tmpModuleName)) {\n          moduleName = tmpModuleName;\n        }\n        if (!loggingDisabled) {\n          this._logLookup(moduleName, parsedName, tmpModuleName);\n        }\n        if (moduleName) {\n          return moduleName;\n        }\n      }\n    },\n    chooseModuleName(moduleName, parsedName) {\n      let underscoredModuleName = (0, _string.underscore)(moduleName);\n      if (moduleName !== underscoredModuleName && this._moduleRegistry.has(moduleName) && this._moduleRegistry.has(underscoredModuleName)) {\n        throw new TypeError(`Ambiguous module names: '${moduleName}' and '${underscoredModuleName}'`);\n      }\n      if (this._moduleRegistry.has(moduleName)) {\n        return moduleName;\n      } else if (this._moduleRegistry.has(underscoredModuleName)) {\n        return underscoredModuleName;\n      }\n      // workaround for dasherized partials:\n      // something/something/-something => something/something/_something\n      let partializedModuleName = moduleName.replace(/\\/-([^/]*)$/, '/_$1');\n      if (this._moduleRegistry.has(partializedModuleName)) {\n        (true && !(false) && (0, _debug.deprecate)('Modules should not contain underscores. ' + 'Attempted to lookup \"' + moduleName + '\" which ' + 'was not found. Please rename \"' + partializedModuleName + '\" ' + 'to \"' + moduleName + '\" instead.', false, {\n          id: 'ember-resolver.underscored-modules',\n          until: '3.0.0',\n          for: 'ember-resolver',\n          since: '0.1.0'\n        }));\n        return partializedModuleName;\n      }\n      if (true /* DEBUG */) {\n        let isCamelCaseHelper = parsedName.type === 'helper' && /[a-z]+[A-Z]+/.test(moduleName);\n        if (isCamelCaseHelper) {\n          this._camelCaseHelperWarnedNames = this._camelCaseHelperWarnedNames || [];\n          let alreadyWarned = this._camelCaseHelperWarnedNames.indexOf(parsedName.fullName) > -1;\n          if (!alreadyWarned && this._moduleRegistry.has((0, _string.dasherize)(moduleName))) {\n            this._camelCaseHelperWarnedNames.push(parsedName.fullName);\n            (true && (0, _debug.warn)('Attempted to lookup \"' + parsedName.fullName + '\" which ' + 'was not found. In previous versions of ember-resolver, a bug would have ' + 'caused the module at \"' + (0, _string.dasherize)(moduleName) + '\" to be ' + 'returned for this camel case helper name. This has been fixed. ' + 'Use the dasherized name to resolve the module that would have been ' + 'returned in previous versions.', false, {\n              id: 'ember-resolver.camelcase-helper-names',\n              until: '3.0.0'\n            }));\n          }\n        }\n      }\n    },\n    // used by Ember.DefaultResolver.prototype._logLookup\n    lookupDescription(fullName) {\n      let parsedName = this.parseName(fullName);\n      let moduleName = this.findModuleName(parsedName, true);\n      return moduleName;\n    },\n    // only needed until 1.6.0-beta.2 can be required\n    _logLookup(found, parsedName, description) {\n      if (!_ember.default.ENV.LOG_MODULE_RESOLVER && !parsedName.root.LOG_RESOLVER) {\n        return;\n      }\n      let padding;\n      let symbol = found ? '[✓]' : '[ ]';\n      if (parsedName.fullName.length > 60) {\n        padding = '.';\n      } else {\n        padding = new Array(60 - parsedName.fullName.length).join('.');\n      }\n      if (!description) {\n        description = this.lookupDescription(parsedName);\n      }\n\n      /* eslint-disable no-console */\n      if (console && console.info) {\n        console.info(symbol, parsedName.fullName, padding, description);\n      }\n    },\n    knownForType(type) {\n      let moduleKeys = this._moduleRegistry.moduleNames();\n      let items = Object.create(null);\n      for (let index = 0, length = moduleKeys.length; index < length; index++) {\n        let moduleName = moduleKeys[index];\n        let fullname = this.translateToContainerFullname(type, moduleName);\n        if (fullname) {\n          items[fullname] = true;\n        }\n      }\n      return items;\n    },\n    translateToContainerFullname(type, moduleName) {\n      let prefix = this.prefix({\n        type\n      });\n\n      // Note: using string manipulation here rather than regexes for better performance.\n      // pod modules\n      // '^' + prefix + '/(.+)/' + type + '$'\n      let podPrefix = prefix + '/';\n      let podSuffix = '/' + type;\n      let start = moduleName.indexOf(podPrefix);\n      let end = moduleName.indexOf(podSuffix);\n      if (start === 0 && end === moduleName.length - podSuffix.length && moduleName.length > podPrefix.length + podSuffix.length) {\n        return type + ':' + moduleName.slice(start + podPrefix.length, end);\n      }\n\n      // non-pod modules\n      // '^' + prefix + '/' + pluralizedType + '/(.+)$'\n      let pluralizedType = this.pluralize(type);\n      let nonPodPrefix = prefix + '/' + pluralizedType + '/';\n      if (moduleName.indexOf(nonPodPrefix) === 0 && moduleName.length > nonPodPrefix.length) {\n        return type + ':' + moduleName.slice(nonPodPrefix.length);\n      }\n    },\n    _extractDefaultExport(normalizedModuleName) {\n      let module = this._moduleRegistry.get(normalizedModuleName, null, null, true /* force sync */);\n      if (module && module['default']) {\n        module = module['default'];\n      }\n      return module;\n    }\n  });\n  Resolver.reopenClass({\n    moduleBasedResolver: true\n  });\n  var _default = _exports.default = Resolver;\n});","define(\"ember-resolver/utils/class-factory\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = classFactory;\n  function classFactory(klass) {\n    return {\n      create(injections) {\n        if (typeof klass.extend === 'function') {\n          return klass.extend(injections);\n        } else {\n          return klass;\n        }\n      }\n    };\n  }\n});","define('ember-sticky-element/components/sticky-element', ['exports', 'ember-sticky-element/templates/components/sticky-element'], function (exports, _stickyElement) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n\n\n  const { testing } = Ember;\n\n  function elementPosition(element, offseTop, offsetBottom) {\n    let top = element.getBoundingClientRect().top;\n    if (top - offseTop < 0) {\n      return 'top';\n    }\n    if (top + element.offsetHeight + offsetBottom <= window.innerHeight) {\n      return 'in';\n    }\n    return 'bottom';\n  }\n\n  exports.default = Ember.Component.extend({\n    layout: _stickyElement.default,\n    classNames: ['sticky-element-container'],\n    attributeBindings: ['style'],\n\n    /**\n     * The offset from the top of the viewport when to start sticking to the top\n     *\n     * @property top\n     * @type {number}\n     * @default 0\n     * @public\n     */\n    top: 0,\n\n    /**\n     * The offset from the parents bottom edge when to start sticking to the bottom of the parent\n     * When `null` (default) sticking to the bottom is disabled. Use 0 or any other appropriate offset to enable it.\n     *\n     * @property bottom\n     * @type {boolean|null}\n     * @public\n     */\n    bottom: null,\n\n    /**\n     * Set to false to disable sticky behavior\n     *\n     * @property enabled\n     * @type {boolean}\n     * @default true\n     * @public\n     */\n    enabled: true,\n\n    /**\n     * The class name set on the element container.\n     *\n     * @property containerClassName\n     * @type {string|null}\n     * @default 'sticky-element'\n     * @public\n     */\n    containerClassName: 'sticky-element',\n\n    /**\n     * The class name set on the element container when it is sticked.\n     *\n     * @property containerStickyClassName\n     * @type {string|null}\n     * @default 'sticky-element--sticky'\n     * @public\n     */\n    containerStickyClassName: 'sticky-element--sticky',\n\n    /**\n     * The class name set on the element container when it is sticked to top.\n     *\n     * @property containerStickyTopClassName\n     * @type {string|null}\n     * @default 'sticky-element--sticky-top'\n     * @public\n     */\n    containerStickyTopClassName: 'sticky-element--sticky-top',\n\n    /**\n     * The class name set on the element container when it is sticked to bottom.\n     *\n     * @property containerStickyBottomClassName\n     * @type {string|null}\n     * @default 'sticky-element--sticky-bottom'\n     * @public\n     */\n    containerStickyBottomClassName: 'sticky-element--sticky-bottom',\n\n    /**\n     * @property isSticky\n     * @type {boolean}\n     * @readOnly\n     * @private\n     */\n    isSticky: Ember.computed.or('isStickyTop', 'isStickyBottom').readOnly(),\n\n    /**\n     * @property isStickyTop\n     * @type {boolean}\n     * @readOnly\n     * @private\n     */\n    isStickyTop: Ember.computed('enabled', 'parentTop', 'parentBottom', 'isStickyBottom', function () {\n      return this.get('enabled') && this.get('parentTop') === 'top' && !this.get('isStickyBottom');\n    }).readOnly(),\n\n    /**\n     * @property isStickyBottom\n     * @type {boolean}\n     * @readOnly\n     * @private\n     */\n    isStickyBottom: Ember.computed('enabled', 'parentBottom', 'stickToBottom', function () {\n      return this.get('enabled') && this.get('parentBottom') !== 'bottom' && this.get('stickToBottom');\n    }).readOnly(),\n\n    /**\n     * @property parentTop\n     * @type {string}\n     * @private\n     */\n    parentTop: 'bottom',\n\n    /**\n     * @property parentBottom\n     * @type {string}\n     * @private\n     */\n    parentBottom: 'bottom',\n\n    /**\n     * @property ownHeight\n     * @type {number}\n     * @private\n     */\n    ownHeight: 0,\n\n    /**\n     * @property ownWidth\n     * @type {number}\n     * @private\n     */\n    ownWidth: 0,\n\n    /**\n     * @property stickToBottom\n     * @type {boolean}\n     * @readOnly\n     * @private\n     */\n    stickToBottom: Ember.computed.notEmpty('bottom').readOnly(),\n\n    /**\n     * @property windowHeight\n     * @type {number}\n     * @private\n     */\n    windowHeight: 0,\n\n    /**\n     * @property topTriggerElement\n     * @private\n     */\n    topTriggerElement: null,\n\n    /**\n     * @property bottomTriggerElement\n     * @private\n     */\n    bottomTriggerElement: null,\n\n    /**\n     * @property offsetBottom\n     * @type {number}\n     * @private\n     */\n    offsetBottom: Ember.computed('top', 'ownHeight', 'bottom', 'windowHeight', function () {\n      let { top, ownHeight, bottom, windowHeight } = this.getProperties('top', 'ownHeight', 'bottom', 'windowHeight');\n      return windowHeight - top - ownHeight - bottom;\n    }),\n\n    /**\n     * Dynamic style for the components element\n     *\n     * @property style\n     * @type {string}\n     * @private\n     */\n    style: Ember.computed('isSticky', 'ownHeight', 'ownWidth', function () {\n      let height = this.get('ownHeight');\n      if (height > 0 && this.get('isSticky')) {\n        return Ember.String.htmlSafe(`height: ${height}px;`);\n      }\n    }),\n\n    /**\n     * Dynamic style for the sticky container (`position: fixed`)\n     *\n     * @property containerStyle\n     * @type {string}\n     * @private\n     */\n    containerStyle: Ember.computed('isStickyTop', 'isStickyBottom', 'top', 'bottom', 'ownWidth', function () {\n      if (this.get('isStickyBottom')) {\n        let style = `position: absolute; bottom: ${this.get('bottom')}px; width: ${this.get('ownWidth')}px`;\n        return Ember.String.htmlSafe(style);\n      }\n      if (this.get('isStickyTop')) {\n        let style = `position: fixed; top: ${this.get('top')}px; width: ${this.get('ownWidth')}px`;\n        return Ember.String.htmlSafe(style);\n      }\n    }),\n\n    /**\n     * Add listener to update sticky element width on resize event\n     * @method initResizeEventListener\n     * @private\n     */\n    initResizeEventListener() {\n      this._resizeListener = () => this.debouncedUpdateDimension();\n      window.addEventListener('resize', this._resizeListener, false);\n    },\n\n    /**\n     * @method removeResizeEventListener\n     * @private\n     */\n    removeResizeEventListener() {\n      window.removeEventListener('resize', this._resizeListener, false);\n    },\n\n    _pollTask() {\n      this.updatePosition();\n      this.initPollTask();\n    },\n\n    initPollTask() {\n      if (!testing) {\n        this._pollTimer = Ember.run.later(this, this._pollTask, 500);\n      }\n    },\n\n    removePollTask() {\n      if (this._pollTimer) {\n        Ember.run.cancel(this._pollTimer);\n      }\n    },\n\n    /**\n     * @method debouncedUpdateDimension\n     * @private\n     */\n    debouncedUpdateDimension() {\n      Ember.run.debounce(this, this.updateDimension, 30);\n    },\n\n    /**\n     * @method updateDimension\n     * @private\n     */\n    updateDimension() {\n      if (this.get('isDestroyed') || this.get('isDestroying')) {\n        return false;\n      }\n      this.set('windowHeight', window.innerHeight);\n      this.set('ownHeight', this.element.offsetHeight);\n      this.set('ownWidth', this.element.offsetWidth);\n    },\n\n    updatePosition() {\n      let { topTriggerElement, bottomTriggerElement } = this;\n\n      if (topTriggerElement) {\n        this.set('parentTop', elementPosition(topTriggerElement, this.get('top'), 0));\n      }\n      if (bottomTriggerElement) {\n        this.set('parentBottom', elementPosition(bottomTriggerElement, 0, this.get('offsetBottom')));\n      }\n    },\n\n    didInsertElement() {\n      this._super(...arguments);\n      this.updateDimension();\n      // scheduleOnce('afterRender', this, this.updateDimension);\n      this.initResizeEventListener();\n      this.initPollTask();\n    },\n\n    willDestroyElement() {\n      this.removeResizeEventListener();\n      this.removePollTask();\n    },\n\n    actions: {\n      parentTopEntered() {\n        // console.log('parentTopEntered');\n        this.set('parentTop', 'in');\n      },\n      parentTopExited() {\n        // make sure we captured the right dimensions before getting sticky!\n        // console.log('parentTopExited');\n        this.updateDimension();\n        this.updatePosition();\n      },\n      parentBottomEntered() {\n        // console.log('parentBottomEntered');\n        this.set('parentBottom', 'in');\n      },\n      parentBottomExited() {\n        // console.log('parentBottomExited');\n        this.updatePosition();\n      },\n      registerTopTrigger(element) {\n        this.topTriggerElement = element;\n        this.updatePosition();\n      },\n      registerBottomTrigger(element) {\n        this.bottomTriggerElement = element;\n        this.updatePosition();\n      }\n    }\n  });\n});","define('ember-sticky-element/components/sticky-element/trigger', ['exports', 'ember-in-viewport'], function (exports, _emberInViewport) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = Ember.Component.extend(_emberInViewport.default, {\n    classNameBindings: ['typeClass'],\n    classNames: ['sticky-element__trigger'],\n\n    /**\n     * @property type\n     * @type {string}\n     * @default 'top'\n     * @public\n     */\n    type: 'top',\n\n    /**\n     * @property offset\n     * @type {number}\n     * @public\n     */\n    offset: 0,\n\n    /**\n     * @property typeClass\n     * @type string\n     * @private\n     */\n    typeClass: Ember.computed('type', function () {\n      return `sticky-element__trigger--${this.get('type')}`;\n    }),\n\n    _lastTop: null,\n\n    /**\n     * Action when trigger enters viewport\n     *\n     * @event enter\n     * @public\n     */\n\n    /**\n     * Action when trigger exits viewport\n     *\n     * @event exit\n     * @param {Boolean} top True if element left the viewport from the top\n     * @public\n     */\n\n    isBeforeViewport() {\n      let offset = this.get('type') === 'top' ? this.get('offset') : 0;\n      return this.get('element').getBoundingClientRect().top - offset < 0;\n    },\n\n    didEnterViewport() {\n      this.enter();\n    },\n\n    didExitViewport() {\n      this.exit();\n    },\n\n    /**\n     * @method updateViewportOptions\n     * @private\n     */\n    updateViewportOptions() {\n      let viewportTolerance = {\n        top: 0,\n        bottom: 0,\n        left: 0,\n        right: 0\n      };\n      viewportTolerance[this.get('type')] = -this.get('offset');\n      Ember.setProperties(this, {\n        viewportSpy: true,\n        viewportEnabled: true,\n        viewportTolerance\n      });\n\n      this.updateIntersectionObserver();\n    },\n\n    /**\n     * Updates intersectionObserver after options have changed\n     *\n     * @method updateIntersectionObserver\n     * @private\n     */\n    updateIntersectionObserver() {\n      if (this.intersectionObserver) {\n        this.intersectionObserver.unobserve(this.element);\n        this._setViewportEntered();\n      }\n    },\n\n    init() {\n      this._super(...arguments);\n      this.updateViewportOptions();\n    },\n\n    didInsertElement() {\n      this._super(...arguments);\n      this.registerElement(this.element);\n    },\n\n    _onOffsetChange: Ember.observer('offset', function () {\n      Ember.run.scheduleOnce('afterRender', this, this.updateViewportOptions);\n    }),\n\n    _bindScrollDirectionListener() {},\n    _unbindScrollDirectionListener() {},\n\n    /**\n     * Override ember-in-viewport method to trigger event also when trigger has moved from below viewport to on top\n     * of viewport without triggering didEnterViewport because of too fast scroll movement\n     *\n     * @method _triggerDidAccessViewport\n     * @param hasEnteredViewport\n     * @private\n     */\n    _triggerDidAccessViewport(hasEnteredViewport = false) {\n      let viewportEntered = this.get('viewportEntered');\n      let didEnter = !viewportEntered && hasEnteredViewport;\n      let didLeave = viewportEntered && !hasEnteredViewport;\n\n      let lastTop = this._lastTop;\n      this._lastTop = this.isBeforeViewport();\n\n      if (!didEnter && !didLeave) {\n        if (lastTop !== this._lastTop) {\n          this._super(true);\n          this._super(false);\n        }\n      } else {\n        this._super(hasEnteredViewport);\n      }\n    }\n\n  });\n});","define(\"ember-sticky-element/templates/components/sticky-element\", [\"exports\"], function (exports) {\n  \"use strict\";\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = Ember.HTMLBars.template({ \"id\": \"RCgtC0w/\", \"block\": \"[[[1,[28,[35,0],null,[[\\\"offset\\\",\\\"enter\\\",\\\"exit\\\",\\\"registerElement\\\"],[[33,1],[28,[37,2],[[30,0],\\\"parentTopEntered\\\"],null],[28,[37,2],[[30,0],\\\"parentTopExited\\\"],null],[28,[37,2],[[30,0],\\\"registerTopTrigger\\\"],null]]]]],[1,\\\"\\\\n\\\\n\\\"],[10,0],[15,0,[29,[\\\"\\\\n  \\\",[36,3],\\\"\\\\n  \\\",[52,[33,5],[33,6]],\\\"\\\\n  \\\",[52,[33,7],[33,8]],\\\"\\\\n  \\\",[52,[33,9],[33,10]]]]],[15,5,[36,11]],[12],[1,\\\"\\\\n\\\\n  \\\"],[18,1,[[28,[37,13],null,[[\\\"isSticky\\\",\\\"isStickyTop\\\",\\\"isStickyBottom\\\"],[[33,5],[33,7],[33,9]]]]]],[1,\\\"\\\\n\\\\n\\\"],[13],[1,\\\"\\\\n\\\\n\\\"],[41,[33,14],[[[1,\\\"  \\\"],[1,[28,[35,0],null,[[\\\"type\\\",\\\"offset\\\",\\\"enter\\\",\\\"exit\\\",\\\"registerElement\\\"],[\\\"bottom\\\",[33,15],[28,[37,2],[[30,0],\\\"parentBottomEntered\\\"],null],[28,[37,2],[[30,0],\\\"parentBottomExited\\\"],null],[28,[37,2],[[30,0],\\\"registerBottomTrigger\\\"],null]]]]],[1,\\\"\\\\n\\\"]],[]],null]],[\\\"&default\\\"],false,[\\\"sticky-element/trigger\\\",\\\"top\\\",\\\"action\\\",\\\"containerClassName\\\",\\\"if\\\",\\\"isSticky\\\",\\\"containerStickyClassName\\\",\\\"isStickyTop\\\",\\\"containerStickyTopClassName\\\",\\\"isStickyBottom\\\",\\\"containerStickyBottomClassName\\\",\\\"containerStyle\\\",\\\"yield\\\",\\\"hash\\\",\\\"stickToBottom\\\",\\\"offsetBottom\\\"]]\", \"moduleName\": \"ember-sticky-element/templates/components/sticky-element.hbs\", \"isStrictMode\": false });\n});","define(\"ember-test-waiters/build-waiter\", [\"exports\", \"ember-test-waiters\", \"ember-test-waiters/noop-test-waiter\"], function (_exports, _emberTestWaiters, _noopTestWaiter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = buildWaiter;\n  /**\n   * Builds and returns a test waiter. The type of the\n   * returned waiter is dependent on whether the app or\n   * addon is in `DEBUG` mode or not.\n   *\n   * @param name {string} The name of the test waiter\n   * @returns {ITestWaiter}\n   *\n   * @example\n   *\n   * import Component from '@ember/component';\n   * import { buildWaiter } from 'ember-test-waiters';\n   *\n   * if (DEBUG) {\n   *   let waiter = buildWaiter('friend-waiter');\n   * }\n   *\n   * export default class Friendz extends Component {\n   *   didInsertElement() {\n   *     let token = waiter.beginAsync(this);\n   *\n   *     someAsyncWork().then(() => {\n   *       waiter.endAsync(token);\n   *     });\n   *   }\n   * }\n   */\n  function buildWaiter(name) {\n    if (true /* DEBUG */) {\n      return new _emberTestWaiters.TestWaiter(name);\n    }\n    return new _noopTestWaiter.default(name);\n  }\n});","define(\"ember-test-waiters/index\", [\"exports\", \"ember-test-waiters/waiter-manager\", \"ember-test-waiters/test-waiter\", \"ember-test-waiters/build-waiter\", \"ember-test-waiters/wait-for-promise\"], function (_exports, _waiterManager, _testWaiter, _buildWaiter, _waitForPromise) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"TestWaiter\", {\n    enumerable: true,\n    get: function () {\n      return _testWaiter.default;\n    }\n  });\n  Object.defineProperty(_exports, \"_reset\", {\n    enumerable: true,\n    get: function () {\n      return _waiterManager._reset;\n    }\n  });\n  Object.defineProperty(_exports, \"buildWaiter\", {\n    enumerable: true,\n    get: function () {\n      return _buildWaiter.default;\n    }\n  });\n  Object.defineProperty(_exports, \"getPendingWaiterState\", {\n    enumerable: true,\n    get: function () {\n      return _waiterManager.getPendingWaiterState;\n    }\n  });\n  Object.defineProperty(_exports, \"getWaiters\", {\n    enumerable: true,\n    get: function () {\n      return _waiterManager.getWaiters;\n    }\n  });\n  Object.defineProperty(_exports, \"hasPendingWaiters\", {\n    enumerable: true,\n    get: function () {\n      return _waiterManager.hasPendingWaiters;\n    }\n  });\n  Object.defineProperty(_exports, \"register\", {\n    enumerable: true,\n    get: function () {\n      return _waiterManager.register;\n    }\n  });\n  Object.defineProperty(_exports, \"unregister\", {\n    enumerable: true,\n    get: function () {\n      return _waiterManager.unregister;\n    }\n  });\n  Object.defineProperty(_exports, \"waitForPromise\", {\n    enumerable: true,\n    get: function () {\n      return _waitForPromise.default;\n    }\n  });\n});","define(\"ember-test-waiters/noop-test-waiter\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * A class providing a production, noop replacement for the {TestWaiter<T>} class.\n   *\n   * @public\n   * @class TestWaiter<T>\n   */\n  class NoopTestWaiter {\n    constructor(name) {\n      this.name = name;\n    }\n    beginAsync() {\n      return this;\n    }\n    endAsync() {}\n    waitUntil() {\n      return true;\n    }\n    debugInfo() {\n      return [];\n    }\n    reset() {}\n  }\n  _exports.default = NoopTestWaiter;\n});","define(\"ember-test-waiters/test-waiter\", [\"exports\", \"ember-test-waiters/waiter-manager\"], function (_exports, _waiterManager) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  let token = 0;\n  function getNextToken() {\n    return token++;\n  }\n  /**\n   * A class providing creation, registration and async waiting functionality.\n   *\n   * @public\n   * @class TestWaiter<T>\n   */\n  class TestWaiter {\n    /**\n     * @public\n     * @constructor\n     * @param name {WaiterName} the name of the test waiter\n     */\n    constructor(name, nextToken) {\n      this.isRegistered = false;\n      this.items = new Map();\n      this.name = name;\n      // @ts-ignore\n      this.nextToken = nextToken || getNextToken;\n    }\n    /**\n     * Will register the waiter, allowing it to be opted in to pausing async\n     * operations until they're completed within your tests. You should invoke\n     * it after instantiating your `TestWaiter` instance.\n     *\n     * **Note**, if you forget to register your waiter, it will be registered\n     * for you on the first invocation of `beginAsync`.\n     *\n     * @private\n     * @method register\n     */\n    register() {\n      if (!this.isRegistered) {\n        (0, _waiterManager.register)(this);\n        this.isRegistered = true;\n      }\n    }\n    /**\n     * Should be used to signal the beginning of an async operation that\n     * is to be waited for. Invocation of this method should be paired with a subsequent\n     * `endAsync` call to indicate to the waiter system that the async operation is completed.\n     *\n     * @public\n     * @method beginAsync\n     * @param item {T} The item to register for waiting\n     * @param label {string} An optional label to identify the item\n     */\n    beginAsync(token = this.nextToken(), label) {\n      this.register();\n      if (this.items.has(token)) {\n        throw new Error(`beginAsync called for ${token} but it is already pending.`);\n      }\n      let error = new Error();\n      this.items.set(token, {\n        get stack() {\n          return error.stack;\n        },\n        label\n      });\n      return token;\n    }\n    /**\n     * Should be used to signal the end of an async operation. Invocation of this\n     * method should be paired with a preceeding `beginAsync` call, which would indicate the\n     * beginning of an async operation.\n     *\n     * @public\n     * @method endAsync\n     * @param item {T} The item to that was registered for waiting\n     */\n    endAsync(token) {\n      if (!this.items.has(token)) {\n        throw new Error(`endAsync called for ${token} but it is not currently pending.`);\n      }\n      this.items.delete(token);\n    }\n    /**\n     * Used to determine if the waiter system should still wait for async\n     * operations to complete.\n     *\n     * @public\n     * @method waitUntil\n     * @returns {boolean}\n     */\n    waitUntil() {\n      return this.items.size === 0;\n    }\n    /**\n     * Returns the `debugInfo` for each item tracking async operations in this waiter.\n     *\n     * @public\n     * @method debugInfo\n     * @returns {ITestWaiterDebugInfo}\n     */\n    debugInfo() {\n      return [...this.items.values()];\n    }\n    /**\n     * Resets the waiter state, clearing items tracking async operations in this waiter.\n     *\n     * @public\n     * @method reset\n     */\n    reset() {\n      this.items.clear();\n    }\n  }\n  _exports.default = TestWaiter;\n});","define(\"ember-test-waiters/types/index\", [], function () {\n  \"use strict\";\n});","define(\"ember-test-waiters/wait-for-promise\", [\"exports\", \"ember-test-waiters/test-waiter\"], function (_exports, _testWaiter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = waitForPromise;\n  const PROMISE_WAITER = new _testWaiter.default('promise-waiter');\n  /**\n   * A convenient utility function to simplify waiting for a promise.\n   *\n   * @public\n   * @param promise {Promise<T>} The promise to track async operations for\n   * @param label {string} An optional string to identify the promise\n   *\n   * @example\n   *\n   * import Component from '@ember/component';\n   * import { waitForPromise } from 'ember-test-waiters';\n   *\n   * export default class Friendz extends Component {\n   *   didInsertElement() {\n   *     waitForPromise(new Promise(resolve => {\n   *       doSomeWork();\n   *       resolve();\n   *     }));\n   *   }\n   * }\n   */\n  function waitForPromise(promise, label) {\n    let result = promise;\n    if (true /* DEBUG */) {\n      PROMISE_WAITER.beginAsync(promise, label);\n      result = promise.then(value => {\n        PROMISE_WAITER.endAsync(promise);\n        return value;\n      }, error => {\n        PROMISE_WAITER.endAsync(promise);\n        throw error;\n      });\n    }\n    return result;\n  }\n});","define(\"ember-test-waiters/waiter-manager\", [\"exports\", \"ember\", \"@ember/test\"], function (_exports, _ember, _test) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports._reset = _reset;\n  _exports.getPendingWaiterState = getPendingWaiterState;\n  _exports.getWaiters = getWaiters;\n  _exports.hasPendingWaiters = hasPendingWaiters;\n  _exports.register = register;\n  _exports.unregister = unregister;\n  const WAITERS = new Map();\n  /**\n   * Backwards compatibility with legacy waiters system.\n   *\n   * We want to always register a waiter using the legacy waiter system, as right\n   * now if consumers are not on the right version of @ember/test-helpers, using\n   * this addon will result in none of these waiters waiting.\n   */\n  // eslint-disable-next-line ember/new-module-imports\n  if (_ember.default.Test) {\n    (0, _test.registerWaiter)(() => !hasPendingWaiters());\n  }\n  /**\n   * Registers a waiter.\n   *\n   * @public\n   * @param waiter {IWaiter} A test waiter instance\n   */\n  function register(waiter) {\n    WAITERS.set(waiter.name, waiter);\n  }\n  /**\n   * Unregisters a waiter.\n   *\n   * @public\n   * @param waiter {IWaiter} A test waiter instance\n   */\n  function unregister(waiter) {\n    WAITERS.delete(waiter.name);\n  }\n  /**\n   * Gets an array of all waiters current registered.\n   *\n   * @public\n   * @returns {IWaiter[]}\n   */\n  function getWaiters() {\n    return [...WAITERS.values()];\n  }\n  /**\n   * Clears all waiters.\n   *\n   * @public\n   */\n  function _reset() {\n    WAITERS.clear();\n  }\n  /**\n   * Gets the current state of all waiters. Any waiters whose\n   * `waitUntil` method returns false will be considered `pending`.\n   *\n   * @returns {IPendingWaiterState} An object containing a count of all waiters\n   * pending and a `waiters` object containing the name of all pending waiters\n   * and their debug info.\n   */\n  function getPendingWaiterState() {\n    let result = {\n      pending: 0,\n      waiters: {}\n    };\n    WAITERS.forEach(waiter => {\n      if (!waiter.waitUntil()) {\n        result.pending++;\n        let debugInfo = waiter.debugInfo();\n        result.waiters[waiter.name] = debugInfo || true;\n      }\n    });\n    return result;\n  }\n  /**\n   * Determines if there are any pending waiters.\n   *\n   * @returns {boolean} `true` if there are pending waiters, otherwise `false`.\n   */\n  function hasPendingWaiters() {\n    let state = getPendingWaiterState();\n    return state.pending > 0;\n  }\n});","define('ember-truth-helpers/helpers/and', ['exports', 'ember-truth-helpers/utils/truth-convert'], function (exports, _truthConvert) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.and = and;\n  function and(params) {\n    for (let i = 0, len = params.length; i < len; i++) {\n      if ((0, _truthConvert.default)(params[i]) === false) {\n        return params[i];\n      }\n    }\n    return params[params.length - 1];\n  }\n\n  exports.default = Ember.Helper.helper(and);\n});","define('ember-truth-helpers/helpers/equal', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.equal = equal;\n  function equal(params) {\n    return params[0] === params[1];\n  }\n\n  exports.default = Ember.Helper.helper(equal);\n});","define('ember-truth-helpers/helpers/gt', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.gt = gt;\n  function gt([left, right], hash) {\n    if (hash.forceNumber) {\n      if (typeof left !== 'number') {\n        left = Number(left);\n      }\n      if (typeof right !== 'number') {\n        right = Number(right);\n      }\n    }\n    return left > right;\n  }\n\n  exports.default = Ember.Helper.helper(gt);\n});","define('ember-truth-helpers/helpers/gte', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.gte = gte;\n  function gte([left, right], hash) {\n    if (hash.forceNumber) {\n      if (typeof left !== 'number') {\n        left = Number(left);\n      }\n      if (typeof right !== 'number') {\n        right = Number(right);\n      }\n    }\n    return left >= right;\n  }\n\n  exports.default = Ember.Helper.helper(gte);\n});","define('ember-truth-helpers/helpers/is-array', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.isArray = isArray;\n  function isArray(params) {\n    for (let i = 0, len = params.length; i < len; i++) {\n      if (Ember.isArray(params[i]) === false) {\n        return false;\n      }\n    }\n    return true;\n  }\n\n  exports.default = Ember.Helper.helper(isArray);\n});","define('ember-truth-helpers/helpers/is-empty', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = Ember.Helper.helper(function ([obj]) {\n    return Ember.isEmpty(obj);\n  });\n});","define('ember-truth-helpers/helpers/is-equal', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.isEqual = isEqual;\n  function isEqual([a, b]) {\n    return Ember.isEqual(a, b);\n  }\n\n  exports.default = Ember.Helper.helper(isEqual);\n});","define('ember-truth-helpers/helpers/lt', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.lt = lt;\n  function lt([left, right], hash) {\n    if (hash.forceNumber) {\n      if (typeof left !== 'number') {\n        left = Number(left);\n      }\n      if (typeof right !== 'number') {\n        right = Number(right);\n      }\n    }\n    return left < right;\n  }\n\n  exports.default = Ember.Helper.helper(lt);\n});","define('ember-truth-helpers/helpers/lte', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.lte = lte;\n  function lte([left, right], hash) {\n    if (hash.forceNumber) {\n      if (typeof left !== 'number') {\n        left = Number(left);\n      }\n      if (typeof right !== 'number') {\n        right = Number(right);\n      }\n    }\n    return left <= right;\n  }\n\n  exports.default = Ember.Helper.helper(lte);\n});","define('ember-truth-helpers/helpers/not-equal', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.notEqualHelper = notEqualHelper;\n  function notEqualHelper(params) {\n    return params[0] !== params[1];\n  }\n\n  exports.default = Ember.Helper.helper(notEqualHelper);\n});","define('ember-truth-helpers/helpers/not', ['exports', 'ember-truth-helpers/utils/truth-convert'], function (exports, _truthConvert) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.not = not;\n  function not(params) {\n    for (let i = 0, len = params.length; i < len; i++) {\n      if ((0, _truthConvert.default)(params[i]) === true) {\n        return false;\n      }\n    }\n    return true;\n  }\n\n  exports.default = Ember.Helper.helper(not);\n});","define('ember-truth-helpers/helpers/or', ['exports', 'ember-truth-helpers/utils/truth-convert'], function (exports, _truthConvert) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.or = or;\n  function or(params) {\n    for (let i = 0, len = params.length; i < len; i++) {\n      if ((0, _truthConvert.default)(params[i]) === true) {\n        return params[i];\n      }\n    }\n    return params[params.length - 1];\n  }\n\n  exports.default = Ember.Helper.helper(or);\n});","define('ember-truth-helpers/helpers/xor', ['exports', 'ember-truth-helpers/utils/truth-convert'], function (exports, _truthConvert) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.xor = xor;\n  function xor(params) {\n    return (0, _truthConvert.default)(params[0]) !== (0, _truthConvert.default)(params[1]);\n  }\n\n  exports.default = Ember.Helper.helper(xor);\n});","define('ember-truth-helpers/utils/truth-convert', ['exports'], function (exports) {\n  'use strict';\n\n  Object.defineProperty(exports, \"__esModule\", {\n    value: true\n  });\n  exports.default = truthConvert;\n  function truthConvert(result) {\n    const truthy = result && Ember.get(result, 'isTruthy');\n    if (typeof truthy === 'boolean') {\n      return truthy;\n    }\n\n    if (Ember.isArray(result)) {\n      return Ember.get(result, 'length') !== 0;\n    } else {\n      return !!result;\n    }\n  }\n});","define(\"ember-welcome-page/components/welcome-page\", [\"exports\", \"ember\", \"ember-welcome-page/templates/components/welcome-page\"], function (_exports, _ember, _welcomePage) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _ember.default.Component.extend({\n    layout: _welcomePage.default,\n    emberVersion: _ember.default.computed(function () {\n      let [major, minor] = _ember.default.VERSION.split(\".\");\n      return `${major}.${minor}.0`;\n    }),\n    canAngleBracket: _ember.default.computed(function () {\n      return true;\n    }),\n    isModuleUnification: _ember.default.computed(function () {\n      const config = _ember.default.getOwner(this).resolveRegistration('config:environment');\n      return config && config.isModuleUnification;\n    })\n  });\n});","define(\"ember-welcome-page/templates/components/welcome-page\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = Ember.HTMLBars.template({\n    \"id\": \"+JSjTnqB\",\n    \"block\": \"[[[10,0],[14,1,\\\"ember-welcome-page-id-selector\\\"],[15,\\\"data-ember-version\\\",[29,[[36,0]]]],[12],[1,\\\"\\\\n  \\\"],[10,0],[14,0,\\\"columns\\\"],[12],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"tomster\\\"],[12],[1,\\\"\\\\n      \\\"],[10,\\\"img\\\"],[14,\\\"src\\\",\\\"ember-welcome-page/images/construction.png\\\"],[14,\\\"alt\\\",\\\"Under construction\\\"],[12],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n    \\\"],[10,0],[14,0,\\\"welcome\\\"],[12],[1,\\\"\\\\n      \\\"],[10,\\\"h2\\\"],[14,1,\\\"title\\\"],[12],[1,\\\"Congratulations, you made it!\\\"],[13],[1,\\\"\\\\n\\\\n      \\\"],[10,2],[12],[1,\\\"You’ve officially spun up your very first Ember app :-)\\\"],[13],[1,\\\"\\\\n      \\\"],[10,2],[12],[1,\\\"You’ve got one more decision to make: what do you want to do next? We’d suggest one of the following to help you get going:\\\"],[13],[1,\\\"\\\\n      \\\"],[10,\\\"ol\\\"],[12],[1,\\\"\\\\n        \\\"],[10,\\\"li\\\"],[12],[10,3],[15,6,[29,[\\\"https://guides.emberjs.com/v\\\",[36,0],\\\"/getting-started/quick-start/\\\"]]],[12],[1,\\\"Quick Start\\\"],[13],[1,\\\" - a quick introduction to how Ember works. Learn about defining your first route, writing a UI component and deploying your application.\\\"],[13],[1,\\\"\\\\n        \\\"],[10,\\\"li\\\"],[12],[10,3],[15,6,[29,[\\\"https://guides.emberjs.com/v\\\",[36,0],\\\"/tutorial/ember-cli/\\\"]]],[12],[1,\\\"Ember Guides\\\"],[13],[1,\\\" - this is our more thorough, hands-on intro to Ember. Your crash course in Ember philosophy, background and some in-depth discussion of how things work (and why they work the way they do).\\\"],[13],[1,\\\"\\\\n      \\\"],[13],[1,\\\"\\\\n      \\\"],[10,2],[12],[1,\\\"If you run into problems, you can check \\\"],[10,3],[14,6,\\\"http://stackoverflow.com/questions/tagged/ember.js\\\"],[12],[1,\\\"Stack Overflow\\\"],[13],[1,\\\" or \\\"],[10,3],[14,6,\\\"http://discuss.emberjs.com/\\\"],[12],[1,\\\"our forums\\\"],[13],[1,\\\"  for ideas and answers—someone’s probably been through the same thing and already posted an answer.  If not, you can post your \\\"],[10,\\\"strong\\\"],[12],[1,\\\"own\\\"],[13],[1,\\\" question. People love to help new Ember developers get started, and our \\\"],[10,3],[14,6,\\\"https://emberjs.com/community/\\\"],[12],[1,\\\"Ember Community\\\"],[13],[1,\\\" is incredibly supportive.\\\"],[13],[1,\\\"\\\\n    \\\"],[13],[1,\\\"\\\\n  \\\"],[13],[1,\\\"\\\\n  \\\"],[10,2],[14,0,\\\"postscript\\\"],[12],[1,\\\"To remove this welcome message, remove the\\\\n    \\\"],[10,\\\"code\\\"],[12],[1,\\\"\\\\n\\\"],[41,[33,2],[[[1,\\\"        <WelcomePage />\\\\n\\\"]],[]],[[[1,\\\"        \\\"],[1,\\\"{{welcome-page}}\\\\n\\\"]],[]]],[1,\\\"    \\\"],[13],[1,\\\"\\\\n    component from your\\\\n    \\\"],[10,\\\"code\\\"],[12],[1,\\\"\\\\n\\\"],[41,[33,3],[[[1,\\\"        src/ui/routes/application/template.hbs\\\\n\\\"]],[]],[[[1,\\\"        app/templates/application.hbs\\\\n\\\"]],[]]],[1,\\\"    \\\"],[13],[1,\\\"\\\\n     file.\\\"],[10,\\\"br\\\"],[12],[13],[1,\\\"You'll see this page update soon after!\\\\n  \\\"],[13],[1,\\\"\\\\n\\\"],[13],[1,\\\"\\\\n\\\"]],[],false,[\\\"emberVersion\\\",\\\"if\\\",\\\"canAngleBracket\\\",\\\"isModuleUnification\\\"]]\",\n    \"moduleName\": \"ember-welcome-page/templates/components/welcome-page.hbs\",\n    \"isStrictMode\": false\n  });\n});","\n"],"names":["PACKET_TYPES","Object","create","PACKET_TYPES_REVERSE","keys","forEach","key","ERROR_PACKET","type","data","withNativeBlob","Blob","prototype","toString","call","withNativeArrayBuffer","ArrayBuffer","isView","obj","buffer","encodePacket","_ref","supportsBinary","callback","encodeBlobAsBase64","fileReader","FileReader","onload","content","result","split","readAsDataURL","toArray","Uint8Array","byteOffset","byteLength","TEXT_ENCODER","encodePacketToBinary","packet","arrayBuffer","then","encoded","TextEncoder","encode","chars","lookup","i","length","charCodeAt","decode","base64","bufferLength","len","p","encoded1","encoded2","encoded3","encoded4","arraybuffer","bytes","decodePacket","encodedPacket","binaryType","mapBinary","charAt","decodeBase64Packet","substring","packetType","decoded","SEPARATOR","String","fromCharCode","encodePayload","packets","encodedPackets","Array","count","join","decodePayload","encodedPayload","decodedPacket","push","createPacketEncoderStream","TransformStream","transform","controller","payloadLength","header","DataView","setUint8","view","setUint16","setBigUint64","BigInt","enqueue","TEXT_DECODER","totalLength","chunks","reduce","acc","chunk","concatChunks","size","shift","j","slice","createPacketDecoderStream","maxPayload","TextDecoder","state","expectedLength","isBinary","headerArray","getUint16","n","getUint32","Math","pow","protocol","Emitter","mixin","on","addEventListener","event","fn","_callbacks","once","off","apply","arguments","removeListener","removeAllListeners","removeEventListener","callbacks","cb","splice","emit","args","emitReserved","listeners","hasListeners","nextTick","isPromiseAvailable","Promise","resolve","setTimeoutFn","globalThisShim","self","window","Function","defaultBinaryType","createCookieJar","pick","_len","attr","_key","k","hasOwnProperty","NATIVE_SET_TIMEOUT","globalThis","setTimeout","NATIVE_CLEAR_TIMEOUT","clearTimeout","installTimerFunctions","opts","useNativeTimers","bind","clearTimeoutFn","BASE64_OVERHEAD","utf8Length","ceil","str","c","l","randomString","Date","now","random","encodeURIComponent","qs","qry","pairs","pair","decodeURIComponent","TransportError","_Error","reason","description","context","_this","_inheritsLoose","_wrapNativeSuper","Error","Transport","_Emitter","_this2","writable","query","socket","forceBase64","_proto","onError","open","readyState","doOpen","close","doClose","onClose","send","write","onOpen","onData","onPacket","details","pause","onPause","createUri","schema","undefined","_hostname","_port","path","_query","hostname","indexOf","port","secure","Number","encodedQuery","Polling","_Transport","_polling","_poll","total","doPoll","_this3","_this4","_this5","doWrite","uri","timestampRequests","timestampParam","sid","b64","_createClass","get","value","XMLHttpRequest","err","hasCORS","empty","BaseXHR","_Polling","location","isSSL","xd","req","request","method","xhrStatus","pollXhr","Request","createRequest","_opts","_method","_uri","_data","_create","_proto2","_a","xdomain","xhr","_xhr","extraHeaders","setDisableHeaderCheck","setRequestHeader","e","cookieJar","addCookies","withCredentials","requestTimeout","timeout","onreadystatechange","parseCookies","getResponseHeader","status","_onLoad","_onError","document","_index","requestsCount","requests","_cleanup","fromError","abort","responseText","attachEvent","unloadHandler","terminationEvent","hasXHR2","newRequest","responseType","XHR","_BaseXHR","_this6","_proto3","_extends","concat","isReactNative","navigator","product","toLowerCase","BaseWS","protocols","headers","ws","createSocket","addEventListeners","onopen","autoUnref","_socket","unref","onclose","closeEvent","onmessage","ev","onerror","_loop","lastPacket","WebSocketCtor","WebSocket","MozWebSocket","WS","_BaseWS","_packet","WT","_transport","WebTransport","transportOptions","name","closed","ready","createBidirectionalStream","stream","decoderStream","MAX_SAFE_INTEGER","reader","readable","pipeThrough","getReader","encoderStream","pipeTo","_writer","getWriter","read","done","transports","websocket","webtransport","polling","re","parts","parse","src","b","replace","m","exec","source","host","authority","ipv6uri","pathNames","queryKey","regx","names","$0","$1","$2","withEventListeners","OFFLINE_EVENT_LISTENERS","listener","SocketWithoutUpgrade","writeBuffer","_prevBufferLen","_pingInterval","_pingTimeout","_maxPayload","_pingTimeoutTime","Infinity","_typeof","parsedUri","_transportsByName","t","transportName","agent","upgrade","rememberUpgrade","addTrailingSlash","rejectUnauthorized","perMessageDeflate","threshold","closeOnBeforeunload","_beforeunloadEventListener","transport","_offlineEventListener","_onClose","_cookieJar","_open","createTransport","EIO","id","priorWebsocketSuccess","setTransport","_onDrain","_onPacket","flush","onHandshake","JSON","_sendPacket","_resetPingTimeout","code","pingInterval","pingTimeout","_pingTimeoutTimer","delay","upgrading","_getWritablePackets","shouldCheckPayloadSize","payloadSize","_hasPingExpired","hasExpired","msg","options","compress","cleanupAndClose","waitForUpgrade","tryAllTransports","SocketWithUpgrade","_SocketWithoutUpgrade","_this7","_upgrades","_probe","_this8","failed","onTransportOpen","cleanup","freezeTransport","error","onTransportClose","onupgrade","to","_filterUpgrades","upgrades","filteredUpgrades","Socket","_SocketWithUpgrade","o","map","DEFAULT_TRANSPORTS","filter","s","h","d","w","y","ms","val","isFinite","fmtLong","fmtShort","stringify","match","parseFloat","msAbs","abs","round","plural","isPlural","setup","env","createDebug","debug","coerce","disable","enable","enabled","humanize","require$$0","destroy","skips","formatters","selectColor","namespace","hash","colors","prevTime","enableOverride","namespacesCache","enabledCache","curr","diff","prev","unshift","index","format","formatter","formatArgs","logFn","log","useColors","color","extend","defineProperty","enumerable","configurable","namespaces","set","v","init","delimiter","newDebug","save","RegExp","_toConsumableArray","toNamespace","test","regexp","stack","message","console","warn","load","common","exports","storage","localstorage","warned","process","__nwjs","userAgent","documentElement","style","WebkitAppearance","firebug","exception","table","parseInt","module","lastC","setItem","removeItem","r","getItem","DEBUG","localStorage","debugModule","url","loc","ipv6","href","withNativeFile","File","hasBinary","toJSON","isArray","deconstructPacket","buffers","packetData","pack","_deconstructPacket","attachments","placeholder","_placeholder","num","newData","reconstructPacket","_reconstructPacket","isIndexValid","RESERVED_EVENTS","PacketType","Encoder","replacer","EVENT","ACK","encodeAsBinary","BINARY_EVENT","BINARY_ACK","nsp","encodeAsString","deconstruction","Decoder","reviver","add","reconstructor","decodeString","isBinaryEvent","BinaryReconstructor","takeBinaryData","start","buf","next","payload","tryParse","substr","isPayloadValid","CONNECT","isObject","DISCONNECT","CONNECT_ERROR","finishedReconstruction","reconPack","binData","isNamespaceValid","isInteger","floor","isAckIdValid","isDataValid","isPacketValid","subDestroy","freeze","connect","connect_error","disconnect","disconnecting","newListener","io","connected","recovered","receiveBuffer","sendBuffer","_queue","_queueSeq","ids","acks","flags","auth","_autoConnect","subEvents","subs","onpacket","_readyState","_b","_c","_len2","_key2","retries","fromQueue","_addToQueue","ack","pop","_registerAckCallback","isTransportWritable","engine","isConnected","discardPacket","notifyOutgoingListeners","ackTimeout","timer","_len3","_key3","withError","emitWithAck","_len4","_key4","reject","arg1","arg2","tryCount","pending","hasError","_len5","responseArgs","_key5","_drainQueue","force","_sendConnectPacket","_pid","pid","offset","_lastOffset","_clearAcks","isBuffered","some","sameNamespace","onconnect","onevent","onack","ondisconnect","emitEvent","_anyListeners","_iterator","_createForOfIteratorHelper","_step","f","sent","_len6","_key6","emitBuffered","onAny","prependAny","offAny","listenersAny","onAnyOutgoing","_anyOutgoingListeners","prependAnyOutgoing","offAnyOutgoing","listenersAnyOutgoing","_iterator2","_step2","Backoff","min","max","factor","jitter","attempts","duration","rand","deviation","reset","setMin","setMax","setJitter","Manager","nsps","reconnection","reconnectionAttempts","reconnectionDelay","reconnectionDelayMax","randomizationFactor","backoff","_parser","parser","encoder","decoder","autoConnect","_reconnection","skipReconnect","_reconnectionAttempts","_reconnectionDelay","_randomizationFactor","_reconnectionDelayMax","_timeout","maybeReconnectOnOpen","_reconnecting","reconnect","Engine","openSubDestroy","errorSub","onping","ondata","ondecoded","active","_destroy","_i","_nsps","_close","onreconnect","attempt","cache","parsed","newConnection","forceNew","multiplex","root","factory","exports","module","define","amd","globalThis","window","this","_","Backbone","core_slice","Array","prototype","slice","apply","fn","ctx","args","length","call","arr","index","hasKeys","obj","keys","isArray","arguments","all","key","getMagicFusionIndex","callstackWasIndexed","magicFusionIndex","indexCycle","defer","ObjectRegistry","registeredObjects","cidIndexes","onoff","which","objects","i","l","objectRegistry","register","unregister","isFunction","actionUndoRedo","action","type","undoTypes","object","before","after","options","managerUndoRedo","manager","stack","magic","everything","isCurrentlyUndoRedoing","pointer","actions","isUndo","clone","models","at","where","get","pop","shift","trigger","validateUndoActionCreation","undoTypesType","condition","addToStack","track","res","diff","add","maximumStackLength","isRegistered","cid","contains","push","splice","indexOf","map","concat","UndoTypes","collection","ignore","model","remove","undefined","isEmpty","each","unset","set","unsetData","afterAttributes","changedAttributes","keysAfter","previousAttributes","pick","keysPrevious","val","reset","previousModels","OwnedUndoTypes","manipulateUndoType","manipType","undoType","fns","undoTypesInstance","isObject","extend","Action","Model","defaults","undo","attributes","redo","UndoStack","Collection","Infinity","setMaxLength","UndoManager","initialize","attr","on","value","startTracking","isArguments","stopTracking","isTracking","_addToStack","unregisterAll","undoAll","redoAll","isAvailable","s","merge","undoManager","addUndoType","changeUndoType","removeUndoType","clear","defaultAttributes","self","g","global","$","previousBackbone","VERSION","noConflict","emulateHTTP","emulateJSON","addMethod","method","attribute","iteratee","context","cb","defaultVal","unshift","addUnderscoreMethods","Class","methods","instance","_isModel","modelMatcher","isString","attrs","matcher","matches","Events","eventSplitter","eventsApi","events","name","callback","opts","names","test","split","internalOn","listening","_events","onApi","_listeners","id","listenTo","_listenId","uniqueId","listeningTo","_listeningTo","thisId","objId","count","handlers","off","offApi","listeners","stopListening","ids","remaining","j","handler","_callback","once","onceMap","bind","listenToOnce","offer","Math","max","triggerApi","objEvents","allEvents","triggerEvents","ev","a1","a2","a3","unbind","cidPrefix","parse","result","changed","validationError","idAttribute","toJSON","sync","escape","has","_validate","silent","changes","changing","_changing","_previousAttributes","current","prev","isEqual","_pending","hasChanged","old","size","previous","fetch","success","resp","serverAttrs","wrapError","save","wait","validate","isNew","patch","xhr","destroy","url","base","urlError","replace","encodeURIComponent","constructor","isValid","error","values","pairs","invert","omit","chain","comparator","_reset","setOptions","addOptions","array","insert","min","tail","singular","removed","_removeModels","added","merged","toAdd","toMerge","toRemove","modelMap","sort","sortable","sortAttr","existing","_prepareModel","_addReference","orderChanged","some","m","_removeReference","_byId","modelId","first","findWhere","Error","sortBy","pluck","create","callbackOpts","_onModelEvent","event","prevId","forEach","collect","reduce","foldl","inject","reduceRight","foldr","find","detect","filter","select","reject","every","any","include","includes","invoke","toArray","head","take","initial","rest","drop","last","without","difference","shuffle","lastIndexOf","sample","partition","groupBy","countBy","indexBy","findIndex","findLastIndex","View","viewOptions","_ensureElement","delegateEventSplitter","tagName","selector","$el","render","_removeElement","setElement","element","undelegateEvents","_setElement","delegateEvents","el","match","delegate","eventName","listener","undelegate","_createElement","document","createElement","className","_setAttributes","methodMap","params","dataType","data","contentType","JSON","stringify","_method","beforeSend","setRequestHeader","processData","textStatus","errorThrown","ajax","Router","routes","_bindRoutes","optionalParam","namedParam","splatParam","escapeRegExp","route","isRegExp","_routeToRegExp","router","history","fragment","_extractParameters","execute","navigate","optional","RegExp","exec","param","decodeURIComponent","History","checkUrl","location","routeStripper","rootStripper","pathStripper","started","interval","atRoot","pathname","getSearch","matchRoot","decodeFragment","decodeURI","href","getHash","getPath","path","charAt","getFragment","_usePushState","_wantsHashChange","start","hashChange","_hasHashChange","documentMode","_useHashChange","_wantsPushState","pushState","_hasPushState","rootPath","iframe","src","style","display","tabIndex","body","iWindow","insertBefore","firstChild","contentWindow","open","close","hash","addEventListener","attachEvent","_checkUrlInterval","setInterval","loadUrl","stop","removeEventListener","detachEvent","removeChild","clearInterval","e","title","assign","_updateHash","protoProps","staticProps","child","parent","__super__","CodeMirror","extendMode","commentStart","commentEnd","newlineAfterToken","_type","content","textAfter","state","jsonMode","lexical","inlineElements","inline","configuration","defineExtension","isComment","from","to","cm","curMode","innerMode","getMode","getTokenAt","mode","operation","replaceRange","line","ch","setCursor","selText","getRange","startIndex","endIndex","substr","substring","cmInstance","indentLine","outer","text","copyState","tabSize","getOption","out","lines","atSol","newline","stream","StringStream","eol","inner","token","cur","pos","string","blankLine","end","setSelection","getCursor","mod","userAgent","navigator","platform","gecko","ie_upto10","ie_11up","edge","ie","ie_version","webkit","qtwebkit","chrome","presto","safari","vendor","mac_geMountainLion","phantom","ios","maxTouchPoints","android","mobile","mac","chromeOS","windows","presto_version","Number","flipCtrlCmd","captureRightClick","classTest","cls","range","rmClass","node","removeChildren","childNodes","removeChildrenAndAdd","appendChild","elt","tag","cssText","createTextNode","eltP","setAttribute","nodeType","parentNode","host","activeElt","activeElement","shadowRoot","addClass","joinClasses","a","b","as","createRange","endNode","r","setEnd","setStart","createTextRange","moveToElementText","collapse","moveEnd","moveStart","selectInput","f","copyObj","target","overwrite","prop","hasOwnProperty","countColumn","startValue","search","n","nextTab","selectionStart","selectionEnd","_e","Delayed","time","onTimeout","Date","setTimeout","ms","clearTimeout","scrollerGap","Pass","toString","sel_dontScroll","scroll","sel_mouse","origin","sel_move","findColumn","goal","col","skipped","spaceStrs","spaceStr","lst","insertSorted","score","priority","nothing","createObj","props","inst","Object","nonASCIISingleCaseWordChar","isWordCharBasic","toUpperCase","toLowerCase","isWordChar","helper","source","extendingChars","isExtendingChar","charCodeAt","skipExtendingChars","str","dir","findFirst","pred","midF","mid","ceil","floor","iterateBidiSections","order","found","part","level","bidiOther","getBidiPartAt","sticky","bidiOrdering","lowTypes","arabicTypes","charType","code","bidiRE","isNeutral","isStrong","countsAsLeft","countsAsNum","BidiSpan","direction","outerType","len","types","i$1","i$2","type$1","i$3","prev$1","type$2","i$4","type$3","i$5","cur$1","type$4","i$6","end$1","replace$1","j$1","i$7","isRTL","j$2","nstart","reverse","getOrder","noHandlers","emitter","_handlers","getHandlers","signal","signalDOMEvent","override","preventDefault","defaultPrevented","e_defaultPrevented","codemirrorIgnore","signalCursorActivity","cursorActivity","curOp","cursorActivityHandlers","hasHandler","eventMixin","ctor","e_preventDefault","returnValue","e_stopPropagation","stopPropagation","cancelBubble","e_stop","e_target","srcElement","e_button","button","ctrlKey","zwspSupported","badBidiRects","dragAndDrop","div","zeroWidthElement","measure","offsetHeight","offsetWidth","hasBadBidiRects","txt","r0","getBoundingClientRect","r1","left","right","splitLinesAuto","nl","rt","hasSelection","getSelection","te","ownerDocument","selection","parentElement","compareEndPoints","hasCopyEvent","oncopy","badZoomedRects","hasBadZoomedRects","normal","fromRange","abs","modes","mimeModes","defineMode","dependencies","defineMIME","mime","spec","resolveMode","mfactory","modeObj","modeExtensions","exts","helperType","modeProps","prop$1","properties","nstate","info","startState","lineOracle","lastColumnPos","lastColumnValue","lineStart","getLine","doc","chunk","children","sz","chunkSize","getBetween","iter","getLines","updateLineHeight","height","lineNo","no","lineAtHeight","h","lh","isLine","lineNumberFor","String","lineNumberFormatter","firstLineNumber","Pos","cmp","equalCursorPos","copyPos","x","maxPos","minPos","clipLine","clipPos","clipToLen","linelen","clipPosArray","sol","peek","next","eat","eatWhile","eatSpace","skipToEnd","skipTo","backUp","column","indentation","pattern","consume","caseInsensitive","cased","hideFirstChars","lookAhead","oracle","baseToken","SavedContext","Context","maxLookAhead","baseTokens","baseTokenPos","highlightLine","forceToEnd","st","modeGen","lineClasses","runMode","loop","o","overlay","overlays","i_end","opaque","styles","classes","bgClass","textClass","getLineStyles","updateFrontier","getContextBefore","resetState","maxHighlightLength","stateAfter","styleClasses","highlightFrontier","modeFrontier","precise","findStartLine","saved","fromSaved","processLine","viewFrom","viewTo","nextLine","startAt","callBlankLine","readToken","copy","Token","takeToken","asArray","tokens","extractLineClasses","output","lineClass","flattenSpans","curStart","curStyle","addModeClass","mName","minindent","minline","lim","indented","retreatFrontier","sawReadOnlySpans","sawCollapsedSpans","seeReadOnlySpans","seeCollapsedSpans","MarkedSpan","marker","getMarkedSpanFor","spans","span","removeMarkedSpan","addMarkedSpan","op","inThisOp","WeakSet","markedSpans","attachLine","markedSpansBefore","startCh","isInsert","nw","inclusiveLeft","insertLeft","endsAfter","inclusiveRight","markedSpansAfter","endCh","startsBefore","stretchSpansOverChange","change","full","oldFirst","oldLast","sameLine","offset","span$1","clearEmptySpans","newMarkers","gapMarkers","gap","clearWhenEmpty","removeReadOnlyRanges","markers","mark","readOnly","parts","mk","p","newParts","dfrom","dto","detachMarkedSpans","detachLine","attachMarkedSpans","extraLeft","extraRight","compareCollapsedMarkers","lenDiff","aPos","bPos","fromCmp","toCmp","collapsedSpanAtSide","sps","sp","collapsed","collapsedSpanAtStart","collapsedSpanAtEnd","collapsedSpanAround","conflictingCollapsedRange","visualLine","visualLineEnd","visualLineContinued","visualLineNo","lineN","vis","visualLineEndNo","lastLine","lineIsHidden","widgetNode","lineIsHiddenInner","heightAtLine","lineObj","lineLength","found$1","findMaxLine","d","maxLine","maxLineLength","maxLineChanged","Line","estimateHeight","updateLine","estHeight","cleanUpLine","styleToClassCache","styleToClassCacheWithMode","interpretTokenStyle","cache","buildLineContent","lineView","builder","pre","trailingSpace","splitSpaces","addToken","buildToken","buildTokenBadBidi","insertLineContent","externalMeasured","maps","caches","lastChild","querySelector","defaultSpecialCharPlaceholder","startStyle","endStyle","css","displayText","special","specialChars","mustWrap","createDocumentFragment","lastIndex","txt$1","tabWidth","specialCharPlaceholder","fullStyle","trailingBefore","spaceBefore","buildCollapsedSpan","ignoreWidget","widget","input","needsContentAttribute","setUneditable","allText","spanStyle","spanEndStyle","spanStartStyle","nextChange","foundBookmarks","endStyles","upto","tokenText","LineView","hidden","buildViewArray","nextPos","view","operationGroup","pushOperation","ops","ownsGroup","delayedCallbacks","fireCallbacksForOps","group","callbacks","cursorActivityCalled","finishOperation","endCb","orphanDelayedCallbacks","signalLater","list","fireOrphanDelayed","delayed","updateLineForChanges","dims","updateLineText","updateLineGutter","updateLineClasses","updateLineWidgets","ensureLineWrapped","replaceChild","zIndex","updateLineBackground","background","wrap","getLineContent","ext","built","wrapClass","gutter","gutterBackground","gutterClass","fixedGutter","fixedPos","gutterTotalWidth","gutterMarkers","lineNumbers","wrap$1","gutterWrap","lineNumber","gutterLeft","k","gutterSpecs","gutterWidth","alignable","isWidget","nextSibling","insertLineWidgets","buildLineElement","insertLineWidgetsFor","allowAbove","widgets","ws","handleMouseEvents","positionLineWidget","above","noHScroll","width","wrapperWidth","coverGutter","paddingLeft","position","marginLeft","widgetHeight","parentStyle","gutters","wrapper","clientWidth","eventInWidget","getAttribute","sizer","mover","paddingTop","lineSpace","offsetTop","paddingVert","paddingH","cachedPaddingH","getComputedStyle","currentStyle","parseInt","paddingRight","isNaN","scrollGap","nativeBarWidth","displayWidth","scroller","barWidth","displayHeight","clientHeight","barHeight","ensureLineHeights","rect","wrapping","lineWrapping","curWidth","heights","rects","getClientRects","bottom","top","mapFromLineView","updateExternalMeasurement","lineMeasure","measureChar","bias","measureCharPrepared","prepareMeasureForLine","findViewForLine","findViewIndex","getDimensions","forceUpdate","hasHeights","prepared","varHeight","measureCharInner","bogus","rtop","rbottom","measureText","nullRect","nodeAndOffsetInLineMap","mStart","mEnd","coverStart","coverEnd","getUsefulRect","place","maybeUpdateRectForZooming","rSpan","charWidth","rbot","bot","singleCursorHeightPerLine","screen","logicalXDPI","deviceXDPI","scaleX","scaleY","logicalYDPI","deviceYDPI","clearLineMeasurementCacheFor","clearLineMeasurementCache","externalMeasure","clearCaches","cachedCharWidth","cachedTextHeight","lineNumChars","pageScrollX","pageXOffset","documentElement","scrollLeft","pageScrollY","marginTop","pageYOffset","scrollTop","widgetTopHeight","intoCoordSystem","includeWidgets","yOff","viewOffset","lOff","xOff","fromCoordSystem","coords","localBox","lineSpaceBox","charCoords","cursorCoords","preparedMeasure","getBidi","partPos","other","estimateCoords","PosWithInfo","outside","xRel","coordsChar","y","coordsCharInner","rangeEnd","wrappedLineExtent","begin","wrappedLineExtentChar","boxIsAfter","box","ltr","coordsBidiPartWrapped","coordsBidiPart","baseX","chAround","boxAround","atLeft","atStart","_lineNo","ref","closestDist","endX","dist","textHeight","anchor","clientLeft","offsetLeft","compensateForHScroll","th","perLine","widgetsHeight","estimateLineHeights","est","posFromMouse","liberal","forRect","space","clientX","clientY","e$1","colDiff","round","regChange","lendiff","updateLineNumbers","viewChanged","resetView","cut","viewCuttingPoint","cut$1","cutTop","cutBot","regLineChange","oldN","newN","adjustView","countDirtyView","dirty","updateSelection","showSelection","prepareSelection","primary","curFragment","cursors","selFragment","sel","ranges","primIndex","empty","showCursorWhenSelecting","drawSelectionCursor","drawSelectionRange","cursor","cursorHeight","getWrapperElement","charPos","otherCursor","cmpCoords","padding","leftSide","rightSide","sizerWidth","docLTR","drawForLine","fromArg","toArg","lineLen","wrapX","side","extent","fromPos","toPos","openStart","openEnd","openRight","topLeft","topRight","botLeft","botRight","sFrom","sTo","fromLine","toLine","singleVLine","leftEnd","rightStart","restartBlink","focused","blinker","cursorDiv","visibility","cursorBlinkRate","hasFocus","onBlur","ensureFocus","focus","onFocus","delayBlurEvent","delayingBlurEvent","draggingText","selForContextMenu","receivedFocus","updateHeightsInViewport","prevBottom","lineDiv","viewTop","oldHeight","mustScroll","updateWidgetHeight","chWidth","w","visibleLines","viewport","ensure","ensureFrom","ensureTo","maybeScrollWindow","doScroll","innerHeight","scrollNode","scrollIntoView","scrollPosIntoView","margin","limit","endCoords","scrollPos","calculateScrollPos","startTop","startLeft","updateScrollTop","setScrollLeft","snapMargin","screentop","docBottom","atTop","atBottom","newTop","gutterSpace","screenleft","screenw","tooWide","addToScrollTop","resolveScrollToPos","ensureCursorVisible","scrollToPos","cursorScrollMargin","scrollToCoords","scrollToRange","scrollToCoordsRange","sPos","updateDisplaySimple","setScrollTop","startWorker","forceScroll","scrollHeight","scrollbars","isScroller","scrollWidth","alignHorizontally","measureForScrollbars","gutterW","docH","viewHeight","viewWidth","barLeft","docHeight","NativeScrollbars","vert","horiz","checkedZeroWidth","minHeight","minWidth","update","needsH","needsV","sWidth","totalHeight","totalWidth","zeroWidthHack","disableHoriz","enableZeroWidthBar","disableVert","pointerEvents","bar","delay","maybeDisable","elementFromPoint","NullScrollbars","updateScrollbars","startWidth","startHeight","updateScrollbarsInner","sizes","paddingBottom","heightForcer","borderBottom","scrollbarFiller","coverGutterNextToScrollbar","gutterFiller","scrollbarModel","initScrollbars","scrollbarStyle","axis","nextOpId","startOperation","updateInput","typing","changeObjs","selectionChanged","updateMaxLine","markArrays","endOperation","endOperations","endOperation_R1","endOperation_W1","endOperation_R2","endOperation_W2","endOperation_finish","maybeClipScrollbars","mustUpdate","DisplayUpdate","updatedDisplay","updateDisplayIfNeeded","barMeasure","adjustWidthTo","maxScrollLeft","preparedSelection","takeFocus","setDocumentHeight","postUpdateDisplay","wheelStartX","wheelStartY","maybeHiddenMarkers","unhidden","maybeUnhiddenMarkers","finish","runInOp","methodOp","docMethodOp","highlight","highlightWorker","workTime","changedLines","oldStyles","highlighted","oldCls","newCls","ischange","workDelay","force","visible","editorIsHidden","wrapperHeight","oldDisplayWidth","scrollbarsClipped","marginBottom","borderRightWidth","selectionSnapshot","active","anchorNode","anchorOffset","focusNode","focusOffset","restoreSelection","snapshot","nodeName","removeAllRanges","addRange","renderedView","maybeUpdateLineNumberWidth","viewportMargin","different","lastWrapHeight","lastWrapWidth","toUpdate","selSnapshot","patchDisplay","selectionDiv","reportedViewFrom","reportedViewTo","updateNumbersFrom","container","rm","currentWheelTarget","updateNumber","updateGutterSpace","alignWidgets","comp","align","innerW","lineGutter","lineNumInnerWidth","lineNumWidth","getGutters","sawLineNumbers","renderGutters","specs","gElt","updateGutters","Display","draggable","wheelDX","wheelDY","activeTouch","init","wheelSamples","wheelPixelsPerUnit","wheelEventDelta","dx","wheelDeltaX","dy","wheelDeltaY","detail","HORIZONTAL_AXIS","VERTICAL_AXIS","wheelDelta","wheelEventPixels","delta","onScrollWheel","canScrollX","canScrollY","pixels","movedX","movedY","Selection","equals","here","there","deepCopy","Range","somethingSelected","normalizeSelection","mayTouch","selectionsMayTouch","prim","inv","simpleSelection","changeEnd","adjustForChange","computeSelAfterChange","offsetPos","computeReplacedSel","hint","oldPrev","newPrev","loadMode","modeOption","resetModeState","isWholeLineUpdate","wholeLineUpdateBefore","updateDoc","spansFor","linesFor","firstLine","lastText","lastSpans","nlines","added$1","added$2","linkedDocs","sharedHistOnly","propagate","skip","sharedHist","linked","rel","shared","attachDoc","setDirectionClass","directionChanged","done","undone","undoDepth","lastModTime","lastSelTime","lastOp","lastSelOp","lastOrigin","lastSelOrigin","generation","maxGeneration","historyChangeFromChange","histChange","attachLocalSpans","clearSelectionEvents","lastChangeEvent","hist","addChangeToHistory","selAfter","opId","historyEventDelay","pushSelectionToHistory","selectionEventCanBeMerged","addSelectionToHistory","clearRedo","dest","removeClearedSpans","explicitlyCleared","getOldSpans","mergeOldSpans","stretched","oldCur","stretchCur","copyHistoryArray","newGroup","instantiateSel","newChanges","extendRange","posBefore","extendSelection","extendSelections","heads","replaceOneSelection","setSimpleSelection","filterSelectionChange","setSelectionReplaceHistory","setSelectionNoUndo","NaN","setSelectionInner","skipAtomicInSelection","reCheckSelection","mayClear","newAnchor","skipAtomic","newHead","skipAtomicInner","oldPos","preventCursorLeft","selectLeft","preventCursorRight","selectRight","atomic","near","movePos","far","cantEdit","selectAll","filterChange","canceled","cancel","makeChange","ignoreReadOnly","suppressEdits","makeChangeInner","makeChangeSingleDoc","rebased","rebaseHist","makeChangeFromHistory","allowSelectionOnly","suppress","antiChanges","returned","v","shiftDoc","distance","makeChangeSingleDocInEditor","recomputeMaxLength","checkWidthStart","changesHandler","changeHandler","splitLines","rebaseHistSelSingle","rebaseHistArray","sub","ok","copied","changeLine","handle","changeType","LeafChunk","BranchChunk","removeInner","insertInner","iterN","leaf","maybeSpill","me","sibling","myIndex","used","LineWidget","opt","adjustScrollWhenAboveVisible","addLineWidget","insertAt","aboveVisible","this$1","oldH","nextMarkerId","TextMarker","markText","markTextShared","replacedWith","addToHistory","curLine","clearOnEnter","clearHistory","withOp","visual","dHeight","SharedTextMarker","cloneNode","isParent","findSharedMarkers","findMarks","copySharedMarkers","mFrom","mTo","subMark","detachSharedMarkers","subMarker","nextDocId","Doc","lineSep","cleanGeneration","getValue","join","lineSeparator","setValue","getLineHandle","getLineNumber","getLineHandleVisualStart","lineCount","listSelections","extendSelectionsBy","setSelections","addSelection","getSelections","replaceSelection","dup","replaceSelections","newSel","undoSelection","redoSelection","setExtending","getExtending","historySize","markClean","changeGeneration","forceSplit","isClean","gen","getHistory","setHistory","histData","setGutterMarker","gutterID","clearGutter","lineInfo","addLineClass","removeLineClass","removeLineWidget","setBookmark","realOpts","findMarksAt","getAllMarks","posFromIndex","sepSize","indexFromPos","copyHistory","linkedDoc","unlinkDoc","splitIds","iterLinkedDocs","getEditor","setDirection","eachLine","lastDrop","onDrop","clearDragCursor","files","dataTransfer","isReadOnly","FileReader","File","read","markAsReadAndPasteIfAllFilesAreRead","t","readTextFromFile","file","allowDropFileTypes","reader","onerror","onload","readAsText","text$1","getData","selected","onDragStart","setData","effectAllowed","setDragImage","img","_top","onDragOver","frag","dragCursor","forEachCodeMirror","getElementsByClassName","byClass","editors","globalsRegistered","ensureGlobalHandlers","registerGlobalHandlers","resizeTimer","onResize","setSize","keyNames","fromCharCode","keyMap","normalizeKeyName","alt","ctrl","cmd","normalizeKeyMap","keymap","keyname","lookupKey","getKeyMap","fallthrough","isModifierKey","keyCode","addModifierNames","noShift","altKey","metaKey","shiftKey","keyName","altGraphKey","deleteNearSelection","compute","kill","toKill","replaced","moveCharLogically","moveLogically","endOfLine","visually","prep","targetTop","moveVisually","bidi","mv","getWrappedLineExtent","moveInStorageOrder","searchInVisualLine","getRes","nextCh","basic","pcDefault","emacsy","macDefault","commands","singleSelection","killLine","deleteLine","delLineLeft","delWrappedLineLeft","delWrappedLineRight","rightPos","goDocStart","goDocEnd","goLineStart","goLineStartSmart","lineStartSmart","goLineEnd","lineEnd","goLineRight","goLineLeft","goLineLeftSmart","goLineUp","moveV","goLineDown","goPageUp","goPageDown","goCharLeft","moveH","goCharRight","goColumnLeft","goColumnRight","goWordLeft","goGroupRight","goGroupLeft","goWordRight","delCharBefore","deleteH","delCharAfter","delWordBefore","delWordAfter","delGroupBefore","delGroupAfter","indentAuto","indentSelection","indentMore","indentLess","insertTab","insertSoftTab","spaces","defaultTab","execCommand","transposeChars","newlineAndIndent","sels","openLine","toggleOverwrite","firstNonWS","inWS","doHandleBinding","bound","dropShift","ensurePolled","prevShift","lookupKeyForEditor","keyMaps","extraKeys","stopSeq","dispatchKey","seq","keySeq","dispatchKeyInner","handleKeyBinding","motion","handleCharBinding","lastStoppedKey","onKeyDown","getField","handled","showCrossHair","up","onKeyUp","onKeyPress","charCode","lastClick","lastDoubleClick","DOUBLECLICK_DELAY","PastClick","clickRepeat","now","compare","onMouseDown","supportsTouch","clickInGutter","repeat","selectingText","handleMappedButton","leftButtonDown","onContextMenu","configureMouse","option","unit","addNew","moveOnDrag","contained","behavior","dragDrop","leftButtonStartDrag","leftButtonSelect","moved","dragEnd","mouseMove","dragStart","preventScroll","e2","rangeForUnit","findWordAt","ourRange","ourIndex","startSel","lastPos","extendTo","startCol","posCol","leftPos","oldRange","ranges$1","bidiSimplify","editorSize","counter","curCount","move","buttons","anchorLine","boundary","headIndex","usePart","gutterEvent","prevent","mX","mY","touches","lineBox","contextMenuInGutter","themeChanged","theme","Init","optionHandlers","defineOptions","deflt","notOnInit","defineOption","newBreaks","refresh","getInputField","spellcheck","autocorrect","autocapitalize","detach","attach","wrappingChanged","integer","blur","readOnlyChanged","screenReaderLabelChanged","dragDropChanged","resetPosition","funcs","dragFunctions","toggle","enter","over","leave","inputStyles","inputStyle","pasteIncoming","cutIncoming","autofocus","registerEventHandlers","finishInit","initHooks","textRendering","word","touchFinished","prevTouch","finishTouch","isMouseLikeTouchEvent","touch","radiusX","radiusY","farAway","pageX","pageY","inp","how","aggressive","indent","curSpace","curSpaceString","indentUnit","indentString","indentWithTabs","pos$1","defineInitHook","lastCopied","setLastCopied","newLastCopied","applyTextInput","inserted","deleted","recent","paste","textLines","multiPaste","pasteLinesPerSelection","lineWise","changeEvent","triggerElectric","handlePaste","pasted","clipboardData","disableInput","electricChars","smartIndent","getModeAt","electricInput","copyableRanges","lineRange","disableBrowserMagic","field","hiddenTextarea","border","addEditorMethods","helpers","setOption","getDoc","addKeyMap","removeKeyMap","addOverlay","modeSpec","removeOverlay","newRanges","getLineTokens","getTokenTypeAt","getHelper","getHelpers","help","_global","getStateAfter","defaultTextHeight","defaultCharWidth","getViewport","addWidget","vspace","hspace","triggerOnKeyDown","triggerOnKeyPress","triggerOnKeyUp","triggerOnMouseDown","findPosH","amount","hitSide","rtlMoveVisually","findPosV","goalColumn","goals","headPos","startChar","check","scrollTo","getScrollInfo","interpret","swapDoc","phrase","phraseText","phrases","getScrollerElement","getGutterElement","registerHelper","registerGlobalHelper","predicate","origDir","lineDir","findNextLine","moveOnce","boundToLine","astral","sawType","pageSize","moveAmount","ContentEditableInput","lastAnchorNode","lastAnchorOffset","lastFocusNode","lastFocusOffset","polling","composing","gracePeriod","readDOMTimeout","posToDOM","isInGutter","scan","badPos","bad","domTextBetween","closing","extraLinebreak","recognizeMarker","addText","walk","cmText","markerID","isBlock","textContent","nodeValue","domToPos","lineNode","locateNodeInLineView","textNode","topNode","curNode","previousSibling","dist$1","belongsToInput","onCopyCut","lineWiseCopyCut","clearData","kludge","hadFocus","showPrimarySelection","contentEditable","updateFromDOM","readFromDOMSoon","forceCompositionEnd","label","removeAttribute","showMultipleSelections","curAnchor","curFocus","rng","rangeCount","getRangeAt","startGracePeriod","rememberSelection","selectionInEditor","commonAncestorContainer","poll","pollSelection","pollInterval","pollContent","fromIndex","fromNode","toNode","toIndex","newText","oldText","cutFront","cutEnd","oldTop","maxCutFront","newBot","oldBot","maxCutEnd","chFrom","chTo","TextareaInput","prevInput","pollingFast","fromTextArea","textarea","tabindex","placeholder","realSubmit","form","leaveSubmitMethodAlone","submit","wrappedSubmit","getTextArea","toTextArea","addLegacyProps","cmpPos","createField","prepareCopyCut","fastPoll","dispatchEvent","Event","_display","moveInputWithCursor","wrapOff","lineOff","teTop","teLeft","drawn","contextMenuPending","slowPoll","missed","same","resetSelectionOnContextMenu","oldScrollY","oldCSS","oldWrapperCSS","wrapperBox","offsetParent","scrollY","rehide","detectingSelectAll","prepareSelectAllHack","mouseup","extval","disabled","dontDelegate","func","defineDocExtension","version","keySet","config","parserConfig","propertyKeywords","tokenHooks","documentTypes","mediaTypes","mediaFeatures","mediaValueKeywords","nonStandardPropertyKeywords","fontProperties","counterDescriptors","colorKeywords","valueKeywords","allowNested","lineComment","supportsAtComponent","highlightNonStandardPropertyKeywords","ret","tp","tokenBase","tokenize","tokenString","tokenParenthesized","quote","escaped","pushContext","popContext","pass","states","popAndPass","wordAsValue","stateArg","_stream","atBlock","cx","blockCommentStart","blockCommentEnd","blockCommentContinue","fold","documentTypes_","mediaTypes_","mediaFeatures_","mediaValueKeywords_","propertyKeywords_","nonStandardPropertyKeywords_","colorKeywords_","valueKeywords_","allWords","tokenCComment","maybeEnd","defaultTags","script","maybeBackup","pat","attrRegexpCache","getAttrRegexp","regexp","getAttrValue","getTagRegexp","anchored","addTags","findMatchingMode","tagInfo","tagText","htmlMode","multilineTagIndentFactor","multilineTagIndentPastTag","allowMissingTagName","tags","configTags","configScript","scriptTypes","html","htmlState","inTag","endTagA","endTag","localState","localMode","local","statementIndent","jsonldMode","jsonld","json","trackScope","isTS","typescript","wordRE","wordCharacters","keywords","kw","A","B","C","D","operator","atom","isOperatorChar","isJsonldKeyword","readRegexp","inSet","cont","tokenComment","expressionAllowed","tokenQuasi","lastType","propertyIsEnumerable","brackets","findFatArrow","fatArrowAt","arrow","depth","sawSomething","bracket","atomicTypes","JSLexical","inScope","varname","localVars","vars","parseJS","cc","marked","expression","statement","lex","inList","block","newContext","registerVarScoped","Var","globalVars","isModifier","defaultVars","pushcontext","pushblockcontext","popcontext","pushlex","poplex","expect","wanted","exp","vardef","parenExpr","maybeexpression","maybeelse","functiondef","forspec","enumdef","typename","typeexpr","maybelabel","maybeCatchBinding","afterExport","afterImport","funarg","expressionInner","expressionNoComma","noComma","arrowBodyNoComma","arrowBody","commasep","maybeop","maybeoperatorNoComma","maybeoperatorComma","classExpression","arrayLiteral","contCommasep","objprop","quasi","maybeTarget","expr","property","continueQuasi","targetNoComma","maybeTypeArgs","getterSetter","afterprop","maybetype","what","sep","proceed","maybetypeOrIn","mayberettype","isKW","afterType","typeprops","typearg","maybeReturnType","quasiType","typeprop","functiondecl","continueQuasiType","typeparam","maybeTypeDefault","maybeAssign","vardefCont","eltpattern","proppattern","forspec1","forspec2","classNameAfter","classBody","classfield","maybeFrom","exportField","importSpec","maybeMoreImports","maybeAs","enummember","isContinuedStatement","basecolumn","firstChar","c","doubleIndentSwitch","closeBrackets","skipExpression","htmlConfig","autoSelfClosers","implicitlyClosed","contextGrabbers","doNotIndent","allowUnquoted","allowMissing","caseFold","xmlConfig","editorConf","config_","setStyle","inText","parser","inBlock","doctype","baseState","tagStart","inAttribute","stringStartCol","closure","isInAttribute","terminator","lower","startOfLine","noIndent","maybePopContext","nextTagName","parentTagName","tagNameState","closeTagNameState","attrState","matchClosing","closeState","closeStateErr","attrEqState","attrValueState","attrContinuedState","isInText","baseIndent","fullLine","alignCDATA","tagAfter","grabbers","skipAttribute","xmlCurrentTag","xmlCurrentContext","assets","noAssets","stylePrefix","upload","uploadName","headers","credentials","multiUpload","autoAdd","customFetch","uploadFile","embedAsBase64","handleAdd","beforeUpload","showUrlInput","custom","dropzone","openAssetsOnDrop","dropzoneContent","Asset","getFilename","getDefaults","AssetImage","unitDim","pfx","ppfx","pStylePrefix","em","__getBhv","am","__getBehaviour","template","getPreview","getInfo","updateTarget","innerHTML","AssetView","click","dblclick","dim","onClick","coll","onDblClick","onSelect","onRemove","stopImmediatePropagation","TypeableCollection","AssetImageView","isType","renderAssets","addToAsset","removedAsset","deselectAll","handleSubmit","getAddInput","trim","getAssetsEl","globalCollection","inputUrl","toggleNoAssets","addAsset","fragmentEl","rendered","typeView","assetsEl","hide","append","removeClass","fuRendered","fu","uploadId","disableUpload","onUploadStart","__propEv","onUploadEnd","onUploadError","err","console","onUploadResponse","clb","FormData","reqHead","fetchOpts","then","status","Promise","catch","initDrop","that","uploadForm","ondragover","ondragleave","ondrop","initDropzone","addedCls","edEl","editor","frameEl","getBody","updatedCls","dropzoneCls","cleanEditorElCls","onDragLeave","getSelected","runCommand","Modal","AssetManager","setTarget","item","response","promises","mimeTypeMatcher","promise","resolve","image","Image","readAsDataURL","evAll","evPfx","evSelect","evUpdate","evAdd","evRemove","evRemoveBefore","evCustom","evOpen","evClose","evUpload","evUploadStart","evUploadEnd","evUploadError","evUploadRes","assetsVis","assetCmd","Module","storageKey","Assets","removeBefore","uploadStart","uploadEnd","uploadError","uploadResponse","__initListen","getAllVisible","getAll","__onAllEvent","debounce","__trgCustom","getConfig","__customData","bhv","isOpen","asset","complete","run","isActive","__remove","store","noStore","stm","load","getContainer","assts","toRender","__viewParams","FileUploader","AssetsView","addType","definition","getType","getTypes","FileUpload","onLoad","postRender","editorView","__behaviour","_bhv","appendTo","appendOnClick","blocks","Block","media","category","activate","resetId","disable","ctg","Blocks","Category","Categories","mousedown","dragstart","drag","dragend","endDrag","__getModule","handleClick","sorter","getSorter","setDropContent","validTarget","getEl","valid","getWrapper","setSelected","startDrag","refreshCanvas","setDragHelper","startSort","handleDragStart","__startDrag","handleDrag","__drag","handleDragEnd","__endDrag","endMove","class","clsAdd","hasDnd","prefix","CategoryView","caretR","caretD","iconClass","activeClass","updateVisibility","getIconEl","getBlocksEl","iconEl","blocksEl","bindAll","categories","renderedCategories","noCatClass","blockContClass","catsClass","addTo","tac","grabbingCls","canvas","updateConfig","utils","Sorter","placer","getPlacerEl","containerSel","itemSel","onStart","onDrag","onEndMove","onMove","getFrameEl","contentDocument","wmargin","nested","canvasRelative","stopDefault","runDefault","oldActive","BlockView","ignoreCategories","catModel","catId","catView","getCategoriesEl","catsEl","evDrag","evDragStart","evDragStop","blocksVisible","blocksView","bm","dragStop","getContent","_dragBlock","dragResult","dragContent","oldKey","toActive","toSelect","onAll","__getFrameViews","getFrames","frame","fv","droppable","startCustom","endCustom","BlocksView","elTo","isElement","__logWarn","prp","getCategories","external","colls","scripts","customBadgeLabel","autoscrollLimit","extHl","notTextable","Canvas","frames","rulers","zoom","Frames","onZoomChange","updateDevice","evPageSelect","_pageUpdated","mainPage","getMain","getMainFrame","page","device","getDeviceModel","getCurrentFrameModel","noUndo","Droppable","rootEl","getComponent","els","toggleEffects","enable","handleDragEnter","handleDragOver","handleDrop","handleDragLeave","defaultView","frameElement","sortOpts","onEnd","customTarget","__customTglEff","endDrop","updateCounter","dt","inAbsoluteMode","dragger","guidesInfo","center","cancelled","getStyle","addStyle","cnt","preserveSelected","getContentByData","allowfullscreen","tools","frameView","cvModel","getCanvasModel","updateHead","renderStyles","setViewEl","headEl","getHead","attrStr","items","stl","appendVNodes","getModel","getWindow","getJsContainer","jsContainer","createEl","getToolsEl","frameWrapView","elTools","getGlobalToolsEl","getHighlighter","_getTool","getBadgeEl","getOffsetViewerEl","getRect","getOffsetRect","scrollBottom","scrollRight","toolsEl","wrp","_toggleEffects","startAutoscroll","lastMaxHeight","_toggleAutoscrollFx","requestAnimationFrame","autoscroll","dragging","lastClientY","win","actualTop","limitTop","limitBottom","nextTop","isUndefined","opacity","showGlobalTools","updateClientY","getPointerEvent","getZoomDecimal","stopAutoscroll","mt","renderScripts","evLoad","evOpts","appendScript","scriptEl","renderBody","normalize","stls","prevStyles","conf","_isEditor","baseCss","canvasCss","protectedCss","component","CssRulesView","getStyles","createCustomEvent","motionsEv","_emitUpdate","_emitUpdated","canvasView","cv","FrameView","classAnim","updateOffset","updateSize","frameLoaded","updatePos","setupDragger","dragX","dragY","toggleFramesEvents","Dragger","getZoomMultiplier","setPosition","posOpts","__clear","removeEl","md","updateDim","__handleSize","noChanges","isNull","onScroll","onscroll","currW","currH","newW","newH","isNumber","onRender","twrp","toolsWrapper","elTop","elRight","elBottom","elLeft","frameWrapperView","DomainViews","itemView","FrameWrapView","onRemoveBefore","timerZoom","wheel","_initFrames","clearOff","checkSelected","updateFrames","_onFramesUpdate","toggleListeners","_renderFrames","FramesView","currFrame","views","_getFrame","_parentEvent","onCanvasMove","getKeyChar","isInputFocused","onWheel","getZoom","defOpts","mpl","framesArea","transform","isElInViewport","elem","getElement","getElRect","frameRect","getFrameOffset","rTop","rLeft","docBody","noScroll","frmOff","cvsOff","winEl","frEl","getCanvasOffset","getElementPos","eo","frmTop","avoidFrameOffset","frmLeft","getElementOffsets","isTextNode","parseFloat","getPosition","bEl","fo","co","updateScript","getId","scriptContainer","scriptFn","getScriptString","scriptFnStr","scriptProps","__getScriptProps","scr","getFrameView","ready","frms","listenToLoad","mainFrame","setCurrentFrame","$frames","toolsWrp","hlEl","badgeEl","placerEl","ghostEl","toolbarEl","resizerEl","offsetEl","fixedOffsetEl","toolsGlobEl","getUiClass","CanvasView","getCanvasView","getFrame","getFramesEl","getDocument","_getCompFrame","compView","_getLocalEl","globalEl","getGhostEl","getToolbarEl","getResizerEl","getFixedOffsetViewerEl","getOffset","frameOff","canvasOff","setCustomBadgeLabel","topScroll","leftScroll","getTargetToElementDim","canvasPos","elPos","toRight","targetHeight","targetWidth","eventToTrigger","topPos","elementTop","elementLeft","elementWidth","elementHeight","canvasTop","canvasLeft","canvasWidth","canvasHeight","canvasRectOffset","getFrameElFromDoc","rectOff","getTargetToElementFixed","elToMove","cvOff","toolbarH","toolbarW","frCvOff","frameOffset","fullHeight","elIsShort","canvasOffsetTop","canvasOffsetLeft","getMouseRelativePos","addTop","addLeft","subWinOffset","parentWindow","yOffset","xOffset","getMouseRelativeCanvas","toIgnore","getViewEl","fr","getCurrentFrame","setZoom","setCoords","getCoords","addFrame","keyAutoW","keyAutoH","Frame","changesCount","_undo","_undoexc","domc","allRules","idMap","modOpts","isComponent","components","Wrapper","idMapKeys","selectors","sSel","idSel","temporary","noCount","avoidStore","setHead","getHeadByAttr","addHeadItem","removeHeadByAttr","sm","smc","fromUndo","storeHtml","getHtml","storeCss","getCss","onReset","loadedItems","itemsToLoad","listenToLoadItems","itemLoaded","inlineCss","HTMLGenerator","htmlOpts","cleanId","rules","idRules","rule","isId","toHTML","build","beforeEach","mapModel","comps","scrStr","scrProps","mapJs","mapType","hasWin","require","codeName","onChange","ed","setContent","autoFormatRange","noRefresh","EditorView","generators","defGenerators","viewers","defViewers","defaultViewer","gHtml","gCss","gJson","js","gJs","eCM","loadDefaultGenerators","loadDefaultViewers","addGenerator","generator","getGenerator","getGenerators","addViewer","viewer","getViewer","getViewers","createViewer","txtarea","updateViewer","getCode","genId","maxValue","MAX_VALUE","getMediaLength","mediaQuery","compCls","buildFromModel","avoidInline","styleToString","getFullName","cssc","codeJson","clearStyles","atRules","dump","onlyMatched","matchedRules","atRule","getAtRule","mRules","buildFromRule","sortMediaObject","rulesStr","ruleStr","selectorStrNoAdd","selectorsToString","skipAdd","selectorsAdd","singleAtRule","keepUnusedStyles","getDeclaration","__cleanSelector","getQueryLength","itemsArr","isMobFirst","mquery","sortRules","getKey","q","strict","commandsDef","defaultCommands","CommandAbstract","sender","selAll","getSelectedAll","nativeDrag","defComOptions","logWarning","hideTlb","altMode","eventDrag","emitUpdate","cmdMove","Commands","onEndMoveFromModel","initSorterFromModels","oldCmd","default","cmdName","loadDefaultCommands","noStop","command","cmdObj","stopCommand","getActive","callRun","abort","callStop","DomComponents","CssComposer","canvasModel","toggleMove","disableDragger","enableDragger","toggleDragger","methodCls","getCanvas","classList","methodEv","methodsEv","editorModel","hoverClass","badgeClass","plhClass","freezClass","onFrameScroll","getCanvasBody","getCanvasTools","Boolean","evName","guidesStatic","guidesTarget","setupGuides","isTran","guidesContainer","getGuidesContainer","getGuidesTarget","getGuidesStatic","drg","toggleDrag","getEventOpts","guides","guide","guidesEl","elInfoX","elInfoY","guideContent","elGuideInfoX","elGuideInfoY","elGuideInfoContentX","elGuideInfoContentY","updateGuides","debug","renderGuide","getElementGuides","lastEl","getGuidePosUpdate","originRect","un","guideSize","numEl","getTranslate","itemStr","setTranslate","en","styleUp","adds","_getDragData","relPos","parentRel","pStyle","offsetP","renderGuideInfo","hideGuidesInfo","rectOrigin","isY","origEdge1","origEdge1Raw","origEdge2","origEdge2Raw","elGuideInfo","elGuideInfoCnt","guideInfoStyle","stat","statEdge2","isEdge1","statEdge1","statEdge1Raw","statEdge2Raw","posFirst","posSecond","pos2","sizeRaw","matched","snd","incr","getChildAt","wrappers","Pages","getAllWrappers","flatten","findType","SelectComponent","mouseover","startDelete","mouseout","stopDelete","onDelete","$this","attachBadge","badge","removeBadge","clean","updateBadgeLabel","getName","modal","CodeManager","$editors","oHtmlEd","buildEditor","oCsslEd","htmlEditor","cssEditor","textViewCode","codeMirror","isEnabled","fullscreenElement","webkitFullscreenElement","mozFullScreenElement","requestFullscreen","webkitRequestFullscreen","mozRequestFullScreen","msRequestFullscreen","warn","exitFullscreen","webkitExitFullscreen","mozCancelFullScreen","msExitFullscreen","fsChanged","targetEl","SelectPosition","noSelClass","getHighlighterEl","wp","$wrapper","initSorter","toggleClipboard","cacheEl","startSelectPosition","stopSelectComponent","getContentWindow","rollback","initSorterFromModel","lastModel","toMove","onMoveClb","$badge","getBadge","$hl","onceClose","accept","modalTitle","uploadEl","firstRender","pn","Panels","getPanel","addPanel","lm","LayerManager","layers","panels","$cn","trgEvCnt","$cn2","dvm","DeviceManager","showDevices","devicePanel","dvEl","slm","SelectorManager","slmConfig","StyleManager","smConfig","$header","pnCnt","panel","toggleSm","show","Config","tm","TraitManager","confTm","toggleTm","clp","addOpts","copyable","cop","cmdVis","getPanels","preventDrag","tglEffects","mthEv","tlb","elP","querySelectorAll","shouldRunSwVisibility","editorEl","onclick","canvasS","posFetcher","mousePosFetcher","canvasResizer","forceNew","Utils","Resizer","calibrated","ToolbarButtonView","ToolbarButton","showOffsets","adjScroll","startSelectComponent","toggleSelectComponent","listenToEl","onFrameUpdated","onContainerChange","onHovered","updateGlobalPos","_upToolbar","updateAttached","onHover","onOut","trg","isDoc","currentDoc","setHovered","useValid","updateLocalPos","updateToolsLocal","elHovered","toggleToolsEl","currentFrame","getView","isVisible","elSelected","updateToolsGlobal","initResize","getElSelected","getElHovered","showElementOffset","hideElementOffset","showFixedElementOffset","hideFixedElementOffset","hideHighlighter","isEditing","isChildOf","updateBadge","posOnly","icon","getIcon","clsBadge","customeLabel","badgeLabel","bStyle","targetToElem","leftOff","showHighlighter","modelToStyle","resizeClass","isTaggableNode","resizable","toggleBodyClass","docs","resizer","keyHeight","keyWidth","currentUnit","keepAutoHeight","keepAutoWidth","getModelToStyle","computedStyle","modelStyle","currentWidth","autoWidth","currentHeight","autoHeight","startDim","unitHeight","getUnitFromValue","unitWidth","selectedHandler","onlyHeight","onlyWidth","bodyw","updateEvent","eventToListen","noEmit","updateToolbar","toolbarStyle","toolbar","showToolbar","Toolbar","toolbarView","ToolbarView","updateToolbarPos","getCanvasPosition","updateTools","isCompSelected","isHoverEn","isNewEl","lastHovered","badgeOpts","topOff","_trgToolUp","lastSelected","hideBadge","cleanPrevious","isPointed","scale","getOffsetDim","stopSelectPosition","posTargetCollection","posIndex","posMethod","cDim","posIsLastEl","posTargetEl","outsideElem","posTargetModel","nearFloat","isLast","getOffsetMethod","showOffsetsSelected","stateVar","offsetViewer","marginT","marginB","marginL","marginR","padT","padB","padL","padR","stateLow","marginName","paddingName","marginV","paddingV","paddingEls","fullMargName","fullPadName","marginLeftSt","marginRightSt","marginRight","marginTopSt","marginBottomSt","mtStyle","mbStyle","mlStyle","mrStyle","ptStyle","pbStyle","plStyle","prStyle","posLeft","widthEl","marginSideH","marginSideT","padTop","padBot","padSideH","padSideT","padRight","toggleVis","mth","_upFrame","_onFramesChange","__getConfig","getAllMap","acc","__initConfig","def","__catchAllEvent","collections","entity","__appendTo","_createId","ln","allMap","createId","__listenAdd","__listenRemove","__listenUpdate","__destroy","onBeforeStyle","CSS","CssRule","mediaText","stylable","atRuleType","important","shallow","ensureSelectors","__onChange","isEmptyObj","changesUp","toListen","getSelectors","Selectors","typeStr","addSelector","selOpts","getFullString","stateStr","skipState","allowEmpty","devices","getDevices","deviceDefault","getWidthMedia","stateValue","getStates","sngl","cmpId","getById","ruleProps","wd","selAdd","a1S","a2S","Styleable","onAdd","parseCss","rulesView","storeStyles","elStyle","CssRules","postLoad","um","getCacheLoad","hasPages","slc","singleSel","parserCss","checkNode","addCollection","sl","newSels","le","selec","modelExists","updateStyle","avoidUpdateStyle","styleUpdate","addRules","setRule","atRuleParams","getRule","getRules","setIdRule","getCurrentMedia","Selector","getIdRule","setClassRule","getClassRule","getComponentRules","getSelectorsString","toCSS","CssRuleView","getBlockId","addToCollection","renderStarted","atRuleEl","styleEl","CssGroupRuleView","appendData","clsName","defaultBlockId","blockId","getMediaWidth","contRules","prs","pr","widthMedia","Device","checkUnit","Devices","DevicesView","startAdd","updateSelect","devEl","devicesEl","getOptions","evSelectBefore","evAddBefore","chnSel","dv","_onSelect","deviceId","newDevice","draggableComponents","storeWrapper","processor","voidElements","ComponentWrapperView","ComponentView","Component","columns","rows","rowsToAdd","columnsToAdd","clm","ComponentTableBody","svgAttrs","void","editable","highlightable","ratioDefault","traits","fallback","initToolbar","hasButtonBool","tb","getAttrToHTML","getSrcResult","btoa","isDefaultSrc","parseUri","uri","query","qrs","pair","hostname","protocol","port","mapUrl","address","frameborder","OComponent","changeProp","parseFromSrc","updateSrc","getMapUrl","addr","qr","z","classEmpty","fetchFile","modelOpt","srcExists","addAttributes","onActive","getSrc","onError","noDrag","renderAttributes","getIframe","ifrm","frameBorder","updateClasses","ComponentText","ComponentLink","textTags","compProt","updateContentText","syncContent","rte","fromDisable","disableEditing","canActivate","rteEnabled","sameInEdit","getEditing","isInnerText","isInstanceOf","lastContent","activeRte","logError","toggleEvents","onDisable","getChildrenContainer","contentOpt","customRte","resetFromString","insertComponent","startContainer","startOffset","textModel","newCmps","is","cmps","onInput","disablePropagation","mixins","setEditing","elDocs","prevDef","ComponentLinkView","yt","vi","ytnc","videoId","provider","ytUrl","ytncUrl","viUrl","poster","muted","autoplay","controls","color","modestbranding","sources","updateTraits","getYoutubeTraits","getVimeoTraits","getSourceTraits","prov","getYoutubeSrc","getYoutubeNoCookieSrc","getVimeoSrc","getProviderTrait","getAutoplayTrait","getLoopTrait","getControlsTrait","isYtProv","isYtncProv","isViProv","isExtProv","OComponentView","updateProvider","updateVideo","renderByProvider","videoEl","renderYoutube","renderYoutubeNoCookie","renderVimeo","renderSource","initVideoEl","layerable","scrCnt","scriptCount","svar","svarNext","svarFn","svarNextFn","__innerHTML","customName","selectable","hoverable","inSvg","createElementNS","updateStatus","updateAttributes","initClasses","initComponents","createComment","ComponentWrapper","removable","__hasUm","attrUp","__getSrc","getAttributes","componentView","componentsById","componentTypes","ComponentTableCell","ComponentTableCellView","ComponentTableRow","ComponentTableRowView","ComponentTable","ComponentTableView","ComponentTableHead","ComponentTableHeadView","ComponentTableBodyView","ComponentTableFoot","ComponentTableFootView","ComponentMap","ComponentMapView","ComponentLabel","ComponentLabelView","ComponentVideo","ComponentVideoView","ComponentImage","ComponentImageView","ComponentScript","ComponentScriptView","ComponentSvgIn","ComponentSvgView","ComponentSvg","ComponentFrame","ComponentFrameView","ComponentComment","ComponentCommentView","ComponentTextNode","ComponentTextNodeView","ComponentTextView","Components","ComponentsView","storeComponents","compTypes","componentHovered","selectAdd","selectRemove","setComponents","isObj","getComponents","toStore","addComponent","extendView","extendFn","extendFnView","compType","extendType","extendViewType","typeToExtend","modelToExt","viewToExt","getExtendedObj","srcToExt","parentFn","df","it","removeType","getShallowWrapper","shallowEm","keyUpdate","keyUpdateInside","canMove","reason","srcModel","allById","Trait","targetEvent","targetUpdated","locale","getTargetValue","valueOpts","partial","setTargetValue","fromTarget","trait","valueToSet","final","toSet","step","Traits","handleReset","tf","objs","optionsTarget","TraitFactory","keySymbols","keySymbol","keySymbolOvrd","parentAttr","newAttr","toPropagate","ccid","initTraits","initScriptProps","scriptUpdated","tagUpdated","attrUpdated","_idUpdated","__emitUpdateTlb","__propToParent","__postAdd","__isSymbolOrInst","__initSymb","recursive","__changesUp","__propSelfToParent","$els","eq","closest","setClass","attrPrev","shallowDiff","setAttributes","noClass","attrArr","compAttr","optsAdd","parseStyle","propOrig","addId","noStyle","TYPE_ID","__getSymbol","__getSymbols","classe","classStr","toUp","symbol","symbols","log","__symbReady","__upSymbProps","__isSymbol","__isSymbolTop","symbTopSelf","__getSymbTop","symbTop","symb","__getAllById","symbs","idx","ovrd","symbEnabled","fromInstance","noPropagate","__isSymbOvrd","__getSymbToUp","__logSymbol","propsChanged","optUp","toUpOpts","isTemp","addedInstances","isMainSymb","addSymb","toAppend","addedInst","addedTop","symbolInv","isSymbNested","__isSymbolNested","toUpFn","symbPrnt","newMods","attrCls","clsArr","normalizeClasses","__upSymbCls","addChild","avoidChildren","__upSymbComps","__loadTraits","getInitValue","prevProps","newProps","prevPropsEv","newPropsEv","__scriptPropsChange","compArr","prevColl","tr","traitsI","getTraits","getTrait","_inner","cloned","newId","rulesToClone","newRule","defName","nameTag","i18nPfx","i18nName","i18nNameTag","i18nDefName","capitalize","customTag","sTag","customAttr","withProps","isBoolean","valueRes","altQuoteAttr","attrString","getInnerHTML","getChangedProps","modelProps","tagVarStart","tagVarEnd","reg","updated","rmOpts","byType","oldId","setId","idS","_getStyleRule","idUpdate","idPrev","getList","_getStyleSelector","ensureInList","nextId","getIncrementId","getNewId","ilen","uid","random","keepIds","dm","checkId","badgable","unstylable","dmode","getComponentIds","getComponentsFromDefs","itms","newComponents","resetChildren","newIds","allByID","parsed","parseString","canRemoveStyle","rulesRemoved","__postRemove","parseHtml","optsToPass","nodes","isMult","processDef","__firstAdd","mdl","modelPr","$$typeof","parserHtml","splitPropsFromAttr","__onAddEnd","getClasses","updateHighlight","updateContent","handleChange","avoidRender","_clbObj","__isDraggable","childrenView","importClasses","renderChildren","chgArr","selectedCls","selectedParentCls","freezedCls","hoveredCls","selCls","noExtHl","actualCls","avoidHover","isTextable","hl","onAttrUpdate","removeAttr","textable","defaultAttr","contenteditable","hasComps","getChildrenSelector","getTemplate","gtop","gleft","assignRect","isInViewport","elDoc","_setData","replaceWith","triggerAdd","sameFrameView","viewObject","parentEl","ParserHtml","extendStyle","propNew","noEvent","removeStyle","imp","propPrv","newStyle","baseType","getBaseType","typeFound","recognizeType","ModelInst","ViewInst","extendViewApi","holderClass","inputClass","handleModelChange","elementUpdated","getInputEl","__onInputChange","fromInput","inputEl","plh","defaultOpts","beforeShow","noop","flat","showInput","showButtons","clickoutFiresChange","showInitial","showPalette","showPaletteOnly","hideAfterPaletteSelect","togglePaletteOnly","showSelectionPalette","localStorageKey","maxSelectionSize","cancelText","chooseText","togglePaletteMoreText","togglePaletteLessText","clearText","noColorSelectedText","preferredFormat","containerClassName","replacerClassName","showAlpha","palette","selectionPalette","spectrums","IE","rgbaSupport","backgroundColor","replaceInput","markup","gradientFix","dataID","spectrum","extra","spect","removeData","loadOpts","inputTypeColorSupport","_cachedResult","colorInput","localization","palettes","processNativeColorInputs","colorInputs","trimLeft","trimRight","tinyCounter","math","mathRound","mathMin","mathMax","mathRandom","tinycolor","rgb","format","named","matchers","rgba","hsl","hsla","hsv","hsva","hex8","convertHexToDecimal","parseIntFromHex","hex6","hex3","stringInputToObject","bound01","convertToPercentage","hsvToRgb","hue2rgb","hslToRgb","boundAlpha","inputToRGB","_originalInput","_r","_g","_b","_a","_roundA","_format","_gradientType","gradientType","_ok","_tc_id","isDark","getBrightness","isLight","getOriginalInput","getFormat","getAlpha","toRgb","setAlpha","toHsv","rgbToHsv","toHsvString","toHsl","rgbToHsl","toHslString","toHex","allow3Char","rgbToHex","toHexString","toHex8","rgbaToHex","toHex8String","toRgbString","toPercentageRgb","toPercentageRgbString","toName","hexNames","toFilter","secondColor","hex8String","secondHex8String","formatSet","formattedString","hasAlpha","_applyModification","lighten","brighten","darken","desaturate","saturate","greyscale","spin","_applyCombination","analogous","complement","monochromatic","splitcomplement","triad","tetrad","fromRatio","newColor","color1","color2","mix","w1","rgb1","rgb2","w2","readability","c1","c2","brightnessA","brightnessB","colorDiff","brightness","isReadable","mostReadable","baseColor","colorList","bestColor","bestScore","bestIsReadable","readable","CSS_UNIT","PERMISSIVE_MATCH3","PERMISSIVE_MATCH4","aliceblue","antiquewhite","aqua","aquamarine","azure","beige","bisque","black","blanchedalmond","blue","blueviolet","brown","burlywood","burntsienna","cadetblue","chartreuse","chocolate","coral","cornflowerblue","cornsilk","crimson","cyan","darkblue","darkcyan","darkgoldenrod","darkgray","darkgreen","darkgrey","darkkhaki","darkmagenta","darkolivegreen","darkorange","darkorchid","darkred","darksalmon","darkseagreen","darkslateblue","darkslategray","darkslategrey","darkturquoise","darkviolet","deeppink","deepskyblue","dimgray","dimgrey","dodgerblue","firebrick","floralwhite","forestgreen","fuchsia","gainsboro","ghostwhite","gold","goldenrod","gray","green","greenyellow","grey","honeydew","hotpink","indianred","indigo","ivory","khaki","lavender","lavenderblush","lawngreen","lemonchiffon","lightblue","lightcoral","lightcyan","lightgoldenrodyellow","lightgray","lightgreen","lightgrey","lightpink","lightsalmon","lightseagreen","lightskyblue","lightslategray","lightslategrey","lightsteelblue","lightyellow","lime","limegreen","linen","magenta","maroon","mediumaquamarine","mediumblue","mediumorchid","mediumpurple","mediumseagreen","mediumslateblue","mediumspringgreen","mediumturquoise","mediumvioletred","midnightblue","mintcream","mistyrose","moccasin","navajowhite","navy","oldlace","olive","olivedrab","orange","orangered","orchid","palegoldenrod","palegreen","paleturquoise","palevioletred","papayawhip","peachpuff","peru","pink","plum","powderblue","purple","rebeccapurple","red","rosybrown","royalblue","saddlebrown","salmon","sandybrown","seagreen","seashell","sienna","silver","skyblue","slateblue","slategray","slategrey","snow","springgreen","steelblue","tan","teal","thistle","tomato","turquoise","violet","wheat","white","whitesmoke","yellow","yellowgreen","flipped","flip","paletteTemplate","tiny","swatchStyle","timeout","callbackContext","instanceOptions","resize","reflow","throttler","isDragging","isDefault","dragWidth","dragHeight","dragHelperHeight","slideHeight","alphaWidth","alphaSlideHelperWidth","slideHelperHeight","currentHue","currentSaturation","currentValue","currentAlpha","paletteArray","paletteLookup","draggingClass","shiftMovementDirection","boundElement","pickerContainer","dragHelper","slider","slideHelper","alphaSliderInner","alphaSlider","alphaSlideHelper","textInput","paletteContainer","initialColorContainer","cancelButton","clearButton","chooseButton","toggleButton","isInput","isInputTypeColor","shouldReplace","replacer","offsetElement","previewElement","initialColor","colorOnShow","currentPreferredFormat","applyOptions","toggleClass","updateSelectionPaletteFromStorage","localStorage","oldPalette","addColorToSelectionPalette","inArray","drawPalette","currentColor","unique","getUniqueSelectionPalette","drawInitial","setFromTextInput","updateOriginalInput","isDefaultPrevented","hideAll","$doc","onkeydown","clickout","updateUI","revert","ignoreFormatChange","newHsv","updateHelperLocations","flatColor","realColor","displayColor","realHex","realRgb","alpha","realAlpha","gradient","alphaX","slideY","fireCallback","picker","extraY","dpWidth","outerWidth","dpHeight","outerHeight","inputHeight","docElem","cW","cH","scL","scT","paletteElementClick","keydown","hasClass","oldDragX","oldDragY","furtherFromX","paletteEvent","optionName","optionValue","coord","onmove","onstart","onstop","maxHeight","maxWidth","hasTouch","duringDragEvents","t0","rightclick","hex","pad2","clamp01","hue","results","slices","modification","isOnePointZero","processPercent","isPercentage","ColorPicker","getColor","cl","Input","colorEl","getColorEl","tc","valueClr","noneColor","previousColor","cpStyle","elToAppend","colorPickerConfig","setValueFromInput","noDefault","contClass","validateInputValue","deepCheck","validObj","handleUnitChange","getUnitEl","handleKeyDown","upArrowClick","downArrowClick","unitEl","units","temp","normalizeValue","downIncrement","moveIncrement","upIncrement","prValue","defValue","stepDecimals","toFixed","limitlessMax","limitlessMin","fixed","regFixed","valCopy","uN","itemsView","itemType","itemViewNotFound","ns","reuseView","typeField","clearItems","traitInputAttr","localeFallback","detectLocale","messages","assetManager","addButton","inputPlh","uploadTitle","blockManager","labels","domComponents","comment","video","link","tfoot","tbody","thead","table","row","cell","deviceManager","desktop","tablet","mobileLandscape","mobilePortrait","titles","preview","fullscreen","selectorManager","emptyState","hover","styleManager","layer","fileButton","sectors","general","layout","typography","decorations","flex","dimension","traitManager","false","_blank","messagesAdd","deepAssign","targValue","srcValue","addMessages","_localLang","setLocale","evObj","valuePrev","getLocale","getMessages","lang","_debug","setMessages","msg","localeFlb","lFlb","_getMsg","_addParams","nav","language","userLanguage","msgSet","_mods","_scope","_MODIFIERS","control","_MAP","backspace","tab","return","esc","down","del","delete","home","pageup","pagedown","_downKeys","compareArray","modifierMap","updateModifierKey","clearModifier","assignKey","resetModifiers","scope","mods","getKeys","getMods","shortcut","getScope","mi","addEvent","setScope","deleteScope","isPressed","getPressedKeyCodes","multipleKeys","modifiersMatch","dispatch","keymaster","configDef","keymaps","defKeys","pk","removeAll","backdrop","ModalView","updateOpen","updateTitle","$collector","$content","$title","getCollector","getTitle","currAttr","updateAttr","triggerEvent","ModalM","enb","_evData","titl","createText","setTitle","onceOpen","getContentEl","hidable","hideTextnode","showWrapper","showHover","scrollCanvas","scrollLayers","highlightHover","onInit","ItemsView","inputProp","styleOpts","isStyleHidden","clsNoEdit","countChildren","clsNoChild","clsTitle","clsTitleC","clsCaret","clsInput","inputNameCls","gut","clsBase","clsCount","clsMove","clsChildren","parentView","checkChildren","updateOpening","updateLayerable","updateName","clsEdit","viewLayer","__render","getInputName","innerText","getVisibilityEl","eyeEl","hClass","toggleVisibility","prevDspKey","prevDisplay","handleEdit","handleEditKey","isEscKey","isEnterKey","handleEditEnd","setName","propName","inputName","opened","chvDown","getCaret","toggleOpening","handleSelect","fromLayers","handleHover","handleHoverOut","freeze","unfreeze","isCountable","caret","setRoot","_rendered","__clearItems","ItemView","componentChanged","getRoot","sortContainer","ignoreViewChildren","created","getSourceModel","forceChange","avoidSelectOnEnd","Page","defFrame","evPageSelectBefore","evPageUpdate","evPageAdd","evPageAddBefore","evPageRemove","evPageRemoveBefore","typeMain","selectBefore","addBefore","cnf","pages","_onPageChange","mainComp","getMainComponent","pg","getAllFrames","pagesMap","swv","expt","osm","otm","ola","obl","ful","prv","togglable","delayBtnsShow","btn","Buttons","Panel","listen","activeCls","disableCls","btnsVisCls","updateActive","checkActive","updateBtnsVis","updateClassName","updateDisable","chnOpt","fromListen","$buttons","fromCollection","commandName","deactivateAll","clicked","toggleActive","parentM","ButtonView","appendContent","toggleVisible","cr","bc","resz","resLen","tl","bl","br","silentFrames","avoidContainerUpdate","forContainer","styleWidth","styleHeight","ButtonsView","PanelView","PanelsViewObj","getPanelsEl","removePanel","panelId","removeButton","getButton","PanelsView","disableButtons","runDefaultCommand","stopDefaultCommand","Button","deactivateAllExceptOne","except","disableAllButtons","disableAllButtonsExceptOne","optionsHtml","htmlType","allowScripts","allowUnsafeAttr","atRuleKeys","singleAtRules","singleAtRulesNames","parseSelector","propValue","getPropertyValue","getPropertyPriority","parseCondition","conditionText","selectorText","createNode","selLen","lastClass","stateArr","parseNode","cssRules","keyText","isSingleAtRule","subRules","lens","subRule","selsParsed","selsAdd","lastRule","len3","selsAddStr","sheet","BrowserCssParser","classSets","classSet","pHtml","pCss","Parser","defaultType","DOMParser","mimeType","strF","parseFromString","hEls","modelAttrStart","modelAttr","valueLen","valStr","lastChar","decls","decl","parseClass","attrsLen","nodePrev","nodeChild","ct","namespaceURI","keepEmptyTextNodes","outerHTML","allTxt","foundTextNode","ci","cType","cf","BrowserParserHtml","__clearUnsafeAttr","styleStr","resHtml","returnArray","btnState","isValidTag","parentAnchor","parentFocus","customElAttr","defActions","bold","italic","underline","strikethrough","insertHTML","RichTextEditor","settings","setEl","updateActiveActions","__onKeydown","__onPaste","acts","actionbar","inactive","actionbarCont","actionbarContainer","addAction","styleWithCSS","getActions","queryCommandSupported","queryCommandState","enabled","__toggleEffects","actionbarEl","syncActions","caretRangeFromPoint","poiner","rangeParent","rangeOffset","textHtml","deleteContents","nd","insertNode","toSel","removeAttributes","adjustToolbar","eventsUp","hideToolbar","initRte","globalRte","updatePosition","rteInst","escapeName","selectedName","iconAdd","iconSync","iconTagOn","iconTagOff","iconTagRemove","componentFirst","State","startEditTag","endEditTag","changeStatus","removeTag","removeSelected","$chk","labelInfo","labelHead","stateInputId","stateInputC","toList","toListCls","__handleStateChange","checkSync","renderClasses","tagRemoved","renderStates","syncStyle","getTarget","cssC","getCommonSelectors","noDisabled","ruleComponents","getTargets","ruleComponent","updateStateVis","addToClasses","startNewTag","$addBtn","$input","endNewTag","onInputKeyUp","addNewTag","checkStates","getState","statesEl","targets","trgs","validSelectors","__getCommonSelectors","_commonSelectors","__common","hasStyle","$btnSyncEl","getStatesC","updateSelector","elSel","__getName","getStyleable","idRes","stateChanged","addSelected","ClassTagView","$states","$statesC","labelStates","getLabel","tmpOpts","renderRes","$classes","isClass","evState","cFirst","__update","selTags","selectorTags","isRule","cOpts","cname","getSelector","setState","setStates","__getCommon","getSelectedTargets","setComponentFirst","getComponentFirst","ClassTagsView","getValid","private","protected","namePreEsc","nameEsc","objLen","TYPE_CLASS","combine","curr","combination","autosave","autoload","stepsBeforeSave","checkLocal","urlStore","urlLoad","jqXHR","onComplete","contentTypeJson","fetchOptions","hasLocal","setItem","getItem","removeItem","clbErr","onResponse","request","typeJson","typeHead","bodyObj","bodyKey","eventStart","eventAfter","eventEnd","eventError","storages","defaultStorages","_disable","remote","RemoteStorage","LocalStorage","currentStorage","loadDefaultProviders","setCurrent","isAutosave","setAutosave","getStepsBeforeSave","setStepsBeforeSave","storage","getStorages","getCurrent","onAfter","keysF","__clearKeys","itemKey","itemKeyR","getCurrentStorage","canAutoload","hideNotStylable","highlightChanged","highlightComputed","showComputed","clearProperties","avoidComputed","Property","__upTargets","callInit","parentProp","isClear","__getFullValue","__getParentProp","kProps","__getClearProps","toProps","applyStyle","__up","__trgEv","propertyUpdate","__upTargetsStyle","addStyleTargets","__p","noTarget","hasValue","getDefaultValue","noParent","parentValue","getParentTarget","camelCase","__parseValue","_up","getParent","__canClearProp","parseValue","valueStr","functionName","numeric","num","withDefault","getFullValue","fnParameter","__parentTarget","toRequire","requires","requiresParent","stylableReq","sector","getProperties","callParentInit","skipInit","fixedValues","isNumberType","PropertyComposite","detached","separator","fromStyle","toStyle","Properties","__upProperties","byName","getSplitSeparator","__getJoin","getValues","isDetached","__clearIn","__upTargetsStyleProps","getStyleFromProps","__setProperties","__getSplitValue","nameProps","allNameProps","__splitValue","props4Nums","__styleHasProps","upValue","valuesStr","Layer","getLayerLabel","getSelectedLayer","selectLayer","removeLayer","moveLayer","getStylePreview","Layers","VALUES_REG","PARTS_REG","PropertyStack","layerSeparator","layerJoin","prepend","layerLabel","selectedLayer","layersColl","__upSelected","__upLayers","__getLayers","getIndex","__select","getLayer","currIndex","getLayers","joinLayers","__getJoinLayers","number","newVal","getStyleFromLayer","upValues","PropertyBase","getStyleFromLayers","layerSelect","__layers","__setLayers","newLayers","layersNew","__parseLayer","parseFn","getLayerSeparator","separatorLayers","__splitStyleName","inLayer","clearProp","icons","iconClose","__destroyFn","onValueChange","_getClbOpts","computedCls","labelEl","clearStyleEl","getClearEl","clearStyle","clearEl","emit","__setValueInput","createdEl","__change","__updateStyle","clearCached","clsType","templateLabel","templateInput","isFull","PropertiesView","appendAtIndex","PropertyCompositeView","PropertyView","propsView","LayerView","iconMove","propertyView","pModel","updateLabel","propsWrapEl","previewEl","getLabelEl","hasPreview","prvEl","getPreviewEl","wrapEl","getPropertiesWrapper","isSelected","LayersView","PropertyStackView","iconPlus","plus","addLayer","layersView","PropertyFileView","valueDef","prvBoxEl","backgroundImage","PropertyNumberView","inputInst","PropertyColorView","__handleChange","InputColor","PropertySelect","getOptionId","isDef","optId","propId","__onOptionChange","PropertySelectView","updateOptions","optionsRes","getOptionLabel","styleAttr","inputH","firstOpt","firstId","PropertyRadio","PropertyRadioView","itemCls","elId","titleAttr","checked","inputHld","inputIn","PropertyNumber","InputNumber","PropertySlider","PropertySliderView","getSliderEl","propertyAdd","propertyRemove","Sector","buildProps","extendBuilded","builded","buildProperties","extendProperties","checkExtend","propsModel","withValue","withParentValue","moProps","ex","pLen","mProps","isolated","mProp","mPProps","buildP","builtIn","Sectors","sect","PropertyFactory","typeNumber","typeColor","typeRadio","typeSelect","typeFile","typeSlider","typeComposite","typeStack","unitsSize","unitsSizeNoPerc","unitsTime","unitsAngle","ss","optsFlex","optsFlexAlign","optsBgSize","optsBgAttach","optsBgRepeat","optsWrap","optsOverflow","optsDir","opstDisplay","optsTransitFn","optsCursor","optsFloat","optsPos","optsTextAlign","optsJustCont","optsAlignCont","optsAlignSelf","optsTransitProp","optsBorderStyle","optsBgPos","optsWeight","optsShadowType","optsFonts","font","fixedFontSizes","fixedLetSpace","requireFlex","__sub","spread","att","fromRes","SectorView","iconCaret","clsPfx","getPropertiesEl","setOpen","renderProperties","SectorsView","evSector","evSectorAdd","evSectorRemove","evSectorUpdate","evProp","evPropAdd","evPropRemove","evPropUp","evLayerSelect","evTarget","propDef","SectView","sectorAdd","sectorRemove","sectorUpdate","upAll","__upSel","__clearStateTarget","upProps","__upProps","trgCustom","__ctn","stateTarget","__getStateTarget","addSector","getSector","_logNoSector","getSectors","removeSector","addProperty","sectorId","getProperty","removeProperty","lastTarget","lastTargetParents","getParentRules","getSelectedParents","targetState","getBuiltIn","getBuiltInAll","addBuiltIn","smConf","devicePreviewMode","hasClasses","useClasses","deviceW","avoidInlineStyle","cssGen","optsSel","cmpRules","otherRules","createType","parentStyles","__upProp","__checkVisibility","sectorVisible","hasVal","isStack","isComposite","canUpdate","__getLayersFromStyle","__getPropsFromStyle","newValue","parentTarget","parentItem","__setParentTarget","newParentStyles","eventCapture","appendInput","clsField","removeView","rerender","getClbOpts","elInput","getInputElem","onUpdate","onEvent","getValueForTarget","setInputValue","postUpdate","renderLabel","tpl","createLabel","getModelValue","i18nAttr","getElInput","renderField","inputs","createInput","hasLabel","noLabel","tmpl","TraitView","updatedCollection","resultName","valResult","getCheckedValue","valueTrue","valueFalse","toInit","targetValue","inputNumber","$unit","labelButton","typesDef","TraitNumberView","TraitSelectView","checkbox","TraitCheckboxView","TraitColorView","TraitButtonView","TraitsView","__onUp","getTraitsViewer","baseView","beforeCache","trackSelection","hasSkip","getChanged","hasUndo","undoExc","chn","hasRedo","getInstance","getStack","getStackGroup","getGroupedStack","createItem","goToGroup","getPointer","goTo","times","snapOffset","getDocumentEl","getContainerEl","getWindowEl","keyHandle","handleScroll","lastScroll","actualScroll","scrollDiff","lastScrollDiff","startPointer","getPointerPos","startPosition","getStartPosition","globScrollDiff","currentPos","glDiff","lockedAxis","detectAxisLock","moveDelta","deltaPre","currentPointer","snapGuides","newDelta","trgX","trgY","axs","trgPoint","statPoint","deltaPoint","trgGuide","isPointIn","trgValue","setGuideLock","lock","ofst","trgName","xPos","yPos","getPos","getPointerPosition","pEv","relX","relY","absX","absY","_Array$prototype","idRe","classRe","htmlRe","tagRe","getElementsByTagName","Cash","__cash","eles","getElementById","parseHTML","cash","ele","camelCaseRe","camelCaseWhitespaceRe","letter","removeProp","guid","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector","isNumeric","isFinite","getCompareFunction","splitValuesRe","getSplitValues","computeStyle","isVariable","computeStyleInt","_value","isForce","cssVariableRe","isCSSVariable","prefixedProps","docEl","vendorsPrefixes","getPrefixedProp","propCC","propUC","prefixedProp","numericProps","animationIterationCount","columnCount","flexGrow","flexShrink","fontWeight","lineHeight","orphans","widows","getSuffixedValue","setProperty","dataNamespace","dataAttributeRe","getDataCache","dataset","getExtraSpace","xAxis","hasNamespaces","ns1","ns2","removeEventListeners","_ref","hasData","_this","boxSizing","includeMargins","getEventsCache","parseEventName","removeEvent","namespaces","eventCache","_ref2","eventFullName","_this2","_parseEventName","_one","_this3","_parseEventName2","finalCallback","namespace","thisArg","one","readyState","evt","_parseEventName3","createEvent","initEvent","selectOneRe","selectMultipleRe","selectedIndex","getValueSelectSingle","getValueSelectMultiple","queryEncodeSpaceRe","skippableRe","checkableRe","serialize","elements","queryEncode","isMultiple","eleValue","containers","fragmentRe","singleTagRe","td","initContainers","$1","insertContent","isStr","insertAdjacentHTML","insertElement","_this4","insertAfter","_this5","_this6","_this7","_this8","_this9","prependTo","_this10","$eles","replaceAll","docEle","clientTop","contents","nextElementSibling","not","parents","previousElementSibling","siblings","KEY_ATTR","oldEl","newEl","total","oEvent","keyCodeVal","defineProperty","vNodes","vNodesArr","vnode","TypeError","setTimeoutFunc","_state","_handled","_deferreds","doResolve","deferred","_immediateFn","onFulfilled","onRejected","finale","_unhandledRejectionFn","Handler","prom","promiseFinally","allSettled","race","setImmediate","rej","req","XMLHttpRequest","withCredentials","statusText","responseText","onProgress","onprogress","send","literals","substs","raw","lit","subst","elT","elL","borderOffset","freezeClass","relative","ignoreModels","offTop","offLeft","$document","dropContent","selectOnEnd","activeTextModel","getScale","getDocuments","dropModel","updateTextViewCursorPosition","targetDoc","setContentEditable","toggleSortCursor","clonedEl","computed","moveDragHelper","posY","posX","dragHelperStyle","useBody","createPlaceholder","ins","prevTarget","sourceEl","clearSelection","getTargetModel","isTextableActive","tempModel","selectTargetModel","targetModel","dsp","eO","rY","rX","mousePos","eventMove","sourceModel","dimsFromTarget","lastDims","findPosition","disableTextable","movePlaceholder","prevTargetDim","$plh","isInFlow","styleInFlow","$parent","overflow","propFloat","trgModel","dragInfo","dropInfo","targetP","validResult","getDim","cacheDimsP","getChildrenDim","cacheDims","nearBorders","targetParent","getTargetFromEl","targetPrev","nearElBorders","getCurrentPos","offsets","getCurrentView","elIndex","indexEl","leftLimit","xLimit","yLimit","xCenter","yCenter","dimDown","trgDim","elDim","marg","pT","pL","dst","modelToDrop","srcEl","warns","targetCollection","srcIndex","sameCollection","errors","onUpdateContainer","minDim","maxDim","getBoundingRect","setup","hdl","createHandler","updateContainer","forceShow","handleMouseDown","getParentEl","attrName","parentRect","handlerAttr","clickedHandler","rectDim","startPos","parentDim","toggleFrames","mouseFetch","calc","updateRect","getSelectedHandler","isHandler","deltaX","deltaY","parentW","parentH","startW","startH","normalizeFloat","ratioActive","ratio","getGlobal","elProt","Element","defCls","customUI","appendStyles","prepand","objOrig","objNew","keysNew","origValue","upFirst","nativeDnD","isCommentNode","__cashData","rectText","selectNode","getKeyCode","__gjsv","chars","runtime","Op","hasOwn","$Symbol","Symbol","iteratorSymbol","iterator","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","enumerable","configurable","writable","innerFn","outerFn","tryLocsList","protoGenerator","Generator","_invoke","GenStateSuspendedStart","arg","GenStateExecuting","GenStateCompleted","doneResult","delegateResult","maybeInvokeDelegate","ContinueSentinel","sent","_sent","dispatchException","abrupt","record","tryCatch","GenStateSuspendedYield","makeInvokeMethod","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","getProto","getPrototypeOf","NativeIteratorPrototype","Gp","defineIteratorMethods","AsyncIterator","PromiseImpl","__await","unwrapped","previousPromise","callInvokeWithMethodAndArg","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","iterable","iteratorMethod","displayName","isGeneratorFunction","genFun","setPrototypeOf","__proto__","awrap","async","skipTempReset","rootRecord","rval","exception","loc","caught","hasCatch","hasFinally","finallyEntry","thrown","delegateYield","regeneratorRuntime","accidentalStrictMode","Function","webpackContext","webpackContextResolve","__webpack_require__","_arrayLikeToArray","arr2","asyncGeneratorStep","_next","_throw","_asyncToGenerator","_classCallCheck","Constructor","_defineProperties","descriptor","_createClass","_defineProperty","_getPrototypeOf","_setPrototypeOf","_inherits","subClass","superClass","_objectWithoutProperties","excluded","sourceKeys","getOwnPropertySymbols","sourceSymbolKeys","_possibleConstructorReturn","ReferenceError","_slicedToArray","_i","_s","_arr","_n","_d","unsupportedIterableToArray","_taggedTemplateLiteral","strings","defineProperties","_toConsumableArray","arrayLikeToArray","_typeof","_unsupportedIterableToArray","minLen","ArrayProto","ObjProto","SymbolProto","supportsArrayBuffer","ArrayBuffer","supportsDataView","DataView","nativeIsArray","nativeKeys","nativeCreate","nativeIsView","isView","_isNaN","_isFinite","hasEnumBug","nonEnumerableProps","MAX_ARRAY_INDEX","pow","restArguments","tagTester","nodelist","Int8Array","hasStringTagBug","isIE11","Map","isDataView","getInt8","isArrayBuffer","buffer","isSymbol","constant","createSizePropertyCheck","getSizeProperty","sizeProperty","shallowProperty","typedArrayPattern","collectNonEnumProps","emulatedSet","nonEnumIdx","proto","isMatch","_keys","_wrapped","toBufferView","bufferSource","Uint8Array","byteOffset","valueOf","tagDataView","aStack","bStack","deepEq","areArrays","aCtor","bCtor","allKeys","ie11fingerprint","weakMapMethods","forEachName","commonInit","mapTail","mapMethods","setMethods","functions","createAssigner","keysFunc","baseCreate","Ctor","extendOwn","tap","interceptor","toPath","deepGet","defaultValue","identity","optimizeCb","argCount","accumulator","baseIteratee","mapObject","currentKey","propertyOf","accum","getTime","createEscaper","escaper","testRegexp","replaceRegexp","templateSettings","evaluate","interpolate","noMatch","escapes","escapeChar","bareIdentifier","oldSettings","argument","variable","idCounter","_chain","executeBound","sourceFunc","boundFunc","callingContext","boundArgs","callArgs","memoize","hasher","throttle","later","leading","throttled","_now","trailing","immediate","passed","debounced","_args","negate","compose","memo","findKey","createPredicateIndexFinder","sortedIndex","low","high","createIndexFinder","predicateFind","createReduce","reducer","guard","contextPath","lastComputed","rand","criteria","reStrSymbol","keyInObj","compact","otherArrays","uniq","isSorted","seen","arrays","intersection","argsLength","unzip","chainResult","mixin","__webpack_module_cache__","moduleId","cachedModule","__webpack_modules__","getter","__esModule","fromElement","noticeOnUnload","forceClass","defaultCommand","mediaCondition","jsInHtml","multipleSelection","optsHtml","optsCss","avoidDefaults","dragMode","cssIcons","arrowUp","i18n","storageManager","richTextEditor","codeManager","cssComposer","multiFrames","Selectable","Selected","hasComponent","getByComponent","timedInterval","updateItr","deps","Window","ar","Extender","logs","warning","EditorModel","editing","clipboard","previousModel","storables","modules","toLoad","pageManager","toLog","attrsOrig","loadModule","updateChanges","_checkReady","listenLog","eventFrom","eventTo","onbeforeunload","moduleName","Mod","cfgParent","cfg","destroyed","__skip","handleUpdates","lastComponent","allComponents","multiple","mltSel","toggleSelected","selColl","selIndex","removeComponent","getJs","avoidProt","avoidProtected","protCss","storeData","editingCmp","loadData","cacheLoad","defaultRunning","grapesjs","destroyAll","logNs","colorPicker","varName","contEl","shallowCanvasEl","addComponents","getSelectedToStyle","selectToggle","setDevice","getDevice","getProject","loadProject","getDirtyCount","setCustomRte","setCustomParserCss","setDragMode","onReady","plugins","agent","isIE","originalCreateHTMLDocument","DOMImplementation","createHTMLDocument","implementation","polyfills","plugin","defaultConfig","autorender","pluginsOpts","__GJS_VERSION__","headless","Editor","pluginId","plgOptions","wplg","loadOnStart","root","factory","exports","module","define","amd","window","installedModules","__webpack_require__","moduleId","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","keyCustomCode","typeCustomCode","commandNameCustomCode","editor","opts","arguments","length","undefined","options","blockLabel","blockCustomCode","propsCustomCode","placeholderContent","toolbarBtnCustomCode","placeholderScript","modalTitle","codeViewOptions","buttonLabel","commandCustomCode","_components2","default","_blocks2","_commands2","_config","dc","DomComponents","defaultType","getType","defaultModel","model","timedInterval","addType","view","onRender","this","closestType","el","innerHTML","extend","defaults","editable","init","listenTo","onCustomCodeChange","initialCode","components","toolbar","id","filter","tlb","unshift","_extends","command","label","isComponent","events","dblclick","onComponentsChange","_this","clearInterval","setTimeout","droppable","indexOf","set","onActive","target","em","run","bm","BlockManager","add","category","activate","select","content","type","cmd","Commands","appendToContent","HTMLElement","appendChild","insertAdjacentHTML","sender","getSelected","showCustomCode","stop","Modal","close","title","getContent","code","open","getModel","once","stopCommand","getCodeViewer","setContent","getPreContent","getPostContent","document","createElement","codeViewer","pfx","getConfig","className","getElement","getContentActions","refresh","focus","_this2","btn","onclick","handleSave","CodeManager","createViewer","codeName","theme","readOnly"],"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;;AC9UA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;AC39UA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/8BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtgBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvqPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzgBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACp+GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3MA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChMA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChrEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC96CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1OA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClmDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5ZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/RA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACp7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7VA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1NA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtYA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/aA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC94BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9RA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/LA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtaA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxoCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC52CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5zBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvwBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACl+EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7aA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9hMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5iBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxWA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACj7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/MA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1lBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpqBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC11DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;;ACxvEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7yfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACt3BA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;;ACLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA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iC,KAAK,EAAE;EAC7BjC,IAAAA,IAAI,CAACiC,KAAK,GAAGmjB,MAAM,CAACnY,QAAQ,CAAA;EAChC,GAAA;IACA,OAAO6P,EAAE,CAAC5a,MAAM,CAACkjB,MAAM,CAAC3hB,IAAI,EAAEzD,IAAI,CAAC,CAAA;EACvC,CAAA;EACA;EACA;EACA8I,QAAA,CAAcrQ,MAAM,EAAE;EAClBsqB,EAAAA,OAAO,EAAPA,OAAO;EACP5Q,EAAAA,MAAM,EAANA,MAAM;EACN2K,EAAAA,EAAE,EAAErkB,MAAM;EACVgkB,EAAAA,OAAO,EAAEhkB,MAAAA;EACb,CAAC,CAAC;;;;;;;;;AChDF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1QA;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC56BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AAC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aACRnE,KAAKmE,WAAalG,EAAO8G,YAAYC,aAAnB/D,GAChBgE,SAAU,YACVC,MAAO,YACPC,SAAU,GACPrG,KAIAkB,KAAKmE,aAGXnF;;AC7HP;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxnTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChaA;;ACAA;;ACAA;;ACAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtoGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxlKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACt+BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACplHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzkBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClWA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3zCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5LA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/RA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACv7HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxvEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACz4BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/OA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/nBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9zCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClrBA;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;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5+TA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5OA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrZA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpSA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3tBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxmBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;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;;AC7LA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/PA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3PA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/MA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1RA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxBA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/BA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrYA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7IA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrHA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;","file":"vendor.js"}